@konnectio/core 4.0.37 → 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-8e5218c5.js → ActionField-60b4ebb2.js} +2 -2
- package/dist/ActionField-60b4ebb2.js.br +0 -0
- package/dist/{ActionField-6712c933.cjs → ActionField-b2dd3217.cjs} +1 -1
- package/dist/{AvailabilitySkeleton-67ce6e6d.js → AvailabilitySkeleton-8f2cb769.js} +5 -5
- package/dist/AvailabilitySkeleton-8f2cb769.js.br +0 -0
- package/dist/{AvailabilitySkeleton-ec96db6b.cjs → AvailabilitySkeleton-dca8b252.cjs} +1 -1
- package/dist/{DateField.vue_vue_type_style_index_0_lang-64a0c44b.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-0c12cda5.cjs → DateField.vue_vue_type_style_index_0_lang-e4bf6579.cjs} +1 -1
- package/dist/{Field-616b5ab4.cjs → Field-03c61aee.cjs} +1 -1
- package/dist/{Field-0fa0f987.js → Field-19640674.js} +2 -2
- package/dist/Field-19640674.js.br +0 -0
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-c9486f0a.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-1f92ec10.cjs → NumberField.vue_vue_type_script_setup_true_lang-b3e83a4d.cjs} +1 -1
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-2fab4a70.cjs → SelectField.vue_vue_type_style_index_0_lang-1dc998e0.cjs} +35 -35
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-6bfcccf8.js → SelectField.vue_vue_type_style_index_0_lang-9b78302d.js} +1421 -1418
- package/dist/SelectField.vue_vue_type_style_index_0_lang-9b78302d.js.br +0 -0
- package/dist/{ThankYou-125b27fb.js → ThankYou-18bef897.js} +7 -7
- package/dist/ThankYou-18bef897.js.br +0 -0
- package/dist/{ThankYou-0bb9b8ba.cjs → ThankYou-2313373f.cjs} +2 -2
- package/dist/{_-3a1d4d62.js → _-6e1eca9d.js} +1 -1
- package/dist/{_-f6d1d88b.cjs → _-e6cecc7f.cjs} +1 -1
- package/dist/availability.cjs +2 -2
- package/dist/availability.js +10 -10
- package/dist/availability.js.br +0 -0
- package/dist/components/listings/Base.vue.d.ts +1 -1
- package/dist/components/listings/Event.vue.d.ts +1 -1
- package/dist/entries/availability.d.ts +1 -1
- package/dist/{event-bf4c7637.js → event-6e2cdb77.js} +7 -7
- package/dist/event-6e2cdb77.js.br +0 -0
- package/dist/{event-ad6054a0.cjs → event-d848bde5.cjs} +1 -1
- package/dist/event.cjs +1 -1
- package/dist/event.js +9 -9
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.cjs +1 -1
- package/dist/gift-card-validation.js +3 -3
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.cjs +1 -1
- package/dist/gift-card.js +227 -228
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.cjs +5 -5
- package/dist/hotel.js +546 -544
- package/dist/hotel.js.br +0 -0
- package/dist/{index-cc419f8f.js → index-8abf7dfc.js} +1 -1
- package/dist/index-8abf7dfc.js.br +0 -0
- package/dist/{index-f4b84887.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/event.d.ts +3 -3
- package/dist/store/tracking.d.ts +8 -3
- package/dist/store/utilities.d.ts +7 -1
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/ActionField-8e5218c5.js.br +0 -0
- package/dist/AvailabilitySkeleton-67ce6e6d.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-64a0c44b.js.br +0 -0
- package/dist/Field-0fa0f987.js.br +0 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-c9486f0a.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-6bfcccf8.js.br +0 -0
- package/dist/ThankYou-125b27fb.js.br +0 -0
- package/dist/event-bf4c7637.js.br +0 -0
- package/dist/index-cc419f8f.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,76 +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(
|
|
1052
|
-
cardinality: dr,
|
|
1067
|
+
(x(!0), I(M, null, N($.addons, ({
|
|
1053
1068
|
quantityStrategy: Ze,
|
|
1054
|
-
maximumNumber:
|
|
1069
|
+
maximumNumber: lo,
|
|
1055
1070
|
id: fe,
|
|
1056
|
-
name:
|
|
1057
|
-
price:
|
|
1071
|
+
name: uo,
|
|
1072
|
+
price: co
|
|
1058
1073
|
}) => (x(), I("tr", { key: fe }, [
|
|
1059
1074
|
v("td", null, [
|
|
1060
|
-
v("b", null, V(
|
|
1061
|
-
|
|
1062
|
-
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)
|
|
1063
1078
|
]),
|
|
1064
1079
|
v("td", null, [
|
|
1065
|
-
Ze === 12 ? (x(),
|
|
1080
|
+
Ze === 12 ? (x(), R(Et, {
|
|
1066
1081
|
key: 0,
|
|
1067
|
-
modelValue:
|
|
1068
|
-
"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,
|
|
1069
1084
|
small: !0,
|
|
1070
1085
|
"min-value": 0,
|
|
1071
|
-
"max-value":
|
|
1072
|
-
}, 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, {
|
|
1073
1088
|
key: 1,
|
|
1074
|
-
modelValue:
|
|
1075
|
-
"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,
|
|
1076
1091
|
numeric: !0
|
|
1077
1092
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
1078
1093
|
]),
|
|
@@ -1088,7 +1103,7 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
1088
1103
|
]),
|
|
1089
1104
|
navigation: w(() => [
|
|
1090
1105
|
T(me, {
|
|
1091
|
-
label:
|
|
1106
|
+
label: d(e)("general.startReservation"),
|
|
1092
1107
|
"full-width": "",
|
|
1093
1108
|
onClickEvent: J
|
|
1094
1109
|
}, null, 8, ["label", "onClickEvent"]),
|
|
@@ -1096,8 +1111,8 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
1096
1111
|
class: "konnectio-abort-reservation link",
|
|
1097
1112
|
onClick: nt(($) => Je(A), ["prevent"])
|
|
1098
1113
|
}, [
|
|
1099
|
-
v("span", null, V(
|
|
1100
|
-
], 8,
|
|
1114
|
+
v("span", null, V(d(e)("general.goAStepBack")), 1)
|
|
1115
|
+
], 8, Zn)
|
|
1101
1116
|
]),
|
|
1102
1117
|
_: 2
|
|
1103
1118
|
}, 1024)
|
|
@@ -1108,196 +1123,183 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
1108
1123
|
"show-gift-card": !0
|
|
1109
1124
|
}, {
|
|
1110
1125
|
form: w(() => [
|
|
1111
|
-
v("form",
|
|
1126
|
+
v("form", ei, [
|
|
1112
1127
|
v("h2", null, [
|
|
1113
|
-
v("span", null, V(
|
|
1128
|
+
v("span", null, V(d(e)("booking.reservation.detailsTitle")), 1)
|
|
1114
1129
|
]),
|
|
1115
|
-
!
|
|
1130
|
+
!d(Ut) && !(d(Ce) && d(Ve)) ? (x(), I("ul", {
|
|
1116
1131
|
key: 0,
|
|
1117
|
-
class: Ie({ "fresh-booking-split-inputs": !
|
|
1132
|
+
class: Ie({ "fresh-booking-split-inputs": !d(Ce) && !d(Ve) })
|
|
1118
1133
|
}, [
|
|
1119
|
-
|
|
1134
|
+
d(Ce) ? B("", !0) : (x(), I("li", ti, [
|
|
1120
1135
|
T(it, {
|
|
1121
|
-
modelValue:
|
|
1136
|
+
modelValue: d(g),
|
|
1122
1137
|
"onUpdate:modelValue": P[2] || (P[2] = ($) => F(g) ? g.value = $ : null),
|
|
1123
|
-
label:
|
|
1138
|
+
label: d(e)("booking.reservation.arrivalTime"),
|
|
1124
1139
|
icon: "hourglass-start",
|
|
1125
|
-
"hour-range":
|
|
1140
|
+
"hour-range": to.value,
|
|
1126
1141
|
required: ""
|
|
1127
1142
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1128
1143
|
])),
|
|
1129
|
-
|
|
1144
|
+
d(Ve) ? B("", !0) : (x(), I("li", oi, [
|
|
1130
1145
|
T(it, {
|
|
1131
|
-
modelValue:
|
|
1146
|
+
modelValue: d(k),
|
|
1132
1147
|
"onUpdate:modelValue": P[3] || (P[3] = ($) => F(k) ? k.value = $ : null),
|
|
1133
|
-
label:
|
|
1148
|
+
label: d(e)("booking.reservation.departureTime"),
|
|
1134
1149
|
icon: "hourglass-end",
|
|
1135
|
-
"hour-range":
|
|
1150
|
+
"hour-range": oo.value,
|
|
1136
1151
|
required: ""
|
|
1137
1152
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1138
1153
|
]))
|
|
1139
1154
|
], 2)) : B("", !0),
|
|
1140
|
-
T(
|
|
1141
|
-
modelValue:
|
|
1155
|
+
T(_n, {
|
|
1156
|
+
modelValue: d(s),
|
|
1142
1157
|
"onUpdate:modelValue": P[4] || (P[4] = ($) => F(s) ? s.value = $ : null),
|
|
1143
|
-
title:
|
|
1158
|
+
title: d(_),
|
|
1144
1159
|
"onUpdate:title": P[5] || (P[5] = ($) => F(_) ? _.value = $ : null),
|
|
1145
|
-
"exclude-title":
|
|
1146
|
-
label:
|
|
1160
|
+
"exclude-title": d(Ft),
|
|
1161
|
+
label: d(e)("booking.reservation.name"),
|
|
1147
1162
|
icon: "user-alt",
|
|
1148
|
-
placeholder:
|
|
1163
|
+
placeholder: d(e)("booking.reservation.namePlaceholder"),
|
|
1149
1164
|
required: ""
|
|
1150
1165
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
1151
1166
|
T(ne, {
|
|
1152
|
-
modelValue:
|
|
1167
|
+
modelValue: d(b),
|
|
1153
1168
|
"onUpdate:modelValue": P[6] || (P[6] = ($) => F(b) ? b.value = $ : null),
|
|
1154
1169
|
type: "email",
|
|
1155
1170
|
name: "email",
|
|
1156
1171
|
autocomplete: "email",
|
|
1157
|
-
label:
|
|
1172
|
+
label: d(e)("booking.reservation.email"),
|
|
1158
1173
|
icon: "at",
|
|
1159
|
-
placeholder:
|
|
1174
|
+
placeholder: d(e)("booking.reservation.emailPlaceholder"),
|
|
1160
1175
|
required: ""
|
|
1161
1176
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1162
|
-
|
|
1177
|
+
d(Ht) ? B("", !0) : (x(), R(Fe, {
|
|
1163
1178
|
key: 1,
|
|
1164
|
-
modelValue:
|
|
1179
|
+
modelValue: d(C),
|
|
1165
1180
|
"onUpdate:modelValue": P[7] || (P[7] = ($) => F(C) ? C.value = $ : null),
|
|
1166
1181
|
type: "checkbox",
|
|
1167
1182
|
name: "newsletter",
|
|
1168
|
-
label:
|
|
1183
|
+
label: d(e)("booking.reservation.newsletterSignUp")
|
|
1169
1184
|
}, null, 8, ["modelValue", "label"])),
|
|
1170
|
-
|
|
1185
|
+
d(jt) ? B("", !0) : (x(), R(ne, {
|
|
1171
1186
|
key: 2,
|
|
1172
|
-
modelValue:
|
|
1187
|
+
modelValue: d(i),
|
|
1173
1188
|
"onUpdate:modelValue": P[8] || (P[8] = ($) => F(i) ? i.value = $ : null),
|
|
1174
1189
|
type: "text",
|
|
1175
1190
|
name: "firm",
|
|
1176
1191
|
autocomplete: "firm",
|
|
1177
|
-
label: `${
|
|
1192
|
+
label: `${d(e)("booking.reservation.companyName")} (${d(e)("booking.reservation.optional")})`,
|
|
1178
1193
|
icon: "id-card",
|
|
1179
|
-
placeholder:
|
|
1194
|
+
placeholder: d(e)("booking.reservation.companyNamePlaceholder")
|
|
1180
1195
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
1181
|
-
T(
|
|
1182
|
-
modelValue:
|
|
1196
|
+
T(zo, {
|
|
1197
|
+
modelValue: d(f),
|
|
1183
1198
|
"onUpdate:modelValue": P[9] || (P[9] = ($) => F(f) ? f.value = $ : null),
|
|
1184
1199
|
icon: "phone-office",
|
|
1185
|
-
label:
|
|
1186
|
-
placeholder:
|
|
1200
|
+
label: d(e)("booking.reservation.phone"),
|
|
1201
|
+
placeholder: d(e)("booking.reservation.phonePlaceholder"),
|
|
1187
1202
|
required: ""
|
|
1188
1203
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1189
|
-
T(
|
|
1190
|
-
modelValue:
|
|
1204
|
+
T(fn, {
|
|
1205
|
+
modelValue: d(S),
|
|
1191
1206
|
"onUpdate:modelValue": P[10] || (P[10] = ($) => F(S) ? S.value = $ : null),
|
|
1192
|
-
label:
|
|
1193
|
-
placeholder:
|
|
1194
|
-
options:
|
|
1207
|
+
label: d(e)("booking.reservation.country"),
|
|
1208
|
+
placeholder: d(e)("booking.reservation.countryPlaceholder"),
|
|
1209
|
+
options: d(a),
|
|
1195
1210
|
required: ""
|
|
1196
1211
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
1197
1212
|
T(ne, {
|
|
1198
|
-
modelValue:
|
|
1213
|
+
modelValue: d(E),
|
|
1199
1214
|
"onUpdate:modelValue": P[11] || (P[11] = ($) => F(E) ? E.value = $ : null),
|
|
1200
1215
|
type: "textarea",
|
|
1201
1216
|
name: "address",
|
|
1202
1217
|
autocomplete: "street-address",
|
|
1203
|
-
label:
|
|
1218
|
+
label: d(e)("booking.reservation.streetAddress"),
|
|
1204
1219
|
icon: "map-marked",
|
|
1205
|
-
placeholder:
|
|
1220
|
+
placeholder: d(e)("booking.reservation.streetAddressPlaceholder"),
|
|
1206
1221
|
required: ""
|
|
1207
1222
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1208
|
-
v("ul",
|
|
1223
|
+
v("ul", ni, [
|
|
1209
1224
|
v("li", null, [
|
|
1210
1225
|
T(ne, {
|
|
1211
|
-
modelValue: u
|
|
1212
|
-
"onUpdate:modelValue": P[12] || (P[12] = ($) => F(
|
|
1226
|
+
modelValue: d(u),
|
|
1227
|
+
"onUpdate:modelValue": P[12] || (P[12] = ($) => F(u) ? u.value = $ : null),
|
|
1213
1228
|
type: "text",
|
|
1214
1229
|
name: "postal",
|
|
1215
1230
|
autocomplete: "postal-code",
|
|
1216
|
-
label:
|
|
1231
|
+
label: d(e)("booking.reservation.postal"),
|
|
1217
1232
|
icon: "mailbox",
|
|
1218
|
-
placeholder:
|
|
1233
|
+
placeholder: d(e)("booking.reservation.postalPlaceholder"),
|
|
1219
1234
|
required: ""
|
|
1220
1235
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1221
1236
|
]),
|
|
1222
1237
|
v("li", null, [
|
|
1223
1238
|
T(ne, {
|
|
1224
|
-
modelValue:
|
|
1239
|
+
modelValue: d(y),
|
|
1225
1240
|
"onUpdate:modelValue": P[13] || (P[13] = ($) => F(y) ? y.value = $ : null),
|
|
1226
1241
|
type: "text",
|
|
1227
1242
|
name: "city",
|
|
1228
1243
|
autocomplete: "address-level2",
|
|
1229
|
-
label:
|
|
1244
|
+
label: d(e)("booking.reservation.city"),
|
|
1230
1245
|
icon: "city",
|
|
1231
|
-
placeholder:
|
|
1246
|
+
placeholder: d(e)("booking.reservation.cityPlaceholder"),
|
|
1232
1247
|
required: ""
|
|
1233
1248
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1234
1249
|
])
|
|
1235
1250
|
]),
|
|
1236
1251
|
T(ne, {
|
|
1237
|
-
modelValue:
|
|
1252
|
+
modelValue: d(L),
|
|
1238
1253
|
"onUpdate:modelValue": P[14] || (P[14] = ($) => F(L) ? L.value = $ : null),
|
|
1239
1254
|
type: "textarea",
|
|
1240
|
-
label: `${
|
|
1255
|
+
label: `${d(e)("booking.reservation.remark")} (${d(e)("booking.reservation.optional")})`,
|
|
1241
1256
|
icon: "info-circle",
|
|
1242
|
-
placeholder:
|
|
1257
|
+
placeholder: d(e)("booking.reservation.remarkPlaceholder")
|
|
1243
1258
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1244
1259
|
T(ne, {
|
|
1245
|
-
modelValue:
|
|
1260
|
+
modelValue: d(O),
|
|
1246
1261
|
"onUpdate:modelValue": P[15] || (P[15] = ($) => F(O) ? O.value = $ : null),
|
|
1247
1262
|
type: "textarea",
|
|
1248
|
-
label: `${
|
|
1263
|
+
label: `${d(e)("booking.reservation.allergies")} (${d(e)("booking.reservation.optional")})`,
|
|
1249
1264
|
icon: "allergies",
|
|
1250
|
-
placeholder:
|
|
1265
|
+
placeholder: d(e)("booking.reservation.allergiesPlaceholder")
|
|
1251
1266
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1252
|
-
|
|
1267
|
+
d(qt) ? B("", !0) : (x(), R(yn, {
|
|
1253
1268
|
key: 3,
|
|
1254
|
-
modelValue:
|
|
1269
|
+
modelValue: d(m),
|
|
1255
1270
|
"onUpdate:modelValue": P[16] || (P[16] = ($) => F(m) ? m.value = $ : null),
|
|
1256
|
-
label: `${
|
|
1271
|
+
label: `${d(e)("booking.reservation.purposeOfStay")} (${d(e)("booking.reservation.optional")})`,
|
|
1257
1272
|
name: "travelingFor",
|
|
1258
|
-
checkboxes:
|
|
1259
|
-
{
|
|
1260
|
-
label: u(e)("booking.reservation.business"),
|
|
1261
|
-
value: "Business"
|
|
1262
|
-
},
|
|
1263
|
-
{
|
|
1264
|
-
label: u(e)("booking.reservation.pleasure"),
|
|
1265
|
-
value: "Pleasure"
|
|
1266
|
-
},
|
|
1267
|
-
{
|
|
1268
|
-
label: u(e)("booking.reservation.bleasure"),
|
|
1269
|
-
value: "Bleasure"
|
|
1270
|
-
}
|
|
1271
|
-
]
|
|
1273
|
+
checkboxes: Zt.value
|
|
1272
1274
|
}, null, 8, ["modelValue", "label", "checkboxes"]))
|
|
1273
1275
|
])
|
|
1274
1276
|
]),
|
|
1275
1277
|
navigation: w(() => [
|
|
1276
1278
|
v("div", null, [
|
|
1277
1279
|
T(me, {
|
|
1278
|
-
label:
|
|
1279
|
-
disabled: !
|
|
1280
|
-
"is-loading":
|
|
1280
|
+
label: d(Yt) ? d(e)("booking.reservation.nextButton") : d(e)("general.confirmReservation"),
|
|
1281
|
+
disabled: !d(h),
|
|
1282
|
+
"is-loading": d(l),
|
|
1281
1283
|
"full-width": "",
|
|
1282
|
-
onClickEvent: ($) =>
|
|
1284
|
+
onClickEvent: ($) => ro(J)
|
|
1283
1285
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
|
|
1284
1286
|
v("button", {
|
|
1285
1287
|
class: "konnectio-abort-reservation link",
|
|
1286
1288
|
onClick: nt(($) => Je(A), ["prevent"])
|
|
1287
1289
|
}, [
|
|
1288
|
-
v("span", null, V(
|
|
1289
|
-
], 8,
|
|
1290
|
+
v("span", null, V(d(e)("general.goAStepBack")), 1)
|
|
1291
|
+
], 8, ii)
|
|
1290
1292
|
])
|
|
1291
1293
|
]),
|
|
1292
1294
|
_: 2
|
|
1293
1295
|
}, 1024)
|
|
1294
1296
|
]),
|
|
1295
1297
|
payment: w(() => [
|
|
1296
|
-
T(
|
|
1298
|
+
T(Ro)
|
|
1297
1299
|
]),
|
|
1298
1300
|
confirmation: w(() => [
|
|
1299
|
-
T(
|
|
1300
|
-
message:
|
|
1301
|
+
T(Lo, {
|
|
1302
|
+
message: d(e)("booking.confirmation.thankYou")
|
|
1301
1303
|
}, null, 8, ["message"])
|
|
1302
1304
|
]),
|
|
1303
1305
|
_: 1
|
|
@@ -1307,13 +1309,13 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
1307
1309
|
}, 8, ["access-token", "styling"])
|
|
1308
1310
|
]),
|
|
1309
1311
|
fallback: w(() => [
|
|
1310
|
-
T(
|
|
1312
|
+
T(Ln)
|
|
1311
1313
|
]),
|
|
1312
1314
|
_: 1
|
|
1313
1315
|
}));
|
|
1314
1316
|
}
|
|
1315
1317
|
});
|
|
1316
|
-
const
|
|
1318
|
+
const si = /* @__PURE__ */ ee(ri, [["__scopeId", "data-v-1c435a52"]]);
|
|
1317
1319
|
var St = { exports: {} }, Le = { exports: {} }, we = { exports: {} }, rt;
|
|
1318
1320
|
function je() {
|
|
1319
1321
|
return rt || (rt = 1, function(o) {
|
|
@@ -1428,8 +1430,8 @@ function Ye() {
|
|
|
1428
1430
|
var b = {};
|
|
1429
1431
|
b.width = s.offsetWidth, b.height = s.offsetHeight;
|
|
1430
1432
|
for (var f = b.isBorderBox = _.boxSizing == "border-box", i = 0; i < p; i++) {
|
|
1431
|
-
var
|
|
1432
|
-
b[
|
|
1433
|
+
var u = r[i], y = _[u], E = parseFloat(y);
|
|
1434
|
+
b[u] = isNaN(E) ? 0 : E;
|
|
1433
1435
|
}
|
|
1434
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);
|
|
1435
1437
|
q !== !1 && (b.width = q + // add padding and border unless it's already including it
|
|
@@ -1444,7 +1446,7 @@ function Ye() {
|
|
|
1444
1446
|
}(He)), He.exports;
|
|
1445
1447
|
}
|
|
1446
1448
|
var Oe = { exports: {} }, Ae = { exports: {} }, at;
|
|
1447
|
-
function
|
|
1449
|
+
function ai() {
|
|
1448
1450
|
return at || (at = 1, function(o) {
|
|
1449
1451
|
(function(e, t) {
|
|
1450
1452
|
o.exports ? o.exports = t() : e.matchesSelector = t();
|
|
@@ -1468,12 +1470,12 @@ function ri() {
|
|
|
1468
1470
|
}(Ae)), Ae.exports;
|
|
1469
1471
|
}
|
|
1470
1472
|
var lt;
|
|
1471
|
-
function
|
|
1473
|
+
function li() {
|
|
1472
1474
|
return lt || (lt = 1, function(o) {
|
|
1473
1475
|
(function(e, t) {
|
|
1474
1476
|
o.exports ? o.exports = t(
|
|
1475
1477
|
e,
|
|
1476
|
-
|
|
1478
|
+
ai()
|
|
1477
1479
|
) : e.fizzyUIUtils = t(
|
|
1478
1480
|
e,
|
|
1479
1481
|
e.matchesSelector
|
|
@@ -1545,14 +1547,14 @@ function si() {
|
|
|
1545
1547
|
a.docReady(function() {
|
|
1546
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;
|
|
1547
1549
|
s.forEach(function(f) {
|
|
1548
|
-
var i = f.getAttribute(m) || f.getAttribute(_),
|
|
1550
|
+
var i = f.getAttribute(m) || f.getAttribute(_), u;
|
|
1549
1551
|
try {
|
|
1550
|
-
|
|
1552
|
+
u = i && JSON.parse(i);
|
|
1551
1553
|
} catch (E) {
|
|
1552
1554
|
p && p.error("Error parsing " + m + " on " + f.className + ": " + E);
|
|
1553
1555
|
return;
|
|
1554
1556
|
}
|
|
1555
|
-
var y = new l(f,
|
|
1557
|
+
var y = new l(f, u);
|
|
1556
1558
|
b && b.data(f, h, y);
|
|
1557
1559
|
});
|
|
1558
1560
|
});
|
|
@@ -1561,7 +1563,7 @@ function si() {
|
|
|
1561
1563
|
}(Oe)), Oe.exports;
|
|
1562
1564
|
}
|
|
1563
1565
|
var ze = { exports: {} }, ut;
|
|
1564
|
-
function
|
|
1566
|
+
function ui() {
|
|
1565
1567
|
return ut || (ut = 1, function(o) {
|
|
1566
1568
|
(function(e, t) {
|
|
1567
1569
|
o.exports ? o.exports = t(
|
|
@@ -1609,15 +1611,15 @@ function ai() {
|
|
|
1609
1611
|
this.size = n(this.element);
|
|
1610
1612
|
}, g.css = function(f) {
|
|
1611
1613
|
var i = this.element.style;
|
|
1612
|
-
for (var
|
|
1613
|
-
var y = c[
|
|
1614
|
-
i[y] = f[
|
|
1614
|
+
for (var u in f) {
|
|
1615
|
+
var y = c[u] || u;
|
|
1616
|
+
i[y] = f[u];
|
|
1615
1617
|
}
|
|
1616
1618
|
}, g.getPosition = function() {
|
|
1617
|
-
var f = getComputedStyle(this.element), i = this.layout._getOption("originLeft"),
|
|
1618
|
-
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;
|
|
1619
1621
|
}, g.layoutPosition = function() {
|
|
1620
|
-
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];
|
|
1621
1623
|
i[S] = this.getXValue(O), i[L] = "";
|
|
1622
1624
|
var C = y ? "paddingTop" : "paddingBottom", D = y ? "top" : "bottom", H = y ? "bottom" : "top", U = this.position.y + f[C];
|
|
1623
1625
|
i[D] = this.getYValue(U), i[H] = "", this.css(i), this.emitEvent("layout", [this]);
|
|
@@ -1629,12 +1631,12 @@ function ai() {
|
|
|
1629
1631
|
return this.layout.options.percentPosition && i ? f / this.layout.size.height * 100 + "%" : f + "px";
|
|
1630
1632
|
}, g._transitionTo = function(f, i) {
|
|
1631
1633
|
this.getPosition();
|
|
1632
|
-
var
|
|
1634
|
+
var u = this.position.x, y = this.position.y, E = f == this.position.x && i == this.position.y;
|
|
1633
1635
|
if (this.setPosition(f, i), E && !this.isTransitioning) {
|
|
1634
1636
|
this.layoutPosition();
|
|
1635
1637
|
return;
|
|
1636
1638
|
}
|
|
1637
|
-
var S = f -
|
|
1639
|
+
var S = f - u, L = i - y, O = {};
|
|
1638
1640
|
O.transform = this.getTranslate(S, L), this.transition({
|
|
1639
1641
|
to: O,
|
|
1640
1642
|
onTransitionEnd: {
|
|
@@ -1643,8 +1645,8 @@ function ai() {
|
|
|
1643
1645
|
isCleaning: !0
|
|
1644
1646
|
});
|
|
1645
1647
|
}, g.getTranslate = function(f, i) {
|
|
1646
|
-
var
|
|
1647
|
-
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)";
|
|
1648
1650
|
}, g.goTo = function(f, i) {
|
|
1649
1651
|
this.setPosition(f, i), this.layoutPosition();
|
|
1650
1652
|
}, g.moveTo = g._transitionTo, g.setPosition = function(f, i) {
|
|
@@ -1659,10 +1661,10 @@ function ai() {
|
|
|
1659
1661
|
return;
|
|
1660
1662
|
}
|
|
1661
1663
|
var i = this._transn;
|
|
1662
|
-
for (var
|
|
1663
|
-
i.onEnd[
|
|
1664
|
-
for (
|
|
1665
|
-
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);
|
|
1666
1668
|
f.from && (this.css(f.from), this.element.offsetHeight), this.enableTransition(f.to), this.css(f.to), this.isTransitioning = !0;
|
|
1667
1669
|
};
|
|
1668
1670
|
function k(f) {
|
|
@@ -1690,10 +1692,10 @@ function ai() {
|
|
|
1690
1692
|
};
|
|
1691
1693
|
g.ontransitionend = function(f) {
|
|
1692
1694
|
if (f.target === this.element) {
|
|
1693
|
-
var i = this._transn,
|
|
1694
|
-
if (delete i.ingProperties[
|
|
1695
|
-
var y = i.onEnd[
|
|
1696
|
-
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];
|
|
1697
1699
|
}
|
|
1698
1700
|
this.emitEvent("transitionEnd", [this]);
|
|
1699
1701
|
}
|
|
@@ -1701,8 +1703,8 @@ function ai() {
|
|
|
1701
1703
|
this.removeTransitionStyles(), this.element.removeEventListener(h, this, !1), this.isTransitioning = !1;
|
|
1702
1704
|
}, g._removeStyles = function(f) {
|
|
1703
1705
|
var i = {};
|
|
1704
|
-
for (var
|
|
1705
|
-
i[
|
|
1706
|
+
for (var u in f)
|
|
1707
|
+
i[u] = "";
|
|
1706
1708
|
this.css(i);
|
|
1707
1709
|
};
|
|
1708
1710
|
var b = {
|
|
@@ -1726,8 +1728,8 @@ function ai() {
|
|
|
1726
1728
|
}), this.hide();
|
|
1727
1729
|
}, g.reveal = function() {
|
|
1728
1730
|
delete this.isHidden, this.css({ display: "" });
|
|
1729
|
-
var f = this.layout.options, i = {},
|
|
1730
|
-
i[
|
|
1731
|
+
var f = this.layout.options, i = {}, u = this.getHideRevealTransitionEndProperty("visibleStyle");
|
|
1732
|
+
i[u] = this.onRevealTransitionEnd, this.transition({
|
|
1731
1733
|
from: f.hiddenStyle,
|
|
1732
1734
|
to: f.visibleStyle,
|
|
1733
1735
|
isCleaning: !0,
|
|
@@ -1739,12 +1741,12 @@ function ai() {
|
|
|
1739
1741
|
var i = this.layout.options[f];
|
|
1740
1742
|
if (i.opacity)
|
|
1741
1743
|
return "opacity";
|
|
1742
|
-
for (var
|
|
1743
|
-
return
|
|
1744
|
+
for (var u in i)
|
|
1745
|
+
return u;
|
|
1744
1746
|
}, g.hide = function() {
|
|
1745
1747
|
this.isHidden = !0, this.css({ display: "" });
|
|
1746
|
-
var f = this.layout.options, i = {},
|
|
1747
|
-
i[
|
|
1748
|
+
var f = this.layout.options, i = {}, u = this.getHideRevealTransitionEndProperty("hiddenStyle");
|
|
1749
|
+
i[u] = this.onHideTransitionEnd, this.transition({
|
|
1748
1750
|
from: f.visibleStyle,
|
|
1749
1751
|
to: f.hiddenStyle,
|
|
1750
1752
|
// keep hidden stuff hidden
|
|
@@ -1773,15 +1775,15 @@ function ai() {
|
|
|
1773
1775
|
* MIT license
|
|
1774
1776
|
*/
|
|
1775
1777
|
var dt;
|
|
1776
|
-
function
|
|
1778
|
+
function di() {
|
|
1777
1779
|
return dt || (dt = 1, function(o) {
|
|
1778
1780
|
(function(e, t) {
|
|
1779
1781
|
o.exports ? o.exports = t(
|
|
1780
1782
|
e,
|
|
1781
1783
|
je(),
|
|
1782
1784
|
Ye(),
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
+
li(),
|
|
1786
|
+
ui()
|
|
1785
1787
|
) : e.Outlayer = t(
|
|
1786
1788
|
e,
|
|
1787
1789
|
e.EvEmitter,
|
|
@@ -1792,13 +1794,13 @@ function li() {
|
|
|
1792
1794
|
})(window, function(t, n, a, r, p) {
|
|
1793
1795
|
var l = t.console, h = t.jQuery, c = function() {
|
|
1794
1796
|
}, m = 0, g = {};
|
|
1795
|
-
function k(i,
|
|
1797
|
+
function k(i, u) {
|
|
1796
1798
|
var y = r.getQueryElement(i);
|
|
1797
1799
|
if (!y) {
|
|
1798
1800
|
l && l.error("Bad element for " + this.constructor.namespace + ": " + (y || i));
|
|
1799
1801
|
return;
|
|
1800
1802
|
}
|
|
1801
|
-
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);
|
|
1802
1804
|
var E = ++m;
|
|
1803
1805
|
this.element.outlayerGUID = E, g[E] = this, this._create();
|
|
1804
1806
|
var S = this._getOption("initLayout");
|
|
@@ -1828,8 +1830,8 @@ function li() {
|
|
|
1828
1830
|
r.extend(s, n.prototype), s.option = function(i) {
|
|
1829
1831
|
r.extend(this.options, i);
|
|
1830
1832
|
}, s._getOption = function(i) {
|
|
1831
|
-
var
|
|
1832
|
-
return
|
|
1833
|
+
var u = this.constructor.compatOptions[i];
|
|
1834
|
+
return u && this.options[u] !== void 0 ? this.options[u] : this.options[i];
|
|
1833
1835
|
}, k.compatOptions = {
|
|
1834
1836
|
// currentName: oldName
|
|
1835
1837
|
initLayout: "isInitLayout",
|
|
@@ -1846,8 +1848,8 @@ function li() {
|
|
|
1846
1848
|
}, s.reloadItems = function() {
|
|
1847
1849
|
this.items = this._itemize(this.element.children);
|
|
1848
1850
|
}, s._itemize = function(i) {
|
|
1849
|
-
for (var
|
|
1850
|
-
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);
|
|
1851
1853
|
E.push(O);
|
|
1852
1854
|
}
|
|
1853
1855
|
return E;
|
|
@@ -1859,27 +1861,27 @@ function li() {
|
|
|
1859
1861
|
});
|
|
1860
1862
|
}, s.layout = function() {
|
|
1861
1863
|
this._resetLayout(), this._manageStamps();
|
|
1862
|
-
var i = this._getOption("layoutInstant"),
|
|
1863
|
-
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;
|
|
1864
1866
|
}, s._init = s.layout, s._resetLayout = function() {
|
|
1865
1867
|
this.getSize();
|
|
1866
1868
|
}, s.getSize = function() {
|
|
1867
1869
|
this.size = a(this.element);
|
|
1868
|
-
}, s._getMeasurement = function(i,
|
|
1870
|
+
}, s._getMeasurement = function(i, u) {
|
|
1869
1871
|
var y = this.options[i], E;
|
|
1870
|
-
y ? (typeof y == "string" ? E = this.element.querySelector(y) : y instanceof HTMLElement && (E = y), this[i] = E ? a(E)[
|
|
1871
|
-
}, s.layoutItems = function(i,
|
|
1872
|
-
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();
|
|
1873
1875
|
}, s._getItemsForLayout = function(i) {
|
|
1874
|
-
return i.filter(function(
|
|
1875
|
-
return !
|
|
1876
|
+
return i.filter(function(u) {
|
|
1877
|
+
return !u.isIgnored;
|
|
1876
1878
|
});
|
|
1877
|
-
}, s._layoutItems = function(i,
|
|
1879
|
+
}, s._layoutItems = function(i, u) {
|
|
1878
1880
|
if (this._emitCompleteOnItems("layout", i), !(!i || !i.length)) {
|
|
1879
1881
|
var y = [];
|
|
1880
1882
|
i.forEach(function(E) {
|
|
1881
1883
|
var S = this._getItemLayoutPosition(E);
|
|
1882
|
-
S.item = E, S.isInstant =
|
|
1884
|
+
S.item = E, S.isInstant = u || E.isLayoutInstant, y.push(S);
|
|
1883
1885
|
}, this), this._processLayoutQueue(y);
|
|
1884
1886
|
}
|
|
1885
1887
|
}, s._getItemLayoutPosition = function() {
|
|
@@ -1888,8 +1890,8 @@ function li() {
|
|
|
1888
1890
|
y: 0
|
|
1889
1891
|
};
|
|
1890
1892
|
}, s._processLayoutQueue = function(i) {
|
|
1891
|
-
this.updateStagger(), i.forEach(function(
|
|
1892
|
-
this._positionItem(
|
|
1893
|
+
this.updateStagger(), i.forEach(function(u, y) {
|
|
1894
|
+
this._positionItem(u.item, u.x, u.y, u.isInstant, y);
|
|
1893
1895
|
}, this);
|
|
1894
1896
|
}, s.updateStagger = function() {
|
|
1895
1897
|
var i = this.options.stagger;
|
|
@@ -1898,28 +1900,28 @@ function li() {
|
|
|
1898
1900
|
return;
|
|
1899
1901
|
}
|
|
1900
1902
|
return this.stagger = f(i), this.stagger;
|
|
1901
|
-
}, s._positionItem = function(i,
|
|
1902
|
-
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));
|
|
1903
1905
|
}, s._postLayout = function() {
|
|
1904
1906
|
this.resizeContainer();
|
|
1905
1907
|
}, s.resizeContainer = function() {
|
|
1906
1908
|
var i = this._getOption("resizeContainer");
|
|
1907
1909
|
if (i) {
|
|
1908
|
-
var
|
|
1909
|
-
|
|
1910
|
+
var u = this._getContainerSize();
|
|
1911
|
+
u && (this._setContainerMeasure(u.width, !0), this._setContainerMeasure(u.height, !1));
|
|
1910
1912
|
}
|
|
1911
|
-
}, s._getContainerSize = c, s._setContainerMeasure = function(i,
|
|
1913
|
+
}, s._getContainerSize = c, s._setContainerMeasure = function(i, u) {
|
|
1912
1914
|
if (i !== void 0) {
|
|
1913
1915
|
var y = this.size;
|
|
1914
|
-
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";
|
|
1915
1917
|
}
|
|
1916
|
-
}, s._emitCompleteOnItems = function(i,
|
|
1918
|
+
}, s._emitCompleteOnItems = function(i, u) {
|
|
1917
1919
|
var y = this;
|
|
1918
1920
|
function E() {
|
|
1919
|
-
y.dispatchEvent(i + "Complete", null, [
|
|
1921
|
+
y.dispatchEvent(i + "Complete", null, [u]);
|
|
1920
1922
|
}
|
|
1921
|
-
var S =
|
|
1922
|
-
if (!
|
|
1923
|
+
var S = u.length;
|
|
1924
|
+
if (!u || !S) {
|
|
1923
1925
|
E();
|
|
1924
1926
|
return;
|
|
1925
1927
|
}
|
|
@@ -1927,28 +1929,28 @@ function li() {
|
|
|
1927
1929
|
function O() {
|
|
1928
1930
|
L++, L == S && E();
|
|
1929
1931
|
}
|
|
1930
|
-
|
|
1932
|
+
u.forEach(function(C) {
|
|
1931
1933
|
C.once(i, O);
|
|
1932
1934
|
});
|
|
1933
|
-
}, s.dispatchEvent = function(i,
|
|
1934
|
-
var E =
|
|
1935
|
+
}, s.dispatchEvent = function(i, u, y) {
|
|
1936
|
+
var E = u ? [u].concat(y) : y;
|
|
1935
1937
|
if (this.emitEvent(i, E), h)
|
|
1936
|
-
if (this.$element = this.$element || h(this.element),
|
|
1937
|
-
var S = h.Event(
|
|
1938
|
+
if (this.$element = this.$element || h(this.element), u) {
|
|
1939
|
+
var S = h.Event(u);
|
|
1938
1940
|
S.type = i, this.$element.trigger(S, y);
|
|
1939
1941
|
} else
|
|
1940
1942
|
this.$element.trigger(i, y);
|
|
1941
1943
|
}, s.ignore = function(i) {
|
|
1942
|
-
var
|
|
1943
|
-
|
|
1944
|
+
var u = this.getItem(i);
|
|
1945
|
+
u && (u.isIgnored = !0);
|
|
1944
1946
|
}, s.unignore = function(i) {
|
|
1945
|
-
var
|
|
1946
|
-
|
|
1947
|
+
var u = this.getItem(i);
|
|
1948
|
+
u && delete u.isIgnored;
|
|
1947
1949
|
}, s.stamp = function(i) {
|
|
1948
1950
|
i = this._find(i), i && (this.stamps = this.stamps.concat(i), i.forEach(this.ignore, this));
|
|
1949
1951
|
}, s.unstamp = function(i) {
|
|
1950
|
-
i = this._find(i), i && i.forEach(function(
|
|
1951
|
-
r.removeFrom(this.stamps,
|
|
1952
|
+
i = this._find(i), i && i.forEach(function(u) {
|
|
1953
|
+
r.removeFrom(this.stamps, u), this.unignore(u);
|
|
1952
1954
|
}, this);
|
|
1953
1955
|
}, s._find = function(i) {
|
|
1954
1956
|
if (i)
|
|
@@ -1956,19 +1958,19 @@ function li() {
|
|
|
1956
1958
|
}, s._manageStamps = function() {
|
|
1957
1959
|
!this.stamps || !this.stamps.length || (this._getBoundingRect(), this.stamps.forEach(this._manageStamp, this));
|
|
1958
1960
|
}, s._getBoundingRect = function() {
|
|
1959
|
-
var i = this.element.getBoundingClientRect(),
|
|
1961
|
+
var i = this.element.getBoundingClientRect(), u = this.size;
|
|
1960
1962
|
this._boundingRect = {
|
|
1961
|
-
left: i.left +
|
|
1962
|
-
top: i.top +
|
|
1963
|
-
right: i.right - (
|
|
1964
|
-
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)
|
|
1965
1967
|
};
|
|
1966
1968
|
}, s._manageStamp = c, s._getElementOffset = function(i) {
|
|
1967
|
-
var
|
|
1968
|
-
left:
|
|
1969
|
-
top:
|
|
1970
|
-
right: y.right -
|
|
1971
|
-
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
|
|
1972
1974
|
};
|
|
1973
1975
|
return S;
|
|
1974
1976
|
}, s.handleEvent = r.handleEvent, s.bindResize = function() {
|
|
@@ -1980,56 +1982,56 @@ function li() {
|
|
|
1980
1982
|
}, r.debounceMethod(k, "onresize", 100), s.resize = function() {
|
|
1981
1983
|
!this.isResizeBound || !this.needsResizeLayout() || this.layout();
|
|
1982
1984
|
}, s.needsResizeLayout = function() {
|
|
1983
|
-
var i = a(this.element),
|
|
1984
|
-
return
|
|
1985
|
+
var i = a(this.element), u = this.size && i;
|
|
1986
|
+
return u && i.innerWidth !== this.size.innerWidth;
|
|
1985
1987
|
}, s.addItems = function(i) {
|
|
1986
|
-
var
|
|
1987
|
-
return
|
|
1988
|
+
var u = this._itemize(i);
|
|
1989
|
+
return u.length && (this.items = this.items.concat(u)), u;
|
|
1988
1990
|
}, s.appended = function(i) {
|
|
1989
|
-
var
|
|
1990
|
-
|
|
1991
|
+
var u = this.addItems(i);
|
|
1992
|
+
u.length && (this.layoutItems(u, !0), this.reveal(u));
|
|
1991
1993
|
}, s.prepended = function(i) {
|
|
1992
|
-
var
|
|
1993
|
-
if (
|
|
1994
|
+
var u = this._itemize(i);
|
|
1995
|
+
if (u.length) {
|
|
1994
1996
|
var y = this.items.slice(0);
|
|
1995
|
-
this.items =
|
|
1997
|
+
this.items = u.concat(y), this._resetLayout(), this._manageStamps(), this.layoutItems(u, !0), this.reveal(u), this.layoutItems(y);
|
|
1996
1998
|
}
|
|
1997
1999
|
}, s.reveal = function(i) {
|
|
1998
2000
|
if (this._emitCompleteOnItems("reveal", i), !(!i || !i.length)) {
|
|
1999
|
-
var
|
|
2001
|
+
var u = this.updateStagger();
|
|
2000
2002
|
i.forEach(function(y, E) {
|
|
2001
|
-
y.stagger(E *
|
|
2003
|
+
y.stagger(E * u), y.reveal();
|
|
2002
2004
|
});
|
|
2003
2005
|
}
|
|
2004
2006
|
}, s.hide = function(i) {
|
|
2005
2007
|
if (this._emitCompleteOnItems("hide", i), !(!i || !i.length)) {
|
|
2006
|
-
var
|
|
2008
|
+
var u = this.updateStagger();
|
|
2007
2009
|
i.forEach(function(y, E) {
|
|
2008
|
-
y.stagger(E *
|
|
2010
|
+
y.stagger(E * u), y.hide();
|
|
2009
2011
|
});
|
|
2010
2012
|
}
|
|
2011
2013
|
}, s.revealItemElements = function(i) {
|
|
2012
|
-
var
|
|
2013
|
-
this.reveal(
|
|
2014
|
+
var u = this.getItems(i);
|
|
2015
|
+
this.reveal(u);
|
|
2014
2016
|
}, s.hideItemElements = function(i) {
|
|
2015
|
-
var
|
|
2016
|
-
this.hide(
|
|
2017
|
+
var u = this.getItems(i);
|
|
2018
|
+
this.hide(u);
|
|
2017
2019
|
}, s.getItem = function(i) {
|
|
2018
|
-
for (var
|
|
2019
|
-
var y = this.items[
|
|
2020
|
+
for (var u = 0; u < this.items.length; u++) {
|
|
2021
|
+
var y = this.items[u];
|
|
2020
2022
|
if (y.element == i)
|
|
2021
2023
|
return y;
|
|
2022
2024
|
}
|
|
2023
2025
|
}, s.getItems = function(i) {
|
|
2024
2026
|
i = r.makeArray(i);
|
|
2025
|
-
var
|
|
2027
|
+
var u = [];
|
|
2026
2028
|
return i.forEach(function(y) {
|
|
2027
2029
|
var E = this.getItem(y);
|
|
2028
|
-
E &&
|
|
2029
|
-
}, this),
|
|
2030
|
+
E && u.push(E);
|
|
2031
|
+
}, this), u;
|
|
2030
2032
|
}, s.remove = function(i) {
|
|
2031
|
-
var
|
|
2032
|
-
this._emitCompleteOnItems("remove",
|
|
2033
|
+
var u = this.getItems(i);
|
|
2034
|
+
this._emitCompleteOnItems("remove", u), !(!u || !u.length) && u.forEach(function(y) {
|
|
2033
2035
|
y.remove(), r.removeFrom(this.items, y);
|
|
2034
2036
|
}, this);
|
|
2035
2037
|
}, s.destroy = function() {
|
|
@@ -2037,21 +2039,21 @@ function li() {
|
|
|
2037
2039
|
i.height = "", i.position = "", i.width = "", this.items.forEach(function(y) {
|
|
2038
2040
|
y.destroy();
|
|
2039
2041
|
}), this.unbindResize();
|
|
2040
|
-
var
|
|
2041
|
-
delete g[
|
|
2042
|
+
var u = this.element.outlayerGUID;
|
|
2043
|
+
delete g[u], delete this.element.outlayerGUID, h && h.removeData(this.element, this.constructor.namespace);
|
|
2042
2044
|
}, k.data = function(i) {
|
|
2043
2045
|
i = r.getQueryElement(i);
|
|
2044
|
-
var
|
|
2045
|
-
return
|
|
2046
|
-
}, k.create = function(i,
|
|
2046
|
+
var u = i && i.outlayerGUID;
|
|
2047
|
+
return u && g[u];
|
|
2048
|
+
}, k.create = function(i, u) {
|
|
2047
2049
|
var y = _(k);
|
|
2048
|
-
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;
|
|
2049
2051
|
};
|
|
2050
2052
|
function _(i) {
|
|
2051
|
-
function
|
|
2053
|
+
function u() {
|
|
2052
2054
|
i.apply(this, arguments);
|
|
2053
2055
|
}
|
|
2054
|
-
return
|
|
2056
|
+
return u.prototype = Object.create(i.prototype), u.prototype.constructor = u, u;
|
|
2055
2057
|
}
|
|
2056
2058
|
var b = {
|
|
2057
2059
|
ms: 1,
|
|
@@ -2060,7 +2062,7 @@ function li() {
|
|
|
2060
2062
|
function f(i) {
|
|
2061
2063
|
if (typeof i == "number")
|
|
2062
2064
|
return i;
|
|
2063
|
-
var
|
|
2065
|
+
var u = i.match(/(^\d*\.?\d*)(\w*)/), y = u && u[1], E = u && u[2];
|
|
2064
2066
|
if (!y.length)
|
|
2065
2067
|
return 0;
|
|
2066
2068
|
y = parseFloat(y);
|
|
@@ -2081,7 +2083,7 @@ function li() {
|
|
|
2081
2083
|
(function(o) {
|
|
2082
2084
|
(function(e, t) {
|
|
2083
2085
|
o.exports ? o.exports = t(
|
|
2084
|
-
|
|
2086
|
+
di(),
|
|
2085
2087
|
Ye()
|
|
2086
2088
|
) : e.Masonry = t(
|
|
2087
2089
|
e.Outlayer,
|
|
@@ -2165,8 +2167,8 @@ function li() {
|
|
|
2165
2167
|
}, a;
|
|
2166
2168
|
});
|
|
2167
2169
|
})(St);
|
|
2168
|
-
var
|
|
2169
|
-
const ct = /* @__PURE__ */ $t(
|
|
2170
|
+
var ci = St.exports;
|
|
2171
|
+
const ct = /* @__PURE__ */ $t(ci);
|
|
2170
2172
|
var Ct = { exports: {} };
|
|
2171
2173
|
/*!
|
|
2172
2174
|
* imagesLoaded v4.1.4
|
|
@@ -2220,9 +2222,9 @@ var Ct = { exports: {} };
|
|
|
2220
2222
|
this.addImage(i);
|
|
2221
2223
|
}
|
|
2222
2224
|
if (typeof this.options.background == "string") {
|
|
2223
|
-
var
|
|
2224
|
-
for (f = 0; f <
|
|
2225
|
-
var y =
|
|
2225
|
+
var u = s.querySelectorAll(this.options.background);
|
|
2226
|
+
for (f = 0; f < u.length; f++) {
|
|
2227
|
+
var y = u[f];
|
|
2226
2228
|
this.addElementBackgroundImages(y);
|
|
2227
2229
|
}
|
|
2228
2230
|
}
|
|
@@ -2313,9 +2315,9 @@ var Ct = { exports: {} };
|
|
|
2313
2315
|
}
|
|
2314
2316
|
);
|
|
2315
2317
|
})(Ct);
|
|
2316
|
-
var
|
|
2317
|
-
const
|
|
2318
|
-
function
|
|
2318
|
+
var pi = Ct.exports;
|
|
2319
|
+
const hi = /* @__PURE__ */ $t(pi);
|
|
2320
|
+
function fi(o) {
|
|
2319
2321
|
return { all: o = o || /* @__PURE__ */ new Map(), on: function(e, t) {
|
|
2320
2322
|
var n = o.get(e);
|
|
2321
2323
|
n ? n.push(t) : o.set(e, [t]);
|
|
@@ -2344,24 +2346,24 @@ const ye = {
|
|
|
2344
2346
|
"horizontal-order": "horizontalOrder",
|
|
2345
2347
|
stagger: "stagger",
|
|
2346
2348
|
"destroy-delay": "destroyDelay"
|
|
2347
|
-
}, 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) {
|
|
2348
2350
|
return (o + "").toLowerCase() === "true";
|
|
2349
|
-
},
|
|
2351
|
+
}, gi = function(o) {
|
|
2350
2352
|
return isNaN(o) ? o : parseInt(o);
|
|
2351
|
-
},
|
|
2353
|
+
}, yi = function(o) {
|
|
2352
2354
|
const e = {};
|
|
2353
2355
|
return Array.prototype.slice.call(o).forEach(function(n) {
|
|
2354
|
-
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);
|
|
2355
2357
|
}), e;
|
|
2356
2358
|
}, Vt = {};
|
|
2357
2359
|
Vt.install = function(o, e) {
|
|
2358
|
-
const t =
|
|
2360
|
+
const t = fi(), n = "VueMasonry", a = o;
|
|
2359
2361
|
a.directive("masonry", {
|
|
2360
2362
|
props: ["transitionDuration", " itemSelector", "destroyDelay"],
|
|
2361
2363
|
mounted: function(r, p) {
|
|
2362
2364
|
if (!ct)
|
|
2363
2365
|
throw new Error("Masonry plugin is not defined. Please check it's connected and parsed correctly.");
|
|
2364
|
-
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() {
|
|
2365
2367
|
h.reloadItems(), h.layout();
|
|
2366
2368
|
};
|
|
2367
2369
|
It(() => {
|
|
@@ -2387,7 +2389,7 @@ Vt.install = function(o, e) {
|
|
|
2387
2389
|
const l = p.value || n;
|
|
2388
2390
|
t["emit"](`${ve}__${l}`, {
|
|
2389
2391
|
element: r
|
|
2390
|
-
}), new
|
|
2392
|
+
}), new hi(r, function() {
|
|
2391
2393
|
t["emit"](`${Me}__${l}`, {
|
|
2392
2394
|
element: r
|
|
2393
2395
|
});
|
|
@@ -2415,15 +2417,15 @@ function qe(o, e = {}, t) {
|
|
|
2415
2417
|
}
|
|
2416
2418
|
return e;
|
|
2417
2419
|
}
|
|
2418
|
-
const
|
|
2419
|
-
function
|
|
2420
|
+
const vi = { run: (o) => o() }, _i = () => vi, Pt = typeof console.createTask < "u" ? console.createTask : _i;
|
|
2421
|
+
function bi(o, e) {
|
|
2420
2422
|
const t = e.shift(), n = Pt(t);
|
|
2421
2423
|
return o.reduce(
|
|
2422
2424
|
(a, r) => a.then(() => n.run(() => r(...e))),
|
|
2423
2425
|
Promise.resolve()
|
|
2424
2426
|
);
|
|
2425
2427
|
}
|
|
2426
|
-
function
|
|
2428
|
+
function ki(o, e) {
|
|
2427
2429
|
const t = e.shift(), n = Pt(t);
|
|
2428
2430
|
return Promise.all(o.map((a) => n.run(() => a(...e))));
|
|
2429
2431
|
}
|
|
@@ -2431,7 +2433,7 @@ function We(o, e) {
|
|
|
2431
2433
|
for (const t of [...o])
|
|
2432
2434
|
t(e);
|
|
2433
2435
|
}
|
|
2434
|
-
class
|
|
2436
|
+
class xi {
|
|
2435
2437
|
constructor() {
|
|
2436
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);
|
|
2437
2439
|
}
|
|
@@ -2500,10 +2502,10 @@ class bi {
|
|
|
2500
2502
|
delete this._hooks[e];
|
|
2501
2503
|
}
|
|
2502
2504
|
callHook(e, ...t) {
|
|
2503
|
-
return t.unshift(e), this.callHookWith(
|
|
2505
|
+
return t.unshift(e), this.callHookWith(bi, e, ...t);
|
|
2504
2506
|
}
|
|
2505
2507
|
callHookParallel(e, ...t) {
|
|
2506
|
-
return t.unshift(e), this.callHookWith(
|
|
2508
|
+
return t.unshift(e), this.callHookWith(ki, e, ...t);
|
|
2507
2509
|
}
|
|
2508
2510
|
callHookWith(e, t, ...n) {
|
|
2509
2511
|
const a = this._before || this._after ? { name: t, args: n, context: {} } : void 0;
|
|
@@ -2533,20 +2535,20 @@ class bi {
|
|
|
2533
2535
|
};
|
|
2534
2536
|
}
|
|
2535
2537
|
}
|
|
2536
|
-
function
|
|
2537
|
-
return new
|
|
2538
|
+
function Ii() {
|
|
2539
|
+
return new xi();
|
|
2538
2540
|
}
|
|
2539
|
-
function
|
|
2541
|
+
function Ei(o) {
|
|
2540
2542
|
return Array.isArray(o) ? o : [o];
|
|
2541
2543
|
}
|
|
2542
|
-
const
|
|
2544
|
+
const Ti = ["title", "titleTemplate", "script", "style", "noscript"], be = [
|
|
2543
2545
|
"base",
|
|
2544
2546
|
"meta",
|
|
2545
2547
|
"link",
|
|
2546
2548
|
"style",
|
|
2547
2549
|
"script",
|
|
2548
2550
|
"noscript"
|
|
2549
|
-
],
|
|
2551
|
+
], $i = [
|
|
2550
2552
|
"title",
|
|
2551
2553
|
"titleTemplate",
|
|
2552
2554
|
"templateParams",
|
|
@@ -2558,7 +2560,7 @@ const Ii = ["title", "titleTemplate", "script", "style", "noscript"], be = [
|
|
|
2558
2560
|
"style",
|
|
2559
2561
|
"script",
|
|
2560
2562
|
"noscript"
|
|
2561
|
-
],
|
|
2563
|
+
], Si = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], Bt = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], Ci = typeof window < "u";
|
|
2562
2564
|
function Qe(o) {
|
|
2563
2565
|
let e = 9;
|
|
2564
2566
|
for (let t = 0; t < o.length; )
|
|
@@ -2570,7 +2572,7 @@ function pt(o) {
|
|
|
2570
2572
|
}
|
|
2571
2573
|
function Dt(o, e) {
|
|
2572
2574
|
const { props: t, tag: n } = o;
|
|
2573
|
-
if (
|
|
2575
|
+
if (Si.includes(n))
|
|
2574
2576
|
return n;
|
|
2575
2577
|
if (n === "link" && t.rel === "canonical")
|
|
2576
2578
|
return "canonical";
|
|
@@ -2588,7 +2590,7 @@ function Dt(o, e) {
|
|
|
2588
2590
|
function ht(o, e) {
|
|
2589
2591
|
return o == null ? e || null : typeof o == "function" ? o(e) : o;
|
|
2590
2592
|
}
|
|
2591
|
-
async function
|
|
2593
|
+
async function Vi(o, e, t) {
|
|
2592
2594
|
const n = {
|
|
2593
2595
|
tag: o,
|
|
2594
2596
|
props: await Lt(
|
|
@@ -2600,16 +2602,16 @@ async function Si(o, e, t) {
|
|
|
2600
2602
|
};
|
|
2601
2603
|
return Bt.forEach((a) => {
|
|
2602
2604
|
const r = typeof n.props[a] < "u" ? n.props[a] : t[a];
|
|
2603
|
-
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]);
|
|
2604
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;
|
|
2605
2607
|
}
|
|
2606
|
-
function
|
|
2608
|
+
function Pi(o) {
|
|
2607
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(" ");
|
|
2608
2610
|
}
|
|
2609
2611
|
async function Lt(o, e) {
|
|
2610
2612
|
for (const t of Object.keys(o)) {
|
|
2611
2613
|
if (t === "class") {
|
|
2612
|
-
o[t] =
|
|
2614
|
+
o[t] = Pi(o[t]);
|
|
2613
2615
|
continue;
|
|
2614
2616
|
}
|
|
2615
2617
|
if (o[t] instanceof Promise && (o[t] = await o[t]), !e && !Bt.includes(t)) {
|
|
@@ -2619,13 +2621,13 @@ async function Lt(o, e) {
|
|
|
2619
2621
|
}
|
|
2620
2622
|
return o;
|
|
2621
2623
|
}
|
|
2622
|
-
const
|
|
2623
|
-
async function
|
|
2624
|
+
const Bi = 10;
|
|
2625
|
+
async function Di(o) {
|
|
2624
2626
|
const e = [];
|
|
2625
|
-
return Object.entries(o.resolvedInput).filter(([t, n]) => typeof n < "u" &&
|
|
2626
|
-
const a =
|
|
2627
|
-
e.push(...a.map((r) =>
|
|
2628
|
-
}), (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));
|
|
2629
2631
|
}
|
|
2630
2632
|
const ft = {
|
|
2631
2633
|
// tags
|
|
@@ -2642,7 +2644,7 @@ function Ee(o) {
|
|
|
2642
2644
|
const t = o.tagPriority;
|
|
2643
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);
|
|
2644
2646
|
}
|
|
2645
|
-
const
|
|
2647
|
+
const Li = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], wt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], oe = "%separator";
|
|
2646
2648
|
function ke(o, e, t) {
|
|
2647
2649
|
if (typeof o != "string" || !o.includes("%"))
|
|
2648
2650
|
return o;
|
|
@@ -2660,7 +2662,7 @@ function ke(o, e, t) {
|
|
|
2660
2662
|
typeof l == "string" && (o = o.replace(new RegExp(`\\${p}(\\W|$)`, "g"), (h, c) => `${l}${c}`).trim());
|
|
2661
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;
|
|
2662
2664
|
}
|
|
2663
|
-
async function
|
|
2665
|
+
async function wi(o) {
|
|
2664
2666
|
const e = {
|
|
2665
2667
|
tag: o.tagName.toLowerCase(),
|
|
2666
2668
|
props: await Lt(
|
|
@@ -2670,7 +2672,7 @@ async function Di(o) {
|
|
|
2670
2672
|
};
|
|
2671
2673
|
return e._d = Dt(e), e;
|
|
2672
2674
|
}
|
|
2673
|
-
async function
|
|
2675
|
+
async function Hi(o, e = {}) {
|
|
2674
2676
|
const t = e.document || o.resolvedOptions.document;
|
|
2675
2677
|
if (!t)
|
|
2676
2678
|
return;
|
|
@@ -2690,7 +2692,7 @@ async function Li(o, e = {}) {
|
|
|
2690
2692
|
for (const m of ["body", "head"]) {
|
|
2691
2693
|
const g = t?.[m]?.children;
|
|
2692
2694
|
for (const k of [...g].filter((s) => be.includes(s.tagName.toLowerCase())))
|
|
2693
|
-
r.elMap[k.getAttribute("data-hid") || pt(await
|
|
2695
|
+
r.elMap[k.getAttribute("data-hid") || pt(await wi(k))] = k;
|
|
2694
2696
|
}
|
|
2695
2697
|
}
|
|
2696
2698
|
r.pendingSideEffects = { ...r.sideEffects || {} }, r.sideEffects = {};
|
|
@@ -2736,27 +2738,27 @@ async function Li(o, e = {}) {
|
|
|
2736
2738
|
await o.hooks.callHook("dom:renderTag", m, t, p);
|
|
2737
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 });
|
|
2738
2740
|
}
|
|
2739
|
-
async function
|
|
2741
|
+
async function Oi(o, e = {}) {
|
|
2740
2742
|
const t = e.delayFn || ((n) => setTimeout(n, 10));
|
|
2741
2743
|
return o._domUpdatePromise = o._domUpdatePromise || new Promise((n) => t(async () => {
|
|
2742
|
-
await
|
|
2744
|
+
await Hi(o, e), delete o._domUpdatePromise, n();
|
|
2743
2745
|
}));
|
|
2744
2746
|
}
|
|
2745
2747
|
// @__NO_SIDE_EFFECTS__
|
|
2746
|
-
function
|
|
2748
|
+
function Ai(o) {
|
|
2747
2749
|
return (e) => {
|
|
2748
2750
|
const t = e.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
|
|
2749
2751
|
return t && e.push(JSON.parse(t)), {
|
|
2750
2752
|
mode: "client",
|
|
2751
2753
|
hooks: {
|
|
2752
2754
|
"entries:updated": function(n) {
|
|
2753
|
-
|
|
2755
|
+
Oi(n, o);
|
|
2754
2756
|
}
|
|
2755
2757
|
}
|
|
2756
2758
|
};
|
|
2757
2759
|
};
|
|
2758
2760
|
}
|
|
2759
|
-
const
|
|
2761
|
+
const zi = ["templateParams", "htmlAttrs", "bodyAttrs"], Ri = {
|
|
2760
2762
|
hooks: {
|
|
2761
2763
|
"tag:normalise": function({ tag: o }) {
|
|
2762
2764
|
["hid", "vmid", "key"].forEach((n) => {
|
|
@@ -2771,7 +2773,7 @@ const Oi = ["templateParams", "htmlAttrs", "bodyAttrs"], Ai = {
|
|
|
2771
2773
|
const a = (n.key ? `${n.tag}:${n.key}` : n._d) || n._p, r = e[a];
|
|
2772
2774
|
if (r) {
|
|
2773
2775
|
let l = n?.tagDuplicateStrategy;
|
|
2774
|
-
if (!l &&
|
|
2776
|
+
if (!l && zi.includes(n.tag) && (l = "merge"), l === "merge") {
|
|
2775
2777
|
const h = r.props;
|
|
2776
2778
|
["class", "style"].forEach((c) => {
|
|
2777
2779
|
n.props[c] && h[c] && (c === "style" && !h[c].endsWith(";") && (h[c] += ";"), n.props[c] = `${h[c]} ${n.props[c]}`);
|
|
@@ -2800,7 +2802,7 @@ const Oi = ["templateParams", "htmlAttrs", "bodyAttrs"], Ai = {
|
|
|
2800
2802
|
}), o.tags = t, o.tags = o.tags.filter((n) => !(n.tag === "meta" && (n.props.name || n.props.property) && !n.props.content));
|
|
2801
2803
|
}
|
|
2802
2804
|
}
|
|
2803
|
-
},
|
|
2805
|
+
}, Mi = {
|
|
2804
2806
|
mode: "server",
|
|
2805
2807
|
hooks: {
|
|
2806
2808
|
"tags:resolve": function(o) {
|
|
@@ -2814,19 +2816,19 @@ const Oi = ["templateParams", "htmlAttrs", "bodyAttrs"], Ai = {
|
|
|
2814
2816
|
});
|
|
2815
2817
|
}
|
|
2816
2818
|
}
|
|
2817
|
-
},
|
|
2818
|
-
function
|
|
2819
|
+
}, Ni = ["script", "link", "bodyAttrs"];
|
|
2820
|
+
function Wi(o) {
|
|
2819
2821
|
const e = {}, t = {};
|
|
2820
2822
|
return Object.entries(o.props).forEach(([n, a]) => {
|
|
2821
2823
|
n.startsWith("on") && typeof a == "function" ? (wt.includes(n) && (e[n] = `this.dataset.${n} = true`), t[n] = a) : e[n] = a;
|
|
2822
2824
|
}), { props: e, eventHandlers: t };
|
|
2823
2825
|
}
|
|
2824
|
-
const
|
|
2826
|
+
const Ui = (o) => ({
|
|
2825
2827
|
hooks: {
|
|
2826
2828
|
"tags:resolve": function(e) {
|
|
2827
2829
|
for (const t of e.tags)
|
|
2828
|
-
if (
|
|
2829
|
-
const { props: n, eventHandlers: a } =
|
|
2830
|
+
if (Ni.includes(t.tag)) {
|
|
2831
|
+
const { props: n, eventHandlers: a } = Wi(t);
|
|
2830
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);
|
|
2831
2833
|
}
|
|
2832
2834
|
},
|
|
@@ -2854,17 +2856,17 @@ const Ni = (o) => ({
|
|
|
2854
2856
|
});
|
|
2855
2857
|
}
|
|
2856
2858
|
}
|
|
2857
|
-
}),
|
|
2859
|
+
}), Fi = ["link", "style", "script", "noscript"], qi = {
|
|
2858
2860
|
hooks: {
|
|
2859
2861
|
"tag:normalise": ({ tag: o }) => {
|
|
2860
|
-
o.key &&
|
|
2862
|
+
o.key && Fi.includes(o.tag) && (o.props["data-hid"] = o._h = Qe(o.key));
|
|
2861
2863
|
}
|
|
2862
2864
|
}
|
|
2863
|
-
},
|
|
2865
|
+
}, Gi = {
|
|
2864
2866
|
hooks: {
|
|
2865
2867
|
"tags:resolve": (o) => {
|
|
2866
2868
|
const e = (t) => o.tags.find((n) => n._d === t)?._p;
|
|
2867
|
-
for (const { prefix: t, offset: n } of
|
|
2869
|
+
for (const { prefix: t, offset: n } of Li)
|
|
2868
2870
|
for (const a of o.tags.filter((r) => typeof r.tagPriority == "string" && r.tagPriority.startsWith(t))) {
|
|
2869
2871
|
const r = e(
|
|
2870
2872
|
a.tagPriority.replace(t, "")
|
|
@@ -2874,17 +2876,17 @@ const Ni = (o) => ({
|
|
|
2874
2876
|
o.tags.sort((t, n) => t._p - n._p).sort((t, n) => Ee(t) - Ee(n));
|
|
2875
2877
|
}
|
|
2876
2878
|
}
|
|
2877
|
-
},
|
|
2879
|
+
}, ji = {
|
|
2878
2880
|
meta: "content",
|
|
2879
2881
|
link: "href",
|
|
2880
2882
|
htmlAttrs: "lang"
|
|
2881
|
-
},
|
|
2883
|
+
}, Yi = (o) => ({
|
|
2882
2884
|
hooks: {
|
|
2883
2885
|
"tags:resolve": (e) => {
|
|
2884
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 || "|";
|
|
2885
2887
|
delete r.separator, r.pageTitle = ke(r.pageTitle || n || "", r, p);
|
|
2886
2888
|
for (const l of t.filter((h) => h.processTemplateParams !== !1)) {
|
|
2887
|
-
const h =
|
|
2889
|
+
const h = ji[l.tag];
|
|
2888
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) => {
|
|
2889
2891
|
typeof l[c] == "string" && (l[c] = ke(l[c], r, p));
|
|
2890
2892
|
});
|
|
@@ -2892,7 +2894,7 @@ const Ni = (o) => ({
|
|
|
2892
2894
|
o._templateParams = r, o._separator = p, e.tags = t.filter((l) => l.tag !== "templateParams");
|
|
2893
2895
|
}
|
|
2894
2896
|
}
|
|
2895
|
-
}),
|
|
2897
|
+
}), Qi = {
|
|
2896
2898
|
hooks: {
|
|
2897
2899
|
"tags:resolve": (o) => {
|
|
2898
2900
|
const { tags: e } = o;
|
|
@@ -2913,7 +2915,7 @@ const Ni = (o) => ({
|
|
|
2913
2915
|
t !== -1 && delete e[t], o.tags = e.filter(Boolean);
|
|
2914
2916
|
}
|
|
2915
2917
|
}
|
|
2916
|
-
},
|
|
2918
|
+
}, Ki = {
|
|
2917
2919
|
hooks: {
|
|
2918
2920
|
"tags:afterResolve": function(o) {
|
|
2919
2921
|
for (const e of o.tags)
|
|
@@ -2922,16 +2924,16 @@ const Ni = (o) => ({
|
|
|
2922
2924
|
}
|
|
2923
2925
|
};
|
|
2924
2926
|
// @__NO_SIDE_EFFECTS__
|
|
2925
|
-
function
|
|
2926
|
-
const e =
|
|
2927
|
-
return e.use(/* @__PURE__ */
|
|
2927
|
+
function Ji(o = {}) {
|
|
2928
|
+
const e = Xi(o);
|
|
2929
|
+
return e.use(/* @__PURE__ */ Ai()), e;
|
|
2928
2930
|
}
|
|
2929
2931
|
function gt(o, e) {
|
|
2930
2932
|
return !o || o === "server" && e || o === "client" && !e;
|
|
2931
2933
|
}
|
|
2932
|
-
function
|
|
2933
|
-
const e =
|
|
2934
|
-
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);
|
|
2935
2937
|
const t = !o.document, n = () => {
|
|
2936
2938
|
l.dirty = !0, e.callHook("entries:updated", l);
|
|
2937
2939
|
};
|
|
@@ -2971,7 +2973,7 @@ function Ki(o = {}) {
|
|
|
2971
2973
|
for (const c of h.entries) {
|
|
2972
2974
|
const m = c.resolvedInput || c.input;
|
|
2973
2975
|
if (c.resolvedInput = await (c.transform ? c.transform(m) : m), c.resolvedInput)
|
|
2974
|
-
for (const g of await
|
|
2976
|
+
for (const g of await Di(c)) {
|
|
2975
2977
|
const k = { tag: g, entry: c, resolvedOptions: l.resolvedOptions };
|
|
2976
2978
|
await e.callHook("tag:normalise", k), h.tags.push(k.tag);
|
|
2977
2979
|
}
|
|
@@ -2981,56 +2983,56 @@ function Ki(o = {}) {
|
|
|
2981
2983
|
ssr: t
|
|
2982
2984
|
};
|
|
2983
2985
|
return [
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
Ni,
|
|
2986
|
+
Ri,
|
|
2987
|
+
Mi,
|
|
2987
2988
|
Ui,
|
|
2988
|
-
|
|
2989
|
+
qi,
|
|
2989
2990
|
Gi,
|
|
2990
|
-
ji,
|
|
2991
2991
|
Yi,
|
|
2992
|
+
Qi,
|
|
2993
|
+
Ki,
|
|
2992
2994
|
...o?.plugins || []
|
|
2993
2995
|
].forEach((h) => l.use(h)), l.hooks.callHook("init", l), l;
|
|
2994
2996
|
}
|
|
2995
|
-
const
|
|
2996
|
-
function
|
|
2997
|
-
return typeof o == "function" ? o() :
|
|
2997
|
+
const Zi = bo.startsWith("3");
|
|
2998
|
+
function er(o) {
|
|
2999
|
+
return typeof o == "function" ? o() : d(o);
|
|
2998
3000
|
}
|
|
2999
3001
|
function Ge(o, e = "") {
|
|
3000
3002
|
if (o instanceof Promise)
|
|
3001
3003
|
return o;
|
|
3002
|
-
const t =
|
|
3004
|
+
const t = er(o);
|
|
3003
3005
|
return !o || !t ? t : Array.isArray(t) ? t.map((n) => Ge(n, e)) : typeof t == "object" ? Object.fromEntries(
|
|
3004
|
-
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)])
|
|
3005
3007
|
) : t;
|
|
3006
3008
|
}
|
|
3007
|
-
const
|
|
3009
|
+
const tr = {
|
|
3008
3010
|
hooks: {
|
|
3009
3011
|
"entries:resolve": function(o) {
|
|
3010
3012
|
for (const e of o.entries)
|
|
3011
3013
|
e.resolvedInput = Ge(e.input);
|
|
3012
3014
|
}
|
|
3013
3015
|
}
|
|
3014
|
-
},
|
|
3015
|
-
function
|
|
3016
|
+
}, or = "usehead";
|
|
3017
|
+
function nr(o) {
|
|
3016
3018
|
return {
|
|
3017
3019
|
install(t) {
|
|
3018
|
-
|
|
3020
|
+
Zi && (t.config.globalProperties.$unhead = o, t.config.globalProperties.$head = o, t.provide(or, o));
|
|
3019
3021
|
}
|
|
3020
3022
|
}.install;
|
|
3021
3023
|
}
|
|
3022
|
-
function
|
|
3024
|
+
function ir(o = {}) {
|
|
3023
3025
|
o.domDelayFn = o.domDelayFn || ((t) => It(() => setTimeout(() => t(), 0)));
|
|
3024
|
-
const e = /* @__PURE__ */
|
|
3025
|
-
return e.use(
|
|
3026
|
+
const e = /* @__PURE__ */ Ji(o);
|
|
3027
|
+
return e.use(tr), e.install = nr(e), e;
|
|
3026
3028
|
}
|
|
3027
|
-
const
|
|
3028
|
-
te.use(
|
|
3029
|
-
te.use(nr);
|
|
3029
|
+
const rr = ko(), sr = ir(), ar = xo(), te = Io({ components: { Hotel: si } });
|
|
3030
|
+
te.use(sr);
|
|
3030
3031
|
te.use(rr);
|
|
3032
|
+
te.use(ar);
|
|
3031
3033
|
te.use(Vt);
|
|
3032
|
-
te.use(
|
|
3033
|
-
te.use(
|
|
3034
|
-
te.use(
|
|
3035
|
-
te.use(
|
|
3034
|
+
te.use(Mo);
|
|
3035
|
+
te.use(Eo);
|
|
3036
|
+
te.use(wo);
|
|
3037
|
+
te.use(To, { bootstrap: !0 });
|
|
3036
3038
|
te.mount("#konnectio-hotel-app");
|