@konnectio/core 4.7.14 → 4.7.16
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-BunP4zr0.js → ActionField-BdJrefVj.js} +1 -1
- package/dist/ActionField-BdJrefVj.js.br +0 -0
- package/dist/ActionField-BdJrefVj.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-Bebnut4H.js → AvailabilitySkeleton-B0IVrbPR.js} +90 -90
- package/dist/AvailabilitySkeleton-B0IVrbPR.js.br +0 -0
- package/dist/AvailabilitySkeleton-B0IVrbPR.js.gz +0 -0
- package/dist/{CheckoutWindow-DBWd3mGi.js → CheckoutWindow-DUI4JgZ8.js} +6 -6
- package/dist/CheckoutWindow-DUI4JgZ8.js.br +0 -0
- package/dist/CheckoutWindow-DUI4JgZ8.js.gz +0 -0
- package/dist/{ErrorMessage-BmdAc_4C.js → ErrorMessage-2mxQAyot.js} +7 -7
- package/dist/ErrorMessage-2mxQAyot.js.br +0 -0
- package/dist/ErrorMessage-2mxQAyot.js.gz +0 -0
- package/dist/{EventAvailabilityForm-CbDi_p8_.js → EventAvailabilityForm-Ki2NfUbc.js} +16 -16
- package/dist/EventAvailabilityForm-Ki2NfUbc.js.br +0 -0
- package/dist/EventAvailabilityForm-Ki2NfUbc.js.gz +0 -0
- package/dist/{Field-Cc-4lMUy.js → Field-Cy_KR670.js} +1 -1
- package/dist/Field-Cy_KR670.js.br +0 -0
- package/dist/Field-Cy_KR670.js.gz +8 -0
- package/dist/HotelAvailabilityForm-BkFh-xjM.js +323 -0
- package/dist/HotelAvailabilityForm-BkFh-xjM.js.br +0 -0
- package/dist/HotelAvailabilityForm-BkFh-xjM.js.gz +0 -0
- package/dist/{SelectField-DL44GLNP.js → SelectField-r22YPAUL.js} +2302 -2285
- package/dist/SelectField-r22YPAUL.js.br +0 -0
- package/dist/SelectField-r22YPAUL.js.gz +0 -0
- package/dist/{TermsOfService-BooZoxeP.js → TermsOfService-DtShydK8.js} +2 -2
- package/dist/TermsOfService-DtShydK8.js.br +0 -0
- package/dist/TermsOfService-DtShydK8.js.gz +2 -0
- package/dist/{_-1mu2AkBc.js → _-Djyo_y3p.js} +1 -1
- package/dist/_-Djyo_y3p.js.br +0 -0
- package/dist/_-Djyo_y3p.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-NdOAdEkO.js → dist--l1eOjS1.js} +2 -2
- package/dist/dist--l1eOjS1.js.br +0 -0
- package/dist/dist--l1eOjS1.js.gz +0 -0
- package/dist/{dist-DaYqJRBP.js → dist-Dh-1NrsU.js} +455 -3083
- package/dist/dist-Dh-1NrsU.js.br +0 -0
- package/dist/dist-Dh-1NrsU.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-kmfd4BQT.js → giftCard-BKTaHrPp.js} +9 -9
- package/dist/giftCard-BKTaHrPp.js.br +0 -0
- package/dist/giftCard-BKTaHrPp.js.gz +0 -0
- package/dist/hotel.js +956 -937
- 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-D6Tfjde8.js → style-DrcTF76a.js} +1 -1
- package/dist/style-DrcTF76a.js.br +0 -0
- package/dist/style-DrcTF76a.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-BunP4zr0.js.br +0 -0
- package/dist/ActionField-BunP4zr0.js.gz +0 -0
- package/dist/AvailabilitySkeleton-Bebnut4H.js.br +0 -0
- package/dist/AvailabilitySkeleton-Bebnut4H.js.gz +0 -0
- package/dist/CheckoutWindow-DBWd3mGi.js.br +0 -0
- package/dist/CheckoutWindow-DBWd3mGi.js.gz +0 -0
- package/dist/ErrorMessage-BmdAc_4C.js.br +0 -0
- package/dist/ErrorMessage-BmdAc_4C.js.gz +0 -0
- package/dist/EventAvailabilityForm-CbDi_p8_.js.br +0 -0
- package/dist/EventAvailabilityForm-CbDi_p8_.js.gz +0 -0
- package/dist/Field-Cc-4lMUy.js.br +0 -0
- package/dist/Field-Cc-4lMUy.js.gz +0 -0
- package/dist/HotelAvailabilityForm-BJBIDC9q.js +0 -323
- package/dist/HotelAvailabilityForm-BJBIDC9q.js.br +0 -0
- package/dist/HotelAvailabilityForm-BJBIDC9q.js.gz +0 -0
- package/dist/SelectField-DL44GLNP.js.br +0 -0
- package/dist/SelectField-DL44GLNP.js.gz +0 -0
- package/dist/TermsOfService-BooZoxeP.js.br +0 -0
- package/dist/TermsOfService-BooZoxeP.js.gz +0 -5
- package/dist/_-1mu2AkBc.js.br +0 -0
- package/dist/_-1mu2AkBc.js.gz +0 -0
- package/dist/dist-DaYqJRBP.js.br +0 -0
- package/dist/dist-DaYqJRBP.js.gz +0 -0
- package/dist/dist-NdOAdEkO.js.br +0 -0
- package/dist/dist-NdOAdEkO.js.gz +0 -0
- package/dist/giftCard-kmfd4BQT.js.br +0 -0
- package/dist/giftCard-kmfd4BQT.js.gz +0 -0
- package/dist/style-D6Tfjde8.js.br +0 -0
- package/dist/style-D6Tfjde8.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
|
|
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--l1eOjS1.js";
|
|
4
|
+
import { $ as R, C as oe, D as se, E as ce, G as le, H as ue, I as de, K as fe, L as pe, N as me, O as he, R as ge, S as z, V as _e, W as ve, X as ye, _ 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-r22YPAUL.js";
|
|
5
|
+
import { n as je, t as Me } from "./AvailabilitySkeleton-B0IVrbPR.js";
|
|
6
|
+
import { t as Ne } from "./HotelAvailabilityForm-BkFh-xjM.js";
|
|
7
|
+
import { t as Pe } from "./style-DrcTF76a.js";
|
|
8
|
+
import { t as Fe } from "./ActionField-BdJrefVj.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-Dh-1NrsU.js";
|
|
10
|
+
import { a as Ge, i as Ke, n as U, o as qe, t as Je } from "./CheckoutWindow-DUI4JgZ8.js";
|
|
11
|
+
import { t as Ye } from "./TermsOfService-DtShydK8.js";
|
|
12
12
|
//#region node_modules/inner-image-zoom/src/utils/images.js
|
|
13
13
|
function Xe(e, t) {
|
|
14
14
|
return t ? {
|
|
@@ -322,19 +322,19 @@ 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__ */
|
|
325
|
+
var _t = /* @__PURE__ */ z(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 = {
|
|
335
335
|
key: 1,
|
|
336
336
|
class: "konnectio-accept-terms"
|
|
337
|
-
}, Ft = { class: "konnectio-hotel-reservation-tooltip" }, It = /*#__PURE__*/
|
|
337
|
+
}, Ft = { class: "konnectio-hotel-reservation-tooltip" }, It = /*#__PURE__*/ z(/* @__PURE__ */ d({
|
|
338
338
|
__name: "HotelReservationForm",
|
|
339
339
|
props: {
|
|
340
340
|
forceArrivalTime: {},
|
|
@@ -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(
|
|
361
|
+
let { t } = v(), { disableNewsletterSignup: r, currency: i } = T(ce()), { hasArrivalDepartureInputs: s } = ce(), { 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: R, discountCode: se, hasTermOfService: ue, acceptTerms: fe, totalTemplateAddonPrice: pe, totalRooms: me, totalAdults: z, totalChildren: _e, weekendFee: ve, selectedMemberCardData: be, appliedDiscountCode: xe, guestDiscountCode: B, isValidatingDiscountCode: Se } = T(he()), { hasHotelLocations: Ce } = T(oe()), { removeRoom: we, validateDiscountCode: Te, getMandatoryRoomGroupAddons: Ee, getTemplateRoomUnitPrice: Oe, resetDiscountVoucher: ke, setGuestDiscountCode: Ae, clearGuestDiscountCode: V, fetchAvailabilityData: je } = he(), { getHotelLocationName: Me } = oe(), 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);
|
|
@@ -371,59 +371,59 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
371
371
|
return (v, T) => {
|
|
372
372
|
let F = A("tooltip");
|
|
373
373
|
return c(), o(Ie, {
|
|
374
|
-
"discount-code": _(
|
|
375
|
-
"onUpdate:discountCode": T[4] ||= (e) => x(
|
|
376
|
-
"validate-discount-code": _(
|
|
374
|
+
"discount-code": _(se),
|
|
375
|
+
"onUpdate:discountCode": T[4] ||= (e) => x(se) ? se.value = e : null,
|
|
376
|
+
"validate-discount-code": _(Te),
|
|
377
377
|
"total-price": _(h),
|
|
378
|
-
"weekend-fee": _(
|
|
378
|
+
"weekend-fee": _(ve),
|
|
379
379
|
"show-gift-card": e.showGiftCard,
|
|
380
380
|
"availability-discount": e.availabilityDiscount,
|
|
381
381
|
"show-terms-notice": e.showTermsNotice,
|
|
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
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(_(de)(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
394
|
g("span", xt, w(_(de)(r.name)), 1),
|
|
395
|
-
g("span",
|
|
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"
|
|
403
403
|
}), g("span", null, w(s.childrenCount), 1)])) : a("", !0)]), s.roomName ? (c(), f("span", Ct, "(" + w(s.roomName) + ")", 1)) : a("", !0)]),
|
|
404
|
-
g("b", null, [g("span", null, w(_(
|
|
404
|
+
g("b", null, [g("span", null, w(_(ye)(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(_(
|
|
414
|
-
g("span", Dt, [g("span", null, w(_(de)(_(te).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), _(ne).filter((t) => t.roomGroupId === e.roomGroupId).length > 1 ? (c(), f("span",
|
|
415
|
-
g("span",
|
|
413
|
+
]), Le(s.roomAddons) > 0 ? (c(), f("li", Tt, [g("span", null, w(_(t)("general.addons")), 1), g("b", null, w(_(ye)(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(_(de)(_(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(_(de)(_(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(_(
|
|
425
|
-
_(
|
|
426
|
-
]))), 128)), _(
|
|
424
|
+
g("b", null, [g("span", null, w(_(ye)(_(Oe)(e.roomGroupId, e.adults, e.children) + _(ve), _(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(_(ye)(e.price, _(i))), 1)])], 64))), 256)) : a("", !0)
|
|
426
|
+
]))), 128)), _(pe) ? (c(), f("li", jt, [g("span", null, w(_(t)("general.addons")), 1), g("b", null, w(_(ye)(_(pe), _(i))), 1)])) : a("", !0)])])])) : a("", !0)]),
|
|
427
427
|
actions: j(() => [g("ul", Mt, [
|
|
428
428
|
_(r) ? a("", !0) : (c(), f("div", Nt, [C(Ke, {
|
|
429
429
|
modelValue: _(I),
|
|
@@ -433,8 +433,8 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
433
433
|
label: _(t)("booking.reservation.newsletterSignUp")
|
|
434
434
|
}, null, 8, ["modelValue", "label"])])),
|
|
435
435
|
_(ue) ? (c(), f("div", Pt, [C(Ke, {
|
|
436
|
-
modelValue: _(
|
|
437
|
-
"onUpdate:modelValue": T[2] ||= (e) => x(
|
|
436
|
+
modelValue: _(fe),
|
|
437
|
+
"onUpdate:modelValue": T[2] ||= (e) => x(fe) ? fe.value = e : null,
|
|
438
438
|
type: "checkbox",
|
|
439
439
|
name: "terms"
|
|
440
440
|
}, {
|
|
@@ -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(_(le)(_(t)("general.termsAndConditions"))), 1)])]),
|
|
450
450
|
_: 1
|
|
451
451
|
})]),
|
|
452
452
|
_: 1
|
|
@@ -455,45 +455,45 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
455
455
|
C(Ye, {
|
|
456
456
|
modelValue: Ne.value,
|
|
457
457
|
"onUpdate:modelValue": T[3] ||= (e) => Ne.value = e,
|
|
458
|
-
description: _(
|
|
458
|
+
description: _(R)
|
|
459
459
|
}, null, 8, ["modelValue", "description"])
|
|
460
460
|
])]),
|
|
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(_(
|
|
465
|
-
b((c(), f("span", Ft, [C(
|
|
464
|
+
g("b", null, w(_(ge)(_(D), _(O))) + " " + w(_(le)(_(ge)(_(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
|
}]])
|
|
473
473
|
]),
|
|
474
474
|
"mobile-summary": j(() => [
|
|
475
|
-
g("span", null, w(`${_(
|
|
476
|
-
g("span", null, w(`${_(
|
|
477
|
-
g("span", null, w(`${_(
|
|
475
|
+
g("span", null, w(`${_(z)} ${_(z) === 1 ? _(t)("general.adult") : _(t)("general.adults")}`), 1),
|
|
476
|
+
g("span", null, w(`${_(_e)} ${_(_e) === 1 ? _(t)("general.child") : _(t)("general.children")}`), 1),
|
|
477
|
+
g("span", null, w(`${_(me)} ${_(me) === 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(_(
|
|
496
|
-
_(
|
|
495
|
+
g("li", null, [g("span", null, w(_(t)("booking.reservation.nights")), 1), g("b", null, w(_(ge)(_(D), _(O))) + " " + w(_(le)(_(ge)(_(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__*/ z(/* @__PURE__ */ d({
|
|
519
519
|
__name: "GuestDiscountForm",
|
|
520
520
|
setup(e) {
|
|
521
|
-
let { t } = v(), n =
|
|
521
|
+
let { t } = v(), n = Ce("history"), r = he(), { display: i } = me(), 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__*/ z(/* @__PURE__ */ d({
|
|
564
564
|
__name: "DiscountCodeForm",
|
|
565
565
|
setup(e) {
|
|
566
|
-
let { t } = v(), n =
|
|
566
|
+
let { t } = v(), n = Ce("history"), r = he(), { display: i } = me(), 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__*/ z(/* @__PURE__ */ d({
|
|
602
602
|
__name: "RoomConfigField",
|
|
603
603
|
props: {
|
|
604
604
|
modelValue: {},
|
|
@@ -615,7 +615,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
615
615
|
},
|
|
616
616
|
emits: ["update:modelValue"],
|
|
617
617
|
setup(e, { emit: t }) {
|
|
618
|
-
let { t: n } = v(), { currency: i } = T(
|
|
618
|
+
let { t: n } = v(), { currency: i } = T(ce()), s = t, l = e;
|
|
619
619
|
function u(e) {
|
|
620
620
|
s("update:modelValue", e);
|
|
621
621
|
}
|
|
@@ -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,20 +636,20 @@ 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"
|
|
650
650
|
}), g("span", null, w(`${e.children}`), 1)])) : a("", !0)
|
|
651
|
-
]), g("span", null, w(`(${_(
|
|
652
|
-
"selected-option": j(({ data: e }) => [g("div", Gt, [g("div", Kt, [g("div", null, [a("", !0), g("span", null, w(`${e.adults} ${e.adults === 1 ? _(n)("general.adult") : _(n)("general.adults")}`), 1)]), e.children > 0 ? (c(), f("div", qt, [a("", !0), g("span", null, w(`& ${e.children} ${e.children === 1 ? _(n)("general.child") : _(n)("general.children")}`), 1)])) : a("", !0)]), g("div", Jt, [s[1] ||= g("span", null, null, -1), r(" " + w(`(${_(
|
|
651
|
+
]), g("span", null, w(`(${_(ye)(e.price, _(i))})`), 1)])]),
|
|
652
|
+
"selected-option": j(({ data: e }) => [g("div", Gt, [g("div", Kt, [g("div", null, [a("", !0), g("span", null, w(`${e.adults} ${e.adults === 1 ? _(n)("general.adult") : _(n)("general.adults")}`), 1)]), e.children > 0 ? (c(), f("div", qt, [a("", !0), g("span", null, w(`& ${e.children} ${e.children === 1 ? _(n)("general.child") : _(n)("general.children")}`), 1)])) : a("", !0)]), g("div", Jt, [s[1] ||= g("span", null, null, -1), r(" " + w(`(${_(ye)(e.price, _(i))})`), 1)])])]),
|
|
653
653
|
_: 1
|
|
654
654
|
}, 8, [
|
|
655
655
|
"modelValue",
|
|
@@ -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) {
|
|
@@ -1211,8 +1211,8 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1211
1211
|
var n = Math.PI / 180, r = e.lat * n, i = t.lat * n, a = Math.sin((t.lat - e.lat) * n / 2), o = Math.sin((t.lng - e.lng) * n / 2), s = a * a + Math.cos(r) * Math.cos(i) * o * o, c = 2 * Math.atan2(Math.sqrt(s), Math.sqrt(1 - s));
|
|
1212
1212
|
return this.R * c;
|
|
1213
1213
|
}
|
|
1214
|
-
}),
|
|
1215
|
-
R
|
|
1214
|
+
}), R = 6378137, oe = {
|
|
1215
|
+
R,
|
|
1216
1216
|
MAX_LATITUDE: 85.0511287798,
|
|
1217
1217
|
project: function(e) {
|
|
1218
1218
|
var t = Math.PI / 180, n = this.MAX_LATITUDE, r = Math.max(Math.min(n, e.lat), -n), i = Math.sin(r * t);
|
|
@@ -1223,18 +1223,18 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1223
1223
|
return new N((2 * Math.atan(Math.exp(e.y / this.R)) - Math.PI / 2) * t, e.x * t / this.R);
|
|
1224
1224
|
},
|
|
1225
1225
|
bounds: (function() {
|
|
1226
|
-
var e =
|
|
1226
|
+
var e = R * Math.PI;
|
|
1227
1227
|
return new k([-e, -e], [e, e]);
|
|
1228
1228
|
})()
|
|
1229
1229
|
};
|
|
1230
|
-
function
|
|
1230
|
+
function se(e, t, n, r) {
|
|
1231
1231
|
if (_(e)) {
|
|
1232
1232
|
this._a = e[0], this._b = e[1], this._c = e[2], this._d = e[3];
|
|
1233
1233
|
return;
|
|
1234
1234
|
}
|
|
1235
1235
|
this._a = e, this._b = t, this._c = n, this._d = r;
|
|
1236
1236
|
}
|
|
1237
|
-
|
|
1237
|
+
se.prototype = {
|
|
1238
1238
|
transform: function(e, t) {
|
|
1239
1239
|
return this._transform(e.clone(), t);
|
|
1240
1240
|
},
|
|
@@ -1245,29 +1245,29 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1245
1245
|
return t ||= 1, new E((e.x / t - this._b) / this._a, (e.y / t - this._d) / this._c);
|
|
1246
1246
|
}
|
|
1247
1247
|
};
|
|
1248
|
-
function
|
|
1249
|
-
return new
|
|
1248
|
+
function ce(e, t, n, r) {
|
|
1249
|
+
return new se(e, t, n, r);
|
|
1250
1250
|
}
|
|
1251
|
-
var
|
|
1251
|
+
var le = n({}, I, {
|
|
1252
1252
|
code: "EPSG:3857",
|
|
1253
|
-
projection:
|
|
1253
|
+
projection: oe,
|
|
1254
1254
|
transformation: function() {
|
|
1255
|
-
var e = .5 / (Math.PI *
|
|
1256
|
-
return
|
|
1255
|
+
var e = .5 / (Math.PI * oe.R);
|
|
1256
|
+
return ce(e, .5, -e, .5);
|
|
1257
1257
|
}()
|
|
1258
|
-
}),
|
|
1259
|
-
function
|
|
1258
|
+
}), ue = n({}, le, { code: "EPSG:900913" });
|
|
1259
|
+
function de(e) {
|
|
1260
1260
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
1261
1261
|
}
|
|
1262
|
-
function
|
|
1262
|
+
function fe(e, t) {
|
|
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
|
|
1270
|
+
var pe = document.documentElement.style, me = "ActiveXObject" in window, he = me && !document.addEventListener, ge = "msLaunchUri" in navigator && !("documentMode" in document), z = Ke("webkit"), _e = Ke("android"), ve = Ke("android 2") || Ke("android 3"), ye = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), be = _e && Ke("Google") && ye < 537 && !("AudioNode" in window), xe = !!window.opera, B = !ge && Ke("chrome"), Se = Ke("gecko") && !z && !xe && !me, Ce = !B && Ke("safari"), we = Ke("phantom"), Te = "OTransition" in pe, Ee = navigator.platform.indexOf("Win") === 0, De = me && "transition" in pe, Oe = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !ve, ke = "MozPerspective" in pe, Ae = !window.L_DISABLE_3D && (De || Oe || ke) && !Te && !we, V = typeof orientation < "u" || Ke("mobile"), H = V && z, 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 && de("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
|
|
1298
|
-
ie:
|
|
1299
|
-
ielt9:
|
|
1300
|
-
edge:
|
|
1301
|
-
webkit:
|
|
1302
|
-
android:
|
|
1303
|
-
android23:
|
|
1304
|
-
androidStock:
|
|
1297
|
+
var U = {
|
|
1298
|
+
ie: me,
|
|
1299
|
+
ielt9: he,
|
|
1300
|
+
edge: ge,
|
|
1301
|
+
webkit: z,
|
|
1302
|
+
android: _e,
|
|
1303
|
+
android23: ve,
|
|
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
|
-
|
|
1359
|
-
}
|
|
1360
|
-
function ot(e) {
|
|
1361
|
-
delete et[e.pointerId];
|
|
1361
|
+
delete $e[e.pointerId];
|
|
1362
1362
|
}
|
|
1363
|
-
function
|
|
1364
|
-
|
|
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);
|
|
1365
1365
|
}
|
|
1366
|
-
function
|
|
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");
|
|
@@ -1707,7 +1707,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1707
1707
|
}
|
|
1708
1708
|
}), Q = T.extend({
|
|
1709
1709
|
options: {
|
|
1710
|
-
crs:
|
|
1710
|
+
crs: le,
|
|
1711
1711
|
center: void 0,
|
|
1712
1712
|
zoom: void 0,
|
|
1713
1713
|
minZoom: void 0,
|
|
@@ -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
|
+
}, fn = 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]));
|
|
@@ -2509,18 +2509,18 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2509
2509
|
var t = 10 ** ((Math.floor(e) + "").length - 1), n = e / t;
|
|
2510
2510
|
return n = n >= 10 ? 10 : n >= 5 ? 5 : n >= 3 ? 3 : n >= 2 ? 2 : 1, t * n;
|
|
2511
2511
|
}
|
|
2512
|
-
}),
|
|
2513
|
-
return new
|
|
2512
|
+
}), $ = function(e) {
|
|
2513
|
+
return new fn(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 = fn, on.Attribution = pn, sn.layers = ln, sn.zoom = dn, sn.scale = $, 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,
|
|
@@ -2780,21 +2780,21 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2780
2780
|
__proto__: null,
|
|
2781
2781
|
LonLat: Rn,
|
|
2782
2782
|
Mercator: zn,
|
|
2783
|
-
SphericalMercator:
|
|
2783
|
+
SphericalMercator: oe
|
|
2784
2784
|
}, Vn = n({}, I, {
|
|
2785
2785
|
code: "EPSG:3395",
|
|
2786
2786
|
projection: zn,
|
|
2787
2787
|
transformation: function() {
|
|
2788
2788
|
var e = .5 / (Math.PI * zn.R);
|
|
2789
|
-
return
|
|
2789
|
+
return ce(e, .5, -e, .5);
|
|
2790
2790
|
}()
|
|
2791
2791
|
}), Hn = n({}, I, {
|
|
2792
2792
|
code: "EPSG:4326",
|
|
2793
2793
|
projection: Rn,
|
|
2794
|
-
transformation:
|
|
2794
|
+
transformation: ce(1 / 180, 1, -1 / 180, .5)
|
|
2795
2795
|
}), Un = n({}, F, {
|
|
2796
2796
|
projection: Rn,
|
|
2797
|
-
transformation:
|
|
2797
|
+
transformation: ce(1, 0, -1, 0),
|
|
2798
2798
|
scale: function(e) {
|
|
2799
2799
|
return 2 ** e;
|
|
2800
2800
|
},
|
|
@@ -2807,7 +2807,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2807
2807
|
},
|
|
2808
2808
|
infinite: !0
|
|
2809
2809
|
});
|
|
2810
|
-
F.Earth = I, F.EPSG3395 = Vn, F.EPSG3857 =
|
|
2810
|
+
F.Earth = I, F.EPSG3395 = Vn, F.EPSG3857 = le, F.EPSG900913 = ue, F.EPSG4326 = Hn, F.Simple = Un;
|
|
2811
2811
|
var Wn = T.extend({
|
|
2812
2812
|
options: {
|
|
2813
2813
|
pane: "overlayPane",
|
|
@@ -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 : de, 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();
|
|
@@ -4821,7 +4821,7 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4821
4821
|
t && (n.stroke ? (t.setAttribute("stroke", n.color), t.setAttribute("stroke-opacity", n.opacity), t.setAttribute("stroke-width", n.weight), t.setAttribute("stroke-linecap", n.lineCap), t.setAttribute("stroke-linejoin", n.lineJoin), n.dashArray ? t.setAttribute("stroke-dasharray", n.dashArray) : t.removeAttribute("stroke-dasharray"), n.dashOffset ? t.setAttribute("stroke-dashoffset", n.dashOffset) : t.removeAttribute("stroke-dashoffset")) : t.setAttribute("stroke", "none"), n.fill ? (t.setAttribute("fill", n.fillColor || n.color), t.setAttribute("fill-opacity", n.fillOpacity), t.setAttribute("fill-rule", n.fillRule || "evenodd")) : t.setAttribute("fill", "none"));
|
|
4822
4822
|
},
|
|
4823
4823
|
_updatePoly: function(e, t) {
|
|
4824
|
-
this._setPath(e,
|
|
4824
|
+
this._setPath(e, fe(e._parts, t));
|
|
4825
4825
|
},
|
|
4826
4826
|
_updateCircle: function(e) {
|
|
4827
4827
|
var t = e._point, n = Math.max(Math.round(e._radius), 1), r = Math.max(Math.round(e._radiusY), 1) || n, i = "a" + n + "," + r + " 0 1,0 ", a = e._empty() ? "M0 0" : "M" + (t.x - n) + "," + t.y + i + n * 2 + ",0 " + i + -n * 2 + ",0 ";
|
|
@@ -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) {
|
|
@@ -4874,22 +4874,22 @@ var _t = /* @__PURE__ */ R(ct, [["render", gt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4874
4874
|
function Xr(e, t) {
|
|
4875
4875
|
return new Yr(e, t);
|
|
4876
4876
|
}
|
|
4877
|
-
qr.create = Kr, qr.pointsToPath =
|
|
4877
|
+
qr.create = Kr, qr.pointsToPath = fe, ur.geometryToLayer = dr, ur.coordsToLatLng = pr, ur.coordsToLatLngs = mr, ur.latLngToCoords = hr, ur.latLngsToCoords = gr, ur.getFeature = _r, ur.asFeature = vr, Q.mergeOptions({ boxZoom: !0 });
|
|
4878
4878
|
var Zr = mn.extend({
|
|
4879
4879
|
initialize: function(e) {
|
|
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 = se, 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 = ce, 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__*/ z(/* @__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(he()), o =
|
|
5992
|
-
iconUrl:
|
|
5991
|
+
let { t: n } = v(), r = t, i = e, { hotelMapImage: a } = T(he()), 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__*/ z(/* @__PURE__ */ d({
|
|
6086
6086
|
__name: "Hotel",
|
|
6087
6087
|
props: {
|
|
6088
6088
|
room: {},
|
|
@@ -6100,7 +6100,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6100
6100
|
let { t: i } = v(), u = e, d = F([]);
|
|
6101
6101
|
function p() {
|
|
6102
6102
|
let e = d.value.length;
|
|
6103
|
-
|
|
6103
|
+
ue(e);
|
|
6104
6104
|
}
|
|
6105
6105
|
function h(e) {
|
|
6106
6106
|
d.value.splice(e, 1);
|
|
@@ -6108,18 +6108,18 @@ 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(
|
|
6111
|
+
}))), { hideAvailableRoomAmount: te, autoSelectRateId: b, enableMultipleConfigurations: re, hasSharedAddonSelection: x } = T(ce()), { location: S } = T(oe()), { roomSelect: ie, isSearchOutdated: ae } = T(he()), { addToCart: E, removeFromCart: D } = se(), O = (e, t) => u.room.rates.find((t) => t.id === e)?.occupantRates.find((e) => e.index === t), k = N(() => u.room.roomList.some((e) => e.mapImageX && e.mapImageY)), A = N(() => u.room.rates.every((e) => e.isBreakfastIncluded === !0)), P = (e, t) => O(e, t) ? O(e, t)?.rooms : null, I = (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,
|
|
6115
6115
|
children: e.childrenCount,
|
|
6116
6116
|
hasBreakfast: e.hasBreakfast
|
|
6117
|
-
})) || [],
|
|
6118
|
-
function
|
|
6117
|
+
})) || [], R = N(() => u.room.rates.length > 1);
|
|
6118
|
+
function le(e, t) {
|
|
6119
6119
|
d.value[e].config[0].id = u.room.rates.find((e) => e.id === t.value)?.occupantRateIndex || NaN;
|
|
6120
6120
|
}
|
|
6121
|
-
function
|
|
6122
|
-
|
|
6121
|
+
function ue(e = 0) {
|
|
6122
|
+
R.value ? b.value ? d.value[e] = {
|
|
6123
6123
|
id: u.room.bestRateMatch || void 0,
|
|
6124
6124
|
config: [{
|
|
6125
6125
|
id: u.room.bestRateMatch && !isNaN(u.room.bestRateMatch) ? u.room.rates.find((e) => e.id === u.room.bestRateMatch)?.occupantRateIndex : NaN,
|
|
@@ -6143,24 +6143,27 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6143
6143
|
};
|
|
6144
6144
|
}
|
|
6145
6145
|
return l(() => {
|
|
6146
|
-
|
|
6146
|
+
ue();
|
|
6147
6147
|
}), ne(N(() => JSON.parse(JSON.stringify(d.value))), (e, t) => {
|
|
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
|
|
6152
|
-
|
|
6153
|
-
|
|
6154
|
-
|
|
6155
|
-
|
|
6151
|
+
if (i !== a) if (i > a) {
|
|
6152
|
+
let e = d.value[n].config[r].addons;
|
|
6153
|
+
e.push(x.value(S.value) ? e[0] ?? {} : {}), E({
|
|
6154
|
+
id: u.room.id,
|
|
6155
|
+
name: u.room.title,
|
|
6156
|
+
value: u.room.rates[n].rackRate
|
|
6157
|
+
});
|
|
6158
|
+
} else d.value[n].config[r].addons.pop(), D({
|
|
6156
6159
|
id: u.room.id,
|
|
6157
6160
|
name: u.room.title,
|
|
6158
6161
|
value: u.room.rates[n].rackRate
|
|
6159
|
-
})
|
|
6162
|
+
});
|
|
6160
6163
|
});
|
|
6161
6164
|
});
|
|
6162
6165
|
}, { deep: !0 }), ne(d, () => {
|
|
6163
|
-
|
|
6166
|
+
ie.value[u.room.id] = d.value;
|
|
6164
6167
|
}, { deep: !0 }), (l, u) => (c(), o(ze, {
|
|
6165
6168
|
type: "hotel",
|
|
6166
6169
|
"listing-id": e.room.id,
|
|
@@ -6170,19 +6173,19 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6170
6173
|
layout: e.layout,
|
|
6171
6174
|
facilities: e.room.facilities,
|
|
6172
6175
|
"prices-from": e.room.pricesFrom,
|
|
6173
|
-
"includes-breakfast":
|
|
6176
|
+
"includes-breakfast": A.value
|
|
6174
6177
|
}, {
|
|
6175
6178
|
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
6179
|
key: o.id,
|
|
6177
6180
|
class: "konnectio-hotel-room"
|
|
6178
|
-
}, [
|
|
6181
|
+
}, [R.value ? (c(), f("div", en, [C(Ae, {
|
|
6179
6182
|
modelValue: o.id,
|
|
6180
6183
|
"onUpdate:modelValue": (e) => o.id = e,
|
|
6181
6184
|
label: _(i)("hotel.roomVariant"),
|
|
6182
6185
|
placeholder: _(i)("hotel.chooseARoomVariant"),
|
|
6183
6186
|
options: ee.value,
|
|
6184
6187
|
searchable: !1,
|
|
6185
|
-
onChanged: (e) =>
|
|
6188
|
+
onChanged: (e) => le(s, e)
|
|
6186
6189
|
}, null, 8, [
|
|
6187
6190
|
"modelValue",
|
|
6188
6191
|
"onUpdate:modelValue",
|
|
@@ -6190,27 +6193,27 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6190
6193
|
"placeholder",
|
|
6191
6194
|
"options",
|
|
6192
6195
|
"onChanged"
|
|
6193
|
-
]), d.value.length > 1 ? (c(), f("div",
|
|
6196
|
+
]), d.value.length > 1 ? (c(), f("div", tn, [C(V, {
|
|
6194
6197
|
style: { "--buttonBackground": "var(--dangerColor)" },
|
|
6195
6198
|
icon: "trash-alt",
|
|
6196
6199
|
"icon-type": "fas",
|
|
6197
6200
|
onClickEvent: (e) => h(s),
|
|
6198
6201
|
secondary: ""
|
|
6199
|
-
}, null, 8, ["onClickEvent"])])) : a("", !0)])) : a("", !0), o.id ? (c(), f("div",
|
|
6202
|
+
}, 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
6203
|
key: s,
|
|
6201
6204
|
class: "konnectio-listing-action-selective-i"
|
|
6202
6205
|
}, [o.id === s ? (c(!0), f(y, { key: 0 }, m(o.config, (a, d) => (c(), f("div", {
|
|
6203
6206
|
key: d,
|
|
6204
6207
|
class: "konnectio-listing-action-selective"
|
|
6205
|
-
}, [g("ul",
|
|
6208
|
+
}, [g("ul", rn, [C(Yt, {
|
|
6206
6209
|
modelValue: a.id,
|
|
6207
6210
|
"onUpdate:modelValue": (e) => a.id = e,
|
|
6208
6211
|
icon: "male",
|
|
6209
6212
|
"icon-type": "fas",
|
|
6210
6213
|
label: _(i)("general.guests"),
|
|
6211
6214
|
description: l === 0 ? void 0 : `${_(i)("general.maximumGuests")}: ${l}`,
|
|
6212
|
-
options:
|
|
6213
|
-
readonly: !(
|
|
6215
|
+
options: I(s),
|
|
6216
|
+
readonly: !(I(s).length > 1)
|
|
6214
6217
|
}, null, 8, [
|
|
6215
6218
|
"modelValue",
|
|
6216
6219
|
"onUpdate:modelValue",
|
|
@@ -6218,13 +6221,13 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6218
6221
|
"description",
|
|
6219
6222
|
"options",
|
|
6220
6223
|
"readonly"
|
|
6221
|
-
])]),
|
|
6224
|
+
])]), k.value ? (c(), f("div", an, [C(V, {
|
|
6222
6225
|
onClickEvent: n,
|
|
6223
6226
|
label: _(i)("hotel.selectRoomOnMap"),
|
|
6224
6227
|
secondary: "",
|
|
6225
6228
|
"full-width": "",
|
|
6226
|
-
disabled: _(
|
|
6227
|
-
}, null, 8, ["label", "disabled"]), C(
|
|
6229
|
+
disabled: _(ae)
|
|
6230
|
+
}, null, 8, ["label", "disabled"]), C($t, {
|
|
6228
6231
|
modelValue: t.value,
|
|
6229
6232
|
"onUpdate:modelValue": u[0] ||= (e) => t.value = e,
|
|
6230
6233
|
"room-list": e.room.roomList,
|
|
@@ -6234,23 +6237,23 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6234
6237
|
"modelValue",
|
|
6235
6238
|
"room-list",
|
|
6236
6239
|
"config"
|
|
6237
|
-
])])) : (c(), f("ul",
|
|
6240
|
+
])])) : (c(), f("ul", Q, [C(Oe, {
|
|
6238
6241
|
modelValue: a.units,
|
|
6239
6242
|
"onUpdate:modelValue": (e) => a.units = e,
|
|
6240
|
-
description: _(te) ? void 0 : `${_(i)("booking.availability.availableUnits")}: ${
|
|
6243
|
+
description: _(te) ? void 0 : `${_(i)("booking.availability.availableUnits")}: ${P(o.id, a.id)}`,
|
|
6241
6244
|
icon: "house",
|
|
6242
6245
|
"icon-type": "fas",
|
|
6243
6246
|
"icon-placement": "label",
|
|
6244
6247
|
label: _(i)("booking.availability.units"),
|
|
6245
6248
|
minValue: 0,
|
|
6246
|
-
"max-value":
|
|
6249
|
+
"max-value": P(s, a.id) || Infinity
|
|
6247
6250
|
}, null, 8, [
|
|
6248
6251
|
"modelValue",
|
|
6249
6252
|
"onUpdate:modelValue",
|
|
6250
6253
|
"description",
|
|
6251
6254
|
"label",
|
|
6252
6255
|
"max-value"
|
|
6253
|
-
])]))]))), 128)) : a("", !0)]))), 128))])) : a("", !0)]))), 128)), _(re) &&
|
|
6256
|
+
])]))]))), 128)) : a("", !0)]))), 128))])) : a("", !0)]))), 128)), _(re) && R.value ? (c(), f("button", {
|
|
6254
6257
|
key: 0,
|
|
6255
6258
|
class: "konnectio-hotel-add-extra-room link",
|
|
6256
6259
|
onClick: M(p, ["prevent"])
|
|
@@ -6267,10 +6270,10 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6267
6270
|
"includes-breakfast"
|
|
6268
6271
|
]));
|
|
6269
6272
|
}
|
|
6270
|
-
}), [["__scopeId", "data-v-
|
|
6273
|
+
}), [["__scopeId", "data-v-3ff28d7e"]]), 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" }, fn = { class: "konnectio-template-footer" }, $ = {
|
|
6271
6274
|
key: 0,
|
|
6272
6275
|
class: "konnectio-template-selection-preview"
|
|
6273
|
-
},
|
|
6276
|
+
}, 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__*/ z(/* @__PURE__ */ d({
|
|
6274
6277
|
__name: "Template",
|
|
6275
6278
|
props: {
|
|
6276
6279
|
title: {},
|
|
@@ -6281,89 +6284,85 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6281
6284
|
callback: { type: Function }
|
|
6282
6285
|
},
|
|
6283
6286
|
setup(e) {
|
|
6284
|
-
let { t } = v(), n =
|
|
6287
|
+
let { t } = v(), n = ce(), i = he(), { location: l, adults: u, children: d } = T(oe()), { templateID: p, roomGroupID: h, templateRoomSelections: b, selectionHasNoAddons: re, currentAdults: x, currentChildren: S } = T(i), { currency: ie } = T(n), { clearRoomSelection: ae } = i, { addToCart: E } = se(), { hasChildSelection: D, hasSharedAddonSelection: O } = n, k = e, A = F(!1), M = u.value || 1, P = d.value || 0, I = te({}), R = N(() => {
|
|
6285
6288
|
function e(e, t) {
|
|
6286
|
-
return
|
|
6289
|
+
return A.value === !0 ? e.extraPrice > t.extraPrice ? -1 : 1 : e.extraPrice > t.extraPrice ? 1 : -1;
|
|
6287
6290
|
}
|
|
6288
|
-
let t =
|
|
6291
|
+
let t = k.roomGroups?.slice().sort(e) || [];
|
|
6289
6292
|
return t.forEach((e) => {
|
|
6290
|
-
|
|
6293
|
+
I[e.id] || (I[e.id] = {
|
|
6291
6294
|
units: 0,
|
|
6292
6295
|
configs: [{
|
|
6293
|
-
adults:
|
|
6294
|
-
children:
|
|
6296
|
+
adults: M,
|
|
6297
|
+
children: P
|
|
6295
6298
|
}]
|
|
6296
6299
|
});
|
|
6297
6300
|
}), t;
|
|
6298
6301
|
});
|
|
6299
|
-
function
|
|
6300
|
-
return
|
|
6302
|
+
function le(e) {
|
|
6303
|
+
return R.value.find((t) => t.id === e);
|
|
6301
6304
|
}
|
|
6302
|
-
function
|
|
6303
|
-
let t =
|
|
6304
|
-
if (!t) return
|
|
6305
|
+
function de(e) {
|
|
6306
|
+
let t = le(e);
|
|
6307
|
+
if (!t) return M;
|
|
6305
6308
|
let n = t.otherPriceOptions?.reduce((e, t) => Math.max(e, t.includedAdults), 0) ?? 0;
|
|
6306
|
-
return Math.max(n,
|
|
6309
|
+
return Math.max(n, M);
|
|
6307
6310
|
}
|
|
6308
|
-
function
|
|
6309
|
-
let t =
|
|
6310
|
-
return !t || !t.otherPriceOptions ? 0 : t.otherPriceOptions.some((e) => e.extraChildPrice > 0) ? Math.max(
|
|
6311
|
+
function fe(e) {
|
|
6312
|
+
let t = le(e);
|
|
6313
|
+
return !t || !t.otherPriceOptions ? 0 : t.otherPriceOptions.some((e) => e.extraChildPrice > 0) ? Math.max(P, 1) : 0;
|
|
6311
6314
|
}
|
|
6312
|
-
function
|
|
6313
|
-
let t =
|
|
6315
|
+
function pe(e) {
|
|
6316
|
+
let t = le(e);
|
|
6314
6317
|
return t && t.availableRoomCount || 1;
|
|
6315
6318
|
}
|
|
6316
|
-
function
|
|
6317
|
-
let t =
|
|
6318
|
-
return t ? t.extraPrice +
|
|
6319
|
+
function me(e) {
|
|
6320
|
+
let t = le(e);
|
|
6321
|
+
return t ? t.extraPrice + k.weekendFee : 0;
|
|
6319
6322
|
}
|
|
6320
|
-
ne(() => ({ ...
|
|
6321
|
-
Object.keys(
|
|
6322
|
-
let t =
|
|
6323
|
+
ne(() => ({ ...I }), () => {
|
|
6324
|
+
Object.keys(I).forEach((e) => {
|
|
6325
|
+
let t = I[Number(e)], n = t.units, r = t.configs.length;
|
|
6323
6326
|
if (n > r) for (let e = r; e < n; e++) t.configs.push({
|
|
6324
|
-
adults:
|
|
6325
|
-
children:
|
|
6327
|
+
adults: M,
|
|
6328
|
+
children: P
|
|
6326
6329
|
});
|
|
6327
6330
|
else n < r && t.configs.splice(n);
|
|
6328
6331
|
});
|
|
6329
6332
|
}, { deep: !0 });
|
|
6330
|
-
let
|
|
6331
|
-
JSON.stringify(
|
|
6333
|
+
let ge = N(() => {
|
|
6334
|
+
JSON.stringify(I);
|
|
6332
6335
|
let e = {};
|
|
6333
|
-
return
|
|
6334
|
-
let n =
|
|
6336
|
+
return R.value.forEach((t) => {
|
|
6337
|
+
let n = I[t.id];
|
|
6335
6338
|
if (!n) {
|
|
6336
6339
|
e[t.id] = [];
|
|
6337
6340
|
return;
|
|
6338
6341
|
}
|
|
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
|
-
});
|
|
6342
|
+
e[t.id] = n.configs.map((e) => ue(t, e.adults, e.children, M, P));
|
|
6344
6343
|
}), e;
|
|
6345
6344
|
});
|
|
6346
|
-
function
|
|
6347
|
-
return
|
|
6345
|
+
function z(e, t) {
|
|
6346
|
+
return ge.value[e]?.[t] ?? 0;
|
|
6348
6347
|
}
|
|
6349
|
-
function
|
|
6348
|
+
function _e() {
|
|
6350
6349
|
let e = 0;
|
|
6351
|
-
return
|
|
6352
|
-
let n =
|
|
6350
|
+
return R.value.forEach((t) => {
|
|
6351
|
+
let n = I[t.id];
|
|
6353
6352
|
if (!(!n || n.units === 0)) for (let r = 0; r < n.units; r++) {
|
|
6354
|
-
let n =
|
|
6355
|
-
e += n +
|
|
6353
|
+
let n = z(t.id, r);
|
|
6354
|
+
e += n + k.weekendFee;
|
|
6356
6355
|
}
|
|
6357
6356
|
}), e;
|
|
6358
6357
|
}
|
|
6359
|
-
function
|
|
6360
|
-
return Object.values(
|
|
6358
|
+
function ve() {
|
|
6359
|
+
return Object.values(I).reduce((e, t) => e + t.units, 0);
|
|
6361
6360
|
}
|
|
6362
|
-
let
|
|
6363
|
-
let t =
|
|
6361
|
+
let be = N(() => R.value.filter((e) => I[e.id]?.units > 0).map((e) => {
|
|
6362
|
+
let t = I[e.id], n = t.configs.slice(0, t.units).map((t, n) => ({
|
|
6364
6363
|
adults: t.adults,
|
|
6365
6364
|
children: t.children,
|
|
6366
|
-
price:
|
|
6365
|
+
price: z(e.id, n) + k.weekendFee
|
|
6367
6366
|
}));
|
|
6368
6367
|
return {
|
|
6369
6368
|
id: e.id,
|
|
@@ -6372,28 +6371,28 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6372
6371
|
units: n
|
|
6373
6372
|
};
|
|
6374
6373
|
}));
|
|
6375
|
-
ne(
|
|
6374
|
+
ne(be, () => {
|
|
6376
6375
|
ee(() => window.dispatchEvent(new Event("resize")));
|
|
6377
6376
|
});
|
|
6378
|
-
function
|
|
6379
|
-
if (!Object.values(
|
|
6380
|
-
|
|
6377
|
+
function xe() {
|
|
6378
|
+
if (!Object.values(I).some((e) => e.units > 0)) return;
|
|
6379
|
+
ae();
|
|
6381
6380
|
let e = [], t = 0, n = 0;
|
|
6382
|
-
if (
|
|
6383
|
-
let i =
|
|
6381
|
+
if (R.value.forEach((r) => {
|
|
6382
|
+
let i = I[r.id];
|
|
6384
6383
|
if (!i || i.units === 0) return;
|
|
6385
|
-
let a = i.configs.slice(0, i.units);
|
|
6384
|
+
let a = i.configs.slice(0, i.units), o = O(l.value) ? {} : null;
|
|
6386
6385
|
e.push({
|
|
6387
6386
|
roomGroupId: r.id,
|
|
6388
6387
|
unitConfigs: a.map((e) => ({
|
|
6389
6388
|
adults: e.adults,
|
|
6390
6389
|
children: e.children,
|
|
6391
|
-
addons: {}
|
|
6390
|
+
addons: o ?? {}
|
|
6392
6391
|
}))
|
|
6393
|
-
}),
|
|
6392
|
+
}), h.value ||= r.id;
|
|
6394
6393
|
for (let e = 0; e < i.units; e++) {
|
|
6395
|
-
let t =
|
|
6396
|
-
|
|
6394
|
+
let t = z(r.id, e);
|
|
6395
|
+
E({
|
|
6397
6396
|
id: r.id,
|
|
6398
6397
|
name: r.title,
|
|
6399
6398
|
value: t
|
|
@@ -6402,63 +6401,63 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6402
6401
|
a.forEach((e) => {
|
|
6403
6402
|
t += e.adults, n += e.children;
|
|
6404
6403
|
});
|
|
6405
|
-
}),
|
|
6406
|
-
|
|
6404
|
+
}), b.value = e, p.value = k.templateId, x.value = t, S.value = n, k.hideAddons === !1 && re.value === !1) {
|
|
6405
|
+
k.callback(1);
|
|
6407
6406
|
return;
|
|
6408
6407
|
}
|
|
6409
|
-
|
|
6408
|
+
k.callback(2);
|
|
6410
6409
|
}
|
|
6411
|
-
return (n, i) => (c(), o(
|
|
6410
|
+
return (n, i) => (c(), o(qe, {
|
|
6412
6411
|
title: e.title,
|
|
6413
6412
|
subtitle: _(t)("booking.availability.selectATemplateRoom")
|
|
6414
6413
|
}, {
|
|
6415
|
-
footer: j(() => [g("div",
|
|
6414
|
+
footer: j(() => [g("div", fn, [be.value.length > 0 ? (c(), f("div", $, [(c(!0), f(y, null, m(be.value, (e) => (c(), f("div", {
|
|
6416
6415
|
key: e.id,
|
|
6417
6416
|
class: "konnectio-template-selection-item"
|
|
6418
|
-
}, [g("div",
|
|
6417
|
+
}, [g("div", pn, [g("span", mn, w(e.title), 1), g("span", hn, w(_(ye)(e.totalPrice, _(ie))), 1)]), g("div", gn, [(c(!0), f(y, null, m(e.units, (e, n) => (c(), f("span", {
|
|
6419
6418
|
key: n,
|
|
6420
6419
|
class: "konnectio-template-selection-unit"
|
|
6421
6420
|
}, [
|
|
6422
6421
|
r(w(_(t)("booking.reservation.room")) + " " + w(n + 1) + ": " + w(e.adults) + " " + w(_(t)("availability.adults")) + " ", 1),
|
|
6423
6422
|
e.children > 0 ? (c(), f(y, { key: 0 }, [r(" , " + w(e.children) + " " + w(_(t)("availability.children")), 1)], 64)) : a("", !0),
|
|
6424
|
-
r(" · " + w(_(
|
|
6425
|
-
]))), 128))])]))), 128))])) : a("", !0), C(
|
|
6426
|
-
onClickEvent:
|
|
6427
|
-
label: `${
|
|
6428
|
-
disabled:
|
|
6423
|
+
r(" · " + w(_(ye)(e.price, _(ie))), 1)
|
|
6424
|
+
]))), 128))])]))), 128))])) : a("", !0), C(V, {
|
|
6425
|
+
onClickEvent: xe,
|
|
6426
|
+
label: `${ve() > 1 ? _(t)("booking.availability.selectTheseRooms") : _(t)("booking.availability.selectThisRoom")} (${_(ye)(_e(), _(ie))})`,
|
|
6427
|
+
disabled: ve() === 0,
|
|
6429
6428
|
"full-width": ""
|
|
6430
6429
|
}, null, 8, ["label", "disabled"])])]),
|
|
6431
|
-
default: j(() => [g("div",
|
|
6430
|
+
default: j(() => [g("div", sn, [g("div", cn, [(c(!0), f(y, null, m(R.value, (e) => (c(), o(ze, {
|
|
6432
6431
|
key: e.id,
|
|
6433
6432
|
type: "hotel",
|
|
6434
6433
|
"listing-id": e.id,
|
|
6435
6434
|
name: e.title,
|
|
6436
6435
|
description: e.description,
|
|
6437
6436
|
facilities: e.facilities,
|
|
6438
|
-
"prices-from":
|
|
6437
|
+
"prices-from": me(e.id),
|
|
6439
6438
|
gallery: e.images,
|
|
6440
6439
|
"includes-breakfast": !1,
|
|
6441
6440
|
"hide-info-button": !0
|
|
6442
6441
|
}, {
|
|
6443
|
-
action: j(() => [g("div",
|
|
6444
|
-
modelValue:
|
|
6445
|
-
"onUpdate:modelValue": (t) =>
|
|
6442
|
+
action: j(() => [g("div", ln, [g("div", un, [C(Oe, {
|
|
6443
|
+
modelValue: I[e.id].units,
|
|
6444
|
+
"onUpdate:modelValue": (t) => I[e.id].units = t,
|
|
6446
6445
|
label: _(t)("booking.availability.units"),
|
|
6447
6446
|
icon: "house",
|
|
6448
6447
|
"icon-type": "fas",
|
|
6449
6448
|
"icon-placement": "label",
|
|
6450
6449
|
"min-value": 0,
|
|
6451
|
-
"max-value":
|
|
6450
|
+
"max-value": pe(e.id),
|
|
6452
6451
|
controls: !0
|
|
6453
6452
|
}, null, 8, [
|
|
6454
6453
|
"modelValue",
|
|
6455
6454
|
"onUpdate:modelValue",
|
|
6456
6455
|
"label",
|
|
6457
6456
|
"max-value"
|
|
6458
|
-
])]), (c(!0), f(y, null, m(
|
|
6457
|
+
])]), (c(!0), f(y, null, m(I[e.id].configs, (n, r) => (c(), f("div", {
|
|
6459
6458
|
key: r,
|
|
6460
6459
|
class: "konnectio-template-room-unit-config"
|
|
6461
|
-
}, [g("div",
|
|
6460
|
+
}, [g("div", dn, [g("span", null, w(_(t)("booking.reservation.room")) + " " + w(r + 1), 1), g("span", null, w(_(ye)(z(e.id, r), _(ie))), 1)]), g("div", { class: s(["konnectio-template-room-guests", { "only-adult-guests": !_(D)(_(l)) }]) }, [C(Oe, {
|
|
6462
6461
|
modelValue: n.adults,
|
|
6463
6462
|
"onUpdate:modelValue": (e) => n.adults = e,
|
|
6464
6463
|
label: _(t)("availability.adults"),
|
|
@@ -6467,7 +6466,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6467
6466
|
"icon-type": "fas",
|
|
6468
6467
|
"icon-placement": "label",
|
|
6469
6468
|
"min-value": 1,
|
|
6470
|
-
"max-value":
|
|
6469
|
+
"max-value": de(e.id),
|
|
6471
6470
|
controls: !0
|
|
6472
6471
|
}, null, 8, [
|
|
6473
6472
|
"modelValue",
|
|
@@ -6475,7 +6474,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6475
6474
|
"label",
|
|
6476
6475
|
"description",
|
|
6477
6476
|
"max-value"
|
|
6478
|
-
]), _(
|
|
6477
|
+
]), _(D)(_(l)) ? (c(), o(Oe, {
|
|
6479
6478
|
key: 0,
|
|
6480
6479
|
modelValue: n.children,
|
|
6481
6480
|
"onUpdate:modelValue": (e) => n.children = e,
|
|
@@ -6485,7 +6484,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6485
6484
|
"icon-type": "fas",
|
|
6486
6485
|
"icon-placement": "label",
|
|
6487
6486
|
"min-value": 0,
|
|
6488
|
-
"max-value":
|
|
6487
|
+
"max-value": fe(e.id),
|
|
6489
6488
|
controls: !0
|
|
6490
6489
|
}, null, 8, [
|
|
6491
6490
|
"modelValue",
|
|
@@ -6506,7 +6505,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6506
6505
|
_: 1
|
|
6507
6506
|
}, 8, ["title", "subtitle"]));
|
|
6508
6507
|
}
|
|
6509
|
-
}), [["__scopeId", "data-v-
|
|
6508
|
+
}), [["__scopeId", "data-v-f84b10ec"]]), vn = { class: "konnectio-template-select-package" }, yn = /* @__PURE__ */ d({
|
|
6510
6509
|
__name: "Template",
|
|
6511
6510
|
props: {
|
|
6512
6511
|
id: {},
|
|
@@ -6532,18 +6531,18 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6532
6531
|
name: e.name,
|
|
6533
6532
|
description: e.description,
|
|
6534
6533
|
gallery: e.images,
|
|
6535
|
-
layout: _(
|
|
6534
|
+
layout: _(Se).Template,
|
|
6536
6535
|
"includes-breakfast": !1,
|
|
6537
6536
|
"hide-info-button": !1,
|
|
6538
6537
|
"prices-from": i.value
|
|
6539
6538
|
}, {
|
|
6540
|
-
action: j(() => [g("div",
|
|
6539
|
+
action: j(() => [g("div", vn, [C(V, {
|
|
6541
6540
|
onClickEvent: s,
|
|
6542
6541
|
label: _(t)("booking.availability.selectPackage"),
|
|
6543
6542
|
"full-width": "",
|
|
6544
6543
|
disabled: _(r)
|
|
6545
6544
|
}, null, 8, ["label", "disabled"])])]),
|
|
6546
|
-
default: j(() => [C(
|
|
6545
|
+
default: j(() => [C(_n, {
|
|
6547
6546
|
modelValue: a.value,
|
|
6548
6547
|
"onUpdate:modelValue": u[0] ||= (e) => a.value = e,
|
|
6549
6548
|
title: e.name,
|
|
@@ -6570,7 +6569,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6570
6569
|
"prices-from"
|
|
6571
6570
|
]));
|
|
6572
6571
|
}
|
|
6573
|
-
}),
|
|
6572
|
+
}), bn = { class: "konnectio-special-offer-availability" }, xn = { class: "konnectio-special-offer-availability-button" }, Sn = /*#__PURE__*/ z(/* @__PURE__ */ d({
|
|
6574
6573
|
__name: "SpecialOffer",
|
|
6575
6574
|
props: {
|
|
6576
6575
|
id: {},
|
|
@@ -6583,7 +6582,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6583
6582
|
roomGroups: {}
|
|
6584
6583
|
},
|
|
6585
6584
|
setup(e) {
|
|
6586
|
-
let { t } = v(), { updateDates: n } =
|
|
6585
|
+
let { t } = v(), { updateDates: n } = oe(), { display: r } = me(), i = e, a = F([]), s = N(() => ge(i.fromDate, i.toDate) === 1);
|
|
6587
6586
|
function u() {
|
|
6588
6587
|
a.value.length > 0 ? n(a.value[0], a.value[1]) : r({
|
|
6589
6588
|
message: t("alert.error.selectDates"),
|
|
@@ -6598,14 +6597,14 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6598
6597
|
name: e.name,
|
|
6599
6598
|
description: e.description,
|
|
6600
6599
|
gallery: e.images,
|
|
6601
|
-
layout: _(
|
|
6600
|
+
layout: _(Se).Template,
|
|
6602
6601
|
"includes-breakfast": !1,
|
|
6603
6602
|
"hide-info-button": !1,
|
|
6604
6603
|
"to-date": e.toDate,
|
|
6605
6604
|
"from-date": e.fromDate,
|
|
6606
6605
|
"disable-deep-link": !0
|
|
6607
6606
|
}, {
|
|
6608
|
-
action: j(() => [g("div",
|
|
6607
|
+
action: j(() => [g("div", bn, [C(je, {
|
|
6609
6608
|
modelValue: a.value,
|
|
6610
6609
|
"onUpdate:modelValue": r[0] ||= (e) => a.value = e,
|
|
6611
6610
|
label: _(t)("availability.checkInOut"),
|
|
@@ -6626,7 +6625,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6626
6625
|
"min-date",
|
|
6627
6626
|
"max-date",
|
|
6628
6627
|
"readonly"
|
|
6629
|
-
]), g("div",
|
|
6628
|
+
]), g("div", xn, [C(V, {
|
|
6630
6629
|
label: _(t)("availability.buttonLabel"),
|
|
6631
6630
|
onClick: M(u, ["prevent"])
|
|
6632
6631
|
}, null, 8, ["label"])])])]),
|
|
@@ -6641,7 +6640,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6641
6640
|
"from-date"
|
|
6642
6641
|
]));
|
|
6643
6642
|
}
|
|
6644
|
-
}), [["__scopeId", "data-v-8f8a4dff"]]),
|
|
6643
|
+
}), [["__scopeId", "data-v-8f8a4dff"]]), Cn = /* @__PURE__ */ d({
|
|
6645
6644
|
__name: "TimeField",
|
|
6646
6645
|
props: {
|
|
6647
6646
|
modelValue: {},
|
|
@@ -6695,10 +6694,10 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6695
6694
|
"max-time"
|
|
6696
6695
|
]));
|
|
6697
6696
|
}
|
|
6698
|
-
}),
|
|
6697
|
+
}), wn = { style: {
|
|
6699
6698
|
display: "flex",
|
|
6700
6699
|
"align-items": "baseline"
|
|
6701
|
-
} },
|
|
6700
|
+
} }, Tn = /*#__PURE__*/ z(/* @__PURE__ */ d({
|
|
6702
6701
|
__name: "CountryField",
|
|
6703
6702
|
props: {
|
|
6704
6703
|
modelValue: {},
|
|
@@ -6724,7 +6723,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6724
6723
|
get: () => i.modelValue,
|
|
6725
6724
|
set: (e) => a(e)
|
|
6726
6725
|
});
|
|
6727
|
-
return (t, r) => (c(), o(
|
|
6726
|
+
return (t, r) => (c(), o(Ae, {
|
|
6728
6727
|
modelValue: l.value,
|
|
6729
6728
|
"onUpdate:modelValue": r[0] ||= (e) => l.value = e,
|
|
6730
6729
|
label: e.label,
|
|
@@ -6735,7 +6734,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6735
6734
|
required: e.required
|
|
6736
6735
|
}, {
|
|
6737
6736
|
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",
|
|
6737
|
+
"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
6738
|
_: 1
|
|
6740
6739
|
}, 8, [
|
|
6741
6740
|
"modelValue",
|
|
@@ -6745,7 +6744,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6745
6744
|
"required"
|
|
6746
6745
|
]));
|
|
6747
6746
|
}
|
|
6748
|
-
}), [["__scopeId", "data-v-13aea6ce"]]),
|
|
6747
|
+
}), [["__scopeId", "data-v-13aea6ce"]]), En = /*#__PURE__*/ z(/* @__PURE__ */ d({
|
|
6749
6748
|
__name: "NameField",
|
|
6750
6749
|
props: {
|
|
6751
6750
|
modelValue: {},
|
|
@@ -6781,7 +6780,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6781
6780
|
},
|
|
6782
6781
|
emits: ["update:modelValue", "update:title"],
|
|
6783
6782
|
setup(e, { emit: t }) {
|
|
6784
|
-
let n = e, r = t, i = n.id ||
|
|
6783
|
+
let n = e, r = t, i = n.id || fe(), u = F(""), d = F(2);
|
|
6785
6784
|
function f() {
|
|
6786
6785
|
r("update:modelValue", u.value);
|
|
6787
6786
|
}
|
|
@@ -6791,7 +6790,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6791
6790
|
let { t: p } = v();
|
|
6792
6791
|
return l(() => {
|
|
6793
6792
|
n.modelValue && (u.value = n.modelValue), n.title && (d.value = n.title);
|
|
6794
|
-
}), (t, n) => (c(), o(
|
|
6793
|
+
}), (t, n) => (c(), o(be, {
|
|
6795
6794
|
label: e.label,
|
|
6796
6795
|
id: _(i),
|
|
6797
6796
|
required: e.required,
|
|
@@ -6799,11 +6798,11 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6799
6798
|
readonly: e.readonly,
|
|
6800
6799
|
limit: e.limit
|
|
6801
6800
|
}, {
|
|
6802
|
-
default: j(() => [g("div", { class: s(["konnectio-name-input", { "no-title": e.excludeTitle }]) }, [e.excludeTitle ? a("", !0) : (c(), o(
|
|
6801
|
+
default: j(() => [g("div", { class: s(["konnectio-name-input", { "no-title": e.excludeTitle }]) }, [e.excludeTitle ? a("", !0) : (c(), o(Ae, {
|
|
6803
6802
|
key: 0,
|
|
6804
6803
|
modelValue: d.value,
|
|
6805
6804
|
"onUpdate:modelValue": n[0] ||= (e) => d.value = e,
|
|
6806
|
-
id: _(
|
|
6805
|
+
id: _(fe)(),
|
|
6807
6806
|
icon: e.icon,
|
|
6808
6807
|
"icon-color": e.iconColor,
|
|
6809
6808
|
"icon-type": e.iconType,
|
|
@@ -6840,7 +6839,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6840
6839
|
"icon-type",
|
|
6841
6840
|
"options",
|
|
6842
6841
|
"readonly"
|
|
6843
|
-
])), C(
|
|
6842
|
+
])), C(Ee, {
|
|
6844
6843
|
modelValue: u.value,
|
|
6845
6844
|
"onUpdate:modelValue": n[1] ||= (e) => u.value = e,
|
|
6846
6845
|
type: "text",
|
|
@@ -6875,85 +6874,85 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6875
6874
|
"limit"
|
|
6876
6875
|
]));
|
|
6877
6876
|
}
|
|
6878
|
-
}), [["__scopeId", "data-v-4ad63bd6"]]),
|
|
6877
|
+
}), [["__scopeId", "data-v-4ad63bd6"]]), Dn = { class: "hotel-skeleton" }, On = { class: "hotel-skeleton-content" }, kn = { class: "hotel-skeleton-sidebar" }, An = /*#__PURE__*/ z(/* @__PURE__ */ d({
|
|
6879
6878
|
__name: "HotelSkeleton",
|
|
6880
6879
|
setup(e) {
|
|
6881
|
-
return (e, t) => (c(), f("div",
|
|
6880
|
+
return (e, t) => (c(), f("div", Dn, [g("div", On, [C(Me, { hotel: "" }), C(Be)]), g("div", kn, [C(Ve)])]));
|
|
6882
6881
|
}
|
|
6883
|
-
}), [["__scopeId", "data-v-2ff36444"]]),
|
|
6882
|
+
}), [["__scopeId", "data-v-2ff36444"]]), jn = { id: "booking-availability-container" }, Mn = { id: "booking-availability-controls" }, Nn = {
|
|
6884
6883
|
key: 0,
|
|
6885
6884
|
class: "konnectio-panel konnectio-filter-notice"
|
|
6886
|
-
},
|
|
6885
|
+
}, Pn = ["innerHTML"], Fn = {
|
|
6887
6886
|
key: 1,
|
|
6888
6887
|
class: "konnectio-panel konnectio-filter-notice"
|
|
6889
|
-
},
|
|
6888
|
+
}, In = ["innerHTML"], Ln = {
|
|
6890
6889
|
key: 2,
|
|
6891
6890
|
class: "konnectio-panel konnectio-filter-notice"
|
|
6892
|
-
},
|
|
6891
|
+
}, Rn = { key: 4 }, zn = { key: 0 }, Bn = {
|
|
6893
6892
|
key: 0,
|
|
6894
6893
|
id: "booking-availability-packages"
|
|
6895
|
-
},
|
|
6894
|
+
}, Vn = {
|
|
6896
6895
|
key: 0,
|
|
6897
6896
|
class: "konnectio-hotel-availability-title"
|
|
6898
|
-
},
|
|
6897
|
+
}, Hn = { id: "booking-availability-packages-wrapper" }, Un = { key: 1 }, Wn = {
|
|
6899
6898
|
key: 0,
|
|
6900
6899
|
class: "konnectio-hotel-availability-title"
|
|
6901
|
-
},
|
|
6900
|
+
}, Gn = { id: "konnectio-listings" }, Kn = {
|
|
6902
6901
|
key: 0,
|
|
6903
6902
|
class: "konnectio-hotel-availability-title"
|
|
6904
|
-
},
|
|
6903
|
+
}, qn = { id: "konnectio-listings" }, Jn = {
|
|
6905
6904
|
key: 0,
|
|
6906
6905
|
id: "booking-availability-packages"
|
|
6907
|
-
},
|
|
6906
|
+
}, Yn = { class: "konnectio-hotel-availability-title" }, Xn = { id: "booking-availability-packages-wrapper" }, Zn = {
|
|
6908
6907
|
key: 3,
|
|
6909
6908
|
id: "booking-availability-no-listings",
|
|
6910
6909
|
class: "konnectio-panel"
|
|
6911
|
-
},
|
|
6910
|
+
}, Qn = {
|
|
6912
6911
|
key: 1,
|
|
6913
6912
|
id: "reservation-availability-next-dates"
|
|
6914
|
-
},
|
|
6913
|
+
}, $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
6914
|
key: 2,
|
|
6916
6915
|
id: "booking-availability-no-listings",
|
|
6917
6916
|
class: "konnectio-panel"
|
|
6918
|
-
},
|
|
6917
|
+
}, or = {
|
|
6919
6918
|
key: 5,
|
|
6920
6919
|
class: "konnectio-panel"
|
|
6921
|
-
},
|
|
6920
|
+
}, sr = {
|
|
6922
6921
|
key: 6,
|
|
6923
6922
|
class: "konnectio-listing-loading"
|
|
6924
|
-
},
|
|
6923
|
+
}, cr = { class: "konnectio-hotel-availability-warning" }, lr = { class: "konnectio-hotel-availability-warning" }, ur = { class: "konnectio-panel" }, dr = {
|
|
6925
6924
|
key: 0,
|
|
6926
6925
|
class: "konnectio-panel konnectio-filter-notice konnectio-top-message"
|
|
6927
|
-
},
|
|
6926
|
+
}, fr = ["innerHTML"], pr = {
|
|
6928
6927
|
key: 0,
|
|
6929
6928
|
id: "konnectio-hotel-addons"
|
|
6930
|
-
},
|
|
6929
|
+
}, mr = { key: 0 }, hr = { class: "konnectio-event-addons-price" }, gr = { key: 1 }, _r = {
|
|
6931
6930
|
key: 0,
|
|
6932
6931
|
class: "konnectio-table-addons-image"
|
|
6933
|
-
},
|
|
6932
|
+
}, vr = ["innerHTML"], yr = { class: "konnectio-table-addons-option" }, br = {
|
|
6934
6933
|
key: 1,
|
|
6935
6934
|
id: "konnectio-hotel-addons"
|
|
6936
|
-
},
|
|
6935
|
+
}, xr = {
|
|
6937
6936
|
key: 0,
|
|
6938
6937
|
class: "konnectio-hotel-reservation-room-name"
|
|
6939
|
-
},
|
|
6938
|
+
}, Sr = {
|
|
6940
6939
|
key: 0,
|
|
6941
6940
|
class: "konnectio-table-addons-image"
|
|
6942
|
-
},
|
|
6941
|
+
}, Cr = ["innerHTML"], wr = { class: "konnectio-table-addons-option" }, Tr = { class: "konnectio-panel" }, Er = {
|
|
6943
6942
|
key: 0,
|
|
6944
6943
|
class: "konnectio-panel konnectio-filter-notice konnectio-top-message"
|
|
6945
|
-
},
|
|
6944
|
+
}, Dr = ["innerHTML"], Or = { key: 0 }, kr = { key: 1 }, Ar = {
|
|
6946
6945
|
key: 2,
|
|
6947
6946
|
class: "konnectio-show-on-mobile"
|
|
6948
|
-
},
|
|
6947
|
+
}, jr = { class: "konnectio-split-inputs" }, Mr = {
|
|
6949
6948
|
key: 0,
|
|
6950
6949
|
class: "konnectio-hotel-member-card-mockup"
|
|
6951
|
-
},
|
|
6950
|
+
}, Nr = ["src"], Pr = { class: "konnectio-hotel-member-card-details" }, Fr = { key: 0 }, Ir = { key: 0 }, Lr = /*#__PURE__*/ z(/* @__PURE__ */ d({
|
|
6952
6951
|
name: "HotelLayout",
|
|
6953
6952
|
__name: "Hotel",
|
|
6954
6953
|
props: {
|
|
6955
6954
|
accessToken: {},
|
|
6956
|
-
headerLayout: { default:
|
|
6955
|
+
headerLayout: { default: R.Minimal },
|
|
6957
6956
|
onlyShow: { default: "everything" },
|
|
6958
6957
|
hideAddons: { default: "no" },
|
|
6959
6958
|
disableDefaultLocation: { default: "no" },
|
|
@@ -6970,7 +6969,27 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6970
6969
|
styling: {}
|
|
6971
6970
|
},
|
|
6972
6971
|
setup(e) {
|
|
6973
|
-
let t = u(() => import("./_-
|
|
6972
|
+
let t = u(() => import("./_-Djyo_y3p.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: R, country: le, remark: ue, allergies: fe, roomSelect: ge, roomDisplay: z, 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(he()), { isHostedCheckoutActive: ct } = T(Te()), { adults: lt, children: ut, location: dt, arrivalDate: ft, departureDate: pt, hasHotelLocations: mt } = T(oe()), { isValidHotelId: ht, updateDates: gt } = oe(), { 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(ce()), { hasArrivalDepartureInputs: J, hasUserArrivalSelection: Ot, hasUserDepartureSelection: kt, earliestArrivalTime: At, latestArrivalTime: jt, earliestDepartureTime: Mt, latestDepartureTime: Nt, hasSharedAddonSelection: Pt, setActiveIdFilter: Ft, clearActiveIdFilter: Lt } = ce(), { beginCheckout: Rt } = se(), { display: zt } = me(), { createReservation: Vt, fetchMetadata: Y, fetchAvailabilityData: Ht, filterAddons: Ut, hasAvailableRoomAddons: Wt, checkGuestDiscount: Gt, setGuestDiscountCode: Kt, validateMemberCard: qt, onOverviewReset: Jt, validateDiscountCode: Yt } = he(), Z = N(() => n.sortOrder === "desc");
|
|
6973
|
+
function Xt(e) {
|
|
6974
|
+
let t = [];
|
|
6975
|
+
return Pt(l.value) ? (e?.forEach((e) => {
|
|
6976
|
+
let n = t.find((t) => t.configIdx === e.configIdx);
|
|
6977
|
+
n ? (n.adultsCount += e.adultsCount, n.childrenCount += e.childrenCount) : t.push({ ...e });
|
|
6978
|
+
}), t) : e ?? [];
|
|
6979
|
+
}
|
|
6980
|
+
let Zt = N(() => {
|
|
6981
|
+
let e = [];
|
|
6982
|
+
return Pt(l.value) ? h.value.forEach((t) => {
|
|
6983
|
+
let n = e.find((e) => e.roomGroupId === t.roomGroupId);
|
|
6984
|
+
n ? (n.adults += t.adults, n.children += t.children) : e.push({ ...t });
|
|
6985
|
+
}) : h.value.forEach((t, n) => {
|
|
6986
|
+
e.push({
|
|
6987
|
+
...t,
|
|
6988
|
+
unitNumber: h.value.slice(0, n + 1).filter((e) => e.roomGroupId === t.roomGroupId).length,
|
|
6989
|
+
unitTotal: h.value.filter((e) => e.roomGroupId === t.roomGroupId).length
|
|
6990
|
+
});
|
|
6991
|
+
}), e;
|
|
6992
|
+
}), Qt = N(() => [
|
|
6974
6993
|
{
|
|
6975
6994
|
id: "availability",
|
|
6976
6995
|
label: i("booking.availability.title"),
|
|
@@ -6995,7 +7014,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6995
7014
|
label: i("booking.confirmation.title"),
|
|
6996
7015
|
icon: "calendar-check"
|
|
6997
7016
|
}
|
|
6998
|
-
]),
|
|
7017
|
+
]), $t = N(() => {
|
|
6999
7018
|
let e = [{
|
|
7000
7019
|
label: i("booking.reservation.business"),
|
|
7001
7020
|
value: "Business"
|
|
@@ -7003,74 +7022,74 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7003
7022
|
label: i("booking.reservation.pleasure"),
|
|
7004
7023
|
value: "Pleasure"
|
|
7005
7024
|
}];
|
|
7006
|
-
return
|
|
7025
|
+
return bt.value || e.push({
|
|
7007
7026
|
label: i("booking.reservation.bleasure"),
|
|
7008
7027
|
value: "Bleasure"
|
|
7009
7028
|
}), e;
|
|
7010
|
-
}),
|
|
7029
|
+
}), en = N(() => {
|
|
7011
7030
|
let e = B.value.roomGroups.slice();
|
|
7012
7031
|
function t(e, t) {
|
|
7013
|
-
return
|
|
7032
|
+
return Z.value === !0 ? e.pricesFrom > t.pricesFrom ? -1 : 1 : e.pricesFrom > t.pricesFrom ? 1 : -1;
|
|
7014
7033
|
}
|
|
7015
7034
|
return n.sortBy === "price" && (e = e.sort(t)), Object.groupBy(e, (e) => e.roomList.some((e) => e.mapImageX && e.mapImageY) ? "camping" : "rooms");
|
|
7016
7035
|
});
|
|
7017
|
-
function
|
|
7036
|
+
function tn(e) {
|
|
7018
7037
|
return (e.templateRoomGroups.length > 0 ? Math.min(...e.templateRoomGroups.map((e) => e.totalPrice)) : 0) + e.weekendFee;
|
|
7019
7038
|
}
|
|
7020
|
-
let
|
|
7039
|
+
let nn = N(() => {
|
|
7021
7040
|
let e = B.value.templates.slice();
|
|
7022
7041
|
return n.sortBy === "price" && e.sort((e, t) => {
|
|
7023
|
-
let n =
|
|
7024
|
-
return
|
|
7042
|
+
let n = tn(e), r = tn(t);
|
|
7043
|
+
return Z.value ? r - n : n - r;
|
|
7025
7044
|
}), e;
|
|
7026
|
-
}),
|
|
7045
|
+
}), rn = N(() => {
|
|
7027
7046
|
let e = B.value.specialTemplates.slice();
|
|
7028
7047
|
return n.sortBy === "price" && e.sort((e, t) => {
|
|
7029
|
-
let n =
|
|
7030
|
-
return
|
|
7048
|
+
let n = tn(e), r = tn(t);
|
|
7049
|
+
return Z.value ? r - n : n - r;
|
|
7031
7050
|
}), e;
|
|
7032
|
-
}),
|
|
7033
|
-
function
|
|
7051
|
+
}), Q = N(() => n.hideAddons === "yes" || Fe.value && n.hideAddons === "packages" || !Fe.value && n.hideAddons === "rooms");
|
|
7052
|
+
function an(e) {
|
|
7034
7053
|
let t = $.discount;
|
|
7035
|
-
t ? (
|
|
7054
|
+
t ? (ot.value = t, Yt()) : Ye.value && !st.value && (ot.value = Qe.value, Yt()), e();
|
|
7036
7055
|
}
|
|
7037
|
-
function
|
|
7038
|
-
|
|
7056
|
+
function sn(e) {
|
|
7057
|
+
Q.value || Se.value ? e(2) : e();
|
|
7039
7058
|
}
|
|
7040
|
-
async function
|
|
7059
|
+
async function cn(e, t) {
|
|
7041
7060
|
await Vt(e, t);
|
|
7042
7061
|
}
|
|
7043
|
-
function
|
|
7044
|
-
if ((
|
|
7062
|
+
function ln() {
|
|
7063
|
+
if ((dt.value === void 0 || isNaN(dt.value)) && mt.value) {
|
|
7045
7064
|
zt({
|
|
7046
7065
|
message: i("alert.error.selectHotelId"),
|
|
7047
7066
|
type: "error"
|
|
7048
7067
|
});
|
|
7049
7068
|
return;
|
|
7050
7069
|
}
|
|
7051
|
-
|
|
7070
|
+
Ht();
|
|
7052
7071
|
}
|
|
7053
|
-
function
|
|
7054
|
-
let e =
|
|
7055
|
-
Lt(), e.id = void 0,
|
|
7072
|
+
function un() {
|
|
7073
|
+
let e = Ce("history", { removeNullishValues: !0 });
|
|
7074
|
+
Lt(), e.id = void 0, Ht();
|
|
7056
7075
|
}
|
|
7057
|
-
function
|
|
7058
|
-
|
|
7076
|
+
function dn(e) {
|
|
7077
|
+
G.value && Rt(), Ye.value && !st.value && (ot.value = Qe.value, Yt()), Q.value || Se.value ? e(2) : e();
|
|
7059
7078
|
}
|
|
7060
|
-
function
|
|
7061
|
-
let e =
|
|
7062
|
-
n.forceArrivalTime && n.forceDepartureTime && e !== void 0 &&
|
|
7079
|
+
function fn() {
|
|
7080
|
+
let e = dt.value;
|
|
7081
|
+
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
7082
|
}
|
|
7064
|
-
let $ =
|
|
7065
|
-
async function
|
|
7066
|
-
|
|
7083
|
+
let $ = Ce("history", { removeNullishValues: !0 });
|
|
7084
|
+
async function pn() {
|
|
7085
|
+
fn();
|
|
7067
7086
|
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 >
|
|
7087
|
+
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, zt({
|
|
7069
7088
|
message: i("alert.error.hotelIdNotFound"),
|
|
7070
7089
|
type: "error"
|
|
7071
7090
|
}))), o && s) if (ve(o) && ve(s)) {
|
|
7072
7091
|
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 ? (
|
|
7092
|
+
e <= t ? (ft.value = e, pt.value = t) : ($.ci = void 0, $.co = void 0, zt({
|
|
7074
7093
|
message: i("alert.error.invalidDateRange"),
|
|
7075
7094
|
type: "error"
|
|
7076
7095
|
}));
|
|
@@ -7082,29 +7101,29 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7082
7101
|
await Gt(u) || delete $.gid;
|
|
7083
7102
|
return;
|
|
7084
7103
|
}
|
|
7085
|
-
d && Kt(d), n.disableDefaultLocation === "yes" && f === !1 ? (
|
|
7104
|
+
d && Kt(d), n.disableDefaultLocation === "yes" && f === !1 ? (dt.value = void 0, l.value = NaN) : Ht();
|
|
7086
7105
|
}
|
|
7087
|
-
return (n, u) => (c(), o(
|
|
7088
|
-
default: j(() => [(c(), o(P, { onResolve:
|
|
7106
|
+
return (n, u) => (c(), o(xe, { styling: e.styling }, {
|
|
7107
|
+
default: j(() => [(c(), o(P, { onResolve: pn }, {
|
|
7089
7108
|
default: j(() => [C(_(t), {
|
|
7090
7109
|
id: "konnectio-hotel-module",
|
|
7091
7110
|
"access-token": e.accessToken,
|
|
7092
|
-
callback: _(
|
|
7111
|
+
callback: _(Y)
|
|
7093
7112
|
}, {
|
|
7094
7113
|
default: j(() => [
|
|
7095
|
-
b(C(Bt, { onCallback:
|
|
7096
|
-
b(C(
|
|
7114
|
+
b(C(Bt, { onCallback: pn }, null, 512), [[re, e.requireGuestDiscountId === "yes" && !_(qe)]]),
|
|
7115
|
+
b(C(X, null, null, 512), [[re, e.requireDiscountCode === "yes" && !_(Ye)]]),
|
|
7097
7116
|
b(C(Ue, {
|
|
7098
7117
|
layout: e.headerLayout,
|
|
7099
|
-
steps:
|
|
7118
|
+
steps: Qt.value,
|
|
7100
7119
|
onReset: _(Jt)
|
|
7101
7120
|
}, {
|
|
7102
7121
|
availability: j(({ next: t }) => [C(It, {
|
|
7103
7122
|
"show-remove-room": !0,
|
|
7104
7123
|
"availability-discount": ""
|
|
7105
7124
|
}, {
|
|
7106
|
-
form: j(() => [g("div",
|
|
7107
|
-
g("div",
|
|
7125
|
+
form: j(() => [g("div", jn, [
|
|
7126
|
+
g("div", Mn, [C(Ne, {
|
|
7108
7127
|
booking: !0,
|
|
7109
7128
|
"selected-location": Number(e.selectedLocation),
|
|
7110
7129
|
"disable-default-location": e.disableDefaultLocation === "yes",
|
|
@@ -7114,19 +7133,19 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7114
7133
|
"disable-default-location",
|
|
7115
7134
|
"hide-locations"
|
|
7116
7135
|
])]),
|
|
7117
|
-
_(
|
|
7118
|
-
_(
|
|
7119
|
-
_(
|
|
7136
|
+
_(qe) ? (c(), f("div", Nn, [g("span", { innerHTML: _(i)("guestDiscount.displayMessage", { name: `<b>${_(Ze) ? _(Ze) : _(Xe)}</b>` }) }, null, 8, Pn)])) : a("", !0),
|
|
7137
|
+
_(Ye) ? (c(), f("div", Fn, [g("span", { innerHTML: _(i)("guestDiscount.displayMessage", { name: `<b>${_(Qe)}</b>` }) }, null, 8, In)])) : a("", !0),
|
|
7138
|
+
_(Et) ? (c(), f("div", Ln, [g("span", null, [r(w(_(i)("general.filteredListingNotice")) + " ", 1), g("button", {
|
|
7120
7139
|
class: "link",
|
|
7121
|
-
onClick: u[0] ||= (e) =>
|
|
7140
|
+
onClick: u[0] ||= (e) => un()
|
|
7122
7141
|
}, w(_(i)("general.filteredListingShowAll")), 1)])])) : a("", !0),
|
|
7123
7142
|
a("", !0),
|
|
7124
|
-
!_(te) && _(
|
|
7125
|
-
_(B).templates.length > 0 && e.onlyShow !== "rooms" && e.onlyShow !== "camping" ? (c(), f("div",
|
|
7143
|
+
!_(te) && _(Ae) ? (c(), f("div", Rn, [en.value.camping && en.value.camping.length > 0 && e.onlyShow !== "non-camping" || en.value.rooms && en.value.rooms.length > 0 || _(B).templates.length > 0 || _(B).specialTemplates.length > 0 && !_(Et) ? (c(), f("div", zn, [
|
|
7144
|
+
_(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
7145
|
icon: "box",
|
|
7127
7146
|
type: "fal",
|
|
7128
7147
|
color: "header"
|
|
7129
|
-
}), g("span", null, w(_(i)("booking.availability.packagesTitle")), 1)])), g("ul",
|
|
7148
|
+
}), g("span", null, w(_(i)("booking.availability.packagesTitle")), 1)])), g("ul", Hn, [(c(!0), f(y, null, m(nn.value, ({ id: n, name: r, templateRoomGroups: i, images: a, description: s, weekendFee: l }) => (c(), o(yn, {
|
|
7130
7149
|
key: n,
|
|
7131
7150
|
id: n,
|
|
7132
7151
|
description: s,
|
|
@@ -7146,28 +7165,28 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7146
7165
|
"callback",
|
|
7147
7166
|
"hide-addons"
|
|
7148
7167
|
]))), 128))])])) : a("", !0),
|
|
7149
|
-
_(B).roomGroups.length > 0 && e.onlyShow !== "packages" ? (c(), f("div",
|
|
7168
|
+
_(B).roomGroups.length > 0 && e.onlyShow !== "packages" ? (c(), f("div", Un, [en.value.rooms && e.onlyShow !== "camping" ? (c(), f(y, { key: 0 }, [_(B).templates.length > 0 && e.onlyShow !== "rooms" ? (c(), f("h2", Wn, [C(H, {
|
|
7150
7169
|
icon: "house",
|
|
7151
7170
|
type: "fal",
|
|
7152
7171
|
color: "header"
|
|
7153
|
-
}), g("span", null, w(_(i)("booking.availability.roomsTitle")), 1)])) : a("", !0), g("ul",
|
|
7172
|
+
}), g("span", null, w(_(i)("booking.availability.roomsTitle")), 1)])) : a("", !0), g("ul", Gn, [(c(!0), f(y, null, m(en.value.rooms, (e, n) => (c(), o(on, {
|
|
7154
7173
|
room: e,
|
|
7155
7174
|
key: n,
|
|
7156
7175
|
callback: t
|
|
7157
|
-
}, null, 8, ["room", "callback"]))), 128))])], 64)) : a("", !0),
|
|
7176
|
+
}, null, 8, ["room", "callback"]))), 128))])], 64)) : a("", !0), en.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
7177
|
icon: "map-location-dot",
|
|
7159
7178
|
type: "fal",
|
|
7160
7179
|
color: "header"
|
|
7161
|
-
}), g("span", null, w(_(i)("booking.availability.campingTitle")), 1)])) : a("", !0), g("ul",
|
|
7180
|
+
}), g("span", null, w(_(i)("booking.availability.campingTitle")), 1)])) : a("", !0), g("ul", qn, [(c(!0), f(y, null, m(en.value.camping, (e, n) => (c(), o(on, {
|
|
7162
7181
|
room: e,
|
|
7163
7182
|
key: n,
|
|
7164
7183
|
callback: t
|
|
7165
7184
|
}, null, 8, ["room", "callback"]))), 128))])], 64)) : a("", !0)])) : a("", !0),
|
|
7166
|
-
_(
|
|
7185
|
+
_(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
7186
|
icon: "sparkles",
|
|
7168
7187
|
type: "fal",
|
|
7169
7188
|
color: "header"
|
|
7170
|
-
}), g("span", null, w(_(i)("hotel.specialOffers")), 1)]), g("ul",
|
|
7189
|
+
}), g("span", null, w(_(i)("hotel.specialOffers")), 1)]), g("ul", Xn, [(c(!0), f(y, null, m(rn.value, ({ id: e, name: t, templateRoomGroups: n, images: r, description: i, weekendFee: a, fromDate: s, toDate: l }) => (c(), o(Sn, {
|
|
7171
7190
|
key: e,
|
|
7172
7191
|
id: e,
|
|
7173
7192
|
description: i,
|
|
@@ -7187,124 +7206,124 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7187
7206
|
"weekendFee",
|
|
7188
7207
|
"room-groups"
|
|
7189
7208
|
]))), 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",
|
|
7209
|
+
(_(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)
|
|
7210
|
+
])) : _(B).nextAvailableDates.length > 0 ? (c(), f("div", Qn, [
|
|
7211
|
+
g("div", $n, [g("span", { innerHTML: _(i)("hotel.everyRoomIsBooked") }, null, 8, er)]),
|
|
7212
|
+
g("h2", tr, [C(H, {
|
|
7194
7213
|
icon: "calendar-circle-exclamation",
|
|
7195
7214
|
type: "fal",
|
|
7196
7215
|
color: "header"
|
|
7197
7216
|
}), 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",
|
|
7217
|
+
g("ul", nr, [(c(!0), f(y, null, m(_(B).nextAvailableDates, (e, t) => (c(), f("li", { key: t }, [
|
|
7218
|
+
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),
|
|
7219
|
+
g("ul", null, [isNaN(e.roomCount) ? a("", !0) : (c(), f("li", ir, [C(H, {
|
|
7201
7220
|
icon: "house",
|
|
7202
7221
|
type: "fal",
|
|
7203
7222
|
color: "header"
|
|
7204
|
-
}), g("span", null, w(_(i)("booking.availability.units")) + ": " + w(e.roomCount), 1)])), g("li", null, [C(
|
|
7223
|
+
}), g("span", null, w(_(i)("booking.availability.units")) + ": " + w(e.roomCount), 1)])), g("li", null, [C(H, {
|
|
7205
7224
|
icon: "money-bill",
|
|
7206
7225
|
type: "fal",
|
|
7207
7226
|
color: "header"
|
|
7208
|
-
}), g("span", null, w(_(i)("booking.availability.pricesFrom")) + ": " + w(_(
|
|
7209
|
-
C(
|
|
7227
|
+
}), g("span", null, w(_(i)("booking.availability.pricesFrom")) + ": " + w(_(ye)(e.priceStartFrom, _(W))), 1)])]),
|
|
7228
|
+
C(V, {
|
|
7210
7229
|
label: _(i)("booking.availability.selectDates"),
|
|
7211
7230
|
"full-width": "",
|
|
7212
|
-
onClickEvent: (t) => _(
|
|
7231
|
+
onClickEvent: (t) => _(gt)(new Date(e.fromDate), new Date(e.toDate))
|
|
7213
7232
|
}, null, 8, ["label", "onClickEvent"])
|
|
7214
7233
|
]))), 128))])
|
|
7215
|
-
])) : (c(), f("div",
|
|
7234
|
+
])) : (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
7235
|
C(He),
|
|
7217
7236
|
C(He),
|
|
7218
7237
|
C(He)
|
|
7219
7238
|
]))
|
|
7220
7239
|
])]),
|
|
7221
7240
|
navigation: j(() => [
|
|
7222
|
-
_(
|
|
7241
|
+
_(Pe) ? (c(), o(V, {
|
|
7223
7242
|
key: 0,
|
|
7224
7243
|
label: isNaN(_(l)) ? _(i)("availability.buttonLabel") : _(i)("general.searchAgain"),
|
|
7225
7244
|
"is-loading": _(te),
|
|
7226
7245
|
"full-width": "",
|
|
7227
|
-
onClickEvent: u[2] ||= (e) =>
|
|
7228
|
-
}, null, 8, ["label", "is-loading"])) : (c(), o(
|
|
7246
|
+
onClickEvent: u[2] ||= (e) => ln()
|
|
7247
|
+
}, null, 8, ["label", "is-loading"])) : (c(), o(V, {
|
|
7229
7248
|
key: 1,
|
|
7230
|
-
label: _(
|
|
7231
|
-
disabled: !_(
|
|
7249
|
+
label: _(Se) || Q.value ? _(i)("booking.availability.nextButton") : _(i)("general.chooseAddons"),
|
|
7250
|
+
disabled: !_(be),
|
|
7232
7251
|
"full-width": "",
|
|
7233
|
-
onClickEvent: (e) =>
|
|
7252
|
+
onClickEvent: (e) => dn(t)
|
|
7234
7253
|
}, null, 8, [
|
|
7235
7254
|
"label",
|
|
7236
7255
|
"disabled",
|
|
7237
7256
|
"onClickEvent"
|
|
7238
7257
|
])),
|
|
7239
|
-
b(g("span",
|
|
7258
|
+
b(g("span", cr, [C(H, {
|
|
7240
7259
|
icon: "exclamation-triangle",
|
|
7241
7260
|
type: "fas"
|
|
7242
7261
|
}), g("span", null, w(_(i)("hotel.mismatchingAdults", {
|
|
7243
|
-
searchAdults: _(
|
|
7244
|
-
selectedAdults: _(
|
|
7245
|
-
})), 1)], 512), [[re, _(
|
|
7246
|
-
b(g("span",
|
|
7262
|
+
searchAdults: _(lt),
|
|
7263
|
+
selectedAdults: _(Ve)
|
|
7264
|
+
})), 1)], 512), [[re, _(ze)]]),
|
|
7265
|
+
b(g("span", lr, [C(H, {
|
|
7247
7266
|
icon: "exclamation-triangle",
|
|
7248
7267
|
type: "fas"
|
|
7249
7268
|
}), g("span", null, w(_(i)("hotel.mismatchingChildren", {
|
|
7250
|
-
searchChildren: _(
|
|
7251
|
-
selectedChildren: _(
|
|
7252
|
-
})), 1)], 512), [[re, _(
|
|
7269
|
+
searchChildren: _(ut),
|
|
7270
|
+
selectedChildren: _(We)
|
|
7271
|
+
})), 1)], 512), [[re, _(Be)]])
|
|
7253
7272
|
]),
|
|
7254
7273
|
_: 2
|
|
7255
7274
|
}, 1024)]),
|
|
7256
|
-
addons: j(({ next: e, prev: t }) => [_(
|
|
7275
|
+
addons: j(({ next: e, prev: t }) => [_(Ae) ? (c(), o(It, {
|
|
7257
7276
|
key: 0,
|
|
7258
|
-
"prev-callback": () =>
|
|
7277
|
+
"prev-callback": () => sn(t)
|
|
7259
7278
|
}, {
|
|
7260
|
-
form: j(() => [g("form",
|
|
7279
|
+
form: j(() => [g("form", ur, [
|
|
7261
7280
|
g("h2", null, [g("span", null, w(_(i)("booking.reservation.addons")), 1)]),
|
|
7262
|
-
_(i)("hotel.addonTopNotice") && _(i)("hotel.addonTopNotice") !== "<br>" ? (c(), f("div",
|
|
7281
|
+
_(i)("hotel.addonTopNotice") && _(i)("hotel.addonTopNotice") !== "<br>" ? (c(), f("div", dr, [g("p", {
|
|
7263
7282
|
innerHTML: _(i)("hotel.addonTopNotice"),
|
|
7264
7283
|
class: "konnectio-wysiwyg"
|
|
7265
|
-
}, null, 8,
|
|
7266
|
-
g("div", null, [isNaN(_(d)) ? (c(), f("div",
|
|
7267
|
-
key:
|
|
7284
|
+
}, null, 8, fr)])) : a("", !0),
|
|
7285
|
+
g("div", null, [isNaN(_(d)) ? (c(), f("div", pr, [(c(!0), f(y, null, m(_(z), (e) => (c(), f(y, { key: e.roomGroupID }, [_(Wt)(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(_(de)(e.title)), 1)]), (c(!0), f(y, null, m(Xt(t.rooms), (r) => (c(), f("table", {
|
|
7286
|
+
key: `${r.configIdx}-${r.roomIdx}`,
|
|
7268
7287
|
class: "konnectio-table with-lines without-header"
|
|
7269
7288
|
}, [g("thead", null, [g("tr", null, [
|
|
7270
7289
|
g("th", null, [g("span", null, w(_(de)(t.name)), 1)]),
|
|
7271
7290
|
a("", !0),
|
|
7272
|
-
g("th",
|
|
7273
|
-
C(
|
|
7291
|
+
g("th", hr, [g("b", null, [
|
|
7292
|
+
C(H, {
|
|
7274
7293
|
icon: "male",
|
|
7275
7294
|
type: "fas",
|
|
7276
7295
|
color: "font"
|
|
7277
7296
|
}),
|
|
7278
7297
|
g("span", null, w(r.adultsCount), 1),
|
|
7279
|
-
r.childrenCount > 0 ? (c(), o(
|
|
7298
|
+
r.childrenCount > 0 ? (c(), o(H, {
|
|
7280
7299
|
key: 0,
|
|
7281
7300
|
icon: "child",
|
|
7282
7301
|
type: "fas",
|
|
7283
7302
|
color: "font"
|
|
7284
7303
|
})) : a("", !0),
|
|
7285
|
-
r.childrenCount > 0 ? (c(), f("span",
|
|
7304
|
+
r.childrenCount > 0 ? (c(), f("span", gr, w(r.childrenCount), 1)) : a("", !0)
|
|
7286
7305
|
])])
|
|
7287
|
-
])]), g("tbody", null, [(c(!0), f(y, null, m(_(
|
|
7306
|
+
])]), g("tbody", null, [(c(!0), f(y, null, m(_(Ut)(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
7307
|
src: m,
|
|
7289
7308
|
"zoom-scale": 1
|
|
7290
7309
|
}, null, 8, ["src"])])) : a("", !0), g("div", null, [
|
|
7291
7310
|
g("b", null, w(_(de)(d)), 1),
|
|
7292
|
-
g("span", null, w(_(
|
|
7311
|
+
g("span", null, w(_(ye)(p, _(W))) + " " + w(_(_e)(i)), 1),
|
|
7293
7312
|
h ? (c(), f("p", {
|
|
7294
7313
|
key: 0,
|
|
7295
7314
|
innerHTML: _(pe)(h)
|
|
7296
|
-
}, null, 8,
|
|
7297
|
-
])], 2), g("td",
|
|
7315
|
+
}, null, 8, vr)) : a("", !0)
|
|
7316
|
+
])], 2), g("td", yr, [_(ge)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx] ? (c(), f(y, { key: 0 }, [t === _(we).Mandatory ? (c(), o(Oe, {
|
|
7298
7317
|
key: 0,
|
|
7299
7318
|
"model-value": 1,
|
|
7300
7319
|
small: !0,
|
|
7301
7320
|
"min-value": 1,
|
|
7302
7321
|
"max-value": 1,
|
|
7303
7322
|
readonly: ""
|
|
7304
|
-
})) : (c(), o(
|
|
7323
|
+
})) : (c(), o(Oe, {
|
|
7305
7324
|
key: 1,
|
|
7306
|
-
modelValue: _(
|
|
7307
|
-
"onUpdate:modelValue": (t) => _(
|
|
7325
|
+
modelValue: _(ge)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx][u],
|
|
7326
|
+
"onUpdate:modelValue": (t) => _(ge)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx][u] = t,
|
|
7308
7327
|
small: !0,
|
|
7309
7328
|
"min-value": 0,
|
|
7310
7329
|
"max-value": l || Infinity
|
|
@@ -7312,31 +7331,31 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7312
7331
|
"modelValue",
|
|
7313
7332
|
"onUpdate:modelValue",
|
|
7314
7333
|
"max-value"
|
|
7315
|
-
]))], 64)) : a("", !0)])]))), 128))])]))), 128))]))), 128))])) : a("", !0)], 64))), 128))])) : _(h).length > 0 ? (c(), f("div",
|
|
7316
|
-
key:
|
|
7334
|
+
]))], 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(Zt.value, (e) => (c(), f("table", {
|
|
7335
|
+
key: `${e.roomGroupId}-${e.configIdx}`,
|
|
7317
7336
|
class: "konnectio-table with-lines without-header"
|
|
7318
7337
|
}, [g("thead", null, [g("tr", null, [
|
|
7319
|
-
g("th", null, [g("span", null, w(_(de)(_(
|
|
7338
|
+
g("th", null, [g("span", null, w(_(de)(_(je).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), (e.unitTotal ?? 0) > 1 ? (c(), f("span", xr, "(" + w(_(i)("booking.reservation.room")) + " " + w(e.unitNumber) + ")", 1)) : a("", !0)]),
|
|
7320
7339
|
a("", !0),
|
|
7321
7340
|
u[24] ||= g("th", { class: "konnectio-event-addons-price" }, null, -1)
|
|
7322
|
-
])]), g("tbody", null, [(c(!0), f(y, null, m(_(
|
|
7341
|
+
])]), g("tbody", null, [(c(!0), f(y, null, m(_(Ut)(_(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", Sr, [C(_(_t), {
|
|
7323
7342
|
src: m,
|
|
7324
7343
|
"zoom-scale": 1
|
|
7325
7344
|
}, null, 8, ["src"])])) : a("", !0), g("div", null, [
|
|
7326
7345
|
g("b", null, w(_(de)(l)), 1),
|
|
7327
|
-
g("span", null, w(_(
|
|
7346
|
+
g("span", null, w(_(ye)(u, _(W))) + " " + w(_(_e)(n)), 1),
|
|
7328
7347
|
d ? (c(), f("p", {
|
|
7329
7348
|
key: 0,
|
|
7330
7349
|
innerHTML: _(pe)(d)
|
|
7331
|
-
}, null, 8,
|
|
7332
|
-
])], 2), g("td",
|
|
7350
|
+
}, null, 8, Cr)) : a("", !0)
|
|
7351
|
+
])], 2), g("td", wr, [t === _(we).Mandatory ? (c(), o(Oe, {
|
|
7333
7352
|
key: 0,
|
|
7334
7353
|
"model-value": 1,
|
|
7335
7354
|
small: !0,
|
|
7336
7355
|
"min-value": 1,
|
|
7337
7356
|
"max-value": 1,
|
|
7338
7357
|
readonly: ""
|
|
7339
|
-
})) : (c(), o(
|
|
7358
|
+
})) : (c(), o(Oe, {
|
|
7340
7359
|
key: 1,
|
|
7341
7360
|
modelValue: _(p)[e.selectionIdx].unitConfigs[e.configIdx].addons[i],
|
|
7342
7361
|
"onUpdate:modelValue": (t) => _(p)[e.selectionIdx].unitConfigs[e.configIdx].addons[i] = t,
|
|
@@ -7349,48 +7368,48 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7349
7368
|
"max-value"
|
|
7350
7369
|
]))])]))), 128))])]))), 128))])])) : a("", !0)])
|
|
7351
7370
|
])]),
|
|
7352
|
-
navigation: j(() => [C(
|
|
7371
|
+
navigation: j(() => [C(V, {
|
|
7353
7372
|
label: _(i)("general.startReservation"),
|
|
7354
7373
|
"full-width": "",
|
|
7355
|
-
onClickEvent: (t) =>
|
|
7374
|
+
onClickEvent: (t) => an(e)
|
|
7356
7375
|
}, null, 8, ["label", "onClickEvent"])]),
|
|
7357
7376
|
_: 2
|
|
7358
7377
|
}, 1032, ["prev-callback"])) : a("", !0)]),
|
|
7359
|
-
reservation: j(({ next: t, prev: n, reset: r }) => [_(
|
|
7378
|
+
reservation: j(({ next: t, prev: n, reset: r }) => [_(Ae) ? (c(), o(It, {
|
|
7360
7379
|
key: 0,
|
|
7361
|
-
"prev-callback": () =>
|
|
7380
|
+
"prev-callback": () => sn(n),
|
|
7362
7381
|
"show-terms-notice": !0,
|
|
7363
7382
|
"show-gift-card": !0
|
|
7364
7383
|
}, {
|
|
7365
|
-
form: j(() => [g("form",
|
|
7384
|
+
form: j(() => [g("form", Tr, [
|
|
7366
7385
|
g("h2", null, [g("span", null, w(_(i)("booking.reservation.detailsTitle")), 1)]),
|
|
7367
|
-
_(i)("hotel.reservationTopNotice") && _(i)("hotel.reservationTopNotice") !== "<br>" ? (c(), f("div",
|
|
7386
|
+
_(i)("hotel.reservationTopNotice") && _(i)("hotel.reservationTopNotice") !== "<br>" ? (c(), f("div", Er, [g("p", {
|
|
7368
7387
|
innerHTML: _(i)("hotel.reservationTopNotice"),
|
|
7369
7388
|
class: "konnectio-wysiwyg"
|
|
7370
|
-
}, null, 8,
|
|
7371
|
-
_(
|
|
7389
|
+
}, null, 8, Dr)])) : a("", !0),
|
|
7390
|
+
_(J)(_(l)) && _(Ot)(_(l)) && _(kt)(_(l)) ? (c(), f("ul", {
|
|
7372
7391
|
key: 1,
|
|
7373
|
-
class: s(["konnectio-reservation-timepicker", { "konnectio-split-inputs": _(
|
|
7374
|
-
}, [_(
|
|
7392
|
+
class: s(["konnectio-reservation-timepicker", { "konnectio-split-inputs": _(Ot)(_(l)) && _(kt)(_(l)) }])
|
|
7393
|
+
}, [_(Ot)(_(l)) ? (c(), f("li", Or, [C(Cn, {
|
|
7375
7394
|
modelValue: _(ae),
|
|
7376
7395
|
"onUpdate:modelValue": u[3] ||= (e) => x(ae) ? ae.value = e : null,
|
|
7377
7396
|
label: _(i)("booking.reservation.arrivalTime"),
|
|
7378
7397
|
icon: "hourglass-start",
|
|
7379
|
-
"min-time": _(
|
|
7380
|
-
"max-time": _(
|
|
7398
|
+
"min-time": _(At)(_(l)),
|
|
7399
|
+
"max-time": _(jt)(_(l)),
|
|
7381
7400
|
required: ""
|
|
7382
7401
|
}, null, 8, [
|
|
7383
7402
|
"modelValue",
|
|
7384
7403
|
"label",
|
|
7385
7404
|
"min-time",
|
|
7386
7405
|
"max-time"
|
|
7387
|
-
])])) : a("", !0), _(
|
|
7406
|
+
])])) : a("", !0), _(kt)(_(l)) ? (c(), f("li", kr, [C(Cn, {
|
|
7388
7407
|
modelValue: _(E),
|
|
7389
7408
|
"onUpdate:modelValue": u[4] ||= (e) => x(E) ? E.value = e : null,
|
|
7390
7409
|
label: _(i)("booking.reservation.departureTime"),
|
|
7391
7410
|
icon: "hourglass-end",
|
|
7392
|
-
"min-time": _(
|
|
7393
|
-
"max-time": _(
|
|
7411
|
+
"min-time": _(Mt)(_(l)),
|
|
7412
|
+
"max-time": _(Nt)(_(l)),
|
|
7394
7413
|
required: ""
|
|
7395
7414
|
}, null, 8, [
|
|
7396
7415
|
"modelValue",
|
|
@@ -7398,12 +7417,12 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7398
7417
|
"min-time",
|
|
7399
7418
|
"max-time"
|
|
7400
7419
|
])])) : a("", !0)], 2)) : a("", !0),
|
|
7401
|
-
C(
|
|
7420
|
+
C(En, {
|
|
7402
7421
|
modelValue: _(D),
|
|
7403
7422
|
"onUpdate:modelValue": u[5] ||= (e) => x(D) ? D.value = e : null,
|
|
7404
7423
|
title: _(O),
|
|
7405
7424
|
"onUpdate:title": u[6] ||= (e) => x(O) ? O.value = e : null,
|
|
7406
|
-
"exclude-title": _(
|
|
7425
|
+
"exclude-title": _(vt),
|
|
7407
7426
|
label: _(i)("booking.reservation.name"),
|
|
7408
7427
|
icon: "user-alt",
|
|
7409
7428
|
placeholder: _(i)("booking.reservation.namePlaceholder"),
|
|
@@ -7415,7 +7434,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7415
7434
|
"label",
|
|
7416
7435
|
"placeholder"
|
|
7417
7436
|
]),
|
|
7418
|
-
C(
|
|
7437
|
+
C(Ee, {
|
|
7419
7438
|
modelValue: _(k),
|
|
7420
7439
|
"onUpdate:modelValue": u[7] ||= (e) => x(k) ? k.value = e : null,
|
|
7421
7440
|
type: "email",
|
|
@@ -7431,14 +7450,14 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7431
7450
|
"label",
|
|
7432
7451
|
"placeholder"
|
|
7433
7452
|
]),
|
|
7434
|
-
_(
|
|
7435
|
-
modelValue: _(
|
|
7436
|
-
"onUpdate:modelValue": u[8] ||= (e) => x(
|
|
7453
|
+
_(Tt) ? a("", !0) : (c(), f("div", Ar, [C(Ke, {
|
|
7454
|
+
modelValue: _(Ie),
|
|
7455
|
+
"onUpdate:modelValue": u[8] ||= (e) => x(Ie) ? Ie.value = e : null,
|
|
7437
7456
|
type: "checkbox",
|
|
7438
7457
|
name: "newsletter",
|
|
7439
7458
|
label: _(i)("booking.reservation.newsletterSignUp")
|
|
7440
7459
|
}, null, 8, ["modelValue", "label"])])),
|
|
7441
|
-
_(
|
|
7460
|
+
_(xt) ? a("", !0) : (c(), o(Ee, {
|
|
7442
7461
|
key: 3,
|
|
7443
7462
|
modelValue: _(M),
|
|
7444
7463
|
"onUpdate:modelValue": u[9] ||= (e) => x(M) ? M.value = e : null,
|
|
@@ -7465,9 +7484,9 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7465
7484
|
"label",
|
|
7466
7485
|
"placeholder"
|
|
7467
7486
|
]),
|
|
7468
|
-
C(
|
|
7469
|
-
modelValue: _(
|
|
7470
|
-
"onUpdate:modelValue": u[11] ||= (e) => x(
|
|
7487
|
+
C(Tn, {
|
|
7488
|
+
modelValue: _(le),
|
|
7489
|
+
"onUpdate:modelValue": u[11] ||= (e) => x(le) ? le.value = e : null,
|
|
7471
7490
|
label: _(i)("booking.reservation.country"),
|
|
7472
7491
|
placeholder: _(i)("booking.reservation.countryPlaceholder"),
|
|
7473
7492
|
options: _(ee),
|
|
@@ -7478,9 +7497,9 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7478
7497
|
"placeholder",
|
|
7479
7498
|
"options"
|
|
7480
7499
|
]),
|
|
7481
|
-
C(
|
|
7482
|
-
modelValue: _(
|
|
7483
|
-
"onUpdate:modelValue": u[12] ||= (e) => x(
|
|
7500
|
+
C(Ee, {
|
|
7501
|
+
modelValue: _(R),
|
|
7502
|
+
"onUpdate:modelValue": u[12] ||= (e) => x(R) ? R.value = e : null,
|
|
7484
7503
|
type: "textarea",
|
|
7485
7504
|
name: "address",
|
|
7486
7505
|
autocomplete: "street-address",
|
|
@@ -7493,7 +7512,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7493
7512
|
"label",
|
|
7494
7513
|
"placeholder"
|
|
7495
7514
|
]),
|
|
7496
|
-
g("ul",
|
|
7515
|
+
g("ul", jr, [g("li", null, [C(Ee, {
|
|
7497
7516
|
modelValue: _(F),
|
|
7498
7517
|
"onUpdate:modelValue": u[13] ||= (e) => x(F) ? F.value = e : null,
|
|
7499
7518
|
type: "text",
|
|
@@ -7507,7 +7526,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7507
7526
|
"modelValue",
|
|
7508
7527
|
"label",
|
|
7509
7528
|
"placeholder"
|
|
7510
|
-
])]), g("li", null, [C(
|
|
7529
|
+
])]), g("li", null, [C(Ee, {
|
|
7511
7530
|
modelValue: _(I),
|
|
7512
7531
|
"onUpdate:modelValue": u[14] ||= (e) => x(I) ? I.value = e : null,
|
|
7513
7532
|
type: "text",
|
|
@@ -7522,10 +7541,10 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7522
7541
|
"label",
|
|
7523
7542
|
"placeholder"
|
|
7524
7543
|
])])]),
|
|
7525
|
-
e.hideRemarks === "yes" ? a("", !0) : (c(), o(
|
|
7544
|
+
e.hideRemarks === "yes" ? a("", !0) : (c(), o(Ee, {
|
|
7526
7545
|
key: 4,
|
|
7527
|
-
modelValue: _(
|
|
7528
|
-
"onUpdate:modelValue": u[15] ||= (e) => x(
|
|
7546
|
+
modelValue: _(ue),
|
|
7547
|
+
"onUpdate:modelValue": u[15] ||= (e) => x(ue) ? ue.value = e : null,
|
|
7529
7548
|
type: "textarea",
|
|
7530
7549
|
label: _(i)("booking.reservation.remark"),
|
|
7531
7550
|
icon: "info-circle",
|
|
@@ -7535,10 +7554,10 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7535
7554
|
"label",
|
|
7536
7555
|
"placeholder"
|
|
7537
7556
|
])),
|
|
7538
|
-
e.hideAllergies === "yes" ? a("", !0) : (c(), o(
|
|
7557
|
+
e.hideAllergies === "yes" ? a("", !0) : (c(), o(Ee, {
|
|
7539
7558
|
key: 5,
|
|
7540
|
-
modelValue: _(
|
|
7541
|
-
"onUpdate:modelValue": u[16] ||= (e) => x(
|
|
7559
|
+
modelValue: _(fe),
|
|
7560
|
+
"onUpdate:modelValue": u[16] ||= (e) => x(fe) ? fe.value = e : null,
|
|
7542
7561
|
type: "textarea",
|
|
7543
7562
|
label: _(i)("booking.reservation.allergies"),
|
|
7544
7563
|
icon: "allergies",
|
|
@@ -7548,36 +7567,36 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7548
7567
|
"label",
|
|
7549
7568
|
"placeholder"
|
|
7550
7569
|
])),
|
|
7551
|
-
_(
|
|
7570
|
+
_(yt) ? a("", !0) : (c(), o(Le, {
|
|
7552
7571
|
key: 6,
|
|
7553
7572
|
modelValue: _(ie),
|
|
7554
7573
|
"onUpdate:modelValue": u[17] ||= (e) => x(ie) ? ie.value = e : null,
|
|
7555
7574
|
label: _(i)("booking.reservation.purposeOfStay"),
|
|
7556
7575
|
name: "travelingFor",
|
|
7557
|
-
checkboxes:
|
|
7576
|
+
checkboxes: $t.value
|
|
7558
7577
|
}, null, 8, [
|
|
7559
7578
|
"modelValue",
|
|
7560
7579
|
"label",
|
|
7561
7580
|
"checkboxes"
|
|
7562
7581
|
])),
|
|
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
|
-
_(
|
|
7582
|
+
_($e) ? (c(), f(y, { key: 7 }, [g("h3", null, [g("span", null, w(_(i)("hotel.memberCards.title")), 1)]), _(it) ? (c(), f("div", Mr, [g("img", { src: _(at)?.iconUrl }, null, 8, Nr), g("ul", Pr, [
|
|
7583
|
+
g("li", null, [g("span", null, w(_(i)("hotel.memberCards.selectedCard", { cardName: _(at)?.shortDescription })), 1)]),
|
|
7584
|
+
g("li", null, [g("span", null, w(_(i)("hotel.memberCards.cardNumber")) + ": " + w(_(it).cardNumber), 1)]),
|
|
7585
|
+
_(it).controlNr ? (c(), f("li", Fr, [g("span", null, w(_(i)("hotel.memberCards.controlNumber")) + ": " + w(_(it).controlNr), 1)])) : a("", !0)
|
|
7567
7586
|
])])) : (c(), f(y, { key: 1 }, [C(Le, {
|
|
7568
|
-
modelValue: _(
|
|
7569
|
-
"onUpdate:modelValue": u[18] ||= (e) => x(
|
|
7587
|
+
modelValue: _(tt),
|
|
7588
|
+
"onUpdate:modelValue": u[18] ||= (e) => x(tt) ? tt.value = e : null,
|
|
7570
7589
|
label: _(i)("hotel.memberCards.selectCard"),
|
|
7571
7590
|
name: "memberCard",
|
|
7572
|
-
checkboxes: _(
|
|
7591
|
+
checkboxes: _(et)
|
|
7573
7592
|
}, null, 8, [
|
|
7574
7593
|
"modelValue",
|
|
7575
7594
|
"label",
|
|
7576
7595
|
"checkboxes"
|
|
7577
|
-
]), _(
|
|
7578
|
-
C(
|
|
7579
|
-
modelValue: _(
|
|
7580
|
-
"onUpdate:modelValue": u[19] ||= (e) => x(
|
|
7596
|
+
]), _(tt) ? (c(), f("form", Ir, [
|
|
7597
|
+
C(Ee, {
|
|
7598
|
+
modelValue: _(rt),
|
|
7599
|
+
"onUpdate:modelValue": u[19] ||= (e) => x(rt) ? rt.value = e : null,
|
|
7581
7600
|
type: "number",
|
|
7582
7601
|
label: _(i)("hotel.memberCards.cardNumber"),
|
|
7583
7602
|
icon: "credit-card",
|
|
@@ -7588,10 +7607,10 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7588
7607
|
"label",
|
|
7589
7608
|
"placeholder"
|
|
7590
7609
|
]),
|
|
7591
|
-
_(
|
|
7610
|
+
_(tt) === _(ke).FirmaCard ? (c(), o(Ee, {
|
|
7592
7611
|
key: 0,
|
|
7593
|
-
modelValue: _(
|
|
7594
|
-
"onUpdate:modelValue": u[20] ||= (e) => x(
|
|
7612
|
+
modelValue: _(nt),
|
|
7613
|
+
"onUpdate:modelValue": u[20] ||= (e) => x(nt) ? nt.value = e : null,
|
|
7595
7614
|
type: "text",
|
|
7596
7615
|
label: _(i)("hotel.memberCards.cardControlNumber"),
|
|
7597
7616
|
icon: "id-card",
|
|
@@ -7602,7 +7621,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7602
7621
|
"label",
|
|
7603
7622
|
"placeholder"
|
|
7604
7623
|
])) : a("", !0),
|
|
7605
|
-
_(
|
|
7624
|
+
_(tt) === _(ke).DaneAge ? (c(), o(Ee, {
|
|
7606
7625
|
key: 1,
|
|
7607
7626
|
modelValue: _(F),
|
|
7608
7627
|
"onUpdate:modelValue": u[21] ||= (e) => x(F) ? F.value = e : null,
|
|
@@ -7618,19 +7637,19 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7618
7637
|
"label",
|
|
7619
7638
|
"placeholder"
|
|
7620
7639
|
])) : a("", !0),
|
|
7621
|
-
C(
|
|
7640
|
+
C(V, {
|
|
7622
7641
|
label: _(i)("hotel.memberCards.validateAndSelectCard"),
|
|
7623
7642
|
"full-width": "",
|
|
7624
7643
|
onClickEvent: _(qt)
|
|
7625
7644
|
}, null, 8, ["label", "onClickEvent"])
|
|
7626
7645
|
])) : a("", !0)], 64))], 64)) : a("", !0)
|
|
7627
7646
|
])]),
|
|
7628
|
-
navigation: j(() => [g("div", null, [_(
|
|
7629
|
-
label: _(
|
|
7647
|
+
navigation: j(() => [g("div", null, [_(ct) ? (c(), o(U, { key: 0 })) : a("", !0), C(V, {
|
|
7648
|
+
label: _(K) ? _(i)("booking.reservation.nextButton") : _(i)("general.confirmReservation"),
|
|
7630
7649
|
disabled: !_(S),
|
|
7631
|
-
"is-loading": _(ne) || _(
|
|
7650
|
+
"is-loading": _(ne) || _(ct),
|
|
7632
7651
|
"full-width": "",
|
|
7633
|
-
onClickEvent: (e) =>
|
|
7652
|
+
onClickEvent: (e) => cn(t, r)
|
|
7634
7653
|
}, null, 8, [
|
|
7635
7654
|
"label",
|
|
7636
7655
|
"disabled",
|
|
@@ -7646,20 +7665,20 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7646
7665
|
"layout",
|
|
7647
7666
|
"steps",
|
|
7648
7667
|
"onReset"
|
|
7649
|
-
]), [[re, (e.requireGuestDiscountId === "no" || e.requireGuestDiscountId === "yes" && _(
|
|
7668
|
+
]), [[re, (e.requireGuestDiscountId === "no" || e.requireGuestDiscountId === "yes" && _(qe)) && (e.requireDiscountCode === "no" || e.requireDiscountCode === "yes" && _(Ye))]])
|
|
7650
7669
|
]),
|
|
7651
7670
|
_: 1
|
|
7652
7671
|
}, 8, ["access-token", "callback"])]),
|
|
7653
|
-
fallback: j(() => [C(
|
|
7672
|
+
fallback: j(() => [C(An)]),
|
|
7654
7673
|
_: 1
|
|
7655
7674
|
}))]),
|
|
7656
7675
|
_: 1
|
|
7657
7676
|
}, 8, ["styling"]));
|
|
7658
7677
|
}
|
|
7659
|
-
}), [["__scopeId", "data-v-
|
|
7678
|
+
}), [["__scopeId", "data-v-db7aeffd"]]);
|
|
7660
7679
|
//#endregion
|
|
7661
7680
|
//#region node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs
|
|
7662
|
-
function
|
|
7681
|
+
function Rr(e, t) {
|
|
7663
7682
|
if (typeof t == "function" && t.key && e.plugins.has(t.key)) return;
|
|
7664
7683
|
let n = typeof t == "function" ? t(e) : t, r = n.key || String(e.plugins.size + 1);
|
|
7665
7684
|
if (!e.plugins.get(r)) {
|
|
@@ -7668,7 +7687,7 @@ function Lr(e, t) {
|
|
|
7668
7687
|
}
|
|
7669
7688
|
}
|
|
7670
7689
|
// @__NO_SIDE_EFFECTS__
|
|
7671
|
-
function
|
|
7690
|
+
function zr(e, t = {}) {
|
|
7672
7691
|
let n = !t.document, r = /* @__PURE__ */ new Map(), i = {
|
|
7673
7692
|
_entryCount: 1,
|
|
7674
7693
|
_h: 0,
|
|
@@ -7678,7 +7697,7 @@ function Rr(e, t = {}) {
|
|
|
7678
7697
|
entries: r,
|
|
7679
7698
|
hooks: void 0,
|
|
7680
7699
|
render: () => e(i),
|
|
7681
|
-
use: (e) =>
|
|
7700
|
+
use: (e) => Rr(i, e),
|
|
7682
7701
|
push(e, t) {
|
|
7683
7702
|
let a = t?._index ?? i._entryCount++, o = t ? { ...t } : {};
|
|
7684
7703
|
delete o.head, delete o.onRendered, delete o._index;
|
|
@@ -7702,25 +7721,25 @@ function Rr(e, t = {}) {
|
|
|
7702
7721
|
}
|
|
7703
7722
|
//#endregion
|
|
7704
7723
|
//#region node_modules/unhead/dist/shared/unhead.1eoQpFT1.mjs
|
|
7705
|
-
var
|
|
7724
|
+
var Br = /* @__PURE__ */ new Set([
|
|
7706
7725
|
"link",
|
|
7707
7726
|
"style",
|
|
7708
7727
|
"script",
|
|
7709
7728
|
"noscript"
|
|
7710
|
-
]),
|
|
7729
|
+
]), Vr = /* @__PURE__ */ new Set([
|
|
7711
7730
|
"title",
|
|
7712
7731
|
"titleTemplate",
|
|
7713
7732
|
"script",
|
|
7714
7733
|
"style",
|
|
7715
7734
|
"noscript"
|
|
7716
|
-
]),
|
|
7735
|
+
]), Hr = /* @__PURE__ */ new Set([
|
|
7717
7736
|
"base",
|
|
7718
7737
|
"meta",
|
|
7719
7738
|
"link",
|
|
7720
7739
|
"style",
|
|
7721
7740
|
"script",
|
|
7722
7741
|
"noscript"
|
|
7723
|
-
]),
|
|
7742
|
+
]), Ur = /* @__PURE__ */ new Set([
|
|
7724
7743
|
"title",
|
|
7725
7744
|
"base",
|
|
7726
7745
|
"htmlAttrs",
|
|
@@ -7730,14 +7749,14 @@ var zr = /* @__PURE__ */ new Set([
|
|
|
7730
7749
|
"style",
|
|
7731
7750
|
"script",
|
|
7732
7751
|
"noscript"
|
|
7733
|
-
]),
|
|
7752
|
+
]), Wr = /* @__PURE__ */ new Set([
|
|
7734
7753
|
"base",
|
|
7735
7754
|
"title",
|
|
7736
7755
|
"titleTemplate",
|
|
7737
7756
|
"bodyAttrs",
|
|
7738
7757
|
"htmlAttrs",
|
|
7739
7758
|
"templateParams"
|
|
7740
|
-
]),
|
|
7759
|
+
]), Gr = /* @__PURE__ */ new Set([
|
|
7741
7760
|
"key",
|
|
7742
7761
|
"tagPosition",
|
|
7743
7762
|
"tagPriority",
|
|
@@ -7745,11 +7764,11 @@ var zr = /* @__PURE__ */ new Set([
|
|
|
7745
7764
|
"innerHTML",
|
|
7746
7765
|
"textContent",
|
|
7747
7766
|
"processTemplateParams"
|
|
7748
|
-
]),
|
|
7767
|
+
]), Kr = /* @__PURE__ */ new Set([
|
|
7749
7768
|
"templateParams",
|
|
7750
7769
|
"htmlAttrs",
|
|
7751
7770
|
"bodyAttrs"
|
|
7752
|
-
]),
|
|
7771
|
+
]), qr = /* @__PURE__ */ new Set([
|
|
7753
7772
|
"theme-color",
|
|
7754
7773
|
"google-site-verification",
|
|
7755
7774
|
"og",
|
|
@@ -7758,26 +7777,26 @@ var zr = /* @__PURE__ */ new Set([
|
|
|
7758
7777
|
"profile",
|
|
7759
7778
|
"twitter",
|
|
7760
7779
|
"author"
|
|
7761
|
-
]),
|
|
7780
|
+
]), Jr = {
|
|
7762
7781
|
critical: -8,
|
|
7763
7782
|
high: -1,
|
|
7764
7783
|
low: 2
|
|
7765
7784
|
};
|
|
7766
7785
|
// @__NO_SIDE_EFFECTS__
|
|
7767
|
-
function
|
|
7786
|
+
function Yr(e) {
|
|
7768
7787
|
return e === "__proto__" || e === "constructor" || e === "prototype";
|
|
7769
7788
|
}
|
|
7770
7789
|
//#endregion
|
|
7771
7790
|
//#region node_modules/hookable/dist/index.mjs
|
|
7772
|
-
function
|
|
7791
|
+
function Xr(e, t, n, r) {
|
|
7773
7792
|
for (let i = n; i < e.length; i += 1) try {
|
|
7774
7793
|
let n = r ? r.run(() => e[i](...t)) : e[i](...t);
|
|
7775
|
-
if (n && typeof n.then == "function") return Promise.resolve(n).then(() =>
|
|
7794
|
+
if (n && typeof n.then == "function") return Promise.resolve(n).then(() => Xr(e, t, i + 1, r));
|
|
7776
7795
|
} catch (e) {
|
|
7777
7796
|
return Promise.reject(e);
|
|
7778
7797
|
}
|
|
7779
7798
|
}
|
|
7780
|
-
var
|
|
7799
|
+
var Zr = class {
|
|
7781
7800
|
_hooks;
|
|
7782
7801
|
constructor() {
|
|
7783
7802
|
this._hooks = {};
|
|
@@ -7796,24 +7815,24 @@ var Xr = class {
|
|
|
7796
7815
|
}
|
|
7797
7816
|
callHook(e, ...t) {
|
|
7798
7817
|
let n = this._hooks[e];
|
|
7799
|
-
if (!(!n || n.length === 0)) return
|
|
7818
|
+
if (!(!n || n.length === 0)) return Xr(n, t, 0);
|
|
7800
7819
|
}
|
|
7801
7820
|
};
|
|
7802
7821
|
//#endregion
|
|
7803
7822
|
//#region node_modules/unhead/dist/shared/unhead.Bm4Y6XQI.mjs
|
|
7804
|
-
function
|
|
7805
|
-
let t = new
|
|
7823
|
+
function Qr(e) {
|
|
7824
|
+
let t = new Zr();
|
|
7806
7825
|
for (let n in e || {}) t.hook(n, e[n]);
|
|
7807
7826
|
return t;
|
|
7808
7827
|
}
|
|
7809
|
-
function
|
|
7828
|
+
function $r(e, t, n) {
|
|
7810
7829
|
if (e.hooks?._hooks?.[t]?.length) return e.hooks?.callHook(t, n);
|
|
7811
7830
|
}
|
|
7812
7831
|
//#endregion
|
|
7813
7832
|
//#region node_modules/unhead/dist/shared/unhead.Bb4d5b9h.mjs
|
|
7814
|
-
function
|
|
7833
|
+
function ei(e, t, n) {
|
|
7815
7834
|
let r = e.push, i = e;
|
|
7816
|
-
return i.ssr = !1, i.hooks = t, i.dirty = !!i.dirty, i.use = (e) =>
|
|
7835
|
+
return i.ssr = !1, i.hooks = t, i.dirty = !!i.dirty, i.use = (e) => Rr(i, e), i.render = () => n(i), i.invalidate = () => {
|
|
7817
7836
|
for (let e of i.entries.values()) delete e._tags;
|
|
7818
7837
|
i.dirty = !0, t.callHook("entries:updated", i);
|
|
7819
7838
|
}, i.push = (n, a) => {
|
|
@@ -7833,46 +7852,46 @@ function $r(e, t, n) {
|
|
|
7833
7852
|
}
|
|
7834
7853
|
//#endregion
|
|
7835
7854
|
//#region node_modules/unhead/dist/shared/unhead.DgxHWvUc.mjs
|
|
7836
|
-
var
|
|
7855
|
+
var ti = /^(?:viewport|description|keywords|robots)$/, ni = [
|
|
7837
7856
|
"name",
|
|
7838
7857
|
"property",
|
|
7839
7858
|
"http-equiv"
|
|
7840
7859
|
];
|
|
7841
|
-
function
|
|
7860
|
+
function ri(e) {
|
|
7842
7861
|
let t = e.indexOf(":");
|
|
7843
7862
|
if (t === -1) return !1;
|
|
7844
7863
|
let n = e.indexOf(":", t + 1);
|
|
7845
|
-
return
|
|
7864
|
+
return qr.has(e.slice(t + 1, n === -1 ? e.length : n));
|
|
7846
7865
|
}
|
|
7847
|
-
function
|
|
7866
|
+
function ii(e) {
|
|
7848
7867
|
let { props: t, tag: n, key: r } = e;
|
|
7849
|
-
if (
|
|
7868
|
+
if (Wr.has(n)) return n;
|
|
7850
7869
|
if (n === "link") {
|
|
7851
7870
|
if (t.rel === "canonical") return "canonical";
|
|
7852
7871
|
if (t.rel === "alternate" && t.hreflang) return `alternate:${t.hreflang}`;
|
|
7853
7872
|
}
|
|
7854
7873
|
if (t.charset) return "charset";
|
|
7855
|
-
if (n === "meta") for (let e of
|
|
7874
|
+
if (n === "meta") for (let e of ni) {
|
|
7856
7875
|
let n = t[e];
|
|
7857
|
-
if (n !== void 0) return `meta:${n}${(typeof n != "string" || !n.includes(":")) && !
|
|
7876
|
+
if (n !== void 0) return `meta:${n}${(typeof n != "string" || !n.includes(":")) && !ti.test(n) && r ? `:key:${r}` : ""}`;
|
|
7858
7877
|
}
|
|
7859
|
-
return r ? `${n}:key:${r}` : t.id ? `${n}:id:${t.id}` : n === "link" && t.rel && t.href ? `link:${t.rel}:${t.href}` :
|
|
7878
|
+
return r ? `${n}:key:${r}` : t.id ? `${n}:id:${t.id}` : n === "link" && t.rel && t.href ? `link:${t.rel}:${t.href}` : Vr.has(n) && (e.textContent || e.innerHTML) ? `${n}:content:${e.textContent || e.innerHTML}` : void 0;
|
|
7860
7879
|
}
|
|
7861
|
-
function
|
|
7880
|
+
function ai(e) {
|
|
7862
7881
|
let t = e._h || e._d || e.textContent || e.innerHTML;
|
|
7863
7882
|
if (t) return t;
|
|
7864
7883
|
let n = Object.keys(e.props).sort(), r = `${e.tag}:`, i = "";
|
|
7865
7884
|
for (let t of n) r += `${i}${t}:${String(e.props[t])}`, i = ",";
|
|
7866
7885
|
return r;
|
|
7867
7886
|
}
|
|
7868
|
-
function
|
|
7887
|
+
function oi(e, t, n) {
|
|
7869
7888
|
if (n === "_resolver") return e;
|
|
7870
7889
|
typeof e == "function" && (!n || n !== "titleTemplate" && !n.startsWith("on")) && (e = e());
|
|
7871
7890
|
let r = t ? t(n, e) : e;
|
|
7872
7891
|
if (Array.isArray(r)) {
|
|
7873
7892
|
let e;
|
|
7874
7893
|
for (let n = 0; n < r.length; n++) {
|
|
7875
|
-
let i =
|
|
7894
|
+
let i = oi(r[n], t);
|
|
7876
7895
|
e ? e[n] = i : i !== r[n] && (e = r.slice(0, n), e[n] = i);
|
|
7877
7896
|
}
|
|
7878
7897
|
return e || r;
|
|
@@ -7880,7 +7899,7 @@ function ai(e, t, n) {
|
|
|
7880
7899
|
if (r?.constructor === Object) {
|
|
7881
7900
|
let e;
|
|
7882
7901
|
for (let n in r) {
|
|
7883
|
-
let i = /* @__PURE__ */
|
|
7902
|
+
let i = /* @__PURE__ */ Yr(n), a = i ? void 0 : oi(r[n], t, n);
|
|
7884
7903
|
if (!e && (i || a !== r[n])) {
|
|
7885
7904
|
e = {};
|
|
7886
7905
|
for (let t in r) {
|
|
@@ -7894,8 +7913,8 @@ function ai(e, t, n) {
|
|
|
7894
7913
|
}
|
|
7895
7914
|
return r;
|
|
7896
7915
|
}
|
|
7897
|
-
var
|
|
7898
|
-
function
|
|
7916
|
+
var si = /[\s"'<>/=\x00-\x1F\x7F]/;
|
|
7917
|
+
function ci(e, t) {
|
|
7899
7918
|
let n = e === "style", r = n ? /* @__PURE__ */ new Map() : /* @__PURE__ */ new Set(), i = (e) => {
|
|
7900
7919
|
if (e) if (n) {
|
|
7901
7920
|
let t = e.indexOf(":");
|
|
@@ -7910,18 +7929,18 @@ function si(e, t) {
|
|
|
7910
7929
|
}
|
|
7911
7930
|
return r;
|
|
7912
7931
|
}
|
|
7913
|
-
function
|
|
7932
|
+
function li(e, t) {
|
|
7914
7933
|
if (e.props = e.props || {}, !t) return e;
|
|
7915
7934
|
if (e.tag === "templateParams") return e.props = t, e;
|
|
7916
|
-
let n =
|
|
7935
|
+
let n = Hr.has(e.tag) || e.tag === "htmlAttrs" || e.tag === "bodyAttrs";
|
|
7917
7936
|
for (let r in t) {
|
|
7918
|
-
if (/* @__PURE__ */
|
|
7919
|
-
let i = r.startsWith("data-"), a = n && !
|
|
7920
|
-
if (a && (!o ||
|
|
7937
|
+
if (/* @__PURE__ */ Yr(r)) continue;
|
|
7938
|
+
let i = r.startsWith("data-"), a = n && !Gr.has(r), o = a && !i ? r.toLowerCase() : r;
|
|
7939
|
+
if (a && (!o || si.test(o))) continue;
|
|
7921
7940
|
let s = t[r];
|
|
7922
7941
|
if (s === null) e.props[o] = null;
|
|
7923
|
-
else if (r === "class" || r === "style") e.props[r] =
|
|
7924
|
-
else if (
|
|
7942
|
+
else if (r === "class" || r === "style") e.props[r] = ci(r, s);
|
|
7943
|
+
else if (Gr.has(r)) if ((r === "textContent" || r === "innerHTML") && typeof s == "object") {
|
|
7925
7944
|
let n = t.type || "application/json";
|
|
7926
7945
|
(n.endsWith("json") || n === "speculationrules" || n === "importmap") && (e.props.type = t.type = n, e[r] = JSON.stringify(s));
|
|
7927
7946
|
} else e[r] = s;
|
|
@@ -7932,19 +7951,19 @@ function ci(e, t) {
|
|
|
7932
7951
|
}
|
|
7933
7952
|
return e;
|
|
7934
7953
|
}
|
|
7935
|
-
function
|
|
7954
|
+
function ui(e, t) {
|
|
7936
7955
|
let n;
|
|
7937
7956
|
return t.length && (n = (e, n) => {
|
|
7938
7957
|
for (let r = 0; r < t.length; r++) n = t[r](e, n);
|
|
7939
7958
|
return n;
|
|
7940
|
-
}, e = n(void 0, e)),
|
|
7959
|
+
}, e = n(void 0, e)), oi(e, n);
|
|
7941
7960
|
}
|
|
7942
|
-
function
|
|
7943
|
-
let n =
|
|
7961
|
+
function di(e, t) {
|
|
7962
|
+
let n = li({
|
|
7944
7963
|
tag: e,
|
|
7945
7964
|
props: {}
|
|
7946
7965
|
}, typeof t == "object" && typeof t != "function" ? t : { [e === "script" || e === "noscript" || e === "style" ? "innerHTML" : "textContent"]: t });
|
|
7947
|
-
if (n.key &&
|
|
7966
|
+
if (n.key && Br.has(n.tag) && (n.props["data-hid"] = n._h = n.key), n.tag === "script" && typeof n.innerHTML == "object" && (n.innerHTML = JSON.stringify(n.innerHTML), n.props.type = n.props.type || "application/json"), Array.isArray(n.props.content)) {
|
|
7948
7967
|
let e = [];
|
|
7949
7968
|
for (let t of n.props.content) e.push({
|
|
7950
7969
|
...n,
|
|
@@ -7957,35 +7976,35 @@ function ui(e, t) {
|
|
|
7957
7976
|
}
|
|
7958
7977
|
return n;
|
|
7959
7978
|
}
|
|
7960
|
-
function
|
|
7979
|
+
function fi(e, t) {
|
|
7961
7980
|
if (Array.isArray(t)) for (let n of t) e.push(n);
|
|
7962
7981
|
else e.push(t);
|
|
7963
7982
|
}
|
|
7964
|
-
function
|
|
7983
|
+
function pi(e, t) {
|
|
7965
7984
|
if (!e) return [];
|
|
7966
|
-
typeof e == "function" && (e = e()), e =
|
|
7985
|
+
typeof e == "function" && (e = e()), e = ui(e, t);
|
|
7967
7986
|
let n = [];
|
|
7968
7987
|
for (let t in e) {
|
|
7969
7988
|
let r = e[t];
|
|
7970
|
-
if (r !== void 0) if (Array.isArray(r)) for (let e of r)
|
|
7971
|
-
else
|
|
7989
|
+
if (r !== void 0) if (Array.isArray(r)) for (let e of r) fi(n, di(t, e));
|
|
7990
|
+
else fi(n, di(t, r));
|
|
7972
7991
|
}
|
|
7973
7992
|
return n;
|
|
7974
7993
|
}
|
|
7975
|
-
var
|
|
7976
|
-
function
|
|
7994
|
+
var mi = /</g, hi = /<\/script/g, gi = (e, t) => e._w === t._w ? e._p - t._p : e._w - t._w, _i = () => 100;
|
|
7995
|
+
function vi(e) {
|
|
7977
7996
|
for (let t in e) return !1;
|
|
7978
7997
|
return !0;
|
|
7979
7998
|
}
|
|
7980
|
-
var
|
|
7981
|
-
function
|
|
7999
|
+
var yi = /^tags:|:render/;
|
|
8000
|
+
function bi(e, t) {
|
|
7982
8001
|
let n = (t["entries:resolve"]?.length || 0) + (t["entries:normalize"]?.length || 0);
|
|
7983
8002
|
if (e._h !== n) {
|
|
7984
8003
|
e._h = n;
|
|
7985
8004
|
for (let t of e.entries.values()) delete t._tags;
|
|
7986
8005
|
}
|
|
7987
8006
|
}
|
|
7988
|
-
function
|
|
8007
|
+
function xi(e) {
|
|
7989
8008
|
for (let t = 0; t < e.length; t++) {
|
|
7990
8009
|
let n = e[t], r = { ...n.props };
|
|
7991
8010
|
r.class instanceof Set && (r.class = new Set(r.class)), r.style instanceof Map && (r.style = new Map(r.style)), e[t] = {
|
|
@@ -7994,34 +8013,34 @@ function bi(e) {
|
|
|
7994
8013
|
};
|
|
7995
8014
|
}
|
|
7996
8015
|
}
|
|
7997
|
-
function
|
|
8016
|
+
function Si(e, t) {
|
|
7998
8017
|
let n = e.tags, r = 0;
|
|
7999
8018
|
for (let t of e.tagMap.values()) if (Array.isArray(t)) for (let e of t) n[r++] = e;
|
|
8000
8019
|
else n[r++] = t;
|
|
8001
|
-
n.length = r, t && n.sort(
|
|
8020
|
+
n.length = r, t && n.sort(gi);
|
|
8002
8021
|
}
|
|
8003
|
-
function
|
|
8022
|
+
function Ci(e) {
|
|
8004
8023
|
let t = !1;
|
|
8005
|
-
for (let n of e.tags.sort(
|
|
8006
|
-
let r = n._d ||
|
|
8024
|
+
for (let n of e.tags.sort(gi)) {
|
|
8025
|
+
let r = n._d || ai(n);
|
|
8007
8026
|
if (!r) continue;
|
|
8008
8027
|
let i = e.tagMap.get(r);
|
|
8009
8028
|
if (!i) {
|
|
8010
8029
|
e.tagMap.set(r, n);
|
|
8011
8030
|
continue;
|
|
8012
8031
|
}
|
|
8013
|
-
if ((n.tagDuplicateStrategy || (
|
|
8032
|
+
if ((n.tagDuplicateStrategy || (Kr.has(n.tag) ? "merge" : null) || (n.key && n.key === i.key ? "merge" : null)) === "merge") {
|
|
8014
8033
|
let t = { ...i.props };
|
|
8015
8034
|
for (let e in n.props) t[e] = e === "style" ? new Map([...i.props.style || /* @__PURE__ */ new Map(), ...n.props[e]]) : e === "class" ? /* @__PURE__ */ new Set([...i.props.class || [], ...n.props[e]]) : n.props[e];
|
|
8016
8035
|
e.tagMap.set(r, {
|
|
8017
8036
|
...n,
|
|
8018
8037
|
props: t
|
|
8019
8038
|
});
|
|
8020
|
-
} else n._p >> 10 == i._p >> 10 && n.tag === "meta" &&
|
|
8039
|
+
} else n._p >> 10 == i._p >> 10 && n.tag === "meta" && ri(r) ? (e.tagMap.set(r, Object.assign([...Array.isArray(i) ? i : [i], n], n)), t = !0) : (n._w === i._w ? n._p > i._p : n._w < i._w) && e.tagMap.set(r, n);
|
|
8021
8040
|
}
|
|
8022
8041
|
return t;
|
|
8023
8042
|
}
|
|
8024
|
-
function
|
|
8043
|
+
function wi(e, t) {
|
|
8025
8044
|
let n = e.tagMap.get("title"), r = e.tagMap.get("titleTemplate");
|
|
8026
8045
|
if (t._title = n?.textContent, !r) return;
|
|
8027
8046
|
let i = r.textContent;
|
|
@@ -8036,76 +8055,76 @@ function Ci(e, t) {
|
|
|
8036
8055
|
textContent: a
|
|
8037
8056
|
});
|
|
8038
8057
|
}
|
|
8039
|
-
function
|
|
8058
|
+
function Ti(e) {
|
|
8040
8059
|
let t = 0;
|
|
8041
8060
|
for (let n of e) {
|
|
8042
8061
|
let { innerHTML: r, tag: i, props: a } = n;
|
|
8043
|
-
if (!(!
|
|
8062
|
+
if (!(!Ur.has(i) || vi(a) && !r && !n.textContent) && !(i === "meta" && !a.content && !a["http-equiv"] && !a.charset)) {
|
|
8044
8063
|
if (i === "script" && (r || n.textContent)) {
|
|
8045
|
-
let e = String(a.type), t = e.endsWith("json") || e === "importmap" || e === "speculationrules", i = (e) => t ? (typeof e == "string" ? e : JSON.stringify(e)).replace(
|
|
8046
|
-
n = { ...n }, r && (n.innerHTML = i(r)), n.textContent &&= i(n.textContent), n._d =
|
|
8064
|
+
let e = String(a.type), t = e.endsWith("json") || e === "importmap" || e === "speculationrules", i = (e) => t ? (typeof e == "string" ? e : JSON.stringify(e)).replace(mi, "\\u003C") : typeof e == "string" ? e.replace(hi, "<\\/script") : e;
|
|
8065
|
+
n = { ...n }, r && (n.innerHTML = i(r)), n.textContent &&= i(n.textContent), n._d = ii(n);
|
|
8047
8066
|
}
|
|
8048
8067
|
e[t++] = n;
|
|
8049
8068
|
}
|
|
8050
8069
|
}
|
|
8051
8070
|
return e.length = t, e;
|
|
8052
8071
|
}
|
|
8053
|
-
function
|
|
8054
|
-
let n = t?.tagWeight ?? e.resolvedOptions._tagWeight ??
|
|
8072
|
+
function Ei(e, t) {
|
|
8073
|
+
let n = t?.tagWeight ?? e.resolvedOptions._tagWeight ?? _i, r = {
|
|
8055
8074
|
tagMap: /* @__PURE__ */ new Map(),
|
|
8056
8075
|
tags: []
|
|
8057
8076
|
}, i = e.hooks?._hooks || {};
|
|
8058
|
-
|
|
8077
|
+
bi(e, i);
|
|
8059
8078
|
for (let t of e.entries.values()) t._pending !== void 0 && (t.input = t._pending, delete t._pending, delete t._tags, delete t._precomputedTags);
|
|
8060
8079
|
let a;
|
|
8061
|
-
(i["entries:resolve"]?.length || i["entries:normalize"]?.length) && (a = [...e.entries.values()], i["entries:resolve"]?.length &&
|
|
8080
|
+
(i["entries:resolve"]?.length || i["entries:normalize"]?.length) && (a = [...e.entries.values()], i["entries:resolve"]?.length && $r(e, "entries:resolve", {
|
|
8062
8081
|
entries: a,
|
|
8063
8082
|
...r
|
|
8064
|
-
})),
|
|
8083
|
+
})), bi(e, i);
|
|
8065
8084
|
for (let t of a || e.entries.values()) {
|
|
8066
8085
|
let a = t._tags;
|
|
8067
|
-
if (!a) if (t._precomputedTags && n === e.resolvedOptions._tagWeight && !i["entries:normalize"]?.length && !i["entries:resolve"]?.length && (!t.options ||
|
|
8086
|
+
if (!a) if (t._precomputedTags && n === e.resolvedOptions._tagWeight && !i["entries:normalize"]?.length && !i["entries:resolve"]?.length && (!t.options || vi(t.options))) a = t._precomputedTags;
|
|
8068
8087
|
else {
|
|
8069
|
-
if (a =
|
|
8088
|
+
if (a = pi(t.input, e.resolvedOptions.propResolvers || []), t.options && !vi(t.options)) for (let e of a) Object.assign(e, t.options);
|
|
8070
8089
|
if (i["entries:normalize"]?.length) {
|
|
8071
8090
|
let n = {
|
|
8072
8091
|
tags: a,
|
|
8073
8092
|
entry: t
|
|
8074
8093
|
};
|
|
8075
|
-
|
|
8094
|
+
$r(e, "entries:normalize", n), a = n.tags;
|
|
8076
8095
|
}
|
|
8077
8096
|
for (let e = 0; e < a.length; e++) {
|
|
8078
8097
|
let r = a[e];
|
|
8079
|
-
r._w = n(r), r._p = (t._i << 10) + e, r._d =
|
|
8098
|
+
r._w = n(r), r._p = (t._i << 10) + e, r._d = ii(r), r._d || (r._h = ai(r));
|
|
8080
8099
|
}
|
|
8081
8100
|
t._tags = a;
|
|
8082
8101
|
}
|
|
8083
8102
|
r.tags.push(...a);
|
|
8084
8103
|
}
|
|
8085
|
-
for (let e in i) if (i[e]?.length &&
|
|
8086
|
-
|
|
8104
|
+
for (let e in i) if (i[e]?.length && yi.test(e)) {
|
|
8105
|
+
xi(r.tags);
|
|
8087
8106
|
break;
|
|
8088
8107
|
}
|
|
8089
|
-
let o =
|
|
8090
|
-
return
|
|
8108
|
+
let o = Ci(r);
|
|
8109
|
+
return wi(r, e), Si(r, o), $r(e, "tags:beforeResolve", r), $r(e, "tags:resolve", r), $r(e, "tags:afterResolve", r), Ti(r.tags);
|
|
8091
8110
|
}
|
|
8092
8111
|
//#endregion
|
|
8093
8112
|
//#region node_modules/unhead/dist/shared/unhead.B2jza4FG.mjs
|
|
8094
|
-
var
|
|
8113
|
+
var Di = /\s+/;
|
|
8095
8114
|
// @__NO_SIDE_EFFECTS__
|
|
8096
|
-
function
|
|
8097
|
-
return (t) =>
|
|
8115
|
+
function Oi(e = {}) {
|
|
8116
|
+
return (t) => Mi(t, e);
|
|
8098
8117
|
}
|
|
8099
|
-
function
|
|
8118
|
+
function ki(e) {
|
|
8100
8119
|
for (let t of e.entries.values()) if (t._pending !== void 0) return !0;
|
|
8101
8120
|
return !1;
|
|
8102
8121
|
}
|
|
8103
|
-
function
|
|
8122
|
+
function Ai(e) {
|
|
8104
8123
|
for (let t in e._s) e._s[t]();
|
|
8105
8124
|
for (let t in e._p) e._p[t]();
|
|
8106
8125
|
e._s = {}, e._p = {}, e._e.clear(), e._l.clear();
|
|
8107
8126
|
}
|
|
8108
|
-
function
|
|
8127
|
+
function ji(e, t) {
|
|
8109
8128
|
let n = {
|
|
8110
8129
|
_d: t,
|
|
8111
8130
|
_t: t.title,
|
|
@@ -8116,15 +8135,15 @@ function Ai(e, t) {
|
|
|
8116
8135
|
};
|
|
8117
8136
|
for (let e of [...t.body.children, ...t.head.children]) {
|
|
8118
8137
|
let t = e.tagName.toLowerCase();
|
|
8119
|
-
if (!
|
|
8138
|
+
if (!Hr.has(t)) continue;
|
|
8120
8139
|
let r = { innerHTML: e.innerHTML };
|
|
8121
8140
|
for (let t of e.getAttributeNames()) r[t] = e.getAttribute(t);
|
|
8122
|
-
let i =
|
|
8141
|
+
let i = li({
|
|
8123
8142
|
tag: t,
|
|
8124
8143
|
props: {}
|
|
8125
8144
|
}, r);
|
|
8126
8145
|
i.key = e.getAttribute("data-hid") || void 0;
|
|
8127
|
-
let a =
|
|
8146
|
+
let a = ii(i) || ai(i), o = a, s = 1;
|
|
8128
8147
|
for (; n._e.has(o);) o = `${a}:${s++}`;
|
|
8129
8148
|
n._e.set(o, e);
|
|
8130
8149
|
}
|
|
@@ -8134,15 +8153,15 @@ function Ai(e, t) {
|
|
|
8134
8153
|
let r = e[t]?.class;
|
|
8135
8154
|
if (typeof r == "string") {
|
|
8136
8155
|
let e = n._e.get(t);
|
|
8137
|
-
for (let i of r.split(
|
|
8156
|
+
for (let i of r.split(Di)) i && (n._p[`${t}:attr:class:${i}`] = () => e.classList.remove(i));
|
|
8138
8157
|
}
|
|
8139
8158
|
}
|
|
8140
8159
|
}
|
|
8141
8160
|
return n;
|
|
8142
8161
|
}
|
|
8143
|
-
function
|
|
8162
|
+
function Mi(e, t = {}) {
|
|
8144
8163
|
let n = t.document || e.resolvedOptions.document, r = e._dom, i = !!r && r._d !== n;
|
|
8145
|
-
if (!n || !i && !e.dirty && !
|
|
8164
|
+
if (!n || !i && !e.dirty && !ki(e) || e._du) return !1;
|
|
8146
8165
|
let a = n.defaultView;
|
|
8147
8166
|
e._du = !0;
|
|
8148
8167
|
let o = !1;
|
|
@@ -8208,63 +8227,63 @@ function ji(e, t = {}) {
|
|
|
8208
8227
|
shouldRender: !0,
|
|
8209
8228
|
tags: []
|
|
8210
8229
|
};
|
|
8211
|
-
if (
|
|
8230
|
+
if ($r(e, "dom:beforeRender", l), !l.shouldRender) return !1;
|
|
8212
8231
|
let u = e._dom;
|
|
8213
|
-
u?._d !== n && (u &&
|
|
8232
|
+
u?._d !== n && (u && Ai(u), u = void 0), u ? u._p = u._s : u = ji(e, n), u._s = {};
|
|
8214
8233
|
let d = u, f = [], p = {};
|
|
8215
8234
|
e.dirty = !1;
|
|
8216
|
-
let m =
|
|
8235
|
+
let m = Ei(e, t.tagWeight ? { tagWeight: t.tagWeight } : void 0), h = [], g = {};
|
|
8217
8236
|
for (let e of m) {
|
|
8218
8237
|
let t = g[e._d] || 0, i = (t ? `${e._d}:${t}` : e._d) || e._h, a = {
|
|
8219
8238
|
tag: e,
|
|
8220
8239
|
id: i,
|
|
8221
8240
|
shouldRender: !0
|
|
8222
8241
|
};
|
|
8223
|
-
if (e.tag === "meta" && e._d &&
|
|
8242
|
+
if (e.tag === "meta" && e._d && ri(e._d) && (g[e._d] = t + 1), h.push(a), e.tag === "title") {
|
|
8224
8243
|
n.title = e.textContent, r("title", "", () => n.title = d._t);
|
|
8225
8244
|
continue;
|
|
8226
8245
|
}
|
|
8227
|
-
a.$el = d._e.get(i), a.$el ? c(a) :
|
|
8246
|
+
a.$el = d._e.get(i), a.$el ? c(a) : Hr.has(e.tag) && f.push(a);
|
|
8228
8247
|
}
|
|
8229
8248
|
for (let e of f) e.$el = n.createElement(e.tag.tag), c(e), (p[e.tag.tagPosition || "head"] ??= n.createDocumentFragment()).appendChild(e.$el);
|
|
8230
8249
|
p.head && n.head.appendChild(p.head), p.bodyOpen && n.body.insertBefore(p.bodyOpen, n.body.firstChild), p.bodyClose && n.body.appendChild(p.bodyClose);
|
|
8231
8250
|
for (let e in d._p) d._p[e]();
|
|
8232
|
-
e._dom = d, o = !0,
|
|
8251
|
+
e._dom = d, o = !0, $r(e, "dom:rendered", { renders: h });
|
|
8233
8252
|
} catch (t) {
|
|
8234
8253
|
throw e.dirty = !0, t;
|
|
8235
8254
|
} finally {
|
|
8236
8255
|
e._du = !1;
|
|
8237
8256
|
}
|
|
8238
|
-
return o && (e.dirty ||
|
|
8257
|
+
return o && (e.dirty || ki(e)) && Mi(e, t), o;
|
|
8239
8258
|
}
|
|
8240
8259
|
//#endregion
|
|
8241
8260
|
//#region node_modules/unhead/dist/shared/unhead.C6wXFVPb.mjs
|
|
8242
|
-
var
|
|
8243
|
-
function
|
|
8261
|
+
var Ni = (e) => typeof e.tagPriority == "number" ? e.tagPriority : 100 + (Jr[e.tagPriority] || 0);
|
|
8262
|
+
function Pi(e = {}) {
|
|
8244
8263
|
e.document = e.document || (typeof window < "u" ? document : void 0);
|
|
8245
|
-
let t = e.render || /* @__PURE__ */
|
|
8264
|
+
let t = e.render || /* @__PURE__ */ Oi({ document: e.document }), n = ei(/* @__PURE__ */ zr(t, {
|
|
8246
8265
|
document: e.document,
|
|
8247
8266
|
propResolvers: e.propResolvers,
|
|
8248
|
-
_tagWeight:
|
|
8267
|
+
_tagWeight: Ni,
|
|
8249
8268
|
init: []
|
|
8250
|
-
}),
|
|
8269
|
+
}), Qr(e.hooks), t);
|
|
8251
8270
|
return e.plugins?.forEach((e) => n.use(e)), e.init?.forEach((e) => e && n.push(e)), n;
|
|
8252
8271
|
}
|
|
8253
8272
|
//#endregion
|
|
8254
8273
|
//#region node_modules/@unhead/vue/dist/shared/vue.DKb5ZKVl.mjs
|
|
8255
|
-
var
|
|
8274
|
+
var Fi = "usehead";
|
|
8256
8275
|
// @__NO_SIDE_EFFECTS__
|
|
8257
|
-
function
|
|
8276
|
+
function Ii(e) {
|
|
8258
8277
|
return { install(t) {
|
|
8259
|
-
t.config.globalProperties.$unhead = e, t.config.globalProperties.$head = e, t.provide(
|
|
8278
|
+
t.config.globalProperties.$unhead = e, t.config.globalProperties.$head = e, t.provide(Fi, e);
|
|
8260
8279
|
} }.install;
|
|
8261
8280
|
}
|
|
8262
8281
|
//#endregion
|
|
8263
8282
|
//#region node_modules/@unhead/vue/dist/client.mjs
|
|
8264
8283
|
// @__NO_SIDE_EFFECTS__
|
|
8265
|
-
function
|
|
8266
|
-
let t = /* @__PURE__ */
|
|
8267
|
-
return n =
|
|
8284
|
+
function Li(e = {}) {
|
|
8285
|
+
let t = /* @__PURE__ */ Oi(), n, r = 0;
|
|
8286
|
+
return n = Pi({
|
|
8268
8287
|
render: () => {
|
|
8269
8288
|
let e = ++r;
|
|
8270
8289
|
setTimeout(() => {
|
|
@@ -8272,12 +8291,12 @@ function Ii(e = {}) {
|
|
|
8272
8291
|
}, 0);
|
|
8273
8292
|
},
|
|
8274
8293
|
...e
|
|
8275
|
-
}), n.install = /* @__PURE__ */
|
|
8294
|
+
}), n.install = /* @__PURE__ */ Ii(n), n;
|
|
8276
8295
|
}
|
|
8277
8296
|
//#endregion
|
|
8278
8297
|
//#region src/entries/hotel.ts
|
|
8279
|
-
var
|
|
8280
|
-
e.use(I), e.use(
|
|
8298
|
+
var Ri = k(), zi = /* @__PURE__ */ Li(), Bi = D("konnectio-hotel", Lr, (e) => {
|
|
8299
|
+
e.use(I), e.use(zi), e.use(Ri), e.use(E), e.use(We), e.use(Pe);
|
|
8281
8300
|
});
|
|
8282
8301
|
//#endregion
|
|
8283
|
-
export {
|
|
8302
|
+
export { Bi as default };
|