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