@konnectio/core 4.0.66 → 4.0.67
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-BFyj_Q6Y.js → ActionField-CT_apby-.js} +3 -3
- package/dist/ActionField-CT_apby-.js.br +0 -0
- package/dist/{AvailabilitySkeleton-CErmWvze.js → AvailabilitySkeleton-CZ8yMhKx.js} +6 -6
- package/dist/AvailabilitySkeleton-CZ8yMhKx.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Dj5wPaD7.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-L3G7fjJr.js} +4 -4
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-L3G7fjJr.js.br +0 -0
- package/dist/{CheckoutWindow-D17Ro_DJ.js → CheckoutWindow-B5_4BaaS.js} +4 -4
- package/dist/CheckoutWindow-B5_4BaaS.js.br +0 -0
- package/dist/{ErrorMessage-CGQ7GBeF.js → ErrorMessage-M78h-mvR.js} +3 -3
- package/dist/ErrorMessage-M78h-mvR.js.br +0 -0
- package/dist/{EventAvailabilityForm-CJfzXqvA.js → EventAvailabilityForm-HdD0h2K-.js} +5 -5
- package/dist/EventAvailabilityForm-HdD0h2K-.js.br +0 -0
- package/dist/{Field-U4PRgzZl.js → Field-B8yANlQ6.js} +3 -3
- package/dist/Field-B8yANlQ6.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DZub1PhF.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-rrYg4a8F.js} +1609 -1575
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-rrYg4a8F.js.br +0 -0
- package/dist/{TermsOfService-DOeiT92a.js → TermsOfService-BJKKDCJG.js} +5 -5
- package/dist/TermsOfService-BJKKDCJG.js.br +0 -0
- package/dist/{_-D7TRIaiE.js → _-yypsiI8V.js} +2 -2
- package/dist/_.vue_vue_type_style_index_0_lang-CyUM1wWD.js +40 -0
- package/dist/_.vue_vue_type_style_index_0_lang-CyUM1wWD.js.br +0 -0
- package/dist/{_commonjsHelpers-BfPn4qnR.js → _commonjsHelpers-Dn7n5RRb.js} +2 -2
- package/dist/_commonjsHelpers-Dn7n5RRb.js.br +0 -0
- package/dist/{_sentry-release-injection-file-Yp2ihk3D.js → _sentry-release-injection-file-gSWd_6hD.js} +3 -3
- package/dist/_sentry-release-injection-file-gSWd_6hD.js.br +0 -0
- package/dist/availability.js +7 -7
- package/dist/availability.js.br +0 -0
- package/dist/deep-link.js +2 -2
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +9 -9
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +9 -9
- 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-ByGCHqVm.js → giftCard-Baweqc3Y.js} +4 -4
- package/dist/giftCard-Baweqc3Y.js.br +0 -0
- package/dist/hotel.js +384 -379
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-B2WHiWIP.js → masonry.plugin-HPRfkQvp.js} +48 -46
- package/dist/masonry.plugin-HPRfkQvp.js.br +0 -0
- package/dist/{mitt-DZo2eOMo.js → mitt-CayBWWiP.js} +2 -2
- package/dist/mitt-CayBWWiP.js.br +0 -0
- package/dist/polyfill.js +187 -187
- package/dist/polyfill.js.br +0 -0
- package/dist/{style-DCxChsQz.js → style-B31Ox_CN.js} +2 -2
- package/dist/style-B31Ox_CN.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +1 -1
- package/dist/ActionField-BFyj_Q6Y.js.br +0 -0
- package/dist/AvailabilitySkeleton-CErmWvze.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Dj5wPaD7.js.br +0 -0
- package/dist/CheckoutWindow-D17Ro_DJ.js.br +0 -0
- package/dist/ErrorMessage-CGQ7GBeF.js.br +0 -0
- package/dist/EventAvailabilityForm-CJfzXqvA.js.br +0 -0
- package/dist/Field-U4PRgzZl.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DZub1PhF.js.br +0 -0
- package/dist/TermsOfService-DOeiT92a.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-DEeIjtcD.js +0 -77
- package/dist/_.vue_vue_type_style_index_0_lang-DEeIjtcD.js.br +0 -0
- package/dist/_commonjsHelpers-BfPn4qnR.js.br +0 -0
- package/dist/_sentry-release-injection-file-Yp2ihk3D.js.br +0 -0
- package/dist/giftCard-ByGCHqVm.js.br +0 -0
- package/dist/masonry.plugin-B2WHiWIP.js.br +0 -0
- package/dist/mitt-DZo2eOMo.js.br +0 -0
- package/dist/style-DCxChsQz.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { d as X, r as le, a as
|
|
2
|
-
import { u as ne, s as Q, T as uo, c as
|
|
3
|
-
import { e as Te, y as fe, u as Ve, I as J, s as pe, z as Xe, l as
|
|
4
|
-
import { G as
|
|
5
|
-
import { A as
|
|
6
|
-
import { R as
|
|
7
|
-
import { S as
|
|
8
|
-
import { C as Ee, B as
|
|
9
|
-
import { _ as $t } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-
|
|
1
|
+
import { d as X, r as le, a as u, b as A, q as no, u as t, w as C, g as h, e as a, t as v, A as Ke, B as xe, f as g, i as _, s as F, F as M, l as ze, x as Qe, v as U, h as He, c as O, p as Vt, j as Tt, o as lt, z as Ie, n as Be, S as ao, C as io, D as so, E as ro, k as co } from "./_sentry-release-injection-file-gSWd_6hD.js";
|
|
2
|
+
import { u as ne, s as Q, T as uo, c as po, i as mo, m as fo } from "./mitt-CayBWWiP.js";
|
|
3
|
+
import { e as Te, y as fe, u as Ve, I as J, s as pe, z as Xe, l as ut, j as ce, h as oe, _ as me, o as Le, A as wt, b as et, d as ue, B as Ct, D as pt, T as de, q as ho, F as vo, a as yo, C as go, i as mt, k as bo, m as ft, c as ko, n as _o } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-rrYg4a8F.js";
|
|
4
|
+
import { G as Vo } from "./style-B31Ox_CN.js";
|
|
5
|
+
import { A as To, H as wo } from "./AvailabilitySkeleton-CZ8yMhKx.js";
|
|
6
|
+
import { R as Co, B as Me, L as $o, S as Ao, M as Po, a as Je, C as Do, T as So, V as Ho } from "./masonry.plugin-HPRfkQvp.js";
|
|
7
|
+
import { S as Io } from "./TermsOfService-BJKKDCJG.js";
|
|
8
|
+
import { C as Ee, B as Bo, P as Eo, a as No } from "./CheckoutWindow-B5_4BaaS.js";
|
|
9
|
+
import { _ as $t } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-L3G7fjJr.js";
|
|
10
10
|
(function() {
|
|
11
11
|
try {
|
|
12
12
|
var n = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, l = new Error().stack;
|
|
13
|
-
l && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[l] = "
|
|
13
|
+
l && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[l] = "b9fdd209-de41-4300-b33c-3a4c08c0ba17", n._sentryDebugIdIdentifier = "sentry-dbid-b9fdd209-de41-4300-b33c-3a4c08c0ba17");
|
|
14
14
|
} catch {
|
|
15
15
|
}
|
|
16
16
|
})();
|
|
@@ -22,8 +22,8 @@ import { _ as $t } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scope
|
|
|
22
22
|
{ "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
|
|
23
23
|
);
|
|
24
24
|
}
|
|
25
|
-
const
|
|
26
|
-
const
|
|
25
|
+
const Lo = { key: 0 }, Mo = { class: "konnectio-hotel-reservation-warning" }, Ro = { class: "konnectio-hotel-reservation-warning" }, Uo = { class: "konnectio-hotel-reservation-warning" };
|
|
26
|
+
const Fo = { key: 0 }, Oo = { key: 1 }, jo = { key: 0 }, qo = { class: "konnectio-reservation-actions" }, Go = /* @__PURE__ */ X({
|
|
27
27
|
__name: "HotelReservationForm",
|
|
28
28
|
props: {
|
|
29
29
|
showGiftCard: { type: Boolean, default: !1 },
|
|
@@ -37,7 +37,7 @@ const Uo = { key: 0 }, Fo = { key: 1 }, Oo = { key: 0 }, jo = { class: "konnecti
|
|
|
37
37
|
arrivalDefault: s,
|
|
38
38
|
departureDefault: m,
|
|
39
39
|
disableNewsletterSignup: p,
|
|
40
|
-
currency:
|
|
40
|
+
currency: c
|
|
41
41
|
} = Q(Te()), {
|
|
42
42
|
arrivalTime: r,
|
|
43
43
|
departureTime: d,
|
|
@@ -63,7 +63,7 @@ const Uo = { key: 0 }, Fo = { key: 1 }, Oo = { key: 0 }, jo = { class: "konnecti
|
|
|
63
63
|
function Ce(ee) {
|
|
64
64
|
return ee.reduce((N, { totalPrice: ve }) => N + ve, 0);
|
|
65
65
|
}
|
|
66
|
-
return (ee, x) => (
|
|
66
|
+
return (ee, x) => (u(), A(Co, {
|
|
67
67
|
"discount-code": t(K),
|
|
68
68
|
"onUpdate:discountCode": x[4] || (x[4] = (N) => U(K) ? K.value = N : null),
|
|
69
69
|
"validate-discount-code": t(be),
|
|
@@ -72,86 +72,32 @@ const Uo = { key: 0 }, Fo = { key: 1 }, Oo = { key: 0 }, jo = { class: "konnecti
|
|
|
72
72
|
"show-terms-notice": ee.showTermsNotice,
|
|
73
73
|
"is-sidebar-loading": t(w),
|
|
74
74
|
notice: t(l)("hotel.reservationNotice")
|
|
75
|
-
}, {
|
|
75
|
+
}, no({
|
|
76
76
|
form: C(() => [
|
|
77
|
-
|
|
78
|
-
]),
|
|
79
|
-
"reservation-summary": C(() => [
|
|
80
|
-
t(he) && !isNaN(t(Y)) ? (c(), h("li", No, [
|
|
81
|
-
a("span", null, v(t(l)("general.location")), 1),
|
|
82
|
-
a("b", null, [
|
|
83
|
-
a("span", null, v(t(Re)(t(Y))), 1),
|
|
84
|
-
xe(a("span", Lo, [
|
|
85
|
-
g(J, {
|
|
86
|
-
icon: "exclamation-triangle",
|
|
87
|
-
type: "fas"
|
|
88
|
-
})
|
|
89
|
-
], 512), [
|
|
90
|
-
[ze, t(j)]
|
|
91
|
-
])
|
|
92
|
-
])
|
|
93
|
-
])) : _("", !0),
|
|
94
|
-
a("li", null, [
|
|
95
|
-
a("span", null, v(t(l)("booking.reservation.arrival")), 1),
|
|
96
|
-
a("b", null, [
|
|
97
|
-
a("span", null, v(t(o) ? t(pe)(t(k)) : `${t(pe)(t(k))}, ${t(e) ? t(s) : t(r)}`), 1),
|
|
98
|
-
xe(a("span", Mo, [
|
|
99
|
-
g(J, {
|
|
100
|
-
icon: "exclamation-triangle",
|
|
101
|
-
type: "fas"
|
|
102
|
-
})
|
|
103
|
-
], 512), [
|
|
104
|
-
[ze, t(I)]
|
|
105
|
-
])
|
|
106
|
-
])
|
|
107
|
-
]),
|
|
108
|
-
a("li", null, [
|
|
109
|
-
a("span", null, v(t(l)("booking.reservation.departure")), 1),
|
|
110
|
-
a("b", null, [
|
|
111
|
-
a("span", null, v(t(o) ? t(pe)(t(D)) : `${t(pe)(t(D))}, ${t(i) ? t(m) : t(d)}`), 1),
|
|
112
|
-
xe(a("span", Ro, [
|
|
113
|
-
g(J, {
|
|
114
|
-
icon: "exclamation-triangle",
|
|
115
|
-
type: "fas"
|
|
116
|
-
})
|
|
117
|
-
], 512), [
|
|
118
|
-
[ze, t(I)]
|
|
119
|
-
])
|
|
120
|
-
])
|
|
121
|
-
]),
|
|
122
|
-
a("li", null, [
|
|
123
|
-
a("span", null, v(t(l)("booking.reservation.nights")), 1),
|
|
124
|
-
a("b", null, v(t(Xe)(t(k), t(D))) + " " + v(t(ct)(t(Xe)(t(k), t(D)) === 1 ? t(l)("booking.reservation.night") : t(l)("booking.reservation.nights"))), 1)
|
|
125
|
-
]),
|
|
126
|
-
t(B) ? (c(!0), h(M, { key: 1 }, F(t(B), (N) => (c(), h("li", {
|
|
127
|
-
key: N.id
|
|
128
|
-
}, [
|
|
129
|
-
a("span", null, v(`${t(l)("general.discountCode")} (${N.value})`), 1),
|
|
130
|
-
a("b", null, v(N.key), 1)
|
|
131
|
-
]))), 128)) : _("", !0)
|
|
77
|
+
ze(ee.$slots, "form", {}, void 0, !0)
|
|
132
78
|
]),
|
|
133
79
|
"price-summary": C(() => [
|
|
134
|
-
isNaN(t(V)) && t(f).length > 0 ? (
|
|
80
|
+
isNaN(t(V)) && t(f).length > 0 ? (u(!0), h(M, { key: 0 }, F(t(f), ({
|
|
135
81
|
roomGroupID: N,
|
|
136
82
|
title: ve,
|
|
137
83
|
variants: Ue
|
|
138
|
-
}) => (
|
|
84
|
+
}) => (u(), h("div", { key: N }, [
|
|
139
85
|
a("h6", null, [
|
|
140
86
|
a("span", null, v(ve), 1)
|
|
141
87
|
]),
|
|
142
|
-
(
|
|
143
|
-
(
|
|
88
|
+
(u(!0), h(M, null, F(Ue, ($e, Fe) => (u(), h("div", { key: Fe }, [
|
|
89
|
+
(u(!0), h(M, null, F($e.rooms, (ie, _e) => (u(), h("ul", { key: _e }, [
|
|
144
90
|
a("li", null, [
|
|
145
91
|
a("span", null, [
|
|
146
92
|
a("span", null, [
|
|
147
|
-
Qe(v(t(
|
|
93
|
+
Qe(v(t(ce)($e.name)) + " ( ", 1),
|
|
148
94
|
g(J, {
|
|
149
95
|
icon: "male",
|
|
150
96
|
type: "fas",
|
|
151
97
|
color: "font"
|
|
152
98
|
}),
|
|
153
99
|
a("span", null, v(ie.adultsCount), 1),
|
|
154
|
-
ie.childrenCount > 0 ? (
|
|
100
|
+
ie.childrenCount > 0 ? (u(), h(M, { key: 0 }, [
|
|
155
101
|
g(J, {
|
|
156
102
|
icon: "child",
|
|
157
103
|
type: "fas",
|
|
@@ -163,42 +109,42 @@ const Uo = { key: 0 }, Fo = { key: 1 }, Oo = { key: 0 }, jo = { class: "konnecti
|
|
|
163
109
|
])
|
|
164
110
|
]),
|
|
165
111
|
a("b", null, [
|
|
166
|
-
a("span", null, v(t(oe)(ie.totalPrice, t(
|
|
112
|
+
a("span", null, v(t(oe)(ie.totalPrice, t(c))), 1),
|
|
167
113
|
_("", !0)
|
|
168
114
|
])
|
|
169
115
|
]),
|
|
170
|
-
Ce(ie.roomAddons) > 0 ? (
|
|
116
|
+
Ce(ie.roomAddons) > 0 ? (u(), h("li", Fo, [
|
|
171
117
|
a("span", null, v(t(l)("general.addons")), 1),
|
|
172
|
-
a("b", null, v(t(oe)(Ce(ie.roomAddons), t(
|
|
118
|
+
a("b", null, v(t(oe)(Ce(ie.roomAddons), t(c))), 1)
|
|
173
119
|
])) : _("", !0)
|
|
174
120
|
]))), 128))
|
|
175
121
|
]))), 128))
|
|
176
122
|
]))), 128)) : _("", !0),
|
|
177
|
-
t(H) && t(E) ? (
|
|
123
|
+
t(H) && t(E) ? (u(), h("div", Oo, [
|
|
178
124
|
a("h6", null, [
|
|
179
|
-
a("span", null, v(t(
|
|
125
|
+
a("span", null, v(t(ce)(t(E).name)), 1)
|
|
180
126
|
]),
|
|
181
127
|
a("div", null, [
|
|
182
128
|
a("ul", null, [
|
|
183
129
|
a("li", null, [
|
|
184
130
|
a("span", null, [
|
|
185
|
-
a("span", null, v(t(
|
|
131
|
+
a("span", null, v(t(ce)(t(H).title)), 1)
|
|
186
132
|
]),
|
|
187
133
|
a("b", null, [
|
|
188
|
-
a("span", null, v(t(oe)(t(H).extraPrice, t(
|
|
134
|
+
a("span", null, v(t(oe)(t(H).extraPrice, t(c))), 1)
|
|
189
135
|
])
|
|
190
136
|
]),
|
|
191
|
-
t(R) ? (
|
|
137
|
+
t(R) ? (u(), h("li", jo, [
|
|
192
138
|
a("span", null, v(t(l)("general.addons")), 1),
|
|
193
|
-
a("b", null, v(t(oe)(t(R), t(
|
|
139
|
+
a("b", null, v(t(oe)(t(R), t(c))), 1)
|
|
194
140
|
])) : _("", !0)
|
|
195
141
|
])
|
|
196
142
|
])
|
|
197
143
|
])) : _("", !0)
|
|
198
144
|
]),
|
|
199
145
|
actions: C(() => [
|
|
200
|
-
a("ul",
|
|
201
|
-
t(p) ? _("", !0) : (
|
|
146
|
+
a("ul", qo, [
|
|
147
|
+
t(p) ? _("", !0) : (u(), A(Ee, {
|
|
202
148
|
key: 0,
|
|
203
149
|
modelValue: t(W),
|
|
204
150
|
"onUpdate:modelValue": x[0] || (x[0] = (N) => U(W) ? W.value = N : null),
|
|
@@ -206,7 +152,7 @@ const Uo = { key: 0 }, Fo = { key: 1 }, Oo = { key: 0 }, jo = { class: "konnecti
|
|
|
206
152
|
name: "newsletter",
|
|
207
153
|
label: t(l)("booking.reservation.newsletterSignUp")
|
|
208
154
|
}, null, 8, ["modelValue", "label"])),
|
|
209
|
-
t(ae) ? (
|
|
155
|
+
t(ae) ? (u(), A(Ee, {
|
|
210
156
|
key: 1,
|
|
211
157
|
modelValue: t(ge),
|
|
212
158
|
"onUpdate:modelValue": x[2] || (x[2] = (N) => U(ge) ? ge.value = N : null),
|
|
@@ -224,7 +170,7 @@ const Uo = { key: 0 }, Fo = { key: 1 }, Oo = { key: 0 }, jo = { class: "konnecti
|
|
|
224
170
|
class: "konnectio-accept-terms-link",
|
|
225
171
|
onClick: x[1] || (x[1] = He((N) => ke.value = !0, ["prevent"]))
|
|
226
172
|
}, [
|
|
227
|
-
a("span", null, v(t(
|
|
173
|
+
a("span", null, v(t(ut)(t(l)("general.termsAndConditions"))), 1)
|
|
228
174
|
])
|
|
229
175
|
]),
|
|
230
176
|
_: 1
|
|
@@ -232,8 +178,8 @@ const Uo = { key: 0 }, Fo = { key: 1 }, Oo = { key: 0 }, jo = { class: "konnecti
|
|
|
232
178
|
]),
|
|
233
179
|
_: 1
|
|
234
180
|
}, 8, ["modelValue"])) : _("", !0),
|
|
235
|
-
|
|
236
|
-
g(
|
|
181
|
+
ze(ee.$slots, "actions", {}, void 0, !0),
|
|
182
|
+
g(Io, {
|
|
237
183
|
modelValue: ke.value,
|
|
238
184
|
"onUpdate:modelValue": x[3] || (x[3] = (N) => ke.value = N),
|
|
239
185
|
description: t(q)
|
|
@@ -241,12 +187,71 @@ const Uo = { key: 0 }, Fo = { key: 1 }, Oo = { key: 0 }, jo = { class: "konnecti
|
|
|
241
187
|
])
|
|
242
188
|
]),
|
|
243
189
|
navigation: C(() => [
|
|
244
|
-
|
|
190
|
+
ze(ee.$slots, "navigation", {}, void 0, !0)
|
|
245
191
|
]),
|
|
246
|
-
_:
|
|
247
|
-
},
|
|
192
|
+
_: 2
|
|
193
|
+
}, [
|
|
194
|
+
isNaN(t(Y)) ? void 0 : {
|
|
195
|
+
name: "reservation-summary",
|
|
196
|
+
fn: C(() => [
|
|
197
|
+
t(he) ? (u(), h("li", Lo, [
|
|
198
|
+
a("span", null, v(t(l)("general.location")), 1),
|
|
199
|
+
a("b", null, [
|
|
200
|
+
a("span", null, v(t(Re)(t(Y))), 1),
|
|
201
|
+
Ke(a("span", Mo, [
|
|
202
|
+
g(J, {
|
|
203
|
+
icon: "exclamation-triangle",
|
|
204
|
+
type: "fas"
|
|
205
|
+
})
|
|
206
|
+
], 512), [
|
|
207
|
+
[xe, t(j)]
|
|
208
|
+
])
|
|
209
|
+
])
|
|
210
|
+
])) : _("", !0),
|
|
211
|
+
a("li", null, [
|
|
212
|
+
a("span", null, v(t(l)("booking.reservation.arrival")), 1),
|
|
213
|
+
a("b", null, [
|
|
214
|
+
a("span", null, v(t(o) ? t(pe)(t(k)) : `${t(pe)(t(k))}, ${t(e) ? t(s) : t(r)}`), 1),
|
|
215
|
+
Ke(a("span", Ro, [
|
|
216
|
+
g(J, {
|
|
217
|
+
icon: "exclamation-triangle",
|
|
218
|
+
type: "fas"
|
|
219
|
+
})
|
|
220
|
+
], 512), [
|
|
221
|
+
[xe, t(I)]
|
|
222
|
+
])
|
|
223
|
+
])
|
|
224
|
+
]),
|
|
225
|
+
a("li", null, [
|
|
226
|
+
a("span", null, v(t(l)("booking.reservation.departure")), 1),
|
|
227
|
+
a("b", null, [
|
|
228
|
+
a("span", null, v(t(o) ? t(pe)(t(D)) : `${t(pe)(t(D))}, ${t(i) ? t(m) : t(d)}`), 1),
|
|
229
|
+
Ke(a("span", Uo, [
|
|
230
|
+
g(J, {
|
|
231
|
+
icon: "exclamation-triangle",
|
|
232
|
+
type: "fas"
|
|
233
|
+
})
|
|
234
|
+
], 512), [
|
|
235
|
+
[xe, t(I)]
|
|
236
|
+
])
|
|
237
|
+
])
|
|
238
|
+
]),
|
|
239
|
+
a("li", null, [
|
|
240
|
+
a("span", null, v(t(l)("booking.reservation.nights")), 1),
|
|
241
|
+
a("b", null, v(t(Xe)(t(k), t(D))) + " " + v(t(ut)(t(Xe)(t(k), t(D)) === 1 ? t(l)("booking.reservation.night") : t(l)("booking.reservation.nights"))), 1)
|
|
242
|
+
]),
|
|
243
|
+
t(B) ? (u(!0), h(M, { key: 1 }, F(t(B), (N) => (u(), h("li", {
|
|
244
|
+
key: N.id
|
|
245
|
+
}, [
|
|
246
|
+
a("span", null, v(`${t(l)("general.discountCode")} (${N.value})`), 1),
|
|
247
|
+
a("b", null, v(N.key), 1)
|
|
248
|
+
]))), 128)) : _("", !0)
|
|
249
|
+
]),
|
|
250
|
+
key: "0"
|
|
251
|
+
}
|
|
252
|
+
]), 1032, ["discount-code", "validate-discount-code", "total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
|
|
248
253
|
}
|
|
249
|
-
}), Ye = /* @__PURE__ */ me(
|
|
254
|
+
}), Ye = /* @__PURE__ */ me(Go, [["__scopeId", "data-v-4bc6b7bc"]]), Wo = (n) => (Vt("data-v-69fe83d8"), n = n(), Tt(), n), Ko = { class: "konnectio-room-config-option" }, xo = { key: 0 }, zo = { class: "konnectio-selected-room-config" }, Jo = { class: "konnectio-selected-room-config-people" }, Yo = { key: 0 }, Zo = { class: "konnectio-selected-room-config-price" }, Qo = /* @__PURE__ */ Wo(() => /* @__PURE__ */ a("span", null, null, -1)), Xo = /* @__PURE__ */ X({
|
|
250
255
|
__name: "RoomConfigField",
|
|
251
256
|
props: {
|
|
252
257
|
modelValue: {},
|
|
@@ -258,28 +263,28 @@ const Uo = { key: 0 }, Fo = { key: 1 }, Oo = { key: 0 }, jo = { class: "konnecti
|
|
|
258
263
|
emits: ["update:modelValue"],
|
|
259
264
|
setup(n, { emit: l }) {
|
|
260
265
|
const { t: o } = ne(), { currency: e } = Q(Te()), i = l, s = n;
|
|
261
|
-
function m(
|
|
262
|
-
i("update:modelValue",
|
|
266
|
+
function m(c) {
|
|
267
|
+
i("update:modelValue", c);
|
|
263
268
|
}
|
|
264
269
|
const p = O({
|
|
265
270
|
get: () => s.modelValue,
|
|
266
|
-
set: (
|
|
271
|
+
set: (c) => m(c)
|
|
267
272
|
});
|
|
268
|
-
return (
|
|
273
|
+
return (c, r) => (u(), A(Le, {
|
|
269
274
|
modelValue: p.value,
|
|
270
275
|
"onUpdate:modelValue": r[0] || (r[0] = (d) => p.value = d),
|
|
271
|
-
label:
|
|
276
|
+
label: c.label,
|
|
272
277
|
placeholder: "Select guest configuration",
|
|
273
278
|
labelKey: "label",
|
|
274
279
|
valueKey: "value",
|
|
275
280
|
"icon-placement": "label",
|
|
276
|
-
options:
|
|
277
|
-
readonly:
|
|
278
|
-
required:
|
|
281
|
+
options: c.options,
|
|
282
|
+
readonly: c.readonly,
|
|
283
|
+
required: c.required,
|
|
279
284
|
searchable: !1
|
|
280
285
|
}, {
|
|
281
286
|
option: C(({ data: d }) => [
|
|
282
|
-
a("span",
|
|
287
|
+
a("span", Ko, [
|
|
283
288
|
a("div", null, [
|
|
284
289
|
g(J, {
|
|
285
290
|
icon: "male",
|
|
@@ -287,7 +292,7 @@ const Uo = { key: 0 }, Fo = { key: 1 }, Oo = { key: 0 }, jo = { class: "konnecti
|
|
|
287
292
|
color: "font"
|
|
288
293
|
}),
|
|
289
294
|
a("span", null, v(`${d.adults}`), 1),
|
|
290
|
-
d.children > 0 ? (
|
|
295
|
+
d.children > 0 ? (u(), h("span", xo, [
|
|
291
296
|
g(J, {
|
|
292
297
|
icon: "child",
|
|
293
298
|
type: "fas",
|
|
@@ -300,19 +305,19 @@ const Uo = { key: 0 }, Fo = { key: 1 }, Oo = { key: 0 }, jo = { class: "konnecti
|
|
|
300
305
|
])
|
|
301
306
|
]),
|
|
302
307
|
"selected-option": C(({ data: d }) => [
|
|
303
|
-
a("div",
|
|
304
|
-
a("div",
|
|
308
|
+
a("div", zo, [
|
|
309
|
+
a("div", Jo, [
|
|
305
310
|
a("div", null, [
|
|
306
311
|
_("", !0),
|
|
307
312
|
a("span", null, v(`${d.adults} ${d.adults === 1 ? t(o)("general.adult") : t(o)("general.adults")}`), 1)
|
|
308
313
|
]),
|
|
309
|
-
d.children > 0 ? (
|
|
314
|
+
d.children > 0 ? (u(), h("div", Yo, [
|
|
310
315
|
_("", !0),
|
|
311
316
|
a("span", null, v(`& ${d.children} ${d.children === 1 ? t(o)("general.child") : t(o)("general.children")}`), 1)
|
|
312
317
|
])) : _("", !0)
|
|
313
318
|
]),
|
|
314
|
-
a("div",
|
|
315
|
-
|
|
319
|
+
a("div", Zo, [
|
|
320
|
+
Qo,
|
|
316
321
|
Qe(" " + v(`(${t(oe)(d.price, t(e))})`), 1)
|
|
317
322
|
])
|
|
318
323
|
])
|
|
@@ -320,8 +325,8 @@ const Uo = { key: 0 }, Fo = { key: 1 }, Oo = { key: 0 }, jo = { class: "konnecti
|
|
|
320
325
|
_: 1
|
|
321
326
|
}, 8, ["modelValue", "label", "options", "readonly", "required"]));
|
|
322
327
|
}
|
|
323
|
-
}),
|
|
324
|
-
const
|
|
328
|
+
}), el = /* @__PURE__ */ me(Xo, [["__scopeId", "data-v-69fe83d8"]]), tl = { class: "konnectio-availability-listing-selection" }, ol = { key: 1 }, ll = { class: "konnectio-listing-config-body" }, nl = { class: "konnectio-listing-units-body" };
|
|
329
|
+
const al = /* @__PURE__ */ X({
|
|
325
330
|
__name: "Hotel",
|
|
326
331
|
props: {
|
|
327
332
|
room: {},
|
|
@@ -339,7 +344,7 @@ const nl = /* @__PURE__ */ X({
|
|
|
339
344
|
const s = O(() => o.room.rates.map((k) => ({
|
|
340
345
|
label: k.name,
|
|
341
346
|
value: k.id
|
|
342
|
-
}))), { hideAvailableRoomAmount: m, autoSelectRateId: p } = Q(Te()), { roomSelect:
|
|
347
|
+
}))), { hideAvailableRoomAmount: m, autoSelectRateId: p } = Q(Te()), { roomSelect: c } = Q(fe()), { addToCart: r, removeFromCart: d } = wt(), f = (k, D) => o.room.rates.find((I) => I.id === k)?.occupantRates.find((I) => I.index === D), V = O(() => o.room.rates.every((k) => k.isBreakfastIncluded === !0)), $ = (k, D) => f(k, D) ? f(k, D)?.rooms : null, w = (k) => o.room.rates.length > 0 ? o.room.rates.find((D) => D.id === k)?.occupantRates.map((D) => ({
|
|
343
348
|
value: D.index,
|
|
344
349
|
price: D.totalPrice,
|
|
345
350
|
adults: D.adultsCount,
|
|
@@ -390,8 +395,8 @@ const nl = /* @__PURE__ */ X({
|
|
|
390
395
|
});
|
|
391
396
|
});
|
|
392
397
|
}, { deep: !0 }), Ie(e, () => {
|
|
393
|
-
|
|
394
|
-
}, { deep: !0 }), (k, D) => (
|
|
398
|
+
c.value[o.room.id] = e.value;
|
|
399
|
+
}, { deep: !0 }), (k, D) => (u(), A(Me, {
|
|
395
400
|
type: "hotel",
|
|
396
401
|
"listing-id": k.room.id,
|
|
397
402
|
gallery: k.room.images,
|
|
@@ -403,12 +408,12 @@ const nl = /* @__PURE__ */ X({
|
|
|
403
408
|
"includes-breakfast": V.value
|
|
404
409
|
}, {
|
|
405
410
|
action: C(() => [
|
|
406
|
-
a("div",
|
|
407
|
-
(
|
|
411
|
+
a("div", tl, [
|
|
412
|
+
(u(!0), h(M, null, F(e.value, (I, Y) => (u(), h("div", {
|
|
408
413
|
key: I.id,
|
|
409
414
|
class: "konnectio-hotel-room"
|
|
410
415
|
}, [
|
|
411
|
-
H.value ? (
|
|
416
|
+
H.value ? (u(), A(Le, {
|
|
412
417
|
key: 0,
|
|
413
418
|
modelValue: I.id,
|
|
414
419
|
"onUpdate:modelValue": (j) => I.id = j,
|
|
@@ -417,20 +422,20 @@ const nl = /* @__PURE__ */ X({
|
|
|
417
422
|
options: s.value,
|
|
418
423
|
searchable: !1
|
|
419
424
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : _("", !0),
|
|
420
|
-
I.id ? (
|
|
421
|
-
(
|
|
425
|
+
I.id ? (u(), h("div", ol, [
|
|
426
|
+
(u(!0), h(M, null, F(k.room.rates, ({
|
|
422
427
|
id: j,
|
|
423
428
|
maximumOccupants: W
|
|
424
|
-
}) => (
|
|
429
|
+
}) => (u(), h("div", {
|
|
425
430
|
key: j,
|
|
426
431
|
class: "konnectio-listing-action-selective-i"
|
|
427
432
|
}, [
|
|
428
|
-
I.id === j ? (
|
|
433
|
+
I.id === j ? (u(!0), h(M, { key: 0 }, F(I.config, (q, K) => (u(), h("div", {
|
|
429
434
|
key: K,
|
|
430
435
|
class: "konnectio-listing-action-selective"
|
|
431
436
|
}, [
|
|
432
|
-
a("ul",
|
|
433
|
-
g(
|
|
437
|
+
a("ul", ll, [
|
|
438
|
+
g(el, {
|
|
434
439
|
modelValue: q.id,
|
|
435
440
|
"onUpdate:modelValue": (ae) => q.id = ae,
|
|
436
441
|
icon: "male",
|
|
@@ -441,7 +446,7 @@ const nl = /* @__PURE__ */ X({
|
|
|
441
446
|
readonly: !(w(j).length > 1)
|
|
442
447
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
|
|
443
448
|
]),
|
|
444
|
-
a("ul",
|
|
449
|
+
a("ul", nl, [
|
|
445
450
|
g(et, {
|
|
446
451
|
modelValue: q.units,
|
|
447
452
|
"onUpdate:modelValue": (ae) => q.units = ae,
|
|
@@ -464,7 +469,7 @@ const nl = /* @__PURE__ */ X({
|
|
|
464
469
|
_: 1
|
|
465
470
|
}, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
|
|
466
471
|
}
|
|
467
|
-
}),
|
|
472
|
+
}), il = /* @__PURE__ */ me(al, [["__scopeId", "data-v-bac82644"]]), sl = { class: "konnectio-template-side-panel" }, rl = { class: "konnectio-template-side-panel-listings" }, dl = /* @__PURE__ */ X({
|
|
468
473
|
__name: "Template",
|
|
469
474
|
props: {
|
|
470
475
|
title: {},
|
|
@@ -474,30 +479,30 @@ const nl = /* @__PURE__ */ X({
|
|
|
474
479
|
callback: { type: Function }
|
|
475
480
|
},
|
|
476
481
|
setup(n) {
|
|
477
|
-
const { t: l } = ne(), { templateID: o, roomGroupID: e, selectionHasNoAddons: i } = Q(fe()), { currency: s } = Q(Te()), { clearRoomSelection: m } = fe(), p = n,
|
|
482
|
+
const { t: l } = ne(), { templateID: o, roomGroupID: e, selectionHasNoAddons: i } = Q(fe()), { currency: s } = Q(Te()), { clearRoomSelection: m } = fe(), p = n, c = le(!0), r = O(() => {
|
|
478
483
|
function f(V, $) {
|
|
479
|
-
return
|
|
484
|
+
return c.value === !0 ? V.extraPrice > $.extraPrice ? -1 : 1 : V.extraPrice > $.extraPrice ? 1 : -1;
|
|
480
485
|
}
|
|
481
486
|
return p.roomGroups?.slice().sort(f);
|
|
482
487
|
});
|
|
483
488
|
function d(f) {
|
|
484
489
|
o.value = p.templateId, e.value = f, m(), p.hideAddons === !0 || i.value ? p.callback(2) : p.callback(1);
|
|
485
490
|
}
|
|
486
|
-
return (f, V) => (
|
|
491
|
+
return (f, V) => (u(), A(Bo, {
|
|
487
492
|
title: f.title,
|
|
488
493
|
subtitle: t(l)("booking.availability.selectATemplateRoom")
|
|
489
494
|
}, {
|
|
490
495
|
default: C(() => [
|
|
491
|
-
a("div",
|
|
492
|
-
a("div",
|
|
493
|
-
(
|
|
496
|
+
a("div", sl, [
|
|
497
|
+
a("div", rl, [
|
|
498
|
+
(u(!0), h(M, null, F(r.value, ({
|
|
494
499
|
id: $,
|
|
495
500
|
title: w,
|
|
496
501
|
description: H,
|
|
497
502
|
images: E,
|
|
498
503
|
facilities: B,
|
|
499
504
|
extraPrice: k
|
|
500
|
-
}) => (
|
|
505
|
+
}) => (u(), A(Me, {
|
|
501
506
|
key: $,
|
|
502
507
|
"listing-id": $,
|
|
503
508
|
name: w,
|
|
@@ -509,7 +514,7 @@ const nl = /* @__PURE__ */ X({
|
|
|
509
514
|
}, {
|
|
510
515
|
action: C(() => [
|
|
511
516
|
a("div", null, [
|
|
512
|
-
g(
|
|
517
|
+
g(ue, {
|
|
513
518
|
onClickEvent: (D) => d($),
|
|
514
519
|
label: `${t(l)("booking.availability.selectThisRoom")} (${t(oe)(k, t(s))})`,
|
|
515
520
|
"full-width": ""
|
|
@@ -524,7 +529,7 @@ const nl = /* @__PURE__ */ X({
|
|
|
524
529
|
_: 1
|
|
525
530
|
}, 8, ["title", "subtitle"]));
|
|
526
531
|
}
|
|
527
|
-
}), At = /* @__PURE__ */ me(
|
|
532
|
+
}), At = /* @__PURE__ */ me(dl, [["__scopeId", "data-v-7424de30"]]), cl = { class: "konnectio-template-select-package" }, ul = /* @__PURE__ */ X({
|
|
528
533
|
__name: "Template",
|
|
529
534
|
props: {
|
|
530
535
|
id: {},
|
|
@@ -538,7 +543,7 @@ const nl = /* @__PURE__ */ X({
|
|
|
538
543
|
},
|
|
539
544
|
setup(n) {
|
|
540
545
|
const { t: l } = ne(), o = n, e = O(() => o.roomGroups.reduce(
|
|
541
|
-
(
|
|
546
|
+
(c, r) => c < r.extraPrice ? c : r.extraPrice,
|
|
542
547
|
1 / 0
|
|
543
548
|
)), i = O(() => {
|
|
544
549
|
if (o.image)
|
|
@@ -552,14 +557,14 @@ const nl = /* @__PURE__ */ X({
|
|
|
552
557
|
function m() {
|
|
553
558
|
s.value = !0;
|
|
554
559
|
}
|
|
555
|
-
function p(
|
|
556
|
-
o.callback(
|
|
560
|
+
function p(c) {
|
|
561
|
+
o.callback(c), s.value = !1;
|
|
557
562
|
}
|
|
558
|
-
return (
|
|
563
|
+
return (c, r) => (u(), A(Me, {
|
|
559
564
|
type: "template",
|
|
560
|
-
"listing-id":
|
|
561
|
-
name:
|
|
562
|
-
description:
|
|
565
|
+
"listing-id": c.id,
|
|
566
|
+
name: c.name,
|
|
567
|
+
description: c.description,
|
|
563
568
|
gallery: i.value,
|
|
564
569
|
layout: t(Ct).Template,
|
|
565
570
|
"includes-breakfast": !1,
|
|
@@ -567,8 +572,8 @@ const nl = /* @__PURE__ */ X({
|
|
|
567
572
|
"prices-from": e.value
|
|
568
573
|
}, {
|
|
569
574
|
action: C(() => [
|
|
570
|
-
a("div",
|
|
571
|
-
g(
|
|
575
|
+
a("div", cl, [
|
|
576
|
+
g(ue, {
|
|
572
577
|
onClickEvent: m,
|
|
573
578
|
label: t(l)("booking.availability.selectPackage"),
|
|
574
579
|
"full-width": ""
|
|
@@ -579,17 +584,17 @@ const nl = /* @__PURE__ */ X({
|
|
|
579
584
|
g(At, {
|
|
580
585
|
modelValue: s.value,
|
|
581
586
|
"onUpdate:modelValue": r[0] || (r[0] = (d) => s.value = d),
|
|
582
|
-
title:
|
|
583
|
-
"template-id":
|
|
584
|
-
"room-groups":
|
|
585
|
-
"hide-addons":
|
|
587
|
+
title: c.name,
|
|
588
|
+
"template-id": c.id,
|
|
589
|
+
"room-groups": c.roomGroups,
|
|
590
|
+
"hide-addons": c.hideAddons,
|
|
586
591
|
callback: p
|
|
587
592
|
}, null, 8, ["modelValue", "title", "template-id", "room-groups", "hide-addons"])
|
|
588
593
|
]),
|
|
589
594
|
_: 1
|
|
590
595
|
}, 8, ["listing-id", "name", "description", "gallery", "layout", "prices-from"]));
|
|
591
596
|
}
|
|
592
|
-
}),
|
|
597
|
+
}), pl = { class: "konnectio-special-offer-availability" }, ml = { class: "konnectio-special-offer-availability-button" }, fl = /* @__PURE__ */ X({
|
|
593
598
|
__name: "SpecialOffer",
|
|
594
599
|
props: {
|
|
595
600
|
id: {},
|
|
@@ -609,7 +614,7 @@ const nl = /* @__PURE__ */ X({
|
|
|
609
614
|
thumb: e.image.url,
|
|
610
615
|
url: e.image.url
|
|
611
616
|
}]), p = le(!1);
|
|
612
|
-
function
|
|
617
|
+
function c(d) {
|
|
613
618
|
e.callback(d), p.value = !1;
|
|
614
619
|
}
|
|
615
620
|
function r() {
|
|
@@ -617,7 +622,7 @@ const nl = /* @__PURE__ */ X({
|
|
|
617
622
|
}
|
|
618
623
|
return lt(() => {
|
|
619
624
|
s.value && (i.value = [new Date(e.fromDate), new Date(e.toDate)]);
|
|
620
|
-
}), (d, f) => (
|
|
625
|
+
}), (d, f) => (u(), A(Me, {
|
|
621
626
|
type: "template",
|
|
622
627
|
"listing-id": d.id,
|
|
623
628
|
name: d.name,
|
|
@@ -630,7 +635,7 @@ const nl = /* @__PURE__ */ X({
|
|
|
630
635
|
"from-date": d.fromDate
|
|
631
636
|
}, {
|
|
632
637
|
action: C(() => [
|
|
633
|
-
a("div",
|
|
638
|
+
a("div", pl, [
|
|
634
639
|
g($t, {
|
|
635
640
|
modelValue: i.value,
|
|
636
641
|
"onUpdate:modelValue": f[0] || (f[0] = (V) => i.value = V),
|
|
@@ -645,8 +650,8 @@ const nl = /* @__PURE__ */ X({
|
|
|
645
650
|
readonly: s.value,
|
|
646
651
|
range: ""
|
|
647
652
|
}, null, 8, ["modelValue", "label", "placeholder", "start-date", "min-date", "max-date", "readonly"]),
|
|
648
|
-
a("div",
|
|
649
|
-
g(
|
|
653
|
+
a("div", ml, [
|
|
654
|
+
g(ue, {
|
|
650
655
|
label: t(l)("availability.buttonLabel"),
|
|
651
656
|
onClick: He(r, ["prevent"])
|
|
652
657
|
}, null, 8, ["label"])
|
|
@@ -660,7 +665,7 @@ const nl = /* @__PURE__ */ X({
|
|
|
660
665
|
title: d.name,
|
|
661
666
|
"template-id": d.id,
|
|
662
667
|
roomGroups: d.roomGroups,
|
|
663
|
-
callback:
|
|
668
|
+
callback: c
|
|
664
669
|
}, null, 8, ["modelValue", "title", "template-id", "roomGroups"])
|
|
665
670
|
]),
|
|
666
671
|
_: 1
|
|
@@ -698,9 +703,9 @@ const nl = /* @__PURE__ */ X({
|
|
|
698
703
|
const s = le(e.modelValue);
|
|
699
704
|
return Ie(s, (m) => {
|
|
700
705
|
i(m);
|
|
701
|
-
}), (m, p) => (
|
|
706
|
+
}), (m, p) => (u(), A($t, {
|
|
702
707
|
modelValue: s.value,
|
|
703
|
-
"onUpdate:modelValue": p[0] || (p[0] = (
|
|
708
|
+
"onUpdate:modelValue": p[0] || (p[0] = (c) => s.value = c),
|
|
704
709
|
type: "time",
|
|
705
710
|
label: m.label,
|
|
706
711
|
id: m.id,
|
|
@@ -713,7 +718,7 @@ const nl = /* @__PURE__ */ X({
|
|
|
713
718
|
readonly: m.readonly
|
|
714
719
|
}, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
|
|
715
720
|
}
|
|
716
|
-
}),
|
|
721
|
+
}), hl = { style: { display: "flex", "align-items": "baseline" } }, vl = /* @__PURE__ */ X({
|
|
717
722
|
__name: "CountryField",
|
|
718
723
|
props: {
|
|
719
724
|
modelValue: {},
|
|
@@ -733,9 +738,9 @@ const nl = /* @__PURE__ */ X({
|
|
|
733
738
|
get: () => i.modelValue,
|
|
734
739
|
set: (p) => s(p)
|
|
735
740
|
});
|
|
736
|
-
return (p,
|
|
741
|
+
return (p, c) => (u(), A(Le, {
|
|
737
742
|
modelValue: m.value,
|
|
738
|
-
"onUpdate:modelValue":
|
|
743
|
+
"onUpdate:modelValue": c[0] || (c[0] = (r) => m.value = r),
|
|
739
744
|
label: p.label,
|
|
740
745
|
placeholder: t(o)("booking.reservation.countryPlaceholder"),
|
|
741
746
|
labelKey: "name",
|
|
@@ -750,7 +755,7 @@ const nl = /* @__PURE__ */ X({
|
|
|
750
755
|
a("span", null, v(r.name), 1)
|
|
751
756
|
]),
|
|
752
757
|
"selected-option": C(({ data: r }) => [
|
|
753
|
-
a("div",
|
|
758
|
+
a("div", hl, [
|
|
754
759
|
a("i", {
|
|
755
760
|
class: Be(["konnectio-flag-icon", r.iso])
|
|
756
761
|
}, null, 2),
|
|
@@ -760,7 +765,7 @@ const nl = /* @__PURE__ */ X({
|
|
|
760
765
|
_: 1
|
|
761
766
|
}, 8, ["modelValue", "label", "placeholder", "options", "required"]));
|
|
762
767
|
}
|
|
763
|
-
}),
|
|
768
|
+
}), yl = /* @__PURE__ */ me(vl, [["__scopeId", "data-v-1462612d"]]), gl = /* @__PURE__ */ X({
|
|
764
769
|
__name: "NameField",
|
|
765
770
|
props: {
|
|
766
771
|
modelValue: {},
|
|
@@ -789,10 +794,10 @@ const nl = /* @__PURE__ */ X({
|
|
|
789
794
|
Ie(m, (r) => {
|
|
790
795
|
e("update:title", r);
|
|
791
796
|
});
|
|
792
|
-
const { t:
|
|
797
|
+
const { t: c } = ne();
|
|
793
798
|
return lt(() => {
|
|
794
799
|
o.modelValue && (s.value = o.modelValue), o.title && (m.value = o.title);
|
|
795
|
-
}), (r, d) => (
|
|
800
|
+
}), (r, d) => (u(), A(ho, {
|
|
796
801
|
label: r.label,
|
|
797
802
|
id: t(i),
|
|
798
803
|
required: r.required,
|
|
@@ -807,7 +812,7 @@ const nl = /* @__PURE__ */ X({
|
|
|
807
812
|
{ "no-title": r.excludeTitle }
|
|
808
813
|
])
|
|
809
814
|
}, [
|
|
810
|
-
r.excludeTitle ? _("", !0) : (
|
|
815
|
+
r.excludeTitle ? _("", !0) : (u(), A(Le, {
|
|
811
816
|
key: 0,
|
|
812
817
|
modelValue: m.value,
|
|
813
818
|
"onUpdate:modelValue": d[0] || (d[0] = (f) => m.value = f),
|
|
@@ -817,23 +822,23 @@ const nl = /* @__PURE__ */ X({
|
|
|
817
822
|
"icon-type": r.iconType,
|
|
818
823
|
options: [
|
|
819
824
|
{
|
|
820
|
-
label: t(
|
|
825
|
+
label: t(c)("booking.reservation.noNameTitle"),
|
|
821
826
|
value: 1
|
|
822
827
|
},
|
|
823
828
|
{
|
|
824
|
-
label: t(
|
|
829
|
+
label: t(c)("booking.reservation.nameTitleMr"),
|
|
825
830
|
value: 2
|
|
826
831
|
},
|
|
827
832
|
{
|
|
828
|
-
label: t(
|
|
833
|
+
label: t(c)("booking.reservation.nameTitleMs"),
|
|
829
834
|
value: 3
|
|
830
835
|
},
|
|
831
836
|
{
|
|
832
|
-
label: t(
|
|
837
|
+
label: t(c)("booking.reservation.nameTitleMrs"),
|
|
833
838
|
value: 4
|
|
834
839
|
},
|
|
835
840
|
{
|
|
836
|
-
label: t(
|
|
841
|
+
label: t(c)("booking.reservation.nameTitleDr"),
|
|
837
842
|
value: 5
|
|
838
843
|
}
|
|
839
844
|
],
|
|
@@ -864,63 +869,63 @@ const nl = /* @__PURE__ */ X({
|
|
|
864
869
|
_: 1
|
|
865
870
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
866
871
|
}
|
|
867
|
-
}),
|
|
872
|
+
}), bl = /* @__PURE__ */ me(gl, [["__scopeId", "data-v-78b0b319"]]), kl = { class: "hotel-skeleton" }, _l = { class: "hotel-skeleton-content" }, Vl = { class: "hotel-skeleton-sidebar" }, Tl = /* @__PURE__ */ X({
|
|
868
873
|
__name: "HotelSkeleton",
|
|
869
874
|
setup(n) {
|
|
870
|
-
return (l, o) => (
|
|
871
|
-
a("div", kl, [
|
|
872
|
-
g(Vo, { hotel: "" }),
|
|
873
|
-
g(Co)
|
|
874
|
-
]),
|
|
875
|
+
return (l, o) => (u(), h("div", kl, [
|
|
875
876
|
a("div", _l, [
|
|
877
|
+
g(To, { hotel: "" }),
|
|
876
878
|
g($o)
|
|
879
|
+
]),
|
|
880
|
+
a("div", Vl, [
|
|
881
|
+
g(Ao)
|
|
877
882
|
])
|
|
878
883
|
]));
|
|
879
884
|
}
|
|
880
|
-
}),
|
|
881
|
-
const
|
|
885
|
+
}), wl = /* @__PURE__ */ me(Tl, [["__scopeId", "data-v-1bb21da4"]]), Cl = (n) => (Vt("data-v-ab11f496"), n = n(), Tt(), n), $l = { id: "booking-availability-container" }, Al = { id: "booking-availability-controls" };
|
|
886
|
+
const Pl = { key: 1 }, Dl = { key: 0 }, Sl = {
|
|
882
887
|
key: 0,
|
|
883
888
|
id: "booking-availability-packages"
|
|
884
|
-
},
|
|
889
|
+
}, Hl = {
|
|
885
890
|
key: 0,
|
|
886
891
|
class: "konnectio-hotel-availability-title"
|
|
887
|
-
},
|
|
892
|
+
}, Il = { id: "booking-availability-packages-wrapper" }, Bl = { key: 1 }, El = {
|
|
888
893
|
key: 0,
|
|
889
894
|
class: "konnectio-hotel-availability-title"
|
|
890
|
-
},
|
|
895
|
+
}, Nl = { id: "konnectio-listings" }, Ll = {
|
|
891
896
|
key: 2,
|
|
892
897
|
id: "booking-availability-packages"
|
|
893
|
-
},
|
|
898
|
+
}, Ml = { class: "konnectio-hotel-availability-title" }, Rl = { id: "booking-availability-packages-wrapper" }, Ul = {
|
|
894
899
|
key: 3,
|
|
895
900
|
id: "booking-availability-no-listings",
|
|
896
901
|
class: "konnectio-panel"
|
|
897
|
-
},
|
|
902
|
+
}, Fl = {
|
|
898
903
|
key: 1,
|
|
899
904
|
id: "booking-availability-no-listings"
|
|
900
|
-
},
|
|
905
|
+
}, Ol = {
|
|
901
906
|
key: 2,
|
|
902
907
|
id: "reservation-availability-next-dates"
|
|
903
|
-
},
|
|
904
|
-
const
|
|
908
|
+
}, jl = { class: "konnectio-hotel-availability-title" }, ql = { class: "reservation-special-offers-grid" }, Gl = ["title"];
|
|
909
|
+
const Wl = {
|
|
905
910
|
key: 2,
|
|
906
911
|
class: "konnectio-panel"
|
|
907
|
-
},
|
|
912
|
+
}, Kl = {
|
|
908
913
|
key: 3,
|
|
909
914
|
class: "konnectio-listing-loading"
|
|
910
|
-
},
|
|
915
|
+
}, xl = { class: "konnectio-panel" }, zl = {
|
|
911
916
|
key: 0,
|
|
912
917
|
id: "konnectio-hotel-addons"
|
|
913
918
|
};
|
|
914
|
-
const
|
|
919
|
+
const Jl = { class: "konnectio-event-addons-price" }, Yl = { key: 1 }, Zl = { class: "konnectio-table-addons-information" }, Ql = { class: "konnectio-table-addons-option" }, Xl = {
|
|
915
920
|
key: 1,
|
|
916
921
|
id: "konnectio-hotel-addons"
|
|
917
|
-
},
|
|
918
|
-
const
|
|
922
|
+
}, en = { class: "konnectio-table with-lines" };
|
|
923
|
+
const tn = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-event-addons-price" }, null, -1)), on = { class: "konnectio-table-addons-information" }, ln = { class: "konnectio-table-addons-option" }, nn = ["onClick"], an = { class: "konnectio-panel" }, sn = { key: 0 }, rn = { key: 1 }, dn = { class: "konnectio-split-inputs" }, cn = ["onClick"], un = /* @__PURE__ */ X({
|
|
919
924
|
name: "HotelLayout",
|
|
920
925
|
__name: "Hotel",
|
|
921
926
|
props: {
|
|
922
927
|
accessToken: {},
|
|
923
|
-
headerLayout: { default:
|
|
928
|
+
headerLayout: { default: vo.Minimal },
|
|
924
929
|
onlyShow: { default: "everything" },
|
|
925
930
|
hideAddons: { default: "no" },
|
|
926
931
|
disableDefaultLocation: { default: "no" },
|
|
@@ -928,12 +933,12 @@ const en = /* @__PURE__ */ wl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
928
933
|
styling: {}
|
|
929
934
|
},
|
|
930
935
|
setup(n) {
|
|
931
|
-
const l =
|
|
936
|
+
const l = io(() => import("./_-yypsiI8V.js")), o = n, { t: e } = ne(), {
|
|
932
937
|
currentLocation: i,
|
|
933
938
|
templateID: s,
|
|
934
939
|
templateAddons: m,
|
|
935
940
|
countries: p,
|
|
936
|
-
areListingsLoading:
|
|
941
|
+
areListingsLoading: c,
|
|
937
942
|
isPaymentLoading: r,
|
|
938
943
|
isReservationFormFilled: d,
|
|
939
944
|
travelingFor: f,
|
|
@@ -984,7 +989,7 @@ const en = /* @__PURE__ */ wl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
984
989
|
hasPaymentGateway: Ot,
|
|
985
990
|
maxAdultAmount: it,
|
|
986
991
|
maxChildAmount: st
|
|
987
|
-
} = Q(Te()), { beginCheckout: jt } = wt(), { display: qe } =
|
|
992
|
+
} = Q(Te()), { beginCheckout: jt } = wt(), { display: qe } = yo(), {
|
|
988
993
|
resetTemplate: qt,
|
|
989
994
|
resetDiscountVoucher: Gt,
|
|
990
995
|
createReservation: Wt,
|
|
@@ -1045,7 +1050,7 @@ const en = /* @__PURE__ */ wl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1045
1050
|
parseInt(Bt.value.split(":")[0]),
|
|
1046
1051
|
parseInt(Et.value.split(":")[0])
|
|
1047
1052
|
]]), Ge = O(() => o.hideAddons === "yes" || ee.value && o.hideAddons === "packages" || !ee.value && o.hideAddons === "rooms");
|
|
1048
|
-
function
|
|
1053
|
+
function ct(b) {
|
|
1049
1054
|
Ge.value || he.value ? b(2) : b(), Gt();
|
|
1050
1055
|
}
|
|
1051
1056
|
async function Xt(b) {
|
|
@@ -1055,7 +1060,7 @@ const en = /* @__PURE__ */ wl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1055
1060
|
Nt.value && jt(), Ge.value || he.value ? b(2) : b();
|
|
1056
1061
|
}
|
|
1057
1062
|
function to() {
|
|
1058
|
-
const b =
|
|
1063
|
+
const b = bo("hash-params", {
|
|
1059
1064
|
removeNullishValues: !0
|
|
1060
1065
|
}), T = parseInt(b.a), z = parseInt(b.c), P = parseInt(b.hid), y = parseInt(b.n), G = b.ci, L = b.co, S = b.id;
|
|
1061
1066
|
let te = !1;
|
|
@@ -1077,9 +1082,9 @@ const en = /* @__PURE__ */ wl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1077
1082
|
let Z = null;
|
|
1078
1083
|
S && (Z = S), o.disableDefaultLocation === "yes" && te === !1 ? (ve.value = void 0, i.value = void 0) : rt(Z);
|
|
1079
1084
|
}
|
|
1080
|
-
return (b, T) => (
|
|
1085
|
+
return (b, T) => (u(), A(go, { styling: b.styling }, {
|
|
1081
1086
|
default: C(() => [
|
|
1082
|
-
(
|
|
1087
|
+
(u(), A(ao, { onResolve: to }, {
|
|
1083
1088
|
default: C(() => [
|
|
1084
1089
|
g(t(l), {
|
|
1085
1090
|
id: "konnectio-hotel-module",
|
|
@@ -1087,7 +1092,7 @@ const en = /* @__PURE__ */ wl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1087
1092
|
callback: t(Kt)
|
|
1088
1093
|
}, {
|
|
1089
1094
|
default: C(() => [
|
|
1090
|
-
g(
|
|
1095
|
+
g(Po, {
|
|
1091
1096
|
layout: b.headerLayout,
|
|
1092
1097
|
steps: zt,
|
|
1093
1098
|
onReset: t(qt)
|
|
@@ -1095,19 +1100,19 @@ const en = /* @__PURE__ */ wl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1095
1100
|
availability: C(({ next: z }) => [
|
|
1096
1101
|
g(Ye, null, {
|
|
1097
1102
|
form: C(() => [
|
|
1098
|
-
a("div",
|
|
1099
|
-
a("div",
|
|
1100
|
-
g(
|
|
1103
|
+
a("div", $l, [
|
|
1104
|
+
a("div", Al, [
|
|
1105
|
+
g(wo, {
|
|
1101
1106
|
booking: !0,
|
|
1102
1107
|
"selected-location": Number(b.selectedLocation),
|
|
1103
1108
|
"disable-default-location": b.disableDefaultLocation === "yes"
|
|
1104
1109
|
}, null, 8, ["selected-location", "disable-default-location"])
|
|
1105
1110
|
]),
|
|
1106
1111
|
_("", !0),
|
|
1107
|
-
!t(
|
|
1108
|
-
t(R).roomGroups.length > 0 || t(R).templates.length > 0 || t(R).specialTemplates.length > 0 ? (
|
|
1109
|
-
t(R).templates.length > 0 && b.onlyShow !== "rooms" ? (
|
|
1110
|
-
b.onlyShow !== "packages" ? (
|
|
1112
|
+
!t(c) && t(we) ? (u(), h("div", Pl, [
|
|
1113
|
+
t(R).roomGroups.length > 0 || t(R).templates.length > 0 || t(R).specialTemplates.length > 0 ? (u(), h("div", Dl, [
|
|
1114
|
+
t(R).templates.length > 0 && b.onlyShow !== "rooms" ? (u(), h("div", Sl, [
|
|
1115
|
+
b.onlyShow !== "packages" ? (u(), h("h2", Hl, [
|
|
1111
1116
|
g(J, {
|
|
1112
1117
|
icon: "box",
|
|
1113
1118
|
type: "fal",
|
|
@@ -1115,15 +1120,15 @@ const en = /* @__PURE__ */ wl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1115
1120
|
}),
|
|
1116
1121
|
a("span", null, v(t(e)("booking.availability.packagesTitle")), 1)
|
|
1117
1122
|
])) : _("", !0),
|
|
1118
|
-
a("ul",
|
|
1119
|
-
(
|
|
1123
|
+
a("ul", Il, [
|
|
1124
|
+
(u(!0), h(M, null, F(t(R).templates, ({
|
|
1120
1125
|
id: P,
|
|
1121
1126
|
name: y,
|
|
1122
1127
|
templateRoomGroups: G,
|
|
1123
1128
|
image: L,
|
|
1124
1129
|
description: S,
|
|
1125
1130
|
weekendFee: te
|
|
1126
|
-
}) => (
|
|
1131
|
+
}) => (u(), A(ul, {
|
|
1127
1132
|
key: P,
|
|
1128
1133
|
id: P,
|
|
1129
1134
|
description: S,
|
|
@@ -1136,8 +1141,8 @@ const en = /* @__PURE__ */ wl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1136
1141
|
}, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback", "hide-addons"]))), 128))
|
|
1137
1142
|
])
|
|
1138
1143
|
])) : _("", !0),
|
|
1139
|
-
t(R).roomGroups.length > 0 && b.onlyShow !== "packages" ? (
|
|
1140
|
-
t(R).templates.length > 0 && b.onlyShow !== "rooms" ? (
|
|
1144
|
+
t(R).roomGroups.length > 0 && b.onlyShow !== "packages" ? (u(), h("div", Bl, [
|
|
1145
|
+
t(R).templates.length > 0 && b.onlyShow !== "rooms" ? (u(), h("h2", El, [
|
|
1141
1146
|
g(J, {
|
|
1142
1147
|
icon: "house",
|
|
1143
1148
|
type: "fal",
|
|
@@ -1145,15 +1150,15 @@ const en = /* @__PURE__ */ wl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1145
1150
|
}),
|
|
1146
1151
|
a("span", null, v(t(e)("booking.availability.roomsTitle")), 1)
|
|
1147
1152
|
])) : _("", !0),
|
|
1148
|
-
a("ul",
|
|
1149
|
-
(
|
|
1153
|
+
a("ul", Nl, [
|
|
1154
|
+
(u(!0), h(M, null, F(Yt.value, (P, y) => (u(), A(il, {
|
|
1150
1155
|
room: P,
|
|
1151
1156
|
key: y
|
|
1152
1157
|
}, null, 8, ["room"]))), 128))
|
|
1153
1158
|
])
|
|
1154
1159
|
])) : _("", !0),
|
|
1155
|
-
t(R).specialTemplates.length > 0 && b.onlyShow !== "rooms" ? (
|
|
1156
|
-
a("h2",
|
|
1160
|
+
t(R).specialTemplates.length > 0 && b.onlyShow !== "rooms" ? (u(), h("div", Ll, [
|
|
1161
|
+
a("h2", Ml, [
|
|
1157
1162
|
g(J, {
|
|
1158
1163
|
icon: "sparkles",
|
|
1159
1164
|
type: "fal",
|
|
@@ -1161,8 +1166,8 @@ const en = /* @__PURE__ */ wl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1161
1166
|
}),
|
|
1162
1167
|
a("span", null, v(t(e)("hotel.specialOffers")), 1)
|
|
1163
1168
|
]),
|
|
1164
|
-
a("ul",
|
|
1165
|
-
(
|
|
1169
|
+
a("ul", Rl, [
|
|
1170
|
+
(u(!0), h(M, null, F(t(R).specialTemplates, ({
|
|
1166
1171
|
id: P,
|
|
1167
1172
|
name: y,
|
|
1168
1173
|
templateRoomGroups: G,
|
|
@@ -1171,7 +1176,7 @@ const en = /* @__PURE__ */ wl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1171
1176
|
weekendFee: te,
|
|
1172
1177
|
fromDate: Z,
|
|
1173
1178
|
toDate: ye
|
|
1174
|
-
}) => (
|
|
1179
|
+
}) => (u(), A(fl, {
|
|
1175
1180
|
key: P,
|
|
1176
1181
|
id: P,
|
|
1177
1182
|
description: S,
|
|
@@ -1185,13 +1190,13 @@ const en = /* @__PURE__ */ wl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1185
1190
|
}, null, 8, ["id", "description", "name", "image", "fromDate", "toDate", "weekendFee", "room-groups", "callback"]))), 128))
|
|
1186
1191
|
])
|
|
1187
1192
|
])) : _("", !0),
|
|
1188
|
-
(t(R).templates.length === 0 && b.onlyShow !== "rooms" || t(R).roomGroups.length === 0 && b.onlyShow !== "packages") && (b.onlyShow === "rooms" || b.onlyShow === "packages") ? (
|
|
1193
|
+
(t(R).templates.length === 0 && b.onlyShow !== "rooms" || t(R).roomGroups.length === 0 && b.onlyShow !== "packages") && (b.onlyShow === "rooms" || b.onlyShow === "packages") ? (u(), h("div", Ul, [
|
|
1189
1194
|
a("span", null, v(t(e)("booking.availability.nothingAvailable")), 1)
|
|
1190
1195
|
])) : _("", !0)
|
|
1191
|
-
])) : t(R).nextAvailableDates.length === 0 ? (
|
|
1196
|
+
])) : t(R).nextAvailableDates.length === 0 ? (u(), h("div", Fl, [
|
|
1192
1197
|
a("span", null, v(t(e)("booking.availability.nothingAvailable")), 1)
|
|
1193
|
-
])) : (
|
|
1194
|
-
a("h2",
|
|
1198
|
+
])) : (u(), h("div", Ol, [
|
|
1199
|
+
a("h2", jl, [
|
|
1195
1200
|
g(J, {
|
|
1196
1201
|
icon: "calendar-circle-exclamation",
|
|
1197
1202
|
type: "fal",
|
|
@@ -1199,13 +1204,13 @@ const en = /* @__PURE__ */ wl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1199
1204
|
}),
|
|
1200
1205
|
a("span", null, v(t(e)("booking.availability.nextAvailableDates")), 1)
|
|
1201
1206
|
]),
|
|
1202
|
-
a("ul",
|
|
1203
|
-
(
|
|
1207
|
+
a("ul", ql, [
|
|
1208
|
+
(u(!0), h(M, null, F(t(R).nextAvailableDates, (P, y) => (u(), h("li", { key: y }, [
|
|
1204
1209
|
a("h3", {
|
|
1205
1210
|
title: `${t(pe)(P.fromDate)} - ${t(pe)(P.toDate)}`
|
|
1206
1211
|
}, [
|
|
1207
1212
|
a("span", null, v(`${t(pe)(P.fromDate)} - ${t(pe)(P.toDate)}`), 1)
|
|
1208
|
-
], 8,
|
|
1213
|
+
], 8, Gl),
|
|
1209
1214
|
a("ul", null, [
|
|
1210
1215
|
_("", !0),
|
|
1211
1216
|
a("li", null, [
|
|
@@ -1217,7 +1222,7 @@ const en = /* @__PURE__ */ wl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1217
1222
|
a("span", null, v(t(e)("booking.availability.pricesFrom")) + ": " + v(t(oe)(P.priceStartFrom, t(_e))), 1)
|
|
1218
1223
|
])
|
|
1219
1224
|
]),
|
|
1220
|
-
g(
|
|
1225
|
+
g(ue, {
|
|
1221
1226
|
label: t(e)("booking.availability.selectDates"),
|
|
1222
1227
|
"full-width": "",
|
|
1223
1228
|
onClickEvent: (G) => t(ie)(new Date(P.fromDate), new Date(P.toDate))
|
|
@@ -1225,9 +1230,9 @@ const en = /* @__PURE__ */ wl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1225
1230
|
]))), 128))
|
|
1226
1231
|
])
|
|
1227
1232
|
]))
|
|
1228
|
-
])) : isNaN(t(i)) && !t(
|
|
1233
|
+
])) : isNaN(t(i)) && !t(c) ? (u(), h("div", Wl, [
|
|
1229
1234
|
a("span", null, v(t(e)("alert.info.selectHotelToStart")), 1)
|
|
1230
|
-
])) : (
|
|
1235
|
+
])) : (u(), h("div", Kl, [
|
|
1231
1236
|
g(Je),
|
|
1232
1237
|
g(Je),
|
|
1233
1238
|
g(Je)
|
|
@@ -1235,13 +1240,13 @@ const en = /* @__PURE__ */ wl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1235
1240
|
])
|
|
1236
1241
|
]),
|
|
1237
1242
|
navigation: C(() => [
|
|
1238
|
-
t(ke) ? (
|
|
1243
|
+
t(ke) ? (u(), A(ue, {
|
|
1239
1244
|
key: 0,
|
|
1240
1245
|
label: isNaN(t(i)) ? t(e)("availability.buttonLabel") : t(e)("general.searchAgain"),
|
|
1241
|
-
"is-loading": t(
|
|
1246
|
+
"is-loading": t(c),
|
|
1242
1247
|
"full-width": "",
|
|
1243
1248
|
onClickEvent: T[1] || (T[1] = (P) => t(rt)())
|
|
1244
|
-
}, null, 8, ["label", "is-loading"])) : (
|
|
1249
|
+
}, null, 8, ["label", "is-loading"])) : (u(), A(ue, {
|
|
1245
1250
|
key: 1,
|
|
1246
1251
|
label: t(he) || Ge.value ? t(e)("booking.availability.nextButton") : t(e)("general.chooseAddons"),
|
|
1247
1252
|
disabled: !t(ge),
|
|
@@ -1253,34 +1258,34 @@ const en = /* @__PURE__ */ wl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1253
1258
|
}, 1024)
|
|
1254
1259
|
]),
|
|
1255
1260
|
addons: C(({ next: z, prev: P }) => [
|
|
1256
|
-
t(we) ? (
|
|
1261
|
+
t(we) ? (u(), A(Ye, { key: 0 }, {
|
|
1257
1262
|
form: C(() => [
|
|
1258
|
-
a("form",
|
|
1263
|
+
a("form", xl, [
|
|
1259
1264
|
a("h2", null, [
|
|
1260
1265
|
a("span", null, v(t(e)("booking.reservation.addons")), 1)
|
|
1261
1266
|
]),
|
|
1262
1267
|
a("div", null, [
|
|
1263
|
-
isNaN(t(s)) ? (
|
|
1264
|
-
(
|
|
1268
|
+
isNaN(t(s)) ? (u(), h("div", zl, [
|
|
1269
|
+
(u(!0), h(M, null, F(t(ae), (y) => (u(), h("ul", {
|
|
1265
1270
|
key: y.roomGroupID
|
|
1266
1271
|
}, [
|
|
1267
|
-
(
|
|
1272
|
+
(u(!0), h(M, null, F(y.variants, (G, L) => (u(), h("li", {
|
|
1268
1273
|
key: G.ratePlanID
|
|
1269
1274
|
}, [
|
|
1270
1275
|
a("h4", null, [
|
|
1271
|
-
a("span", null, v(t(
|
|
1276
|
+
a("span", null, v(t(ce)(y.title)), 1)
|
|
1272
1277
|
]),
|
|
1273
|
-
(
|
|
1278
|
+
(u(!0), h(M, null, F(G.rooms, (S, te) => (u(), h("table", {
|
|
1274
1279
|
key: te,
|
|
1275
1280
|
class: "konnectio-table with-lines"
|
|
1276
1281
|
}, [
|
|
1277
1282
|
a("thead", null, [
|
|
1278
1283
|
a("tr", null, [
|
|
1279
1284
|
a("th", null, [
|
|
1280
|
-
a("span", null, v(t(
|
|
1285
|
+
a("span", null, v(t(ce)(G.name)), 1)
|
|
1281
1286
|
]),
|
|
1282
1287
|
_("", !0),
|
|
1283
|
-
a("th",
|
|
1288
|
+
a("th", Jl, [
|
|
1284
1289
|
a("b", null, [
|
|
1285
1290
|
g(J, {
|
|
1286
1291
|
icon: "male",
|
|
@@ -1288,39 +1293,39 @@ const en = /* @__PURE__ */ wl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1288
1293
|
color: "font"
|
|
1289
1294
|
}),
|
|
1290
1295
|
a("span", null, v(S.adultsCount), 1),
|
|
1291
|
-
S.childrenCount > 0 ? (
|
|
1296
|
+
S.childrenCount > 0 ? (u(), A(J, {
|
|
1292
1297
|
key: 0,
|
|
1293
1298
|
icon: "child",
|
|
1294
1299
|
type: "fas",
|
|
1295
1300
|
color: "font"
|
|
1296
1301
|
})) : _("", !0),
|
|
1297
|
-
S.childrenCount > 0 ? (
|
|
1302
|
+
S.childrenCount > 0 ? (u(), h("span", Yl, v(S.childrenCount), 1)) : _("", !0)
|
|
1298
1303
|
])
|
|
1299
1304
|
])
|
|
1300
1305
|
])
|
|
1301
1306
|
]),
|
|
1302
1307
|
a("tbody", null, [
|
|
1303
|
-
(
|
|
1308
|
+
(u(!0), h(M, null, F(t(dt)(G.addons, S.childrenCount), ({
|
|
1304
1309
|
quantityStrategy: Z,
|
|
1305
1310
|
maximumNumber: ye,
|
|
1306
1311
|
id: se,
|
|
1307
1312
|
name: oo,
|
|
1308
1313
|
price: lo
|
|
1309
|
-
}) => (
|
|
1310
|
-
a("td",
|
|
1311
|
-
a("b", null, v(t(
|
|
1314
|
+
}) => (u(), h("tr", { key: se }, [
|
|
1315
|
+
a("td", Zl, [
|
|
1316
|
+
a("b", null, v(t(ce)(oo)), 1),
|
|
1312
1317
|
a("span", null, v(t(oe)(lo, t(_e))) + " " + v(t(mt)(Z)), 1)
|
|
1313
1318
|
]),
|
|
1314
|
-
a("td",
|
|
1315
|
-
t(K)[y.roomGroupID][L].config[S.configIdx].addons[S.roomIdx] ? (
|
|
1316
|
-
Z === 1 || Z === 12 ? (
|
|
1319
|
+
a("td", Ql, [
|
|
1320
|
+
t(K)[y.roomGroupID][L].config[S.configIdx].addons[S.roomIdx] ? (u(), h(M, { key: 0 }, [
|
|
1321
|
+
Z === 1 || Z === 12 ? (u(), A(et, {
|
|
1317
1322
|
key: 0,
|
|
1318
1323
|
modelValue: t(K)[y.roomGroupID][L].config[S.configIdx].addons[S.roomIdx][se],
|
|
1319
1324
|
"onUpdate:modelValue": (We) => t(K)[y.roomGroupID][L].config[S.configIdx].addons[S.roomIdx][se] = We,
|
|
1320
1325
|
small: !0,
|
|
1321
1326
|
"min-value": 0,
|
|
1322
1327
|
"max-value": ye || 1 / 0
|
|
1323
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (
|
|
1328
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (u(), A(Ee, {
|
|
1324
1329
|
key: 1,
|
|
1325
1330
|
modelValue: t(K)[y.roomGroupID][L].config[S.configIdx].addons[S.roomIdx][se],
|
|
1326
1331
|
"onUpdate:modelValue": (We) => t(K)[y.roomGroupID][L].config[S.configIdx].addons[S.roomIdx][se] = We,
|
|
@@ -1333,42 +1338,42 @@ const en = /* @__PURE__ */ wl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1333
1338
|
]))), 128))
|
|
1334
1339
|
]))), 128))
|
|
1335
1340
|
]))), 128))
|
|
1336
|
-
])) : t(be) ? (
|
|
1341
|
+
])) : t(be) ? (u(), h("div", Xl, [
|
|
1337
1342
|
a("div", null, [
|
|
1338
1343
|
a("h4", null, [
|
|
1339
1344
|
a("span", null, v(t(Re).name), 1)
|
|
1340
1345
|
]),
|
|
1341
|
-
a("table",
|
|
1346
|
+
a("table", en, [
|
|
1342
1347
|
a("thead", null, [
|
|
1343
1348
|
a("tr", null, [
|
|
1344
1349
|
a("th", null, [
|
|
1345
|
-
a("span", null, v(t(
|
|
1350
|
+
a("span", null, v(t(ce)(t(be).title)), 1)
|
|
1346
1351
|
]),
|
|
1347
1352
|
_("", !0),
|
|
1348
|
-
|
|
1353
|
+
tn
|
|
1349
1354
|
])
|
|
1350
1355
|
]),
|
|
1351
1356
|
a("tbody", null, [
|
|
1352
|
-
(
|
|
1357
|
+
(u(!0), h(M, null, F(t(dt)(t(be).addons, t(Ce)), ({
|
|
1353
1358
|
quantityStrategy: y,
|
|
1354
1359
|
maximumNumber: G,
|
|
1355
1360
|
id: L,
|
|
1356
1361
|
name: S,
|
|
1357
1362
|
price: te
|
|
1358
|
-
}) => (
|
|
1359
|
-
a("td",
|
|
1360
|
-
a("b", null, v(t(
|
|
1363
|
+
}) => (u(), h("tr", { key: L }, [
|
|
1364
|
+
a("td", on, [
|
|
1365
|
+
a("b", null, v(t(ce)(S)), 1),
|
|
1361
1366
|
a("span", null, v(t(oe)(te, t(_e))) + " " + v(t(mt)(y)), 1)
|
|
1362
1367
|
]),
|
|
1363
|
-
a("td",
|
|
1364
|
-
y === 1 || y === 12 ? (
|
|
1368
|
+
a("td", ln, [
|
|
1369
|
+
y === 1 || y === 12 ? (u(), A(et, {
|
|
1365
1370
|
key: 0,
|
|
1366
1371
|
modelValue: t(m)[L],
|
|
1367
1372
|
"onUpdate:modelValue": (Z) => t(m)[L] = Z,
|
|
1368
1373
|
small: !0,
|
|
1369
1374
|
"min-value": 0,
|
|
1370
1375
|
"max-value": G || 1 / 0
|
|
1371
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (
|
|
1376
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (u(), A(Ee, {
|
|
1372
1377
|
key: 1,
|
|
1373
1378
|
modelValue: t(m)[L],
|
|
1374
1379
|
"onUpdate:modelValue": (Z) => t(m)[L] = Z,
|
|
@@ -1384,37 +1389,37 @@ const en = /* @__PURE__ */ wl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1384
1389
|
])
|
|
1385
1390
|
]),
|
|
1386
1391
|
navigation: C(() => [
|
|
1387
|
-
g(
|
|
1392
|
+
g(ue, {
|
|
1388
1393
|
label: t(e)("general.startReservation"),
|
|
1389
1394
|
"full-width": "",
|
|
1390
1395
|
onClickEvent: z
|
|
1391
1396
|
}, null, 8, ["label", "onClickEvent"]),
|
|
1392
1397
|
a("button", {
|
|
1393
1398
|
class: "konnectio-abort-reservation link",
|
|
1394
|
-
onClick: He((y) =>
|
|
1399
|
+
onClick: He((y) => ct(P), ["prevent"])
|
|
1395
1400
|
}, [
|
|
1396
1401
|
a("span", null, v(t(e)("general.goAStepBack")), 1)
|
|
1397
|
-
], 8,
|
|
1402
|
+
], 8, nn)
|
|
1398
1403
|
]),
|
|
1399
1404
|
_: 2
|
|
1400
1405
|
}, 1024)) : _("", !0)
|
|
1401
1406
|
]),
|
|
1402
1407
|
reservation: C(({ next: z, prev: P }) => [
|
|
1403
|
-
t(we) ? (
|
|
1408
|
+
t(we) ? (u(), A(Ye, {
|
|
1404
1409
|
key: 0,
|
|
1405
1410
|
"show-terms-notice": !0,
|
|
1406
1411
|
"show-gift-card": !0
|
|
1407
1412
|
}, {
|
|
1408
1413
|
form: C(() => [
|
|
1409
|
-
a("form",
|
|
1414
|
+
a("form", an, [
|
|
1410
1415
|
a("h2", null, [
|
|
1411
1416
|
a("span", null, v(t(e)("booking.reservation.detailsTitle")), 1)
|
|
1412
1417
|
]),
|
|
1413
|
-
!t(Lt) && !(t(Oe) && t(je)) ? (
|
|
1418
|
+
!t(Lt) && !(t(Oe) && t(je)) ? (u(), h("ul", {
|
|
1414
1419
|
key: 0,
|
|
1415
1420
|
class: Be({ "konnectio-split-inputs": !t(Oe) && !t(je) })
|
|
1416
1421
|
}, [
|
|
1417
|
-
t(Oe) ? _("", !0) : (
|
|
1422
|
+
t(Oe) ? _("", !0) : (u(), h("li", sn, [
|
|
1418
1423
|
g(ht, {
|
|
1419
1424
|
modelValue: t(V),
|
|
1420
1425
|
"onUpdate:modelValue": T[2] || (T[2] = (y) => U(V) ? V.value = y : null),
|
|
@@ -1424,7 +1429,7 @@ const en = /* @__PURE__ */ wl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1424
1429
|
required: ""
|
|
1425
1430
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1426
1431
|
])),
|
|
1427
|
-
t(je) ? _("", !0) : (
|
|
1432
|
+
t(je) ? _("", !0) : (u(), h("li", rn, [
|
|
1428
1433
|
g(ht, {
|
|
1429
1434
|
modelValue: t($),
|
|
1430
1435
|
"onUpdate:modelValue": T[3] || (T[3] = (y) => U($) ? $.value = y : null),
|
|
@@ -1435,7 +1440,7 @@ const en = /* @__PURE__ */ wl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1435
1440
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1436
1441
|
]))
|
|
1437
1442
|
], 2)) : _("", !0),
|
|
1438
|
-
g(
|
|
1443
|
+
g(bl, {
|
|
1439
1444
|
modelValue: t(w),
|
|
1440
1445
|
"onUpdate:modelValue": T[4] || (T[4] = (y) => U(w) ? w.value = y : null),
|
|
1441
1446
|
title: t(H),
|
|
@@ -1457,7 +1462,7 @@ const en = /* @__PURE__ */ wl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1457
1462
|
placeholder: t(e)("booking.reservation.emailPlaceholder"),
|
|
1458
1463
|
required: ""
|
|
1459
1464
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1460
|
-
t(Ft) ? _("", !0) : (
|
|
1465
|
+
t(Ft) ? _("", !0) : (u(), A(de, {
|
|
1461
1466
|
key: 1,
|
|
1462
1467
|
modelValue: t(k),
|
|
1463
1468
|
"onUpdate:modelValue": T[7] || (T[7] = (y) => U(k) ? k.value = y : null),
|
|
@@ -1468,7 +1473,7 @@ const en = /* @__PURE__ */ wl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1468
1473
|
icon: "id-card",
|
|
1469
1474
|
placeholder: t(e)("booking.reservation.companyNamePlaceholder")
|
|
1470
1475
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
1471
|
-
g(
|
|
1476
|
+
g(Eo, {
|
|
1472
1477
|
modelValue: t(B),
|
|
1473
1478
|
"onUpdate:modelValue": T[8] || (T[8] = (y) => U(B) ? B.value = y : null),
|
|
1474
1479
|
icon: "phone-office",
|
|
@@ -1476,7 +1481,7 @@ const en = /* @__PURE__ */ wl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1476
1481
|
placeholder: t(e)("booking.reservation.phonePlaceholder"),
|
|
1477
1482
|
required: ""
|
|
1478
1483
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1479
|
-
g(
|
|
1484
|
+
g(yl, {
|
|
1480
1485
|
modelValue: t(j),
|
|
1481
1486
|
"onUpdate:modelValue": T[9] || (T[9] = (y) => U(j) ? j.value = y : null),
|
|
1482
1487
|
label: t(e)("booking.reservation.country"),
|
|
@@ -1495,7 +1500,7 @@ const en = /* @__PURE__ */ wl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1495
1500
|
placeholder: t(e)("booking.reservation.streetAddressPlaceholder"),
|
|
1496
1501
|
required: ""
|
|
1497
1502
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1498
|
-
a("ul",
|
|
1503
|
+
a("ul", dn, [
|
|
1499
1504
|
a("li", null, [
|
|
1500
1505
|
g(de, {
|
|
1501
1506
|
modelValue: t(D),
|
|
@@ -1539,7 +1544,7 @@ const en = /* @__PURE__ */ wl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1539
1544
|
icon: "allergies",
|
|
1540
1545
|
placeholder: t(e)("booking.reservation.allergiesPlaceholder")
|
|
1541
1546
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1542
|
-
t(Rt) ? _("", !0) : (
|
|
1547
|
+
t(Rt) ? _("", !0) : (u(), A(Do, {
|
|
1543
1548
|
key: 2,
|
|
1544
1549
|
modelValue: t(f),
|
|
1545
1550
|
"onUpdate:modelValue": T[15] || (T[15] = (y) => U(f) ? f.value = y : null),
|
|
@@ -1551,7 +1556,7 @@ const en = /* @__PURE__ */ wl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1551
1556
|
]),
|
|
1552
1557
|
navigation: C(() => [
|
|
1553
1558
|
a("div", null, [
|
|
1554
|
-
g(
|
|
1559
|
+
g(ue, {
|
|
1555
1560
|
label: t(Ot) ? t(e)("booking.reservation.nextButton") : t(e)("general.confirmReservation"),
|
|
1556
1561
|
disabled: !t(d),
|
|
1557
1562
|
"is-loading": t(r),
|
|
@@ -1560,20 +1565,20 @@ const en = /* @__PURE__ */ wl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1560
1565
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
|
|
1561
1566
|
a("button", {
|
|
1562
1567
|
class: "konnectio-abort-reservation link",
|
|
1563
|
-
onClick: He((y) =>
|
|
1568
|
+
onClick: He((y) => ct(P), ["prevent"])
|
|
1564
1569
|
}, [
|
|
1565
1570
|
a("span", null, v(t(e)("general.goAStepBack")), 1)
|
|
1566
|
-
], 8,
|
|
1571
|
+
], 8, cn)
|
|
1567
1572
|
])
|
|
1568
1573
|
]),
|
|
1569
1574
|
_: 2
|
|
1570
1575
|
}, 1024)) : _("", !0)
|
|
1571
1576
|
]),
|
|
1572
1577
|
payment: C(() => [
|
|
1573
|
-
g(
|
|
1578
|
+
g(No)
|
|
1574
1579
|
]),
|
|
1575
1580
|
confirmation: C(() => [
|
|
1576
|
-
g(
|
|
1581
|
+
g(So, {
|
|
1577
1582
|
message: t(e)("booking.confirmation.thankYou")
|
|
1578
1583
|
}, null, 8, ["message"])
|
|
1579
1584
|
]),
|
|
@@ -1584,7 +1589,7 @@ const en = /* @__PURE__ */ wl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1584
1589
|
}, 8, ["access-token", "callback"])
|
|
1585
1590
|
]),
|
|
1586
1591
|
fallback: C(() => [
|
|
1587
|
-
g(
|
|
1592
|
+
g(wl)
|
|
1588
1593
|
]),
|
|
1589
1594
|
_: 1
|
|
1590
1595
|
}))
|
|
@@ -1600,15 +1605,15 @@ function tt(n, l = {}, o) {
|
|
|
1600
1605
|
}
|
|
1601
1606
|
return l;
|
|
1602
1607
|
}
|
|
1603
|
-
const
|
|
1604
|
-
function
|
|
1608
|
+
const pn = { run: (n) => n() }, mn = () => pn, Pt = typeof console.createTask < "u" ? console.createTask : mn;
|
|
1609
|
+
function fn(n, l) {
|
|
1605
1610
|
const o = l.shift(), e = Pt(o);
|
|
1606
1611
|
return n.reduce(
|
|
1607
1612
|
(i, s) => i.then(() => e.run(() => s(...l))),
|
|
1608
1613
|
Promise.resolve()
|
|
1609
1614
|
);
|
|
1610
1615
|
}
|
|
1611
|
-
function
|
|
1616
|
+
function hn(n, l) {
|
|
1612
1617
|
const o = l.shift(), e = Pt(o);
|
|
1613
1618
|
return Promise.all(n.map((i) => e.run(() => i(...l))));
|
|
1614
1619
|
}
|
|
@@ -1616,7 +1621,7 @@ function Ze(n, l) {
|
|
|
1616
1621
|
for (const o of [...n])
|
|
1617
1622
|
o(l);
|
|
1618
1623
|
}
|
|
1619
|
-
class
|
|
1624
|
+
class vn {
|
|
1620
1625
|
constructor() {
|
|
1621
1626
|
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);
|
|
1622
1627
|
}
|
|
@@ -1685,10 +1690,10 @@ class hn {
|
|
|
1685
1690
|
delete this._hooks[l];
|
|
1686
1691
|
}
|
|
1687
1692
|
callHook(l, ...o) {
|
|
1688
|
-
return o.unshift(l), this.callHookWith(
|
|
1693
|
+
return o.unshift(l), this.callHookWith(fn, l, ...o);
|
|
1689
1694
|
}
|
|
1690
1695
|
callHookParallel(l, ...o) {
|
|
1691
|
-
return o.unshift(l), this.callHookWith(
|
|
1696
|
+
return o.unshift(l), this.callHookWith(hn, l, ...o);
|
|
1692
1697
|
}
|
|
1693
1698
|
callHookWith(l, o, ...e) {
|
|
1694
1699
|
const i = this._before || this._after ? { name: o, args: e, context: {} } : void 0;
|
|
@@ -1718,20 +1723,20 @@ class hn {
|
|
|
1718
1723
|
};
|
|
1719
1724
|
}
|
|
1720
1725
|
}
|
|
1721
|
-
function
|
|
1722
|
-
return new
|
|
1726
|
+
function yn() {
|
|
1727
|
+
return new vn();
|
|
1723
1728
|
}
|
|
1724
|
-
function
|
|
1729
|
+
function gn(n) {
|
|
1725
1730
|
return Array.isArray(n) ? n : [n];
|
|
1726
1731
|
}
|
|
1727
|
-
const
|
|
1732
|
+
const bn = ["title", "titleTemplate", "script", "style", "noscript"], De = [
|
|
1728
1733
|
"base",
|
|
1729
1734
|
"meta",
|
|
1730
1735
|
"link",
|
|
1731
1736
|
"style",
|
|
1732
1737
|
"script",
|
|
1733
1738
|
"noscript"
|
|
1734
|
-
],
|
|
1739
|
+
], kn = [
|
|
1735
1740
|
"title",
|
|
1736
1741
|
"titleTemplate",
|
|
1737
1742
|
"templateParams",
|
|
@@ -1743,7 +1748,7 @@ const gn = ["title", "titleTemplate", "script", "style", "noscript"], De = [
|
|
|
1743
1748
|
"style",
|
|
1744
1749
|
"script",
|
|
1745
1750
|
"noscript"
|
|
1746
|
-
],
|
|
1751
|
+
], _n = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], Dt = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], Vn = typeof window < "u";
|
|
1747
1752
|
function nt(n) {
|
|
1748
1753
|
let l = 9;
|
|
1749
1754
|
for (let o = 0; o < n.length; )
|
|
@@ -1755,7 +1760,7 @@ function vt(n) {
|
|
|
1755
1760
|
}
|
|
1756
1761
|
function St(n, l) {
|
|
1757
1762
|
const { props: o, tag: e } = n;
|
|
1758
|
-
if (
|
|
1763
|
+
if (_n.includes(e))
|
|
1759
1764
|
return e;
|
|
1760
1765
|
if (e === "link" && o.rel === "canonical")
|
|
1761
1766
|
return "canonical";
|
|
@@ -1773,7 +1778,7 @@ function St(n, l) {
|
|
|
1773
1778
|
function yt(n, l) {
|
|
1774
1779
|
return n == null ? l || null : typeof n == "function" ? n(l) : n;
|
|
1775
1780
|
}
|
|
1776
|
-
async function
|
|
1781
|
+
async function Tn(n, l, o) {
|
|
1777
1782
|
const e = {
|
|
1778
1783
|
tag: n,
|
|
1779
1784
|
props: await Ht(
|
|
@@ -1785,17 +1790,17 @@ async function Vn(n, l, o) {
|
|
|
1785
1790
|
};
|
|
1786
1791
|
return Dt.forEach((i) => {
|
|
1787
1792
|
const s = typeof e.props[i] < "u" ? e.props[i] : o[i];
|
|
1788
|
-
typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(i) ||
|
|
1793
|
+
typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(i) || bn.includes(e.tag)) && (e[i === "children" ? "innerHTML" : i] = s), delete e.props[i]);
|
|
1789
1794
|
}), e.props.body && (e.tagPosition = "bodyClose", delete e.props.body), e.tag === "script" && typeof e.innerHTML == "object" && (e.innerHTML = JSON.stringify(e.innerHTML), e.props.type = e.props.type || "application/json"), Array.isArray(e.props.content) ? e.props.content.map((i) => ({ ...e, props: { ...e.props, content: i } })) : e;
|
|
1790
1795
|
}
|
|
1791
|
-
function
|
|
1796
|
+
function wn(n, l) {
|
|
1792
1797
|
const o = n === "class" ? " " : ";";
|
|
1793
1798
|
return typeof l == "object" && !Array.isArray(l) && (l = Object.entries(l).filter(([, e]) => e).map(([e, i]) => n === "style" ? `${e}:${i}` : e)), String(Array.isArray(l) ? l.join(o) : l)?.split(o).filter((e) => e.trim()).filter(Boolean).join(o);
|
|
1794
1799
|
}
|
|
1795
1800
|
async function Ht(n, l) {
|
|
1796
1801
|
for (const o of Object.keys(n)) {
|
|
1797
1802
|
if (["class", "style"].includes(o)) {
|
|
1798
|
-
n[o] =
|
|
1803
|
+
n[o] = wn(o, n[o]);
|
|
1799
1804
|
continue;
|
|
1800
1805
|
}
|
|
1801
1806
|
if (n[o] instanceof Promise && (n[o] = await n[o]), !l && !Dt.includes(o)) {
|
|
@@ -1805,13 +1810,13 @@ async function Ht(n, l) {
|
|
|
1805
1810
|
}
|
|
1806
1811
|
return n;
|
|
1807
1812
|
}
|
|
1808
|
-
const
|
|
1809
|
-
async function
|
|
1813
|
+
const Cn = 10;
|
|
1814
|
+
async function $n(n) {
|
|
1810
1815
|
const l = [];
|
|
1811
|
-
return Object.entries(n.resolvedInput).filter(([o, e]) => typeof e < "u" &&
|
|
1812
|
-
const i =
|
|
1813
|
-
l.push(...i.map((s) =>
|
|
1814
|
-
}), (await Promise.all(l)).flat().filter(Boolean).map((o, e) => (o._e = n._i, n.mode && (o._m = n.mode), o._p = (n._i <<
|
|
1816
|
+
return Object.entries(n.resolvedInput).filter(([o, e]) => typeof e < "u" && kn.includes(o)).forEach(([o, e]) => {
|
|
1817
|
+
const i = gn(e);
|
|
1818
|
+
l.push(...i.map((s) => Tn(o, s, n)).flat());
|
|
1819
|
+
}), (await Promise.all(l)).flat().filter(Boolean).map((o, e) => (o._e = n._i, n.mode && (o._m = n.mode), o._p = (n._i << Cn) + e, o));
|
|
1815
1820
|
}
|
|
1816
1821
|
const gt = {
|
|
1817
1822
|
// tags
|
|
@@ -1828,13 +1833,13 @@ function Ne(n) {
|
|
|
1828
1833
|
const o = n.tagPriority;
|
|
1829
1834
|
return typeof o == "number" ? o : (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 gt && (l = gt[n.tag]), typeof o == "string" && o in bt ? l + bt[o] : l);
|
|
1830
1835
|
}
|
|
1831
|
-
const
|
|
1836
|
+
const An = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], kt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], re = "%separator";
|
|
1832
1837
|
function Se(n, l, o) {
|
|
1833
1838
|
if (typeof n != "string" || !n.includes("%"))
|
|
1834
1839
|
return n;
|
|
1835
1840
|
function e(m) {
|
|
1836
1841
|
let p;
|
|
1837
|
-
return ["s", "pageTitle"].includes(m) ? p = l.pageTitle : m.includes(".") ? p = m.split(".").reduce((
|
|
1842
|
+
return ["s", "pageTitle"].includes(m) ? p = l.pageTitle : m.includes(".") ? p = m.split(".").reduce((c, r) => c && c[r] || void 0, l) : p = l[m], typeof p < "u" ? (p || "").replace(/"/g, '\\"') : !1;
|
|
1838
1843
|
}
|
|
1839
1844
|
let i = n;
|
|
1840
1845
|
try {
|
|
@@ -1843,10 +1848,10 @@ function Se(n, l, o) {
|
|
|
1843
1848
|
}
|
|
1844
1849
|
return (i.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((m) => {
|
|
1845
1850
|
const p = e(m.slice(1));
|
|
1846
|
-
typeof p == "string" && (n = n.replace(new RegExp(`\\${m}(\\W|$)`, "g"), (
|
|
1851
|
+
typeof p == "string" && (n = n.replace(new RegExp(`\\${m}(\\W|$)`, "g"), (c, r) => `${p}${r}`).trim());
|
|
1847
1852
|
}), n.includes(re) && (n.endsWith(re) && (n = n.slice(0, -re.length).trim()), n.startsWith(re) && (n = n.slice(re.length).trim()), n = n.replace(new RegExp(`\\${re}\\s*\\${re}`, "g"), re), n = Se(n, { separator: o }, o)), n;
|
|
1848
1853
|
}
|
|
1849
|
-
async function
|
|
1854
|
+
async function Pn(n, l = {}) {
|
|
1850
1855
|
const o = l.document || n.resolvedOptions.document;
|
|
1851
1856
|
if (!o || !n.dirty)
|
|
1852
1857
|
return;
|
|
@@ -1910,7 +1915,7 @@ async function An(n, l = {}) {
|
|
|
1910
1915
|
f.getAttribute(w) !== H && f.setAttribute(w, H === !0 ? "" : String(H)), $ && m(d, E, () => f.removeAttribute(w));
|
|
1911
1916
|
});
|
|
1912
1917
|
}
|
|
1913
|
-
const
|
|
1918
|
+
const c = [], r = {
|
|
1914
1919
|
bodyClose: void 0,
|
|
1915
1920
|
bodyOpen: void 0,
|
|
1916
1921
|
head: void 0
|
|
@@ -1922,10 +1927,10 @@ async function An(n, l = {}) {
|
|
|
1922
1927
|
o.title = f.textContent;
|
|
1923
1928
|
continue;
|
|
1924
1929
|
}
|
|
1925
|
-
d.$el = d.$el || s.elMap[$], d.$el ? p(d) : De.includes(f.tag) &&
|
|
1930
|
+
d.$el = d.$el || s.elMap[$], d.$el ? p(d) : De.includes(f.tag) && c.push(d);
|
|
1926
1931
|
}
|
|
1927
1932
|
}
|
|
1928
|
-
for (const d of
|
|
1933
|
+
for (const d of c) {
|
|
1929
1934
|
const f = d.tag.tagPosition || "head";
|
|
1930
1935
|
d.$el = o.createElement(d.tag.tag), p(d), r[f] = r[f] || o.createDocumentFragment(), r[f].appendChild(d.$el);
|
|
1931
1936
|
}
|
|
@@ -1933,27 +1938,27 @@ async function An(n, l = {}) {
|
|
|
1933
1938
|
await n.hooks.callHook("dom:renderTag", d, o, m);
|
|
1934
1939
|
r.head && o.head.appendChild(r.head), r.bodyOpen && o.body.insertBefore(r.bodyOpen, o.body.firstChild), r.bodyClose && o.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 });
|
|
1935
1940
|
}
|
|
1936
|
-
async function
|
|
1941
|
+
async function Dn(n, l = {}) {
|
|
1937
1942
|
const o = l.delayFn || ((e) => setTimeout(e, 10));
|
|
1938
1943
|
return n._domUpdatePromise = n._domUpdatePromise || new Promise((e) => o(async () => {
|
|
1939
|
-
await
|
|
1944
|
+
await Pn(n, l), delete n._domUpdatePromise, e();
|
|
1940
1945
|
}));
|
|
1941
1946
|
}
|
|
1942
1947
|
// @__NO_SIDE_EFFECTS__
|
|
1943
|
-
function
|
|
1948
|
+
function Sn(n) {
|
|
1944
1949
|
return (l) => {
|
|
1945
1950
|
const o = l.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
|
|
1946
1951
|
return o && l.push(JSON.parse(o)), {
|
|
1947
1952
|
mode: "client",
|
|
1948
1953
|
hooks: {
|
|
1949
1954
|
"entries:updated": function(e) {
|
|
1950
|
-
|
|
1955
|
+
Dn(e, n);
|
|
1951
1956
|
}
|
|
1952
1957
|
}
|
|
1953
1958
|
};
|
|
1954
1959
|
};
|
|
1955
1960
|
}
|
|
1956
|
-
const
|
|
1961
|
+
const Hn = ["templateParams", "htmlAttrs", "bodyAttrs"], In = {
|
|
1957
1962
|
hooks: {
|
|
1958
1963
|
"tag:normalise": function({ tag: n }) {
|
|
1959
1964
|
["hid", "vmid", "key"].forEach((e) => {
|
|
@@ -1968,12 +1973,12 @@ const Sn = ["templateParams", "htmlAttrs", "bodyAttrs"], Hn = {
|
|
|
1968
1973
|
const i = (e.key ? `${e.tag}:${e.key}` : e._d) || e._p, s = l[i];
|
|
1969
1974
|
if (s) {
|
|
1970
1975
|
let p = e?.tagDuplicateStrategy;
|
|
1971
|
-
if (!p &&
|
|
1972
|
-
const
|
|
1976
|
+
if (!p && Hn.includes(e.tag) && (p = "merge"), p === "merge") {
|
|
1977
|
+
const c = s.props;
|
|
1973
1978
|
["class", "style"].forEach((r) => {
|
|
1974
|
-
|
|
1979
|
+
c[r] && (e.props[r] ? (r === "style" && !c[r].endsWith(";") && (c[r] += ";"), e.props[r] = `${c[r]} ${e.props[r]}`) : e.props[r] = c[r]);
|
|
1975
1980
|
}), l[i].props = {
|
|
1976
|
-
...
|
|
1981
|
+
...c,
|
|
1977
1982
|
...e.props
|
|
1978
1983
|
};
|
|
1979
1984
|
return;
|
|
@@ -1997,7 +2002,7 @@ const Sn = ["templateParams", "htmlAttrs", "bodyAttrs"], Hn = {
|
|
|
1997
2002
|
}), n.tags = o, n.tags = n.tags.filter((e) => !(e.tag === "meta" && (e.props.name || e.props.property) && !e.props.content));
|
|
1998
2003
|
}
|
|
1999
2004
|
}
|
|
2000
|
-
},
|
|
2005
|
+
}, Bn = {
|
|
2001
2006
|
mode: "server",
|
|
2002
2007
|
hooks: {
|
|
2003
2008
|
"tags:resolve": function(n) {
|
|
@@ -2011,10 +2016,10 @@ const Sn = ["templateParams", "htmlAttrs", "bodyAttrs"], Hn = {
|
|
|
2011
2016
|
});
|
|
2012
2017
|
}
|
|
2013
2018
|
}
|
|
2014
|
-
},
|
|
2019
|
+
}, En = ["script", "link", "bodyAttrs"], Nn = (n) => ({
|
|
2015
2020
|
hooks: {
|
|
2016
2021
|
"tags:resolve": function(l) {
|
|
2017
|
-
for (const o of l.tags.filter((e) =>
|
|
2022
|
+
for (const o of l.tags.filter((e) => En.includes(e.tag)))
|
|
2018
2023
|
Object.entries(o.props).forEach(([e, i]) => {
|
|
2019
2024
|
e.startsWith("on") && typeof i == "function" && (n.ssr && kt.includes(e) ? o.props[e] = `this.dataset.${e}fired = true` : delete o.props[e], o._eventHandlers = o._eventHandlers || {}, o._eventHandlers[e] = i);
|
|
2020
2025
|
}), n.ssr && o._eventHandlers && (o.props.src || o.props.href) && (o.key = o.key || nt(o.props.src || o.props.href));
|
|
@@ -2026,17 +2031,17 @@ const Sn = ["templateParams", "htmlAttrs", "bodyAttrs"], Hn = {
|
|
|
2026
2031
|
}
|
|
2027
2032
|
}
|
|
2028
2033
|
}
|
|
2029
|
-
}),
|
|
2034
|
+
}), Ln = ["link", "style", "script", "noscript"], Mn = {
|
|
2030
2035
|
hooks: {
|
|
2031
2036
|
"tag:normalise": ({ tag: n }) => {
|
|
2032
|
-
n.key &&
|
|
2037
|
+
n.key && Ln.includes(n.tag) && (n.props["data-hid"] = n._h = nt(n.key));
|
|
2033
2038
|
}
|
|
2034
2039
|
}
|
|
2035
|
-
},
|
|
2040
|
+
}, Rn = {
|
|
2036
2041
|
hooks: {
|
|
2037
2042
|
"tags:resolve": (n) => {
|
|
2038
2043
|
const l = (o) => n.tags.find((e) => e._d === o)?._p;
|
|
2039
|
-
for (const { prefix: o, offset: e } of
|
|
2044
|
+
for (const { prefix: o, offset: e } of An)
|
|
2040
2045
|
for (const i of n.tags.filter((s) => typeof s.tagPriority == "string" && s.tagPriority.startsWith(o))) {
|
|
2041
2046
|
const s = l(
|
|
2042
2047
|
i.tagPriority.replace(o, "")
|
|
@@ -2046,25 +2051,25 @@ const Sn = ["templateParams", "htmlAttrs", "bodyAttrs"], Hn = {
|
|
|
2046
2051
|
n.tags.sort((o, e) => o._p - e._p).sort((o, e) => Ne(o) - Ne(e));
|
|
2047
2052
|
}
|
|
2048
2053
|
}
|
|
2049
|
-
},
|
|
2054
|
+
}, Un = {
|
|
2050
2055
|
meta: "content",
|
|
2051
2056
|
link: "href",
|
|
2052
2057
|
htmlAttrs: "lang"
|
|
2053
|
-
},
|
|
2058
|
+
}, Fn = (n) => ({
|
|
2054
2059
|
hooks: {
|
|
2055
2060
|
"tags:resolve": (l) => {
|
|
2056
2061
|
const { tags: o } = l, e = o.find((p) => p.tag === "title")?.textContent, i = o.findIndex((p) => p.tag === "templateParams"), s = i !== -1 ? o[i].props : {}, m = s.separator || "|";
|
|
2057
2062
|
delete s.separator, s.pageTitle = Se(s.pageTitle || e || "", s, m);
|
|
2058
|
-
for (const p of o.filter((
|
|
2059
|
-
const
|
|
2060
|
-
|
|
2063
|
+
for (const p of o.filter((c) => c.processTemplateParams !== !1)) {
|
|
2064
|
+
const c = Un[p.tag];
|
|
2065
|
+
c && typeof p.props[c] == "string" ? p.props[c] = Se(p.props[c], s, m) : (p.processTemplateParams === !0 || ["titleTemplate", "title"].includes(p.tag)) && ["innerHTML", "textContent"].forEach((r) => {
|
|
2061
2066
|
typeof p[r] == "string" && (p[r] = Se(p[r], s, m));
|
|
2062
2067
|
});
|
|
2063
2068
|
}
|
|
2064
2069
|
n._templateParams = s, n._separator = m, l.tags = o.filter((p) => p.tag !== "templateParams");
|
|
2065
2070
|
}
|
|
2066
2071
|
}
|
|
2067
|
-
}),
|
|
2072
|
+
}), On = {
|
|
2068
2073
|
hooks: {
|
|
2069
2074
|
"tags:resolve": (n) => {
|
|
2070
2075
|
const { tags: l } = n;
|
|
@@ -2085,7 +2090,7 @@ const Sn = ["templateParams", "htmlAttrs", "bodyAttrs"], Hn = {
|
|
|
2085
2090
|
o !== -1 && delete l[o], n.tags = l.filter(Boolean);
|
|
2086
2091
|
}
|
|
2087
2092
|
}
|
|
2088
|
-
},
|
|
2093
|
+
}, jn = {
|
|
2089
2094
|
hooks: {
|
|
2090
2095
|
"tags:afterResolve": function(n) {
|
|
2091
2096
|
for (const l of n.tags)
|
|
@@ -2094,16 +2099,16 @@ const Sn = ["templateParams", "htmlAttrs", "bodyAttrs"], Hn = {
|
|
|
2094
2099
|
}
|
|
2095
2100
|
};
|
|
2096
2101
|
// @__NO_SIDE_EFFECTS__
|
|
2097
|
-
function
|
|
2098
|
-
const l =
|
|
2099
|
-
return l.use(/* @__PURE__ */
|
|
2102
|
+
function qn(n = {}) {
|
|
2103
|
+
const l = Gn(n);
|
|
2104
|
+
return l.use(/* @__PURE__ */ Sn()), l;
|
|
2100
2105
|
}
|
|
2101
2106
|
function _t(n, l) {
|
|
2102
2107
|
return !n || n === "server" && l || n === "client" && !l;
|
|
2103
2108
|
}
|
|
2104
|
-
function
|
|
2105
|
-
const l =
|
|
2106
|
-
l.addHooks(n.hooks || {}), n.document = n.document || (
|
|
2109
|
+
function Gn(n = {}) {
|
|
2110
|
+
const l = yn();
|
|
2111
|
+
l.addHooks(n.hooks || {}), n.document = n.document || (Vn ? document : void 0);
|
|
2107
2112
|
const o = !n.document, e = () => {
|
|
2108
2113
|
p.dirty = !0, l.callHook("entries:updated", p);
|
|
2109
2114
|
};
|
|
@@ -2116,15 +2121,15 @@ function qn(n = {}) {
|
|
|
2116
2121
|
headEntries() {
|
|
2117
2122
|
return s;
|
|
2118
2123
|
},
|
|
2119
|
-
use(
|
|
2120
|
-
const r = typeof
|
|
2124
|
+
use(c) {
|
|
2125
|
+
const r = typeof c == "function" ? c(p) : c;
|
|
2121
2126
|
(!r.key || !m.some((d) => d.key === r.key)) && (m.push(r), _t(r.mode, o) && l.addHooks(r.hooks || {}));
|
|
2122
2127
|
},
|
|
2123
|
-
push(
|
|
2128
|
+
push(c, r) {
|
|
2124
2129
|
delete r?.head;
|
|
2125
2130
|
const d = {
|
|
2126
2131
|
_i: i++,
|
|
2127
|
-
input:
|
|
2132
|
+
input: c,
|
|
2128
2133
|
...r
|
|
2129
2134
|
};
|
|
2130
2135
|
return _t(d.mode, o) && (s.push(d), e()), {
|
|
@@ -2138,66 +2143,66 @@ function qn(n = {}) {
|
|
|
2138
2143
|
};
|
|
2139
2144
|
},
|
|
2140
2145
|
async resolveTags() {
|
|
2141
|
-
const
|
|
2142
|
-
await l.callHook("entries:resolve",
|
|
2143
|
-
for (const r of
|
|
2146
|
+
const c = { tags: [], entries: [...s] };
|
|
2147
|
+
await l.callHook("entries:resolve", c);
|
|
2148
|
+
for (const r of c.entries) {
|
|
2144
2149
|
const d = r.resolvedInput || r.input;
|
|
2145
2150
|
if (r.resolvedInput = await (r.transform ? r.transform(d) : d), r.resolvedInput)
|
|
2146
|
-
for (const f of await
|
|
2151
|
+
for (const f of await $n(r)) {
|
|
2147
2152
|
const V = { tag: f, entry: r, resolvedOptions: p.resolvedOptions };
|
|
2148
|
-
await l.callHook("tag:normalise", V),
|
|
2153
|
+
await l.callHook("tag:normalise", V), c.tags.push(V.tag);
|
|
2149
2154
|
}
|
|
2150
2155
|
}
|
|
2151
|
-
return await l.callHook("tags:beforeResolve",
|
|
2156
|
+
return await l.callHook("tags:beforeResolve", c), await l.callHook("tags:resolve", c), await l.callHook("tags:afterResolve", c), c.tags;
|
|
2152
2157
|
},
|
|
2153
2158
|
ssr: o
|
|
2154
2159
|
};
|
|
2155
2160
|
return [
|
|
2156
|
-
Hn,
|
|
2157
2161
|
In,
|
|
2158
|
-
|
|
2159
|
-
|
|
2162
|
+
Bn,
|
|
2163
|
+
Nn,
|
|
2160
2164
|
Mn,
|
|
2161
|
-
|
|
2165
|
+
Rn,
|
|
2162
2166
|
Fn,
|
|
2163
2167
|
On,
|
|
2168
|
+
jn,
|
|
2164
2169
|
...n?.plugins || []
|
|
2165
|
-
].forEach((
|
|
2170
|
+
].forEach((c) => p.use(c)), p.hooks.callHook("init", p), p;
|
|
2166
2171
|
}
|
|
2167
|
-
const
|
|
2168
|
-
function
|
|
2172
|
+
const Wn = ro.startsWith("3");
|
|
2173
|
+
function Kn(n) {
|
|
2169
2174
|
return typeof n == "function" ? n() : t(n);
|
|
2170
2175
|
}
|
|
2171
2176
|
function ot(n, l = "") {
|
|
2172
2177
|
if (n instanceof Promise)
|
|
2173
2178
|
return n;
|
|
2174
|
-
const o =
|
|
2179
|
+
const o = Kn(n);
|
|
2175
2180
|
return !n || !o ? o : Array.isArray(o) ? o.map((e) => ot(e, l)) : typeof o == "object" ? Object.fromEntries(
|
|
2176
2181
|
Object.entries(o).map(([e, i]) => e === "titleTemplate" || e.startsWith("on") ? [e, t(i)] : [e, ot(i, e)])
|
|
2177
2182
|
) : o;
|
|
2178
2183
|
}
|
|
2179
|
-
const
|
|
2184
|
+
const xn = {
|
|
2180
2185
|
hooks: {
|
|
2181
2186
|
"entries:resolve": function(n) {
|
|
2182
2187
|
for (const l of n.entries)
|
|
2183
2188
|
l.resolvedInput = ot(l.input);
|
|
2184
2189
|
}
|
|
2185
2190
|
}
|
|
2186
|
-
},
|
|
2187
|
-
function
|
|
2191
|
+
}, zn = "usehead";
|
|
2192
|
+
function Jn(n) {
|
|
2188
2193
|
return {
|
|
2189
2194
|
install(o) {
|
|
2190
|
-
|
|
2195
|
+
Wn && (o.config.globalProperties.$unhead = n, o.config.globalProperties.$head = n, o.provide(zn, n));
|
|
2191
2196
|
}
|
|
2192
2197
|
}.install;
|
|
2193
2198
|
}
|
|
2194
|
-
function
|
|
2195
|
-
n.domDelayFn = n.domDelayFn || ((o) =>
|
|
2196
|
-
const l = /* @__PURE__ */
|
|
2197
|
-
return l.use(
|
|
2199
|
+
function Yn(n = {}) {
|
|
2200
|
+
n.domDelayFn = n.domDelayFn || ((o) => so(() => setTimeout(() => o(), 0)));
|
|
2201
|
+
const l = /* @__PURE__ */ qn(n);
|
|
2202
|
+
return l.use(xn), l.install = Jn(l), l;
|
|
2198
2203
|
}
|
|
2199
|
-
const
|
|
2200
|
-
class
|
|
2204
|
+
const Zn = po(), Qn = Yn(), Xn = fo();
|
|
2205
|
+
class ea extends HTMLElement {
|
|
2201
2206
|
vueApp;
|
|
2202
2207
|
constructor() {
|
|
2203
2208
|
super();
|
|
@@ -2208,24 +2213,24 @@ class Xn extends HTMLElement {
|
|
|
2208
2213
|
connectedCallback() {
|
|
2209
2214
|
const l = typeof Pe == "function" ? Pe.options : Pe;
|
|
2210
2215
|
let o = Array.isArray(l.props) ? l.props : Object.keys(l.props || {});
|
|
2211
|
-
const e = (
|
|
2216
|
+
const e = (c) => c.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (r, d) => (d ? "-" : "") + r.toLowerCase()), i = (c) => c.replace(/-./g, (r) => r[1].toUpperCase()), s = {};
|
|
2212
2217
|
o = o.map(e);
|
|
2213
2218
|
const m = {};
|
|
2214
|
-
for (const
|
|
2215
|
-
const d =
|
|
2216
|
-
d.length > 1 && (m[d[0]] || (m[d[0]] = {}), m[d[0]][i(d[1])] =
|
|
2219
|
+
for (const c of this.attributes) {
|
|
2220
|
+
const d = c.name.split(".");
|
|
2221
|
+
d.length > 1 && (m[d[0]] || (m[d[0]] = {}), m[d[0]][i(d[1])] = c.value);
|
|
2217
2222
|
}
|
|
2218
|
-
for (const
|
|
2219
|
-
let r = this.attributes.getNamedItem(
|
|
2220
|
-
m.hasOwnProperty(
|
|
2223
|
+
for (const c of o) {
|
|
2224
|
+
let r = this.attributes.getNamedItem(c)?.value;
|
|
2225
|
+
m.hasOwnProperty(c) && (r = m[c]), s[c] = r;
|
|
2221
2226
|
}
|
|
2222
|
-
this.vueApp =
|
|
2227
|
+
this.vueApp = co(Pe, s), ko(this.vueApp), this.vueApp.provide("emitter", Xn), this.vueApp.use(Qn), this.vueApp.use(Zn), this.vueApp.use(Ho), this.vueApp.use(mo), this.vueApp.use(Vo), this.vueApp.use(_o, { bootstrap: !0 });
|
|
2223
2228
|
const p = document.createElement("div");
|
|
2224
2229
|
this.vueApp.mount(p), this.appendChild(p.children[0]);
|
|
2225
2230
|
}
|
|
2226
2231
|
}
|
|
2227
|
-
window.customElements.define("konnectio-hotel",
|
|
2232
|
+
window.customElements.define("konnectio-hotel", ea);
|
|
2228
2233
|
export {
|
|
2229
|
-
|
|
2234
|
+
ea as default
|
|
2230
2235
|
};
|
|
2231
2236
|
//# sourceMappingURL=hotel.js.map
|