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