@konnectio/core 4.0.72 → 4.0.74
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-WA78u-qt.js → ActionField-D8W3NqRF.js} +3 -3
- package/dist/ActionField-D8W3NqRF.js.br +0 -0
- package/dist/{AvailabilitySkeleton-DWAAfDci.js → AvailabilitySkeleton-BBDi4x8U.js} +8 -8
- package/dist/AvailabilitySkeleton-BBDi4x8U.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-oR5hDpPN.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CIEzLxoU.js} +700 -707
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CIEzLxoU.js.br +0 -0
- package/dist/{CheckoutWindow-m-KS7D5O.js → CheckoutWindow-DUjpjYxC.js} +4 -4
- package/dist/CheckoutWindow-DUjpjYxC.js.br +0 -0
- package/dist/{ErrorMessage-D8EUNIrV.js → ErrorMessage-hjNJgwrs.js} +3 -3
- package/dist/ErrorMessage-hjNJgwrs.js.br +0 -0
- package/dist/{EventAvailabilityForm-BqQq-RE9.js → EventAvailabilityForm-DUjmm91K.js} +33 -32
- package/dist/EventAvailabilityForm-DUjmm91K.js.br +0 -0
- package/dist/{Field-D81BL1WK.js → Field-BQPBt3Yl.js} +3 -3
- package/dist/Field-BQPBt3Yl.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Cl6k9WH_.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B04XBO4v.js} +6 -6
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B04XBO4v.js.br +0 -0
- package/dist/{TermsOfService-CdBX8DQJ.js → TermsOfService-D6RUoOUV.js} +5 -5
- package/dist/TermsOfService-D6RUoOUV.js.br +0 -0
- package/dist/{_-hcYFpJ0N.js → _-Dshgs9--.js} +2 -2
- package/dist/{_.vue_vue_type_style_index_0_lang-H94VV8Ci.js → _.vue_vue_type_style_index_0_lang-CGVeBj5b.js} +3 -3
- package/dist/_.vue_vue_type_style_index_0_lang-CGVeBj5b.js.br +0 -0
- package/dist/{_commonjsHelpers-pT8Rih2H.js → _commonjsHelpers-B-6sA32f.js} +2 -2
- package/dist/_commonjsHelpers-B-6sA32f.js.br +0 -0
- package/dist/{_sentry-release-injection-file-ClTbPGwX.js → _sentry-release-injection-file-CYoJrL75.js} +3 -3
- package/dist/_sentry-release-injection-file-CYoJrL75.js.br +0 -0
- package/dist/availability.js +8 -8
- package/dist/availability.js.br +0 -0
- package/dist/deep-link.js +2 -2
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +57 -56
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +10 -10
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +11 -11
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-BN6OrFR7.js → giftCard-Cia2eO-w.js} +4 -4
- package/dist/giftCard-Cia2eO-w.js.br +0 -0
- package/dist/hotel.js +297 -297
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-CeLRNyLX.js → masonry.plugin-CgYuuVsX.js} +400 -397
- package/dist/masonry.plugin-CgYuuVsX.js.br +0 -0
- package/dist/{mitt-CMZ4E8_p.js → mitt-BOKsNQma.js} +2 -2
- package/dist/mitt-BOKsNQma.js.br +0 -0
- package/dist/polyfill.js +101 -101
- package/dist/polyfill.js.br +0 -0
- package/dist/{sentry-DJAGqRxj.js → sentry-bc_bi4Og.js} +2 -2
- package/dist/{style-CG3D6NF3.js → style-BMdCLRVb.js} +2 -2
- package/dist/style-BMdCLRVb.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +1 -1
- package/dist/ActionField-WA78u-qt.js.br +0 -0
- package/dist/AvailabilitySkeleton-DWAAfDci.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-oR5hDpPN.js.br +0 -0
- package/dist/CheckoutWindow-m-KS7D5O.js.br +0 -0
- package/dist/ErrorMessage-D8EUNIrV.js.br +0 -0
- package/dist/EventAvailabilityForm-BqQq-RE9.js.br +0 -0
- package/dist/Field-D81BL1WK.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Cl6k9WH_.js.br +0 -0
- package/dist/TermsOfService-CdBX8DQJ.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-H94VV8Ci.js.br +0 -0
- package/dist/_commonjsHelpers-pT8Rih2H.js.br +0 -0
- package/dist/_sentry-release-injection-file-ClTbPGwX.js.br +0 -0
- package/dist/giftCard-BN6OrFR7.js.br +0 -0
- package/dist/masonry.plugin-CeLRNyLX.js.br +0 -0
- package/dist/mitt-CMZ4E8_p.js.br +0 -0
- package/dist/style-CG3D6NF3.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { d as ee, r as ae, C as ao, a as d, b as P, q as io, u as e, w as T, g as v, e as a, t as h, A as Se, B as ze, f as y, i as _, s as G, F, l as Ye, x as tt, v as q, h as Pt, p as at, j as it, c as x, o as st, z as Ee, n as Be, S as so, D as ro, E as
|
|
2
|
-
import { u as ie, s as Z, T as mo, c as fo, l as ho, i as vo, m as yo } from "./mitt-
|
|
3
|
-
import { d as Ce, x as ye, u as we, I as W, s as le, y as Te, l as Qe, i as pe, g as ne, _ as fe, n as Re, z as At, b as ot, c as me, B as Dt, a as St, A as vt, T as
|
|
4
|
-
import { G as $o } from "./style-
|
|
5
|
-
import { R as To, B as Le, L as wo, S as Co, M as Po, b as Xe, C as Ao, T as Do, V as So, a as Ho } from "./masonry.plugin-
|
|
6
|
-
import { A as Io, H as Eo } from "./AvailabilitySkeleton-
|
|
7
|
-
import { S as Bo } from "./TermsOfService-
|
|
8
|
-
import { C as Ne, B as No, P as Mo, a as Ro } from "./CheckoutWindow-
|
|
9
|
-
import { _ as Ht } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-
|
|
1
|
+
import { d as ee, r as ae, C as ao, a as d, b as P, q as io, u as e, w as T, g as v, e as a, t as h, A as Se, B as ze, f as y, i as _, s as G, F, l as Ye, x as tt, v as q, h as Pt, p as at, j as it, c as x, o as st, z as Ee, n as Be, S as so, D as ro, E as co, G as uo, k as po } from "./_sentry-release-injection-file-CYoJrL75.js";
|
|
2
|
+
import { u as ie, s as Z, T as mo, c as fo, l as ho, i as vo, m as yo } from "./mitt-BOKsNQma.js";
|
|
3
|
+
import { d as Ce, x as ye, u as we, I as W, s as le, y as Te, l as Qe, i as pe, g as ne, _ as fe, n as Re, z as At, b as ot, c as me, B as Dt, a as St, A as vt, T as ue, p as go, D as bo, C as ko, h as yt, j as _o, k as gt, m as Vo } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B04XBO4v.js";
|
|
4
|
+
import { G as $o } from "./style-BMdCLRVb.js";
|
|
5
|
+
import { R as To, B as Le, L as wo, S as Co, M as Po, b as Xe, C as Ao, T as Do, V as So, a as Ho } from "./masonry.plugin-CgYuuVsX.js";
|
|
6
|
+
import { A as Io, H as Eo } from "./AvailabilitySkeleton-BBDi4x8U.js";
|
|
7
|
+
import { S as Bo } from "./TermsOfService-D6RUoOUV.js";
|
|
8
|
+
import { C as Ne, B as No, P as Mo, a as Ro } from "./CheckoutWindow-DUjpjYxC.js";
|
|
9
|
+
import { _ as Ht } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CIEzLxoU.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] = "72d05faa-25fe-412f-a228-27f00781e2c7", n._sentryDebugIdIdentifier = "sentry-dbid-72d05faa-25fe-412f-a228-27f00781e2c7");
|
|
14
14
|
} catch {
|
|
15
15
|
}
|
|
16
16
|
})();
|
|
@@ -22,8 +22,8 @@ import { _ as Ht } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scope
|
|
|
22
22
|
{ "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
|
|
23
23
|
);
|
|
24
24
|
}
|
|
25
|
-
const Lo = (n) => (at("data-v-
|
|
26
|
-
const qo = { key: 0 }, Go = { key: 1 }, Wo = { key: 0 }, xo = { class: "konnectio-reservation-actions" }, Ko = /* @__PURE__ */ Lo(() => /* @__PURE__ */ a("span", null, "For ", -1)), Jo = /* @__PURE__ */ ee({
|
|
25
|
+
const Lo = (n) => (at("data-v-d005e08c"), n = n(), it(), n), Uo = { key: 0 }, Fo = { class: "konnectio-hotel-reservation-warning" }, Oo = { class: "konnectio-hotel-reservation-warning" }, jo = { class: "konnectio-hotel-reservation-warning" };
|
|
26
|
+
const qo = { key: 0 }, Go = { key: 1 }, Wo = { key: 0 }, xo = { class: "konnectio-reservation-actions" }, Ko = /* @__PURE__ */ Lo(() => /* @__PURE__ */ a("span", null, "For ", -1)), Jo = { class: "konnectio-hotel-reservation-tooltip" }, zo = /* @__PURE__ */ ee({
|
|
27
27
|
__name: "HotelReservationForm",
|
|
28
28
|
props: {
|
|
29
29
|
showGiftCard: { type: Boolean, default: !1 },
|
|
@@ -38,10 +38,10 @@ const qo = { key: 0 }, Go = { key: 1 }, Wo = { key: 0 }, xo = { class: "konnecti
|
|
|
38
38
|
arrivalDefault: s,
|
|
39
39
|
departureDefault: p,
|
|
40
40
|
disableNewsletterSignup: m,
|
|
41
|
-
currency:
|
|
41
|
+
currency: c
|
|
42
42
|
} = Z(Ce()), {
|
|
43
43
|
arrivalTime: r,
|
|
44
|
-
departureTime:
|
|
44
|
+
departureTime: u,
|
|
45
45
|
roomDisplay: f,
|
|
46
46
|
templateID: V,
|
|
47
47
|
totalPrice: w,
|
|
@@ -116,13 +116,13 @@ const qo = { key: 0 }, Go = { key: 1 }, Wo = { key: 0 }, xo = { class: "konnecti
|
|
|
116
116
|
])
|
|
117
117
|
]),
|
|
118
118
|
a("b", null, [
|
|
119
|
-
a("span", null, h(e(ne)(re.totalPrice, e(
|
|
119
|
+
a("span", null, h(e(ne)(re.totalPrice, e(c))), 1),
|
|
120
120
|
_("", !0)
|
|
121
121
|
])
|
|
122
122
|
]),
|
|
123
123
|
ke(re.roomAddons) > 0 ? (d(), v("li", qo, [
|
|
124
124
|
a("span", null, h(e(l)("general.addons")), 1),
|
|
125
|
-
a("b", null, h(e(ne)(ke(re.roomAddons), e(
|
|
125
|
+
a("b", null, h(e(ne)(ke(re.roomAddons), e(c))), 1)
|
|
126
126
|
])) : _("", !0)
|
|
127
127
|
]))), 128))
|
|
128
128
|
]))), 128))
|
|
@@ -138,12 +138,12 @@ const qo = { key: 0 }, Go = { key: 1 }, Wo = { key: 0 }, xo = { class: "konnecti
|
|
|
138
138
|
a("span", null, h(e(pe)(e(I).title)), 1)
|
|
139
139
|
]),
|
|
140
140
|
a("b", null, [
|
|
141
|
-
a("span", null, h(e(ne)(e(I).extraPrice, e(
|
|
141
|
+
a("span", null, h(e(ne)(e(I).extraPrice, e(c))), 1)
|
|
142
142
|
])
|
|
143
143
|
]),
|
|
144
144
|
e(j) ? (d(), v("li", Wo, [
|
|
145
145
|
a("span", null, h(e(l)("general.addons")), 1),
|
|
146
|
-
a("b", null, h(e(ne)(e(j), e(
|
|
146
|
+
a("b", null, h(e(ne)(e(j), e(c))), 1)
|
|
147
147
|
])) : _("", !0)
|
|
148
148
|
])
|
|
149
149
|
])
|
|
@@ -199,7 +199,7 @@ const qo = { key: 0 }, Go = { key: 1 }, Wo = { key: 0 }, xo = { class: "konnecti
|
|
|
199
199
|
"mobile-under-price": T(() => [
|
|
200
200
|
Ko,
|
|
201
201
|
a("b", null, h(e(Te)(e(E), e(k))) + " " + h(e(Qe)(e(Te)(e(E), e(k)) === 1 ? e(l)("booking.reservation.night") : e(l)("booking.reservation.nights"))), 1),
|
|
202
|
-
Se((d(), v("span",
|
|
202
|
+
Se((d(), v("span", Jo, [
|
|
203
203
|
y(W, {
|
|
204
204
|
icon: "circle-info",
|
|
205
205
|
type: "fas"
|
|
@@ -253,7 +253,7 @@ const qo = { key: 0 }, Go = { key: 1 }, Wo = { key: 0 }, xo = { class: "konnecti
|
|
|
253
253
|
a("li", null, [
|
|
254
254
|
a("span", null, h(e(l)("booking.reservation.departure")), 1),
|
|
255
255
|
a("b", null, [
|
|
256
|
-
a("span", null, h(e(t) ? e(le)(e(k)) : `${e(le)(e(k))}, ${e(i) ? e(p) : e(
|
|
256
|
+
a("span", null, h(e(t) ? e(le)(e(k)) : `${e(le)(e(k))}, ${e(i) ? e(p) : e(u)}`), 1),
|
|
257
257
|
Se(a("span", jo, [
|
|
258
258
|
y(W, {
|
|
259
259
|
icon: "exclamation-triangle",
|
|
@@ -280,7 +280,7 @@ const qo = { key: 0 }, Go = { key: 1 }, Wo = { key: 0 }, xo = { class: "konnecti
|
|
|
280
280
|
]), 1032, ["discount-code", "validate-discount-code", "total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice", "prev-callback"]);
|
|
281
281
|
};
|
|
282
282
|
}
|
|
283
|
-
}), Ze = /* @__PURE__ */ fe(
|
|
283
|
+
}), Ze = /* @__PURE__ */ fe(zo, [["__scopeId", "data-v-d005e08c"]]), Yo = (n) => (at("data-v-69fe83d8"), n = n(), it(), n), Qo = { class: "konnectio-room-config-option" }, Xo = { key: 0 }, Zo = { class: "konnectio-selected-room-config" }, el = { class: "konnectio-selected-room-config-people" }, tl = { key: 0 }, ol = { class: "konnectio-selected-room-config-price" }, ll = /* @__PURE__ */ Yo(() => /* @__PURE__ */ a("span", null, null, -1)), nl = /* @__PURE__ */ ee({
|
|
284
284
|
__name: "RoomConfigField",
|
|
285
285
|
props: {
|
|
286
286
|
modelValue: {},
|
|
@@ -292,70 +292,70 @@ const qo = { key: 0 }, Go = { key: 1 }, Wo = { key: 0 }, xo = { class: "konnecti
|
|
|
292
292
|
emits: ["update:modelValue"],
|
|
293
293
|
setup(n, { emit: l }) {
|
|
294
294
|
const { t } = ie(), { currency: o } = Z(Ce()), i = l, s = n;
|
|
295
|
-
function p(
|
|
296
|
-
i("update:modelValue",
|
|
295
|
+
function p(c) {
|
|
296
|
+
i("update:modelValue", c);
|
|
297
297
|
}
|
|
298
298
|
const m = x({
|
|
299
299
|
get: () => s.modelValue,
|
|
300
|
-
set: (
|
|
300
|
+
set: (c) => p(c)
|
|
301
301
|
});
|
|
302
|
-
return (
|
|
302
|
+
return (c, r) => (d(), P(Re, {
|
|
303
303
|
modelValue: m.value,
|
|
304
|
-
"onUpdate:modelValue": r[0] || (r[0] = (
|
|
305
|
-
label:
|
|
304
|
+
"onUpdate:modelValue": r[0] || (r[0] = (u) => m.value = u),
|
|
305
|
+
label: c.label,
|
|
306
306
|
placeholder: "Select guest configuration",
|
|
307
307
|
labelKey: "label",
|
|
308
308
|
valueKey: "value",
|
|
309
309
|
"icon-placement": "label",
|
|
310
|
-
options:
|
|
311
|
-
readonly:
|
|
312
|
-
required:
|
|
310
|
+
options: c.options,
|
|
311
|
+
readonly: c.readonly,
|
|
312
|
+
required: c.required,
|
|
313
313
|
searchable: !1
|
|
314
314
|
}, {
|
|
315
|
-
option: T(({ data:
|
|
316
|
-
a("span",
|
|
315
|
+
option: T(({ data: u }) => [
|
|
316
|
+
a("span", Qo, [
|
|
317
317
|
a("div", null, [
|
|
318
318
|
y(W, {
|
|
319
319
|
icon: "male",
|
|
320
320
|
type: "fas",
|
|
321
321
|
color: "font"
|
|
322
322
|
}),
|
|
323
|
-
a("span", null, h(`${
|
|
324
|
-
|
|
323
|
+
a("span", null, h(`${u.adults}`), 1),
|
|
324
|
+
u.children > 0 ? (d(), v("span", Xo, [
|
|
325
325
|
y(W, {
|
|
326
326
|
icon: "child",
|
|
327
327
|
type: "fas",
|
|
328
328
|
color: "font"
|
|
329
329
|
}),
|
|
330
|
-
a("span", null, h(`${
|
|
330
|
+
a("span", null, h(`${u.children}`), 1)
|
|
331
331
|
])) : _("", !0)
|
|
332
332
|
]),
|
|
333
|
-
a("span", null, h(`(${e(ne)(
|
|
333
|
+
a("span", null, h(`(${e(ne)(u.price, e(o))})`), 1)
|
|
334
334
|
])
|
|
335
335
|
]),
|
|
336
|
-
"selected-option": T(({ data:
|
|
337
|
-
a("div",
|
|
338
|
-
a("div",
|
|
336
|
+
"selected-option": T(({ data: u }) => [
|
|
337
|
+
a("div", Zo, [
|
|
338
|
+
a("div", el, [
|
|
339
339
|
a("div", null, [
|
|
340
340
|
_("", !0),
|
|
341
|
-
a("span", null, h(`${
|
|
341
|
+
a("span", null, h(`${u.adults} ${u.adults === 1 ? e(t)("general.adult") : e(t)("general.adults")}`), 1)
|
|
342
342
|
]),
|
|
343
|
-
|
|
343
|
+
u.children > 0 ? (d(), v("div", tl, [
|
|
344
344
|
_("", !0),
|
|
345
|
-
a("span", null, h(`& ${
|
|
345
|
+
a("span", null, h(`& ${u.children} ${u.children === 1 ? e(t)("general.child") : e(t)("general.children")}`), 1)
|
|
346
346
|
])) : _("", !0)
|
|
347
347
|
]),
|
|
348
|
-
a("div",
|
|
349
|
-
|
|
350
|
-
tt(" " + h(`(${e(ne)(
|
|
348
|
+
a("div", ol, [
|
|
349
|
+
ll,
|
|
350
|
+
tt(" " + h(`(${e(ne)(u.price, e(o))})`), 1)
|
|
351
351
|
])
|
|
352
352
|
])
|
|
353
353
|
]),
|
|
354
354
|
_: 1
|
|
355
355
|
}, 8, ["modelValue", "label", "options", "readonly", "required"]));
|
|
356
356
|
}
|
|
357
|
-
}),
|
|
358
|
-
const
|
|
357
|
+
}), al = /* @__PURE__ */ fe(nl, [["__scopeId", "data-v-69fe83d8"]]), il = { class: "konnectio-availability-listing-selection" }, sl = { key: 1 }, rl = { class: "konnectio-listing-config-body" }, dl = { class: "konnectio-listing-units-body" };
|
|
358
|
+
const cl = /* @__PURE__ */ ee({
|
|
359
359
|
__name: "Hotel",
|
|
360
360
|
props: {
|
|
361
361
|
room: {},
|
|
@@ -373,7 +373,7 @@ const dl = /* @__PURE__ */ ee({
|
|
|
373
373
|
const s = x(() => t.room.rates.map((k) => ({
|
|
374
374
|
label: k.name,
|
|
375
375
|
value: k.id
|
|
376
|
-
}))), { hideAvailableRoomAmount: p, autoSelectRateId: m } = Z(Ce()), { roomSelect:
|
|
376
|
+
}))), { hideAvailableRoomAmount: p, autoSelectRateId: m } = Z(Ce()), { roomSelect: c } = Z(ye()), { addToCart: r, removeFromCart: u } = At(), f = (k, D) => t.room.rates.find((B) => B.id === k)?.occupantRates.find((B) => B.index === D), V = x(() => t.room.rates.every((k) => k.isBreakfastIncluded === !0)), w = (k, D) => f(k, D) ? f(k, D)?.rooms : null, C = (k) => t.room.rates.length > 0 ? t.room.rates.find((D) => D.id === k)?.occupantRates.map((D) => ({
|
|
377
377
|
value: D.index,
|
|
378
378
|
price: D.totalPrice,
|
|
379
379
|
adults: D.adultsCount,
|
|
@@ -419,7 +419,7 @@ const dl = /* @__PURE__ */ ee({
|
|
|
419
419
|
id: t.room.id,
|
|
420
420
|
name: t.room.title,
|
|
421
421
|
value: t.room.rates[J].rackRate
|
|
422
|
-
})) : (o.value[J].config[Y].addons.pop(),
|
|
422
|
+
})) : (o.value[J].config[Y].addons.pop(), u({
|
|
423
423
|
id: t.room.id,
|
|
424
424
|
name: t.room.title,
|
|
425
425
|
value: t.room.rates[J].rackRate
|
|
@@ -427,7 +427,7 @@ const dl = /* @__PURE__ */ ee({
|
|
|
427
427
|
});
|
|
428
428
|
});
|
|
429
429
|
}, { deep: !0 }), Ee(o, () => {
|
|
430
|
-
|
|
430
|
+
c.value[t.room.id] = o.value;
|
|
431
431
|
}, { deep: !0 }), (k, D) => (d(), P(Le, {
|
|
432
432
|
type: "hotel",
|
|
433
433
|
"listing-id": k.room.id,
|
|
@@ -440,7 +440,7 @@ const dl = /* @__PURE__ */ ee({
|
|
|
440
440
|
"includes-breakfast": V.value
|
|
441
441
|
}, {
|
|
442
442
|
action: T(() => [
|
|
443
|
-
a("div",
|
|
443
|
+
a("div", il, [
|
|
444
444
|
(d(!0), v(F, null, G(o.value, (B, J) => (d(), v("div", {
|
|
445
445
|
key: B.id,
|
|
446
446
|
class: "konnectio-hotel-room"
|
|
@@ -455,7 +455,7 @@ const dl = /* @__PURE__ */ ee({
|
|
|
455
455
|
searchable: !1,
|
|
456
456
|
onChanged: (R) => M(J, R)
|
|
457
457
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options", "onChanged"])) : _("", !0),
|
|
458
|
-
B.id ? (d(), v("div",
|
|
458
|
+
B.id ? (d(), v("div", sl, [
|
|
459
459
|
(d(!0), v(F, null, G(k.room.rates, ({
|
|
460
460
|
id: R,
|
|
461
461
|
maximumOccupants: Y
|
|
@@ -467,8 +467,8 @@ const dl = /* @__PURE__ */ ee({
|
|
|
467
467
|
key: se,
|
|
468
468
|
class: "konnectio-listing-action-selective"
|
|
469
469
|
}, [
|
|
470
|
-
a("ul",
|
|
471
|
-
y(
|
|
470
|
+
a("ul", rl, [
|
|
471
|
+
y(al, {
|
|
472
472
|
modelValue: L.id,
|
|
473
473
|
"onUpdate:modelValue": (te) => L.id = te,
|
|
474
474
|
icon: "male",
|
|
@@ -479,7 +479,7 @@ const dl = /* @__PURE__ */ ee({
|
|
|
479
479
|
readonly: !(C(R).length > 1)
|
|
480
480
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
|
|
481
481
|
]),
|
|
482
|
-
a("ul",
|
|
482
|
+
a("ul", dl, [
|
|
483
483
|
y(ot, {
|
|
484
484
|
modelValue: L.units,
|
|
485
485
|
"onUpdate:modelValue": (te) => L.units = te,
|
|
@@ -502,7 +502,7 @@ const dl = /* @__PURE__ */ ee({
|
|
|
502
502
|
_: 1
|
|
503
503
|
}, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
|
|
504
504
|
}
|
|
505
|
-
}), ul = /* @__PURE__ */ fe(
|
|
505
|
+
}), ul = /* @__PURE__ */ fe(cl, [["__scopeId", "data-v-102e8e63"]]), pl = { class: "konnectio-template-side-panel" }, ml = { class: "konnectio-template-side-panel-listings" }, fl = /* @__PURE__ */ ee({
|
|
506
506
|
__name: "Template",
|
|
507
507
|
props: {
|
|
508
508
|
title: {},
|
|
@@ -512,13 +512,13 @@ const dl = /* @__PURE__ */ ee({
|
|
|
512
512
|
callback: { type: Function }
|
|
513
513
|
},
|
|
514
514
|
setup(n) {
|
|
515
|
-
const { t: l } = ie(), { templateID: t, roomGroupID: o, selectionHasNoAddons: i } = Z(ye()), { currency: s } = Z(Ce()), { clearRoomSelection: p } = ye(), m = n,
|
|
515
|
+
const { t: l } = ie(), { templateID: t, roomGroupID: o, selectionHasNoAddons: i } = Z(ye()), { currency: s } = Z(Ce()), { clearRoomSelection: p } = ye(), m = n, c = ae(!0), r = x(() => {
|
|
516
516
|
function f(V, w) {
|
|
517
|
-
return
|
|
517
|
+
return c.value === !0 ? V.extraPrice > w.extraPrice ? -1 : 1 : V.extraPrice > w.extraPrice ? 1 : -1;
|
|
518
518
|
}
|
|
519
519
|
return m.roomGroups?.slice().sort(f);
|
|
520
520
|
});
|
|
521
|
-
function
|
|
521
|
+
function u(f) {
|
|
522
522
|
t.value = m.templateId, o.value = f, p(), m.hideAddons === !0 || i.value ? m.callback(2) : m.callback(1);
|
|
523
523
|
}
|
|
524
524
|
return (f, V) => (d(), P(No, {
|
|
@@ -526,8 +526,8 @@ const dl = /* @__PURE__ */ ee({
|
|
|
526
526
|
subtitle: e(l)("booking.availability.selectATemplateRoom")
|
|
527
527
|
}, {
|
|
528
528
|
default: T(() => [
|
|
529
|
-
a("div",
|
|
530
|
-
a("div",
|
|
529
|
+
a("div", pl, [
|
|
530
|
+
a("div", ml, [
|
|
531
531
|
(d(!0), v(F, null, G(r.value, ({
|
|
532
532
|
id: w,
|
|
533
533
|
title: C,
|
|
@@ -548,7 +548,7 @@ const dl = /* @__PURE__ */ ee({
|
|
|
548
548
|
action: T(() => [
|
|
549
549
|
a("div", null, [
|
|
550
550
|
y(me, {
|
|
551
|
-
onClickEvent: (k) =>
|
|
551
|
+
onClickEvent: (k) => u(w),
|
|
552
552
|
label: `${e(l)("booking.availability.selectThisRoom")} (${e(ne)(E, e(s))})`,
|
|
553
553
|
"full-width": ""
|
|
554
554
|
}, null, 8, ["onClickEvent", "label"])
|
|
@@ -562,7 +562,7 @@ const dl = /* @__PURE__ */ ee({
|
|
|
562
562
|
_: 1
|
|
563
563
|
}, 8, ["title", "subtitle"]));
|
|
564
564
|
}
|
|
565
|
-
}), It = /* @__PURE__ */ fe(
|
|
565
|
+
}), It = /* @__PURE__ */ fe(fl, [["__scopeId", "data-v-7424de30"]]), hl = { class: "konnectio-template-select-package" }, vl = /* @__PURE__ */ ee({
|
|
566
566
|
__name: "Template",
|
|
567
567
|
props: {
|
|
568
568
|
id: {},
|
|
@@ -576,7 +576,7 @@ const dl = /* @__PURE__ */ ee({
|
|
|
576
576
|
},
|
|
577
577
|
setup(n) {
|
|
578
578
|
const { t: l } = ie(), t = n, o = x(() => t.roomGroups.reduce(
|
|
579
|
-
(
|
|
579
|
+
(c, r) => c < r.extraPrice ? c : r.extraPrice,
|
|
580
580
|
1 / 0
|
|
581
581
|
)), i = x(() => {
|
|
582
582
|
if (t.image)
|
|
@@ -590,14 +590,14 @@ const dl = /* @__PURE__ */ ee({
|
|
|
590
590
|
function p() {
|
|
591
591
|
s.value = !0;
|
|
592
592
|
}
|
|
593
|
-
function m(
|
|
594
|
-
t.callback(
|
|
593
|
+
function m(c) {
|
|
594
|
+
t.callback(c), s.value = !1;
|
|
595
595
|
}
|
|
596
|
-
return (
|
|
596
|
+
return (c, r) => (d(), P(Le, {
|
|
597
597
|
type: "template",
|
|
598
|
-
"listing-id":
|
|
599
|
-
name:
|
|
600
|
-
description:
|
|
598
|
+
"listing-id": c.id,
|
|
599
|
+
name: c.name,
|
|
600
|
+
description: c.description,
|
|
601
601
|
gallery: i.value,
|
|
602
602
|
layout: e(Dt).Template,
|
|
603
603
|
"includes-breakfast": !1,
|
|
@@ -605,7 +605,7 @@ const dl = /* @__PURE__ */ ee({
|
|
|
605
605
|
"prices-from": o.value
|
|
606
606
|
}, {
|
|
607
607
|
action: T(() => [
|
|
608
|
-
a("div",
|
|
608
|
+
a("div", hl, [
|
|
609
609
|
y(me, {
|
|
610
610
|
onClickEvent: p,
|
|
611
611
|
label: e(l)("booking.availability.selectPackage"),
|
|
@@ -616,18 +616,18 @@ const dl = /* @__PURE__ */ ee({
|
|
|
616
616
|
default: T(() => [
|
|
617
617
|
y(It, {
|
|
618
618
|
modelValue: s.value,
|
|
619
|
-
"onUpdate:modelValue": r[0] || (r[0] = (
|
|
620
|
-
title:
|
|
621
|
-
"template-id":
|
|
622
|
-
"room-groups":
|
|
623
|
-
"hide-addons":
|
|
619
|
+
"onUpdate:modelValue": r[0] || (r[0] = (u) => s.value = u),
|
|
620
|
+
title: c.name,
|
|
621
|
+
"template-id": c.id,
|
|
622
|
+
"room-groups": c.roomGroups,
|
|
623
|
+
"hide-addons": c.hideAddons,
|
|
624
624
|
callback: m
|
|
625
625
|
}, null, 8, ["modelValue", "title", "template-id", "room-groups", "hide-addons"])
|
|
626
626
|
]),
|
|
627
627
|
_: 1
|
|
628
628
|
}, 8, ["listing-id", "name", "description", "gallery", "layout", "prices-from"]));
|
|
629
629
|
}
|
|
630
|
-
}),
|
|
630
|
+
}), yl = { class: "konnectio-special-offer-availability" }, gl = { class: "konnectio-special-offer-availability-button" }, bl = /* @__PURE__ */ ee({
|
|
631
631
|
__name: "SpecialOffer",
|
|
632
632
|
props: {
|
|
633
633
|
id: {},
|
|
@@ -646,11 +646,11 @@ const dl = /* @__PURE__ */ ee({
|
|
|
646
646
|
medium: i.image.url,
|
|
647
647
|
thumb: i.image.url,
|
|
648
648
|
url: i.image.url
|
|
649
|
-
}]),
|
|
649
|
+
}]), c = ae(!1);
|
|
650
650
|
function r(f) {
|
|
651
|
-
i.callback(f),
|
|
651
|
+
i.callback(f), c.value = !1;
|
|
652
652
|
}
|
|
653
|
-
function
|
|
653
|
+
function u() {
|
|
654
654
|
s.value.length > 0 ? t(s.value[0], s.value[1]) : o({
|
|
655
655
|
message: l("alert.error.selectDates"),
|
|
656
656
|
type: "error"
|
|
@@ -671,7 +671,7 @@ const dl = /* @__PURE__ */ ee({
|
|
|
671
671
|
"from-date": f.fromDate
|
|
672
672
|
}, {
|
|
673
673
|
action: T(() => [
|
|
674
|
-
a("div",
|
|
674
|
+
a("div", yl, [
|
|
675
675
|
y(Ht, {
|
|
676
676
|
modelValue: s.value,
|
|
677
677
|
"onUpdate:modelValue": V[0] || (V[0] = (w) => s.value = w),
|
|
@@ -686,18 +686,18 @@ const dl = /* @__PURE__ */ ee({
|
|
|
686
686
|
readonly: p.value,
|
|
687
687
|
range: ""
|
|
688
688
|
}, null, 8, ["modelValue", "label", "placeholder", "start-date", "min-date", "max-date", "readonly"]),
|
|
689
|
-
a("div",
|
|
689
|
+
a("div", gl, [
|
|
690
690
|
y(me, {
|
|
691
691
|
label: e(l)("availability.buttonLabel"),
|
|
692
|
-
onClick: Pt(
|
|
692
|
+
onClick: Pt(u, ["prevent"])
|
|
693
693
|
}, null, 8, ["label"])
|
|
694
694
|
])
|
|
695
695
|
])
|
|
696
696
|
]),
|
|
697
697
|
default: T(() => [
|
|
698
698
|
y(It, {
|
|
699
|
-
modelValue:
|
|
700
|
-
"onUpdate:modelValue": V[1] || (V[1] = (w) =>
|
|
699
|
+
modelValue: c.value,
|
|
700
|
+
"onUpdate:modelValue": V[1] || (V[1] = (w) => c.value = w),
|
|
701
701
|
title: f.name,
|
|
702
702
|
"template-id": f.id,
|
|
703
703
|
roomGroups: f.roomGroups,
|
|
@@ -734,7 +734,7 @@ const dl = /* @__PURE__ */ ee({
|
|
|
734
734
|
i(p);
|
|
735
735
|
}), (p, m) => (d(), P(Ht, {
|
|
736
736
|
modelValue: s.value,
|
|
737
|
-
"onUpdate:modelValue": m[0] || (m[0] = (
|
|
737
|
+
"onUpdate:modelValue": m[0] || (m[0] = (c) => s.value = c),
|
|
738
738
|
type: "time",
|
|
739
739
|
label: p.label,
|
|
740
740
|
id: p.id,
|
|
@@ -749,7 +749,7 @@ const dl = /* @__PURE__ */ ee({
|
|
|
749
749
|
"max-time": p.maxTime
|
|
750
750
|
}, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly", "min-time", "max-time"]));
|
|
751
751
|
}
|
|
752
|
-
}),
|
|
752
|
+
}), kl = { style: { display: "flex", "align-items": "baseline" } }, _l = /* @__PURE__ */ ee({
|
|
753
753
|
__name: "CountryField",
|
|
754
754
|
props: {
|
|
755
755
|
modelValue: {},
|
|
@@ -769,9 +769,9 @@ const dl = /* @__PURE__ */ ee({
|
|
|
769
769
|
get: () => i.modelValue,
|
|
770
770
|
set: (m) => s(m)
|
|
771
771
|
});
|
|
772
|
-
return (m,
|
|
772
|
+
return (m, c) => (d(), P(Re, {
|
|
773
773
|
modelValue: p.value,
|
|
774
|
-
"onUpdate:modelValue":
|
|
774
|
+
"onUpdate:modelValue": c[0] || (c[0] = (r) => p.value = r),
|
|
775
775
|
label: m.label,
|
|
776
776
|
placeholder: e(t)("booking.reservation.countryPlaceholder"),
|
|
777
777
|
labelKey: "name",
|
|
@@ -786,7 +786,7 @@ const dl = /* @__PURE__ */ ee({
|
|
|
786
786
|
a("span", null, h(r.name), 1)
|
|
787
787
|
]),
|
|
788
788
|
"selected-option": T(({ data: r }) => [
|
|
789
|
-
a("div",
|
|
789
|
+
a("div", kl, [
|
|
790
790
|
a("i", {
|
|
791
791
|
class: Be(["konnectio-flag-icon", r.iso])
|
|
792
792
|
}, null, 2),
|
|
@@ -796,7 +796,7 @@ const dl = /* @__PURE__ */ ee({
|
|
|
796
796
|
_: 1
|
|
797
797
|
}, 8, ["modelValue", "label", "placeholder", "options", "required"]));
|
|
798
798
|
}
|
|
799
|
-
}),
|
|
799
|
+
}), Vl = /* @__PURE__ */ fe(_l, [["__scopeId", "data-v-1462612d"]]), $l = /* @__PURE__ */ ee({
|
|
800
800
|
__name: "NameField",
|
|
801
801
|
props: {
|
|
802
802
|
modelValue: {},
|
|
@@ -825,10 +825,10 @@ const dl = /* @__PURE__ */ ee({
|
|
|
825
825
|
Ee(p, (r) => {
|
|
826
826
|
o("update:title", r);
|
|
827
827
|
});
|
|
828
|
-
const { t:
|
|
828
|
+
const { t: c } = ie();
|
|
829
829
|
return st(() => {
|
|
830
830
|
t.modelValue && (s.value = t.modelValue), t.title && (p.value = t.title);
|
|
831
|
-
}), (r,
|
|
831
|
+
}), (r, u) => (d(), P(go, {
|
|
832
832
|
label: r.label,
|
|
833
833
|
id: e(i),
|
|
834
834
|
required: r.required,
|
|
@@ -846,30 +846,30 @@ const dl = /* @__PURE__ */ ee({
|
|
|
846
846
|
r.excludeTitle ? _("", !0) : (d(), P(Re, {
|
|
847
847
|
key: 0,
|
|
848
848
|
modelValue: p.value,
|
|
849
|
-
"onUpdate:modelValue":
|
|
849
|
+
"onUpdate:modelValue": u[0] || (u[0] = (f) => p.value = f),
|
|
850
850
|
id: e(vt)(),
|
|
851
851
|
icon: r.icon,
|
|
852
852
|
"icon-color": r.iconColor,
|
|
853
853
|
"icon-type": r.iconType,
|
|
854
854
|
options: [
|
|
855
855
|
{
|
|
856
|
-
label: e(
|
|
856
|
+
label: e(c)("booking.reservation.noNameTitle"),
|
|
857
857
|
value: 1
|
|
858
858
|
},
|
|
859
859
|
{
|
|
860
|
-
label: e(
|
|
860
|
+
label: e(c)("booking.reservation.nameTitleMr"),
|
|
861
861
|
value: 2
|
|
862
862
|
},
|
|
863
863
|
{
|
|
864
|
-
label: e(
|
|
864
|
+
label: e(c)("booking.reservation.nameTitleMs"),
|
|
865
865
|
value: 3
|
|
866
866
|
},
|
|
867
867
|
{
|
|
868
|
-
label: e(
|
|
868
|
+
label: e(c)("booking.reservation.nameTitleMrs"),
|
|
869
869
|
value: 4
|
|
870
870
|
},
|
|
871
871
|
{
|
|
872
|
-
label: e(
|
|
872
|
+
label: e(c)("booking.reservation.nameTitleDr"),
|
|
873
873
|
value: 5
|
|
874
874
|
}
|
|
875
875
|
],
|
|
@@ -878,9 +878,9 @@ const dl = /* @__PURE__ */ ee({
|
|
|
878
878
|
"input-style": r.inputStyle,
|
|
879
879
|
searchable: !1
|
|
880
880
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly", "input-style"])),
|
|
881
|
-
y(
|
|
881
|
+
y(ue, {
|
|
882
882
|
modelValue: s.value,
|
|
883
|
-
"onUpdate:modelValue":
|
|
883
|
+
"onUpdate:modelValue": u[1] || (u[1] = (f) => s.value = f),
|
|
884
884
|
type: "text",
|
|
885
885
|
name: "name",
|
|
886
886
|
autocomplete: "name",
|
|
@@ -892,7 +892,7 @@ const dl = /* @__PURE__ */ ee({
|
|
|
892
892
|
required: r.required,
|
|
893
893
|
readonly: r.readonly,
|
|
894
894
|
limit: r.limit,
|
|
895
|
-
onInput:
|
|
895
|
+
onInput: u[2] || (u[2] = (f) => m()),
|
|
896
896
|
"input-style": r.inputStyle
|
|
897
897
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "placeholder", "required", "readonly", "limit", "input-style"])
|
|
898
898
|
], 2)
|
|
@@ -900,58 +900,58 @@ const dl = /* @__PURE__ */ ee({
|
|
|
900
900
|
_: 1
|
|
901
901
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
902
902
|
}
|
|
903
|
-
}),
|
|
903
|
+
}), Tl = /* @__PURE__ */ fe($l, [["__scopeId", "data-v-7c44829d"]]), wl = { class: "hotel-skeleton" }, Cl = { class: "hotel-skeleton-content" }, Pl = { class: "hotel-skeleton-sidebar" }, Al = /* @__PURE__ */ ee({
|
|
904
904
|
__name: "HotelSkeleton",
|
|
905
905
|
setup(n) {
|
|
906
|
-
return (l, t) => (d(), v("div",
|
|
907
|
-
a("div",
|
|
906
|
+
return (l, t) => (d(), v("div", wl, [
|
|
907
|
+
a("div", Cl, [
|
|
908
908
|
y(Io, { hotel: "" }),
|
|
909
909
|
y(wo)
|
|
910
910
|
]),
|
|
911
|
-
a("div",
|
|
911
|
+
a("div", Pl, [
|
|
912
912
|
y(Co)
|
|
913
913
|
])
|
|
914
914
|
]));
|
|
915
915
|
}
|
|
916
|
-
}),
|
|
917
|
-
const
|
|
916
|
+
}), Dl = /* @__PURE__ */ fe(Al, [["__scopeId", "data-v-1bb21da4"]]), Sl = (n) => (at("data-v-b6142cc2"), n = n(), it(), n), Hl = { id: "booking-availability-container" }, Il = { id: "booking-availability-controls" };
|
|
917
|
+
const El = { key: 1 }, Bl = { key: 0 }, Nl = {
|
|
918
918
|
key: 0,
|
|
919
919
|
id: "booking-availability-packages"
|
|
920
|
-
},
|
|
920
|
+
}, Ml = {
|
|
921
921
|
key: 0,
|
|
922
922
|
class: "konnectio-hotel-availability-title"
|
|
923
|
-
},
|
|
923
|
+
}, Rl = { id: "booking-availability-packages-wrapper" }, Ll = { key: 1 }, Ul = {
|
|
924
924
|
key: 0,
|
|
925
925
|
class: "konnectio-hotel-availability-title"
|
|
926
|
-
},
|
|
926
|
+
}, Fl = { id: "konnectio-listings" }, Ol = {
|
|
927
927
|
key: 2,
|
|
928
928
|
id: "booking-availability-packages"
|
|
929
|
-
},
|
|
929
|
+
}, jl = { class: "konnectio-hotel-availability-title" }, ql = { id: "booking-availability-packages-wrapper" }, Gl = {
|
|
930
930
|
key: 3,
|
|
931
931
|
id: "booking-availability-no-listings",
|
|
932
932
|
class: "konnectio-panel"
|
|
933
|
-
},
|
|
933
|
+
}, Wl = {
|
|
934
934
|
key: 1,
|
|
935
935
|
id: "booking-availability-no-listings"
|
|
936
|
-
},
|
|
936
|
+
}, xl = {
|
|
937
937
|
key: 2,
|
|
938
938
|
id: "reservation-availability-next-dates"
|
|
939
|
-
},
|
|
940
|
-
const
|
|
939
|
+
}, Kl = { class: "konnectio-hotel-availability-title" }, Jl = { class: "reservation-special-offers-grid" }, zl = ["title"];
|
|
940
|
+
const Yl = {
|
|
941
941
|
key: 2,
|
|
942
942
|
class: "konnectio-panel"
|
|
943
|
-
},
|
|
943
|
+
}, Ql = {
|
|
944
944
|
key: 3,
|
|
945
945
|
class: "konnectio-listing-loading"
|
|
946
|
-
},
|
|
946
|
+
}, Xl = { class: "konnectio-panel" }, Zl = {
|
|
947
947
|
key: 0,
|
|
948
948
|
id: "konnectio-hotel-addons"
|
|
949
949
|
};
|
|
950
|
-
const
|
|
950
|
+
const en = { class: "konnectio-event-addons-price" }, tn = { key: 1 }, on = { class: "konnectio-table-addons-information" }, ln = { class: "konnectio-table-addons-option" }, nn = {
|
|
951
951
|
key: 1,
|
|
952
952
|
id: "konnectio-hotel-addons"
|
|
953
|
-
},
|
|
954
|
-
const
|
|
953
|
+
}, an = { class: "konnectio-table with-lines" };
|
|
954
|
+
const sn = /* @__PURE__ */ Sl(() => /* @__PURE__ */ a("th", { class: "konnectio-event-addons-price" }, null, -1)), rn = { class: "konnectio-table-addons-information" }, dn = { class: "konnectio-table-addons-option" }, cn = { class: "konnectio-panel" }, un = { key: 0 }, pn = { key: 1 }, mn = { class: "konnectio-split-inputs" }, fn = /* @__PURE__ */ ee({
|
|
955
955
|
name: "HotelLayout",
|
|
956
956
|
__name: "Hotel",
|
|
957
957
|
props: {
|
|
@@ -964,14 +964,14 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
964
964
|
styling: {}
|
|
965
965
|
},
|
|
966
966
|
setup(n) {
|
|
967
|
-
const l = ro(() => import("./_-
|
|
967
|
+
const l = ro(() => import("./_-Dshgs9--.js")), t = n, { t: o } = ie(), {
|
|
968
968
|
currentLocation: i,
|
|
969
969
|
templateID: s,
|
|
970
970
|
templateAddons: p,
|
|
971
971
|
countries: m,
|
|
972
|
-
areListingsLoading:
|
|
972
|
+
areListingsLoading: c,
|
|
973
973
|
isPaymentLoading: r,
|
|
974
|
-
isReservationFormFilled:
|
|
974
|
+
isReservationFormFilled: u,
|
|
975
975
|
travelingFor: f,
|
|
976
976
|
arrivalTime: V,
|
|
977
977
|
departureTime: w,
|
|
@@ -1009,7 +1009,7 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1009
1009
|
arrivalLatest: je,
|
|
1010
1010
|
departureEarliest: re,
|
|
1011
1011
|
departureLatest: qe,
|
|
1012
|
-
enableTracking:
|
|
1012
|
+
enableTracking: ct,
|
|
1013
1013
|
hideArrivalDepartureInputs: Rt,
|
|
1014
1014
|
disableArrivalUserSelection: Ge,
|
|
1015
1015
|
disableNamePrefix: Lt,
|
|
@@ -1018,7 +1018,7 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1018
1018
|
disableTravelingForBleasure: Ft,
|
|
1019
1019
|
disableCompanyField: Ot,
|
|
1020
1020
|
hasPaymentGateway: jt,
|
|
1021
|
-
maxAdultAmount:
|
|
1021
|
+
maxAdultAmount: ut,
|
|
1022
1022
|
maxChildAmount: pt,
|
|
1023
1023
|
defaultAdultAmount: qt,
|
|
1024
1024
|
defaultChildAmount: Gt
|
|
@@ -1084,14 +1084,14 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1084
1084
|
await Jt(g, $);
|
|
1085
1085
|
}
|
|
1086
1086
|
function to(g) {
|
|
1087
|
-
|
|
1087
|
+
ct.value && Wt(), Ke.value || he.value ? g(2) : g();
|
|
1088
1088
|
}
|
|
1089
1089
|
function oo() {
|
|
1090
1090
|
const g = _o("history", {
|
|
1091
1091
|
removeNullishValues: !0
|
|
1092
1092
|
}), $ = parseInt(g.a), K = parseInt(g.c), A = parseInt(g.hid), S = parseInt(g.n), b = g.ci, U = g.co, H = g.id;
|
|
1093
1093
|
let oe = !1;
|
|
1094
|
-
if (isNaN($) || ($ >
|
|
1094
|
+
if (isNaN($) || ($ > ut.value ? ve.value = ut.value : ve.value = $, ve.value === qt.value && (g.a = void 0)), isNaN(K) || (K > pt.value ? ke.value = pt.value : ke.value = K, ke.value === Gt.value && (g.c = void 0)), isNaN(S) || S > 0 && (g.n = void 0), isNaN(A) || (O(A) ? (X.value = A, oe = !0) : xe({
|
|
1095
1095
|
message: o("alert.error.hotelIdNotFound"),
|
|
1096
1096
|
type: "error"
|
|
1097
1097
|
})), b && U)
|
|
@@ -1127,8 +1127,8 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1127
1127
|
availability: T(({ next: K }) => [
|
|
1128
1128
|
y(Ze, null, {
|
|
1129
1129
|
form: T(() => [
|
|
1130
|
-
a("div",
|
|
1131
|
-
a("div",
|
|
1130
|
+
a("div", Hl, [
|
|
1131
|
+
a("div", Il, [
|
|
1132
1132
|
y(Eo, {
|
|
1133
1133
|
booking: !0,
|
|
1134
1134
|
"selected-location": Number(g.selectedLocation),
|
|
@@ -1136,10 +1136,10 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1136
1136
|
}, null, 8, ["selected-location", "disable-default-location"])
|
|
1137
1137
|
]),
|
|
1138
1138
|
_("", !0),
|
|
1139
|
-
!e(
|
|
1140
|
-
e(j).roomGroups.length > 0 || e(j).templates.length > 0 || e(j).specialTemplates.length > 0 ? (d(), v("div",
|
|
1141
|
-
e(j).templates.length > 0 && g.onlyShow !== "rooms" ? (d(), v("div",
|
|
1142
|
-
g.onlyShow !== "packages" ? (d(), v("h2",
|
|
1139
|
+
!e(c) && e(ge) ? (d(), v("div", El, [
|
|
1140
|
+
e(j).roomGroups.length > 0 || e(j).templates.length > 0 || e(j).specialTemplates.length > 0 ? (d(), v("div", Bl, [
|
|
1141
|
+
e(j).templates.length > 0 && g.onlyShow !== "rooms" ? (d(), v("div", Nl, [
|
|
1142
|
+
g.onlyShow !== "packages" ? (d(), v("h2", Ml, [
|
|
1143
1143
|
y(W, {
|
|
1144
1144
|
icon: "box",
|
|
1145
1145
|
type: "fal",
|
|
@@ -1147,7 +1147,7 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1147
1147
|
}),
|
|
1148
1148
|
a("span", null, h(e(o)("booking.availability.packagesTitle")), 1)
|
|
1149
1149
|
])) : _("", !0),
|
|
1150
|
-
a("ul",
|
|
1150
|
+
a("ul", Rl, [
|
|
1151
1151
|
(d(!0), v(F, null, G(e(j).templates, ({
|
|
1152
1152
|
id: A,
|
|
1153
1153
|
name: S,
|
|
@@ -1155,7 +1155,7 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1155
1155
|
image: U,
|
|
1156
1156
|
description: H,
|
|
1157
1157
|
weekendFee: oe
|
|
1158
|
-
}) => (d(), P(
|
|
1158
|
+
}) => (d(), P(vl, {
|
|
1159
1159
|
key: A,
|
|
1160
1160
|
id: A,
|
|
1161
1161
|
description: H,
|
|
@@ -1168,8 +1168,8 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1168
1168
|
}, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback", "hide-addons"]))), 128))
|
|
1169
1169
|
])
|
|
1170
1170
|
])) : _("", !0),
|
|
1171
|
-
e(j).roomGroups.length > 0 && g.onlyShow !== "packages" ? (d(), v("div",
|
|
1172
|
-
e(j).templates.length > 0 && g.onlyShow !== "rooms" ? (d(), v("h2",
|
|
1171
|
+
e(j).roomGroups.length > 0 && g.onlyShow !== "packages" ? (d(), v("div", Ll, [
|
|
1172
|
+
e(j).templates.length > 0 && g.onlyShow !== "rooms" ? (d(), v("h2", Ul, [
|
|
1173
1173
|
y(W, {
|
|
1174
1174
|
icon: "house",
|
|
1175
1175
|
type: "fal",
|
|
@@ -1177,15 +1177,15 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1177
1177
|
}),
|
|
1178
1178
|
a("span", null, h(e(o)("booking.availability.roomsTitle")), 1)
|
|
1179
1179
|
])) : _("", !0),
|
|
1180
|
-
a("ul",
|
|
1180
|
+
a("ul", Fl, [
|
|
1181
1181
|
(d(!0), v(F, null, G(Zt.value, (A, S) => (d(), P(ul, {
|
|
1182
1182
|
room: A,
|
|
1183
1183
|
key: S
|
|
1184
1184
|
}, null, 8, ["room"]))), 128))
|
|
1185
1185
|
])
|
|
1186
1186
|
])) : _("", !0),
|
|
1187
|
-
e(j).specialTemplates.length > 0 && g.onlyShow !== "rooms" ? (d(), v("div",
|
|
1188
|
-
a("h2",
|
|
1187
|
+
e(j).specialTemplates.length > 0 && g.onlyShow !== "rooms" ? (d(), v("div", Ol, [
|
|
1188
|
+
a("h2", jl, [
|
|
1189
1189
|
y(W, {
|
|
1190
1190
|
icon: "sparkles",
|
|
1191
1191
|
type: "fal",
|
|
@@ -1193,7 +1193,7 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1193
1193
|
}),
|
|
1194
1194
|
a("span", null, h(e(o)("hotel.specialOffers")), 1)
|
|
1195
1195
|
]),
|
|
1196
|
-
a("ul",
|
|
1196
|
+
a("ul", ql, [
|
|
1197
1197
|
(d(!0), v(F, null, G(e(j).specialTemplates, ({
|
|
1198
1198
|
id: A,
|
|
1199
1199
|
name: S,
|
|
@@ -1203,7 +1203,7 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1203
1203
|
weekendFee: oe,
|
|
1204
1204
|
fromDate: Q,
|
|
1205
1205
|
toDate: _e
|
|
1206
|
-
}) => (d(), P(
|
|
1206
|
+
}) => (d(), P(bl, {
|
|
1207
1207
|
key: A,
|
|
1208
1208
|
id: A,
|
|
1209
1209
|
description: H,
|
|
@@ -1217,13 +1217,13 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1217
1217
|
}, null, 8, ["id", "description", "name", "image", "fromDate", "toDate", "weekendFee", "room-groups", "callback"]))), 128))
|
|
1218
1218
|
])
|
|
1219
1219
|
])) : _("", !0),
|
|
1220
|
-
(e(j).templates.length === 0 && g.onlyShow !== "rooms" || e(j).roomGroups.length === 0 && g.onlyShow !== "packages") && (g.onlyShow === "rooms" || g.onlyShow === "packages") ? (d(), v("div",
|
|
1220
|
+
(e(j).templates.length === 0 && g.onlyShow !== "rooms" || e(j).roomGroups.length === 0 && g.onlyShow !== "packages") && (g.onlyShow === "rooms" || g.onlyShow === "packages") ? (d(), v("div", Gl, [
|
|
1221
1221
|
a("span", null, h(e(o)("booking.availability.nothingAvailable")), 1)
|
|
1222
1222
|
])) : _("", !0)
|
|
1223
|
-
])) : e(j).nextAvailableDates.length === 0 ? (d(), v("div",
|
|
1223
|
+
])) : e(j).nextAvailableDates.length === 0 ? (d(), v("div", Wl, [
|
|
1224
1224
|
a("span", null, h(e(o)("booking.availability.nothingAvailable")), 1)
|
|
1225
|
-
])) : (d(), v("div",
|
|
1226
|
-
a("h2",
|
|
1225
|
+
])) : (d(), v("div", xl, [
|
|
1226
|
+
a("h2", Kl, [
|
|
1227
1227
|
y(W, {
|
|
1228
1228
|
icon: "calendar-circle-exclamation",
|
|
1229
1229
|
type: "fal",
|
|
@@ -1231,13 +1231,13 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1231
1231
|
}),
|
|
1232
1232
|
a("span", null, h(e(o)("booking.availability.nextAvailableDates")), 1)
|
|
1233
1233
|
]),
|
|
1234
|
-
a("ul",
|
|
1234
|
+
a("ul", Jl, [
|
|
1235
1235
|
(d(!0), v(F, null, G(e(j).nextAvailableDates, (A, S) => (d(), v("li", { key: S }, [
|
|
1236
1236
|
a("h3", {
|
|
1237
1237
|
title: `${e(le)(A.fromDate)} - ${e(le)(A.toDate)}`
|
|
1238
1238
|
}, [
|
|
1239
1239
|
a("span", null, h(`${e(le)(A.fromDate)} - ${e(le)(A.toDate)}`), 1)
|
|
1240
|
-
], 8,
|
|
1240
|
+
], 8, zl),
|
|
1241
1241
|
a("ul", null, [
|
|
1242
1242
|
_("", !0),
|
|
1243
1243
|
a("li", null, [
|
|
@@ -1257,9 +1257,9 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1257
1257
|
]))), 128))
|
|
1258
1258
|
])
|
|
1259
1259
|
]))
|
|
1260
|
-
])) : isNaN(e(i)) && !e(
|
|
1260
|
+
])) : isNaN(e(i)) && !e(c) ? (d(), v("div", Yl, [
|
|
1261
1261
|
a("span", null, h(e(o)("alert.info.selectHotelToStart")), 1)
|
|
1262
|
-
])) : (d(), v("div",
|
|
1262
|
+
])) : (d(), v("div", Ql, [
|
|
1263
1263
|
y(Xe),
|
|
1264
1264
|
y(Xe),
|
|
1265
1265
|
y(Xe)
|
|
@@ -1270,7 +1270,7 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1270
1270
|
e(dt) ? (d(), P(me, {
|
|
1271
1271
|
key: 0,
|
|
1272
1272
|
label: isNaN(e(i)) ? e(o)("availability.buttonLabel") : e(o)("general.searchAgain"),
|
|
1273
|
-
"is-loading": e(
|
|
1273
|
+
"is-loading": e(c),
|
|
1274
1274
|
"full-width": "",
|
|
1275
1275
|
onClickEvent: $[1] || ($[1] = (A) => e(mt)())
|
|
1276
1276
|
}, null, 8, ["label", "is-loading"])) : (d(), P(me, {
|
|
@@ -1290,12 +1290,12 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1290
1290
|
"prev-callback": () => ht(A)
|
|
1291
1291
|
}, {
|
|
1292
1292
|
form: T(() => [
|
|
1293
|
-
a("form",
|
|
1293
|
+
a("form", Xl, [
|
|
1294
1294
|
a("h2", null, [
|
|
1295
1295
|
a("span", null, h(e(o)("booking.reservation.addons")), 1)
|
|
1296
1296
|
]),
|
|
1297
1297
|
a("div", null, [
|
|
1298
|
-
isNaN(e(s)) ? (d(), v("div",
|
|
1298
|
+
isNaN(e(s)) ? (d(), v("div", Zl, [
|
|
1299
1299
|
(d(!0), v(F, null, G(e(se), (S) => (d(), v("ul", {
|
|
1300
1300
|
key: S.roomGroupID
|
|
1301
1301
|
}, [
|
|
@@ -1315,7 +1315,7 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1315
1315
|
a("span", null, h(e(pe)(b.name)), 1)
|
|
1316
1316
|
]),
|
|
1317
1317
|
_("", !0),
|
|
1318
|
-
a("th",
|
|
1318
|
+
a("th", en, [
|
|
1319
1319
|
a("b", null, [
|
|
1320
1320
|
y(W, {
|
|
1321
1321
|
icon: "male",
|
|
@@ -1329,7 +1329,7 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1329
1329
|
type: "fas",
|
|
1330
1330
|
color: "font"
|
|
1331
1331
|
})) : _("", !0),
|
|
1332
|
-
H.childrenCount > 0 ? (d(), v("span",
|
|
1332
|
+
H.childrenCount > 0 ? (d(), v("span", tn, h(H.childrenCount), 1)) : _("", !0)
|
|
1333
1333
|
])
|
|
1334
1334
|
])
|
|
1335
1335
|
])
|
|
@@ -1342,11 +1342,11 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1342
1342
|
name: lo,
|
|
1343
1343
|
price: no
|
|
1344
1344
|
}) => (d(), v("tr", { key: de }, [
|
|
1345
|
-
a("td",
|
|
1345
|
+
a("td", on, [
|
|
1346
1346
|
a("b", null, h(e(pe)(lo)), 1),
|
|
1347
1347
|
a("span", null, h(e(ne)(no, e($e))) + " " + h(e(yt)(Q)), 1)
|
|
1348
1348
|
]),
|
|
1349
|
-
a("td",
|
|
1349
|
+
a("td", ln, [
|
|
1350
1350
|
e(L)[S.roomGroupID][U].config[H.configIdx].addons[H.roomIdx] ? (d(), v(F, { key: 0 }, [
|
|
1351
1351
|
Q === 1 || Q === 12 ? (d(), P(ot, {
|
|
1352
1352
|
key: 0,
|
|
@@ -1368,19 +1368,19 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1368
1368
|
]))), 128))
|
|
1369
1369
|
]))), 128))
|
|
1370
1370
|
]))), 128))
|
|
1371
|
-
])) : e(be) ? (d(), v("div",
|
|
1371
|
+
])) : e(be) ? (d(), v("div", nn, [
|
|
1372
1372
|
a("div", null, [
|
|
1373
1373
|
a("h4", null, [
|
|
1374
1374
|
a("span", null, h(e(Ue).name), 1)
|
|
1375
1375
|
]),
|
|
1376
|
-
a("table",
|
|
1376
|
+
a("table", an, [
|
|
1377
1377
|
a("thead", null, [
|
|
1378
1378
|
a("tr", null, [
|
|
1379
1379
|
a("th", null, [
|
|
1380
1380
|
a("span", null, h(e(pe)(e(be).title)), 1)
|
|
1381
1381
|
]),
|
|
1382
1382
|
_("", !0),
|
|
1383
|
-
|
|
1383
|
+
sn
|
|
1384
1384
|
])
|
|
1385
1385
|
]),
|
|
1386
1386
|
a("tbody", null, [
|
|
@@ -1391,11 +1391,11 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1391
1391
|
name: H,
|
|
1392
1392
|
price: oe
|
|
1393
1393
|
}) => (d(), v("tr", { key: U }, [
|
|
1394
|
-
a("td",
|
|
1394
|
+
a("td", rn, [
|
|
1395
1395
|
a("b", null, h(e(pe)(H)), 1),
|
|
1396
1396
|
a("span", null, h(e(ne)(oe, e($e))) + " " + h(e(yt)(S)), 1)
|
|
1397
1397
|
]),
|
|
1398
|
-
a("td",
|
|
1398
|
+
a("td", dn, [
|
|
1399
1399
|
S === 1 || S === 12 ? (d(), P(ot, {
|
|
1400
1400
|
key: 0,
|
|
1401
1401
|
modelValue: e(p)[U],
|
|
@@ -1436,7 +1436,7 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1436
1436
|
"show-gift-card": !0
|
|
1437
1437
|
}, {
|
|
1438
1438
|
form: T(() => [
|
|
1439
|
-
a("form",
|
|
1439
|
+
a("form", cn, [
|
|
1440
1440
|
a("h2", null, [
|
|
1441
1441
|
a("span", null, h(e(o)("booking.reservation.detailsTitle")), 1)
|
|
1442
1442
|
]),
|
|
@@ -1455,7 +1455,7 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1455
1455
|
required: ""
|
|
1456
1456
|
}, null, 8, ["modelValue", "label", "min-time", "max-time"])
|
|
1457
1457
|
])),
|
|
1458
|
-
e(We) ? _("", !0) : (d(), v("li",
|
|
1458
|
+
e(We) ? _("", !0) : (d(), v("li", pn, [
|
|
1459
1459
|
y(bt, {
|
|
1460
1460
|
modelValue: e(w),
|
|
1461
1461
|
"onUpdate:modelValue": $[3] || ($[3] = (b) => q(w) ? w.value = b : null),
|
|
@@ -1467,7 +1467,7 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1467
1467
|
}, null, 8, ["modelValue", "label", "min-time", "max-time"])
|
|
1468
1468
|
]))
|
|
1469
1469
|
], 2)) : _("", !0),
|
|
1470
|
-
y(
|
|
1470
|
+
y(Tl, {
|
|
1471
1471
|
modelValue: e(C),
|
|
1472
1472
|
"onUpdate:modelValue": $[4] || ($[4] = (b) => q(C) ? C.value = b : null),
|
|
1473
1473
|
title: e(I),
|
|
@@ -1478,7 +1478,7 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1478
1478
|
placeholder: e(o)("booking.reservation.namePlaceholder"),
|
|
1479
1479
|
required: ""
|
|
1480
1480
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
1481
|
-
y(
|
|
1481
|
+
y(ue, {
|
|
1482
1482
|
modelValue: e(M),
|
|
1483
1483
|
"onUpdate:modelValue": $[6] || ($[6] = (b) => q(M) ? M.value = b : null),
|
|
1484
1484
|
type: "email",
|
|
@@ -1489,7 +1489,7 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1489
1489
|
placeholder: e(o)("booking.reservation.emailPlaceholder"),
|
|
1490
1490
|
required: ""
|
|
1491
1491
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1492
|
-
e(Ot) ? _("", !0) : (d(), P(
|
|
1492
|
+
e(Ot) ? _("", !0) : (d(), P(ue, {
|
|
1493
1493
|
key: 1,
|
|
1494
1494
|
modelValue: e(E),
|
|
1495
1495
|
"onUpdate:modelValue": $[7] || ($[7] = (b) => q(E) ? E.value = b : null),
|
|
@@ -1508,7 +1508,7 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1508
1508
|
placeholder: e(o)("booking.reservation.phonePlaceholder"),
|
|
1509
1509
|
required: ""
|
|
1510
1510
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1511
|
-
y(
|
|
1511
|
+
y(Vl, {
|
|
1512
1512
|
modelValue: e(J),
|
|
1513
1513
|
"onUpdate:modelValue": $[9] || ($[9] = (b) => q(J) ? J.value = b : null),
|
|
1514
1514
|
label: e(o)("booking.reservation.country"),
|
|
@@ -1516,7 +1516,7 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1516
1516
|
options: e(m),
|
|
1517
1517
|
required: ""
|
|
1518
1518
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
1519
|
-
y(
|
|
1519
|
+
y(ue, {
|
|
1520
1520
|
modelValue: e(B),
|
|
1521
1521
|
"onUpdate:modelValue": $[10] || ($[10] = (b) => q(B) ? B.value = b : null),
|
|
1522
1522
|
type: "textarea",
|
|
@@ -1527,9 +1527,9 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1527
1527
|
placeholder: e(o)("booking.reservation.streetAddressPlaceholder"),
|
|
1528
1528
|
required: ""
|
|
1529
1529
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1530
|
-
a("ul",
|
|
1530
|
+
a("ul", mn, [
|
|
1531
1531
|
a("li", null, [
|
|
1532
|
-
y(
|
|
1532
|
+
y(ue, {
|
|
1533
1533
|
modelValue: e(k),
|
|
1534
1534
|
"onUpdate:modelValue": $[11] || ($[11] = (b) => q(k) ? k.value = b : null),
|
|
1535
1535
|
type: "text",
|
|
@@ -1542,7 +1542,7 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1542
1542
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1543
1543
|
]),
|
|
1544
1544
|
a("li", null, [
|
|
1545
|
-
y(
|
|
1545
|
+
y(ue, {
|
|
1546
1546
|
modelValue: e(D),
|
|
1547
1547
|
"onUpdate:modelValue": $[12] || ($[12] = (b) => q(D) ? D.value = b : null),
|
|
1548
1548
|
type: "text",
|
|
@@ -1555,7 +1555,7 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1555
1555
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1556
1556
|
])
|
|
1557
1557
|
]),
|
|
1558
|
-
y(
|
|
1558
|
+
y(ue, {
|
|
1559
1559
|
modelValue: e(R),
|
|
1560
1560
|
"onUpdate:modelValue": $[13] || ($[13] = (b) => q(R) ? R.value = b : null),
|
|
1561
1561
|
type: "textarea",
|
|
@@ -1563,7 +1563,7 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1563
1563
|
icon: "info-circle",
|
|
1564
1564
|
placeholder: e(o)("booking.reservation.remarkPlaceholder")
|
|
1565
1565
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1566
|
-
y(
|
|
1566
|
+
y(ue, {
|
|
1567
1567
|
modelValue: e(Y),
|
|
1568
1568
|
"onUpdate:modelValue": $[14] || ($[14] = (b) => q(Y) ? Y.value = b : null),
|
|
1569
1569
|
type: "textarea",
|
|
@@ -1585,7 +1585,7 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1585
1585
|
a("div", null, [
|
|
1586
1586
|
y(me, {
|
|
1587
1587
|
label: e(jt) ? e(o)("booking.reservation.nextButton") : e(o)("general.confirmReservation"),
|
|
1588
|
-
disabled: !e(
|
|
1588
|
+
disabled: !e(u),
|
|
1589
1589
|
"is-loading": e(r),
|
|
1590
1590
|
"full-width": "",
|
|
1591
1591
|
onClickEvent: (b) => eo(K, S)
|
|
@@ -1610,7 +1610,7 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1610
1610
|
}, 8, ["access-token", "callback"])
|
|
1611
1611
|
]),
|
|
1612
1612
|
fallback: T(() => [
|
|
1613
|
-
y(
|
|
1613
|
+
y(Dl)
|
|
1614
1614
|
]),
|
|
1615
1615
|
_: 1
|
|
1616
1616
|
}))
|
|
@@ -1618,7 +1618,7 @@ const an = /* @__PURE__ */ Dl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1618
1618
|
_: 1
|
|
1619
1619
|
}, 8, ["styling"]));
|
|
1620
1620
|
}
|
|
1621
|
-
}), kt = /* @__PURE__ */ fe(
|
|
1621
|
+
}), kt = /* @__PURE__ */ fe(fn, [["__scopeId", "data-v-b6142cc2"]]);
|
|
1622
1622
|
function lt(n, l = {}, t) {
|
|
1623
1623
|
for (const o in n) {
|
|
1624
1624
|
const i = n[o], s = t ? `${t}:${o}` : o;
|
|
@@ -1626,15 +1626,15 @@ function lt(n, l = {}, t) {
|
|
|
1626
1626
|
}
|
|
1627
1627
|
return l;
|
|
1628
1628
|
}
|
|
1629
|
-
const
|
|
1630
|
-
function
|
|
1629
|
+
const hn = { run: (n) => n() }, vn = () => hn, Et = typeof console.createTask < "u" ? console.createTask : vn;
|
|
1630
|
+
function yn(n, l) {
|
|
1631
1631
|
const t = l.shift(), o = Et(t);
|
|
1632
1632
|
return n.reduce(
|
|
1633
1633
|
(i, s) => i.then(() => o.run(() => s(...l))),
|
|
1634
1634
|
Promise.resolve()
|
|
1635
1635
|
);
|
|
1636
1636
|
}
|
|
1637
|
-
function
|
|
1637
|
+
function gn(n, l) {
|
|
1638
1638
|
const t = l.shift(), o = Et(t);
|
|
1639
1639
|
return Promise.all(n.map((i) => o.run(() => i(...l))));
|
|
1640
1640
|
}
|
|
@@ -1642,7 +1642,7 @@ function et(n, l) {
|
|
|
1642
1642
|
for (const t of [...n])
|
|
1643
1643
|
t(l);
|
|
1644
1644
|
}
|
|
1645
|
-
class
|
|
1645
|
+
class bn {
|
|
1646
1646
|
constructor() {
|
|
1647
1647
|
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);
|
|
1648
1648
|
}
|
|
@@ -1711,10 +1711,10 @@ class gn {
|
|
|
1711
1711
|
delete this._hooks[l];
|
|
1712
1712
|
}
|
|
1713
1713
|
callHook(l, ...t) {
|
|
1714
|
-
return t.unshift(l), this.callHookWith(
|
|
1714
|
+
return t.unshift(l), this.callHookWith(yn, l, ...t);
|
|
1715
1715
|
}
|
|
1716
1716
|
callHookParallel(l, ...t) {
|
|
1717
|
-
return t.unshift(l), this.callHookWith(
|
|
1717
|
+
return t.unshift(l), this.callHookWith(gn, l, ...t);
|
|
1718
1718
|
}
|
|
1719
1719
|
callHookWith(l, t, ...o) {
|
|
1720
1720
|
const i = this._before || this._after ? { name: t, args: o, context: {} } : void 0;
|
|
@@ -1744,20 +1744,20 @@ class gn {
|
|
|
1744
1744
|
};
|
|
1745
1745
|
}
|
|
1746
1746
|
}
|
|
1747
|
-
function
|
|
1748
|
-
return new
|
|
1747
|
+
function kn() {
|
|
1748
|
+
return new bn();
|
|
1749
1749
|
}
|
|
1750
|
-
function
|
|
1750
|
+
function _n(n) {
|
|
1751
1751
|
return Array.isArray(n) ? n : [n];
|
|
1752
1752
|
}
|
|
1753
|
-
const
|
|
1753
|
+
const Vn = ["title", "titleTemplate", "script", "style", "noscript"], He = [
|
|
1754
1754
|
"base",
|
|
1755
1755
|
"meta",
|
|
1756
1756
|
"link",
|
|
1757
1757
|
"style",
|
|
1758
1758
|
"script",
|
|
1759
1759
|
"noscript"
|
|
1760
|
-
],
|
|
1760
|
+
], $n = [
|
|
1761
1761
|
"title",
|
|
1762
1762
|
"titleTemplate",
|
|
1763
1763
|
"templateParams",
|
|
@@ -1769,7 +1769,7 @@ const _n = ["title", "titleTemplate", "script", "style", "noscript"], He = [
|
|
|
1769
1769
|
"style",
|
|
1770
1770
|
"script",
|
|
1771
1771
|
"noscript"
|
|
1772
|
-
],
|
|
1772
|
+
], Tn = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], Bt = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], wn = typeof window < "u";
|
|
1773
1773
|
function rt(n) {
|
|
1774
1774
|
let l = 9;
|
|
1775
1775
|
for (let t = 0; t < n.length; )
|
|
@@ -1781,7 +1781,7 @@ function _t(n) {
|
|
|
1781
1781
|
}
|
|
1782
1782
|
function Nt(n, l) {
|
|
1783
1783
|
const { props: t, tag: o } = n;
|
|
1784
|
-
if (
|
|
1784
|
+
if (Tn.includes(o))
|
|
1785
1785
|
return o;
|
|
1786
1786
|
if (o === "link" && t.rel === "canonical")
|
|
1787
1787
|
return "canonical";
|
|
@@ -1799,7 +1799,7 @@ function Nt(n, l) {
|
|
|
1799
1799
|
function Vt(n, l) {
|
|
1800
1800
|
return n == null ? l || null : typeof n == "function" ? n(l) : n;
|
|
1801
1801
|
}
|
|
1802
|
-
async function
|
|
1802
|
+
async function Cn(n, l, t) {
|
|
1803
1803
|
const o = {
|
|
1804
1804
|
tag: n,
|
|
1805
1805
|
props: await Mt(
|
|
@@ -1811,17 +1811,17 @@ async function wn(n, l, t) {
|
|
|
1811
1811
|
};
|
|
1812
1812
|
return Bt.forEach((i) => {
|
|
1813
1813
|
const s = typeof o.props[i] < "u" ? o.props[i] : t[i];
|
|
1814
|
-
typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(i) ||
|
|
1814
|
+
typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(i) || Vn.includes(o.tag)) && (o[i === "children" ? "innerHTML" : i] = s), delete o.props[i]);
|
|
1815
1815
|
}), o.props.body && (o.tagPosition = "bodyClose", delete o.props.body), o.tag === "script" && typeof o.innerHTML == "object" && (o.innerHTML = JSON.stringify(o.innerHTML), o.props.type = o.props.type || "application/json"), Array.isArray(o.props.content) ? o.props.content.map((i) => ({ ...o, props: { ...o.props, content: i } })) : o;
|
|
1816
1816
|
}
|
|
1817
|
-
function
|
|
1817
|
+
function Pn(n, l) {
|
|
1818
1818
|
const t = n === "class" ? " " : ";";
|
|
1819
1819
|
return typeof l == "object" && !Array.isArray(l) && (l = Object.entries(l).filter(([, o]) => o).map(([o, i]) => n === "style" ? `${o}:${i}` : o)), String(Array.isArray(l) ? l.join(t) : l)?.split(t).filter((o) => o.trim()).filter(Boolean).join(t);
|
|
1820
1820
|
}
|
|
1821
1821
|
async function Mt(n, l) {
|
|
1822
1822
|
for (const t of Object.keys(n)) {
|
|
1823
1823
|
if (["class", "style"].includes(t)) {
|
|
1824
|
-
n[t] =
|
|
1824
|
+
n[t] = Pn(t, n[t]);
|
|
1825
1825
|
continue;
|
|
1826
1826
|
}
|
|
1827
1827
|
if (n[t] instanceof Promise && (n[t] = await n[t]), !l && !Bt.includes(t)) {
|
|
@@ -1831,13 +1831,13 @@ async function Mt(n, l) {
|
|
|
1831
1831
|
}
|
|
1832
1832
|
return n;
|
|
1833
1833
|
}
|
|
1834
|
-
const
|
|
1835
|
-
async function
|
|
1834
|
+
const An = 10;
|
|
1835
|
+
async function Dn(n) {
|
|
1836
1836
|
const l = [];
|
|
1837
|
-
return Object.entries(n.resolvedInput).filter(([t, o]) => typeof o < "u" &&
|
|
1838
|
-
const i =
|
|
1839
|
-
l.push(...i.map((s) =>
|
|
1840
|
-
}), (await Promise.all(l)).flat().filter(Boolean).map((t, o) => (t._e = n._i, n.mode && (t._m = n.mode), t._p = (n._i <<
|
|
1837
|
+
return Object.entries(n.resolvedInput).filter(([t, o]) => typeof o < "u" && $n.includes(t)).forEach(([t, o]) => {
|
|
1838
|
+
const i = _n(o);
|
|
1839
|
+
l.push(...i.map((s) => Cn(t, s, n)).flat());
|
|
1840
|
+
}), (await Promise.all(l)).flat().filter(Boolean).map((t, o) => (t._e = n._i, n.mode && (t._m = n.mode), t._p = (n._i << An) + o, t));
|
|
1841
1841
|
}
|
|
1842
1842
|
const $t = {
|
|
1843
1843
|
// tags
|
|
@@ -1854,13 +1854,13 @@ function Me(n) {
|
|
|
1854
1854
|
const t = n.tagPriority;
|
|
1855
1855
|
return typeof t == "number" ? t : (n.tag === "meta" ? (n.props["http-equiv"] === "content-security-policy" && (l = -30), n.props.charset && (l = -20), n.props.name === "viewport" && (l = -15)) : n.tag === "link" && n.props.rel === "preconnect" ? l = 20 : n.tag in $t && (l = $t[n.tag]), typeof t == "string" && t in Tt ? l + Tt[t] : l);
|
|
1856
1856
|
}
|
|
1857
|
-
const
|
|
1857
|
+
const Sn = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], wt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], ce = "%separator";
|
|
1858
1858
|
function Ie(n, l, t) {
|
|
1859
1859
|
if (typeof n != "string" || !n.includes("%"))
|
|
1860
1860
|
return n;
|
|
1861
1861
|
function o(p) {
|
|
1862
1862
|
let m;
|
|
1863
|
-
return ["s", "pageTitle"].includes(p) ? m = l.pageTitle : p.includes(".") ? m = p.split(".").reduce((
|
|
1863
|
+
return ["s", "pageTitle"].includes(p) ? m = l.pageTitle : p.includes(".") ? m = p.split(".").reduce((c, r) => c && c[r] || void 0, l) : m = l[p], typeof m < "u" ? (m || "").replace(/"/g, '\\"') : !1;
|
|
1864
1864
|
}
|
|
1865
1865
|
let i = n;
|
|
1866
1866
|
try {
|
|
@@ -1869,19 +1869,19 @@ function Ie(n, l, t) {
|
|
|
1869
1869
|
}
|
|
1870
1870
|
return (i.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((p) => {
|
|
1871
1871
|
const m = o(p.slice(1));
|
|
1872
|
-
typeof m == "string" && (n = n.replace(new RegExp(`\\${p}(\\W|$)`, "g"), (
|
|
1873
|
-
}), n.includes(
|
|
1872
|
+
typeof m == "string" && (n = n.replace(new RegExp(`\\${p}(\\W|$)`, "g"), (c, r) => `${m}${r}`).trim());
|
|
1873
|
+
}), n.includes(ce) && (n.endsWith(ce) && (n = n.slice(0, -ce.length).trim()), n.startsWith(ce) && (n = n.slice(ce.length).trim()), n = n.replace(new RegExp(`\\${ce}\\s*\\${ce}`, "g"), ce), n = Ie(n, { separator: t }, t)), n;
|
|
1874
1874
|
}
|
|
1875
|
-
async function
|
|
1875
|
+
async function Hn(n, l = {}) {
|
|
1876
1876
|
const t = l.document || n.resolvedOptions.document;
|
|
1877
1877
|
if (!t || !n.dirty)
|
|
1878
1878
|
return;
|
|
1879
1879
|
const o = { shouldRender: !0, tags: [] };
|
|
1880
1880
|
if (await n.hooks.callHook("dom:beforeRender", o), !o.shouldRender)
|
|
1881
1881
|
return;
|
|
1882
|
-
const i = (await n.resolveTags()).map((
|
|
1883
|
-
tag:
|
|
1884
|
-
id: He.includes(
|
|
1882
|
+
const i = (await n.resolveTags()).map((u) => ({
|
|
1883
|
+
tag: u,
|
|
1884
|
+
id: He.includes(u.tag) ? _t(u) : u.tag,
|
|
1885
1885
|
shouldRender: !0
|
|
1886
1886
|
}));
|
|
1887
1887
|
let s = n._dom;
|
|
@@ -1889,8 +1889,8 @@ async function Sn(n, l = {}) {
|
|
|
1889
1889
|
s = {
|
|
1890
1890
|
elMap: { htmlAttrs: t.documentElement, bodyAttrs: t.body }
|
|
1891
1891
|
};
|
|
1892
|
-
for (const
|
|
1893
|
-
const f = t[
|
|
1892
|
+
for (const u of ["body", "head"]) {
|
|
1893
|
+
const f = t[u]?.children, V = [];
|
|
1894
1894
|
for (const w of [...f].filter((C) => He.includes(C.tagName.toLowerCase()))) {
|
|
1895
1895
|
const C = {
|
|
1896
1896
|
tag: w.tagName.toLowerCase(),
|
|
@@ -1907,16 +1907,16 @@ async function Sn(n, l = {}) {
|
|
|
1907
1907
|
}
|
|
1908
1908
|
}
|
|
1909
1909
|
s.pendingSideEffects = { ...s.sideEffects || {} }, s.sideEffects = {};
|
|
1910
|
-
function p(
|
|
1911
|
-
const w = `${
|
|
1910
|
+
function p(u, f, V) {
|
|
1911
|
+
const w = `${u}:${f}`;
|
|
1912
1912
|
s.sideEffects[w] = V, delete s.pendingSideEffects[w];
|
|
1913
1913
|
}
|
|
1914
|
-
function m({ id:
|
|
1914
|
+
function m({ id: u, $el: f, tag: V }) {
|
|
1915
1915
|
const w = V.tag.endsWith("Attrs");
|
|
1916
|
-
s.elMap[
|
|
1916
|
+
s.elMap[u] = f, w || (["textContent", "innerHTML"].forEach((C) => {
|
|
1917
1917
|
V[C] && V[C] !== f[C] && (f[C] = V[C]);
|
|
1918
|
-
}), p(
|
|
1919
|
-
s.elMap[
|
|
1918
|
+
}), p(u, "el", () => {
|
|
1919
|
+
s.elMap[u]?.remove(), delete s.elMap[u];
|
|
1920
1920
|
}));
|
|
1921
1921
|
for (const [C, I] of Object.entries(V._eventHandlers || {}))
|
|
1922
1922
|
f.getAttribute(`data-${C}`) !== "" && ((V.tag === "bodyAttrs" ? t.defaultView : f).addEventListener(C.replace("on", ""), I.bind(f)), f.setAttribute(`data-${C}`, ""));
|
|
@@ -1924,62 +1924,62 @@ async function Sn(n, l = {}) {
|
|
|
1924
1924
|
const M = `attr:${C}`;
|
|
1925
1925
|
if (C === "class")
|
|
1926
1926
|
for (const N of (I || "").split(" ").filter(Boolean))
|
|
1927
|
-
w && p(
|
|
1927
|
+
w && p(u, `${M}:${N}`, () => f.classList.remove(N)), !f.classList.contains(N) && f.classList.add(N);
|
|
1928
1928
|
else if (C === "style")
|
|
1929
1929
|
for (const N of (I || "").split(";").filter(Boolean)) {
|
|
1930
1930
|
const [E, ...k] = N.split(":").map((D) => D.trim());
|
|
1931
|
-
p(
|
|
1931
|
+
p(u, `${M}:${E}`, () => {
|
|
1932
1932
|
f.style.removeProperty(E);
|
|
1933
1933
|
}), f.style.setProperty(E, k.join(":"));
|
|
1934
1934
|
}
|
|
1935
1935
|
else
|
|
1936
|
-
f.getAttribute(C) !== I && f.setAttribute(C, I === !0 ? "" : String(I)), w && p(
|
|
1936
|
+
f.getAttribute(C) !== I && f.setAttribute(C, I === !0 ? "" : String(I)), w && p(u, M, () => f.removeAttribute(C));
|
|
1937
1937
|
});
|
|
1938
1938
|
}
|
|
1939
|
-
const
|
|
1939
|
+
const c = [], r = {
|
|
1940
1940
|
bodyClose: void 0,
|
|
1941
1941
|
bodyOpen: void 0,
|
|
1942
1942
|
head: void 0
|
|
1943
1943
|
};
|
|
1944
|
-
for (const
|
|
1945
|
-
const { tag: f, shouldRender: V, id: w } =
|
|
1944
|
+
for (const u of i) {
|
|
1945
|
+
const { tag: f, shouldRender: V, id: w } = u;
|
|
1946
1946
|
if (V) {
|
|
1947
1947
|
if (f.tag === "title") {
|
|
1948
1948
|
t.title = f.textContent;
|
|
1949
1949
|
continue;
|
|
1950
1950
|
}
|
|
1951
|
-
|
|
1951
|
+
u.$el = u.$el || s.elMap[w], u.$el ? m(u) : He.includes(f.tag) && c.push(u);
|
|
1952
1952
|
}
|
|
1953
1953
|
}
|
|
1954
|
-
for (const
|
|
1955
|
-
const f =
|
|
1956
|
-
|
|
1954
|
+
for (const u of c) {
|
|
1955
|
+
const f = u.tag.tagPosition || "head";
|
|
1956
|
+
u.$el = t.createElement(u.tag.tag), m(u), r[f] = r[f] || t.createDocumentFragment(), r[f].appendChild(u.$el);
|
|
1957
1957
|
}
|
|
1958
|
-
for (const
|
|
1959
|
-
await n.hooks.callHook("dom:renderTag",
|
|
1960
|
-
r.head && t.head.appendChild(r.head), r.bodyOpen && t.body.insertBefore(r.bodyOpen, t.body.firstChild), r.bodyClose && t.body.appendChild(r.bodyClose), Object.values(s.pendingSideEffects).forEach((
|
|
1958
|
+
for (const u of i)
|
|
1959
|
+
await n.hooks.callHook("dom:renderTag", u, t, p);
|
|
1960
|
+
r.head && t.head.appendChild(r.head), r.bodyOpen && t.body.insertBefore(r.bodyOpen, t.body.firstChild), r.bodyClose && t.body.appendChild(r.bodyClose), Object.values(s.pendingSideEffects).forEach((u) => u()), n._dom = s, n.dirty = !1, await n.hooks.callHook("dom:rendered", { renders: i });
|
|
1961
1961
|
}
|
|
1962
|
-
async function
|
|
1962
|
+
async function In(n, l = {}) {
|
|
1963
1963
|
const t = l.delayFn || ((o) => setTimeout(o, 10));
|
|
1964
1964
|
return n._domUpdatePromise = n._domUpdatePromise || new Promise((o) => t(async () => {
|
|
1965
|
-
await
|
|
1965
|
+
await Hn(n, l), delete n._domUpdatePromise, o();
|
|
1966
1966
|
}));
|
|
1967
1967
|
}
|
|
1968
1968
|
// @__NO_SIDE_EFFECTS__
|
|
1969
|
-
function
|
|
1969
|
+
function En(n) {
|
|
1970
1970
|
return (l) => {
|
|
1971
1971
|
const t = l.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
|
|
1972
1972
|
return t && l.push(JSON.parse(t)), {
|
|
1973
1973
|
mode: "client",
|
|
1974
1974
|
hooks: {
|
|
1975
1975
|
"entries:updated": function(o) {
|
|
1976
|
-
|
|
1976
|
+
In(o, n);
|
|
1977
1977
|
}
|
|
1978
1978
|
}
|
|
1979
1979
|
};
|
|
1980
1980
|
};
|
|
1981
1981
|
}
|
|
1982
|
-
const
|
|
1982
|
+
const Bn = ["templateParams", "htmlAttrs", "bodyAttrs"], Nn = {
|
|
1983
1983
|
hooks: {
|
|
1984
1984
|
"tag:normalise": function({ tag: n }) {
|
|
1985
1985
|
["hid", "vmid", "key"].forEach((o) => {
|
|
@@ -1994,12 +1994,12 @@ const En = ["templateParams", "htmlAttrs", "bodyAttrs"], Bn = {
|
|
|
1994
1994
|
const i = (o.key ? `${o.tag}:${o.key}` : o._d) || o._p, s = l[i];
|
|
1995
1995
|
if (s) {
|
|
1996
1996
|
let m = o?.tagDuplicateStrategy;
|
|
1997
|
-
if (!m &&
|
|
1998
|
-
const
|
|
1997
|
+
if (!m && Bn.includes(o.tag) && (m = "merge"), m === "merge") {
|
|
1998
|
+
const c = s.props;
|
|
1999
1999
|
["class", "style"].forEach((r) => {
|
|
2000
|
-
|
|
2000
|
+
c[r] && (o.props[r] ? (r === "style" && !c[r].endsWith(";") && (c[r] += ";"), o.props[r] = `${c[r]} ${o.props[r]}`) : o.props[r] = c[r]);
|
|
2001
2001
|
}), l[i].props = {
|
|
2002
|
-
...
|
|
2002
|
+
...c,
|
|
2003
2003
|
...o.props
|
|
2004
2004
|
};
|
|
2005
2005
|
return;
|
|
@@ -2023,7 +2023,7 @@ const En = ["templateParams", "htmlAttrs", "bodyAttrs"], Bn = {
|
|
|
2023
2023
|
}), n.tags = t, n.tags = n.tags.filter((o) => !(o.tag === "meta" && (o.props.name || o.props.property) && !o.props.content));
|
|
2024
2024
|
}
|
|
2025
2025
|
}
|
|
2026
|
-
},
|
|
2026
|
+
}, Mn = {
|
|
2027
2027
|
mode: "server",
|
|
2028
2028
|
hooks: {
|
|
2029
2029
|
"tags:resolve": function(n) {
|
|
@@ -2037,10 +2037,10 @@ const En = ["templateParams", "htmlAttrs", "bodyAttrs"], Bn = {
|
|
|
2037
2037
|
});
|
|
2038
2038
|
}
|
|
2039
2039
|
}
|
|
2040
|
-
},
|
|
2040
|
+
}, Rn = ["script", "link", "bodyAttrs"], Ln = (n) => ({
|
|
2041
2041
|
hooks: {
|
|
2042
2042
|
"tags:resolve": function(l) {
|
|
2043
|
-
for (const t of l.tags.filter((o) =>
|
|
2043
|
+
for (const t of l.tags.filter((o) => Rn.includes(o.tag)))
|
|
2044
2044
|
Object.entries(t.props).forEach(([o, i]) => {
|
|
2045
2045
|
o.startsWith("on") && typeof i == "function" && (n.ssr && wt.includes(o) ? t.props[o] = `this.dataset.${o}fired = true` : delete t.props[o], t._eventHandlers = t._eventHandlers || {}, t._eventHandlers[o] = i);
|
|
2046
2046
|
}), n.ssr && t._eventHandlers && (t.props.src || t.props.href) && (t.key = t.key || rt(t.props.src || t.props.href));
|
|
@@ -2052,17 +2052,17 @@ const En = ["templateParams", "htmlAttrs", "bodyAttrs"], Bn = {
|
|
|
2052
2052
|
}
|
|
2053
2053
|
}
|
|
2054
2054
|
}
|
|
2055
|
-
}),
|
|
2055
|
+
}), Un = ["link", "style", "script", "noscript"], Fn = {
|
|
2056
2056
|
hooks: {
|
|
2057
2057
|
"tag:normalise": ({ tag: n }) => {
|
|
2058
|
-
n.key &&
|
|
2058
|
+
n.key && Un.includes(n.tag) && (n.props["data-hid"] = n._h = rt(n.key));
|
|
2059
2059
|
}
|
|
2060
2060
|
}
|
|
2061
|
-
},
|
|
2061
|
+
}, On = {
|
|
2062
2062
|
hooks: {
|
|
2063
2063
|
"tags:resolve": (n) => {
|
|
2064
2064
|
const l = (t) => n.tags.find((o) => o._d === t)?._p;
|
|
2065
|
-
for (const { prefix: t, offset: o } of
|
|
2065
|
+
for (const { prefix: t, offset: o } of Sn)
|
|
2066
2066
|
for (const i of n.tags.filter((s) => typeof s.tagPriority == "string" && s.tagPriority.startsWith(t))) {
|
|
2067
2067
|
const s = l(
|
|
2068
2068
|
i.tagPriority.replace(t, "")
|
|
@@ -2072,25 +2072,25 @@ const En = ["templateParams", "htmlAttrs", "bodyAttrs"], Bn = {
|
|
|
2072
2072
|
n.tags.sort((t, o) => t._p - o._p).sort((t, o) => Me(t) - Me(o));
|
|
2073
2073
|
}
|
|
2074
2074
|
}
|
|
2075
|
-
},
|
|
2075
|
+
}, jn = {
|
|
2076
2076
|
meta: "content",
|
|
2077
2077
|
link: "href",
|
|
2078
2078
|
htmlAttrs: "lang"
|
|
2079
|
-
},
|
|
2079
|
+
}, qn = (n) => ({
|
|
2080
2080
|
hooks: {
|
|
2081
2081
|
"tags:resolve": (l) => {
|
|
2082
2082
|
const { tags: t } = l, o = t.find((m) => m.tag === "title")?.textContent, i = t.findIndex((m) => m.tag === "templateParams"), s = i !== -1 ? t[i].props : {}, p = s.separator || "|";
|
|
2083
2083
|
delete s.separator, s.pageTitle = Ie(s.pageTitle || o || "", s, p);
|
|
2084
|
-
for (const m of t.filter((
|
|
2085
|
-
const
|
|
2086
|
-
|
|
2084
|
+
for (const m of t.filter((c) => c.processTemplateParams !== !1)) {
|
|
2085
|
+
const c = jn[m.tag];
|
|
2086
|
+
c && typeof m.props[c] == "string" ? m.props[c] = Ie(m.props[c], s, p) : (m.processTemplateParams === !0 || ["titleTemplate", "title"].includes(m.tag)) && ["innerHTML", "textContent"].forEach((r) => {
|
|
2087
2087
|
typeof m[r] == "string" && (m[r] = Ie(m[r], s, p));
|
|
2088
2088
|
});
|
|
2089
2089
|
}
|
|
2090
2090
|
n._templateParams = s, n._separator = p, l.tags = t.filter((m) => m.tag !== "templateParams");
|
|
2091
2091
|
}
|
|
2092
2092
|
}
|
|
2093
|
-
}),
|
|
2093
|
+
}), Gn = {
|
|
2094
2094
|
hooks: {
|
|
2095
2095
|
"tags:resolve": (n) => {
|
|
2096
2096
|
const { tags: l } = n;
|
|
@@ -2111,7 +2111,7 @@ const En = ["templateParams", "htmlAttrs", "bodyAttrs"], Bn = {
|
|
|
2111
2111
|
t !== -1 && delete l[t], n.tags = l.filter(Boolean);
|
|
2112
2112
|
}
|
|
2113
2113
|
}
|
|
2114
|
-
},
|
|
2114
|
+
}, Wn = {
|
|
2115
2115
|
hooks: {
|
|
2116
2116
|
"tags:afterResolve": function(n) {
|
|
2117
2117
|
for (const l of n.tags)
|
|
@@ -2120,16 +2120,16 @@ const En = ["templateParams", "htmlAttrs", "bodyAttrs"], Bn = {
|
|
|
2120
2120
|
}
|
|
2121
2121
|
};
|
|
2122
2122
|
// @__NO_SIDE_EFFECTS__
|
|
2123
|
-
function
|
|
2124
|
-
const l =
|
|
2125
|
-
return l.use(/* @__PURE__ */
|
|
2123
|
+
function xn(n = {}) {
|
|
2124
|
+
const l = Kn(n);
|
|
2125
|
+
return l.use(/* @__PURE__ */ En()), l;
|
|
2126
2126
|
}
|
|
2127
2127
|
function Ct(n, l) {
|
|
2128
2128
|
return !n || n === "server" && l || n === "client" && !l;
|
|
2129
2129
|
}
|
|
2130
|
-
function
|
|
2131
|
-
const l =
|
|
2132
|
-
l.addHooks(n.hooks || {}), n.document = n.document || (
|
|
2130
|
+
function Kn(n = {}) {
|
|
2131
|
+
const l = kn();
|
|
2132
|
+
l.addHooks(n.hooks || {}), n.document = n.document || (wn ? document : void 0);
|
|
2133
2133
|
const t = !n.document, o = () => {
|
|
2134
2134
|
m.dirty = !0, l.callHook("entries:updated", m);
|
|
2135
2135
|
};
|
|
@@ -2142,88 +2142,88 @@ function xn(n = {}) {
|
|
|
2142
2142
|
headEntries() {
|
|
2143
2143
|
return s;
|
|
2144
2144
|
},
|
|
2145
|
-
use(
|
|
2146
|
-
const r = typeof
|
|
2147
|
-
(!r.key || !p.some((
|
|
2145
|
+
use(c) {
|
|
2146
|
+
const r = typeof c == "function" ? c(m) : c;
|
|
2147
|
+
(!r.key || !p.some((u) => u.key === r.key)) && (p.push(r), Ct(r.mode, t) && l.addHooks(r.hooks || {}));
|
|
2148
2148
|
},
|
|
2149
|
-
push(
|
|
2149
|
+
push(c, r) {
|
|
2150
2150
|
delete r?.head;
|
|
2151
|
-
const
|
|
2151
|
+
const u = {
|
|
2152
2152
|
_i: i++,
|
|
2153
|
-
input:
|
|
2153
|
+
input: c,
|
|
2154
2154
|
...r
|
|
2155
2155
|
};
|
|
2156
|
-
return Ct(
|
|
2156
|
+
return Ct(u.mode, t) && (s.push(u), o()), {
|
|
2157
2157
|
dispose() {
|
|
2158
|
-
s = s.filter((f) => f._i !==
|
|
2158
|
+
s = s.filter((f) => f._i !== u._i), l.callHook("entries:updated", m), o();
|
|
2159
2159
|
},
|
|
2160
2160
|
// a patch is the same as creating a new entry, just a nice DX
|
|
2161
2161
|
patch(f) {
|
|
2162
|
-
s = s.map((V) => (V._i ===
|
|
2162
|
+
s = s.map((V) => (V._i === u._i && (V.input = u.input = f), V)), o();
|
|
2163
2163
|
}
|
|
2164
2164
|
};
|
|
2165
2165
|
},
|
|
2166
2166
|
async resolveTags() {
|
|
2167
|
-
const
|
|
2168
|
-
await l.callHook("entries:resolve",
|
|
2169
|
-
for (const r of
|
|
2170
|
-
const
|
|
2171
|
-
if (r.resolvedInput = await (r.transform ? r.transform(
|
|
2172
|
-
for (const f of await
|
|
2167
|
+
const c = { tags: [], entries: [...s] };
|
|
2168
|
+
await l.callHook("entries:resolve", c);
|
|
2169
|
+
for (const r of c.entries) {
|
|
2170
|
+
const u = r.resolvedInput || r.input;
|
|
2171
|
+
if (r.resolvedInput = await (r.transform ? r.transform(u) : u), r.resolvedInput)
|
|
2172
|
+
for (const f of await Dn(r)) {
|
|
2173
2173
|
const V = { tag: f, entry: r, resolvedOptions: m.resolvedOptions };
|
|
2174
|
-
await l.callHook("tag:normalise", V),
|
|
2174
|
+
await l.callHook("tag:normalise", V), c.tags.push(V.tag);
|
|
2175
2175
|
}
|
|
2176
2176
|
}
|
|
2177
|
-
return await l.callHook("tags:beforeResolve",
|
|
2177
|
+
return await l.callHook("tags:beforeResolve", c), await l.callHook("tags:resolve", c), await l.callHook("tags:afterResolve", c), c.tags;
|
|
2178
2178
|
},
|
|
2179
2179
|
ssr: t
|
|
2180
2180
|
};
|
|
2181
2181
|
return [
|
|
2182
|
-
Bn,
|
|
2183
2182
|
Nn,
|
|
2184
|
-
|
|
2185
|
-
|
|
2183
|
+
Mn,
|
|
2184
|
+
Ln,
|
|
2186
2185
|
Fn,
|
|
2187
|
-
|
|
2186
|
+
On,
|
|
2188
2187
|
qn,
|
|
2189
2188
|
Gn,
|
|
2189
|
+
Wn,
|
|
2190
2190
|
...n?.plugins || []
|
|
2191
|
-
].forEach((
|
|
2191
|
+
].forEach((c) => m.use(c)), m.hooks.callHook("init", m), m;
|
|
2192
2192
|
}
|
|
2193
|
-
const
|
|
2194
|
-
function
|
|
2193
|
+
const Jn = uo.startsWith("3");
|
|
2194
|
+
function zn(n) {
|
|
2195
2195
|
return typeof n == "function" ? n() : e(n);
|
|
2196
2196
|
}
|
|
2197
2197
|
function nt(n, l = "") {
|
|
2198
2198
|
if (n instanceof Promise)
|
|
2199
2199
|
return n;
|
|
2200
|
-
const t =
|
|
2200
|
+
const t = zn(n);
|
|
2201
2201
|
return !n || !t ? t : Array.isArray(t) ? t.map((o) => nt(o, l)) : typeof t == "object" ? Object.fromEntries(
|
|
2202
2202
|
Object.entries(t).map(([o, i]) => o === "titleTemplate" || o.startsWith("on") ? [o, e(i)] : [o, nt(i, o)])
|
|
2203
2203
|
) : t;
|
|
2204
2204
|
}
|
|
2205
|
-
const
|
|
2205
|
+
const Yn = {
|
|
2206
2206
|
hooks: {
|
|
2207
2207
|
"entries:resolve": function(n) {
|
|
2208
2208
|
for (const l of n.entries)
|
|
2209
2209
|
l.resolvedInput = nt(l.input);
|
|
2210
2210
|
}
|
|
2211
2211
|
}
|
|
2212
|
-
},
|
|
2213
|
-
function
|
|
2212
|
+
}, Qn = "usehead";
|
|
2213
|
+
function Xn(n) {
|
|
2214
2214
|
return {
|
|
2215
2215
|
install(t) {
|
|
2216
|
-
|
|
2216
|
+
Jn && (t.config.globalProperties.$unhead = n, t.config.globalProperties.$head = n, t.provide(Qn, n));
|
|
2217
2217
|
}
|
|
2218
2218
|
}.install;
|
|
2219
2219
|
}
|
|
2220
|
-
function
|
|
2221
|
-
n.domDelayFn = n.domDelayFn || ((t) =>
|
|
2222
|
-
const l = /* @__PURE__ */
|
|
2223
|
-
return l.use(
|
|
2220
|
+
function Zn(n = {}) {
|
|
2221
|
+
n.domDelayFn = n.domDelayFn || ((t) => co(() => setTimeout(() => t(), 0)));
|
|
2222
|
+
const l = /* @__PURE__ */ xn(n);
|
|
2223
|
+
return l.use(Yn), l.install = Xn(l), l;
|
|
2224
2224
|
}
|
|
2225
|
-
const
|
|
2226
|
-
class
|
|
2225
|
+
const ea = fo(), ta = Zn(), oa = yo();
|
|
2226
|
+
class la extends HTMLElement {
|
|
2227
2227
|
vueApp;
|
|
2228
2228
|
constructor() {
|
|
2229
2229
|
super();
|
|
@@ -2233,13 +2233,13 @@ class oa extends HTMLElement {
|
|
|
2233
2233
|
}
|
|
2234
2234
|
connectedCallback() {
|
|
2235
2235
|
const l = ho(kt, this.attributes);
|
|
2236
|
-
this.vueApp = po(kt, l), this.vueApp.provide("emitter",
|
|
2236
|
+
this.vueApp = po(kt, l), this.vueApp.provide("emitter", oa), this.vueApp.use(ta), this.vueApp.use(ea), this.vueApp.use(So), this.vueApp.use(vo), this.vueApp.use(Ho), this.vueApp.use($o), this.vueApp.use(Vo, { bootstrap: !0 });
|
|
2237
2237
|
const t = document.createElement("div");
|
|
2238
2238
|
this.vueApp.mount(t), this.appendChild(t.children[0]);
|
|
2239
2239
|
}
|
|
2240
2240
|
}
|
|
2241
|
-
window.customElements.define("konnectio-hotel",
|
|
2241
|
+
window.customElements.define("konnectio-hotel", la);
|
|
2242
2242
|
export {
|
|
2243
|
-
|
|
2243
|
+
la as default
|
|
2244
2244
|
};
|
|
2245
2245
|
//# sourceMappingURL=hotel.js.map
|