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