@konnectio/core 4.5.3 → 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-DNcpBfUw.js → ActionField-Dw2sZfTW.js} +1 -1
- package/dist/ActionField-Dw2sZfTW.js.br +0 -0
- package/dist/ActionField-Dw2sZfTW.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-Cr4_E8qd.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-DASeSJKw.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-BG3SMDdN.js → ErrorMessage-oGRbN4x5.js} +1 -1
- package/dist/ErrorMessage-oGRbN4x5.js.br +0 -0
- package/dist/ErrorMessage-oGRbN4x5.js.gz +0 -0
- package/dist/{EventAvailabilityForm-DzhikTSM.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-Cfq1bVCS.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-Bm-b1O1-.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-B71Q-kc3.js → SelectField-CEZbxaZf.js} +1 -1
- package/dist/SelectField-CEZbxaZf.js.br +0 -0
- package/dist/SelectField-CEZbxaZf.js.gz +0 -0
- package/dist/{TermsOfService-DvIah2dc.js → TermsOfService-B1wlPc16.js} +2 -2
- package/dist/TermsOfService-B1wlPc16.js.br +0 -0
- package/dist/TermsOfService-B1wlPc16.js.gz +2 -0
- package/dist/{_-C4NaLG3M.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-D5tRJnoA.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-Bhb_vVph.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 +264 -248
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/{masonry.plugin-8XrKeEIb.js → masonry.plugin-D6bGOf4q.js} +67 -58
- 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-DP0Nh0EE.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-DNcpBfUw.js.br +0 -0
- package/dist/ActionField-DNcpBfUw.js.gz +0 -0
- package/dist/AvailabilitySkeleton-Cr4_E8qd.js.br +0 -0
- package/dist/AvailabilitySkeleton-Cr4_E8qd.js.gz +0 -0
- package/dist/CheckoutWindow-DASeSJKw.js.br +0 -0
- package/dist/CheckoutWindow-DASeSJKw.js.gz +0 -0
- package/dist/ErrorMessage-BG3SMDdN.js.br +0 -0
- package/dist/ErrorMessage-BG3SMDdN.js.gz +0 -0
- package/dist/EventAvailabilityForm-DzhikTSM.js.br +0 -0
- package/dist/EventAvailabilityForm-DzhikTSM.js.gz +0 -0
- package/dist/Field-Cfq1bVCS.js.br +0 -0
- package/dist/Field-Cfq1bVCS.js.gz +0 -5
- package/dist/HotelAvailabilityForm-Bm-b1O1-.js.br +0 -0
- package/dist/HotelAvailabilityForm-Bm-b1O1-.js.gz +0 -0
- package/dist/SelectField-B71Q-kc3.js.br +0 -0
- package/dist/SelectField-B71Q-kc3.js.gz +0 -0
- package/dist/TermsOfService-DvIah2dc.js.br +0 -0
- package/dist/TermsOfService-DvIah2dc.js.gz +0 -0
- package/dist/_-C4NaLG3M.js.br +0 -0
- package/dist/_-C4NaLG3M.js.gz +0 -0
- package/dist/dist-D5tRJnoA.js.br +0 -0
- package/dist/dist-D5tRJnoA.js.gz +0 -0
- package/dist/giftCard-Bhb_vVph.js.br +0 -0
- package/dist/giftCard-Bhb_vVph.js.gz +0 -0
- package/dist/masonry.plugin-8XrKeEIb.js.br +0 -0
- package/dist/masonry.plugin-8XrKeEIb.js.gz +0 -0
- package/dist/style-DP0Nh0EE.js.br +0 -0
- package/dist/style-DP0Nh0EE.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: {},
|
|
@@ -358,28 +358,40 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
358
358
|
prevCallback: {}
|
|
359
359
|
},
|
|
360
360
|
setup(e) {
|
|
361
|
-
let { t } = A(), { disableNewsletterSignup: a, currency: s } = I(
|
|
362
|
-
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) {
|
|
363
369
|
return e.reduce((e, { totalPrice: t }) => e + t, 0);
|
|
364
370
|
}
|
|
365
371
|
return (b, A) => {
|
|
366
372
|
let I = re("tooltip");
|
|
367
373
|
return v(), o(He, {
|
|
368
|
-
"discount-code": l(
|
|
369
|
-
"onUpdate:discountCode": A[4] ||= (e) => T(
|
|
370
|
-
"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),
|
|
371
377
|
"total-price": l(_),
|
|
372
|
-
"weekend-fee": l(
|
|
378
|
+
"weekend-fee": l(Se),
|
|
373
379
|
"show-gift-card": e.showGiftCard,
|
|
374
380
|
"availability-discount": e.availabilityDiscount,
|
|
375
381
|
"show-terms-notice": e.showTermsNotice,
|
|
376
382
|
"is-sidebar-loading": l(te),
|
|
377
383
|
notice: l(t)("hotel.reservationNotice"),
|
|
378
|
-
"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
|
|
379
391
|
}, r({
|
|
380
392
|
form: S(() => [C(b.$slots, "form", {}, void 0, !0)]),
|
|
381
|
-
"price-summary": S(() => [isNaN(l(g)) && l(h).length > 0 ? (v(!0), D(
|
|
382
|
-
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),
|
|
383
395
|
c("span", G, [c("span", K, [c("span", null, [d(V, {
|
|
384
396
|
icon: "male",
|
|
385
397
|
type: "fas",
|
|
@@ -389,17 +401,17 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
389
401
|
type: "fas",
|
|
390
402
|
color: "font"
|
|
391
403
|
}), c("span", null, i(n.childrenCount), 1)])) : p("", !0)]), n.roomName ? (v(), D("span", wt, "(" + i(n.roomName) + ")", 1)) : p("", !0)]),
|
|
392
|
-
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", {
|
|
393
405
|
key: 0,
|
|
394
406
|
class: "konnectio-hotel-reservation-remove",
|
|
395
|
-
onClick:
|
|
407
|
+
onClick: ae((e) => l(De)(r, o, n.configIdx), ["prevent"])
|
|
396
408
|
}, [d(V, {
|
|
397
409
|
icon: "times",
|
|
398
410
|
type: "fas",
|
|
399
411
|
"icon-color": "#ff0000"
|
|
400
412
|
})], 8, Tt)) : p("", !0)])
|
|
401
|
-
]),
|
|
402
|
-
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)]),
|
|
403
415
|
c("span", kt, [c("span", At, [c("span", null, [d(V, {
|
|
404
416
|
icon: "male",
|
|
405
417
|
type: "fas",
|
|
@@ -409,9 +421,9 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
409
421
|
type: "fas",
|
|
410
422
|
color: "font"
|
|
411
423
|
}), c("span", null, i(e.children), 1)])) : p("", !0)])]),
|
|
412
|
-
c("b", null, [c("span", null, i(l(
|
|
413
|
-
l(
|
|
414
|
-
]))), 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)]),
|
|
415
427
|
actions: S(() => [c("ul", Nt, [
|
|
416
428
|
l(a) ? p("", !0) : (v(), D("div", Pt, [d(Je, {
|
|
417
429
|
modelValue: l(F),
|
|
@@ -420,9 +432,9 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
420
432
|
name: "newsletter",
|
|
421
433
|
label: l(t)("booking.reservation.newsletterSignUp")
|
|
422
434
|
}, null, 8, ["modelValue", "label"])])),
|
|
423
|
-
l(
|
|
424
|
-
modelValue: l(
|
|
425
|
-
"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,
|
|
426
438
|
type: "checkbox",
|
|
427
439
|
name: "terms"
|
|
428
440
|
}, {
|
|
@@ -433,56 +445,56 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
433
445
|
}, {
|
|
434
446
|
terms: S(() => [c("a", {
|
|
435
447
|
class: "konnectio-accept-terms-link",
|
|
436
|
-
onClick: A[1] ||=
|
|
437
|
-
}, [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)])]),
|
|
438
450
|
_: 1
|
|
439
451
|
})]),
|
|
440
452
|
_: 1
|
|
441
453
|
}, 8, ["modelValue"])])) : p("", !0),
|
|
442
454
|
C(b.$slots, "actions", {}, void 0, !0),
|
|
443
455
|
d(Xe, {
|
|
444
|
-
modelValue:
|
|
445
|
-
"onUpdate:modelValue": A[3] ||= (e) =>
|
|
446
|
-
description: l(
|
|
456
|
+
modelValue: Pe.value,
|
|
457
|
+
"onUpdate:modelValue": A[3] ||= (e) => Pe.value = e,
|
|
458
|
+
description: l(ie)
|
|
447
459
|
}, null, 8, ["modelValue", "description"])
|
|
448
460
|
])]),
|
|
449
461
|
navigation: S(() => [C(b.$slots, "navigation", {}, void 0, !0)]),
|
|
450
462
|
"mobile-under-price": S(() => [
|
|
451
463
|
c("span", null, i(l(t)("general.for")) + ": ", 1),
|
|
452
|
-
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),
|
|
453
465
|
w((v(), D("span", It, [d(V, {
|
|
454
466
|
icon: "circle-info",
|
|
455
467
|
type: "fas"
|
|
456
468
|
})])), [[I, {
|
|
457
|
-
content: `<span>(${l(
|
|
469
|
+
content: `<span>(${l(fe)(l(k))} - ${l(fe)(l(j))})</span>`,
|
|
458
470
|
classes: ["tooltip", "konnectio-tooltip"],
|
|
459
471
|
html: !0
|
|
460
472
|
}]])
|
|
461
473
|
]),
|
|
462
474
|
"mobile-summary": S(() => [
|
|
463
|
-
c("span", null, i(`${l(
|
|
464
|
-
c("span", null, i(`${l(
|
|
465
|
-
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)
|
|
466
478
|
]),
|
|
467
479
|
_: 2
|
|
468
480
|
}, [isNaN(l(N)) ? void 0 : {
|
|
469
481
|
name: "reservation-summary",
|
|
470
482
|
fn: S(() => [
|
|
471
|
-
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, {
|
|
472
484
|
icon: "exclamation-triangle",
|
|
473
485
|
type: "fas"
|
|
474
486
|
})], 512), [[y, l(P)]])])])) : p("", !0),
|
|
475
|
-
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, {
|
|
476
488
|
icon: "exclamation-triangle",
|
|
477
489
|
type: "fas"
|
|
478
490
|
})], 512), [[y, l(M)]])])]),
|
|
479
|
-
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, {
|
|
480
492
|
icon: "exclamation-triangle",
|
|
481
493
|
type: "fas"
|
|
482
494
|
})], 512), [[y, l(M)]])])]),
|
|
483
|
-
c("li", null, [c("span", null, i(l(t)("booking.reservation.nights")), 1), c("b", null, i(l(
|
|
484
|
-
l(
|
|
485
|
-
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)
|
|
486
498
|
]),
|
|
487
499
|
key: "0"
|
|
488
500
|
}]), 1032, [
|
|
@@ -495,14 +507,18 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
495
507
|
"show-terms-notice",
|
|
496
508
|
"is-sidebar-loading",
|
|
497
509
|
"notice",
|
|
498
|
-
"prev-callback"
|
|
510
|
+
"prev-callback",
|
|
511
|
+
"applied-discount-code",
|
|
512
|
+
"guest-discount-code",
|
|
513
|
+
"is-validating-discount-code",
|
|
514
|
+
"on-reset-discount-code"
|
|
499
515
|
]);
|
|
500
516
|
};
|
|
501
517
|
}
|
|
502
|
-
}), [["__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({
|
|
503
519
|
__name: "GuestDiscountForm",
|
|
504
520
|
setup(e) {
|
|
505
|
-
let { t } = A(), n =
|
|
521
|
+
let { t } = A(), n = Ee("history"), r = ve(), { display: a } = _e(), o = b();
|
|
506
522
|
async function s() {
|
|
507
523
|
if (!o.value) {
|
|
508
524
|
a({
|
|
@@ -541,7 +557,7 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
541
557
|
])
|
|
542
558
|
])]));
|
|
543
559
|
}
|
|
544
|
-
}), [["__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({
|
|
545
561
|
__name: "RoomConfigField",
|
|
546
562
|
props: {
|
|
547
563
|
modelValue: {},
|
|
@@ -558,7 +574,7 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
558
574
|
},
|
|
559
575
|
emits: ["update:modelValue"],
|
|
560
576
|
setup(e, { emit: t }) {
|
|
561
|
-
let { t: n } = A(), { currency: r } = I(
|
|
577
|
+
let { t: n } = A(), { currency: r } = I(ue()), a = t, s = e;
|
|
562
578
|
function u(e) {
|
|
563
579
|
a("update:modelValue", e);
|
|
564
580
|
}
|
|
@@ -566,7 +582,7 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
566
582
|
get: () => s.modelValue,
|
|
567
583
|
set: (e) => u(e)
|
|
568
584
|
});
|
|
569
|
-
return (t, a) => (v(), o(
|
|
585
|
+
return (t, a) => (v(), o(Ae, {
|
|
570
586
|
modelValue: f.value,
|
|
571
587
|
"onUpdate:modelValue": a[0] ||= (e) => f.value = e,
|
|
572
588
|
label: e.label,
|
|
@@ -591,8 +607,8 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
591
607
|
type: "fas",
|
|
592
608
|
color: "font"
|
|
593
609
|
}), c("span", null, i(`${e.children}`), 1)])) : p("", !0)
|
|
594
|
-
]), c("span", null, i(`(${l(
|
|
595
|
-
"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)])])]),
|
|
596
612
|
_: 1
|
|
597
613
|
}, 8, [
|
|
598
614
|
"modelValue",
|
|
@@ -1094,10 +1110,10 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
1094
1110
|
return "LatLng(" + u(this.lat, e) + ", " + u(this.lng, e) + ")";
|
|
1095
1111
|
},
|
|
1096
1112
|
distanceTo: function(e) {
|
|
1097
|
-
return
|
|
1113
|
+
return R.distance(this, I(e));
|
|
1098
1114
|
},
|
|
1099
1115
|
wrap: function() {
|
|
1100
|
-
return
|
|
1116
|
+
return R.wrapLatLng(this);
|
|
1101
1117
|
},
|
|
1102
1118
|
toBounds: function(e) {
|
|
1103
1119
|
var t = 180 * e / 40075017, n = t / Math.cos(Math.PI / 180 * this.lat);
|
|
@@ -1110,7 +1126,7 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
1110
1126
|
function I(e, t, n) {
|
|
1111
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);
|
|
1112
1128
|
}
|
|
1113
|
-
var
|
|
1129
|
+
var ie = {
|
|
1114
1130
|
latLngToPoint: function(e, t) {
|
|
1115
1131
|
var n = this.projection.project(e), r = this.scale(t);
|
|
1116
1132
|
return this.transformation._transform(n, r);
|
|
@@ -1147,15 +1163,15 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
1147
1163
|
var a = e.getSouthWest(), o = e.getNorthEast();
|
|
1148
1164
|
return new N(new F(a.lat - r, a.lng - i), new F(o.lat - r, o.lng - i));
|
|
1149
1165
|
}
|
|
1150
|
-
},
|
|
1166
|
+
}, R = n({}, ie, {
|
|
1151
1167
|
wrapLng: [-180, 180],
|
|
1152
1168
|
R: 6371e3,
|
|
1153
1169
|
distance: function(e, t) {
|
|
1154
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));
|
|
1155
1171
|
return this.R * c;
|
|
1156
1172
|
}
|
|
1157
|
-
}),
|
|
1158
|
-
R:
|
|
1173
|
+
}), ae = 6378137, oe = {
|
|
1174
|
+
R: ae,
|
|
1159
1175
|
MAX_LATITUDE: 85.0511287798,
|
|
1160
1176
|
project: function(e) {
|
|
1161
1177
|
var t = Math.PI / 180, n = this.MAX_LATITUDE, r = Math.max(Math.min(n, e.lat), -n), i = Math.sin(r * t);
|
|
@@ -1166,18 +1182,18 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
1166
1182
|
return new F((2 * Math.atan(Math.exp(e.y / this.R)) - Math.PI / 2) * t, e.x * t / this.R);
|
|
1167
1183
|
},
|
|
1168
1184
|
bounds: (function() {
|
|
1169
|
-
var e =
|
|
1185
|
+
var e = ae * Math.PI;
|
|
1170
1186
|
return new j([-e, -e], [e, e]);
|
|
1171
1187
|
})()
|
|
1172
1188
|
};
|
|
1173
|
-
function
|
|
1189
|
+
function se(e, t, n, r) {
|
|
1174
1190
|
if (_(e)) {
|
|
1175
1191
|
this._a = e[0], this._b = e[1], this._c = e[2], this._d = e[3];
|
|
1176
1192
|
return;
|
|
1177
1193
|
}
|
|
1178
1194
|
this._a = e, this._b = t, this._c = n, this._d = r;
|
|
1179
1195
|
}
|
|
1180
|
-
|
|
1196
|
+
se.prototype = {
|
|
1181
1197
|
transform: function(e, t) {
|
|
1182
1198
|
return this._transform(e.clone(), t);
|
|
1183
1199
|
},
|
|
@@ -1188,21 +1204,21 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
1188
1204
|
return t ||= 1, new k((e.x / t - this._b) / this._a, (e.y / t - this._d) / this._c);
|
|
1189
1205
|
}
|
|
1190
1206
|
};
|
|
1191
|
-
function
|
|
1192
|
-
return new
|
|
1207
|
+
function ce(e, t, n, r) {
|
|
1208
|
+
return new se(e, t, n, r);
|
|
1193
1209
|
}
|
|
1194
|
-
var
|
|
1210
|
+
var le = n({}, R, {
|
|
1195
1211
|
code: "EPSG:3857",
|
|
1196
|
-
projection:
|
|
1212
|
+
projection: oe,
|
|
1197
1213
|
transformation: function() {
|
|
1198
|
-
var e = .5 / (Math.PI *
|
|
1199
|
-
return
|
|
1214
|
+
var e = .5 / (Math.PI * oe.R);
|
|
1215
|
+
return ce(e, .5, -e, .5);
|
|
1200
1216
|
}()
|
|
1201
|
-
}),
|
|
1202
|
-
function
|
|
1217
|
+
}), ue = n({}, le, { code: "EPSG:900913" });
|
|
1218
|
+
function de(e) {
|
|
1203
1219
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
1204
1220
|
}
|
|
1205
|
-
function
|
|
1221
|
+
function fe(e, t) {
|
|
1206
1222
|
var n = "", r, i, a, o, s, c;
|
|
1207
1223
|
for (r = 0, a = e.length; r < a; r++) {
|
|
1208
1224
|
for (s = e[r], i = 0, o = s.length; i < o; i++) c = s[i], n += (i ? "L" : "M") + c.x + " " + c.y;
|
|
@@ -1210,7 +1226,7 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
1210
1226
|
}
|
|
1211
1227
|
return n || "M0 0";
|
|
1212
1228
|
}
|
|
1213
|
-
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() {
|
|
1214
1230
|
var e = !1;
|
|
1215
1231
|
try {
|
|
1216
1232
|
var t = Object.defineProperty({}, "passive", { get: function() {
|
|
@@ -1221,7 +1237,7 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
1221
1237
|
return e;
|
|
1222
1238
|
}(), Ve = function() {
|
|
1223
1239
|
return !!document.createElement("canvas").getContext;
|
|
1224
|
-
}(), He = !!(document.createElementNS &&
|
|
1240
|
+
}(), He = !!(document.createElementNS && de("svg").createSVGRect), Ue = !!He && (function() {
|
|
1225
1241
|
var e = document.createElement("div");
|
|
1226
1242
|
return e.innerHTML = "<svg/>", (e.firstChild && e.firstChild.namespaceURI) === "http://www.w3.org/2000/svg";
|
|
1227
1243
|
})(), We = !He && function() {
|
|
@@ -1238,25 +1254,25 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
1238
1254
|
return navigator.userAgent.toLowerCase().indexOf(e) >= 0;
|
|
1239
1255
|
}
|
|
1240
1256
|
var H = {
|
|
1241
|
-
ie:
|
|
1242
|
-
ielt9:
|
|
1243
|
-
edge:
|
|
1244
|
-
webkit:
|
|
1245
|
-
android:
|
|
1246
|
-
android23:
|
|
1247
|
-
androidStock:
|
|
1248
|
-
opera:
|
|
1249
|
-
chrome:
|
|
1250
|
-
gecko:
|
|
1251
|
-
safari:
|
|
1252
|
-
phantom:
|
|
1253
|
-
opera12:
|
|
1254
|
-
win:
|
|
1255
|
-
ie3d:
|
|
1256
|
-
webkit3d:
|
|
1257
|
-
gecko3d:
|
|
1258
|
-
any3d:
|
|
1259
|
-
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,
|
|
1260
1276
|
mobileWebkit: V,
|
|
1261
1277
|
mobileWebkit3d: Me,
|
|
1262
1278
|
msPointer: Ne,
|
|
@@ -1650,7 +1666,7 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
1650
1666
|
}
|
|
1651
1667
|
}), Q = O.extend({
|
|
1652
1668
|
options: {
|
|
1653
|
-
crs:
|
|
1669
|
+
crs: le,
|
|
1654
1670
|
center: void 0,
|
|
1655
1671
|
zoom: void 0,
|
|
1656
1672
|
minZoom: void 0,
|
|
@@ -2723,21 +2739,21 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
2723
2739
|
__proto__: null,
|
|
2724
2740
|
LonLat: Rn,
|
|
2725
2741
|
Mercator: zn,
|
|
2726
|
-
SphericalMercator:
|
|
2727
|
-
}, Vn = n({},
|
|
2742
|
+
SphericalMercator: oe
|
|
2743
|
+
}, Vn = n({}, R, {
|
|
2728
2744
|
code: "EPSG:3395",
|
|
2729
2745
|
projection: zn,
|
|
2730
2746
|
transformation: function() {
|
|
2731
2747
|
var e = .5 / (Math.PI * zn.R);
|
|
2732
|
-
return
|
|
2748
|
+
return ce(e, .5, -e, .5);
|
|
2733
2749
|
}()
|
|
2734
|
-
}), Hn = n({},
|
|
2750
|
+
}), Hn = n({}, R, {
|
|
2735
2751
|
code: "EPSG:4326",
|
|
2736
2752
|
projection: Rn,
|
|
2737
|
-
transformation:
|
|
2738
|
-
}), Un = n({},
|
|
2753
|
+
transformation: ce(1 / 180, 1, -1 / 180, .5)
|
|
2754
|
+
}), Un = n({}, ie, {
|
|
2739
2755
|
projection: Rn,
|
|
2740
|
-
transformation:
|
|
2756
|
+
transformation: ce(1, 0, -1, 0),
|
|
2741
2757
|
scale: function(e) {
|
|
2742
2758
|
return 2 ** e;
|
|
2743
2759
|
},
|
|
@@ -2750,7 +2766,7 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
2750
2766
|
},
|
|
2751
2767
|
infinite: !0
|
|
2752
2768
|
});
|
|
2753
|
-
|
|
2769
|
+
ie.Earth = R, ie.EPSG3395 = Vn, ie.EPSG3857 = le, ie.EPSG900913 = ue, ie.EPSG4326 = Hn, ie.Simple = Un;
|
|
2754
2770
|
var Wn = O.extend({
|
|
2755
2771
|
options: {
|
|
2756
2772
|
pane: "overlayPane",
|
|
@@ -3262,8 +3278,8 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
3262
3278
|
setStyle: tr.prototype.setStyle,
|
|
3263
3279
|
_project: function() {
|
|
3264
3280
|
var e = this._latlng.lng, t = this._latlng.lat, n = this._map, r = n.options.crs;
|
|
3265
|
-
if (r.distance ===
|
|
3266
|
-
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;
|
|
3267
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;
|
|
3268
3284
|
} else {
|
|
3269
3285
|
var d = r.unproject(r.project(this._latlng).subtract([this._mRadius, 0]));
|
|
@@ -4727,7 +4743,7 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
4727
4743
|
_bringToBack: function(e) {
|
|
4728
4744
|
xt(e._container);
|
|
4729
4745
|
}
|
|
4730
|
-
}, Kr = H.vml ? Wr :
|
|
4746
|
+
}, Kr = H.vml ? Wr : de, qr = Vr.extend({
|
|
4731
4747
|
_initContainer: function() {
|
|
4732
4748
|
this._container = Kr("svg"), this._container.setAttribute("pointer-events", "none"), this._rootGroup = Kr("g"), this._container.appendChild(this._rootGroup);
|
|
4733
4749
|
},
|
|
@@ -4764,7 +4780,7 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
4764
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"));
|
|
4765
4781
|
},
|
|
4766
4782
|
_updatePoly: function(e, t) {
|
|
4767
|
-
this._setPath(e,
|
|
4783
|
+
this._setPath(e, fe(e._parts, t));
|
|
4768
4784
|
},
|
|
4769
4785
|
_updateCircle: function(e) {
|
|
4770
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 ";
|
|
@@ -4817,7 +4833,7 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
4817
4833
|
function Xr(e, t) {
|
|
4818
4834
|
return new Yr(e, t);
|
|
4819
4835
|
}
|
|
4820
|
-
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 });
|
|
4821
4837
|
var Zr = mn.extend({
|
|
4822
4838
|
initialize: function(e) {
|
|
4823
4839
|
this._map = e, this._container = e._container, this._pane = e._panes.overlayPane, this._resetStateTimeout = 0, e.on("unload", this._destroy, this);
|
|
@@ -5176,7 +5192,7 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
5176
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));
|
|
5177
5193
|
}
|
|
5178
5194
|
});
|
|
5179
|
-
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;
|
|
5180
5196
|
var ai = window.L;
|
|
5181
5197
|
e.noConflict = function() {
|
|
5182
5198
|
return window.L = ai, this;
|
|
@@ -5923,7 +5939,7 @@ var vt = /* @__PURE__ */ ye(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"
|
|
|
5923
5939
|
} }), e.MarkerClusterGroup = t, e.MarkerCluster = n, Object.defineProperty(e, "__esModule", { value: !0 });
|
|
5924
5940
|
});
|
|
5925
5941
|
})))();
|
|
5926
|
-
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({
|
|
5927
5943
|
__name: "Map",
|
|
5928
5944
|
props: {
|
|
5929
5945
|
modelValue: {},
|
|
@@ -5931,7 +5947,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
5931
5947
|
},
|
|
5932
5948
|
emits: ["update:modelValue", "callback"],
|
|
5933
5949
|
setup(e, { emit: t }) {
|
|
5934
|
-
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({
|
|
5935
5951
|
iconUrl: Jt,
|
|
5936
5952
|
iconSize: [32, 37],
|
|
5937
5953
|
iconAnchor: [16, 37]
|
|
@@ -5965,7 +5981,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
5965
5981
|
});
|
|
5966
5982
|
});
|
|
5967
5983
|
}
|
|
5968
|
-
let { stop: m } =
|
|
5984
|
+
let { stop: m } = Te(s, ([{ isIntersecting: e }]) => {
|
|
5969
5985
|
e && (m(), p());
|
|
5970
5986
|
}), h = g({
|
|
5971
5987
|
get: () => i.modelValue,
|
|
@@ -6025,7 +6041,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6025
6041
|
}, nn = {
|
|
6026
6042
|
key: 1,
|
|
6027
6043
|
class: "konnectio-listing-units-body"
|
|
6028
|
-
}, rn = /* @__PURE__ */
|
|
6044
|
+
}, rn = /* @__PURE__ */ be(/* @__PURE__ */ m({
|
|
6029
6045
|
__name: "Hotel",
|
|
6030
6046
|
props: {
|
|
6031
6047
|
room: {},
|
|
@@ -6043,7 +6059,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6043
6059
|
let { t: u } = A(), f = e, m = b([]);
|
|
6044
6060
|
function h() {
|
|
6045
6061
|
let e = m.value.length;
|
|
6046
|
-
|
|
6062
|
+
ie(e);
|
|
6047
6063
|
}
|
|
6048
6064
|
function _(e) {
|
|
6049
6065
|
m.value.splice(e, 1);
|
|
@@ -6051,7 +6067,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6051
6067
|
let y = g(() => f.room.rates.map((e) => ({
|
|
6052
6068
|
label: e.name,
|
|
6053
6069
|
value: e.id
|
|
6054
|
-
}))), { 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) => ({
|
|
6055
6071
|
value: e.index,
|
|
6056
6072
|
price: e.totalPrice,
|
|
6057
6073
|
adults: e.adultsCount,
|
|
@@ -6061,7 +6077,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6061
6077
|
function F(e, t) {
|
|
6062
6078
|
m.value[e].config[0].id = f.room.rates.find((e) => e.id === t.value)?.occupantRateIndex || NaN;
|
|
6063
6079
|
}
|
|
6064
|
-
function
|
|
6080
|
+
function ie(e = 0) {
|
|
6065
6081
|
P.value ? te.value ? m.value[e] = {
|
|
6066
6082
|
id: f.room.bestRateMatch || void 0,
|
|
6067
6083
|
config: [{
|
|
@@ -6086,7 +6102,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6086
6102
|
};
|
|
6087
6103
|
}
|
|
6088
6104
|
return M(() => {
|
|
6089
|
-
|
|
6105
|
+
ie();
|
|
6090
6106
|
}), k(g(() => JSON.parse(JSON.stringify(m.value))), (e, t) => {
|
|
6091
6107
|
t.length > 0 && e.forEach((e, n) => {
|
|
6092
6108
|
t[n] && e.config.forEach((e, r) => {
|
|
@@ -6115,10 +6131,10 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6115
6131
|
"prices-from": e.room.pricesFrom,
|
|
6116
6132
|
"includes-breakfast": re.value
|
|
6117
6133
|
}, {
|
|
6118
|
-
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", {
|
|
6119
6135
|
key: i.id,
|
|
6120
6136
|
class: "konnectio-hotel-room"
|
|
6121
|
-
}, [P.value ? (v(), D("div", Zt, [d(
|
|
6137
|
+
}, [P.value ? (v(), D("div", Zt, [d(Ae, {
|
|
6122
6138
|
modelValue: i.id,
|
|
6123
6139
|
"onUpdate:modelValue": (e) => i.id = e,
|
|
6124
6140
|
label: l(u)("hotel.roomVariant"),
|
|
@@ -6133,16 +6149,16 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6133
6149
|
"placeholder",
|
|
6134
6150
|
"options",
|
|
6135
6151
|
"onChanged"
|
|
6136
|
-
]), m.value.length > 1 ? (v(), D("div", Qt, [d(
|
|
6152
|
+
]), m.value.length > 1 ? (v(), D("div", Qt, [d(B, {
|
|
6137
6153
|
style: { "--buttonBackground": "var(--dangerColor)" },
|
|
6138
6154
|
icon: "trash-alt",
|
|
6139
6155
|
"icon-type": "fas",
|
|
6140
6156
|
onClickEvent: (e) => _(o),
|
|
6141
6157
|
secondary: ""
|
|
6142
|
-
}, 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", {
|
|
6143
6159
|
key: o,
|
|
6144
6160
|
class: "konnectio-listing-action-selective-i"
|
|
6145
|
-
}, [i.id === o ? (v(!0), D(
|
|
6161
|
+
}, [i.id === o ? (v(!0), D(R, { key: 0 }, n(i.config, (n, f) => (v(), D("div", {
|
|
6146
6162
|
key: f,
|
|
6147
6163
|
class: "konnectio-listing-action-selective"
|
|
6148
6164
|
}, [c("ul", en, [d(qt, {
|
|
@@ -6161,7 +6177,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6161
6177
|
"description",
|
|
6162
6178
|
"options",
|
|
6163
6179
|
"readonly"
|
|
6164
|
-
])]), O.value ? (v(), D("div", nn, [d(
|
|
6180
|
+
])]), O.value ? (v(), D("div", nn, [d(B, {
|
|
6165
6181
|
onClickEvent: r,
|
|
6166
6182
|
label: l(u)("hotel.selectRoomOnMap"),
|
|
6167
6183
|
secondary: "",
|
|
@@ -6177,7 +6193,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6177
6193
|
"modelValue",
|
|
6178
6194
|
"room-list",
|
|
6179
6195
|
"config"
|
|
6180
|
-
])])) : (v(), D("ul", tn, [d(
|
|
6196
|
+
])])) : (v(), D("ul", tn, [d(ke, {
|
|
6181
6197
|
modelValue: n.units,
|
|
6182
6198
|
"onUpdate:modelValue": (e) => n.units = e,
|
|
6183
6199
|
description: l(ee) ? void 0 : `${l(u)("booking.availability.availableUnits")}: ${j(i.id, n.id)}`,
|
|
@@ -6196,7 +6212,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6196
6212
|
])]))]))), 128)) : p("", !0)]))), 128))])) : p("", !0)]))), 128)), l(x) && P.value ? (v(), D("button", {
|
|
6197
6213
|
key: 0,
|
|
6198
6214
|
class: "konnectio-hotel-add-extra-room link",
|
|
6199
|
-
onClick:
|
|
6215
|
+
onClick: ae(h, ["prevent"])
|
|
6200
6216
|
}, [c("span", null, i(l(u)("hotel.addExtraVariant")), 1)])) : p("", !0)], 2)]),
|
|
6201
6217
|
_: 1
|
|
6202
6218
|
}, 8, [
|
|
@@ -6213,7 +6229,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6213
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 = {
|
|
6214
6230
|
key: 0,
|
|
6215
6231
|
class: "konnectio-template-selection-preview"
|
|
6216
|
-
}, 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({
|
|
6217
6233
|
__name: "Template",
|
|
6218
6234
|
props: {
|
|
6219
6235
|
title: {},
|
|
@@ -6224,7 +6240,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6224
6240
|
callback: { type: Function }
|
|
6225
6241
|
},
|
|
6226
6242
|
setup(e) {
|
|
6227
|
-
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(() => {
|
|
6228
6244
|
function e(e, t) {
|
|
6229
6245
|
return C.value === !0 ? e.extraPrice > t.extraPrice ? -1 : 1 : e.extraPrice > t.extraPrice ? 1 : -1;
|
|
6230
6246
|
}
|
|
@@ -6286,27 +6302,27 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6286
6302
|
});
|
|
6287
6303
|
}), e;
|
|
6288
6304
|
});
|
|
6289
|
-
function
|
|
6305
|
+
function ae(e, t) {
|
|
6290
6306
|
return F.value[e]?.[t] ?? 0;
|
|
6291
6307
|
}
|
|
6292
|
-
function
|
|
6308
|
+
function oe() {
|
|
6293
6309
|
let e = 0;
|
|
6294
6310
|
return O.value.forEach((t) => {
|
|
6295
6311
|
let n = E[t.id];
|
|
6296
6312
|
if (!(!n || n.units === 0)) for (let r = 0; r < n.units; r++) {
|
|
6297
|
-
let n =
|
|
6313
|
+
let n = ae(t.id, r);
|
|
6298
6314
|
e += n + x.weekendFee;
|
|
6299
6315
|
}
|
|
6300
6316
|
}), e;
|
|
6301
6317
|
}
|
|
6302
|
-
function
|
|
6318
|
+
function se() {
|
|
6303
6319
|
return Object.values(E).reduce((e, t) => e + t.units, 0);
|
|
6304
6320
|
}
|
|
6305
|
-
let
|
|
6321
|
+
let ce = g(() => O.value.filter((e) => E[e.id]?.units > 0).map((e) => {
|
|
6306
6322
|
let t = E[e.id], n = t.configs.slice(0, t.units).map((t, n) => ({
|
|
6307
6323
|
adults: t.adults,
|
|
6308
6324
|
children: t.children,
|
|
6309
|
-
price:
|
|
6325
|
+
price: ae(e.id, n) + x.weekendFee
|
|
6310
6326
|
}));
|
|
6311
6327
|
return {
|
|
6312
6328
|
id: e.id,
|
|
@@ -6315,10 +6331,10 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6315
6331
|
units: n
|
|
6316
6332
|
};
|
|
6317
6333
|
}));
|
|
6318
|
-
k(
|
|
6334
|
+
k(ce, () => {
|
|
6319
6335
|
u(() => window.dispatchEvent(new Event("resize")));
|
|
6320
6336
|
});
|
|
6321
|
-
function
|
|
6337
|
+
function de() {
|
|
6322
6338
|
if (!Object.values(E).some((e) => e.units > 0)) return;
|
|
6323
6339
|
ee();
|
|
6324
6340
|
let e = [], t = 0, n = 0;
|
|
@@ -6335,7 +6351,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6335
6351
|
}))
|
|
6336
6352
|
}), s.value ||= r.id;
|
|
6337
6353
|
for (let e = 0; e < i.units; e++) {
|
|
6338
|
-
let t =
|
|
6354
|
+
let t = ae(r.id, e);
|
|
6339
6355
|
te({
|
|
6340
6356
|
id: r.id,
|
|
6341
6357
|
name: r.title,
|
|
@@ -6355,23 +6371,23 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6355
6371
|
title: e.title,
|
|
6356
6372
|
subtitle: l(t)("booking.availability.selectATemplateRoom")
|
|
6357
6373
|
}, {
|
|
6358
|
-
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", {
|
|
6359
6375
|
key: e.id,
|
|
6360
6376
|
class: "konnectio-template-selection-item"
|
|
6361
|
-
}, [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", {
|
|
6362
6378
|
key: n,
|
|
6363
6379
|
class: "konnectio-template-selection-unit"
|
|
6364
6380
|
}, [
|
|
6365
6381
|
ne(i(l(t)("booking.reservation.room")) + " " + i(n + 1) + ": " + i(e.adults) + " " + i(l(t)("availability.adults")) + " ", 1),
|
|
6366
|
-
e.children > 0 ? (v(), D(
|
|
6367
|
-
ne(" · " + i(l(
|
|
6368
|
-
]))), 128))])]))), 128))])) : p("", !0), d(
|
|
6369
|
-
onClickEvent:
|
|
6370
|
-
label: `${
|
|
6371
|
-
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,
|
|
6372
6388
|
"full-width": ""
|
|
6373
6389
|
}, null, 8, ["label", "disabled"])])]),
|
|
6374
|
-
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, {
|
|
6375
6391
|
key: e.id,
|
|
6376
6392
|
type: "hotel",
|
|
6377
6393
|
"listing-id": e.id,
|
|
@@ -6383,7 +6399,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6383
6399
|
"includes-breakfast": !1,
|
|
6384
6400
|
"hide-info-button": !0
|
|
6385
6401
|
}, {
|
|
6386
|
-
action: S(() => [c("div", $, [c("div", on, [d(
|
|
6402
|
+
action: S(() => [c("div", $, [c("div", on, [d(ke, {
|
|
6387
6403
|
modelValue: E[e.id].units,
|
|
6388
6404
|
"onUpdate:modelValue": (t) => E[e.id].units = t,
|
|
6389
6405
|
label: l(t)("booking.availability.units"),
|
|
@@ -6398,10 +6414,10 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6398
6414
|
"onUpdate:modelValue",
|
|
6399
6415
|
"label",
|
|
6400
6416
|
"max-value"
|
|
6401
|
-
])]), (v(!0), D(
|
|
6417
|
+
])]), (v(!0), D(R, null, n(E[e.id].configs, (n, r) => (v(), D("div", {
|
|
6402
6418
|
key: r,
|
|
6403
6419
|
class: "konnectio-template-room-unit-config"
|
|
6404
|
-
}, [c("div", sn, [c("span", null, i(l(t)("booking.reservation.room")) + " " + i(r + 1), 1), c("span", null, i(l(
|
|
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, {
|
|
6405
6421
|
modelValue: n.adults,
|
|
6406
6422
|
"onUpdate:modelValue": (e) => n.adults = e,
|
|
6407
6423
|
label: l(t)("availability.adults"),
|
|
@@ -6418,7 +6434,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6418
6434
|
"label",
|
|
6419
6435
|
"description",
|
|
6420
6436
|
"max-value"
|
|
6421
|
-
]), d(
|
|
6437
|
+
]), d(ke, {
|
|
6422
6438
|
modelValue: n.children,
|
|
6423
6439
|
"onUpdate:modelValue": (e) => n.children = e,
|
|
6424
6440
|
label: l(t)("availability.children"),
|
|
@@ -6461,7 +6477,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6461
6477
|
callback: { type: Function }
|
|
6462
6478
|
},
|
|
6463
6479
|
setup(e) {
|
|
6464
|
-
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);
|
|
6465
6481
|
function s() {
|
|
6466
6482
|
a.value = !0;
|
|
6467
6483
|
}
|
|
@@ -6474,12 +6490,12 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6474
6490
|
name: e.name,
|
|
6475
6491
|
description: e.description,
|
|
6476
6492
|
gallery: e.images,
|
|
6477
|
-
layout: l(
|
|
6493
|
+
layout: l(ye).Template,
|
|
6478
6494
|
"includes-breakfast": !1,
|
|
6479
6495
|
"hide-info-button": !1,
|
|
6480
6496
|
"prices-from": i.value
|
|
6481
6497
|
}, {
|
|
6482
|
-
action: S(() => [c("div", gn, [d(
|
|
6498
|
+
action: S(() => [c("div", gn, [d(B, {
|
|
6483
6499
|
onClickEvent: s,
|
|
6484
6500
|
label: l(t)("booking.availability.selectPackage"),
|
|
6485
6501
|
"full-width": "",
|
|
@@ -6512,7 +6528,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6512
6528
|
"prices-from"
|
|
6513
6529
|
]));
|
|
6514
6530
|
}
|
|
6515
|
-
}), 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({
|
|
6516
6532
|
__name: "SpecialOffer",
|
|
6517
6533
|
props: {
|
|
6518
6534
|
id: {},
|
|
@@ -6525,7 +6541,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6525
6541
|
roomGroups: {}
|
|
6526
6542
|
},
|
|
6527
6543
|
setup(e) {
|
|
6528
|
-
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);
|
|
6529
6545
|
function u() {
|
|
6530
6546
|
a.value.length > 0 ? n(a.value[0], a.value[1]) : r({
|
|
6531
6547
|
message: t("alert.error.selectDates"),
|
|
@@ -6540,7 +6556,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6540
6556
|
name: e.name,
|
|
6541
6557
|
description: e.description,
|
|
6542
6558
|
gallery: e.images,
|
|
6543
|
-
layout: l(
|
|
6559
|
+
layout: l(ye).Template,
|
|
6544
6560
|
"includes-breakfast": !1,
|
|
6545
6561
|
"hide-info-button": !1,
|
|
6546
6562
|
"to-date": e.toDate,
|
|
@@ -6568,9 +6584,9 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6568
6584
|
"min-date",
|
|
6569
6585
|
"max-date",
|
|
6570
6586
|
"readonly"
|
|
6571
|
-
]), c("div", yn, [d(
|
|
6587
|
+
]), c("div", yn, [d(B, {
|
|
6572
6588
|
label: l(t)("availability.buttonLabel"),
|
|
6573
|
-
onClick:
|
|
6589
|
+
onClick: ae(u, ["prevent"])
|
|
6574
6590
|
}, null, 8, ["label"])])])]),
|
|
6575
6591
|
_: 1
|
|
6576
6592
|
}, 8, [
|
|
@@ -6640,7 +6656,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6640
6656
|
}), Sn = { style: {
|
|
6641
6657
|
display: "flex",
|
|
6642
6658
|
"align-items": "baseline"
|
|
6643
|
-
} }, Cn = /* @__PURE__ */
|
|
6659
|
+
} }, Cn = /* @__PURE__ */ be(/* @__PURE__ */ m({
|
|
6644
6660
|
__name: "CountryField",
|
|
6645
6661
|
props: {
|
|
6646
6662
|
modelValue: {},
|
|
@@ -6666,7 +6682,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6666
6682
|
get: () => a.modelValue,
|
|
6667
6683
|
set: (e) => u(e)
|
|
6668
6684
|
});
|
|
6669
|
-
return (t, r) => (v(), o(
|
|
6685
|
+
return (t, r) => (v(), o(Ae, {
|
|
6670
6686
|
modelValue: d.value,
|
|
6671
6687
|
"onUpdate:modelValue": r[0] ||= (e) => d.value = e,
|
|
6672
6688
|
label: e.label,
|
|
@@ -6687,7 +6703,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6687
6703
|
"required"
|
|
6688
6704
|
]));
|
|
6689
6705
|
}
|
|
6690
|
-
}), [["__scopeId", "data-v-a94e1728"]]), wn = /* @__PURE__ */
|
|
6706
|
+
}), [["__scopeId", "data-v-a94e1728"]]), wn = /* @__PURE__ */ be(/* @__PURE__ */ m({
|
|
6691
6707
|
__name: "NameField",
|
|
6692
6708
|
props: {
|
|
6693
6709
|
modelValue: {},
|
|
@@ -6723,7 +6739,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6723
6739
|
},
|
|
6724
6740
|
emits: ["update:modelValue", "update:title"],
|
|
6725
6741
|
setup(e, { emit: t }) {
|
|
6726
|
-
let n = e, r = t, i = n.id ||
|
|
6742
|
+
let n = e, r = t, i = n.id || Se(), a = b(""), u = b(2);
|
|
6727
6743
|
function f() {
|
|
6728
6744
|
r("update:modelValue", a.value);
|
|
6729
6745
|
}
|
|
@@ -6733,7 +6749,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6733
6749
|
let { t: m } = A();
|
|
6734
6750
|
return M(() => {
|
|
6735
6751
|
n.modelValue && (a.value = n.modelValue), n.title && (u.value = n.title);
|
|
6736
|
-
}), (t, n) => (v(), o(
|
|
6752
|
+
}), (t, n) => (v(), o(Ce, {
|
|
6737
6753
|
label: e.label,
|
|
6738
6754
|
id: l(i),
|
|
6739
6755
|
required: e.required,
|
|
@@ -6741,11 +6757,11 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6741
6757
|
readonly: e.readonly,
|
|
6742
6758
|
limit: e.limit
|
|
6743
6759
|
}, {
|
|
6744
|
-
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, {
|
|
6745
6761
|
key: 0,
|
|
6746
6762
|
modelValue: u.value,
|
|
6747
6763
|
"onUpdate:modelValue": n[0] ||= (e) => u.value = e,
|
|
6748
|
-
id: l(
|
|
6764
|
+
id: l(Se)(),
|
|
6749
6765
|
icon: e.icon,
|
|
6750
6766
|
"icon-color": e.iconColor,
|
|
6751
6767
|
"icon-type": e.iconType,
|
|
@@ -6782,7 +6798,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6782
6798
|
"icon-type",
|
|
6783
6799
|
"options",
|
|
6784
6800
|
"readonly"
|
|
6785
|
-
])), d(
|
|
6801
|
+
])), d(De, {
|
|
6786
6802
|
modelValue: a.value,
|
|
6787
6803
|
"onUpdate:modelValue": n[1] ||= (e) => a.value = e,
|
|
6788
6804
|
type: "text",
|
|
@@ -6817,7 +6833,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6817
6833
|
"limit"
|
|
6818
6834
|
]));
|
|
6819
6835
|
}
|
|
6820
|
-
}), [["__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({
|
|
6821
6837
|
__name: "HotelSkeleton",
|
|
6822
6838
|
setup(e) {
|
|
6823
6839
|
return (e, t) => (v(), D("div", Tn, [c("div", En, [d(Ne, { hotel: "" }), d(Ue)]), c("div", Dn, [d(We)])]));
|
|
@@ -6890,12 +6906,12 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6890
6906
|
}, kr = { class: "konnectio-split-inputs" }, Ar = {
|
|
6891
6907
|
key: 0,
|
|
6892
6908
|
class: "konnectio-hotel-member-card-mockup"
|
|
6893
|
-
}, 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({
|
|
6894
6910
|
name: "HotelLayout",
|
|
6895
6911
|
__name: "Hotel",
|
|
6896
6912
|
props: {
|
|
6897
6913
|
accessToken: {},
|
|
6898
|
-
headerLayout: { default:
|
|
6914
|
+
headerLayout: { default: z.Minimal },
|
|
6899
6915
|
onlyShow: { default: "everything" },
|
|
6900
6916
|
hideAddons: { default: "no" },
|
|
6901
6917
|
disableDefaultLocation: { default: "no" },
|
|
@@ -6911,7 +6927,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6911
6927
|
styling: {}
|
|
6912
6928
|
},
|
|
6913
6929
|
setup(e) {
|
|
6914
|
-
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(() => [
|
|
6915
6931
|
{
|
|
6916
6932
|
id: "availability",
|
|
6917
6933
|
label: a("booking.availability.title"),
|
|
@@ -6949,7 +6965,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6949
6965
|
value: "Bleasure"
|
|
6950
6966
|
}), e;
|
|
6951
6967
|
}), Jt = g(() => {
|
|
6952
|
-
let e =
|
|
6968
|
+
let e = z.value.roomGroups.slice();
|
|
6953
6969
|
function t(e, t) {
|
|
6954
6970
|
return Kt.value === !0 ? e.pricesFrom > t.pricesFrom ? -1 : 1 : e.pricesFrom > t.pricesFrom ? 1 : -1;
|
|
6955
6971
|
}
|
|
@@ -6959,13 +6975,13 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6959
6975
|
return (e.templateRoomGroups.length > 0 ? Math.min(...e.templateRoomGroups.map((e) => e.totalPrice)) : 0) + e.weekendFee;
|
|
6960
6976
|
}
|
|
6961
6977
|
let Z = g(() => {
|
|
6962
|
-
let e =
|
|
6978
|
+
let e = z.value.templates.slice();
|
|
6963
6979
|
return r.sortBy === "price" && e.sort((e, t) => {
|
|
6964
6980
|
let n = Yt(e), r = Yt(t);
|
|
6965
6981
|
return Kt.value ? r - n : n - r;
|
|
6966
6982
|
}), e;
|
|
6967
6983
|
}), Xt = g(() => {
|
|
6968
|
-
let e =
|
|
6984
|
+
let e = z.value.specialTemplates.slice();
|
|
6969
6985
|
return r.sortBy === "price" && e.sort((e, t) => {
|
|
6970
6986
|
let n = Yt(e), r = Yt(t);
|
|
6971
6987
|
return Kt.value ? r - n : n - r;
|
|
@@ -6976,7 +6992,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6976
6992
|
t ? (at.value = t, Gt()) : Ke.value && !ot.value && (at.value = Ze.value, Gt()), e();
|
|
6977
6993
|
}
|
|
6978
6994
|
function $t(e) {
|
|
6979
|
-
Zt.value ||
|
|
6995
|
+
Zt.value || Ce.value ? e(2) : e();
|
|
6980
6996
|
}
|
|
6981
6997
|
async function en(e, t) {
|
|
6982
6998
|
await It(e, t);
|
|
@@ -6992,23 +7008,23 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6992
7008
|
zt();
|
|
6993
7009
|
}
|
|
6994
7010
|
function nn() {
|
|
6995
|
-
let e =
|
|
7011
|
+
let e = Ee("history", { removeNullishValues: !0 });
|
|
6996
7012
|
Nt(), e.id = void 0, zt();
|
|
6997
7013
|
}
|
|
6998
7014
|
function Q(e) {
|
|
6999
|
-
gt.value && Pt(), Ke.value && !ot.value && (at.value = Ze.value, Gt()), Zt.value ||
|
|
7015
|
+
gt.value && Pt(), Ke.value && !ot.value && (at.value = Ze.value, Gt()), Zt.value || Ce.value ? e(2) : e();
|
|
7000
7016
|
}
|
|
7001
7017
|
function an() {
|
|
7002
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));
|
|
7003
7019
|
}
|
|
7004
|
-
let $ =
|
|
7020
|
+
let $ = Ee("history", { removeNullishValues: !0 });
|
|
7005
7021
|
async function on() {
|
|
7006
7022
|
an();
|
|
7007
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;
|
|
7008
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({
|
|
7009
7025
|
message: a("alert.error.hotelIdNotFound"),
|
|
7010
7026
|
type: "error"
|
|
7011
|
-
}))), o && s) if (
|
|
7027
|
+
}))), o && s) if (pe(o) && pe(s)) {
|
|
7012
7028
|
let e = new Date(new Date(o).setHours(12, 0, 0, 0)), t = new Date(new Date(s).setHours(12, 0, 0, 0));
|
|
7013
7029
|
e <= t ? (ut.value = e, dt.value = t) : ($.ci = void 0, $.co = void 0, Ft({
|
|
7014
7030
|
message: a("alert.error.invalidDateRange"),
|
|
@@ -7024,7 +7040,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7024
7040
|
}
|
|
7025
7041
|
d && Ut(d), r.disableDefaultLocation === "yes" && f === !1 ? (lt.value = void 0, u.value = void 0) : zt();
|
|
7026
7042
|
}
|
|
7027
|
-
return (r, f) => (v(), o(
|
|
7043
|
+
return (r, f) => (v(), o(we, { styling: e.styling }, {
|
|
7028
7044
|
default: S(() => [(v(), o(h, { onResolve: on }, {
|
|
7029
7045
|
default: S(() => [d(l(t), {
|
|
7030
7046
|
id: "konnectio-hotel-module",
|
|
@@ -7058,12 +7074,12 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7058
7074
|
onClick: f[0] ||= (e) => nn()
|
|
7059
7075
|
}, i(l(a)("general.filteredListingShowAll")), 1)])])) : p("", !0),
|
|
7060
7076
|
p("", !0),
|
|
7061
|
-
!l(b) && l(
|
|
7062
|
-
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, {
|
|
7063
7079
|
icon: "box",
|
|
7064
7080
|
type: "fal",
|
|
7065
7081
|
color: "header"
|
|
7066
|
-
}), 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, {
|
|
7067
7083
|
key: n,
|
|
7068
7084
|
id: n,
|
|
7069
7085
|
description: s,
|
|
@@ -7083,28 +7099,28 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7083
7099
|
"callback",
|
|
7084
7100
|
"hide-addons"
|
|
7085
7101
|
]))), 128))])])) : p("", !0),
|
|
7086
|
-
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, {
|
|
7087
7103
|
icon: "house",
|
|
7088
7104
|
type: "fal",
|
|
7089
7105
|
color: "header"
|
|
7090
|
-
}), 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, {
|
|
7091
7107
|
room: e,
|
|
7092
7108
|
key: n,
|
|
7093
7109
|
callback: t
|
|
7094
|
-
}, null, 8, ["room", "callback"]))), 128))])], 64)) : p("", !0), Jt.value.camping && e.onlyShow !== "rooms" && e.onlyShow !== "non-camping" ? (v(), D(
|
|
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, {
|
|
7095
7111
|
icon: "map-location-dot",
|
|
7096
7112
|
type: "fal",
|
|
7097
7113
|
color: "header"
|
|
7098
|
-
}), 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, {
|
|
7099
7115
|
room: e,
|
|
7100
7116
|
key: n,
|
|
7101
7117
|
callback: t
|
|
7102
7118
|
}, null, 8, ["room", "callback"]))), 128))])], 64)) : p("", !0)])) : p("", !0),
|
|
7103
|
-
l(wt) ? p("", !0) : (v(), D(
|
|
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, {
|
|
7104
7120
|
icon: "sparkles",
|
|
7105
7121
|
type: "fal",
|
|
7106
7122
|
color: "header"
|
|
7107
|
-
}), 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, {
|
|
7108
7124
|
key: e,
|
|
7109
7125
|
id: e,
|
|
7110
7126
|
description: i,
|
|
@@ -7124,16 +7140,16 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7124
7140
|
"weekendFee",
|
|
7125
7141
|
"room-groups"
|
|
7126
7142
|
]))), 128))])])) : p("", !0)], 64)),
|
|
7127
|
-
(l(
|
|
7128
|
-
])) : 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, [
|
|
7129
7145
|
c("div", Zn, [c("span", { innerHTML: l(a)("hotel.everyRoomIsBooked") }, null, 8, Qn)]),
|
|
7130
7146
|
c("h2", $n, [d(V, {
|
|
7131
7147
|
icon: "calendar-circle-exclamation",
|
|
7132
7148
|
type: "fal",
|
|
7133
7149
|
color: "header"
|
|
7134
7150
|
}), c("span", null, i(l(a)("booking.availability.nextAvailableDates")), 1)]),
|
|
7135
|
-
c("ul", er, [(v(!0), D(
|
|
7136
|
-
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),
|
|
7137
7153
|
c("ul", null, [isNaN(e.roomCount) ? p("", !0) : (v(), D("li", nr, [d(V, {
|
|
7138
7154
|
icon: "house",
|
|
7139
7155
|
type: "fal",
|
|
@@ -7142,8 +7158,8 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7142
7158
|
icon: "money-bill",
|
|
7143
7159
|
type: "fal",
|
|
7144
7160
|
color: "header"
|
|
7145
|
-
}), c("span", null, i(l(a)("booking.availability.pricesFrom")) + ": " + i(l(
|
|
7146
|
-
d(
|
|
7161
|
+
}), c("span", null, i(l(a)("booking.availability.pricesFrom")) + ": " + i(l(he)(e.priceStartFrom, l(ht))), 1)])]),
|
|
7162
|
+
d(B, {
|
|
7147
7163
|
label: l(a)("booking.availability.selectDates"),
|
|
7148
7164
|
"full-width": "",
|
|
7149
7165
|
onClickEvent: (t) => l(mt)(new Date(e.fromDate), new Date(e.toDate))
|
|
@@ -7156,16 +7172,16 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7156
7172
|
]))
|
|
7157
7173
|
])]),
|
|
7158
7174
|
navigation: S(() => [
|
|
7159
|
-
l(Ne) ? (v(), o(
|
|
7175
|
+
l(Ne) ? (v(), o(B, {
|
|
7160
7176
|
key: 0,
|
|
7161
7177
|
label: isNaN(l(u)) ? l(a)("availability.buttonLabel") : l(a)("general.searchAgain"),
|
|
7162
7178
|
"is-loading": l(b),
|
|
7163
7179
|
"full-width": "",
|
|
7164
7180
|
onClickEvent: f[2] ||= (e) => tn()
|
|
7165
|
-
}, null, 8, ["label", "is-loading"])) : (v(), o(
|
|
7181
|
+
}, null, 8, ["label", "is-loading"])) : (v(), o(B, {
|
|
7166
7182
|
key: 1,
|
|
7167
|
-
label: l(
|
|
7168
|
-
disabled: !l(
|
|
7183
|
+
label: l(Ce) || Zt.value ? l(a)("booking.availability.nextButton") : l(a)("general.chooseAddons"),
|
|
7184
|
+
disabled: !l(Se),
|
|
7169
7185
|
"full-width": "",
|
|
7170
7186
|
onClickEvent: (e) => Q(t)
|
|
7171
7187
|
}, null, 8, [
|
|
@@ -7190,7 +7206,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7190
7206
|
]),
|
|
7191
7207
|
_: 2
|
|
7192
7208
|
}, 1024)]),
|
|
7193
|
-
addons: S(({ next: e, prev: t }) => [l(
|
|
7209
|
+
addons: S(({ next: e, prev: t }) => [l(Te) ? (v(), o(Lt, {
|
|
7194
7210
|
key: 0,
|
|
7195
7211
|
"prev-callback": () => $t(t)
|
|
7196
7212
|
}, {
|
|
@@ -7200,11 +7216,11 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7200
7216
|
innerHTML: l(a)("hotel.addonTopNotice"),
|
|
7201
7217
|
class: "konnectio-wysiwyg"
|
|
7202
7218
|
}, null, 8, ur)])) : p("", !0),
|
|
7203
|
-
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", {
|
|
7204
7220
|
key: u,
|
|
7205
7221
|
class: "konnectio-table with-lines without-header"
|
|
7206
7222
|
}, [c("thead", null, [c("tr", null, [
|
|
7207
|
-
c("th", null, [c("span", null, i(l(
|
|
7223
|
+
c("th", null, [c("span", null, i(l(de)(t.name)), 1)]),
|
|
7208
7224
|
p("", !0),
|
|
7209
7225
|
c("th", pr, [c("b", null, [
|
|
7210
7226
|
d(V, {
|
|
@@ -7221,27 +7237,27 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7221
7237
|
})) : p("", !0),
|
|
7222
7238
|
a.childrenCount > 0 ? (v(), D("span", mr, i(a.childrenCount), 1)) : p("", !0)
|
|
7223
7239
|
])])
|
|
7224
|
-
])]), 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), {
|
|
7225
7241
|
src: g,
|
|
7226
7242
|
"zoom-scale": 1
|
|
7227
7243
|
}, null, 8, ["src"])])) : p("", !0), c("div", null, [
|
|
7228
|
-
c("b", null, i(l(
|
|
7229
|
-
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),
|
|
7230
7246
|
_ ? (v(), D("p", {
|
|
7231
7247
|
key: 0,
|
|
7232
|
-
innerHTML: l(
|
|
7248
|
+
innerHTML: l(me)(_)
|
|
7233
7249
|
}, null, 8, gr)) : p("", !0)
|
|
7234
|
-
])], 2), c("td", _r, [l(
|
|
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, {
|
|
7235
7251
|
key: 0,
|
|
7236
7252
|
"model-value": 1,
|
|
7237
7253
|
small: !0,
|
|
7238
7254
|
"min-value": 1,
|
|
7239
7255
|
"max-value": 1,
|
|
7240
7256
|
readonly: ""
|
|
7241
|
-
})) : (v(), o(
|
|
7257
|
+
})) : (v(), o(ke, {
|
|
7242
7258
|
key: 1,
|
|
7243
|
-
modelValue: l(
|
|
7244
|
-
"onUpdate:modelValue": (t) => l(
|
|
7259
|
+
modelValue: l(be)[e.roomGroupID][r].config[a.configIdx].addons[a.roomIdx][f],
|
|
7260
|
+
"onUpdate:modelValue": (t) => l(be)[e.roomGroupID][r].config[a.configIdx].addons[a.roomIdx][f] = t,
|
|
7245
7261
|
small: !0,
|
|
7246
7262
|
"min-value": 0,
|
|
7247
7263
|
"max-value": u || Infinity
|
|
@@ -7249,31 +7265,31 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7249
7265
|
"modelValue",
|
|
7250
7266
|
"onUpdate:modelValue",
|
|
7251
7267
|
"max-value"
|
|
7252
|
-
]))], 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(
|
|
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", {
|
|
7253
7269
|
key: t,
|
|
7254
7270
|
class: "konnectio-table with-lines without-header"
|
|
7255
7271
|
}, [c("thead", null, [c("tr", null, [
|
|
7256
|
-
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)]),
|
|
7257
7273
|
p("", !0),
|
|
7258
7274
|
f[24] ||= c("th", { class: "konnectio-event-addons-price" }, null, -1)
|
|
7259
|
-
])]), 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), {
|
|
7260
7276
|
src: h,
|
|
7261
7277
|
"zoom-scale": 1
|
|
7262
7278
|
}, null, 8, ["src"])])) : p("", !0), c("div", null, [
|
|
7263
|
-
c("b", null, i(l(
|
|
7264
|
-
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),
|
|
7265
7281
|
m ? (v(), D("p", {
|
|
7266
7282
|
key: 0,
|
|
7267
|
-
innerHTML: l(
|
|
7283
|
+
innerHTML: l(me)(m)
|
|
7268
7284
|
}, null, 8, xr)) : p("", !0)
|
|
7269
|
-
])], 2), c("td", Sr, [t === l(
|
|
7285
|
+
])], 2), c("td", Sr, [t === l(Oe).Mandatory ? (v(), o(ke, {
|
|
7270
7286
|
key: 0,
|
|
7271
7287
|
"model-value": 1,
|
|
7272
7288
|
small: !0,
|
|
7273
7289
|
"min-value": 1,
|
|
7274
7290
|
"max-value": 1,
|
|
7275
7291
|
readonly: ""
|
|
7276
|
-
})) : (v(), o(
|
|
7292
|
+
})) : (v(), o(ke, {
|
|
7277
7293
|
key: 1,
|
|
7278
7294
|
modelValue: l(_)[e.selectionIdx].unitConfigs[e.configIdx].addons[a],
|
|
7279
7295
|
"onUpdate:modelValue": (t) => l(_)[e.selectionIdx].unitConfigs[e.configIdx].addons[a] = t,
|
|
@@ -7286,14 +7302,14 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7286
7302
|
"max-value"
|
|
7287
7303
|
]))])]))), 128))])]))), 128))])])) : p("", !0)])
|
|
7288
7304
|
])]),
|
|
7289
|
-
navigation: S(() => [d(
|
|
7305
|
+
navigation: S(() => [d(B, {
|
|
7290
7306
|
label: l(a)("general.startReservation"),
|
|
7291
7307
|
"full-width": "",
|
|
7292
7308
|
onClickEvent: (t) => Qt(e)
|
|
7293
7309
|
}, null, 8, ["label", "onClickEvent"])]),
|
|
7294
7310
|
_: 2
|
|
7295
7311
|
}, 1032, ["prev-callback"])) : p("", !0)]),
|
|
7296
|
-
reservation: S(({ next: t, prev: n, reset: r }) => [l(
|
|
7312
|
+
reservation: S(({ next: t, prev: n, reset: r }) => [l(Te) ? (v(), o(Lt, {
|
|
7297
7313
|
key: 0,
|
|
7298
7314
|
"prev-callback": () => $t(n),
|
|
7299
7315
|
"show-terms-notice": !0,
|
|
@@ -7352,7 +7368,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7352
7368
|
"label",
|
|
7353
7369
|
"placeholder"
|
|
7354
7370
|
]),
|
|
7355
|
-
d(
|
|
7371
|
+
d(De, {
|
|
7356
7372
|
modelValue: l(M),
|
|
7357
7373
|
"onUpdate:modelValue": f[7] ||= (e) => T(M) ? M.value = e : null,
|
|
7358
7374
|
type: "email",
|
|
@@ -7375,7 +7391,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7375
7391
|
name: "newsletter",
|
|
7376
7392
|
label: l(a)("booking.reservation.newsletterSignUp")
|
|
7377
7393
|
}, null, 8, ["modelValue", "label"])])),
|
|
7378
|
-
l(yt) ? p("", !0) : (v(), o(
|
|
7394
|
+
l(yt) ? p("", !0) : (v(), o(De, {
|
|
7379
7395
|
key: 3,
|
|
7380
7396
|
modelValue: l(P),
|
|
7381
7397
|
"onUpdate:modelValue": f[9] ||= (e) => T(P) ? P.value = e : null,
|
|
@@ -7403,8 +7419,8 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7403
7419
|
"placeholder"
|
|
7404
7420
|
]),
|
|
7405
7421
|
d(Cn, {
|
|
7406
|
-
modelValue: l(
|
|
7407
|
-
"onUpdate:modelValue": f[11] ||= (e) => T(
|
|
7422
|
+
modelValue: l(oe),
|
|
7423
|
+
"onUpdate:modelValue": f[11] ||= (e) => T(oe) ? oe.value = e : null,
|
|
7408
7424
|
label: l(a)("booking.reservation.country"),
|
|
7409
7425
|
placeholder: l(a)("booking.reservation.countryPlaceholder"),
|
|
7410
7426
|
options: l(te),
|
|
@@ -7415,9 +7431,9 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7415
7431
|
"placeholder",
|
|
7416
7432
|
"options"
|
|
7417
7433
|
]),
|
|
7418
|
-
d(
|
|
7419
|
-
modelValue: l(
|
|
7420
|
-
"onUpdate:modelValue": f[12] ||= (e) => T(
|
|
7434
|
+
d(De, {
|
|
7435
|
+
modelValue: l(ae),
|
|
7436
|
+
"onUpdate:modelValue": f[12] ||= (e) => T(ae) ? ae.value = e : null,
|
|
7421
7437
|
type: "textarea",
|
|
7422
7438
|
name: "address",
|
|
7423
7439
|
autocomplete: "street-address",
|
|
@@ -7430,7 +7446,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7430
7446
|
"label",
|
|
7431
7447
|
"placeholder"
|
|
7432
7448
|
]),
|
|
7433
|
-
c("ul", kr, [c("li", null, [d(
|
|
7449
|
+
c("ul", kr, [c("li", null, [d(De, {
|
|
7434
7450
|
modelValue: l(F),
|
|
7435
7451
|
"onUpdate:modelValue": f[13] ||= (e) => T(F) ? F.value = e : null,
|
|
7436
7452
|
type: "text",
|
|
@@ -7444,9 +7460,9 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7444
7460
|
"modelValue",
|
|
7445
7461
|
"label",
|
|
7446
7462
|
"placeholder"
|
|
7447
|
-
])]), c("li", null, [d(
|
|
7448
|
-
modelValue: l(
|
|
7449
|
-
"onUpdate:modelValue": f[14] ||= (e) => T(
|
|
7463
|
+
])]), c("li", null, [d(De, {
|
|
7464
|
+
modelValue: l(ie),
|
|
7465
|
+
"onUpdate:modelValue": f[14] ||= (e) => T(ie) ? ie.value = e : null,
|
|
7450
7466
|
type: "text",
|
|
7451
7467
|
name: "city",
|
|
7452
7468
|
autocomplete: "address-level2",
|
|
@@ -7459,10 +7475,10 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7459
7475
|
"label",
|
|
7460
7476
|
"placeholder"
|
|
7461
7477
|
])])]),
|
|
7462
|
-
e.hideRemarks === "yes" ? p("", !0) : (v(), o(
|
|
7478
|
+
e.hideRemarks === "yes" ? p("", !0) : (v(), o(De, {
|
|
7463
7479
|
key: 4,
|
|
7464
|
-
modelValue: l(
|
|
7465
|
-
"onUpdate:modelValue": f[15] ||= (e) => T(
|
|
7480
|
+
modelValue: l(ge),
|
|
7481
|
+
"onUpdate:modelValue": f[15] ||= (e) => T(ge) ? ge.value = e : null,
|
|
7466
7482
|
type: "textarea",
|
|
7467
7483
|
label: l(a)("booking.reservation.remark"),
|
|
7468
7484
|
icon: "info-circle",
|
|
@@ -7472,10 +7488,10 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7472
7488
|
"label",
|
|
7473
7489
|
"placeholder"
|
|
7474
7490
|
])),
|
|
7475
|
-
e.hideAllergies === "yes" ? p("", !0) : (v(), o(
|
|
7491
|
+
e.hideAllergies === "yes" ? p("", !0) : (v(), o(De, {
|
|
7476
7492
|
key: 5,
|
|
7477
|
-
modelValue: l(
|
|
7478
|
-
"onUpdate:modelValue": f[16] ||= (e) => T(
|
|
7493
|
+
modelValue: l(ye),
|
|
7494
|
+
"onUpdate:modelValue": f[16] ||= (e) => T(ye) ? ye.value = e : null,
|
|
7479
7495
|
type: "textarea",
|
|
7480
7496
|
label: l(a)("booking.reservation.allergies"),
|
|
7481
7497
|
icon: "allergies",
|
|
@@ -7497,11 +7513,11 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7497
7513
|
"label",
|
|
7498
7514
|
"checkboxes"
|
|
7499
7515
|
])),
|
|
7500
|
-
l(Qe) ? (v(), D(
|
|
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, [
|
|
7501
7517
|
c("li", null, [c("span", null, i(l(a)("hotel.memberCards.selectedCard", { cardName: l(it)?.shortDescription })), 1)]),
|
|
7502
7518
|
c("li", null, [c("span", null, i(l(a)("hotel.memberCards.cardNumber")) + ": " + i(l(rt).cardNumber), 1)]),
|
|
7503
7519
|
l(rt).controlNr ? (v(), D("li", Nr, [c("span", null, i(l(a)("hotel.memberCards.controlNumber")) + ": " + i(l(rt).controlNr), 1)])) : p("", !0)
|
|
7504
|
-
])])) : (v(), D(
|
|
7520
|
+
])])) : (v(), D(R, { key: 1 }, [d(Be, {
|
|
7505
7521
|
modelValue: l(et),
|
|
7506
7522
|
"onUpdate:modelValue": f[18] ||= (e) => T(et) ? et.value = e : null,
|
|
7507
7523
|
label: l(a)("hotel.memberCards.selectCard"),
|
|
@@ -7512,7 +7528,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7512
7528
|
"label",
|
|
7513
7529
|
"checkboxes"
|
|
7514
7530
|
]), l(et) ? (v(), D("form", Pr, [
|
|
7515
|
-
d(
|
|
7531
|
+
d(De, {
|
|
7516
7532
|
modelValue: l(nt),
|
|
7517
7533
|
"onUpdate:modelValue": f[19] ||= (e) => T(nt) ? nt.value = e : null,
|
|
7518
7534
|
type: "number",
|
|
@@ -7525,7 +7541,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7525
7541
|
"label",
|
|
7526
7542
|
"placeholder"
|
|
7527
7543
|
]),
|
|
7528
|
-
l(et) === l(
|
|
7544
|
+
l(et) === l(je).FirmaCard ? (v(), o(De, {
|
|
7529
7545
|
key: 0,
|
|
7530
7546
|
modelValue: l(tt),
|
|
7531
7547
|
"onUpdate:modelValue": f[20] ||= (e) => T(tt) ? tt.value = e : null,
|
|
@@ -7539,7 +7555,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7539
7555
|
"label",
|
|
7540
7556
|
"placeholder"
|
|
7541
7557
|
])) : p("", !0),
|
|
7542
|
-
l(et) === l(
|
|
7558
|
+
l(et) === l(je).DaneAge ? (v(), o(De, {
|
|
7543
7559
|
key: 1,
|
|
7544
7560
|
modelValue: l(F),
|
|
7545
7561
|
"onUpdate:modelValue": f[21] ||= (e) => T(F) ? F.value = e : null,
|
|
@@ -7555,14 +7571,14 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7555
7571
|
"label",
|
|
7556
7572
|
"placeholder"
|
|
7557
7573
|
])) : p("", !0),
|
|
7558
|
-
d(
|
|
7574
|
+
d(B, {
|
|
7559
7575
|
label: l(a)("hotel.memberCards.validateAndSelectCard"),
|
|
7560
7576
|
"full-width": "",
|
|
7561
7577
|
onClickEvent: l(Y)
|
|
7562
7578
|
}, null, 8, ["label", "onClickEvent"])
|
|
7563
7579
|
])) : p("", !0)], 64))], 64)) : p("", !0)
|
|
7564
7580
|
])]),
|
|
7565
|
-
navigation: S(() => [c("div", null, [d(
|
|
7581
|
+
navigation: S(() => [c("div", null, [d(B, {
|
|
7566
7582
|
label: l(bt) ? l(a)("booking.reservation.nextButton") : l(a)("general.confirmReservation"),
|
|
7567
7583
|
disabled: !l(C),
|
|
7568
7584
|
"is-loading": l(x),
|
|
@@ -8220,7 +8236,7 @@ var Ci = x(), wi = /* @__PURE__ */ Si(), Ti = F(), Ei = class extends HTMLElemen
|
|
|
8220
8236
|
}
|
|
8221
8237
|
connectedCallback() {
|
|
8222
8238
|
let e = P(Fr, this.attributes);
|
|
8223
|
-
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);
|
|
8224
8240
|
let t = document.createElement("div");
|
|
8225
8241
|
this.vueApp.mount(t), this.appendChild(t.children[0]);
|
|
8226
8242
|
}
|