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