@konnectio/core 4.0.43 → 4.0.45
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.
- package/dist/{ActionField-46bc1332.js → ActionField-1e9b784f.js} +2 -2
- package/dist/ActionField-1e9b784f.js.br +0 -0
- package/dist/{ActionField-43360bd2.cjs → ActionField-2a5b0069.cjs} +1 -1
- package/dist/{AvailabilitySkeleton-0a70de37.cjs → AvailabilitySkeleton-548b948c.cjs} +1 -1
- package/dist/{AvailabilitySkeleton-f86f40b9.js → AvailabilitySkeleton-f2902197.js} +5 -5
- package/dist/AvailabilitySkeleton-f2902197.js.br +0 -0
- package/dist/{CheckoutWindow-046e2e84.js → CheckoutWindow-70c47274.js} +1 -1
- package/dist/CheckoutWindow-70c47274.js.br +0 -0
- package/dist/{CheckoutWindow-a2dfaa01.cjs → CheckoutWindow-b0b45e70.cjs} +1 -1
- package/dist/{DateField.vue_vue_type_style_index_0_lang-10d7dd19.js → DateField.vue_vue_type_style_index_0_lang-d1cb0d52.js} +1 -1
- package/dist/DateField.vue_vue_type_style_index_0_lang-d1cb0d52.js.br +0 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-a4c0f28b.cjs → DateField.vue_vue_type_style_index_0_lang-fd129a1c.cjs} +1 -1
- package/dist/{Field-0588c03e.cjs → Field-327ae27e.cjs} +1 -1
- package/dist/{Field-a28f1e97.js → Field-44e97149.js} +2 -2
- package/dist/Field-44e97149.js.br +0 -0
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-01f7e3ee.cjs → NumberField.vue_vue_type_script_setup_true_lang-d4ee7977.cjs} +1 -1
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-9edbbae0.js → NumberField.vue_vue_type_script_setup_true_lang-f3b45625.js} +1 -1
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-f3b45625.js.br +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-fbce2406.js → SelectField.vue_vue_type_style_index_0_lang-656991fc.js} +13846 -12369
- package/dist/SelectField.vue_vue_type_style_index_0_lang-656991fc.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-b66917f6.cjs +865 -0
- package/dist/{ThankYou-2acb4fdf.cjs → ThankYou-367bae0e.cjs} +7 -7
- package/dist/{ThankYou-0b7441d8.js → ThankYou-c78aff79.js} +195 -195
- package/dist/ThankYou-c78aff79.js.br +0 -0
- package/dist/{_-5f328ff3.js → _-0345553a.js} +1 -1
- package/dist/{_-357f8de1.cjs → _-e7cd8ef2.cjs} +1 -1
- package/dist/availability.cjs +1 -1
- package/dist/availability.js +7 -7
- package/dist/availability.js.br +0 -0
- package/dist/components/inputs/InputField.vue.d.ts +1 -1
- package/dist/components/side-panels/Base.vue.d.ts +2 -1
- package/dist/components/side-panels/Base.vue.d.ts.map +1 -1
- package/dist/components/side-panels/ListingInfo.vue.d.ts +1 -1
- package/dist/components/side-panels/Template.vue.d.ts +3 -2
- package/dist/components/side-panels/Template.vue.d.ts.map +1 -1
- package/dist/components/skeletons/HotelSkeleton.vue.d.ts +1 -1
- package/dist/{event-b8c5517e.cjs → event-15977eb5.cjs} +1 -1
- package/dist/{event-7eca2398.js → event-fa719df8.js} +7 -7
- package/dist/event-fa719df8.js.br +0 -0
- package/dist/event.cjs +1 -1
- package/dist/event.js +8 -8
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.cjs +1 -1
- package/dist/gift-card-validation.js +3 -3
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.cjs +1 -1
- package/dist/gift-card.js +232 -227
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.cjs +7 -7
- package/dist/hotel.js +688 -688
- package/dist/hotel.js.br +0 -0
- package/dist/polyfill.cjs +4 -4
- package/dist/polyfill.js +3214 -3173
- package/dist/polyfill.js.br +0 -0
- package/dist/store/payment.d.ts +6 -0
- package/dist/store/utilities.d.ts +92 -87
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/types/index.d.ts +7 -1
- package/package.json +10 -8
- package/dist/ActionField-46bc1332.js.br +0 -0
- package/dist/AvailabilitySkeleton-f86f40b9.js.br +0 -0
- package/dist/CheckoutWindow-046e2e84.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-10d7dd19.js.br +0 -0
- package/dist/Field-a28f1e97.js.br +0 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-9edbbae0.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-88de73f4.cjs +0 -861
- package/dist/SelectField.vue_vue_type_style_index_0_lang-fbce2406.js.br +0 -0
- package/dist/ThankYou-0b7441d8.js.br +0 -0
- package/dist/event-7eca2398.js.br +0 -0
- package/dist/store/availability.d.ts +0 -40
- package/dist/store/event.d.ts +0 -683
- package/dist/store/giftCard.d.ts +0 -80
- package/dist/store/hotel.d.ts +0 -815
package/dist/hotel.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { k as X, D as fe, aG as So, s as J, c as He, ab as Nt, ac as
|
|
2
|
-
import { R as No, _ as Uo, B as _t, a as qo, S as Go, M as jo, T as Yo, x as Ko } from "./ThankYou-
|
|
3
|
-
import { A as Qo, H as Xo } from "./AvailabilitySkeleton-
|
|
4
|
-
import { _ as Qt } from "./NumberField.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { _ as Jo } from "./DateField.vue_vue_type_style_index_0_lang-
|
|
6
|
-
import { C as ht, P as Zo, a as ei } from "./CheckoutWindow-
|
|
7
|
-
import { E as te } from "./_-
|
|
1
|
+
import { k as X, D as fe, aG as So, s as J, c as He, ab as Nt, ac as de, m as E, n as F, W as Ut, q as l, w as V, aa as Re, A as g, F as A, K as ue, Y as $t, aH as Lo, v as $, a3 as q, a2 as U, aI as Se, a5 as pt, p as T, H as oe, x as w, J as ce, f as K, B as Ke, P as qt, Q as Gt, _ as ie, aJ as Ao, aA as It, ag as et, r as Oe, aK as jt, aL as Oo, o as yt, a1 as Ge, C as Ie, aB as Ho, y as je, I as Yt, l as St, T as le, aE as Po, b as wo, N as Vo, a6 as Ro, L as Lt, G as Y, M as Do, am as Kt, aM as Mo, U as xo, a8 as Bo, R as Wo, V as zo, a9 as Fo } from "./SelectField.vue_vue_type_style_index_0_lang-656991fc.js";
|
|
2
|
+
import { R as No, _ as Uo, B as _t, a as qo, S as Go, M as jo, T as Yo, x as Ko } from "./ThankYou-c78aff79.js";
|
|
3
|
+
import { A as Qo, H as Xo } from "./AvailabilitySkeleton-f2902197.js";
|
|
4
|
+
import { _ as Qt } from "./NumberField.vue_vue_type_script_setup_true_lang-f3b45625.js";
|
|
5
|
+
import { _ as Jo } from "./DateField.vue_vue_type_style_index_0_lang-d1cb0d52.js";
|
|
6
|
+
import { C as ht, P as Zo, a as ei } from "./CheckoutWindow-70c47274.js";
|
|
7
|
+
import { E as te } from "./_-0345553a.js";
|
|
8
8
|
import { c as Xt, a as Jt } from "./_commonjsHelpers-aeeeeb92.js";
|
|
9
|
-
import "./ActionField-
|
|
10
|
-
import "./Field-
|
|
9
|
+
import "./ActionField-1e9b784f.js";
|
|
10
|
+
import "./Field-44e97149.js";
|
|
11
11
|
const ti = /* @__PURE__ */ g("br", null, null, -1);
|
|
12
12
|
const oi = { key: 0 }, ii = { key: 1 }, tt = /* @__PURE__ */ X({
|
|
13
13
|
__name: "HotelReservationForm",
|
|
@@ -21,7 +21,7 @@ const oi = { key: 0 }, ii = { key: 1 }, tt = /* @__PURE__ */ X({
|
|
|
21
21
|
disableArrivalUserSelection: s,
|
|
22
22
|
disableDepartureUserSelection: r,
|
|
23
23
|
arrivalDefault: f,
|
|
24
|
-
departureDefault:
|
|
24
|
+
departureDefault: c,
|
|
25
25
|
currency: h
|
|
26
26
|
} = J(He()), {
|
|
27
27
|
arrivalDate: u,
|
|
@@ -32,18 +32,18 @@ const oi = { key: 0 }, ii = { key: 1 }, tt = /* @__PURE__ */ X({
|
|
|
32
32
|
roomDisplay: a,
|
|
33
33
|
templateID: y,
|
|
34
34
|
totalPrice: b,
|
|
35
|
-
areListingsLoading:
|
|
35
|
+
areListingsLoading: d,
|
|
36
36
|
getSelectedPackageRoom: n,
|
|
37
37
|
selectedPackage: p
|
|
38
|
-
} = J(
|
|
39
|
-
function
|
|
38
|
+
} = J(de()), { removeRoom: _ } = de();
|
|
39
|
+
function C(I) {
|
|
40
40
|
return I.reduce((O, { totalPrice: S }) => O + S, 0);
|
|
41
41
|
}
|
|
42
42
|
return (I, R) => (E(), F(No, {
|
|
43
43
|
"total-price": l(b),
|
|
44
44
|
"show-gift-card": I.showGiftCard,
|
|
45
45
|
"show-terms-notice": I.showTermsNotice,
|
|
46
|
-
"is-sidebar-loading": l(
|
|
46
|
+
"is-sidebar-loading": l(d),
|
|
47
47
|
notice: l(e)("hotel.reservationNotice")
|
|
48
48
|
}, Ut({
|
|
49
49
|
form: V(() => [
|
|
@@ -56,7 +56,7 @@ const oi = { key: 0 }, ii = { key: 1 }, tt = /* @__PURE__ */ X({
|
|
|
56
56
|
]),
|
|
57
57
|
g("li", null, [
|
|
58
58
|
g("span", null, A(l(e)("booking.reservation.departure")), 1),
|
|
59
|
-
g("b", null, A(l(i) ? l(ue)(l(v)) : `${l(ue)(l(v))}, ${l(r) ? l(
|
|
59
|
+
g("b", null, A(l(i) ? l(ue)(l(v)) : `${l(ue)(l(v))}, ${l(r) ? l(c) : l(k)}`), 1)
|
|
60
60
|
]),
|
|
61
61
|
g("li", null, [
|
|
62
62
|
g("span", null, A(l(e)("booking.reservation.nights")), 1),
|
|
@@ -64,16 +64,16 @@ const oi = { key: 0 }, ii = { key: 1 }, tt = /* @__PURE__ */ X({
|
|
|
64
64
|
])
|
|
65
65
|
]),
|
|
66
66
|
"price-summary": V(() => [
|
|
67
|
-
isNaN(l(y)) && l(a).length > 0 ? (E(!0),
|
|
67
|
+
isNaN(l(y)) && l(a).length > 0 ? (E(!0), $(U, { key: 0 }, q(l(a), ({
|
|
68
68
|
roomGroupID: O,
|
|
69
69
|
title: S,
|
|
70
70
|
variants: H
|
|
71
|
-
}) => (E(),
|
|
71
|
+
}) => (E(), $("div", { key: O }, [
|
|
72
72
|
g("h6", null, [
|
|
73
73
|
g("span", null, A(S), 1)
|
|
74
74
|
]),
|
|
75
|
-
(E(!0),
|
|
76
|
-
(E(!0),
|
|
75
|
+
(E(!0), $(U, null, q(H, (M, x) => (E(), $("div", { key: x }, [
|
|
76
|
+
(E(!0), $(U, null, q(M.rooms, (B, W) => (E(), $("ul", { key: W }, [
|
|
77
77
|
g("li", null, [
|
|
78
78
|
g("span", null, [
|
|
79
79
|
g("span", null, A(l(Se)(M.name)), 1),
|
|
@@ -85,31 +85,31 @@ const oi = { key: 0 }, ii = { key: 1 }, tt = /* @__PURE__ */ X({
|
|
|
85
85
|
type: "fas",
|
|
86
86
|
color: "font"
|
|
87
87
|
}),
|
|
88
|
-
g("span", null, A(
|
|
89
|
-
|
|
88
|
+
g("span", null, A(B.adultsCount), 1),
|
|
89
|
+
B.childrenCount > 0 ? (E(), $(U, { key: 0 }, [
|
|
90
90
|
T(oe, {
|
|
91
91
|
icon: "child",
|
|
92
92
|
type: "fas",
|
|
93
93
|
color: "font"
|
|
94
94
|
}),
|
|
95
|
-
g("span", null, A(
|
|
96
|
-
], 64)) :
|
|
95
|
+
g("span", null, A(B.childrenCount), 1)
|
|
96
|
+
], 64)) : w("", !0),
|
|
97
97
|
pt(") ")
|
|
98
98
|
])
|
|
99
99
|
]),
|
|
100
100
|
g("b", null, [
|
|
101
|
-
g("span", null, A(l(
|
|
102
|
-
|
|
101
|
+
g("span", null, A(l(ce)(B.totalPrice, l(h))), 1),
|
|
102
|
+
w("", !0)
|
|
103
103
|
])
|
|
104
104
|
]),
|
|
105
|
-
|
|
105
|
+
C(B.roomAddons) > 0 ? (E(), $("li", oi, [
|
|
106
106
|
g("span", null, A(l(e)("booking.reservation.addons")), 1),
|
|
107
|
-
g("b", null, A(l(
|
|
108
|
-
])) :
|
|
107
|
+
g("b", null, A(l(ce)(C(B.roomAddons), l(h))), 1)
|
|
108
|
+
])) : w("", !0)
|
|
109
109
|
]))), 128))
|
|
110
110
|
]))), 128))
|
|
111
|
-
]))), 128)) :
|
|
112
|
-
l(n) && l(p) ? (E(),
|
|
111
|
+
]))), 128)) : w("", !0),
|
|
112
|
+
l(n) && l(p) ? (E(), $("div", ii, [
|
|
113
113
|
g("h6", null, [
|
|
114
114
|
g("span", null, A(l(Se)(l(p).name)), 1)
|
|
115
115
|
]),
|
|
@@ -120,12 +120,12 @@ const oi = { key: 0 }, ii = { key: 1 }, tt = /* @__PURE__ */ X({
|
|
|
120
120
|
g("span", null, A(l(Se)(l(n).title)), 1)
|
|
121
121
|
]),
|
|
122
122
|
g("b", null, [
|
|
123
|
-
g("span", null, A(l(
|
|
123
|
+
g("span", null, A(l(ce)(l(n).extraPrice, l(h))), 1)
|
|
124
124
|
])
|
|
125
125
|
])
|
|
126
126
|
])
|
|
127
127
|
])
|
|
128
|
-
])) :
|
|
128
|
+
])) : w("", !0)
|
|
129
129
|
]),
|
|
130
130
|
navigation: V(() => [
|
|
131
131
|
Re(I.$slots, "navigation")
|
|
@@ -141,7 +141,7 @@ const oi = { key: 0 }, ii = { key: 1 }, tt = /* @__PURE__ */ X({
|
|
|
141
141
|
} : void 0
|
|
142
142
|
]), 1032, ["total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
|
|
143
143
|
}
|
|
144
|
-
}), ni = (t) => (qt("data-v-c84b41ba"), t = t(), Gt(), t), ri = { key: 0 }, si = { class: "konnectio-selected-room-config" }, ai = { class: "konnectio-selected-room-config-people" }, li = { key: 0 }, ui = { class: "konnectio-selected-room-config-price" },
|
|
144
|
+
}), ni = (t) => (qt("data-v-c84b41ba"), t = t(), Gt(), t), ri = { key: 0 }, si = { class: "konnectio-selected-room-config" }, ai = { class: "konnectio-selected-room-config-people" }, li = { key: 0 }, ui = { class: "konnectio-selected-room-config-price" }, ci = /* @__PURE__ */ ni(() => /* @__PURE__ */ g("span", null, null, -1)), di = /* @__PURE__ */ X({
|
|
145
145
|
__name: "RoomConfigField",
|
|
146
146
|
props: {
|
|
147
147
|
modelValue: {},
|
|
@@ -156,13 +156,13 @@ const oi = { key: 0 }, ii = { key: 1 }, tt = /* @__PURE__ */ X({
|
|
|
156
156
|
function f(h) {
|
|
157
157
|
s("update:modelValue", h);
|
|
158
158
|
}
|
|
159
|
-
const
|
|
159
|
+
const c = K({
|
|
160
160
|
get: () => r.modelValue,
|
|
161
161
|
set: (h) => f(h)
|
|
162
162
|
});
|
|
163
163
|
return (h, u) => (E(), F(Ke, {
|
|
164
|
-
modelValue:
|
|
165
|
-
"onUpdate:modelValue": u[0] || (u[0] = (v) =>
|
|
164
|
+
modelValue: c.value,
|
|
165
|
+
"onUpdate:modelValue": u[0] || (u[0] = (v) => c.value = v),
|
|
166
166
|
label: h.label,
|
|
167
167
|
placeholder: "Select guest configuration",
|
|
168
168
|
labelKey: "label",
|
|
@@ -181,32 +181,32 @@ const oi = { key: 0 }, ii = { key: 1 }, tt = /* @__PURE__ */ X({
|
|
|
181
181
|
color: "font"
|
|
182
182
|
}),
|
|
183
183
|
g("span", null, A(`${v.adults}`), 1),
|
|
184
|
-
v.children > 0 ? (E(),
|
|
184
|
+
v.children > 0 ? (E(), $("span", ri, [
|
|
185
185
|
T(oe, {
|
|
186
186
|
icon: "child",
|
|
187
187
|
type: "fas",
|
|
188
188
|
color: "font"
|
|
189
189
|
}),
|
|
190
190
|
g("span", null, A(`${v.children}`), 1)
|
|
191
|
-
])) :
|
|
192
|
-
g("span", null, A(`(${l(
|
|
191
|
+
])) : w("", !0),
|
|
192
|
+
g("span", null, A(`(${l(ce)(v.price, l(i))})`), 1)
|
|
193
193
|
])
|
|
194
194
|
]),
|
|
195
195
|
"selected-option": V(({ data: v }) => [
|
|
196
196
|
g("div", si, [
|
|
197
197
|
g("div", ai, [
|
|
198
198
|
g("div", null, [
|
|
199
|
-
|
|
199
|
+
w("", !0),
|
|
200
200
|
g("span", null, A(`${v.adults} ${v.adults === 1 ? l(o)("general.adult") : l(o)("general.adults")}`), 1)
|
|
201
201
|
]),
|
|
202
|
-
v.children > 0 ? (E(),
|
|
203
|
-
|
|
202
|
+
v.children > 0 ? (E(), $("div", li, [
|
|
203
|
+
w("", !0),
|
|
204
204
|
g("span", null, A(`& ${v.children} ${v.children === 1 ? l(o)("general.child") : l(o)("general.children")}`), 1)
|
|
205
|
-
])) :
|
|
205
|
+
])) : w("", !0)
|
|
206
206
|
]),
|
|
207
207
|
g("div", ui, [
|
|
208
|
-
|
|
209
|
-
pt(" " + A(`(${l(
|
|
208
|
+
ci,
|
|
209
|
+
pt(" " + A(`(${l(ce)(v.price, l(i))})`), 1)
|
|
210
210
|
])
|
|
211
211
|
])
|
|
212
212
|
]),
|
|
@@ -214,7 +214,7 @@ const oi = { key: 0 }, ii = { key: 1 }, tt = /* @__PURE__ */ X({
|
|
|
214
214
|
}, 8, ["modelValue", "label", "options", "readonly", "required"]));
|
|
215
215
|
}
|
|
216
216
|
});
|
|
217
|
-
const fi = /* @__PURE__ */
|
|
217
|
+
const fi = /* @__PURE__ */ ie(di, [["__scopeId", "data-v-c84b41ba"]]);
|
|
218
218
|
const pi = { class: "fresh-booking-modal-title modal__title" }, hi = { class: "modal__content" }, mi = ["innerHTML"], vi = /* @__PURE__ */ X({
|
|
219
219
|
__name: "Base",
|
|
220
220
|
props: {
|
|
@@ -238,11 +238,11 @@ const pi = { class: "fresh-booking-modal-title modal__title" }, hi = { class: "m
|
|
|
238
238
|
]),
|
|
239
239
|
g("div", hi, [
|
|
240
240
|
Re(i.$slots, "above-description"),
|
|
241
|
-
i.description ? (E(),
|
|
241
|
+
i.description ? (E(), $("p", {
|
|
242
242
|
key: 0,
|
|
243
243
|
class: "fresh-booking-modal-description",
|
|
244
244
|
innerHTML: i.description
|
|
245
|
-
}, null, 8, mi)) :
|
|
245
|
+
}, null, 8, mi)) : w("", !0),
|
|
246
246
|
Re(i.$slots, "default")
|
|
247
247
|
]),
|
|
248
248
|
g("button", {
|
|
@@ -285,20 +285,20 @@ const gi = { class: "fresh-booking-modal-gallery" }, yi = {
|
|
|
285
285
|
description: e.description
|
|
286
286
|
}, Ut({
|
|
287
287
|
default: V(() => [
|
|
288
|
-
e.facilities && e.facilities.length !== 0 ? (E(),
|
|
289
|
-
et((E(),
|
|
288
|
+
e.facilities && e.facilities.length !== 0 ? (E(), $("div", yi, [
|
|
289
|
+
et((E(), $("ul", _i, [
|
|
290
290
|
et(g("div", bi, null, 512), [
|
|
291
291
|
[i]
|
|
292
292
|
]),
|
|
293
|
-
(E(!0),
|
|
294
|
-
key:
|
|
293
|
+
(E(!0), $(U, null, q(e.facilities, ({ name: r, subFacilities: f }, c) => et((E(), $("li", {
|
|
294
|
+
key: c,
|
|
295
295
|
class: "fresh-booking-modal-facility"
|
|
296
296
|
}, [
|
|
297
297
|
g("h6", null, [
|
|
298
298
|
g("span", null, A(r), 1)
|
|
299
299
|
]),
|
|
300
300
|
g("ul", null, [
|
|
301
|
-
(E(!0),
|
|
301
|
+
(E(!0), $(U, null, q(f, ({ name: h }, u) => (E(), $("li", { key: u }, A(h), 1))), 128))
|
|
302
302
|
])
|
|
303
303
|
])), [
|
|
304
304
|
[i]
|
|
@@ -306,7 +306,7 @@ const gi = { class: "fresh-booking-modal-gallery" }, yi = {
|
|
|
306
306
|
])), [
|
|
307
307
|
[s]
|
|
308
308
|
])
|
|
309
|
-
])) :
|
|
309
|
+
])) : w("", !0)
|
|
310
310
|
]),
|
|
311
311
|
_: 2
|
|
312
312
|
}, [
|
|
@@ -323,7 +323,7 @@ const gi = { class: "fresh-booking-modal-gallery" }, yi = {
|
|
|
323
323
|
};
|
|
324
324
|
}
|
|
325
325
|
});
|
|
326
|
-
const Ei = /* @__PURE__ */
|
|
326
|
+
const Ei = /* @__PURE__ */ ie(ki, [["__scopeId", "data-v-9a91cedb"]]), Ti = { class: "konnectio-availability-listing-selection" }, Ci = { key: 1 }, $i = { class: "fresh-booking-listing-config-body" }, Ii = { class: "fresh-booking-listing-units-body" };
|
|
327
327
|
const Si = /* @__PURE__ */ X({
|
|
328
328
|
__name: "Hotel",
|
|
329
329
|
props: {
|
|
@@ -344,16 +344,16 @@ const Si = /* @__PURE__ */ X({
|
|
|
344
344
|
value: S.id
|
|
345
345
|
}))), f = K(() => i.value.flatMap((S) => S.id));
|
|
346
346
|
K(() => r.value.filter((S) => !f.value.includes(S.value)));
|
|
347
|
-
const { hideAvailableRoomAmount:
|
|
347
|
+
const { hideAvailableRoomAmount: c, currency: h } = J(He()), { roomSelect: u } = J(de()), { viewItem: v, addToCart: m, removeFromCart: k } = jt(), a = (S, H) => o.room.rates.find((M) => M.id === S)?.occupantRates.find((M) => M.index === H), y = K(() => o.room.rates.reduce(
|
|
348
348
|
(S, H) => S < H.rackRate ? S : H.rackRate,
|
|
349
349
|
1 / 0
|
|
350
|
-
)), b = K(() => o.room.rates.every((S) => S.isBreakfastIncluded === !0)),
|
|
350
|
+
)), b = K(() => o.room.rates.every((S) => S.isBreakfastIncluded === !0)), d = (S, H) => a(S, H) ? a(S, H)?.rooms : null, n = (S) => o.room.rates.length > 0 ? o.room.rates.find((H) => H.id === S)?.occupantRates.map((H) => ({
|
|
351
351
|
value: H.index,
|
|
352
352
|
price: H.totalPrice,
|
|
353
353
|
adults: H.adultsCount,
|
|
354
354
|
children: H.childrenCount,
|
|
355
355
|
hasBreakfast: H.hasBreakfast
|
|
356
|
-
})) || [] : [], p = K(() => o.room.rates.length > 1), { open: _, close:
|
|
356
|
+
})) || [] : [], p = K(() => o.room.rates.length > 1), { open: _, close: C } = Oo({
|
|
357
357
|
component: Ei,
|
|
358
358
|
attrs: {
|
|
359
359
|
title: o.room.title,
|
|
@@ -361,7 +361,7 @@ const Si = /* @__PURE__ */ X({
|
|
|
361
361
|
facilities: o.room.facilities,
|
|
362
362
|
gallery: o.room.images,
|
|
363
363
|
onConfirm() {
|
|
364
|
-
|
|
364
|
+
C();
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
367
|
});
|
|
@@ -390,17 +390,17 @@ const Si = /* @__PURE__ */ X({
|
|
|
390
390
|
});
|
|
391
391
|
const O = K(() => JSON.parse(JSON.stringify(i.value)));
|
|
392
392
|
return Ge(O, (S, H) => {
|
|
393
|
-
H.length > 0 && S.forEach((M,
|
|
394
|
-
M.config.forEach((
|
|
395
|
-
const j =
|
|
396
|
-
j !== se && (j > se ? (i.value[
|
|
393
|
+
H.length > 0 && S.forEach((M, x) => {
|
|
394
|
+
M.config.forEach((B, W) => {
|
|
395
|
+
const j = B.units, se = H[x].config[W].units;
|
|
396
|
+
j !== se && (j > se ? (i.value[x].config[W].addons.push({}), m({
|
|
397
397
|
id: o.room.id,
|
|
398
398
|
name: o.room.title,
|
|
399
|
-
value: o.room.rates[
|
|
400
|
-
})) : (i.value[
|
|
399
|
+
value: o.room.rates[x].rackRate
|
|
400
|
+
})) : (i.value[x].config[W].addons.pop(), k({
|
|
401
401
|
id: o.room.id,
|
|
402
402
|
name: o.room.title,
|
|
403
|
-
value: o.room.rates[
|
|
403
|
+
value: o.room.rates[x].rackRate
|
|
404
404
|
})));
|
|
405
405
|
});
|
|
406
406
|
});
|
|
@@ -419,57 +419,57 @@ const Si = /* @__PURE__ */ X({
|
|
|
419
419
|
}, {
|
|
420
420
|
action: V(() => [
|
|
421
421
|
g("div", Ti, [
|
|
422
|
-
(E(!0),
|
|
422
|
+
(E(!0), $(U, null, q(i.value, (M, x) => (E(), $("div", {
|
|
423
423
|
key: M.id,
|
|
424
424
|
class: "freshbooking-hotel-room"
|
|
425
425
|
}, [
|
|
426
426
|
p.value ? (E(), F(Ke, {
|
|
427
427
|
key: 0,
|
|
428
428
|
modelValue: M.id,
|
|
429
|
-
"onUpdate:modelValue": (
|
|
429
|
+
"onUpdate:modelValue": (B) => M.id = B,
|
|
430
430
|
label: l(e)("hotel.roomVariant"),
|
|
431
431
|
placeholder: l(e)("hotel.chooseARoomVariant"),
|
|
432
432
|
options: r.value,
|
|
433
433
|
searchable: !1
|
|
434
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) :
|
|
435
|
-
M.id ? (E(),
|
|
436
|
-
(E(!0),
|
|
437
|
-
id:
|
|
438
|
-
maximumOccupants:
|
|
439
|
-
}) => (E(),
|
|
440
|
-
M.id ===
|
|
434
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : w("", !0),
|
|
435
|
+
M.id ? (E(), $("div", Ci, [
|
|
436
|
+
(E(!0), $(U, null, q(S.room.rates, ({
|
|
437
|
+
id: B,
|
|
438
|
+
maximumOccupants: W
|
|
439
|
+
}) => (E(), $("div", { key: B }, [
|
|
440
|
+
M.id === B ? (E(!0), $(U, { key: 0 }, q(M.config, (j, se) => (E(), $("div", {
|
|
441
441
|
key: se,
|
|
442
442
|
class: "booking-availability-listing-action-selective"
|
|
443
443
|
}, [
|
|
444
444
|
g("ul", $i, [
|
|
445
445
|
T(fi, {
|
|
446
446
|
modelValue: j.id,
|
|
447
|
-
"onUpdate:modelValue": (
|
|
447
|
+
"onUpdate:modelValue": (ne) => j.id = ne,
|
|
448
448
|
icon: "male",
|
|
449
449
|
"icon-type": "fas",
|
|
450
450
|
label: l(e)("general.guests"),
|
|
451
|
-
description: `${l(e)("general.maximumGuests")}: ${
|
|
452
|
-
options: n(
|
|
453
|
-
readonly: !(n(
|
|
451
|
+
description: `${l(e)("general.maximumGuests")}: ${W}`,
|
|
452
|
+
options: n(B),
|
|
453
|
+
readonly: !(n(B).length > 1)
|
|
454
454
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
|
|
455
455
|
]),
|
|
456
456
|
g("ul", Ii, [
|
|
457
457
|
T(Qt, {
|
|
458
458
|
modelValue: j.units,
|
|
459
|
-
"onUpdate:modelValue": (
|
|
460
|
-
description: l(
|
|
459
|
+
"onUpdate:modelValue": (ne) => j.units = ne,
|
|
460
|
+
description: l(c) ? void 0 : `${l(e)("booking.availability.availableUnits")}: ${d(M.id, j.id)}`,
|
|
461
461
|
icon: "house",
|
|
462
462
|
"icon-type": "fas",
|
|
463
463
|
"icon-placement": "label",
|
|
464
464
|
label: l(e)("booking.availability.units"),
|
|
465
465
|
minValue: 0,
|
|
466
|
-
"max-value":
|
|
466
|
+
"max-value": d(B, j.id) || 1 / 0
|
|
467
467
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
|
|
468
468
|
]),
|
|
469
|
-
|
|
470
|
-
]))), 128)) :
|
|
469
|
+
w("", !0)
|
|
470
|
+
]))), 128)) : w("", !0)
|
|
471
471
|
]))), 128))
|
|
472
|
-
])) :
|
|
472
|
+
])) : w("", !0)
|
|
473
473
|
]))), 128))
|
|
474
474
|
])
|
|
475
475
|
]),
|
|
@@ -477,7 +477,7 @@ const Si = /* @__PURE__ */ X({
|
|
|
477
477
|
}, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
|
|
478
478
|
}
|
|
479
479
|
});
|
|
480
|
-
const Li = /* @__PURE__ */
|
|
480
|
+
const Li = /* @__PURE__ */ ie(Si, [["__scopeId", "data-v-7fe13e0e"]]), Ai = { class: "konnectio-template-side-panel" }, Oi = /* @__PURE__ */ X({
|
|
481
481
|
__name: "Template",
|
|
482
482
|
props: {
|
|
483
483
|
title: {},
|
|
@@ -487,8 +487,8 @@ const Li = /* @__PURE__ */ re(Si, [["__scopeId", "data-v-7fe13e0e"]]), Ai = /* @
|
|
|
487
487
|
callback: { type: Function }
|
|
488
488
|
},
|
|
489
489
|
setup(t) {
|
|
490
|
-
const { t: e } = fe(), { templateID: o, roomGroupID: i } = J(
|
|
491
|
-
function
|
|
490
|
+
const { t: e } = fe(), { templateID: o, roomGroupID: i } = J(de()), { currency: s } = J(He()), { clearRoomSelection: r } = de(), f = t;
|
|
491
|
+
function c(h) {
|
|
492
492
|
o.value = f.templateId, i.value = h, r(), f.callback(2);
|
|
493
493
|
}
|
|
494
494
|
return (h, u) => (E(), F(qo, {
|
|
@@ -497,45 +497,45 @@ const Li = /* @__PURE__ */ re(Si, [["__scopeId", "data-v-7fe13e0e"]]), Ai = /* @
|
|
|
497
497
|
subtitle: l(e)("booking.availability.selectATemplateRoom")
|
|
498
498
|
}, {
|
|
499
499
|
default: V(() => [
|
|
500
|
-
g("div",
|
|
501
|
-
(E(!0),
|
|
500
|
+
g("div", Ai, [
|
|
501
|
+
(E(!0), $(U, null, q(h.roomGroups, ({
|
|
502
502
|
id: v,
|
|
503
503
|
title: m,
|
|
504
504
|
description: k,
|
|
505
505
|
images: a,
|
|
506
506
|
facilities: y,
|
|
507
507
|
extraPrice: b
|
|
508
|
-
}) => (E(),
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
]))), 128))
|
|
508
|
+
}) => (E(), F(_t, {
|
|
509
|
+
key: v,
|
|
510
|
+
"listing-id": v,
|
|
511
|
+
name: m,
|
|
512
|
+
description: k,
|
|
513
|
+
facilities: y,
|
|
514
|
+
gallery: a,
|
|
515
|
+
"includes-breakfast": !1,
|
|
516
|
+
"hide-info-button": !0
|
|
517
|
+
}, {
|
|
518
|
+
action: V(() => [
|
|
519
|
+
g("div", null, [
|
|
520
|
+
T(Ie, {
|
|
521
|
+
onClickEvent: (d) => c(v),
|
|
522
|
+
label: `${l(e)("booking.availability.selectThisRoom")} (${l(ce)(b, l(s))})`,
|
|
523
|
+
"full-width": ""
|
|
524
|
+
}, null, 8, ["onClickEvent", "label"])
|
|
525
|
+
])
|
|
526
|
+
]),
|
|
527
|
+
_: 2
|
|
528
|
+
}, 1032, ["listing-id", "name", "description", "facilities", "gallery"]))), 128))
|
|
530
529
|
])
|
|
531
530
|
]),
|
|
532
531
|
_: 1
|
|
533
532
|
}, 8, ["title", "description", "subtitle"]));
|
|
534
533
|
}
|
|
535
534
|
});
|
|
535
|
+
const Hi = /* @__PURE__ */ ie(Oi, [["__scopeId", "data-v-af9fa4ee"]]);
|
|
536
536
|
var Zt = {};
|
|
537
537
|
Object.defineProperty(Zt, "__esModule", { value: !0 });
|
|
538
|
-
var
|
|
538
|
+
var Pi = [
|
|
539
539
|
"area",
|
|
540
540
|
"base",
|
|
541
541
|
"br",
|
|
@@ -592,78 +592,78 @@ var Oi = [
|
|
|
592
592
|
"tr",
|
|
593
593
|
"ul",
|
|
594
594
|
"video"
|
|
595
|
-
],
|
|
596
|
-
function
|
|
597
|
-
return o === void 0 && (o = {}), t ? (t = t.toString(), o.html ?
|
|
595
|
+
], We = ["audio", "math", "svg", "video"], Le = 10, wi = 33, Vi = 34, Ri = 38, Di = 39, Ve = 47, mt = 59, Ne = 60, Mi = 61, ot = 62, xi = /[<&\n\ud800-\udbff]/, Bi = /[<&\ud800-\udbff]/, Wi = /\s+/g;
|
|
596
|
+
function zi(t, e, o) {
|
|
597
|
+
return o === void 0 && (o = {}), t ? (t = t.toString(), o.html ? Fi(t, e, o) : Ni(t, e, o)) : "";
|
|
598
598
|
}
|
|
599
|
-
Zt.default =
|
|
600
|
-
function
|
|
601
|
-
for (var i = o.imageWeight, s = i === void 0 ? 2 : i, r = o.indicator, f = r === void 0 ? "…" : r,
|
|
599
|
+
Zt.default = zi;
|
|
600
|
+
function Fi(t, e, o) {
|
|
601
|
+
for (var i = o.imageWeight, s = i === void 0 ? 2 : i, r = o.indicator, f = r === void 0 ? "…" : r, c = o.maxLines, h = c === void 0 ? 1 / 0 : c, u = o.stripTags, v = u === void 0 ? !1 : u, m = f.length, k = 1, a = typeof v == "boolean" ? function() {
|
|
602
602
|
return v;
|
|
603
|
-
} : function(
|
|
604
|
-
return v.includes(
|
|
605
|
-
}, y = [], b = function(
|
|
603
|
+
} : function(re) {
|
|
604
|
+
return v.includes(re);
|
|
605
|
+
}, y = [], b = function(re) {
|
|
606
606
|
for (var Te; Te = y.pop(), Te !== void 0; )
|
|
607
|
-
a(Te) || (
|
|
608
|
-
return
|
|
609
|
-
},
|
|
610
|
-
var _ =
|
|
607
|
+
a(Te) || (re += "</" + Te + ">");
|
|
608
|
+
return re;
|
|
609
|
+
}, d = 0, n = -1, p = t.length; d < p; d++) {
|
|
610
|
+
var _ = d ? t.slice(d) : t, C = qi(y), I = n > -1 || C ? Bi : xi, R = _.search(I), O = R > -1 ? R : _.length;
|
|
611
611
|
if (n === -1) {
|
|
612
|
-
if (
|
|
613
|
-
var S =
|
|
612
|
+
if (C) {
|
|
613
|
+
var S = Gi(O === _.length ? _ : _.slice(0, R));
|
|
614
614
|
if (a(y[y.length - 1])) {
|
|
615
|
-
var H =
|
|
616
|
-
S.length > 0 ? S = (H ? " " : "") + S + (M ? " " : "") : H && M && (S = " "), t = t.slice(0,
|
|
615
|
+
var H = d > 0 && !_e(t.charCodeAt(d - 1)), M = !_e(t.charCodeAt(d + O));
|
|
616
|
+
S.length > 0 ? S = (H ? " " : "") + S + (M ? " " : "") : H && M && (S = " "), t = t.slice(0, d) + S + t.slice(d + O), O = S.length;
|
|
617
617
|
}
|
|
618
618
|
if (m += S.length, m > e)
|
|
619
619
|
break;
|
|
620
620
|
} else if (m += O, m > e) {
|
|
621
|
-
|
|
621
|
+
d = Math.max(d + O - m + e, 0);
|
|
622
622
|
break;
|
|
623
623
|
}
|
|
624
624
|
}
|
|
625
|
-
if (
|
|
625
|
+
if (d += O, R === -1)
|
|
626
626
|
break;
|
|
627
|
-
var
|
|
628
|
-
if (
|
|
629
|
-
var
|
|
630
|
-
if (
|
|
631
|
-
var j = t.indexOf("-->",
|
|
632
|
-
|
|
633
|
-
} else if (
|
|
634
|
-
var se = t.indexOf("]]>",
|
|
635
|
-
|
|
627
|
+
var x = t.charCodeAt(d);
|
|
628
|
+
if (x === Ne) {
|
|
629
|
+
var B = t.charCodeAt(d + 1), W = B === wi;
|
|
630
|
+
if (W && t.substr(d + 2, 2) === "--") {
|
|
631
|
+
var j = t.indexOf("-->", d + 4) + 3;
|
|
632
|
+
d = j - 1;
|
|
633
|
+
} else if (W && t.substr(d + 2, 7) === "[CDATA[") {
|
|
634
|
+
var se = t.indexOf("]]>", d + 9) + 3;
|
|
635
|
+
d = se - 1;
|
|
636
636
|
} else {
|
|
637
|
-
var
|
|
638
|
-
if (m === e && !
|
|
637
|
+
var ne = B === Ve;
|
|
638
|
+
if (m === e && !ne) {
|
|
639
639
|
m++;
|
|
640
640
|
break;
|
|
641
641
|
}
|
|
642
|
-
for (var he = 0, G =
|
|
642
|
+
for (var he = 0, G = d, me = !1; ; ) {
|
|
643
643
|
if (G++, G >= p)
|
|
644
644
|
throw new Error("Invalid HTML: " + t);
|
|
645
645
|
var ve = t.charCodeAt(G);
|
|
646
646
|
if (me)
|
|
647
647
|
he ? ve === he && (me = !1) : _e(ve) ? me = !1 : ve === ot && (me = !1, G--);
|
|
648
|
-
else if (ve ===
|
|
648
|
+
else if (ve === Mi) {
|
|
649
649
|
for (; _e(t.charCodeAt(G + 1)); )
|
|
650
650
|
G++;
|
|
651
651
|
me = !0;
|
|
652
|
-
var
|
|
653
|
-
|
|
652
|
+
var Pe = t.charCodeAt(G + 1);
|
|
653
|
+
Pe === Vi || Pe === Di ? (he = Pe, G++) : he = 0;
|
|
654
654
|
} else if (ve === ot) {
|
|
655
|
-
var De =
|
|
655
|
+
var De = d + (ne ? 2 : 1), Qe = Math.min(Ui(t, De), G), N = t.slice(De, Qe).toLowerCase();
|
|
656
656
|
N.charCodeAt(N.length - 1) === Ve && (N = N.slice(0, N.length - 1));
|
|
657
657
|
var be = a(N);
|
|
658
|
-
if (
|
|
658
|
+
if (ne) {
|
|
659
659
|
var Xe = y.pop();
|
|
660
660
|
if (Xe !== N)
|
|
661
661
|
throw new Error("Invalid HTML: " + t);
|
|
662
|
-
if (
|
|
663
|
-
return y.includes(
|
|
662
|
+
if (We.includes(N) && !We.some(function(re) {
|
|
663
|
+
return y.includes(re);
|
|
664
664
|
})) {
|
|
665
665
|
if (be)
|
|
666
|
-
|
|
666
|
+
d = n, n = -1;
|
|
667
667
|
else if (n = -1, m += s, m > e)
|
|
668
668
|
break;
|
|
669
669
|
}
|
|
@@ -672,7 +672,7 @@ function xi(t, e, o) {
|
|
|
672
672
|
y.push(N);
|
|
673
673
|
break;
|
|
674
674
|
}
|
|
675
|
-
} else if (
|
|
675
|
+
} else if (Pi.includes(N) || t.charCodeAt(G - 1) === Ve) {
|
|
676
676
|
if (!be) {
|
|
677
677
|
if (N === "br") {
|
|
678
678
|
if (k++, k > h)
|
|
@@ -681,18 +681,18 @@ function xi(t, e, o) {
|
|
|
681
681
|
break;
|
|
682
682
|
}
|
|
683
683
|
} else
|
|
684
|
-
|
|
685
|
-
return y.includes(
|
|
686
|
-
}) ||
|
|
687
|
-
be && n === -1 ? (t = t.slice(0,
|
|
684
|
+
We.some(function(re) {
|
|
685
|
+
return y.includes(re);
|
|
686
|
+
}) || We.includes(N) && (n = d), y.push(N);
|
|
687
|
+
be && n === -1 ? (t = t.slice(0, d) + t.slice(G + 1), d--) : d = G;
|
|
688
688
|
break;
|
|
689
689
|
}
|
|
690
690
|
}
|
|
691
691
|
if (m > e || k > h)
|
|
692
692
|
break;
|
|
693
693
|
}
|
|
694
|
-
} else if (
|
|
695
|
-
for (var G =
|
|
694
|
+
} else if (x === Ri) {
|
|
695
|
+
for (var G = d + 1, Me = !0; ; ) {
|
|
696
696
|
var ke = t.charCodeAt(G);
|
|
697
697
|
if (to(ke))
|
|
698
698
|
G++;
|
|
@@ -705,63 +705,63 @@ function xi(t, e, o) {
|
|
|
705
705
|
}
|
|
706
706
|
if (n === -1 && (m++, m > e))
|
|
707
707
|
break;
|
|
708
|
-
Me && (
|
|
709
|
-
} else if (
|
|
708
|
+
Me && (d = G);
|
|
709
|
+
} else if (x === Le) {
|
|
710
710
|
if (m++, m > e || (k++, k > h))
|
|
711
711
|
break;
|
|
712
712
|
} else {
|
|
713
713
|
if (n === -1 && (m++, m > e))
|
|
714
714
|
break;
|
|
715
|
-
if ((
|
|
716
|
-
var
|
|
717
|
-
(
|
|
715
|
+
if ((x & 64512) === 55296) {
|
|
716
|
+
var B = t.charCodeAt(d + 1);
|
|
717
|
+
(B & 64512) === 56320 && d++;
|
|
718
718
|
}
|
|
719
719
|
}
|
|
720
720
|
}
|
|
721
721
|
if (m > e) {
|
|
722
|
-
var ge =
|
|
722
|
+
var ge = ji(t, d);
|
|
723
723
|
if (f) {
|
|
724
|
-
for (var ee =
|
|
725
|
-
var
|
|
726
|
-
if (
|
|
727
|
-
ee =
|
|
724
|
+
for (var ee = d + ge.length; t.charCodeAt(ee) === Ne && t.charCodeAt(ee + 1) === Ve; ) {
|
|
725
|
+
var xe = t.indexOf(">", ee + 2) + 1;
|
|
726
|
+
if (xe)
|
|
727
|
+
ee = xe;
|
|
728
728
|
else
|
|
729
729
|
break;
|
|
730
730
|
}
|
|
731
|
-
ee && (ee === t.length || At(t, ee)) && (
|
|
731
|
+
ee && (ee === t.length || At(t, ee)) && (d += ge.length, ge = t.charAt(d));
|
|
732
732
|
}
|
|
733
|
-
for (; ge === "<" && t.charCodeAt(
|
|
733
|
+
for (; ge === "<" && t.charCodeAt(d + 1) === Ve; ) {
|
|
734
734
|
var N = y.pop();
|
|
735
735
|
if (!N)
|
|
736
736
|
break;
|
|
737
|
-
var Ee = t.indexOf(">",
|
|
738
|
-
if (Ee === -1 || t.slice(
|
|
737
|
+
var Ee = t.indexOf(">", d + 2);
|
|
738
|
+
if (Ee === -1 || t.slice(d + 2, Ee).trim() !== N)
|
|
739
739
|
throw new Error("Invalid HTML: " + t);
|
|
740
|
-
a(N) ? t = t.slice(0,
|
|
740
|
+
a(N) ? t = t.slice(0, d) + t.slice(Ee + 1) : d = Ee + 1, ge = t.charAt(d);
|
|
741
741
|
}
|
|
742
|
-
if (
|
|
742
|
+
if (d < t.length) {
|
|
743
743
|
if (!o.breakWords)
|
|
744
|
-
for (var ye =
|
|
745
|
-
var
|
|
746
|
-
if (
|
|
744
|
+
for (var ye = d - f.length; ye >= 0; ye--) {
|
|
745
|
+
var x = t.charCodeAt(ye);
|
|
746
|
+
if (x === ot || x === mt)
|
|
747
747
|
break;
|
|
748
|
-
if (
|
|
749
|
-
|
|
748
|
+
if (x === Le || x === Ne) {
|
|
749
|
+
d = ye;
|
|
750
750
|
break;
|
|
751
|
-
} else if (_e(
|
|
752
|
-
|
|
751
|
+
} else if (_e(x)) {
|
|
752
|
+
d = ye + (f ? 1 : 0);
|
|
753
753
|
break;
|
|
754
754
|
}
|
|
755
755
|
}
|
|
756
|
-
var
|
|
757
|
-
return At(t,
|
|
756
|
+
var Be = t.slice(0, d);
|
|
757
|
+
return At(t, d) || (Be += f), b(Be);
|
|
758
758
|
}
|
|
759
759
|
} else if (k > h)
|
|
760
|
-
return b(t.slice(0,
|
|
760
|
+
return b(t.slice(0, d));
|
|
761
761
|
return t;
|
|
762
762
|
}
|
|
763
|
-
function
|
|
764
|
-
for (var i = o.indicator, s = i === void 0 ? "…" : i, r = o.maxLines, f = r === void 0 ? 1 / 0 : r,
|
|
763
|
+
function Ni(t, e, o) {
|
|
764
|
+
for (var i = o.indicator, s = i === void 0 ? "…" : i, r = o.maxLines, f = r === void 0 ? 1 / 0 : r, c = s.length, h = 1, u = 0, v = t.length; u < v && (c++, !(c > e)); u++) {
|
|
765
765
|
var m = t.charCodeAt(u);
|
|
766
766
|
if (m === Le) {
|
|
767
767
|
if (h++, h > f)
|
|
@@ -771,7 +771,7 @@ function zi(t, e, o) {
|
|
|
771
771
|
(k & 64512) === 56320 && u++;
|
|
772
772
|
}
|
|
773
773
|
}
|
|
774
|
-
if (
|
|
774
|
+
if (c > e) {
|
|
775
775
|
var a = oo(t, u);
|
|
776
776
|
if (s) {
|
|
777
777
|
var y = u + a.length;
|
|
@@ -798,7 +798,7 @@ function zi(t, e, o) {
|
|
|
798
798
|
return t.slice(0, u);
|
|
799
799
|
return t;
|
|
800
800
|
}
|
|
801
|
-
function
|
|
801
|
+
function Ui(t, e) {
|
|
802
802
|
for (var o = t.length, i = e; i < o; i++)
|
|
803
803
|
if (_e(t.charCodeAt(i)))
|
|
804
804
|
return i;
|
|
@@ -821,7 +821,7 @@ function At(t, e) {
|
|
|
821
821
|
function _e(t) {
|
|
822
822
|
return t === 9 || t === 10 || t === 12 || t === 13 || t === 32;
|
|
823
823
|
}
|
|
824
|
-
function
|
|
824
|
+
function qi(t) {
|
|
825
825
|
for (var e = t.length - 1; e >= 0; e--) {
|
|
826
826
|
var o = t[e];
|
|
827
827
|
if (o === "li" || o === "td")
|
|
@@ -831,8 +831,8 @@ function Ni(t) {
|
|
|
831
831
|
}
|
|
832
832
|
return !1;
|
|
833
833
|
}
|
|
834
|
-
function
|
|
835
|
-
return t.trim().replace(
|
|
834
|
+
function Gi(t) {
|
|
835
|
+
return t.trim().replace(Wi, " ");
|
|
836
836
|
}
|
|
837
837
|
function oo(t, e) {
|
|
838
838
|
var o = t.charCodeAt(e);
|
|
@@ -843,7 +843,7 @@ function oo(t, e) {
|
|
|
843
843
|
}
|
|
844
844
|
return String.fromCharCode(o);
|
|
845
845
|
}
|
|
846
|
-
function
|
|
846
|
+
function ji(t, e) {
|
|
847
847
|
var o = oo(t, e);
|
|
848
848
|
if (o === "&")
|
|
849
849
|
for (; ; ) {
|
|
@@ -859,7 +859,7 @@ function qi(t, e) {
|
|
|
859
859
|
}
|
|
860
860
|
return o;
|
|
861
861
|
}
|
|
862
|
-
const
|
|
862
|
+
const Yi = ["innerHTML"], Ki = /* @__PURE__ */ X({
|
|
863
863
|
__name: "Template",
|
|
864
864
|
props: {
|
|
865
865
|
id: {},
|
|
@@ -871,7 +871,7 @@ const Gi = ["innerHTML"], ji = /* @__PURE__ */ X({
|
|
|
871
871
|
callback: { type: Function }
|
|
872
872
|
},
|
|
873
873
|
setup(t) {
|
|
874
|
-
J(
|
|
874
|
+
J(de()), J(He()), fe();
|
|
875
875
|
const e = t, o = K(() => [{
|
|
876
876
|
large: e.image.url,
|
|
877
877
|
medium: e.image.url,
|
|
@@ -884,7 +884,7 @@ const Gi = ["innerHTML"], ji = /* @__PURE__ */ X({
|
|
|
884
884
|
function r(f) {
|
|
885
885
|
e.callback(f), i.value = !1;
|
|
886
886
|
}
|
|
887
|
-
return (f,
|
|
887
|
+
return (f, c) => (E(), F(_t, {
|
|
888
888
|
"listing-id": f.id,
|
|
889
889
|
name: f.name,
|
|
890
890
|
description: f.description,
|
|
@@ -893,10 +893,10 @@ const Gi = ["innerHTML"], ji = /* @__PURE__ */ X({
|
|
|
893
893
|
"hide-info-button": !0
|
|
894
894
|
}, {
|
|
895
895
|
description: V(() => [
|
|
896
|
-
|
|
896
|
+
w("", !0),
|
|
897
897
|
g("p", {
|
|
898
898
|
innerHTML: l(Ho)(f.description)
|
|
899
|
-
}, null, 8,
|
|
899
|
+
}, null, 8, Yi)
|
|
900
900
|
]),
|
|
901
901
|
action: V(() => [
|
|
902
902
|
g("div", null, [
|
|
@@ -908,9 +908,9 @@ const Gi = ["innerHTML"], ji = /* @__PURE__ */ X({
|
|
|
908
908
|
])
|
|
909
909
|
]),
|
|
910
910
|
default: V(() => [
|
|
911
|
-
T(
|
|
911
|
+
T(Hi, {
|
|
912
912
|
modelValue: i.value,
|
|
913
|
-
"onUpdate:modelValue":
|
|
913
|
+
"onUpdate:modelValue": c[0] || (c[0] = (h) => i.value = h),
|
|
914
914
|
title: f.name,
|
|
915
915
|
"template-id": f.id,
|
|
916
916
|
roomGroups: f.roomGroups,
|
|
@@ -921,7 +921,7 @@ const Gi = ["innerHTML"], ji = /* @__PURE__ */ X({
|
|
|
921
921
|
}, 8, ["listing-id", "name", "description", "gallery"]));
|
|
922
922
|
}
|
|
923
923
|
});
|
|
924
|
-
const
|
|
924
|
+
const Qi = /* @__PURE__ */ ie(Ki, [["__scopeId", "data-v-f277e2e5"]]), Ot = /* @__PURE__ */ X({
|
|
925
925
|
__name: "TimeField",
|
|
926
926
|
props: {
|
|
927
927
|
modelValue: {},
|
|
@@ -953,9 +953,9 @@ const Yi = /* @__PURE__ */ re(ji, [["__scopeId", "data-v-f277e2e5"]]), Ot = /* @
|
|
|
953
953
|
const r = Oe(i.modelValue);
|
|
954
954
|
return Ge(r, (f) => {
|
|
955
955
|
s(f);
|
|
956
|
-
}), (f,
|
|
956
|
+
}), (f, c) => (E(), F(Jo, {
|
|
957
957
|
modelValue: r.value,
|
|
958
|
-
"onUpdate:modelValue":
|
|
958
|
+
"onUpdate:modelValue": c[0] || (c[0] = (h) => r.value = h),
|
|
959
959
|
type: "time",
|
|
960
960
|
label: f.label,
|
|
961
961
|
id: f.id,
|
|
@@ -969,7 +969,7 @@ const Yi = /* @__PURE__ */ re(ji, [["__scopeId", "data-v-f277e2e5"]]), Ot = /* @
|
|
|
969
969
|
}, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
|
|
970
970
|
}
|
|
971
971
|
});
|
|
972
|
-
const
|
|
972
|
+
const Xi = { style: { display: "flex", "align-items": "baseline" } }, Ji = /* @__PURE__ */ X({
|
|
973
973
|
__name: "CountryField",
|
|
974
974
|
props: {
|
|
975
975
|
modelValue: {},
|
|
@@ -982,22 +982,22 @@ const Ki = { style: { display: "flex", "align-items": "baseline" } }, Qi = /* @_
|
|
|
982
982
|
emits: ["update:modelValue"],
|
|
983
983
|
setup(t, { emit: e }) {
|
|
984
984
|
const { t: o } = fe(), i = e, s = t;
|
|
985
|
-
function r(
|
|
986
|
-
i("update:modelValue",
|
|
985
|
+
function r(c) {
|
|
986
|
+
i("update:modelValue", c);
|
|
987
987
|
}
|
|
988
988
|
const f = K({
|
|
989
989
|
get: () => s.modelValue,
|
|
990
|
-
set: (
|
|
990
|
+
set: (c) => r(c)
|
|
991
991
|
});
|
|
992
|
-
return (
|
|
992
|
+
return (c, h) => (E(), F(Ke, {
|
|
993
993
|
modelValue: f.value,
|
|
994
994
|
"onUpdate:modelValue": h[0] || (h[0] = (u) => f.value = u),
|
|
995
|
-
label:
|
|
995
|
+
label: c.label,
|
|
996
996
|
placeholder: l(o)("booking.reservation.countryPlaceholder"),
|
|
997
997
|
labelKey: "name",
|
|
998
998
|
valueKey: "id",
|
|
999
|
-
options:
|
|
1000
|
-
required:
|
|
999
|
+
options: c.options,
|
|
1000
|
+
required: c.required
|
|
1001
1001
|
}, {
|
|
1002
1002
|
option: V(({ data: u }) => [
|
|
1003
1003
|
g("i", {
|
|
@@ -1006,7 +1006,7 @@ const Ki = { style: { display: "flex", "align-items": "baseline" } }, Qi = /* @_
|
|
|
1006
1006
|
g("span", null, A(u.name), 1)
|
|
1007
1007
|
]),
|
|
1008
1008
|
"selected-option": V(({ data: u }) => [
|
|
1009
|
-
g("div",
|
|
1009
|
+
g("div", Xi, [
|
|
1010
1010
|
g("i", {
|
|
1011
1011
|
class: je(["konnectio-flag-icon", u.iso])
|
|
1012
1012
|
}, null, 2),
|
|
@@ -1017,7 +1017,7 @@ const Ki = { style: { display: "flex", "align-items": "baseline" } }, Qi = /* @_
|
|
|
1017
1017
|
}, 8, ["modelValue", "label", "placeholder", "options", "required"]));
|
|
1018
1018
|
}
|
|
1019
1019
|
});
|
|
1020
|
-
const
|
|
1020
|
+
const Zi = /* @__PURE__ */ ie(Ji, [["__scopeId", "data-v-1462612d"]]), en = { class: "konnectio-radio-checkboxes" }, tn = /* @__PURE__ */ X({
|
|
1021
1021
|
__name: "CheckboxField",
|
|
1022
1022
|
props: {
|
|
1023
1023
|
modelValue: {},
|
|
@@ -1035,16 +1035,16 @@ const Xi = /* @__PURE__ */ re(Qi, [["__scopeId", "data-v-1462612d"]]), Ji = { cl
|
|
|
1035
1035
|
get: () => i.modelValue,
|
|
1036
1036
|
set: (f) => s(f)
|
|
1037
1037
|
});
|
|
1038
|
-
return (f,
|
|
1038
|
+
return (f, c) => (E(), F(Yt, {
|
|
1039
1039
|
label: f.label,
|
|
1040
1040
|
type: "multi-radio"
|
|
1041
1041
|
}, {
|
|
1042
1042
|
default: V(() => [
|
|
1043
|
-
g("ul",
|
|
1044
|
-
(E(!0),
|
|
1043
|
+
g("ul", en, [
|
|
1044
|
+
(E(!0), $(U, null, q(f.checkboxes, ({ label: h, value: u }, v) => (E(), $("li", { key: v }, [
|
|
1045
1045
|
T(ht, {
|
|
1046
1046
|
modelValue: r.value,
|
|
1047
|
-
"onUpdate:modelValue":
|
|
1047
|
+
"onUpdate:modelValue": c[0] || (c[0] = (m) => r.value = m),
|
|
1048
1048
|
label: h,
|
|
1049
1049
|
name: f.name,
|
|
1050
1050
|
type: "radio",
|
|
@@ -1057,7 +1057,7 @@ const Xi = /* @__PURE__ */ re(Qi, [["__scopeId", "data-v-1462612d"]]), Ji = { cl
|
|
|
1057
1057
|
}, 8, ["label"]));
|
|
1058
1058
|
}
|
|
1059
1059
|
});
|
|
1060
|
-
const
|
|
1060
|
+
const on = /* @__PURE__ */ ie(tn, [["__scopeId", "data-v-d8d42a8a"]]), nn = /* @__PURE__ */ X({
|
|
1061
1061
|
__name: "NameField",
|
|
1062
1062
|
props: {
|
|
1063
1063
|
modelValue: {},
|
|
@@ -1080,7 +1080,7 @@ const en = /* @__PURE__ */ re(Zi, [["__scopeId", "data-v-d8d42a8a"]]), tn = /* @
|
|
|
1080
1080
|
emits: ["update:modelValue", "update:title"],
|
|
1081
1081
|
setup(t, { emit: e }) {
|
|
1082
1082
|
const o = t, i = e, s = o.id || St(), r = Oe(""), f = Oe(2);
|
|
1083
|
-
function
|
|
1083
|
+
function c() {
|
|
1084
1084
|
i("update:modelValue", r.value);
|
|
1085
1085
|
}
|
|
1086
1086
|
Ge(f, (u) => {
|
|
@@ -1104,7 +1104,7 @@ const en = /* @__PURE__ */ re(Zi, [["__scopeId", "data-v-d8d42a8a"]]), tn = /* @
|
|
|
1104
1104
|
{ "no-title": u.excludeTitle }
|
|
1105
1105
|
])
|
|
1106
1106
|
}, [
|
|
1107
|
-
u.excludeTitle ?
|
|
1107
|
+
u.excludeTitle ? w("", !0) : (E(), F(Ke, {
|
|
1108
1108
|
key: 0,
|
|
1109
1109
|
modelValue: f.value,
|
|
1110
1110
|
"onUpdate:modelValue": v[0] || (v[0] = (m) => f.value = m),
|
|
@@ -1153,7 +1153,7 @@ const en = /* @__PURE__ */ re(Zi, [["__scopeId", "data-v-d8d42a8a"]]), tn = /* @
|
|
|
1153
1153
|
required: u.required,
|
|
1154
1154
|
readonly: u.readonly,
|
|
1155
1155
|
limit: u.limit,
|
|
1156
|
-
onInput: v[2] || (v[2] = (m) =>
|
|
1156
|
+
onInput: v[2] || (v[2] = (m) => c()),
|
|
1157
1157
|
"input-style": u.inputStyle
|
|
1158
1158
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "placeholder", "required", "readonly", "limit", "input-style"])
|
|
1159
1159
|
], 2)
|
|
@@ -1162,26 +1162,26 @@ const en = /* @__PURE__ */ re(Zi, [["__scopeId", "data-v-d8d42a8a"]]), tn = /* @
|
|
|
1162
1162
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
1163
1163
|
}
|
|
1164
1164
|
});
|
|
1165
|
-
const
|
|
1165
|
+
const rn = /* @__PURE__ */ ie(nn, [["__scopeId", "data-v-78b0b319"]]), sn = { class: "hotel-listing" }, an = { class: "hotel-listing-content-gallery" }, ln = { class: "hotel-listing-content-thumbs" }, un = { class: "hotel-listing-content" }, cn = { class: "hotel-listing-content-header" }, dn = { class: "hotel-listing-content-title" }, fn = { class: "hotel-listing-content-body" }, pn = { class: "hotel-listing-content-facilities" }, hn = /* @__PURE__ */ X({
|
|
1166
1166
|
__name: "Listing",
|
|
1167
1167
|
setup(t) {
|
|
1168
|
-
return (e, o) => (E(),
|
|
1169
|
-
g("div",
|
|
1168
|
+
return (e, o) => (E(), $("div", sn, [
|
|
1169
|
+
g("div", an, [
|
|
1170
1170
|
T(te, {
|
|
1171
1171
|
width: "280px",
|
|
1172
1172
|
height: "153px"
|
|
1173
1173
|
}),
|
|
1174
|
-
g("div",
|
|
1175
|
-
(E(),
|
|
1174
|
+
g("div", ln, [
|
|
1175
|
+
(E(), $(U, null, q(3, (i) => T(te, {
|
|
1176
1176
|
key: i,
|
|
1177
1177
|
width: "84px",
|
|
1178
1178
|
height: "44px"
|
|
1179
1179
|
})), 64))
|
|
1180
1180
|
])
|
|
1181
1181
|
]),
|
|
1182
|
-
g("div",
|
|
1183
|
-
g("div",
|
|
1184
|
-
g("div",
|
|
1182
|
+
g("div", un, [
|
|
1183
|
+
g("div", cn, [
|
|
1184
|
+
g("div", dn, [
|
|
1185
1185
|
T(te, {
|
|
1186
1186
|
height: "30px",
|
|
1187
1187
|
width: "60%"
|
|
@@ -1197,7 +1197,7 @@ const on = /* @__PURE__ */ re(tn, [["__scopeId", "data-v-78b0b319"]]), nn = { cl
|
|
|
1197
1197
|
width: "25%"
|
|
1198
1198
|
})
|
|
1199
1199
|
]),
|
|
1200
|
-
g("div",
|
|
1200
|
+
g("div", fn, [
|
|
1201
1201
|
T(te, { height: "15px" }),
|
|
1202
1202
|
T(te, { height: "15px" }),
|
|
1203
1203
|
T(te, { height: "15px" }),
|
|
@@ -1207,8 +1207,8 @@ const on = /* @__PURE__ */ re(tn, [["__scopeId", "data-v-78b0b319"]]), nn = { cl
|
|
|
1207
1207
|
width: "90%"
|
|
1208
1208
|
})
|
|
1209
1209
|
]),
|
|
1210
|
-
g("div",
|
|
1211
|
-
(E(),
|
|
1210
|
+
g("div", pn, [
|
|
1211
|
+
(E(), $(U, null, q(5, (i) => T(te, {
|
|
1212
1212
|
key: i,
|
|
1213
1213
|
height: "25px",
|
|
1214
1214
|
width: "25px",
|
|
@@ -1219,56 +1219,56 @@ const on = /* @__PURE__ */ re(tn, [["__scopeId", "data-v-78b0b319"]]), nn = { cl
|
|
|
1219
1219
|
]));
|
|
1220
1220
|
}
|
|
1221
1221
|
});
|
|
1222
|
-
const Ae = /* @__PURE__ */
|
|
1222
|
+
const Ae = /* @__PURE__ */ ie(hn, [["__scopeId", "data-v-a5347d60"]]), mn = { class: "hotel-skeleton" }, vn = { class: "hotel-skeleton-content" }, gn = { class: "hotel-skeleton-sidebar" }, yn = /* @__PURE__ */ X({
|
|
1223
1223
|
__name: "HotelSkeleton",
|
|
1224
1224
|
setup(t) {
|
|
1225
|
-
return (e, o) => (E(),
|
|
1226
|
-
g("div",
|
|
1225
|
+
return (e, o) => (E(), $("div", mn, [
|
|
1226
|
+
g("div", vn, [
|
|
1227
1227
|
T(Qo),
|
|
1228
1228
|
T(Ae),
|
|
1229
1229
|
T(Ae),
|
|
1230
1230
|
T(Ae)
|
|
1231
1231
|
]),
|
|
1232
|
-
g("div",
|
|
1232
|
+
g("div", gn, [
|
|
1233
1233
|
T(Go)
|
|
1234
1234
|
])
|
|
1235
1235
|
]));
|
|
1236
1236
|
}
|
|
1237
1237
|
});
|
|
1238
|
-
const
|
|
1239
|
-
const
|
|
1238
|
+
const _n = /* @__PURE__ */ ie(yn, [["__scopeId", "data-v-9a38fcc3"]]), bn = (t) => (qt("data-v-13535241"), t = t(), Gt(), t), kn = { id: "booking-availability-container" }, En = { id: "booking-availability-controls" };
|
|
1239
|
+
const Tn = { key: 1 }, Cn = { key: 0 }, $n = {
|
|
1240
1240
|
key: 0,
|
|
1241
1241
|
id: "booking-availability-packages"
|
|
1242
|
-
},
|
|
1242
|
+
}, In = {
|
|
1243
1243
|
key: 0,
|
|
1244
1244
|
class: "konnectio-hotel-availability-title"
|
|
1245
|
-
},
|
|
1245
|
+
}, Sn = { id: "booking-availability-packages-wrapper" }, Ln = { key: 1 }, An = {
|
|
1246
1246
|
key: 0,
|
|
1247
1247
|
class: "konnectio-hotel-availability-title"
|
|
1248
|
-
},
|
|
1248
|
+
}, On = { id: "booking-availability-listings" }, Hn = {
|
|
1249
1249
|
key: 2,
|
|
1250
1250
|
id: "booking-availability-no-listings",
|
|
1251
1251
|
class: "fresh-booking-panel"
|
|
1252
|
-
},
|
|
1252
|
+
}, Pn = {
|
|
1253
1253
|
key: 1,
|
|
1254
1254
|
id: "booking-availability-no-listings"
|
|
1255
|
-
},
|
|
1255
|
+
}, wn = {
|
|
1256
1256
|
key: 2,
|
|
1257
1257
|
id: "reservation-availability-next-dates"
|
|
1258
|
-
},
|
|
1259
|
-
const
|
|
1258
|
+
}, Vn = { class: "konnectio-hotel-availability-title" }, Rn = { class: "reservation-special-offers-grid" }, Dn = ["title"];
|
|
1259
|
+
const Mn = {
|
|
1260
1260
|
key: 2,
|
|
1261
1261
|
class: "konnectio-listing-loading"
|
|
1262
|
-
},
|
|
1262
|
+
}, xn = { class: "fresh-booking-panel" }, Bn = {
|
|
1263
1263
|
key: 0,
|
|
1264
1264
|
id: "konnectio-hotel-addons"
|
|
1265
1265
|
};
|
|
1266
|
-
const
|
|
1266
|
+
const Wn = { class: "fresh-booking-event-addons-price" }, zn = { key: 1 }, Fn = /* @__PURE__ */ bn(() => /* @__PURE__ */ g("br", null, null, -1)), Nn = ["onClick"], Un = { class: "fresh-booking-panel" }, qn = { key: 0 }, Gn = { key: 1 }, jn = { class: "fresh-booking-split-inputs" }, Yn = ["onClick"], Kn = /* @__PURE__ */ X({
|
|
1267
1267
|
name: "HotelLayout",
|
|
1268
1268
|
__name: "Hotel",
|
|
1269
1269
|
props: {
|
|
1270
1270
|
accessToken: {},
|
|
1271
|
-
headerLayout: { default:
|
|
1271
|
+
headerLayout: { default: Po.Minimal },
|
|
1272
1272
|
onlyShow: { default: "everything" },
|
|
1273
1273
|
styling: {}
|
|
1274
1274
|
},
|
|
@@ -1279,7 +1279,7 @@ const Bn = { class: "fresh-booking-event-addons-price" }, Wn = { key: 1 }, xn =
|
|
|
1279
1279
|
countries: s,
|
|
1280
1280
|
areListingsLoading: r,
|
|
1281
1281
|
isAvailabilityDataAvailable: f,
|
|
1282
|
-
isPaymentLoading:
|
|
1282
|
+
isPaymentLoading: c,
|
|
1283
1283
|
isReservationFormFilled: h,
|
|
1284
1284
|
selectedPackage: u,
|
|
1285
1285
|
travelingFor: v,
|
|
@@ -1288,31 +1288,31 @@ const Bn = { class: "fresh-booking-event-addons-price" }, Wn = { key: 1 }, xn =
|
|
|
1288
1288
|
name: a,
|
|
1289
1289
|
nameTitle: y,
|
|
1290
1290
|
email: b,
|
|
1291
|
-
phone:
|
|
1291
|
+
phone: d,
|
|
1292
1292
|
firmName: n,
|
|
1293
1293
|
postal: p,
|
|
1294
1294
|
city: _,
|
|
1295
|
-
address:
|
|
1295
|
+
address: C,
|
|
1296
1296
|
country: I,
|
|
1297
1297
|
remark: R,
|
|
1298
1298
|
allergies: O,
|
|
1299
1299
|
newsMails: S,
|
|
1300
1300
|
roomSelect: H,
|
|
1301
1301
|
roomDisplay: M,
|
|
1302
|
-
hasValidRoomSelection:
|
|
1302
|
+
hasValidRoomSelection: x,
|
|
1303
1303
|
//canStartReservation,
|
|
1304
|
-
getSelectedPackageRoom:
|
|
1305
|
-
availabilityData:
|
|
1304
|
+
getSelectedPackageRoom: B,
|
|
1305
|
+
availabilityData: W,
|
|
1306
1306
|
selectionHasNoAddons: j
|
|
1307
|
-
} = J(
|
|
1307
|
+
} = J(de()), {
|
|
1308
1308
|
arrivalDate: se,
|
|
1309
|
-
departureDate:
|
|
1309
|
+
departureDate: ne
|
|
1310
1310
|
} = J(Nt()), {
|
|
1311
1311
|
currency: he,
|
|
1312
1312
|
isRecaptchaEnabled: G,
|
|
1313
1313
|
disableNewsletterSignup: me,
|
|
1314
1314
|
arrivalEarliest: ve,
|
|
1315
|
-
arrivalLatest:
|
|
1315
|
+
arrivalLatest: Pe,
|
|
1316
1316
|
departureEarliest: De,
|
|
1317
1317
|
departureLatest: Qe,
|
|
1318
1318
|
enableTracking: N,
|
|
@@ -1323,18 +1323,18 @@ const Bn = { class: "fresh-booking-event-addons-price" }, Wn = { key: 1 }, xn =
|
|
|
1323
1323
|
disableArrivalUserSelection: ke,
|
|
1324
1324
|
disableNamePrefix: ge,
|
|
1325
1325
|
disableDepartureUserSelection: ee,
|
|
1326
|
-
disableTravelingFor:
|
|
1326
|
+
disableTravelingFor: xe,
|
|
1327
1327
|
disableTravelingForBleasure: Ee,
|
|
1328
1328
|
disableCompanyField: ye,
|
|
1329
|
-
hasPaymentGateway:
|
|
1329
|
+
hasPaymentGateway: Be
|
|
1330
1330
|
} = J(He());
|
|
1331
|
-
|
|
1332
|
-
const { beginCheckout:
|
|
1331
|
+
wo();
|
|
1332
|
+
const { beginCheckout: re } = jt(), {
|
|
1333
1333
|
initialize: Te,
|
|
1334
1334
|
resetTemplate: fo,
|
|
1335
1335
|
createReservation: po,
|
|
1336
|
-
getSingleListing:
|
|
1337
|
-
} =
|
|
1336
|
+
getSingleListing: Jr
|
|
1337
|
+
} = de(), ho = Oe(!0), mo = K(() => {
|
|
1338
1338
|
const D = [
|
|
1339
1339
|
{
|
|
1340
1340
|
label: e("booking.reservation.business"),
|
|
@@ -1350,20 +1350,20 @@ const Bn = { class: "fresh-booking-event-addons-price" }, Wn = { key: 1 }, xn =
|
|
|
1350
1350
|
value: "Bleasure"
|
|
1351
1351
|
}), D;
|
|
1352
1352
|
}), vo = K(() => {
|
|
1353
|
-
const D =
|
|
1353
|
+
const D = W.value.roomGroups.slice();
|
|
1354
1354
|
D.forEach((Z) => {
|
|
1355
1355
|
Z.pricesFrom = Z.rates.reduce(
|
|
1356
1356
|
(z, L) => z < L.rackRate ? z : L.rackRate,
|
|
1357
1357
|
1 / 0
|
|
1358
1358
|
);
|
|
1359
1359
|
});
|
|
1360
|
-
function
|
|
1360
|
+
function P(Z, z) {
|
|
1361
1361
|
return ho.value === !0 ? Z.pricesFrom > z.pricesFrom ? -1 : 1 : Z.pricesFrom > z.pricesFrom ? 1 : -1;
|
|
1362
1362
|
}
|
|
1363
|
-
return D.sort(
|
|
1363
|
+
return D.sort(P);
|
|
1364
1364
|
}), go = K(() => [[
|
|
1365
1365
|
parseInt(ve.value.split(":")[0]),
|
|
1366
|
-
parseInt(
|
|
1366
|
+
parseInt(Pe.value.split(":")[0])
|
|
1367
1367
|
]]), yo = K(() => [[
|
|
1368
1368
|
parseInt(De.value.split(":")[0]),
|
|
1369
1369
|
parseInt(Qe.value.split(":")[0])
|
|
@@ -1371,21 +1371,21 @@ const Bn = { class: "fresh-booking-event-addons-price" }, Wn = { key: 1 }, xn =
|
|
|
1371
1371
|
function Ct(D) {
|
|
1372
1372
|
j.value ? D(2) : D();
|
|
1373
1373
|
}
|
|
1374
|
-
function _o(D,
|
|
1375
|
-
|
|
1374
|
+
function _o(D, P) {
|
|
1375
|
+
ne.value = new Date(P), se.value = new Date(D), location.reload();
|
|
1376
1376
|
}
|
|
1377
1377
|
async function bo(D) {
|
|
1378
1378
|
await po(D);
|
|
1379
1379
|
}
|
|
1380
1380
|
function ko(D) {
|
|
1381
|
-
N.value &&
|
|
1381
|
+
N.value && re(), j.value ? D(2) : D();
|
|
1382
1382
|
}
|
|
1383
1383
|
function Eo() {
|
|
1384
1384
|
m.value === "" && (m.value = be.value), k.value === "" && (k.value = Xe.value);
|
|
1385
1385
|
}
|
|
1386
1386
|
return yt(() => {
|
|
1387
1387
|
Te(), Eo();
|
|
1388
|
-
}), (D,
|
|
1388
|
+
}), (D, P) => (E(), F(Vo, null, {
|
|
1389
1389
|
default: V(() => [
|
|
1390
1390
|
T(Do, {
|
|
1391
1391
|
id: "fresh-booking-hotel-module",
|
|
@@ -1401,34 +1401,34 @@ const Bn = { class: "fresh-booking-event-addons-price" }, Wn = { key: 1 }, xn =
|
|
|
1401
1401
|
availability: V(({ next: Z }) => [
|
|
1402
1402
|
T(tt, null, {
|
|
1403
1403
|
form: V(() => [
|
|
1404
|
-
g("div",
|
|
1405
|
-
g("div",
|
|
1404
|
+
g("div", kn, [
|
|
1405
|
+
g("div", En, [
|
|
1406
1406
|
T(Xo, { booking: !0 })
|
|
1407
1407
|
]),
|
|
1408
|
-
|
|
1409
|
-
l(r) ? (E(),
|
|
1408
|
+
w("", !0),
|
|
1409
|
+
l(r) ? (E(), $("div", Mn, [
|
|
1410
1410
|
T(Ae),
|
|
1411
1411
|
T(Ae),
|
|
1412
1412
|
T(Ae)
|
|
1413
|
-
])) : (E(),
|
|
1414
|
-
l(
|
|
1415
|
-
l(
|
|
1416
|
-
D.onlyShow !== "packages" ? (E(),
|
|
1413
|
+
])) : (E(), $("div", Tn, [
|
|
1414
|
+
l(W).roomGroups.length > 0 || l(W).templates.length > 0 ? (E(), $("div", Cn, [
|
|
1415
|
+
l(W).templates.length > 0 && D.onlyShow !== "rooms" ? (E(), $("div", $n, [
|
|
1416
|
+
D.onlyShow !== "packages" ? (E(), $("h2", In, [
|
|
1417
1417
|
T(oe, {
|
|
1418
1418
|
icon: "box",
|
|
1419
1419
|
type: "fal",
|
|
1420
1420
|
color: "header"
|
|
1421
1421
|
}),
|
|
1422
1422
|
g("span", null, A(l(e)("booking.availability.packagesTitle")), 1)
|
|
1423
|
-
])) :
|
|
1424
|
-
g("ul",
|
|
1425
|
-
(E(!0),
|
|
1423
|
+
])) : w("", !0),
|
|
1424
|
+
g("ul", Sn, [
|
|
1425
|
+
(E(!0), $(U, null, q(l(W).templates, ({
|
|
1426
1426
|
id: z,
|
|
1427
1427
|
name: L,
|
|
1428
1428
|
templateRoomGroups: Ce,
|
|
1429
1429
|
image: $e,
|
|
1430
1430
|
description: Q
|
|
1431
|
-
}) => (E(), F(
|
|
1431
|
+
}) => (E(), F(Qi, {
|
|
1432
1432
|
key: z,
|
|
1433
1433
|
id: z,
|
|
1434
1434
|
description: Q,
|
|
@@ -1438,30 +1438,30 @@ const Bn = { class: "fresh-booking-event-addons-price" }, Wn = { key: 1 }, xn =
|
|
|
1438
1438
|
callback: Z
|
|
1439
1439
|
}, null, 8, ["id", "description", "name", "image", "room-groups", "callback"]))), 128))
|
|
1440
1440
|
])
|
|
1441
|
-
])) :
|
|
1442
|
-
l(
|
|
1443
|
-
l(
|
|
1441
|
+
])) : w("", !0),
|
|
1442
|
+
l(W).roomGroups.length > 0 && D.onlyShow !== "packages" ? (E(), $("div", Ln, [
|
|
1443
|
+
l(W).templates.length > 0 && D.onlyShow !== "rooms" ? (E(), $("h2", An, [
|
|
1444
1444
|
T(oe, {
|
|
1445
1445
|
icon: "house",
|
|
1446
1446
|
type: "fal",
|
|
1447
1447
|
color: "header"
|
|
1448
1448
|
}),
|
|
1449
1449
|
g("span", null, A(l(e)("booking.availability.roomsTitle")), 1)
|
|
1450
|
-
])) :
|
|
1451
|
-
g("ul",
|
|
1452
|
-
(E(!0),
|
|
1450
|
+
])) : w("", !0),
|
|
1451
|
+
g("ul", On, [
|
|
1452
|
+
(E(!0), $(U, null, q(vo.value, (z, L) => (E(), F(Li, {
|
|
1453
1453
|
room: z,
|
|
1454
1454
|
key: L
|
|
1455
1455
|
}, null, 8, ["room"]))), 128))
|
|
1456
1456
|
])
|
|
1457
|
-
])) :
|
|
1458
|
-
(l(
|
|
1457
|
+
])) : w("", !0),
|
|
1458
|
+
(l(W).templates.length === 0 && D.onlyShow !== "rooms" || l(W).roomGroups.length === 0 && D.onlyShow !== "packages") && (D.onlyShow === "rooms" || D.onlyShow === "packages") ? (E(), $("div", Hn, [
|
|
1459
1459
|
g("span", null, A(l(e)("booking.availability.nothingAvailable")), 1)
|
|
1460
|
-
])) :
|
|
1461
|
-
])) : l(
|
|
1460
|
+
])) : w("", !0)
|
|
1461
|
+
])) : l(W).nextAvailableDates.length === 0 ? (E(), $("div", Pn, [
|
|
1462
1462
|
g("span", null, A(l(e)("booking.availability.nothingAvailable")), 1)
|
|
1463
|
-
])) : (E(),
|
|
1464
|
-
g("h2",
|
|
1463
|
+
])) : (E(), $("div", wn, [
|
|
1464
|
+
g("h2", Vn, [
|
|
1465
1465
|
T(oe, {
|
|
1466
1466
|
icon: "calendar-circle-exclamation",
|
|
1467
1467
|
type: "fal",
|
|
@@ -1469,22 +1469,22 @@ const Bn = { class: "fresh-booking-event-addons-price" }, Wn = { key: 1 }, xn =
|
|
|
1469
1469
|
}),
|
|
1470
1470
|
g("span", null, A(l(e)("booking.availability.nextAvailableDates")), 1)
|
|
1471
1471
|
]),
|
|
1472
|
-
g("ul",
|
|
1473
|
-
(E(!0),
|
|
1472
|
+
g("ul", Rn, [
|
|
1473
|
+
(E(!0), $(U, null, q(l(W).nextAvailableDates, (z, L) => (E(), $("li", { key: L }, [
|
|
1474
1474
|
g("h3", {
|
|
1475
1475
|
title: `${l(ue)(z.fromDate)} - ${l(ue)(z.toDate)}`
|
|
1476
1476
|
}, [
|
|
1477
1477
|
g("span", null, A(`${l(ue)(z.fromDate)} - ${l(ue)(z.toDate)}`), 1)
|
|
1478
|
-
], 8,
|
|
1478
|
+
], 8, Dn),
|
|
1479
1479
|
g("ul", null, [
|
|
1480
|
-
|
|
1480
|
+
w("", !0),
|
|
1481
1481
|
g("li", null, [
|
|
1482
1482
|
T(oe, {
|
|
1483
1483
|
icon: "money-bill",
|
|
1484
1484
|
type: "fal",
|
|
1485
1485
|
color: "header"
|
|
1486
1486
|
}),
|
|
1487
|
-
g("span", null, A(l(e)("booking.availability.pricesFrom")) + ": " + A(l(
|
|
1487
|
+
g("span", null, A(l(e)("booking.availability.pricesFrom")) + ": " + A(l(ce)(z.priceStartFrom, l(he))), 1)
|
|
1488
1488
|
])
|
|
1489
1489
|
]),
|
|
1490
1490
|
T(Ie, {
|
|
@@ -1501,7 +1501,7 @@ const Bn = { class: "fresh-booking-event-addons-price" }, Wn = { key: 1 }, xn =
|
|
|
1501
1501
|
navigation: V(() => [
|
|
1502
1502
|
T(Ie, {
|
|
1503
1503
|
label: l(j) ? l(e)("booking.availability.nextButton") : l(e)("general.chooseAddons"),
|
|
1504
|
-
disabled: !l(
|
|
1504
|
+
disabled: !l(x),
|
|
1505
1505
|
"is-loading": !1,
|
|
1506
1506
|
"full-width": "",
|
|
1507
1507
|
onClickEvent: (z) => ko(Z)
|
|
@@ -1513,22 +1513,22 @@ const Bn = { class: "fresh-booking-event-addons-price" }, Wn = { key: 1 }, xn =
|
|
|
1513
1513
|
addons: V(({ next: Z, prev: z }) => [
|
|
1514
1514
|
T(tt, null, {
|
|
1515
1515
|
form: V(() => [
|
|
1516
|
-
g("form",
|
|
1516
|
+
g("form", xn, [
|
|
1517
1517
|
g("h2", null, [
|
|
1518
1518
|
g("span", null, A(l(e)("booking.reservation.addons")), 1)
|
|
1519
1519
|
]),
|
|
1520
1520
|
g("div", null, [
|
|
1521
|
-
isNaN(l(o)) ? (E(),
|
|
1522
|
-
(E(!0),
|
|
1521
|
+
isNaN(l(o)) ? (E(), $("div", Bn, [
|
|
1522
|
+
(E(!0), $(U, null, q(l(M), (L) => (E(), $("ul", {
|
|
1523
1523
|
key: L.roomGroupID
|
|
1524
1524
|
}, [
|
|
1525
|
-
(E(!0),
|
|
1525
|
+
(E(!0), $(U, null, q(L.variants, (Ce, $e) => (E(), $("li", {
|
|
1526
1526
|
key: Ce.ratePlanID
|
|
1527
1527
|
}, [
|
|
1528
1528
|
g("h4", null, [
|
|
1529
1529
|
g("span", null, A(l(Se)(L.title)), 1)
|
|
1530
1530
|
]),
|
|
1531
|
-
(E(!0),
|
|
1531
|
+
(E(!0), $(U, null, q(Ce.rooms, (Q, To) => (E(), $("table", {
|
|
1532
1532
|
key: To,
|
|
1533
1533
|
class: "fresh-booking-table"
|
|
1534
1534
|
}, [
|
|
@@ -1537,8 +1537,8 @@ const Bn = { class: "fresh-booking-event-addons-price" }, Wn = { key: 1 }, xn =
|
|
|
1537
1537
|
g("th", null, [
|
|
1538
1538
|
g("span", null, A(l(Se)(Ce.name)), 1)
|
|
1539
1539
|
]),
|
|
1540
|
-
|
|
1541
|
-
g("th",
|
|
1540
|
+
w("", !0),
|
|
1541
|
+
g("th", Wn, [
|
|
1542
1542
|
g("b", null, [
|
|
1543
1543
|
T(oe, {
|
|
1544
1544
|
icon: "male",
|
|
@@ -1551,37 +1551,37 @@ const Bn = { class: "fresh-booking-event-addons-price" }, Wn = { key: 1 }, xn =
|
|
|
1551
1551
|
icon: "child",
|
|
1552
1552
|
type: "fas",
|
|
1553
1553
|
color: "font"
|
|
1554
|
-
})) :
|
|
1555
|
-
Q.childrenCount > 0 ? (E(),
|
|
1554
|
+
})) : w("", !0),
|
|
1555
|
+
Q.childrenCount > 0 ? (E(), $("span", zn, A(Q.childrenCount), 1)) : w("", !0)
|
|
1556
1556
|
])
|
|
1557
1557
|
])
|
|
1558
1558
|
])
|
|
1559
1559
|
]),
|
|
1560
1560
|
g("tbody", null, [
|
|
1561
|
-
(E(!0),
|
|
1561
|
+
(E(!0), $(U, null, q(L.addons, ({
|
|
1562
1562
|
quantityStrategy: Je,
|
|
1563
1563
|
maximumNumber: Co,
|
|
1564
|
-
id:
|
|
1564
|
+
id: we,
|
|
1565
1565
|
name: $o,
|
|
1566
1566
|
price: Io
|
|
1567
|
-
}) => (E(),
|
|
1567
|
+
}) => (E(), $("tr", { key: we }, [
|
|
1568
1568
|
g("td", null, [
|
|
1569
1569
|
g("b", null, A(l(Se)($o)), 1),
|
|
1570
|
-
|
|
1571
|
-
g("span", null, A(l(
|
|
1570
|
+
Fn,
|
|
1571
|
+
g("span", null, A(l(ce)(Io, l(he))) + " " + A(l(Ro)(Je)), 1)
|
|
1572
1572
|
]),
|
|
1573
1573
|
g("td", null, [
|
|
1574
1574
|
Je === 1 || Je === 12 ? (E(), F(Qt, {
|
|
1575
1575
|
key: 0,
|
|
1576
|
-
modelValue: l(H)[L.roomGroupID][$e].config[Q.configIdx].addons[Q.roomIdx][
|
|
1577
|
-
"onUpdate:modelValue": (Ze) => l(H)[L.roomGroupID][$e].config[Q.configIdx].addons[Q.roomIdx][
|
|
1576
|
+
modelValue: l(H)[L.roomGroupID][$e].config[Q.configIdx].addons[Q.roomIdx][we],
|
|
1577
|
+
"onUpdate:modelValue": (Ze) => l(H)[L.roomGroupID][$e].config[Q.configIdx].addons[Q.roomIdx][we] = Ze,
|
|
1578
1578
|
small: !0,
|
|
1579
1579
|
"min-value": 0,
|
|
1580
1580
|
"max-value": Co || 1 / 0
|
|
1581
1581
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (E(), F(ht, {
|
|
1582
1582
|
key: 1,
|
|
1583
|
-
modelValue: l(H)[L.roomGroupID][$e].config[Q.configIdx].addons[Q.roomIdx][
|
|
1584
|
-
"onUpdate:modelValue": (Ze) => l(H)[L.roomGroupID][$e].config[Q.configIdx].addons[Q.roomIdx][
|
|
1583
|
+
modelValue: l(H)[L.roomGroupID][$e].config[Q.configIdx].addons[Q.roomIdx][we],
|
|
1584
|
+
"onUpdate:modelValue": (Ze) => l(H)[L.roomGroupID][$e].config[Q.configIdx].addons[Q.roomIdx][we] = Ze,
|
|
1585
1585
|
numeric: !0
|
|
1586
1586
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
1587
1587
|
])
|
|
@@ -1590,7 +1590,7 @@ const Bn = { class: "fresh-booking-event-addons-price" }, Wn = { key: 1 }, xn =
|
|
|
1590
1590
|
]))), 128))
|
|
1591
1591
|
]))), 128))
|
|
1592
1592
|
]))), 128))
|
|
1593
|
-
])) :
|
|
1593
|
+
])) : w("", !0)
|
|
1594
1594
|
])
|
|
1595
1595
|
])
|
|
1596
1596
|
]),
|
|
@@ -1605,7 +1605,7 @@ const Bn = { class: "fresh-booking-event-addons-price" }, Wn = { key: 1 }, xn =
|
|
|
1605
1605
|
onClick: Lt((L) => Ct(z), ["prevent"])
|
|
1606
1606
|
}, [
|
|
1607
1607
|
g("span", null, A(l(e)("general.goAStepBack")), 1)
|
|
1608
|
-
], 8,
|
|
1608
|
+
], 8, Nn)
|
|
1609
1609
|
]),
|
|
1610
1610
|
_: 2
|
|
1611
1611
|
}, 1024)
|
|
@@ -1616,40 +1616,40 @@ const Bn = { class: "fresh-booking-event-addons-price" }, Wn = { key: 1 }, xn =
|
|
|
1616
1616
|
"show-gift-card": !0
|
|
1617
1617
|
}, {
|
|
1618
1618
|
form: V(() => [
|
|
1619
|
-
g("form",
|
|
1619
|
+
g("form", Un, [
|
|
1620
1620
|
g("h2", null, [
|
|
1621
1621
|
g("span", null, A(l(e)("booking.reservation.detailsTitle")), 1)
|
|
1622
1622
|
]),
|
|
1623
|
-
!l(Me) && !(l(ke) && l(ee)) ? (E(),
|
|
1623
|
+
!l(Me) && !(l(ke) && l(ee)) ? (E(), $("ul", {
|
|
1624
1624
|
key: 0,
|
|
1625
1625
|
class: je({ "fresh-booking-split-inputs": !l(ke) && !l(ee) })
|
|
1626
1626
|
}, [
|
|
1627
|
-
l(ke) ?
|
|
1627
|
+
l(ke) ? w("", !0) : (E(), $("li", qn, [
|
|
1628
1628
|
T(Ot, {
|
|
1629
1629
|
modelValue: l(m),
|
|
1630
|
-
"onUpdate:modelValue":
|
|
1630
|
+
"onUpdate:modelValue": P[1] || (P[1] = (L) => Y(m) ? m.value = L : null),
|
|
1631
1631
|
label: l(e)("booking.reservation.arrivalTime"),
|
|
1632
1632
|
icon: "hourglass-start",
|
|
1633
1633
|
"hour-range": go.value,
|
|
1634
1634
|
required: ""
|
|
1635
1635
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1636
1636
|
])),
|
|
1637
|
-
l(ee) ?
|
|
1637
|
+
l(ee) ? w("", !0) : (E(), $("li", Gn, [
|
|
1638
1638
|
T(Ot, {
|
|
1639
1639
|
modelValue: l(k),
|
|
1640
|
-
"onUpdate:modelValue":
|
|
1640
|
+
"onUpdate:modelValue": P[2] || (P[2] = (L) => Y(k) ? k.value = L : null),
|
|
1641
1641
|
label: l(e)("booking.reservation.departureTime"),
|
|
1642
1642
|
icon: "hourglass-end",
|
|
1643
1643
|
"hour-range": yo.value,
|
|
1644
1644
|
required: ""
|
|
1645
1645
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1646
1646
|
]))
|
|
1647
|
-
], 2)) :
|
|
1648
|
-
T(
|
|
1647
|
+
], 2)) : w("", !0),
|
|
1648
|
+
T(rn, {
|
|
1649
1649
|
modelValue: l(a),
|
|
1650
|
-
"onUpdate:modelValue":
|
|
1650
|
+
"onUpdate:modelValue": P[3] || (P[3] = (L) => Y(a) ? a.value = L : null),
|
|
1651
1651
|
title: l(y),
|
|
1652
|
-
"onUpdate:title":
|
|
1652
|
+
"onUpdate:title": P[4] || (P[4] = (L) => Y(y) ? y.value = L : null),
|
|
1653
1653
|
"exclude-title": l(ge),
|
|
1654
1654
|
label: l(e)("booking.reservation.name"),
|
|
1655
1655
|
icon: "user-alt",
|
|
@@ -1658,7 +1658,7 @@ const Bn = { class: "fresh-booking-event-addons-price" }, Wn = { key: 1 }, xn =
|
|
|
1658
1658
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
1659
1659
|
T(le, {
|
|
1660
1660
|
modelValue: l(b),
|
|
1661
|
-
"onUpdate:modelValue":
|
|
1661
|
+
"onUpdate:modelValue": P[5] || (P[5] = (L) => Y(b) ? b.value = L : null),
|
|
1662
1662
|
type: "email",
|
|
1663
1663
|
name: "email",
|
|
1664
1664
|
autocomplete: "email",
|
|
@@ -1667,18 +1667,18 @@ const Bn = { class: "fresh-booking-event-addons-price" }, Wn = { key: 1 }, xn =
|
|
|
1667
1667
|
placeholder: l(e)("booking.reservation.emailPlaceholder"),
|
|
1668
1668
|
required: ""
|
|
1669
1669
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1670
|
-
l(me) ?
|
|
1670
|
+
l(me) ? w("", !0) : (E(), F(ht, {
|
|
1671
1671
|
key: 1,
|
|
1672
1672
|
modelValue: l(S),
|
|
1673
|
-
"onUpdate:modelValue":
|
|
1673
|
+
"onUpdate:modelValue": P[6] || (P[6] = (L) => Y(S) ? S.value = L : null),
|
|
1674
1674
|
type: "checkbox",
|
|
1675
1675
|
name: "newsletter",
|
|
1676
1676
|
label: l(e)("booking.reservation.newsletterSignUp")
|
|
1677
1677
|
}, null, 8, ["modelValue", "label"])),
|
|
1678
|
-
l(ye) ?
|
|
1678
|
+
l(ye) ? w("", !0) : (E(), F(le, {
|
|
1679
1679
|
key: 2,
|
|
1680
1680
|
modelValue: l(n),
|
|
1681
|
-
"onUpdate:modelValue":
|
|
1681
|
+
"onUpdate:modelValue": P[7] || (P[7] = (L) => Y(n) ? n.value = L : null),
|
|
1682
1682
|
type: "text",
|
|
1683
1683
|
name: "firm",
|
|
1684
1684
|
autocomplete: "firm",
|
|
@@ -1687,24 +1687,24 @@ const Bn = { class: "fresh-booking-event-addons-price" }, Wn = { key: 1 }, xn =
|
|
|
1687
1687
|
placeholder: l(e)("booking.reservation.companyNamePlaceholder")
|
|
1688
1688
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
1689
1689
|
T(Zo, {
|
|
1690
|
-
modelValue: l(
|
|
1691
|
-
"onUpdate:modelValue":
|
|
1690
|
+
modelValue: l(d),
|
|
1691
|
+
"onUpdate:modelValue": P[8] || (P[8] = (L) => Y(d) ? d.value = L : null),
|
|
1692
1692
|
icon: "phone-office",
|
|
1693
1693
|
label: l(e)("booking.reservation.phone"),
|
|
1694
1694
|
placeholder: l(e)("booking.reservation.phonePlaceholder"),
|
|
1695
1695
|
required: ""
|
|
1696
1696
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1697
|
-
T(
|
|
1697
|
+
T(Zi, {
|
|
1698
1698
|
modelValue: l(I),
|
|
1699
|
-
"onUpdate:modelValue":
|
|
1699
|
+
"onUpdate:modelValue": P[9] || (P[9] = (L) => Y(I) ? I.value = L : null),
|
|
1700
1700
|
label: l(e)("booking.reservation.country"),
|
|
1701
1701
|
placeholder: l(e)("booking.reservation.countryPlaceholder"),
|
|
1702
1702
|
options: l(s),
|
|
1703
1703
|
required: ""
|
|
1704
1704
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
1705
1705
|
T(le, {
|
|
1706
|
-
modelValue: l(
|
|
1707
|
-
"onUpdate:modelValue":
|
|
1706
|
+
modelValue: l(C),
|
|
1707
|
+
"onUpdate:modelValue": P[10] || (P[10] = (L) => Y(C) ? C.value = L : null),
|
|
1708
1708
|
type: "textarea",
|
|
1709
1709
|
name: "address",
|
|
1710
1710
|
autocomplete: "street-address",
|
|
@@ -1713,11 +1713,11 @@ const Bn = { class: "fresh-booking-event-addons-price" }, Wn = { key: 1 }, xn =
|
|
|
1713
1713
|
placeholder: l(e)("booking.reservation.streetAddressPlaceholder"),
|
|
1714
1714
|
required: ""
|
|
1715
1715
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1716
|
-
g("ul",
|
|
1716
|
+
g("ul", jn, [
|
|
1717
1717
|
g("li", null, [
|
|
1718
1718
|
T(le, {
|
|
1719
1719
|
modelValue: l(p),
|
|
1720
|
-
"onUpdate:modelValue":
|
|
1720
|
+
"onUpdate:modelValue": P[11] || (P[11] = (L) => Y(p) ? p.value = L : null),
|
|
1721
1721
|
type: "text",
|
|
1722
1722
|
name: "postal",
|
|
1723
1723
|
autocomplete: "postal-code",
|
|
@@ -1730,7 +1730,7 @@ const Bn = { class: "fresh-booking-event-addons-price" }, Wn = { key: 1 }, xn =
|
|
|
1730
1730
|
g("li", null, [
|
|
1731
1731
|
T(le, {
|
|
1732
1732
|
modelValue: l(_),
|
|
1733
|
-
"onUpdate:modelValue":
|
|
1733
|
+
"onUpdate:modelValue": P[12] || (P[12] = (L) => Y(_) ? _.value = L : null),
|
|
1734
1734
|
type: "text",
|
|
1735
1735
|
name: "city",
|
|
1736
1736
|
autocomplete: "address-level2",
|
|
@@ -1743,7 +1743,7 @@ const Bn = { class: "fresh-booking-event-addons-price" }, Wn = { key: 1 }, xn =
|
|
|
1743
1743
|
]),
|
|
1744
1744
|
T(le, {
|
|
1745
1745
|
modelValue: l(R),
|
|
1746
|
-
"onUpdate:modelValue":
|
|
1746
|
+
"onUpdate:modelValue": P[13] || (P[13] = (L) => Y(R) ? R.value = L : null),
|
|
1747
1747
|
type: "textarea",
|
|
1748
1748
|
label: `${l(e)("booking.reservation.remark")} (${l(e)("booking.reservation.optional")})`,
|
|
1749
1749
|
icon: "info-circle",
|
|
@@ -1751,16 +1751,16 @@ const Bn = { class: "fresh-booking-event-addons-price" }, Wn = { key: 1 }, xn =
|
|
|
1751
1751
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1752
1752
|
T(le, {
|
|
1753
1753
|
modelValue: l(O),
|
|
1754
|
-
"onUpdate:modelValue":
|
|
1754
|
+
"onUpdate:modelValue": P[14] || (P[14] = (L) => Y(O) ? O.value = L : null),
|
|
1755
1755
|
type: "textarea",
|
|
1756
1756
|
label: `${l(e)("booking.reservation.allergies")} (${l(e)("booking.reservation.optional")})`,
|
|
1757
1757
|
icon: "allergies",
|
|
1758
1758
|
placeholder: l(e)("booking.reservation.allergiesPlaceholder")
|
|
1759
1759
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1760
|
-
l(
|
|
1760
|
+
l(xe) ? w("", !0) : (E(), F(on, {
|
|
1761
1761
|
key: 3,
|
|
1762
1762
|
modelValue: l(v),
|
|
1763
|
-
"onUpdate:modelValue":
|
|
1763
|
+
"onUpdate:modelValue": P[15] || (P[15] = (L) => Y(v) ? v.value = L : null),
|
|
1764
1764
|
label: `${l(e)("booking.reservation.purposeOfStay")} (${l(e)("booking.reservation.optional")})`,
|
|
1765
1765
|
name: "travelingFor",
|
|
1766
1766
|
checkboxes: mo.value
|
|
@@ -1770,9 +1770,9 @@ const Bn = { class: "fresh-booking-event-addons-price" }, Wn = { key: 1 }, xn =
|
|
|
1770
1770
|
navigation: V(() => [
|
|
1771
1771
|
g("div", null, [
|
|
1772
1772
|
T(Ie, {
|
|
1773
|
-
label: l(
|
|
1773
|
+
label: l(Be) ? l(e)("booking.reservation.nextButton") : l(e)("general.confirmReservation"),
|
|
1774
1774
|
disabled: !l(h),
|
|
1775
|
-
"is-loading": l(
|
|
1775
|
+
"is-loading": l(c),
|
|
1776
1776
|
"full-width": "",
|
|
1777
1777
|
onClickEvent: (L) => bo(Z)
|
|
1778
1778
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
|
|
@@ -1781,7 +1781,7 @@ const Bn = { class: "fresh-booking-event-addons-price" }, Wn = { key: 1 }, xn =
|
|
|
1781
1781
|
onClick: Lt((L) => Ct(z), ["prevent"])
|
|
1782
1782
|
}, [
|
|
1783
1783
|
g("span", null, A(l(e)("general.goAStepBack")), 1)
|
|
1784
|
-
], 8,
|
|
1784
|
+
], 8, Yn)
|
|
1785
1785
|
])
|
|
1786
1786
|
]),
|
|
1787
1787
|
_: 2
|
|
@@ -1802,13 +1802,13 @@ const Bn = { class: "fresh-booking-event-addons-price" }, Wn = { key: 1 }, xn =
|
|
|
1802
1802
|
}, 8, ["access-token", "styling"])
|
|
1803
1803
|
]),
|
|
1804
1804
|
fallback: V(() => [
|
|
1805
|
-
T(
|
|
1805
|
+
T(_n)
|
|
1806
1806
|
]),
|
|
1807
1807
|
_: 1
|
|
1808
1808
|
}));
|
|
1809
1809
|
}
|
|
1810
1810
|
});
|
|
1811
|
-
const
|
|
1811
|
+
const Qn = /* @__PURE__ */ ie(Kn, [["__scopeId", "data-v-13535241"]]);
|
|
1812
1812
|
var io = { exports: {} }, it = { exports: {} }, nt = { exports: {} }, Ht;
|
|
1813
1813
|
function bt() {
|
|
1814
1814
|
return Ht || (Ht = 1, function(t) {
|
|
@@ -1839,8 +1839,8 @@ function bt() {
|
|
|
1839
1839
|
var r = this._events && this._events[i];
|
|
1840
1840
|
if (!(!r || !r.length)) {
|
|
1841
1841
|
r = r.slice(0), s = s || [];
|
|
1842
|
-
for (var f = this._onceEvents && this._onceEvents[i],
|
|
1843
|
-
var h = r[
|
|
1842
|
+
for (var f = this._onceEvents && this._onceEvents[i], c = 0; c < r.length; c++) {
|
|
1843
|
+
var h = r[c], u = f && f[h];
|
|
1844
1844
|
u && (this.off(i, h), delete f[h]), h.apply(this, s);
|
|
1845
1845
|
}
|
|
1846
1846
|
return this;
|
|
@@ -1857,9 +1857,9 @@ var rt = { exports: {} };
|
|
|
1857
1857
|
* measure size of elements
|
|
1858
1858
|
* MIT license
|
|
1859
1859
|
*/
|
|
1860
|
-
var
|
|
1860
|
+
var Pt;
|
|
1861
1861
|
function kt() {
|
|
1862
|
-
return
|
|
1862
|
+
return Pt || (Pt = 1, function(t) {
|
|
1863
1863
|
(function(e, o) {
|
|
1864
1864
|
t.exports ? t.exports = o() : e.getSize = o();
|
|
1865
1865
|
})(window, function() {
|
|
@@ -1885,7 +1885,7 @@ function kt() {
|
|
|
1885
1885
|
"borderTopWidth",
|
|
1886
1886
|
"borderBottomWidth"
|
|
1887
1887
|
], f = r.length;
|
|
1888
|
-
function
|
|
1888
|
+
function c() {
|
|
1889
1889
|
for (var a = {
|
|
1890
1890
|
width: 0,
|
|
1891
1891
|
height: 0,
|
|
@@ -1919,28 +1919,28 @@ function kt() {
|
|
|
1919
1919
|
if (m(), typeof a == "string" && (a = document.querySelector(a)), !(!a || typeof a != "object" || !a.nodeType)) {
|
|
1920
1920
|
var y = h(a);
|
|
1921
1921
|
if (y.display == "none")
|
|
1922
|
-
return
|
|
1922
|
+
return c();
|
|
1923
1923
|
var b = {};
|
|
1924
1924
|
b.width = a.offsetWidth, b.height = a.offsetHeight;
|
|
1925
|
-
for (var
|
|
1926
|
-
var p = r[n], _ = y[p],
|
|
1927
|
-
b[p] = isNaN(
|
|
1925
|
+
for (var d = b.isBorderBox = y.boxSizing == "border-box", n = 0; n < f; n++) {
|
|
1926
|
+
var p = r[n], _ = y[p], C = parseFloat(_);
|
|
1927
|
+
b[p] = isNaN(C) ? 0 : C;
|
|
1928
1928
|
}
|
|
1929
|
-
var I = b.paddingLeft + b.paddingRight, R = b.paddingTop + b.paddingBottom, O = b.marginLeft + b.marginRight, S = b.marginTop + b.marginBottom, H = b.borderLeftWidth + b.borderRightWidth, M = b.borderTopWidth + b.borderBottomWidth,
|
|
1930
|
-
|
|
1931
|
-
(
|
|
1932
|
-
var
|
|
1933
|
-
return
|
|
1934
|
-
(
|
|
1929
|
+
var I = b.paddingLeft + b.paddingRight, R = b.paddingTop + b.paddingBottom, O = b.marginLeft + b.marginRight, S = b.marginTop + b.marginBottom, H = b.borderLeftWidth + b.borderRightWidth, M = b.borderTopWidth + b.borderBottomWidth, x = d && v, B = o(y.width);
|
|
1930
|
+
B !== !1 && (b.width = B + // add padding and border unless it's already including it
|
|
1931
|
+
(x ? 0 : I + H));
|
|
1932
|
+
var W = o(y.height);
|
|
1933
|
+
return W !== !1 && (b.height = W + // add padding and border unless it's already including it
|
|
1934
|
+
(x ? 0 : R + M)), b.innerWidth = b.width - (I + H), b.innerHeight = b.height - (R + M), b.outerWidth = b.width + O, b.outerHeight = b.height + S, b;
|
|
1935
1935
|
}
|
|
1936
1936
|
}
|
|
1937
1937
|
return k;
|
|
1938
1938
|
});
|
|
1939
1939
|
}(rt)), rt.exports;
|
|
1940
1940
|
}
|
|
1941
|
-
var st = { exports: {} }, at = { exports: {} },
|
|
1942
|
-
function
|
|
1943
|
-
return
|
|
1941
|
+
var st = { exports: {} }, at = { exports: {} }, wt;
|
|
1942
|
+
function Xn() {
|
|
1943
|
+
return wt || (wt = 1, function(t) {
|
|
1944
1944
|
(function(e, o) {
|
|
1945
1945
|
t.exports ? t.exports = o() : e.matchesSelector = o();
|
|
1946
1946
|
})(window, function() {
|
|
@@ -1951,9 +1951,9 @@ function Kn() {
|
|
|
1951
1951
|
if (i.matchesSelector)
|
|
1952
1952
|
return "matchesSelector";
|
|
1953
1953
|
for (var s = ["webkit", "moz", "ms", "o"], r = 0; r < s.length; r++) {
|
|
1954
|
-
var f = s[r],
|
|
1955
|
-
if (i[
|
|
1956
|
-
return
|
|
1954
|
+
var f = s[r], c = f + "MatchesSelector";
|
|
1955
|
+
if (i[c])
|
|
1956
|
+
return c;
|
|
1957
1957
|
}
|
|
1958
1958
|
}();
|
|
1959
1959
|
return function(s, r) {
|
|
@@ -1963,49 +1963,49 @@ function Kn() {
|
|
|
1963
1963
|
}(at)), at.exports;
|
|
1964
1964
|
}
|
|
1965
1965
|
var Vt;
|
|
1966
|
-
function
|
|
1966
|
+
function Jn() {
|
|
1967
1967
|
return Vt || (Vt = 1, function(t) {
|
|
1968
1968
|
(function(e, o) {
|
|
1969
1969
|
t.exports ? t.exports = o(
|
|
1970
1970
|
e,
|
|
1971
|
-
|
|
1971
|
+
Xn()
|
|
1972
1972
|
) : e.fizzyUIUtils = o(
|
|
1973
1973
|
e,
|
|
1974
1974
|
e.matchesSelector
|
|
1975
1975
|
);
|
|
1976
1976
|
})(window, function(o, i) {
|
|
1977
1977
|
var s = {};
|
|
1978
|
-
s.extend = function(
|
|
1978
|
+
s.extend = function(c, h) {
|
|
1979
1979
|
for (var u in h)
|
|
1980
|
-
|
|
1981
|
-
return
|
|
1982
|
-
}, s.modulo = function(
|
|
1983
|
-
return (
|
|
1980
|
+
c[u] = h[u];
|
|
1981
|
+
return c;
|
|
1982
|
+
}, s.modulo = function(c, h) {
|
|
1983
|
+
return (c % h + h) % h;
|
|
1984
1984
|
};
|
|
1985
1985
|
var r = Array.prototype.slice;
|
|
1986
|
-
s.makeArray = function(
|
|
1987
|
-
if (Array.isArray(
|
|
1988
|
-
return
|
|
1989
|
-
if (
|
|
1986
|
+
s.makeArray = function(c) {
|
|
1987
|
+
if (Array.isArray(c))
|
|
1988
|
+
return c;
|
|
1989
|
+
if (c == null)
|
|
1990
1990
|
return [];
|
|
1991
|
-
var h = typeof
|
|
1992
|
-
return h ? r.call(
|
|
1993
|
-
}, s.removeFrom = function(
|
|
1994
|
-
var u =
|
|
1995
|
-
u != -1 &&
|
|
1996
|
-
}, s.getParent = function(
|
|
1997
|
-
for (;
|
|
1998
|
-
if (
|
|
1999
|
-
return
|
|
2000
|
-
}, s.getQueryElement = function(
|
|
2001
|
-
return typeof
|
|
2002
|
-
}, s.handleEvent = function(
|
|
2003
|
-
var h = "on" +
|
|
2004
|
-
this[h] && this[h](
|
|
2005
|
-
}, s.filterFindElements = function(
|
|
2006
|
-
|
|
1991
|
+
var h = typeof c == "object" && typeof c.length == "number";
|
|
1992
|
+
return h ? r.call(c) : [c];
|
|
1993
|
+
}, s.removeFrom = function(c, h) {
|
|
1994
|
+
var u = c.indexOf(h);
|
|
1995
|
+
u != -1 && c.splice(u, 1);
|
|
1996
|
+
}, s.getParent = function(c, h) {
|
|
1997
|
+
for (; c.parentNode && c != document.body; )
|
|
1998
|
+
if (c = c.parentNode, i(c, h))
|
|
1999
|
+
return c;
|
|
2000
|
+
}, s.getQueryElement = function(c) {
|
|
2001
|
+
return typeof c == "string" ? document.querySelector(c) : c;
|
|
2002
|
+
}, s.handleEvent = function(c) {
|
|
2003
|
+
var h = "on" + c.type;
|
|
2004
|
+
this[h] && this[h](c);
|
|
2005
|
+
}, s.filterFindElements = function(c, h) {
|
|
2006
|
+
c = s.makeArray(c);
|
|
2007
2007
|
var u = [];
|
|
2008
|
-
return
|
|
2008
|
+
return c.forEach(function(v) {
|
|
2009
2009
|
if (v instanceof HTMLElement) {
|
|
2010
2010
|
if (!h) {
|
|
2011
2011
|
u.push(v);
|
|
@@ -2016,10 +2016,10 @@ function Qn() {
|
|
|
2016
2016
|
u.push(m[k]);
|
|
2017
2017
|
}
|
|
2018
2018
|
}), u;
|
|
2019
|
-
}, s.debounceMethod = function(
|
|
2019
|
+
}, s.debounceMethod = function(c, h, u) {
|
|
2020
2020
|
u = u || 100;
|
|
2021
|
-
var v =
|
|
2022
|
-
|
|
2021
|
+
var v = c.prototype[h], m = h + "Timeout";
|
|
2022
|
+
c.prototype[h] = function() {
|
|
2023
2023
|
var k = this[m];
|
|
2024
2024
|
clearTimeout(k);
|
|
2025
2025
|
var a = arguments, y = this;
|
|
@@ -2027,28 +2027,28 @@ function Qn() {
|
|
|
2027
2027
|
v.apply(y, a), delete y[m];
|
|
2028
2028
|
}, u);
|
|
2029
2029
|
};
|
|
2030
|
-
}, s.docReady = function(
|
|
2030
|
+
}, s.docReady = function(c) {
|
|
2031
2031
|
var h = document.readyState;
|
|
2032
|
-
h == "complete" || h == "interactive" ? setTimeout(
|
|
2033
|
-
}, s.toDashed = function(
|
|
2034
|
-
return
|
|
2032
|
+
h == "complete" || h == "interactive" ? setTimeout(c) : document.addEventListener("DOMContentLoaded", c);
|
|
2033
|
+
}, s.toDashed = function(c) {
|
|
2034
|
+
return c.replace(/(.)([A-Z])/g, function(h, u, v) {
|
|
2035
2035
|
return u + "-" + v;
|
|
2036
2036
|
}).toLowerCase();
|
|
2037
2037
|
};
|
|
2038
2038
|
var f = o.console;
|
|
2039
|
-
return s.htmlInit = function(
|
|
2039
|
+
return s.htmlInit = function(c, h) {
|
|
2040
2040
|
s.docReady(function() {
|
|
2041
2041
|
var u = s.toDashed(h), v = "data-" + u, m = document.querySelectorAll("[" + v + "]"), k = document.querySelectorAll(".js-" + u), a = s.makeArray(m).concat(s.makeArray(k)), y = v + "-options", b = o.jQuery;
|
|
2042
|
-
a.forEach(function(
|
|
2043
|
-
var n =
|
|
2042
|
+
a.forEach(function(d) {
|
|
2043
|
+
var n = d.getAttribute(v) || d.getAttribute(y), p;
|
|
2044
2044
|
try {
|
|
2045
2045
|
p = n && JSON.parse(n);
|
|
2046
|
-
} catch (
|
|
2047
|
-
f && f.error("Error parsing " + v + " on " +
|
|
2046
|
+
} catch (C) {
|
|
2047
|
+
f && f.error("Error parsing " + v + " on " + d.className + ": " + C);
|
|
2048
2048
|
return;
|
|
2049
2049
|
}
|
|
2050
|
-
var _ = new d
|
|
2051
|
-
b && b.data(
|
|
2050
|
+
var _ = new c(d, p);
|
|
2051
|
+
b && b.data(d, h, _);
|
|
2052
2052
|
});
|
|
2053
2053
|
});
|
|
2054
2054
|
}, s;
|
|
@@ -2056,7 +2056,7 @@ function Qn() {
|
|
|
2056
2056
|
}(st)), st.exports;
|
|
2057
2057
|
}
|
|
2058
2058
|
var lt = { exports: {} }, Rt;
|
|
2059
|
-
function
|
|
2059
|
+
function Zn() {
|
|
2060
2060
|
return Rt || (Rt = 1, function(t) {
|
|
2061
2061
|
(function(e, o) {
|
|
2062
2062
|
t.exports ? t.exports = o(
|
|
@@ -2067,23 +2067,23 @@ function Xn() {
|
|
|
2067
2067
|
e.getSize
|
|
2068
2068
|
));
|
|
2069
2069
|
})(window, function(o, i) {
|
|
2070
|
-
function s(
|
|
2071
|
-
for (var n in
|
|
2070
|
+
function s(d) {
|
|
2071
|
+
for (var n in d)
|
|
2072
2072
|
return !1;
|
|
2073
2073
|
return n = null, !0;
|
|
2074
2074
|
}
|
|
2075
|
-
var r = document.documentElement.style, f = typeof r.transition == "string" ? "transition" : "WebkitTransition",
|
|
2075
|
+
var r = document.documentElement.style, f = typeof r.transition == "string" ? "transition" : "WebkitTransition", c = typeof r.transform == "string" ? "transform" : "WebkitTransform", h = {
|
|
2076
2076
|
WebkitTransition: "webkitTransitionEnd",
|
|
2077
2077
|
transition: "transitionend"
|
|
2078
2078
|
}[f], u = {
|
|
2079
|
-
transform:
|
|
2079
|
+
transform: c,
|
|
2080
2080
|
transition: f,
|
|
2081
2081
|
transitionDuration: f + "Duration",
|
|
2082
2082
|
transitionProperty: f + "Property",
|
|
2083
2083
|
transitionDelay: f + "Delay"
|
|
2084
2084
|
};
|
|
2085
|
-
function v(
|
|
2086
|
-
|
|
2085
|
+
function v(d, n) {
|
|
2086
|
+
d && (this.element = d, this.layout = n, this.position = {
|
|
2087
2087
|
x: 0,
|
|
2088
2088
|
y: 0
|
|
2089
2089
|
}, this._create());
|
|
@@ -2097,39 +2097,39 @@ function Xn() {
|
|
|
2097
2097
|
}, this.css({
|
|
2098
2098
|
position: "absolute"
|
|
2099
2099
|
});
|
|
2100
|
-
}, m.handleEvent = function(
|
|
2101
|
-
var n = "on" +
|
|
2102
|
-
this[n] && this[n](
|
|
2100
|
+
}, m.handleEvent = function(d) {
|
|
2101
|
+
var n = "on" + d.type;
|
|
2102
|
+
this[n] && this[n](d);
|
|
2103
2103
|
}, m.getSize = function() {
|
|
2104
2104
|
this.size = i(this.element);
|
|
2105
|
-
}, m.css = function(
|
|
2105
|
+
}, m.css = function(d) {
|
|
2106
2106
|
var n = this.element.style;
|
|
2107
|
-
for (var p in
|
|
2107
|
+
for (var p in d) {
|
|
2108
2108
|
var _ = u[p] || p;
|
|
2109
|
-
n[_] =
|
|
2109
|
+
n[_] = d[p];
|
|
2110
2110
|
}
|
|
2111
2111
|
}, m.getPosition = function() {
|
|
2112
|
-
var
|
|
2113
|
-
_.indexOf("%") != -1 && (I = I / 100 * O.width),
|
|
2112
|
+
var d = getComputedStyle(this.element), n = this.layout._getOption("originLeft"), p = this.layout._getOption("originTop"), _ = d[n ? "left" : "right"], C = d[p ? "top" : "bottom"], I = parseFloat(_), R = parseFloat(C), O = this.layout.size;
|
|
2113
|
+
_.indexOf("%") != -1 && (I = I / 100 * O.width), C.indexOf("%") != -1 && (R = R / 100 * O.height), I = isNaN(I) ? 0 : I, R = isNaN(R) ? 0 : R, I -= n ? O.paddingLeft : O.paddingRight, R -= p ? O.paddingTop : O.paddingBottom, this.position.x = I, this.position.y = R;
|
|
2114
2114
|
}, m.layoutPosition = function() {
|
|
2115
|
-
var
|
|
2115
|
+
var d = this.layout.size, n = {}, p = this.layout._getOption("originLeft"), _ = this.layout._getOption("originTop"), C = p ? "paddingLeft" : "paddingRight", I = p ? "left" : "right", R = p ? "right" : "left", O = this.position.x + d[C];
|
|
2116
2116
|
n[I] = this.getXValue(O), n[R] = "";
|
|
2117
|
-
var S = _ ? "paddingTop" : "paddingBottom", H = _ ? "top" : "bottom", M = _ ? "bottom" : "top",
|
|
2118
|
-
n[H] = this.getYValue(
|
|
2119
|
-
}, m.getXValue = function(
|
|
2117
|
+
var S = _ ? "paddingTop" : "paddingBottom", H = _ ? "top" : "bottom", M = _ ? "bottom" : "top", x = this.position.y + d[S];
|
|
2118
|
+
n[H] = this.getYValue(x), n[M] = "", this.css(n), this.emitEvent("layout", [this]);
|
|
2119
|
+
}, m.getXValue = function(d) {
|
|
2120
2120
|
var n = this.layout._getOption("horizontal");
|
|
2121
|
-
return this.layout.options.percentPosition && !n ?
|
|
2122
|
-
}, m.getYValue = function(
|
|
2121
|
+
return this.layout.options.percentPosition && !n ? d / this.layout.size.width * 100 + "%" : d + "px";
|
|
2122
|
+
}, m.getYValue = function(d) {
|
|
2123
2123
|
var n = this.layout._getOption("horizontal");
|
|
2124
|
-
return this.layout.options.percentPosition && n ?
|
|
2125
|
-
}, m._transitionTo = function(
|
|
2124
|
+
return this.layout.options.percentPosition && n ? d / this.layout.size.height * 100 + "%" : d + "px";
|
|
2125
|
+
}, m._transitionTo = function(d, n) {
|
|
2126
2126
|
this.getPosition();
|
|
2127
|
-
var p = this.position.x, _ = this.position.y,
|
|
2128
|
-
if (this.setPosition(
|
|
2127
|
+
var p = this.position.x, _ = this.position.y, C = d == this.position.x && n == this.position.y;
|
|
2128
|
+
if (this.setPosition(d, n), C && !this.isTransitioning) {
|
|
2129
2129
|
this.layoutPosition();
|
|
2130
2130
|
return;
|
|
2131
2131
|
}
|
|
2132
|
-
var I =
|
|
2132
|
+
var I = d - p, R = n - _, O = {};
|
|
2133
2133
|
O.transform = this.getTranslate(I, R), this.transition({
|
|
2134
2134
|
to: O,
|
|
2135
2135
|
onTransitionEnd: {
|
|
@@ -2137,56 +2137,56 @@ function Xn() {
|
|
|
2137
2137
|
},
|
|
2138
2138
|
isCleaning: !0
|
|
2139
2139
|
});
|
|
2140
|
-
}, m.getTranslate = function(
|
|
2140
|
+
}, m.getTranslate = function(d, n) {
|
|
2141
2141
|
var p = this.layout._getOption("originLeft"), _ = this.layout._getOption("originTop");
|
|
2142
|
-
return
|
|
2143
|
-
}, m.goTo = function(
|
|
2144
|
-
this.setPosition(
|
|
2145
|
-
}, m.moveTo = m._transitionTo, m.setPosition = function(
|
|
2146
|
-
this.position.x = parseFloat(
|
|
2147
|
-
}, m._nonTransition = function(
|
|
2148
|
-
this.css(
|
|
2149
|
-
for (var n in
|
|
2150
|
-
|
|
2151
|
-
}, m.transition = function(
|
|
2142
|
+
return d = p ? d : -d, n = _ ? n : -n, "translate3d(" + d + "px, " + n + "px, 0)";
|
|
2143
|
+
}, m.goTo = function(d, n) {
|
|
2144
|
+
this.setPosition(d, n), this.layoutPosition();
|
|
2145
|
+
}, m.moveTo = m._transitionTo, m.setPosition = function(d, n) {
|
|
2146
|
+
this.position.x = parseFloat(d), this.position.y = parseFloat(n);
|
|
2147
|
+
}, m._nonTransition = function(d) {
|
|
2148
|
+
this.css(d.to), d.isCleaning && this._removeStyles(d.to);
|
|
2149
|
+
for (var n in d.onTransitionEnd)
|
|
2150
|
+
d.onTransitionEnd[n].call(this);
|
|
2151
|
+
}, m.transition = function(d) {
|
|
2152
2152
|
if (!parseFloat(this.layout.options.transitionDuration)) {
|
|
2153
|
-
this._nonTransition(
|
|
2153
|
+
this._nonTransition(d);
|
|
2154
2154
|
return;
|
|
2155
2155
|
}
|
|
2156
2156
|
var n = this._transn;
|
|
2157
|
-
for (var p in
|
|
2158
|
-
n.onEnd[p] =
|
|
2159
|
-
for (p in
|
|
2160
|
-
n.ingProperties[p] = !0,
|
|
2161
|
-
|
|
2157
|
+
for (var p in d.onTransitionEnd)
|
|
2158
|
+
n.onEnd[p] = d.onTransitionEnd[p];
|
|
2159
|
+
for (p in d.to)
|
|
2160
|
+
n.ingProperties[p] = !0, d.isCleaning && (n.clean[p] = !0);
|
|
2161
|
+
d.from && (this.css(d.from), this.element.offsetHeight), this.enableTransition(d.to), this.css(d.to), this.isTransitioning = !0;
|
|
2162
2162
|
};
|
|
2163
|
-
function k(
|
|
2164
|
-
return
|
|
2163
|
+
function k(d) {
|
|
2164
|
+
return d.replace(/([A-Z])/g, function(n) {
|
|
2165
2165
|
return "-" + n.toLowerCase();
|
|
2166
2166
|
});
|
|
2167
2167
|
}
|
|
2168
|
-
var a = "opacity," + k(
|
|
2168
|
+
var a = "opacity," + k(c);
|
|
2169
2169
|
m.enableTransition = function() {
|
|
2170
2170
|
if (!this.isTransitioning) {
|
|
2171
|
-
var
|
|
2172
|
-
|
|
2171
|
+
var d = this.layout.options.transitionDuration;
|
|
2172
|
+
d = typeof d == "number" ? d + "ms" : d, this.css({
|
|
2173
2173
|
transitionProperty: a,
|
|
2174
|
-
transitionDuration:
|
|
2174
|
+
transitionDuration: d,
|
|
2175
2175
|
transitionDelay: this.staggerDelay || 0
|
|
2176
2176
|
}), this.element.addEventListener(h, this, !1);
|
|
2177
2177
|
}
|
|
2178
|
-
}, m.onwebkitTransitionEnd = function(
|
|
2179
|
-
this.ontransitionend(
|
|
2180
|
-
}, m.onotransitionend = function(
|
|
2181
|
-
this.ontransitionend(
|
|
2178
|
+
}, m.onwebkitTransitionEnd = function(d) {
|
|
2179
|
+
this.ontransitionend(d);
|
|
2180
|
+
}, m.onotransitionend = function(d) {
|
|
2181
|
+
this.ontransitionend(d);
|
|
2182
2182
|
};
|
|
2183
2183
|
var y = {
|
|
2184
2184
|
"-webkit-transform": "transform"
|
|
2185
2185
|
};
|
|
2186
|
-
m.ontransitionend = function(
|
|
2187
|
-
if (
|
|
2188
|
-
var n = this._transn, p = y[
|
|
2189
|
-
if (delete n.ingProperties[p], s(n.ingProperties) && this.disableTransition(), p in n.clean && (this.element.style[
|
|
2186
|
+
m.ontransitionend = function(d) {
|
|
2187
|
+
if (d.target === this.element) {
|
|
2188
|
+
var n = this._transn, p = y[d.propertyName] || d.propertyName;
|
|
2189
|
+
if (delete n.ingProperties[p], s(n.ingProperties) && this.disableTransition(), p in n.clean && (this.element.style[d.propertyName] = "", delete n.clean[p]), p in n.onEnd) {
|
|
2190
2190
|
var _ = n.onEnd[p];
|
|
2191
2191
|
_.call(this), delete n.onEnd[p];
|
|
2192
2192
|
}
|
|
@@ -2194,9 +2194,9 @@ function Xn() {
|
|
|
2194
2194
|
}
|
|
2195
2195
|
}, m.disableTransition = function() {
|
|
2196
2196
|
this.removeTransitionStyles(), this.element.removeEventListener(h, this, !1), this.isTransitioning = !1;
|
|
2197
|
-
}, m._removeStyles = function(
|
|
2197
|
+
}, m._removeStyles = function(d) {
|
|
2198
2198
|
var n = {};
|
|
2199
|
-
for (var p in
|
|
2199
|
+
for (var p in d)
|
|
2200
2200
|
n[p] = "";
|
|
2201
2201
|
this.css(n);
|
|
2202
2202
|
};
|
|
@@ -2207,8 +2207,8 @@ function Xn() {
|
|
|
2207
2207
|
};
|
|
2208
2208
|
return m.removeTransitionStyles = function() {
|
|
2209
2209
|
this.css(b);
|
|
2210
|
-
}, m.stagger = function(
|
|
2211
|
-
|
|
2210
|
+
}, m.stagger = function(d) {
|
|
2211
|
+
d = isNaN(d) ? 0 : d, this.staggerDelay = d + "ms";
|
|
2212
2212
|
}, m.removeElem = function() {
|
|
2213
2213
|
this.element.parentNode.removeChild(this.element), this.css({ display: "" }), this.emitEvent("remove", [this]);
|
|
2214
2214
|
}, m.remove = function() {
|
|
@@ -2221,27 +2221,27 @@ function Xn() {
|
|
|
2221
2221
|
}), this.hide();
|
|
2222
2222
|
}, m.reveal = function() {
|
|
2223
2223
|
delete this.isHidden, this.css({ display: "" });
|
|
2224
|
-
var
|
|
2224
|
+
var d = this.layout.options, n = {}, p = this.getHideRevealTransitionEndProperty("visibleStyle");
|
|
2225
2225
|
n[p] = this.onRevealTransitionEnd, this.transition({
|
|
2226
|
-
from:
|
|
2227
|
-
to:
|
|
2226
|
+
from: d.hiddenStyle,
|
|
2227
|
+
to: d.visibleStyle,
|
|
2228
2228
|
isCleaning: !0,
|
|
2229
2229
|
onTransitionEnd: n
|
|
2230
2230
|
});
|
|
2231
2231
|
}, m.onRevealTransitionEnd = function() {
|
|
2232
2232
|
this.isHidden || this.emitEvent("reveal");
|
|
2233
|
-
}, m.getHideRevealTransitionEndProperty = function(
|
|
2234
|
-
var n = this.layout.options[
|
|
2233
|
+
}, m.getHideRevealTransitionEndProperty = function(d) {
|
|
2234
|
+
var n = this.layout.options[d];
|
|
2235
2235
|
if (n.opacity)
|
|
2236
2236
|
return "opacity";
|
|
2237
2237
|
for (var p in n)
|
|
2238
2238
|
return p;
|
|
2239
2239
|
}, m.hide = function() {
|
|
2240
2240
|
this.isHidden = !0, this.css({ display: "" });
|
|
2241
|
-
var
|
|
2241
|
+
var d = this.layout.options, n = {}, p = this.getHideRevealTransitionEndProperty("hiddenStyle");
|
|
2242
2242
|
n[p] = this.onHideTransitionEnd, this.transition({
|
|
2243
|
-
from:
|
|
2244
|
-
to:
|
|
2243
|
+
from: d.visibleStyle,
|
|
2244
|
+
to: d.hiddenStyle,
|
|
2245
2245
|
// keep hidden stuff hidden
|
|
2246
2246
|
isCleaning: !0,
|
|
2247
2247
|
onTransitionEnd: n
|
|
@@ -2268,15 +2268,15 @@ function Xn() {
|
|
|
2268
2268
|
* MIT license
|
|
2269
2269
|
*/
|
|
2270
2270
|
var Dt;
|
|
2271
|
-
function
|
|
2271
|
+
function er() {
|
|
2272
2272
|
return Dt || (Dt = 1, function(t) {
|
|
2273
2273
|
(function(e, o) {
|
|
2274
2274
|
t.exports ? t.exports = o(
|
|
2275
2275
|
e,
|
|
2276
2276
|
bt(),
|
|
2277
2277
|
kt(),
|
|
2278
|
-
|
|
2279
|
-
|
|
2278
|
+
Jn(),
|
|
2279
|
+
Zn()
|
|
2280
2280
|
) : e.Outlayer = o(
|
|
2281
2281
|
e,
|
|
2282
2282
|
e.EvEmitter,
|
|
@@ -2285,17 +2285,17 @@ function Jn() {
|
|
|
2285
2285
|
e.Outlayer.Item
|
|
2286
2286
|
);
|
|
2287
2287
|
})(window, function(o, i, s, r, f) {
|
|
2288
|
-
var
|
|
2288
|
+
var c = o.console, h = o.jQuery, u = function() {
|
|
2289
2289
|
}, v = 0, m = {};
|
|
2290
2290
|
function k(n, p) {
|
|
2291
2291
|
var _ = r.getQueryElement(n);
|
|
2292
2292
|
if (!_) {
|
|
2293
|
-
|
|
2293
|
+
c && c.error("Bad element for " + this.constructor.namespace + ": " + (_ || n));
|
|
2294
2294
|
return;
|
|
2295
2295
|
}
|
|
2296
2296
|
this.element = _, h && (this.$element = h(this.element)), this.options = r.extend({}, this.constructor.defaults), this.option(p);
|
|
2297
|
-
var
|
|
2298
|
-
this.element.outlayerGUID =
|
|
2297
|
+
var C = ++v;
|
|
2298
|
+
this.element.outlayerGUID = C, m[C] = this, this._create();
|
|
2299
2299
|
var I = this._getOption("initLayout");
|
|
2300
2300
|
I && this.layout();
|
|
2301
2301
|
}
|
|
@@ -2341,11 +2341,11 @@ function Jn() {
|
|
|
2341
2341
|
}, a.reloadItems = function() {
|
|
2342
2342
|
this.items = this._itemize(this.element.children);
|
|
2343
2343
|
}, a._itemize = function(n) {
|
|
2344
|
-
for (var p = this._filterFindItemElements(n), _ = this.constructor.Item,
|
|
2344
|
+
for (var p = this._filterFindItemElements(n), _ = this.constructor.Item, C = [], I = 0; I < p.length; I++) {
|
|
2345
2345
|
var R = p[I], O = new _(R, this);
|
|
2346
|
-
|
|
2346
|
+
C.push(O);
|
|
2347
2347
|
}
|
|
2348
|
-
return
|
|
2348
|
+
return C;
|
|
2349
2349
|
}, a._filterFindItemElements = function(n) {
|
|
2350
2350
|
return r.filterFindElements(n, this.options.itemSelector);
|
|
2351
2351
|
}, a.getItemElements = function() {
|
|
@@ -2361,8 +2361,8 @@ function Jn() {
|
|
|
2361
2361
|
}, a.getSize = function() {
|
|
2362
2362
|
this.size = s(this.element);
|
|
2363
2363
|
}, a._getMeasurement = function(n, p) {
|
|
2364
|
-
var _ = this.options[n],
|
|
2365
|
-
_ ? (typeof _ == "string" ?
|
|
2364
|
+
var _ = this.options[n], C;
|
|
2365
|
+
_ ? (typeof _ == "string" ? C = this.element.querySelector(_) : _ instanceof HTMLElement && (C = _), this[n] = C ? s(C)[p] : _) : this[n] = 0;
|
|
2366
2366
|
}, a.layoutItems = function(n, p) {
|
|
2367
2367
|
n = this._getItemsForLayout(n), this._layoutItems(n, p), this._postLayout();
|
|
2368
2368
|
}, a._getItemsForLayout = function(n) {
|
|
@@ -2372,9 +2372,9 @@ function Jn() {
|
|
|
2372
2372
|
}, a._layoutItems = function(n, p) {
|
|
2373
2373
|
if (this._emitCompleteOnItems("layout", n), !(!n || !n.length)) {
|
|
2374
2374
|
var _ = [];
|
|
2375
|
-
n.forEach(function(
|
|
2376
|
-
var I = this._getItemLayoutPosition(
|
|
2377
|
-
I.item =
|
|
2375
|
+
n.forEach(function(C) {
|
|
2376
|
+
var I = this._getItemLayoutPosition(C);
|
|
2377
|
+
I.item = C, I.isInstant = p || C.isLayoutInstant, _.push(I);
|
|
2378
2378
|
}, this), this._processLayoutQueue(_);
|
|
2379
2379
|
}
|
|
2380
2380
|
}, a._getItemLayoutPosition = function() {
|
|
@@ -2392,9 +2392,9 @@ function Jn() {
|
|
|
2392
2392
|
this.stagger = 0;
|
|
2393
2393
|
return;
|
|
2394
2394
|
}
|
|
2395
|
-
return this.stagger =
|
|
2396
|
-
}, a._positionItem = function(n, p, _,
|
|
2397
|
-
|
|
2395
|
+
return this.stagger = d(n), this.stagger;
|
|
2396
|
+
}, a._positionItem = function(n, p, _, C, I) {
|
|
2397
|
+
C ? n.goTo(p, _) : (n.stagger(I * this.stagger), n.moveTo(p, _));
|
|
2398
2398
|
}, a._postLayout = function() {
|
|
2399
2399
|
this.resizeContainer();
|
|
2400
2400
|
}, a.resizeContainer = function() {
|
|
@@ -2410,24 +2410,24 @@ function Jn() {
|
|
|
2410
2410
|
}
|
|
2411
2411
|
}, a._emitCompleteOnItems = function(n, p) {
|
|
2412
2412
|
var _ = this;
|
|
2413
|
-
function
|
|
2413
|
+
function C() {
|
|
2414
2414
|
_.dispatchEvent(n + "Complete", null, [p]);
|
|
2415
2415
|
}
|
|
2416
2416
|
var I = p.length;
|
|
2417
2417
|
if (!p || !I) {
|
|
2418
|
-
|
|
2418
|
+
C();
|
|
2419
2419
|
return;
|
|
2420
2420
|
}
|
|
2421
2421
|
var R = 0;
|
|
2422
2422
|
function O() {
|
|
2423
|
-
R++, R == I &&
|
|
2423
|
+
R++, R == I && C();
|
|
2424
2424
|
}
|
|
2425
2425
|
p.forEach(function(S) {
|
|
2426
2426
|
S.once(n, O);
|
|
2427
2427
|
});
|
|
2428
2428
|
}, a.dispatchEvent = function(n, p, _) {
|
|
2429
|
-
var
|
|
2430
|
-
if (this.emitEvent(n,
|
|
2429
|
+
var C = p ? [p].concat(_) : _;
|
|
2430
|
+
if (this.emitEvent(n, C), h)
|
|
2431
2431
|
if (this.$element = this.$element || h(this.element), p) {
|
|
2432
2432
|
var I = h.Event(p);
|
|
2433
2433
|
I.type = n, this.$element.trigger(I, _);
|
|
@@ -2459,11 +2459,11 @@ function Jn() {
|
|
|
2459
2459
|
bottom: n.bottom - (p.paddingBottom + p.borderBottomWidth)
|
|
2460
2460
|
};
|
|
2461
2461
|
}, a._manageStamp = u, a._getElementOffset = function(n) {
|
|
2462
|
-
var p = n.getBoundingClientRect(), _ = this._boundingRect,
|
|
2463
|
-
left: p.left - _.left -
|
|
2464
|
-
top: p.top - _.top -
|
|
2465
|
-
right: _.right - p.right -
|
|
2466
|
-
bottom: _.bottom - p.bottom -
|
|
2462
|
+
var p = n.getBoundingClientRect(), _ = this._boundingRect, C = s(n), I = {
|
|
2463
|
+
left: p.left - _.left - C.marginLeft,
|
|
2464
|
+
top: p.top - _.top - C.marginTop,
|
|
2465
|
+
right: _.right - p.right - C.marginRight,
|
|
2466
|
+
bottom: _.bottom - p.bottom - C.marginBottom
|
|
2467
2467
|
};
|
|
2468
2468
|
return I;
|
|
2469
2469
|
}, a.handleEvent = r.handleEvent, a.bindResize = function() {
|
|
@@ -2492,15 +2492,15 @@ function Jn() {
|
|
|
2492
2492
|
}, a.reveal = function(n) {
|
|
2493
2493
|
if (this._emitCompleteOnItems("reveal", n), !(!n || !n.length)) {
|
|
2494
2494
|
var p = this.updateStagger();
|
|
2495
|
-
n.forEach(function(_,
|
|
2496
|
-
_.stagger(
|
|
2495
|
+
n.forEach(function(_, C) {
|
|
2496
|
+
_.stagger(C * p), _.reveal();
|
|
2497
2497
|
});
|
|
2498
2498
|
}
|
|
2499
2499
|
}, a.hide = function(n) {
|
|
2500
2500
|
if (this._emitCompleteOnItems("hide", n), !(!n || !n.length)) {
|
|
2501
2501
|
var p = this.updateStagger();
|
|
2502
|
-
n.forEach(function(_,
|
|
2503
|
-
_.stagger(
|
|
2502
|
+
n.forEach(function(_, C) {
|
|
2503
|
+
_.stagger(C * p), _.hide();
|
|
2504
2504
|
});
|
|
2505
2505
|
}
|
|
2506
2506
|
}, a.revealItemElements = function(n) {
|
|
@@ -2519,8 +2519,8 @@ function Jn() {
|
|
|
2519
2519
|
n = r.makeArray(n);
|
|
2520
2520
|
var p = [];
|
|
2521
2521
|
return n.forEach(function(_) {
|
|
2522
|
-
var
|
|
2523
|
-
|
|
2522
|
+
var C = this.getItem(_);
|
|
2523
|
+
C && p.push(C);
|
|
2524
2524
|
}, this), p;
|
|
2525
2525
|
}, a.remove = function(n) {
|
|
2526
2526
|
var p = this.getItems(n);
|
|
@@ -2552,14 +2552,14 @@ function Jn() {
|
|
|
2552
2552
|
ms: 1,
|
|
2553
2553
|
s: 1e3
|
|
2554
2554
|
};
|
|
2555
|
-
function
|
|
2555
|
+
function d(n) {
|
|
2556
2556
|
if (typeof n == "number")
|
|
2557
2557
|
return n;
|
|
2558
|
-
var p = n.match(/(^\d*\.?\d*)(\w*)/), _ = p && p[1],
|
|
2558
|
+
var p = n.match(/(^\d*\.?\d*)(\w*)/), _ = p && p[1], C = p && p[2];
|
|
2559
2559
|
if (!_.length)
|
|
2560
2560
|
return 0;
|
|
2561
2561
|
_ = parseFloat(_);
|
|
2562
|
-
var I = b[
|
|
2562
|
+
var I = b[C] || 1;
|
|
2563
2563
|
return _ * I;
|
|
2564
2564
|
}
|
|
2565
2565
|
return k.Item = f, k;
|
|
@@ -2576,7 +2576,7 @@ function Jn() {
|
|
|
2576
2576
|
(function(t) {
|
|
2577
2577
|
(function(e, o) {
|
|
2578
2578
|
t.exports ? t.exports = o(
|
|
2579
|
-
|
|
2579
|
+
er(),
|
|
2580
2580
|
kt()
|
|
2581
2581
|
) : e.Masonry = o(
|
|
2582
2582
|
e.Outlayer,
|
|
@@ -2593,18 +2593,18 @@ function Jn() {
|
|
|
2593
2593
|
this.maxY = 0, this.horizontalColIndex = 0;
|
|
2594
2594
|
}, r.measureColumns = function() {
|
|
2595
2595
|
if (this.getContainerWidth(), !this.columnWidth) {
|
|
2596
|
-
var f = this.items[0],
|
|
2597
|
-
this.columnWidth =
|
|
2596
|
+
var f = this.items[0], c = f && f.element;
|
|
2597
|
+
this.columnWidth = c && i(c).outerWidth || // if first elem has no width, default to size of container
|
|
2598
2598
|
this.containerWidth;
|
|
2599
2599
|
}
|
|
2600
2600
|
var h = this.columnWidth += this.gutter, u = this.containerWidth + this.gutter, v = u / h, m = h - u % h, k = m && m < 1 ? "round" : "floor";
|
|
2601
2601
|
v = Math[k](v), this.cols = Math.max(v, 1);
|
|
2602
2602
|
}, r.getContainerWidth = function() {
|
|
2603
|
-
var f = this._getOption("fitWidth"),
|
|
2603
|
+
var f = this._getOption("fitWidth"), c = f ? this.element.parentNode : this.element, h = i(c);
|
|
2604
2604
|
this.containerWidth = h && h.innerWidth;
|
|
2605
2605
|
}, r._getItemLayoutPosition = function(f) {
|
|
2606
2606
|
f.getSize();
|
|
2607
|
-
var
|
|
2607
|
+
var c = f.size.outerWidth % this.columnWidth, h = c && c < 1 ? "round" : "ceil", u = Math[h](f.size.outerWidth / this.columnWidth);
|
|
2608
2608
|
u = Math.min(u, this.cols);
|
|
2609
2609
|
for (var v = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", m = this[v](u, f), k = {
|
|
2610
2610
|
x: this.columnWidth * m.col,
|
|
@@ -2613,37 +2613,37 @@ function Jn() {
|
|
|
2613
2613
|
this.colYs[b] = a;
|
|
2614
2614
|
return k;
|
|
2615
2615
|
}, r._getTopColPosition = function(f) {
|
|
2616
|
-
var
|
|
2616
|
+
var c = this._getTopColGroup(f), h = Math.min.apply(Math, c);
|
|
2617
2617
|
return {
|
|
2618
|
-
col:
|
|
2618
|
+
col: c.indexOf(h),
|
|
2619
2619
|
y: h
|
|
2620
2620
|
};
|
|
2621
2621
|
}, r._getTopColGroup = function(f) {
|
|
2622
2622
|
if (f < 2)
|
|
2623
2623
|
return this.colYs;
|
|
2624
|
-
for (var
|
|
2625
|
-
|
|
2626
|
-
return
|
|
2627
|
-
}, r._getColGroupY = function(f,
|
|
2628
|
-
if (
|
|
2624
|
+
for (var c = [], h = this.cols + 1 - f, u = 0; u < h; u++)
|
|
2625
|
+
c[u] = this._getColGroupY(u, f);
|
|
2626
|
+
return c;
|
|
2627
|
+
}, r._getColGroupY = function(f, c) {
|
|
2628
|
+
if (c < 2)
|
|
2629
2629
|
return this.colYs[f];
|
|
2630
|
-
var h = this.colYs.slice(f, f +
|
|
2630
|
+
var h = this.colYs.slice(f, f + c);
|
|
2631
2631
|
return Math.max.apply(Math, h);
|
|
2632
|
-
}, r._getHorizontalColPosition = function(f,
|
|
2632
|
+
}, r._getHorizontalColPosition = function(f, c) {
|
|
2633
2633
|
var h = this.horizontalColIndex % this.cols, u = f > 1 && h + f > this.cols;
|
|
2634
2634
|
h = u ? 0 : h;
|
|
2635
|
-
var v =
|
|
2635
|
+
var v = c.size.outerWidth && c.size.outerHeight;
|
|
2636
2636
|
return this.horizontalColIndex = v ? h + f : this.horizontalColIndex, {
|
|
2637
2637
|
col: h,
|
|
2638
2638
|
y: this._getColGroupY(h, f)
|
|
2639
2639
|
};
|
|
2640
2640
|
}, r._manageStamp = function(f) {
|
|
2641
|
-
var
|
|
2641
|
+
var c = i(f), h = this._getElementOffset(f), u = this._getOption("originLeft"), v = u ? h.left : h.right, m = v + c.outerWidth, k = Math.floor(v / this.columnWidth);
|
|
2642
2642
|
k = Math.max(0, k);
|
|
2643
2643
|
var a = Math.floor(m / this.columnWidth);
|
|
2644
2644
|
a -= m % this.columnWidth ? 0 : 1, a = Math.min(this.cols - 1, a);
|
|
2645
|
-
for (var y = this._getOption("originTop"), b = (y ? h.top : h.bottom) +
|
|
2646
|
-
this.colYs[
|
|
2645
|
+
for (var y = this._getOption("originTop"), b = (y ? h.top : h.bottom) + c.outerHeight, d = k; d <= a; d++)
|
|
2646
|
+
this.colYs[d] = Math.max(b, this.colYs[d]);
|
|
2647
2647
|
}, r._getContainerSize = function() {
|
|
2648
2648
|
this.maxY = Math.max.apply(Math, this.colYs);
|
|
2649
2649
|
var f = {
|
|
@@ -2651,7 +2651,7 @@ function Jn() {
|
|
|
2651
2651
|
};
|
|
2652
2652
|
return this._getOption("fitWidth") && (f.width = this._getContainerFitWidth()), f;
|
|
2653
2653
|
}, r._getContainerFitWidth = function() {
|
|
2654
|
-
for (var f = 0,
|
|
2654
|
+
for (var f = 0, c = this.cols; --c && this.colYs[c] === 0; )
|
|
2655
2655
|
f++;
|
|
2656
2656
|
return (this.cols - f) * this.columnWidth - this.gutter;
|
|
2657
2657
|
}, r.needsResizeLayout = function() {
|
|
@@ -2660,8 +2660,8 @@ function Jn() {
|
|
|
2660
2660
|
}, s;
|
|
2661
2661
|
});
|
|
2662
2662
|
})(io);
|
|
2663
|
-
var
|
|
2664
|
-
const Mt = /* @__PURE__ */ Jt(
|
|
2663
|
+
var tr = io.exports;
|
|
2664
|
+
const Mt = /* @__PURE__ */ Jt(tr);
|
|
2665
2665
|
var no = { exports: {} };
|
|
2666
2666
|
/*!
|
|
2667
2667
|
* imagesLoaded v4.1.4
|
|
@@ -2687,22 +2687,22 @@ var no = { exports: {} };
|
|
|
2687
2687
|
a[b] = y[b];
|
|
2688
2688
|
return a;
|
|
2689
2689
|
}
|
|
2690
|
-
var
|
|
2690
|
+
var c = Array.prototype.slice;
|
|
2691
2691
|
function h(a) {
|
|
2692
2692
|
if (Array.isArray(a))
|
|
2693
2693
|
return a;
|
|
2694
2694
|
var y = typeof a == "object" && typeof a.length == "number";
|
|
2695
|
-
return y ?
|
|
2695
|
+
return y ? c.call(a) : [a];
|
|
2696
2696
|
}
|
|
2697
2697
|
function u(a, y, b) {
|
|
2698
2698
|
if (!(this instanceof u))
|
|
2699
2699
|
return new u(a, y, b);
|
|
2700
|
-
var
|
|
2701
|
-
if (typeof a == "string" && (
|
|
2702
|
-
r.error("Bad element for imagesLoaded " + (
|
|
2700
|
+
var d = a;
|
|
2701
|
+
if (typeof a == "string" && (d = document.querySelectorAll(a)), !d) {
|
|
2702
|
+
r.error("Bad element for imagesLoaded " + (d || a));
|
|
2703
2703
|
return;
|
|
2704
2704
|
}
|
|
2705
|
-
this.elements = h(
|
|
2705
|
+
this.elements = h(d), this.options = f({}, this.options), typeof y == "function" ? b = y : f(this.options, y), b && this.on("always", b), this.getImages(), s && (this.jqDeferred = new s.Deferred()), setTimeout(this.check.bind(this));
|
|
2706
2706
|
}
|
|
2707
2707
|
u.prototype = Object.create(i.prototype), u.prototype.options = {}, u.prototype.getImages = function() {
|
|
2708
2708
|
this.images = [], this.elements.forEach(this.addElementImages, this);
|
|
@@ -2710,14 +2710,14 @@ var no = { exports: {} };
|
|
|
2710
2710
|
a.nodeName == "IMG" && this.addImage(a), this.options.background === !0 && this.addElementBackgroundImages(a);
|
|
2711
2711
|
var y = a.nodeType;
|
|
2712
2712
|
if (!(!y || !v[y])) {
|
|
2713
|
-
for (var b = a.querySelectorAll("img"),
|
|
2714
|
-
var n = b[
|
|
2713
|
+
for (var b = a.querySelectorAll("img"), d = 0; d < b.length; d++) {
|
|
2714
|
+
var n = b[d];
|
|
2715
2715
|
this.addImage(n);
|
|
2716
2716
|
}
|
|
2717
2717
|
if (typeof this.options.background == "string") {
|
|
2718
2718
|
var p = a.querySelectorAll(this.options.background);
|
|
2719
|
-
for (
|
|
2720
|
-
var _ = p[
|
|
2719
|
+
for (d = 0; d < p.length; d++) {
|
|
2720
|
+
var _ = p[d];
|
|
2721
2721
|
this.addElementBackgroundImages(_);
|
|
2722
2722
|
}
|
|
2723
2723
|
}
|
|
@@ -2731,9 +2731,9 @@ var no = { exports: {} };
|
|
|
2731
2731
|
u.prototype.addElementBackgroundImages = function(a) {
|
|
2732
2732
|
var y = getComputedStyle(a);
|
|
2733
2733
|
if (y)
|
|
2734
|
-
for (var b = /url\((['"])?(.*?)\1\)/gi,
|
|
2735
|
-
var n =
|
|
2736
|
-
n && this.addBackground(n, a),
|
|
2734
|
+
for (var b = /url\((['"])?(.*?)\1\)/gi, d = b.exec(y.backgroundImage); d !== null; ) {
|
|
2735
|
+
var n = d && d[2];
|
|
2736
|
+
n && this.addBackground(n, a), d = b.exec(y.backgroundImage);
|
|
2737
2737
|
}
|
|
2738
2738
|
}, u.prototype.addImage = function(a) {
|
|
2739
2739
|
var y = new m(a);
|
|
@@ -2747,9 +2747,9 @@ var no = { exports: {} };
|
|
|
2747
2747
|
this.complete();
|
|
2748
2748
|
return;
|
|
2749
2749
|
}
|
|
2750
|
-
function y(b,
|
|
2750
|
+
function y(b, d, n) {
|
|
2751
2751
|
setTimeout(function() {
|
|
2752
|
-
a.progress(b,
|
|
2752
|
+
a.progress(b, d, n);
|
|
2753
2753
|
});
|
|
2754
2754
|
}
|
|
2755
2755
|
this.images.forEach(function(b) {
|
|
@@ -2801,16 +2801,16 @@ var no = { exports: {} };
|
|
|
2801
2801
|
this.isLoaded = a, this.emitEvent("progress", [this, this.element, y]);
|
|
2802
2802
|
}, u.makeJQueryPlugin = function(a) {
|
|
2803
2803
|
a = a || o.jQuery, a && (s = a, s.fn.imagesLoaded = function(y, b) {
|
|
2804
|
-
var
|
|
2805
|
-
return
|
|
2804
|
+
var d = new u(this, y, b);
|
|
2805
|
+
return d.jqDeferred.promise(s(this));
|
|
2806
2806
|
});
|
|
2807
2807
|
}, u.makeJQueryPlugin(), u;
|
|
2808
2808
|
}
|
|
2809
2809
|
);
|
|
2810
2810
|
})(no);
|
|
2811
|
-
var
|
|
2812
|
-
const
|
|
2813
|
-
function
|
|
2811
|
+
var or = no.exports;
|
|
2812
|
+
const ir = /* @__PURE__ */ Jt(or);
|
|
2813
|
+
function nr(t) {
|
|
2814
2814
|
return { all: t = t || /* @__PURE__ */ new Map(), on: function(e, o) {
|
|
2815
2815
|
var i = t.get(e);
|
|
2816
2816
|
i ? i.push(o) : t.set(e, [o]);
|
|
@@ -2839,24 +2839,24 @@ const ze = {
|
|
|
2839
2839
|
"horizontal-order": "horizontalOrder",
|
|
2840
2840
|
stagger: "stagger",
|
|
2841
2841
|
"destroy-delay": "destroyDelay"
|
|
2842
|
-
}, Fe = "vuemasonry.itemAdded", ut = "vuemasonry.itemRemoved",
|
|
2842
|
+
}, Fe = "vuemasonry.itemAdded", ut = "vuemasonry.itemRemoved", ct = "vuemasonry.imageLoaded", dt = "vuemasonry.destroy", rr = function(t) {
|
|
2843
2843
|
return (t + "").toLowerCase() === "true";
|
|
2844
|
-
},
|
|
2844
|
+
}, sr = function(t) {
|
|
2845
2845
|
return isNaN(t) ? t : parseInt(t);
|
|
2846
|
-
},
|
|
2846
|
+
}, ar = function(t) {
|
|
2847
2847
|
const e = {};
|
|
2848
2848
|
return Array.prototype.slice.call(t).forEach(function(i) {
|
|
2849
|
-
Object.keys(ze).indexOf(i.name) > -1 && (i.name.indexOf("origin") > -1 ? e[ze[i.name]] =
|
|
2849
|
+
Object.keys(ze).indexOf(i.name) > -1 && (i.name.indexOf("origin") > -1 ? e[ze[i.name]] = rr(i.value) : i.name === "column-width" || i.name === "gutter" ? e[ze[i.name]] = sr(i.value) : e[ze[i.name]] = i.value);
|
|
2850
2850
|
}), e;
|
|
2851
2851
|
}, ro = {};
|
|
2852
2852
|
ro.install = function(t, e) {
|
|
2853
|
-
const o =
|
|
2853
|
+
const o = nr(), i = "VueMasonry", s = t;
|
|
2854
2854
|
s.directive("masonry", {
|
|
2855
2855
|
props: ["transitionDuration", " itemSelector", "destroyDelay"],
|
|
2856
2856
|
mounted: function(r, f) {
|
|
2857
2857
|
if (!Mt)
|
|
2858
2858
|
throw new Error("Masonry plugin is not defined. Please check it's connected and parsed correctly.");
|
|
2859
|
-
const
|
|
2859
|
+
const c = ar(r.attributes), h = new Mt(r, c), u = f.value || i, v = c.destroyDelay ? parseInt(c.destroyDelay, 10) : void 0, m = function() {
|
|
2860
2860
|
h.reloadItems(), h.layout();
|
|
2861
2861
|
};
|
|
2862
2862
|
Kt(() => {
|
|
@@ -2865,40 +2865,40 @@ ro.install = function(t, e) {
|
|
|
2865
2865
|
const k = function(y) {
|
|
2866
2866
|
m();
|
|
2867
2867
|
}, a = function(y) {
|
|
2868
|
-
o["off"](`${Fe}__${u}`, k), o["off"](`${ut}__${u}`, k), o["off"](`${
|
|
2868
|
+
o["off"](`${Fe}__${u}`, k), o["off"](`${ut}__${u}`, k), o["off"](`${ct}__${u}`, k), o["off"](`${dt}__${u}`, a);
|
|
2869
2869
|
const b = v && !Number.isNaN(v) ? v : 0;
|
|
2870
2870
|
setTimeout(function() {
|
|
2871
2871
|
h.destroy();
|
|
2872
2872
|
}, b);
|
|
2873
2873
|
};
|
|
2874
|
-
o["on"](`${Fe}__${u}`, k), o["on"](`${ut}__${u}`, k), o["on"](`${
|
|
2874
|
+
o["on"](`${Fe}__${u}`, k), o["on"](`${ut}__${u}`, k), o["on"](`${ct}__${u}`, k), o["on"](`${dt}__${u}`, a);
|
|
2875
2875
|
},
|
|
2876
2876
|
unbind: function(r, f) {
|
|
2877
|
-
const
|
|
2878
|
-
o["emit"](`${
|
|
2877
|
+
const c = f.value || i;
|
|
2878
|
+
o["emit"](`${dt}__${c}`);
|
|
2879
2879
|
}
|
|
2880
2880
|
}), s.directive("masonryTile", {
|
|
2881
2881
|
mounted: function(r, f) {
|
|
2882
|
-
const
|
|
2883
|
-
o["emit"](`${Fe}__${
|
|
2882
|
+
const c = f.value || i;
|
|
2883
|
+
o["emit"](`${Fe}__${c}`, {
|
|
2884
2884
|
element: r
|
|
2885
|
-
}), new
|
|
2886
|
-
o["emit"](`${
|
|
2885
|
+
}), new ir(r, function() {
|
|
2886
|
+
o["emit"](`${ct}__${c}`, {
|
|
2887
2887
|
element: r
|
|
2888
2888
|
});
|
|
2889
2889
|
});
|
|
2890
2890
|
},
|
|
2891
2891
|
unbind: function(r, f) {
|
|
2892
|
-
const
|
|
2893
|
-
o["emit"](`${ut}__${
|
|
2892
|
+
const c = f.value || i;
|
|
2893
|
+
o["emit"](`${ut}__${c}`, {
|
|
2894
2894
|
element: r
|
|
2895
2895
|
});
|
|
2896
2896
|
}
|
|
2897
2897
|
});
|
|
2898
2898
|
{
|
|
2899
2899
|
const r = function(f) {
|
|
2900
|
-
const
|
|
2901
|
-
o["emit"](`${Fe}__${
|
|
2900
|
+
const c = f || i;
|
|
2901
|
+
o["emit"](`${Fe}__${c}`);
|
|
2902
2902
|
};
|
|
2903
2903
|
t.config.globalProperties.$redrawVueMasonry = r, t.provide("redrawVueMasonry", r);
|
|
2904
2904
|
}
|
|
@@ -2910,15 +2910,15 @@ function vt(t, e = {}, o) {
|
|
|
2910
2910
|
}
|
|
2911
2911
|
return e;
|
|
2912
2912
|
}
|
|
2913
|
-
const
|
|
2914
|
-
function
|
|
2913
|
+
const lr = { run: (t) => t() }, ur = () => lr, so = typeof console.createTask < "u" ? console.createTask : ur;
|
|
2914
|
+
function cr(t, e) {
|
|
2915
2915
|
const o = e.shift(), i = so(o);
|
|
2916
2916
|
return t.reduce(
|
|
2917
2917
|
(s, r) => s.then(() => i.run(() => r(...e))),
|
|
2918
2918
|
Promise.resolve()
|
|
2919
2919
|
);
|
|
2920
2920
|
}
|
|
2921
|
-
function
|
|
2921
|
+
function dr(t, e) {
|
|
2922
2922
|
const o = e.shift(), i = so(o);
|
|
2923
2923
|
return Promise.all(t.map((s) => i.run(() => s(...e))));
|
|
2924
2924
|
}
|
|
@@ -2926,7 +2926,7 @@ function ft(t, e) {
|
|
|
2926
2926
|
for (const o of [...t])
|
|
2927
2927
|
o(e);
|
|
2928
2928
|
}
|
|
2929
|
-
class
|
|
2929
|
+
class fr {
|
|
2930
2930
|
constructor() {
|
|
2931
2931
|
this._hooks = {}, this._before = void 0, this._after = void 0, this._deprecatedMessages = void 0, this._deprecatedHooks = {}, this.hook = this.hook.bind(this), this.callHook = this.callHook.bind(this), this.callHookWith = this.callHookWith.bind(this);
|
|
2932
2932
|
}
|
|
@@ -2995,10 +2995,10 @@ class dr {
|
|
|
2995
2995
|
delete this._hooks[e];
|
|
2996
2996
|
}
|
|
2997
2997
|
callHook(e, ...o) {
|
|
2998
|
-
return o.unshift(e), this.callHookWith(
|
|
2998
|
+
return o.unshift(e), this.callHookWith(cr, e, ...o);
|
|
2999
2999
|
}
|
|
3000
3000
|
callHookParallel(e, ...o) {
|
|
3001
|
-
return o.unshift(e), this.callHookWith(
|
|
3001
|
+
return o.unshift(e), this.callHookWith(dr, e, ...o);
|
|
3002
3002
|
}
|
|
3003
3003
|
callHookWith(e, o, ...i) {
|
|
3004
3004
|
const s = this._before || this._after ? { name: o, args: i, context: {} } : void 0;
|
|
@@ -3028,20 +3028,20 @@ class dr {
|
|
|
3028
3028
|
};
|
|
3029
3029
|
}
|
|
3030
3030
|
}
|
|
3031
|
-
function
|
|
3032
|
-
return new
|
|
3031
|
+
function pr() {
|
|
3032
|
+
return new fr();
|
|
3033
3033
|
}
|
|
3034
|
-
function
|
|
3034
|
+
function hr(t) {
|
|
3035
3035
|
return Array.isArray(t) ? t : [t];
|
|
3036
3036
|
}
|
|
3037
|
-
const
|
|
3037
|
+
const mr = ["title", "titleTemplate", "script", "style", "noscript"], Ue = [
|
|
3038
3038
|
"base",
|
|
3039
3039
|
"meta",
|
|
3040
3040
|
"link",
|
|
3041
3041
|
"style",
|
|
3042
3042
|
"script",
|
|
3043
3043
|
"noscript"
|
|
3044
|
-
],
|
|
3044
|
+
], vr = [
|
|
3045
3045
|
"title",
|
|
3046
3046
|
"titleTemplate",
|
|
3047
3047
|
"templateParams",
|
|
@@ -3053,19 +3053,19 @@ const pr = ["title", "titleTemplate", "script", "style", "noscript"], Ue = [
|
|
|
3053
3053
|
"style",
|
|
3054
3054
|
"script",
|
|
3055
3055
|
"noscript"
|
|
3056
|
-
],
|
|
3056
|
+
], gr = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], ao = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], yr = typeof window < "u";
|
|
3057
3057
|
function Et(t) {
|
|
3058
3058
|
let e = 9;
|
|
3059
3059
|
for (let o = 0; o < t.length; )
|
|
3060
3060
|
e = Math.imul(e ^ t.charCodeAt(o++), 9 ** 9);
|
|
3061
3061
|
return ((e ^ e >>> 9) + 65536).toString(16).substring(1, 8).toLowerCase();
|
|
3062
3062
|
}
|
|
3063
|
-
function
|
|
3063
|
+
function xt(t) {
|
|
3064
3064
|
return t._h || Et(t._d ? t._d : `${t.tag}:${t.textContent || t.innerHTML || ""}:${Object.entries(t.props).map(([e, o]) => `${e}:${String(o)}`).join(",")}`);
|
|
3065
3065
|
}
|
|
3066
3066
|
function lo(t, e) {
|
|
3067
3067
|
const { props: o, tag: i } = t;
|
|
3068
|
-
if (
|
|
3068
|
+
if (gr.includes(i))
|
|
3069
3069
|
return i;
|
|
3070
3070
|
if (i === "link" && o.rel === "canonical")
|
|
3071
3071
|
return "canonical";
|
|
@@ -3080,10 +3080,10 @@ function lo(t, e) {
|
|
|
3080
3080
|
}
|
|
3081
3081
|
return !1;
|
|
3082
3082
|
}
|
|
3083
|
-
function
|
|
3083
|
+
function Bt(t, e) {
|
|
3084
3084
|
return t == null ? e || null : typeof t == "function" ? t(e) : t;
|
|
3085
3085
|
}
|
|
3086
|
-
async function
|
|
3086
|
+
async function _r(t, e, o) {
|
|
3087
3087
|
const i = {
|
|
3088
3088
|
tag: t,
|
|
3089
3089
|
props: await uo(
|
|
@@ -3095,16 +3095,16 @@ async function gr(t, e, o) {
|
|
|
3095
3095
|
};
|
|
3096
3096
|
return ao.forEach((s) => {
|
|
3097
3097
|
const r = typeof i.props[s] < "u" ? i.props[s] : o[s];
|
|
3098
|
-
typeof r < "u" && ((!["innerHTML", "textContent", "children"].includes(s) ||
|
|
3098
|
+
typeof r < "u" && ((!["innerHTML", "textContent", "children"].includes(s) || mr.includes(i.tag)) && (i[s === "children" ? "innerHTML" : s] = r), delete i.props[s]);
|
|
3099
3099
|
}), i.props.body && (i.tagPosition = "bodyClose", delete i.props.body), i.tag === "script" && typeof i.innerHTML == "object" && (i.innerHTML = JSON.stringify(i.innerHTML), i.props.type = i.props.type || "application/json"), Array.isArray(i.props.content) ? i.props.content.map((s) => ({ ...i, props: { ...i.props, content: s } })) : i;
|
|
3100
3100
|
}
|
|
3101
|
-
function
|
|
3101
|
+
function br(t) {
|
|
3102
3102
|
return typeof t == "object" && !Array.isArray(t) && (t = Object.keys(t).filter((e) => t[e])), (Array.isArray(t) ? t.join(" ") : t).split(" ").filter((e) => e.trim()).filter(Boolean).join(" ");
|
|
3103
3103
|
}
|
|
3104
3104
|
async function uo(t, e) {
|
|
3105
3105
|
for (const o of Object.keys(t)) {
|
|
3106
3106
|
if (o === "class") {
|
|
3107
|
-
t[o] =
|
|
3107
|
+
t[o] = br(t[o]);
|
|
3108
3108
|
continue;
|
|
3109
3109
|
}
|
|
3110
3110
|
if (t[o] instanceof Promise && (t[o] = await t[o]), !e && !ao.includes(o)) {
|
|
@@ -3114,15 +3114,15 @@ async function uo(t, e) {
|
|
|
3114
3114
|
}
|
|
3115
3115
|
return t;
|
|
3116
3116
|
}
|
|
3117
|
-
const
|
|
3118
|
-
async function
|
|
3117
|
+
const kr = 10;
|
|
3118
|
+
async function Er(t) {
|
|
3119
3119
|
const e = [];
|
|
3120
|
-
return Object.entries(t.resolvedInput).filter(([o, i]) => typeof i < "u" &&
|
|
3121
|
-
const s =
|
|
3122
|
-
e.push(...s.map((r) =>
|
|
3123
|
-
}), (await Promise.all(e)).flat().filter(Boolean).map((o, i) => (o._e = t._i, t.mode && (o._m = t.mode), o._p = (t._i <<
|
|
3120
|
+
return Object.entries(t.resolvedInput).filter(([o, i]) => typeof i < "u" && vr.includes(o)).forEach(([o, i]) => {
|
|
3121
|
+
const s = hr(i);
|
|
3122
|
+
e.push(...s.map((r) => _r(o, r, t)).flat());
|
|
3123
|
+
}), (await Promise.all(e)).flat().filter(Boolean).map((o, i) => (o._e = t._i, t.mode && (o._m = t.mode), o._p = (t._i << kr) + i, o));
|
|
3124
3124
|
}
|
|
3125
|
-
const
|
|
3125
|
+
const Wt = {
|
|
3126
3126
|
// tags
|
|
3127
3127
|
base: -10,
|
|
3128
3128
|
title: 10
|
|
@@ -3135,15 +3135,15 @@ const xt = {
|
|
|
3135
3135
|
function Ye(t) {
|
|
3136
3136
|
let e = 100;
|
|
3137
3137
|
const o = t.tagPriority;
|
|
3138
|
-
return typeof o == "number" ? o : (t.tag === "meta" ? (t.props["http-equiv"] === "content-security-policy" && (e = -30), t.props.charset && (e = -20), t.props.name === "viewport" && (e = -15)) : t.tag === "link" && t.props.rel === "preconnect" ? e = 20 : t.tag in
|
|
3138
|
+
return typeof o == "number" ? o : (t.tag === "meta" ? (t.props["http-equiv"] === "content-security-policy" && (e = -30), t.props.charset && (e = -20), t.props.name === "viewport" && (e = -15)) : t.tag === "link" && t.props.rel === "preconnect" ? e = 20 : t.tag in Wt && (e = Wt[t.tag]), typeof o == "string" && o in zt ? e + zt[o] : e);
|
|
3139
3139
|
}
|
|
3140
|
-
const
|
|
3140
|
+
const Tr = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], co = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], ae = "%separator";
|
|
3141
3141
|
function qe(t, e, o) {
|
|
3142
3142
|
if (typeof t != "string" || !t.includes("%"))
|
|
3143
3143
|
return t;
|
|
3144
3144
|
function i(f) {
|
|
3145
|
-
let
|
|
3146
|
-
return ["s", "pageTitle"].includes(f) ?
|
|
3145
|
+
let c;
|
|
3146
|
+
return ["s", "pageTitle"].includes(f) ? c = e.pageTitle : f.includes(".") ? c = f.split(".").reduce((h, u) => h && h[u] || void 0, e) : c = e[f], typeof c < "u" ? (c || "").replace(/"/g, '\\"') : !1;
|
|
3147
3147
|
}
|
|
3148
3148
|
let s = t;
|
|
3149
3149
|
try {
|
|
@@ -3151,11 +3151,11 @@ function qe(t, e, o) {
|
|
|
3151
3151
|
} catch {
|
|
3152
3152
|
}
|
|
3153
3153
|
return (s.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((f) => {
|
|
3154
|
-
const
|
|
3155
|
-
typeof
|
|
3154
|
+
const c = i(f.slice(1));
|
|
3155
|
+
typeof c == "string" && (t = t.replace(new RegExp(`\\${f}(\\W|$)`, "g"), (h, u) => `${c}${u}`).trim());
|
|
3156
3156
|
}), t.includes(ae) && (t.endsWith(ae) && (t = t.slice(0, -ae.length).trim()), t.startsWith(ae) && (t = t.slice(ae.length).trim()), t = t.replace(new RegExp(`\\${ae}\\s*\\${ae}`, "g"), ae), t = qe(t, { separator: o }, o)), t;
|
|
3157
3157
|
}
|
|
3158
|
-
async function
|
|
3158
|
+
async function Cr(t) {
|
|
3159
3159
|
const e = {
|
|
3160
3160
|
tag: t.tagName.toLowerCase(),
|
|
3161
3161
|
props: await uo(
|
|
@@ -3165,7 +3165,7 @@ async function Er(t) {
|
|
|
3165
3165
|
};
|
|
3166
3166
|
return e._d = lo(e), e;
|
|
3167
3167
|
}
|
|
3168
|
-
async function
|
|
3168
|
+
async function $r(t, e = {}) {
|
|
3169
3169
|
const o = e.document || t.resolvedOptions.document;
|
|
3170
3170
|
if (!o)
|
|
3171
3171
|
return;
|
|
@@ -3174,7 +3174,7 @@ async function Tr(t, e = {}) {
|
|
|
3174
3174
|
return;
|
|
3175
3175
|
const s = (await t.resolveTags()).map((v) => ({
|
|
3176
3176
|
tag: v,
|
|
3177
|
-
id: Ue.includes(v.tag) ?
|
|
3177
|
+
id: Ue.includes(v.tag) ? xt(v) : v.tag,
|
|
3178
3178
|
shouldRender: !0
|
|
3179
3179
|
}));
|
|
3180
3180
|
let r = t._dom;
|
|
@@ -3185,7 +3185,7 @@ async function Tr(t, e = {}) {
|
|
|
3185
3185
|
for (const v of ["body", "head"]) {
|
|
3186
3186
|
const m = o?.[v]?.children;
|
|
3187
3187
|
for (const k of [...m].filter((a) => Ue.includes(a.tagName.toLowerCase())))
|
|
3188
|
-
r.elMap[k.getAttribute("data-hid") ||
|
|
3188
|
+
r.elMap[k.getAttribute("data-hid") || xt(await Cr(k))] = k;
|
|
3189
3189
|
}
|
|
3190
3190
|
}
|
|
3191
3191
|
r.pendingSideEffects = { ...r.sideEffects || {} }, r.sideEffects = {};
|
|
@@ -3193,19 +3193,19 @@ async function Tr(t, e = {}) {
|
|
|
3193
3193
|
const a = `${v}:${m}`;
|
|
3194
3194
|
r.sideEffects[a] = k, delete r.pendingSideEffects[a];
|
|
3195
3195
|
}
|
|
3196
|
-
function
|
|
3196
|
+
function c({ id: v, $el: m, tag: k }) {
|
|
3197
3197
|
const a = k.tag.endsWith("Attrs");
|
|
3198
3198
|
r.elMap[v] = m, a || (["textContent", "innerHTML"].forEach((y) => {
|
|
3199
3199
|
k[y] && k[y] !== m[y] && (m[y] = k[y]);
|
|
3200
3200
|
}), f(v, "el", () => {
|
|
3201
3201
|
r.elMap[v].remove(), delete r.elMap[v];
|
|
3202
3202
|
})), Object.entries(k.props).forEach(([y, b]) => {
|
|
3203
|
-
const
|
|
3203
|
+
const d = `attr:${y}`;
|
|
3204
3204
|
if (y === "class")
|
|
3205
3205
|
for (const n of (b || "").split(" ").filter(Boolean))
|
|
3206
|
-
a && f(v, `${
|
|
3206
|
+
a && f(v, `${d}:${n}`, () => m.classList.remove(n)), !m.classList.contains(n) && m.classList.add(n);
|
|
3207
3207
|
else
|
|
3208
|
-
m.getAttribute(y) !== b && m.setAttribute(y, b === !0 ? "" : String(b)), a && f(v,
|
|
3208
|
+
m.getAttribute(y) !== b && m.setAttribute(y, b === !0 ? "" : String(b)), a && f(v, d, () => m.removeAttribute(y));
|
|
3209
3209
|
});
|
|
3210
3210
|
}
|
|
3211
3211
|
const h = [], u = {
|
|
@@ -3220,38 +3220,38 @@ async function Tr(t, e = {}) {
|
|
|
3220
3220
|
o.title = m.textContent;
|
|
3221
3221
|
continue;
|
|
3222
3222
|
}
|
|
3223
|
-
v.$el = v.$el || r.elMap[a], v.$el ?
|
|
3223
|
+
v.$el = v.$el || r.elMap[a], v.$el ? c(v) : Ue.includes(m.tag) && h.push(v);
|
|
3224
3224
|
}
|
|
3225
3225
|
}
|
|
3226
3226
|
for (const v of h) {
|
|
3227
3227
|
const m = v.tag.tagPosition || "head";
|
|
3228
|
-
v.$el = o.createElement(v.tag.tag),
|
|
3228
|
+
v.$el = o.createElement(v.tag.tag), c(v), u[m] = u[m] || o.createDocumentFragment(), u[m].appendChild(v.$el);
|
|
3229
3229
|
}
|
|
3230
3230
|
for (const v of s)
|
|
3231
3231
|
await t.hooks.callHook("dom:renderTag", v, o, f);
|
|
3232
3232
|
u.head && o.head.appendChild(u.head), u.bodyOpen && o.body.insertBefore(u.bodyOpen, o.body.firstChild), u.bodyClose && o.body.appendChild(u.bodyClose), Object.values(r.pendingSideEffects).forEach((v) => v()), t._dom = r, t.dirty = !1, await t.hooks.callHook("dom:rendered", { renders: s });
|
|
3233
3233
|
}
|
|
3234
|
-
async function
|
|
3234
|
+
async function Ir(t, e = {}) {
|
|
3235
3235
|
const o = e.delayFn || ((i) => setTimeout(i, 10));
|
|
3236
3236
|
return t._domUpdatePromise = t._domUpdatePromise || new Promise((i) => o(async () => {
|
|
3237
|
-
await
|
|
3237
|
+
await $r(t, e), delete t._domUpdatePromise, i();
|
|
3238
3238
|
}));
|
|
3239
3239
|
}
|
|
3240
3240
|
// @__NO_SIDE_EFFECTS__
|
|
3241
|
-
function
|
|
3241
|
+
function Sr(t) {
|
|
3242
3242
|
return (e) => {
|
|
3243
3243
|
const o = e.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
|
|
3244
3244
|
return o && e.push(JSON.parse(o)), {
|
|
3245
3245
|
mode: "client",
|
|
3246
3246
|
hooks: {
|
|
3247
3247
|
"entries:updated": function(i) {
|
|
3248
|
-
|
|
3248
|
+
Ir(i, t);
|
|
3249
3249
|
}
|
|
3250
3250
|
}
|
|
3251
3251
|
};
|
|
3252
3252
|
};
|
|
3253
3253
|
}
|
|
3254
|
-
const
|
|
3254
|
+
const Lr = ["templateParams", "htmlAttrs", "bodyAttrs"], Ar = {
|
|
3255
3255
|
hooks: {
|
|
3256
3256
|
"tag:normalise": function({ tag: t }) {
|
|
3257
3257
|
["hid", "vmid", "key"].forEach((i) => {
|
|
@@ -3265,8 +3265,8 @@ const Ir = ["templateParams", "htmlAttrs", "bodyAttrs"], Sr = {
|
|
|
3265
3265
|
t.tags.forEach((i) => {
|
|
3266
3266
|
const s = (i.key ? `${i.tag}:${i.key}` : i._d) || i._p, r = e[s];
|
|
3267
3267
|
if (r) {
|
|
3268
|
-
let
|
|
3269
|
-
if (!
|
|
3268
|
+
let c = i?.tagDuplicateStrategy;
|
|
3269
|
+
if (!c && Lr.includes(i.tag) && (c = "merge"), c === "merge") {
|
|
3270
3270
|
const h = r.props;
|
|
3271
3271
|
["class", "style"].forEach((u) => {
|
|
3272
3272
|
i.props[u] && h[u] && (u === "style" && !h[u].endsWith(";") && (h[u] += ";"), i.props[u] = `${h[u]} ${i.props[u]}`);
|
|
@@ -3295,7 +3295,7 @@ const Ir = ["templateParams", "htmlAttrs", "bodyAttrs"], Sr = {
|
|
|
3295
3295
|
}), t.tags = o, t.tags = t.tags.filter((i) => !(i.tag === "meta" && (i.props.name || i.props.property) && !i.props.content));
|
|
3296
3296
|
}
|
|
3297
3297
|
}
|
|
3298
|
-
},
|
|
3298
|
+
}, Or = {
|
|
3299
3299
|
mode: "server",
|
|
3300
3300
|
hooks: {
|
|
3301
3301
|
"tags:resolve": function(t) {
|
|
@@ -3309,19 +3309,19 @@ const Ir = ["templateParams", "htmlAttrs", "bodyAttrs"], Sr = {
|
|
|
3309
3309
|
});
|
|
3310
3310
|
}
|
|
3311
3311
|
}
|
|
3312
|
-
},
|
|
3313
|
-
function
|
|
3312
|
+
}, Hr = ["script", "link", "bodyAttrs"];
|
|
3313
|
+
function Pr(t) {
|
|
3314
3314
|
const e = {}, o = {};
|
|
3315
3315
|
return Object.entries(t.props).forEach(([i, s]) => {
|
|
3316
3316
|
i.startsWith("on") && typeof s == "function" ? (co.includes(i) && (e[i] = `this.dataset.${i} = true`), o[i] = s) : e[i] = s;
|
|
3317
3317
|
}), { props: e, eventHandlers: o };
|
|
3318
3318
|
}
|
|
3319
|
-
const
|
|
3319
|
+
const wr = (t) => ({
|
|
3320
3320
|
hooks: {
|
|
3321
3321
|
"tags:resolve": function(e) {
|
|
3322
3322
|
for (const o of e.tags)
|
|
3323
|
-
if (
|
|
3324
|
-
const { props: i, eventHandlers: s } =
|
|
3323
|
+
if (Hr.includes(o.tag)) {
|
|
3324
|
+
const { props: i, eventHandlers: s } = Pr(o);
|
|
3325
3325
|
o.props = i, Object.keys(s).length && ((o.props.src || o.props.href) && (o.key = o.key || Et(o.props.src || o.props.href)), o._eventHandlers = s);
|
|
3326
3326
|
}
|
|
3327
3327
|
},
|
|
@@ -3330,8 +3330,8 @@ const Hr = (t) => ({
|
|
|
3330
3330
|
return;
|
|
3331
3331
|
const s = e.tag.tag === "bodyAttrs" ? o.defaultView : e.$el;
|
|
3332
3332
|
Object.entries(e.tag._eventHandlers).forEach(([r, f]) => {
|
|
3333
|
-
const
|
|
3334
|
-
if (i(e.id,
|
|
3333
|
+
const c = `${e.tag._d || e.tag._p}:${r}`, h = r.slice(2).toLowerCase(), u = `data-h-${h}`;
|
|
3334
|
+
if (i(e.id, c, () => {
|
|
3335
3335
|
}), e.$el.hasAttribute(u))
|
|
3336
3336
|
return;
|
|
3337
3337
|
e.$el.setAttribute(u, "");
|
|
@@ -3343,23 +3343,23 @@ const Hr = (t) => ({
|
|
|
3343
3343
|
k.some((y) => y.attributeName === `data-${r}`) && (m(new Event(r.replace("on", ""))), v?.disconnect());
|
|
3344
3344
|
}), v.observe(e.$el, {
|
|
3345
3345
|
attributes: !0
|
|
3346
|
-
})) : s.addEventListener(h, m), i(e.id,
|
|
3346
|
+
})) : s.addEventListener(h, m), i(e.id, c, () => {
|
|
3347
3347
|
v?.disconnect(), s.removeEventListener(h, m), e.$el.removeAttribute(u);
|
|
3348
3348
|
});
|
|
3349
3349
|
});
|
|
3350
3350
|
}
|
|
3351
3351
|
}
|
|
3352
|
-
}),
|
|
3352
|
+
}), Vr = ["link", "style", "script", "noscript"], Rr = {
|
|
3353
3353
|
hooks: {
|
|
3354
3354
|
"tag:normalise": ({ tag: t }) => {
|
|
3355
|
-
t.key &&
|
|
3355
|
+
t.key && Vr.includes(t.tag) && (t.props["data-hid"] = t._h = Et(t.key));
|
|
3356
3356
|
}
|
|
3357
3357
|
}
|
|
3358
|
-
},
|
|
3358
|
+
}, Dr = {
|
|
3359
3359
|
hooks: {
|
|
3360
3360
|
"tags:resolve": (t) => {
|
|
3361
3361
|
const e = (o) => t.tags.find((i) => i._d === o)?._p;
|
|
3362
|
-
for (const { prefix: o, offset: i } of
|
|
3362
|
+
for (const { prefix: o, offset: i } of Tr)
|
|
3363
3363
|
for (const s of t.tags.filter((r) => typeof r.tagPriority == "string" && r.tagPriority.startsWith(o))) {
|
|
3364
3364
|
const r = e(
|
|
3365
3365
|
s.tagPriority.replace(o, "")
|
|
@@ -3369,38 +3369,38 @@ const Hr = (t) => ({
|
|
|
3369
3369
|
t.tags.sort((o, i) => o._p - i._p).sort((o, i) => Ye(o) - Ye(i));
|
|
3370
3370
|
}
|
|
3371
3371
|
}
|
|
3372
|
-
},
|
|
3372
|
+
}, Mr = {
|
|
3373
3373
|
meta: "content",
|
|
3374
3374
|
link: "href",
|
|
3375
3375
|
htmlAttrs: "lang"
|
|
3376
|
-
},
|
|
3376
|
+
}, xr = (t) => ({
|
|
3377
3377
|
hooks: {
|
|
3378
3378
|
"tags:resolve": (e) => {
|
|
3379
|
-
const { tags: o } = e, i = o.find((
|
|
3379
|
+
const { tags: o } = e, i = o.find((c) => c.tag === "title")?.textContent, s = o.findIndex((c) => c.tag === "templateParams"), r = s !== -1 ? o[s].props : {}, f = r.separator || "|";
|
|
3380
3380
|
delete r.separator, r.pageTitle = qe(r.pageTitle || i || "", r, f);
|
|
3381
|
-
for (const
|
|
3382
|
-
const h =
|
|
3383
|
-
h && typeof
|
|
3384
|
-
typeof
|
|
3381
|
+
for (const c of o.filter((h) => h.processTemplateParams !== !1)) {
|
|
3382
|
+
const h = Mr[c.tag];
|
|
3383
|
+
h && typeof c.props[h] == "string" ? c.props[h] = qe(c.props[h], r, f) : (c.processTemplateParams === !0 || ["titleTemplate", "title"].includes(c.tag)) && ["innerHTML", "textContent"].forEach((u) => {
|
|
3384
|
+
typeof c[u] == "string" && (c[u] = qe(c[u], r, f));
|
|
3385
3385
|
});
|
|
3386
3386
|
}
|
|
3387
|
-
t._templateParams = r, t._separator = f, e.tags = o.filter((
|
|
3387
|
+
t._templateParams = r, t._separator = f, e.tags = o.filter((c) => c.tag !== "templateParams");
|
|
3388
3388
|
}
|
|
3389
3389
|
}
|
|
3390
|
-
}),
|
|
3390
|
+
}), Br = {
|
|
3391
3391
|
hooks: {
|
|
3392
3392
|
"tags:resolve": (t) => {
|
|
3393
3393
|
const { tags: e } = t;
|
|
3394
3394
|
let o = e.findIndex((s) => s.tag === "titleTemplate");
|
|
3395
3395
|
const i = e.findIndex((s) => s.tag === "title");
|
|
3396
3396
|
if (i !== -1 && o !== -1) {
|
|
3397
|
-
const s =
|
|
3397
|
+
const s = Bt(
|
|
3398
3398
|
e[o].textContent,
|
|
3399
3399
|
e[i].textContent
|
|
3400
3400
|
);
|
|
3401
3401
|
s !== null ? e[i].textContent = s || e[i].textContent : delete e[i];
|
|
3402
3402
|
} else if (o !== -1) {
|
|
3403
|
-
const s =
|
|
3403
|
+
const s = Bt(
|
|
3404
3404
|
e[o].textContent
|
|
3405
3405
|
);
|
|
3406
3406
|
s !== null && (e[o].textContent = s, e[o].tag = "title", o = -1);
|
|
@@ -3408,7 +3408,7 @@ const Hr = (t) => ({
|
|
|
3408
3408
|
o !== -1 && delete e[o], t.tags = e.filter(Boolean);
|
|
3409
3409
|
}
|
|
3410
3410
|
}
|
|
3411
|
-
},
|
|
3411
|
+
}, Wr = {
|
|
3412
3412
|
hooks: {
|
|
3413
3413
|
"tags:afterResolve": function(t) {
|
|
3414
3414
|
for (const e of t.tags)
|
|
@@ -3417,21 +3417,21 @@ const Hr = (t) => ({
|
|
|
3417
3417
|
}
|
|
3418
3418
|
};
|
|
3419
3419
|
// @__NO_SIDE_EFFECTS__
|
|
3420
|
-
function
|
|
3421
|
-
const e =
|
|
3422
|
-
return e.use(/* @__PURE__ */
|
|
3420
|
+
function zr(t = {}) {
|
|
3421
|
+
const e = Fr(t);
|
|
3422
|
+
return e.use(/* @__PURE__ */ Sr()), e;
|
|
3423
3423
|
}
|
|
3424
3424
|
function Ft(t, e) {
|
|
3425
3425
|
return !t || t === "server" && e || t === "client" && !e;
|
|
3426
3426
|
}
|
|
3427
|
-
function
|
|
3428
|
-
const e =
|
|
3429
|
-
e.addHooks(t.hooks || {}), t.document = t.document || (
|
|
3427
|
+
function Fr(t = {}) {
|
|
3428
|
+
const e = pr();
|
|
3429
|
+
e.addHooks(t.hooks || {}), t.document = t.document || (yr ? document : void 0);
|
|
3430
3430
|
const o = !t.document, i = () => {
|
|
3431
|
-
|
|
3431
|
+
c.dirty = !0, e.callHook("entries:updated", c);
|
|
3432
3432
|
};
|
|
3433
3433
|
let s = 0, r = [];
|
|
3434
|
-
const f = [],
|
|
3434
|
+
const f = [], c = {
|
|
3435
3435
|
plugins: f,
|
|
3436
3436
|
dirty: !1,
|
|
3437
3437
|
resolvedOptions: t,
|
|
@@ -3440,7 +3440,7 @@ function xr(t = {}) {
|
|
|
3440
3440
|
return r;
|
|
3441
3441
|
},
|
|
3442
3442
|
use(h) {
|
|
3443
|
-
const u = typeof h == "function" ? h(
|
|
3443
|
+
const u = typeof h == "function" ? h(c) : h;
|
|
3444
3444
|
(!u.key || !f.some((v) => v.key === u.key)) && (f.push(u), Ft(u.mode, o) && e.addHooks(u.hooks || {}));
|
|
3445
3445
|
},
|
|
3446
3446
|
push(h, u) {
|
|
@@ -3452,7 +3452,7 @@ function xr(t = {}) {
|
|
|
3452
3452
|
};
|
|
3453
3453
|
return Ft(v.mode, o) && (r.push(v), i()), {
|
|
3454
3454
|
dispose() {
|
|
3455
|
-
r = r.filter((m) => m._i !== v._i), e.callHook("entries:updated",
|
|
3455
|
+
r = r.filter((m) => m._i !== v._i), e.callHook("entries:updated", c), i();
|
|
3456
3456
|
},
|
|
3457
3457
|
// a patch is the same as creating a new entry, just a nice DX
|
|
3458
3458
|
patch(m) {
|
|
@@ -3466,8 +3466,8 @@ function xr(t = {}) {
|
|
|
3466
3466
|
for (const u of h.entries) {
|
|
3467
3467
|
const v = u.resolvedInput || u.input;
|
|
3468
3468
|
if (u.resolvedInput = await (u.transform ? u.transform(v) : v), u.resolvedInput)
|
|
3469
|
-
for (const m of await
|
|
3470
|
-
const k = { tag: m, entry: u, resolvedOptions:
|
|
3469
|
+
for (const m of await Er(u)) {
|
|
3470
|
+
const k = { tag: m, entry: u, resolvedOptions: c.resolvedOptions };
|
|
3471
3471
|
await e.callHook("tag:normalise", k), h.tags.push(k.tag);
|
|
3472
3472
|
}
|
|
3473
3473
|
}
|
|
@@ -3476,53 +3476,53 @@ function xr(t = {}) {
|
|
|
3476
3476
|
ssr: o
|
|
3477
3477
|
};
|
|
3478
3478
|
return [
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
Vr,
|
|
3479
|
+
Ar,
|
|
3480
|
+
Or,
|
|
3481
|
+
wr,
|
|
3482
|
+
Rr,
|
|
3484
3483
|
Dr,
|
|
3485
|
-
|
|
3484
|
+
xr,
|
|
3486
3485
|
Br,
|
|
3486
|
+
Wr,
|
|
3487
3487
|
...t?.plugins || []
|
|
3488
|
-
].forEach((h) =>
|
|
3488
|
+
].forEach((h) => c.use(h)), c.hooks.callHook("init", c), c;
|
|
3489
3489
|
}
|
|
3490
|
-
const
|
|
3491
|
-
function
|
|
3490
|
+
const Nr = Mo.startsWith("3");
|
|
3491
|
+
function Ur(t) {
|
|
3492
3492
|
return typeof t == "function" ? t() : l(t);
|
|
3493
3493
|
}
|
|
3494
3494
|
function gt(t, e = "") {
|
|
3495
3495
|
if (t instanceof Promise)
|
|
3496
3496
|
return t;
|
|
3497
|
-
const o =
|
|
3497
|
+
const o = Ur(t);
|
|
3498
3498
|
return !t || !o ? o : Array.isArray(o) ? o.map((i) => gt(i, e)) : typeof o == "object" ? Object.fromEntries(
|
|
3499
3499
|
Object.entries(o).map(([i, s]) => i === "titleTemplate" || i.startsWith("on") ? [i, l(s)] : [i, gt(s, i)])
|
|
3500
3500
|
) : o;
|
|
3501
3501
|
}
|
|
3502
|
-
const
|
|
3502
|
+
const qr = {
|
|
3503
3503
|
hooks: {
|
|
3504
3504
|
"entries:resolve": function(t) {
|
|
3505
3505
|
for (const e of t.entries)
|
|
3506
3506
|
e.resolvedInput = gt(e.input);
|
|
3507
3507
|
}
|
|
3508
3508
|
}
|
|
3509
|
-
},
|
|
3510
|
-
function
|
|
3509
|
+
}, Gr = "usehead";
|
|
3510
|
+
function jr(t) {
|
|
3511
3511
|
return {
|
|
3512
3512
|
install(o) {
|
|
3513
|
-
|
|
3513
|
+
Nr && (o.config.globalProperties.$unhead = t, o.config.globalProperties.$head = t, o.provide(Gr, t));
|
|
3514
3514
|
}
|
|
3515
3515
|
}.install;
|
|
3516
3516
|
}
|
|
3517
|
-
function
|
|
3517
|
+
function Yr(t = {}) {
|
|
3518
3518
|
t.domDelayFn = t.domDelayFn || ((o) => Kt(() => setTimeout(() => o(), 0)));
|
|
3519
|
-
const e = /* @__PURE__ */
|
|
3520
|
-
return e.use(
|
|
3519
|
+
const e = /* @__PURE__ */ zr(t);
|
|
3520
|
+
return e.use(qr), e.install = jr(e), e;
|
|
3521
3521
|
}
|
|
3522
|
-
const
|
|
3523
|
-
pe.use(
|
|
3524
|
-
pe.use(jr);
|
|
3522
|
+
const Kr = xo(), Qr = Yr(), Xr = Bo(), pe = Wo({ components: { Hotel: Qn } });
|
|
3523
|
+
pe.use(Qr);
|
|
3525
3524
|
pe.use(Kr);
|
|
3525
|
+
pe.use(Xr);
|
|
3526
3526
|
pe.use(ro);
|
|
3527
3527
|
pe.use(zo);
|
|
3528
3528
|
pe.use(Ko);
|