@konnectio/core 4.9.0 → 4.10.0
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-CF7qzT3q.js → ActionField-Cwfe6KBs.js} +1 -1
- package/dist/ActionField-Cwfe6KBs.js.br +0 -0
- package/dist/ActionField-Cwfe6KBs.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-CQsZiBBa.js → AvailabilitySkeleton-BXTm1DgH.js} +1258 -1256
- package/dist/AvailabilitySkeleton-BXTm1DgH.js.br +0 -0
- package/dist/AvailabilitySkeleton-BXTm1DgH.js.gz +0 -0
- package/dist/{CheckoutWindow-CL3hHwVq.js → CheckoutWindow-BCgkfVVt.js} +1 -1
- package/dist/CheckoutWindow-BCgkfVVt.js.br +0 -0
- package/dist/CheckoutWindow-BCgkfVVt.js.gz +0 -0
- package/dist/{ErrorMessage-CSmXML2J.js → ErrorMessage-Alqi2PZ0.js} +1 -1
- package/dist/ErrorMessage-Alqi2PZ0.js.br +0 -0
- package/dist/ErrorMessage-Alqi2PZ0.js.gz +0 -0
- package/dist/{EventAvailabilityForm-C7wrRZDB.js → EventAvailabilityForm-DBap0Kxe.js} +2 -2
- package/dist/EventAvailabilityForm-DBap0Kxe.js.br +0 -0
- package/dist/EventAvailabilityForm-DBap0Kxe.js.gz +0 -0
- package/dist/{Field-Cc3sWwz9.js → Field-D-WYPKBC.js} +1 -1
- package/dist/Field-D-WYPKBC.js.br +0 -0
- package/dist/Field-D-WYPKBC.js.gz +0 -0
- package/dist/{HotelAvailabilityForm-DmZo0VIp.js → HotelAvailabilityForm-Ddy04ofm.js} +2 -2
- package/dist/HotelAvailabilityForm-Ddy04ofm.js.br +0 -0
- package/dist/HotelAvailabilityForm-Ddy04ofm.js.gz +0 -0
- package/dist/{SelectField-BNGwLRnr.js → SelectField-B3wekl1-.js} +2350 -2290
- package/dist/SelectField-B3wekl1-.js.br +0 -0
- package/dist/SelectField-B3wekl1-.js.gz +0 -0
- package/dist/{TermsOfService-J4ROQgoK.js → TermsOfService-DKw3z30m.js} +2 -2
- package/dist/TermsOfService-DKw3z30m.js.br +0 -0
- package/dist/TermsOfService-DKw3z30m.js.gz +3 -0
- package/dist/{_-BF2U62uv.js → _-BGvq5fCt.js} +1 -1
- package/dist/_-BGvq5fCt.js.br +0 -0
- package/dist/_-BGvq5fCt.js.gz +0 -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-D7yxW3RF.js → dist-BdHuZAPN.js} +2 -2
- package/dist/dist-BdHuZAPN.js.br +0 -0
- package/dist/dist-BdHuZAPN.js.gz +0 -0
- package/dist/{dist-CuXxMFmQ.js → dist-DJrSdVOh.js} +10 -6
- package/dist/dist-DJrSdVOh.js.br +0 -0
- package/dist/dist-DJrSdVOh.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-_erL5pdG.js → giftCard-Q9I7zCe1.js} +1 -1
- package/dist/giftCard-Q9I7zCe1.js.br +0 -0
- package/dist/giftCard-Q9I7zCe1.js.gz +0 -0
- package/dist/hotel.js +698 -632
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.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-3FiJdl4z.js → style-CF_APJTq.js} +1 -1
- package/dist/style-CF_APJTq.js.br +0 -0
- package/dist/style-CF_APJTq.js.gz +0 -0
- package/dist-wix/availability.js +20 -20
- package/dist-wix/event.js +5 -5
- package/dist-wix/gift-card-validation.js +11 -11
- package/dist-wix/gift-card.js +14 -14
- package/dist-wix/hotel.js +6 -6
- package/package.json +2 -2
- package/dist/ActionField-CF7qzT3q.js.br +0 -0
- package/dist/ActionField-CF7qzT3q.js.gz +0 -0
- package/dist/AvailabilitySkeleton-CQsZiBBa.js.br +0 -0
- package/dist/AvailabilitySkeleton-CQsZiBBa.js.gz +0 -0
- package/dist/CheckoutWindow-CL3hHwVq.js.br +0 -0
- package/dist/CheckoutWindow-CL3hHwVq.js.gz +0 -0
- package/dist/ErrorMessage-CSmXML2J.js.br +0 -0
- package/dist/ErrorMessage-CSmXML2J.js.gz +0 -0
- package/dist/EventAvailabilityForm-C7wrRZDB.js.br +0 -0
- package/dist/EventAvailabilityForm-C7wrRZDB.js.gz +0 -0
- package/dist/Field-Cc3sWwz9.js.br +0 -0
- package/dist/Field-Cc3sWwz9.js.gz +0 -0
- package/dist/HotelAvailabilityForm-DmZo0VIp.js.br +0 -0
- package/dist/HotelAvailabilityForm-DmZo0VIp.js.gz +0 -0
- package/dist/SelectField-BNGwLRnr.js.br +0 -0
- package/dist/SelectField-BNGwLRnr.js.gz +0 -0
- package/dist/TermsOfService-J4ROQgoK.js.br +0 -0
- package/dist/TermsOfService-J4ROQgoK.js.gz +0 -1
- package/dist/_-BF2U62uv.js.br +0 -0
- package/dist/_-BF2U62uv.js.gz +0 -1
- package/dist/dist-CuXxMFmQ.js.br +0 -0
- package/dist/dist-CuXxMFmQ.js.gz +0 -0
- package/dist/dist-D7yxW3RF.js.br +0 -0
- package/dist/dist-D7yxW3RF.js.gz +0 -0
- package/dist/giftCard-_erL5pdG.js.br +0 -0
- package/dist/giftCard-_erL5pdG.js.gz +0 -0
- package/dist/style-3FiJdl4z.js.br +0 -0
- package/dist/style-3FiJdl4z.js.gz +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as e, t } from "./rolldown-runtime-B0aSnxlc.js";
|
|
2
2
|
import { A as n, At as r, D as i, E as a, F as o, I as s, K as c, L as l, M as u, N as d, Nt as f, O as p, P as m, Pt as h, Q as g, R as _, S as ee, St as te, _t as ne, a as v, at as re, bt as y, et as b, f as x, gt as S, h as C, i as ie, it as w, j as T, jt as E, lt as D, mt as ae, n as O, o as k, p as A, q as j, st as M, u as N, ut as P, w as F, wt as I, z as R } from "./i18n-_behsDNX.js";
|
|
3
|
-
import { t as
|
|
4
|
-
import { C as
|
|
5
|
-
import { a as Fe, c as Ie, i as Le, l as Re, n as ze, o as Be, s as Ve, t as He } from "./CheckoutWindow-
|
|
6
|
-
import { n as Ue, t as We } from "./AvailabilitySkeleton-
|
|
7
|
-
import { t as Ge } from "./HotelAvailabilityForm-
|
|
8
|
-
import { t as Ke } from "./style-
|
|
9
|
-
import { t as U } from "./ActionField-
|
|
10
|
-
import { a as qe, c as Je, i as Ye, l as Xe, n as Ze, o as Qe, r as $e, s as et, t as tt } from "./dist-
|
|
11
|
-
import { t as nt } from "./TermsOfService-
|
|
3
|
+
import { t as z } from "./dist-BdHuZAPN.js";
|
|
4
|
+
import { C as oe, D as se, E as ce, G as le, H as ue, J as de, K as fe, L as pe, N as me, O as he, Q as ge, R as _e, S as B, T as ve, W as ye, X as be, Y as xe, Z as Se, _ as Ce, at as we, b as Te, ct as Ee, it as De, j as Oe, lt as ke, n as Ae, r as je, t as V, tt as Me, v as Ne, x as H, z as Pe } from "./SelectField-B3wekl1-.js";
|
|
5
|
+
import { a as Fe, c as Ie, i as Le, l as Re, n as ze, o as Be, s as Ve, t as He } from "./CheckoutWindow-BCgkfVVt.js";
|
|
6
|
+
import { n as Ue, t as We } from "./AvailabilitySkeleton-BXTm1DgH.js";
|
|
7
|
+
import { t as Ge } from "./HotelAvailabilityForm-Ddy04ofm.js";
|
|
8
|
+
import { t as Ke } from "./style-CF_APJTq.js";
|
|
9
|
+
import { t as U } from "./ActionField-Cwfe6KBs.js";
|
|
10
|
+
import { a as qe, c as Je, i as Ye, l as Xe, n as Ze, o as Qe, r as $e, s as et, t as tt } from "./dist-DJrSdVOh.js";
|
|
11
|
+
import { t as nt } from "./TermsOfService-DKw3z30m.js";
|
|
12
12
|
//#region node_modules/inner-image-zoom/src/utils/images.js
|
|
13
13
|
function rt(e, t) {
|
|
14
14
|
return t ? {
|
|
@@ -322,19 +322,19 @@ function xt(e, t, n, r, i, o) {
|
|
|
322
322
|
}
|
|
323
323
|
//#endregion
|
|
324
324
|
//#region node_modules/vue-inner-image-zoom/src/index.js
|
|
325
|
-
var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]), q = { key: 0 }, St = { class: "konnectio-hotel-reservation-warning" },
|
|
325
|
+
var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]), q = { key: 0 }, St = { key: 1 }, Ct = { class: "konnectio-hotel-reservation-warning" }, wt = { class: "konnectio-hotel-reservation-warning" }, Tt = { class: "konnectio-hotel-reservation-warning" }, Et = { key: 2 }, Dt = { class: "konnectio-hotel-reservation-title" }, J = { class: "konnectio-hotel-reservation-information" }, Ot = { class: "konnectio-hotel-reservation-guests" }, kt = { key: 0 }, At = {
|
|
326
326
|
key: 0,
|
|
327
327
|
class: "konnectio-hotel-reservation-room-name"
|
|
328
|
-
},
|
|
328
|
+
}, jt = ["onClick"], Mt = { key: 0 }, Nt = { key: 1 }, Pt = { class: "konnectio-hotel-reservation-title" }, Ft = {
|
|
329
329
|
key: 0,
|
|
330
330
|
class: "konnectio-hotel-reservation-room-name"
|
|
331
|
-
},
|
|
331
|
+
}, It = { class: "konnectio-hotel-reservation-information" }, Lt = { class: "konnectio-hotel-reservation-guests" }, Rt = { key: 0 }, zt = { key: 0 }, Bt = { class: "konnectio-reservation-actions" }, Vt = {
|
|
332
332
|
key: 0,
|
|
333
333
|
class: "konnectio-newsletter-signup"
|
|
334
|
-
},
|
|
334
|
+
}, Y = {
|
|
335
335
|
key: 1,
|
|
336
336
|
class: "konnectio-accept-terms"
|
|
337
|
-
},
|
|
337
|
+
}, Ht = { class: "konnectio-hotel-reservation-tooltip" }, X = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
338
338
|
__name: "HotelReservationForm",
|
|
339
339
|
props: {
|
|
340
340
|
forceArrivalTime: {},
|
|
@@ -351,6 +351,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
351
351
|
type: Boolean,
|
|
352
352
|
default: !1
|
|
353
353
|
},
|
|
354
|
+
dealFlow: {
|
|
355
|
+
type: Boolean,
|
|
356
|
+
default: !1
|
|
357
|
+
},
|
|
354
358
|
showTermsNotice: {
|
|
355
359
|
type: Boolean,
|
|
356
360
|
default: !1
|
|
@@ -358,12 +362,12 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
358
362
|
prevCallback: {}
|
|
359
363
|
},
|
|
360
364
|
setup(e) {
|
|
361
|
-
let { t } = v(), { disableNewsletterSignup: n, currency: i } = C(
|
|
365
|
+
let { t } = v(), { disableNewsletterSignup: n, currency: i } = C(ce()), { hasArrivalDepartureInputs: s } = ce(), { arrivalTime: c, departureTime: f, roomDisplay: p, templateID: g, totalPrice: _, areListingsLoading: te, getSelectedPackageRooms: x, templateRoomUnits: E, selectedPackage: D, discountVouchers: ae, currentArrivalDate: O, currentDepartureDate: k, datesMismatch: A, currentLocation: j, locationMismatch: N, newsMails: P, termsOfService: R, discountCode: z, hasTermOfService: se, acceptTerms: le, totalTemplateAddonPrice: ue, totalRooms: de, totalAdults: fe, totalChildren: me, weekendFee: _e, selectedMemberCardData: B, appliedDiscountCode: ve, guestDiscountCode: ye, isValidatingDiscountCode: be } = C(he()), { hasHotelLocations: Se } = C(oe()), { removeRoom: Ce, validateDiscountCode: we, getMandatoryRoomGroupAddons: Te, getTemplateRoomUnitPrice: Ee, resetDiscountVoucher: De, setGuestDiscountCode: Oe, clearGuestDiscountCode: ke, fetchAvailabilityData: Ae } = he(), { getHotelLocationName: je } = oe(), V = I(!1);
|
|
362
366
|
function Ne(e) {
|
|
363
|
-
|
|
367
|
+
Oe(e), Ae();
|
|
364
368
|
}
|
|
365
369
|
function Fe() {
|
|
366
|
-
|
|
370
|
+
ke(), Ae();
|
|
367
371
|
}
|
|
368
372
|
function Ie(e) {
|
|
369
373
|
return e.reduce((e, { totalPrice: t }) => e + t, 0);
|
|
@@ -371,13 +375,14 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
371
375
|
return (v, C) => {
|
|
372
376
|
let I = M("tooltip");
|
|
373
377
|
return b(), u(qe, {
|
|
374
|
-
"discount-code": r(
|
|
375
|
-
"onUpdate:discountCode": C[4] ||= (e) => y(
|
|
378
|
+
"discount-code": r(z),
|
|
379
|
+
"onUpdate:discountCode": C[4] ||= (e) => y(z) ? z.value = e : null,
|
|
376
380
|
"validate-discount-code": r(we),
|
|
377
381
|
"total-price": r(_),
|
|
378
382
|
"weekend-fee": r(_e),
|
|
379
383
|
"show-gift-card": e.showGiftCard,
|
|
380
384
|
"availability-discount": e.availabilityDiscount,
|
|
385
|
+
"deal-flow": e.dealFlow,
|
|
381
386
|
"show-terms-notice": e.showTermsNotice,
|
|
382
387
|
"is-sidebar-loading": r(te),
|
|
383
388
|
notice: r(t)("hotel.reservationNotice"),
|
|
@@ -385,22 +390,22 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
385
390
|
"applied-discount-code": r(ve),
|
|
386
391
|
"guest-discount-code": r(ye),
|
|
387
392
|
"is-validating-discount-code": r(be),
|
|
388
|
-
"on-reset-discount-code": r(
|
|
393
|
+
"on-reset-discount-code": r(De),
|
|
389
394
|
"on-apply-availability-discount": Ne,
|
|
390
395
|
"on-clear-availability-discount": Fe
|
|
391
396
|
}, o({
|
|
392
397
|
form: S(() => [re(v.$slots, "form", {}, void 0, !0)]),
|
|
393
|
-
"price-summary": S(() => [isNaN(r(g)) && r(p).length > 0 ? (b(!0), m(a, { key: 0 }, w(r(p), ({ roomGroupID: n, title: o, variants: s }) => (b(), m("div", { key: n }, [T("h6", null, [T("span", null, h(r(
|
|
394
|
-
T("span",
|
|
395
|
-
T("span",
|
|
398
|
+
"price-summary": S(() => [isNaN(r(g)) && r(p).length > 0 ? (b(!0), m(a, { key: 0 }, w(r(p), ({ roomGroupID: n, title: o, variants: s }) => (b(), m("div", { key: n }, [T("h6", null, [T("span", null, h(r(pe)(o)), 1)]), (b(!0), m(a, null, w(s, (o, s) => (b(), m("div", { key: s }, [(b(!0), m(a, null, w(o.rooms, (a, c) => (b(), m("ul", { key: c }, [T("li", null, [
|
|
399
|
+
T("span", Dt, h(r(pe)(o.name)), 1),
|
|
400
|
+
T("span", J, [T("span", Ot, [T("span", null, [l(H, {
|
|
396
401
|
icon: "male",
|
|
397
402
|
type: "fas",
|
|
398
403
|
color: "font"
|
|
399
|
-
}), T("span", null, h(a.adultsCount), 1)]), a.childrenCount > 0 ? (b(), m("span",
|
|
404
|
+
}), T("span", null, h(a.adultsCount), 1)]), a.childrenCount > 0 ? (b(), m("span", kt, [l(H, {
|
|
400
405
|
icon: "child",
|
|
401
406
|
type: "fas",
|
|
402
407
|
color: "font"
|
|
403
|
-
}), T("span", null, h(a.childrenCount), 1)])) : d("", !0)]), a.roomName ? (b(), m("span",
|
|
408
|
+
}), T("span", null, h(a.childrenCount), 1)])) : d("", !0)]), a.roomName ? (b(), m("span", At, "(" + h(a.roomName) + ")", 1)) : d("", !0)]),
|
|
404
409
|
T("b", null, [T("span", null, h(r(Me)(a.totalPrice, r(i))), 1), e.showRemoveRoom ? (b(), m("span", {
|
|
405
410
|
key: 0,
|
|
406
411
|
class: "konnectio-hotel-reservation-remove",
|
|
@@ -409,32 +414,32 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
409
414
|
icon: "times",
|
|
410
415
|
type: "fas",
|
|
411
416
|
"icon-color": "#ff0000"
|
|
412
|
-
})], 8,
|
|
413
|
-
]), Ie(a.roomAddons) > 0 ? (b(), m("li",
|
|
414
|
-
T("span",
|
|
415
|
-
T("span",
|
|
417
|
+
})], 8, jt)) : d("", !0)])
|
|
418
|
+
]), Ie(a.roomAddons) > 0 ? (b(), m("li", Mt, [T("span", null, h(r(t)("general.addons")), 1), T("b", null, h(r(Me)(Ie(a.roomAddons), r(i))), 1)])) : d("", !0)]))), 128))]))), 128))]))), 128)) : d("", !0), r(E).length > 0 && r(D) ? (b(), m("div", Nt, [T("h6", null, [T("span", null, h(r(pe)(r(D).name)), 1)]), T("div", null, [T("ul", null, [(b(!0), m(a, null, w(r(E), (e, n) => (b(), m("li", { key: n }, [
|
|
419
|
+
T("span", Pt, [T("span", null, h(r(pe)(r(x).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), r(E).filter((t) => t.roomGroupId === e.roomGroupId).length > 1 ? (b(), m("span", Ft, "(" + h(r(t)("booking.reservation.room")) + " " + h(r(E).slice(0, n + 1).filter((t) => t.roomGroupId === e.roomGroupId).length) + ")", 1)) : d("", !0)]),
|
|
420
|
+
T("span", It, [T("span", Lt, [T("span", null, [l(H, {
|
|
416
421
|
icon: "male",
|
|
417
422
|
type: "fas",
|
|
418
423
|
color: "font"
|
|
419
|
-
}), T("span", null, h(e.adults), 1)]), e.children > 0 ? (b(), m("span",
|
|
424
|
+
}), T("span", null, h(e.adults), 1)]), e.children > 0 ? (b(), m("span", Rt, [l(H, {
|
|
420
425
|
icon: "child",
|
|
421
426
|
type: "fas",
|
|
422
427
|
color: "font"
|
|
423
428
|
}), T("span", null, h(e.children), 1)])) : d("", !0)])]),
|
|
424
429
|
T("b", null, [T("span", null, h(r(Me)(r(Ee)(e.roomGroupId, e.adults, e.children) + r(_e), r(i))), 1)]),
|
|
425
430
|
(b(!0), m(a, null, w(r(Te)(e.roomGroupId), (e) => (b(), m(a, { key: e.addonID }, [T("span", null, "- " + h(e.name), 1), T("b", null, [T("span", null, h(r(Me)(e.price, r(i))), 1)])], 64))), 128))
|
|
426
|
-
]))), 128)), r(
|
|
427
|
-
actions: S(() => [T("ul",
|
|
428
|
-
r(n) ? d("", !0) : (b(), m("div",
|
|
431
|
+
]))), 128)), r(ue) ? (b(), m("li", zt, [T("span", null, h(r(t)("general.addons")), 1), T("b", null, h(r(Me)(r(ue), r(i))), 1)])) : d("", !0)])])])) : d("", !0)]),
|
|
432
|
+
actions: S(() => [T("ul", Bt, [
|
|
433
|
+
r(n) ? d("", !0) : (b(), m("div", Vt, [l(Le, {
|
|
429
434
|
modelValue: r(P),
|
|
430
435
|
"onUpdate:modelValue": C[0] ||= (e) => y(P) ? P.value = e : null,
|
|
431
436
|
type: "checkbox",
|
|
432
437
|
name: "newsletter",
|
|
433
438
|
label: r(t)("booking.reservation.newsletterSignUp")
|
|
434
439
|
}, null, 8, ["modelValue", "label"])])),
|
|
435
|
-
r(
|
|
436
|
-
modelValue: r(
|
|
437
|
-
"onUpdate:modelValue": C[2] ||= (e) => y(
|
|
440
|
+
r(se) ? (b(), m("div", Y, [l(Le, {
|
|
441
|
+
modelValue: r(le),
|
|
442
|
+
"onUpdate:modelValue": C[2] ||= (e) => y(le) ? le.value = e : null,
|
|
438
443
|
type: "checkbox",
|
|
439
444
|
name: "terms"
|
|
440
445
|
}, {
|
|
@@ -445,7 +450,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
445
450
|
}, {
|
|
446
451
|
terms: S(() => [T("a", {
|
|
447
452
|
class: "konnectio-accept-terms-link",
|
|
448
|
-
onClick: C[1] ||= F((e) =>
|
|
453
|
+
onClick: C[1] ||= F((e) => V.value = !0, ["prevent"])
|
|
449
454
|
}, [T("span", null, h(r(xe)(r(t)("general.termsAndConditions"))), 1)])]),
|
|
450
455
|
_: 1
|
|
451
456
|
})]),
|
|
@@ -453,8 +458,8 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
453
458
|
}, 8, ["modelValue"])])) : d("", !0),
|
|
454
459
|
re(v.$slots, "actions", {}, void 0, !0),
|
|
455
460
|
l(nt, {
|
|
456
|
-
modelValue:
|
|
457
|
-
"onUpdate:modelValue": C[3] ||= (e) =>
|
|
461
|
+
modelValue: V.value,
|
|
462
|
+
"onUpdate:modelValue": C[3] ||= (e) => V.value = e,
|
|
458
463
|
description: r(R)
|
|
459
464
|
}, null, 8, ["modelValue", "description"])
|
|
460
465
|
])]),
|
|
@@ -462,39 +467,40 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
462
467
|
"mobile-under-price": S(() => [
|
|
463
468
|
T("span", null, h(r(t)("general.for")) + ": ", 1),
|
|
464
469
|
T("b", null, h(r(Pe)(r(O), r(k))) + " " + h(r(xe)(r(Pe)(r(O), r(k)) === 1 ? r(t)("booking.reservation.night") : r(t)("booking.reservation.nights"))), 1),
|
|
465
|
-
ne((b(), m("span",
|
|
470
|
+
ne((b(), m("span", Ht, [l(H, {
|
|
466
471
|
icon: "circle-info",
|
|
467
472
|
type: "fas"
|
|
468
473
|
})])), [[I, {
|
|
469
|
-
content: `<span>(${r(
|
|
474
|
+
content: `<span>(${r(ge)(r(O))} - ${r(ge)(r(k))})</span>`,
|
|
470
475
|
classes: ["tooltip", "konnectio-tooltip"],
|
|
471
476
|
html: !0
|
|
472
477
|
}]])
|
|
473
478
|
]),
|
|
474
479
|
"mobile-summary": S(() => [
|
|
475
|
-
T("span", null, h(`${r(
|
|
476
|
-
T("span", null, h(`${r(
|
|
477
|
-
T("span", null, h(`${r(
|
|
480
|
+
T("span", null, h(`${r(fe)} ${r(fe) === 1 ? r(t)("general.adult") : r(t)("general.adults")}`), 1),
|
|
481
|
+
T("span", null, h(`${r(me)} ${r(me) === 1 ? r(t)("general.child") : r(t)("general.children")}`), 1),
|
|
482
|
+
T("span", null, h(`${r(de)} ${r(de) === 1 ? r(t)("booking.reservation.room") : r(t)("booking.reservation.rooms")}`), 1)
|
|
478
483
|
]),
|
|
479
484
|
_: 2
|
|
480
485
|
}, [isNaN(r(j)) ? void 0 : {
|
|
481
486
|
name: "reservation-summary",
|
|
482
487
|
fn: S(() => [
|
|
483
|
-
r(
|
|
488
|
+
e.dealFlow && r(ve) ? (b(), m("li", q, [T("span", null, h(r(t)("dealCode.label")), 1), T("b", null, h(r(ve)), 1)])) : d("", !0),
|
|
489
|
+
r(Se) ? (b(), m("li", St, [T("span", null, h(r(t)("general.location")), 1), T("b", null, [T("span", null, h(r(je)(r(j))), 1), ne(T("span", Ct, [l(H, {
|
|
484
490
|
icon: "exclamation-triangle",
|
|
485
491
|
type: "fas"
|
|
486
492
|
})], 512), [[ee, r(N)]])])])) : d("", !0),
|
|
487
|
-
T("li", null, [T("span", null, h(r(t)("booking.reservation.arrival")), 1), T("b", null, [T("span", null, h(r(s)(r(j)) ? `${r(
|
|
493
|
+
T("li", null, [T("span", null, h(r(t)("booking.reservation.arrival")), 1), T("b", null, [T("span", null, h(r(s)(r(j)) ? `${r(ge)(r(O))}, ${r(c)}` : r(ge)(r(O))), 1), ne(T("span", wt, [l(H, {
|
|
488
494
|
icon: "exclamation-triangle",
|
|
489
495
|
type: "fas"
|
|
490
496
|
})], 512), [[ee, r(A)]])])]),
|
|
491
|
-
T("li", null, [T("span", null, h(r(t)("booking.reservation.departure")), 1), T("b", null, [T("span", null, h(r(s)(r(j)) ? `${r(
|
|
497
|
+
T("li", null, [T("span", null, h(r(t)("booking.reservation.departure")), 1), T("b", null, [T("span", null, h(r(s)(r(j)) ? `${r(ge)(r(k))}, ${r(f)}` : r(ge)(r(k))), 1), ne(T("span", Tt, [l(H, {
|
|
492
498
|
icon: "exclamation-triangle",
|
|
493
499
|
type: "fas"
|
|
494
500
|
})], 512), [[ee, r(A)]])])]),
|
|
495
501
|
T("li", null, [T("span", null, h(r(t)("booking.reservation.nights")), 1), T("b", null, h(r(Pe)(r(O), r(k))) + " " + h(r(xe)(r(Pe)(r(O), r(k)) === 1 ? r(t)("booking.reservation.night") : r(t)("booking.reservation.nights"))), 1)]),
|
|
496
|
-
r(B) && r(B).providesDiscount ? (b(), m("li",
|
|
497
|
-
r(ae) ? (b(!0), m(a, { key:
|
|
502
|
+
r(B) && r(B).providesDiscount ? (b(), m("li", Et, [T("span", null, h(r(B).shortDescription), 1), T("b", null, "-" + h(r(B).discountPercent) + "%", 1)])) : d("", !0),
|
|
503
|
+
r(ae) ? (b(!0), m(a, { key: 3 }, w(r(ae), (e) => (b(), m("li", { key: e.id }, [T("span", null, h(`${r(t)("general.discountCode")} (${e.value})`), 1), T("b", null, h(e.key), 1)]))), 128)) : d("", !0)
|
|
498
504
|
]),
|
|
499
505
|
key: "0"
|
|
500
506
|
}]), 1032, [
|
|
@@ -504,6 +510,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
504
510
|
"weekend-fee",
|
|
505
511
|
"show-gift-card",
|
|
506
512
|
"availability-discount",
|
|
513
|
+
"deal-flow",
|
|
507
514
|
"show-terms-notice",
|
|
508
515
|
"is-sidebar-loading",
|
|
509
516
|
"notice",
|
|
@@ -515,10 +522,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
515
522
|
]);
|
|
516
523
|
};
|
|
517
524
|
}
|
|
518
|
-
}), [["__scopeId", "data-v-
|
|
525
|
+
}), [["__scopeId", "data-v-4f766755"]]), Ut = { class: "konnectio-panel" }, Wt = { id: "konnectio-hotel-guest-discount-title" }, Gt = ["innerHTML"], Kt = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
519
526
|
__name: "GuestDiscountForm",
|
|
520
527
|
setup(e) {
|
|
521
|
-
let { t } = v(), n = x("history"), i =
|
|
528
|
+
let { t } = v(), n = x("history"), i = he(), { display: a } = me(), o = I();
|
|
522
529
|
async function s() {
|
|
523
530
|
if (!o.value) {
|
|
524
531
|
a({
|
|
@@ -539,9 +546,9 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
539
546
|
return (e, n) => (b(), m("form", {
|
|
540
547
|
id: "konnectio-hotel-guest-discount",
|
|
541
548
|
onSubmit: n[1] ||= F(() => {}, ["prevent"])
|
|
542
|
-
}, [T("div",
|
|
543
|
-
T("h3",
|
|
544
|
-
T("p", { innerHTML: r(t)("guestDiscount.description") }, null, 8,
|
|
549
|
+
}, [T("div", Ut, [
|
|
550
|
+
T("h3", Wt, [T("span", null, h(r(t)("guestDiscount.title")), 1)]),
|
|
551
|
+
T("p", { innerHTML: r(t)("guestDiscount.description") }, null, 8, Gt),
|
|
545
552
|
l(U, {
|
|
546
553
|
modelValue: o.value,
|
|
547
554
|
"onUpdate:modelValue": n[0] ||= (e) => o.value = e,
|
|
@@ -560,37 +567,56 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
560
567
|
])
|
|
561
568
|
])], 32));
|
|
562
569
|
}
|
|
563
|
-
}), [["__scopeId", "data-v-de955b0c"]]),
|
|
570
|
+
}), [["__scopeId", "data-v-de955b0c"]]), qt = { class: "konnectio-panel" }, Jt = { id: "konnectio-hotel-discount-code-title" }, Yt = ["innerHTML"], Z = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
564
571
|
__name: "DiscountCodeForm",
|
|
565
572
|
setup(e) {
|
|
566
|
-
let { t } = v(),
|
|
567
|
-
async function
|
|
568
|
-
if (!
|
|
569
|
-
|
|
573
|
+
let { t } = v(), i = x("history"), a = he(), { display: o } = me(), { location: s, hotelLocations: c } = C(oe()), { requireDealCode: f } = C(a), p = n(() => f.value ? "dealCode" : "discountCode"), g = I();
|
|
574
|
+
async function _() {
|
|
575
|
+
if (!g.value) {
|
|
576
|
+
o({
|
|
570
577
|
message: t("alert.error.discountCodeEmpty"),
|
|
571
578
|
type: "error"
|
|
572
579
|
});
|
|
573
580
|
return;
|
|
574
581
|
}
|
|
575
|
-
|
|
582
|
+
i.discount = g.value.toString(), a.setGuestDiscountCode(g.value.toString()), a.fetchAvailabilityData();
|
|
576
583
|
}
|
|
577
584
|
return (e, n) => (b(), m("form", {
|
|
578
585
|
id: "konnectio-hotel-discount-code",
|
|
579
|
-
onSubmit: n[
|
|
580
|
-
}, [T("div",
|
|
581
|
-
T("h3",
|
|
582
|
-
T("p", { innerHTML: r(t)(
|
|
586
|
+
onSubmit: n[2] ||= F(() => {}, ["prevent"])
|
|
587
|
+
}, [T("div", qt, [
|
|
588
|
+
T("h3", Jt, [T("span", null, h(r(t)(`${p.value}.title`)), 1)]),
|
|
589
|
+
T("p", { innerHTML: r(t)(`${p.value}.description`) }, null, 8, Yt),
|
|
590
|
+
r(c).length > 1 ? (b(), u(V, {
|
|
591
|
+
key: 0,
|
|
592
|
+
modelValue: r(s),
|
|
593
|
+
"onUpdate:modelValue": n[0] ||= (e) => y(s) ? s.value = e : null,
|
|
594
|
+
label: r(t)("general.location"),
|
|
595
|
+
placeholder: r(t)("general.locationPlaceholder"),
|
|
596
|
+
icon: "location-dot",
|
|
597
|
+
"icon-type": "fas",
|
|
598
|
+
"icon-placement": "label",
|
|
599
|
+
"label-key": "name",
|
|
600
|
+
"value-key": "id",
|
|
601
|
+
options: r(c),
|
|
602
|
+
searchable: !1
|
|
603
|
+
}, null, 8, [
|
|
604
|
+
"modelValue",
|
|
605
|
+
"label",
|
|
606
|
+
"placeholder",
|
|
607
|
+
"options"
|
|
608
|
+
])) : d("", !0),
|
|
583
609
|
l(U, {
|
|
584
|
-
modelValue:
|
|
585
|
-
"onUpdate:modelValue": n[
|
|
586
|
-
label: r(t)(
|
|
610
|
+
modelValue: g.value,
|
|
611
|
+
"onUpdate:modelValue": n[1] ||= (e) => g.value = e,
|
|
612
|
+
label: r(t)(`${p.value}.label`),
|
|
587
613
|
placeholder: "XXXXXX",
|
|
588
614
|
inputType: "text",
|
|
589
|
-
"button-label": r(t)(
|
|
615
|
+
"button-label": r(t)(`${p.value}.submitButton`),
|
|
590
616
|
icon: "tags",
|
|
591
617
|
"button-icon": "paper-plane-top",
|
|
592
618
|
secondary: "",
|
|
593
|
-
onAction:
|
|
619
|
+
onAction: _
|
|
594
620
|
}, null, 8, [
|
|
595
621
|
"modelValue",
|
|
596
622
|
"label",
|
|
@@ -598,7 +624,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
598
624
|
])
|
|
599
625
|
])], 32));
|
|
600
626
|
}
|
|
601
|
-
}), [["__scopeId", "data-v-
|
|
627
|
+
}), [["__scopeId", "data-v-d6165b0a"]]), Xt = { class: "konnectio-room-config-option" }, Zt = { key: 0 }, Qt = { class: "konnectio-selected-room-config" }, $t = { class: "konnectio-selected-room-config-people" }, en = { key: 0 }, tn = { class: "konnectio-selected-room-config-price" }, nn = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
602
628
|
__name: "RoomConfigField",
|
|
603
629
|
props: {
|
|
604
630
|
modelValue: {},
|
|
@@ -615,7 +641,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
615
641
|
},
|
|
616
642
|
emits: ["update:modelValue"],
|
|
617
643
|
setup(e, { emit: t }) {
|
|
618
|
-
let { t: i } = v(), { currency: a } = C(
|
|
644
|
+
let { t: i } = v(), { currency: a } = C(ce()), o = t, c = e;
|
|
619
645
|
function f(e) {
|
|
620
646
|
o("update:modelValue", e);
|
|
621
647
|
}
|
|
@@ -623,7 +649,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
623
649
|
get: () => c.modelValue,
|
|
624
650
|
set: (e) => f(e)
|
|
625
651
|
});
|
|
626
|
-
return (t, n) => (b(), u(
|
|
652
|
+
return (t, n) => (b(), u(V, {
|
|
627
653
|
modelValue: p.value,
|
|
628
654
|
"onUpdate:modelValue": n[0] ||= (e) => p.value = e,
|
|
629
655
|
label: e.label,
|
|
@@ -636,20 +662,20 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
636
662
|
required: e.required,
|
|
637
663
|
searchable: !1
|
|
638
664
|
}, {
|
|
639
|
-
option: S(({ data: e }) => [T("span",
|
|
665
|
+
option: S(({ data: e }) => [T("span", Xt, [T("div", null, [
|
|
640
666
|
l(H, {
|
|
641
667
|
icon: "male",
|
|
642
668
|
type: "fas",
|
|
643
669
|
color: "font"
|
|
644
670
|
}),
|
|
645
671
|
T("span", null, h(`${e.adults}`), 1),
|
|
646
|
-
e.children > 0 ? (b(), m("span",
|
|
672
|
+
e.children > 0 ? (b(), m("span", Zt, [l(H, {
|
|
647
673
|
icon: "child",
|
|
648
674
|
type: "fas",
|
|
649
675
|
color: "font"
|
|
650
676
|
}), T("span", null, h(`${e.children}`), 1)])) : d("", !0)
|
|
651
677
|
]), T("span", null, h(`(${r(Me)(e.price, r(a))})`), 1)])]),
|
|
652
|
-
"selected-option": S(({ data: e }) => [T("div",
|
|
678
|
+
"selected-option": S(({ data: e }) => [T("div", Qt, [T("div", $t, [T("div", null, [d("", !0), T("span", null, h(`${e.adults} ${e.adults === 1 ? r(i)("general.adult") : r(i)("general.adults")}`), 1)]), e.children > 0 ? (b(), m("div", en, [d("", !0), T("span", null, h(`& ${e.children} ${e.children === 1 ? r(i)("general.child") : r(i)("general.children")}`), 1)])) : d("", !0)]), T("div", tn, [n[1] ||= T("span", null, null, -1), s(" " + h(`(${r(Me)(e.price, r(a))})`), 1)])])]),
|
|
653
679
|
_: 1
|
|
654
680
|
}, 8, [
|
|
655
681
|
"modelValue",
|
|
@@ -659,7 +685,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
659
685
|
"required"
|
|
660
686
|
]));
|
|
661
687
|
}
|
|
662
|
-
}), [["__scopeId", "data-v-f960b7b6"]]),
|
|
688
|
+
}), [["__scopeId", "data-v-f960b7b6"]]), rn = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
|
|
663
689
|
(function(n, r) {
|
|
664
690
|
typeof e == "object" && t !== void 0 ? r(e) : typeof define == "function" && define.amd ? define(["exports"], r) : (n = typeof globalThis < "u" ? globalThis : n || self, r(n.leaflet = {}));
|
|
665
691
|
})(e, (function(e) {
|
|
@@ -1211,7 +1237,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1211
1237
|
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));
|
|
1212
1238
|
return this.R * c;
|
|
1213
1239
|
}
|
|
1214
|
-
}), R = 6378137,
|
|
1240
|
+
}), R = 6378137, z = {
|
|
1215
1241
|
R,
|
|
1216
1242
|
MAX_LATITUDE: 85.0511287798,
|
|
1217
1243
|
project: function(e) {
|
|
@@ -1227,14 +1253,14 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1227
1253
|
return new k([-e, -e], [e, e]);
|
|
1228
1254
|
})()
|
|
1229
1255
|
};
|
|
1230
|
-
function
|
|
1256
|
+
function oe(e, t, n, r) {
|
|
1231
1257
|
if (_(e)) {
|
|
1232
1258
|
this._a = e[0], this._b = e[1], this._c = e[2], this._d = e[3];
|
|
1233
1259
|
return;
|
|
1234
1260
|
}
|
|
1235
1261
|
this._a = e, this._b = t, this._c = n, this._d = r;
|
|
1236
1262
|
}
|
|
1237
|
-
|
|
1263
|
+
oe.prototype = {
|
|
1238
1264
|
transform: function(e, t) {
|
|
1239
1265
|
return this._transform(e.clone(), t);
|
|
1240
1266
|
},
|
|
@@ -1245,21 +1271,21 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1245
1271
|
return t ||= 1, new D((e.x / t - this._b) / this._a, (e.y / t - this._d) / this._c);
|
|
1246
1272
|
}
|
|
1247
1273
|
};
|
|
1248
|
-
function
|
|
1249
|
-
return new
|
|
1274
|
+
function se(e, t, n, r) {
|
|
1275
|
+
return new oe(e, t, n, r);
|
|
1250
1276
|
}
|
|
1251
|
-
var
|
|
1277
|
+
var ce = n({}, I, {
|
|
1252
1278
|
code: "EPSG:3857",
|
|
1253
|
-
projection:
|
|
1279
|
+
projection: z,
|
|
1254
1280
|
transformation: function() {
|
|
1255
|
-
var e = .5 / (Math.PI *
|
|
1256
|
-
return
|
|
1281
|
+
var e = .5 / (Math.PI * z.R);
|
|
1282
|
+
return se(e, .5, -e, .5);
|
|
1257
1283
|
}()
|
|
1258
|
-
}),
|
|
1259
|
-
function
|
|
1284
|
+
}), le = n({}, ce, { code: "EPSG:900913" });
|
|
1285
|
+
function ue(e) {
|
|
1260
1286
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
1261
1287
|
}
|
|
1262
|
-
function
|
|
1288
|
+
function de(e, t) {
|
|
1263
1289
|
var n = "", r, i, a, o, s, c;
|
|
1264
1290
|
for (r = 0, a = e.length; r < a; r++) {
|
|
1265
1291
|
for (s = e[r], i = 0, o = s.length; i < o; i++) c = s[i], n += (i ? "L" : "M") + c.x + " " + c.y;
|
|
@@ -1267,7 +1293,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1267
1293
|
}
|
|
1268
1294
|
return n || "M0 0";
|
|
1269
1295
|
}
|
|
1270
|
-
var
|
|
1296
|
+
var fe = document.documentElement.style, pe = "ActiveXObject" in window, me = pe && !document.addEventListener, he = "msLaunchUri" in navigator && !("documentMode" in document), ge = Ke("webkit"), _e = Ke("android"), B = Ke("android 2") || Ke("android 3"), ve = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), ye = _e && Ke("Google") && ve < 537 && !("AudioNode" in window), be = !!window.opera, xe = !he && Ke("chrome"), Se = Ke("gecko") && !ge && !be && !pe, Ce = !xe && Ke("safari"), we = Ke("phantom"), Te = "OTransition" in fe, Ee = navigator.platform.indexOf("Win") === 0, De = pe && "transition" in fe, Oe = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !B, ke = "MozPerspective" in fe, Ae = !window.L_DISABLE_3D && (De || Oe || ke) && !Te && !we, je = typeof orientation < "u" || Ke("mobile"), V = je && ge, Me = je && Oe, Ne = !window.PointerEvent && window.MSPointerEvent, H = !!(window.PointerEvent || Ne), Pe = "ontouchstart" in window || !!window.TouchEvent, Fe = !window.L_NO_TOUCH && (Pe || H), Ie = je && be, Le = je && Se, Re = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, ze = function() {
|
|
1271
1297
|
var e = !1;
|
|
1272
1298
|
try {
|
|
1273
1299
|
var t = Object.defineProperty({}, "passive", { get: function() {
|
|
@@ -1278,7 +1304,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1278
1304
|
return e;
|
|
1279
1305
|
}(), Be = function() {
|
|
1280
1306
|
return !!document.createElement("canvas").getContext;
|
|
1281
|
-
}(), Ve = !!(document.createElementNS &&
|
|
1307
|
+
}(), Ve = !!(document.createElementNS && ue("svg").createSVGRect), He = !!Ve && (function() {
|
|
1282
1308
|
var e = document.createElement("div");
|
|
1283
1309
|
return e.innerHTML = "<svg/>", (e.firstChild && e.firstChild.namespaceURI) === "http://www.w3.org/2000/svg";
|
|
1284
1310
|
})(), Ue = !Ve && function() {
|
|
@@ -1295,10 +1321,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1295
1321
|
return navigator.userAgent.toLowerCase().indexOf(e) >= 0;
|
|
1296
1322
|
}
|
|
1297
1323
|
var U = {
|
|
1298
|
-
ie:
|
|
1299
|
-
ielt9:
|
|
1300
|
-
edge:
|
|
1301
|
-
webkit:
|
|
1324
|
+
ie: pe,
|
|
1325
|
+
ielt9: me,
|
|
1326
|
+
edge: he,
|
|
1327
|
+
webkit: ge,
|
|
1302
1328
|
android: _e,
|
|
1303
1329
|
android23: B,
|
|
1304
1330
|
androidStock: ye,
|
|
@@ -1309,12 +1335,12 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1309
1335
|
phantom: we,
|
|
1310
1336
|
opera12: Te,
|
|
1311
1337
|
win: Ee,
|
|
1312
|
-
ie3d:
|
|
1313
|
-
webkit3d:
|
|
1314
|
-
gecko3d:
|
|
1315
|
-
any3d:
|
|
1316
|
-
mobile:
|
|
1317
|
-
mobileWebkit:
|
|
1338
|
+
ie3d: De,
|
|
1339
|
+
webkit3d: Oe,
|
|
1340
|
+
gecko3d: ke,
|
|
1341
|
+
any3d: Ae,
|
|
1342
|
+
mobile: je,
|
|
1343
|
+
mobileWebkit: V,
|
|
1318
1344
|
mobileWebkit3d: Me,
|
|
1319
1345
|
msPointer: Ne,
|
|
1320
1346
|
pointer: H,
|
|
@@ -1707,7 +1733,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1707
1733
|
}
|
|
1708
1734
|
}), Q = E.extend({
|
|
1709
1735
|
options: {
|
|
1710
|
-
crs:
|
|
1736
|
+
crs: ce,
|
|
1711
1737
|
center: void 0,
|
|
1712
1738
|
zoom: void 0,
|
|
1713
1739
|
minZoom: void 0,
|
|
@@ -2630,9 +2656,9 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2630
2656
|
2,
|
|
2631
2657
|
8
|
|
2632
2658
|
], a, o, s, c, l, u, d, f;
|
|
2633
|
-
for (a = 0, u = e.length; a < u; a++) e[a]._code =
|
|
2659
|
+
for (a = 0, u = e.length; a < u; a++) e[a]._code = Mn(e[a], t);
|
|
2634
2660
|
for (s = 0; s < 4; s++) {
|
|
2635
|
-
for (d = i[s], r = [], a = 0, u = e.length, o = u - 1; a < u; o = a++) c = e[a], l = e[o], c._code & d ? l._code & d || (f =
|
|
2661
|
+
for (d = i[s], r = [], a = 0, u = e.length, o = u - 1; a < u; o = a++) c = e[a], l = e[o], c._code & d ? l._code & d || (f = jn(l, c, d, t, n), f._code = Mn(f, t), r.push(f)) : (l._code & d && (f = jn(l, c, d, t, n), f._code = Mn(f, t), r.push(f)), r.push(c));
|
|
2636
2662
|
e = r;
|
|
2637
2663
|
}
|
|
2638
2664
|
return e;
|
|
@@ -2640,7 +2666,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2640
2666
|
function bn(e, t) {
|
|
2641
2667
|
var n, r, i, a, o, s, c, l, u;
|
|
2642
2668
|
if (!e || e.length === 0) throw Error("latlngs not passed");
|
|
2643
|
-
|
|
2669
|
+
Fn(e) || (console.warn("latlngs are not flat! Only the first ring will be used"), e = e[0]);
|
|
2644
2670
|
var d = P([0, 0]), f = M(e);
|
|
2645
2671
|
f.getNorthWest().distanceTo(f.getSouthWest()) * f.getNorthEast().distanceTo(f.getNorthWest()) < 1700 && (d = xn(e));
|
|
2646
2672
|
var p = e.length, m = [];
|
|
@@ -2669,65 +2695,65 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2669
2695
|
function Cn(e, t) {
|
|
2670
2696
|
if (!t || !e.length) return e.slice();
|
|
2671
2697
|
var n = t * t;
|
|
2672
|
-
return e =
|
|
2673
|
-
}
|
|
2674
|
-
function $(e, t, n) {
|
|
2675
|
-
return Math.sqrt(Nn(e, t, n, !0));
|
|
2698
|
+
return e = On(e, n), e = En(e, n), e;
|
|
2676
2699
|
}
|
|
2677
2700
|
function wn(e, t, n) {
|
|
2678
|
-
return
|
|
2701
|
+
return Math.sqrt(Pn(e, t, n, !0));
|
|
2702
|
+
}
|
|
2703
|
+
function Tn(e, t, n) {
|
|
2704
|
+
return Pn(e, t, n);
|
|
2679
2705
|
}
|
|
2680
|
-
function
|
|
2706
|
+
function En(e, t) {
|
|
2681
2707
|
var n = e.length, r = new (typeof Uint8Array < "u" ? Uint8Array : Array)(n);
|
|
2682
|
-
r[0] = r[n - 1] = 1,
|
|
2708
|
+
r[0] = r[n - 1] = 1, Dn(e, r, t, 0, n - 1);
|
|
2683
2709
|
var i, a = [];
|
|
2684
2710
|
for (i = 0; i < n; i++) r[i] && a.push(e[i]);
|
|
2685
2711
|
return a;
|
|
2686
2712
|
}
|
|
2687
|
-
function
|
|
2713
|
+
function Dn(e, t, n, r, i) {
|
|
2688
2714
|
var a = 0, o, s, c;
|
|
2689
|
-
for (s = r + 1; s <= i - 1; s++) c =
|
|
2690
|
-
a > n && (t[o] = 1,
|
|
2715
|
+
for (s = r + 1; s <= i - 1; s++) c = Pn(e[s], e[r], e[i], !0), c > a && (o = s, a = c);
|
|
2716
|
+
a > n && (t[o] = 1, Dn(e, t, n, r, o), Dn(e, t, n, o, i));
|
|
2691
2717
|
}
|
|
2692
|
-
function
|
|
2693
|
-
for (var n = [e[0]], r = 1, i = 0, a = e.length; r < a; r++)
|
|
2718
|
+
function On(e, t) {
|
|
2719
|
+
for (var n = [e[0]], r = 1, i = 0, a = e.length; r < a; r++) Nn(e[r], e[i]) > t && (n.push(e[r]), i = r);
|
|
2694
2720
|
return i < a - 1 && n.push(e[a - 1]), n;
|
|
2695
2721
|
}
|
|
2696
|
-
var
|
|
2697
|
-
function
|
|
2698
|
-
var a = r ?
|
|
2699
|
-
for (
|
|
2722
|
+
var kn;
|
|
2723
|
+
function An(e, t, n, r, i) {
|
|
2724
|
+
var a = r ? kn : Mn(e, n), o = Mn(t, n), s, c, l;
|
|
2725
|
+
for (kn = o;;) {
|
|
2700
2726
|
if (!(a | o)) return [e, t];
|
|
2701
2727
|
if (a & o) return !1;
|
|
2702
|
-
s = a || o, c =
|
|
2728
|
+
s = a || o, c = jn(e, t, s, n, i), l = Mn(c, n), s === a ? (e = c, a = l) : (t = c, o = l);
|
|
2703
2729
|
}
|
|
2704
2730
|
}
|
|
2705
|
-
function
|
|
2731
|
+
function jn(e, t, n, r, i) {
|
|
2706
2732
|
var a = t.x - e.x, o = t.y - e.y, s = r.min, c = r.max, l, u;
|
|
2707
2733
|
return n & 8 ? (l = e.x + a * (c.y - e.y) / o, u = c.y) : n & 4 ? (l = e.x + a * (s.y - e.y) / o, u = s.y) : n & 2 ? (l = c.x, u = e.y + o * (c.x - e.x) / a) : n & 1 && (l = s.x, u = e.y + o * (s.x - e.x) / a), new D(l, u, i);
|
|
2708
2734
|
}
|
|
2709
|
-
function
|
|
2735
|
+
function Mn(e, t) {
|
|
2710
2736
|
var n = 0;
|
|
2711
2737
|
return e.x < t.min.x ? n |= 1 : e.x > t.max.x && (n |= 2), e.y < t.min.y ? n |= 4 : e.y > t.max.y && (n |= 8), n;
|
|
2712
2738
|
}
|
|
2713
|
-
function
|
|
2739
|
+
function Nn(e, t) {
|
|
2714
2740
|
var n = t.x - e.x, r = t.y - e.y;
|
|
2715
2741
|
return n * n + r * r;
|
|
2716
2742
|
}
|
|
2717
|
-
function
|
|
2743
|
+
function Pn(e, t, n, r) {
|
|
2718
2744
|
var i = t.x, a = t.y, o = n.x - i, s = n.y - a, c = o * o + s * s, l;
|
|
2719
2745
|
return c > 0 && (l = ((e.x - i) * o + (e.y - a) * s) / c, l > 1 ? (i = n.x, a = n.y) : l > 0 && (i += o * l, a += s * l)), o = e.x - i, s = e.y - a, r ? o * o + s * s : new D(i, a);
|
|
2720
2746
|
}
|
|
2721
|
-
function
|
|
2747
|
+
function Fn(e) {
|
|
2722
2748
|
return !_(e[0]) || typeof e[0][0] != "object" && e[0][0] !== void 0;
|
|
2723
2749
|
}
|
|
2724
|
-
function
|
|
2725
|
-
return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),
|
|
2750
|
+
function In(e) {
|
|
2751
|
+
return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."), Fn(e);
|
|
2726
2752
|
}
|
|
2727
|
-
function
|
|
2753
|
+
function $(e, t) {
|
|
2728
2754
|
var n, r, i, a, o, s, c, l;
|
|
2729
2755
|
if (!e || e.length === 0) throw Error("latlngs not passed");
|
|
2730
|
-
|
|
2756
|
+
Fn(e) || (console.warn("latlngs are not flat! Only the first ring will be used"), e = e[0]);
|
|
2731
2757
|
var u = P([0, 0]), d = M(e);
|
|
2732
2758
|
d.getNorthWest().distanceTo(d.getSouthWest()) * d.getNorthEast().distanceTo(d.getNorthWest()) < 1700 && (u = xn(e));
|
|
2733
2759
|
var f = e.length, p = [];
|
|
@@ -2747,15 +2773,15 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2747
2773
|
var Ln = {
|
|
2748
2774
|
__proto__: null,
|
|
2749
2775
|
simplify: Cn,
|
|
2750
|
-
pointToSegmentDistance:
|
|
2751
|
-
closestPointOnSegment:
|
|
2752
|
-
clipSegment:
|
|
2753
|
-
_getEdgeIntersection:
|
|
2754
|
-
_getBitCode:
|
|
2755
|
-
_sqClosestPointOnSegment:
|
|
2756
|
-
isFlat:
|
|
2757
|
-
_flat:
|
|
2758
|
-
polylineCenter:
|
|
2776
|
+
pointToSegmentDistance: wn,
|
|
2777
|
+
closestPointOnSegment: Tn,
|
|
2778
|
+
clipSegment: An,
|
|
2779
|
+
_getEdgeIntersection: jn,
|
|
2780
|
+
_getBitCode: Mn,
|
|
2781
|
+
_sqClosestPointOnSegment: Pn,
|
|
2782
|
+
isFlat: Fn,
|
|
2783
|
+
_flat: In,
|
|
2784
|
+
polylineCenter: $
|
|
2759
2785
|
}, Rn = {
|
|
2760
2786
|
project: function(e) {
|
|
2761
2787
|
return new D(e.lng, e.lat);
|
|
@@ -2780,21 +2806,21 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2780
2806
|
__proto__: null,
|
|
2781
2807
|
LonLat: Rn,
|
|
2782
2808
|
Mercator: zn,
|
|
2783
|
-
SphericalMercator:
|
|
2809
|
+
SphericalMercator: z
|
|
2784
2810
|
}, Vn = n({}, I, {
|
|
2785
2811
|
code: "EPSG:3395",
|
|
2786
2812
|
projection: zn,
|
|
2787
2813
|
transformation: function() {
|
|
2788
2814
|
var e = .5 / (Math.PI * zn.R);
|
|
2789
|
-
return
|
|
2815
|
+
return se(e, .5, -e, .5);
|
|
2790
2816
|
}()
|
|
2791
2817
|
}), Hn = n({}, I, {
|
|
2792
2818
|
code: "EPSG:4326",
|
|
2793
2819
|
projection: Rn,
|
|
2794
|
-
transformation:
|
|
2820
|
+
transformation: se(1 / 180, 1, -1 / 180, .5)
|
|
2795
2821
|
}), Un = n({}, F, {
|
|
2796
2822
|
projection: Rn,
|
|
2797
|
-
transformation:
|
|
2823
|
+
transformation: se(1, 0, -1, 0),
|
|
2798
2824
|
scale: function(e) {
|
|
2799
2825
|
return 2 ** e;
|
|
2800
2826
|
},
|
|
@@ -2807,7 +2833,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2807
2833
|
},
|
|
2808
2834
|
infinite: !0
|
|
2809
2835
|
});
|
|
2810
|
-
F.Earth = I, F.EPSG3395 = Vn, F.EPSG3857 =
|
|
2836
|
+
F.Earth = I, F.EPSG3395 = Vn, F.EPSG3857 = ce, F.EPSG900913 = le, F.EPSG4326 = Hn, F.Simple = Un;
|
|
2811
2837
|
var Wn = E.extend({
|
|
2812
2838
|
options: {
|
|
2813
2839
|
pane: "overlayPane",
|
|
@@ -3350,7 +3376,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3350
3376
|
return !this._latlngs.length;
|
|
3351
3377
|
},
|
|
3352
3378
|
closestLayerPoint: function(e) {
|
|
3353
|
-
for (var t = Infinity, n = null, r =
|
|
3379
|
+
for (var t = Infinity, n = null, r = Pn, i, a, o = 0, s = this._parts.length; o < s; o++) for (var c = this._parts[o], l = 1, u = c.length; l < u; l++) {
|
|
3354
3380
|
i = c[l - 1], a = c[l];
|
|
3355
3381
|
var d = r(e, i, a, !0);
|
|
3356
3382
|
d < t && (t = d, n = r(e, i, a));
|
|
@@ -3359,7 +3385,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3359
3385
|
},
|
|
3360
3386
|
getCenter: function() {
|
|
3361
3387
|
if (!this._map) throw Error("Must add layer to map before using getCenter()");
|
|
3362
|
-
return
|
|
3388
|
+
return $(this._defaultShape(), this._map.options.crs);
|
|
3363
3389
|
},
|
|
3364
3390
|
getBounds: function() {
|
|
3365
3391
|
return this._bounds;
|
|
@@ -3371,10 +3397,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3371
3397
|
this._bounds = new j(), this._latlngs = this._convertLatLngs(e);
|
|
3372
3398
|
},
|
|
3373
3399
|
_defaultShape: function() {
|
|
3374
|
-
return
|
|
3400
|
+
return Fn(this._latlngs) ? this._latlngs : this._latlngs[0];
|
|
3375
3401
|
},
|
|
3376
3402
|
_convertLatLngs: function(e) {
|
|
3377
|
-
for (var t = [], n =
|
|
3403
|
+
for (var t = [], n = Fn(e), r = 0, i = e.length; r < i; r++) n ? (t[r] = P(e[r]), this._bounds.extend(t[r])) : t[r] = this._convertLatLngs(e[r]);
|
|
3378
3404
|
return t;
|
|
3379
3405
|
},
|
|
3380
3406
|
_project: function() {
|
|
@@ -3400,7 +3426,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3400
3426
|
return;
|
|
3401
3427
|
}
|
|
3402
3428
|
var t = this._parts, n, r, i, a, o, s, c;
|
|
3403
|
-
for (n = 0, i = 0, a = this._rings.length; n < a; n++) for (c = this._rings[n], r = 0, o = c.length; r < o - 1; r++) s =
|
|
3429
|
+
for (n = 0, i = 0, a = this._rings.length; n < a; n++) for (c = this._rings[n], r = 0, o = c.length; r < o - 1; r++) s = An(c[r], c[r + 1], e, r, !0), s && (t[i] = t[i] || [], t[i].push(s[0]), (s[1] !== c[r + 1] || r === o - 2) && (t[i].push(s[1]), i++));
|
|
3404
3430
|
}
|
|
3405
3431
|
},
|
|
3406
3432
|
_simplifyPoints: function() {
|
|
@@ -3415,14 +3441,14 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3415
3441
|
_containsPoint: function(e, t) {
|
|
3416
3442
|
var n, r, i, a, o, s, c = this._clickTolerance();
|
|
3417
3443
|
if (!this._pxBounds || !this._pxBounds.contains(e)) return !1;
|
|
3418
|
-
for (n = 0, a = this._parts.length; n < a; n++) for (s = this._parts[n], r = 0, o = s.length, i = o - 1; r < o; i = r++) if (!(!t && r === 0) &&
|
|
3444
|
+
for (n = 0, a = this._parts.length; n < a; n++) for (s = this._parts[n], r = 0, o = s.length, i = o - 1; r < o; i = r++) if (!(!t && r === 0) && wn(e, s[i], s[r]) <= c) return !0;
|
|
3419
3445
|
return !1;
|
|
3420
3446
|
}
|
|
3421
3447
|
});
|
|
3422
3448
|
function sr(e, t) {
|
|
3423
3449
|
return new or(e, t);
|
|
3424
3450
|
}
|
|
3425
|
-
or._flat =
|
|
3451
|
+
or._flat = In;
|
|
3426
3452
|
var cr = or.extend({
|
|
3427
3453
|
options: { fill: !0 },
|
|
3428
3454
|
isEmpty: function() {
|
|
@@ -3437,10 +3463,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3437
3463
|
return n >= 2 && t[0] instanceof N && t[0].equals(t[n - 1]) && t.pop(), t;
|
|
3438
3464
|
},
|
|
3439
3465
|
_setLatLngs: function(e) {
|
|
3440
|
-
or.prototype._setLatLngs.call(this, e),
|
|
3466
|
+
or.prototype._setLatLngs.call(this, e), Fn(this._latlngs) && (this._latlngs = [this._latlngs]);
|
|
3441
3467
|
},
|
|
3442
3468
|
_defaultShape: function() {
|
|
3443
|
-
return
|
|
3469
|
+
return Fn(this._latlngs[0]) ? this._latlngs[0] : this._latlngs[0][0];
|
|
3444
3470
|
},
|
|
3445
3471
|
_clipPoints: function() {
|
|
3446
3472
|
var e = this._renderer._bounds, t = this.options.weight, n = new D(t, t);
|
|
@@ -3541,7 +3567,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3541
3567
|
];
|
|
3542
3568
|
}
|
|
3543
3569
|
function gr(e, t, n, r) {
|
|
3544
|
-
for (var i = [], a = 0, o = e.length; a < o; a++) i.push(t ? gr(e[a],
|
|
3570
|
+
for (var i = [], a = 0, o = e.length; a < o; a++) i.push(t ? gr(e[a], Fn(e[a]) ? 0 : t - 1, n, r) : hr(e[a], r));
|
|
3545
3571
|
return !t && n && i.length > 0 && i.push(i[0].slice()), i;
|
|
3546
3572
|
}
|
|
3547
3573
|
function _r(e, t) {
|
|
@@ -3561,13 +3587,13 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3561
3587
|
});
|
|
3562
3588
|
} };
|
|
3563
3589
|
$n.include(yr), ir.include(yr), nr.include(yr), or.include({ toGeoJSON: function(e) {
|
|
3564
|
-
var t = !
|
|
3590
|
+
var t = !Fn(this._latlngs), n = gr(this._latlngs, +!!t, !1, e);
|
|
3565
3591
|
return _r(this, {
|
|
3566
3592
|
type: (t ? "Multi" : "") + "LineString",
|
|
3567
3593
|
coordinates: n
|
|
3568
3594
|
});
|
|
3569
3595
|
} }), cr.include({ toGeoJSON: function(e) {
|
|
3570
|
-
var t = !
|
|
3596
|
+
var t = !Fn(this._latlngs), n = t && !Fn(this._latlngs[0]), r = gr(this._latlngs, n ? 2 : +!!t, !0, e);
|
|
3571
3597
|
return t || (r = [r]), _r(this, {
|
|
3572
3598
|
type: (n ? "Multi" : "") + "Polygon",
|
|
3573
3599
|
coordinates: r
|
|
@@ -4786,7 +4812,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4786
4812
|
_bringToBack: function(e) {
|
|
4787
4813
|
bt(e._container);
|
|
4788
4814
|
}
|
|
4789
|
-
}, Kr = U.vml ? Wr :
|
|
4815
|
+
}, Kr = U.vml ? Wr : ue, qr = Vr.extend({
|
|
4790
4816
|
_initContainer: function() {
|
|
4791
4817
|
this._container = Kr("svg"), this._container.setAttribute("pointer-events", "none"), this._rootGroup = Kr("g"), this._container.appendChild(this._rootGroup);
|
|
4792
4818
|
},
|
|
@@ -4823,7 +4849,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4823
4849
|
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"));
|
|
4824
4850
|
},
|
|
4825
4851
|
_updatePoly: function(e, t) {
|
|
4826
|
-
this._setPath(e,
|
|
4852
|
+
this._setPath(e, de(e._parts, t));
|
|
4827
4853
|
},
|
|
4828
4854
|
_updateCircle: function(e) {
|
|
4829
4855
|
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 ";
|
|
@@ -4876,7 +4902,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4876
4902
|
function Xr(e, t) {
|
|
4877
4903
|
return new Yr(e, t);
|
|
4878
4904
|
}
|
|
4879
|
-
qr.create = Kr, qr.pointsToPath =
|
|
4905
|
+
qr.create = Kr, qr.pointsToPath = de, 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 });
|
|
4880
4906
|
var Zr = hn.extend({
|
|
4881
4907
|
initialize: function(e) {
|
|
4882
4908
|
this._map = e, this._container = e._container, this._pane = e._panes.overlayPane, this._resetStateTimeout = 0, e.on("unload", this._destroy, this);
|
|
@@ -5237,7 +5263,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
5237
5263
|
this._zooming = !1, S(this._animRequest), X(document, "touchmove", this._onTouchMove, this), X(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));
|
|
5238
5264
|
}
|
|
5239
5265
|
});
|
|
5240
|
-
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 = k, e.Browser = U, e.CRS = F, e.Canvas = Hr, e.Circle = ir, e.CircleMarker = nr, e.Class = ie, e.Control = on, e.DivIcon = Nr, e.DivOverlay = Or, e.DomEvent = nn, e.DomUtil = Vt, e.Draggable = vn, e.Evented = E, e.FeatureGroup = qn, e.GeoJSON = ur, e.GridLayer = Fr, e.Handler = hn, e.Icon = Yn, e.ImageOverlay = Sr, e.LatLng = N, e.LatLngBounds = j, e.Layer = Wn, e.LayerGroup = Gn, e.LineUtil = Ln, e.Map = Q, e.Marker = $n, e.Mixin = gn, e.Path = tr, e.Point = D, e.PolyUtil = Sn, 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 =
|
|
5266
|
+
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 = k, e.Browser = U, e.CRS = F, e.Canvas = Hr, e.Circle = ir, e.CircleMarker = nr, e.Class = ie, e.Control = on, e.DivIcon = Nr, e.DivOverlay = Or, e.DomEvent = nn, e.DomUtil = Vt, e.Draggable = vn, e.Evented = E, e.FeatureGroup = qn, e.GeoJSON = ur, e.GridLayer = Fr, e.Handler = hn, e.Icon = Yn, e.ImageOverlay = Sr, e.LatLng = N, e.LatLngBounds = j, e.Layer = Wn, e.LayerGroup = Gn, e.LineUtil = Ln, e.Map = Q, e.Marker = $n, e.Mixin = gn, e.Path = tr, e.Point = D, e.PolyUtil = Sn, 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 = oe, e.Util = C, e.VideoOverlay = wr, e.bind = i, e.bounds = A, e.canvas = Ur, e.circle = ar, e.circleMarker = rr, e.control = sn, 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 = P, e.latLngBounds = M, e.layerGroup = Kn, e.map = an, e.marker = er, e.point = O, 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 = se, e.version = t, e.videoOverlay = Tr;
|
|
5241
5267
|
var ai = window.L;
|
|
5242
5268
|
e.noConflict = function() {
|
|
5243
5269
|
return window.L = ai, this;
|
|
@@ -5984,7 +6010,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
5984
6010
|
} }), e.MarkerClusterGroup = t, e.MarkerCluster = n, Object.defineProperty(e, "__esModule", { value: !0 });
|
|
5985
6011
|
});
|
|
5986
6012
|
})))();
|
|
5987
|
-
var
|
|
6013
|
+
var Q = "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=", an = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
5988
6014
|
__name: "Map",
|
|
5989
6015
|
props: {
|
|
5990
6016
|
modelValue: {},
|
|
@@ -5992,13 +6018,13 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
5992
6018
|
},
|
|
5993
6019
|
emits: ["update:modelValue", "callback"],
|
|
5994
6020
|
setup(e, { emit: t }) {
|
|
5995
|
-
let { t: r } = v(), i = t, a = e, { hotelMapImage: o } = C(
|
|
5996
|
-
iconUrl:
|
|
6021
|
+
let { t: r } = v(), i = t, a = e, { hotelMapImage: o } = C(he()), s = rn.default.Util.extend(rn.default.CRS.Simple, { transformation: new rn.default.Transformation(1, 0, 1, 0) }), c = I(), l = n(() => o.value?.url), u = n(() => o.value?.height), d = n(() => o.value?.width), f = rn.default.icon({
|
|
6022
|
+
iconUrl: Q,
|
|
5997
6023
|
iconSize: [32, 37],
|
|
5998
6024
|
iconAnchor: [16, 37]
|
|
5999
6025
|
});
|
|
6000
6026
|
function p() {
|
|
6001
|
-
let e =
|
|
6027
|
+
let e = rn.default.map(c.value, {
|
|
6002
6028
|
attributionControl: !1,
|
|
6003
6029
|
zoomControl: !0,
|
|
6004
6030
|
smoothWheelZoom: !0,
|
|
@@ -6009,10 +6035,10 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6009
6035
|
maxZoom: 1,
|
|
6010
6036
|
crs: s
|
|
6011
6037
|
}), t = [[0, 0], [u.value, d.value]];
|
|
6012
|
-
|
|
6013
|
-
let n =
|
|
6038
|
+
rn.default.imageOverlay(l.value, t).addTo(e);
|
|
6039
|
+
let n = rn.default.markerClusterGroup({ showCoverageOnHover: !1 }), i = new rn.default.LatLngBounds(g.value.map(({ y: e, x: t }) => [e, t]));
|
|
6014
6040
|
g.value.forEach(({ y: e, x: t, name: i, id: a }) => {
|
|
6015
|
-
n.addLayer(
|
|
6041
|
+
n.addLayer(rn.default.marker([e, t], {
|
|
6016
6042
|
icon: f,
|
|
6017
6043
|
title: i,
|
|
6018
6044
|
alt: i,
|
|
@@ -6049,10 +6075,10 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6049
6075
|
class: "konnectio-leaflet-map"
|
|
6050
6076
|
}, null, 512)).cacheIndex = 0, D(1), t[0]);
|
|
6051
6077
|
}
|
|
6052
|
-
}), [["__scopeId", "data-v-c36a3ba7"]]),
|
|
6078
|
+
}), [["__scopeId", "data-v-c36a3ba7"]]), on = { style: {
|
|
6053
6079
|
height: "100%",
|
|
6054
6080
|
width: "100%"
|
|
6055
|
-
} },
|
|
6081
|
+
} }, sn = /* @__PURE__ */ R({
|
|
6056
6082
|
__name: "MapSelector",
|
|
6057
6083
|
props: {
|
|
6058
6084
|
roomList: {},
|
|
@@ -6070,7 +6096,7 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6070
6096
|
}), s.callback());
|
|
6071
6097
|
}
|
|
6072
6098
|
return (t, n) => (b(), u(Be, { title: r(i)("hotel.selectRoomOnMapTitle") }, {
|
|
6073
|
-
default: S(() => [T("div",
|
|
6099
|
+
default: S(() => [T("div", on, [l(an, {
|
|
6074
6100
|
modelValue: a.value,
|
|
6075
6101
|
"onUpdate:modelValue": n[0] ||= (e) => a.value = e,
|
|
6076
6102
|
rooms: e.roomList,
|
|
@@ -6079,19 +6105,19 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6079
6105
|
_: 1
|
|
6080
6106
|
}, 8, ["title"]));
|
|
6081
6107
|
}
|
|
6082
|
-
}),
|
|
6108
|
+
}), cn = {
|
|
6083
6109
|
key: 0,
|
|
6084
6110
|
class: "konnectio-hotel-select-rate"
|
|
6085
|
-
},
|
|
6111
|
+
}, ln = {
|
|
6086
6112
|
key: 0,
|
|
6087
6113
|
class: "konnectio-hotel-select-rate-removal"
|
|
6088
|
-
},
|
|
6114
|
+
}, un = { key: 1 }, dn = { class: "konnectio-listing-config-body" }, fn = {
|
|
6089
6115
|
key: 0,
|
|
6090
6116
|
class: "konnectio-listing-units-body"
|
|
6091
|
-
},
|
|
6117
|
+
}, pn = {
|
|
6092
6118
|
key: 1,
|
|
6093
6119
|
class: "konnectio-listing-units-body"
|
|
6094
|
-
},
|
|
6120
|
+
}, mn = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
6095
6121
|
__name: "Hotel",
|
|
6096
6122
|
props: {
|
|
6097
6123
|
room: {},
|
|
@@ -6109,7 +6135,7 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6109
6135
|
let { t: s } = v(), c = e, f = I([]);
|
|
6110
6136
|
function p() {
|
|
6111
6137
|
let e = f.value.length;
|
|
6112
|
-
|
|
6138
|
+
le(e);
|
|
6113
6139
|
}
|
|
6114
6140
|
function _(e) {
|
|
6115
6141
|
f.value.splice(e, 1);
|
|
@@ -6117,17 +6143,17 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6117
6143
|
let ee = n(() => c.room.rates.map((e) => ({
|
|
6118
6144
|
label: e.name,
|
|
6119
6145
|
value: e.id
|
|
6120
|
-
}))), { hideAvailableRoomAmount: te, autoSelectRateId: ne, enableMultipleConfigurations: re, hasSharedAddonSelection: y } = C(
|
|
6146
|
+
}))), { hideAvailableRoomAmount: te, autoSelectRateId: ne, enableMultipleConfigurations: re, hasSharedAddonSelection: y } = C(ce()), { location: x } = C(oe()), { roomSelect: ie, isSearchOutdated: D } = C(he()), { addToCart: O, removeFromCart: k } = se(), A = (e, t) => c.room.rates.find((t) => t.id === e)?.occupantRates.find((e) => e.index === t), j = n(() => c.room.roomList.some((e) => e.mapImageX && e.mapImageY)), M = n(() => c.room.rates.every((e) => e.isBreakfastIncluded === !0)), N = (e, t) => A(e, t) ? A(e, t)?.rooms : null, P = (e) => c.room.rates.length > 0 && c.room.rates.find((t) => t.id === e)?.occupantRates.map((e) => ({
|
|
6121
6147
|
value: e.index,
|
|
6122
6148
|
price: e.totalPrice,
|
|
6123
6149
|
adults: e.adultsCount,
|
|
6124
6150
|
children: e.childrenCount,
|
|
6125
6151
|
hasBreakfast: e.hasBreakfast
|
|
6126
6152
|
})) || [], R = n(() => c.room.rates.length > 1);
|
|
6127
|
-
function
|
|
6153
|
+
function z(e, t) {
|
|
6128
6154
|
f.value[e].config[0].id = c.room.rates.find((e) => e.id === t.value)?.occupantRateIndex || NaN;
|
|
6129
6155
|
}
|
|
6130
|
-
function
|
|
6156
|
+
function le(e = 0) {
|
|
6131
6157
|
R.value ? ne.value ? f.value[e] = {
|
|
6132
6158
|
id: c.room.bestRateMatch || void 0,
|
|
6133
6159
|
config: [{
|
|
@@ -6152,10 +6178,10 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6152
6178
|
};
|
|
6153
6179
|
}
|
|
6154
6180
|
g(() => {
|
|
6155
|
-
|
|
6181
|
+
le();
|
|
6156
6182
|
});
|
|
6157
|
-
let
|
|
6158
|
-
return ae(
|
|
6183
|
+
let ue = n(() => JSON.parse(JSON.stringify(f.value)));
|
|
6184
|
+
return ae(ue, (e, t) => {
|
|
6159
6185
|
t.length > 0 && e.forEach((n, r) => {
|
|
6160
6186
|
t[r] && n.config.forEach((n, i) => {
|
|
6161
6187
|
let a = n.units, o = t[r].config[i].units;
|
|
@@ -6191,14 +6217,14 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6191
6217
|
action: S(() => [T("div", { class: E(["konnectio-availability-listing-selection", { "konnectio-multiple-configurations": f.value.length > 1 }]) }, [(b(!0), m(a, null, w(f.value, (n, u) => (b(), m("div", {
|
|
6192
6218
|
key: n.id,
|
|
6193
6219
|
class: "konnectio-hotel-room"
|
|
6194
|
-
}, [R.value ? (b(), m("div",
|
|
6220
|
+
}, [R.value ? (b(), m("div", cn, [l(V, {
|
|
6195
6221
|
modelValue: n.id,
|
|
6196
6222
|
"onUpdate:modelValue": (e) => n.id = e,
|
|
6197
6223
|
label: r(s)("hotel.roomVariant"),
|
|
6198
6224
|
placeholder: r(s)("hotel.chooseARoomVariant"),
|
|
6199
6225
|
options: ee.value,
|
|
6200
6226
|
searchable: !1,
|
|
6201
|
-
onChanged: (e) =>
|
|
6227
|
+
onChanged: (e) => z(u, e)
|
|
6202
6228
|
}, null, 8, [
|
|
6203
6229
|
"modelValue",
|
|
6204
6230
|
"onUpdate:modelValue",
|
|
@@ -6206,19 +6232,19 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6206
6232
|
"placeholder",
|
|
6207
6233
|
"options",
|
|
6208
6234
|
"onChanged"
|
|
6209
|
-
]), f.value.length > 1 ? (b(), m("div",
|
|
6235
|
+
]), f.value.length > 1 ? (b(), m("div", ln, [l(Ne, {
|
|
6210
6236
|
style: { "--buttonBackground": "var(--dangerColor)" },
|
|
6211
6237
|
icon: "trash-alt",
|
|
6212
6238
|
"icon-type": "fas",
|
|
6213
6239
|
onClickEvent: (e) => _(u),
|
|
6214
6240
|
secondary: ""
|
|
6215
|
-
}, null, 8, ["onClickEvent"])])) : d("", !0)])) : d("", !0), n.id ? (b(), m("div",
|
|
6241
|
+
}, null, 8, ["onClickEvent"])])) : d("", !0)])) : d("", !0), n.id ? (b(), m("div", un, [(b(!0), m(a, null, w(e.room.rates, ({ id: u, maximumOccupants: f }) => (b(), m("div", {
|
|
6216
6242
|
key: u,
|
|
6217
6243
|
class: "konnectio-listing-action-selective-i"
|
|
6218
6244
|
}, [n.id === u ? (b(!0), m(a, { key: 0 }, w(n.config, (a, d) => (b(), m("div", {
|
|
6219
6245
|
key: d,
|
|
6220
6246
|
class: "konnectio-listing-action-selective"
|
|
6221
|
-
}, [T("ul",
|
|
6247
|
+
}, [T("ul", dn, [l(nn, {
|
|
6222
6248
|
modelValue: a.id,
|
|
6223
6249
|
"onUpdate:modelValue": (e) => a.id = e,
|
|
6224
6250
|
icon: "male",
|
|
@@ -6234,13 +6260,13 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6234
6260
|
"description",
|
|
6235
6261
|
"options",
|
|
6236
6262
|
"readonly"
|
|
6237
|
-
])]), j.value ? (b(), m("div",
|
|
6263
|
+
])]), j.value ? (b(), m("div", pn, [l(Ne, {
|
|
6238
6264
|
onClickEvent: i,
|
|
6239
6265
|
label: r(s)("hotel.selectRoomOnMap"),
|
|
6240
6266
|
secondary: "",
|
|
6241
6267
|
"full-width": "",
|
|
6242
6268
|
disabled: r(D)
|
|
6243
|
-
}, null, 8, ["label", "disabled"]), l(
|
|
6269
|
+
}, null, 8, ["label", "disabled"]), l(sn, {
|
|
6244
6270
|
modelValue: t.value,
|
|
6245
6271
|
"onUpdate:modelValue": c[0] ||= (e) => t.value = e,
|
|
6246
6272
|
"room-list": e.room.roomList,
|
|
@@ -6252,7 +6278,7 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6252
6278
|
"room-list",
|
|
6253
6279
|
"config",
|
|
6254
6280
|
"onUpdate:config"
|
|
6255
|
-
])])) : (b(), m("ul",
|
|
6281
|
+
])])) : (b(), m("ul", fn, [l(je, {
|
|
6256
6282
|
modelValue: a.units,
|
|
6257
6283
|
"onUpdate:modelValue": (e) => a.units = e,
|
|
6258
6284
|
description: r(te) ? void 0 : `${r(s)("booking.availability.availableUnits")}: ${N(n.id, a.id)}`,
|
|
@@ -6285,10 +6311,10 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6285
6311
|
"includes-breakfast"
|
|
6286
6312
|
]));
|
|
6287
6313
|
}
|
|
6288
|
-
}), [["__scopeId", "data-v-c7b61560"]]),
|
|
6314
|
+
}), [["__scopeId", "data-v-c7b61560"]]), hn = { class: "konnectio-template-side-panel" }, gn = { class: "konnectio-template-side-panel-listings" }, _n = { class: "konnectio-template-room-config" }, vn = { class: "konnectio-template-room-units" }, yn = { class: "konnectio-template-room-unit-header" }, bn = { class: "konnectio-template-footer" }, xn = {
|
|
6289
6315
|
key: 0,
|
|
6290
6316
|
class: "konnectio-template-selection-preview"
|
|
6291
|
-
},
|
|
6317
|
+
}, Sn = { class: "konnectio-template-selection-item-header" }, Cn = { class: "konnectio-template-selection-item-name" }, wn = { class: "konnectio-template-selection-item-price" }, Tn = { class: "konnectio-template-selection-item-units" }, En = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
6292
6318
|
__name: "Template",
|
|
6293
6319
|
props: {
|
|
6294
6320
|
title: {},
|
|
@@ -6299,7 +6325,7 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6299
6325
|
callback: { type: Function }
|
|
6300
6326
|
},
|
|
6301
6327
|
setup(e) {
|
|
6302
|
-
let { t } = v(), i =
|
|
6328
|
+
let { t } = v(), i = ce(), o = he(), { location: c, adults: f, children: p } = C(oe()), { templateID: g, roomGroupID: _, templateRoomSelections: ee, selectionHasNoAddons: ne, currentAdults: re, currentChildren: y } = C(o), { currency: x } = C(i), { clearRoomSelection: ie } = o, { addToCart: D } = se(), { hasChildSelection: O, hasSharedAddonSelection: k } = i, A = e, M = I(!1), N = f.value || 1, P = p.value || 0, F = te({}), R = n(() => {
|
|
6303
6329
|
function e(e, t) {
|
|
6304
6330
|
return M.value === !0 ? e.extraPrice > t.extraPrice ? -1 : 1 : e.extraPrice > t.extraPrice ? 1 : -1;
|
|
6305
6331
|
}
|
|
@@ -6314,25 +6340,25 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6314
6340
|
});
|
|
6315
6341
|
}), t;
|
|
6316
6342
|
});
|
|
6317
|
-
function
|
|
6343
|
+
function z(e) {
|
|
6318
6344
|
return R.value.find((t) => t.id === e);
|
|
6319
6345
|
}
|
|
6320
|
-
function
|
|
6321
|
-
let t =
|
|
6346
|
+
function le(e) {
|
|
6347
|
+
let t = z(e);
|
|
6322
6348
|
if (!t) return N;
|
|
6323
6349
|
let n = t.otherPriceOptions?.reduce((e, t) => Math.max(e, t.includedAdults), 0) ?? 0;
|
|
6324
6350
|
return Math.max(n, N);
|
|
6325
6351
|
}
|
|
6326
|
-
function
|
|
6327
|
-
let t =
|
|
6352
|
+
function ue(e) {
|
|
6353
|
+
let t = z(e);
|
|
6328
6354
|
return !t || !t.otherPriceOptions ? 0 : t.otherPriceOptions.some((e) => e.extraChildPrice > 0) ? Math.max(P, 1) : 0;
|
|
6329
6355
|
}
|
|
6330
|
-
function
|
|
6331
|
-
let t =
|
|
6356
|
+
function de(e) {
|
|
6357
|
+
let t = z(e);
|
|
6332
6358
|
return t && t.availableRoomCount || 1;
|
|
6333
6359
|
}
|
|
6334
|
-
function
|
|
6335
|
-
let t =
|
|
6360
|
+
function pe(e) {
|
|
6361
|
+
let t = z(e);
|
|
6336
6362
|
return t ? t.extraPrice + A.weekendFee : 0;
|
|
6337
6363
|
}
|
|
6338
6364
|
ae(() => ({ ...F }), () => {
|
|
@@ -6345,7 +6371,7 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6345
6371
|
else n < r && t.configs.splice(n);
|
|
6346
6372
|
});
|
|
6347
6373
|
}, { deep: !0 });
|
|
6348
|
-
let
|
|
6374
|
+
let me = n(() => {
|
|
6349
6375
|
JSON.stringify(F);
|
|
6350
6376
|
let e = {};
|
|
6351
6377
|
return R.value.forEach((t) => {
|
|
@@ -6354,18 +6380,18 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6354
6380
|
e[t.id] = [];
|
|
6355
6381
|
return;
|
|
6356
6382
|
}
|
|
6357
|
-
e[t.id] = n.configs.map((e) =>
|
|
6383
|
+
e[t.id] = n.configs.map((e) => fe(t, e.adults, e.children, N, P));
|
|
6358
6384
|
}), e;
|
|
6359
6385
|
});
|
|
6360
|
-
function
|
|
6361
|
-
return
|
|
6386
|
+
function ge(e, t) {
|
|
6387
|
+
return me.value[e]?.[t] ?? 0;
|
|
6362
6388
|
}
|
|
6363
6389
|
function _e() {
|
|
6364
6390
|
let e = 0;
|
|
6365
6391
|
return R.value.forEach((t) => {
|
|
6366
6392
|
let n = F[t.id];
|
|
6367
6393
|
if (!(!n || n.units === 0)) for (let r = 0; r < n.units; r++) {
|
|
6368
|
-
let n =
|
|
6394
|
+
let n = ge(t.id, r);
|
|
6369
6395
|
e += n + A.weekendFee;
|
|
6370
6396
|
}
|
|
6371
6397
|
}), e;
|
|
@@ -6377,7 +6403,7 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6377
6403
|
let t = F[e.id], n = t.configs.slice(0, t.units).map((t, n) => ({
|
|
6378
6404
|
adults: t.adults,
|
|
6379
6405
|
children: t.children,
|
|
6380
|
-
price:
|
|
6406
|
+
price: ge(e.id, n) + A.weekendFee
|
|
6381
6407
|
}));
|
|
6382
6408
|
return {
|
|
6383
6409
|
id: e.id,
|
|
@@ -6406,7 +6432,7 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6406
6432
|
}))
|
|
6407
6433
|
}), _.value ||= r.id;
|
|
6408
6434
|
for (let e = 0; e < i.units; e++) {
|
|
6409
|
-
let t =
|
|
6435
|
+
let t = ge(r.id, e);
|
|
6410
6436
|
D({
|
|
6411
6437
|
id: r.id,
|
|
6412
6438
|
name: r.title,
|
|
@@ -6426,10 +6452,10 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6426
6452
|
title: e.title,
|
|
6427
6453
|
subtitle: r(t)("booking.availability.selectATemplateRoom")
|
|
6428
6454
|
}, {
|
|
6429
|
-
footer: S(() => [T("div",
|
|
6455
|
+
footer: S(() => [T("div", bn, [ve.value.length > 0 ? (b(), m("div", xn, [(b(!0), m(a, null, w(ve.value, (e) => (b(), m("div", {
|
|
6430
6456
|
key: e.id,
|
|
6431
6457
|
class: "konnectio-template-selection-item"
|
|
6432
|
-
}, [T("div",
|
|
6458
|
+
}, [T("div", Sn, [T("span", Cn, h(e.title), 1), T("span", wn, h(r(Me)(e.totalPrice, r(x))), 1)]), T("div", Tn, [(b(!0), m(a, null, w(e.units, (e, n) => (b(), m("span", {
|
|
6433
6459
|
key: n,
|
|
6434
6460
|
class: "konnectio-template-selection-unit"
|
|
6435
6461
|
}, [
|
|
@@ -6442,19 +6468,19 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6442
6468
|
disabled: B() === 0,
|
|
6443
6469
|
"full-width": ""
|
|
6444
6470
|
}, null, 8, ["label", "disabled"])])]),
|
|
6445
|
-
default: S(() => [T("div",
|
|
6471
|
+
default: S(() => [T("div", hn, [T("div", gn, [(b(!0), m(a, null, w(R.value, (e) => (b(), u(Xe, {
|
|
6446
6472
|
key: e.id,
|
|
6447
6473
|
type: "hotel",
|
|
6448
6474
|
"listing-id": e.id,
|
|
6449
6475
|
name: e.title,
|
|
6450
6476
|
description: e.description,
|
|
6451
6477
|
facilities: e.facilities,
|
|
6452
|
-
"prices-from":
|
|
6478
|
+
"prices-from": pe(e.id),
|
|
6453
6479
|
gallery: e.images,
|
|
6454
6480
|
"includes-breakfast": !1,
|
|
6455
6481
|
"hide-info-button": !0
|
|
6456
6482
|
}, {
|
|
6457
|
-
action: S(() => [T("div",
|
|
6483
|
+
action: S(() => [T("div", _n, [T("div", vn, [l(je, {
|
|
6458
6484
|
modelValue: F[e.id].units,
|
|
6459
6485
|
"onUpdate:modelValue": (t) => F[e.id].units = t,
|
|
6460
6486
|
label: r(t)("booking.availability.units"),
|
|
@@ -6462,7 +6488,7 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6462
6488
|
"icon-type": "fas",
|
|
6463
6489
|
"icon-placement": "label",
|
|
6464
6490
|
"min-value": 0,
|
|
6465
|
-
"max-value":
|
|
6491
|
+
"max-value": de(e.id),
|
|
6466
6492
|
controls: !0
|
|
6467
6493
|
}, null, 8, [
|
|
6468
6494
|
"modelValue",
|
|
@@ -6472,7 +6498,7 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6472
6498
|
])]), (b(!0), m(a, null, w(F[e.id].configs, (n, i) => (b(), m("div", {
|
|
6473
6499
|
key: i,
|
|
6474
6500
|
class: "konnectio-template-room-unit-config"
|
|
6475
|
-
}, [T("div",
|
|
6501
|
+
}, [T("div", yn, [T("span", null, h(r(t)("booking.reservation.room")) + " " + h(i + 1), 1), T("span", null, h(r(Me)(ge(e.id, i), r(x))), 1)]), T("div", { class: E(["konnectio-template-room-guests", { "only-adult-guests": !r(O)(r(c)) }]) }, [l(je, {
|
|
6476
6502
|
modelValue: n.adults,
|
|
6477
6503
|
"onUpdate:modelValue": (e) => n.adults = e,
|
|
6478
6504
|
label: r(t)("availability.adults"),
|
|
@@ -6481,7 +6507,7 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6481
6507
|
"icon-type": "fas",
|
|
6482
6508
|
"icon-placement": "label",
|
|
6483
6509
|
"min-value": 1,
|
|
6484
|
-
"max-value":
|
|
6510
|
+
"max-value": le(e.id),
|
|
6485
6511
|
controls: !0
|
|
6486
6512
|
}, null, 8, [
|
|
6487
6513
|
"modelValue",
|
|
@@ -6489,7 +6515,7 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6489
6515
|
"label",
|
|
6490
6516
|
"description",
|
|
6491
6517
|
"max-value"
|
|
6492
|
-
]), r(O)(r(c)) ? (b(), u(
|
|
6518
|
+
]), r(O)(r(c)) ? (b(), u(je, {
|
|
6493
6519
|
key: 0,
|
|
6494
6520
|
modelValue: n.children,
|
|
6495
6521
|
"onUpdate:modelValue": (e) => n.children = e,
|
|
@@ -6499,7 +6525,7 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6499
6525
|
"icon-type": "fas",
|
|
6500
6526
|
"icon-placement": "label",
|
|
6501
6527
|
"min-value": 0,
|
|
6502
|
-
"max-value":
|
|
6528
|
+
"max-value": ue(e.id),
|
|
6503
6529
|
controls: !0
|
|
6504
6530
|
}, null, 8, [
|
|
6505
6531
|
"modelValue",
|
|
@@ -6520,7 +6546,7 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6520
6546
|
_: 1
|
|
6521
6547
|
}, 8, ["title", "subtitle"]));
|
|
6522
6548
|
}
|
|
6523
|
-
}), [["__scopeId", "data-v-9cb8e8f4"]]),
|
|
6549
|
+
}), [["__scopeId", "data-v-9cb8e8f4"]]), Dn = { class: "konnectio-template-select-package" }, On = /* @__PURE__ */ R({
|
|
6524
6550
|
__name: "Template",
|
|
6525
6551
|
props: {
|
|
6526
6552
|
id: {},
|
|
@@ -6533,7 +6559,7 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6533
6559
|
callback: { type: Function }
|
|
6534
6560
|
},
|
|
6535
6561
|
setup(e) {
|
|
6536
|
-
let { t } = v(), i = e, { isSearchOutdated: a } = C(
|
|
6562
|
+
let { t } = v(), i = e, { isSearchOutdated: a } = C(he()), o = n(() => i.roomGroups.reduce((e, t) => e < t.extraPrice ? e : t.extraPrice, Infinity) + i.weekendFee), s = I(!1);
|
|
6537
6563
|
function c() {
|
|
6538
6564
|
s.value = !0;
|
|
6539
6565
|
}
|
|
@@ -6551,13 +6577,13 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6551
6577
|
"hide-info-button": !1,
|
|
6552
6578
|
"prices-from": o.value
|
|
6553
6579
|
}, {
|
|
6554
|
-
action: S(() => [T("div",
|
|
6580
|
+
action: S(() => [T("div", Dn, [l(Ne, {
|
|
6555
6581
|
onClickEvent: c,
|
|
6556
6582
|
label: r(t)("booking.availability.selectPackage"),
|
|
6557
6583
|
"full-width": "",
|
|
6558
6584
|
disabled: r(a)
|
|
6559
6585
|
}, null, 8, ["label", "disabled"])])]),
|
|
6560
|
-
default: S(() => [l(
|
|
6586
|
+
default: S(() => [l(En, {
|
|
6561
6587
|
modelValue: s.value,
|
|
6562
6588
|
"onUpdate:modelValue": i[0] ||= (e) => s.value = e,
|
|
6563
6589
|
title: e.name,
|
|
@@ -6584,7 +6610,7 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6584
6610
|
"prices-from"
|
|
6585
6611
|
]));
|
|
6586
6612
|
}
|
|
6587
|
-
}),
|
|
6613
|
+
}), kn = { class: "konnectio-special-offer-availability" }, An = { class: "konnectio-special-offer-availability-button" }, jn = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
6588
6614
|
__name: "SpecialOffer",
|
|
6589
6615
|
props: {
|
|
6590
6616
|
id: {},
|
|
@@ -6597,7 +6623,7 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6597
6623
|
roomGroups: {}
|
|
6598
6624
|
},
|
|
6599
6625
|
setup(e) {
|
|
6600
|
-
let { t } = v(), { updateDates: i } =
|
|
6626
|
+
let { t } = v(), { updateDates: i } = oe(), { display: a } = me(), o = e, s = I([]), c = n(() => Pe(o.fromDate, o.toDate) === 1);
|
|
6601
6627
|
function d() {
|
|
6602
6628
|
s.value.length > 0 ? i(s.value[0], s.value[1]) : a({
|
|
6603
6629
|
message: t("alert.error.selectDates"),
|
|
@@ -6619,7 +6645,7 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6619
6645
|
"from-date": e.fromDate,
|
|
6620
6646
|
"disable-deep-link": !0
|
|
6621
6647
|
}, {
|
|
6622
|
-
action: S(() => [T("div",
|
|
6648
|
+
action: S(() => [T("div", kn, [l(Ue, {
|
|
6623
6649
|
modelValue: s.value,
|
|
6624
6650
|
"onUpdate:modelValue": i[0] ||= (e) => s.value = e,
|
|
6625
6651
|
label: r(t)("availability.checkInOut"),
|
|
@@ -6640,7 +6666,7 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6640
6666
|
"min-date",
|
|
6641
6667
|
"max-date",
|
|
6642
6668
|
"readonly"
|
|
6643
|
-
]), T("div",
|
|
6669
|
+
]), T("div", An, [l(Ne, {
|
|
6644
6670
|
label: r(t)("availability.buttonLabel"),
|
|
6645
6671
|
onClick: F(d, ["prevent"])
|
|
6646
6672
|
}, null, 8, ["label"])])])]),
|
|
@@ -6655,7 +6681,7 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6655
6681
|
"from-date"
|
|
6656
6682
|
]));
|
|
6657
6683
|
}
|
|
6658
|
-
}), [["__scopeId", "data-v-8f8a4dff"]]),
|
|
6684
|
+
}), [["__scopeId", "data-v-8f8a4dff"]]), Mn = /* @__PURE__ */ R({
|
|
6659
6685
|
__name: "TimeField",
|
|
6660
6686
|
props: {
|
|
6661
6687
|
modelValue: {},
|
|
@@ -6709,10 +6735,10 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6709
6735
|
"max-time"
|
|
6710
6736
|
]));
|
|
6711
6737
|
}
|
|
6712
|
-
}),
|
|
6738
|
+
}), Nn = { style: {
|
|
6713
6739
|
display: "flex",
|
|
6714
6740
|
"align-items": "baseline"
|
|
6715
|
-
} },
|
|
6741
|
+
} }, Pn = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
6716
6742
|
__name: "CountryField",
|
|
6717
6743
|
props: {
|
|
6718
6744
|
modelValue: {},
|
|
@@ -6739,7 +6765,7 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6739
6765
|
get: () => o.modelValue,
|
|
6740
6766
|
set: (e) => s(e)
|
|
6741
6767
|
});
|
|
6742
|
-
return (t, n) => (b(), u(
|
|
6768
|
+
return (t, n) => (b(), u(V, {
|
|
6743
6769
|
modelValue: c.value,
|
|
6744
6770
|
"onUpdate:modelValue": n[0] ||= (e) => c.value = e,
|
|
6745
6771
|
label: e.label,
|
|
@@ -6751,7 +6777,7 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6751
6777
|
error: e.error
|
|
6752
6778
|
}, {
|
|
6753
6779
|
option: S(({ data: e }) => [T("i", { class: E(["konnectio-flag-icon", e.iso]) }, null, 2), T("span", null, h(e.name), 1)]),
|
|
6754
|
-
"selected-option": S(({ data: e }) => [T("div",
|
|
6780
|
+
"selected-option": S(({ data: e }) => [T("div", Nn, [T("i", { class: E(["konnectio-flag-icon", e.iso]) }, null, 2), T("span", null, h(e.name), 1)])]),
|
|
6755
6781
|
_: 1
|
|
6756
6782
|
}, 8, [
|
|
6757
6783
|
"modelValue",
|
|
@@ -6762,7 +6788,7 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6762
6788
|
"error"
|
|
6763
6789
|
]));
|
|
6764
6790
|
}
|
|
6765
|
-
}), [["__scopeId", "data-v-f0651be7"]]),
|
|
6791
|
+
}), [["__scopeId", "data-v-f0651be7"]]), Fn = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
6766
6792
|
__name: "NameField",
|
|
6767
6793
|
props: {
|
|
6768
6794
|
modelValue: {},
|
|
@@ -6818,7 +6844,7 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6818
6844
|
limit: e.limit,
|
|
6819
6845
|
error: e.error
|
|
6820
6846
|
}, {
|
|
6821
|
-
default: S(() => [T("div", { class: E(["konnectio-name-input", { "no-title": e.excludeTitle }]) }, [e.excludeTitle ? d("", !0) : (b(), u(
|
|
6847
|
+
default: S(() => [T("div", { class: E(["konnectio-name-input", { "no-title": e.excludeTitle }]) }, [e.excludeTitle ? d("", !0) : (b(), u(V, {
|
|
6822
6848
|
key: 0,
|
|
6823
6849
|
modelValue: s.value,
|
|
6824
6850
|
"onUpdate:modelValue": n[0] ||= (e) => s.value = e,
|
|
@@ -6859,7 +6885,7 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6859
6885
|
"icon-type",
|
|
6860
6886
|
"options",
|
|
6861
6887
|
"readonly"
|
|
6862
|
-
])), l(
|
|
6888
|
+
])), l(Ae, {
|
|
6863
6889
|
modelValue: o.value,
|
|
6864
6890
|
"onUpdate:modelValue": n[1] ||= (e) => o.value = e,
|
|
6865
6891
|
type: "text",
|
|
@@ -6895,85 +6921,101 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6895
6921
|
"error"
|
|
6896
6922
|
]));
|
|
6897
6923
|
}
|
|
6898
|
-
}), [["__scopeId", "data-v-5448733c"]]),
|
|
6924
|
+
}), [["__scopeId", "data-v-5448733c"]]), In = { class: "hotel-skeleton" }, $ = { class: "hotel-skeleton-content" }, Ln = { class: "hotel-skeleton-sidebar" }, Rn = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
6899
6925
|
__name: "HotelSkeleton",
|
|
6900
6926
|
setup(e) {
|
|
6901
|
-
return (e, t) => (b(), m("div",
|
|
6927
|
+
return (e, t) => (b(), m("div", In, [T("div", $, [l(We, { hotel: "" }), l(Ze)]), T("div", Ln, [l(Qe)])]));
|
|
6902
6928
|
}
|
|
6903
|
-
}), [["__scopeId", "data-v-2ff36444"]]),
|
|
6929
|
+
}), [["__scopeId", "data-v-2ff36444"]]), zn = { id: "booking-availability-container" }, Bn = { id: "booking-availability-controls" }, Vn = {
|
|
6904
6930
|
key: 0,
|
|
6931
|
+
id: "konnectio-hotel-deal-no-availability",
|
|
6905
6932
|
class: "konnectio-panel konnectio-filter-notice"
|
|
6906
|
-
},
|
|
6933
|
+
}, Hn = {
|
|
6907
6934
|
key: 1,
|
|
6908
6935
|
class: "konnectio-panel konnectio-filter-notice"
|
|
6909
6936
|
}, Un = ["innerHTML"], Wn = {
|
|
6910
6937
|
key: 2,
|
|
6911
6938
|
class: "konnectio-panel konnectio-filter-notice"
|
|
6912
|
-
}, Gn =
|
|
6939
|
+
}, Gn = ["innerHTML"], Kn = {
|
|
6940
|
+
key: 3,
|
|
6941
|
+
class: "konnectio-panel konnectio-filter-notice"
|
|
6942
|
+
}, qn = { key: 5 }, Jn = { key: 0 }, Yn = {
|
|
6913
6943
|
key: 0,
|
|
6914
6944
|
id: "booking-availability-packages"
|
|
6915
|
-
},
|
|
6945
|
+
}, Xn = {
|
|
6916
6946
|
key: 0,
|
|
6917
6947
|
class: "konnectio-hotel-availability-title"
|
|
6918
|
-
},
|
|
6948
|
+
}, Zn = { id: "booking-availability-packages-wrapper" }, Qn = { key: 1 }, $n = {
|
|
6919
6949
|
key: 0,
|
|
6920
6950
|
class: "konnectio-hotel-availability-title"
|
|
6921
|
-
},
|
|
6951
|
+
}, er = { id: "konnectio-listings" }, tr = {
|
|
6922
6952
|
key: 0,
|
|
6923
6953
|
class: "konnectio-hotel-availability-title"
|
|
6924
|
-
},
|
|
6954
|
+
}, nr = { id: "konnectio-listings" }, rr = {
|
|
6925
6955
|
key: 0,
|
|
6926
6956
|
id: "booking-availability-packages"
|
|
6927
|
-
},
|
|
6957
|
+
}, ir = { class: "konnectio-hotel-availability-title" }, ar = { id: "booking-availability-packages-wrapper" }, or = {
|
|
6928
6958
|
key: 3,
|
|
6929
6959
|
id: "booking-availability-no-listings",
|
|
6930
6960
|
class: "konnectio-panel"
|
|
6931
|
-
},
|
|
6961
|
+
}, sr = {
|
|
6932
6962
|
key: 1,
|
|
6933
6963
|
id: "reservation-availability-next-dates"
|
|
6934
|
-
},
|
|
6964
|
+
}, cr = { class: "konnectio-panel konnectio-filter-notice" }, lr = ["innerHTML"], ur = { class: "konnectio-hotel-availability-title" }, dr = { class: "reservation-special-offers-grid" }, fr = ["title"], pr = { key: 0 }, mr = {
|
|
6935
6965
|
key: 2,
|
|
6936
6966
|
id: "booking-availability-no-listings",
|
|
6937
6967
|
class: "konnectio-panel"
|
|
6938
|
-
},
|
|
6939
|
-
key: 5,
|
|
6940
|
-
class: "konnectio-panel"
|
|
6941
|
-
}, mr = {
|
|
6968
|
+
}, hr = {
|
|
6942
6969
|
key: 6,
|
|
6970
|
+
class: "konnectio-panel"
|
|
6971
|
+
}, gr = {
|
|
6972
|
+
key: 7,
|
|
6943
6973
|
class: "konnectio-listing-loading"
|
|
6944
|
-
},
|
|
6974
|
+
}, _r = { class: "konnectio-hotel-availability-warning" }, vr = { class: "konnectio-hotel-availability-warning" }, yr = { class: "konnectio-panel" }, br = {
|
|
6945
6975
|
key: 0,
|
|
6946
6976
|
class: "konnectio-panel konnectio-filter-notice konnectio-top-message"
|
|
6947
|
-
},
|
|
6977
|
+
}, xr = ["innerHTML"], Sr = {
|
|
6948
6978
|
key: 0,
|
|
6949
6979
|
id: "konnectio-hotel-addons"
|
|
6950
|
-
},
|
|
6980
|
+
}, Cr = { key: 0 }, wr = {
|
|
6981
|
+
key: 0,
|
|
6982
|
+
class: "konnectio-addons-included"
|
|
6983
|
+
}, Tr = ["innerHTML"], Er = {
|
|
6984
|
+
key: 1,
|
|
6985
|
+
class: "konnectio-table with-lines without-header"
|
|
6986
|
+
}, Dr = { class: "konnectio-event-addons-price" }, Or = { key: 1 }, kr = {
|
|
6951
6987
|
key: 0,
|
|
6952
6988
|
class: "konnectio-table-addons-image"
|
|
6953
|
-
},
|
|
6989
|
+
}, Ar = ["innerHTML"], jr = { class: "konnectio-table-addons-option" }, Mr = {
|
|
6954
6990
|
key: 1,
|
|
6955
6991
|
id: "konnectio-hotel-addons"
|
|
6956
|
-
},
|
|
6992
|
+
}, Nr = {
|
|
6993
|
+
key: 0,
|
|
6994
|
+
class: "konnectio-addons-included"
|
|
6995
|
+
}, Pr = ["innerHTML"], Fr = {
|
|
6996
|
+
key: 1,
|
|
6997
|
+
class: "konnectio-table with-lines without-header"
|
|
6998
|
+
}, Ir = {
|
|
6957
6999
|
key: 0,
|
|
6958
7000
|
class: "konnectio-hotel-reservation-room-name"
|
|
6959
|
-
},
|
|
7001
|
+
}, Lr = {
|
|
6960
7002
|
key: 0,
|
|
6961
7003
|
class: "konnectio-table-addons-image"
|
|
6962
|
-
},
|
|
7004
|
+
}, Rr = ["innerHTML"], zr = { class: "konnectio-table-addons-option" }, Br = { class: "konnectio-panel" }, Vr = {
|
|
6963
7005
|
key: 0,
|
|
6964
7006
|
class: "konnectio-panel konnectio-filter-notice konnectio-top-message"
|
|
6965
|
-
},
|
|
7007
|
+
}, Hr = ["innerHTML"], Ur = { key: 0 }, Wr = { key: 1 }, Gr = {
|
|
6966
7008
|
key: 2,
|
|
6967
7009
|
class: "konnectio-show-on-mobile"
|
|
6968
|
-
},
|
|
7010
|
+
}, Kr = { class: "konnectio-split-inputs" }, qr = {
|
|
6969
7011
|
key: 0,
|
|
6970
7012
|
class: "konnectio-hotel-member-card-mockup"
|
|
6971
|
-
},
|
|
7013
|
+
}, Jr = ["src"], Yr = { class: "konnectio-hotel-member-card-details" }, Xr = { key: 0 }, Zr = { key: 0 }, Qr = /*@__PURE__*/ R({
|
|
6972
7014
|
name: "HotelLayout",
|
|
6973
7015
|
__name: "Hotel",
|
|
6974
7016
|
props: {
|
|
6975
7017
|
accessToken: {},
|
|
6976
|
-
headerLayout: { default:
|
|
7018
|
+
headerLayout: { default: De.Minimal },
|
|
6977
7019
|
onlyShow: { default: "everything" },
|
|
6978
7020
|
hideAddons: { default: "no" },
|
|
6979
7021
|
disableDefaultLocation: { default: "no" },
|
|
@@ -6985,43 +7027,52 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6985
7027
|
forceDepartureTime: {},
|
|
6986
7028
|
requireGuestDiscountId: { default: "no" },
|
|
6987
7029
|
requireDiscountCode: { default: "no" },
|
|
7030
|
+
requireDealCode: { default: "no" },
|
|
6988
7031
|
sortBy: { default: "default" },
|
|
6989
7032
|
sortOrder: { default: "asc" },
|
|
6990
7033
|
styling: {}
|
|
6991
7034
|
},
|
|
6992
7035
|
setup(e) {
|
|
6993
|
-
let t = _(() => import("./_-
|
|
7036
|
+
let t = _(() => import("./_-BGvq5fCt.js").then((e) => e.n)), o = e, { t: c } = v(), f = he();
|
|
7037
|
+
f.requireDealCode = o.requireDealCode === "yes";
|
|
7038
|
+
let { currentLocation: p, templateID: g, templateRoomSelections: te, templateRoomUnits: re, countries: ie, areListingsLoading: D, isPaymentLoading: O, isReservationFormFilled: k, travelingFor: A, arrivalTime: j, departureTime: M, name: N, nameTitle: P, email: F, phone: I, firmName: R, postal: z, city: fe, address: B, country: ye, remark: xe, allergies: Se, roomSelect: Ce, roomDisplay: we, hasValidRoomSelection: De, availabilityData: V, selectionHasNoAddons: Pe, isAvailabilityDataAvailable: Be, getSelectedPackageRooms: Ue, selectedPackage: We, isSearchOutdated: Ke, isTemplateReservation: U, newsMails: qe, adultsMismatch: Xe, childrenMismatch: Ze, totalAdults: Qe, totalChildren: tt, hasGuestDiscountId: nt, hasGuestDiscountCode: rt, guestDiscountId: it, guestDiscountName: at, guestDiscountCode: ot, hasMemberCards: st, memberCardList: ct, selectedMemberCard: lt, memberCardControlNumber: ut, memberCardNumber: dt, selectedMemberCardObject: ft, selectedMemberCardData: pt, discountCode: mt, appliedDiscountCode: ht, discountPayload: gt, dealResolved: _t, dealNoAvailability: W } = C(f), { isHostedCheckoutActive: G } = C(Oe()), { adults: vt, children: yt, location: bt, arrivalDate: xt, departureDate: q, hasHotelLocations: St } = C(oe()), { isValidHotelId: Ct, updateDates: wt } = oe(), { currency: Tt, enableTracking: Et, disableNamePrefix: Dt, disableTravelingFor: J, disableTravelingForBleasure: Ot, disableCompanyField: kt, hasPaymentGateway: At, maxAdultAmount: jt, maxChildAmount: Mt, defaultAdultAmount: Nt, defaultChildAmount: Pt, disableNewsletterSignup: Ft, hasActiveIdFilter: It, hotelSettings: Lt } = C(ce()), { hasArrivalDepartureInputs: Rt, hasUserArrivalSelection: zt, hasUserDepartureSelection: Bt, earliestArrivalTime: Vt, latestArrivalTime: Y, earliestDepartureTime: Ht, latestDepartureTime: Ut, hasSharedAddonSelection: Wt, setActiveIdFilter: Gt, clearActiveIdFilter: qt } = ce(), { beginCheckout: Jt } = se(), { display: Yt } = me(), { createReservation: Xt, fetchMetadata: Zt, fetchAvailabilityData: Qt, filterAddons: $t, hasAvailableRoomAddons: en, checkGuestDiscount: tn, setGuestDiscountCode: nn, validateMemberCard: rn, onOverviewReset: Q, resetDealFlow: an, validateDiscountCode: on, reservationPayload: sn } = he();
|
|
6994
7039
|
Re.useHttpClient(Ve(ve()));
|
|
6995
|
-
let
|
|
6996
|
-
|
|
6997
|
-
function
|
|
6998
|
-
|
|
7040
|
+
let cn = Ie("post", "/hotel/create-reservation", sn());
|
|
7041
|
+
cn.setValidationTimeout(600);
|
|
7042
|
+
function ln(e) {
|
|
7043
|
+
cn.setData(sn()), cn.validate(e);
|
|
6999
7044
|
}
|
|
7000
|
-
function
|
|
7001
|
-
return
|
|
7045
|
+
function un(e) {
|
|
7046
|
+
return cn.errors[e];
|
|
7002
7047
|
}
|
|
7003
|
-
ae(
|
|
7004
|
-
let
|
|
7005
|
-
function
|
|
7048
|
+
ae(N, () => ln("guest.name")), ae(F, () => ln("guest.email")), ae(I, () => ln("guest.phone")), ae(ye, () => ln("guest.country")), ae(B, () => ln("guest.address1")), ae(z, () => ln("guest.postal")), ae(fe, () => ln("guest.city"));
|
|
7049
|
+
let dn = n(() => o.sortOrder === "desc"), fn = n(() => o.requireDiscountCode === "yes" && !rt.value || o.requireDealCode === "yes" && !_t.value);
|
|
7050
|
+
function pn(e, t) {
|
|
7051
|
+
return $t(e, t ?? 0).filter((e) => e.cardinality === ke.Mandatory);
|
|
7052
|
+
}
|
|
7053
|
+
function hn(e, t) {
|
|
7054
|
+
return $t(e, t ?? 0).filter((e) => e.cardinality !== ke.Mandatory);
|
|
7055
|
+
}
|
|
7056
|
+
function gn(e) {
|
|
7006
7057
|
let t = [];
|
|
7007
|
-
return
|
|
7058
|
+
return Wt(p.value) ? (e?.forEach((e) => {
|
|
7008
7059
|
let n = t.find((t) => t.configIdx === e.configIdx);
|
|
7009
7060
|
n ? (n.adultsCount += e.adultsCount, n.childrenCount += e.childrenCount) : t.push({ ...e });
|
|
7010
7061
|
}), t) : e ?? [];
|
|
7011
7062
|
}
|
|
7012
|
-
let
|
|
7063
|
+
let _n = n(() => {
|
|
7013
7064
|
let e = [];
|
|
7014
|
-
return
|
|
7065
|
+
return Wt(p.value) ? re.value.forEach((t) => {
|
|
7015
7066
|
let n = e.find((e) => e.roomGroupId === t.roomGroupId);
|
|
7016
7067
|
n ? (n.adults += t.adults, n.children += t.children) : e.push({ ...t });
|
|
7017
|
-
}) :
|
|
7068
|
+
}) : re.value.forEach((t, n) => {
|
|
7018
7069
|
e.push({
|
|
7019
7070
|
...t,
|
|
7020
|
-
unitNumber:
|
|
7021
|
-
unitTotal:
|
|
7071
|
+
unitNumber: re.value.slice(0, n + 1).filter((e) => e.roomGroupId === t.roomGroupId).length,
|
|
7072
|
+
unitTotal: re.value.filter((e) => e.roomGroupId === t.roomGroupId).length
|
|
7022
7073
|
});
|
|
7023
7074
|
}), e;
|
|
7024
|
-
}),
|
|
7075
|
+
}), vn = n(() => [
|
|
7025
7076
|
{
|
|
7026
7077
|
id: "availability",
|
|
7027
7078
|
label: c("booking.availability.title"),
|
|
@@ -7046,7 +7097,7 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7046
7097
|
label: c("booking.confirmation.title"),
|
|
7047
7098
|
icon: "calendar-check"
|
|
7048
7099
|
}
|
|
7049
|
-
]),
|
|
7100
|
+
]), yn = n(() => {
|
|
7050
7101
|
let e = [{
|
|
7051
7102
|
label: c("booking.reservation.business"),
|
|
7052
7103
|
value: "Business"
|
|
@@ -7054,136 +7105,150 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7054
7105
|
label: c("booking.reservation.pleasure"),
|
|
7055
7106
|
value: "Pleasure"
|
|
7056
7107
|
}];
|
|
7057
|
-
return
|
|
7108
|
+
return Ot.value || e.push({
|
|
7058
7109
|
label: c("booking.reservation.bleasure"),
|
|
7059
7110
|
value: "Bleasure"
|
|
7060
7111
|
}), e;
|
|
7061
|
-
}),
|
|
7112
|
+
}), bn = n(() => {
|
|
7062
7113
|
let e = V.value.roomGroups.slice();
|
|
7063
7114
|
function t(e, t) {
|
|
7064
|
-
return
|
|
7115
|
+
return dn.value === !0 ? e.pricesFrom > t.pricesFrom ? -1 : 1 : e.pricesFrom > t.pricesFrom ? 1 : -1;
|
|
7065
7116
|
}
|
|
7066
7117
|
return o.sortBy === "price" && (e = e.sort(t)), e.reduce((e, t) => {
|
|
7067
7118
|
let n = t.roomList.some((e) => e.mapImageX && e.mapImageY) ? "camping" : "rooms";
|
|
7068
7119
|
return (e[n] ??= []).push(t), e;
|
|
7069
7120
|
}, {});
|
|
7070
7121
|
});
|
|
7071
|
-
function
|
|
7122
|
+
function xn(e) {
|
|
7072
7123
|
return (e.templateRoomGroups.length > 0 ? Math.min(...e.templateRoomGroups.map((e) => e.totalPrice)) : 0) + e.weekendFee;
|
|
7073
7124
|
}
|
|
7074
|
-
let
|
|
7125
|
+
let Sn = n(() => {
|
|
7075
7126
|
let e = V.value.templates.slice();
|
|
7076
7127
|
return o.sortBy === "price" && e.sort((e, t) => {
|
|
7077
|
-
let n =
|
|
7078
|
-
return
|
|
7128
|
+
let n = xn(e), r = xn(t);
|
|
7129
|
+
return dn.value ? r - n : n - r;
|
|
7079
7130
|
}), e;
|
|
7080
|
-
}),
|
|
7131
|
+
}), Cn = n(() => {
|
|
7081
7132
|
let e = V.value.specialTemplates.slice();
|
|
7082
7133
|
return o.sortBy === "price" && e.sort((e, t) => {
|
|
7083
|
-
let n =
|
|
7084
|
-
return
|
|
7134
|
+
let n = xn(e), r = xn(t);
|
|
7135
|
+
return dn.value ? r - n : n - r;
|
|
7085
7136
|
}), e;
|
|
7086
|
-
}),
|
|
7087
|
-
function
|
|
7137
|
+
}), wn = n(() => o.hideAddons === "yes" || U.value && o.hideAddons === "packages" || !U.value && o.hideAddons === "rooms");
|
|
7138
|
+
function Tn(e) {
|
|
7088
7139
|
let t = $.discount;
|
|
7089
|
-
|
|
7140
|
+
if (o.requireDealCode === "yes") {
|
|
7141
|
+
e();
|
|
7142
|
+
return;
|
|
7143
|
+
}
|
|
7144
|
+
t && t !== ht.value ? (mt.value = t, on()) : rt.value && !gt.value && ot.value !== ht.value && (mt.value = ot.value, on()), e();
|
|
7090
7145
|
}
|
|
7091
|
-
function
|
|
7092
|
-
|
|
7146
|
+
function En(e) {
|
|
7147
|
+
wn.value || Pe.value ? e(2) : e();
|
|
7093
7148
|
}
|
|
7094
|
-
async function
|
|
7095
|
-
let n = await
|
|
7096
|
-
n &&
|
|
7149
|
+
async function Dn(e, t) {
|
|
7150
|
+
let n = await Xt(e, t);
|
|
7151
|
+
n && cn.setErrors(n);
|
|
7097
7152
|
}
|
|
7098
|
-
function
|
|
7099
|
-
if ((
|
|
7100
|
-
|
|
7153
|
+
function kn() {
|
|
7154
|
+
if ((bt.value === void 0 || isNaN(bt.value)) && St.value) {
|
|
7155
|
+
Yt({
|
|
7101
7156
|
message: c("alert.error.selectHotelId"),
|
|
7102
7157
|
type: "error"
|
|
7103
7158
|
});
|
|
7104
7159
|
return;
|
|
7105
7160
|
}
|
|
7106
|
-
|
|
7161
|
+
Qt();
|
|
7107
7162
|
}
|
|
7108
|
-
function
|
|
7163
|
+
function An() {
|
|
7109
7164
|
let e = x("history", { removeNullishValues: !0 });
|
|
7110
|
-
|
|
7165
|
+
qt(), e.id = void 0, Qt();
|
|
7111
7166
|
}
|
|
7112
|
-
function
|
|
7113
|
-
|
|
7167
|
+
function Nn(e) {
|
|
7168
|
+
Et.value && Jt(), o.requireDealCode !== "yes" && rt.value && !gt.value && ot.value !== ht.value && (mt.value = ot.value, on()), wn.value || Pe.value ? e(2) : e();
|
|
7114
7169
|
}
|
|
7115
|
-
function
|
|
7116
|
-
let e =
|
|
7117
|
-
o.forceArrivalTime && o.forceDepartureTime && e !== void 0 &&
|
|
7170
|
+
function In() {
|
|
7171
|
+
let e = bt.value;
|
|
7172
|
+
o.forceArrivalTime && o.forceDepartureTime && e !== void 0 && Lt.value[e] && (Lt.value[e].disableArrivalUserSelection = !0, o.forceArrivalTime && (Lt.value[e].arrivalDefault = o.forceArrivalTime), o.forceDepartureTime && (Lt.value[e].departureDefault = o.forceDepartureTime));
|
|
7118
7173
|
}
|
|
7119
7174
|
let $ = x("history", { removeNullishValues: !0 });
|
|
7120
|
-
async function
|
|
7121
|
-
|
|
7175
|
+
async function Ln() {
|
|
7176
|
+
In();
|
|
7122
7177
|
let e = parseInt($.a), t = parseInt($.c), n = parseInt($.hid), r = parseInt($.n), i = $.ci, a = $.co, s = $.id, l = parseInt($.gid), u = $.discount, d = !1;
|
|
7123
|
-
if (isNaN(e) || (e >
|
|
7178
|
+
if (isNaN(e) || (e > jt.value ? vt.value = jt.value : vt.value = e, vt.value === Nt.value && ($.a = void 0)), isNaN(t) || (t > Mt.value ? yt.value = Mt.value : yt.value = t, yt.value === Pt.value && ($.c = void 0)), isNaN(r) || r > 0 && ($.n = void 0), isNaN(n) || (Ct(n) ? (bt.value = n, d = !0) : ($.hid = void 0, Yt({
|
|
7124
7179
|
message: c("alert.error.hotelIdNotFound"),
|
|
7125
7180
|
type: "error"
|
|
7126
7181
|
}))), i && a) {
|
|
7127
|
-
if (
|
|
7182
|
+
if (de(i) && de(a)) {
|
|
7128
7183
|
let e = new Date(be(i).setHours(12, 0, 0, 0)), t = new Date(be(a).setHours(12, 0, 0, 0));
|
|
7129
|
-
e <= t ? (
|
|
7184
|
+
e <= t ? (xt.value = e, q.value = t) : ($.ci = void 0, $.co = void 0, Yt({
|
|
7130
7185
|
message: c("alert.error.invalidDateRange"),
|
|
7131
7186
|
type: "error"
|
|
7132
7187
|
}));
|
|
7133
|
-
} else
|
|
7188
|
+
} else Yt({
|
|
7134
7189
|
message: c("alert.error.wrongDateFormat"),
|
|
7135
7190
|
type: "error"
|
|
7136
7191
|
});
|
|
7137
7192
|
}
|
|
7138
|
-
if (s &&
|
|
7139
|
-
await
|
|
7193
|
+
if (s && Gt(s), l) {
|
|
7194
|
+
await tn(l) || delete $.gid;
|
|
7140
7195
|
return;
|
|
7141
7196
|
}
|
|
7142
|
-
u &&
|
|
7197
|
+
u && nn(u), o.disableDefaultLocation === "yes" && d === !1 ? (bt.value = void 0, p.value = NaN) : Qt();
|
|
7143
7198
|
}
|
|
7144
7199
|
return (n, o) => (b(), u(Te, { styling: e.styling }, {
|
|
7145
|
-
default: S(() => [(b(), u(i, { onResolve:
|
|
7200
|
+
default: S(() => [(b(), u(i, { onResolve: Ln }, {
|
|
7146
7201
|
default: S(() => [l(r(t), {
|
|
7147
7202
|
id: "konnectio-hotel-module",
|
|
7148
7203
|
"access-token": e.accessToken,
|
|
7149
|
-
callback: r(
|
|
7204
|
+
callback: r(Zt)
|
|
7150
7205
|
}, {
|
|
7151
7206
|
default: S(() => [
|
|
7152
|
-
ne(l(
|
|
7153
|
-
ne(l(
|
|
7207
|
+
ne(l(Kt, { onCallback: Ln }, null, 512), [[ee, e.requireGuestDiscountId === "yes" && !r(nt)]]),
|
|
7208
|
+
ne(l(Z, null, null, 512), [[ee, fn.value]]),
|
|
7154
7209
|
ne(l(et, {
|
|
7155
7210
|
layout: e.headerLayout,
|
|
7156
|
-
steps:
|
|
7157
|
-
onReset: r(
|
|
7211
|
+
steps: vn.value,
|
|
7212
|
+
onReset: r(Q)
|
|
7158
7213
|
}, {
|
|
7159
|
-
availability: S(({ next: t }) => [l(
|
|
7214
|
+
availability: S(({ next: t }) => [l(X, {
|
|
7160
7215
|
"show-remove-room": !0,
|
|
7161
|
-
"availability-discount": ""
|
|
7216
|
+
"availability-discount": "",
|
|
7217
|
+
"deal-flow": e.requireDealCode === "yes"
|
|
7162
7218
|
}, {
|
|
7163
|
-
form: S(() => [T("div",
|
|
7164
|
-
T("div",
|
|
7219
|
+
form: S(() => [T("div", zn, [
|
|
7220
|
+
T("div", Bn, [l(Ge, {
|
|
7165
7221
|
booking: !0,
|
|
7166
7222
|
"selected-location": Number(e.selectedLocation),
|
|
7167
7223
|
"disable-default-location": e.disableDefaultLocation === "yes",
|
|
7168
|
-
"hide-locations": e.hideLocations === "yes"
|
|
7224
|
+
"hide-locations": e.hideLocations === "yes" || r(_t)
|
|
7169
7225
|
}, null, 8, [
|
|
7170
7226
|
"selected-location",
|
|
7171
7227
|
"disable-default-location",
|
|
7172
7228
|
"hide-locations"
|
|
7173
7229
|
])]),
|
|
7174
|
-
r(
|
|
7175
|
-
|
|
7176
|
-
|
|
7230
|
+
r(W) ? (b(), m("div", Vn, [
|
|
7231
|
+
T("h3", null, h(r(c)("dealCode.noAvailabilityTitle")), 1),
|
|
7232
|
+
T("p", null, h(r(c)("dealCode.noAvailabilityBody")), 1),
|
|
7233
|
+
l(Ne, {
|
|
7234
|
+
label: r(c)("dealCode.tryAnotherCode"),
|
|
7235
|
+
secondary: "",
|
|
7236
|
+
onClickEvent: r(an)
|
|
7237
|
+
}, null, 8, ["label", "onClickEvent"])
|
|
7238
|
+
])) : d("", !0),
|
|
7239
|
+
r(nt) ? (b(), m("div", Hn, [T("span", { innerHTML: r(c)("guestDiscount.displayMessage", { name: `<b>${r(at) ? r(at) : r(it)}</b>` }) }, null, 8, Un)])) : d("", !0),
|
|
7240
|
+
r(rt) && !r(_t) ? (b(), m("div", Wn, [T("span", { innerHTML: r(c)("guestDiscount.displayMessage", { name: `<b>${r(ot)}</b>` }) }, null, 8, Gn)])) : d("", !0),
|
|
7241
|
+
r(It) ? (b(), m("div", Kn, [T("span", null, [s(h(r(c)("general.filteredListingNotice")) + " ", 1), T("button", {
|
|
7177
7242
|
class: "link",
|
|
7178
|
-
onClick: o[0] ||= (e) =>
|
|
7243
|
+
onClick: o[0] ||= (e) => An()
|
|
7179
7244
|
}, h(r(c)("general.filteredListingShowAll")), 1)])])) : d("", !0),
|
|
7180
7245
|
d("", !0),
|
|
7181
|
-
!r(
|
|
7182
|
-
r(V).templates.length > 0 && e.onlyShow !== "rooms" && e.onlyShow !== "camping" ? (b(), m("div",
|
|
7246
|
+
!r(D) && r(Be) ? (b(), m("div", qn, [bn.value.camping && bn.value.camping.length > 0 && e.onlyShow !== "non-camping" || bn.value.rooms && bn.value.rooms.length > 0 || r(V).templates.length > 0 || r(V).specialTemplates.length > 0 && !r(It) ? (b(), m("div", Jn, [
|
|
7247
|
+
r(V).templates.length > 0 && e.onlyShow !== "rooms" && e.onlyShow !== "camping" ? (b(), m("div", Yn, [e.onlyShow !== "packages" && !r(_t) ? (b(), m("h2", Xn, [l(H, {
|
|
7183
7248
|
icon: "box",
|
|
7184
7249
|
type: "fal",
|
|
7185
7250
|
color: "header"
|
|
7186
|
-
}), T("span", null, h(r(c)("booking.availability.packagesTitle")), 1)])), T("ul",
|
|
7251
|
+
}), T("span", null, h(r(c)("booking.availability.packagesTitle")), 1)])) : d("", !0), T("ul", Zn, [(b(!0), m(a, null, w(Sn.value, ({ id: n, name: r, templateRoomGroups: i, images: a, description: o, weekendFee: s }) => (b(), u(On, {
|
|
7187
7252
|
key: n,
|
|
7188
7253
|
id: n,
|
|
7189
7254
|
description: o,
|
|
@@ -7203,28 +7268,28 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7203
7268
|
"callback",
|
|
7204
7269
|
"hide-addons"
|
|
7205
7270
|
]))), 128))])])) : d("", !0),
|
|
7206
|
-
r(V).roomGroups.length > 0 && e.onlyShow !== "packages" ? (b(), m("div",
|
|
7271
|
+
r(V).roomGroups.length > 0 && e.onlyShow !== "packages" ? (b(), m("div", Qn, [bn.value.rooms && e.onlyShow !== "camping" ? (b(), m(a, { key: 0 }, [r(V).templates.length > 0 && e.onlyShow !== "rooms" && !r(_t) ? (b(), m("h2", $n, [l(H, {
|
|
7207
7272
|
icon: "house",
|
|
7208
7273
|
type: "fal",
|
|
7209
7274
|
color: "header"
|
|
7210
|
-
}), T("span", null, h(r(c)("booking.availability.roomsTitle")), 1)])) : d("", !0), T("ul",
|
|
7275
|
+
}), T("span", null, h(r(c)("booking.availability.roomsTitle")), 1)])) : d("", !0), T("ul", er, [(b(!0), m(a, null, w(bn.value.rooms, (e, n) => (b(), u(mn, {
|
|
7211
7276
|
room: e,
|
|
7212
7277
|
key: n,
|
|
7213
7278
|
callback: t
|
|
7214
|
-
}, null, 8, ["room", "callback"]))), 128))])], 64)) : d("", !0),
|
|
7279
|
+
}, null, 8, ["room", "callback"]))), 128))])], 64)) : d("", !0), bn.value.camping && e.onlyShow !== "rooms" && e.onlyShow !== "non-camping" ? (b(), m(a, { key: 1 }, [r(V).templates.length > 0 && e.onlyShow !== "camping" && !r(_t) ? (b(), m("h2", tr, [l(H, {
|
|
7215
7280
|
icon: "map-location-dot",
|
|
7216
7281
|
type: "fal",
|
|
7217
7282
|
color: "header"
|
|
7218
|
-
}), T("span", null, h(r(c)("booking.availability.campingTitle")), 1)])) : d("", !0), T("ul",
|
|
7283
|
+
}), T("span", null, h(r(c)("booking.availability.campingTitle")), 1)])) : d("", !0), T("ul", nr, [(b(!0), m(a, null, w(bn.value.camping, (e, n) => (b(), u(mn, {
|
|
7219
7284
|
room: e,
|
|
7220
7285
|
key: n,
|
|
7221
7286
|
callback: t
|
|
7222
7287
|
}, null, 8, ["room", "callback"]))), 128))])], 64)) : d("", !0)])) : d("", !0),
|
|
7223
|
-
r(
|
|
7288
|
+
r(It) ? d("", !0) : (b(), m(a, { key: 2 }, [r(V).specialTemplates.length > 0 && e.onlyShow !== "rooms" ? (b(), m("div", rr, [T("h2", ir, [l(H, {
|
|
7224
7289
|
icon: "sparkles",
|
|
7225
7290
|
type: "fal",
|
|
7226
7291
|
color: "header"
|
|
7227
|
-
}), T("span", null, h(r(c)("hotel.specialOffers")), 1)]), T("ul",
|
|
7292
|
+
}), T("span", null, h(r(c)("hotel.specialOffers")), 1)]), T("ul", ar, [(b(!0), m(a, null, w(Cn.value, ({ id: e, name: t, templateRoomGroups: n, images: r, description: i, weekendFee: a, fromDate: o, toDate: s }) => (b(), u(jn, {
|
|
7228
7293
|
key: e,
|
|
7229
7294
|
id: e,
|
|
7230
7295
|
description: i,
|
|
@@ -7244,17 +7309,17 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7244
7309
|
"weekendFee",
|
|
7245
7310
|
"room-groups"
|
|
7246
7311
|
]))), 128))])])) : d("", !0)], 64)),
|
|
7247
|
-
(r(V).templates.length === 0 && e.onlyShow !== "rooms" || r(V).roomGroups.length === 0 && e.onlyShow !== "packages") && (e.onlyShow === "rooms" || e.onlyShow === "packages") ? (b(), m("div",
|
|
7248
|
-
])) : r(V).nextAvailableDates.length > 0 ? (b(), m("div",
|
|
7249
|
-
T("div",
|
|
7250
|
-
T("h2",
|
|
7312
|
+
(r(V).templates.length === 0 && e.onlyShow !== "rooms" || r(V).roomGroups.length === 0 && e.onlyShow !== "packages") && (e.onlyShow === "rooms" || e.onlyShow === "packages") ? (b(), m("div", or, [T("span", null, h(r(c)("booking.availability.nothingAvailable")), 1)])) : d("", !0)
|
|
7313
|
+
])) : r(V).nextAvailableDates.length > 0 ? (b(), m("div", sr, [
|
|
7314
|
+
T("div", cr, [T("span", { innerHTML: r(c)("hotel.everyRoomIsBooked") }, null, 8, lr)]),
|
|
7315
|
+
T("h2", ur, [l(H, {
|
|
7251
7316
|
icon: "calendar-circle-exclamation",
|
|
7252
7317
|
type: "fal",
|
|
7253
7318
|
color: "header"
|
|
7254
7319
|
}), T("span", null, h(r(c)("booking.availability.nextAvailableDates")), 1)]),
|
|
7255
|
-
T("ul",
|
|
7256
|
-
T("h3", { title: `${r(
|
|
7257
|
-
T("ul", null, [isNaN(e.roomCount) ? d("", !0) : (b(), m("li",
|
|
7320
|
+
T("ul", dr, [(b(!0), m(a, null, w(r(V).nextAvailableDates, (e, t) => (b(), m("li", { key: t }, [
|
|
7321
|
+
T("h3", { title: `${r(ge)(e.fromDate, 0, !0)} - ${r(ge)(e.toDate, 0, !0)}` }, [T("span", null, h(`${r(ge)(e.fromDate, 0, !0)} - ${r(ge)(e.toDate, 0, !0)}`), 1)], 8, fr),
|
|
7322
|
+
T("ul", null, [isNaN(e.roomCount) ? d("", !0) : (b(), m("li", pr, [l(H, {
|
|
7258
7323
|
icon: "house",
|
|
7259
7324
|
type: "fal",
|
|
7260
7325
|
color: "header"
|
|
@@ -7262,71 +7327,79 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7262
7327
|
icon: "money-bill",
|
|
7263
7328
|
type: "fal",
|
|
7264
7329
|
color: "header"
|
|
7265
|
-
}), T("span", null, h(r(c)("booking.availability.pricesFrom")) + ": " + h(r(Me)(e.priceStartFrom, r(
|
|
7330
|
+
}), T("span", null, h(r(c)("booking.availability.pricesFrom")) + ": " + h(r(Me)(e.priceStartFrom, r(Tt))), 1)])]),
|
|
7266
7331
|
l(Ne, {
|
|
7267
7332
|
label: r(c)("booking.availability.selectDates"),
|
|
7268
7333
|
"full-width": "",
|
|
7269
|
-
onClickEvent: (t) => r(
|
|
7334
|
+
onClickEvent: (t) => r(wt)(r(be)(e.fromDate), r(be)(e.toDate))
|
|
7270
7335
|
}, null, 8, ["label", "onClickEvent"])
|
|
7271
7336
|
]))), 128))])
|
|
7272
|
-
])) : (b(), m("div",
|
|
7337
|
+
])) : (b(), m("div", mr, [T("span", null, h(r(c)("booking.availability.nothingAvailable")), 1)]))])) : isNaN(r(p)) && !r(D) ? (b(), m("div", hr, [T("span", null, h(r(c)("alert.info.selectHotelToStart")), 1)])) : (b(), m("div", gr, [
|
|
7273
7338
|
l($e),
|
|
7274
7339
|
l($e),
|
|
7275
7340
|
l($e)
|
|
7276
7341
|
]))
|
|
7277
7342
|
])]),
|
|
7278
7343
|
navigation: S(() => [
|
|
7279
|
-
r(
|
|
7344
|
+
r(Ke) ? (b(), u(Ne, {
|
|
7280
7345
|
key: 0,
|
|
7281
|
-
label: isNaN(r(
|
|
7282
|
-
"is-loading": r(
|
|
7346
|
+
label: isNaN(r(p)) ? r(c)("availability.buttonLabel") : r(c)("general.searchAgain"),
|
|
7347
|
+
"is-loading": r(D),
|
|
7283
7348
|
"full-width": "",
|
|
7284
|
-
onClickEvent: o[2] ||= (e) =>
|
|
7349
|
+
onClickEvent: o[2] ||= (e) => kn()
|
|
7285
7350
|
}, null, 8, ["label", "is-loading"])) : (b(), u(Ne, {
|
|
7286
7351
|
key: 1,
|
|
7287
|
-
label: r(
|
|
7288
|
-
disabled: !r(
|
|
7352
|
+
label: r(Pe) || wn.value ? r(c)("booking.availability.nextButton") : r(c)("general.chooseAddons"),
|
|
7353
|
+
disabled: !r(De),
|
|
7289
7354
|
"full-width": "",
|
|
7290
|
-
onClickEvent: (e) =>
|
|
7355
|
+
onClickEvent: (e) => Nn(t)
|
|
7291
7356
|
}, null, 8, [
|
|
7292
7357
|
"label",
|
|
7293
7358
|
"disabled",
|
|
7294
7359
|
"onClickEvent"
|
|
7295
7360
|
])),
|
|
7296
|
-
ne(T("span",
|
|
7361
|
+
ne(T("span", _r, [l(H, {
|
|
7297
7362
|
icon: "exclamation-triangle",
|
|
7298
7363
|
type: "fas"
|
|
7299
7364
|
}), T("span", null, h(r(c)("hotel.mismatchingAdults", {
|
|
7300
|
-
searchAdults: r(
|
|
7301
|
-
selectedAdults: r(
|
|
7302
|
-
})), 1)], 512), [[ee, r(
|
|
7303
|
-
ne(T("span",
|
|
7365
|
+
searchAdults: r(vt),
|
|
7366
|
+
selectedAdults: r(Qe)
|
|
7367
|
+
})), 1)], 512), [[ee, r(Xe)]]),
|
|
7368
|
+
ne(T("span", vr, [l(H, {
|
|
7304
7369
|
icon: "exclamation-triangle",
|
|
7305
7370
|
type: "fas"
|
|
7306
7371
|
}), T("span", null, h(r(c)("hotel.mismatchingChildren", {
|
|
7307
|
-
searchChildren: r(
|
|
7308
|
-
selectedChildren: r(
|
|
7309
|
-
})), 1)], 512), [[ee, r(
|
|
7372
|
+
searchChildren: r(yt),
|
|
7373
|
+
selectedChildren: r(tt)
|
|
7374
|
+
})), 1)], 512), [[ee, r(Ze)]])
|
|
7310
7375
|
]),
|
|
7311
7376
|
_: 2
|
|
7312
|
-
},
|
|
7313
|
-
addons: S(({ next:
|
|
7377
|
+
}, 1032, ["deal-flow"])]),
|
|
7378
|
+
addons: S(({ next: t, prev: n }) => [r(Be) ? (b(), u(X, {
|
|
7314
7379
|
key: 0,
|
|
7315
|
-
"prev-callback": () =>
|
|
7380
|
+
"prev-callback": () => En(n),
|
|
7381
|
+
"deal-flow": e.requireDealCode === "yes"
|
|
7316
7382
|
}, {
|
|
7317
|
-
form: S(() => [T("form",
|
|
7383
|
+
form: S(() => [T("form", yr, [
|
|
7318
7384
|
T("h2", null, [T("span", null, h(r(c)("booking.reservation.addons")), 1)]),
|
|
7319
|
-
r(c)("hotel.addonTopNotice") && r(c)("hotel.addonTopNotice") !== "<br>" ? (b(), m("div",
|
|
7385
|
+
r(c)("hotel.addonTopNotice") && r(c)("hotel.addonTopNotice") !== "<br>" ? (b(), m("div", br, [T("p", {
|
|
7320
7386
|
innerHTML: r(c)("hotel.addonTopNotice"),
|
|
7321
7387
|
class: "konnectio-wysiwyg"
|
|
7322
|
-
}, null, 8,
|
|
7323
|
-
T("div", null, [isNaN(r(
|
|
7324
|
-
|
|
7325
|
-
|
|
7326
|
-
},
|
|
7327
|
-
T("
|
|
7388
|
+
}, null, 8, xr)])) : d("", !0),
|
|
7389
|
+
T("div", null, [isNaN(r(g)) ? (b(), m("div", Sr, [(b(!0), m(a, null, w(r(we), (e) => (b(), m(a, { key: e.roomGroupID }, [r(en)(e) ? (b(), m("ul", Cr, [(b(!0), m(a, null, w(e.variants, (t, n) => (b(), m("li", { key: t.ratePlanID }, [T("h4", null, [T("span", null, h(r(pe)(e.title)), 1)]), (b(!0), m(a, null, w(gn(t.rooms), (i) => (b(), m(a, { key: `${i.configIdx}-${i.roomIdx}` }, [pn(t.addons, i.childrenCount).length > 0 ? (b(), m("div", wr, [T("h5", null, [l(H, {
|
|
7390
|
+
icon: "check-circle",
|
|
7391
|
+
type: "fas"
|
|
7392
|
+
}), T("span", null, h(r(c)("general.includedInPrice")), 1)]), T("ul", null, [(b(!0), m(a, null, w(pn(t.addons, i.childrenCount), ({ id: e, name: t, price: n, quantityStrategy: i, description: a }) => (b(), m("li", { key: e }, [T("div", null, [
|
|
7393
|
+
T("b", null, h(r(pe)(t)), 1),
|
|
7394
|
+
T("span", null, h(r(Me)(n, r(Tt))) + " " + h(r(le)(i)), 1),
|
|
7395
|
+
a ? (b(), m("p", {
|
|
7396
|
+
key: 0,
|
|
7397
|
+
innerHTML: r(_e)(a)
|
|
7398
|
+
}, null, 8, Tr)) : d("", !0)
|
|
7399
|
+
])]))), 128))])])) : d("", !0), hn(t.addons, i.childrenCount).length > 0 ? (b(), m("table", Er, [T("thead", null, [T("tr", null, [
|
|
7400
|
+
T("th", null, [T("span", null, h(r(pe)(t.name)), 1)]),
|
|
7328
7401
|
d("", !0),
|
|
7329
|
-
T("th",
|
|
7402
|
+
T("th", Dr, [T("b", null, [
|
|
7330
7403
|
l(H, {
|
|
7331
7404
|
icon: "male",
|
|
7332
7405
|
type: "fas",
|
|
@@ -7339,115 +7412,108 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7339
7412
|
type: "fas",
|
|
7340
7413
|
color: "font"
|
|
7341
7414
|
})) : d("", !0),
|
|
7342
|
-
i.childrenCount > 0 ? (b(), m("span",
|
|
7415
|
+
i.childrenCount > 0 ? (b(), m("span", Or, h(i.childrenCount), 1)) : d("", !0)
|
|
7343
7416
|
])])
|
|
7344
|
-
])]), T("tbody", null, [(b(!0), m(a, null, w(
|
|
7345
|
-
src:
|
|
7417
|
+
])]), T("tbody", null, [(b(!0), m(a, null, w(hn(t.addons, i.childrenCount), ({ cardinality: t, quantityStrategy: a, maximumNumber: o, id: s, name: c, price: f, image: p, description: g }) => (b(), m("tr", { key: s }, [T("td", { class: E(["konnectio-table-addons-information", { "has-image": p }]) }, [p ? (b(), m("div", kr, [l(r(K), {
|
|
7418
|
+
src: p,
|
|
7346
7419
|
"zoom-scale": 1
|
|
7347
7420
|
}, null, 8, ["src"])])) : d("", !0), T("div", null, [
|
|
7348
|
-
T("b", null, h(r(
|
|
7349
|
-
T("span", null, h(r(Me)(
|
|
7350
|
-
|
|
7421
|
+
T("b", null, h(r(pe)(c)), 1),
|
|
7422
|
+
T("span", null, h(r(Me)(f, r(Tt))) + " " + h(r(le)(a)), 1),
|
|
7423
|
+
g ? (b(), m("p", {
|
|
7351
7424
|
key: 0,
|
|
7352
|
-
innerHTML: r(_e)(
|
|
7353
|
-
}, null, 8,
|
|
7354
|
-
])], 2), T("td",
|
|
7425
|
+
innerHTML: r(_e)(g)
|
|
7426
|
+
}, null, 8, Ar)) : d("", !0)
|
|
7427
|
+
])], 2), T("td", jr, [r(Ce)[e.roomGroupID][n].config[i.configIdx].addons[i.roomIdx] ? (b(), u(je, {
|
|
7355
7428
|
key: 0,
|
|
7356
|
-
|
|
7357
|
-
|
|
7358
|
-
"min-value": 1,
|
|
7359
|
-
"max-value": 1,
|
|
7360
|
-
readonly: ""
|
|
7361
|
-
})) : (b(), u(Ae, {
|
|
7362
|
-
key: 1,
|
|
7363
|
-
modelValue: r(Se)[e.roomGroupID][n].config[i.configIdx].addons[i.roomIdx][c],
|
|
7364
|
-
"onUpdate:modelValue": (t) => r(Se)[e.roomGroupID][n].config[i.configIdx].addons[i.roomIdx][c] = t,
|
|
7429
|
+
modelValue: r(Ce)[e.roomGroupID][n].config[i.configIdx].addons[i.roomIdx][s],
|
|
7430
|
+
"onUpdate:modelValue": (t) => r(Ce)[e.roomGroupID][n].config[i.configIdx].addons[i.roomIdx][s] = t,
|
|
7365
7431
|
small: !0,
|
|
7366
7432
|
"min-value": 0,
|
|
7367
|
-
"max-value": r(
|
|
7433
|
+
"max-value": r(ue)(t, o)
|
|
7368
7434
|
}, null, 8, [
|
|
7369
7435
|
"modelValue",
|
|
7370
7436
|
"onUpdate:modelValue",
|
|
7371
7437
|
"max-value"
|
|
7372
|
-
]))
|
|
7373
|
-
|
|
7374
|
-
|
|
7375
|
-
},
|
|
7376
|
-
T("
|
|
7438
|
+
])) : d("", !0)])]))), 128))])])) : d("", !0)], 64))), 128))]))), 128))])) : d("", !0)], 64))), 128))])) : r(re).length > 0 ? (b(), m("div", Mr, [T("div", null, [T("h4", null, [T("span", null, h(r(We)?.name), 1)]), (b(!0), m(a, null, w(_n.value, (e) => (b(), m(a, { key: `${e.roomGroupId}-${e.configIdx}` }, [pn(r(Ue).find((t) => t.id === e.roomGroupId)?.addons, e.children).length > 0 ? (b(), m("div", Nr, [T("h5", null, [l(H, {
|
|
7439
|
+
icon: "check-circle",
|
|
7440
|
+
type: "fas"
|
|
7441
|
+
}), T("span", null, h(r(c)("general.includedInPrice")), 1)]), T("ul", null, [(b(!0), m(a, null, w(pn(r(Ue).find((t) => t.id === e.roomGroupId)?.addons, e.children), ({ id: e, name: t, price: n, quantityStrategy: i, description: a }) => (b(), m("li", { key: e }, [T("div", null, [
|
|
7442
|
+
T("b", null, h(r(pe)(t)), 1),
|
|
7443
|
+
T("span", null, h(r(Me)(n, r(Tt))) + " " + h(r(le)(i)), 1),
|
|
7444
|
+
a ? (b(), m("p", {
|
|
7445
|
+
key: 0,
|
|
7446
|
+
innerHTML: r(_e)(a)
|
|
7447
|
+
}, null, 8, Pr)) : d("", !0)
|
|
7448
|
+
])]))), 128))])])) : d("", !0), hn(r(Ue).find((t) => t.id === e.roomGroupId)?.addons, e.children).length > 0 ? (b(), m("table", Fr, [T("thead", null, [T("tr", null, [
|
|
7449
|
+
T("th", null, [T("span", null, h(r(pe)(r(Ue).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), (e.unitTotal ?? 0) > 1 ? (b(), m("span", Ir, "(" + h(r(c)("booking.reservation.room")) + " " + h(e.unitNumber) + ")", 1)) : d("", !0)]),
|
|
7377
7450
|
d("", !0),
|
|
7378
7451
|
o[24] ||= T("th", { class: "konnectio-event-addons-price" }, null, -1)
|
|
7379
|
-
])]), T("tbody", null, [(b(!0), m(a, null, w(
|
|
7380
|
-
src:
|
|
7452
|
+
])]), T("tbody", null, [(b(!0), m(a, null, w(hn(r(Ue).find((t) => t.id === e.roomGroupId)?.addons, e.children), ({ cardinality: t, quantityStrategy: n, maximumNumber: i, id: a, name: o, price: s, description: c, image: u }) => (b(), m("tr", { key: a }, [T("td", { class: E(["konnectio-table-addons-information", { "has-image": u }]) }, [u ? (b(), m("div", Lr, [l(r(K), {
|
|
7453
|
+
src: u,
|
|
7381
7454
|
"zoom-scale": 1
|
|
7382
7455
|
}, null, 8, ["src"])])) : d("", !0), T("div", null, [
|
|
7383
|
-
T("b", null, h(r(
|
|
7384
|
-
T("span", null, h(r(Me)(s, r(
|
|
7456
|
+
T("b", null, h(r(pe)(o)), 1),
|
|
7457
|
+
T("span", null, h(r(Me)(s, r(Tt))) + " " + h(r(le)(n)), 1),
|
|
7385
7458
|
c ? (b(), m("p", {
|
|
7386
7459
|
key: 0,
|
|
7387
7460
|
innerHTML: r(_e)(c)
|
|
7388
|
-
}, null, 8,
|
|
7389
|
-
])], 2), T("td",
|
|
7390
|
-
|
|
7391
|
-
"
|
|
7392
|
-
small: !0,
|
|
7393
|
-
"min-value": 1,
|
|
7394
|
-
"max-value": 1,
|
|
7395
|
-
readonly: ""
|
|
7396
|
-
})) : (b(), u(Ae, {
|
|
7397
|
-
key: 1,
|
|
7398
|
-
modelValue: r(g)[e.selectionIdx].unitConfigs[e.configIdx].addons[a],
|
|
7399
|
-
"onUpdate:modelValue": (t) => r(g)[e.selectionIdx].unitConfigs[e.configIdx].addons[a] = t,
|
|
7461
|
+
}, null, 8, Rr)) : d("", !0)
|
|
7462
|
+
])], 2), T("td", zr, [l(je, {
|
|
7463
|
+
modelValue: r(te)[e.selectionIdx].unitConfigs[e.configIdx].addons[a],
|
|
7464
|
+
"onUpdate:modelValue": (t) => r(te)[e.selectionIdx].unitConfigs[e.configIdx].addons[a] = t,
|
|
7400
7465
|
small: !0,
|
|
7401
7466
|
"min-value": 0,
|
|
7402
|
-
"max-value": r(
|
|
7467
|
+
"max-value": r(ue)(t, i)
|
|
7403
7468
|
}, null, 8, [
|
|
7404
7469
|
"modelValue",
|
|
7405
7470
|
"onUpdate:modelValue",
|
|
7406
7471
|
"max-value"
|
|
7407
|
-
])
|
|
7472
|
+
])])]))), 128))])])) : d("", !0)], 64))), 128))])])) : d("", !0)])
|
|
7408
7473
|
])]),
|
|
7409
7474
|
navigation: S(() => [l(Ne, {
|
|
7410
7475
|
label: r(c)("general.startReservation"),
|
|
7411
7476
|
"full-width": "",
|
|
7412
|
-
onClickEvent: (
|
|
7477
|
+
onClickEvent: (e) => Tn(t)
|
|
7413
7478
|
}, null, 8, ["label", "onClickEvent"])]),
|
|
7414
7479
|
_: 2
|
|
7415
|
-
}, 1032, ["prev-callback"])) : d("", !0)]),
|
|
7416
|
-
reservation: S(({ next: t, prev: n, reset: i }) => [r(
|
|
7480
|
+
}, 1032, ["prev-callback", "deal-flow"])) : d("", !0)]),
|
|
7481
|
+
reservation: S(({ next: t, prev: n, reset: i }) => [r(Be) ? (b(), u(X, {
|
|
7417
7482
|
key: 0,
|
|
7418
|
-
"prev-callback": () =>
|
|
7483
|
+
"prev-callback": () => En(n),
|
|
7419
7484
|
"show-terms-notice": !0,
|
|
7420
|
-
"show-gift-card": !0
|
|
7485
|
+
"show-gift-card": !0,
|
|
7486
|
+
"deal-flow": e.requireDealCode === "yes"
|
|
7421
7487
|
}, {
|
|
7422
|
-
form: S(() => [T("form",
|
|
7488
|
+
form: S(() => [T("form", Br, [
|
|
7423
7489
|
T("h2", null, [T("span", null, h(r(c)("booking.reservation.detailsTitle")), 1)]),
|
|
7424
|
-
r(c)("hotel.reservationTopNotice") && r(c)("hotel.reservationTopNotice") !== "<br>" ? (b(), m("div",
|
|
7490
|
+
r(c)("hotel.reservationTopNotice") && r(c)("hotel.reservationTopNotice") !== "<br>" ? (b(), m("div", Vr, [T("p", {
|
|
7425
7491
|
innerHTML: r(c)("hotel.reservationTopNotice"),
|
|
7426
7492
|
class: "konnectio-wysiwyg"
|
|
7427
|
-
}, null, 8,
|
|
7428
|
-
r(
|
|
7493
|
+
}, null, 8, Hr)])) : d("", !0),
|
|
7494
|
+
r(Rt)(r(p)) && r(zt)(r(p)) && r(Bt)(r(p)) ? (b(), m("ul", {
|
|
7429
7495
|
key: 1,
|
|
7430
|
-
class: E(["konnectio-reservation-timepicker", { "konnectio-split-inputs": r(
|
|
7431
|
-
}, [r(
|
|
7432
|
-
modelValue: r(
|
|
7433
|
-
"onUpdate:modelValue": o[3] ||= (e) => y(
|
|
7496
|
+
class: E(["konnectio-reservation-timepicker", { "konnectio-split-inputs": r(zt)(r(p)) && r(Bt)(r(p)) }])
|
|
7497
|
+
}, [r(zt)(r(p)) ? (b(), m("li", Ur, [l(Mn, {
|
|
7498
|
+
modelValue: r(j),
|
|
7499
|
+
"onUpdate:modelValue": o[3] ||= (e) => y(j) ? j.value = e : null,
|
|
7434
7500
|
label: r(c)("booking.reservation.arrivalTime"),
|
|
7435
7501
|
icon: "hourglass-start",
|
|
7436
|
-
"min-time": r(
|
|
7437
|
-
"max-time": r(
|
|
7502
|
+
"min-time": r(Vt)(r(p)),
|
|
7503
|
+
"max-time": r(Y)(r(p)),
|
|
7438
7504
|
required: ""
|
|
7439
7505
|
}, null, 8, [
|
|
7440
7506
|
"modelValue",
|
|
7441
7507
|
"label",
|
|
7442
7508
|
"min-time",
|
|
7443
7509
|
"max-time"
|
|
7444
|
-
])])) : d("", !0), r(
|
|
7445
|
-
modelValue: r(
|
|
7446
|
-
"onUpdate:modelValue": o[4] ||= (e) => y(
|
|
7510
|
+
])])) : d("", !0), r(Bt)(r(p)) ? (b(), m("li", Wr, [l(Mn, {
|
|
7511
|
+
modelValue: r(M),
|
|
7512
|
+
"onUpdate:modelValue": o[4] ||= (e) => y(M) ? M.value = e : null,
|
|
7447
7513
|
label: r(c)("booking.reservation.departureTime"),
|
|
7448
7514
|
icon: "hourglass-end",
|
|
7449
|
-
"min-time": r(
|
|
7450
|
-
"max-time": r(
|
|
7515
|
+
"min-time": r(Ht)(r(p)),
|
|
7516
|
+
"max-time": r(Ut)(r(p)),
|
|
7451
7517
|
required: ""
|
|
7452
7518
|
}, null, 8, [
|
|
7453
7519
|
"modelValue",
|
|
@@ -7455,16 +7521,16 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7455
7521
|
"min-time",
|
|
7456
7522
|
"max-time"
|
|
7457
7523
|
])])) : d("", !0)], 2)) : d("", !0),
|
|
7458
|
-
l(
|
|
7459
|
-
modelValue: r(
|
|
7460
|
-
"onUpdate:modelValue": o[5] ||= (e) => y(
|
|
7461
|
-
title: r(
|
|
7462
|
-
"onUpdate:title": o[6] ||= (e) => y(
|
|
7463
|
-
"exclude-title": r(
|
|
7524
|
+
l(Fn, {
|
|
7525
|
+
modelValue: r(N),
|
|
7526
|
+
"onUpdate:modelValue": o[5] ||= (e) => y(N) ? N.value = e : null,
|
|
7527
|
+
title: r(P),
|
|
7528
|
+
"onUpdate:title": o[6] ||= (e) => y(P) ? P.value = e : null,
|
|
7529
|
+
"exclude-title": r(Dt),
|
|
7464
7530
|
label: r(c)("booking.reservation.name"),
|
|
7465
7531
|
icon: "user-alt",
|
|
7466
7532
|
placeholder: r(c)("booking.reservation.namePlaceholder"),
|
|
7467
|
-
error:
|
|
7533
|
+
error: un("guest.name"),
|
|
7468
7534
|
required: ""
|
|
7469
7535
|
}, null, 8, [
|
|
7470
7536
|
"modelValue",
|
|
@@ -7474,9 +7540,9 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7474
7540
|
"placeholder",
|
|
7475
7541
|
"error"
|
|
7476
7542
|
]),
|
|
7477
|
-
l(
|
|
7478
|
-
modelValue: r(
|
|
7479
|
-
"onUpdate:modelValue": o[7] ||= (e) => y(
|
|
7543
|
+
l(Ae, {
|
|
7544
|
+
modelValue: r(F),
|
|
7545
|
+
"onUpdate:modelValue": o[7] ||= (e) => y(F) ? F.value = e : null,
|
|
7480
7546
|
type: "email",
|
|
7481
7547
|
name: "email",
|
|
7482
7548
|
autocomplete: "email",
|
|
@@ -7484,7 +7550,7 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7484
7550
|
label: r(c)("booking.reservation.email"),
|
|
7485
7551
|
icon: "at",
|
|
7486
7552
|
placeholder: r(c)("booking.reservation.emailPlaceholder"),
|
|
7487
|
-
error:
|
|
7553
|
+
error: un("guest.email"),
|
|
7488
7554
|
required: ""
|
|
7489
7555
|
}, null, 8, [
|
|
7490
7556
|
"modelValue",
|
|
@@ -7492,17 +7558,17 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7492
7558
|
"placeholder",
|
|
7493
7559
|
"error"
|
|
7494
7560
|
]),
|
|
7495
|
-
r(
|
|
7496
|
-
modelValue: r(
|
|
7497
|
-
"onUpdate:modelValue": o[8] ||= (e) => y(
|
|
7561
|
+
r(Ft) ? d("", !0) : (b(), m("div", Gr, [l(Le, {
|
|
7562
|
+
modelValue: r(qe),
|
|
7563
|
+
"onUpdate:modelValue": o[8] ||= (e) => y(qe) ? qe.value = e : null,
|
|
7498
7564
|
type: "checkbox",
|
|
7499
7565
|
name: "newsletter",
|
|
7500
7566
|
label: r(c)("booking.reservation.newsletterSignUp")
|
|
7501
7567
|
}, null, 8, ["modelValue", "label"])])),
|
|
7502
|
-
r(
|
|
7568
|
+
r(kt) ? d("", !0) : (b(), u(Ae, {
|
|
7503
7569
|
key: 3,
|
|
7504
|
-
modelValue: r(
|
|
7505
|
-
"onUpdate:modelValue": o[9] ||= (e) => y(
|
|
7570
|
+
modelValue: r(R),
|
|
7571
|
+
"onUpdate:modelValue": o[9] ||= (e) => y(R) ? R.value = e : null,
|
|
7506
7572
|
type: "text",
|
|
7507
7573
|
name: "firm",
|
|
7508
7574
|
autocomplete: "firm",
|
|
@@ -7515,12 +7581,12 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7515
7581
|
"placeholder"
|
|
7516
7582
|
])),
|
|
7517
7583
|
l(Fe, {
|
|
7518
|
-
modelValue: r(
|
|
7519
|
-
"onUpdate:modelValue": o[10] ||= (e) => y(
|
|
7584
|
+
modelValue: r(I),
|
|
7585
|
+
"onUpdate:modelValue": o[10] ||= (e) => y(I) ? I.value = e : null,
|
|
7520
7586
|
icon: "phone-office",
|
|
7521
7587
|
label: r(c)("booking.reservation.phone"),
|
|
7522
7588
|
placeholder: r(c)("booking.reservation.phonePlaceholder"),
|
|
7523
|
-
error:
|
|
7589
|
+
error: un("guest.phone"),
|
|
7524
7590
|
required: ""
|
|
7525
7591
|
}, null, 8, [
|
|
7526
7592
|
"modelValue",
|
|
@@ -7528,13 +7594,13 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7528
7594
|
"placeholder",
|
|
7529
7595
|
"error"
|
|
7530
7596
|
]),
|
|
7531
|
-
l(
|
|
7532
|
-
modelValue: r(
|
|
7533
|
-
"onUpdate:modelValue": o[11] ||= (e) => y(
|
|
7597
|
+
l(Pn, {
|
|
7598
|
+
modelValue: r(ye),
|
|
7599
|
+
"onUpdate:modelValue": o[11] ||= (e) => y(ye) ? ye.value = e : null,
|
|
7534
7600
|
label: r(c)("booking.reservation.country"),
|
|
7535
7601
|
placeholder: r(c)("booking.reservation.countryPlaceholder"),
|
|
7536
|
-
options: r(
|
|
7537
|
-
error:
|
|
7602
|
+
options: r(ie),
|
|
7603
|
+
error: un("guest.country"),
|
|
7538
7604
|
required: ""
|
|
7539
7605
|
}, null, 8, [
|
|
7540
7606
|
"modelValue",
|
|
@@ -7543,16 +7609,16 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7543
7609
|
"options",
|
|
7544
7610
|
"error"
|
|
7545
7611
|
]),
|
|
7546
|
-
l(
|
|
7547
|
-
modelValue: r(
|
|
7548
|
-
"onUpdate:modelValue": o[12] ||= (e) => y(
|
|
7612
|
+
l(Ae, {
|
|
7613
|
+
modelValue: r(B),
|
|
7614
|
+
"onUpdate:modelValue": o[12] ||= (e) => y(B) ? B.value = e : null,
|
|
7549
7615
|
type: "textarea",
|
|
7550
7616
|
name: "address",
|
|
7551
7617
|
autocomplete: "street-address",
|
|
7552
7618
|
label: r(c)("booking.reservation.streetAddress"),
|
|
7553
7619
|
icon: "map-marked",
|
|
7554
7620
|
placeholder: r(c)("booking.reservation.streetAddressPlaceholder"),
|
|
7555
|
-
error:
|
|
7621
|
+
error: un("guest.address1"),
|
|
7556
7622
|
required: ""
|
|
7557
7623
|
}, null, 8, [
|
|
7558
7624
|
"modelValue",
|
|
@@ -7560,32 +7626,32 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7560
7626
|
"placeholder",
|
|
7561
7627
|
"error"
|
|
7562
7628
|
]),
|
|
7563
|
-
T("ul",
|
|
7564
|
-
modelValue: r(
|
|
7565
|
-
"onUpdate:modelValue": o[13] ||= (e) => y(
|
|
7629
|
+
T("ul", Kr, [T("li", null, [l(Ae, {
|
|
7630
|
+
modelValue: r(z),
|
|
7631
|
+
"onUpdate:modelValue": o[13] ||= (e) => y(z) ? z.value = e : null,
|
|
7566
7632
|
type: "text",
|
|
7567
7633
|
name: "postal",
|
|
7568
7634
|
autocomplete: "postal-code",
|
|
7569
7635
|
label: r(c)("booking.reservation.postal"),
|
|
7570
7636
|
icon: "mailbox",
|
|
7571
7637
|
placeholder: r(c)("booking.reservation.postalPlaceholder"),
|
|
7572
|
-
error:
|
|
7638
|
+
error: un("guest.postal"),
|
|
7573
7639
|
required: ""
|
|
7574
7640
|
}, null, 8, [
|
|
7575
7641
|
"modelValue",
|
|
7576
7642
|
"label",
|
|
7577
7643
|
"placeholder",
|
|
7578
7644
|
"error"
|
|
7579
|
-
])]), T("li", null, [l(
|
|
7580
|
-
modelValue: r(
|
|
7581
|
-
"onUpdate:modelValue": o[14] ||= (e) => y(
|
|
7645
|
+
])]), T("li", null, [l(Ae, {
|
|
7646
|
+
modelValue: r(fe),
|
|
7647
|
+
"onUpdate:modelValue": o[14] ||= (e) => y(fe) ? fe.value = e : null,
|
|
7582
7648
|
type: "text",
|
|
7583
7649
|
name: "city",
|
|
7584
7650
|
autocomplete: "address-level2",
|
|
7585
7651
|
label: r(c)("booking.reservation.city"),
|
|
7586
7652
|
icon: "city",
|
|
7587
7653
|
placeholder: r(c)("booking.reservation.cityPlaceholder"),
|
|
7588
|
-
error:
|
|
7654
|
+
error: un("guest.city"),
|
|
7589
7655
|
required: ""
|
|
7590
7656
|
}, null, 8, [
|
|
7591
7657
|
"modelValue",
|
|
@@ -7593,10 +7659,10 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7593
7659
|
"placeholder",
|
|
7594
7660
|
"error"
|
|
7595
7661
|
])])]),
|
|
7596
|
-
e.hideRemarks === "yes" ? d("", !0) : (b(), u(
|
|
7662
|
+
e.hideRemarks === "yes" ? d("", !0) : (b(), u(Ae, {
|
|
7597
7663
|
key: 4,
|
|
7598
|
-
modelValue: r(
|
|
7599
|
-
"onUpdate:modelValue": o[15] ||= (e) => y(
|
|
7664
|
+
modelValue: r(xe),
|
|
7665
|
+
"onUpdate:modelValue": o[15] ||= (e) => y(xe) ? xe.value = e : null,
|
|
7600
7666
|
type: "textarea",
|
|
7601
7667
|
label: r(c)("booking.reservation.remark"),
|
|
7602
7668
|
icon: "info-circle",
|
|
@@ -7606,10 +7672,10 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7606
7672
|
"label",
|
|
7607
7673
|
"placeholder"
|
|
7608
7674
|
])),
|
|
7609
|
-
e.hideAllergies === "yes" ? d("", !0) : (b(), u(
|
|
7675
|
+
e.hideAllergies === "yes" ? d("", !0) : (b(), u(Ae, {
|
|
7610
7676
|
key: 5,
|
|
7611
|
-
modelValue: r(
|
|
7612
|
-
"onUpdate:modelValue": o[16] ||= (e) => y(
|
|
7677
|
+
modelValue: r(Se),
|
|
7678
|
+
"onUpdate:modelValue": o[16] ||= (e) => y(Se) ? Se.value = e : null,
|
|
7613
7679
|
type: "textarea",
|
|
7614
7680
|
label: r(c)("booking.reservation.allergies"),
|
|
7615
7681
|
icon: "allergies",
|
|
@@ -7619,36 +7685,36 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7619
7685
|
"label",
|
|
7620
7686
|
"placeholder"
|
|
7621
7687
|
])),
|
|
7622
|
-
r(
|
|
7688
|
+
r(J) ? d("", !0) : (b(), u(Je, {
|
|
7623
7689
|
key: 6,
|
|
7624
|
-
modelValue: r(
|
|
7625
|
-
"onUpdate:modelValue": o[17] ||= (e) => y(
|
|
7690
|
+
modelValue: r(A),
|
|
7691
|
+
"onUpdate:modelValue": o[17] ||= (e) => y(A) ? A.value = e : null,
|
|
7626
7692
|
label: r(c)("booking.reservation.purposeOfStay"),
|
|
7627
7693
|
name: "travelingFor",
|
|
7628
|
-
checkboxes:
|
|
7694
|
+
checkboxes: yn.value
|
|
7629
7695
|
}, null, 8, [
|
|
7630
7696
|
"modelValue",
|
|
7631
7697
|
"label",
|
|
7632
7698
|
"checkboxes"
|
|
7633
7699
|
])),
|
|
7634
|
-
r(
|
|
7635
|
-
T("li", null, [T("span", null, h(r(c)("hotel.memberCards.selectedCard", { cardName: r(
|
|
7636
|
-
T("li", null, [T("span", null, h(r(c)("hotel.memberCards.cardNumber")) + ": " + h(r(
|
|
7637
|
-
r(
|
|
7700
|
+
r(st) ? (b(), m(a, { key: 7 }, [T("h3", null, [T("span", null, h(r(c)("hotel.memberCards.title")), 1)]), r(ft) ? (b(), m("div", qr, [T("img", { src: r(pt)?.iconUrl }, null, 8, Jr), T("ul", Yr, [
|
|
7701
|
+
T("li", null, [T("span", null, h(r(c)("hotel.memberCards.selectedCard", { cardName: r(pt)?.shortDescription })), 1)]),
|
|
7702
|
+
T("li", null, [T("span", null, h(r(c)("hotel.memberCards.cardNumber")) + ": " + h(r(ft).cardNumber), 1)]),
|
|
7703
|
+
r(ft).controlNr ? (b(), m("li", Xr, [T("span", null, h(r(c)("hotel.memberCards.controlNumber")) + ": " + h(r(ft).controlNr), 1)])) : d("", !0)
|
|
7638
7704
|
])])) : (b(), m(a, { key: 1 }, [l(Je, {
|
|
7639
|
-
modelValue: r(
|
|
7640
|
-
"onUpdate:modelValue": o[18] ||= (e) => y(
|
|
7705
|
+
modelValue: r(lt),
|
|
7706
|
+
"onUpdate:modelValue": o[18] ||= (e) => y(lt) ? lt.value = e : null,
|
|
7641
7707
|
label: r(c)("hotel.memberCards.selectCard"),
|
|
7642
7708
|
name: "memberCard",
|
|
7643
|
-
checkboxes: r(
|
|
7709
|
+
checkboxes: r(ct)
|
|
7644
7710
|
}, null, 8, [
|
|
7645
7711
|
"modelValue",
|
|
7646
7712
|
"label",
|
|
7647
7713
|
"checkboxes"
|
|
7648
|
-
]), r(
|
|
7649
|
-
l(
|
|
7650
|
-
modelValue: r(
|
|
7651
|
-
"onUpdate:modelValue": o[19] ||= (e) => y(
|
|
7714
|
+
]), r(lt) ? (b(), m("form", Zr, [
|
|
7715
|
+
l(Ae, {
|
|
7716
|
+
modelValue: r(dt),
|
|
7717
|
+
"onUpdate:modelValue": o[19] ||= (e) => y(dt) ? dt.value = e : null,
|
|
7652
7718
|
type: "number",
|
|
7653
7719
|
label: r(c)("hotel.memberCards.cardNumber"),
|
|
7654
7720
|
icon: "credit-card",
|
|
@@ -7659,10 +7725,10 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7659
7725
|
"label",
|
|
7660
7726
|
"placeholder"
|
|
7661
7727
|
]),
|
|
7662
|
-
r(
|
|
7728
|
+
r(lt) === r(Ee).FirmaCard ? (b(), u(Ae, {
|
|
7663
7729
|
key: 0,
|
|
7664
|
-
modelValue: r(
|
|
7665
|
-
"onUpdate:modelValue": o[20] ||= (e) => y(
|
|
7730
|
+
modelValue: r(ut),
|
|
7731
|
+
"onUpdate:modelValue": o[20] ||= (e) => y(ut) ? ut.value = e : null,
|
|
7666
7732
|
type: "text",
|
|
7667
7733
|
label: r(c)("hotel.memberCards.cardControlNumber"),
|
|
7668
7734
|
icon: "id-card",
|
|
@@ -7673,10 +7739,10 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7673
7739
|
"label",
|
|
7674
7740
|
"placeholder"
|
|
7675
7741
|
])) : d("", !0),
|
|
7676
|
-
r(
|
|
7742
|
+
r(lt) === r(Ee).DaneAge ? (b(), u(Ae, {
|
|
7677
7743
|
key: 1,
|
|
7678
|
-
modelValue: r(
|
|
7679
|
-
"onUpdate:modelValue": o[21] ||= (e) => y(
|
|
7744
|
+
modelValue: r(z),
|
|
7745
|
+
"onUpdate:modelValue": o[21] ||= (e) => y(z) ? z.value = e : null,
|
|
7680
7746
|
type: "text",
|
|
7681
7747
|
name: "postal",
|
|
7682
7748
|
autocomplete: "postal-code",
|
|
@@ -7692,16 +7758,16 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7692
7758
|
l(Ne, {
|
|
7693
7759
|
label: r(c)("hotel.memberCards.validateAndSelectCard"),
|
|
7694
7760
|
"full-width": "",
|
|
7695
|
-
onClickEvent: r(
|
|
7761
|
+
onClickEvent: r(rn)
|
|
7696
7762
|
}, null, 8, ["label", "onClickEvent"])
|
|
7697
7763
|
])) : d("", !0)], 64))], 64)) : d("", !0)
|
|
7698
7764
|
])]),
|
|
7699
|
-
navigation: S(() => [T("div", null, [r(
|
|
7700
|
-
label: r(
|
|
7701
|
-
disabled: !r(
|
|
7702
|
-
"is-loading": r(
|
|
7765
|
+
navigation: S(() => [T("div", null, [r(G) ? (b(), u(ze, { key: 0 })) : d("", !0), l(Ne, {
|
|
7766
|
+
label: r(At) ? r(c)("booking.reservation.nextButton") : r(c)("general.confirmReservation"),
|
|
7767
|
+
disabled: !r(k),
|
|
7768
|
+
"is-loading": r(O) || r(G),
|
|
7703
7769
|
"full-width": "",
|
|
7704
|
-
onClickEvent: (e) =>
|
|
7770
|
+
onClickEvent: (e) => Dn(t, i)
|
|
7705
7771
|
}, null, 8, [
|
|
7706
7772
|
"label",
|
|
7707
7773
|
"disabled",
|
|
@@ -7709,7 +7775,7 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7709
7775
|
"onClickEvent"
|
|
7710
7776
|
])])]),
|
|
7711
7777
|
_: 2
|
|
7712
|
-
}, 1032, ["prev-callback"])) : d("", !0)]),
|
|
7778
|
+
}, 1032, ["prev-callback", "deal-flow"])) : d("", !0)]),
|
|
7713
7779
|
payment: S(({ prev: e }) => [l(He), d("", !0)]),
|
|
7714
7780
|
confirmation: S(() => [l(Ye, { message: r(c)("booking.confirmation.thankYou") }, null, 8, ["message"])]),
|
|
7715
7781
|
_: 1
|
|
@@ -7717,20 +7783,20 @@ var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7717
7783
|
"layout",
|
|
7718
7784
|
"steps",
|
|
7719
7785
|
"onReset"
|
|
7720
|
-
]), [[ee, (e.requireGuestDiscountId === "no" || e.requireGuestDiscountId === "yes" && r(
|
|
7786
|
+
]), [[ee, (e.requireGuestDiscountId === "no" || e.requireGuestDiscountId === "yes" && r(nt)) && !fn.value]])
|
|
7721
7787
|
]),
|
|
7722
7788
|
_: 1
|
|
7723
7789
|
}, 8, ["access-token", "callback"])]),
|
|
7724
|
-
fallback: S(() => [l(
|
|
7790
|
+
fallback: S(() => [l(Rn)]),
|
|
7725
7791
|
_: 1
|
|
7726
7792
|
}))]),
|
|
7727
7793
|
_: 1
|
|
7728
7794
|
}, 8, ["styling"]));
|
|
7729
7795
|
}
|
|
7730
|
-
}),
|
|
7796
|
+
}), $r = /*#__PURE__*/ B(Qr, [["__scopeId", "data-v-5b5973ca"]]);
|
|
7731
7797
|
//#endregion
|
|
7732
7798
|
//#region node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs
|
|
7733
|
-
function
|
|
7799
|
+
function ei(e, t) {
|
|
7734
7800
|
if (typeof t == "function" && t.key && e.plugins.has(t.key)) return;
|
|
7735
7801
|
let n = typeof t == "function" ? t(e) : t, r = n.key || String(e.plugins.size + 1);
|
|
7736
7802
|
if (!e.plugins.get(r)) {
|
|
@@ -7739,7 +7805,7 @@ function Kr(e, t) {
|
|
|
7739
7805
|
}
|
|
7740
7806
|
}
|
|
7741
7807
|
// @__NO_SIDE_EFFECTS__
|
|
7742
|
-
function
|
|
7808
|
+
function ti(e, t = {}) {
|
|
7743
7809
|
let n = !t.document, r = /* @__PURE__ */ new Map(), i = {
|
|
7744
7810
|
_entryCount: 1,
|
|
7745
7811
|
_h: 0,
|
|
@@ -7749,7 +7815,7 @@ function qr(e, t = {}) {
|
|
|
7749
7815
|
entries: r,
|
|
7750
7816
|
hooks: void 0,
|
|
7751
7817
|
render: () => e(i),
|
|
7752
|
-
use: (e) =>
|
|
7818
|
+
use: (e) => ei(i, e),
|
|
7753
7819
|
push(e, t) {
|
|
7754
7820
|
let a = t?._index ?? i._entryCount++, o = t ? { ...t } : {};
|
|
7755
7821
|
delete o.head, delete o.onRendered, delete o._index;
|
|
@@ -7773,25 +7839,25 @@ function qr(e, t = {}) {
|
|
|
7773
7839
|
}
|
|
7774
7840
|
//#endregion
|
|
7775
7841
|
//#region node_modules/unhead/dist/shared/unhead.CGPOfp5O.mjs
|
|
7776
|
-
var
|
|
7842
|
+
var ni = /* @__PURE__ */ new Set([
|
|
7777
7843
|
"link",
|
|
7778
7844
|
"style",
|
|
7779
7845
|
"script",
|
|
7780
7846
|
"noscript"
|
|
7781
|
-
]),
|
|
7847
|
+
]), ri = /* @__PURE__ */ new Set([
|
|
7782
7848
|
"title",
|
|
7783
7849
|
"titleTemplate",
|
|
7784
7850
|
"script",
|
|
7785
7851
|
"style",
|
|
7786
7852
|
"noscript"
|
|
7787
|
-
]),
|
|
7853
|
+
]), ii = /* @__PURE__ */ new Set([
|
|
7788
7854
|
"base",
|
|
7789
7855
|
"meta",
|
|
7790
7856
|
"link",
|
|
7791
7857
|
"style",
|
|
7792
7858
|
"script",
|
|
7793
7859
|
"noscript"
|
|
7794
|
-
]),
|
|
7860
|
+
]), ai = /* @__PURE__ */ new Set([
|
|
7795
7861
|
"title",
|
|
7796
7862
|
"base",
|
|
7797
7863
|
"htmlAttrs",
|
|
@@ -7801,14 +7867,14 @@ var Jr = /* @__PURE__ */ new Set([
|
|
|
7801
7867
|
"style",
|
|
7802
7868
|
"script",
|
|
7803
7869
|
"noscript"
|
|
7804
|
-
]),
|
|
7870
|
+
]), oi = /* @__PURE__ */ new Set([
|
|
7805
7871
|
"base",
|
|
7806
7872
|
"title",
|
|
7807
7873
|
"titleTemplate",
|
|
7808
7874
|
"bodyAttrs",
|
|
7809
7875
|
"htmlAttrs",
|
|
7810
7876
|
"templateParams"
|
|
7811
|
-
]),
|
|
7877
|
+
]), si = /* @__PURE__ */ new Set([
|
|
7812
7878
|
"key",
|
|
7813
7879
|
"tagPosition",
|
|
7814
7880
|
"tagPriority",
|
|
@@ -7816,11 +7882,11 @@ var Jr = /* @__PURE__ */ new Set([
|
|
|
7816
7882
|
"innerHTML",
|
|
7817
7883
|
"textContent",
|
|
7818
7884
|
"processTemplateParams"
|
|
7819
|
-
]),
|
|
7885
|
+
]), ci = /* @__PURE__ */ new Set([
|
|
7820
7886
|
"templateParams",
|
|
7821
7887
|
"htmlAttrs",
|
|
7822
7888
|
"bodyAttrs"
|
|
7823
|
-
]),
|
|
7889
|
+
]), li = /* @__PURE__ */ new Set([
|
|
7824
7890
|
"theme-color",
|
|
7825
7891
|
"google-site-verification",
|
|
7826
7892
|
"author",
|
|
@@ -7833,26 +7899,26 @@ var Jr = /* @__PURE__ */ new Set([
|
|
|
7833
7899
|
"book:author",
|
|
7834
7900
|
"book:tag",
|
|
7835
7901
|
"twitter:image"
|
|
7836
|
-
]),
|
|
7902
|
+
]), ui = {
|
|
7837
7903
|
critical: -8,
|
|
7838
7904
|
high: -1,
|
|
7839
7905
|
low: 2
|
|
7840
|
-
},
|
|
7906
|
+
}, di = (e) => typeof e == "number" ? Number.isFinite(e) : e;
|
|
7841
7907
|
// @__NO_SIDE_EFFECTS__
|
|
7842
|
-
function
|
|
7908
|
+
function fi(e) {
|
|
7843
7909
|
return e === "__proto__" || e === "constructor" || e === "prototype";
|
|
7844
7910
|
}
|
|
7845
7911
|
//#endregion
|
|
7846
7912
|
//#region node_modules/hookable/dist/index.mjs
|
|
7847
|
-
function
|
|
7913
|
+
function pi(e, t, n, r) {
|
|
7848
7914
|
for (let i = n; i < e.length; i += 1) try {
|
|
7849
7915
|
let n = r ? r.run(() => e[i](...t)) : e[i](...t);
|
|
7850
|
-
if (n && typeof n.then == "function") return Promise.resolve(n).then(() =>
|
|
7916
|
+
if (n && typeof n.then == "function") return Promise.resolve(n).then(() => pi(e, t, i + 1, r));
|
|
7851
7917
|
} catch (e) {
|
|
7852
7918
|
return Promise.reject(e);
|
|
7853
7919
|
}
|
|
7854
7920
|
}
|
|
7855
|
-
var
|
|
7921
|
+
var mi = class {
|
|
7856
7922
|
_hooks;
|
|
7857
7923
|
constructor() {
|
|
7858
7924
|
this._hooks = {};
|
|
@@ -7871,24 +7937,24 @@ var oi = class {
|
|
|
7871
7937
|
}
|
|
7872
7938
|
callHook(e, ...t) {
|
|
7873
7939
|
let n = this._hooks[e];
|
|
7874
|
-
if (!(!n || n.length === 0)) return
|
|
7940
|
+
if (!(!n || n.length === 0)) return pi(n, t, 0);
|
|
7875
7941
|
}
|
|
7876
7942
|
};
|
|
7877
7943
|
//#endregion
|
|
7878
7944
|
//#region node_modules/unhead/dist/shared/unhead.Bm4Y6XQI.mjs
|
|
7879
|
-
function
|
|
7880
|
-
let t = new
|
|
7945
|
+
function hi(e) {
|
|
7946
|
+
let t = new mi();
|
|
7881
7947
|
for (let n in e || {}) t.hook(n, e[n]);
|
|
7882
7948
|
return t;
|
|
7883
7949
|
}
|
|
7884
|
-
function
|
|
7950
|
+
function gi(e, t, n) {
|
|
7885
7951
|
if (e.hooks?._hooks?.[t]?.length) return e.hooks?.callHook(t, n);
|
|
7886
7952
|
}
|
|
7887
7953
|
//#endregion
|
|
7888
7954
|
//#region node_modules/unhead/dist/shared/unhead.C5Bksi2B.mjs
|
|
7889
|
-
function
|
|
7955
|
+
function _i(e, t, n) {
|
|
7890
7956
|
let r = e.push, i = e;
|
|
7891
|
-
i.ssr = !1, i.hooks = t, i.dirty = !!i.dirty, i.use = (e) =>
|
|
7957
|
+
i.ssr = !1, i.hooks = t, i.dirty = !!i.dirty, i.use = (e) => ei(i, e), i.render = () => n(i);
|
|
7892
7958
|
function a() {
|
|
7893
7959
|
t.callHook("entries:updated", i), i._b || i.render();
|
|
7894
7960
|
}
|
|
@@ -7910,46 +7976,46 @@ function li(e, t, n) {
|
|
|
7910
7976
|
}
|
|
7911
7977
|
//#endregion
|
|
7912
7978
|
//#region node_modules/unhead/dist/shared/unhead.-hZVKou0.mjs
|
|
7913
|
-
var
|
|
7979
|
+
var vi = /^(?:viewport|description|keywords|robots)$/, yi = [
|
|
7914
7980
|
"name",
|
|
7915
7981
|
"property",
|
|
7916
7982
|
"http-equiv"
|
|
7917
7983
|
];
|
|
7918
|
-
function
|
|
7984
|
+
function bi(e) {
|
|
7919
7985
|
let t = e.indexOf(":");
|
|
7920
7986
|
if (t === -1) return !1;
|
|
7921
7987
|
let n = e.slice(t + 1);
|
|
7922
|
-
return
|
|
7988
|
+
return li.has(n) || n.startsWith("og:image:") || n.startsWith("og:video:") || n.startsWith("og:audio:") || n.startsWith("twitter:image:");
|
|
7923
7989
|
}
|
|
7924
|
-
function
|
|
7990
|
+
function xi(e) {
|
|
7925
7991
|
let { props: t, tag: n, key: r } = e;
|
|
7926
|
-
if (
|
|
7992
|
+
if (oi.has(n)) return n;
|
|
7927
7993
|
if (n === "link") {
|
|
7928
7994
|
if (t.rel === "canonical") return "canonical";
|
|
7929
7995
|
if (t.rel === "alternate" && t.hreflang) return `alternate:${t.hreflang}`;
|
|
7930
7996
|
}
|
|
7931
7997
|
if (t.charset) return "charset";
|
|
7932
|
-
if (n === "meta") for (let e of
|
|
7998
|
+
if (n === "meta") for (let e of yi) {
|
|
7933
7999
|
let n = t[e];
|
|
7934
|
-
if (n !== void 0) return `meta:${n}${(typeof n != "string" || !n.includes(":")) && !
|
|
8000
|
+
if (n !== void 0) return `meta:${n}${(typeof n != "string" || !n.includes(":")) && !vi.test(n) && r ? `:key:${r}` : ""}`;
|
|
7935
8001
|
}
|
|
7936
|
-
return r ? `${n}:key:${r}` : t.id ? `${n}:id:${t.id}` : n === "link" && t.rel && t.href ? `link:${t.rel}:${t.href}` :
|
|
8002
|
+
return r ? `${n}:key:${r}` : t.id ? `${n}:id:${t.id}` : n === "link" && t.rel && t.href ? `link:${t.rel}:${t.href}` : ri.has(n) && (e.textContent || e.innerHTML) ? `${n}:content:${e.textContent || e.innerHTML}` : void 0;
|
|
7937
8003
|
}
|
|
7938
|
-
function
|
|
8004
|
+
function Si(e) {
|
|
7939
8005
|
let t = e._h || e._d || e.textContent || e.innerHTML;
|
|
7940
8006
|
if (t) return t;
|
|
7941
8007
|
let n = Object.keys(e.props).sort(), r = `${e.tag}:`, i = "";
|
|
7942
8008
|
for (let t of n) r += `${i}${t}:${String(e.props[t])}`, i = ",";
|
|
7943
8009
|
return r;
|
|
7944
8010
|
}
|
|
7945
|
-
function
|
|
8011
|
+
function Ci(e, t, n) {
|
|
7946
8012
|
if (n === "_resolver") return e;
|
|
7947
8013
|
typeof e == "function" && (!n || n !== "titleTemplate" && !n.startsWith("on")) && (e = e());
|
|
7948
8014
|
let r = t ? t(n, e) : e;
|
|
7949
8015
|
if (Array.isArray(r)) {
|
|
7950
8016
|
let e;
|
|
7951
8017
|
for (let n = 0; n < r.length; n++) {
|
|
7952
|
-
let i =
|
|
8018
|
+
let i = Ci(r[n], t);
|
|
7953
8019
|
e ? e[n] = i : i !== r[n] && (e = r.slice(0, n), e[n] = i);
|
|
7954
8020
|
}
|
|
7955
8021
|
return e || r;
|
|
@@ -7957,7 +8023,7 @@ function hi(e, t, n) {
|
|
|
7957
8023
|
if (r?.constructor === Object) {
|
|
7958
8024
|
let e;
|
|
7959
8025
|
for (let n in r) {
|
|
7960
|
-
let i = /* @__PURE__ */
|
|
8026
|
+
let i = /* @__PURE__ */ fi(n), a = i ? void 0 : Ci(r[n], t, n);
|
|
7961
8027
|
if (!e && (i || a !== r[n])) {
|
|
7962
8028
|
e = {};
|
|
7963
8029
|
for (let t in r) {
|
|
@@ -7971,8 +8037,8 @@ function hi(e, t, n) {
|
|
|
7971
8037
|
}
|
|
7972
8038
|
return r;
|
|
7973
8039
|
}
|
|
7974
|
-
var
|
|
7975
|
-
function
|
|
8040
|
+
var wi = /[\s"'<>/=\x00-\x1F\x7F]/;
|
|
8041
|
+
function Ti(e, t) {
|
|
7976
8042
|
let n = e === "style", r = n ? /* @__PURE__ */ new Map() : /* @__PURE__ */ new Set(), i = (e) => {
|
|
7977
8043
|
if (e) {
|
|
7978
8044
|
if (n) {
|
|
@@ -7989,18 +8055,18 @@ function _i(e, t) {
|
|
|
7989
8055
|
}
|
|
7990
8056
|
return r;
|
|
7991
8057
|
}
|
|
7992
|
-
function
|
|
8058
|
+
function Ei(e, t) {
|
|
7993
8059
|
if (e.props = e.props || {}, !t) return e;
|
|
7994
8060
|
if (e.tag === "templateParams") return e.props = t, e;
|
|
7995
|
-
let n =
|
|
8061
|
+
let n = ii.has(e.tag) || e.tag === "htmlAttrs" || e.tag === "bodyAttrs";
|
|
7996
8062
|
for (let r in t) {
|
|
7997
|
-
if (/* @__PURE__ */
|
|
7998
|
-
let i = r.startsWith("data-"), a = n &&
|
|
7999
|
-
if (a && (!o ||
|
|
8063
|
+
if (/* @__PURE__ */ fi(r)) continue;
|
|
8064
|
+
let i = r.startsWith("data-"), a = n && !si.has(r), o = a && !i ? r.toLowerCase() : r;
|
|
8065
|
+
if (a && (!o || wi.test(o))) continue;
|
|
8000
8066
|
let s = t[r];
|
|
8001
8067
|
if (s === null) e.props[o] = null;
|
|
8002
|
-
else if (r === "class" || r === "style") e.props[r] =
|
|
8003
|
-
else if (
|
|
8068
|
+
else if (r === "class" || r === "style") e.props[r] = Ti(r, s);
|
|
8069
|
+
else if (si.has(r)) {
|
|
8004
8070
|
if ((r === "textContent" || r === "innerHTML") && typeof s == "object") {
|
|
8005
8071
|
let n = t.type || "application/json";
|
|
8006
8072
|
(n.endsWith("json") || n === "speculationrules" || n === "importmap") && (e.props.type = n, e[r] = JSON.stringify(s));
|
|
@@ -8012,19 +8078,19 @@ function vi(e, t) {
|
|
|
8012
8078
|
}
|
|
8013
8079
|
return e;
|
|
8014
8080
|
}
|
|
8015
|
-
function
|
|
8081
|
+
function Di(e, t) {
|
|
8016
8082
|
let n;
|
|
8017
8083
|
return t.length && (n = (e, n) => {
|
|
8018
8084
|
for (let r = 0; r < t.length; r++) n = t[r](e, n);
|
|
8019
8085
|
return n;
|
|
8020
|
-
}, e = n(void 0, e)),
|
|
8086
|
+
}, e = n(void 0, e)), Ci(e, n);
|
|
8021
8087
|
}
|
|
8022
|
-
function
|
|
8023
|
-
let n =
|
|
8088
|
+
function Oi(e, t) {
|
|
8089
|
+
let n = Ei({
|
|
8024
8090
|
tag: e,
|
|
8025
8091
|
props: {}
|
|
8026
8092
|
}, typeof t == "object" && typeof t != "function" ? t : { [e === "script" || e === "noscript" || e === "style" ? "innerHTML" : "textContent"]: t });
|
|
8027
|
-
if (n.key &&
|
|
8093
|
+
if (n.key && ni.has(n.tag) && (n.props["data-hid"] = n._h = n.key), n.tag === "script" && typeof n.innerHTML == "object" && (n.innerHTML = JSON.stringify(n.innerHTML), n.props.type = n.props.type || "application/json"), Array.isArray(n.props.content)) {
|
|
8028
8094
|
let e = [];
|
|
8029
8095
|
for (let t of n.props.content) e.push({
|
|
8030
8096
|
...n,
|
|
@@ -8037,37 +8103,37 @@ function bi(e, t) {
|
|
|
8037
8103
|
}
|
|
8038
8104
|
return n;
|
|
8039
8105
|
}
|
|
8040
|
-
function
|
|
8106
|
+
function ki(e, t) {
|
|
8041
8107
|
if (Array.isArray(t)) for (let n of t) e.push(n);
|
|
8042
8108
|
else e.push(t);
|
|
8043
8109
|
}
|
|
8044
|
-
function
|
|
8110
|
+
function Ai(e, t) {
|
|
8045
8111
|
if (!e) return [];
|
|
8046
|
-
typeof e == "function" && (e = e()), e =
|
|
8112
|
+
typeof e == "function" && (e = e()), e = Di(e, t);
|
|
8047
8113
|
let n = [];
|
|
8048
8114
|
for (let t in e) {
|
|
8049
8115
|
let r = e[t];
|
|
8050
8116
|
if (r !== void 0) {
|
|
8051
|
-
if (Array.isArray(r)) for (let e of r)
|
|
8052
|
-
else
|
|
8117
|
+
if (Array.isArray(r)) for (let e of r) ki(n, Oi(t, e));
|
|
8118
|
+
else ki(n, Oi(t, r));
|
|
8053
8119
|
}
|
|
8054
8120
|
}
|
|
8055
8121
|
return n;
|
|
8056
8122
|
}
|
|
8057
|
-
var
|
|
8058
|
-
function
|
|
8123
|
+
var ji = /</g, Mi = /<\/script/g, Ni = (e, t) => e._w === t._w ? e._p - t._p : e._w - t._w, Pi = () => 100;
|
|
8124
|
+
function Fi(e) {
|
|
8059
8125
|
for (let t in e) return !1;
|
|
8060
8126
|
return !0;
|
|
8061
8127
|
}
|
|
8062
|
-
var
|
|
8063
|
-
function
|
|
8128
|
+
var Ii = /^tags:|:render/;
|
|
8129
|
+
function Li(e, t) {
|
|
8064
8130
|
let n = (t["entries:resolve"]?.length || 0) + (t["entries:normalize"]?.length || 0);
|
|
8065
8131
|
if (e._h !== n) {
|
|
8066
8132
|
e._h = n;
|
|
8067
8133
|
for (let t of e.entries.values()) delete t._tags;
|
|
8068
8134
|
}
|
|
8069
8135
|
}
|
|
8070
|
-
function
|
|
8136
|
+
function Ri(e) {
|
|
8071
8137
|
for (let t = 0; t < e.length; t++) {
|
|
8072
8138
|
let n = e[t], r = { ...n.props };
|
|
8073
8139
|
r.class instanceof Set && (r.class = new Set(r.class)), r.style instanceof Map && (r.style = new Map(r.style)), e[t] = {
|
|
@@ -8076,34 +8142,34 @@ function Ai(e) {
|
|
|
8076
8142
|
};
|
|
8077
8143
|
}
|
|
8078
8144
|
}
|
|
8079
|
-
function
|
|
8145
|
+
function zi(e, t) {
|
|
8080
8146
|
let n = e.tags, r = 0;
|
|
8081
8147
|
for (let t of e.tagMap.values()) if (Array.isArray(t)) for (let e of t) n[r++] = e;
|
|
8082
8148
|
else n[r++] = t;
|
|
8083
|
-
n.length = r, t && n.sort(
|
|
8149
|
+
n.length = r, t && n.sort(Ni);
|
|
8084
8150
|
}
|
|
8085
|
-
function
|
|
8151
|
+
function Bi(e) {
|
|
8086
8152
|
let t = !1;
|
|
8087
|
-
for (let n of e.tags.sort(
|
|
8088
|
-
let r = n._d ||
|
|
8153
|
+
for (let n of e.tags.sort(Ni)) {
|
|
8154
|
+
let r = n._d || Si(n);
|
|
8089
8155
|
if (!r) continue;
|
|
8090
8156
|
let i = e.tagMap.get(r);
|
|
8091
8157
|
if (!i) {
|
|
8092
8158
|
e.tagMap.set(r, n);
|
|
8093
8159
|
continue;
|
|
8094
8160
|
}
|
|
8095
|
-
if ((n.tagDuplicateStrategy || (
|
|
8161
|
+
if ((n.tagDuplicateStrategy || (ci.has(n.tag) ? "merge" : null) || (n.key && n.key === i.key ? "merge" : null)) === "merge") {
|
|
8096
8162
|
let t = { ...i.props };
|
|
8097
8163
|
for (let e in n.props) t[e] = e === "style" ? new Map([...i.props.style || /* @__PURE__ */ new Map(), ...n.props[e]]) : e === "class" ? /* @__PURE__ */ new Set([...i.props.class || [], ...n.props[e]]) : n.props[e];
|
|
8098
8164
|
e.tagMap.set(r, {
|
|
8099
8165
|
...n,
|
|
8100
8166
|
props: t
|
|
8101
8167
|
});
|
|
8102
|
-
} else n._p >> 10 == i._p >> 10 && n.tag === "meta" &&
|
|
8168
|
+
} else n._p >> 10 == i._p >> 10 && n.tag === "meta" && bi(r) ? (e.tagMap.set(r, Object.assign([...Array.isArray(i) ? i : [i], n], n)), t = !0) : (n._w === i._w ? n._p > i._p : n._w < i._w) && e.tagMap.set(r, n);
|
|
8103
8169
|
}
|
|
8104
8170
|
return t;
|
|
8105
8171
|
}
|
|
8106
|
-
function
|
|
8172
|
+
function Vi(e, t) {
|
|
8107
8173
|
let n = e.tagMap.get("title"), r = e.tagMap.get("titleTemplate");
|
|
8108
8174
|
if (t._title = n?.textContent, !r) return;
|
|
8109
8175
|
let i = r.textContent;
|
|
@@ -8118,73 +8184,73 @@ function Ni(e, t) {
|
|
|
8118
8184
|
textContent: a
|
|
8119
8185
|
});
|
|
8120
8186
|
}
|
|
8121
|
-
function
|
|
8187
|
+
function Hi(e) {
|
|
8122
8188
|
let t = 0;
|
|
8123
8189
|
for (let n of e) {
|
|
8124
8190
|
let { innerHTML: r, tag: i, props: a } = n;
|
|
8125
|
-
if (!(!
|
|
8191
|
+
if (!(!ai.has(i) || Fi(a) && !di(r) && !di(n.textContent)) && !(i === "meta" && !di(a.content) && !a["http-equiv"] && !a.charset)) {
|
|
8126
8192
|
if (i === "script" && (r || n.textContent)) {
|
|
8127
|
-
let e = String(a.type), t = e.endsWith("json") || e === "importmap" || e === "speculationrules", i = (e) => t ? (typeof e == "string" ? e : JSON.stringify(e)).replace(
|
|
8128
|
-
n = { ...n }, r && (n.innerHTML = i(r)), n.textContent && (n.textContent = i(n.textContent)), n._d =
|
|
8193
|
+
let e = String(a.type), t = e.endsWith("json") || e === "importmap" || e === "speculationrules", i = (e) => t ? (typeof e == "string" ? e : JSON.stringify(e)).replace(ji, "\\u003C") : typeof e == "string" ? e.replace(Mi, "<\\/script") : e;
|
|
8194
|
+
n = { ...n }, r && (n.innerHTML = i(r)), n.textContent && (n.textContent = i(n.textContent)), n._d = xi(n);
|
|
8129
8195
|
}
|
|
8130
8196
|
e[t++] = n;
|
|
8131
8197
|
}
|
|
8132
8198
|
}
|
|
8133
8199
|
return e.length = t, e;
|
|
8134
8200
|
}
|
|
8135
|
-
function
|
|
8136
|
-
let n = t?.tagWeight ?? e.resolvedOptions._tagWeight ??
|
|
8201
|
+
function Ui(e, t) {
|
|
8202
|
+
let n = t?.tagWeight ?? e.resolvedOptions._tagWeight ?? Pi, r = {
|
|
8137
8203
|
tagMap: /* @__PURE__ */ new Map(),
|
|
8138
8204
|
tags: []
|
|
8139
8205
|
}, i = e.hooks?._hooks || {};
|
|
8140
|
-
|
|
8206
|
+
Li(e, i);
|
|
8141
8207
|
for (let t of e.entries.values()) t._pending !== void 0 && (t.input = t._pending, delete t._pending, delete t._tags, delete t._precomputedTags);
|
|
8142
8208
|
let a;
|
|
8143
|
-
(i["entries:resolve"]?.length || i["entries:normalize"]?.length) && (a = [...e.entries.values()], i["entries:resolve"]?.length &&
|
|
8209
|
+
(i["entries:resolve"]?.length || i["entries:normalize"]?.length) && (a = [...e.entries.values()], i["entries:resolve"]?.length && gi(e, "entries:resolve", {
|
|
8144
8210
|
entries: a,
|
|
8145
8211
|
...r
|
|
8146
|
-
})),
|
|
8212
|
+
})), Li(e, i);
|
|
8147
8213
|
for (let t of a || e.entries.values()) {
|
|
8148
8214
|
let a = t._tags;
|
|
8149
8215
|
if (!a) {
|
|
8150
|
-
if (t._precomputedTags && n === e.resolvedOptions._tagWeight && !i["entries:normalize"]?.length && !i["entries:resolve"]?.length && (!t.options ||
|
|
8216
|
+
if (t._precomputedTags && n === e.resolvedOptions._tagWeight && !i["entries:normalize"]?.length && !i["entries:resolve"]?.length && (!t.options || Fi(t.options))) a = t._precomputedTags;
|
|
8151
8217
|
else {
|
|
8152
|
-
if (a =
|
|
8218
|
+
if (a = Ai(t.input, e.resolvedOptions.propResolvers || []), t.options && !Fi(t.options)) for (let e of a) Object.assign(e, t.options);
|
|
8153
8219
|
if (i["entries:normalize"]?.length) {
|
|
8154
8220
|
let n = {
|
|
8155
8221
|
tags: a,
|
|
8156
8222
|
entry: t
|
|
8157
8223
|
};
|
|
8158
|
-
|
|
8224
|
+
gi(e, "entries:normalize", n), a = n.tags;
|
|
8159
8225
|
}
|
|
8160
8226
|
for (let e = 0; e < a.length; e++) {
|
|
8161
8227
|
let r = a[e];
|
|
8162
|
-
r._w = n(r), r._p = (t._i << 10) + e, r._d =
|
|
8228
|
+
r._w = n(r), r._p = (t._i << 10) + e, r._d = xi(r), r._d || (r._h = Si(r));
|
|
8163
8229
|
}
|
|
8164
8230
|
t._tags = a;
|
|
8165
8231
|
}
|
|
8166
8232
|
}
|
|
8167
8233
|
r.tags.push(...a);
|
|
8168
8234
|
}
|
|
8169
|
-
for (let e in i) if (i[e]?.length &&
|
|
8170
|
-
|
|
8235
|
+
for (let e in i) if (i[e]?.length && Ii.test(e)) {
|
|
8236
|
+
Ri(r.tags);
|
|
8171
8237
|
break;
|
|
8172
8238
|
}
|
|
8173
|
-
let o =
|
|
8174
|
-
return
|
|
8239
|
+
let o = Bi(r);
|
|
8240
|
+
return Vi(r, e), zi(r, o), gi(e, "tags:beforeResolve", r), gi(e, "tags:resolve", r), gi(e, "tags:afterResolve", r), Hi(r.tags);
|
|
8175
8241
|
}
|
|
8176
8242
|
//#endregion
|
|
8177
8243
|
//#region node_modules/unhead/dist/shared/unhead.Bjbp1C8D.mjs
|
|
8178
|
-
var
|
|
8244
|
+
var Wi = /\s+/;
|
|
8179
8245
|
// @__NO_SIDE_EFFECTS__
|
|
8180
|
-
function
|
|
8181
|
-
return (t) =>
|
|
8246
|
+
function Gi(e = {}) {
|
|
8247
|
+
return (t) => Ji(t, e);
|
|
8182
8248
|
}
|
|
8183
|
-
function
|
|
8249
|
+
function Ki(e) {
|
|
8184
8250
|
for (let t of e.entries.values()) if (t._pending !== void 0) return !0;
|
|
8185
8251
|
return !1;
|
|
8186
8252
|
}
|
|
8187
|
-
function
|
|
8253
|
+
function qi(e, t) {
|
|
8188
8254
|
let n = {
|
|
8189
8255
|
_d: t,
|
|
8190
8256
|
_t: t.title,
|
|
@@ -8199,15 +8265,15 @@ function zi(e, t) {
|
|
|
8199
8265
|
let r = e[t]?.class;
|
|
8200
8266
|
if (typeof r == "string") {
|
|
8201
8267
|
let e = n._e.get(t);
|
|
8202
|
-
for (let i of r.split(
|
|
8268
|
+
for (let i of r.split(Wi)) i && (n._p[`${t}:attr:class:${i}`] = () => e.classList.remove(i));
|
|
8203
8269
|
}
|
|
8204
8270
|
}
|
|
8205
8271
|
}
|
|
8206
8272
|
return n;
|
|
8207
8273
|
}
|
|
8208
|
-
function
|
|
8274
|
+
function Ji(e, t = {}) {
|
|
8209
8275
|
let n = t.document || e.resolvedOptions.document, r = e._dom;
|
|
8210
|
-
if (!n || e._du || r && r._d === n && !e.dirty && !
|
|
8276
|
+
if (!n || e._du || r && r._d === n && !e.dirty && !Ki(e)) return !1;
|
|
8211
8277
|
let i = n.defaultView;
|
|
8212
8278
|
e._du = !0;
|
|
8213
8279
|
let a = !1;
|
|
@@ -8268,7 +8334,7 @@ function Bi(e, t = {}) {
|
|
|
8268
8334
|
shouldRender: !0,
|
|
8269
8335
|
tags: []
|
|
8270
8336
|
};
|
|
8271
|
-
if (
|
|
8337
|
+
if (gi(e, "dom:beforeRender", l), !l.shouldRender) return !1;
|
|
8272
8338
|
let u = r;
|
|
8273
8339
|
if (u?._d !== n) {
|
|
8274
8340
|
if (u) {
|
|
@@ -8278,35 +8344,35 @@ function Bi(e, t = {}) {
|
|
|
8278
8344
|
}
|
|
8279
8345
|
u = void 0;
|
|
8280
8346
|
}
|
|
8281
|
-
u ? u._p = u._s : u =
|
|
8347
|
+
u ? u._p = u._s : u = qi(e, n), u._s = {};
|
|
8282
8348
|
let d = u, f = d._p, p = [], m = {};
|
|
8283
8349
|
e.dirty = !1;
|
|
8284
|
-
let h =
|
|
8350
|
+
let h = Ui(e, t.tagWeight ? { tagWeight: t.tagWeight } : void 0), g = [], _ = {};
|
|
8285
8351
|
for (let e of h) {
|
|
8286
8352
|
let t = _[e._d] || 0, r = (t ? `${e._d}:${t}` : e._d) || e._h, i = {
|
|
8287
8353
|
tag: e,
|
|
8288
8354
|
id: r,
|
|
8289
8355
|
shouldRender: !0
|
|
8290
8356
|
};
|
|
8291
|
-
if (e.tag === "meta" && e._d &&
|
|
8357
|
+
if (e.tag === "meta" && e._d && bi(e._d) && (_[e._d] = t + 1), g.push(i), e.tag === "title") {
|
|
8292
8358
|
n.title = e.textContent, o("title:", () => n.title = d._t);
|
|
8293
8359
|
continue;
|
|
8294
8360
|
}
|
|
8295
|
-
i.$el = d._e.get(r), i.$el ? c(i) :
|
|
8361
|
+
i.$el = d._e.get(r), i.$el ? c(i) : ii.has(e.tag) && p.push(i);
|
|
8296
8362
|
}
|
|
8297
8363
|
if (p.length) {
|
|
8298
8364
|
let e = new Set(d._e.values());
|
|
8299
8365
|
for (let t of [...n.body.children, ...n.head.children]) {
|
|
8300
8366
|
let n = t.tagName.toLowerCase();
|
|
8301
|
-
if (!
|
|
8367
|
+
if (!ii.has(n) || e.has(t)) continue;
|
|
8302
8368
|
let r = { innerHTML: t.innerHTML };
|
|
8303
8369
|
for (let e of t.getAttributeNames()) r[e] = t.getAttribute(e);
|
|
8304
|
-
let i =
|
|
8370
|
+
let i = Ei({
|
|
8305
8371
|
tag: n,
|
|
8306
8372
|
props: {}
|
|
8307
8373
|
}, r);
|
|
8308
8374
|
i.key = t.getAttribute("data-hid") || void 0;
|
|
8309
|
-
let a =
|
|
8375
|
+
let a = xi(i) || Si(i), o = a, s = 1;
|
|
8310
8376
|
for (; d._e.has(o);) o = `${a}:${s++}`;
|
|
8311
8377
|
d._e.set(o, t);
|
|
8312
8378
|
}
|
|
@@ -8317,42 +8383,42 @@ function Bi(e, t = {}) {
|
|
|
8317
8383
|
}
|
|
8318
8384
|
m.head && n.head.appendChild(m.head), m.bodyOpen && n.body.insertBefore(m.bodyOpen, n.body.firstChild), m.bodyClose && n.body.appendChild(m.bodyClose);
|
|
8319
8385
|
for (let e in f) f[e]();
|
|
8320
|
-
e._dom = d, a = !0,
|
|
8386
|
+
e._dom = d, a = !0, gi(e, "dom:rendered", { renders: g });
|
|
8321
8387
|
} catch (t) {
|
|
8322
8388
|
throw e.dirty = !0, t;
|
|
8323
8389
|
} finally {
|
|
8324
8390
|
e._du = !1;
|
|
8325
8391
|
}
|
|
8326
|
-
return a && (e.dirty ||
|
|
8392
|
+
return a && (e.dirty || Ki(e)) && Ji(e, t), a;
|
|
8327
8393
|
}
|
|
8328
8394
|
//#endregion
|
|
8329
8395
|
//#region node_modules/unhead/dist/shared/unhead.oZ7pkTV1.mjs
|
|
8330
|
-
var
|
|
8331
|
-
function
|
|
8396
|
+
var Yi = (e) => typeof e.tagPriority == "number" ? e.tagPriority : 100 + (ui[e.tagPriority] || 0);
|
|
8397
|
+
function Xi(e = {}) {
|
|
8332
8398
|
e.document = e.document || (typeof window < "u" ? document : void 0);
|
|
8333
|
-
let t = e.render || /* @__PURE__ */
|
|
8399
|
+
let t = e.render || /* @__PURE__ */ Gi({ document: e.document }), n = _i(/* @__PURE__ */ ti(t, {
|
|
8334
8400
|
document: e.document,
|
|
8335
8401
|
propResolvers: e.propResolvers,
|
|
8336
|
-
_tagWeight:
|
|
8402
|
+
_tagWeight: Yi,
|
|
8337
8403
|
init: []
|
|
8338
|
-
}),
|
|
8404
|
+
}), hi(e.hooks), t);
|
|
8339
8405
|
return e.plugins?.forEach((e) => n.use(e)), e.init?.forEach((e) => e && n.push(e)), n;
|
|
8340
8406
|
}
|
|
8341
8407
|
//#endregion
|
|
8342
8408
|
//#region node_modules/@unhead/vue/dist/shared/vue.DKb5ZKVl.mjs
|
|
8343
|
-
var
|
|
8409
|
+
var Zi = "usehead";
|
|
8344
8410
|
// @__NO_SIDE_EFFECTS__
|
|
8345
|
-
function
|
|
8411
|
+
function Qi(e) {
|
|
8346
8412
|
return { install(t) {
|
|
8347
|
-
t.config.globalProperties.$unhead = e, t.config.globalProperties.$head = e, t.provide(
|
|
8413
|
+
t.config.globalProperties.$unhead = e, t.config.globalProperties.$head = e, t.provide(Zi, e);
|
|
8348
8414
|
} }.install;
|
|
8349
8415
|
}
|
|
8350
8416
|
//#endregion
|
|
8351
8417
|
//#region node_modules/@unhead/vue/dist/client.mjs
|
|
8352
8418
|
// @__NO_SIDE_EFFECTS__
|
|
8353
|
-
function
|
|
8354
|
-
let t = /* @__PURE__ */
|
|
8355
|
-
return n =
|
|
8419
|
+
function $i(e = {}) {
|
|
8420
|
+
let t = /* @__PURE__ */ Gi(), n, r = 0;
|
|
8421
|
+
return n = Xi({
|
|
8356
8422
|
render: () => {
|
|
8357
8423
|
let e = ++r;
|
|
8358
8424
|
setTimeout(() => {
|
|
@@ -8360,12 +8426,12 @@ function Gi(e = {}) {
|
|
|
8360
8426
|
}, 0);
|
|
8361
8427
|
},
|
|
8362
8428
|
...e
|
|
8363
|
-
}), n.install = /* @__PURE__ */
|
|
8429
|
+
}), n.install = /* @__PURE__ */ Qi(n), n;
|
|
8364
8430
|
}
|
|
8365
8431
|
//#endregion
|
|
8366
8432
|
//#region src/entries/hotel.ts
|
|
8367
|
-
var
|
|
8368
|
-
e.use(
|
|
8433
|
+
var ea = A(), ta = /* @__PURE__ */ $i(), na = k("konnectio-hotel", $r, (e) => {
|
|
8434
|
+
e.use(z), e.use(ta), e.use(ea), e.use(O), e.use(tt), e.use(Ke);
|
|
8369
8435
|
});
|
|
8370
8436
|
//#endregion
|
|
8371
|
-
export {
|
|
8437
|
+
export { na as default };
|