@konnectio/core 4.5.2 → 4.5.4
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-W-bZH9YV.js → ActionField-Dw2sZfTW.js} +38 -35
- package/dist/ActionField-Dw2sZfTW.js.br +0 -0
- package/dist/ActionField-Dw2sZfTW.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-DomtgZ0G.js → AvailabilitySkeleton-C3xVBM2W.js} +2 -2
- package/dist/AvailabilitySkeleton-C3xVBM2W.js.br +0 -0
- package/dist/AvailabilitySkeleton-C3xVBM2W.js.gz +0 -0
- package/dist/{CheckoutWindow-BrSAf1mX.js → CheckoutWindow-CO9Ps1iN.js} +1 -1
- package/dist/CheckoutWindow-CO9Ps1iN.js.br +0 -0
- package/dist/CheckoutWindow-CO9Ps1iN.js.gz +0 -0
- package/dist/{ErrorMessage-MZyMFb-7.js → ErrorMessage-oGRbN4x5.js} +2 -2
- package/dist/ErrorMessage-oGRbN4x5.js.br +0 -0
- package/dist/ErrorMessage-oGRbN4x5.js.gz +0 -0
- package/dist/{EventAvailabilityForm-CkmIrZhi.js → EventAvailabilityForm-Dr3s45nS.js} +2 -2
- package/dist/EventAvailabilityForm-Dr3s45nS.js.br +0 -0
- package/dist/EventAvailabilityForm-Dr3s45nS.js.gz +0 -0
- package/dist/{Field-CrC-jcA-.js → Field-Tm_FpGr2.js} +1 -1
- package/dist/Field-Tm_FpGr2.js.br +0 -0
- package/dist/Field-Tm_FpGr2.js.gz +4 -0
- package/dist/{HotelAvailabilityForm-exvP5WH7.js → HotelAvailabilityForm-Cs4Bdx_M.js} +2 -2
- package/dist/HotelAvailabilityForm-Cs4Bdx_M.js.br +0 -0
- package/dist/HotelAvailabilityForm-Cs4Bdx_M.js.gz +0 -0
- package/dist/{SelectField-CGqR4A53.js → SelectField-CEZbxaZf.js} +205 -201
- package/dist/SelectField-CEZbxaZf.js.br +0 -0
- package/dist/SelectField-CEZbxaZf.js.gz +0 -0
- package/dist/{TermsOfService-kPkWHDxH.js → TermsOfService-B1wlPc16.js} +2 -2
- package/dist/TermsOfService-B1wlPc16.js.br +0 -0
- package/dist/TermsOfService-B1wlPc16.js.gz +2 -0
- package/dist/{_-BqsqVDDR.js → _-BX401C4m.js} +1 -1
- package/dist/_-BX401C4m.js.br +0 -0
- package/dist/_-BX401C4m.js.gz +4 -0
- package/dist/availability.js +7 -7
- package/dist/availability.js.br +0 -0
- package/dist/availability.js.gz +0 -0
- package/dist/cancel-reservation.js +4 -4
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/cancel-reservation.js.gz +0 -0
- package/dist/core.css +1 -1
- package/dist/core.css.br +0 -0
- package/dist/core.css.gz +0 -0
- package/dist/{dist-B8PJFy5H.js → dist-DetXXnpL.js} +3 -3
- package/dist/dist-DetXXnpL.js.br +0 -0
- package/dist/dist-DetXXnpL.js.gz +0 -0
- package/dist/event.js +8 -8
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +7 -7
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card-validation.js.gz +0 -0
- package/dist/gift-card.js +9 -9
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/{giftCard-D-ElhpAu.js → giftCard-akmKZ_5L.js} +1 -1
- package/dist/giftCard-akmKZ_5L.js.br +0 -0
- package/dist/giftCard-akmKZ_5L.js.gz +0 -0
- package/dist/hotel.js +388 -363
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/{masonry.plugin-BLgaVwzr.js → masonry.plugin-D6bGOf4q.js} +99 -48
- package/dist/masonry.plugin-D6bGOf4q.js.br +0 -0
- package/dist/masonry.plugin-D6bGOf4q.js.gz +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/polyfill.js.gz +0 -0
- package/dist/{style-RstJ0SR4.js → style-ekPp7Tgj.js} +1 -1
- package/dist/style-ekPp7Tgj.js.br +0 -0
- package/dist/style-ekPp7Tgj.js.gz +0 -0
- package/package.json +1 -1
- package/dist/ActionField-W-bZH9YV.js.br +0 -0
- package/dist/ActionField-W-bZH9YV.js.gz +0 -0
- package/dist/AvailabilitySkeleton-DomtgZ0G.js.br +0 -0
- package/dist/AvailabilitySkeleton-DomtgZ0G.js.gz +0 -0
- package/dist/CheckoutWindow-BrSAf1mX.js.br +0 -0
- package/dist/CheckoutWindow-BrSAf1mX.js.gz +0 -0
- package/dist/ErrorMessage-MZyMFb-7.js.br +0 -0
- package/dist/ErrorMessage-MZyMFb-7.js.gz +0 -0
- package/dist/EventAvailabilityForm-CkmIrZhi.js.br +0 -0
- package/dist/EventAvailabilityForm-CkmIrZhi.js.gz +0 -0
- package/dist/Field-CrC-jcA-.js.br +0 -0
- package/dist/Field-CrC-jcA-.js.gz +0 -0
- package/dist/HotelAvailabilityForm-exvP5WH7.js.br +0 -0
- package/dist/HotelAvailabilityForm-exvP5WH7.js.gz +0 -0
- package/dist/SelectField-CGqR4A53.js.br +0 -0
- package/dist/SelectField-CGqR4A53.js.gz +0 -0
- package/dist/TermsOfService-kPkWHDxH.js.br +0 -0
- package/dist/TermsOfService-kPkWHDxH.js.gz +0 -0
- package/dist/_-BqsqVDDR.js.br +0 -0
- package/dist/_-BqsqVDDR.js.gz +0 -0
- package/dist/dist-B8PJFy5H.js.br +0 -0
- package/dist/dist-B8PJFy5H.js.gz +0 -0
- package/dist/giftCard-D-ElhpAu.js.br +0 -0
- package/dist/giftCard-D-ElhpAu.js.gz +0 -0
- package/dist/masonry.plugin-BLgaVwzr.js.br +0 -0
- package/dist/masonry.plugin-BLgaVwzr.js.gz +0 -0
- package/dist/style-RstJ0SR4.js.br +0 -0
- package/dist/style-RstJ0SR4.js.gz +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as e, t } from "./chunk-BPfpcrXh.js";
|
|
2
|
-
import { $ as n, A as r, At as i, C as a, D as o, Dt as s, E as c, Et as l, H as u, M as d, N as f, O as p, P as m, S as h, T as g, V as _, Y as v, _ as y, a as ee, at as te, bt as b, c as x, dt as S, et as C, ft as w, gt as T, it as E, j as ne, k as D, kt as O, lt as k, nt as re, o as A, p as j, q as M, r as N, s as P, t as F, u as I, vt as
|
|
3
|
-
import { t as
|
|
4
|
-
import { B as
|
|
5
|
-
import { n as Me, t as Ne } from "./AvailabilitySkeleton-
|
|
6
|
-
import { t as Pe } from "./HotelAvailabilityForm-
|
|
7
|
-
import { t as Fe } from "./style-
|
|
8
|
-
import { t as Ie } from "./ActionField-
|
|
9
|
-
import { a as Le, c as Re, i as ze, l as Be, n as Ve, o as He, r as Ue, s as We, t as Ge, u as Ke } from "./masonry.plugin-
|
|
10
|
-
import { a as qe, i as H, r as Je, t as Ye } from "./CheckoutWindow-
|
|
11
|
-
import { t as Xe } from "./TermsOfService-
|
|
2
|
+
import { $ as n, A as r, At as i, C as a, D as o, Dt as s, E as c, Et as l, H as u, M as d, N as f, O as p, P as m, S as h, T as g, V as _, Y as v, _ as y, a as ee, at as te, bt as b, c as x, dt as S, et as C, ft as w, gt as T, it as E, j as ne, k as D, kt as O, lt as k, nt as re, o as A, p as j, q as M, r as N, s as P, t as F, u as I, vt as ie, x as R, y as ae } from "./mitt-DrOLO7f9.js";
|
|
3
|
+
import { t as oe } from "./dist-DetXXnpL.js";
|
|
4
|
+
import { B as se, C as ce, D as le, E as ue, F as de, G as fe, H as pe, I as me, J as he, L as ge, M as _e, O as ve, Q as ye, S as be, U as xe, W as Se, Z as z, _ as Ce, b as we, ct as Te, dt as Ee, n as De, nt as Oe, r as ke, t as Ae, tt as je, v as B, x as V } from "./SelectField-CEZbxaZf.js";
|
|
5
|
+
import { n as Me, t as Ne } from "./AvailabilitySkeleton-C3xVBM2W.js";
|
|
6
|
+
import { t as Pe } from "./HotelAvailabilityForm-Cs4Bdx_M.js";
|
|
7
|
+
import { t as Fe } from "./style-ekPp7Tgj.js";
|
|
8
|
+
import { t as Ie } from "./ActionField-Dw2sZfTW.js";
|
|
9
|
+
import { a as Le, c as Re, i as ze, l as Be, n as Ve, o as He, r as Ue, s as We, t as Ge, u as Ke } from "./masonry.plugin-D6bGOf4q.js";
|
|
10
|
+
import { a as qe, i as H, r as Je, t as Ye } from "./CheckoutWindow-CO9Ps1iN.js";
|
|
11
|
+
import { t as Xe } from "./TermsOfService-B1wlPc16.js";
|
|
12
12
|
//#region node_modules/inner-image-zoom/src/utils/images.js
|
|
13
13
|
function Ze(e, t) {
|
|
14
14
|
return t ? {
|
|
@@ -247,7 +247,7 @@ function _t(e, t, r, i, l, u) {
|
|
|
247
247
|
mousemove: e.currentMoveType === "drag" || !e.isZoomed ? () => {} : e.handleMouseMove,
|
|
248
248
|
mouseleave: e.isTouch ? () => {} : e.handleMouseLeave
|
|
249
249
|
}, !0)), [
|
|
250
|
-
c("div", { style: O({ paddingTop: e.createSpacer ? `${(e.height || 0) / (e.width || 0) * 100}%` : void 0 }) }, [e.validSources ? (v(), D("picture", ut, [(v(!0), D(
|
|
250
|
+
c("div", { style: O({ paddingTop: e.createSpacer ? `${(e.height || 0) / (e.width || 0) * 100}%` : void 0 }) }, [e.validSources ? (v(), D("picture", ut, [(v(!0), D(R, null, n(e.validSources, (e, t) => (v(), D("source", _({ key: t }, { ref_for: !0 }, e), null, 16))), 128)), c("img", _(e.imgAttributes, {
|
|
251
251
|
class: ["iiz__img", [e.imgAttributes.className || "", {
|
|
252
252
|
"iiz__img--hidden": e.isZoomed,
|
|
253
253
|
"iiz__img--abs": e.createSpacer
|
|
@@ -266,7 +266,7 @@ function _t(e, t, r, i, l, u) {
|
|
|
266
266
|
width: e.width,
|
|
267
267
|
height: e.height
|
|
268
268
|
}), null, 16, ft))], 4),
|
|
269
|
-
e.isActive ? (v(), D(
|
|
269
|
+
e.isActive ? (v(), D(R, { key: 0 }, [e.isFullscreen ? (v(), o(a, {
|
|
270
270
|
key: 0,
|
|
271
271
|
to: "body"
|
|
272
272
|
}, [c("div", pt, [c("img", _({
|
|
@@ -292,8 +292,8 @@ function _t(e, t, r, i, l, u) {
|
|
|
292
292
|
class: s(["iiz__btn iiz__close", { "iiz__close--visible": e.isZoomed }]),
|
|
293
293
|
"aria-label": "Zoom Out",
|
|
294
294
|
style: O({ transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility` }),
|
|
295
|
-
onClick: t[0] ||=
|
|
296
|
-
}, null, 6)) : p("", !0)])])) : (v(), D(
|
|
295
|
+
onClick: t[0] ||= ae((...t) => e.handleClose && e.handleClose(...t), ["stop"])
|
|
296
|
+
}, null, 6)) : p("", !0)])])) : (v(), D(R, { key: 1 }, [c("img", _({
|
|
297
297
|
class: ["iiz__zoom-img", { "iiz__zoom-img--visible": e.isZoomed }],
|
|
298
298
|
alt: "",
|
|
299
299
|
draggable: !1,
|
|
@@ -315,14 +315,14 @@ function _t(e, t, r, i, l, u) {
|
|
|
315
315
|
type: "button",
|
|
316
316
|
"aria-label": "Zoom Out",
|
|
317
317
|
style: O({ transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility` }),
|
|
318
|
-
onClick: t[1] ||=
|
|
318
|
+
onClick: t[1] ||= ae((...t) => e.handleClose && e.handleClose(...t), ["stop"])
|
|
319
319
|
}, null, 6)) : p("", !0)], 64))], 64)) : p("", !0),
|
|
320
320
|
!e.isZoomed && !e.hideHint ? (v(), D("span", gt)) : p("", !0)
|
|
321
321
|
], 16);
|
|
322
322
|
}
|
|
323
323
|
//#endregion
|
|
324
324
|
//#region node_modules/vue-inner-image-zoom/src/index.js
|
|
325
|
-
var vt = /* @__PURE__ */
|
|
325
|
+
var vt = /* @__PURE__ */ be(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"]]), U = { key: 0 }, W = { class: "konnectio-hotel-reservation-warning" }, yt = { class: "konnectio-hotel-reservation-warning" }, bt = { class: "konnectio-hotel-reservation-warning" }, xt = { key: 1 }, St = { class: "konnectio-hotel-reservation-title" }, G = { class: "konnectio-hotel-reservation-information" }, K = { class: "konnectio-hotel-reservation-guests" }, Ct = { key: 0 }, wt = {
|
|
326
326
|
key: 0,
|
|
327
327
|
class: "konnectio-hotel-reservation-room-name"
|
|
328
328
|
}, Tt = ["onClick"], Et = { key: 0 }, Dt = { key: 1 }, Ot = { class: "konnectio-hotel-reservation-title" }, q = {
|
|
@@ -334,7 +334,7 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
334
334
|
}, Ft = {
|
|
335
335
|
key: 1,
|
|
336
336
|
class: "konnectio-accept-terms"
|
|
337
|
-
}, It = { class: "konnectio-hotel-reservation-tooltip" }, Lt = /* @__PURE__ */
|
|
337
|
+
}, It = { class: "konnectio-hotel-reservation-tooltip" }, Lt = /* @__PURE__ */ be(/* @__PURE__ */ m({
|
|
338
338
|
__name: "HotelReservationForm",
|
|
339
339
|
props: {
|
|
340
340
|
forceArrivalTime: {},
|
|
@@ -347,6 +347,10 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
347
347
|
type: Boolean,
|
|
348
348
|
default: !1
|
|
349
349
|
},
|
|
350
|
+
availabilityDiscount: {
|
|
351
|
+
type: Boolean,
|
|
352
|
+
default: !1
|
|
353
|
+
},
|
|
350
354
|
showTermsNotice: {
|
|
351
355
|
type: Boolean,
|
|
352
356
|
default: !1
|
|
@@ -354,27 +358,40 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
354
358
|
prevCallback: {}
|
|
355
359
|
},
|
|
356
360
|
setup(e) {
|
|
357
|
-
let { t } = A(), { disableNewsletterSignup: a, currency: s } = I(
|
|
358
|
-
function
|
|
361
|
+
let { t } = A(), { disableNewsletterSignup: a, currency: s } = I(ue()), { hasArrivalDepartureInputs: u } = ue(), { arrivalTime: f, departureTime: m, roomDisplay: h, templateID: g, totalPrice: _, areListingsLoading: te, getSelectedPackageRooms: x, templateRoomUnits: E, selectedPackage: ne, discountVouchers: O, currentArrivalDate: k, currentDepartureDate: j, datesMismatch: M, currentLocation: N, locationMismatch: P, newsMails: F, termsOfService: ie, discountCode: oe, hasTermOfService: se, acceptTerms: le, totalTemplateAddonPrice: pe, totalRooms: me, totalAdults: _e, totalChildren: ye, templateRoomTotalPrice: be, weekendFee: Se, selectedMemberCardData: z, appliedDiscountCode: Ce, guestDiscountCode: we, isValidatingDiscountCode: Te } = I(ve()), { hasHotelLocations: Ee } = I(ce()), { removeRoom: De, validateDiscountCode: Oe, getMandatoryRoomGroupAddons: ke, resetDiscountVoucher: Ae, setGuestDiscountCode: je, clearGuestDiscountCode: B, fetchAvailabilityData: Me } = ve(), { getHotelLocationName: Ne } = ce(), Pe = b(!1);
|
|
362
|
+
function Fe(e) {
|
|
363
|
+
je(e), Me();
|
|
364
|
+
}
|
|
365
|
+
function Ie() {
|
|
366
|
+
B(), Me();
|
|
367
|
+
}
|
|
368
|
+
function Le(e) {
|
|
359
369
|
return e.reduce((e, { totalPrice: t }) => e + t, 0);
|
|
360
370
|
}
|
|
361
371
|
return (b, A) => {
|
|
362
372
|
let I = re("tooltip");
|
|
363
373
|
return v(), o(He, {
|
|
364
|
-
"discount-code": l(
|
|
365
|
-
"onUpdate:discountCode": A[4] ||= (e) => T(
|
|
366
|
-
"validate-discount-code": l(
|
|
374
|
+
"discount-code": l(oe),
|
|
375
|
+
"onUpdate:discountCode": A[4] ||= (e) => T(oe) ? oe.value = e : null,
|
|
376
|
+
"validate-discount-code": l(Oe),
|
|
367
377
|
"total-price": l(_),
|
|
368
|
-
"weekend-fee": l(
|
|
378
|
+
"weekend-fee": l(Se),
|
|
369
379
|
"show-gift-card": e.showGiftCard,
|
|
380
|
+
"availability-discount": e.availabilityDiscount,
|
|
370
381
|
"show-terms-notice": e.showTermsNotice,
|
|
371
382
|
"is-sidebar-loading": l(te),
|
|
372
383
|
notice: l(t)("hotel.reservationNotice"),
|
|
373
|
-
"prev-callback": e.prevCallback
|
|
384
|
+
"prev-callback": e.prevCallback,
|
|
385
|
+
"applied-discount-code": l(Ce),
|
|
386
|
+
"guest-discount-code": l(we),
|
|
387
|
+
"is-validating-discount-code": l(Te),
|
|
388
|
+
"on-reset-discount-code": l(Ae),
|
|
389
|
+
"on-apply-availability-discount": Fe,
|
|
390
|
+
"on-clear-availability-discount": Ie
|
|
374
391
|
}, r({
|
|
375
392
|
form: S(() => [C(b.$slots, "form", {}, void 0, !0)]),
|
|
376
|
-
"price-summary": S(() => [isNaN(l(g)) && l(h).length > 0 ? (v(!0), D(
|
|
377
|
-
c("span", St, i(l(
|
|
393
|
+
"price-summary": S(() => [isNaN(l(g)) && l(h).length > 0 ? (v(!0), D(R, { key: 0 }, n(l(h), ({ roomGroupID: r, title: a, variants: o }) => (v(), D("div", { key: r }, [c("h6", null, [c("span", null, i(l(de)(a)), 1)]), (v(!0), D(R, null, n(o, (a, o) => (v(), D("div", { key: o }, [(v(!0), D(R, null, n(a.rooms, (n, u) => (v(), D("ul", { key: u }, [c("li", null, [
|
|
394
|
+
c("span", St, i(l(de)(a.name)), 1),
|
|
378
395
|
c("span", G, [c("span", K, [c("span", null, [d(V, {
|
|
379
396
|
icon: "male",
|
|
380
397
|
type: "fas",
|
|
@@ -384,17 +401,17 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
384
401
|
type: "fas",
|
|
385
402
|
color: "font"
|
|
386
403
|
}), c("span", null, i(n.childrenCount), 1)])) : p("", !0)]), n.roomName ? (v(), D("span", wt, "(" + i(n.roomName) + ")", 1)) : p("", !0)]),
|
|
387
|
-
c("b", null, [c("span", null, i(l(
|
|
404
|
+
c("b", null, [c("span", null, i(l(he)(n.totalPrice, l(s))), 1), e.showRemoveRoom ? (v(), D("span", {
|
|
388
405
|
key: 0,
|
|
389
406
|
class: "konnectio-hotel-reservation-remove",
|
|
390
|
-
onClick:
|
|
407
|
+
onClick: ae((e) => l(De)(r, o, n.configIdx), ["prevent"])
|
|
391
408
|
}, [d(V, {
|
|
392
409
|
icon: "times",
|
|
393
410
|
type: "fas",
|
|
394
411
|
"icon-color": "#ff0000"
|
|
395
412
|
})], 8, Tt)) : p("", !0)])
|
|
396
|
-
]),
|
|
397
|
-
c("span", Ot, [c("span", null, i(l(
|
|
413
|
+
]), Le(n.roomAddons) > 0 ? (v(), D("li", Et, [c("span", null, i(l(t)("general.addons")), 1), c("b", null, i(l(he)(Le(n.roomAddons), l(s))), 1)])) : p("", !0)]))), 128))]))), 128))]))), 128)) : p("", !0), l(E).length > 0 && l(ne) ? (v(), D("div", Dt, [c("h6", null, [c("span", null, i(l(de)(l(ne).name)), 1)]), c("div", null, [c("ul", null, [(v(!0), D(R, null, n(l(E), (e, r) => (v(), D("li", { key: r }, [
|
|
414
|
+
c("span", Ot, [c("span", null, i(l(de)(l(x).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), l(E).filter((t) => t.roomGroupId === e.roomGroupId).length > 1 ? (v(), D("span", q, "(" + i(l(t)("booking.reservation.room")) + " " + i(l(E).slice(0, r + 1).filter((t) => t.roomGroupId === e.roomGroupId).length) + ")", 1)) : p("", !0)]),
|
|
398
415
|
c("span", kt, [c("span", At, [c("span", null, [d(V, {
|
|
399
416
|
icon: "male",
|
|
400
417
|
type: "fas",
|
|
@@ -404,9 +421,9 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
404
421
|
type: "fas",
|
|
405
422
|
color: "font"
|
|
406
423
|
}), c("span", null, i(e.children), 1)])) : p("", !0)])]),
|
|
407
|
-
c("b", null, [c("span", null, i(l(
|
|
408
|
-
l(
|
|
409
|
-
]))), 128)), l(
|
|
424
|
+
c("b", null, [c("span", null, i(l(he)((l(x).find((t) => t.id === e.roomGroupId)?.extraPrice ?? 0) + l(Se), l(s))), 1)]),
|
|
425
|
+
l(ke)(e.roomGroupId) ? (v(!0), D(R, { key: 0 }, n(l(ke)(e.roomGroupId), (e) => (v(), D(R, null, [c("span", null, "- " + i(e.name), 1), c("b", null, [c("span", null, i(l(he)(e.price, l(s))), 1)])], 64))), 256)) : p("", !0)
|
|
426
|
+
]))), 128)), l(pe) ? (v(), D("li", Mt, [c("span", null, i(l(t)("general.addons")), 1), c("b", null, i(l(he)(l(pe), l(s))), 1)])) : p("", !0)])])])) : p("", !0)]),
|
|
410
427
|
actions: S(() => [c("ul", Nt, [
|
|
411
428
|
l(a) ? p("", !0) : (v(), D("div", Pt, [d(Je, {
|
|
412
429
|
modelValue: l(F),
|
|
@@ -415,9 +432,9 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
415
432
|
name: "newsletter",
|
|
416
433
|
label: l(t)("booking.reservation.newsletterSignUp")
|
|
417
434
|
}, null, 8, ["modelValue", "label"])])),
|
|
418
|
-
l(
|
|
419
|
-
modelValue: l(
|
|
420
|
-
"onUpdate:modelValue": A[2] ||= (e) => T(
|
|
435
|
+
l(se) ? (v(), D("div", Ft, [d(Je, {
|
|
436
|
+
modelValue: l(le),
|
|
437
|
+
"onUpdate:modelValue": A[2] ||= (e) => T(le) ? le.value = e : null,
|
|
421
438
|
type: "checkbox",
|
|
422
439
|
name: "terms"
|
|
423
440
|
}, {
|
|
@@ -428,56 +445,56 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
428
445
|
}, {
|
|
429
446
|
terms: S(() => [c("a", {
|
|
430
447
|
class: "konnectio-accept-terms-link",
|
|
431
|
-
onClick: A[1] ||=
|
|
432
|
-
}, [c("span", null, i(l(
|
|
448
|
+
onClick: A[1] ||= ae((e) => Pe.value = !0, ["prevent"])
|
|
449
|
+
}, [c("span", null, i(l(xe)(l(t)("general.termsAndConditions"))), 1)])]),
|
|
433
450
|
_: 1
|
|
434
451
|
})]),
|
|
435
452
|
_: 1
|
|
436
453
|
}, 8, ["modelValue"])])) : p("", !0),
|
|
437
454
|
C(b.$slots, "actions", {}, void 0, !0),
|
|
438
455
|
d(Xe, {
|
|
439
|
-
modelValue:
|
|
440
|
-
"onUpdate:modelValue": A[3] ||= (e) =>
|
|
441
|
-
description: l(
|
|
456
|
+
modelValue: Pe.value,
|
|
457
|
+
"onUpdate:modelValue": A[3] ||= (e) => Pe.value = e,
|
|
458
|
+
description: l(ie)
|
|
442
459
|
}, null, 8, ["modelValue", "description"])
|
|
443
460
|
])]),
|
|
444
461
|
navigation: S(() => [C(b.$slots, "navigation", {}, void 0, !0)]),
|
|
445
462
|
"mobile-under-price": S(() => [
|
|
446
463
|
c("span", null, i(l(t)("general.for")) + ": ", 1),
|
|
447
|
-
c("b", null, i(l(
|
|
464
|
+
c("b", null, i(l(ge)(l(k), l(j))) + " " + i(l(xe)(l(ge)(l(k), l(j)) === 1 ? l(t)("booking.reservation.night") : l(t)("booking.reservation.nights"))), 1),
|
|
448
465
|
w((v(), D("span", It, [d(V, {
|
|
449
466
|
icon: "circle-info",
|
|
450
467
|
type: "fas"
|
|
451
468
|
})])), [[I, {
|
|
452
|
-
content: `<span>(${l(
|
|
469
|
+
content: `<span>(${l(fe)(l(k))} - ${l(fe)(l(j))})</span>`,
|
|
453
470
|
classes: ["tooltip", "konnectio-tooltip"],
|
|
454
471
|
html: !0
|
|
455
472
|
}]])
|
|
456
473
|
]),
|
|
457
474
|
"mobile-summary": S(() => [
|
|
458
|
-
c("span", null, i(`${l(
|
|
459
|
-
c("span", null, i(`${l(
|
|
460
|
-
c("span", null, i(`${l(
|
|
475
|
+
c("span", null, i(`${l(_e)} ${l(_e) === 1 ? l(t)("general.adult") : l(t)("general.adults")}`), 1),
|
|
476
|
+
c("span", null, i(`${l(ye)} ${l(ye) === 1 ? l(t)("general.child") : l(t)("general.children")}`), 1),
|
|
477
|
+
c("span", null, i(`${l(me)} ${l(me) === 1 ? l(t)("booking.reservation.room") : l(t)("booking.reservation.rooms")}`), 1)
|
|
461
478
|
]),
|
|
462
479
|
_: 2
|
|
463
480
|
}, [isNaN(l(N)) ? void 0 : {
|
|
464
481
|
name: "reservation-summary",
|
|
465
482
|
fn: S(() => [
|
|
466
|
-
l(
|
|
483
|
+
l(Ee) ? (v(), D("li", U, [c("span", null, i(l(t)("general.location")), 1), c("b", null, [c("span", null, i(l(Ne)(l(N))), 1), w(c("span", W, [d(V, {
|
|
467
484
|
icon: "exclamation-triangle",
|
|
468
485
|
type: "fas"
|
|
469
486
|
})], 512), [[y, l(P)]])])])) : p("", !0),
|
|
470
|
-
c("li", null, [c("span", null, i(l(t)("booking.reservation.arrival")), 1), c("b", null, [c("span", null, i(l(u)(l(N)) ? `${l(
|
|
487
|
+
c("li", null, [c("span", null, i(l(t)("booking.reservation.arrival")), 1), c("b", null, [c("span", null, i(l(u)(l(N)) ? `${l(fe)(l(k))}, ${l(f)}` : l(fe)(l(k))), 1), w(c("span", yt, [d(V, {
|
|
471
488
|
icon: "exclamation-triangle",
|
|
472
489
|
type: "fas"
|
|
473
490
|
})], 512), [[y, l(M)]])])]),
|
|
474
|
-
c("li", null, [c("span", null, i(l(t)("booking.reservation.departure")), 1), c("b", null, [c("span", null, i(l(u)(l(N)) ? `${l(
|
|
491
|
+
c("li", null, [c("span", null, i(l(t)("booking.reservation.departure")), 1), c("b", null, [c("span", null, i(l(u)(l(N)) ? `${l(fe)(l(j))}, ${l(m)}` : l(fe)(l(j))), 1), w(c("span", bt, [d(V, {
|
|
475
492
|
icon: "exclamation-triangle",
|
|
476
493
|
type: "fas"
|
|
477
494
|
})], 512), [[y, l(M)]])])]),
|
|
478
|
-
c("li", null, [c("span", null, i(l(t)("booking.reservation.nights")), 1), c("b", null, i(l(
|
|
479
|
-
l(
|
|
480
|
-
l(O) ? (v(!0), D(
|
|
495
|
+
c("li", null, [c("span", null, i(l(t)("booking.reservation.nights")), 1), c("b", null, i(l(ge)(l(k), l(j))) + " " + i(l(xe)(l(ge)(l(k), l(j)) === 1 ? l(t)("booking.reservation.night") : l(t)("booking.reservation.nights"))), 1)]),
|
|
496
|
+
l(z) && l(z).providesDiscount ? (v(), D("li", xt, [c("span", null, i(l(z).shortDescription), 1), c("b", null, "-" + i(l(z).discountPercent) + "%", 1)])) : p("", !0),
|
|
497
|
+
l(O) ? (v(!0), D(R, { key: 2 }, n(l(O), (e) => (v(), D("li", { key: e.id }, [c("span", null, i(`${l(t)("general.discountCode")} (${e.value})`), 1), c("b", null, i(e.key), 1)]))), 128)) : p("", !0)
|
|
481
498
|
]),
|
|
482
499
|
key: "0"
|
|
483
500
|
}]), 1032, [
|
|
@@ -486,17 +503,22 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
486
503
|
"total-price",
|
|
487
504
|
"weekend-fee",
|
|
488
505
|
"show-gift-card",
|
|
506
|
+
"availability-discount",
|
|
489
507
|
"show-terms-notice",
|
|
490
508
|
"is-sidebar-loading",
|
|
491
509
|
"notice",
|
|
492
|
-
"prev-callback"
|
|
510
|
+
"prev-callback",
|
|
511
|
+
"applied-discount-code",
|
|
512
|
+
"guest-discount-code",
|
|
513
|
+
"is-validating-discount-code",
|
|
514
|
+
"on-reset-discount-code"
|
|
493
515
|
]);
|
|
494
516
|
};
|
|
495
517
|
}
|
|
496
|
-
}), [["__scopeId", "data-v-
|
|
518
|
+
}), [["__scopeId", "data-v-e0631a14"]]), Rt = { id: "konnectio-hotel-guest-discount" }, zt = { class: "konnectio-panel" }, Bt = { id: "konnectio-hotel-guest-discount-title" }, Vt = ["innerHTML"], Ht = /* @__PURE__ */ be(/* @__PURE__ */ m({
|
|
497
519
|
__name: "GuestDiscountForm",
|
|
498
520
|
setup(e) {
|
|
499
|
-
let { t } = A(), n =
|
|
521
|
+
let { t } = A(), n = Ee("history"), r = ve(), { display: a } = _e(), o = b();
|
|
500
522
|
async function s() {
|
|
501
523
|
if (!o.value) {
|
|
502
524
|
a({
|
|
@@ -535,7 +557,7 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
535
557
|
])
|
|
536
558
|
])]));
|
|
537
559
|
}
|
|
538
|
-
}), [["__scopeId", "data-v-8c6e1f7e"]]), J = { class: "konnectio-room-config-option" }, Ut = { key: 0 }, Y = { class: "konnectio-selected-room-config" }, Wt = { class: "konnectio-selected-room-config-people" }, Gt = { key: 0 }, Kt = { class: "konnectio-selected-room-config-price" }, qt = /* @__PURE__ */
|
|
560
|
+
}), [["__scopeId", "data-v-8c6e1f7e"]]), J = { class: "konnectio-room-config-option" }, Ut = { key: 0 }, Y = { class: "konnectio-selected-room-config" }, Wt = { class: "konnectio-selected-room-config-people" }, Gt = { key: 0 }, Kt = { class: "konnectio-selected-room-config-price" }, qt = /* @__PURE__ */ be(/* @__PURE__ */ m({
|
|
539
561
|
__name: "RoomConfigField",
|
|
540
562
|
props: {
|
|
541
563
|
modelValue: {},
|
|
@@ -552,7 +574,7 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
552
574
|
},
|
|
553
575
|
emits: ["update:modelValue"],
|
|
554
576
|
setup(e, { emit: t }) {
|
|
555
|
-
let { t: n } = A(), { currency: r } = I(
|
|
577
|
+
let { t: n } = A(), { currency: r } = I(ue()), a = t, s = e;
|
|
556
578
|
function u(e) {
|
|
557
579
|
a("update:modelValue", e);
|
|
558
580
|
}
|
|
@@ -560,7 +582,7 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
560
582
|
get: () => s.modelValue,
|
|
561
583
|
set: (e) => u(e)
|
|
562
584
|
});
|
|
563
|
-
return (t, a) => (v(), o(
|
|
585
|
+
return (t, a) => (v(), o(Ae, {
|
|
564
586
|
modelValue: f.value,
|
|
565
587
|
"onUpdate:modelValue": a[0] ||= (e) => f.value = e,
|
|
566
588
|
label: e.label,
|
|
@@ -585,8 +607,8 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
585
607
|
type: "fas",
|
|
586
608
|
color: "font"
|
|
587
609
|
}), c("span", null, i(`${e.children}`), 1)])) : p("", !0)
|
|
588
|
-
]), c("span", null, i(`(${l(
|
|
589
|
-
"selected-option": S(({ data: e }) => [c("div", Y, [c("div", Wt, [c("div", null, [p("", !0), c("span", null, i(`${e.adults} ${e.adults === 1 ? l(n)("general.adult") : l(n)("general.adults")}`), 1)]), e.children > 0 ? (v(), D("div", Gt, [p("", !0), c("span", null, i(`& ${e.children} ${e.children === 1 ? l(n)("general.child") : l(n)("general.children")}`), 1)])) : p("", !0)]), c("div", Kt, [a[1] ||= c("span", null, null, -1), ne(" " + i(`(${l(
|
|
610
|
+
]), c("span", null, i(`(${l(he)(e.price, l(r))})`), 1)])]),
|
|
611
|
+
"selected-option": S(({ data: e }) => [c("div", Y, [c("div", Wt, [c("div", null, [p("", !0), c("span", null, i(`${e.adults} ${e.adults === 1 ? l(n)("general.adult") : l(n)("general.adults")}`), 1)]), e.children > 0 ? (v(), D("div", Gt, [p("", !0), c("span", null, i(`& ${e.children} ${e.children === 1 ? l(n)("general.child") : l(n)("general.children")}`), 1)])) : p("", !0)]), c("div", Kt, [a[1] ||= c("span", null, null, -1), ne(" " + i(`(${l(he)(e.price, l(r))})`), 1)])])]),
|
|
590
612
|
_: 1
|
|
591
613
|
}, 8, [
|
|
592
614
|
"modelValue",
|
|
@@ -1088,10 +1110,10 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
1088
1110
|
return "LatLng(" + u(this.lat, e) + ", " + u(this.lng, e) + ")";
|
|
1089
1111
|
},
|
|
1090
1112
|
distanceTo: function(e) {
|
|
1091
|
-
return
|
|
1113
|
+
return R.distance(this, I(e));
|
|
1092
1114
|
},
|
|
1093
1115
|
wrap: function() {
|
|
1094
|
-
return
|
|
1116
|
+
return R.wrapLatLng(this);
|
|
1095
1117
|
},
|
|
1096
1118
|
toBounds: function(e) {
|
|
1097
1119
|
var t = 180 * e / 40075017, n = t / Math.cos(Math.PI / 180 * this.lat);
|
|
@@ -1104,7 +1126,7 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
1104
1126
|
function I(e, t, n) {
|
|
1105
1127
|
return e instanceof F ? e : _(e) && typeof e[0] != "object" ? e.length === 3 ? new F(e[0], e[1], e[2]) : e.length === 2 ? new F(e[0], e[1]) : null : e == null ? e : typeof e == "object" && "lat" in e ? new F(e.lat, "lng" in e ? e.lng : e.lon, e.alt) : t === void 0 ? null : new F(e, t, n);
|
|
1106
1128
|
}
|
|
1107
|
-
var
|
|
1129
|
+
var ie = {
|
|
1108
1130
|
latLngToPoint: function(e, t) {
|
|
1109
1131
|
var n = this.projection.project(e), r = this.scale(t);
|
|
1110
1132
|
return this.transformation._transform(n, r);
|
|
@@ -1141,15 +1163,15 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
1141
1163
|
var a = e.getSouthWest(), o = e.getNorthEast();
|
|
1142
1164
|
return new N(new F(a.lat - r, a.lng - i), new F(o.lat - r, o.lng - i));
|
|
1143
1165
|
}
|
|
1144
|
-
},
|
|
1166
|
+
}, R = n({}, ie, {
|
|
1145
1167
|
wrapLng: [-180, 180],
|
|
1146
1168
|
R: 6371e3,
|
|
1147
1169
|
distance: function(e, t) {
|
|
1148
1170
|
var n = Math.PI / 180, r = e.lat * n, i = t.lat * n, a = Math.sin((t.lat - e.lat) * n / 2), o = Math.sin((t.lng - e.lng) * n / 2), s = a * a + Math.cos(r) * Math.cos(i) * o * o, c = 2 * Math.atan2(Math.sqrt(s), Math.sqrt(1 - s));
|
|
1149
1171
|
return this.R * c;
|
|
1150
1172
|
}
|
|
1151
|
-
}),
|
|
1152
|
-
R:
|
|
1173
|
+
}), ae = 6378137, oe = {
|
|
1174
|
+
R: ae,
|
|
1153
1175
|
MAX_LATITUDE: 85.0511287798,
|
|
1154
1176
|
project: function(e) {
|
|
1155
1177
|
var t = Math.PI / 180, n = this.MAX_LATITUDE, r = Math.max(Math.min(n, e.lat), -n), i = Math.sin(r * t);
|
|
@@ -1160,18 +1182,18 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
1160
1182
|
return new F((2 * Math.atan(Math.exp(e.y / this.R)) - Math.PI / 2) * t, e.x * t / this.R);
|
|
1161
1183
|
},
|
|
1162
1184
|
bounds: (function() {
|
|
1163
|
-
var e =
|
|
1185
|
+
var e = ae * Math.PI;
|
|
1164
1186
|
return new j([-e, -e], [e, e]);
|
|
1165
1187
|
})()
|
|
1166
1188
|
};
|
|
1167
|
-
function
|
|
1189
|
+
function se(e, t, n, r) {
|
|
1168
1190
|
if (_(e)) {
|
|
1169
1191
|
this._a = e[0], this._b = e[1], this._c = e[2], this._d = e[3];
|
|
1170
1192
|
return;
|
|
1171
1193
|
}
|
|
1172
1194
|
this._a = e, this._b = t, this._c = n, this._d = r;
|
|
1173
1195
|
}
|
|
1174
|
-
|
|
1196
|
+
se.prototype = {
|
|
1175
1197
|
transform: function(e, t) {
|
|
1176
1198
|
return this._transform(e.clone(), t);
|
|
1177
1199
|
},
|
|
@@ -1182,21 +1204,21 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
1182
1204
|
return t ||= 1, new k((e.x / t - this._b) / this._a, (e.y / t - this._d) / this._c);
|
|
1183
1205
|
}
|
|
1184
1206
|
};
|
|
1185
|
-
function
|
|
1186
|
-
return new
|
|
1207
|
+
function ce(e, t, n, r) {
|
|
1208
|
+
return new se(e, t, n, r);
|
|
1187
1209
|
}
|
|
1188
|
-
var
|
|
1210
|
+
var le = n({}, R, {
|
|
1189
1211
|
code: "EPSG:3857",
|
|
1190
|
-
projection:
|
|
1212
|
+
projection: oe,
|
|
1191
1213
|
transformation: function() {
|
|
1192
|
-
var e = .5 / (Math.PI *
|
|
1193
|
-
return
|
|
1214
|
+
var e = .5 / (Math.PI * oe.R);
|
|
1215
|
+
return ce(e, .5, -e, .5);
|
|
1194
1216
|
}()
|
|
1195
|
-
}),
|
|
1196
|
-
function
|
|
1217
|
+
}), ue = n({}, le, { code: "EPSG:900913" });
|
|
1218
|
+
function de(e) {
|
|
1197
1219
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
1198
1220
|
}
|
|
1199
|
-
function
|
|
1221
|
+
function fe(e, t) {
|
|
1200
1222
|
var n = "", r, i, a, o, s, c;
|
|
1201
1223
|
for (r = 0, a = e.length; r < a; r++) {
|
|
1202
1224
|
for (s = e[r], i = 0, o = s.length; i < o; i++) c = s[i], n += (i ? "L" : "M") + c.x + " " + c.y;
|
|
@@ -1204,7 +1226,7 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
1204
1226
|
}
|
|
1205
1227
|
return n || "M0 0";
|
|
1206
1228
|
}
|
|
1207
|
-
var
|
|
1229
|
+
var pe = document.documentElement.style, me = "ActiveXObject" in window, he = me && !document.addEventListener, ge = "msLaunchUri" in navigator && !("documentMode" in document), _e = qe("webkit"), ve = qe("android"), ye = qe("android 2") || qe("android 3"), be = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), xe = ve && qe("Google") && be < 537 && !("AudioNode" in window), Se = !!window.opera, z = !ge && qe("chrome"), Ce = qe("gecko") && !_e && !Se && !me, we = !z && qe("safari"), Te = qe("phantom"), Ee = "OTransition" in pe, De = navigator.platform.indexOf("Win") === 0, Oe = me && "transition" in pe, ke = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !ye, Ae = "MozPerspective" in pe, je = !window.L_DISABLE_3D && (Oe || ke || Ae) && !Ee && !Te, B = typeof orientation < "u" || qe("mobile"), V = B && _e, Me = B && ke, Ne = !window.PointerEvent && window.MSPointerEvent, Pe = !!(window.PointerEvent || Ne), Fe = "ontouchstart" in window || !!window.TouchEvent, Ie = !window.L_NO_TOUCH && (Fe || Pe), Le = B && Se, Re = B && Ce, ze = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, Be = function() {
|
|
1208
1230
|
var e = !1;
|
|
1209
1231
|
try {
|
|
1210
1232
|
var t = Object.defineProperty({}, "passive", { get: function() {
|
|
@@ -1215,7 +1237,7 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
1215
1237
|
return e;
|
|
1216
1238
|
}(), Ve = function() {
|
|
1217
1239
|
return !!document.createElement("canvas").getContext;
|
|
1218
|
-
}(), He = !!(document.createElementNS &&
|
|
1240
|
+
}(), He = !!(document.createElementNS && de("svg").createSVGRect), Ue = !!He && (function() {
|
|
1219
1241
|
var e = document.createElement("div");
|
|
1220
1242
|
return e.innerHTML = "<svg/>", (e.firstChild && e.firstChild.namespaceURI) === "http://www.w3.org/2000/svg";
|
|
1221
1243
|
})(), We = !He && function() {
|
|
@@ -1232,25 +1254,25 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
1232
1254
|
return navigator.userAgent.toLowerCase().indexOf(e) >= 0;
|
|
1233
1255
|
}
|
|
1234
1256
|
var H = {
|
|
1235
|
-
ie:
|
|
1236
|
-
ielt9:
|
|
1237
|
-
edge:
|
|
1238
|
-
webkit:
|
|
1239
|
-
android:
|
|
1240
|
-
android23:
|
|
1241
|
-
androidStock:
|
|
1242
|
-
opera:
|
|
1243
|
-
chrome:
|
|
1244
|
-
gecko:
|
|
1245
|
-
safari:
|
|
1246
|
-
phantom:
|
|
1247
|
-
opera12:
|
|
1248
|
-
win:
|
|
1249
|
-
ie3d:
|
|
1250
|
-
webkit3d:
|
|
1251
|
-
gecko3d:
|
|
1252
|
-
any3d:
|
|
1253
|
-
mobile:
|
|
1257
|
+
ie: me,
|
|
1258
|
+
ielt9: he,
|
|
1259
|
+
edge: ge,
|
|
1260
|
+
webkit: _e,
|
|
1261
|
+
android: ve,
|
|
1262
|
+
android23: ye,
|
|
1263
|
+
androidStock: xe,
|
|
1264
|
+
opera: Se,
|
|
1265
|
+
chrome: z,
|
|
1266
|
+
gecko: Ce,
|
|
1267
|
+
safari: we,
|
|
1268
|
+
phantom: Te,
|
|
1269
|
+
opera12: Ee,
|
|
1270
|
+
win: De,
|
|
1271
|
+
ie3d: Oe,
|
|
1272
|
+
webkit3d: ke,
|
|
1273
|
+
gecko3d: Ae,
|
|
1274
|
+
any3d: je,
|
|
1275
|
+
mobile: B,
|
|
1254
1276
|
mobileWebkit: V,
|
|
1255
1277
|
mobileWebkit3d: Me,
|
|
1256
1278
|
msPointer: Ne,
|
|
@@ -1644,7 +1666,7 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
1644
1666
|
}
|
|
1645
1667
|
}), Q = O.extend({
|
|
1646
1668
|
options: {
|
|
1647
|
-
crs:
|
|
1669
|
+
crs: le,
|
|
1648
1670
|
center: void 0,
|
|
1649
1671
|
zoom: void 0,
|
|
1650
1672
|
minZoom: void 0,
|
|
@@ -2191,7 +2213,7 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
2191
2213
|
function an(e, t) {
|
|
2192
2214
|
return new Q(e, t);
|
|
2193
2215
|
}
|
|
2194
|
-
var
|
|
2216
|
+
var $ = E.extend({
|
|
2195
2217
|
options: { position: "topright" },
|
|
2196
2218
|
initialize: function(e) {
|
|
2197
2219
|
p(this, e);
|
|
@@ -2217,8 +2239,8 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
2217
2239
|
_refocusOnMap: function(e) {
|
|
2218
2240
|
this._map && e && e.screenX > 0 && e.screenY > 0 && this._map.getContainer().focus();
|
|
2219
2241
|
}
|
|
2220
|
-
}),
|
|
2221
|
-
return new
|
|
2242
|
+
}), on = function(e) {
|
|
2243
|
+
return new $(e);
|
|
2222
2244
|
};
|
|
2223
2245
|
Q.include({
|
|
2224
2246
|
addControl: function(e) {
|
|
@@ -2240,7 +2262,7 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
2240
2262
|
W(this._controlContainer), delete this._controlCorners, delete this._controlContainer;
|
|
2241
2263
|
}
|
|
2242
2264
|
});
|
|
2243
|
-
var
|
|
2265
|
+
var sn = $.extend({
|
|
2244
2266
|
options: {
|
|
2245
2267
|
collapsed: !0,
|
|
2246
2268
|
position: "topright",
|
|
@@ -2261,7 +2283,7 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
2261
2283
|
return this._container;
|
|
2262
2284
|
},
|
|
2263
2285
|
addTo: function(e) {
|
|
2264
|
-
return
|
|
2286
|
+
return $.prototype.addTo.call(this, e), this._expandIfNotCollapsed();
|
|
2265
2287
|
},
|
|
2266
2288
|
onRemove: function() {
|
|
2267
2289
|
this._map.off("zoomend", this._checkDisabledLayers, this);
|
|
@@ -2365,8 +2387,8 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
2365
2387
|
});
|
|
2366
2388
|
}
|
|
2367
2389
|
}), cn = function(e, t, n) {
|
|
2368
|
-
return new
|
|
2369
|
-
}, ln =
|
|
2390
|
+
return new sn(e, t, n);
|
|
2391
|
+
}, ln = $.extend({
|
|
2370
2392
|
options: {
|
|
2371
2393
|
position: "topleft",
|
|
2372
2394
|
zoomInText: "<span aria-hidden=\"true\">+</span>",
|
|
@@ -2407,7 +2429,7 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
2407
2429
|
});
|
|
2408
2430
|
var un = function(e) {
|
|
2409
2431
|
return new ln(e);
|
|
2410
|
-
}, dn =
|
|
2432
|
+
}, dn = $.extend({
|
|
2411
2433
|
options: {
|
|
2412
2434
|
position: "bottomleft",
|
|
2413
2435
|
maxWidth: 100,
|
|
@@ -2448,7 +2470,7 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
2448
2470
|
}
|
|
2449
2471
|
}), fn = function(e) {
|
|
2450
2472
|
return new dn(e);
|
|
2451
|
-
}, pn =
|
|
2473
|
+
}, pn = $.extend({
|
|
2452
2474
|
options: {
|
|
2453
2475
|
position: "bottomright",
|
|
2454
2476
|
prefix: "<a href=\"https://leafletjs.com\" title=\"A JavaScript library for interactive maps\">" + (H.inlineSvg ? "<svg aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"12\" height=\"8\" viewBox=\"0 0 12 8\" class=\"leaflet-attribution-flag\"><path fill=\"#4C7BE1\" d=\"M0 0h12v4H0z\"/><path fill=\"#FFD500\" d=\"M0 4h12v3H0z\"/><path fill=\"#E0BC00\" d=\"M0 7h12v1H0z\"/></svg> " : "") + "Leaflet</a>"
|
|
@@ -2488,7 +2510,7 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
2488
2510
|
});
|
|
2489
2511
|
Q.mergeOptions({ attributionControl: !0 }), Q.addInitHook(function() {
|
|
2490
2512
|
this.options.attributionControl && new pn().addTo(this);
|
|
2491
|
-
}),
|
|
2513
|
+
}), $.Layers = sn, $.Zoom = ln, $.Scale = dn, $.Attribution = pn, on.layers = cn, on.zoom = un, on.scale = fn, on.attribution = function(e) {
|
|
2492
2514
|
return new pn(e);
|
|
2493
2515
|
};
|
|
2494
2516
|
var mn = E.extend({
|
|
@@ -2717,21 +2739,21 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
2717
2739
|
__proto__: null,
|
|
2718
2740
|
LonLat: Rn,
|
|
2719
2741
|
Mercator: zn,
|
|
2720
|
-
SphericalMercator:
|
|
2721
|
-
}, Vn = n({},
|
|
2742
|
+
SphericalMercator: oe
|
|
2743
|
+
}, Vn = n({}, R, {
|
|
2722
2744
|
code: "EPSG:3395",
|
|
2723
2745
|
projection: zn,
|
|
2724
2746
|
transformation: function() {
|
|
2725
2747
|
var e = .5 / (Math.PI * zn.R);
|
|
2726
|
-
return
|
|
2748
|
+
return ce(e, .5, -e, .5);
|
|
2727
2749
|
}()
|
|
2728
|
-
}), Hn = n({},
|
|
2750
|
+
}), Hn = n({}, R, {
|
|
2729
2751
|
code: "EPSG:4326",
|
|
2730
2752
|
projection: Rn,
|
|
2731
|
-
transformation:
|
|
2732
|
-
}), Un = n({},
|
|
2753
|
+
transformation: ce(1 / 180, 1, -1 / 180, .5)
|
|
2754
|
+
}), Un = n({}, ie, {
|
|
2733
2755
|
projection: Rn,
|
|
2734
|
-
transformation:
|
|
2756
|
+
transformation: ce(1, 0, -1, 0),
|
|
2735
2757
|
scale: function(e) {
|
|
2736
2758
|
return 2 ** e;
|
|
2737
2759
|
},
|
|
@@ -2744,7 +2766,7 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
2744
2766
|
},
|
|
2745
2767
|
infinite: !0
|
|
2746
2768
|
});
|
|
2747
|
-
|
|
2769
|
+
ie.Earth = R, ie.EPSG3395 = Vn, ie.EPSG3857 = le, ie.EPSG900913 = ue, ie.EPSG4326 = Hn, ie.Simple = Un;
|
|
2748
2770
|
var Wn = O.extend({
|
|
2749
2771
|
options: {
|
|
2750
2772
|
pane: "overlayPane",
|
|
@@ -3256,8 +3278,8 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
3256
3278
|
setStyle: tr.prototype.setStyle,
|
|
3257
3279
|
_project: function() {
|
|
3258
3280
|
var e = this._latlng.lng, t = this._latlng.lat, n = this._map, r = n.options.crs;
|
|
3259
|
-
if (r.distance ===
|
|
3260
|
-
var i = Math.PI / 180, a = this._mRadius /
|
|
3281
|
+
if (r.distance === R.distance) {
|
|
3282
|
+
var i = Math.PI / 180, a = this._mRadius / R.R / i, o = n.project([t + a, e]), s = n.project([t - a, e]), c = o.add(s).divideBy(2), l = n.unproject(c).lat, u = Math.acos((Math.cos(a * i) - Math.sin(t * i) * Math.sin(l * i)) / (Math.cos(t * i) * Math.cos(l * i))) / i;
|
|
3261
3283
|
(isNaN(u) || u === 0) && (u = a / Math.cos(Math.PI / 180 * t)), this._point = c.subtract(n.getPixelOrigin()), this._radius = isNaN(u) ? 0 : c.x - n.project([l, e - u]).x, this._radiusY = c.y - o.y;
|
|
3262
3284
|
} else {
|
|
3263
3285
|
var d = r.unproject(r.project(this._latlng).subtract([this._mRadius, 0]));
|
|
@@ -4721,7 +4743,7 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
4721
4743
|
_bringToBack: function(e) {
|
|
4722
4744
|
xt(e._container);
|
|
4723
4745
|
}
|
|
4724
|
-
}, Kr = H.vml ? Wr :
|
|
4746
|
+
}, Kr = H.vml ? Wr : de, qr = Vr.extend({
|
|
4725
4747
|
_initContainer: function() {
|
|
4726
4748
|
this._container = Kr("svg"), this._container.setAttribute("pointer-events", "none"), this._rootGroup = Kr("g"), this._container.appendChild(this._rootGroup);
|
|
4727
4749
|
},
|
|
@@ -4758,7 +4780,7 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
4758
4780
|
t && (n.stroke ? (t.setAttribute("stroke", n.color), t.setAttribute("stroke-opacity", n.opacity), t.setAttribute("stroke-width", n.weight), t.setAttribute("stroke-linecap", n.lineCap), t.setAttribute("stroke-linejoin", n.lineJoin), n.dashArray ? t.setAttribute("stroke-dasharray", n.dashArray) : t.removeAttribute("stroke-dasharray"), n.dashOffset ? t.setAttribute("stroke-dashoffset", n.dashOffset) : t.removeAttribute("stroke-dashoffset")) : t.setAttribute("stroke", "none"), n.fill ? (t.setAttribute("fill", n.fillColor || n.color), t.setAttribute("fill-opacity", n.fillOpacity), t.setAttribute("fill-rule", n.fillRule || "evenodd")) : t.setAttribute("fill", "none"));
|
|
4759
4781
|
},
|
|
4760
4782
|
_updatePoly: function(e, t) {
|
|
4761
|
-
this._setPath(e,
|
|
4783
|
+
this._setPath(e, fe(e._parts, t));
|
|
4762
4784
|
},
|
|
4763
4785
|
_updateCircle: function(e) {
|
|
4764
4786
|
var t = e._point, n = Math.max(Math.round(e._radius), 1), r = Math.max(Math.round(e._radiusY), 1) || n, i = "a" + n + "," + r + " 0 1,0 ", a = e._empty() ? "M0 0" : "M" + (t.x - n) + "," + t.y + i + n * 2 + ",0 " + i + -n * 2 + ",0 ";
|
|
@@ -4811,7 +4833,7 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
4811
4833
|
function Xr(e, t) {
|
|
4812
4834
|
return new Yr(e, t);
|
|
4813
4835
|
}
|
|
4814
|
-
qr.create = Kr, qr.pointsToPath =
|
|
4836
|
+
qr.create = Kr, qr.pointsToPath = fe, ur.geometryToLayer = dr, ur.coordsToLatLng = pr, ur.coordsToLatLngs = mr, ur.latLngToCoords = hr, ur.latLngsToCoords = gr, ur.getFeature = _r, ur.asFeature = vr, Q.mergeOptions({ boxZoom: !0 });
|
|
4815
4837
|
var Zr = mn.extend({
|
|
4816
4838
|
initialize: function(e) {
|
|
4817
4839
|
this._map = e, this._container = e._container, this._pane = e._panes.overlayPane, this._resetStateTimeout = 0, e.on("unload", this._destroy, this);
|
|
@@ -5170,7 +5192,7 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
5170
5192
|
this._zooming = !1, w(this._animRequest), Y(document, "touchmove", this._onTouchMove, this), Y(document, "touchend touchcancel", this._onTouchEnd, this), this._map.options.zoomAnimation ? this._map._animateZoom(this._center, this._map._limitZoom(this._zoom), !0, this._map.options.zoomSnap) : this._map._resetView(this._center, this._map._limitZoom(this._zoom));
|
|
5171
5193
|
}
|
|
5172
5194
|
});
|
|
5173
|
-
Q.addInitHook("addHandler", "touchZoom", ii), Q.BoxZoom = Zr, Q.DoubleClickZoom = Qr, Q.Drag = $r, Q.Keyboard = ei, Q.ScrollWheelZoom = ti, Q.TapHold = ri, Q.TouchZoom = ii, e.Bounds = j, e.Browser = H, e.CRS =
|
|
5195
|
+
Q.addInitHook("addHandler", "touchZoom", ii), Q.BoxZoom = Zr, Q.DoubleClickZoom = Qr, Q.Drag = $r, Q.Keyboard = ei, Q.ScrollWheelZoom = ti, Q.TapHold = ri, Q.TouchZoom = ii, e.Bounds = j, e.Browser = H, e.CRS = ie, e.Canvas = Hr, e.Circle = ir, e.CircleMarker = nr, e.Class = E, e.Control = $, e.DivIcon = Nr, e.DivOverlay = Or, e.DomEvent = nn, e.DomUtil = Ht, e.Draggable = _n, e.Evented = O, e.FeatureGroup = qn, e.GeoJSON = ur, e.GridLayer = Fr, e.Handler = mn, e.Icon = Yn, e.ImageOverlay = Sr, e.LatLng = F, e.LatLngBounds = N, e.Layer = Wn, e.LayerGroup = Gn, e.LineUtil = Ln, e.Map = Q, e.Marker = $n, e.Mixin = hn, e.Path = tr, e.Point = k, e.PolyUtil = xn, e.Polygon = cr, e.Polyline = or, e.Popup = kr, e.PosAnimation = rn, e.Projection = Bn, e.Rectangle = Yr, e.Renderer = Vr, e.SVG = qr, e.SVGOverlay = Er, e.TileLayer = Lr, e.Tooltip = jr, e.Transformation = se, e.Util = T, e.VideoOverlay = wr, e.bind = i, e.bounds = M, e.canvas = Ur, e.circle = ar, e.circleMarker = rr, e.control = on, e.divIcon = Pr, e.extend = n, e.featureGroup = Jn, e.geoJSON = br, e.geoJson = xr, e.gridLayer = Ir, e.icon = Xn, e.imageOverlay = Cr, e.latLng = I, e.latLngBounds = P, e.layerGroup = Kn, e.map = an, e.marker = er, e.point = A, e.polygon = lr, e.polyline = sr, e.popup = Ar, e.rectangle = Xr, e.setOptions = p, e.stamp = o, e.svg = Jr, e.svgOverlay = Dr, e.tileLayer = Rr, e.tooltip = Mr, e.transformation = ce, e.version = t, e.videoOverlay = Tr;
|
|
5174
5196
|
var ai = window.L;
|
|
5175
5197
|
e.noConflict = function() {
|
|
5176
5198
|
return window.L = ai, this;
|
|
@@ -5917,7 +5939,7 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
5917
5939
|
} }), e.MarkerClusterGroup = t, e.MarkerCluster = n, Object.defineProperty(e, "__esModule", { value: !0 });
|
|
5918
5940
|
});
|
|
5919
5941
|
})))();
|
|
5920
|
-
var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAACXBIWXMAAAsTAAALEwEAmpwYAAADTUlEQVRYhc2Xz2skRRTHP93zw2YSGzFsiMb4AzyYlfw2YpAIaiJCToKSPciCJy97iAeJ4nl3c9kVDwoiOXgR5m8Y0INIFDPkl8mIBrwkGIIQdzYzmenp6fIwVWPNpHumO8yQPHhUd3V1fT/96lV3P0MIAcD8/HwcMIGkbON01lzAAxzAy2QyLoAhhFDiScCSnpQAZofEPQngACXpTiaTcY25uTklngJs2Vp0JwIloAjkZeuop7SkeL8QYq3Dwg1mGMaMPPQAVw99Sgixlh9exH10kGpPf0eFY4Vj4g8PsXPpNcMwRpDLoCeeBXRFHGieU+WZqbJdeVfEfSDqmirLO5XtUcy8LOHzFJdpLfe6FTf5ZXmSH/f/rffNPv9Y4Pif/8rz4Xd/dAbgg5kBlt54CoBb6f16/7c3X2B8qNf3nlees9n67CXfa2O316MBvH398frxe5PXqFRr34zhJ1JBt1zIAgEWV/d8+5ffGgLgwZnLa/c36/3vv9zPx/NPNzxpUDRCATTb6GAPAPlSlVQyxlnFa7i++3cx7FTRAUYHe9g+LABwcFJmwE5eSOxCALo4wLN9VsvxYcIeCkCtabct8EWkxI/yDu98/Rs3ApJSt7LrcWN1j3e/2eXBmRsKoO0SLHy5Q/bTKSpVj9c/3+SHj8YBGLCT58I9e2+D75fGSMRMpley/PrJFAC/HwUnaCDA1N0sQghefLKW/YmYSdn1mF7JBk5mJUwSsVpQn+mzmLyzjnx9RAdwvdqd24cF/jmtcFKsUHC8oOEAONUqBydl4jGDP4/PWiu3A9DtzS+2Qk0GsPDVTuixcAW+hlcGoPXidsc8BeBqTqxw3DVFbe66psn/5VIJIP7wsCsQ6rdcWklqenFNvGgYxoydS/sWJvnhRcoDE6HEHjnawM6lfa/JwqSIVhd48iQvB4zQWJqZAHYu/VMe2kIoccMwXpVdKr+aS7MS4IUpTuv/8EKIbKtIaOJTNOZWcHHapjxXrV6+bfhBaOITeoibAPzL81YmwSygV3pKCLGlQ2jiY1L8VHpJCQVZW4AAiF4VCUB/8lMiiIcG8IGwJUQWUGt+Si25QotHAmiCSElXP4cOtdAXo4hHBtAgVFKqraq2mBNFHOA/vbl1jTBiGKsAAAAASUVORK5CYII=", Yt = /* @__PURE__ */
|
|
5942
|
+
var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAACXBIWXMAAAsTAAALEwEAmpwYAAADTUlEQVRYhc2Xz2skRRTHP93zw2YSGzFsiMb4AzyYlfw2YpAIaiJCToKSPciCJy97iAeJ4nl3c9kVDwoiOXgR5m8Y0INIFDPkl8mIBrwkGIIQdzYzmenp6fIwVWPNpHumO8yQPHhUd3V1fT/96lV3P0MIAcD8/HwcMIGkbON01lzAAxzAy2QyLoAhhFDiScCSnpQAZofEPQngACXpTiaTcY25uTklngJs2Vp0JwIloAjkZeuop7SkeL8QYq3Dwg1mGMaMPPQAVw99Sgixlh9exH10kGpPf0eFY4Vj4g8PsXPpNcMwRpDLoCeeBXRFHGieU+WZqbJdeVfEfSDqmirLO5XtUcy8LOHzFJdpLfe6FTf5ZXmSH/f/rffNPv9Y4Pif/8rz4Xd/dAbgg5kBlt54CoBb6f16/7c3X2B8qNf3nlees9n67CXfa2O316MBvH398frxe5PXqFRr34zhJ1JBt1zIAgEWV/d8+5ffGgLgwZnLa/c36/3vv9zPx/NPNzxpUDRCATTb6GAPAPlSlVQyxlnFa7i++3cx7FTRAUYHe9g+LABwcFJmwE5eSOxCALo4wLN9VsvxYcIeCkCtabct8EWkxI/yDu98/Rs3ApJSt7LrcWN1j3e/2eXBmRsKoO0SLHy5Q/bTKSpVj9c/3+SHj8YBGLCT58I9e2+D75fGSMRMpley/PrJFAC/HwUnaCDA1N0sQghefLKW/YmYSdn1mF7JBk5mJUwSsVpQn+mzmLyzjnx9RAdwvdqd24cF/jmtcFKsUHC8oOEAONUqBydl4jGDP4/PWiu3A9DtzS+2Qk0GsPDVTuixcAW+hlcGoPXidsc8BeBqTqxw3DVFbe66psn/5VIJIP7wsCsQ6rdcWklqenFNvGgYxoydS/sWJvnhRcoDE6HEHjnawM6lfa/JwqSIVhd48iQvB4zQWJqZAHYu/VMe2kIoccMwXpVdKr+aS7MS4IUpTuv/8EKIbKtIaOJTNOZWcHHapjxXrV6+bfhBaOITeoibAPzL81YmwSygV3pKCLGlQ2jiY1L8VHpJCQVZW4AAiF4VCUB/8lMiiIcG8IGwJUQWUGt+Si25QotHAmiCSElXP4cOtdAXo4hHBtAgVFKqraq2mBNFHOA/vbl1jTBiGKsAAAAASUVORK5CYII=", Yt = /* @__PURE__ */ be(/* @__PURE__ */ m({
|
|
5921
5943
|
__name: "Map",
|
|
5922
5944
|
props: {
|
|
5923
5945
|
modelValue: {},
|
|
@@ -5925,7 +5947,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
5925
5947
|
},
|
|
5926
5948
|
emits: ["update:modelValue", "callback"],
|
|
5927
5949
|
setup(e, { emit: t }) {
|
|
5928
|
-
let { t: n } = A(), r = t, i = e, { hotelMapImage: a } = I(
|
|
5950
|
+
let { t: n } = A(), r = t, i = e, { hotelMapImage: a } = I(ve()), o = X.default.Util.extend(X.default.CRS.Simple, { transformation: new X.default.Transformation(1, 0, 1, 0) }), s = b(), l = g(() => a.value?.url), u = g(() => a.value?.height), d = g(() => a.value?.width), f = X.default.icon({
|
|
5929
5951
|
iconUrl: Jt,
|
|
5930
5952
|
iconSize: [32, 37],
|
|
5931
5953
|
iconAnchor: [16, 37]
|
|
@@ -5959,7 +5981,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
5959
5981
|
});
|
|
5960
5982
|
});
|
|
5961
5983
|
}
|
|
5962
|
-
let { stop: m } =
|
|
5984
|
+
let { stop: m } = Te(s, ([{ isIntersecting: e }]) => {
|
|
5963
5985
|
e && (m(), p());
|
|
5964
5986
|
}), h = g({
|
|
5965
5987
|
get: () => i.modelValue,
|
|
@@ -6019,7 +6041,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6019
6041
|
}, nn = {
|
|
6020
6042
|
key: 1,
|
|
6021
6043
|
class: "konnectio-listing-units-body"
|
|
6022
|
-
}, rn = /* @__PURE__ */
|
|
6044
|
+
}, rn = /* @__PURE__ */ be(/* @__PURE__ */ m({
|
|
6023
6045
|
__name: "Hotel",
|
|
6024
6046
|
props: {
|
|
6025
6047
|
room: {},
|
|
@@ -6037,7 +6059,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6037
6059
|
let { t: u } = A(), f = e, m = b([]);
|
|
6038
6060
|
function h() {
|
|
6039
6061
|
let e = m.value.length;
|
|
6040
|
-
|
|
6062
|
+
ie(e);
|
|
6041
6063
|
}
|
|
6042
6064
|
function _(e) {
|
|
6043
6065
|
m.value.splice(e, 1);
|
|
@@ -6045,7 +6067,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6045
6067
|
let y = g(() => f.room.rates.map((e) => ({
|
|
6046
6068
|
label: e.name,
|
|
6047
6069
|
value: e.id
|
|
6048
|
-
}))), { hideAvailableRoomAmount: ee, autoSelectRateId: te, enableMultipleConfigurations: x } = I(
|
|
6070
|
+
}))), { hideAvailableRoomAmount: ee, autoSelectRateId: te, enableMultipleConfigurations: x } = I(ue()), { roomSelect: C, isSearchOutdated: w } = I(ve()), { addToCart: T, removeFromCart: E } = le(), ne = (e, t) => f.room.rates.find((t) => t.id === e)?.occupantRates.find((e) => e.index === t), O = g(() => f.room.roomList.some((e) => e.mapImageX && e.mapImageY)), re = g(() => f.room.rates.every((e) => e.isBreakfastIncluded === !0)), j = (e, t) => ne(e, t) ? ne(e, t)?.rooms : null, N = (e) => f.room.rates.length > 0 && f.room.rates.find((t) => t.id === e)?.occupantRates.map((e) => ({
|
|
6049
6071
|
value: e.index,
|
|
6050
6072
|
price: e.totalPrice,
|
|
6051
6073
|
adults: e.adultsCount,
|
|
@@ -6055,7 +6077,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6055
6077
|
function F(e, t) {
|
|
6056
6078
|
m.value[e].config[0].id = f.room.rates.find((e) => e.id === t.value)?.occupantRateIndex || NaN;
|
|
6057
6079
|
}
|
|
6058
|
-
function
|
|
6080
|
+
function ie(e = 0) {
|
|
6059
6081
|
P.value ? te.value ? m.value[e] = {
|
|
6060
6082
|
id: f.room.bestRateMatch || void 0,
|
|
6061
6083
|
config: [{
|
|
@@ -6080,7 +6102,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6080
6102
|
};
|
|
6081
6103
|
}
|
|
6082
6104
|
return M(() => {
|
|
6083
|
-
|
|
6105
|
+
ie();
|
|
6084
6106
|
}), k(g(() => JSON.parse(JSON.stringify(m.value))), (e, t) => {
|
|
6085
6107
|
t.length > 0 && e.forEach((e, n) => {
|
|
6086
6108
|
t[n] && e.config.forEach((e, r) => {
|
|
@@ -6109,10 +6131,10 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6109
6131
|
"prices-from": e.room.pricesFrom,
|
|
6110
6132
|
"includes-breakfast": re.value
|
|
6111
6133
|
}, {
|
|
6112
|
-
action: S(() => [c("div", { class: s(["konnectio-availability-listing-selection", { "konnectio-multiple-configurations": m.value.length > 1 }]) }, [(v(!0), D(
|
|
6134
|
+
action: S(() => [c("div", { class: s(["konnectio-availability-listing-selection", { "konnectio-multiple-configurations": m.value.length > 1 }]) }, [(v(!0), D(R, null, n(m.value, (i, o) => (v(), D("div", {
|
|
6113
6135
|
key: i.id,
|
|
6114
6136
|
class: "konnectio-hotel-room"
|
|
6115
|
-
}, [P.value ? (v(), D("div", Zt, [d(
|
|
6137
|
+
}, [P.value ? (v(), D("div", Zt, [d(Ae, {
|
|
6116
6138
|
modelValue: i.id,
|
|
6117
6139
|
"onUpdate:modelValue": (e) => i.id = e,
|
|
6118
6140
|
label: l(u)("hotel.roomVariant"),
|
|
@@ -6127,16 +6149,16 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6127
6149
|
"placeholder",
|
|
6128
6150
|
"options",
|
|
6129
6151
|
"onChanged"
|
|
6130
|
-
]), m.value.length > 1 ? (v(), D("div", Qt, [d(
|
|
6152
|
+
]), m.value.length > 1 ? (v(), D("div", Qt, [d(B, {
|
|
6131
6153
|
style: { "--buttonBackground": "var(--dangerColor)" },
|
|
6132
6154
|
icon: "trash-alt",
|
|
6133
6155
|
"icon-type": "fas",
|
|
6134
6156
|
onClickEvent: (e) => _(o),
|
|
6135
6157
|
secondary: ""
|
|
6136
|
-
}, null, 8, ["onClickEvent"])])) : p("", !0)])) : p("", !0), i.id ? (v(), D("div", $t, [(v(!0), D(
|
|
6158
|
+
}, null, 8, ["onClickEvent"])])) : p("", !0)])) : p("", !0), i.id ? (v(), D("div", $t, [(v(!0), D(R, null, n(e.room.rates, ({ id: o, maximumOccupants: s }) => (v(), D("div", {
|
|
6137
6159
|
key: o,
|
|
6138
6160
|
class: "konnectio-listing-action-selective-i"
|
|
6139
|
-
}, [i.id === o ? (v(!0), D(
|
|
6161
|
+
}, [i.id === o ? (v(!0), D(R, { key: 0 }, n(i.config, (n, f) => (v(), D("div", {
|
|
6140
6162
|
key: f,
|
|
6141
6163
|
class: "konnectio-listing-action-selective"
|
|
6142
6164
|
}, [c("ul", en, [d(qt, {
|
|
@@ -6155,7 +6177,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6155
6177
|
"description",
|
|
6156
6178
|
"options",
|
|
6157
6179
|
"readonly"
|
|
6158
|
-
])]), O.value ? (v(), D("div", nn, [d(
|
|
6180
|
+
])]), O.value ? (v(), D("div", nn, [d(B, {
|
|
6159
6181
|
onClickEvent: r,
|
|
6160
6182
|
label: l(u)("hotel.selectRoomOnMap"),
|
|
6161
6183
|
secondary: "",
|
|
@@ -6171,7 +6193,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6171
6193
|
"modelValue",
|
|
6172
6194
|
"room-list",
|
|
6173
6195
|
"config"
|
|
6174
|
-
])])) : (v(), D("ul", tn, [d(
|
|
6196
|
+
])])) : (v(), D("ul", tn, [d(ke, {
|
|
6175
6197
|
modelValue: n.units,
|
|
6176
6198
|
"onUpdate:modelValue": (e) => n.units = e,
|
|
6177
6199
|
description: l(ee) ? void 0 : `${l(u)("booking.availability.availableUnits")}: ${j(i.id, n.id)}`,
|
|
@@ -6190,7 +6212,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6190
6212
|
])]))]))), 128)) : p("", !0)]))), 128))])) : p("", !0)]))), 128)), l(x) && P.value ? (v(), D("button", {
|
|
6191
6213
|
key: 0,
|
|
6192
6214
|
class: "konnectio-hotel-add-extra-room link",
|
|
6193
|
-
onClick:
|
|
6215
|
+
onClick: ae(h, ["prevent"])
|
|
6194
6216
|
}, [c("span", null, i(l(u)("hotel.addExtraVariant")), 1)])) : p("", !0)], 2)]),
|
|
6195
6217
|
_: 1
|
|
6196
6218
|
}, 8, [
|
|
@@ -6204,10 +6226,10 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6204
6226
|
"includes-breakfast"
|
|
6205
6227
|
]));
|
|
6206
6228
|
}
|
|
6207
|
-
}), [["__scopeId", "data-v-a4489b39"]]), Q = { class: "konnectio-template-side-panel" }, an = { class: "konnectio-template-side-panel-listings" },
|
|
6229
|
+
}), [["__scopeId", "data-v-a4489b39"]]), Q = { class: "konnectio-template-side-panel" }, an = { class: "konnectio-template-side-panel-listings" }, $ = { class: "konnectio-template-room-config" }, on = { class: "konnectio-template-room-units" }, sn = { class: "konnectio-template-room-unit-header" }, cn = { class: "konnectio-template-room-guests" }, ln = { class: "konnectio-template-footer" }, un = {
|
|
6208
6230
|
key: 0,
|
|
6209
6231
|
class: "konnectio-template-selection-preview"
|
|
6210
|
-
}, dn = { class: "konnectio-template-selection-item-header" }, fn = { class: "konnectio-template-selection-item-name" }, pn = { class: "konnectio-template-selection-item-price" }, mn = { class: "konnectio-template-selection-item-units" }, hn = /* @__PURE__ */
|
|
6232
|
+
}, dn = { class: "konnectio-template-selection-item-header" }, fn = { class: "konnectio-template-selection-item-name" }, pn = { class: "konnectio-template-selection-item-price" }, mn = { class: "konnectio-template-selection-item-units" }, hn = /* @__PURE__ */ be(/* @__PURE__ */ m({
|
|
6211
6233
|
__name: "Template",
|
|
6212
6234
|
props: {
|
|
6213
6235
|
title: {},
|
|
@@ -6218,7 +6240,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6218
6240
|
callback: { type: Function }
|
|
6219
6241
|
},
|
|
6220
6242
|
setup(e) {
|
|
6221
|
-
let { t } = A(), r =
|
|
6243
|
+
let { t } = A(), r = ue(), { templateID: a, roomGroupID: s, templateRoomSelections: f, selectionHasNoAddons: m, currentAdults: h, currentChildren: _ } = I(ve()), { currency: y } = I(r), { clearRoomSelection: ee } = ve(), { addToCart: te } = le(), x = e, C = b(!1), w = h.value || 1, T = _.value || 0, E = ie({}), O = g(() => {
|
|
6222
6244
|
function e(e, t) {
|
|
6223
6245
|
return C.value === !0 ? e.extraPrice > t.extraPrice ? -1 : 1 : e.extraPrice > t.extraPrice ? 1 : -1;
|
|
6224
6246
|
}
|
|
@@ -6280,27 +6302,27 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6280
6302
|
});
|
|
6281
6303
|
}), e;
|
|
6282
6304
|
});
|
|
6283
|
-
function
|
|
6305
|
+
function ae(e, t) {
|
|
6284
6306
|
return F.value[e]?.[t] ?? 0;
|
|
6285
6307
|
}
|
|
6286
|
-
function
|
|
6308
|
+
function oe() {
|
|
6287
6309
|
let e = 0;
|
|
6288
6310
|
return O.value.forEach((t) => {
|
|
6289
6311
|
let n = E[t.id];
|
|
6290
6312
|
if (!(!n || n.units === 0)) for (let r = 0; r < n.units; r++) {
|
|
6291
|
-
let n =
|
|
6313
|
+
let n = ae(t.id, r);
|
|
6292
6314
|
e += n + x.weekendFee;
|
|
6293
6315
|
}
|
|
6294
6316
|
}), e;
|
|
6295
6317
|
}
|
|
6296
|
-
function
|
|
6318
|
+
function se() {
|
|
6297
6319
|
return Object.values(E).reduce((e, t) => e + t.units, 0);
|
|
6298
6320
|
}
|
|
6299
|
-
let
|
|
6321
|
+
let ce = g(() => O.value.filter((e) => E[e.id]?.units > 0).map((e) => {
|
|
6300
6322
|
let t = E[e.id], n = t.configs.slice(0, t.units).map((t, n) => ({
|
|
6301
6323
|
adults: t.adults,
|
|
6302
6324
|
children: t.children,
|
|
6303
|
-
price:
|
|
6325
|
+
price: ae(e.id, n) + x.weekendFee
|
|
6304
6326
|
}));
|
|
6305
6327
|
return {
|
|
6306
6328
|
id: e.id,
|
|
@@ -6309,10 +6331,10 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6309
6331
|
units: n
|
|
6310
6332
|
};
|
|
6311
6333
|
}));
|
|
6312
|
-
k(
|
|
6334
|
+
k(ce, () => {
|
|
6313
6335
|
u(() => window.dispatchEvent(new Event("resize")));
|
|
6314
6336
|
});
|
|
6315
|
-
function
|
|
6337
|
+
function de() {
|
|
6316
6338
|
if (!Object.values(E).some((e) => e.units > 0)) return;
|
|
6317
6339
|
ee();
|
|
6318
6340
|
let e = [], t = 0, n = 0;
|
|
@@ -6329,7 +6351,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6329
6351
|
}))
|
|
6330
6352
|
}), s.value ||= r.id;
|
|
6331
6353
|
for (let e = 0; e < i.units; e++) {
|
|
6332
|
-
let t =
|
|
6354
|
+
let t = ae(r.id, e);
|
|
6333
6355
|
te({
|
|
6334
6356
|
id: r.id,
|
|
6335
6357
|
name: r.title,
|
|
@@ -6349,23 +6371,23 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6349
6371
|
title: e.title,
|
|
6350
6372
|
subtitle: l(t)("booking.availability.selectATemplateRoom")
|
|
6351
6373
|
}, {
|
|
6352
|
-
footer: S(() => [c("div", ln, [
|
|
6374
|
+
footer: S(() => [c("div", ln, [ce.value.length > 0 ? (v(), D("div", un, [(v(!0), D(R, null, n(ce.value, (e) => (v(), D("div", {
|
|
6353
6375
|
key: e.id,
|
|
6354
6376
|
class: "konnectio-template-selection-item"
|
|
6355
|
-
}, [c("div", dn, [c("span", fn, i(e.title), 1), c("span", pn, i(l(
|
|
6377
|
+
}, [c("div", dn, [c("span", fn, i(e.title), 1), c("span", pn, i(l(he)(e.totalPrice, l(y))), 1)]), c("div", mn, [(v(!0), D(R, null, n(e.units, (e, n) => (v(), D("span", {
|
|
6356
6378
|
key: n,
|
|
6357
6379
|
class: "konnectio-template-selection-unit"
|
|
6358
6380
|
}, [
|
|
6359
6381
|
ne(i(l(t)("booking.reservation.room")) + " " + i(n + 1) + ": " + i(e.adults) + " " + i(l(t)("availability.adults")) + " ", 1),
|
|
6360
|
-
e.children > 0 ? (v(), D(
|
|
6361
|
-
ne(" · " + i(l(
|
|
6362
|
-
]))), 128))])]))), 128))])) : p("", !0), d(
|
|
6363
|
-
onClickEvent:
|
|
6364
|
-
label: `${
|
|
6365
|
-
disabled:
|
|
6382
|
+
e.children > 0 ? (v(), D(R, { key: 0 }, [ne(" , " + i(e.children) + " " + i(l(t)("availability.children")), 1)], 64)) : p("", !0),
|
|
6383
|
+
ne(" · " + i(l(he)(e.price, l(y))), 1)
|
|
6384
|
+
]))), 128))])]))), 128))])) : p("", !0), d(B, {
|
|
6385
|
+
onClickEvent: de,
|
|
6386
|
+
label: `${se() > 1 ? l(t)("booking.availability.selectTheseRooms") : l(t)("booking.availability.selectThisRoom")} (${l(he)(oe(), l(y))})`,
|
|
6387
|
+
disabled: se() === 0,
|
|
6366
6388
|
"full-width": ""
|
|
6367
6389
|
}, null, 8, ["label", "disabled"])])]),
|
|
6368
|
-
default: S(() => [c("div", Q, [c("div", an, [(v(!0), D(
|
|
6390
|
+
default: S(() => [c("div", Q, [c("div", an, [(v(!0), D(R, null, n(O.value, (e) => (v(), o(Ke, {
|
|
6369
6391
|
key: e.id,
|
|
6370
6392
|
type: "hotel",
|
|
6371
6393
|
"listing-id": e.id,
|
|
@@ -6377,7 +6399,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6377
6399
|
"includes-breakfast": !1,
|
|
6378
6400
|
"hide-info-button": !0
|
|
6379
6401
|
}, {
|
|
6380
|
-
action: S(() => [c("div",
|
|
6402
|
+
action: S(() => [c("div", $, [c("div", on, [d(ke, {
|
|
6381
6403
|
modelValue: E[e.id].units,
|
|
6382
6404
|
"onUpdate:modelValue": (t) => E[e.id].units = t,
|
|
6383
6405
|
label: l(t)("booking.availability.units"),
|
|
@@ -6392,10 +6414,10 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6392
6414
|
"onUpdate:modelValue",
|
|
6393
6415
|
"label",
|
|
6394
6416
|
"max-value"
|
|
6395
|
-
])]), (v(!0), D(
|
|
6417
|
+
])]), (v(!0), D(R, null, n(E[e.id].configs, (n, r) => (v(), D("div", {
|
|
6396
6418
|
key: r,
|
|
6397
6419
|
class: "konnectio-template-room-unit-config"
|
|
6398
|
-
}, [c("div",
|
|
6420
|
+
}, [c("div", sn, [c("span", null, i(l(t)("booking.reservation.room")) + " " + i(r + 1), 1), c("span", null, i(l(he)(ae(e.id, r), l(y))), 1)]), c("div", cn, [d(ke, {
|
|
6399
6421
|
modelValue: n.adults,
|
|
6400
6422
|
"onUpdate:modelValue": (e) => n.adults = e,
|
|
6401
6423
|
label: l(t)("availability.adults"),
|
|
@@ -6412,7 +6434,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6412
6434
|
"label",
|
|
6413
6435
|
"description",
|
|
6414
6436
|
"max-value"
|
|
6415
|
-
]), d(
|
|
6437
|
+
]), d(ke, {
|
|
6416
6438
|
modelValue: n.children,
|
|
6417
6439
|
"onUpdate:modelValue": (e) => n.children = e,
|
|
6418
6440
|
label: l(t)("availability.children"),
|
|
@@ -6455,7 +6477,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6455
6477
|
callback: { type: Function }
|
|
6456
6478
|
},
|
|
6457
6479
|
setup(e) {
|
|
6458
|
-
let { t } = A(), n = e, { isSearchOutdated: r } = I(
|
|
6480
|
+
let { t } = A(), n = e, { isSearchOutdated: r } = I(ve()), i = g(() => n.roomGroups.reduce((e, t) => e < t.extraPrice ? e : t.extraPrice, Infinity) + n.weekendFee), a = b(!1);
|
|
6459
6481
|
function s() {
|
|
6460
6482
|
a.value = !0;
|
|
6461
6483
|
}
|
|
@@ -6468,12 +6490,12 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6468
6490
|
name: e.name,
|
|
6469
6491
|
description: e.description,
|
|
6470
6492
|
gallery: e.images,
|
|
6471
|
-
layout: l(
|
|
6493
|
+
layout: l(ye).Template,
|
|
6472
6494
|
"includes-breakfast": !1,
|
|
6473
6495
|
"hide-info-button": !1,
|
|
6474
6496
|
"prices-from": i.value
|
|
6475
6497
|
}, {
|
|
6476
|
-
action: S(() => [c("div", gn, [d(
|
|
6498
|
+
action: S(() => [c("div", gn, [d(B, {
|
|
6477
6499
|
onClickEvent: s,
|
|
6478
6500
|
label: l(t)("booking.availability.selectPackage"),
|
|
6479
6501
|
"full-width": "",
|
|
@@ -6506,7 +6528,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6506
6528
|
"prices-from"
|
|
6507
6529
|
]));
|
|
6508
6530
|
}
|
|
6509
|
-
}), vn = { class: "konnectio-special-offer-availability" }, yn = { class: "konnectio-special-offer-availability-button" }, bn = /* @__PURE__ */
|
|
6531
|
+
}), vn = { class: "konnectio-special-offer-availability" }, yn = { class: "konnectio-special-offer-availability-button" }, bn = /* @__PURE__ */ be(/* @__PURE__ */ m({
|
|
6510
6532
|
__name: "SpecialOffer",
|
|
6511
6533
|
props: {
|
|
6512
6534
|
id: {},
|
|
@@ -6519,7 +6541,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6519
6541
|
roomGroups: {}
|
|
6520
6542
|
},
|
|
6521
6543
|
setup(e) {
|
|
6522
|
-
let { t } = A(), { updateDates: n } =
|
|
6544
|
+
let { t } = A(), { updateDates: n } = ce(), { display: r } = _e(), i = e, a = b([]), s = g(() => ge(i.fromDate, i.toDate) === 1);
|
|
6523
6545
|
function u() {
|
|
6524
6546
|
a.value.length > 0 ? n(a.value[0], a.value[1]) : r({
|
|
6525
6547
|
message: t("alert.error.selectDates"),
|
|
@@ -6534,7 +6556,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6534
6556
|
name: e.name,
|
|
6535
6557
|
description: e.description,
|
|
6536
6558
|
gallery: e.images,
|
|
6537
|
-
layout: l(
|
|
6559
|
+
layout: l(ye).Template,
|
|
6538
6560
|
"includes-breakfast": !1,
|
|
6539
6561
|
"hide-info-button": !1,
|
|
6540
6562
|
"to-date": e.toDate,
|
|
@@ -6562,9 +6584,9 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6562
6584
|
"min-date",
|
|
6563
6585
|
"max-date",
|
|
6564
6586
|
"readonly"
|
|
6565
|
-
]), c("div", yn, [d(
|
|
6587
|
+
]), c("div", yn, [d(B, {
|
|
6566
6588
|
label: l(t)("availability.buttonLabel"),
|
|
6567
|
-
onClick:
|
|
6589
|
+
onClick: ae(u, ["prevent"])
|
|
6568
6590
|
}, null, 8, ["label"])])])]),
|
|
6569
6591
|
_: 1
|
|
6570
6592
|
}, 8, [
|
|
@@ -6634,7 +6656,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6634
6656
|
}), Sn = { style: {
|
|
6635
6657
|
display: "flex",
|
|
6636
6658
|
"align-items": "baseline"
|
|
6637
|
-
} }, Cn = /* @__PURE__ */
|
|
6659
|
+
} }, Cn = /* @__PURE__ */ be(/* @__PURE__ */ m({
|
|
6638
6660
|
__name: "CountryField",
|
|
6639
6661
|
props: {
|
|
6640
6662
|
modelValue: {},
|
|
@@ -6660,7 +6682,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6660
6682
|
get: () => a.modelValue,
|
|
6661
6683
|
set: (e) => u(e)
|
|
6662
6684
|
});
|
|
6663
|
-
return (t, r) => (v(), o(
|
|
6685
|
+
return (t, r) => (v(), o(Ae, {
|
|
6664
6686
|
modelValue: d.value,
|
|
6665
6687
|
"onUpdate:modelValue": r[0] ||= (e) => d.value = e,
|
|
6666
6688
|
label: e.label,
|
|
@@ -6681,7 +6703,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6681
6703
|
"required"
|
|
6682
6704
|
]));
|
|
6683
6705
|
}
|
|
6684
|
-
}), [["__scopeId", "data-v-a94e1728"]]), wn = /* @__PURE__ */
|
|
6706
|
+
}), [["__scopeId", "data-v-a94e1728"]]), wn = /* @__PURE__ */ be(/* @__PURE__ */ m({
|
|
6685
6707
|
__name: "NameField",
|
|
6686
6708
|
props: {
|
|
6687
6709
|
modelValue: {},
|
|
@@ -6717,7 +6739,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6717
6739
|
},
|
|
6718
6740
|
emits: ["update:modelValue", "update:title"],
|
|
6719
6741
|
setup(e, { emit: t }) {
|
|
6720
|
-
let n = e, r = t, i = n.id ||
|
|
6742
|
+
let n = e, r = t, i = n.id || Se(), a = b(""), u = b(2);
|
|
6721
6743
|
function f() {
|
|
6722
6744
|
r("update:modelValue", a.value);
|
|
6723
6745
|
}
|
|
@@ -6727,7 +6749,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6727
6749
|
let { t: m } = A();
|
|
6728
6750
|
return M(() => {
|
|
6729
6751
|
n.modelValue && (a.value = n.modelValue), n.title && (u.value = n.title);
|
|
6730
|
-
}), (t, n) => (v(), o(
|
|
6752
|
+
}), (t, n) => (v(), o(Ce, {
|
|
6731
6753
|
label: e.label,
|
|
6732
6754
|
id: l(i),
|
|
6733
6755
|
required: e.required,
|
|
@@ -6735,11 +6757,11 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6735
6757
|
readonly: e.readonly,
|
|
6736
6758
|
limit: e.limit
|
|
6737
6759
|
}, {
|
|
6738
|
-
default: S(() => [c("div", { class: s(["konnectio-name-input", { "no-title": e.excludeTitle }]) }, [e.excludeTitle ? p("", !0) : (v(), o(
|
|
6760
|
+
default: S(() => [c("div", { class: s(["konnectio-name-input", { "no-title": e.excludeTitle }]) }, [e.excludeTitle ? p("", !0) : (v(), o(Ae, {
|
|
6739
6761
|
key: 0,
|
|
6740
6762
|
modelValue: u.value,
|
|
6741
6763
|
"onUpdate:modelValue": n[0] ||= (e) => u.value = e,
|
|
6742
|
-
id: l(
|
|
6764
|
+
id: l(Se)(),
|
|
6743
6765
|
icon: e.icon,
|
|
6744
6766
|
"icon-color": e.iconColor,
|
|
6745
6767
|
"icon-type": e.iconType,
|
|
@@ -6776,7 +6798,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6776
6798
|
"icon-type",
|
|
6777
6799
|
"options",
|
|
6778
6800
|
"readonly"
|
|
6779
|
-
])), d(
|
|
6801
|
+
])), d(De, {
|
|
6780
6802
|
modelValue: a.value,
|
|
6781
6803
|
"onUpdate:modelValue": n[1] ||= (e) => a.value = e,
|
|
6782
6804
|
type: "text",
|
|
@@ -6811,7 +6833,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6811
6833
|
"limit"
|
|
6812
6834
|
]));
|
|
6813
6835
|
}
|
|
6814
|
-
}), [["__scopeId", "data-v-9d27a2bc"]]), Tn = { class: "hotel-skeleton" }, En = { class: "hotel-skeleton-content" }, Dn = { class: "hotel-skeleton-sidebar" }, On = /* @__PURE__ */
|
|
6836
|
+
}), [["__scopeId", "data-v-9d27a2bc"]]), Tn = { class: "hotel-skeleton" }, En = { class: "hotel-skeleton-content" }, Dn = { class: "hotel-skeleton-sidebar" }, On = /* @__PURE__ */ be(/* @__PURE__ */ m({
|
|
6815
6837
|
__name: "HotelSkeleton",
|
|
6816
6838
|
setup(e) {
|
|
6817
6839
|
return (e, t) => (v(), D("div", Tn, [c("div", En, [d(Ne, { hotel: "" }), d(Ue)]), c("div", Dn, [d(We)])]));
|
|
@@ -6884,12 +6906,12 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6884
6906
|
}, kr = { class: "konnectio-split-inputs" }, Ar = {
|
|
6885
6907
|
key: 0,
|
|
6886
6908
|
class: "konnectio-hotel-member-card-mockup"
|
|
6887
|
-
}, jr = ["src"], Mr = { class: "konnectio-hotel-member-card-details" }, Nr = { key: 0 }, Pr = { key: 0 }, Fr = /* @__PURE__ */
|
|
6909
|
+
}, jr = ["src"], Mr = { class: "konnectio-hotel-member-card-details" }, Nr = { key: 0 }, Pr = { key: 0 }, Fr = /* @__PURE__ */ be(/* @__PURE__ */ m({
|
|
6888
6910
|
name: "HotelLayout",
|
|
6889
6911
|
__name: "Hotel",
|
|
6890
6912
|
props: {
|
|
6891
6913
|
accessToken: {},
|
|
6892
|
-
headerLayout: { default:
|
|
6914
|
+
headerLayout: { default: z.Minimal },
|
|
6893
6915
|
onlyShow: { default: "everything" },
|
|
6894
6916
|
hideAddons: { default: "no" },
|
|
6895
6917
|
disableDefaultLocation: { default: "no" },
|
|
@@ -6905,7 +6927,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6905
6927
|
styling: {}
|
|
6906
6928
|
},
|
|
6907
6929
|
setup(e) {
|
|
6908
|
-
let t = f(() => import("./_-
|
|
6930
|
+
let t = f(() => import("./_-BX401C4m.js").then((e) => e.n)), r = e, { t: a } = A(), { currentLocation: u, templateID: m, templateRoomSelections: _, templateRoomUnits: ee, countries: te, areListingsLoading: b, isPaymentLoading: x, isReservationFormFilled: C, travelingFor: E, arrivalTime: O, departureTime: k, name: re, nameTitle: j, email: M, phone: N, firmName: P, postal: F, city: ie, address: ae, country: oe, remark: ge, allergies: ye, roomSelect: be, roomDisplay: xe, hasValidRoomSelection: Se, availabilityData: z, selectionHasNoAddons: Ce, isAvailabilityDataAvailable: Te, getSelectedPackageRooms: Ae, selectedPackage: Me, isSearchOutdated: Ne, isTemplateReservation: Fe, newsMails: Ie, adultsMismatch: Ve, childrenMismatch: He, totalAdults: Ue, totalChildren: We, hasGuestDiscountId: Ge, hasGuestDiscountCode: Ke, guestDiscountId: qe, guestDiscountName: Xe, guestDiscountCode: Ze, hasMemberCards: Qe, memberCardList: $e, selectedMemberCard: et, memberCardControlNumber: tt, memberCardNumber: nt, selectedMemberCardObject: rt, selectedMemberCardData: it, discountCode: at, discountPayload: ot } = I(ve()), { adults: st, children: ct, location: lt, arrivalDate: ut, departureDate: dt, hasHotelLocations: ft } = I(ce()), { isValidHotelId: pt, updateDates: mt } = ce(), { currency: ht, enableTracking: gt, disableNamePrefix: _t, disableTravelingFor: U, disableTravelingForBleasure: W, disableCompanyField: yt, hasPaymentGateway: bt, maxAdultAmount: xt, maxChildAmount: St, defaultAdultAmount: G, defaultChildAmount: K, disableNewsletterSignup: Ct, hasActiveIdFilter: wt, hotelSettings: Tt } = I(ue()), { hasArrivalDepartureInputs: Et, hasUserArrivalSelection: Dt, hasUserDepartureSelection: Ot, earliestArrivalTime: q, latestArrivalTime: kt, earliestDepartureTime: At, latestDepartureTime: jt, setActiveIdFilter: Mt, clearActiveIdFilter: Nt } = ue(), { beginCheckout: Pt } = le(), { display: Ft } = _e(), { createReservation: It, fetchMetadata: Rt, fetchAvailabilityData: zt, filterAddons: Bt, hasAvailableRoomAddons: Vt, checkGuestDiscount: J, setGuestDiscountCode: Ut, validateMemberCard: Y, onOverviewReset: Wt, validateDiscountCode: Gt } = ve(), Kt = g(() => r.sortOrder === "desc"), qt = g(() => [
|
|
6909
6931
|
{
|
|
6910
6932
|
id: "availability",
|
|
6911
6933
|
label: a("booking.availability.title"),
|
|
@@ -6930,7 +6952,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6930
6952
|
label: a("booking.confirmation.title"),
|
|
6931
6953
|
icon: "calendar-check"
|
|
6932
6954
|
}
|
|
6933
|
-
]),
|
|
6955
|
+
]), X = g(() => {
|
|
6934
6956
|
let e = [{
|
|
6935
6957
|
label: a("booking.reservation.business"),
|
|
6936
6958
|
value: "Business"
|
|
@@ -6938,99 +6960,102 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6938
6960
|
label: a("booking.reservation.pleasure"),
|
|
6939
6961
|
value: "Pleasure"
|
|
6940
6962
|
}];
|
|
6941
|
-
return
|
|
6963
|
+
return W.value || e.push({
|
|
6942
6964
|
label: a("booking.reservation.bleasure"),
|
|
6943
6965
|
value: "Bleasure"
|
|
6944
6966
|
}), e;
|
|
6945
|
-
}),
|
|
6946
|
-
let e =
|
|
6967
|
+
}), Jt = g(() => {
|
|
6968
|
+
let e = z.value.roomGroups.slice();
|
|
6947
6969
|
function t(e, t) {
|
|
6948
|
-
return
|
|
6970
|
+
return Kt.value === !0 ? e.pricesFrom > t.pricesFrom ? -1 : 1 : e.pricesFrom > t.pricesFrom ? 1 : -1;
|
|
6949
6971
|
}
|
|
6950
6972
|
return r.sortBy === "price" && (e = e.sort(t)), Object.groupBy(e, (e) => e.roomList.some((e) => e.mapImageX && e.mapImageY) ? "camping" : "rooms");
|
|
6951
6973
|
});
|
|
6952
|
-
function
|
|
6974
|
+
function Yt(e) {
|
|
6953
6975
|
return (e.templateRoomGroups.length > 0 ? Math.min(...e.templateRoomGroups.map((e) => e.totalPrice)) : 0) + e.weekendFee;
|
|
6954
6976
|
}
|
|
6955
|
-
let
|
|
6956
|
-
let e =
|
|
6977
|
+
let Z = g(() => {
|
|
6978
|
+
let e = z.value.templates.slice();
|
|
6957
6979
|
return r.sortBy === "price" && e.sort((e, t) => {
|
|
6958
|
-
let n =
|
|
6959
|
-
return
|
|
6980
|
+
let n = Yt(e), r = Yt(t);
|
|
6981
|
+
return Kt.value ? r - n : n - r;
|
|
6960
6982
|
}), e;
|
|
6961
|
-
}),
|
|
6962
|
-
let e =
|
|
6983
|
+
}), Xt = g(() => {
|
|
6984
|
+
let e = z.value.specialTemplates.slice();
|
|
6963
6985
|
return r.sortBy === "price" && e.sort((e, t) => {
|
|
6964
|
-
let n =
|
|
6965
|
-
return
|
|
6986
|
+
let n = Yt(e), r = Yt(t);
|
|
6987
|
+
return Kt.value ? r - n : n - r;
|
|
6966
6988
|
}), e;
|
|
6967
|
-
}),
|
|
6968
|
-
function
|
|
6989
|
+
}), Zt = g(() => r.hideAddons === "yes" || Fe.value && r.hideAddons === "packages" || !Fe.value && r.hideAddons === "rooms");
|
|
6990
|
+
function Qt(e) {
|
|
6969
6991
|
let t = $.discount;
|
|
6970
|
-
t
|
|
6992
|
+
t ? (at.value = t, Gt()) : Ke.value && !ot.value && (at.value = Ze.value, Gt()), e();
|
|
6971
6993
|
}
|
|
6972
|
-
function
|
|
6973
|
-
|
|
6994
|
+
function $t(e) {
|
|
6995
|
+
Zt.value || Ce.value ? e(2) : e();
|
|
6974
6996
|
}
|
|
6975
|
-
async function
|
|
6976
|
-
await
|
|
6997
|
+
async function en(e, t) {
|
|
6998
|
+
await It(e, t);
|
|
6977
6999
|
}
|
|
6978
|
-
function
|
|
6979
|
-
if (isNaN(
|
|
6980
|
-
|
|
7000
|
+
function tn() {
|
|
7001
|
+
if (isNaN(lt.value) && ft.value) {
|
|
7002
|
+
Ft({
|
|
6981
7003
|
message: a("alert.error.selectHotelId"),
|
|
6982
7004
|
type: "error"
|
|
6983
7005
|
});
|
|
6984
7006
|
return;
|
|
6985
7007
|
}
|
|
6986
|
-
|
|
7008
|
+
zt();
|
|
6987
7009
|
}
|
|
6988
|
-
function
|
|
6989
|
-
let e =
|
|
6990
|
-
|
|
7010
|
+
function nn() {
|
|
7011
|
+
let e = Ee("history", { removeNullishValues: !0 });
|
|
7012
|
+
Nt(), e.id = void 0, zt();
|
|
6991
7013
|
}
|
|
6992
|
-
function
|
|
6993
|
-
|
|
7014
|
+
function Q(e) {
|
|
7015
|
+
gt.value && Pt(), Ke.value && !ot.value && (at.value = Ze.value, Gt()), Zt.value || Ce.value ? e(2) : e();
|
|
6994
7016
|
}
|
|
6995
|
-
function
|
|
6996
|
-
r.forceArrivalTime && r.forceDepartureTime && (
|
|
7017
|
+
function an() {
|
|
7018
|
+
r.forceArrivalTime && r.forceDepartureTime && (Tt.value[lt.value].disableArrivalUserSelection = !0, r.forceArrivalTime && (Tt.value[lt.value].arrivalDefault = r.forceArrivalTime), r.forceDepartureTime && (Tt.value[lt.value].departureDefault = r.forceDepartureTime));
|
|
6997
7019
|
}
|
|
6998
|
-
let $ =
|
|
6999
|
-
async function
|
|
7000
|
-
|
|
7020
|
+
let $ = Ee("history", { removeNullishValues: !0 });
|
|
7021
|
+
async function on() {
|
|
7022
|
+
an();
|
|
7001
7023
|
let e = parseInt($.a), t = parseInt($.c), n = parseInt($.hid), i = parseInt($.n), o = $.ci, s = $.co, c = $.id, l = parseInt($.gid), d = $.discount, f = !1;
|
|
7002
|
-
if (isNaN(e) || (e >
|
|
7024
|
+
if (isNaN(e) || (e > xt.value ? st.value = xt.value : st.value = e, st.value === G.value && ($.a = void 0)), isNaN(t) || (t > St.value ? ct.value = St.value : ct.value = t, ct.value === K.value && ($.c = void 0)), isNaN(i) || i > 0 && ($.n = void 0), isNaN(n) || (pt(n) ? (lt.value = n, f = !0) : ($.hid = void 0, Ft({
|
|
7003
7025
|
message: a("alert.error.hotelIdNotFound"),
|
|
7004
7026
|
type: "error"
|
|
7005
|
-
}))), o && s) if (
|
|
7027
|
+
}))), o && s) if (pe(o) && pe(s)) {
|
|
7006
7028
|
let e = new Date(new Date(o).setHours(12, 0, 0, 0)), t = new Date(new Date(s).setHours(12, 0, 0, 0));
|
|
7007
|
-
e <= t ? (
|
|
7029
|
+
e <= t ? (ut.value = e, dt.value = t) : ($.ci = void 0, $.co = void 0, Ft({
|
|
7008
7030
|
message: a("alert.error.invalidDateRange"),
|
|
7009
7031
|
type: "error"
|
|
7010
7032
|
}));
|
|
7011
|
-
} else
|
|
7033
|
+
} else Ft({
|
|
7012
7034
|
message: a("alert.error.wrongDateFormat"),
|
|
7013
7035
|
type: "error"
|
|
7014
7036
|
});
|
|
7015
|
-
if (c &&
|
|
7016
|
-
await
|
|
7037
|
+
if (c && Mt(c), l) {
|
|
7038
|
+
await J(l) || ($.gid = void 0);
|
|
7017
7039
|
return;
|
|
7018
7040
|
}
|
|
7019
|
-
d &&
|
|
7041
|
+
d && Ut(d), r.disableDefaultLocation === "yes" && f === !1 ? (lt.value = void 0, u.value = void 0) : zt();
|
|
7020
7042
|
}
|
|
7021
|
-
return (r, f) => (v(), o(
|
|
7022
|
-
default: S(() => [(v(), o(h, { onResolve:
|
|
7043
|
+
return (r, f) => (v(), o(we, { styling: e.styling }, {
|
|
7044
|
+
default: S(() => [(v(), o(h, { onResolve: on }, {
|
|
7023
7045
|
default: S(() => [d(l(t), {
|
|
7024
7046
|
id: "konnectio-hotel-module",
|
|
7025
7047
|
"access-token": e.accessToken,
|
|
7026
|
-
callback: l(
|
|
7048
|
+
callback: l(Rt)
|
|
7027
7049
|
}, {
|
|
7028
|
-
default: S(() => [w(d(Ht, { onCallback:
|
|
7050
|
+
default: S(() => [w(d(Ht, { onCallback: on }, null, 512), [[y, e.requireGuestDiscountId === "yes" && !l(Ge)]]), w(d(Re, {
|
|
7029
7051
|
layout: e.headerLayout,
|
|
7030
|
-
steps:
|
|
7031
|
-
onReset: l(
|
|
7052
|
+
steps: qt.value,
|
|
7053
|
+
onReset: l(Wt)
|
|
7032
7054
|
}, {
|
|
7033
|
-
availability: S(({ next: t }) => [d(Lt, {
|
|
7055
|
+
availability: S(({ next: t }) => [d(Lt, {
|
|
7056
|
+
"show-remove-room": !0,
|
|
7057
|
+
"availability-discount": ""
|
|
7058
|
+
}, {
|
|
7034
7059
|
form: S(() => [c("div", kn, [
|
|
7035
7060
|
c("div", An, [d(Pe, {
|
|
7036
7061
|
booking: !0,
|
|
@@ -7042,19 +7067,19 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7042
7067
|
"disable-default-location",
|
|
7043
7068
|
"hide-locations"
|
|
7044
7069
|
])]),
|
|
7045
|
-
l(
|
|
7046
|
-
l(
|
|
7047
|
-
l(
|
|
7070
|
+
l(Ge) ? (v(), D("div", jn, [c("span", { innerHTML: l(a)("guestDiscount.displayMessage", { name: `<b>${l(Xe) ? l(Xe) : l(qe)}</b>` }) }, null, 8, Mn)])) : p("", !0),
|
|
7071
|
+
l(Ke) ? (v(), D("div", Nn, [c("span", { innerHTML: l(a)("guestDiscount.displayMessage", { name: `<b>${l(Ze)}</b>` }) }, null, 8, Pn)])) : p("", !0),
|
|
7072
|
+
l(wt) ? (v(), D("div", Fn, [c("span", null, [ne(i(l(a)("general.filteredListingNotice")) + " ", 1), c("button", {
|
|
7048
7073
|
class: "link",
|
|
7049
|
-
onClick: f[0] ||= (e) =>
|
|
7074
|
+
onClick: f[0] ||= (e) => nn()
|
|
7050
7075
|
}, i(l(a)("general.filteredListingShowAll")), 1)])])) : p("", !0),
|
|
7051
7076
|
p("", !0),
|
|
7052
|
-
!l(
|
|
7053
|
-
l(
|
|
7077
|
+
!l(b) && l(Te) ? (v(), D("div", In, [Jt.value.camping && Jt.value.camping.length > 0 && e.onlyShow !== "non-camping" || Jt.value.rooms && Jt.value.rooms.length > 0 || l(z).templates.length > 0 || l(z).specialTemplates.length > 0 ? (v(), D("div", Ln, [
|
|
7078
|
+
l(z).templates.length > 0 && e.onlyShow !== "rooms" && e.onlyShow !== "camping" ? (v(), D("div", Rn, [e.onlyShow === "packages" ? p("", !0) : (v(), D("h2", zn, [d(V, {
|
|
7054
7079
|
icon: "box",
|
|
7055
7080
|
type: "fal",
|
|
7056
7081
|
color: "header"
|
|
7057
|
-
}), c("span", null, i(l(a)("booking.availability.packagesTitle")), 1)])), c("ul", Bn, [(v(!0), D(
|
|
7082
|
+
}), c("span", null, i(l(a)("booking.availability.packagesTitle")), 1)])), c("ul", Bn, [(v(!0), D(R, null, n(Z.value, ({ id: n, name: r, templateRoomGroups: i, images: a, description: s, weekendFee: c }) => (v(), o(_n, {
|
|
7058
7083
|
key: n,
|
|
7059
7084
|
id: n,
|
|
7060
7085
|
description: s,
|
|
@@ -7074,28 +7099,28 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7074
7099
|
"callback",
|
|
7075
7100
|
"hide-addons"
|
|
7076
7101
|
]))), 128))])])) : p("", !0),
|
|
7077
|
-
l(
|
|
7102
|
+
l(z).roomGroups.length > 0 && e.onlyShow !== "packages" ? (v(), D("div", Vn, [Jt.value.rooms && e.onlyShow !== "camping" ? (v(), D(R, { key: 0 }, [l(z).templates.length > 0 && e.onlyShow !== "rooms" ? (v(), D("h2", Hn, [d(V, {
|
|
7078
7103
|
icon: "house",
|
|
7079
7104
|
type: "fal",
|
|
7080
7105
|
color: "header"
|
|
7081
|
-
}), c("span", null, i(l(a)("booking.availability.roomsTitle")), 1)])) : p("", !0), c("ul", Un, [(v(!0), D(
|
|
7106
|
+
}), c("span", null, i(l(a)("booking.availability.roomsTitle")), 1)])) : p("", !0), c("ul", Un, [(v(!0), D(R, null, n(Jt.value.rooms, (e, n) => (v(), o(rn, {
|
|
7082
7107
|
room: e,
|
|
7083
7108
|
key: n,
|
|
7084
7109
|
callback: t
|
|
7085
|
-
}, null, 8, ["room", "callback"]))), 128))])], 64)) : p("", !0),
|
|
7110
|
+
}, null, 8, ["room", "callback"]))), 128))])], 64)) : p("", !0), Jt.value.camping && e.onlyShow !== "rooms" && e.onlyShow !== "non-camping" ? (v(), D(R, { key: 1 }, [l(z).templates.length > 0 && e.onlyShow !== "camping" ? (v(), D("h2", Wn, [d(V, {
|
|
7086
7111
|
icon: "map-location-dot",
|
|
7087
7112
|
type: "fal",
|
|
7088
7113
|
color: "header"
|
|
7089
|
-
}), c("span", null, i(l(a)("booking.availability.campingTitle")), 1)])) : p("", !0), c("ul", Gn, [(v(!0), D(
|
|
7114
|
+
}), c("span", null, i(l(a)("booking.availability.campingTitle")), 1)])) : p("", !0), c("ul", Gn, [(v(!0), D(R, null, n(Jt.value.camping, (e, n) => (v(), o(rn, {
|
|
7090
7115
|
room: e,
|
|
7091
7116
|
key: n,
|
|
7092
7117
|
callback: t
|
|
7093
7118
|
}, null, 8, ["room", "callback"]))), 128))])], 64)) : p("", !0)])) : p("", !0),
|
|
7094
|
-
l(
|
|
7119
|
+
l(wt) ? p("", !0) : (v(), D(R, { key: 2 }, [l(z).specialTemplates.length > 0 && e.onlyShow !== "rooms" ? (v(), D("div", Kn, [c("h2", qn, [d(V, {
|
|
7095
7120
|
icon: "sparkles",
|
|
7096
7121
|
type: "fal",
|
|
7097
7122
|
color: "header"
|
|
7098
|
-
}), c("span", null, i(l(a)("hotel.specialOffers")), 1)]), c("ul", Jn, [(v(!0), D(
|
|
7123
|
+
}), c("span", null, i(l(a)("hotel.specialOffers")), 1)]), c("ul", Jn, [(v(!0), D(R, null, n(Xt.value, ({ id: e, name: t, templateRoomGroups: n, images: r, description: i, weekendFee: a, fromDate: s, toDate: c }) => (v(), o(bn, {
|
|
7099
7124
|
key: e,
|
|
7100
7125
|
id: e,
|
|
7101
7126
|
description: i,
|
|
@@ -7115,16 +7140,16 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7115
7140
|
"weekendFee",
|
|
7116
7141
|
"room-groups"
|
|
7117
7142
|
]))), 128))])])) : p("", !0)], 64)),
|
|
7118
|
-
(l(
|
|
7119
|
-
])) : l(
|
|
7143
|
+
(l(z).templates.length === 0 && e.onlyShow !== "rooms" || l(z).roomGroups.length === 0 && e.onlyShow !== "packages") && (e.onlyShow === "rooms" || e.onlyShow === "packages") ? (v(), D("div", Yn, [c("span", null, i(l(a)("booking.availability.nothingAvailable")), 1)])) : p("", !0)
|
|
7144
|
+
])) : l(z).nextAvailableDates.length > 0 ? (v(), D("div", Xn, [
|
|
7120
7145
|
c("div", Zn, [c("span", { innerHTML: l(a)("hotel.everyRoomIsBooked") }, null, 8, Qn)]),
|
|
7121
7146
|
c("h2", $n, [d(V, {
|
|
7122
7147
|
icon: "calendar-circle-exclamation",
|
|
7123
7148
|
type: "fal",
|
|
7124
7149
|
color: "header"
|
|
7125
7150
|
}), c("span", null, i(l(a)("booking.availability.nextAvailableDates")), 1)]),
|
|
7126
|
-
c("ul", er, [(v(!0), D(
|
|
7127
|
-
c("h3", { title: `${l(
|
|
7151
|
+
c("ul", er, [(v(!0), D(R, null, n(l(z).nextAvailableDates, (e, t) => (v(), D("li", { key: t }, [
|
|
7152
|
+
c("h3", { title: `${l(fe)(e.fromDate, 0, !0)} - ${l(fe)(e.toDate, 0, !0)}` }, [c("span", null, i(`${l(fe)(e.fromDate, 0, !0)} - ${l(fe)(e.toDate, 0, !0)}`), 1)], 8, tr),
|
|
7128
7153
|
c("ul", null, [isNaN(e.roomCount) ? p("", !0) : (v(), D("li", nr, [d(V, {
|
|
7129
7154
|
icon: "house",
|
|
7130
7155
|
type: "fal",
|
|
@@ -7133,32 +7158,32 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7133
7158
|
icon: "money-bill",
|
|
7134
7159
|
type: "fal",
|
|
7135
7160
|
color: "header"
|
|
7136
|
-
}), c("span", null, i(l(a)("booking.availability.pricesFrom")) + ": " + i(l(
|
|
7137
|
-
d(
|
|
7161
|
+
}), c("span", null, i(l(a)("booking.availability.pricesFrom")) + ": " + i(l(he)(e.priceStartFrom, l(ht))), 1)])]),
|
|
7162
|
+
d(B, {
|
|
7138
7163
|
label: l(a)("booking.availability.selectDates"),
|
|
7139
7164
|
"full-width": "",
|
|
7140
|
-
onClickEvent: (t) => l(
|
|
7165
|
+
onClickEvent: (t) => l(mt)(new Date(e.fromDate), new Date(e.toDate))
|
|
7141
7166
|
}, null, 8, ["label", "onClickEvent"])
|
|
7142
7167
|
]))), 128))])
|
|
7143
|
-
])) : (v(), D("div", rr, [c("span", null, i(l(a)("booking.availability.nothingAvailable")), 1)]))])) : isNaN(l(u)) && !l(
|
|
7168
|
+
])) : (v(), D("div", rr, [c("span", null, i(l(a)("booking.availability.nothingAvailable")), 1)]))])) : isNaN(l(u)) && !l(b) ? (v(), D("div", ir, [c("span", null, i(l(a)("alert.info.selectHotelToStart")), 1)])) : (v(), D("div", ar, [
|
|
7144
7169
|
d(ze),
|
|
7145
7170
|
d(ze),
|
|
7146
7171
|
d(ze)
|
|
7147
7172
|
]))
|
|
7148
7173
|
])]),
|
|
7149
7174
|
navigation: S(() => [
|
|
7150
|
-
l(
|
|
7175
|
+
l(Ne) ? (v(), o(B, {
|
|
7151
7176
|
key: 0,
|
|
7152
7177
|
label: isNaN(l(u)) ? l(a)("availability.buttonLabel") : l(a)("general.searchAgain"),
|
|
7153
|
-
"is-loading": l(
|
|
7178
|
+
"is-loading": l(b),
|
|
7154
7179
|
"full-width": "",
|
|
7155
|
-
onClickEvent: f[2] ||= (e) =>
|
|
7156
|
-
}, null, 8, ["label", "is-loading"])) : (v(), o(
|
|
7180
|
+
onClickEvent: f[2] ||= (e) => tn()
|
|
7181
|
+
}, null, 8, ["label", "is-loading"])) : (v(), o(B, {
|
|
7157
7182
|
key: 1,
|
|
7158
|
-
label: l(
|
|
7183
|
+
label: l(Ce) || Zt.value ? l(a)("booking.availability.nextButton") : l(a)("general.chooseAddons"),
|
|
7159
7184
|
disabled: !l(Se),
|
|
7160
7185
|
"full-width": "",
|
|
7161
|
-
onClickEvent: (e) =>
|
|
7186
|
+
onClickEvent: (e) => Q(t)
|
|
7162
7187
|
}, null, 8, [
|
|
7163
7188
|
"label",
|
|
7164
7189
|
"disabled",
|
|
@@ -7168,22 +7193,22 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7168
7193
|
icon: "exclamation-triangle",
|
|
7169
7194
|
type: "fas"
|
|
7170
7195
|
}), c("span", null, i(l(a)("hotel.mismatchingAdults", {
|
|
7171
|
-
searchAdults: l(
|
|
7172
|
-
selectedAdults: l(
|
|
7173
|
-
})), 1)], 512), [[y, l(
|
|
7196
|
+
searchAdults: l(st),
|
|
7197
|
+
selectedAdults: l(Ue)
|
|
7198
|
+
})), 1)], 512), [[y, l(Ve)]]),
|
|
7174
7199
|
w(c("span", sr, [d(V, {
|
|
7175
7200
|
icon: "exclamation-triangle",
|
|
7176
7201
|
type: "fas"
|
|
7177
7202
|
}), c("span", null, i(l(a)("hotel.mismatchingChildren", {
|
|
7178
|
-
searchChildren: l(
|
|
7179
|
-
selectedChildren: l(
|
|
7180
|
-
})), 1)], 512), [[y, l(
|
|
7203
|
+
searchChildren: l(ct),
|
|
7204
|
+
selectedChildren: l(We)
|
|
7205
|
+
})), 1)], 512), [[y, l(He)]])
|
|
7181
7206
|
]),
|
|
7182
7207
|
_: 2
|
|
7183
7208
|
}, 1024)]),
|
|
7184
|
-
addons: S(({ next: e, prev: t }) => [l(
|
|
7209
|
+
addons: S(({ next: e, prev: t }) => [l(Te) ? (v(), o(Lt, {
|
|
7185
7210
|
key: 0,
|
|
7186
|
-
"prev-callback": () =>
|
|
7211
|
+
"prev-callback": () => $t(t)
|
|
7187
7212
|
}, {
|
|
7188
7213
|
form: S(() => [c("form", cr, [
|
|
7189
7214
|
c("h2", null, [c("span", null, i(l(a)("booking.reservation.addons")), 1)]),
|
|
@@ -7191,11 +7216,11 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7191
7216
|
innerHTML: l(a)("hotel.addonTopNotice"),
|
|
7192
7217
|
class: "konnectio-wysiwyg"
|
|
7193
7218
|
}, null, 8, ur)])) : p("", !0),
|
|
7194
|
-
c("div", null, [isNaN(l(m)) ? (v(), D("div", dr, [(v(!0), D(
|
|
7219
|
+
c("div", null, [isNaN(l(m)) ? (v(), D("div", dr, [(v(!0), D(R, null, n(l(xe), (e) => (v(), D(R, { key: e.roomGroupID }, [l(Vt)(e) ? (v(), D("ul", fr, [(v(!0), D(R, null, n(e.variants, (t, r) => (v(), D("li", { key: t.ratePlanID }, [c("h4", null, [c("span", null, i(l(de)(e.title)), 1)]), (v(!0), D(R, null, n(t.rooms, (a, u) => (v(), D("table", {
|
|
7195
7220
|
key: u,
|
|
7196
7221
|
class: "konnectio-table with-lines without-header"
|
|
7197
7222
|
}, [c("thead", null, [c("tr", null, [
|
|
7198
|
-
c("th", null, [c("span", null, i(l(
|
|
7223
|
+
c("th", null, [c("span", null, i(l(de)(t.name)), 1)]),
|
|
7199
7224
|
p("", !0),
|
|
7200
7225
|
c("th", pr, [c("b", null, [
|
|
7201
7226
|
d(V, {
|
|
@@ -7212,24 +7237,24 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7212
7237
|
})) : p("", !0),
|
|
7213
7238
|
a.childrenCount > 0 ? (v(), D("span", mr, i(a.childrenCount), 1)) : p("", !0)
|
|
7214
7239
|
])])
|
|
7215
|
-
])]), c("tbody", null, [(v(!0), D(
|
|
7240
|
+
])]), c("tbody", null, [(v(!0), D(R, null, n(l(Bt)(t.addons, a.childrenCount), ({ cardinality: t, quantityStrategy: n, maximumNumber: u, id: f, name: m, price: h, image: g, description: _ }) => (v(), D("tr", { key: f }, [c("td", { class: s(["konnectio-table-addons-information", { "has-image": g }]) }, [g ? (v(), D("div", hr, [d(l(vt), {
|
|
7216
7241
|
src: g,
|
|
7217
7242
|
"zoom-scale": 1
|
|
7218
7243
|
}, null, 8, ["src"])])) : p("", !0), c("div", null, [
|
|
7219
|
-
c("b", null, i(l(
|
|
7220
|
-
c("span", null, i(l(
|
|
7244
|
+
c("b", null, i(l(de)(m)), 1),
|
|
7245
|
+
c("span", null, i(l(he)(h, l(ht))) + " " + i(l(se)(n)), 1),
|
|
7221
7246
|
_ ? (v(), D("p", {
|
|
7222
7247
|
key: 0,
|
|
7223
|
-
innerHTML: l(
|
|
7248
|
+
innerHTML: l(me)(_)
|
|
7224
7249
|
}, null, 8, gr)) : p("", !0)
|
|
7225
|
-
])], 2), c("td", _r, [l(be)[e.roomGroupID][r].config[a.configIdx].addons[a.roomIdx] ? (v(), D(
|
|
7250
|
+
])], 2), c("td", _r, [l(be)[e.roomGroupID][r].config[a.configIdx].addons[a.roomIdx] ? (v(), D(R, { key: 0 }, [t === l(Oe).Mandatory ? (v(), o(ke, {
|
|
7226
7251
|
key: 0,
|
|
7227
7252
|
"model-value": 1,
|
|
7228
7253
|
small: !0,
|
|
7229
7254
|
"min-value": 1,
|
|
7230
7255
|
"max-value": 1,
|
|
7231
7256
|
readonly: ""
|
|
7232
|
-
})) : (v(), o(
|
|
7257
|
+
})) : (v(), o(ke, {
|
|
7233
7258
|
key: 1,
|
|
7234
7259
|
modelValue: l(be)[e.roomGroupID][r].config[a.configIdx].addons[a.roomIdx][f],
|
|
7235
7260
|
"onUpdate:modelValue": (t) => l(be)[e.roomGroupID][r].config[a.configIdx].addons[a.roomIdx][f] = t,
|
|
@@ -7240,34 +7265,34 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7240
7265
|
"modelValue",
|
|
7241
7266
|
"onUpdate:modelValue",
|
|
7242
7267
|
"max-value"
|
|
7243
|
-
]))], 64)) : p("", !0)])]))), 128))])]))), 128))]))), 128))])) : p("", !0)], 64))), 128))])) : l(
|
|
7268
|
+
]))], 64)) : p("", !0)])]))), 128))])]))), 128))]))), 128))])) : p("", !0)], 64))), 128))])) : l(ee).length > 0 ? (v(), D("div", vr, [c("div", null, [c("h4", null, [c("span", null, i(l(Me)?.name), 1)]), (v(!0), D(R, null, n(l(ee), (e, t) => (v(), D("table", {
|
|
7244
7269
|
key: t,
|
|
7245
7270
|
class: "konnectio-table with-lines without-header"
|
|
7246
7271
|
}, [c("thead", null, [c("tr", null, [
|
|
7247
|
-
c("th", null, [c("span", null, i(l(
|
|
7272
|
+
c("th", null, [c("span", null, i(l(de)(l(Ae).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), l(ee).filter((t) => t.roomGroupId === e.roomGroupId).length > 1 ? (v(), D("span", yr, "(" + i(l(a)("booking.reservation.room")) + " " + i(l(ee).slice(0, t + 1).filter((t) => t.roomGroupId === e.roomGroupId).length) + ")", 1)) : p("", !0)]),
|
|
7248
7273
|
p("", !0),
|
|
7249
7274
|
f[24] ||= c("th", { class: "konnectio-event-addons-price" }, null, -1)
|
|
7250
|
-
])]), c("tbody", null, [(v(!0), D(
|
|
7275
|
+
])]), c("tbody", null, [(v(!0), D(R, null, n(l(Bt)(l(Ae).find((t) => t.id === e.roomGroupId)?.addons, e.children), ({ cardinality: t, quantityStrategy: n, maximumNumber: r, id: a, name: u, price: f, description: m, image: h }) => (v(), D("tr", { key: a }, [c("td", { class: s(["konnectio-table-addons-information", { "has-image": h }]) }, [h ? (v(), D("div", br, [d(l(vt), {
|
|
7251
7276
|
src: h,
|
|
7252
7277
|
"zoom-scale": 1
|
|
7253
7278
|
}, null, 8, ["src"])])) : p("", !0), c("div", null, [
|
|
7254
|
-
c("b", null, i(l(
|
|
7255
|
-
c("span", null, i(l(
|
|
7279
|
+
c("b", null, i(l(de)(u)), 1),
|
|
7280
|
+
c("span", null, i(l(he)(f, l(ht))) + " " + i(l(se)(n)), 1),
|
|
7256
7281
|
m ? (v(), D("p", {
|
|
7257
7282
|
key: 0,
|
|
7258
|
-
innerHTML: l(
|
|
7283
|
+
innerHTML: l(me)(m)
|
|
7259
7284
|
}, null, 8, xr)) : p("", !0)
|
|
7260
|
-
])], 2), c("td", Sr, [t === l(
|
|
7285
|
+
])], 2), c("td", Sr, [t === l(Oe).Mandatory ? (v(), o(ke, {
|
|
7261
7286
|
key: 0,
|
|
7262
7287
|
"model-value": 1,
|
|
7263
7288
|
small: !0,
|
|
7264
7289
|
"min-value": 1,
|
|
7265
7290
|
"max-value": 1,
|
|
7266
7291
|
readonly: ""
|
|
7267
|
-
})) : (v(), o(
|
|
7292
|
+
})) : (v(), o(ke, {
|
|
7268
7293
|
key: 1,
|
|
7269
|
-
modelValue: l(
|
|
7270
|
-
"onUpdate:modelValue": (t) => l(
|
|
7294
|
+
modelValue: l(_)[e.selectionIdx].unitConfigs[e.configIdx].addons[a],
|
|
7295
|
+
"onUpdate:modelValue": (t) => l(_)[e.selectionIdx].unitConfigs[e.configIdx].addons[a] = t,
|
|
7271
7296
|
small: !0,
|
|
7272
7297
|
"min-value": 0,
|
|
7273
7298
|
"max-value": r || Infinity
|
|
@@ -7277,16 +7302,16 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7277
7302
|
"max-value"
|
|
7278
7303
|
]))])]))), 128))])]))), 128))])])) : p("", !0)])
|
|
7279
7304
|
])]),
|
|
7280
|
-
navigation: S(() => [d(
|
|
7305
|
+
navigation: S(() => [d(B, {
|
|
7281
7306
|
label: l(a)("general.startReservation"),
|
|
7282
7307
|
"full-width": "",
|
|
7283
|
-
onClickEvent: (t) =>
|
|
7308
|
+
onClickEvent: (t) => Qt(e)
|
|
7284
7309
|
}, null, 8, ["label", "onClickEvent"])]),
|
|
7285
7310
|
_: 2
|
|
7286
7311
|
}, 1032, ["prev-callback"])) : p("", !0)]),
|
|
7287
|
-
reservation: S(({ next: t, prev: n, reset: r }) => [l(
|
|
7312
|
+
reservation: S(({ next: t, prev: n, reset: r }) => [l(Te) ? (v(), o(Lt, {
|
|
7288
7313
|
key: 0,
|
|
7289
|
-
"prev-callback": () =>
|
|
7314
|
+
"prev-callback": () => $t(n),
|
|
7290
7315
|
"show-terms-notice": !0,
|
|
7291
7316
|
"show-gift-card": !0
|
|
7292
7317
|
}, {
|
|
@@ -7296,29 +7321,29 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7296
7321
|
innerHTML: l(a)("hotel.reservationTopNotice"),
|
|
7297
7322
|
class: "konnectio-wysiwyg"
|
|
7298
7323
|
}, null, 8, Tr)])) : p("", !0),
|
|
7299
|
-
l(
|
|
7324
|
+
l(Et)(l(u)) && l(Dt)(l(u)) && l(Ot)(l(u)) ? (v(), D("ul", {
|
|
7300
7325
|
key: 1,
|
|
7301
|
-
class: s(["konnectio-reservation-timepicker", { "konnectio-split-inputs": l(
|
|
7302
|
-
}, [l(
|
|
7303
|
-
modelValue: l(
|
|
7304
|
-
"onUpdate:modelValue": f[3] ||= (e) => T(
|
|
7326
|
+
class: s(["konnectio-reservation-timepicker", { "konnectio-split-inputs": l(Dt)(l(u)) && l(Ot)(l(u)) }])
|
|
7327
|
+
}, [l(Dt)(l(u)) ? (v(), D("li", Er, [d(xn, {
|
|
7328
|
+
modelValue: l(O),
|
|
7329
|
+
"onUpdate:modelValue": f[3] ||= (e) => T(O) ? O.value = e : null,
|
|
7305
7330
|
label: l(a)("booking.reservation.arrivalTime"),
|
|
7306
7331
|
icon: "hourglass-start",
|
|
7307
|
-
"min-time": l(
|
|
7308
|
-
"max-time": l(
|
|
7332
|
+
"min-time": l(q)(l(u)),
|
|
7333
|
+
"max-time": l(kt)(l(u)),
|
|
7309
7334
|
required: ""
|
|
7310
7335
|
}, null, 8, [
|
|
7311
7336
|
"modelValue",
|
|
7312
7337
|
"label",
|
|
7313
7338
|
"min-time",
|
|
7314
7339
|
"max-time"
|
|
7315
|
-
])])) : p("", !0), l(
|
|
7316
|
-
modelValue: l(
|
|
7317
|
-
"onUpdate:modelValue": f[4] ||= (e) => T(
|
|
7340
|
+
])])) : p("", !0), l(Ot)(l(u)) ? (v(), D("li", Dr, [d(xn, {
|
|
7341
|
+
modelValue: l(k),
|
|
7342
|
+
"onUpdate:modelValue": f[4] ||= (e) => T(k) ? k.value = e : null,
|
|
7318
7343
|
label: l(a)("booking.reservation.departureTime"),
|
|
7319
7344
|
icon: "hourglass-end",
|
|
7320
|
-
"min-time": l(
|
|
7321
|
-
"max-time": l(
|
|
7345
|
+
"min-time": l(At)(l(u)),
|
|
7346
|
+
"max-time": l(jt)(l(u)),
|
|
7322
7347
|
required: ""
|
|
7323
7348
|
}, null, 8, [
|
|
7324
7349
|
"modelValue",
|
|
@@ -7327,11 +7352,11 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7327
7352
|
"max-time"
|
|
7328
7353
|
])])) : p("", !0)], 2)) : p("", !0),
|
|
7329
7354
|
d(wn, {
|
|
7330
|
-
modelValue: l(
|
|
7331
|
-
"onUpdate:modelValue": f[5] ||= (e) => T(
|
|
7332
|
-
title: l(
|
|
7333
|
-
"onUpdate:title": f[6] ||= (e) => T(
|
|
7334
|
-
"exclude-title": l(
|
|
7355
|
+
modelValue: l(re),
|
|
7356
|
+
"onUpdate:modelValue": f[5] ||= (e) => T(re) ? re.value = e : null,
|
|
7357
|
+
title: l(j),
|
|
7358
|
+
"onUpdate:title": f[6] ||= (e) => T(j) ? j.value = e : null,
|
|
7359
|
+
"exclude-title": l(_t),
|
|
7335
7360
|
label: l(a)("booking.reservation.name"),
|
|
7336
7361
|
icon: "user-alt",
|
|
7337
7362
|
placeholder: l(a)("booking.reservation.namePlaceholder"),
|
|
@@ -7343,9 +7368,9 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7343
7368
|
"label",
|
|
7344
7369
|
"placeholder"
|
|
7345
7370
|
]),
|
|
7346
|
-
d(
|
|
7347
|
-
modelValue: l(
|
|
7348
|
-
"onUpdate:modelValue": f[7] ||= (e) => T(
|
|
7371
|
+
d(De, {
|
|
7372
|
+
modelValue: l(M),
|
|
7373
|
+
"onUpdate:modelValue": f[7] ||= (e) => T(M) ? M.value = e : null,
|
|
7349
7374
|
type: "email",
|
|
7350
7375
|
name: "email",
|
|
7351
7376
|
autocomplete: "email",
|
|
@@ -7359,17 +7384,17 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7359
7384
|
"label",
|
|
7360
7385
|
"placeholder"
|
|
7361
7386
|
]),
|
|
7362
|
-
l(
|
|
7363
|
-
modelValue: l(
|
|
7364
|
-
"onUpdate:modelValue": f[8] ||= (e) => T(
|
|
7387
|
+
l(Ct) ? p("", !0) : (v(), D("div", Or, [d(Je, {
|
|
7388
|
+
modelValue: l(Ie),
|
|
7389
|
+
"onUpdate:modelValue": f[8] ||= (e) => T(Ie) ? Ie.value = e : null,
|
|
7365
7390
|
type: "checkbox",
|
|
7366
7391
|
name: "newsletter",
|
|
7367
7392
|
label: l(a)("booking.reservation.newsletterSignUp")
|
|
7368
7393
|
}, null, 8, ["modelValue", "label"])])),
|
|
7369
|
-
l(
|
|
7394
|
+
l(yt) ? p("", !0) : (v(), o(De, {
|
|
7370
7395
|
key: 3,
|
|
7371
|
-
modelValue: l(
|
|
7372
|
-
"onUpdate:modelValue": f[9] ||= (e) => T(
|
|
7396
|
+
modelValue: l(P),
|
|
7397
|
+
"onUpdate:modelValue": f[9] ||= (e) => T(P) ? P.value = e : null,
|
|
7373
7398
|
type: "text",
|
|
7374
7399
|
name: "firm",
|
|
7375
7400
|
autocomplete: "firm",
|
|
@@ -7382,8 +7407,8 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7382
7407
|
"placeholder"
|
|
7383
7408
|
])),
|
|
7384
7409
|
d(H, {
|
|
7385
|
-
modelValue: l(
|
|
7386
|
-
"onUpdate:modelValue": f[10] ||= (e) => T(
|
|
7410
|
+
modelValue: l(N),
|
|
7411
|
+
"onUpdate:modelValue": f[10] ||= (e) => T(N) ? N.value = e : null,
|
|
7387
7412
|
icon: "phone-office",
|
|
7388
7413
|
label: l(a)("booking.reservation.phone"),
|
|
7389
7414
|
placeholder: l(a)("booking.reservation.phonePlaceholder"),
|
|
@@ -7394,11 +7419,11 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7394
7419
|
"placeholder"
|
|
7395
7420
|
]),
|
|
7396
7421
|
d(Cn, {
|
|
7397
|
-
modelValue: l(
|
|
7398
|
-
"onUpdate:modelValue": f[11] ||= (e) => T(
|
|
7422
|
+
modelValue: l(oe),
|
|
7423
|
+
"onUpdate:modelValue": f[11] ||= (e) => T(oe) ? oe.value = e : null,
|
|
7399
7424
|
label: l(a)("booking.reservation.country"),
|
|
7400
7425
|
placeholder: l(a)("booking.reservation.countryPlaceholder"),
|
|
7401
|
-
options: l(
|
|
7426
|
+
options: l(te),
|
|
7402
7427
|
required: ""
|
|
7403
7428
|
}, null, 8, [
|
|
7404
7429
|
"modelValue",
|
|
@@ -7406,7 +7431,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7406
7431
|
"placeholder",
|
|
7407
7432
|
"options"
|
|
7408
7433
|
]),
|
|
7409
|
-
d(
|
|
7434
|
+
d(De, {
|
|
7410
7435
|
modelValue: l(ae),
|
|
7411
7436
|
"onUpdate:modelValue": f[12] ||= (e) => T(ae) ? ae.value = e : null,
|
|
7412
7437
|
type: "textarea",
|
|
@@ -7421,9 +7446,9 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7421
7446
|
"label",
|
|
7422
7447
|
"placeholder"
|
|
7423
7448
|
]),
|
|
7424
|
-
c("ul", kr, [c("li", null, [d(
|
|
7425
|
-
modelValue: l(
|
|
7426
|
-
"onUpdate:modelValue": f[13] ||= (e) => T(
|
|
7449
|
+
c("ul", kr, [c("li", null, [d(De, {
|
|
7450
|
+
modelValue: l(F),
|
|
7451
|
+
"onUpdate:modelValue": f[13] ||= (e) => T(F) ? F.value = e : null,
|
|
7427
7452
|
type: "text",
|
|
7428
7453
|
name: "postal",
|
|
7429
7454
|
autocomplete: "postal-code",
|
|
@@ -7435,7 +7460,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7435
7460
|
"modelValue",
|
|
7436
7461
|
"label",
|
|
7437
7462
|
"placeholder"
|
|
7438
|
-
])]), c("li", null, [d(
|
|
7463
|
+
])]), c("li", null, [d(De, {
|
|
7439
7464
|
modelValue: l(ie),
|
|
7440
7465
|
"onUpdate:modelValue": f[14] ||= (e) => T(ie) ? ie.value = e : null,
|
|
7441
7466
|
type: "text",
|
|
@@ -7450,10 +7475,10 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7450
7475
|
"label",
|
|
7451
7476
|
"placeholder"
|
|
7452
7477
|
])])]),
|
|
7453
|
-
e.hideRemarks === "yes" ? p("", !0) : (v(), o(
|
|
7478
|
+
e.hideRemarks === "yes" ? p("", !0) : (v(), o(De, {
|
|
7454
7479
|
key: 4,
|
|
7455
|
-
modelValue: l(
|
|
7456
|
-
"onUpdate:modelValue": f[15] ||= (e) => T(
|
|
7480
|
+
modelValue: l(ge),
|
|
7481
|
+
"onUpdate:modelValue": f[15] ||= (e) => T(ge) ? ge.value = e : null,
|
|
7457
7482
|
type: "textarea",
|
|
7458
7483
|
label: l(a)("booking.reservation.remark"),
|
|
7459
7484
|
icon: "info-circle",
|
|
@@ -7463,7 +7488,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7463
7488
|
"label",
|
|
7464
7489
|
"placeholder"
|
|
7465
7490
|
])),
|
|
7466
|
-
e.hideAllergies === "yes" ? p("", !0) : (v(), o(
|
|
7491
|
+
e.hideAllergies === "yes" ? p("", !0) : (v(), o(De, {
|
|
7467
7492
|
key: 5,
|
|
7468
7493
|
modelValue: l(ye),
|
|
7469
7494
|
"onUpdate:modelValue": f[16] ||= (e) => T(ye) ? ye.value = e : null,
|
|
@@ -7476,36 +7501,36 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7476
7501
|
"label",
|
|
7477
7502
|
"placeholder"
|
|
7478
7503
|
])),
|
|
7479
|
-
l(
|
|
7504
|
+
l(U) ? p("", !0) : (v(), o(Be, {
|
|
7480
7505
|
key: 6,
|
|
7481
|
-
modelValue: l(
|
|
7482
|
-
"onUpdate:modelValue": f[17] ||= (e) => T(
|
|
7506
|
+
modelValue: l(E),
|
|
7507
|
+
"onUpdate:modelValue": f[17] ||= (e) => T(E) ? E.value = e : null,
|
|
7483
7508
|
label: l(a)("booking.reservation.purposeOfStay"),
|
|
7484
7509
|
name: "travelingFor",
|
|
7485
|
-
checkboxes:
|
|
7510
|
+
checkboxes: X.value
|
|
7486
7511
|
}, null, 8, [
|
|
7487
7512
|
"modelValue",
|
|
7488
7513
|
"label",
|
|
7489
7514
|
"checkboxes"
|
|
7490
7515
|
])),
|
|
7491
|
-
l(
|
|
7492
|
-
c("li", null, [c("span", null, i(l(a)("hotel.memberCards.selectedCard", { cardName: l(
|
|
7493
|
-
c("li", null, [c("span", null, i(l(a)("hotel.memberCards.cardNumber")) + ": " + i(l(
|
|
7494
|
-
l(
|
|
7495
|
-
])])) : (v(), D(
|
|
7496
|
-
modelValue: l(
|
|
7497
|
-
"onUpdate:modelValue": f[18] ||= (e) => T(
|
|
7516
|
+
l(Qe) ? (v(), D(R, { key: 7 }, [c("h3", null, [c("span", null, i(l(a)("hotel.memberCards.title")), 1)]), l(rt) ? (v(), D("div", Ar, [c("img", { src: l(it)?.iconUrl }, null, 8, jr), c("ul", Mr, [
|
|
7517
|
+
c("li", null, [c("span", null, i(l(a)("hotel.memberCards.selectedCard", { cardName: l(it)?.shortDescription })), 1)]),
|
|
7518
|
+
c("li", null, [c("span", null, i(l(a)("hotel.memberCards.cardNumber")) + ": " + i(l(rt).cardNumber), 1)]),
|
|
7519
|
+
l(rt).controlNr ? (v(), D("li", Nr, [c("span", null, i(l(a)("hotel.memberCards.controlNumber")) + ": " + i(l(rt).controlNr), 1)])) : p("", !0)
|
|
7520
|
+
])])) : (v(), D(R, { key: 1 }, [d(Be, {
|
|
7521
|
+
modelValue: l(et),
|
|
7522
|
+
"onUpdate:modelValue": f[18] ||= (e) => T(et) ? et.value = e : null,
|
|
7498
7523
|
label: l(a)("hotel.memberCards.selectCard"),
|
|
7499
7524
|
name: "memberCard",
|
|
7500
|
-
checkboxes: l(
|
|
7525
|
+
checkboxes: l($e)
|
|
7501
7526
|
}, null, 8, [
|
|
7502
7527
|
"modelValue",
|
|
7503
7528
|
"label",
|
|
7504
7529
|
"checkboxes"
|
|
7505
|
-
]), l(
|
|
7506
|
-
d(
|
|
7507
|
-
modelValue: l(
|
|
7508
|
-
"onUpdate:modelValue": f[19] ||= (e) => T(
|
|
7530
|
+
]), l(et) ? (v(), D("form", Pr, [
|
|
7531
|
+
d(De, {
|
|
7532
|
+
modelValue: l(nt),
|
|
7533
|
+
"onUpdate:modelValue": f[19] ||= (e) => T(nt) ? nt.value = e : null,
|
|
7509
7534
|
type: "number",
|
|
7510
7535
|
label: l(a)("hotel.memberCards.cardNumber"),
|
|
7511
7536
|
icon: "credit-card",
|
|
@@ -7516,10 +7541,10 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7516
7541
|
"label",
|
|
7517
7542
|
"placeholder"
|
|
7518
7543
|
]),
|
|
7519
|
-
l(
|
|
7544
|
+
l(et) === l(je).FirmaCard ? (v(), o(De, {
|
|
7520
7545
|
key: 0,
|
|
7521
|
-
modelValue: l(
|
|
7522
|
-
"onUpdate:modelValue": f[20] ||= (e) => T(
|
|
7546
|
+
modelValue: l(tt),
|
|
7547
|
+
"onUpdate:modelValue": f[20] ||= (e) => T(tt) ? tt.value = e : null,
|
|
7523
7548
|
type: "text",
|
|
7524
7549
|
label: l(a)("hotel.memberCards.cardControlNumber"),
|
|
7525
7550
|
icon: "id-card",
|
|
@@ -7530,10 +7555,10 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7530
7555
|
"label",
|
|
7531
7556
|
"placeholder"
|
|
7532
7557
|
])) : p("", !0),
|
|
7533
|
-
l(
|
|
7558
|
+
l(et) === l(je).DaneAge ? (v(), o(De, {
|
|
7534
7559
|
key: 1,
|
|
7535
|
-
modelValue: l(
|
|
7536
|
-
"onUpdate:modelValue": f[21] ||= (e) => T(
|
|
7560
|
+
modelValue: l(F),
|
|
7561
|
+
"onUpdate:modelValue": f[21] ||= (e) => T(F) ? F.value = e : null,
|
|
7537
7562
|
type: "text",
|
|
7538
7563
|
name: "postal",
|
|
7539
7564
|
autocomplete: "postal-code",
|
|
@@ -7546,19 +7571,19 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7546
7571
|
"label",
|
|
7547
7572
|
"placeholder"
|
|
7548
7573
|
])) : p("", !0),
|
|
7549
|
-
d(
|
|
7574
|
+
d(B, {
|
|
7550
7575
|
label: l(a)("hotel.memberCards.validateAndSelectCard"),
|
|
7551
7576
|
"full-width": "",
|
|
7552
|
-
onClickEvent: l(
|
|
7577
|
+
onClickEvent: l(Y)
|
|
7553
7578
|
}, null, 8, ["label", "onClickEvent"])
|
|
7554
7579
|
])) : p("", !0)], 64))], 64)) : p("", !0)
|
|
7555
7580
|
])]),
|
|
7556
|
-
navigation: S(() => [c("div", null, [d(
|
|
7557
|
-
label: l(
|
|
7558
|
-
disabled: !l(
|
|
7559
|
-
"is-loading": l(
|
|
7581
|
+
navigation: S(() => [c("div", null, [d(B, {
|
|
7582
|
+
label: l(bt) ? l(a)("booking.reservation.nextButton") : l(a)("general.confirmReservation"),
|
|
7583
|
+
disabled: !l(C),
|
|
7584
|
+
"is-loading": l(x),
|
|
7560
7585
|
"full-width": "",
|
|
7561
|
-
onClickEvent: (e) =>
|
|
7586
|
+
onClickEvent: (e) => en(t, r)
|
|
7562
7587
|
}, null, 8, [
|
|
7563
7588
|
"label",
|
|
7564
7589
|
"disabled",
|
|
@@ -7574,7 +7599,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7574
7599
|
"layout",
|
|
7575
7600
|
"steps",
|
|
7576
7601
|
"onReset"
|
|
7577
|
-
]), [[y, e.requireGuestDiscountId === "no" || e.requireGuestDiscountId === "yes" && l(
|
|
7602
|
+
]), [[y, e.requireGuestDiscountId === "no" || e.requireGuestDiscountId === "yes" && l(Ge)]])]),
|
|
7578
7603
|
_: 1
|
|
7579
7604
|
}, 8, ["access-token", "callback"])]),
|
|
7580
7605
|
fallback: S(() => [d(On)]),
|
|
@@ -7583,7 +7608,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7583
7608
|
_: 1
|
|
7584
7609
|
}, 8, ["styling"]));
|
|
7585
7610
|
}
|
|
7586
|
-
}), [["__scopeId", "data-v-
|
|
7611
|
+
}), [["__scopeId", "data-v-d40a7e5b"]]);
|
|
7587
7612
|
//#endregion
|
|
7588
7613
|
//#region node_modules/unhead/node_modules/hookable/dist/index.mjs
|
|
7589
7614
|
function Ir(e, t = {}, n) {
|
|
@@ -8211,7 +8236,7 @@ var Ci = x(), wi = /* @__PURE__ */ Si(), Ti = F(), Ei = class extends HTMLElemen
|
|
|
8211
8236
|
}
|
|
8212
8237
|
connectedCallback() {
|
|
8213
8238
|
let e = P(Fr, this.attributes);
|
|
8214
|
-
this.vueApp = j(Fr, e), this.vueApp.provide("emitter", Ti), this.vueApp.use(
|
|
8239
|
+
this.vueApp = j(Fr, e), this.vueApp.provide("emitter", Ti), this.vueApp.use(oe), this.vueApp.use(wi), this.vueApp.use(Ci), this.vueApp.use(Ge), this.vueApp.use(N), this.vueApp.use(Ve), this.vueApp.use(Fe);
|
|
8215
8240
|
let t = document.createElement("div");
|
|
8216
8241
|
this.vueApp.mount(t), this.appendChild(t.children[0]);
|
|
8217
8242
|
}
|