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