@konnectio/core 4.0.38 → 4.0.39
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-cd683106.js → ActionField-60b4ebb2.js} +2 -2
- package/dist/ActionField-60b4ebb2.js.br +0 -0
- package/dist/{ActionField-dc98863c.cjs → ActionField-b2dd3217.cjs} +1 -1
- package/dist/{AvailabilitySkeleton-64372a3d.js → AvailabilitySkeleton-8f2cb769.js} +5 -5
- package/dist/AvailabilitySkeleton-8f2cb769.js.br +0 -0
- package/dist/{AvailabilitySkeleton-2dd88f42.cjs → AvailabilitySkeleton-dca8b252.cjs} +1 -1
- package/dist/{DateField.vue_vue_type_style_index_0_lang-239ef816.js → DateField.vue_vue_type_style_index_0_lang-cabe193e.js} +1 -1
- package/dist/DateField.vue_vue_type_style_index_0_lang-cabe193e.js.br +0 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-7267a5fa.cjs → DateField.vue_vue_type_style_index_0_lang-e4bf6579.cjs} +1 -1
- package/dist/{Field-825b33aa.cjs → Field-03c61aee.cjs} +1 -1
- package/dist/{Field-94ac0265.js → Field-19640674.js} +2 -2
- package/dist/Field-19640674.js.br +0 -0
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-ab43cf10.js → NumberField.vue_vue_type_script_setup_true_lang-ada222c7.js} +1 -1
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-ada222c7.js.br +0 -0
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-4b483b4b.cjs → NumberField.vue_vue_type_script_setup_true_lang-b3e83a4d.cjs} +1 -1
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-a4d7be42.cjs → SelectField.vue_vue_type_style_index_0_lang-1dc998e0.cjs} +30 -30
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-9187c95a.js → SelectField.vue_vue_type_style_index_0_lang-9b78302d.js} +1301 -1299
- package/dist/SelectField.vue_vue_type_style_index_0_lang-9b78302d.js.br +0 -0
- package/dist/{ThankYou-d505adc9.js → ThankYou-18bef897.js} +4 -4
- package/dist/ThankYou-18bef897.js.br +0 -0
- package/dist/{ThankYou-2219aecc.cjs → ThankYou-2313373f.cjs} +1 -1
- package/dist/{_-e90b6bab.js → _-6e1eca9d.js} +1 -1
- package/dist/{_-b9738f5d.cjs → _-e6cecc7f.cjs} +1 -1
- package/dist/availability.cjs +1 -1
- package/dist/availability.js +7 -7
- package/dist/availability.js.br +0 -0
- package/dist/{event-9b5b92a7.js → event-6e2cdb77.js} +7 -7
- package/dist/event-6e2cdb77.js.br +0 -0
- package/dist/{event-8dde494e.cjs → event-d848bde5.cjs} +1 -1
- package/dist/event.cjs +1 -1
- package/dist/event.js +8 -8
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.cjs +1 -1
- package/dist/gift-card-validation.js +3 -3
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.cjs +1 -1
- package/dist/gift-card.js +5 -5
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.cjs +5 -5
- package/dist/hotel.js +546 -543
- package/dist/hotel.js.br +0 -0
- package/dist/{index-524d9d24.js → index-8abf7dfc.js} +1 -1
- package/dist/index-8abf7dfc.js.br +0 -0
- package/dist/{index-85e3a13d.cjs → index-9663f159.cjs} +1 -1
- package/dist/polyfill.cjs +1 -1
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/store/utilities.d.ts +4 -1
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +1 -1
- package/dist/ActionField-cd683106.js.br +0 -0
- package/dist/AvailabilitySkeleton-64372a3d.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-239ef816.js.br +0 -0
- package/dist/Field-94ac0265.js.br +0 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-ab43cf10.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-9187c95a.js.br +0 -0
- package/dist/ThankYou-d505adc9.js.br +0 -0
- package/dist/event-9b5b92a7.js.br +0 -0
- package/dist/index-524d9d24.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { k as K, D as ce, aE as
|
|
2
|
-
import { R as
|
|
3
|
-
import { A as
|
|
4
|
-
import { _ as Et } from "./NumberField.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { _ as
|
|
6
|
-
import { C as Fe, P as
|
|
7
|
-
import { E as X } from "./_-
|
|
1
|
+
import { k as K, D as ce, aE as po, s as Z, c as Te, ab as yt, ac as ge, m as x, n as R, W as vt, q as d, w, aa as Pe, A as v, F as V, K as ie, Y as et, aF as ho, v as I, a3 as N, a2 as M, x as B, aG as _e, a5 as Ue, p as T, H as re, J as de, f as G, B as $e, P as _t, Q as bt, _ as ee, r as se, o as Se, ag as tt, ah as Be, aH as kt, aC as fo, a1 as xe, y as Ie, I as xt, l as ot, T as ne, aA as mo, b as go, N as yo, C as me, a6 as vo, L as nt, G as F, M as _o, an as It, aI as bo, U as ko, a8 as xo, R as Io, V as Eo, a9 as To } from "./SelectField.vue_vue_type_style_index_0_lang-9b78302d.js";
|
|
2
|
+
import { R as $o, S as So, F as Co, _ as Vo, B as Po, a as Bo, M as Do, T as Lo, x as wo } from "./ThankYou-18bef897.js";
|
|
3
|
+
import { A as Ho, H as Oo } from "./AvailabilitySkeleton-8f2cb769.js";
|
|
4
|
+
import { _ as Et } from "./NumberField.vue_vue_type_script_setup_true_lang-ada222c7.js";
|
|
5
|
+
import { _ as Ao } from "./DateField.vue_vue_type_style_index_0_lang-cabe193e.js";
|
|
6
|
+
import { C as Fe, P as zo, a as Ro, S as Mo } from "./index-8abf7dfc.js";
|
|
7
|
+
import { E as X } from "./_-6e1eca9d.js";
|
|
8
8
|
import { c as Tt, a as $t } from "./_commonjsHelpers-aeeeeb92.js";
|
|
9
|
-
import "./ActionField-
|
|
10
|
-
import "./Field-
|
|
11
|
-
const
|
|
9
|
+
import "./ActionField-60b4ebb2.js";
|
|
10
|
+
import "./Field-19640674.js";
|
|
11
|
+
const No = { key: 0 }, De = /* @__PURE__ */ K({
|
|
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(o) {
|
|
18
|
-
const { t: e } = ce(), t =
|
|
18
|
+
const { t: e } = ce(), t = po(), {
|
|
19
19
|
hideArrivalDepartureInputs: n,
|
|
20
20
|
disableArrivalUserSelection: a,
|
|
21
21
|
disableDepartureUserSelection: r,
|
|
@@ -33,35 +33,35 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ K({
|
|
|
33
33
|
totalPrice: b,
|
|
34
34
|
areListingsLoading: f
|
|
35
35
|
} = Z(ge()), { removeRoom: i } = ge();
|
|
36
|
-
function
|
|
36
|
+
function u(y) {
|
|
37
37
|
return y.reduce((S, { totalPrice: L }) => S + L, 0);
|
|
38
38
|
}
|
|
39
|
-
return (y, E) => (x(),
|
|
40
|
-
"total-price":
|
|
39
|
+
return (y, E) => (x(), R($o, {
|
|
40
|
+
"total-price": d(b),
|
|
41
41
|
"show-gift-card": y.showGiftCard,
|
|
42
42
|
"show-terms-notice": y.showTermsNotice,
|
|
43
|
-
"is-sidebar-loading":
|
|
44
|
-
notice:
|
|
43
|
+
"is-sidebar-loading": d(f),
|
|
44
|
+
notice: d(e)("hotel.reservationNotice")
|
|
45
45
|
}, vt({
|
|
46
46
|
form: w(() => [
|
|
47
47
|
Pe(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(d(e)("booking.reservation.arrival")), 1),
|
|
52
|
+
v("b", null, V(d(n) ? d(ie)(d(c)) : `${d(ie)(d(c))}, ${d(a) ? d(p) : d(g)}`), 1)
|
|
53
53
|
]),
|
|
54
54
|
v("li", null, [
|
|
55
|
-
v("span", null, V(
|
|
56
|
-
v("b", null, V(
|
|
55
|
+
v("span", null, V(d(e)("booking.reservation.departure")), 1),
|
|
56
|
+
v("b", null, V(d(n) ? d(ie)(d(m)) : `${d(ie)(d(m))}, ${d(r) ? d(l) : d(k)}`), 1)
|
|
57
57
|
]),
|
|
58
58
|
v("li", null, [
|
|
59
|
-
v("span", null, V(
|
|
60
|
-
v("b", null, V(
|
|
59
|
+
v("span", null, V(d(e)("booking.reservation.nights")), 1),
|
|
60
|
+
v("b", null, V(d(et)(d(c), d(m))) + " " + V(d(ho)(d(et)(d(c), d(m)) === 1 ? d(e)("booking.reservation.night") : d(e)("booking.reservation.nights"))), 1)
|
|
61
61
|
])
|
|
62
62
|
]),
|
|
63
63
|
"price-summary": w(() => [
|
|
64
|
-
isNaN(
|
|
64
|
+
isNaN(d(_)) && d(s).length > 0 ? (x(!0), I(M, { key: 0 }, N(d(s), ({
|
|
65
65
|
roomGroupID: S,
|
|
66
66
|
title: L,
|
|
67
67
|
variants: O
|
|
@@ -69,12 +69,12 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ K({
|
|
|
69
69
|
v("h6", null, [
|
|
70
70
|
v("span", null, V(L), 1)
|
|
71
71
|
]),
|
|
72
|
-
(x(!0), I(
|
|
72
|
+
(x(!0), I(M, null, N(O, (C, D) => (x(), I("div", { key: D }, [
|
|
73
73
|
B("", !0),
|
|
74
|
-
(x(!0), I(
|
|
74
|
+
(x(!0), I(M, null, N(C.rooms, (H, U) => (x(), I("ul", { key: U }, [
|
|
75
75
|
v("li", null, [
|
|
76
76
|
v("span", null, [
|
|
77
|
-
v("span", null, V(
|
|
77
|
+
v("span", null, V(d(_e)(C.name)), 1),
|
|
78
78
|
v("span", null, [
|
|
79
79
|
Ue("( "),
|
|
80
80
|
T(re, {
|
|
@@ -83,7 +83,7 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ K({
|
|
|
83
83
|
color: "font"
|
|
84
84
|
}),
|
|
85
85
|
v("span", null, V(H.adultsCount), 1),
|
|
86
|
-
H.childrenCount > 0 ? (x(), I(
|
|
86
|
+
H.childrenCount > 0 ? (x(), I(M, { key: 0 }, [
|
|
87
87
|
T(re, {
|
|
88
88
|
icon: "child",
|
|
89
89
|
type: "fas",
|
|
@@ -95,13 +95,13 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ K({
|
|
|
95
95
|
])
|
|
96
96
|
]),
|
|
97
97
|
v("b", null, [
|
|
98
|
-
v("span", null, V(
|
|
98
|
+
v("span", null, V(d(de)(H.totalPrice, d(h))), 1),
|
|
99
99
|
B("", !0)
|
|
100
100
|
])
|
|
101
101
|
]),
|
|
102
|
-
|
|
103
|
-
v("span", null, V(
|
|
104
|
-
v("b", null, V(
|
|
102
|
+
u(H.roomAddons) > 0 ? (x(), I("li", No, [
|
|
103
|
+
v("span", null, V(d(e)("booking.reservation.addons")), 1),
|
|
104
|
+
v("b", null, V(d(de)(u(H.roomAddons), d(h))), 1)
|
|
105
105
|
])) : B("", !0)
|
|
106
106
|
]))), 128))
|
|
107
107
|
]))), 128))
|
|
@@ -112,7 +112,7 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ K({
|
|
|
112
112
|
]),
|
|
113
113
|
_: 2
|
|
114
114
|
}, [
|
|
115
|
-
|
|
115
|
+
d(t).addons ? {
|
|
116
116
|
name: "addons",
|
|
117
117
|
fn: w(() => [
|
|
118
118
|
Pe(y.$slots, "addons")
|
|
@@ -121,7 +121,7 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ K({
|
|
|
121
121
|
} : void 0
|
|
122
122
|
]), 1032, ["total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
|
|
123
123
|
}
|
|
124
|
-
}),
|
|
124
|
+
}), Wo = (o) => (_t("data-v-c84b41ba"), o = o(), bt(), o), Uo = { key: 0 }, Fo = { class: "konnectio-selected-room-config" }, qo = { class: "konnectio-selected-room-config-people" }, Go = { key: 0 }, jo = { class: "konnectio-selected-room-config-price" }, Yo = /* @__PURE__ */ Wo(() => /* @__PURE__ */ v("span", null, null, -1)), Qo = /* @__PURE__ */ K({
|
|
125
125
|
__name: "RoomConfigField",
|
|
126
126
|
props: {
|
|
127
127
|
modelValue: {},
|
|
@@ -136,11 +136,11 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ K({
|
|
|
136
136
|
function p(h) {
|
|
137
137
|
a("update:modelValue", h);
|
|
138
138
|
}
|
|
139
|
-
const l =
|
|
139
|
+
const l = G({
|
|
140
140
|
get: () => r.modelValue,
|
|
141
141
|
set: (h) => p(h)
|
|
142
142
|
});
|
|
143
|
-
return (h, c) => (x(),
|
|
143
|
+
return (h, c) => (x(), R($e, {
|
|
144
144
|
modelValue: l.value,
|
|
145
145
|
"onUpdate:modelValue": c[0] || (c[0] = (m) => l.value = m),
|
|
146
146
|
label: h.label,
|
|
@@ -161,7 +161,7 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ K({
|
|
|
161
161
|
color: "font"
|
|
162
162
|
}),
|
|
163
163
|
v("span", null, V(`${m.adults}`), 1),
|
|
164
|
-
m.children > 0 ? (x(), I("span",
|
|
164
|
+
m.children > 0 ? (x(), I("span", Uo, [
|
|
165
165
|
T(re, {
|
|
166
166
|
icon: "child",
|
|
167
167
|
type: "fas",
|
|
@@ -169,24 +169,24 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ K({
|
|
|
169
169
|
}),
|
|
170
170
|
v("span", null, V(`${m.children}`), 1)
|
|
171
171
|
])) : B("", !0),
|
|
172
|
-
v("span", null, V(`(${
|
|
172
|
+
v("span", null, V(`(${d(de)(m.price, d(n))})`), 1)
|
|
173
173
|
])
|
|
174
174
|
]),
|
|
175
175
|
"selected-option": w(({ data: m }) => [
|
|
176
|
-
v("div",
|
|
177
|
-
v("div",
|
|
176
|
+
v("div", Fo, [
|
|
177
|
+
v("div", qo, [
|
|
178
178
|
v("div", null, [
|
|
179
179
|
B("", !0),
|
|
180
|
-
v("span", null, V(`${m.adults} ${m.adults === 1 ?
|
|
180
|
+
v("span", null, V(`${m.adults} ${m.adults === 1 ? d(t)("general.adult") : d(t)("general.adults")}`), 1)
|
|
181
181
|
]),
|
|
182
|
-
m.children > 0 ? (x(), I("div",
|
|
182
|
+
m.children > 0 ? (x(), I("div", Go, [
|
|
183
183
|
B("", !0),
|
|
184
|
-
v("span", null, V(`& ${m.children} ${m.children === 1 ?
|
|
184
|
+
v("span", null, V(`& ${m.children} ${m.children === 1 ? d(t)("general.child") : d(t)("general.children")}`), 1)
|
|
185
185
|
])) : B("", !0)
|
|
186
186
|
]),
|
|
187
|
-
v("div",
|
|
188
|
-
|
|
189
|
-
Ue(" " + V(`(${
|
|
187
|
+
v("div", jo, [
|
|
188
|
+
Yo,
|
|
189
|
+
Ue(" " + V(`(${d(de)(m.price, d(n))})`), 1)
|
|
190
190
|
])
|
|
191
191
|
])
|
|
192
192
|
]),
|
|
@@ -194,7 +194,7 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ K({
|
|
|
194
194
|
}, 8, ["modelValue", "label", "options", "readonly", "required"]));
|
|
195
195
|
}
|
|
196
196
|
});
|
|
197
|
-
const
|
|
197
|
+
const Ko = /* @__PURE__ */ ee(Qo, [["__scopeId", "data-v-c84b41ba"]]), Jo = ["src"], Xo = /* @__PURE__ */ K({
|
|
198
198
|
__name: "Gallery",
|
|
199
199
|
props: {
|
|
200
200
|
gallery: {}
|
|
@@ -204,7 +204,7 @@ const Yo = /* @__PURE__ */ ee(jo, [["__scopeId", "data-v-c84b41ba"]]), Qo = ["sr
|
|
|
204
204
|
se();
|
|
205
205
|
const t = se();
|
|
206
206
|
return Se(() => {
|
|
207
|
-
t.value = [new
|
|
207
|
+
t.value = [new So({
|
|
208
208
|
type: "index",
|
|
209
209
|
synchronizedFlickingOptions: [
|
|
210
210
|
{
|
|
@@ -219,7 +219,7 @@ const Yo = /* @__PURE__ */ ee(jo, [["__scopeId", "data-v-c84b41ba"]]), Qo = ["sr
|
|
|
219
219
|
]
|
|
220
220
|
})];
|
|
221
221
|
}), (n, a) => (x(), I("div", null, [
|
|
222
|
-
n.gallery.length > 1 ? (x(),
|
|
222
|
+
n.gallery.length > 1 ? (x(), R(d(Co), {
|
|
223
223
|
ref_key: "slideshow",
|
|
224
224
|
ref: e,
|
|
225
225
|
key: n.gallery.length,
|
|
@@ -227,28 +227,28 @@ const Yo = /* @__PURE__ */ ee(jo, [["__scopeId", "data-v-c84b41ba"]]), Qo = ["sr
|
|
|
227
227
|
plugins: t.value
|
|
228
228
|
}, {
|
|
229
229
|
default: w(() => [
|
|
230
|
-
(x(!0), I(
|
|
230
|
+
(x(!0), I(M, null, N(n.gallery, ({ medium: r, large: p }, l) => (x(), I("div", {
|
|
231
231
|
key: l,
|
|
232
232
|
class: "booking-availability-listing-featured-img"
|
|
233
233
|
}, [
|
|
234
|
-
v("img", { src: p }, null, 8,
|
|
234
|
+
v("img", { src: p }, null, 8, Jo)
|
|
235
235
|
]))), 128))
|
|
236
236
|
]),
|
|
237
237
|
_: 1
|
|
238
238
|
}, 8, ["plugins"])) : B("", !0)
|
|
239
239
|
]));
|
|
240
240
|
}
|
|
241
|
-
}),
|
|
241
|
+
}), Zo = { class: "fresh-booking-modal-gallery" }, en = {
|
|
242
242
|
key: 0,
|
|
243
243
|
class: "fresh-booking-modal-facilities"
|
|
244
|
-
},
|
|
244
|
+
}, tn = {
|
|
245
245
|
class: "fresh-booking-modal-facilities-masonry",
|
|
246
246
|
"transition-duration": "0s",
|
|
247
247
|
"destroy-delay": 0,
|
|
248
248
|
"percent-position": !0,
|
|
249
249
|
"column-width": ".grid-sizer",
|
|
250
250
|
"item-selector": ".fresh-booking-modal-facility"
|
|
251
|
-
},
|
|
251
|
+
}, on = { class: "grid-sizer" }, nn = /* @__PURE__ */ K({
|
|
252
252
|
__name: "Info",
|
|
253
253
|
props: {
|
|
254
254
|
title: {},
|
|
@@ -259,17 +259,17 @@ const Yo = /* @__PURE__ */ ee(jo, [["__scopeId", "data-v-c84b41ba"]]), Qo = ["sr
|
|
|
259
259
|
setup(o) {
|
|
260
260
|
return (e, t) => {
|
|
261
261
|
const n = tt("masonry-tile"), a = tt("masonry");
|
|
262
|
-
return x(),
|
|
262
|
+
return x(), R(Vo, {
|
|
263
263
|
title: e.title,
|
|
264
264
|
description: e.description
|
|
265
265
|
}, vt({
|
|
266
266
|
default: w(() => [
|
|
267
|
-
e.facilities && e.facilities.length !== 0 ? (x(), I("div",
|
|
268
|
-
Be((x(), I("ul",
|
|
269
|
-
Be(v("div",
|
|
267
|
+
e.facilities && e.facilities.length !== 0 ? (x(), I("div", en, [
|
|
268
|
+
Be((x(), I("ul", tn, [
|
|
269
|
+
Be(v("div", on, null, 512), [
|
|
270
270
|
[n]
|
|
271
271
|
]),
|
|
272
|
-
(x(!0), I(
|
|
272
|
+
(x(!0), I(M, null, N(e.facilities, ({ name: r, subFacilities: p }, l) => Be((x(), I("li", {
|
|
273
273
|
key: l,
|
|
274
274
|
class: "fresh-booking-modal-facility"
|
|
275
275
|
}, [
|
|
@@ -277,7 +277,7 @@ const Yo = /* @__PURE__ */ ee(jo, [["__scopeId", "data-v-c84b41ba"]]), Qo = ["sr
|
|
|
277
277
|
v("span", null, V(r), 1)
|
|
278
278
|
]),
|
|
279
279
|
v("ul", null, [
|
|
280
|
-
(x(!0), I(
|
|
280
|
+
(x(!0), I(M, null, N(p, ({ name: h }, c) => (x(), I("li", { key: c }, V(h), 1))), 128))
|
|
281
281
|
])
|
|
282
282
|
])), [
|
|
283
283
|
[n]
|
|
@@ -292,8 +292,8 @@ const Yo = /* @__PURE__ */ ee(jo, [["__scopeId", "data-v-c84b41ba"]]), Qo = ["sr
|
|
|
292
292
|
e.gallery ? {
|
|
293
293
|
name: "above-description",
|
|
294
294
|
fn: w(() => [
|
|
295
|
-
v("div",
|
|
296
|
-
T(
|
|
295
|
+
v("div", Zo, [
|
|
296
|
+
T(Xo, { gallery: e.gallery }, null, 8, ["gallery"])
|
|
297
297
|
])
|
|
298
298
|
]),
|
|
299
299
|
key: "0"
|
|
@@ -302,8 +302,8 @@ const Yo = /* @__PURE__ */ ee(jo, [["__scopeId", "data-v-c84b41ba"]]), Qo = ["sr
|
|
|
302
302
|
};
|
|
303
303
|
}
|
|
304
304
|
});
|
|
305
|
-
const
|
|
306
|
-
const
|
|
305
|
+
const rn = /* @__PURE__ */ ee(nn, [["__scopeId", "data-v-9a91cedb"]]), sn = { class: "konnectio-availability-listing-selection" }, an = { key: 1 }, ln = { class: "fresh-booking-listing-config-body" }, un = { class: "fresh-booking-listing-units-body" };
|
|
306
|
+
const dn = /* @__PURE__ */ K({
|
|
307
307
|
__name: "Hotel",
|
|
308
308
|
props: {
|
|
309
309
|
room: {},
|
|
@@ -318,22 +318,22 @@ const ln = /* @__PURE__ */ K({
|
|
|
318
318
|
addons: []
|
|
319
319
|
});
|
|
320
320
|
}
|
|
321
|
-
const r =
|
|
321
|
+
const r = G(() => t.room.rates.map((C) => ({
|
|
322
322
|
label: C.name,
|
|
323
323
|
value: C.id
|
|
324
|
-
}))), p =
|
|
325
|
-
|
|
326
|
-
const { hideAvailableRoomAmount: l, currency: h } = Z(Te()), { roomSelect: c } = Z(ge()), { viewItem: m, addToCart: g, removeFromCart: k } = kt(), s = (C, D) => t.room.rates.find((H) => H.id === C)?.occupantRates.find((H) => H.index === D), _ =
|
|
324
|
+
}))), p = G(() => n.value.flatMap((C) => C.id));
|
|
325
|
+
G(() => r.value.filter((C) => !p.value.includes(C.value)));
|
|
326
|
+
const { hideAvailableRoomAmount: l, currency: h } = Z(Te()), { roomSelect: c } = Z(ge()), { viewItem: m, addToCart: g, removeFromCart: k } = kt(), s = (C, D) => t.room.rates.find((H) => H.id === C)?.occupantRates.find((H) => H.index === D), _ = G(() => t.room.rates.reduce(
|
|
327
327
|
(C, D) => C < D.rackRate ? C : D.rackRate,
|
|
328
328
|
1 / 0
|
|
329
|
-
)), b =
|
|
329
|
+
)), b = G(() => t.room.rates.every((C) => C.isBreakfastIncluded === !0)), f = (C, D) => s(C, D) ? s(C, D)?.rooms : null, i = (C) => t.room.rates.length > 0 ? t.room.rates.find((D) => D.id === C)?.occupantRates.map((D) => ({
|
|
330
330
|
value: D.index,
|
|
331
331
|
price: D.totalPrice,
|
|
332
332
|
adults: D.adultsCount,
|
|
333
333
|
children: D.childrenCount,
|
|
334
334
|
hasBreakfast: D.hasBreakfast
|
|
335
|
-
})) || [] : [],
|
|
336
|
-
component:
|
|
335
|
+
})) || [] : [], u = G(() => t.room.rates.length > 1), { open: y, close: E } = fo({
|
|
336
|
+
component: rn,
|
|
337
337
|
attrs: {
|
|
338
338
|
title: t.room.title,
|
|
339
339
|
description: t.room.description,
|
|
@@ -348,7 +348,7 @@ const ln = /* @__PURE__ */ K({
|
|
|
348
348
|
y(), m(t.room.title);
|
|
349
349
|
}
|
|
350
350
|
function L() {
|
|
351
|
-
|
|
351
|
+
u.value ? n.value.push({
|
|
352
352
|
id: void 0,
|
|
353
353
|
config: [{
|
|
354
354
|
id: t.room.rates[0].occupantRateIndex || NaN,
|
|
@@ -367,12 +367,12 @@ const ln = /* @__PURE__ */ K({
|
|
|
367
367
|
Se(() => {
|
|
368
368
|
L();
|
|
369
369
|
});
|
|
370
|
-
const O =
|
|
370
|
+
const O = G(() => JSON.parse(JSON.stringify(n.value)));
|
|
371
371
|
return xe(O, (C, D) => {
|
|
372
372
|
D.length > 0 && C.forEach((H, U) => {
|
|
373
373
|
H.config.forEach((q, W) => {
|
|
374
|
-
const
|
|
375
|
-
|
|
374
|
+
const j = q.units, ae = D[U].config[W].units;
|
|
375
|
+
j !== ae && (j > ae ? (n.value[U].config[W].addons.push({}), g({
|
|
376
376
|
id: t.room.id,
|
|
377
377
|
name: t.room.title,
|
|
378
378
|
value: t.room.rates[U].rackRate
|
|
@@ -385,7 +385,7 @@ const ln = /* @__PURE__ */ K({
|
|
|
385
385
|
});
|
|
386
386
|
}, { deep: !0 }), xe(n, () => {
|
|
387
387
|
c.value[t.room.id] = n.value;
|
|
388
|
-
}, { deep: !0 }), (C, D) => (x(),
|
|
388
|
+
}, { deep: !0 }), (C, D) => (x(), R(Po, {
|
|
389
389
|
"listing-id": C.room.id,
|
|
390
390
|
gallery: C.room.images,
|
|
391
391
|
name: C.room.title,
|
|
@@ -397,52 +397,52 @@ const ln = /* @__PURE__ */ K({
|
|
|
397
397
|
callback: S
|
|
398
398
|
}, {
|
|
399
399
|
action: w(() => [
|
|
400
|
-
v("div",
|
|
401
|
-
(x(!0), I(
|
|
400
|
+
v("div", sn, [
|
|
401
|
+
(x(!0), I(M, null, N(n.value, (H, U) => (x(), I("div", {
|
|
402
402
|
key: H.id,
|
|
403
403
|
class: "freshbooking-hotel-room"
|
|
404
404
|
}, [
|
|
405
|
-
|
|
405
|
+
u.value ? (x(), R($e, {
|
|
406
406
|
key: 0,
|
|
407
407
|
modelValue: H.id,
|
|
408
408
|
"onUpdate:modelValue": (q) => H.id = q,
|
|
409
|
-
label:
|
|
410
|
-
placeholder:
|
|
409
|
+
label: d(e)("hotel.roomVariant"),
|
|
410
|
+
placeholder: d(e)("hotel.chooseARoomVariant"),
|
|
411
411
|
options: r.value,
|
|
412
412
|
searchable: !1
|
|
413
413
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : B("", !0),
|
|
414
|
-
H.id ? (x(), I("div",
|
|
415
|
-
(x(!0), I(
|
|
414
|
+
H.id ? (x(), I("div", an, [
|
|
415
|
+
(x(!0), I(M, null, N(C.room.rates, ({
|
|
416
416
|
id: q,
|
|
417
417
|
maximumOccupants: W
|
|
418
418
|
}) => (x(), I("div", { key: q }, [
|
|
419
|
-
H.id === q ? (x(!0), I(
|
|
419
|
+
H.id === q ? (x(!0), I(M, { key: 0 }, N(H.config, (j, ae) => (x(), I("div", {
|
|
420
420
|
key: ae,
|
|
421
421
|
class: "booking-availability-listing-action-selective"
|
|
422
422
|
}, [
|
|
423
|
-
v("ul",
|
|
424
|
-
T(
|
|
425
|
-
modelValue:
|
|
426
|
-
"onUpdate:modelValue": (le) =>
|
|
423
|
+
v("ul", ln, [
|
|
424
|
+
T(Ko, {
|
|
425
|
+
modelValue: j.id,
|
|
426
|
+
"onUpdate:modelValue": (le) => j.id = le,
|
|
427
427
|
icon: "male",
|
|
428
428
|
"icon-type": "fas",
|
|
429
|
-
label:
|
|
430
|
-
description: `${
|
|
429
|
+
label: d(e)("general.guests"),
|
|
430
|
+
description: `${d(e)("general.maximumGuests")}: ${W}`,
|
|
431
431
|
options: i(q),
|
|
432
432
|
readonly: !(i(q).length > 1)
|
|
433
433
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
|
|
434
434
|
]),
|
|
435
|
-
v("ul",
|
|
435
|
+
v("ul", un, [
|
|
436
436
|
T(Et, {
|
|
437
|
-
modelValue:
|
|
438
|
-
"onUpdate:modelValue": (le) =>
|
|
439
|
-
description:
|
|
437
|
+
modelValue: j.units,
|
|
438
|
+
"onUpdate:modelValue": (le) => j.units = le,
|
|
439
|
+
description: d(l) ? void 0 : `${d(e)("booking.availability.availableUnits")}: ${f(H.id, j.id)}`,
|
|
440
440
|
icon: "house",
|
|
441
441
|
"icon-type": "fas",
|
|
442
442
|
"icon-placement": "label",
|
|
443
|
-
label:
|
|
443
|
+
label: d(e)("booking.availability.units"),
|
|
444
444
|
minValue: 0,
|
|
445
|
-
"max-value": f(q,
|
|
445
|
+
"max-value": f(q, j.id) || 1 / 0
|
|
446
446
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
|
|
447
447
|
]),
|
|
448
448
|
B("", !0)
|
|
@@ -456,7 +456,7 @@ const ln = /* @__PURE__ */ K({
|
|
|
456
456
|
}, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
|
|
457
457
|
}
|
|
458
458
|
});
|
|
459
|
-
const
|
|
459
|
+
const cn = /* @__PURE__ */ ee(dn, [["__scopeId", "data-v-7fe13e0e"]]), it = /* @__PURE__ */ K({
|
|
460
460
|
__name: "TimeField",
|
|
461
461
|
props: {
|
|
462
462
|
modelValue: {},
|
|
@@ -488,7 +488,7 @@ const un = /* @__PURE__ */ ee(ln, [["__scopeId", "data-v-7fe13e0e"]]), it = /* @
|
|
|
488
488
|
const r = se(n.modelValue);
|
|
489
489
|
return xe(r, (p) => {
|
|
490
490
|
a(p);
|
|
491
|
-
}), (p, l) => (x(),
|
|
491
|
+
}), (p, l) => (x(), R(Ao, {
|
|
492
492
|
modelValue: r.value,
|
|
493
493
|
"onUpdate:modelValue": l[0] || (l[0] = (h) => r.value = h),
|
|
494
494
|
type: "time",
|
|
@@ -504,7 +504,7 @@ const un = /* @__PURE__ */ ee(ln, [["__scopeId", "data-v-7fe13e0e"]]), it = /* @
|
|
|
504
504
|
}, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
|
|
505
505
|
}
|
|
506
506
|
});
|
|
507
|
-
const
|
|
507
|
+
const pn = { style: { display: "flex", "align-items": "baseline" } }, hn = /* @__PURE__ */ K({
|
|
508
508
|
__name: "CountryField",
|
|
509
509
|
props: {
|
|
510
510
|
modelValue: {},
|
|
@@ -520,15 +520,15 @@ const dn = { style: { display: "flex", "align-items": "baseline" } }, cn = /* @_
|
|
|
520
520
|
function r(l) {
|
|
521
521
|
n("update:modelValue", l);
|
|
522
522
|
}
|
|
523
|
-
const p =
|
|
523
|
+
const p = G({
|
|
524
524
|
get: () => a.modelValue,
|
|
525
525
|
set: (l) => r(l)
|
|
526
526
|
});
|
|
527
|
-
return (l, h) => (x(),
|
|
527
|
+
return (l, h) => (x(), R($e, {
|
|
528
528
|
modelValue: p.value,
|
|
529
529
|
"onUpdate:modelValue": h[0] || (h[0] = (c) => p.value = c),
|
|
530
530
|
label: l.label,
|
|
531
|
-
placeholder:
|
|
531
|
+
placeholder: d(t)("booking.reservation.countryPlaceholder"),
|
|
532
532
|
labelKey: "name",
|
|
533
533
|
valueKey: "id",
|
|
534
534
|
options: l.options,
|
|
@@ -541,7 +541,7 @@ const dn = { style: { display: "flex", "align-items": "baseline" } }, cn = /* @_
|
|
|
541
541
|
v("span", null, V(c.name), 1)
|
|
542
542
|
]),
|
|
543
543
|
"selected-option": w(({ data: c }) => [
|
|
544
|
-
v("div",
|
|
544
|
+
v("div", pn, [
|
|
545
545
|
v("i", {
|
|
546
546
|
class: Ie(["konnectio-flag-icon", c.iso])
|
|
547
547
|
}, null, 2),
|
|
@@ -552,7 +552,7 @@ const dn = { style: { display: "flex", "align-items": "baseline" } }, cn = /* @_
|
|
|
552
552
|
}, 8, ["modelValue", "label", "placeholder", "options", "required"]));
|
|
553
553
|
}
|
|
554
554
|
});
|
|
555
|
-
const
|
|
555
|
+
const fn = /* @__PURE__ */ ee(hn, [["__scopeId", "data-v-1462612d"]]), mn = { class: "konnectio-radio-checkboxes" }, gn = /* @__PURE__ */ K({
|
|
556
556
|
__name: "CheckboxField",
|
|
557
557
|
props: {
|
|
558
558
|
modelValue: {},
|
|
@@ -566,17 +566,17 @@ const pn = /* @__PURE__ */ ee(cn, [["__scopeId", "data-v-1462612d"]]), hn = { cl
|
|
|
566
566
|
function a(p) {
|
|
567
567
|
t("update:modelValue", p);
|
|
568
568
|
}
|
|
569
|
-
const r =
|
|
569
|
+
const r = G({
|
|
570
570
|
get: () => n.modelValue,
|
|
571
571
|
set: (p) => a(p)
|
|
572
572
|
});
|
|
573
|
-
return (p, l) => (x(),
|
|
573
|
+
return (p, l) => (x(), R(xt, {
|
|
574
574
|
label: p.label,
|
|
575
575
|
type: "multi-radio"
|
|
576
576
|
}, {
|
|
577
577
|
default: w(() => [
|
|
578
|
-
v("ul",
|
|
579
|
-
(x(!0), I(
|
|
578
|
+
v("ul", mn, [
|
|
579
|
+
(x(!0), I(M, null, N(p.checkboxes, ({ label: h, value: c }, m) => (x(), I("li", { key: m }, [
|
|
580
580
|
T(Fe, {
|
|
581
581
|
modelValue: r.value,
|
|
582
582
|
"onUpdate:modelValue": l[0] || (l[0] = (g) => r.value = g),
|
|
@@ -592,7 +592,7 @@ const pn = /* @__PURE__ */ ee(cn, [["__scopeId", "data-v-1462612d"]]), hn = { cl
|
|
|
592
592
|
}, 8, ["label"]));
|
|
593
593
|
}
|
|
594
594
|
});
|
|
595
|
-
const
|
|
595
|
+
const yn = /* @__PURE__ */ ee(gn, [["__scopeId", "data-v-d8d42a8a"]]), vn = /* @__PURE__ */ K({
|
|
596
596
|
__name: "NameField",
|
|
597
597
|
props: {
|
|
598
598
|
modelValue: {},
|
|
@@ -624,9 +624,9 @@ const mn = /* @__PURE__ */ ee(fn, [["__scopeId", "data-v-d8d42a8a"]]), gn = /* @
|
|
|
624
624
|
const { t: h } = ce();
|
|
625
625
|
return Se(() => {
|
|
626
626
|
t.modelValue && (r.value = t.modelValue), t.title && (p.value = t.title);
|
|
627
|
-
}), (c, m) => (x(),
|
|
627
|
+
}), (c, m) => (x(), R(xt, {
|
|
628
628
|
label: c.label,
|
|
629
|
-
id:
|
|
629
|
+
id: d(a),
|
|
630
630
|
required: c.required,
|
|
631
631
|
type: "fresh-booking-name-field",
|
|
632
632
|
readonly: c.readonly,
|
|
@@ -639,33 +639,33 @@ const mn = /* @__PURE__ */ ee(fn, [["__scopeId", "data-v-d8d42a8a"]]), gn = /* @
|
|
|
639
639
|
{ "no-title": c.excludeTitle }
|
|
640
640
|
])
|
|
641
641
|
}, [
|
|
642
|
-
c.excludeTitle ? B("", !0) : (x(),
|
|
642
|
+
c.excludeTitle ? B("", !0) : (x(), R($e, {
|
|
643
643
|
key: 0,
|
|
644
644
|
modelValue: p.value,
|
|
645
645
|
"onUpdate:modelValue": m[0] || (m[0] = (g) => p.value = g),
|
|
646
|
-
id:
|
|
646
|
+
id: d(ot)(),
|
|
647
647
|
icon: c.icon,
|
|
648
648
|
"icon-color": c.iconColor,
|
|
649
649
|
"icon-type": c.iconType,
|
|
650
650
|
options: [
|
|
651
651
|
{
|
|
652
|
-
label:
|
|
652
|
+
label: d(h)("booking.reservation.noNameTitle"),
|
|
653
653
|
value: 1
|
|
654
654
|
},
|
|
655
655
|
{
|
|
656
|
-
label:
|
|
656
|
+
label: d(h)("booking.reservation.nameTitleMr"),
|
|
657
657
|
value: 2
|
|
658
658
|
},
|
|
659
659
|
{
|
|
660
|
-
label:
|
|
660
|
+
label: d(h)("booking.reservation.nameTitleMs"),
|
|
661
661
|
value: 3
|
|
662
662
|
},
|
|
663
663
|
{
|
|
664
|
-
label:
|
|
664
|
+
label: d(h)("booking.reservation.nameTitleMrs"),
|
|
665
665
|
value: 4
|
|
666
666
|
},
|
|
667
667
|
{
|
|
668
|
-
label:
|
|
668
|
+
label: d(h)("booking.reservation.nameTitleDr"),
|
|
669
669
|
value: 5
|
|
670
670
|
}
|
|
671
671
|
],
|
|
@@ -680,7 +680,7 @@ const mn = /* @__PURE__ */ ee(fn, [["__scopeId", "data-v-d8d42a8a"]]), gn = /* @
|
|
|
680
680
|
type: "text",
|
|
681
681
|
name: "name",
|
|
682
682
|
autocomplete: "name",
|
|
683
|
-
id:
|
|
683
|
+
id: d(a),
|
|
684
684
|
icon: c.excludeTitle ? c.icon : void 0,
|
|
685
685
|
"icon-color": c.iconColor,
|
|
686
686
|
"icon-type": c.iconType,
|
|
@@ -697,26 +697,26 @@ const mn = /* @__PURE__ */ ee(fn, [["__scopeId", "data-v-d8d42a8a"]]), gn = /* @
|
|
|
697
697
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
698
698
|
}
|
|
699
699
|
});
|
|
700
|
-
const
|
|
700
|
+
const _n = /* @__PURE__ */ ee(vn, [["__scopeId", "data-v-78b0b319"]]), bn = { class: "hotel-listing" }, kn = { class: "hotel-listing-content-gallery" }, xn = { class: "hotel-listing-content-thumbs" }, In = { class: "hotel-listing-content" }, En = { class: "hotel-listing-content-header" }, Tn = { class: "hotel-listing-content-title" }, $n = { class: "hotel-listing-content-body" }, Sn = { class: "hotel-listing-content-facilities" }, Cn = /* @__PURE__ */ K({
|
|
701
701
|
__name: "Listing",
|
|
702
702
|
setup(o) {
|
|
703
|
-
return (e, t) => (x(), I("div",
|
|
704
|
-
v("div",
|
|
703
|
+
return (e, t) => (x(), I("div", bn, [
|
|
704
|
+
v("div", kn, [
|
|
705
705
|
T(X, {
|
|
706
706
|
width: "280px",
|
|
707
707
|
height: "153px"
|
|
708
708
|
}),
|
|
709
|
-
v("div",
|
|
710
|
-
(x(), I(
|
|
709
|
+
v("div", xn, [
|
|
710
|
+
(x(), I(M, null, N(3, (n) => T(X, {
|
|
711
711
|
key: n,
|
|
712
712
|
width: "84px",
|
|
713
713
|
height: "44px"
|
|
714
714
|
})), 64))
|
|
715
715
|
])
|
|
716
716
|
]),
|
|
717
|
-
v("div",
|
|
718
|
-
v("div",
|
|
719
|
-
v("div",
|
|
717
|
+
v("div", In, [
|
|
718
|
+
v("div", En, [
|
|
719
|
+
v("div", Tn, [
|
|
720
720
|
T(X, {
|
|
721
721
|
height: "30px",
|
|
722
722
|
width: "60%"
|
|
@@ -732,7 +732,7 @@ const yn = /* @__PURE__ */ ee(gn, [["__scopeId", "data-v-78b0b319"]]), vn = { cl
|
|
|
732
732
|
width: "25%"
|
|
733
733
|
})
|
|
734
734
|
]),
|
|
735
|
-
v("div",
|
|
735
|
+
v("div", $n, [
|
|
736
736
|
T(X, { height: "15px" }),
|
|
737
737
|
T(X, { height: "15px" }),
|
|
738
738
|
T(X, { height: "15px" }),
|
|
@@ -742,8 +742,8 @@ const yn = /* @__PURE__ */ ee(gn, [["__scopeId", "data-v-78b0b319"]]), vn = { cl
|
|
|
742
742
|
width: "90%"
|
|
743
743
|
})
|
|
744
744
|
]),
|
|
745
|
-
v("div",
|
|
746
|
-
(x(), I(
|
|
745
|
+
v("div", Sn, [
|
|
746
|
+
(x(), I(M, null, N(5, (n) => T(X, {
|
|
747
747
|
key: n,
|
|
748
748
|
height: "25px",
|
|
749
749
|
width: "25px",
|
|
@@ -754,52 +754,52 @@ const yn = /* @__PURE__ */ ee(gn, [["__scopeId", "data-v-78b0b319"]]), vn = { cl
|
|
|
754
754
|
]));
|
|
755
755
|
}
|
|
756
756
|
});
|
|
757
|
-
const ue = /* @__PURE__ */ ee(
|
|
757
|
+
const ue = /* @__PURE__ */ ee(Cn, [["__scopeId", "data-v-5c132d7f"]]), Vn = { class: "hotel-skeleton" }, Pn = { class: "hotel-skeleton-content" }, Bn = { class: "hotel-skeleton-sidebar" }, Dn = /* @__PURE__ */ K({
|
|
758
758
|
__name: "HotelSkeleton",
|
|
759
759
|
setup(o) {
|
|
760
|
-
return (e, t) => (x(), I("div",
|
|
761
|
-
v("div",
|
|
762
|
-
T(
|
|
760
|
+
return (e, t) => (x(), I("div", Vn, [
|
|
761
|
+
v("div", Pn, [
|
|
762
|
+
T(Ho),
|
|
763
763
|
T(ue),
|
|
764
764
|
T(ue),
|
|
765
765
|
T(ue)
|
|
766
766
|
]),
|
|
767
|
-
v("div",
|
|
768
|
-
T(
|
|
767
|
+
v("div", Bn, [
|
|
768
|
+
T(Bo)
|
|
769
769
|
])
|
|
770
770
|
]));
|
|
771
771
|
}
|
|
772
772
|
});
|
|
773
|
-
const
|
|
774
|
-
const
|
|
773
|
+
const Ln = /* @__PURE__ */ ee(Dn, [["__scopeId", "data-v-4e50a5a1"]]), wn = (o) => (_t("data-v-1c435a52"), o = o(), bt(), o), Hn = { id: "booking-availability-container" }, On = { id: "booking-availability-controls" };
|
|
774
|
+
const An = {
|
|
775
775
|
key: 1,
|
|
776
776
|
"sticky-container": ""
|
|
777
|
-
},
|
|
778
|
-
const
|
|
779
|
-
const
|
|
777
|
+
}, zn = { key: 0 };
|
|
778
|
+
const Rn = { key: 1 }, Mn = { key: 0 };
|
|
779
|
+
const Nn = { id: "booking-availability-listings" }, Wn = {
|
|
780
780
|
key: 1,
|
|
781
781
|
id: "booking-availability-no-listings"
|
|
782
|
-
},
|
|
782
|
+
}, Un = {
|
|
783
783
|
key: 1,
|
|
784
784
|
id: "booking-availability-no-listings"
|
|
785
|
-
},
|
|
785
|
+
}, Fn = {
|
|
786
786
|
key: 2,
|
|
787
787
|
id: "reservation-availability-next-dates"
|
|
788
|
-
},
|
|
789
|
-
const
|
|
788
|
+
}, qn = { class: "reservation-special-offers-grid" }, Gn = ["title"];
|
|
789
|
+
const jn = {
|
|
790
790
|
key: 2,
|
|
791
791
|
class: "konnectio-listing-loading"
|
|
792
|
-
},
|
|
792
|
+
}, Yn = { class: "fresh-booking-panel" }, Qn = {
|
|
793
793
|
key: 0,
|
|
794
794
|
id: "konnectio-hotel-addons"
|
|
795
795
|
};
|
|
796
|
-
const
|
|
797
|
-
const
|
|
796
|
+
const Kn = { class: "fresh-booking-event-addons-price" }, Jn = { key: 1 }, Xn = /* @__PURE__ */ wn(() => /* @__PURE__ */ v("br", null, null, -1));
|
|
797
|
+
const Zn = ["onClick"], ei = { class: "fresh-booking-panel" }, ti = { key: 0 }, oi = { key: 1 }, ni = { class: "fresh-booking-split-inputs" }, ii = ["onClick"], ri = /* @__PURE__ */ K({
|
|
798
798
|
name: "HotelLayout",
|
|
799
799
|
__name: "Hotel",
|
|
800
800
|
props: {
|
|
801
801
|
accessToken: {},
|
|
802
|
-
headerLayout: { default:
|
|
802
|
+
headerLayout: { default: mo.Minimal },
|
|
803
803
|
styling: {}
|
|
804
804
|
},
|
|
805
805
|
setup(o) {
|
|
@@ -820,7 +820,7 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
820
820
|
email: b,
|
|
821
821
|
phone: f,
|
|
822
822
|
firmName: i,
|
|
823
|
-
postal:
|
|
823
|
+
postal: u,
|
|
824
824
|
city: y,
|
|
825
825
|
address: E,
|
|
826
826
|
country: S,
|
|
@@ -833,13 +833,13 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
833
833
|
//canStartReservation,
|
|
834
834
|
getSelectedPackageRoom: q,
|
|
835
835
|
availabilityData: W,
|
|
836
|
-
selectionHasNoAddons:
|
|
836
|
+
selectionHasNoAddons: j
|
|
837
837
|
} = Z(ge()), {
|
|
838
838
|
arrivalDate: ae,
|
|
839
839
|
departureDate: le
|
|
840
840
|
} = Z(yt()), {
|
|
841
841
|
currency: Ke,
|
|
842
|
-
isRecaptchaEnabled:
|
|
842
|
+
isRecaptchaEnabled: lr,
|
|
843
843
|
disableNewsletterSignup: Ht,
|
|
844
844
|
arrivalEarliest: Ot,
|
|
845
845
|
arrivalLatest: At,
|
|
@@ -848,118 +848,134 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
848
848
|
enableTracking: Mt,
|
|
849
849
|
arrivalDefault: Nt,
|
|
850
850
|
departureDefault: Wt,
|
|
851
|
-
enablePackages:
|
|
851
|
+
enablePackages: ur,
|
|
852
852
|
hideArrivalDepartureInputs: Ut,
|
|
853
853
|
disableArrivalUserSelection: Ce,
|
|
854
854
|
disableNamePrefix: Ft,
|
|
855
855
|
disableDepartureUserSelection: Ve,
|
|
856
856
|
disableTravelingFor: qt,
|
|
857
|
-
|
|
858
|
-
|
|
857
|
+
disableTravelingForBleasure: Gt,
|
|
858
|
+
disableCompanyField: jt,
|
|
859
|
+
hasPaymentGateway: Yt
|
|
859
860
|
} = Z(Te());
|
|
860
|
-
|
|
861
|
-
const { beginCheckout:
|
|
862
|
-
initialize:
|
|
863
|
-
createReservation:
|
|
864
|
-
getSingleListing:
|
|
865
|
-
} = ge(),
|
|
866
|
-
const
|
|
867
|
-
|
|
861
|
+
go();
|
|
862
|
+
const { beginCheckout: Qt } = kt(), {
|
|
863
|
+
initialize: Kt,
|
|
864
|
+
createReservation: Jt,
|
|
865
|
+
getSingleListing: dr
|
|
866
|
+
} = ge(), Xt = se(!0), Zt = G(() => {
|
|
867
|
+
const z = [
|
|
868
|
+
{
|
|
869
|
+
label: e("booking.reservation.business"),
|
|
870
|
+
value: "Business"
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
label: e("booking.reservation.pleasure"),
|
|
874
|
+
value: "Pleasure"
|
|
875
|
+
}
|
|
876
|
+
];
|
|
877
|
+
return Gt.value || z.push({
|
|
878
|
+
label: e("booking.reservation.bleasure"),
|
|
879
|
+
value: "Bleasure"
|
|
880
|
+
}), z;
|
|
881
|
+
}), eo = G(() => {
|
|
882
|
+
const z = W.value.roomGroups.slice();
|
|
883
|
+
z.forEach((J) => {
|
|
868
884
|
J.pricesFrom = J.rates.reduce(
|
|
869
885
|
(A, $) => A < $.rackRate ? A : $.rackRate,
|
|
870
886
|
1 / 0
|
|
871
887
|
);
|
|
872
888
|
});
|
|
873
889
|
function P(J, A) {
|
|
874
|
-
return
|
|
890
|
+
return Xt.value === !0 ? J.pricesFrom > A.pricesFrom ? -1 : 1 : J.pricesFrom > A.pricesFrom ? 1 : -1;
|
|
875
891
|
}
|
|
876
|
-
return
|
|
877
|
-
}),
|
|
892
|
+
return z.sort(P);
|
|
893
|
+
}), to = G(() => [[
|
|
878
894
|
parseInt(Ot.value.split(":")[0]),
|
|
879
895
|
parseInt(At.value.split(":")[0])
|
|
880
|
-
]]),
|
|
896
|
+
]]), oo = G(() => [[
|
|
881
897
|
parseInt(zt.value.split(":")[0]),
|
|
882
898
|
parseInt(Rt.value.split(":")[0])
|
|
883
899
|
]]);
|
|
884
|
-
function
|
|
885
|
-
t.value =
|
|
900
|
+
function cr(z) {
|
|
901
|
+
t.value = z;
|
|
886
902
|
}
|
|
887
|
-
function
|
|
903
|
+
function no() {
|
|
888
904
|
t.value = NaN;
|
|
889
905
|
}
|
|
890
|
-
function Je(
|
|
891
|
-
|
|
906
|
+
function Je(z) {
|
|
907
|
+
j.value ? z(2) : z();
|
|
892
908
|
}
|
|
893
|
-
function
|
|
894
|
-
le.value = new Date(P), ae.value = new Date(
|
|
909
|
+
function io(z, P) {
|
|
910
|
+
le.value = new Date(P), ae.value = new Date(z), location.reload();
|
|
895
911
|
}
|
|
896
|
-
async function
|
|
897
|
-
await
|
|
912
|
+
async function ro(z) {
|
|
913
|
+
await Jt(z);
|
|
898
914
|
}
|
|
899
|
-
function
|
|
900
|
-
Mt &&
|
|
915
|
+
function so(z) {
|
|
916
|
+
Mt && Qt(), j.value ? z(2) : z();
|
|
901
917
|
}
|
|
902
|
-
function
|
|
918
|
+
function ao() {
|
|
903
919
|
g.value === "" && (g.value = Nt.value), k.value === "" && (k.value = Wt.value);
|
|
904
920
|
}
|
|
905
921
|
return Se(() => {
|
|
906
|
-
|
|
907
|
-
}), (
|
|
922
|
+
Kt(), ao();
|
|
923
|
+
}), (z, P) => (x(), R(yo, null, {
|
|
908
924
|
default: w(() => [
|
|
909
|
-
T(
|
|
925
|
+
T(_o, {
|
|
910
926
|
id: "fresh-booking-hotel-module",
|
|
911
|
-
"access-token":
|
|
927
|
+
"access-token": z.accessToken,
|
|
912
928
|
type: "hotel",
|
|
913
|
-
styling:
|
|
929
|
+
styling: z.styling
|
|
914
930
|
}, {
|
|
915
931
|
default: w(() => [
|
|
916
|
-
T(
|
|
932
|
+
T(Do, { layout: z.headerLayout }, {
|
|
917
933
|
availability: w(({ next: J }) => [
|
|
918
934
|
T(De, null, {
|
|
919
935
|
form: w(() => [
|
|
920
|
-
v("div",
|
|
921
|
-
v("div",
|
|
922
|
-
T(
|
|
936
|
+
v("div", Hn, [
|
|
937
|
+
v("div", On, [
|
|
938
|
+
T(Oo, { booking: !0 })
|
|
923
939
|
]),
|
|
924
940
|
B("", !0),
|
|
925
|
-
|
|
941
|
+
d(r) ? (x(), I("div", jn, [
|
|
926
942
|
T(ue),
|
|
927
943
|
T(ue),
|
|
928
944
|
T(ue)
|
|
929
|
-
])) : (x(), I("div",
|
|
930
|
-
|
|
931
|
-
(
|
|
932
|
-
isNaN(
|
|
933
|
-
|
|
934
|
-
(
|
|
935
|
-
v("ul",
|
|
936
|
-
(x(!0), I(
|
|
945
|
+
])) : (x(), I("div", An, [
|
|
946
|
+
d(W).roomGroups.length > 0 ? (x(), I("div", zn, [
|
|
947
|
+
(d(W).templates.length > 0, B("", !0)),
|
|
948
|
+
isNaN(d(t)) ? (x(), I("div", Rn, [
|
|
949
|
+
d(W).roomGroups.length > 0 ? (x(), I("div", Mn, [
|
|
950
|
+
(d(W).templates.length > 0, B("", !0)),
|
|
951
|
+
v("ul", Nn, [
|
|
952
|
+
(x(!0), I(M, null, N(eo.value, (A, $) => (x(), R(cn, {
|
|
937
953
|
room: A,
|
|
938
954
|
key: $
|
|
939
955
|
}, null, 8, ["room"]))), 128))
|
|
940
956
|
])
|
|
941
|
-
])) : (x(), I("div",
|
|
942
|
-
v("span", null, V(
|
|
957
|
+
])) : (x(), I("div", Wn, [
|
|
958
|
+
v("span", null, V(d(e)("booking.availability.nothingAvailable")), 1)
|
|
943
959
|
]))
|
|
944
960
|
])) : B("", !0)
|
|
945
|
-
])) :
|
|
946
|
-
v("span", null, V(
|
|
947
|
-
])) : (x(), I("div",
|
|
961
|
+
])) : d(W).nextAvailableDates.length === 0 ? (x(), I("div", Un, [
|
|
962
|
+
v("span", null, V(d(e)("booking.availability.nothingAvailable")), 1)
|
|
963
|
+
])) : (x(), I("div", Fn, [
|
|
948
964
|
v("h2", null, [
|
|
949
965
|
T(re, {
|
|
950
966
|
icon: "calendar-circle-exclamation",
|
|
951
967
|
type: "fal",
|
|
952
968
|
color: "header"
|
|
953
969
|
}),
|
|
954
|
-
v("span", null, V(
|
|
970
|
+
v("span", null, V(d(e)("booking.availability.nextAvailableDates")), 1)
|
|
955
971
|
]),
|
|
956
|
-
v("ul",
|
|
957
|
-
(x(!0), I(
|
|
972
|
+
v("ul", qn, [
|
|
973
|
+
(x(!0), I(M, null, N(d(W).nextAvailableDates, (A, $) => (x(), I("li", { key: $ }, [
|
|
958
974
|
v("h3", {
|
|
959
|
-
title: `${
|
|
975
|
+
title: `${d(ie)(A.fromDate)} - ${d(ie)(A.toDate)}`
|
|
960
976
|
}, [
|
|
961
|
-
v("span", null, V(`${
|
|
962
|
-
], 8,
|
|
977
|
+
v("span", null, V(`${d(ie)(A.fromDate)} - ${d(ie)(A.toDate)}`), 1)
|
|
978
|
+
], 8, Gn),
|
|
963
979
|
v("ul", null, [
|
|
964
980
|
B("", !0),
|
|
965
981
|
v("li", null, [
|
|
@@ -968,13 +984,13 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
968
984
|
type: "fal",
|
|
969
985
|
color: "header"
|
|
970
986
|
}),
|
|
971
|
-
v("span", null, V(
|
|
987
|
+
v("span", null, V(d(e)("booking.availability.pricesFrom")) + ": " + V(d(de)(A.priceStartFrom, d(Ke))), 1)
|
|
972
988
|
])
|
|
973
989
|
]),
|
|
974
990
|
T(me, {
|
|
975
|
-
label:
|
|
991
|
+
label: d(e)("booking.availability.selectDates"),
|
|
976
992
|
"full-width": "",
|
|
977
|
-
onClickEvent: (pe) =>
|
|
993
|
+
onClickEvent: (pe) => io(A.fromDate, A.toDate)
|
|
978
994
|
}, null, 8, ["label", "onClickEvent"])
|
|
979
995
|
]))), 128))
|
|
980
996
|
])
|
|
@@ -983,18 +999,18 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
983
999
|
])
|
|
984
1000
|
]),
|
|
985
1001
|
navigation: w(() => [
|
|
986
|
-
isNaN(
|
|
1002
|
+
isNaN(d(t)) ? (x(), R(me, {
|
|
987
1003
|
key: 0,
|
|
988
|
-
label:
|
|
989
|
-
disabled: !
|
|
1004
|
+
label: d(j) ? d(e)("booking.availability.nextButton") : d(e)("general.chooseAddons"),
|
|
1005
|
+
disabled: !d(U),
|
|
990
1006
|
"is-loading": !1,
|
|
991
1007
|
"full-width": "",
|
|
992
|
-
onClickEvent: (A) =>
|
|
993
|
-
}, null, 8, ["label", "disabled", "onClickEvent"])) : (x(),
|
|
1008
|
+
onClickEvent: (A) => so(J)
|
|
1009
|
+
}, null, 8, ["label", "disabled", "onClickEvent"])) : (x(), R(me, {
|
|
994
1010
|
key: 1,
|
|
995
|
-
label:
|
|
1011
|
+
label: d(e)("booking.reservation.prevButton"),
|
|
996
1012
|
"full-width": "",
|
|
997
|
-
onClickEvent: P[1] || (P[1] = (A) =>
|
|
1013
|
+
onClickEvent: P[1] || (P[1] = (A) => no())
|
|
998
1014
|
}, null, 8, ["label"]))
|
|
999
1015
|
]),
|
|
1000
1016
|
_: 2
|
|
@@ -1003,75 +1019,75 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
1003
1019
|
addons: w(({ next: J, prev: A }) => [
|
|
1004
1020
|
T(De, null, {
|
|
1005
1021
|
form: w(() => [
|
|
1006
|
-
v("form",
|
|
1022
|
+
v("form", Yn, [
|
|
1007
1023
|
v("h2", null, [
|
|
1008
|
-
v("span", null, V(
|
|
1024
|
+
v("span", null, V(d(e)("booking.reservation.addons")), 1)
|
|
1009
1025
|
]),
|
|
1010
1026
|
v("div", null, [
|
|
1011
|
-
isNaN(
|
|
1012
|
-
(x(!0), I(
|
|
1027
|
+
isNaN(d(t)) ? (x(), I("div", Qn, [
|
|
1028
|
+
(x(!0), I(M, null, N(d(H), ($) => (x(), I("ul", {
|
|
1013
1029
|
key: $.roomGroupID
|
|
1014
1030
|
}, [
|
|
1015
|
-
(x(!0), I(
|
|
1031
|
+
(x(!0), I(M, null, N($.variants, (pe, he) => (x(), I("li", {
|
|
1016
1032
|
key: pe.ratePlanID
|
|
1017
1033
|
}, [
|
|
1018
1034
|
v("h4", null, [
|
|
1019
|
-
v("span", null, V(
|
|
1035
|
+
v("span", null, V(d(_e)($.title)), 1)
|
|
1020
1036
|
]),
|
|
1021
|
-
(x(!0), I(
|
|
1037
|
+
(x(!0), I(M, null, N(pe.rooms, (Y, Xe) => (x(), I("table", {
|
|
1022
1038
|
key: Xe,
|
|
1023
1039
|
class: "fresh-booking-table"
|
|
1024
1040
|
}, [
|
|
1025
1041
|
v("thead", null, [
|
|
1026
1042
|
v("tr", null, [
|
|
1027
1043
|
v("th", null, [
|
|
1028
|
-
v("span", null, V(
|
|
1044
|
+
v("span", null, V(d(_e)(pe.name)), 1)
|
|
1029
1045
|
]),
|
|
1030
1046
|
B("", !0),
|
|
1031
|
-
v("th",
|
|
1047
|
+
v("th", Kn, [
|
|
1032
1048
|
v("b", null, [
|
|
1033
1049
|
T(re, {
|
|
1034
1050
|
icon: "male",
|
|
1035
1051
|
type: "fas",
|
|
1036
1052
|
color: "font"
|
|
1037
1053
|
}),
|
|
1038
|
-
v("span", null, V(
|
|
1039
|
-
|
|
1054
|
+
v("span", null, V(Y.adultsCount), 1),
|
|
1055
|
+
Y.childrenCount > 0 ? (x(), R(re, {
|
|
1040
1056
|
key: 0,
|
|
1041
1057
|
icon: "child",
|
|
1042
1058
|
type: "fas",
|
|
1043
1059
|
color: "font"
|
|
1044
1060
|
})) : B("", !0),
|
|
1045
|
-
|
|
1061
|
+
Y.childrenCount > 0 ? (x(), I("span", Jn, V(Y.childrenCount), 1)) : B("", !0)
|
|
1046
1062
|
])
|
|
1047
1063
|
])
|
|
1048
1064
|
])
|
|
1049
1065
|
]),
|
|
1050
1066
|
v("tbody", null, [
|
|
1051
|
-
(x(!0), I(
|
|
1067
|
+
(x(!0), I(M, null, N($.addons, ({
|
|
1052
1068
|
quantityStrategy: Ze,
|
|
1053
|
-
maximumNumber:
|
|
1069
|
+
maximumNumber: lo,
|
|
1054
1070
|
id: fe,
|
|
1055
|
-
name:
|
|
1056
|
-
price:
|
|
1071
|
+
name: uo,
|
|
1072
|
+
price: co
|
|
1057
1073
|
}) => (x(), I("tr", { key: fe }, [
|
|
1058
1074
|
v("td", null, [
|
|
1059
|
-
v("b", null, V(
|
|
1060
|
-
|
|
1061
|
-
v("span", null, V(
|
|
1075
|
+
v("b", null, V(d(_e)(uo)), 1),
|
|
1076
|
+
Xn,
|
|
1077
|
+
v("span", null, V(d(de)(co, d(Ke))) + " " + V(d(vo)(Ze)), 1)
|
|
1062
1078
|
]),
|
|
1063
1079
|
v("td", null, [
|
|
1064
|
-
Ze === 12 ? (x(),
|
|
1080
|
+
Ze === 12 ? (x(), R(Et, {
|
|
1065
1081
|
key: 0,
|
|
1066
|
-
modelValue:
|
|
1067
|
-
"onUpdate:modelValue": (Q) =>
|
|
1082
|
+
modelValue: d(D)[$.roomGroupID][he].config[Y.configIdx].addons[Y.roomIdx][fe],
|
|
1083
|
+
"onUpdate:modelValue": (Q) => d(D)[$.roomGroupID][he].config[Y.configIdx].addons[Y.roomIdx][fe] = Q,
|
|
1068
1084
|
small: !0,
|
|
1069
1085
|
"min-value": 0,
|
|
1070
|
-
"max-value":
|
|
1071
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (x(),
|
|
1086
|
+
"max-value": lo || 1 / 0
|
|
1087
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (x(), R(Fe, {
|
|
1072
1088
|
key: 1,
|
|
1073
|
-
modelValue:
|
|
1074
|
-
"onUpdate:modelValue": (Q) =>
|
|
1089
|
+
modelValue: d(D)[$.roomGroupID][he].config[Y.configIdx].addons[Y.roomIdx][fe],
|
|
1090
|
+
"onUpdate:modelValue": (Q) => d(D)[$.roomGroupID][he].config[Y.configIdx].addons[Y.roomIdx][fe] = Q,
|
|
1075
1091
|
numeric: !0
|
|
1076
1092
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
1077
1093
|
]),
|
|
@@ -1087,7 +1103,7 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
1087
1103
|
]),
|
|
1088
1104
|
navigation: w(() => [
|
|
1089
1105
|
T(me, {
|
|
1090
|
-
label:
|
|
1106
|
+
label: d(e)("general.startReservation"),
|
|
1091
1107
|
"full-width": "",
|
|
1092
1108
|
onClickEvent: J
|
|
1093
1109
|
}, null, 8, ["label", "onClickEvent"]),
|
|
@@ -1095,8 +1111,8 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
1095
1111
|
class: "konnectio-abort-reservation link",
|
|
1096
1112
|
onClick: nt(($) => Je(A), ["prevent"])
|
|
1097
1113
|
}, [
|
|
1098
|
-
v("span", null, V(
|
|
1099
|
-
], 8,
|
|
1114
|
+
v("span", null, V(d(e)("general.goAStepBack")), 1)
|
|
1115
|
+
], 8, Zn)
|
|
1100
1116
|
]),
|
|
1101
1117
|
_: 2
|
|
1102
1118
|
}, 1024)
|
|
@@ -1107,196 +1123,183 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
1107
1123
|
"show-gift-card": !0
|
|
1108
1124
|
}, {
|
|
1109
1125
|
form: w(() => [
|
|
1110
|
-
v("form",
|
|
1126
|
+
v("form", ei, [
|
|
1111
1127
|
v("h2", null, [
|
|
1112
|
-
v("span", null, V(
|
|
1128
|
+
v("span", null, V(d(e)("booking.reservation.detailsTitle")), 1)
|
|
1113
1129
|
]),
|
|
1114
|
-
!
|
|
1130
|
+
!d(Ut) && !(d(Ce) && d(Ve)) ? (x(), I("ul", {
|
|
1115
1131
|
key: 0,
|
|
1116
|
-
class: Ie({ "fresh-booking-split-inputs": !
|
|
1132
|
+
class: Ie({ "fresh-booking-split-inputs": !d(Ce) && !d(Ve) })
|
|
1117
1133
|
}, [
|
|
1118
|
-
|
|
1134
|
+
d(Ce) ? B("", !0) : (x(), I("li", ti, [
|
|
1119
1135
|
T(it, {
|
|
1120
|
-
modelValue:
|
|
1136
|
+
modelValue: d(g),
|
|
1121
1137
|
"onUpdate:modelValue": P[2] || (P[2] = ($) => F(g) ? g.value = $ : null),
|
|
1122
|
-
label:
|
|
1138
|
+
label: d(e)("booking.reservation.arrivalTime"),
|
|
1123
1139
|
icon: "hourglass-start",
|
|
1124
|
-
"hour-range":
|
|
1140
|
+
"hour-range": to.value,
|
|
1125
1141
|
required: ""
|
|
1126
1142
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1127
1143
|
])),
|
|
1128
|
-
|
|
1144
|
+
d(Ve) ? B("", !0) : (x(), I("li", oi, [
|
|
1129
1145
|
T(it, {
|
|
1130
|
-
modelValue:
|
|
1146
|
+
modelValue: d(k),
|
|
1131
1147
|
"onUpdate:modelValue": P[3] || (P[3] = ($) => F(k) ? k.value = $ : null),
|
|
1132
|
-
label:
|
|
1148
|
+
label: d(e)("booking.reservation.departureTime"),
|
|
1133
1149
|
icon: "hourglass-end",
|
|
1134
|
-
"hour-range":
|
|
1150
|
+
"hour-range": oo.value,
|
|
1135
1151
|
required: ""
|
|
1136
1152
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1137
1153
|
]))
|
|
1138
1154
|
], 2)) : B("", !0),
|
|
1139
|
-
T(
|
|
1140
|
-
modelValue:
|
|
1155
|
+
T(_n, {
|
|
1156
|
+
modelValue: d(s),
|
|
1141
1157
|
"onUpdate:modelValue": P[4] || (P[4] = ($) => F(s) ? s.value = $ : null),
|
|
1142
|
-
title:
|
|
1158
|
+
title: d(_),
|
|
1143
1159
|
"onUpdate:title": P[5] || (P[5] = ($) => F(_) ? _.value = $ : null),
|
|
1144
|
-
"exclude-title":
|
|
1145
|
-
label:
|
|
1160
|
+
"exclude-title": d(Ft),
|
|
1161
|
+
label: d(e)("booking.reservation.name"),
|
|
1146
1162
|
icon: "user-alt",
|
|
1147
|
-
placeholder:
|
|
1163
|
+
placeholder: d(e)("booking.reservation.namePlaceholder"),
|
|
1148
1164
|
required: ""
|
|
1149
1165
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
1150
1166
|
T(ne, {
|
|
1151
|
-
modelValue:
|
|
1167
|
+
modelValue: d(b),
|
|
1152
1168
|
"onUpdate:modelValue": P[6] || (P[6] = ($) => F(b) ? b.value = $ : null),
|
|
1153
1169
|
type: "email",
|
|
1154
1170
|
name: "email",
|
|
1155
1171
|
autocomplete: "email",
|
|
1156
|
-
label:
|
|
1172
|
+
label: d(e)("booking.reservation.email"),
|
|
1157
1173
|
icon: "at",
|
|
1158
|
-
placeholder:
|
|
1174
|
+
placeholder: d(e)("booking.reservation.emailPlaceholder"),
|
|
1159
1175
|
required: ""
|
|
1160
1176
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1161
|
-
|
|
1177
|
+
d(Ht) ? B("", !0) : (x(), R(Fe, {
|
|
1162
1178
|
key: 1,
|
|
1163
|
-
modelValue:
|
|
1179
|
+
modelValue: d(C),
|
|
1164
1180
|
"onUpdate:modelValue": P[7] || (P[7] = ($) => F(C) ? C.value = $ : null),
|
|
1165
1181
|
type: "checkbox",
|
|
1166
1182
|
name: "newsletter",
|
|
1167
|
-
label:
|
|
1183
|
+
label: d(e)("booking.reservation.newsletterSignUp")
|
|
1168
1184
|
}, null, 8, ["modelValue", "label"])),
|
|
1169
|
-
|
|
1185
|
+
d(jt) ? B("", !0) : (x(), R(ne, {
|
|
1170
1186
|
key: 2,
|
|
1171
|
-
modelValue:
|
|
1187
|
+
modelValue: d(i),
|
|
1172
1188
|
"onUpdate:modelValue": P[8] || (P[8] = ($) => F(i) ? i.value = $ : null),
|
|
1173
1189
|
type: "text",
|
|
1174
1190
|
name: "firm",
|
|
1175
1191
|
autocomplete: "firm",
|
|
1176
|
-
label: `${
|
|
1192
|
+
label: `${d(e)("booking.reservation.companyName")} (${d(e)("booking.reservation.optional")})`,
|
|
1177
1193
|
icon: "id-card",
|
|
1178
|
-
placeholder:
|
|
1194
|
+
placeholder: d(e)("booking.reservation.companyNamePlaceholder")
|
|
1179
1195
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
1180
|
-
T(
|
|
1181
|
-
modelValue:
|
|
1196
|
+
T(zo, {
|
|
1197
|
+
modelValue: d(f),
|
|
1182
1198
|
"onUpdate:modelValue": P[9] || (P[9] = ($) => F(f) ? f.value = $ : null),
|
|
1183
1199
|
icon: "phone-office",
|
|
1184
|
-
label:
|
|
1185
|
-
placeholder:
|
|
1200
|
+
label: d(e)("booking.reservation.phone"),
|
|
1201
|
+
placeholder: d(e)("booking.reservation.phonePlaceholder"),
|
|
1186
1202
|
required: ""
|
|
1187
1203
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1188
|
-
T(
|
|
1189
|
-
modelValue:
|
|
1204
|
+
T(fn, {
|
|
1205
|
+
modelValue: d(S),
|
|
1190
1206
|
"onUpdate:modelValue": P[10] || (P[10] = ($) => F(S) ? S.value = $ : null),
|
|
1191
|
-
label:
|
|
1192
|
-
placeholder:
|
|
1193
|
-
options:
|
|
1207
|
+
label: d(e)("booking.reservation.country"),
|
|
1208
|
+
placeholder: d(e)("booking.reservation.countryPlaceholder"),
|
|
1209
|
+
options: d(a),
|
|
1194
1210
|
required: ""
|
|
1195
1211
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
1196
1212
|
T(ne, {
|
|
1197
|
-
modelValue:
|
|
1213
|
+
modelValue: d(E),
|
|
1198
1214
|
"onUpdate:modelValue": P[11] || (P[11] = ($) => F(E) ? E.value = $ : null),
|
|
1199
1215
|
type: "textarea",
|
|
1200
1216
|
name: "address",
|
|
1201
1217
|
autocomplete: "street-address",
|
|
1202
|
-
label:
|
|
1218
|
+
label: d(e)("booking.reservation.streetAddress"),
|
|
1203
1219
|
icon: "map-marked",
|
|
1204
|
-
placeholder:
|
|
1220
|
+
placeholder: d(e)("booking.reservation.streetAddressPlaceholder"),
|
|
1205
1221
|
required: ""
|
|
1206
1222
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1207
|
-
v("ul",
|
|
1223
|
+
v("ul", ni, [
|
|
1208
1224
|
v("li", null, [
|
|
1209
1225
|
T(ne, {
|
|
1210
|
-
modelValue: u
|
|
1211
|
-
"onUpdate:modelValue": P[12] || (P[12] = ($) => F(
|
|
1226
|
+
modelValue: d(u),
|
|
1227
|
+
"onUpdate:modelValue": P[12] || (P[12] = ($) => F(u) ? u.value = $ : null),
|
|
1212
1228
|
type: "text",
|
|
1213
1229
|
name: "postal",
|
|
1214
1230
|
autocomplete: "postal-code",
|
|
1215
|
-
label:
|
|
1231
|
+
label: d(e)("booking.reservation.postal"),
|
|
1216
1232
|
icon: "mailbox",
|
|
1217
|
-
placeholder:
|
|
1233
|
+
placeholder: d(e)("booking.reservation.postalPlaceholder"),
|
|
1218
1234
|
required: ""
|
|
1219
1235
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1220
1236
|
]),
|
|
1221
1237
|
v("li", null, [
|
|
1222
1238
|
T(ne, {
|
|
1223
|
-
modelValue:
|
|
1239
|
+
modelValue: d(y),
|
|
1224
1240
|
"onUpdate:modelValue": P[13] || (P[13] = ($) => F(y) ? y.value = $ : null),
|
|
1225
1241
|
type: "text",
|
|
1226
1242
|
name: "city",
|
|
1227
1243
|
autocomplete: "address-level2",
|
|
1228
|
-
label:
|
|
1244
|
+
label: d(e)("booking.reservation.city"),
|
|
1229
1245
|
icon: "city",
|
|
1230
|
-
placeholder:
|
|
1246
|
+
placeholder: d(e)("booking.reservation.cityPlaceholder"),
|
|
1231
1247
|
required: ""
|
|
1232
1248
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1233
1249
|
])
|
|
1234
1250
|
]),
|
|
1235
1251
|
T(ne, {
|
|
1236
|
-
modelValue:
|
|
1252
|
+
modelValue: d(L),
|
|
1237
1253
|
"onUpdate:modelValue": P[14] || (P[14] = ($) => F(L) ? L.value = $ : null),
|
|
1238
1254
|
type: "textarea",
|
|
1239
|
-
label: `${
|
|
1255
|
+
label: `${d(e)("booking.reservation.remark")} (${d(e)("booking.reservation.optional")})`,
|
|
1240
1256
|
icon: "info-circle",
|
|
1241
|
-
placeholder:
|
|
1257
|
+
placeholder: d(e)("booking.reservation.remarkPlaceholder")
|
|
1242
1258
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1243
1259
|
T(ne, {
|
|
1244
|
-
modelValue:
|
|
1260
|
+
modelValue: d(O),
|
|
1245
1261
|
"onUpdate:modelValue": P[15] || (P[15] = ($) => F(O) ? O.value = $ : null),
|
|
1246
1262
|
type: "textarea",
|
|
1247
|
-
label: `${
|
|
1263
|
+
label: `${d(e)("booking.reservation.allergies")} (${d(e)("booking.reservation.optional")})`,
|
|
1248
1264
|
icon: "allergies",
|
|
1249
|
-
placeholder:
|
|
1265
|
+
placeholder: d(e)("booking.reservation.allergiesPlaceholder")
|
|
1250
1266
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1251
|
-
|
|
1267
|
+
d(qt) ? B("", !0) : (x(), R(yn, {
|
|
1252
1268
|
key: 3,
|
|
1253
|
-
modelValue:
|
|
1269
|
+
modelValue: d(m),
|
|
1254
1270
|
"onUpdate:modelValue": P[16] || (P[16] = ($) => F(m) ? m.value = $ : null),
|
|
1255
|
-
label: `${
|
|
1271
|
+
label: `${d(e)("booking.reservation.purposeOfStay")} (${d(e)("booking.reservation.optional")})`,
|
|
1256
1272
|
name: "travelingFor",
|
|
1257
|
-
checkboxes:
|
|
1258
|
-
{
|
|
1259
|
-
label: u(e)("booking.reservation.business"),
|
|
1260
|
-
value: "Business"
|
|
1261
|
-
},
|
|
1262
|
-
{
|
|
1263
|
-
label: u(e)("booking.reservation.pleasure"),
|
|
1264
|
-
value: "Pleasure"
|
|
1265
|
-
},
|
|
1266
|
-
{
|
|
1267
|
-
label: u(e)("booking.reservation.bleasure"),
|
|
1268
|
-
value: "Bleasure"
|
|
1269
|
-
}
|
|
1270
|
-
]
|
|
1273
|
+
checkboxes: Zt.value
|
|
1271
1274
|
}, null, 8, ["modelValue", "label", "checkboxes"]))
|
|
1272
1275
|
])
|
|
1273
1276
|
]),
|
|
1274
1277
|
navigation: w(() => [
|
|
1275
1278
|
v("div", null, [
|
|
1276
1279
|
T(me, {
|
|
1277
|
-
label:
|
|
1278
|
-
disabled: !
|
|
1279
|
-
"is-loading":
|
|
1280
|
+
label: d(Yt) ? d(e)("booking.reservation.nextButton") : d(e)("general.confirmReservation"),
|
|
1281
|
+
disabled: !d(h),
|
|
1282
|
+
"is-loading": d(l),
|
|
1280
1283
|
"full-width": "",
|
|
1281
|
-
onClickEvent: ($) =>
|
|
1284
|
+
onClickEvent: ($) => ro(J)
|
|
1282
1285
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
|
|
1283
1286
|
v("button", {
|
|
1284
1287
|
class: "konnectio-abort-reservation link",
|
|
1285
1288
|
onClick: nt(($) => Je(A), ["prevent"])
|
|
1286
1289
|
}, [
|
|
1287
|
-
v("span", null, V(
|
|
1288
|
-
], 8,
|
|
1290
|
+
v("span", null, V(d(e)("general.goAStepBack")), 1)
|
|
1291
|
+
], 8, ii)
|
|
1289
1292
|
])
|
|
1290
1293
|
]),
|
|
1291
1294
|
_: 2
|
|
1292
1295
|
}, 1024)
|
|
1293
1296
|
]),
|
|
1294
1297
|
payment: w(() => [
|
|
1295
|
-
T(
|
|
1298
|
+
T(Ro)
|
|
1296
1299
|
]),
|
|
1297
1300
|
confirmation: w(() => [
|
|
1298
|
-
T(
|
|
1299
|
-
message:
|
|
1301
|
+
T(Lo, {
|
|
1302
|
+
message: d(e)("booking.confirmation.thankYou")
|
|
1300
1303
|
}, null, 8, ["message"])
|
|
1301
1304
|
]),
|
|
1302
1305
|
_: 1
|
|
@@ -1306,13 +1309,13 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
1306
1309
|
}, 8, ["access-token", "styling"])
|
|
1307
1310
|
]),
|
|
1308
1311
|
fallback: w(() => [
|
|
1309
|
-
T(
|
|
1312
|
+
T(Ln)
|
|
1310
1313
|
]),
|
|
1311
1314
|
_: 1
|
|
1312
1315
|
}));
|
|
1313
1316
|
}
|
|
1314
1317
|
});
|
|
1315
|
-
const
|
|
1318
|
+
const si = /* @__PURE__ */ ee(ri, [["__scopeId", "data-v-1c435a52"]]);
|
|
1316
1319
|
var St = { exports: {} }, Le = { exports: {} }, we = { exports: {} }, rt;
|
|
1317
1320
|
function je() {
|
|
1318
1321
|
return rt || (rt = 1, function(o) {
|
|
@@ -1427,8 +1430,8 @@ function Ye() {
|
|
|
1427
1430
|
var b = {};
|
|
1428
1431
|
b.width = s.offsetWidth, b.height = s.offsetHeight;
|
|
1429
1432
|
for (var f = b.isBorderBox = _.boxSizing == "border-box", i = 0; i < p; i++) {
|
|
1430
|
-
var
|
|
1431
|
-
b[
|
|
1433
|
+
var u = r[i], y = _[u], E = parseFloat(y);
|
|
1434
|
+
b[u] = isNaN(E) ? 0 : E;
|
|
1432
1435
|
}
|
|
1433
1436
|
var S = b.paddingLeft + b.paddingRight, L = b.paddingTop + b.paddingBottom, O = b.marginLeft + b.marginRight, C = b.marginTop + b.marginBottom, D = b.borderLeftWidth + b.borderRightWidth, H = b.borderTopWidth + b.borderBottomWidth, U = f && m, q = t(_.width);
|
|
1434
1437
|
q !== !1 && (b.width = q + // add padding and border unless it's already including it
|
|
@@ -1443,7 +1446,7 @@ function Ye() {
|
|
|
1443
1446
|
}(He)), He.exports;
|
|
1444
1447
|
}
|
|
1445
1448
|
var Oe = { exports: {} }, Ae = { exports: {} }, at;
|
|
1446
|
-
function
|
|
1449
|
+
function ai() {
|
|
1447
1450
|
return at || (at = 1, function(o) {
|
|
1448
1451
|
(function(e, t) {
|
|
1449
1452
|
o.exports ? o.exports = t() : e.matchesSelector = t();
|
|
@@ -1467,12 +1470,12 @@ function ri() {
|
|
|
1467
1470
|
}(Ae)), Ae.exports;
|
|
1468
1471
|
}
|
|
1469
1472
|
var lt;
|
|
1470
|
-
function
|
|
1473
|
+
function li() {
|
|
1471
1474
|
return lt || (lt = 1, function(o) {
|
|
1472
1475
|
(function(e, t) {
|
|
1473
1476
|
o.exports ? o.exports = t(
|
|
1474
1477
|
e,
|
|
1475
|
-
|
|
1478
|
+
ai()
|
|
1476
1479
|
) : e.fizzyUIUtils = t(
|
|
1477
1480
|
e,
|
|
1478
1481
|
e.matchesSelector
|
|
@@ -1544,14 +1547,14 @@ function si() {
|
|
|
1544
1547
|
a.docReady(function() {
|
|
1545
1548
|
var c = a.toDashed(h), m = "data-" + c, g = document.querySelectorAll("[" + m + "]"), k = document.querySelectorAll(".js-" + c), s = a.makeArray(g).concat(a.makeArray(k)), _ = m + "-options", b = t.jQuery;
|
|
1546
1549
|
s.forEach(function(f) {
|
|
1547
|
-
var i = f.getAttribute(m) || f.getAttribute(_),
|
|
1550
|
+
var i = f.getAttribute(m) || f.getAttribute(_), u;
|
|
1548
1551
|
try {
|
|
1549
|
-
|
|
1552
|
+
u = i && JSON.parse(i);
|
|
1550
1553
|
} catch (E) {
|
|
1551
1554
|
p && p.error("Error parsing " + m + " on " + f.className + ": " + E);
|
|
1552
1555
|
return;
|
|
1553
1556
|
}
|
|
1554
|
-
var y = new l(f,
|
|
1557
|
+
var y = new l(f, u);
|
|
1555
1558
|
b && b.data(f, h, y);
|
|
1556
1559
|
});
|
|
1557
1560
|
});
|
|
@@ -1560,7 +1563,7 @@ function si() {
|
|
|
1560
1563
|
}(Oe)), Oe.exports;
|
|
1561
1564
|
}
|
|
1562
1565
|
var ze = { exports: {} }, ut;
|
|
1563
|
-
function
|
|
1566
|
+
function ui() {
|
|
1564
1567
|
return ut || (ut = 1, function(o) {
|
|
1565
1568
|
(function(e, t) {
|
|
1566
1569
|
o.exports ? o.exports = t(
|
|
@@ -1608,15 +1611,15 @@ function ai() {
|
|
|
1608
1611
|
this.size = n(this.element);
|
|
1609
1612
|
}, g.css = function(f) {
|
|
1610
1613
|
var i = this.element.style;
|
|
1611
|
-
for (var
|
|
1612
|
-
var y = c[
|
|
1613
|
-
i[y] = f[
|
|
1614
|
+
for (var u in f) {
|
|
1615
|
+
var y = c[u] || u;
|
|
1616
|
+
i[y] = f[u];
|
|
1614
1617
|
}
|
|
1615
1618
|
}, g.getPosition = function() {
|
|
1616
|
-
var f = getComputedStyle(this.element), i = this.layout._getOption("originLeft"),
|
|
1617
|
-
y.indexOf("%") != -1 && (S = S / 100 * O.width), E.indexOf("%") != -1 && (L = L / 100 * O.height), S = isNaN(S) ? 0 : S, L = isNaN(L) ? 0 : L, S -= i ? O.paddingLeft : O.paddingRight, L -=
|
|
1619
|
+
var f = getComputedStyle(this.element), i = this.layout._getOption("originLeft"), u = this.layout._getOption("originTop"), y = f[i ? "left" : "right"], E = f[u ? "top" : "bottom"], S = parseFloat(y), L = parseFloat(E), O = this.layout.size;
|
|
1620
|
+
y.indexOf("%") != -1 && (S = S / 100 * O.width), E.indexOf("%") != -1 && (L = L / 100 * O.height), S = isNaN(S) ? 0 : S, L = isNaN(L) ? 0 : L, S -= i ? O.paddingLeft : O.paddingRight, L -= u ? O.paddingTop : O.paddingBottom, this.position.x = S, this.position.y = L;
|
|
1618
1621
|
}, g.layoutPosition = function() {
|
|
1619
|
-
var f = this.layout.size, i = {},
|
|
1622
|
+
var f = this.layout.size, i = {}, u = this.layout._getOption("originLeft"), y = this.layout._getOption("originTop"), E = u ? "paddingLeft" : "paddingRight", S = u ? "left" : "right", L = u ? "right" : "left", O = this.position.x + f[E];
|
|
1620
1623
|
i[S] = this.getXValue(O), i[L] = "";
|
|
1621
1624
|
var C = y ? "paddingTop" : "paddingBottom", D = y ? "top" : "bottom", H = y ? "bottom" : "top", U = this.position.y + f[C];
|
|
1622
1625
|
i[D] = this.getYValue(U), i[H] = "", this.css(i), this.emitEvent("layout", [this]);
|
|
@@ -1628,12 +1631,12 @@ function ai() {
|
|
|
1628
1631
|
return this.layout.options.percentPosition && i ? f / this.layout.size.height * 100 + "%" : f + "px";
|
|
1629
1632
|
}, g._transitionTo = function(f, i) {
|
|
1630
1633
|
this.getPosition();
|
|
1631
|
-
var
|
|
1634
|
+
var u = this.position.x, y = this.position.y, E = f == this.position.x && i == this.position.y;
|
|
1632
1635
|
if (this.setPosition(f, i), E && !this.isTransitioning) {
|
|
1633
1636
|
this.layoutPosition();
|
|
1634
1637
|
return;
|
|
1635
1638
|
}
|
|
1636
|
-
var S = f -
|
|
1639
|
+
var S = f - u, L = i - y, O = {};
|
|
1637
1640
|
O.transform = this.getTranslate(S, L), this.transition({
|
|
1638
1641
|
to: O,
|
|
1639
1642
|
onTransitionEnd: {
|
|
@@ -1642,8 +1645,8 @@ function ai() {
|
|
|
1642
1645
|
isCleaning: !0
|
|
1643
1646
|
});
|
|
1644
1647
|
}, g.getTranslate = function(f, i) {
|
|
1645
|
-
var
|
|
1646
|
-
return f =
|
|
1648
|
+
var u = this.layout._getOption("originLeft"), y = this.layout._getOption("originTop");
|
|
1649
|
+
return f = u ? f : -f, i = y ? i : -i, "translate3d(" + f + "px, " + i + "px, 0)";
|
|
1647
1650
|
}, g.goTo = function(f, i) {
|
|
1648
1651
|
this.setPosition(f, i), this.layoutPosition();
|
|
1649
1652
|
}, g.moveTo = g._transitionTo, g.setPosition = function(f, i) {
|
|
@@ -1658,10 +1661,10 @@ function ai() {
|
|
|
1658
1661
|
return;
|
|
1659
1662
|
}
|
|
1660
1663
|
var i = this._transn;
|
|
1661
|
-
for (var
|
|
1662
|
-
i.onEnd[
|
|
1663
|
-
for (
|
|
1664
|
-
i.ingProperties[
|
|
1664
|
+
for (var u in f.onTransitionEnd)
|
|
1665
|
+
i.onEnd[u] = f.onTransitionEnd[u];
|
|
1666
|
+
for (u in f.to)
|
|
1667
|
+
i.ingProperties[u] = !0, f.isCleaning && (i.clean[u] = !0);
|
|
1665
1668
|
f.from && (this.css(f.from), this.element.offsetHeight), this.enableTransition(f.to), this.css(f.to), this.isTransitioning = !0;
|
|
1666
1669
|
};
|
|
1667
1670
|
function k(f) {
|
|
@@ -1689,10 +1692,10 @@ function ai() {
|
|
|
1689
1692
|
};
|
|
1690
1693
|
g.ontransitionend = function(f) {
|
|
1691
1694
|
if (f.target === this.element) {
|
|
1692
|
-
var i = this._transn,
|
|
1693
|
-
if (delete i.ingProperties[
|
|
1694
|
-
var y = i.onEnd[
|
|
1695
|
-
y.call(this), delete i.onEnd[
|
|
1695
|
+
var i = this._transn, u = _[f.propertyName] || f.propertyName;
|
|
1696
|
+
if (delete i.ingProperties[u], a(i.ingProperties) && this.disableTransition(), u in i.clean && (this.element.style[f.propertyName] = "", delete i.clean[u]), u in i.onEnd) {
|
|
1697
|
+
var y = i.onEnd[u];
|
|
1698
|
+
y.call(this), delete i.onEnd[u];
|
|
1696
1699
|
}
|
|
1697
1700
|
this.emitEvent("transitionEnd", [this]);
|
|
1698
1701
|
}
|
|
@@ -1700,8 +1703,8 @@ function ai() {
|
|
|
1700
1703
|
this.removeTransitionStyles(), this.element.removeEventListener(h, this, !1), this.isTransitioning = !1;
|
|
1701
1704
|
}, g._removeStyles = function(f) {
|
|
1702
1705
|
var i = {};
|
|
1703
|
-
for (var
|
|
1704
|
-
i[
|
|
1706
|
+
for (var u in f)
|
|
1707
|
+
i[u] = "";
|
|
1705
1708
|
this.css(i);
|
|
1706
1709
|
};
|
|
1707
1710
|
var b = {
|
|
@@ -1725,8 +1728,8 @@ function ai() {
|
|
|
1725
1728
|
}), this.hide();
|
|
1726
1729
|
}, g.reveal = function() {
|
|
1727
1730
|
delete this.isHidden, this.css({ display: "" });
|
|
1728
|
-
var f = this.layout.options, i = {},
|
|
1729
|
-
i[
|
|
1731
|
+
var f = this.layout.options, i = {}, u = this.getHideRevealTransitionEndProperty("visibleStyle");
|
|
1732
|
+
i[u] = this.onRevealTransitionEnd, this.transition({
|
|
1730
1733
|
from: f.hiddenStyle,
|
|
1731
1734
|
to: f.visibleStyle,
|
|
1732
1735
|
isCleaning: !0,
|
|
@@ -1738,12 +1741,12 @@ function ai() {
|
|
|
1738
1741
|
var i = this.layout.options[f];
|
|
1739
1742
|
if (i.opacity)
|
|
1740
1743
|
return "opacity";
|
|
1741
|
-
for (var
|
|
1742
|
-
return
|
|
1744
|
+
for (var u in i)
|
|
1745
|
+
return u;
|
|
1743
1746
|
}, g.hide = function() {
|
|
1744
1747
|
this.isHidden = !0, this.css({ display: "" });
|
|
1745
|
-
var f = this.layout.options, i = {},
|
|
1746
|
-
i[
|
|
1748
|
+
var f = this.layout.options, i = {}, u = this.getHideRevealTransitionEndProperty("hiddenStyle");
|
|
1749
|
+
i[u] = this.onHideTransitionEnd, this.transition({
|
|
1747
1750
|
from: f.visibleStyle,
|
|
1748
1751
|
to: f.hiddenStyle,
|
|
1749
1752
|
// keep hidden stuff hidden
|
|
@@ -1772,15 +1775,15 @@ function ai() {
|
|
|
1772
1775
|
* MIT license
|
|
1773
1776
|
*/
|
|
1774
1777
|
var dt;
|
|
1775
|
-
function
|
|
1778
|
+
function di() {
|
|
1776
1779
|
return dt || (dt = 1, function(o) {
|
|
1777
1780
|
(function(e, t) {
|
|
1778
1781
|
o.exports ? o.exports = t(
|
|
1779
1782
|
e,
|
|
1780
1783
|
je(),
|
|
1781
1784
|
Ye(),
|
|
1782
|
-
|
|
1783
|
-
|
|
1785
|
+
li(),
|
|
1786
|
+
ui()
|
|
1784
1787
|
) : e.Outlayer = t(
|
|
1785
1788
|
e,
|
|
1786
1789
|
e.EvEmitter,
|
|
@@ -1791,13 +1794,13 @@ function li() {
|
|
|
1791
1794
|
})(window, function(t, n, a, r, p) {
|
|
1792
1795
|
var l = t.console, h = t.jQuery, c = function() {
|
|
1793
1796
|
}, m = 0, g = {};
|
|
1794
|
-
function k(i,
|
|
1797
|
+
function k(i, u) {
|
|
1795
1798
|
var y = r.getQueryElement(i);
|
|
1796
1799
|
if (!y) {
|
|
1797
1800
|
l && l.error("Bad element for " + this.constructor.namespace + ": " + (y || i));
|
|
1798
1801
|
return;
|
|
1799
1802
|
}
|
|
1800
|
-
this.element = y, h && (this.$element = h(this.element)), this.options = r.extend({}, this.constructor.defaults), this.option(
|
|
1803
|
+
this.element = y, h && (this.$element = h(this.element)), this.options = r.extend({}, this.constructor.defaults), this.option(u);
|
|
1801
1804
|
var E = ++m;
|
|
1802
1805
|
this.element.outlayerGUID = E, g[E] = this, this._create();
|
|
1803
1806
|
var S = this._getOption("initLayout");
|
|
@@ -1827,8 +1830,8 @@ function li() {
|
|
|
1827
1830
|
r.extend(s, n.prototype), s.option = function(i) {
|
|
1828
1831
|
r.extend(this.options, i);
|
|
1829
1832
|
}, s._getOption = function(i) {
|
|
1830
|
-
var
|
|
1831
|
-
return
|
|
1833
|
+
var u = this.constructor.compatOptions[i];
|
|
1834
|
+
return u && this.options[u] !== void 0 ? this.options[u] : this.options[i];
|
|
1832
1835
|
}, k.compatOptions = {
|
|
1833
1836
|
// currentName: oldName
|
|
1834
1837
|
initLayout: "isInitLayout",
|
|
@@ -1845,8 +1848,8 @@ function li() {
|
|
|
1845
1848
|
}, s.reloadItems = function() {
|
|
1846
1849
|
this.items = this._itemize(this.element.children);
|
|
1847
1850
|
}, s._itemize = function(i) {
|
|
1848
|
-
for (var
|
|
1849
|
-
var L =
|
|
1851
|
+
for (var u = this._filterFindItemElements(i), y = this.constructor.Item, E = [], S = 0; S < u.length; S++) {
|
|
1852
|
+
var L = u[S], O = new y(L, this);
|
|
1850
1853
|
E.push(O);
|
|
1851
1854
|
}
|
|
1852
1855
|
return E;
|
|
@@ -1858,27 +1861,27 @@ function li() {
|
|
|
1858
1861
|
});
|
|
1859
1862
|
}, s.layout = function() {
|
|
1860
1863
|
this._resetLayout(), this._manageStamps();
|
|
1861
|
-
var i = this._getOption("layoutInstant"),
|
|
1862
|
-
this.layoutItems(this.items,
|
|
1864
|
+
var i = this._getOption("layoutInstant"), u = i !== void 0 ? i : !this._isLayoutInited;
|
|
1865
|
+
this.layoutItems(this.items, u), this._isLayoutInited = !0;
|
|
1863
1866
|
}, s._init = s.layout, s._resetLayout = function() {
|
|
1864
1867
|
this.getSize();
|
|
1865
1868
|
}, s.getSize = function() {
|
|
1866
1869
|
this.size = a(this.element);
|
|
1867
|
-
}, s._getMeasurement = function(i,
|
|
1870
|
+
}, s._getMeasurement = function(i, u) {
|
|
1868
1871
|
var y = this.options[i], E;
|
|
1869
|
-
y ? (typeof y == "string" ? E = this.element.querySelector(y) : y instanceof HTMLElement && (E = y), this[i] = E ? a(E)[
|
|
1870
|
-
}, s.layoutItems = function(i,
|
|
1871
|
-
i = this._getItemsForLayout(i), this._layoutItems(i,
|
|
1872
|
+
y ? (typeof y == "string" ? E = this.element.querySelector(y) : y instanceof HTMLElement && (E = y), this[i] = E ? a(E)[u] : y) : this[i] = 0;
|
|
1873
|
+
}, s.layoutItems = function(i, u) {
|
|
1874
|
+
i = this._getItemsForLayout(i), this._layoutItems(i, u), this._postLayout();
|
|
1872
1875
|
}, s._getItemsForLayout = function(i) {
|
|
1873
|
-
return i.filter(function(
|
|
1874
|
-
return !
|
|
1876
|
+
return i.filter(function(u) {
|
|
1877
|
+
return !u.isIgnored;
|
|
1875
1878
|
});
|
|
1876
|
-
}, s._layoutItems = function(i,
|
|
1879
|
+
}, s._layoutItems = function(i, u) {
|
|
1877
1880
|
if (this._emitCompleteOnItems("layout", i), !(!i || !i.length)) {
|
|
1878
1881
|
var y = [];
|
|
1879
1882
|
i.forEach(function(E) {
|
|
1880
1883
|
var S = this._getItemLayoutPosition(E);
|
|
1881
|
-
S.item = E, S.isInstant =
|
|
1884
|
+
S.item = E, S.isInstant = u || E.isLayoutInstant, y.push(S);
|
|
1882
1885
|
}, this), this._processLayoutQueue(y);
|
|
1883
1886
|
}
|
|
1884
1887
|
}, s._getItemLayoutPosition = function() {
|
|
@@ -1887,8 +1890,8 @@ function li() {
|
|
|
1887
1890
|
y: 0
|
|
1888
1891
|
};
|
|
1889
1892
|
}, s._processLayoutQueue = function(i) {
|
|
1890
|
-
this.updateStagger(), i.forEach(function(
|
|
1891
|
-
this._positionItem(
|
|
1893
|
+
this.updateStagger(), i.forEach(function(u, y) {
|
|
1894
|
+
this._positionItem(u.item, u.x, u.y, u.isInstant, y);
|
|
1892
1895
|
}, this);
|
|
1893
1896
|
}, s.updateStagger = function() {
|
|
1894
1897
|
var i = this.options.stagger;
|
|
@@ -1897,28 +1900,28 @@ function li() {
|
|
|
1897
1900
|
return;
|
|
1898
1901
|
}
|
|
1899
1902
|
return this.stagger = f(i), this.stagger;
|
|
1900
|
-
}, s._positionItem = function(i,
|
|
1901
|
-
E ? i.goTo(
|
|
1903
|
+
}, s._positionItem = function(i, u, y, E, S) {
|
|
1904
|
+
E ? i.goTo(u, y) : (i.stagger(S * this.stagger), i.moveTo(u, y));
|
|
1902
1905
|
}, s._postLayout = function() {
|
|
1903
1906
|
this.resizeContainer();
|
|
1904
1907
|
}, s.resizeContainer = function() {
|
|
1905
1908
|
var i = this._getOption("resizeContainer");
|
|
1906
1909
|
if (i) {
|
|
1907
|
-
var
|
|
1908
|
-
|
|
1910
|
+
var u = this._getContainerSize();
|
|
1911
|
+
u && (this._setContainerMeasure(u.width, !0), this._setContainerMeasure(u.height, !1));
|
|
1909
1912
|
}
|
|
1910
|
-
}, s._getContainerSize = c, s._setContainerMeasure = function(i,
|
|
1913
|
+
}, s._getContainerSize = c, s._setContainerMeasure = function(i, u) {
|
|
1911
1914
|
if (i !== void 0) {
|
|
1912
1915
|
var y = this.size;
|
|
1913
|
-
y.isBorderBox && (i +=
|
|
1916
|
+
y.isBorderBox && (i += u ? y.paddingLeft + y.paddingRight + y.borderLeftWidth + y.borderRightWidth : y.paddingBottom + y.paddingTop + y.borderTopWidth + y.borderBottomWidth), i = Math.max(i, 0), this.element.style[u ? "width" : "height"] = i + "px";
|
|
1914
1917
|
}
|
|
1915
|
-
}, s._emitCompleteOnItems = function(i,
|
|
1918
|
+
}, s._emitCompleteOnItems = function(i, u) {
|
|
1916
1919
|
var y = this;
|
|
1917
1920
|
function E() {
|
|
1918
|
-
y.dispatchEvent(i + "Complete", null, [
|
|
1921
|
+
y.dispatchEvent(i + "Complete", null, [u]);
|
|
1919
1922
|
}
|
|
1920
|
-
var S =
|
|
1921
|
-
if (!
|
|
1923
|
+
var S = u.length;
|
|
1924
|
+
if (!u || !S) {
|
|
1922
1925
|
E();
|
|
1923
1926
|
return;
|
|
1924
1927
|
}
|
|
@@ -1926,28 +1929,28 @@ function li() {
|
|
|
1926
1929
|
function O() {
|
|
1927
1930
|
L++, L == S && E();
|
|
1928
1931
|
}
|
|
1929
|
-
|
|
1932
|
+
u.forEach(function(C) {
|
|
1930
1933
|
C.once(i, O);
|
|
1931
1934
|
});
|
|
1932
|
-
}, s.dispatchEvent = function(i,
|
|
1933
|
-
var E =
|
|
1935
|
+
}, s.dispatchEvent = function(i, u, y) {
|
|
1936
|
+
var E = u ? [u].concat(y) : y;
|
|
1934
1937
|
if (this.emitEvent(i, E), h)
|
|
1935
|
-
if (this.$element = this.$element || h(this.element),
|
|
1936
|
-
var S = h.Event(
|
|
1938
|
+
if (this.$element = this.$element || h(this.element), u) {
|
|
1939
|
+
var S = h.Event(u);
|
|
1937
1940
|
S.type = i, this.$element.trigger(S, y);
|
|
1938
1941
|
} else
|
|
1939
1942
|
this.$element.trigger(i, y);
|
|
1940
1943
|
}, s.ignore = function(i) {
|
|
1941
|
-
var
|
|
1942
|
-
|
|
1944
|
+
var u = this.getItem(i);
|
|
1945
|
+
u && (u.isIgnored = !0);
|
|
1943
1946
|
}, s.unignore = function(i) {
|
|
1944
|
-
var
|
|
1945
|
-
|
|
1947
|
+
var u = this.getItem(i);
|
|
1948
|
+
u && delete u.isIgnored;
|
|
1946
1949
|
}, s.stamp = function(i) {
|
|
1947
1950
|
i = this._find(i), i && (this.stamps = this.stamps.concat(i), i.forEach(this.ignore, this));
|
|
1948
1951
|
}, s.unstamp = function(i) {
|
|
1949
|
-
i = this._find(i), i && i.forEach(function(
|
|
1950
|
-
r.removeFrom(this.stamps,
|
|
1952
|
+
i = this._find(i), i && i.forEach(function(u) {
|
|
1953
|
+
r.removeFrom(this.stamps, u), this.unignore(u);
|
|
1951
1954
|
}, this);
|
|
1952
1955
|
}, s._find = function(i) {
|
|
1953
1956
|
if (i)
|
|
@@ -1955,19 +1958,19 @@ function li() {
|
|
|
1955
1958
|
}, s._manageStamps = function() {
|
|
1956
1959
|
!this.stamps || !this.stamps.length || (this._getBoundingRect(), this.stamps.forEach(this._manageStamp, this));
|
|
1957
1960
|
}, s._getBoundingRect = function() {
|
|
1958
|
-
var i = this.element.getBoundingClientRect(),
|
|
1961
|
+
var i = this.element.getBoundingClientRect(), u = this.size;
|
|
1959
1962
|
this._boundingRect = {
|
|
1960
|
-
left: i.left +
|
|
1961
|
-
top: i.top +
|
|
1962
|
-
right: i.right - (
|
|
1963
|
-
bottom: i.bottom - (
|
|
1963
|
+
left: i.left + u.paddingLeft + u.borderLeftWidth,
|
|
1964
|
+
top: i.top + u.paddingTop + u.borderTopWidth,
|
|
1965
|
+
right: i.right - (u.paddingRight + u.borderRightWidth),
|
|
1966
|
+
bottom: i.bottom - (u.paddingBottom + u.borderBottomWidth)
|
|
1964
1967
|
};
|
|
1965
1968
|
}, s._manageStamp = c, s._getElementOffset = function(i) {
|
|
1966
|
-
var
|
|
1967
|
-
left:
|
|
1968
|
-
top:
|
|
1969
|
-
right: y.right -
|
|
1970
|
-
bottom: y.bottom -
|
|
1969
|
+
var u = i.getBoundingClientRect(), y = this._boundingRect, E = a(i), S = {
|
|
1970
|
+
left: u.left - y.left - E.marginLeft,
|
|
1971
|
+
top: u.top - y.top - E.marginTop,
|
|
1972
|
+
right: y.right - u.right - E.marginRight,
|
|
1973
|
+
bottom: y.bottom - u.bottom - E.marginBottom
|
|
1971
1974
|
};
|
|
1972
1975
|
return S;
|
|
1973
1976
|
}, s.handleEvent = r.handleEvent, s.bindResize = function() {
|
|
@@ -1979,56 +1982,56 @@ function li() {
|
|
|
1979
1982
|
}, r.debounceMethod(k, "onresize", 100), s.resize = function() {
|
|
1980
1983
|
!this.isResizeBound || !this.needsResizeLayout() || this.layout();
|
|
1981
1984
|
}, s.needsResizeLayout = function() {
|
|
1982
|
-
var i = a(this.element),
|
|
1983
|
-
return
|
|
1985
|
+
var i = a(this.element), u = this.size && i;
|
|
1986
|
+
return u && i.innerWidth !== this.size.innerWidth;
|
|
1984
1987
|
}, s.addItems = function(i) {
|
|
1985
|
-
var
|
|
1986
|
-
return
|
|
1988
|
+
var u = this._itemize(i);
|
|
1989
|
+
return u.length && (this.items = this.items.concat(u)), u;
|
|
1987
1990
|
}, s.appended = function(i) {
|
|
1988
|
-
var
|
|
1989
|
-
|
|
1991
|
+
var u = this.addItems(i);
|
|
1992
|
+
u.length && (this.layoutItems(u, !0), this.reveal(u));
|
|
1990
1993
|
}, s.prepended = function(i) {
|
|
1991
|
-
var
|
|
1992
|
-
if (
|
|
1994
|
+
var u = this._itemize(i);
|
|
1995
|
+
if (u.length) {
|
|
1993
1996
|
var y = this.items.slice(0);
|
|
1994
|
-
this.items =
|
|
1997
|
+
this.items = u.concat(y), this._resetLayout(), this._manageStamps(), this.layoutItems(u, !0), this.reveal(u), this.layoutItems(y);
|
|
1995
1998
|
}
|
|
1996
1999
|
}, s.reveal = function(i) {
|
|
1997
2000
|
if (this._emitCompleteOnItems("reveal", i), !(!i || !i.length)) {
|
|
1998
|
-
var
|
|
2001
|
+
var u = this.updateStagger();
|
|
1999
2002
|
i.forEach(function(y, E) {
|
|
2000
|
-
y.stagger(E *
|
|
2003
|
+
y.stagger(E * u), y.reveal();
|
|
2001
2004
|
});
|
|
2002
2005
|
}
|
|
2003
2006
|
}, s.hide = function(i) {
|
|
2004
2007
|
if (this._emitCompleteOnItems("hide", i), !(!i || !i.length)) {
|
|
2005
|
-
var
|
|
2008
|
+
var u = this.updateStagger();
|
|
2006
2009
|
i.forEach(function(y, E) {
|
|
2007
|
-
y.stagger(E *
|
|
2010
|
+
y.stagger(E * u), y.hide();
|
|
2008
2011
|
});
|
|
2009
2012
|
}
|
|
2010
2013
|
}, s.revealItemElements = function(i) {
|
|
2011
|
-
var
|
|
2012
|
-
this.reveal(
|
|
2014
|
+
var u = this.getItems(i);
|
|
2015
|
+
this.reveal(u);
|
|
2013
2016
|
}, s.hideItemElements = function(i) {
|
|
2014
|
-
var
|
|
2015
|
-
this.hide(
|
|
2017
|
+
var u = this.getItems(i);
|
|
2018
|
+
this.hide(u);
|
|
2016
2019
|
}, s.getItem = function(i) {
|
|
2017
|
-
for (var
|
|
2018
|
-
var y = this.items[
|
|
2020
|
+
for (var u = 0; u < this.items.length; u++) {
|
|
2021
|
+
var y = this.items[u];
|
|
2019
2022
|
if (y.element == i)
|
|
2020
2023
|
return y;
|
|
2021
2024
|
}
|
|
2022
2025
|
}, s.getItems = function(i) {
|
|
2023
2026
|
i = r.makeArray(i);
|
|
2024
|
-
var
|
|
2027
|
+
var u = [];
|
|
2025
2028
|
return i.forEach(function(y) {
|
|
2026
2029
|
var E = this.getItem(y);
|
|
2027
|
-
E &&
|
|
2028
|
-
}, this),
|
|
2030
|
+
E && u.push(E);
|
|
2031
|
+
}, this), u;
|
|
2029
2032
|
}, s.remove = function(i) {
|
|
2030
|
-
var
|
|
2031
|
-
this._emitCompleteOnItems("remove",
|
|
2033
|
+
var u = this.getItems(i);
|
|
2034
|
+
this._emitCompleteOnItems("remove", u), !(!u || !u.length) && u.forEach(function(y) {
|
|
2032
2035
|
y.remove(), r.removeFrom(this.items, y);
|
|
2033
2036
|
}, this);
|
|
2034
2037
|
}, s.destroy = function() {
|
|
@@ -2036,21 +2039,21 @@ function li() {
|
|
|
2036
2039
|
i.height = "", i.position = "", i.width = "", this.items.forEach(function(y) {
|
|
2037
2040
|
y.destroy();
|
|
2038
2041
|
}), this.unbindResize();
|
|
2039
|
-
var
|
|
2040
|
-
delete g[
|
|
2042
|
+
var u = this.element.outlayerGUID;
|
|
2043
|
+
delete g[u], delete this.element.outlayerGUID, h && h.removeData(this.element, this.constructor.namespace);
|
|
2041
2044
|
}, k.data = function(i) {
|
|
2042
2045
|
i = r.getQueryElement(i);
|
|
2043
|
-
var
|
|
2044
|
-
return
|
|
2045
|
-
}, k.create = function(i,
|
|
2046
|
+
var u = i && i.outlayerGUID;
|
|
2047
|
+
return u && g[u];
|
|
2048
|
+
}, k.create = function(i, u) {
|
|
2046
2049
|
var y = _(k);
|
|
2047
|
-
return y.defaults = r.extend({}, k.defaults), r.extend(y.defaults,
|
|
2050
|
+
return y.defaults = r.extend({}, k.defaults), r.extend(y.defaults, u), y.compatOptions = r.extend({}, k.compatOptions), y.namespace = i, y.data = k.data, y.Item = _(p), r.htmlInit(y, i), h && h.bridget && h.bridget(i, y), y;
|
|
2048
2051
|
};
|
|
2049
2052
|
function _(i) {
|
|
2050
|
-
function
|
|
2053
|
+
function u() {
|
|
2051
2054
|
i.apply(this, arguments);
|
|
2052
2055
|
}
|
|
2053
|
-
return
|
|
2056
|
+
return u.prototype = Object.create(i.prototype), u.prototype.constructor = u, u;
|
|
2054
2057
|
}
|
|
2055
2058
|
var b = {
|
|
2056
2059
|
ms: 1,
|
|
@@ -2059,7 +2062,7 @@ function li() {
|
|
|
2059
2062
|
function f(i) {
|
|
2060
2063
|
if (typeof i == "number")
|
|
2061
2064
|
return i;
|
|
2062
|
-
var
|
|
2065
|
+
var u = i.match(/(^\d*\.?\d*)(\w*)/), y = u && u[1], E = u && u[2];
|
|
2063
2066
|
if (!y.length)
|
|
2064
2067
|
return 0;
|
|
2065
2068
|
y = parseFloat(y);
|
|
@@ -2080,7 +2083,7 @@ function li() {
|
|
|
2080
2083
|
(function(o) {
|
|
2081
2084
|
(function(e, t) {
|
|
2082
2085
|
o.exports ? o.exports = t(
|
|
2083
|
-
|
|
2086
|
+
di(),
|
|
2084
2087
|
Ye()
|
|
2085
2088
|
) : e.Masonry = t(
|
|
2086
2089
|
e.Outlayer,
|
|
@@ -2164,8 +2167,8 @@ function li() {
|
|
|
2164
2167
|
}, a;
|
|
2165
2168
|
});
|
|
2166
2169
|
})(St);
|
|
2167
|
-
var
|
|
2168
|
-
const ct = /* @__PURE__ */ $t(
|
|
2170
|
+
var ci = St.exports;
|
|
2171
|
+
const ct = /* @__PURE__ */ $t(ci);
|
|
2169
2172
|
var Ct = { exports: {} };
|
|
2170
2173
|
/*!
|
|
2171
2174
|
* imagesLoaded v4.1.4
|
|
@@ -2219,9 +2222,9 @@ var Ct = { exports: {} };
|
|
|
2219
2222
|
this.addImage(i);
|
|
2220
2223
|
}
|
|
2221
2224
|
if (typeof this.options.background == "string") {
|
|
2222
|
-
var
|
|
2223
|
-
for (f = 0; f <
|
|
2224
|
-
var y =
|
|
2225
|
+
var u = s.querySelectorAll(this.options.background);
|
|
2226
|
+
for (f = 0; f < u.length; f++) {
|
|
2227
|
+
var y = u[f];
|
|
2225
2228
|
this.addElementBackgroundImages(y);
|
|
2226
2229
|
}
|
|
2227
2230
|
}
|
|
@@ -2312,9 +2315,9 @@ var Ct = { exports: {} };
|
|
|
2312
2315
|
}
|
|
2313
2316
|
);
|
|
2314
2317
|
})(Ct);
|
|
2315
|
-
var
|
|
2316
|
-
const
|
|
2317
|
-
function
|
|
2318
|
+
var pi = Ct.exports;
|
|
2319
|
+
const hi = /* @__PURE__ */ $t(pi);
|
|
2320
|
+
function fi(o) {
|
|
2318
2321
|
return { all: o = o || /* @__PURE__ */ new Map(), on: function(e, t) {
|
|
2319
2322
|
var n = o.get(e);
|
|
2320
2323
|
n ? n.push(t) : o.set(e, [t]);
|
|
@@ -2343,24 +2346,24 @@ const ye = {
|
|
|
2343
2346
|
"horizontal-order": "horizontalOrder",
|
|
2344
2347
|
stagger: "stagger",
|
|
2345
2348
|
"destroy-delay": "destroyDelay"
|
|
2346
|
-
}, ve = "vuemasonry.itemAdded", Re = "vuemasonry.itemRemoved", Me = "vuemasonry.imageLoaded", Ne = "vuemasonry.destroy",
|
|
2349
|
+
}, ve = "vuemasonry.itemAdded", Re = "vuemasonry.itemRemoved", Me = "vuemasonry.imageLoaded", Ne = "vuemasonry.destroy", mi = function(o) {
|
|
2347
2350
|
return (o + "").toLowerCase() === "true";
|
|
2348
|
-
},
|
|
2351
|
+
}, gi = function(o) {
|
|
2349
2352
|
return isNaN(o) ? o : parseInt(o);
|
|
2350
|
-
},
|
|
2353
|
+
}, yi = function(o) {
|
|
2351
2354
|
const e = {};
|
|
2352
2355
|
return Array.prototype.slice.call(o).forEach(function(n) {
|
|
2353
|
-
Object.keys(ye).indexOf(n.name) > -1 && (n.name.indexOf("origin") > -1 ? e[ye[n.name]] =
|
|
2356
|
+
Object.keys(ye).indexOf(n.name) > -1 && (n.name.indexOf("origin") > -1 ? e[ye[n.name]] = mi(n.value) : n.name === "column-width" || n.name === "gutter" ? e[ye[n.name]] = gi(n.value) : e[ye[n.name]] = n.value);
|
|
2354
2357
|
}), e;
|
|
2355
2358
|
}, Vt = {};
|
|
2356
2359
|
Vt.install = function(o, e) {
|
|
2357
|
-
const t =
|
|
2360
|
+
const t = fi(), n = "VueMasonry", a = o;
|
|
2358
2361
|
a.directive("masonry", {
|
|
2359
2362
|
props: ["transitionDuration", " itemSelector", "destroyDelay"],
|
|
2360
2363
|
mounted: function(r, p) {
|
|
2361
2364
|
if (!ct)
|
|
2362
2365
|
throw new Error("Masonry plugin is not defined. Please check it's connected and parsed correctly.");
|
|
2363
|
-
const l =
|
|
2366
|
+
const l = yi(r.attributes), h = new ct(r, l), c = p.value || n, m = l.destroyDelay ? parseInt(l.destroyDelay, 10) : void 0, g = function() {
|
|
2364
2367
|
h.reloadItems(), h.layout();
|
|
2365
2368
|
};
|
|
2366
2369
|
It(() => {
|
|
@@ -2386,7 +2389,7 @@ Vt.install = function(o, e) {
|
|
|
2386
2389
|
const l = p.value || n;
|
|
2387
2390
|
t["emit"](`${ve}__${l}`, {
|
|
2388
2391
|
element: r
|
|
2389
|
-
}), new
|
|
2392
|
+
}), new hi(r, function() {
|
|
2390
2393
|
t["emit"](`${Me}__${l}`, {
|
|
2391
2394
|
element: r
|
|
2392
2395
|
});
|
|
@@ -2414,15 +2417,15 @@ function qe(o, e = {}, t) {
|
|
|
2414
2417
|
}
|
|
2415
2418
|
return e;
|
|
2416
2419
|
}
|
|
2417
|
-
const
|
|
2418
|
-
function
|
|
2420
|
+
const vi = { run: (o) => o() }, _i = () => vi, Pt = typeof console.createTask < "u" ? console.createTask : _i;
|
|
2421
|
+
function bi(o, e) {
|
|
2419
2422
|
const t = e.shift(), n = Pt(t);
|
|
2420
2423
|
return o.reduce(
|
|
2421
2424
|
(a, r) => a.then(() => n.run(() => r(...e))),
|
|
2422
2425
|
Promise.resolve()
|
|
2423
2426
|
);
|
|
2424
2427
|
}
|
|
2425
|
-
function
|
|
2428
|
+
function ki(o, e) {
|
|
2426
2429
|
const t = e.shift(), n = Pt(t);
|
|
2427
2430
|
return Promise.all(o.map((a) => n.run(() => a(...e))));
|
|
2428
2431
|
}
|
|
@@ -2430,7 +2433,7 @@ function We(o, e) {
|
|
|
2430
2433
|
for (const t of [...o])
|
|
2431
2434
|
t(e);
|
|
2432
2435
|
}
|
|
2433
|
-
class
|
|
2436
|
+
class xi {
|
|
2434
2437
|
constructor() {
|
|
2435
2438
|
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);
|
|
2436
2439
|
}
|
|
@@ -2499,10 +2502,10 @@ class bi {
|
|
|
2499
2502
|
delete this._hooks[e];
|
|
2500
2503
|
}
|
|
2501
2504
|
callHook(e, ...t) {
|
|
2502
|
-
return t.unshift(e), this.callHookWith(
|
|
2505
|
+
return t.unshift(e), this.callHookWith(bi, e, ...t);
|
|
2503
2506
|
}
|
|
2504
2507
|
callHookParallel(e, ...t) {
|
|
2505
|
-
return t.unshift(e), this.callHookWith(
|
|
2508
|
+
return t.unshift(e), this.callHookWith(ki, e, ...t);
|
|
2506
2509
|
}
|
|
2507
2510
|
callHookWith(e, t, ...n) {
|
|
2508
2511
|
const a = this._before || this._after ? { name: t, args: n, context: {} } : void 0;
|
|
@@ -2532,20 +2535,20 @@ class bi {
|
|
|
2532
2535
|
};
|
|
2533
2536
|
}
|
|
2534
2537
|
}
|
|
2535
|
-
function
|
|
2536
|
-
return new
|
|
2538
|
+
function Ii() {
|
|
2539
|
+
return new xi();
|
|
2537
2540
|
}
|
|
2538
|
-
function
|
|
2541
|
+
function Ei(o) {
|
|
2539
2542
|
return Array.isArray(o) ? o : [o];
|
|
2540
2543
|
}
|
|
2541
|
-
const
|
|
2544
|
+
const Ti = ["title", "titleTemplate", "script", "style", "noscript"], be = [
|
|
2542
2545
|
"base",
|
|
2543
2546
|
"meta",
|
|
2544
2547
|
"link",
|
|
2545
2548
|
"style",
|
|
2546
2549
|
"script",
|
|
2547
2550
|
"noscript"
|
|
2548
|
-
],
|
|
2551
|
+
], $i = [
|
|
2549
2552
|
"title",
|
|
2550
2553
|
"titleTemplate",
|
|
2551
2554
|
"templateParams",
|
|
@@ -2557,7 +2560,7 @@ const Ii = ["title", "titleTemplate", "script", "style", "noscript"], be = [
|
|
|
2557
2560
|
"style",
|
|
2558
2561
|
"script",
|
|
2559
2562
|
"noscript"
|
|
2560
|
-
],
|
|
2563
|
+
], Si = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], Bt = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], Ci = typeof window < "u";
|
|
2561
2564
|
function Qe(o) {
|
|
2562
2565
|
let e = 9;
|
|
2563
2566
|
for (let t = 0; t < o.length; )
|
|
@@ -2569,7 +2572,7 @@ function pt(o) {
|
|
|
2569
2572
|
}
|
|
2570
2573
|
function Dt(o, e) {
|
|
2571
2574
|
const { props: t, tag: n } = o;
|
|
2572
|
-
if (
|
|
2575
|
+
if (Si.includes(n))
|
|
2573
2576
|
return n;
|
|
2574
2577
|
if (n === "link" && t.rel === "canonical")
|
|
2575
2578
|
return "canonical";
|
|
@@ -2587,7 +2590,7 @@ function Dt(o, e) {
|
|
|
2587
2590
|
function ht(o, e) {
|
|
2588
2591
|
return o == null ? e || null : typeof o == "function" ? o(e) : o;
|
|
2589
2592
|
}
|
|
2590
|
-
async function
|
|
2593
|
+
async function Vi(o, e, t) {
|
|
2591
2594
|
const n = {
|
|
2592
2595
|
tag: o,
|
|
2593
2596
|
props: await Lt(
|
|
@@ -2599,16 +2602,16 @@ async function Si(o, e, t) {
|
|
|
2599
2602
|
};
|
|
2600
2603
|
return Bt.forEach((a) => {
|
|
2601
2604
|
const r = typeof n.props[a] < "u" ? n.props[a] : t[a];
|
|
2602
|
-
typeof r < "u" && ((!["innerHTML", "textContent", "children"].includes(a) ||
|
|
2605
|
+
typeof r < "u" && ((!["innerHTML", "textContent", "children"].includes(a) || Ti.includes(n.tag)) && (n[a === "children" ? "innerHTML" : a] = r), delete n.props[a]);
|
|
2603
2606
|
}), n.props.body && (n.tagPosition = "bodyClose", delete n.props.body), n.tag === "script" && typeof n.innerHTML == "object" && (n.innerHTML = JSON.stringify(n.innerHTML), n.props.type = n.props.type || "application/json"), Array.isArray(n.props.content) ? n.props.content.map((a) => ({ ...n, props: { ...n.props, content: a } })) : n;
|
|
2604
2607
|
}
|
|
2605
|
-
function
|
|
2608
|
+
function Pi(o) {
|
|
2606
2609
|
return typeof o == "object" && !Array.isArray(o) && (o = Object.keys(o).filter((e) => o[e])), (Array.isArray(o) ? o.join(" ") : o).split(" ").filter((e) => e.trim()).filter(Boolean).join(" ");
|
|
2607
2610
|
}
|
|
2608
2611
|
async function Lt(o, e) {
|
|
2609
2612
|
for (const t of Object.keys(o)) {
|
|
2610
2613
|
if (t === "class") {
|
|
2611
|
-
o[t] =
|
|
2614
|
+
o[t] = Pi(o[t]);
|
|
2612
2615
|
continue;
|
|
2613
2616
|
}
|
|
2614
2617
|
if (o[t] instanceof Promise && (o[t] = await o[t]), !e && !Bt.includes(t)) {
|
|
@@ -2618,13 +2621,13 @@ async function Lt(o, e) {
|
|
|
2618
2621
|
}
|
|
2619
2622
|
return o;
|
|
2620
2623
|
}
|
|
2621
|
-
const
|
|
2622
|
-
async function
|
|
2624
|
+
const Bi = 10;
|
|
2625
|
+
async function Di(o) {
|
|
2623
2626
|
const e = [];
|
|
2624
|
-
return Object.entries(o.resolvedInput).filter(([t, n]) => typeof n < "u" &&
|
|
2625
|
-
const a =
|
|
2626
|
-
e.push(...a.map((r) =>
|
|
2627
|
-
}), (await Promise.all(e)).flat().filter(Boolean).map((t, n) => (t._e = o._i, o.mode && (t._m = o.mode), t._p = (o._i <<
|
|
2627
|
+
return Object.entries(o.resolvedInput).filter(([t, n]) => typeof n < "u" && $i.includes(t)).forEach(([t, n]) => {
|
|
2628
|
+
const a = Ei(n);
|
|
2629
|
+
e.push(...a.map((r) => Vi(t, r, o)).flat());
|
|
2630
|
+
}), (await Promise.all(e)).flat().filter(Boolean).map((t, n) => (t._e = o._i, o.mode && (t._m = o.mode), t._p = (o._i << Bi) + n, t));
|
|
2628
2631
|
}
|
|
2629
2632
|
const ft = {
|
|
2630
2633
|
// tags
|
|
@@ -2641,7 +2644,7 @@ function Ee(o) {
|
|
|
2641
2644
|
const t = o.tagPriority;
|
|
2642
2645
|
return typeof t == "number" ? t : (o.tag === "meta" ? (o.props["http-equiv"] === "content-security-policy" && (e = -30), o.props.charset && (e = -20), o.props.name === "viewport" && (e = -15)) : o.tag === "link" && o.props.rel === "preconnect" ? e = 20 : o.tag in ft && (e = ft[o.tag]), typeof t == "string" && t in mt ? e + mt[t] : e);
|
|
2643
2646
|
}
|
|
2644
|
-
const
|
|
2647
|
+
const Li = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], wt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], oe = "%separator";
|
|
2645
2648
|
function ke(o, e, t) {
|
|
2646
2649
|
if (typeof o != "string" || !o.includes("%"))
|
|
2647
2650
|
return o;
|
|
@@ -2659,7 +2662,7 @@ function ke(o, e, t) {
|
|
|
2659
2662
|
typeof l == "string" && (o = o.replace(new RegExp(`\\${p}(\\W|$)`, "g"), (h, c) => `${l}${c}`).trim());
|
|
2660
2663
|
}), o.includes(oe) && (o.endsWith(oe) && (o = o.slice(0, -oe.length).trim()), o.startsWith(oe) && (o = o.slice(oe.length).trim()), o = o.replace(new RegExp(`\\${oe}\\s*\\${oe}`, "g"), oe), o = ke(o, { separator: t }, t)), o;
|
|
2661
2664
|
}
|
|
2662
|
-
async function
|
|
2665
|
+
async function wi(o) {
|
|
2663
2666
|
const e = {
|
|
2664
2667
|
tag: o.tagName.toLowerCase(),
|
|
2665
2668
|
props: await Lt(
|
|
@@ -2669,7 +2672,7 @@ async function Di(o) {
|
|
|
2669
2672
|
};
|
|
2670
2673
|
return e._d = Dt(e), e;
|
|
2671
2674
|
}
|
|
2672
|
-
async function
|
|
2675
|
+
async function Hi(o, e = {}) {
|
|
2673
2676
|
const t = e.document || o.resolvedOptions.document;
|
|
2674
2677
|
if (!t)
|
|
2675
2678
|
return;
|
|
@@ -2689,7 +2692,7 @@ async function Li(o, e = {}) {
|
|
|
2689
2692
|
for (const m of ["body", "head"]) {
|
|
2690
2693
|
const g = t?.[m]?.children;
|
|
2691
2694
|
for (const k of [...g].filter((s) => be.includes(s.tagName.toLowerCase())))
|
|
2692
|
-
r.elMap[k.getAttribute("data-hid") || pt(await
|
|
2695
|
+
r.elMap[k.getAttribute("data-hid") || pt(await wi(k))] = k;
|
|
2693
2696
|
}
|
|
2694
2697
|
}
|
|
2695
2698
|
r.pendingSideEffects = { ...r.sideEffects || {} }, r.sideEffects = {};
|
|
@@ -2735,27 +2738,27 @@ async function Li(o, e = {}) {
|
|
|
2735
2738
|
await o.hooks.callHook("dom:renderTag", m, t, p);
|
|
2736
2739
|
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()), o._dom = r, o.dirty = !1, await o.hooks.callHook("dom:rendered", { renders: a });
|
|
2737
2740
|
}
|
|
2738
|
-
async function
|
|
2741
|
+
async function Oi(o, e = {}) {
|
|
2739
2742
|
const t = e.delayFn || ((n) => setTimeout(n, 10));
|
|
2740
2743
|
return o._domUpdatePromise = o._domUpdatePromise || new Promise((n) => t(async () => {
|
|
2741
|
-
await
|
|
2744
|
+
await Hi(o, e), delete o._domUpdatePromise, n();
|
|
2742
2745
|
}));
|
|
2743
2746
|
}
|
|
2744
2747
|
// @__NO_SIDE_EFFECTS__
|
|
2745
|
-
function
|
|
2748
|
+
function Ai(o) {
|
|
2746
2749
|
return (e) => {
|
|
2747
2750
|
const t = e.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
|
|
2748
2751
|
return t && e.push(JSON.parse(t)), {
|
|
2749
2752
|
mode: "client",
|
|
2750
2753
|
hooks: {
|
|
2751
2754
|
"entries:updated": function(n) {
|
|
2752
|
-
|
|
2755
|
+
Oi(n, o);
|
|
2753
2756
|
}
|
|
2754
2757
|
}
|
|
2755
2758
|
};
|
|
2756
2759
|
};
|
|
2757
2760
|
}
|
|
2758
|
-
const
|
|
2761
|
+
const zi = ["templateParams", "htmlAttrs", "bodyAttrs"], Ri = {
|
|
2759
2762
|
hooks: {
|
|
2760
2763
|
"tag:normalise": function({ tag: o }) {
|
|
2761
2764
|
["hid", "vmid", "key"].forEach((n) => {
|
|
@@ -2770,7 +2773,7 @@ const Oi = ["templateParams", "htmlAttrs", "bodyAttrs"], Ai = {
|
|
|
2770
2773
|
const a = (n.key ? `${n.tag}:${n.key}` : n._d) || n._p, r = e[a];
|
|
2771
2774
|
if (r) {
|
|
2772
2775
|
let l = n?.tagDuplicateStrategy;
|
|
2773
|
-
if (!l &&
|
|
2776
|
+
if (!l && zi.includes(n.tag) && (l = "merge"), l === "merge") {
|
|
2774
2777
|
const h = r.props;
|
|
2775
2778
|
["class", "style"].forEach((c) => {
|
|
2776
2779
|
n.props[c] && h[c] && (c === "style" && !h[c].endsWith(";") && (h[c] += ";"), n.props[c] = `${h[c]} ${n.props[c]}`);
|
|
@@ -2799,7 +2802,7 @@ const Oi = ["templateParams", "htmlAttrs", "bodyAttrs"], Ai = {
|
|
|
2799
2802
|
}), o.tags = t, o.tags = o.tags.filter((n) => !(n.tag === "meta" && (n.props.name || n.props.property) && !n.props.content));
|
|
2800
2803
|
}
|
|
2801
2804
|
}
|
|
2802
|
-
},
|
|
2805
|
+
}, Mi = {
|
|
2803
2806
|
mode: "server",
|
|
2804
2807
|
hooks: {
|
|
2805
2808
|
"tags:resolve": function(o) {
|
|
@@ -2813,19 +2816,19 @@ const Oi = ["templateParams", "htmlAttrs", "bodyAttrs"], Ai = {
|
|
|
2813
2816
|
});
|
|
2814
2817
|
}
|
|
2815
2818
|
}
|
|
2816
|
-
},
|
|
2817
|
-
function
|
|
2819
|
+
}, Ni = ["script", "link", "bodyAttrs"];
|
|
2820
|
+
function Wi(o) {
|
|
2818
2821
|
const e = {}, t = {};
|
|
2819
2822
|
return Object.entries(o.props).forEach(([n, a]) => {
|
|
2820
2823
|
n.startsWith("on") && typeof a == "function" ? (wt.includes(n) && (e[n] = `this.dataset.${n} = true`), t[n] = a) : e[n] = a;
|
|
2821
2824
|
}), { props: e, eventHandlers: t };
|
|
2822
2825
|
}
|
|
2823
|
-
const
|
|
2826
|
+
const Ui = (o) => ({
|
|
2824
2827
|
hooks: {
|
|
2825
2828
|
"tags:resolve": function(e) {
|
|
2826
2829
|
for (const t of e.tags)
|
|
2827
|
-
if (
|
|
2828
|
-
const { props: n, eventHandlers: a } =
|
|
2830
|
+
if (Ni.includes(t.tag)) {
|
|
2831
|
+
const { props: n, eventHandlers: a } = Wi(t);
|
|
2829
2832
|
t.props = n, Object.keys(a).length && ((t.props.src || t.props.href) && (t.key = t.key || Qe(t.props.src || t.props.href)), t._eventHandlers = a);
|
|
2830
2833
|
}
|
|
2831
2834
|
},
|
|
@@ -2853,17 +2856,17 @@ const Ni = (o) => ({
|
|
|
2853
2856
|
});
|
|
2854
2857
|
}
|
|
2855
2858
|
}
|
|
2856
|
-
}),
|
|
2859
|
+
}), Fi = ["link", "style", "script", "noscript"], qi = {
|
|
2857
2860
|
hooks: {
|
|
2858
2861
|
"tag:normalise": ({ tag: o }) => {
|
|
2859
|
-
o.key &&
|
|
2862
|
+
o.key && Fi.includes(o.tag) && (o.props["data-hid"] = o._h = Qe(o.key));
|
|
2860
2863
|
}
|
|
2861
2864
|
}
|
|
2862
|
-
},
|
|
2865
|
+
}, Gi = {
|
|
2863
2866
|
hooks: {
|
|
2864
2867
|
"tags:resolve": (o) => {
|
|
2865
2868
|
const e = (t) => o.tags.find((n) => n._d === t)?._p;
|
|
2866
|
-
for (const { prefix: t, offset: n } of
|
|
2869
|
+
for (const { prefix: t, offset: n } of Li)
|
|
2867
2870
|
for (const a of o.tags.filter((r) => typeof r.tagPriority == "string" && r.tagPriority.startsWith(t))) {
|
|
2868
2871
|
const r = e(
|
|
2869
2872
|
a.tagPriority.replace(t, "")
|
|
@@ -2873,17 +2876,17 @@ const Ni = (o) => ({
|
|
|
2873
2876
|
o.tags.sort((t, n) => t._p - n._p).sort((t, n) => Ee(t) - Ee(n));
|
|
2874
2877
|
}
|
|
2875
2878
|
}
|
|
2876
|
-
},
|
|
2879
|
+
}, ji = {
|
|
2877
2880
|
meta: "content",
|
|
2878
2881
|
link: "href",
|
|
2879
2882
|
htmlAttrs: "lang"
|
|
2880
|
-
},
|
|
2883
|
+
}, Yi = (o) => ({
|
|
2881
2884
|
hooks: {
|
|
2882
2885
|
"tags:resolve": (e) => {
|
|
2883
2886
|
const { tags: t } = e, n = t.find((l) => l.tag === "title")?.textContent, a = t.findIndex((l) => l.tag === "templateParams"), r = a !== -1 ? t[a].props : {}, p = r.separator || "|";
|
|
2884
2887
|
delete r.separator, r.pageTitle = ke(r.pageTitle || n || "", r, p);
|
|
2885
2888
|
for (const l of t.filter((h) => h.processTemplateParams !== !1)) {
|
|
2886
|
-
const h =
|
|
2889
|
+
const h = ji[l.tag];
|
|
2887
2890
|
h && typeof l.props[h] == "string" ? l.props[h] = ke(l.props[h], r, p) : (l.processTemplateParams === !0 || ["titleTemplate", "title"].includes(l.tag)) && ["innerHTML", "textContent"].forEach((c) => {
|
|
2888
2891
|
typeof l[c] == "string" && (l[c] = ke(l[c], r, p));
|
|
2889
2892
|
});
|
|
@@ -2891,7 +2894,7 @@ const Ni = (o) => ({
|
|
|
2891
2894
|
o._templateParams = r, o._separator = p, e.tags = t.filter((l) => l.tag !== "templateParams");
|
|
2892
2895
|
}
|
|
2893
2896
|
}
|
|
2894
|
-
}),
|
|
2897
|
+
}), Qi = {
|
|
2895
2898
|
hooks: {
|
|
2896
2899
|
"tags:resolve": (o) => {
|
|
2897
2900
|
const { tags: e } = o;
|
|
@@ -2912,7 +2915,7 @@ const Ni = (o) => ({
|
|
|
2912
2915
|
t !== -1 && delete e[t], o.tags = e.filter(Boolean);
|
|
2913
2916
|
}
|
|
2914
2917
|
}
|
|
2915
|
-
},
|
|
2918
|
+
}, Ki = {
|
|
2916
2919
|
hooks: {
|
|
2917
2920
|
"tags:afterResolve": function(o) {
|
|
2918
2921
|
for (const e of o.tags)
|
|
@@ -2921,16 +2924,16 @@ const Ni = (o) => ({
|
|
|
2921
2924
|
}
|
|
2922
2925
|
};
|
|
2923
2926
|
// @__NO_SIDE_EFFECTS__
|
|
2924
|
-
function
|
|
2925
|
-
const e =
|
|
2926
|
-
return e.use(/* @__PURE__ */
|
|
2927
|
+
function Ji(o = {}) {
|
|
2928
|
+
const e = Xi(o);
|
|
2929
|
+
return e.use(/* @__PURE__ */ Ai()), e;
|
|
2927
2930
|
}
|
|
2928
2931
|
function gt(o, e) {
|
|
2929
2932
|
return !o || o === "server" && e || o === "client" && !e;
|
|
2930
2933
|
}
|
|
2931
|
-
function
|
|
2932
|
-
const e =
|
|
2933
|
-
e.addHooks(o.hooks || {}), o.document = o.document || (
|
|
2934
|
+
function Xi(o = {}) {
|
|
2935
|
+
const e = Ii();
|
|
2936
|
+
e.addHooks(o.hooks || {}), o.document = o.document || (Ci ? document : void 0);
|
|
2934
2937
|
const t = !o.document, n = () => {
|
|
2935
2938
|
l.dirty = !0, e.callHook("entries:updated", l);
|
|
2936
2939
|
};
|
|
@@ -2970,7 +2973,7 @@ function Ki(o = {}) {
|
|
|
2970
2973
|
for (const c of h.entries) {
|
|
2971
2974
|
const m = c.resolvedInput || c.input;
|
|
2972
2975
|
if (c.resolvedInput = await (c.transform ? c.transform(m) : m), c.resolvedInput)
|
|
2973
|
-
for (const g of await
|
|
2976
|
+
for (const g of await Di(c)) {
|
|
2974
2977
|
const k = { tag: g, entry: c, resolvedOptions: l.resolvedOptions };
|
|
2975
2978
|
await e.callHook("tag:normalise", k), h.tags.push(k.tag);
|
|
2976
2979
|
}
|
|
@@ -2980,56 +2983,56 @@ function Ki(o = {}) {
|
|
|
2980
2983
|
ssr: t
|
|
2981
2984
|
};
|
|
2982
2985
|
return [
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
Ni,
|
|
2986
|
+
Ri,
|
|
2987
|
+
Mi,
|
|
2986
2988
|
Ui,
|
|
2987
|
-
|
|
2989
|
+
qi,
|
|
2988
2990
|
Gi,
|
|
2989
|
-
ji,
|
|
2990
2991
|
Yi,
|
|
2992
|
+
Qi,
|
|
2993
|
+
Ki,
|
|
2991
2994
|
...o?.plugins || []
|
|
2992
2995
|
].forEach((h) => l.use(h)), l.hooks.callHook("init", l), l;
|
|
2993
2996
|
}
|
|
2994
|
-
const
|
|
2995
|
-
function
|
|
2996
|
-
return typeof o == "function" ? o() :
|
|
2997
|
+
const Zi = bo.startsWith("3");
|
|
2998
|
+
function er(o) {
|
|
2999
|
+
return typeof o == "function" ? o() : d(o);
|
|
2997
3000
|
}
|
|
2998
3001
|
function Ge(o, e = "") {
|
|
2999
3002
|
if (o instanceof Promise)
|
|
3000
3003
|
return o;
|
|
3001
|
-
const t =
|
|
3004
|
+
const t = er(o);
|
|
3002
3005
|
return !o || !t ? t : Array.isArray(t) ? t.map((n) => Ge(n, e)) : typeof t == "object" ? Object.fromEntries(
|
|
3003
|
-
Object.entries(t).map(([n, a]) => n === "titleTemplate" || n.startsWith("on") ? [n,
|
|
3006
|
+
Object.entries(t).map(([n, a]) => n === "titleTemplate" || n.startsWith("on") ? [n, d(a)] : [n, Ge(a, n)])
|
|
3004
3007
|
) : t;
|
|
3005
3008
|
}
|
|
3006
|
-
const
|
|
3009
|
+
const tr = {
|
|
3007
3010
|
hooks: {
|
|
3008
3011
|
"entries:resolve": function(o) {
|
|
3009
3012
|
for (const e of o.entries)
|
|
3010
3013
|
e.resolvedInput = Ge(e.input);
|
|
3011
3014
|
}
|
|
3012
3015
|
}
|
|
3013
|
-
},
|
|
3014
|
-
function
|
|
3016
|
+
}, or = "usehead";
|
|
3017
|
+
function nr(o) {
|
|
3015
3018
|
return {
|
|
3016
3019
|
install(t) {
|
|
3017
|
-
|
|
3020
|
+
Zi && (t.config.globalProperties.$unhead = o, t.config.globalProperties.$head = o, t.provide(or, o));
|
|
3018
3021
|
}
|
|
3019
3022
|
}.install;
|
|
3020
3023
|
}
|
|
3021
|
-
function
|
|
3024
|
+
function ir(o = {}) {
|
|
3022
3025
|
o.domDelayFn = o.domDelayFn || ((t) => It(() => setTimeout(() => t(), 0)));
|
|
3023
|
-
const e = /* @__PURE__ */
|
|
3024
|
-
return e.use(
|
|
3026
|
+
const e = /* @__PURE__ */ Ji(o);
|
|
3027
|
+
return e.use(tr), e.install = nr(e), e;
|
|
3025
3028
|
}
|
|
3026
|
-
const
|
|
3027
|
-
te.use(
|
|
3028
|
-
te.use(nr);
|
|
3029
|
+
const rr = ko(), sr = ir(), ar = xo(), te = Io({ components: { Hotel: si } });
|
|
3030
|
+
te.use(sr);
|
|
3029
3031
|
te.use(rr);
|
|
3032
|
+
te.use(ar);
|
|
3030
3033
|
te.use(Vt);
|
|
3031
|
-
te.use(
|
|
3032
|
-
te.use(
|
|
3033
|
-
te.use(
|
|
3034
|
-
te.use(
|
|
3034
|
+
te.use(Mo);
|
|
3035
|
+
te.use(Eo);
|
|
3036
|
+
te.use(wo);
|
|
3037
|
+
te.use(To, { bootstrap: !0 });
|
|
3035
3038
|
te.mount("#konnectio-hotel-app");
|