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