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