@konnectio/core 4.0.56-rc49 → 4.0.56-rc50
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-B9sCmWFD.js → ActionField-BQQitCzR.js} +3 -3
- package/dist/ActionField-BQQitCzR.js.br +0 -0
- package/dist/{AvailabilitySkeleton-sGz2nSbb.js → AvailabilitySkeleton-TZiNrJ8t.js} +102 -96
- package/dist/AvailabilitySkeleton-TZiNrJ8t.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CPIlC8FY.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DrUxvwDd.js} +3 -3
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DrUxvwDd.js.br +0 -0
- package/dist/{CheckoutWindow-CrzoIK1a.js → CheckoutWindow-DBBmXrsX.js} +3 -3
- package/dist/CheckoutWindow-DBBmXrsX.js.br +0 -0
- package/dist/{ErrorMessage-SZPwCpu-.js → ErrorMessage-Dw-TLplp.js} +3 -3
- package/dist/ErrorMessage-Dw-TLplp.js.br +0 -0
- package/dist/EventAvailabilityForm-DimufYUP.js +437 -0
- package/dist/EventAvailabilityForm-DimufYUP.js.br +0 -0
- package/dist/{Field-CLXqVSAA.js → Field-B4x3qSfU.js} +3 -3
- package/dist/Field-B4x3qSfU.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CHFFlMbv.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CyGcXPO9.js} +2466 -2464
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CyGcXPO9.js.br +0 -0
- package/dist/{TermsOfService-DBwm3BP2.js → TermsOfService-DLchxC08.js} +4 -4
- package/dist/TermsOfService-DLchxC08.js.br +0 -0
- package/dist/{_-BOjhcjBA.js → _-C7wxqlYk.js} +2 -2
- package/dist/{_.vue_vue_type_style_index_0_lang-BNx_Z1PF.js → _.vue_vue_type_style_index_0_lang-BGyUJK1I.js} +3 -3
- package/dist/_.vue_vue_type_style_index_0_lang-BGyUJK1I.js.br +0 -0
- package/dist/availability.js +8 -8
- package/dist/availability.js.br +0 -0
- package/dist/{navigation.js → deep-link.js} +3 -3
- package/dist/event.js +146 -146
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +22 -22
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +10 -10
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-hEwcI_Rx.js → giftCard-9uCMmY6r.js} +25 -26
- package/dist/giftCard-9uCMmY6r.js.br +0 -0
- package/dist/hotel.js +561 -557
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-C474cwA-.js → masonry.plugin-C4-Uj22v.js} +10 -10
- package/dist/masonry.plugin-C4-Uj22v.js.br +0 -0
- package/dist/polyfill.js +99 -98
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/{tracing-pAUg9FFo.js → tracing-Dm-FNj-F.js} +198 -209
- package/dist/tracing-Dm-FNj-F.js.br +0 -0
- package/package.json +4 -4
- package/dist/ActionField-B9sCmWFD.js.br +0 -0
- package/dist/AvailabilitySkeleton-sGz2nSbb.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CPIlC8FY.js.br +0 -0
- package/dist/CheckoutWindow-CrzoIK1a.js.br +0 -0
- package/dist/ErrorMessage-SZPwCpu-.js.br +0 -0
- package/dist/EventAvailabilityForm-DFuang-b.js +0 -431
- package/dist/EventAvailabilityForm-DFuang-b.js.br +0 -0
- package/dist/Field-CLXqVSAA.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CHFFlMbv.js.br +0 -0
- package/dist/TermsOfService-DBwm3BP2.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-BNx_Z1PF.js.br +0 -0
- package/dist/giftCard-hEwcI_Rx.js.br +0 -0
- package/dist/masonry.plugin-C474cwA-.js.br +0 -0
- package/dist/tracing-pAUg9FFo.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import { h as
|
|
3
|
-
import { R as
|
|
4
|
-
import { A as
|
|
5
|
-
import { S as
|
|
6
|
-
import { a as Ae, B as
|
|
7
|
-
import { _ as
|
|
8
|
-
import "./
|
|
1
|
+
import { d as X, r as oe, o as c, b as D, w as T, v as Ne, g as a, t as y, u as o, y as ot, z as lt, f as g, a as f, A as F, F as M, e as _, D as Ge, x as N, i as Ce, c as G, p as ht, j as vt, h as Je, q as we, n as Pe, S as Zt, N as Qt, K as eo, O as to, k as oo } from "./tracing-Dm-FNj-F.js";
|
|
2
|
+
import { h as ne, s as te, b as ke, z as me, D as de, A as z, R as qe, J as nt, U as re, B as ee, F as lo, _ as ue, k as He, V as yt, l as We, C as pe, j as gt, K as kt, m as Ke, r as at, T as se, I as no, W as ao, a as io, n as so, P as it, X as ro, Y as st, o as uo, p as co, q as po, H as mo, t as fo } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CyGcXPO9.js";
|
|
3
|
+
import { R as ho, B as Ie, L as vo, S as yo, M as go, a as Fe, C as ko, T as bo, V as _o, G as Vo } from "./masonry.plugin-C4-Uj22v.js";
|
|
4
|
+
import { A as To, H as $o } from "./AvailabilitySkeleton-TZiNrJ8t.js";
|
|
5
|
+
import { S as Co } from "./TermsOfService-DLchxC08.js";
|
|
6
|
+
import { a as Ae, B as wo, P as Po, C as Ao } from "./CheckoutWindow-DBBmXrsX.js";
|
|
7
|
+
import { _ as bt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DrUxvwDd.js";
|
|
8
|
+
import "./deep-link.js";
|
|
9
9
|
(function() {
|
|
10
10
|
try {
|
|
11
11
|
var n = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, l = new Error().stack;
|
|
12
|
-
l && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[l] = "
|
|
12
|
+
l && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[l] = "d02bed4d-aca1-4e42-a188-4129852e0b04", n._sentryDebugIdIdentifier = "sentry-dbid-d02bed4d-aca1-4e42-a188-4129852e0b04");
|
|
13
13
|
} catch {
|
|
14
14
|
}
|
|
15
15
|
})();
|
|
16
|
-
const
|
|
17
|
-
const
|
|
16
|
+
const Do = { class: "konnectio-hotel-reservation-warning" }, Ho = { class: "konnectio-hotel-reservation-warning" };
|
|
17
|
+
const Io = { key: 0 }, So = { key: 1 }, Bo = { key: 0 }, Eo = { class: "konnectio-reservation-actions" }, Mo = /* @__PURE__ */ X({
|
|
18
18
|
__name: "HotelReservationForm",
|
|
19
19
|
props: {
|
|
20
20
|
showGiftCard: { type: Boolean, default: !1 },
|
|
21
21
|
showTermsNotice: { type: Boolean, default: !1 }
|
|
22
22
|
},
|
|
23
23
|
setup(n) {
|
|
24
|
-
const { t: l } =
|
|
24
|
+
const { t: l } = ne(), {
|
|
25
25
|
hideArrivalDepartureInputs: e,
|
|
26
26
|
disableArrivalUserSelection: t,
|
|
27
27
|
disableDepartureUserSelection: i,
|
|
@@ -29,54 +29,54 @@ const Do = { key: 0 }, Ho = { key: 1 }, So = { key: 0 }, Io = { class: "konnecti
|
|
|
29
29
|
departureDefault: m,
|
|
30
30
|
disableNewsletterSignup: p,
|
|
31
31
|
currency: u
|
|
32
|
-
} =
|
|
32
|
+
} = te(ke()), {
|
|
33
33
|
arrivalTime: r,
|
|
34
34
|
departureTime: d,
|
|
35
|
-
roomDisplay:
|
|
35
|
+
roomDisplay: h,
|
|
36
36
|
templateID: V,
|
|
37
37
|
totalPrice: P,
|
|
38
|
-
areListingsLoading:
|
|
39
|
-
getSelectedPackageRoom:
|
|
38
|
+
areListingsLoading: $,
|
|
39
|
+
getSelectedPackageRoom: S,
|
|
40
40
|
selectedPackage: B,
|
|
41
41
|
discountVouchers: k,
|
|
42
42
|
currentArrivalDate: C,
|
|
43
43
|
currentDepartureDate: H,
|
|
44
44
|
datesMismatch: O,
|
|
45
45
|
newsMails: R,
|
|
46
|
-
termsOfService:
|
|
46
|
+
termsOfService: Y,
|
|
47
47
|
discountCode: L,
|
|
48
|
-
hasTermOfService:
|
|
49
|
-
acceptTerms:
|
|
48
|
+
hasTermOfService: x,
|
|
49
|
+
acceptTerms: Z,
|
|
50
50
|
totalTemplateAddonPrice: be
|
|
51
|
-
} =
|
|
52
|
-
function fe(
|
|
53
|
-
return
|
|
51
|
+
} = te(me()), { removeRoom: j, validateDiscountCode: he } = me(), ce = oe(!1);
|
|
52
|
+
function fe(le) {
|
|
53
|
+
return le.reduce((E, { totalPrice: ve }) => E + ve, 0);
|
|
54
54
|
}
|
|
55
|
-
return (
|
|
55
|
+
return (le, q) => (c(), D(ho, {
|
|
56
56
|
"discount-code": o(L),
|
|
57
|
-
"onUpdate:discountCode":
|
|
57
|
+
"onUpdate:discountCode": q[4] || (q[4] = (E) => N(L) ? L.value = E : null),
|
|
58
58
|
"validate-discount-code": o(he),
|
|
59
59
|
"total-price": o(P),
|
|
60
|
-
"show-gift-card":
|
|
61
|
-
"show-terms-notice":
|
|
62
|
-
"is-sidebar-loading": o(
|
|
60
|
+
"show-gift-card": le.showGiftCard,
|
|
61
|
+
"show-terms-notice": le.showTermsNotice,
|
|
62
|
+
"is-sidebar-loading": o($),
|
|
63
63
|
notice: o(l)("hotel.reservationNotice")
|
|
64
64
|
}, {
|
|
65
65
|
form: T(() => [
|
|
66
|
-
|
|
66
|
+
Ne(le.$slots, "form", {}, void 0, !0)
|
|
67
67
|
]),
|
|
68
68
|
"reservation-summary": T(() => [
|
|
69
69
|
a("li", null, [
|
|
70
70
|
a("span", null, y(o(l)("booking.reservation.arrival")), 1),
|
|
71
71
|
a("b", null, [
|
|
72
72
|
a("span", null, y(o(e) ? o(de)(o(C)) : `${o(de)(o(C))}, ${o(t) ? o(s) : o(r)}`), 1),
|
|
73
|
-
|
|
73
|
+
ot(a("span", Do, [
|
|
74
74
|
g(z, {
|
|
75
75
|
icon: "exclamation-triangle",
|
|
76
76
|
type: "fas"
|
|
77
77
|
})
|
|
78
78
|
], 512), [
|
|
79
|
-
[
|
|
79
|
+
[lt, o(O)]
|
|
80
80
|
])
|
|
81
81
|
])
|
|
82
82
|
]),
|
|
@@ -84,72 +84,72 @@ const Do = { key: 0 }, Ho = { key: 1 }, So = { key: 0 }, Io = { class: "konnecti
|
|
|
84
84
|
a("span", null, y(o(l)("booking.reservation.departure")), 1),
|
|
85
85
|
a("b", null, [
|
|
86
86
|
a("span", null, y(o(e) ? o(de)(o(H)) : `${o(de)(o(H))}, ${o(i) ? o(m) : o(d)}`), 1),
|
|
87
|
-
|
|
87
|
+
ot(a("span", Ho, [
|
|
88
88
|
g(z, {
|
|
89
89
|
icon: "exclamation-triangle",
|
|
90
90
|
type: "fas"
|
|
91
91
|
})
|
|
92
92
|
], 512), [
|
|
93
|
-
[
|
|
93
|
+
[lt, o(O)]
|
|
94
94
|
])
|
|
95
95
|
])
|
|
96
96
|
]),
|
|
97
97
|
a("li", null, [
|
|
98
98
|
a("span", null, y(o(l)("booking.reservation.nights")), 1),
|
|
99
|
-
a("b", null, y(o(
|
|
99
|
+
a("b", null, y(o(qe)(o(C), o(H))) + " " + y(o(nt)(o(qe)(o(C), o(H)) === 1 ? o(l)("booking.reservation.night") : o(l)("booking.reservation.nights"))), 1)
|
|
100
100
|
]),
|
|
101
|
-
o(k) ? (c(!0),
|
|
102
|
-
key:
|
|
101
|
+
o(k) ? (c(!0), f(M, { key: 0 }, F(o(k), (E) => (c(), f("li", {
|
|
102
|
+
key: E.id
|
|
103
103
|
}, [
|
|
104
|
-
a("span", null, y(`${o(l)("general.discountCode")} (${
|
|
105
|
-
a("b", null, y(
|
|
104
|
+
a("span", null, y(`${o(l)("general.discountCode")} (${E.value})`), 1),
|
|
105
|
+
a("b", null, y(E.key), 1)
|
|
106
106
|
]))), 128)) : _("", !0)
|
|
107
107
|
]),
|
|
108
108
|
"price-summary": T(() => [
|
|
109
|
-
isNaN(o(V)) && o(
|
|
110
|
-
roomGroupID:
|
|
109
|
+
isNaN(o(V)) && o(h).length > 0 ? (c(!0), f(M, { key: 0 }, F(o(h), ({
|
|
110
|
+
roomGroupID: E,
|
|
111
111
|
title: ve,
|
|
112
|
-
variants:
|
|
113
|
-
}) => (c(),
|
|
112
|
+
variants: Se
|
|
113
|
+
}) => (c(), f("div", { key: E }, [
|
|
114
114
|
a("h6", null, [
|
|
115
115
|
a("span", null, y(ve), 1)
|
|
116
116
|
]),
|
|
117
|
-
(c(!0),
|
|
118
|
-
(c(!0),
|
|
117
|
+
(c(!0), f(M, null, F(Se, (_e, Be) => (c(), f("div", { key: Be }, [
|
|
118
|
+
(c(!0), f(M, null, F(_e.rooms, (ae, ye) => (c(), f("ul", { key: ye }, [
|
|
119
119
|
a("li", null, [
|
|
120
120
|
a("span", null, [
|
|
121
121
|
a("span", null, [
|
|
122
|
-
|
|
122
|
+
Ge(y(o(re)(_e.name)) + " ( ", 1),
|
|
123
123
|
g(z, {
|
|
124
124
|
icon: "male",
|
|
125
125
|
type: "fas",
|
|
126
126
|
color: "font"
|
|
127
127
|
}),
|
|
128
|
-
a("span", null, y(
|
|
129
|
-
|
|
128
|
+
a("span", null, y(ae.adultsCount), 1),
|
|
129
|
+
ae.childrenCount > 0 ? (c(), f(M, { key: 0 }, [
|
|
130
130
|
g(z, {
|
|
131
131
|
icon: "child",
|
|
132
132
|
type: "fas",
|
|
133
133
|
color: "font"
|
|
134
134
|
}),
|
|
135
|
-
a("span", null, y(
|
|
135
|
+
a("span", null, y(ae.childrenCount), 1)
|
|
136
136
|
], 64)) : _("", !0),
|
|
137
|
-
|
|
137
|
+
Ge(") ")
|
|
138
138
|
])
|
|
139
139
|
]),
|
|
140
140
|
a("b", null, [
|
|
141
|
-
a("span", null, y(o(
|
|
141
|
+
a("span", null, y(o(ee)(ae.totalPrice, o(u))), 1),
|
|
142
142
|
_("", !0)
|
|
143
143
|
])
|
|
144
144
|
]),
|
|
145
|
-
fe(
|
|
145
|
+
fe(ae.roomAddons) > 0 ? (c(), f("li", Io, [
|
|
146
146
|
a("span", null, y(o(l)("general.addons")), 1),
|
|
147
|
-
a("b", null, y(o(
|
|
147
|
+
a("b", null, y(o(ee)(fe(ae.roomAddons), o(u))), 1)
|
|
148
148
|
])) : _("", !0)
|
|
149
149
|
]))), 128))
|
|
150
150
|
]))), 128))
|
|
151
151
|
]))), 128)) : _("", !0),
|
|
152
|
-
o(
|
|
152
|
+
o(S) && o(B) ? (c(), f("div", So, [
|
|
153
153
|
a("h6", null, [
|
|
154
154
|
a("span", null, y(o(re)(o(B).name)), 1)
|
|
155
155
|
]),
|
|
@@ -157,39 +157,39 @@ const Do = { key: 0 }, Ho = { key: 1 }, So = { key: 0 }, Io = { class: "konnecti
|
|
|
157
157
|
a("ul", null, [
|
|
158
158
|
a("li", null, [
|
|
159
159
|
a("span", null, [
|
|
160
|
-
a("span", null, y(o(re)(o(
|
|
160
|
+
a("span", null, y(o(re)(o(S).title)), 1)
|
|
161
161
|
]),
|
|
162
162
|
a("b", null, [
|
|
163
|
-
a("span", null, y(o(
|
|
163
|
+
a("span", null, y(o(ee)(o(S).extraPrice, o(u))), 1)
|
|
164
164
|
])
|
|
165
165
|
]),
|
|
166
|
-
o(be) ? (c(),
|
|
166
|
+
o(be) ? (c(), f("li", Bo, [
|
|
167
167
|
a("span", null, y(o(l)("general.addons")), 1),
|
|
168
|
-
a("b", null, y(o(
|
|
168
|
+
a("b", null, y(o(ee)(o(be), o(u))), 1)
|
|
169
169
|
])) : _("", !0)
|
|
170
170
|
])
|
|
171
171
|
])
|
|
172
172
|
])) : _("", !0)
|
|
173
173
|
]),
|
|
174
174
|
actions: T(() => [
|
|
175
|
-
a("ul",
|
|
175
|
+
a("ul", Eo, [
|
|
176
176
|
o(p) ? _("", !0) : (c(), D(Ae, {
|
|
177
177
|
key: 0,
|
|
178
178
|
modelValue: o(R),
|
|
179
|
-
"onUpdate:modelValue":
|
|
179
|
+
"onUpdate:modelValue": q[0] || (q[0] = (E) => N(R) ? R.value = E : null),
|
|
180
180
|
type: "checkbox",
|
|
181
181
|
name: "newsletter",
|
|
182
182
|
label: o(l)("booking.reservation.newsletterSignUp")
|
|
183
183
|
}, null, 8, ["modelValue", "label"])),
|
|
184
|
-
o(
|
|
184
|
+
o(x) ? (c(), D(Ae, {
|
|
185
185
|
key: 1,
|
|
186
|
-
modelValue: o(
|
|
187
|
-
"onUpdate:modelValue":
|
|
186
|
+
modelValue: o(Z),
|
|
187
|
+
"onUpdate:modelValue": q[2] || (q[2] = (E) => N(Z) ? Z.value = E : null),
|
|
188
188
|
type: "checkbox",
|
|
189
189
|
name: "terms"
|
|
190
190
|
}, {
|
|
191
191
|
default: T(() => [
|
|
192
|
-
g(o(
|
|
192
|
+
g(o(lo), {
|
|
193
193
|
keypath: "general.termsAndConditionsCheckbox",
|
|
194
194
|
tag: "span",
|
|
195
195
|
scope: "global"
|
|
@@ -197,9 +197,9 @@ const Do = { key: 0 }, Ho = { key: 1 }, So = { key: 0 }, Io = { class: "konnecti
|
|
|
197
197
|
terms: T(() => [
|
|
198
198
|
a("a", {
|
|
199
199
|
class: "konnectio-accept-terms-link",
|
|
200
|
-
onClick:
|
|
200
|
+
onClick: q[1] || (q[1] = Ce((E) => ce.value = !0, ["prevent"]))
|
|
201
201
|
}, [
|
|
202
|
-
a("span", null, y(o(
|
|
202
|
+
a("span", null, y(o(nt)(o(l)("general.termsAndConditions"))), 1)
|
|
203
203
|
])
|
|
204
204
|
]),
|
|
205
205
|
_: 1
|
|
@@ -207,21 +207,21 @@ const Do = { key: 0 }, Ho = { key: 1 }, So = { key: 0 }, Io = { class: "konnecti
|
|
|
207
207
|
]),
|
|
208
208
|
_: 1
|
|
209
209
|
}, 8, ["modelValue"])) : _("", !0),
|
|
210
|
-
|
|
211
|
-
g(
|
|
210
|
+
Ne(le.$slots, "actions", {}, void 0, !0),
|
|
211
|
+
g(Co, {
|
|
212
212
|
modelValue: ce.value,
|
|
213
|
-
"onUpdate:modelValue":
|
|
214
|
-
description: o(
|
|
213
|
+
"onUpdate:modelValue": q[3] || (q[3] = (E) => ce.value = E),
|
|
214
|
+
description: o(Y)
|
|
215
215
|
}, null, 8, ["modelValue", "description"])
|
|
216
216
|
])
|
|
217
217
|
]),
|
|
218
218
|
navigation: T(() => [
|
|
219
|
-
|
|
219
|
+
Ne(le.$slots, "navigation", {}, void 0, !0)
|
|
220
220
|
]),
|
|
221
221
|
_: 3
|
|
222
222
|
}, 8, ["discount-code", "validate-discount-code", "total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
|
|
223
223
|
}
|
|
224
|
-
}),
|
|
224
|
+
}), Oe = /* @__PURE__ */ ue(Mo, [["__scopeId", "data-v-f47e4ac5"]]), Uo = (n) => (ht("data-v-69fe83d8"), n = n(), vt(), n), Ro = { class: "konnectio-room-config-option" }, Lo = { key: 0 }, No = { class: "konnectio-selected-room-config" }, Fo = { class: "konnectio-selected-room-config-people" }, Oo = { key: 0 }, jo = { class: "konnectio-selected-room-config-price" }, Go = /* @__PURE__ */ Uo(() => /* @__PURE__ */ a("span", null, null, -1)), qo = /* @__PURE__ */ X({
|
|
225
225
|
__name: "RoomConfigField",
|
|
226
226
|
props: {
|
|
227
227
|
modelValue: {},
|
|
@@ -232,7 +232,7 @@ const Do = { key: 0 }, Ho = { key: 1 }, So = { key: 0 }, Io = { class: "konnecti
|
|
|
232
232
|
},
|
|
233
233
|
emits: ["update:modelValue"],
|
|
234
234
|
setup(n, { emit: l }) {
|
|
235
|
-
const { t: e } =
|
|
235
|
+
const { t: e } = ne(), { currency: t } = te(ke()), i = l, s = n;
|
|
236
236
|
function m(u) {
|
|
237
237
|
i("update:modelValue", u);
|
|
238
238
|
}
|
|
@@ -254,7 +254,7 @@ const Do = { key: 0 }, Ho = { key: 1 }, So = { key: 0 }, Io = { class: "konnecti
|
|
|
254
254
|
searchable: !1
|
|
255
255
|
}, {
|
|
256
256
|
option: T(({ data: d }) => [
|
|
257
|
-
a("span",
|
|
257
|
+
a("span", Ro, [
|
|
258
258
|
a("div", null, [
|
|
259
259
|
g(z, {
|
|
260
260
|
icon: "male",
|
|
@@ -262,7 +262,7 @@ const Do = { key: 0 }, Ho = { key: 1 }, So = { key: 0 }, Io = { class: "konnecti
|
|
|
262
262
|
color: "font"
|
|
263
263
|
}),
|
|
264
264
|
a("span", null, y(`${d.adults}`), 1),
|
|
265
|
-
d.children > 0 ? (c(),
|
|
265
|
+
d.children > 0 ? (c(), f("span", Lo, [
|
|
266
266
|
g(z, {
|
|
267
267
|
icon: "child",
|
|
268
268
|
type: "fas",
|
|
@@ -271,39 +271,39 @@ const Do = { key: 0 }, Ho = { key: 1 }, So = { key: 0 }, Io = { class: "konnecti
|
|
|
271
271
|
a("span", null, y(`${d.children}`), 1)
|
|
272
272
|
])) : _("", !0)
|
|
273
273
|
]),
|
|
274
|
-
a("span", null, y(`(${o(
|
|
274
|
+
a("span", null, y(`(${o(ee)(d.price, o(t))})`), 1)
|
|
275
275
|
])
|
|
276
276
|
]),
|
|
277
277
|
"selected-option": T(({ data: d }) => [
|
|
278
|
-
a("div",
|
|
279
|
-
a("div",
|
|
278
|
+
a("div", No, [
|
|
279
|
+
a("div", Fo, [
|
|
280
280
|
a("div", null, [
|
|
281
281
|
_("", !0),
|
|
282
282
|
a("span", null, y(`${d.adults} ${d.adults === 1 ? o(e)("general.adult") : o(e)("general.adults")}`), 1)
|
|
283
283
|
]),
|
|
284
|
-
d.children > 0 ? (c(),
|
|
284
|
+
d.children > 0 ? (c(), f("div", Oo, [
|
|
285
285
|
_("", !0),
|
|
286
286
|
a("span", null, y(`& ${d.children} ${d.children === 1 ? o(e)("general.child") : o(e)("general.children")}`), 1)
|
|
287
287
|
])) : _("", !0)
|
|
288
288
|
]),
|
|
289
|
-
a("div",
|
|
290
|
-
|
|
291
|
-
|
|
289
|
+
a("div", jo, [
|
|
290
|
+
Go,
|
|
291
|
+
Ge(" " + y(`(${o(ee)(d.price, o(t))})`), 1)
|
|
292
292
|
])
|
|
293
293
|
])
|
|
294
294
|
]),
|
|
295
295
|
_: 1
|
|
296
296
|
}, 8, ["modelValue", "label", "options", "readonly", "required"]));
|
|
297
297
|
}
|
|
298
|
-
}),
|
|
299
|
-
const
|
|
298
|
+
}), Wo = /* @__PURE__ */ ue(qo, [["__scopeId", "data-v-69fe83d8"]]), Ko = { class: "konnectio-availability-listing-selection" }, zo = { key: 1 }, xo = { class: "konnectio-listing-config-body" }, Jo = { class: "konnectio-listing-units-body" };
|
|
299
|
+
const Yo = /* @__PURE__ */ X({
|
|
300
300
|
__name: "Hotel",
|
|
301
301
|
props: {
|
|
302
302
|
room: {},
|
|
303
303
|
layout: {}
|
|
304
304
|
},
|
|
305
305
|
setup(n) {
|
|
306
|
-
const { t: l } =
|
|
306
|
+
const { t: l } = ne(), e = n, t = oe([]);
|
|
307
307
|
function i(k) {
|
|
308
308
|
t.value[k].config.push({
|
|
309
309
|
id: NaN,
|
|
@@ -314,15 +314,15 @@ const Jo = /* @__PURE__ */ Z({
|
|
|
314
314
|
const s = G(() => e.room.rates.map((k) => ({
|
|
315
315
|
label: k.name,
|
|
316
316
|
value: k.id
|
|
317
|
-
}))), { hideAvailableRoomAmount: m } =
|
|
317
|
+
}))), { hideAvailableRoomAmount: m } = te(ke()), { roomSelect: p } = te(me()), { addToCart: u, removeFromCart: r } = yt(), d = (k, C) => e.room.rates.find((H) => H.id === k)?.occupantRates.find((H) => H.index === C), h = G(() => e.room.rates.every((k) => k.isBreakfastIncluded === !0)), V = (k, C) => d(k, C) ? d(k, C)?.rooms : null, P = (k) => e.room.rates.length > 0 ? e.room.rates.find((C) => C.id === k)?.occupantRates.map((C) => ({
|
|
318
318
|
value: C.index,
|
|
319
319
|
price: C.totalPrice,
|
|
320
320
|
adults: C.adultsCount,
|
|
321
321
|
children: C.childrenCount,
|
|
322
322
|
hasBreakfast: C.hasBreakfast
|
|
323
|
-
})) || [] : [],
|
|
324
|
-
function
|
|
325
|
-
|
|
323
|
+
})) || [] : [], $ = G(() => e.room.rates.length > 1);
|
|
324
|
+
function S() {
|
|
325
|
+
$.value ? t.value.push({
|
|
326
326
|
id: void 0,
|
|
327
327
|
config: [{
|
|
328
328
|
id: e.room.rates[0].occupantRateIndex || NaN,
|
|
@@ -339,27 +339,27 @@ const Jo = /* @__PURE__ */ Z({
|
|
|
339
339
|
});
|
|
340
340
|
}
|
|
341
341
|
Je(() => {
|
|
342
|
-
|
|
342
|
+
S();
|
|
343
343
|
});
|
|
344
344
|
const B = G(() => JSON.parse(JSON.stringify(t.value)));
|
|
345
|
-
return
|
|
345
|
+
return we(B, (k, C) => {
|
|
346
346
|
C.length > 0 && k.forEach((H, O) => {
|
|
347
|
-
H.config.forEach((R,
|
|
348
|
-
const L = R.units,
|
|
349
|
-
L !==
|
|
347
|
+
H.config.forEach((R, Y) => {
|
|
348
|
+
const L = R.units, x = C[O].config[Y].units;
|
|
349
|
+
L !== x && (L > x ? (t.value[O].config[Y].addons.push({}), u({
|
|
350
350
|
id: e.room.id,
|
|
351
351
|
name: e.room.title,
|
|
352
352
|
value: e.room.rates[O].rackRate
|
|
353
|
-
})) : (t.value[O].config[
|
|
353
|
+
})) : (t.value[O].config[Y].addons.pop(), r({
|
|
354
354
|
id: e.room.id,
|
|
355
355
|
name: e.room.title,
|
|
356
356
|
value: e.room.rates[O].rackRate
|
|
357
357
|
})));
|
|
358
358
|
});
|
|
359
359
|
});
|
|
360
|
-
}, { deep: !0 }),
|
|
360
|
+
}, { deep: !0 }), we(t, () => {
|
|
361
361
|
p.value[e.room.id] = t.value;
|
|
362
|
-
}, { deep: !0 }), (k, C) => (c(), D(
|
|
362
|
+
}, { deep: !0 }), (k, C) => (c(), D(Ie, {
|
|
363
363
|
type: "hotel",
|
|
364
364
|
"listing-id": k.room.id,
|
|
365
365
|
gallery: k.room.images,
|
|
@@ -368,15 +368,15 @@ const Jo = /* @__PURE__ */ Z({
|
|
|
368
368
|
layout: k.layout,
|
|
369
369
|
facilities: k.room.facilities,
|
|
370
370
|
"prices-from": k.room.pricesFrom,
|
|
371
|
-
"includes-breakfast":
|
|
371
|
+
"includes-breakfast": h.value
|
|
372
372
|
}, {
|
|
373
373
|
action: T(() => [
|
|
374
|
-
a("div",
|
|
375
|
-
(c(!0),
|
|
374
|
+
a("div", Ko, [
|
|
375
|
+
(c(!0), f(M, null, F(t.value, (H, O) => (c(), f("div", {
|
|
376
376
|
key: H.id,
|
|
377
377
|
class: "freshbooking-hotel-room"
|
|
378
378
|
}, [
|
|
379
|
-
|
|
379
|
+
$.value ? (c(), D(He, {
|
|
380
380
|
key: 0,
|
|
381
381
|
modelValue: H.id,
|
|
382
382
|
"onUpdate:modelValue": (R) => H.id = R,
|
|
@@ -385,34 +385,34 @@ const Jo = /* @__PURE__ */ Z({
|
|
|
385
385
|
options: s.value,
|
|
386
386
|
searchable: !1
|
|
387
387
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : _("", !0),
|
|
388
|
-
H.id ? (c(),
|
|
389
|
-
(c(!0),
|
|
388
|
+
H.id ? (c(), f("div", zo, [
|
|
389
|
+
(c(!0), f(M, null, F(k.room.rates, ({
|
|
390
390
|
id: R,
|
|
391
|
-
maximumOccupants:
|
|
392
|
-
}) => (c(),
|
|
391
|
+
maximumOccupants: Y
|
|
392
|
+
}) => (c(), f("div", {
|
|
393
393
|
key: R,
|
|
394
394
|
class: "konnectio-listing-action-selective-i"
|
|
395
395
|
}, [
|
|
396
|
-
H.id === R ? (c(!0),
|
|
397
|
-
key:
|
|
396
|
+
H.id === R ? (c(!0), f(M, { key: 0 }, F(H.config, (L, x) => (c(), f("div", {
|
|
397
|
+
key: x,
|
|
398
398
|
class: "konnectio-listing-action-selective"
|
|
399
399
|
}, [
|
|
400
|
-
a("ul",
|
|
401
|
-
g(
|
|
400
|
+
a("ul", xo, [
|
|
401
|
+
g(Wo, {
|
|
402
402
|
modelValue: L.id,
|
|
403
|
-
"onUpdate:modelValue": (
|
|
403
|
+
"onUpdate:modelValue": (Z) => L.id = Z,
|
|
404
404
|
icon: "male",
|
|
405
405
|
"icon-type": "fas",
|
|
406
406
|
label: o(l)("general.guests"),
|
|
407
|
-
description: `${o(l)("general.maximumGuests")}: ${
|
|
407
|
+
description: `${o(l)("general.maximumGuests")}: ${Y}`,
|
|
408
408
|
options: P(R),
|
|
409
409
|
readonly: !(P(R).length > 1)
|
|
410
410
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
|
|
411
411
|
]),
|
|
412
|
-
a("ul",
|
|
413
|
-
g(
|
|
412
|
+
a("ul", Jo, [
|
|
413
|
+
g(We, {
|
|
414
414
|
modelValue: L.units,
|
|
415
|
-
"onUpdate:modelValue": (
|
|
415
|
+
"onUpdate:modelValue": (Z) => L.units = Z,
|
|
416
416
|
description: o(m) ? void 0 : `${o(l)("booking.availability.availableUnits")}: ${V(H.id, L.id)}`,
|
|
417
417
|
icon: "house",
|
|
418
418
|
"icon-type": "fas",
|
|
@@ -432,7 +432,7 @@ const Jo = /* @__PURE__ */ Z({
|
|
|
432
432
|
_: 1
|
|
433
433
|
}, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
|
|
434
434
|
}
|
|
435
|
-
}),
|
|
435
|
+
}), Xo = /* @__PURE__ */ ue(Yo, [["__scopeId", "data-v-090cdca2"]]), Zo = { class: "konnectio-template-side-panel" }, Qo = { class: "konnectio-template-side-panel-listings" }, el = /* @__PURE__ */ X({
|
|
436
436
|
__name: "Template",
|
|
437
437
|
props: {
|
|
438
438
|
title: {},
|
|
@@ -442,34 +442,34 @@ const Jo = /* @__PURE__ */ Z({
|
|
|
442
442
|
callback: { type: Function }
|
|
443
443
|
},
|
|
444
444
|
setup(n) {
|
|
445
|
-
const { t: l } =
|
|
446
|
-
function
|
|
445
|
+
const { t: l } = ne(), { templateID: e, roomGroupID: t, selectionHasNoAddons: i } = te(me()), { currency: s } = te(ke()), { clearRoomSelection: m } = me(), p = n, u = oe(!0), r = G(() => {
|
|
446
|
+
function h(V, P) {
|
|
447
447
|
return u.value === !0 ? V.extraPrice > P.extraPrice ? -1 : 1 : V.extraPrice > P.extraPrice ? 1 : -1;
|
|
448
448
|
}
|
|
449
|
-
return p.roomGroups?.slice().sort(
|
|
449
|
+
return p.roomGroups?.slice().sort(h);
|
|
450
450
|
});
|
|
451
|
-
function d(
|
|
452
|
-
e.value = p.templateId, t.value =
|
|
451
|
+
function d(h) {
|
|
452
|
+
e.value = p.templateId, t.value = h, m(), p.hideAddons === "yes" || i.value ? p.callback(2) : p.callback(1);
|
|
453
453
|
}
|
|
454
|
-
return (
|
|
455
|
-
title:
|
|
454
|
+
return (h, V) => (c(), D(wo, {
|
|
455
|
+
title: h.title,
|
|
456
456
|
subtitle: o(l)("booking.availability.selectATemplateRoom")
|
|
457
457
|
}, {
|
|
458
458
|
default: T(() => [
|
|
459
|
-
a("div",
|
|
460
|
-
a("div",
|
|
461
|
-
(c(!0),
|
|
459
|
+
a("div", Zo, [
|
|
460
|
+
a("div", Qo, [
|
|
461
|
+
(c(!0), f(M, null, F(r.value, ({
|
|
462
462
|
id: P,
|
|
463
|
-
title:
|
|
464
|
-
description:
|
|
463
|
+
title: $,
|
|
464
|
+
description: S,
|
|
465
465
|
images: B,
|
|
466
466
|
facilities: k,
|
|
467
467
|
extraPrice: C
|
|
468
|
-
}) => (c(), D(
|
|
468
|
+
}) => (c(), D(Ie, {
|
|
469
469
|
key: P,
|
|
470
470
|
"listing-id": P,
|
|
471
|
-
name:
|
|
472
|
-
description:
|
|
471
|
+
name: $,
|
|
472
|
+
description: S,
|
|
473
473
|
facilities: k,
|
|
474
474
|
gallery: B,
|
|
475
475
|
"includes-breakfast": !1,
|
|
@@ -479,7 +479,7 @@ const Jo = /* @__PURE__ */ Z({
|
|
|
479
479
|
a("div", null, [
|
|
480
480
|
g(pe, {
|
|
481
481
|
onClickEvent: (H) => d(P),
|
|
482
|
-
label: `${o(l)("booking.availability.selectThisRoom")} (${o(
|
|
482
|
+
label: `${o(l)("booking.availability.selectThisRoom")} (${o(ee)(C, o(s))})`,
|
|
483
483
|
"full-width": ""
|
|
484
484
|
}, null, 8, ["onClickEvent", "label"])
|
|
485
485
|
])
|
|
@@ -492,7 +492,7 @@ const Jo = /* @__PURE__ */ Z({
|
|
|
492
492
|
_: 1
|
|
493
493
|
}, 8, ["title", "subtitle"]));
|
|
494
494
|
}
|
|
495
|
-
}),
|
|
495
|
+
}), _t = /* @__PURE__ */ ue(el, [["__scopeId", "data-v-35a96ba4"]]), tl = ["innerHTML"], ol = { class: "konnectio-template-select-package" }, ll = /* @__PURE__ */ X({
|
|
496
496
|
__name: "Template",
|
|
497
497
|
props: {
|
|
498
498
|
id: {},
|
|
@@ -505,7 +505,7 @@ const Jo = /* @__PURE__ */ Z({
|
|
|
505
505
|
callback: { type: Function }
|
|
506
506
|
},
|
|
507
507
|
setup(n) {
|
|
508
|
-
const { t: l } =
|
|
508
|
+
const { t: l } = ne(), e = n, t = G(() => e.roomGroups.reduce(
|
|
509
509
|
(u, r) => u < r.extraPrice ? u : r.extraPrice,
|
|
510
510
|
1 / 0
|
|
511
511
|
)), i = G(() => {
|
|
@@ -516,31 +516,31 @@ const Jo = /* @__PURE__ */ Z({
|
|
|
516
516
|
thumb: e.image.url,
|
|
517
517
|
url: e.image.url
|
|
518
518
|
}];
|
|
519
|
-
}), s =
|
|
519
|
+
}), s = oe(!1);
|
|
520
520
|
function m() {
|
|
521
521
|
s.value = !0;
|
|
522
522
|
}
|
|
523
523
|
function p(u) {
|
|
524
524
|
e.callback(u), s.value = !1;
|
|
525
525
|
}
|
|
526
|
-
return (u, r) => (c(), D(
|
|
526
|
+
return (u, r) => (c(), D(Ie, {
|
|
527
527
|
"listing-id": u.id,
|
|
528
528
|
name: u.name,
|
|
529
529
|
description: u.description,
|
|
530
530
|
gallery: i.value,
|
|
531
|
-
layout: o(
|
|
531
|
+
layout: o(kt).Template,
|
|
532
532
|
"includes-breakfast": !1,
|
|
533
533
|
"hide-info-button": !1,
|
|
534
534
|
"prices-from": t.value
|
|
535
535
|
}, {
|
|
536
536
|
description: T(() => [
|
|
537
|
-
u.description ? (c(),
|
|
537
|
+
u.description ? (c(), f("p", {
|
|
538
538
|
key: 0,
|
|
539
|
-
innerHTML: o(
|
|
540
|
-
}, null, 8,
|
|
539
|
+
innerHTML: o(gt)(u.description)
|
|
540
|
+
}, null, 8, tl)) : _("", !0)
|
|
541
541
|
]),
|
|
542
542
|
action: T(() => [
|
|
543
|
-
a("div",
|
|
543
|
+
a("div", ol, [
|
|
544
544
|
g(pe, {
|
|
545
545
|
onClickEvent: m,
|
|
546
546
|
label: o(l)("booking.availability.selectPackage"),
|
|
@@ -549,7 +549,7 @@ const Jo = /* @__PURE__ */ Z({
|
|
|
549
549
|
])
|
|
550
550
|
]),
|
|
551
551
|
default: T(() => [
|
|
552
|
-
g(
|
|
552
|
+
g(_t, {
|
|
553
553
|
modelValue: s.value,
|
|
554
554
|
"onUpdate:modelValue": r[0] || (r[0] = (d) => s.value = d),
|
|
555
555
|
title: u.name,
|
|
@@ -562,7 +562,7 @@ const Jo = /* @__PURE__ */ Z({
|
|
|
562
562
|
_: 1
|
|
563
563
|
}, 8, ["listing-id", "name", "description", "gallery", "layout", "prices-from"]));
|
|
564
564
|
}
|
|
565
|
-
}),
|
|
565
|
+
}), nl = ["innerHTML"], al = { class: "konnectio-special-offer-availability" }, il = { class: "konnectio-special-offer-availability-button" }, sl = /* @__PURE__ */ X({
|
|
566
566
|
__name: "SpecialOffer",
|
|
567
567
|
props: {
|
|
568
568
|
id: {},
|
|
@@ -576,12 +576,12 @@ const Jo = /* @__PURE__ */ Z({
|
|
|
576
576
|
callback: { type: Function }
|
|
577
577
|
},
|
|
578
578
|
setup(n) {
|
|
579
|
-
const { t: l } =
|
|
579
|
+
const { t: l } = ne(), { updateDates: e } = Ke(), t = n, i = oe([]), s = G(() => qe(t.fromDate, t.toDate) === 1), m = G(() => [{
|
|
580
580
|
large: t.image.url,
|
|
581
581
|
medium: t.image.url,
|
|
582
582
|
thumb: t.image.url,
|
|
583
583
|
url: t.image.url
|
|
584
|
-
}]), p =
|
|
584
|
+
}]), p = oe(!1);
|
|
585
585
|
function u(d) {
|
|
586
586
|
t.callback(d), p.value = !1;
|
|
587
587
|
}
|
|
@@ -590,28 +590,28 @@ const Jo = /* @__PURE__ */ Z({
|
|
|
590
590
|
}
|
|
591
591
|
return Je(() => {
|
|
592
592
|
s.value && (i.value = [new Date(t.fromDate), new Date(t.toDate)]);
|
|
593
|
-
}), (d,
|
|
593
|
+
}), (d, h) => (c(), D(Ie, {
|
|
594
594
|
"listing-id": d.id,
|
|
595
595
|
name: d.name,
|
|
596
596
|
description: d.description,
|
|
597
597
|
gallery: m.value,
|
|
598
|
-
layout: o(
|
|
598
|
+
layout: o(kt).Template,
|
|
599
599
|
"includes-breakfast": !1,
|
|
600
600
|
"hide-info-button": !1,
|
|
601
601
|
"to-date": d.toDate,
|
|
602
602
|
"from-date": d.fromDate
|
|
603
603
|
}, {
|
|
604
604
|
description: T(() => [
|
|
605
|
-
d.description ? (c(),
|
|
605
|
+
d.description ? (c(), f("p", {
|
|
606
606
|
key: 0,
|
|
607
|
-
innerHTML: o(
|
|
608
|
-
}, null, 8,
|
|
607
|
+
innerHTML: o(gt)(d.description)
|
|
608
|
+
}, null, 8, nl)) : _("", !0)
|
|
609
609
|
]),
|
|
610
610
|
action: T(() => [
|
|
611
|
-
a("div",
|
|
612
|
-
g(
|
|
611
|
+
a("div", al, [
|
|
612
|
+
g(bt, {
|
|
613
613
|
modelValue: i.value,
|
|
614
|
-
"onUpdate:modelValue":
|
|
614
|
+
"onUpdate:modelValue": h[0] || (h[0] = (V) => i.value = V),
|
|
615
615
|
label: o(l)("availability.checkInOut"),
|
|
616
616
|
placeholder: o(l)("booking.availability.selectDates"),
|
|
617
617
|
"icon-type": "fas",
|
|
@@ -623,18 +623,18 @@ const Jo = /* @__PURE__ */ Z({
|
|
|
623
623
|
readonly: s.value,
|
|
624
624
|
range: ""
|
|
625
625
|
}, null, 8, ["modelValue", "label", "placeholder", "start-date", "min-date", "max-date", "readonly"]),
|
|
626
|
-
a("div",
|
|
626
|
+
a("div", il, [
|
|
627
627
|
g(pe, {
|
|
628
628
|
label: o(l)("availability.buttonLabel"),
|
|
629
|
-
onClick:
|
|
629
|
+
onClick: Ce(r, ["prevent"])
|
|
630
630
|
}, null, 8, ["label"])
|
|
631
631
|
])
|
|
632
632
|
])
|
|
633
633
|
]),
|
|
634
634
|
default: T(() => [
|
|
635
|
-
g(
|
|
635
|
+
g(_t, {
|
|
636
636
|
modelValue: p.value,
|
|
637
|
-
"onUpdate:modelValue":
|
|
637
|
+
"onUpdate:modelValue": h[1] || (h[1] = (V) => p.value = V),
|
|
638
638
|
title: d.name,
|
|
639
639
|
"template-id": d.id,
|
|
640
640
|
roomGroups: d.roomGroups,
|
|
@@ -644,7 +644,7 @@ const Jo = /* @__PURE__ */ Z({
|
|
|
644
644
|
_: 1
|
|
645
645
|
}, 8, ["listing-id", "name", "description", "gallery", "layout", "to-date", "from-date"]));
|
|
646
646
|
}
|
|
647
|
-
}),
|
|
647
|
+
}), rt = /* @__PURE__ */ X({
|
|
648
648
|
__name: "TimeField",
|
|
649
649
|
props: {
|
|
650
650
|
modelValue: {},
|
|
@@ -673,10 +673,10 @@ const Jo = /* @__PURE__ */ Z({
|
|
|
673
673
|
function i(m) {
|
|
674
674
|
e("update:modelValue", m);
|
|
675
675
|
}
|
|
676
|
-
const s =
|
|
677
|
-
return
|
|
676
|
+
const s = oe(t.modelValue);
|
|
677
|
+
return we(s, (m) => {
|
|
678
678
|
i(m);
|
|
679
|
-
}), (m, p) => (c(), D(
|
|
679
|
+
}), (m, p) => (c(), D(bt, {
|
|
680
680
|
modelValue: s.value,
|
|
681
681
|
"onUpdate:modelValue": p[0] || (p[0] = (u) => s.value = u),
|
|
682
682
|
type: "time",
|
|
@@ -691,7 +691,7 @@ const Jo = /* @__PURE__ */ Z({
|
|
|
691
691
|
readonly: m.readonly
|
|
692
692
|
}, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
|
|
693
693
|
}
|
|
694
|
-
}),
|
|
694
|
+
}), rl = { style: { display: "flex", "align-items": "baseline" } }, dl = /* @__PURE__ */ X({
|
|
695
695
|
__name: "CountryField",
|
|
696
696
|
props: {
|
|
697
697
|
modelValue: {},
|
|
@@ -703,7 +703,7 @@ const Jo = /* @__PURE__ */ Z({
|
|
|
703
703
|
},
|
|
704
704
|
emits: ["update:modelValue"],
|
|
705
705
|
setup(n, { emit: l }) {
|
|
706
|
-
const { t: e } =
|
|
706
|
+
const { t: e } = ne(), t = l, i = n;
|
|
707
707
|
function s(p) {
|
|
708
708
|
t("update:modelValue", p);
|
|
709
709
|
}
|
|
@@ -728,7 +728,7 @@ const Jo = /* @__PURE__ */ Z({
|
|
|
728
728
|
a("span", null, y(r.name), 1)
|
|
729
729
|
]),
|
|
730
730
|
"selected-option": T(({ data: r }) => [
|
|
731
|
-
a("div",
|
|
731
|
+
a("div", rl, [
|
|
732
732
|
a("i", {
|
|
733
733
|
class: Pe(["konnectio-flag-icon", r.iso])
|
|
734
734
|
}, null, 2),
|
|
@@ -738,7 +738,7 @@ const Jo = /* @__PURE__ */ Z({
|
|
|
738
738
|
_: 1
|
|
739
739
|
}, 8, ["modelValue", "label", "placeholder", "options", "required"]));
|
|
740
740
|
}
|
|
741
|
-
}),
|
|
741
|
+
}), ul = /* @__PURE__ */ ue(dl, [["__scopeId", "data-v-1462612d"]]), cl = /* @__PURE__ */ X({
|
|
742
742
|
__name: "NameField",
|
|
743
743
|
props: {
|
|
744
744
|
modelValue: {},
|
|
@@ -760,17 +760,17 @@ const Jo = /* @__PURE__ */ Z({
|
|
|
760
760
|
},
|
|
761
761
|
emits: ["update:modelValue", "update:title"],
|
|
762
762
|
setup(n, { emit: l }) {
|
|
763
|
-
const e = n, t = l, i = e.id ||
|
|
763
|
+
const e = n, t = l, i = e.id || at(), s = oe(""), m = oe(2);
|
|
764
764
|
function p() {
|
|
765
765
|
t("update:modelValue", s.value);
|
|
766
766
|
}
|
|
767
|
-
|
|
767
|
+
we(m, (r) => {
|
|
768
768
|
t("update:title", r);
|
|
769
769
|
});
|
|
770
|
-
const { t: u } =
|
|
770
|
+
const { t: u } = ne();
|
|
771
771
|
return Je(() => {
|
|
772
772
|
e.modelValue && (s.value = e.modelValue), e.title && (m.value = e.title);
|
|
773
|
-
}), (r, d) => (c(), D(
|
|
773
|
+
}), (r, d) => (c(), D(no, {
|
|
774
774
|
label: r.label,
|
|
775
775
|
id: o(i),
|
|
776
776
|
required: r.required,
|
|
@@ -788,8 +788,8 @@ const Jo = /* @__PURE__ */ Z({
|
|
|
788
788
|
r.excludeTitle ? _("", !0) : (c(), D(He, {
|
|
789
789
|
key: 0,
|
|
790
790
|
modelValue: m.value,
|
|
791
|
-
"onUpdate:modelValue": d[0] || (d[0] = (
|
|
792
|
-
id: o(
|
|
791
|
+
"onUpdate:modelValue": d[0] || (d[0] = (h) => m.value = h),
|
|
792
|
+
id: o(at)(),
|
|
793
793
|
icon: r.icon,
|
|
794
794
|
"icon-color": r.iconColor,
|
|
795
795
|
"icon-type": r.iconType,
|
|
@@ -822,7 +822,7 @@ const Jo = /* @__PURE__ */ Z({
|
|
|
822
822
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly", "input-style"])),
|
|
823
823
|
g(se, {
|
|
824
824
|
modelValue: s.value,
|
|
825
|
-
"onUpdate:modelValue": d[1] || (d[1] = (
|
|
825
|
+
"onUpdate:modelValue": d[1] || (d[1] = (h) => s.value = h),
|
|
826
826
|
type: "text",
|
|
827
827
|
name: "name",
|
|
828
828
|
autocomplete: "name",
|
|
@@ -834,7 +834,7 @@ const Jo = /* @__PURE__ */ Z({
|
|
|
834
834
|
required: r.required,
|
|
835
835
|
readonly: r.readonly,
|
|
836
836
|
limit: r.limit,
|
|
837
|
-
onInput: d[2] || (d[2] = (
|
|
837
|
+
onInput: d[2] || (d[2] = (h) => p()),
|
|
838
838
|
"input-style": r.inputStyle
|
|
839
839
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "placeholder", "required", "readonly", "limit", "input-style"])
|
|
840
840
|
], 2)
|
|
@@ -842,69 +842,69 @@ const Jo = /* @__PURE__ */ Z({
|
|
|
842
842
|
_: 1
|
|
843
843
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
844
844
|
}
|
|
845
|
-
}),
|
|
845
|
+
}), pl = /* @__PURE__ */ ue(cl, [["__scopeId", "data-v-78b0b319"]]), ml = { class: "hotel-skeleton" }, fl = { class: "hotel-skeleton-content" }, hl = { class: "hotel-skeleton-sidebar" }, vl = /* @__PURE__ */ X({
|
|
846
846
|
__name: "HotelSkeleton",
|
|
847
847
|
setup(n) {
|
|
848
|
-
return (l, e) => (c(),
|
|
849
|
-
a("div",
|
|
850
|
-
g(
|
|
851
|
-
g(
|
|
848
|
+
return (l, e) => (c(), f("div", ml, [
|
|
849
|
+
a("div", fl, [
|
|
850
|
+
g(To, { hotel: "" }),
|
|
851
|
+
g(vo)
|
|
852
852
|
]),
|
|
853
|
-
a("div",
|
|
854
|
-
g(
|
|
853
|
+
a("div", hl, [
|
|
854
|
+
g(yo)
|
|
855
855
|
])
|
|
856
856
|
]));
|
|
857
857
|
}
|
|
858
|
-
}),
|
|
859
|
-
const
|
|
858
|
+
}), yl = /* @__PURE__ */ ue(vl, [["__scopeId", "data-v-1bb21da4"]]), Ye = (n) => (ht("data-v-27fc0ab8"), n = n(), vt(), n), gl = { id: "booking-availability-container" }, kl = { id: "booking-availability-controls" };
|
|
859
|
+
const bl = { key: 1 }, _l = { key: 0 }, Vl = {
|
|
860
860
|
key: 0,
|
|
861
861
|
id: "booking-availability-packages"
|
|
862
|
-
},
|
|
862
|
+
}, Tl = {
|
|
863
863
|
key: 0,
|
|
864
864
|
class: "konnectio-hotel-availability-title"
|
|
865
|
-
},
|
|
865
|
+
}, $l = { id: "booking-availability-packages-wrapper" }, Cl = { key: 1 }, wl = {
|
|
866
866
|
key: 0,
|
|
867
867
|
class: "konnectio-hotel-availability-title"
|
|
868
|
-
},
|
|
868
|
+
}, Pl = { id: "konnectio-listings" }, Al = {
|
|
869
869
|
key: 2,
|
|
870
870
|
id: "booking-availability-packages"
|
|
871
|
-
},
|
|
871
|
+
}, Dl = {
|
|
872
872
|
key: 0,
|
|
873
873
|
class: "konnectio-hotel-availability-title"
|
|
874
|
-
},
|
|
874
|
+
}, Hl = { id: "booking-availability-packages-wrapper" }, Il = {
|
|
875
875
|
key: 3,
|
|
876
876
|
id: "booking-availability-no-listings",
|
|
877
877
|
class: "konnectio-panel"
|
|
878
|
-
},
|
|
878
|
+
}, Sl = {
|
|
879
879
|
key: 1,
|
|
880
880
|
id: "booking-availability-no-listings"
|
|
881
|
-
},
|
|
881
|
+
}, Bl = {
|
|
882
882
|
key: 2,
|
|
883
883
|
id: "reservation-availability-next-dates"
|
|
884
|
-
},
|
|
885
|
-
const
|
|
884
|
+
}, El = { class: "konnectio-hotel-availability-title" }, Ml = { class: "reservation-special-offers-grid" }, Ul = ["title"];
|
|
885
|
+
const Rl = {
|
|
886
886
|
key: 2,
|
|
887
887
|
class: "konnectio-listing-loading"
|
|
888
|
-
},
|
|
888
|
+
}, Ll = { class: "konnectio-panel" }, Nl = {
|
|
889
889
|
key: 0,
|
|
890
890
|
id: "konnectio-hotel-addons"
|
|
891
891
|
};
|
|
892
|
-
const
|
|
892
|
+
const Fl = { class: "konnectio-event-addons-price" }, Ol = { key: 1 }, jl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("br", null, null, -1)), Gl = { class: "konnectio-hotel-addons-option" }, ql = {
|
|
893
893
|
key: 1,
|
|
894
894
|
id: "konnectio-hotel-addons"
|
|
895
|
-
},
|
|
896
|
-
const
|
|
895
|
+
}, Wl = { class: "konnectio-table with-lines" };
|
|
896
|
+
const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-event-addons-price" }, null, -1)), zl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("br", null, null, -1)), xl = { class: "konnectio-hotel-addons-option" }, Jl = ["onClick"], Yl = { class: "konnectio-panel" }, Xl = { key: 0 }, Zl = { key: 1 }, Ql = { class: "konnectio-split-inputs" }, en = ["onClick"], tn = /* @__PURE__ */ X({
|
|
897
897
|
name: "HotelLayout",
|
|
898
898
|
__name: "Hotel",
|
|
899
899
|
props: {
|
|
900
900
|
accessToken: {},
|
|
901
|
-
headerLayout: { default:
|
|
901
|
+
headerLayout: { default: ao.Minimal },
|
|
902
902
|
onlyShow: { default: "everything" },
|
|
903
903
|
hideAddons: { default: "no" },
|
|
904
904
|
styling: {}
|
|
905
905
|
},
|
|
906
906
|
setup(n) {
|
|
907
|
-
const l =
|
|
907
|
+
const l = Qt(() => import("./_-C7wxqlYk.js")), e = n, { t } = ne(), {
|
|
908
908
|
templateID: i,
|
|
909
909
|
templateAddons: s,
|
|
910
910
|
countries: m,
|
|
@@ -912,57 +912,57 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
912
912
|
isPaymentLoading: u,
|
|
913
913
|
isReservationFormFilled: r,
|
|
914
914
|
travelingFor: d,
|
|
915
|
-
arrivalTime:
|
|
915
|
+
arrivalTime: h,
|
|
916
916
|
departureTime: V,
|
|
917
917
|
name: P,
|
|
918
|
-
nameTitle:
|
|
919
|
-
email:
|
|
918
|
+
nameTitle: $,
|
|
919
|
+
email: S,
|
|
920
920
|
phone: B,
|
|
921
921
|
firmName: k,
|
|
922
922
|
postal: C,
|
|
923
923
|
city: H,
|
|
924
924
|
address: O,
|
|
925
925
|
country: R,
|
|
926
|
-
remark:
|
|
926
|
+
remark: Y,
|
|
927
927
|
allergies: L,
|
|
928
|
-
roomSelect:
|
|
929
|
-
roomDisplay:
|
|
928
|
+
roomSelect: x,
|
|
929
|
+
roomDisplay: Z,
|
|
930
930
|
hasValidRoomSelection: be,
|
|
931
931
|
availabilityData: j,
|
|
932
932
|
selectionHasNoAddons: he,
|
|
933
933
|
isAvailabilityDataAvailable: ce,
|
|
934
934
|
getSelectedPackageRoom: fe,
|
|
935
|
-
selectedPackage:
|
|
936
|
-
} =
|
|
937
|
-
adults:
|
|
938
|
-
children:
|
|
935
|
+
selectedPackage: le
|
|
936
|
+
} = te(me()), {
|
|
937
|
+
adults: q,
|
|
938
|
+
children: E,
|
|
939
939
|
location: ve,
|
|
940
|
-
arrivalDate:
|
|
941
|
-
departureDate:
|
|
942
|
-
} =
|
|
943
|
-
currency:
|
|
944
|
-
arrivalEarliest:
|
|
945
|
-
arrivalLatest:
|
|
946
|
-
departureEarliest:
|
|
947
|
-
departureLatest:
|
|
948
|
-
enableTracking:
|
|
949
|
-
|
|
950
|
-
departureDefault: Pt,
|
|
951
|
-
hideArrivalDepartureInputs: At,
|
|
940
|
+
arrivalDate: Se,
|
|
941
|
+
departureDate: _e
|
|
942
|
+
} = te(Ke()), { isValidHotelId: Be, updateDates: ae } = Ke(), {
|
|
943
|
+
currency: ye,
|
|
944
|
+
arrivalEarliest: Ze,
|
|
945
|
+
arrivalLatest: wt,
|
|
946
|
+
departureEarliest: Pt,
|
|
947
|
+
departureLatest: At,
|
|
948
|
+
enableTracking: Dt,
|
|
949
|
+
hideArrivalDepartureInputs: Ht,
|
|
952
950
|
disableArrivalUserSelection: Ee,
|
|
953
|
-
disableNamePrefix:
|
|
951
|
+
disableNamePrefix: It,
|
|
954
952
|
disableDepartureUserSelection: Me,
|
|
955
|
-
disableTravelingFor:
|
|
956
|
-
disableTravelingForBleasure:
|
|
957
|
-
disableCompanyField:
|
|
958
|
-
hasPaymentGateway:
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
953
|
+
disableTravelingFor: St,
|
|
954
|
+
disableTravelingForBleasure: Bt,
|
|
955
|
+
disableCompanyField: Et,
|
|
956
|
+
hasPaymentGateway: Mt,
|
|
957
|
+
maxAdultAmount: Qe,
|
|
958
|
+
maxChildAmount: et
|
|
959
|
+
} = te(ke()), { beginCheckout: Ut } = yt(), { display: Ue } = io(), {
|
|
960
|
+
resetTemplate: Rt,
|
|
961
|
+
resetDiscountVoucher: Lt,
|
|
962
|
+
createReservation: Nt,
|
|
963
|
+
fetchMetadata: Ft,
|
|
964
|
+
fetchAvailabilityData: Ot
|
|
965
|
+
} = me(), jt = oe(!0), Gt = G(() => {
|
|
966
966
|
const b = [
|
|
967
967
|
{
|
|
968
968
|
label: t("booking.reservation.business"),
|
|
@@ -973,76 +973,80 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
973
973
|
value: "Pleasure"
|
|
974
974
|
}
|
|
975
975
|
];
|
|
976
|
-
return
|
|
976
|
+
return Bt.value || b.push({
|
|
977
977
|
label: t("booking.reservation.bleasure"),
|
|
978
978
|
value: "Bleasure"
|
|
979
979
|
}), b;
|
|
980
|
-
}),
|
|
980
|
+
}), qt = G(() => {
|
|
981
981
|
const b = j.value.roomGroups.slice();
|
|
982
|
-
function
|
|
983
|
-
return
|
|
982
|
+
function w(W, A) {
|
|
983
|
+
return jt.value === !0 ? W.pricesFrom > A.pricesFrom ? -1 : 1 : W.pricesFrom > A.pricesFrom ? 1 : -1;
|
|
984
984
|
}
|
|
985
|
-
return b.sort(
|
|
986
|
-
}),
|
|
987
|
-
parseInt(
|
|
988
|
-
parseInt(
|
|
989
|
-
]]),
|
|
990
|
-
parseInt(
|
|
991
|
-
parseInt(
|
|
985
|
+
return b.sort(w);
|
|
986
|
+
}), Wt = G(() => [[
|
|
987
|
+
parseInt(Ze.value.split(":")[0]),
|
|
988
|
+
parseInt(wt.value.split(":")[0])
|
|
989
|
+
]]), Kt = G(() => [[
|
|
990
|
+
parseInt(Pt.value.split(":")[0]),
|
|
991
|
+
parseInt(At.value.split(":")[0])
|
|
992
992
|
]]);
|
|
993
|
-
function
|
|
994
|
-
e.hideAddons === "yes" || he.value ? b(2) : b(),
|
|
995
|
-
}
|
|
996
|
-
function qt(b, $) {
|
|
997
|
-
ye.value = new Date($), _e.value = new Date(b), Ze();
|
|
993
|
+
function tt(b) {
|
|
994
|
+
e.hideAddons === "yes" || he.value ? b(2) : b(), Lt();
|
|
998
995
|
}
|
|
999
|
-
async function
|
|
1000
|
-
await
|
|
996
|
+
async function zt(b) {
|
|
997
|
+
await Nt(b);
|
|
1001
998
|
}
|
|
1002
|
-
function
|
|
1003
|
-
|
|
1004
|
-
}
|
|
1005
|
-
function zt() {
|
|
1006
|
-
f.value === "" && (f.value = Ct.value), V.value === "" && (V.value = Pt.value);
|
|
999
|
+
function xt(b) {
|
|
1000
|
+
Dt.value && Ut(), e.hideAddons === "yes" || he.value ? b(2) : b();
|
|
1007
1001
|
}
|
|
1008
1002
|
function Jt() {
|
|
1009
|
-
const b =
|
|
1003
|
+
const b = ro("hash-params", {
|
|
1010
1004
|
removeNullishValues: !0
|
|
1011
|
-
}),
|
|
1012
|
-
isNaN(
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
}
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1005
|
+
}), w = parseInt(b.adults), W = parseInt(b.children), A = parseInt(b.hId), v = b.checkin, K = b.checkout, U = b.roomGroupId;
|
|
1006
|
+
if (isNaN(w) || (w > Qe.value ? q.value = Qe.value : q.value = w, b.adults = void 0), isNaN(W) || (W > et.value ? E.value = et.value : E.value = W, b.children = void 0), isNaN(A) || (Be(A) ? (ve.value = A, b.hId = void 0) : Ue({
|
|
1007
|
+
message: "Hotel ID: not found",
|
|
1008
|
+
type: "error"
|
|
1009
|
+
})), v && K)
|
|
1010
|
+
if (st(v) && st(K)) {
|
|
1011
|
+
const Q = new Date(v), J = new Date(K);
|
|
1012
|
+
Q <= J ? (Se.value = Q, _e.value = J, b.checkin = void 0, b.checkout = void 0) : Ue({
|
|
1013
|
+
message: "Invalid date range",
|
|
1014
|
+
type: "error"
|
|
1015
|
+
});
|
|
1016
|
+
} else
|
|
1017
|
+
Ue({
|
|
1018
|
+
message: "Check-in or check-out illformed",
|
|
1019
|
+
type: "error"
|
|
1020
|
+
});
|
|
1021
|
+
let I = null;
|
|
1022
|
+
U && (I = U), Ot(I);
|
|
1019
1023
|
}
|
|
1020
|
-
return (b,
|
|
1024
|
+
return (b, w) => (c(), D(so, { styling: b.styling }, {
|
|
1021
1025
|
default: T(() => [
|
|
1022
|
-
(c(), D(
|
|
1026
|
+
(c(), D(Zt, { onResolve: Jt }, {
|
|
1023
1027
|
default: T(() => [
|
|
1024
1028
|
g(o(l), {
|
|
1025
1029
|
id: "konnectio-hotel-module",
|
|
1026
1030
|
"access-token": b.accessToken,
|
|
1027
|
-
callback: o(
|
|
1031
|
+
callback: o(Ft)
|
|
1028
1032
|
}, {
|
|
1029
1033
|
default: T(() => [
|
|
1030
|
-
g(
|
|
1034
|
+
g(go, {
|
|
1031
1035
|
layout: b.headerLayout,
|
|
1032
|
-
onReset: o(
|
|
1036
|
+
onReset: o(Rt)
|
|
1033
1037
|
}, {
|
|
1034
|
-
availability: T(({ next:
|
|
1035
|
-
g(
|
|
1038
|
+
availability: T(({ next: W }) => [
|
|
1039
|
+
g(Oe, null, {
|
|
1036
1040
|
form: T(() => [
|
|
1037
|
-
a("div",
|
|
1038
|
-
a("div",
|
|
1039
|
-
g(
|
|
1041
|
+
a("div", gl, [
|
|
1042
|
+
a("div", kl, [
|
|
1043
|
+
g($o, { booking: !0 })
|
|
1040
1044
|
]),
|
|
1041
1045
|
_("", !0),
|
|
1042
|
-
!o(p) && o(ce) ? (c(),
|
|
1043
|
-
o(j).roomGroups.length > 0 || o(j).templates.length > 0 || o(j).specialTemplates.length > 0 ? (c(),
|
|
1044
|
-
o(j).templates.length > 0 && b.onlyShow !== "rooms" ? (c(),
|
|
1045
|
-
b.onlyShow !== "packages" ? (c(),
|
|
1046
|
+
!o(p) && o(ce) ? (c(), f("div", bl, [
|
|
1047
|
+
o(j).roomGroups.length > 0 || o(j).templates.length > 0 || o(j).specialTemplates.length > 0 ? (c(), f("div", _l, [
|
|
1048
|
+
o(j).templates.length > 0 && b.onlyShow !== "rooms" ? (c(), f("div", Vl, [
|
|
1049
|
+
b.onlyShow !== "packages" ? (c(), f("h2", Tl, [
|
|
1046
1050
|
g(z, {
|
|
1047
1051
|
icon: "box",
|
|
1048
1052
|
type: "fal",
|
|
@@ -1050,29 +1054,29 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1050
1054
|
}),
|
|
1051
1055
|
a("span", null, y(o(t)("booking.availability.packagesTitle")), 1)
|
|
1052
1056
|
])) : _("", !0),
|
|
1053
|
-
a("ul",
|
|
1054
|
-
(c(!0),
|
|
1057
|
+
a("ul", $l, [
|
|
1058
|
+
(c(!0), f(M, null, F(o(j).templates, ({
|
|
1055
1059
|
id: A,
|
|
1056
1060
|
name: v,
|
|
1057
|
-
templateRoomGroups:
|
|
1058
|
-
image:
|
|
1059
|
-
description:
|
|
1060
|
-
weekendFee:
|
|
1061
|
-
}) => (c(), D(
|
|
1061
|
+
templateRoomGroups: K,
|
|
1062
|
+
image: U,
|
|
1063
|
+
description: I,
|
|
1064
|
+
weekendFee: Q
|
|
1065
|
+
}) => (c(), D(ll, {
|
|
1062
1066
|
key: A,
|
|
1063
1067
|
id: A,
|
|
1064
|
-
description:
|
|
1068
|
+
description: I,
|
|
1065
1069
|
name: v,
|
|
1066
|
-
image:
|
|
1067
|
-
weekendFee:
|
|
1068
|
-
"room-groups":
|
|
1069
|
-
callback:
|
|
1070
|
+
image: U,
|
|
1071
|
+
weekendFee: Q,
|
|
1072
|
+
"room-groups": K,
|
|
1073
|
+
callback: W,
|
|
1070
1074
|
"hide-addons": b.hideAddons
|
|
1071
1075
|
}, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback", "hide-addons"]))), 128))
|
|
1072
1076
|
])
|
|
1073
1077
|
])) : _("", !0),
|
|
1074
|
-
o(j).roomGroups.length > 0 && b.onlyShow !== "packages" ? (c(),
|
|
1075
|
-
o(j).templates.length > 0 && b.onlyShow !== "rooms" ? (c(),
|
|
1078
|
+
o(j).roomGroups.length > 0 && b.onlyShow !== "packages" ? (c(), f("div", Cl, [
|
|
1079
|
+
o(j).templates.length > 0 && b.onlyShow !== "rooms" ? (c(), f("h2", wl, [
|
|
1076
1080
|
g(z, {
|
|
1077
1081
|
icon: "house",
|
|
1078
1082
|
type: "fal",
|
|
@@ -1080,15 +1084,15 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1080
1084
|
}),
|
|
1081
1085
|
a("span", null, y(o(t)("booking.availability.roomsTitle")), 1)
|
|
1082
1086
|
])) : _("", !0),
|
|
1083
|
-
a("ul",
|
|
1084
|
-
(c(!0),
|
|
1087
|
+
a("ul", Pl, [
|
|
1088
|
+
(c(!0), f(M, null, F(qt.value, (A, v) => (c(), D(Xo, {
|
|
1085
1089
|
room: A,
|
|
1086
1090
|
key: v
|
|
1087
1091
|
}, null, 8, ["room"]))), 128))
|
|
1088
1092
|
])
|
|
1089
1093
|
])) : _("", !0),
|
|
1090
|
-
o(j).specialTemplates.length > 0 && b.onlyShow !== "rooms" ? (c(),
|
|
1091
|
-
b.onlyShow !== "packages" ? (c(),
|
|
1094
|
+
o(j).specialTemplates.length > 0 && b.onlyShow !== "rooms" ? (c(), f("div", Al, [
|
|
1095
|
+
b.onlyShow !== "packages" ? (c(), f("h2", Dl, [
|
|
1092
1096
|
g(z, {
|
|
1093
1097
|
icon: "sparkles",
|
|
1094
1098
|
type: "fal",
|
|
@@ -1096,37 +1100,37 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1096
1100
|
}),
|
|
1097
1101
|
a("span", null, y(o(t)("hotel.specialOffers")), 1)
|
|
1098
1102
|
])) : _("", !0),
|
|
1099
|
-
a("ul",
|
|
1100
|
-
(c(!0),
|
|
1103
|
+
a("ul", Hl, [
|
|
1104
|
+
(c(!0), f(M, null, F(o(j).specialTemplates, ({
|
|
1101
1105
|
id: A,
|
|
1102
1106
|
name: v,
|
|
1103
|
-
templateRoomGroups:
|
|
1104
|
-
image:
|
|
1105
|
-
description:
|
|
1106
|
-
weekendFee:
|
|
1107
|
-
fromDate:
|
|
1108
|
-
toDate:
|
|
1109
|
-
}) => (c(), D(
|
|
1107
|
+
templateRoomGroups: K,
|
|
1108
|
+
image: U,
|
|
1109
|
+
description: I,
|
|
1110
|
+
weekendFee: Q,
|
|
1111
|
+
fromDate: J,
|
|
1112
|
+
toDate: Re
|
|
1113
|
+
}) => (c(), D(sl, {
|
|
1110
1114
|
key: A,
|
|
1111
1115
|
id: A,
|
|
1112
|
-
description:
|
|
1116
|
+
description: I,
|
|
1113
1117
|
name: v,
|
|
1114
|
-
image:
|
|
1115
|
-
fromDate:
|
|
1116
|
-
toDate:
|
|
1117
|
-
weekendFee:
|
|
1118
|
-
"room-groups":
|
|
1119
|
-
callback:
|
|
1118
|
+
image: U,
|
|
1119
|
+
fromDate: J,
|
|
1120
|
+
toDate: Re,
|
|
1121
|
+
weekendFee: Q,
|
|
1122
|
+
"room-groups": K,
|
|
1123
|
+
callback: W
|
|
1120
1124
|
}, null, 8, ["id", "description", "name", "image", "fromDate", "toDate", "weekendFee", "room-groups", "callback"]))), 128))
|
|
1121
1125
|
])
|
|
1122
1126
|
])) : _("", !0),
|
|
1123
|
-
(o(j).templates.length === 0 && b.onlyShow !== "rooms" || o(j).roomGroups.length === 0 && b.onlyShow !== "packages") && (b.onlyShow === "rooms" || b.onlyShow === "packages") ? (c(),
|
|
1127
|
+
(o(j).templates.length === 0 && b.onlyShow !== "rooms" || o(j).roomGroups.length === 0 && b.onlyShow !== "packages") && (b.onlyShow === "rooms" || b.onlyShow === "packages") ? (c(), f("div", Il, [
|
|
1124
1128
|
a("span", null, y(o(t)("booking.availability.nothingAvailable")), 1)
|
|
1125
1129
|
])) : _("", !0)
|
|
1126
|
-
])) : o(j).nextAvailableDates.length === 0 ? (c(),
|
|
1130
|
+
])) : o(j).nextAvailableDates.length === 0 ? (c(), f("div", Sl, [
|
|
1127
1131
|
a("span", null, y(o(t)("booking.availability.nothingAvailable")), 1)
|
|
1128
|
-
])) : (c(),
|
|
1129
|
-
a("h2",
|
|
1132
|
+
])) : (c(), f("div", Bl, [
|
|
1133
|
+
a("h2", El, [
|
|
1130
1134
|
g(z, {
|
|
1131
1135
|
icon: "calendar-circle-exclamation",
|
|
1132
1136
|
type: "fal",
|
|
@@ -1134,13 +1138,13 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1134
1138
|
}),
|
|
1135
1139
|
a("span", null, y(o(t)("booking.availability.nextAvailableDates")), 1)
|
|
1136
1140
|
]),
|
|
1137
|
-
a("ul",
|
|
1138
|
-
(c(!0),
|
|
1141
|
+
a("ul", Ml, [
|
|
1142
|
+
(c(!0), f(M, null, F(o(j).nextAvailableDates, (A, v) => (c(), f("li", { key: v }, [
|
|
1139
1143
|
a("h3", {
|
|
1140
1144
|
title: `${o(de)(A.fromDate)} - ${o(de)(A.toDate)}`
|
|
1141
1145
|
}, [
|
|
1142
1146
|
a("span", null, y(`${o(de)(A.fromDate)} - ${o(de)(A.toDate)}`), 1)
|
|
1143
|
-
], 8,
|
|
1147
|
+
], 8, Ul),
|
|
1144
1148
|
a("ul", null, [
|
|
1145
1149
|
_("", !0),
|
|
1146
1150
|
a("li", null, [
|
|
@@ -1149,21 +1153,21 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1149
1153
|
type: "fal",
|
|
1150
1154
|
color: "header"
|
|
1151
1155
|
}),
|
|
1152
|
-
a("span", null, y(o(t)("booking.availability.pricesFrom")) + ": " + y(o(
|
|
1156
|
+
a("span", null, y(o(t)("booking.availability.pricesFrom")) + ": " + y(o(ee)(A.priceStartFrom, o(ye))), 1)
|
|
1153
1157
|
])
|
|
1154
1158
|
]),
|
|
1155
1159
|
g(pe, {
|
|
1156
1160
|
label: o(t)("booking.availability.selectDates"),
|
|
1157
1161
|
"full-width": "",
|
|
1158
|
-
onClickEvent: (
|
|
1162
|
+
onClickEvent: (K) => o(ae)(new Date(A.fromDate), new Date(A.toDate))
|
|
1159
1163
|
}, null, 8, ["label", "onClickEvent"])
|
|
1160
1164
|
]))), 128))
|
|
1161
1165
|
])
|
|
1162
1166
|
]))
|
|
1163
|
-
])) : (c(),
|
|
1164
|
-
g(
|
|
1165
|
-
g(
|
|
1166
|
-
g(
|
|
1167
|
+
])) : (c(), f("div", Rl, [
|
|
1168
|
+
g(Fe),
|
|
1169
|
+
g(Fe),
|
|
1170
|
+
g(Fe)
|
|
1167
1171
|
]))
|
|
1168
1172
|
])
|
|
1169
1173
|
]),
|
|
@@ -1173,85 +1177,85 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1173
1177
|
disabled: !o(be),
|
|
1174
1178
|
"is-loading": !1,
|
|
1175
1179
|
"full-width": "",
|
|
1176
|
-
onClickEvent: (A) =>
|
|
1180
|
+
onClickEvent: (A) => xt(W)
|
|
1177
1181
|
}, null, 8, ["label", "disabled", "onClickEvent"])
|
|
1178
1182
|
]),
|
|
1179
1183
|
_: 2
|
|
1180
1184
|
}, 1024)
|
|
1181
1185
|
]),
|
|
1182
|
-
addons: T(({ next:
|
|
1183
|
-
o(ce) ? (c(), D(
|
|
1186
|
+
addons: T(({ next: W, prev: A }) => [
|
|
1187
|
+
o(ce) ? (c(), D(Oe, { key: 0 }, {
|
|
1184
1188
|
form: T(() => [
|
|
1185
|
-
a("form",
|
|
1189
|
+
a("form", Ll, [
|
|
1186
1190
|
a("h2", null, [
|
|
1187
1191
|
a("span", null, y(o(t)("booking.reservation.addons")), 1)
|
|
1188
1192
|
]),
|
|
1189
1193
|
a("div", null, [
|
|
1190
|
-
isNaN(o(i)) ? (c(),
|
|
1191
|
-
(c(!0),
|
|
1194
|
+
isNaN(o(i)) ? (c(), f("div", Nl, [
|
|
1195
|
+
(c(!0), f(M, null, F(o(Z), (v) => (c(), f("ul", {
|
|
1192
1196
|
key: v.roomGroupID
|
|
1193
1197
|
}, [
|
|
1194
|
-
(c(!0),
|
|
1195
|
-
key:
|
|
1198
|
+
(c(!0), f(M, null, F(v.variants, (K, U) => (c(), f("li", {
|
|
1199
|
+
key: K.ratePlanID
|
|
1196
1200
|
}, [
|
|
1197
1201
|
a("h4", null, [
|
|
1198
1202
|
a("span", null, y(o(re)(v.title)), 1)
|
|
1199
1203
|
]),
|
|
1200
|
-
(c(!0),
|
|
1201
|
-
key:
|
|
1204
|
+
(c(!0), f(M, null, F(K.rooms, (I, Q) => (c(), f("table", {
|
|
1205
|
+
key: Q,
|
|
1202
1206
|
class: "konnectio-table with-lines"
|
|
1203
1207
|
}, [
|
|
1204
1208
|
a("thead", null, [
|
|
1205
1209
|
a("tr", null, [
|
|
1206
1210
|
a("th", null, [
|
|
1207
|
-
a("span", null, y(o(re)(
|
|
1211
|
+
a("span", null, y(o(re)(K.name)), 1)
|
|
1208
1212
|
]),
|
|
1209
1213
|
_("", !0),
|
|
1210
|
-
a("th",
|
|
1214
|
+
a("th", Fl, [
|
|
1211
1215
|
a("b", null, [
|
|
1212
1216
|
g(z, {
|
|
1213
1217
|
icon: "male",
|
|
1214
1218
|
type: "fas",
|
|
1215
1219
|
color: "font"
|
|
1216
1220
|
}),
|
|
1217
|
-
a("span", null, y(
|
|
1218
|
-
|
|
1221
|
+
a("span", null, y(I.adultsCount), 1),
|
|
1222
|
+
I.childrenCount > 0 ? (c(), D(z, {
|
|
1219
1223
|
key: 0,
|
|
1220
1224
|
icon: "child",
|
|
1221
1225
|
type: "fas",
|
|
1222
1226
|
color: "font"
|
|
1223
1227
|
})) : _("", !0),
|
|
1224
|
-
|
|
1228
|
+
I.childrenCount > 0 ? (c(), f("span", Ol, y(I.childrenCount), 1)) : _("", !0)
|
|
1225
1229
|
])
|
|
1226
1230
|
])
|
|
1227
1231
|
])
|
|
1228
1232
|
]),
|
|
1229
1233
|
a("tbody", null, [
|
|
1230
|
-
(c(!0),
|
|
1231
|
-
quantityStrategy:
|
|
1232
|
-
maximumNumber:
|
|
1234
|
+
(c(!0), f(M, null, F(v.addons, ({
|
|
1235
|
+
quantityStrategy: J,
|
|
1236
|
+
maximumNumber: Re,
|
|
1233
1237
|
id: ge,
|
|
1234
|
-
name:
|
|
1238
|
+
name: Yt,
|
|
1235
1239
|
price: Xt
|
|
1236
|
-
}) => (c(),
|
|
1240
|
+
}) => (c(), f("tr", { key: ge }, [
|
|
1237
1241
|
a("td", null, [
|
|
1238
|
-
a("b", null, y(o(re)(
|
|
1239
|
-
|
|
1240
|
-
a("span", null, y(o(
|
|
1242
|
+
a("b", null, y(o(re)(Yt)), 1),
|
|
1243
|
+
jl,
|
|
1244
|
+
a("span", null, y(o(ee)(Xt, o(ye))) + " " + y(o(it)(J)), 1)
|
|
1241
1245
|
]),
|
|
1242
|
-
a("td",
|
|
1243
|
-
o(
|
|
1244
|
-
|
|
1246
|
+
a("td", Gl, [
|
|
1247
|
+
o(x)[v.roomGroupID][U].config[I.configIdx].addons[I.roomIdx] ? (c(), f(M, { key: 0 }, [
|
|
1248
|
+
J === 1 || J === 12 ? (c(), D(We, {
|
|
1245
1249
|
key: 0,
|
|
1246
|
-
modelValue: o(
|
|
1247
|
-
"onUpdate:modelValue": (
|
|
1250
|
+
modelValue: o(x)[v.roomGroupID][U].config[I.configIdx].addons[I.roomIdx][ge],
|
|
1251
|
+
"onUpdate:modelValue": (Le) => o(x)[v.roomGroupID][U].config[I.configIdx].addons[I.roomIdx][ge] = Le,
|
|
1248
1252
|
small: !0,
|
|
1249
1253
|
"min-value": 0,
|
|
1250
|
-
"max-value":
|
|
1254
|
+
"max-value": Re || 1 / 0
|
|
1251
1255
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (c(), D(Ae, {
|
|
1252
1256
|
key: 1,
|
|
1253
|
-
modelValue: o(
|
|
1254
|
-
"onUpdate:modelValue": (
|
|
1257
|
+
modelValue: o(x)[v.roomGroupID][U].config[I.configIdx].addons[I.roomIdx][ge],
|
|
1258
|
+
"onUpdate:modelValue": (Le) => o(x)[v.roomGroupID][U].config[I.configIdx].addons[I.roomIdx][ge] = Le,
|
|
1255
1259
|
numeric: !0
|
|
1256
1260
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
1257
1261
|
], 64)) : _("", !0)
|
|
@@ -1261,46 +1265,46 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1261
1265
|
]))), 128))
|
|
1262
1266
|
]))), 128))
|
|
1263
1267
|
]))), 128))
|
|
1264
|
-
])) : o(fe) ? (c(),
|
|
1268
|
+
])) : o(fe) ? (c(), f("div", ql, [
|
|
1265
1269
|
a("div", null, [
|
|
1266
1270
|
a("h4", null, [
|
|
1267
|
-
a("span", null, y(o(
|
|
1271
|
+
a("span", null, y(o(le).name), 1)
|
|
1268
1272
|
]),
|
|
1269
|
-
a("table",
|
|
1273
|
+
a("table", Wl, [
|
|
1270
1274
|
a("thead", null, [
|
|
1271
1275
|
a("tr", null, [
|
|
1272
1276
|
a("th", null, [
|
|
1273
1277
|
a("span", null, y(o(re)(o(fe).title)), 1)
|
|
1274
1278
|
]),
|
|
1275
1279
|
_("", !0),
|
|
1276
|
-
|
|
1280
|
+
Kl
|
|
1277
1281
|
])
|
|
1278
1282
|
]),
|
|
1279
1283
|
a("tbody", null, [
|
|
1280
|
-
(c(!0),
|
|
1284
|
+
(c(!0), f(M, null, F(o(fe).addons, ({
|
|
1281
1285
|
quantityStrategy: v,
|
|
1282
|
-
maximumNumber:
|
|
1283
|
-
id:
|
|
1284
|
-
name:
|
|
1285
|
-
price:
|
|
1286
|
-
}) => (c(),
|
|
1286
|
+
maximumNumber: K,
|
|
1287
|
+
id: U,
|
|
1288
|
+
name: I,
|
|
1289
|
+
price: Q
|
|
1290
|
+
}) => (c(), f("tr", { key: U }, [
|
|
1287
1291
|
a("td", null, [
|
|
1288
|
-
a("b", null, y(o(re)(
|
|
1289
|
-
|
|
1290
|
-
a("span", null, y(o(
|
|
1292
|
+
a("b", null, y(o(re)(I)), 1),
|
|
1293
|
+
zl,
|
|
1294
|
+
a("span", null, y(o(ee)(Q, o(ye))) + " " + y(o(it)(v)), 1)
|
|
1291
1295
|
]),
|
|
1292
|
-
a("td",
|
|
1293
|
-
v === 1 || v === 12 ? (c(), D(
|
|
1296
|
+
a("td", xl, [
|
|
1297
|
+
v === 1 || v === 12 ? (c(), D(We, {
|
|
1294
1298
|
key: 0,
|
|
1295
|
-
modelValue: o(s)[
|
|
1296
|
-
"onUpdate:modelValue": (
|
|
1299
|
+
modelValue: o(s)[U],
|
|
1300
|
+
"onUpdate:modelValue": (J) => o(s)[U] = J,
|
|
1297
1301
|
small: !0,
|
|
1298
1302
|
"min-value": 0,
|
|
1299
|
-
"max-value":
|
|
1303
|
+
"max-value": K || 1 / 0
|
|
1300
1304
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (c(), D(Ae, {
|
|
1301
1305
|
key: 1,
|
|
1302
|
-
modelValue: o(s)[
|
|
1303
|
-
"onUpdate:modelValue": (
|
|
1306
|
+
modelValue: o(s)[U],
|
|
1307
|
+
"onUpdate:modelValue": (J) => o(s)[U] = J,
|
|
1304
1308
|
numeric: !0
|
|
1305
1309
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
1306
1310
|
])
|
|
@@ -1316,68 +1320,68 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1316
1320
|
g(pe, {
|
|
1317
1321
|
label: o(t)("general.startReservation"),
|
|
1318
1322
|
"full-width": "",
|
|
1319
|
-
onClickEvent:
|
|
1323
|
+
onClickEvent: W
|
|
1320
1324
|
}, null, 8, ["label", "onClickEvent"]),
|
|
1321
1325
|
a("button", {
|
|
1322
1326
|
class: "konnectio-abort-reservation link",
|
|
1323
|
-
onClick:
|
|
1327
|
+
onClick: Ce((v) => tt(A), ["prevent"])
|
|
1324
1328
|
}, [
|
|
1325
1329
|
a("span", null, y(o(t)("general.goAStepBack")), 1)
|
|
1326
|
-
], 8,
|
|
1330
|
+
], 8, Jl)
|
|
1327
1331
|
]),
|
|
1328
1332
|
_: 2
|
|
1329
1333
|
}, 1024)) : _("", !0)
|
|
1330
1334
|
]),
|
|
1331
|
-
reservation: T(({ next:
|
|
1332
|
-
o(ce) ? (c(), D(
|
|
1335
|
+
reservation: T(({ next: W, prev: A }) => [
|
|
1336
|
+
o(ce) ? (c(), D(Oe, {
|
|
1333
1337
|
key: 0,
|
|
1334
1338
|
"show-terms-notice": !0,
|
|
1335
1339
|
"show-gift-card": !0
|
|
1336
1340
|
}, {
|
|
1337
1341
|
form: T(() => [
|
|
1338
|
-
a("form",
|
|
1342
|
+
a("form", Yl, [
|
|
1339
1343
|
a("h2", null, [
|
|
1340
1344
|
a("span", null, y(o(t)("booking.reservation.detailsTitle")), 1)
|
|
1341
1345
|
]),
|
|
1342
|
-
!o(
|
|
1346
|
+
!o(Ht) && !(o(Ee) && o(Me)) ? (c(), f("ul", {
|
|
1343
1347
|
key: 0,
|
|
1344
1348
|
class: Pe({ "konnectio-split-inputs": !o(Ee) && !o(Me) })
|
|
1345
1349
|
}, [
|
|
1346
|
-
o(Ee) ? _("", !0) : (c(),
|
|
1347
|
-
g(
|
|
1348
|
-
modelValue: o(
|
|
1349
|
-
"onUpdate:modelValue":
|
|
1350
|
+
o(Ee) ? _("", !0) : (c(), f("li", Xl, [
|
|
1351
|
+
g(rt, {
|
|
1352
|
+
modelValue: o(h),
|
|
1353
|
+
"onUpdate:modelValue": w[1] || (w[1] = (v) => N(h) ? h.value = v : null),
|
|
1350
1354
|
label: o(t)("booking.reservation.arrivalTime"),
|
|
1351
1355
|
icon: "hourglass-start",
|
|
1352
|
-
"hour-range":
|
|
1356
|
+
"hour-range": Wt.value,
|
|
1353
1357
|
required: ""
|
|
1354
1358
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1355
1359
|
])),
|
|
1356
|
-
o(Me) ? _("", !0) : (c(),
|
|
1357
|
-
g(
|
|
1360
|
+
o(Me) ? _("", !0) : (c(), f("li", Zl, [
|
|
1361
|
+
g(rt, {
|
|
1358
1362
|
modelValue: o(V),
|
|
1359
|
-
"onUpdate:modelValue":
|
|
1363
|
+
"onUpdate:modelValue": w[2] || (w[2] = (v) => N(V) ? V.value = v : null),
|
|
1360
1364
|
label: o(t)("booking.reservation.departureTime"),
|
|
1361
1365
|
icon: "hourglass-end",
|
|
1362
|
-
"hour-range":
|
|
1366
|
+
"hour-range": Kt.value,
|
|
1363
1367
|
required: ""
|
|
1364
1368
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1365
1369
|
]))
|
|
1366
1370
|
], 2)) : _("", !0),
|
|
1367
|
-
g(
|
|
1371
|
+
g(pl, {
|
|
1368
1372
|
modelValue: o(P),
|
|
1369
|
-
"onUpdate:modelValue":
|
|
1370
|
-
title: o(
|
|
1371
|
-
"onUpdate:title":
|
|
1372
|
-
"exclude-title": o(
|
|
1373
|
+
"onUpdate:modelValue": w[3] || (w[3] = (v) => N(P) ? P.value = v : null),
|
|
1374
|
+
title: o($),
|
|
1375
|
+
"onUpdate:title": w[4] || (w[4] = (v) => N($) ? $.value = v : null),
|
|
1376
|
+
"exclude-title": o(It),
|
|
1373
1377
|
label: o(t)("booking.reservation.name"),
|
|
1374
1378
|
icon: "user-alt",
|
|
1375
1379
|
placeholder: o(t)("booking.reservation.namePlaceholder"),
|
|
1376
1380
|
required: ""
|
|
1377
1381
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
1378
1382
|
g(se, {
|
|
1379
|
-
modelValue: o(
|
|
1380
|
-
"onUpdate:modelValue":
|
|
1383
|
+
modelValue: o(S),
|
|
1384
|
+
"onUpdate:modelValue": w[5] || (w[5] = (v) => N(S) ? S.value = v : null),
|
|
1381
1385
|
type: "email",
|
|
1382
1386
|
name: "email",
|
|
1383
1387
|
autocomplete: "email",
|
|
@@ -1386,10 +1390,10 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1386
1390
|
placeholder: o(t)("booking.reservation.emailPlaceholder"),
|
|
1387
1391
|
required: ""
|
|
1388
1392
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1389
|
-
o(
|
|
1393
|
+
o(Et) ? _("", !0) : (c(), D(se, {
|
|
1390
1394
|
key: 1,
|
|
1391
1395
|
modelValue: o(k),
|
|
1392
|
-
"onUpdate:modelValue":
|
|
1396
|
+
"onUpdate:modelValue": w[6] || (w[6] = (v) => N(k) ? k.value = v : null),
|
|
1393
1397
|
type: "text",
|
|
1394
1398
|
name: "firm",
|
|
1395
1399
|
autocomplete: "firm",
|
|
@@ -1397,17 +1401,17 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1397
1401
|
icon: "id-card",
|
|
1398
1402
|
placeholder: o(t)("booking.reservation.companyNamePlaceholder")
|
|
1399
1403
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
1400
|
-
g(
|
|
1404
|
+
g(Po, {
|
|
1401
1405
|
modelValue: o(B),
|
|
1402
|
-
"onUpdate:modelValue":
|
|
1406
|
+
"onUpdate:modelValue": w[7] || (w[7] = (v) => N(B) ? B.value = v : null),
|
|
1403
1407
|
icon: "phone-office",
|
|
1404
1408
|
label: o(t)("booking.reservation.phone"),
|
|
1405
1409
|
placeholder: o(t)("booking.reservation.phonePlaceholder"),
|
|
1406
1410
|
required: ""
|
|
1407
1411
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1408
|
-
g(
|
|
1412
|
+
g(ul, {
|
|
1409
1413
|
modelValue: o(R),
|
|
1410
|
-
"onUpdate:modelValue":
|
|
1414
|
+
"onUpdate:modelValue": w[8] || (w[8] = (v) => N(R) ? R.value = v : null),
|
|
1411
1415
|
label: o(t)("booking.reservation.country"),
|
|
1412
1416
|
placeholder: o(t)("booking.reservation.countryPlaceholder"),
|
|
1413
1417
|
options: o(m),
|
|
@@ -1415,7 +1419,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1415
1419
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
1416
1420
|
g(se, {
|
|
1417
1421
|
modelValue: o(O),
|
|
1418
|
-
"onUpdate:modelValue":
|
|
1422
|
+
"onUpdate:modelValue": w[9] || (w[9] = (v) => N(O) ? O.value = v : null),
|
|
1419
1423
|
type: "textarea",
|
|
1420
1424
|
name: "address",
|
|
1421
1425
|
autocomplete: "street-address",
|
|
@@ -1424,11 +1428,11 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1424
1428
|
placeholder: o(t)("booking.reservation.streetAddressPlaceholder"),
|
|
1425
1429
|
required: ""
|
|
1426
1430
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1427
|
-
a("ul",
|
|
1431
|
+
a("ul", Ql, [
|
|
1428
1432
|
a("li", null, [
|
|
1429
1433
|
g(se, {
|
|
1430
1434
|
modelValue: o(C),
|
|
1431
|
-
"onUpdate:modelValue":
|
|
1435
|
+
"onUpdate:modelValue": w[10] || (w[10] = (v) => N(C) ? C.value = v : null),
|
|
1432
1436
|
type: "text",
|
|
1433
1437
|
name: "postal",
|
|
1434
1438
|
autocomplete: "postal-code",
|
|
@@ -1441,7 +1445,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1441
1445
|
a("li", null, [
|
|
1442
1446
|
g(se, {
|
|
1443
1447
|
modelValue: o(H),
|
|
1444
|
-
"onUpdate:modelValue":
|
|
1448
|
+
"onUpdate:modelValue": w[11] || (w[11] = (v) => N(H) ? H.value = v : null),
|
|
1445
1449
|
type: "text",
|
|
1446
1450
|
name: "city",
|
|
1447
1451
|
autocomplete: "address-level2",
|
|
@@ -1453,8 +1457,8 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1453
1457
|
])
|
|
1454
1458
|
]),
|
|
1455
1459
|
g(se, {
|
|
1456
|
-
modelValue: o(
|
|
1457
|
-
"onUpdate:modelValue":
|
|
1460
|
+
modelValue: o(Y),
|
|
1461
|
+
"onUpdate:modelValue": w[12] || (w[12] = (v) => N(Y) ? Y.value = v : null),
|
|
1458
1462
|
type: "textarea",
|
|
1459
1463
|
label: `${o(t)("booking.reservation.remark")} (${o(t)("booking.reservation.optional")})`,
|
|
1460
1464
|
icon: "info-circle",
|
|
@@ -1462,47 +1466,47 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1462
1466
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1463
1467
|
g(se, {
|
|
1464
1468
|
modelValue: o(L),
|
|
1465
|
-
"onUpdate:modelValue":
|
|
1469
|
+
"onUpdate:modelValue": w[13] || (w[13] = (v) => N(L) ? L.value = v : null),
|
|
1466
1470
|
type: "textarea",
|
|
1467
1471
|
label: `${o(t)("booking.reservation.allergies")} (${o(t)("booking.reservation.optional")})`,
|
|
1468
1472
|
icon: "allergies",
|
|
1469
1473
|
placeholder: o(t)("booking.reservation.allergiesPlaceholder")
|
|
1470
1474
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1471
|
-
o(
|
|
1475
|
+
o(St) ? _("", !0) : (c(), D(ko, {
|
|
1472
1476
|
key: 2,
|
|
1473
1477
|
modelValue: o(d),
|
|
1474
|
-
"onUpdate:modelValue":
|
|
1478
|
+
"onUpdate:modelValue": w[14] || (w[14] = (v) => N(d) ? d.value = v : null),
|
|
1475
1479
|
label: `${o(t)("booking.reservation.purposeOfStay")} (${o(t)("booking.reservation.optional")})`,
|
|
1476
1480
|
name: "travelingFor",
|
|
1477
|
-
checkboxes:
|
|
1481
|
+
checkboxes: Gt.value
|
|
1478
1482
|
}, null, 8, ["modelValue", "label", "checkboxes"]))
|
|
1479
1483
|
])
|
|
1480
1484
|
]),
|
|
1481
1485
|
navigation: T(() => [
|
|
1482
1486
|
a("div", null, [
|
|
1483
1487
|
g(pe, {
|
|
1484
|
-
label: o(
|
|
1488
|
+
label: o(Mt) ? o(t)("booking.reservation.nextButton") : o(t)("general.confirmReservation"),
|
|
1485
1489
|
disabled: !o(r),
|
|
1486
1490
|
"is-loading": o(u),
|
|
1487
1491
|
"full-width": "",
|
|
1488
|
-
onClickEvent: (v) =>
|
|
1492
|
+
onClickEvent: (v) => zt(W)
|
|
1489
1493
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
|
|
1490
1494
|
a("button", {
|
|
1491
1495
|
class: "konnectio-abort-reservation link",
|
|
1492
|
-
onClick:
|
|
1496
|
+
onClick: Ce((v) => tt(A), ["prevent"])
|
|
1493
1497
|
}, [
|
|
1494
1498
|
a("span", null, y(o(t)("general.goAStepBack")), 1)
|
|
1495
|
-
], 8,
|
|
1499
|
+
], 8, en)
|
|
1496
1500
|
])
|
|
1497
1501
|
]),
|
|
1498
1502
|
_: 2
|
|
1499
1503
|
}, 1024)) : _("", !0)
|
|
1500
1504
|
]),
|
|
1501
1505
|
payment: T(() => [
|
|
1502
|
-
g(
|
|
1506
|
+
g(Ao)
|
|
1503
1507
|
]),
|
|
1504
1508
|
confirmation: T(() => [
|
|
1505
|
-
g(
|
|
1509
|
+
g(bo, {
|
|
1506
1510
|
message: o(t)("booking.confirmation.thankYou")
|
|
1507
1511
|
}, null, 8, ["message"])
|
|
1508
1512
|
]),
|
|
@@ -1513,7 +1517,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1513
1517
|
}, 8, ["access-token", "callback"])
|
|
1514
1518
|
]),
|
|
1515
1519
|
fallback: T(() => [
|
|
1516
|
-
g(
|
|
1520
|
+
g(yl)
|
|
1517
1521
|
]),
|
|
1518
1522
|
_: 1
|
|
1519
1523
|
}))
|
|
@@ -1521,31 +1525,31 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1521
1525
|
_: 1
|
|
1522
1526
|
}, 8, ["styling"]));
|
|
1523
1527
|
}
|
|
1524
|
-
}), Ve = /* @__PURE__ */ ue(
|
|
1525
|
-
function
|
|
1528
|
+
}), Ve = /* @__PURE__ */ ue(tn, [["__scopeId", "data-v-27fc0ab8"]]);
|
|
1529
|
+
function ze(n, l = {}, e) {
|
|
1526
1530
|
for (const t in n) {
|
|
1527
1531
|
const i = n[t], s = e ? `${e}:${t}` : t;
|
|
1528
|
-
typeof i == "object" && i !== null ?
|
|
1532
|
+
typeof i == "object" && i !== null ? ze(i, l, s) : typeof i == "function" && (l[s] = i);
|
|
1529
1533
|
}
|
|
1530
1534
|
return l;
|
|
1531
1535
|
}
|
|
1532
|
-
const
|
|
1533
|
-
function
|
|
1534
|
-
const e = l.shift(), t =
|
|
1536
|
+
const on = { run: (n) => n() }, ln = () => on, Vt = typeof console.createTask < "u" ? console.createTask : ln;
|
|
1537
|
+
function nn(n, l) {
|
|
1538
|
+
const e = l.shift(), t = Vt(e);
|
|
1535
1539
|
return n.reduce(
|
|
1536
1540
|
(i, s) => i.then(() => t.run(() => s(...l))),
|
|
1537
1541
|
Promise.resolve()
|
|
1538
1542
|
);
|
|
1539
1543
|
}
|
|
1540
|
-
function
|
|
1541
|
-
const e = l.shift(), t =
|
|
1544
|
+
function an(n, l) {
|
|
1545
|
+
const e = l.shift(), t = Vt(e);
|
|
1542
1546
|
return Promise.all(n.map((i) => t.run(() => i(...l))));
|
|
1543
1547
|
}
|
|
1544
|
-
function
|
|
1548
|
+
function je(n, l) {
|
|
1545
1549
|
for (const e of [...n])
|
|
1546
1550
|
e(l);
|
|
1547
1551
|
}
|
|
1548
|
-
class
|
|
1552
|
+
class sn {
|
|
1549
1553
|
constructor() {
|
|
1550
1554
|
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);
|
|
1551
1555
|
}
|
|
@@ -1596,7 +1600,7 @@ class nn {
|
|
|
1596
1600
|
this.deprecateHook(e, l[e]);
|
|
1597
1601
|
}
|
|
1598
1602
|
addHooks(l) {
|
|
1599
|
-
const e =
|
|
1603
|
+
const e = ze(l), t = Object.keys(e).map(
|
|
1600
1604
|
(i) => this.hook(i, e[i])
|
|
1601
1605
|
);
|
|
1602
1606
|
return () => {
|
|
@@ -1605,7 +1609,7 @@ class nn {
|
|
|
1605
1609
|
};
|
|
1606
1610
|
}
|
|
1607
1611
|
removeHooks(l) {
|
|
1608
|
-
const e =
|
|
1612
|
+
const e = ze(l);
|
|
1609
1613
|
for (const t in e)
|
|
1610
1614
|
this.removeHook(t, e[t]);
|
|
1611
1615
|
}
|
|
@@ -1614,21 +1618,21 @@ class nn {
|
|
|
1614
1618
|
delete this._hooks[l];
|
|
1615
1619
|
}
|
|
1616
1620
|
callHook(l, ...e) {
|
|
1617
|
-
return e.unshift(l), this.callHookWith(
|
|
1621
|
+
return e.unshift(l), this.callHookWith(nn, l, ...e);
|
|
1618
1622
|
}
|
|
1619
1623
|
callHookParallel(l, ...e) {
|
|
1620
|
-
return e.unshift(l), this.callHookWith(
|
|
1624
|
+
return e.unshift(l), this.callHookWith(an, l, ...e);
|
|
1621
1625
|
}
|
|
1622
1626
|
callHookWith(l, e, ...t) {
|
|
1623
1627
|
const i = this._before || this._after ? { name: e, args: t, context: {} } : void 0;
|
|
1624
|
-
this._before &&
|
|
1628
|
+
this._before && je(this._before, i);
|
|
1625
1629
|
const s = l(
|
|
1626
1630
|
e in this._hooks ? [...this._hooks[e]] : [],
|
|
1627
1631
|
t
|
|
1628
1632
|
);
|
|
1629
1633
|
return s instanceof Promise ? s.finally(() => {
|
|
1630
|
-
this._after && i &&
|
|
1631
|
-
}) : (this._after && i &&
|
|
1634
|
+
this._after && i && je(this._after, i);
|
|
1635
|
+
}) : (this._after && i && je(this._after, i), s);
|
|
1632
1636
|
}
|
|
1633
1637
|
beforeEach(l) {
|
|
1634
1638
|
return this._before = this._before || [], this._before.push(l), () => {
|
|
@@ -1647,20 +1651,20 @@ class nn {
|
|
|
1647
1651
|
};
|
|
1648
1652
|
}
|
|
1649
1653
|
}
|
|
1650
|
-
function
|
|
1651
|
-
return new
|
|
1654
|
+
function rn() {
|
|
1655
|
+
return new sn();
|
|
1652
1656
|
}
|
|
1653
|
-
function
|
|
1657
|
+
function dn(n) {
|
|
1654
1658
|
return Array.isArray(n) ? n : [n];
|
|
1655
1659
|
}
|
|
1656
|
-
const
|
|
1660
|
+
const un = ["title", "titleTemplate", "script", "style", "noscript"], Te = [
|
|
1657
1661
|
"base",
|
|
1658
1662
|
"meta",
|
|
1659
1663
|
"link",
|
|
1660
1664
|
"style",
|
|
1661
1665
|
"script",
|
|
1662
1666
|
"noscript"
|
|
1663
|
-
],
|
|
1667
|
+
], cn = [
|
|
1664
1668
|
"title",
|
|
1665
1669
|
"titleTemplate",
|
|
1666
1670
|
"templateParams",
|
|
@@ -1672,19 +1676,19 @@ const rn = ["title", "titleTemplate", "script", "style", "noscript"], Te = [
|
|
|
1672
1676
|
"style",
|
|
1673
1677
|
"script",
|
|
1674
1678
|
"noscript"
|
|
1675
|
-
],
|
|
1679
|
+
], pn = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], Tt = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], mn = typeof window < "u";
|
|
1676
1680
|
function Xe(n) {
|
|
1677
1681
|
let l = 9;
|
|
1678
1682
|
for (let e = 0; e < n.length; )
|
|
1679
1683
|
l = Math.imul(l ^ n.charCodeAt(e++), 9 ** 9);
|
|
1680
1684
|
return ((l ^ l >>> 9) + 65536).toString(16).substring(1, 8).toLowerCase();
|
|
1681
1685
|
}
|
|
1682
|
-
function
|
|
1686
|
+
function dt(n) {
|
|
1683
1687
|
return n._h || Xe(n._d ? n._d : `${n.tag}:${n.textContent || n.innerHTML || ""}:${Object.entries(n.props).map(([l, e]) => `${l}:${String(e)}`).join(",")}`);
|
|
1684
1688
|
}
|
|
1685
|
-
function
|
|
1689
|
+
function $t(n, l) {
|
|
1686
1690
|
const { props: e, tag: t } = n;
|
|
1687
|
-
if (
|
|
1691
|
+
if (pn.includes(t))
|
|
1688
1692
|
return t;
|
|
1689
1693
|
if (t === "link" && e.rel === "canonical")
|
|
1690
1694
|
return "canonical";
|
|
@@ -1699,54 +1703,54 @@ function _t(n, l) {
|
|
|
1699
1703
|
}
|
|
1700
1704
|
return !1;
|
|
1701
1705
|
}
|
|
1702
|
-
function
|
|
1706
|
+
function ut(n, l) {
|
|
1703
1707
|
return n == null ? l || null : typeof n == "function" ? n(l) : n;
|
|
1704
1708
|
}
|
|
1705
|
-
async function
|
|
1709
|
+
async function fn(n, l, e) {
|
|
1706
1710
|
const t = {
|
|
1707
1711
|
tag: n,
|
|
1708
|
-
props: await
|
|
1712
|
+
props: await Ct(
|
|
1709
1713
|
// explicitly check for an object
|
|
1710
1714
|
// @ts-expect-error untyped
|
|
1711
1715
|
typeof l == "object" && typeof l != "function" && !(l instanceof Promise) ? { ...l } : { [["script", "noscript", "style"].includes(n) ? "innerHTML" : "textContent"]: l },
|
|
1712
1716
|
["templateParams", "titleTemplate"].includes(n)
|
|
1713
1717
|
)
|
|
1714
1718
|
};
|
|
1715
|
-
return
|
|
1719
|
+
return Tt.forEach((i) => {
|
|
1716
1720
|
const s = typeof t.props[i] < "u" ? t.props[i] : e[i];
|
|
1717
|
-
typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(i) ||
|
|
1721
|
+
typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(i) || un.includes(t.tag)) && (t[i === "children" ? "innerHTML" : i] = s), delete t.props[i]);
|
|
1718
1722
|
}), t.props.body && (t.tagPosition = "bodyClose", delete t.props.body), t.tag === "script" && typeof t.innerHTML == "object" && (t.innerHTML = JSON.stringify(t.innerHTML), t.props.type = t.props.type || "application/json"), Array.isArray(t.props.content) ? t.props.content.map((i) => ({ ...t, props: { ...t.props, content: i } })) : t;
|
|
1719
1723
|
}
|
|
1720
|
-
function
|
|
1724
|
+
function hn(n, l) {
|
|
1721
1725
|
const e = n === "class" ? " " : ";";
|
|
1722
1726
|
return typeof l == "object" && !Array.isArray(l) && (l = Object.entries(l).filter(([, t]) => t).map(([t, i]) => n === "style" ? `${t}:${i}` : t)), (Array.isArray(l) ? l.join(e) : l)?.split(e).filter((t) => t.trim()).filter(Boolean).join(e);
|
|
1723
1727
|
}
|
|
1724
|
-
async function
|
|
1728
|
+
async function Ct(n, l) {
|
|
1725
1729
|
for (const e of Object.keys(n)) {
|
|
1726
1730
|
if (["class", "style"].includes(e)) {
|
|
1727
|
-
n[e] =
|
|
1731
|
+
n[e] = hn(e, n[e]);
|
|
1728
1732
|
continue;
|
|
1729
1733
|
}
|
|
1730
|
-
if (n[e] instanceof Promise && (n[e] = await n[e]), !l && !
|
|
1734
|
+
if (n[e] instanceof Promise && (n[e] = await n[e]), !l && !Tt.includes(e)) {
|
|
1731
1735
|
const t = String(n[e]), i = e.startsWith("data-");
|
|
1732
1736
|
t === "true" || t === "" ? n[e] = i ? "true" : !0 : n[e] || (i && t === "false" ? n[e] = "false" : delete n[e]);
|
|
1733
1737
|
}
|
|
1734
1738
|
}
|
|
1735
1739
|
return n;
|
|
1736
1740
|
}
|
|
1737
|
-
const
|
|
1738
|
-
async function
|
|
1741
|
+
const vn = 10;
|
|
1742
|
+
async function yn(n) {
|
|
1739
1743
|
const l = [];
|
|
1740
|
-
return Object.entries(n.resolvedInput).filter(([e, t]) => typeof t < "u" &&
|
|
1741
|
-
const i =
|
|
1742
|
-
l.push(...i.map((s) =>
|
|
1743
|
-
}), (await Promise.all(l)).flat().filter(Boolean).map((e, t) => (e._e = n._i, n.mode && (e._m = n.mode), e._p = (n._i <<
|
|
1744
|
+
return Object.entries(n.resolvedInput).filter(([e, t]) => typeof t < "u" && cn.includes(e)).forEach(([e, t]) => {
|
|
1745
|
+
const i = dn(t);
|
|
1746
|
+
l.push(...i.map((s) => fn(e, s, n)).flat());
|
|
1747
|
+
}), (await Promise.all(l)).flat().filter(Boolean).map((e, t) => (e._e = n._i, n.mode && (e._m = n.mode), e._p = (n._i << vn) + t, e));
|
|
1744
1748
|
}
|
|
1745
|
-
const
|
|
1749
|
+
const ct = {
|
|
1746
1750
|
// tags
|
|
1747
1751
|
base: -10,
|
|
1748
1752
|
title: 10
|
|
1749
|
-
},
|
|
1753
|
+
}, pt = {
|
|
1750
1754
|
// relative scores to their default values
|
|
1751
1755
|
critical: -80,
|
|
1752
1756
|
high: -10,
|
|
@@ -1755,9 +1759,9 @@ const rt = {
|
|
|
1755
1759
|
function De(n) {
|
|
1756
1760
|
let l = 100;
|
|
1757
1761
|
const e = n.tagPriority;
|
|
1758
|
-
return typeof e == "number" ? e : (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
|
|
1762
|
+
return typeof e == "number" ? e : (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 ct && (l = ct[n.tag]), typeof e == "string" && e in pt ? l + pt[e] : l);
|
|
1759
1763
|
}
|
|
1760
|
-
const
|
|
1764
|
+
const gn = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], mt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], ie = "%separator";
|
|
1761
1765
|
function $e(n, l, e) {
|
|
1762
1766
|
if (typeof n != "string" || !n.includes("%"))
|
|
1763
1767
|
return n;
|
|
@@ -1775,7 +1779,7 @@ function $e(n, l, e) {
|
|
|
1775
1779
|
typeof p == "string" && (n = n.replace(new RegExp(`\\${m}(\\W|$)`, "g"), (u, r) => `${p}${r}`).trim());
|
|
1776
1780
|
}), n.includes(ie) && (n.endsWith(ie) && (n = n.slice(0, -ie.length).trim()), n.startsWith(ie) && (n = n.slice(ie.length).trim()), n = n.replace(new RegExp(`\\${ie}\\s*\\${ie}`, "g"), ie), n = $e(n, { separator: e }, e)), n;
|
|
1777
1781
|
}
|
|
1778
|
-
async function
|
|
1782
|
+
async function kn(n, l = {}) {
|
|
1779
1783
|
const e = l.document || n.resolvedOptions.document;
|
|
1780
1784
|
if (!e || !n.dirty)
|
|
1781
1785
|
return;
|
|
@@ -1784,7 +1788,7 @@ async function yn(n, l = {}) {
|
|
|
1784
1788
|
return;
|
|
1785
1789
|
const i = (await n.resolveTags()).map((d) => ({
|
|
1786
1790
|
tag: d,
|
|
1787
|
-
id: Te.includes(d.tag) ?
|
|
1791
|
+
id: Te.includes(d.tag) ? dt(d) : d.tag,
|
|
1788
1792
|
shouldRender: !0
|
|
1789
1793
|
}));
|
|
1790
1794
|
let s = n._dom;
|
|
@@ -1793,50 +1797,50 @@ async function yn(n, l = {}) {
|
|
|
1793
1797
|
elMap: { htmlAttrs: e.documentElement, bodyAttrs: e.body }
|
|
1794
1798
|
};
|
|
1795
1799
|
for (const d of ["body", "head"]) {
|
|
1796
|
-
const
|
|
1797
|
-
for (const P of [...
|
|
1798
|
-
const
|
|
1800
|
+
const h = e[d]?.children, V = [];
|
|
1801
|
+
for (const P of [...h].filter(($) => Te.includes($.tagName.toLowerCase()))) {
|
|
1802
|
+
const $ = {
|
|
1799
1803
|
tag: P.tagName.toLowerCase(),
|
|
1800
|
-
props: await
|
|
1804
|
+
props: await Ct(
|
|
1801
1805
|
P.getAttributeNames().reduce((k, C) => ({ ...k, [C]: P.getAttribute(C) }), {})
|
|
1802
1806
|
),
|
|
1803
1807
|
innerHTML: P.innerHTML
|
|
1804
1808
|
};
|
|
1805
|
-
let
|
|
1809
|
+
let S = 1, B = $t($);
|
|
1806
1810
|
for (; B && V.find((k) => k._d === B); )
|
|
1807
|
-
B = `${B}:${
|
|
1808
|
-
|
|
1811
|
+
B = `${B}:${S++}`;
|
|
1812
|
+
$._d = B || void 0, V.push($), s.elMap[P.getAttribute("data-hid") || dt($)] = P;
|
|
1809
1813
|
}
|
|
1810
1814
|
}
|
|
1811
1815
|
}
|
|
1812
1816
|
s.pendingSideEffects = { ...s.sideEffects || {} }, s.sideEffects = {};
|
|
1813
|
-
function m(d,
|
|
1814
|
-
const P = `${d}:${
|
|
1817
|
+
function m(d, h, V) {
|
|
1818
|
+
const P = `${d}:${h}`;
|
|
1815
1819
|
s.sideEffects[P] = V, delete s.pendingSideEffects[P];
|
|
1816
1820
|
}
|
|
1817
|
-
function p({ id: d, $el:
|
|
1821
|
+
function p({ id: d, $el: h, tag: V }) {
|
|
1818
1822
|
const P = V.tag.endsWith("Attrs");
|
|
1819
|
-
s.elMap[d] =
|
|
1820
|
-
V[
|
|
1823
|
+
s.elMap[d] = h, P || (["textContent", "innerHTML"].forEach(($) => {
|
|
1824
|
+
V[$] && V[$] !== h[$] && (h[$] = V[$]);
|
|
1821
1825
|
}), m(d, "el", () => {
|
|
1822
1826
|
s.elMap[d]?.remove(), delete s.elMap[d];
|
|
1823
1827
|
}));
|
|
1824
|
-
for (const [
|
|
1825
|
-
|
|
1826
|
-
Object.entries(V.props).forEach(([
|
|
1827
|
-
const B = `attr:${
|
|
1828
|
-
if (
|
|
1829
|
-
for (const k of (
|
|
1830
|
-
P && m(d, `${B}:${k}`, () =>
|
|
1831
|
-
else if (
|
|
1832
|
-
for (const k of (
|
|
1828
|
+
for (const [$, S] of Object.entries(V._eventHandlers || {}))
|
|
1829
|
+
h.getAttribute(`data-${$}`) !== "" && ((V.tag === "bodyAttrs" ? e.defaultView : h).addEventListener($.replace("on", ""), S.bind(h)), h.setAttribute(`data-${$}`, ""));
|
|
1830
|
+
Object.entries(V.props).forEach(([$, S]) => {
|
|
1831
|
+
const B = `attr:${$}`;
|
|
1832
|
+
if ($ === "class")
|
|
1833
|
+
for (const k of (S || "").split(" ").filter(Boolean))
|
|
1834
|
+
P && m(d, `${B}:${k}`, () => h.classList.remove(k)), !h.classList.contains(k) && h.classList.add(k);
|
|
1835
|
+
else if ($ === "style")
|
|
1836
|
+
for (const k of (S || "").split(";").filter(Boolean)) {
|
|
1833
1837
|
const [C, ...H] = k.split(":").map((O) => O.trim());
|
|
1834
1838
|
m(d, `${B}:${k}:${C}`, () => {
|
|
1835
|
-
|
|
1836
|
-
}),
|
|
1839
|
+
h.style.removeProperty(C);
|
|
1840
|
+
}), h.style.setProperty(C, H.join(":"));
|
|
1837
1841
|
}
|
|
1838
1842
|
else
|
|
1839
|
-
|
|
1843
|
+
h.getAttribute($) !== S && h.setAttribute($, S === !0 ? "" : String(S)), P && m(d, B, () => h.removeAttribute($));
|
|
1840
1844
|
});
|
|
1841
1845
|
}
|
|
1842
1846
|
const u = [], r = {
|
|
@@ -1845,50 +1849,50 @@ async function yn(n, l = {}) {
|
|
|
1845
1849
|
head: void 0
|
|
1846
1850
|
};
|
|
1847
1851
|
for (const d of i) {
|
|
1848
|
-
const { tag:
|
|
1852
|
+
const { tag: h, shouldRender: V, id: P } = d;
|
|
1849
1853
|
if (V) {
|
|
1850
|
-
if (
|
|
1851
|
-
e.title =
|
|
1854
|
+
if (h.tag === "title") {
|
|
1855
|
+
e.title = h.textContent;
|
|
1852
1856
|
continue;
|
|
1853
1857
|
}
|
|
1854
|
-
d.$el = d.$el || s.elMap[P], d.$el ? p(d) : Te.includes(
|
|
1858
|
+
d.$el = d.$el || s.elMap[P], d.$el ? p(d) : Te.includes(h.tag) && u.push(d);
|
|
1855
1859
|
}
|
|
1856
1860
|
}
|
|
1857
1861
|
for (const d of u) {
|
|
1858
|
-
const
|
|
1859
|
-
d.$el = e.createElement(d.tag.tag), p(d), r[
|
|
1862
|
+
const h = d.tag.tagPosition || "head";
|
|
1863
|
+
d.$el = e.createElement(d.tag.tag), p(d), r[h] = r[h] || e.createDocumentFragment(), r[h].appendChild(d.$el);
|
|
1860
1864
|
}
|
|
1861
1865
|
for (const d of i)
|
|
1862
1866
|
await n.hooks.callHook("dom:renderTag", d, e, m);
|
|
1863
1867
|
r.head && e.head.appendChild(r.head), r.bodyOpen && e.body.insertBefore(r.bodyOpen, e.body.firstChild), r.bodyClose && e.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 });
|
|
1864
1868
|
}
|
|
1865
|
-
async function
|
|
1869
|
+
async function bn(n, l = {}) {
|
|
1866
1870
|
const e = l.delayFn || ((t) => setTimeout(t, 10));
|
|
1867
1871
|
return n._domUpdatePromise = n._domUpdatePromise || new Promise((t) => e(async () => {
|
|
1868
|
-
await
|
|
1872
|
+
await kn(n, l), delete n._domUpdatePromise, t();
|
|
1869
1873
|
}));
|
|
1870
1874
|
}
|
|
1871
1875
|
// @__NO_SIDE_EFFECTS__
|
|
1872
|
-
function
|
|
1876
|
+
function _n(n) {
|
|
1873
1877
|
return (l) => {
|
|
1874
1878
|
const e = l.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
|
|
1875
1879
|
return e && l.push(JSON.parse(e)), {
|
|
1876
1880
|
mode: "client",
|
|
1877
1881
|
hooks: {
|
|
1878
1882
|
"entries:updated": function(t) {
|
|
1879
|
-
|
|
1883
|
+
bn(t, n);
|
|
1880
1884
|
}
|
|
1881
1885
|
}
|
|
1882
1886
|
};
|
|
1883
1887
|
};
|
|
1884
1888
|
}
|
|
1885
|
-
const
|
|
1889
|
+
const Vn = ["templateParams", "htmlAttrs", "bodyAttrs"], Tn = {
|
|
1886
1890
|
hooks: {
|
|
1887
1891
|
"tag:normalise": function({ tag: n }) {
|
|
1888
1892
|
["hid", "vmid", "key"].forEach((t) => {
|
|
1889
1893
|
n.props[t] && (n.key = n.props[t], delete n.props[t]);
|
|
1890
1894
|
});
|
|
1891
|
-
const e =
|
|
1895
|
+
const e = $t(n) || (n.key ? `${n.tag}:${n.key}` : !1);
|
|
1892
1896
|
e && (n._d = e);
|
|
1893
1897
|
},
|
|
1894
1898
|
"tags:resolve": function(n) {
|
|
@@ -1897,7 +1901,7 @@ const bn = ["templateParams", "htmlAttrs", "bodyAttrs"], _n = {
|
|
|
1897
1901
|
const i = (t.key ? `${t.tag}:${t.key}` : t._d) || t._p, s = l[i];
|
|
1898
1902
|
if (s) {
|
|
1899
1903
|
let p = t?.tagDuplicateStrategy;
|
|
1900
|
-
if (!p &&
|
|
1904
|
+
if (!p && Vn.includes(t.tag) && (p = "merge"), p === "merge") {
|
|
1901
1905
|
const u = s.props;
|
|
1902
1906
|
["class", "style"].forEach((r) => {
|
|
1903
1907
|
u[r] && (t.props[r] ? (r === "style" && !u[r].endsWith(";") && (u[r] += ";"), t.props[r] = `${u[r]} ${t.props[r]}`) : t.props[r] = u[r]);
|
|
@@ -1926,7 +1930,7 @@ const bn = ["templateParams", "htmlAttrs", "bodyAttrs"], _n = {
|
|
|
1926
1930
|
}), n.tags = e, n.tags = n.tags.filter((t) => !(t.tag === "meta" && (t.props.name || t.props.property) && !t.props.content));
|
|
1927
1931
|
}
|
|
1928
1932
|
}
|
|
1929
|
-
},
|
|
1933
|
+
}, $n = {
|
|
1930
1934
|
mode: "server",
|
|
1931
1935
|
hooks: {
|
|
1932
1936
|
"tags:resolve": function(n) {
|
|
@@ -1940,32 +1944,32 @@ const bn = ["templateParams", "htmlAttrs", "bodyAttrs"], _n = {
|
|
|
1940
1944
|
});
|
|
1941
1945
|
}
|
|
1942
1946
|
}
|
|
1943
|
-
},
|
|
1947
|
+
}, Cn = ["script", "link", "bodyAttrs"], wn = (n) => ({
|
|
1944
1948
|
hooks: {
|
|
1945
1949
|
"tags:resolve": function(l) {
|
|
1946
|
-
for (const e of l.tags.filter((t) =>
|
|
1950
|
+
for (const e of l.tags.filter((t) => Cn.includes(t.tag)))
|
|
1947
1951
|
Object.entries(e.props).forEach(([t, i]) => {
|
|
1948
|
-
t.startsWith("on") && typeof i == "function" && (n.ssr &&
|
|
1952
|
+
t.startsWith("on") && typeof i == "function" && (n.ssr && mt.includes(t) ? e.props[t] = `this.dataset.${t}fired = true` : delete e.props[t], e._eventHandlers = e._eventHandlers || {}, e._eventHandlers[t] = i);
|
|
1949
1953
|
}), n.ssr && e._eventHandlers && (e.props.src || e.props.href) && (e.key = e.key || Xe(e.props.src || e.props.href));
|
|
1950
1954
|
},
|
|
1951
1955
|
"dom:renderTag": function({ $el: l, tag: e }) {
|
|
1952
|
-
for (const t of Object.keys(l?.dataset || {}).filter((i) =>
|
|
1956
|
+
for (const t of Object.keys(l?.dataset || {}).filter((i) => mt.some((s) => `${s}fired` === i))) {
|
|
1953
1957
|
const i = t.replace("fired", "");
|
|
1954
1958
|
e._eventHandlers?.[i]?.call(l, new Event(i.replace("on", "")));
|
|
1955
1959
|
}
|
|
1956
1960
|
}
|
|
1957
1961
|
}
|
|
1958
|
-
}),
|
|
1962
|
+
}), Pn = ["link", "style", "script", "noscript"], An = {
|
|
1959
1963
|
hooks: {
|
|
1960
1964
|
"tag:normalise": ({ tag: n }) => {
|
|
1961
|
-
n.key &&
|
|
1965
|
+
n.key && Pn.includes(n.tag) && (n.props["data-hid"] = n._h = Xe(n.key));
|
|
1962
1966
|
}
|
|
1963
1967
|
}
|
|
1964
|
-
},
|
|
1968
|
+
}, Dn = {
|
|
1965
1969
|
hooks: {
|
|
1966
1970
|
"tags:resolve": (n) => {
|
|
1967
1971
|
const l = (e) => n.tags.find((t) => t._d === e)?._p;
|
|
1968
|
-
for (const { prefix: e, offset: t } of
|
|
1972
|
+
for (const { prefix: e, offset: t } of gn)
|
|
1969
1973
|
for (const i of n.tags.filter((s) => typeof s.tagPriority == "string" && s.tagPriority.startsWith(e))) {
|
|
1970
1974
|
const s = l(
|
|
1971
1975
|
i.tagPriority.replace(e, "")
|
|
@@ -1975,17 +1979,17 @@ const bn = ["templateParams", "htmlAttrs", "bodyAttrs"], _n = {
|
|
|
1975
1979
|
n.tags.sort((e, t) => e._p - t._p).sort((e, t) => De(e) - De(t));
|
|
1976
1980
|
}
|
|
1977
1981
|
}
|
|
1978
|
-
},
|
|
1982
|
+
}, Hn = {
|
|
1979
1983
|
meta: "content",
|
|
1980
1984
|
link: "href",
|
|
1981
1985
|
htmlAttrs: "lang"
|
|
1982
|
-
},
|
|
1986
|
+
}, In = (n) => ({
|
|
1983
1987
|
hooks: {
|
|
1984
1988
|
"tags:resolve": (l) => {
|
|
1985
1989
|
const { tags: e } = l, t = e.find((p) => p.tag === "title")?.textContent, i = e.findIndex((p) => p.tag === "templateParams"), s = i !== -1 ? e[i].props : {}, m = s.separator || "|";
|
|
1986
1990
|
delete s.separator, s.pageTitle = $e(s.pageTitle || t || "", s, m);
|
|
1987
1991
|
for (const p of e.filter((u) => u.processTemplateParams !== !1)) {
|
|
1988
|
-
const u =
|
|
1992
|
+
const u = Hn[p.tag];
|
|
1989
1993
|
u && typeof p.props[u] == "string" ? p.props[u] = $e(p.props[u], s, m) : (p.processTemplateParams === !0 || ["titleTemplate", "title"].includes(p.tag)) && ["innerHTML", "textContent"].forEach((r) => {
|
|
1990
1994
|
typeof p[r] == "string" && (p[r] = $e(p[r], s, m));
|
|
1991
1995
|
});
|
|
@@ -1993,20 +1997,20 @@ const bn = ["templateParams", "htmlAttrs", "bodyAttrs"], _n = {
|
|
|
1993
1997
|
n._templateParams = s, n._separator = m, l.tags = e.filter((p) => p.tag !== "templateParams");
|
|
1994
1998
|
}
|
|
1995
1999
|
}
|
|
1996
|
-
}),
|
|
2000
|
+
}), Sn = {
|
|
1997
2001
|
hooks: {
|
|
1998
2002
|
"tags:resolve": (n) => {
|
|
1999
2003
|
const { tags: l } = n;
|
|
2000
2004
|
let e = l.findIndex((i) => i.tag === "titleTemplate");
|
|
2001
2005
|
const t = l.findIndex((i) => i.tag === "title");
|
|
2002
2006
|
if (t !== -1 && e !== -1) {
|
|
2003
|
-
const i =
|
|
2007
|
+
const i = ut(
|
|
2004
2008
|
l[e].textContent,
|
|
2005
2009
|
l[t].textContent
|
|
2006
2010
|
);
|
|
2007
2011
|
i !== null ? l[t].textContent = i || l[t].textContent : delete l[t];
|
|
2008
2012
|
} else if (e !== -1) {
|
|
2009
|
-
const i =
|
|
2013
|
+
const i = ut(
|
|
2010
2014
|
l[e].textContent
|
|
2011
2015
|
);
|
|
2012
2016
|
i !== null && (l[e].textContent = i, l[e].tag = "title", e = -1);
|
|
@@ -2014,7 +2018,7 @@ const bn = ["templateParams", "htmlAttrs", "bodyAttrs"], _n = {
|
|
|
2014
2018
|
e !== -1 && delete l[e], n.tags = l.filter(Boolean);
|
|
2015
2019
|
}
|
|
2016
2020
|
}
|
|
2017
|
-
},
|
|
2021
|
+
}, Bn = {
|
|
2018
2022
|
hooks: {
|
|
2019
2023
|
"tags:afterResolve": function(n) {
|
|
2020
2024
|
for (const l of n.tags)
|
|
@@ -2023,16 +2027,16 @@ const bn = ["templateParams", "htmlAttrs", "bodyAttrs"], _n = {
|
|
|
2023
2027
|
}
|
|
2024
2028
|
};
|
|
2025
2029
|
// @__NO_SIDE_EFFECTS__
|
|
2026
|
-
function
|
|
2027
|
-
const l =
|
|
2028
|
-
return l.use(/* @__PURE__ */
|
|
2030
|
+
function En(n = {}) {
|
|
2031
|
+
const l = Mn(n);
|
|
2032
|
+
return l.use(/* @__PURE__ */ _n()), l;
|
|
2029
2033
|
}
|
|
2030
|
-
function
|
|
2034
|
+
function ft(n, l) {
|
|
2031
2035
|
return !n || n === "server" && l || n === "client" && !l;
|
|
2032
2036
|
}
|
|
2033
|
-
function
|
|
2034
|
-
const l =
|
|
2035
|
-
l.addHooks(n.hooks || {}), n.document = n.document || (
|
|
2037
|
+
function Mn(n = {}) {
|
|
2038
|
+
const l = rn();
|
|
2039
|
+
l.addHooks(n.hooks || {}), n.document = n.document || (mn ? document : void 0);
|
|
2036
2040
|
const e = !n.document, t = () => {
|
|
2037
2041
|
p.dirty = !0, l.callHook("entries:updated", p);
|
|
2038
2042
|
};
|
|
@@ -2047,7 +2051,7 @@ function Bn(n = {}) {
|
|
|
2047
2051
|
},
|
|
2048
2052
|
use(u) {
|
|
2049
2053
|
const r = typeof u == "function" ? u(p) : u;
|
|
2050
|
-
(!r.key || !m.some((d) => d.key === r.key)) && (m.push(r),
|
|
2054
|
+
(!r.key || !m.some((d) => d.key === r.key)) && (m.push(r), ft(r.mode, e) && l.addHooks(r.hooks || {}));
|
|
2051
2055
|
},
|
|
2052
2056
|
push(u, r) {
|
|
2053
2057
|
delete r?.head;
|
|
@@ -2056,13 +2060,13 @@ function Bn(n = {}) {
|
|
|
2056
2060
|
input: u,
|
|
2057
2061
|
...r
|
|
2058
2062
|
};
|
|
2059
|
-
return
|
|
2063
|
+
return ft(d.mode, e) && (s.push(d), t()), {
|
|
2060
2064
|
dispose() {
|
|
2061
|
-
s = s.filter((
|
|
2065
|
+
s = s.filter((h) => h._i !== d._i), l.callHook("entries:updated", p), t();
|
|
2062
2066
|
},
|
|
2063
2067
|
// a patch is the same as creating a new entry, just a nice DX
|
|
2064
|
-
patch(
|
|
2065
|
-
s = s.map((V) => (V._i === d._i && (V.input = d.input =
|
|
2068
|
+
patch(h) {
|
|
2069
|
+
s = s.map((V) => (V._i === d._i && (V.input = d.input = h), V)), t();
|
|
2066
2070
|
}
|
|
2067
2071
|
};
|
|
2068
2072
|
},
|
|
@@ -2072,8 +2076,8 @@ function Bn(n = {}) {
|
|
|
2072
2076
|
for (const r of u.entries) {
|
|
2073
2077
|
const d = r.resolvedInput || r.input;
|
|
2074
2078
|
if (r.resolvedInput = await (r.transform ? r.transform(d) : d), r.resolvedInput)
|
|
2075
|
-
for (const
|
|
2076
|
-
const V = { tag:
|
|
2079
|
+
for (const h of await yn(r)) {
|
|
2080
|
+
const V = { tag: h, entry: r, resolvedOptions: p.resolvedOptions };
|
|
2077
2081
|
await l.callHook("tag:normalise", V), u.tags.push(V.tag);
|
|
2078
2082
|
}
|
|
2079
2083
|
}
|
|
@@ -2082,51 +2086,51 @@ function Bn(n = {}) {
|
|
|
2082
2086
|
ssr: e
|
|
2083
2087
|
};
|
|
2084
2088
|
return [
|
|
2085
|
-
|
|
2086
|
-
Vn,
|
|
2089
|
+
Tn,
|
|
2087
2090
|
$n,
|
|
2088
|
-
|
|
2089
|
-
|
|
2091
|
+
wn,
|
|
2092
|
+
An,
|
|
2090
2093
|
Dn,
|
|
2091
|
-
|
|
2094
|
+
In,
|
|
2092
2095
|
Sn,
|
|
2096
|
+
Bn,
|
|
2093
2097
|
...n?.plugins || []
|
|
2094
2098
|
].forEach((u) => p.use(u)), p.hooks.callHook("init", p), p;
|
|
2095
2099
|
}
|
|
2096
|
-
const
|
|
2097
|
-
function
|
|
2100
|
+
const Un = to.startsWith("3");
|
|
2101
|
+
function Rn(n) {
|
|
2098
2102
|
return typeof n == "function" ? n() : o(n);
|
|
2099
2103
|
}
|
|
2100
|
-
function
|
|
2104
|
+
function xe(n, l = "") {
|
|
2101
2105
|
if (n instanceof Promise)
|
|
2102
2106
|
return n;
|
|
2103
|
-
const e =
|
|
2104
|
-
return !n || !e ? e : Array.isArray(e) ? e.map((t) =>
|
|
2105
|
-
Object.entries(e).map(([t, i]) => t === "titleTemplate" || t.startsWith("on") ? [t, o(i)] : [t,
|
|
2107
|
+
const e = Rn(n);
|
|
2108
|
+
return !n || !e ? e : Array.isArray(e) ? e.map((t) => xe(t, l)) : typeof e == "object" ? Object.fromEntries(
|
|
2109
|
+
Object.entries(e).map(([t, i]) => t === "titleTemplate" || t.startsWith("on") ? [t, o(i)] : [t, xe(i, t)])
|
|
2106
2110
|
) : e;
|
|
2107
2111
|
}
|
|
2108
|
-
const
|
|
2112
|
+
const Ln = {
|
|
2109
2113
|
hooks: {
|
|
2110
2114
|
"entries:resolve": function(n) {
|
|
2111
2115
|
for (const l of n.entries)
|
|
2112
|
-
l.resolvedInput =
|
|
2116
|
+
l.resolvedInput = xe(l.input);
|
|
2113
2117
|
}
|
|
2114
2118
|
}
|
|
2115
|
-
},
|
|
2116
|
-
function
|
|
2119
|
+
}, Nn = "usehead";
|
|
2120
|
+
function Fn(n) {
|
|
2117
2121
|
return {
|
|
2118
2122
|
install(e) {
|
|
2119
|
-
|
|
2123
|
+
Un && (e.config.globalProperties.$unhead = n, e.config.globalProperties.$head = n, e.provide(Nn, n));
|
|
2120
2124
|
}
|
|
2121
2125
|
}.install;
|
|
2122
2126
|
}
|
|
2123
|
-
function
|
|
2124
|
-
n.domDelayFn = n.domDelayFn || ((e) =>
|
|
2125
|
-
const l = /* @__PURE__ */
|
|
2126
|
-
return l.use(
|
|
2127
|
+
function On(n = {}) {
|
|
2128
|
+
n.domDelayFn = n.domDelayFn || ((e) => eo(() => setTimeout(() => e(), 0)));
|
|
2129
|
+
const l = /* @__PURE__ */ En(n);
|
|
2130
|
+
return l.use(Ln), l.install = Fn(l), l;
|
|
2127
2131
|
}
|
|
2128
|
-
const
|
|
2129
|
-
class
|
|
2132
|
+
const jn = uo(), Gn = On(), qn = fo();
|
|
2133
|
+
class Wn extends HTMLElement {
|
|
2130
2134
|
vueApp;
|
|
2131
2135
|
constructor() {
|
|
2132
2136
|
super();
|
|
@@ -2148,13 +2152,13 @@ class Gn extends HTMLElement {
|
|
|
2148
2152
|
let r = this.attributes.getNamedItem(u)?.value;
|
|
2149
2153
|
m.hasOwnProperty(u) && (r = m[u]), s[u] = r;
|
|
2150
2154
|
}
|
|
2151
|
-
this.vueApp =
|
|
2155
|
+
this.vueApp = oo(Ve, s), co(this.vueApp), this.vueApp.provide("emitter", qn), this.vueApp.use(Gn), this.vueApp.use(jn), this.vueApp.use(_o), this.vueApp.use(po), this.vueApp.use(Vo), this.vueApp.use(mo, { bootstrap: !0 });
|
|
2152
2156
|
const p = document.createElement("div");
|
|
2153
2157
|
this.vueApp.mount(p), this.appendChild(p.children[0]);
|
|
2154
2158
|
}
|
|
2155
2159
|
}
|
|
2156
|
-
window.customElements.define("konnectio-hotel",
|
|
2160
|
+
window.customElements.define("konnectio-hotel", Wn);
|
|
2157
2161
|
export {
|
|
2158
|
-
|
|
2162
|
+
Wn as default
|
|
2159
2163
|
};
|
|
2160
2164
|
//# sourceMappingURL=hotel.js.map
|