@revolugo/elements 6.8.2-beta.30 → 6.8.2-beta.32
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/css/revolugo.bdaterangepicker.D1e8WHUE.css +1 -0
- package/dist/css/revolugo.bimagecarousel.DFlgQMzq.css +1 -0
- package/dist/css/{revolugo.btag.g-q3eChG.css → revolugo.btag.CYbY5J61.css} +1 -1
- package/dist/css/revolugo.hotelroomofferlist.Dh1OAA7W.css +1 -0
- package/dist/css/revolugo.index.DK7d_h6O.css +1 -0
- package/dist/css/revolugo.vbadge.C45eZpxy.css +1 -0
- package/dist/css/revolugo.vbtn.DpMO1Ky2.css +1 -0
- package/dist/css/revolugo.vcard.TERzfknI.css +1 -0
- package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.css +1 -0
- package/dist/css/revolugo.vlist.-Y4qkukF.css +1 -0
- package/dist/css/{revolugo.vsnackbar.Cj7AcupY.css → revolugo.vsnackbar.CCfuo3ao.css} +1 -1
- package/dist/css/{revolugo.webcomponentwrapper.DRCKFwuk.css → revolugo.webcomponentwrapper.BNxGrktU.css} +2 -2
- package/dist/index.es.min.js +1927 -2144
- package/dist/index.es.min.js.map +1 -1
- package/dist/index.min.js +6 -6
- package/dist/index.min.js.map +1 -1
- package/dist/{revolugo._baseiteratee.CLhJGa_I.min.js → revolugo._baseiteratee.6H9boq3g.min.js} +3 -3
- package/dist/{revolugo.banktransferdetails.Djs6mxU0.min.js → revolugo.banktransferdetails.BLIe136S.min.js} +9 -9
- package/dist/revolugo.bdaterangepicker.Hf5naLtO.min.js +8328 -0
- package/dist/{revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.C3xbTcQN.min.js → revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.DhvK2mdJ.min.js} +32 -36
- package/dist/{revolugo.bhoteloffersfilterbar.CVh2pH-N.min.js → revolugo.bhoteloffersfilterbar.DicKWcI_.min.js} +1672 -1766
- package/dist/{revolugo.bhotelroomsdetails.C4xdQLfe.min.js → revolugo.bhotelroomsdetails.BZUH-ZM3.min.js} +79 -83
- package/dist/{revolugo.bhotelsearchbar.DR7UHkQo.min.js → revolugo.bhotelsearchbar.C0QSx8nR.min.js} +116 -119
- package/dist/{revolugo.bimagecarousel.DhwrLMiX.min.js → revolugo.bimagecarousel.i3XKJie3.min.js} +165 -174
- package/dist/{revolugo.bookingdetailssidebar.DkBHaNwV.min.js → revolugo.bookingdetailssidebar.La43Csfa.min.js} +4 -4
- package/dist/{revolugo.bookingdetailssidebar.DwIul6C1.min.js → revolugo.bookingdetailssidebar.pzLkF0dO.min.js} +207 -221
- package/dist/{revolugo.bookingmanager.CmdsCQDi.min.js → revolugo.bookingmanager.Sx2krZHP.min.js} +429 -463
- package/dist/{revolugo.bpricesummaryskeleton.BcgNLGYX.min.js → revolugo.bpricesummaryskeleton.DoLktkiO.min.js} +4 -4
- package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.B4psJ9Sg.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.DkRSrr6-.min.js} +148 -157
- package/dist/revolugo.btag.DqKCcO64.min.js +375 -0
- package/dist/{revolugo.cancellationpoliciesbadge.D7CMWTdG.min.js → revolugo.cancellationpoliciesbadge.CDsOorfl.min.js} +86 -95
- package/dist/{revolugo.cancellationpoliciesbadge.Bp43_l5_.min.js → revolugo.cancellationpoliciesbadge.DNXgKhv6.min.js} +4 -4
- package/dist/{revolugo.cancellationpolicieslist.hSJAFEGT.min.js → revolugo.cancellationpolicieslist.M5d1D5ot.min.js} +9 -9
- package/dist/{revolugo.cancellationpolicieslist.D2idtSnK.min.js → revolugo.cancellationpolicieslist.v9YSV-JD.min.js} +4 -4
- package/dist/revolugo.case-transformers.CZexLFCC.min.js +123 -0
- package/dist/{revolugo.creditcardform.CrwpUivQ.min.js → revolugo.creditcardform.BwNdpOYa.min.js} +4 -4
- package/dist/{revolugo.creditcardform.SRz4ls19.min.js → revolugo.creditcardform.DIm8PFZB.min.js} +38 -51
- package/dist/{revolugo.creditcardpayment.bSs8I8av.min.js → revolugo.creditcardpayment.B-Pu0q9P.min.js} +4 -4
- package/dist/{revolugo.creditcardpayment.BcVHQlKJ.min.js → revolugo.creditcardpayment.CXpVfsjF.min.js} +152 -162
- package/dist/{revolugo.currencypicker.-B3knz6i.min.js → revolugo.currencypicker.CYlyvR4X.min.js} +7 -7
- package/dist/{revolugo.currencypickerbtn.CyHWGHaW.min.js → revolugo.currencypickerbtn.BT6jQ33A.min.js} +4 -4
- package/dist/{revolugo.currencypickerbtn.D38ZdlKW.min.js → revolugo.currencypickerbtn.D-qAsHj-.min.js} +42 -45
- package/dist/{revolugo.defaultsdeep.z9urzKAp.min.js → revolugo.defaultsdeep.xStfx1ax.min.js} +2 -2
- package/dist/{revolugo.dialog-attach.D_OA19-E.min.js → revolugo.dialog-attach.DhGjpV86.min.js} +5 -6
- package/dist/revolugo.dialog-transition.Bcw3NUGf.min.js +111 -0
- package/dist/{revolugo.fastbookingflow.CJP79XT7.min.js → revolugo.fastbookingflow.BvOeLD5-.min.js} +6 -6
- package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +70 -0
- package/dist/{revolugo.fullbookingflow.Cd2NIaQ2.min.js → revolugo.fullbookingflow.CXY4HX1N.min.js} +122 -128
- package/dist/{revolugo.hotel-offer-request.CgsVMCkE.min.js → revolugo.hotel-offer-request.Ckk1mKtM.min.js} +18 -18
- package/dist/{revolugo.hoteldescriptionview.BSrnxJem.min.js → revolugo.hoteldescriptionview.BEjBGuX8.min.js} +591 -623
- package/dist/{revolugo.hoteldescriptionview.Cl2E63e2.min.js → revolugo.hoteldescriptionview.Dup60cXR.min.js} +4 -4
- package/dist/{revolugo.hotelofferitemlayout.BMzCfYQ7.min.js → revolugo.hotelofferitemlayout.BHmFEPSg.min.js} +12 -12
- package/dist/{revolugo.hotelofferlist.B3yjbXlQ.min.js → revolugo.hotelofferlist.Bx4nX-96.min.js} +1563 -1693
- package/dist/{revolugo.hotelofferlist.DhYBX5pF.min.js → revolugo.hotelofferlist.C6LDBssl.min.js} +4 -4
- package/dist/{revolugo.hotelofferrequestcreator.CNbav2EO.min.js → revolugo.hotelofferrequestcreator.Dh7iqMnT.min.js} +5 -5
- package/dist/{revolugo.hoteloffersearchmenu.BZascblw.min.js → revolugo.hoteloffersearchmenu.CCwN9-vq.min.js} +9 -9
- package/dist/{revolugo.hoteloffersmap.DkNN0NQB.min.js → revolugo.hoteloffersmap.CIKwD_xJ.min.js} +4 -4
- package/dist/{revolugo.hoteloffersmap.D6hRTrsf.min.js → revolugo.hoteloffersmap.m4FlKwmK.min.js} +563 -574
- package/dist/{revolugo.hoteloffersview.DjAXSPOG.min.js → revolugo.hoteloffersview.B173js2k.min.js} +123 -128
- package/dist/{revolugo.hoteloffersview.CPYXigVN.min.js → revolugo.hoteloffersview.BqnmWsMz.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferlist.C_HCimvP.min.js → revolugo.hotelroomofferlist.BZXX-P21.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferlist.wD_JIpuK.min.js → revolugo.hotelroomofferlist.DRs28YA0.min.js} +879 -958
- package/dist/{revolugo.hotelroomofferrequestcreator.props.DjBXUl-H.min.js → revolugo.hotelroomofferrequestcreator.props.DYl1bNk3.min.js} +6 -6
- package/dist/{revolugo.hotelroomoffersbookingflow.2E3AYERj.min.js → revolugo.hotelroomoffersbookingflow.BcLRNLjr.min.js} +333 -358
- package/dist/{revolugo.hotelroomoffersearchmenu.B-C4YSFE.min.js → revolugo.hotelroomoffersearchmenu.CNesdHU7.min.js} +5 -5
- package/dist/{revolugo.hotelroomoffersearchmenu.DrW5uMfL.min.js → revolugo.hotelroomoffersearchmenu.Wp752y1o.min.js} +34 -36
- package/dist/{revolugo.hotelroomoffersview.DVsdh7Jz.min.js → revolugo.hotelroomoffersview.DLI5HjEV.min.js} +4 -4
- package/dist/{revolugo.hotelroomoffersview.CCmILEaO.min.js → revolugo.hotelroomoffersview.DjawPPhb.min.js} +67 -70
- package/dist/{revolugo.index.Dyr1hnew.min.js → revolugo.index.DmlGotxY.min.js} +406 -429
- package/dist/{revolugo.index.wc.BaFPloEH.min.js → revolugo.index.wc.WVpKRxMB.min.js} +6421 -6529
- package/dist/{revolugo.langpicker.CaQ17b6t.min.js → revolugo.langpicker.DH2bznjc.min.js} +24 -27
- package/dist/{revolugo.langpickerbtn.DTkV9PYE.min.js → revolugo.langpickerbtn.DZv8SOmQ.min.js} +4 -4
- package/dist/revolugo.langpickerbtn._diECV_y.min.js +114 -0
- package/dist/revolugo.min.js +1 -1
- package/dist/{revolugo.pathify.CKNqCKLR.min.js → revolugo.pathify.BuwB3BVA.min.js} +4 -4
- package/dist/{revolugo.prebookform.p-M6zS08.min.js → revolugo.prebookform.Bcz1mlsa.min.js} +4 -4
- package/dist/{revolugo.prebookform.CxKmwFK-.min.js → revolugo.prebookform.Bj_b0HkS.min.js} +98 -102
- package/dist/{revolugo.roominglisteditor.5gfIA3r6.min.js → revolugo.roominglisteditor.C0Rz5zK-.min.js} +98 -104
- package/dist/{revolugo.roominglisteditor.Zz9TPhp6.min.js → revolugo.roominglisteditor.C2Q0WwI8.min.js} +4 -4
- package/dist/{revolugo.rounded.CQuigzpH.min.js → revolugo.rounded.9zOj37mK.min.js} +2 -2
- package/dist/{revolugo.ssrboot.DfQY0r5E.min.js → revolugo.ssrboot.Dobig8z2.min.js} +2 -2
- package/dist/{revolugo.storybooktoolbar.DikXrkgz.min.js → revolugo.storybooktoolbar.mGWlvD2d.min.js} +98 -102
- package/dist/{revolugo.termsandconditions.Bbo5pbgR.min.js → revolugo.termsandconditions.TXeTt1Nc.min.js} +4 -4
- package/dist/{revolugo.termsandconditions.CiHuvfp6.min.js → revolugo.termsandconditions.X_g9eXJQ.min.js} +52 -55
- package/dist/revolugo.use-breakpoint-service.B4fTuJ-m.min.js +39 -0
- package/dist/revolugo.use-dialog-attach.Clv6_XDd.min.js +16 -0
- package/dist/revolugo.use-html-element.BeuzybMb.min.js +11 -0
- package/dist/revolugo.vautocomplete.Ct5J0tRD.min.js +445 -0
- package/dist/revolugo.vbadge.QbwE0z0S.min.js +112 -0
- package/dist/revolugo.vbtn.wY8QdelT.min.js +398 -0
- package/dist/revolugo.vcard.B-jDhizq.min.js +313 -0
- package/dist/revolugo.vcheckboxbtn.DOldzxr3.min.js +478 -0
- package/dist/revolugo.vdialog.TOtJcCR5.min.js +133 -0
- package/dist/{revolugo.vdivider.93Ehbd8W.min.js → revolugo.vdivider.C5hf52x9.min.js} +3 -3
- package/dist/revolugo.vexpansionpanels.rpkSdxyn.min.js +262 -0
- package/dist/revolugo.vform.D9o42qf6.min.js +46 -0
- package/dist/revolugo.vicon.DNDpBQSo.min.js +105 -0
- package/dist/revolugo.vinput.Z7Yl1GBk.min.js +463 -0
- package/dist/revolugo.vlabel.Bv07dXLJ.min.js +48 -0
- package/dist/revolugo.vlist.Dc4CBbyk.min.js +1299 -0
- package/dist/revolugo.vmenu.M77T6yV3.min.js +145 -0
- package/dist/revolugo.vselect.ho1sqVZQ.min.js +660 -0
- package/dist/{revolugo.vsheet.H2Eli2di.min.js → revolugo.vsheet.gTN06v3j.min.js} +11 -11
- package/dist/{revolugo.vskeletonloader.B-Qq0740.min.js → revolugo.vskeletonloader.CiGvw4Fx.min.js} +57 -58
- package/dist/revolugo.vslidegroup.BmHjyRja.min.js +325 -0
- package/dist/revolugo.vsnackbar.j4tc9aCn.min.js +198 -0
- package/dist/revolugo.vspacer.B5ih922c.min.js +7 -0
- package/dist/{revolugo.vtextarea.BJaCwHl5.min.js → revolugo.vtextarea.V23aCbtI.min.js} +361 -371
- package/dist/revolugo.vtextfield.BKLBPM7L.min.js +501 -0
- package/dist/revolugo.vtoolbar.Csrzhb69.min.js +180 -0
- package/dist/revolugo.vtooltip.D5h38LhM.min.js +89 -0
- package/dist/revolugo.vwindowitem.DwV9VIGY.min.js +317 -0
- package/dist/revolugo.watch-list.dDO5YYYm.min.js +16 -0
- package/dist/{revolugo.webcomponentwrapper.Byzhja-M.min.js → revolugo.webcomponentwrapper.Ggu2FW__.min.js} +779 -825
- package/package.json +1 -1
- package/dist/css/revolugo.bdaterangepicker.BLYZnPjh.css +0 -1
- package/dist/css/revolugo.bimagecarousel.BvgD1yrr.css +0 -1
- package/dist/css/revolugo.hotelroomofferlist.CCKyS5V3.css +0 -1
- package/dist/css/revolugo.index.4hIg6F8J.css +0 -1
- package/dist/css/revolugo.vbadge.BQrRJ9S0.css +0 -1
- package/dist/css/revolugo.vbtn.BU0YQ6en.css +0 -1
- package/dist/css/revolugo.vcard.B8jNYFn_.css +0 -1
- package/dist/css/revolugo.vcheckboxbtn.BQ05xI0T.css +0 -1
- package/dist/css/revolugo.vlist.BkGS0yqt.css +0 -1
- package/dist/revolugo.bdaterangepicker.D9a3kNuM.min.js +0 -8436
- package/dist/revolugo.btag.mY1ErEMj.min.js +0 -389
- package/dist/revolugo.case-transformers.VM7X_9Q1.min.js +0 -123
- package/dist/revolugo.dialog-transition.D9Rvu5kv.min.js +0 -114
- package/dist/revolugo.forwardrefs.-bfQnFea.min.js +0 -71
- package/dist/revolugo.langpickerbtn.DmoEWum3.min.js +0 -126
- package/dist/revolugo.use-breakpoint-service.BLlHYRIa.min.js +0 -45
- package/dist/revolugo.use-html-element.C-V3ql2M.min.js +0 -12
- package/dist/revolugo.vautocomplete.CimHObsW.min.js +0 -467
- package/dist/revolugo.vbadge.dOVHEqkO.min.js +0 -118
- package/dist/revolugo.vbtn.C5rBd2Qx.min.js +0 -417
- package/dist/revolugo.vcard.Dw6Qxohz.min.js +0 -329
- package/dist/revolugo.vcheckboxbtn.oJMjQhq7.min.js +0 -491
- package/dist/revolugo.vdialog.DBJFoM4O.min.js +0 -139
- package/dist/revolugo.vexpansionpanels.nGkPqsEk.min.js +0 -277
- package/dist/revolugo.vform.D7BJmMQ-.min.js +0 -50
- package/dist/revolugo.vicon.CuIGTijn.min.js +0 -106
- package/dist/revolugo.vinput.C6k3-74L.min.js +0 -478
- package/dist/revolugo.vlabel.BNLTPj0h.min.js +0 -51
- package/dist/revolugo.vlist.B56e-cT_.min.js +0 -1348
- package/dist/revolugo.vmenu.DhHohFn7.min.js +0 -152
- package/dist/revolugo.vselect.BHhGGQU3.min.js +0 -689
- package/dist/revolugo.vslidegroup.ChtHIkDN.min.js +0 -333
- package/dist/revolugo.vsnackbar.-lEdFT5G.min.js +0 -201
- package/dist/revolugo.vspacer.DaFDHuC9.min.js +0 -7
- package/dist/revolugo.vtextfield.CMQN6tSz.min.js +0 -508
- package/dist/revolugo.vtoolbar.CSyyGTVc.min.js +0 -188
- package/dist/revolugo.vtooltip.CvplYWvb.min.js +0 -90
- package/dist/revolugo.vwindowitem.bzpa5cVc.min.js +0 -329
- package/dist/revolugo.watch-list.Be1UUzWP.min.js +0 -16
package/dist/{revolugo.hoteloffersmap.D6hRTrsf.min.js → revolugo.hoteloffersmap.m4FlKwmK.min.js}
RENAMED
@@ -1,17 +1,17 @@
|
|
1
|
-
import {
|
2
|
-
import { h as Br, H as Ir } from "./revolugo.hotelofferrequestcreator.
|
3
|
-
import { H as Zr, a as Ji, D as Rr, p as Nr, c as Dr, B as Hr, d as Fr, u as Vr } from "./revolugo.bhoteloffersfilterbar.
|
4
|
-
import { _ as en, B as Wr, c as Ur } from "./revolugo.webcomponentwrapper.
|
5
|
-
import { _ as qr } from "./revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.
|
6
|
-
import { V as Yt } from "./revolugo.vicon.
|
7
|
-
import { p as Yi } from "./revolugo.bstarrating.vue_vue_type_script_setup_true_lang.
|
8
|
-
import { w as jr } from "./revolugo.watch-list.
|
9
|
-
import { u as Gr } from "./revolugo.hotelroomofferrequestcreator.props.
|
10
|
-
import { p as Kr, g as
|
11
|
-
import { V as Jr } from "./revolugo.vskeletonloader.
|
12
|
-
import { V as Yr } from "./revolugo.index.
|
13
|
-
import { V as ai } from "./revolugo.vtooltip.
|
14
|
-
import { a as Xi } from "./revolugo.vbtn.
|
1
|
+
import { ag as xr, d as Pt, ah as se, k as st, V as Ft, ai as Xt, T as Et, aj as Vt, W as ui, ak as Tr, al as Ht, J as ri, O as vo, am as $i, an as Mr, u as tn, i as ut, e as oe, g as gt, a as U, w as A, f as Lt, C as Qi, t as At, r as lt, H as ve, o as Z, c as et, b as Or, N as Sr, E as ji, ao as Cr, af as kr, G as zr, F as _e, L as Ar, M as Er, D as Gi, j as yo, B as Ki } from "./revolugo.index.wc.WVpKRxMB.min.js";
|
2
|
+
import { h as Br, H as Ir } from "./revolugo.hotelofferrequestcreator.Dh7iqMnT.min.js";
|
3
|
+
import { H as Zr, a as Ji, D as Rr, p as Nr, c as Dr, B as Hr, d as Fr, u as Vr } from "./revolugo.bhoteloffersfilterbar.DicKWcI_.min.js";
|
4
|
+
import { _ as en, B as Wr, c as Ur } from "./revolugo.webcomponentwrapper.Ggu2FW__.min.js";
|
5
|
+
import { _ as qr } from "./revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.DhvK2mdJ.min.js";
|
6
|
+
import { V as Yt } from "./revolugo.vicon.DNDpBQSo.min.js";
|
7
|
+
import { p as Yi } from "./revolugo.bstarrating.vue_vue_type_script_setup_true_lang.DkRSrr6-.min.js";
|
8
|
+
import { w as jr } from "./revolugo.watch-list.dDO5YYYm.min.js";
|
9
|
+
import { u as Gr } from "./revolugo.hotelroomofferrequestcreator.props.DYl1bNk3.min.js";
|
10
|
+
import { p as Kr, g as ge } from "./revolugo.pathify.BuwB3BVA.min.js";
|
11
|
+
import { V as Jr } from "./revolugo.vskeletonloader.CiGvw4Fx.min.js";
|
12
|
+
import { V as Yr } from "./revolugo.index.DmlGotxY.min.js";
|
13
|
+
import { V as ai } from "./revolugo.vtooltip.D5h38LhM.min.js";
|
14
|
+
import { a as Xi } from "./revolugo.vbtn.wY8QdelT.min.js";
|
15
15
|
function Pr(r) {
|
16
16
|
try {
|
17
17
|
if (typeof document < "u") {
|
@@ -19,13 +19,13 @@ function Pr(r) {
|
|
19
19
|
sheets: [],
|
20
20
|
components: []
|
21
21
|
};
|
22
|
-
const l = import.meta.url,
|
23
|
-
window.REVOLUGO_ELEMENTS_STYLES.sheets.push(
|
22
|
+
const l = import.meta.url, h = l.slice(0, l.lastIndexOf("/") + 1) + r;
|
23
|
+
window.REVOLUGO_ELEMENTS_STYLES.sheets.push(h);
|
24
24
|
for (const d of REVOLUGO_ELEMENTS_STYLES.components)
|
25
|
-
d(
|
25
|
+
d(h);
|
26
26
|
if (r.indexOf("fonts") >= 0) {
|
27
27
|
const d = document.createElement("link");
|
28
|
-
d.rel = "stylesheet", linK.href =
|
28
|
+
d.rel = "stylesheet", linK.href = h, document.head.appendChild(d);
|
29
29
|
}
|
30
30
|
}
|
31
31
|
} catch (l) {
|
@@ -33,8 +33,8 @@ function Pr(r) {
|
|
33
33
|
}
|
34
34
|
}
|
35
35
|
function Xr(r, l) {
|
36
|
-
for (var
|
37
|
-
const d = l[
|
36
|
+
for (var h = 0; h < l.length; h++) {
|
37
|
+
const d = l[h];
|
38
38
|
if (typeof d != "string" && !Array.isArray(d)) {
|
39
39
|
for (const p in d)
|
40
40
|
if (p !== "default" && !(p in r)) {
|
@@ -91,17 +91,17 @@ const Mo = {
|
|
91
91
|
type: [String, Object]
|
92
92
|
}
|
93
93
|
};
|
94
|
-
var
|
94
|
+
var Ze = { exports: {} };
|
95
95
|
/* @preserve
|
96
96
|
* Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com
|
97
97
|
* (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade
|
98
98
|
*/
|
99
|
-
var $r =
|
99
|
+
var $r = Ze.exports, wo;
|
100
100
|
function ta() {
|
101
101
|
return wo || (wo = 1, function(r, l) {
|
102
|
-
(function(
|
102
|
+
(function(h, d) {
|
103
103
|
d(l);
|
104
|
-
})($r, function(
|
104
|
+
})($r, function(h) {
|
105
105
|
var d = "1.9.4";
|
106
106
|
function p(t) {
|
107
107
|
var e, i, n, o;
|
@@ -133,11 +133,11 @@ function ta() {
|
|
133
133
|
return "_leaflet_id" in t || (t._leaflet_id = ++T), t._leaflet_id;
|
134
134
|
}
|
135
135
|
function E(t, e, i) {
|
136
|
-
var n, o, s,
|
137
|
-
return
|
136
|
+
var n, o, s, a;
|
137
|
+
return a = function() {
|
138
138
|
n = !1, o && (s.apply(i, o), o = !1);
|
139
139
|
}, s = function() {
|
140
|
-
n ? o = arguments : (t.apply(i, arguments), setTimeout(
|
140
|
+
n ? o = arguments : (t.apply(i, arguments), setTimeout(a, e), n = !0);
|
141
141
|
}, s;
|
142
142
|
}
|
143
143
|
function x(t, e, i) {
|
@@ -189,19 +189,19 @@ function ta() {
|
|
189
189
|
return i;
|
190
190
|
return -1;
|
191
191
|
}
|
192
|
-
var
|
193
|
-
function
|
192
|
+
var rt = "data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";
|
193
|
+
function at(t) {
|
194
194
|
return window["webkit" + t] || window["moz" + t] || window["ms" + t];
|
195
195
|
}
|
196
|
-
var
|
196
|
+
var He = 0;
|
197
197
|
function qt(t) {
|
198
|
-
var e = +/* @__PURE__ */ new Date(), i = Math.max(0, 16 - (e -
|
199
|
-
return
|
198
|
+
var e = +/* @__PURE__ */ new Date(), i = Math.max(0, 16 - (e - He));
|
199
|
+
return He = e + i, window.setTimeout(t, i);
|
200
200
|
}
|
201
|
-
var z = window.requestAnimationFrame ||
|
201
|
+
var z = window.requestAnimationFrame || at("RequestAnimationFrame") || qt, j = window.cancelAnimationFrame || at("CancelAnimationFrame") || at("CancelRequestAnimationFrame") || function(t) {
|
202
202
|
window.clearTimeout(t);
|
203
203
|
};
|
204
|
-
function
|
204
|
+
function nt(t, e, i) {
|
205
205
|
if (i && z === qt)
|
206
206
|
t.call(e);
|
207
207
|
else
|
@@ -230,10 +230,10 @@ function ta() {
|
|
230
230
|
template: X,
|
231
231
|
isArray: V,
|
232
232
|
indexOf: w,
|
233
|
-
emptyImageUrl:
|
233
|
+
emptyImageUrl: rt,
|
234
234
|
requestFn: z,
|
235
235
|
cancelFn: j,
|
236
|
-
requestAnimFrame:
|
236
|
+
requestAnimFrame: nt,
|
237
237
|
cancelAnimFrame: vt
|
238
238
|
};
|
239
239
|
function Bt() {
|
@@ -248,7 +248,7 @@ function ta() {
|
|
248
248
|
return t.statics && p(e, t.statics), t.includes && (Qo(t.includes), p.apply(null, [n].concat(t.includes))), p(n, t), delete n.statics, delete n.includes, n.options && (n.options = i.options ? m(i.options) : {}, p(n.options, t.options)), n._initHooks = [], n.callInitHooks = function() {
|
249
249
|
if (!this._initHooksCalled) {
|
250
250
|
i.callInitHooks && i.callInitHooks.call(this), this._initHooksCalled = !0;
|
251
|
-
for (var s = 0,
|
251
|
+
for (var s = 0, a = n._initHooks.length; s < a; s++)
|
252
252
|
n._initHooks[s].call(this);
|
253
253
|
}
|
254
254
|
}, e;
|
@@ -308,7 +308,7 @@ function ta() {
|
|
308
308
|
this._off(n, t[n], e);
|
309
309
|
else {
|
310
310
|
t = G(t);
|
311
|
-
for (var o = arguments.length === 1, s = 0,
|
311
|
+
for (var o = arguments.length === 1, s = 0, a = t.length; s < a; s++)
|
312
312
|
o ? this._off(t[s]) : this._off(t[s], e, i);
|
313
313
|
}
|
314
314
|
return this;
|
@@ -339,10 +339,10 @@ function ta() {
|
|
339
339
|
console.warn("wrong listener type: " + typeof e);
|
340
340
|
return;
|
341
341
|
}
|
342
|
-
var
|
343
|
-
if (
|
344
|
-
var u = n[
|
345
|
-
this._firingCount && (u.fn = b, this._events[t] = n = n.slice()), n.splice(
|
342
|
+
var a = this._listens(t, e, i);
|
343
|
+
if (a !== !1) {
|
344
|
+
var u = n[a];
|
345
|
+
this._firingCount && (u.fn = b, this._events[t] = n = n.slice()), n.splice(a, 1);
|
346
346
|
}
|
347
347
|
}
|
348
348
|
},
|
@@ -362,7 +362,7 @@ function ta() {
|
|
362
362
|
var o = this._events[t];
|
363
363
|
if (o) {
|
364
364
|
this._firingCount = this._firingCount + 1 || 1;
|
365
|
-
for (var s = 0,
|
365
|
+
for (var s = 0, a = o.length; s < a; s++) {
|
366
366
|
var u = o[s], c = u.fn;
|
367
367
|
u.once && this.off(t, c, u.ctx), c.call(u.ctx || this, n);
|
368
368
|
}
|
@@ -383,8 +383,8 @@ function ta() {
|
|
383
383
|
if (s && s.length && this._listens(t, o, i) !== !1)
|
384
384
|
return !0;
|
385
385
|
if (n) {
|
386
|
-
for (var
|
387
|
-
if (this._eventParents[
|
386
|
+
for (var a in this._eventParents)
|
387
|
+
if (this._eventParents[a].listens(t, e, i, n))
|
388
388
|
return !0;
|
389
389
|
}
|
390
390
|
return !1;
|
@@ -434,7 +434,7 @@ function ta() {
|
|
434
434
|
}
|
435
435
|
};
|
436
436
|
_t.addEventListener = _t.on, _t.removeEventListener = _t.clearAllEventListeners = _t.off, _t.addOneTimeEventListener = _t.once, _t.fireEvent = _t.fire, _t.hasEventListeners = _t.listens;
|
437
|
-
var
|
437
|
+
var be = Bt.extend(_t);
|
438
438
|
function O(t, e, i) {
|
439
439
|
this.x = i ? Math.round(t) : t, this.y = i ? Math.round(e) : e;
|
440
440
|
}
|
@@ -620,16 +620,16 @@ function ta() {
|
|
620
620
|
// intersect if they have at least one point in common.
|
621
621
|
intersects: function(t) {
|
622
622
|
t = dt(t);
|
623
|
-
var e = this.min, i = this.max, n = t.min, o = t.max, s = o.x >= e.x && n.x <= i.x,
|
624
|
-
return s &&
|
623
|
+
var e = this.min, i = this.max, n = t.min, o = t.max, s = o.x >= e.x && n.x <= i.x, a = o.y >= e.y && n.y <= i.y;
|
624
|
+
return s && a;
|
625
625
|
},
|
626
626
|
// @method overlaps(otherBounds: Bounds): Boolean
|
627
627
|
// Returns `true` if the rectangle overlaps the given bounds. Two bounds
|
628
628
|
// overlap if their intersection is an area.
|
629
629
|
overlaps: function(t) {
|
630
630
|
t = dt(t);
|
631
|
-
var e = this.min, i = this.max, n = t.min, o = t.max, s = o.x > e.x && n.x < i.x,
|
632
|
-
return s &&
|
631
|
+
var e = this.min, i = this.max, n = t.min, o = t.max, s = o.x > e.x && n.x < i.x, a = o.y > e.y && n.y < i.y;
|
632
|
+
return s && a;
|
633
633
|
},
|
634
634
|
// @method isValid(): Boolean
|
635
635
|
// Returns `true` if the bounds are properly initialized.
|
@@ -751,15 +751,15 @@ function ta() {
|
|
751
751
|
// Returns `true` if the rectangle intersects the given bounds. Two bounds intersect if they have at least one point in common.
|
752
752
|
intersects: function(t) {
|
753
753
|
t = Q(t);
|
754
|
-
var e = this._southWest, i = this._northEast, n = t.getSouthWest(), o = t.getNorthEast(), s = o.lat >= e.lat && n.lat <= i.lat,
|
755
|
-
return s &&
|
754
|
+
var e = this._southWest, i = this._northEast, n = t.getSouthWest(), o = t.getNorthEast(), s = o.lat >= e.lat && n.lat <= i.lat, a = o.lng >= e.lng && n.lng <= i.lng;
|
755
|
+
return s && a;
|
756
756
|
},
|
757
757
|
// @method overlaps(otherBounds: LatLngBounds): Boolean
|
758
758
|
// Returns `true` if the rectangle overlaps the given bounds. Two bounds overlap if their intersection is an area.
|
759
759
|
overlaps: function(t) {
|
760
760
|
t = Q(t);
|
761
|
-
var e = this._southWest, i = this._northEast, n = t.getSouthWest(), o = t.getNorthEast(), s = o.lat > e.lat && n.lat < i.lat,
|
762
|
-
return s &&
|
761
|
+
var e = this._southWest, i = this._northEast, n = t.getSouthWest(), o = t.getNorthEast(), s = o.lat > e.lat && n.lat < i.lat, a = o.lng > e.lng && n.lng < i.lng;
|
762
|
+
return s && a;
|
763
763
|
},
|
764
764
|
// @method toBBoxString(): String
|
765
765
|
// Returns a string with bounding box coordinates in a 'southwest_lng,southwest_lat,northeast_lng,northeast_lat' format. Useful for sending requests to web services that return geo data.
|
@@ -908,7 +908,7 @@ function ta() {
|
|
908
908
|
var e = t.getCenter(), i = this.wrapLatLng(e), n = e.lat - i.lat, o = e.lng - i.lng;
|
909
909
|
if (n === 0 && o === 0)
|
910
910
|
return t;
|
911
|
-
var s = t.getSouthWest(),
|
911
|
+
var s = t.getSouthWest(), a = t.getNorthEast(), u = new F(s.lat - n, s.lng - o), c = new F(a.lat - n, a.lng - o);
|
912
912
|
return new ft(u, c);
|
913
913
|
}
|
914
914
|
}, jt = p({}, It, {
|
@@ -919,7 +919,7 @@ function ta() {
|
|
919
919
|
R: 6371e3,
|
920
920
|
// distance between two geographical points using spherical law of cosines approximation
|
921
921
|
distance: function(t, e) {
|
922
|
-
var i = Math.PI / 180, n = t.lat * i, o = e.lat * i, s = Math.sin((e.lat - t.lat) * i / 2),
|
922
|
+
var i = Math.PI / 180, n = t.lat * i, o = e.lat * i, s = Math.sin((e.lat - t.lat) * i / 2), a = Math.sin((e.lng - t.lng) * i / 2), u = s * s + Math.cos(n) * Math.cos(o) * a * a, c = 2 * Math.atan2(Math.sqrt(u), Math.sqrt(1 - u));
|
923
923
|
return this.R * c;
|
924
924
|
}
|
925
925
|
}), an = 6378137, di = {
|
@@ -972,7 +972,7 @@ function ta() {
|
|
972
972
|
);
|
973
973
|
}
|
974
974
|
};
|
975
|
-
function
|
975
|
+
function Le(t, e, i, n) {
|
976
976
|
return new fi(t, e, i, n);
|
977
977
|
}
|
978
978
|
var pi = p({}, jt, {
|
@@ -980,7 +980,7 @@ function ta() {
|
|
980
980
|
projection: di,
|
981
981
|
transformation: function() {
|
982
982
|
var t = 0.5 / (Math.PI * di.R);
|
983
|
-
return
|
983
|
+
return Le(t, 0.5, -t, 0.5);
|
984
984
|
}()
|
985
985
|
}), $o = p({}, pi, {
|
986
986
|
code: "EPSG:900913"
|
@@ -989,15 +989,15 @@ function ta() {
|
|
989
989
|
return document.createElementNS("http://www.w3.org/2000/svg", t);
|
990
990
|
}
|
991
991
|
function ln(t, e) {
|
992
|
-
var i = "", n, o, s,
|
992
|
+
var i = "", n, o, s, a, u, c;
|
993
993
|
for (n = 0, s = t.length; n < s; n++) {
|
994
|
-
for (u = t[n], o = 0,
|
994
|
+
for (u = t[n], o = 0, a = u.length; o < a; o++)
|
995
995
|
c = u[o], i += (o ? "L" : "M") + c.x + " " + c.y;
|
996
996
|
i += e ? y.svg ? "z" : "x" : "";
|
997
997
|
}
|
998
998
|
return i || "M0 0";
|
999
999
|
}
|
1000
|
-
var mi = document.documentElement.style, Fe = "ActiveXObject" in window, ts = Fe && !document.addEventListener, un = "msLaunchUri" in navigator && !("documentMode" in document), _i = St("webkit"), cn = St("android"), dn = St("android 2") || St("android 3"), es = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), is = cn && St("Google") && es < 537 && !("AudioNode" in window), gi = !!window.opera, fn = !un && St("chrome"), pn = St("gecko") && !_i && !gi && !Fe, ns = !fn && St("safari"), mn = St("phantom"), _n = "OTransition" in mi, os = navigator.platform.indexOf("Win") === 0, gn = Fe && "transition" in mi, vi = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !dn, vn = "MozPerspective" in mi, ss = !window.L_DISABLE_3D && (gn || vi || vn) && !_n && !mn,
|
1000
|
+
var mi = document.documentElement.style, Fe = "ActiveXObject" in window, ts = Fe && !document.addEventListener, un = "msLaunchUri" in navigator && !("documentMode" in document), _i = St("webkit"), cn = St("android"), dn = St("android 2") || St("android 3"), es = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), is = cn && St("Google") && es < 537 && !("AudioNode" in window), gi = !!window.opera, fn = !un && St("chrome"), pn = St("gecko") && !_i && !gi && !Fe, ns = !fn && St("safari"), mn = St("phantom"), _n = "OTransition" in mi, os = navigator.platform.indexOf("Win") === 0, gn = Fe && "transition" in mi, vi = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !dn, vn = "MozPerspective" in mi, ss = !window.L_DISABLE_3D && (gn || vi || vn) && !_n && !mn, Pe = typeof orientation < "u" || St("mobile"), rs = Pe && _i, as = Pe && vi, yn = !window.PointerEvent && window.MSPointerEvent, wn = !!(window.PointerEvent || yn), bn = "ontouchstart" in window || !!window.TouchEvent, hs = !window.L_NO_TOUCH && (bn || wn), ls = Pe && gi, us = Pe && pn, cs = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, ds = function() {
|
1001
1001
|
var t = !1;
|
1002
1002
|
try {
|
1003
1003
|
var e = Object.defineProperty({}, "passive", {
|
@@ -1046,7 +1046,7 @@ function ta() {
|
|
1046
1046
|
webkit3d: vi,
|
1047
1047
|
gecko3d: vn,
|
1048
1048
|
any3d: ss,
|
1049
|
-
mobile:
|
1049
|
+
mobile: Pe,
|
1050
1050
|
mobileWebkit: rs,
|
1051
1051
|
mobileWebkit3d: as,
|
1052
1052
|
msPointer: yn,
|
@@ -1073,7 +1073,7 @@ function ta() {
|
|
1073
1073
|
touchmove: Ve,
|
1074
1074
|
touchend: Ve,
|
1075
1075
|
touchcancel: Ve
|
1076
|
-
},
|
1076
|
+
}, ae = {}, On = !1;
|
1077
1077
|
function vs(t, e, i) {
|
1078
1078
|
return e === "touchstart" && Ls(), Mn[e] ? (i = Mn[e].bind(this, i), t.addEventListener(wi[e], i, !1), i) : (console.warn("wrong event specified:", e), b);
|
1079
1079
|
}
|
@@ -1085,13 +1085,13 @@ function ta() {
|
|
1085
1085
|
t.removeEventListener(wi[e], i, !1);
|
1086
1086
|
}
|
1087
1087
|
function ws(t) {
|
1088
|
-
|
1088
|
+
ae[t.pointerId] = t;
|
1089
1089
|
}
|
1090
1090
|
function bs(t) {
|
1091
|
-
|
1091
|
+
ae[t.pointerId] && (ae[t.pointerId] = t);
|
1092
1092
|
}
|
1093
1093
|
function Sn(t) {
|
1094
|
-
delete
|
1094
|
+
delete ae[t.pointerId];
|
1095
1095
|
}
|
1096
1096
|
function Ls() {
|
1097
1097
|
On || (document.addEventListener(Ln, ws, !0), document.addEventListener(Pn, bs, !0), document.addEventListener(xn, Sn, !0), document.addEventListener(Tn, Sn, !0), On = !0);
|
@@ -1099,13 +1099,13 @@ function ta() {
|
|
1099
1099
|
function Ve(t, e) {
|
1100
1100
|
if (e.pointerType !== (e.MSPOINTER_TYPE_MOUSE || "mouse")) {
|
1101
1101
|
e.touches = [];
|
1102
|
-
for (var i in
|
1103
|
-
e.touches.push(
|
1102
|
+
for (var i in ae)
|
1103
|
+
e.touches.push(ae[i]);
|
1104
1104
|
e.changedTouches = [e], t(e);
|
1105
1105
|
}
|
1106
1106
|
}
|
1107
1107
|
function Ps(t, e) {
|
1108
|
-
e.MSPOINTER_TYPE_TOUCH && e.pointerType === e.MSPOINTER_TYPE_TOUCH &&
|
1108
|
+
e.MSPOINTER_TYPE_TOUCH && e.pointerType === e.MSPOINTER_TYPE_TOUCH && ot(e), Ve(t, e);
|
1109
1109
|
}
|
1110
1110
|
function xs(t) {
|
1111
1111
|
var e = {}, i, n;
|
@@ -1123,10 +1123,10 @@ function ta() {
|
|
1123
1123
|
return;
|
1124
1124
|
}
|
1125
1125
|
if (!(s.pointerType === "mouse" || s.sourceCapabilities && !s.sourceCapabilities.firesTouchEvents)) {
|
1126
|
-
var
|
1127
|
-
if (!(
|
1126
|
+
var a = En(s);
|
1127
|
+
if (!(a.some(function(c) {
|
1128
1128
|
return c instanceof HTMLLabelElement && c.attributes.for;
|
1129
|
-
}) && !
|
1129
|
+
}) && !a.some(function(c) {
|
1130
1130
|
return c instanceof HTMLInputElement || c instanceof HTMLSelectElement;
|
1131
1131
|
}))) {
|
1132
1132
|
var u = Date.now();
|
@@ -1144,13 +1144,13 @@ function ta() {
|
|
1144
1144
|
}
|
1145
1145
|
var bi = qe(
|
1146
1146
|
["transform", "webkitTransform", "OTransform", "MozTransform", "msTransform"]
|
1147
|
-
),
|
1147
|
+
), xe = qe(
|
1148
1148
|
["webkitTransition", "transition", "OTransition", "MozTransition", "msTransition"]
|
1149
|
-
), Cn =
|
1149
|
+
), Cn = xe === "webkitTransition" || xe === "OTransition" ? xe + "End" : "transitionend";
|
1150
1150
|
function kn(t) {
|
1151
1151
|
return typeof t == "string" ? document.getElementById(t) : t;
|
1152
1152
|
}
|
1153
|
-
function
|
1153
|
+
function Te(t, e) {
|
1154
1154
|
var i = t.style[e] || t.currentStyle && t.currentStyle[e];
|
1155
1155
|
if ((!i || i === "auto") && document.defaultView) {
|
1156
1156
|
var n = document.defaultView.getComputedStyle(t, null);
|
@@ -1170,11 +1170,11 @@ function ta() {
|
|
1170
1170
|
for (; t.firstChild; )
|
1171
1171
|
t.removeChild(t.firstChild);
|
1172
1172
|
}
|
1173
|
-
function
|
1173
|
+
function he(t) {
|
1174
1174
|
var e = t.parentNode;
|
1175
1175
|
e && e.lastChild !== t && e.appendChild(t);
|
1176
1176
|
}
|
1177
|
-
function
|
1177
|
+
function le(t) {
|
1178
1178
|
var e = t.parentNode;
|
1179
1179
|
e && e.firstChild !== t && e.insertBefore(t, e.firstChild);
|
1180
1180
|
}
|
@@ -1221,41 +1221,41 @@ function ta() {
|
|
1221
1221
|
return t[i];
|
1222
1222
|
return !1;
|
1223
1223
|
}
|
1224
|
-
function
|
1224
|
+
function $t(t, e, i) {
|
1225
1225
|
var n = e || new O(0, 0);
|
1226
1226
|
t.style[bi] = (y.ie3d ? "translate(" + n.x + "px," + n.y + "px)" : "translate3d(" + n.x + "px," + n.y + "px,0)") + (i ? " scale(" + i + ")" : "");
|
1227
1227
|
}
|
1228
1228
|
function $(t, e) {
|
1229
|
-
t._leaflet_pos = e, y.any3d ?
|
1229
|
+
t._leaflet_pos = e, y.any3d ? $t(t, e) : (t.style.left = e.x + "px", t.style.top = e.y + "px");
|
1230
1230
|
}
|
1231
|
-
function
|
1231
|
+
function te(t) {
|
1232
1232
|
return t._leaflet_pos || new O(0, 0);
|
1233
1233
|
}
|
1234
|
-
var
|
1234
|
+
var Me, Oe, xi;
|
1235
1235
|
if ("onselectstart" in document)
|
1236
|
-
|
1237
|
-
S(window, "selectstart",
|
1238
|
-
},
|
1239
|
-
W(window, "selectstart",
|
1236
|
+
Me = function() {
|
1237
|
+
S(window, "selectstart", ot);
|
1238
|
+
}, Oe = function() {
|
1239
|
+
W(window, "selectstart", ot);
|
1240
1240
|
};
|
1241
1241
|
else {
|
1242
|
-
var
|
1242
|
+
var Se = qe(
|
1243
1243
|
["userSelect", "WebkitUserSelect", "OUserSelect", "MozUserSelect", "msUserSelect"]
|
1244
1244
|
);
|
1245
|
-
|
1246
|
-
if (
|
1245
|
+
Me = function() {
|
1246
|
+
if (Se) {
|
1247
1247
|
var t = document.documentElement.style;
|
1248
|
-
xi = t[
|
1248
|
+
xi = t[Se], t[Se] = "none";
|
1249
1249
|
}
|
1250
|
-
},
|
1251
|
-
|
1250
|
+
}, Oe = function() {
|
1251
|
+
Se && (document.documentElement.style[Se] = xi, xi = void 0);
|
1252
1252
|
};
|
1253
1253
|
}
|
1254
1254
|
function Ti() {
|
1255
|
-
S(window, "dragstart",
|
1255
|
+
S(window, "dragstart", ot);
|
1256
1256
|
}
|
1257
1257
|
function Mi() {
|
1258
|
-
W(window, "dragstart",
|
1258
|
+
W(window, "dragstart", ot);
|
1259
1259
|
}
|
1260
1260
|
var je, Oi;
|
1261
1261
|
function Si(t) {
|
@@ -1283,15 +1283,15 @@ function ta() {
|
|
1283
1283
|
var Cs = {
|
1284
1284
|
__proto__: null,
|
1285
1285
|
TRANSFORM: bi,
|
1286
|
-
TRANSITION:
|
1286
|
+
TRANSITION: xe,
|
1287
1287
|
TRANSITION_END: Cn,
|
1288
1288
|
get: kn,
|
1289
|
-
getStyle:
|
1289
|
+
getStyle: Te,
|
1290
1290
|
create: D,
|
1291
1291
|
remove: J,
|
1292
1292
|
empty: We,
|
1293
|
-
toFront:
|
1294
|
-
toBack:
|
1293
|
+
toFront: he,
|
1294
|
+
toBack: le,
|
1295
1295
|
hasClass: Li,
|
1296
1296
|
addClass: C,
|
1297
1297
|
removeClass: Y,
|
@@ -1299,14 +1299,14 @@ function ta() {
|
|
1299
1299
|
getClass: Ue,
|
1300
1300
|
setOpacity: yt,
|
1301
1301
|
testProp: qe,
|
1302
|
-
setTransform:
|
1302
|
+
setTransform: $t,
|
1303
1303
|
setPosition: $,
|
1304
|
-
getPosition:
|
1304
|
+
getPosition: te,
|
1305
1305
|
get disableTextSelection() {
|
1306
|
-
return
|
1306
|
+
return Me;
|
1307
1307
|
},
|
1308
1308
|
get enableTextSelection() {
|
1309
|
-
return
|
1309
|
+
return Oe;
|
1310
1310
|
},
|
1311
1311
|
disableImageDrag: Ti,
|
1312
1312
|
enableImageDrag: Mi,
|
@@ -1321,7 +1321,7 @@ function ta() {
|
|
1321
1321
|
zi(t, o, e[o], i);
|
1322
1322
|
else {
|
1323
1323
|
e = G(e);
|
1324
|
-
for (var s = 0,
|
1324
|
+
for (var s = 0, a = e.length; s < a; s++)
|
1325
1325
|
zi(t, e[s], i, n);
|
1326
1326
|
}
|
1327
1327
|
return this;
|
@@ -1338,7 +1338,7 @@ function ta() {
|
|
1338
1338
|
return w(e, u) !== -1;
|
1339
1339
|
});
|
1340
1340
|
else
|
1341
|
-
for (var s = 0,
|
1341
|
+
for (var s = 0, a = e.length; s < a; s++)
|
1342
1342
|
Ai(t, e[s], i, n);
|
1343
1343
|
return this;
|
1344
1344
|
}
|
@@ -1359,10 +1359,10 @@ function ta() {
|
|
1359
1359
|
return this;
|
1360
1360
|
var s = function(u) {
|
1361
1361
|
return i.call(n || t, u || window.event);
|
1362
|
-
},
|
1362
|
+
}, a = s;
|
1363
1363
|
!y.touchNative && y.pointer && e.indexOf("touch") === 0 ? s = vs(t, e, s) : y.touch && e === "dblclick" ? s = Ms(t, s) : "addEventListener" in t ? e === "touchstart" || e === "touchmove" || e === "wheel" || e === "mousewheel" ? t.addEventListener(ki[e] || e, s, y.passiveEvents ? { passive: !1 } : !1) : e === "mouseenter" || e === "mouseleave" ? (s = function(u) {
|
1364
|
-
u = u || window.event, Bi(t, u) &&
|
1365
|
-
}, t.addEventListener(ki[e], s, !1)) : t.addEventListener(e,
|
1364
|
+
u = u || window.event, Bi(t, u) && a(u);
|
1365
|
+
}, t.addEventListener(ki[e], s, !1)) : t.addEventListener(e, a, !1) : t.attachEvent("on" + e, s), t[Ct] = t[Ct] || {}, t[Ct][o] = s;
|
1366
1366
|
}
|
1367
1367
|
function Ai(t, e, i, n, o) {
|
1368
1368
|
o = o || e + v(i) + (n ? "_" + v(n) : "");
|
@@ -1371,20 +1371,20 @@ function ta() {
|
|
1371
1371
|
return this;
|
1372
1372
|
!y.touchNative && y.pointer && e.indexOf("touch") === 0 ? ys(t, e, s) : y.touch && e === "dblclick" ? Os(t, s) : "removeEventListener" in t ? t.removeEventListener(ki[e] || e, s, !1) : t.detachEvent("on" + e, s), t[Ct][o] = null;
|
1373
1373
|
}
|
1374
|
-
function
|
1374
|
+
function ee(t) {
|
1375
1375
|
return t.stopPropagation ? t.stopPropagation() : t.originalEvent ? t.originalEvent._stopped = !0 : t.cancelBubble = !0, this;
|
1376
1376
|
}
|
1377
1377
|
function Ei(t) {
|
1378
|
-
return zi(t, "wheel",
|
1378
|
+
return zi(t, "wheel", ee), this;
|
1379
1379
|
}
|
1380
|
-
function
|
1381
|
-
return S(t, "mousedown touchstart dblclick contextmenu",
|
1380
|
+
function Ce(t) {
|
1381
|
+
return S(t, "mousedown touchstart dblclick contextmenu", ee), t._leaflet_disable_click = !0, this;
|
1382
1382
|
}
|
1383
|
-
function
|
1383
|
+
function ot(t) {
|
1384
1384
|
return t.preventDefault ? t.preventDefault() : t.returnValue = !1, this;
|
1385
1385
|
}
|
1386
|
-
function
|
1387
|
-
return
|
1386
|
+
function ie(t) {
|
1387
|
+
return ot(t), ee(t), this;
|
1388
1388
|
}
|
1389
1389
|
function En(t) {
|
1390
1390
|
if (t.composedPath)
|
@@ -1448,25 +1448,25 @@ function ta() {
|
|
1448
1448
|
__proto__: null,
|
1449
1449
|
on: S,
|
1450
1450
|
off: W,
|
1451
|
-
stopPropagation:
|
1451
|
+
stopPropagation: ee,
|
1452
1452
|
disableScrollPropagation: Ei,
|
1453
|
-
disableClickPropagation:
|
1454
|
-
preventDefault:
|
1455
|
-
stop:
|
1453
|
+
disableClickPropagation: Ce,
|
1454
|
+
preventDefault: ot,
|
1455
|
+
stop: ie,
|
1456
1456
|
getPropagationPath: En,
|
1457
1457
|
getMousePosition: Bn,
|
1458
1458
|
getWheelDelta: In,
|
1459
1459
|
isExternalTarget: Bi,
|
1460
1460
|
addListener: S,
|
1461
1461
|
removeListener: W
|
1462
|
-
}, Zn =
|
1462
|
+
}, Zn = be.extend({
|
1463
1463
|
// @method run(el: HTMLElement, newPos: Point, duration?: Number, easeLinearity?: Number)
|
1464
1464
|
// Run an animation of a given element to a new position, optionally setting
|
1465
1465
|
// duration in seconds (`0.25` by default) and easing linearity factor (3rd
|
1466
1466
|
// argument of the [cubic bezier curve](https://cubic-bezier.com/#0,0,.5,1),
|
1467
1467
|
// `0.5` by default).
|
1468
1468
|
run: function(t, e, i, n) {
|
1469
|
-
this.stop(), this._el = t, this._inProgress = !0, this._duration = i || 0.25, this._easeOutPower = 1 / Math.max(n || 0.5, 0.2), this._startPos =
|
1469
|
+
this.stop(), this._el = t, this._inProgress = !0, this._duration = i || 0.25, this._easeOutPower = 1 / Math.max(n || 0.5, 0.2), this._startPos = te(t), this._offset = e.subtract(this._startPos), this._startTime = +/* @__PURE__ */ new Date(), this.fire("start"), this._animate();
|
1470
1470
|
},
|
1471
1471
|
// @method stop()
|
1472
1472
|
// Stops the animation (if currently running).
|
@@ -1474,7 +1474,7 @@ function ta() {
|
|
1474
1474
|
this._inProgress && (this._step(!0), this._complete());
|
1475
1475
|
},
|
1476
1476
|
_animate: function() {
|
1477
|
-
this._animId =
|
1477
|
+
this._animId = nt(this._animate, this), this._step();
|
1478
1478
|
},
|
1479
1479
|
_step: function(t) {
|
1480
1480
|
var e = +/* @__PURE__ */ new Date() - this._startTime, i = this._duration * 1e3;
|
@@ -1490,7 +1490,7 @@ function ta() {
|
|
1490
1490
|
_easeOut: function(t) {
|
1491
1491
|
return 1 - Math.pow(1 - t, this._easeOutPower);
|
1492
1492
|
}
|
1493
|
-
}), I =
|
1493
|
+
}), I = be.extend({
|
1494
1494
|
options: {
|
1495
1495
|
// @section Map State Options
|
1496
1496
|
// @option crs: CRS = L.CRS.EPSG3857
|
@@ -1568,7 +1568,7 @@ function ta() {
|
|
1568
1568
|
trackResize: !0
|
1569
1569
|
},
|
1570
1570
|
initialize: function(t, e) {
|
1571
|
-
e = N(this, e), this._handlers = [], this._layers = {}, this._zoomBoundLayers = {}, this._sizeChanged = !0, this._initContainer(t), this._initLayout(), this._onResize = g(this._onResize, this), this._initEvents(), e.maxBounds && this.setMaxBounds(e.maxBounds), e.zoom !== void 0 && (this._zoom = this._limitZoom(e.zoom)), e.center && e.zoom !== void 0 && this.setView(B(e.center), e.zoom, { reset: !0 }), this.callInitHooks(), this._zoomAnimated =
|
1571
|
+
e = N(this, e), this._handlers = [], this._layers = {}, this._zoomBoundLayers = {}, this._sizeChanged = !0, this._initContainer(t), this._initLayout(), this._onResize = g(this._onResize, this), this._initEvents(), e.maxBounds && this.setMaxBounds(e.maxBounds), e.zoom !== void 0 && (this._zoom = this._limitZoom(e.zoom)), e.center && e.zoom !== void 0 && this.setView(B(e.center), e.zoom, { reset: !0 }), this.callInitHooks(), this._zoomAnimated = xe && y.any3d && !y.mobileOpera && this.options.zoomAnimation, this._zoomAnimated && (this._createAnimProxy(), S(this._proxy, Cn, this._catchTransitionEnd, this)), this._addLayers(this.options.layers);
|
1572
1572
|
},
|
1573
1573
|
// @section Methods for modifying map state
|
1574
1574
|
// @method setView(center: LatLng, zoom: Number, options?: Zoom/pan options): this
|
@@ -1605,7 +1605,7 @@ function ta() {
|
|
1605
1605
|
// @method setZoomAround(offset: Point, zoom: Number, options: Zoom options): this
|
1606
1606
|
// Zooms the map while keeping a specified pixel on the map (relative to the top-left corner) stationary.
|
1607
1607
|
setZoomAround: function(t, e, i) {
|
1608
|
-
var n = this.getZoomScale(e), o = this.getSize().divideBy(2), s = t instanceof O ? t : this.latLngToContainerPoint(t),
|
1608
|
+
var n = this.getZoomScale(e), o = this.getSize().divideBy(2), s = t instanceof O ? t : this.latLngToContainerPoint(t), a = s.subtract(o).multiplyBy(1 - 1 / n), u = this.containerPointToLatLng(o.add(a));
|
1609
1609
|
return this.setView(u, e, { zoom: i });
|
1610
1610
|
},
|
1611
1611
|
_getBoundsCenterZoom: function(t, e) {
|
@@ -1616,7 +1616,7 @@ function ta() {
|
|
1616
1616
|
center: t.getCenter(),
|
1617
1617
|
zoom: o
|
1618
1618
|
};
|
1619
|
-
var s = n.subtract(i).divideBy(2),
|
1619
|
+
var s = n.subtract(i).divideBy(2), a = this.project(t.getSouthWest(), o), u = this.project(t.getNorthEast(), o), c = this.unproject(a.add(u).divideBy(2).add(s), o);
|
1620
1620
|
return {
|
1621
1621
|
center: c,
|
1622
1622
|
zoom: o
|
@@ -1667,9 +1667,9 @@ function ta() {
|
|
1667
1667
|
if (i = i || {}, i.animate === !1 || !y.any3d)
|
1668
1668
|
return this.setView(t, e, i);
|
1669
1669
|
this._stop();
|
1670
|
-
var n = this.project(this.getCenter()), o = this.project(t), s = this.getSize(),
|
1671
|
-
t = B(t), e = e === void 0 ?
|
1672
|
-
var u = Math.max(s.x, s.y), c = u * this.getZoomScale(
|
1670
|
+
var n = this.project(this.getCenter()), o = this.project(t), s = this.getSize(), a = this._zoom;
|
1671
|
+
t = B(t), e = e === void 0 ? a : e;
|
1672
|
+
var u = Math.max(s.x, s.y), c = u * this.getZoomScale(a, e), f = o.distanceTo(n) || 1, _ = 1.42, P = _ * _;
|
1673
1673
|
function k(tt) {
|
1674
1674
|
var si = tt ? -1 : 1, yr = tt ? c : u, wr = c * c - u * u + si * P * P * f * f, br = 2 * yr * P * f, qi = wr / br, go = Math.sqrt(qi * qi + 1) - qi, Lr = go < 1e-9 ? -18 : Math.log(go);
|
1675
1675
|
return Lr;
|
@@ -1677,18 +1677,18 @@ function ta() {
|
|
1677
1677
|
function ht(tt) {
|
1678
1678
|
return (Math.exp(tt) - Math.exp(-tt)) / 2;
|
1679
1679
|
}
|
1680
|
-
function
|
1680
|
+
function it(tt) {
|
1681
1681
|
return (Math.exp(tt) + Math.exp(-tt)) / 2;
|
1682
1682
|
}
|
1683
1683
|
function bt(tt) {
|
1684
|
-
return ht(tt) /
|
1684
|
+
return ht(tt) / it(tt);
|
1685
1685
|
}
|
1686
1686
|
var pt = k(0);
|
1687
|
-
function
|
1688
|
-
return u * (
|
1687
|
+
function me(tt) {
|
1688
|
+
return u * (it(pt) / it(pt + _ * tt));
|
1689
1689
|
}
|
1690
1690
|
function mr(tt) {
|
1691
|
-
return u * (
|
1691
|
+
return u * (it(pt) * bt(pt + _ * tt) - ht(pt)) / P;
|
1692
1692
|
}
|
1693
1693
|
function _r(tt) {
|
1694
1694
|
return 1 - Math.pow(1 - tt, 1.5);
|
@@ -1696,9 +1696,9 @@ function ta() {
|
|
1696
1696
|
var gr = Date.now(), mo = (k(1) - pt) / _, vr = i.duration ? 1e3 * i.duration : 1e3 * mo * 0.8;
|
1697
1697
|
function _o() {
|
1698
1698
|
var tt = (Date.now() - gr) / vr, si = _r(tt) * mo;
|
1699
|
-
tt <= 1 ? (this._flyToFrame =
|
1700
|
-
this.unproject(n.add(o.subtract(n).multiplyBy(mr(si) / f)),
|
1701
|
-
this.getScaleZoom(u /
|
1699
|
+
tt <= 1 ? (this._flyToFrame = nt(_o, this), this._move(
|
1700
|
+
this.unproject(n.add(o.subtract(n).multiplyBy(mr(si) / f)), a),
|
1701
|
+
this.getScaleZoom(u / me(si), a),
|
1702
1702
|
{ flyTo: !0 }
|
1703
1703
|
)) : this._move(t, e)._moveEnd(!0);
|
1704
1704
|
}
|
@@ -1742,7 +1742,7 @@ function ta() {
|
|
1742
1742
|
// the map will not be panned.
|
1743
1743
|
panInside: function(t, e) {
|
1744
1744
|
e = e || {};
|
1745
|
-
var i = M(e.paddingTopLeft || e.padding || [0, 0]), n = M(e.paddingBottomRight || e.padding || [0, 0]), o = this.project(this.getCenter()), s = this.project(t),
|
1745
|
+
var i = M(e.paddingTopLeft || e.padding || [0, 0]), n = M(e.paddingBottomRight || e.padding || [0, 0]), o = this.project(this.getCenter()), s = this.project(t), a = this.getPixelBounds(), u = dt([a.min.add(i), a.max.subtract(n)]), c = u.getSize();
|
1746
1746
|
if (!u.contains(s)) {
|
1747
1747
|
this._enforcingBounds = !0;
|
1748
1748
|
var f = s.subtract(u.getCenter()), _ = u.extend(s).getSize().subtract(c);
|
@@ -1828,8 +1828,8 @@ function ta() {
|
|
1828
1828
|
if (this._container._leaflet_id) {
|
1829
1829
|
var e = t.coords.latitude, i = t.coords.longitude, n = new F(e, i), o = n.toBounds(t.coords.accuracy * 2), s = this._locateOptions;
|
1830
1830
|
if (s.setView) {
|
1831
|
-
var
|
1832
|
-
this.setView(n, s.maxZoom ? Math.min(
|
1831
|
+
var a = this.getBoundsZoom(o);
|
1832
|
+
this.setView(n, s.maxZoom ? Math.min(a, s.maxZoom) : a);
|
1833
1833
|
}
|
1834
1834
|
var u = {
|
1835
1835
|
latlng: n,
|
@@ -1912,7 +1912,7 @@ function ta() {
|
|
1912
1912
|
// the given bounds in its entirety.
|
1913
1913
|
getBoundsZoom: function(t, e, i) {
|
1914
1914
|
t = Q(t), i = M(i || [0, 0]);
|
1915
|
-
var n = this.getZoom() || 0, o = this.getMinZoom(), s = this.getMaxZoom(),
|
1915
|
+
var n = this.getZoom() || 0, o = this.getMinZoom(), s = this.getMaxZoom(), a = t.getNorthWest(), u = t.getSouthEast(), c = this.getSize().subtract(i), f = dt(this.project(u, n), this.project(a, n)).getSize(), _ = y.any3d ? this.options.zoomSnap : 1, P = c.x / f.x, k = c.y / f.y, ht = e ? Math.max(P, k) : Math.min(P, k);
|
1916
1916
|
return n = this.getScaleZoom(ht, n), _ && (n = Math.round(n / (_ / 100)) * (_ / 100), n = e ? Math.ceil(n / _) * _ : Math.floor(n / _) * _), Math.max(o, Math.min(s, n));
|
1917
1917
|
},
|
1918
1918
|
// @method getSize(): Point
|
@@ -2086,7 +2086,7 @@ function ta() {
|
|
2086
2086
|
_initLayout: function() {
|
2087
2087
|
var t = this._container;
|
2088
2088
|
this._fadeAnimated = this.options.fadeAnimation && y.any3d, C(t, "leaflet-container" + (y.touch ? " leaflet-touch" : "") + (y.retina ? " leaflet-retina" : "") + (y.ielt9 ? " leaflet-oldie" : "") + (y.safari ? " leaflet-safari" : "") + (this._fadeAnimated ? " leaflet-fade-anim" : ""));
|
2089
|
-
var e =
|
2089
|
+
var e = Te(t, "position");
|
2090
2090
|
e !== "absolute" && e !== "relative" && e !== "fixed" && e !== "sticky" && (t.style.position = "relative"), this._initPanes(), this._initControlPos && this._initControlPos();
|
2091
2091
|
},
|
2092
2092
|
_initPanes: function() {
|
@@ -2137,7 +2137,7 @@ function ta() {
|
|
2137
2137
|
e(this._container, "click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup", this._handleDOMEvent, this), this.options.trackResize && e(window, "resize", this._onResize, this), y.any3d && this.options.transform3DLimit && (t ? this.off : this.on).call(this, "moveend", this._onMoveEnd);
|
2138
2138
|
},
|
2139
2139
|
_onResize: function() {
|
2140
|
-
vt(this._resizeRequest), this._resizeRequest =
|
2140
|
+
vt(this._resizeRequest), this._resizeRequest = nt(
|
2141
2141
|
function() {
|
2142
2142
|
this.invalidateSize({ debounceMoveend: !0 });
|
2143
2143
|
},
|
@@ -2152,16 +2152,16 @@ function ta() {
|
|
2152
2152
|
Math.max(Math.abs(t.x), Math.abs(t.y)) >= this.options.transform3DLimit && this._resetView(this.getCenter(), this.getZoom());
|
2153
2153
|
},
|
2154
2154
|
_findEventTargets: function(t, e) {
|
2155
|
-
for (var i = [], n, o = e === "mouseout" || e === "mouseover", s = t.target || t.srcElement,
|
2155
|
+
for (var i = [], n, o = e === "mouseout" || e === "mouseover", s = t.target || t.srcElement, a = !1; s; ) {
|
2156
2156
|
if (n = this._targets[v(s)], n && (e === "click" || e === "preclick") && this._draggableMoved(n)) {
|
2157
|
-
|
2157
|
+
a = !0;
|
2158
2158
|
break;
|
2159
2159
|
}
|
2160
2160
|
if (n && n.listens(e, !0) && (o && !Bi(s, t) || (i.push(n), o)) || s === this._container)
|
2161
2161
|
break;
|
2162
2162
|
s = s.parentNode;
|
2163
2163
|
}
|
2164
|
-
return !i.length && !
|
2164
|
+
return !i.length && !a && !o && this.listens(e, !0) && (i = [this]), i;
|
2165
2165
|
},
|
2166
2166
|
_isClickDisabled: function(t) {
|
2167
2167
|
for (; t && t !== this._container; ) {
|
@@ -2185,12 +2185,12 @@ function ta() {
|
|
2185
2185
|
}
|
2186
2186
|
var o = this._findEventTargets(t, e);
|
2187
2187
|
if (i) {
|
2188
|
-
for (var s = [],
|
2189
|
-
i[
|
2188
|
+
for (var s = [], a = 0; a < i.length; a++)
|
2189
|
+
i[a].listens(e, !0) && s.push(i[a]);
|
2190
2190
|
o = s.concat(o);
|
2191
2191
|
}
|
2192
2192
|
if (o.length) {
|
2193
|
-
e === "contextmenu" &&
|
2193
|
+
e === "contextmenu" && ot(t);
|
2194
2194
|
var u = o[0], c = {
|
2195
2195
|
originalEvent: t
|
2196
2196
|
};
|
@@ -2198,8 +2198,8 @@ function ta() {
|
|
2198
2198
|
var f = u.getLatLng && (!u._radius || u._radius <= 10);
|
2199
2199
|
c.containerPoint = f ? this.latLngToContainerPoint(u.getLatLng()) : this.mouseEventToContainerPoint(t), c.layerPoint = this.containerPointToLayerPoint(c.containerPoint), c.latlng = f ? u.getLatLng() : this.layerPointToLatLng(c.layerPoint);
|
2200
2200
|
}
|
2201
|
-
for (
|
2202
|
-
if (o[
|
2201
|
+
for (a = 0; a < o.length; a++)
|
2202
|
+
if (o[a].fire(e, c, !0), c.originalEvent._stopped || o[a].options.bubblingMouseEvents === !1 && w(this._mouseEvents, e) !== -1)
|
2203
2203
|
return;
|
2204
2204
|
}
|
2205
2205
|
},
|
@@ -2220,7 +2220,7 @@ function ta() {
|
|
2220
2220
|
},
|
2221
2221
|
// private methods for getting map state
|
2222
2222
|
_getMapPanePos: function() {
|
2223
|
-
return
|
2223
|
+
return te(this._mapPane) || new O(0, 0);
|
2224
2224
|
},
|
2225
2225
|
_moved: function() {
|
2226
2226
|
var t = this._getMapPanePos();
|
@@ -2259,8 +2259,8 @@ function ta() {
|
|
2259
2259
|
_limitCenter: function(t, e, i) {
|
2260
2260
|
if (!i)
|
2261
2261
|
return t;
|
2262
|
-
var n = this.project(t, e), o = this.getSize().divideBy(2), s = new K(n.subtract(o), n.add(o)),
|
2263
|
-
return Math.abs(
|
2262
|
+
var n = this.project(t, e), o = this.getSize().divideBy(2), s = new K(n.subtract(o), n.add(o)), a = this._getBoundsOffset(s, i, e);
|
2263
|
+
return Math.abs(a.x) <= 1 && Math.abs(a.y) <= 1 ? t : this.unproject(n.add(a), e);
|
2264
2264
|
},
|
2265
2265
|
// adjust offset for view to get inside bounds
|
2266
2266
|
_limitOffset: function(t, e) {
|
@@ -2274,8 +2274,8 @@ function ta() {
|
|
2274
2274
|
var n = dt(
|
2275
2275
|
this.project(e.getNorthEast(), i),
|
2276
2276
|
this.project(e.getSouthWest(), i)
|
2277
|
-
), o = n.min.subtract(t.min), s = n.max.subtract(t.max),
|
2278
|
-
return new O(
|
2277
|
+
), o = n.min.subtract(t.min), s = n.max.subtract(t.max), a = this._rebound(o.x, -s.x), u = this._rebound(o.y, -s.y);
|
2278
|
+
return new O(a, u);
|
2279
2279
|
},
|
2280
2280
|
_rebound: function(t, e) {
|
2281
2281
|
return t + e > 0 ? Math.round(t - e) / 2 : Math.max(0, Math.ceil(t)) - Math.max(0, Math.floor(e));
|
@@ -2298,7 +2298,7 @@ function ta() {
|
|
2298
2298
|
var t = this._proxy = D("div", "leaflet-proxy leaflet-zoom-animated");
|
2299
2299
|
this._panes.mapPane.appendChild(t), this.on("zoomanim", function(e) {
|
2300
2300
|
var i = bi, n = this._proxy.style[i];
|
2301
|
-
|
2301
|
+
$t(this._proxy, this.project(e.center, e.zoom), this.getZoomScale(e.zoom, 1)), n === this._proxy.style[i] && this._animatingZoom && this._onZoomTransitionEnd();
|
2302
2302
|
}, this), this.on("load moveend", this._animMoveEnd, this), this._on("unload", this._destroyAnimProxy, this);
|
2303
2303
|
},
|
2304
2304
|
_destroyAnimProxy: function() {
|
@@ -2306,7 +2306,7 @@ function ta() {
|
|
2306
2306
|
},
|
2307
2307
|
_animMoveEnd: function() {
|
2308
2308
|
var t = this.getCenter(), e = this.getZoom();
|
2309
|
-
|
2309
|
+
$t(this._proxy, this.project(t, e), this.getZoomScale(e, 1));
|
2310
2310
|
},
|
2311
2311
|
_catchTransitionEnd: function(t) {
|
2312
2312
|
this._animatingZoom && t.propertyName.indexOf("transform") >= 0 && this._onZoomTransitionEnd();
|
@@ -2320,7 +2320,7 @@ function ta() {
|
|
2320
2320
|
if (i = i || {}, !this._zoomAnimated || i.animate === !1 || this._nothingToAnimate() || Math.abs(e - this._zoom) > this.options.zoomAnimationThreshold)
|
2321
2321
|
return !1;
|
2322
2322
|
var n = this.getZoomScale(e), o = this._getCenterOffset(t)._divideBy(1 - 1 / n);
|
2323
|
-
return i.animate !== !0 && !this.getSize().contains(o) ? !1 : (
|
2323
|
+
return i.animate !== !0 && !this.getSize().contains(o) ? !1 : (nt(function() {
|
2324
2324
|
this._moveStart(!0, i.noMoveStart || !1)._animateZoom(t, e, !0);
|
2325
2325
|
}, this), !0);
|
2326
2326
|
},
|
@@ -2385,7 +2385,7 @@ function ta() {
|
|
2385
2385
|
_refocusOnMap: function(t) {
|
2386
2386
|
this._map && t && t.screenX > 0 && t.screenY > 0 && this._map.getContainer().focus();
|
2387
2387
|
}
|
2388
|
-
}),
|
2388
|
+
}), ke = function(t) {
|
2389
2389
|
return new xt(t);
|
2390
2390
|
};
|
2391
2391
|
I.include({
|
@@ -2402,8 +2402,8 @@ function ta() {
|
|
2402
2402
|
_initControlPos: function() {
|
2403
2403
|
var t = this._controlCorners = {}, e = "leaflet-", i = this._controlContainer = D("div", e + "control-container", this._container);
|
2404
2404
|
function n(o, s) {
|
2405
|
-
var
|
2406
|
-
t[o + s] = D("div",
|
2405
|
+
var a = e + o + " " + e + s;
|
2406
|
+
t[o + s] = D("div", a, i);
|
2407
2407
|
}
|
2408
2408
|
n("top", "left"), n("top", "right"), n("bottom", "left"), n("bottom", "right");
|
2409
2409
|
},
|
@@ -2493,7 +2493,7 @@ function ta() {
|
|
2493
2493
|
},
|
2494
2494
|
_initLayout: function() {
|
2495
2495
|
var t = "leaflet-control-layers", e = this._container = D("div", t), i = this.options.collapsed;
|
2496
|
-
e.setAttribute("aria-haspopup", !0),
|
2496
|
+
e.setAttribute("aria-haspopup", !0), Ce(e), Ei(e);
|
2497
2497
|
var n = this._section = D("section", t + "-list");
|
2498
2498
|
i && (this._map.on("click", this.collapse, this), S(e, {
|
2499
2499
|
mouseenter: this._expandSafely,
|
@@ -2506,7 +2506,7 @@ function ta() {
|
|
2506
2506
|
},
|
2507
2507
|
// Certain screen readers intercept the key event and instead send a click event
|
2508
2508
|
click: function(s) {
|
2509
|
-
|
2509
|
+
ot(s), this._expandSafely();
|
2510
2510
|
}
|
2511
2511
|
}, this), i || this.expand(), this._baseLayersList = D("div", t + "-base", n), this._separator = D("div", t + "-separator", n), this._overlaysList = D("div", t + "-overlays", n), e.appendChild(n);
|
2512
2512
|
},
|
@@ -2550,8 +2550,8 @@ function ta() {
|
|
2550
2550
|
o.innerHTML = " " + t.name;
|
2551
2551
|
var s = document.createElement("span");
|
2552
2552
|
e.appendChild(s), s.appendChild(n), s.appendChild(o);
|
2553
|
-
var
|
2554
|
-
return
|
2553
|
+
var a = t.overlay ? this._overlaysList : this._baseLayersList;
|
2554
|
+
return a.appendChild(e), this._checkDisabledLayers(), e;
|
2555
2555
|
},
|
2556
2556
|
_onInputClick: function() {
|
2557
2557
|
if (!this._preventClick) {
|
@@ -2575,10 +2575,10 @@ function ta() {
|
|
2575
2575
|
},
|
2576
2576
|
_expandSafely: function() {
|
2577
2577
|
var t = this._section;
|
2578
|
-
this._preventClick = !0, S(t, "click",
|
2578
|
+
this._preventClick = !0, S(t, "click", ot), this.expand();
|
2579
2579
|
var e = this;
|
2580
2580
|
setTimeout(function() {
|
2581
|
-
W(t, "click",
|
2581
|
+
W(t, "click", ot), e._preventClick = !1;
|
2582
2582
|
});
|
2583
2583
|
}
|
2584
2584
|
}), Es = function(t, e, i) {
|
@@ -2634,7 +2634,7 @@ function ta() {
|
|
2634
2634
|
},
|
2635
2635
|
_createButton: function(t, e, i, n, o) {
|
2636
2636
|
var s = D("a", i, n);
|
2637
|
-
return s.innerHTML = t, s.href = "#", s.title = e, s.setAttribute("role", "button"), s.setAttribute("aria-label", e),
|
2637
|
+
return s.innerHTML = t, s.href = "#", s.title = e, s.setAttribute("role", "button"), s.setAttribute("aria-label", e), Ce(s), S(s, "click", ie), S(s, "click", o, this), S(s, "click", this._refocusOnMap, this), s;
|
2638
2638
|
},
|
2639
2639
|
_updateDisabled: function() {
|
2640
2640
|
var t = this._map, e = "leaflet-disabled";
|
@@ -2715,7 +2715,7 @@ function ta() {
|
|
2715
2715
|
N(this, t), this._attributions = {};
|
2716
2716
|
},
|
2717
2717
|
onAdd: function(t) {
|
2718
|
-
t.attributionControl = this, this._container = D("div", "leaflet-control-attribution"),
|
2718
|
+
t.attributionControl = this, this._container = D("div", "leaflet-control-attribution"), Ce(this._container);
|
2719
2719
|
for (var e in t._layers)
|
2720
2720
|
t._layers[e].getAttribution && this.addAttribution(t._layers[e].getAttribution());
|
2721
2721
|
return this._update(), t.on("layeradd", this._addAttribution, this), this._container;
|
@@ -2761,7 +2761,7 @@ function ta() {
|
|
2761
2761
|
var Rs = function(t) {
|
2762
2762
|
return new Zi(t);
|
2763
2763
|
};
|
2764
|
-
xt.Layers = Rn, xt.Zoom = Ii, xt.Scale = Nn, xt.Attribution = Zi,
|
2764
|
+
xt.Layers = Rn, xt.Zoom = Ii, xt.Scale = Nn, xt.Attribution = Zi, ke.layers = Es, ke.zoom = Bs, ke.scale = Is, ke.attribution = Rs;
|
2765
2765
|
var kt = Bt.extend({
|
2766
2766
|
initialize: function(t) {
|
2767
2767
|
this._map = t;
|
@@ -2791,7 +2791,7 @@ function ta() {
|
|
2791
2791
|
kt.addTo = function(t, e) {
|
2792
2792
|
return t.addHandler(e, this), this;
|
2793
2793
|
};
|
2794
|
-
var Ns = { Events: _t }, Dn = y.touch ? "touchstart mousedown" : "mousedown", Gt =
|
2794
|
+
var Ns = { Events: _t }, Dn = y.touch ? "touchstart mousedown" : "mousedown", Gt = be.extend({
|
2795
2795
|
options: {
|
2796
2796
|
// @section
|
2797
2797
|
// @aka Draggable options
|
@@ -2821,10 +2821,10 @@ function ta() {
|
|
2821
2821
|
Gt._dragging === this && this.finishDrag();
|
2822
2822
|
return;
|
2823
2823
|
}
|
2824
|
-
if (!(Gt._dragging || t.shiftKey || t.which !== 1 && t.button !== 1 && !t.touches) && (Gt._dragging = this, this._preventOutline && Si(this._element), Ti(),
|
2824
|
+
if (!(Gt._dragging || t.shiftKey || t.which !== 1 && t.button !== 1 && !t.touches) && (Gt._dragging = this, this._preventOutline && Si(this._element), Ti(), Me(), !this._moving)) {
|
2825
2825
|
this.fire("down");
|
2826
2826
|
var e = t.touches ? t.touches[0] : t, i = zn(this._element);
|
2827
|
-
this._startPoint = new O(e.clientX, e.clientY), this._startPos =
|
2827
|
+
this._startPoint = new O(e.clientX, e.clientY), this._startPos = te(this._element), this._parentScale = Ci(i);
|
2828
2828
|
var n = t.type === "mousedown";
|
2829
2829
|
S(document, n ? "mousemove" : "touchmove", this._onMove, this), S(document, n ? "mouseup" : "touchend touchcancel", this._onUp, this);
|
2830
2830
|
}
|
@@ -2837,7 +2837,7 @@ function ta() {
|
|
2837
2837
|
return;
|
2838
2838
|
}
|
2839
2839
|
var e = t.touches && t.touches.length === 1 ? t.touches[0] : t, i = new O(e.clientX, e.clientY)._subtract(this._startPoint);
|
2840
|
-
!i.x && !i.y || Math.abs(i.x) + Math.abs(i.y) < this.options.clickTolerance || (i.x /= this._parentScale.x, i.y /= this._parentScale.y,
|
2840
|
+
!i.x && !i.y || Math.abs(i.x) + Math.abs(i.y) < this.options.clickTolerance || (i.x /= this._parentScale.x, i.y /= this._parentScale.y, ot(t), this._moved || (this.fire("dragstart"), this._moved = !0, C(document.body, "leaflet-dragging"), this._lastTarget = t.target || t.srcElement, window.SVGElementInstance && this._lastTarget instanceof window.SVGElementInstance && (this._lastTarget = this._lastTarget.correspondingUseElement), C(this._lastTarget, "leaflet-drag-target")), this._newPos = this._startPos.add(i), this._moving = !0, this._lastEvent = t, this._updatePosition());
|
2841
2841
|
}
|
2842
2842
|
},
|
2843
2843
|
_updatePosition: function() {
|
@@ -2848,7 +2848,7 @@ function ta() {
|
|
2848
2848
|
this._enabled && this.finishDrag();
|
2849
2849
|
},
|
2850
2850
|
finishDrag: function(t) {
|
2851
|
-
Y(document.body, "leaflet-dragging"), this._lastTarget && (Y(this._lastTarget, "leaflet-drag-target"), this._lastTarget = null), W(document, "mousemove touchmove", this._onMove, this), W(document, "mouseup touchend touchcancel", this._onUp, this), Mi(),
|
2851
|
+
Y(document.body, "leaflet-dragging"), this._lastTarget && (Y(this._lastTarget, "leaflet-drag-target"), this._lastTarget = null), W(document, "mousemove touchmove", this._onMove, this), W(document, "mouseup touchend touchcancel", this._onUp, this), Mi(), Oe();
|
2852
2852
|
var e = this._moved && this._moving;
|
2853
2853
|
this._moving = !1, Gt._dragging = !1, e && this.fire("dragend", {
|
2854
2854
|
noInertia: t,
|
@@ -2857,33 +2857,33 @@ function ta() {
|
|
2857
2857
|
}
|
2858
2858
|
});
|
2859
2859
|
function Hn(t, e, i) {
|
2860
|
-
var n, o = [1, 4, 2, 8], s,
|
2860
|
+
var n, o = [1, 4, 2, 8], s, a, u, c, f, _, P, k;
|
2861
2861
|
for (s = 0, _ = t.length; s < _; s++)
|
2862
|
-
t[s]._code =
|
2862
|
+
t[s]._code = ne(t[s], e);
|
2863
2863
|
for (u = 0; u < 4; u++) {
|
2864
|
-
for (P = o[u], n = [], s = 0, _ = t.length,
|
2865
|
-
c = t[s], f = t[
|
2864
|
+
for (P = o[u], n = [], s = 0, _ = t.length, a = _ - 1; s < _; a = s++)
|
2865
|
+
c = t[s], f = t[a], c._code & P ? f._code & P || (k = Ke(f, c, P, e, i), k._code = ne(k, e), n.push(k)) : (f._code & P && (k = Ke(f, c, P, e, i), k._code = ne(k, e), n.push(k)), n.push(c));
|
2866
2866
|
t = n;
|
2867
2867
|
}
|
2868
2868
|
return t;
|
2869
2869
|
}
|
2870
2870
|
function Fn(t, e) {
|
2871
|
-
var i, n, o, s,
|
2871
|
+
var i, n, o, s, a, u, c, f, _;
|
2872
2872
|
if (!t || t.length === 0)
|
2873
2873
|
throw new Error("latlngs not passed");
|
2874
2874
|
wt(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);
|
2875
2875
|
var P = B([0, 0]), k = Q(t), ht = k.getNorthWest().distanceTo(k.getSouthWest()) * k.getNorthEast().distanceTo(k.getNorthWest());
|
2876
2876
|
ht < 1700 && (P = Ri(t));
|
2877
|
-
var
|
2878
|
-
for (i = 0; i <
|
2877
|
+
var it = t.length, bt = [];
|
2878
|
+
for (i = 0; i < it; i++) {
|
2879
2879
|
var pt = B(t[i]);
|
2880
2880
|
bt.push(e.project(B([pt.lat - P.lat, pt.lng - P.lng])));
|
2881
2881
|
}
|
2882
|
-
for (u = c = f = 0, i = 0, n =
|
2883
|
-
o = bt[i], s = bt[n],
|
2882
|
+
for (u = c = f = 0, i = 0, n = it - 1; i < it; n = i++)
|
2883
|
+
o = bt[i], s = bt[n], a = o.y * s.x - s.y * o.x, c += (o.x + s.x) * a, f += (o.y + s.y) * a, u += a * 3;
|
2884
2884
|
u === 0 ? _ = bt[0] : _ = [c / u, f / u];
|
2885
|
-
var
|
2886
|
-
return B([
|
2885
|
+
var me = e.unproject(M(_));
|
2886
|
+
return B([me.lat + P.lat, me.lng + P.lng]);
|
2887
2887
|
}
|
2888
2888
|
function Ri(t) {
|
2889
2889
|
for (var e = 0, i = 0, n = 0, o = 0; o < t.length; o++) {
|
@@ -2905,24 +2905,24 @@ function ta() {
|
|
2905
2905
|
return t = Vs(t, i), t = Fs(t, i), t;
|
2906
2906
|
}
|
2907
2907
|
function Wn(t, e, i) {
|
2908
|
-
return Math.sqrt(
|
2908
|
+
return Math.sqrt(ze(t, e, i, !0));
|
2909
2909
|
}
|
2910
2910
|
function Hs(t, e, i) {
|
2911
|
-
return
|
2911
|
+
return ze(t, e, i);
|
2912
2912
|
}
|
2913
2913
|
function Fs(t, e) {
|
2914
2914
|
var i = t.length, n = typeof Uint8Array < "u" ? Uint8Array : Array, o = new n(i);
|
2915
2915
|
o[0] = o[i - 1] = 1, Ni(t, o, e, 0, i - 1);
|
2916
|
-
var s,
|
2916
|
+
var s, a = [];
|
2917
2917
|
for (s = 0; s < i; s++)
|
2918
|
-
o[s] &&
|
2919
|
-
return
|
2918
|
+
o[s] && a.push(t[s]);
|
2919
|
+
return a;
|
2920
2920
|
}
|
2921
2921
|
function Ni(t, e, i, n, o) {
|
2922
|
-
var s = 0,
|
2922
|
+
var s = 0, a, u, c;
|
2923
2923
|
for (u = n + 1; u <= o - 1; u++)
|
2924
|
-
c =
|
2925
|
-
s > i && (e[
|
2924
|
+
c = ze(t[u], t[n], t[o], !0), c > s && (a = u, s = c);
|
2925
|
+
s > i && (e[a] = 1, Ni(t, e, i, n, a), Ni(t, e, i, a, o));
|
2926
2926
|
}
|
2927
2927
|
function Vs(t, e) {
|
2928
2928
|
for (var i = [t[0]], n = 1, o = 0, s = t.length; n < s; n++)
|
@@ -2931,20 +2931,20 @@ function ta() {
|
|
2931
2931
|
}
|
2932
2932
|
var Un;
|
2933
2933
|
function qn(t, e, i, n, o) {
|
2934
|
-
var s = n ? Un :
|
2935
|
-
for (Un =
|
2936
|
-
if (!(s |
|
2934
|
+
var s = n ? Un : ne(t, i), a = ne(e, i), u, c, f;
|
2935
|
+
for (Un = a; ; ) {
|
2936
|
+
if (!(s | a))
|
2937
2937
|
return [t, e];
|
2938
|
-
if (s &
|
2938
|
+
if (s & a)
|
2939
2939
|
return !1;
|
2940
|
-
u = s ||
|
2940
|
+
u = s || a, c = Ke(t, e, u, i, o), f = ne(c, i), u === s ? (t = c, s = f) : (e = c, a = f);
|
2941
2941
|
}
|
2942
2942
|
}
|
2943
2943
|
function Ke(t, e, i, n, o) {
|
2944
|
-
var s = e.x - t.x,
|
2945
|
-
return i & 8 ? (f = t.x + s * (c.y - t.y) /
|
2944
|
+
var s = e.x - t.x, a = e.y - t.y, u = n.min, c = n.max, f, _;
|
2945
|
+
return i & 8 ? (f = t.x + s * (c.y - t.y) / a, _ = c.y) : i & 4 ? (f = t.x + s * (u.y - t.y) / a, _ = u.y) : i & 2 ? (f = c.x, _ = t.y + a * (c.x - t.x) / s) : i & 1 && (f = u.x, _ = t.y + a * (u.x - t.x) / s), new O(f, _, o);
|
2946
2946
|
}
|
2947
|
-
function
|
2947
|
+
function ne(t, e) {
|
2948
2948
|
var i = 0;
|
2949
2949
|
return t.x < e.min.x ? i |= 1 : t.x > e.max.x && (i |= 2), t.y < e.min.y ? i |= 4 : t.y > e.max.y && (i |= 8), i;
|
2950
2950
|
}
|
@@ -2952,9 +2952,9 @@ function ta() {
|
|
2952
2952
|
var i = e.x - t.x, n = e.y - t.y;
|
2953
2953
|
return i * i + n * n;
|
2954
2954
|
}
|
2955
|
-
function
|
2956
|
-
var o = e.x, s = e.y,
|
2957
|
-
return c > 0 && (f = ((t.x - o) *
|
2955
|
+
function ze(t, e, i, n) {
|
2956
|
+
var o = e.x, s = e.y, a = i.x - o, u = i.y - s, c = a * a + u * u, f;
|
2957
|
+
return c > 0 && (f = ((t.x - o) * a + (t.y - s) * u) / c, f > 1 ? (o = i.x, s = i.y) : f > 0 && (o += a * f, s += u * f)), a = t.x - o, u = t.y - s, n ? a * a + u * u : new O(o, s);
|
2958
2958
|
}
|
2959
2959
|
function wt(t) {
|
2960
2960
|
return !V(t[0]) || typeof t[0][0] != "object" && typeof t[0][0] < "u";
|
@@ -2963,27 +2963,27 @@ function ta() {
|
|
2963
2963
|
return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."), wt(t);
|
2964
2964
|
}
|
2965
2965
|
function Gn(t, e) {
|
2966
|
-
var i, n, o, s,
|
2966
|
+
var i, n, o, s, a, u, c, f;
|
2967
2967
|
if (!t || t.length === 0)
|
2968
2968
|
throw new Error("latlngs not passed");
|
2969
2969
|
wt(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);
|
2970
2970
|
var _ = B([0, 0]), P = Q(t), k = P.getNorthWest().distanceTo(P.getSouthWest()) * P.getNorthEast().distanceTo(P.getNorthWest());
|
2971
2971
|
k < 1700 && (_ = Ri(t));
|
2972
|
-
var ht = t.length,
|
2972
|
+
var ht = t.length, it = [];
|
2973
2973
|
for (i = 0; i < ht; i++) {
|
2974
2974
|
var bt = B(t[i]);
|
2975
|
-
|
2975
|
+
it.push(e.project(B([bt.lat - _.lat, bt.lng - _.lng])));
|
2976
2976
|
}
|
2977
2977
|
for (i = 0, n = 0; i < ht - 1; i++)
|
2978
|
-
n +=
|
2978
|
+
n += it[i].distanceTo(it[i + 1]) / 2;
|
2979
2979
|
if (n === 0)
|
2980
|
-
f =
|
2980
|
+
f = it[0];
|
2981
2981
|
else
|
2982
2982
|
for (i = 0, s = 0; i < ht - 1; i++)
|
2983
|
-
if (
|
2983
|
+
if (a = it[i], u = it[i + 1], o = a.distanceTo(u), s += o, s > n) {
|
2984
2984
|
c = (s - n) / o, f = [
|
2985
|
-
u.x - c * (u.x -
|
2986
|
-
u.y - c * (u.y -
|
2985
|
+
u.x - c * (u.x - a.x),
|
2986
|
+
u.y - c * (u.y - a.y)
|
2987
2987
|
];
|
2988
2988
|
break;
|
2989
2989
|
}
|
@@ -2997,8 +2997,8 @@ function ta() {
|
|
2997
2997
|
closestPointOnSegment: Hs,
|
2998
2998
|
clipSegment: qn,
|
2999
2999
|
_getEdgeIntersection: Ke,
|
3000
|
-
_getBitCode:
|
3001
|
-
_sqClosestPointOnSegment:
|
3000
|
+
_getBitCode: ne,
|
3001
|
+
_sqClosestPointOnSegment: ze,
|
3002
3002
|
isFlat: wt,
|
3003
3003
|
_flat: jn,
|
3004
3004
|
polylineCenter: Gn
|
@@ -3015,13 +3015,13 @@ function ta() {
|
|
3015
3015
|
R_MINOR: 6356752314245179e-9,
|
3016
3016
|
bounds: new K([-2003750834279e-5, -1549657073972e-5], [2003750834279e-5, 1876465623138e-5]),
|
3017
3017
|
project: function(t) {
|
3018
|
-
var e = Math.PI / 180, i = this.R, n = t.lat * e, o = this.R_MINOR / i, s = Math.sqrt(1 - o * o),
|
3018
|
+
var e = Math.PI / 180, i = this.R, n = t.lat * e, o = this.R_MINOR / i, s = Math.sqrt(1 - o * o), a = s * Math.sin(n), u = Math.tan(Math.PI / 4 - n / 2) / Math.pow((1 - a) / (1 + a), s / 2);
|
3019
3019
|
return n = -i * Math.log(Math.max(u, 1e-10)), new O(t.lng * e * i, n);
|
3020
3020
|
},
|
3021
3021
|
unproject: function(t) {
|
3022
|
-
for (var e = 180 / Math.PI, i = this.R, n = this.R_MINOR / i, o = Math.sqrt(1 - n * n), s = Math.exp(-t.y / i),
|
3023
|
-
f = o * Math.sin(
|
3024
|
-
return new F(
|
3022
|
+
for (var e = 180 / Math.PI, i = this.R, n = this.R_MINOR / i, o = Math.sqrt(1 - n * n), s = Math.exp(-t.y / i), a = Math.PI / 2 - 2 * Math.atan(s), u = 0, c = 0.1, f; u < 15 && Math.abs(c) > 1e-7; u++)
|
3023
|
+
f = o * Math.sin(a), f = Math.pow((1 - f) / (1 + f), o / 2), c = Math.PI / 2 - 2 * Math.atan(s * f) - a, a += c;
|
3024
|
+
return new F(a * e, t.x * e / i);
|
3025
3025
|
}
|
3026
3026
|
}, qs = {
|
3027
3027
|
__proto__: null,
|
@@ -3033,15 +3033,15 @@ function ta() {
|
|
3033
3033
|
projection: Hi,
|
3034
3034
|
transformation: function() {
|
3035
3035
|
var t = 0.5 / (Math.PI * Hi.R);
|
3036
|
-
return
|
3036
|
+
return Le(t, 0.5, -t, 0.5);
|
3037
3037
|
}()
|
3038
3038
|
}), Kn = p({}, jt, {
|
3039
3039
|
code: "EPSG:4326",
|
3040
3040
|
projection: Di,
|
3041
|
-
transformation:
|
3041
|
+
transformation: Le(1 / 180, 1, -1 / 180, 0.5)
|
3042
3042
|
}), Gs = p({}, It, {
|
3043
3043
|
projection: Di,
|
3044
|
-
transformation:
|
3044
|
+
transformation: Le(1, 0, -1, 0),
|
3045
3045
|
scale: function(t) {
|
3046
3046
|
return Math.pow(2, t);
|
3047
3047
|
},
|
@@ -3055,7 +3055,7 @@ function ta() {
|
|
3055
3055
|
infinite: !0
|
3056
3056
|
});
|
3057
3057
|
It.Earth = jt, It.EPSG3395 = js, It.EPSG3857 = pi, It.EPSG900913 = $o, It.EPSG4326 = Kn, It.Simple = Gs;
|
3058
|
-
var Tt =
|
3058
|
+
var Tt = be.extend({
|
3059
3059
|
// Classes extending `L.Layer` will inherit the following options:
|
3060
3060
|
options: {
|
3061
3061
|
// @option pane: String = 'overlayPane'
|
@@ -3172,7 +3172,7 @@ function ta() {
|
|
3172
3172
|
this._layersMaxZoom = e === -1 / 0 ? void 0 : e, this._layersMinZoom = t === 1 / 0 ? void 0 : t, i !== this._getZoomSpan() && this.fire("zoomlevelschange"), this.options.maxZoom === void 0 && this._layersMaxZoom && this.getZoom() > this._layersMaxZoom && this.setZoom(this._layersMaxZoom), this.options.minZoom === void 0 && this._layersMinZoom && this.getZoom() < this._layersMinZoom && this.setZoom(this._layersMinZoom);
|
3173
3173
|
}
|
3174
3174
|
});
|
3175
|
-
var
|
3175
|
+
var ue = Tt.extend({
|
3176
3176
|
initialize: function(t, e) {
|
3177
3177
|
N(this, e), this._layers = {};
|
3178
3178
|
var i, n;
|
@@ -3259,13 +3259,13 @@ function ta() {
|
|
3259
3259
|
return v(t);
|
3260
3260
|
}
|
3261
3261
|
}), Ks = function(t, e) {
|
3262
|
-
return new
|
3263
|
-
}, Zt =
|
3262
|
+
return new ue(t, e);
|
3263
|
+
}, Zt = ue.extend({
|
3264
3264
|
addLayer: function(t) {
|
3265
|
-
return this.hasLayer(t) ? this : (t.addEventParent(this),
|
3265
|
+
return this.hasLayer(t) ? this : (t.addEventParent(this), ue.prototype.addLayer.call(this, t), this.fire("layeradd", { layer: t }));
|
3266
3266
|
},
|
3267
3267
|
removeLayer: function(t) {
|
3268
|
-
return this.hasLayer(t) ? (t in this._layers && (t = this._layers[t]), t.removeEventParent(this),
|
3268
|
+
return this.hasLayer(t) ? (t in this._layers && (t = this._layers[t]), t.removeEventParent(this), ue.prototype.removeLayer.call(this, t), this.fire("layerremove", { layer: t })) : this;
|
3269
3269
|
},
|
3270
3270
|
// @method setStyle(style: Path options): this
|
3271
3271
|
// Sets the given path options to each layer of the group that has a `setStyle` method.
|
@@ -3294,7 +3294,7 @@ function ta() {
|
|
3294
3294
|
}
|
3295
3295
|
}), Js = function(t, e) {
|
3296
3296
|
return new Zt(t, e);
|
3297
|
-
},
|
3297
|
+
}, ce = Bt.extend({
|
3298
3298
|
/* @section
|
3299
3299
|
* @aka Icon options
|
3300
3300
|
*
|
@@ -3381,9 +3381,9 @@ function ta() {
|
|
3381
3381
|
}
|
3382
3382
|
});
|
3383
3383
|
function Ys(t) {
|
3384
|
-
return new
|
3384
|
+
return new ce(t);
|
3385
3385
|
}
|
3386
|
-
var
|
3386
|
+
var Ae = ce.extend({
|
3387
3387
|
options: {
|
3388
3388
|
iconUrl: "marker-icon.png",
|
3389
3389
|
iconRetinaUrl: "marker-icon-2x.png",
|
@@ -3395,7 +3395,7 @@ function ta() {
|
|
3395
3395
|
shadowSize: [41, 41]
|
3396
3396
|
},
|
3397
3397
|
_getIconUrl: function(t) {
|
3398
|
-
return typeof
|
3398
|
+
return typeof Ae.imagePath != "string" && (Ae.imagePath = this._detectIconPath()), (this.options.imagePath || Ae.imagePath) + ce.prototype._getIconUrl.call(this, t);
|
3399
3399
|
},
|
3400
3400
|
_stripUrl: function(t) {
|
3401
3401
|
var e = function(i, n, o) {
|
@@ -3405,7 +3405,7 @@ function ta() {
|
|
3405
3405
|
return t = e(t, /^url\((['"])?(.+)\1\)$/, 2), t && e(t, /^(.*)marker-icon\.png$/, 1);
|
3406
3406
|
},
|
3407
3407
|
_detectIconPath: function() {
|
3408
|
-
var t = D("div", "leaflet-default-icon-path", document.body), e =
|
3408
|
+
var t = D("div", "leaflet-default-icon-path", document.body), e = Te(t, "background-image") || Te(t, "backgroundImage");
|
3409
3409
|
if (document.body.removeChild(t), e = this._stripUrl(e), e)
|
3410
3410
|
return e;
|
3411
3411
|
var i = document.querySelector('link[href$="leaflet.css"]');
|
@@ -3436,26 +3436,26 @@ function ta() {
|
|
3436
3436
|
return this._draggable && this._draggable._moved;
|
3437
3437
|
},
|
3438
3438
|
_adjustPan: function(t) {
|
3439
|
-
var e = this._marker, i = e._map, n = this._marker.options.autoPanSpeed, o = this._marker.options.autoPanPadding, s =
|
3440
|
-
|
3441
|
-
|
3439
|
+
var e = this._marker, i = e._map, n = this._marker.options.autoPanSpeed, o = this._marker.options.autoPanPadding, s = te(e._icon), a = i.getPixelBounds(), u = i.getPixelOrigin(), c = dt(
|
3440
|
+
a.min._subtract(u).add(o),
|
3441
|
+
a.max._subtract(u).subtract(o)
|
3442
3442
|
);
|
3443
3443
|
if (!c.contains(s)) {
|
3444
3444
|
var f = M(
|
3445
|
-
(Math.max(c.max.x, s.x) - c.max.x) / (
|
3446
|
-
(Math.max(c.max.y, s.y) - c.max.y) / (
|
3445
|
+
(Math.max(c.max.x, s.x) - c.max.x) / (a.max.x - c.max.x) - (Math.min(c.min.x, s.x) - c.min.x) / (a.min.x - c.min.x),
|
3446
|
+
(Math.max(c.max.y, s.y) - c.max.y) / (a.max.y - c.max.y) - (Math.min(c.min.y, s.y) - c.min.y) / (a.min.y - c.min.y)
|
3447
3447
|
).multiplyBy(n);
|
3448
|
-
i.panBy(f, { animate: !1 }), this._draggable._newPos._add(f), this._draggable._startPos._add(f), $(e._icon, this._draggable._newPos), this._onDrag(t), this._panRequest =
|
3448
|
+
i.panBy(f, { animate: !1 }), this._draggable._newPos._add(f), this._draggable._startPos._add(f), $(e._icon, this._draggable._newPos), this._onDrag(t), this._panRequest = nt(this._adjustPan.bind(this, t));
|
3449
3449
|
}
|
3450
3450
|
},
|
3451
3451
|
_onDragStart: function() {
|
3452
3452
|
this._oldLatLng = this._marker.getLatLng(), this._marker.closePopup && this._marker.closePopup(), this._marker.fire("movestart").fire("dragstart");
|
3453
3453
|
},
|
3454
3454
|
_onPreDrag: function(t) {
|
3455
|
-
this._marker.options.autoPan && (vt(this._panRequest), this._panRequest =
|
3455
|
+
this._marker.options.autoPan && (vt(this._panRequest), this._panRequest = nt(this._adjustPan.bind(this, t)));
|
3456
3456
|
},
|
3457
3457
|
_onDrag: function(t) {
|
3458
|
-
var e = this._marker, i = e._shadow, n =
|
3458
|
+
var e = this._marker, i = e._shadow, n = te(e._icon), o = e._map.layerPointToLatLng(n);
|
3459
3459
|
i && $(i, n), e._latlng = o, t.latlng = o, t.oldLatLng = this._oldLatLng, e.fire("move", t).fire("drag", t);
|
3460
3460
|
},
|
3461
3461
|
_onDragEnd: function(t) {
|
@@ -3469,7 +3469,7 @@ function ta() {
|
|
3469
3469
|
// Icon instance to use for rendering the marker.
|
3470
3470
|
// See [Icon documentation](#L.Icon) for details on how to customize the marker icon.
|
3471
3471
|
// If not specified, a common instance of `L.Icon.Default` is used.
|
3472
|
-
icon: new
|
3472
|
+
icon: new Ae(),
|
3473
3473
|
// Option inherited from "Interactive layer" abstract class
|
3474
3474
|
interactive: !0,
|
3475
3475
|
// @option keyboard: Boolean = true
|
@@ -3825,8 +3825,8 @@ function ta() {
|
|
3825
3825
|
_project: function() {
|
3826
3826
|
var t = this._latlng.lng, e = this._latlng.lat, i = this._map, n = i.options.crs;
|
3827
3827
|
if (n.distance === jt.distance) {
|
3828
|
-
var o = Math.PI / 180, s = this._mRadius / jt.R / o,
|
3829
|
-
(isNaN(_) || _ === 0) && (_ = s / Math.cos(Math.PI / 180 * e)), this._point = c.subtract(i.getPixelOrigin()), this._radius = isNaN(_) ? 0 : c.x - i.project([f, t - _]).x, this._radiusY = c.y -
|
3828
|
+
var o = Math.PI / 180, s = this._mRadius / jt.R / o, a = i.project([e + s, t]), u = i.project([e - s, t]), c = a.add(u).divideBy(2), f = i.unproject(c).lat, _ = Math.acos((Math.cos(s * o) - Math.sin(e * o) * Math.sin(f * o)) / (Math.cos(e * o) * Math.cos(f * o))) / o;
|
3829
|
+
(isNaN(_) || _ === 0) && (_ = s / Math.cos(Math.PI / 180 * e)), this._point = c.subtract(i.getPixelOrigin()), this._radius = isNaN(_) ? 0 : c.x - i.project([f, t - _]).x, this._radiusY = c.y - a.y;
|
3830
3830
|
} else {
|
3831
3831
|
var P = n.unproject(n.project(this._latlng).subtract([this._mRadius, 0]));
|
3832
3832
|
this._point = i.latLngToLayerPoint(this._latlng), this._radius = this._point.x - i.latLngToLayerPoint(P).x;
|
@@ -3870,8 +3870,8 @@ function ta() {
|
|
3870
3870
|
// @method closestLayerPoint(p: Point): Point
|
3871
3871
|
// Returns the point closest to `p` on the Polyline.
|
3872
3872
|
closestLayerPoint: function(t) {
|
3873
|
-
for (var e = 1 / 0, i = null, n =
|
3874
|
-
for (var c = this._parts[
|
3873
|
+
for (var e = 1 / 0, i = null, n = ze, o, s, a = 0, u = this._parts.length; a < u; a++)
|
3874
|
+
for (var c = this._parts[a], f = 1, _ = c.length; f < _; f++) {
|
3875
3875
|
o = c[f - 1], s = c[f];
|
3876
3876
|
var P = n(t, o, s, !0);
|
3877
3877
|
P < e && (e = P, i = n(t, o, s));
|
@@ -3922,11 +3922,11 @@ function ta() {
|
|
3922
3922
|
},
|
3923
3923
|
// recursively turns latlngs into a set of rings with projected coordinates
|
3924
3924
|
_projectLatlngs: function(t, e, i) {
|
3925
|
-
var n = t[0] instanceof F, o = t.length, s,
|
3925
|
+
var n = t[0] instanceof F, o = t.length, s, a;
|
3926
3926
|
if (n) {
|
3927
|
-
for (
|
3928
|
-
|
3929
|
-
e.push(
|
3927
|
+
for (a = [], s = 0; s < o; s++)
|
3928
|
+
a[s] = this._map.latLngToLayerPoint(t[s]), i.extend(a[s]);
|
3929
|
+
e.push(a);
|
3930
3930
|
} else
|
3931
3931
|
for (s = 0; s < o; s++)
|
3932
3932
|
this._projectLatlngs(t[s], e, i);
|
@@ -3939,10 +3939,10 @@ function ta() {
|
|
3939
3939
|
this._parts = this._rings;
|
3940
3940
|
return;
|
3941
3941
|
}
|
3942
|
-
var e = this._parts, i, n, o, s,
|
3942
|
+
var e = this._parts, i, n, o, s, a, u, c;
|
3943
3943
|
for (i = 0, o = 0, s = this._rings.length; i < s; i++)
|
3944
|
-
for (c = this._rings[i], n = 0,
|
3945
|
-
u = qn(c[n], c[n + 1], t, n, !0), u && (e[o] = e[o] || [], e[o].push(u[0]), (u[1] !== c[n + 1] || n ===
|
3944
|
+
for (c = this._rings[i], n = 0, a = c.length; n < a - 1; n++)
|
3945
|
+
u = qn(c[n], c[n + 1], t, n, !0), u && (e[o] = e[o] || [], e[o].push(u[0]), (u[1] !== c[n + 1] || n === a - 2) && (e[o].push(u[1]), o++));
|
3946
3946
|
}
|
3947
3947
|
},
|
3948
3948
|
// simplify each clipped part of the polyline for performance
|
@@ -3958,11 +3958,11 @@ function ta() {
|
|
3958
3958
|
},
|
3959
3959
|
// Needed by the `Canvas` renderer for interactivity
|
3960
3960
|
_containsPoint: function(t, e) {
|
3961
|
-
var i, n, o, s,
|
3961
|
+
var i, n, o, s, a, u, c = this._clickTolerance();
|
3962
3962
|
if (!this._pxBounds || !this._pxBounds.contains(t))
|
3963
3963
|
return !1;
|
3964
3964
|
for (i = 0, s = this._parts.length; i < s; i++)
|
3965
|
-
for (u = this._parts[i], n = 0,
|
3965
|
+
for (u = this._parts[i], n = 0, a = u.length, o = a - 1; n < a; o = n++)
|
3966
3966
|
if (!(!e && n === 0) && Wn(t, u[o], u[n]) <= c)
|
3967
3967
|
return !0;
|
3968
3968
|
return !1;
|
@@ -3972,7 +3972,7 @@ function ta() {
|
|
3972
3972
|
return new Rt(t, e);
|
3973
3973
|
}
|
3974
3974
|
Rt._flat = jn;
|
3975
|
-
var
|
3975
|
+
var de = Rt.extend({
|
3976
3976
|
options: {
|
3977
3977
|
fill: !0
|
3978
3978
|
},
|
@@ -4012,17 +4012,17 @@ function ta() {
|
|
4012
4012
|
},
|
4013
4013
|
// Needed by the `Canvas` renderer for interactivity
|
4014
4014
|
_containsPoint: function(t) {
|
4015
|
-
var e = !1, i, n, o, s,
|
4015
|
+
var e = !1, i, n, o, s, a, u, c, f;
|
4016
4016
|
if (!this._pxBounds || !this._pxBounds.contains(t))
|
4017
4017
|
return !1;
|
4018
4018
|
for (s = 0, c = this._parts.length; s < c; s++)
|
4019
|
-
for (i = this._parts[s],
|
4020
|
-
n = i[
|
4019
|
+
for (i = this._parts[s], a = 0, f = i.length, u = f - 1; a < f; u = a++)
|
4020
|
+
n = i[a], o = i[u], n.y > t.y != o.y > t.y && t.x < (o.x - n.x) * (t.y - n.y) / (o.y - n.y) + n.x && (e = !e);
|
4021
4021
|
return e || Rt.prototype._containsPoint.call(this, t, !0);
|
4022
4022
|
}
|
4023
4023
|
});
|
4024
4024
|
function er(t, e) {
|
4025
|
-
return new
|
4025
|
+
return new de(t, e);
|
4026
4026
|
}
|
4027
4027
|
var Nt = Zt.extend({
|
4028
4028
|
/* @section
|
@@ -4089,8 +4089,8 @@ function ta() {
|
|
4089
4089
|
var s = this.options;
|
4090
4090
|
if (s.filter && !s.filter(t))
|
4091
4091
|
return this;
|
4092
|
-
var
|
4093
|
-
return
|
4092
|
+
var a = Xe(t, s);
|
4093
|
+
return a ? (a.feature = ti(t), a.defaultOptions = a.options, this.resetStyle(a), s.onEachFeature && s.onEachFeature(t, a), this.addLayer(a)) : this;
|
4094
4094
|
},
|
4095
4095
|
// @method resetStyle( <Path> layer? ): this
|
4096
4096
|
// Resets the given vector layer's style to the original GeoJSON style, useful for resetting style after hover events.
|
@@ -4110,22 +4110,22 @@ function ta() {
|
|
4110
4110
|
}
|
4111
4111
|
});
|
4112
4112
|
function Xe(t, e) {
|
4113
|
-
var i = t.type === "Feature" ? t.geometry : t, n = i ? i.coordinates : null, o = [], s = e && e.pointToLayer,
|
4113
|
+
var i = t.type === "Feature" ? t.geometry : t, n = i ? i.coordinates : null, o = [], s = e && e.pointToLayer, a = e && e.coordsToLatLng || Vi, u, c, f, _;
|
4114
4114
|
if (!n && !i)
|
4115
4115
|
return null;
|
4116
4116
|
switch (i.type) {
|
4117
4117
|
case "Point":
|
4118
|
-
return u =
|
4118
|
+
return u = a(n), Yn(s, t, u, e);
|
4119
4119
|
case "MultiPoint":
|
4120
4120
|
for (f = 0, _ = n.length; f < _; f++)
|
4121
|
-
u =
|
4121
|
+
u = a(n[f]), o.push(Yn(s, t, u, e));
|
4122
4122
|
return new Zt(o);
|
4123
4123
|
case "LineString":
|
4124
4124
|
case "MultiLineString":
|
4125
|
-
return c = Qe(n, i.type === "LineString" ? 0 : 1,
|
4125
|
+
return c = Qe(n, i.type === "LineString" ? 0 : 1, a), new Rt(c, e);
|
4126
4126
|
case "Polygon":
|
4127
4127
|
case "MultiPolygon":
|
4128
|
-
return c = Qe(n, i.type === "Polygon" ? 1 : 2,
|
4128
|
+
return c = Qe(n, i.type === "Polygon" ? 1 : 2, a), new de(c, e);
|
4129
4129
|
case "GeometryCollection":
|
4130
4130
|
for (f = 0, _ = i.geometries.length; f < _; f++) {
|
4131
4131
|
var P = Xe({
|
@@ -4153,19 +4153,19 @@ function ta() {
|
|
4153
4153
|
return new F(t[1], t[0], t[2]);
|
4154
4154
|
}
|
4155
4155
|
function Qe(t, e, i) {
|
4156
|
-
for (var n = [], o = 0, s = t.length,
|
4157
|
-
|
4156
|
+
for (var n = [], o = 0, s = t.length, a; o < s; o++)
|
4157
|
+
a = e ? Qe(t[o], e - 1, i) : (i || Vi)(t[o]), n.push(a);
|
4158
4158
|
return n;
|
4159
4159
|
}
|
4160
4160
|
function Wi(t, e) {
|
4161
4161
|
return t = B(t), t.alt !== void 0 ? [H(t.lng, e), H(t.lat, e), H(t.alt, e)] : [H(t.lng, e), H(t.lat, e)];
|
4162
4162
|
}
|
4163
4163
|
function $e(t, e, i, n) {
|
4164
|
-
for (var o = [], s = 0,
|
4164
|
+
for (var o = [], s = 0, a = t.length; s < a; s++)
|
4165
4165
|
o.push(e ? $e(t[s], wt(t[s]) ? 0 : e - 1, i, n) : Wi(t[s], n));
|
4166
4166
|
return !e && i && o.length > 0 && o.push(o[0].slice()), o;
|
4167
4167
|
}
|
4168
|
-
function
|
4168
|
+
function fe(t, e) {
|
4169
4169
|
return t.feature ? p({}, t.feature, { geometry: e }) : ti(e);
|
4170
4170
|
}
|
4171
4171
|
function ti(t) {
|
@@ -4177,7 +4177,7 @@ function ta() {
|
|
4177
4177
|
}
|
4178
4178
|
var Ui = {
|
4179
4179
|
toGeoJSON: function(t) {
|
4180
|
-
return
|
4180
|
+
return fe(this, {
|
4181
4181
|
type: "Point",
|
4182
4182
|
coordinates: Wi(this.getLatLng(), t)
|
4183
4183
|
});
|
@@ -4186,25 +4186,25 @@ function ta() {
|
|
4186
4186
|
Je.include(Ui), Fi.include(Ui), Ye.include(Ui), Rt.include({
|
4187
4187
|
toGeoJSON: function(t) {
|
4188
4188
|
var e = !wt(this._latlngs), i = $e(this._latlngs, e ? 1 : 0, !1, t);
|
4189
|
-
return
|
4189
|
+
return fe(this, {
|
4190
4190
|
type: (e ? "Multi" : "") + "LineString",
|
4191
4191
|
coordinates: i
|
4192
4192
|
});
|
4193
4193
|
}
|
4194
|
-
}),
|
4194
|
+
}), de.include({
|
4195
4195
|
toGeoJSON: function(t) {
|
4196
4196
|
var e = !wt(this._latlngs), i = e && !wt(this._latlngs[0]), n = $e(this._latlngs, i ? 2 : e ? 1 : 0, !0, t);
|
4197
|
-
return e || (n = [n]),
|
4197
|
+
return e || (n = [n]), fe(this, {
|
4198
4198
|
type: (i ? "Multi" : "") + "Polygon",
|
4199
4199
|
coordinates: n
|
4200
4200
|
});
|
4201
4201
|
}
|
4202
|
-
}),
|
4202
|
+
}), ue.include({
|
4203
4203
|
toMultiPoint: function(t) {
|
4204
4204
|
var e = [];
|
4205
4205
|
return this.eachLayer(function(i) {
|
4206
4206
|
e.push(i.toGeoJSON(t).geometry.coordinates);
|
4207
|
-
}),
|
4207
|
+
}), fe(this, {
|
4208
4208
|
type: "MultiPoint",
|
4209
4209
|
coordinates: e
|
4210
4210
|
});
|
@@ -4223,11 +4223,11 @@ function ta() {
|
|
4223
4223
|
if (i)
|
4224
4224
|
n.push(s.geometry);
|
4225
4225
|
else {
|
4226
|
-
var
|
4227
|
-
|
4226
|
+
var a = ti(s);
|
4227
|
+
a.type === "FeatureCollection" ? n.push.apply(n, a.features) : n.push(a);
|
4228
4228
|
}
|
4229
4229
|
}
|
4230
|
-
}), i ?
|
4230
|
+
}), i ? fe(this, {
|
4231
4231
|
geometries: n,
|
4232
4232
|
type: "GeometryCollection"
|
4233
4233
|
}) : {
|
@@ -4287,12 +4287,12 @@ function ta() {
|
|
4287
4287
|
// @method bringToFront(): this
|
4288
4288
|
// Brings the layer to the top of all overlays.
|
4289
4289
|
bringToFront: function() {
|
4290
|
-
return this._map &&
|
4290
|
+
return this._map && he(this._image), this;
|
4291
4291
|
},
|
4292
4292
|
// @method bringToBack(): this
|
4293
4293
|
// Brings the layer to the bottom of all overlays.
|
4294
4294
|
bringToBack: function() {
|
4295
|
-
return this._map &&
|
4295
|
+
return this._map && le(this._image), this;
|
4296
4296
|
},
|
4297
4297
|
// @method setUrl(url: String): this
|
4298
4298
|
// Changes the URL of the image.
|
@@ -4337,7 +4337,7 @@ function ta() {
|
|
4337
4337
|
},
|
4338
4338
|
_animateZoom: function(t) {
|
4339
4339
|
var e = this._map.getZoomScale(t.zoom), i = this._map._latLngBoundsToNewLayerBounds(this._bounds, t.zoom, t.center).min;
|
4340
|
-
|
4340
|
+
$t(this._image, i, e);
|
4341
4341
|
},
|
4342
4342
|
_reset: function() {
|
4343
4343
|
var t = this._image, e = new K(
|
@@ -4396,8 +4396,8 @@ function ta() {
|
|
4396
4396
|
}
|
4397
4397
|
V(this._url) || (this._url = [this._url]), !this.options.keepAspectRatio && Object.prototype.hasOwnProperty.call(e.style, "objectFit") && (e.style.objectFit = "fill"), e.autoplay = !!this.options.autoplay, e.loop = !!this.options.loop, e.muted = !!this.options.muted, e.playsInline = !!this.options.playsInline;
|
4398
4398
|
for (var s = 0; s < this._url.length; s++) {
|
4399
|
-
var
|
4400
|
-
|
4399
|
+
var a = D("source");
|
4400
|
+
a.src = this._url[s], e.appendChild(a);
|
4401
4401
|
}
|
4402
4402
|
}
|
4403
4403
|
// @method getElement(): HTMLVideoElement
|
@@ -4516,12 +4516,12 @@ function ta() {
|
|
4516
4516
|
// @method bringToFront: this
|
4517
4517
|
// Brings this overlay in front of other overlays (in the same map pane).
|
4518
4518
|
bringToFront: function() {
|
4519
|
-
return this._map &&
|
4519
|
+
return this._map && he(this._container), this;
|
4520
4520
|
},
|
4521
4521
|
// @method bringToBack: this
|
4522
4522
|
// Brings this overlay to the back of other overlays (in the same map pane).
|
4523
4523
|
bringToBack: function() {
|
4524
|
-
return this._map &&
|
4524
|
+
return this._map && le(this._container), this;
|
4525
4525
|
},
|
4526
4526
|
// prepare bound overlay to open: update latlng pos / content source (for FeatureGroup)
|
4527
4527
|
_prepareOpen: function(t) {
|
@@ -4654,10 +4654,10 @@ function ta() {
|
|
4654
4654
|
return t = arguments.length ? t : this._source._map, !t.hasLayer(this) && t._popup && t._popup.options.autoClose && t.removeLayer(t._popup), t._popup = this, zt.prototype.openOn.call(this, t);
|
4655
4655
|
},
|
4656
4656
|
onAdd: function(t) {
|
4657
|
-
zt.prototype.onAdd.call(this, t), t.fire("popupopen", { popup: this }), this._source && (this._source.fire("popupopen", { popup: this }, !0), this._source instanceof Kt || this._source.on("preclick",
|
4657
|
+
zt.prototype.onAdd.call(this, t), t.fire("popupopen", { popup: this }), this._source && (this._source.fire("popupopen", { popup: this }, !0), this._source instanceof Kt || this._source.on("preclick", ee));
|
4658
4658
|
},
|
4659
4659
|
onRemove: function(t) {
|
4660
|
-
zt.prototype.onRemove.call(this, t), t.fire("popupclose", { popup: this }), this._source && (this._source.fire("popupclose", { popup: this }, !0), this._source instanceof Kt || this._source.off("preclick",
|
4660
|
+
zt.prototype.onRemove.call(this, t), t.fire("popupclose", { popup: this }), this._source && (this._source.fire("popupclose", { popup: this }, !0), this._source instanceof Kt || this._source.off("preclick", ee));
|
4661
4661
|
},
|
4662
4662
|
getEvents: function() {
|
4663
4663
|
var t = zt.prototype.getEvents.call(this);
|
@@ -4668,10 +4668,10 @@ function ta() {
|
|
4668
4668
|
"div",
|
4669
4669
|
t + " " + (this.options.className || "") + " leaflet-zoom-animated"
|
4670
4670
|
), i = this._wrapper = D("div", t + "-content-wrapper", e);
|
4671
|
-
if (this._contentNode = D("div", t + "-content", i),
|
4671
|
+
if (this._contentNode = D("div", t + "-content", i), Ce(e), Ei(this._contentNode), S(e, "contextmenu", ee), this._tipContainer = D("div", t + "-tip-container", e), this._tip = D("div", t + "-tip", this._tipContainer), this.options.closeButton) {
|
4672
4672
|
var n = this._closeButton = D("a", t + "-close-button", e);
|
4673
4673
|
n.setAttribute("role", "button"), n.setAttribute("aria-label", "Close popup"), n.href = "#close", n.innerHTML = '<span aria-hidden="true">×</span>', S(n, "click", function(o) {
|
4674
|
-
|
4674
|
+
ot(o), this.close();
|
4675
4675
|
}, this);
|
4676
4676
|
}
|
4677
4677
|
},
|
@@ -4693,9 +4693,9 @@ function ta() {
|
|
4693
4693
|
this._autopanning = !1;
|
4694
4694
|
return;
|
4695
4695
|
}
|
4696
|
-
var t = this._map, e = parseInt(
|
4697
|
-
o._add(
|
4698
|
-
var s = t.layerPointToContainerPoint(o),
|
4696
|
+
var t = this._map, e = parseInt(Te(this._container, "marginBottom"), 10) || 0, i = this._container.offsetHeight + e, n = this._containerWidth, o = new O(this._containerLeft, -i - this._containerBottom);
|
4697
|
+
o._add(te(this._container));
|
4698
|
+
var s = t.layerPointToContainerPoint(o), a = M(this.options.autoPanPadding), u = M(this.options.autoPanPaddingTopLeft || a), c = M(this.options.autoPanPaddingBottomRight || a), f = t.getSize(), _ = 0, P = 0;
|
4699
4699
|
s.x + n + c.x > f.x && (_ = s.x + n - f.x + c.x), s.x - _ - u.x < 0 && (_ = s.x - u.x), s.y + i + c.y > f.y && (P = s.y + i - f.y + c.y), s.y - P - u.y < 0 && (P = s.y - u.y), (_ || P) && (this.options.keepInView && (this._autopanning = !0), t.fire("autopanstart").panBy([_, P]));
|
4700
4700
|
}
|
4701
4701
|
},
|
@@ -4776,7 +4776,7 @@ function ta() {
|
|
4776
4776
|
},
|
4777
4777
|
_openPopup: function(t) {
|
4778
4778
|
if (!(!this._popup || !this._map)) {
|
4779
|
-
|
4779
|
+
ie(t);
|
4780
4780
|
var e = t.layer || t.target;
|
4781
4781
|
if (this._popup._source === e && !(e instanceof Kt)) {
|
4782
4782
|
this._map.hasLayer(this._popup) ? this.closePopup() : this.openPopup(t.latlng);
|
@@ -4837,8 +4837,8 @@ function ta() {
|
|
4837
4837
|
_adjustPan: function() {
|
4838
4838
|
},
|
4839
4839
|
_setPosition: function(t) {
|
4840
|
-
var e, i, n = this._map, o = this._container, s = n.latLngToContainerPoint(n.getCenter()),
|
4841
|
-
u === "top" ? (e = c / 2, i = f) : u === "bottom" ? (e = c / 2, i = 0) : u === "center" ? (e = c / 2, i = f / 2) : u === "right" ? (e = 0, i = f / 2) : u === "left" ? (e = c, i = f / 2) :
|
4840
|
+
var e, i, n = this._map, o = this._container, s = n.latLngToContainerPoint(n.getCenter()), a = n.layerPointToContainerPoint(t), u = this.options.direction, c = o.offsetWidth, f = o.offsetHeight, _ = M(this.options.offset), P = this._getAnchor();
|
4841
|
+
u === "top" ? (e = c / 2, i = f) : u === "bottom" ? (e = c / 2, i = 0) : u === "center" ? (e = c / 2, i = f / 2) : u === "right" ? (e = 0, i = f / 2) : u === "left" ? (e = c, i = f / 2) : a.x < s.x ? (u = "right", e = 0, i = f / 2) : (u = "left", e = c + (_.x + P.x) * 2, i = f / 2), t = t.subtract(M(e, i, !0)).add(_).add(P), Y(o, "leaflet-tooltip-right"), Y(o, "leaflet-tooltip-left"), Y(o, "leaflet-tooltip-top"), Y(o, "leaflet-tooltip-bottom"), C(o, "leaflet-tooltip-" + u), $(o, t);
|
4842
4842
|
},
|
4843
4843
|
_updatePosition: function() {
|
4844
4844
|
var t = this._map.latLngToLayerPoint(this._latlng);
|
@@ -4955,7 +4955,7 @@ function ta() {
|
|
4955
4955
|
this._tooltip.options.sticky && t.originalEvent && (i = this._map.mouseEventToContainerPoint(t.originalEvent), n = this._map.containerPointToLayerPoint(i), e = this._map.layerPointToLatLng(n)), this._tooltip.setLatLng(e);
|
4956
4956
|
}
|
4957
4957
|
});
|
4958
|
-
var to =
|
4958
|
+
var to = ce.extend({
|
4959
4959
|
options: {
|
4960
4960
|
// @section
|
4961
4961
|
// @aka DivIcon options
|
@@ -4987,8 +4987,8 @@ function ta() {
|
|
4987
4987
|
function hr(t) {
|
4988
4988
|
return new to(t);
|
4989
4989
|
}
|
4990
|
-
|
4991
|
-
var
|
4990
|
+
ce.Default = Ae;
|
4991
|
+
var Ee = Tt.extend({
|
4992
4992
|
// @section
|
4993
4993
|
// @aka GridLayer options
|
4994
4994
|
options: {
|
@@ -5064,12 +5064,12 @@ function ta() {
|
|
5064
5064
|
// @method bringToFront: this
|
5065
5065
|
// Brings the tile layer to the top of all tile layers.
|
5066
5066
|
bringToFront: function() {
|
5067
|
-
return this._map && (
|
5067
|
+
return this._map && (he(this._container), this._setAutoZIndex(Math.max)), this;
|
5068
5068
|
},
|
5069
5069
|
// @method bringToBack: this
|
5070
5070
|
// Brings the tile layer to the bottom of all tile layers.
|
5071
5071
|
bringToBack: function() {
|
5072
|
-
return this._map && (
|
5072
|
+
return this._map && (le(this._container), this._setAutoZIndex(Math.min)), this;
|
5073
5073
|
},
|
5074
5074
|
// @method getContainer: HTMLElement
|
5075
5075
|
// Returns the HTML element that contains the tiles for this layer.
|
@@ -5145,7 +5145,7 @@ function ta() {
|
|
5145
5145
|
yt(o.el, s), s < 1 ? e = !0 : (o.active ? i = !0 : this._onOpaqueTile(o), o.active = !0);
|
5146
5146
|
}
|
5147
5147
|
}
|
5148
|
-
i && !this._noPrune && this._pruneTiles(), e && (vt(this._fadeFrame), this._fadeFrame =
|
5148
|
+
i && !this._noPrune && this._pruneTiles(), e && (vt(this._fadeFrame), this._fadeFrame = nt(this._updateOpacity, this));
|
5149
5149
|
}
|
5150
5150
|
},
|
5151
5151
|
_onOpaqueTile: b,
|
@@ -5196,17 +5196,17 @@ function ta() {
|
|
5196
5196
|
this._removeAllTiles(), this._tileZoom = void 0;
|
5197
5197
|
},
|
5198
5198
|
_retainParent: function(t, e, i, n) {
|
5199
|
-
var o = Math.floor(t / 2), s = Math.floor(e / 2),
|
5200
|
-
u.z = +
|
5199
|
+
var o = Math.floor(t / 2), s = Math.floor(e / 2), a = i - 1, u = new O(+o, +s);
|
5200
|
+
u.z = +a;
|
5201
5201
|
var c = this._tileCoordsToKey(u), f = this._tiles[c];
|
5202
|
-
return f && f.active ? (f.retain = !0, !0) : (f && f.loaded && (f.retain = !0),
|
5202
|
+
return f && f.active ? (f.retain = !0, !0) : (f && f.loaded && (f.retain = !0), a > n ? this._retainParent(o, s, a, n) : !1);
|
5203
5203
|
},
|
5204
5204
|
_retainChildren: function(t, e, i, n) {
|
5205
5205
|
for (var o = 2 * t; o < 2 * t + 2; o++)
|
5206
5206
|
for (var s = 2 * e; s < 2 * e + 2; s++) {
|
5207
|
-
var
|
5208
|
-
|
5209
|
-
var u = this._tileCoordsToKey(
|
5207
|
+
var a = new O(o, s);
|
5208
|
+
a.z = i + 1;
|
5209
|
+
var u = this._tileCoordsToKey(a), c = this._tiles[u];
|
5210
5210
|
if (c && c.active) {
|
5211
5211
|
c.retain = !0;
|
5212
5212
|
continue;
|
@@ -5237,7 +5237,7 @@ function ta() {
|
|
5237
5237
|
},
|
5238
5238
|
_setZoomTransform: function(t, e, i) {
|
5239
5239
|
var n = this._map.getZoomScale(i, t.zoom), o = t.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(e, i)).round();
|
5240
|
-
y.any3d ?
|
5240
|
+
y.any3d ? $t(t.el, o, n) : $(t.el, o);
|
5241
5241
|
},
|
5242
5242
|
_resetGrid: function() {
|
5243
5243
|
var t = this._map, e = t.options.crs, i = this._tileSize = this.getTileSize(), n = this._tileZoom, o = this._map.getPixelWorldBounds(this._tileZoom);
|
@@ -5262,7 +5262,7 @@ function ta() {
|
|
5262
5262
|
if (e) {
|
5263
5263
|
var i = this._clampZoom(e.getZoom());
|
5264
5264
|
if (t === void 0 && (t = e.getCenter()), this._tileZoom !== void 0) {
|
5265
|
-
var n = this._getTiledPixelBounds(t), o = this._pxBoundsToTileRange(n), s = o.getCenter(),
|
5265
|
+
var n = this._getTiledPixelBounds(t), o = this._pxBoundsToTileRange(n), s = o.getCenter(), a = [], u = this.options.keepBuffer, c = new K(
|
5266
5266
|
o.getBottomLeft().subtract([u, -u]),
|
5267
5267
|
o.getTopRight().add([u, -u])
|
5268
5268
|
);
|
@@ -5280,17 +5280,17 @@ function ta() {
|
|
5280
5280
|
for (var k = o.min.x; k <= o.max.x; k++) {
|
5281
5281
|
var ht = new O(k, P);
|
5282
5282
|
if (ht.z = this._tileZoom, !!this._isValidTile(ht)) {
|
5283
|
-
var
|
5284
|
-
|
5283
|
+
var it = this._tiles[this._tileCoordsToKey(ht)];
|
5284
|
+
it ? it.current = !0 : a.push(ht);
|
5285
5285
|
}
|
5286
5286
|
}
|
5287
|
-
if (
|
5288
|
-
return pt.distanceTo(s) -
|
5289
|
-
}),
|
5287
|
+
if (a.sort(function(pt, me) {
|
5288
|
+
return pt.distanceTo(s) - me.distanceTo(s);
|
5289
|
+
}), a.length !== 0) {
|
5290
5290
|
this._loading || (this._loading = !0, this.fire("loading"));
|
5291
5291
|
var bt = document.createDocumentFragment();
|
5292
|
-
for (k = 0; k <
|
5293
|
-
this._addTile(
|
5292
|
+
for (k = 0; k < a.length; k++)
|
5293
|
+
this._addTile(a[k], bt);
|
5294
5294
|
this._level.el.appendChild(bt);
|
5295
5295
|
}
|
5296
5296
|
}
|
@@ -5312,8 +5312,8 @@ function ta() {
|
|
5312
5312
|
return this._tileCoordsToBounds(this._keyToTileCoords(t));
|
5313
5313
|
},
|
5314
5314
|
_tileCoordsToNwSe: function(t) {
|
5315
|
-
var e = this._map, i = this.getTileSize(), n = t.scaleBy(i), o = n.add(i), s = e.unproject(n, t.z),
|
5316
|
-
return [s,
|
5315
|
+
var e = this._map, i = this.getTileSize(), n = t.scaleBy(i), o = n.add(i), s = e.unproject(n, t.z), a = e.unproject(o, t.z);
|
5316
|
+
return [s, a];
|
5317
5317
|
},
|
5318
5318
|
// converts tile coordinates to its geographical bounds
|
5319
5319
|
_tileCoordsToBounds: function(t) {
|
@@ -5343,7 +5343,7 @@ function ta() {
|
|
5343
5343
|
},
|
5344
5344
|
_addTile: function(t, e) {
|
5345
5345
|
var i = this._getTilePos(t), n = this._tileCoordsToKey(t), o = this.createTile(this._wrapCoords(t), g(this._tileReady, this, t));
|
5346
|
-
this._initTile(o), this.createTile.length < 2 &&
|
5346
|
+
this._initTile(o), this.createTile.length < 2 && nt(g(this._tileReady, this, t, null, o)), $(o, i), this._tiles[n] = {
|
5347
5347
|
el: o,
|
5348
5348
|
coords: t,
|
5349
5349
|
current: !0
|
@@ -5359,10 +5359,10 @@ function ta() {
|
|
5359
5359
|
coords: t
|
5360
5360
|
});
|
5361
5361
|
var n = this._tileCoordsToKey(t);
|
5362
|
-
i = this._tiles[n], i && (i.loaded = +/* @__PURE__ */ new Date(), this._map._fadeAnimated ? (yt(i.el, 0), vt(this._fadeFrame), this._fadeFrame =
|
5362
|
+
i = this._tiles[n], i && (i.loaded = +/* @__PURE__ */ new Date(), this._map._fadeAnimated ? (yt(i.el, 0), vt(this._fadeFrame), this._fadeFrame = nt(this._updateOpacity, this)) : (i.active = !0, this._pruneTiles()), e || (C(i.el, "leaflet-tile-loaded"), this.fire("tileload", {
|
5363
5363
|
tile: i.el,
|
5364
5364
|
coords: t
|
5365
|
-
})), this._noTilesToLoad() && (this._loading = !1, this.fire("load"), y.ielt9 || !this._map._fadeAnimated ?
|
5365
|
+
})), this._noTilesToLoad() && (this._loading = !1, this.fire("load"), y.ielt9 || !this._map._fadeAnimated ? nt(this._pruneTiles, this) : setTimeout(g(this._pruneTiles, this), 250)));
|
5366
5366
|
},
|
5367
5367
|
_getTilePos: function(t) {
|
5368
5368
|
return t.scaleBy(this.getTileSize()).subtract(this._level.origin);
|
@@ -5389,9 +5389,9 @@ function ta() {
|
|
5389
5389
|
}
|
5390
5390
|
});
|
5391
5391
|
function lr(t) {
|
5392
|
-
return new
|
5392
|
+
return new Ee(t);
|
5393
5393
|
}
|
5394
|
-
var
|
5394
|
+
var pe = Ee.extend({
|
5395
5395
|
// @section
|
5396
5396
|
// @aka TileLayer options
|
5397
5397
|
options: {
|
@@ -5493,7 +5493,7 @@ function ta() {
|
|
5493
5493
|
var t, e;
|
5494
5494
|
for (t in this._tiles)
|
5495
5495
|
if (this._tiles[t].coords.z !== this._tileZoom && (e = this._tiles[t].el, e.onload = b, e.onerror = b, !e.complete)) {
|
5496
|
-
e.src =
|
5496
|
+
e.src = rt;
|
5497
5497
|
var i = this._tiles[t].coords;
|
5498
5498
|
J(e), delete this._tiles[t], this.fire("tileabort", {
|
5499
5499
|
tile: e,
|
@@ -5504,17 +5504,17 @@ function ta() {
|
|
5504
5504
|
_removeTile: function(t) {
|
5505
5505
|
var e = this._tiles[t];
|
5506
5506
|
if (e)
|
5507
|
-
return e.el.setAttribute("src",
|
5507
|
+
return e.el.setAttribute("src", rt), Ee.prototype._removeTile.call(this, t);
|
5508
5508
|
},
|
5509
5509
|
_tileReady: function(t, e, i) {
|
5510
|
-
if (!(!this._map || i && i.getAttribute("src") ===
|
5511
|
-
return
|
5510
|
+
if (!(!this._map || i && i.getAttribute("src") === rt))
|
5511
|
+
return Ee.prototype._tileReady.call(this, t, e, i);
|
5512
5512
|
}
|
5513
5513
|
});
|
5514
5514
|
function eo(t, e) {
|
5515
|
-
return new
|
5515
|
+
return new pe(t, e);
|
5516
5516
|
}
|
5517
|
-
var io =
|
5517
|
+
var io = pe.extend({
|
5518
5518
|
// @section
|
5519
5519
|
// @aka TileLayer.WMS options
|
5520
5520
|
// If any custom options not documented here are used, they will be sent to the
|
@@ -5560,11 +5560,11 @@ function ta() {
|
|
5560
5560
|
onAdd: function(t) {
|
5561
5561
|
this._crs = this.options.crs || t.options.crs, this._wmsVersion = parseFloat(this.wmsParams.version);
|
5562
5562
|
var e = this._wmsVersion >= 1.3 ? "crs" : "srs";
|
5563
|
-
this.wmsParams[e] = this._crs.code,
|
5563
|
+
this.wmsParams[e] = this._crs.code, pe.prototype.onAdd.call(this, t);
|
5564
5564
|
},
|
5565
5565
|
getTileUrl: function(t) {
|
5566
|
-
var e = this._tileCoordsToNwSe(t), i = this._crs, n = dt(i.project(e[0]), i.project(e[1])), o = n.min, s = n.max,
|
5567
|
-
return u + ct(this.wmsParams, u, this.options.uppercase) + (this.options.uppercase ? "&BBOX=" : "&bbox=") +
|
5566
|
+
var e = this._tileCoordsToNwSe(t), i = this._crs, n = dt(i.project(e[0]), i.project(e[1])), o = n.min, s = n.max, a = (this._wmsVersion >= 1.3 && this._crs === Kn ? [o.y, o.x, s.y, s.x] : [o.x, o.y, s.x, s.y]).join(","), u = pe.prototype.getTileUrl.call(this, t);
|
5567
|
+
return u + ct(this.wmsParams, u, this.options.uppercase) + (this.options.uppercase ? "&BBOX=" : "&bbox=") + a;
|
5568
5568
|
},
|
5569
5569
|
// @method setParams(params: Object, noRedraw?: Boolean): this
|
5570
5570
|
// Merges an object with the new parameters and re-requests tiles on the current screen (unless `noRedraw` was set to true).
|
@@ -5575,7 +5575,7 @@ function ta() {
|
|
5575
5575
|
function ur(t, e) {
|
5576
5576
|
return new io(t, e);
|
5577
5577
|
}
|
5578
|
-
|
5578
|
+
pe.WMS = io, eo.wms = ur;
|
5579
5579
|
var Dt = Tt.extend({
|
5580
5580
|
// @section
|
5581
5581
|
// @aka Renderer options
|
@@ -5611,7 +5611,7 @@ function ta() {
|
|
5611
5611
|
},
|
5612
5612
|
_updateTransform: function(t, e) {
|
5613
5613
|
var i = this._map.getZoomScale(e, this._zoom), n = this._map.getSize().multiplyBy(0.5 + this.options.padding), o = this._map.project(this._center, e), s = n.multiplyBy(-i).add(o).subtract(this._map._getNewPixelOrigin(t, e));
|
5614
|
-
y.any3d ?
|
5614
|
+
y.any3d ? $t(this._container, s, i) : $(this._container, s);
|
5615
5615
|
},
|
5616
5616
|
_reset: function() {
|
5617
5617
|
this._update(), this._updateTransform(this._center, this._zoom);
|
@@ -5709,7 +5709,7 @@ function ta() {
|
|
5709
5709
|
t.options._dashArray = t.options.dashArray;
|
5710
5710
|
},
|
5711
5711
|
_requestRedraw: function(t) {
|
5712
|
-
this._map && (this._extendRedrawBounds(t), this._redrawRequest = this._redrawRequest ||
|
5712
|
+
this._map && (this._extendRedrawBounds(t), this._redrawRequest = this._redrawRequest || nt(this._redraw, this));
|
5713
5713
|
},
|
5714
5714
|
_extendRedrawBounds: function(t) {
|
5715
5715
|
if (t._pxBounds) {
|
@@ -5741,11 +5741,11 @@ function ta() {
|
|
5741
5741
|
},
|
5742
5742
|
_updatePoly: function(t, e) {
|
5743
5743
|
if (this._drawing) {
|
5744
|
-
var i, n, o, s,
|
5744
|
+
var i, n, o, s, a = t._parts, u = a.length, c = this._ctx;
|
5745
5745
|
if (u) {
|
5746
5746
|
for (c.beginPath(), i = 0; i < u; i++) {
|
5747
|
-
for (n = 0, o =
|
5748
|
-
s =
|
5747
|
+
for (n = 0, o = a[i].length; n < o; n++)
|
5748
|
+
s = a[i][n], c[n ? "lineTo" : "moveTo"](s.x, s.y);
|
5749
5749
|
e && c.closePath();
|
5750
5750
|
}
|
5751
5751
|
this._fillStroke(c, t);
|
@@ -5817,7 +5817,7 @@ function ta() {
|
|
5817
5817
|
function oo(t) {
|
5818
5818
|
return y.canvas ? new no(t) : null;
|
5819
5819
|
}
|
5820
|
-
var
|
5820
|
+
var Be = function() {
|
5821
5821
|
try {
|
5822
5822
|
return document.namespaces.add("lvml", "urn:schemas-microsoft-com:vml"), function(t) {
|
5823
5823
|
return document.createElement("<lvml:" + t + ' class="lvml">');
|
@@ -5835,8 +5835,8 @@ function ta() {
|
|
5835
5835
|
this._map._animatingZoom || (Dt.prototype._update.call(this), this.fire("update"));
|
5836
5836
|
},
|
5837
5837
|
_initPath: function(t) {
|
5838
|
-
var e = t._container =
|
5839
|
-
C(e, "leaflet-vml-shape " + (this.options.className || "")), e.coordsize = "1 1", t._path =
|
5838
|
+
var e = t._container = Be("shape");
|
5839
|
+
C(e, "leaflet-vml-shape " + (this.options.className || "")), e.coordsize = "1 1", t._path = Be("path"), e.appendChild(t._path), this._updateStyle(t), this._layers[v(t)] = t;
|
5840
5840
|
},
|
5841
5841
|
_addPath: function(t) {
|
5842
5842
|
var e = t._container;
|
@@ -5848,7 +5848,7 @@ function ta() {
|
|
5848
5848
|
},
|
5849
5849
|
_updateStyle: function(t) {
|
5850
5850
|
var e = t._stroke, i = t._fill, n = t.options, o = t._container;
|
5851
|
-
o.stroked = !!n.stroke, o.filled = !!n.fill, n.stroke ? (e || (e = t._stroke =
|
5851
|
+
o.stroked = !!n.stroke, o.filled = !!n.fill, n.stroke ? (e || (e = t._stroke = Be("stroke")), o.appendChild(e), e.weight = n.weight + "px", e.color = n.color, e.opacity = n.opacity, n.dashArray ? e.dashStyle = V(n.dashArray) ? n.dashArray.join(" ") : n.dashArray.replace(/( *, *)/g, " ") : e.dashStyle = "", e.endcap = n.lineCap.replace("butt", "flat"), e.joinstyle = n.lineJoin) : e && (o.removeChild(e), t._stroke = null), n.fill ? (i || (i = t._fill = Be("fill")), o.appendChild(i), i.color = n.fillColor || n.color, i.opacity = n.fillOpacity) : i && (o.removeChild(i), t._fill = null);
|
5852
5852
|
},
|
5853
5853
|
_updateCircle: function(t) {
|
5854
5854
|
var e = t._point.round(), i = Math.round(t._radius), n = Math.round(t._radiusY || i);
|
@@ -5858,12 +5858,12 @@ function ta() {
|
|
5858
5858
|
t._path.v = e;
|
5859
5859
|
},
|
5860
5860
|
_bringToFront: function(t) {
|
5861
|
-
|
5861
|
+
he(t._container);
|
5862
5862
|
},
|
5863
5863
|
_bringToBack: function(t) {
|
5864
|
-
|
5864
|
+
le(t._container);
|
5865
5865
|
}
|
5866
|
-
}, oi = y.vml ?
|
5866
|
+
}, oi = y.vml ? Be : hn, Ie = Dt.extend({
|
5867
5867
|
_initContainer: function() {
|
5868
5868
|
this._container = oi("svg"), this._container.setAttribute("pointer-events", "none"), this._rootGroup = oi("g"), this._container.appendChild(this._rootGroup);
|
5869
5869
|
},
|
@@ -5907,15 +5907,15 @@ function ta() {
|
|
5907
5907
|
},
|
5908
5908
|
// SVG does not have the concept of zIndex so we resort to changing the DOM order of elements
|
5909
5909
|
_bringToFront: function(t) {
|
5910
|
-
|
5910
|
+
he(t._path);
|
5911
5911
|
},
|
5912
5912
|
_bringToBack: function(t) {
|
5913
|
-
|
5913
|
+
le(t._path);
|
5914
5914
|
}
|
5915
5915
|
});
|
5916
|
-
y.vml &&
|
5916
|
+
y.vml && Ie.include(cr);
|
5917
5917
|
function so(t) {
|
5918
|
-
return y.svg || y.vml ? new
|
5918
|
+
return y.svg || y.vml ? new Ie(t) : null;
|
5919
5919
|
}
|
5920
5920
|
I.include({
|
5921
5921
|
// @namespace Map; @method getRenderer(layer: Path): Renderer
|
@@ -5936,9 +5936,9 @@ function ta() {
|
|
5936
5936
|
return this.options.preferCanvas && oo(t) || so(t);
|
5937
5937
|
}
|
5938
5938
|
});
|
5939
|
-
var ro =
|
5939
|
+
var ro = de.extend({
|
5940
5940
|
initialize: function(t, e) {
|
5941
|
-
|
5941
|
+
de.prototype.initialize.call(this, this._boundsToLatLngs(t), e);
|
5942
5942
|
},
|
5943
5943
|
// @method setBounds(latLngBounds: LatLngBounds): this
|
5944
5944
|
// Redraws the rectangle with the passed bounds.
|
@@ -5957,7 +5957,7 @@ function ta() {
|
|
5957
5957
|
function dr(t, e) {
|
5958
5958
|
return new ro(t, e);
|
5959
5959
|
}
|
5960
|
-
|
5960
|
+
Ie.create = oi, Ie.pointsToPath = ln, Nt.geometryToLayer = Xe, Nt.coordsToLatLng = Vi, Nt.coordsToLatLngs = Qe, Nt.latLngToCoords = Wi, Nt.latLngsToCoords = $e, Nt.getFeature = fe, Nt.asFeature = ti, I.mergeOptions({
|
5961
5961
|
// @option boxZoom: Boolean = true
|
5962
5962
|
// Whether the map can be zoomed to a rectangular area specified by
|
5963
5963
|
// dragging the mouse while pressing the shift key.
|
@@ -5988,8 +5988,8 @@ function ta() {
|
|
5988
5988
|
_onMouseDown: function(t) {
|
5989
5989
|
if (!t.shiftKey || t.which !== 1 && t.button !== 1)
|
5990
5990
|
return !1;
|
5991
|
-
this._clearDeferredResetState(), this._resetState(),
|
5992
|
-
contextmenu:
|
5991
|
+
this._clearDeferredResetState(), this._resetState(), Me(), Ti(), this._startPoint = this._map.mouseEventToContainerPoint(t), S(document, {
|
5992
|
+
contextmenu: ie,
|
5993
5993
|
mousemove: this._onMouseMove,
|
5994
5994
|
mouseup: this._onMouseUp,
|
5995
5995
|
keydown: this._onKeyDown
|
@@ -6001,8 +6001,8 @@ function ta() {
|
|
6001
6001
|
$(this._box, e.min), this._box.style.width = i.x + "px", this._box.style.height = i.y + "px";
|
6002
6002
|
},
|
6003
6003
|
_finish: function() {
|
6004
|
-
this._moved && (J(this._box), Y(this._container, "leaflet-crosshair")),
|
6005
|
-
contextmenu:
|
6004
|
+
this._moved && (J(this._box), Y(this._container, "leaflet-crosshair")), Oe(), Mi(), W(document, {
|
6005
|
+
contextmenu: ie,
|
6006
6006
|
mousemove: this._onMouseMove,
|
6007
6007
|
mouseup: this._onMouseUp,
|
6008
6008
|
keydown: this._onKeyDown
|
@@ -6135,8 +6135,8 @@ function ta() {
|
|
6135
6135
|
}
|
6136
6136
|
},
|
6137
6137
|
_onPreDragWrap: function() {
|
6138
|
-
var t = this._worldWidth, e = Math.round(t / 2), i = this._initialWorldOffset, n = this._draggable._newPos.x, o = (n - e + i) % t + e - i, s = (n + e + i) % t - e - i,
|
6139
|
-
this._draggable._absPos = this._draggable._newPos.clone(), this._draggable._newPos.x =
|
6138
|
+
var t = this._worldWidth, e = Math.round(t / 2), i = this._initialWorldOffset, n = this._draggable._newPos.x, o = (n - e + i) % t + e - i, s = (n + e + i) % t - e - i, a = Math.abs(o + i) < Math.abs(s + i) ? o : s;
|
6139
|
+
this._draggable._absPos = this._draggable._newPos.clone(), this._draggable._newPos.x = a;
|
6140
6140
|
},
|
6141
6141
|
_onDragEnd: function(t) {
|
6142
6142
|
var e = this._map, i = e.options, n = !i.inertia || t.noInertia || this._times.length < 2;
|
@@ -6144,11 +6144,11 @@ function ta() {
|
|
6144
6144
|
e.fire("moveend");
|
6145
6145
|
else {
|
6146
6146
|
this._prunePositions(+/* @__PURE__ */ new Date());
|
6147
|
-
var o = this._lastPos.subtract(this._positions[0]), s = (this._lastTime - this._times[0]) / 1e3,
|
6148
|
-
!k.x && !k.y ? e.fire("moveend") : (k = e._limitOffset(k, e.options.maxBounds),
|
6147
|
+
var o = this._lastPos.subtract(this._positions[0]), s = (this._lastTime - this._times[0]) / 1e3, a = i.easeLinearity, u = o.multiplyBy(a / s), c = u.distanceTo([0, 0]), f = Math.min(i.inertiaMaxSpeed, c), _ = u.multiplyBy(f / c), P = f / (i.inertiaDeceleration * a), k = _.multiplyBy(-P / 2).round();
|
6148
|
+
!k.x && !k.y ? e.fire("moveend") : (k = e._limitOffset(k, e.options.maxBounds), nt(function() {
|
6149
6149
|
e.panBy(k, {
|
6150
6150
|
duration: P,
|
6151
|
-
easeLinearity:
|
6151
|
+
easeLinearity: a,
|
6152
6152
|
noMoveStart: !0,
|
6153
6153
|
animate: !0
|
6154
6154
|
});
|
@@ -6250,7 +6250,7 @@ function ta() {
|
|
6250
6250
|
i.closePopup();
|
6251
6251
|
else
|
6252
6252
|
return;
|
6253
|
-
|
6253
|
+
ie(t);
|
6254
6254
|
}
|
6255
6255
|
}
|
6256
6256
|
});
|
@@ -6281,13 +6281,13 @@ function ta() {
|
|
6281
6281
|
var e = In(t), i = this._map.options.wheelDebounceTime;
|
6282
6282
|
this._delta += e, this._lastMousePos = this._map.mouseEventToContainerPoint(t), this._startTime || (this._startTime = +/* @__PURE__ */ new Date());
|
6283
6283
|
var n = Math.max(i - (+/* @__PURE__ */ new Date() - this._startTime), 0);
|
6284
|
-
clearTimeout(this._timer), this._timer = setTimeout(g(this._performZoom, this), n),
|
6284
|
+
clearTimeout(this._timer), this._timer = setTimeout(g(this._performZoom, this), n), ie(t);
|
6285
6285
|
},
|
6286
6286
|
_performZoom: function() {
|
6287
6287
|
var t = this._map, e = t.getZoom(), i = this._map.options.zoomSnap || 0;
|
6288
6288
|
t._stop();
|
6289
|
-
var n = this._delta / (this._map.options.wheelPxPerZoomLevel * 4), o = 4 * Math.log(2 / (1 + Math.exp(-Math.abs(n)))) / Math.LN2, s = i ? Math.ceil(o / i) * i : o,
|
6290
|
-
this._delta = 0, this._startTime = null,
|
6289
|
+
var n = this._delta / (this._map.options.wheelPxPerZoomLevel * 4), o = 4 * Math.log(2 / (1 + Math.exp(-Math.abs(n)))) / Math.LN2, s = i ? Math.ceil(o / i) * i : o, a = t._limitZoom(e + (this._delta > 0 ? s : -s)) - e;
|
6290
|
+
this._delta = 0, this._startTime = null, a && (t.options.scrollWheelZoom === "center" ? t.setZoom(e + a) : t.setZoomAround(this._lastMousePos, e + a));
|
6291
6291
|
}
|
6292
6292
|
});
|
6293
6293
|
I.addInitHook("addHandler", "scrollWheelZoom", co);
|
@@ -6313,12 +6313,12 @@ function ta() {
|
|
6313
6313
|
if (clearTimeout(this._holdTimeout), t.touches.length === 1) {
|
6314
6314
|
var e = t.touches[0];
|
6315
6315
|
this._startPos = this._newPos = new O(e.clientX, e.clientY), this._holdTimeout = setTimeout(g(function() {
|
6316
|
-
this._cancel(), this._isTapValid() && (S(document, "touchend",
|
6316
|
+
this._cancel(), this._isTapValid() && (S(document, "touchend", ot), S(document, "touchend touchcancel", this._cancelClickPrevent), this._simulateEvent("contextmenu", e));
|
6317
6317
|
}, this), fr), S(document, "touchend touchcancel contextmenu", this._cancel, this), S(document, "touchmove", this._onMove, this);
|
6318
6318
|
}
|
6319
6319
|
},
|
6320
6320
|
_cancelClickPrevent: function t() {
|
6321
|
-
W(document, "touchend",
|
6321
|
+
W(document, "touchend", ot), W(document, "touchend touchcancel", t);
|
6322
6322
|
},
|
6323
6323
|
_cancel: function() {
|
6324
6324
|
clearTimeout(this._holdTimeout), W(document, "touchend touchcancel contextmenu", this._cancel, this), W(document, "touchmove", this._onMove, this);
|
@@ -6370,7 +6370,7 @@ function ta() {
|
|
6370
6370
|
var e = this._map;
|
6371
6371
|
if (!(!t.touches || t.touches.length !== 2 || e._animatingZoom || this._zooming)) {
|
6372
6372
|
var i = e.mouseEventToContainerPoint(t.touches[0]), n = e.mouseEventToContainerPoint(t.touches[1]);
|
6373
|
-
this._centerPoint = e.getSize()._divideBy(2), this._startLatLng = e.containerPointToLatLng(this._centerPoint), e.options.touchZoom !== "center" && (this._pinchStartLatLng = e.containerPointToLatLng(i.add(n)._divideBy(2))), this._startDist = i.distanceTo(n), this._startZoom = e.getZoom(), this._moved = !1, this._zooming = !0, e._stop(), S(document, "touchmove", this._onTouchMove, this), S(document, "touchend touchcancel", this._onTouchEnd, this),
|
6373
|
+
this._centerPoint = e.getSize()._divideBy(2), this._startLatLng = e.containerPointToLatLng(this._centerPoint), e.options.touchZoom !== "center" && (this._pinchStartLatLng = e.containerPointToLatLng(i.add(n)._divideBy(2))), this._startDist = i.distanceTo(n), this._startZoom = e.getZoom(), this._moved = !1, this._zooming = !0, e._stop(), S(document, "touchmove", this._onTouchMove, this), S(document, "touchend touchcancel", this._onTouchEnd, this), ot(t);
|
6374
6374
|
}
|
6375
6375
|
},
|
6376
6376
|
_onTouchMove: function(t) {
|
@@ -6386,8 +6386,8 @@ function ta() {
|
|
6386
6386
|
this._center = e.unproject(e.project(this._pinchStartLatLng, this._zoom).subtract(s), this._zoom);
|
6387
6387
|
}
|
6388
6388
|
this._moved || (e._moveStart(!0, !1), this._moved = !0), vt(this._animRequest);
|
6389
|
-
var
|
6390
|
-
this._animRequest =
|
6389
|
+
var a = g(e._move, e, this._center, this._zoom, { pinch: !0, round: !1 }, void 0);
|
6390
|
+
this._animRequest = nt(a, this, !0), ot(t);
|
6391
6391
|
}
|
6392
6392
|
},
|
6393
6393
|
_onTouchEnd: function() {
|
@@ -6398,13 +6398,13 @@ function ta() {
|
|
6398
6398
|
this._zooming = !1, vt(this._animRequest), W(document, "touchmove", this._onTouchMove, this), W(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));
|
6399
6399
|
}
|
6400
6400
|
});
|
6401
|
-
I.addInitHook("addHandler", "touchZoom", po), I.BoxZoom = ao, I.DoubleClickZoom = ho, I.Drag = lo, I.Keyboard = uo, I.ScrollWheelZoom = co, I.TapHold = fo, I.TouchZoom = po,
|
6401
|
+
I.addInitHook("addHandler", "touchZoom", po), I.BoxZoom = ao, I.DoubleClickZoom = ho, I.Drag = lo, I.Keyboard = uo, I.ScrollWheelZoom = co, I.TapHold = fo, I.TouchZoom = po, h.Bounds = K, h.Browser = y, h.CRS = It, h.Canvas = no, h.Circle = Fi, h.CircleMarker = Ye, h.Class = Bt, h.Control = xt, h.DivIcon = to, h.DivOverlay = zt, h.DomEvent = zs, h.DomUtil = Cs, h.Draggable = Gt, h.Evented = be, h.FeatureGroup = Zt, h.GeoJSON = Nt, h.GridLayer = Ee, h.Handler = kt, h.Icon = ce, h.ImageOverlay = ei, h.LatLng = F, h.LatLngBounds = ft, h.Layer = Tt, h.LayerGroup = ue, h.LineUtil = Us, h.Map = I, h.Marker = Je, h.Mixin = Ns, h.Path = Kt, h.Point = O, h.PolyUtil = Ds, h.Polygon = de, h.Polyline = Rt, h.Popup = ii, h.PosAnimation = Zn, h.Projection = qs, h.Rectangle = ro, h.Renderer = Dt, h.SVG = Ie, h.SVGOverlay = $n, h.TileLayer = pe, h.Tooltip = ni, h.Transformation = fi, h.Util = Xo, h.VideoOverlay = Qn, h.bind = g, h.bounds = dt, h.canvas = oo, h.circle = $s, h.circleMarker = Qs, h.control = ke, h.divIcon = hr, h.extend = p, h.featureGroup = Js, h.geoJSON = Xn, h.geoJson = ir, h.gridLayer = lr, h.icon = Ys, h.imageOverlay = nr, h.latLng = B, h.latLngBounds = Q, h.layerGroup = Ks, h.map = As, h.marker = Xs, h.point = M, h.polygon = er, h.polyline = tr, h.popup = rr, h.rectangle = dr, h.setOptions = N, h.stamp = v, h.svg = so, h.svgOverlay = sr, h.tileLayer = eo, h.tooltip = ar, h.transformation = Le, h.version = d, h.videoOverlay = or;
|
6402
6402
|
var pr = window.L;
|
6403
|
-
|
6403
|
+
h.noConflict = function() {
|
6404
6404
|
return window.L = pr, this;
|
6405
|
-
}, window.L =
|
6405
|
+
}, window.L = h;
|
6406
6406
|
});
|
6407
|
-
}(
|
6407
|
+
}(Ze, Ze.exports)), Ze.exports;
|
6408
6408
|
}
|
6409
6409
|
var ci = ta();
|
6410
6410
|
const Mt = /* @__PURE__ */ xr(ci), ea = /* @__PURE__ */ Xr({
|
@@ -6420,44 +6420,44 @@ const Mt = /* @__PURE__ */ xr(ci), ea = /* @__PURE__ */ Xr({
|
|
6420
6420
|
__proto__: null,
|
6421
6421
|
default: Co
|
6422
6422
|
}, Symbol.toStringTag, { value: "Module" })), bo = (r, l) => {
|
6423
|
-
for (const
|
6424
|
-
r.on(
|
6423
|
+
for (const h of Object.keys(l))
|
6424
|
+
r.on(h, l[h]);
|
6425
6425
|
}, ko = (r) => {
|
6426
6426
|
for (const l of Object.keys(r)) {
|
6427
|
-
const
|
6428
|
-
|
6427
|
+
const h = r[l];
|
6428
|
+
h && Jt(h.cancel) && h.cancel();
|
6429
6429
|
}
|
6430
|
-
}, sa = (r) => !r || typeof r.charAt != "function" ? r : r.charAt(0).toUpperCase() + r.slice(1), Jt = (r) => typeof r == "function", Wt = (r, l,
|
6431
|
-
for (const d in
|
6430
|
+
}, sa = (r) => !r || typeof r.charAt != "function" ? r : r.charAt(0).toUpperCase() + r.slice(1), Jt = (r) => typeof r == "function", Wt = (r, l, h) => {
|
6431
|
+
for (const d in h) {
|
6432
6432
|
const p = "set" + sa(d);
|
6433
6433
|
r[p] ? vo(
|
6434
|
-
() =>
|
6434
|
+
() => h[d],
|
6435
6435
|
(m, g) => {
|
6436
6436
|
r[p](m, g);
|
6437
6437
|
}
|
6438
6438
|
) : l[p] && vo(
|
6439
|
-
() =>
|
6439
|
+
() => h[d],
|
6440
6440
|
(m) => {
|
6441
6441
|
l[p](m);
|
6442
6442
|
}
|
6443
6443
|
);
|
6444
6444
|
}
|
6445
|
-
}, Qt = (r, l,
|
6446
|
-
const d = { ...
|
6445
|
+
}, Qt = (r, l, h = {}) => {
|
6446
|
+
const d = { ...h };
|
6447
6447
|
for (const p in r) {
|
6448
6448
|
const m = l[p], g = r[p];
|
6449
6449
|
m && (m && m.custom === !0 || g !== void 0 && (d[p] = g));
|
6450
6450
|
}
|
6451
6451
|
return d;
|
6452
|
-
},
|
6453
|
-
const l = {},
|
6452
|
+
}, re = (r) => {
|
6453
|
+
const l = {}, h = {};
|
6454
6454
|
for (const d in r)
|
6455
6455
|
if (d.startsWith("on") && !d.startsWith("onUpdate") && d !== "onReady") {
|
6456
6456
|
const p = d.slice(2).toLocaleLowerCase();
|
6457
6457
|
l[p] = r[d];
|
6458
6458
|
} else
|
6459
|
-
|
6460
|
-
return { listeners: l, attrs:
|
6459
|
+
h[d] = r[d];
|
6460
|
+
return { listeners: l, attrs: h };
|
6461
6461
|
}, ra = async (r) => {
|
6462
6462
|
const l = await Promise.all([
|
6463
6463
|
Promise.resolve().then(() => ia),
|
@@ -6470,10 +6470,10 @@ const Mt = /* @__PURE__ */ xr(ci), ea = /* @__PURE__ */ Xr({
|
|
6470
6470
|
shadowUrl: l[2].default
|
6471
6471
|
});
|
6472
6472
|
}, hi = (r) => {
|
6473
|
-
const l =
|
6473
|
+
const l = st(
|
6474
6474
|
(...d) => console.warn(`Method ${r} has been invoked without being replaced`)
|
6475
|
-
),
|
6476
|
-
return
|
6475
|
+
), h = (...d) => l.value(...d);
|
6476
|
+
return h.wrapped = l, Ht(r, h), h;
|
6477
6477
|
}, li = (r, l) => r.wrapped.value = l, Ot = typeof self == "object" && self.self === self && self || typeof global == "object" && global.global === global && global || globalThis, mt = (r) => {
|
6478
6478
|
const l = Vt(r);
|
6479
6479
|
if (l === void 0)
|
@@ -6483,20 +6483,20 @@ const Mt = /* @__PURE__ */ xr(ci), ea = /* @__PURE__ */ Xr({
|
|
6483
6483
|
return l;
|
6484
6484
|
}, Ut = Symbol(
|
6485
6485
|
"useGlobalLeaflet"
|
6486
|
-
),
|
6486
|
+
), Re = Symbol("addLayer"), zo = Symbol("removeLayer"), nn = Symbol(
|
6487
6487
|
"registerControl"
|
6488
6488
|
), aa = Symbol(
|
6489
6489
|
"registerLayerControl"
|
6490
6490
|
), Ao = Symbol(
|
6491
6491
|
"canSetParentHtml"
|
6492
|
-
), Eo = Symbol("setParentHtml"), Bo = Symbol("setIcon"), Io = Symbol("bindPopup"), Zo = Symbol("bindTooltip"), Ro = Symbol("unbindPopup"), No = Symbol("unbindTooltip"),
|
6492
|
+
), Eo = Symbol("setParentHtml"), Bo = Symbol("setIcon"), Io = Symbol("bindPopup"), Zo = Symbol("bindTooltip"), Ro = Symbol("unbindPopup"), No = Symbol("unbindTooltip"), Ne = {
|
6493
6493
|
options: {
|
6494
6494
|
type: Object,
|
6495
6495
|
default: () => ({}),
|
6496
6496
|
custom: !0
|
6497
6497
|
}
|
6498
|
-
},
|
6499
|
-
...
|
6498
|
+
}, De = (r) => ({ options: r.options, methods: {} }), ye = {
|
6499
|
+
...Ne,
|
6500
6500
|
pane: {
|
6501
6501
|
type: String
|
6502
6502
|
},
|
@@ -6516,10 +6516,10 @@ const Mt = /* @__PURE__ */ xr(ci), ea = /* @__PURE__ */ Xr({
|
|
6516
6516
|
custom: !0,
|
6517
6517
|
default: !0
|
6518
6518
|
}
|
6519
|
-
}, Do = (r, l,
|
6520
|
-
const d = mt(
|
6519
|
+
}, Do = (r, l, h) => {
|
6520
|
+
const d = mt(Re), p = mt(zo), { options: m, methods: g } = De(r), T = Qt(
|
6521
6521
|
r,
|
6522
|
-
|
6522
|
+
ye,
|
6523
6523
|
m
|
6524
6524
|
), v = () => d({ leafletObject: l.value }), E = () => p({ leafletObject: l.value }), x = {
|
6525
6525
|
...g,
|
@@ -6560,7 +6560,7 @@ const Mt = /* @__PURE__ */ xr(ci), ea = /* @__PURE__ */ Xr({
|
|
6560
6560
|
l.value && (Jt(l.value.closePopup) && l.value.closePopup(), Jt(l.value.unbindPopup) && l.value.unbindPopup());
|
6561
6561
|
},
|
6562
6562
|
updateVisibleProp(b) {
|
6563
|
-
|
6563
|
+
h.emit("update:visible", b);
|
6564
6564
|
}
|
6565
6565
|
};
|
6566
6566
|
return Ht(Io, x.bindPopup), Ht(Zo, x.bindTooltip), Ht(Ro, x.unbindPopup), Ht(No, x.unbindTooltip), $i(() => {
|
@@ -6568,9 +6568,9 @@ const Mt = /* @__PURE__ */ xr(ci), ea = /* @__PURE__ */ Xr({
|
|
6568
6568
|
}), { options: T, methods: x };
|
6569
6569
|
}, ha = (r, l) => {
|
6570
6570
|
if (r && l.default)
|
6571
|
-
return
|
6571
|
+
return se("div", { style: { display: "none" } }, l.default());
|
6572
6572
|
}, la = {
|
6573
|
-
...
|
6573
|
+
...ye,
|
6574
6574
|
interactive: {
|
6575
6575
|
type: Boolean,
|
6576
6576
|
default: void 0
|
@@ -6639,16 +6639,16 @@ const Mt = /* @__PURE__ */ xr(ci), ea = /* @__PURE__ */ Xr({
|
|
6639
6639
|
({
|
6640
6640
|
...ua
|
6641
6641
|
});
|
6642
|
-
const
|
6643
|
-
...
|
6642
|
+
const we = {
|
6643
|
+
...Ne,
|
6644
6644
|
position: {
|
6645
6645
|
type: String
|
6646
6646
|
}
|
6647
6647
|
}, Fo = (r, l) => {
|
6648
|
-
const { options:
|
6648
|
+
const { options: h, methods: d } = De(r), p = Qt(
|
6649
6649
|
r,
|
6650
|
-
|
6651
|
-
|
6650
|
+
we,
|
6651
|
+
h
|
6652
6652
|
), m = {
|
6653
6653
|
...d,
|
6654
6654
|
setPosition(g) {
|
@@ -6658,10 +6658,10 @@ const be = {
|
|
6658
6658
|
return $i(() => {
|
6659
6659
|
l.value && l.value.remove();
|
6660
6660
|
}), { options: p, methods: m };
|
6661
|
-
}, ca = (r) => r.default ?
|
6661
|
+
}, ca = (r) => r.default ? se("div", { ref: "root" }, r.default()) : null, da = Pt({
|
6662
6662
|
name: "LControl",
|
6663
6663
|
props: {
|
6664
|
-
...
|
6664
|
+
...we,
|
6665
6665
|
disableClickPropagation: {
|
6666
6666
|
type: Boolean,
|
6667
6667
|
custom: !0,
|
@@ -6674,31 +6674,31 @@ const be = {
|
|
6674
6674
|
}
|
6675
6675
|
},
|
6676
6676
|
setup(r, l) {
|
6677
|
-
const
|
6677
|
+
const h = st(), d = st(), p = Vt(Ut), m = mt(nn), { options: g, methods: T } = Fo(r, h);
|
6678
6678
|
return Ft(async () => {
|
6679
6679
|
const { Control: v, DomEvent: E } = p ? Ot.L : await import("./revolugo.leaflet-src.esm.DBQWLG1M.min.js"), x = v.extend({
|
6680
6680
|
onAdd() {
|
6681
6681
|
return d.value;
|
6682
6682
|
}
|
6683
6683
|
});
|
6684
|
-
|
6685
|
-
}), { root: d, leafletObject:
|
6684
|
+
h.value = Xt(new x(g)), Wt(T, h.value, r), m({ leafletObject: h.value }), r.disableClickPropagation && d.value && E.disableClickPropagation(d.value), r.disableScrollPropagation && d.value && E.disableScrollPropagation(d.value), Et(() => l.emit("ready", h.value));
|
6685
|
+
}), { root: d, leafletObject: h };
|
6686
6686
|
},
|
6687
6687
|
render() {
|
6688
6688
|
return ca(this.$slots);
|
6689
6689
|
}
|
6690
6690
|
});
|
6691
6691
|
({
|
6692
|
-
...
|
6692
|
+
...we
|
6693
6693
|
});
|
6694
6694
|
({
|
6695
|
-
...
|
6695
|
+
...we
|
6696
6696
|
});
|
6697
6697
|
({
|
6698
|
-
...
|
6698
|
+
...we
|
6699
6699
|
});
|
6700
6700
|
const Vo = {
|
6701
|
-
...
|
6701
|
+
...we,
|
6702
6702
|
zoomInText: {
|
6703
6703
|
type: String
|
6704
6704
|
},
|
@@ -6712,30 +6712,30 @@ const Vo = {
|
|
6712
6712
|
type: String
|
6713
6713
|
}
|
6714
6714
|
}, fa = (r, l) => {
|
6715
|
-
const { options:
|
6715
|
+
const { options: h, methods: d } = Fo(
|
6716
6716
|
r,
|
6717
6717
|
l
|
6718
6718
|
);
|
6719
6719
|
return { options: Qt(
|
6720
6720
|
r,
|
6721
6721
|
Vo,
|
6722
|
-
|
6722
|
+
h
|
6723
6723
|
), methods: d };
|
6724
6724
|
}, pa = Pt({
|
6725
6725
|
name: "LControlZoom",
|
6726
6726
|
props: Vo,
|
6727
6727
|
setup(r, l) {
|
6728
|
-
const
|
6728
|
+
const h = st(), d = Vt(Ut), p = mt(nn), { options: m, methods: g } = fa(r, h);
|
6729
6729
|
return Ft(async () => {
|
6730
6730
|
const { control: T } = d ? Ot.L : await import("./revolugo.leaflet-src.esm.DBQWLG1M.min.js");
|
6731
|
-
|
6732
|
-
}), { leafletObject:
|
6731
|
+
h.value = Xt(T.zoom(m)), Wt(g, h.value, r), p({ leafletObject: h.value }), Et(() => l.emit("ready", h.value));
|
6732
|
+
}), { leafletObject: h };
|
6733
6733
|
},
|
6734
6734
|
render() {
|
6735
6735
|
return null;
|
6736
6736
|
}
|
6737
6737
|
}), Wo = {
|
6738
|
-
...
|
6738
|
+
...ye
|
6739
6739
|
};
|
6740
6740
|
({
|
6741
6741
|
...Wo
|
@@ -6744,7 +6744,7 @@ const Vo = {
|
|
6744
6744
|
...Wo
|
6745
6745
|
});
|
6746
6746
|
const on = {
|
6747
|
-
...
|
6747
|
+
...ye,
|
6748
6748
|
opacity: {
|
6749
6749
|
type: Number
|
6750
6750
|
},
|
@@ -6767,11 +6767,11 @@ const on = {
|
|
6767
6767
|
className: {
|
6768
6768
|
type: String
|
6769
6769
|
}
|
6770
|
-
}, Uo = (r, l,
|
6770
|
+
}, Uo = (r, l, h) => {
|
6771
6771
|
const { options: d, methods: p } = Do(
|
6772
6772
|
r,
|
6773
6773
|
l,
|
6774
|
-
|
6774
|
+
h
|
6775
6775
|
), m = Qt(
|
6776
6776
|
r,
|
6777
6777
|
on,
|
@@ -6786,14 +6786,14 @@ const on = {
|
|
6786
6786
|
return $i(() => {
|
6787
6787
|
l.value.off();
|
6788
6788
|
}), { options: m, methods: g };
|
6789
|
-
}, ma = (r, l,
|
6789
|
+
}, ma = (r, l, h, d) => r.extend({
|
6790
6790
|
initialize(p) {
|
6791
|
-
this.tileComponents = {}, this.on("tileunload", this._unloadTile),
|
6791
|
+
this.tileComponents = {}, this.on("tileunload", this._unloadTile), h.setOptions(this, p);
|
6792
6792
|
},
|
6793
6793
|
createTile(p) {
|
6794
6794
|
const m = this._tileCoordsToKey(p);
|
6795
6795
|
this.tileComponents[m] = l.create("div");
|
6796
|
-
const g =
|
6796
|
+
const g = se({ setup: d, props: ["coords"] }, { coords: p });
|
6797
6797
|
return Mr(g, this.tileComponents[m]), this.tileComponents[m];
|
6798
6798
|
},
|
6799
6799
|
_unloadTile(p) {
|
@@ -6810,7 +6810,7 @@ Pt({
|
|
6810
6810
|
}
|
6811
6811
|
},
|
6812
6812
|
setup(r, l) {
|
6813
|
-
const
|
6813
|
+
const h = st(), d = st(null), p = st(!1), m = Vt(Ut), g = mt(Re), { options: T, methods: v } = Uo(r, h, l);
|
6814
6814
|
return Ft(async () => {
|
6815
6815
|
const { GridLayer: E, DomUtil: x, Util: b } = m ? Ot.L : await import("./revolugo.leaflet-src.esm.DBQWLG1M.min.js"), H = ma(
|
6816
6816
|
E,
|
@@ -6818,17 +6818,17 @@ Pt({
|
|
6818
6818
|
b,
|
6819
6819
|
r.childRender
|
6820
6820
|
);
|
6821
|
-
|
6822
|
-
const { listeners: R } =
|
6823
|
-
|
6821
|
+
h.value = Xt(new H(T));
|
6822
|
+
const { listeners: R } = re(l.attrs);
|
6823
|
+
h.value.on(R), Wt(v, h.value, r), g({
|
6824
6824
|
...r,
|
6825
6825
|
...v,
|
6826
|
-
leafletObject:
|
6827
|
-
}), p.value = !0, Et(() => l.emit("ready",
|
6828
|
-
}), { root: d, ready: p, leafletObject:
|
6826
|
+
leafletObject: h.value
|
6827
|
+
}), p.value = !0, Et(() => l.emit("ready", h.value));
|
6828
|
+
}), { root: d, ready: p, leafletObject: h };
|
6829
6829
|
},
|
6830
6830
|
render() {
|
6831
|
-
return this.ready ?
|
6831
|
+
return this.ready ? se("div", { style: { display: "none" }, ref: "root" }) : null;
|
6832
6832
|
}
|
6833
6833
|
});
|
6834
6834
|
const Lo = {
|
@@ -6872,10 +6872,10 @@ const Lo = {
|
|
6872
6872
|
name: "LIcon",
|
6873
6873
|
props: {
|
6874
6874
|
...Lo,
|
6875
|
-
...
|
6875
|
+
...Ne
|
6876
6876
|
},
|
6877
6877
|
setup(r, l) {
|
6878
|
-
const
|
6878
|
+
const h = st(), d = Vt(Ut), p = mt(Ao), m = mt(Eo), g = mt(Bo);
|
6879
6879
|
let T, v, E, x, b;
|
6880
6880
|
const H = (ct, q, X) => {
|
6881
6881
|
const V = ct && ct.innerHTML;
|
@@ -6883,18 +6883,18 @@ const Lo = {
|
|
6883
6883
|
X && b && p() && m(V);
|
6884
6884
|
return;
|
6885
6885
|
}
|
6886
|
-
const { listeners: w } =
|
6886
|
+
const { listeners: w } = re(l.attrs);
|
6887
6887
|
b && v(b, w);
|
6888
|
-
const { options:
|
6888
|
+
const { options: rt } = De(r), at = Qt(
|
6889
6889
|
r,
|
6890
6890
|
Lo,
|
6891
|
-
|
6891
|
+
rt
|
6892
6892
|
);
|
6893
|
-
V && (
|
6893
|
+
V && (at.html = V), b = at.html ? E(at) : x(at), T(b, w), g(b);
|
6894
6894
|
}, R = () => {
|
6895
|
-
Et(() => H(
|
6895
|
+
Et(() => H(h.value, !0, !1));
|
6896
6896
|
}, G = () => {
|
6897
|
-
Et(() => H(
|
6897
|
+
Et(() => H(h.value, !1, !0));
|
6898
6898
|
}, N = {
|
6899
6899
|
setIconUrl: R,
|
6900
6900
|
setIconRetinaUrl: R,
|
@@ -6915,26 +6915,26 @@ const Lo = {
|
|
6915
6915
|
divIcon: q,
|
6916
6916
|
icon: X
|
6917
6917
|
} = d ? Ot.L : await import("./revolugo.leaflet-src.esm.DBQWLG1M.min.js");
|
6918
|
-
T = ct.on, v = ct.off, E = q, x = X, Wt(N, {}, r), new MutationObserver(G).observe(
|
6918
|
+
T = ct.on, v = ct.off, E = q, x = X, Wt(N, {}, r), new MutationObserver(G).observe(h.value, {
|
6919
6919
|
attributes: !0,
|
6920
6920
|
childList: !0,
|
6921
6921
|
characterData: !0,
|
6922
6922
|
subtree: !0
|
6923
6923
|
}), R();
|
6924
|
-
}), { root:
|
6924
|
+
}), { root: h };
|
6925
6925
|
},
|
6926
6926
|
render() {
|
6927
6927
|
const r = this.$slots.default ? this.$slots.default() : void 0;
|
6928
|
-
return
|
6928
|
+
return se("div", { ref: "root" }, r);
|
6929
6929
|
}
|
6930
6930
|
});
|
6931
6931
|
({
|
6932
|
-
...
|
6932
|
+
...ye
|
6933
6933
|
});
|
6934
|
-
function qo(r, l,
|
6934
|
+
function qo(r, l, h) {
|
6935
6935
|
var d, p, m;
|
6936
|
-
l === void 0 && (l = 50),
|
6937
|
-
var g = (d =
|
6936
|
+
l === void 0 && (l = 50), h === void 0 && (h = {});
|
6937
|
+
var g = (d = h.isImmediate) != null && d, T = (p = h.callback) != null && p, v = h.maxWait, E = Date.now(), x = [];
|
6938
6938
|
function b() {
|
6939
6939
|
if (v !== void 0) {
|
6940
6940
|
var R = Date.now() - E;
|
@@ -6968,7 +6968,7 @@ function qo(r, l, a) {
|
|
6968
6968
|
}, H;
|
6969
6969
|
}
|
6970
6970
|
const Po = {
|
6971
|
-
...
|
6971
|
+
...Ne,
|
6972
6972
|
/**
|
6973
6973
|
* The center of the map, supports .sync modifier
|
6974
6974
|
*/
|
@@ -7084,15 +7084,15 @@ const Po = {
|
|
7084
7084
|
emits: ["ready", "update:zoom", "update:center", "update:bounds"],
|
7085
7085
|
props: Po,
|
7086
7086
|
setup(r, l) {
|
7087
|
-
const
|
7087
|
+
const h = st(), d = Tr({
|
7088
7088
|
ready: !1,
|
7089
7089
|
layersToAdd: [],
|
7090
7090
|
layersInControl: []
|
7091
|
-
}), { options: p } =
|
7091
|
+
}), { options: p } = De(r), m = Qt(
|
7092
7092
|
r,
|
7093
7093
|
Po,
|
7094
7094
|
p
|
7095
|
-
), { listeners: g, attrs: T } =
|
7095
|
+
), { listeners: g, attrs: T } = re(l.attrs), v = hi(Re), E = hi(zo), x = hi(nn), b = hi(
|
7096
7096
|
aa
|
7097
7097
|
);
|
7098
7098
|
Ht(Ut, r.useGlobalLeaflet);
|
@@ -7117,7 +7117,7 @@ const Po = {
|
|
7117
7117
|
};
|
7118
7118
|
Ft(async () => {
|
7119
7119
|
r.useGlobalLeaflet && (Ot.L = Ot.L || await Promise.resolve().then(() => ea));
|
7120
|
-
const { map: q, CRS: X, Icon: V, latLngBounds: w, latLng:
|
7120
|
+
const { map: q, CRS: X, Icon: V, latLngBounds: w, latLng: rt, stamp: at } = r.useGlobalLeaflet ? Ot.L : await import("./revolugo.leaflet-src.esm.DBQWLG1M.min.js");
|
7121
7121
|
try {
|
7122
7122
|
m.beforeMapMount && await m.beforeMapMount();
|
7123
7123
|
} catch (z) {
|
@@ -7126,19 +7126,19 @@ const Po = {
|
|
7126
7126
|
);
|
7127
7127
|
}
|
7128
7128
|
await ra(V);
|
7129
|
-
const
|
7130
|
-
m.crs =
|
7129
|
+
const He = typeof m.crs == "string" ? X[m.crs] : m.crs;
|
7130
|
+
m.crs = He || X.EPSG3857;
|
7131
7131
|
const qt = {
|
7132
7132
|
addLayer(z) {
|
7133
7133
|
z.layerType !== void 0 && (d.layerControl === void 0 ? d.layersToAdd.push(z) : d.layersInControl.find(
|
7134
|
-
(j) =>
|
7134
|
+
(j) => at(j.leafletObject) === at(z.leafletObject)
|
7135
7135
|
) || (d.layerControl.addLayer(z), d.layersInControl.push(z))), z.visible !== !1 && d.leafletRef.addLayer(z.leafletObject);
|
7136
7136
|
},
|
7137
7137
|
removeLayer(z) {
|
7138
7138
|
z.layerType !== void 0 && (d.layerControl === void 0 ? d.layersToAdd = d.layersToAdd.filter(
|
7139
7139
|
(j) => j.name !== z.name
|
7140
7140
|
) : (d.layerControl.removeLayer(z.leafletObject), d.layersInControl = d.layersInControl.filter(
|
7141
|
-
(j) =>
|
7141
|
+
(j) => at(j.leafletObject) !== at(z.leafletObject)
|
7142
7142
|
))), d.leafletRef.removeLayer(z.leafletObject);
|
7143
7143
|
},
|
7144
7144
|
registerLayerControl(z) {
|
@@ -7172,19 +7172,19 @@ const Po = {
|
|
7172
7172
|
setCenter(z) {
|
7173
7173
|
if (z == null)
|
7174
7174
|
return;
|
7175
|
-
const j =
|
7176
|
-
(
|
7175
|
+
const j = rt(z), nt = d.lastSetCenter || d.leafletRef.getCenter();
|
7176
|
+
(nt.lat !== j.lat || nt.lng !== j.lng) && (d.lastSetCenter = j, d.leafletRef.panTo(j, H.value));
|
7177
7177
|
}
|
7178
7178
|
};
|
7179
|
-
li(v, qt.addLayer), li(E, qt.removeLayer), li(x, qt.registerControl), li(b, qt.registerLayerControl), d.leafletRef = Xt(q(
|
7179
|
+
li(v, qt.addLayer), li(E, qt.removeLayer), li(x, qt.registerControl), li(b, qt.registerLayerControl), d.leafletRef = Xt(q(h.value, m)), Wt(qt, d.leafletRef, r), bo(d.leafletRef, G), bo(d.leafletRef, g), d.ready = !0, Et(() => l.emit("ready", d.leafletRef));
|
7180
7180
|
}), ui(() => {
|
7181
7181
|
ko(G), d.leafletRef && (d.leafletRef.off(), d.leafletRef.remove());
|
7182
7182
|
});
|
7183
7183
|
const N = ri(() => d.leafletRef), ct = ri(() => d.ready);
|
7184
|
-
return { root:
|
7184
|
+
return { root: h, ready: ct, leafletObject: N, attrs: T };
|
7185
7185
|
},
|
7186
7186
|
render({ attrs: r }) {
|
7187
|
-
return r.style || (r.style = {}), r.style.width || (r.style.width = "100%"), r.style.height || (r.style.height = "100%"),
|
7187
|
+
return r.style || (r.style = {}), r.style.width || (r.style.width = "100%"), r.style.height || (r.style.height = "100%"), se(
|
7188
7188
|
"div",
|
7189
7189
|
{
|
7190
7190
|
...r,
|
@@ -7194,7 +7194,7 @@ const Po = {
|
|
7194
7194
|
);
|
7195
7195
|
}
|
7196
7196
|
}), va = ["Symbol(Comment)", "Symbol(Text)"], ya = ["LTooltip", "LPopup"], jo = {
|
7197
|
-
...
|
7197
|
+
...ye,
|
7198
7198
|
draggable: {
|
7199
7199
|
type: Boolean,
|
7200
7200
|
default: void 0
|
@@ -7210,11 +7210,11 @@ const Po = {
|
|
7210
7210
|
custom: !0,
|
7211
7211
|
required: !0
|
7212
7212
|
}
|
7213
|
-
}, wa = (r, l,
|
7213
|
+
}, wa = (r, l, h) => {
|
7214
7214
|
const { options: d, methods: p } = Do(
|
7215
7215
|
r,
|
7216
7216
|
l,
|
7217
|
-
|
7217
|
+
h
|
7218
7218
|
), m = Qt(
|
7219
7219
|
r,
|
7220
7220
|
jo,
|
@@ -7225,7 +7225,7 @@ const Po = {
|
|
7225
7225
|
l.value.dragging && (T ? l.value.dragging.enable() : l.value.dragging.disable());
|
7226
7226
|
},
|
7227
7227
|
latLngSync(T) {
|
7228
|
-
|
7228
|
+
h.emit("update:latLng", T.latlng), h.emit("update:lat-lng", T.latlng);
|
7229
7229
|
},
|
7230
7230
|
setLatLng(T) {
|
7231
7231
|
if (T != null && l.value) {
|
@@ -7236,8 +7236,8 @@ const Po = {
|
|
7236
7236
|
};
|
7237
7237
|
return { options: m, methods: g };
|
7238
7238
|
}, ba = (r, l) => {
|
7239
|
-
const
|
7240
|
-
return
|
7239
|
+
const h = l.slots.default && l.slots.default();
|
7240
|
+
return h && h.length && h.some(La);
|
7241
7241
|
};
|
7242
7242
|
function La(r) {
|
7243
7243
|
return !(va.includes(r.type.toString()) || ya.includes(r.type.name));
|
@@ -7246,37 +7246,37 @@ const Pa = Pt({
|
|
7246
7246
|
name: "LMarker",
|
7247
7247
|
props: jo,
|
7248
7248
|
setup(r, l) {
|
7249
|
-
const
|
7249
|
+
const h = st(), d = st(!1), p = Vt(Ut), m = mt(Re);
|
7250
7250
|
Ht(
|
7251
7251
|
Ao,
|
7252
7252
|
() => {
|
7253
7253
|
var E;
|
7254
|
-
return !!((E =
|
7254
|
+
return !!((E = h.value) != null && E.getElement());
|
7255
7255
|
}
|
7256
7256
|
), Ht(Eo, (E) => {
|
7257
7257
|
var x, b;
|
7258
|
-
const H = Jt((x =
|
7258
|
+
const H = Jt((x = h.value) == null ? void 0 : x.getElement) && ((b = h.value) == null ? void 0 : b.getElement());
|
7259
7259
|
H && (H.innerHTML = E);
|
7260
7260
|
}), Ht(
|
7261
7261
|
Bo,
|
7262
7262
|
(E) => {
|
7263
7263
|
var x;
|
7264
|
-
return ((x =
|
7264
|
+
return ((x = h.value) == null ? void 0 : x.setIcon) && h.value.setIcon(E);
|
7265
7265
|
}
|
7266
7266
|
);
|
7267
|
-
const { options: g, methods: T } = wa(r,
|
7267
|
+
const { options: g, methods: T } = wa(r, h, l), v = {
|
7268
7268
|
moveHandler: qo(T.latLngSync)
|
7269
7269
|
};
|
7270
7270
|
return Ft(async () => {
|
7271
7271
|
const { marker: E, divIcon: x } = p ? Ot.L : await import("./revolugo.leaflet-src.esm.DBQWLG1M.min.js");
|
7272
|
-
ba(g, l) && (g.icon = x({ className: "" })),
|
7273
|
-
const { listeners: b } =
|
7274
|
-
|
7272
|
+
ba(g, l) && (g.icon = x({ className: "" })), h.value = Xt(E(r.latLng, g));
|
7273
|
+
const { listeners: b } = re(l.attrs);
|
7274
|
+
h.value.on(b), h.value.on("move", v.moveHandler), Wt(T, h.value, r), m({
|
7275
7275
|
...r,
|
7276
7276
|
...T,
|
7277
|
-
leafletObject:
|
7278
|
-
}), d.value = !0, Et(() => l.emit("ready",
|
7279
|
-
}), ui(() => ko(v)), { ready: d, leafletObject:
|
7277
|
+
leafletObject: h.value
|
7278
|
+
}), d.value = !0, Et(() => l.emit("ready", h.value));
|
7279
|
+
}), ui(() => ko(v)), { ready: d, leafletObject: h };
|
7280
7280
|
},
|
7281
7281
|
render() {
|
7282
7282
|
return ha(this.ready, this.$slots);
|
@@ -7298,41 +7298,41 @@ const Pa = Pt({
|
|
7298
7298
|
}, xo = {
|
7299
7299
|
...xa
|
7300
7300
|
}, Go = {
|
7301
|
-
...
|
7301
|
+
...Ne,
|
7302
7302
|
content: {
|
7303
7303
|
type: String,
|
7304
7304
|
default: null
|
7305
7305
|
}
|
7306
7306
|
}, Ko = (r, l) => {
|
7307
|
-
const { options:
|
7307
|
+
const { options: h, methods: d } = De(r), p = {
|
7308
7308
|
...d,
|
7309
7309
|
setContent(m) {
|
7310
7310
|
l.value && m !== null && m !== void 0 && l.value.setContent(m);
|
7311
7311
|
}
|
7312
7312
|
};
|
7313
|
-
return { options:
|
7314
|
-
}, Jo = (r) => r.default ?
|
7313
|
+
return { options: h, methods: p };
|
7314
|
+
}, Jo = (r) => r.default ? se("div", { ref: "root" }, r.default()) : null, Ta = {
|
7315
7315
|
...Go,
|
7316
7316
|
latLng: {
|
7317
7317
|
type: [Object, Array],
|
7318
7318
|
default: () => []
|
7319
7319
|
}
|
7320
7320
|
}, Ma = (r, l) => {
|
7321
|
-
const { options:
|
7322
|
-
return { options:
|
7321
|
+
const { options: h, methods: d } = Ko(r, l);
|
7322
|
+
return { options: h, methods: d };
|
7323
7323
|
}, Oa = Pt({
|
7324
7324
|
name: "LPopup",
|
7325
7325
|
props: Ta,
|
7326
7326
|
setup(r, l) {
|
7327
|
-
const
|
7327
|
+
const h = st(), d = st(null), p = Vt(Ut), m = mt(Io), g = mt(Ro), { options: T, methods: v } = Ma(r, h);
|
7328
7328
|
return Ft(async () => {
|
7329
7329
|
const { popup: E } = p ? Ot.L : await import("./revolugo.leaflet-src.esm.DBQWLG1M.min.js");
|
7330
|
-
|
7331
|
-
const { listeners: x } =
|
7332
|
-
|
7330
|
+
h.value = Xt(E(T)), r.latLng !== void 0 && h.value.setLatLng(r.latLng), Wt(v, h.value, r);
|
7331
|
+
const { listeners: x } = re(l.attrs);
|
7332
|
+
h.value.on(x), h.value.setContent(r.content || d.value || ""), m(h.value), Et(() => l.emit("ready", h.value));
|
7333
7333
|
}), ui(() => {
|
7334
7334
|
g();
|
7335
|
-
}), { root: d, leafletObject:
|
7335
|
+
}), { root: d, leafletObject: h };
|
7336
7336
|
},
|
7337
7337
|
render() {
|
7338
7338
|
return Jo(this.$slots);
|
@@ -7363,8 +7363,8 @@ const sn = {
|
|
7363
7363
|
required: !0,
|
7364
7364
|
custom: !0
|
7365
7365
|
}
|
7366
|
-
}, Sa = (r, l,
|
7367
|
-
const { options: d, methods: p } = Uo(r, l,
|
7366
|
+
}, Sa = (r, l, h) => {
|
7367
|
+
const { options: d, methods: p } = Uo(r, l, h), m = Qt(
|
7368
7368
|
r,
|
7369
7369
|
sn,
|
7370
7370
|
d
|
@@ -7375,17 +7375,17 @@ const sn = {
|
|
7375
7375
|
}, Ca = Pt({
|
7376
7376
|
props: sn,
|
7377
7377
|
setup(r, l) {
|
7378
|
-
const
|
7378
|
+
const h = st(), d = Vt(Ut), p = mt(Re), { options: m, methods: g } = Sa(r, h, l);
|
7379
7379
|
return Ft(async () => {
|
7380
7380
|
const { tileLayer: T } = d ? Ot.L : await import("./revolugo.leaflet-src.esm.DBQWLG1M.min.js");
|
7381
|
-
|
7382
|
-
const { listeners: v } =
|
7383
|
-
|
7381
|
+
h.value = Xt(T(r.url, m));
|
7382
|
+
const { listeners: v } = re(l.attrs);
|
7383
|
+
h.value.on(v), Wt(g, h.value, r), p({
|
7384
7384
|
...r,
|
7385
7385
|
...g,
|
7386
|
-
leafletObject:
|
7387
|
-
}), Et(() => l.emit("ready",
|
7388
|
-
}), { leafletObject:
|
7386
|
+
leafletObject: h.value
|
7387
|
+
}), Et(() => l.emit("ready", h.value));
|
7388
|
+
}), { leafletObject: h };
|
7389
7389
|
},
|
7390
7390
|
render() {
|
7391
7391
|
return null;
|
@@ -7393,21 +7393,21 @@ const sn = {
|
|
7393
7393
|
}), ka = {
|
7394
7394
|
...Go
|
7395
7395
|
}, za = (r, l) => {
|
7396
|
-
const { options:
|
7396
|
+
const { options: h, methods: d } = Ko(r, l), p = mt(No);
|
7397
7397
|
return ui(() => {
|
7398
7398
|
p();
|
7399
|
-
}), { options:
|
7399
|
+
}), { options: h, methods: d };
|
7400
7400
|
}, Aa = Pt({
|
7401
7401
|
name: "LTooltip",
|
7402
7402
|
props: ka,
|
7403
7403
|
setup(r, l) {
|
7404
|
-
const
|
7404
|
+
const h = st(), d = st(null), p = Vt(Ut), m = mt(Zo), { options: g, methods: T } = za(r, h);
|
7405
7405
|
return Ft(async () => {
|
7406
7406
|
const { tooltip: v } = p ? Ot.L : await import("./revolugo.leaflet-src.esm.DBQWLG1M.min.js");
|
7407
|
-
|
7408
|
-
const { listeners: E } =
|
7409
|
-
|
7410
|
-
}), { root: d, leafletObject:
|
7407
|
+
h.value = Xt(v(g)), Wt(T, h.value, r);
|
7408
|
+
const { listeners: E } = re(l.attrs);
|
7409
|
+
h.value.on(E), h.value.setContent(r.content || d.value || ""), m(h.value), Et(() => l.emit("ready", h.value));
|
7410
|
+
}), { root: d, leafletObject: h };
|
7411
7411
|
},
|
7412
7412
|
render() {
|
7413
7413
|
return Jo(this.$slots);
|
@@ -7518,14 +7518,14 @@ const Ea = {
|
|
7518
7518
|
key: 2,
|
7519
7519
|
class: "hotel-marker-badge partner"
|
7520
7520
|
};
|
7521
|
-
function Ra(r, l,
|
7521
|
+
function Ra(r, l, h, d, p, m) {
|
7522
7522
|
const g = lt("BFormattedAmount");
|
7523
7523
|
return Z(), ut("div", null, [
|
7524
|
-
|
7524
|
+
oe("div", {
|
7525
7525
|
class: Qi(["hotel-marker", {
|
7526
7526
|
focus: r.focus
|
7527
7527
|
}]),
|
7528
|
-
style:
|
7528
|
+
style: ve({
|
7529
7529
|
animationDuration: `${Math.random() * (1.5 - 0.2 + 1) + 0.2}s`
|
7530
7530
|
})
|
7531
7531
|
}, [
|
@@ -7569,7 +7569,7 @@ function Ra(r, l, a, d, p, m) {
|
|
7569
7569
|
amount: r.price,
|
7570
7570
|
"round-mode": "round"
|
7571
7571
|
}, null, 8, ["amount"]),
|
7572
|
-
l[2] || (l[2] =
|
7572
|
+
l[2] || (l[2] = oe("div", { class: "arrow" }, null, -1))
|
7573
7573
|
], 6)
|
7574
7574
|
]);
|
7575
7575
|
}
|
@@ -7603,17 +7603,17 @@ const Na = /* @__PURE__ */ en(Ba, [["render", Ra], ["__scopeId", "data-v-3b53a21
|
|
7603
7603
|
};
|
7604
7604
|
}
|
7605
7605
|
});
|
7606
|
-
function Fa(r, l,
|
7606
|
+
function Fa(r, l, h, d, p, m) {
|
7607
7607
|
return Z(), ut("div", {
|
7608
7608
|
class: "b-map-marker position-relative",
|
7609
|
-
style:
|
7609
|
+
style: ve({
|
7610
7610
|
width: r.size + "px",
|
7611
7611
|
height: r.size * Math.sqrt(2) + "px"
|
7612
7612
|
})
|
7613
7613
|
}, [
|
7614
|
-
|
7614
|
+
oe("div", {
|
7615
7615
|
class: "b-map-marker__pin",
|
7616
|
-
style:
|
7616
|
+
style: ve({
|
7617
7617
|
width: r.size + "px",
|
7618
7618
|
height: r.size + "px",
|
7619
7619
|
bottom: `calc(${r.size * ((1 - Math.sqrt(2)) / 2)}px + 5px)`
|
@@ -7621,7 +7621,7 @@ function Fa(r, l, a, d, p, m) {
|
|
7621
7621
|
}, [
|
7622
7622
|
r.imgUrl ? (Z(), ut("div", {
|
7623
7623
|
key: 0,
|
7624
|
-
style:
|
7624
|
+
style: ve({
|
7625
7625
|
height: `${r.size * (1 / Math.sqrt(2) - 0.1)}px`,
|
7626
7626
|
width: `${r.size * (1 / Math.sqrt(2) - 0.1)}px`,
|
7627
7627
|
backgroundImage: `url(${r.imgUrl})`
|
@@ -7637,7 +7637,7 @@ function Fa(r, l, a, d, p, m) {
|
|
7637
7637
|
_: 1
|
7638
7638
|
}, 8, ["color", "size"])) : gt("", !0)
|
7639
7639
|
], 4),
|
7640
|
-
|
7640
|
+
oe("div", {
|
7641
7641
|
class: Qi(r.pulse ? "b-map-marker__pulse" : null)
|
7642
7642
|
}, null, 2)
|
7643
7643
|
], 4);
|
@@ -7669,10 +7669,9 @@ const Yo = Pt({
|
|
7669
7669
|
},
|
7670
7670
|
computed: {
|
7671
7671
|
actualVenue() {
|
7672
|
-
var l, a;
|
7673
7672
|
const r = {
|
7674
|
-
latitude:
|
7675
|
-
longitude:
|
7673
|
+
latitude: this.parsedVenue?.latitude || this.hotelOfferRequest.latitude,
|
7674
|
+
longitude: this.parsedVenue?.longitude || this.hotelOfferRequest.longitude
|
7676
7675
|
};
|
7677
7676
|
return {
|
7678
7677
|
...this.parsedVenue,
|
@@ -7690,8 +7689,8 @@ const Yo = Pt({
|
|
7690
7689
|
center() {
|
7691
7690
|
return this.hotelOfferRequest.longitude && this.hotelOfferRequest.latitude ? [this.hotelOfferRequest.latitude, this.hotelOfferRequest.longitude] : void 0;
|
7692
7691
|
},
|
7693
|
-
filters:
|
7694
|
-
hasErrorHotelOffers:
|
7692
|
+
filters: ge("hotelOffers/filters"),
|
7693
|
+
hasErrorHotelOffers: ge("hotelOffers/hasError"),
|
7695
7694
|
hereTileUrl() {
|
7696
7695
|
const r = "lite.day", l = this.showTransit ? "features=public_transit:all_systems&ppi=400" : "";
|
7697
7696
|
return `https://maps.hereapi.com/v3/base/mc/{z}/{x}/{y}/png8?style=${r}&${l}&apiKey={apiKey}`;
|
@@ -7702,13 +7701,13 @@ const Yo = Pt({
|
|
7702
7701
|
hotelOfferRequestMarker() {
|
7703
7702
|
return this.hotelOfferRequest.latitude && this.hotelOfferRequest.longitude ? [this.hotelOfferRequest.latitude, this.hotelOfferRequest.longitude] : void 0;
|
7704
7703
|
},
|
7705
|
-
hotelOffers:
|
7706
|
-
hotelOffersCurrency:
|
7704
|
+
hotelOffers: ge("hotelOffers/hotelOffers"),
|
7705
|
+
hotelOffersCurrency: ge("hotelOffers/hotelOffersCurrency"),
|
7707
7706
|
isMapVisible() {
|
7708
7707
|
return this.isBookingApiClientDefined && !this.showSkeleton && !this.showErrorMessage;
|
7709
7708
|
},
|
7710
|
-
isPollingHotelOffers:
|
7711
|
-
nightCount:
|
7709
|
+
isPollingHotelOffers: ge("hotelOffers/isPolling"),
|
7710
|
+
nightCount: ge("hotelOfferRequest/nightCount"),
|
7712
7711
|
showErrorMessage() {
|
7713
7712
|
return this.hotelOfferRequest.hasError || this.hasErrorHotelOffers;
|
7714
7713
|
},
|
@@ -7745,29 +7744,26 @@ const Yo = Pt({
|
|
7745
7744
|
};
|
7746
7745
|
},
|
7747
7746
|
destroyed() {
|
7748
|
-
|
7749
|
-
(r = this.observer) == null || r.disconnect();
|
7747
|
+
this.observer?.disconnect();
|
7750
7748
|
},
|
7751
7749
|
methods: {
|
7752
7750
|
centerOnVenue() {
|
7753
|
-
|
7754
|
-
(r = this.actualVenue) != null && r.latitude && ((l = this.actualVenue) != null && l.longitude) && (this.isMapMoveDirty = !1, this.centerTo([(a = this.actualVenue) == null ? void 0 : a.latitude, (d = this.actualVenue) == null ? void 0 : d.longitude]), this.updateHotelOfferRequestLocation(
|
7751
|
+
this.actualVenue?.latitude && this.actualVenue?.longitude && (this.isMapMoveDirty = !1, this.centerTo([this.actualVenue?.latitude, this.actualVenue?.longitude]), this.updateHotelOfferRequestLocation(
|
7755
7752
|
this.actualVenue.latitude,
|
7756
7753
|
this.actualVenue.longitude
|
7757
7754
|
));
|
7758
7755
|
},
|
7759
|
-
centerTo(r, l = 0.5,
|
7760
|
-
|
7761
|
-
(d = this.map) == null || d.flyTo([r[0], r[1]], a, {
|
7756
|
+
centerTo(r, l = 0.5, h = 15) {
|
7757
|
+
this.map?.flyTo([r[0], r[1]], h, {
|
7762
7758
|
duration: l
|
7763
7759
|
});
|
7764
7760
|
},
|
7765
7761
|
fitBounds() {
|
7766
7762
|
if (!this.hotelOffers || this.hotelOffers.length === 0 || this.isMapMoveDirty)
|
7767
7763
|
return;
|
7768
|
-
const r = this.hotelOffers.map((
|
7769
|
-
|
7770
|
-
|
7764
|
+
const r = this.hotelOffers.map((h) => [
|
7765
|
+
h.latitude,
|
7766
|
+
h.longitude
|
7771
7767
|
]).concat([
|
7772
7768
|
[
|
7773
7769
|
this.hotelOfferRequestInternal.latitude,
|
@@ -7779,8 +7775,8 @@ const Yo = Pt({
|
|
7779
7775
|
l.fitBounds(r, {
|
7780
7776
|
padding: [3, 3]
|
7781
7777
|
});
|
7782
|
-
} catch (
|
7783
|
-
console.error(
|
7778
|
+
} catch (h) {
|
7779
|
+
console.error(h);
|
7784
7780
|
}
|
7785
7781
|
},
|
7786
7782
|
getHotelRoomOffer(r) {
|
@@ -7799,12 +7795,10 @@ const Yo = Pt({
|
|
7799
7795
|
this.isMapMouseDown && (this.isMapMoveDirty = !0);
|
7800
7796
|
},
|
7801
7797
|
onMapReady() {
|
7802
|
-
var l, a;
|
7803
7798
|
const r = this.$refs.map.$el;
|
7804
|
-
this.map =
|
7805
|
-
|
7806
|
-
|
7807
|
-
}), this.observer.observe(r), (a = this.map) == null || a.invalidateSize();
|
7799
|
+
this.map = this.$refs.map?.leafletObject, this.observer = new ResizeObserver(() => {
|
7800
|
+
this.map?.invalidateSize();
|
7801
|
+
}), this.observer.observe(r), this.map?.invalidateSize();
|
7808
7802
|
},
|
7809
7803
|
openPopup(r) {
|
7810
7804
|
r.openPopup();
|
@@ -7858,8 +7852,7 @@ const Yo = Pt({
|
|
7858
7852
|
hereTileUrl: {
|
7859
7853
|
handler() {
|
7860
7854
|
this.$nextTick(() => {
|
7861
|
-
|
7862
|
-
(r = this.map) == null || r.zoomIn(0.01), (l = this.map) == null || l.zoomOut(0.01);
|
7855
|
+
this.map?.zoomIn(0.01), this.map?.zoomOut(0.01);
|
7863
7856
|
});
|
7864
7857
|
}
|
7865
7858
|
},
|
@@ -7880,8 +7873,7 @@ const Yo = Pt({
|
|
7880
7873
|
searchInputLocation: {
|
7881
7874
|
deep: !0,
|
7882
7875
|
handler() {
|
7883
|
-
|
7884
|
-
(r = this.searchInputLocation) != null && r.latitude && ((l = this.searchInputLocation) != null && l.longitude) && this.updateHotelOfferRequestLocation(
|
7876
|
+
this.searchInputLocation?.latitude && this.searchInputLocation?.longitude && this.updateHotelOfferRequestLocation(
|
7885
7877
|
this.searchInputLocation.latitude,
|
7886
7878
|
this.searchInputLocation.longitude
|
7887
7879
|
);
|
@@ -7982,13 +7974,13 @@ function To(r) {
|
|
7982
7974
|
});
|
7983
7975
|
}
|
7984
7976
|
const Wa = { class: "hotel-offers-map" }, Ua = { key: 0 }, qa = { key: 1 };
|
7985
|
-
function ja(r, l,
|
7977
|
+
function ja(r, l, h, d, p, m) {
|
7986
7978
|
const g = lt("BErrorOverlay"), T = lt("LTileLayer"), v = lt("LControlZoom"), E = lt("BSearchLocationInput"), x = lt("LControl"), b = lt("LTooltip"), H = lt("BMapMarker"), R = lt("LIcon"), G = lt("LMarker"), N = lt("HotelOfferItem"), ct = lt("LPopup"), q = lt("BHotelOfferMarker"), X = lt("LMap"), V = lt("BBreakpointObserver");
|
7987
7979
|
return Z(), ut("div", Wa, [
|
7988
|
-
r.isBookingApiClientDefined ? (Z(), ut(
|
7980
|
+
r.isBookingApiClientDefined ? (Z(), ut(_e, { key: 1 }, [
|
7989
7981
|
r.showErrorMessage ? (Z(), et(g, {
|
7990
7982
|
key: 0,
|
7991
|
-
style:
|
7983
|
+
style: ve({ height: r.parsedHeight })
|
7992
7984
|
}, {
|
7993
7985
|
title: A(() => [
|
7994
7986
|
Lt(At(r.t("HotelOffersMap.error.title")), 1)
|
@@ -8002,7 +7994,7 @@ function ja(r, l, a, d, p, m) {
|
|
8002
7994
|
height: r.parsedHeight,
|
8003
7995
|
tile: "",
|
8004
7996
|
type: "image"
|
8005
|
-
}, null, 8, ["height"])) : (Z(), ut(
|
7997
|
+
}, null, 8, ["height"])) : (Z(), ut(_e, { key: 2 }, [
|
8006
7998
|
r.loadingBarEnabled && r.isPollingHotelOffers ? (Z(), et(Yr, {
|
8007
7999
|
key: 0,
|
8008
8000
|
color: "primary",
|
@@ -8010,8 +8002,8 @@ function ja(r, l, a, d, p, m) {
|
|
8010
8002
|
})) : gt("", !0),
|
8011
8003
|
U(V, null, {
|
8012
8004
|
default: A(() => [
|
8013
|
-
|
8014
|
-
style:
|
8005
|
+
oe("div", {
|
8006
|
+
style: ve([{ "min-height": "500px" }, {
|
8015
8007
|
height: r.parsedHeight,
|
8016
8008
|
maxHeight: r.maxHeight
|
8017
8009
|
}])
|
@@ -8085,7 +8077,7 @@ function ja(r, l, a, d, p, m) {
|
|
8085
8077
|
size: "small",
|
8086
8078
|
style: { width: "30px" }
|
8087
8079
|
}, w, {
|
8088
|
-
onClick: l[1] || (l[1] = (
|
8080
|
+
onClick: l[1] || (l[1] = (rt) => r.showTransit = !r.showTransit)
|
8089
8081
|
}), {
|
8090
8082
|
default: A(() => [
|
8091
8083
|
r.showTransit ? (Z(), et(Yt, {
|
@@ -8150,7 +8142,7 @@ function ja(r, l, a, d, p, m) {
|
|
8150
8142
|
}, 1040, ["onClick"])
|
8151
8143
|
]),
|
8152
8144
|
default: A(() => [
|
8153
|
-
|
8145
|
+
oe("span", null, At(r.t("HotelOffersMap.centerOnVenue")), 1)
|
8154
8146
|
]),
|
8155
8147
|
_: 1
|
8156
8148
|
}, 8, ["attach"])
|
@@ -8176,13 +8168,10 @@ function ja(r, l, a, d, p, m) {
|
|
8176
8168
|
size: "small",
|
8177
8169
|
style: { width: "30px" }
|
8178
8170
|
}, w, {
|
8179
|
-
onClick: l[2] || (l[2] = (
|
8180
|
-
|
8181
|
-
|
8182
|
-
|
8183
|
-
($t = r.currentCenter) == null ? void 0 : $t.lng
|
8184
|
-
);
|
8185
|
-
})
|
8171
|
+
onClick: l[2] || (l[2] = (rt) => r.updateHotelOfferRequestLocation(
|
8172
|
+
r.currentCenter?.lat,
|
8173
|
+
r.currentCenter?.lng
|
8174
|
+
))
|
8186
8175
|
}), {
|
8187
8176
|
default: A(() => [
|
8188
8177
|
U(Yt, { color: "white" }, {
|
@@ -8197,7 +8186,7 @@ function ja(r, l, a, d, p, m) {
|
|
8197
8186
|
}, 1040)
|
8198
8187
|
]),
|
8199
8188
|
default: A(() => [
|
8200
|
-
|
8189
|
+
oe("span", null, At(r.t("HotelOffersMap.searchThisArea")), 1)
|
8201
8190
|
]),
|
8202
8191
|
_: 1
|
8203
8192
|
}, 8, ["attach"])) : gt("", !0)
|
@@ -8273,14 +8262,14 @@ function ja(r, l, a, d, p, m) {
|
|
8273
8262
|
key: 2,
|
8274
8263
|
"lat-lng": r.hotelOfferRequestMarker
|
8275
8264
|
}, null, 8, ["lat-lng"])) : gt("", !0),
|
8276
|
-
(Z(!0), ut(
|
8265
|
+
(Z(!0), ut(_e, null, Ki(r.parsedMarkers, (w) => (Z(), et(G, {
|
8277
8266
|
key: w.latitude + w.longitude + "shadow",
|
8278
8267
|
"lat-lng": [w.latitude, w.longitude]
|
8279
8268
|
}, null, 8, ["lat-lng"]))), 128)),
|
8280
|
-
(Z(!0), ut(
|
8269
|
+
(Z(!0), ut(_e, null, Ki(r.parsedMarkers, (w) => (Z(), et(G, {
|
8281
8270
|
key: w.latitude + w.longitude,
|
8282
8271
|
"lat-lng": [w.latitude, w.longitude],
|
8283
|
-
onClick: (
|
8272
|
+
onClick: (rt) => r.updateHotelOfferRequestLocation(
|
8284
8273
|
w.latitude,
|
8285
8274
|
w.longitude
|
8286
8275
|
)
|
@@ -8317,13 +8306,13 @@ function ja(r, l, a, d, p, m) {
|
|
8317
8306
|
]),
|
8318
8307
|
_: 2
|
8319
8308
|
}, 1032, ["lat-lng", "onClick"]))), 128)),
|
8320
|
-
(Z(!0), ut(
|
8309
|
+
(Z(!0), ut(_e, null, Ki(r.hotelOffers, (w) => (Z(), et(G, {
|
8321
8310
|
key: w.id,
|
8322
8311
|
"lat-lng": [w.latitude, w.longitude],
|
8323
8312
|
options: {
|
8324
8313
|
riseOnHover: !0
|
8325
8314
|
},
|
8326
|
-
onClick: (
|
8315
|
+
onClick: (rt) => r.onHotelOfferMarkerClick(w)
|
8327
8316
|
}, {
|
8328
8317
|
default: A(() => [
|
8329
8318
|
U(ct, {
|
@@ -8334,7 +8323,7 @@ function ja(r, l, a, d, p, m) {
|
|
8334
8323
|
hasTip: !1
|
8335
8324
|
},
|
8336
8325
|
"z-index": 2e7,
|
8337
|
-
onRemove: l[4] || (l[4] = (
|
8326
|
+
onRemove: l[4] || (l[4] = (rt) => r.isLocationInputVisible = !0)
|
8338
8327
|
}, {
|
8339
8328
|
default: A(() => [
|
8340
8329
|
U(N, {
|
@@ -8358,7 +8347,7 @@ function ja(r, l, a, d, p, m) {
|
|
8358
8347
|
key: 0,
|
8359
8348
|
focus: r.hoveredHotel === w.id,
|
8360
8349
|
price: r.getHotelRoomOffer(w).price / r.getHotelRoomOffer(w).hotelRooms.reduce(
|
8361
|
-
(
|
8350
|
+
(rt, at) => rt + at.count,
|
8362
8351
|
0
|
8363
8352
|
) / r.nightCount
|
8364
8353
|
}, null, 8, ["focus", "price"])) : gt("", !0)
|
@@ -8376,7 +8365,7 @@ function ja(r, l, a, d, p, m) {
|
|
8376
8365
|
_: 3
|
8377
8366
|
})
|
8378
8367
|
], 64))
|
8379
|
-
], 64)) : (Z(), ut(
|
8368
|
+
], 64)) : (Z(), ut(_e, { key: 0 }, [], 64))
|
8380
8369
|
]);
|
8381
8370
|
}
|
8382
8371
|
typeof To == "function" && To(Yo);
|
@@ -8387,4 +8376,4 @@ export {
|
|
8387
8376
|
ah as a,
|
8388
8377
|
Qr as h
|
8389
8378
|
};
|
8390
|
-
//# sourceMappingURL=revolugo.hoteloffersmap.
|
8379
|
+
//# sourceMappingURL=revolugo.hoteloffersmap.m4FlKwmK.min.js.map
|