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