@revolugo/elements 6.8.2-beta.32 → 6.8.2-beta.34
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.bhoteloffersfilterbar.BCqlIqmS.css +1 -0
- package/dist/css/revolugo.bstarrating.CPHKEfup.css +1 -0
- package/dist/css/{revolugo.hoteldescriptionview.BQ3adGPS.css → revolugo.hoteldescriptionview.BxLcWaQg.css} +1 -1
- package/dist/css/{revolugo.hoteloffersmap.2oSkomDb.css → revolugo.hoteloffersmap.DZ9zVlMs.css} +1 -1
- package/dist/css/{revolugo.hotelroomofferlist.Dh1OAA7W.css → revolugo.hotelroomofferlist.E-On0KSt.css} +1 -1
- package/dist/css/revolugo.langpickerbtn.CIk3LbQ0.css +1 -0
- package/dist/css/{revolugo.vtextarea.HYL6WUNS.css → revolugo.vtextarea.Dxy6uSvm.css} +1 -1
- package/dist/{revolugo._baseiteratee.6H9boq3g.min.js → revolugo._baseiteratee.BEP1-p3y.min.js} +38 -38
- package/dist/{revolugo.banktransferdetails.BLIe136S.min.js → revolugo.banktransferdetails.CjbztzfC.min.js} +9 -9
- package/dist/{revolugo.bdaterangepicker.Hf5naLtO.min.js → revolugo.bdaterangepicker.CFyhGruk.min.js} +7 -7
- package/dist/{revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.DhvK2mdJ.min.js → revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.B2bk2KpX.min.js} +2 -2
- package/dist/{revolugo.bhoteloffersfilterbar.DicKWcI_.min.js → revolugo.bhoteloffersfilterbar.CFOOtTvL.min.js} +656 -670
- package/dist/{revolugo.bhotelroomsdetails.BZUH-ZM3.min.js → revolugo.bhotelroomsdetails.Be5zxifu.min.js} +159 -168
- package/dist/{revolugo.bhotelsearchbar.C0QSx8nR.min.js → revolugo.bhotelsearchbar.kzKlxvh9.min.js} +16 -16
- package/dist/{revolugo.bimagecarousel.i3XKJie3.min.js → revolugo.bimagecarousel.CxOf9dZ6.min.js} +27 -27
- package/dist/{revolugo.bookingdetailssidebar.pzLkF0dO.min.js → revolugo.bookingdetailssidebar.B5Pj0On4.min.js} +11 -11
- package/dist/{revolugo.bookingdetailssidebar.La43Csfa.min.js → revolugo.bookingdetailssidebar.CSH8m1C4.min.js} +4 -4
- package/dist/{revolugo.bookingmanager.Sx2krZHP.min.js → revolugo.bookingmanager.csPvGATG.min.js} +20 -20
- package/dist/revolugo.bpricesummaryskeleton.CHX7Jssj.min.js +72 -0
- package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.DkRSrr6-.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.VA13CkuK.min.js} +26 -25
- package/dist/{revolugo.btag.DqKCcO64.min.js → revolugo.btag.Dv4uxsYv.min.js} +42 -42
- package/dist/{revolugo.cancellationpoliciesbadge.DNXgKhv6.min.js → revolugo.cancellationpoliciesbadge.CRBkLci9.min.js} +4 -4
- package/dist/{revolugo.cancellationpoliciesbadge.CDsOorfl.min.js → revolugo.cancellationpoliciesbadge._2J26Hqf.min.js} +10 -10
- package/dist/{revolugo.cancellationpolicieslist.M5d1D5ot.min.js → revolugo.cancellationpolicieslist.DQNG2iB8.min.js} +3 -3
- package/dist/{revolugo.cancellationpolicieslist.v9YSV-JD.min.js → revolugo.cancellationpolicieslist.pqHwlUuQ.min.js} +4 -4
- package/dist/{revolugo.case-transformers.CZexLFCC.min.js → revolugo.case-transformers.DP17jA4x.min.js} +2 -2
- package/dist/{revolugo.creditcardform.BwNdpOYa.min.js → revolugo.creditcardform.BZRrbM7V.min.js} +4 -4
- package/dist/{revolugo.creditcardform.DIm8PFZB.min.js → revolugo.creditcardform.BxjCDGvO.min.js} +50 -50
- package/dist/{revolugo.creditcardpayment.B-Pu0q9P.min.js → revolugo.creditcardpayment.BT1kN8zt.min.js} +4 -4
- package/dist/{revolugo.creditcardpayment.CXpVfsjF.min.js → revolugo.creditcardpayment.DoY6phPa.min.js} +18 -18
- package/dist/{revolugo.currencypicker.CYlyvR4X.min.js → revolugo.currencypicker.B2tV48Y5.min.js} +6 -6
- package/dist/{revolugo.currencypickerbtn.BT6jQ33A.min.js → revolugo.currencypickerbtn.DE8oV1V1.min.js} +4 -4
- package/dist/{revolugo.currencypickerbtn.D-qAsHj-.min.js → revolugo.currencypickerbtn.DMU3GWjB.min.js} +25 -28
- package/dist/{revolugo.defaultsdeep.xStfx1ax.min.js → revolugo.defaultsdeep.D8dmkJFl.min.js} +8 -8
- package/dist/{revolugo.dialog-attach.DhGjpV86.min.js → revolugo.dialog-attach.DpGIwuG0.min.js} +2 -2
- package/dist/{revolugo.dialog-transition.Bcw3NUGf.min.js → revolugo.dialog-transition.Ckkqh-sq.min.js} +9 -9
- package/dist/{revolugo.fastbookingflow.BvOeLD5-.min.js → revolugo.fastbookingflow.CuXq-6GN.min.js} +4 -4
- package/dist/revolugo.fullbookingflow.D4ACgY8T.min.js +429 -0
- package/dist/{revolugo.hotel-offer-request.Ckk1mKtM.min.js → revolugo.hotel-offer-request.DcAw3ks9.min.js} +2 -2
- package/dist/{revolugo.hoteldescriptionview.BEjBGuX8.min.js → revolugo.hoteldescriptionview.CnCdP9SI.min.js} +437 -446
- package/dist/{revolugo.hoteldescriptionview.Dup60cXR.min.js → revolugo.hoteldescriptionview.OsbnClid.min.js} +4 -4
- package/dist/{revolugo.hotelofferitemlayout.BHmFEPSg.min.js → revolugo.hotelofferitemlayout.Dpe1_FMy.min.js} +9 -9
- package/dist/{revolugo.hotelofferlist.C6LDBssl.min.js → revolugo.hotelofferlist.BJycC4Of.min.js} +4 -4
- package/dist/{revolugo.hotelofferlist.Bx4nX-96.min.js → revolugo.hotelofferlist.DYq8K7Ct.min.js} +23 -23
- package/dist/{revolugo.hotelofferrequestcreator.Dh7iqMnT.min.js → revolugo.hotelofferrequestcreator.CG7emkhL.min.js} +5 -5
- package/dist/{revolugo.hoteloffersearchmenu.CCwN9-vq.min.js → revolugo.hoteloffersearchmenu.DgYbtckm.min.js} +9 -9
- package/dist/{revolugo.hoteloffersmap.m4FlKwmK.min.js → revolugo.hoteloffersmap.BL2dyzha.min.js} +790 -840
- package/dist/{revolugo.hoteloffersmap.CIKwD_xJ.min.js → revolugo.hoteloffersmap.DSsq4XP-.min.js} +4 -4
- package/dist/{revolugo.hoteloffersview.BqnmWsMz.min.js → revolugo.hoteloffersview.BGrm1eOU.min.js} +4 -4
- package/dist/{revolugo.hoteloffersview.B173js2k.min.js → revolugo.hoteloffersview.gV8BZDE8.min.js} +27 -27
- package/dist/{revolugo.hotelroomofferlist.BZXX-P21.min.js → revolugo.hotelroomofferlist.BCUPuDy5.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferlist.DRs28YA0.min.js → revolugo.hotelroomofferlist.D4fuEiKU.min.js} +53 -53
- package/dist/{revolugo.hotelroomofferrequestcreator.props.DYl1bNk3.min.js → revolugo.hotelroomofferrequestcreator.props.Dv34pWYy.min.js} +2 -2
- package/dist/{revolugo.hotelroomoffersbookingflow.BcLRNLjr.min.js → revolugo.hotelroomoffersbookingflow.MX7B4HS4.min.js} +27 -27
- package/dist/{revolugo.hotelroomoffersearchmenu.CNesdHU7.min.js → revolugo.hotelroomoffersearchmenu.D08ut6Wr.min.js} +5 -5
- package/dist/{revolugo.hotelroomoffersearchmenu.Wp752y1o.min.js → revolugo.hotelroomoffersearchmenu.D4ClroPA.min.js} +7 -7
- package/dist/{revolugo.hotelroomoffersview.DjawPPhb.min.js → revolugo.hotelroomoffersview.B-v9bQrO.min.js} +135 -147
- package/dist/{revolugo.hotelroomoffersview.DLI5HjEV.min.js → revolugo.hotelroomoffersview.Cw2QLEZr.min.js} +4 -4
- package/dist/{revolugo.index.DmlGotxY.min.js → revolugo.index.Bv92K2Ye.min.js} +64 -64
- package/dist/{revolugo.index.wc.WVpKRxMB.min.js → revolugo.index.wc.B0qizvXE.min.js} +179 -178
- package/dist/revolugo.langpicker.BdYeJHS7.min.js +99 -0
- package/dist/revolugo.langpickerbtn.B8zEJnmF.min.js +131 -0
- package/dist/{revolugo.langpickerbtn.DZv8SOmQ.min.js → revolugo.langpickerbtn.DkfWevjb.min.js} +4 -4
- package/dist/revolugo.min.js +1 -1
- package/dist/{revolugo.pathify.BuwB3BVA.min.js → revolugo.pathify.CF3DF_XP.min.js} +2 -2
- package/dist/{revolugo.prebookform.Bj_b0HkS.min.js → revolugo.prebookform.BhwJWvTS.min.js} +20 -20
- package/dist/{revolugo.prebookform.Bcz1mlsa.min.js → revolugo.prebookform.Dt8Xq1UF.min.js} +4 -4
- package/dist/{revolugo.roominglisteditor.C2Q0WwI8.min.js → revolugo.roominglisteditor.D5FNAQom.min.js} +4 -4
- package/dist/{revolugo.roominglisteditor.C0Rz5zK-.min.js → revolugo.roominglisteditor.uWkpBxvd.min.js} +9 -9
- package/dist/{revolugo.rounded.9zOj37mK.min.js → revolugo.rounded.D6QsXHPb.min.js} +2 -2
- package/dist/{revolugo.ssrboot.Dobig8z2.min.js → revolugo.ssrboot._seCU8hc.min.js} +2 -2
- package/dist/{revolugo.storybooktoolbar.mGWlvD2d.min.js → revolugo.storybooktoolbar.Dr0gID6q.min.js} +52 -52
- package/dist/{revolugo.termsandconditions.X_g9eXJQ.min.js → revolugo.termsandconditions.BWJftZCJ.min.js} +4 -4
- package/dist/{revolugo.termsandconditions.TXeTt1Nc.min.js → revolugo.termsandconditions.DWwdFEEM.min.js} +4 -4
- package/dist/{revolugo.use-breakpoint-service.B4fTuJ-m.min.js → revolugo.use-breakpoint-service.DcFKehRh.min.js} +3 -3
- package/dist/{revolugo.use-dialog-attach.Clv6_XDd.min.js → revolugo.use-dialog-attach.Cu1mmZwk.min.js} +3 -3
- package/dist/revolugo.use-html-element.DgyiCLuP.min.js +11 -0
- package/dist/{revolugo.vautocomplete.Ct5J0tRD.min.js → revolugo.vautocomplete.BQCHxH2B.min.js} +56 -56
- package/dist/{revolugo.vbadge.QbwE0z0S.min.js → revolugo.vbadge.rFVXHHsE.min.js} +10 -10
- package/dist/{revolugo.vbtn.wY8QdelT.min.js → revolugo.vbtn.z2Nv2s_A.min.js} +54 -54
- package/dist/{revolugo.vcard.B-jDhizq.min.js → revolugo.vcard.CqvpQb0V.min.js} +35 -35
- package/dist/{revolugo.vcheckboxbtn.DOldzxr3.min.js → revolugo.vcheckboxbtn.CIrc7Wp1.min.js} +44 -44
- package/dist/{revolugo.vdialog.TOtJcCR5.min.js → revolugo.vdialog.Ct2ri8RU.min.js} +17 -17
- package/dist/{revolugo.vdivider.C5hf52x9.min.js → revolugo.vdivider.DswPwlPP.min.js} +3 -3
- package/dist/{revolugo.vexpansionpanels.rpkSdxyn.min.js → revolugo.vexpansionpanels.YyEBCJNN.min.js} +36 -36
- package/dist/{revolugo.vform.D9o42qf6.min.js → revolugo.vform.B4SOVz4C.min.js} +4 -4
- package/dist/{revolugo.vicon.DNDpBQSo.min.js → revolugo.vicon.DxyPKaIP.min.js} +9 -9
- package/dist/{revolugo.vinput.Z7Yl1GBk.min.js → revolugo.vinput.JVdEYSkJ.min.js} +34 -34
- package/dist/{revolugo.vlabel.Bv07dXLJ.min.js → revolugo.vlabel.9R__MfVL.min.js} +3 -3
- package/dist/{revolugo.vlist.Dc4CBbyk.min.js → revolugo.vlist.Cys3PIO8.min.js} +32 -32
- package/dist/{revolugo.vmenu.M77T6yV3.min.js → revolugo.vmenu.BdoJ6DB5.min.js} +27 -27
- package/dist/{revolugo.vselect.ho1sqVZQ.min.js → revolugo.vselect.CZ2KGl2h.min.js} +54 -54
- package/dist/{revolugo.vsheet.gTN06v3j.min.js → revolugo.vsheet.CtMgmHlk.min.js} +7 -7
- package/dist/{revolugo.vskeletonloader.CiGvw4Fx.min.js → revolugo.vskeletonloader.C7hmbjSV.min.js} +6 -6
- package/dist/{revolugo.vslidegroup.BmHjyRja.min.js → revolugo.vslidegroup.dHznmG62.min.js} +52 -52
- package/dist/{revolugo.vsnackbar.j4tc9aCn.min.js → revolugo.vsnackbar.DLo2YKIP.min.js} +32 -32
- package/dist/revolugo.vspacer.DxNikbPN.min.js +7 -0
- package/dist/{revolugo.vtextarea.V23aCbtI.min.js → revolugo.vtextarea.CQJ0M6wH.min.js} +30 -30
- package/dist/{revolugo.vtextfield.BKLBPM7L.min.js → revolugo.vtextfield.UPzgmfaI.min.js} +66 -66
- package/dist/{revolugo.vtoolbar.Csrzhb69.min.js → revolugo.vtoolbar.B5MVJuVl.min.js} +18 -18
- package/dist/{revolugo.vtooltip.D5h38LhM.min.js → revolugo.vtooltip.C5jWcj_9.min.js} +3 -3
- package/dist/{revolugo.vwindowitem.DwV9VIGY.min.js → revolugo.vwindowitem.QqHY3FYk.min.js} +34 -34
- package/dist/{revolugo.watch-list.dDO5YYYm.min.js → revolugo.watch-list.Z34YwPPD.min.js} +2 -2
- package/dist/{revolugo.webcomponentwrapper.Ggu2FW__.min.js → revolugo.webcomponentwrapper.r7aHwfWr.min.js} +114 -114
- package/package.json +1 -1
- package/dist/css/revolugo.bhoteloffersfilterbar.C1Hvm7FH.css +0 -1
- package/dist/css/revolugo.bstarrating.Dxd1LjMb.css +0 -1
- package/dist/css/revolugo.langpickerbtn.DTsRMVL8.css +0 -1
- package/dist/revolugo.bpricesummaryskeleton.DoLktkiO.min.js +0 -79
- package/dist/revolugo.fullbookingflow.CXY4HX1N.min.js +0 -444
- package/dist/revolugo.langpicker.DH2bznjc.min.js +0 -96
- package/dist/revolugo.langpickerbtn._diECV_y.min.js +0 -114
- package/dist/revolugo.use-html-element.BeuzybMb.min.js +0 -11
- package/dist/revolugo.vspacer.B5ih922c.min.js +0 -7
package/dist/{revolugo.hoteloffersmap.m4FlKwmK.min.js → revolugo.hoteloffersmap.BL2dyzha.min.js}
RENAMED
@@ -1,40 +1,39 @@
|
|
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
|
5
|
-
import {
|
6
|
-
import {
|
7
|
-
import {
|
8
|
-
import {
|
9
|
-
import {
|
10
|
-
import {
|
11
|
-
import { V as Jr } from "./revolugo.
|
12
|
-
import { V as
|
13
|
-
import {
|
14
|
-
|
15
|
-
function Pr(r) {
|
1
|
+
import { af as Pr, d as Pt, ag as se, k as st, T as Bt, ah as Xt, R as Et, ai as Vt, U as ui, aj as xr, ak as Ft, H as ri, M as go, al as $i, am as Tr, i as ut, e as oe, g as gt, a as U, w as A, C as Qi, r as lt, V as ve, f as Lt, t as At, o as Z, c as et, b as Mr, L as Or, u as Sr, E as ji, an as Cr, ae as kr, G as zr, F as _e, J as Ar, K as Er, D as Gi, j as vo, B as Ki } from "./revolugo.index.wc.B0qizvXE.min.js";
|
2
|
+
import { h as Br, H as Ir } from "./revolugo.hotelofferrequestcreator.CG7emkhL.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.CFOOtTvL.min.js";
|
4
|
+
import { _ as tn, B as Wr, c as Ur } from "./revolugo.webcomponentwrapper.r7aHwfWr.min.js";
|
5
|
+
import { V as Yt } from "./revolugo.vicon.DxyPKaIP.min.js";
|
6
|
+
import { p as Yi } from "./revolugo.bstarrating.vue_vue_type_script_setup_true_lang.VA13CkuK.min.js";
|
7
|
+
import { w as qr } from "./revolugo.watch-list.Z34YwPPD.min.js";
|
8
|
+
import { u as jr } from "./revolugo.hotelroomofferrequestcreator.props.Dv34pWYy.min.js";
|
9
|
+
import { p as Gr, g as ge } from "./revolugo.pathify.CF3DF_XP.min.js";
|
10
|
+
import { V as Kr } from "./revolugo.vskeletonloader.C7hmbjSV.min.js";
|
11
|
+
import { V as Jr } from "./revolugo.index.Bv92K2Ye.min.js";
|
12
|
+
import { V as ai } from "./revolugo.vtooltip.C5jWcj_9.min.js";
|
13
|
+
import { a as Xi } from "./revolugo.vbtn.z2Nv2s_A.min.js";
|
14
|
+
function Lr(r) {
|
16
15
|
try {
|
17
16
|
if (typeof document < "u") {
|
18
17
|
window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
|
19
18
|
sheets: [],
|
20
19
|
components: []
|
21
20
|
};
|
22
|
-
const l = import.meta.url,
|
23
|
-
window.REVOLUGO_ELEMENTS_STYLES.sheets.push(
|
21
|
+
const l = import.meta.url, a = l.slice(0, l.lastIndexOf("/") + 1) + r;
|
22
|
+
window.REVOLUGO_ELEMENTS_STYLES.sheets.push(a);
|
24
23
|
for (const d of REVOLUGO_ELEMENTS_STYLES.components)
|
25
|
-
d(
|
24
|
+
d(a);
|
26
25
|
if (r.indexOf("fonts") >= 0) {
|
27
26
|
const d = document.createElement("link");
|
28
|
-
d.rel = "stylesheet", linK.href =
|
27
|
+
d.rel = "stylesheet", linK.href = a, document.head.appendChild(d);
|
29
28
|
}
|
30
29
|
}
|
31
30
|
} catch (l) {
|
32
31
|
console.error("[revolugo-elements] ", l);
|
33
32
|
}
|
34
33
|
}
|
35
|
-
function
|
36
|
-
for (var
|
37
|
-
const d = l[
|
34
|
+
function Yr(r, l) {
|
35
|
+
for (var a = 0; a < l.length; a++) {
|
36
|
+
const d = l[a];
|
38
37
|
if (typeof d != "string" && !Array.isArray(d)) {
|
39
38
|
for (const p in d)
|
40
39
|
if (p !== "default" && !(p in r)) {
|
@@ -48,7 +47,7 @@ function Xr(r, l) {
|
|
48
47
|
}
|
49
48
|
return Object.freeze(Object.defineProperty(r, Symbol.toStringTag, { value: "Module" }));
|
50
49
|
}
|
51
|
-
const
|
50
|
+
const To = {
|
52
51
|
LocationInput: !0,
|
53
52
|
SearchAreaButton: !0,
|
54
53
|
HotelOfferItem: {
|
@@ -57,10 +56,10 @@ const Mo = {
|
|
57
56
|
[Ji.HotelRoomOffersViewDialog]: !1,
|
58
57
|
[Ji.RoomsDetails]: !0
|
59
58
|
}
|
60
|
-
},
|
59
|
+
}, Xr = {
|
61
60
|
...Br,
|
62
61
|
features: {
|
63
|
-
default: () =>
|
62
|
+
default: () => To,
|
64
63
|
type: [Object, String]
|
65
64
|
},
|
66
65
|
height: {
|
@@ -96,12 +95,12 @@ var Ze = { exports: {} };
|
|
96
95
|
* Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com
|
97
96
|
* (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade
|
98
97
|
*/
|
99
|
-
var
|
100
|
-
function
|
101
|
-
return
|
102
|
-
(function(
|
98
|
+
var Qr = Ze.exports, yo;
|
99
|
+
function $r() {
|
100
|
+
return yo || (yo = 1, function(r, l) {
|
101
|
+
(function(a, d) {
|
103
102
|
d(l);
|
104
|
-
})(
|
103
|
+
})(Qr, function(a) {
|
105
104
|
var d = "1.9.4";
|
106
105
|
function p(t) {
|
107
106
|
var e, i, n, o;
|
@@ -133,11 +132,11 @@ function ta() {
|
|
133
132
|
return "_leaflet_id" in t || (t._leaflet_id = ++T), t._leaflet_id;
|
134
133
|
}
|
135
134
|
function E(t, e, i) {
|
136
|
-
var n, o, s,
|
137
|
-
return
|
135
|
+
var n, o, s, h;
|
136
|
+
return h = function() {
|
138
137
|
n = !1, o && (s.apply(i, o), o = !1);
|
139
138
|
}, s = function() {
|
140
|
-
n ? o = arguments : (t.apply(i, arguments), setTimeout(
|
139
|
+
n ? o = arguments : (t.apply(i, arguments), setTimeout(h, e), n = !0);
|
141
140
|
}, s;
|
142
141
|
}
|
143
142
|
function x(t, e, i) {
|
@@ -210,7 +209,7 @@ function ta() {
|
|
210
209
|
function vt(t) {
|
211
210
|
t && j.call(window, t);
|
212
211
|
}
|
213
|
-
var
|
212
|
+
var Yo = {
|
214
213
|
__proto__: null,
|
215
214
|
extend: p,
|
216
215
|
create: m,
|
@@ -236,34 +235,34 @@ function ta() {
|
|
236
235
|
requestAnimFrame: nt,
|
237
236
|
cancelAnimFrame: vt
|
238
237
|
};
|
239
|
-
function
|
238
|
+
function It() {
|
240
239
|
}
|
241
|
-
|
240
|
+
It.extend = function(t) {
|
242
241
|
var e = function() {
|
243
242
|
N(this), this.initialize && this.initialize.apply(this, arguments), this.callInitHooks();
|
244
243
|
}, i = e.__super__ = this.prototype, n = m(i);
|
245
244
|
n.constructor = e, e.prototype = n;
|
246
245
|
for (var o in this)
|
247
246
|
Object.prototype.hasOwnProperty.call(this, o) && o !== "prototype" && o !== "__super__" && (e[o] = this[o]);
|
248
|
-
return t.statics && p(e, t.statics), t.includes && (
|
247
|
+
return t.statics && p(e, t.statics), t.includes && (Xo(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
248
|
if (!this._initHooksCalled) {
|
250
249
|
i.callInitHooks && i.callInitHooks.call(this), this._initHooksCalled = !0;
|
251
|
-
for (var s = 0,
|
250
|
+
for (var s = 0, h = n._initHooks.length; s < h; s++)
|
252
251
|
n._initHooks[s].call(this);
|
253
252
|
}
|
254
253
|
}, e;
|
255
|
-
},
|
254
|
+
}, It.include = function(t) {
|
256
255
|
var e = this.prototype.options;
|
257
256
|
return p(this.prototype, t), t.options && (this.prototype.options = e, this.mergeOptions(t.options)), this;
|
258
|
-
},
|
257
|
+
}, It.mergeOptions = function(t) {
|
259
258
|
return p(this.prototype.options, t), this;
|
260
|
-
},
|
259
|
+
}, It.addInitHook = function(t) {
|
261
260
|
var e = Array.prototype.slice.call(arguments, 1), i = typeof t == "function" ? t : function() {
|
262
261
|
this[t].apply(this, e);
|
263
262
|
};
|
264
263
|
return this.prototype._initHooks = this.prototype._initHooks || [], this.prototype._initHooks.push(i), this;
|
265
264
|
};
|
266
|
-
function
|
265
|
+
function Xo(t) {
|
267
266
|
if (!(typeof L > "u" || !L || !L.Mixin)) {
|
268
267
|
t = V(t) ? t : [t];
|
269
268
|
for (var e = 0; e < t.length; e++)
|
@@ -308,7 +307,7 @@ function ta() {
|
|
308
307
|
this._off(n, t[n], e);
|
309
308
|
else {
|
310
309
|
t = G(t);
|
311
|
-
for (var o = arguments.length === 1, s = 0,
|
310
|
+
for (var o = arguments.length === 1, s = 0, h = t.length; s < h; s++)
|
312
311
|
o ? this._off(t[s]) : this._off(t[s], e, i);
|
313
312
|
}
|
314
313
|
return this;
|
@@ -339,10 +338,10 @@ function ta() {
|
|
339
338
|
console.warn("wrong listener type: " + typeof e);
|
340
339
|
return;
|
341
340
|
}
|
342
|
-
var
|
343
|
-
if (
|
344
|
-
var u = n[
|
345
|
-
this._firingCount && (u.fn = b, this._events[t] = n = n.slice()), n.splice(
|
341
|
+
var h = this._listens(t, e, i);
|
342
|
+
if (h !== !1) {
|
343
|
+
var u = n[h];
|
344
|
+
this._firingCount && (u.fn = b, this._events[t] = n = n.slice()), n.splice(h, 1);
|
346
345
|
}
|
347
346
|
}
|
348
347
|
},
|
@@ -362,7 +361,7 @@ function ta() {
|
|
362
361
|
var o = this._events[t];
|
363
362
|
if (o) {
|
364
363
|
this._firingCount = this._firingCount + 1 || 1;
|
365
|
-
for (var s = 0,
|
364
|
+
for (var s = 0, h = o.length; s < h; s++) {
|
366
365
|
var u = o[s], c = u.fn;
|
367
366
|
u.once && this.off(t, c, u.ctx), c.call(u.ctx || this, n);
|
368
367
|
}
|
@@ -383,8 +382,8 @@ function ta() {
|
|
383
382
|
if (s && s.length && this._listens(t, o, i) !== !1)
|
384
383
|
return !0;
|
385
384
|
if (n) {
|
386
|
-
for (var
|
387
|
-
if (this._eventParents[
|
385
|
+
for (var h in this._eventParents)
|
386
|
+
if (this._eventParents[h].listens(t, e, i, n))
|
388
387
|
return !0;
|
389
388
|
}
|
390
389
|
return !1;
|
@@ -434,11 +433,11 @@ function ta() {
|
|
434
433
|
}
|
435
434
|
};
|
436
435
|
_t.addEventListener = _t.on, _t.removeEventListener = _t.clearAllEventListeners = _t.off, _t.addOneTimeEventListener = _t.once, _t.fireEvent = _t.fire, _t.hasEventListeners = _t.listens;
|
437
|
-
var be =
|
436
|
+
var be = It.extend(_t);
|
438
437
|
function O(t, e, i) {
|
439
438
|
this.x = i ? Math.round(t) : t, this.y = i ? Math.round(e) : e;
|
440
439
|
}
|
441
|
-
var
|
440
|
+
var sn = Math.trunc || function(t) {
|
442
441
|
return t > 0 ? Math.floor(t) : Math.ceil(t);
|
443
442
|
};
|
444
443
|
O.prototype = {
|
@@ -523,7 +522,7 @@ function ta() {
|
|
523
522
|
return this.clone()._trunc();
|
524
523
|
},
|
525
524
|
_trunc: function() {
|
526
|
-
return this.x =
|
525
|
+
return this.x = sn(this.x), this.y = sn(this.y), this;
|
527
526
|
},
|
528
527
|
// @method distanceTo(otherPoint: Point): Number
|
529
528
|
// Returns the cartesian distance between the current and the given points.
|
@@ -620,16 +619,16 @@ function ta() {
|
|
620
619
|
// intersect if they have at least one point in common.
|
621
620
|
intersects: function(t) {
|
622
621
|
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 &&
|
622
|
+
var e = this.min, i = this.max, n = t.min, o = t.max, s = o.x >= e.x && n.x <= i.x, h = o.y >= e.y && n.y <= i.y;
|
623
|
+
return s && h;
|
625
624
|
},
|
626
625
|
// @method overlaps(otherBounds: Bounds): Boolean
|
627
626
|
// Returns `true` if the rectangle overlaps the given bounds. Two bounds
|
628
627
|
// overlap if their intersection is an area.
|
629
628
|
overlaps: function(t) {
|
630
629
|
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 &&
|
630
|
+
var e = this.min, i = this.max, n = t.min, o = t.max, s = o.x > e.x && n.x < i.x, h = o.y > e.y && n.y < i.y;
|
631
|
+
return s && h;
|
633
632
|
},
|
634
633
|
// @method isValid(): Boolean
|
635
634
|
// Returns `true` if the bounds are properly initialized.
|
@@ -751,15 +750,15 @@ function ta() {
|
|
751
750
|
// Returns `true` if the rectangle intersects the given bounds. Two bounds intersect if they have at least one point in common.
|
752
751
|
intersects: function(t) {
|
753
752
|
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 &&
|
753
|
+
var e = this._southWest, i = this._northEast, n = t.getSouthWest(), o = t.getNorthEast(), s = o.lat >= e.lat && n.lat <= i.lat, h = o.lng >= e.lng && n.lng <= i.lng;
|
754
|
+
return s && h;
|
756
755
|
},
|
757
756
|
// @method overlaps(otherBounds: LatLngBounds): Boolean
|
758
757
|
// Returns `true` if the rectangle overlaps the given bounds. Two bounds overlap if their intersection is an area.
|
759
758
|
overlaps: function(t) {
|
760
759
|
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 &&
|
760
|
+
var e = this._southWest, i = this._northEast, n = t.getSouthWest(), o = t.getNorthEast(), s = o.lat > e.lat && n.lat < i.lat, h = o.lng > e.lng && n.lng < i.lng;
|
761
|
+
return s && h;
|
763
762
|
},
|
764
763
|
// @method toBBoxString(): String
|
765
764
|
// 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.
|
@@ -829,7 +828,7 @@ function ta() {
|
|
829
828
|
function B(t, e, i) {
|
830
829
|
return t instanceof F ? t : V(t) && typeof t[0] != "object" ? t.length === 3 ? new F(t[0], t[1], t[2]) : t.length === 2 ? new F(t[0], t[1]) : null : t == null ? t : typeof t == "object" && "lat" in t ? new F(t.lat, "lng" in t ? t.lng : t.lon, t.alt) : e === void 0 ? null : new F(t, e, i);
|
831
830
|
}
|
832
|
-
var
|
831
|
+
var Zt = {
|
833
832
|
// @method latLngToPoint(latlng: LatLng, zoom: Number): Point
|
834
833
|
// Projects geographical coordinates into pixel coordinates for a given zoom.
|
835
834
|
latLngToPoint: function(t, e) {
|
@@ -908,10 +907,10 @@ function ta() {
|
|
908
907
|
var e = t.getCenter(), i = this.wrapLatLng(e), n = e.lat - i.lat, o = e.lng - i.lng;
|
909
908
|
if (n === 0 && o === 0)
|
910
909
|
return t;
|
911
|
-
var s = t.getSouthWest(),
|
910
|
+
var s = t.getSouthWest(), h = t.getNorthEast(), u = new F(s.lat - n, s.lng - o), c = new F(h.lat - n, h.lng - o);
|
912
911
|
return new ft(u, c);
|
913
912
|
}
|
914
|
-
}, jt = p({},
|
913
|
+
}, jt = p({}, Zt, {
|
915
914
|
wrapLng: [-180, 180],
|
916
915
|
// Mean Earth Radius, as recommended for use by
|
917
916
|
// the International Union of Geodesy and Geophysics,
|
@@ -919,11 +918,11 @@ function ta() {
|
|
919
918
|
R: 6371e3,
|
920
919
|
// distance between two geographical points using spherical law of cosines approximation
|
921
920
|
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),
|
921
|
+
var i = Math.PI / 180, n = t.lat * i, o = e.lat * i, s = Math.sin((e.lat - t.lat) * i / 2), h = Math.sin((e.lng - t.lng) * i / 2), u = s * s + Math.cos(n) * Math.cos(o) * h * h, c = 2 * Math.atan2(Math.sqrt(u), Math.sqrt(1 - u));
|
923
922
|
return this.R * c;
|
924
923
|
}
|
925
|
-
}),
|
926
|
-
R:
|
924
|
+
}), rn = 6378137, di = {
|
925
|
+
R: rn,
|
927
926
|
MAX_LATITUDE: 85.0511287798,
|
928
927
|
project: function(t) {
|
929
928
|
var e = Math.PI / 180, i = this.MAX_LATITUDE, n = Math.max(Math.min(i, t.lat), -i), o = Math.sin(n * e);
|
@@ -940,7 +939,7 @@ function ta() {
|
|
940
939
|
);
|
941
940
|
},
|
942
941
|
bounds: function() {
|
943
|
-
var t =
|
942
|
+
var t = rn * Math.PI;
|
944
943
|
return new K([-t, -t], [t, t]);
|
945
944
|
}()
|
946
945
|
};
|
@@ -982,22 +981,22 @@ function ta() {
|
|
982
981
|
var t = 0.5 / (Math.PI * di.R);
|
983
982
|
return Le(t, 0.5, -t, 0.5);
|
984
983
|
}()
|
985
|
-
}),
|
984
|
+
}), Qo = p({}, pi, {
|
986
985
|
code: "EPSG:900913"
|
987
986
|
});
|
988
|
-
function
|
987
|
+
function an(t) {
|
989
988
|
return document.createElementNS("http://www.w3.org/2000/svg", t);
|
990
989
|
}
|
991
|
-
function
|
992
|
-
var i = "", n, o, s,
|
990
|
+
function hn(t, e) {
|
991
|
+
var i = "", n, o, s, h, u, c;
|
993
992
|
for (n = 0, s = t.length; n < s; n++) {
|
994
|
-
for (u = t[n], o = 0,
|
993
|
+
for (u = t[n], o = 0, h = u.length; o < h; o++)
|
995
994
|
c = u[o], i += (o ? "L" : "M") + c.x + " " + c.y;
|
996
995
|
i += e ? y.svg ? "z" : "x" : "";
|
997
996
|
}
|
998
997
|
return i || "M0 0";
|
999
998
|
}
|
1000
|
-
var mi = document.documentElement.style, Fe = "ActiveXObject" in window,
|
999
|
+
var mi = document.documentElement.style, Fe = "ActiveXObject" in window, $o = Fe && !document.addEventListener, ln = "msLaunchUri" in navigator && !("documentMode" in document), _i = St("webkit"), un = St("android"), cn = St("android 2") || St("android 3"), ts = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), es = un && St("Google") && ts < 537 && !("AudioNode" in window), gi = !!window.opera, dn = !ln && St("chrome"), fn = St("gecko") && !_i && !gi && !Fe, is = !dn && St("safari"), pn = St("phantom"), mn = "OTransition" in mi, ns = navigator.platform.indexOf("Win") === 0, _n = Fe && "transition" in mi, vi = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !cn, gn = "MozPerspective" in mi, os = !window.L_DISABLE_3D && (_n || vi || gn) && !mn && !pn, Pe = typeof orientation < "u" || St("mobile"), ss = Pe && _i, rs = Pe && vi, vn = !window.PointerEvent && window.MSPointerEvent, yn = !!(window.PointerEvent || vn), wn = "ontouchstart" in window || !!window.TouchEvent, as = !window.L_NO_TOUCH && (wn || yn), hs = Pe && gi, ls = Pe && fn, us = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, cs = function() {
|
1001
1000
|
var t = !1;
|
1002
1001
|
try {
|
1003
1002
|
var e = Object.defineProperty({}, "passive", {
|
@@ -1009,12 +1008,12 @@ function ta() {
|
|
1009
1008
|
} catch {
|
1010
1009
|
}
|
1011
1010
|
return t;
|
1012
|
-
}(),
|
1011
|
+
}(), ds = function() {
|
1013
1012
|
return !!document.createElement("canvas").getContext;
|
1014
|
-
}(), yi = !!(document.createElementNS &&
|
1013
|
+
}(), yi = !!(document.createElementNS && an("svg").createSVGRect), fs = !!yi && function() {
|
1015
1014
|
var t = document.createElement("div");
|
1016
1015
|
return t.innerHTML = "<svg/>", (t.firstChild && t.firstChild.namespaceURI) === "http://www.w3.org/2000/svg";
|
1017
|
-
}(),
|
1016
|
+
}(), ps = !yi && function() {
|
1018
1017
|
try {
|
1019
1018
|
var t = document.createElement("div");
|
1020
1019
|
t.innerHTML = '<v:shape adj="1"/>';
|
@@ -1023,78 +1022,78 @@ function ta() {
|
|
1023
1022
|
} catch {
|
1024
1023
|
return !1;
|
1025
1024
|
}
|
1026
|
-
}(),
|
1025
|
+
}(), ms = navigator.platform.indexOf("Mac") === 0, _s = navigator.platform.indexOf("Linux") === 0;
|
1027
1026
|
function St(t) {
|
1028
1027
|
return navigator.userAgent.toLowerCase().indexOf(t) >= 0;
|
1029
1028
|
}
|
1030
1029
|
var y = {
|
1031
1030
|
ie: Fe,
|
1032
|
-
ielt9:
|
1033
|
-
edge:
|
1031
|
+
ielt9: $o,
|
1032
|
+
edge: ln,
|
1034
1033
|
webkit: _i,
|
1035
|
-
android:
|
1036
|
-
android23:
|
1037
|
-
androidStock:
|
1034
|
+
android: un,
|
1035
|
+
android23: cn,
|
1036
|
+
androidStock: es,
|
1038
1037
|
opera: gi,
|
1039
|
-
chrome:
|
1040
|
-
gecko:
|
1041
|
-
safari:
|
1042
|
-
phantom:
|
1043
|
-
opera12:
|
1044
|
-
win:
|
1045
|
-
ie3d:
|
1038
|
+
chrome: dn,
|
1039
|
+
gecko: fn,
|
1040
|
+
safari: is,
|
1041
|
+
phantom: pn,
|
1042
|
+
opera12: mn,
|
1043
|
+
win: ns,
|
1044
|
+
ie3d: _n,
|
1046
1045
|
webkit3d: vi,
|
1047
|
-
gecko3d:
|
1048
|
-
any3d:
|
1046
|
+
gecko3d: gn,
|
1047
|
+
any3d: os,
|
1049
1048
|
mobile: Pe,
|
1050
|
-
mobileWebkit:
|
1051
|
-
mobileWebkit3d:
|
1052
|
-
msPointer:
|
1053
|
-
pointer:
|
1054
|
-
touch:
|
1055
|
-
touchNative:
|
1056
|
-
mobileOpera:
|
1057
|
-
mobileGecko:
|
1058
|
-
retina:
|
1059
|
-
passiveEvents:
|
1060
|
-
canvas:
|
1049
|
+
mobileWebkit: ss,
|
1050
|
+
mobileWebkit3d: rs,
|
1051
|
+
msPointer: vn,
|
1052
|
+
pointer: yn,
|
1053
|
+
touch: as,
|
1054
|
+
touchNative: wn,
|
1055
|
+
mobileOpera: hs,
|
1056
|
+
mobileGecko: ls,
|
1057
|
+
retina: us,
|
1058
|
+
passiveEvents: cs,
|
1059
|
+
canvas: ds,
|
1061
1060
|
svg: yi,
|
1062
|
-
vml:
|
1063
|
-
inlineSvg:
|
1064
|
-
mac:
|
1065
|
-
linux:
|
1066
|
-
},
|
1067
|
-
touchstart:
|
1068
|
-
touchmove:
|
1069
|
-
touchend:
|
1070
|
-
touchcancel:
|
1071
|
-
},
|
1072
|
-
touchstart:
|
1061
|
+
vml: ps,
|
1062
|
+
inlineSvg: fs,
|
1063
|
+
mac: ms,
|
1064
|
+
linux: _s
|
1065
|
+
}, bn = y.msPointer ? "MSPointerDown" : "pointerdown", Ln = y.msPointer ? "MSPointerMove" : "pointermove", Pn = y.msPointer ? "MSPointerUp" : "pointerup", xn = y.msPointer ? "MSPointerCancel" : "pointercancel", wi = {
|
1066
|
+
touchstart: bn,
|
1067
|
+
touchmove: Ln,
|
1068
|
+
touchend: Pn,
|
1069
|
+
touchcancel: xn
|
1070
|
+
}, Tn = {
|
1071
|
+
touchstart: Ls,
|
1073
1072
|
touchmove: Ve,
|
1074
1073
|
touchend: Ve,
|
1075
1074
|
touchcancel: Ve
|
1076
|
-
}, ae = {},
|
1077
|
-
function
|
1078
|
-
return e === "touchstart" &&
|
1075
|
+
}, ae = {}, Mn = !1;
|
1076
|
+
function gs(t, e, i) {
|
1077
|
+
return e === "touchstart" && bs(), Tn[e] ? (i = Tn[e].bind(this, i), t.addEventListener(wi[e], i, !1), i) : (console.warn("wrong event specified:", e), b);
|
1079
1078
|
}
|
1080
|
-
function
|
1079
|
+
function vs(t, e, i) {
|
1081
1080
|
if (!wi[e]) {
|
1082
1081
|
console.warn("wrong event specified:", e);
|
1083
1082
|
return;
|
1084
1083
|
}
|
1085
1084
|
t.removeEventListener(wi[e], i, !1);
|
1086
1085
|
}
|
1087
|
-
function
|
1086
|
+
function ys(t) {
|
1088
1087
|
ae[t.pointerId] = t;
|
1089
1088
|
}
|
1090
|
-
function
|
1089
|
+
function ws(t) {
|
1091
1090
|
ae[t.pointerId] && (ae[t.pointerId] = t);
|
1092
1091
|
}
|
1093
|
-
function
|
1092
|
+
function On(t) {
|
1094
1093
|
delete ae[t.pointerId];
|
1095
1094
|
}
|
1096
|
-
function
|
1097
|
-
|
1095
|
+
function bs() {
|
1096
|
+
Mn || (document.addEventListener(bn, ys, !0), document.addEventListener(Ln, ws, !0), document.addEventListener(Pn, On, !0), document.addEventListener(xn, On, !0), Mn = !0);
|
1098
1097
|
}
|
1099
1098
|
function Ve(t, e) {
|
1100
1099
|
if (e.pointerType !== (e.MSPOINTER_TYPE_MOUSE || "mouse")) {
|
@@ -1104,17 +1103,17 @@ function ta() {
|
|
1104
1103
|
e.changedTouches = [e], t(e);
|
1105
1104
|
}
|
1106
1105
|
}
|
1107
|
-
function
|
1106
|
+
function Ls(t, e) {
|
1108
1107
|
e.MSPOINTER_TYPE_TOUCH && e.pointerType === e.MSPOINTER_TYPE_TOUCH && ot(e), Ve(t, e);
|
1109
1108
|
}
|
1110
|
-
function
|
1109
|
+
function Ps(t) {
|
1111
1110
|
var e = {}, i, n;
|
1112
1111
|
for (n in t)
|
1113
1112
|
i = t[n], e[n] = i && i.bind ? i.bind(t) : i;
|
1114
1113
|
return t = e, e.type = "dblclick", e.detail = 2, e.isTrusted = !1, e._simulated = !0, e;
|
1115
1114
|
}
|
1116
|
-
var
|
1117
|
-
function
|
1115
|
+
var xs = 200;
|
1116
|
+
function Ts(t, e) {
|
1118
1117
|
t.addEventListener("dblclick", e);
|
1119
1118
|
var i = 0, n;
|
1120
1119
|
function o(s) {
|
@@ -1123,14 +1122,14 @@ function ta() {
|
|
1123
1122
|
return;
|
1124
1123
|
}
|
1125
1124
|
if (!(s.pointerType === "mouse" || s.sourceCapabilities && !s.sourceCapabilities.firesTouchEvents)) {
|
1126
|
-
var
|
1127
|
-
if (!(
|
1125
|
+
var h = An(s);
|
1126
|
+
if (!(h.some(function(c) {
|
1128
1127
|
return c instanceof HTMLLabelElement && c.attributes.for;
|
1129
|
-
}) && !
|
1128
|
+
}) && !h.some(function(c) {
|
1130
1129
|
return c instanceof HTMLInputElement || c instanceof HTMLSelectElement;
|
1131
1130
|
}))) {
|
1132
1131
|
var u = Date.now();
|
1133
|
-
u - i <=
|
1132
|
+
u - i <= xs ? (n++, n === 2 && e(Ps(s))) : n = 1, i = u;
|
1134
1133
|
}
|
1135
1134
|
}
|
1136
1135
|
}
|
@@ -1139,15 +1138,15 @@ function ta() {
|
|
1139
1138
|
simDblclick: o
|
1140
1139
|
};
|
1141
1140
|
}
|
1142
|
-
function
|
1141
|
+
function Ms(t, e) {
|
1143
1142
|
t.removeEventListener("dblclick", e.dblclick), t.removeEventListener("click", e.simDblclick);
|
1144
1143
|
}
|
1145
1144
|
var bi = qe(
|
1146
1145
|
["transform", "webkitTransform", "OTransform", "MozTransform", "msTransform"]
|
1147
1146
|
), xe = qe(
|
1148
1147
|
["webkitTransition", "transition", "OTransition", "MozTransition", "msTransition"]
|
1149
|
-
),
|
1150
|
-
function
|
1148
|
+
), Sn = xe === "webkitTransition" || xe === "OTransition" ? xe + "End" : "transitionend";
|
1149
|
+
function Cn(t) {
|
1151
1150
|
return typeof t == "string" ? document.getElementById(t) : t;
|
1152
1151
|
}
|
1153
1152
|
function Te(t, e) {
|
@@ -1203,9 +1202,9 @@ function ta() {
|
|
1203
1202
|
return t.correspondingElement && (t = t.correspondingElement), t.className.baseVal === void 0 ? t.className : t.className.baseVal;
|
1204
1203
|
}
|
1205
1204
|
function yt(t, e) {
|
1206
|
-
"opacity" in t.style ? t.style.opacity = e : "filter" in t.style &&
|
1205
|
+
"opacity" in t.style ? t.style.opacity = e : "filter" in t.style && Os(t, e);
|
1207
1206
|
}
|
1208
|
-
function
|
1207
|
+
function Os(t, e) {
|
1209
1208
|
var i = !1, n = "DXImageTransform.Microsoft.Alpha";
|
1210
1209
|
try {
|
1211
1210
|
i = t.filters.item(n);
|
@@ -1266,7 +1265,7 @@ function ta() {
|
|
1266
1265
|
function Ge() {
|
1267
1266
|
je && (je.style.outlineStyle = Oi, je = void 0, Oi = void 0, W(window, "keydown", Ge));
|
1268
1267
|
}
|
1269
|
-
function
|
1268
|
+
function kn(t) {
|
1270
1269
|
do
|
1271
1270
|
t = t.parentNode;
|
1272
1271
|
while ((!t.offsetWidth || !t.offsetHeight) && t !== document.body);
|
@@ -1280,12 +1279,12 @@ function ta() {
|
|
1280
1279
|
boundingClientRect: e
|
1281
1280
|
};
|
1282
1281
|
}
|
1283
|
-
var
|
1282
|
+
var Ss = {
|
1284
1283
|
__proto__: null,
|
1285
1284
|
TRANSFORM: bi,
|
1286
1285
|
TRANSITION: xe,
|
1287
|
-
TRANSITION_END:
|
1288
|
-
get:
|
1286
|
+
TRANSITION_END: Sn,
|
1287
|
+
get: Cn,
|
1289
1288
|
getStyle: Te,
|
1290
1289
|
create: D,
|
1291
1290
|
remove: J,
|
@@ -1312,7 +1311,7 @@ function ta() {
|
|
1312
1311
|
enableImageDrag: Mi,
|
1313
1312
|
preventOutline: Si,
|
1314
1313
|
restoreOutline: Ge,
|
1315
|
-
getSizedParentNode:
|
1314
|
+
getSizedParentNode: kn,
|
1316
1315
|
getScale: Ci
|
1317
1316
|
};
|
1318
1317
|
function S(t, e, i, n) {
|
@@ -1321,7 +1320,7 @@ function ta() {
|
|
1321
1320
|
zi(t, o, e[o], i);
|
1322
1321
|
else {
|
1323
1322
|
e = G(e);
|
1324
|
-
for (var s = 0,
|
1323
|
+
for (var s = 0, h = e.length; s < h; s++)
|
1325
1324
|
zi(t, e[s], i, n);
|
1326
1325
|
}
|
1327
1326
|
return this;
|
@@ -1329,20 +1328,20 @@ function ta() {
|
|
1329
1328
|
var Ct = "_leaflet_events";
|
1330
1329
|
function W(t, e, i, n) {
|
1331
1330
|
if (arguments.length === 1)
|
1332
|
-
|
1331
|
+
zn(t), delete t[Ct];
|
1333
1332
|
else if (e && typeof e == "object")
|
1334
1333
|
for (var o in e)
|
1335
1334
|
Ai(t, o, e[o], i);
|
1336
1335
|
else if (e = G(e), arguments.length === 2)
|
1337
|
-
|
1336
|
+
zn(t, function(u) {
|
1338
1337
|
return w(e, u) !== -1;
|
1339
1338
|
});
|
1340
1339
|
else
|
1341
|
-
for (var s = 0,
|
1340
|
+
for (var s = 0, h = e.length; s < h; s++)
|
1342
1341
|
Ai(t, e[s], i, n);
|
1343
1342
|
return this;
|
1344
1343
|
}
|
1345
|
-
function
|
1344
|
+
function zn(t, e) {
|
1346
1345
|
for (var i in t[Ct]) {
|
1347
1346
|
var n = i.split(/\d/)[0];
|
1348
1347
|
(!e || e(n)) && Ai(t, n, null, null, i);
|
@@ -1359,17 +1358,17 @@ function ta() {
|
|
1359
1358
|
return this;
|
1360
1359
|
var s = function(u) {
|
1361
1360
|
return i.call(n || t, u || window.event);
|
1362
|
-
},
|
1363
|
-
!y.touchNative && y.pointer && e.indexOf("touch") === 0 ? s =
|
1364
|
-
u = u || window.event, Bi(t, u) &&
|
1365
|
-
}, t.addEventListener(ki[e], s, !1)) : t.addEventListener(e,
|
1361
|
+
}, h = s;
|
1362
|
+
!y.touchNative && y.pointer && e.indexOf("touch") === 0 ? s = gs(t, e, s) : y.touch && e === "dblclick" ? s = Ts(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) {
|
1363
|
+
u = u || window.event, Bi(t, u) && h(u);
|
1364
|
+
}, t.addEventListener(ki[e], s, !1)) : t.addEventListener(e, h, !1) : t.attachEvent("on" + e, s), t[Ct] = t[Ct] || {}, t[Ct][o] = s;
|
1366
1365
|
}
|
1367
1366
|
function Ai(t, e, i, n, o) {
|
1368
1367
|
o = o || e + v(i) + (n ? "_" + v(n) : "");
|
1369
1368
|
var s = t[Ct] && t[Ct][o];
|
1370
1369
|
if (!s)
|
1371
1370
|
return this;
|
1372
|
-
!y.touchNative && y.pointer && e.indexOf("touch") === 0 ?
|
1371
|
+
!y.touchNative && y.pointer && e.indexOf("touch") === 0 ? vs(t, e, s) : y.touch && e === "dblclick" ? Ms(t, s) : "removeEventListener" in t ? t.removeEventListener(ki[e] || e, s, !1) : t.detachEvent("on" + e, s), t[Ct][o] = null;
|
1373
1372
|
}
|
1374
1373
|
function ee(t) {
|
1375
1374
|
return t.stopPropagation ? t.stopPropagation() : t.originalEvent ? t.originalEvent._stopped = !0 : t.cancelBubble = !0, this;
|
@@ -1386,14 +1385,14 @@ function ta() {
|
|
1386
1385
|
function ie(t) {
|
1387
1386
|
return ot(t), ee(t), this;
|
1388
1387
|
}
|
1389
|
-
function
|
1388
|
+
function An(t) {
|
1390
1389
|
if (t.composedPath)
|
1391
1390
|
return t.composedPath();
|
1392
1391
|
for (var e = [], i = t.target; i; )
|
1393
1392
|
e.push(i), i = i.parentNode;
|
1394
1393
|
return e;
|
1395
1394
|
}
|
1396
|
-
function
|
1395
|
+
function En(t, e) {
|
1397
1396
|
if (!e)
|
1398
1397
|
return new O(t.clientX, t.clientY);
|
1399
1398
|
var i = Ci(e), n = i.boundingClientRect;
|
@@ -1404,11 +1403,11 @@ function ta() {
|
|
1404
1403
|
(t.clientY - n.top) / i.y - e.clientTop
|
1405
1404
|
);
|
1406
1405
|
}
|
1407
|
-
var
|
1408
|
-
function
|
1406
|
+
var Cs = y.linux && y.chrome ? window.devicePixelRatio : y.mac ? window.devicePixelRatio * 3 : window.devicePixelRatio > 0 ? 2 * window.devicePixelRatio : 1;
|
1407
|
+
function Bn(t) {
|
1409
1408
|
return y.edge ? t.wheelDeltaY / 2 : (
|
1410
1409
|
// Don't trust window-geometry-based delta
|
1411
|
-
t.deltaY && t.deltaMode === 0 ? -t.deltaY /
|
1410
|
+
t.deltaY && t.deltaMode === 0 ? -t.deltaY / Cs : (
|
1412
1411
|
// Pixels
|
1413
1412
|
t.deltaY && t.deltaMode === 1 ? -t.deltaY * 20 : (
|
1414
1413
|
// Lines
|
@@ -1444,7 +1443,7 @@ function ta() {
|
|
1444
1443
|
}
|
1445
1444
|
return i !== t;
|
1446
1445
|
}
|
1447
|
-
var
|
1446
|
+
var ks = {
|
1448
1447
|
__proto__: null,
|
1449
1448
|
on: S,
|
1450
1449
|
off: W,
|
@@ -1453,13 +1452,13 @@ function ta() {
|
|
1453
1452
|
disableClickPropagation: Ce,
|
1454
1453
|
preventDefault: ot,
|
1455
1454
|
stop: ie,
|
1456
|
-
getPropagationPath:
|
1457
|
-
getMousePosition:
|
1458
|
-
getWheelDelta:
|
1455
|
+
getPropagationPath: An,
|
1456
|
+
getMousePosition: En,
|
1457
|
+
getWheelDelta: Bn,
|
1459
1458
|
isExternalTarget: Bi,
|
1460
1459
|
addListener: S,
|
1461
1460
|
removeListener: W
|
1462
|
-
},
|
1461
|
+
}, In = be.extend({
|
1463
1462
|
// @method run(el: HTMLElement, newPos: Point, duration?: Number, easeLinearity?: Number)
|
1464
1463
|
// Run an animation of a given element to a new position, optionally setting
|
1465
1464
|
// duration in seconds (`0.25` by default) and easing linearity factor (3rd
|
@@ -1568,7 +1567,7 @@ function ta() {
|
|
1568
1567
|
trackResize: !0
|
1569
1568
|
},
|
1570
1569
|
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 = xe && y.any3d && !y.mobileOpera && this.options.zoomAnimation, this._zoomAnimated && (this._createAnimProxy(), S(this._proxy,
|
1570
|
+
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, Sn, this._catchTransitionEnd, this)), this._addLayers(this.options.layers);
|
1572
1571
|
},
|
1573
1572
|
// @section Methods for modifying map state
|
1574
1573
|
// @method setView(center: LatLng, zoom: Number, options?: Zoom/pan options): this
|
@@ -1605,7 +1604,7 @@ function ta() {
|
|
1605
1604
|
// @method setZoomAround(offset: Point, zoom: Number, options: Zoom options): this
|
1606
1605
|
// Zooms the map while keeping a specified pixel on the map (relative to the top-left corner) stationary.
|
1607
1606
|
setZoomAround: function(t, e, i) {
|
1608
|
-
var n = this.getZoomScale(e), o = this.getSize().divideBy(2), s = t instanceof O ? t : this.latLngToContainerPoint(t),
|
1607
|
+
var n = this.getZoomScale(e), o = this.getSize().divideBy(2), s = t instanceof O ? t : this.latLngToContainerPoint(t), h = s.subtract(o).multiplyBy(1 - 1 / n), u = this.containerPointToLatLng(o.add(h));
|
1609
1608
|
return this.setView(u, e, { zoom: i });
|
1610
1609
|
},
|
1611
1610
|
_getBoundsCenterZoom: function(t, e) {
|
@@ -1616,7 +1615,7 @@ function ta() {
|
|
1616
1615
|
center: t.getCenter(),
|
1617
1616
|
zoom: o
|
1618
1617
|
};
|
1619
|
-
var s = n.subtract(i).divideBy(2),
|
1618
|
+
var s = n.subtract(i).divideBy(2), h = this.project(t.getSouthWest(), o), u = this.project(t.getNorthEast(), o), c = this.unproject(h.add(u).divideBy(2).add(s), o);
|
1620
1619
|
return {
|
1621
1620
|
center: c,
|
1622
1621
|
zoom: o
|
@@ -1649,7 +1648,7 @@ function ta() {
|
|
1649
1648
|
return this.fire("moveend");
|
1650
1649
|
if (e.animate !== !0 && !this.getSize().contains(t))
|
1651
1650
|
return this._resetView(this.unproject(this.project(this.getCenter()).add(t)), this.getZoom()), this;
|
1652
|
-
if (this._panAnim || (this._panAnim = new
|
1651
|
+
if (this._panAnim || (this._panAnim = new In(), this._panAnim.on({
|
1653
1652
|
step: this._onPanTransitionStep,
|
1654
1653
|
end: this._onPanTransitionEnd
|
1655
1654
|
}, this)), e.noMoveStart || this.fire("movestart"), e.animate !== !1) {
|
@@ -1667,12 +1666,12 @@ function ta() {
|
|
1667
1666
|
if (i = i || {}, i.animate === !1 || !y.any3d)
|
1668
1667
|
return this.setView(t, e, i);
|
1669
1668
|
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(
|
1669
|
+
var n = this.project(this.getCenter()), o = this.project(t), s = this.getSize(), h = this._zoom;
|
1670
|
+
t = B(t), e = e === void 0 ? h : e;
|
1671
|
+
var u = Math.max(s.x, s.y), c = u * this.getZoomScale(h, e), f = o.distanceTo(n) || 1, _ = 1.42, P = _ * _;
|
1673
1672
|
function k(tt) {
|
1674
|
-
var si = tt ? -1 : 1,
|
1675
|
-
return
|
1673
|
+
var si = tt ? -1 : 1, vr = tt ? c : u, yr = c * c - u * u + si * P * P * f * f, wr = 2 * vr * P * f, qi = yr / wr, _o = Math.sqrt(qi * qi + 1) - qi, br = _o < 1e-9 ? -18 : Math.log(_o);
|
1674
|
+
return br;
|
1676
1675
|
}
|
1677
1676
|
function ht(tt) {
|
1678
1677
|
return (Math.exp(tt) - Math.exp(-tt)) / 2;
|
@@ -1687,22 +1686,22 @@ function ta() {
|
|
1687
1686
|
function me(tt) {
|
1688
1687
|
return u * (it(pt) / it(pt + _ * tt));
|
1689
1688
|
}
|
1690
|
-
function
|
1689
|
+
function pr(tt) {
|
1691
1690
|
return u * (it(pt) * bt(pt + _ * tt) - ht(pt)) / P;
|
1692
1691
|
}
|
1693
|
-
function
|
1692
|
+
function mr(tt) {
|
1694
1693
|
return 1 - Math.pow(1 - tt, 1.5);
|
1695
1694
|
}
|
1696
|
-
var
|
1697
|
-
function
|
1698
|
-
var tt = (Date.now() -
|
1699
|
-
tt <= 1 ? (this._flyToFrame = nt(
|
1700
|
-
this.unproject(n.add(o.subtract(n).multiplyBy(
|
1701
|
-
this.getScaleZoom(u / me(si),
|
1695
|
+
var _r = Date.now(), po = (k(1) - pt) / _, gr = i.duration ? 1e3 * i.duration : 1e3 * po * 0.8;
|
1696
|
+
function mo() {
|
1697
|
+
var tt = (Date.now() - _r) / gr, si = mr(tt) * po;
|
1698
|
+
tt <= 1 ? (this._flyToFrame = nt(mo, this), this._move(
|
1699
|
+
this.unproject(n.add(o.subtract(n).multiplyBy(pr(si) / f)), h),
|
1700
|
+
this.getScaleZoom(u / me(si), h),
|
1702
1701
|
{ flyTo: !0 }
|
1703
1702
|
)) : this._move(t, e)._moveEnd(!0);
|
1704
1703
|
}
|
1705
|
-
return this._moveStart(!0, i.noMoveStart),
|
1704
|
+
return this._moveStart(!0, i.noMoveStart), mo.call(this), this;
|
1706
1705
|
},
|
1707
1706
|
// @method flyToBounds(bounds: LatLngBounds, options?: fitBounds options): this
|
1708
1707
|
// Sets the view of the map with a smooth animation like [`flyTo`](#map-flyto),
|
@@ -1742,7 +1741,7 @@ function ta() {
|
|
1742
1741
|
// the map will not be panned.
|
1743
1742
|
panInside: function(t, e) {
|
1744
1743
|
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),
|
1744
|
+
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), h = this.getPixelBounds(), u = dt([h.min.add(i), h.max.subtract(n)]), c = u.getSize();
|
1746
1745
|
if (!u.contains(s)) {
|
1747
1746
|
this._enforcingBounds = !0;
|
1748
1747
|
var f = s.subtract(u.getCenter()), _ = u.extend(s).getSize().subtract(c);
|
@@ -1828,8 +1827,8 @@ function ta() {
|
|
1828
1827
|
if (this._container._leaflet_id) {
|
1829
1828
|
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
1829
|
if (s.setView) {
|
1831
|
-
var
|
1832
|
-
this.setView(n, s.maxZoom ? Math.min(
|
1830
|
+
var h = this.getBoundsZoom(o);
|
1831
|
+
this.setView(n, s.maxZoom ? Math.min(h, s.maxZoom) : h);
|
1833
1832
|
}
|
1834
1833
|
var u = {
|
1835
1834
|
latlng: n,
|
@@ -1912,7 +1911,7 @@ function ta() {
|
|
1912
1911
|
// the given bounds in its entirety.
|
1913
1912
|
getBoundsZoom: function(t, e, i) {
|
1914
1913
|
t = Q(t), i = M(i || [0, 0]);
|
1915
|
-
var n = this.getZoom() || 0, o = this.getMinZoom(), s = this.getMaxZoom(),
|
1914
|
+
var n = this.getZoom() || 0, o = this.getMinZoom(), s = this.getMaxZoom(), h = t.getNorthWest(), u = t.getSouthEast(), c = this.getSize().subtract(i), f = dt(this.project(u, n), this.project(h, 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
1915
|
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
1916
|
},
|
1918
1917
|
// @method getSize(): Point
|
@@ -2060,7 +2059,7 @@ function ta() {
|
|
2060
2059
|
// Given a MouseEvent object, returns the pixel coordinate relative to the
|
2061
2060
|
// map container where the event took place.
|
2062
2061
|
mouseEventToContainerPoint: function(t) {
|
2063
|
-
return
|
2062
|
+
return En(t, this._container);
|
2064
2063
|
},
|
2065
2064
|
// @method mouseEventToLayerPoint(ev: MouseEvent): Point
|
2066
2065
|
// Given a MouseEvent object, returns the pixel coordinate relative to
|
@@ -2076,7 +2075,7 @@ function ta() {
|
|
2076
2075
|
},
|
2077
2076
|
// map initialization methods
|
2078
2077
|
_initContainer: function(t) {
|
2079
|
-
var e = this._container =
|
2078
|
+
var e = this._container = Cn(t);
|
2080
2079
|
if (e) {
|
2081
2080
|
if (e._leaflet_id)
|
2082
2081
|
throw new Error("Map container is already initialized.");
|
@@ -2152,16 +2151,16 @@ function ta() {
|
|
2152
2151
|
Math.max(Math.abs(t.x), Math.abs(t.y)) >= this.options.transform3DLimit && this._resetView(this.getCenter(), this.getZoom());
|
2153
2152
|
},
|
2154
2153
|
_findEventTargets: function(t, e) {
|
2155
|
-
for (var i = [], n, o = e === "mouseout" || e === "mouseover", s = t.target || t.srcElement,
|
2154
|
+
for (var i = [], n, o = e === "mouseout" || e === "mouseover", s = t.target || t.srcElement, h = !1; s; ) {
|
2156
2155
|
if (n = this._targets[v(s)], n && (e === "click" || e === "preclick") && this._draggableMoved(n)) {
|
2157
|
-
|
2156
|
+
h = !0;
|
2158
2157
|
break;
|
2159
2158
|
}
|
2160
2159
|
if (n && n.listens(e, !0) && (o && !Bi(s, t) || (i.push(n), o)) || s === this._container)
|
2161
2160
|
break;
|
2162
2161
|
s = s.parentNode;
|
2163
2162
|
}
|
2164
|
-
return !i.length && !
|
2163
|
+
return !i.length && !h && !o && this.listens(e, !0) && (i = [this]), i;
|
2165
2164
|
},
|
2166
2165
|
_isClickDisabled: function(t) {
|
2167
2166
|
for (; t && t !== this._container; ) {
|
@@ -2185,8 +2184,8 @@ function ta() {
|
|
2185
2184
|
}
|
2186
2185
|
var o = this._findEventTargets(t, e);
|
2187
2186
|
if (i) {
|
2188
|
-
for (var s = [],
|
2189
|
-
i[
|
2187
|
+
for (var s = [], h = 0; h < i.length; h++)
|
2188
|
+
i[h].listens(e, !0) && s.push(i[h]);
|
2190
2189
|
o = s.concat(o);
|
2191
2190
|
}
|
2192
2191
|
if (o.length) {
|
@@ -2198,8 +2197,8 @@ function ta() {
|
|
2198
2197
|
var f = u.getLatLng && (!u._radius || u._radius <= 10);
|
2199
2198
|
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
2199
|
}
|
2201
|
-
for (
|
2202
|
-
if (o[
|
2200
|
+
for (h = 0; h < o.length; h++)
|
2201
|
+
if (o[h].fire(e, c, !0), c.originalEvent._stopped || o[h].options.bubblingMouseEvents === !1 && w(this._mouseEvents, e) !== -1)
|
2203
2202
|
return;
|
2204
2203
|
}
|
2205
2204
|
},
|
@@ -2259,8 +2258,8 @@ function ta() {
|
|
2259
2258
|
_limitCenter: function(t, e, i) {
|
2260
2259
|
if (!i)
|
2261
2260
|
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(
|
2261
|
+
var n = this.project(t, e), o = this.getSize().divideBy(2), s = new K(n.subtract(o), n.add(o)), h = this._getBoundsOffset(s, i, e);
|
2262
|
+
return Math.abs(h.x) <= 1 && Math.abs(h.y) <= 1 ? t : this.unproject(n.add(h), e);
|
2264
2263
|
},
|
2265
2264
|
// adjust offset for view to get inside bounds
|
2266
2265
|
_limitOffset: function(t, e) {
|
@@ -2274,8 +2273,8 @@ function ta() {
|
|
2274
2273
|
var n = dt(
|
2275
2274
|
this.project(e.getNorthEast(), i),
|
2276
2275
|
this.project(e.getSouthWest(), i)
|
2277
|
-
), o = n.min.subtract(t.min), s = n.max.subtract(t.max),
|
2278
|
-
return new O(
|
2276
|
+
), o = n.min.subtract(t.min), s = n.max.subtract(t.max), h = this._rebound(o.x, -s.x), u = this._rebound(o.y, -s.y);
|
2277
|
+
return new O(h, u);
|
2279
2278
|
},
|
2280
2279
|
_rebound: function(t, e) {
|
2281
2280
|
return t + e > 0 ? Math.round(t - e) / 2 : Math.max(0, Math.ceil(t)) - Math.max(0, Math.floor(e));
|
@@ -2335,10 +2334,10 @@ function ta() {
|
|
2335
2334
|
this._animatingZoom && (this._mapPane && Y(this._mapPane, "leaflet-zoom-anim"), this._animatingZoom = !1, this._move(this._animateToCenter, this._animateToZoom, void 0, !0), this._tempFireZoomEvent && this.fire("zoom"), delete this._tempFireZoomEvent, this.fire("move"), this._moveEnd(!0));
|
2336
2335
|
}
|
2337
2336
|
});
|
2338
|
-
function
|
2337
|
+
function zs(t, e) {
|
2339
2338
|
return new I(t, e);
|
2340
2339
|
}
|
2341
|
-
var xt =
|
2340
|
+
var xt = It.extend({
|
2342
2341
|
// @section
|
2343
2342
|
// @aka Control Options
|
2344
2343
|
options: {
|
@@ -2402,8 +2401,8 @@ function ta() {
|
|
2402
2401
|
_initControlPos: function() {
|
2403
2402
|
var t = this._controlCorners = {}, e = "leaflet-", i = this._controlContainer = D("div", e + "control-container", this._container);
|
2404
2403
|
function n(o, s) {
|
2405
|
-
var
|
2406
|
-
t[o + s] = D("div",
|
2404
|
+
var h = e + o + " " + e + s;
|
2405
|
+
t[o + s] = D("div", h, i);
|
2407
2406
|
}
|
2408
2407
|
n("top", "left"), n("top", "right"), n("bottom", "left"), n("bottom", "right");
|
2409
2408
|
},
|
@@ -2413,7 +2412,7 @@ function ta() {
|
|
2413
2412
|
J(this._controlContainer), delete this._controlCorners, delete this._controlContainer;
|
2414
2413
|
}
|
2415
2414
|
});
|
2416
|
-
var
|
2415
|
+
var Zn = xt.extend({
|
2417
2416
|
// @section
|
2418
2417
|
// @aka Control.Layers options
|
2419
2418
|
options: {
|
@@ -2550,8 +2549,8 @@ function ta() {
|
|
2550
2549
|
o.innerHTML = " " + t.name;
|
2551
2550
|
var s = document.createElement("span");
|
2552
2551
|
e.appendChild(s), s.appendChild(n), s.appendChild(o);
|
2553
|
-
var
|
2554
|
-
return
|
2552
|
+
var h = t.overlay ? this._overlaysList : this._baseLayersList;
|
2553
|
+
return h.appendChild(e), this._checkDisabledLayers(), e;
|
2555
2554
|
},
|
2556
2555
|
_onInputClick: function() {
|
2557
2556
|
if (!this._preventClick) {
|
@@ -2581,8 +2580,8 @@ function ta() {
|
|
2581
2580
|
W(t, "click", ot), e._preventClick = !1;
|
2582
2581
|
});
|
2583
2582
|
}
|
2584
|
-
}),
|
2585
|
-
return new
|
2583
|
+
}), As = function(t, e, i) {
|
2584
|
+
return new Zn(t, e, i);
|
2586
2585
|
}, Ii = xt.extend({
|
2587
2586
|
// @section
|
2588
2587
|
// @aka Control.Zoom options
|
@@ -2646,9 +2645,9 @@ function ta() {
|
|
2646
2645
|
}), I.addInitHook(function() {
|
2647
2646
|
this.options.zoomControl && (this.zoomControl = new Ii(), this.addControl(this.zoomControl));
|
2648
2647
|
});
|
2649
|
-
var
|
2648
|
+
var Es = function(t) {
|
2650
2649
|
return new Ii(t);
|
2651
|
-
},
|
2650
|
+
}, Rn = xt.extend({
|
2652
2651
|
// @section
|
2653
2652
|
// @aka Control.Scale options
|
2654
2653
|
options: {
|
@@ -2700,16 +2699,16 @@ function ta() {
|
|
2700
2699
|
var e = Math.pow(10, (Math.floor(t) + "").length - 1), i = t / e;
|
2701
2700
|
return i = i >= 10 ? 10 : i >= 5 ? 5 : i >= 3 ? 3 : i >= 2 ? 2 : 1, e * i;
|
2702
2701
|
}
|
2703
|
-
}),
|
2704
|
-
return new
|
2705
|
-
},
|
2702
|
+
}), Bs = function(t) {
|
2703
|
+
return new Rn(t);
|
2704
|
+
}, Is = '<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg>', Zi = xt.extend({
|
2706
2705
|
// @section
|
2707
2706
|
// @aka Control.Attribution options
|
2708
2707
|
options: {
|
2709
2708
|
position: "bottomright",
|
2710
2709
|
// @option prefix: String|false = 'Leaflet'
|
2711
2710
|
// The HTML text shown before the attributions. Pass `false` to disable.
|
2712
|
-
prefix: '<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">' + (y.inlineSvg ?
|
2711
|
+
prefix: '<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">' + (y.inlineSvg ? Is + " " : "") + "Leaflet</a>"
|
2713
2712
|
},
|
2714
2713
|
initialize: function(t) {
|
2715
2714
|
N(this, t), this._attributions = {};
|
@@ -2758,11 +2757,11 @@ function ta() {
|
|
2758
2757
|
}), I.addInitHook(function() {
|
2759
2758
|
this.options.attributionControl && new Zi().addTo(this);
|
2760
2759
|
});
|
2761
|
-
var
|
2760
|
+
var Zs = function(t) {
|
2762
2761
|
return new Zi(t);
|
2763
2762
|
};
|
2764
|
-
xt.Layers =
|
2765
|
-
var kt =
|
2763
|
+
xt.Layers = Zn, xt.Zoom = Ii, xt.Scale = Rn, xt.Attribution = Zi, ke.layers = As, ke.zoom = Es, ke.scale = Bs, ke.attribution = Zs;
|
2764
|
+
var kt = It.extend({
|
2766
2765
|
initialize: function(t) {
|
2767
2766
|
this._map = t;
|
2768
2767
|
},
|
@@ -2791,7 +2790,7 @@ function ta() {
|
|
2791
2790
|
kt.addTo = function(t, e) {
|
2792
2791
|
return t.addHandler(e, this), this;
|
2793
2792
|
};
|
2794
|
-
var
|
2793
|
+
var Rs = { Events: _t }, Nn = y.touch ? "touchstart mousedown" : "mousedown", Gt = be.extend({
|
2795
2794
|
options: {
|
2796
2795
|
// @section
|
2797
2796
|
// @aka Draggable options
|
@@ -2808,12 +2807,12 @@ function ta() {
|
|
2808
2807
|
// @method enable()
|
2809
2808
|
// Enables the dragging ability
|
2810
2809
|
enable: function() {
|
2811
|
-
this._enabled || (S(this._dragStartTarget,
|
2810
|
+
this._enabled || (S(this._dragStartTarget, Nn, this._onDown, this), this._enabled = !0);
|
2812
2811
|
},
|
2813
2812
|
// @method disable()
|
2814
2813
|
// Disables the dragging ability
|
2815
2814
|
disable: function() {
|
2816
|
-
this._enabled && (Gt._dragging === this && this.finishDrag(!0), W(this._dragStartTarget,
|
2815
|
+
this._enabled && (Gt._dragging === this && this.finishDrag(!0), W(this._dragStartTarget, Nn, this._onDown, this), this._enabled = !1, this._moved = !1);
|
2817
2816
|
},
|
2818
2817
|
_onDown: function(t) {
|
2819
2818
|
if (this._enabled && (this._moved = !1, !Li(this._element, "leaflet-zoom-anim"))) {
|
@@ -2823,7 +2822,7 @@ function ta() {
|
|
2823
2822
|
}
|
2824
2823
|
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
2824
|
this.fire("down");
|
2826
|
-
var e = t.touches ? t.touches[0] : t, i =
|
2825
|
+
var e = t.touches ? t.touches[0] : t, i = kn(this._element);
|
2827
2826
|
this._startPoint = new O(e.clientX, e.clientY), this._startPos = te(this._element), this._parentScale = Ci(i);
|
2828
2827
|
var n = t.type === "mousedown";
|
2829
2828
|
S(document, n ? "mousemove" : "touchmove", this._onMove, this), S(document, n ? "mouseup" : "touchend touchcancel", this._onUp, this);
|
@@ -2856,19 +2855,19 @@ function ta() {
|
|
2856
2855
|
});
|
2857
2856
|
}
|
2858
2857
|
});
|
2859
|
-
function
|
2860
|
-
var n, o = [1, 4, 2, 8], s,
|
2858
|
+
function Dn(t, e, i) {
|
2859
|
+
var n, o = [1, 4, 2, 8], s, h, u, c, f, _, P, k;
|
2861
2860
|
for (s = 0, _ = t.length; s < _; s++)
|
2862
2861
|
t[s]._code = ne(t[s], e);
|
2863
2862
|
for (u = 0; u < 4; u++) {
|
2864
|
-
for (P = o[u], n = [], s = 0, _ = t.length,
|
2865
|
-
c = t[s], f = t[
|
2863
|
+
for (P = o[u], n = [], s = 0, _ = t.length, h = _ - 1; s < _; h = s++)
|
2864
|
+
c = t[s], f = t[h], 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
2865
|
t = n;
|
2867
2866
|
}
|
2868
2867
|
return t;
|
2869
2868
|
}
|
2870
|
-
function
|
2871
|
-
var i, n, o, s,
|
2869
|
+
function Hn(t, e) {
|
2870
|
+
var i, n, o, s, h, u, c, f, _;
|
2872
2871
|
if (!t || t.length === 0)
|
2873
2872
|
throw new Error("latlngs not passed");
|
2874
2873
|
wt(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);
|
@@ -2880,7 +2879,7 @@ function ta() {
|
|
2880
2879
|
bt.push(e.project(B([pt.lat - P.lat, pt.lng - P.lng])));
|
2881
2880
|
}
|
2882
2881
|
for (u = c = f = 0, i = 0, n = it - 1; i < it; n = i++)
|
2883
|
-
o = bt[i], s = bt[n],
|
2882
|
+
o = bt[i], s = bt[n], h = o.y * s.x - s.y * o.x, c += (o.x + s.x) * h, f += (o.y + s.y) * h, u += h * 3;
|
2884
2883
|
u === 0 ? _ = bt[0] : _ = [c / u, f / u];
|
2885
2884
|
var me = e.unproject(M(_));
|
2886
2885
|
return B([me.lat + P.lat, me.lng + P.lng]);
|
@@ -2892,78 +2891,78 @@ function ta() {
|
|
2892
2891
|
}
|
2893
2892
|
return B([e / n, i / n]);
|
2894
2893
|
}
|
2895
|
-
var
|
2894
|
+
var Ns = {
|
2896
2895
|
__proto__: null,
|
2897
|
-
clipPolygon:
|
2898
|
-
polygonCenter:
|
2896
|
+
clipPolygon: Dn,
|
2897
|
+
polygonCenter: Hn,
|
2899
2898
|
centroid: Ri
|
2900
2899
|
};
|
2901
|
-
function
|
2900
|
+
function Fn(t, e) {
|
2902
2901
|
if (!e || !t.length)
|
2903
2902
|
return t.slice();
|
2904
2903
|
var i = e * e;
|
2905
|
-
return t =
|
2904
|
+
return t = Fs(t, i), t = Hs(t, i), t;
|
2906
2905
|
}
|
2907
|
-
function
|
2906
|
+
function Vn(t, e, i) {
|
2908
2907
|
return Math.sqrt(ze(t, e, i, !0));
|
2909
2908
|
}
|
2910
|
-
function
|
2909
|
+
function Ds(t, e, i) {
|
2911
2910
|
return ze(t, e, i);
|
2912
2911
|
}
|
2913
|
-
function
|
2912
|
+
function Hs(t, e) {
|
2914
2913
|
var i = t.length, n = typeof Uint8Array < "u" ? Uint8Array : Array, o = new n(i);
|
2915
2914
|
o[0] = o[i - 1] = 1, Ni(t, o, e, 0, i - 1);
|
2916
|
-
var s,
|
2915
|
+
var s, h = [];
|
2917
2916
|
for (s = 0; s < i; s++)
|
2918
|
-
o[s] &&
|
2919
|
-
return
|
2917
|
+
o[s] && h.push(t[s]);
|
2918
|
+
return h;
|
2920
2919
|
}
|
2921
2920
|
function Ni(t, e, i, n, o) {
|
2922
|
-
var s = 0,
|
2921
|
+
var s = 0, h, u, c;
|
2923
2922
|
for (u = n + 1; u <= o - 1; u++)
|
2924
|
-
c = ze(t[u], t[n], t[o], !0), c > s && (
|
2925
|
-
s > i && (e[
|
2923
|
+
c = ze(t[u], t[n], t[o], !0), c > s && (h = u, s = c);
|
2924
|
+
s > i && (e[h] = 1, Ni(t, e, i, n, h), Ni(t, e, i, h, o));
|
2926
2925
|
}
|
2927
|
-
function
|
2926
|
+
function Fs(t, e) {
|
2928
2927
|
for (var i = [t[0]], n = 1, o = 0, s = t.length; n < s; n++)
|
2929
|
-
|
2928
|
+
Vs(t[n], t[o]) > e && (i.push(t[n]), o = n);
|
2930
2929
|
return o < s - 1 && i.push(t[s - 1]), i;
|
2931
2930
|
}
|
2932
|
-
var
|
2933
|
-
function
|
2934
|
-
var s = n ?
|
2935
|
-
for (
|
2936
|
-
if (!(s |
|
2931
|
+
var Wn;
|
2932
|
+
function Un(t, e, i, n, o) {
|
2933
|
+
var s = n ? Wn : ne(t, i), h = ne(e, i), u, c, f;
|
2934
|
+
for (Wn = h; ; ) {
|
2935
|
+
if (!(s | h))
|
2937
2936
|
return [t, e];
|
2938
|
-
if (s &
|
2937
|
+
if (s & h)
|
2939
2938
|
return !1;
|
2940
|
-
u = s ||
|
2939
|
+
u = s || h, c = Ke(t, e, u, i, o), f = ne(c, i), u === s ? (t = c, s = f) : (e = c, h = f);
|
2941
2940
|
}
|
2942
2941
|
}
|
2943
2942
|
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) /
|
2943
|
+
var s = e.x - t.x, h = e.y - t.y, u = n.min, c = n.max, f, _;
|
2944
|
+
return i & 8 ? (f = t.x + s * (c.y - t.y) / h, _ = c.y) : i & 4 ? (f = t.x + s * (u.y - t.y) / h, _ = u.y) : i & 2 ? (f = c.x, _ = t.y + h * (c.x - t.x) / s) : i & 1 && (f = u.x, _ = t.y + h * (u.x - t.x) / s), new O(f, _, o);
|
2946
2945
|
}
|
2947
2946
|
function ne(t, e) {
|
2948
2947
|
var i = 0;
|
2949
2948
|
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
2949
|
}
|
2951
|
-
function
|
2950
|
+
function Vs(t, e) {
|
2952
2951
|
var i = e.x - t.x, n = e.y - t.y;
|
2953
2952
|
return i * i + n * n;
|
2954
2953
|
}
|
2955
2954
|
function ze(t, e, i, n) {
|
2956
|
-
var o = e.x, s = e.y,
|
2957
|
-
return c > 0 && (f = ((t.x - o) *
|
2955
|
+
var o = e.x, s = e.y, h = i.x - o, u = i.y - s, c = h * h + u * u, f;
|
2956
|
+
return c > 0 && (f = ((t.x - o) * h + (t.y - s) * u) / c, f > 1 ? (o = i.x, s = i.y) : f > 0 && (o += h * f, s += u * f)), h = t.x - o, u = t.y - s, n ? h * h + u * u : new O(o, s);
|
2958
2957
|
}
|
2959
2958
|
function wt(t) {
|
2960
2959
|
return !V(t[0]) || typeof t[0][0] != "object" && typeof t[0][0] < "u";
|
2961
2960
|
}
|
2962
|
-
function
|
2961
|
+
function qn(t) {
|
2963
2962
|
return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."), wt(t);
|
2964
2963
|
}
|
2965
|
-
function
|
2966
|
-
var i, n, o, s,
|
2964
|
+
function jn(t, e) {
|
2965
|
+
var i, n, o, s, h, u, c, f;
|
2967
2966
|
if (!t || t.length === 0)
|
2968
2967
|
throw new Error("latlngs not passed");
|
2969
2968
|
wt(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);
|
@@ -2980,28 +2979,28 @@ function ta() {
|
|
2980
2979
|
f = it[0];
|
2981
2980
|
else
|
2982
2981
|
for (i = 0, s = 0; i < ht - 1; i++)
|
2983
|
-
if (
|
2982
|
+
if (h = it[i], u = it[i + 1], o = h.distanceTo(u), s += o, s > n) {
|
2984
2983
|
c = (s - n) / o, f = [
|
2985
|
-
u.x - c * (u.x -
|
2986
|
-
u.y - c * (u.y -
|
2984
|
+
u.x - c * (u.x - h.x),
|
2985
|
+
u.y - c * (u.y - h.y)
|
2987
2986
|
];
|
2988
2987
|
break;
|
2989
2988
|
}
|
2990
2989
|
var pt = e.unproject(M(f));
|
2991
2990
|
return B([pt.lat + _.lat, pt.lng + _.lng]);
|
2992
2991
|
}
|
2993
|
-
var
|
2992
|
+
var Ws = {
|
2994
2993
|
__proto__: null,
|
2995
|
-
simplify:
|
2996
|
-
pointToSegmentDistance:
|
2997
|
-
closestPointOnSegment:
|
2998
|
-
clipSegment:
|
2994
|
+
simplify: Fn,
|
2995
|
+
pointToSegmentDistance: Vn,
|
2996
|
+
closestPointOnSegment: Ds,
|
2997
|
+
clipSegment: Un,
|
2999
2998
|
_getEdgeIntersection: Ke,
|
3000
2999
|
_getBitCode: ne,
|
3001
3000
|
_sqClosestPointOnSegment: ze,
|
3002
3001
|
isFlat: wt,
|
3003
|
-
_flat:
|
3004
|
-
polylineCenter:
|
3002
|
+
_flat: qn,
|
3003
|
+
polylineCenter: jn
|
3005
3004
|
}, Di = {
|
3006
3005
|
project: function(t) {
|
3007
3006
|
return new O(t.lng, t.lat);
|
@@ -3015,31 +3014,31 @@ function ta() {
|
|
3015
3014
|
R_MINOR: 6356752314245179e-9,
|
3016
3015
|
bounds: new K([-2003750834279e-5, -1549657073972e-5], [2003750834279e-5, 1876465623138e-5]),
|
3017
3016
|
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),
|
3017
|
+
var e = Math.PI / 180, i = this.R, n = t.lat * e, o = this.R_MINOR / i, s = Math.sqrt(1 - o * o), h = s * Math.sin(n), u = Math.tan(Math.PI / 4 - n / 2) / Math.pow((1 - h) / (1 + h), s / 2);
|
3019
3018
|
return n = -i * Math.log(Math.max(u, 1e-10)), new O(t.lng * e * i, n);
|
3020
3019
|
},
|
3021
3020
|
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(
|
3021
|
+
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), h = Math.PI / 2 - 2 * Math.atan(s), u = 0, c = 0.1, f; u < 15 && Math.abs(c) > 1e-7; u++)
|
3022
|
+
f = o * Math.sin(h), f = Math.pow((1 - f) / (1 + f), o / 2), c = Math.PI / 2 - 2 * Math.atan(s * f) - h, h += c;
|
3023
|
+
return new F(h * e, t.x * e / i);
|
3025
3024
|
}
|
3026
|
-
},
|
3025
|
+
}, Us = {
|
3027
3026
|
__proto__: null,
|
3028
3027
|
LonLat: Di,
|
3029
3028
|
Mercator: Hi,
|
3030
3029
|
SphericalMercator: di
|
3031
|
-
},
|
3030
|
+
}, qs = p({}, jt, {
|
3032
3031
|
code: "EPSG:3395",
|
3033
3032
|
projection: Hi,
|
3034
3033
|
transformation: function() {
|
3035
3034
|
var t = 0.5 / (Math.PI * Hi.R);
|
3036
3035
|
return Le(t, 0.5, -t, 0.5);
|
3037
3036
|
}()
|
3038
|
-
}),
|
3037
|
+
}), Gn = p({}, jt, {
|
3039
3038
|
code: "EPSG:4326",
|
3040
3039
|
projection: Di,
|
3041
3040
|
transformation: Le(1 / 180, 1, -1 / 180, 0.5)
|
3042
|
-
}),
|
3041
|
+
}), js = p({}, Zt, {
|
3043
3042
|
projection: Di,
|
3044
3043
|
transformation: Le(1, 0, -1, 0),
|
3045
3044
|
scale: function(t) {
|
@@ -3054,7 +3053,7 @@ function ta() {
|
|
3054
3053
|
},
|
3055
3054
|
infinite: !0
|
3056
3055
|
});
|
3057
|
-
|
3056
|
+
Zt.Earth = jt, Zt.EPSG3395 = qs, Zt.EPSG3857 = pi, Zt.EPSG900913 = Qo, Zt.EPSG4326 = Gn, Zt.Simple = js;
|
3058
3057
|
var Tt = be.extend({
|
3059
3058
|
// Classes extending `L.Layer` will inherit the following options:
|
3060
3059
|
options: {
|
@@ -3258,9 +3257,9 @@ function ta() {
|
|
3258
3257
|
getLayerId: function(t) {
|
3259
3258
|
return v(t);
|
3260
3259
|
}
|
3261
|
-
}),
|
3260
|
+
}), Gs = function(t, e) {
|
3262
3261
|
return new ue(t, e);
|
3263
|
-
},
|
3262
|
+
}, Rt = ue.extend({
|
3264
3263
|
addLayer: function(t) {
|
3265
3264
|
return this.hasLayer(t) ? this : (t.addEventParent(this), ue.prototype.addLayer.call(this, t), this.fire("layeradd", { layer: t }));
|
3266
3265
|
},
|
@@ -3292,9 +3291,9 @@ function ta() {
|
|
3292
3291
|
}
|
3293
3292
|
return t;
|
3294
3293
|
}
|
3295
|
-
}),
|
3296
|
-
return new
|
3297
|
-
}, ce =
|
3294
|
+
}), Ks = function(t, e) {
|
3295
|
+
return new Rt(t, e);
|
3296
|
+
}, ce = It.extend({
|
3298
3297
|
/* @section
|
3299
3298
|
* @aka Icon options
|
3300
3299
|
*
|
@@ -3380,7 +3379,7 @@ function ta() {
|
|
3380
3379
|
return y.retina && this.options[t + "RetinaUrl"] || this.options[t + "Url"];
|
3381
3380
|
}
|
3382
3381
|
});
|
3383
|
-
function
|
3382
|
+
function Js(t) {
|
3384
3383
|
return new ce(t);
|
3385
3384
|
}
|
3386
3385
|
var Ae = ce.extend({
|
@@ -3411,7 +3410,7 @@ function ta() {
|
|
3411
3410
|
var i = document.querySelector('link[href$="leaflet.css"]');
|
3412
3411
|
return i ? i.href.substring(0, i.href.length - 11 - 1) : "";
|
3413
3412
|
}
|
3414
|
-
}),
|
3413
|
+
}), Kn = kt.extend({
|
3415
3414
|
initialize: function(t) {
|
3416
3415
|
this._marker = t;
|
3417
3416
|
},
|
@@ -3436,14 +3435,14 @@ function ta() {
|
|
3436
3435
|
return this._draggable && this._draggable._moved;
|
3437
3436
|
},
|
3438
3437
|
_adjustPan: function(t) {
|
3439
|
-
var e = this._marker, i = e._map, n = this._marker.options.autoPanSpeed, o = this._marker.options.autoPanPadding, s = te(e._icon),
|
3440
|
-
|
3441
|
-
|
3438
|
+
var e = this._marker, i = e._map, n = this._marker.options.autoPanSpeed, o = this._marker.options.autoPanPadding, s = te(e._icon), h = i.getPixelBounds(), u = i.getPixelOrigin(), c = dt(
|
3439
|
+
h.min._subtract(u).add(o),
|
3440
|
+
h.max._subtract(u).subtract(o)
|
3442
3441
|
);
|
3443
3442
|
if (!c.contains(s)) {
|
3444
3443
|
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) / (
|
3444
|
+
(Math.max(c.max.x, s.x) - c.max.x) / (h.max.x - c.max.x) - (Math.min(c.min.x, s.x) - c.min.x) / (h.min.x - c.min.x),
|
3445
|
+
(Math.max(c.max.y, s.y) - c.max.y) / (h.max.y - c.max.y) - (Math.min(c.min.y, s.y) - c.min.y) / (h.min.y - c.min.y)
|
3447
3446
|
).multiplyBy(n);
|
3448
3447
|
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
3448
|
}
|
@@ -3609,9 +3608,9 @@ function ta() {
|
|
3609
3608
|
this._setPos(e);
|
3610
3609
|
},
|
3611
3610
|
_initInteraction: function() {
|
3612
|
-
if (this.options.interactive && (C(this._icon, "leaflet-interactive"), this.addInteractiveTarget(this._icon),
|
3611
|
+
if (this.options.interactive && (C(this._icon, "leaflet-interactive"), this.addInteractiveTarget(this._icon), Kn)) {
|
3613
3612
|
var t = this.options.draggable;
|
3614
|
-
this.dragging && (t = this.dragging.enabled(), this.dragging.disable()), this.dragging = new
|
3613
|
+
this.dragging && (t = this.dragging.enabled(), this.dragging.disable()), this.dragging = new Kn(this), t && this.dragging.enable();
|
3615
3614
|
}
|
3616
3615
|
},
|
3617
3616
|
// @method setOpacity(opacity: Number): this
|
@@ -3646,7 +3645,7 @@ function ta() {
|
|
3646
3645
|
return this.options.icon.options.tooltipAnchor;
|
3647
3646
|
}
|
3648
3647
|
});
|
3649
|
-
function
|
3648
|
+
function Ys(t, e) {
|
3650
3649
|
return new Je(t, e);
|
3651
3650
|
}
|
3652
3651
|
var Kt = Tt.extend({
|
@@ -3793,7 +3792,7 @@ function ta() {
|
|
3793
3792
|
return t.distanceTo(this._point) <= this._radius + this._clickTolerance();
|
3794
3793
|
}
|
3795
3794
|
});
|
3796
|
-
function
|
3795
|
+
function Xs(t, e) {
|
3797
3796
|
return new Ye(t, e);
|
3798
3797
|
}
|
3799
3798
|
var Fi = Ye.extend({
|
@@ -3825,8 +3824,8 @@ function ta() {
|
|
3825
3824
|
_project: function() {
|
3826
3825
|
var t = this._latlng.lng, e = this._latlng.lat, i = this._map, n = i.options.crs;
|
3827
3826
|
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 -
|
3827
|
+
var o = Math.PI / 180, s = this._mRadius / jt.R / o, h = i.project([e + s, t]), u = i.project([e - s, t]), c = h.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;
|
3828
|
+
(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 - h.y;
|
3830
3829
|
} else {
|
3831
3830
|
var P = n.unproject(n.project(this._latlng).subtract([this._mRadius, 0]));
|
3832
3831
|
this._point = i.latLngToLayerPoint(this._latlng), this._radius = this._point.x - i.latLngToLayerPoint(P).x;
|
@@ -3834,10 +3833,10 @@ function ta() {
|
|
3834
3833
|
this._updateBounds();
|
3835
3834
|
}
|
3836
3835
|
});
|
3837
|
-
function
|
3836
|
+
function Qs(t, e, i) {
|
3838
3837
|
return new Fi(t, e, i);
|
3839
3838
|
}
|
3840
|
-
var
|
3839
|
+
var Nt = Kt.extend({
|
3841
3840
|
// @section
|
3842
3841
|
// @aka Polyline options
|
3843
3842
|
options: {
|
@@ -3870,8 +3869,8 @@ function ta() {
|
|
3870
3869
|
// @method closestLayerPoint(p: Point): Point
|
3871
3870
|
// Returns the point closest to `p` on the Polyline.
|
3872
3871
|
closestLayerPoint: function(t) {
|
3873
|
-
for (var e = 1 / 0, i = null, n = ze, o, s,
|
3874
|
-
for (var c = this._parts[
|
3872
|
+
for (var e = 1 / 0, i = null, n = ze, o, s, h = 0, u = this._parts.length; h < u; h++)
|
3873
|
+
for (var c = this._parts[h], f = 1, _ = c.length; f < _; f++) {
|
3875
3874
|
o = c[f - 1], s = c[f];
|
3876
3875
|
var P = n(t, o, s, !0);
|
3877
3876
|
P < e && (e = P, i = n(t, o, s));
|
@@ -3883,7 +3882,7 @@ function ta() {
|
|
3883
3882
|
getCenter: function() {
|
3884
3883
|
if (!this._map)
|
3885
3884
|
throw new Error("Must add layer to map before using getCenter()");
|
3886
|
-
return
|
3885
|
+
return jn(this._defaultShape(), this._map.options.crs);
|
3887
3886
|
},
|
3888
3887
|
// @method getBounds(): LatLngBounds
|
3889
3888
|
// Returns the `LatLngBounds` of the path.
|
@@ -3922,11 +3921,11 @@ function ta() {
|
|
3922
3921
|
},
|
3923
3922
|
// recursively turns latlngs into a set of rings with projected coordinates
|
3924
3923
|
_projectLatlngs: function(t, e, i) {
|
3925
|
-
var n = t[0] instanceof F, o = t.length, s,
|
3924
|
+
var n = t[0] instanceof F, o = t.length, s, h;
|
3926
3925
|
if (n) {
|
3927
|
-
for (
|
3928
|
-
|
3929
|
-
e.push(
|
3926
|
+
for (h = [], s = 0; s < o; s++)
|
3927
|
+
h[s] = this._map.latLngToLayerPoint(t[s]), i.extend(h[s]);
|
3928
|
+
e.push(h);
|
3930
3929
|
} else
|
3931
3930
|
for (s = 0; s < o; s++)
|
3932
3931
|
this._projectLatlngs(t[s], e, i);
|
@@ -3939,16 +3938,16 @@ function ta() {
|
|
3939
3938
|
this._parts = this._rings;
|
3940
3939
|
return;
|
3941
3940
|
}
|
3942
|
-
var e = this._parts, i, n, o, s,
|
3941
|
+
var e = this._parts, i, n, o, s, h, u, c;
|
3943
3942
|
for (i = 0, o = 0, s = this._rings.length; i < s; i++)
|
3944
|
-
for (c = this._rings[i], n = 0,
|
3945
|
-
u =
|
3943
|
+
for (c = this._rings[i], n = 0, h = c.length; n < h - 1; n++)
|
3944
|
+
u = Un(c[n], c[n + 1], t, n, !0), u && (e[o] = e[o] || [], e[o].push(u[0]), (u[1] !== c[n + 1] || n === h - 2) && (e[o].push(u[1]), o++));
|
3946
3945
|
}
|
3947
3946
|
},
|
3948
3947
|
// simplify each clipped part of the polyline for performance
|
3949
3948
|
_simplifyPoints: function() {
|
3950
3949
|
for (var t = this._parts, e = this.options.smoothFactor, i = 0, n = t.length; i < n; i++)
|
3951
|
-
t[i] =
|
3950
|
+
t[i] = Fn(t[i], e);
|
3952
3951
|
},
|
3953
3952
|
_update: function() {
|
3954
3953
|
this._map && (this._clipPoints(), this._simplifyPoints(), this._updatePath());
|
@@ -3958,21 +3957,21 @@ function ta() {
|
|
3958
3957
|
},
|
3959
3958
|
// Needed by the `Canvas` renderer for interactivity
|
3960
3959
|
_containsPoint: function(t, e) {
|
3961
|
-
var i, n, o, s,
|
3960
|
+
var i, n, o, s, h, u, c = this._clickTolerance();
|
3962
3961
|
if (!this._pxBounds || !this._pxBounds.contains(t))
|
3963
3962
|
return !1;
|
3964
3963
|
for (i = 0, s = this._parts.length; i < s; i++)
|
3965
|
-
for (u = this._parts[i], n = 0,
|
3966
|
-
if (!(!e && n === 0) &&
|
3964
|
+
for (u = this._parts[i], n = 0, h = u.length, o = h - 1; n < h; o = n++)
|
3965
|
+
if (!(!e && n === 0) && Vn(t, u[o], u[n]) <= c)
|
3967
3966
|
return !0;
|
3968
3967
|
return !1;
|
3969
3968
|
}
|
3970
3969
|
});
|
3971
|
-
function
|
3972
|
-
return new
|
3970
|
+
function $s(t, e) {
|
3971
|
+
return new Nt(t, e);
|
3973
3972
|
}
|
3974
|
-
|
3975
|
-
var de =
|
3973
|
+
Nt._flat = qn;
|
3974
|
+
var de = Nt.extend({
|
3976
3975
|
options: {
|
3977
3976
|
fill: !0
|
3978
3977
|
},
|
@@ -3984,14 +3983,14 @@ function ta() {
|
|
3984
3983
|
getCenter: function() {
|
3985
3984
|
if (!this._map)
|
3986
3985
|
throw new Error("Must add layer to map before using getCenter()");
|
3987
|
-
return
|
3986
|
+
return Hn(this._defaultShape(), this._map.options.crs);
|
3988
3987
|
},
|
3989
3988
|
_convertLatLngs: function(t) {
|
3990
|
-
var e =
|
3989
|
+
var e = Nt.prototype._convertLatLngs.call(this, t), i = e.length;
|
3991
3990
|
return i >= 2 && e[0] instanceof F && e[0].equals(e[i - 1]) && e.pop(), e;
|
3992
3991
|
},
|
3993
3992
|
_setLatLngs: function(t) {
|
3994
|
-
|
3993
|
+
Nt.prototype._setLatLngs.call(this, t), wt(this._latlngs) && (this._latlngs = [this._latlngs]);
|
3995
3994
|
},
|
3996
3995
|
_defaultShape: function() {
|
3997
3996
|
return wt(this._latlngs[0]) ? this._latlngs[0] : this._latlngs[0][0];
|
@@ -4004,7 +4003,7 @@ function ta() {
|
|
4004
4003
|
return;
|
4005
4004
|
}
|
4006
4005
|
for (var n = 0, o = this._rings.length, s; n < o; n++)
|
4007
|
-
s =
|
4006
|
+
s = Dn(this._rings[n], t, !0), s.length && this._parts.push(s);
|
4008
4007
|
}
|
4009
4008
|
},
|
4010
4009
|
_updatePath: function() {
|
@@ -4012,19 +4011,19 @@ function ta() {
|
|
4012
4011
|
},
|
4013
4012
|
// Needed by the `Canvas` renderer for interactivity
|
4014
4013
|
_containsPoint: function(t) {
|
4015
|
-
var e = !1, i, n, o, s,
|
4014
|
+
var e = !1, i, n, o, s, h, u, c, f;
|
4016
4015
|
if (!this._pxBounds || !this._pxBounds.contains(t))
|
4017
4016
|
return !1;
|
4018
4017
|
for (s = 0, c = this._parts.length; s < c; s++)
|
4019
|
-
for (i = this._parts[s],
|
4020
|
-
n = i[
|
4021
|
-
return e ||
|
4018
|
+
for (i = this._parts[s], h = 0, f = i.length, u = f - 1; h < f; u = h++)
|
4019
|
+
n = i[h], 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);
|
4020
|
+
return e || Nt.prototype._containsPoint.call(this, t, !0);
|
4022
4021
|
}
|
4023
4022
|
});
|
4024
|
-
function
|
4023
|
+
function tr(t, e) {
|
4025
4024
|
return new de(t, e);
|
4026
4025
|
}
|
4027
|
-
var
|
4026
|
+
var Dt = Rt.extend({
|
4028
4027
|
/* @section
|
4029
4028
|
* @aka GeoJSON options
|
4030
4029
|
*
|
@@ -4089,8 +4088,8 @@ function ta() {
|
|
4089
4088
|
var s = this.options;
|
4090
4089
|
if (s.filter && !s.filter(t))
|
4091
4090
|
return this;
|
4092
|
-
var
|
4093
|
-
return
|
4091
|
+
var h = Xe(t, s);
|
4092
|
+
return h ? (h.feature = ti(t), h.defaultOptions = h.options, this.resetStyle(h), s.onEachFeature && s.onEachFeature(t, h), this.addLayer(h)) : this;
|
4094
4093
|
},
|
4095
4094
|
// @method resetStyle( <Path> layer? ): this
|
4096
4095
|
// Resets the given vector layer's style to the original GeoJSON style, useful for resetting style after hover events.
|
@@ -4110,22 +4109,22 @@ function ta() {
|
|
4110
4109
|
}
|
4111
4110
|
});
|
4112
4111
|
function Xe(t, e) {
|
4113
|
-
var i = t.type === "Feature" ? t.geometry : t, n = i ? i.coordinates : null, o = [], s = e && e.pointToLayer,
|
4112
|
+
var i = t.type === "Feature" ? t.geometry : t, n = i ? i.coordinates : null, o = [], s = e && e.pointToLayer, h = e && e.coordsToLatLng || Vi, u, c, f, _;
|
4114
4113
|
if (!n && !i)
|
4115
4114
|
return null;
|
4116
4115
|
switch (i.type) {
|
4117
4116
|
case "Point":
|
4118
|
-
return u =
|
4117
|
+
return u = h(n), Jn(s, t, u, e);
|
4119
4118
|
case "MultiPoint":
|
4120
4119
|
for (f = 0, _ = n.length; f < _; f++)
|
4121
|
-
u =
|
4122
|
-
return new
|
4120
|
+
u = h(n[f]), o.push(Jn(s, t, u, e));
|
4121
|
+
return new Rt(o);
|
4123
4122
|
case "LineString":
|
4124
4123
|
case "MultiLineString":
|
4125
|
-
return c = Qe(n, i.type === "LineString" ? 0 : 1,
|
4124
|
+
return c = Qe(n, i.type === "LineString" ? 0 : 1, h), new Nt(c, e);
|
4126
4125
|
case "Polygon":
|
4127
4126
|
case "MultiPolygon":
|
4128
|
-
return c = Qe(n, i.type === "Polygon" ? 1 : 2,
|
4127
|
+
return c = Qe(n, i.type === "Polygon" ? 1 : 2, h), new de(c, e);
|
4129
4128
|
case "GeometryCollection":
|
4130
4129
|
for (f = 0, _ = i.geometries.length; f < _; f++) {
|
4131
4130
|
var P = Xe({
|
@@ -4135,33 +4134,33 @@ function ta() {
|
|
4135
4134
|
}, e);
|
4136
4135
|
P && o.push(P);
|
4137
4136
|
}
|
4138
|
-
return new
|
4137
|
+
return new Rt(o);
|
4139
4138
|
case "FeatureCollection":
|
4140
4139
|
for (f = 0, _ = i.features.length; f < _; f++) {
|
4141
4140
|
var k = Xe(i.features[f], e);
|
4142
4141
|
k && o.push(k);
|
4143
4142
|
}
|
4144
|
-
return new
|
4143
|
+
return new Rt(o);
|
4145
4144
|
default:
|
4146
4145
|
throw new Error("Invalid GeoJSON object.");
|
4147
4146
|
}
|
4148
4147
|
}
|
4149
|
-
function
|
4148
|
+
function Jn(t, e, i, n) {
|
4150
4149
|
return t ? t(e, i) : new Je(i, n && n.markersInheritOptions && n);
|
4151
4150
|
}
|
4152
4151
|
function Vi(t) {
|
4153
4152
|
return new F(t[1], t[0], t[2]);
|
4154
4153
|
}
|
4155
4154
|
function Qe(t, e, i) {
|
4156
|
-
for (var n = [], o = 0, s = t.length,
|
4157
|
-
|
4155
|
+
for (var n = [], o = 0, s = t.length, h; o < s; o++)
|
4156
|
+
h = e ? Qe(t[o], e - 1, i) : (i || Vi)(t[o]), n.push(h);
|
4158
4157
|
return n;
|
4159
4158
|
}
|
4160
4159
|
function Wi(t, e) {
|
4161
4160
|
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
4161
|
}
|
4163
4162
|
function $e(t, e, i, n) {
|
4164
|
-
for (var o = [], s = 0,
|
4163
|
+
for (var o = [], s = 0, h = t.length; s < h; s++)
|
4165
4164
|
o.push(e ? $e(t[s], wt(t[s]) ? 0 : e - 1, i, n) : Wi(t[s], n));
|
4166
4165
|
return !e && i && o.length > 0 && o.push(o[0].slice()), o;
|
4167
4166
|
}
|
@@ -4183,7 +4182,7 @@ function ta() {
|
|
4183
4182
|
});
|
4184
4183
|
}
|
4185
4184
|
};
|
4186
|
-
Je.include(Ui), Fi.include(Ui), Ye.include(Ui),
|
4185
|
+
Je.include(Ui), Fi.include(Ui), Ye.include(Ui), Nt.include({
|
4187
4186
|
toGeoJSON: function(t) {
|
4188
4187
|
var e = !wt(this._latlngs), i = $e(this._latlngs, e ? 1 : 0, !1, t);
|
4189
4188
|
return fe(this, {
|
@@ -4223,8 +4222,8 @@ function ta() {
|
|
4223
4222
|
if (i)
|
4224
4223
|
n.push(s.geometry);
|
4225
4224
|
else {
|
4226
|
-
var
|
4227
|
-
|
4225
|
+
var h = ti(s);
|
4226
|
+
h.type === "FeatureCollection" ? n.push.apply(n, h.features) : n.push(h);
|
4228
4227
|
}
|
4229
4228
|
}
|
4230
4229
|
}), i ? fe(this, {
|
@@ -4236,10 +4235,10 @@ function ta() {
|
|
4236
4235
|
};
|
4237
4236
|
}
|
4238
4237
|
});
|
4239
|
-
function
|
4240
|
-
return new
|
4238
|
+
function Yn(t, e) {
|
4239
|
+
return new Dt(t, e);
|
4241
4240
|
}
|
4242
|
-
var
|
4241
|
+
var er = Yn, ei = Tt.extend({
|
4243
4242
|
// @section
|
4244
4243
|
// @aka ImageOverlay options
|
4245
4244
|
options: {
|
@@ -4362,9 +4361,9 @@ function ta() {
|
|
4362
4361
|
getCenter: function() {
|
4363
4362
|
return this._bounds.getCenter();
|
4364
4363
|
}
|
4365
|
-
}),
|
4364
|
+
}), ir = function(t, e, i) {
|
4366
4365
|
return new ei(t, e, i);
|
4367
|
-
},
|
4366
|
+
}, Xn = ei.extend({
|
4368
4367
|
// @section
|
4369
4368
|
// @aka VideoOverlay options
|
4370
4369
|
options: {
|
@@ -4396,18 +4395,18 @@ function ta() {
|
|
4396
4395
|
}
|
4397
4396
|
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
4397
|
for (var s = 0; s < this._url.length; s++) {
|
4399
|
-
var
|
4400
|
-
|
4398
|
+
var h = D("source");
|
4399
|
+
h.src = this._url[s], e.appendChild(h);
|
4401
4400
|
}
|
4402
4401
|
}
|
4403
4402
|
// @method getElement(): HTMLVideoElement
|
4404
4403
|
// Returns the instance of [`HTMLVideoElement`](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement)
|
4405
4404
|
// used by this overlay.
|
4406
4405
|
});
|
4407
|
-
function
|
4408
|
-
return new
|
4406
|
+
function nr(t, e, i) {
|
4407
|
+
return new Xn(t, e, i);
|
4409
4408
|
}
|
4410
|
-
var
|
4409
|
+
var Qn = ei.extend({
|
4411
4410
|
_initImage: function() {
|
4412
4411
|
var t = this._image = this._url;
|
4413
4412
|
C(t, "leaflet-image-layer"), this._zoomAnimated && C(t, "leaflet-zoom-animated"), this.options.className && C(t, this.options.className), t.onselectstart = b, t.onmousemove = b;
|
@@ -4416,8 +4415,8 @@ function ta() {
|
|
4416
4415
|
// Returns the instance of [`SVGElement`](https://developer.mozilla.org/docs/Web/API/SVGElement)
|
4417
4416
|
// used by this overlay.
|
4418
4417
|
});
|
4419
|
-
function
|
4420
|
-
return new
|
4418
|
+
function or(t, e, i) {
|
4419
|
+
return new Qn(t, e, i);
|
4421
4420
|
}
|
4422
4421
|
var zt = Tt.extend({
|
4423
4422
|
// @section
|
@@ -4528,7 +4527,7 @@ function ta() {
|
|
4528
4527
|
var e = this._source;
|
4529
4528
|
if (!e._map)
|
4530
4529
|
return !1;
|
4531
|
-
if (e instanceof
|
4530
|
+
if (e instanceof Rt) {
|
4532
4531
|
e = null;
|
4533
4532
|
var i = this._source._layers;
|
4534
4533
|
for (var n in i)
|
@@ -4695,14 +4694,14 @@ function ta() {
|
|
4695
4694
|
}
|
4696
4695
|
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
4696
|
o._add(te(this._container));
|
4698
|
-
var s = t.layerPointToContainerPoint(o),
|
4697
|
+
var s = t.layerPointToContainerPoint(o), h = M(this.options.autoPanPadding), u = M(this.options.autoPanPaddingTopLeft || h), c = M(this.options.autoPanPaddingBottomRight || h), f = t.getSize(), _ = 0, P = 0;
|
4699
4698
|
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
4699
|
}
|
4701
4700
|
},
|
4702
4701
|
_getAnchor: function() {
|
4703
4702
|
return M(this._source && this._source._getPopupAnchor ? this._source._getPopupAnchor() : [0, 0]);
|
4704
4703
|
}
|
4705
|
-
}),
|
4704
|
+
}), sr = function(t, e) {
|
4706
4705
|
return new ii(t, e);
|
4707
4706
|
};
|
4708
4707
|
I.mergeOptions({
|
@@ -4747,7 +4746,7 @@ function ta() {
|
|
4747
4746
|
// @method openPopup(latlng?: LatLng): this
|
4748
4747
|
// Opens the bound popup at the specified `latlng` or at the default popup anchor if no `latlng` is passed.
|
4749
4748
|
openPopup: function(t) {
|
4750
|
-
return this._popup && (this instanceof
|
4749
|
+
return this._popup && (this instanceof Rt || (this._popup._source = this), this._popup._prepareOpen(t || this._latlng) && this._popup.openOn(this._map)), this;
|
4751
4750
|
},
|
4752
4751
|
// @method closePopup(): this
|
4753
4752
|
// Closes the popup bound to this layer if it is open.
|
@@ -4837,8 +4836,8 @@ function ta() {
|
|
4837
4836
|
_adjustPan: function() {
|
4838
4837
|
},
|
4839
4838
|
_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) :
|
4839
|
+
var e, i, n = this._map, o = this._container, s = n.latLngToContainerPoint(n.getCenter()), h = n.layerPointToContainerPoint(t), u = this.options.direction, c = o.offsetWidth, f = o.offsetHeight, _ = M(this.options.offset), P = this._getAnchor();
|
4840
|
+
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) : h.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
4841
|
},
|
4843
4842
|
_updatePosition: function() {
|
4844
4843
|
var t = this._map.latLngToLayerPoint(this._latlng);
|
@@ -4854,7 +4853,7 @@ function ta() {
|
|
4854
4853
|
_getAnchor: function() {
|
4855
4854
|
return M(this._source && this._source._getTooltipAnchor && !this.options.sticky ? this._source._getTooltipAnchor() : [0, 0]);
|
4856
4855
|
}
|
4857
|
-
}),
|
4856
|
+
}), rr = function(t, e) {
|
4858
4857
|
return new ni(t, e);
|
4859
4858
|
};
|
4860
4859
|
I.include({
|
@@ -4896,7 +4895,7 @@ function ta() {
|
|
4896
4895
|
// @method openTooltip(latlng?: LatLng): this
|
4897
4896
|
// Opens the bound tooltip at the specified `latlng` or at the default tooltip anchor if no `latlng` is passed.
|
4898
4897
|
openTooltip: function(t) {
|
4899
|
-
return this._tooltip && (this instanceof
|
4898
|
+
return this._tooltip && (this instanceof Rt || (this._tooltip._source = this), this._tooltip._prepareOpen(t) && (this._tooltip.openOn(this._map), this.getElement ? this._setAriaDescribedByOnLayer(this) : this.eachLayer && this.eachLayer(this._setAriaDescribedByOnLayer, this))), this;
|
4900
4899
|
},
|
4901
4900
|
// @method closeTooltip(): this
|
4902
4901
|
// Closes the tooltip bound to this layer if it is open.
|
@@ -4955,7 +4954,7 @@ function ta() {
|
|
4955
4954
|
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
4955
|
}
|
4957
4956
|
});
|
4958
|
-
var
|
4957
|
+
var $n = ce.extend({
|
4959
4958
|
options: {
|
4960
4959
|
// @section
|
4961
4960
|
// @aka DivIcon options
|
@@ -4984,8 +4983,8 @@ function ta() {
|
|
4984
4983
|
return null;
|
4985
4984
|
}
|
4986
4985
|
});
|
4987
|
-
function
|
4988
|
-
return new
|
4986
|
+
function ar(t) {
|
4987
|
+
return new $n(t);
|
4989
4988
|
}
|
4990
4989
|
ce.Default = Ae;
|
4991
4990
|
var Ee = Tt.extend({
|
@@ -5196,17 +5195,17 @@ function ta() {
|
|
5196
5195
|
this._removeAllTiles(), this._tileZoom = void 0;
|
5197
5196
|
},
|
5198
5197
|
_retainParent: function(t, e, i, n) {
|
5199
|
-
var o = Math.floor(t / 2), s = Math.floor(e / 2),
|
5200
|
-
u.z = +
|
5198
|
+
var o = Math.floor(t / 2), s = Math.floor(e / 2), h = i - 1, u = new O(+o, +s);
|
5199
|
+
u.z = +h;
|
5201
5200
|
var c = this._tileCoordsToKey(u), f = this._tiles[c];
|
5202
|
-
return f && f.active ? (f.retain = !0, !0) : (f && f.loaded && (f.retain = !0),
|
5201
|
+
return f && f.active ? (f.retain = !0, !0) : (f && f.loaded && (f.retain = !0), h > n ? this._retainParent(o, s, h, n) : !1);
|
5203
5202
|
},
|
5204
5203
|
_retainChildren: function(t, e, i, n) {
|
5205
5204
|
for (var o = 2 * t; o < 2 * t + 2; o++)
|
5206
5205
|
for (var s = 2 * e; s < 2 * e + 2; s++) {
|
5207
|
-
var
|
5208
|
-
|
5209
|
-
var u = this._tileCoordsToKey(
|
5206
|
+
var h = new O(o, s);
|
5207
|
+
h.z = i + 1;
|
5208
|
+
var u = this._tileCoordsToKey(h), c = this._tiles[u];
|
5210
5209
|
if (c && c.active) {
|
5211
5210
|
c.retain = !0;
|
5212
5211
|
continue;
|
@@ -5262,7 +5261,7 @@ function ta() {
|
|
5262
5261
|
if (e) {
|
5263
5262
|
var i = this._clampZoom(e.getZoom());
|
5264
5263
|
if (t === void 0 && (t = e.getCenter()), this._tileZoom !== void 0) {
|
5265
|
-
var n = this._getTiledPixelBounds(t), o = this._pxBoundsToTileRange(n), s = o.getCenter(),
|
5264
|
+
var n = this._getTiledPixelBounds(t), o = this._pxBoundsToTileRange(n), s = o.getCenter(), h = [], u = this.options.keepBuffer, c = new K(
|
5266
5265
|
o.getBottomLeft().subtract([u, -u]),
|
5267
5266
|
o.getTopRight().add([u, -u])
|
5268
5267
|
);
|
@@ -5281,16 +5280,16 @@ function ta() {
|
|
5281
5280
|
var ht = new O(k, P);
|
5282
5281
|
if (ht.z = this._tileZoom, !!this._isValidTile(ht)) {
|
5283
5282
|
var it = this._tiles[this._tileCoordsToKey(ht)];
|
5284
|
-
it ? it.current = !0 :
|
5283
|
+
it ? it.current = !0 : h.push(ht);
|
5285
5284
|
}
|
5286
5285
|
}
|
5287
|
-
if (
|
5286
|
+
if (h.sort(function(pt, me) {
|
5288
5287
|
return pt.distanceTo(s) - me.distanceTo(s);
|
5289
|
-
}),
|
5288
|
+
}), h.length !== 0) {
|
5290
5289
|
this._loading || (this._loading = !0, this.fire("loading"));
|
5291
5290
|
var bt = document.createDocumentFragment();
|
5292
|
-
for (k = 0; k <
|
5293
|
-
this._addTile(
|
5291
|
+
for (k = 0; k < h.length; k++)
|
5292
|
+
this._addTile(h[k], bt);
|
5294
5293
|
this._level.el.appendChild(bt);
|
5295
5294
|
}
|
5296
5295
|
}
|
@@ -5312,8 +5311,8 @@ function ta() {
|
|
5312
5311
|
return this._tileCoordsToBounds(this._keyToTileCoords(t));
|
5313
5312
|
},
|
5314
5313
|
_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,
|
5314
|
+
var e = this._map, i = this.getTileSize(), n = t.scaleBy(i), o = n.add(i), s = e.unproject(n, t.z), h = e.unproject(o, t.z);
|
5315
|
+
return [s, h];
|
5317
5316
|
},
|
5318
5317
|
// converts tile coordinates to its geographical bounds
|
5319
5318
|
_tileCoordsToBounds: function(t) {
|
@@ -5388,7 +5387,7 @@ function ta() {
|
|
5388
5387
|
return !0;
|
5389
5388
|
}
|
5390
5389
|
});
|
5391
|
-
function
|
5390
|
+
function hr(t) {
|
5392
5391
|
return new Ee(t);
|
5393
5392
|
}
|
5394
5393
|
var pe = Ee.extend({
|
@@ -5511,10 +5510,10 @@ function ta() {
|
|
5511
5510
|
return Ee.prototype._tileReady.call(this, t, e, i);
|
5512
5511
|
}
|
5513
5512
|
});
|
5514
|
-
function
|
5513
|
+
function to(t, e) {
|
5515
5514
|
return new pe(t, e);
|
5516
5515
|
}
|
5517
|
-
var
|
5516
|
+
var eo = pe.extend({
|
5518
5517
|
// @section
|
5519
5518
|
// @aka TileLayer.WMS options
|
5520
5519
|
// If any custom options not documented here are used, they will be sent to the
|
@@ -5563,8 +5562,8 @@ function ta() {
|
|
5563
5562
|
this.wmsParams[e] = this._crs.code, pe.prototype.onAdd.call(this, t);
|
5564
5563
|
},
|
5565
5564
|
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=") +
|
5565
|
+
var e = this._tileCoordsToNwSe(t), i = this._crs, n = dt(i.project(e[0]), i.project(e[1])), o = n.min, s = n.max, h = (this._wmsVersion >= 1.3 && this._crs === Gn ? [o.y, o.x, s.y, s.x] : [o.x, o.y, s.x, s.y]).join(","), u = pe.prototype.getTileUrl.call(this, t);
|
5566
|
+
return u + ct(this.wmsParams, u, this.options.uppercase) + (this.options.uppercase ? "&BBOX=" : "&bbox=") + h;
|
5568
5567
|
},
|
5569
5568
|
// @method setParams(params: Object, noRedraw?: Boolean): this
|
5570
5569
|
// Merges an object with the new parameters and re-requests tiles on the current screen (unless `noRedraw` was set to true).
|
@@ -5572,11 +5571,11 @@ function ta() {
|
|
5572
5571
|
return p(this.wmsParams, t), e || this.redraw(), this;
|
5573
5572
|
}
|
5574
5573
|
});
|
5575
|
-
function
|
5576
|
-
return new
|
5574
|
+
function lr(t, e) {
|
5575
|
+
return new eo(t, e);
|
5577
5576
|
}
|
5578
|
-
pe.WMS =
|
5579
|
-
var
|
5577
|
+
pe.WMS = eo, to.wms = lr;
|
5578
|
+
var Ht = Tt.extend({
|
5580
5579
|
// @section
|
5581
5580
|
// @aka Renderer options
|
5582
5581
|
options: {
|
@@ -5630,7 +5629,7 @@ function ta() {
|
|
5630
5629
|
var t = this.options.padding, e = this._map.getSize(), i = this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();
|
5631
5630
|
this._bounds = new K(i, i.add(e.multiplyBy(1 + t * 2)).round()), this._center = this._map.getCenter(), this._zoom = this._map.getZoom();
|
5632
5631
|
}
|
5633
|
-
}),
|
5632
|
+
}), io = Ht.extend({
|
5634
5633
|
// @section
|
5635
5634
|
// @aka Canvas options
|
5636
5635
|
options: {
|
@@ -5639,14 +5638,14 @@ function ta() {
|
|
5639
5638
|
tolerance: 0
|
5640
5639
|
},
|
5641
5640
|
getEvents: function() {
|
5642
|
-
var t =
|
5641
|
+
var t = Ht.prototype.getEvents.call(this);
|
5643
5642
|
return t.viewprereset = this._onViewPreReset, t;
|
5644
5643
|
},
|
5645
5644
|
_onViewPreReset: function() {
|
5646
5645
|
this._postponeUpdatePaths = !0;
|
5647
5646
|
},
|
5648
5647
|
onAdd: function() {
|
5649
|
-
|
5648
|
+
Ht.prototype.onAdd.call(this), this._draw();
|
5650
5649
|
},
|
5651
5650
|
_initContainer: function() {
|
5652
5651
|
var t = this._container = document.createElement("canvas");
|
@@ -5666,13 +5665,13 @@ function ta() {
|
|
5666
5665
|
},
|
5667
5666
|
_update: function() {
|
5668
5667
|
if (!(this._map._animatingZoom && this._bounds)) {
|
5669
|
-
|
5668
|
+
Ht.prototype._update.call(this);
|
5670
5669
|
var t = this._bounds, e = this._container, i = t.getSize(), n = y.retina ? 2 : 1;
|
5671
5670
|
$(e, t.min), e.width = n * i.x, e.height = n * i.y, e.style.width = i.x + "px", e.style.height = i.y + "px", y.retina && this._ctx.scale(2, 2), this._ctx.translate(-t.min.x, -t.min.y), this.fire("update");
|
5672
5671
|
}
|
5673
5672
|
},
|
5674
5673
|
_reset: function() {
|
5675
|
-
|
5674
|
+
Ht.prototype._reset.call(this), this._postponeUpdatePaths && (this._postponeUpdatePaths = !1, this._updatePaths());
|
5676
5675
|
},
|
5677
5676
|
_initPath: function(t) {
|
5678
5677
|
this._updateDashArray(t), this._layers[v(t)] = t;
|
@@ -5741,11 +5740,11 @@ function ta() {
|
|
5741
5740
|
},
|
5742
5741
|
_updatePoly: function(t, e) {
|
5743
5742
|
if (this._drawing) {
|
5744
|
-
var i, n, o, s,
|
5743
|
+
var i, n, o, s, h = t._parts, u = h.length, c = this._ctx;
|
5745
5744
|
if (u) {
|
5746
5745
|
for (c.beginPath(), i = 0; i < u; i++) {
|
5747
|
-
for (n = 0, o =
|
5748
|
-
s =
|
5746
|
+
for (n = 0, o = h[i].length; n < o; n++)
|
5747
|
+
s = h[i][n], c[n ? "lineTo" : "moveTo"](s.x, s.y);
|
5749
5748
|
e && c.closePath();
|
5750
5749
|
}
|
5751
5750
|
this._fillStroke(c, t);
|
@@ -5814,8 +5813,8 @@ function ta() {
|
|
5814
5813
|
}
|
5815
5814
|
}
|
5816
5815
|
});
|
5817
|
-
function
|
5818
|
-
return y.canvas ? new
|
5816
|
+
function no(t) {
|
5817
|
+
return y.canvas ? new io(t) : null;
|
5819
5818
|
}
|
5820
5819
|
var Be = function() {
|
5821
5820
|
try {
|
@@ -5827,12 +5826,12 @@ function ta() {
|
|
5827
5826
|
return function(t) {
|
5828
5827
|
return document.createElement("<" + t + ' xmlns="urn:schemas-microsoft.com:vml" class="lvml">');
|
5829
5828
|
};
|
5830
|
-
}(),
|
5829
|
+
}(), ur = {
|
5831
5830
|
_initContainer: function() {
|
5832
5831
|
this._container = D("div", "leaflet-vml-container");
|
5833
5832
|
},
|
5834
5833
|
_update: function() {
|
5835
|
-
this._map._animatingZoom || (
|
5834
|
+
this._map._animatingZoom || (Ht.prototype._update.call(this), this.fire("update"));
|
5836
5835
|
},
|
5837
5836
|
_initPath: function(t) {
|
5838
5837
|
var e = t._container = Be("shape");
|
@@ -5863,7 +5862,7 @@ function ta() {
|
|
5863
5862
|
_bringToBack: function(t) {
|
5864
5863
|
le(t._container);
|
5865
5864
|
}
|
5866
|
-
}, oi = y.vml ? Be :
|
5865
|
+
}, oi = y.vml ? Be : an, Ie = Ht.extend({
|
5867
5866
|
_initContainer: function() {
|
5868
5867
|
this._container = oi("svg"), this._container.setAttribute("pointer-events", "none"), this._rootGroup = oi("g"), this._container.appendChild(this._rootGroup);
|
5869
5868
|
},
|
@@ -5872,7 +5871,7 @@ function ta() {
|
|
5872
5871
|
},
|
5873
5872
|
_update: function() {
|
5874
5873
|
if (!(this._map._animatingZoom && this._bounds)) {
|
5875
|
-
|
5874
|
+
Ht.prototype._update.call(this);
|
5876
5875
|
var t = this._bounds, e = t.getSize(), i = this._container;
|
5877
5876
|
(!this._svgSize || !this._svgSize.equals(e)) && (this._svgSize = e, i.setAttribute("width", e.x), i.setAttribute("height", e.y)), $(i, t.min), i.setAttribute("viewBox", [t.min.x, t.min.y, e.x, e.y].join(" ")), this.fire("update");
|
5878
5877
|
}
|
@@ -5896,7 +5895,7 @@ function ta() {
|
|
5896
5895
|
e && (i.stroke ? (e.setAttribute("stroke", i.color), e.setAttribute("stroke-opacity", i.opacity), e.setAttribute("stroke-width", i.weight), e.setAttribute("stroke-linecap", i.lineCap), e.setAttribute("stroke-linejoin", i.lineJoin), i.dashArray ? e.setAttribute("stroke-dasharray", i.dashArray) : e.removeAttribute("stroke-dasharray"), i.dashOffset ? e.setAttribute("stroke-dashoffset", i.dashOffset) : e.removeAttribute("stroke-dashoffset")) : e.setAttribute("stroke", "none"), i.fill ? (e.setAttribute("fill", i.fillColor || i.color), e.setAttribute("fill-opacity", i.fillOpacity), e.setAttribute("fill-rule", i.fillRule || "evenodd")) : e.setAttribute("fill", "none"));
|
5897
5896
|
},
|
5898
5897
|
_updatePoly: function(t, e) {
|
5899
|
-
this._setPath(t,
|
5898
|
+
this._setPath(t, hn(t._parts, e));
|
5900
5899
|
},
|
5901
5900
|
_updateCircle: function(t) {
|
5902
5901
|
var e = t._point, i = Math.max(Math.round(t._radius), 1), n = Math.max(Math.round(t._radiusY), 1) || i, o = "a" + i + "," + n + " 0 1,0 ", s = t._empty() ? "M0 0" : "M" + (e.x - i) + "," + e.y + o + i * 2 + ",0 " + o + -i * 2 + ",0 ";
|
@@ -5913,8 +5912,8 @@ function ta() {
|
|
5913
5912
|
le(t._path);
|
5914
5913
|
}
|
5915
5914
|
});
|
5916
|
-
y.vml && Ie.include(
|
5917
|
-
function
|
5915
|
+
y.vml && Ie.include(ur);
|
5916
|
+
function oo(t) {
|
5918
5917
|
return y.svg || y.vml ? new Ie(t) : null;
|
5919
5918
|
}
|
5920
5919
|
I.include({
|
@@ -5933,10 +5932,10 @@ function ta() {
|
|
5933
5932
|
return e === void 0 && (e = this._createRenderer({ pane: t }), this._paneRenderers[t] = e), e;
|
5934
5933
|
},
|
5935
5934
|
_createRenderer: function(t) {
|
5936
|
-
return this.options.preferCanvas &&
|
5935
|
+
return this.options.preferCanvas && no(t) || oo(t);
|
5937
5936
|
}
|
5938
5937
|
});
|
5939
|
-
var
|
5938
|
+
var so = de.extend({
|
5940
5939
|
initialize: function(t, e) {
|
5941
5940
|
de.prototype.initialize.call(this, this._boundsToLatLngs(t), e);
|
5942
5941
|
},
|
@@ -5954,16 +5953,16 @@ function ta() {
|
|
5954
5953
|
];
|
5955
5954
|
}
|
5956
5955
|
});
|
5957
|
-
function
|
5958
|
-
return new
|
5956
|
+
function cr(t, e) {
|
5957
|
+
return new so(t, e);
|
5959
5958
|
}
|
5960
|
-
Ie.create = oi, Ie.pointsToPath =
|
5959
|
+
Ie.create = oi, Ie.pointsToPath = hn, Dt.geometryToLayer = Xe, Dt.coordsToLatLng = Vi, Dt.coordsToLatLngs = Qe, Dt.latLngToCoords = Wi, Dt.latLngsToCoords = $e, Dt.getFeature = fe, Dt.asFeature = ti, I.mergeOptions({
|
5961
5960
|
// @option boxZoom: Boolean = true
|
5962
5961
|
// Whether the map can be zoomed to a rectangular area specified by
|
5963
5962
|
// dragging the mouse while pressing the shift key.
|
5964
5963
|
boxZoom: !0
|
5965
5964
|
});
|
5966
|
-
var
|
5965
|
+
var ro = kt.extend({
|
5967
5966
|
initialize: function(t) {
|
5968
5967
|
this._map = t, this._container = t._container, this._pane = t._panes.overlayPane, this._resetStateTimeout = 0, t.on("unload", this._destroy, this);
|
5969
5968
|
},
|
@@ -6022,7 +6021,7 @@ function ta() {
|
|
6022
6021
|
t.keyCode === 27 && (this._finish(), this._clearDeferredResetState(), this._resetState());
|
6023
6022
|
}
|
6024
6023
|
});
|
6025
|
-
I.addInitHook("addHandler", "boxZoom",
|
6024
|
+
I.addInitHook("addHandler", "boxZoom", ro), I.mergeOptions({
|
6026
6025
|
// @option doubleClickZoom: Boolean|String = true
|
6027
6026
|
// Whether the map can be zoomed in by double clicking on it and
|
6028
6027
|
// zoomed out by double clicking while holding shift. If passed
|
@@ -6030,7 +6029,7 @@ function ta() {
|
|
6030
6029
|
// view regardless of where the mouse was.
|
6031
6030
|
doubleClickZoom: !0
|
6032
6031
|
});
|
6033
|
-
var
|
6032
|
+
var ao = kt.extend({
|
6034
6033
|
addHooks: function() {
|
6035
6034
|
this._map.on("dblclick", this._onDoubleClick, this);
|
6036
6035
|
},
|
@@ -6042,7 +6041,7 @@ function ta() {
|
|
6042
6041
|
e.options.doubleClickZoom === "center" ? e.setZoom(o) : e.setZoomAround(t.containerPoint, o);
|
6043
6042
|
}
|
6044
6043
|
});
|
6045
|
-
I.addInitHook("addHandler", "doubleClickZoom",
|
6044
|
+
I.addInitHook("addHandler", "doubleClickZoom", ao), I.mergeOptions({
|
6046
6045
|
// @option dragging: Boolean = true
|
6047
6046
|
// Whether the map is draggable with mouse/touch or not.
|
6048
6047
|
dragging: !0,
|
@@ -6077,7 +6076,7 @@ function ta() {
|
|
6077
6076
|
// solid, preventing the user from dragging outside the bounds.
|
6078
6077
|
maxBoundsViscosity: 0
|
6079
6078
|
});
|
6080
|
-
var
|
6079
|
+
var ho = kt.extend({
|
6081
6080
|
addHooks: function() {
|
6082
6081
|
if (!this._draggable) {
|
6083
6082
|
var t = this._map;
|
@@ -6135,8 +6134,8 @@ function ta() {
|
|
6135
6134
|
}
|
6136
6135
|
},
|
6137
6136
|
_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 =
|
6137
|
+
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, h = Math.abs(o + i) < Math.abs(s + i) ? o : s;
|
6138
|
+
this._draggable._absPos = this._draggable._newPos.clone(), this._draggable._newPos.x = h;
|
6140
6139
|
},
|
6141
6140
|
_onDragEnd: function(t) {
|
6142
6141
|
var e = this._map, i = e.options, n = !i.inertia || t.noInertia || this._times.length < 2;
|
@@ -6144,11 +6143,11 @@ function ta() {
|
|
6144
6143
|
e.fire("moveend");
|
6145
6144
|
else {
|
6146
6145
|
this._prunePositions(+/* @__PURE__ */ new Date());
|
6147
|
-
var o = this._lastPos.subtract(this._positions[0]), s = (this._lastTime - this._times[0]) / 1e3,
|
6146
|
+
var o = this._lastPos.subtract(this._positions[0]), s = (this._lastTime - this._times[0]) / 1e3, h = i.easeLinearity, u = o.multiplyBy(h / s), c = u.distanceTo([0, 0]), f = Math.min(i.inertiaMaxSpeed, c), _ = u.multiplyBy(f / c), P = f / (i.inertiaDeceleration * h), k = _.multiplyBy(-P / 2).round();
|
6148
6147
|
!k.x && !k.y ? e.fire("moveend") : (k = e._limitOffset(k, e.options.maxBounds), nt(function() {
|
6149
6148
|
e.panBy(k, {
|
6150
6149
|
duration: P,
|
6151
|
-
easeLinearity:
|
6150
|
+
easeLinearity: h,
|
6152
6151
|
noMoveStart: !0,
|
6153
6152
|
animate: !0
|
6154
6153
|
});
|
@@ -6156,7 +6155,7 @@ function ta() {
|
|
6156
6155
|
}
|
6157
6156
|
}
|
6158
6157
|
});
|
6159
|
-
I.addInitHook("addHandler", "dragging",
|
6158
|
+
I.addInitHook("addHandler", "dragging", ho), I.mergeOptions({
|
6160
6159
|
// @option keyboard: Boolean = true
|
6161
6160
|
// Makes the map focusable and allows users to navigate the map with keyboard
|
6162
6161
|
// arrows and `+`/`-` keys.
|
@@ -6165,7 +6164,7 @@ function ta() {
|
|
6165
6164
|
// Amount of pixels to pan when pressing an arrow key.
|
6166
6165
|
keyboardPanDelta: 80
|
6167
6166
|
});
|
6168
|
-
var
|
6167
|
+
var lo = kt.extend({
|
6169
6168
|
keyCodes: {
|
6170
6169
|
left: [37],
|
6171
6170
|
right: [39],
|
@@ -6254,7 +6253,7 @@ function ta() {
|
|
6254
6253
|
}
|
6255
6254
|
}
|
6256
6255
|
});
|
6257
|
-
I.addInitHook("addHandler", "keyboard",
|
6256
|
+
I.addInitHook("addHandler", "keyboard", lo), I.mergeOptions({
|
6258
6257
|
// @section Mouse wheel options
|
6259
6258
|
// @option scrollWheelZoom: Boolean|String = true
|
6260
6259
|
// Whether the map can be zoomed by using the mouse wheel. If passed `'center'`,
|
@@ -6270,7 +6269,7 @@ function ta() {
|
|
6270
6269
|
// faster (and vice versa).
|
6271
6270
|
wheelPxPerZoomLevel: 60
|
6272
6271
|
});
|
6273
|
-
var
|
6272
|
+
var uo = kt.extend({
|
6274
6273
|
addHooks: function() {
|
6275
6274
|
S(this._map._container, "wheel", this._onWheelScroll, this), this._delta = 0;
|
6276
6275
|
},
|
@@ -6278,7 +6277,7 @@ function ta() {
|
|
6278
6277
|
W(this._map._container, "wheel", this._onWheelScroll, this);
|
6279
6278
|
},
|
6280
6279
|
_onWheelScroll: function(t) {
|
6281
|
-
var e =
|
6280
|
+
var e = Bn(t), i = this._map.options.wheelDebounceTime;
|
6282
6281
|
this._delta += e, this._lastMousePos = this._map.mouseEventToContainerPoint(t), this._startTime || (this._startTime = +/* @__PURE__ */ new Date());
|
6283
6282
|
var n = Math.max(i - (+/* @__PURE__ */ new Date() - this._startTime), 0);
|
6284
6283
|
clearTimeout(this._timer), this._timer = setTimeout(g(this._performZoom, this), n), ie(t);
|
@@ -6286,12 +6285,12 @@ function ta() {
|
|
6286
6285
|
_performZoom: function() {
|
6287
6286
|
var t = this._map, e = t.getZoom(), i = this._map.options.zoomSnap || 0;
|
6288
6287
|
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,
|
6288
|
+
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, h = t._limitZoom(e + (this._delta > 0 ? s : -s)) - e;
|
6289
|
+
this._delta = 0, this._startTime = null, h && (t.options.scrollWheelZoom === "center" ? t.setZoom(e + h) : t.setZoomAround(this._lastMousePos, e + h));
|
6291
6290
|
}
|
6292
6291
|
});
|
6293
|
-
I.addInitHook("addHandler", "scrollWheelZoom",
|
6294
|
-
var
|
6292
|
+
I.addInitHook("addHandler", "scrollWheelZoom", uo);
|
6293
|
+
var dr = 600;
|
6295
6294
|
I.mergeOptions({
|
6296
6295
|
// @section Touch interaction options
|
6297
6296
|
// @option tapHold: Boolean
|
@@ -6302,7 +6301,7 @@ function ta() {
|
|
6302
6301
|
// for it to be considered a valid tap.
|
6303
6302
|
tapTolerance: 15
|
6304
6303
|
});
|
6305
|
-
var
|
6304
|
+
var co = kt.extend({
|
6306
6305
|
addHooks: function() {
|
6307
6306
|
S(this._map._container, "touchstart", this._onDown, this);
|
6308
6307
|
},
|
@@ -6314,7 +6313,7 @@ function ta() {
|
|
6314
6313
|
var e = t.touches[0];
|
6315
6314
|
this._startPos = this._newPos = new O(e.clientX, e.clientY), this._holdTimeout = setTimeout(g(function() {
|
6316
6315
|
this._cancel(), this._isTapValid() && (S(document, "touchend", ot), S(document, "touchend touchcancel", this._cancelClickPrevent), this._simulateEvent("contextmenu", e));
|
6317
|
-
}, this),
|
6316
|
+
}, this), dr), S(document, "touchend touchcancel contextmenu", this._cancel, this), S(document, "touchmove", this._onMove, this);
|
6318
6317
|
}
|
6319
6318
|
},
|
6320
6319
|
_cancelClickPrevent: function t() {
|
@@ -6346,7 +6345,7 @@ function ta() {
|
|
6346
6345
|
i._simulated = !0, e.target.dispatchEvent(i);
|
6347
6346
|
}
|
6348
6347
|
});
|
6349
|
-
I.addInitHook("addHandler", "tapHold",
|
6348
|
+
I.addInitHook("addHandler", "tapHold", co), I.mergeOptions({
|
6350
6349
|
// @section Touch interaction options
|
6351
6350
|
// @option touchZoom: Boolean|String = *
|
6352
6351
|
// Whether the map can be zoomed by touch-dragging with two fingers. If
|
@@ -6359,7 +6358,7 @@ function ta() {
|
|
6359
6358
|
// and then bounce back when pinch-zooming.
|
6360
6359
|
bounceAtZoomLimits: !0
|
6361
6360
|
});
|
6362
|
-
var
|
6361
|
+
var fo = kt.extend({
|
6363
6362
|
addHooks: function() {
|
6364
6363
|
C(this._map._container, "leaflet-touch-zoom"), S(this._map._container, "touchstart", this._onTouchStart, this);
|
6365
6364
|
},
|
@@ -6386,8 +6385,8 @@ function ta() {
|
|
6386
6385
|
this._center = e.unproject(e.project(this._pinchStartLatLng, this._zoom).subtract(s), this._zoom);
|
6387
6386
|
}
|
6388
6387
|
this._moved || (e._moveStart(!0, !1), this._moved = !0), vt(this._animRequest);
|
6389
|
-
var
|
6390
|
-
this._animRequest = nt(
|
6388
|
+
var h = g(e._move, e, this._center, this._zoom, { pinch: !0, round: !1 }, void 0);
|
6389
|
+
this._animRequest = nt(h, this, !0), ot(t);
|
6391
6390
|
}
|
6392
6391
|
},
|
6393
6392
|
_onTouchEnd: function() {
|
@@ -6398,71 +6397,71 @@ function ta() {
|
|
6398
6397
|
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
6398
|
}
|
6400
6399
|
});
|
6401
|
-
I.addInitHook("addHandler", "touchZoom",
|
6402
|
-
var
|
6403
|
-
|
6404
|
-
return window.L =
|
6405
|
-
}, window.L =
|
6400
|
+
I.addInitHook("addHandler", "touchZoom", fo), I.BoxZoom = ro, I.DoubleClickZoom = ao, I.Drag = ho, I.Keyboard = lo, I.ScrollWheelZoom = uo, I.TapHold = co, I.TouchZoom = fo, a.Bounds = K, a.Browser = y, a.CRS = Zt, a.Canvas = io, a.Circle = Fi, a.CircleMarker = Ye, a.Class = It, a.Control = xt, a.DivIcon = $n, a.DivOverlay = zt, a.DomEvent = ks, a.DomUtil = Ss, a.Draggable = Gt, a.Evented = be, a.FeatureGroup = Rt, a.GeoJSON = Dt, a.GridLayer = Ee, a.Handler = kt, a.Icon = ce, a.ImageOverlay = ei, a.LatLng = F, a.LatLngBounds = ft, a.Layer = Tt, a.LayerGroup = ue, a.LineUtil = Ws, a.Map = I, a.Marker = Je, a.Mixin = Rs, a.Path = Kt, a.Point = O, a.PolyUtil = Ns, a.Polygon = de, a.Polyline = Nt, a.Popup = ii, a.PosAnimation = In, a.Projection = Us, a.Rectangle = so, a.Renderer = Ht, a.SVG = Ie, a.SVGOverlay = Qn, a.TileLayer = pe, a.Tooltip = ni, a.Transformation = fi, a.Util = Yo, a.VideoOverlay = Xn, a.bind = g, a.bounds = dt, a.canvas = no, a.circle = Qs, a.circleMarker = Xs, a.control = ke, a.divIcon = ar, a.extend = p, a.featureGroup = Ks, a.geoJSON = Yn, a.geoJson = er, a.gridLayer = hr, a.icon = Js, a.imageOverlay = ir, a.latLng = B, a.latLngBounds = Q, a.layerGroup = Gs, a.map = zs, a.marker = Ys, a.point = M, a.polygon = tr, a.polyline = $s, a.popup = sr, a.rectangle = cr, a.setOptions = N, a.stamp = v, a.svg = oo, a.svgOverlay = or, a.tileLayer = to, a.tooltip = rr, a.transformation = Le, a.version = d, a.videoOverlay = nr;
|
6401
|
+
var fr = window.L;
|
6402
|
+
a.noConflict = function() {
|
6403
|
+
return window.L = fr, this;
|
6404
|
+
}, window.L = a;
|
6406
6405
|
});
|
6407
6406
|
}(Ze, Ze.exports)), Ze.exports;
|
6408
6407
|
}
|
6409
|
-
var ci =
|
6410
|
-
const Mt = /* @__PURE__ */
|
6408
|
+
var ci = $r();
|
6409
|
+
const Mt = /* @__PURE__ */ Pr(ci), ta = /* @__PURE__ */ Yr({
|
6411
6410
|
__proto__: null,
|
6412
6411
|
default: Mt
|
6413
|
-
}, [ci]),
|
6412
|
+
}, [ci]), Mo = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAABSCAMAAAAhFXfZAAAC91BMVEVMaXEzeak2f7I4g7g3g7cua5gzeKg8hJo3grY4g7c3grU0gLI2frE0daAubJc2gbQwd6QzeKk2gLMtd5sxdKIua5g1frA2f7IydaM0e6w2fq41fK01eqo3grgubJgta5cxdKI1f7AydaQydaMxc6EubJgvbJkwcZ4ubZkwcJwubZgubJcydqUydKIxapgubJctbJcubZcubJcvbJYubJcvbZkubJctbJctbZcubJg2f7AubJcrbZcubJcubJcua5g3grY0fq8ubJcubJdEkdEwhsw6i88vhswuhcsuhMtBjMgthMsrg8srgss6is8qgcs8i9A9iMYtg8spgcoogMo7hcMngMonf8olfso4gr8kfck5iM8jfMk4iM8he8k1fro7itAgesk2hs8eecgzfLcofssdeMg0hc4cd8g2hcsxeLQbdsgZdcgxeLImfcszhM0vda4xgckzhM4xg84wf8Yxgs4udKsvfcQucqhUndROmdM1fK0wcZ8vb5w0eqpQm9MzeKhXoNVcpdYydKNWn9VZotVKltJFjsIwcJ1Rms9OlslLmtH///8+kc9epdYzd6dbo9VHkMM2f7FHmNBClM8ydqVcpNY9hro3gLM9hLczealQmcw3fa46f7A8gLMxc6I3eagyc6FIldJMl9JSnNRSntNNl9JPnNJFi75UnM9ZodVKksg8kM45jc09e6ZHltFBk883gbRBh7pDk9EwcaBzn784g7dKkcY2i81Om9M7j85Llc81is09g7Q4grY/j9A0eqxKmdFFltBEjcXf6fFImdBCiLxJl9FGlNFBi78yiMxVndEvbpo6js74+vx+psPP3+o/ks5HkcpGmNCjwdZCkNDM3ehYoNJEls+lxNkxh8xHks0+jdC1zd5Lg6r+/v/H2ufz9/o3jM3t8/edvdM/k89Th61OiLBSjbZklbaTt9BfptdjmL1AicBHj8hGk9FAgK1dkLNTjLRekrdClc/k7fM0icy0y9tgp9c4jc2NtM9Dlc8zicxeXZn3AAAAQ3RSTlMAHDdTb4yPA+LtnEQmC4L2EmHqB7XA0d0sr478x4/Yd5i1zOfyPkf1sLVq4Nh3FvjxopQ2/STNuFzUwFIwxKaejILpIBEV9wAABhVJREFUeF6s1NdyFEcYBeBeoQIhRAkLlRDGrhIgY3BJL8CVeKzuyXFzzjkn5ZxzzuScg3PO8cKzu70JkO0LfxdTU//pM9vTu7Xgf6KqOVTb9X7toRrVEfBf1HTVjZccrT/2by1VV928Yty9ZbVuucdz90frG8DBjl9pVApbOstvmMuvVgaNXSfAAd6pGxpy6yxf5ph43pS/4f3uoaGm2rdu72S9xzOvMymkZFq/ptDrk90mhW7e4zl7HLzhxGWPR20xmSxJ/VqldG5m9XhaVOA1DadsNh3Pu5L2N6QtPO/32JpqQBVVk20oy/Pi2s23WEvyfHbe1thadVQttvm7Llf65gGmXK67XtupyoM7HQhmXdLS8oGWJNeOJ3C5fG5XCEJnkez3/oFdsvgJ4l2ANZwhrJKk/7OSXa+3Vw2WJMlKnGkobouYk6T0TyX30klOUnTD9HJ5qpckL3EW/w4XF3Xd0FGywXUrstrclVsqz5Pd/sXFYyDnPdrLcQODmGOK47IZb4CmibmMn+MYRzFZ5jg33ZL/EJrWcszHmANy3ARBK/IXtciJy8VsitPSdE3uuHxzougojcUdr8/32atnz/ev3f/K5wtpxUTpcaI45zusVDpYtZi+jg0oU9b3x74h7+n9ABvYEZeKaVq0sh0AtLKsFtqNBdeT0MrSzwwlq9+x6xAO4tgOtSzbCjrNQQiNvQUbUEubvzBUeGw26yDCsRHCoLkTHDa7IdOLIThs/gHvChszh2CimE8peRs47cxANI0lYNB5y1DljpOF0IhzBDPOZnDOqYYbeGKECbPzWnXludPphw5c2YBq5zlwXphIbO4VDCZ0gnPfUO1TwZoYwAs2ExPCedAu9DAjfQUjzITQb3jNj0KG2Sgt6BHaQUdYzWz+XmBktOHwanXjaSTcwwziBcuMOtwBmqPrTOxFQR/DRKKPqyur0aiW6cULYsx6tBm0jXpR/AUWR6HRq9WVW6MRhIq5jLyjbaCTDCijyYJNpCajdyobP/eTw0iexBAKkJ3gA5KcQb2zBXsIBckn+xVv8jkZSaEFHE+jFEleAEfayRU0MouNoBmB/L50Ai/HSLIHxcrpCvnhSQAuakKp2C/YbCylJjXRVy/z3+Kv/RrNcCo+WUzlVEhzKffnTQnxeN9fWF88fiNCUdSTsaufaChKWInHeysygfpIqagoakW+vV20J8uyl6TyNKEZWV4oRSPyCkWpgOLSbkCObT8o2r6tlG58HQquf6O0v50tB7JM7F4EORd2dx/K0w/KHsVkLPaoYrwgP/y7krr3SSMA4zj+OBgmjYkxcdIJQyQRKgg2viX9Hddi9UBb29LrKR7CVVEEEXWojUkXNyfTNDE14W9gbHJNuhjDettN3ZvbOvdOqCD3Jp/9l+/wJE+9PkYGjx/fqkys3S2rMozM/o2106rfMUINo6hVqz+eu/hd1c4xTg0TAfy5kV+4UG6+IthHTU9woWmxuKNbTfuCSfovBCxq7EtHqvYL4Sm6F8GVxsSXHMQ07TOi1DKtZxjWaaIyi4CXWjxPccUw8WVbMYY5wxC1mzEyXMJWkllpRloi+Kkoq69sxBTlElF6aAxYUbjXNlhlDZilDnM4U5SlN5biRsRHnbx3mbeWjEh4mEyiuJDl5XcWVmX5GvNkFgLWZM5qwsop4/AWfLhU1cR7k1VVvcYCWRkOI6Xy5gmnphCYIkvzuNYzHzosq2oNk2RtSs8khfUOfHIDgR6ysYBaMpl4uEgk2U/oJTs9AaTSwma7dT69geAE2ZpEjUsn2ieJNHeKfrI3EcAGJ2ZaNgVuC8EBctCLc57P5u5led6IOBkIYkuQMrmmjChs4VkfOerHqSBkPzZlhe06RslZ3zMjk2sscqKwY0RcjKK+LWbzd7KiHhkncs/siFJ+V5eXxD34B8nVuJEpGJNmxN2gH3vSvp7J70tF+D1Ej8qUJD1TkErAND2GZwTFg/LubvmgiBG3SOvdlsqFQrkEzJCL1rstlnVFROixZoDDSuXQFHESwVGlcuQcMb/b42NgjLowh5MTDFE3vNB5qStRIErdCQEh6pLPR92anSUb/wAIhldAaDMpGgAAAABJRU5ErkJggg==", ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
6413
|
+
__proto__: null,
|
6414
|
+
default: Mo
|
6415
|
+
}, Symbol.toStringTag, { value: "Module" })), Oo = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=", ia = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
6414
6416
|
__proto__: null,
|
6415
6417
|
default: Oo
|
6416
|
-
}, Symbol.toStringTag, { value: "Module" })), So = "data:image/png;base64,
|
6418
|
+
}, Symbol.toStringTag, { value: "Module" })), So = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAQAAAACach9AAACMUlEQVR4Ae3ShY7jQBAE0Aoz/f9/HTMzhg1zrdKUrJbdx+Kd2nD8VNudfsL/Th///dyQN2TH6f3y/BGpC379rV+S+qqetBOxImNQXL8JCAr2V4iMQXHGNJxeCfZXhSRBcQMfvkOWUdtfzlLgAENmZDcmo2TVmt8OSM2eXxBp3DjHSMFutqS7SbmemzBiR+xpKCNUIRkdkkYxhAkyGoBvyQFEJEefwSmmvBfJuJ6aKqKWnAkvGZOaZXTUgFqYULWNSHUckZuR1HIIimUExutRxwzOLROIG4vKmCKQt364mIlhSyzAf1m9lHZHJZrlAOMMztRRiKimp/rpdJDc9Awry5xTZCte7FHtuS8wJgeYGrex28xNTd086Dik7vUMscQOa8y4DoGtCCSkAKlNwpgNtphjrC6MIHUkR6YWxxs6Sc5xqn222mmCRFzIt8lEdKx+ikCtg91qS2WpwVfBelJCiQJwvzixfI9cxZQWgiSJelKnwBElKYtDOb2MFbhmUigbReQBV0Cg4+qMXSxXSyGUn4UbF8l+7qdSGnTC0XLCmahIgUHLhLOhpVCtw4CzYXvLQWQbJNmxoCsOKAxSgBJno75avolkRw8iIAFcsdc02e9iyCd8tHwmeSSoKTowIgvscSGZUOA7PuCN5b2BX9mQM7S0wYhMNU74zgsPBj3HU7wguAfnxxjFQGBE6pwN+GjME9zHY7zGp8wVxMShYX9NXvEWD3HbwJf4giO4CFIQxXScH1/TM+04kkBiAAAAAElFTkSuQmCC", na = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
6417
6419
|
__proto__: null,
|
6418
6420
|
default: So
|
6419
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
6420
|
-
|
6421
|
-
|
6422
|
-
},
|
6423
|
-
for (const h of Object.keys(l))
|
6424
|
-
r.on(h, l[h]);
|
6425
|
-
}, ko = (r) => {
|
6421
|
+
}, Symbol.toStringTag, { value: "Module" })), wo = (r, l) => {
|
6422
|
+
for (const a of Object.keys(l))
|
6423
|
+
r.on(a, l[a]);
|
6424
|
+
}, Co = (r) => {
|
6426
6425
|
for (const l of Object.keys(r)) {
|
6427
|
-
const
|
6428
|
-
|
6426
|
+
const a = r[l];
|
6427
|
+
a && Jt(a.cancel) && a.cancel();
|
6429
6428
|
}
|
6430
|
-
},
|
6431
|
-
for (const d in
|
6432
|
-
const p = "set" +
|
6433
|
-
r[p] ?
|
6434
|
-
() =>
|
6429
|
+
}, oa = (r) => !r || typeof r.charAt != "function" ? r : r.charAt(0).toUpperCase() + r.slice(1), Jt = (r) => typeof r == "function", Wt = (r, l, a) => {
|
6430
|
+
for (const d in a) {
|
6431
|
+
const p = "set" + oa(d);
|
6432
|
+
r[p] ? go(
|
6433
|
+
() => a[d],
|
6435
6434
|
(m, g) => {
|
6436
6435
|
r[p](m, g);
|
6437
6436
|
}
|
6438
|
-
) : l[p] &&
|
6439
|
-
() =>
|
6437
|
+
) : l[p] && go(
|
6438
|
+
() => a[d],
|
6440
6439
|
(m) => {
|
6441
6440
|
l[p](m);
|
6442
6441
|
}
|
6443
6442
|
);
|
6444
6443
|
}
|
6445
|
-
}, Qt = (r, l,
|
6446
|
-
const d = { ...
|
6444
|
+
}, Qt = (r, l, a = {}) => {
|
6445
|
+
const d = { ...a };
|
6447
6446
|
for (const p in r) {
|
6448
6447
|
const m = l[p], g = r[p];
|
6449
6448
|
m && (m && m.custom === !0 || g !== void 0 && (d[p] = g));
|
6450
6449
|
}
|
6451
6450
|
return d;
|
6452
6451
|
}, re = (r) => {
|
6453
|
-
const l = {},
|
6452
|
+
const l = {}, a = {};
|
6454
6453
|
for (const d in r)
|
6455
6454
|
if (d.startsWith("on") && !d.startsWith("onUpdate") && d !== "onReady") {
|
6456
6455
|
const p = d.slice(2).toLocaleLowerCase();
|
6457
6456
|
l[p] = r[d];
|
6458
6457
|
} else
|
6459
|
-
|
6460
|
-
return { listeners: l, attrs:
|
6461
|
-
},
|
6458
|
+
a[d] = r[d];
|
6459
|
+
return { listeners: l, attrs: a };
|
6460
|
+
}, sa = async (r) => {
|
6462
6461
|
const l = await Promise.all([
|
6462
|
+
Promise.resolve().then(() => ea),
|
6463
6463
|
Promise.resolve().then(() => ia),
|
6464
|
-
Promise.resolve().then(() => na)
|
6465
|
-
Promise.resolve().then(() => oa)
|
6464
|
+
Promise.resolve().then(() => na)
|
6466
6465
|
]);
|
6467
6466
|
delete r.Default.prototype._getIconUrl, r.Default.mergeOptions({
|
6468
6467
|
iconRetinaUrl: l[0].default,
|
@@ -6472,8 +6471,8 @@ const Mt = /* @__PURE__ */ xr(ci), ea = /* @__PURE__ */ Xr({
|
|
6472
6471
|
}, hi = (r) => {
|
6473
6472
|
const l = st(
|
6474
6473
|
(...d) => console.warn(`Method ${r} has been invoked without being replaced`)
|
6475
|
-
),
|
6476
|
-
return
|
6474
|
+
), a = (...d) => l.value(...d);
|
6475
|
+
return a.wrapped = l, Ft(r, a), a;
|
6477
6476
|
}, 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
6477
|
const l = Vt(r);
|
6479
6478
|
if (l === void 0)
|
@@ -6483,13 +6482,13 @@ const Mt = /* @__PURE__ */ xr(ci), ea = /* @__PURE__ */ Xr({
|
|
6483
6482
|
return l;
|
6484
6483
|
}, Ut = Symbol(
|
6485
6484
|
"useGlobalLeaflet"
|
6486
|
-
), Re = Symbol("addLayer"),
|
6485
|
+
), Re = Symbol("addLayer"), ko = Symbol("removeLayer"), en = Symbol(
|
6487
6486
|
"registerControl"
|
6488
|
-
),
|
6487
|
+
), ra = Symbol(
|
6489
6488
|
"registerLayerControl"
|
6490
|
-
),
|
6489
|
+
), zo = Symbol(
|
6491
6490
|
"canSetParentHtml"
|
6492
|
-
),
|
6491
|
+
), Ao = Symbol("setParentHtml"), Eo = Symbol("setIcon"), Bo = Symbol("bindPopup"), Io = Symbol("bindTooltip"), Zo = Symbol("unbindPopup"), Ro = Symbol("unbindTooltip"), Ne = {
|
6493
6492
|
options: {
|
6494
6493
|
type: Object,
|
6495
6494
|
default: () => ({}),
|
@@ -6516,8 +6515,8 @@ const Mt = /* @__PURE__ */ xr(ci), ea = /* @__PURE__ */ Xr({
|
|
6516
6515
|
custom: !0,
|
6517
6516
|
default: !0
|
6518
6517
|
}
|
6519
|
-
},
|
6520
|
-
const d = mt(Re), p = mt(
|
6518
|
+
}, No = (r, l, a) => {
|
6519
|
+
const d = mt(Re), p = mt(ko), { options: m, methods: g } = De(r), T = Qt(
|
6521
6520
|
r,
|
6522
6521
|
ye,
|
6523
6522
|
m
|
@@ -6560,16 +6559,16 @@ const Mt = /* @__PURE__ */ xr(ci), ea = /* @__PURE__ */ Xr({
|
|
6560
6559
|
l.value && (Jt(l.value.closePopup) && l.value.closePopup(), Jt(l.value.unbindPopup) && l.value.unbindPopup());
|
6561
6560
|
},
|
6562
6561
|
updateVisibleProp(b) {
|
6563
|
-
|
6562
|
+
a.emit("update:visible", b);
|
6564
6563
|
}
|
6565
6564
|
};
|
6566
|
-
return
|
6565
|
+
return Ft(Bo, x.bindPopup), Ft(Io, x.bindTooltip), Ft(Zo, x.unbindPopup), Ft(Ro, x.unbindTooltip), $i(() => {
|
6567
6566
|
x.unbindPopup(), x.unbindTooltip(), E();
|
6568
6567
|
}), { options: T, methods: x };
|
6569
|
-
},
|
6568
|
+
}, aa = (r, l) => {
|
6570
6569
|
if (r && l.default)
|
6571
6570
|
return se("div", { style: { display: "none" } }, l.default());
|
6572
|
-
},
|
6571
|
+
}, ha = {
|
6573
6572
|
...ye,
|
6574
6573
|
interactive: {
|
6575
6574
|
type: Boolean,
|
@@ -6579,8 +6578,8 @@ const Mt = /* @__PURE__ */ xr(ci), ea = /* @__PURE__ */ Xr({
|
|
6579
6578
|
type: Boolean,
|
6580
6579
|
default: void 0
|
6581
6580
|
}
|
6582
|
-
},
|
6583
|
-
...
|
6581
|
+
}, Do = {
|
6582
|
+
...ha,
|
6584
6583
|
stroke: {
|
6585
6584
|
type: Boolean,
|
6586
6585
|
default: void 0
|
@@ -6622,8 +6621,8 @@ const Mt = /* @__PURE__ */ xr(ci), ea = /* @__PURE__ */ Xr({
|
|
6622
6621
|
className: {
|
6623
6622
|
type: String
|
6624
6623
|
}
|
6625
|
-
},
|
6626
|
-
...
|
6624
|
+
}, la = {
|
6625
|
+
...Do,
|
6627
6626
|
/**
|
6628
6627
|
* Radius of the marker in pixels.
|
6629
6628
|
*/
|
@@ -6637,18 +6636,18 @@ const Mt = /* @__PURE__ */ xr(ci), ea = /* @__PURE__ */ Xr({
|
|
6637
6636
|
}
|
6638
6637
|
};
|
6639
6638
|
({
|
6640
|
-
...
|
6639
|
+
...la
|
6641
6640
|
});
|
6642
6641
|
const we = {
|
6643
6642
|
...Ne,
|
6644
6643
|
position: {
|
6645
6644
|
type: String
|
6646
6645
|
}
|
6647
|
-
},
|
6648
|
-
const { options:
|
6646
|
+
}, Ho = (r, l) => {
|
6647
|
+
const { options: a, methods: d } = De(r), p = Qt(
|
6649
6648
|
r,
|
6650
6649
|
we,
|
6651
|
-
|
6650
|
+
a
|
6652
6651
|
), m = {
|
6653
6652
|
...d,
|
6654
6653
|
setPosition(g) {
|
@@ -6658,7 +6657,7 @@ const we = {
|
|
6658
6657
|
return $i(() => {
|
6659
6658
|
l.value && l.value.remove();
|
6660
6659
|
}), { options: p, methods: m };
|
6661
|
-
},
|
6660
|
+
}, ua = (r) => r.default ? se("div", { ref: "root" }, r.default()) : null, ca = Pt({
|
6662
6661
|
name: "LControl",
|
6663
6662
|
props: {
|
6664
6663
|
...we,
|
@@ -6674,18 +6673,18 @@ const we = {
|
|
6674
6673
|
}
|
6675
6674
|
},
|
6676
6675
|
setup(r, l) {
|
6677
|
-
const
|
6678
|
-
return
|
6676
|
+
const a = st(), d = st(), p = Vt(Ut), m = mt(en), { options: g, methods: T } = Ho(r, a);
|
6677
|
+
return Bt(async () => {
|
6679
6678
|
const { Control: v, DomEvent: E } = p ? Ot.L : await import("./revolugo.leaflet-src.esm.DBQWLG1M.min.js"), x = v.extend({
|
6680
6679
|
onAdd() {
|
6681
6680
|
return d.value;
|
6682
6681
|
}
|
6683
6682
|
});
|
6684
|
-
|
6685
|
-
}), { root: d, leafletObject:
|
6683
|
+
a.value = Xt(new x(g)), Wt(T, a.value, r), m({ leafletObject: a.value }), r.disableClickPropagation && d.value && E.disableClickPropagation(d.value), r.disableScrollPropagation && d.value && E.disableScrollPropagation(d.value), Et(() => l.emit("ready", a.value));
|
6684
|
+
}), { root: d, leafletObject: a };
|
6686
6685
|
},
|
6687
6686
|
render() {
|
6688
|
-
return
|
6687
|
+
return ua(this.$slots);
|
6689
6688
|
}
|
6690
6689
|
});
|
6691
6690
|
({
|
@@ -6697,7 +6696,7 @@ const we = {
|
|
6697
6696
|
({
|
6698
6697
|
...we
|
6699
6698
|
});
|
6700
|
-
const
|
6699
|
+
const Fo = {
|
6701
6700
|
...we,
|
6702
6701
|
zoomInText: {
|
6703
6702
|
type: String
|
@@ -6711,39 +6710,39 @@ const Vo = {
|
|
6711
6710
|
zoomOutTitle: {
|
6712
6711
|
type: String
|
6713
6712
|
}
|
6714
|
-
},
|
6715
|
-
const { options:
|
6713
|
+
}, da = (r, l) => {
|
6714
|
+
const { options: a, methods: d } = Ho(
|
6716
6715
|
r,
|
6717
6716
|
l
|
6718
6717
|
);
|
6719
6718
|
return { options: Qt(
|
6720
6719
|
r,
|
6721
|
-
|
6722
|
-
|
6720
|
+
Fo,
|
6721
|
+
a
|
6723
6722
|
), methods: d };
|
6724
|
-
},
|
6723
|
+
}, fa = Pt({
|
6725
6724
|
name: "LControlZoom",
|
6726
|
-
props:
|
6725
|
+
props: Fo,
|
6727
6726
|
setup(r, l) {
|
6728
|
-
const
|
6729
|
-
return
|
6727
|
+
const a = st(), d = Vt(Ut), p = mt(en), { options: m, methods: g } = da(r, a);
|
6728
|
+
return Bt(async () => {
|
6730
6729
|
const { control: T } = d ? Ot.L : await import("./revolugo.leaflet-src.esm.DBQWLG1M.min.js");
|
6731
|
-
|
6732
|
-
}), { leafletObject:
|
6730
|
+
a.value = Xt(T.zoom(m)), Wt(g, a.value, r), p({ leafletObject: a.value }), Et(() => l.emit("ready", a.value));
|
6731
|
+
}), { leafletObject: a };
|
6733
6732
|
},
|
6734
6733
|
render() {
|
6735
6734
|
return null;
|
6736
6735
|
}
|
6737
|
-
}),
|
6736
|
+
}), Vo = {
|
6738
6737
|
...ye
|
6739
6738
|
};
|
6740
6739
|
({
|
6741
|
-
...
|
6740
|
+
...Vo
|
6742
6741
|
});
|
6743
6742
|
({
|
6744
|
-
...
|
6743
|
+
...Vo
|
6745
6744
|
});
|
6746
|
-
const
|
6745
|
+
const nn = {
|
6747
6746
|
...ye,
|
6748
6747
|
opacity: {
|
6749
6748
|
type: Number
|
@@ -6767,14 +6766,14 @@ const on = {
|
|
6767
6766
|
className: {
|
6768
6767
|
type: String
|
6769
6768
|
}
|
6770
|
-
},
|
6771
|
-
const { options: d, methods: p } =
|
6769
|
+
}, Wo = (r, l, a) => {
|
6770
|
+
const { options: d, methods: p } = No(
|
6772
6771
|
r,
|
6773
6772
|
l,
|
6774
|
-
|
6773
|
+
a
|
6775
6774
|
), m = Qt(
|
6776
6775
|
r,
|
6777
|
-
|
6776
|
+
nn,
|
6778
6777
|
d
|
6779
6778
|
), g = {
|
6780
6779
|
...p,
|
@@ -6786,15 +6785,15 @@ const on = {
|
|
6786
6785
|
return $i(() => {
|
6787
6786
|
l.value.off();
|
6788
6787
|
}), { options: m, methods: g };
|
6789
|
-
},
|
6788
|
+
}, pa = (r, l, a, d) => r.extend({
|
6790
6789
|
initialize(p) {
|
6791
|
-
this.tileComponents = {}, this.on("tileunload", this._unloadTile),
|
6790
|
+
this.tileComponents = {}, this.on("tileunload", this._unloadTile), a.setOptions(this, p);
|
6792
6791
|
},
|
6793
6792
|
createTile(p) {
|
6794
6793
|
const m = this._tileCoordsToKey(p);
|
6795
6794
|
this.tileComponents[m] = l.create("div");
|
6796
6795
|
const g = se({ setup: d, props: ["coords"] }, { coords: p });
|
6797
|
-
return
|
6796
|
+
return Tr(g, this.tileComponents[m]), this.tileComponents[m];
|
6798
6797
|
},
|
6799
6798
|
_unloadTile(p) {
|
6800
6799
|
const m = this._tileCoordsToKey(p.coords);
|
@@ -6803,35 +6802,35 @@ const on = {
|
|
6803
6802
|
});
|
6804
6803
|
Pt({
|
6805
6804
|
props: {
|
6806
|
-
...
|
6805
|
+
...nn,
|
6807
6806
|
childRender: {
|
6808
6807
|
type: Function,
|
6809
6808
|
required: !0
|
6810
6809
|
}
|
6811
6810
|
},
|
6812
6811
|
setup(r, l) {
|
6813
|
-
const
|
6814
|
-
return
|
6815
|
-
const { GridLayer: E, DomUtil: x, Util: b } = m ? Ot.L : await import("./revolugo.leaflet-src.esm.DBQWLG1M.min.js"), H =
|
6812
|
+
const a = st(), d = st(null), p = st(!1), m = Vt(Ut), g = mt(Re), { options: T, methods: v } = Wo(r, a, l);
|
6813
|
+
return Bt(async () => {
|
6814
|
+
const { GridLayer: E, DomUtil: x, Util: b } = m ? Ot.L : await import("./revolugo.leaflet-src.esm.DBQWLG1M.min.js"), H = pa(
|
6816
6815
|
E,
|
6817
6816
|
x,
|
6818
6817
|
b,
|
6819
6818
|
r.childRender
|
6820
6819
|
);
|
6821
|
-
|
6820
|
+
a.value = Xt(new H(T));
|
6822
6821
|
const { listeners: R } = re(l.attrs);
|
6823
|
-
|
6822
|
+
a.value.on(R), Wt(v, a.value, r), g({
|
6824
6823
|
...r,
|
6825
6824
|
...v,
|
6826
|
-
leafletObject:
|
6827
|
-
}), p.value = !0, Et(() => l.emit("ready",
|
6828
|
-
}), { root: d, ready: p, leafletObject:
|
6825
|
+
leafletObject: a.value
|
6826
|
+
}), p.value = !0, Et(() => l.emit("ready", a.value));
|
6827
|
+
}), { root: d, ready: p, leafletObject: a };
|
6829
6828
|
},
|
6830
6829
|
render() {
|
6831
6830
|
return this.ready ? se("div", { style: { display: "none" }, ref: "root" }) : null;
|
6832
6831
|
}
|
6833
6832
|
});
|
6834
|
-
const
|
6833
|
+
const bo = {
|
6835
6834
|
iconUrl: {
|
6836
6835
|
type: String
|
6837
6836
|
},
|
@@ -6868,14 +6867,14 @@ const Lo = {
|
|
6868
6867
|
className: {
|
6869
6868
|
type: String
|
6870
6869
|
}
|
6871
|
-
},
|
6870
|
+
}, ma = Pt({
|
6872
6871
|
name: "LIcon",
|
6873
6872
|
props: {
|
6874
|
-
...
|
6873
|
+
...bo,
|
6875
6874
|
...Ne
|
6876
6875
|
},
|
6877
6876
|
setup(r, l) {
|
6878
|
-
const
|
6877
|
+
const a = st(), d = Vt(Ut), p = mt(zo), m = mt(Ao), g = mt(Eo);
|
6879
6878
|
let T, v, E, x, b;
|
6880
6879
|
const H = (ct, q, X) => {
|
6881
6880
|
const V = ct && ct.innerHTML;
|
@@ -6887,14 +6886,14 @@ const Lo = {
|
|
6887
6886
|
b && v(b, w);
|
6888
6887
|
const { options: rt } = De(r), at = Qt(
|
6889
6888
|
r,
|
6890
|
-
|
6889
|
+
bo,
|
6891
6890
|
rt
|
6892
6891
|
);
|
6893
6892
|
V && (at.html = V), b = at.html ? E(at) : x(at), T(b, w), g(b);
|
6894
6893
|
}, R = () => {
|
6895
|
-
Et(() => H(
|
6894
|
+
Et(() => H(a.value, !0, !1));
|
6896
6895
|
}, G = () => {
|
6897
|
-
Et(() => H(
|
6896
|
+
Et(() => H(a.value, !1, !0));
|
6898
6897
|
}, N = {
|
6899
6898
|
setIconUrl: R,
|
6900
6899
|
setIconRetinaUrl: R,
|
@@ -6909,19 +6908,19 @@ const Lo = {
|
|
6909
6908
|
setClassName: R,
|
6910
6909
|
setHtml: R
|
6911
6910
|
};
|
6912
|
-
return
|
6911
|
+
return Bt(async () => {
|
6913
6912
|
const {
|
6914
6913
|
DomEvent: ct,
|
6915
6914
|
divIcon: q,
|
6916
6915
|
icon: X
|
6917
6916
|
} = 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(
|
6917
|
+
T = ct.on, v = ct.off, E = q, x = X, Wt(N, {}, r), new MutationObserver(G).observe(a.value, {
|
6919
6918
|
attributes: !0,
|
6920
6919
|
childList: !0,
|
6921
6920
|
characterData: !0,
|
6922
6921
|
subtree: !0
|
6923
6922
|
}), R();
|
6924
|
-
}), { root:
|
6923
|
+
}), { root: a };
|
6925
6924
|
},
|
6926
6925
|
render() {
|
6927
6926
|
const r = this.$slots.default ? this.$slots.default() : void 0;
|
@@ -6931,10 +6930,10 @@ const Lo = {
|
|
6931
6930
|
({
|
6932
6931
|
...ye
|
6933
6932
|
});
|
6934
|
-
function
|
6933
|
+
function Uo(r, l, a) {
|
6935
6934
|
var d, p, m;
|
6936
|
-
l === void 0 && (l = 50),
|
6937
|
-
var g = (d =
|
6935
|
+
l === void 0 && (l = 50), a === void 0 && (a = {});
|
6936
|
+
var g = (d = a.isImmediate) != null && d, T = (p = a.callback) != null && p, v = a.maxWait, E = Date.now(), x = [];
|
6938
6937
|
function b() {
|
6939
6938
|
if (v !== void 0) {
|
6940
6939
|
var R = Date.now() - E;
|
@@ -6967,7 +6966,7 @@ function qo(r, l, h) {
|
|
6967
6966
|
}), x = [];
|
6968
6967
|
}, H;
|
6969
6968
|
}
|
6970
|
-
const
|
6969
|
+
const Lo = {
|
6971
6970
|
...Ne,
|
6972
6971
|
/**
|
6973
6972
|
* The center of the map, supports .sync modifier
|
@@ -7079,23 +7078,23 @@ const Po = {
|
|
7079
7078
|
default: !0,
|
7080
7079
|
custom: !0
|
7081
7080
|
}
|
7082
|
-
},
|
7081
|
+
}, _a = Pt({
|
7083
7082
|
inheritAttrs: !1,
|
7084
7083
|
emits: ["ready", "update:zoom", "update:center", "update:bounds"],
|
7085
|
-
props:
|
7084
|
+
props: Lo,
|
7086
7085
|
setup(r, l) {
|
7087
|
-
const
|
7086
|
+
const a = st(), d = xr({
|
7088
7087
|
ready: !1,
|
7089
7088
|
layersToAdd: [],
|
7090
7089
|
layersInControl: []
|
7091
7090
|
}), { options: p } = De(r), m = Qt(
|
7092
7091
|
r,
|
7093
|
-
|
7092
|
+
Lo,
|
7094
7093
|
p
|
7095
|
-
), { listeners: g, attrs: T } = re(l.attrs), v = hi(Re), E = hi(
|
7096
|
-
|
7094
|
+
), { listeners: g, attrs: T } = re(l.attrs), v = hi(Re), E = hi(ko), x = hi(en), b = hi(
|
7095
|
+
ra
|
7097
7096
|
);
|
7098
|
-
|
7097
|
+
Ft(Ut, r.useGlobalLeaflet);
|
7099
7098
|
const H = ri(() => {
|
7100
7099
|
const q = {};
|
7101
7100
|
return r.noBlockingAnimations && (q.animate = !1), q;
|
@@ -7103,7 +7102,7 @@ const Po = {
|
|
7103
7102
|
const q = H.value;
|
7104
7103
|
return r.padding && (q.padding = r.padding), r.paddingTopLeft && (q.paddingTopLeft = r.paddingTopLeft), r.paddingBottomRight && (q.paddingBottomRight = r.paddingBottomRight), q;
|
7105
7104
|
}), G = {
|
7106
|
-
moveend:
|
7105
|
+
moveend: Uo((q) => {
|
7107
7106
|
d.leafletRef && (l.emit("update:zoom", d.leafletRef.getZoom()), l.emit("update:center", d.leafletRef.getCenter()), l.emit("update:bounds", d.leafletRef.getBounds()));
|
7108
7107
|
}),
|
7109
7108
|
overlayadd(q) {
|
@@ -7115,8 +7114,8 @@ const Po = {
|
|
7115
7114
|
X && X.updateVisibleProp(!1);
|
7116
7115
|
}
|
7117
7116
|
};
|
7118
|
-
|
7119
|
-
r.useGlobalLeaflet && (Ot.L = Ot.L || await Promise.resolve().then(() =>
|
7117
|
+
Bt(async () => {
|
7118
|
+
r.useGlobalLeaflet && (Ot.L = Ot.L || await Promise.resolve().then(() => ta));
|
7120
7119
|
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
7120
|
try {
|
7122
7121
|
m.beforeMapMount && await m.beforeMapMount();
|
@@ -7125,7 +7124,7 @@ const Po = {
|
|
7125
7124
|
`The following error occurred running the provided beforeMapMount hook ${z.message}`
|
7126
7125
|
);
|
7127
7126
|
}
|
7128
|
-
await
|
7127
|
+
await sa(V);
|
7129
7128
|
const He = typeof m.crs == "string" ? X[m.crs] : m.crs;
|
7130
7129
|
m.crs = He || X.EPSG3857;
|
7131
7130
|
const qt = {
|
@@ -7176,12 +7175,12 @@ const Po = {
|
|
7176
7175
|
(nt.lat !== j.lat || nt.lng !== j.lng) && (d.lastSetCenter = j, d.leafletRef.panTo(j, H.value));
|
7177
7176
|
}
|
7178
7177
|
};
|
7179
|
-
li(v, qt.addLayer), li(E, qt.removeLayer), li(x, qt.registerControl), li(b, qt.registerLayerControl), d.leafletRef = Xt(q(
|
7178
|
+
li(v, qt.addLayer), li(E, qt.removeLayer), li(x, qt.registerControl), li(b, qt.registerLayerControl), d.leafletRef = Xt(q(a.value, m)), Wt(qt, d.leafletRef, r), wo(d.leafletRef, G), wo(d.leafletRef, g), d.ready = !0, Et(() => l.emit("ready", d.leafletRef));
|
7180
7179
|
}), ui(() => {
|
7181
|
-
|
7180
|
+
Co(G), d.leafletRef && (d.leafletRef.off(), d.leafletRef.remove());
|
7182
7181
|
});
|
7183
7182
|
const N = ri(() => d.leafletRef), ct = ri(() => d.ready);
|
7184
|
-
return { root:
|
7183
|
+
return { root: a, ready: ct, leafletObject: N, attrs: T };
|
7185
7184
|
},
|
7186
7185
|
render({ attrs: r }) {
|
7187
7186
|
return r.style || (r.style = {}), r.style.width || (r.style.width = "100%"), r.style.height || (r.style.height = "100%"), se(
|
@@ -7193,7 +7192,7 @@ const Po = {
|
|
7193
7192
|
this.ready && this.$slots.default ? this.$slots.default() : {}
|
7194
7193
|
);
|
7195
7194
|
}
|
7196
|
-
}),
|
7195
|
+
}), ga = ["Symbol(Comment)", "Symbol(Text)"], va = ["LTooltip", "LPopup"], qo = {
|
7197
7196
|
...ye,
|
7198
7197
|
draggable: {
|
7199
7198
|
type: Boolean,
|
@@ -7210,14 +7209,14 @@ const Po = {
|
|
7210
7209
|
custom: !0,
|
7211
7210
|
required: !0
|
7212
7211
|
}
|
7213
|
-
},
|
7214
|
-
const { options: d, methods: p } =
|
7212
|
+
}, ya = (r, l, a) => {
|
7213
|
+
const { options: d, methods: p } = No(
|
7215
7214
|
r,
|
7216
7215
|
l,
|
7217
|
-
|
7216
|
+
a
|
7218
7217
|
), m = Qt(
|
7219
7218
|
r,
|
7220
|
-
|
7219
|
+
qo,
|
7221
7220
|
d
|
7222
7221
|
), g = {
|
7223
7222
|
...p,
|
@@ -7225,7 +7224,7 @@ const Po = {
|
|
7225
7224
|
l.value.dragging && (T ? l.value.dragging.enable() : l.value.dragging.disable());
|
7226
7225
|
},
|
7227
7226
|
latLngSync(T) {
|
7228
|
-
|
7227
|
+
a.emit("update:latLng", T.latlng), a.emit("update:lat-lng", T.latlng);
|
7229
7228
|
},
|
7230
7229
|
setLatLng(T) {
|
7231
7230
|
if (T != null && l.value) {
|
@@ -7235,54 +7234,54 @@ const Po = {
|
|
7235
7234
|
}
|
7236
7235
|
};
|
7237
7236
|
return { options: m, methods: g };
|
7238
|
-
},
|
7239
|
-
const
|
7240
|
-
return
|
7237
|
+
}, wa = (r, l) => {
|
7238
|
+
const a = l.slots.default && l.slots.default();
|
7239
|
+
return a && a.length && a.some(ba);
|
7241
7240
|
};
|
7242
|
-
function
|
7243
|
-
return !(
|
7241
|
+
function ba(r) {
|
7242
|
+
return !(ga.includes(r.type.toString()) || va.includes(r.type.name));
|
7244
7243
|
}
|
7245
|
-
const
|
7244
|
+
const La = Pt({
|
7246
7245
|
name: "LMarker",
|
7247
|
-
props:
|
7246
|
+
props: qo,
|
7248
7247
|
setup(r, l) {
|
7249
|
-
const
|
7250
|
-
|
7251
|
-
|
7248
|
+
const a = st(), d = st(!1), p = Vt(Ut), m = mt(Re);
|
7249
|
+
Ft(
|
7250
|
+
zo,
|
7252
7251
|
() => {
|
7253
7252
|
var E;
|
7254
|
-
return !!((E =
|
7253
|
+
return !!((E = a.value) != null && E.getElement());
|
7255
7254
|
}
|
7256
|
-
),
|
7255
|
+
), Ft(Ao, (E) => {
|
7257
7256
|
var x, b;
|
7258
|
-
const H = Jt((x =
|
7257
|
+
const H = Jt((x = a.value) == null ? void 0 : x.getElement) && ((b = a.value) == null ? void 0 : b.getElement());
|
7259
7258
|
H && (H.innerHTML = E);
|
7260
|
-
}),
|
7261
|
-
|
7259
|
+
}), Ft(
|
7260
|
+
Eo,
|
7262
7261
|
(E) => {
|
7263
7262
|
var x;
|
7264
|
-
return ((x =
|
7263
|
+
return ((x = a.value) == null ? void 0 : x.setIcon) && a.value.setIcon(E);
|
7265
7264
|
}
|
7266
7265
|
);
|
7267
|
-
const { options: g, methods: T } =
|
7268
|
-
moveHandler:
|
7266
|
+
const { options: g, methods: T } = ya(r, a, l), v = {
|
7267
|
+
moveHandler: Uo(T.latLngSync)
|
7269
7268
|
};
|
7270
|
-
return
|
7269
|
+
return Bt(async () => {
|
7271
7270
|
const { marker: E, divIcon: x } = p ? Ot.L : await import("./revolugo.leaflet-src.esm.DBQWLG1M.min.js");
|
7272
|
-
|
7271
|
+
wa(g, l) && (g.icon = x({ className: "" })), a.value = Xt(E(r.latLng, g));
|
7273
7272
|
const { listeners: b } = re(l.attrs);
|
7274
|
-
|
7273
|
+
a.value.on(b), a.value.on("move", v.moveHandler), Wt(T, a.value, r), m({
|
7275
7274
|
...r,
|
7276
7275
|
...T,
|
7277
|
-
leafletObject:
|
7278
|
-
}), d.value = !0, Et(() => l.emit("ready",
|
7279
|
-
}), ui(() =>
|
7276
|
+
leafletObject: a.value
|
7277
|
+
}), d.value = !0, Et(() => l.emit("ready", a.value));
|
7278
|
+
}), ui(() => Co(v)), { ready: d, leafletObject: a };
|
7280
7279
|
},
|
7281
7280
|
render() {
|
7282
|
-
return
|
7281
|
+
return aa(this.ready, this.$slots);
|
7283
7282
|
}
|
7284
|
-
}),
|
7285
|
-
...
|
7283
|
+
}), Pa = {
|
7284
|
+
...Do,
|
7286
7285
|
smoothFactor: {
|
7287
7286
|
type: Number
|
7288
7287
|
},
|
@@ -7295,57 +7294,57 @@ const Pa = Pt({
|
|
7295
7294
|
required: !0,
|
7296
7295
|
custom: !0
|
7297
7296
|
}
|
7298
|
-
},
|
7299
|
-
...
|
7300
|
-
},
|
7297
|
+
}, Po = {
|
7298
|
+
...Pa
|
7299
|
+
}, jo = {
|
7301
7300
|
...Ne,
|
7302
7301
|
content: {
|
7303
7302
|
type: String,
|
7304
7303
|
default: null
|
7305
7304
|
}
|
7306
|
-
},
|
7307
|
-
const { options:
|
7305
|
+
}, Go = (r, l) => {
|
7306
|
+
const { options: a, methods: d } = De(r), p = {
|
7308
7307
|
...d,
|
7309
7308
|
setContent(m) {
|
7310
7309
|
l.value && m !== null && m !== void 0 && l.value.setContent(m);
|
7311
7310
|
}
|
7312
7311
|
};
|
7313
|
-
return { options:
|
7314
|
-
},
|
7315
|
-
...
|
7312
|
+
return { options: a, methods: p };
|
7313
|
+
}, Ko = (r) => r.default ? se("div", { ref: "root" }, r.default()) : null, xa = {
|
7314
|
+
...jo,
|
7316
7315
|
latLng: {
|
7317
7316
|
type: [Object, Array],
|
7318
7317
|
default: () => []
|
7319
7318
|
}
|
7320
|
-
},
|
7321
|
-
const { options:
|
7322
|
-
return { options:
|
7323
|
-
},
|
7319
|
+
}, Ta = (r, l) => {
|
7320
|
+
const { options: a, methods: d } = Go(r, l);
|
7321
|
+
return { options: a, methods: d };
|
7322
|
+
}, Ma = Pt({
|
7324
7323
|
name: "LPopup",
|
7325
|
-
props:
|
7324
|
+
props: xa,
|
7326
7325
|
setup(r, l) {
|
7327
|
-
const
|
7328
|
-
return
|
7326
|
+
const a = st(), d = st(null), p = Vt(Ut), m = mt(Bo), g = mt(Zo), { options: T, methods: v } = Ta(r, a);
|
7327
|
+
return Bt(async () => {
|
7329
7328
|
const { popup: E } = p ? Ot.L : await import("./revolugo.leaflet-src.esm.DBQWLG1M.min.js");
|
7330
|
-
|
7329
|
+
a.value = Xt(E(T)), r.latLng !== void 0 && a.value.setLatLng(r.latLng), Wt(v, a.value, r);
|
7331
7330
|
const { listeners: x } = re(l.attrs);
|
7332
|
-
|
7331
|
+
a.value.on(x), a.value.setContent(r.content || d.value || ""), m(a.value), Et(() => l.emit("ready", a.value));
|
7333
7332
|
}), ui(() => {
|
7334
7333
|
g();
|
7335
|
-
}), { root: d, leafletObject:
|
7334
|
+
}), { root: d, leafletObject: a };
|
7336
7335
|
},
|
7337
7336
|
render() {
|
7338
|
-
return
|
7337
|
+
return Ko(this.$slots);
|
7339
7338
|
}
|
7340
7339
|
});
|
7341
7340
|
({
|
7342
|
-
...
|
7341
|
+
...Po,
|
7343
7342
|
latLngs: {
|
7344
|
-
...
|
7343
|
+
...Po.latLngs
|
7345
7344
|
}
|
7346
7345
|
});
|
7347
|
-
const
|
7348
|
-
...
|
7346
|
+
const on = {
|
7347
|
+
...nn,
|
7349
7348
|
tms: {
|
7350
7349
|
type: Boolean,
|
7351
7350
|
default: void 0
|
@@ -7363,58 +7362,58 @@ const sn = {
|
|
7363
7362
|
required: !0,
|
7364
7363
|
custom: !0
|
7365
7364
|
}
|
7366
|
-
},
|
7367
|
-
const { options: d, methods: p } =
|
7365
|
+
}, Oa = (r, l, a) => {
|
7366
|
+
const { options: d, methods: p } = Wo(r, l, a), m = Qt(
|
7368
7367
|
r,
|
7369
|
-
|
7368
|
+
on,
|
7370
7369
|
d
|
7371
7370
|
), g = {
|
7372
7371
|
...p
|
7373
7372
|
};
|
7374
7373
|
return { options: m, methods: g };
|
7375
|
-
},
|
7376
|
-
props:
|
7374
|
+
}, Sa = Pt({
|
7375
|
+
props: on,
|
7377
7376
|
setup(r, l) {
|
7378
|
-
const
|
7379
|
-
return
|
7377
|
+
const a = st(), d = Vt(Ut), p = mt(Re), { options: m, methods: g } = Oa(r, a, l);
|
7378
|
+
return Bt(async () => {
|
7380
7379
|
const { tileLayer: T } = d ? Ot.L : await import("./revolugo.leaflet-src.esm.DBQWLG1M.min.js");
|
7381
|
-
|
7380
|
+
a.value = Xt(T(r.url, m));
|
7382
7381
|
const { listeners: v } = re(l.attrs);
|
7383
|
-
|
7382
|
+
a.value.on(v), Wt(g, a.value, r), p({
|
7384
7383
|
...r,
|
7385
7384
|
...g,
|
7386
|
-
leafletObject:
|
7387
|
-
}), Et(() => l.emit("ready",
|
7388
|
-
}), { leafletObject:
|
7385
|
+
leafletObject: a.value
|
7386
|
+
}), Et(() => l.emit("ready", a.value));
|
7387
|
+
}), { leafletObject: a };
|
7389
7388
|
},
|
7390
7389
|
render() {
|
7391
7390
|
return null;
|
7392
7391
|
}
|
7393
|
-
}),
|
7394
|
-
...
|
7395
|
-
},
|
7396
|
-
const { options:
|
7392
|
+
}), Ca = {
|
7393
|
+
...jo
|
7394
|
+
}, ka = (r, l) => {
|
7395
|
+
const { options: a, methods: d } = Go(r, l), p = mt(Ro);
|
7397
7396
|
return ui(() => {
|
7398
7397
|
p();
|
7399
|
-
}), { options:
|
7400
|
-
},
|
7398
|
+
}), { options: a, methods: d };
|
7399
|
+
}, za = Pt({
|
7401
7400
|
name: "LTooltip",
|
7402
|
-
props:
|
7401
|
+
props: Ca,
|
7403
7402
|
setup(r, l) {
|
7404
|
-
const
|
7405
|
-
return
|
7403
|
+
const a = st(), d = st(null), p = Vt(Ut), m = mt(Io), { options: g, methods: T } = ka(r, a);
|
7404
|
+
return Bt(async () => {
|
7406
7405
|
const { tooltip: v } = p ? Ot.L : await import("./revolugo.leaflet-src.esm.DBQWLG1M.min.js");
|
7407
|
-
|
7406
|
+
a.value = Xt(v(g)), Wt(T, a.value, r);
|
7408
7407
|
const { listeners: E } = re(l.attrs);
|
7409
|
-
|
7410
|
-
}), { root: d, leafletObject:
|
7408
|
+
a.value.on(E), a.value.setContent(r.content || d.value || ""), m(a.value), Et(() => l.emit("ready", a.value));
|
7409
|
+
}), { root: d, leafletObject: a };
|
7411
7410
|
},
|
7412
7411
|
render() {
|
7413
|
-
return
|
7412
|
+
return Ko(this.$slots);
|
7414
7413
|
}
|
7415
7414
|
});
|
7416
7415
|
({
|
7417
|
-
...
|
7416
|
+
...on
|
7418
7417
|
});
|
7419
7418
|
Mt.Map.mergeOptions({
|
7420
7419
|
// @option smoothWheelZoom: number = 1
|
@@ -7466,206 +7465,157 @@ Mt.Map.SmoothWheelZoom = Mt.Handler.extend({
|
|
7466
7465
|
}
|
7467
7466
|
});
|
7468
7467
|
Mt.Map.addInitHook("addHandler", "smoothWheelZoom", Mt.Map.SmoothWheelZoom);
|
7469
|
-
const
|
7470
|
-
discountPercentage: {
|
7471
|
-
default: 0,
|
7472
|
-
type: Number
|
7473
|
-
},
|
7474
|
-
focus: {
|
7475
|
-
type: Boolean
|
7476
|
-
},
|
7477
|
-
initBounceIn: {
|
7478
|
-
default: !0,
|
7479
|
-
type: Boolean
|
7480
|
-
},
|
7481
|
-
isMostPopular: {
|
7482
|
-
type: Boolean
|
7483
|
-
},
|
7484
|
-
isPartner: {
|
7485
|
-
type: Boolean
|
7486
|
-
},
|
7487
|
-
price: {
|
7488
|
-
required: !0,
|
7489
|
-
type: Number
|
7490
|
-
},
|
7491
|
-
tag: {
|
7492
|
-
type: Object
|
7493
|
-
}
|
7494
|
-
}, Ba = Pt({
|
7495
|
-
components: { BFormattedAmount: qr },
|
7496
|
-
data() {
|
7497
|
-
return {
|
7498
|
-
bounceIn: !0
|
7499
|
-
};
|
7500
|
-
},
|
7501
|
-
mounted() {
|
7502
|
-
setTimeout(() => {
|
7503
|
-
this.bounceIn = !1;
|
7504
|
-
}, 1800);
|
7505
|
-
},
|
7506
|
-
name: "BHotelOfferMarker",
|
7507
|
-
props: Ea,
|
7508
|
-
setup() {
|
7509
|
-
const { t: r } = tn();
|
7510
|
-
return {
|
7511
|
-
t: r
|
7512
|
-
};
|
7513
|
-
}
|
7514
|
-
}), Ia = {
|
7468
|
+
const Aa = {
|
7515
7469
|
key: 0,
|
7516
7470
|
class: "hotel-marker-badge most-popular"
|
7517
|
-
},
|
7471
|
+
}, Ea = {
|
7518
7472
|
key: 2,
|
7519
7473
|
class: "hotel-marker-badge partner"
|
7520
|
-
}
|
7521
|
-
|
7522
|
-
|
7523
|
-
|
7524
|
-
|
7525
|
-
|
7526
|
-
|
7527
|
-
|
7474
|
+
}, Ba = /* @__PURE__ */ Pt({
|
7475
|
+
__name: "BHotelOfferMarker",
|
7476
|
+
props: {
|
7477
|
+
discountPercentage: { default: 0 },
|
7478
|
+
focus: { type: Boolean },
|
7479
|
+
initBounceIn: { type: Boolean, default: !0 },
|
7480
|
+
isMostPopular: { type: Boolean },
|
7481
|
+
isPartner: { type: Boolean },
|
7482
|
+
price: {},
|
7483
|
+
tag: {}
|
7484
|
+
},
|
7485
|
+
setup(r) {
|
7486
|
+
const l = st(!0);
|
7487
|
+
return Bt(() => {
|
7488
|
+
setTimeout(() => {
|
7489
|
+
l.value = !1;
|
7490
|
+
}, 1800);
|
7491
|
+
}), (a, d) => {
|
7492
|
+
const p = lt("BFormattedAmount");
|
7493
|
+
return Z(), ut("div", null, [
|
7494
|
+
oe("div", {
|
7495
|
+
class: Qi(["hotel-marker", {
|
7496
|
+
focus: a.focus
|
7497
|
+
}]),
|
7498
|
+
style: ve({
|
7499
|
+
animationDuration: `${Math.random() * (1.5 - 0.2 + 1) + 0.2}s`
|
7500
|
+
})
|
7501
|
+
}, [
|
7502
|
+
a.isMostPopular ? (Z(), ut("div", Aa, [
|
7503
|
+
U(Yt, {
|
7504
|
+
color: "white",
|
7505
|
+
size: "14px"
|
7506
|
+
}, {
|
7507
|
+
default: A(() => d[0] || (d[0] = [
|
7508
|
+
Lt(" fas fa-star ")
|
7509
|
+
])),
|
7510
|
+
_: 1,
|
7511
|
+
__: [0]
|
7512
|
+
})
|
7513
|
+
])) : a.tag && a.tag.icon ? (Z(), ut("div", {
|
7514
|
+
key: 1,
|
7515
|
+
class: Qi(["marker-badge marker-badge--tag", { primary: !a.tag.bg }])
|
7516
|
+
}, [
|
7517
|
+
U(Yt, {
|
7518
|
+
class: "mt-n1",
|
7519
|
+
size: "13px"
|
7520
|
+
}, {
|
7521
|
+
default: A(() => [
|
7522
|
+
Lt(At(`${"fa-" + a.tag.icon}`), 1)
|
7523
|
+
]),
|
7524
|
+
_: 1
|
7525
|
+
})
|
7526
|
+
], 2)) : a.isPartner ? (Z(), ut("div", Ea, [
|
7527
|
+
U(Yt, {
|
7528
|
+
color: "white",
|
7529
|
+
size: "14px"
|
7530
|
+
}, {
|
7531
|
+
default: A(() => d[1] || (d[1] = [
|
7532
|
+
Lt(" fas fa-heart ")
|
7533
|
+
])),
|
7534
|
+
_: 1,
|
7535
|
+
__: [1]
|
7536
|
+
})
|
7537
|
+
])) : gt("", !0),
|
7538
|
+
U(p, {
|
7539
|
+
amount: a.price,
|
7540
|
+
"round-mode": "round"
|
7541
|
+
}, null, 8, ["amount"]),
|
7542
|
+
d[2] || (d[2] = oe("div", { class: "arrow" }, null, -1))
|
7543
|
+
], 6)
|
7544
|
+
]);
|
7545
|
+
};
|
7546
|
+
}
|
7547
|
+
}), Ia = /* @__PURE__ */ tn(Ba, [["__scopeId", "data-v-8542aae3"]]), Za = /* @__PURE__ */ Pt({
|
7548
|
+
__name: "BMapMarker",
|
7549
|
+
props: {
|
7550
|
+
icon: {},
|
7551
|
+
iconColor: { default: "white" },
|
7552
|
+
imgUrl: {},
|
7553
|
+
pulse: { type: Boolean, default: !0 },
|
7554
|
+
size: { default: 40 }
|
7555
|
+
},
|
7556
|
+
setup(r) {
|
7557
|
+
return (l, a) => (Z(), ut("div", {
|
7558
|
+
class: "b-map-marker position-relative",
|
7528
7559
|
style: ve({
|
7529
|
-
|
7560
|
+
width: l.size + "px",
|
7561
|
+
height: l.size * Math.sqrt(2) + "px"
|
7530
7562
|
})
|
7531
7563
|
}, [
|
7532
|
-
|
7533
|
-
|
7534
|
-
|
7535
|
-
|
7536
|
-
|
7537
|
-
|
7538
|
-
Lt(" fas fa-star ")
|
7539
|
-
])),
|
7540
|
-
_: 1,
|
7541
|
-
__: [0]
|
7564
|
+
oe("div", {
|
7565
|
+
class: "b-map-marker__pin",
|
7566
|
+
style: ve({
|
7567
|
+
width: l.size + "px",
|
7568
|
+
height: l.size + "px",
|
7569
|
+
bottom: `calc(${l.size * ((1 - Math.sqrt(2)) / 2)}px + 5px)`
|
7542
7570
|
})
|
7543
|
-
])) : r.tag && r.tag.icon ? (Z(), ut("div", {
|
7544
|
-
key: 1,
|
7545
|
-
class: Qi(["marker-badge marker-badge--tag", { primary: !r.tag.bg }])
|
7546
7571
|
}, [
|
7547
|
-
|
7548
|
-
|
7549
|
-
|
7572
|
+
l.imgUrl ? (Z(), ut("div", {
|
7573
|
+
key: 0,
|
7574
|
+
style: ve({
|
7575
|
+
height: `${l.size * (1 / Math.sqrt(2) - 0.1)}px`,
|
7576
|
+
width: `${l.size * (1 / Math.sqrt(2) - 0.1)}px`,
|
7577
|
+
backgroundImage: `url(${l.imgUrl})`
|
7578
|
+
})
|
7579
|
+
}, null, 4)) : l.icon ? (Z(), et(Yt, {
|
7580
|
+
key: 1,
|
7581
|
+
color: l.iconColor,
|
7582
|
+
size: 0.7 * l.size * (1 / Math.sqrt(2) - 0.02)
|
7550
7583
|
}, {
|
7551
7584
|
default: A(() => [
|
7552
|
-
Lt(
|
7585
|
+
Lt(" fas fa-" + At(l.icon), 1)
|
7553
7586
|
]),
|
7554
7587
|
_: 1
|
7555
|
-
})
|
7556
|
-
],
|
7557
|
-
|
7558
|
-
|
7559
|
-
|
7560
|
-
|
7561
|
-
default: A(() => l[1] || (l[1] = [
|
7562
|
-
Lt(" fas fa-heart ")
|
7563
|
-
])),
|
7564
|
-
_: 1,
|
7565
|
-
__: [1]
|
7566
|
-
})
|
7567
|
-
])) : gt("", !0),
|
7568
|
-
U(g, {
|
7569
|
-
amount: r.price,
|
7570
|
-
"round-mode": "round"
|
7571
|
-
}, null, 8, ["amount"]),
|
7572
|
-
l[2] || (l[2] = oe("div", { class: "arrow" }, null, -1))
|
7573
|
-
], 6)
|
7574
|
-
]);
|
7575
|
-
}
|
7576
|
-
const Na = /* @__PURE__ */ en(Ba, [["render", Ra], ["__scopeId", "data-v-3b53a218"]]), Da = {
|
7577
|
-
icon: {
|
7578
|
-
type: String
|
7579
|
-
},
|
7580
|
-
iconColor: {
|
7581
|
-
default: "white",
|
7582
|
-
type: String
|
7583
|
-
},
|
7584
|
-
imgUrl: {
|
7585
|
-
type: String
|
7586
|
-
},
|
7587
|
-
pulse: {
|
7588
|
-
default: !0,
|
7589
|
-
type: Boolean
|
7590
|
-
},
|
7591
|
-
size: {
|
7592
|
-
default: 40,
|
7593
|
-
type: Number
|
7588
|
+
}, 8, ["color", "size"])) : gt("", !0)
|
7589
|
+
], 4),
|
7590
|
+
oe("div", {
|
7591
|
+
class: Qi(l.pulse ? "b-map-marker__pulse" : null)
|
7592
|
+
}, null, 2)
|
7593
|
+
], 4));
|
7594
7594
|
}
|
7595
|
-
},
|
7596
|
-
name: "BMapMarker",
|
7597
|
-
props: Da,
|
7598
|
-
setup() {
|
7599
|
-
const { t: r } = tn();
|
7600
|
-
return {
|
7601
|
-
// TODO: remove uknown workaround once locale/lang is unified
|
7602
|
-
t: r
|
7603
|
-
};
|
7604
|
-
}
|
7605
|
-
});
|
7606
|
-
function Fa(r, l, h, d, p, m) {
|
7607
|
-
return Z(), ut("div", {
|
7608
|
-
class: "b-map-marker position-relative",
|
7609
|
-
style: ve({
|
7610
|
-
width: r.size + "px",
|
7611
|
-
height: r.size * Math.sqrt(2) + "px"
|
7612
|
-
})
|
7613
|
-
}, [
|
7614
|
-
oe("div", {
|
7615
|
-
class: "b-map-marker__pin",
|
7616
|
-
style: ve({
|
7617
|
-
width: r.size + "px",
|
7618
|
-
height: r.size + "px",
|
7619
|
-
bottom: `calc(${r.size * ((1 - Math.sqrt(2)) / 2)}px + 5px)`
|
7620
|
-
})
|
7621
|
-
}, [
|
7622
|
-
r.imgUrl ? (Z(), ut("div", {
|
7623
|
-
key: 0,
|
7624
|
-
style: ve({
|
7625
|
-
height: `${r.size * (1 / Math.sqrt(2) - 0.1)}px`,
|
7626
|
-
width: `${r.size * (1 / Math.sqrt(2) - 0.1)}px`,
|
7627
|
-
backgroundImage: `url(${r.imgUrl})`
|
7628
|
-
})
|
7629
|
-
}, null, 4)) : r.icon ? (Z(), et(Yt, {
|
7630
|
-
key: 1,
|
7631
|
-
color: r.iconColor,
|
7632
|
-
size: 0.7 * r.size * (1 / Math.sqrt(2) - 0.02)
|
7633
|
-
}, {
|
7634
|
-
default: A(() => [
|
7635
|
-
Lt(" fas fa-" + At(r.icon), 1)
|
7636
|
-
]),
|
7637
|
-
_: 1
|
7638
|
-
}, 8, ["color", "size"])) : gt("", !0)
|
7639
|
-
], 4),
|
7640
|
-
oe("div", {
|
7641
|
-
class: Qi(r.pulse ? "b-map-marker__pulse" : null)
|
7642
|
-
}, null, 2)
|
7643
|
-
], 4);
|
7644
|
-
}
|
7645
|
-
const Va = /* @__PURE__ */ en(Ha, [["render", Fa], ["__scopeId", "data-v-d2b921f8"]]);
|
7595
|
+
}), Ra = /* @__PURE__ */ tn(Za, [["__scopeId", "data-v-088631f7"]]);
|
7646
7596
|
delete ci.Icon.Default.prototype._getIconUrl;
|
7647
7597
|
ci.Icon.Default.mergeOptions({
|
7648
|
-
iconRetinaUrl:
|
7649
|
-
iconUrl:
|
7650
|
-
shadowUrl:
|
7598
|
+
iconRetinaUrl: Mo,
|
7599
|
+
iconUrl: Oo,
|
7600
|
+
shadowUrl: So
|
7651
7601
|
});
|
7652
|
-
const
|
7602
|
+
const Jo = Pt({
|
7653
7603
|
components: {
|
7654
7604
|
BBreakpointObserver: Ur,
|
7655
7605
|
BErrorOverlay: Wr,
|
7656
|
-
BHotelOfferMarker:
|
7606
|
+
BHotelOfferMarker: Ia,
|
7657
7607
|
BHotelOffersFilterBar: Fr,
|
7658
|
-
BMapMarker:
|
7608
|
+
BMapMarker: Ra,
|
7659
7609
|
BSearchLocationInput: Hr,
|
7660
7610
|
HotelOfferItem: Dr,
|
7661
|
-
LControl:
|
7662
|
-
LControlZoom:
|
7663
|
-
LIcon:
|
7664
|
-
LMap:
|
7665
|
-
LMarker:
|
7666
|
-
LPopup:
|
7667
|
-
LTileLayer:
|
7668
|
-
LTooltip:
|
7611
|
+
LControl: ca,
|
7612
|
+
LControlZoom: fa,
|
7613
|
+
LIcon: ma,
|
7614
|
+
LMap: _a,
|
7615
|
+
LMarker: La,
|
7616
|
+
LPopup: Ma,
|
7617
|
+
LTileLayer: Sa,
|
7618
|
+
LTooltip: za
|
7669
7619
|
},
|
7670
7620
|
computed: {
|
7671
7621
|
actualVenue() {
|
@@ -7681,9 +7631,9 @@ const Yo = Pt({
|
|
7681
7631
|
} : {}
|
7682
7632
|
};
|
7683
7633
|
},
|
7684
|
-
...
|
7634
|
+
...Or(
|
7685
7635
|
kr,
|
7686
|
-
|
7636
|
+
jr,
|
7687
7637
|
Vr
|
7688
7638
|
),
|
7689
7639
|
center() {
|
@@ -7753,17 +7703,17 @@ const Yo = Pt({
|
|
7753
7703
|
this.actualVenue.longitude
|
7754
7704
|
));
|
7755
7705
|
},
|
7756
|
-
centerTo(r, l = 0.5,
|
7757
|
-
this.map?.flyTo([r[0], r[1]],
|
7706
|
+
centerTo(r, l = 0.5, a = 15) {
|
7707
|
+
this.map?.flyTo([r[0], r[1]], a, {
|
7758
7708
|
duration: l
|
7759
7709
|
});
|
7760
7710
|
},
|
7761
7711
|
fitBounds() {
|
7762
7712
|
if (!this.hotelOffers || this.hotelOffers.length === 0 || this.isMapMoveDirty)
|
7763
7713
|
return;
|
7764
|
-
const r = this.hotelOffers.map((
|
7765
|
-
|
7766
|
-
|
7714
|
+
const r = this.hotelOffers.map((a) => [
|
7715
|
+
a.latitude,
|
7716
|
+
a.longitude
|
7767
7717
|
]).concat([
|
7768
7718
|
[
|
7769
7719
|
this.hotelOfferRequestInternal.latitude,
|
@@ -7775,8 +7725,8 @@ const Yo = Pt({
|
|
7775
7725
|
l.fitBounds(r, {
|
7776
7726
|
padding: [3, 3]
|
7777
7727
|
});
|
7778
|
-
} catch (
|
7779
|
-
console.error(
|
7728
|
+
} catch (a) {
|
7729
|
+
console.error(a);
|
7780
7730
|
}
|
7781
7731
|
},
|
7782
7732
|
getHotelRoomOffer(r) {
|
@@ -7814,13 +7764,13 @@ const Yo = Pt({
|
|
7814
7764
|
}
|
7815
7765
|
},
|
7816
7766
|
mixins: [
|
7817
|
-
|
7818
|
-
|
7767
|
+
Mr,
|
7768
|
+
qr(["config.currency", "$i18n.locale"], "retrieveHotelOffers"),
|
7819
7769
|
Ir,
|
7820
7770
|
Nr,
|
7821
7771
|
Yi({
|
7822
7772
|
cb: (r) => zr(r, "hotelRoomOfferList"),
|
7823
|
-
fallbackValue:
|
7773
|
+
fallbackValue: To,
|
7824
7774
|
propsName: "features"
|
7825
7775
|
}),
|
7826
7776
|
Yi({
|
@@ -7838,12 +7788,12 @@ const Yo = Pt({
|
|
7838
7788
|
}),
|
7839
7789
|
propsName: "venue"
|
7840
7790
|
}),
|
7841
|
-
|
7791
|
+
Gr()
|
7842
7792
|
],
|
7843
7793
|
name: "HotelOffersMap",
|
7844
|
-
props:
|
7794
|
+
props: Xr,
|
7845
7795
|
setup() {
|
7846
|
-
const { t: r } =
|
7796
|
+
const { t: r } = Sr();
|
7847
7797
|
return {
|
7848
7798
|
t: r
|
7849
7799
|
};
|
@@ -7881,7 +7831,7 @@ const Yo = Pt({
|
|
7881
7831
|
}
|
7882
7832
|
}
|
7883
7833
|
});
|
7884
|
-
function
|
7834
|
+
function xo(r) {
|
7885
7835
|
const l = r;
|
7886
7836
|
l.__i18n = l.__i18n || [], l.__i18n.push({
|
7887
7837
|
locale: "",
|
@@ -7973,10 +7923,10 @@ function To(r) {
|
|
7973
7923
|
}
|
7974
7924
|
});
|
7975
7925
|
}
|
7976
|
-
const
|
7977
|
-
function
|
7926
|
+
const Na = { class: "hotel-offers-map" }, Da = { key: 0 }, Ha = { key: 1 };
|
7927
|
+
function Fa(r, l, a, d, p, m) {
|
7978
7928
|
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");
|
7979
|
-
return Z(), ut("div",
|
7929
|
+
return Z(), ut("div", Na, [
|
7980
7930
|
r.isBookingApiClientDefined ? (Z(), ut(_e, { key: 1 }, [
|
7981
7931
|
r.showErrorMessage ? (Z(), et(g, {
|
7982
7932
|
key: 0,
|
@@ -7989,13 +7939,13 @@ function ja(r, l, h, d, p, m) {
|
|
7989
7939
|
Lt(At(r.t("HotelOffersMap.error.description")), 1)
|
7990
7940
|
]),
|
7991
7941
|
_: 1
|
7992
|
-
}, 8, ["style"])) : r.showSkeleton ? (Z(), et(
|
7942
|
+
}, 8, ["style"])) : r.showSkeleton ? (Z(), et(Kr, {
|
7993
7943
|
key: 1,
|
7994
7944
|
height: r.parsedHeight,
|
7995
7945
|
tile: "",
|
7996
7946
|
type: "image"
|
7997
7947
|
}, null, 8, ["height"])) : (Z(), ut(_e, { key: 2 }, [
|
7998
|
-
r.loadingBarEnabled && r.isPollingHotelOffers ? (Z(), et(
|
7948
|
+
r.loadingBarEnabled && r.isPollingHotelOffers ? (Z(), et(Jr, {
|
7999
7949
|
key: 0,
|
8000
7950
|
color: "primary",
|
8001
7951
|
indeterminate: ""
|
@@ -8104,7 +8054,7 @@ function ja(r, l, h, d, p, m) {
|
|
8104
8054
|
}, 1040)
|
8105
8055
|
]),
|
8106
8056
|
default: A(() => [
|
8107
|
-
r.showTransit ? (Z(), ut("span",
|
8057
|
+
r.showTransit ? (Z(), ut("span", Da, At(r.t("HotelOffersMap.hideTransports")), 1)) : (Z(), ut("span", Ha, At(r.t("HotelOffersMap.displayTransports")), 1))
|
8108
8058
|
]),
|
8109
8059
|
_: 1
|
8110
8060
|
}, 8, ["attach"])
|
@@ -8203,10 +8153,10 @@ function ja(r, l, h, d, p, m) {
|
|
8203
8153
|
eager: ""
|
8204
8154
|
}, {
|
8205
8155
|
activator: A(({ props: w }) => [
|
8206
|
-
|
8156
|
+
vo(r.$slots, "bottomleft", { props: w }, void 0, !0)
|
8207
8157
|
]),
|
8208
8158
|
default: A(() => [
|
8209
|
-
|
8159
|
+
vo(r.$slots, "bottomleft-tooltip-text", {}, void 0, !0)
|
8210
8160
|
]),
|
8211
8161
|
_: 3
|
8212
8162
|
}, 8, ["attach"])
|
@@ -8368,12 +8318,12 @@ function ja(r, l, h, d, p, m) {
|
|
8368
8318
|
], 64)) : (Z(), ut(_e, { key: 0 }, [], 64))
|
8369
8319
|
]);
|
8370
8320
|
}
|
8371
|
-
typeof
|
8372
|
-
const
|
8373
|
-
|
8321
|
+
typeof xo == "function" && xo(Jo);
|
8322
|
+
const eh = /* @__PURE__ */ tn(Jo, [["render", Fa], ["__scopeId", "data-v-bffe45fb"]]);
|
8323
|
+
Lr("css/revolugo.hoteloffersmap.DZ9zVlMs.css");
|
8374
8324
|
export {
|
8375
|
-
|
8376
|
-
|
8377
|
-
|
8325
|
+
To as H,
|
8326
|
+
eh as a,
|
8327
|
+
Xr as h
|
8378
8328
|
};
|
8379
|
-
//# sourceMappingURL=revolugo.hoteloffersmap.
|
8329
|
+
//# sourceMappingURL=revolugo.hoteloffersmap.BL2dyzha.min.js.map
|