@konnectio/core 4.0.28 → 4.0.30
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-487e86aa.cjs → ActionField-6a7fe182.cjs} +1 -1
- package/dist/{ActionField-20fd2fef.js → ActionField-6b24ed58.js} +2 -2
- package/dist/ActionField-6b24ed58.js.br +0 -0
- package/dist/{AvailabilitySkeleton-813806c7.js → AvailabilitySkeleton-7ec69b90.js} +5 -5
- package/dist/AvailabilitySkeleton-7ec69b90.js.br +0 -0
- package/dist/{AvailabilitySkeleton-ff721887.cjs → AvailabilitySkeleton-f2192dc6.cjs} +1 -1
- package/dist/{DateField.vue_vue_type_style_index_0_lang-3abac10d.js → DateField.vue_vue_type_style_index_0_lang-3a3692d1.js} +1 -1
- package/dist/DateField.vue_vue_type_style_index_0_lang-3a3692d1.js.br +0 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-c80f334d.cjs → DateField.vue_vue_type_style_index_0_lang-96d1d3ea.cjs} +1 -1
- package/dist/{Field-79fc7dfa.js → Field-a129d337.js} +2 -2
- package/dist/Field-a129d337.js.br +0 -0
- package/dist/{Field-6b050caf.cjs → Field-c8804a60.cjs} +1 -1
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-13b2e6c5.js → NumberField.vue_vue_type_script_setup_true_lang-5ff1722d.js} +1 -1
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-5ff1722d.js.br +0 -0
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-1c0634a0.cjs → NumberField.vue_vue_type_script_setup_true_lang-d175c5f1.cjs} +1 -1
- package/dist/SelectField.vue_vue_type_style_index_0_lang-88cf98c9.cjs +860 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-d631c22b.js → SelectField.vue_vue_type_style_index_0_lang-abafed2f.js} +13372 -12382
- package/dist/SelectField.vue_vue_type_style_index_0_lang-abafed2f.js.br +0 -0
- package/dist/{ThankYou-3ada7b03.cjs → ThankYou-af2a1b13.cjs} +6 -6
- package/dist/{ThankYou-9dd940b6.js → ThankYou-d644a014.js} +849 -848
- package/dist/ThankYou-d644a014.js.br +0 -0
- package/dist/{_-b36ce0a6.cjs → _-68bd35c5.cjs} +1 -1
- package/dist/{_-f9c3008a.js → _-c044a71c.js} +1 -1
- package/dist/availability.cjs +1 -1
- package/dist/availability.js +7 -7
- package/dist/availability.js.br +0 -0
- package/dist/components/forms/MultiStepForm.vue.d.ts +1 -1
- package/dist/components/forms/ReservationForm.vue.d.ts +1 -1
- package/dist/components/inputs/grouped/RoomConfigField.vue.d.ts +1 -1
- package/dist/components/listings/Base.vue.d.ts +1 -1
- package/dist/components/views/TermsOfService.vue.d.ts +1 -1
- package/dist/{event-69ba12c7.cjs → event-37706e7b.cjs} +1 -1
- package/dist/{event-16449760.js → event-6f45c906.js} +7 -7
- package/dist/event-6f45c906.js.br +0 -0
- package/dist/event.cjs +1 -1
- package/dist/event.js +8 -8
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.cjs +1 -1
- package/dist/gift-card-validation.js +3 -3
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.cjs +1 -1
- package/dist/gift-card.js +254 -278
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.cjs +5 -5
- package/dist/hotel.js +815 -813
- package/dist/hotel.js.br +0 -0
- package/dist/index-27d2c768.cjs +1 -0
- package/dist/{index-ddf58f34.js → index-a5dc6e49.js} +77 -107
- package/dist/index-a5dc6e49.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/hotel.d.ts +4 -1
- package/dist/store/tracking.d.ts +17 -2
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +6 -4
- package/dist/ActionField-20fd2fef.js.br +0 -0
- package/dist/AvailabilitySkeleton-813806c7.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-3abac10d.js.br +0 -0
- package/dist/Field-79fc7dfa.js.br +0 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-13b2e6c5.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-aa9c0c1a.cjs +0 -858
- package/dist/SelectField.vue_vue_type_style_index_0_lang-d631c22b.js.br +0 -0
- package/dist/ThankYou-9dd940b6.js.br +0 -0
- package/dist/event-16449760.js.br +0 -0
- package/dist/index-bf17dd6e.cjs +0 -1
- package/dist/index-ddf58f34.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { k as Q, D as de, aE as
|
|
2
|
-
import { R as
|
|
3
|
-
import { A as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { C as Ue, P as
|
|
7
|
-
import { E as X } from "./_-
|
|
8
|
-
import { c as
|
|
9
|
-
import "./ActionField-
|
|
10
|
-
import "./Field-
|
|
11
|
-
const
|
|
1
|
+
import { k as Q, D as de, aE as ho, s as ee, c as Ee, ab as yt, ac as me, m as x, n as M, W as vt, q as a, w, aa as Ve, A as v, F as V, K as se, Y as Ze, aF as fo, v as I, a3 as W, a2 as R, x as D, aG as ve, a5 as We, p as T, H as Z, J as ue, f as j, B as Te, P as _t, Q as bt, _ as te, r as ae, o as $e, ag as et, ah as Pe, aH as kt, aC as mo, a1 as ke, y as xe, I as xt, l as tt, T as re, aA as go, b as yo, N as vo, C as fe, a6 as _o, L as ot, G as F, M as bo, an as It, aI as ko, U as xo, a8 as Io, R as Eo, V as To, a9 as $o } from "./SelectField.vue_vue_type_style_index_0_lang-abafed2f.js";
|
|
2
|
+
import { R as So, S as Co, F as Vo, _ as Po, B as Bo, a as Do, M as Lo, T as wo, x as Oo } from "./ThankYou-d644a014.js";
|
|
3
|
+
import { A as Ho, H as Ao } from "./AvailabilitySkeleton-7ec69b90.js";
|
|
4
|
+
import { _ as Et } from "./NumberField.vue_vue_type_script_setup_true_lang-5ff1722d.js";
|
|
5
|
+
import { _ as zo } from "./DateField.vue_vue_type_style_index_0_lang-3a3692d1.js";
|
|
6
|
+
import { C as Ue, P as Mo, a as Ro, S as No } from "./index-a5dc6e49.js";
|
|
7
|
+
import { E as X } from "./_-c044a71c.js";
|
|
8
|
+
import { c as Tt, a as $t } from "./_commonjsHelpers-aeeeeb92.js";
|
|
9
|
+
import "./ActionField-6b24ed58.js";
|
|
10
|
+
import "./Field-a129d337.js";
|
|
11
|
+
const Wo = { key: 0 }, Be = /* @__PURE__ */ Q({
|
|
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: e } = de(), t =
|
|
18
|
+
const { t: e } = de(), t = ho(), {
|
|
19
19
|
hideArrivalDepartureInputs: o,
|
|
20
20
|
disableArrivalUserSelection: u,
|
|
21
21
|
disableDepartureUserSelection: r,
|
|
22
22
|
arrivalDefault: p,
|
|
23
|
-
departureDefault:
|
|
23
|
+
departureDefault: l,
|
|
24
24
|
currency: h
|
|
25
|
-
} = ee(
|
|
25
|
+
} = ee(Ee()), {
|
|
26
26
|
arrivalDate: c,
|
|
27
27
|
departureDate: m
|
|
28
|
-
} = ee(
|
|
28
|
+
} = ee(yt()), {
|
|
29
29
|
arrivalTime: g,
|
|
30
30
|
departureTime: k,
|
|
31
|
-
roomDisplay:
|
|
31
|
+
roomDisplay: s,
|
|
32
32
|
templateID: _,
|
|
33
33
|
totalPrice: b,
|
|
34
34
|
areListingsLoading: f
|
|
@@ -36,32 +36,32 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ Q({
|
|
|
36
36
|
function d(y) {
|
|
37
37
|
return y.reduce((S, { totalPrice: L }) => S + L, 0);
|
|
38
38
|
}
|
|
39
|
-
return (y, E) => (x(), M(
|
|
40
|
-
"total-price":
|
|
39
|
+
return (y, E) => (x(), M(So, {
|
|
40
|
+
"total-price": a(b),
|
|
41
41
|
"show-gift-card": y.showGiftCard,
|
|
42
42
|
"show-terms-notice": y.showTermsNotice,
|
|
43
|
-
"is-sidebar-loading":
|
|
44
|
-
notice:
|
|
45
|
-
},
|
|
43
|
+
"is-sidebar-loading": a(f),
|
|
44
|
+
notice: a(e)("hotel.reservationNotice")
|
|
45
|
+
}, vt({
|
|
46
46
|
form: w(() => [
|
|
47
|
-
|
|
47
|
+
Ve(y.$slots, "form")
|
|
48
48
|
]),
|
|
49
49
|
"reservation-summary": w(() => [
|
|
50
50
|
v("li", null, [
|
|
51
|
-
v("span", null, V(
|
|
52
|
-
v("b", null, V(
|
|
51
|
+
v("span", null, V(a(e)("booking.reservation.arrival")), 1),
|
|
52
|
+
v("b", null, V(a(o) ? a(se)(a(c)) : `${a(se)(a(c))}, ${a(u) ? a(p) : a(g)}`), 1)
|
|
53
53
|
]),
|
|
54
54
|
v("li", null, [
|
|
55
|
-
v("span", null, V(
|
|
56
|
-
v("b", null, V(
|
|
55
|
+
v("span", null, V(a(e)("booking.reservation.departure")), 1),
|
|
56
|
+
v("b", null, V(a(o) ? a(se)(a(m)) : `${a(se)(a(m))}, ${a(r) ? a(l) : a(k)}`), 1)
|
|
57
57
|
]),
|
|
58
58
|
v("li", null, [
|
|
59
|
-
v("span", null, V(
|
|
60
|
-
v("b", null, V(
|
|
59
|
+
v("span", null, V(a(e)("booking.reservation.nights")), 1),
|
|
60
|
+
v("b", null, V(a(Ze)(a(c), a(m))) + " " + V(a(fo)(a(Ze)(a(c), a(m)) === 1 ? a(e)("booking.reservation.night") : a(e)("booking.reservation.nights"))), 1)
|
|
61
61
|
])
|
|
62
62
|
]),
|
|
63
63
|
"price-summary": w(() => [
|
|
64
|
-
isNaN(
|
|
64
|
+
isNaN(a(_)) && a(s).length > 0 ? (x(!0), I(R, { key: 0 }, W(a(s), ({
|
|
65
65
|
roomGroupID: S,
|
|
66
66
|
title: L,
|
|
67
67
|
variants: H
|
|
@@ -69,60 +69,59 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ Q({
|
|
|
69
69
|
v("h6", null, [
|
|
70
70
|
v("span", null, V(L), 1)
|
|
71
71
|
]),
|
|
72
|
-
(x(!0), I(R, null,
|
|
72
|
+
(x(!0), I(R, null, W(H, (C, B) => (x(), I("div", { key: B }, [
|
|
73
73
|
D("", !0),
|
|
74
|
-
(x(!0), I(R, null,
|
|
74
|
+
(x(!0), I(R, null, W(C.rooms, (O, q) => (x(), I("ul", { key: q }, [
|
|
75
75
|
v("li", null, [
|
|
76
76
|
v("span", null, [
|
|
77
|
-
v("span", null, V(
|
|
77
|
+
v("span", null, V(a(ve)(C.name)), 1),
|
|
78
78
|
v("span", null, [
|
|
79
|
-
|
|
79
|
+
We("( "),
|
|
80
80
|
T(Z, {
|
|
81
81
|
icon: "male",
|
|
82
82
|
type: "fas",
|
|
83
83
|
color: "font"
|
|
84
84
|
}),
|
|
85
85
|
v("span", null, V(O.adultsCount), 1),
|
|
86
|
-
_e(") "),
|
|
87
86
|
O.childrenCount > 0 ? (x(), I(R, { key: 0 }, [
|
|
88
87
|
T(Z, {
|
|
89
88
|
icon: "child",
|
|
90
89
|
type: "fas",
|
|
91
90
|
color: "font"
|
|
92
91
|
}),
|
|
93
|
-
v("span", null, V(O.childrenCount), 1)
|
|
94
|
-
|
|
95
|
-
|
|
92
|
+
v("span", null, V(O.childrenCount), 1)
|
|
93
|
+
], 64)) : D("", !0),
|
|
94
|
+
We(") ")
|
|
96
95
|
])
|
|
97
96
|
]),
|
|
98
97
|
v("b", null, [
|
|
99
|
-
v("span", null, V(
|
|
98
|
+
v("span", null, V(a(ue)(O.totalPrice, a(h))), 1),
|
|
100
99
|
D("", !0)
|
|
101
100
|
])
|
|
102
101
|
]),
|
|
103
|
-
d(O.roomAddons) > 0 ? (x(), I("li",
|
|
104
|
-
v("span", null, V(
|
|
105
|
-
v("b", null, V(
|
|
102
|
+
d(O.roomAddons) > 0 ? (x(), I("li", Wo, [
|
|
103
|
+
v("span", null, V(a(e)("booking.reservation.addons")), 1),
|
|
104
|
+
v("b", null, V(a(ue)(d(O.roomAddons), a(h))), 1)
|
|
106
105
|
])) : D("", !0)
|
|
107
106
|
]))), 128))
|
|
108
107
|
]))), 128))
|
|
109
108
|
]))), 128)) : D("", !0)
|
|
110
109
|
]),
|
|
111
110
|
navigation: w(() => [
|
|
112
|
-
|
|
111
|
+
Ve(y.$slots, "navigation")
|
|
113
112
|
]),
|
|
114
113
|
_: 2
|
|
115
114
|
}, [
|
|
116
|
-
|
|
115
|
+
a(t).addons ? {
|
|
117
116
|
name: "addons",
|
|
118
117
|
fn: w(() => [
|
|
119
|
-
|
|
118
|
+
Ve(y.$slots, "addons")
|
|
120
119
|
]),
|
|
121
120
|
key: "0"
|
|
122
121
|
} : void 0
|
|
123
122
|
]), 1032, ["total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
|
|
124
123
|
}
|
|
125
|
-
}),
|
|
124
|
+
}), Uo = (n) => (_t("data-v-c84b41ba"), n = n(), bt(), n), Fo = { key: 0 }, qo = { class: "konnectio-selected-room-config" }, Go = { class: "konnectio-selected-room-config-people" }, jo = { key: 0 }, Yo = { class: "konnectio-selected-room-config-price" }, Qo = /* @__PURE__ */ Uo(() => /* @__PURE__ */ v("span", null, null, -1)), Ko = /* @__PURE__ */ Q({
|
|
126
125
|
__name: "RoomConfigField",
|
|
127
126
|
props: {
|
|
128
127
|
modelValue: {},
|
|
@@ -133,17 +132,17 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ Q({
|
|
|
133
132
|
},
|
|
134
133
|
emits: ["update:modelValue"],
|
|
135
134
|
setup(n, { emit: e }) {
|
|
136
|
-
const { t } = de(), { currency: o } = ee(
|
|
135
|
+
const { t } = de(), { currency: o } = ee(Ee()), u = e, r = n;
|
|
137
136
|
function p(h) {
|
|
138
137
|
u("update:modelValue", h);
|
|
139
138
|
}
|
|
140
|
-
const
|
|
139
|
+
const l = j({
|
|
141
140
|
get: () => r.modelValue,
|
|
142
141
|
set: (h) => p(h)
|
|
143
142
|
});
|
|
144
|
-
return (h, c) => (x(), M(
|
|
145
|
-
modelValue:
|
|
146
|
-
"onUpdate:modelValue": c[0] || (c[0] = (m) =>
|
|
143
|
+
return (h, c) => (x(), M(Te, {
|
|
144
|
+
modelValue: l.value,
|
|
145
|
+
"onUpdate:modelValue": c[0] || (c[0] = (m) => l.value = m),
|
|
147
146
|
label: h.label,
|
|
148
147
|
placeholder: "Select guest configuration",
|
|
149
148
|
labelKey: "label",
|
|
@@ -161,33 +160,33 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ Q({
|
|
|
161
160
|
type: "fas",
|
|
162
161
|
color: "font"
|
|
163
162
|
}),
|
|
164
|
-
v("span", null, V(`${m.adults}`), 1)
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
163
|
+
v("span", null, V(`${m.adults}`), 1),
|
|
164
|
+
m.children > 0 ? (x(), I("span", Fo, [
|
|
165
|
+
T(Z, {
|
|
166
|
+
icon: "child",
|
|
167
|
+
type: "fas",
|
|
168
|
+
color: "font"
|
|
169
|
+
}),
|
|
170
|
+
v("span", null, V(`${m.children}`), 1)
|
|
171
|
+
])) : D("", !0),
|
|
172
|
+
v("span", null, V(`(${a(ue)(m.price, a(o))})`), 1)
|
|
173
|
+
])
|
|
175
174
|
]),
|
|
176
175
|
"selected-option": w(({ data: m }) => [
|
|
177
|
-
v("div",
|
|
178
|
-
v("div",
|
|
176
|
+
v("div", qo, [
|
|
177
|
+
v("div", Go, [
|
|
179
178
|
v("div", null, [
|
|
180
179
|
D("", !0),
|
|
181
|
-
v("span", null, V(`${m.adults} ${m.adults === 1 ?
|
|
180
|
+
v("span", null, V(`${m.adults} ${m.adults === 1 ? a(t)("general.adult") : a(t)("general.adults")}`), 1)
|
|
182
181
|
]),
|
|
183
|
-
m.children > 0 ? (x(), I("div",
|
|
182
|
+
m.children > 0 ? (x(), I("div", jo, [
|
|
184
183
|
D("", !0),
|
|
185
|
-
v("span", null, V(`& ${m.children} ${m.children === 1 ?
|
|
184
|
+
v("span", null, V(`& ${m.children} ${m.children === 1 ? a(t)("general.child") : a(t)("general.children")}`), 1)
|
|
186
185
|
])) : D("", !0)
|
|
187
186
|
]),
|
|
188
|
-
v("div",
|
|
189
|
-
|
|
190
|
-
|
|
187
|
+
v("div", Yo, [
|
|
188
|
+
Qo,
|
|
189
|
+
We(" " + V(`(${a(ue)(m.price, a(o))})`), 1)
|
|
191
190
|
])
|
|
192
191
|
])
|
|
193
192
|
]),
|
|
@@ -195,7 +194,7 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ Q({
|
|
|
195
194
|
}, 8, ["modelValue", "label", "options", "readonly", "required"]));
|
|
196
195
|
}
|
|
197
196
|
});
|
|
198
|
-
const
|
|
197
|
+
const nt = /* @__PURE__ */ te(Ko, [["__scopeId", "data-v-c84b41ba"]]), Jo = ["src"], Xo = /* @__PURE__ */ Q({
|
|
199
198
|
__name: "Gallery",
|
|
200
199
|
props: {
|
|
201
200
|
gallery: {}
|
|
@@ -204,8 +203,8 @@ const ot = /* @__PURE__ */ te(Yo, [["__scopeId", "data-v-e18f4cd3"]]), Qo = ["sr
|
|
|
204
203
|
const e = ae();
|
|
205
204
|
ae();
|
|
206
205
|
const t = ae();
|
|
207
|
-
return
|
|
208
|
-
t.value = [new
|
|
206
|
+
return $e(() => {
|
|
207
|
+
t.value = [new Co({
|
|
209
208
|
type: "index",
|
|
210
209
|
synchronizedFlickingOptions: [
|
|
211
210
|
{
|
|
@@ -220,7 +219,7 @@ const ot = /* @__PURE__ */ te(Yo, [["__scopeId", "data-v-e18f4cd3"]]), Qo = ["sr
|
|
|
220
219
|
]
|
|
221
220
|
})];
|
|
222
221
|
}), (o, u) => (x(), I("div", null, [
|
|
223
|
-
o.gallery.length > 1 ? (x(), M(
|
|
222
|
+
o.gallery.length > 1 ? (x(), M(a(Vo), {
|
|
224
223
|
ref_key: "slideshow",
|
|
225
224
|
ref: e,
|
|
226
225
|
key: o.gallery.length,
|
|
@@ -228,28 +227,28 @@ const ot = /* @__PURE__ */ te(Yo, [["__scopeId", "data-v-e18f4cd3"]]), Qo = ["sr
|
|
|
228
227
|
plugins: t.value
|
|
229
228
|
}, {
|
|
230
229
|
default: w(() => [
|
|
231
|
-
(x(!0), I(R, null,
|
|
232
|
-
key:
|
|
230
|
+
(x(!0), I(R, null, W(o.gallery, ({ medium: r, large: p }, l) => (x(), I("div", {
|
|
231
|
+
key: l,
|
|
233
232
|
class: "booking-availability-listing-featured-img"
|
|
234
233
|
}, [
|
|
235
|
-
v("img", { src: p }, null, 8,
|
|
234
|
+
v("img", { src: p }, null, 8, Jo)
|
|
236
235
|
]))), 128))
|
|
237
236
|
]),
|
|
238
237
|
_: 1
|
|
239
238
|
}, 8, ["plugins"])) : D("", !0)
|
|
240
239
|
]));
|
|
241
240
|
}
|
|
242
|
-
}),
|
|
241
|
+
}), Zo = {
|
|
243
242
|
key: 0,
|
|
244
243
|
class: "fresh-booking-modal-facilities"
|
|
245
|
-
},
|
|
244
|
+
}, en = {
|
|
246
245
|
class: "fresh-booking-modal-facilities-masonry",
|
|
247
246
|
"transition-duration": "0s",
|
|
248
247
|
"destroy-delay": 0,
|
|
249
248
|
"percent-position": !0,
|
|
250
249
|
"column-width": ".grid-sizer",
|
|
251
250
|
"item-selector": ".fresh-booking-modal-facility"
|
|
252
|
-
},
|
|
251
|
+
}, tn = { class: "grid-sizer" }, on = /* @__PURE__ */ Q({
|
|
253
252
|
__name: "Info",
|
|
254
253
|
props: {
|
|
255
254
|
title: {},
|
|
@@ -259,26 +258,26 @@ const ot = /* @__PURE__ */ te(Yo, [["__scopeId", "data-v-e18f4cd3"]]), Qo = ["sr
|
|
|
259
258
|
},
|
|
260
259
|
setup(n) {
|
|
261
260
|
return (e, t) => {
|
|
262
|
-
const o =
|
|
263
|
-
return x(), M(
|
|
261
|
+
const o = et("masonry-tile"), u = et("masonry");
|
|
262
|
+
return x(), M(Po, {
|
|
264
263
|
title: e.title,
|
|
265
264
|
description: e.description
|
|
266
|
-
},
|
|
265
|
+
}, vt({
|
|
267
266
|
default: w(() => [
|
|
268
|
-
e.facilities && e.facilities.length !== 0 ? (x(), I("div",
|
|
269
|
-
|
|
270
|
-
|
|
267
|
+
e.facilities && e.facilities.length !== 0 ? (x(), I("div", Zo, [
|
|
268
|
+
Pe((x(), I("ul", en, [
|
|
269
|
+
Pe(v("div", tn, null, 512), [
|
|
271
270
|
[o]
|
|
272
271
|
]),
|
|
273
|
-
(x(!0), I(R, null,
|
|
274
|
-
key:
|
|
272
|
+
(x(!0), I(R, null, W(e.facilities, ({ name: r, subFacilities: p }, l) => Pe((x(), I("li", {
|
|
273
|
+
key: l,
|
|
275
274
|
class: "fresh-booking-modal-facility"
|
|
276
275
|
}, [
|
|
277
276
|
v("h6", null, [
|
|
278
277
|
v("span", null, V(r), 1)
|
|
279
278
|
]),
|
|
280
279
|
v("ul", null, [
|
|
281
|
-
(x(!0), I(R, null,
|
|
280
|
+
(x(!0), I(R, null, W(p, ({ name: h }, c) => (x(), I("li", { key: c }, V(h), 1))), 128))
|
|
282
281
|
])
|
|
283
282
|
])), [
|
|
284
283
|
[o]
|
|
@@ -294,7 +293,7 @@ const ot = /* @__PURE__ */ te(Yo, [["__scopeId", "data-v-e18f4cd3"]]), Qo = ["sr
|
|
|
294
293
|
name: "above-description",
|
|
295
294
|
fn: w(() => [
|
|
296
295
|
v("div", null, [
|
|
297
|
-
T(
|
|
296
|
+
T(Xo, { gallery: e.gallery }, null, 8, ["gallery"])
|
|
298
297
|
])
|
|
299
298
|
]),
|
|
300
299
|
key: "0"
|
|
@@ -303,8 +302,8 @@ const ot = /* @__PURE__ */ te(Yo, [["__scopeId", "data-v-e18f4cd3"]]), Qo = ["sr
|
|
|
303
302
|
};
|
|
304
303
|
}
|
|
305
304
|
});
|
|
306
|
-
const
|
|
307
|
-
const
|
|
305
|
+
const nn = /* @__PURE__ */ te(on, [["__scopeId", "data-v-f1ca1684"]]), rn = { class: "konnectio-availability-listing-selection" }, sn = { key: 1 }, an = { class: "fresh-booking-listing-config-body" }, ln = { class: "fresh-booking-listing-units-body" };
|
|
306
|
+
const un = /* @__PURE__ */ Q({
|
|
308
307
|
__name: "Hotel",
|
|
309
308
|
props: {
|
|
310
309
|
room: {},
|
|
@@ -324,17 +323,17 @@ const sn = /* @__PURE__ */ Q({
|
|
|
324
323
|
value: C.id
|
|
325
324
|
}))), p = j(() => o.value.flatMap((C) => C.id));
|
|
326
325
|
j(() => r.value.filter((C) => !p.value.includes(C.value)));
|
|
327
|
-
const { hideAvailableRoomAmount:
|
|
326
|
+
const { hideAvailableRoomAmount: l, currency: h } = ee(Ee()), { roomSelect: c } = ee(me()), { viewItem: m, addToCart: g, removeFromCart: k } = kt(), s = (C, B) => t.room.rates.find((O) => O.id === C)?.occupantRates.find((O) => O.index === B), _ = j(() => t.room.rates.reduce(
|
|
328
327
|
(C, B) => C < B.rackRate ? C : B.rackRate,
|
|
329
328
|
1 / 0
|
|
330
|
-
)), b = j(() => t.room.rates.every((C) => C.isBreakfastIncluded === !0)), f = (C, B) =>
|
|
329
|
+
)), b = j(() => t.room.rates.every((C) => C.isBreakfastIncluded === !0)), f = (C, B) => s(C, B) ? s(C, B)?.rooms : null, i = (C) => t.room.rates.length > 0 ? t.room.rates.find((B) => B.id === C)?.occupantRates.map((B) => ({
|
|
331
330
|
value: B.index,
|
|
332
331
|
price: B.totalPrice,
|
|
333
332
|
adults: B.adultsCount,
|
|
334
333
|
children: B.childrenCount,
|
|
335
334
|
hasBreakfast: B.hasBreakfast
|
|
336
|
-
})) || [] : [], d = j(() => t.room.rates.length > 1), { open: y, close: E } =
|
|
337
|
-
component:
|
|
335
|
+
})) || [] : [], d = j(() => t.room.rates.length > 1), { open: y, close: E } = mo({
|
|
336
|
+
component: nn,
|
|
338
337
|
attrs: {
|
|
339
338
|
title: t.room.title,
|
|
340
339
|
description: t.room.description,
|
|
@@ -365,28 +364,28 @@ const sn = /* @__PURE__ */ Q({
|
|
|
365
364
|
}]
|
|
366
365
|
});
|
|
367
366
|
}
|
|
368
|
-
|
|
367
|
+
$e(() => {
|
|
369
368
|
L();
|
|
370
369
|
});
|
|
371
370
|
const H = j(() => JSON.parse(JSON.stringify(o.value)));
|
|
372
|
-
return
|
|
371
|
+
return ke(H, (C, B) => {
|
|
373
372
|
B.length > 0 && C.forEach((O, q) => {
|
|
374
|
-
O.config.forEach((U,
|
|
375
|
-
const
|
|
376
|
-
|
|
373
|
+
O.config.forEach((U, A) => {
|
|
374
|
+
const ne = U.units, K = B[q].config[A].units;
|
|
375
|
+
ne !== K && (ne > K ? (o.value[q].config[A].addons.push({}), g({
|
|
377
376
|
id: t.room.id,
|
|
378
377
|
name: t.room.title,
|
|
379
378
|
value: 100
|
|
380
|
-
})) : (o.value[q].config[
|
|
379
|
+
})) : (o.value[q].config[A].addons.pop(), k({
|
|
381
380
|
id: t.room.id,
|
|
382
381
|
name: t.room.title,
|
|
383
382
|
value: 100
|
|
384
383
|
})));
|
|
385
384
|
});
|
|
386
385
|
});
|
|
387
|
-
}, { deep: !0 }),
|
|
386
|
+
}, { deep: !0 }), ke(o, () => {
|
|
388
387
|
c.value[t.room.id] = o.value;
|
|
389
|
-
}, { deep: !0 }), (C, B) => (x(), M(
|
|
388
|
+
}, { deep: !0 }), (C, B) => (x(), M(Bo, {
|
|
390
389
|
"listing-id": C.room.id,
|
|
391
390
|
gallery: C.room.images,
|
|
392
391
|
name: C.room.title,
|
|
@@ -398,59 +397,59 @@ const sn = /* @__PURE__ */ Q({
|
|
|
398
397
|
callback: S
|
|
399
398
|
}, {
|
|
400
399
|
action: w(() => [
|
|
401
|
-
v("div",
|
|
402
|
-
(x(!0), I(R, null,
|
|
400
|
+
v("div", rn, [
|
|
401
|
+
(x(!0), I(R, null, W(o.value, (O, q) => (x(), I("div", {
|
|
403
402
|
key: O.id,
|
|
404
403
|
class: "freshbooking-hotel-room"
|
|
405
404
|
}, [
|
|
406
|
-
d.value ? (x(), M(
|
|
405
|
+
d.value ? (x(), M(Te, {
|
|
407
406
|
key: 0,
|
|
408
407
|
modelValue: O.id,
|
|
409
408
|
"onUpdate:modelValue": (U) => O.id = U,
|
|
410
|
-
label:
|
|
411
|
-
placeholder:
|
|
409
|
+
label: a(e)("hotel.roomVariant"),
|
|
410
|
+
placeholder: a(e)("hotel.chooseARoomVariant"),
|
|
412
411
|
options: r.value,
|
|
413
412
|
searchable: !1
|
|
414
413
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : D("", !0),
|
|
415
|
-
O.id ? (x(), I("div",
|
|
416
|
-
(x(!0), I(R, null,
|
|
414
|
+
O.id ? (x(), I("div", sn, [
|
|
415
|
+
(x(!0), I(R, null, W(C.room.rates, ({
|
|
417
416
|
id: U
|
|
418
417
|
}) => (x(), I("div", { key: U }, [
|
|
419
|
-
O.id === U ? (x(!0), I(R, { key: 0 },
|
|
420
|
-
key:
|
|
418
|
+
O.id === U ? (x(!0), I(R, { key: 0 }, W(O.config, (A, ne) => (x(), I("div", {
|
|
419
|
+
key: ne,
|
|
421
420
|
class: "booking-availability-listing-action-selective"
|
|
422
421
|
}, [
|
|
423
|
-
v("ul",
|
|
424
|
-
i(U).length > 1 ? (x(), M(
|
|
422
|
+
v("ul", an, [
|
|
423
|
+
i(U).length > 1 ? (x(), M(nt, {
|
|
425
424
|
key: 0,
|
|
426
|
-
modelValue:
|
|
427
|
-
"onUpdate:modelValue": (K) =>
|
|
425
|
+
modelValue: A.id,
|
|
426
|
+
"onUpdate:modelValue": (K) => A.id = K,
|
|
428
427
|
icon: "male",
|
|
429
428
|
"icon-type": "fas",
|
|
430
|
-
label:
|
|
429
|
+
label: a(e)("general.guests"),
|
|
431
430
|
options: i(U)
|
|
432
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "options"])) : (x(), M(
|
|
431
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "options"])) : (x(), M(nt, {
|
|
433
432
|
key: 1,
|
|
434
|
-
modelValue:
|
|
435
|
-
"onUpdate:modelValue": (K) =>
|
|
433
|
+
modelValue: A.id,
|
|
434
|
+
"onUpdate:modelValue": (K) => A.id = K,
|
|
436
435
|
icon: "male",
|
|
437
436
|
"icon-type": "fas",
|
|
438
|
-
label:
|
|
437
|
+
label: a(e)("general.guests"),
|
|
439
438
|
options: i(U),
|
|
440
439
|
readonly: ""
|
|
441
440
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "options"]))
|
|
442
441
|
]),
|
|
443
|
-
v("ul",
|
|
444
|
-
T(
|
|
445
|
-
modelValue:
|
|
446
|
-
"onUpdate:modelValue": (K) =>
|
|
447
|
-
description: l
|
|
442
|
+
v("ul", ln, [
|
|
443
|
+
T(Et, {
|
|
444
|
+
modelValue: A.units,
|
|
445
|
+
"onUpdate:modelValue": (K) => A.units = K,
|
|
446
|
+
description: a(l) ? void 0 : `${a(e)("booking.availability.availableUnits")}: ${f(O.id, A.id)}`,
|
|
448
447
|
icon: "house",
|
|
449
448
|
"icon-type": "fas",
|
|
450
449
|
"icon-placement": "label",
|
|
451
|
-
label:
|
|
450
|
+
label: a(e)("booking.availability.units"),
|
|
452
451
|
minValue: 0,
|
|
453
|
-
"max-value": f(U,
|
|
452
|
+
"max-value": f(U, A.id) || 1 / 0
|
|
454
453
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
|
|
455
454
|
]),
|
|
456
455
|
D("", !0)
|
|
@@ -464,7 +463,7 @@ const sn = /* @__PURE__ */ Q({
|
|
|
464
463
|
}, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
|
|
465
464
|
}
|
|
466
465
|
});
|
|
467
|
-
const
|
|
466
|
+
const dn = /* @__PURE__ */ te(un, [["__scopeId", "data-v-65a22e18"]]), it = /* @__PURE__ */ Q({
|
|
468
467
|
__name: "TimeField",
|
|
469
468
|
props: {
|
|
470
469
|
modelValue: {},
|
|
@@ -494,11 +493,11 @@ const ln = /* @__PURE__ */ te(sn, [["__scopeId", "data-v-65a22e18"]]), nt = /* @
|
|
|
494
493
|
t("update:modelValue", p);
|
|
495
494
|
}
|
|
496
495
|
const r = ae(o.modelValue);
|
|
497
|
-
return
|
|
496
|
+
return ke(r, (p) => {
|
|
498
497
|
u(p);
|
|
499
|
-
}), (p,
|
|
498
|
+
}), (p, l) => (x(), M(zo, {
|
|
500
499
|
modelValue: r.value,
|
|
501
|
-
"onUpdate:modelValue":
|
|
500
|
+
"onUpdate:modelValue": l[0] || (l[0] = (h) => r.value = h),
|
|
502
501
|
type: "time",
|
|
503
502
|
label: p.label,
|
|
504
503
|
id: p.id,
|
|
@@ -512,7 +511,7 @@ const ln = /* @__PURE__ */ te(sn, [["__scopeId", "data-v-65a22e18"]]), nt = /* @
|
|
|
512
511
|
}, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
|
|
513
512
|
}
|
|
514
513
|
});
|
|
515
|
-
const
|
|
514
|
+
const cn = { style: { display: "flex", "align-items": "baseline" } }, pn = /* @__PURE__ */ Q({
|
|
516
515
|
__name: "CountryField",
|
|
517
516
|
props: {
|
|
518
517
|
modelValue: {},
|
|
@@ -525,33 +524,33 @@ const un = { style: { display: "flex", "align-items": "baseline" } }, dn = /* @_
|
|
|
525
524
|
emits: ["update:modelValue"],
|
|
526
525
|
setup(n, { emit: e }) {
|
|
527
526
|
const { t } = de(), o = e, u = n;
|
|
528
|
-
function r(
|
|
529
|
-
o("update:modelValue",
|
|
527
|
+
function r(l) {
|
|
528
|
+
o("update:modelValue", l);
|
|
530
529
|
}
|
|
531
530
|
const p = j({
|
|
532
531
|
get: () => u.modelValue,
|
|
533
|
-
set: (
|
|
532
|
+
set: (l) => r(l)
|
|
534
533
|
});
|
|
535
|
-
return (
|
|
534
|
+
return (l, h) => (x(), M(Te, {
|
|
536
535
|
modelValue: p.value,
|
|
537
536
|
"onUpdate:modelValue": h[0] || (h[0] = (c) => p.value = c),
|
|
538
|
-
label:
|
|
539
|
-
placeholder:
|
|
537
|
+
label: l.label,
|
|
538
|
+
placeholder: a(t)("booking.reservation.countryPlaceholder"),
|
|
540
539
|
labelKey: "name",
|
|
541
540
|
valueKey: "id",
|
|
542
|
-
options:
|
|
543
|
-
required:
|
|
541
|
+
options: l.options,
|
|
542
|
+
required: l.required
|
|
544
543
|
}, {
|
|
545
544
|
option: w(({ data: c }) => [
|
|
546
545
|
v("i", {
|
|
547
|
-
class:
|
|
546
|
+
class: xe(["konnectio-flag-icon", c.iso])
|
|
548
547
|
}, null, 2),
|
|
549
548
|
v("span", null, V(c.name), 1)
|
|
550
549
|
]),
|
|
551
550
|
"selected-option": w(({ data: c }) => [
|
|
552
|
-
v("div",
|
|
551
|
+
v("div", cn, [
|
|
553
552
|
v("i", {
|
|
554
|
-
class:
|
|
553
|
+
class: xe(["konnectio-flag-icon", c.iso])
|
|
555
554
|
}, null, 2),
|
|
556
555
|
v("span", null, V(c.name), 1)
|
|
557
556
|
])
|
|
@@ -560,7 +559,7 @@ const un = { style: { display: "flex", "align-items": "baseline" } }, dn = /* @_
|
|
|
560
559
|
}, 8, ["modelValue", "label", "placeholder", "options", "required"]));
|
|
561
560
|
}
|
|
562
561
|
});
|
|
563
|
-
const
|
|
562
|
+
const hn = /* @__PURE__ */ te(pn, [["__scopeId", "data-v-1462612d"]]), fn = { class: "konnectio-radio-checkboxes" }, mn = /* @__PURE__ */ Q({
|
|
564
563
|
__name: "CheckboxField",
|
|
565
564
|
props: {
|
|
566
565
|
modelValue: {},
|
|
@@ -578,16 +577,16 @@ const cn = /* @__PURE__ */ te(dn, [["__scopeId", "data-v-1462612d"]]), pn = { cl
|
|
|
578
577
|
get: () => o.modelValue,
|
|
579
578
|
set: (p) => u(p)
|
|
580
579
|
});
|
|
581
|
-
return (p,
|
|
580
|
+
return (p, l) => (x(), M(xt, {
|
|
582
581
|
label: p.label,
|
|
583
582
|
type: "multi-radio"
|
|
584
583
|
}, {
|
|
585
584
|
default: w(() => [
|
|
586
|
-
v("ul",
|
|
587
|
-
(x(!0), I(R, null,
|
|
585
|
+
v("ul", fn, [
|
|
586
|
+
(x(!0), I(R, null, W(p.checkboxes, ({ label: h, value: c }, m) => (x(), I("li", { key: m }, [
|
|
588
587
|
T(Ue, {
|
|
589
588
|
modelValue: r.value,
|
|
590
|
-
"onUpdate:modelValue":
|
|
589
|
+
"onUpdate:modelValue": l[0] || (l[0] = (g) => r.value = g),
|
|
591
590
|
label: h,
|
|
592
591
|
name: p.name,
|
|
593
592
|
type: "radio",
|
|
@@ -600,7 +599,7 @@ const cn = /* @__PURE__ */ te(dn, [["__scopeId", "data-v-1462612d"]]), pn = { cl
|
|
|
600
599
|
}, 8, ["label"]));
|
|
601
600
|
}
|
|
602
601
|
});
|
|
603
|
-
const
|
|
602
|
+
const gn = /* @__PURE__ */ te(mn, [["__scopeId", "data-v-fc900ad2"]]), yn = /* @__PURE__ */ Q({
|
|
604
603
|
__name: "NameField",
|
|
605
604
|
props: {
|
|
606
605
|
modelValue: {},
|
|
@@ -622,19 +621,19 @@ const fn = /* @__PURE__ */ te(hn, [["__scopeId", "data-v-fc900ad2"]]), mn = /* @
|
|
|
622
621
|
},
|
|
623
622
|
emits: ["update:modelValue", "update:title"],
|
|
624
623
|
setup(n, { emit: e }) {
|
|
625
|
-
const t = n, o = e, u = t.id ||
|
|
626
|
-
function
|
|
624
|
+
const t = n, o = e, u = t.id || tt(), r = ae(""), p = ae(2);
|
|
625
|
+
function l() {
|
|
627
626
|
o("update:modelValue", r.value);
|
|
628
627
|
}
|
|
629
|
-
|
|
628
|
+
ke(p, (c) => {
|
|
630
629
|
o("update:title", c);
|
|
631
630
|
});
|
|
632
631
|
const { t: h } = de();
|
|
633
|
-
return
|
|
632
|
+
return $e(() => {
|
|
634
633
|
t.modelValue && (r.value = t.modelValue), t.title && (p.value = t.title);
|
|
635
|
-
}), (c, m) => (x(), M(
|
|
634
|
+
}), (c, m) => (x(), M(xt, {
|
|
636
635
|
label: c.label,
|
|
637
|
-
id:
|
|
636
|
+
id: a(u),
|
|
638
637
|
required: c.required,
|
|
639
638
|
type: "fresh-booking-name-field",
|
|
640
639
|
readonly: c.readonly,
|
|
@@ -642,38 +641,38 @@ const fn = /* @__PURE__ */ te(hn, [["__scopeId", "data-v-fc900ad2"]]), mn = /* @
|
|
|
642
641
|
}, {
|
|
643
642
|
default: w(() => [
|
|
644
643
|
v("div", {
|
|
645
|
-
class:
|
|
644
|
+
class: xe([
|
|
646
645
|
"fresh-booking-name-input",
|
|
647
646
|
{ "no-title": c.excludeTitle }
|
|
648
647
|
])
|
|
649
648
|
}, [
|
|
650
|
-
c.excludeTitle ? D("", !0) : (x(), M(
|
|
649
|
+
c.excludeTitle ? D("", !0) : (x(), M(Te, {
|
|
651
650
|
key: 0,
|
|
652
651
|
modelValue: p.value,
|
|
653
652
|
"onUpdate:modelValue": m[0] || (m[0] = (g) => p.value = g),
|
|
654
|
-
id:
|
|
653
|
+
id: a(tt)(),
|
|
655
654
|
icon: c.icon,
|
|
656
655
|
"icon-color": c.iconColor,
|
|
657
656
|
"icon-type": c.iconType,
|
|
658
657
|
options: [
|
|
659
658
|
{
|
|
660
|
-
label:
|
|
659
|
+
label: a(h)("booking.reservation.noNameTitle"),
|
|
661
660
|
value: 1
|
|
662
661
|
},
|
|
663
662
|
{
|
|
664
|
-
label:
|
|
663
|
+
label: a(h)("booking.reservation.nameTitleMr"),
|
|
665
664
|
value: 2
|
|
666
665
|
},
|
|
667
666
|
{
|
|
668
|
-
label:
|
|
667
|
+
label: a(h)("booking.reservation.nameTitleMs"),
|
|
669
668
|
value: 3
|
|
670
669
|
},
|
|
671
670
|
{
|
|
672
|
-
label:
|
|
671
|
+
label: a(h)("booking.reservation.nameTitleMrs"),
|
|
673
672
|
value: 4
|
|
674
673
|
},
|
|
675
674
|
{
|
|
676
|
-
label:
|
|
675
|
+
label: a(h)("booking.reservation.nameTitleDr"),
|
|
677
676
|
value: 5
|
|
678
677
|
}
|
|
679
678
|
],
|
|
@@ -682,13 +681,13 @@ const fn = /* @__PURE__ */ te(hn, [["__scopeId", "data-v-fc900ad2"]]), mn = /* @
|
|
|
682
681
|
"input-style": c.inputStyle,
|
|
683
682
|
searchable: !1
|
|
684
683
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly", "input-style"])),
|
|
685
|
-
T(
|
|
684
|
+
T(re, {
|
|
686
685
|
modelValue: r.value,
|
|
687
686
|
"onUpdate:modelValue": m[1] || (m[1] = (g) => r.value = g),
|
|
688
687
|
type: "text",
|
|
689
688
|
name: "name",
|
|
690
689
|
autocomplete: "name",
|
|
691
|
-
id:
|
|
690
|
+
id: a(u),
|
|
692
691
|
icon: c.excludeTitle ? c.icon : void 0,
|
|
693
692
|
"icon-color": c.iconColor,
|
|
694
693
|
"icon-type": c.iconType,
|
|
@@ -696,7 +695,7 @@ const fn = /* @__PURE__ */ te(hn, [["__scopeId", "data-v-fc900ad2"]]), mn = /* @
|
|
|
696
695
|
required: c.required,
|
|
697
696
|
readonly: c.readonly,
|
|
698
697
|
limit: c.limit,
|
|
699
|
-
onInput: m[2] || (m[2] = (g) =>
|
|
698
|
+
onInput: m[2] || (m[2] = (g) => l()),
|
|
700
699
|
"input-style": c.inputStyle
|
|
701
700
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "placeholder", "required", "readonly", "limit", "input-style"])
|
|
702
701
|
], 2)
|
|
@@ -705,26 +704,26 @@ const fn = /* @__PURE__ */ te(hn, [["__scopeId", "data-v-fc900ad2"]]), mn = /* @
|
|
|
705
704
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
706
705
|
}
|
|
707
706
|
});
|
|
708
|
-
const
|
|
707
|
+
const vn = /* @__PURE__ */ te(yn, [["__scopeId", "data-v-78b0b319"]]), _n = { class: "hotel-listing" }, bn = { class: "hotel-listing-content-gallery" }, kn = { class: "hotel-listing-content-thumbs" }, xn = { class: "hotel-listing-content" }, In = { class: "hotel-listing-content-header" }, En = { class: "hotel-listing-content-title" }, Tn = { class: "hotel-listing-content-body" }, $n = { class: "hotel-listing-content-facilities" }, Sn = /* @__PURE__ */ Q({
|
|
709
708
|
__name: "Listing",
|
|
710
709
|
setup(n) {
|
|
711
|
-
return (e, t) => (x(), I("div",
|
|
712
|
-
v("div",
|
|
710
|
+
return (e, t) => (x(), I("div", _n, [
|
|
711
|
+
v("div", bn, [
|
|
713
712
|
T(X, {
|
|
714
713
|
width: "280px",
|
|
715
714
|
height: "153px"
|
|
716
715
|
}),
|
|
717
|
-
v("div",
|
|
718
|
-
(x(), I(R, null,
|
|
716
|
+
v("div", kn, [
|
|
717
|
+
(x(), I(R, null, W(3, (o) => T(X, {
|
|
719
718
|
key: o,
|
|
720
719
|
width: "84px",
|
|
721
720
|
height: "44px"
|
|
722
721
|
})), 64))
|
|
723
722
|
])
|
|
724
723
|
]),
|
|
725
|
-
v("div",
|
|
726
|
-
v("div",
|
|
727
|
-
v("div",
|
|
724
|
+
v("div", xn, [
|
|
725
|
+
v("div", In, [
|
|
726
|
+
v("div", En, [
|
|
728
727
|
T(X, {
|
|
729
728
|
height: "30px",
|
|
730
729
|
width: "60%"
|
|
@@ -740,7 +739,7 @@ const gn = /* @__PURE__ */ te(mn, [["__scopeId", "data-v-78b0b319"]]), yn = { cl
|
|
|
740
739
|
width: "25%"
|
|
741
740
|
})
|
|
742
741
|
]),
|
|
743
|
-
v("div",
|
|
742
|
+
v("div", Tn, [
|
|
744
743
|
T(X, { height: "15px" }),
|
|
745
744
|
T(X, { height: "15px" }),
|
|
746
745
|
T(X, { height: "15px" }),
|
|
@@ -750,8 +749,8 @@ const gn = /* @__PURE__ */ te(mn, [["__scopeId", "data-v-78b0b319"]]), yn = { cl
|
|
|
750
749
|
width: "90%"
|
|
751
750
|
})
|
|
752
751
|
]),
|
|
753
|
-
v("div",
|
|
754
|
-
(x(), I(R, null,
|
|
752
|
+
v("div", $n, [
|
|
753
|
+
(x(), I(R, null, W(5, (o) => T(X, {
|
|
755
754
|
key: o,
|
|
756
755
|
height: "25px",
|
|
757
756
|
width: "25px",
|
|
@@ -762,50 +761,50 @@ const gn = /* @__PURE__ */ te(mn, [["__scopeId", "data-v-78b0b319"]]), yn = { cl
|
|
|
762
761
|
]));
|
|
763
762
|
}
|
|
764
763
|
});
|
|
765
|
-
const le = /* @__PURE__ */ te(
|
|
764
|
+
const le = /* @__PURE__ */ te(Sn, [["__scopeId", "data-v-5c132d7f"]]), Cn = { class: "hotel-skeleton" }, Vn = { class: "hotel-skeleton-content" }, Pn = { class: "hotel-skeleton-sidebar" }, Bn = /* @__PURE__ */ Q({
|
|
766
765
|
__name: "HotelSkeleton",
|
|
767
766
|
setup(n) {
|
|
768
|
-
return (e, t) => (x(), I("div",
|
|
769
|
-
v("div",
|
|
770
|
-
T(
|
|
767
|
+
return (e, t) => (x(), I("div", Cn, [
|
|
768
|
+
v("div", Vn, [
|
|
769
|
+
T(Ho),
|
|
771
770
|
T(le),
|
|
772
771
|
T(le),
|
|
773
772
|
T(le)
|
|
774
773
|
]),
|
|
775
|
-
v("div",
|
|
776
|
-
T(
|
|
774
|
+
v("div", Pn, [
|
|
775
|
+
T(Do)
|
|
777
776
|
])
|
|
778
777
|
]));
|
|
779
778
|
}
|
|
780
779
|
});
|
|
781
|
-
const
|
|
782
|
-
const
|
|
780
|
+
const Dn = /* @__PURE__ */ te(Bn, [["__scopeId", "data-v-4e50a5a1"]]), Ge = (n) => (_t("data-v-0e9317fc"), n = n(), bt(), n), Ln = { id: "booking-availability-container" }, wn = { id: "booking-availability-controls" };
|
|
781
|
+
const On = {
|
|
783
782
|
key: 1,
|
|
784
783
|
"sticky-container": ""
|
|
785
|
-
},
|
|
786
|
-
const
|
|
784
|
+
}, Hn = { key: 0 };
|
|
785
|
+
const An = { key: 1 }, zn = { key: 0 }, Mn = { key: 0 }, Rn = { id: "booking-availability-listings" }, Nn = {
|
|
787
786
|
key: 1,
|
|
788
787
|
id: "booking-availability-no-listings"
|
|
789
|
-
},
|
|
788
|
+
}, Wn = {
|
|
790
789
|
key: 1,
|
|
791
790
|
id: "booking-availability-no-listings"
|
|
792
|
-
},
|
|
791
|
+
}, Un = {
|
|
793
792
|
key: 2,
|
|
794
793
|
id: "reservation-availability-next-dates"
|
|
795
|
-
},
|
|
796
|
-
const
|
|
794
|
+
}, Fn = { class: "reservation-special-offers-grid" }, qn = ["title"];
|
|
795
|
+
const Gn = {
|
|
797
796
|
key: 2,
|
|
798
797
|
class: "konnectio-listing-loading"
|
|
799
|
-
},
|
|
798
|
+
}, jn = { class: "fresh-booking-panel" }, Yn = {
|
|
800
799
|
key: 0,
|
|
801
800
|
id: "konnectio-hotel-addons"
|
|
802
|
-
},
|
|
803
|
-
const
|
|
801
|
+
}, Qn = /* @__PURE__ */ Ge(() => /* @__PURE__ */ v("th", { class: "fresh-booking-event-addons-input" }, null, -1)), Kn = { class: "fresh-booking-event-addons-price" }, Jn = { key: 1 }, Xn = /* @__PURE__ */ Ge(() => /* @__PURE__ */ v("br", null, null, -1)), Zn = /* @__PURE__ */ Ge(() => /* @__PURE__ */ v("td", null, null, -1));
|
|
802
|
+
const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 }, ni = { key: 1 }, ii = { class: "fresh-booking-split-inputs" }, ri = ["onClick"], si = /* @__PURE__ */ Q({
|
|
804
803
|
name: "HotelLayout",
|
|
805
804
|
__name: "Hotel",
|
|
806
805
|
props: {
|
|
807
806
|
accessToken: {},
|
|
808
|
-
headerLayout: { default:
|
|
807
|
+
headerLayout: { default: go.Minimal },
|
|
809
808
|
styling: {}
|
|
810
809
|
},
|
|
811
810
|
setup(n) {
|
|
@@ -815,13 +814,13 @@ const Kn = ["onClick"], Jn = { class: "fresh-booking-panel" }, Xn = { key: 0 },
|
|
|
815
814
|
countries: u,
|
|
816
815
|
areListingsLoading: r,
|
|
817
816
|
isAvailabilityDataAvailable: p,
|
|
818
|
-
isPaymentLoading:
|
|
817
|
+
isPaymentLoading: l,
|
|
819
818
|
isReservationFormFilled: h,
|
|
820
819
|
selectedPackage: c,
|
|
821
820
|
travelingFor: m,
|
|
822
821
|
arrivalTime: g,
|
|
823
822
|
departureTime: k,
|
|
824
|
-
name:
|
|
823
|
+
name: s,
|
|
825
824
|
nameTitle: _,
|
|
826
825
|
email: b,
|
|
827
826
|
phone: f,
|
|
@@ -838,143 +837,144 @@ const Kn = ["onClick"], Jn = { class: "fresh-booking-panel" }, Xn = { key: 0 },
|
|
|
838
837
|
hasValidRoomSelection: q,
|
|
839
838
|
//canStartReservation,
|
|
840
839
|
getSelectedPackageRoom: U,
|
|
841
|
-
availabilityData:
|
|
840
|
+
availabilityData: A,
|
|
841
|
+
selectionHasNoAddons: ne
|
|
842
842
|
} = ee(me()), {
|
|
843
|
-
arrivalDate:
|
|
844
|
-
departureDate:
|
|
845
|
-
} = ee(
|
|
846
|
-
currency:
|
|
847
|
-
isRecaptchaEnabled:
|
|
848
|
-
disableNewsletterSignup:
|
|
849
|
-
arrivalEarliest:
|
|
850
|
-
arrivalLatest:
|
|
851
|
-
departureEarliest:
|
|
852
|
-
departureLatest:
|
|
853
|
-
enableTracking:
|
|
854
|
-
arrivalDefault:
|
|
855
|
-
departureDefault:
|
|
856
|
-
enablePackages:
|
|
857
|
-
hideArrivalDepartureInputs:
|
|
858
|
-
disableArrivalUserSelection:
|
|
859
|
-
disableNamePrefix:
|
|
860
|
-
disableDepartureUserSelection:
|
|
861
|
-
disableTravelingFor:
|
|
862
|
-
disableCompanyField:
|
|
863
|
-
hasPaymentGateway:
|
|
864
|
-
} = ee(
|
|
865
|
-
|
|
866
|
-
const { beginCheckout:
|
|
867
|
-
initialize:
|
|
868
|
-
createReservation:
|
|
869
|
-
getSingleListing:
|
|
870
|
-
} = me(),
|
|
871
|
-
const
|
|
872
|
-
|
|
843
|
+
arrivalDate: K,
|
|
844
|
+
departureDate: Ot
|
|
845
|
+
} = ee(yt()), {
|
|
846
|
+
currency: Ke,
|
|
847
|
+
isRecaptchaEnabled: lr,
|
|
848
|
+
disableNewsletterSignup: Ht,
|
|
849
|
+
arrivalEarliest: At,
|
|
850
|
+
arrivalLatest: zt,
|
|
851
|
+
departureEarliest: Mt,
|
|
852
|
+
departureLatest: Rt,
|
|
853
|
+
enableTracking: Nt,
|
|
854
|
+
arrivalDefault: Wt,
|
|
855
|
+
departureDefault: Ut,
|
|
856
|
+
enablePackages: ur,
|
|
857
|
+
hideArrivalDepartureInputs: Ft,
|
|
858
|
+
disableArrivalUserSelection: Se,
|
|
859
|
+
disableNamePrefix: qt,
|
|
860
|
+
disableDepartureUserSelection: Ce,
|
|
861
|
+
disableTravelingFor: Gt,
|
|
862
|
+
disableCompanyField: jt,
|
|
863
|
+
hasPaymentGateway: Yt
|
|
864
|
+
} = ee(Ee());
|
|
865
|
+
yo();
|
|
866
|
+
const { beginCheckout: Qt } = kt(), {
|
|
867
|
+
initialize: Kt,
|
|
868
|
+
createReservation: Jt,
|
|
869
|
+
getSingleListing: dr
|
|
870
|
+
} = me(), Xt = ae(!0), Zt = j(() => {
|
|
871
|
+
const N = A.value.roomGroups.slice();
|
|
872
|
+
N.forEach((J) => {
|
|
873
873
|
J.pricesFrom = J.rates.reduce(
|
|
874
|
-
(
|
|
874
|
+
(z, $) => z < $.rackRate ? z : $.rackRate,
|
|
875
875
|
1 / 0
|
|
876
876
|
);
|
|
877
877
|
});
|
|
878
|
-
function P(J,
|
|
879
|
-
return
|
|
878
|
+
function P(J, z) {
|
|
879
|
+
return Xt.value === !0 ? J.pricesFrom > z.pricesFrom ? -1 : 1 : J.pricesFrom > z.pricesFrom ? 1 : -1;
|
|
880
880
|
}
|
|
881
|
-
return
|
|
882
|
-
}),
|
|
883
|
-
parseInt(
|
|
884
|
-
parseInt(
|
|
885
|
-
]]),
|
|
886
|
-
parseInt(
|
|
887
|
-
parseInt(
|
|
881
|
+
return N.sort(P);
|
|
882
|
+
}), eo = j(() => [[
|
|
883
|
+
parseInt(At.value.split(":")[0]),
|
|
884
|
+
parseInt(zt.value.split(":")[0])
|
|
885
|
+
]]), to = j(() => [[
|
|
886
|
+
parseInt(Mt.value.split(":")[0]),
|
|
887
|
+
parseInt(Rt.value.split(":")[0])
|
|
888
888
|
]]);
|
|
889
|
-
function
|
|
890
|
-
t.value =
|
|
889
|
+
function cr(N) {
|
|
890
|
+
t.value = N;
|
|
891
891
|
}
|
|
892
|
-
function
|
|
892
|
+
function oo() {
|
|
893
893
|
t.value = NaN;
|
|
894
894
|
}
|
|
895
|
-
function
|
|
896
|
-
|
|
895
|
+
function Je(N) {
|
|
896
|
+
ne.value ? N(2) : N();
|
|
897
897
|
}
|
|
898
|
-
function
|
|
899
|
-
|
|
898
|
+
function no(N, P) {
|
|
899
|
+
Ot.value = new Date(P), K.value = new Date(N), location.reload();
|
|
900
900
|
}
|
|
901
|
-
async function
|
|
902
|
-
await
|
|
901
|
+
async function io(N) {
|
|
902
|
+
await Jt(N);
|
|
903
903
|
}
|
|
904
|
-
function
|
|
905
|
-
|
|
904
|
+
function ro(N) {
|
|
905
|
+
Nt && Qt(), ne.value ? N(2) : N();
|
|
906
906
|
}
|
|
907
|
-
function
|
|
908
|
-
g.value === "" && (g.value =
|
|
907
|
+
function so() {
|
|
908
|
+
g.value === "" && (g.value = Wt.value), k.value === "" && (k.value = Ut.value);
|
|
909
909
|
}
|
|
910
|
-
return
|
|
911
|
-
|
|
912
|
-
}), (
|
|
910
|
+
return $e(() => {
|
|
911
|
+
Kt(), so();
|
|
912
|
+
}), (N, P) => (x(), M(vo, null, {
|
|
913
913
|
default: w(() => [
|
|
914
|
-
T(
|
|
914
|
+
T(bo, {
|
|
915
915
|
id: "fresh-booking-hotel-module",
|
|
916
|
-
"access-token":
|
|
916
|
+
"access-token": N.accessToken,
|
|
917
917
|
type: "hotel",
|
|
918
|
-
styling:
|
|
918
|
+
styling: N.styling
|
|
919
919
|
}, {
|
|
920
920
|
default: w(() => [
|
|
921
|
-
T(
|
|
922
|
-
title:
|
|
923
|
-
layout:
|
|
921
|
+
T(Lo, {
|
|
922
|
+
title: a(o),
|
|
923
|
+
layout: N.headerLayout
|
|
924
924
|
}, {
|
|
925
925
|
availability: w(({ next: J }) => [
|
|
926
|
-
T(
|
|
926
|
+
T(Be, null, {
|
|
927
927
|
form: w(() => [
|
|
928
|
-
v("div",
|
|
929
|
-
v("div",
|
|
930
|
-
T(
|
|
928
|
+
v("div", Ln, [
|
|
929
|
+
v("div", wn, [
|
|
930
|
+
T(Ao, { booking: !0 })
|
|
931
931
|
]),
|
|
932
932
|
D("", !0),
|
|
933
|
-
|
|
933
|
+
a(r) ? (x(), I("div", Gn, [
|
|
934
934
|
T(le),
|
|
935
935
|
T(le),
|
|
936
936
|
T(le)
|
|
937
|
-
])) : (x(), I("div",
|
|
938
|
-
|
|
939
|
-
(
|
|
940
|
-
isNaN(
|
|
941
|
-
|
|
942
|
-
|
|
937
|
+
])) : (x(), I("div", On, [
|
|
938
|
+
a(A).roomGroups.length > 0 ? (x(), I("div", Hn, [
|
|
939
|
+
(a(A).templates.length > 0, D("", !0)),
|
|
940
|
+
isNaN(a(t)) ? (x(), I("div", An, [
|
|
941
|
+
a(A).roomGroups.length > 0 ? (x(), I("div", zn, [
|
|
942
|
+
a(A).templates.length > 0 ? (x(), I("h2", Mn, [
|
|
943
943
|
T(Z, {
|
|
944
944
|
icon: "house",
|
|
945
945
|
type: "fal",
|
|
946
946
|
color: "header"
|
|
947
947
|
}),
|
|
948
|
-
v("span", null, V(
|
|
948
|
+
v("span", null, V(a(e)("booking.availability.roomsTitle")), 1)
|
|
949
949
|
])) : D("", !0),
|
|
950
|
-
v("ul",
|
|
951
|
-
(x(!0), I(R, null,
|
|
952
|
-
room:
|
|
950
|
+
v("ul", Rn, [
|
|
951
|
+
(x(!0), I(R, null, W(Zt.value, (z, $) => (x(), M(dn, {
|
|
952
|
+
room: z,
|
|
953
953
|
key: $
|
|
954
954
|
}, null, 8, ["room"]))), 128))
|
|
955
955
|
])
|
|
956
|
-
])) : (x(), I("div",
|
|
957
|
-
v("span", null, V(
|
|
956
|
+
])) : (x(), I("div", Nn, [
|
|
957
|
+
v("span", null, V(a(e)("booking.availability.nothingAvailable")), 1)
|
|
958
958
|
]))
|
|
959
959
|
])) : D("", !0)
|
|
960
|
-
])) :
|
|
961
|
-
v("span", null, V(
|
|
962
|
-
])) : (x(), I("div",
|
|
960
|
+
])) : a(A).nextAvailableDates.length === 0 ? (x(), I("div", Wn, [
|
|
961
|
+
v("span", null, V(a(e)("booking.availability.nothingAvailable")), 1)
|
|
962
|
+
])) : (x(), I("div", Un, [
|
|
963
963
|
v("h2", null, [
|
|
964
964
|
T(Z, {
|
|
965
965
|
icon: "calendar-circle-exclamation",
|
|
966
966
|
type: "fal",
|
|
967
967
|
color: "header"
|
|
968
968
|
}),
|
|
969
|
-
v("span", null, V(
|
|
969
|
+
v("span", null, V(a(e)("booking.availability.nextAvailableDates")), 1)
|
|
970
970
|
]),
|
|
971
|
-
v("ul",
|
|
972
|
-
(x(!0), I(R, null,
|
|
971
|
+
v("ul", Fn, [
|
|
972
|
+
(x(!0), I(R, null, W(a(A).nextAvailableDates, (z, $) => (x(), I("li", { key: $ }, [
|
|
973
973
|
v("h3", {
|
|
974
|
-
title: `${
|
|
974
|
+
title: `${a(se)(z.fromDate)} - ${a(se)(z.toDate)}`
|
|
975
975
|
}, [
|
|
976
|
-
v("span", null, V(`${
|
|
977
|
-
], 8,
|
|
976
|
+
v("span", null, V(`${a(se)(z.fromDate)} - ${a(se)(z.toDate)}`), 1)
|
|
977
|
+
], 8, qn),
|
|
978
978
|
v("ul", null, [
|
|
979
979
|
D("", !0),
|
|
980
980
|
v("li", null, [
|
|
@@ -983,13 +983,13 @@ const Kn = ["onClick"], Jn = { class: "fresh-booking-panel" }, Xn = { key: 0 },
|
|
|
983
983
|
type: "fal",
|
|
984
984
|
color: "header"
|
|
985
985
|
}),
|
|
986
|
-
v("span", null, V(
|
|
986
|
+
v("span", null, V(a(e)("booking.availability.pricesFrom")) + ": " + V(a(ue)(z.priceStartFrom, a(Ke))), 1)
|
|
987
987
|
])
|
|
988
988
|
]),
|
|
989
989
|
T(fe, {
|
|
990
|
-
label:
|
|
990
|
+
label: a(e)("booking.availability.selectDates"),
|
|
991
991
|
"full-width": "",
|
|
992
|
-
onClickEvent: (ce) =>
|
|
992
|
+
onClickEvent: (ce) => no(z.fromDate, z.toDate)
|
|
993
993
|
}, null, 8, ["label", "onClickEvent"])
|
|
994
994
|
]))), 128))
|
|
995
995
|
])
|
|
@@ -998,51 +998,52 @@ const Kn = ["onClick"], Jn = { class: "fresh-booking-panel" }, Xn = { key: 0 },
|
|
|
998
998
|
])
|
|
999
999
|
]),
|
|
1000
1000
|
navigation: w(() => [
|
|
1001
|
-
isNaN(
|
|
1001
|
+
isNaN(a(t)) ? (x(), M(fe, {
|
|
1002
1002
|
key: 0,
|
|
1003
|
-
label:
|
|
1004
|
-
disabled: !
|
|
1003
|
+
label: a(ne) ? a(e)("booking.availability.nextButton") : a(e)("general.chooseAddons"),
|
|
1004
|
+
disabled: !a(q),
|
|
1005
1005
|
"is-loading": !1,
|
|
1006
1006
|
"full-width": "",
|
|
1007
|
-
onClickEvent: (
|
|
1007
|
+
onClickEvent: (z) => ro(J)
|
|
1008
1008
|
}, null, 8, ["label", "disabled", "onClickEvent"])) : (x(), M(fe, {
|
|
1009
1009
|
key: 1,
|
|
1010
|
-
label:
|
|
1010
|
+
label: a(e)("booking.reservation.prevButton"),
|
|
1011
1011
|
"full-width": "",
|
|
1012
|
-
onClickEvent: P[1] || (P[1] = (
|
|
1012
|
+
onClickEvent: P[1] || (P[1] = (z) => oo())
|
|
1013
1013
|
}, null, 8, ["label"]))
|
|
1014
1014
|
]),
|
|
1015
1015
|
_: 2
|
|
1016
1016
|
}, 1024)
|
|
1017
1017
|
]),
|
|
1018
|
-
addons: w(({ next: J, prev:
|
|
1019
|
-
T(
|
|
1018
|
+
addons: w(({ next: J, prev: z }) => [
|
|
1019
|
+
T(Be, null, {
|
|
1020
1020
|
form: w(() => [
|
|
1021
|
-
v("form",
|
|
1021
|
+
v("form", jn, [
|
|
1022
1022
|
v("h2", null, [
|
|
1023
|
-
v("span", null, V(
|
|
1023
|
+
v("span", null, V(a(e)("booking.reservation.addons")), 1)
|
|
1024
1024
|
]),
|
|
1025
1025
|
v("div", null, [
|
|
1026
|
-
isNaN(
|
|
1027
|
-
(x(!0), I(R, null,
|
|
1026
|
+
isNaN(a(t)) ? (x(), I("div", Yn, [
|
|
1027
|
+
(x(!0), I(R, null, W(a(O), ($) => (x(), I("ul", {
|
|
1028
1028
|
key: $.roomGroupID
|
|
1029
1029
|
}, [
|
|
1030
|
-
(x(!0), I(R, null,
|
|
1030
|
+
(x(!0), I(R, null, W($.variants, (ce, pe) => (x(), I("li", {
|
|
1031
1031
|
key: ce.ratePlanID
|
|
1032
1032
|
}, [
|
|
1033
1033
|
v("h4", null, [
|
|
1034
|
-
v("span", null, V(
|
|
1034
|
+
v("span", null, V(a(ve)($.title)), 1)
|
|
1035
1035
|
]),
|
|
1036
|
-
(x(!0), I(R, null,
|
|
1037
|
-
key:
|
|
1036
|
+
(x(!0), I(R, null, W(ce.rooms, (G, Xe) => (x(), I("table", {
|
|
1037
|
+
key: Xe,
|
|
1038
1038
|
class: "fresh-booking-table"
|
|
1039
1039
|
}, [
|
|
1040
1040
|
v("thead", null, [
|
|
1041
1041
|
v("tr", null, [
|
|
1042
1042
|
v("th", null, [
|
|
1043
|
-
v("span", null, V(
|
|
1043
|
+
v("span", null, V(a(ve)(ce.name)), 1)
|
|
1044
1044
|
]),
|
|
1045
|
-
|
|
1045
|
+
Qn,
|
|
1046
|
+
v("th", Kn, [
|
|
1046
1047
|
v("b", null, [
|
|
1047
1048
|
T(Z, {
|
|
1048
1049
|
icon: "male",
|
|
@@ -1056,39 +1057,40 @@ const Kn = ["onClick"], Jn = { class: "fresh-booking-panel" }, Xn = { key: 0 },
|
|
|
1056
1057
|
type: "fas",
|
|
1057
1058
|
color: "font"
|
|
1058
1059
|
})) : D("", !0),
|
|
1059
|
-
G.childrenCount > 0 ? (x(), I("span",
|
|
1060
|
+
G.childrenCount > 0 ? (x(), I("span", Jn, V(G.childrenCount), 1)) : D("", !0)
|
|
1060
1061
|
])
|
|
1061
1062
|
])
|
|
1062
1063
|
])
|
|
1063
1064
|
]),
|
|
1064
1065
|
v("tbody", null, [
|
|
1065
|
-
(x(!0), I(R, null,
|
|
1066
|
-
cardinality:
|
|
1067
|
-
quantityStrategy:
|
|
1068
|
-
maximumNumber:
|
|
1066
|
+
(x(!0), I(R, null, W($.addons, ({
|
|
1067
|
+
cardinality: ao,
|
|
1068
|
+
quantityStrategy: lo,
|
|
1069
|
+
maximumNumber: uo,
|
|
1069
1070
|
id: he,
|
|
1070
|
-
name:
|
|
1071
|
-
price:
|
|
1071
|
+
name: co,
|
|
1072
|
+
price: po
|
|
1072
1073
|
}) => (x(), I("tr", { key: he }, [
|
|
1073
1074
|
v("td", null, [
|
|
1074
|
-
v("b", null, V(
|
|
1075
|
-
|
|
1076
|
-
v("span", null, V(
|
|
1075
|
+
v("b", null, V(a(ve)(co)), 1),
|
|
1076
|
+
Xn,
|
|
1077
|
+
v("span", null, V(a(ue)(po, a(Ke))) + " " + V(a(_o)(lo)), 1)
|
|
1077
1078
|
]),
|
|
1078
1079
|
v("td", null, [
|
|
1079
|
-
|
|
1080
|
+
ao === 3 ? (x(), M(Et, {
|
|
1080
1081
|
key: 0,
|
|
1081
|
-
modelValue:
|
|
1082
|
-
"onUpdate:modelValue": (Y) =>
|
|
1082
|
+
modelValue: a(B)[$.roomGroupID][pe].config[G.configIdx].addons[G.roomIdx][he],
|
|
1083
|
+
"onUpdate:modelValue": (Y) => a(B)[$.roomGroupID][pe].config[G.configIdx].addons[G.roomIdx][he] = Y,
|
|
1083
1084
|
small: !0,
|
|
1084
1085
|
"min-value": 0,
|
|
1085
|
-
"max-value":
|
|
1086
|
+
"max-value": uo || 1 / 0
|
|
1086
1087
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (x(), M(Ue, {
|
|
1087
1088
|
key: 1,
|
|
1088
|
-
modelValue:
|
|
1089
|
-
"onUpdate:modelValue": (Y) =>
|
|
1089
|
+
modelValue: a(B)[$.roomGroupID][pe].config[G.configIdx].addons[G.roomIdx][he],
|
|
1090
|
+
"onUpdate:modelValue": (Y) => a(B)[$.roomGroupID][pe].config[G.configIdx].addons[G.roomIdx][he] = Y
|
|
1090
1091
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
1091
1092
|
]),
|
|
1093
|
+
Zn,
|
|
1092
1094
|
D("", !0)
|
|
1093
1095
|
]))), 128))
|
|
1094
1096
|
])
|
|
@@ -1101,184 +1103,184 @@ const Kn = ["onClick"], Jn = { class: "fresh-booking-panel" }, Xn = { key: 0 },
|
|
|
1101
1103
|
]),
|
|
1102
1104
|
navigation: w(() => [
|
|
1103
1105
|
T(fe, {
|
|
1104
|
-
label:
|
|
1106
|
+
label: a(e)("general.startReservation"),
|
|
1105
1107
|
"full-width": "",
|
|
1106
1108
|
onClickEvent: J
|
|
1107
1109
|
}, null, 8, ["label", "onClickEvent"]),
|
|
1108
1110
|
v("button", {
|
|
1109
1111
|
class: "konnectio-abort-reservation link",
|
|
1110
|
-
onClick:
|
|
1112
|
+
onClick: ot(($) => Je(z), ["prevent"])
|
|
1111
1113
|
}, [
|
|
1112
|
-
v("span", null, V(
|
|
1113
|
-
], 8,
|
|
1114
|
+
v("span", null, V(a(e)("general.goAStepBack")), 1)
|
|
1115
|
+
], 8, ei)
|
|
1114
1116
|
]),
|
|
1115
1117
|
_: 2
|
|
1116
1118
|
}, 1024)
|
|
1117
1119
|
]),
|
|
1118
|
-
reservation: w(({ next: J, prev:
|
|
1119
|
-
T(
|
|
1120
|
+
reservation: w(({ next: J, prev: z }) => [
|
|
1121
|
+
T(Be, {
|
|
1120
1122
|
"show-terms-notice": !0,
|
|
1121
1123
|
"show-gift-card": !0
|
|
1122
1124
|
}, {
|
|
1123
1125
|
form: w(() => [
|
|
1124
|
-
v("form",
|
|
1126
|
+
v("form", ti, [
|
|
1125
1127
|
v("h2", null, [
|
|
1126
|
-
v("span", null, V(
|
|
1128
|
+
v("span", null, V(a(e)("booking.reservation.detailsTitle")), 1)
|
|
1127
1129
|
]),
|
|
1128
|
-
!
|
|
1130
|
+
!a(Ft) && !(a(Se) && a(Ce)) ? (x(), I("ul", {
|
|
1129
1131
|
key: 0,
|
|
1130
|
-
class:
|
|
1132
|
+
class: xe({ "fresh-booking-split-inputs": !a(Se) && !a(Ce) })
|
|
1131
1133
|
}, [
|
|
1132
|
-
|
|
1133
|
-
T(
|
|
1134
|
-
modelValue:
|
|
1134
|
+
a(Se) ? D("", !0) : (x(), I("li", oi, [
|
|
1135
|
+
T(it, {
|
|
1136
|
+
modelValue: a(g),
|
|
1135
1137
|
"onUpdate:modelValue": P[2] || (P[2] = ($) => F(g) ? g.value = $ : null),
|
|
1136
|
-
label:
|
|
1138
|
+
label: a(e)("booking.reservation.arrivalTime"),
|
|
1137
1139
|
icon: "hourglass-start",
|
|
1138
|
-
"hour-range":
|
|
1140
|
+
"hour-range": eo.value,
|
|
1139
1141
|
required: ""
|
|
1140
1142
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1141
1143
|
])),
|
|
1142
|
-
|
|
1143
|
-
T(
|
|
1144
|
-
modelValue:
|
|
1144
|
+
a(Ce) ? D("", !0) : (x(), I("li", ni, [
|
|
1145
|
+
T(it, {
|
|
1146
|
+
modelValue: a(k),
|
|
1145
1147
|
"onUpdate:modelValue": P[3] || (P[3] = ($) => F(k) ? k.value = $ : null),
|
|
1146
|
-
label:
|
|
1148
|
+
label: a(e)("booking.reservation.departureTime"),
|
|
1147
1149
|
icon: "hourglass-end",
|
|
1148
|
-
"hour-range":
|
|
1150
|
+
"hour-range": to.value,
|
|
1149
1151
|
required: ""
|
|
1150
1152
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1151
1153
|
]))
|
|
1152
1154
|
], 2)) : D("", !0),
|
|
1153
|
-
T(
|
|
1154
|
-
modelValue:
|
|
1155
|
-
"onUpdate:modelValue": P[4] || (P[4] = ($) => F(
|
|
1156
|
-
title:
|
|
1155
|
+
T(vn, {
|
|
1156
|
+
modelValue: a(s),
|
|
1157
|
+
"onUpdate:modelValue": P[4] || (P[4] = ($) => F(s) ? s.value = $ : null),
|
|
1158
|
+
title: a(_),
|
|
1157
1159
|
"onUpdate:title": P[5] || (P[5] = ($) => F(_) ? _.value = $ : null),
|
|
1158
|
-
"exclude-title":
|
|
1159
|
-
label:
|
|
1160
|
+
"exclude-title": a(qt),
|
|
1161
|
+
label: a(e)("booking.reservation.name"),
|
|
1160
1162
|
icon: "user-alt",
|
|
1161
|
-
placeholder:
|
|
1163
|
+
placeholder: a(e)("booking.reservation.namePlaceholder"),
|
|
1162
1164
|
required: ""
|
|
1163
1165
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
1164
|
-
T(
|
|
1165
|
-
modelValue:
|
|
1166
|
+
T(re, {
|
|
1167
|
+
modelValue: a(b),
|
|
1166
1168
|
"onUpdate:modelValue": P[6] || (P[6] = ($) => F(b) ? b.value = $ : null),
|
|
1167
1169
|
type: "email",
|
|
1168
1170
|
name: "email",
|
|
1169
1171
|
autocomplete: "email",
|
|
1170
|
-
label:
|
|
1172
|
+
label: a(e)("booking.reservation.email"),
|
|
1171
1173
|
icon: "at",
|
|
1172
|
-
placeholder:
|
|
1174
|
+
placeholder: a(e)("booking.reservation.emailPlaceholder"),
|
|
1173
1175
|
required: ""
|
|
1174
1176
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1175
|
-
|
|
1177
|
+
a(Ht) ? D("", !0) : (x(), M(Ue, {
|
|
1176
1178
|
key: 1,
|
|
1177
|
-
modelValue:
|
|
1179
|
+
modelValue: a(C),
|
|
1178
1180
|
"onUpdate:modelValue": P[7] || (P[7] = ($) => F(C) ? C.value = $ : null),
|
|
1179
1181
|
type: "checkbox",
|
|
1180
1182
|
name: "newsletter",
|
|
1181
|
-
label:
|
|
1183
|
+
label: a(e)("booking.reservation.newsletterSignUp")
|
|
1182
1184
|
}, null, 8, ["modelValue", "label"])),
|
|
1183
|
-
|
|
1185
|
+
a(jt) ? D("", !0) : (x(), M(re, {
|
|
1184
1186
|
key: 2,
|
|
1185
|
-
modelValue:
|
|
1187
|
+
modelValue: a(i),
|
|
1186
1188
|
"onUpdate:modelValue": P[8] || (P[8] = ($) => F(i) ? i.value = $ : null),
|
|
1187
1189
|
type: "text",
|
|
1188
1190
|
name: "firm",
|
|
1189
1191
|
autocomplete: "firm",
|
|
1190
|
-
label: `${
|
|
1192
|
+
label: `${a(e)("booking.reservation.companyName")} (${a(e)("booking.reservation.optional")})`,
|
|
1191
1193
|
icon: "id-card",
|
|
1192
|
-
placeholder:
|
|
1194
|
+
placeholder: a(e)("booking.reservation.companyNamePlaceholder")
|
|
1193
1195
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
1194
|
-
T(
|
|
1195
|
-
modelValue:
|
|
1196
|
+
T(Mo, {
|
|
1197
|
+
modelValue: a(f),
|
|
1196
1198
|
"onUpdate:modelValue": P[9] || (P[9] = ($) => F(f) ? f.value = $ : null),
|
|
1197
1199
|
icon: "phone-office",
|
|
1198
|
-
label:
|
|
1199
|
-
placeholder:
|
|
1200
|
+
label: a(e)("booking.reservation.phone"),
|
|
1201
|
+
placeholder: a(e)("booking.reservation.phonePlaceholder"),
|
|
1200
1202
|
required: ""
|
|
1201
1203
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1202
|
-
T(
|
|
1203
|
-
modelValue:
|
|
1204
|
+
T(hn, {
|
|
1205
|
+
modelValue: a(S),
|
|
1204
1206
|
"onUpdate:modelValue": P[10] || (P[10] = ($) => F(S) ? S.value = $ : null),
|
|
1205
|
-
label:
|
|
1206
|
-
placeholder:
|
|
1207
|
-
options:
|
|
1207
|
+
label: a(e)("booking.reservation.country"),
|
|
1208
|
+
placeholder: a(e)("booking.reservation.countryPlaceholder"),
|
|
1209
|
+
options: a(u),
|
|
1208
1210
|
required: ""
|
|
1209
1211
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
1210
|
-
T(
|
|
1211
|
-
modelValue:
|
|
1212
|
+
T(re, {
|
|
1213
|
+
modelValue: a(E),
|
|
1212
1214
|
"onUpdate:modelValue": P[11] || (P[11] = ($) => F(E) ? E.value = $ : null),
|
|
1213
1215
|
type: "textarea",
|
|
1214
1216
|
name: "address",
|
|
1215
1217
|
autocomplete: "street-address",
|
|
1216
|
-
label:
|
|
1218
|
+
label: a(e)("booking.reservation.streetAddress"),
|
|
1217
1219
|
icon: "map-marked",
|
|
1218
|
-
placeholder:
|
|
1220
|
+
placeholder: a(e)("booking.reservation.streetAddressPlaceholder"),
|
|
1219
1221
|
required: ""
|
|
1220
1222
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1221
|
-
v("ul",
|
|
1223
|
+
v("ul", ii, [
|
|
1222
1224
|
v("li", null, [
|
|
1223
|
-
T(
|
|
1224
|
-
modelValue:
|
|
1225
|
+
T(re, {
|
|
1226
|
+
modelValue: a(d),
|
|
1225
1227
|
"onUpdate:modelValue": P[12] || (P[12] = ($) => F(d) ? d.value = $ : null),
|
|
1226
1228
|
type: "text",
|
|
1227
1229
|
name: "postal",
|
|
1228
1230
|
autocomplete: "postal-code",
|
|
1229
|
-
label:
|
|
1231
|
+
label: a(e)("booking.reservation.postal"),
|
|
1230
1232
|
icon: "mailbox",
|
|
1231
|
-
placeholder:
|
|
1233
|
+
placeholder: a(e)("booking.reservation.postalPlaceholder"),
|
|
1232
1234
|
required: ""
|
|
1233
1235
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1234
1236
|
]),
|
|
1235
1237
|
v("li", null, [
|
|
1236
|
-
T(
|
|
1237
|
-
modelValue:
|
|
1238
|
+
T(re, {
|
|
1239
|
+
modelValue: a(y),
|
|
1238
1240
|
"onUpdate:modelValue": P[13] || (P[13] = ($) => F(y) ? y.value = $ : null),
|
|
1239
1241
|
type: "text",
|
|
1240
1242
|
name: "city",
|
|
1241
1243
|
autocomplete: "address-level2",
|
|
1242
|
-
label:
|
|
1244
|
+
label: a(e)("booking.reservation.city"),
|
|
1243
1245
|
icon: "city",
|
|
1244
|
-
placeholder:
|
|
1246
|
+
placeholder: a(e)("booking.reservation.cityPlaceholder"),
|
|
1245
1247
|
required: ""
|
|
1246
1248
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1247
1249
|
])
|
|
1248
1250
|
]),
|
|
1249
|
-
T(
|
|
1250
|
-
modelValue:
|
|
1251
|
+
T(re, {
|
|
1252
|
+
modelValue: a(L),
|
|
1251
1253
|
"onUpdate:modelValue": P[14] || (P[14] = ($) => F(L) ? L.value = $ : null),
|
|
1252
1254
|
type: "textarea",
|
|
1253
|
-
label: `${
|
|
1255
|
+
label: `${a(e)("booking.reservation.remark")} (${a(e)("booking.reservation.optional")})`,
|
|
1254
1256
|
icon: "info-circle",
|
|
1255
|
-
placeholder:
|
|
1257
|
+
placeholder: a(e)("booking.reservation.remarkPlaceholder")
|
|
1256
1258
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1257
|
-
T(
|
|
1258
|
-
modelValue:
|
|
1259
|
+
T(re, {
|
|
1260
|
+
modelValue: a(H),
|
|
1259
1261
|
"onUpdate:modelValue": P[15] || (P[15] = ($) => F(H) ? H.value = $ : null),
|
|
1260
1262
|
type: "textarea",
|
|
1261
|
-
label: `${
|
|
1263
|
+
label: `${a(e)("booking.reservation.allergies")} (${a(e)("booking.reservation.optional")})`,
|
|
1262
1264
|
icon: "allergies",
|
|
1263
|
-
placeholder:
|
|
1265
|
+
placeholder: a(e)("booking.reservation.allergiesPlaceholder")
|
|
1264
1266
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1265
|
-
|
|
1267
|
+
a(Gt) ? D("", !0) : (x(), M(gn, {
|
|
1266
1268
|
key: 3,
|
|
1267
|
-
modelValue:
|
|
1269
|
+
modelValue: a(m),
|
|
1268
1270
|
"onUpdate:modelValue": P[16] || (P[16] = ($) => F(m) ? m.value = $ : null),
|
|
1269
|
-
label: `${
|
|
1271
|
+
label: `${a(e)("booking.reservation.purposeOfStay")} (${a(e)("booking.reservation.optional")})`,
|
|
1270
1272
|
name: "travelingFor",
|
|
1271
1273
|
checkboxes: [
|
|
1272
1274
|
{
|
|
1273
|
-
label:
|
|
1275
|
+
label: a(e)("booking.reservation.business"),
|
|
1274
1276
|
value: "Business"
|
|
1275
1277
|
},
|
|
1276
1278
|
{
|
|
1277
|
-
label:
|
|
1279
|
+
label: a(e)("booking.reservation.pleasure"),
|
|
1278
1280
|
value: "Pleasure"
|
|
1279
1281
|
},
|
|
1280
1282
|
{
|
|
1281
|
-
label:
|
|
1283
|
+
label: a(e)("booking.reservation.bleasure"),
|
|
1282
1284
|
value: "Bleasure"
|
|
1283
1285
|
}
|
|
1284
1286
|
]
|
|
@@ -1288,29 +1290,29 @@ const Kn = ["onClick"], Jn = { class: "fresh-booking-panel" }, Xn = { key: 0 },
|
|
|
1288
1290
|
navigation: w(() => [
|
|
1289
1291
|
v("div", null, [
|
|
1290
1292
|
T(fe, {
|
|
1291
|
-
label:
|
|
1292
|
-
disabled: !
|
|
1293
|
-
"is-loading": l
|
|
1293
|
+
label: a(Yt) ? a(e)("booking.reservation.nextButton") : a(e)("general.confirmReservation"),
|
|
1294
|
+
disabled: !a(h),
|
|
1295
|
+
"is-loading": a(l),
|
|
1294
1296
|
"full-width": "",
|
|
1295
|
-
onClickEvent: ($) =>
|
|
1297
|
+
onClickEvent: ($) => io(J)
|
|
1296
1298
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
|
|
1297
1299
|
v("button", {
|
|
1298
1300
|
class: "konnectio-abort-reservation link",
|
|
1299
|
-
onClick:
|
|
1301
|
+
onClick: ot(($) => Je(z), ["prevent"])
|
|
1300
1302
|
}, [
|
|
1301
|
-
v("span", null, V(
|
|
1302
|
-
], 8,
|
|
1303
|
+
v("span", null, V(a(e)("general.goAStepBack")), 1)
|
|
1304
|
+
], 8, ri)
|
|
1303
1305
|
])
|
|
1304
1306
|
]),
|
|
1305
1307
|
_: 2
|
|
1306
1308
|
}, 1024)
|
|
1307
1309
|
]),
|
|
1308
1310
|
payment: w(() => [
|
|
1309
|
-
T(
|
|
1311
|
+
T(Ro)
|
|
1310
1312
|
]),
|
|
1311
1313
|
confirmation: w(() => [
|
|
1312
|
-
T(
|
|
1313
|
-
message:
|
|
1314
|
+
T(wo, {
|
|
1315
|
+
message: a(e)("booking.confirmation.thankYou")
|
|
1314
1316
|
}, null, 8, ["message"])
|
|
1315
1317
|
]),
|
|
1316
1318
|
_: 1
|
|
@@ -1320,19 +1322,19 @@ const Kn = ["onClick"], Jn = { class: "fresh-booking-panel" }, Xn = { key: 0 },
|
|
|
1320
1322
|
}, 8, ["access-token", "styling"])
|
|
1321
1323
|
]),
|
|
1322
1324
|
fallback: w(() => [
|
|
1323
|
-
T(
|
|
1325
|
+
T(Dn)
|
|
1324
1326
|
]),
|
|
1325
1327
|
_: 1
|
|
1326
1328
|
}));
|
|
1327
1329
|
}
|
|
1328
1330
|
});
|
|
1329
|
-
const
|
|
1330
|
-
var
|
|
1331
|
-
function
|
|
1332
|
-
return
|
|
1331
|
+
const ai = /* @__PURE__ */ te(si, [["__scopeId", "data-v-0e9317fc"]]);
|
|
1332
|
+
var St = { exports: {} }, De = { exports: {} }, Le = { exports: {} }, rt;
|
|
1333
|
+
function je() {
|
|
1334
|
+
return rt || (rt = 1, function(n) {
|
|
1333
1335
|
(function(e, t) {
|
|
1334
1336
|
n.exports ? n.exports = t() : e.EvEmitter = t();
|
|
1335
|
-
})(typeof window < "u" ? window :
|
|
1337
|
+
})(typeof window < "u" ? window : Tt, function() {
|
|
1336
1338
|
function e() {
|
|
1337
1339
|
}
|
|
1338
1340
|
var t = e.prototype;
|
|
@@ -1357,8 +1359,8 @@ function Ge() {
|
|
|
1357
1359
|
var r = this._events && this._events[o];
|
|
1358
1360
|
if (!(!r || !r.length)) {
|
|
1359
1361
|
r = r.slice(0), u = u || [];
|
|
1360
|
-
for (var p = this._onceEvents && this._onceEvents[o],
|
|
1361
|
-
var h = r[
|
|
1362
|
+
for (var p = this._onceEvents && this._onceEvents[o], l = 0; l < r.length; l++) {
|
|
1363
|
+
var h = r[l], c = p && p[h];
|
|
1362
1364
|
c && (this.off(o, h), delete p[h]), h.apply(this, u);
|
|
1363
1365
|
}
|
|
1364
1366
|
return this;
|
|
@@ -1367,28 +1369,28 @@ function Ge() {
|
|
|
1367
1369
|
delete this._events, delete this._onceEvents;
|
|
1368
1370
|
}, e;
|
|
1369
1371
|
});
|
|
1370
|
-
}(
|
|
1372
|
+
}(Le)), Le.exports;
|
|
1371
1373
|
}
|
|
1372
|
-
var
|
|
1374
|
+
var we = { exports: {} };
|
|
1373
1375
|
/*!
|
|
1374
1376
|
* getSize v2.0.3
|
|
1375
1377
|
* measure size of elements
|
|
1376
1378
|
* MIT license
|
|
1377
1379
|
*/
|
|
1378
|
-
var
|
|
1379
|
-
function
|
|
1380
|
-
return
|
|
1380
|
+
var st;
|
|
1381
|
+
function Ye() {
|
|
1382
|
+
return st || (st = 1, function(n) {
|
|
1381
1383
|
(function(e, t) {
|
|
1382
1384
|
n.exports ? n.exports = t() : e.getSize = t();
|
|
1383
1385
|
})(window, function() {
|
|
1384
|
-
function t(
|
|
1385
|
-
var _ = parseFloat(
|
|
1386
|
+
function t(s) {
|
|
1387
|
+
var _ = parseFloat(s), b = s.indexOf("%") == -1 && !isNaN(_);
|
|
1386
1388
|
return b && _;
|
|
1387
1389
|
}
|
|
1388
1390
|
function o() {
|
|
1389
1391
|
}
|
|
1390
|
-
var u = typeof console > "u" ? o : function(
|
|
1391
|
-
console.error(
|
|
1392
|
+
var u = typeof console > "u" ? o : function(s) {
|
|
1393
|
+
console.error(s);
|
|
1392
1394
|
}, r = [
|
|
1393
1395
|
"paddingLeft",
|
|
1394
1396
|
"paddingRight",
|
|
@@ -1403,8 +1405,8 @@ function je() {
|
|
|
1403
1405
|
"borderTopWidth",
|
|
1404
1406
|
"borderBottomWidth"
|
|
1405
1407
|
], p = r.length;
|
|
1406
|
-
function
|
|
1407
|
-
for (var
|
|
1408
|
+
function l() {
|
|
1409
|
+
for (var s = {
|
|
1408
1410
|
width: 0,
|
|
1409
1411
|
height: 0,
|
|
1410
1412
|
innerWidth: 0,
|
|
@@ -1413,33 +1415,33 @@ function je() {
|
|
|
1413
1415
|
outerHeight: 0
|
|
1414
1416
|
}, _ = 0; _ < p; _++) {
|
|
1415
1417
|
var b = r[_];
|
|
1416
|
-
|
|
1418
|
+
s[b] = 0;
|
|
1417
1419
|
}
|
|
1418
|
-
return
|
|
1420
|
+
return s;
|
|
1419
1421
|
}
|
|
1420
|
-
function h(
|
|
1421
|
-
var _ = getComputedStyle(
|
|
1422
|
+
function h(s) {
|
|
1423
|
+
var _ = getComputedStyle(s);
|
|
1422
1424
|
return _ || u("Style returned " + _ + ". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"), _;
|
|
1423
1425
|
}
|
|
1424
1426
|
var c = !1, m;
|
|
1425
1427
|
function g() {
|
|
1426
1428
|
if (!c) {
|
|
1427
1429
|
c = !0;
|
|
1428
|
-
var
|
|
1429
|
-
|
|
1430
|
+
var s = document.createElement("div");
|
|
1431
|
+
s.style.width = "200px", s.style.padding = "1px 2px 3px 4px", s.style.borderStyle = "solid", s.style.borderWidth = "1px 2px 3px 4px", s.style.boxSizing = "border-box";
|
|
1430
1432
|
var _ = document.body || document.documentElement;
|
|
1431
|
-
_.appendChild(
|
|
1432
|
-
var b = h(
|
|
1433
|
-
m = Math.round(t(b.width)) == 200, k.isBoxSizeOuter = m, _.removeChild(
|
|
1433
|
+
_.appendChild(s);
|
|
1434
|
+
var b = h(s);
|
|
1435
|
+
m = Math.round(t(b.width)) == 200, k.isBoxSizeOuter = m, _.removeChild(s);
|
|
1434
1436
|
}
|
|
1435
1437
|
}
|
|
1436
|
-
function k(
|
|
1437
|
-
if (g(), typeof
|
|
1438
|
-
var _ = h(
|
|
1438
|
+
function k(s) {
|
|
1439
|
+
if (g(), typeof s == "string" && (s = document.querySelector(s)), !(!s || typeof s != "object" || !s.nodeType)) {
|
|
1440
|
+
var _ = h(s);
|
|
1439
1441
|
if (_.display == "none")
|
|
1440
|
-
return
|
|
1442
|
+
return l();
|
|
1441
1443
|
var b = {};
|
|
1442
|
-
b.width =
|
|
1444
|
+
b.width = s.offsetWidth, b.height = s.offsetHeight;
|
|
1443
1445
|
for (var f = b.isBorderBox = _.boxSizing == "border-box", i = 0; i < p; i++) {
|
|
1444
1446
|
var d = r[i], y = _[d], E = parseFloat(y);
|
|
1445
1447
|
b[d] = isNaN(E) ? 0 : E;
|
|
@@ -1447,17 +1449,17 @@ function je() {
|
|
|
1447
1449
|
var S = b.paddingLeft + b.paddingRight, L = b.paddingTop + b.paddingBottom, H = b.marginLeft + b.marginRight, C = b.marginTop + b.marginBottom, B = b.borderLeftWidth + b.borderRightWidth, O = b.borderTopWidth + b.borderBottomWidth, q = f && m, U = t(_.width);
|
|
1448
1450
|
U !== !1 && (b.width = U + // add padding and border unless it's already including it
|
|
1449
1451
|
(q ? 0 : S + B));
|
|
1450
|
-
var
|
|
1451
|
-
return
|
|
1452
|
+
var A = t(_.height);
|
|
1453
|
+
return A !== !1 && (b.height = A + // add padding and border unless it's already including it
|
|
1452
1454
|
(q ? 0 : L + O)), b.innerWidth = b.width - (S + B), b.innerHeight = b.height - (L + O), b.outerWidth = b.width + H, b.outerHeight = b.height + C, b;
|
|
1453
1455
|
}
|
|
1454
1456
|
}
|
|
1455
1457
|
return k;
|
|
1456
1458
|
});
|
|
1457
|
-
}(
|
|
1459
|
+
}(we)), we.exports;
|
|
1458
1460
|
}
|
|
1459
|
-
var
|
|
1460
|
-
function
|
|
1461
|
+
var Oe = { exports: {} }, He = { exports: {} }, at;
|
|
1462
|
+
function li() {
|
|
1461
1463
|
return at || (at = 1, function(n) {
|
|
1462
1464
|
(function(e, t) {
|
|
1463
1465
|
n.exports ? n.exports = t() : e.matchesSelector = t();
|
|
@@ -1469,61 +1471,61 @@ function ii() {
|
|
|
1469
1471
|
if (o.matchesSelector)
|
|
1470
1472
|
return "matchesSelector";
|
|
1471
1473
|
for (var u = ["webkit", "moz", "ms", "o"], r = 0; r < u.length; r++) {
|
|
1472
|
-
var p = u[r],
|
|
1473
|
-
if (o[
|
|
1474
|
-
return
|
|
1474
|
+
var p = u[r], l = p + "MatchesSelector";
|
|
1475
|
+
if (o[l])
|
|
1476
|
+
return l;
|
|
1475
1477
|
}
|
|
1476
1478
|
}();
|
|
1477
1479
|
return function(u, r) {
|
|
1478
1480
|
return u[t](r);
|
|
1479
1481
|
};
|
|
1480
1482
|
});
|
|
1481
|
-
}(
|
|
1483
|
+
}(He)), He.exports;
|
|
1482
1484
|
}
|
|
1483
|
-
var
|
|
1484
|
-
function
|
|
1485
|
-
return
|
|
1485
|
+
var lt;
|
|
1486
|
+
function ui() {
|
|
1487
|
+
return lt || (lt = 1, function(n) {
|
|
1486
1488
|
(function(e, t) {
|
|
1487
1489
|
n.exports ? n.exports = t(
|
|
1488
1490
|
e,
|
|
1489
|
-
|
|
1491
|
+
li()
|
|
1490
1492
|
) : e.fizzyUIUtils = t(
|
|
1491
1493
|
e,
|
|
1492
1494
|
e.matchesSelector
|
|
1493
1495
|
);
|
|
1494
1496
|
})(window, function(t, o) {
|
|
1495
1497
|
var u = {};
|
|
1496
|
-
u.extend = function(
|
|
1498
|
+
u.extend = function(l, h) {
|
|
1497
1499
|
for (var c in h)
|
|
1498
|
-
|
|
1499
|
-
return
|
|
1500
|
-
}, u.modulo = function(
|
|
1501
|
-
return (
|
|
1500
|
+
l[c] = h[c];
|
|
1501
|
+
return l;
|
|
1502
|
+
}, u.modulo = function(l, h) {
|
|
1503
|
+
return (l % h + h) % h;
|
|
1502
1504
|
};
|
|
1503
1505
|
var r = Array.prototype.slice;
|
|
1504
|
-
u.makeArray = function(
|
|
1505
|
-
if (Array.isArray(
|
|
1506
|
-
return
|
|
1507
|
-
if (
|
|
1506
|
+
u.makeArray = function(l) {
|
|
1507
|
+
if (Array.isArray(l))
|
|
1508
|
+
return l;
|
|
1509
|
+
if (l == null)
|
|
1508
1510
|
return [];
|
|
1509
|
-
var h = typeof
|
|
1510
|
-
return h ? r.call(
|
|
1511
|
-
}, u.removeFrom = function(
|
|
1512
|
-
var c =
|
|
1513
|
-
c != -1 &&
|
|
1514
|
-
}, u.getParent = function(
|
|
1515
|
-
for (;
|
|
1516
|
-
if (
|
|
1517
|
-
return
|
|
1518
|
-
}, u.getQueryElement = function(
|
|
1519
|
-
return typeof
|
|
1520
|
-
}, u.handleEvent = function(
|
|
1521
|
-
var h = "on" +
|
|
1522
|
-
this[h] && this[h](
|
|
1523
|
-
}, u.filterFindElements = function(
|
|
1524
|
-
|
|
1511
|
+
var h = typeof l == "object" && typeof l.length == "number";
|
|
1512
|
+
return h ? r.call(l) : [l];
|
|
1513
|
+
}, u.removeFrom = function(l, h) {
|
|
1514
|
+
var c = l.indexOf(h);
|
|
1515
|
+
c != -1 && l.splice(c, 1);
|
|
1516
|
+
}, u.getParent = function(l, h) {
|
|
1517
|
+
for (; l.parentNode && l != document.body; )
|
|
1518
|
+
if (l = l.parentNode, o(l, h))
|
|
1519
|
+
return l;
|
|
1520
|
+
}, u.getQueryElement = function(l) {
|
|
1521
|
+
return typeof l == "string" ? document.querySelector(l) : l;
|
|
1522
|
+
}, u.handleEvent = function(l) {
|
|
1523
|
+
var h = "on" + l.type;
|
|
1524
|
+
this[h] && this[h](l);
|
|
1525
|
+
}, u.filterFindElements = function(l, h) {
|
|
1526
|
+
l = u.makeArray(l);
|
|
1525
1527
|
var c = [];
|
|
1526
|
-
return
|
|
1528
|
+
return l.forEach(function(m) {
|
|
1527
1529
|
if (m instanceof HTMLElement) {
|
|
1528
1530
|
if (!h) {
|
|
1529
1531
|
c.push(m);
|
|
@@ -1534,30 +1536,30 @@ function ri() {
|
|
|
1534
1536
|
c.push(g[k]);
|
|
1535
1537
|
}
|
|
1536
1538
|
}), c;
|
|
1537
|
-
}, u.debounceMethod = function(
|
|
1539
|
+
}, u.debounceMethod = function(l, h, c) {
|
|
1538
1540
|
c = c || 100;
|
|
1539
|
-
var m =
|
|
1540
|
-
|
|
1541
|
+
var m = l.prototype[h], g = h + "Timeout";
|
|
1542
|
+
l.prototype[h] = function() {
|
|
1541
1543
|
var k = this[g];
|
|
1542
1544
|
clearTimeout(k);
|
|
1543
|
-
var
|
|
1545
|
+
var s = arguments, _ = this;
|
|
1544
1546
|
this[g] = setTimeout(function() {
|
|
1545
|
-
m.apply(_,
|
|
1547
|
+
m.apply(_, s), delete _[g];
|
|
1546
1548
|
}, c);
|
|
1547
1549
|
};
|
|
1548
|
-
}, u.docReady = function(
|
|
1550
|
+
}, u.docReady = function(l) {
|
|
1549
1551
|
var h = document.readyState;
|
|
1550
|
-
h == "complete" || h == "interactive" ? setTimeout(
|
|
1551
|
-
}, u.toDashed = function(
|
|
1552
|
-
return
|
|
1552
|
+
h == "complete" || h == "interactive" ? setTimeout(l) : document.addEventListener("DOMContentLoaded", l);
|
|
1553
|
+
}, u.toDashed = function(l) {
|
|
1554
|
+
return l.replace(/(.)([A-Z])/g, function(h, c, m) {
|
|
1553
1555
|
return c + "-" + m;
|
|
1554
1556
|
}).toLowerCase();
|
|
1555
1557
|
};
|
|
1556
1558
|
var p = t.console;
|
|
1557
|
-
return u.htmlInit = function(
|
|
1559
|
+
return u.htmlInit = function(l, h) {
|
|
1558
1560
|
u.docReady(function() {
|
|
1559
|
-
var c = u.toDashed(h), m = "data-" + c, g = document.querySelectorAll("[" + m + "]"), k = document.querySelectorAll(".js-" + c),
|
|
1560
|
-
|
|
1561
|
+
var c = u.toDashed(h), m = "data-" + c, g = document.querySelectorAll("[" + m + "]"), k = document.querySelectorAll(".js-" + c), s = u.makeArray(g).concat(u.makeArray(k)), _ = m + "-options", b = t.jQuery;
|
|
1562
|
+
s.forEach(function(f) {
|
|
1561
1563
|
var i = f.getAttribute(m) || f.getAttribute(_), d;
|
|
1562
1564
|
try {
|
|
1563
1565
|
d = i && JSON.parse(i);
|
|
@@ -1565,21 +1567,21 @@ function ri() {
|
|
|
1565
1567
|
p && p.error("Error parsing " + m + " on " + f.className + ": " + E);
|
|
1566
1568
|
return;
|
|
1567
1569
|
}
|
|
1568
|
-
var y = new
|
|
1570
|
+
var y = new l(f, d);
|
|
1569
1571
|
b && b.data(f, h, y);
|
|
1570
1572
|
});
|
|
1571
1573
|
});
|
|
1572
1574
|
}, u;
|
|
1573
1575
|
});
|
|
1574
|
-
}(
|
|
1576
|
+
}(Oe)), Oe.exports;
|
|
1575
1577
|
}
|
|
1576
|
-
var Ae = { exports: {} },
|
|
1577
|
-
function
|
|
1578
|
-
return
|
|
1578
|
+
var Ae = { exports: {} }, ut;
|
|
1579
|
+
function di() {
|
|
1580
|
+
return ut || (ut = 1, function(n) {
|
|
1579
1581
|
(function(e, t) {
|
|
1580
1582
|
n.exports ? n.exports = t(
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
+
je(),
|
|
1584
|
+
Ye()
|
|
1583
1585
|
) : (e.Outlayer = {}, e.Outlayer.Item = t(
|
|
1584
1586
|
e.EvEmitter,
|
|
1585
1587
|
e.getSize
|
|
@@ -1590,11 +1592,11 @@ function ai() {
|
|
|
1590
1592
|
return !1;
|
|
1591
1593
|
return i = null, !0;
|
|
1592
1594
|
}
|
|
1593
|
-
var r = document.documentElement.style, p = typeof r.transition == "string" ? "transition" : "WebkitTransition",
|
|
1595
|
+
var r = document.documentElement.style, p = typeof r.transition == "string" ? "transition" : "WebkitTransition", l = typeof r.transform == "string" ? "transform" : "WebkitTransform", h = {
|
|
1594
1596
|
WebkitTransition: "webkitTransitionEnd",
|
|
1595
1597
|
transition: "transitionend"
|
|
1596
1598
|
}[p], c = {
|
|
1597
|
-
transform:
|
|
1599
|
+
transform: l,
|
|
1598
1600
|
transition: p,
|
|
1599
1601
|
transitionDuration: p + "Duration",
|
|
1600
1602
|
transitionProperty: p + "Property",
|
|
@@ -1683,12 +1685,12 @@ function ai() {
|
|
|
1683
1685
|
return "-" + i.toLowerCase();
|
|
1684
1686
|
});
|
|
1685
1687
|
}
|
|
1686
|
-
var
|
|
1688
|
+
var s = "opacity," + k(l);
|
|
1687
1689
|
g.enableTransition = function() {
|
|
1688
1690
|
if (!this.isTransitioning) {
|
|
1689
1691
|
var f = this.layout.options.transitionDuration;
|
|
1690
1692
|
f = typeof f == "number" ? f + "ms" : f, this.css({
|
|
1691
|
-
transitionProperty:
|
|
1693
|
+
transitionProperty: s,
|
|
1692
1694
|
transitionDuration: f,
|
|
1693
1695
|
transitionDelay: this.staggerDelay || 0
|
|
1694
1696
|
}), this.element.addEventListener(h, this, !1);
|
|
@@ -1785,16 +1787,16 @@ function ai() {
|
|
|
1785
1787
|
* the brains and guts of a layout library
|
|
1786
1788
|
* MIT license
|
|
1787
1789
|
*/
|
|
1788
|
-
var
|
|
1789
|
-
function
|
|
1790
|
-
return
|
|
1790
|
+
var dt;
|
|
1791
|
+
function ci() {
|
|
1792
|
+
return dt || (dt = 1, function(n) {
|
|
1791
1793
|
(function(e, t) {
|
|
1792
1794
|
n.exports ? n.exports = t(
|
|
1793
1795
|
e,
|
|
1794
|
-
Ge(),
|
|
1795
1796
|
je(),
|
|
1796
|
-
|
|
1797
|
-
|
|
1797
|
+
Ye(),
|
|
1798
|
+
ui(),
|
|
1799
|
+
di()
|
|
1798
1800
|
) : e.Outlayer = t(
|
|
1799
1801
|
e,
|
|
1800
1802
|
e.EvEmitter,
|
|
@@ -1803,12 +1805,12 @@ function si() {
|
|
|
1803
1805
|
e.Outlayer.Item
|
|
1804
1806
|
);
|
|
1805
1807
|
})(window, function(t, o, u, r, p) {
|
|
1806
|
-
var
|
|
1808
|
+
var l = t.console, h = t.jQuery, c = function() {
|
|
1807
1809
|
}, m = 0, g = {};
|
|
1808
1810
|
function k(i, d) {
|
|
1809
1811
|
var y = r.getQueryElement(i);
|
|
1810
1812
|
if (!y) {
|
|
1811
|
-
|
|
1813
|
+
l && l.error("Bad element for " + this.constructor.namespace + ": " + (y || i));
|
|
1812
1814
|
return;
|
|
1813
1815
|
}
|
|
1814
1816
|
this.element = y, h && (this.$element = h(this.element)), this.options = r.extend({}, this.constructor.defaults), this.option(d);
|
|
@@ -1837,10 +1839,10 @@ function si() {
|
|
|
1837
1839
|
transform: "scale(1)"
|
|
1838
1840
|
}
|
|
1839
1841
|
};
|
|
1840
|
-
var
|
|
1841
|
-
r.extend(
|
|
1842
|
+
var s = k.prototype;
|
|
1843
|
+
r.extend(s, o.prototype), s.option = function(i) {
|
|
1842
1844
|
r.extend(this.options, i);
|
|
1843
|
-
},
|
|
1845
|
+
}, s._getOption = function(i) {
|
|
1844
1846
|
var d = this.constructor.compatOptions[i];
|
|
1845
1847
|
return d && this.options[d] !== void 0 ? this.options[d] : this.options[i];
|
|
1846
1848
|
}, k.compatOptions = {
|
|
@@ -1852,42 +1854,42 @@ function si() {
|
|
|
1852
1854
|
originTop: "isOriginTop",
|
|
1853
1855
|
resize: "isResizeBound",
|
|
1854
1856
|
resizeContainer: "isResizingContainer"
|
|
1855
|
-
},
|
|
1857
|
+
}, s._create = function() {
|
|
1856
1858
|
this.reloadItems(), this.stamps = [], this.stamp(this.options.stamp), r.extend(this.element.style, this.options.containerStyle);
|
|
1857
1859
|
var i = this._getOption("resize");
|
|
1858
1860
|
i && this.bindResize();
|
|
1859
|
-
},
|
|
1861
|
+
}, s.reloadItems = function() {
|
|
1860
1862
|
this.items = this._itemize(this.element.children);
|
|
1861
|
-
},
|
|
1863
|
+
}, s._itemize = function(i) {
|
|
1862
1864
|
for (var d = this._filterFindItemElements(i), y = this.constructor.Item, E = [], S = 0; S < d.length; S++) {
|
|
1863
1865
|
var L = d[S], H = new y(L, this);
|
|
1864
1866
|
E.push(H);
|
|
1865
1867
|
}
|
|
1866
1868
|
return E;
|
|
1867
|
-
},
|
|
1869
|
+
}, s._filterFindItemElements = function(i) {
|
|
1868
1870
|
return r.filterFindElements(i, this.options.itemSelector);
|
|
1869
|
-
},
|
|
1871
|
+
}, s.getItemElements = function() {
|
|
1870
1872
|
return this.items.map(function(i) {
|
|
1871
1873
|
return i.element;
|
|
1872
1874
|
});
|
|
1873
|
-
},
|
|
1875
|
+
}, s.layout = function() {
|
|
1874
1876
|
this._resetLayout(), this._manageStamps();
|
|
1875
1877
|
var i = this._getOption("layoutInstant"), d = i !== void 0 ? i : !this._isLayoutInited;
|
|
1876
1878
|
this.layoutItems(this.items, d), this._isLayoutInited = !0;
|
|
1877
|
-
},
|
|
1879
|
+
}, s._init = s.layout, s._resetLayout = function() {
|
|
1878
1880
|
this.getSize();
|
|
1879
|
-
},
|
|
1881
|
+
}, s.getSize = function() {
|
|
1880
1882
|
this.size = u(this.element);
|
|
1881
|
-
},
|
|
1883
|
+
}, s._getMeasurement = function(i, d) {
|
|
1882
1884
|
var y = this.options[i], E;
|
|
1883
1885
|
y ? (typeof y == "string" ? E = this.element.querySelector(y) : y instanceof HTMLElement && (E = y), this[i] = E ? u(E)[d] : y) : this[i] = 0;
|
|
1884
|
-
},
|
|
1886
|
+
}, s.layoutItems = function(i, d) {
|
|
1885
1887
|
i = this._getItemsForLayout(i), this._layoutItems(i, d), this._postLayout();
|
|
1886
|
-
},
|
|
1888
|
+
}, s._getItemsForLayout = function(i) {
|
|
1887
1889
|
return i.filter(function(d) {
|
|
1888
1890
|
return !d.isIgnored;
|
|
1889
1891
|
});
|
|
1890
|
-
},
|
|
1892
|
+
}, s._layoutItems = function(i, d) {
|
|
1891
1893
|
if (this._emitCompleteOnItems("layout", i), !(!i || !i.length)) {
|
|
1892
1894
|
var y = [];
|
|
1893
1895
|
i.forEach(function(E) {
|
|
@@ -1895,38 +1897,38 @@ function si() {
|
|
|
1895
1897
|
S.item = E, S.isInstant = d || E.isLayoutInstant, y.push(S);
|
|
1896
1898
|
}, this), this._processLayoutQueue(y);
|
|
1897
1899
|
}
|
|
1898
|
-
},
|
|
1900
|
+
}, s._getItemLayoutPosition = function() {
|
|
1899
1901
|
return {
|
|
1900
1902
|
x: 0,
|
|
1901
1903
|
y: 0
|
|
1902
1904
|
};
|
|
1903
|
-
},
|
|
1905
|
+
}, s._processLayoutQueue = function(i) {
|
|
1904
1906
|
this.updateStagger(), i.forEach(function(d, y) {
|
|
1905
1907
|
this._positionItem(d.item, d.x, d.y, d.isInstant, y);
|
|
1906
1908
|
}, this);
|
|
1907
|
-
},
|
|
1909
|
+
}, s.updateStagger = function() {
|
|
1908
1910
|
var i = this.options.stagger;
|
|
1909
1911
|
if (i == null) {
|
|
1910
1912
|
this.stagger = 0;
|
|
1911
1913
|
return;
|
|
1912
1914
|
}
|
|
1913
1915
|
return this.stagger = f(i), this.stagger;
|
|
1914
|
-
},
|
|
1916
|
+
}, s._positionItem = function(i, d, y, E, S) {
|
|
1915
1917
|
E ? i.goTo(d, y) : (i.stagger(S * this.stagger), i.moveTo(d, y));
|
|
1916
|
-
},
|
|
1918
|
+
}, s._postLayout = function() {
|
|
1917
1919
|
this.resizeContainer();
|
|
1918
|
-
},
|
|
1920
|
+
}, s.resizeContainer = function() {
|
|
1919
1921
|
var i = this._getOption("resizeContainer");
|
|
1920
1922
|
if (i) {
|
|
1921
1923
|
var d = this._getContainerSize();
|
|
1922
1924
|
d && (this._setContainerMeasure(d.width, !0), this._setContainerMeasure(d.height, !1));
|
|
1923
1925
|
}
|
|
1924
|
-
},
|
|
1926
|
+
}, s._getContainerSize = c, s._setContainerMeasure = function(i, d) {
|
|
1925
1927
|
if (i !== void 0) {
|
|
1926
1928
|
var y = this.size;
|
|
1927
1929
|
y.isBorderBox && (i += d ? y.paddingLeft + y.paddingRight + y.borderLeftWidth + y.borderRightWidth : y.paddingBottom + y.paddingTop + y.borderTopWidth + y.borderBottomWidth), i = Math.max(i, 0), this.element.style[d ? "width" : "height"] = i + "px";
|
|
1928
1930
|
}
|
|
1929
|
-
},
|
|
1931
|
+
}, s._emitCompleteOnItems = function(i, d) {
|
|
1930
1932
|
var y = this;
|
|
1931
1933
|
function E() {
|
|
1932
1934
|
y.dispatchEvent(i + "Complete", null, [d]);
|
|
@@ -1943,7 +1945,7 @@ function si() {
|
|
|
1943
1945
|
d.forEach(function(C) {
|
|
1944
1946
|
C.once(i, H);
|
|
1945
1947
|
});
|
|
1946
|
-
},
|
|
1948
|
+
}, s.dispatchEvent = function(i, d, y) {
|
|
1947
1949
|
var E = d ? [d].concat(y) : y;
|
|
1948
1950
|
if (this.emitEvent(i, E), h)
|
|
1949
1951
|
if (this.$element = this.$element || h(this.element), d) {
|
|
@@ -1951,24 +1953,24 @@ function si() {
|
|
|
1951
1953
|
S.type = i, this.$element.trigger(S, y);
|
|
1952
1954
|
} else
|
|
1953
1955
|
this.$element.trigger(i, y);
|
|
1954
|
-
},
|
|
1956
|
+
}, s.ignore = function(i) {
|
|
1955
1957
|
var d = this.getItem(i);
|
|
1956
1958
|
d && (d.isIgnored = !0);
|
|
1957
|
-
},
|
|
1959
|
+
}, s.unignore = function(i) {
|
|
1958
1960
|
var d = this.getItem(i);
|
|
1959
1961
|
d && delete d.isIgnored;
|
|
1960
|
-
},
|
|
1962
|
+
}, s.stamp = function(i) {
|
|
1961
1963
|
i = this._find(i), i && (this.stamps = this.stamps.concat(i), i.forEach(this.ignore, this));
|
|
1962
|
-
},
|
|
1964
|
+
}, s.unstamp = function(i) {
|
|
1963
1965
|
i = this._find(i), i && i.forEach(function(d) {
|
|
1964
1966
|
r.removeFrom(this.stamps, d), this.unignore(d);
|
|
1965
1967
|
}, this);
|
|
1966
|
-
},
|
|
1968
|
+
}, s._find = function(i) {
|
|
1967
1969
|
if (i)
|
|
1968
1970
|
return typeof i == "string" && (i = this.element.querySelectorAll(i)), i = r.makeArray(i), i;
|
|
1969
|
-
},
|
|
1971
|
+
}, s._manageStamps = function() {
|
|
1970
1972
|
!this.stamps || !this.stamps.length || (this._getBoundingRect(), this.stamps.forEach(this._manageStamp, this));
|
|
1971
|
-
},
|
|
1973
|
+
}, s._getBoundingRect = function() {
|
|
1972
1974
|
var i = this.element.getBoundingClientRect(), d = this.size;
|
|
1973
1975
|
this._boundingRect = {
|
|
1974
1976
|
left: i.left + d.paddingLeft + d.borderLeftWidth,
|
|
@@ -1976,7 +1978,7 @@ function si() {
|
|
|
1976
1978
|
right: i.right - (d.paddingRight + d.borderRightWidth),
|
|
1977
1979
|
bottom: i.bottom - (d.paddingBottom + d.borderBottomWidth)
|
|
1978
1980
|
};
|
|
1979
|
-
},
|
|
1981
|
+
}, s._manageStamp = c, s._getElementOffset = function(i) {
|
|
1980
1982
|
var d = i.getBoundingClientRect(), y = this._boundingRect, E = u(i), S = {
|
|
1981
1983
|
left: d.left - y.left - E.marginLeft,
|
|
1982
1984
|
top: d.top - y.top - E.marginTop,
|
|
@@ -1984,68 +1986,68 @@ function si() {
|
|
|
1984
1986
|
bottom: y.bottom - d.bottom - E.marginBottom
|
|
1985
1987
|
};
|
|
1986
1988
|
return S;
|
|
1987
|
-
},
|
|
1989
|
+
}, s.handleEvent = r.handleEvent, s.bindResize = function() {
|
|
1988
1990
|
t.addEventListener("resize", this), this.isResizeBound = !0;
|
|
1989
|
-
},
|
|
1991
|
+
}, s.unbindResize = function() {
|
|
1990
1992
|
t.removeEventListener("resize", this), this.isResizeBound = !1;
|
|
1991
|
-
},
|
|
1993
|
+
}, s.onresize = function() {
|
|
1992
1994
|
this.resize();
|
|
1993
|
-
}, r.debounceMethod(k, "onresize", 100),
|
|
1995
|
+
}, r.debounceMethod(k, "onresize", 100), s.resize = function() {
|
|
1994
1996
|
!this.isResizeBound || !this.needsResizeLayout() || this.layout();
|
|
1995
|
-
},
|
|
1997
|
+
}, s.needsResizeLayout = function() {
|
|
1996
1998
|
var i = u(this.element), d = this.size && i;
|
|
1997
1999
|
return d && i.innerWidth !== this.size.innerWidth;
|
|
1998
|
-
},
|
|
2000
|
+
}, s.addItems = function(i) {
|
|
1999
2001
|
var d = this._itemize(i);
|
|
2000
2002
|
return d.length && (this.items = this.items.concat(d)), d;
|
|
2001
|
-
},
|
|
2003
|
+
}, s.appended = function(i) {
|
|
2002
2004
|
var d = this.addItems(i);
|
|
2003
2005
|
d.length && (this.layoutItems(d, !0), this.reveal(d));
|
|
2004
|
-
},
|
|
2006
|
+
}, s.prepended = function(i) {
|
|
2005
2007
|
var d = this._itemize(i);
|
|
2006
2008
|
if (d.length) {
|
|
2007
2009
|
var y = this.items.slice(0);
|
|
2008
2010
|
this.items = d.concat(y), this._resetLayout(), this._manageStamps(), this.layoutItems(d, !0), this.reveal(d), this.layoutItems(y);
|
|
2009
2011
|
}
|
|
2010
|
-
},
|
|
2012
|
+
}, s.reveal = function(i) {
|
|
2011
2013
|
if (this._emitCompleteOnItems("reveal", i), !(!i || !i.length)) {
|
|
2012
2014
|
var d = this.updateStagger();
|
|
2013
2015
|
i.forEach(function(y, E) {
|
|
2014
2016
|
y.stagger(E * d), y.reveal();
|
|
2015
2017
|
});
|
|
2016
2018
|
}
|
|
2017
|
-
},
|
|
2019
|
+
}, s.hide = function(i) {
|
|
2018
2020
|
if (this._emitCompleteOnItems("hide", i), !(!i || !i.length)) {
|
|
2019
2021
|
var d = this.updateStagger();
|
|
2020
2022
|
i.forEach(function(y, E) {
|
|
2021
2023
|
y.stagger(E * d), y.hide();
|
|
2022
2024
|
});
|
|
2023
2025
|
}
|
|
2024
|
-
},
|
|
2026
|
+
}, s.revealItemElements = function(i) {
|
|
2025
2027
|
var d = this.getItems(i);
|
|
2026
2028
|
this.reveal(d);
|
|
2027
|
-
},
|
|
2029
|
+
}, s.hideItemElements = function(i) {
|
|
2028
2030
|
var d = this.getItems(i);
|
|
2029
2031
|
this.hide(d);
|
|
2030
|
-
},
|
|
2032
|
+
}, s.getItem = function(i) {
|
|
2031
2033
|
for (var d = 0; d < this.items.length; d++) {
|
|
2032
2034
|
var y = this.items[d];
|
|
2033
2035
|
if (y.element == i)
|
|
2034
2036
|
return y;
|
|
2035
2037
|
}
|
|
2036
|
-
},
|
|
2038
|
+
}, s.getItems = function(i) {
|
|
2037
2039
|
i = r.makeArray(i);
|
|
2038
2040
|
var d = [];
|
|
2039
2041
|
return i.forEach(function(y) {
|
|
2040
2042
|
var E = this.getItem(y);
|
|
2041
2043
|
E && d.push(E);
|
|
2042
2044
|
}, this), d;
|
|
2043
|
-
},
|
|
2045
|
+
}, s.remove = function(i) {
|
|
2044
2046
|
var d = this.getItems(i);
|
|
2045
2047
|
this._emitCompleteOnItems("remove", d), !(!d || !d.length) && d.forEach(function(y) {
|
|
2046
2048
|
y.remove(), r.removeFrom(this.items, y);
|
|
2047
2049
|
}, this);
|
|
2048
|
-
},
|
|
2050
|
+
}, s.destroy = function() {
|
|
2049
2051
|
var i = this.element.style;
|
|
2050
2052
|
i.height = "", i.position = "", i.width = "", this.items.forEach(function(y) {
|
|
2051
2053
|
y.destroy();
|
|
@@ -2082,7 +2084,7 @@ function si() {
|
|
|
2082
2084
|
}
|
|
2083
2085
|
return k.Item = p, k;
|
|
2084
2086
|
});
|
|
2085
|
-
}(
|
|
2087
|
+
}(De)), De.exports;
|
|
2086
2088
|
}
|
|
2087
2089
|
/*!
|
|
2088
2090
|
* Masonry v4.2.2
|
|
@@ -2094,8 +2096,8 @@ function si() {
|
|
|
2094
2096
|
(function(n) {
|
|
2095
2097
|
(function(e, t) {
|
|
2096
2098
|
n.exports ? n.exports = t(
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
+
ci(),
|
|
2100
|
+
Ye()
|
|
2099
2101
|
) : e.Masonry = t(
|
|
2100
2102
|
e.Outlayer,
|
|
2101
2103
|
e.getSize
|
|
@@ -2111,56 +2113,56 @@ function si() {
|
|
|
2111
2113
|
this.maxY = 0, this.horizontalColIndex = 0;
|
|
2112
2114
|
}, r.measureColumns = function() {
|
|
2113
2115
|
if (this.getContainerWidth(), !this.columnWidth) {
|
|
2114
|
-
var p = this.items[0],
|
|
2115
|
-
this.columnWidth =
|
|
2116
|
+
var p = this.items[0], l = p && p.element;
|
|
2117
|
+
this.columnWidth = l && o(l).outerWidth || // if first elem has no width, default to size of container
|
|
2116
2118
|
this.containerWidth;
|
|
2117
2119
|
}
|
|
2118
2120
|
var h = this.columnWidth += this.gutter, c = this.containerWidth + this.gutter, m = c / h, g = h - c % h, k = g && g < 1 ? "round" : "floor";
|
|
2119
2121
|
m = Math[k](m), this.cols = Math.max(m, 1);
|
|
2120
2122
|
}, r.getContainerWidth = function() {
|
|
2121
|
-
var p = this._getOption("fitWidth"),
|
|
2123
|
+
var p = this._getOption("fitWidth"), l = p ? this.element.parentNode : this.element, h = o(l);
|
|
2122
2124
|
this.containerWidth = h && h.innerWidth;
|
|
2123
2125
|
}, r._getItemLayoutPosition = function(p) {
|
|
2124
2126
|
p.getSize();
|
|
2125
|
-
var
|
|
2127
|
+
var l = p.size.outerWidth % this.columnWidth, h = l && l < 1 ? "round" : "ceil", c = Math[h](p.size.outerWidth / this.columnWidth);
|
|
2126
2128
|
c = Math.min(c, this.cols);
|
|
2127
2129
|
for (var m = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", g = this[m](c, p), k = {
|
|
2128
2130
|
x: this.columnWidth * g.col,
|
|
2129
2131
|
y: g.y
|
|
2130
|
-
},
|
|
2131
|
-
this.colYs[b] =
|
|
2132
|
+
}, s = g.y + p.size.outerHeight, _ = c + g.col, b = g.col; b < _; b++)
|
|
2133
|
+
this.colYs[b] = s;
|
|
2132
2134
|
return k;
|
|
2133
2135
|
}, r._getTopColPosition = function(p) {
|
|
2134
|
-
var
|
|
2136
|
+
var l = this._getTopColGroup(p), h = Math.min.apply(Math, l);
|
|
2135
2137
|
return {
|
|
2136
|
-
col:
|
|
2138
|
+
col: l.indexOf(h),
|
|
2137
2139
|
y: h
|
|
2138
2140
|
};
|
|
2139
2141
|
}, r._getTopColGroup = function(p) {
|
|
2140
2142
|
if (p < 2)
|
|
2141
2143
|
return this.colYs;
|
|
2142
|
-
for (var
|
|
2143
|
-
|
|
2144
|
-
return
|
|
2145
|
-
}, r._getColGroupY = function(p,
|
|
2146
|
-
if (
|
|
2144
|
+
for (var l = [], h = this.cols + 1 - p, c = 0; c < h; c++)
|
|
2145
|
+
l[c] = this._getColGroupY(c, p);
|
|
2146
|
+
return l;
|
|
2147
|
+
}, r._getColGroupY = function(p, l) {
|
|
2148
|
+
if (l < 2)
|
|
2147
2149
|
return this.colYs[p];
|
|
2148
|
-
var h = this.colYs.slice(p, p +
|
|
2150
|
+
var h = this.colYs.slice(p, p + l);
|
|
2149
2151
|
return Math.max.apply(Math, h);
|
|
2150
|
-
}, r._getHorizontalColPosition = function(p,
|
|
2152
|
+
}, r._getHorizontalColPosition = function(p, l) {
|
|
2151
2153
|
var h = this.horizontalColIndex % this.cols, c = p > 1 && h + p > this.cols;
|
|
2152
2154
|
h = c ? 0 : h;
|
|
2153
|
-
var m =
|
|
2155
|
+
var m = l.size.outerWidth && l.size.outerHeight;
|
|
2154
2156
|
return this.horizontalColIndex = m ? h + p : this.horizontalColIndex, {
|
|
2155
2157
|
col: h,
|
|
2156
2158
|
y: this._getColGroupY(h, p)
|
|
2157
2159
|
};
|
|
2158
2160
|
}, r._manageStamp = function(p) {
|
|
2159
|
-
var
|
|
2161
|
+
var l = o(p), h = this._getElementOffset(p), c = this._getOption("originLeft"), m = c ? h.left : h.right, g = m + l.outerWidth, k = Math.floor(m / this.columnWidth);
|
|
2160
2162
|
k = Math.max(0, k);
|
|
2161
|
-
var
|
|
2162
|
-
|
|
2163
|
-
for (var _ = this._getOption("originTop"), b = (_ ? h.top : h.bottom) +
|
|
2163
|
+
var s = Math.floor(g / this.columnWidth);
|
|
2164
|
+
s -= g % this.columnWidth ? 0 : 1, s = Math.min(this.cols - 1, s);
|
|
2165
|
+
for (var _ = this._getOption("originTop"), b = (_ ? h.top : h.bottom) + l.outerHeight, f = k; f <= s; f++)
|
|
2164
2166
|
this.colYs[f] = Math.max(b, this.colYs[f]);
|
|
2165
2167
|
}, r._getContainerSize = function() {
|
|
2166
2168
|
this.maxY = Math.max.apply(Math, this.colYs);
|
|
@@ -2169,7 +2171,7 @@ function si() {
|
|
|
2169
2171
|
};
|
|
2170
2172
|
return this._getOption("fitWidth") && (p.width = this._getContainerFitWidth()), p;
|
|
2171
2173
|
}, r._getContainerFitWidth = function() {
|
|
2172
|
-
for (var p = 0,
|
|
2174
|
+
for (var p = 0, l = this.cols; --l && this.colYs[l] === 0; )
|
|
2173
2175
|
p++;
|
|
2174
2176
|
return (this.cols - p) * this.columnWidth - this.gutter;
|
|
2175
2177
|
}, r.needsResizeLayout = function() {
|
|
@@ -2177,10 +2179,10 @@ function si() {
|
|
|
2177
2179
|
return this.getContainerWidth(), p != this.containerWidth;
|
|
2178
2180
|
}, u;
|
|
2179
2181
|
});
|
|
2180
|
-
})(
|
|
2181
|
-
var
|
|
2182
|
-
const
|
|
2183
|
-
var
|
|
2182
|
+
})(St);
|
|
2183
|
+
var pi = St.exports;
|
|
2184
|
+
const ct = /* @__PURE__ */ $t(pi);
|
|
2185
|
+
var Ct = { exports: {} };
|
|
2184
2186
|
/*!
|
|
2185
2187
|
* imagesLoaded v4.1.4
|
|
2186
2188
|
* JavaScript is all like "You images are done yet or what?"
|
|
@@ -2190,50 +2192,50 @@ var St = { exports: {} };
|
|
|
2190
2192
|
(function(e, t) {
|
|
2191
2193
|
n.exports ? n.exports = t(
|
|
2192
2194
|
e,
|
|
2193
|
-
|
|
2195
|
+
je()
|
|
2194
2196
|
) : e.imagesLoaded = t(
|
|
2195
2197
|
e,
|
|
2196
2198
|
e.EvEmitter
|
|
2197
2199
|
);
|
|
2198
2200
|
})(
|
|
2199
|
-
typeof window < "u" ? window :
|
|
2201
|
+
typeof window < "u" ? window : Tt,
|
|
2200
2202
|
// -------------------------- factory -------------------------- //
|
|
2201
2203
|
function(t, o) {
|
|
2202
2204
|
var u = t.jQuery, r = t.console;
|
|
2203
|
-
function p(
|
|
2205
|
+
function p(s, _) {
|
|
2204
2206
|
for (var b in _)
|
|
2205
|
-
|
|
2206
|
-
return
|
|
2207
|
+
s[b] = _[b];
|
|
2208
|
+
return s;
|
|
2207
2209
|
}
|
|
2208
|
-
var
|
|
2209
|
-
function h(
|
|
2210
|
-
if (Array.isArray(
|
|
2211
|
-
return
|
|
2212
|
-
var _ = typeof
|
|
2213
|
-
return _ ?
|
|
2210
|
+
var l = Array.prototype.slice;
|
|
2211
|
+
function h(s) {
|
|
2212
|
+
if (Array.isArray(s))
|
|
2213
|
+
return s;
|
|
2214
|
+
var _ = typeof s == "object" && typeof s.length == "number";
|
|
2215
|
+
return _ ? l.call(s) : [s];
|
|
2214
2216
|
}
|
|
2215
|
-
function c(
|
|
2217
|
+
function c(s, _, b) {
|
|
2216
2218
|
if (!(this instanceof c))
|
|
2217
|
-
return new c(
|
|
2218
|
-
var f =
|
|
2219
|
-
if (typeof
|
|
2220
|
-
r.error("Bad element for imagesLoaded " + (f ||
|
|
2219
|
+
return new c(s, _, b);
|
|
2220
|
+
var f = s;
|
|
2221
|
+
if (typeof s == "string" && (f = document.querySelectorAll(s)), !f) {
|
|
2222
|
+
r.error("Bad element for imagesLoaded " + (f || s));
|
|
2221
2223
|
return;
|
|
2222
2224
|
}
|
|
2223
2225
|
this.elements = h(f), this.options = p({}, this.options), typeof _ == "function" ? b = _ : p(this.options, _), b && this.on("always", b), this.getImages(), u && (this.jqDeferred = new u.Deferred()), setTimeout(this.check.bind(this));
|
|
2224
2226
|
}
|
|
2225
2227
|
c.prototype = Object.create(o.prototype), c.prototype.options = {}, c.prototype.getImages = function() {
|
|
2226
2228
|
this.images = [], this.elements.forEach(this.addElementImages, this);
|
|
2227
|
-
}, c.prototype.addElementImages = function(
|
|
2228
|
-
|
|
2229
|
-
var _ =
|
|
2229
|
+
}, c.prototype.addElementImages = function(s) {
|
|
2230
|
+
s.nodeName == "IMG" && this.addImage(s), this.options.background === !0 && this.addElementBackgroundImages(s);
|
|
2231
|
+
var _ = s.nodeType;
|
|
2230
2232
|
if (!(!_ || !m[_])) {
|
|
2231
|
-
for (var b =
|
|
2233
|
+
for (var b = s.querySelectorAll("img"), f = 0; f < b.length; f++) {
|
|
2232
2234
|
var i = b[f];
|
|
2233
2235
|
this.addImage(i);
|
|
2234
2236
|
}
|
|
2235
2237
|
if (typeof this.options.background == "string") {
|
|
2236
|
-
var d =
|
|
2238
|
+
var d = s.querySelectorAll(this.options.background);
|
|
2237
2239
|
for (f = 0; f < d.length; f++) {
|
|
2238
2240
|
var y = d[f];
|
|
2239
2241
|
this.addElementBackgroundImages(y);
|
|
@@ -2246,59 +2248,59 @@ var St = { exports: {} };
|
|
|
2246
2248
|
9: !0,
|
|
2247
2249
|
11: !0
|
|
2248
2250
|
};
|
|
2249
|
-
c.prototype.addElementBackgroundImages = function(
|
|
2250
|
-
var _ = getComputedStyle(
|
|
2251
|
+
c.prototype.addElementBackgroundImages = function(s) {
|
|
2252
|
+
var _ = getComputedStyle(s);
|
|
2251
2253
|
if (_)
|
|
2252
2254
|
for (var b = /url\((['"])?(.*?)\1\)/gi, f = b.exec(_.backgroundImage); f !== null; ) {
|
|
2253
2255
|
var i = f && f[2];
|
|
2254
|
-
i && this.addBackground(i,
|
|
2256
|
+
i && this.addBackground(i, s), f = b.exec(_.backgroundImage);
|
|
2255
2257
|
}
|
|
2256
|
-
}, c.prototype.addImage = function(
|
|
2257
|
-
var _ = new g(
|
|
2258
|
+
}, c.prototype.addImage = function(s) {
|
|
2259
|
+
var _ = new g(s);
|
|
2258
2260
|
this.images.push(_);
|
|
2259
|
-
}, c.prototype.addBackground = function(
|
|
2260
|
-
var b = new k(
|
|
2261
|
+
}, c.prototype.addBackground = function(s, _) {
|
|
2262
|
+
var b = new k(s, _);
|
|
2261
2263
|
this.images.push(b);
|
|
2262
2264
|
}, c.prototype.check = function() {
|
|
2263
|
-
var
|
|
2265
|
+
var s = this;
|
|
2264
2266
|
if (this.progressedCount = 0, this.hasAnyBroken = !1, !this.images.length) {
|
|
2265
2267
|
this.complete();
|
|
2266
2268
|
return;
|
|
2267
2269
|
}
|
|
2268
2270
|
function _(b, f, i) {
|
|
2269
2271
|
setTimeout(function() {
|
|
2270
|
-
|
|
2272
|
+
s.progress(b, f, i);
|
|
2271
2273
|
});
|
|
2272
2274
|
}
|
|
2273
2275
|
this.images.forEach(function(b) {
|
|
2274
2276
|
b.once("progress", _), b.check();
|
|
2275
2277
|
});
|
|
2276
|
-
}, c.prototype.progress = function(
|
|
2277
|
-
this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !
|
|
2278
|
+
}, c.prototype.progress = function(s, _, b) {
|
|
2279
|
+
this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !s.isLoaded, this.emitEvent("progress", [this, s, _]), this.jqDeferred && this.jqDeferred.notify && this.jqDeferred.notify(this, s), this.progressedCount == this.images.length && this.complete(), this.options.debug && r && r.log("progress: " + b, s, _);
|
|
2278
2280
|
}, c.prototype.complete = function() {
|
|
2279
|
-
var
|
|
2280
|
-
if (this.isComplete = !0, this.emitEvent(
|
|
2281
|
+
var s = this.hasAnyBroken ? "fail" : "done";
|
|
2282
|
+
if (this.isComplete = !0, this.emitEvent(s, [this]), this.emitEvent("always", [this]), this.jqDeferred) {
|
|
2281
2283
|
var _ = this.hasAnyBroken ? "reject" : "resolve";
|
|
2282
2284
|
this.jqDeferred[_](this);
|
|
2283
2285
|
}
|
|
2284
2286
|
};
|
|
2285
|
-
function g(
|
|
2286
|
-
this.img =
|
|
2287
|
+
function g(s) {
|
|
2288
|
+
this.img = s;
|
|
2287
2289
|
}
|
|
2288
2290
|
g.prototype = Object.create(o.prototype), g.prototype.check = function() {
|
|
2289
|
-
var
|
|
2290
|
-
if (
|
|
2291
|
+
var s = this.getIsImageComplete();
|
|
2292
|
+
if (s) {
|
|
2291
2293
|
this.confirm(this.img.naturalWidth !== 0, "naturalWidth");
|
|
2292
2294
|
return;
|
|
2293
2295
|
}
|
|
2294
2296
|
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;
|
|
2295
2297
|
}, g.prototype.getIsImageComplete = function() {
|
|
2296
2298
|
return this.img.complete && this.img.naturalWidth;
|
|
2297
|
-
}, g.prototype.confirm = function(
|
|
2298
|
-
this.isLoaded =
|
|
2299
|
-
}, g.prototype.handleEvent = function(
|
|
2300
|
-
var _ = "on" +
|
|
2301
|
-
this[_] && this[_](
|
|
2299
|
+
}, g.prototype.confirm = function(s, _) {
|
|
2300
|
+
this.isLoaded = s, this.emitEvent("progress", [this, this.img, _]);
|
|
2301
|
+
}, g.prototype.handleEvent = function(s) {
|
|
2302
|
+
var _ = "on" + s.type;
|
|
2303
|
+
this[_] && this[_](s);
|
|
2302
2304
|
}, g.prototype.onload = function() {
|
|
2303
2305
|
this.confirm(!0, "onload"), this.unbindEvents();
|
|
2304
2306
|
}, g.prototype.onerror = function() {
|
|
@@ -2306,29 +2308,29 @@ var St = { exports: {} };
|
|
|
2306
2308
|
}, g.prototype.unbindEvents = function() {
|
|
2307
2309
|
this.proxyImage.removeEventListener("load", this), this.proxyImage.removeEventListener("error", this), this.img.removeEventListener("load", this), this.img.removeEventListener("error", this);
|
|
2308
2310
|
};
|
|
2309
|
-
function k(
|
|
2310
|
-
this.url =
|
|
2311
|
+
function k(s, _) {
|
|
2312
|
+
this.url = s, this.element = _, this.img = new Image();
|
|
2311
2313
|
}
|
|
2312
2314
|
return k.prototype = Object.create(g.prototype), k.prototype.check = function() {
|
|
2313
2315
|
this.img.addEventListener("load", this), this.img.addEventListener("error", this), this.img.src = this.url;
|
|
2314
|
-
var
|
|
2315
|
-
|
|
2316
|
+
var s = this.getIsImageComplete();
|
|
2317
|
+
s && (this.confirm(this.img.naturalWidth !== 0, "naturalWidth"), this.unbindEvents());
|
|
2316
2318
|
}, k.prototype.unbindEvents = function() {
|
|
2317
2319
|
this.img.removeEventListener("load", this), this.img.removeEventListener("error", this);
|
|
2318
|
-
}, k.prototype.confirm = function(
|
|
2319
|
-
this.isLoaded =
|
|
2320
|
-
}, c.makeJQueryPlugin = function(
|
|
2321
|
-
|
|
2320
|
+
}, k.prototype.confirm = function(s, _) {
|
|
2321
|
+
this.isLoaded = s, this.emitEvent("progress", [this, this.element, _]);
|
|
2322
|
+
}, c.makeJQueryPlugin = function(s) {
|
|
2323
|
+
s = s || t.jQuery, s && (u = s, u.fn.imagesLoaded = function(_, b) {
|
|
2322
2324
|
var f = new c(this, _, b);
|
|
2323
2325
|
return f.jqDeferred.promise(u(this));
|
|
2324
2326
|
});
|
|
2325
2327
|
}, c.makeJQueryPlugin(), c;
|
|
2326
2328
|
}
|
|
2327
2329
|
);
|
|
2328
|
-
})(
|
|
2329
|
-
var
|
|
2330
|
-
const
|
|
2331
|
-
function
|
|
2330
|
+
})(Ct);
|
|
2331
|
+
var hi = Ct.exports;
|
|
2332
|
+
const fi = /* @__PURE__ */ $t(hi);
|
|
2333
|
+
function mi(n) {
|
|
2332
2334
|
return { all: n = n || /* @__PURE__ */ new Map(), on: function(e, t) {
|
|
2333
2335
|
var o = n.get(e);
|
|
2334
2336
|
o ? o.push(t) : n.set(e, [t]);
|
|
@@ -2357,66 +2359,66 @@ const ge = {
|
|
|
2357
2359
|
"horizontal-order": "horizontalOrder",
|
|
2358
2360
|
stagger: "stagger",
|
|
2359
2361
|
"destroy-delay": "destroyDelay"
|
|
2360
|
-
}, ye = "vuemasonry.itemAdded",
|
|
2362
|
+
}, ye = "vuemasonry.itemAdded", ze = "vuemasonry.itemRemoved", Me = "vuemasonry.imageLoaded", Re = "vuemasonry.destroy", gi = function(n) {
|
|
2361
2363
|
return (n + "").toLowerCase() === "true";
|
|
2362
|
-
},
|
|
2364
|
+
}, yi = function(n) {
|
|
2363
2365
|
return isNaN(n) ? n : parseInt(n);
|
|
2364
|
-
},
|
|
2366
|
+
}, vi = function(n) {
|
|
2365
2367
|
const e = {};
|
|
2366
2368
|
return Array.prototype.slice.call(n).forEach(function(o) {
|
|
2367
|
-
Object.keys(ge).indexOf(o.name) > -1 && (o.name.indexOf("origin") > -1 ? e[ge[o.name]] =
|
|
2369
|
+
Object.keys(ge).indexOf(o.name) > -1 && (o.name.indexOf("origin") > -1 ? e[ge[o.name]] = gi(o.value) : o.name === "column-width" || o.name === "gutter" ? e[ge[o.name]] = yi(o.value) : e[ge[o.name]] = o.value);
|
|
2368
2370
|
}), e;
|
|
2369
|
-
},
|
|
2370
|
-
|
|
2371
|
-
const t =
|
|
2371
|
+
}, Vt = {};
|
|
2372
|
+
Vt.install = function(n, e) {
|
|
2373
|
+
const t = mi(), o = "VueMasonry", u = n;
|
|
2372
2374
|
u.directive("masonry", {
|
|
2373
2375
|
props: ["transitionDuration", " itemSelector", "destroyDelay"],
|
|
2374
2376
|
mounted: function(r, p) {
|
|
2375
|
-
if (!
|
|
2377
|
+
if (!ct)
|
|
2376
2378
|
throw new Error("Masonry plugin is not defined. Please check it's connected and parsed correctly.");
|
|
2377
|
-
const
|
|
2379
|
+
const l = vi(r.attributes), h = new ct(r, l), c = p.value || o, m = l.destroyDelay ? parseInt(l.destroyDelay, 10) : void 0, g = function() {
|
|
2378
2380
|
h.reloadItems(), h.layout();
|
|
2379
2381
|
};
|
|
2380
|
-
|
|
2382
|
+
It(() => {
|
|
2381
2383
|
g();
|
|
2382
2384
|
});
|
|
2383
2385
|
const k = function(_) {
|
|
2384
2386
|
g();
|
|
2385
|
-
},
|
|
2386
|
-
t["off"](`${ye}__${c}`, k), t["off"](`${
|
|
2387
|
+
}, s = function(_) {
|
|
2388
|
+
t["off"](`${ye}__${c}`, k), t["off"](`${ze}__${c}`, k), t["off"](`${Me}__${c}`, k), t["off"](`${Re}__${c}`, s);
|
|
2387
2389
|
const b = m && !Number.isNaN(m) ? m : 0;
|
|
2388
2390
|
setTimeout(function() {
|
|
2389
2391
|
h.destroy();
|
|
2390
2392
|
}, b);
|
|
2391
2393
|
};
|
|
2392
|
-
t["on"](`${ye}__${c}`, k), t["on"](`${
|
|
2394
|
+
t["on"](`${ye}__${c}`, k), t["on"](`${ze}__${c}`, k), t["on"](`${Me}__${c}`, k), t["on"](`${Re}__${c}`, s);
|
|
2393
2395
|
},
|
|
2394
2396
|
unbind: function(r, p) {
|
|
2395
|
-
const
|
|
2396
|
-
t["emit"](`${
|
|
2397
|
+
const l = p.value || o;
|
|
2398
|
+
t["emit"](`${Re}__${l}`);
|
|
2397
2399
|
}
|
|
2398
2400
|
}), u.directive("masonryTile", {
|
|
2399
2401
|
mounted: function(r, p) {
|
|
2400
|
-
const
|
|
2401
|
-
t["emit"](`${ye}__${
|
|
2402
|
+
const l = p.value || o;
|
|
2403
|
+
t["emit"](`${ye}__${l}`, {
|
|
2402
2404
|
element: r
|
|
2403
|
-
}), new
|
|
2404
|
-
t["emit"](`${
|
|
2405
|
+
}), new fi(r, function() {
|
|
2406
|
+
t["emit"](`${Me}__${l}`, {
|
|
2405
2407
|
element: r
|
|
2406
2408
|
});
|
|
2407
2409
|
});
|
|
2408
2410
|
},
|
|
2409
2411
|
unbind: function(r, p) {
|
|
2410
|
-
const
|
|
2411
|
-
t["emit"](`${
|
|
2412
|
+
const l = p.value || o;
|
|
2413
|
+
t["emit"](`${ze}__${l}`, {
|
|
2412
2414
|
element: r
|
|
2413
2415
|
});
|
|
2414
2416
|
}
|
|
2415
2417
|
});
|
|
2416
2418
|
{
|
|
2417
2419
|
const r = function(p) {
|
|
2418
|
-
const
|
|
2419
|
-
t["emit"](`${ye}__${
|
|
2420
|
+
const l = p || o;
|
|
2421
|
+
t["emit"](`${ye}__${l}`);
|
|
2420
2422
|
};
|
|
2421
2423
|
n.config.globalProperties.$redrawVueMasonry = r, n.provide("redrawVueMasonry", r);
|
|
2422
2424
|
}
|
|
@@ -2428,23 +2430,23 @@ function Fe(n, e = {}, t) {
|
|
|
2428
2430
|
}
|
|
2429
2431
|
return e;
|
|
2430
2432
|
}
|
|
2431
|
-
const
|
|
2432
|
-
function
|
|
2433
|
-
const t = e.shift(), o =
|
|
2433
|
+
const _i = { run: (n) => n() }, bi = () => _i, Pt = typeof console.createTask < "u" ? console.createTask : bi;
|
|
2434
|
+
function ki(n, e) {
|
|
2435
|
+
const t = e.shift(), o = Pt(t);
|
|
2434
2436
|
return n.reduce(
|
|
2435
2437
|
(u, r) => u.then(() => o.run(() => r(...e))),
|
|
2436
2438
|
Promise.resolve()
|
|
2437
2439
|
);
|
|
2438
2440
|
}
|
|
2439
|
-
function
|
|
2440
|
-
const t = e.shift(), o =
|
|
2441
|
+
function xi(n, e) {
|
|
2442
|
+
const t = e.shift(), o = Pt(t);
|
|
2441
2443
|
return Promise.all(n.map((u) => o.run(() => u(...e))));
|
|
2442
2444
|
}
|
|
2443
|
-
function
|
|
2445
|
+
function Ne(n, e) {
|
|
2444
2446
|
for (const t of [...n])
|
|
2445
2447
|
t(e);
|
|
2446
2448
|
}
|
|
2447
|
-
class
|
|
2449
|
+
class Ii {
|
|
2448
2450
|
constructor() {
|
|
2449
2451
|
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);
|
|
2450
2452
|
}
|
|
@@ -2513,21 +2515,21 @@ class _i {
|
|
|
2513
2515
|
delete this._hooks[e];
|
|
2514
2516
|
}
|
|
2515
2517
|
callHook(e, ...t) {
|
|
2516
|
-
return t.unshift(e), this.callHookWith(
|
|
2518
|
+
return t.unshift(e), this.callHookWith(ki, e, ...t);
|
|
2517
2519
|
}
|
|
2518
2520
|
callHookParallel(e, ...t) {
|
|
2519
|
-
return t.unshift(e), this.callHookWith(
|
|
2521
|
+
return t.unshift(e), this.callHookWith(xi, e, ...t);
|
|
2520
2522
|
}
|
|
2521
2523
|
callHookWith(e, t, ...o) {
|
|
2522
2524
|
const u = this._before || this._after ? { name: t, args: o, context: {} } : void 0;
|
|
2523
|
-
this._before &&
|
|
2525
|
+
this._before && Ne(this._before, u);
|
|
2524
2526
|
const r = e(
|
|
2525
2527
|
t in this._hooks ? [...this._hooks[t]] : [],
|
|
2526
2528
|
o
|
|
2527
2529
|
);
|
|
2528
2530
|
return r instanceof Promise ? r.finally(() => {
|
|
2529
|
-
this._after && u &&
|
|
2530
|
-
}) : (this._after && u &&
|
|
2531
|
+
this._after && u && Ne(this._after, u);
|
|
2532
|
+
}) : (this._after && u && Ne(this._after, u), r);
|
|
2531
2533
|
}
|
|
2532
2534
|
beforeEach(e) {
|
|
2533
2535
|
return this._before = this._before || [], this._before.push(e), () => {
|
|
@@ -2546,20 +2548,20 @@ class _i {
|
|
|
2546
2548
|
};
|
|
2547
2549
|
}
|
|
2548
2550
|
}
|
|
2549
|
-
function
|
|
2550
|
-
return new
|
|
2551
|
+
function Ei() {
|
|
2552
|
+
return new Ii();
|
|
2551
2553
|
}
|
|
2552
|
-
function
|
|
2554
|
+
function Ti(n) {
|
|
2553
2555
|
return Array.isArray(n) ? n : [n];
|
|
2554
2556
|
}
|
|
2555
|
-
const
|
|
2557
|
+
const $i = ["title", "titleTemplate", "script", "style", "noscript"], _e = [
|
|
2556
2558
|
"base",
|
|
2557
2559
|
"meta",
|
|
2558
2560
|
"link",
|
|
2559
2561
|
"style",
|
|
2560
2562
|
"script",
|
|
2561
2563
|
"noscript"
|
|
2562
|
-
],
|
|
2564
|
+
], Si = [
|
|
2563
2565
|
"title",
|
|
2564
2566
|
"titleTemplate",
|
|
2565
2567
|
"templateParams",
|
|
@@ -2571,19 +2573,19 @@ const xi = ["title", "titleTemplate", "script", "style", "noscript"], be = [
|
|
|
2571
2573
|
"style",
|
|
2572
2574
|
"script",
|
|
2573
2575
|
"noscript"
|
|
2574
|
-
],
|
|
2575
|
-
function
|
|
2576
|
+
], Ci = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], Bt = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "innerHTML", "textContent", "processTemplateParams"], Vi = typeof window < "u";
|
|
2577
|
+
function Qe(n) {
|
|
2576
2578
|
let e = 9;
|
|
2577
2579
|
for (let t = 0; t < n.length; )
|
|
2578
2580
|
e = Math.imul(e ^ n.charCodeAt(t++), 9 ** 9);
|
|
2579
2581
|
return ((e ^ e >>> 9) + 65536).toString(16).substring(1, 8).toLowerCase();
|
|
2580
2582
|
}
|
|
2581
|
-
function
|
|
2582
|
-
return n._h ||
|
|
2583
|
+
function pt(n) {
|
|
2584
|
+
return n._h || Qe(n._d ? n._d : `${n.tag}:${n.textContent || n.innerHTML || ""}:${Object.entries(n.props).map(([e, t]) => `${e}:${String(t)}`).join(",")}`);
|
|
2583
2585
|
}
|
|
2584
|
-
function
|
|
2586
|
+
function Dt(n, e) {
|
|
2585
2587
|
const { props: t, tag: o } = n;
|
|
2586
|
-
if (
|
|
2588
|
+
if (Ci.includes(o))
|
|
2587
2589
|
return o;
|
|
2588
2590
|
if (o === "link" && t.rel === "canonical")
|
|
2589
2591
|
return "canonical";
|
|
@@ -2598,70 +2600,70 @@ function Bt(n, e) {
|
|
|
2598
2600
|
}
|
|
2599
2601
|
return !1;
|
|
2600
2602
|
}
|
|
2601
|
-
function
|
|
2603
|
+
function ht(n, e) {
|
|
2602
2604
|
return n == null ? e || null : typeof n == "function" ? n(e) : n;
|
|
2603
2605
|
}
|
|
2604
|
-
async function
|
|
2606
|
+
async function Pi(n, e, t) {
|
|
2605
2607
|
const o = {
|
|
2606
2608
|
tag: n,
|
|
2607
|
-
props: await
|
|
2609
|
+
props: await Lt(
|
|
2608
2610
|
// explicitly check for an object
|
|
2609
2611
|
// @ts-expect-error untyped
|
|
2610
2612
|
typeof e == "object" && typeof e != "function" && !(e instanceof Promise) ? { ...e } : { [["script", "noscript", "style"].includes(n) ? "innerHTML" : "textContent"]: e },
|
|
2611
2613
|
["templateParams", "titleTemplate"].includes(n)
|
|
2612
2614
|
)
|
|
2613
2615
|
};
|
|
2614
|
-
return
|
|
2616
|
+
return Bt.forEach((u) => {
|
|
2615
2617
|
const r = typeof o.props[u] < "u" ? o.props[u] : t[u];
|
|
2616
|
-
typeof r < "u" && ((!["innerHTML", "textContent"].includes(u) ||
|
|
2618
|
+
typeof r < "u" && ((!["innerHTML", "textContent"].includes(u) || $i.includes(o.tag)) && (o[u] = r), delete o.props[u]);
|
|
2617
2619
|
}), 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((u) => ({ ...o, props: { ...o.props, content: u } })) : o;
|
|
2618
2620
|
}
|
|
2619
|
-
function
|
|
2621
|
+
function Bi(n) {
|
|
2620
2622
|
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(" ");
|
|
2621
2623
|
}
|
|
2622
|
-
async function
|
|
2624
|
+
async function Lt(n, e) {
|
|
2623
2625
|
for (const t of Object.keys(n)) {
|
|
2624
2626
|
if (t === "class") {
|
|
2625
|
-
n[t] =
|
|
2627
|
+
n[t] = Bi(n[t]);
|
|
2626
2628
|
continue;
|
|
2627
2629
|
}
|
|
2628
|
-
if (n[t] instanceof Promise && (n[t] = await n[t]), !e && !
|
|
2630
|
+
if (n[t] instanceof Promise && (n[t] = await n[t]), !e && !Bt.includes(t)) {
|
|
2629
2631
|
const o = String(n[t]), u = t.startsWith("data-");
|
|
2630
2632
|
o === "true" || o === "" ? n[t] = u ? "true" : !0 : n[t] || (u && o === "false" ? n[t] = "false" : delete n[t]);
|
|
2631
2633
|
}
|
|
2632
2634
|
}
|
|
2633
2635
|
return n;
|
|
2634
2636
|
}
|
|
2635
|
-
const
|
|
2636
|
-
async function
|
|
2637
|
+
const Di = 10;
|
|
2638
|
+
async function Li(n) {
|
|
2637
2639
|
const e = [];
|
|
2638
|
-
return Object.entries(n.resolvedInput).filter(([t, o]) => typeof o < "u" &&
|
|
2639
|
-
const u =
|
|
2640
|
-
e.push(...u.map((r) =>
|
|
2641
|
-
}), (await Promise.all(e)).flat().filter(Boolean).map((t, o) => (t._e = n._i, n.mode && (t._m = n.mode), t._p = (n._i <<
|
|
2640
|
+
return Object.entries(n.resolvedInput).filter(([t, o]) => typeof o < "u" && Si.includes(t)).forEach(([t, o]) => {
|
|
2641
|
+
const u = Ti(o);
|
|
2642
|
+
e.push(...u.map((r) => Pi(t, r, n)).flat());
|
|
2643
|
+
}), (await Promise.all(e)).flat().filter(Boolean).map((t, o) => (t._e = n._i, n.mode && (t._m = n.mode), t._p = (n._i << Di) + o, t));
|
|
2642
2644
|
}
|
|
2643
|
-
const
|
|
2645
|
+
const ft = {
|
|
2644
2646
|
// tags
|
|
2645
2647
|
base: -10,
|
|
2646
2648
|
title: 10
|
|
2647
|
-
},
|
|
2649
|
+
}, mt = {
|
|
2648
2650
|
// relative scores to their default values
|
|
2649
2651
|
critical: -80,
|
|
2650
2652
|
high: -10,
|
|
2651
2653
|
low: 20
|
|
2652
2654
|
};
|
|
2653
|
-
function
|
|
2655
|
+
function Ie(n) {
|
|
2654
2656
|
let e = 100;
|
|
2655
2657
|
const t = n.tagPriority;
|
|
2656
|
-
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
|
|
2658
|
+
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);
|
|
2657
2659
|
}
|
|
2658
|
-
const
|
|
2659
|
-
function
|
|
2660
|
+
const wi = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], wt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], ie = "%separator";
|
|
2661
|
+
function be(n, e, t) {
|
|
2660
2662
|
if (typeof n != "string" || !n.includes("%"))
|
|
2661
2663
|
return n;
|
|
2662
2664
|
function o(p) {
|
|
2663
|
-
let
|
|
2664
|
-
return ["s", "pageTitle"].includes(p) ?
|
|
2665
|
+
let l;
|
|
2666
|
+
return ["s", "pageTitle"].includes(p) ? l = e.pageTitle : p.includes(".") ? l = p.split(".").reduce((h, c) => h && h[c] || void 0, e) : l = e[p], typeof l < "u" ? (l || "").replace(/"/g, '\\"') : !1;
|
|
2665
2667
|
}
|
|
2666
2668
|
let u = n;
|
|
2667
2669
|
try {
|
|
@@ -2669,21 +2671,21 @@ function ke(n, e, t) {
|
|
|
2669
2671
|
} catch {
|
|
2670
2672
|
}
|
|
2671
2673
|
return (u.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((p) => {
|
|
2672
|
-
const
|
|
2673
|
-
typeof
|
|
2674
|
-
}), n.includes(
|
|
2674
|
+
const l = o(p.slice(1));
|
|
2675
|
+
typeof l == "string" && (n = n.replace(new RegExp(`\\${p}(\\W|$)`, "g"), (h, c) => `${l}${c}`).trim());
|
|
2676
|
+
}), n.includes(ie) && (n.endsWith(ie) && (n = n.slice(0, -ie.length).trim()), n.startsWith(ie) && (n = n.slice(ie.length).trim()), n = n.replace(new RegExp(`\\${ie}\\s*\\${ie}`, "g"), ie), n = be(n, { separator: t }, t)), n;
|
|
2675
2677
|
}
|
|
2676
|
-
async function
|
|
2678
|
+
async function Oi(n) {
|
|
2677
2679
|
const e = {
|
|
2678
2680
|
tag: n.tagName.toLowerCase(),
|
|
2679
|
-
props: await
|
|
2681
|
+
props: await Lt(
|
|
2680
2682
|
n.getAttributeNames().reduce((t, o) => ({ ...t, [o]: n.getAttribute(o) }), {})
|
|
2681
2683
|
),
|
|
2682
2684
|
innerHTML: n.innerHTML
|
|
2683
2685
|
};
|
|
2684
|
-
return e._d =
|
|
2686
|
+
return e._d = Dt(e), e;
|
|
2685
2687
|
}
|
|
2686
|
-
async function
|
|
2688
|
+
async function Hi(n, e = {}) {
|
|
2687
2689
|
const t = e.document || n.resolvedOptions.document;
|
|
2688
2690
|
if (!t)
|
|
2689
2691
|
return;
|
|
@@ -2692,7 +2694,7 @@ async function Di(n, e = {}) {
|
|
|
2692
2694
|
return;
|
|
2693
2695
|
const u = (await n.resolveTags()).map((m) => ({
|
|
2694
2696
|
tag: m,
|
|
2695
|
-
id:
|
|
2697
|
+
id: _e.includes(m.tag) ? pt(m) : m.tag,
|
|
2696
2698
|
shouldRender: !0
|
|
2697
2699
|
}));
|
|
2698
2700
|
let r = n._dom;
|
|
@@ -2702,18 +2704,18 @@ async function Di(n, e = {}) {
|
|
|
2702
2704
|
};
|
|
2703
2705
|
for (const m of ["body", "head"]) {
|
|
2704
2706
|
const g = t?.[m]?.children;
|
|
2705
|
-
for (const k of [...g].filter((
|
|
2706
|
-
r.elMap[k.getAttribute("data-hid") ||
|
|
2707
|
+
for (const k of [...g].filter((s) => _e.includes(s.tagName.toLowerCase())))
|
|
2708
|
+
r.elMap[k.getAttribute("data-hid") || pt(await Oi(k))] = k;
|
|
2707
2709
|
}
|
|
2708
2710
|
}
|
|
2709
2711
|
r.pendingSideEffects = { ...r.sideEffects || {} }, r.sideEffects = {};
|
|
2710
2712
|
function p(m, g, k) {
|
|
2711
|
-
const
|
|
2712
|
-
r.sideEffects[
|
|
2713
|
+
const s = `${m}:${g}`;
|
|
2714
|
+
r.sideEffects[s] = k, delete r.pendingSideEffects[s];
|
|
2713
2715
|
}
|
|
2714
|
-
function
|
|
2715
|
-
const
|
|
2716
|
-
r.elMap[m] = g,
|
|
2716
|
+
function l({ id: m, $el: g, tag: k }) {
|
|
2717
|
+
const s = k.tag.endsWith("Attrs");
|
|
2718
|
+
r.elMap[m] = g, s || (["textContent", "innerHTML"].forEach((_) => {
|
|
2717
2719
|
k[_] && k[_] !== g[_] && (g[_] = k[_]);
|
|
2718
2720
|
}), p(m, "el", () => {
|
|
2719
2721
|
r.elMap[m].remove(), delete r.elMap[m];
|
|
@@ -2721,9 +2723,9 @@ async function Di(n, e = {}) {
|
|
|
2721
2723
|
const f = `attr:${_}`;
|
|
2722
2724
|
if (_ === "class")
|
|
2723
2725
|
for (const i of (b || "").split(" ").filter(Boolean))
|
|
2724
|
-
|
|
2726
|
+
s && p(m, `${f}:${i}`, () => g.classList.remove(i)), !g.classList.contains(i) && g.classList.add(i);
|
|
2725
2727
|
else
|
|
2726
|
-
g.getAttribute(_) !== b && g.setAttribute(_, b === !0 ? "" : String(b)),
|
|
2728
|
+
g.getAttribute(_) !== b && g.setAttribute(_, b === !0 ? "" : String(b)), s && p(m, f, () => g.removeAttribute(_));
|
|
2727
2729
|
});
|
|
2728
2730
|
}
|
|
2729
2731
|
const h = [], c = {
|
|
@@ -2732,50 +2734,50 @@ async function Di(n, e = {}) {
|
|
|
2732
2734
|
head: void 0
|
|
2733
2735
|
};
|
|
2734
2736
|
for (const m of u) {
|
|
2735
|
-
const { tag: g, shouldRender: k, id:
|
|
2737
|
+
const { tag: g, shouldRender: k, id: s } = m;
|
|
2736
2738
|
if (k) {
|
|
2737
2739
|
if (g.tag === "title") {
|
|
2738
2740
|
t.title = g.textContent;
|
|
2739
2741
|
continue;
|
|
2740
2742
|
}
|
|
2741
|
-
m.$el = m.$el || r.elMap[
|
|
2743
|
+
m.$el = m.$el || r.elMap[s], m.$el ? l(m) : _e.includes(g.tag) && h.push(m);
|
|
2742
2744
|
}
|
|
2743
2745
|
}
|
|
2744
2746
|
for (const m of h) {
|
|
2745
2747
|
const g = m.tag.tagPosition || "head";
|
|
2746
|
-
m.$el = t.createElement(m.tag.tag),
|
|
2748
|
+
m.$el = t.createElement(m.tag.tag), l(m), c[g] = c[g] || t.createDocumentFragment(), c[g].appendChild(m.$el);
|
|
2747
2749
|
}
|
|
2748
2750
|
for (const m of u)
|
|
2749
2751
|
await n.hooks.callHook("dom:renderTag", m, t, p);
|
|
2750
2752
|
c.head && t.head.appendChild(c.head), c.bodyOpen && t.body.insertBefore(c.bodyOpen, t.body.firstChild), c.bodyClose && t.body.appendChild(c.bodyClose), Object.values(r.pendingSideEffects).forEach((m) => m()), n._dom = r, n.dirty = !1, await n.hooks.callHook("dom:rendered", { renders: u });
|
|
2751
2753
|
}
|
|
2752
|
-
async function
|
|
2754
|
+
async function Ai(n, e = {}) {
|
|
2753
2755
|
const t = e.delayFn || ((o) => setTimeout(o, 10));
|
|
2754
2756
|
return n._domUpdatePromise = n._domUpdatePromise || new Promise((o) => t(async () => {
|
|
2755
|
-
await
|
|
2757
|
+
await Hi(n, e), delete n._domUpdatePromise, o();
|
|
2756
2758
|
}));
|
|
2757
2759
|
}
|
|
2758
2760
|
// @__NO_SIDE_EFFECTS__
|
|
2759
|
-
function
|
|
2761
|
+
function zi(n) {
|
|
2760
2762
|
return (e) => {
|
|
2761
2763
|
const t = e.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
|
|
2762
2764
|
return t && e.push(JSON.parse(t)), {
|
|
2763
2765
|
mode: "client",
|
|
2764
2766
|
hooks: {
|
|
2765
2767
|
"entries:updated": function(o) {
|
|
2766
|
-
|
|
2768
|
+
Ai(o, n);
|
|
2767
2769
|
}
|
|
2768
2770
|
}
|
|
2769
2771
|
};
|
|
2770
2772
|
};
|
|
2771
2773
|
}
|
|
2772
|
-
const
|
|
2774
|
+
const Mi = ["templateParams", "htmlAttrs", "bodyAttrs"], Ri = {
|
|
2773
2775
|
hooks: {
|
|
2774
2776
|
"tag:normalise": function({ tag: n }) {
|
|
2775
2777
|
["hid", "vmid", "key"].forEach((o) => {
|
|
2776
2778
|
n.props[o] && (n.key = n.props[o], delete n.props[o]);
|
|
2777
2779
|
});
|
|
2778
|
-
const t =
|
|
2780
|
+
const t = Dt(n) || (n.key ? `${n.tag}:${n.key}` : !1);
|
|
2779
2781
|
t && (n._d = t);
|
|
2780
2782
|
},
|
|
2781
2783
|
"tags:resolve": function(n) {
|
|
@@ -2783,8 +2785,8 @@ const Oi = ["templateParams", "htmlAttrs", "bodyAttrs"], Hi = {
|
|
|
2783
2785
|
n.tags.forEach((o) => {
|
|
2784
2786
|
const u = (o.key ? `${o.tag}:${o.key}` : o._d) || o._p, r = e[u];
|
|
2785
2787
|
if (r) {
|
|
2786
|
-
let
|
|
2787
|
-
if (!
|
|
2788
|
+
let l = o?.tagDuplicateStrategy;
|
|
2789
|
+
if (!l && Mi.includes(o.tag) && (l = "merge"), l === "merge") {
|
|
2788
2790
|
const h = r.props;
|
|
2789
2791
|
["class", "style"].forEach((c) => {
|
|
2790
2792
|
o.props[c] && h[c] && (c === "style" && !h[c].endsWith(";") && (h[c] += ";"), o.props[c] = `${h[c]} ${o.props[c]}`);
|
|
@@ -2796,11 +2798,11 @@ const Oi = ["templateParams", "htmlAttrs", "bodyAttrs"], Hi = {
|
|
|
2796
2798
|
} else if (o._e === r._e) {
|
|
2797
2799
|
r._duped = r._duped || [], o._d = `${r._d}:${r._duped.length + 1}`, r._duped.push(o);
|
|
2798
2800
|
return;
|
|
2799
|
-
} else if (
|
|
2801
|
+
} else if (Ie(o) > Ie(r))
|
|
2800
2802
|
return;
|
|
2801
2803
|
}
|
|
2802
2804
|
const p = Object.keys(o.props).length + (o.innerHTML ? 1 : 0) + (o.textContent ? 1 : 0);
|
|
2803
|
-
if (
|
|
2805
|
+
if (_e.includes(o.tag) && p === 0) {
|
|
2804
2806
|
delete e[u];
|
|
2805
2807
|
return;
|
|
2806
2808
|
}
|
|
@@ -2813,7 +2815,7 @@ const Oi = ["templateParams", "htmlAttrs", "bodyAttrs"], Hi = {
|
|
|
2813
2815
|
}), n.tags = t, n.tags = n.tags.filter((o) => !(o.tag === "meta" && (o.props.name || o.props.property) && !o.props.content));
|
|
2814
2816
|
}
|
|
2815
2817
|
}
|
|
2816
|
-
},
|
|
2818
|
+
}, Ni = {
|
|
2817
2819
|
mode: "server",
|
|
2818
2820
|
hooks: {
|
|
2819
2821
|
"tags:resolve": function(n) {
|
|
@@ -2827,20 +2829,20 @@ const Oi = ["templateParams", "htmlAttrs", "bodyAttrs"], Hi = {
|
|
|
2827
2829
|
});
|
|
2828
2830
|
}
|
|
2829
2831
|
}
|
|
2830
|
-
},
|
|
2831
|
-
function
|
|
2832
|
+
}, Wi = ["script", "link", "bodyAttrs"];
|
|
2833
|
+
function Ui(n) {
|
|
2832
2834
|
const e = {}, t = {};
|
|
2833
2835
|
return Object.entries(n.props).forEach(([o, u]) => {
|
|
2834
|
-
o.startsWith("on") && typeof u == "function" ? (
|
|
2836
|
+
o.startsWith("on") && typeof u == "function" ? (wt.includes(o) && (e[o] = `this.dataset.${o} = true`), t[o] = u) : e[o] = u;
|
|
2835
2837
|
}), { props: e, eventHandlers: t };
|
|
2836
2838
|
}
|
|
2837
|
-
const
|
|
2839
|
+
const Fi = (n) => ({
|
|
2838
2840
|
hooks: {
|
|
2839
2841
|
"tags:resolve": function(e) {
|
|
2840
2842
|
for (const t of e.tags)
|
|
2841
|
-
if (
|
|
2842
|
-
const { props: o, eventHandlers: u } =
|
|
2843
|
-
t.props = o, Object.keys(u).length && ((t.props.src || t.props.href) && (t.key = t.key ||
|
|
2843
|
+
if (Wi.includes(t.tag)) {
|
|
2844
|
+
const { props: o, eventHandlers: u } = Ui(t);
|
|
2845
|
+
t.props = o, Object.keys(u).length && ((t.props.src || t.props.href) && (t.key = t.key || Qe(t.props.src || t.props.href)), t._eventHandlers = u);
|
|
2844
2846
|
}
|
|
2845
2847
|
},
|
|
2846
2848
|
"dom:renderTag": function(e, t, o) {
|
|
@@ -2848,8 +2850,8 @@ const Ri = (n) => ({
|
|
|
2848
2850
|
return;
|
|
2849
2851
|
const u = e.tag.tag === "bodyAttrs" ? t.defaultView : e.$el;
|
|
2850
2852
|
Object.entries(e.tag._eventHandlers).forEach(([r, p]) => {
|
|
2851
|
-
const
|
|
2852
|
-
if (o(e.id,
|
|
2853
|
+
const l = `${e.tag._d || e.tag._p}:${r}`, h = r.slice(2).toLowerCase(), c = `data-h-${h}`;
|
|
2854
|
+
if (o(e.id, l, () => {
|
|
2853
2855
|
}), e.$el.hasAttribute(c))
|
|
2854
2856
|
return;
|
|
2855
2857
|
e.$el.setAttribute(c, "");
|
|
@@ -2857,68 +2859,68 @@ const Ri = (n) => ({
|
|
|
2857
2859
|
const g = (k) => {
|
|
2858
2860
|
p(k), m?.disconnect();
|
|
2859
2861
|
};
|
|
2860
|
-
r in e.$el.dataset ? g(new Event(r.replace("on", ""))) :
|
|
2862
|
+
r in e.$el.dataset ? g(new Event(r.replace("on", ""))) : wt.includes(r) && typeof MutationObserver < "u" ? (m = new MutationObserver((k) => {
|
|
2861
2863
|
k.some((_) => _.attributeName === `data-${r}`) && (g(new Event(r.replace("on", ""))), m?.disconnect());
|
|
2862
2864
|
}), m.observe(e.$el, {
|
|
2863
2865
|
attributes: !0
|
|
2864
|
-
})) : u.addEventListener(h, g), o(e.id,
|
|
2866
|
+
})) : u.addEventListener(h, g), o(e.id, l, () => {
|
|
2865
2867
|
m?.disconnect(), u.removeEventListener(h, g), e.$el.removeAttribute(c);
|
|
2866
2868
|
});
|
|
2867
2869
|
});
|
|
2868
2870
|
}
|
|
2869
2871
|
}
|
|
2870
|
-
}),
|
|
2872
|
+
}), qi = ["link", "style", "script", "noscript"], Gi = {
|
|
2871
2873
|
hooks: {
|
|
2872
2874
|
"tag:normalise": ({ tag: n }) => {
|
|
2873
|
-
n.key &&
|
|
2875
|
+
n.key && qi.includes(n.tag) && (n.props["data-hid"] = n._h = Qe(n.key));
|
|
2874
2876
|
}
|
|
2875
2877
|
}
|
|
2876
|
-
},
|
|
2878
|
+
}, ji = {
|
|
2877
2879
|
hooks: {
|
|
2878
2880
|
"tags:resolve": (n) => {
|
|
2879
2881
|
const e = (t) => n.tags.find((o) => o._d === t)?._p;
|
|
2880
|
-
for (const { prefix: t, offset: o } of
|
|
2882
|
+
for (const { prefix: t, offset: o } of wi)
|
|
2881
2883
|
for (const u of n.tags.filter((r) => typeof r.tagPriority == "string" && r.tagPriority.startsWith(t))) {
|
|
2882
2884
|
const r = e(
|
|
2883
2885
|
u.tagPriority.replace(t, "")
|
|
2884
2886
|
);
|
|
2885
2887
|
typeof r < "u" && (u._p = r + o);
|
|
2886
2888
|
}
|
|
2887
|
-
n.tags.sort((t, o) => t._p - o._p).sort((t, o) =>
|
|
2889
|
+
n.tags.sort((t, o) => t._p - o._p).sort((t, o) => Ie(t) - Ie(o));
|
|
2888
2890
|
}
|
|
2889
2891
|
}
|
|
2890
|
-
},
|
|
2892
|
+
}, Yi = {
|
|
2891
2893
|
meta: "content",
|
|
2892
2894
|
link: "href",
|
|
2893
2895
|
htmlAttrs: "lang"
|
|
2894
|
-
},
|
|
2896
|
+
}, Qi = (n) => ({
|
|
2895
2897
|
hooks: {
|
|
2896
2898
|
"tags:resolve": (e) => {
|
|
2897
|
-
const { tags: t } = e, o = t.find((
|
|
2898
|
-
delete r.separator, r.pageTitle =
|
|
2899
|
-
for (const
|
|
2900
|
-
const h =
|
|
2901
|
-
h && typeof
|
|
2902
|
-
typeof
|
|
2899
|
+
const { tags: t } = e, o = t.find((l) => l.tag === "title")?.textContent, u = t.findIndex((l) => l.tag === "templateParams"), r = u !== -1 ? t[u].props : {}, p = r.separator || "|";
|
|
2900
|
+
delete r.separator, r.pageTitle = be(r.pageTitle || o || "", r, p);
|
|
2901
|
+
for (const l of t.filter((h) => h.processTemplateParams !== !1)) {
|
|
2902
|
+
const h = Yi[l.tag];
|
|
2903
|
+
h && typeof l.props[h] == "string" ? l.props[h] = be(l.props[h], r, p) : (l.processTemplateParams === !0 || ["titleTemplate", "title"].includes(l.tag)) && ["innerHTML", "textContent"].forEach((c) => {
|
|
2904
|
+
typeof l[c] == "string" && (l[c] = be(l[c], r, p));
|
|
2903
2905
|
});
|
|
2904
2906
|
}
|
|
2905
|
-
n._templateParams = r, n._separator = p, e.tags = t.filter((
|
|
2907
|
+
n._templateParams = r, n._separator = p, e.tags = t.filter((l) => l.tag !== "templateParams");
|
|
2906
2908
|
}
|
|
2907
2909
|
}
|
|
2908
|
-
}),
|
|
2910
|
+
}), Ki = {
|
|
2909
2911
|
hooks: {
|
|
2910
2912
|
"tags:resolve": (n) => {
|
|
2911
2913
|
const { tags: e } = n;
|
|
2912
2914
|
let t = e.findIndex((u) => u.tag === "titleTemplate");
|
|
2913
2915
|
const o = e.findIndex((u) => u.tag === "title");
|
|
2914
2916
|
if (o !== -1 && t !== -1) {
|
|
2915
|
-
const u =
|
|
2917
|
+
const u = ht(
|
|
2916
2918
|
e[t].textContent,
|
|
2917
2919
|
e[o].textContent
|
|
2918
2920
|
);
|
|
2919
2921
|
u !== null ? e[o].textContent = u || e[o].textContent : delete e[o];
|
|
2920
2922
|
} else if (t !== -1) {
|
|
2921
|
-
const u =
|
|
2923
|
+
const u = ht(
|
|
2922
2924
|
e[t].textContent
|
|
2923
2925
|
);
|
|
2924
2926
|
u !== null && (e[t].textContent = u, e[t].tag = "title", t = -1);
|
|
@@ -2928,21 +2930,21 @@ const Ri = (n) => ({
|
|
|
2928
2930
|
}
|
|
2929
2931
|
};
|
|
2930
2932
|
// @__NO_SIDE_EFFECTS__
|
|
2931
|
-
function
|
|
2932
|
-
const e =
|
|
2933
|
-
return e.use(/* @__PURE__ */
|
|
2933
|
+
function Ji(n = {}) {
|
|
2934
|
+
const e = Xi(n);
|
|
2935
|
+
return e.use(/* @__PURE__ */ zi()), e;
|
|
2934
2936
|
}
|
|
2935
|
-
function
|
|
2937
|
+
function gt(n, e) {
|
|
2936
2938
|
return !n || n === "server" && e || n === "client" && !e;
|
|
2937
2939
|
}
|
|
2938
|
-
function
|
|
2939
|
-
const e =
|
|
2940
|
-
e.addHooks(n.hooks || {}), n.document = n.document || (
|
|
2940
|
+
function Xi(n = {}) {
|
|
2941
|
+
const e = Ei();
|
|
2942
|
+
e.addHooks(n.hooks || {}), n.document = n.document || (Vi ? document : void 0);
|
|
2941
2943
|
const t = !n.document, o = () => {
|
|
2942
|
-
|
|
2944
|
+
l.dirty = !0, e.callHook("entries:updated", l);
|
|
2943
2945
|
};
|
|
2944
2946
|
let u = 0, r = [];
|
|
2945
|
-
const p = [],
|
|
2947
|
+
const p = [], l = {
|
|
2946
2948
|
plugins: p,
|
|
2947
2949
|
dirty: !1,
|
|
2948
2950
|
resolvedOptions: n,
|
|
@@ -2951,8 +2953,8 @@ function Yi(n = {}) {
|
|
|
2951
2953
|
return r;
|
|
2952
2954
|
},
|
|
2953
2955
|
use(h) {
|
|
2954
|
-
const c = typeof h == "function" ? h(
|
|
2955
|
-
(!c.key || !p.some((m) => m.key === c.key)) && (p.push(c),
|
|
2956
|
+
const c = typeof h == "function" ? h(l) : h;
|
|
2957
|
+
(!c.key || !p.some((m) => m.key === c.key)) && (p.push(c), gt(c.mode, t) && e.addHooks(c.hooks || {}));
|
|
2956
2958
|
},
|
|
2957
2959
|
push(h, c) {
|
|
2958
2960
|
delete c?.head;
|
|
@@ -2961,9 +2963,9 @@ function Yi(n = {}) {
|
|
|
2961
2963
|
input: h,
|
|
2962
2964
|
...c
|
|
2963
2965
|
};
|
|
2964
|
-
return
|
|
2966
|
+
return gt(m.mode, t) && (r.push(m), o()), {
|
|
2965
2967
|
dispose() {
|
|
2966
|
-
r = r.filter((g) => g._i !== m._i), e.callHook("entries:updated",
|
|
2968
|
+
r = r.filter((g) => g._i !== m._i), e.callHook("entries:updated", l), o();
|
|
2967
2969
|
},
|
|
2968
2970
|
// a patch is the same as creating a new entry, just a nice DX
|
|
2969
2971
|
patch(g) {
|
|
@@ -2977,8 +2979,8 @@ function Yi(n = {}) {
|
|
|
2977
2979
|
for (const c of h.entries) {
|
|
2978
2980
|
const m = c.resolvedInput || c.input;
|
|
2979
2981
|
if (c.resolvedInput = await (c.transform ? c.transform(m) : m), c.resolvedInput)
|
|
2980
|
-
for (const g of await
|
|
2981
|
-
const k = { tag: g, entry: c, resolvedOptions:
|
|
2982
|
+
for (const g of await Li(c)) {
|
|
2983
|
+
const k = { tag: g, entry: c, resolvedOptions: l.resolvedOptions };
|
|
2982
2984
|
await e.callHook("tag:normalise", k), h.tags.push(k.tag);
|
|
2983
2985
|
}
|
|
2984
2986
|
}
|
|
@@ -2987,55 +2989,55 @@ function Yi(n = {}) {
|
|
|
2987
2989
|
ssr: t
|
|
2988
2990
|
};
|
|
2989
2991
|
return [
|
|
2990
|
-
Hi,
|
|
2991
|
-
zi,
|
|
2992
2992
|
Ri,
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
qi,
|
|
2993
|
+
Ni,
|
|
2994
|
+
Fi,
|
|
2996
2995
|
Gi,
|
|
2996
|
+
ji,
|
|
2997
|
+
Qi,
|
|
2998
|
+
Ki,
|
|
2997
2999
|
...n?.plugins || []
|
|
2998
|
-
].forEach((h) =>
|
|
3000
|
+
].forEach((h) => l.use(h)), l.hooks.callHook("init", l), l;
|
|
2999
3001
|
}
|
|
3000
|
-
const
|
|
3001
|
-
function
|
|
3002
|
-
return typeof n == "function" ? n() :
|
|
3002
|
+
const Zi = ko.startsWith("3");
|
|
3003
|
+
function er(n) {
|
|
3004
|
+
return typeof n == "function" ? n() : a(n);
|
|
3003
3005
|
}
|
|
3004
3006
|
function qe(n, e = "") {
|
|
3005
3007
|
if (n instanceof Promise)
|
|
3006
3008
|
return n;
|
|
3007
|
-
const t =
|
|
3009
|
+
const t = er(n);
|
|
3008
3010
|
return !n || !t ? t : Array.isArray(t) ? t.map((o) => qe(o, e)) : typeof t == "object" ? Object.fromEntries(
|
|
3009
|
-
Object.entries(t).map(([o, u]) => o === "titleTemplate" || o.startsWith("on") ? [o,
|
|
3011
|
+
Object.entries(t).map(([o, u]) => o === "titleTemplate" || o.startsWith("on") ? [o, a(u)] : [o, qe(u, o)])
|
|
3010
3012
|
) : t;
|
|
3011
3013
|
}
|
|
3012
|
-
const
|
|
3014
|
+
const tr = {
|
|
3013
3015
|
hooks: {
|
|
3014
3016
|
"entries:resolve": function(n) {
|
|
3015
3017
|
for (const e of n.entries)
|
|
3016
3018
|
e.resolvedInput = qe(e.input);
|
|
3017
3019
|
}
|
|
3018
3020
|
}
|
|
3019
|
-
},
|
|
3020
|
-
function
|
|
3021
|
+
}, or = "usehead";
|
|
3022
|
+
function nr(n) {
|
|
3021
3023
|
return {
|
|
3022
3024
|
install(t) {
|
|
3023
|
-
|
|
3025
|
+
Zi && (t.config.globalProperties.$unhead = n, t.config.globalProperties.$head = n, t.provide(or, n));
|
|
3024
3026
|
}
|
|
3025
3027
|
}.install;
|
|
3026
3028
|
}
|
|
3027
|
-
function
|
|
3028
|
-
n.domDelayFn = n.domDelayFn || ((t) =>
|
|
3029
|
-
const e = /* @__PURE__ */
|
|
3030
|
-
return e.use(
|
|
3029
|
+
function ir(n = {}) {
|
|
3030
|
+
n.domDelayFn = n.domDelayFn || ((t) => It(() => setTimeout(() => t(), 0)));
|
|
3031
|
+
const e = /* @__PURE__ */ Ji(n);
|
|
3032
|
+
return e.use(tr), e.install = nr(e), e;
|
|
3031
3033
|
}
|
|
3032
|
-
const
|
|
3033
|
-
oe.use(
|
|
3034
|
-
oe.use(
|
|
3035
|
-
oe.use(
|
|
3036
|
-
oe.use(
|
|
3037
|
-
oe.use(
|
|
3038
|
-
oe.use(
|
|
3039
|
-
oe.use(
|
|
3040
|
-
oe.use(
|
|
3034
|
+
const rr = xo(), sr = ir(), ar = Io(), oe = Eo({ components: { Hotel: ai } });
|
|
3035
|
+
oe.use(sr);
|
|
3036
|
+
oe.use(rr);
|
|
3037
|
+
oe.use(ar);
|
|
3038
|
+
oe.use(Vt);
|
|
3039
|
+
oe.use(No);
|
|
3040
|
+
oe.use(To);
|
|
3041
|
+
oe.use(Oo);
|
|
3042
|
+
oe.use($o, { bootstrap: !0 });
|
|
3041
3043
|
oe.mount("#konnectio-hotel-app");
|