@konnectio/core 4.10.0 → 4.10.2
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-Cwfe6KBs.js → ActionField-qE3C31u2.js} +2 -2
- package/dist/ActionField-qE3C31u2.js.br +0 -0
- package/dist/ActionField-qE3C31u2.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-BXTm1DgH.js → AvailabilitySkeleton-psTb4JsH.js} +3 -3
- package/dist/AvailabilitySkeleton-psTb4JsH.js.br +0 -0
- package/dist/AvailabilitySkeleton-psTb4JsH.js.gz +0 -0
- package/dist/{CheckoutWindow-BCgkfVVt.js → CheckoutWindow-DtIRuUPR.js} +2 -2
- package/dist/CheckoutWindow-DtIRuUPR.js.br +0 -0
- package/dist/CheckoutWindow-DtIRuUPR.js.gz +0 -0
- package/dist/{ErrorMessage-Alqi2PZ0.js → ErrorMessage-BgymVkuR.js} +2 -2
- package/dist/ErrorMessage-BgymVkuR.js.br +0 -0
- package/dist/ErrorMessage-BgymVkuR.js.gz +0 -0
- package/dist/{EventAvailabilityForm-DBap0Kxe.js → EventAvailabilityForm-BFW_mVdm.js} +3 -3
- package/dist/EventAvailabilityForm-BFW_mVdm.js.br +0 -0
- package/dist/EventAvailabilityForm-BFW_mVdm.js.gz +0 -0
- package/dist/{Field-D-WYPKBC.js → Field-BpHiN12t.js} +2 -2
- package/dist/Field-BpHiN12t.js.br +0 -0
- package/dist/Field-BpHiN12t.js.gz +0 -0
- package/dist/{HotelAvailabilityForm-Ddy04ofm.js → HotelAvailabilityForm-CyXpqYWQ.js} +3 -3
- package/dist/HotelAvailabilityForm-CyXpqYWQ.js.br +0 -0
- package/dist/HotelAvailabilityForm-CyXpqYWQ.js.gz +0 -0
- package/dist/{SelectField-B3wekl1-.js → SelectField-FuvFgZXL.js} +383 -377
- package/dist/SelectField-FuvFgZXL.js.br +0 -0
- package/dist/SelectField-FuvFgZXL.js.gz +0 -0
- package/dist/{TermsOfService-DKw3z30m.js → TermsOfService-_n-tWRPh.js} +3 -3
- package/dist/TermsOfService-_n-tWRPh.js.br +0 -0
- package/dist/TermsOfService-_n-tWRPh.js.gz +2 -0
- package/dist/{_-BGvq5fCt.js → _-BbHoU_rZ.js} +2 -2
- package/dist/_-BbHoU_rZ.js.br +0 -0
- package/dist/_-BbHoU_rZ.js.gz +0 -0
- package/dist/availability.js +8 -8
- package/dist/availability.js.br +0 -0
- package/dist/availability.js.gz +0 -0
- package/dist/cancel-reservation.js +5 -5
- 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/deep-link.js +1 -1
- package/dist/deep-link.js.br +0 -0
- package/dist/deep-link.js.gz +0 -0
- package/dist/{dist-DJrSdVOh.js → dist-D0sh85D_.js} +5 -5
- package/dist/dist-D0sh85D_.js.br +0 -0
- package/dist/dist-D0sh85D_.js.gz +0 -0
- package/dist/{dist-BdHuZAPN.js → dist-gxJNGDB3.js} +3 -3
- package/dist/dist-gxJNGDB3.js.br +0 -0
- package/dist/dist-gxJNGDB3.js.gz +0 -0
- package/dist/event.js +9 -9
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +8 -8
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card-validation.js.gz +0 -0
- package/dist/gift-card.js +10 -10
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/{giftCard-Q9I7zCe1.js → giftCard-Cugwtb0B.js} +2 -2
- package/dist/giftCard-Cugwtb0B.js.br +0 -0
- package/dist/giftCard-Cugwtb0B.js.gz +0 -0
- package/dist/hotel.js +576 -547
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/{i18n-_behsDNX.js → i18n-BU9Enb5i.js} +3386 -3355
- package/dist/i18n-BU9Enb5i.js.br +0 -0
- package/dist/i18n-BU9Enb5i.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-CF_APJTq.js → style-9hD_S2GI.js} +2 -2
- package/dist/style-9hD_S2GI.js.br +0 -0
- package/dist/style-9hD_S2GI.js.gz +0 -0
- package/dist-wix/availability.js +34 -34
- package/dist-wix/event.js +11 -11
- package/dist-wix/gift-card-validation.js +30 -30
- package/dist-wix/gift-card.js +26 -26
- package/dist-wix/hotel.js +13 -13
- package/package.json +2 -2
- package/dist/ActionField-Cwfe6KBs.js.br +0 -0
- package/dist/ActionField-Cwfe6KBs.js.gz +0 -0
- package/dist/AvailabilitySkeleton-BXTm1DgH.js.br +0 -0
- package/dist/AvailabilitySkeleton-BXTm1DgH.js.gz +0 -0
- package/dist/CheckoutWindow-BCgkfVVt.js.br +0 -0
- package/dist/CheckoutWindow-BCgkfVVt.js.gz +0 -0
- package/dist/ErrorMessage-Alqi2PZ0.js.br +0 -0
- package/dist/ErrorMessage-Alqi2PZ0.js.gz +0 -0
- package/dist/EventAvailabilityForm-DBap0Kxe.js.br +0 -0
- package/dist/EventAvailabilityForm-DBap0Kxe.js.gz +0 -0
- package/dist/Field-D-WYPKBC.js.br +0 -0
- package/dist/Field-D-WYPKBC.js.gz +0 -0
- package/dist/HotelAvailabilityForm-Ddy04ofm.js.br +0 -0
- package/dist/HotelAvailabilityForm-Ddy04ofm.js.gz +0 -0
- package/dist/SelectField-B3wekl1-.js.br +0 -0
- package/dist/SelectField-B3wekl1-.js.gz +0 -0
- package/dist/TermsOfService-DKw3z30m.js.br +0 -0
- package/dist/TermsOfService-DKw3z30m.js.gz +0 -3
- package/dist/_-BGvq5fCt.js.br +0 -0
- package/dist/_-BGvq5fCt.js.gz +0 -0
- package/dist/dist-BdHuZAPN.js.br +0 -0
- package/dist/dist-BdHuZAPN.js.gz +0 -0
- package/dist/dist-DJrSdVOh.js.br +0 -0
- package/dist/dist-DJrSdVOh.js.gz +0 -0
- package/dist/giftCard-Q9I7zCe1.js.br +0 -0
- package/dist/giftCard-Q9I7zCe1.js.gz +0 -0
- package/dist/i18n-_behsDNX.js.br +0 -0
- package/dist/i18n-_behsDNX.js.gz +0 -0
- package/dist/style-CF_APJTq.js.br +0 -0
- package/dist/style-CF_APJTq.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
|
-
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-
|
|
3
|
-
import { t as z } from "./dist-
|
|
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
|
|
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-
|
|
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-BU9Enb5i.js";
|
|
3
|
+
import { t as z } from "./dist-gxJNGDB3.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 Me, tt as V, v as Ne, x as H, z as Pe } from "./SelectField-FuvFgZXL.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-DtIRuUPR.js";
|
|
6
|
+
import { n as Ue, t as We } from "./AvailabilitySkeleton-psTb4JsH.js";
|
|
7
|
+
import { t as Ge } from "./HotelAvailabilityForm-CyXpqYWQ.js";
|
|
8
|
+
import { t as Ke } from "./style-9hD_S2GI.js";
|
|
9
|
+
import { t as U } from "./ActionField-qE3C31u2.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-D0sh85D_.js";
|
|
11
|
+
import { t as nt } from "./TermsOfService-_n-tWRPh.js";
|
|
12
12
|
//#region node_modules/inner-image-zoom/src/utils/images.js
|
|
13
13
|
function rt(e, t) {
|
|
14
14
|
return t ? {
|
|
@@ -362,7 +362,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
362
362
|
prevCallback: {}
|
|
363
363
|
},
|
|
364
364
|
setup(e) {
|
|
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(),
|
|
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(), Me = I(!1);
|
|
366
366
|
function Ne(e) {
|
|
367
367
|
Oe(e), Ae();
|
|
368
368
|
}
|
|
@@ -406,7 +406,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
406
406
|
type: "fas",
|
|
407
407
|
color: "font"
|
|
408
408
|
}), T("span", null, h(a.childrenCount), 1)])) : d("", !0)]), a.roomName ? (b(), m("span", At, "(" + h(a.roomName) + ")", 1)) : d("", !0)]),
|
|
409
|
-
T("b", null, [T("span", null, h(r(
|
|
409
|
+
T("b", null, [T("span", null, h(r(V)(a.totalPrice, r(i))), 1), e.showRemoveRoom ? (b(), m("span", {
|
|
410
410
|
key: 0,
|
|
411
411
|
class: "konnectio-hotel-reservation-remove",
|
|
412
412
|
onClick: F((e) => r(Ce)(n, s, a.configIdx), ["prevent"])
|
|
@@ -415,7 +415,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
415
415
|
type: "fas",
|
|
416
416
|
"icon-color": "#ff0000"
|
|
417
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(
|
|
418
|
+
]), Ie(a.roomAddons) > 0 ? (b(), m("li", Mt, [T("span", null, h(r(t)("general.addons")), 1), T("b", null, h(r(V)(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
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
420
|
T("span", It, [T("span", Lt, [T("span", null, [l(H, {
|
|
421
421
|
icon: "male",
|
|
@@ -426,9 +426,9 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
426
426
|
type: "fas",
|
|
427
427
|
color: "font"
|
|
428
428
|
}), T("span", null, h(e.children), 1)])) : d("", !0)])]),
|
|
429
|
-
T("b", null, [T("span", null, h(r(
|
|
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(
|
|
431
|
-
]))), 128)), r(ue) ? (b(), m("li", zt, [T("span", null, h(r(t)("general.addons")), 1), T("b", null, h(r(
|
|
429
|
+
T("b", null, [T("span", null, h(r(V)(r(Ee)(e.roomGroupId, e.adults, e.children) + r(_e), r(i))), 1)]),
|
|
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(V)(e.price, r(i))), 1)])], 64))), 128))
|
|
431
|
+
]))), 128)), r(ue) ? (b(), m("li", zt, [T("span", null, h(r(t)("general.addons")), 1), T("b", null, h(r(V)(r(ue), r(i))), 1)])) : d("", !0)])])])) : d("", !0)]),
|
|
432
432
|
actions: S(() => [T("ul", Bt, [
|
|
433
433
|
r(n) ? d("", !0) : (b(), m("div", Vt, [l(Le, {
|
|
434
434
|
modelValue: r(P),
|
|
@@ -450,7 +450,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
450
450
|
}, {
|
|
451
451
|
terms: S(() => [T("a", {
|
|
452
452
|
class: "konnectio-accept-terms-link",
|
|
453
|
-
onClick: C[1] ||= F((e) =>
|
|
453
|
+
onClick: C[1] ||= F((e) => Me.value = !0, ["prevent"])
|
|
454
454
|
}, [T("span", null, h(r(xe)(r(t)("general.termsAndConditions"))), 1)])]),
|
|
455
455
|
_: 1
|
|
456
456
|
})]),
|
|
@@ -458,8 +458,8 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
458
458
|
}, 8, ["modelValue"])])) : d("", !0),
|
|
459
459
|
re(v.$slots, "actions", {}, void 0, !0),
|
|
460
460
|
l(nt, {
|
|
461
|
-
modelValue:
|
|
462
|
-
"onUpdate:modelValue": C[3] ||= (e) =>
|
|
461
|
+
modelValue: Me.value,
|
|
462
|
+
"onUpdate:modelValue": C[3] ||= (e) => Me.value = e,
|
|
463
463
|
description: r(R)
|
|
464
464
|
}, null, 8, ["modelValue", "description"])
|
|
465
465
|
])]),
|
|
@@ -570,8 +570,8 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
570
570
|
}), [["__scopeId", "data-v-de955b0c"]]), qt = { class: "konnectio-panel" }, Jt = { id: "konnectio-hotel-discount-code-title" }, Yt = ["innerHTML"], Z = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
571
571
|
__name: "DiscountCodeForm",
|
|
572
572
|
setup(e) {
|
|
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
|
|
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(), _ = I(!1);
|
|
574
|
+
async function ee() {
|
|
575
575
|
if (!g.value) {
|
|
576
576
|
o({
|
|
577
577
|
message: t("alert.error.discountCodeEmpty"),
|
|
@@ -579,7 +579,12 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
579
579
|
});
|
|
580
580
|
return;
|
|
581
581
|
}
|
|
582
|
-
i.discount = g.value.toString(), a.setGuestDiscountCode(g.value.toString()),
|
|
582
|
+
i.discount = g.value.toString(), a.setGuestDiscountCode(g.value.toString()), _.value = !0;
|
|
583
|
+
try {
|
|
584
|
+
await a.fetchAvailabilityData();
|
|
585
|
+
} finally {
|
|
586
|
+
_.value = !1;
|
|
587
|
+
}
|
|
583
588
|
}
|
|
584
589
|
return (e, n) => (b(), m("form", {
|
|
585
590
|
id: "konnectio-hotel-discount-code",
|
|
@@ -587,7 +592,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
587
592
|
}, [T("div", qt, [
|
|
588
593
|
T("h3", Jt, [T("span", null, h(r(t)(`${p.value}.title`)), 1)]),
|
|
589
594
|
T("p", { innerHTML: r(t)(`${p.value}.description`) }, null, 8, Yt),
|
|
590
|
-
r(c).length > 1 ? (b(), u(
|
|
595
|
+
r(c).length > 1 ? (b(), u(Me, {
|
|
591
596
|
key: 0,
|
|
592
597
|
modelValue: r(s),
|
|
593
598
|
"onUpdate:modelValue": n[0] ||= (e) => y(s) ? s.value = e : null,
|
|
@@ -616,15 +621,17 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
616
621
|
icon: "tags",
|
|
617
622
|
"button-icon": "paper-plane-top",
|
|
618
623
|
secondary: "",
|
|
619
|
-
|
|
624
|
+
"is-loading": _.value,
|
|
625
|
+
onAction: ee
|
|
620
626
|
}, null, 8, [
|
|
621
627
|
"modelValue",
|
|
622
628
|
"label",
|
|
623
|
-
"button-label"
|
|
629
|
+
"button-label",
|
|
630
|
+
"is-loading"
|
|
624
631
|
])
|
|
625
632
|
])], 32));
|
|
626
633
|
}
|
|
627
|
-
}), [["__scopeId", "data-v-
|
|
634
|
+
}), [["__scopeId", "data-v-63bc74db"]]), 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({
|
|
628
635
|
__name: "RoomConfigField",
|
|
629
636
|
props: {
|
|
630
637
|
modelValue: {},
|
|
@@ -649,7 +656,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
649
656
|
get: () => c.modelValue,
|
|
650
657
|
set: (e) => f(e)
|
|
651
658
|
});
|
|
652
|
-
return (t, n) => (b(), u(
|
|
659
|
+
return (t, n) => (b(), u(Me, {
|
|
653
660
|
modelValue: p.value,
|
|
654
661
|
"onUpdate:modelValue": n[0] ||= (e) => p.value = e,
|
|
655
662
|
label: e.label,
|
|
@@ -674,8 +681,8 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
674
681
|
type: "fas",
|
|
675
682
|
color: "font"
|
|
676
683
|
}), T("span", null, h(`${e.children}`), 1)])) : d("", !0)
|
|
677
|
-
]), T("span", null, h(`(${r(
|
|
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(
|
|
684
|
+
]), T("span", null, h(`(${r(V)(e.price, r(a))})`), 1)])]),
|
|
685
|
+
"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(V)(e.price, r(a))})`), 1)])])]),
|
|
679
686
|
_: 1
|
|
680
687
|
}, 8, [
|
|
681
688
|
"modelValue",
|
|
@@ -1293,7 +1300,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1293
1300
|
}
|
|
1294
1301
|
return n || "M0 0";
|
|
1295
1302
|
}
|
|
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"),
|
|
1303
|
+
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"), Me = je && ge, V = 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() {
|
|
1297
1304
|
var e = !1;
|
|
1298
1305
|
try {
|
|
1299
1306
|
var t = Object.defineProperty({}, "passive", { get: function() {
|
|
@@ -1340,8 +1347,8 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1340
1347
|
gecko3d: ke,
|
|
1341
1348
|
any3d: Ae,
|
|
1342
1349
|
mobile: je,
|
|
1343
|
-
mobileWebkit:
|
|
1344
|
-
mobileWebkit3d:
|
|
1350
|
+
mobileWebkit: Me,
|
|
1351
|
+
mobileWebkit3d: V,
|
|
1345
1352
|
msPointer: Ne,
|
|
1346
1353
|
pointer: H,
|
|
1347
1354
|
touch: Fe,
|
|
@@ -2750,7 +2757,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2750
2757
|
function In(e) {
|
|
2751
2758
|
return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."), Fn(e);
|
|
2752
2759
|
}
|
|
2753
|
-
function
|
|
2760
|
+
function Ln(e, t) {
|
|
2754
2761
|
var n, r, i, a, o, s, c, l;
|
|
2755
2762
|
if (!e || e.length === 0) throw Error("latlngs not passed");
|
|
2756
2763
|
Fn(e) || (console.warn("latlngs are not flat! Only the first ring will be used"), e = e[0]);
|
|
@@ -2770,7 +2777,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2770
2777
|
var h = t.unproject(O(l));
|
|
2771
2778
|
return P([h.lat + u.lat, h.lng + u.lng]);
|
|
2772
2779
|
}
|
|
2773
|
-
var
|
|
2780
|
+
var Rn = {
|
|
2774
2781
|
__proto__: null,
|
|
2775
2782
|
simplify: Cn,
|
|
2776
2783
|
pointToSegmentDistance: wn,
|
|
@@ -2781,8 +2788,8 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2781
2788
|
_sqClosestPointOnSegment: Pn,
|
|
2782
2789
|
isFlat: Fn,
|
|
2783
2790
|
_flat: In,
|
|
2784
|
-
polylineCenter:
|
|
2785
|
-
},
|
|
2791
|
+
polylineCenter: Ln
|
|
2792
|
+
}, zn = {
|
|
2786
2793
|
project: function(e) {
|
|
2787
2794
|
return new D(e.lng, e.lat);
|
|
2788
2795
|
},
|
|
@@ -2790,7 +2797,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2790
2797
|
return new N(e.y, e.x);
|
|
2791
2798
|
},
|
|
2792
2799
|
bounds: new k([-180, -90], [180, 90])
|
|
2793
|
-
},
|
|
2800
|
+
}, Bn = {
|
|
2794
2801
|
R: 6378137,
|
|
2795
2802
|
R_MINOR: 6356752.314245179,
|
|
2796
2803
|
bounds: new k([-20037508.34279, -15496570.73972], [20037508.34279, 18764656.23138]),
|
|
@@ -2802,24 +2809,24 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2802
2809
|
for (var t = 180 / Math.PI, n = this.R, r = this.R_MINOR / n, i = Math.sqrt(1 - r * r), a = Math.exp(-e.y / n), o = Math.PI / 2 - 2 * Math.atan(a), s = 0, c = .1, l; s < 15 && Math.abs(c) > 1e-7; s++) l = i * Math.sin(o), l = ((1 - l) / (1 + l)) ** (i / 2), c = Math.PI / 2 - 2 * Math.atan(a * l) - o, o += c;
|
|
2803
2810
|
return new N(o * t, e.x * t / n);
|
|
2804
2811
|
}
|
|
2805
|
-
},
|
|
2812
|
+
}, Vn = {
|
|
2806
2813
|
__proto__: null,
|
|
2807
|
-
LonLat:
|
|
2808
|
-
Mercator:
|
|
2814
|
+
LonLat: zn,
|
|
2815
|
+
Mercator: Bn,
|
|
2809
2816
|
SphericalMercator: z
|
|
2810
|
-
},
|
|
2817
|
+
}, Hn = n({}, I, {
|
|
2811
2818
|
code: "EPSG:3395",
|
|
2812
|
-
projection:
|
|
2819
|
+
projection: Bn,
|
|
2813
2820
|
transformation: function() {
|
|
2814
|
-
var e = .5 / (Math.PI *
|
|
2821
|
+
var e = .5 / (Math.PI * Bn.R);
|
|
2815
2822
|
return se(e, .5, -e, .5);
|
|
2816
2823
|
}()
|
|
2817
|
-
}),
|
|
2824
|
+
}), Un = n({}, I, {
|
|
2818
2825
|
code: "EPSG:4326",
|
|
2819
|
-
projection:
|
|
2826
|
+
projection: zn,
|
|
2820
2827
|
transformation: se(1 / 180, 1, -1 / 180, .5)
|
|
2821
|
-
}),
|
|
2822
|
-
projection:
|
|
2828
|
+
}), Wn = n({}, F, {
|
|
2829
|
+
projection: zn,
|
|
2823
2830
|
transformation: se(1, 0, -1, 0),
|
|
2824
2831
|
scale: function(e) {
|
|
2825
2832
|
return 2 ** e;
|
|
@@ -2833,8 +2840,8 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2833
2840
|
},
|
|
2834
2841
|
infinite: !0
|
|
2835
2842
|
});
|
|
2836
|
-
F.Earth = I, F.EPSG3395 =
|
|
2837
|
-
var
|
|
2843
|
+
F.Earth = I, F.EPSG3395 = Hn, F.EPSG3857 = ce, F.EPSG900913 = le, F.EPSG4326 = Un, F.Simple = Wn;
|
|
2844
|
+
var Gn = E.extend({
|
|
2838
2845
|
options: {
|
|
2839
2846
|
pane: "overlayPane",
|
|
2840
2847
|
attribution: null,
|
|
@@ -2911,7 +2918,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2911
2918
|
this._layersMaxZoom = t === -Infinity ? void 0 : t, this._layersMinZoom = e === Infinity ? void 0 : e, n !== this._getZoomSpan() && this.fire("zoomlevelschange"), this.options.maxZoom === void 0 && this._layersMaxZoom && this.getZoom() > this._layersMaxZoom && this.setZoom(this._layersMaxZoom), this.options.minZoom === void 0 && this._layersMinZoom && this.getZoom() < this._layersMinZoom && this.setZoom(this._layersMinZoom);
|
|
2912
2919
|
}
|
|
2913
2920
|
});
|
|
2914
|
-
var
|
|
2921
|
+
var Kn = Gn.extend({
|
|
2915
2922
|
initialize: function(e, t) {
|
|
2916
2923
|
p(this, t), this._layers = {};
|
|
2917
2924
|
var n, r;
|
|
@@ -2959,14 +2966,14 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2959
2966
|
getLayerId: function(e) {
|
|
2960
2967
|
return o(e);
|
|
2961
2968
|
}
|
|
2962
|
-
}),
|
|
2963
|
-
return new
|
|
2964
|
-
},
|
|
2969
|
+
}), qn = function(e, t) {
|
|
2970
|
+
return new Kn(e, t);
|
|
2971
|
+
}, Jn = Kn.extend({
|
|
2965
2972
|
addLayer: function(e) {
|
|
2966
|
-
return this.hasLayer(e) ? this : (e.addEventParent(this),
|
|
2973
|
+
return this.hasLayer(e) ? this : (e.addEventParent(this), Kn.prototype.addLayer.call(this, e), this.fire("layeradd", { layer: e }));
|
|
2967
2974
|
},
|
|
2968
2975
|
removeLayer: function(e) {
|
|
2969
|
-
return this.hasLayer(e) ? (e in this._layers && (e = this._layers[e]), e.removeEventParent(this),
|
|
2976
|
+
return this.hasLayer(e) ? (e in this._layers && (e = this._layers[e]), e.removeEventParent(this), Kn.prototype.removeLayer.call(this, e), this.fire("layerremove", { layer: e })) : this;
|
|
2970
2977
|
},
|
|
2971
2978
|
setStyle: function(e) {
|
|
2972
2979
|
return this.invoke("setStyle", e);
|
|
@@ -2985,9 +2992,9 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2985
2992
|
}
|
|
2986
2993
|
return e;
|
|
2987
2994
|
}
|
|
2988
|
-
}),
|
|
2989
|
-
return new
|
|
2990
|
-
},
|
|
2995
|
+
}), Yn = function(e, t) {
|
|
2996
|
+
return new Jn(e, t);
|
|
2997
|
+
}, Xn = ie.extend({
|
|
2991
2998
|
options: {
|
|
2992
2999
|
popupAnchor: [0, 0],
|
|
2993
3000
|
tooltipAnchor: [0, 0],
|
|
@@ -3024,10 +3031,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3024
3031
|
return U.retina && this.options[e + "RetinaUrl"] || this.options[e + "Url"];
|
|
3025
3032
|
}
|
|
3026
3033
|
});
|
|
3027
|
-
function
|
|
3028
|
-
return new
|
|
3034
|
+
function Zn(e) {
|
|
3035
|
+
return new Xn(e);
|
|
3029
3036
|
}
|
|
3030
|
-
var
|
|
3037
|
+
var Qn = Xn.extend({
|
|
3031
3038
|
options: {
|
|
3032
3039
|
iconUrl: "marker-icon.png",
|
|
3033
3040
|
iconRetinaUrl: "marker-icon-2x.png",
|
|
@@ -3039,7 +3046,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3039
3046
|
shadowSize: [41, 41]
|
|
3040
3047
|
},
|
|
3041
3048
|
_getIconUrl: function(e) {
|
|
3042
|
-
return typeof
|
|
3049
|
+
return typeof Qn.imagePath != "string" && (Qn.imagePath = this._detectIconPath()), (this.options.imagePath || Qn.imagePath) + Xn.prototype._getIconUrl.call(this, e);
|
|
3043
3050
|
},
|
|
3044
3051
|
_stripUrl: function(e) {
|
|
3045
3052
|
var t = function(e, t, n) {
|
|
@@ -3054,7 +3061,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3054
3061
|
var n = document.querySelector("link[href$=\"leaflet.css\"]");
|
|
3055
3062
|
return n ? n.href.substring(0, n.href.length - 11 - 1) : "";
|
|
3056
3063
|
}
|
|
3057
|
-
}),
|
|
3064
|
+
}), $n = hn.extend({
|
|
3058
3065
|
initialize: function(e) {
|
|
3059
3066
|
this._marker = e;
|
|
3060
3067
|
},
|
|
@@ -3098,9 +3105,9 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3098
3105
|
_onDragEnd: function(e) {
|
|
3099
3106
|
S(this._panRequest), delete this._oldLatLng, this._marker.fire("moveend").fire("dragend", e);
|
|
3100
3107
|
}
|
|
3101
|
-
}),
|
|
3108
|
+
}), er = Gn.extend({
|
|
3102
3109
|
options: {
|
|
3103
|
-
icon: new
|
|
3110
|
+
icon: new Qn(),
|
|
3104
3111
|
interactive: !0,
|
|
3105
3112
|
keyboard: !0,
|
|
3106
3113
|
title: "",
|
|
@@ -3191,9 +3198,9 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3191
3198
|
this._setPos(t);
|
|
3192
3199
|
},
|
|
3193
3200
|
_initInteraction: function() {
|
|
3194
|
-
if (this.options.interactive && (K(this._icon, "leaflet-interactive"), this.addInteractiveTarget(this._icon),
|
|
3201
|
+
if (this.options.interactive && (K(this._icon, "leaflet-interactive"), this.addInteractiveTarget(this._icon), $n)) {
|
|
3195
3202
|
var e = this.options.draggable;
|
|
3196
|
-
this.dragging && (e = this.dragging.enabled(), this.dragging.disable()), this.dragging = new
|
|
3203
|
+
this.dragging && (e = this.dragging.enabled(), this.dragging.disable()), this.dragging = new $n(this), e && this.dragging.enable();
|
|
3197
3204
|
}
|
|
3198
3205
|
},
|
|
3199
3206
|
setOpacity: function(e) {
|
|
@@ -3226,10 +3233,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3226
3233
|
return this.options.icon.options.tooltipAnchor;
|
|
3227
3234
|
}
|
|
3228
3235
|
});
|
|
3229
|
-
function
|
|
3230
|
-
return new
|
|
3236
|
+
function tr(e, t) {
|
|
3237
|
+
return new er(e, t);
|
|
3231
3238
|
}
|
|
3232
|
-
var
|
|
3239
|
+
var nr = Gn.extend({
|
|
3233
3240
|
options: {
|
|
3234
3241
|
stroke: !0,
|
|
3235
3242
|
color: "#3388ff",
|
|
@@ -3276,7 +3283,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3276
3283
|
_clickTolerance: function() {
|
|
3277
3284
|
return (this.options.stroke ? this.options.weight / 2 : 0) + (this._renderer.options.tolerance || 0);
|
|
3278
3285
|
}
|
|
3279
|
-
}),
|
|
3286
|
+
}), rr = nr.extend({
|
|
3280
3287
|
options: {
|
|
3281
3288
|
fill: !0,
|
|
3282
3289
|
radius: 10
|
|
@@ -3302,7 +3309,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3302
3309
|
},
|
|
3303
3310
|
setStyle: function(e) {
|
|
3304
3311
|
var t = e && e.radius || this._radius;
|
|
3305
|
-
return
|
|
3312
|
+
return nr.prototype.setStyle.call(this, e), this.setRadius(t), this;
|
|
3306
3313
|
},
|
|
3307
3314
|
_project: function() {
|
|
3308
3315
|
this._point = this._map.latLngToLayerPoint(this._latlng), this._updateBounds();
|
|
@@ -3324,10 +3331,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3324
3331
|
return e.distanceTo(this._point) <= this._radius + this._clickTolerance();
|
|
3325
3332
|
}
|
|
3326
3333
|
});
|
|
3327
|
-
function
|
|
3328
|
-
return new
|
|
3334
|
+
function ir(e, t) {
|
|
3335
|
+
return new rr(e, t);
|
|
3329
3336
|
}
|
|
3330
|
-
var
|
|
3337
|
+
var ar = rr.extend({
|
|
3331
3338
|
initialize: function(e, t, r) {
|
|
3332
3339
|
if (typeof t == "number" && (t = n({}, r, { radius: t })), p(this, t), this._latlng = P(e), isNaN(this.options.radius)) throw Error("Circle radius cannot be NaN");
|
|
3333
3340
|
this._mRadius = this.options.radius;
|
|
@@ -3342,7 +3349,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3342
3349
|
var e = [this._radius, this._radiusY || this._radius];
|
|
3343
3350
|
return new j(this._map.layerPointToLatLng(this._point.subtract(e)), this._map.layerPointToLatLng(this._point.add(e)));
|
|
3344
3351
|
},
|
|
3345
|
-
setStyle:
|
|
3352
|
+
setStyle: nr.prototype.setStyle,
|
|
3346
3353
|
_project: function() {
|
|
3347
3354
|
var e = this._latlng.lng, t = this._latlng.lat, n = this._map, r = n.options.crs;
|
|
3348
3355
|
if (r.distance === I.distance) {
|
|
@@ -3355,10 +3362,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3355
3362
|
this._updateBounds();
|
|
3356
3363
|
}
|
|
3357
3364
|
});
|
|
3358
|
-
function
|
|
3359
|
-
return new
|
|
3365
|
+
function or(e, t, n) {
|
|
3366
|
+
return new ar(e, t, n);
|
|
3360
3367
|
}
|
|
3361
|
-
var
|
|
3368
|
+
var sr = nr.extend({
|
|
3362
3369
|
options: {
|
|
3363
3370
|
smoothFactor: 1,
|
|
3364
3371
|
noClip: !1
|
|
@@ -3385,7 +3392,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3385
3392
|
},
|
|
3386
3393
|
getCenter: function() {
|
|
3387
3394
|
if (!this._map) throw Error("Must add layer to map before using getCenter()");
|
|
3388
|
-
return
|
|
3395
|
+
return Ln(this._defaultShape(), this._map.options.crs);
|
|
3389
3396
|
},
|
|
3390
3397
|
getBounds: function() {
|
|
3391
3398
|
return this._bounds;
|
|
@@ -3445,11 +3452,11 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3445
3452
|
return !1;
|
|
3446
3453
|
}
|
|
3447
3454
|
});
|
|
3448
|
-
function
|
|
3449
|
-
return new
|
|
3455
|
+
function cr(e, t) {
|
|
3456
|
+
return new sr(e, t);
|
|
3450
3457
|
}
|
|
3451
|
-
|
|
3452
|
-
var
|
|
3458
|
+
sr._flat = In;
|
|
3459
|
+
var lr = sr.extend({
|
|
3453
3460
|
options: { fill: !0 },
|
|
3454
3461
|
isEmpty: function() {
|
|
3455
3462
|
return !this._latlngs.length || !this._latlngs[0].length;
|
|
@@ -3459,11 +3466,11 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3459
3466
|
return bn(this._defaultShape(), this._map.options.crs);
|
|
3460
3467
|
},
|
|
3461
3468
|
_convertLatLngs: function(e) {
|
|
3462
|
-
var t =
|
|
3469
|
+
var t = sr.prototype._convertLatLngs.call(this, e), n = t.length;
|
|
3463
3470
|
return n >= 2 && t[0] instanceof N && t[0].equals(t[n - 1]) && t.pop(), t;
|
|
3464
3471
|
},
|
|
3465
3472
|
_setLatLngs: function(e) {
|
|
3466
|
-
|
|
3473
|
+
sr.prototype._setLatLngs.call(this, e), Fn(this._latlngs) && (this._latlngs = [this._latlngs]);
|
|
3467
3474
|
},
|
|
3468
3475
|
_defaultShape: function() {
|
|
3469
3476
|
return Fn(this._latlngs[0]) ? this._latlngs[0] : this._latlngs[0][0];
|
|
@@ -3485,13 +3492,13 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3485
3492
|
var t = !1, n, r, i, a, o, s, c, l;
|
|
3486
3493
|
if (!this._pxBounds || !this._pxBounds.contains(e)) return !1;
|
|
3487
3494
|
for (a = 0, c = this._parts.length; a < c; a++) for (n = this._parts[a], o = 0, l = n.length, s = l - 1; o < l; s = o++) r = n[o], i = n[s], r.y > e.y != i.y > e.y && e.x < (i.x - r.x) * (e.y - r.y) / (i.y - r.y) + r.x && (t = !t);
|
|
3488
|
-
return t ||
|
|
3495
|
+
return t || sr.prototype._containsPoint.call(this, e, !0);
|
|
3489
3496
|
}
|
|
3490
3497
|
});
|
|
3491
|
-
function
|
|
3492
|
-
return new
|
|
3498
|
+
function ur(e, t) {
|
|
3499
|
+
return new lr(e, t);
|
|
3493
3500
|
}
|
|
3494
|
-
var
|
|
3501
|
+
var dr = Jn.extend({
|
|
3495
3502
|
initialize: function(e, t) {
|
|
3496
3503
|
p(this, t), this._layers = {}, e && this.addData(e);
|
|
3497
3504
|
},
|
|
@@ -3503,8 +3510,8 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3503
3510
|
}
|
|
3504
3511
|
var a = this.options;
|
|
3505
3512
|
if (a.filter && !a.filter(e)) return this;
|
|
3506
|
-
var o =
|
|
3507
|
-
return o ? (o.feature =
|
|
3513
|
+
var o = fr(e, a);
|
|
3514
|
+
return o ? (o.feature = yr(e), o.defaultOptions = o.options, this.resetStyle(o), a.onEachFeature && a.onEachFeature(e, o), this.addLayer(o)) : this;
|
|
3508
3515
|
},
|
|
3509
3516
|
resetStyle: function(e) {
|
|
3510
3517
|
return e === void 0 ? this.eachLayer(this.resetStyle, this) : (e.options = n({}, e.defaultOptions), this._setLayerStyle(e, this.options.style), this);
|
|
@@ -3518,92 +3525,92 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3518
3525
|
e.setStyle && (typeof t == "function" && (t = t(e.feature)), e.setStyle(t));
|
|
3519
3526
|
}
|
|
3520
3527
|
});
|
|
3521
|
-
function
|
|
3522
|
-
var n = e.type === "Feature" ? e.geometry : e, r = n ? n.coordinates : null, i = [], a = t && t.pointToLayer, o = t && t.coordsToLatLng ||
|
|
3528
|
+
function fr(e, t) {
|
|
3529
|
+
var n = e.type === "Feature" ? e.geometry : e, r = n ? n.coordinates : null, i = [], a = t && t.pointToLayer, o = t && t.coordsToLatLng || mr, s, c, l, u;
|
|
3523
3530
|
if (!r && !n) return null;
|
|
3524
3531
|
switch (n.type) {
|
|
3525
|
-
case "Point": return s = o(r),
|
|
3532
|
+
case "Point": return s = o(r), pr(a, e, s, t);
|
|
3526
3533
|
case "MultiPoint":
|
|
3527
|
-
for (l = 0, u = r.length; l < u; l++) s = o(r[l]), i.push(
|
|
3528
|
-
return new
|
|
3534
|
+
for (l = 0, u = r.length; l < u; l++) s = o(r[l]), i.push(pr(a, e, s, t));
|
|
3535
|
+
return new Jn(i);
|
|
3529
3536
|
case "LineString":
|
|
3530
|
-
case "MultiLineString": return c =
|
|
3537
|
+
case "MultiLineString": return c = hr(r, n.type === "LineString" ? 0 : 1, o), new sr(c, t);
|
|
3531
3538
|
case "Polygon":
|
|
3532
|
-
case "MultiPolygon": return c =
|
|
3539
|
+
case "MultiPolygon": return c = hr(r, n.type === "Polygon" ? 1 : 2, o), new lr(c, t);
|
|
3533
3540
|
case "GeometryCollection":
|
|
3534
3541
|
for (l = 0, u = n.geometries.length; l < u; l++) {
|
|
3535
|
-
var d =
|
|
3542
|
+
var d = fr({
|
|
3536
3543
|
geometry: n.geometries[l],
|
|
3537
3544
|
type: "Feature",
|
|
3538
3545
|
properties: e.properties
|
|
3539
3546
|
}, t);
|
|
3540
3547
|
d && i.push(d);
|
|
3541
3548
|
}
|
|
3542
|
-
return new
|
|
3549
|
+
return new Jn(i);
|
|
3543
3550
|
case "FeatureCollection":
|
|
3544
3551
|
for (l = 0, u = n.features.length; l < u; l++) {
|
|
3545
|
-
var f =
|
|
3552
|
+
var f = fr(n.features[l], t);
|
|
3546
3553
|
f && i.push(f);
|
|
3547
3554
|
}
|
|
3548
|
-
return new
|
|
3555
|
+
return new Jn(i);
|
|
3549
3556
|
default: throw Error("Invalid GeoJSON object.");
|
|
3550
3557
|
}
|
|
3551
3558
|
}
|
|
3552
|
-
function
|
|
3553
|
-
return e ? e(t, n) : new
|
|
3559
|
+
function pr(e, t, n, r) {
|
|
3560
|
+
return e ? e(t, n) : new er(n, r && r.markersInheritOptions && r);
|
|
3554
3561
|
}
|
|
3555
|
-
function
|
|
3562
|
+
function mr(e) {
|
|
3556
3563
|
return new N(e[1], e[0], e[2]);
|
|
3557
3564
|
}
|
|
3558
|
-
function
|
|
3559
|
-
for (var r = [], i = 0, a = e.length, o; i < a; i++) o = t ?
|
|
3565
|
+
function hr(e, t, n) {
|
|
3566
|
+
for (var r = [], i = 0, a = e.length, o; i < a; i++) o = t ? hr(e[i], t - 1, n) : (n || mr)(e[i]), r.push(o);
|
|
3560
3567
|
return r;
|
|
3561
3568
|
}
|
|
3562
|
-
function
|
|
3569
|
+
function gr(e, t) {
|
|
3563
3570
|
return e = P(e), e.alt === void 0 ? [u(e.lng, t), u(e.lat, t)] : [
|
|
3564
3571
|
u(e.lng, t),
|
|
3565
3572
|
u(e.lat, t),
|
|
3566
3573
|
u(e.alt, t)
|
|
3567
3574
|
];
|
|
3568
3575
|
}
|
|
3569
|
-
function
|
|
3570
|
-
for (var i = [], a = 0, o = e.length; a < o; a++) i.push(t ?
|
|
3576
|
+
function _r(e, t, n, r) {
|
|
3577
|
+
for (var i = [], a = 0, o = e.length; a < o; a++) i.push(t ? _r(e[a], Fn(e[a]) ? 0 : t - 1, n, r) : gr(e[a], r));
|
|
3571
3578
|
return !t && n && i.length > 0 && i.push(i[0].slice()), i;
|
|
3572
3579
|
}
|
|
3573
|
-
function
|
|
3574
|
-
return e.feature ? n({}, e.feature, { geometry: t }) :
|
|
3580
|
+
function vr(e, t) {
|
|
3581
|
+
return e.feature ? n({}, e.feature, { geometry: t }) : yr(t);
|
|
3575
3582
|
}
|
|
3576
|
-
function
|
|
3583
|
+
function yr(e) {
|
|
3577
3584
|
return e.type === "Feature" || e.type === "FeatureCollection" ? e : {
|
|
3578
3585
|
type: "Feature",
|
|
3579
3586
|
properties: {},
|
|
3580
3587
|
geometry: e
|
|
3581
3588
|
};
|
|
3582
3589
|
}
|
|
3583
|
-
var
|
|
3584
|
-
return
|
|
3590
|
+
var br = { toGeoJSON: function(e) {
|
|
3591
|
+
return vr(this, {
|
|
3585
3592
|
type: "Point",
|
|
3586
|
-
coordinates:
|
|
3593
|
+
coordinates: gr(this.getLatLng(), e)
|
|
3587
3594
|
});
|
|
3588
3595
|
} };
|
|
3589
|
-
|
|
3590
|
-
var t = !Fn(this._latlngs), n =
|
|
3591
|
-
return
|
|
3596
|
+
er.include(br), ar.include(br), rr.include(br), sr.include({ toGeoJSON: function(e) {
|
|
3597
|
+
var t = !Fn(this._latlngs), n = _r(this._latlngs, +!!t, !1, e);
|
|
3598
|
+
return vr(this, {
|
|
3592
3599
|
type: (t ? "Multi" : "") + "LineString",
|
|
3593
3600
|
coordinates: n
|
|
3594
3601
|
});
|
|
3595
|
-
} }),
|
|
3596
|
-
var t = !Fn(this._latlngs), n = t && !Fn(this._latlngs[0]), r =
|
|
3597
|
-
return t || (r = [r]),
|
|
3602
|
+
} }), lr.include({ toGeoJSON: function(e) {
|
|
3603
|
+
var t = !Fn(this._latlngs), n = t && !Fn(this._latlngs[0]), r = _r(this._latlngs, n ? 2 : +!!t, !0, e);
|
|
3604
|
+
return t || (r = [r]), vr(this, {
|
|
3598
3605
|
type: (n ? "Multi" : "") + "Polygon",
|
|
3599
3606
|
coordinates: r
|
|
3600
3607
|
});
|
|
3601
|
-
} }),
|
|
3608
|
+
} }), Kn.include({
|
|
3602
3609
|
toMultiPoint: function(e) {
|
|
3603
3610
|
var t = [];
|
|
3604
3611
|
return this.eachLayer(function(n) {
|
|
3605
3612
|
t.push(n.toGeoJSON(e).geometry.coordinates);
|
|
3606
|
-
}),
|
|
3613
|
+
}), vr(this, {
|
|
3607
3614
|
type: "MultiPoint",
|
|
3608
3615
|
coordinates: t
|
|
3609
3616
|
});
|
|
@@ -3617,11 +3624,11 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3617
3624
|
var i = t.toGeoJSON(e);
|
|
3618
3625
|
if (n) r.push(i.geometry);
|
|
3619
3626
|
else {
|
|
3620
|
-
var a =
|
|
3627
|
+
var a = yr(i);
|
|
3621
3628
|
a.type === "FeatureCollection" ? r.push.apply(r, a.features) : r.push(a);
|
|
3622
3629
|
}
|
|
3623
3630
|
}
|
|
3624
|
-
}), n ?
|
|
3631
|
+
}), n ? vr(this, {
|
|
3625
3632
|
geometries: r,
|
|
3626
3633
|
type: "GeometryCollection"
|
|
3627
3634
|
}) : {
|
|
@@ -3630,10 +3637,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3630
3637
|
};
|
|
3631
3638
|
}
|
|
3632
3639
|
});
|
|
3633
|
-
function
|
|
3634
|
-
return new
|
|
3640
|
+
function xr(e, t) {
|
|
3641
|
+
return new dr(e, t);
|
|
3635
3642
|
}
|
|
3636
|
-
var
|
|
3643
|
+
var Sr = xr, Cr = Gn.extend({
|
|
3637
3644
|
options: {
|
|
3638
3645
|
opacity: 1,
|
|
3639
3646
|
alt: "",
|
|
@@ -3716,9 +3723,9 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3716
3723
|
getCenter: function() {
|
|
3717
3724
|
return this._bounds.getCenter();
|
|
3718
3725
|
}
|
|
3719
|
-
}),
|
|
3720
|
-
return new
|
|
3721
|
-
},
|
|
3726
|
+
}), wr = function(e, t, n) {
|
|
3727
|
+
return new Cr(e, t, n);
|
|
3728
|
+
}, Tr = Cr.extend({
|
|
3722
3729
|
options: {
|
|
3723
3730
|
autoplay: !0,
|
|
3724
3731
|
loop: !0,
|
|
@@ -3740,17 +3747,17 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3740
3747
|
}
|
|
3741
3748
|
}
|
|
3742
3749
|
});
|
|
3743
|
-
function
|
|
3744
|
-
return new
|
|
3750
|
+
function Er(e, t, n) {
|
|
3751
|
+
return new Tr(e, t, n);
|
|
3745
3752
|
}
|
|
3746
|
-
var
|
|
3753
|
+
var Dr = Cr.extend({ _initImage: function() {
|
|
3747
3754
|
var e = this._image = this._url;
|
|
3748
3755
|
K(e, "leaflet-image-layer"), this._zoomAnimated && K(e, "leaflet-zoom-animated"), this.options.className && K(e, this.options.className), e.onselectstart = l, e.onmousemove = l;
|
|
3749
3756
|
} });
|
|
3750
|
-
function
|
|
3751
|
-
return new
|
|
3757
|
+
function Or(e, t, n) {
|
|
3758
|
+
return new Dr(e, t, n);
|
|
3752
3759
|
}
|
|
3753
|
-
var
|
|
3760
|
+
var kr = Gn.extend({
|
|
3754
3761
|
options: {
|
|
3755
3762
|
interactive: !1,
|
|
3756
3763
|
offset: [0, 0],
|
|
@@ -3813,7 +3820,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3813
3820
|
_prepareOpen: function(e) {
|
|
3814
3821
|
var t = this._source;
|
|
3815
3822
|
if (!t._map) return !1;
|
|
3816
|
-
if (t instanceof
|
|
3823
|
+
if (t instanceof Jn) {
|
|
3817
3824
|
t = null;
|
|
3818
3825
|
var n = this._source._layers;
|
|
3819
3826
|
for (var r in n) if (n[r]._map) {
|
|
@@ -3857,11 +3864,11 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3857
3864
|
Q.include({ _initOverlay: function(e, t, n, r) {
|
|
3858
3865
|
var i = t;
|
|
3859
3866
|
return i instanceof e || (i = new e(r).setContent(t)), n && i.setLatLng(n), i;
|
|
3860
|
-
} }),
|
|
3867
|
+
} }), Gn.include({ _initOverlay: function(e, t, n, r) {
|
|
3861
3868
|
var i = n;
|
|
3862
3869
|
return i instanceof e ? (p(i, r), i._source = this) : (i = t && !r ? t : new e(r, this), i.setContent(n)), i;
|
|
3863
3870
|
} });
|
|
3864
|
-
var
|
|
3871
|
+
var Ar = kr.extend({
|
|
3865
3872
|
options: {
|
|
3866
3873
|
pane: "popupPane",
|
|
3867
3874
|
offset: [0, 7],
|
|
@@ -3879,16 +3886,16 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3879
3886
|
className: ""
|
|
3880
3887
|
},
|
|
3881
3888
|
openOn: function(e) {
|
|
3882
|
-
return e = arguments.length ? e : this._source._map, !e.hasLayer(this) && e._popup && e._popup.options.autoClose && e.removeLayer(e._popup), e._popup = this,
|
|
3889
|
+
return e = arguments.length ? e : this._source._map, !e.hasLayer(this) && e._popup && e._popup.options.autoClose && e.removeLayer(e._popup), e._popup = this, kr.prototype.openOn.call(this, e);
|
|
3883
3890
|
},
|
|
3884
3891
|
onAdd: function(e) {
|
|
3885
|
-
|
|
3892
|
+
kr.prototype.onAdd.call(this, e), e.fire("popupopen", { popup: this }), this._source && (this._source.fire("popupopen", { popup: this }, !0), this._source instanceof nr || this._source.on("preclick", qt));
|
|
3886
3893
|
},
|
|
3887
3894
|
onRemove: function(e) {
|
|
3888
|
-
|
|
3895
|
+
kr.prototype.onRemove.call(this, e), e.fire("popupclose", { popup: this }), this._source && (this._source.fire("popupclose", { popup: this }, !0), this._source instanceof nr || this._source.off("preclick", qt));
|
|
3889
3896
|
},
|
|
3890
3897
|
getEvents: function() {
|
|
3891
|
-
var e =
|
|
3898
|
+
var e = kr.prototype.getEvents.call(this);
|
|
3892
3899
|
return (this.options.closeOnClick === void 0 ? this._map.options.closePopupOnClick : this.options.closeOnClick) && (e.preclick = this.close), this.options.keepInView && (e.moveend = this._adjustPan), e;
|
|
3893
3900
|
},
|
|
3894
3901
|
_initLayout: function() {
|
|
@@ -3927,19 +3934,19 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3927
3934
|
_getAnchor: function() {
|
|
3928
3935
|
return O(this._source && this._source._getPopupAnchor ? this._source._getPopupAnchor() : [0, 0]);
|
|
3929
3936
|
}
|
|
3930
|
-
}),
|
|
3931
|
-
return new
|
|
3937
|
+
}), jr = function(e, t) {
|
|
3938
|
+
return new Ar(e, t);
|
|
3932
3939
|
};
|
|
3933
3940
|
Q.mergeOptions({ closePopupOnClick: !0 }), Q.include({
|
|
3934
3941
|
openPopup: function(e, t, n) {
|
|
3935
|
-
return this._initOverlay(
|
|
3942
|
+
return this._initOverlay(Ar, e, t, n).openOn(this), this;
|
|
3936
3943
|
},
|
|
3937
3944
|
closePopup: function(e) {
|
|
3938
3945
|
return e = arguments.length ? e : this._popup, e && e.close(), this;
|
|
3939
3946
|
}
|
|
3940
|
-
}),
|
|
3947
|
+
}), Gn.include({
|
|
3941
3948
|
bindPopup: function(e, t) {
|
|
3942
|
-
return this._popup = this._initOverlay(
|
|
3949
|
+
return this._popup = this._initOverlay(Ar, this._popup, e, t), this._popupHandlersAdded ||= (this.on({
|
|
3943
3950
|
click: this._openPopup,
|
|
3944
3951
|
keypress: this._onKeyPress,
|
|
3945
3952
|
remove: this.closePopup,
|
|
@@ -3955,7 +3962,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3955
3962
|
}), this._popupHandlersAdded = !1, null), this;
|
|
3956
3963
|
},
|
|
3957
3964
|
openPopup: function(e) {
|
|
3958
|
-
return this._popup && (this instanceof
|
|
3965
|
+
return this._popup && (this instanceof Jn || (this._popup._source = this), this._popup._prepareOpen(e || this._latlng) && this._popup.openOn(this._map)), this;
|
|
3959
3966
|
},
|
|
3960
3967
|
closePopup: function() {
|
|
3961
3968
|
return this._popup && this._popup.close(), this;
|
|
@@ -3976,7 +3983,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3976
3983
|
if (!(!this._popup || !this._map)) {
|
|
3977
3984
|
Xt(e);
|
|
3978
3985
|
var t = e.layer || e.target;
|
|
3979
|
-
if (this._popup._source === t && !(t instanceof
|
|
3986
|
+
if (this._popup._source === t && !(t instanceof nr)) {
|
|
3980
3987
|
this._map.hasLayer(this._popup) ? this.closePopup() : this.openPopup(e.latlng);
|
|
3981
3988
|
return;
|
|
3982
3989
|
}
|
|
@@ -3990,7 +3997,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3990
3997
|
e.originalEvent.keyCode === 13 && this._openPopup(e);
|
|
3991
3998
|
}
|
|
3992
3999
|
});
|
|
3993
|
-
var
|
|
4000
|
+
var Mr = kr.extend({
|
|
3994
4001
|
options: {
|
|
3995
4002
|
pane: "tooltipPane",
|
|
3996
4003
|
offset: [0, 0],
|
|
@@ -4000,13 +4007,13 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4000
4007
|
opacity: .9
|
|
4001
4008
|
},
|
|
4002
4009
|
onAdd: function(e) {
|
|
4003
|
-
|
|
4010
|
+
kr.prototype.onAdd.call(this, e), this.setOpacity(this.options.opacity), e.fire("tooltipopen", { tooltip: this }), this._source && (this.addEventParent(this._source), this._source.fire("tooltipopen", { tooltip: this }, !0));
|
|
4004
4011
|
},
|
|
4005
4012
|
onRemove: function(e) {
|
|
4006
|
-
|
|
4013
|
+
kr.prototype.onRemove.call(this, e), e.fire("tooltipclose", { tooltip: this }), this._source && (this.removeEventParent(this._source), this._source.fire("tooltipclose", { tooltip: this }, !0));
|
|
4007
4014
|
},
|
|
4008
4015
|
getEvents: function() {
|
|
4009
|
-
var e =
|
|
4016
|
+
var e = kr.prototype.getEvents.call(this);
|
|
4010
4017
|
return this.options.permanent || (e.preclick = this.close), e;
|
|
4011
4018
|
},
|
|
4012
4019
|
_initLayout: function() {
|
|
@@ -4033,19 +4040,19 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4033
4040
|
_getAnchor: function() {
|
|
4034
4041
|
return O(this._source && this._source._getTooltipAnchor && !this.options.sticky ? this._source._getTooltipAnchor() : [0, 0]);
|
|
4035
4042
|
}
|
|
4036
|
-
}),
|
|
4037
|
-
return new
|
|
4043
|
+
}), Nr = function(e, t) {
|
|
4044
|
+
return new Mr(e, t);
|
|
4038
4045
|
};
|
|
4039
4046
|
Q.include({
|
|
4040
4047
|
openTooltip: function(e, t, n) {
|
|
4041
|
-
return this._initOverlay(
|
|
4048
|
+
return this._initOverlay(Mr, e, t, n).openOn(this), this;
|
|
4042
4049
|
},
|
|
4043
4050
|
closeTooltip: function(e) {
|
|
4044
4051
|
return e.close(), this;
|
|
4045
4052
|
}
|
|
4046
|
-
}),
|
|
4053
|
+
}), Gn.include({
|
|
4047
4054
|
bindTooltip: function(e, t) {
|
|
4048
|
-
return this._tooltip && this.isTooltipOpen() && this.unbindTooltip(), this._tooltip = this._initOverlay(
|
|
4055
|
+
return this._tooltip && this.isTooltipOpen() && this.unbindTooltip(), this._tooltip = this._initOverlay(Mr, this._tooltip, e, t), this._initTooltipInteractions(), this._tooltip.options.permanent && this._map && this._map.hasLayer(this) && this.openTooltip(), this;
|
|
4049
4056
|
},
|
|
4050
4057
|
unbindTooltip: function() {
|
|
4051
4058
|
return this._tooltip &&= (this._initTooltipInteractions(!0), this.closeTooltip(), null), this;
|
|
@@ -4060,7 +4067,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4060
4067
|
}
|
|
4061
4068
|
},
|
|
4062
4069
|
openTooltip: function(e) {
|
|
4063
|
-
return this._tooltip && (this instanceof
|
|
4070
|
+
return this._tooltip && (this instanceof Jn || (this._tooltip._source = this), this._tooltip._prepareOpen(e) && (this._tooltip.openOn(this._map), this.getElement ? this._setAriaDescribedByOnLayer(this) : this.eachLayer && this.eachLayer(this._setAriaDescribedByOnLayer, this))), this;
|
|
4064
4071
|
},
|
|
4065
4072
|
closeTooltip: function() {
|
|
4066
4073
|
if (this._tooltip) return this._tooltip.close();
|
|
@@ -4108,7 +4115,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4108
4115
|
this._tooltip.options.sticky && e.originalEvent && (n = this._map.mouseEventToContainerPoint(e.originalEvent), r = this._map.containerPointToLayerPoint(n), t = this._map.layerPointToLatLng(r)), this._tooltip.setLatLng(t);
|
|
4109
4116
|
}
|
|
4110
4117
|
});
|
|
4111
|
-
var
|
|
4118
|
+
var Pr = Xn.extend({
|
|
4112
4119
|
options: {
|
|
4113
4120
|
iconSize: [12, 12],
|
|
4114
4121
|
html: !1,
|
|
@@ -4127,11 +4134,11 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4127
4134
|
return null;
|
|
4128
4135
|
}
|
|
4129
4136
|
});
|
|
4130
|
-
function
|
|
4131
|
-
return new
|
|
4137
|
+
function Fr(e) {
|
|
4138
|
+
return new Pr(e);
|
|
4132
4139
|
}
|
|
4133
|
-
|
|
4134
|
-
var
|
|
4140
|
+
Xn.Default = Qn;
|
|
4141
|
+
var Ir = Gn.extend({
|
|
4135
4142
|
options: {
|
|
4136
4143
|
tileSize: 256,
|
|
4137
4144
|
opacity: 1,
|
|
@@ -4429,10 +4436,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4429
4436
|
return !0;
|
|
4430
4437
|
}
|
|
4431
4438
|
});
|
|
4432
|
-
function
|
|
4433
|
-
return new
|
|
4439
|
+
function Lr(e) {
|
|
4440
|
+
return new Ir(e);
|
|
4434
4441
|
}
|
|
4435
|
-
var
|
|
4442
|
+
var Rr = Ir.extend({
|
|
4436
4443
|
options: {
|
|
4437
4444
|
minZoom: 0,
|
|
4438
4445
|
maxZoom: 18,
|
|
@@ -4500,16 +4507,16 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4500
4507
|
},
|
|
4501
4508
|
_removeTile: function(e) {
|
|
4502
4509
|
var t = this._tiles[e];
|
|
4503
|
-
if (t) return t.el.setAttribute("src", te),
|
|
4510
|
+
if (t) return t.el.setAttribute("src", te), Ir.prototype._removeTile.call(this, e);
|
|
4504
4511
|
},
|
|
4505
4512
|
_tileReady: function(e, t, n) {
|
|
4506
|
-
if (!(!this._map || n && n.getAttribute("src") === te)) return
|
|
4513
|
+
if (!(!this._map || n && n.getAttribute("src") === te)) return Ir.prototype._tileReady.call(this, e, t, n);
|
|
4507
4514
|
}
|
|
4508
4515
|
});
|
|
4509
|
-
function
|
|
4510
|
-
return new
|
|
4516
|
+
function zr(e, t) {
|
|
4517
|
+
return new Rr(e, t);
|
|
4511
4518
|
}
|
|
4512
|
-
var
|
|
4519
|
+
var Br = Rr.extend({
|
|
4513
4520
|
defaultWmsParams: {
|
|
4514
4521
|
service: "WMS",
|
|
4515
4522
|
request: "GetMap",
|
|
@@ -4534,10 +4541,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4534
4541
|
onAdd: function(e) {
|
|
4535
4542
|
this._crs = this.options.crs || e.options.crs, this._wmsVersion = parseFloat(this.wmsParams.version);
|
|
4536
4543
|
var t = this._wmsVersion >= 1.3 ? "crs" : "srs";
|
|
4537
|
-
this.wmsParams[t] = this._crs.code,
|
|
4544
|
+
this.wmsParams[t] = this._crs.code, Rr.prototype.onAdd.call(this, e);
|
|
4538
4545
|
},
|
|
4539
4546
|
getTileUrl: function(e) {
|
|
4540
|
-
var t = this._tileCoordsToNwSe(e), n = this._crs, r = A(n.project(t[0]), n.project(t[1])), i = r.min, a = r.max, o = (this._wmsVersion >= 1.3 && this._crs ===
|
|
4547
|
+
var t = this._tileCoordsToNwSe(e), n = this._crs, r = A(n.project(t[0]), n.project(t[1])), i = r.min, a = r.max, o = (this._wmsVersion >= 1.3 && this._crs === Un ? [
|
|
4541
4548
|
i.y,
|
|
4542
4549
|
i.x,
|
|
4543
4550
|
a.y,
|
|
@@ -4547,18 +4554,18 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4547
4554
|
i.y,
|
|
4548
4555
|
a.x,
|
|
4549
4556
|
a.y
|
|
4550
|
-
]).join(","), s =
|
|
4557
|
+
]).join(","), s = Rr.prototype.getTileUrl.call(this, e);
|
|
4551
4558
|
return s + m(this.wmsParams, s, this.options.uppercase) + (this.options.uppercase ? "&BBOX=" : "&bbox=") + o;
|
|
4552
4559
|
},
|
|
4553
4560
|
setParams: function(e, t) {
|
|
4554
4561
|
return n(this.wmsParams, e), t || this.redraw(), this;
|
|
4555
4562
|
}
|
|
4556
4563
|
});
|
|
4557
|
-
function
|
|
4558
|
-
return new
|
|
4564
|
+
function Vr(e, t) {
|
|
4565
|
+
return new Br(e, t);
|
|
4559
4566
|
}
|
|
4560
|
-
|
|
4561
|
-
var
|
|
4567
|
+
Rr.WMS = Br, zr.wms = Vr;
|
|
4568
|
+
var Hr = Gn.extend({
|
|
4562
4569
|
options: { padding: .1 },
|
|
4563
4570
|
initialize: function(e) {
|
|
4564
4571
|
p(this, e), o(this), this._layers = this._layers || {};
|
|
@@ -4601,17 +4608,17 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4601
4608
|
var e = this.options.padding, t = this._map.getSize(), n = this._map.containerPointToLayerPoint(t.multiplyBy(-e)).round();
|
|
4602
4609
|
this._bounds = new k(n, n.add(t.multiplyBy(1 + e * 2)).round()), this._center = this._map.getCenter(), this._zoom = this._map.getZoom();
|
|
4603
4610
|
}
|
|
4604
|
-
}),
|
|
4611
|
+
}), Ur = Hr.extend({
|
|
4605
4612
|
options: { tolerance: 0 },
|
|
4606
4613
|
getEvents: function() {
|
|
4607
|
-
var e =
|
|
4614
|
+
var e = Hr.prototype.getEvents.call(this);
|
|
4608
4615
|
return e.viewprereset = this._onViewPreReset, e;
|
|
4609
4616
|
},
|
|
4610
4617
|
_onViewPreReset: function() {
|
|
4611
4618
|
this._postponeUpdatePaths = !0;
|
|
4612
4619
|
},
|
|
4613
4620
|
onAdd: function() {
|
|
4614
|
-
|
|
4621
|
+
Hr.prototype.onAdd.call(this), this._draw();
|
|
4615
4622
|
},
|
|
4616
4623
|
_initContainer: function() {
|
|
4617
4624
|
var e = this._container = document.createElement("canvas");
|
|
@@ -4629,13 +4636,13 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4629
4636
|
},
|
|
4630
4637
|
_update: function() {
|
|
4631
4638
|
if (!(this._map._animatingZoom && this._bounds)) {
|
|
4632
|
-
|
|
4639
|
+
Hr.prototype._update.call(this);
|
|
4633
4640
|
var e = this._bounds, t = this._container, n = e.getSize(), r = U.retina ? 2 : 1;
|
|
4634
4641
|
J(t, e.min), t.width = r * n.x, t.height = r * n.y, t.style.width = n.x + "px", t.style.height = n.y + "px", U.retina && this._ctx.scale(2, 2), this._ctx.translate(-e.min.x, -e.min.y), this.fire("update");
|
|
4635
4642
|
}
|
|
4636
4643
|
},
|
|
4637
4644
|
_reset: function() {
|
|
4638
|
-
|
|
4645
|
+
Hr.prototype._reset.call(this), this._postponeUpdatePaths && (this._postponeUpdatePaths = !1, this._updatePaths());
|
|
4639
4646
|
},
|
|
4640
4647
|
_initPath: function(e) {
|
|
4641
4648
|
this._updateDashArray(e), this._layers[o(e)] = e;
|
|
@@ -4764,10 +4771,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4764
4771
|
}
|
|
4765
4772
|
}
|
|
4766
4773
|
});
|
|
4767
|
-
function
|
|
4768
|
-
return U.canvas ? new
|
|
4774
|
+
function Wr(e) {
|
|
4775
|
+
return U.canvas ? new Ur(e) : null;
|
|
4769
4776
|
}
|
|
4770
|
-
var
|
|
4777
|
+
var Gr = (function() {
|
|
4771
4778
|
try {
|
|
4772
4779
|
return document.namespaces.add("lvml", "urn:schemas-microsoft-com:vml"), function(e) {
|
|
4773
4780
|
return document.createElement("<lvml:" + e + " class=\"lvml\">");
|
|
@@ -4776,16 +4783,16 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4776
4783
|
return function(e) {
|
|
4777
4784
|
return document.createElement("<" + e + " xmlns=\"urn:schemas-microsoft.com:vml\" class=\"lvml\">");
|
|
4778
4785
|
};
|
|
4779
|
-
})(),
|
|
4786
|
+
})(), Kr = {
|
|
4780
4787
|
_initContainer: function() {
|
|
4781
4788
|
this._container = W("div", "leaflet-vml-container");
|
|
4782
4789
|
},
|
|
4783
4790
|
_update: function() {
|
|
4784
|
-
this._map._animatingZoom || (
|
|
4791
|
+
this._map._animatingZoom || (Hr.prototype._update.call(this), this.fire("update"));
|
|
4785
4792
|
},
|
|
4786
4793
|
_initPath: function(e) {
|
|
4787
|
-
var t = e._container =
|
|
4788
|
-
K(t, "leaflet-vml-shape " + (this.options.className || "")), t.coordsize = "1 1", e._path =
|
|
4794
|
+
var t = e._container = Gr("shape");
|
|
4795
|
+
K(t, "leaflet-vml-shape " + (this.options.className || "")), t.coordsize = "1 1", e._path = Gr("path"), t.appendChild(e._path), this._updateStyle(e), this._layers[o(e)] = e;
|
|
4789
4796
|
},
|
|
4790
4797
|
_addPath: function(e) {
|
|
4791
4798
|
var t = e._container;
|
|
@@ -4797,7 +4804,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4797
4804
|
},
|
|
4798
4805
|
_updateStyle: function(e) {
|
|
4799
4806
|
var t = e._stroke, n = e._fill, r = e.options, i = e._container;
|
|
4800
|
-
i.stroked = !!r.stroke, i.filled = !!r.fill, r.stroke ? (t ||= e._stroke =
|
|
4807
|
+
i.stroked = !!r.stroke, i.filled = !!r.fill, r.stroke ? (t ||= e._stroke = Gr("stroke"), i.appendChild(t), t.weight = r.weight + "px", t.color = r.color, t.opacity = r.opacity, r.dashArray ? t.dashStyle = _(r.dashArray) ? r.dashArray.join(" ") : r.dashArray.replace(/( *, *)/g, " ") : t.dashStyle = "", t.endcap = r.lineCap.replace("butt", "flat"), t.joinstyle = r.lineJoin) : t && (i.removeChild(t), e._stroke = null), r.fill ? (n ||= e._fill = Gr("fill"), i.appendChild(n), n.color = r.fillColor || r.color, n.opacity = r.fillOpacity) : n && (i.removeChild(n), e._fill = null);
|
|
4801
4808
|
},
|
|
4802
4809
|
_updateCircle: function(e) {
|
|
4803
4810
|
var t = e._point.round(), n = Math.round(e._radius), r = Math.round(e._radiusY || n);
|
|
@@ -4812,16 +4819,16 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4812
4819
|
_bringToBack: function(e) {
|
|
4813
4820
|
bt(e._container);
|
|
4814
4821
|
}
|
|
4815
|
-
},
|
|
4822
|
+
}, qr = U.vml ? Gr : ue, Jr = Hr.extend({
|
|
4816
4823
|
_initContainer: function() {
|
|
4817
|
-
this._container =
|
|
4824
|
+
this._container = qr("svg"), this._container.setAttribute("pointer-events", "none"), this._rootGroup = qr("g"), this._container.appendChild(this._rootGroup);
|
|
4818
4825
|
},
|
|
4819
4826
|
_destroyContainer: function() {
|
|
4820
4827
|
G(this._container), X(this._container), delete this._container, delete this._rootGroup, delete this._svgSize;
|
|
4821
4828
|
},
|
|
4822
4829
|
_update: function() {
|
|
4823
4830
|
if (!(this._map._animatingZoom && this._bounds)) {
|
|
4824
|
-
|
|
4831
|
+
Hr.prototype._update.call(this);
|
|
4825
4832
|
var e = this._bounds, t = e.getSize(), n = this._container;
|
|
4826
4833
|
(!this._svgSize || !this._svgSize.equals(t)) && (this._svgSize = t, n.setAttribute("width", t.x), n.setAttribute("height", t.y)), J(n, e.min), n.setAttribute("viewBox", [
|
|
4827
4834
|
e.min.x,
|
|
@@ -4832,7 +4839,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4832
4839
|
}
|
|
4833
4840
|
},
|
|
4834
4841
|
_initPath: function(e) {
|
|
4835
|
-
var t = e._path =
|
|
4842
|
+
var t = e._path = qr("path");
|
|
4836
4843
|
e.options.className && K(t, e.options.className), e.options.interactive && K(t, "leaflet-interactive"), this._updateStyle(e), this._layers[o(e)] = e;
|
|
4837
4844
|
},
|
|
4838
4845
|
_addPath: function(e) {
|
|
@@ -4865,9 +4872,9 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4865
4872
|
bt(e._path);
|
|
4866
4873
|
}
|
|
4867
4874
|
});
|
|
4868
|
-
U.vml &&
|
|
4869
|
-
function
|
|
4870
|
-
return U.svg || U.vml ? new
|
|
4875
|
+
U.vml && Jr.include(Kr);
|
|
4876
|
+
function Yr(e) {
|
|
4877
|
+
return U.svg || U.vml ? new Jr(e) : null;
|
|
4871
4878
|
}
|
|
4872
4879
|
Q.include({
|
|
4873
4880
|
getRenderer: function(e) {
|
|
@@ -4880,12 +4887,12 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4880
4887
|
return t === void 0 && (t = this._createRenderer({ pane: e }), this._paneRenderers[e] = t), t;
|
|
4881
4888
|
},
|
|
4882
4889
|
_createRenderer: function(e) {
|
|
4883
|
-
return this.options.preferCanvas &&
|
|
4890
|
+
return this.options.preferCanvas && Wr(e) || Yr(e);
|
|
4884
4891
|
}
|
|
4885
4892
|
});
|
|
4886
|
-
var
|
|
4893
|
+
var Xr = lr.extend({
|
|
4887
4894
|
initialize: function(e, t) {
|
|
4888
|
-
|
|
4895
|
+
lr.prototype.initialize.call(this, this._boundsToLatLngs(e), t);
|
|
4889
4896
|
},
|
|
4890
4897
|
setBounds: function(e) {
|
|
4891
4898
|
return this.setLatLngs(this._boundsToLatLngs(e));
|
|
@@ -4899,11 +4906,11 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4899
4906
|
];
|
|
4900
4907
|
}
|
|
4901
4908
|
});
|
|
4902
|
-
function
|
|
4903
|
-
return new
|
|
4909
|
+
function Zr(e, t) {
|
|
4910
|
+
return new Xr(e, t);
|
|
4904
4911
|
}
|
|
4905
|
-
|
|
4906
|
-
var
|
|
4912
|
+
Jr.create = qr, Jr.pointsToPath = de, dr.geometryToLayer = fr, dr.coordsToLatLng = mr, dr.coordsToLatLngs = hr, dr.latLngToCoords = gr, dr.latLngsToCoords = _r, dr.getFeature = vr, dr.asFeature = yr, Q.mergeOptions({ boxZoom: !0 });
|
|
4913
|
+
var Qr = hn.extend({
|
|
4907
4914
|
initialize: function(e) {
|
|
4908
4915
|
this._map = e, this._container = e._container, this._pane = e._panes.overlayPane, this._resetStateTimeout = 0, e.on("unload", this._destroy, this);
|
|
4909
4916
|
},
|
|
@@ -4958,8 +4965,8 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4958
4965
|
e.keyCode === 27 && (this._finish(), this._clearDeferredResetState(), this._resetState());
|
|
4959
4966
|
}
|
|
4960
4967
|
});
|
|
4961
|
-
Q.addInitHook("addHandler", "boxZoom",
|
|
4962
|
-
var
|
|
4968
|
+
Q.addInitHook("addHandler", "boxZoom", Qr), Q.mergeOptions({ doubleClickZoom: !0 });
|
|
4969
|
+
var $r = hn.extend({
|
|
4963
4970
|
addHooks: function() {
|
|
4964
4971
|
this._map.on("dblclick", this._onDoubleClick, this);
|
|
4965
4972
|
},
|
|
@@ -4971,7 +4978,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4971
4978
|
t.options.doubleClickZoom === "center" ? t.setZoom(i) : t.setZoomAround(e.containerPoint, i);
|
|
4972
4979
|
}
|
|
4973
4980
|
});
|
|
4974
|
-
Q.addInitHook("addHandler", "doubleClickZoom",
|
|
4981
|
+
Q.addInitHook("addHandler", "doubleClickZoom", $r), Q.mergeOptions({
|
|
4975
4982
|
dragging: !0,
|
|
4976
4983
|
inertia: !0,
|
|
4977
4984
|
inertiaDeceleration: 3400,
|
|
@@ -4980,7 +4987,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4980
4987
|
worldCopyJump: !1,
|
|
4981
4988
|
maxBoundsViscosity: 0
|
|
4982
4989
|
});
|
|
4983
|
-
var
|
|
4990
|
+
var ei = hn.extend({
|
|
4984
4991
|
addHooks: function() {
|
|
4985
4992
|
if (!this._draggable) {
|
|
4986
4993
|
var e = this._map;
|
|
@@ -5053,11 +5060,11 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
5053
5060
|
}
|
|
5054
5061
|
}
|
|
5055
5062
|
});
|
|
5056
|
-
Q.addInitHook("addHandler", "dragging",
|
|
5063
|
+
Q.addInitHook("addHandler", "dragging", ei), Q.mergeOptions({
|
|
5057
5064
|
keyboard: !0,
|
|
5058
5065
|
keyboardPanDelta: 80
|
|
5059
5066
|
});
|
|
5060
|
-
var
|
|
5067
|
+
var $ = hn.extend({
|
|
5061
5068
|
keyCodes: {
|
|
5062
5069
|
left: [37],
|
|
5063
5070
|
right: [39],
|
|
@@ -5147,7 +5154,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
5147
5154
|
}
|
|
5148
5155
|
}
|
|
5149
5156
|
});
|
|
5150
|
-
Q.addInitHook("addHandler", "keyboard",
|
|
5157
|
+
Q.addInitHook("addHandler", "keyboard", $), Q.mergeOptions({
|
|
5151
5158
|
scrollWheelZoom: !0,
|
|
5152
5159
|
wheelDebounceTime: 40,
|
|
5153
5160
|
wheelPxPerZoomLevel: 60
|
|
@@ -5263,7 +5270,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
5263
5270
|
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));
|
|
5264
5271
|
}
|
|
5265
5272
|
});
|
|
5266
|
-
Q.addInitHook("addHandler", "touchZoom", ii), Q.BoxZoom =
|
|
5273
|
+
Q.addInitHook("addHandler", "touchZoom", ii), Q.BoxZoom = Qr, Q.DoubleClickZoom = $r, Q.Drag = ei, Q.Keyboard = $, Q.ScrollWheelZoom = ti, Q.TapHold = ri, Q.TouchZoom = ii, e.Bounds = k, e.Browser = U, e.CRS = F, e.Canvas = Ur, e.Circle = ar, e.CircleMarker = rr, e.Class = ie, e.Control = on, e.DivIcon = Pr, e.DivOverlay = kr, e.DomEvent = nn, e.DomUtil = Vt, e.Draggable = vn, e.Evented = E, e.FeatureGroup = Jn, e.GeoJSON = dr, e.GridLayer = Ir, e.Handler = hn, e.Icon = Xn, e.ImageOverlay = Cr, e.LatLng = N, e.LatLngBounds = j, e.Layer = Gn, e.LayerGroup = Kn, e.LineUtil = Rn, e.Map = Q, e.Marker = er, e.Mixin = gn, e.Path = nr, e.Point = D, e.PolyUtil = Sn, e.Polygon = lr, e.Polyline = sr, e.Popup = Ar, e.PosAnimation = rn, e.Projection = Vn, e.Rectangle = Xr, e.Renderer = Hr, e.SVG = Jr, e.SVGOverlay = Dr, e.TileLayer = Rr, e.Tooltip = Mr, e.Transformation = oe, e.Util = C, e.VideoOverlay = Tr, e.bind = i, e.bounds = A, e.canvas = Wr, e.circle = or, e.circleMarker = ir, e.control = sn, e.divIcon = Fr, e.extend = n, e.featureGroup = Yn, e.geoJSON = xr, e.geoJson = Sr, e.gridLayer = Lr, e.icon = Zn, e.imageOverlay = wr, e.latLng = P, e.latLngBounds = M, e.layerGroup = qn, e.map = an, e.marker = tr, e.point = O, e.polygon = ur, e.polyline = cr, e.popup = jr, e.rectangle = Zr, e.setOptions = p, e.stamp = o, e.svg = Yr, e.svgOverlay = Or, e.tileLayer = zr, e.tooltip = Nr, e.transformation = se, e.version = t, e.videoOverlay = Er;
|
|
5267
5274
|
var ai = window.L;
|
|
5268
5275
|
e.noConflict = function() {
|
|
5269
5276
|
return window.L = ai, this;
|
|
@@ -6217,7 +6224,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6217
6224
|
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", {
|
|
6218
6225
|
key: n.id,
|
|
6219
6226
|
class: "konnectio-hotel-room"
|
|
6220
|
-
}, [R.value ? (b(), m("div", cn, [l(
|
|
6227
|
+
}, [R.value ? (b(), m("div", cn, [l(Me, {
|
|
6221
6228
|
modelValue: n.id,
|
|
6222
6229
|
"onUpdate:modelValue": (e) => n.id = e,
|
|
6223
6230
|
label: r(s)("hotel.roomVariant"),
|
|
@@ -6325,85 +6332,85 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6325
6332
|
callback: { type: Function }
|
|
6326
6333
|
},
|
|
6327
6334
|
setup(e) {
|
|
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:
|
|
6335
|
+
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, dealResolved: x } = C(o), { currency: ie } = C(i), { clearRoomSelection: D } = o, { addToCart: O } = se(), { hasChildSelection: k, hasSharedAddonSelection: A } = i, M = e, N = I(!1), P = f.value || 1, F = p.value || 0, R = te({}), z = n(() => {
|
|
6329
6336
|
function e(e, t) {
|
|
6330
|
-
return
|
|
6337
|
+
return N.value === !0 ? e.extraPrice > t.extraPrice ? -1 : 1 : e.extraPrice > t.extraPrice ? 1 : -1;
|
|
6331
6338
|
}
|
|
6332
|
-
let t =
|
|
6339
|
+
let t = M.roomGroups?.slice().sort(e) || [];
|
|
6333
6340
|
return t.forEach((e) => {
|
|
6334
|
-
|
|
6341
|
+
R[e.id] || (R[e.id] = {
|
|
6335
6342
|
units: 0,
|
|
6336
6343
|
configs: [{
|
|
6337
|
-
adults:
|
|
6338
|
-
children:
|
|
6344
|
+
adults: P,
|
|
6345
|
+
children: F
|
|
6339
6346
|
}]
|
|
6340
6347
|
});
|
|
6341
6348
|
}), t;
|
|
6342
6349
|
});
|
|
6343
|
-
function z(e) {
|
|
6344
|
-
return R.value.find((t) => t.id === e);
|
|
6345
|
-
}
|
|
6346
6350
|
function le(e) {
|
|
6347
|
-
|
|
6348
|
-
if (!t) return N;
|
|
6349
|
-
let n = t.otherPriceOptions?.reduce((e, t) => Math.max(e, t.includedAdults), 0) ?? 0;
|
|
6350
|
-
return Math.max(n, N);
|
|
6351
|
+
return z.value.find((t) => t.id === e);
|
|
6351
6352
|
}
|
|
6352
6353
|
function ue(e) {
|
|
6353
|
-
let t =
|
|
6354
|
-
|
|
6354
|
+
let t = le(e);
|
|
6355
|
+
if (!t) return P;
|
|
6356
|
+
let n = t.otherPriceOptions?.reduce((e, t) => Math.max(e, t.includedAdults), 0) ?? 0;
|
|
6357
|
+
return Math.max(n, P);
|
|
6355
6358
|
}
|
|
6356
6359
|
function de(e) {
|
|
6357
|
-
let t =
|
|
6358
|
-
return t
|
|
6360
|
+
let t = le(e);
|
|
6361
|
+
return !t || !t.otherPriceOptions ? 0 : t.otherPriceOptions.some((e) => e.extraChildPrice > 0) ? Math.max(F, 1) : 0;
|
|
6359
6362
|
}
|
|
6360
6363
|
function pe(e) {
|
|
6361
|
-
let t =
|
|
6362
|
-
return t
|
|
6364
|
+
let t = le(e);
|
|
6365
|
+
return !t || x.value ? 1 : t.availableRoomCount || 1;
|
|
6366
|
+
}
|
|
6367
|
+
function me(e) {
|
|
6368
|
+
let t = le(e);
|
|
6369
|
+
return t ? t.extraPrice + M.weekendFee : 0;
|
|
6363
6370
|
}
|
|
6364
|
-
ae(() => ({ ...
|
|
6365
|
-
Object.keys(
|
|
6366
|
-
let t =
|
|
6371
|
+
ae(() => ({ ...R }), () => {
|
|
6372
|
+
Object.keys(R).forEach((e) => {
|
|
6373
|
+
let t = R[Number(e)], n = t.units, r = t.configs.length;
|
|
6367
6374
|
if (n > r) for (let e = r; e < n; e++) t.configs.push({
|
|
6368
|
-
adults:
|
|
6369
|
-
children:
|
|
6375
|
+
adults: P,
|
|
6376
|
+
children: F
|
|
6370
6377
|
});
|
|
6371
6378
|
else n < r && t.configs.splice(n);
|
|
6372
6379
|
});
|
|
6373
6380
|
}, { deep: !0 });
|
|
6374
|
-
let
|
|
6375
|
-
JSON.stringify(
|
|
6381
|
+
let ge = n(() => {
|
|
6382
|
+
JSON.stringify(R);
|
|
6376
6383
|
let e = {};
|
|
6377
|
-
return
|
|
6378
|
-
let n =
|
|
6384
|
+
return z.value.forEach((t) => {
|
|
6385
|
+
let n = R[t.id];
|
|
6379
6386
|
if (!n) {
|
|
6380
6387
|
e[t.id] = [];
|
|
6381
6388
|
return;
|
|
6382
6389
|
}
|
|
6383
|
-
e[t.id] = n.configs.map((e) => fe(t, e.adults, e.children,
|
|
6390
|
+
e[t.id] = n.configs.map((e) => fe(t, e.adults, e.children, P, F));
|
|
6384
6391
|
}), e;
|
|
6385
6392
|
});
|
|
6386
|
-
function
|
|
6387
|
-
return
|
|
6393
|
+
function _e(e, t) {
|
|
6394
|
+
return ge.value[e]?.[t] ?? 0;
|
|
6388
6395
|
}
|
|
6389
|
-
function
|
|
6396
|
+
function B() {
|
|
6390
6397
|
let e = 0;
|
|
6391
|
-
return
|
|
6392
|
-
let n =
|
|
6398
|
+
return z.value.forEach((t) => {
|
|
6399
|
+
let n = R[t.id];
|
|
6393
6400
|
if (!(!n || n.units === 0)) for (let r = 0; r < n.units; r++) {
|
|
6394
|
-
let n =
|
|
6395
|
-
e += n +
|
|
6401
|
+
let n = _e(t.id, r);
|
|
6402
|
+
e += n + M.weekendFee;
|
|
6396
6403
|
}
|
|
6397
6404
|
}), e;
|
|
6398
6405
|
}
|
|
6399
|
-
function
|
|
6400
|
-
return Object.values(
|
|
6406
|
+
function ve() {
|
|
6407
|
+
return Object.values(R).reduce((e, t) => e + t.units, 0);
|
|
6401
6408
|
}
|
|
6402
|
-
let
|
|
6403
|
-
let t =
|
|
6409
|
+
let be = n(() => z.value.filter((e) => R[e.id]?.units > 0).map((e) => {
|
|
6410
|
+
let t = R[e.id], n = t.configs.slice(0, t.units).map((t, n) => ({
|
|
6404
6411
|
adults: t.adults,
|
|
6405
6412
|
children: t.children,
|
|
6406
|
-
price:
|
|
6413
|
+
price: _e(e.id, n) + M.weekendFee
|
|
6407
6414
|
}));
|
|
6408
6415
|
return {
|
|
6409
6416
|
id: e.id,
|
|
@@ -6412,17 +6419,17 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6412
6419
|
units: n
|
|
6413
6420
|
};
|
|
6414
6421
|
}));
|
|
6415
|
-
ae(
|
|
6422
|
+
ae(be, () => {
|
|
6416
6423
|
j(() => window.dispatchEvent(new Event("resize")));
|
|
6417
6424
|
});
|
|
6418
|
-
function
|
|
6419
|
-
if (!Object.values(
|
|
6420
|
-
|
|
6425
|
+
function xe() {
|
|
6426
|
+
if (!Object.values(R).some((e) => e.units > 0)) return;
|
|
6427
|
+
D();
|
|
6421
6428
|
let e = [], t = 0, n = 0;
|
|
6422
|
-
if (
|
|
6423
|
-
let i =
|
|
6429
|
+
if (z.value.forEach((r) => {
|
|
6430
|
+
let i = R[r.id];
|
|
6424
6431
|
if (!i || i.units === 0) return;
|
|
6425
|
-
let a = i.configs.slice(0, i.units), o =
|
|
6432
|
+
let a = i.configs.slice(0, i.units), o = A(c.value) ? {} : null;
|
|
6426
6433
|
e.push({
|
|
6427
6434
|
roomGroupId: r.id,
|
|
6428
6435
|
unitConfigs: a.map((e) => ({
|
|
@@ -6432,8 +6439,8 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6432
6439
|
}))
|
|
6433
6440
|
}), _.value ||= r.id;
|
|
6434
6441
|
for (let e = 0; e < i.units; e++) {
|
|
6435
|
-
let t =
|
|
6436
|
-
|
|
6442
|
+
let t = _e(r.id, e);
|
|
6443
|
+
O({
|
|
6437
6444
|
id: r.id,
|
|
6438
6445
|
name: r.title,
|
|
6439
6446
|
value: t
|
|
@@ -6442,63 +6449,63 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6442
6449
|
a.forEach((e) => {
|
|
6443
6450
|
t += e.adults, n += e.children;
|
|
6444
6451
|
});
|
|
6445
|
-
}), ee.value = e, g.value =
|
|
6446
|
-
|
|
6452
|
+
}), ee.value = e, g.value = M.templateId, re.value = t, y.value = n, M.hideAddons === !1 && ne.value === !1) {
|
|
6453
|
+
M.callback(1);
|
|
6447
6454
|
return;
|
|
6448
6455
|
}
|
|
6449
|
-
|
|
6456
|
+
M.callback(2);
|
|
6450
6457
|
}
|
|
6451
6458
|
return (n, i) => (b(), u(Be, {
|
|
6452
6459
|
title: e.title,
|
|
6453
6460
|
subtitle: r(t)("booking.availability.selectATemplateRoom")
|
|
6454
6461
|
}, {
|
|
6455
|
-
footer: S(() => [T("div", bn, [
|
|
6462
|
+
footer: S(() => [T("div", bn, [be.value.length > 0 ? (b(), m("div", xn, [(b(!0), m(a, null, w(be.value, (e) => (b(), m("div", {
|
|
6456
6463
|
key: e.id,
|
|
6457
6464
|
class: "konnectio-template-selection-item"
|
|
6458
|
-
}, [T("div", Sn, [T("span", Cn, h(e.title), 1), T("span", wn, h(r(
|
|
6465
|
+
}, [T("div", Sn, [T("span", Cn, h(e.title), 1), T("span", wn, h(r(V)(e.totalPrice, r(ie))), 1)]), T("div", Tn, [(b(!0), m(a, null, w(e.units, (e, n) => (b(), m("span", {
|
|
6459
6466
|
key: n,
|
|
6460
6467
|
class: "konnectio-template-selection-unit"
|
|
6461
6468
|
}, [
|
|
6462
6469
|
s(h(r(t)("booking.reservation.room")) + " " + h(n + 1) + ": " + h(e.adults) + " " + h(r(t)("availability.adults")) + " ", 1),
|
|
6463
6470
|
e.children > 0 ? (b(), m(a, { key: 0 }, [s(" , " + h(e.children) + " " + h(r(t)("availability.children")), 1)], 64)) : d("", !0),
|
|
6464
|
-
s(" · " + h(r(
|
|
6471
|
+
s(" · " + h(r(V)(e.price, r(ie))), 1)
|
|
6465
6472
|
]))), 128))])]))), 128))])) : d("", !0), l(Ne, {
|
|
6466
|
-
onClickEvent:
|
|
6467
|
-
label: `${
|
|
6468
|
-
disabled:
|
|
6473
|
+
onClickEvent: xe,
|
|
6474
|
+
label: `${ve() > 1 ? r(t)("booking.availability.selectTheseRooms") : r(t)("booking.availability.selectThisRoom")} (${r(V)(B(), r(ie))})`,
|
|
6475
|
+
disabled: ve() === 0,
|
|
6469
6476
|
"full-width": ""
|
|
6470
6477
|
}, null, 8, ["label", "disabled"])])]),
|
|
6471
|
-
default: S(() => [T("div", hn, [T("div", gn, [(b(!0), m(a, null, w(
|
|
6478
|
+
default: S(() => [T("div", hn, [T("div", gn, [(b(!0), m(a, null, w(z.value, (e) => (b(), u(Xe, {
|
|
6472
6479
|
key: e.id,
|
|
6473
6480
|
type: "hotel",
|
|
6474
6481
|
"listing-id": e.id,
|
|
6475
6482
|
name: e.title,
|
|
6476
6483
|
description: e.description,
|
|
6477
6484
|
facilities: e.facilities,
|
|
6478
|
-
"prices-from":
|
|
6485
|
+
"prices-from": me(e.id),
|
|
6479
6486
|
gallery: e.images,
|
|
6480
6487
|
"includes-breakfast": !1,
|
|
6481
6488
|
"hide-info-button": !0
|
|
6482
6489
|
}, {
|
|
6483
6490
|
action: S(() => [T("div", _n, [T("div", vn, [l(je, {
|
|
6484
|
-
modelValue:
|
|
6485
|
-
"onUpdate:modelValue": (t) =>
|
|
6491
|
+
modelValue: R[e.id].units,
|
|
6492
|
+
"onUpdate:modelValue": (t) => R[e.id].units = t,
|
|
6486
6493
|
label: r(t)("booking.availability.units"),
|
|
6487
6494
|
icon: "house",
|
|
6488
6495
|
"icon-type": "fas",
|
|
6489
6496
|
"icon-placement": "label",
|
|
6490
6497
|
"min-value": 0,
|
|
6491
|
-
"max-value":
|
|
6498
|
+
"max-value": pe(e.id),
|
|
6492
6499
|
controls: !0
|
|
6493
6500
|
}, null, 8, [
|
|
6494
6501
|
"modelValue",
|
|
6495
6502
|
"onUpdate:modelValue",
|
|
6496
6503
|
"label",
|
|
6497
6504
|
"max-value"
|
|
6498
|
-
])]), (b(!0), m(a, null, w(
|
|
6505
|
+
])]), (b(!0), m(a, null, w(R[e.id].configs, (n, i) => (b(), m("div", {
|
|
6499
6506
|
key: i,
|
|
6500
6507
|
class: "konnectio-template-room-unit-config"
|
|
6501
|
-
}, [T("div", yn, [T("span", null, h(r(t)("booking.reservation.room")) + " " + h(i + 1), 1), T("span", null, h(r(
|
|
6508
|
+
}, [T("div", yn, [T("span", null, h(r(t)("booking.reservation.room")) + " " + h(i + 1), 1), T("span", null, h(r(V)(_e(e.id, i), r(ie))), 1)]), T("div", { class: E(["konnectio-template-room-guests", { "only-adult-guests": !r(k)(r(c)) }]) }, [l(je, {
|
|
6502
6509
|
modelValue: n.adults,
|
|
6503
6510
|
"onUpdate:modelValue": (e) => n.adults = e,
|
|
6504
6511
|
label: r(t)("availability.adults"),
|
|
@@ -6507,7 +6514,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6507
6514
|
"icon-type": "fas",
|
|
6508
6515
|
"icon-placement": "label",
|
|
6509
6516
|
"min-value": 1,
|
|
6510
|
-
"max-value":
|
|
6517
|
+
"max-value": ue(e.id),
|
|
6511
6518
|
controls: !0
|
|
6512
6519
|
}, null, 8, [
|
|
6513
6520
|
"modelValue",
|
|
@@ -6515,7 +6522,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6515
6522
|
"label",
|
|
6516
6523
|
"description",
|
|
6517
6524
|
"max-value"
|
|
6518
|
-
]), r(
|
|
6525
|
+
]), r(k)(r(c)) ? (b(), u(je, {
|
|
6519
6526
|
key: 0,
|
|
6520
6527
|
modelValue: n.children,
|
|
6521
6528
|
"onUpdate:modelValue": (e) => n.children = e,
|
|
@@ -6525,7 +6532,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6525
6532
|
"icon-type": "fas",
|
|
6526
6533
|
"icon-placement": "label",
|
|
6527
6534
|
"min-value": 0,
|
|
6528
|
-
"max-value":
|
|
6535
|
+
"max-value": de(e.id),
|
|
6529
6536
|
controls: !0
|
|
6530
6537
|
}, null, 8, [
|
|
6531
6538
|
"modelValue",
|
|
@@ -6546,7 +6553,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6546
6553
|
_: 1
|
|
6547
6554
|
}, 8, ["title", "subtitle"]));
|
|
6548
6555
|
}
|
|
6549
|
-
}), [["__scopeId", "data-v-
|
|
6556
|
+
}), [["__scopeId", "data-v-2496dc31"]]), Dn = { class: "konnectio-template-select-package" }, On = /* @__PURE__ */ R({
|
|
6550
6557
|
__name: "Template",
|
|
6551
6558
|
props: {
|
|
6552
6559
|
id: {},
|
|
@@ -6765,7 +6772,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6765
6772
|
get: () => o.modelValue,
|
|
6766
6773
|
set: (e) => s(e)
|
|
6767
6774
|
});
|
|
6768
|
-
return (t, n) => (b(), u(
|
|
6775
|
+
return (t, n) => (b(), u(Me, {
|
|
6769
6776
|
modelValue: c.value,
|
|
6770
6777
|
"onUpdate:modelValue": n[0] ||= (e) => c.value = e,
|
|
6771
6778
|
label: e.label,
|
|
@@ -6844,7 +6851,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6844
6851
|
limit: e.limit,
|
|
6845
6852
|
error: e.error
|
|
6846
6853
|
}, {
|
|
6847
|
-
default: S(() => [T("div", { class: E(["konnectio-name-input", { "no-title": e.excludeTitle }]) }, [e.excludeTitle ? d("", !0) : (b(), u(
|
|
6854
|
+
default: S(() => [T("div", { class: E(["konnectio-name-input", { "no-title": e.excludeTitle }]) }, [e.excludeTitle ? d("", !0) : (b(), u(Me, {
|
|
6848
6855
|
key: 0,
|
|
6849
6856
|
modelValue: s.value,
|
|
6850
6857
|
"onUpdate:modelValue": n[0] ||= (e) => s.value = e,
|
|
@@ -6921,96 +6928,96 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6921
6928
|
"error"
|
|
6922
6929
|
]));
|
|
6923
6930
|
}
|
|
6924
|
-
}), [["__scopeId", "data-v-5448733c"]]), In = { class: "hotel-skeleton" },
|
|
6931
|
+
}), [["__scopeId", "data-v-5448733c"]]), In = { class: "hotel-skeleton" }, Ln = { class: "hotel-skeleton-content" }, Rn = { class: "hotel-skeleton-sidebar" }, zn = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
6925
6932
|
__name: "HotelSkeleton",
|
|
6926
6933
|
setup(e) {
|
|
6927
|
-
return (e, t) => (b(), m("div", In, [T("div",
|
|
6934
|
+
return (e, t) => (b(), m("div", In, [T("div", Ln, [l(We, { hotel: "" }), l(Ze)]), T("div", Rn, [l(Qe)])]));
|
|
6928
6935
|
}
|
|
6929
|
-
}), [["__scopeId", "data-v-2ff36444"]]),
|
|
6936
|
+
}), [["__scopeId", "data-v-2ff36444"]]), Bn = { id: "booking-availability-container" }, Vn = { id: "booking-availability-controls" }, Hn = {
|
|
6930
6937
|
key: 0,
|
|
6931
6938
|
id: "konnectio-hotel-deal-no-availability",
|
|
6932
6939
|
class: "konnectio-panel konnectio-filter-notice"
|
|
6933
|
-
},
|
|
6940
|
+
}, Un = {
|
|
6934
6941
|
key: 1,
|
|
6935
6942
|
class: "konnectio-panel konnectio-filter-notice"
|
|
6936
|
-
},
|
|
6943
|
+
}, Wn = ["innerHTML"], Gn = {
|
|
6937
6944
|
key: 2,
|
|
6938
6945
|
class: "konnectio-panel konnectio-filter-notice"
|
|
6939
|
-
},
|
|
6946
|
+
}, Kn = ["innerHTML"], qn = {
|
|
6940
6947
|
key: 3,
|
|
6941
6948
|
class: "konnectio-panel konnectio-filter-notice"
|
|
6942
|
-
},
|
|
6949
|
+
}, Jn = { key: 5 }, Yn = { key: 0 }, Xn = {
|
|
6943
6950
|
key: 0,
|
|
6944
6951
|
id: "booking-availability-packages"
|
|
6945
|
-
},
|
|
6952
|
+
}, Zn = {
|
|
6946
6953
|
key: 0,
|
|
6947
6954
|
class: "konnectio-hotel-availability-title"
|
|
6948
|
-
},
|
|
6955
|
+
}, Qn = { id: "booking-availability-packages-wrapper" }, $n = { key: 1 }, er = {
|
|
6949
6956
|
key: 0,
|
|
6950
6957
|
class: "konnectio-hotel-availability-title"
|
|
6951
|
-
},
|
|
6958
|
+
}, tr = { id: "konnectio-listings" }, nr = {
|
|
6952
6959
|
key: 0,
|
|
6953
6960
|
class: "konnectio-hotel-availability-title"
|
|
6954
|
-
},
|
|
6961
|
+
}, rr = { id: "konnectio-listings" }, ir = {
|
|
6955
6962
|
key: 0,
|
|
6956
6963
|
id: "booking-availability-packages"
|
|
6957
|
-
},
|
|
6964
|
+
}, ar = { class: "konnectio-hotel-availability-title" }, or = { id: "booking-availability-packages-wrapper" }, sr = {
|
|
6958
6965
|
key: 3,
|
|
6959
6966
|
id: "booking-availability-no-listings",
|
|
6960
6967
|
class: "konnectio-panel"
|
|
6961
|
-
},
|
|
6968
|
+
}, cr = {
|
|
6962
6969
|
key: 1,
|
|
6963
6970
|
id: "reservation-availability-next-dates"
|
|
6964
|
-
},
|
|
6971
|
+
}, lr = { class: "konnectio-panel konnectio-filter-notice" }, ur = ["innerHTML"], dr = { class: "konnectio-hotel-availability-title" }, fr = { class: "reservation-special-offers-grid" }, pr = ["title"], mr = { key: 0 }, hr = {
|
|
6965
6972
|
key: 2,
|
|
6966
6973
|
id: "booking-availability-no-listings",
|
|
6967
6974
|
class: "konnectio-panel"
|
|
6968
|
-
},
|
|
6975
|
+
}, gr = {
|
|
6969
6976
|
key: 6,
|
|
6970
6977
|
class: "konnectio-panel"
|
|
6971
|
-
},
|
|
6978
|
+
}, _r = {
|
|
6972
6979
|
key: 7,
|
|
6973
6980
|
class: "konnectio-listing-loading"
|
|
6974
|
-
},
|
|
6981
|
+
}, vr = { class: "konnectio-hotel-availability-warning" }, yr = { class: "konnectio-hotel-availability-warning" }, br = { class: "konnectio-panel" }, xr = {
|
|
6975
6982
|
key: 0,
|
|
6976
6983
|
class: "konnectio-panel konnectio-filter-notice konnectio-top-message"
|
|
6977
|
-
},
|
|
6984
|
+
}, Sr = ["innerHTML"], Cr = {
|
|
6978
6985
|
key: 0,
|
|
6979
6986
|
id: "konnectio-hotel-addons"
|
|
6980
|
-
},
|
|
6987
|
+
}, wr = { key: 0 }, Tr = {
|
|
6981
6988
|
key: 0,
|
|
6982
6989
|
class: "konnectio-addons-included"
|
|
6983
|
-
},
|
|
6990
|
+
}, Er = ["innerHTML"], Dr = {
|
|
6984
6991
|
key: 1,
|
|
6985
6992
|
class: "konnectio-table with-lines without-header"
|
|
6986
|
-
},
|
|
6993
|
+
}, Or = { class: "konnectio-event-addons-price" }, kr = { key: 1 }, Ar = {
|
|
6987
6994
|
key: 0,
|
|
6988
6995
|
class: "konnectio-table-addons-image"
|
|
6989
|
-
},
|
|
6996
|
+
}, jr = ["innerHTML"], Mr = { class: "konnectio-table-addons-option" }, Nr = {
|
|
6990
6997
|
key: 1,
|
|
6991
6998
|
id: "konnectio-hotel-addons"
|
|
6992
|
-
},
|
|
6999
|
+
}, Pr = {
|
|
6993
7000
|
key: 0,
|
|
6994
7001
|
class: "konnectio-addons-included"
|
|
6995
|
-
},
|
|
7002
|
+
}, Fr = ["innerHTML"], Ir = {
|
|
6996
7003
|
key: 1,
|
|
6997
7004
|
class: "konnectio-table with-lines without-header"
|
|
6998
|
-
},
|
|
7005
|
+
}, Lr = {
|
|
6999
7006
|
key: 0,
|
|
7000
7007
|
class: "konnectio-hotel-reservation-room-name"
|
|
7001
|
-
},
|
|
7008
|
+
}, Rr = {
|
|
7002
7009
|
key: 0,
|
|
7003
7010
|
class: "konnectio-table-addons-image"
|
|
7004
|
-
},
|
|
7011
|
+
}, zr = ["innerHTML"], Br = { class: "konnectio-table-addons-option" }, Vr = { class: "konnectio-panel" }, Hr = {
|
|
7005
7012
|
key: 0,
|
|
7006
7013
|
class: "konnectio-panel konnectio-filter-notice konnectio-top-message"
|
|
7007
|
-
},
|
|
7008
|
-
key:
|
|
7014
|
+
}, Ur = ["innerHTML"], Wr = { key: 0 }, Gr = { key: 1 }, Kr = {
|
|
7015
|
+
key: 3,
|
|
7009
7016
|
class: "konnectio-show-on-mobile"
|
|
7010
|
-
},
|
|
7017
|
+
}, qr = { class: "konnectio-split-inputs" }, Jr = {
|
|
7011
7018
|
key: 0,
|
|
7012
7019
|
class: "konnectio-hotel-member-card-mockup"
|
|
7013
|
-
},
|
|
7020
|
+
}, Yr = ["src"], Xr = { class: "konnectio-hotel-member-card-details" }, Zr = { key: 0 }, Qr = { key: 0 }, $r = /*@__PURE__*/ R({
|
|
7014
7021
|
name: "HotelLayout",
|
|
7015
7022
|
__name: "Hotel",
|
|
7016
7023
|
props: {
|
|
@@ -7033,36 +7040,39 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7033
7040
|
styling: {}
|
|
7034
7041
|
},
|
|
7035
7042
|
setup(e) {
|
|
7036
|
-
let t = _(() => import("./_-
|
|
7043
|
+
let t = _(() => import("./_-BbHoU_rZ.js").then((e) => e.n)), o = e, { t: c } = v(), f = he();
|
|
7037
7044
|
f.requireDealCode = o.requireDealCode === "yes";
|
|
7038
|
-
let { currentLocation: p, templateID: g, templateRoomSelections: te, templateRoomUnits: re, countries: ie, areListingsLoading: D, isPaymentLoading: O, isReservationFormFilled: k,
|
|
7045
|
+
let { currentLocation: p, templateID: g, templateRoomSelections: te, templateRoomUnits: re, countries: ie, areListingsLoading: D, isPaymentLoading: O, isReservationFormFilled: k, totalPrice: A, travelingFor: j, arrivalTime: M, departureTime: N, name: P, nameTitle: F, email: I, confirmEmail: R, phone: z, firmName: fe, postal: B, city: ye, address: xe, country: Se, remark: Ce, allergies: we, roomSelect: De, roomDisplay: Me, hasValidRoomSelection: Pe, availabilityData: Be, selectionHasNoAddons: Ue, isAvailabilityDataAvailable: We, getSelectedPackageRooms: Ke, selectedPackage: U, isSearchOutdated: qe, isTemplateReservation: Xe, newsMails: Ze, adultsMismatch: Qe, childrenMismatch: tt, totalAdults: nt, totalChildren: rt, hasGuestDiscountId: it, hasGuestDiscountCode: at, guestDiscountId: ot, guestDiscountName: st, guestDiscountCode: ct, hasMemberCards: lt, memberCardList: ut, selectedMemberCard: dt, memberCardControlNumber: ft, memberCardNumber: pt, selectedMemberCardObject: mt, selectedMemberCardData: ht, discountCode: gt, appliedDiscountCode: _t, discountPayload: W, dealResolved: G, dealNoAvailability: vt } = C(f), { isHostedCheckoutActive: yt } = C(Oe()), { adults: bt, children: xt, location: q, arrivalDate: St, departureDate: Ct, hasHotelLocations: wt } = C(oe()), { isValidHotelId: Tt, updateDates: Et } = oe(), { currency: Dt, enableTracking: J, disableNamePrefix: Ot, disableTravelingFor: kt, disableTravelingForBleasure: At, disableCompanyField: jt, hasPaymentGateway: Mt, maxAdultAmount: Nt, maxChildAmount: Pt, defaultAdultAmount: Ft, defaultChildAmount: It, disableNewsletterSignup: Lt, requireEmailConfirmation: Rt, hasActiveIdFilter: zt, hotelSettings: Bt } = C(ce()), { hasArrivalDepartureInputs: Vt, hasUserArrivalSelection: Y, hasUserDepartureSelection: Ht, earliestArrivalTime: Ut, latestArrivalTime: Wt, earliestDepartureTime: Gt, latestDepartureTime: qt, hasSharedAddonSelection: Jt, setActiveIdFilter: Yt, clearActiveIdFilter: Xt } = ce(), { beginCheckout: Zt } = se(), { display: Qt } = me(), { createReservation: $t, fetchMetadata: en, fetchAvailabilityData: tn, filterAddons: nn, hasAvailableRoomAddons: rn, checkGuestDiscount: Q, setGuestDiscountCode: an, validateMemberCard: on, onOverviewReset: sn, resetDealFlow: cn, validateDiscountCode: ln, reservationPayload: un } = he();
|
|
7039
7046
|
Re.useHttpClient(Ve(ve()));
|
|
7040
|
-
let
|
|
7041
|
-
|
|
7042
|
-
function
|
|
7043
|
-
|
|
7047
|
+
let dn = Ie("post", "/hotel/create-reservation", un());
|
|
7048
|
+
dn.setValidationTimeout(600);
|
|
7049
|
+
function fn(e) {
|
|
7050
|
+
dn.setData(un()), dn.validate(e);
|
|
7044
7051
|
}
|
|
7045
|
-
function
|
|
7046
|
-
return
|
|
7052
|
+
function pn(e) {
|
|
7053
|
+
return dn.errors[e];
|
|
7047
7054
|
}
|
|
7048
|
-
|
|
7049
|
-
|
|
7050
|
-
|
|
7051
|
-
|
|
7055
|
+
let hn = n(() => {
|
|
7056
|
+
if (Rt.value && R.value !== "" && R.value !== I.value) return c("booking.reservation.confirmEmailError");
|
|
7057
|
+
});
|
|
7058
|
+
ae(P, () => fn("guest.name")), ae(I, () => fn("guest.email")), ae(z, () => fn("guest.phone")), ae(Se, () => fn("guest.country")), ae(xe, () => fn("guest.address1")), ae(B, () => fn("guest.postal")), ae(ye, () => fn("guest.city"));
|
|
7059
|
+
let gn = n(() => o.sortOrder === "desc"), _n = n(() => o.requireDiscountCode === "yes" && !at.value || o.requireDealCode === "yes" && !G.value);
|
|
7060
|
+
function vn(e, t) {
|
|
7061
|
+
return nn(e, t ?? 0).filter((e) => e.cardinality === ke.Mandatory);
|
|
7052
7062
|
}
|
|
7053
|
-
function
|
|
7054
|
-
return
|
|
7063
|
+
function yn(e, t) {
|
|
7064
|
+
return nn(e, t ?? 0).filter((e) => e.cardinality !== ke.Mandatory);
|
|
7055
7065
|
}
|
|
7056
|
-
function
|
|
7066
|
+
function bn(e) {
|
|
7057
7067
|
let t = [];
|
|
7058
|
-
return
|
|
7068
|
+
return Jt(p.value) ? (e?.forEach((e) => {
|
|
7059
7069
|
let n = t.find((t) => t.configIdx === e.configIdx);
|
|
7060
7070
|
n ? (n.adultsCount += e.adultsCount, n.childrenCount += e.childrenCount) : t.push({ ...e });
|
|
7061
7071
|
}), t) : e ?? [];
|
|
7062
7072
|
}
|
|
7063
|
-
let
|
|
7073
|
+
let xn = n(() => {
|
|
7064
7074
|
let e = [];
|
|
7065
|
-
return
|
|
7075
|
+
return Jt(p.value) ? re.value.forEach((t) => {
|
|
7066
7076
|
let n = e.find((e) => e.roomGroupId === t.roomGroupId);
|
|
7067
7077
|
n ? (n.adults += t.adults, n.children += t.children) : e.push({ ...t });
|
|
7068
7078
|
}) : re.value.forEach((t, n) => {
|
|
@@ -7072,7 +7082,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7072
7082
|
unitTotal: re.value.filter((e) => e.roomGroupId === t.roomGroupId).length
|
|
7073
7083
|
});
|
|
7074
7084
|
}), e;
|
|
7075
|
-
}),
|
|
7085
|
+
}), Sn = n(() => [
|
|
7076
7086
|
{
|
|
7077
7087
|
id: "availability",
|
|
7078
7088
|
label: c("booking.availability.title"),
|
|
@@ -7097,7 +7107,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7097
7107
|
label: c("booking.confirmation.title"),
|
|
7098
7108
|
icon: "calendar-check"
|
|
7099
7109
|
}
|
|
7100
|
-
]),
|
|
7110
|
+
]), Cn = n(() => {
|
|
7101
7111
|
let e = [{
|
|
7102
7112
|
label: c("booking.reservation.business"),
|
|
7103
7113
|
value: "Business"
|
|
@@ -7105,150 +7115,150 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7105
7115
|
label: c("booking.reservation.pleasure"),
|
|
7106
7116
|
value: "Pleasure"
|
|
7107
7117
|
}];
|
|
7108
|
-
return
|
|
7118
|
+
return At.value || e.push({
|
|
7109
7119
|
label: c("booking.reservation.bleasure"),
|
|
7110
7120
|
value: "Bleasure"
|
|
7111
7121
|
}), e;
|
|
7112
|
-
}),
|
|
7113
|
-
let e =
|
|
7122
|
+
}), wn = n(() => {
|
|
7123
|
+
let e = Be.value.roomGroups.slice();
|
|
7114
7124
|
function t(e, t) {
|
|
7115
|
-
return
|
|
7125
|
+
return gn.value === !0 ? e.pricesFrom > t.pricesFrom ? -1 : 1 : e.pricesFrom > t.pricesFrom ? 1 : -1;
|
|
7116
7126
|
}
|
|
7117
7127
|
return o.sortBy === "price" && (e = e.sort(t)), e.reduce((e, t) => {
|
|
7118
7128
|
let n = t.roomList.some((e) => e.mapImageX && e.mapImageY) ? "camping" : "rooms";
|
|
7119
7129
|
return (e[n] ??= []).push(t), e;
|
|
7120
7130
|
}, {});
|
|
7121
7131
|
});
|
|
7122
|
-
function
|
|
7132
|
+
function Tn(e) {
|
|
7123
7133
|
return (e.templateRoomGroups.length > 0 ? Math.min(...e.templateRoomGroups.map((e) => e.totalPrice)) : 0) + e.weekendFee;
|
|
7124
7134
|
}
|
|
7125
|
-
let
|
|
7126
|
-
let e =
|
|
7135
|
+
let En = n(() => {
|
|
7136
|
+
let e = Be.value.templates.slice();
|
|
7127
7137
|
return o.sortBy === "price" && e.sort((e, t) => {
|
|
7128
|
-
let n =
|
|
7129
|
-
return
|
|
7138
|
+
let n = Tn(e), r = Tn(t);
|
|
7139
|
+
return gn.value ? r - n : n - r;
|
|
7130
7140
|
}), e;
|
|
7131
|
-
}),
|
|
7132
|
-
let e =
|
|
7141
|
+
}), Dn = n(() => {
|
|
7142
|
+
let e = Be.value.specialTemplates.slice();
|
|
7133
7143
|
return o.sortBy === "price" && e.sort((e, t) => {
|
|
7134
|
-
let n =
|
|
7135
|
-
return
|
|
7144
|
+
let n = Tn(e), r = Tn(t);
|
|
7145
|
+
return gn.value ? r - n : n - r;
|
|
7136
7146
|
}), e;
|
|
7137
|
-
}),
|
|
7138
|
-
function
|
|
7147
|
+
}), kn = n(() => o.hideAddons === "yes" || Xe.value && o.hideAddons === "packages" || !Xe.value && o.hideAddons === "rooms");
|
|
7148
|
+
function An(e) {
|
|
7139
7149
|
let t = $.discount;
|
|
7140
7150
|
if (o.requireDealCode === "yes") {
|
|
7141
7151
|
e();
|
|
7142
7152
|
return;
|
|
7143
7153
|
}
|
|
7144
|
-
t && t !==
|
|
7154
|
+
t && t !== _t.value ? (gt.value = t, ln()) : at.value && !W.value && ct.value !== _t.value && (gt.value = ct.value, ln()), e();
|
|
7145
7155
|
}
|
|
7146
|
-
function
|
|
7147
|
-
|
|
7156
|
+
function Nn(e) {
|
|
7157
|
+
kn.value || Ue.value ? e(2) : e();
|
|
7148
7158
|
}
|
|
7149
|
-
async function
|
|
7150
|
-
let n = await
|
|
7151
|
-
n &&
|
|
7159
|
+
async function In(e, t) {
|
|
7160
|
+
let n = await $t(e, t);
|
|
7161
|
+
n && dn.setErrors(n);
|
|
7152
7162
|
}
|
|
7153
|
-
function
|
|
7154
|
-
if ((
|
|
7155
|
-
|
|
7163
|
+
function Ln() {
|
|
7164
|
+
if ((q.value === void 0 || isNaN(q.value)) && wt.value) {
|
|
7165
|
+
Qt({
|
|
7156
7166
|
message: c("alert.error.selectHotelId"),
|
|
7157
7167
|
type: "error"
|
|
7158
7168
|
});
|
|
7159
7169
|
return;
|
|
7160
7170
|
}
|
|
7161
|
-
|
|
7171
|
+
tn();
|
|
7162
7172
|
}
|
|
7163
|
-
function
|
|
7173
|
+
function Rn() {
|
|
7164
7174
|
let e = x("history", { removeNullishValues: !0 });
|
|
7165
|
-
|
|
7175
|
+
Xt(), e.id = void 0, tn();
|
|
7166
7176
|
}
|
|
7167
|
-
function
|
|
7168
|
-
|
|
7177
|
+
function $r(e) {
|
|
7178
|
+
J.value && Zt(), o.requireDealCode !== "yes" && at.value && !W.value && ct.value !== _t.value && (gt.value = ct.value, ln()), kn.value || Ue.value ? e(2) : e();
|
|
7169
7179
|
}
|
|
7170
|
-
function
|
|
7171
|
-
let e =
|
|
7172
|
-
o.forceArrivalTime && o.forceDepartureTime && e !== void 0 &&
|
|
7180
|
+
function ei() {
|
|
7181
|
+
let e = q.value;
|
|
7182
|
+
o.forceArrivalTime && o.forceDepartureTime && e !== void 0 && Bt.value[e] && (Bt.value[e].disableArrivalUserSelection = !0, o.forceArrivalTime && (Bt.value[e].arrivalDefault = o.forceArrivalTime), o.forceDepartureTime && (Bt.value[e].departureDefault = o.forceDepartureTime));
|
|
7173
7183
|
}
|
|
7174
7184
|
let $ = x("history", { removeNullishValues: !0 });
|
|
7175
|
-
async function
|
|
7176
|
-
|
|
7185
|
+
async function ti() {
|
|
7186
|
+
ei();
|
|
7177
7187
|
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;
|
|
7178
|
-
if (isNaN(e) || (e >
|
|
7188
|
+
if (isNaN(e) || (e > Nt.value ? bt.value = Nt.value : bt.value = e, bt.value === Ft.value && ($.a = void 0)), isNaN(t) || (t > Pt.value ? xt.value = Pt.value : xt.value = t, xt.value === It.value && ($.c = void 0)), isNaN(r) || r > 0 && ($.n = void 0), isNaN(n) || (Tt(n) ? (q.value = n, d = !0) : ($.hid = void 0, Qt({
|
|
7179
7189
|
message: c("alert.error.hotelIdNotFound"),
|
|
7180
7190
|
type: "error"
|
|
7181
7191
|
}))), i && a) {
|
|
7182
7192
|
if (de(i) && de(a)) {
|
|
7183
7193
|
let e = new Date(be(i).setHours(12, 0, 0, 0)), t = new Date(be(a).setHours(12, 0, 0, 0));
|
|
7184
|
-
e <= t ? (
|
|
7194
|
+
e <= t ? (St.value = e, Ct.value = t) : ($.ci = void 0, $.co = void 0, Qt({
|
|
7185
7195
|
message: c("alert.error.invalidDateRange"),
|
|
7186
7196
|
type: "error"
|
|
7187
7197
|
}));
|
|
7188
|
-
} else
|
|
7198
|
+
} else Qt({
|
|
7189
7199
|
message: c("alert.error.wrongDateFormat"),
|
|
7190
7200
|
type: "error"
|
|
7191
7201
|
});
|
|
7192
7202
|
}
|
|
7193
|
-
if (s &&
|
|
7194
|
-
await
|
|
7203
|
+
if (s && Yt(s), l) {
|
|
7204
|
+
await Q(l) || delete $.gid;
|
|
7195
7205
|
return;
|
|
7196
7206
|
}
|
|
7197
|
-
u &&
|
|
7207
|
+
u && an(u), o.disableDefaultLocation === "yes" && d === !1 ? (q.value = void 0, p.value = NaN) : tn();
|
|
7198
7208
|
}
|
|
7199
7209
|
return (n, o) => (b(), u(Te, { styling: e.styling }, {
|
|
7200
|
-
default: S(() => [(b(), u(i, { onResolve:
|
|
7210
|
+
default: S(() => [(b(), u(i, { onResolve: ti }, {
|
|
7201
7211
|
default: S(() => [l(r(t), {
|
|
7202
7212
|
id: "konnectio-hotel-module",
|
|
7203
7213
|
"access-token": e.accessToken,
|
|
7204
|
-
callback: r(
|
|
7214
|
+
callback: r(en)
|
|
7205
7215
|
}, {
|
|
7206
7216
|
default: S(() => [
|
|
7207
|
-
ne(l(Kt, { onCallback:
|
|
7208
|
-
ne(l(Z, null, null, 512), [[ee,
|
|
7217
|
+
ne(l(Kt, { onCallback: ti }, null, 512), [[ee, e.requireGuestDiscountId === "yes" && !r(it)]]),
|
|
7218
|
+
ne(l(Z, null, null, 512), [[ee, _n.value]]),
|
|
7209
7219
|
ne(l(et, {
|
|
7210
7220
|
layout: e.headerLayout,
|
|
7211
|
-
steps:
|
|
7212
|
-
onReset: r(
|
|
7221
|
+
steps: Sn.value,
|
|
7222
|
+
onReset: r(sn)
|
|
7213
7223
|
}, {
|
|
7214
7224
|
availability: S(({ next: t }) => [l(X, {
|
|
7215
7225
|
"show-remove-room": !0,
|
|
7216
7226
|
"availability-discount": "",
|
|
7217
7227
|
"deal-flow": e.requireDealCode === "yes"
|
|
7218
7228
|
}, {
|
|
7219
|
-
form: S(() => [T("div",
|
|
7220
|
-
T("div",
|
|
7229
|
+
form: S(() => [T("div", Bn, [
|
|
7230
|
+
T("div", Vn, [l(Ge, {
|
|
7221
7231
|
booking: !0,
|
|
7222
7232
|
"selected-location": Number(e.selectedLocation),
|
|
7223
7233
|
"disable-default-location": e.disableDefaultLocation === "yes",
|
|
7224
|
-
"hide-locations": e.hideLocations === "yes" || r(
|
|
7234
|
+
"hide-locations": e.hideLocations === "yes" || r(G)
|
|
7225
7235
|
}, null, 8, [
|
|
7226
7236
|
"selected-location",
|
|
7227
7237
|
"disable-default-location",
|
|
7228
7238
|
"hide-locations"
|
|
7229
7239
|
])]),
|
|
7230
|
-
r(
|
|
7240
|
+
r(vt) ? (b(), m("div", Hn, [
|
|
7231
7241
|
T("h3", null, h(r(c)("dealCode.noAvailabilityTitle")), 1),
|
|
7232
7242
|
T("p", null, h(r(c)("dealCode.noAvailabilityBody")), 1),
|
|
7233
7243
|
l(Ne, {
|
|
7234
7244
|
label: r(c)("dealCode.tryAnotherCode"),
|
|
7235
7245
|
secondary: "",
|
|
7236
|
-
onClickEvent: r(
|
|
7246
|
+
onClickEvent: r(cn)
|
|
7237
7247
|
}, null, 8, ["label", "onClickEvent"])
|
|
7238
7248
|
])) : d("", !0),
|
|
7239
|
-
r(
|
|
7240
|
-
r(
|
|
7241
|
-
r(
|
|
7249
|
+
r(it) ? (b(), m("div", Un, [T("span", { innerHTML: r(c)("guestDiscount.displayMessage", { name: `<b>${r(st) ? r(st) : r(ot)}</b>` }) }, null, 8, Wn)])) : d("", !0),
|
|
7250
|
+
r(at) && !r(G) ? (b(), m("div", Gn, [T("span", { innerHTML: r(c)("guestDiscount.displayMessage", { name: `<b>${r(ct)}</b>` }) }, null, 8, Kn)])) : d("", !0),
|
|
7251
|
+
r(zt) ? (b(), m("div", qn, [T("span", null, [s(h(r(c)("general.filteredListingNotice")) + " ", 1), T("button", {
|
|
7242
7252
|
class: "link",
|
|
7243
|
-
onClick: o[0] ||= (e) =>
|
|
7253
|
+
onClick: o[0] ||= (e) => Rn()
|
|
7244
7254
|
}, h(r(c)("general.filteredListingShowAll")), 1)])])) : d("", !0),
|
|
7245
7255
|
d("", !0),
|
|
7246
|
-
!r(D) && r(
|
|
7247
|
-
r(
|
|
7256
|
+
!r(D) && r(We) ? (b(), m("div", Jn, [wn.value.camping && wn.value.camping.length > 0 && e.onlyShow !== "non-camping" || wn.value.rooms && wn.value.rooms.length > 0 || r(Be).templates.length > 0 || r(Be).specialTemplates.length > 0 && !r(zt) ? (b(), m("div", Yn, [
|
|
7257
|
+
r(Be).templates.length > 0 && e.onlyShow !== "rooms" && e.onlyShow !== "camping" ? (b(), m("div", Xn, [e.onlyShow !== "packages" && !r(G) ? (b(), m("h2", Zn, [l(H, {
|
|
7248
7258
|
icon: "box",
|
|
7249
7259
|
type: "fal",
|
|
7250
7260
|
color: "header"
|
|
7251
|
-
}), T("span", null, h(r(c)("booking.availability.packagesTitle")), 1)])) : d("", !0), T("ul",
|
|
7261
|
+
}), T("span", null, h(r(c)("booking.availability.packagesTitle")), 1)])) : d("", !0), T("ul", Qn, [(b(!0), m(a, null, w(En.value, ({ id: n, name: r, templateRoomGroups: i, images: a, description: o, weekendFee: s }) => (b(), u(On, {
|
|
7252
7262
|
key: n,
|
|
7253
7263
|
id: n,
|
|
7254
7264
|
description: o,
|
|
@@ -7268,28 +7278,28 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7268
7278
|
"callback",
|
|
7269
7279
|
"hide-addons"
|
|
7270
7280
|
]))), 128))])])) : d("", !0),
|
|
7271
|
-
r(
|
|
7281
|
+
r(Be).roomGroups.length > 0 && e.onlyShow !== "packages" ? (b(), m("div", $n, [wn.value.rooms && e.onlyShow !== "camping" ? (b(), m(a, { key: 0 }, [r(Be).templates.length > 0 && e.onlyShow !== "rooms" && !r(G) ? (b(), m("h2", er, [l(H, {
|
|
7272
7282
|
icon: "house",
|
|
7273
7283
|
type: "fal",
|
|
7274
7284
|
color: "header"
|
|
7275
|
-
}), T("span", null, h(r(c)("booking.availability.roomsTitle")), 1)])) : d("", !0), T("ul",
|
|
7285
|
+
}), T("span", null, h(r(c)("booking.availability.roomsTitle")), 1)])) : d("", !0), T("ul", tr, [(b(!0), m(a, null, w(wn.value.rooms, (e, n) => (b(), u(mn, {
|
|
7276
7286
|
room: e,
|
|
7277
7287
|
key: n,
|
|
7278
7288
|
callback: t
|
|
7279
|
-
}, null, 8, ["room", "callback"]))), 128))])], 64)) : d("", !0),
|
|
7289
|
+
}, null, 8, ["room", "callback"]))), 128))])], 64)) : d("", !0), wn.value.camping && e.onlyShow !== "rooms" && e.onlyShow !== "non-camping" ? (b(), m(a, { key: 1 }, [r(Be).templates.length > 0 && e.onlyShow !== "camping" && !r(G) ? (b(), m("h2", nr, [l(H, {
|
|
7280
7290
|
icon: "map-location-dot",
|
|
7281
7291
|
type: "fal",
|
|
7282
7292
|
color: "header"
|
|
7283
|
-
}), T("span", null, h(r(c)("booking.availability.campingTitle")), 1)])) : d("", !0), T("ul",
|
|
7293
|
+
}), T("span", null, h(r(c)("booking.availability.campingTitle")), 1)])) : d("", !0), T("ul", rr, [(b(!0), m(a, null, w(wn.value.camping, (e, n) => (b(), u(mn, {
|
|
7284
7294
|
room: e,
|
|
7285
7295
|
key: n,
|
|
7286
7296
|
callback: t
|
|
7287
7297
|
}, null, 8, ["room", "callback"]))), 128))])], 64)) : d("", !0)])) : d("", !0),
|
|
7288
|
-
r(
|
|
7298
|
+
r(zt) ? d("", !0) : (b(), m(a, { key: 2 }, [r(Be).specialTemplates.length > 0 && e.onlyShow !== "rooms" ? (b(), m("div", ir, [T("h2", ar, [l(H, {
|
|
7289
7299
|
icon: "sparkles",
|
|
7290
7300
|
type: "fal",
|
|
7291
7301
|
color: "header"
|
|
7292
|
-
}), T("span", null, h(r(c)("hotel.specialOffers")), 1)]), T("ul",
|
|
7302
|
+
}), T("span", null, h(r(c)("hotel.specialOffers")), 1)]), T("ul", or, [(b(!0), m(a, null, w(Dn.value, ({ id: e, name: t, templateRoomGroups: n, images: r, description: i, weekendFee: a, fromDate: o, toDate: s }) => (b(), u(jn, {
|
|
7293
7303
|
key: e,
|
|
7294
7304
|
id: e,
|
|
7295
7305
|
description: i,
|
|
@@ -7309,17 +7319,17 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7309
7319
|
"weekendFee",
|
|
7310
7320
|
"room-groups"
|
|
7311
7321
|
]))), 128))])])) : d("", !0)], 64)),
|
|
7312
|
-
(r(
|
|
7313
|
-
])) : r(
|
|
7314
|
-
T("div",
|
|
7315
|
-
T("h2",
|
|
7322
|
+
(r(Be).templates.length === 0 && e.onlyShow !== "rooms" || r(Be).roomGroups.length === 0 && e.onlyShow !== "packages") && (e.onlyShow === "rooms" || e.onlyShow === "packages") ? (b(), m("div", sr, [T("span", null, h(r(c)("booking.availability.nothingAvailable")), 1)])) : d("", !0)
|
|
7323
|
+
])) : r(Be).nextAvailableDates.length > 0 ? (b(), m("div", cr, [
|
|
7324
|
+
T("div", lr, [T("span", { innerHTML: r(c)("hotel.everyRoomIsBooked") }, null, 8, ur)]),
|
|
7325
|
+
T("h2", dr, [l(H, {
|
|
7316
7326
|
icon: "calendar-circle-exclamation",
|
|
7317
7327
|
type: "fal",
|
|
7318
7328
|
color: "header"
|
|
7319
7329
|
}), T("span", null, h(r(c)("booking.availability.nextAvailableDates")), 1)]),
|
|
7320
|
-
T("ul",
|
|
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,
|
|
7322
|
-
T("ul", null, [isNaN(e.roomCount) ? d("", !0) : (b(), m("li",
|
|
7330
|
+
T("ul", fr, [(b(!0), m(a, null, w(r(Be).nextAvailableDates, (e, t) => (b(), m("li", { key: t }, [
|
|
7331
|
+
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, pr),
|
|
7332
|
+
T("ul", null, [isNaN(e.roomCount) ? d("", !0) : (b(), m("li", mr, [l(H, {
|
|
7323
7333
|
icon: "house",
|
|
7324
7334
|
type: "fal",
|
|
7325
7335
|
color: "header"
|
|
@@ -7327,79 +7337,79 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7327
7337
|
icon: "money-bill",
|
|
7328
7338
|
type: "fal",
|
|
7329
7339
|
color: "header"
|
|
7330
|
-
}), T("span", null, h(r(c)("booking.availability.pricesFrom")) + ": " + h(r(
|
|
7340
|
+
}), T("span", null, h(r(c)("booking.availability.pricesFrom")) + ": " + h(r(V)(e.priceStartFrom, r(Dt))), 1)])]),
|
|
7331
7341
|
l(Ne, {
|
|
7332
7342
|
label: r(c)("booking.availability.selectDates"),
|
|
7333
7343
|
"full-width": "",
|
|
7334
|
-
onClickEvent: (t) => r(
|
|
7344
|
+
onClickEvent: (t) => r(Et)(r(be)(e.fromDate), r(be)(e.toDate))
|
|
7335
7345
|
}, null, 8, ["label", "onClickEvent"])
|
|
7336
7346
|
]))), 128))])
|
|
7337
|
-
])) : (b(), m("div",
|
|
7347
|
+
])) : (b(), m("div", hr, [T("span", null, h(r(c)("booking.availability.nothingAvailable")), 1)]))])) : isNaN(r(p)) && !r(D) ? (b(), m("div", gr, [T("span", null, h(r(c)("alert.info.selectHotelToStart")), 1)])) : (b(), m("div", _r, [
|
|
7338
7348
|
l($e),
|
|
7339
7349
|
l($e),
|
|
7340
7350
|
l($e)
|
|
7341
7351
|
]))
|
|
7342
7352
|
])]),
|
|
7343
7353
|
navigation: S(() => [
|
|
7344
|
-
r(
|
|
7354
|
+
r(qe) ? (b(), u(Ne, {
|
|
7345
7355
|
key: 0,
|
|
7346
7356
|
label: isNaN(r(p)) ? r(c)("availability.buttonLabel") : r(c)("general.searchAgain"),
|
|
7347
7357
|
"is-loading": r(D),
|
|
7348
7358
|
"full-width": "",
|
|
7349
|
-
onClickEvent: o[2] ||= (e) =>
|
|
7359
|
+
onClickEvent: o[2] ||= (e) => Ln()
|
|
7350
7360
|
}, null, 8, ["label", "is-loading"])) : (b(), u(Ne, {
|
|
7351
7361
|
key: 1,
|
|
7352
|
-
label: r(
|
|
7353
|
-
disabled: !r(
|
|
7362
|
+
label: r(Ue) || kn.value ? r(c)("booking.availability.nextButton") : r(c)("general.chooseAddons"),
|
|
7363
|
+
disabled: !r(Pe),
|
|
7354
7364
|
"full-width": "",
|
|
7355
|
-
onClickEvent: (e) =>
|
|
7365
|
+
onClickEvent: (e) => $r(t)
|
|
7356
7366
|
}, null, 8, [
|
|
7357
7367
|
"label",
|
|
7358
7368
|
"disabled",
|
|
7359
7369
|
"onClickEvent"
|
|
7360
7370
|
])),
|
|
7361
|
-
ne(T("span",
|
|
7371
|
+
ne(T("span", vr, [l(H, {
|
|
7362
7372
|
icon: "exclamation-triangle",
|
|
7363
7373
|
type: "fas"
|
|
7364
7374
|
}), T("span", null, h(r(c)("hotel.mismatchingAdults", {
|
|
7365
|
-
searchAdults: r(
|
|
7366
|
-
selectedAdults: r(
|
|
7367
|
-
})), 1)], 512), [[ee, r(
|
|
7368
|
-
ne(T("span",
|
|
7375
|
+
searchAdults: r(bt),
|
|
7376
|
+
selectedAdults: r(nt)
|
|
7377
|
+
})), 1)], 512), [[ee, r(Qe)]]),
|
|
7378
|
+
ne(T("span", yr, [l(H, {
|
|
7369
7379
|
icon: "exclamation-triangle",
|
|
7370
7380
|
type: "fas"
|
|
7371
7381
|
}), T("span", null, h(r(c)("hotel.mismatchingChildren", {
|
|
7372
|
-
searchChildren: r(
|
|
7373
|
-
selectedChildren: r(
|
|
7374
|
-
})), 1)], 512), [[ee, r(
|
|
7382
|
+
searchChildren: r(xt),
|
|
7383
|
+
selectedChildren: r(rt)
|
|
7384
|
+
})), 1)], 512), [[ee, r(tt)]])
|
|
7375
7385
|
]),
|
|
7376
7386
|
_: 2
|
|
7377
7387
|
}, 1032, ["deal-flow"])]),
|
|
7378
|
-
addons: S(({ next: t, prev: n }) => [r(
|
|
7388
|
+
addons: S(({ next: t, prev: n }) => [r(We) ? (b(), u(X, {
|
|
7379
7389
|
key: 0,
|
|
7380
|
-
"prev-callback": () =>
|
|
7390
|
+
"prev-callback": () => Nn(n),
|
|
7381
7391
|
"deal-flow": e.requireDealCode === "yes"
|
|
7382
7392
|
}, {
|
|
7383
|
-
form: S(() => [T("form",
|
|
7393
|
+
form: S(() => [T("form", br, [
|
|
7384
7394
|
T("h2", null, [T("span", null, h(r(c)("booking.reservation.addons")), 1)]),
|
|
7385
|
-
r(c)("hotel.addonTopNotice") && r(c)("hotel.addonTopNotice") !== "<br>" ? (b(), m("div",
|
|
7395
|
+
r(c)("hotel.addonTopNotice") && r(c)("hotel.addonTopNotice") !== "<br>" ? (b(), m("div", xr, [T("p", {
|
|
7386
7396
|
innerHTML: r(c)("hotel.addonTopNotice"),
|
|
7387
7397
|
class: "konnectio-wysiwyg"
|
|
7388
|
-
}, null, 8,
|
|
7389
|
-
T("div", null, [isNaN(r(g)) ? (b(), m("div",
|
|
7398
|
+
}, null, 8, Sr)])) : d("", !0),
|
|
7399
|
+
T("div", null, [isNaN(r(g)) ? (b(), m("div", Cr, [(b(!0), m(a, null, w(r(Me), (e) => (b(), m(a, { key: e.roomGroupID }, [r(rn)(e) ? (b(), m("ul", wr, [(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(bn(t.rooms), (i) => (b(), m(a, { key: `${i.configIdx}-${i.roomIdx}` }, [vn(t.addons, i.childrenCount).length > 0 ? (b(), m("div", Tr, [T("h5", null, [l(H, {
|
|
7390
7400
|
icon: "check-circle",
|
|
7391
7401
|
type: "fas"
|
|
7392
|
-
}), T("span", null, h(r(c)("general.includedInPrice")), 1)]), T("ul", null, [(b(!0), m(a, null, w(
|
|
7402
|
+
}), T("span", null, h(r(c)("general.includedInPrice")), 1)]), T("ul", null, [(b(!0), m(a, null, w(vn(t.addons, i.childrenCount), ({ id: e, name: t, price: n, quantityStrategy: i, description: a }) => (b(), m("li", { key: e }, [T("div", null, [
|
|
7393
7403
|
T("b", null, h(r(pe)(t)), 1),
|
|
7394
|
-
T("span", null, h(r(
|
|
7404
|
+
T("span", null, h(r(V)(n, r(Dt))) + " " + h(r(le)(i)), 1),
|
|
7395
7405
|
a ? (b(), m("p", {
|
|
7396
7406
|
key: 0,
|
|
7397
7407
|
innerHTML: r(_e)(a)
|
|
7398
|
-
}, null, 8,
|
|
7399
|
-
])]))), 128))])])) : d("", !0),
|
|
7408
|
+
}, null, 8, Er)) : d("", !0)
|
|
7409
|
+
])]))), 128))])])) : d("", !0), yn(t.addons, i.childrenCount).length > 0 ? (b(), m("table", Dr, [T("thead", null, [T("tr", null, [
|
|
7400
7410
|
T("th", null, [T("span", null, h(r(pe)(t.name)), 1)]),
|
|
7401
7411
|
d("", !0),
|
|
7402
|
-
T("th",
|
|
7412
|
+
T("th", Or, [T("b", null, [
|
|
7403
7413
|
l(H, {
|
|
7404
7414
|
icon: "male",
|
|
7405
7415
|
type: "fas",
|
|
@@ -7412,22 +7422,22 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7412
7422
|
type: "fas",
|
|
7413
7423
|
color: "font"
|
|
7414
7424
|
})) : d("", !0),
|
|
7415
|
-
i.childrenCount > 0 ? (b(), m("span",
|
|
7425
|
+
i.childrenCount > 0 ? (b(), m("span", kr, h(i.childrenCount), 1)) : d("", !0)
|
|
7416
7426
|
])])
|
|
7417
|
-
])]), T("tbody", null, [(b(!0), m(a, null, w(
|
|
7427
|
+
])]), T("tbody", null, [(b(!0), m(a, null, w(yn(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", Ar, [l(r(K), {
|
|
7418
7428
|
src: p,
|
|
7419
7429
|
"zoom-scale": 1
|
|
7420
7430
|
}, null, 8, ["src"])])) : d("", !0), T("div", null, [
|
|
7421
7431
|
T("b", null, h(r(pe)(c)), 1),
|
|
7422
|
-
T("span", null, h(r(
|
|
7432
|
+
T("span", null, h(r(V)(f, r(Dt))) + " " + h(r(le)(a)), 1),
|
|
7423
7433
|
g ? (b(), m("p", {
|
|
7424
7434
|
key: 0,
|
|
7425
7435
|
innerHTML: r(_e)(g)
|
|
7426
|
-
}, null, 8,
|
|
7427
|
-
])], 2), T("td",
|
|
7436
|
+
}, null, 8, jr)) : d("", !0)
|
|
7437
|
+
])], 2), T("td", Mr, [r(De)[e.roomGroupID][n].config[i.configIdx].addons[i.roomIdx] ? (b(), u(je, {
|
|
7428
7438
|
key: 0,
|
|
7429
|
-
modelValue: r(
|
|
7430
|
-
"onUpdate:modelValue": (t) => r(
|
|
7439
|
+
modelValue: r(De)[e.roomGroupID][n].config[i.configIdx].addons[i.roomIdx][s],
|
|
7440
|
+
"onUpdate:modelValue": (t) => r(De)[e.roomGroupID][n].config[i.configIdx].addons[i.roomIdx][s] = t,
|
|
7431
7441
|
small: !0,
|
|
7432
7442
|
"min-value": 0,
|
|
7433
7443
|
"max-value": r(ue)(t, o)
|
|
@@ -7435,31 +7445,31 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7435
7445
|
"modelValue",
|
|
7436
7446
|
"onUpdate:modelValue",
|
|
7437
7447
|
"max-value"
|
|
7438
|
-
])) : d("", !0)])]))), 128))])])) : d("", !0)], 64))), 128))]))), 128))])) : d("", !0)], 64))), 128))])) : r(re).length > 0 ? (b(), m("div",
|
|
7448
|
+
])) : d("", !0)])]))), 128))])])) : d("", !0)], 64))), 128))]))), 128))])) : d("", !0)], 64))), 128))])) : r(re).length > 0 ? (b(), m("div", Nr, [T("div", null, [T("h4", null, [T("span", null, h(r(U)?.name), 1)]), (b(!0), m(a, null, w(xn.value, (e) => (b(), m(a, { key: `${e.roomGroupId}-${e.configIdx}` }, [vn(r(Ke).find((t) => t.id === e.roomGroupId)?.addons, e.children).length > 0 ? (b(), m("div", Pr, [T("h5", null, [l(H, {
|
|
7439
7449
|
icon: "check-circle",
|
|
7440
7450
|
type: "fas"
|
|
7441
|
-
}), T("span", null, h(r(c)("general.includedInPrice")), 1)]), T("ul", null, [(b(!0), m(a, null, w(
|
|
7451
|
+
}), T("span", null, h(r(c)("general.includedInPrice")), 1)]), T("ul", null, [(b(!0), m(a, null, w(vn(r(Ke).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
7452
|
T("b", null, h(r(pe)(t)), 1),
|
|
7443
|
-
T("span", null, h(r(
|
|
7453
|
+
T("span", null, h(r(V)(n, r(Dt))) + " " + h(r(le)(i)), 1),
|
|
7444
7454
|
a ? (b(), m("p", {
|
|
7445
7455
|
key: 0,
|
|
7446
7456
|
innerHTML: r(_e)(a)
|
|
7447
|
-
}, null, 8,
|
|
7448
|
-
])]))), 128))])])) : d("", !0),
|
|
7449
|
-
T("th", null, [T("span", null, h(r(pe)(r(
|
|
7457
|
+
}, null, 8, Fr)) : d("", !0)
|
|
7458
|
+
])]))), 128))])])) : d("", !0), yn(r(Ke).find((t) => t.id === e.roomGroupId)?.addons, e.children).length > 0 ? (b(), m("table", Ir, [T("thead", null, [T("tr", null, [
|
|
7459
|
+
T("th", null, [T("span", null, h(r(pe)(r(Ke).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), (e.unitTotal ?? 0) > 1 ? (b(), m("span", Lr, "(" + h(r(c)("booking.reservation.room")) + " " + h(e.unitNumber) + ")", 1)) : d("", !0)]),
|
|
7450
7460
|
d("", !0),
|
|
7451
|
-
o[
|
|
7452
|
-
])]), T("tbody", null, [(b(!0), m(a, null, w(
|
|
7461
|
+
o[25] ||= T("th", { class: "konnectio-event-addons-price" }, null, -1)
|
|
7462
|
+
])]), T("tbody", null, [(b(!0), m(a, null, w(yn(r(Ke).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", Rr, [l(r(K), {
|
|
7453
7463
|
src: u,
|
|
7454
7464
|
"zoom-scale": 1
|
|
7455
7465
|
}, null, 8, ["src"])])) : d("", !0), T("div", null, [
|
|
7456
7466
|
T("b", null, h(r(pe)(o)), 1),
|
|
7457
|
-
T("span", null, h(r(
|
|
7467
|
+
T("span", null, h(r(V)(s, r(Dt))) + " " + h(r(le)(n)), 1),
|
|
7458
7468
|
c ? (b(), m("p", {
|
|
7459
7469
|
key: 0,
|
|
7460
7470
|
innerHTML: r(_e)(c)
|
|
7461
|
-
}, null, 8,
|
|
7462
|
-
])], 2), T("td",
|
|
7471
|
+
}, null, 8, zr)) : d("", !0)
|
|
7472
|
+
])], 2), T("td", Br, [l(je, {
|
|
7463
7473
|
modelValue: r(te)[e.selectionIdx].unitConfigs[e.configIdx].addons[a],
|
|
7464
7474
|
"onUpdate:modelValue": (t) => r(te)[e.selectionIdx].unitConfigs[e.configIdx].addons[a] = t,
|
|
7465
7475
|
small: !0,
|
|
@@ -7474,46 +7484,46 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7474
7484
|
navigation: S(() => [l(Ne, {
|
|
7475
7485
|
label: r(c)("general.startReservation"),
|
|
7476
7486
|
"full-width": "",
|
|
7477
|
-
onClickEvent: (e) =>
|
|
7487
|
+
onClickEvent: (e) => An(t)
|
|
7478
7488
|
}, null, 8, ["label", "onClickEvent"])]),
|
|
7479
7489
|
_: 2
|
|
7480
7490
|
}, 1032, ["prev-callback", "deal-flow"])) : d("", !0)]),
|
|
7481
|
-
reservation: S(({ next: t, prev: n, reset: i }) => [r(
|
|
7491
|
+
reservation: S(({ next: t, prev: n, reset: i }) => [r(We) ? (b(), u(X, {
|
|
7482
7492
|
key: 0,
|
|
7483
|
-
"prev-callback": () =>
|
|
7493
|
+
"prev-callback": () => Nn(n),
|
|
7484
7494
|
"show-terms-notice": !0,
|
|
7485
7495
|
"show-gift-card": !0,
|
|
7486
7496
|
"deal-flow": e.requireDealCode === "yes"
|
|
7487
7497
|
}, {
|
|
7488
|
-
form: S(() => [T("form",
|
|
7498
|
+
form: S(() => [T("form", Vr, [
|
|
7489
7499
|
T("h2", null, [T("span", null, h(r(c)("booking.reservation.detailsTitle")), 1)]),
|
|
7490
|
-
r(c)("hotel.reservationTopNotice") && r(c)("hotel.reservationTopNotice") !== "<br>" ? (b(), m("div",
|
|
7500
|
+
r(c)("hotel.reservationTopNotice") && r(c)("hotel.reservationTopNotice") !== "<br>" ? (b(), m("div", Hr, [T("p", {
|
|
7491
7501
|
innerHTML: r(c)("hotel.reservationTopNotice"),
|
|
7492
7502
|
class: "konnectio-wysiwyg"
|
|
7493
|
-
}, null, 8,
|
|
7494
|
-
r(
|
|
7503
|
+
}, null, 8, Ur)])) : d("", !0),
|
|
7504
|
+
r(Vt)(r(p)) && r(Y)(r(p)) && r(Ht)(r(p)) ? (b(), m("ul", {
|
|
7495
7505
|
key: 1,
|
|
7496
|
-
class: E(["konnectio-reservation-timepicker", { "konnectio-split-inputs": r(
|
|
7497
|
-
}, [r(
|
|
7498
|
-
modelValue: r(
|
|
7499
|
-
"onUpdate:modelValue": o[3] ||= (e) => y(
|
|
7506
|
+
class: E(["konnectio-reservation-timepicker", { "konnectio-split-inputs": r(Y)(r(p)) && r(Ht)(r(p)) }])
|
|
7507
|
+
}, [r(Y)(r(p)) ? (b(), m("li", Wr, [l(Mn, {
|
|
7508
|
+
modelValue: r(M),
|
|
7509
|
+
"onUpdate:modelValue": o[3] ||= (e) => y(M) ? M.value = e : null,
|
|
7500
7510
|
label: r(c)("booking.reservation.arrivalTime"),
|
|
7501
7511
|
icon: "hourglass-start",
|
|
7502
|
-
"min-time": r(
|
|
7503
|
-
"max-time": r(
|
|
7512
|
+
"min-time": r(Ut)(r(p)),
|
|
7513
|
+
"max-time": r(Wt)(r(p)),
|
|
7504
7514
|
required: ""
|
|
7505
7515
|
}, null, 8, [
|
|
7506
7516
|
"modelValue",
|
|
7507
7517
|
"label",
|
|
7508
7518
|
"min-time",
|
|
7509
7519
|
"max-time"
|
|
7510
|
-
])])) : d("", !0), r(
|
|
7511
|
-
modelValue: r(
|
|
7512
|
-
"onUpdate:modelValue": o[4] ||= (e) => y(
|
|
7520
|
+
])])) : d("", !0), r(Ht)(r(p)) ? (b(), m("li", Gr, [l(Mn, {
|
|
7521
|
+
modelValue: r(N),
|
|
7522
|
+
"onUpdate:modelValue": o[4] ||= (e) => y(N) ? N.value = e : null,
|
|
7513
7523
|
label: r(c)("booking.reservation.departureTime"),
|
|
7514
7524
|
icon: "hourglass-end",
|
|
7515
|
-
"min-time": r(
|
|
7516
|
-
"max-time": r(
|
|
7525
|
+
"min-time": r(Gt)(r(p)),
|
|
7526
|
+
"max-time": r(qt)(r(p)),
|
|
7517
7527
|
required: ""
|
|
7518
7528
|
}, null, 8, [
|
|
7519
7529
|
"modelValue",
|
|
@@ -7522,15 +7532,15 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7522
7532
|
"max-time"
|
|
7523
7533
|
])])) : d("", !0)], 2)) : d("", !0),
|
|
7524
7534
|
l(Fn, {
|
|
7525
|
-
modelValue: r(
|
|
7526
|
-
"onUpdate:modelValue": o[5] ||= (e) => y(
|
|
7527
|
-
title: r(
|
|
7528
|
-
"onUpdate:title": o[6] ||= (e) => y(
|
|
7529
|
-
"exclude-title": r(
|
|
7535
|
+
modelValue: r(P),
|
|
7536
|
+
"onUpdate:modelValue": o[5] ||= (e) => y(P) ? P.value = e : null,
|
|
7537
|
+
title: r(F),
|
|
7538
|
+
"onUpdate:title": o[6] ||= (e) => y(F) ? F.value = e : null,
|
|
7539
|
+
"exclude-title": r(Ot),
|
|
7530
7540
|
label: r(c)("booking.reservation.name"),
|
|
7531
7541
|
icon: "user-alt",
|
|
7532
7542
|
placeholder: r(c)("booking.reservation.namePlaceholder"),
|
|
7533
|
-
error:
|
|
7543
|
+
error: pn("guest.name"),
|
|
7534
7544
|
required: ""
|
|
7535
7545
|
}, null, 8, [
|
|
7536
7546
|
"modelValue",
|
|
@@ -7541,8 +7551,8 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7541
7551
|
"error"
|
|
7542
7552
|
]),
|
|
7543
7553
|
l(Ae, {
|
|
7544
|
-
modelValue: r(
|
|
7545
|
-
"onUpdate:modelValue": o[7] ||= (e) => y(
|
|
7554
|
+
modelValue: r(I),
|
|
7555
|
+
"onUpdate:modelValue": o[7] ||= (e) => y(I) ? I.value = e : null,
|
|
7546
7556
|
type: "email",
|
|
7547
7557
|
name: "email",
|
|
7548
7558
|
autocomplete: "email",
|
|
@@ -7550,7 +7560,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7550
7560
|
label: r(c)("booking.reservation.email"),
|
|
7551
7561
|
icon: "at",
|
|
7552
7562
|
placeholder: r(c)("booking.reservation.emailPlaceholder"),
|
|
7553
|
-
error:
|
|
7563
|
+
error: pn("guest.email"),
|
|
7554
7564
|
required: ""
|
|
7555
7565
|
}, null, 8, [
|
|
7556
7566
|
"modelValue",
|
|
@@ -7558,17 +7568,36 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7558
7568
|
"placeholder",
|
|
7559
7569
|
"error"
|
|
7560
7570
|
]),
|
|
7561
|
-
r(
|
|
7562
|
-
|
|
7563
|
-
|
|
7571
|
+
r(Rt) ? (b(), u(Ae, {
|
|
7572
|
+
key: 2,
|
|
7573
|
+
modelValue: r(R),
|
|
7574
|
+
"onUpdate:modelValue": o[8] ||= (e) => y(R) ? R.value = e : null,
|
|
7575
|
+
type: "email",
|
|
7576
|
+
name: "confirm-email",
|
|
7577
|
+
autocomplete: "off",
|
|
7578
|
+
inputmode: "email",
|
|
7579
|
+
label: r(c)("booking.reservation.confirmEmail"),
|
|
7580
|
+
icon: "at",
|
|
7581
|
+
placeholder: r(c)("booking.reservation.confirmEmailPlaceholder"),
|
|
7582
|
+
error: hn.value,
|
|
7583
|
+
required: ""
|
|
7584
|
+
}, null, 8, [
|
|
7585
|
+
"modelValue",
|
|
7586
|
+
"label",
|
|
7587
|
+
"placeholder",
|
|
7588
|
+
"error"
|
|
7589
|
+
])) : d("", !0),
|
|
7590
|
+
r(Lt) ? d("", !0) : (b(), m("div", Kr, [l(Le, {
|
|
7591
|
+
modelValue: r(Ze),
|
|
7592
|
+
"onUpdate:modelValue": o[9] ||= (e) => y(Ze) ? Ze.value = e : null,
|
|
7564
7593
|
type: "checkbox",
|
|
7565
7594
|
name: "newsletter",
|
|
7566
7595
|
label: r(c)("booking.reservation.newsletterSignUp")
|
|
7567
7596
|
}, null, 8, ["modelValue", "label"])])),
|
|
7568
|
-
r(
|
|
7569
|
-
key:
|
|
7570
|
-
modelValue: r(
|
|
7571
|
-
"onUpdate:modelValue": o[
|
|
7597
|
+
r(jt) ? d("", !0) : (b(), u(Ae, {
|
|
7598
|
+
key: 4,
|
|
7599
|
+
modelValue: r(fe),
|
|
7600
|
+
"onUpdate:modelValue": o[10] ||= (e) => y(fe) ? fe.value = e : null,
|
|
7572
7601
|
type: "text",
|
|
7573
7602
|
name: "firm",
|
|
7574
7603
|
autocomplete: "firm",
|
|
@@ -7581,12 +7610,12 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7581
7610
|
"placeholder"
|
|
7582
7611
|
])),
|
|
7583
7612
|
l(Fe, {
|
|
7584
|
-
modelValue: r(
|
|
7585
|
-
"onUpdate:modelValue": o[
|
|
7613
|
+
modelValue: r(z),
|
|
7614
|
+
"onUpdate:modelValue": o[11] ||= (e) => y(z) ? z.value = e : null,
|
|
7586
7615
|
icon: "phone-office",
|
|
7587
7616
|
label: r(c)("booking.reservation.phone"),
|
|
7588
7617
|
placeholder: r(c)("booking.reservation.phonePlaceholder"),
|
|
7589
|
-
error:
|
|
7618
|
+
error: pn("guest.phone"),
|
|
7590
7619
|
required: ""
|
|
7591
7620
|
}, null, 8, [
|
|
7592
7621
|
"modelValue",
|
|
@@ -7595,12 +7624,12 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7595
7624
|
"error"
|
|
7596
7625
|
]),
|
|
7597
7626
|
l(Pn, {
|
|
7598
|
-
modelValue: r(
|
|
7599
|
-
"onUpdate:modelValue": o[
|
|
7627
|
+
modelValue: r(Se),
|
|
7628
|
+
"onUpdate:modelValue": o[12] ||= (e) => y(Se) ? Se.value = e : null,
|
|
7600
7629
|
label: r(c)("booking.reservation.country"),
|
|
7601
7630
|
placeholder: r(c)("booking.reservation.countryPlaceholder"),
|
|
7602
7631
|
options: r(ie),
|
|
7603
|
-
error:
|
|
7632
|
+
error: pn("guest.country"),
|
|
7604
7633
|
required: ""
|
|
7605
7634
|
}, null, 8, [
|
|
7606
7635
|
"modelValue",
|
|
@@ -7610,15 +7639,15 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7610
7639
|
"error"
|
|
7611
7640
|
]),
|
|
7612
7641
|
l(Ae, {
|
|
7613
|
-
modelValue: r(
|
|
7614
|
-
"onUpdate:modelValue": o[
|
|
7642
|
+
modelValue: r(xe),
|
|
7643
|
+
"onUpdate:modelValue": o[13] ||= (e) => y(xe) ? xe.value = e : null,
|
|
7615
7644
|
type: "textarea",
|
|
7616
7645
|
name: "address",
|
|
7617
7646
|
autocomplete: "street-address",
|
|
7618
7647
|
label: r(c)("booking.reservation.streetAddress"),
|
|
7619
7648
|
icon: "map-marked",
|
|
7620
7649
|
placeholder: r(c)("booking.reservation.streetAddressPlaceholder"),
|
|
7621
|
-
error:
|
|
7650
|
+
error: pn("guest.address1"),
|
|
7622
7651
|
required: ""
|
|
7623
7652
|
}, null, 8, [
|
|
7624
7653
|
"modelValue",
|
|
@@ -7626,16 +7655,16 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7626
7655
|
"placeholder",
|
|
7627
7656
|
"error"
|
|
7628
7657
|
]),
|
|
7629
|
-
T("ul",
|
|
7630
|
-
modelValue: r(
|
|
7631
|
-
"onUpdate:modelValue": o[
|
|
7658
|
+
T("ul", qr, [T("li", null, [l(Ae, {
|
|
7659
|
+
modelValue: r(B),
|
|
7660
|
+
"onUpdate:modelValue": o[14] ||= (e) => y(B) ? B.value = e : null,
|
|
7632
7661
|
type: "text",
|
|
7633
7662
|
name: "postal",
|
|
7634
7663
|
autocomplete: "postal-code",
|
|
7635
7664
|
label: r(c)("booking.reservation.postal"),
|
|
7636
7665
|
icon: "mailbox",
|
|
7637
7666
|
placeholder: r(c)("booking.reservation.postalPlaceholder"),
|
|
7638
|
-
error:
|
|
7667
|
+
error: pn("guest.postal"),
|
|
7639
7668
|
required: ""
|
|
7640
7669
|
}, null, 8, [
|
|
7641
7670
|
"modelValue",
|
|
@@ -7643,15 +7672,15 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7643
7672
|
"placeholder",
|
|
7644
7673
|
"error"
|
|
7645
7674
|
])]), T("li", null, [l(Ae, {
|
|
7646
|
-
modelValue: r(
|
|
7647
|
-
"onUpdate:modelValue": o[
|
|
7675
|
+
modelValue: r(ye),
|
|
7676
|
+
"onUpdate:modelValue": o[15] ||= (e) => y(ye) ? ye.value = e : null,
|
|
7648
7677
|
type: "text",
|
|
7649
7678
|
name: "city",
|
|
7650
7679
|
autocomplete: "address-level2",
|
|
7651
7680
|
label: r(c)("booking.reservation.city"),
|
|
7652
7681
|
icon: "city",
|
|
7653
7682
|
placeholder: r(c)("booking.reservation.cityPlaceholder"),
|
|
7654
|
-
error:
|
|
7683
|
+
error: pn("guest.city"),
|
|
7655
7684
|
required: ""
|
|
7656
7685
|
}, null, 8, [
|
|
7657
7686
|
"modelValue",
|
|
@@ -7660,9 +7689,9 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7660
7689
|
"error"
|
|
7661
7690
|
])])]),
|
|
7662
7691
|
e.hideRemarks === "yes" ? d("", !0) : (b(), u(Ae, {
|
|
7663
|
-
key:
|
|
7664
|
-
modelValue: r(
|
|
7665
|
-
"onUpdate:modelValue": o[
|
|
7692
|
+
key: 5,
|
|
7693
|
+
modelValue: r(Ce),
|
|
7694
|
+
"onUpdate:modelValue": o[16] ||= (e) => y(Ce) ? Ce.value = e : null,
|
|
7666
7695
|
type: "textarea",
|
|
7667
7696
|
label: r(c)("booking.reservation.remark"),
|
|
7668
7697
|
icon: "info-circle",
|
|
@@ -7673,9 +7702,9 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7673
7702
|
"placeholder"
|
|
7674
7703
|
])),
|
|
7675
7704
|
e.hideAllergies === "yes" ? d("", !0) : (b(), u(Ae, {
|
|
7676
|
-
key:
|
|
7677
|
-
modelValue: r(
|
|
7678
|
-
"onUpdate:modelValue": o[
|
|
7705
|
+
key: 6,
|
|
7706
|
+
modelValue: r(we),
|
|
7707
|
+
"onUpdate:modelValue": o[17] ||= (e) => y(we) ? we.value = e : null,
|
|
7679
7708
|
type: "textarea",
|
|
7680
7709
|
label: r(c)("booking.reservation.allergies"),
|
|
7681
7710
|
icon: "allergies",
|
|
@@ -7685,36 +7714,36 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7685
7714
|
"label",
|
|
7686
7715
|
"placeholder"
|
|
7687
7716
|
])),
|
|
7688
|
-
r(
|
|
7689
|
-
key:
|
|
7690
|
-
modelValue: r(
|
|
7691
|
-
"onUpdate:modelValue": o[
|
|
7717
|
+
r(kt) ? d("", !0) : (b(), u(Je, {
|
|
7718
|
+
key: 7,
|
|
7719
|
+
modelValue: r(j),
|
|
7720
|
+
"onUpdate:modelValue": o[18] ||= (e) => y(j) ? j.value = e : null,
|
|
7692
7721
|
label: r(c)("booking.reservation.purposeOfStay"),
|
|
7693
7722
|
name: "travelingFor",
|
|
7694
|
-
checkboxes:
|
|
7723
|
+
checkboxes: Cn.value
|
|
7695
7724
|
}, null, 8, [
|
|
7696
7725
|
"modelValue",
|
|
7697
7726
|
"label",
|
|
7698
7727
|
"checkboxes"
|
|
7699
7728
|
])),
|
|
7700
|
-
r(
|
|
7701
|
-
T("li", null, [T("span", null, h(r(c)("hotel.memberCards.selectedCard", { cardName: r(
|
|
7702
|
-
T("li", null, [T("span", null, h(r(c)("hotel.memberCards.cardNumber")) + ": " + h(r(
|
|
7703
|
-
r(
|
|
7729
|
+
r(lt) ? (b(), m(a, { key: 8 }, [T("h3", null, [T("span", null, h(r(c)("hotel.memberCards.title")), 1)]), r(mt) ? (b(), m("div", Jr, [T("img", { src: r(ht)?.iconUrl }, null, 8, Yr), T("ul", Xr, [
|
|
7730
|
+
T("li", null, [T("span", null, h(r(c)("hotel.memberCards.selectedCard", { cardName: r(ht)?.shortDescription })), 1)]),
|
|
7731
|
+
T("li", null, [T("span", null, h(r(c)("hotel.memberCards.cardNumber")) + ": " + h(r(mt).cardNumber), 1)]),
|
|
7732
|
+
r(mt).controlNr ? (b(), m("li", Zr, [T("span", null, h(r(c)("hotel.memberCards.controlNumber")) + ": " + h(r(mt).controlNr), 1)])) : d("", !0)
|
|
7704
7733
|
])])) : (b(), m(a, { key: 1 }, [l(Je, {
|
|
7705
|
-
modelValue: r(
|
|
7706
|
-
"onUpdate:modelValue": o[
|
|
7734
|
+
modelValue: r(dt),
|
|
7735
|
+
"onUpdate:modelValue": o[19] ||= (e) => y(dt) ? dt.value = e : null,
|
|
7707
7736
|
label: r(c)("hotel.memberCards.selectCard"),
|
|
7708
7737
|
name: "memberCard",
|
|
7709
|
-
checkboxes: r(
|
|
7738
|
+
checkboxes: r(ut)
|
|
7710
7739
|
}, null, 8, [
|
|
7711
7740
|
"modelValue",
|
|
7712
7741
|
"label",
|
|
7713
7742
|
"checkboxes"
|
|
7714
|
-
]), r(
|
|
7743
|
+
]), r(dt) ? (b(), m("form", Qr, [
|
|
7715
7744
|
l(Ae, {
|
|
7716
|
-
modelValue: r(
|
|
7717
|
-
"onUpdate:modelValue": o[
|
|
7745
|
+
modelValue: r(pt),
|
|
7746
|
+
"onUpdate:modelValue": o[20] ||= (e) => y(pt) ? pt.value = e : null,
|
|
7718
7747
|
type: "number",
|
|
7719
7748
|
label: r(c)("hotel.memberCards.cardNumber"),
|
|
7720
7749
|
icon: "credit-card",
|
|
@@ -7725,10 +7754,10 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7725
7754
|
"label",
|
|
7726
7755
|
"placeholder"
|
|
7727
7756
|
]),
|
|
7728
|
-
r(
|
|
7757
|
+
r(dt) === r(Ee).FirmaCard ? (b(), u(Ae, {
|
|
7729
7758
|
key: 0,
|
|
7730
|
-
modelValue: r(
|
|
7731
|
-
"onUpdate:modelValue": o[
|
|
7759
|
+
modelValue: r(ft),
|
|
7760
|
+
"onUpdate:modelValue": o[21] ||= (e) => y(ft) ? ft.value = e : null,
|
|
7732
7761
|
type: "text",
|
|
7733
7762
|
label: r(c)("hotel.memberCards.cardControlNumber"),
|
|
7734
7763
|
icon: "id-card",
|
|
@@ -7739,10 +7768,10 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7739
7768
|
"label",
|
|
7740
7769
|
"placeholder"
|
|
7741
7770
|
])) : d("", !0),
|
|
7742
|
-
r(
|
|
7771
|
+
r(dt) === r(Ee).DaneAge ? (b(), u(Ae, {
|
|
7743
7772
|
key: 1,
|
|
7744
|
-
modelValue: r(
|
|
7745
|
-
"onUpdate:modelValue": o[
|
|
7773
|
+
modelValue: r(B),
|
|
7774
|
+
"onUpdate:modelValue": o[22] ||= (e) => y(B) ? B.value = e : null,
|
|
7746
7775
|
type: "text",
|
|
7747
7776
|
name: "postal",
|
|
7748
7777
|
autocomplete: "postal-code",
|
|
@@ -7758,16 +7787,16 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7758
7787
|
l(Ne, {
|
|
7759
7788
|
label: r(c)("hotel.memberCards.validateAndSelectCard"),
|
|
7760
7789
|
"full-width": "",
|
|
7761
|
-
onClickEvent: r(
|
|
7790
|
+
onClickEvent: r(on)
|
|
7762
7791
|
}, null, 8, ["label", "onClickEvent"])
|
|
7763
7792
|
])) : d("", !0)], 64))], 64)) : d("", !0)
|
|
7764
7793
|
])]),
|
|
7765
|
-
navigation: S(() => [T("div", null, [r(
|
|
7766
|
-
label: r(
|
|
7794
|
+
navigation: S(() => [T("div", null, [r(yt) ? (b(), u(ze, { key: 0 })) : d("", !0), l(Ne, {
|
|
7795
|
+
label: r(Mt) && r(A) > 0 ? r(c)("booking.reservation.nextButton") : r(c)("general.confirmReservation"),
|
|
7767
7796
|
disabled: !r(k),
|
|
7768
|
-
"is-loading": r(O) || r(
|
|
7797
|
+
"is-loading": r(O) || r(yt),
|
|
7769
7798
|
"full-width": "",
|
|
7770
|
-
onClickEvent: (e) =>
|
|
7799
|
+
onClickEvent: (e) => In(t, i)
|
|
7771
7800
|
}, null, 8, [
|
|
7772
7801
|
"label",
|
|
7773
7802
|
"disabled",
|
|
@@ -7783,20 +7812,20 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7783
7812
|
"layout",
|
|
7784
7813
|
"steps",
|
|
7785
7814
|
"onReset"
|
|
7786
|
-
]), [[ee, (e.requireGuestDiscountId === "no" || e.requireGuestDiscountId === "yes" && r(
|
|
7815
|
+
]), [[ee, (e.requireGuestDiscountId === "no" || e.requireGuestDiscountId === "yes" && r(it)) && !_n.value]])
|
|
7787
7816
|
]),
|
|
7788
7817
|
_: 1
|
|
7789
7818
|
}, 8, ["access-token", "callback"])]),
|
|
7790
|
-
fallback: S(() => [l(
|
|
7819
|
+
fallback: S(() => [l(zn)]),
|
|
7791
7820
|
_: 1
|
|
7792
7821
|
}))]),
|
|
7793
7822
|
_: 1
|
|
7794
7823
|
}, 8, ["styling"]));
|
|
7795
7824
|
}
|
|
7796
|
-
}),
|
|
7825
|
+
}), ei = /*#__PURE__*/ B($r, [["__scopeId", "data-v-d13aaa2e"]]);
|
|
7797
7826
|
//#endregion
|
|
7798
7827
|
//#region node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs
|
|
7799
|
-
function
|
|
7828
|
+
function $(e, t) {
|
|
7800
7829
|
if (typeof t == "function" && t.key && e.plugins.has(t.key)) return;
|
|
7801
7830
|
let n = typeof t == "function" ? t(e) : t, r = n.key || String(e.plugins.size + 1);
|
|
7802
7831
|
if (!e.plugins.get(r)) {
|
|
@@ -7815,7 +7844,7 @@ function ti(e, t = {}) {
|
|
|
7815
7844
|
entries: r,
|
|
7816
7845
|
hooks: void 0,
|
|
7817
7846
|
render: () => e(i),
|
|
7818
|
-
use: (e) =>
|
|
7847
|
+
use: (e) => $(i, e),
|
|
7819
7848
|
push(e, t) {
|
|
7820
7849
|
let a = t?._index ?? i._entryCount++, o = t ? { ...t } : {};
|
|
7821
7850
|
delete o.head, delete o.onRendered, delete o._index;
|
|
@@ -7954,7 +7983,7 @@ function gi(e, t, n) {
|
|
|
7954
7983
|
//#region node_modules/unhead/dist/shared/unhead.C5Bksi2B.mjs
|
|
7955
7984
|
function _i(e, t, n) {
|
|
7956
7985
|
let r = e.push, i = e;
|
|
7957
|
-
i.ssr = !1, i.hooks = t, i.dirty = !!i.dirty, i.use = (e) =>
|
|
7986
|
+
i.ssr = !1, i.hooks = t, i.dirty = !!i.dirty, i.use = (e) => $(i, e), i.render = () => n(i);
|
|
7958
7987
|
function a() {
|
|
7959
7988
|
t.callHook("entries:updated", i), i._b || i.render();
|
|
7960
7989
|
}
|
|
@@ -8430,7 +8459,7 @@ function $i(e = {}) {
|
|
|
8430
8459
|
}
|
|
8431
8460
|
//#endregion
|
|
8432
8461
|
//#region src/entries/hotel.ts
|
|
8433
|
-
var ea = A(), ta = /* @__PURE__ */ $i(), na = k("konnectio-hotel",
|
|
8462
|
+
var ea = A(), ta = /* @__PURE__ */ $i(), na = k("konnectio-hotel", ei, (e) => {
|
|
8434
8463
|
e.use(z), e.use(ta), e.use(ea), e.use(O), e.use(tt), e.use(Ke);
|
|
8435
8464
|
});
|
|
8436
8465
|
//#endregion
|