@konnectio/core 4.0.56-rc25 → 4.0.56-rc26
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-7P8dDME0.js → ActionField-Y1WLQvOm.js} +5 -5
- package/dist/ActionField-Y1WLQvOm.js.br +0 -0
- package/dist/{AvailabilitySkeleton-kd2z0IL5.js → AvailabilitySkeleton-agnmTmRJ.js} +1 -1
- package/dist/AvailabilitySkeleton-agnmTmRJ.js.br +0 -0
- package/dist/CheckoutWindow-O8RW6qn9.js +659 -0
- package/dist/CheckoutWindow-O8RW6qn9.js.br +0 -0
- package/dist/{ErrorMessage-5TxZYuTj.js → ErrorMessage-E5-s1X3R.js} +1 -1
- package/dist/ErrorMessage-E5-s1X3R.js.br +0 -0
- package/dist/{EventAvailabilityForm--XuKLthM.js → EventAvailabilityForm-ABgHt3cL.js} +23 -23
- package/dist/EventAvailabilityForm-ABgHt3cL.js.br +0 -0
- package/dist/{Field-pY1XGbPQ.js → Field--v3gXf5T.js} +4060 -4044
- package/dist/Field--v3gXf5T.js.br +0 -0
- package/dist/{HotelAvailabilityForm-hWTsZCGI.js → HotelAvailabilityForm-vVAv2XeL.js} +2 -2
- package/dist/HotelAvailabilityForm-vVAv2XeL.js.br +0 -0
- package/dist/TermsOfService-ktKVacVw.js +26 -0
- package/dist/availability.js +9 -9
- package/dist/availability.js.br +0 -0
- package/dist/event.js +74 -74
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +16 -16
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +262 -226
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.js +717 -674
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-MNkmNEdZ.js → masonry.plugin-9uMOPkAB.js} +1112 -1124
- package/dist/masonry.plugin-9uMOPkAB.js.br +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +1 -1
- package/dist/ActionField-7P8dDME0.js.br +0 -0
- package/dist/AvailabilitySkeleton-kd2z0IL5.js.br +0 -0
- package/dist/CheckoutWindow-Cru3v8It.js +0 -710
- package/dist/CheckoutWindow-Cru3v8It.js.br +0 -0
- package/dist/ErrorMessage-5TxZYuTj.js.br +0 -0
- package/dist/EventAvailabilityForm--XuKLthM.js.br +0 -0
- package/dist/Field-pY1XGbPQ.js.br +0 -0
- package/dist/HotelAvailabilityForm-hWTsZCGI.js.br +0 -0
- package/dist/masonry.plugin-MNkmNEdZ.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,167 +1,215 @@
|
|
|
1
|
-
import { d as q, u as
|
|
2
|
-
import { R as
|
|
3
|
-
import { H as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
const
|
|
1
|
+
import { d as q, u as x, aa as Rt, s as Y, c as he, b as re, r as Z, f as m, n as H, a5 as Ut, j as l, y as _, $ as be, h as r, B as y, a4 as ae, aj as Ke, ak as ze, k as v, a2 as G, a6 as Oe, av as Ft, g as f, ab as M, F as I, m as V, ac as Ne, aw as ue, a3 as ie, l as R, ai as Ot, t as $e, x as ee, e as U, _ as He, H as tt, J as ot, ax as lt, o as Se, w as Te, p as nt, C as se, z as at, a9 as it, a as st, q as Ce, I as rt, A as Je, T as ne, ay as Nt, G as jt, S as Gt, ad as qt, E as Wt, ar as Kt, az as zt, K as Jt, L as Yt, M as Zt, af as Qt, N as Xt } from "./Field--v3gXf5T.js";
|
|
2
|
+
import { R as xt, B as De, L as eo, S as to, M as oo, a as Re, T as lo, V as no, G as ao } from "./masonry.plugin-9uMOPkAB.js";
|
|
3
|
+
import { H as io } from "./HotelAvailabilityForm-vVAv2XeL.js";
|
|
4
|
+
import { S as so } from "./TermsOfService-ktKVacVw.js";
|
|
5
|
+
import { C as we, B as ro, P as uo, a as co } from "./CheckoutWindow-O8RW6qn9.js";
|
|
6
|
+
import { _ as ut, A as po } from "./AvailabilitySkeleton-agnmTmRJ.js";
|
|
7
|
+
const mo = { class: "konnectio-hotel-reservation-warning" }, fo = { class: "konnectio-hotel-reservation-warning" };
|
|
8
|
+
const ho = { key: 0 }, vo = { key: 1 }, go = { class: "konnectio-reservation-actions" }, yo = /* @__PURE__ */ q({
|
|
8
9
|
__name: "HotelReservationForm",
|
|
9
10
|
props: {
|
|
10
11
|
showGiftCard: { type: Boolean, default: !1 },
|
|
11
12
|
showTermsNotice: { type: Boolean, default: !1 }
|
|
12
13
|
},
|
|
13
14
|
setup(o) {
|
|
14
|
-
const { t: e } =
|
|
15
|
+
const { t: e } = x(), t = Rt(), {
|
|
15
16
|
hideArrivalDepartureInputs: n,
|
|
16
17
|
disableArrivalUserSelection: a,
|
|
17
18
|
disableDepartureUserSelection: i,
|
|
18
19
|
arrivalDefault: c,
|
|
19
20
|
departureDefault: p,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
21
|
+
disableNewsletterSignup: d,
|
|
22
|
+
currency: s
|
|
23
|
+
} = Y(he()), {
|
|
24
|
+
arrivalTime: u,
|
|
25
|
+
departureTime: h,
|
|
26
|
+
roomDisplay: b,
|
|
27
|
+
templateID: D,
|
|
28
|
+
totalPrice: C,
|
|
29
|
+
areListingsLoading: O,
|
|
30
|
+
getSelectedPackageRoom: N,
|
|
31
|
+
selectedPackage: k,
|
|
32
|
+
discountVouchers: w,
|
|
33
|
+
currentArrivalDate: A,
|
|
34
|
+
currentDepartureDate: F,
|
|
35
|
+
datesMismatch: E,
|
|
36
|
+
newsMails: W,
|
|
37
|
+
termsOfService: j,
|
|
38
|
+
acceptTerms: S
|
|
39
|
+
} = Y(re()), { removeRoom: Q } = re(), de = Z(!1);
|
|
40
|
+
function ve(K) {
|
|
41
|
+
return K.reduce((L, { totalPrice: ce }) => L + ce, 0);
|
|
37
42
|
}
|
|
38
|
-
return (
|
|
39
|
-
"total-price": l(
|
|
40
|
-
"show-gift-card":
|
|
41
|
-
"show-terms-notice":
|
|
42
|
-
"is-sidebar-loading": l(
|
|
43
|
+
return (K, z) => (m(), H(xt, {
|
|
44
|
+
"total-price": l(C),
|
|
45
|
+
"show-gift-card": K.showGiftCard,
|
|
46
|
+
"show-terms-notice": K.showTermsNotice,
|
|
47
|
+
"is-sidebar-loading": l(O),
|
|
43
48
|
notice: l(e)("hotel.reservationNotice")
|
|
44
|
-
},
|
|
45
|
-
form:
|
|
46
|
-
|
|
49
|
+
}, Ut({
|
|
50
|
+
form: _(() => [
|
|
51
|
+
be(K.$slots, "form", {}, void 0, !0)
|
|
47
52
|
]),
|
|
48
|
-
"reservation-summary":
|
|
53
|
+
"reservation-summary": _(() => [
|
|
49
54
|
r("li", null, [
|
|
50
55
|
r("span", null, y(l(e)("booking.reservation.arrival")), 1),
|
|
51
56
|
r("b", null, [
|
|
52
|
-
r("span", null, y(l(n) ? l(
|
|
53
|
-
|
|
54
|
-
|
|
57
|
+
r("span", null, y(l(n) ? l(ae)(l(A)) : `${l(ae)(l(A))}, ${l(a) ? l(c) : l(u)}`), 1),
|
|
58
|
+
Ke(r("span", mo, [
|
|
59
|
+
v(G, {
|
|
55
60
|
icon: "exclamation-triangle",
|
|
56
61
|
type: "fas"
|
|
57
62
|
})
|
|
58
63
|
], 512), [
|
|
59
|
-
[
|
|
64
|
+
[ze, l(E)]
|
|
60
65
|
])
|
|
61
66
|
])
|
|
62
67
|
]),
|
|
63
68
|
r("li", null, [
|
|
64
69
|
r("span", null, y(l(e)("booking.reservation.departure")), 1),
|
|
65
70
|
r("b", null, [
|
|
66
|
-
r("span", null, y(l(n) ? l(
|
|
67
|
-
|
|
68
|
-
|
|
71
|
+
r("span", null, y(l(n) ? l(ae)(l(F)) : `${l(ae)(l(F))}, ${l(i) ? l(p) : l(h)}`), 1),
|
|
72
|
+
Ke(r("span", fo, [
|
|
73
|
+
v(G, {
|
|
69
74
|
icon: "exclamation-triangle",
|
|
70
75
|
type: "fas"
|
|
71
76
|
})
|
|
72
77
|
], 512), [
|
|
73
|
-
[
|
|
78
|
+
[ze, l(E)]
|
|
74
79
|
])
|
|
75
80
|
])
|
|
76
81
|
]),
|
|
77
82
|
r("li", null, [
|
|
78
83
|
r("span", null, y(l(e)("booking.reservation.nights")), 1),
|
|
79
|
-
r("b", null, y(l(
|
|
84
|
+
r("b", null, y(l(Oe)(l(A), l(F))) + " " + y(l(Ft)(l(Oe)(l(A), l(F)) === 1 ? l(e)("booking.reservation.night") : l(e)("booking.reservation.nights"))), 1)
|
|
80
85
|
]),
|
|
81
|
-
l(
|
|
82
|
-
key:
|
|
86
|
+
l(w) ? (m(!0), f(I, { key: 0 }, M(l(w), (L) => (m(), f("li", {
|
|
87
|
+
key: L.id
|
|
83
88
|
}, [
|
|
84
|
-
r("span", null, y(`${l(e)("general.discountCode")} (${
|
|
85
|
-
r("b", null, y(
|
|
86
|
-
]))), 128)) :
|
|
89
|
+
r("span", null, y(`${l(e)("general.discountCode")} (${L.value})`), 1),
|
|
90
|
+
r("b", null, y(L.key), 1)
|
|
91
|
+
]))), 128)) : V("", !0)
|
|
87
92
|
]),
|
|
88
|
-
"price-summary":
|
|
89
|
-
isNaN(l(
|
|
90
|
-
roomGroupID:
|
|
91
|
-
title:
|
|
92
|
-
variants:
|
|
93
|
-
}) => (
|
|
93
|
+
"price-summary": _(() => [
|
|
94
|
+
isNaN(l(D)) && l(b).length > 0 ? (m(!0), f(I, { key: 0 }, M(l(b), ({
|
|
95
|
+
roomGroupID: L,
|
|
96
|
+
title: ce,
|
|
97
|
+
variants: Ae
|
|
98
|
+
}) => (m(), f("div", { key: L }, [
|
|
94
99
|
r("h6", null, [
|
|
95
|
-
r("span", null, y(
|
|
100
|
+
r("span", null, y(ce), 1)
|
|
96
101
|
]),
|
|
97
|
-
(
|
|
98
|
-
(
|
|
102
|
+
(m(!0), f(I, null, M(Ae, (ge, Ie) => (m(), f("div", { key: Ie }, [
|
|
103
|
+
(m(!0), f(I, null, M(ge.rooms, (te, Ee) => (m(), f("ul", { key: Ee }, [
|
|
99
104
|
r("li", null, [
|
|
100
105
|
r("span", null, [
|
|
101
106
|
r("span", null, [
|
|
102
|
-
|
|
103
|
-
|
|
107
|
+
Ne(y(l(ue)(ge.name)) + " ( ", 1),
|
|
108
|
+
v(G, {
|
|
104
109
|
icon: "male",
|
|
105
110
|
type: "fas",
|
|
106
111
|
color: "font"
|
|
107
112
|
}),
|
|
108
|
-
r("span", null, y(
|
|
109
|
-
|
|
110
|
-
|
|
113
|
+
r("span", null, y(te.adultsCount), 1),
|
|
114
|
+
te.childrenCount > 0 ? (m(), f(I, { key: 0 }, [
|
|
115
|
+
v(G, {
|
|
111
116
|
icon: "child",
|
|
112
117
|
type: "fas",
|
|
113
118
|
color: "font"
|
|
114
119
|
}),
|
|
115
|
-
r("span", null, y(
|
|
116
|
-
], 64)) :
|
|
117
|
-
|
|
120
|
+
r("span", null, y(te.childrenCount), 1)
|
|
121
|
+
], 64)) : V("", !0),
|
|
122
|
+
Ne(") ")
|
|
118
123
|
])
|
|
119
124
|
]),
|
|
120
125
|
r("b", null, [
|
|
121
|
-
r("span", null, y(l(
|
|
122
|
-
|
|
126
|
+
r("span", null, y(l(ie)(te.totalPrice, l(s))), 1),
|
|
127
|
+
V("", !0)
|
|
123
128
|
])
|
|
124
129
|
]),
|
|
125
|
-
|
|
130
|
+
ve(te.roomAddons) > 0 ? (m(), f("li", ho, [
|
|
126
131
|
r("span", null, y(l(e)("general.addons")), 1),
|
|
127
|
-
r("b", null, y(l(
|
|
128
|
-
])) :
|
|
132
|
+
r("b", null, y(l(ie)(ve(te.roomAddons), l(s))), 1)
|
|
133
|
+
])) : V("", !0)
|
|
129
134
|
]))), 128))
|
|
130
135
|
]))), 128))
|
|
131
|
-
]))), 128)) :
|
|
132
|
-
l(
|
|
136
|
+
]))), 128)) : V("", !0),
|
|
137
|
+
l(N) && l(k) ? (m(), f("div", vo, [
|
|
133
138
|
r("h6", null, [
|
|
134
|
-
r("span", null, y(l(
|
|
139
|
+
r("span", null, y(l(ue)(l(k).name)), 1)
|
|
135
140
|
]),
|
|
136
141
|
r("div", null, [
|
|
137
142
|
r("ul", null, [
|
|
138
143
|
r("li", null, [
|
|
139
144
|
r("span", null, [
|
|
140
|
-
r("span", null, y(l(
|
|
145
|
+
r("span", null, y(l(ue)(l(N).title)), 1)
|
|
141
146
|
]),
|
|
142
147
|
r("b", null, [
|
|
143
|
-
r("span", null, y(l(
|
|
148
|
+
r("span", null, y(l(ie)(l(N).extraPrice, l(s))), 1)
|
|
144
149
|
])
|
|
145
150
|
])
|
|
146
151
|
])
|
|
147
152
|
])
|
|
148
|
-
])) :
|
|
153
|
+
])) : V("", !0)
|
|
149
154
|
]),
|
|
150
|
-
|
|
151
|
-
|
|
155
|
+
actions: _(() => [
|
|
156
|
+
r("ul", go, [
|
|
157
|
+
l(d) ? V("", !0) : (m(), H(we, {
|
|
158
|
+
key: 0,
|
|
159
|
+
modelValue: l(W),
|
|
160
|
+
"onUpdate:modelValue": z[0] || (z[0] = (L) => R(W) ? W.value = L : null),
|
|
161
|
+
type: "checkbox",
|
|
162
|
+
name: "newsletter",
|
|
163
|
+
label: l(e)("booking.reservation.newsletterSignUp")
|
|
164
|
+
}, null, 8, ["modelValue", "label"])),
|
|
165
|
+
v(we, {
|
|
166
|
+
modelValue: l(S),
|
|
167
|
+
"onUpdate:modelValue": z[2] || (z[2] = (L) => R(S) ? S.value = L : null),
|
|
168
|
+
type: "checkbox",
|
|
169
|
+
name: "terms"
|
|
170
|
+
}, {
|
|
171
|
+
default: _(() => [
|
|
172
|
+
v(l(Ot), {
|
|
173
|
+
keypath: "general.termsAndConditionsCheckbox",
|
|
174
|
+
tag: "span",
|
|
175
|
+
scope: "global"
|
|
176
|
+
}, {
|
|
177
|
+
terms: _(() => [
|
|
178
|
+
r("a", {
|
|
179
|
+
class: "konnectio-accept-terms-link",
|
|
180
|
+
onClick: z[1] || (z[1] = $e((L) => de.value = !0, ["prevent"]))
|
|
181
|
+
}, [
|
|
182
|
+
r("span", null, y(l(e)("general.termsAndConditions")), 1)
|
|
183
|
+
])
|
|
184
|
+
]),
|
|
185
|
+
_: 1
|
|
186
|
+
})
|
|
187
|
+
]),
|
|
188
|
+
_: 1
|
|
189
|
+
}, 8, ["modelValue"]),
|
|
190
|
+
be(K.$slots, "actions", {}, void 0, !0),
|
|
191
|
+
v(so, {
|
|
192
|
+
modelValue: de.value,
|
|
193
|
+
"onUpdate:modelValue": z[3] || (z[3] = (L) => de.value = L),
|
|
194
|
+
description: l(j)
|
|
195
|
+
}, null, 8, ["modelValue", "description"])
|
|
196
|
+
])
|
|
197
|
+
]),
|
|
198
|
+
navigation: _(() => [
|
|
199
|
+
be(K.$slots, "navigation", {}, void 0, !0)
|
|
152
200
|
]),
|
|
153
201
|
_: 2
|
|
154
202
|
}, [
|
|
155
203
|
l(t).addons ? {
|
|
156
204
|
name: "addons",
|
|
157
|
-
fn:
|
|
158
|
-
|
|
205
|
+
fn: _(() => [
|
|
206
|
+
be(K.$slots, "addons", {}, void 0, !0)
|
|
159
207
|
]),
|
|
160
208
|
key: "0"
|
|
161
209
|
} : void 0
|
|
162
210
|
]), 1032, ["total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
|
|
163
211
|
}
|
|
164
|
-
}),
|
|
212
|
+
}), Ue = /* @__PURE__ */ ee(yo, [["__scopeId", "data-v-fc825e32"]]), bo = (o) => (tt("data-v-69fe83d8"), o = o(), ot(), o), ko = { class: "konnectio-room-config-option" }, _o = { key: 0 }, Vo = { class: "konnectio-selected-room-config" }, $o = { class: "konnectio-selected-room-config-people" }, To = { key: 0 }, Co = { class: "konnectio-selected-room-config-price" }, wo = /* @__PURE__ */ bo(() => /* @__PURE__ */ r("span", null, null, -1)), Po = /* @__PURE__ */ q({
|
|
165
213
|
__name: "RoomConfigField",
|
|
166
214
|
props: {
|
|
167
215
|
modelValue: {},
|
|
@@ -172,7 +220,7 @@ const ho = { key: 0 }, go = { key: 1 }, vo = /* @__PURE__ */ q({
|
|
|
172
220
|
},
|
|
173
221
|
emits: ["update:modelValue"],
|
|
174
222
|
setup(o, { emit: e }) {
|
|
175
|
-
const { t } =
|
|
223
|
+
const { t } = x(), { currency: n } = Y(he()), a = e, i = o;
|
|
176
224
|
function c(d) {
|
|
177
225
|
a("update:modelValue", d);
|
|
178
226
|
}
|
|
@@ -180,7 +228,7 @@ const ho = { key: 0 }, go = { key: 1 }, vo = /* @__PURE__ */ q({
|
|
|
180
228
|
get: () => i.modelValue,
|
|
181
229
|
set: (d) => c(d)
|
|
182
230
|
});
|
|
183
|
-
return (d, s) => (
|
|
231
|
+
return (d, s) => (m(), H(He, {
|
|
184
232
|
modelValue: p.value,
|
|
185
233
|
"onUpdate:modelValue": s[0] || (s[0] = (u) => p.value = u),
|
|
186
234
|
label: d.label,
|
|
@@ -193,76 +241,76 @@ const ho = { key: 0 }, go = { key: 1 }, vo = /* @__PURE__ */ q({
|
|
|
193
241
|
required: d.required,
|
|
194
242
|
searchable: !1
|
|
195
243
|
}, {
|
|
196
|
-
option:
|
|
197
|
-
r("span",
|
|
244
|
+
option: _(({ data: u }) => [
|
|
245
|
+
r("span", ko, [
|
|
198
246
|
r("div", null, [
|
|
199
|
-
|
|
247
|
+
v(G, {
|
|
200
248
|
icon: "male",
|
|
201
249
|
type: "fas",
|
|
202
250
|
color: "font"
|
|
203
251
|
}),
|
|
204
252
|
r("span", null, y(`${u.adults}`), 1),
|
|
205
|
-
u.children > 0 ? (
|
|
206
|
-
|
|
253
|
+
u.children > 0 ? (m(), f("span", _o, [
|
|
254
|
+
v(G, {
|
|
207
255
|
icon: "child",
|
|
208
256
|
type: "fas",
|
|
209
257
|
color: "font"
|
|
210
258
|
}),
|
|
211
259
|
r("span", null, y(`${u.children}`), 1)
|
|
212
|
-
])) :
|
|
260
|
+
])) : V("", !0)
|
|
213
261
|
]),
|
|
214
|
-
r("span", null, y(`(${l(
|
|
262
|
+
r("span", null, y(`(${l(ie)(u.price, l(n))})`), 1)
|
|
215
263
|
])
|
|
216
264
|
]),
|
|
217
|
-
"selected-option":
|
|
218
|
-
r("div",
|
|
219
|
-
r("div",
|
|
265
|
+
"selected-option": _(({ data: u }) => [
|
|
266
|
+
r("div", Vo, [
|
|
267
|
+
r("div", $o, [
|
|
220
268
|
r("div", null, [
|
|
221
|
-
|
|
269
|
+
V("", !0),
|
|
222
270
|
r("span", null, y(`${u.adults} ${u.adults === 1 ? l(t)("general.adult") : l(t)("general.adults")}`), 1)
|
|
223
271
|
]),
|
|
224
|
-
u.children > 0 ? (
|
|
225
|
-
|
|
272
|
+
u.children > 0 ? (m(), f("div", To, [
|
|
273
|
+
V("", !0),
|
|
226
274
|
r("span", null, y(`& ${u.children} ${u.children === 1 ? l(t)("general.child") : l(t)("general.children")}`), 1)
|
|
227
|
-
])) :
|
|
275
|
+
])) : V("", !0)
|
|
228
276
|
]),
|
|
229
|
-
r("div",
|
|
277
|
+
r("div", Co, [
|
|
230
278
|
wo,
|
|
231
|
-
|
|
279
|
+
Ne(" " + y(`(${l(ie)(u.price, l(n))})`), 1)
|
|
232
280
|
])
|
|
233
281
|
])
|
|
234
282
|
]),
|
|
235
283
|
_: 1
|
|
236
284
|
}, 8, ["modelValue", "label", "options", "readonly", "required"]));
|
|
237
285
|
}
|
|
238
|
-
}), Ho = /* @__PURE__ */
|
|
239
|
-
const
|
|
286
|
+
}), Ho = /* @__PURE__ */ ee(Po, [["__scopeId", "data-v-69fe83d8"]]), So = { class: "konnectio-availability-listing-selection" }, Do = { key: 1 }, Ao = { class: "fresh-booking-listing-config-body" }, Io = { class: "fresh-booking-listing-units-body" };
|
|
287
|
+
const Eo = /* @__PURE__ */ q({
|
|
240
288
|
__name: "Hotel",
|
|
241
289
|
props: {
|
|
242
290
|
room: {},
|
|
243
291
|
layout: {}
|
|
244
292
|
},
|
|
245
293
|
setup(o) {
|
|
246
|
-
const { t: e } =
|
|
247
|
-
function a(
|
|
248
|
-
n.value[
|
|
294
|
+
const { t: e } = x(), t = o, n = Z([]);
|
|
295
|
+
function a(k) {
|
|
296
|
+
n.value[k].config.push({
|
|
249
297
|
id: NaN,
|
|
250
298
|
units: 0,
|
|
251
299
|
addons: []
|
|
252
300
|
});
|
|
253
301
|
}
|
|
254
|
-
const i = U(() => t.room.rates.map((
|
|
255
|
-
label:
|
|
256
|
-
value:
|
|
257
|
-
}))), { hideAvailableRoomAmount: c } =
|
|
258
|
-
value:
|
|
259
|
-
price:
|
|
260
|
-
adults:
|
|
261
|
-
children:
|
|
262
|
-
hasBreakfast:
|
|
263
|
-
})) || [] : [],
|
|
264
|
-
function
|
|
265
|
-
|
|
302
|
+
const i = U(() => t.room.rates.map((k) => ({
|
|
303
|
+
label: k.name,
|
|
304
|
+
value: k.id
|
|
305
|
+
}))), { hideAvailableRoomAmount: c } = Y(he()), { roomSelect: p } = Y(re()), { addToCart: d, removeFromCart: s } = lt(), u = (k, w) => t.room.rates.find((A) => A.id === k)?.occupantRates.find((A) => A.index === w), h = U(() => t.room.rates.every((k) => k.isBreakfastIncluded === !0)), b = (k, w) => u(k, w) ? u(k, w)?.rooms : null, D = (k) => t.room.rates.length > 0 ? t.room.rates.find((w) => w.id === k)?.occupantRates.map((w) => ({
|
|
306
|
+
value: w.index,
|
|
307
|
+
price: w.totalPrice,
|
|
308
|
+
adults: w.adultsCount,
|
|
309
|
+
children: w.childrenCount,
|
|
310
|
+
hasBreakfast: w.hasBreakfast
|
|
311
|
+
})) || [] : [], C = U(() => t.room.rates.length > 1);
|
|
312
|
+
function O() {
|
|
313
|
+
C.value ? n.value.push({
|
|
266
314
|
id: void 0,
|
|
267
315
|
config: [{
|
|
268
316
|
id: t.room.rates[0].occupantRateIndex || NaN,
|
|
@@ -278,100 +326,100 @@ const Io = /* @__PURE__ */ q({
|
|
|
278
326
|
}]
|
|
279
327
|
});
|
|
280
328
|
}
|
|
281
|
-
|
|
282
|
-
|
|
329
|
+
Se(() => {
|
|
330
|
+
O();
|
|
283
331
|
});
|
|
284
|
-
const
|
|
285
|
-
return
|
|
286
|
-
|
|
287
|
-
A.config.forEach((
|
|
288
|
-
const
|
|
289
|
-
|
|
332
|
+
const N = U(() => JSON.parse(JSON.stringify(n.value)));
|
|
333
|
+
return Te(N, (k, w) => {
|
|
334
|
+
w.length > 0 && k.forEach((A, F) => {
|
|
335
|
+
A.config.forEach((E, W) => {
|
|
336
|
+
const j = E.units, S = w[F].config[W].units;
|
|
337
|
+
j !== S && (j > S ? (n.value[F].config[W].addons.push({}), d({
|
|
290
338
|
id: t.room.id,
|
|
291
339
|
name: t.room.title,
|
|
292
|
-
value: t.room.rates[
|
|
293
|
-
})) : (n.value[
|
|
340
|
+
value: t.room.rates[F].rackRate
|
|
341
|
+
})) : (n.value[F].config[W].addons.pop(), s({
|
|
294
342
|
id: t.room.id,
|
|
295
343
|
name: t.room.title,
|
|
296
|
-
value: t.room.rates[
|
|
344
|
+
value: t.room.rates[F].rackRate
|
|
297
345
|
})));
|
|
298
346
|
});
|
|
299
347
|
});
|
|
300
|
-
}, { deep: !0 }),
|
|
348
|
+
}, { deep: !0 }), Te(n, () => {
|
|
301
349
|
p.value[t.room.id] = n.value;
|
|
302
|
-
}, { deep: !0 }), (
|
|
303
|
-
"listing-id":
|
|
304
|
-
gallery:
|
|
305
|
-
name:
|
|
306
|
-
description:
|
|
307
|
-
layout:
|
|
308
|
-
facilities:
|
|
309
|
-
"prices-from":
|
|
350
|
+
}, { deep: !0 }), (k, w) => (m(), H(De, {
|
|
351
|
+
"listing-id": k.room.id,
|
|
352
|
+
gallery: k.room.images,
|
|
353
|
+
name: k.room.title,
|
|
354
|
+
description: k.room.description,
|
|
355
|
+
layout: k.layout,
|
|
356
|
+
facilities: k.room.facilities,
|
|
357
|
+
"prices-from": k.room.pricesFrom,
|
|
310
358
|
"includes-breakfast": h.value
|
|
311
359
|
}, {
|
|
312
|
-
action:
|
|
313
|
-
r("div",
|
|
314
|
-
(
|
|
360
|
+
action: _(() => [
|
|
361
|
+
r("div", So, [
|
|
362
|
+
(m(!0), f(I, null, M(n.value, (A, F) => (m(), f("div", {
|
|
315
363
|
key: A.id,
|
|
316
364
|
class: "freshbooking-hotel-room"
|
|
317
365
|
}, [
|
|
318
|
-
|
|
366
|
+
C.value ? (m(), H(He, {
|
|
319
367
|
key: 0,
|
|
320
368
|
modelValue: A.id,
|
|
321
|
-
"onUpdate:modelValue": (
|
|
369
|
+
"onUpdate:modelValue": (E) => A.id = E,
|
|
322
370
|
label: l(e)("hotel.roomVariant"),
|
|
323
371
|
placeholder: l(e)("hotel.chooseARoomVariant"),
|
|
324
372
|
options: i.value,
|
|
325
373
|
searchable: !1
|
|
326
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) :
|
|
327
|
-
A.id ? (
|
|
328
|
-
(
|
|
329
|
-
id:
|
|
330
|
-
maximumOccupants:
|
|
331
|
-
}) => (
|
|
332
|
-
key:
|
|
374
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : V("", !0),
|
|
375
|
+
A.id ? (m(), f("div", Do, [
|
|
376
|
+
(m(!0), f(I, null, M(k.room.rates, ({
|
|
377
|
+
id: E,
|
|
378
|
+
maximumOccupants: W
|
|
379
|
+
}) => (m(), f("div", {
|
|
380
|
+
key: E,
|
|
333
381
|
class: "booking-availability-listing-action-selective-i"
|
|
334
382
|
}, [
|
|
335
|
-
A.id ===
|
|
336
|
-
key:
|
|
383
|
+
A.id === E ? (m(!0), f(I, { key: 0 }, M(A.config, (j, S) => (m(), f("div", {
|
|
384
|
+
key: S,
|
|
337
385
|
class: "booking-availability-listing-action-selective"
|
|
338
386
|
}, [
|
|
339
|
-
r("ul",
|
|
340
|
-
|
|
341
|
-
modelValue:
|
|
342
|
-
"onUpdate:modelValue": (
|
|
387
|
+
r("ul", Ao, [
|
|
388
|
+
v(Ho, {
|
|
389
|
+
modelValue: j.id,
|
|
390
|
+
"onUpdate:modelValue": (Q) => j.id = Q,
|
|
343
391
|
icon: "male",
|
|
344
392
|
"icon-type": "fas",
|
|
345
393
|
label: l(e)("general.guests"),
|
|
346
|
-
description: `${l(e)("general.maximumGuests")}: ${
|
|
347
|
-
options:
|
|
348
|
-
readonly: !(
|
|
394
|
+
description: `${l(e)("general.maximumGuests")}: ${W}`,
|
|
395
|
+
options: D(E),
|
|
396
|
+
readonly: !(D(E).length > 1)
|
|
349
397
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
|
|
350
398
|
]),
|
|
351
|
-
r("ul",
|
|
352
|
-
|
|
353
|
-
modelValue:
|
|
354
|
-
"onUpdate:modelValue": (
|
|
355
|
-
description: l(c) ? void 0 : `${l(e)("booking.availability.availableUnits")}: ${b(A.id,
|
|
399
|
+
r("ul", Io, [
|
|
400
|
+
v(nt, {
|
|
401
|
+
modelValue: j.units,
|
|
402
|
+
"onUpdate:modelValue": (Q) => j.units = Q,
|
|
403
|
+
description: l(c) ? void 0 : `${l(e)("booking.availability.availableUnits")}: ${b(A.id, j.id)}`,
|
|
356
404
|
icon: "house",
|
|
357
405
|
"icon-type": "fas",
|
|
358
406
|
"icon-placement": "label",
|
|
359
407
|
label: l(e)("booking.availability.units"),
|
|
360
408
|
minValue: 0,
|
|
361
|
-
"max-value": b(
|
|
409
|
+
"max-value": b(E, j.id) || 1 / 0
|
|
362
410
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
|
|
363
411
|
]),
|
|
364
|
-
|
|
365
|
-
]))), 128)) :
|
|
412
|
+
V("", !0)
|
|
413
|
+
]))), 128)) : V("", !0)
|
|
366
414
|
]))), 128))
|
|
367
|
-
])) :
|
|
415
|
+
])) : V("", !0)
|
|
368
416
|
]))), 128))
|
|
369
417
|
])
|
|
370
418
|
]),
|
|
371
419
|
_: 1
|
|
372
420
|
}, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
|
|
373
421
|
}
|
|
374
|
-
}),
|
|
422
|
+
}), Bo = /* @__PURE__ */ ee(Eo, [["__scopeId", "data-v-2121431c"]]), Mo = { class: "konnectio-template-side-panel" }, Lo = { class: "konnectio-template-side-panel-listings" }, Ro = /* @__PURE__ */ q({
|
|
375
423
|
__name: "Template",
|
|
376
424
|
props: {
|
|
377
425
|
title: {},
|
|
@@ -380,39 +428,44 @@ const Io = /* @__PURE__ */ q({
|
|
|
380
428
|
callback: { type: Function }
|
|
381
429
|
},
|
|
382
430
|
setup(o) {
|
|
383
|
-
const { t: e } =
|
|
384
|
-
|
|
385
|
-
|
|
431
|
+
const { t: e } = x(), { templateID: t, roomGroupID: n } = Y(re()), { currency: a } = Y(he()), { clearRoomSelection: i } = re(), c = o, p = Z(!0), d = U(() => {
|
|
432
|
+
function u(h, b) {
|
|
433
|
+
return p.value === !0 ? h.extraPrice > b.extraPrice ? -1 : 1 : h.extraPrice > b.extraPrice ? 1 : -1;
|
|
434
|
+
}
|
|
435
|
+
return c.roomGroups?.slice().sort(u);
|
|
436
|
+
});
|
|
437
|
+
function s(u) {
|
|
438
|
+
t.value = c.templateId, n.value = u, i(), c.callback(2);
|
|
386
439
|
}
|
|
387
|
-
return (
|
|
388
|
-
title:
|
|
440
|
+
return (u, h) => (m(), H(ro, {
|
|
441
|
+
title: u.title,
|
|
389
442
|
subtitle: l(e)("booking.availability.selectATemplateRoom")
|
|
390
443
|
}, {
|
|
391
|
-
default:
|
|
444
|
+
default: _(() => [
|
|
392
445
|
r("div", Mo, [
|
|
393
|
-
r("div",
|
|
394
|
-
(
|
|
395
|
-
id:
|
|
396
|
-
title:
|
|
397
|
-
description:
|
|
398
|
-
images:
|
|
399
|
-
facilities:
|
|
400
|
-
extraPrice:
|
|
401
|
-
}) => (
|
|
402
|
-
key:
|
|
403
|
-
"listing-id":
|
|
404
|
-
name:
|
|
405
|
-
description:
|
|
406
|
-
facilities:
|
|
407
|
-
gallery:
|
|
446
|
+
r("div", Lo, [
|
|
447
|
+
(m(!0), f(I, null, M(d.value, ({
|
|
448
|
+
id: b,
|
|
449
|
+
title: D,
|
|
450
|
+
description: C,
|
|
451
|
+
images: O,
|
|
452
|
+
facilities: N,
|
|
453
|
+
extraPrice: k
|
|
454
|
+
}) => (m(), H(De, {
|
|
455
|
+
key: b,
|
|
456
|
+
"listing-id": b,
|
|
457
|
+
name: D,
|
|
458
|
+
description: C,
|
|
459
|
+
facilities: N,
|
|
460
|
+
gallery: O,
|
|
408
461
|
"includes-breakfast": !1,
|
|
409
462
|
"hide-info-button": !0
|
|
410
463
|
}, {
|
|
411
|
-
action:
|
|
464
|
+
action: _(() => [
|
|
412
465
|
r("div", null, [
|
|
413
|
-
|
|
414
|
-
onClickEvent: (
|
|
415
|
-
label: `${l(e)("booking.availability.selectThisRoom")} (${l(
|
|
466
|
+
v(se, {
|
|
467
|
+
onClickEvent: (w) => s(b),
|
|
468
|
+
label: `${l(e)("booking.availability.selectThisRoom")} (${l(ie)(k, l(a))})`,
|
|
416
469
|
"full-width": ""
|
|
417
470
|
}, null, 8, ["onClickEvent", "label"])
|
|
418
471
|
])
|
|
@@ -425,7 +478,7 @@ const Io = /* @__PURE__ */ q({
|
|
|
425
478
|
_: 1
|
|
426
479
|
}, 8, ["title", "subtitle"]));
|
|
427
480
|
}
|
|
428
|
-
}),
|
|
481
|
+
}), dt = /* @__PURE__ */ ee(Ro, [["__scopeId", "data-v-f7af0f66"]]), Uo = ["innerHTML"], Fo = { class: "konnectio-template-select-package" }, Oo = /* @__PURE__ */ q({
|
|
429
482
|
__name: "Template",
|
|
430
483
|
props: {
|
|
431
484
|
id: {},
|
|
@@ -437,7 +490,7 @@ const Io = /* @__PURE__ */ q({
|
|
|
437
490
|
callback: { type: Function }
|
|
438
491
|
},
|
|
439
492
|
setup(o) {
|
|
440
|
-
const { t: e } =
|
|
493
|
+
const { t: e } = x(), t = o, n = U(() => t.roomGroups.reduce(
|
|
441
494
|
(d, s) => d < s.extraPrice ? d : s.extraPrice,
|
|
442
495
|
1 / 0
|
|
443
496
|
)), a = U(() => [{
|
|
@@ -445,40 +498,40 @@ const Io = /* @__PURE__ */ q({
|
|
|
445
498
|
medium: t.image.url,
|
|
446
499
|
thumb: t.image.url,
|
|
447
500
|
url: t.image.url
|
|
448
|
-
}]), i =
|
|
501
|
+
}]), i = Z(!1);
|
|
449
502
|
function c() {
|
|
450
503
|
i.value = !0;
|
|
451
504
|
}
|
|
452
505
|
function p(d) {
|
|
453
506
|
t.callback(d), i.value = !1;
|
|
454
507
|
}
|
|
455
|
-
return (d, s) => (
|
|
508
|
+
return (d, s) => (m(), H(De, {
|
|
456
509
|
"listing-id": d.id,
|
|
457
510
|
name: d.name,
|
|
458
511
|
description: d.description,
|
|
459
512
|
gallery: a.value,
|
|
460
|
-
layout: l(
|
|
513
|
+
layout: l(it).Template,
|
|
461
514
|
"includes-breakfast": !1,
|
|
462
515
|
"hide-info-button": !1,
|
|
463
516
|
"prices-from": n.value
|
|
464
517
|
}, {
|
|
465
|
-
description:
|
|
466
|
-
d.description ? (
|
|
518
|
+
description: _(() => [
|
|
519
|
+
d.description ? (m(), f("p", {
|
|
467
520
|
key: 0,
|
|
468
|
-
innerHTML: l(
|
|
469
|
-
}, null, 8,
|
|
521
|
+
innerHTML: l(at)(d.description)
|
|
522
|
+
}, null, 8, Uo)) : V("", !0)
|
|
470
523
|
]),
|
|
471
|
-
action:
|
|
472
|
-
r("div",
|
|
473
|
-
|
|
524
|
+
action: _(() => [
|
|
525
|
+
r("div", Fo, [
|
|
526
|
+
v(se, {
|
|
474
527
|
onClickEvent: c,
|
|
475
528
|
label: l(e)("booking.availability.selectPackage"),
|
|
476
529
|
"full-width": ""
|
|
477
530
|
}, null, 8, ["label"])
|
|
478
531
|
])
|
|
479
532
|
]),
|
|
480
|
-
default:
|
|
481
|
-
|
|
533
|
+
default: _(() => [
|
|
534
|
+
v(dt, {
|
|
482
535
|
modelValue: i.value,
|
|
483
536
|
"onUpdate:modelValue": s[0] || (s[0] = (u) => i.value = u),
|
|
484
537
|
title: d.name,
|
|
@@ -490,7 +543,7 @@ const Io = /* @__PURE__ */ q({
|
|
|
490
543
|
_: 1
|
|
491
544
|
}, 8, ["listing-id", "name", "description", "gallery", "layout", "prices-from"]));
|
|
492
545
|
}
|
|
493
|
-
}),
|
|
546
|
+
}), No = ["innerHTML"], jo = { class: "konnectio-special-offer-availability" }, Go = { class: "konnectio-special-offer-availability-button" }, qo = /* @__PURE__ */ q({
|
|
494
547
|
__name: "SpecialOffer",
|
|
495
548
|
props: {
|
|
496
549
|
id: {},
|
|
@@ -504,40 +557,40 @@ const Io = /* @__PURE__ */ q({
|
|
|
504
557
|
callback: { type: Function }
|
|
505
558
|
},
|
|
506
559
|
setup(o) {
|
|
507
|
-
const { t: e } =
|
|
560
|
+
const { t: e } = x(), { updateDates: t } = st(), n = o, a = Z([]), i = U(() => Oe(n.fromDate, n.toDate) === 1), c = U(() => [{
|
|
508
561
|
large: n.image.url,
|
|
509
562
|
medium: n.image.url,
|
|
510
563
|
thumb: n.image.url,
|
|
511
564
|
url: n.image.url
|
|
512
|
-
}]), p =
|
|
565
|
+
}]), p = Z(!1);
|
|
513
566
|
function d(u) {
|
|
514
567
|
n.callback(u), p.value = !1;
|
|
515
568
|
}
|
|
516
569
|
function s() {
|
|
517
570
|
t(a.value[0], a.value[1]);
|
|
518
571
|
}
|
|
519
|
-
return
|
|
572
|
+
return Se(() => {
|
|
520
573
|
i.value && (a.value = [new Date(n.fromDate), new Date(n.toDate)]);
|
|
521
|
-
}), (u, h) => (
|
|
574
|
+
}), (u, h) => (m(), H(De, {
|
|
522
575
|
"listing-id": u.id,
|
|
523
576
|
name: u.name,
|
|
524
577
|
description: u.description,
|
|
525
578
|
gallery: c.value,
|
|
526
|
-
layout: l(
|
|
579
|
+
layout: l(it).Template,
|
|
527
580
|
"includes-breakfast": !1,
|
|
528
581
|
"hide-info-button": !1,
|
|
529
582
|
"to-date": u.toDate,
|
|
530
583
|
"from-date": u.fromDate
|
|
531
584
|
}, {
|
|
532
|
-
description:
|
|
533
|
-
u.description ? (
|
|
585
|
+
description: _(() => [
|
|
586
|
+
u.description ? (m(), f("p", {
|
|
534
587
|
key: 0,
|
|
535
|
-
innerHTML: l(
|
|
536
|
-
}, null, 8,
|
|
588
|
+
innerHTML: l(at)(u.description)
|
|
589
|
+
}, null, 8, No)) : V("", !0)
|
|
537
590
|
]),
|
|
538
|
-
action:
|
|
539
|
-
r("div",
|
|
540
|
-
|
|
591
|
+
action: _(() => [
|
|
592
|
+
r("div", jo, [
|
|
593
|
+
v(ut, {
|
|
541
594
|
modelValue: a.value,
|
|
542
595
|
"onUpdate:modelValue": h[0] || (h[0] = (b) => a.value = b),
|
|
543
596
|
label: l(e)("availability.checkInOut"),
|
|
@@ -551,16 +604,16 @@ const Io = /* @__PURE__ */ q({
|
|
|
551
604
|
readonly: i.value,
|
|
552
605
|
range: ""
|
|
553
606
|
}, null, 8, ["modelValue", "label", "placeholder", "start-date", "min-date", "max-date", "readonly"]),
|
|
554
|
-
r("div",
|
|
555
|
-
|
|
607
|
+
r("div", Go, [
|
|
608
|
+
v(se, {
|
|
556
609
|
label: l(e)("availability.buttonLabel"),
|
|
557
|
-
onClick:
|
|
610
|
+
onClick: $e(s, ["prevent"])
|
|
558
611
|
}, null, 8, ["label"])
|
|
559
612
|
])
|
|
560
613
|
])
|
|
561
614
|
]),
|
|
562
|
-
default:
|
|
563
|
-
|
|
615
|
+
default: _(() => [
|
|
616
|
+
v(dt, {
|
|
564
617
|
modelValue: p.value,
|
|
565
618
|
"onUpdate:modelValue": h[1] || (h[1] = (b) => p.value = b),
|
|
566
619
|
title: u.name,
|
|
@@ -572,7 +625,7 @@ const Io = /* @__PURE__ */ q({
|
|
|
572
625
|
_: 1
|
|
573
626
|
}, 8, ["listing-id", "name", "description", "gallery", "layout", "to-date", "from-date"]));
|
|
574
627
|
}
|
|
575
|
-
}),
|
|
628
|
+
}), Ye = /* @__PURE__ */ q({
|
|
576
629
|
__name: "TimeField",
|
|
577
630
|
props: {
|
|
578
631
|
modelValue: {},
|
|
@@ -601,10 +654,10 @@ const Io = /* @__PURE__ */ q({
|
|
|
601
654
|
function a(c) {
|
|
602
655
|
t("update:modelValue", c);
|
|
603
656
|
}
|
|
604
|
-
const i =
|
|
605
|
-
return
|
|
657
|
+
const i = Z(n.modelValue);
|
|
658
|
+
return Te(i, (c) => {
|
|
606
659
|
a(c);
|
|
607
|
-
}), (c, p) => (
|
|
660
|
+
}), (c, p) => (m(), H(ut, {
|
|
608
661
|
modelValue: i.value,
|
|
609
662
|
"onUpdate:modelValue": p[0] || (p[0] = (d) => i.value = d),
|
|
610
663
|
type: "time",
|
|
@@ -619,7 +672,7 @@ const Io = /* @__PURE__ */ q({
|
|
|
619
672
|
readonly: c.readonly
|
|
620
673
|
}, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
|
|
621
674
|
}
|
|
622
|
-
}),
|
|
675
|
+
}), Wo = { style: { display: "flex", "align-items": "baseline" } }, Ko = /* @__PURE__ */ q({
|
|
623
676
|
__name: "CountryField",
|
|
624
677
|
props: {
|
|
625
678
|
modelValue: {},
|
|
@@ -631,7 +684,7 @@ const Io = /* @__PURE__ */ q({
|
|
|
631
684
|
},
|
|
632
685
|
emits: ["update:modelValue"],
|
|
633
686
|
setup(o, { emit: e }) {
|
|
634
|
-
const { t } =
|
|
687
|
+
const { t } = x(), n = e, a = o;
|
|
635
688
|
function i(p) {
|
|
636
689
|
n("update:modelValue", p);
|
|
637
690
|
}
|
|
@@ -639,7 +692,7 @@ const Io = /* @__PURE__ */ q({
|
|
|
639
692
|
get: () => a.modelValue,
|
|
640
693
|
set: (p) => i(p)
|
|
641
694
|
});
|
|
642
|
-
return (p, d) => (
|
|
695
|
+
return (p, d) => (m(), H(He, {
|
|
643
696
|
modelValue: c.value,
|
|
644
697
|
"onUpdate:modelValue": d[0] || (d[0] = (s) => c.value = s),
|
|
645
698
|
label: p.label,
|
|
@@ -649,16 +702,16 @@ const Io = /* @__PURE__ */ q({
|
|
|
649
702
|
options: p.options,
|
|
650
703
|
required: p.required
|
|
651
704
|
}, {
|
|
652
|
-
option:
|
|
705
|
+
option: _(({ data: s }) => [
|
|
653
706
|
r("i", {
|
|
654
|
-
class:
|
|
707
|
+
class: Ce(["konnectio-flag-icon", s.iso])
|
|
655
708
|
}, null, 2),
|
|
656
709
|
r("span", null, y(s.name), 1)
|
|
657
710
|
]),
|
|
658
|
-
"selected-option":
|
|
659
|
-
r("div",
|
|
711
|
+
"selected-option": _(({ data: s }) => [
|
|
712
|
+
r("div", Wo, [
|
|
660
713
|
r("i", {
|
|
661
|
-
class:
|
|
714
|
+
class: Ce(["konnectio-flag-icon", s.iso])
|
|
662
715
|
}, null, 2),
|
|
663
716
|
r("span", null, y(s.name), 1)
|
|
664
717
|
])
|
|
@@ -666,7 +719,7 @@ const Io = /* @__PURE__ */ q({
|
|
|
666
719
|
_: 1
|
|
667
720
|
}, 8, ["modelValue", "label", "placeholder", "options", "required"]));
|
|
668
721
|
}
|
|
669
|
-
}),
|
|
722
|
+
}), zo = /* @__PURE__ */ ee(Ko, [["__scopeId", "data-v-1462612d"]]), Jo = { class: "konnectio-radio-checkboxes" }, Yo = /* @__PURE__ */ q({
|
|
670
723
|
__name: "CheckboxField",
|
|
671
724
|
props: {
|
|
672
725
|
modelValue: {},
|
|
@@ -684,14 +737,14 @@ const Io = /* @__PURE__ */ q({
|
|
|
684
737
|
get: () => n.modelValue,
|
|
685
738
|
set: (c) => a(c)
|
|
686
739
|
});
|
|
687
|
-
return (c, p) => (
|
|
740
|
+
return (c, p) => (m(), H(rt, {
|
|
688
741
|
label: c.label,
|
|
689
742
|
type: "multi-radio"
|
|
690
743
|
}, {
|
|
691
|
-
default:
|
|
692
|
-
r("ul",
|
|
693
|
-
(
|
|
694
|
-
|
|
744
|
+
default: _(() => [
|
|
745
|
+
r("ul", Jo, [
|
|
746
|
+
(m(!0), f(I, null, M(c.checkboxes, ({ label: d, value: s }, u) => (m(), f("li", { key: u }, [
|
|
747
|
+
v(we, {
|
|
695
748
|
modelValue: i.value,
|
|
696
749
|
"onUpdate:modelValue": p[0] || (p[0] = (h) => i.value = h),
|
|
697
750
|
label: d,
|
|
@@ -705,7 +758,7 @@ const Io = /* @__PURE__ */ q({
|
|
|
705
758
|
_: 1
|
|
706
759
|
}, 8, ["label"]));
|
|
707
760
|
}
|
|
708
|
-
}), Zo = /* @__PURE__ */
|
|
761
|
+
}), Zo = /* @__PURE__ */ ee(Yo, [["__scopeId", "data-v-7185c7da"]]), Qo = /* @__PURE__ */ q({
|
|
709
762
|
__name: "NameField",
|
|
710
763
|
props: {
|
|
711
764
|
modelValue: {},
|
|
@@ -727,17 +780,17 @@ const Io = /* @__PURE__ */ q({
|
|
|
727
780
|
},
|
|
728
781
|
emits: ["update:modelValue", "update:title"],
|
|
729
782
|
setup(o, { emit: e }) {
|
|
730
|
-
const t = o, n = e, a = t.id ||
|
|
783
|
+
const t = o, n = e, a = t.id || Je(), i = Z(""), c = Z(2);
|
|
731
784
|
function p() {
|
|
732
785
|
n("update:modelValue", i.value);
|
|
733
786
|
}
|
|
734
|
-
|
|
787
|
+
Te(c, (s) => {
|
|
735
788
|
n("update:title", s);
|
|
736
789
|
});
|
|
737
|
-
const { t: d } =
|
|
738
|
-
return
|
|
790
|
+
const { t: d } = x();
|
|
791
|
+
return Se(() => {
|
|
739
792
|
t.modelValue && (i.value = t.modelValue), t.title && (c.value = t.title);
|
|
740
|
-
}), (s, u) => (
|
|
793
|
+
}), (s, u) => (m(), H(rt, {
|
|
741
794
|
label: s.label,
|
|
742
795
|
id: l(a),
|
|
743
796
|
required: s.required,
|
|
@@ -745,18 +798,18 @@ const Io = /* @__PURE__ */ q({
|
|
|
745
798
|
readonly: s.readonly,
|
|
746
799
|
limit: s.limit
|
|
747
800
|
}, {
|
|
748
|
-
default:
|
|
801
|
+
default: _(() => [
|
|
749
802
|
r("div", {
|
|
750
|
-
class:
|
|
803
|
+
class: Ce([
|
|
751
804
|
"fresh-booking-name-input",
|
|
752
805
|
{ "no-title": s.excludeTitle }
|
|
753
806
|
])
|
|
754
807
|
}, [
|
|
755
|
-
s.excludeTitle ?
|
|
808
|
+
s.excludeTitle ? V("", !0) : (m(), H(He, {
|
|
756
809
|
key: 0,
|
|
757
810
|
modelValue: c.value,
|
|
758
811
|
"onUpdate:modelValue": u[0] || (u[0] = (h) => c.value = h),
|
|
759
|
-
id: l(
|
|
812
|
+
id: l(Je)(),
|
|
760
813
|
icon: s.icon,
|
|
761
814
|
"icon-color": s.iconColor,
|
|
762
815
|
"icon-type": s.iconType,
|
|
@@ -787,7 +840,7 @@ const Io = /* @__PURE__ */ q({
|
|
|
787
840
|
"input-style": s.inputStyle,
|
|
788
841
|
searchable: !1
|
|
789
842
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly", "input-style"])),
|
|
790
|
-
|
|
843
|
+
v(ne, {
|
|
791
844
|
modelValue: i.value,
|
|
792
845
|
"onUpdate:modelValue": u[1] || (u[1] = (h) => i.value = h),
|
|
793
846
|
type: "text",
|
|
@@ -809,64 +862,64 @@ const Io = /* @__PURE__ */ q({
|
|
|
809
862
|
_: 1
|
|
810
863
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
811
864
|
}
|
|
812
|
-
}),
|
|
865
|
+
}), Xo = /* @__PURE__ */ ee(Qo, [["__scopeId", "data-v-78b0b319"]]), xo = { class: "hotel-skeleton" }, el = { class: "hotel-skeleton-content" }, tl = { class: "hotel-skeleton-sidebar" }, ol = /* @__PURE__ */ q({
|
|
813
866
|
__name: "HotelSkeleton",
|
|
814
867
|
setup(o) {
|
|
815
|
-
return (e, t) => (
|
|
816
|
-
r("div", xo, [
|
|
817
|
-
g(po, { hotel: "" }),
|
|
818
|
-
g(to)
|
|
819
|
-
]),
|
|
868
|
+
return (e, t) => (m(), f("div", xo, [
|
|
820
869
|
r("div", el, [
|
|
821
|
-
|
|
870
|
+
v(po, { hotel: "" }),
|
|
871
|
+
v(eo)
|
|
872
|
+
]),
|
|
873
|
+
r("div", tl, [
|
|
874
|
+
v(to)
|
|
822
875
|
])
|
|
823
876
|
]));
|
|
824
877
|
}
|
|
825
|
-
}),
|
|
826
|
-
const
|
|
878
|
+
}), ll = /* @__PURE__ */ ee(ol, [["__scopeId", "data-v-1bb21da4"]]), nl = (o) => (tt("data-v-9e8f1998"), o = o(), ot(), o), al = { id: "booking-availability-container" }, il = { id: "booking-availability-controls" };
|
|
879
|
+
const sl = { key: 1 }, rl = { key: 0 }, ul = {
|
|
827
880
|
key: 0,
|
|
828
881
|
id: "booking-availability-packages"
|
|
829
|
-
},
|
|
882
|
+
}, dl = {
|
|
830
883
|
key: 0,
|
|
831
884
|
class: "konnectio-hotel-availability-title"
|
|
832
|
-
},
|
|
885
|
+
}, cl = { id: "booking-availability-packages-wrapper" }, pl = { key: 1 }, ml = {
|
|
833
886
|
key: 0,
|
|
834
887
|
class: "konnectio-hotel-availability-title"
|
|
835
|
-
}, fl = { id: "booking-availability-listings" },
|
|
888
|
+
}, fl = { id: "booking-availability-listings" }, hl = {
|
|
836
889
|
key: 2,
|
|
837
890
|
id: "booking-availability-packages"
|
|
838
|
-
},
|
|
891
|
+
}, vl = {
|
|
839
892
|
key: 0,
|
|
840
893
|
class: "konnectio-hotel-availability-title"
|
|
841
|
-
}, gl = { id: "booking-availability-packages-wrapper" },
|
|
894
|
+
}, gl = { id: "booking-availability-packages-wrapper" }, yl = {
|
|
842
895
|
key: 3,
|
|
843
896
|
id: "booking-availability-no-listings",
|
|
844
897
|
class: "fresh-booking-panel"
|
|
845
|
-
},
|
|
898
|
+
}, bl = {
|
|
846
899
|
key: 1,
|
|
847
900
|
id: "booking-availability-no-listings"
|
|
848
|
-
},
|
|
901
|
+
}, kl = {
|
|
849
902
|
key: 2,
|
|
850
903
|
id: "reservation-availability-next-dates"
|
|
851
|
-
},
|
|
904
|
+
}, _l = { class: "konnectio-hotel-availability-title" }, Vl = { class: "reservation-special-offers-grid" }, $l = ["title"];
|
|
852
905
|
const Tl = {
|
|
853
906
|
key: 2,
|
|
854
907
|
class: "konnectio-listing-loading"
|
|
855
|
-
},
|
|
908
|
+
}, Cl = { class: "fresh-booking-panel" }, wl = {
|
|
856
909
|
key: 0,
|
|
857
910
|
id: "konnectio-hotel-addons"
|
|
858
911
|
};
|
|
859
|
-
const
|
|
912
|
+
const Pl = { class: "fresh-booking-event-addons-price" }, Hl = { key: 1 }, Sl = /* @__PURE__ */ nl(() => /* @__PURE__ */ r("br", null, null, -1)), Dl = ["onClick"], Al = { class: "fresh-booking-panel" }, Il = { key: 0 }, El = { key: 1 }, Bl = { class: "fresh-booking-split-inputs" }, Ml = ["onClick"], Ll = /* @__PURE__ */ q({
|
|
860
913
|
name: "HotelLayout",
|
|
861
914
|
__name: "Hotel",
|
|
862
915
|
props: {
|
|
863
916
|
accessToken: {},
|
|
864
|
-
headerLayout: { default:
|
|
917
|
+
headerLayout: { default: Nt.Minimal },
|
|
865
918
|
onlyShow: { default: "everything" },
|
|
866
919
|
styling: {}
|
|
867
920
|
},
|
|
868
921
|
setup(o) {
|
|
869
|
-
const { t: e } =
|
|
922
|
+
const { t: e } = x(), {
|
|
870
923
|
templateID: t,
|
|
871
924
|
countries: n,
|
|
872
925
|
areListingsLoading: a,
|
|
@@ -878,48 +931,46 @@ const Cl = { class: "fresh-booking-event-addons-price" }, Hl = { key: 1 }, Pl =
|
|
|
878
931
|
name: u,
|
|
879
932
|
nameTitle: h,
|
|
880
933
|
email: b,
|
|
881
|
-
phone:
|
|
882
|
-
firmName:
|
|
883
|
-
postal:
|
|
884
|
-
city:
|
|
885
|
-
address:
|
|
886
|
-
country:
|
|
934
|
+
phone: D,
|
|
935
|
+
firmName: C,
|
|
936
|
+
postal: O,
|
|
937
|
+
city: N,
|
|
938
|
+
address: k,
|
|
939
|
+
country: w,
|
|
887
940
|
remark: A,
|
|
888
|
-
allergies:
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
} = ie(), Pt = le(!0), Dt = U(() => {
|
|
922
|
-
const $ = [
|
|
941
|
+
allergies: F,
|
|
942
|
+
roomSelect: E,
|
|
943
|
+
roomDisplay: W,
|
|
944
|
+
hasValidRoomSelection: j,
|
|
945
|
+
availabilityData: S,
|
|
946
|
+
selectionHasNoAddons: Q
|
|
947
|
+
} = Y(re()), {
|
|
948
|
+
arrivalDate: de,
|
|
949
|
+
departureDate: ve
|
|
950
|
+
} = Y(st()), {
|
|
951
|
+
currency: K,
|
|
952
|
+
arrivalEarliest: z,
|
|
953
|
+
arrivalLatest: L,
|
|
954
|
+
departureEarliest: ce,
|
|
955
|
+
departureLatest: Ae,
|
|
956
|
+
enableTracking: ge,
|
|
957
|
+
arrivalDefault: Ie,
|
|
958
|
+
departureDefault: te,
|
|
959
|
+
hideArrivalDepartureInputs: Ee,
|
|
960
|
+
disableArrivalUserSelection: ye,
|
|
961
|
+
disableNamePrefix: vt,
|
|
962
|
+
disableDepartureUserSelection: Be,
|
|
963
|
+
disableTravelingFor: gt,
|
|
964
|
+
disableTravelingForBleasure: yt,
|
|
965
|
+
disableCompanyField: bt,
|
|
966
|
+
hasPaymentGateway: kt
|
|
967
|
+
} = Y(he()), { beginCheckout: _t } = lt(), {
|
|
968
|
+
initialize: Vt,
|
|
969
|
+
resetTemplate: $t,
|
|
970
|
+
resetDiscountVoucher: Tt,
|
|
971
|
+
createReservation: Ct
|
|
972
|
+
} = re(), wt = Z(!0), Pt = U(() => {
|
|
973
|
+
const T = [
|
|
923
974
|
{
|
|
924
975
|
label: e("booking.reservation.business"),
|
|
925
976
|
value: "Business"
|
|
@@ -929,182 +980,182 @@ const Cl = { class: "fresh-booking-event-addons-price" }, Hl = { key: 1 }, Pl =
|
|
|
929
980
|
value: "Pleasure"
|
|
930
981
|
}
|
|
931
982
|
];
|
|
932
|
-
return
|
|
983
|
+
return yt.value || T.push({
|
|
933
984
|
label: e("booking.reservation.bleasure"),
|
|
934
985
|
value: "Bleasure"
|
|
935
|
-
}),
|
|
936
|
-
}),
|
|
937
|
-
const
|
|
938
|
-
function
|
|
939
|
-
return
|
|
986
|
+
}), T;
|
|
987
|
+
}), Ht = U(() => {
|
|
988
|
+
const T = S.value.roomGroups.slice();
|
|
989
|
+
function $(J, P) {
|
|
990
|
+
return wt.value === !0 ? J.pricesFrom > P.pricesFrom ? -1 : 1 : J.pricesFrom > P.pricesFrom ? 1 : -1;
|
|
940
991
|
}
|
|
941
|
-
return
|
|
942
|
-
}),
|
|
943
|
-
parseInt(
|
|
944
|
-
parseInt(
|
|
945
|
-
]]),
|
|
946
|
-
parseInt(
|
|
947
|
-
parseInt(
|
|
992
|
+
return T.sort($);
|
|
993
|
+
}), St = U(() => [[
|
|
994
|
+
parseInt(z.value.split(":")[0]),
|
|
995
|
+
parseInt(L.value.split(":")[0])
|
|
996
|
+
]]), Dt = U(() => [[
|
|
997
|
+
parseInt(ce.value.split(":")[0]),
|
|
998
|
+
parseInt(Ae.value.split(":")[0])
|
|
948
999
|
]]);
|
|
949
|
-
function
|
|
950
|
-
|
|
1000
|
+
function We(T) {
|
|
1001
|
+
Q.value ? T(2) : T(), Tt();
|
|
951
1002
|
}
|
|
952
|
-
function
|
|
953
|
-
|
|
1003
|
+
function At(T, $) {
|
|
1004
|
+
ve.value = new Date($), de.value = new Date(T), location.reload();
|
|
954
1005
|
}
|
|
955
|
-
async function
|
|
956
|
-
await
|
|
1006
|
+
async function It(T) {
|
|
1007
|
+
await Ct(T);
|
|
957
1008
|
}
|
|
958
|
-
function
|
|
959
|
-
|
|
1009
|
+
function Et(T) {
|
|
1010
|
+
ge.value && _t(), Q.value ? T(2) : T();
|
|
960
1011
|
}
|
|
961
|
-
function
|
|
962
|
-
d.value === "" && (d.value =
|
|
1012
|
+
function Bt() {
|
|
1013
|
+
d.value === "" && (d.value = Ie.value), s.value === "" && (s.value = te.value);
|
|
963
1014
|
}
|
|
964
|
-
return
|
|
965
|
-
|
|
966
|
-
}), (
|
|
967
|
-
default:
|
|
968
|
-
(
|
|
969
|
-
default:
|
|
970
|
-
|
|
1015
|
+
return Se(() => {
|
|
1016
|
+
Vt(), Bt();
|
|
1017
|
+
}), (T, $) => (m(), H(jt, { styling: T.styling }, {
|
|
1018
|
+
default: _(() => [
|
|
1019
|
+
(m(), H(Gt, null, {
|
|
1020
|
+
default: _(() => [
|
|
1021
|
+
v(Wt, {
|
|
971
1022
|
id: "fresh-booking-hotel-module",
|
|
972
|
-
"access-token":
|
|
1023
|
+
"access-token": T.accessToken,
|
|
973
1024
|
type: "hotel"
|
|
974
1025
|
}, {
|
|
975
|
-
default:
|
|
976
|
-
|
|
977
|
-
layout:
|
|
978
|
-
onReset: l(
|
|
1026
|
+
default: _(() => [
|
|
1027
|
+
v(oo, {
|
|
1028
|
+
layout: T.headerLayout,
|
|
1029
|
+
onReset: l($t)
|
|
979
1030
|
}, {
|
|
980
|
-
availability:
|
|
981
|
-
|
|
982
|
-
form:
|
|
983
|
-
r("div",
|
|
984
|
-
r("div",
|
|
985
|
-
|
|
1031
|
+
availability: _(({ next: J }) => [
|
|
1032
|
+
v(Ue, null, {
|
|
1033
|
+
form: _(() => [
|
|
1034
|
+
r("div", al, [
|
|
1035
|
+
r("div", il, [
|
|
1036
|
+
v(io, { booking: !0 })
|
|
986
1037
|
]),
|
|
987
|
-
|
|
988
|
-
l(a) ? (
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
])) : (
|
|
993
|
-
l(
|
|
994
|
-
l(
|
|
995
|
-
|
|
996
|
-
|
|
1038
|
+
V("", !0),
|
|
1039
|
+
l(a) ? (m(), f("div", Tl, [
|
|
1040
|
+
v(Re),
|
|
1041
|
+
v(Re),
|
|
1042
|
+
v(Re)
|
|
1043
|
+
])) : (m(), f("div", sl, [
|
|
1044
|
+
l(S).roomGroups.length > 0 || l(S).templates.length > 0 || l(S).specialTemplates.length > 0 ? (m(), f("div", rl, [
|
|
1045
|
+
l(S).templates.length > 0 && T.onlyShow !== "rooms" ? (m(), f("div", ul, [
|
|
1046
|
+
T.onlyShow !== "packages" ? (m(), f("h2", dl, [
|
|
1047
|
+
v(G, {
|
|
997
1048
|
icon: "box",
|
|
998
1049
|
type: "fal",
|
|
999
1050
|
color: "header"
|
|
1000
1051
|
}),
|
|
1001
1052
|
r("span", null, y(l(e)("booking.availability.packagesTitle")), 1)
|
|
1002
|
-
])) :
|
|
1003
|
-
r("ul",
|
|
1004
|
-
(
|
|
1053
|
+
])) : V("", !0),
|
|
1054
|
+
r("ul", cl, [
|
|
1055
|
+
(m(!0), f(I, null, M(l(S).templates, ({
|
|
1005
1056
|
id: P,
|
|
1006
|
-
name:
|
|
1007
|
-
templateRoomGroups:
|
|
1008
|
-
image:
|
|
1009
|
-
description:
|
|
1010
|
-
weekendFee:
|
|
1011
|
-
}) => (
|
|
1057
|
+
name: g,
|
|
1058
|
+
templateRoomGroups: oe,
|
|
1059
|
+
image: X,
|
|
1060
|
+
description: B,
|
|
1061
|
+
weekendFee: pe
|
|
1062
|
+
}) => (m(), H(Oo, {
|
|
1012
1063
|
key: P,
|
|
1013
1064
|
id: P,
|
|
1014
|
-
description:
|
|
1015
|
-
name:
|
|
1016
|
-
image:
|
|
1017
|
-
weekendFee:
|
|
1018
|
-
"room-groups":
|
|
1019
|
-
callback:
|
|
1065
|
+
description: B,
|
|
1066
|
+
name: g,
|
|
1067
|
+
image: X,
|
|
1068
|
+
weekendFee: pe,
|
|
1069
|
+
"room-groups": oe,
|
|
1070
|
+
callback: J
|
|
1020
1071
|
}, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback"]))), 128))
|
|
1021
1072
|
])
|
|
1022
|
-
])) :
|
|
1023
|
-
l(
|
|
1024
|
-
l(
|
|
1025
|
-
|
|
1073
|
+
])) : V("", !0),
|
|
1074
|
+
l(S).roomGroups.length > 0 && T.onlyShow !== "packages" ? (m(), f("div", pl, [
|
|
1075
|
+
l(S).templates.length > 0 && T.onlyShow !== "rooms" ? (m(), f("h2", ml, [
|
|
1076
|
+
v(G, {
|
|
1026
1077
|
icon: "house",
|
|
1027
1078
|
type: "fal",
|
|
1028
1079
|
color: "header"
|
|
1029
1080
|
}),
|
|
1030
1081
|
r("span", null, y(l(e)("booking.availability.roomsTitle")), 1)
|
|
1031
|
-
])) :
|
|
1082
|
+
])) : V("", !0),
|
|
1032
1083
|
r("ul", fl, [
|
|
1033
|
-
(
|
|
1084
|
+
(m(!0), f(I, null, M(Ht.value, (P, g) => (m(), H(Bo, {
|
|
1034
1085
|
room: P,
|
|
1035
|
-
key:
|
|
1086
|
+
key: g
|
|
1036
1087
|
}, null, 8, ["room"]))), 128))
|
|
1037
1088
|
])
|
|
1038
|
-
])) :
|
|
1039
|
-
l(
|
|
1040
|
-
|
|
1041
|
-
|
|
1089
|
+
])) : V("", !0),
|
|
1090
|
+
l(S).specialTemplates.length > 0 && T.onlyShow !== "rooms" ? (m(), f("div", hl, [
|
|
1091
|
+
T.onlyShow !== "packages" ? (m(), f("h2", vl, [
|
|
1092
|
+
v(G, {
|
|
1042
1093
|
icon: "sparkles",
|
|
1043
1094
|
type: "fal",
|
|
1044
1095
|
color: "header"
|
|
1045
1096
|
}),
|
|
1046
1097
|
r("span", null, y(l(e)("hotel.specialOffers")), 1)
|
|
1047
|
-
])) :
|
|
1098
|
+
])) : V("", !0),
|
|
1048
1099
|
r("ul", gl, [
|
|
1049
|
-
(
|
|
1100
|
+
(m(!0), f(I, null, M(l(S).specialTemplates, ({
|
|
1050
1101
|
id: P,
|
|
1051
|
-
name:
|
|
1052
|
-
templateRoomGroups:
|
|
1053
|
-
image:
|
|
1054
|
-
description:
|
|
1055
|
-
weekendFee:
|
|
1056
|
-
fromDate:
|
|
1057
|
-
toDate:
|
|
1058
|
-
}) => (
|
|
1102
|
+
name: g,
|
|
1103
|
+
templateRoomGroups: oe,
|
|
1104
|
+
image: X,
|
|
1105
|
+
description: B,
|
|
1106
|
+
weekendFee: pe,
|
|
1107
|
+
fromDate: me,
|
|
1108
|
+
toDate: Me
|
|
1109
|
+
}) => (m(), H(qo, {
|
|
1059
1110
|
key: P,
|
|
1060
1111
|
id: P,
|
|
1061
|
-
description:
|
|
1062
|
-
name:
|
|
1063
|
-
image:
|
|
1064
|
-
fromDate:
|
|
1065
|
-
toDate:
|
|
1066
|
-
weekendFee:
|
|
1067
|
-
"room-groups":
|
|
1068
|
-
callback:
|
|
1112
|
+
description: B,
|
|
1113
|
+
name: g,
|
|
1114
|
+
image: X,
|
|
1115
|
+
fromDate: me,
|
|
1116
|
+
toDate: Me,
|
|
1117
|
+
weekendFee: pe,
|
|
1118
|
+
"room-groups": oe,
|
|
1119
|
+
callback: J
|
|
1069
1120
|
}, null, 8, ["id", "description", "name", "image", "fromDate", "toDate", "weekendFee", "room-groups", "callback"]))), 128))
|
|
1070
1121
|
])
|
|
1071
|
-
])) :
|
|
1072
|
-
(l(
|
|
1122
|
+
])) : V("", !0),
|
|
1123
|
+
(l(S).templates.length === 0 && T.onlyShow !== "rooms" || l(S).roomGroups.length === 0 && T.onlyShow !== "packages") && (T.onlyShow === "rooms" || T.onlyShow === "packages") ? (m(), f("div", yl, [
|
|
1073
1124
|
r("span", null, y(l(e)("booking.availability.nothingAvailable")), 1)
|
|
1074
|
-
])) :
|
|
1075
|
-
])) : l(
|
|
1125
|
+
])) : V("", !0)
|
|
1126
|
+
])) : l(S).nextAvailableDates.length === 0 ? (m(), f("div", bl, [
|
|
1076
1127
|
r("span", null, y(l(e)("booking.availability.nothingAvailable")), 1)
|
|
1077
|
-
])) : (
|
|
1078
|
-
r("h2",
|
|
1079
|
-
|
|
1128
|
+
])) : (m(), f("div", kl, [
|
|
1129
|
+
r("h2", _l, [
|
|
1130
|
+
v(G, {
|
|
1080
1131
|
icon: "calendar-circle-exclamation",
|
|
1081
1132
|
type: "fal",
|
|
1082
1133
|
color: "header"
|
|
1083
1134
|
}),
|
|
1084
1135
|
r("span", null, y(l(e)("booking.availability.nextAvailableDates")), 1)
|
|
1085
1136
|
]),
|
|
1086
|
-
r("ul",
|
|
1087
|
-
(
|
|
1137
|
+
r("ul", Vl, [
|
|
1138
|
+
(m(!0), f(I, null, M(l(S).nextAvailableDates, (P, g) => (m(), f("li", { key: g }, [
|
|
1088
1139
|
r("h3", {
|
|
1089
|
-
title: `${l(
|
|
1140
|
+
title: `${l(ae)(P.fromDate)} - ${l(ae)(P.toDate)}`
|
|
1090
1141
|
}, [
|
|
1091
|
-
r("span", null, y(`${l(
|
|
1092
|
-
], 8,
|
|
1142
|
+
r("span", null, y(`${l(ae)(P.fromDate)} - ${l(ae)(P.toDate)}`), 1)
|
|
1143
|
+
], 8, $l),
|
|
1093
1144
|
r("ul", null, [
|
|
1094
|
-
|
|
1145
|
+
V("", !0),
|
|
1095
1146
|
r("li", null, [
|
|
1096
|
-
|
|
1147
|
+
v(G, {
|
|
1097
1148
|
icon: "money-bill",
|
|
1098
1149
|
type: "fal",
|
|
1099
1150
|
color: "header"
|
|
1100
1151
|
}),
|
|
1101
|
-
r("span", null, y(l(e)("booking.availability.pricesFrom")) + ": " + y(l(
|
|
1152
|
+
r("span", null, y(l(e)("booking.availability.pricesFrom")) + ": " + y(l(ie)(P.priceStartFrom, l(K))), 1)
|
|
1102
1153
|
])
|
|
1103
1154
|
]),
|
|
1104
|
-
|
|
1155
|
+
v(se, {
|
|
1105
1156
|
label: l(e)("booking.availability.selectDates"),
|
|
1106
1157
|
"full-width": "",
|
|
1107
|
-
onClickEvent: (
|
|
1158
|
+
onClickEvent: (oe) => At(P.fromDate, P.toDate)
|
|
1108
1159
|
}, null, 8, ["label", "onClickEvent"])
|
|
1109
1160
|
]))), 128))
|
|
1110
1161
|
])
|
|
@@ -1112,113 +1163,113 @@ const Cl = { class: "fresh-booking-event-addons-price" }, Hl = { key: 1 }, Pl =
|
|
|
1112
1163
|
]))
|
|
1113
1164
|
])
|
|
1114
1165
|
]),
|
|
1115
|
-
navigation:
|
|
1116
|
-
|
|
1117
|
-
label: l(
|
|
1118
|
-
disabled: !l(
|
|
1166
|
+
navigation: _(() => [
|
|
1167
|
+
v(se, {
|
|
1168
|
+
label: l(Q) ? l(e)("booking.availability.nextButton") : l(e)("general.chooseAddons"),
|
|
1169
|
+
disabled: !l(j),
|
|
1119
1170
|
"is-loading": !1,
|
|
1120
1171
|
"full-width": "",
|
|
1121
|
-
onClickEvent: (P) =>
|
|
1172
|
+
onClickEvent: (P) => Et(J)
|
|
1122
1173
|
}, null, 8, ["label", "disabled", "onClickEvent"])
|
|
1123
1174
|
]),
|
|
1124
1175
|
_: 2
|
|
1125
1176
|
}, 1024)
|
|
1126
1177
|
]),
|
|
1127
|
-
addons:
|
|
1128
|
-
|
|
1129
|
-
form:
|
|
1130
|
-
r("form",
|
|
1178
|
+
addons: _(({ next: J, prev: P }) => [
|
|
1179
|
+
v(Ue, null, {
|
|
1180
|
+
form: _(() => [
|
|
1181
|
+
r("form", Cl, [
|
|
1131
1182
|
r("h2", null, [
|
|
1132
1183
|
r("span", null, y(l(e)("booking.reservation.addons")), 1)
|
|
1133
1184
|
]),
|
|
1134
1185
|
r("div", null, [
|
|
1135
|
-
isNaN(l(t)) ? (
|
|
1136
|
-
(
|
|
1137
|
-
key:
|
|
1186
|
+
isNaN(l(t)) ? (m(), f("div", wl, [
|
|
1187
|
+
(m(!0), f(I, null, M(l(W), (g) => (m(), f("ul", {
|
|
1188
|
+
key: g.roomGroupID
|
|
1138
1189
|
}, [
|
|
1139
|
-
(
|
|
1140
|
-
key:
|
|
1190
|
+
(m(!0), f(I, null, M(g.variants, (oe, X) => (m(), f("li", {
|
|
1191
|
+
key: oe.ratePlanID
|
|
1141
1192
|
}, [
|
|
1142
1193
|
r("h4", null, [
|
|
1143
|
-
r("span", null, y(l(
|
|
1194
|
+
r("span", null, y(l(ue)(g.title)), 1)
|
|
1144
1195
|
]),
|
|
1145
|
-
(
|
|
1146
|
-
key:
|
|
1196
|
+
(m(!0), f(I, null, M(oe.rooms, (B, pe) => (m(), f("table", {
|
|
1197
|
+
key: pe,
|
|
1147
1198
|
class: "fresh-booking-table"
|
|
1148
1199
|
}, [
|
|
1149
1200
|
r("thead", null, [
|
|
1150
1201
|
r("tr", null, [
|
|
1151
1202
|
r("th", null, [
|
|
1152
|
-
r("span", null, y(l(
|
|
1203
|
+
r("span", null, y(l(ue)(oe.name)), 1)
|
|
1153
1204
|
]),
|
|
1154
|
-
|
|
1155
|
-
r("th",
|
|
1205
|
+
V("", !0),
|
|
1206
|
+
r("th", Pl, [
|
|
1156
1207
|
r("b", null, [
|
|
1157
|
-
|
|
1208
|
+
v(G, {
|
|
1158
1209
|
icon: "male",
|
|
1159
1210
|
type: "fas",
|
|
1160
1211
|
color: "font"
|
|
1161
1212
|
}),
|
|
1162
|
-
r("span", null, y(
|
|
1163
|
-
|
|
1213
|
+
r("span", null, y(B.adultsCount), 1),
|
|
1214
|
+
B.childrenCount > 0 ? (m(), H(G, {
|
|
1164
1215
|
key: 0,
|
|
1165
1216
|
icon: "child",
|
|
1166
1217
|
type: "fas",
|
|
1167
1218
|
color: "font"
|
|
1168
|
-
})) :
|
|
1169
|
-
|
|
1219
|
+
})) : V("", !0),
|
|
1220
|
+
B.childrenCount > 0 ? (m(), f("span", Hl, y(B.childrenCount), 1)) : V("", !0)
|
|
1170
1221
|
])
|
|
1171
1222
|
])
|
|
1172
1223
|
])
|
|
1173
1224
|
]),
|
|
1174
1225
|
r("tbody", null, [
|
|
1175
|
-
(
|
|
1176
|
-
quantityStrategy:
|
|
1177
|
-
maximumNumber:
|
|
1178
|
-
id:
|
|
1179
|
-
name:
|
|
1180
|
-
price:
|
|
1181
|
-
}) => (
|
|
1226
|
+
(m(!0), f(I, null, M(g.addons, ({
|
|
1227
|
+
quantityStrategy: me,
|
|
1228
|
+
maximumNumber: Me,
|
|
1229
|
+
id: fe,
|
|
1230
|
+
name: Mt,
|
|
1231
|
+
price: Lt
|
|
1232
|
+
}) => (m(), f("tr", { key: fe }, [
|
|
1182
1233
|
r("td", null, [
|
|
1183
|
-
r("b", null, y(l(
|
|
1184
|
-
|
|
1185
|
-
r("span", null, y(l(
|
|
1234
|
+
r("b", null, y(l(ue)(Mt)), 1),
|
|
1235
|
+
Sl,
|
|
1236
|
+
r("span", null, y(l(ie)(Lt, l(K))) + " " + y(l(qt)(me)), 1)
|
|
1186
1237
|
]),
|
|
1187
1238
|
r("td", null, [
|
|
1188
|
-
l(
|
|
1189
|
-
|
|
1239
|
+
l(E)[g.roomGroupID][X].config[B.configIdx].addons[B.roomIdx] ? (m(), f(I, { key: 0 }, [
|
|
1240
|
+
me === 1 || me === 12 ? (m(), H(nt, {
|
|
1190
1241
|
key: 0,
|
|
1191
|
-
modelValue: l(
|
|
1192
|
-
"onUpdate:modelValue": (
|
|
1242
|
+
modelValue: l(E)[g.roomGroupID][X].config[B.configIdx].addons[B.roomIdx][fe],
|
|
1243
|
+
"onUpdate:modelValue": (Le) => l(E)[g.roomGroupID][X].config[B.configIdx].addons[B.roomIdx][fe] = Le,
|
|
1193
1244
|
small: !0,
|
|
1194
1245
|
"min-value": 0,
|
|
1195
|
-
"max-value":
|
|
1196
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (
|
|
1246
|
+
"max-value": Me || 1 / 0
|
|
1247
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (m(), H(we, {
|
|
1197
1248
|
key: 1,
|
|
1198
|
-
modelValue: l(
|
|
1199
|
-
"onUpdate:modelValue": (
|
|
1249
|
+
modelValue: l(E)[g.roomGroupID][X].config[B.configIdx].addons[B.roomIdx][fe],
|
|
1250
|
+
"onUpdate:modelValue": (Le) => l(E)[g.roomGroupID][X].config[B.configIdx].addons[B.roomIdx][fe] = Le,
|
|
1200
1251
|
numeric: !0
|
|
1201
1252
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
1202
|
-
], 64)) :
|
|
1253
|
+
], 64)) : V("", !0)
|
|
1203
1254
|
])
|
|
1204
1255
|
]))), 128))
|
|
1205
1256
|
])
|
|
1206
1257
|
]))), 128))
|
|
1207
1258
|
]))), 128))
|
|
1208
1259
|
]))), 128))
|
|
1209
|
-
])) :
|
|
1260
|
+
])) : V("", !0)
|
|
1210
1261
|
])
|
|
1211
1262
|
])
|
|
1212
1263
|
]),
|
|
1213
|
-
navigation:
|
|
1214
|
-
|
|
1264
|
+
navigation: _(() => [
|
|
1265
|
+
v(se, {
|
|
1215
1266
|
label: l(e)("general.startReservation"),
|
|
1216
1267
|
"full-width": "",
|
|
1217
|
-
onClickEvent:
|
|
1268
|
+
onClickEvent: J
|
|
1218
1269
|
}, null, 8, ["label", "onClickEvent"]),
|
|
1219
1270
|
r("button", {
|
|
1220
1271
|
class: "konnectio-abort-reservation link",
|
|
1221
|
-
onClick:
|
|
1272
|
+
onClick: $e((g) => We(P), ["prevent"])
|
|
1222
1273
|
}, [
|
|
1223
1274
|
r("span", null, y(l(e)("general.goAStepBack")), 1)
|
|
1224
1275
|
], 8, Dl)
|
|
@@ -1226,55 +1277,55 @@ const Cl = { class: "fresh-booking-event-addons-price" }, Hl = { key: 1 }, Pl =
|
|
|
1226
1277
|
_: 2
|
|
1227
1278
|
}, 1024)
|
|
1228
1279
|
]),
|
|
1229
|
-
reservation:
|
|
1230
|
-
|
|
1280
|
+
reservation: _(({ next: J, prev: P }) => [
|
|
1281
|
+
v(Ue, {
|
|
1231
1282
|
"show-terms-notice": !0,
|
|
1232
1283
|
"show-gift-card": !0
|
|
1233
1284
|
}, {
|
|
1234
|
-
form:
|
|
1235
|
-
r("form",
|
|
1285
|
+
form: _(() => [
|
|
1286
|
+
r("form", Al, [
|
|
1236
1287
|
r("h2", null, [
|
|
1237
1288
|
r("span", null, y(l(e)("booking.reservation.detailsTitle")), 1)
|
|
1238
1289
|
]),
|
|
1239
|
-
!l(
|
|
1290
|
+
!l(Ee) && !(l(ye) && l(Be)) ? (m(), f("ul", {
|
|
1240
1291
|
key: 0,
|
|
1241
|
-
class:
|
|
1292
|
+
class: Ce({ "fresh-booking-split-inputs": !l(ye) && !l(Be) })
|
|
1242
1293
|
}, [
|
|
1243
|
-
l(
|
|
1244
|
-
|
|
1294
|
+
l(ye) ? V("", !0) : (m(), f("li", Il, [
|
|
1295
|
+
v(Ye, {
|
|
1245
1296
|
modelValue: l(d),
|
|
1246
|
-
"onUpdate:modelValue":
|
|
1297
|
+
"onUpdate:modelValue": $[1] || ($[1] = (g) => R(d) ? d.value = g : null),
|
|
1247
1298
|
label: l(e)("booking.reservation.arrivalTime"),
|
|
1248
1299
|
icon: "hourglass-start",
|
|
1249
|
-
"hour-range":
|
|
1300
|
+
"hour-range": St.value,
|
|
1250
1301
|
required: ""
|
|
1251
1302
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1252
1303
|
])),
|
|
1253
|
-
l(
|
|
1254
|
-
|
|
1304
|
+
l(Be) ? V("", !0) : (m(), f("li", El, [
|
|
1305
|
+
v(Ye, {
|
|
1255
1306
|
modelValue: l(s),
|
|
1256
|
-
"onUpdate:modelValue":
|
|
1307
|
+
"onUpdate:modelValue": $[2] || ($[2] = (g) => R(s) ? s.value = g : null),
|
|
1257
1308
|
label: l(e)("booking.reservation.departureTime"),
|
|
1258
1309
|
icon: "hourglass-end",
|
|
1259
|
-
"hour-range":
|
|
1310
|
+
"hour-range": Dt.value,
|
|
1260
1311
|
required: ""
|
|
1261
1312
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1262
1313
|
]))
|
|
1263
|
-
], 2)) :
|
|
1264
|
-
|
|
1314
|
+
], 2)) : V("", !0),
|
|
1315
|
+
v(Xo, {
|
|
1265
1316
|
modelValue: l(u),
|
|
1266
|
-
"onUpdate:modelValue":
|
|
1317
|
+
"onUpdate:modelValue": $[3] || ($[3] = (g) => R(u) ? u.value = g : null),
|
|
1267
1318
|
title: l(h),
|
|
1268
|
-
"onUpdate:title":
|
|
1269
|
-
"exclude-title": l(
|
|
1319
|
+
"onUpdate:title": $[4] || ($[4] = (g) => R(h) ? h.value = g : null),
|
|
1320
|
+
"exclude-title": l(vt),
|
|
1270
1321
|
label: l(e)("booking.reservation.name"),
|
|
1271
1322
|
icon: "user-alt",
|
|
1272
1323
|
placeholder: l(e)("booking.reservation.namePlaceholder"),
|
|
1273
1324
|
required: ""
|
|
1274
1325
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
1275
|
-
|
|
1326
|
+
v(ne, {
|
|
1276
1327
|
modelValue: l(b),
|
|
1277
|
-
"onUpdate:modelValue":
|
|
1328
|
+
"onUpdate:modelValue": $[5] || ($[5] = (g) => R(b) ? b.value = g : null),
|
|
1278
1329
|
type: "email",
|
|
1279
1330
|
name: "email",
|
|
1280
1331
|
autocomplete: "email",
|
|
@@ -1283,18 +1334,10 @@ const Cl = { class: "fresh-booking-event-addons-price" }, Hl = { key: 1 }, Pl =
|
|
|
1283
1334
|
placeholder: l(e)("booking.reservation.emailPlaceholder"),
|
|
1284
1335
|
required: ""
|
|
1285
1336
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1286
|
-
l(
|
|
1337
|
+
l(bt) ? V("", !0) : (m(), H(ne, {
|
|
1287
1338
|
key: 1,
|
|
1288
|
-
modelValue: l(
|
|
1289
|
-
"onUpdate:modelValue":
|
|
1290
|
-
type: "checkbox",
|
|
1291
|
-
name: "newsletter",
|
|
1292
|
-
label: l(e)("booking.reservation.newsletterSignUp")
|
|
1293
|
-
}, null, 8, ["modelValue", "label"])),
|
|
1294
|
-
l(_t) ? k("", !0) : (f(), D(ee, {
|
|
1295
|
-
key: 2,
|
|
1296
|
-
modelValue: l(H),
|
|
1297
|
-
"onUpdate:modelValue": T[7] || (T[7] = (v) => R(H) ? H.value = v : null),
|
|
1339
|
+
modelValue: l(C),
|
|
1340
|
+
"onUpdate:modelValue": $[6] || ($[6] = (g) => R(C) ? C.value = g : null),
|
|
1298
1341
|
type: "text",
|
|
1299
1342
|
name: "firm",
|
|
1300
1343
|
autocomplete: "firm",
|
|
@@ -1302,25 +1345,25 @@ const Cl = { class: "fresh-booking-event-addons-price" }, Hl = { key: 1 }, Pl =
|
|
|
1302
1345
|
icon: "id-card",
|
|
1303
1346
|
placeholder: l(e)("booking.reservation.companyNamePlaceholder")
|
|
1304
1347
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
1305
|
-
|
|
1306
|
-
modelValue: l(
|
|
1307
|
-
"onUpdate:modelValue":
|
|
1348
|
+
v(uo, {
|
|
1349
|
+
modelValue: l(D),
|
|
1350
|
+
"onUpdate:modelValue": $[7] || ($[7] = (g) => R(D) ? D.value = g : null),
|
|
1308
1351
|
icon: "phone-office",
|
|
1309
1352
|
label: l(e)("booking.reservation.phone"),
|
|
1310
1353
|
placeholder: l(e)("booking.reservation.phonePlaceholder"),
|
|
1311
1354
|
required: ""
|
|
1312
1355
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1313
|
-
|
|
1314
|
-
modelValue: l(
|
|
1315
|
-
"onUpdate:modelValue":
|
|
1356
|
+
v(zo, {
|
|
1357
|
+
modelValue: l(w),
|
|
1358
|
+
"onUpdate:modelValue": $[8] || ($[8] = (g) => R(w) ? w.value = g : null),
|
|
1316
1359
|
label: l(e)("booking.reservation.country"),
|
|
1317
1360
|
placeholder: l(e)("booking.reservation.countryPlaceholder"),
|
|
1318
1361
|
options: l(n),
|
|
1319
1362
|
required: ""
|
|
1320
1363
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
1321
|
-
|
|
1322
|
-
modelValue: l(
|
|
1323
|
-
"onUpdate:modelValue":
|
|
1364
|
+
v(ne, {
|
|
1365
|
+
modelValue: l(k),
|
|
1366
|
+
"onUpdate:modelValue": $[9] || ($[9] = (g) => R(k) ? k.value = g : null),
|
|
1324
1367
|
type: "textarea",
|
|
1325
1368
|
name: "address",
|
|
1326
1369
|
autocomplete: "street-address",
|
|
@@ -1329,11 +1372,11 @@ const Cl = { class: "fresh-booking-event-addons-price" }, Hl = { key: 1 }, Pl =
|
|
|
1329
1372
|
placeholder: l(e)("booking.reservation.streetAddressPlaceholder"),
|
|
1330
1373
|
required: ""
|
|
1331
1374
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1332
|
-
r("ul",
|
|
1375
|
+
r("ul", Bl, [
|
|
1333
1376
|
r("li", null, [
|
|
1334
|
-
|
|
1335
|
-
modelValue: l(
|
|
1336
|
-
"onUpdate:modelValue":
|
|
1377
|
+
v(ne, {
|
|
1378
|
+
modelValue: l(O),
|
|
1379
|
+
"onUpdate:modelValue": $[10] || ($[10] = (g) => R(O) ? O.value = g : null),
|
|
1337
1380
|
type: "text",
|
|
1338
1381
|
name: "postal",
|
|
1339
1382
|
autocomplete: "postal-code",
|
|
@@ -1344,9 +1387,9 @@ const Cl = { class: "fresh-booking-event-addons-price" }, Hl = { key: 1 }, Pl =
|
|
|
1344
1387
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1345
1388
|
]),
|
|
1346
1389
|
r("li", null, [
|
|
1347
|
-
|
|
1348
|
-
modelValue: l(
|
|
1349
|
-
"onUpdate:modelValue":
|
|
1390
|
+
v(ne, {
|
|
1391
|
+
modelValue: l(N),
|
|
1392
|
+
"onUpdate:modelValue": $[11] || ($[11] = (g) => R(N) ? N.value = g : null),
|
|
1350
1393
|
type: "text",
|
|
1351
1394
|
name: "city",
|
|
1352
1395
|
autocomplete: "address-level2",
|
|
@@ -1357,44 +1400,44 @@ const Cl = { class: "fresh-booking-event-addons-price" }, Hl = { key: 1 }, Pl =
|
|
|
1357
1400
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1358
1401
|
])
|
|
1359
1402
|
]),
|
|
1360
|
-
|
|
1403
|
+
v(ne, {
|
|
1361
1404
|
modelValue: l(A),
|
|
1362
|
-
"onUpdate:modelValue":
|
|
1405
|
+
"onUpdate:modelValue": $[12] || ($[12] = (g) => R(A) ? A.value = g : null),
|
|
1363
1406
|
type: "textarea",
|
|
1364
1407
|
label: `${l(e)("booking.reservation.remark")} (${l(e)("booking.reservation.optional")})`,
|
|
1365
1408
|
icon: "info-circle",
|
|
1366
1409
|
placeholder: l(e)("booking.reservation.remarkPlaceholder")
|
|
1367
1410
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1368
|
-
|
|
1369
|
-
modelValue: l(
|
|
1370
|
-
"onUpdate:modelValue":
|
|
1411
|
+
v(ne, {
|
|
1412
|
+
modelValue: l(F),
|
|
1413
|
+
"onUpdate:modelValue": $[13] || ($[13] = (g) => R(F) ? F.value = g : null),
|
|
1371
1414
|
type: "textarea",
|
|
1372
1415
|
label: `${l(e)("booking.reservation.allergies")} (${l(e)("booking.reservation.optional")})`,
|
|
1373
1416
|
icon: "allergies",
|
|
1374
1417
|
placeholder: l(e)("booking.reservation.allergiesPlaceholder")
|
|
1375
1418
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1376
|
-
l(
|
|
1377
|
-
key:
|
|
1419
|
+
l(gt) ? V("", !0) : (m(), H(Zo, {
|
|
1420
|
+
key: 2,
|
|
1378
1421
|
modelValue: l(p),
|
|
1379
|
-
"onUpdate:modelValue":
|
|
1422
|
+
"onUpdate:modelValue": $[14] || ($[14] = (g) => R(p) ? p.value = g : null),
|
|
1380
1423
|
label: `${l(e)("booking.reservation.purposeOfStay")} (${l(e)("booking.reservation.optional")})`,
|
|
1381
1424
|
name: "travelingFor",
|
|
1382
|
-
checkboxes:
|
|
1425
|
+
checkboxes: Pt.value
|
|
1383
1426
|
}, null, 8, ["modelValue", "label", "checkboxes"]))
|
|
1384
1427
|
])
|
|
1385
1428
|
]),
|
|
1386
|
-
navigation:
|
|
1429
|
+
navigation: _(() => [
|
|
1387
1430
|
r("div", null, [
|
|
1388
|
-
|
|
1389
|
-
label: l(
|
|
1431
|
+
v(se, {
|
|
1432
|
+
label: l(kt) ? l(e)("booking.reservation.nextButton") : l(e)("general.confirmReservation"),
|
|
1390
1433
|
disabled: !l(c),
|
|
1391
1434
|
"is-loading": l(i),
|
|
1392
1435
|
"full-width": "",
|
|
1393
|
-
onClickEvent: (
|
|
1436
|
+
onClickEvent: (g) => It(J)
|
|
1394
1437
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
|
|
1395
1438
|
r("button", {
|
|
1396
1439
|
class: "konnectio-abort-reservation link",
|
|
1397
|
-
onClick:
|
|
1440
|
+
onClick: $e((g) => We(P), ["prevent"])
|
|
1398
1441
|
}, [
|
|
1399
1442
|
r("span", null, y(l(e)("general.goAStepBack")), 1)
|
|
1400
1443
|
], 8, Ml)
|
|
@@ -1403,11 +1446,11 @@ const Cl = { class: "fresh-booking-event-addons-price" }, Hl = { key: 1 }, Pl =
|
|
|
1403
1446
|
_: 2
|
|
1404
1447
|
}, 1024)
|
|
1405
1448
|
]),
|
|
1406
|
-
payment:
|
|
1407
|
-
|
|
1449
|
+
payment: _(() => [
|
|
1450
|
+
v(co)
|
|
1408
1451
|
]),
|
|
1409
|
-
confirmation:
|
|
1410
|
-
|
|
1452
|
+
confirmation: _(() => [
|
|
1453
|
+
v(lo, {
|
|
1411
1454
|
message: l(e)("booking.confirmation.thankYou")
|
|
1412
1455
|
}, null, 8, ["message"])
|
|
1413
1456
|
]),
|
|
@@ -1417,8 +1460,8 @@ const Cl = { class: "fresh-booking-event-addons-price" }, Hl = { key: 1 }, Pl =
|
|
|
1417
1460
|
_: 1
|
|
1418
1461
|
}, 8, ["access-token"])
|
|
1419
1462
|
]),
|
|
1420
|
-
fallback:
|
|
1421
|
-
|
|
1463
|
+
fallback: _(() => [
|
|
1464
|
+
v(ll)
|
|
1422
1465
|
]),
|
|
1423
1466
|
_: 1
|
|
1424
1467
|
}))
|
|
@@ -1426,31 +1469,31 @@ const Cl = { class: "fresh-booking-event-addons-price" }, Hl = { key: 1 }, Pl =
|
|
|
1426
1469
|
_: 1
|
|
1427
1470
|
}, 8, ["styling"]));
|
|
1428
1471
|
}
|
|
1429
|
-
}),
|
|
1430
|
-
function
|
|
1472
|
+
}), ke = /* @__PURE__ */ ee(Ll, [["__scopeId", "data-v-9e8f1998"]]);
|
|
1473
|
+
function je(o, e = {}, t) {
|
|
1431
1474
|
for (const n in o) {
|
|
1432
1475
|
const a = o[n], i = t ? `${t}:${n}` : n;
|
|
1433
|
-
typeof a == "object" && a !== null ?
|
|
1476
|
+
typeof a == "object" && a !== null ? je(a, e, i) : typeof a == "function" && (e[i] = a);
|
|
1434
1477
|
}
|
|
1435
1478
|
return e;
|
|
1436
1479
|
}
|
|
1437
|
-
const
|
|
1438
|
-
function
|
|
1439
|
-
const t = e.shift(), n =
|
|
1480
|
+
const Rl = { run: (o) => o() }, Ul = () => Rl, ct = typeof console.createTask < "u" ? console.createTask : Ul;
|
|
1481
|
+
function Fl(o, e) {
|
|
1482
|
+
const t = e.shift(), n = ct(t);
|
|
1440
1483
|
return o.reduce(
|
|
1441
1484
|
(a, i) => a.then(() => n.run(() => i(...e))),
|
|
1442
1485
|
Promise.resolve()
|
|
1443
1486
|
);
|
|
1444
1487
|
}
|
|
1445
|
-
function
|
|
1446
|
-
const t = e.shift(), n =
|
|
1488
|
+
function Ol(o, e) {
|
|
1489
|
+
const t = e.shift(), n = ct(t);
|
|
1447
1490
|
return Promise.all(o.map((a) => n.run(() => a(...e))));
|
|
1448
1491
|
}
|
|
1449
|
-
function
|
|
1492
|
+
function Fe(o, e) {
|
|
1450
1493
|
for (const t of [...o])
|
|
1451
1494
|
t(e);
|
|
1452
1495
|
}
|
|
1453
|
-
class
|
|
1496
|
+
class Nl {
|
|
1454
1497
|
constructor() {
|
|
1455
1498
|
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);
|
|
1456
1499
|
}
|
|
@@ -1501,7 +1544,7 @@ class Ol {
|
|
|
1501
1544
|
this.deprecateHook(t, e[t]);
|
|
1502
1545
|
}
|
|
1503
1546
|
addHooks(e) {
|
|
1504
|
-
const t =
|
|
1547
|
+
const t = je(e), n = Object.keys(t).map(
|
|
1505
1548
|
(a) => this.hook(a, t[a])
|
|
1506
1549
|
);
|
|
1507
1550
|
return () => {
|
|
@@ -1510,7 +1553,7 @@ class Ol {
|
|
|
1510
1553
|
};
|
|
1511
1554
|
}
|
|
1512
1555
|
removeHooks(e) {
|
|
1513
|
-
const t =
|
|
1556
|
+
const t = je(e);
|
|
1514
1557
|
for (const n in t)
|
|
1515
1558
|
this.removeHook(n, t[n]);
|
|
1516
1559
|
}
|
|
@@ -1519,21 +1562,21 @@ class Ol {
|
|
|
1519
1562
|
delete this._hooks[e];
|
|
1520
1563
|
}
|
|
1521
1564
|
callHook(e, ...t) {
|
|
1522
|
-
return t.unshift(e), this.callHookWith(
|
|
1565
|
+
return t.unshift(e), this.callHookWith(Fl, e, ...t);
|
|
1523
1566
|
}
|
|
1524
1567
|
callHookParallel(e, ...t) {
|
|
1525
|
-
return t.unshift(e), this.callHookWith(
|
|
1568
|
+
return t.unshift(e), this.callHookWith(Ol, e, ...t);
|
|
1526
1569
|
}
|
|
1527
1570
|
callHookWith(e, t, ...n) {
|
|
1528
1571
|
const a = this._before || this._after ? { name: t, args: n, context: {} } : void 0;
|
|
1529
|
-
this._before &&
|
|
1572
|
+
this._before && Fe(this._before, a);
|
|
1530
1573
|
const i = e(
|
|
1531
1574
|
t in this._hooks ? [...this._hooks[t]] : [],
|
|
1532
1575
|
n
|
|
1533
1576
|
);
|
|
1534
1577
|
return i instanceof Promise ? i.finally(() => {
|
|
1535
|
-
this._after && a &&
|
|
1536
|
-
}) : (this._after && a &&
|
|
1578
|
+
this._after && a && Fe(this._after, a);
|
|
1579
|
+
}) : (this._after && a && Fe(this._after, a), i);
|
|
1537
1580
|
}
|
|
1538
1581
|
beforeEach(e) {
|
|
1539
1582
|
return this._before = this._before || [], this._before.push(e), () => {
|
|
@@ -1552,20 +1595,20 @@ class Ol {
|
|
|
1552
1595
|
};
|
|
1553
1596
|
}
|
|
1554
1597
|
}
|
|
1555
|
-
function
|
|
1556
|
-
return new
|
|
1598
|
+
function jl() {
|
|
1599
|
+
return new Nl();
|
|
1557
1600
|
}
|
|
1558
|
-
function
|
|
1601
|
+
function Gl(o) {
|
|
1559
1602
|
return Array.isArray(o) ? o : [o];
|
|
1560
1603
|
}
|
|
1561
|
-
const
|
|
1604
|
+
const ql = ["title", "titleTemplate", "script", "style", "noscript"], _e = [
|
|
1562
1605
|
"base",
|
|
1563
1606
|
"meta",
|
|
1564
1607
|
"link",
|
|
1565
1608
|
"style",
|
|
1566
1609
|
"script",
|
|
1567
1610
|
"noscript"
|
|
1568
|
-
],
|
|
1611
|
+
], Wl = [
|
|
1569
1612
|
"title",
|
|
1570
1613
|
"titleTemplate",
|
|
1571
1614
|
"templateParams",
|
|
@@ -1577,19 +1620,19 @@ const Gl = ["title", "titleTemplate", "script", "style", "noscript"], he = [
|
|
|
1577
1620
|
"style",
|
|
1578
1621
|
"script",
|
|
1579
1622
|
"noscript"
|
|
1580
|
-
],
|
|
1581
|
-
function
|
|
1623
|
+
], Kl = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], pt = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], zl = typeof window < "u";
|
|
1624
|
+
function qe(o) {
|
|
1582
1625
|
let e = 9;
|
|
1583
1626
|
for (let t = 0; t < o.length; )
|
|
1584
1627
|
e = Math.imul(e ^ o.charCodeAt(t++), 9 ** 9);
|
|
1585
1628
|
return ((e ^ e >>> 9) + 65536).toString(16).substring(1, 8).toLowerCase();
|
|
1586
1629
|
}
|
|
1587
|
-
function
|
|
1588
|
-
return o._h ||
|
|
1630
|
+
function Ze(o) {
|
|
1631
|
+
return o._h || qe(o._d ? o._d : `${o.tag}:${o.textContent || o.innerHTML || ""}:${Object.entries(o.props).map(([e, t]) => `${e}:${String(t)}`).join(",")}`);
|
|
1589
1632
|
}
|
|
1590
|
-
function
|
|
1633
|
+
function mt(o, e) {
|
|
1591
1634
|
const { props: t, tag: n } = o;
|
|
1592
|
-
if (
|
|
1635
|
+
if (Kl.includes(n))
|
|
1593
1636
|
return n;
|
|
1594
1637
|
if (n === "link" && t.rel === "canonical")
|
|
1595
1638
|
return "canonical";
|
|
@@ -1604,34 +1647,34 @@ function ut(o, e) {
|
|
|
1604
1647
|
}
|
|
1605
1648
|
return !1;
|
|
1606
1649
|
}
|
|
1607
|
-
function
|
|
1650
|
+
function Qe(o, e) {
|
|
1608
1651
|
return o == null ? e || null : typeof o == "function" ? o(e) : o;
|
|
1609
1652
|
}
|
|
1610
|
-
async function
|
|
1653
|
+
async function Jl(o, e, t) {
|
|
1611
1654
|
const n = {
|
|
1612
1655
|
tag: o,
|
|
1613
|
-
props: await
|
|
1656
|
+
props: await ft(
|
|
1614
1657
|
// explicitly check for an object
|
|
1615
1658
|
// @ts-expect-error untyped
|
|
1616
1659
|
typeof e == "object" && typeof e != "function" && !(e instanceof Promise) ? { ...e } : { [["script", "noscript", "style"].includes(o) ? "innerHTML" : "textContent"]: e },
|
|
1617
1660
|
["templateParams", "titleTemplate"].includes(o)
|
|
1618
1661
|
)
|
|
1619
1662
|
};
|
|
1620
|
-
return
|
|
1663
|
+
return pt.forEach((a) => {
|
|
1621
1664
|
const i = typeof n.props[a] < "u" ? n.props[a] : t[a];
|
|
1622
|
-
typeof i < "u" && ((!["innerHTML", "textContent", "children"].includes(a) ||
|
|
1665
|
+
typeof i < "u" && ((!["innerHTML", "textContent", "children"].includes(a) || ql.includes(n.tag)) && (n[a === "children" ? "innerHTML" : a] = i), delete n.props[a]);
|
|
1623
1666
|
}), 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;
|
|
1624
1667
|
}
|
|
1625
|
-
function
|
|
1668
|
+
function Yl(o) {
|
|
1626
1669
|
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(" ");
|
|
1627
1670
|
}
|
|
1628
|
-
async function
|
|
1671
|
+
async function ft(o, e) {
|
|
1629
1672
|
for (const t of Object.keys(o)) {
|
|
1630
1673
|
if (t === "class") {
|
|
1631
|
-
o[t] =
|
|
1674
|
+
o[t] = Yl(o[t]);
|
|
1632
1675
|
continue;
|
|
1633
1676
|
}
|
|
1634
|
-
if (o[t] instanceof Promise && (o[t] = await o[t]), !e && !
|
|
1677
|
+
if (o[t] instanceof Promise && (o[t] = await o[t]), !e && !pt.includes(t)) {
|
|
1635
1678
|
const n = String(o[t]), a = t.startsWith("data-");
|
|
1636
1679
|
n === "true" || n === "" ? o[t] = a ? "true" : !0 : o[t] || (a && n === "false" ? o[t] = "false" : delete o[t]);
|
|
1637
1680
|
}
|
|
@@ -1639,30 +1682,30 @@ async function dt(o, e) {
|
|
|
1639
1682
|
return o;
|
|
1640
1683
|
}
|
|
1641
1684
|
const Zl = 10;
|
|
1642
|
-
async function
|
|
1685
|
+
async function Ql(o) {
|
|
1643
1686
|
const e = [];
|
|
1644
|
-
return Object.entries(o.resolvedInput).filter(([t, n]) => typeof n < "u" &&
|
|
1645
|
-
const a =
|
|
1646
|
-
e.push(...a.map((i) =>
|
|
1687
|
+
return Object.entries(o.resolvedInput).filter(([t, n]) => typeof n < "u" && Wl.includes(t)).forEach(([t, n]) => {
|
|
1688
|
+
const a = Gl(n);
|
|
1689
|
+
e.push(...a.map((i) => Jl(t, i, o)).flat());
|
|
1647
1690
|
}), (await Promise.all(e)).flat().filter(Boolean).map((t, n) => (t._e = o._i, o.mode && (t._m = o.mode), t._p = (o._i << Zl) + n, t));
|
|
1648
1691
|
}
|
|
1649
|
-
const
|
|
1692
|
+
const Xe = {
|
|
1650
1693
|
// tags
|
|
1651
1694
|
base: -10,
|
|
1652
1695
|
title: 10
|
|
1653
|
-
},
|
|
1696
|
+
}, xe = {
|
|
1654
1697
|
// relative scores to their default values
|
|
1655
1698
|
critical: -80,
|
|
1656
1699
|
high: -10,
|
|
1657
1700
|
low: 20
|
|
1658
1701
|
};
|
|
1659
|
-
function
|
|
1702
|
+
function Pe(o) {
|
|
1660
1703
|
let e = 100;
|
|
1661
1704
|
const t = o.tagPriority;
|
|
1662
|
-
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
|
|
1705
|
+
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 Xe && (e = Xe[o.tag]), typeof t == "string" && t in xe ? e + xe[t] : e);
|
|
1663
1706
|
}
|
|
1664
|
-
const
|
|
1665
|
-
function
|
|
1707
|
+
const Xl = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], ht = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], le = "%separator";
|
|
1708
|
+
function Ve(o, e, t) {
|
|
1666
1709
|
if (typeof o != "string" || !o.includes("%"))
|
|
1667
1710
|
return o;
|
|
1668
1711
|
function n(c) {
|
|
@@ -1677,19 +1720,19 @@ function ge(o, e, t) {
|
|
|
1677
1720
|
return (a.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((c) => {
|
|
1678
1721
|
const p = n(c.slice(1));
|
|
1679
1722
|
typeof p == "string" && (o = o.replace(new RegExp(`\\${c}(\\W|$)`, "g"), (d, s) => `${p}${s}`).trim());
|
|
1680
|
-
}), o.includes(
|
|
1723
|
+
}), o.includes(le) && (o.endsWith(le) && (o = o.slice(0, -le.length).trim()), o.startsWith(le) && (o = o.slice(le.length).trim()), o = o.replace(new RegExp(`\\${le}\\s*\\${le}`, "g"), le), o = Ve(o, { separator: t }, t)), o;
|
|
1681
1724
|
}
|
|
1682
|
-
async function
|
|
1725
|
+
async function xl(o) {
|
|
1683
1726
|
const e = {
|
|
1684
1727
|
tag: o.tagName.toLowerCase(),
|
|
1685
|
-
props: await
|
|
1728
|
+
props: await ft(
|
|
1686
1729
|
o.getAttributeNames().reduce((t, n) => ({ ...t, [n]: o.getAttribute(n) }), {})
|
|
1687
1730
|
),
|
|
1688
1731
|
innerHTML: o.innerHTML
|
|
1689
1732
|
};
|
|
1690
|
-
return e._d =
|
|
1733
|
+
return e._d = mt(e), e;
|
|
1691
1734
|
}
|
|
1692
|
-
async function
|
|
1735
|
+
async function en(o, e = {}) {
|
|
1693
1736
|
const t = e.document || o.resolvedOptions.document;
|
|
1694
1737
|
if (!t)
|
|
1695
1738
|
return;
|
|
@@ -1698,7 +1741,7 @@ async function xl(o, e = {}) {
|
|
|
1698
1741
|
return;
|
|
1699
1742
|
const a = (await o.resolveTags()).map((u) => ({
|
|
1700
1743
|
tag: u,
|
|
1701
|
-
id:
|
|
1744
|
+
id: _e.includes(u.tag) ? Ze(u) : u.tag,
|
|
1702
1745
|
shouldRender: !0
|
|
1703
1746
|
}));
|
|
1704
1747
|
let i = o._dom;
|
|
@@ -1708,28 +1751,28 @@ async function xl(o, e = {}) {
|
|
|
1708
1751
|
};
|
|
1709
1752
|
for (const u of ["body", "head"]) {
|
|
1710
1753
|
const h = t?.[u]?.children;
|
|
1711
|
-
for (const b of [...h].filter((
|
|
1712
|
-
i.elMap[b.getAttribute("data-hid") ||
|
|
1754
|
+
for (const b of [...h].filter((D) => _e.includes(D.tagName.toLowerCase())))
|
|
1755
|
+
i.elMap[b.getAttribute("data-hid") || Ze(await xl(b))] = b;
|
|
1713
1756
|
}
|
|
1714
1757
|
}
|
|
1715
1758
|
i.pendingSideEffects = { ...i.sideEffects || {} }, i.sideEffects = {};
|
|
1716
1759
|
function c(u, h, b) {
|
|
1717
|
-
const
|
|
1718
|
-
i.sideEffects[
|
|
1760
|
+
const D = `${u}:${h}`;
|
|
1761
|
+
i.sideEffects[D] = b, delete i.pendingSideEffects[D];
|
|
1719
1762
|
}
|
|
1720
1763
|
function p({ id: u, $el: h, tag: b }) {
|
|
1721
|
-
const
|
|
1722
|
-
i.elMap[u] = h,
|
|
1723
|
-
b[
|
|
1764
|
+
const D = b.tag.endsWith("Attrs");
|
|
1765
|
+
i.elMap[u] = h, D || (["textContent", "innerHTML"].forEach((C) => {
|
|
1766
|
+
b[C] && b[C] !== h[C] && (h[C] = b[C]);
|
|
1724
1767
|
}), c(u, "el", () => {
|
|
1725
1768
|
i.elMap[u].remove(), delete i.elMap[u];
|
|
1726
|
-
})), Object.entries(b.props).forEach(([
|
|
1727
|
-
const
|
|
1728
|
-
if (
|
|
1729
|
-
for (const
|
|
1730
|
-
|
|
1769
|
+
})), Object.entries(b.props).forEach(([C, O]) => {
|
|
1770
|
+
const N = `attr:${C}`;
|
|
1771
|
+
if (C === "class")
|
|
1772
|
+
for (const k of (O || "").split(" ").filter(Boolean))
|
|
1773
|
+
D && c(u, `${N}:${k}`, () => h.classList.remove(k)), !h.classList.contains(k) && h.classList.add(k);
|
|
1731
1774
|
else
|
|
1732
|
-
h.getAttribute(
|
|
1775
|
+
h.getAttribute(C) !== O && h.setAttribute(C, O === !0 ? "" : String(O)), D && c(u, N, () => h.removeAttribute(C));
|
|
1733
1776
|
});
|
|
1734
1777
|
}
|
|
1735
1778
|
const d = [], s = {
|
|
@@ -1738,13 +1781,13 @@ async function xl(o, e = {}) {
|
|
|
1738
1781
|
head: void 0
|
|
1739
1782
|
};
|
|
1740
1783
|
for (const u of a) {
|
|
1741
|
-
const { tag: h, shouldRender: b, id:
|
|
1784
|
+
const { tag: h, shouldRender: b, id: D } = u;
|
|
1742
1785
|
if (b) {
|
|
1743
1786
|
if (h.tag === "title") {
|
|
1744
1787
|
t.title = h.textContent;
|
|
1745
1788
|
continue;
|
|
1746
1789
|
}
|
|
1747
|
-
u.$el = u.$el || i.elMap[
|
|
1790
|
+
u.$el = u.$el || i.elMap[D], u.$el ? p(u) : _e.includes(h.tag) && d.push(u);
|
|
1748
1791
|
}
|
|
1749
1792
|
}
|
|
1750
1793
|
for (const u of d) {
|
|
@@ -1755,33 +1798,33 @@ async function xl(o, e = {}) {
|
|
|
1755
1798
|
await o.hooks.callHook("dom:renderTag", u, t, c);
|
|
1756
1799
|
s.head && t.head.appendChild(s.head), s.bodyOpen && t.body.insertBefore(s.bodyOpen, t.body.firstChild), s.bodyClose && t.body.appendChild(s.bodyClose), Object.values(i.pendingSideEffects).forEach((u) => u()), o._dom = i, o.dirty = !1, await o.hooks.callHook("dom:rendered", { renders: a });
|
|
1757
1800
|
}
|
|
1758
|
-
async function
|
|
1801
|
+
async function tn(o, e = {}) {
|
|
1759
1802
|
const t = e.delayFn || ((n) => setTimeout(n, 10));
|
|
1760
1803
|
return o._domUpdatePromise = o._domUpdatePromise || new Promise((n) => t(async () => {
|
|
1761
|
-
await
|
|
1804
|
+
await en(o, e), delete o._domUpdatePromise, n();
|
|
1762
1805
|
}));
|
|
1763
1806
|
}
|
|
1764
1807
|
// @__NO_SIDE_EFFECTS__
|
|
1765
|
-
function
|
|
1808
|
+
function on(o) {
|
|
1766
1809
|
return (e) => {
|
|
1767
1810
|
const t = e.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
|
|
1768
1811
|
return t && e.push(JSON.parse(t)), {
|
|
1769
1812
|
mode: "client",
|
|
1770
1813
|
hooks: {
|
|
1771
1814
|
"entries:updated": function(n) {
|
|
1772
|
-
|
|
1815
|
+
tn(n, o);
|
|
1773
1816
|
}
|
|
1774
1817
|
}
|
|
1775
1818
|
};
|
|
1776
1819
|
};
|
|
1777
1820
|
}
|
|
1778
|
-
const
|
|
1821
|
+
const ln = ["templateParams", "htmlAttrs", "bodyAttrs"], nn = {
|
|
1779
1822
|
hooks: {
|
|
1780
1823
|
"tag:normalise": function({ tag: o }) {
|
|
1781
1824
|
["hid", "vmid", "key"].forEach((n) => {
|
|
1782
1825
|
o.props[n] && (o.key = o.props[n], delete o.props[n]);
|
|
1783
1826
|
});
|
|
1784
|
-
const t =
|
|
1827
|
+
const t = mt(o) || (o.key ? `${o.tag}:${o.key}` : !1);
|
|
1785
1828
|
t && (o._d = t);
|
|
1786
1829
|
},
|
|
1787
1830
|
"tags:resolve": function(o) {
|
|
@@ -1790,7 +1833,7 @@ const on = ["templateParams", "htmlAttrs", "bodyAttrs"], ln = {
|
|
|
1790
1833
|
const a = (n.key ? `${n.tag}:${n.key}` : n._d) || n._p, i = e[a];
|
|
1791
1834
|
if (i) {
|
|
1792
1835
|
let p = n?.tagDuplicateStrategy;
|
|
1793
|
-
if (!p &&
|
|
1836
|
+
if (!p && ln.includes(n.tag) && (p = "merge"), p === "merge") {
|
|
1794
1837
|
const d = i.props;
|
|
1795
1838
|
["class", "style"].forEach((s) => {
|
|
1796
1839
|
d[s] && (n.props[s] ? (s === "style" && !d[s].endsWith(";") && (d[s] += ";"), n.props[s] = `${d[s]} ${n.props[s]}`) : n.props[s] = d[s]);
|
|
@@ -1802,11 +1845,11 @@ const on = ["templateParams", "htmlAttrs", "bodyAttrs"], ln = {
|
|
|
1802
1845
|
} else if (n._e === i._e) {
|
|
1803
1846
|
i._duped = i._duped || [], n._d = `${i._d}:${i._duped.length + 1}`, i._duped.push(n);
|
|
1804
1847
|
return;
|
|
1805
|
-
} else if (
|
|
1848
|
+
} else if (Pe(n) > Pe(i))
|
|
1806
1849
|
return;
|
|
1807
1850
|
}
|
|
1808
1851
|
const c = Object.keys(n.props).length + (n.innerHTML ? 1 : 0) + (n.textContent ? 1 : 0);
|
|
1809
|
-
if (
|
|
1852
|
+
if (_e.includes(n.tag) && c === 0) {
|
|
1810
1853
|
delete e[a];
|
|
1811
1854
|
return;
|
|
1812
1855
|
}
|
|
@@ -1819,7 +1862,7 @@ const on = ["templateParams", "htmlAttrs", "bodyAttrs"], ln = {
|
|
|
1819
1862
|
}), o.tags = t, o.tags = o.tags.filter((n) => !(n.tag === "meta" && (n.props.name || n.props.property) && !n.props.content));
|
|
1820
1863
|
}
|
|
1821
1864
|
}
|
|
1822
|
-
},
|
|
1865
|
+
}, an = {
|
|
1823
1866
|
mode: "server",
|
|
1824
1867
|
hooks: {
|
|
1825
1868
|
"tags:resolve": function(o) {
|
|
@@ -1833,20 +1876,20 @@ const on = ["templateParams", "htmlAttrs", "bodyAttrs"], ln = {
|
|
|
1833
1876
|
});
|
|
1834
1877
|
}
|
|
1835
1878
|
}
|
|
1836
|
-
},
|
|
1837
|
-
function
|
|
1879
|
+
}, sn = ["script", "link", "bodyAttrs"];
|
|
1880
|
+
function rn(o) {
|
|
1838
1881
|
const e = {}, t = {};
|
|
1839
1882
|
return Object.entries(o.props).forEach(([n, a]) => {
|
|
1840
|
-
n.startsWith("on") && typeof a == "function" ? (
|
|
1883
|
+
n.startsWith("on") && typeof a == "function" ? (ht.includes(n) && (e[n] = `this.dataset.${n} = true`), t[n] = a) : e[n] = a;
|
|
1841
1884
|
}), { props: e, eventHandlers: t };
|
|
1842
1885
|
}
|
|
1843
|
-
const
|
|
1886
|
+
const un = (o) => ({
|
|
1844
1887
|
hooks: {
|
|
1845
1888
|
"tags:resolve": function(e) {
|
|
1846
1889
|
for (const t of e.tags)
|
|
1847
|
-
if (
|
|
1848
|
-
const { props: n, eventHandlers: a } =
|
|
1849
|
-
t.props = n, Object.keys(a).length && ((t.props.src || t.props.href) && (t.key = t.key ||
|
|
1890
|
+
if (sn.includes(t.tag)) {
|
|
1891
|
+
const { props: n, eventHandlers: a } = rn(t);
|
|
1892
|
+
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);
|
|
1850
1893
|
}
|
|
1851
1894
|
},
|
|
1852
1895
|
"dom:renderTag": function(e, t, n) {
|
|
@@ -1863,8 +1906,8 @@ const rn = (o) => ({
|
|
|
1863
1906
|
const h = (b) => {
|
|
1864
1907
|
c(b), u?.disconnect();
|
|
1865
1908
|
};
|
|
1866
|
-
i in e.$el.dataset ? h(new Event(i.replace("on", ""))) :
|
|
1867
|
-
b.some((
|
|
1909
|
+
i in e.$el.dataset ? h(new Event(i.replace("on", ""))) : ht.includes(i) && typeof MutationObserver < "u" ? (u = new MutationObserver((b) => {
|
|
1910
|
+
b.some((C) => C.attributeName === `data-${i}`) && (h(new Event(i.replace("on", ""))), u?.disconnect());
|
|
1868
1911
|
}), u.observe(e.$el, {
|
|
1869
1912
|
attributes: !0
|
|
1870
1913
|
})) : a.addEventListener(d, h), n(e.id, p, () => {
|
|
@@ -1873,27 +1916,27 @@ const rn = (o) => ({
|
|
|
1873
1916
|
});
|
|
1874
1917
|
}
|
|
1875
1918
|
}
|
|
1876
|
-
}),
|
|
1919
|
+
}), dn = ["link", "style", "script", "noscript"], cn = {
|
|
1877
1920
|
hooks: {
|
|
1878
1921
|
"tag:normalise": ({ tag: o }) => {
|
|
1879
|
-
o.key &&
|
|
1922
|
+
o.key && dn.includes(o.tag) && (o.props["data-hid"] = o._h = qe(o.key));
|
|
1880
1923
|
}
|
|
1881
1924
|
}
|
|
1882
|
-
},
|
|
1925
|
+
}, pn = {
|
|
1883
1926
|
hooks: {
|
|
1884
1927
|
"tags:resolve": (o) => {
|
|
1885
1928
|
const e = (t) => o.tags.find((n) => n._d === t)?._p;
|
|
1886
|
-
for (const { prefix: t, offset: n } of
|
|
1929
|
+
for (const { prefix: t, offset: n } of Xl)
|
|
1887
1930
|
for (const a of o.tags.filter((i) => typeof i.tagPriority == "string" && i.tagPriority.startsWith(t))) {
|
|
1888
1931
|
const i = e(
|
|
1889
1932
|
a.tagPriority.replace(t, "")
|
|
1890
1933
|
);
|
|
1891
1934
|
typeof i < "u" && (a._p = i + n);
|
|
1892
1935
|
}
|
|
1893
|
-
o.tags.sort((t, n) => t._p - n._p).sort((t, n) =>
|
|
1936
|
+
o.tags.sort((t, n) => t._p - n._p).sort((t, n) => Pe(t) - Pe(n));
|
|
1894
1937
|
}
|
|
1895
1938
|
}
|
|
1896
|
-
},
|
|
1939
|
+
}, mn = {
|
|
1897
1940
|
meta: "content",
|
|
1898
1941
|
link: "href",
|
|
1899
1942
|
htmlAttrs: "lang"
|
|
@@ -1901,30 +1944,30 @@ const rn = (o) => ({
|
|
|
1901
1944
|
hooks: {
|
|
1902
1945
|
"tags:resolve": (e) => {
|
|
1903
1946
|
const { tags: t } = e, n = t.find((p) => p.tag === "title")?.textContent, a = t.findIndex((p) => p.tag === "templateParams"), i = a !== -1 ? t[a].props : {}, c = i.separator || "|";
|
|
1904
|
-
delete i.separator, i.pageTitle =
|
|
1947
|
+
delete i.separator, i.pageTitle = Ve(i.pageTitle || n || "", i, c);
|
|
1905
1948
|
for (const p of t.filter((d) => d.processTemplateParams !== !1)) {
|
|
1906
|
-
const d =
|
|
1907
|
-
d && typeof p.props[d] == "string" ? p.props[d] =
|
|
1908
|
-
typeof p[s] == "string" && (p[s] =
|
|
1949
|
+
const d = mn[p.tag];
|
|
1950
|
+
d && typeof p.props[d] == "string" ? p.props[d] = Ve(p.props[d], i, c) : (p.processTemplateParams === !0 || ["titleTemplate", "title"].includes(p.tag)) && ["innerHTML", "textContent"].forEach((s) => {
|
|
1951
|
+
typeof p[s] == "string" && (p[s] = Ve(p[s], i, c));
|
|
1909
1952
|
});
|
|
1910
1953
|
}
|
|
1911
1954
|
o._templateParams = i, o._separator = c, e.tags = t.filter((p) => p.tag !== "templateParams");
|
|
1912
1955
|
}
|
|
1913
1956
|
}
|
|
1914
|
-
}),
|
|
1957
|
+
}), hn = {
|
|
1915
1958
|
hooks: {
|
|
1916
1959
|
"tags:resolve": (o) => {
|
|
1917
1960
|
const { tags: e } = o;
|
|
1918
1961
|
let t = e.findIndex((a) => a.tag === "titleTemplate");
|
|
1919
1962
|
const n = e.findIndex((a) => a.tag === "title");
|
|
1920
1963
|
if (n !== -1 && t !== -1) {
|
|
1921
|
-
const a =
|
|
1964
|
+
const a = Qe(
|
|
1922
1965
|
e[t].textContent,
|
|
1923
1966
|
e[n].textContent
|
|
1924
1967
|
);
|
|
1925
1968
|
a !== null ? e[n].textContent = a || e[n].textContent : delete e[n];
|
|
1926
1969
|
} else if (t !== -1) {
|
|
1927
|
-
const a =
|
|
1970
|
+
const a = Qe(
|
|
1928
1971
|
e[t].textContent
|
|
1929
1972
|
);
|
|
1930
1973
|
a !== null && (e[t].textContent = a, e[t].tag = "title", t = -1);
|
|
@@ -1932,7 +1975,7 @@ const rn = (o) => ({
|
|
|
1932
1975
|
t !== -1 && delete e[t], o.tags = e.filter(Boolean);
|
|
1933
1976
|
}
|
|
1934
1977
|
}
|
|
1935
|
-
},
|
|
1978
|
+
}, vn = {
|
|
1936
1979
|
hooks: {
|
|
1937
1980
|
"tags:afterResolve": function(o) {
|
|
1938
1981
|
for (const e of o.tags)
|
|
@@ -1942,15 +1985,15 @@ const rn = (o) => ({
|
|
|
1942
1985
|
};
|
|
1943
1986
|
// @__NO_SIDE_EFFECTS__
|
|
1944
1987
|
function gn(o = {}) {
|
|
1945
|
-
const e =
|
|
1946
|
-
return e.use(/* @__PURE__ */
|
|
1988
|
+
const e = yn(o);
|
|
1989
|
+
return e.use(/* @__PURE__ */ on()), e;
|
|
1947
1990
|
}
|
|
1948
|
-
function
|
|
1991
|
+
function et(o, e) {
|
|
1949
1992
|
return !o || o === "server" && e || o === "client" && !e;
|
|
1950
1993
|
}
|
|
1951
|
-
function
|
|
1952
|
-
const e =
|
|
1953
|
-
e.addHooks(o.hooks || {}), o.document = o.document || (
|
|
1994
|
+
function yn(o = {}) {
|
|
1995
|
+
const e = jl();
|
|
1996
|
+
e.addHooks(o.hooks || {}), o.document = o.document || (zl ? document : void 0);
|
|
1954
1997
|
const t = !o.document, n = () => {
|
|
1955
1998
|
p.dirty = !0, e.callHook("entries:updated", p);
|
|
1956
1999
|
};
|
|
@@ -1965,7 +2008,7 @@ function vn(o = {}) {
|
|
|
1965
2008
|
},
|
|
1966
2009
|
use(d) {
|
|
1967
2010
|
const s = typeof d == "function" ? d(p) : d;
|
|
1968
|
-
(!s.key || !c.some((u) => u.key === s.key)) && (c.push(s),
|
|
2011
|
+
(!s.key || !c.some((u) => u.key === s.key)) && (c.push(s), et(s.mode, t) && e.addHooks(s.hooks || {}));
|
|
1969
2012
|
},
|
|
1970
2013
|
push(d, s) {
|
|
1971
2014
|
delete s?.head;
|
|
@@ -1974,7 +2017,7 @@ function vn(o = {}) {
|
|
|
1974
2017
|
input: d,
|
|
1975
2018
|
...s
|
|
1976
2019
|
};
|
|
1977
|
-
return
|
|
2020
|
+
return et(u.mode, t) && (i.push(u), n()), {
|
|
1978
2021
|
dispose() {
|
|
1979
2022
|
i = i.filter((h) => h._i !== u._i), e.callHook("entries:updated", p), n();
|
|
1980
2023
|
},
|
|
@@ -1990,7 +2033,7 @@ function vn(o = {}) {
|
|
|
1990
2033
|
for (const s of d.entries) {
|
|
1991
2034
|
const u = s.resolvedInput || s.input;
|
|
1992
2035
|
if (s.resolvedInput = await (s.transform ? s.transform(u) : u), s.resolvedInput)
|
|
1993
|
-
for (const h of await
|
|
2036
|
+
for (const h of await Ql(s)) {
|
|
1994
2037
|
const b = { tag: h, entry: s, resolvedOptions: p.resolvedOptions };
|
|
1995
2038
|
await e.callHook("tag:normalise", b), d.tags.push(b.tag);
|
|
1996
2039
|
}
|
|
@@ -2000,50 +2043,50 @@ function vn(o = {}) {
|
|
|
2000
2043
|
ssr: t
|
|
2001
2044
|
};
|
|
2002
2045
|
return [
|
|
2003
|
-
ln,
|
|
2004
2046
|
nn,
|
|
2005
|
-
|
|
2006
|
-
|
|
2047
|
+
an,
|
|
2048
|
+
un,
|
|
2007
2049
|
cn,
|
|
2050
|
+
pn,
|
|
2008
2051
|
fn,
|
|
2009
|
-
mn,
|
|
2010
2052
|
hn,
|
|
2053
|
+
vn,
|
|
2011
2054
|
...o?.plugins || []
|
|
2012
2055
|
].forEach((d) => p.use(d)), p.hooks.callHook("init", p), p;
|
|
2013
2056
|
}
|
|
2014
|
-
const
|
|
2015
|
-
function
|
|
2057
|
+
const bn = zt.startsWith("3");
|
|
2058
|
+
function kn(o) {
|
|
2016
2059
|
return typeof o == "function" ? o() : l(o);
|
|
2017
2060
|
}
|
|
2018
|
-
function
|
|
2061
|
+
function Ge(o, e = "") {
|
|
2019
2062
|
if (o instanceof Promise)
|
|
2020
2063
|
return o;
|
|
2021
|
-
const t =
|
|
2022
|
-
return !o || !t ? t : Array.isArray(t) ? t.map((n) =>
|
|
2023
|
-
Object.entries(t).map(([n, a]) => n === "titleTemplate" || n.startsWith("on") ? [n, l(a)] : [n,
|
|
2064
|
+
const t = kn(o);
|
|
2065
|
+
return !o || !t ? t : Array.isArray(t) ? t.map((n) => Ge(n, e)) : typeof t == "object" ? Object.fromEntries(
|
|
2066
|
+
Object.entries(t).map(([n, a]) => n === "titleTemplate" || n.startsWith("on") ? [n, l(a)] : [n, Ge(a, n)])
|
|
2024
2067
|
) : t;
|
|
2025
2068
|
}
|
|
2026
|
-
const
|
|
2069
|
+
const _n = {
|
|
2027
2070
|
hooks: {
|
|
2028
2071
|
"entries:resolve": function(o) {
|
|
2029
2072
|
for (const e of o.entries)
|
|
2030
|
-
e.resolvedInput =
|
|
2073
|
+
e.resolvedInput = Ge(e.input);
|
|
2031
2074
|
}
|
|
2032
2075
|
}
|
|
2033
|
-
},
|
|
2034
|
-
function
|
|
2076
|
+
}, Vn = "usehead";
|
|
2077
|
+
function $n(o) {
|
|
2035
2078
|
return {
|
|
2036
2079
|
install(t) {
|
|
2037
|
-
|
|
2080
|
+
bn && (t.config.globalProperties.$unhead = o, t.config.globalProperties.$head = o, t.provide(Vn, o));
|
|
2038
2081
|
}
|
|
2039
2082
|
}.install;
|
|
2040
2083
|
}
|
|
2041
2084
|
function Tn(o = {}) {
|
|
2042
|
-
o.domDelayFn = o.domDelayFn || ((t) =>
|
|
2085
|
+
o.domDelayFn = o.domDelayFn || ((t) => Kt(() => setTimeout(() => t(), 0)));
|
|
2043
2086
|
const e = /* @__PURE__ */ gn(o);
|
|
2044
|
-
return e.use(
|
|
2087
|
+
return e.use(_n), e.install = $n(e), e;
|
|
2045
2088
|
}
|
|
2046
|
-
const
|
|
2089
|
+
const Cn = Jt(), wn = Tn(), Pn = Xt();
|
|
2047
2090
|
class Hn extends HTMLElement {
|
|
2048
2091
|
vueApp;
|
|
2049
2092
|
constructor() {
|
|
@@ -2053,7 +2096,7 @@ class Hn extends HTMLElement {
|
|
|
2053
2096
|
this.vueApp.unmount();
|
|
2054
2097
|
}
|
|
2055
2098
|
connectedCallback() {
|
|
2056
|
-
const e = typeof
|
|
2099
|
+
const e = typeof ke == "function" ? ke.options : ke;
|
|
2057
2100
|
let t = Array.isArray(e.props) ? e.props : Object.keys(e.props || {});
|
|
2058
2101
|
const n = (d) => d.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (s, u) => (u ? "-" : "") + s.toLowerCase()), a = (d) => d.replace(/-./g, (s) => s[1].toUpperCase()), i = {};
|
|
2059
2102
|
t = t.map(n);
|
|
@@ -2066,7 +2109,7 @@ class Hn extends HTMLElement {
|
|
|
2066
2109
|
let s = this.attributes.getNamedItem(d)?.value;
|
|
2067
2110
|
c.hasOwnProperty(d) && (s = c[d]), i[d] = s;
|
|
2068
2111
|
}
|
|
2069
|
-
this.vueApp = Yt(
|
|
2112
|
+
this.vueApp = Yt(ke, i), this.vueApp.provide("emitter", Pn), this.vueApp.use(wn), this.vueApp.use(Cn), this.vueApp.use(no), this.vueApp.use(Zt), this.vueApp.use(ao), this.vueApp.use(Qt, { bootstrap: !0 });
|
|
2070
2113
|
const p = document.createElement("div");
|
|
2071
2114
|
this.vueApp.mount(p), this.appendChild(p.children[0]);
|
|
2072
2115
|
}
|