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