@konnectio/core 4.7.13 → 4.7.15
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-Zk9gKfBl.js → ActionField-BRuDERve.js} +1 -1
- package/dist/ActionField-BRuDERve.js.br +0 -0
- package/dist/ActionField-BRuDERve.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-B61GQrG3.js → AvailabilitySkeleton-C2cinRLC.js} +90 -90
- package/dist/AvailabilitySkeleton-C2cinRLC.js.br +0 -0
- package/dist/AvailabilitySkeleton-C2cinRLC.js.gz +0 -0
- package/dist/{CheckoutWindow-Bk176718.js → CheckoutWindow-hlZnuGXN.js} +6 -6
- package/dist/CheckoutWindow-hlZnuGXN.js.br +0 -0
- package/dist/CheckoutWindow-hlZnuGXN.js.gz +0 -0
- package/dist/{ErrorMessage-DIkYMjy5.js → ErrorMessage-DOMjsB2z.js} +7 -7
- package/dist/ErrorMessage-DOMjsB2z.js.br +0 -0
- package/dist/ErrorMessage-DOMjsB2z.js.gz +0 -0
- package/dist/{EventAvailabilityForm-DG6IAVTZ.js → EventAvailabilityForm-LeF9jMuS.js} +16 -16
- package/dist/EventAvailabilityForm-LeF9jMuS.js.br +0 -0
- package/dist/EventAvailabilityForm-LeF9jMuS.js.gz +0 -0
- package/dist/{Field-DSL9I38Y.js → Field-ChuCrNgy.js} +1 -1
- package/dist/Field-ChuCrNgy.js.br +0 -0
- package/dist/Field-ChuCrNgy.js.gz +0 -0
- package/dist/HotelAvailabilityForm-CBC3GwhY.js +323 -0
- package/dist/HotelAvailabilityForm-CBC3GwhY.js.br +0 -0
- package/dist/HotelAvailabilityForm-CBC3GwhY.js.gz +0 -0
- package/dist/{SelectField-znnXsV6p.js → SelectField-ChDa9rDG.js} +1695 -1678
- package/dist/SelectField-ChDa9rDG.js.br +0 -0
- package/dist/SelectField-ChDa9rDG.js.gz +0 -0
- package/dist/{TermsOfService-saWS7QrH.js → TermsOfService-DFPH0Sqb.js} +2 -2
- package/dist/TermsOfService-DFPH0Sqb.js.br +0 -0
- package/dist/TermsOfService-DFPH0Sqb.js.gz +3 -0
- package/dist/{_-DROE_ihH.js → _-D04cczMr.js} +1 -1
- package/dist/_-D04cczMr.js.br +0 -0
- package/dist/_-D04cczMr.js.gz +3 -0
- package/dist/availability.js +7 -7
- package/dist/availability.js.br +0 -0
- package/dist/availability.js.gz +0 -0
- package/dist/cancel-reservation.js +12 -12
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/cancel-reservation.js.gz +0 -0
- package/dist/core.css +1 -1
- package/dist/core.css.br +0 -0
- package/dist/core.css.gz +0 -0
- package/dist/{dist-CoJOkHqo.js → dist-AhXjLLR1.js} +455 -3083
- package/dist/dist-AhXjLLR1.js.br +0 -0
- package/dist/dist-AhXjLLR1.js.gz +0 -0
- package/dist/{dist-D0UeEMSK.js → dist-Dk3XMpn5.js} +2 -2
- package/dist/{dist-D0UeEMSK.js.br → dist-Dk3XMpn5.js.br} +0 -0
- package/dist/dist-Dk3XMpn5.js.gz +0 -0
- package/dist/event.js +65 -65
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +15 -15
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card-validation.js.gz +0 -0
- package/dist/gift-card.js +9 -9
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/{giftCard-B5-sqDH9.js → giftCard-B6oKfDeO.js} +9 -9
- package/dist/giftCard-B6oKfDeO.js.br +0 -0
- package/dist/giftCard-B6oKfDeO.js.gz +0 -0
- package/dist/hotel.js +770 -763
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/polyfill.js.gz +0 -0
- package/dist/{style-B39gpkik.js → style-DT-etRss.js} +1 -1
- package/dist/style-DT-etRss.js.br +0 -0
- package/dist/style-DT-etRss.js.gz +0 -0
- package/dist-wix/availability.js +18 -18
- package/dist-wix/event.js +16 -16
- package/dist-wix/gift-card-validation.js +23 -23
- package/dist-wix/gift-card.js +18 -18
- package/dist-wix/hotel.js +18 -18
- package/package.json +1 -1
- package/dist/ActionField-Zk9gKfBl.js.br +0 -0
- package/dist/ActionField-Zk9gKfBl.js.gz +0 -0
- package/dist/AvailabilitySkeleton-B61GQrG3.js.br +0 -0
- package/dist/AvailabilitySkeleton-B61GQrG3.js.gz +0 -0
- package/dist/CheckoutWindow-Bk176718.js.br +0 -0
- package/dist/CheckoutWindow-Bk176718.js.gz +0 -0
- package/dist/ErrorMessage-DIkYMjy5.js.br +0 -0
- package/dist/ErrorMessage-DIkYMjy5.js.gz +0 -0
- package/dist/EventAvailabilityForm-DG6IAVTZ.js.br +0 -0
- package/dist/EventAvailabilityForm-DG6IAVTZ.js.gz +0 -0
- package/dist/Field-DSL9I38Y.js.br +0 -0
- package/dist/Field-DSL9I38Y.js.gz +0 -0
- package/dist/HotelAvailabilityForm-B9aIhhi0.js +0 -323
- package/dist/HotelAvailabilityForm-B9aIhhi0.js.br +0 -0
- package/dist/HotelAvailabilityForm-B9aIhhi0.js.gz +0 -0
- package/dist/SelectField-znnXsV6p.js.br +0 -0
- package/dist/SelectField-znnXsV6p.js.gz +0 -0
- package/dist/TermsOfService-saWS7QrH.js.br +0 -0
- package/dist/TermsOfService-saWS7QrH.js.gz +0 -2
- package/dist/_-DROE_ihH.js.br +0 -0
- package/dist/_-DROE_ihH.js.gz +0 -0
- package/dist/dist-CoJOkHqo.js.br +0 -0
- package/dist/dist-CoJOkHqo.js.gz +0 -0
- package/dist/dist-D0UeEMSK.js.gz +0 -0
- package/dist/giftCard-B5-sqDH9.js.br +0 -0
- package/dist/giftCard-B5-sqDH9.js.gz +0 -0
- package/dist/style-B39gpkik.js.br +0 -0
- package/dist/style-B39gpkik.js.gz +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as e, t } from "./rolldown-runtime-Dqa2HsxW.js";
|
|
2
2
|
import { $ as n, A as r, B as i, D as a, E as o, Et as s, J as c, K as l, M as u, N as d, O as f, Ot as p, Q as m, S as h, T as g, Tt as _, V as ee, _t as te, a as v, b as y, ct as ne, dt as b, g as re, ht as x, i as S, it as ie, j as C, k as ae, kt as w, l as T, n as E, o as D, rt as O, s as k, tt as A, ut as j, v as M, w as N, x as P, yt as F } from "./i18n-DwFTw_rF.js";
|
|
3
|
-
import { t as I } from "./dist-
|
|
4
|
-
import { $ as oe, C as se, D as ce, E as le, G as ue,
|
|
5
|
-
import { n as je, t as Me } from "./AvailabilitySkeleton-
|
|
6
|
-
import { t as Ne } from "./HotelAvailabilityForm-
|
|
7
|
-
import { t as Pe } from "./style-
|
|
8
|
-
import { t as Fe } from "./ActionField-
|
|
9
|
-
import { a as Ie, c as Le, i as Re, l as ze, n as Be, o as Ve, r as He, s as Ue, t as We } from "./dist-
|
|
10
|
-
import { a as Ge, i as Ke, n as
|
|
11
|
-
import { t as Ye } from "./TermsOfService-
|
|
3
|
+
import { t as I } from "./dist-Dk3XMpn5.js";
|
|
4
|
+
import { $ as oe, C as se, D as ce, E as le, G as ue, H as de, I as fe, K as pe, L as me, N as he, O as ge, R as _e, S as R, V as ve, W as ye, X as z, _ as be, b as xe, dt as B, et as Se, ht as Ce, it as we, j as Te, n as Ee, q as De, r as Oe, rt as ke, t as Ae, v as V, x as H } from "./SelectField-ChDa9rDG.js";
|
|
5
|
+
import { n as je, t as Me } from "./AvailabilitySkeleton-C2cinRLC.js";
|
|
6
|
+
import { t as Ne } from "./HotelAvailabilityForm-CBC3GwhY.js";
|
|
7
|
+
import { t as Pe } from "./style-DT-etRss.js";
|
|
8
|
+
import { t as Fe } from "./ActionField-BRuDERve.js";
|
|
9
|
+
import { a as Ie, c as Le, i as Re, l as ze, n as Be, o as Ve, r as He, s as Ue, t as We } from "./dist-AhXjLLR1.js";
|
|
10
|
+
import { a as Ge, i as Ke, n as U, o as qe, t as Je } from "./CheckoutWindow-hlZnuGXN.js";
|
|
11
|
+
import { t as Ye } from "./TermsOfService-DFPH0Sqb.js";
|
|
12
12
|
//#region node_modules/inner-image-zoom/src/utils/images.js
|
|
13
13
|
function Xe(e, t) {
|
|
14
14
|
return t ? {
|
|
@@ -322,13 +322,13 @@ function gt(e, t, n, r, l, u) {
|
|
|
322
322
|
}
|
|
323
323
|
//#endregion
|
|
324
324
|
//#region node_modules/vue-inner-image-zoom/src/index.js
|
|
325
|
-
var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]]),
|
|
325
|
+
var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]]), W = { key: 0 }, G = { class: "konnectio-hotel-reservation-warning" }, vt = { class: "konnectio-hotel-reservation-warning" }, yt = { class: "konnectio-hotel-reservation-warning" }, bt = { key: 1 }, xt = { class: "konnectio-hotel-reservation-title" }, K = { class: "konnectio-hotel-reservation-information" }, q = { class: "konnectio-hotel-reservation-guests" }, St = { key: 0 }, Ct = {
|
|
326
326
|
key: 0,
|
|
327
327
|
class: "konnectio-hotel-reservation-room-name"
|
|
328
|
-
}, wt = ["onClick"], Tt = { key: 0 }, Et = { key: 1 }, Dt = { class: "konnectio-hotel-reservation-title" },
|
|
328
|
+
}, wt = ["onClick"], Tt = { key: 0 }, Et = { key: 1 }, Dt = { class: "konnectio-hotel-reservation-title" }, J = {
|
|
329
329
|
key: 0,
|
|
330
330
|
class: "konnectio-hotel-reservation-room-name"
|
|
331
|
-
},
|
|
331
|
+
}, Ot = { class: "konnectio-hotel-reservation-information" }, kt = { class: "konnectio-hotel-reservation-guests" }, At = { key: 0 }, jt = { key: 0 }, Mt = { class: "konnectio-reservation-actions" }, Nt = {
|
|
332
332
|
key: 0,
|
|
333
333
|
class: "konnectio-newsletter-signup"
|
|
334
334
|
}, Pt = {
|
|
@@ -358,12 +358,12 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
358
358
|
prevCallback: {}
|
|
359
359
|
},
|
|
360
360
|
setup(e) {
|
|
361
|
-
let { t } = v(), { disableNewsletterSignup: r, currency: i } = T(le()), { hasArrivalDepartureInputs: s } = le(), { arrivalTime: l, departureTime: u, roomDisplay: d, templateID: p, totalPrice: h, areListingsLoading: ee, getSelectedPackageRooms: te, templateRoomUnits: ne, selectedPackage: ie, discountVouchers: E, currentArrivalDate: D, currentDepartureDate: O, datesMismatch: k, currentLocation: N, locationMismatch: P, newsMails: I, termsOfService: oe, discountCode: ce, hasTermOfService:
|
|
361
|
+
let { t } = v(), { disableNewsletterSignup: r, currency: i } = T(le()), { hasArrivalDepartureInputs: s } = le(), { arrivalTime: l, departureTime: u, roomDisplay: d, templateID: p, totalPrice: h, areListingsLoading: ee, getSelectedPackageRooms: te, templateRoomUnits: ne, selectedPackage: ie, discountVouchers: E, currentArrivalDate: D, currentDepartureDate: O, datesMismatch: k, currentLocation: N, locationMismatch: P, newsMails: I, termsOfService: oe, discountCode: ce, hasTermOfService: de, acceptTerms: pe, totalTemplateAddonPrice: me, totalRooms: he, totalAdults: R, totalChildren: ve, weekendFee: ye, selectedMemberCardData: be, appliedDiscountCode: xe, guestDiscountCode: B, isValidatingDiscountCode: Se } = T(ge()), { hasHotelLocations: Ce } = T(se()), { removeRoom: we, validateDiscountCode: Te, getMandatoryRoomGroupAddons: Ee, getTemplateRoomUnitPrice: Oe, resetDiscountVoucher: ke, setGuestDiscountCode: Ae, clearGuestDiscountCode: V, fetchAvailabilityData: je } = ge(), { getHotelLocationName: Me } = se(), Ne = F(!1);
|
|
362
362
|
function Pe(e) {
|
|
363
|
-
|
|
363
|
+
Ae(e), je();
|
|
364
364
|
}
|
|
365
365
|
function Fe() {
|
|
366
|
-
|
|
366
|
+
V(), je();
|
|
367
367
|
}
|
|
368
368
|
function Le(e) {
|
|
369
369
|
return e.reduce((e, { totalPrice: t }) => e + t, 0);
|
|
@@ -373,7 +373,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
373
373
|
return c(), o(Ie, {
|
|
374
374
|
"discount-code": _(ce),
|
|
375
375
|
"onUpdate:discountCode": T[4] ||= (e) => x(ce) ? ce.value = e : null,
|
|
376
|
-
"validate-discount-code": _(
|
|
376
|
+
"validate-discount-code": _(Te),
|
|
377
377
|
"total-price": _(h),
|
|
378
378
|
"weekend-fee": _(ye),
|
|
379
379
|
"show-gift-card": e.showGiftCard,
|
|
@@ -382,21 +382,21 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
382
382
|
"is-sidebar-loading": _(ee),
|
|
383
383
|
notice: _(t)("hotel.reservationNotice"),
|
|
384
384
|
"prev-callback": e.prevCallback,
|
|
385
|
-
"applied-discount-code": _(
|
|
386
|
-
"guest-discount-code": _(
|
|
387
|
-
"is-validating-discount-code": _(
|
|
388
|
-
"on-reset-discount-code": _(
|
|
385
|
+
"applied-discount-code": _(xe),
|
|
386
|
+
"guest-discount-code": _(B),
|
|
387
|
+
"is-validating-discount-code": _(Se),
|
|
388
|
+
"on-reset-discount-code": _(ke),
|
|
389
389
|
"on-apply-availability-discount": Pe,
|
|
390
390
|
"on-clear-availability-discount": Fe
|
|
391
391
|
}, ae({
|
|
392
392
|
form: j(() => [n(v.$slots, "form", {}, void 0, !0)]),
|
|
393
|
-
"price-summary": j(() => [isNaN(_(p)) && _(d).length > 0 ? (c(!0), f(y, { key: 0 }, m(_(d), ({ roomGroupID: n, title: r, variants: o }) => (c(), f("div", { key: n }, [g("h6", null, [g("span", null, w(_(
|
|
394
|
-
g("span", xt, w(_(
|
|
395
|
-
g("span",
|
|
393
|
+
"price-summary": j(() => [isNaN(_(p)) && _(d).length > 0 ? (c(!0), f(y, { key: 0 }, m(_(d), ({ roomGroupID: n, title: r, variants: o }) => (c(), f("div", { key: n }, [g("h6", null, [g("span", null, w(_(fe)(r)), 1)]), (c(!0), f(y, null, m(o, (r, o) => (c(), f("div", { key: o }, [(c(!0), f(y, null, m(r.rooms, (s, l) => (c(), f("ul", { key: l }, [g("li", null, [
|
|
394
|
+
g("span", xt, w(_(fe)(r.name)), 1),
|
|
395
|
+
g("span", K, [g("span", q, [g("span", null, [C(H, {
|
|
396
396
|
icon: "male",
|
|
397
397
|
type: "fas",
|
|
398
398
|
color: "font"
|
|
399
|
-
}), g("span", null, w(s.adultsCount), 1)]), s.childrenCount > 0 ? (c(), f("span",
|
|
399
|
+
}), g("span", null, w(s.adultsCount), 1)]), s.childrenCount > 0 ? (c(), f("span", St, [C(H, {
|
|
400
400
|
icon: "child",
|
|
401
401
|
type: "fas",
|
|
402
402
|
color: "font"
|
|
@@ -404,25 +404,25 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
404
404
|
g("b", null, [g("span", null, w(_(z)(s.totalPrice, _(i))), 1), e.showRemoveRoom ? (c(), f("span", {
|
|
405
405
|
key: 0,
|
|
406
406
|
class: "konnectio-hotel-reservation-remove",
|
|
407
|
-
onClick: M((e) => _(
|
|
408
|
-
}, [C(
|
|
407
|
+
onClick: M((e) => _(we)(n, o, s.configIdx), ["prevent"])
|
|
408
|
+
}, [C(H, {
|
|
409
409
|
icon: "times",
|
|
410
410
|
type: "fas",
|
|
411
411
|
"icon-color": "#ff0000"
|
|
412
412
|
})], 8, wt)) : a("", !0)])
|
|
413
|
-
]), Le(s.roomAddons) > 0 ? (c(), f("li", Tt, [g("span", null, w(_(t)("general.addons")), 1), g("b", null, w(_(z)(Le(s.roomAddons), _(i))), 1)])) : a("", !0)]))), 128))]))), 128))]))), 128)) : a("", !0), _(ne).length > 0 && _(ie) ? (c(), f("div", Et, [g("h6", null, [g("span", null, w(_(
|
|
414
|
-
g("span", Dt, [g("span", null, w(_(
|
|
415
|
-
g("span",
|
|
413
|
+
]), Le(s.roomAddons) > 0 ? (c(), f("li", Tt, [g("span", null, w(_(t)("general.addons")), 1), g("b", null, w(_(z)(Le(s.roomAddons), _(i))), 1)])) : a("", !0)]))), 128))]))), 128))]))), 128)) : a("", !0), _(ne).length > 0 && _(ie) ? (c(), f("div", Et, [g("h6", null, [g("span", null, w(_(fe)(_(ie).name)), 1)]), g("div", null, [g("ul", null, [(c(!0), f(y, null, m(_(ne), (e, n) => (c(), f("li", { key: n }, [
|
|
414
|
+
g("span", Dt, [g("span", null, w(_(fe)(_(te).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), _(ne).filter((t) => t.roomGroupId === e.roomGroupId).length > 1 ? (c(), f("span", J, "(" + w(_(t)("booking.reservation.room")) + " " + w(_(ne).slice(0, n + 1).filter((t) => t.roomGroupId === e.roomGroupId).length) + ")", 1)) : a("", !0)]),
|
|
415
|
+
g("span", Ot, [g("span", kt, [g("span", null, [C(H, {
|
|
416
416
|
icon: "male",
|
|
417
417
|
type: "fas",
|
|
418
418
|
color: "font"
|
|
419
|
-
}), g("span", null, w(e.adults), 1)]), e.children > 0 ? (c(), f("span", At, [C(
|
|
419
|
+
}), g("span", null, w(e.adults), 1)]), e.children > 0 ? (c(), f("span", At, [C(H, {
|
|
420
420
|
icon: "child",
|
|
421
421
|
type: "fas",
|
|
422
422
|
color: "font"
|
|
423
423
|
}), g("span", null, w(e.children), 1)])) : a("", !0)])]),
|
|
424
|
-
g("b", null, [g("span", null, w(_(z)(
|
|
425
|
-
_(
|
|
424
|
+
g("b", null, [g("span", null, w(_(z)(_(Oe)(e.roomGroupId, e.adults, e.children) + _(ye), _(i))), 1)]),
|
|
425
|
+
_(Ee)(e.roomGroupId) ? (c(!0), f(y, { key: 0 }, m(_(Ee)(e.roomGroupId), (e) => (c(), f(y, null, [g("span", null, "- " + w(e.name), 1), g("b", null, [g("span", null, w(_(z)(e.price, _(i))), 1)])], 64))), 256)) : a("", !0)
|
|
426
426
|
]))), 128)), _(me) ? (c(), f("li", jt, [g("span", null, w(_(t)("general.addons")), 1), g("b", null, w(_(z)(_(me), _(i))), 1)])) : a("", !0)])])])) : a("", !0)]),
|
|
427
427
|
actions: j(() => [g("ul", Mt, [
|
|
428
428
|
_(r) ? a("", !0) : (c(), f("div", Nt, [C(Ke, {
|
|
@@ -432,7 +432,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
432
432
|
name: "newsletter",
|
|
433
433
|
label: _(t)("booking.reservation.newsletterSignUp")
|
|
434
434
|
}, null, 8, ["modelValue", "label"])])),
|
|
435
|
-
_(
|
|
435
|
+
_(de) ? (c(), f("div", Pt, [C(Ke, {
|
|
436
436
|
modelValue: _(pe),
|
|
437
437
|
"onUpdate:modelValue": T[2] ||= (e) => x(pe) ? pe.value = e : null,
|
|
438
438
|
type: "checkbox",
|
|
@@ -446,7 +446,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
446
446
|
terms: j(() => [g("a", {
|
|
447
447
|
class: "konnectio-accept-terms-link",
|
|
448
448
|
onClick: T[1] ||= M((e) => Ne.value = !0, ["prevent"])
|
|
449
|
-
}, [g("span", null, w(_(
|
|
449
|
+
}, [g("span", null, w(_(ue)(_(t)("general.termsAndConditions"))), 1)])]),
|
|
450
450
|
_: 1
|
|
451
451
|
})]),
|
|
452
452
|
_: 1
|
|
@@ -461,12 +461,12 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
461
461
|
navigation: j(() => [n(v.$slots, "navigation", {}, void 0, !0)]),
|
|
462
462
|
"mobile-under-price": j(() => [
|
|
463
463
|
g("span", null, w(_(t)("general.for")) + ": ", 1),
|
|
464
|
-
g("b", null, w(_(_e)(_(D), _(O))) + " " + w(_(
|
|
465
|
-
b((c(), f("span", Ft, [C(
|
|
464
|
+
g("b", null, w(_(_e)(_(D), _(O))) + " " + w(_(ue)(_(_e)(_(D), _(O)) === 1 ? _(t)("booking.reservation.night") : _(t)("booking.reservation.nights"))), 1),
|
|
465
|
+
b((c(), f("span", Ft, [C(H, {
|
|
466
466
|
icon: "circle-info",
|
|
467
467
|
type: "fas"
|
|
468
468
|
})])), [[F, {
|
|
469
|
-
content: `<span>(${_(
|
|
469
|
+
content: `<span>(${_(De)(_(D))} - ${_(De)(_(O))})</span>`,
|
|
470
470
|
classes: ["tooltip", "konnectio-tooltip"],
|
|
471
471
|
html: !0
|
|
472
472
|
}]])
|
|
@@ -474,26 +474,26 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
474
474
|
"mobile-summary": j(() => [
|
|
475
475
|
g("span", null, w(`${_(R)} ${_(R) === 1 ? _(t)("general.adult") : _(t)("general.adults")}`), 1),
|
|
476
476
|
g("span", null, w(`${_(ve)} ${_(ve) === 1 ? _(t)("general.child") : _(t)("general.children")}`), 1),
|
|
477
|
-
g("span", null, w(`${_(
|
|
477
|
+
g("span", null, w(`${_(he)} ${_(he) === 1 ? _(t)("booking.reservation.room") : _(t)("booking.reservation.rooms")}`), 1)
|
|
478
478
|
]),
|
|
479
479
|
_: 2
|
|
480
480
|
}, [isNaN(_(N)) ? void 0 : {
|
|
481
481
|
name: "reservation-summary",
|
|
482
482
|
fn: j(() => [
|
|
483
|
-
_(
|
|
483
|
+
_(Ce) ? (c(), f("li", W, [g("span", null, w(_(t)("general.location")), 1), g("b", null, [g("span", null, w(_(Me)(_(N))), 1), b(g("span", G, [C(H, {
|
|
484
484
|
icon: "exclamation-triangle",
|
|
485
485
|
type: "fas"
|
|
486
486
|
})], 512), [[re, _(P)]])])])) : a("", !0),
|
|
487
|
-
g("li", null, [g("span", null, w(_(t)("booking.reservation.arrival")), 1), g("b", null, [g("span", null, w(_(s)(_(N)) ? `${_(
|
|
487
|
+
g("li", null, [g("span", null, w(_(t)("booking.reservation.arrival")), 1), g("b", null, [g("span", null, w(_(s)(_(N)) ? `${_(De)(_(D))}, ${_(l)}` : _(De)(_(D))), 1), b(g("span", vt, [C(H, {
|
|
488
488
|
icon: "exclamation-triangle",
|
|
489
489
|
type: "fas"
|
|
490
490
|
})], 512), [[re, _(k)]])])]),
|
|
491
|
-
g("li", null, [g("span", null, w(_(t)("booking.reservation.departure")), 1), g("b", null, [g("span", null, w(_(s)(_(N)) ? `${_(
|
|
491
|
+
g("li", null, [g("span", null, w(_(t)("booking.reservation.departure")), 1), g("b", null, [g("span", null, w(_(s)(_(N)) ? `${_(De)(_(O))}, ${_(u)}` : _(De)(_(O))), 1), b(g("span", yt, [C(H, {
|
|
492
492
|
icon: "exclamation-triangle",
|
|
493
493
|
type: "fas"
|
|
494
494
|
})], 512), [[re, _(k)]])])]),
|
|
495
|
-
g("li", null, [g("span", null, w(_(t)("booking.reservation.nights")), 1), g("b", null, w(_(_e)(_(D), _(O))) + " " + w(_(
|
|
496
|
-
_(
|
|
495
|
+
g("li", null, [g("span", null, w(_(t)("booking.reservation.nights")), 1), g("b", null, w(_(_e)(_(D), _(O))) + " " + w(_(ue)(_(_e)(_(D), _(O)) === 1 ? _(t)("booking.reservation.night") : _(t)("booking.reservation.nights"))), 1)]),
|
|
496
|
+
_(be) && _(be).providesDiscount ? (c(), f("li", bt, [g("span", null, w(_(be).shortDescription), 1), g("b", null, "-" + w(_(be).discountPercent) + "%", 1)])) : a("", !0),
|
|
497
497
|
_(E) ? (c(!0), f(y, { key: 2 }, m(_(E), (e) => (c(), f("li", { key: e.id }, [g("span", null, w(`${_(t)("general.discountCode")} (${e.value})`), 1), g("b", null, w(e.key), 1)]))), 128)) : a("", !0)
|
|
498
498
|
]),
|
|
499
499
|
key: "0"
|
|
@@ -515,10 +515,10 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
515
515
|
]);
|
|
516
516
|
};
|
|
517
517
|
}
|
|
518
|
-
}), [["__scopeId", "data-v-
|
|
518
|
+
}), [["__scopeId", "data-v-45a60600"]]), Lt = { class: "konnectio-panel" }, Rt = { id: "konnectio-hotel-guest-discount-title" }, zt = ["innerHTML"], Bt = /*#__PURE__*/ R(/* @__PURE__ */ d({
|
|
519
519
|
__name: "GuestDiscountForm",
|
|
520
520
|
setup(e) {
|
|
521
|
-
let { t } = v(), n =
|
|
521
|
+
let { t } = v(), n = Ce("history"), r = ge(), { display: i } = he(), a = F();
|
|
522
522
|
async function o() {
|
|
523
523
|
if (!a.value) {
|
|
524
524
|
i({
|
|
@@ -560,10 +560,10 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
560
560
|
])
|
|
561
561
|
])], 32));
|
|
562
562
|
}
|
|
563
|
-
}), [["__scopeId", "data-v-2d1cbb8b"]]), Vt = { class: "konnectio-panel" },
|
|
563
|
+
}), [["__scopeId", "data-v-2d1cbb8b"]]), Vt = { class: "konnectio-panel" }, Y = { id: "konnectio-hotel-discount-code-title" }, Ht = ["innerHTML"], X = /*#__PURE__*/ R(/* @__PURE__ */ d({
|
|
564
564
|
__name: "DiscountCodeForm",
|
|
565
565
|
setup(e) {
|
|
566
|
-
let { t } = v(), n =
|
|
566
|
+
let { t } = v(), n = Ce("history"), r = ge(), { display: i } = he(), a = F();
|
|
567
567
|
async function o() {
|
|
568
568
|
if (!a.value) {
|
|
569
569
|
i({
|
|
@@ -578,8 +578,8 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
578
578
|
id: "konnectio-hotel-discount-code",
|
|
579
579
|
onSubmit: n[1] ||= M(() => {}, ["prevent"])
|
|
580
580
|
}, [g("div", Vt, [
|
|
581
|
-
g("h3",
|
|
582
|
-
g("p", { innerHTML: _(t)("discountCode.description") }, null, 8,
|
|
581
|
+
g("h3", Y, [g("span", null, w(_(t)("discountCode.title")), 1)]),
|
|
582
|
+
g("p", { innerHTML: _(t)("discountCode.description") }, null, 8, Ht),
|
|
583
583
|
C(Fe, {
|
|
584
584
|
modelValue: a.value,
|
|
585
585
|
"onUpdate:modelValue": n[0] ||= (e) => a.value = e,
|
|
@@ -598,7 +598,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
598
598
|
])
|
|
599
599
|
])], 32));
|
|
600
600
|
}
|
|
601
|
-
}), [["__scopeId", "data-v-c5281a3a"]]),
|
|
601
|
+
}), [["__scopeId", "data-v-c5281a3a"]]), Ut = { class: "konnectio-room-config-option" }, Wt = { key: 0 }, Gt = { class: "konnectio-selected-room-config" }, Kt = { class: "konnectio-selected-room-config-people" }, qt = { key: 0 }, Jt = { class: "konnectio-selected-room-config-price" }, Yt = /*#__PURE__*/ R(/* @__PURE__ */ d({
|
|
602
602
|
__name: "RoomConfigField",
|
|
603
603
|
props: {
|
|
604
604
|
modelValue: {},
|
|
@@ -623,7 +623,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
623
623
|
get: () => l.modelValue,
|
|
624
624
|
set: (e) => u(e)
|
|
625
625
|
});
|
|
626
|
-
return (t, s) => (c(), o(
|
|
626
|
+
return (t, s) => (c(), o(Ae, {
|
|
627
627
|
modelValue: d.value,
|
|
628
628
|
"onUpdate:modelValue": s[0] ||= (e) => d.value = e,
|
|
629
629
|
label: e.label,
|
|
@@ -636,14 +636,14 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
636
636
|
required: e.required,
|
|
637
637
|
searchable: !1
|
|
638
638
|
}, {
|
|
639
|
-
option: j(({ data: e }) => [g("span",
|
|
640
|
-
C(
|
|
639
|
+
option: j(({ data: e }) => [g("span", Ut, [g("div", null, [
|
|
640
|
+
C(H, {
|
|
641
641
|
icon: "male",
|
|
642
642
|
type: "fas",
|
|
643
643
|
color: "font"
|
|
644
644
|
}),
|
|
645
645
|
g("span", null, w(`${e.adults}`), 1),
|
|
646
|
-
e.children > 0 ? (c(), f("span", Wt, [C(
|
|
646
|
+
e.children > 0 ? (c(), f("span", Wt, [C(H, {
|
|
647
647
|
icon: "child",
|
|
648
648
|
type: "fas",
|
|
649
649
|
color: "font"
|
|
@@ -659,7 +659,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
659
659
|
"required"
|
|
660
660
|
]));
|
|
661
661
|
}
|
|
662
|
-
}), [["__scopeId", "data-v-f960b7b6"]]),
|
|
662
|
+
}), [["__scopeId", "data-v-f960b7b6"]]), Z = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
|
|
663
663
|
(function(n, r) {
|
|
664
664
|
typeof e == "object" && t !== void 0 ? r(e) : typeof define == "function" && define.amd ? define(["exports"], r) : (n = typeof globalThis < "u" ? globalThis : n || self, r(n.leaflet = {}));
|
|
665
665
|
})(e, (function(e) {
|
|
@@ -1263,11 +1263,11 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1263
1263
|
var n = "", r, i, a, o, s, c;
|
|
1264
1264
|
for (r = 0, a = e.length; r < a; r++) {
|
|
1265
1265
|
for (s = e[r], i = 0, o = s.length; i < o; i++) c = s[i], n += (i ? "L" : "M") + c.x + " " + c.y;
|
|
1266
|
-
n += t ?
|
|
1266
|
+
n += t ? U.svg ? "z" : "x" : "";
|
|
1267
1267
|
}
|
|
1268
1268
|
return n || "M0 0";
|
|
1269
1269
|
}
|
|
1270
|
-
var me = document.documentElement.style, he = "ActiveXObject" in window, ge = he && !document.addEventListener, _e = "msLaunchUri" in navigator && !("documentMode" in document), R =
|
|
1270
|
+
var me = document.documentElement.style, he = "ActiveXObject" in window, ge = he && !document.addEventListener, _e = "msLaunchUri" in navigator && !("documentMode" in document), R = Ke("webkit"), ve = Ke("android"), ye = Ke("android 2") || Ke("android 3"), z = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), be = ve && Ke("Google") && z < 537 && !("AudioNode" in window), xe = !!window.opera, B = !_e && Ke("chrome"), Se = Ke("gecko") && !R && !xe && !he, Ce = !B && Ke("safari"), we = Ke("phantom"), Te = "OTransition" in me, Ee = navigator.platform.indexOf("Win") === 0, De = he && "transition" in me, Oe = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !ye, ke = "MozPerspective" in me, Ae = !window.L_DISABLE_3D && (De || Oe || ke) && !Te && !we, V = typeof orientation < "u" || Ke("mobile"), H = V && R, je = V && Oe, Me = !window.PointerEvent && window.MSPointerEvent, Ne = !!(window.PointerEvent || Me), Pe = "ontouchstart" in window || !!window.TouchEvent, Fe = !window.L_NO_TOUCH && (Pe || Ne), Ie = V && xe, Le = V && Se, Re = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, ze = function() {
|
|
1271
1271
|
var e = !1;
|
|
1272
1272
|
try {
|
|
1273
1273
|
var t = Object.defineProperty({}, "passive", { get: function() {
|
|
@@ -1276,12 +1276,12 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1276
1276
|
window.addEventListener("testPassiveEventSupport", l, t), window.removeEventListener("testPassiveEventSupport", l, t);
|
|
1277
1277
|
} catch {}
|
|
1278
1278
|
return e;
|
|
1279
|
-
}(),
|
|
1279
|
+
}(), Be = function() {
|
|
1280
1280
|
return !!document.createElement("canvas").getContext;
|
|
1281
|
-
}(),
|
|
1281
|
+
}(), Ve = !!(document.createElementNS && fe("svg").createSVGRect), He = !!Ve && (function() {
|
|
1282
1282
|
var e = document.createElement("div");
|
|
1283
1283
|
return e.innerHTML = "<svg/>", (e.firstChild && e.firstChild.namespaceURI) === "http://www.w3.org/2000/svg";
|
|
1284
|
-
})(),
|
|
1284
|
+
})(), Ue = !Ve && function() {
|
|
1285
1285
|
try {
|
|
1286
1286
|
var e = document.createElement("div");
|
|
1287
1287
|
e.innerHTML = "<v:shape adj=\"1\"/>";
|
|
@@ -1290,95 +1290,95 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1290
1290
|
} catch {
|
|
1291
1291
|
return !1;
|
|
1292
1292
|
}
|
|
1293
|
-
}(),
|
|
1294
|
-
function
|
|
1293
|
+
}(), We = navigator.platform.indexOf("Mac") === 0, Ge = navigator.platform.indexOf("Linux") === 0;
|
|
1294
|
+
function Ke(e) {
|
|
1295
1295
|
return navigator.userAgent.toLowerCase().indexOf(e) >= 0;
|
|
1296
1296
|
}
|
|
1297
|
-
var
|
|
1297
|
+
var U = {
|
|
1298
1298
|
ie: he,
|
|
1299
1299
|
ielt9: ge,
|
|
1300
1300
|
edge: _e,
|
|
1301
1301
|
webkit: R,
|
|
1302
1302
|
android: ve,
|
|
1303
1303
|
android23: ye,
|
|
1304
|
-
androidStock:
|
|
1304
|
+
androidStock: be,
|
|
1305
1305
|
opera: xe,
|
|
1306
|
-
chrome:
|
|
1307
|
-
gecko:
|
|
1308
|
-
safari:
|
|
1309
|
-
phantom:
|
|
1310
|
-
opera12:
|
|
1311
|
-
win:
|
|
1312
|
-
ie3d:
|
|
1313
|
-
webkit3d:
|
|
1306
|
+
chrome: B,
|
|
1307
|
+
gecko: Se,
|
|
1308
|
+
safari: Ce,
|
|
1309
|
+
phantom: we,
|
|
1310
|
+
opera12: Te,
|
|
1311
|
+
win: Ee,
|
|
1312
|
+
ie3d: De,
|
|
1313
|
+
webkit3d: Oe,
|
|
1314
1314
|
gecko3d: ke,
|
|
1315
1315
|
any3d: Ae,
|
|
1316
1316
|
mobile: V,
|
|
1317
|
-
mobileWebkit:
|
|
1318
|
-
mobileWebkit3d:
|
|
1319
|
-
msPointer:
|
|
1320
|
-
pointer:
|
|
1321
|
-
touch:
|
|
1322
|
-
touchNative:
|
|
1323
|
-
mobileOpera:
|
|
1324
|
-
mobileGecko:
|
|
1325
|
-
retina:
|
|
1326
|
-
passiveEvents:
|
|
1327
|
-
canvas:
|
|
1328
|
-
svg:
|
|
1329
|
-
vml:
|
|
1330
|
-
inlineSvg:
|
|
1331
|
-
mac:
|
|
1332
|
-
linux:
|
|
1333
|
-
},
|
|
1334
|
-
touchstart:
|
|
1335
|
-
touchmove:
|
|
1336
|
-
touchend:
|
|
1337
|
-
touchcancel:
|
|
1338
|
-
},
|
|
1339
|
-
touchstart:
|
|
1340
|
-
touchmove:
|
|
1341
|
-
touchend:
|
|
1342
|
-
touchcancel:
|
|
1343
|
-
},
|
|
1344
|
-
function
|
|
1345
|
-
return t === "touchstart" &&
|
|
1317
|
+
mobileWebkit: H,
|
|
1318
|
+
mobileWebkit3d: je,
|
|
1319
|
+
msPointer: Me,
|
|
1320
|
+
pointer: Ne,
|
|
1321
|
+
touch: Fe,
|
|
1322
|
+
touchNative: Pe,
|
|
1323
|
+
mobileOpera: Ie,
|
|
1324
|
+
mobileGecko: Le,
|
|
1325
|
+
retina: Re,
|
|
1326
|
+
passiveEvents: ze,
|
|
1327
|
+
canvas: Be,
|
|
1328
|
+
svg: Ve,
|
|
1329
|
+
vml: Ue,
|
|
1330
|
+
inlineSvg: He,
|
|
1331
|
+
mac: We,
|
|
1332
|
+
linux: Ge
|
|
1333
|
+
}, qe = U.msPointer ? "MSPointerDown" : "pointerdown", Je = U.msPointer ? "MSPointerMove" : "pointermove", Ye = U.msPointer ? "MSPointerUp" : "pointerup", Xe = U.msPointer ? "MSPointerCancel" : "pointercancel", Ze = {
|
|
1334
|
+
touchstart: qe,
|
|
1335
|
+
touchmove: Je,
|
|
1336
|
+
touchend: Ye,
|
|
1337
|
+
touchcancel: Xe
|
|
1338
|
+
}, Qe = {
|
|
1339
|
+
touchstart: ct,
|
|
1340
|
+
touchmove: st,
|
|
1341
|
+
touchend: st,
|
|
1342
|
+
touchcancel: st
|
|
1343
|
+
}, $e = {}, et = !1;
|
|
1344
|
+
function tt(e, t, n) {
|
|
1345
|
+
return t === "touchstart" && ot(), Qe[t] ? (n = Qe[t].bind(this, n), e.addEventListener(Ze[t], n, !1), n) : (console.warn("wrong event specified:", t), l);
|
|
1346
1346
|
}
|
|
1347
|
-
function
|
|
1348
|
-
if (!
|
|
1347
|
+
function nt(e, t, n) {
|
|
1348
|
+
if (!Ze[t]) {
|
|
1349
1349
|
console.warn("wrong event specified:", t);
|
|
1350
1350
|
return;
|
|
1351
1351
|
}
|
|
1352
|
-
e.removeEventListener(
|
|
1352
|
+
e.removeEventListener(Ze[t], n, !1);
|
|
1353
|
+
}
|
|
1354
|
+
function rt(e) {
|
|
1355
|
+
$e[e.pointerId] = e;
|
|
1353
1356
|
}
|
|
1354
1357
|
function it(e) {
|
|
1355
|
-
|
|
1358
|
+
$e[e.pointerId] && ($e[e.pointerId] = e);
|
|
1356
1359
|
}
|
|
1357
1360
|
function at(e) {
|
|
1358
|
-
|
|
1361
|
+
delete $e[e.pointerId];
|
|
1359
1362
|
}
|
|
1360
|
-
function ot(
|
|
1361
|
-
|
|
1363
|
+
function ot() {
|
|
1364
|
+
et ||= (document.addEventListener(qe, rt, !0), document.addEventListener(Je, it, !0), document.addEventListener(Ye, at, !0), document.addEventListener(Xe, at, !0), !0);
|
|
1362
1365
|
}
|
|
1363
|
-
function st() {
|
|
1364
|
-
tt ||= (document.addEventListener(Je, it, !0), document.addEventListener(Ye, at, !0), document.addEventListener(Xe, ot, !0), document.addEventListener(Ze, ot, !0), !0);
|
|
1365
|
-
}
|
|
1366
|
-
function ct(e, t) {
|
|
1366
|
+
function st(e, t) {
|
|
1367
1367
|
if (t.pointerType !== (t.MSPOINTER_TYPE_MOUSE || "mouse")) {
|
|
1368
|
-
for (var n in t.touches = [],
|
|
1368
|
+
for (var n in t.touches = [], $e) t.touches.push($e[n]);
|
|
1369
1369
|
t.changedTouches = [t], e(t);
|
|
1370
1370
|
}
|
|
1371
1371
|
}
|
|
1372
|
-
function
|
|
1373
|
-
t.MSPOINTER_TYPE_TOUCH && t.pointerType === t.MSPOINTER_TYPE_TOUCH && Z(t),
|
|
1372
|
+
function ct(e, t) {
|
|
1373
|
+
t.MSPOINTER_TYPE_TOUCH && t.pointerType === t.MSPOINTER_TYPE_TOUCH && Z(t), st(e, t);
|
|
1374
1374
|
}
|
|
1375
|
-
function
|
|
1375
|
+
function lt(e) {
|
|
1376
1376
|
var t = {}, n, r;
|
|
1377
1377
|
for (r in e) n = e[r], t[r] = n && n.bind ? n.bind(e) : n;
|
|
1378
1378
|
return e = t, t.type = "dblclick", t.detail = 2, t.isTrusted = !1, t._simulated = !0, t;
|
|
1379
1379
|
}
|
|
1380
|
-
var
|
|
1381
|
-
function
|
|
1380
|
+
var ut = 200;
|
|
1381
|
+
function dt(e, t) {
|
|
1382
1382
|
e.addEventListener("dblclick", t);
|
|
1383
1383
|
var n = 0, r;
|
|
1384
1384
|
function i(e) {
|
|
@@ -1394,7 +1394,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1394
1394
|
return e instanceof HTMLInputElement || e instanceof HTMLSelectElement;
|
|
1395
1395
|
}))) {
|
|
1396
1396
|
var a = Date.now();
|
|
1397
|
-
a - n <=
|
|
1397
|
+
a - n <= ut ? (r++, r === 2 && t(lt(e))) : r = 1, n = a;
|
|
1398
1398
|
}
|
|
1399
1399
|
}
|
|
1400
1400
|
}
|
|
@@ -1403,26 +1403,26 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1403
1403
|
simDblclick: i
|
|
1404
1404
|
};
|
|
1405
1405
|
}
|
|
1406
|
-
function
|
|
1406
|
+
function ft(e, t) {
|
|
1407
1407
|
e.removeEventListener("dblclick", t.dblclick), e.removeEventListener("click", t.simDblclick);
|
|
1408
1408
|
}
|
|
1409
|
-
var
|
|
1409
|
+
var pt = Et([
|
|
1410
1410
|
"transform",
|
|
1411
1411
|
"webkitTransform",
|
|
1412
1412
|
"OTransform",
|
|
1413
1413
|
"MozTransform",
|
|
1414
1414
|
"msTransform"
|
|
1415
|
-
]),
|
|
1415
|
+
]), mt = Et([
|
|
1416
1416
|
"webkitTransition",
|
|
1417
1417
|
"transition",
|
|
1418
1418
|
"OTransition",
|
|
1419
1419
|
"MozTransition",
|
|
1420
1420
|
"msTransition"
|
|
1421
|
-
]),
|
|
1422
|
-
function
|
|
1421
|
+
]), ht = mt === "webkitTransition" || mt === "OTransition" ? mt + "End" : "transitionend";
|
|
1422
|
+
function gt(e) {
|
|
1423
1423
|
return typeof e == "string" ? document.getElementById(e) : e;
|
|
1424
1424
|
}
|
|
1425
|
-
function
|
|
1425
|
+
function _t(e, t) {
|
|
1426
1426
|
var n = e.style[t] || e.currentStyle && e.currentStyle[t];
|
|
1427
1427
|
if ((!n || n === "auto") && document.defaultView) {
|
|
1428
1428
|
var r = document.defaultView.getComputedStyle(e, null);
|
|
@@ -1430,50 +1430,50 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1430
1430
|
}
|
|
1431
1431
|
return n === "auto" ? null : n;
|
|
1432
1432
|
}
|
|
1433
|
-
function
|
|
1433
|
+
function W(e, t, n) {
|
|
1434
1434
|
var r = document.createElement(e);
|
|
1435
1435
|
return r.className = t || "", n && n.appendChild(r), r;
|
|
1436
1436
|
}
|
|
1437
|
-
function
|
|
1437
|
+
function G(e) {
|
|
1438
1438
|
var t = e.parentNode;
|
|
1439
1439
|
t && t.removeChild(e);
|
|
1440
1440
|
}
|
|
1441
|
-
function
|
|
1441
|
+
function vt(e) {
|
|
1442
1442
|
for (; e.firstChild;) e.removeChild(e.firstChild);
|
|
1443
1443
|
}
|
|
1444
|
-
function
|
|
1444
|
+
function yt(e) {
|
|
1445
1445
|
var t = e.parentNode;
|
|
1446
1446
|
t && t.lastChild !== e && t.appendChild(e);
|
|
1447
1447
|
}
|
|
1448
|
-
function
|
|
1448
|
+
function bt(e) {
|
|
1449
1449
|
var t = e.parentNode;
|
|
1450
1450
|
t && t.firstChild !== e && t.insertBefore(e, t.firstChild);
|
|
1451
1451
|
}
|
|
1452
|
-
function
|
|
1452
|
+
function xt(e, t) {
|
|
1453
1453
|
if (e.classList !== void 0) return e.classList.contains(t);
|
|
1454
|
-
var n =
|
|
1454
|
+
var n = Ct(e);
|
|
1455
1455
|
return n.length > 0 && RegExp("(^|\\s)" + t + "(\\s|$)").test(n);
|
|
1456
1456
|
}
|
|
1457
|
-
function
|
|
1457
|
+
function K(e, t) {
|
|
1458
1458
|
if (e.classList !== void 0) for (var n = f(t), r = 0, i = n.length; r < i; r++) e.classList.add(n[r]);
|
|
1459
|
-
else if (!
|
|
1460
|
-
var a =
|
|
1461
|
-
|
|
1459
|
+
else if (!xt(e, t)) {
|
|
1460
|
+
var a = Ct(e);
|
|
1461
|
+
St(e, (a ? a + " " : "") + t);
|
|
1462
1462
|
}
|
|
1463
1463
|
}
|
|
1464
|
-
function
|
|
1465
|
-
e.classList === void 0 ?
|
|
1464
|
+
function q(e, t) {
|
|
1465
|
+
e.classList === void 0 ? St(e, d((" " + Ct(e) + " ").replace(" " + t + " ", " "))) : e.classList.remove(t);
|
|
1466
1466
|
}
|
|
1467
|
-
function
|
|
1467
|
+
function St(e, t) {
|
|
1468
1468
|
e.className.baseVal === void 0 ? e.className = t : e.className.baseVal = t;
|
|
1469
1469
|
}
|
|
1470
|
-
function
|
|
1470
|
+
function Ct(e) {
|
|
1471
1471
|
return e.correspondingElement && (e = e.correspondingElement), e.className.baseVal === void 0 ? e.className : e.className.baseVal;
|
|
1472
1472
|
}
|
|
1473
|
-
function
|
|
1474
|
-
"opacity" in e.style ? e.style.opacity = t : "filter" in e.style &&
|
|
1473
|
+
function wt(e, t) {
|
|
1474
|
+
"opacity" in e.style ? e.style.opacity = t : "filter" in e.style && Tt(e, t);
|
|
1475
1475
|
}
|
|
1476
|
-
function
|
|
1476
|
+
function Tt(e, t) {
|
|
1477
1477
|
var n = !1, r = "DXImageTransform.Microsoft.Alpha";
|
|
1478
1478
|
try {
|
|
1479
1479
|
n = e.filters.item(r);
|
|
@@ -1482,64 +1482,64 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1482
1482
|
}
|
|
1483
1483
|
t = Math.round(t * 100), n ? (n.Enabled = t !== 100, n.Opacity = t) : e.style.filter += " progid:" + r + "(opacity=" + t + ")";
|
|
1484
1484
|
}
|
|
1485
|
-
function
|
|
1485
|
+
function Et(e) {
|
|
1486
1486
|
for (var t = document.documentElement.style, n = 0; n < e.length; n++) if (e[n] in t) return e[n];
|
|
1487
1487
|
return !1;
|
|
1488
1488
|
}
|
|
1489
|
-
function
|
|
1489
|
+
function Dt(e, t, n) {
|
|
1490
1490
|
var r = t || new E(0, 0);
|
|
1491
|
-
e.style[
|
|
1491
|
+
e.style[pt] = (U.ie3d ? "translate(" + r.x + "px," + r.y + "px)" : "translate3d(" + r.x + "px," + r.y + "px,0)") + (n ? " scale(" + n + ")" : "");
|
|
1492
1492
|
}
|
|
1493
|
-
function
|
|
1494
|
-
e._leaflet_pos = t,
|
|
1493
|
+
function J(e, t) {
|
|
1494
|
+
e._leaflet_pos = t, U.any3d ? Dt(e, t) : (e.style.left = t.x + "px", e.style.top = t.y + "px");
|
|
1495
1495
|
}
|
|
1496
|
-
function
|
|
1496
|
+
function Ot(e) {
|
|
1497
1497
|
return e._leaflet_pos || new E(0, 0);
|
|
1498
1498
|
}
|
|
1499
|
-
var At, jt
|
|
1500
|
-
if ("onselectstart" in document)
|
|
1501
|
-
J(window, "selectstart", Z);
|
|
1502
|
-
}, jt = function() {
|
|
1499
|
+
var kt, At, jt;
|
|
1500
|
+
if ("onselectstart" in document) kt = function() {
|
|
1503
1501
|
Y(window, "selectstart", Z);
|
|
1502
|
+
}, At = function() {
|
|
1503
|
+
X(window, "selectstart", Z);
|
|
1504
1504
|
};
|
|
1505
1505
|
else {
|
|
1506
|
-
var
|
|
1506
|
+
var Mt = Et([
|
|
1507
1507
|
"userSelect",
|
|
1508
1508
|
"WebkitUserSelect",
|
|
1509
1509
|
"OUserSelect",
|
|
1510
1510
|
"MozUserSelect",
|
|
1511
1511
|
"msUserSelect"
|
|
1512
1512
|
]);
|
|
1513
|
-
|
|
1514
|
-
if (
|
|
1513
|
+
kt = function() {
|
|
1514
|
+
if (Mt) {
|
|
1515
1515
|
var e = document.documentElement.style;
|
|
1516
|
-
|
|
1516
|
+
jt = e[Mt], e[Mt] = "none";
|
|
1517
1517
|
}
|
|
1518
|
-
},
|
|
1519
|
-
|
|
1518
|
+
}, At = function() {
|
|
1519
|
+
Mt && (document.documentElement.style[Mt] = jt, jt = void 0);
|
|
1520
1520
|
};
|
|
1521
1521
|
}
|
|
1522
|
-
function
|
|
1523
|
-
J(window, "dragstart", Z);
|
|
1524
|
-
}
|
|
1525
|
-
function Ft() {
|
|
1522
|
+
function Nt() {
|
|
1526
1523
|
Y(window, "dragstart", Z);
|
|
1527
1524
|
}
|
|
1528
|
-
|
|
1529
|
-
|
|
1525
|
+
function Pt() {
|
|
1526
|
+
X(window, "dragstart", Z);
|
|
1527
|
+
}
|
|
1528
|
+
var Ft, It;
|
|
1529
|
+
function Lt(e) {
|
|
1530
1530
|
for (; e.tabIndex === -1;) e = e.parentNode;
|
|
1531
|
-
e.style && (
|
|
1531
|
+
e.style && (Rt(), Ft = e, It = e.style.outlineStyle, e.style.outlineStyle = "none", Y(window, "keydown", Rt));
|
|
1532
1532
|
}
|
|
1533
|
-
function
|
|
1534
|
-
|
|
1533
|
+
function Rt() {
|
|
1534
|
+
Ft && (Ft.style.outlineStyle = It, Ft = void 0, It = void 0, X(window, "keydown", Rt));
|
|
1535
1535
|
}
|
|
1536
|
-
function
|
|
1536
|
+
function zt(e) {
|
|
1537
1537
|
do
|
|
1538
1538
|
e = e.parentNode;
|
|
1539
1539
|
while ((!e.offsetWidth || !e.offsetHeight) && e !== document.body);
|
|
1540
1540
|
return e;
|
|
1541
1541
|
}
|
|
1542
|
-
function
|
|
1542
|
+
function Bt(e) {
|
|
1543
1543
|
var t = e.getBoundingClientRect();
|
|
1544
1544
|
return {
|
|
1545
1545
|
x: t.width / e.offsetWidth || 1,
|
|
@@ -1547,100 +1547,100 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1547
1547
|
boundingClientRect: t
|
|
1548
1548
|
};
|
|
1549
1549
|
}
|
|
1550
|
-
var
|
|
1550
|
+
var Vt = {
|
|
1551
1551
|
__proto__: null,
|
|
1552
|
-
TRANSFORM:
|
|
1553
|
-
TRANSITION:
|
|
1554
|
-
TRANSITION_END:
|
|
1555
|
-
get:
|
|
1556
|
-
getStyle:
|
|
1557
|
-
create:
|
|
1558
|
-
remove:
|
|
1559
|
-
empty:
|
|
1560
|
-
toFront:
|
|
1561
|
-
toBack:
|
|
1562
|
-
hasClass:
|
|
1563
|
-
addClass:
|
|
1564
|
-
removeClass:
|
|
1565
|
-
setClass:
|
|
1566
|
-
getClass:
|
|
1567
|
-
setOpacity:
|
|
1568
|
-
testProp:
|
|
1569
|
-
setTransform:
|
|
1570
|
-
setPosition:
|
|
1571
|
-
getPosition:
|
|
1552
|
+
TRANSFORM: pt,
|
|
1553
|
+
TRANSITION: mt,
|
|
1554
|
+
TRANSITION_END: ht,
|
|
1555
|
+
get: gt,
|
|
1556
|
+
getStyle: _t,
|
|
1557
|
+
create: W,
|
|
1558
|
+
remove: G,
|
|
1559
|
+
empty: vt,
|
|
1560
|
+
toFront: yt,
|
|
1561
|
+
toBack: bt,
|
|
1562
|
+
hasClass: xt,
|
|
1563
|
+
addClass: K,
|
|
1564
|
+
removeClass: q,
|
|
1565
|
+
setClass: St,
|
|
1566
|
+
getClass: Ct,
|
|
1567
|
+
setOpacity: wt,
|
|
1568
|
+
testProp: Et,
|
|
1569
|
+
setTransform: Dt,
|
|
1570
|
+
setPosition: J,
|
|
1571
|
+
getPosition: Ot,
|
|
1572
1572
|
get disableTextSelection() {
|
|
1573
|
-
return
|
|
1573
|
+
return kt;
|
|
1574
1574
|
},
|
|
1575
1575
|
get enableTextSelection() {
|
|
1576
|
-
return
|
|
1577
|
-
},
|
|
1578
|
-
disableImageDrag:
|
|
1579
|
-
enableImageDrag:
|
|
1580
|
-
preventOutline:
|
|
1581
|
-
restoreOutline:
|
|
1582
|
-
getSizedParentNode:
|
|
1583
|
-
getScale:
|
|
1576
|
+
return At;
|
|
1577
|
+
},
|
|
1578
|
+
disableImageDrag: Nt,
|
|
1579
|
+
enableImageDrag: Pt,
|
|
1580
|
+
preventOutline: Lt,
|
|
1581
|
+
restoreOutline: Rt,
|
|
1582
|
+
getSizedParentNode: zt,
|
|
1583
|
+
getScale: Bt
|
|
1584
1584
|
};
|
|
1585
|
-
function
|
|
1586
|
-
if (t && typeof t == "object") for (var i in t)
|
|
1585
|
+
function Y(e, t, n, r) {
|
|
1586
|
+
if (t && typeof t == "object") for (var i in t) Gt(e, i, t[i], n);
|
|
1587
1587
|
else {
|
|
1588
1588
|
t = f(t);
|
|
1589
|
-
for (var a = 0, o = t.length; a < o; a++)
|
|
1589
|
+
for (var a = 0, o = t.length; a < o; a++) Gt(e, t[a], n, r);
|
|
1590
1590
|
}
|
|
1591
1591
|
return this;
|
|
1592
1592
|
}
|
|
1593
|
-
var
|
|
1594
|
-
function
|
|
1595
|
-
if (arguments.length === 1)
|
|
1596
|
-
else if (t && typeof t == "object") for (var i in t)
|
|
1597
|
-
else if (t = f(t), arguments.length === 2)
|
|
1593
|
+
var Ht = "_leaflet_events";
|
|
1594
|
+
function X(e, t, n, r) {
|
|
1595
|
+
if (arguments.length === 1) Ut(e), delete e[Ht];
|
|
1596
|
+
else if (t && typeof t == "object") for (var i in t) Kt(e, i, t[i], n);
|
|
1597
|
+
else if (t = f(t), arguments.length === 2) Ut(e, function(e) {
|
|
1598
1598
|
return ee(t, e) !== -1;
|
|
1599
1599
|
});
|
|
1600
|
-
else for (var a = 0, o = t.length; a < o; a++)
|
|
1600
|
+
else for (var a = 0, o = t.length; a < o; a++) Kt(e, t[a], n, r);
|
|
1601
1601
|
return this;
|
|
1602
1602
|
}
|
|
1603
|
-
function
|
|
1604
|
-
for (var n in e[
|
|
1603
|
+
function Ut(e, t) {
|
|
1604
|
+
for (var n in e[Ht]) {
|
|
1605
1605
|
var r = n.split(/\d/)[0];
|
|
1606
|
-
(!t || t(r)) &&
|
|
1606
|
+
(!t || t(r)) && Kt(e, r, null, null, n);
|
|
1607
1607
|
}
|
|
1608
1608
|
}
|
|
1609
|
-
var
|
|
1609
|
+
var Wt = {
|
|
1610
1610
|
mouseenter: "mouseover",
|
|
1611
1611
|
mouseleave: "mouseout",
|
|
1612
1612
|
wheel: !("onwheel" in window) && "mousewheel"
|
|
1613
1613
|
};
|
|
1614
|
-
function
|
|
1614
|
+
function Gt(e, t, n, r) {
|
|
1615
1615
|
var i = t + o(n) + (r ? "_" + o(r) : "");
|
|
1616
|
-
if (e[
|
|
1616
|
+
if (e[Ht] && e[Ht][i]) return this;
|
|
1617
1617
|
var a = function(t) {
|
|
1618
1618
|
return n.call(r || e, t || window.event);
|
|
1619
1619
|
}, s = a;
|
|
1620
|
-
!
|
|
1620
|
+
!U.touchNative && U.pointer && t.indexOf("touch") === 0 ? a = tt(e, t, a) : U.touch && t === "dblclick" ? a = dt(e, a) : "addEventListener" in e ? t === "touchstart" || t === "touchmove" || t === "wheel" || t === "mousewheel" ? e.addEventListener(Wt[t] || t, a, U.passiveEvents ? { passive: !1 } : !1) : t === "mouseenter" || t === "mouseleave" ? (a = function(t) {
|
|
1621
1621
|
t ||= window.event, tn(e, t) && s(t);
|
|
1622
|
-
}, e.addEventListener(
|
|
1622
|
+
}, e.addEventListener(Wt[t], a, !1)) : e.addEventListener(t, s, !1) : e.attachEvent("on" + t, a), e[Ht] = e[Ht] || {}, e[Ht][i] = a;
|
|
1623
1623
|
}
|
|
1624
|
-
function
|
|
1624
|
+
function Kt(e, t, n, r, i) {
|
|
1625
1625
|
i ||= t + o(n) + (r ? "_" + o(r) : "");
|
|
1626
|
-
var a = e[
|
|
1626
|
+
var a = e[Ht] && e[Ht][i];
|
|
1627
1627
|
if (!a) return this;
|
|
1628
|
-
!
|
|
1628
|
+
!U.touchNative && U.pointer && t.indexOf("touch") === 0 ? nt(e, t, a) : U.touch && t === "dblclick" ? ft(e, a) : "removeEventListener" in e ? e.removeEventListener(Wt[t] || t, a, !1) : e.detachEvent("on" + t, a), e[Ht][i] = null;
|
|
1629
1629
|
}
|
|
1630
|
-
function
|
|
1630
|
+
function qt(e) {
|
|
1631
1631
|
return e.stopPropagation ? e.stopPropagation() : e.originalEvent ? e.originalEvent._stopped = !0 : e.cancelBubble = !0, this;
|
|
1632
1632
|
}
|
|
1633
|
-
function
|
|
1634
|
-
return
|
|
1633
|
+
function Jt(e) {
|
|
1634
|
+
return Gt(e, "wheel", qt), this;
|
|
1635
1635
|
}
|
|
1636
|
-
function
|
|
1637
|
-
return
|
|
1636
|
+
function Yt(e) {
|
|
1637
|
+
return Y(e, "mousedown touchstart dblclick contextmenu", qt), e._leaflet_disable_click = !0, this;
|
|
1638
1638
|
}
|
|
1639
1639
|
function Z(e) {
|
|
1640
1640
|
return e.preventDefault ? e.preventDefault() : e.returnValue = !1, this;
|
|
1641
1641
|
}
|
|
1642
1642
|
function Xt(e) {
|
|
1643
|
-
return Z(e),
|
|
1643
|
+
return Z(e), qt(e), this;
|
|
1644
1644
|
}
|
|
1645
1645
|
function Zt(e) {
|
|
1646
1646
|
if (e.composedPath) return e.composedPath();
|
|
@@ -1649,12 +1649,12 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1649
1649
|
}
|
|
1650
1650
|
function Qt(e, t) {
|
|
1651
1651
|
if (!t) return new E(e.clientX, e.clientY);
|
|
1652
|
-
var n =
|
|
1652
|
+
var n = Bt(t), r = n.boundingClientRect;
|
|
1653
1653
|
return new E((e.clientX - r.left) / n.x - t.clientLeft, (e.clientY - r.top) / n.y - t.clientTop);
|
|
1654
1654
|
}
|
|
1655
|
-
var $t =
|
|
1655
|
+
var $t = U.linux && U.chrome ? window.devicePixelRatio : U.mac ? window.devicePixelRatio * 3 : window.devicePixelRatio > 0 ? 2 * window.devicePixelRatio : 1;
|
|
1656
1656
|
function en(e) {
|
|
1657
|
-
return
|
|
1657
|
+
return U.edge ? e.wheelDeltaY / 2 : e.deltaY && e.deltaMode === 0 ? -e.deltaY / $t : e.deltaY && e.deltaMode === 1 ? -e.deltaY * 20 : e.deltaY && e.deltaMode === 2 ? -e.deltaY * 60 : e.deltaX || e.deltaZ ? 0 : e.wheelDelta ? (e.wheelDeltaY || e.wheelDelta) / 2 : e.detail && Math.abs(e.detail) < 32765 ? -e.detail * 20 : e.detail ? e.detail / -32765 * 60 : 0;
|
|
1658
1658
|
}
|
|
1659
1659
|
function tn(e, t) {
|
|
1660
1660
|
var n = t.relatedTarget;
|
|
@@ -1668,22 +1668,22 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1668
1668
|
}
|
|
1669
1669
|
var nn = {
|
|
1670
1670
|
__proto__: null,
|
|
1671
|
-
on:
|
|
1672
|
-
off:
|
|
1673
|
-
stopPropagation:
|
|
1674
|
-
disableScrollPropagation:
|
|
1675
|
-
disableClickPropagation:
|
|
1671
|
+
on: Y,
|
|
1672
|
+
off: X,
|
|
1673
|
+
stopPropagation: qt,
|
|
1674
|
+
disableScrollPropagation: Jt,
|
|
1675
|
+
disableClickPropagation: Yt,
|
|
1676
1676
|
preventDefault: Z,
|
|
1677
1677
|
stop: Xt,
|
|
1678
1678
|
getPropagationPath: Zt,
|
|
1679
1679
|
getMousePosition: Qt,
|
|
1680
1680
|
getWheelDelta: en,
|
|
1681
1681
|
isExternalTarget: tn,
|
|
1682
|
-
addListener:
|
|
1683
|
-
removeListener:
|
|
1682
|
+
addListener: Y,
|
|
1683
|
+
removeListener: X
|
|
1684
1684
|
}, rn = T.extend({
|
|
1685
1685
|
run: function(e, t, n, r) {
|
|
1686
|
-
this.stop(), this._el = e, this._inProgress = !0, this._duration = n || .25, this._easeOutPower = 1 / Math.max(r || .5, .2), this._startPos =
|
|
1686
|
+
this.stop(), this._el = e, this._inProgress = !0, this._duration = n || .25, this._easeOutPower = 1 / Math.max(r || .5, .2), this._startPos = Ot(e), this._offset = t.subtract(this._startPos), this._startTime = +/* @__PURE__ */ new Date(), this.fire("start"), this._animate();
|
|
1687
1687
|
},
|
|
1688
1688
|
stop: function() {
|
|
1689
1689
|
this._inProgress && (this._step(!0), this._complete());
|
|
@@ -1697,7 +1697,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1697
1697
|
},
|
|
1698
1698
|
_runFrame: function(e, t) {
|
|
1699
1699
|
var n = this._startPos.add(this._offset.multiplyBy(e));
|
|
1700
|
-
t && n._round(),
|
|
1700
|
+
t && n._round(), J(this._el, n), this.fire("step");
|
|
1701
1701
|
},
|
|
1702
1702
|
_complete: function() {
|
|
1703
1703
|
S(this._animId), this._inProgress = !1, this.fire("end");
|
|
@@ -1725,7 +1725,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1725
1725
|
trackResize: !0
|
|
1726
1726
|
},
|
|
1727
1727
|
initialize: function(e, t) {
|
|
1728
|
-
t = p(this, t), this._handlers = [], this._layers = {}, this._zoomBoundLayers = {}, this._sizeChanged = !0, this._initContainer(e), this._initLayout(), this._onResize = i(this._onResize, this), this._initEvents(), t.maxBounds && this.setMaxBounds(t.maxBounds), t.zoom !== void 0 && (this._zoom = this._limitZoom(t.zoom)), t.center && t.zoom !== void 0 && this.setView(P(t.center), t.zoom, { reset: !0 }), this.callInitHooks(), this._zoomAnimated =
|
|
1728
|
+
t = p(this, t), this._handlers = [], this._layers = {}, this._zoomBoundLayers = {}, this._sizeChanged = !0, this._initContainer(e), this._initLayout(), this._onResize = i(this._onResize, this), this._initEvents(), t.maxBounds && this.setMaxBounds(t.maxBounds), t.zoom !== void 0 && (this._zoom = this._limitZoom(t.zoom)), t.center && t.zoom !== void 0 && this.setView(P(t.center), t.zoom, { reset: !0 }), this.callInitHooks(), this._zoomAnimated = mt && U.any3d && !U.mobileOpera && this.options.zoomAnimation, this._zoomAnimated && (this._createAnimProxy(), Y(this._proxy, ht, this._catchTransitionEnd, this)), this._addLayers(this.options.layers);
|
|
1729
1729
|
},
|
|
1730
1730
|
setView: function(e, t, r) {
|
|
1731
1731
|
return t = t === void 0 ? this._zoom : this._limitZoom(t), e = this._limitCenter(P(e), t, this.options.maxBounds), r ||= {}, this._stop(), this._loaded && !r.reset && r !== !0 && (r.animate !== void 0 && (r.zoom = n({ animate: r.animate }, r.zoom), r.pan = n({
|
|
@@ -1737,10 +1737,10 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1737
1737
|
return this._loaded ? this.setView(this.getCenter(), e, { zoom: t }) : (this._zoom = e, this);
|
|
1738
1738
|
},
|
|
1739
1739
|
zoomIn: function(e, t) {
|
|
1740
|
-
return e ||=
|
|
1740
|
+
return e ||= U.any3d ? this.options.zoomDelta : 1, this.setZoom(this._zoom + e, t);
|
|
1741
1741
|
},
|
|
1742
1742
|
zoomOut: function(e, t) {
|
|
1743
|
-
return e ||=
|
|
1743
|
+
return e ||= U.any3d ? this.options.zoomDelta : 1, this.setZoom(this._zoom - e, t);
|
|
1744
1744
|
},
|
|
1745
1745
|
setZoomAround: function(e, t, n) {
|
|
1746
1746
|
var r = this.getZoomScale(t), i = this.getSize().divideBy(2), a = (e instanceof E ? e : this.latLngToContainerPoint(e)).subtract(i).multiplyBy(1 - 1 / r), o = this.containerPointToLatLng(i.add(a));
|
|
@@ -1777,14 +1777,14 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1777
1777
|
step: this._onPanTransitionStep,
|
|
1778
1778
|
end: this._onPanTransitionEnd
|
|
1779
1779
|
}, this)), t.noMoveStart || this.fire("movestart"), t.animate !== !1) {
|
|
1780
|
-
|
|
1780
|
+
K(this._mapPane, "leaflet-pan-anim");
|
|
1781
1781
|
var n = this._getMapPanePos().subtract(e).round();
|
|
1782
1782
|
this._panAnim.run(this._mapPane, n, t.duration || .25, t.easeLinearity);
|
|
1783
1783
|
} else this._rawPanBy(e), this.fire("move").fire("moveend");
|
|
1784
1784
|
return this;
|
|
1785
1785
|
},
|
|
1786
1786
|
flyTo: function(e, t, n) {
|
|
1787
|
-
if (n ||= {}, n.animate === !1 || !
|
|
1787
|
+
if (n ||= {}, n.animate === !1 || !U.any3d) return this.setView(e, t, n);
|
|
1788
1788
|
this._stop();
|
|
1789
1789
|
var r = this.project(this.getCenter()), i = this.project(e), a = this.getSize(), o = this._zoom;
|
|
1790
1790
|
e = P(e), t = t === void 0 ? o : t;
|
|
@@ -1917,12 +1917,12 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1917
1917
|
} catch {
|
|
1918
1918
|
this._container._leaflet_id = void 0, this._containerId = void 0;
|
|
1919
1919
|
}
|
|
1920
|
-
for (var e in this._locationWatchId !== void 0 && this.stopLocate(), this._stop(),
|
|
1921
|
-
for (e in this._panes)
|
|
1920
|
+
for (var e in this._locationWatchId !== void 0 && this.stopLocate(), this._stop(), G(this._mapPane), this._clearControlPos && this._clearControlPos(), this._resizeRequest &&= (S(this._resizeRequest), null), this._clearHandlers(), this._loaded && this.fire("unload"), this._layers) this._layers[e].remove();
|
|
1921
|
+
for (e in this._panes) G(this._panes[e]);
|
|
1922
1922
|
return this._layers = [], this._panes = [], delete this._mapPane, delete this._renderer, this;
|
|
1923
1923
|
},
|
|
1924
1924
|
createPane: function(e, t) {
|
|
1925
|
-
var n =
|
|
1925
|
+
var n = W("div", "leaflet-pane" + (e ? " leaflet-" + e.replace("Pane", "") + "-pane" : ""), t || this._mapPane);
|
|
1926
1926
|
return e && (this._panes[e] = n), n;
|
|
1927
1927
|
},
|
|
1928
1928
|
getCenter: function() {
|
|
@@ -1943,7 +1943,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1943
1943
|
},
|
|
1944
1944
|
getBoundsZoom: function(e, t, n) {
|
|
1945
1945
|
e = M(e), n = O(n || [0, 0]);
|
|
1946
|
-
var r = this.getZoom() || 0, i = this.getMinZoom(), a = this.getMaxZoom(), o = e.getNorthWest(), s = e.getSouthEast(), c = this.getSize().subtract(n), l = A(this.project(s, r), this.project(o, r)).getSize(), u =
|
|
1946
|
+
var r = this.getZoom() || 0, i = this.getMinZoom(), a = this.getMaxZoom(), o = e.getNorthWest(), s = e.getSouthEast(), c = this.getSize().subtract(n), l = A(this.project(s, r), this.project(o, r)).getSize(), u = U.any3d ? this.options.zoomSnap : 1, d = c.x / l.x, f = c.y / l.y, p = t ? Math.max(d, f) : Math.min(d, f);
|
|
1947
1947
|
return r = this.getScaleZoom(p, r), u && (r = Math.round(r / (u / 100)) * (u / 100), r = t ? Math.ceil(r / u) * u : Math.floor(r / u) * u), Math.max(i, Math.min(a, r));
|
|
1948
1948
|
},
|
|
1949
1949
|
getSize: function() {
|
|
@@ -2023,23 +2023,23 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2023
2023
|
return this.layerPointToLatLng(this.mouseEventToLayerPoint(e));
|
|
2024
2024
|
},
|
|
2025
2025
|
_initContainer: function(e) {
|
|
2026
|
-
var t = this._container =
|
|
2026
|
+
var t = this._container = gt(e);
|
|
2027
2027
|
if (!t) throw Error("Map container not found.");
|
|
2028
2028
|
if (t._leaflet_id) throw Error("Map container is already initialized.");
|
|
2029
|
-
|
|
2029
|
+
Y(t, "scroll", this._onScroll, this), this._containerId = o(t);
|
|
2030
2030
|
},
|
|
2031
2031
|
_initLayout: function() {
|
|
2032
2032
|
var e = this._container;
|
|
2033
|
-
this._fadeAnimated = this.options.fadeAnimation &&
|
|
2034
|
-
var t =
|
|
2033
|
+
this._fadeAnimated = this.options.fadeAnimation && U.any3d, K(e, "leaflet-container" + (U.touch ? " leaflet-touch" : "") + (U.retina ? " leaflet-retina" : "") + (U.ielt9 ? " leaflet-oldie" : "") + (U.safari ? " leaflet-safari" : "") + (this._fadeAnimated ? " leaflet-fade-anim" : ""));
|
|
2034
|
+
var t = _t(e, "position");
|
|
2035
2035
|
t !== "absolute" && t !== "relative" && t !== "fixed" && t !== "sticky" && (e.style.position = "relative"), this._initPanes(), this._initControlPos && this._initControlPos();
|
|
2036
2036
|
},
|
|
2037
2037
|
_initPanes: function() {
|
|
2038
2038
|
var e = this._panes = {};
|
|
2039
|
-
this._paneRenderers = {}, this._mapPane = this.createPane("mapPane", this._container),
|
|
2039
|
+
this._paneRenderers = {}, this._mapPane = this.createPane("mapPane", this._container), J(this._mapPane, new E(0, 0)), this.createPane("tilePane"), this.createPane("overlayPane"), this.createPane("shadowPane"), this.createPane("markerPane"), this.createPane("tooltipPane"), this.createPane("popupPane"), this.options.markerZoomAnimation || (K(e.markerPane, "leaflet-zoom-hide"), K(e.shadowPane, "leaflet-zoom-hide"));
|
|
2040
2040
|
},
|
|
2041
2041
|
_resetView: function(e, t, n) {
|
|
2042
|
-
|
|
2042
|
+
J(this._mapPane, new E(0, 0));
|
|
2043
2043
|
var r = !this._loaded;
|
|
2044
2044
|
this._loaded = !0, t = this._limitZoom(t), this.fire("viewprereset");
|
|
2045
2045
|
var i = this._zoom !== t;
|
|
@@ -2060,7 +2060,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2060
2060
|
return S(this._flyToFrame), this._panAnim && this._panAnim.stop(), this;
|
|
2061
2061
|
},
|
|
2062
2062
|
_rawPanBy: function(e) {
|
|
2063
|
-
|
|
2063
|
+
J(this._mapPane, this._getMapPanePos().subtract(e));
|
|
2064
2064
|
},
|
|
2065
2065
|
_getZoomSpan: function() {
|
|
2066
2066
|
return this.getMaxZoom() - this.getMinZoom();
|
|
@@ -2073,8 +2073,8 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2073
2073
|
},
|
|
2074
2074
|
_initEvents: function(e) {
|
|
2075
2075
|
this._targets = {}, this._targets[o(this._container)] = this;
|
|
2076
|
-
var t = e ?
|
|
2077
|
-
t(this._container, "click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup", this._handleDOMEvent, this), this.options.trackResize && t(window, "resize", this._onResize, this),
|
|
2076
|
+
var t = e ? X : Y;
|
|
2077
|
+
t(this._container, "click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup", this._handleDOMEvent, this), this.options.trackResize && t(window, "resize", this._onResize, this), U.any3d && this.options.transform3DLimit && (e ? this.off : this.on).call(this, "moveend", this._onMoveEnd);
|
|
2078
2078
|
},
|
|
2079
2079
|
_onResize: function() {
|
|
2080
2080
|
S(this._resizeRequest), this._resizeRequest = x(function() {
|
|
@@ -2109,7 +2109,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2109
2109
|
var t = e.target || e.srcElement;
|
|
2110
2110
|
if (!(!this._loaded || t._leaflet_disable_events || e.type === "click" && this._isClickDisabled(t))) {
|
|
2111
2111
|
var n = e.type;
|
|
2112
|
-
n === "mousedown" &&
|
|
2112
|
+
n === "mousedown" && Lt(t), this._fireDOMEvent(e, n);
|
|
2113
2113
|
}
|
|
2114
2114
|
},
|
|
2115
2115
|
_mouseEvents: [
|
|
@@ -2149,7 +2149,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2149
2149
|
return this._loaded ? e.call(t || this, { target: this }) : this.on("load", e, t), this;
|
|
2150
2150
|
},
|
|
2151
2151
|
_getMapPanePos: function() {
|
|
2152
|
-
return
|
|
2152
|
+
return Ot(this._mapPane) || new E(0, 0);
|
|
2153
2153
|
},
|
|
2154
2154
|
_moved: function() {
|
|
2155
2155
|
var e = this._getMapPanePos();
|
|
@@ -2199,32 +2199,32 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2199
2199
|
return e + t > 0 ? Math.round(e - t) / 2 : Math.max(0, Math.ceil(e)) - Math.max(0, Math.floor(t));
|
|
2200
2200
|
},
|
|
2201
2201
|
_limitZoom: function(e) {
|
|
2202
|
-
var t = this.getMinZoom(), n = this.getMaxZoom(), r =
|
|
2202
|
+
var t = this.getMinZoom(), n = this.getMaxZoom(), r = U.any3d ? this.options.zoomSnap : 1;
|
|
2203
2203
|
return r && (e = Math.round(e / r) * r), Math.max(t, Math.min(n, e));
|
|
2204
2204
|
},
|
|
2205
2205
|
_onPanTransitionStep: function() {
|
|
2206
2206
|
this.fire("move");
|
|
2207
2207
|
},
|
|
2208
2208
|
_onPanTransitionEnd: function() {
|
|
2209
|
-
|
|
2209
|
+
q(this._mapPane, "leaflet-pan-anim"), this.fire("moveend");
|
|
2210
2210
|
},
|
|
2211
2211
|
_tryAnimatedPan: function(e, t) {
|
|
2212
2212
|
var n = this._getCenterOffset(e)._trunc();
|
|
2213
2213
|
return (t && t.animate) !== !0 && !this.getSize().contains(n) ? !1 : (this.panBy(n, t), !0);
|
|
2214
2214
|
},
|
|
2215
2215
|
_createAnimProxy: function() {
|
|
2216
|
-
var e = this._proxy =
|
|
2216
|
+
var e = this._proxy = W("div", "leaflet-proxy leaflet-zoom-animated");
|
|
2217
2217
|
this._panes.mapPane.appendChild(e), this.on("zoomanim", function(e) {
|
|
2218
|
-
var t =
|
|
2219
|
-
|
|
2218
|
+
var t = pt, n = this._proxy.style[t];
|
|
2219
|
+
Dt(this._proxy, this.project(e.center, e.zoom), this.getZoomScale(e.zoom, 1)), n === this._proxy.style[t] && this._animatingZoom && this._onZoomTransitionEnd();
|
|
2220
2220
|
}, this), this.on("load moveend", this._animMoveEnd, this), this._on("unload", this._destroyAnimProxy, this);
|
|
2221
2221
|
},
|
|
2222
2222
|
_destroyAnimProxy: function() {
|
|
2223
|
-
|
|
2223
|
+
G(this._proxy), this.off("load moveend", this._animMoveEnd, this), delete this._proxy;
|
|
2224
2224
|
},
|
|
2225
2225
|
_animMoveEnd: function() {
|
|
2226
2226
|
var e = this.getCenter(), t = this.getZoom();
|
|
2227
|
-
|
|
2227
|
+
Dt(this._proxy, this.project(e, t), this.getZoomScale(t, 1));
|
|
2228
2228
|
},
|
|
2229
2229
|
_catchTransitionEnd: function(e) {
|
|
2230
2230
|
this._animatingZoom && e.propertyName.indexOf("transform") >= 0 && this._onZoomTransitionEnd();
|
|
@@ -2241,14 +2241,14 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2241
2241
|
}, this), !0);
|
|
2242
2242
|
},
|
|
2243
2243
|
_animateZoom: function(e, t, n, r) {
|
|
2244
|
-
this._mapPane && (n && (this._animatingZoom = !0, this._animateToCenter = e, this._animateToZoom = t,
|
|
2244
|
+
this._mapPane && (n && (this._animatingZoom = !0, this._animateToCenter = e, this._animateToZoom = t, K(this._mapPane, "leaflet-zoom-anim")), this.fire("zoomanim", {
|
|
2245
2245
|
center: e,
|
|
2246
2246
|
zoom: t,
|
|
2247
2247
|
noUpdate: r
|
|
2248
2248
|
}), this._tempFireZoomEvent ||= this._zoom !== this._animateToZoom, this._move(this._animateToCenter, this._animateToZoom, void 0, !0), setTimeout(i(this._onZoomTransitionEnd, this), 250));
|
|
2249
2249
|
},
|
|
2250
2250
|
_onZoomTransitionEnd: function() {
|
|
2251
|
-
this._animatingZoom && (this._mapPane &&
|
|
2251
|
+
this._animatingZoom && (this._mapPane && q(this._mapPane, "leaflet-zoom-anim"), this._animatingZoom = !1, this._move(this._animateToCenter, this._animateToZoom, void 0, !0), this._tempFireZoomEvent && this.fire("zoom"), delete this._tempFireZoomEvent, this.fire("move"), this._moveEnd(!0));
|
|
2252
2252
|
}
|
|
2253
2253
|
});
|
|
2254
2254
|
function an(e, t) {
|
|
@@ -2272,10 +2272,10 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2272
2272
|
addTo: function(e) {
|
|
2273
2273
|
this.remove(), this._map = e;
|
|
2274
2274
|
var t = this._container = this.onAdd(e), n = this.getPosition(), r = e._controlCorners[n];
|
|
2275
|
-
return
|
|
2275
|
+
return K(t, "leaflet-control"), n.indexOf("bottom") === -1 ? r.appendChild(t) : r.insertBefore(t, r.firstChild), this._map.on("unload", this.remove, this), this;
|
|
2276
2276
|
},
|
|
2277
2277
|
remove: function() {
|
|
2278
|
-
return this._map ? (
|
|
2278
|
+
return this._map ? (G(this._container), this.onRemove && this.onRemove(this._map), this._map.off("unload", this.remove, this), this._map = null, this) : this;
|
|
2279
2279
|
},
|
|
2280
2280
|
_refocusOnMap: function(e) {
|
|
2281
2281
|
this._map && e && e.screenX > 0 && e.screenY > 0 && this._map.getContainer().focus();
|
|
@@ -2291,16 +2291,16 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2291
2291
|
return e.remove(), this;
|
|
2292
2292
|
},
|
|
2293
2293
|
_initControlPos: function() {
|
|
2294
|
-
var e = this._controlCorners = {}, t = "leaflet-", n = this._controlContainer =
|
|
2294
|
+
var e = this._controlCorners = {}, t = "leaflet-", n = this._controlContainer = W("div", t + "control-container", this._container);
|
|
2295
2295
|
function r(r, i) {
|
|
2296
2296
|
var a = t + r + " " + t + i;
|
|
2297
|
-
e[r + i] =
|
|
2297
|
+
e[r + i] = W("div", a, n);
|
|
2298
2298
|
}
|
|
2299
2299
|
r("top", "left"), r("top", "right"), r("bottom", "left"), r("bottom", "right");
|
|
2300
2300
|
},
|
|
2301
2301
|
_clearControlPos: function() {
|
|
2302
|
-
for (var e in this._controlCorners)
|
|
2303
|
-
|
|
2302
|
+
for (var e in this._controlCorners) G(this._controlCorners[e]);
|
|
2303
|
+
G(this._controlContainer), delete this._controlCorners, delete this._controlContainer;
|
|
2304
2304
|
}
|
|
2305
2305
|
});
|
|
2306
2306
|
var cn = on.extend({
|
|
@@ -2342,30 +2342,30 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2342
2342
|
return t && this._layers.splice(this._layers.indexOf(t), 1), this._map ? this._update() : this;
|
|
2343
2343
|
},
|
|
2344
2344
|
expand: function() {
|
|
2345
|
-
|
|
2345
|
+
K(this._container, "leaflet-control-layers-expanded"), this._section.style.height = null;
|
|
2346
2346
|
var e = this._map.getSize().y - (this._container.offsetTop + 50);
|
|
2347
|
-
return e < this._section.clientHeight ? (
|
|
2347
|
+
return e < this._section.clientHeight ? (K(this._section, "leaflet-control-layers-scrollbar"), this._section.style.height = e + "px") : q(this._section, "leaflet-control-layers-scrollbar"), this._checkDisabledLayers(), this;
|
|
2348
2348
|
},
|
|
2349
2349
|
collapse: function() {
|
|
2350
|
-
return
|
|
2350
|
+
return q(this._container, "leaflet-control-layers-expanded"), this;
|
|
2351
2351
|
},
|
|
2352
2352
|
_initLayout: function() {
|
|
2353
|
-
var e = "leaflet-control-layers", t = this._container =
|
|
2354
|
-
t.setAttribute("aria-haspopup", !0),
|
|
2355
|
-
var r = this._section =
|
|
2356
|
-
n && (this._map.on("click", this.collapse, this),
|
|
2353
|
+
var e = "leaflet-control-layers", t = this._container = W("div", e), n = this.options.collapsed;
|
|
2354
|
+
t.setAttribute("aria-haspopup", !0), Yt(t), Jt(t);
|
|
2355
|
+
var r = this._section = W("section", e + "-list");
|
|
2356
|
+
n && (this._map.on("click", this.collapse, this), Y(t, {
|
|
2357
2357
|
mouseenter: this._expandSafely,
|
|
2358
2358
|
mouseleave: this.collapse
|
|
2359
2359
|
}, this));
|
|
2360
|
-
var i = this._layersLink =
|
|
2361
|
-
i.href = "#", i.title = "Layers", i.setAttribute("role", "button"),
|
|
2360
|
+
var i = this._layersLink = W("a", e + "-toggle", t);
|
|
2361
|
+
i.href = "#", i.title = "Layers", i.setAttribute("role", "button"), Y(i, {
|
|
2362
2362
|
keydown: function(e) {
|
|
2363
2363
|
e.keyCode === 13 && this._expandSafely();
|
|
2364
2364
|
},
|
|
2365
2365
|
click: function(e) {
|
|
2366
2366
|
Z(e), this._expandSafely();
|
|
2367
2367
|
}
|
|
2368
|
-
}, this), n || this.expand(), this._baseLayersList =
|
|
2368
|
+
}, this), n || this.expand(), this._baseLayersList = W("div", e + "-base", r), this._separator = W("div", e + "-separator", r), this._overlaysList = W("div", e + "-overlays", r), t.appendChild(r);
|
|
2369
2369
|
},
|
|
2370
2370
|
_getLayer: function(e) {
|
|
2371
2371
|
for (var t = 0; t < this._layers.length; t++) if (this._layers[t] && o(this._layers[t].layer) === e) return this._layers[t];
|
|
@@ -2381,7 +2381,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2381
2381
|
},
|
|
2382
2382
|
_update: function() {
|
|
2383
2383
|
if (!this._container) return this;
|
|
2384
|
-
|
|
2384
|
+
vt(this._baseLayersList), vt(this._overlaysList), this._layerControlInputs = [];
|
|
2385
2385
|
var e, t, n, r, i = 0;
|
|
2386
2386
|
for (n = 0; n < this._layers.length; n++) r = this._layers[n], this._addItem(r), t ||= r.overlay, e ||= !r.overlay, i += +!r.overlay;
|
|
2387
2387
|
return this.options.hideSingleBase && (e &&= i > 1, this._baseLayersList.style.display = e ? "" : "none"), this._separator.style.display = t && e ? "" : "none", this;
|
|
@@ -2397,7 +2397,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2397
2397
|
},
|
|
2398
2398
|
_addItem: function(e) {
|
|
2399
2399
|
var t = document.createElement("label"), n = this._map.hasLayer(e.layer), r;
|
|
2400
|
-
e.overlay ? (r = document.createElement("input"), r.type = "checkbox", r.className = "leaflet-control-layers-selector", r.defaultChecked = n) : r = this._createRadioElement("leaflet-base-layers_" + o(this), n), this._layerControlInputs.push(r), r.layerId = o(e.layer),
|
|
2400
|
+
e.overlay ? (r = document.createElement("input"), r.type = "checkbox", r.className = "leaflet-control-layers-selector", r.defaultChecked = n) : r = this._createRadioElement("leaflet-base-layers_" + o(this), n), this._layerControlInputs.push(r), r.layerId = o(e.layer), Y(r, "click", this._onInputClick, this);
|
|
2401
2401
|
var i = document.createElement("span");
|
|
2402
2402
|
i.innerHTML = " " + e.name;
|
|
2403
2403
|
var a = document.createElement("span");
|
|
@@ -2421,15 +2421,15 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2421
2421
|
},
|
|
2422
2422
|
_expandSafely: function() {
|
|
2423
2423
|
var e = this._section;
|
|
2424
|
-
this._preventClick = !0,
|
|
2424
|
+
this._preventClick = !0, Y(e, "click", Z), this.expand();
|
|
2425
2425
|
var t = this;
|
|
2426
2426
|
setTimeout(function() {
|
|
2427
|
-
|
|
2427
|
+
X(e, "click", Z), t._preventClick = !1;
|
|
2428
2428
|
});
|
|
2429
2429
|
}
|
|
2430
2430
|
}), ln = function(e, t, n) {
|
|
2431
2431
|
return new cn(e, t, n);
|
|
2432
|
-
},
|
|
2432
|
+
}, un = on.extend({
|
|
2433
2433
|
options: {
|
|
2434
2434
|
position: "topleft",
|
|
2435
2435
|
zoomInText: "<span aria-hidden=\"true\">+</span>",
|
|
@@ -2438,7 +2438,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2438
2438
|
zoomOutTitle: "Zoom out"
|
|
2439
2439
|
},
|
|
2440
2440
|
onAdd: function(e) {
|
|
2441
|
-
var t = "leaflet-control-zoom", n =
|
|
2441
|
+
var t = "leaflet-control-zoom", n = W("div", t + " leaflet-bar"), r = this.options;
|
|
2442
2442
|
return this._zoomInButton = this._createButton(r.zoomInText, r.zoomInTitle, t + "-in", n, this._zoomIn), this._zoomOutButton = this._createButton(r.zoomOutText, r.zoomOutTitle, t + "-out", n, this._zoomOut), this._updateDisabled(), e.on("zoomend zoomlevelschange", this._updateDisabled, this), n;
|
|
2443
2443
|
},
|
|
2444
2444
|
onRemove: function(e) {
|
|
@@ -2457,20 +2457,20 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2457
2457
|
!this._disabled && this._map._zoom > this._map.getMinZoom() && this._map.zoomOut(this._map.options.zoomDelta * (e.shiftKey ? 3 : 1));
|
|
2458
2458
|
},
|
|
2459
2459
|
_createButton: function(e, t, n, r, i) {
|
|
2460
|
-
var a =
|
|
2461
|
-
return a.innerHTML = e, a.href = "#", a.title = t, a.setAttribute("role", "button"), a.setAttribute("aria-label", t),
|
|
2460
|
+
var a = W("a", n, r);
|
|
2461
|
+
return a.innerHTML = e, a.href = "#", a.title = t, a.setAttribute("role", "button"), a.setAttribute("aria-label", t), Yt(a), Y(a, "click", Xt), Y(a, "click", i, this), Y(a, "click", this._refocusOnMap, this), a;
|
|
2462
2462
|
},
|
|
2463
2463
|
_updateDisabled: function() {
|
|
2464
2464
|
var e = this._map, t = "leaflet-disabled";
|
|
2465
|
-
|
|
2465
|
+
q(this._zoomInButton, t), q(this._zoomOutButton, t), this._zoomInButton.setAttribute("aria-disabled", "false"), this._zoomOutButton.setAttribute("aria-disabled", "false"), (this._disabled || e._zoom === e.getMinZoom()) && (K(this._zoomOutButton, t), this._zoomOutButton.setAttribute("aria-disabled", "true")), (this._disabled || e._zoom === e.getMaxZoom()) && (K(this._zoomInButton, t), this._zoomInButton.setAttribute("aria-disabled", "true"));
|
|
2466
2466
|
}
|
|
2467
2467
|
});
|
|
2468
2468
|
Q.mergeOptions({ zoomControl: !0 }), Q.addInitHook(function() {
|
|
2469
|
-
this.options.zoomControl && (this.zoomControl = new
|
|
2469
|
+
this.options.zoomControl && (this.zoomControl = new un(), this.addControl(this.zoomControl));
|
|
2470
2470
|
});
|
|
2471
|
-
var
|
|
2472
|
-
return new
|
|
2473
|
-
},
|
|
2471
|
+
var dn = function(e) {
|
|
2472
|
+
return new un(e);
|
|
2473
|
+
}, $ = on.extend({
|
|
2474
2474
|
options: {
|
|
2475
2475
|
position: "bottomleft",
|
|
2476
2476
|
maxWidth: 100,
|
|
@@ -2478,14 +2478,14 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2478
2478
|
imperial: !0
|
|
2479
2479
|
},
|
|
2480
2480
|
onAdd: function(e) {
|
|
2481
|
-
var t = "leaflet-control-scale", n =
|
|
2481
|
+
var t = "leaflet-control-scale", n = W("div", t), r = this.options;
|
|
2482
2482
|
return this._addScales(r, t + "-line", n), e.on(r.updateWhenIdle ? "moveend" : "move", this._update, this), e.whenReady(this._update, this), n;
|
|
2483
2483
|
},
|
|
2484
2484
|
onRemove: function(e) {
|
|
2485
2485
|
e.off(this.options.updateWhenIdle ? "moveend" : "move", this._update, this);
|
|
2486
2486
|
},
|
|
2487
2487
|
_addScales: function(e, t, n) {
|
|
2488
|
-
e.metric && (this._mScale =
|
|
2488
|
+
e.metric && (this._mScale = W("div", t, n)), e.imperial && (this._iScale = W("div", t, n));
|
|
2489
2489
|
},
|
|
2490
2490
|
_update: function() {
|
|
2491
2491
|
var e = this._map, t = e.getSize().y / 2, n = e.distance(e.containerPointToLatLng([0, t]), e.containerPointToLatLng([this.options.maxWidth, t]));
|
|
@@ -2510,17 +2510,17 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2510
2510
|
return n = n >= 10 ? 10 : n >= 5 ? 5 : n >= 3 ? 3 : n >= 2 ? 2 : 1, t * n;
|
|
2511
2511
|
}
|
|
2512
2512
|
}), fn = function(e) {
|
|
2513
|
-
return new
|
|
2513
|
+
return new $(e);
|
|
2514
2514
|
}, pn = on.extend({
|
|
2515
2515
|
options: {
|
|
2516
2516
|
position: "bottomright",
|
|
2517
|
-
prefix: "<a href=\"https://leafletjs.com\" title=\"A JavaScript library for interactive maps\">" + (
|
|
2517
|
+
prefix: "<a href=\"https://leafletjs.com\" title=\"A JavaScript library for interactive maps\">" + (U.inlineSvg ? "<svg aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"12\" height=\"8\" viewBox=\"0 0 12 8\" class=\"leaflet-attribution-flag\"><path fill=\"#4C7BE1\" d=\"M0 0h12v4H0z\"/><path fill=\"#FFD500\" d=\"M0 4h12v3H0z\"/><path fill=\"#E0BC00\" d=\"M0 7h12v1H0z\"/></svg> " : "") + "Leaflet</a>"
|
|
2518
2518
|
},
|
|
2519
2519
|
initialize: function(e) {
|
|
2520
2520
|
p(this, e), this._attributions = {};
|
|
2521
2521
|
},
|
|
2522
2522
|
onAdd: function(e) {
|
|
2523
|
-
for (var t in e.attributionControl = this, this._container =
|
|
2523
|
+
for (var t in e.attributionControl = this, this._container = W("div", "leaflet-control-attribution"), Yt(this._container), e._layers) e._layers[t].getAttribution && this.addAttribution(e._layers[t].getAttribution());
|
|
2524
2524
|
return this._update(), e.on("layeradd", this._addAttribution, this), this._container;
|
|
2525
2525
|
},
|
|
2526
2526
|
onRemove: function(e) {
|
|
@@ -2551,7 +2551,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2551
2551
|
});
|
|
2552
2552
|
Q.mergeOptions({ attributionControl: !0 }), Q.addInitHook(function() {
|
|
2553
2553
|
this.options.attributionControl && new pn().addTo(this);
|
|
2554
|
-
}), on.Layers = cn, on.Zoom =
|
|
2554
|
+
}), on.Layers = cn, on.Zoom = un, on.Scale = $, on.Attribution = pn, sn.layers = ln, sn.zoom = dn, sn.scale = fn, sn.attribution = function(e) {
|
|
2555
2555
|
return new pn(e);
|
|
2556
2556
|
};
|
|
2557
2557
|
var mn = C.extend({
|
|
@@ -2571,29 +2571,29 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2571
2571
|
mn.addTo = function(e, t) {
|
|
2572
2572
|
return e.addHandler(t, this), this;
|
|
2573
2573
|
};
|
|
2574
|
-
var hn = { Events: w }, gn =
|
|
2574
|
+
var hn = { Events: w }, gn = U.touch ? "touchstart mousedown" : "mousedown", _n = T.extend({
|
|
2575
2575
|
options: { clickTolerance: 3 },
|
|
2576
2576
|
initialize: function(e, t, n, r) {
|
|
2577
2577
|
p(this, r), this._element = e, this._dragStartTarget = t || e, this._preventOutline = n;
|
|
2578
2578
|
},
|
|
2579
2579
|
enable: function() {
|
|
2580
|
-
this._enabled ||= (
|
|
2580
|
+
this._enabled ||= (Y(this._dragStartTarget, gn, this._onDown, this), !0);
|
|
2581
2581
|
},
|
|
2582
2582
|
disable: function() {
|
|
2583
|
-
this._enabled && (_n._dragging === this && this.finishDrag(!0),
|
|
2583
|
+
this._enabled && (_n._dragging === this && this.finishDrag(!0), X(this._dragStartTarget, gn, this._onDown, this), this._enabled = !1, this._moved = !1);
|
|
2584
2584
|
},
|
|
2585
2585
|
_onDown: function(e) {
|
|
2586
|
-
if (this._enabled && (this._moved = !1, !
|
|
2586
|
+
if (this._enabled && (this._moved = !1, !xt(this._element, "leaflet-zoom-anim"))) {
|
|
2587
2587
|
if (e.touches && e.touches.length !== 1) {
|
|
2588
2588
|
_n._dragging === this && this.finishDrag();
|
|
2589
2589
|
return;
|
|
2590
2590
|
}
|
|
2591
|
-
if (!(_n._dragging || e.shiftKey || e.which !== 1 && e.button !== 1 && !e.touches) && (_n._dragging = this, this._preventOutline &&
|
|
2591
|
+
if (!(_n._dragging || e.shiftKey || e.which !== 1 && e.button !== 1 && !e.touches) && (_n._dragging = this, this._preventOutline && Lt(this._element), Nt(), kt(), !this._moving)) {
|
|
2592
2592
|
this.fire("down");
|
|
2593
|
-
var t = e.touches ? e.touches[0] : e, n =
|
|
2594
|
-
this._startPoint = new E(t.clientX, t.clientY), this._startPos =
|
|
2593
|
+
var t = e.touches ? e.touches[0] : e, n = zt(this._element);
|
|
2594
|
+
this._startPoint = new E(t.clientX, t.clientY), this._startPos = Ot(this._element), this._parentScale = Bt(n);
|
|
2595
2595
|
var r = e.type === "mousedown";
|
|
2596
|
-
|
|
2596
|
+
Y(document, r ? "mousemove" : "touchmove", this._onMove, this), Y(document, r ? "mouseup" : "touchend touchcancel", this._onUp, this);
|
|
2597
2597
|
}
|
|
2598
2598
|
}
|
|
2599
2599
|
},
|
|
@@ -2604,18 +2604,18 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2604
2604
|
return;
|
|
2605
2605
|
}
|
|
2606
2606
|
var t = e.touches && e.touches.length === 1 ? e.touches[0] : e, n = new E(t.clientX, t.clientY)._subtract(this._startPoint);
|
|
2607
|
-
!n.x && !n.y || Math.abs(n.x) + Math.abs(n.y) < this.options.clickTolerance || (n.x /= this._parentScale.x, n.y /= this._parentScale.y, Z(e), this._moved || (this.fire("dragstart"), this._moved = !0,
|
|
2607
|
+
!n.x && !n.y || Math.abs(n.x) + Math.abs(n.y) < this.options.clickTolerance || (n.x /= this._parentScale.x, n.y /= this._parentScale.y, Z(e), this._moved || (this.fire("dragstart"), this._moved = !0, K(document.body, "leaflet-dragging"), this._lastTarget = e.target || e.srcElement, window.SVGElementInstance && this._lastTarget instanceof window.SVGElementInstance && (this._lastTarget = this._lastTarget.correspondingUseElement), K(this._lastTarget, "leaflet-drag-target")), this._newPos = this._startPos.add(n), this._moving = !0, this._lastEvent = e, this._updatePosition());
|
|
2608
2608
|
}
|
|
2609
2609
|
},
|
|
2610
2610
|
_updatePosition: function() {
|
|
2611
2611
|
var e = { originalEvent: this._lastEvent };
|
|
2612
|
-
this.fire("predrag", e),
|
|
2612
|
+
this.fire("predrag", e), J(this._element, this._newPos), this.fire("drag", e);
|
|
2613
2613
|
},
|
|
2614
2614
|
_onUp: function() {
|
|
2615
2615
|
this._enabled && this.finishDrag();
|
|
2616
2616
|
},
|
|
2617
2617
|
finishDrag: function(e) {
|
|
2618
|
-
|
|
2618
|
+
q(document.body, "leaflet-dragging"), this._lastTarget &&= (q(this._lastTarget, "leaflet-drag-target"), null), X(document, "mousemove touchmove", this._onMove, this), X(document, "mouseup touchend touchcancel", this._onUp, this), Pt(), At();
|
|
2619
2619
|
var t = this._moved && this._moving;
|
|
2620
2620
|
this._moving = !1, _n._dragging = !1, t && this.fire("dragend", {
|
|
2621
2621
|
noInertia: e,
|
|
@@ -2995,7 +2995,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2995
2995
|
return t ||= document.createElement("img"), t.src = e, t;
|
|
2996
2996
|
},
|
|
2997
2997
|
_getIconUrl: function(e) {
|
|
2998
|
-
return
|
|
2998
|
+
return U.retina && this.options[e + "RetinaUrl"] || this.options[e + "Url"];
|
|
2999
2999
|
}
|
|
3000
3000
|
});
|
|
3001
3001
|
function Xn(e) {
|
|
@@ -3023,7 +3023,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3023
3023
|
return e = t(e, /^url\((['"])?(.+)\1\)$/, 2), e && t(e, /^(.*)marker-icon\.png$/, 1);
|
|
3024
3024
|
},
|
|
3025
3025
|
_detectIconPath: function() {
|
|
3026
|
-
var e =
|
|
3026
|
+
var e = W("div", "leaflet-default-icon-path", document.body), t = _t(e, "background-image") || _t(e, "backgroundImage");
|
|
3027
3027
|
if (document.body.removeChild(e), t = this._stripUrl(t), t) return t;
|
|
3028
3028
|
var n = document.querySelector("link[href$=\"leaflet.css\"]");
|
|
3029
3029
|
return n ? n.href.substring(0, n.href.length - 11 - 1) : "";
|
|
@@ -3039,7 +3039,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3039
3039
|
predrag: this._onPreDrag,
|
|
3040
3040
|
drag: this._onDrag,
|
|
3041
3041
|
dragend: this._onDragEnd
|
|
3042
|
-
}, this).enable(),
|
|
3042
|
+
}, this).enable(), K(e, "leaflet-marker-draggable");
|
|
3043
3043
|
},
|
|
3044
3044
|
removeHooks: function() {
|
|
3045
3045
|
this._draggable.off({
|
|
@@ -3047,16 +3047,16 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3047
3047
|
predrag: this._onPreDrag,
|
|
3048
3048
|
drag: this._onDrag,
|
|
3049
3049
|
dragend: this._onDragEnd
|
|
3050
|
-
}, this).disable(), this._marker._icon &&
|
|
3050
|
+
}, this).disable(), this._marker._icon && q(this._marker._icon, "leaflet-marker-draggable");
|
|
3051
3051
|
},
|
|
3052
3052
|
moved: function() {
|
|
3053
3053
|
return this._draggable && this._draggable._moved;
|
|
3054
3054
|
},
|
|
3055
3055
|
_adjustPan: function(e) {
|
|
3056
|
-
var t = this._marker, n = t._map, r = this._marker.options.autoPanSpeed, i = this._marker.options.autoPanPadding, a =
|
|
3056
|
+
var t = this._marker, n = t._map, r = this._marker.options.autoPanSpeed, i = this._marker.options.autoPanPadding, a = Ot(t._icon), o = n.getPixelBounds(), s = n.getPixelOrigin(), c = A(o.min._subtract(s).add(i), o.max._subtract(s).subtract(i));
|
|
3057
3057
|
if (!c.contains(a)) {
|
|
3058
3058
|
var l = O((Math.max(c.max.x, a.x) - c.max.x) / (o.max.x - c.max.x) - (Math.min(c.min.x, a.x) - c.min.x) / (o.min.x - c.min.x), (Math.max(c.max.y, a.y) - c.max.y) / (o.max.y - c.max.y) - (Math.min(c.min.y, a.y) - c.min.y) / (o.min.y - c.min.y)).multiplyBy(r);
|
|
3059
|
-
n.panBy(l, { animate: !1 }), this._draggable._newPos._add(l), this._draggable._startPos._add(l),
|
|
3059
|
+
n.panBy(l, { animate: !1 }), this._draggable._newPos._add(l), this._draggable._startPos._add(l), J(t._icon, this._draggable._newPos), this._onDrag(e), this._panRequest = x(this._adjustPan.bind(this, e));
|
|
3060
3060
|
}
|
|
3061
3061
|
},
|
|
3062
3062
|
_onDragStart: function() {
|
|
@@ -3066,8 +3066,8 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3066
3066
|
this._marker.options.autoPan && (S(this._panRequest), this._panRequest = x(this._adjustPan.bind(this, e)));
|
|
3067
3067
|
},
|
|
3068
3068
|
_onDrag: function(e) {
|
|
3069
|
-
var t = this._marker, n = t._shadow, r =
|
|
3070
|
-
n &&
|
|
3069
|
+
var t = this._marker, n = t._shadow, r = Ot(t._icon), i = t._map.layerPointToLatLng(r);
|
|
3070
|
+
n && J(n, r), t._latlng = i, e.latlng = i, e.oldLatLng = this._oldLatLng, t.fire("move", e).fire("drag", e);
|
|
3071
3071
|
},
|
|
3072
3072
|
_onDragEnd: function(e) {
|
|
3073
3073
|
S(this._panRequest), delete this._oldLatLng, this._marker.fire("moveend").fire("dragend", e);
|
|
@@ -3138,24 +3138,24 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3138
3138
|
},
|
|
3139
3139
|
_initIcon: function() {
|
|
3140
3140
|
var e = this.options, t = "leaflet-zoom-" + (this._zoomAnimated ? "animated" : "hide"), n = e.icon.createIcon(this._icon), r = !1;
|
|
3141
|
-
n !== this._icon && (this._icon && this._removeIcon(), r = !0, e.title && (n.title = e.title), n.tagName === "IMG" && (n.alt = e.alt || "")),
|
|
3141
|
+
n !== this._icon && (this._icon && this._removeIcon(), r = !0, e.title && (n.title = e.title), n.tagName === "IMG" && (n.alt = e.alt || "")), K(n, t), e.keyboard && (n.tabIndex = "0", n.setAttribute("role", "button")), this._icon = n, e.riseOnHover && this.on({
|
|
3142
3142
|
mouseover: this._bringToFront,
|
|
3143
3143
|
mouseout: this._resetZIndex
|
|
3144
|
-
}), this.options.autoPanOnFocus &&
|
|
3144
|
+
}), this.options.autoPanOnFocus && Y(n, "focus", this._panOnFocus, this);
|
|
3145
3145
|
var i = e.icon.createShadow(this._shadow), a = !1;
|
|
3146
|
-
i !== this._shadow && (this._removeShadow(), a = !0), i && (
|
|
3146
|
+
i !== this._shadow && (this._removeShadow(), a = !0), i && (K(i, t), i.alt = ""), this._shadow = i, e.opacity < 1 && this._updateOpacity(), r && this.getPane().appendChild(this._icon), this._initInteraction(), i && a && this.getPane(e.shadowPane).appendChild(this._shadow);
|
|
3147
3147
|
},
|
|
3148
3148
|
_removeIcon: function() {
|
|
3149
3149
|
this.options.riseOnHover && this.off({
|
|
3150
3150
|
mouseover: this._bringToFront,
|
|
3151
3151
|
mouseout: this._resetZIndex
|
|
3152
|
-
}), this.options.autoPanOnFocus &&
|
|
3152
|
+
}), this.options.autoPanOnFocus && X(this._icon, "focus", this._panOnFocus, this), G(this._icon), this.removeInteractiveTarget(this._icon), this._icon = null;
|
|
3153
3153
|
},
|
|
3154
3154
|
_removeShadow: function() {
|
|
3155
|
-
this._shadow &&
|
|
3155
|
+
this._shadow && G(this._shadow), this._shadow = null;
|
|
3156
3156
|
},
|
|
3157
3157
|
_setPos: function(e) {
|
|
3158
|
-
this._icon &&
|
|
3158
|
+
this._icon && J(this._icon, e), this._shadow && J(this._shadow, e), this._zIndex = e.y + this.options.zIndexOffset, this._resetZIndex();
|
|
3159
3159
|
},
|
|
3160
3160
|
_updateZIndex: function(e) {
|
|
3161
3161
|
this._icon && (this._icon.style.zIndex = this._zIndex + e);
|
|
@@ -3165,7 +3165,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3165
3165
|
this._setPos(t);
|
|
3166
3166
|
},
|
|
3167
3167
|
_initInteraction: function() {
|
|
3168
|
-
if (this.options.interactive && (
|
|
3168
|
+
if (this.options.interactive && (K(this._icon, "leaflet-interactive"), this.addInteractiveTarget(this._icon), Qn)) {
|
|
3169
3169
|
var e = this.options.draggable;
|
|
3170
3170
|
this.dragging && (e = this.dragging.enabled(), this.dragging.disable()), this.dragging = new Qn(this), e && this.dragging.enable();
|
|
3171
3171
|
}
|
|
@@ -3175,7 +3175,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3175
3175
|
},
|
|
3176
3176
|
_updateOpacity: function() {
|
|
3177
3177
|
var e = this.options.opacity;
|
|
3178
|
-
this._icon &&
|
|
3178
|
+
this._icon && wt(this._icon, e), this._shadow && wt(this._shadow, e);
|
|
3179
3179
|
},
|
|
3180
3180
|
_bringToFront: function() {
|
|
3181
3181
|
this._updateZIndex(this.options.riseOffset);
|
|
@@ -3621,10 +3621,10 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3621
3621
|
this._url = e, this._bounds = M(t), p(this, n);
|
|
3622
3622
|
},
|
|
3623
3623
|
onAdd: function() {
|
|
3624
|
-
this._image || (this._initImage(), this.options.opacity < 1 && this._updateOpacity()), this.options.interactive && (
|
|
3624
|
+
this._image || (this._initImage(), this.options.opacity < 1 && this._updateOpacity()), this.options.interactive && (K(this._image, "leaflet-interactive"), this.addInteractiveTarget(this._image)), this.getPane().appendChild(this._image), this._reset();
|
|
3625
3625
|
},
|
|
3626
3626
|
onRemove: function() {
|
|
3627
|
-
|
|
3627
|
+
G(this._image), this.options.interactive && this.removeInteractiveTarget(this._image);
|
|
3628
3628
|
},
|
|
3629
3629
|
setOpacity: function(e) {
|
|
3630
3630
|
return this.options.opacity = e, this._image && this._updateOpacity(), this;
|
|
@@ -3633,10 +3633,10 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3633
3633
|
return e.opacity && this.setOpacity(e.opacity), this;
|
|
3634
3634
|
},
|
|
3635
3635
|
bringToFront: function() {
|
|
3636
|
-
return this._map &&
|
|
3636
|
+
return this._map && yt(this._image), this;
|
|
3637
3637
|
},
|
|
3638
3638
|
bringToBack: function() {
|
|
3639
|
-
return this._map &&
|
|
3639
|
+
return this._map && bt(this._image), this;
|
|
3640
3640
|
},
|
|
3641
3641
|
setUrl: function(e) {
|
|
3642
3642
|
return this._url = e, this._image && (this._image.src = e), this;
|
|
@@ -3661,8 +3661,8 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3661
3661
|
return this._image;
|
|
3662
3662
|
},
|
|
3663
3663
|
_initImage: function() {
|
|
3664
|
-
var e = this._url.tagName === "IMG", t = this._image = e ? this._url :
|
|
3665
|
-
if (
|
|
3664
|
+
var e = this._url.tagName === "IMG", t = this._image = e ? this._url : W("img");
|
|
3665
|
+
if (K(t, "leaflet-image-layer"), this._zoomAnimated && K(t, "leaflet-zoom-animated"), this.options.className && K(t, this.options.className), t.onselectstart = l, t.onmousemove = l, t.onload = i(this.fire, this, "load"), t.onerror = i(this._overlayOnError, this, "error"), (this.options.crossOrigin || this.options.crossOrigin === "") && (t.crossOrigin = this.options.crossOrigin === !0 ? "" : this.options.crossOrigin), this.options.zIndex && this._updateZIndex(), e) {
|
|
3666
3666
|
this._url = t.src;
|
|
3667
3667
|
return;
|
|
3668
3668
|
}
|
|
@@ -3670,14 +3670,14 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3670
3670
|
},
|
|
3671
3671
|
_animateZoom: function(e) {
|
|
3672
3672
|
var t = this._map.getZoomScale(e.zoom), n = this._map._latLngBoundsToNewLayerBounds(this._bounds, e.zoom, e.center).min;
|
|
3673
|
-
|
|
3673
|
+
Dt(this._image, n, t);
|
|
3674
3674
|
},
|
|
3675
3675
|
_reset: function() {
|
|
3676
3676
|
var e = this._image, t = new k(this._map.latLngToLayerPoint(this._bounds.getNorthWest()), this._map.latLngToLayerPoint(this._bounds.getSouthEast())), n = t.getSize();
|
|
3677
|
-
|
|
3677
|
+
J(e, t.min), e.style.width = n.x + "px", e.style.height = n.y + "px";
|
|
3678
3678
|
},
|
|
3679
3679
|
_updateOpacity: function() {
|
|
3680
|
-
|
|
3680
|
+
wt(this._image, this.options.opacity);
|
|
3681
3681
|
},
|
|
3682
3682
|
_updateZIndex: function() {
|
|
3683
3683
|
this._image && this.options.zIndex !== void 0 && this.options.zIndex !== null && (this._image.style.zIndex = this.options.zIndex);
|
|
@@ -3701,15 +3701,15 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3701
3701
|
playsInline: !0
|
|
3702
3702
|
},
|
|
3703
3703
|
_initImage: function() {
|
|
3704
|
-
var e = this._url.tagName === "VIDEO", t = this._image = e ? this._url :
|
|
3705
|
-
if (
|
|
3704
|
+
var e = this._url.tagName === "VIDEO", t = this._image = e ? this._url : W("video");
|
|
3705
|
+
if (K(t, "leaflet-image-layer"), this._zoomAnimated && K(t, "leaflet-zoom-animated"), this.options.className && K(t, this.options.className), t.onselectstart = l, t.onmousemove = l, t.onloadeddata = i(this.fire, this, "load"), e) {
|
|
3706
3706
|
for (var n = t.getElementsByTagName("source"), r = [], a = 0; a < n.length; a++) r.push(n[a].src);
|
|
3707
3707
|
this._url = n.length > 0 ? r : [t.src];
|
|
3708
3708
|
return;
|
|
3709
3709
|
}
|
|
3710
3710
|
_(this._url) || (this._url = [this._url]), !this.options.keepAspectRatio && Object.prototype.hasOwnProperty.call(t.style, "objectFit") && (t.style.objectFit = "fill"), t.autoplay = !!this.options.autoplay, t.loop = !!this.options.loop, t.muted = !!this.options.muted, t.playsInline = !!this.options.playsInline;
|
|
3711
3711
|
for (var o = 0; o < this._url.length; o++) {
|
|
3712
|
-
var s =
|
|
3712
|
+
var s = W("source");
|
|
3713
3713
|
s.src = this._url[o], t.appendChild(s);
|
|
3714
3714
|
}
|
|
3715
3715
|
}
|
|
@@ -3719,7 +3719,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3719
3719
|
}
|
|
3720
3720
|
var Er = Sr.extend({ _initImage: function() {
|
|
3721
3721
|
var e = this._image = this._url;
|
|
3722
|
-
|
|
3722
|
+
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;
|
|
3723
3723
|
} });
|
|
3724
3724
|
function Dr(e, t, n) {
|
|
3725
3725
|
return new Er(e, t, n);
|
|
@@ -3745,10 +3745,10 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3745
3745
|
return this._map ? this.close() : (arguments.length ? this._source = e : e = this._source, this._prepareOpen(), this.openOn(e._map)), this;
|
|
3746
3746
|
},
|
|
3747
3747
|
onAdd: function(e) {
|
|
3748
|
-
this._zoomAnimated = e._zoomAnimated, this._container || this._initLayout(), e._fadeAnimated &&
|
|
3748
|
+
this._zoomAnimated = e._zoomAnimated, this._container || this._initLayout(), e._fadeAnimated && wt(this._container, 0), clearTimeout(this._removeTimeout), this.getPane().appendChild(this._container), this.update(), e._fadeAnimated && wt(this._container, 1), this.bringToFront(), this.options.interactive && (K(this._container, "leaflet-interactive"), this.addInteractiveTarget(this._container));
|
|
3749
3749
|
},
|
|
3750
3750
|
onRemove: function(e) {
|
|
3751
|
-
e._fadeAnimated ? (
|
|
3751
|
+
e._fadeAnimated ? (wt(this._container, 0), this._removeTimeout = setTimeout(i(G, void 0, this._container), 200)) : G(this._container), this.options.interactive && (q(this._container, "leaflet-interactive"), this.removeInteractiveTarget(this._container));
|
|
3752
3752
|
},
|
|
3753
3753
|
getLatLng: function() {
|
|
3754
3754
|
return this._latlng;
|
|
@@ -3779,10 +3779,10 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3779
3779
|
return !!this._map && this._map.hasLayer(this);
|
|
3780
3780
|
},
|
|
3781
3781
|
bringToFront: function() {
|
|
3782
|
-
return this._map &&
|
|
3782
|
+
return this._map && yt(this._container), this;
|
|
3783
3783
|
},
|
|
3784
3784
|
bringToBack: function() {
|
|
3785
|
-
return this._map &&
|
|
3785
|
+
return this._map && bt(this._container), this;
|
|
3786
3786
|
},
|
|
3787
3787
|
_prepareOpen: function(e) {
|
|
3788
3788
|
var t = this._source;
|
|
@@ -3817,7 +3817,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3817
3817
|
_updatePosition: function() {
|
|
3818
3818
|
if (this._map) {
|
|
3819
3819
|
var e = this._map.latLngToLayerPoint(this._latlng), t = O(this.options.offset), n = this._getAnchor();
|
|
3820
|
-
this._zoomAnimated ?
|
|
3820
|
+
this._zoomAnimated ? J(this._container, e.add(n)) : t = t.add(e).add(n);
|
|
3821
3821
|
var r = this._containerBottom = -t.y, i = this._containerLeft = -Math.round(this._containerWidth / 2) + t.x;
|
|
3822
3822
|
this._container.style.bottom = r + "px", this._container.style.left = i + "px";
|
|
3823
3823
|
}
|
|
@@ -3854,20 +3854,20 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3854
3854
|
return e = arguments.length ? e : this._source._map, !e.hasLayer(this) && e._popup && e._popup.options.autoClose && e.removeLayer(e._popup), e._popup = this, Or.prototype.openOn.call(this, e);
|
|
3855
3855
|
},
|
|
3856
3856
|
onAdd: function(e) {
|
|
3857
|
-
Or.prototype.onAdd.call(this, e), e.fire("popupopen", { popup: this }), this._source && (this._source.fire("popupopen", { popup: this }, !0), this._source instanceof tr || this._source.on("preclick",
|
|
3857
|
+
Or.prototype.onAdd.call(this, e), e.fire("popupopen", { popup: this }), this._source && (this._source.fire("popupopen", { popup: this }, !0), this._source instanceof tr || this._source.on("preclick", qt));
|
|
3858
3858
|
},
|
|
3859
3859
|
onRemove: function(e) {
|
|
3860
|
-
Or.prototype.onRemove.call(this, e), e.fire("popupclose", { popup: this }), this._source && (this._source.fire("popupclose", { popup: this }, !0), this._source instanceof tr || this._source.off("preclick",
|
|
3860
|
+
Or.prototype.onRemove.call(this, e), e.fire("popupclose", { popup: this }), this._source && (this._source.fire("popupclose", { popup: this }, !0), this._source instanceof tr || this._source.off("preclick", qt));
|
|
3861
3861
|
},
|
|
3862
3862
|
getEvents: function() {
|
|
3863
3863
|
var e = Or.prototype.getEvents.call(this);
|
|
3864
3864
|
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;
|
|
3865
3865
|
},
|
|
3866
3866
|
_initLayout: function() {
|
|
3867
|
-
var e = "leaflet-popup", t = this._container =
|
|
3868
|
-
if (this._contentNode =
|
|
3869
|
-
var r = this._closeButton =
|
|
3870
|
-
r.setAttribute("role", "button"), r.setAttribute("aria-label", "Close popup"), r.href = "#close", r.innerHTML = "<span aria-hidden=\"true\">×</span>",
|
|
3867
|
+
var e = "leaflet-popup", t = this._container = W("div", e + " " + (this.options.className || "") + " leaflet-zoom-animated"), n = this._wrapper = W("div", e + "-content-wrapper", t);
|
|
3868
|
+
if (this._contentNode = W("div", e + "-content", n), Yt(t), Jt(this._contentNode), Y(t, "contextmenu", qt), this._tipContainer = W("div", e + "-tip-container", t), this._tip = W("div", e + "-tip", this._tipContainer), this.options.closeButton) {
|
|
3869
|
+
var r = this._closeButton = W("a", e + "-close-button", t);
|
|
3870
|
+
r.setAttribute("role", "button"), r.setAttribute("aria-label", "Close popup"), r.href = "#close", r.innerHTML = "<span aria-hidden=\"true\">×</span>", Y(r, "click", function(e) {
|
|
3871
3871
|
Z(e), this.close();
|
|
3872
3872
|
}, this);
|
|
3873
3873
|
}
|
|
@@ -3878,11 +3878,11 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3878
3878
|
var n = e.offsetWidth;
|
|
3879
3879
|
n = Math.min(n, this.options.maxWidth), n = Math.max(n, this.options.minWidth), t.width = n + 1 + "px", t.whiteSpace = "", t.height = "";
|
|
3880
3880
|
var r = e.offsetHeight, i = this.options.maxHeight, a = "leaflet-popup-scrolled";
|
|
3881
|
-
i && r > i ? (t.height = i + "px",
|
|
3881
|
+
i && r > i ? (t.height = i + "px", K(e, a)) : q(e, a), this._containerWidth = this._container.offsetWidth;
|
|
3882
3882
|
},
|
|
3883
3883
|
_animateZoom: function(e) {
|
|
3884
3884
|
var t = this._map._latLngToNewLayerPoint(this._latlng, e.zoom, e.center), n = this._getAnchor();
|
|
3885
|
-
|
|
3885
|
+
J(this._container, t.add(n));
|
|
3886
3886
|
},
|
|
3887
3887
|
_adjustPan: function() {
|
|
3888
3888
|
if (this.options.autoPan) {
|
|
@@ -3890,8 +3890,8 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3890
3890
|
this._autopanning = !1;
|
|
3891
3891
|
return;
|
|
3892
3892
|
}
|
|
3893
|
-
var e = this._map, t = parseInt(
|
|
3894
|
-
i._add(
|
|
3893
|
+
var e = this._map, t = parseInt(_t(this._container, "marginBottom"), 10) || 0, n = this._container.offsetHeight + t, r = this._containerWidth, i = new E(this._containerLeft, -n - this._containerBottom);
|
|
3894
|
+
i._add(Ot(this._container));
|
|
3895
3895
|
var a = e.layerPointToContainerPoint(i), o = O(this.options.autoPanPadding), s = O(this.options.autoPanPaddingTopLeft || o), c = O(this.options.autoPanPaddingBottomRight || o), l = e.getSize(), u = 0, d = 0;
|
|
3896
3896
|
a.x + r + c.x > l.x && (u = a.x + r - l.x + c.x), a.x - u - s.x < 0 && (u = a.x - s.x), a.y + n + c.y > l.y && (d = a.y + n - l.y + c.y), a.y - d - s.y < 0 && (d = a.y - s.y), (u || d) && (this.options.keepInView && (this._autopanning = !0), e.fire("autopanstart").panBy([u, d]));
|
|
3897
3897
|
}
|
|
@@ -3983,20 +3983,20 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3983
3983
|
},
|
|
3984
3984
|
_initLayout: function() {
|
|
3985
3985
|
var e = "leaflet-tooltip " + (this.options.className || "") + " leaflet-zoom-" + (this._zoomAnimated ? "animated" : "hide");
|
|
3986
|
-
this._contentNode = this._container =
|
|
3986
|
+
this._contentNode = this._container = W("div", e), this._container.setAttribute("role", "tooltip"), this._container.setAttribute("id", "leaflet-tooltip-" + o(this));
|
|
3987
3987
|
},
|
|
3988
3988
|
_updateLayout: function() {},
|
|
3989
3989
|
_adjustPan: function() {},
|
|
3990
3990
|
_setPosition: function(e) {
|
|
3991
3991
|
var t, n, r = this._map, i = this._container, a = r.latLngToContainerPoint(r.getCenter()), o = r.layerPointToContainerPoint(e), s = this.options.direction, c = i.offsetWidth, l = i.offsetHeight, u = O(this.options.offset), d = this._getAnchor();
|
|
3992
|
-
s === "top" ? (t = c / 2, n = l) : s === "bottom" ? (t = c / 2, n = 0) : s === "center" ? (t = c / 2, n = l / 2) : s === "right" ? (t = 0, n = l / 2) : s === "left" ? (t = c, n = l / 2) : o.x < a.x ? (s = "right", t = 0, n = l / 2) : (s = "left", t = c + (u.x + d.x) * 2, n = l / 2), e = e.subtract(O(t, n, !0)).add(u).add(d),
|
|
3992
|
+
s === "top" ? (t = c / 2, n = l) : s === "bottom" ? (t = c / 2, n = 0) : s === "center" ? (t = c / 2, n = l / 2) : s === "right" ? (t = 0, n = l / 2) : s === "left" ? (t = c, n = l / 2) : o.x < a.x ? (s = "right", t = 0, n = l / 2) : (s = "left", t = c + (u.x + d.x) * 2, n = l / 2), e = e.subtract(O(t, n, !0)).add(u).add(d), q(i, "leaflet-tooltip-right"), q(i, "leaflet-tooltip-left"), q(i, "leaflet-tooltip-top"), q(i, "leaflet-tooltip-bottom"), K(i, "leaflet-tooltip-" + s), J(i, e);
|
|
3993
3993
|
},
|
|
3994
3994
|
_updatePosition: function() {
|
|
3995
3995
|
var e = this._map.latLngToLayerPoint(this._latlng);
|
|
3996
3996
|
this._setPosition(e);
|
|
3997
3997
|
},
|
|
3998
3998
|
setOpacity: function(e) {
|
|
3999
|
-
this.options.opacity = e, this._container &&
|
|
3999
|
+
this.options.opacity = e, this._container && wt(this._container, e);
|
|
4000
4000
|
},
|
|
4001
4001
|
_animateZoom: function(e) {
|
|
4002
4002
|
var t = this._map._latLngToNewLayerPoint(this._latlng, e.zoom, e.center);
|
|
@@ -4054,9 +4054,9 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4054
4054
|
},
|
|
4055
4055
|
_addFocusListenersOnLayer: function(e) {
|
|
4056
4056
|
var t = typeof e.getElement == "function" && e.getElement();
|
|
4057
|
-
t && (
|
|
4057
|
+
t && (Y(t, "focus", function() {
|
|
4058
4058
|
this._tooltip._source = e, this.openTooltip();
|
|
4059
|
-
}, this),
|
|
4059
|
+
}, this), Y(t, "blur", this.closeTooltip, this));
|
|
4060
4060
|
},
|
|
4061
4061
|
_setAriaDescribedByOnLayer: function(e) {
|
|
4062
4062
|
var t = typeof e.getElement == "function" && e.getElement();
|
|
@@ -4089,7 +4089,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4089
4089
|
},
|
|
4090
4090
|
createIcon: function(e) {
|
|
4091
4091
|
var t = e && e.tagName === "DIV" ? e : document.createElement("div"), n = this.options;
|
|
4092
|
-
if (n.html instanceof Element ? (
|
|
4092
|
+
if (n.html instanceof Element ? (vt(t), t.appendChild(n.html)) : t.innerHTML = n.html === !1 ? "" : n.html, n.bgPos) {
|
|
4093
4093
|
var r = O(n.bgPos);
|
|
4094
4094
|
t.style.backgroundPosition = -r.x + "px " + -r.y + "px";
|
|
4095
4095
|
}
|
|
@@ -4107,7 +4107,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4107
4107
|
options: {
|
|
4108
4108
|
tileSize: 256,
|
|
4109
4109
|
opacity: 1,
|
|
4110
|
-
updateWhenIdle:
|
|
4110
|
+
updateWhenIdle: U.mobile,
|
|
4111
4111
|
updateWhenZooming: !0,
|
|
4112
4112
|
updateInterval: 200,
|
|
4113
4113
|
zIndex: 1,
|
|
@@ -4131,13 +4131,13 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4131
4131
|
e._addZoomLimit(this);
|
|
4132
4132
|
},
|
|
4133
4133
|
onRemove: function(e) {
|
|
4134
|
-
this._removeAllTiles(),
|
|
4134
|
+
this._removeAllTiles(), G(this._container), e._removeZoomLimit(this), this._container = null, this._tileZoom = void 0;
|
|
4135
4135
|
},
|
|
4136
4136
|
bringToFront: function() {
|
|
4137
|
-
return this._map && (
|
|
4137
|
+
return this._map && (yt(this._container), this._setAutoZIndex(Math.max)), this;
|
|
4138
4138
|
},
|
|
4139
4139
|
bringToBack: function() {
|
|
4140
|
-
return this._map && (
|
|
4140
|
+
return this._map && (bt(this._container), this._setAutoZIndex(Math.min)), this;
|
|
4141
4141
|
},
|
|
4142
4142
|
getContainer: function() {
|
|
4143
4143
|
return this._container;
|
|
@@ -4183,14 +4183,14 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4183
4183
|
isFinite(n) && (this.options.zIndex = n + e(-1, 1), this._updateZIndex());
|
|
4184
4184
|
},
|
|
4185
4185
|
_updateOpacity: function() {
|
|
4186
|
-
if (this._map && !
|
|
4187
|
-
|
|
4186
|
+
if (this._map && !U.ielt9) {
|
|
4187
|
+
wt(this._container, this.options.opacity);
|
|
4188
4188
|
var e = +/* @__PURE__ */ new Date(), t = !1, n = !1;
|
|
4189
4189
|
for (var r in this._tiles) {
|
|
4190
4190
|
var i = this._tiles[r];
|
|
4191
4191
|
if (!(!i.current || !i.loaded)) {
|
|
4192
4192
|
var a = Math.min(1, (e - i.loaded) / 200);
|
|
4193
|
-
|
|
4193
|
+
wt(i.el, a), a < 1 ? t = !0 : (i.active ? n = !0 : this._onOpaqueTile(i), i.active = !0);
|
|
4194
4194
|
}
|
|
4195
4195
|
}
|
|
4196
4196
|
n && !this._noPrune && this._pruneTiles(), t && (S(this._fadeFrame), this._fadeFrame = x(this._updateOpacity, this));
|
|
@@ -4198,14 +4198,14 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4198
4198
|
},
|
|
4199
4199
|
_onOpaqueTile: l,
|
|
4200
4200
|
_initContainer: function() {
|
|
4201
|
-
this._container || (this._container =
|
|
4201
|
+
this._container || (this._container = W("div", "leaflet-layer " + (this.options.className || "")), this._updateZIndex(), this.options.opacity < 1 && this._updateOpacity(), this.getPane().appendChild(this._container));
|
|
4202
4202
|
},
|
|
4203
4203
|
_updateLevels: function() {
|
|
4204
4204
|
var e = this._tileZoom, t = this.options.maxZoom;
|
|
4205
4205
|
if (e !== void 0) {
|
|
4206
|
-
for (var n in this._levels) n = Number(n), this._levels[n].el.children.length || n === e ? (this._levels[n].el.style.zIndex = t - Math.abs(e - n), this._onUpdateLevel(n)) : (
|
|
4206
|
+
for (var n in this._levels) n = Number(n), this._levels[n].el.children.length || n === e ? (this._levels[n].el.style.zIndex = t - Math.abs(e - n), this._onUpdateLevel(n)) : (G(this._levels[n].el), this._removeTilesAtZoom(n), this._onRemoveLevel(n), delete this._levels[n]);
|
|
4207
4207
|
var r = this._levels[e], i = this._map;
|
|
4208
|
-
return r || (r = this._levels[e] = {}, r.el =
|
|
4208
|
+
return r || (r = this._levels[e] = {}, r.el = W("div", "leaflet-tile-container leaflet-zoom-animated", this._container), r.el.style.zIndex = t, r.origin = i.project(i.unproject(i.getPixelOrigin()), e).round(), r.zoom = e, this._setZoomTransform(r, i.getCenter(), i.getZoom()), r.el.offsetWidth, this._onCreateLevel(r)), this._level = r, r;
|
|
4209
4209
|
}
|
|
4210
4210
|
},
|
|
4211
4211
|
_onUpdateLevel: l,
|
|
@@ -4233,7 +4233,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4233
4233
|
for (var e in this._tiles) this._removeTile(e);
|
|
4234
4234
|
},
|
|
4235
4235
|
_invalidateAll: function() {
|
|
4236
|
-
for (var e in this._levels)
|
|
4236
|
+
for (var e in this._levels) G(this._levels[e].el), this._onRemoveLevel(Number(e)), delete this._levels[e];
|
|
4237
4237
|
this._removeAllTiles(), this._tileZoom = void 0;
|
|
4238
4238
|
},
|
|
4239
4239
|
_retainParent: function(e, t, n, r) {
|
|
@@ -4276,7 +4276,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4276
4276
|
},
|
|
4277
4277
|
_setZoomTransform: function(e, t, n) {
|
|
4278
4278
|
var r = this._map.getZoomScale(n, e.zoom), i = e.origin.multiplyBy(r).subtract(this._map._getNewPixelOrigin(t, n)).round();
|
|
4279
|
-
|
|
4279
|
+
U.any3d ? Dt(e.el, i, r) : J(e.el, i);
|
|
4280
4280
|
},
|
|
4281
4281
|
_resetGrid: function() {
|
|
4282
4282
|
var e = this._map, t = e.options.crs, n = this._tileSize = this.getTileSize(), r = this._tileZoom, i = this._map.getPixelWorldBounds(this._tileZoom);
|
|
@@ -4352,19 +4352,19 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4352
4352
|
},
|
|
4353
4353
|
_removeTile: function(e) {
|
|
4354
4354
|
var t = this._tiles[e];
|
|
4355
|
-
t && (
|
|
4355
|
+
t && (G(t.el), delete this._tiles[e], this.fire("tileunload", {
|
|
4356
4356
|
tile: t.el,
|
|
4357
4357
|
coords: this._keyToTileCoords(e)
|
|
4358
4358
|
}));
|
|
4359
4359
|
},
|
|
4360
4360
|
_initTile: function(e) {
|
|
4361
|
-
|
|
4361
|
+
K(e, "leaflet-tile");
|
|
4362
4362
|
var t = this.getTileSize();
|
|
4363
|
-
e.style.width = t.x + "px", e.style.height = t.y + "px", e.onselectstart = l, e.onmousemove = l,
|
|
4363
|
+
e.style.width = t.x + "px", e.style.height = t.y + "px", e.onselectstart = l, e.onmousemove = l, U.ielt9 && this.options.opacity < 1 && wt(e, this.options.opacity);
|
|
4364
4364
|
},
|
|
4365
4365
|
_addTile: function(e, t) {
|
|
4366
4366
|
var n = this._getTilePos(e), r = this._tileCoordsToKey(e), a = this.createTile(this._wrapCoords(e), i(this._tileReady, this, e));
|
|
4367
|
-
this._initTile(a), this.createTile.length < 2 && x(i(this._tileReady, this, e, null, a)),
|
|
4367
|
+
this._initTile(a), this.createTile.length < 2 && x(i(this._tileReady, this, e, null, a)), J(a, n), this._tiles[r] = {
|
|
4368
4368
|
el: a,
|
|
4369
4369
|
coords: e,
|
|
4370
4370
|
current: !0
|
|
@@ -4380,10 +4380,10 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4380
4380
|
coords: e
|
|
4381
4381
|
});
|
|
4382
4382
|
var r = this._tileCoordsToKey(e);
|
|
4383
|
-
n = this._tiles[r], n && (n.loaded = +/* @__PURE__ */ new Date(), this._map._fadeAnimated ? (
|
|
4383
|
+
n = this._tiles[r], n && (n.loaded = +/* @__PURE__ */ new Date(), this._map._fadeAnimated ? (wt(n.el, 0), S(this._fadeFrame), this._fadeFrame = x(this._updateOpacity, this)) : (n.active = !0, this._pruneTiles()), t || (K(n.el, "leaflet-tile-loaded"), this.fire("tileload", {
|
|
4384
4384
|
tile: n.el,
|
|
4385
4385
|
coords: e
|
|
4386
|
-
})), this._noTilesToLoad() && (this._loading = !1, this.fire("load"),
|
|
4386
|
+
})), this._noTilesToLoad() && (this._loading = !1, this.fire("load"), U.ielt9 || !this._map._fadeAnimated ? x(this._pruneTiles, this) : setTimeout(i(this._pruneTiles, this), 250)));
|
|
4387
4387
|
},
|
|
4388
4388
|
_getTilePos: function(e) {
|
|
4389
4389
|
return e.scaleBy(this.getTileSize()).subtract(this._level.origin);
|
|
@@ -4418,18 +4418,18 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4418
4418
|
referrerPolicy: !1
|
|
4419
4419
|
},
|
|
4420
4420
|
initialize: function(e, t) {
|
|
4421
|
-
this._url = e, t = p(this, t), t.detectRetina &&
|
|
4421
|
+
this._url = e, t = p(this, t), t.detectRetina && U.retina && t.maxZoom > 0 ? (t.tileSize = Math.floor(t.tileSize / 2), t.zoomReverse ? (t.zoomOffset--, t.minZoom = Math.min(t.maxZoom, t.minZoom + 1)) : (t.zoomOffset++, t.maxZoom = Math.max(t.minZoom, t.maxZoom - 1)), t.minZoom = Math.max(0, t.minZoom)) : t.zoomReverse ? t.minZoom = Math.min(t.maxZoom, t.minZoom) : t.maxZoom = Math.max(t.minZoom, t.maxZoom), typeof t.subdomains == "string" && (t.subdomains = t.subdomains.split("")), this.on("tileunload", this._onTileRemove);
|
|
4422
4422
|
},
|
|
4423
4423
|
setUrl: function(e, t) {
|
|
4424
4424
|
return this._url === e && t === void 0 && (t = !0), this._url = e, t || this.redraw(), this;
|
|
4425
4425
|
},
|
|
4426
4426
|
createTile: function(e, t) {
|
|
4427
4427
|
var n = document.createElement("img");
|
|
4428
|
-
return
|
|
4428
|
+
return Y(n, "load", i(this._tileOnLoad, this, t, n)), Y(n, "error", i(this._tileOnError, this, t, n)), (this.options.crossOrigin || this.options.crossOrigin === "") && (n.crossOrigin = this.options.crossOrigin === !0 ? "" : this.options.crossOrigin), typeof this.options.referrerPolicy == "string" && (n.referrerPolicy = this.options.referrerPolicy), n.alt = "", n.src = this.getTileUrl(e), n;
|
|
4429
4429
|
},
|
|
4430
4430
|
getTileUrl: function(e) {
|
|
4431
4431
|
var t = {
|
|
4432
|
-
r:
|
|
4432
|
+
r: U.retina ? "@2x" : "",
|
|
4433
4433
|
s: this._getSubdomain(e),
|
|
4434
4434
|
x: e.x,
|
|
4435
4435
|
y: e.y,
|
|
@@ -4442,7 +4442,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4442
4442
|
return g(this._url, n(t, this.options));
|
|
4443
4443
|
},
|
|
4444
4444
|
_tileOnLoad: function(e, t) {
|
|
4445
|
-
|
|
4445
|
+
U.ielt9 ? setTimeout(i(e, this, null, t), 0) : e(null, t);
|
|
4446
4446
|
},
|
|
4447
4447
|
_tileOnError: function(e, t, n) {
|
|
4448
4448
|
var r = this.options.errorTileUrl;
|
|
@@ -4464,7 +4464,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4464
4464
|
for (e in this._tiles) if (this._tiles[e].coords.z !== this._tileZoom && (t = this._tiles[e].el, t.onload = l, t.onerror = l, !t.complete)) {
|
|
4465
4465
|
t.src = te;
|
|
4466
4466
|
var n = this._tiles[e].coords;
|
|
4467
|
-
|
|
4467
|
+
G(t), delete this._tiles[e], this.fire("tileabort", {
|
|
4468
4468
|
tile: t,
|
|
4469
4469
|
coords: n
|
|
4470
4470
|
});
|
|
@@ -4500,7 +4500,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4500
4500
|
var r = n({}, this.defaultWmsParams);
|
|
4501
4501
|
for (var i in t) i in this.options || (r[i] = t[i]);
|
|
4502
4502
|
t = p(this, t);
|
|
4503
|
-
var a = t.detectRetina &&
|
|
4503
|
+
var a = t.detectRetina && U.retina ? 2 : 1, o = this.getTileSize();
|
|
4504
4504
|
r.width = o.x * a, r.height = o.y * a, this.wmsParams = r;
|
|
4505
4505
|
},
|
|
4506
4506
|
onAdd: function(e) {
|
|
@@ -4536,7 +4536,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4536
4536
|
p(this, e), o(this), this._layers = this._layers || {};
|
|
4537
4537
|
},
|
|
4538
4538
|
onAdd: function() {
|
|
4539
|
-
this._container || (this._initContainer(),
|
|
4539
|
+
this._container || (this._initContainer(), K(this._container, "leaflet-zoom-animated")), this.getPane().appendChild(this._container), this._update(), this.on("update", this._updatePaths, this);
|
|
4540
4540
|
},
|
|
4541
4541
|
onRemove: function() {
|
|
4542
4542
|
this.off("update", this._updatePaths, this), this._destroyContainer();
|
|
@@ -4558,7 +4558,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4558
4558
|
},
|
|
4559
4559
|
_updateTransform: function(e, t) {
|
|
4560
4560
|
var n = this._map.getZoomScale(t, this._zoom), r = this._map.getSize().multiplyBy(.5 + this.options.padding), i = this._map.project(this._center, t), a = r.multiplyBy(-n).add(i).subtract(this._map._getNewPixelOrigin(e, t));
|
|
4561
|
-
|
|
4561
|
+
U.any3d ? Dt(this._container, a, n) : J(this._container, a);
|
|
4562
4562
|
},
|
|
4563
4563
|
_reset: function() {
|
|
4564
4564
|
for (var e in this._update(), this._updateTransform(this._center, this._zoom), this._layers) this._layers[e]._reset();
|
|
@@ -4587,10 +4587,10 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4587
4587
|
},
|
|
4588
4588
|
_initContainer: function() {
|
|
4589
4589
|
var e = this._container = document.createElement("canvas");
|
|
4590
|
-
|
|
4590
|
+
Y(e, "mousemove", this._onMouseMove, this), Y(e, "click dblclick mousedown mouseup contextmenu", this._onClick, this), Y(e, "mouseout", this._handleMouseOut, this), e._leaflet_disable_events = !0, this._ctx = e.getContext("2d");
|
|
4591
4591
|
},
|
|
4592
4592
|
_destroyContainer: function() {
|
|
4593
|
-
S(this._redrawRequest), delete this._ctx,
|
|
4593
|
+
S(this._redrawRequest), delete this._ctx, G(this._container), X(this._container), delete this._container;
|
|
4594
4594
|
},
|
|
4595
4595
|
_updatePaths: function() {
|
|
4596
4596
|
if (!this._postponeUpdatePaths) {
|
|
@@ -4602,8 +4602,8 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4602
4602
|
_update: function() {
|
|
4603
4603
|
if (!(this._map._animatingZoom && this._bounds)) {
|
|
4604
4604
|
Vr.prototype._update.call(this);
|
|
4605
|
-
var e = this._bounds, t = this._container, n = e.getSize(), r =
|
|
4606
|
-
|
|
4605
|
+
var e = this._bounds, t = this._container, n = e.getSize(), r = U.retina ? 2 : 1;
|
|
4606
|
+
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");
|
|
4607
4607
|
}
|
|
4608
4608
|
},
|
|
4609
4609
|
_reset: function() {
|
|
@@ -4704,12 +4704,12 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4704
4704
|
},
|
|
4705
4705
|
_handleMouseOut: function(e) {
|
|
4706
4706
|
var t = this._hoveredLayer;
|
|
4707
|
-
t && (
|
|
4707
|
+
t && (q(this._container, "leaflet-interactive"), this._fireEvent([t], e, "mouseout"), this._hoveredLayer = null, this._mouseHoverThrottled = !1);
|
|
4708
4708
|
},
|
|
4709
4709
|
_handleMouseHover: function(e, t) {
|
|
4710
4710
|
if (!this._mouseHoverThrottled) {
|
|
4711
4711
|
for (var n, r, a = this._drawFirst; a; a = a.next) n = a.layer, n.options.interactive && n._containsPoint(t) && (r = n);
|
|
4712
|
-
r !== this._hoveredLayer && (this._handleMouseOut(e), r && (
|
|
4712
|
+
r !== this._hoveredLayer && (this._handleMouseOut(e), r && (K(this._container, "leaflet-interactive"), this._fireEvent([r], e, "mouseover"), this._hoveredLayer = r)), this._fireEvent(this._hoveredLayer ? [this._hoveredLayer] : !1, e), this._mouseHoverThrottled = !0, setTimeout(i(function() {
|
|
4713
4713
|
this._mouseHoverThrottled = !1;
|
|
4714
4714
|
}, this), 32);
|
|
4715
4715
|
}
|
|
@@ -4737,7 +4737,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4737
4737
|
}
|
|
4738
4738
|
});
|
|
4739
4739
|
function Ur(e) {
|
|
4740
|
-
return
|
|
4740
|
+
return U.canvas ? new Hr(e) : null;
|
|
4741
4741
|
}
|
|
4742
4742
|
var Wr = (function() {
|
|
4743
4743
|
try {
|
|
@@ -4750,14 +4750,14 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4750
4750
|
};
|
|
4751
4751
|
})(), Gr = {
|
|
4752
4752
|
_initContainer: function() {
|
|
4753
|
-
this._container =
|
|
4753
|
+
this._container = W("div", "leaflet-vml-container");
|
|
4754
4754
|
},
|
|
4755
4755
|
_update: function() {
|
|
4756
4756
|
this._map._animatingZoom || (Vr.prototype._update.call(this), this.fire("update"));
|
|
4757
4757
|
},
|
|
4758
4758
|
_initPath: function(e) {
|
|
4759
4759
|
var t = e._container = Wr("shape");
|
|
4760
|
-
|
|
4760
|
+
K(t, "leaflet-vml-shape " + (this.options.className || "")), t.coordsize = "1 1", e._path = Wr("path"), t.appendChild(e._path), this._updateStyle(e), this._layers[o(e)] = e;
|
|
4761
4761
|
},
|
|
4762
4762
|
_addPath: function(e) {
|
|
4763
4763
|
var t = e._container;
|
|
@@ -4765,7 +4765,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4765
4765
|
},
|
|
4766
4766
|
_removePath: function(e) {
|
|
4767
4767
|
var t = e._container;
|
|
4768
|
-
|
|
4768
|
+
G(t), e.removeInteractiveTarget(t), delete this._layers[o(e)];
|
|
4769
4769
|
},
|
|
4770
4770
|
_updateStyle: function(e) {
|
|
4771
4771
|
var t = e._stroke, n = e._fill, r = e.options, i = e._container;
|
|
@@ -4779,23 +4779,23 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4779
4779
|
e._path.v = t;
|
|
4780
4780
|
},
|
|
4781
4781
|
_bringToFront: function(e) {
|
|
4782
|
-
|
|
4782
|
+
yt(e._container);
|
|
4783
4783
|
},
|
|
4784
4784
|
_bringToBack: function(e) {
|
|
4785
|
-
|
|
4785
|
+
bt(e._container);
|
|
4786
4786
|
}
|
|
4787
|
-
}, Kr =
|
|
4787
|
+
}, Kr = U.vml ? Wr : fe, qr = Vr.extend({
|
|
4788
4788
|
_initContainer: function() {
|
|
4789
4789
|
this._container = Kr("svg"), this._container.setAttribute("pointer-events", "none"), this._rootGroup = Kr("g"), this._container.appendChild(this._rootGroup);
|
|
4790
4790
|
},
|
|
4791
4791
|
_destroyContainer: function() {
|
|
4792
|
-
|
|
4792
|
+
G(this._container), X(this._container), delete this._container, delete this._rootGroup, delete this._svgSize;
|
|
4793
4793
|
},
|
|
4794
4794
|
_update: function() {
|
|
4795
4795
|
if (!(this._map._animatingZoom && this._bounds)) {
|
|
4796
4796
|
Vr.prototype._update.call(this);
|
|
4797
4797
|
var e = this._bounds, t = e.getSize(), n = this._container;
|
|
4798
|
-
(!this._svgSize || !this._svgSize.equals(t)) && (this._svgSize = t, n.setAttribute("width", t.x), n.setAttribute("height", t.y)),
|
|
4798
|
+
(!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", [
|
|
4799
4799
|
e.min.x,
|
|
4800
4800
|
e.min.y,
|
|
4801
4801
|
t.x,
|
|
@@ -4805,13 +4805,13 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4805
4805
|
},
|
|
4806
4806
|
_initPath: function(e) {
|
|
4807
4807
|
var t = e._path = Kr("path");
|
|
4808
|
-
e.options.className &&
|
|
4808
|
+
e.options.className && K(t, e.options.className), e.options.interactive && K(t, "leaflet-interactive"), this._updateStyle(e), this._layers[o(e)] = e;
|
|
4809
4809
|
},
|
|
4810
4810
|
_addPath: function(e) {
|
|
4811
4811
|
this._rootGroup || this._initContainer(), this._rootGroup.appendChild(e._path), e.addInteractiveTarget(e._path);
|
|
4812
4812
|
},
|
|
4813
4813
|
_removePath: function(e) {
|
|
4814
|
-
|
|
4814
|
+
G(e._path), e.removeInteractiveTarget(e._path), delete this._layers[o(e)];
|
|
4815
4815
|
},
|
|
4816
4816
|
_updatePath: function(e) {
|
|
4817
4817
|
e._project(), e._update();
|
|
@@ -4831,15 +4831,15 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4831
4831
|
e._path.setAttribute("d", t);
|
|
4832
4832
|
},
|
|
4833
4833
|
_bringToFront: function(e) {
|
|
4834
|
-
|
|
4834
|
+
yt(e._path);
|
|
4835
4835
|
},
|
|
4836
4836
|
_bringToBack: function(e) {
|
|
4837
|
-
|
|
4837
|
+
bt(e._path);
|
|
4838
4838
|
}
|
|
4839
4839
|
});
|
|
4840
|
-
|
|
4840
|
+
U.vml && qr.include(Gr);
|
|
4841
4841
|
function Jr(e) {
|
|
4842
|
-
return
|
|
4842
|
+
return U.svg || U.vml ? new qr(e) : null;
|
|
4843
4843
|
}
|
|
4844
4844
|
Q.include({
|
|
4845
4845
|
getRenderer: function(e) {
|
|
@@ -4880,16 +4880,16 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4880
4880
|
this._map = e, this._container = e._container, this._pane = e._panes.overlayPane, this._resetStateTimeout = 0, e.on("unload", this._destroy, this);
|
|
4881
4881
|
},
|
|
4882
4882
|
addHooks: function() {
|
|
4883
|
-
|
|
4883
|
+
Y(this._container, "mousedown", this._onMouseDown, this);
|
|
4884
4884
|
},
|
|
4885
4885
|
removeHooks: function() {
|
|
4886
|
-
|
|
4886
|
+
X(this._container, "mousedown", this._onMouseDown, this);
|
|
4887
4887
|
},
|
|
4888
4888
|
moved: function() {
|
|
4889
4889
|
return this._moved;
|
|
4890
4890
|
},
|
|
4891
4891
|
_destroy: function() {
|
|
4892
|
-
|
|
4892
|
+
G(this._pane), delete this._pane;
|
|
4893
4893
|
},
|
|
4894
4894
|
_resetState: function() {
|
|
4895
4895
|
this._resetStateTimeout = 0, this._moved = !1;
|
|
@@ -4899,7 +4899,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4899
4899
|
},
|
|
4900
4900
|
_onMouseDown: function(e) {
|
|
4901
4901
|
if (!e.shiftKey || e.which !== 1 && e.button !== 1) return !1;
|
|
4902
|
-
this._clearDeferredResetState(), this._resetState(),
|
|
4902
|
+
this._clearDeferredResetState(), this._resetState(), kt(), Nt(), this._startPoint = this._map.mouseEventToContainerPoint(e), Y(document, {
|
|
4903
4903
|
contextmenu: Xt,
|
|
4904
4904
|
mousemove: this._onMouseMove,
|
|
4905
4905
|
mouseup: this._onMouseUp,
|
|
@@ -4907,12 +4907,12 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4907
4907
|
}, this);
|
|
4908
4908
|
},
|
|
4909
4909
|
_onMouseMove: function(e) {
|
|
4910
|
-
this._moved || (this._moved = !0, this._box =
|
|
4910
|
+
this._moved || (this._moved = !0, this._box = W("div", "leaflet-zoom-box", this._container), K(this._container, "leaflet-crosshair"), this._map.fire("boxzoomstart")), this._point = this._map.mouseEventToContainerPoint(e);
|
|
4911
4911
|
var t = new k(this._point, this._startPoint), n = t.getSize();
|
|
4912
|
-
|
|
4912
|
+
J(this._box, t.min), this._box.style.width = n.x + "px", this._box.style.height = n.y + "px";
|
|
4913
4913
|
},
|
|
4914
4914
|
_finish: function() {
|
|
4915
|
-
this._moved && (
|
|
4915
|
+
this._moved && (G(this._box), q(this._container, "leaflet-crosshair")), At(), Pt(), X(document, {
|
|
4916
4916
|
contextmenu: Xt,
|
|
4917
4917
|
mousemove: this._onMouseMove,
|
|
4918
4918
|
mouseup: this._onMouseUp,
|
|
@@ -4962,10 +4962,10 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4962
4962
|
dragend: this._onDragEnd
|
|
4963
4963
|
}, this), this._draggable.on("predrag", this._onPreDragLimit, this), e.options.worldCopyJump && (this._draggable.on("predrag", this._onPreDragWrap, this), e.on("zoomend", this._onZoomEnd, this), e.whenReady(this._onZoomEnd, this));
|
|
4964
4964
|
}
|
|
4965
|
-
|
|
4965
|
+
K(this._map._container, "leaflet-grab leaflet-touch-drag"), this._draggable.enable(), this._positions = [], this._times = [];
|
|
4966
4966
|
},
|
|
4967
4967
|
removeHooks: function() {
|
|
4968
|
-
|
|
4968
|
+
q(this._map._container, "leaflet-grab"), q(this._map._container, "leaflet-touch-drag"), this._draggable.disable();
|
|
4969
4969
|
},
|
|
4970
4970
|
moved: function() {
|
|
4971
4971
|
return this._draggable && this._draggable._moved;
|
|
@@ -5053,7 +5053,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
5053
5053
|
},
|
|
5054
5054
|
addHooks: function() {
|
|
5055
5055
|
var e = this._map._container;
|
|
5056
|
-
e.tabIndex <= 0 && (e.tabIndex = "0"),
|
|
5056
|
+
e.tabIndex <= 0 && (e.tabIndex = "0"), Y(e, {
|
|
5057
5057
|
focus: this._onFocus,
|
|
5058
5058
|
blur: this._onBlur,
|
|
5059
5059
|
mousedown: this._onMouseDown
|
|
@@ -5063,7 +5063,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
5063
5063
|
}, this);
|
|
5064
5064
|
},
|
|
5065
5065
|
removeHooks: function() {
|
|
5066
|
-
this._removeHooks(),
|
|
5066
|
+
this._removeHooks(), X(this._map._container, {
|
|
5067
5067
|
focus: this._onFocus,
|
|
5068
5068
|
blur: this._onBlur,
|
|
5069
5069
|
mousedown: this._onMouseDown
|
|
@@ -5097,10 +5097,10 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
5097
5097
|
for (r = 0, i = n.zoomOut.length; r < i; r++) t[n.zoomOut[r]] = -e;
|
|
5098
5098
|
},
|
|
5099
5099
|
_addHooks: function() {
|
|
5100
|
-
|
|
5100
|
+
Y(document, "keydown", this._onKeyDown, this);
|
|
5101
5101
|
},
|
|
5102
5102
|
_removeHooks: function() {
|
|
5103
|
-
|
|
5103
|
+
X(document, "keydown", this._onKeyDown, this);
|
|
5104
5104
|
},
|
|
5105
5105
|
_onKeyDown: function(e) {
|
|
5106
5106
|
if (!(e.altKey || e.ctrlKey || e.metaKey)) {
|
|
@@ -5124,10 +5124,10 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
5124
5124
|
});
|
|
5125
5125
|
var ti = mn.extend({
|
|
5126
5126
|
addHooks: function() {
|
|
5127
|
-
|
|
5127
|
+
Y(this._map._container, "wheel", this._onWheelScroll, this), this._delta = 0;
|
|
5128
5128
|
},
|
|
5129
5129
|
removeHooks: function() {
|
|
5130
|
-
|
|
5130
|
+
X(this._map._container, "wheel", this._onWheelScroll, this);
|
|
5131
5131
|
},
|
|
5132
5132
|
_onWheelScroll: function(e) {
|
|
5133
5133
|
var t = en(e), n = this._map.options.wheelDebounceTime;
|
|
@@ -5145,29 +5145,29 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
5145
5145
|
Q.addInitHook("addHandler", "scrollWheelZoom", ti);
|
|
5146
5146
|
var ni = 600;
|
|
5147
5147
|
Q.mergeOptions({
|
|
5148
|
-
tapHold:
|
|
5148
|
+
tapHold: U.touchNative && U.safari && U.mobile,
|
|
5149
5149
|
tapTolerance: 15
|
|
5150
5150
|
});
|
|
5151
5151
|
var ri = mn.extend({
|
|
5152
5152
|
addHooks: function() {
|
|
5153
|
-
|
|
5153
|
+
Y(this._map._container, "touchstart", this._onDown, this);
|
|
5154
5154
|
},
|
|
5155
5155
|
removeHooks: function() {
|
|
5156
|
-
|
|
5156
|
+
X(this._map._container, "touchstart", this._onDown, this);
|
|
5157
5157
|
},
|
|
5158
5158
|
_onDown: function(e) {
|
|
5159
5159
|
if (clearTimeout(this._holdTimeout), e.touches.length === 1) {
|
|
5160
5160
|
var t = e.touches[0];
|
|
5161
5161
|
this._startPos = this._newPos = new E(t.clientX, t.clientY), this._holdTimeout = setTimeout(i(function() {
|
|
5162
|
-
this._cancel(), this._isTapValid() && (
|
|
5163
|
-
}, this), ni),
|
|
5162
|
+
this._cancel(), this._isTapValid() && (Y(document, "touchend", Z), Y(document, "touchend touchcancel", this._cancelClickPrevent), this._simulateEvent("contextmenu", t));
|
|
5163
|
+
}, this), ni), Y(document, "touchend touchcancel contextmenu", this._cancel, this), Y(document, "touchmove", this._onMove, this);
|
|
5164
5164
|
}
|
|
5165
5165
|
},
|
|
5166
5166
|
_cancelClickPrevent: function e() {
|
|
5167
|
-
|
|
5167
|
+
X(document, "touchend", Z), X(document, "touchend touchcancel", e);
|
|
5168
5168
|
},
|
|
5169
5169
|
_cancel: function() {
|
|
5170
|
-
clearTimeout(this._holdTimeout),
|
|
5170
|
+
clearTimeout(this._holdTimeout), X(document, "touchend touchcancel contextmenu", this._cancel, this), X(document, "touchmove", this._onMove, this);
|
|
5171
5171
|
},
|
|
5172
5172
|
_onMove: function(e) {
|
|
5173
5173
|
var t = e.touches[0];
|
|
@@ -5190,21 +5190,21 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
5190
5190
|
}
|
|
5191
5191
|
});
|
|
5192
5192
|
Q.addInitHook("addHandler", "tapHold", ri), Q.mergeOptions({
|
|
5193
|
-
touchZoom:
|
|
5193
|
+
touchZoom: U.touch,
|
|
5194
5194
|
bounceAtZoomLimits: !0
|
|
5195
5195
|
});
|
|
5196
5196
|
var ii = mn.extend({
|
|
5197
5197
|
addHooks: function() {
|
|
5198
|
-
|
|
5198
|
+
K(this._map._container, "leaflet-touch-zoom"), Y(this._map._container, "touchstart", this._onTouchStart, this);
|
|
5199
5199
|
},
|
|
5200
5200
|
removeHooks: function() {
|
|
5201
|
-
|
|
5201
|
+
q(this._map._container, "leaflet-touch-zoom"), X(this._map._container, "touchstart", this._onTouchStart, this);
|
|
5202
5202
|
},
|
|
5203
5203
|
_onTouchStart: function(e) {
|
|
5204
5204
|
var t = this._map;
|
|
5205
5205
|
if (!(!e.touches || e.touches.length !== 2 || t._animatingZoom || this._zooming)) {
|
|
5206
5206
|
var n = t.mouseEventToContainerPoint(e.touches[0]), r = t.mouseEventToContainerPoint(e.touches[1]);
|
|
5207
|
-
this._centerPoint = t.getSize()._divideBy(2), this._startLatLng = t.containerPointToLatLng(this._centerPoint), t.options.touchZoom !== "center" && (this._pinchStartLatLng = t.containerPointToLatLng(n.add(r)._divideBy(2))), this._startDist = n.distanceTo(r), this._startZoom = t.getZoom(), this._moved = !1, this._zooming = !0, t._stop(),
|
|
5207
|
+
this._centerPoint = t.getSize()._divideBy(2), this._startLatLng = t.containerPointToLatLng(this._centerPoint), t.options.touchZoom !== "center" && (this._pinchStartLatLng = t.containerPointToLatLng(n.add(r)._divideBy(2))), this._startDist = n.distanceTo(r), this._startZoom = t.getZoom(), this._moved = !1, this._zooming = !0, t._stop(), Y(document, "touchmove", this._onTouchMove, this), Y(document, "touchend touchcancel", this._onTouchEnd, this), Z(e);
|
|
5208
5208
|
}
|
|
5209
5209
|
},
|
|
5210
5210
|
_onTouchMove: function(e) {
|
|
@@ -5230,10 +5230,10 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
5230
5230
|
this._zooming = !1;
|
|
5231
5231
|
return;
|
|
5232
5232
|
}
|
|
5233
|
-
this._zooming = !1, S(this._animRequest),
|
|
5233
|
+
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));
|
|
5234
5234
|
}
|
|
5235
5235
|
});
|
|
5236
|
-
Q.addInitHook("addHandler", "touchZoom", ii), Q.BoxZoom = Zr, Q.DoubleClickZoom = Qr, Q.Drag = $r, Q.Keyboard = ei, Q.ScrollWheelZoom = ti, Q.TapHold = ri, Q.TouchZoom = ii, e.Bounds = k, e.Browser =
|
|
5236
|
+
Q.addInitHook("addHandler", "touchZoom", ii), Q.BoxZoom = Zr, Q.DoubleClickZoom = Qr, Q.Drag = $r, Q.Keyboard = ei, Q.ScrollWheelZoom = ti, Q.TapHold = ri, Q.TouchZoom = ii, e.Bounds = k, e.Browser = U, e.CRS = F, e.Canvas = Hr, e.Circle = ir, e.CircleMarker = nr, e.Class = C, e.Control = on, e.DivIcon = Nr, e.DivOverlay = Or, e.DomEvent = nn, e.DomUtil = Vt, e.Draggable = _n, e.Evented = T, e.FeatureGroup = qn, e.GeoJSON = ur, e.GridLayer = Fr, e.Handler = mn, e.Icon = Yn, e.ImageOverlay = Sr, e.LatLng = N, e.LatLngBounds = j, e.Layer = Wn, e.LayerGroup = Gn, e.LineUtil = Ln, e.Map = Q, e.Marker = $n, e.Mixin = hn, e.Path = tr, e.Point = E, e.PolyUtil = xn, e.Polygon = cr, e.Polyline = or, e.Popup = kr, e.PosAnimation = rn, e.Projection = Bn, e.Rectangle = Yr, e.Renderer = Vr, e.SVG = qr, e.SVGOverlay = Er, e.TileLayer = Lr, e.Tooltip = jr, e.Transformation = ce, e.Util = ie, e.VideoOverlay = wr, e.bind = i, e.bounds = A, e.canvas = Ur, e.circle = ar, e.circleMarker = rr, e.control = sn, e.divIcon = Pr, e.extend = n, e.featureGroup = Jn, e.geoJSON = br, e.geoJson = xr, e.gridLayer = Ir, e.icon = Xn, e.imageOverlay = Cr, e.latLng = P, e.latLngBounds = M, e.layerGroup = Kn, e.map = an, e.marker = er, e.point = O, e.polygon = lr, e.polyline = sr, e.popup = Ar, e.rectangle = Xr, e.setOptions = p, e.stamp = o, e.svg = Jr, e.svgOverlay = Dr, e.tileLayer = Rr, e.tooltip = Mr, e.transformation = le, e.version = t, e.videoOverlay = Tr;
|
|
5237
5237
|
var ai = window.L;
|
|
5238
5238
|
e.noConflict = function() {
|
|
5239
5239
|
return window.L = ai, this;
|
|
@@ -5980,7 +5980,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
5980
5980
|
} }), e.MarkerClusterGroup = t, e.MarkerCluster = n, Object.defineProperty(e, "__esModule", { value: !0 });
|
|
5981
5981
|
});
|
|
5982
5982
|
})))();
|
|
5983
|
-
var
|
|
5983
|
+
var Xt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAACXBIWXMAAAsTAAALEwEAmpwYAAADTUlEQVRYhc2Xz2skRRTHP93zw2YSGzFsiMb4AzyYlfw2YpAIaiJCToKSPciCJy97iAeJ4nl3c9kVDwoiOXgR5m8Y0INIFDPkl8mIBrwkGIIQdzYzmenp6fIwVWPNpHumO8yQPHhUd3V1fT/96lV3P0MIAcD8/HwcMIGkbON01lzAAxzAy2QyLoAhhFDiScCSnpQAZofEPQngACXpTiaTcY25uTklngJs2Vp0JwIloAjkZeuop7SkeL8QYq3Dwg1mGMaMPPQAVw99Sgixlh9exH10kGpPf0eFY4Vj4g8PsXPpNcMwRpDLoCeeBXRFHGieU+WZqbJdeVfEfSDqmirLO5XtUcy8LOHzFJdpLfe6FTf5ZXmSH/f/rffNPv9Y4Pif/8rz4Xd/dAbgg5kBlt54CoBb6f16/7c3X2B8qNf3nlees9n67CXfa2O316MBvH398frxe5PXqFRr34zhJ1JBt1zIAgEWV/d8+5ffGgLgwZnLa/c36/3vv9zPx/NPNzxpUDRCATTb6GAPAPlSlVQyxlnFa7i++3cx7FTRAUYHe9g+LABwcFJmwE5eSOxCALo4wLN9VsvxYcIeCkCtabct8EWkxI/yDu98/Rs3ApJSt7LrcWN1j3e/2eXBmRsKoO0SLHy5Q/bTKSpVj9c/3+SHj8YBGLCT58I9e2+D75fGSMRMpley/PrJFAC/HwUnaCDA1N0sQghefLKW/YmYSdn1mF7JBk5mJUwSsVpQn+mzmLyzjnx9RAdwvdqd24cF/jmtcFKsUHC8oOEAONUqBydl4jGDP4/PWiu3A9DtzS+2Qk0GsPDVTuixcAW+hlcGoPXidsc8BeBqTqxw3DVFbe66psn/5VIJIP7wsCsQ6rdcWklqenFNvGgYxoydS/sWJvnhRcoDE6HEHjnawM6lfa/JwqSIVhd48iQvB4zQWJqZAHYu/VMe2kIoccMwXpVdKr+aS7MS4IUpTuv/8EKIbKtIaOJTNOZWcHHapjxXrV6+bfhBaOITeoibAPzL81YmwSygV3pKCLGlQ2jiY1L8VHpJCQVZW4AAiF4VCUB/8lMiiIcG8IGwJUQWUGt+Si25QotHAmiCSElXP4cOtdAXo4hHBtAgVFKqraq2mBNFHOA/vbl1jTBiGKsAAAAASUVORK5CYII=", Zt = /*#__PURE__*/ R(/* @__PURE__ */ d({
|
|
5984
5984
|
__name: "Map",
|
|
5985
5985
|
props: {
|
|
5986
5986
|
modelValue: {},
|
|
@@ -5988,13 +5988,13 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
5988
5988
|
},
|
|
5989
5989
|
emits: ["update:modelValue", "callback"],
|
|
5990
5990
|
setup(e, { emit: t }) {
|
|
5991
|
-
let { t: n } = v(), r = t, i = e, { hotelMapImage: a } = T(
|
|
5992
|
-
iconUrl:
|
|
5991
|
+
let { t: n } = v(), r = t, i = e, { hotelMapImage: a } = T(ge()), o = Z.default.Util.extend(Z.default.CRS.Simple, { transformation: new Z.default.Transformation(1, 0, 1, 0) }), s = F(), c = N(() => a.value?.url), l = N(() => a.value?.height), u = N(() => a.value?.width), d = Z.default.icon({
|
|
5992
|
+
iconUrl: Xt,
|
|
5993
5993
|
iconSize: [32, 37],
|
|
5994
5994
|
iconAnchor: [16, 37]
|
|
5995
5995
|
});
|
|
5996
5996
|
function f() {
|
|
5997
|
-
let e =
|
|
5997
|
+
let e = Z.default.map(s.value, {
|
|
5998
5998
|
attributionControl: !1,
|
|
5999
5999
|
zoomControl: !0,
|
|
6000
6000
|
smoothWheelZoom: !0,
|
|
@@ -6005,10 +6005,10 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6005
6005
|
maxZoom: 1,
|
|
6006
6006
|
crs: o
|
|
6007
6007
|
}), t = [[0, 0], [l.value, u.value]];
|
|
6008
|
-
|
|
6009
|
-
let r =
|
|
6008
|
+
Z.default.imageOverlay(c.value, t).addTo(e);
|
|
6009
|
+
let r = Z.default.markerClusterGroup({ showCoverageOnHover: !1 }), i = new Z.default.LatLngBounds(h.value.map(({ y: e, x: t }) => [e, t]));
|
|
6010
6010
|
h.value.forEach(({ y: e, x: t, name: i, id: a }) => {
|
|
6011
|
-
r.addLayer(
|
|
6011
|
+
r.addLayer(Z.default.marker([e, t], {
|
|
6012
6012
|
icon: d,
|
|
6013
6013
|
title: i,
|
|
6014
6014
|
alt: i,
|
|
@@ -6022,7 +6022,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6022
6022
|
});
|
|
6023
6023
|
});
|
|
6024
6024
|
}
|
|
6025
|
-
let { stop: p } =
|
|
6025
|
+
let { stop: p } = B(s, ([{ isIntersecting: e }]) => {
|
|
6026
6026
|
e && (p(), f());
|
|
6027
6027
|
}), m = N({
|
|
6028
6028
|
get: () => i.modelValue,
|
|
@@ -6045,10 +6045,10 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6045
6045
|
class: "konnectio-leaflet-map"
|
|
6046
6046
|
}, null, 512)).cacheIndex = 0, O(1), t[0]);
|
|
6047
6047
|
}
|
|
6048
|
-
}), [["__scopeId", "data-v-836c139d"]]),
|
|
6048
|
+
}), [["__scopeId", "data-v-836c139d"]]), Qt = { style: {
|
|
6049
6049
|
height: "100%",
|
|
6050
6050
|
width: "100%"
|
|
6051
|
-
} },
|
|
6051
|
+
} }, $t = /* @__PURE__ */ d({
|
|
6052
6052
|
__name: "MapSelector",
|
|
6053
6053
|
props: {
|
|
6054
6054
|
roomList: {},
|
|
@@ -6060,8 +6060,8 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6060
6060
|
function a() {
|
|
6061
6061
|
r.value && (i.config.units = 1, i.config.roomId = n.value, i.callback());
|
|
6062
6062
|
}
|
|
6063
|
-
return (r, i) => (c(), o(
|
|
6064
|
-
default: j(() => [g("div",
|
|
6063
|
+
return (r, i) => (c(), o(qe, { title: _(t)("hotel.selectRoomOnMapTitle") }, {
|
|
6064
|
+
default: j(() => [g("div", Qt, [C(Zt, {
|
|
6065
6065
|
modelValue: n.value,
|
|
6066
6066
|
"onUpdate:modelValue": i[0] ||= (e) => n.value = e,
|
|
6067
6067
|
rooms: e.roomList,
|
|
@@ -6070,19 +6070,19 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6070
6070
|
_: 1
|
|
6071
6071
|
}, 8, ["title"]));
|
|
6072
6072
|
}
|
|
6073
|
-
}),
|
|
6073
|
+
}), en = {
|
|
6074
6074
|
key: 0,
|
|
6075
6075
|
class: "konnectio-hotel-select-rate"
|
|
6076
|
-
},
|
|
6076
|
+
}, tn = {
|
|
6077
6077
|
key: 0,
|
|
6078
6078
|
class: "konnectio-hotel-select-rate-removal"
|
|
6079
|
-
},
|
|
6079
|
+
}, nn = { key: 1 }, rn = { class: "konnectio-listing-config-body" }, Q = {
|
|
6080
6080
|
key: 0,
|
|
6081
6081
|
class: "konnectio-listing-units-body"
|
|
6082
|
-
},
|
|
6082
|
+
}, an = {
|
|
6083
6083
|
key: 1,
|
|
6084
6084
|
class: "konnectio-listing-units-body"
|
|
6085
|
-
},
|
|
6085
|
+
}, on = /*#__PURE__*/ R(/* @__PURE__ */ d({
|
|
6086
6086
|
__name: "Hotel",
|
|
6087
6087
|
props: {
|
|
6088
6088
|
room: {},
|
|
@@ -6108,7 +6108,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6108
6108
|
let ee = N(() => u.room.rates.map((e) => ({
|
|
6109
6109
|
label: e.name,
|
|
6110
6110
|
value: e.id
|
|
6111
|
-
}))), { hideAvailableRoomAmount: te, autoSelectRateId: b, enableMultipleConfigurations: re } = T(le()), { roomSelect: x, isSearchOutdated: S } = T(
|
|
6111
|
+
}))), { hideAvailableRoomAmount: te, autoSelectRateId: b, enableMultipleConfigurations: re } = T(le()), { roomSelect: x, isSearchOutdated: S } = T(ge()), { addToCart: ie, removeFromCart: ae } = ce(), E = (e, t) => u.room.rates.find((t) => t.id === e)?.occupantRates.find((e) => e.index === t), D = N(() => u.room.roomList.some((e) => e.mapImageX && e.mapImageY)), O = N(() => u.room.rates.every((e) => e.isBreakfastIncluded === !0)), k = (e, t) => E(e, t) ? E(e, t)?.rooms : null, A = (e) => u.room.rates.length > 0 && u.room.rates.find((t) => t.id === e)?.occupantRates.map((e) => ({
|
|
6112
6112
|
value: e.index,
|
|
6113
6113
|
price: e.totalPrice,
|
|
6114
6114
|
adults: e.adultsCount,
|
|
@@ -6148,7 +6148,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6148
6148
|
t.length > 0 && e.forEach((e, n) => {
|
|
6149
6149
|
t[n] && e.config.forEach((e, r) => {
|
|
6150
6150
|
let i = e.units, a = t[n].config[r].units;
|
|
6151
|
-
i !== a && (i > a ? (d.value[n].config[r].addons.push({}), ie({
|
|
6151
|
+
i !== a && (i > a ? (d.value[n].config[r].addons.push(d.value[n].config[r].addons[0] ?? {}), ie({
|
|
6152
6152
|
id: u.room.id,
|
|
6153
6153
|
name: u.room.title,
|
|
6154
6154
|
value: u.room.rates[n].rackRate
|
|
@@ -6175,7 +6175,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6175
6175
|
action: j(() => [g("div", { class: s(["konnectio-availability-listing-selection", { "konnectio-multiple-configurations": d.value.length > 1 }]) }, [(c(!0), f(y, null, m(d.value, (o, s) => (c(), f("div", {
|
|
6176
6176
|
key: o.id,
|
|
6177
6177
|
class: "konnectio-hotel-room"
|
|
6178
|
-
}, [P.value ? (c(), f("div",
|
|
6178
|
+
}, [P.value ? (c(), f("div", en, [C(Ae, {
|
|
6179
6179
|
modelValue: o.id,
|
|
6180
6180
|
"onUpdate:modelValue": (e) => o.id = e,
|
|
6181
6181
|
label: _(i)("hotel.roomVariant"),
|
|
@@ -6190,19 +6190,19 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6190
6190
|
"placeholder",
|
|
6191
6191
|
"options",
|
|
6192
6192
|
"onChanged"
|
|
6193
|
-
]), d.value.length > 1 ? (c(), f("div",
|
|
6193
|
+
]), d.value.length > 1 ? (c(), f("div", tn, [C(V, {
|
|
6194
6194
|
style: { "--buttonBackground": "var(--dangerColor)" },
|
|
6195
6195
|
icon: "trash-alt",
|
|
6196
6196
|
"icon-type": "fas",
|
|
6197
6197
|
onClickEvent: (e) => h(s),
|
|
6198
6198
|
secondary: ""
|
|
6199
|
-
}, null, 8, ["onClickEvent"])])) : a("", !0)])) : a("", !0), o.id ? (c(), f("div",
|
|
6199
|
+
}, null, 8, ["onClickEvent"])])) : a("", !0)])) : a("", !0), o.id ? (c(), f("div", nn, [(c(!0), f(y, null, m(e.room.rates, ({ id: s, maximumOccupants: l }) => (c(), f("div", {
|
|
6200
6200
|
key: s,
|
|
6201
6201
|
class: "konnectio-listing-action-selective-i"
|
|
6202
6202
|
}, [o.id === s ? (c(!0), f(y, { key: 0 }, m(o.config, (a, d) => (c(), f("div", {
|
|
6203
6203
|
key: d,
|
|
6204
6204
|
class: "konnectio-listing-action-selective"
|
|
6205
|
-
}, [g("ul",
|
|
6205
|
+
}, [g("ul", rn, [C(Yt, {
|
|
6206
6206
|
modelValue: a.id,
|
|
6207
6207
|
"onUpdate:modelValue": (e) => a.id = e,
|
|
6208
6208
|
icon: "male",
|
|
@@ -6218,13 +6218,13 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6218
6218
|
"description",
|
|
6219
6219
|
"options",
|
|
6220
6220
|
"readonly"
|
|
6221
|
-
])]), D.value ? (c(), f("div",
|
|
6221
|
+
])]), D.value ? (c(), f("div", an, [C(V, {
|
|
6222
6222
|
onClickEvent: n,
|
|
6223
6223
|
label: _(i)("hotel.selectRoomOnMap"),
|
|
6224
6224
|
secondary: "",
|
|
6225
6225
|
"full-width": "",
|
|
6226
6226
|
disabled: _(S)
|
|
6227
|
-
}, null, 8, ["label", "disabled"]), C(
|
|
6227
|
+
}, null, 8, ["label", "disabled"]), C($t, {
|
|
6228
6228
|
modelValue: t.value,
|
|
6229
6229
|
"onUpdate:modelValue": u[0] ||= (e) => t.value = e,
|
|
6230
6230
|
"room-list": e.room.roomList,
|
|
@@ -6234,7 +6234,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6234
6234
|
"modelValue",
|
|
6235
6235
|
"room-list",
|
|
6236
6236
|
"config"
|
|
6237
|
-
])])) : (c(), f("ul",
|
|
6237
|
+
])])) : (c(), f("ul", Q, [C(Oe, {
|
|
6238
6238
|
modelValue: a.units,
|
|
6239
6239
|
"onUpdate:modelValue": (e) => a.units = e,
|
|
6240
6240
|
description: _(te) ? void 0 : `${_(i)("booking.availability.availableUnits")}: ${k(o.id, a.id)}`,
|
|
@@ -6267,10 +6267,10 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6267
6267
|
"includes-breakfast"
|
|
6268
6268
|
]));
|
|
6269
6269
|
}
|
|
6270
|
-
}), [["__scopeId", "data-v-
|
|
6270
|
+
}), [["__scopeId", "data-v-fc655391"]]), sn = { class: "konnectio-template-side-panel" }, cn = { class: "konnectio-template-side-panel-listings" }, ln = { class: "konnectio-template-room-config" }, un = { class: "konnectio-template-room-units" }, dn = { class: "konnectio-template-room-unit-header" }, $ = { class: "konnectio-template-footer" }, fn = {
|
|
6271
6271
|
key: 0,
|
|
6272
6272
|
class: "konnectio-template-selection-preview"
|
|
6273
|
-
},
|
|
6273
|
+
}, pn = { class: "konnectio-template-selection-item-header" }, mn = { class: "konnectio-template-selection-item-name" }, hn = { class: "konnectio-template-selection-item-price" }, gn = { class: "konnectio-template-selection-item-units" }, _n = /*#__PURE__*/ R(/* @__PURE__ */ d({
|
|
6274
6274
|
__name: "Template",
|
|
6275
6275
|
props: {
|
|
6276
6276
|
title: {},
|
|
@@ -6281,89 +6281,85 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6281
6281
|
callback: { type: Function }
|
|
6282
6282
|
},
|
|
6283
6283
|
setup(e) {
|
|
6284
|
-
let { t } = v(), n = le(), i =
|
|
6284
|
+
let { t } = v(), n = le(), i = ge(), { location: l, adults: u, children: d } = T(se()), { templateID: p, roomGroupID: h, templateRoomSelections: b, selectionHasNoAddons: re, currentAdults: x, currentChildren: S } = T(i), { currency: ie } = T(n), { clearRoomSelection: ae } = i, { addToCart: E } = ce(), { hasChildSelection: D } = n, O = e, k = F(!1), A = u.value || 1, M = d.value || 0, P = te({}), I = N(() => {
|
|
6285
6285
|
function e(e, t) {
|
|
6286
|
-
return
|
|
6286
|
+
return k.value === !0 ? e.extraPrice > t.extraPrice ? -1 : 1 : e.extraPrice > t.extraPrice ? 1 : -1;
|
|
6287
6287
|
}
|
|
6288
|
-
let t =
|
|
6288
|
+
let t = O.roomGroups?.slice().sort(e) || [];
|
|
6289
6289
|
return t.forEach((e) => {
|
|
6290
|
-
|
|
6290
|
+
P[e.id] || (P[e.id] = {
|
|
6291
6291
|
units: 0,
|
|
6292
6292
|
configs: [{
|
|
6293
|
-
adults:
|
|
6294
|
-
children:
|
|
6293
|
+
adults: A,
|
|
6294
|
+
children: M
|
|
6295
6295
|
}]
|
|
6296
6296
|
});
|
|
6297
6297
|
}), t;
|
|
6298
6298
|
});
|
|
6299
|
-
function
|
|
6300
|
-
return
|
|
6299
|
+
function oe(e) {
|
|
6300
|
+
return I.value.find((t) => t.id === e);
|
|
6301
6301
|
}
|
|
6302
|
-
function
|
|
6303
|
-
let t =
|
|
6304
|
-
if (!t) return
|
|
6302
|
+
function ue(e) {
|
|
6303
|
+
let t = oe(e);
|
|
6304
|
+
if (!t) return A;
|
|
6305
6305
|
let n = t.otherPriceOptions?.reduce((e, t) => Math.max(e, t.includedAdults), 0) ?? 0;
|
|
6306
|
-
return Math.max(n,
|
|
6306
|
+
return Math.max(n, A);
|
|
6307
6307
|
}
|
|
6308
|
-
function
|
|
6309
|
-
let t =
|
|
6310
|
-
return !t || !t.otherPriceOptions ? 0 : t.otherPriceOptions.some((e) => e.extraChildPrice > 0) ? Math.max(
|
|
6308
|
+
function fe(e) {
|
|
6309
|
+
let t = oe(e);
|
|
6310
|
+
return !t || !t.otherPriceOptions ? 0 : t.otherPriceOptions.some((e) => e.extraChildPrice > 0) ? Math.max(M, 1) : 0;
|
|
6311
6311
|
}
|
|
6312
|
-
function
|
|
6313
|
-
let t =
|
|
6312
|
+
function pe(e) {
|
|
6313
|
+
let t = oe(e);
|
|
6314
6314
|
return t && t.availableRoomCount || 1;
|
|
6315
6315
|
}
|
|
6316
|
-
function
|
|
6317
|
-
let t =
|
|
6318
|
-
return t ? t.extraPrice +
|
|
6316
|
+
function me(e) {
|
|
6317
|
+
let t = oe(e);
|
|
6318
|
+
return t ? t.extraPrice + O.weekendFee : 0;
|
|
6319
6319
|
}
|
|
6320
|
-
ne(() => ({ ...
|
|
6321
|
-
Object.keys(
|
|
6322
|
-
let t =
|
|
6320
|
+
ne(() => ({ ...P }), () => {
|
|
6321
|
+
Object.keys(P).forEach((e) => {
|
|
6322
|
+
let t = P[Number(e)], n = t.units, r = t.configs.length;
|
|
6323
6323
|
if (n > r) for (let e = r; e < n; e++) t.configs.push({
|
|
6324
|
-
adults:
|
|
6325
|
-
children:
|
|
6324
|
+
adults: A,
|
|
6325
|
+
children: M
|
|
6326
6326
|
});
|
|
6327
6327
|
else n < r && t.configs.splice(n);
|
|
6328
6328
|
});
|
|
6329
6329
|
}, { deep: !0 });
|
|
6330
|
-
let
|
|
6331
|
-
JSON.stringify(
|
|
6330
|
+
let he = N(() => {
|
|
6331
|
+
JSON.stringify(P);
|
|
6332
6332
|
let e = {};
|
|
6333
|
-
return
|
|
6334
|
-
let n =
|
|
6333
|
+
return I.value.forEach((t) => {
|
|
6334
|
+
let n = P[t.id];
|
|
6335
6335
|
if (!n) {
|
|
6336
6336
|
e[t.id] = [];
|
|
6337
6337
|
return;
|
|
6338
6338
|
}
|
|
6339
|
-
e[t.id] = n.configs.map((e) =>
|
|
6340
|
-
if (e.adults === O && e.children === k) return t.extraPrice;
|
|
6341
|
-
let n = t.otherPriceOptions?.find((t) => t.includedAdults === e.adults), r = n?.extraChildPrice ?? t.otherPriceOptions?.[0]?.extraChildPrice ?? 0;
|
|
6342
|
-
return e.adults === O ? t.extraPrice + (e.children - k) * r : (n?.price ?? t.extraPrice) + e.children * r;
|
|
6343
|
-
});
|
|
6339
|
+
e[t.id] = n.configs.map((e) => de(t, e.adults, e.children, A, M));
|
|
6344
6340
|
}), e;
|
|
6345
6341
|
});
|
|
6346
|
-
function
|
|
6347
|
-
return
|
|
6342
|
+
function _e(e, t) {
|
|
6343
|
+
return he.value[e]?.[t] ?? 0;
|
|
6348
6344
|
}
|
|
6349
|
-
function
|
|
6345
|
+
function R() {
|
|
6350
6346
|
let e = 0;
|
|
6351
|
-
return
|
|
6352
|
-
let n =
|
|
6347
|
+
return I.value.forEach((t) => {
|
|
6348
|
+
let n = P[t.id];
|
|
6353
6349
|
if (!(!n || n.units === 0)) for (let r = 0; r < n.units; r++) {
|
|
6354
|
-
let n =
|
|
6355
|
-
e += n +
|
|
6350
|
+
let n = _e(t.id, r);
|
|
6351
|
+
e += n + O.weekendFee;
|
|
6356
6352
|
}
|
|
6357
6353
|
}), e;
|
|
6358
6354
|
}
|
|
6359
|
-
function
|
|
6360
|
-
return Object.values(
|
|
6355
|
+
function ve() {
|
|
6356
|
+
return Object.values(P).reduce((e, t) => e + t.units, 0);
|
|
6361
6357
|
}
|
|
6362
|
-
let
|
|
6363
|
-
let t =
|
|
6358
|
+
let ye = N(() => I.value.filter((e) => P[e.id]?.units > 0).map((e) => {
|
|
6359
|
+
let t = P[e.id], n = t.configs.slice(0, t.units).map((t, n) => ({
|
|
6364
6360
|
adults: t.adults,
|
|
6365
6361
|
children: t.children,
|
|
6366
|
-
price:
|
|
6362
|
+
price: _e(e.id, n) + O.weekendFee
|
|
6367
6363
|
}));
|
|
6368
6364
|
return {
|
|
6369
6365
|
id: e.id,
|
|
@@ -6372,28 +6368,28 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6372
6368
|
units: n
|
|
6373
6369
|
};
|
|
6374
6370
|
}));
|
|
6375
|
-
ne(
|
|
6371
|
+
ne(ye, () => {
|
|
6376
6372
|
ee(() => window.dispatchEvent(new Event("resize")));
|
|
6377
6373
|
});
|
|
6378
|
-
function
|
|
6379
|
-
if (!Object.values(
|
|
6380
|
-
|
|
6374
|
+
function be() {
|
|
6375
|
+
if (!Object.values(P).some((e) => e.units > 0)) return;
|
|
6376
|
+
ae();
|
|
6381
6377
|
let e = [], t = 0, n = 0;
|
|
6382
|
-
if (
|
|
6383
|
-
let i =
|
|
6378
|
+
if (I.value.forEach((r) => {
|
|
6379
|
+
let i = P[r.id];
|
|
6384
6380
|
if (!i || i.units === 0) return;
|
|
6385
|
-
let a = i.configs.slice(0, i.units);
|
|
6381
|
+
let a = i.configs.slice(0, i.units), o = {};
|
|
6386
6382
|
e.push({
|
|
6387
6383
|
roomGroupId: r.id,
|
|
6388
6384
|
unitConfigs: a.map((e) => ({
|
|
6389
6385
|
adults: e.adults,
|
|
6390
6386
|
children: e.children,
|
|
6391
|
-
addons:
|
|
6387
|
+
addons: o
|
|
6392
6388
|
}))
|
|
6393
|
-
}),
|
|
6389
|
+
}), h.value ||= r.id;
|
|
6394
6390
|
for (let e = 0; e < i.units; e++) {
|
|
6395
|
-
let t =
|
|
6396
|
-
|
|
6391
|
+
let t = _e(r.id, e);
|
|
6392
|
+
E({
|
|
6397
6393
|
id: r.id,
|
|
6398
6394
|
name: r.title,
|
|
6399
6395
|
value: t
|
|
@@ -6402,63 +6398,63 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6402
6398
|
a.forEach((e) => {
|
|
6403
6399
|
t += e.adults, n += e.children;
|
|
6404
6400
|
});
|
|
6405
|
-
}),
|
|
6406
|
-
|
|
6401
|
+
}), b.value = e, p.value = O.templateId, x.value = t, S.value = n, O.hideAddons === !1 && re.value === !1) {
|
|
6402
|
+
O.callback(1);
|
|
6407
6403
|
return;
|
|
6408
6404
|
}
|
|
6409
|
-
|
|
6405
|
+
O.callback(2);
|
|
6410
6406
|
}
|
|
6411
|
-
return (n, i) => (c(), o(
|
|
6407
|
+
return (n, i) => (c(), o(qe, {
|
|
6412
6408
|
title: e.title,
|
|
6413
6409
|
subtitle: _(t)("booking.availability.selectATemplateRoom")
|
|
6414
6410
|
}, {
|
|
6415
|
-
footer: j(() => [g("div",
|
|
6411
|
+
footer: j(() => [g("div", $, [ye.value.length > 0 ? (c(), f("div", fn, [(c(!0), f(y, null, m(ye.value, (e) => (c(), f("div", {
|
|
6416
6412
|
key: e.id,
|
|
6417
6413
|
class: "konnectio-template-selection-item"
|
|
6418
|
-
}, [g("div",
|
|
6414
|
+
}, [g("div", pn, [g("span", mn, w(e.title), 1), g("span", hn, w(_(z)(e.totalPrice, _(ie))), 1)]), g("div", gn, [(c(!0), f(y, null, m(e.units, (e, n) => (c(), f("span", {
|
|
6419
6415
|
key: n,
|
|
6420
6416
|
class: "konnectio-template-selection-unit"
|
|
6421
6417
|
}, [
|
|
6422
6418
|
r(w(_(t)("booking.reservation.room")) + " " + w(n + 1) + ": " + w(e.adults) + " " + w(_(t)("availability.adults")) + " ", 1),
|
|
6423
6419
|
e.children > 0 ? (c(), f(y, { key: 0 }, [r(" , " + w(e.children) + " " + w(_(t)("availability.children")), 1)], 64)) : a("", !0),
|
|
6424
|
-
r(" · " + w(_(z)(e.price, _(
|
|
6425
|
-
]))), 128))])]))), 128))])) : a("", !0), C(
|
|
6426
|
-
onClickEvent:
|
|
6427
|
-
label: `${
|
|
6428
|
-
disabled:
|
|
6420
|
+
r(" · " + w(_(z)(e.price, _(ie))), 1)
|
|
6421
|
+
]))), 128))])]))), 128))])) : a("", !0), C(V, {
|
|
6422
|
+
onClickEvent: be,
|
|
6423
|
+
label: `${ve() > 1 ? _(t)("booking.availability.selectTheseRooms") : _(t)("booking.availability.selectThisRoom")} (${_(z)(R(), _(ie))})`,
|
|
6424
|
+
disabled: ve() === 0,
|
|
6429
6425
|
"full-width": ""
|
|
6430
6426
|
}, null, 8, ["label", "disabled"])])]),
|
|
6431
|
-
default: j(() => [g("div",
|
|
6427
|
+
default: j(() => [g("div", sn, [g("div", cn, [(c(!0), f(y, null, m(I.value, (e) => (c(), o(ze, {
|
|
6432
6428
|
key: e.id,
|
|
6433
6429
|
type: "hotel",
|
|
6434
6430
|
"listing-id": e.id,
|
|
6435
6431
|
name: e.title,
|
|
6436
6432
|
description: e.description,
|
|
6437
6433
|
facilities: e.facilities,
|
|
6438
|
-
"prices-from":
|
|
6434
|
+
"prices-from": me(e.id),
|
|
6439
6435
|
gallery: e.images,
|
|
6440
6436
|
"includes-breakfast": !1,
|
|
6441
6437
|
"hide-info-button": !0
|
|
6442
6438
|
}, {
|
|
6443
|
-
action: j(() => [g("div",
|
|
6444
|
-
modelValue:
|
|
6445
|
-
"onUpdate:modelValue": (t) =>
|
|
6439
|
+
action: j(() => [g("div", ln, [g("div", un, [C(Oe, {
|
|
6440
|
+
modelValue: P[e.id].units,
|
|
6441
|
+
"onUpdate:modelValue": (t) => P[e.id].units = t,
|
|
6446
6442
|
label: _(t)("booking.availability.units"),
|
|
6447
6443
|
icon: "house",
|
|
6448
6444
|
"icon-type": "fas",
|
|
6449
6445
|
"icon-placement": "label",
|
|
6450
6446
|
"min-value": 0,
|
|
6451
|
-
"max-value":
|
|
6447
|
+
"max-value": pe(e.id),
|
|
6452
6448
|
controls: !0
|
|
6453
6449
|
}, null, 8, [
|
|
6454
6450
|
"modelValue",
|
|
6455
6451
|
"onUpdate:modelValue",
|
|
6456
6452
|
"label",
|
|
6457
6453
|
"max-value"
|
|
6458
|
-
])]), (c(!0), f(y, null, m(
|
|
6454
|
+
])]), (c(!0), f(y, null, m(P[e.id].configs, (n, r) => (c(), f("div", {
|
|
6459
6455
|
key: r,
|
|
6460
6456
|
class: "konnectio-template-room-unit-config"
|
|
6461
|
-
}, [g("div",
|
|
6457
|
+
}, [g("div", dn, [g("span", null, w(_(t)("booking.reservation.room")) + " " + w(r + 1), 1), g("span", null, w(_(z)(_e(e.id, r), _(ie))), 1)]), g("div", { class: s(["konnectio-template-room-guests", { "only-adult-guests": !_(D)(_(l)) }]) }, [C(Oe, {
|
|
6462
6458
|
modelValue: n.adults,
|
|
6463
6459
|
"onUpdate:modelValue": (e) => n.adults = e,
|
|
6464
6460
|
label: _(t)("availability.adults"),
|
|
@@ -6467,7 +6463,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6467
6463
|
"icon-type": "fas",
|
|
6468
6464
|
"icon-placement": "label",
|
|
6469
6465
|
"min-value": 1,
|
|
6470
|
-
"max-value":
|
|
6466
|
+
"max-value": ue(e.id),
|
|
6471
6467
|
controls: !0
|
|
6472
6468
|
}, null, 8, [
|
|
6473
6469
|
"modelValue",
|
|
@@ -6475,7 +6471,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6475
6471
|
"label",
|
|
6476
6472
|
"description",
|
|
6477
6473
|
"max-value"
|
|
6478
|
-
]), _(
|
|
6474
|
+
]), _(D)(_(l)) ? (c(), o(Oe, {
|
|
6479
6475
|
key: 0,
|
|
6480
6476
|
modelValue: n.children,
|
|
6481
6477
|
"onUpdate:modelValue": (e) => n.children = e,
|
|
@@ -6485,7 +6481,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6485
6481
|
"icon-type": "fas",
|
|
6486
6482
|
"icon-placement": "label",
|
|
6487
6483
|
"min-value": 0,
|
|
6488
|
-
"max-value":
|
|
6484
|
+
"max-value": fe(e.id),
|
|
6489
6485
|
controls: !0
|
|
6490
6486
|
}, null, 8, [
|
|
6491
6487
|
"modelValue",
|
|
@@ -6506,7 +6502,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6506
6502
|
_: 1
|
|
6507
6503
|
}, 8, ["title", "subtitle"]));
|
|
6508
6504
|
}
|
|
6509
|
-
}), [["__scopeId", "data-v-
|
|
6505
|
+
}), [["__scopeId", "data-v-b08eb215"]]), vn = { class: "konnectio-template-select-package" }, yn = /* @__PURE__ */ d({
|
|
6510
6506
|
__name: "Template",
|
|
6511
6507
|
props: {
|
|
6512
6508
|
id: {},
|
|
@@ -6519,7 +6515,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6519
6515
|
callback: { type: Function }
|
|
6520
6516
|
},
|
|
6521
6517
|
setup(e) {
|
|
6522
|
-
let { t } = v(), n = e, { isSearchOutdated: r } = T(
|
|
6518
|
+
let { t } = v(), n = e, { isSearchOutdated: r } = T(ge()), i = N(() => n.roomGroups.reduce((e, t) => e < t.extraPrice ? e : t.extraPrice, Infinity) + n.weekendFee), a = F(!1);
|
|
6523
6519
|
function s() {
|
|
6524
6520
|
a.value = !0;
|
|
6525
6521
|
}
|
|
@@ -6532,18 +6528,18 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6532
6528
|
name: e.name,
|
|
6533
6529
|
description: e.description,
|
|
6534
6530
|
gallery: e.images,
|
|
6535
|
-
layout: _(
|
|
6531
|
+
layout: _(Se).Template,
|
|
6536
6532
|
"includes-breakfast": !1,
|
|
6537
6533
|
"hide-info-button": !1,
|
|
6538
6534
|
"prices-from": i.value
|
|
6539
6535
|
}, {
|
|
6540
|
-
action: j(() => [g("div",
|
|
6536
|
+
action: j(() => [g("div", vn, [C(V, {
|
|
6541
6537
|
onClickEvent: s,
|
|
6542
6538
|
label: _(t)("booking.availability.selectPackage"),
|
|
6543
6539
|
"full-width": "",
|
|
6544
6540
|
disabled: _(r)
|
|
6545
6541
|
}, null, 8, ["label", "disabled"])])]),
|
|
6546
|
-
default: j(() => [C(
|
|
6542
|
+
default: j(() => [C(_n, {
|
|
6547
6543
|
modelValue: a.value,
|
|
6548
6544
|
"onUpdate:modelValue": u[0] ||= (e) => a.value = e,
|
|
6549
6545
|
title: e.name,
|
|
@@ -6570,7 +6566,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6570
6566
|
"prices-from"
|
|
6571
6567
|
]));
|
|
6572
6568
|
}
|
|
6573
|
-
}),
|
|
6569
|
+
}), bn = { class: "konnectio-special-offer-availability" }, xn = { class: "konnectio-special-offer-availability-button" }, Sn = /*#__PURE__*/ R(/* @__PURE__ */ d({
|
|
6574
6570
|
__name: "SpecialOffer",
|
|
6575
6571
|
props: {
|
|
6576
6572
|
id: {},
|
|
@@ -6583,7 +6579,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6583
6579
|
roomGroups: {}
|
|
6584
6580
|
},
|
|
6585
6581
|
setup(e) {
|
|
6586
|
-
let { t } = v(), { updateDates: n } = se(), { display: r } =
|
|
6582
|
+
let { t } = v(), { updateDates: n } = se(), { display: r } = he(), i = e, a = F([]), s = N(() => _e(i.fromDate, i.toDate) === 1);
|
|
6587
6583
|
function u() {
|
|
6588
6584
|
a.value.length > 0 ? n(a.value[0], a.value[1]) : r({
|
|
6589
6585
|
message: t("alert.error.selectDates"),
|
|
@@ -6598,14 +6594,14 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6598
6594
|
name: e.name,
|
|
6599
6595
|
description: e.description,
|
|
6600
6596
|
gallery: e.images,
|
|
6601
|
-
layout: _(
|
|
6597
|
+
layout: _(Se).Template,
|
|
6602
6598
|
"includes-breakfast": !1,
|
|
6603
6599
|
"hide-info-button": !1,
|
|
6604
6600
|
"to-date": e.toDate,
|
|
6605
6601
|
"from-date": e.fromDate,
|
|
6606
6602
|
"disable-deep-link": !0
|
|
6607
6603
|
}, {
|
|
6608
|
-
action: j(() => [g("div",
|
|
6604
|
+
action: j(() => [g("div", bn, [C(je, {
|
|
6609
6605
|
modelValue: a.value,
|
|
6610
6606
|
"onUpdate:modelValue": r[0] ||= (e) => a.value = e,
|
|
6611
6607
|
label: _(t)("availability.checkInOut"),
|
|
@@ -6626,7 +6622,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6626
6622
|
"min-date",
|
|
6627
6623
|
"max-date",
|
|
6628
6624
|
"readonly"
|
|
6629
|
-
]), g("div",
|
|
6625
|
+
]), g("div", xn, [C(V, {
|
|
6630
6626
|
label: _(t)("availability.buttonLabel"),
|
|
6631
6627
|
onClick: M(u, ["prevent"])
|
|
6632
6628
|
}, null, 8, ["label"])])])]),
|
|
@@ -6641,7 +6637,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6641
6637
|
"from-date"
|
|
6642
6638
|
]));
|
|
6643
6639
|
}
|
|
6644
|
-
}), [["__scopeId", "data-v-8f8a4dff"]]),
|
|
6640
|
+
}), [["__scopeId", "data-v-8f8a4dff"]]), Cn = /* @__PURE__ */ d({
|
|
6645
6641
|
__name: "TimeField",
|
|
6646
6642
|
props: {
|
|
6647
6643
|
modelValue: {},
|
|
@@ -6695,10 +6691,10 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6695
6691
|
"max-time"
|
|
6696
6692
|
]));
|
|
6697
6693
|
}
|
|
6698
|
-
}),
|
|
6694
|
+
}), wn = { style: {
|
|
6699
6695
|
display: "flex",
|
|
6700
6696
|
"align-items": "baseline"
|
|
6701
|
-
} },
|
|
6697
|
+
} }, Tn = /*#__PURE__*/ R(/* @__PURE__ */ d({
|
|
6702
6698
|
__name: "CountryField",
|
|
6703
6699
|
props: {
|
|
6704
6700
|
modelValue: {},
|
|
@@ -6724,7 +6720,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6724
6720
|
get: () => i.modelValue,
|
|
6725
6721
|
set: (e) => a(e)
|
|
6726
6722
|
});
|
|
6727
|
-
return (t, r) => (c(), o(
|
|
6723
|
+
return (t, r) => (c(), o(Ae, {
|
|
6728
6724
|
modelValue: l.value,
|
|
6729
6725
|
"onUpdate:modelValue": r[0] ||= (e) => l.value = e,
|
|
6730
6726
|
label: e.label,
|
|
@@ -6735,7 +6731,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6735
6731
|
required: e.required
|
|
6736
6732
|
}, {
|
|
6737
6733
|
option: j(({ data: e }) => [g("i", { class: s(["konnectio-flag-icon", e.iso]) }, null, 2), g("span", null, w(e.name), 1)]),
|
|
6738
|
-
"selected-option": j(({ data: e }) => [g("div",
|
|
6734
|
+
"selected-option": j(({ data: e }) => [g("div", wn, [g("i", { class: s(["konnectio-flag-icon", e.iso]) }, null, 2), g("span", null, w(e.name), 1)])]),
|
|
6739
6735
|
_: 1
|
|
6740
6736
|
}, 8, [
|
|
6741
6737
|
"modelValue",
|
|
@@ -6745,7 +6741,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6745
6741
|
"required"
|
|
6746
6742
|
]));
|
|
6747
6743
|
}
|
|
6748
|
-
}), [["__scopeId", "data-v-13aea6ce"]]),
|
|
6744
|
+
}), [["__scopeId", "data-v-13aea6ce"]]), En = /*#__PURE__*/ R(/* @__PURE__ */ d({
|
|
6749
6745
|
__name: "NameField",
|
|
6750
6746
|
props: {
|
|
6751
6747
|
modelValue: {},
|
|
@@ -6781,7 +6777,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6781
6777
|
},
|
|
6782
6778
|
emits: ["update:modelValue", "update:title"],
|
|
6783
6779
|
setup(e, { emit: t }) {
|
|
6784
|
-
let n = e, r = t, i = n.id ||
|
|
6780
|
+
let n = e, r = t, i = n.id || pe(), u = F(""), d = F(2);
|
|
6785
6781
|
function f() {
|
|
6786
6782
|
r("update:modelValue", u.value);
|
|
6787
6783
|
}
|
|
@@ -6791,7 +6787,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6791
6787
|
let { t: p } = v();
|
|
6792
6788
|
return l(() => {
|
|
6793
6789
|
n.modelValue && (u.value = n.modelValue), n.title && (d.value = n.title);
|
|
6794
|
-
}), (t, n) => (c(), o(
|
|
6790
|
+
}), (t, n) => (c(), o(be, {
|
|
6795
6791
|
label: e.label,
|
|
6796
6792
|
id: _(i),
|
|
6797
6793
|
required: e.required,
|
|
@@ -6799,11 +6795,11 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6799
6795
|
readonly: e.readonly,
|
|
6800
6796
|
limit: e.limit
|
|
6801
6797
|
}, {
|
|
6802
|
-
default: j(() => [g("div", { class: s(["konnectio-name-input", { "no-title": e.excludeTitle }]) }, [e.excludeTitle ? a("", !0) : (c(), o(
|
|
6798
|
+
default: j(() => [g("div", { class: s(["konnectio-name-input", { "no-title": e.excludeTitle }]) }, [e.excludeTitle ? a("", !0) : (c(), o(Ae, {
|
|
6803
6799
|
key: 0,
|
|
6804
6800
|
modelValue: d.value,
|
|
6805
6801
|
"onUpdate:modelValue": n[0] ||= (e) => d.value = e,
|
|
6806
|
-
id: _(
|
|
6802
|
+
id: _(pe)(),
|
|
6807
6803
|
icon: e.icon,
|
|
6808
6804
|
"icon-color": e.iconColor,
|
|
6809
6805
|
"icon-type": e.iconType,
|
|
@@ -6840,7 +6836,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6840
6836
|
"icon-type",
|
|
6841
6837
|
"options",
|
|
6842
6838
|
"readonly"
|
|
6843
|
-
])), C(
|
|
6839
|
+
])), C(Ee, {
|
|
6844
6840
|
modelValue: u.value,
|
|
6845
6841
|
"onUpdate:modelValue": n[1] ||= (e) => u.value = e,
|
|
6846
6842
|
type: "text",
|
|
@@ -6875,67 +6871,64 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6875
6871
|
"limit"
|
|
6876
6872
|
]));
|
|
6877
6873
|
}
|
|
6878
|
-
}), [["__scopeId", "data-v-4ad63bd6"]]),
|
|
6874
|
+
}), [["__scopeId", "data-v-4ad63bd6"]]), Dn = { class: "hotel-skeleton" }, On = { class: "hotel-skeleton-content" }, kn = { class: "hotel-skeleton-sidebar" }, An = /*#__PURE__*/ R(/* @__PURE__ */ d({
|
|
6879
6875
|
__name: "HotelSkeleton",
|
|
6880
6876
|
setup(e) {
|
|
6881
|
-
return (e, t) => (c(), f("div",
|
|
6877
|
+
return (e, t) => (c(), f("div", Dn, [g("div", On, [C(Me, { hotel: "" }), C(Be)]), g("div", kn, [C(Ve)])]));
|
|
6882
6878
|
}
|
|
6883
|
-
}), [["__scopeId", "data-v-2ff36444"]]),
|
|
6879
|
+
}), [["__scopeId", "data-v-2ff36444"]]), jn = { id: "booking-availability-container" }, Mn = { id: "booking-availability-controls" }, Nn = {
|
|
6884
6880
|
key: 0,
|
|
6885
6881
|
class: "konnectio-panel konnectio-filter-notice"
|
|
6886
|
-
},
|
|
6882
|
+
}, Pn = ["innerHTML"], Fn = {
|
|
6887
6883
|
key: 1,
|
|
6888
6884
|
class: "konnectio-panel konnectio-filter-notice"
|
|
6889
|
-
},
|
|
6885
|
+
}, In = ["innerHTML"], Ln = {
|
|
6890
6886
|
key: 2,
|
|
6891
6887
|
class: "konnectio-panel konnectio-filter-notice"
|
|
6892
|
-
},
|
|
6888
|
+
}, Rn = { key: 4 }, zn = { key: 0 }, Bn = {
|
|
6893
6889
|
key: 0,
|
|
6894
6890
|
id: "booking-availability-packages"
|
|
6895
|
-
},
|
|
6891
|
+
}, Vn = {
|
|
6896
6892
|
key: 0,
|
|
6897
6893
|
class: "konnectio-hotel-availability-title"
|
|
6898
|
-
},
|
|
6894
|
+
}, Hn = { id: "booking-availability-packages-wrapper" }, Un = { key: 1 }, Wn = {
|
|
6899
6895
|
key: 0,
|
|
6900
6896
|
class: "konnectio-hotel-availability-title"
|
|
6901
|
-
},
|
|
6897
|
+
}, Gn = { id: "konnectio-listings" }, Kn = {
|
|
6902
6898
|
key: 0,
|
|
6903
6899
|
class: "konnectio-hotel-availability-title"
|
|
6904
|
-
},
|
|
6900
|
+
}, qn = { id: "konnectio-listings" }, Jn = {
|
|
6905
6901
|
key: 0,
|
|
6906
6902
|
id: "booking-availability-packages"
|
|
6907
|
-
},
|
|
6903
|
+
}, Yn = { class: "konnectio-hotel-availability-title" }, Xn = { id: "booking-availability-packages-wrapper" }, Zn = {
|
|
6908
6904
|
key: 3,
|
|
6909
6905
|
id: "booking-availability-no-listings",
|
|
6910
6906
|
class: "konnectio-panel"
|
|
6911
|
-
},
|
|
6907
|
+
}, Qn = {
|
|
6912
6908
|
key: 1,
|
|
6913
6909
|
id: "reservation-availability-next-dates"
|
|
6914
|
-
},
|
|
6910
|
+
}, $n = { class: "konnectio-panel konnectio-filter-notice" }, er = ["innerHTML"], tr = { class: "konnectio-hotel-availability-title" }, nr = { class: "reservation-special-offers-grid" }, rr = ["title"], ir = { key: 0 }, ar = {
|
|
6915
6911
|
key: 2,
|
|
6916
6912
|
id: "booking-availability-no-listings",
|
|
6917
6913
|
class: "konnectio-panel"
|
|
6918
|
-
},
|
|
6914
|
+
}, or = {
|
|
6919
6915
|
key: 5,
|
|
6920
6916
|
class: "konnectio-panel"
|
|
6921
|
-
},
|
|
6917
|
+
}, sr = {
|
|
6922
6918
|
key: 6,
|
|
6923
6919
|
class: "konnectio-listing-loading"
|
|
6924
|
-
},
|
|
6920
|
+
}, cr = { class: "konnectio-hotel-availability-warning" }, lr = { class: "konnectio-hotel-availability-warning" }, ur = { class: "konnectio-panel" }, dr = {
|
|
6925
6921
|
key: 0,
|
|
6926
6922
|
class: "konnectio-panel konnectio-filter-notice konnectio-top-message"
|
|
6927
|
-
},
|
|
6923
|
+
}, fr = ["innerHTML"], pr = {
|
|
6928
6924
|
key: 0,
|
|
6929
6925
|
id: "konnectio-hotel-addons"
|
|
6930
|
-
},
|
|
6926
|
+
}, mr = { key: 0 }, hr = { class: "konnectio-event-addons-price" }, gr = { key: 1 }, _r = {
|
|
6931
6927
|
key: 0,
|
|
6932
6928
|
class: "konnectio-table-addons-image"
|
|
6933
|
-
},
|
|
6929
|
+
}, vr = ["innerHTML"], yr = { class: "konnectio-table-addons-option" }, br = {
|
|
6934
6930
|
key: 1,
|
|
6935
6931
|
id: "konnectio-hotel-addons"
|
|
6936
|
-
}, br = {
|
|
6937
|
-
key: 0,
|
|
6938
|
-
class: "konnectio-hotel-reservation-room-name"
|
|
6939
6932
|
}, xr = {
|
|
6940
6933
|
key: 0,
|
|
6941
6934
|
class: "konnectio-table-addons-image"
|
|
@@ -6953,7 +6946,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6953
6946
|
__name: "Hotel",
|
|
6954
6947
|
props: {
|
|
6955
6948
|
accessToken: {},
|
|
6956
|
-
headerLayout: { default:
|
|
6949
|
+
headerLayout: { default: oe.Minimal },
|
|
6957
6950
|
onlyShow: { default: "everything" },
|
|
6958
6951
|
hideAddons: { default: "no" },
|
|
6959
6952
|
disableDefaultLocation: { default: "no" },
|
|
@@ -6970,7 +6963,21 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6970
6963
|
styling: {}
|
|
6971
6964
|
},
|
|
6972
6965
|
setup(e) {
|
|
6973
|
-
let t = u(() => import("./_-
|
|
6966
|
+
let t = u(() => import("./_-D04cczMr.js").then((e) => e.n)), n = e, { t: i } = v(), { currentLocation: l, templateID: d, templateRoomSelections: p, templateRoomUnits: h, countries: ee, areListingsLoading: te, isPaymentLoading: ne, isReservationFormFilled: S, travelingFor: ie, arrivalTime: ae, departureTime: E, name: D, nameTitle: O, email: k, phone: A, firmName: M, postal: F, city: I, address: oe, country: ue, remark: de, allergies: pe, roomSelect: _e, roomDisplay: R, hasValidRoomSelection: be, availabilityData: B, selectionHasNoAddons: Se, isAvailabilityDataAvailable: Ae, getSelectedPackageRooms: je, selectedPackage: Me, isSearchOutdated: Pe, isTemplateReservation: Fe, newsMails: Ie, adultsMismatch: ze, childrenMismatch: Be, totalAdults: Ve, totalChildren: We, hasGuestDiscountId: qe, hasGuestDiscountCode: Ye, guestDiscountId: Xe, guestDiscountName: Ze, guestDiscountCode: Qe, hasMemberCards: $e, memberCardList: et, selectedMemberCard: tt, memberCardControlNumber: nt, memberCardNumber: rt, selectedMemberCardObject: it, selectedMemberCardData: at, discountCode: ot, discountPayload: st } = T(ge()), { isHostedCheckoutActive: ct } = T(Te()), { adults: lt, children: ut, location: dt, arrivalDate: ft, departureDate: pt, hasHotelLocations: mt } = T(se()), { isValidHotelId: ht, updateDates: gt } = se(), { currency: W, enableTracking: G, disableNamePrefix: vt, disableTravelingFor: yt, disableTravelingForBleasure: bt, disableCompanyField: xt, hasPaymentGateway: K, maxAdultAmount: q, maxChildAmount: St, defaultAdultAmount: Ct, defaultChildAmount: wt, disableNewsletterSignup: Tt, hasActiveIdFilter: Et, hotelSettings: Dt } = T(le()), { hasArrivalDepartureInputs: J, hasUserArrivalSelection: Ot, hasUserDepartureSelection: kt, earliestArrivalTime: At, latestArrivalTime: jt, earliestDepartureTime: Mt, latestDepartureTime: Nt, setActiveIdFilter: Pt, clearActiveIdFilter: Ft } = le(), { beginCheckout: Lt } = ce(), { display: Rt } = he(), { createReservation: zt, fetchMetadata: Vt, fetchAvailabilityData: Y, filterAddons: Ht, hasAvailableRoomAddons: Ut, checkGuestDiscount: Wt, setGuestDiscountCode: Gt, validateMemberCard: Kt, onOverviewReset: qt, validateDiscountCode: Jt } = ge(), Yt = N(() => n.sortOrder === "desc");
|
|
6967
|
+
function Z(e) {
|
|
6968
|
+
let t = [];
|
|
6969
|
+
return e?.forEach((e) => {
|
|
6970
|
+
let n = t.find((t) => t.configIdx === e.configIdx);
|
|
6971
|
+
n ? (n.adultsCount += e.adultsCount, n.childrenCount += e.childrenCount) : t.push({ ...e });
|
|
6972
|
+
}), t;
|
|
6973
|
+
}
|
|
6974
|
+
let Xt = N(() => {
|
|
6975
|
+
let e = [];
|
|
6976
|
+
return h.value.forEach((t) => {
|
|
6977
|
+
let n = e.find((e) => e.roomGroupId === t.roomGroupId);
|
|
6978
|
+
n ? (n.adults += t.adults, n.children += t.children) : e.push({ ...t });
|
|
6979
|
+
}), e;
|
|
6980
|
+
}), Zt = N(() => [
|
|
6974
6981
|
{
|
|
6975
6982
|
id: "availability",
|
|
6976
6983
|
label: i("booking.availability.title"),
|
|
@@ -6995,7 +7002,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6995
7002
|
label: i("booking.confirmation.title"),
|
|
6996
7003
|
icon: "calendar-check"
|
|
6997
7004
|
}
|
|
6998
|
-
]),
|
|
7005
|
+
]), Qt = N(() => {
|
|
6999
7006
|
let e = [{
|
|
7000
7007
|
label: i("booking.reservation.business"),
|
|
7001
7008
|
value: "Business"
|
|
@@ -7003,108 +7010,108 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7003
7010
|
label: i("booking.reservation.pleasure"),
|
|
7004
7011
|
value: "Pleasure"
|
|
7005
7012
|
}];
|
|
7006
|
-
return
|
|
7013
|
+
return bt.value || e.push({
|
|
7007
7014
|
label: i("booking.reservation.bleasure"),
|
|
7008
7015
|
value: "Bleasure"
|
|
7009
7016
|
}), e;
|
|
7010
|
-
}),
|
|
7017
|
+
}), $t = N(() => {
|
|
7011
7018
|
let e = B.value.roomGroups.slice();
|
|
7012
7019
|
function t(e, t) {
|
|
7013
|
-
return
|
|
7020
|
+
return Yt.value === !0 ? e.pricesFrom > t.pricesFrom ? -1 : 1 : e.pricesFrom > t.pricesFrom ? 1 : -1;
|
|
7014
7021
|
}
|
|
7015
7022
|
return n.sortBy === "price" && (e = e.sort(t)), Object.groupBy(e, (e) => e.roomList.some((e) => e.mapImageX && e.mapImageY) ? "camping" : "rooms");
|
|
7016
7023
|
});
|
|
7017
|
-
function
|
|
7024
|
+
function en(e) {
|
|
7018
7025
|
return (e.templateRoomGroups.length > 0 ? Math.min(...e.templateRoomGroups.map((e) => e.totalPrice)) : 0) + e.weekendFee;
|
|
7019
7026
|
}
|
|
7020
|
-
let
|
|
7027
|
+
let tn = N(() => {
|
|
7021
7028
|
let e = B.value.templates.slice();
|
|
7022
7029
|
return n.sortBy === "price" && e.sort((e, t) => {
|
|
7023
|
-
let n =
|
|
7024
|
-
return
|
|
7030
|
+
let n = en(e), r = en(t);
|
|
7031
|
+
return Yt.value ? r - n : n - r;
|
|
7025
7032
|
}), e;
|
|
7026
|
-
}),
|
|
7033
|
+
}), nn = N(() => {
|
|
7027
7034
|
let e = B.value.specialTemplates.slice();
|
|
7028
7035
|
return n.sortBy === "price" && e.sort((e, t) => {
|
|
7029
|
-
let n =
|
|
7030
|
-
return
|
|
7036
|
+
let n = en(e), r = en(t);
|
|
7037
|
+
return Yt.value ? r - n : n - r;
|
|
7031
7038
|
}), e;
|
|
7032
|
-
}),
|
|
7033
|
-
function
|
|
7039
|
+
}), rn = N(() => n.hideAddons === "yes" || Fe.value && n.hideAddons === "packages" || !Fe.value && n.hideAddons === "rooms");
|
|
7040
|
+
function Q(e) {
|
|
7034
7041
|
let t = $.discount;
|
|
7035
|
-
t ? (
|
|
7042
|
+
t ? (ot.value = t, Jt()) : Ye.value && !st.value && (ot.value = Qe.value, Jt()), e();
|
|
7036
7043
|
}
|
|
7037
|
-
function
|
|
7038
|
-
|
|
7044
|
+
function an(e) {
|
|
7045
|
+
rn.value || Se.value ? e(2) : e();
|
|
7039
7046
|
}
|
|
7040
|
-
async function
|
|
7041
|
-
await
|
|
7047
|
+
async function sn(e, t) {
|
|
7048
|
+
await zt(e, t);
|
|
7042
7049
|
}
|
|
7043
|
-
function
|
|
7044
|
-
if ((
|
|
7045
|
-
|
|
7050
|
+
function cn() {
|
|
7051
|
+
if ((dt.value === void 0 || isNaN(dt.value)) && mt.value) {
|
|
7052
|
+
Rt({
|
|
7046
7053
|
message: i("alert.error.selectHotelId"),
|
|
7047
7054
|
type: "error"
|
|
7048
7055
|
});
|
|
7049
7056
|
return;
|
|
7050
7057
|
}
|
|
7051
|
-
|
|
7058
|
+
Y();
|
|
7052
7059
|
}
|
|
7053
|
-
function
|
|
7054
|
-
let e =
|
|
7055
|
-
|
|
7060
|
+
function ln() {
|
|
7061
|
+
let e = Ce("history", { removeNullishValues: !0 });
|
|
7062
|
+
Ft(), e.id = void 0, Y();
|
|
7056
7063
|
}
|
|
7057
|
-
function
|
|
7058
|
-
|
|
7064
|
+
function un(e) {
|
|
7065
|
+
G.value && Lt(), Ye.value && !st.value && (ot.value = Qe.value, Jt()), rn.value || Se.value ? e(2) : e();
|
|
7059
7066
|
}
|
|
7060
|
-
function
|
|
7061
|
-
let e =
|
|
7062
|
-
n.forceArrivalTime && n.forceDepartureTime && e !== void 0 &&
|
|
7067
|
+
function dn() {
|
|
7068
|
+
let e = dt.value;
|
|
7069
|
+
n.forceArrivalTime && n.forceDepartureTime && e !== void 0 && Dt.value[e] && (Dt.value[e].disableArrivalUserSelection = !0, n.forceArrivalTime && (Dt.value[e].arrivalDefault = n.forceArrivalTime), n.forceDepartureTime && (Dt.value[e].departureDefault = n.forceDepartureTime));
|
|
7063
7070
|
}
|
|
7064
|
-
let $ =
|
|
7065
|
-
async function
|
|
7066
|
-
|
|
7071
|
+
let $ = Ce("history", { removeNullishValues: !0 });
|
|
7072
|
+
async function fn() {
|
|
7073
|
+
dn();
|
|
7067
7074
|
let e = parseInt($.a), t = parseInt($.c), r = parseInt($.hid), a = parseInt($.n), o = $.ci, s = $.co, c = $.id, u = parseInt($.gid), d = $.discount, f = !1;
|
|
7068
|
-
if (isNaN(e) || (e >
|
|
7075
|
+
if (isNaN(e) || (e > q.value ? lt.value = q.value : lt.value = e, lt.value === Ct.value && ($.a = void 0)), isNaN(t) || (t > St.value ? ut.value = St.value : ut.value = t, ut.value === wt.value && ($.c = void 0)), isNaN(a) || a > 0 && ($.n = void 0), isNaN(r) || (ht(r) ? (dt.value = r, f = !0) : ($.hid = void 0, Rt({
|
|
7069
7076
|
message: i("alert.error.hotelIdNotFound"),
|
|
7070
7077
|
type: "error"
|
|
7071
|
-
}))), o && s) if (
|
|
7078
|
+
}))), o && s) if (ye(o) && ye(s)) {
|
|
7072
7079
|
let e = new Date(new Date(o).setHours(12, 0, 0, 0)), t = new Date(new Date(s).setHours(12, 0, 0, 0));
|
|
7073
|
-
e <= t ? (
|
|
7080
|
+
e <= t ? (ft.value = e, pt.value = t) : ($.ci = void 0, $.co = void 0, Rt({
|
|
7074
7081
|
message: i("alert.error.invalidDateRange"),
|
|
7075
7082
|
type: "error"
|
|
7076
7083
|
}));
|
|
7077
|
-
} else
|
|
7084
|
+
} else Rt({
|
|
7078
7085
|
message: i("alert.error.wrongDateFormat"),
|
|
7079
7086
|
type: "error"
|
|
7080
7087
|
});
|
|
7081
|
-
if (c &&
|
|
7082
|
-
await
|
|
7088
|
+
if (c && Pt(c), u) {
|
|
7089
|
+
await Wt(u) || delete $.gid;
|
|
7083
7090
|
return;
|
|
7084
7091
|
}
|
|
7085
|
-
d &&
|
|
7092
|
+
d && Gt(d), n.disableDefaultLocation === "yes" && f === !1 ? (dt.value = void 0, l.value = NaN) : Y();
|
|
7086
7093
|
}
|
|
7087
|
-
return (n, u) => (c(), o(
|
|
7088
|
-
default: j(() => [(c(), o(P, { onResolve:
|
|
7094
|
+
return (n, u) => (c(), o(xe, { styling: e.styling }, {
|
|
7095
|
+
default: j(() => [(c(), o(P, { onResolve: fn }, {
|
|
7089
7096
|
default: j(() => [C(_(t), {
|
|
7090
7097
|
id: "konnectio-hotel-module",
|
|
7091
7098
|
"access-token": e.accessToken,
|
|
7092
|
-
callback: _(
|
|
7099
|
+
callback: _(Vt)
|
|
7093
7100
|
}, {
|
|
7094
7101
|
default: j(() => [
|
|
7095
|
-
b(C(Bt, { onCallback:
|
|
7096
|
-
b(C(
|
|
7102
|
+
b(C(Bt, { onCallback: fn }, null, 512), [[re, e.requireGuestDiscountId === "yes" && !_(qe)]]),
|
|
7103
|
+
b(C(X, null, null, 512), [[re, e.requireDiscountCode === "yes" && !_(Ye)]]),
|
|
7097
7104
|
b(C(Ue, {
|
|
7098
7105
|
layout: e.headerLayout,
|
|
7099
|
-
steps:
|
|
7100
|
-
onReset: _(
|
|
7106
|
+
steps: Zt.value,
|
|
7107
|
+
onReset: _(qt)
|
|
7101
7108
|
}, {
|
|
7102
7109
|
availability: j(({ next: t }) => [C(It, {
|
|
7103
7110
|
"show-remove-room": !0,
|
|
7104
7111
|
"availability-discount": ""
|
|
7105
7112
|
}, {
|
|
7106
|
-
form: j(() => [g("div",
|
|
7107
|
-
g("div",
|
|
7113
|
+
form: j(() => [g("div", jn, [
|
|
7114
|
+
g("div", Mn, [C(Ne, {
|
|
7108
7115
|
booking: !0,
|
|
7109
7116
|
"selected-location": Number(e.selectedLocation),
|
|
7110
7117
|
"disable-default-location": e.disableDefaultLocation === "yes",
|
|
@@ -7114,19 +7121,19 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7114
7121
|
"disable-default-location",
|
|
7115
7122
|
"hide-locations"
|
|
7116
7123
|
])]),
|
|
7117
|
-
_(
|
|
7118
|
-
_(
|
|
7119
|
-
_(
|
|
7124
|
+
_(qe) ? (c(), f("div", Nn, [g("span", { innerHTML: _(i)("guestDiscount.displayMessage", { name: `<b>${_(Ze) ? _(Ze) : _(Xe)}</b>` }) }, null, 8, Pn)])) : a("", !0),
|
|
7125
|
+
_(Ye) ? (c(), f("div", Fn, [g("span", { innerHTML: _(i)("guestDiscount.displayMessage", { name: `<b>${_(Qe)}</b>` }) }, null, 8, In)])) : a("", !0),
|
|
7126
|
+
_(Et) ? (c(), f("div", Ln, [g("span", null, [r(w(_(i)("general.filteredListingNotice")) + " ", 1), g("button", {
|
|
7120
7127
|
class: "link",
|
|
7121
|
-
onClick: u[0] ||= (e) =>
|
|
7128
|
+
onClick: u[0] ||= (e) => ln()
|
|
7122
7129
|
}, w(_(i)("general.filteredListingShowAll")), 1)])])) : a("", !0),
|
|
7123
7130
|
a("", !0),
|
|
7124
|
-
!_(te) && _(
|
|
7125
|
-
_(B).templates.length > 0 && e.onlyShow !== "rooms" && e.onlyShow !== "camping" ? (c(), f("div",
|
|
7131
|
+
!_(te) && _(Ae) ? (c(), f("div", Rn, [$t.value.camping && $t.value.camping.length > 0 && e.onlyShow !== "non-camping" || $t.value.rooms && $t.value.rooms.length > 0 || _(B).templates.length > 0 || _(B).specialTemplates.length > 0 && !_(Et) ? (c(), f("div", zn, [
|
|
7132
|
+
_(B).templates.length > 0 && e.onlyShow !== "rooms" && e.onlyShow !== "camping" ? (c(), f("div", Bn, [e.onlyShow === "packages" ? a("", !0) : (c(), f("h2", Vn, [C(H, {
|
|
7126
7133
|
icon: "box",
|
|
7127
7134
|
type: "fal",
|
|
7128
7135
|
color: "header"
|
|
7129
|
-
}), g("span", null, w(_(i)("booking.availability.packagesTitle")), 1)])), g("ul",
|
|
7136
|
+
}), g("span", null, w(_(i)("booking.availability.packagesTitle")), 1)])), g("ul", Hn, [(c(!0), f(y, null, m(tn.value, ({ id: n, name: r, templateRoomGroups: i, images: a, description: s, weekendFee: l }) => (c(), o(yn, {
|
|
7130
7137
|
key: n,
|
|
7131
7138
|
id: n,
|
|
7132
7139
|
description: s,
|
|
@@ -7146,28 +7153,28 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7146
7153
|
"callback",
|
|
7147
7154
|
"hide-addons"
|
|
7148
7155
|
]))), 128))])])) : a("", !0),
|
|
7149
|
-
_(B).roomGroups.length > 0 && e.onlyShow !== "packages" ? (c(), f("div",
|
|
7156
|
+
_(B).roomGroups.length > 0 && e.onlyShow !== "packages" ? (c(), f("div", Un, [$t.value.rooms && e.onlyShow !== "camping" ? (c(), f(y, { key: 0 }, [_(B).templates.length > 0 && e.onlyShow !== "rooms" ? (c(), f("h2", Wn, [C(H, {
|
|
7150
7157
|
icon: "house",
|
|
7151
7158
|
type: "fal",
|
|
7152
7159
|
color: "header"
|
|
7153
|
-
}), g("span", null, w(_(i)("booking.availability.roomsTitle")), 1)])) : a("", !0), g("ul",
|
|
7160
|
+
}), g("span", null, w(_(i)("booking.availability.roomsTitle")), 1)])) : a("", !0), g("ul", Gn, [(c(!0), f(y, null, m($t.value.rooms, (e, n) => (c(), o(on, {
|
|
7154
7161
|
room: e,
|
|
7155
7162
|
key: n,
|
|
7156
7163
|
callback: t
|
|
7157
|
-
}, null, 8, ["room", "callback"]))), 128))])], 64)) : a("", !0),
|
|
7164
|
+
}, null, 8, ["room", "callback"]))), 128))])], 64)) : a("", !0), $t.value.camping && e.onlyShow !== "rooms" && e.onlyShow !== "non-camping" ? (c(), f(y, { key: 1 }, [_(B).templates.length > 0 && e.onlyShow !== "camping" ? (c(), f("h2", Kn, [C(H, {
|
|
7158
7165
|
icon: "map-location-dot",
|
|
7159
7166
|
type: "fal",
|
|
7160
7167
|
color: "header"
|
|
7161
|
-
}), g("span", null, w(_(i)("booking.availability.campingTitle")), 1)])) : a("", !0), g("ul",
|
|
7168
|
+
}), g("span", null, w(_(i)("booking.availability.campingTitle")), 1)])) : a("", !0), g("ul", qn, [(c(!0), f(y, null, m($t.value.camping, (e, n) => (c(), o(on, {
|
|
7162
7169
|
room: e,
|
|
7163
7170
|
key: n,
|
|
7164
7171
|
callback: t
|
|
7165
7172
|
}, null, 8, ["room", "callback"]))), 128))])], 64)) : a("", !0)])) : a("", !0),
|
|
7166
|
-
_(
|
|
7173
|
+
_(Et) ? a("", !0) : (c(), f(y, { key: 2 }, [_(B).specialTemplates.length > 0 && e.onlyShow !== "rooms" ? (c(), f("div", Jn, [g("h2", Yn, [C(H, {
|
|
7167
7174
|
icon: "sparkles",
|
|
7168
7175
|
type: "fal",
|
|
7169
7176
|
color: "header"
|
|
7170
|
-
}), g("span", null, w(_(i)("hotel.specialOffers")), 1)]), g("ul",
|
|
7177
|
+
}), g("span", null, w(_(i)("hotel.specialOffers")), 1)]), g("ul", Xn, [(c(!0), f(y, null, m(nn.value, ({ id: e, name: t, templateRoomGroups: n, images: r, description: i, weekendFee: a, fromDate: s, toDate: l }) => (c(), o(Sn, {
|
|
7171
7178
|
key: e,
|
|
7172
7179
|
id: e,
|
|
7173
7180
|
description: i,
|
|
@@ -7187,124 +7194,124 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7187
7194
|
"weekendFee",
|
|
7188
7195
|
"room-groups"
|
|
7189
7196
|
]))), 128))])])) : a("", !0)], 64)),
|
|
7190
|
-
(_(B).templates.length === 0 && e.onlyShow !== "rooms" || _(B).roomGroups.length === 0 && e.onlyShow !== "packages") && (e.onlyShow === "rooms" || e.onlyShow === "packages") ? (c(), f("div",
|
|
7191
|
-
])) : _(B).nextAvailableDates.length > 0 ? (c(), f("div",
|
|
7192
|
-
g("div",
|
|
7193
|
-
g("h2",
|
|
7197
|
+
(_(B).templates.length === 0 && e.onlyShow !== "rooms" || _(B).roomGroups.length === 0 && e.onlyShow !== "packages") && (e.onlyShow === "rooms" || e.onlyShow === "packages") ? (c(), f("div", Zn, [g("span", null, w(_(i)("booking.availability.nothingAvailable")), 1)])) : a("", !0)
|
|
7198
|
+
])) : _(B).nextAvailableDates.length > 0 ? (c(), f("div", Qn, [
|
|
7199
|
+
g("div", $n, [g("span", { innerHTML: _(i)("hotel.everyRoomIsBooked") }, null, 8, er)]),
|
|
7200
|
+
g("h2", tr, [C(H, {
|
|
7194
7201
|
icon: "calendar-circle-exclamation",
|
|
7195
7202
|
type: "fal",
|
|
7196
7203
|
color: "header"
|
|
7197
7204
|
}), g("span", null, w(_(i)("booking.availability.nextAvailableDates")), 1)]),
|
|
7198
|
-
g("ul",
|
|
7199
|
-
g("h3", { title: `${_(
|
|
7200
|
-
g("ul", null, [isNaN(e.roomCount) ? a("", !0) : (c(), f("li",
|
|
7205
|
+
g("ul", nr, [(c(!0), f(y, null, m(_(B).nextAvailableDates, (e, t) => (c(), f("li", { key: t }, [
|
|
7206
|
+
g("h3", { title: `${_(De)(e.fromDate, 0, !0)} - ${_(De)(e.toDate, 0, !0)}` }, [g("span", null, w(`${_(De)(e.fromDate, 0, !0)} - ${_(De)(e.toDate, 0, !0)}`), 1)], 8, rr),
|
|
7207
|
+
g("ul", null, [isNaN(e.roomCount) ? a("", !0) : (c(), f("li", ir, [C(H, {
|
|
7201
7208
|
icon: "house",
|
|
7202
7209
|
type: "fal",
|
|
7203
7210
|
color: "header"
|
|
7204
|
-
}), g("span", null, w(_(i)("booking.availability.units")) + ": " + w(e.roomCount), 1)])), g("li", null, [C(
|
|
7211
|
+
}), g("span", null, w(_(i)("booking.availability.units")) + ": " + w(e.roomCount), 1)])), g("li", null, [C(H, {
|
|
7205
7212
|
icon: "money-bill",
|
|
7206
7213
|
type: "fal",
|
|
7207
7214
|
color: "header"
|
|
7208
|
-
}), g("span", null, w(_(i)("booking.availability.pricesFrom")) + ": " + w(_(z)(e.priceStartFrom, _(
|
|
7209
|
-
C(
|
|
7215
|
+
}), g("span", null, w(_(i)("booking.availability.pricesFrom")) + ": " + w(_(z)(e.priceStartFrom, _(W))), 1)])]),
|
|
7216
|
+
C(V, {
|
|
7210
7217
|
label: _(i)("booking.availability.selectDates"),
|
|
7211
7218
|
"full-width": "",
|
|
7212
|
-
onClickEvent: (t) => _(
|
|
7219
|
+
onClickEvent: (t) => _(gt)(new Date(e.fromDate), new Date(e.toDate))
|
|
7213
7220
|
}, null, 8, ["label", "onClickEvent"])
|
|
7214
7221
|
]))), 128))])
|
|
7215
|
-
])) : (c(), f("div",
|
|
7222
|
+
])) : (c(), f("div", ar, [g("span", null, w(_(i)("booking.availability.nothingAvailable")), 1)]))])) : isNaN(_(l)) && !_(te) ? (c(), f("div", or, [g("span", null, w(_(i)("alert.info.selectHotelToStart")), 1)])) : (c(), f("div", sr, [
|
|
7216
7223
|
C(He),
|
|
7217
7224
|
C(He),
|
|
7218
7225
|
C(He)
|
|
7219
7226
|
]))
|
|
7220
7227
|
])]),
|
|
7221
7228
|
navigation: j(() => [
|
|
7222
|
-
_(
|
|
7229
|
+
_(Pe) ? (c(), o(V, {
|
|
7223
7230
|
key: 0,
|
|
7224
7231
|
label: isNaN(_(l)) ? _(i)("availability.buttonLabel") : _(i)("general.searchAgain"),
|
|
7225
7232
|
"is-loading": _(te),
|
|
7226
7233
|
"full-width": "",
|
|
7227
|
-
onClickEvent: u[2] ||= (e) =>
|
|
7228
|
-
}, null, 8, ["label", "is-loading"])) : (c(), o(
|
|
7234
|
+
onClickEvent: u[2] ||= (e) => cn()
|
|
7235
|
+
}, null, 8, ["label", "is-loading"])) : (c(), o(V, {
|
|
7229
7236
|
key: 1,
|
|
7230
|
-
label: _(
|
|
7231
|
-
disabled: !_(
|
|
7237
|
+
label: _(Se) || rn.value ? _(i)("booking.availability.nextButton") : _(i)("general.chooseAddons"),
|
|
7238
|
+
disabled: !_(be),
|
|
7232
7239
|
"full-width": "",
|
|
7233
|
-
onClickEvent: (e) =>
|
|
7240
|
+
onClickEvent: (e) => un(t)
|
|
7234
7241
|
}, null, 8, [
|
|
7235
7242
|
"label",
|
|
7236
7243
|
"disabled",
|
|
7237
7244
|
"onClickEvent"
|
|
7238
7245
|
])),
|
|
7239
|
-
b(g("span",
|
|
7246
|
+
b(g("span", cr, [C(H, {
|
|
7240
7247
|
icon: "exclamation-triangle",
|
|
7241
7248
|
type: "fas"
|
|
7242
7249
|
}), g("span", null, w(_(i)("hotel.mismatchingAdults", {
|
|
7243
|
-
searchAdults: _(
|
|
7244
|
-
selectedAdults: _(
|
|
7245
|
-
})), 1)], 512), [[re, _(
|
|
7246
|
-
b(g("span",
|
|
7250
|
+
searchAdults: _(lt),
|
|
7251
|
+
selectedAdults: _(Ve)
|
|
7252
|
+
})), 1)], 512), [[re, _(ze)]]),
|
|
7253
|
+
b(g("span", lr, [C(H, {
|
|
7247
7254
|
icon: "exclamation-triangle",
|
|
7248
7255
|
type: "fas"
|
|
7249
7256
|
}), g("span", null, w(_(i)("hotel.mismatchingChildren", {
|
|
7250
|
-
searchChildren: _(
|
|
7251
|
-
selectedChildren: _(
|
|
7252
|
-
})), 1)], 512), [[re, _(
|
|
7257
|
+
searchChildren: _(ut),
|
|
7258
|
+
selectedChildren: _(We)
|
|
7259
|
+
})), 1)], 512), [[re, _(Be)]])
|
|
7253
7260
|
]),
|
|
7254
7261
|
_: 2
|
|
7255
7262
|
}, 1024)]),
|
|
7256
|
-
addons: j(({ next: e, prev: t }) => [_(
|
|
7263
|
+
addons: j(({ next: e, prev: t }) => [_(Ae) ? (c(), o(It, {
|
|
7257
7264
|
key: 0,
|
|
7258
|
-
"prev-callback": () =>
|
|
7265
|
+
"prev-callback": () => an(t)
|
|
7259
7266
|
}, {
|
|
7260
|
-
form: j(() => [g("form",
|
|
7267
|
+
form: j(() => [g("form", ur, [
|
|
7261
7268
|
g("h2", null, [g("span", null, w(_(i)("booking.reservation.addons")), 1)]),
|
|
7262
|
-
_(i)("hotel.addonTopNotice") && _(i)("hotel.addonTopNotice") !== "<br>" ? (c(), f("div",
|
|
7269
|
+
_(i)("hotel.addonTopNotice") && _(i)("hotel.addonTopNotice") !== "<br>" ? (c(), f("div", dr, [g("p", {
|
|
7263
7270
|
innerHTML: _(i)("hotel.addonTopNotice"),
|
|
7264
7271
|
class: "konnectio-wysiwyg"
|
|
7265
|
-
}, null, 8,
|
|
7266
|
-
g("div", null, [isNaN(_(d)) ? (c(), f("div",
|
|
7267
|
-
key:
|
|
7272
|
+
}, null, 8, fr)])) : a("", !0),
|
|
7273
|
+
g("div", null, [isNaN(_(d)) ? (c(), f("div", pr, [(c(!0), f(y, null, m(_(R), (e) => (c(), f(y, { key: e.roomGroupID }, [_(Ut)(e) ? (c(), f("ul", mr, [(c(!0), f(y, null, m(e.variants, (t, n) => (c(), f("li", { key: t.ratePlanID }, [g("h4", null, [g("span", null, w(_(fe)(e.title)), 1)]), (c(!0), f(y, null, m(Z(t.rooms), (r) => (c(), f("table", {
|
|
7274
|
+
key: r.configIdx,
|
|
7268
7275
|
class: "konnectio-table with-lines without-header"
|
|
7269
7276
|
}, [g("thead", null, [g("tr", null, [
|
|
7270
|
-
g("th", null, [g("span", null, w(_(
|
|
7277
|
+
g("th", null, [g("span", null, w(_(fe)(t.name)), 1)]),
|
|
7271
7278
|
a("", !0),
|
|
7272
|
-
g("th",
|
|
7273
|
-
C(
|
|
7279
|
+
g("th", hr, [g("b", null, [
|
|
7280
|
+
C(H, {
|
|
7274
7281
|
icon: "male",
|
|
7275
7282
|
type: "fas",
|
|
7276
7283
|
color: "font"
|
|
7277
7284
|
}),
|
|
7278
7285
|
g("span", null, w(r.adultsCount), 1),
|
|
7279
|
-
r.childrenCount > 0 ? (c(), o(
|
|
7286
|
+
r.childrenCount > 0 ? (c(), o(H, {
|
|
7280
7287
|
key: 0,
|
|
7281
7288
|
icon: "child",
|
|
7282
7289
|
type: "fas",
|
|
7283
7290
|
color: "font"
|
|
7284
7291
|
})) : a("", !0),
|
|
7285
|
-
r.childrenCount > 0 ? (c(), f("span",
|
|
7292
|
+
r.childrenCount > 0 ? (c(), f("span", gr, w(r.childrenCount), 1)) : a("", !0)
|
|
7286
7293
|
])])
|
|
7287
|
-
])]), g("tbody", null, [(c(!0), f(y, null, m(_(
|
|
7294
|
+
])]), g("tbody", null, [(c(!0), f(y, null, m(_(Ht)(t.addons, r.childrenCount), ({ cardinality: t, quantityStrategy: i, maximumNumber: l, id: u, name: d, price: p, image: m, description: h }) => (c(), f("tr", { key: u }, [g("td", { class: s(["konnectio-table-addons-information", { "has-image": m }]) }, [m ? (c(), f("div", _r, [C(_(_t), {
|
|
7288
7295
|
src: m,
|
|
7289
7296
|
"zoom-scale": 1
|
|
7290
7297
|
}, null, 8, ["src"])])) : a("", !0), g("div", null, [
|
|
7291
|
-
g("b", null, w(_(
|
|
7292
|
-
g("span", null, w(_(z)(p, _(
|
|
7298
|
+
g("b", null, w(_(fe)(d)), 1),
|
|
7299
|
+
g("span", null, w(_(z)(p, _(W))) + " " + w(_(ve)(i)), 1),
|
|
7293
7300
|
h ? (c(), f("p", {
|
|
7294
7301
|
key: 0,
|
|
7295
|
-
innerHTML: _(
|
|
7296
|
-
}, null, 8,
|
|
7297
|
-
])], 2), g("td",
|
|
7302
|
+
innerHTML: _(me)(h)
|
|
7303
|
+
}, null, 8, vr)) : a("", !0)
|
|
7304
|
+
])], 2), g("td", yr, [_(_e)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx] ? (c(), f(y, { key: 0 }, [t === _(we).Mandatory ? (c(), o(Oe, {
|
|
7298
7305
|
key: 0,
|
|
7299
7306
|
"model-value": 1,
|
|
7300
7307
|
small: !0,
|
|
7301
7308
|
"min-value": 1,
|
|
7302
7309
|
"max-value": 1,
|
|
7303
7310
|
readonly: ""
|
|
7304
|
-
})) : (c(), o(
|
|
7311
|
+
})) : (c(), o(Oe, {
|
|
7305
7312
|
key: 1,
|
|
7306
|
-
modelValue: _(
|
|
7307
|
-
"onUpdate:modelValue": (t) => _(
|
|
7313
|
+
modelValue: _(_e)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx][u],
|
|
7314
|
+
"onUpdate:modelValue": (t) => _(_e)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx][u] = t,
|
|
7308
7315
|
small: !0,
|
|
7309
7316
|
"min-value": 0,
|
|
7310
7317
|
"max-value": l || Infinity
|
|
@@ -7312,31 +7319,31 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7312
7319
|
"modelValue",
|
|
7313
7320
|
"onUpdate:modelValue",
|
|
7314
7321
|
"max-value"
|
|
7315
|
-
]))], 64)) : a("", !0)])]))), 128))])]))), 128))]))), 128))])) : a("", !0)], 64))), 128))])) : _(h).length > 0 ? (c(), f("div",
|
|
7316
|
-
key:
|
|
7322
|
+
]))], 64)) : a("", !0)])]))), 128))])]))), 128))]))), 128))])) : a("", !0)], 64))), 128))])) : _(h).length > 0 ? (c(), f("div", br, [g("div", null, [g("h4", null, [g("span", null, w(_(Me)?.name), 1)]), (c(!0), f(y, null, m(Xt.value, (e) => (c(), f("table", {
|
|
7323
|
+
key: e.roomGroupId,
|
|
7317
7324
|
class: "konnectio-table with-lines without-header"
|
|
7318
7325
|
}, [g("thead", null, [g("tr", null, [
|
|
7319
|
-
g("th", null, [g("span", null, w(_(
|
|
7326
|
+
g("th", null, [g("span", null, w(_(fe)(_(je).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1)]),
|
|
7320
7327
|
a("", !0),
|
|
7321
7328
|
u[24] ||= g("th", { class: "konnectio-event-addons-price" }, null, -1)
|
|
7322
|
-
])]), g("tbody", null, [(c(!0), f(y, null, m(_(
|
|
7329
|
+
])]), g("tbody", null, [(c(!0), f(y, null, m(_(Ht)(_(je).find((t) => t.id === e.roomGroupId)?.addons, e.children), ({ cardinality: t, quantityStrategy: n, maximumNumber: r, id: i, name: l, price: u, description: d, image: m }) => (c(), f("tr", { key: i }, [g("td", { class: s(["konnectio-table-addons-information", { "has-image": m }]) }, [m ? (c(), f("div", xr, [C(_(_t), {
|
|
7323
7330
|
src: m,
|
|
7324
7331
|
"zoom-scale": 1
|
|
7325
7332
|
}, null, 8, ["src"])])) : a("", !0), g("div", null, [
|
|
7326
|
-
g("b", null, w(_(
|
|
7327
|
-
g("span", null, w(_(z)(u, _(
|
|
7333
|
+
g("b", null, w(_(fe)(l)), 1),
|
|
7334
|
+
g("span", null, w(_(z)(u, _(W))) + " " + w(_(ve)(n)), 1),
|
|
7328
7335
|
d ? (c(), f("p", {
|
|
7329
7336
|
key: 0,
|
|
7330
|
-
innerHTML: _(
|
|
7337
|
+
innerHTML: _(me)(d)
|
|
7331
7338
|
}, null, 8, Sr)) : a("", !0)
|
|
7332
|
-
])], 2), g("td", Cr, [t === _(
|
|
7339
|
+
])], 2), g("td", Cr, [t === _(we).Mandatory ? (c(), o(Oe, {
|
|
7333
7340
|
key: 0,
|
|
7334
7341
|
"model-value": 1,
|
|
7335
7342
|
small: !0,
|
|
7336
7343
|
"min-value": 1,
|
|
7337
7344
|
"max-value": 1,
|
|
7338
7345
|
readonly: ""
|
|
7339
|
-
})) : (c(), o(
|
|
7346
|
+
})) : (c(), o(Oe, {
|
|
7340
7347
|
key: 1,
|
|
7341
7348
|
modelValue: _(p)[e.selectionIdx].unitConfigs[e.configIdx].addons[i],
|
|
7342
7349
|
"onUpdate:modelValue": (t) => _(p)[e.selectionIdx].unitConfigs[e.configIdx].addons[i] = t,
|
|
@@ -7349,16 +7356,16 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7349
7356
|
"max-value"
|
|
7350
7357
|
]))])]))), 128))])]))), 128))])])) : a("", !0)])
|
|
7351
7358
|
])]),
|
|
7352
|
-
navigation: j(() => [C(
|
|
7359
|
+
navigation: j(() => [C(V, {
|
|
7353
7360
|
label: _(i)("general.startReservation"),
|
|
7354
7361
|
"full-width": "",
|
|
7355
|
-
onClickEvent: (t) =>
|
|
7362
|
+
onClickEvent: (t) => Q(e)
|
|
7356
7363
|
}, null, 8, ["label", "onClickEvent"])]),
|
|
7357
7364
|
_: 2
|
|
7358
7365
|
}, 1032, ["prev-callback"])) : a("", !0)]),
|
|
7359
|
-
reservation: j(({ next: t, prev: n, reset: r }) => [_(
|
|
7366
|
+
reservation: j(({ next: t, prev: n, reset: r }) => [_(Ae) ? (c(), o(It, {
|
|
7360
7367
|
key: 0,
|
|
7361
|
-
"prev-callback": () =>
|
|
7368
|
+
"prev-callback": () => an(n),
|
|
7362
7369
|
"show-terms-notice": !0,
|
|
7363
7370
|
"show-gift-card": !0
|
|
7364
7371
|
}, {
|
|
@@ -7368,29 +7375,29 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7368
7375
|
innerHTML: _(i)("hotel.reservationTopNotice"),
|
|
7369
7376
|
class: "konnectio-wysiwyg"
|
|
7370
7377
|
}, null, 8, Er)])) : a("", !0),
|
|
7371
|
-
_(
|
|
7378
|
+
_(J)(_(l)) && _(Ot)(_(l)) && _(kt)(_(l)) ? (c(), f("ul", {
|
|
7372
7379
|
key: 1,
|
|
7373
|
-
class: s(["konnectio-reservation-timepicker", { "konnectio-split-inputs": _(
|
|
7374
|
-
}, [_(
|
|
7380
|
+
class: s(["konnectio-reservation-timepicker", { "konnectio-split-inputs": _(Ot)(_(l)) && _(kt)(_(l)) }])
|
|
7381
|
+
}, [_(Ot)(_(l)) ? (c(), f("li", Dr, [C(Cn, {
|
|
7375
7382
|
modelValue: _(ae),
|
|
7376
7383
|
"onUpdate:modelValue": u[3] ||= (e) => x(ae) ? ae.value = e : null,
|
|
7377
7384
|
label: _(i)("booking.reservation.arrivalTime"),
|
|
7378
7385
|
icon: "hourglass-start",
|
|
7379
|
-
"min-time": _(
|
|
7380
|
-
"max-time": _(
|
|
7386
|
+
"min-time": _(At)(_(l)),
|
|
7387
|
+
"max-time": _(jt)(_(l)),
|
|
7381
7388
|
required: ""
|
|
7382
7389
|
}, null, 8, [
|
|
7383
7390
|
"modelValue",
|
|
7384
7391
|
"label",
|
|
7385
7392
|
"min-time",
|
|
7386
7393
|
"max-time"
|
|
7387
|
-
])])) : a("", !0), _(
|
|
7394
|
+
])])) : a("", !0), _(kt)(_(l)) ? (c(), f("li", Or, [C(Cn, {
|
|
7388
7395
|
modelValue: _(E),
|
|
7389
7396
|
"onUpdate:modelValue": u[4] ||= (e) => x(E) ? E.value = e : null,
|
|
7390
7397
|
label: _(i)("booking.reservation.departureTime"),
|
|
7391
7398
|
icon: "hourglass-end",
|
|
7392
|
-
"min-time": _(
|
|
7393
|
-
"max-time": _(
|
|
7399
|
+
"min-time": _(Mt)(_(l)),
|
|
7400
|
+
"max-time": _(Nt)(_(l)),
|
|
7394
7401
|
required: ""
|
|
7395
7402
|
}, null, 8, [
|
|
7396
7403
|
"modelValue",
|
|
@@ -7398,12 +7405,12 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7398
7405
|
"min-time",
|
|
7399
7406
|
"max-time"
|
|
7400
7407
|
])])) : a("", !0)], 2)) : a("", !0),
|
|
7401
|
-
C(
|
|
7408
|
+
C(En, {
|
|
7402
7409
|
modelValue: _(D),
|
|
7403
7410
|
"onUpdate:modelValue": u[5] ||= (e) => x(D) ? D.value = e : null,
|
|
7404
7411
|
title: _(O),
|
|
7405
7412
|
"onUpdate:title": u[6] ||= (e) => x(O) ? O.value = e : null,
|
|
7406
|
-
"exclude-title": _(
|
|
7413
|
+
"exclude-title": _(vt),
|
|
7407
7414
|
label: _(i)("booking.reservation.name"),
|
|
7408
7415
|
icon: "user-alt",
|
|
7409
7416
|
placeholder: _(i)("booking.reservation.namePlaceholder"),
|
|
@@ -7415,7 +7422,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7415
7422
|
"label",
|
|
7416
7423
|
"placeholder"
|
|
7417
7424
|
]),
|
|
7418
|
-
C(
|
|
7425
|
+
C(Ee, {
|
|
7419
7426
|
modelValue: _(k),
|
|
7420
7427
|
"onUpdate:modelValue": u[7] ||= (e) => x(k) ? k.value = e : null,
|
|
7421
7428
|
type: "email",
|
|
@@ -7431,14 +7438,14 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7431
7438
|
"label",
|
|
7432
7439
|
"placeholder"
|
|
7433
7440
|
]),
|
|
7434
|
-
_(
|
|
7435
|
-
modelValue: _(
|
|
7436
|
-
"onUpdate:modelValue": u[8] ||= (e) => x(
|
|
7441
|
+
_(Tt) ? a("", !0) : (c(), f("div", kr, [C(Ke, {
|
|
7442
|
+
modelValue: _(Ie),
|
|
7443
|
+
"onUpdate:modelValue": u[8] ||= (e) => x(Ie) ? Ie.value = e : null,
|
|
7437
7444
|
type: "checkbox",
|
|
7438
7445
|
name: "newsletter",
|
|
7439
7446
|
label: _(i)("booking.reservation.newsletterSignUp")
|
|
7440
7447
|
}, null, 8, ["modelValue", "label"])])),
|
|
7441
|
-
_(
|
|
7448
|
+
_(xt) ? a("", !0) : (c(), o(Ee, {
|
|
7442
7449
|
key: 3,
|
|
7443
7450
|
modelValue: _(M),
|
|
7444
7451
|
"onUpdate:modelValue": u[9] ||= (e) => x(M) ? M.value = e : null,
|
|
@@ -7465,7 +7472,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7465
7472
|
"label",
|
|
7466
7473
|
"placeholder"
|
|
7467
7474
|
]),
|
|
7468
|
-
C(
|
|
7475
|
+
C(Tn, {
|
|
7469
7476
|
modelValue: _(ue),
|
|
7470
7477
|
"onUpdate:modelValue": u[11] ||= (e) => x(ue) ? ue.value = e : null,
|
|
7471
7478
|
label: _(i)("booking.reservation.country"),
|
|
@@ -7478,7 +7485,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7478
7485
|
"placeholder",
|
|
7479
7486
|
"options"
|
|
7480
7487
|
]),
|
|
7481
|
-
C(
|
|
7488
|
+
C(Ee, {
|
|
7482
7489
|
modelValue: _(oe),
|
|
7483
7490
|
"onUpdate:modelValue": u[12] ||= (e) => x(oe) ? oe.value = e : null,
|
|
7484
7491
|
type: "textarea",
|
|
@@ -7493,7 +7500,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7493
7500
|
"label",
|
|
7494
7501
|
"placeholder"
|
|
7495
7502
|
]),
|
|
7496
|
-
g("ul", Ar, [g("li", null, [C(
|
|
7503
|
+
g("ul", Ar, [g("li", null, [C(Ee, {
|
|
7497
7504
|
modelValue: _(F),
|
|
7498
7505
|
"onUpdate:modelValue": u[13] ||= (e) => x(F) ? F.value = e : null,
|
|
7499
7506
|
type: "text",
|
|
@@ -7507,7 +7514,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7507
7514
|
"modelValue",
|
|
7508
7515
|
"label",
|
|
7509
7516
|
"placeholder"
|
|
7510
|
-
])]), g("li", null, [C(
|
|
7517
|
+
])]), g("li", null, [C(Ee, {
|
|
7511
7518
|
modelValue: _(I),
|
|
7512
7519
|
"onUpdate:modelValue": u[14] ||= (e) => x(I) ? I.value = e : null,
|
|
7513
7520
|
type: "text",
|
|
@@ -7522,10 +7529,10 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7522
7529
|
"label",
|
|
7523
7530
|
"placeholder"
|
|
7524
7531
|
])])]),
|
|
7525
|
-
e.hideRemarks === "yes" ? a("", !0) : (c(), o(
|
|
7532
|
+
e.hideRemarks === "yes" ? a("", !0) : (c(), o(Ee, {
|
|
7526
7533
|
key: 4,
|
|
7527
|
-
modelValue: _(
|
|
7528
|
-
"onUpdate:modelValue": u[15] ||= (e) => x(
|
|
7534
|
+
modelValue: _(de),
|
|
7535
|
+
"onUpdate:modelValue": u[15] ||= (e) => x(de) ? de.value = e : null,
|
|
7529
7536
|
type: "textarea",
|
|
7530
7537
|
label: _(i)("booking.reservation.remark"),
|
|
7531
7538
|
icon: "info-circle",
|
|
@@ -7535,10 +7542,10 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7535
7542
|
"label",
|
|
7536
7543
|
"placeholder"
|
|
7537
7544
|
])),
|
|
7538
|
-
e.hideAllergies === "yes" ? a("", !0) : (c(), o(
|
|
7545
|
+
e.hideAllergies === "yes" ? a("", !0) : (c(), o(Ee, {
|
|
7539
7546
|
key: 5,
|
|
7540
|
-
modelValue: _(
|
|
7541
|
-
"onUpdate:modelValue": u[16] ||= (e) => x(
|
|
7547
|
+
modelValue: _(pe),
|
|
7548
|
+
"onUpdate:modelValue": u[16] ||= (e) => x(pe) ? pe.value = e : null,
|
|
7542
7549
|
type: "textarea",
|
|
7543
7550
|
label: _(i)("booking.reservation.allergies"),
|
|
7544
7551
|
icon: "allergies",
|
|
@@ -7548,36 +7555,36 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7548
7555
|
"label",
|
|
7549
7556
|
"placeholder"
|
|
7550
7557
|
])),
|
|
7551
|
-
_(
|
|
7558
|
+
_(yt) ? a("", !0) : (c(), o(Le, {
|
|
7552
7559
|
key: 6,
|
|
7553
7560
|
modelValue: _(ie),
|
|
7554
7561
|
"onUpdate:modelValue": u[17] ||= (e) => x(ie) ? ie.value = e : null,
|
|
7555
7562
|
label: _(i)("booking.reservation.purposeOfStay"),
|
|
7556
7563
|
name: "travelingFor",
|
|
7557
|
-
checkboxes:
|
|
7564
|
+
checkboxes: Qt.value
|
|
7558
7565
|
}, null, 8, [
|
|
7559
7566
|
"modelValue",
|
|
7560
7567
|
"label",
|
|
7561
7568
|
"checkboxes"
|
|
7562
7569
|
])),
|
|
7563
|
-
_(
|
|
7564
|
-
g("li", null, [g("span", null, w(_(i)("hotel.memberCards.selectedCard", { cardName: _(
|
|
7565
|
-
g("li", null, [g("span", null, w(_(i)("hotel.memberCards.cardNumber")) + ": " + w(_(
|
|
7566
|
-
_(
|
|
7570
|
+
_($e) ? (c(), f(y, { key: 7 }, [g("h3", null, [g("span", null, w(_(i)("hotel.memberCards.title")), 1)]), _(it) ? (c(), f("div", jr, [g("img", { src: _(at)?.iconUrl }, null, 8, Mr), g("ul", Nr, [
|
|
7571
|
+
g("li", null, [g("span", null, w(_(i)("hotel.memberCards.selectedCard", { cardName: _(at)?.shortDescription })), 1)]),
|
|
7572
|
+
g("li", null, [g("span", null, w(_(i)("hotel.memberCards.cardNumber")) + ": " + w(_(it).cardNumber), 1)]),
|
|
7573
|
+
_(it).controlNr ? (c(), f("li", Pr, [g("span", null, w(_(i)("hotel.memberCards.controlNumber")) + ": " + w(_(it).controlNr), 1)])) : a("", !0)
|
|
7567
7574
|
])])) : (c(), f(y, { key: 1 }, [C(Le, {
|
|
7568
|
-
modelValue: _(
|
|
7569
|
-
"onUpdate:modelValue": u[18] ||= (e) => x(
|
|
7575
|
+
modelValue: _(tt),
|
|
7576
|
+
"onUpdate:modelValue": u[18] ||= (e) => x(tt) ? tt.value = e : null,
|
|
7570
7577
|
label: _(i)("hotel.memberCards.selectCard"),
|
|
7571
7578
|
name: "memberCard",
|
|
7572
|
-
checkboxes: _(
|
|
7579
|
+
checkboxes: _(et)
|
|
7573
7580
|
}, null, 8, [
|
|
7574
7581
|
"modelValue",
|
|
7575
7582
|
"label",
|
|
7576
7583
|
"checkboxes"
|
|
7577
|
-
]), _(
|
|
7578
|
-
C(
|
|
7579
|
-
modelValue: _(
|
|
7580
|
-
"onUpdate:modelValue": u[19] ||= (e) => x(
|
|
7584
|
+
]), _(tt) ? (c(), f("form", Fr, [
|
|
7585
|
+
C(Ee, {
|
|
7586
|
+
modelValue: _(rt),
|
|
7587
|
+
"onUpdate:modelValue": u[19] ||= (e) => x(rt) ? rt.value = e : null,
|
|
7581
7588
|
type: "number",
|
|
7582
7589
|
label: _(i)("hotel.memberCards.cardNumber"),
|
|
7583
7590
|
icon: "credit-card",
|
|
@@ -7588,10 +7595,10 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7588
7595
|
"label",
|
|
7589
7596
|
"placeholder"
|
|
7590
7597
|
]),
|
|
7591
|
-
_(
|
|
7598
|
+
_(tt) === _(ke).FirmaCard ? (c(), o(Ee, {
|
|
7592
7599
|
key: 0,
|
|
7593
|
-
modelValue: _(
|
|
7594
|
-
"onUpdate:modelValue": u[20] ||= (e) => x(
|
|
7600
|
+
modelValue: _(nt),
|
|
7601
|
+
"onUpdate:modelValue": u[20] ||= (e) => x(nt) ? nt.value = e : null,
|
|
7595
7602
|
type: "text",
|
|
7596
7603
|
label: _(i)("hotel.memberCards.cardControlNumber"),
|
|
7597
7604
|
icon: "id-card",
|
|
@@ -7602,7 +7609,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7602
7609
|
"label",
|
|
7603
7610
|
"placeholder"
|
|
7604
7611
|
])) : a("", !0),
|
|
7605
|
-
_(
|
|
7612
|
+
_(tt) === _(ke).DaneAge ? (c(), o(Ee, {
|
|
7606
7613
|
key: 1,
|
|
7607
7614
|
modelValue: _(F),
|
|
7608
7615
|
"onUpdate:modelValue": u[21] ||= (e) => x(F) ? F.value = e : null,
|
|
@@ -7618,19 +7625,19 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7618
7625
|
"label",
|
|
7619
7626
|
"placeholder"
|
|
7620
7627
|
])) : a("", !0),
|
|
7621
|
-
C(
|
|
7628
|
+
C(V, {
|
|
7622
7629
|
label: _(i)("hotel.memberCards.validateAndSelectCard"),
|
|
7623
7630
|
"full-width": "",
|
|
7624
|
-
onClickEvent: _(
|
|
7631
|
+
onClickEvent: _(Kt)
|
|
7625
7632
|
}, null, 8, ["label", "onClickEvent"])
|
|
7626
7633
|
])) : a("", !0)], 64))], 64)) : a("", !0)
|
|
7627
7634
|
])]),
|
|
7628
|
-
navigation: j(() => [g("div", null, [_(
|
|
7629
|
-
label: _(
|
|
7635
|
+
navigation: j(() => [g("div", null, [_(ct) ? (c(), o(U, { key: 0 })) : a("", !0), C(V, {
|
|
7636
|
+
label: _(K) ? _(i)("booking.reservation.nextButton") : _(i)("general.confirmReservation"),
|
|
7630
7637
|
disabled: !_(S),
|
|
7631
|
-
"is-loading": _(ne) || _(
|
|
7638
|
+
"is-loading": _(ne) || _(ct),
|
|
7632
7639
|
"full-width": "",
|
|
7633
|
-
onClickEvent: (e) =>
|
|
7640
|
+
onClickEvent: (e) => sn(t, r)
|
|
7634
7641
|
}, null, 8, [
|
|
7635
7642
|
"label",
|
|
7636
7643
|
"disabled",
|
|
@@ -7646,17 +7653,17 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7646
7653
|
"layout",
|
|
7647
7654
|
"steps",
|
|
7648
7655
|
"onReset"
|
|
7649
|
-
]), [[re, (e.requireGuestDiscountId === "no" || e.requireGuestDiscountId === "yes" && _(
|
|
7656
|
+
]), [[re, (e.requireGuestDiscountId === "no" || e.requireGuestDiscountId === "yes" && _(qe)) && (e.requireDiscountCode === "no" || e.requireDiscountCode === "yes" && _(Ye))]])
|
|
7650
7657
|
]),
|
|
7651
7658
|
_: 1
|
|
7652
7659
|
}, 8, ["access-token", "callback"])]),
|
|
7653
|
-
fallback: j(() => [C(
|
|
7660
|
+
fallback: j(() => [C(An)]),
|
|
7654
7661
|
_: 1
|
|
7655
7662
|
}))]),
|
|
7656
7663
|
_: 1
|
|
7657
7664
|
}, 8, ["styling"]));
|
|
7658
7665
|
}
|
|
7659
|
-
}), [["__scopeId", "data-v-
|
|
7666
|
+
}), [["__scopeId", "data-v-a33d9a04"]]);
|
|
7660
7667
|
//#endregion
|
|
7661
7668
|
//#region node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs
|
|
7662
7669
|
function Lr(e, t) {
|