@revolugo/elements 6.8.3 → 6.9.0-rc.1
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/README.md +1 -1
- package/dist/css/revolugo.bdaterangepicker.B6KA5TYs.css +1 -0
- package/dist/css/revolugo.bhoteloffersfilterbar.CekxoJmW.css +1 -0
- package/dist/css/revolugo.bhotelroomsdetails.c1M8WEQ1.css +1 -0
- package/dist/css/revolugo.bimagecarousel.B2SxWMbZ.css +1 -0
- package/dist/css/revolugo.bstarrating.CPHKEfup.css +1 -0
- package/dist/css/{revolugo.btag.g-q3eChG.css → revolugo.btag.T7X_iIkW.css} +1 -1
- package/dist/css/revolugo.cancellationpoliciesbadge.BLInUr3-.css +1 -0
- package/dist/css/{revolugo.hoteldescriptionview.DWuzEuGF.css → revolugo.hoteldescriptionview.Dfi-84To.css} +1 -1
- package/dist/css/revolugo.hoteloffersearchmenuui.ZbUh8ba2.css +1 -0
- package/dist/css/{revolugo.hoteloffersmap.2oSkomDb.css → revolugo.hoteloffersmap.Cp2vN-VQ.css} +1 -1
- package/dist/css/revolugo.hoteloffersview.Xw1flMYo.css +1 -0
- package/dist/css/revolugo.hotelroomofferlist.BYvQZ5P2.css +1 -0
- package/dist/css/revolugo.index.DK7d_h6O.css +1 -0
- package/dist/css/revolugo.langpickerbtn.BGnattUJ.css +1 -0
- package/dist/css/revolugo.termsandconditions.D8IMR9da.css +1 -0
- package/dist/css/revolugo.vbadge.C45eZpxy.css +1 -0
- package/dist/css/revolugo.vbtn.DpMO1Ky2.css +1 -0
- package/dist/css/revolugo.vcard.TERzfknI.css +1 -0
- package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.css +1 -0
- package/dist/css/revolugo.vicon.eIkh7vVK.css +1 -0
- package/dist/css/revolugo.vlist.-Y4qkukF.css +1 -0
- package/dist/css/{revolugo.vtooltip.O8QDYs1J.css → revolugo.vslidegroup.ECiLCEE9.css} +1 -1
- package/dist/css/{revolugo.vsnackbar.Cj7AcupY.css → revolugo.vsnackbar.CCfuo3ao.css} +1 -1
- package/dist/css/{revolugo.vtextarea.HYL6WUNS.css → revolugo.vtextarea.Dxy6uSvm.css} +1 -1
- package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +1 -0
- package/dist/css/{revolugo.webcomponentwrapper.DRCKFwuk.css → revolugo.webcomponentwrapper.cFJPP6Rp.css} +2 -2
- package/dist/index.es.min.js +2081 -2223
- package/dist/index.es.min.js.map +1 -1
- package/dist/index.min.js +6 -6
- package/dist/index.min.js.map +1 -1
- package/dist/revolugo._baseiteratee.BQAqIqmD.min.js +247 -0
- package/dist/{revolugo.banktransferdetails.BdulCgI5.min.js → revolugo.banktransferdetails.0j9oc308.min.js} +9 -9
- package/dist/revolugo.bdaterangepicker.CuXt5m8k.min.js +8324 -0
- package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.1LgvMIpZ.min.js +143 -0
- package/dist/revolugo.bhoteloffersfilterbar.JyThxTJT.min.js +4896 -0
- package/dist/{revolugo.bhotelroomsdetails.orWBBD_o.min.js → revolugo.bhotelroomsdetails.ziCA0uqt.min.js} +359 -407
- package/dist/revolugo.bimagecarousel.LON3YyDv.min.js +566 -0
- package/dist/{revolugo.bookingdetailssidebar.CD4SMOkC.min.js → revolugo.bookingdetailssidebar.CLb15O8T.min.js} +4 -4
- package/dist/{revolugo.bookingdetailssidebar.JOU68R1_.min.js → revolugo.bookingdetailssidebar.CQF8f2p5.min.js} +207 -221
- package/dist/{revolugo.bookingmanager.B5cM9Mi5.min.js → revolugo.bookingmanager.BEFqmO93.min.js} +426 -460
- package/dist/revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.k5o2Io4n.min.js +91 -0
- package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.2z9RUthr.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.BnT8lMCQ.min.js} +164 -183
- package/dist/revolugo.btag.CZ9KR3bN.min.js +375 -0
- package/dist/revolugo.cancellationpoliciesbadge.KxXb8ZYt.min.js +28 -0
- package/dist/revolugo.cancellationpoliciesbadge.gXl0amBL.min.js +198 -0
- package/dist/{revolugo.cancellationpolicieslist.D097ASNF.min.js → revolugo.cancellationpolicieslist.BYH8J8e1.min.js} +70 -98
- package/dist/revolugo.cancellationpolicieslist.CVTMLJs5.min.js +25 -0
- package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +21 -0
- package/dist/revolugo.case-transformers.Ca4kmzjy.min.js +123 -0
- package/dist/{revolugo.creditcardform.DvHcDx2P.min.js → revolugo.creditcardform.8N0BWYbc.min.js} +4 -4
- package/dist/{revolugo.creditcardform.DNOMVOgZ.min.js → revolugo.creditcardform.DawvObHo.min.js} +81 -94
- package/dist/{revolugo.creditcardpayment.BLP3RXk4.min.js → revolugo.creditcardpayment.-uEi7Rky.min.js} +152 -160
- package/dist/{revolugo.creditcardpayment.D3lPKmx1.min.js → revolugo.creditcardpayment.CYrmSY04.min.js} +4 -4
- package/dist/{revolugo.currencypicker.CzzS1Adp.min.js → revolugo.currencypicker.sqbxVvvs.min.js} +15 -15
- package/dist/{revolugo.currencypickerbtn.DWnyc54P.min.js → revolugo.currencypickerbtn.BSUDuF7M.min.js} +4 -4
- package/dist/{revolugo.currencypickerbtn.ChUEouGw.min.js → revolugo.currencypickerbtn.BoXjqXbM.min.js} +41 -47
- package/dist/revolugo.dates.CE3ChILc.min.js +31 -0
- package/dist/revolugo.defaultsdeep.ChES_MUh.min.js +104 -0
- package/dist/{revolugo.dialog-attach.O2HXPGzj.min.js → revolugo.dialog-attach.BogqVGDT.min.js} +5 -6
- package/dist/revolugo.dialog-transition.EGNOTJLZ.min.js +111 -0
- package/dist/{revolugo.fastbookingflow.ChNa4jgv.min.js → revolugo.fastbookingflow.Crr6eF_n.min.js} +6 -6
- package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +70 -0
- package/dist/revolugo.fullbookingflow.CzofWe_h.min.js +429 -0
- package/dist/revolugo.hotel-offer-request.BrgYCPvB.min.js +98 -0
- package/dist/{revolugo.hoteldescriptionview.CbtxEPGG.min.js → revolugo.hoteldescriptionview.BaN6Jn_K.min.js} +801 -937
- package/dist/{revolugo.hoteldescriptionview.D3JTbFxn.min.js → revolugo.hoteldescriptionview.BfUYrAbK.min.js} +4 -4
- package/dist/revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.B0aPs9nv.min.js +241 -0
- package/dist/{revolugo.hotelofferlist.BVySEYbq.min.js → revolugo.hotelofferlist.CEtclWHx.min.js} +1485 -1590
- package/dist/{revolugo.hotelofferlist.puK2FNBR.min.js → revolugo.hotelofferlist.DGO-YnB3.min.js} +4 -4
- package/dist/revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js +44 -0
- package/dist/revolugo.hoteloffersearchmenu.9ePsLejx.min.js +202 -0
- package/dist/revolugo.hoteloffersearchmenuui.Dq3SUHsn.min.js +829 -0
- package/dist/{revolugo.hoteloffersmap.BRVm5s6N.min.js → revolugo.hoteloffersmap.DFUv89P-.min.js} +799 -864
- package/dist/{revolugo.hoteloffersmap.DqKpfjbt.min.js → revolugo.hoteloffersmap.DbfMieYw.min.js} +4 -4
- package/dist/{revolugo.hoteloffersview.DsGyT5s7.min.js → revolugo.hoteloffersview.CMQC6sEW.min.js} +4 -4
- package/dist/{revolugo.hoteloffersview.3LJ-m6BY.min.js → revolugo.hoteloffersview.DR-NQds9.min.js} +163 -169
- package/dist/{revolugo.hotelroomofferlist.M-3bowQa.min.js → revolugo.hotelroomofferlist.BDmmTZzY.min.js} +1316 -1439
- package/dist/{revolugo.hotelroomofferlist.DdMr5qEZ.min.js → revolugo.hotelroomofferlist.VfQvHfAJ.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferrequestcreator.props.CUwZUDcm.min.js → revolugo.hotelroomofferrequestcreator.props.BkEQaSSo.min.js} +6 -6
- package/dist/{revolugo.hotelroomoffersbookingflow.Bef_aJFl.min.js → revolugo.hotelroomoffersbookingflow.BdI11kxD.min.js} +333 -358
- package/dist/{revolugo.hotelroomoffersearchmenu.Fkf-MQ_8.min.js → revolugo.hotelroomoffersearchmenu.Be69MN7I.min.js} +35 -36
- package/dist/{revolugo.hotelroomoffersearchmenu.D9Zn_Gjy.min.js → revolugo.hotelroomoffersearchmenu.i97dxjV4.min.js} +5 -5
- package/dist/{revolugo.hotelroomoffersview.oxTgBMSk.min.js → revolugo.hotelroomoffersview.CZRrXMrq.min.js} +4 -4
- package/dist/{revolugo.hotelroomoffersview.BSth8Xsz.min.js → revolugo.hotelroomoffersview.QIikXLmz.min.js} +141 -156
- package/dist/revolugo.index.BkZCIWDs.min.js +67 -0
- package/dist/revolugo.index.EVacDza9.min.js +1232 -0
- package/dist/{revolugo.index.wc.7I5uexuc.min.js → revolugo.index.wc.B-VISNof.min.js} +12139 -12346
- package/dist/revolugo.langpicker.Dqh1HLSM.min.js +99 -0
- package/dist/revolugo.langpickerbtn.BHidyFm0.min.js +29 -0
- package/dist/revolugo.langpickerbtn.D2BROzmF.min.js +131 -0
- package/dist/revolugo.min.js +1 -1
- package/dist/revolugo.pathify.Cj2pWNwI.min.js +36 -0
- package/dist/{revolugo.prebookform.CxK0iSDo.min.js → revolugo.prebookform.BEoRLmXN.min.js} +4 -4
- package/dist/{revolugo.prebookform.B8aMLMuG.min.js → revolugo.prebookform.DJtQZk4h.min.js} +130 -134
- package/dist/{revolugo.roominglisteditor.D7WzDtw6.min.js → revolugo.roominglisteditor.Bde6fZE4.min.js} +4 -4
- package/dist/{revolugo.roominglisteditor.Do-pe811.min.js → revolugo.roominglisteditor.DOIoiZUZ.min.js} +98 -104
- package/dist/{revolugo.rounded.Dnxang6X.min.js → revolugo.rounded.CuDW7ReX.min.js} +2 -2
- package/dist/{revolugo.ssrboot.ByGq44eI.min.js → revolugo.ssrboot.BkAAdgIG.min.js} +2 -2
- package/dist/{revolugo.storybooktoolbar.DY_mbXuP.min.js → revolugo.storybooktoolbar.BrYrYQ9u.min.js} +142 -143
- package/dist/revolugo.termsandconditions.DdFCvyY1.min.js +405 -0
- package/dist/{revolugo.termsandconditions.DfGTVPYa.min.js → revolugo.termsandconditions.DsQqeMuQ.min.js} +4 -4
- package/dist/revolugo.use-breakpoint-service.Bd-iL63O.min.js +39 -0
- package/dist/revolugo.use-dialog-attach.CQ3SJvi2.min.js +16 -0
- package/dist/revolugo.use-html-element.DSBxvQwo.min.js +11 -0
- package/dist/revolugo.vautocomplete.3H62FFlI.min.js +445 -0
- package/dist/revolugo.vbadge.DIKTZfYf.min.js +112 -0
- package/dist/revolugo.vbtn.ikEGbF2M.min.js +398 -0
- package/dist/revolugo.vcard.k3F27b0_.min.js +313 -0
- package/dist/revolugo.vcheckboxbtn.DUDck9Jj.min.js +478 -0
- package/dist/revolugo.vdialog.I9viR6u_.min.js +133 -0
- package/dist/{revolugo.vdivider.Cp9bHPnI.min.js → revolugo.vdivider.BU_Qpn1Y.min.js} +8 -8
- package/dist/revolugo.vexpansionpanels.BlsPrY5r.min.js +262 -0
- package/dist/revolugo.vform.BuY4c-jG.min.js +46 -0
- package/dist/revolugo.vicon.0oYbTzMR.min.js +105 -0
- package/dist/revolugo.vinput.BhulYzYM.min.js +463 -0
- package/dist/revolugo.vlabel.C7Tnm2IP.min.js +48 -0
- package/dist/revolugo.vlist.Ds4pFDgs.min.js +1299 -0
- package/dist/revolugo.vmenu.DQI1PK0w.min.js +145 -0
- package/dist/revolugo.vselect.rRp_6FBN.min.js +660 -0
- package/dist/{revolugo.vsheet.8UeU7qQn.min.js → revolugo.vsheet.n_e1sEwZ.min.js} +14 -14
- package/dist/{revolugo.vskeletonloader.Dk0enVo6.min.js → revolugo.vskeletonloader.nVyGxNEH.min.js} +54 -55
- package/dist/revolugo.vslidegroup.CTyaEfLB.min.js +325 -0
- package/dist/revolugo.vsnackbar.DTgtMyMg.min.js +198 -0
- package/dist/revolugo.vspacer.0M0DbPqW.min.js +7 -0
- package/dist/{revolugo.vtextarea.Cjuqcka5.min.js → revolugo.vtextarea.mqbZT0AH.min.js} +354 -364
- package/dist/revolugo.vtextfield.C3PH47E4.min.js +501 -0
- package/dist/revolugo.vtoolbar.BTinlkeA.min.js +180 -0
- package/dist/revolugo.vtooltip.CvIhH6aP.min.js +89 -0
- package/dist/revolugo.vwindowitem.Cf667i7i.min.js +317 -0
- package/dist/revolugo.watch-list.BVepdYEA.min.js +16 -0
- package/dist/revolugo.webcomponentwrapper.BZSwKZDU.min.js +2088 -0
- package/package.json +5 -5
- package/dist/css/revolugo.bdaterangepicker.CHUExWGL.css +0 -1
- package/dist/css/revolugo.bhoteloffersfilterbar.BcnNI4uS.css +0 -1
- package/dist/css/revolugo.bhotelroomsdetails.ZHH0C1yQ.css +0 -1
- package/dist/css/revolugo.bhotelsearchbar.Bl5_UFe8.css +0 -1
- package/dist/css/revolugo.bimagecarousel.BvgD1yrr.css +0 -1
- package/dist/css/revolugo.bstarrating.Dxd1LjMb.css +0 -1
- package/dist/css/revolugo.cancellationpoliciesbadge.CwgZ0PpX.css +0 -1
- package/dist/css/revolugo.hoteloffersview.Bo2dQWYt.css +0 -1
- package/dist/css/revolugo.hotelroomofferlist.DpLXIpgU.css +0 -1
- package/dist/css/revolugo.index.DQ3Yd6SO.css +0 -1
- package/dist/css/revolugo.langpickerbtn.D2iA6mCb.css +0 -1
- package/dist/css/revolugo.position.7fn84IQ5.css +0 -1
- package/dist/css/revolugo.termsandconditions.DCvNJQQL.css +0 -1
- package/dist/css/revolugo.vbadge.BQrRJ9S0.css +0 -1
- package/dist/css/revolugo.vbtn.BU0YQ6en.css +0 -1
- package/dist/css/revolugo.vcard.B8jNYFn_.css +0 -1
- package/dist/css/revolugo.vcheckboxbtn.BQ05xI0T.css +0 -1
- package/dist/css/revolugo.vlist.BkGS0yqt.css +0 -1
- package/dist/revolugo._basefor.CodrYJxd.min.js +0 -15
- package/dist/revolugo.bdaterangepicker.XZNoMSi5.min.js +0 -8435
- package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.D9Qs1dZa.min.js +0 -61
- package/dist/revolugo.bhoteloffersfilterbar.Bryijtf6.min.js +0 -4685
- package/dist/revolugo.bhotelsearchbar.DxxqZWkN.min.js +0 -947
- package/dist/revolugo.bimagecarousel.DIPN99VA.min.js +0 -598
- package/dist/revolugo.bpricesummaryskeleton.YKfKKB5n.min.js +0 -79
- package/dist/revolugo.btag.DjjDRtQ7.min.js +0 -387
- package/dist/revolugo.cancellationpoliciesbadge.D8ou6oFl.min.js +0 -225
- package/dist/revolugo.cancellationpoliciesbadge.jgFCG7yZ.min.js +0 -24
- package/dist/revolugo.cancellationpolicieslist.CZImqgN3.min.js +0 -24
- package/dist/revolugo.case-transformers.Dr1oSJkZ.min.js +0 -123
- package/dist/revolugo.dialog-transition.C6S7Ci1s.min.js +0 -114
- package/dist/revolugo.forwardrefs.-bfQnFea.min.js +0 -71
- package/dist/revolugo.fullbookingflow.ByKmNqgi.min.js +0 -451
- package/dist/revolugo.hotelofferitemlayout.tBOOIdeT.min.js +0 -259
- package/dist/revolugo.hotelofferrequestcreator.CbCau_4i.min.js +0 -230
- package/dist/revolugo.hoteloffersearchmenu.iiAtyddA.min.js +0 -46
- package/dist/revolugo.index.D0uSQdJV.min.js +0 -13
- package/dist/revolugo.index.gIPq0z7C.min.js +0 -1037
- package/dist/revolugo.langpicker.CLdiic9k.min.js +0 -107
- package/dist/revolugo.langpickerbtn.BIHQAnjv.min.js +0 -24
- package/dist/revolugo.langpickerbtn.DF-m4pCF.min.js +0 -178
- package/dist/revolugo.position.hqKd4K_h.min.js +0 -322
- package/dist/revolugo.termsandconditions.DXNFR45_.min.js +0 -423
- package/dist/revolugo.use-breakpoint-service.CJltQiSH.min.js +0 -106
- package/dist/revolugo.vautocomplete.BjPSa1jg.min.js +0 -466
- package/dist/revolugo.vbadge.D1RCkHoZ.min.js +0 -118
- package/dist/revolugo.vbtn.CQ9EDLRJ.min.js +0 -417
- package/dist/revolugo.vcard.DNU4i52n.min.js +0 -329
- package/dist/revolugo.vcheckboxbtn.De-k8-O3.min.js +0 -491
- package/dist/revolugo.vdialog.CjEajxIC.min.js +0 -139
- package/dist/revolugo.vexpansionpanels.L2ZpX4zd.min.js +0 -276
- package/dist/revolugo.vform.Bw9rddZZ.min.js +0 -50
- package/dist/revolugo.vinput.P34xrpIC.min.js +0 -477
- package/dist/revolugo.vlabel.CLHrAz78.min.js +0 -51
- package/dist/revolugo.vlist.hRQlcp5M.min.js +0 -1348
- package/dist/revolugo.vmenu.BRFw3Jzk.min.js +0 -152
- package/dist/revolugo.vselect.u2C25NCe.min.js +0 -688
- package/dist/revolugo.vsnackbar.18JqJsZ2.min.js +0 -202
- package/dist/revolugo.vspacer.CPbtu_-W.min.js +0 -7
- package/dist/revolugo.vtextfield.BUNcwTRK.min.js +0 -509
- package/dist/revolugo.vtoolbar.CvbAGFXR.min.js +0 -188
- package/dist/revolugo.vtooltip.CsXJFD-V.min.js +0 -395
- package/dist/revolugo.vwindowitem.DGRfRU3q.min.js +0 -329
- package/dist/revolugo.watch-list.D0FxBTWy.min.js +0 -16
- package/dist/revolugo.webcomponentwrapper.DFYGhYzz.min.js +0 -2148
package/dist/{revolugo.hoteloffersmap.BRVm5s6N.min.js → revolugo.hoteloffersmap.DFUv89P-.min.js}
RENAMED
@@ -1,18 +1,16 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
import {
|
4
|
-
import {
|
5
|
-
import {
|
6
|
-
import {
|
7
|
-
import {
|
8
|
-
import {
|
9
|
-
import {
|
10
|
-
import {
|
11
|
-
import {
|
12
|
-
import { V as
|
13
|
-
import {
|
14
|
-
import { V as ai } from "./revolugo.vtooltip.CsXJFD-V.min.js";
|
15
|
-
import { a as Xi } from "./revolugo.vbtn.CQ9EDLRJ.min.js";
|
1
|
+
import { ak as Pr, d as Pt, al as se, k as st, X as Bt, am as Xt, W as Et, an as Vt, Y as ui, ao as xr, ap as Ft, H as ri, O as go, aq as $i, ar as Tr, i as ut, e as oe, g as gt, a as U, w as A, C as Qi, r as lt, Z as ve, f as Lt, t as At, o as Z, c as et, b as Mr, ah as Or, u as Sr, E as ji, as as Cr, aj 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.B-VISNof.min.js";
|
2
|
+
import { H as Br, a as Ji, D as Ir, c as Zr, p as Rr, d as Nr, B as Dr, e as Hr, u as Fr } from "./revolugo.bhoteloffersfilterbar.JyThxTJT.min.js";
|
3
|
+
import { _ as tn, B as Vr, c as Wr } from "./revolugo.webcomponentwrapper.BZSwKZDU.min.js";
|
4
|
+
import { V as Yt } from "./revolugo.vicon.0oYbTzMR.min.js";
|
5
|
+
import { p as Yi } from "./revolugo.bstarrating.vue_vue_type_script_setup_true_lang.BnT8lMCQ.min.js";
|
6
|
+
import { w as Ur } from "./revolugo.watch-list.BVepdYEA.min.js";
|
7
|
+
import { h as qr } from "./revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js";
|
8
|
+
import { u as jr } from "./revolugo.hotelroomofferrequestcreator.props.BkEQaSSo.min.js";
|
9
|
+
import { p as Gr, g as ge } from "./revolugo.pathify.Cj2pWNwI.min.js";
|
10
|
+
import { V as Kr } from "./revolugo.vskeletonloader.nVyGxNEH.min.js";
|
11
|
+
import { V as Jr } from "./revolugo.index.EVacDza9.min.js";
|
12
|
+
import { V as ai } from "./revolugo.vtooltip.CvIhH6aP.min.js";
|
13
|
+
import { a as Xi } from "./revolugo.vbtn.ikEGbF2M.min.js";
|
16
14
|
function Lr(r) {
|
17
15
|
try {
|
18
16
|
if (typeof document < "u") {
|
@@ -49,21 +47,19 @@ function Yr(r, l) {
|
|
49
47
|
}
|
50
48
|
return Object.freeze(Object.defineProperty(r, Symbol.toStringTag, { value: "Module" }));
|
51
49
|
}
|
52
|
-
|
53
|
-
const Qr = {
|
54
|
-
FiltersMenu: !0,
|
50
|
+
const To = {
|
55
51
|
LocationInput: !0,
|
56
52
|
SearchAreaButton: !0,
|
57
53
|
HotelOfferItem: {
|
58
|
-
...
|
54
|
+
...Br,
|
59
55
|
[Ji.HotelDescriptionViewDialog]: !1,
|
60
56
|
[Ji.HotelRoomOffersViewDialog]: !1,
|
61
57
|
[Ji.RoomsDetails]: !0
|
62
58
|
}
|
63
|
-
},
|
64
|
-
...
|
59
|
+
}, Xr = {
|
60
|
+
...qr,
|
65
61
|
features: {
|
66
|
-
default: () =>
|
62
|
+
default: () => To,
|
67
63
|
type: [Object, String]
|
68
64
|
},
|
69
65
|
height: {
|
@@ -74,14 +70,14 @@ const Qr = {
|
|
74
70
|
default: "",
|
75
71
|
type: String
|
76
72
|
},
|
77
|
-
|
78
|
-
default: Zr,
|
79
|
-
type: Number
|
80
|
-
},
|
81
|
-
loadingBarEnabled: {
|
73
|
+
isLoadingBarEnabled: {
|
82
74
|
default: !0,
|
83
75
|
type: Boolean
|
84
76
|
},
|
77
|
+
limit: {
|
78
|
+
default: Ir,
|
79
|
+
type: Number
|
80
|
+
},
|
85
81
|
markers: {
|
86
82
|
default: () => [],
|
87
83
|
type: [String, Array]
|
@@ -94,17 +90,17 @@ const Qr = {
|
|
94
90
|
type: [String, Object]
|
95
91
|
}
|
96
92
|
};
|
97
|
-
var
|
93
|
+
var Ze = { exports: {} };
|
98
94
|
/* @preserve
|
99
95
|
* Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com
|
100
96
|
* (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade
|
101
97
|
*/
|
102
|
-
var
|
103
|
-
function
|
104
|
-
return
|
98
|
+
var Qr = Ze.exports, yo;
|
99
|
+
function $r() {
|
100
|
+
return yo || (yo = 1, function(r, l) {
|
105
101
|
(function(a, d) {
|
106
102
|
d(l);
|
107
|
-
})(
|
103
|
+
})(Qr, function(a) {
|
108
104
|
var d = "1.9.4";
|
109
105
|
function p(t) {
|
110
106
|
var e, i, n, o;
|
@@ -192,19 +188,19 @@ function ea() {
|
|
192
188
|
return i;
|
193
189
|
return -1;
|
194
190
|
}
|
195
|
-
var
|
196
|
-
function
|
191
|
+
var rt = "data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";
|
192
|
+
function at(t) {
|
197
193
|
return window["webkit" + t] || window["moz" + t] || window["ms" + t];
|
198
194
|
}
|
199
|
-
var
|
195
|
+
var He = 0;
|
200
196
|
function qt(t) {
|
201
|
-
var e = +/* @__PURE__ */ new Date(), i = Math.max(0, 16 - (e -
|
202
|
-
return
|
197
|
+
var e = +/* @__PURE__ */ new Date(), i = Math.max(0, 16 - (e - He));
|
198
|
+
return He = e + i, window.setTimeout(t, i);
|
203
199
|
}
|
204
|
-
var z = window.requestAnimationFrame ||
|
200
|
+
var z = window.requestAnimationFrame || at("RequestAnimationFrame") || qt, j = window.cancelAnimationFrame || at("CancelAnimationFrame") || at("CancelRequestAnimationFrame") || function(t) {
|
205
201
|
window.clearTimeout(t);
|
206
202
|
};
|
207
|
-
function
|
203
|
+
function nt(t, e, i) {
|
208
204
|
if (i && z === qt)
|
209
205
|
t.call(e);
|
210
206
|
else
|
@@ -233,15 +229,15 @@ function ea() {
|
|
233
229
|
template: X,
|
234
230
|
isArray: V,
|
235
231
|
indexOf: w,
|
236
|
-
emptyImageUrl:
|
232
|
+
emptyImageUrl: rt,
|
237
233
|
requestFn: z,
|
238
234
|
cancelFn: j,
|
239
|
-
requestAnimFrame:
|
235
|
+
requestAnimFrame: nt,
|
240
236
|
cancelAnimFrame: vt
|
241
237
|
};
|
242
|
-
function
|
238
|
+
function It() {
|
243
239
|
}
|
244
|
-
|
240
|
+
It.extend = function(t) {
|
245
241
|
var e = function() {
|
246
242
|
N(this), this.initialize && this.initialize.apply(this, arguments), this.callInitHooks();
|
247
243
|
}, i = e.__super__ = this.prototype, n = m(i);
|
@@ -255,12 +251,12 @@ function ea() {
|
|
255
251
|
n._initHooks[s].call(this);
|
256
252
|
}
|
257
253
|
}, e;
|
258
|
-
},
|
254
|
+
}, It.include = function(t) {
|
259
255
|
var e = this.prototype.options;
|
260
256
|
return p(this.prototype, t), t.options && (this.prototype.options = e, this.mergeOptions(t.options)), this;
|
261
|
-
},
|
257
|
+
}, It.mergeOptions = function(t) {
|
262
258
|
return p(this.prototype.options, t), this;
|
263
|
-
},
|
259
|
+
}, It.addInitHook = function(t) {
|
264
260
|
var e = Array.prototype.slice.call(arguments, 1), i = typeof t == "function" ? t : function() {
|
265
261
|
this[t].apply(this, e);
|
266
262
|
};
|
@@ -437,18 +433,18 @@ function ea() {
|
|
437
433
|
}
|
438
434
|
};
|
439
435
|
_t.addEventListener = _t.on, _t.removeEventListener = _t.clearAllEventListeners = _t.off, _t.addOneTimeEventListener = _t.once, _t.fireEvent = _t.fire, _t.hasEventListeners = _t.listens;
|
440
|
-
var
|
441
|
-
function
|
436
|
+
var be = It.extend(_t);
|
437
|
+
function O(t, e, i) {
|
442
438
|
this.x = i ? Math.round(t) : t, this.y = i ? Math.round(e) : e;
|
443
439
|
}
|
444
|
-
var
|
440
|
+
var sn = Math.trunc || function(t) {
|
445
441
|
return t > 0 ? Math.floor(t) : Math.ceil(t);
|
446
442
|
};
|
447
|
-
|
443
|
+
O.prototype = {
|
448
444
|
// @method clone(): Point
|
449
445
|
// Returns a copy of the current point.
|
450
446
|
clone: function() {
|
451
|
-
return new
|
447
|
+
return new O(this.x, this.y);
|
452
448
|
},
|
453
449
|
// @method add(otherPoint: Point): Point
|
454
450
|
// Returns the result of addition of the current and the given points.
|
@@ -488,13 +484,13 @@ function ea() {
|
|
488
484
|
// [scaling matrix](https://en.wikipedia.org/wiki/Scaling_%28geometry%29#Matrix_representation)
|
489
485
|
// defined by `scale`.
|
490
486
|
scaleBy: function(t) {
|
491
|
-
return new
|
487
|
+
return new O(this.x * t.x, this.y * t.y);
|
492
488
|
},
|
493
489
|
// @method unscaleBy(scale: Point): Point
|
494
490
|
// Inverse of `scaleBy`. Divide each coordinate of the current point by
|
495
491
|
// each coordinate of `scale`.
|
496
492
|
unscaleBy: function(t) {
|
497
|
-
return new
|
493
|
+
return new O(this.x / t.x, this.y / t.y);
|
498
494
|
},
|
499
495
|
// @method round(): Point
|
500
496
|
// Returns a copy of the current point with rounded coordinates.
|
@@ -526,7 +522,7 @@ function ea() {
|
|
526
522
|
return this.clone()._trunc();
|
527
523
|
},
|
528
524
|
_trunc: function() {
|
529
|
-
return this.x =
|
525
|
+
return this.x = sn(this.x), this.y = sn(this.y), this;
|
530
526
|
},
|
531
527
|
// @method distanceTo(otherPoint: Point): Number
|
532
528
|
// Returns the cartesian distance between the current and the given points.
|
@@ -552,7 +548,7 @@ function ea() {
|
|
552
548
|
}
|
553
549
|
};
|
554
550
|
function M(t, e, i) {
|
555
|
-
return t instanceof
|
551
|
+
return t instanceof O ? t : V(t) ? new O(t[0], t[1]) : t == null ? t : typeof t == "object" && "x" in t && "y" in t ? new O(t.x, t.y) : new O(t, e, i);
|
556
552
|
}
|
557
553
|
function K(t, e) {
|
558
554
|
if (t)
|
@@ -569,7 +565,7 @@ function ea() {
|
|
569
565
|
var e, i;
|
570
566
|
if (!t)
|
571
567
|
return this;
|
572
|
-
if (t instanceof
|
568
|
+
if (t instanceof O || typeof t[0] == "number" || "x" in t)
|
573
569
|
e = i = M(t);
|
574
570
|
else if (t = dt(t), e = t.min, i = t.max, !e || !i)
|
575
571
|
return this;
|
@@ -616,7 +612,7 @@ function ea() {
|
|
616
612
|
// Returns `true` if the rectangle contains the given point.
|
617
613
|
contains: function(t) {
|
618
614
|
var e, i;
|
619
|
-
return typeof t[0] == "number" || t instanceof
|
615
|
+
return typeof t[0] == "number" || t instanceof O ? t = M(t) : t = dt(t), t instanceof K ? (e = t.min, i = t.max) : e = i = t, e.x >= this.min.x && i.x <= this.max.x && e.y >= this.min.y && i.y <= this.max.y;
|
620
616
|
},
|
621
617
|
// @method intersects(otherBounds: Bounds): Boolean
|
622
618
|
// Returns `true` if the rectangle intersects the given bounds. Two bounds
|
@@ -832,7 +828,7 @@ function ea() {
|
|
832
828
|
function B(t, e, i) {
|
833
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);
|
834
830
|
}
|
835
|
-
var
|
831
|
+
var Zt = {
|
836
832
|
// @method latLngToPoint(latlng: LatLng, zoom: Number): Point
|
837
833
|
// Projects geographical coordinates into pixel coordinates for a given zoom.
|
838
834
|
latLngToPoint: function(t, e) {
|
@@ -914,7 +910,7 @@ function ea() {
|
|
914
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);
|
915
911
|
return new ft(u, c);
|
916
912
|
}
|
917
|
-
}, jt = p({},
|
913
|
+
}, jt = p({}, Zt, {
|
918
914
|
wrapLng: [-180, 180],
|
919
915
|
// Mean Earth Radius, as recommended for use by
|
920
916
|
// the International Union of Geodesy and Geophysics,
|
@@ -925,12 +921,12 @@ function ea() {
|
|
925
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));
|
926
922
|
return this.R * c;
|
927
923
|
}
|
928
|
-
}),
|
929
|
-
R:
|
924
|
+
}), rn = 6378137, di = {
|
925
|
+
R: rn,
|
930
926
|
MAX_LATITUDE: 85.0511287798,
|
931
927
|
project: function(t) {
|
932
928
|
var e = Math.PI / 180, i = this.MAX_LATITUDE, n = Math.max(Math.min(i, t.lat), -i), o = Math.sin(n * e);
|
933
|
-
return new
|
929
|
+
return new O(
|
934
930
|
this.R * t.lng * e,
|
935
931
|
this.R * Math.log((1 + o) / (1 - o)) / 2
|
936
932
|
);
|
@@ -943,7 +939,7 @@ function ea() {
|
|
943
939
|
);
|
944
940
|
},
|
945
941
|
bounds: function() {
|
946
|
-
var t =
|
942
|
+
var t = rn * Math.PI;
|
947
943
|
return new K([-t, -t], [t, t]);
|
948
944
|
}()
|
949
945
|
};
|
@@ -969,13 +965,13 @@ function ea() {
|
|
969
965
|
// Returns the reverse transformation of the given point, optionally divided
|
970
966
|
// by the given scale. Only accepts actual `L.Point` instances, not arrays.
|
971
967
|
untransform: function(t, e) {
|
972
|
-
return e = e || 1, new
|
968
|
+
return e = e || 1, new O(
|
973
969
|
(t.x / e - this._b) / this._a,
|
974
970
|
(t.y / e - this._d) / this._c
|
975
971
|
);
|
976
972
|
}
|
977
973
|
};
|
978
|
-
function
|
974
|
+
function Le(t, e, i, n) {
|
979
975
|
return new fi(t, e, i, n);
|
980
976
|
}
|
981
977
|
var pi = p({}, jt, {
|
@@ -983,15 +979,15 @@ function ea() {
|
|
983
979
|
projection: di,
|
984
980
|
transformation: function() {
|
985
981
|
var t = 0.5 / (Math.PI * di.R);
|
986
|
-
return
|
982
|
+
return Le(t, 0.5, -t, 0.5);
|
987
983
|
}()
|
988
984
|
}), Qo = p({}, pi, {
|
989
985
|
code: "EPSG:900913"
|
990
986
|
});
|
991
|
-
function
|
987
|
+
function an(t) {
|
992
988
|
return document.createElementNS("http://www.w3.org/2000/svg", t);
|
993
989
|
}
|
994
|
-
function
|
990
|
+
function hn(t, e) {
|
995
991
|
var i = "", n, o, s, h, u, c;
|
996
992
|
for (n = 0, s = t.length; n < s; n++) {
|
997
993
|
for (u = t[n], o = 0, h = u.length; o < h; o++)
|
@@ -1000,7 +996,7 @@ function ea() {
|
|
1000
996
|
}
|
1001
997
|
return i || "M0 0";
|
1002
998
|
}
|
1003
|
-
var mi = document.documentElement.style, Fe = "ActiveXObject" in window, $o = Fe && !document.addEventListener,
|
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() {
|
1004
1000
|
var t = !1;
|
1005
1001
|
try {
|
1006
1002
|
var e = Object.defineProperty({}, "passive", {
|
@@ -1014,7 +1010,7 @@ function ea() {
|
|
1014
1010
|
return t;
|
1015
1011
|
}(), ds = function() {
|
1016
1012
|
return !!document.createElement("canvas").getContext;
|
1017
|
-
}(), yi = !!(document.createElementNS &&
|
1013
|
+
}(), yi = !!(document.createElementNS && an("svg").createSVGRect), fs = !!yi && function() {
|
1018
1014
|
var t = document.createElement("div");
|
1019
1015
|
return t.innerHTML = "<svg/>", (t.firstChild && t.firstChild.namespaceURI) === "http://www.w3.org/2000/svg";
|
1020
1016
|
}(), ps = !yi && function() {
|
@@ -1027,35 +1023,35 @@ function ea() {
|
|
1027
1023
|
return !1;
|
1028
1024
|
}
|
1029
1025
|
}(), ms = navigator.platform.indexOf("Mac") === 0, _s = navigator.platform.indexOf("Linux") === 0;
|
1030
|
-
function
|
1026
|
+
function St(t) {
|
1031
1027
|
return navigator.userAgent.toLowerCase().indexOf(t) >= 0;
|
1032
1028
|
}
|
1033
1029
|
var y = {
|
1034
1030
|
ie: Fe,
|
1035
1031
|
ielt9: $o,
|
1036
|
-
edge:
|
1032
|
+
edge: ln,
|
1037
1033
|
webkit: _i,
|
1038
|
-
android:
|
1039
|
-
android23:
|
1034
|
+
android: un,
|
1035
|
+
android23: cn,
|
1040
1036
|
androidStock: es,
|
1041
1037
|
opera: gi,
|
1042
|
-
chrome:
|
1043
|
-
gecko:
|
1038
|
+
chrome: dn,
|
1039
|
+
gecko: fn,
|
1044
1040
|
safari: is,
|
1045
|
-
phantom:
|
1046
|
-
opera12:
|
1041
|
+
phantom: pn,
|
1042
|
+
opera12: mn,
|
1047
1043
|
win: ns,
|
1048
|
-
ie3d:
|
1044
|
+
ie3d: _n,
|
1049
1045
|
webkit3d: vi,
|
1050
|
-
gecko3d:
|
1046
|
+
gecko3d: gn,
|
1051
1047
|
any3d: os,
|
1052
|
-
mobile:
|
1048
|
+
mobile: Pe,
|
1053
1049
|
mobileWebkit: ss,
|
1054
1050
|
mobileWebkit3d: rs,
|
1055
|
-
msPointer:
|
1056
|
-
pointer:
|
1051
|
+
msPointer: vn,
|
1052
|
+
pointer: yn,
|
1057
1053
|
touch: as,
|
1058
|
-
touchNative:
|
1054
|
+
touchNative: wn,
|
1059
1055
|
mobileOpera: hs,
|
1060
1056
|
mobileGecko: ls,
|
1061
1057
|
retina: us,
|
@@ -1066,19 +1062,19 @@ function ea() {
|
|
1066
1062
|
inlineSvg: fs,
|
1067
1063
|
mac: ms,
|
1068
1064
|
linux: _s
|
1069
|
-
},
|
1070
|
-
touchstart:
|
1071
|
-
touchmove:
|
1072
|
-
touchend:
|
1073
|
-
touchcancel:
|
1074
|
-
},
|
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 = {
|
1075
1071
|
touchstart: Ls,
|
1076
1072
|
touchmove: Ve,
|
1077
1073
|
touchend: Ve,
|
1078
1074
|
touchcancel: Ve
|
1079
|
-
},
|
1075
|
+
}, ae = {}, Mn = !1;
|
1080
1076
|
function gs(t, e, i) {
|
1081
|
-
return e === "touchstart" && bs(),
|
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);
|
1082
1078
|
}
|
1083
1079
|
function vs(t, e, i) {
|
1084
1080
|
if (!wi[e]) {
|
@@ -1088,27 +1084,27 @@ function ea() {
|
|
1088
1084
|
t.removeEventListener(wi[e], i, !1);
|
1089
1085
|
}
|
1090
1086
|
function ys(t) {
|
1091
|
-
|
1087
|
+
ae[t.pointerId] = t;
|
1092
1088
|
}
|
1093
1089
|
function ws(t) {
|
1094
|
-
|
1090
|
+
ae[t.pointerId] && (ae[t.pointerId] = t);
|
1095
1091
|
}
|
1096
1092
|
function On(t) {
|
1097
|
-
delete
|
1093
|
+
delete ae[t.pointerId];
|
1098
1094
|
}
|
1099
1095
|
function bs() {
|
1100
|
-
|
1096
|
+
Mn || (document.addEventListener(bn, ys, !0), document.addEventListener(Ln, ws, !0), document.addEventListener(Pn, On, !0), document.addEventListener(xn, On, !0), Mn = !0);
|
1101
1097
|
}
|
1102
1098
|
function Ve(t, e) {
|
1103
1099
|
if (e.pointerType !== (e.MSPOINTER_TYPE_MOUSE || "mouse")) {
|
1104
1100
|
e.touches = [];
|
1105
|
-
for (var i in
|
1106
|
-
e.touches.push(
|
1101
|
+
for (var i in ae)
|
1102
|
+
e.touches.push(ae[i]);
|
1107
1103
|
e.changedTouches = [e], t(e);
|
1108
1104
|
}
|
1109
1105
|
}
|
1110
1106
|
function Ls(t, e) {
|
1111
|
-
e.MSPOINTER_TYPE_TOUCH && e.pointerType === e.MSPOINTER_TYPE_TOUCH &&
|
1107
|
+
e.MSPOINTER_TYPE_TOUCH && e.pointerType === e.MSPOINTER_TYPE_TOUCH && ot(e), Ve(t, e);
|
1112
1108
|
}
|
1113
1109
|
function Ps(t) {
|
1114
1110
|
var e = {}, i, n;
|
@@ -1126,7 +1122,7 @@ function ea() {
|
|
1126
1122
|
return;
|
1127
1123
|
}
|
1128
1124
|
if (!(s.pointerType === "mouse" || s.sourceCapabilities && !s.sourceCapabilities.firesTouchEvents)) {
|
1129
|
-
var h =
|
1125
|
+
var h = An(s);
|
1130
1126
|
if (!(h.some(function(c) {
|
1131
1127
|
return c instanceof HTMLLabelElement && c.attributes.for;
|
1132
1128
|
}) && !h.some(function(c) {
|
@@ -1147,13 +1143,13 @@ function ea() {
|
|
1147
1143
|
}
|
1148
1144
|
var bi = qe(
|
1149
1145
|
["transform", "webkitTransform", "OTransform", "MozTransform", "msTransform"]
|
1150
|
-
),
|
1146
|
+
), xe = qe(
|
1151
1147
|
["webkitTransition", "transition", "OTransition", "MozTransition", "msTransition"]
|
1152
|
-
),
|
1153
|
-
function
|
1148
|
+
), Sn = xe === "webkitTransition" || xe === "OTransition" ? xe + "End" : "transitionend";
|
1149
|
+
function Cn(t) {
|
1154
1150
|
return typeof t == "string" ? document.getElementById(t) : t;
|
1155
1151
|
}
|
1156
|
-
function
|
1152
|
+
function Te(t, e) {
|
1157
1153
|
var i = t.style[e] || t.currentStyle && t.currentStyle[e];
|
1158
1154
|
if ((!i || i === "auto") && document.defaultView) {
|
1159
1155
|
var n = document.defaultView.getComputedStyle(t, null);
|
@@ -1173,11 +1169,11 @@ function ea() {
|
|
1173
1169
|
for (; t.firstChild; )
|
1174
1170
|
t.removeChild(t.firstChild);
|
1175
1171
|
}
|
1176
|
-
function
|
1172
|
+
function he(t) {
|
1177
1173
|
var e = t.parentNode;
|
1178
1174
|
e && e.lastChild !== t && e.appendChild(t);
|
1179
1175
|
}
|
1180
|
-
function
|
1176
|
+
function le(t) {
|
1181
1177
|
var e = t.parentNode;
|
1182
1178
|
e && e.firstChild !== t && e.insertBefore(t, e.firstChild);
|
1183
1179
|
}
|
@@ -1206,9 +1202,9 @@ function ea() {
|
|
1206
1202
|
return t.correspondingElement && (t = t.correspondingElement), t.className.baseVal === void 0 ? t.className : t.className.baseVal;
|
1207
1203
|
}
|
1208
1204
|
function yt(t, e) {
|
1209
|
-
"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);
|
1210
1206
|
}
|
1211
|
-
function
|
1207
|
+
function Os(t, e) {
|
1212
1208
|
var i = !1, n = "DXImageTransform.Microsoft.Alpha";
|
1213
1209
|
try {
|
1214
1210
|
i = t.filters.item(n);
|
@@ -1224,52 +1220,52 @@ function ea() {
|
|
1224
1220
|
return t[i];
|
1225
1221
|
return !1;
|
1226
1222
|
}
|
1227
|
-
function
|
1228
|
-
var n = e || new
|
1223
|
+
function $t(t, e, i) {
|
1224
|
+
var n = e || new O(0, 0);
|
1229
1225
|
t.style[bi] = (y.ie3d ? "translate(" + n.x + "px," + n.y + "px)" : "translate3d(" + n.x + "px," + n.y + "px,0)") + (i ? " scale(" + i + ")" : "");
|
1230
1226
|
}
|
1231
1227
|
function $(t, e) {
|
1232
|
-
t._leaflet_pos = e, y.any3d ?
|
1228
|
+
t._leaflet_pos = e, y.any3d ? $t(t, e) : (t.style.left = e.x + "px", t.style.top = e.y + "px");
|
1233
1229
|
}
|
1234
|
-
function
|
1235
|
-
return t._leaflet_pos || new
|
1230
|
+
function te(t) {
|
1231
|
+
return t._leaflet_pos || new O(0, 0);
|
1236
1232
|
}
|
1237
|
-
var
|
1233
|
+
var Me, Oe, xi;
|
1238
1234
|
if ("onselectstart" in document)
|
1239
|
-
|
1240
|
-
|
1235
|
+
Me = function() {
|
1236
|
+
S(window, "selectstart", ot);
|
1241
1237
|
}, Oe = function() {
|
1242
|
-
W(window, "selectstart",
|
1238
|
+
W(window, "selectstart", ot);
|
1243
1239
|
};
|
1244
1240
|
else {
|
1245
|
-
var
|
1241
|
+
var Se = qe(
|
1246
1242
|
["userSelect", "WebkitUserSelect", "OUserSelect", "MozUserSelect", "msUserSelect"]
|
1247
1243
|
);
|
1248
|
-
|
1249
|
-
if (
|
1244
|
+
Me = function() {
|
1245
|
+
if (Se) {
|
1250
1246
|
var t = document.documentElement.style;
|
1251
|
-
xi = t[
|
1247
|
+
xi = t[Se], t[Se] = "none";
|
1252
1248
|
}
|
1253
1249
|
}, Oe = function() {
|
1254
|
-
|
1250
|
+
Se && (document.documentElement.style[Se] = xi, xi = void 0);
|
1255
1251
|
};
|
1256
1252
|
}
|
1257
1253
|
function Ti() {
|
1258
|
-
|
1254
|
+
S(window, "dragstart", ot);
|
1259
1255
|
}
|
1260
1256
|
function Mi() {
|
1261
|
-
W(window, "dragstart",
|
1257
|
+
W(window, "dragstart", ot);
|
1262
1258
|
}
|
1263
|
-
var je,
|
1264
|
-
function
|
1259
|
+
var je, Oi;
|
1260
|
+
function Si(t) {
|
1265
1261
|
for (; t.tabIndex === -1; )
|
1266
1262
|
t = t.parentNode;
|
1267
|
-
t.style && (Ge(), je = t,
|
1263
|
+
t.style && (Ge(), je = t, Oi = t.style.outlineStyle, t.style.outlineStyle = "none", S(window, "keydown", Ge));
|
1268
1264
|
}
|
1269
1265
|
function Ge() {
|
1270
|
-
je && (je.style.outlineStyle =
|
1266
|
+
je && (je.style.outlineStyle = Oi, je = void 0, Oi = void 0, W(window, "keydown", Ge));
|
1271
1267
|
}
|
1272
|
-
function
|
1268
|
+
function kn(t) {
|
1273
1269
|
do
|
1274
1270
|
t = t.parentNode;
|
1275
1271
|
while ((!t.offsetWidth || !t.offsetHeight) && t !== document.body);
|
@@ -1283,18 +1279,18 @@ function ea() {
|
|
1283
1279
|
boundingClientRect: e
|
1284
1280
|
};
|
1285
1281
|
}
|
1286
|
-
var
|
1282
|
+
var Ss = {
|
1287
1283
|
__proto__: null,
|
1288
1284
|
TRANSFORM: bi,
|
1289
|
-
TRANSITION:
|
1290
|
-
TRANSITION_END:
|
1291
|
-
get:
|
1292
|
-
getStyle:
|
1285
|
+
TRANSITION: xe,
|
1286
|
+
TRANSITION_END: Sn,
|
1287
|
+
get: Cn,
|
1288
|
+
getStyle: Te,
|
1293
1289
|
create: D,
|
1294
1290
|
remove: J,
|
1295
1291
|
empty: We,
|
1296
|
-
toFront:
|
1297
|
-
toBack:
|
1292
|
+
toFront: he,
|
1293
|
+
toBack: le,
|
1298
1294
|
hasClass: Li,
|
1299
1295
|
addClass: C,
|
1300
1296
|
removeClass: Y,
|
@@ -1302,23 +1298,23 @@ function ea() {
|
|
1302
1298
|
getClass: Ue,
|
1303
1299
|
setOpacity: yt,
|
1304
1300
|
testProp: qe,
|
1305
|
-
setTransform:
|
1301
|
+
setTransform: $t,
|
1306
1302
|
setPosition: $,
|
1307
|
-
getPosition:
|
1303
|
+
getPosition: te,
|
1308
1304
|
get disableTextSelection() {
|
1309
|
-
return
|
1305
|
+
return Me;
|
1310
1306
|
},
|
1311
1307
|
get enableTextSelection() {
|
1312
1308
|
return Oe;
|
1313
1309
|
},
|
1314
1310
|
disableImageDrag: Ti,
|
1315
1311
|
enableImageDrag: Mi,
|
1316
|
-
preventOutline:
|
1312
|
+
preventOutline: Si,
|
1317
1313
|
restoreOutline: Ge,
|
1318
|
-
getSizedParentNode:
|
1314
|
+
getSizedParentNode: kn,
|
1319
1315
|
getScale: Ci
|
1320
1316
|
};
|
1321
|
-
function
|
1317
|
+
function S(t, e, i, n) {
|
1322
1318
|
if (e && typeof e == "object")
|
1323
1319
|
for (var o in e)
|
1324
1320
|
zi(t, o, e[o], i);
|
@@ -1332,12 +1328,12 @@ function ea() {
|
|
1332
1328
|
var Ct = "_leaflet_events";
|
1333
1329
|
function W(t, e, i, n) {
|
1334
1330
|
if (arguments.length === 1)
|
1335
|
-
|
1331
|
+
zn(t), delete t[Ct];
|
1336
1332
|
else if (e && typeof e == "object")
|
1337
1333
|
for (var o in e)
|
1338
1334
|
Ai(t, o, e[o], i);
|
1339
1335
|
else if (e = G(e), arguments.length === 2)
|
1340
|
-
|
1336
|
+
zn(t, function(u) {
|
1341
1337
|
return w(e, u) !== -1;
|
1342
1338
|
});
|
1343
1339
|
else
|
@@ -1345,7 +1341,7 @@ function ea() {
|
|
1345
1341
|
Ai(t, e[s], i, n);
|
1346
1342
|
return this;
|
1347
1343
|
}
|
1348
|
-
function
|
1344
|
+
function zn(t, e) {
|
1349
1345
|
for (var i in t[Ct]) {
|
1350
1346
|
var n = i.split(/\d/)[0];
|
1351
1347
|
(!e || e(n)) && Ai(t, n, null, null, i);
|
@@ -1374,33 +1370,33 @@ function ea() {
|
|
1374
1370
|
return this;
|
1375
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;
|
1376
1372
|
}
|
1377
|
-
function
|
1373
|
+
function ee(t) {
|
1378
1374
|
return t.stopPropagation ? t.stopPropagation() : t.originalEvent ? t.originalEvent._stopped = !0 : t.cancelBubble = !0, this;
|
1379
1375
|
}
|
1380
1376
|
function Ei(t) {
|
1381
|
-
return zi(t, "wheel",
|
1377
|
+
return zi(t, "wheel", ee), this;
|
1382
1378
|
}
|
1383
|
-
function
|
1384
|
-
return
|
1379
|
+
function Ce(t) {
|
1380
|
+
return S(t, "mousedown touchstart dblclick contextmenu", ee), t._leaflet_disable_click = !0, this;
|
1385
1381
|
}
|
1386
|
-
function
|
1382
|
+
function ot(t) {
|
1387
1383
|
return t.preventDefault ? t.preventDefault() : t.returnValue = !1, this;
|
1388
1384
|
}
|
1389
|
-
function
|
1390
|
-
return
|
1385
|
+
function ie(t) {
|
1386
|
+
return ot(t), ee(t), this;
|
1391
1387
|
}
|
1392
|
-
function
|
1388
|
+
function An(t) {
|
1393
1389
|
if (t.composedPath)
|
1394
1390
|
return t.composedPath();
|
1395
1391
|
for (var e = [], i = t.target; i; )
|
1396
1392
|
e.push(i), i = i.parentNode;
|
1397
1393
|
return e;
|
1398
1394
|
}
|
1399
|
-
function
|
1395
|
+
function En(t, e) {
|
1400
1396
|
if (!e)
|
1401
|
-
return new
|
1397
|
+
return new O(t.clientX, t.clientY);
|
1402
1398
|
var i = Ci(e), n = i.boundingClientRect;
|
1403
|
-
return new
|
1399
|
+
return new O(
|
1404
1400
|
// offset.left/top values are in page scale (like clientX/Y),
|
1405
1401
|
// whereas clientLeft/Top (border width) values are the original values (before CSS scale applies).
|
1406
1402
|
(t.clientX - n.left) / i.x - e.clientLeft,
|
@@ -1408,7 +1404,7 @@ function ea() {
|
|
1408
1404
|
);
|
1409
1405
|
}
|
1410
1406
|
var Cs = y.linux && y.chrome ? window.devicePixelRatio : y.mac ? window.devicePixelRatio * 3 : window.devicePixelRatio > 0 ? 2 * window.devicePixelRatio : 1;
|
1411
|
-
function
|
1407
|
+
function Bn(t) {
|
1412
1408
|
return y.edge ? t.wheelDeltaY / 2 : (
|
1413
1409
|
// Don't trust window-geometry-based delta
|
1414
1410
|
t.deltaY && t.deltaMode === 0 ? -t.deltaY / Cs : (
|
@@ -1449,27 +1445,27 @@ function ea() {
|
|
1449
1445
|
}
|
1450
1446
|
var ks = {
|
1451
1447
|
__proto__: null,
|
1452
|
-
on:
|
1448
|
+
on: S,
|
1453
1449
|
off: W,
|
1454
|
-
stopPropagation:
|
1450
|
+
stopPropagation: ee,
|
1455
1451
|
disableScrollPropagation: Ei,
|
1456
|
-
disableClickPropagation:
|
1457
|
-
preventDefault:
|
1458
|
-
stop:
|
1459
|
-
getPropagationPath:
|
1460
|
-
getMousePosition:
|
1461
|
-
getWheelDelta:
|
1452
|
+
disableClickPropagation: Ce,
|
1453
|
+
preventDefault: ot,
|
1454
|
+
stop: ie,
|
1455
|
+
getPropagationPath: An,
|
1456
|
+
getMousePosition: En,
|
1457
|
+
getWheelDelta: Bn,
|
1462
1458
|
isExternalTarget: Bi,
|
1463
|
-
addListener:
|
1459
|
+
addListener: S,
|
1464
1460
|
removeListener: W
|
1465
|
-
},
|
1461
|
+
}, In = be.extend({
|
1466
1462
|
// @method run(el: HTMLElement, newPos: Point, duration?: Number, easeLinearity?: Number)
|
1467
1463
|
// Run an animation of a given element to a new position, optionally setting
|
1468
1464
|
// duration in seconds (`0.25` by default) and easing linearity factor (3rd
|
1469
1465
|
// argument of the [cubic bezier curve](https://cubic-bezier.com/#0,0,.5,1),
|
1470
1466
|
// `0.5` by default).
|
1471
1467
|
run: function(t, e, i, n) {
|
1472
|
-
this.stop(), this._el = t, this._inProgress = !0, this._duration = i || 0.25, this._easeOutPower = 1 / Math.max(n || 0.5, 0.2), this._startPos =
|
1468
|
+
this.stop(), this._el = t, this._inProgress = !0, this._duration = i || 0.25, this._easeOutPower = 1 / Math.max(n || 0.5, 0.2), this._startPos = te(t), this._offset = e.subtract(this._startPos), this._startTime = +/* @__PURE__ */ new Date(), this.fire("start"), this._animate();
|
1473
1469
|
},
|
1474
1470
|
// @method stop()
|
1475
1471
|
// Stops the animation (if currently running).
|
@@ -1477,7 +1473,7 @@ function ea() {
|
|
1477
1473
|
this._inProgress && (this._step(!0), this._complete());
|
1478
1474
|
},
|
1479
1475
|
_animate: function() {
|
1480
|
-
this._animId =
|
1476
|
+
this._animId = nt(this._animate, this), this._step();
|
1481
1477
|
},
|
1482
1478
|
_step: function(t) {
|
1483
1479
|
var e = +/* @__PURE__ */ new Date() - this._startTime, i = this._duration * 1e3;
|
@@ -1493,7 +1489,7 @@ function ea() {
|
|
1493
1489
|
_easeOut: function(t) {
|
1494
1490
|
return 1 - Math.pow(1 - t, this._easeOutPower);
|
1495
1491
|
}
|
1496
|
-
}), I =
|
1492
|
+
}), I = be.extend({
|
1497
1493
|
options: {
|
1498
1494
|
// @section Map State Options
|
1499
1495
|
// @option crs: CRS = L.CRS.EPSG3857
|
@@ -1571,7 +1567,7 @@ function ea() {
|
|
1571
1567
|
trackResize: !0
|
1572
1568
|
},
|
1573
1569
|
initialize: function(t, e) {
|
1574
|
-
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 =
|
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);
|
1575
1571
|
},
|
1576
1572
|
// @section Methods for modifying map state
|
1577
1573
|
// @method setView(center: LatLng, zoom: Number, options?: Zoom/pan options): this
|
@@ -1608,7 +1604,7 @@ function ea() {
|
|
1608
1604
|
// @method setZoomAround(offset: Point, zoom: Number, options: Zoom options): this
|
1609
1605
|
// Zooms the map while keeping a specified pixel on the map (relative to the top-left corner) stationary.
|
1610
1606
|
setZoomAround: function(t, e, i) {
|
1611
|
-
var n = this.getZoomScale(e), o = this.getSize().divideBy(2), s = t instanceof
|
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));
|
1612
1608
|
return this.setView(u, e, { zoom: i });
|
1613
1609
|
},
|
1614
1610
|
_getBoundsCenterZoom: function(t, e) {
|
@@ -1652,7 +1648,7 @@ function ea() {
|
|
1652
1648
|
return this.fire("moveend");
|
1653
1649
|
if (e.animate !== !0 && !this.getSize().contains(t))
|
1654
1650
|
return this._resetView(this.unproject(this.project(this.getCenter()).add(t)), this.getZoom()), this;
|
1655
|
-
if (this._panAnim || (this._panAnim = new
|
1651
|
+
if (this._panAnim || (this._panAnim = new In(), this._panAnim.on({
|
1656
1652
|
step: this._onPanTransitionStep,
|
1657
1653
|
end: this._onPanTransitionEnd
|
1658
1654
|
}, this)), e.noMoveStart || this.fire("movestart"), e.animate !== !1) {
|
@@ -1674,38 +1670,38 @@ function ea() {
|
|
1674
1670
|
t = B(t), e = e === void 0 ? h : e;
|
1675
1671
|
var u = Math.max(s.x, s.y), c = u * this.getZoomScale(h, e), f = o.distanceTo(n) || 1, _ = 1.42, P = _ * _;
|
1676
1672
|
function k(tt) {
|
1677
|
-
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,
|
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);
|
1678
1674
|
return br;
|
1679
1675
|
}
|
1680
1676
|
function ht(tt) {
|
1681
1677
|
return (Math.exp(tt) - Math.exp(-tt)) / 2;
|
1682
1678
|
}
|
1683
|
-
function
|
1679
|
+
function it(tt) {
|
1684
1680
|
return (Math.exp(tt) + Math.exp(-tt)) / 2;
|
1685
1681
|
}
|
1686
1682
|
function bt(tt) {
|
1687
|
-
return ht(tt) /
|
1683
|
+
return ht(tt) / it(tt);
|
1688
1684
|
}
|
1689
1685
|
var pt = k(0);
|
1690
|
-
function
|
1691
|
-
return u * (
|
1686
|
+
function me(tt) {
|
1687
|
+
return u * (it(pt) / it(pt + _ * tt));
|
1692
1688
|
}
|
1693
1689
|
function pr(tt) {
|
1694
|
-
return u * (
|
1690
|
+
return u * (it(pt) * bt(pt + _ * tt) - ht(pt)) / P;
|
1695
1691
|
}
|
1696
1692
|
function mr(tt) {
|
1697
1693
|
return 1 - Math.pow(1 - tt, 1.5);
|
1698
1694
|
}
|
1699
|
-
var _r = Date.now(),
|
1700
|
-
function
|
1701
|
-
var tt = (Date.now() - _r) / gr, si = mr(tt) *
|
1702
|
-
tt <= 1 ? (this._flyToFrame =
|
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(
|
1703
1699
|
this.unproject(n.add(o.subtract(n).multiplyBy(pr(si) / f)), h),
|
1704
|
-
this.getScaleZoom(u /
|
1700
|
+
this.getScaleZoom(u / me(si), h),
|
1705
1701
|
{ flyTo: !0 }
|
1706
1702
|
)) : this._move(t, e)._moveEnd(!0);
|
1707
1703
|
}
|
1708
|
-
return this._moveStart(!0, i.noMoveStart),
|
1704
|
+
return this._moveStart(!0, i.noMoveStart), mo.call(this), this;
|
1709
1705
|
},
|
1710
1706
|
// @method flyToBounds(bounds: LatLngBounds, options?: fitBounds options): this
|
1711
1707
|
// Sets the view of the map with a smooth animation like [`flyTo`](#map-flyto),
|
@@ -1921,7 +1917,7 @@ function ea() {
|
|
1921
1917
|
// @method getSize(): Point
|
1922
1918
|
// Returns the current size of the map container (in pixels).
|
1923
1919
|
getSize: function() {
|
1924
|
-
return (!this._size || this._sizeChanged) && (this._size = new
|
1920
|
+
return (!this._size || this._sizeChanged) && (this._size = new O(
|
1925
1921
|
this._container.clientWidth || 0,
|
1926
1922
|
this._container.clientHeight || 0
|
1927
1923
|
), this._sizeChanged = !1), this._size.clone();
|
@@ -2063,7 +2059,7 @@ function ea() {
|
|
2063
2059
|
// Given a MouseEvent object, returns the pixel coordinate relative to the
|
2064
2060
|
// map container where the event took place.
|
2065
2061
|
mouseEventToContainerPoint: function(t) {
|
2066
|
-
return
|
2062
|
+
return En(t, this._container);
|
2067
2063
|
},
|
2068
2064
|
// @method mouseEventToLayerPoint(ev: MouseEvent): Point
|
2069
2065
|
// Given a MouseEvent object, returns the pixel coordinate relative to
|
@@ -2079,27 +2075,27 @@ function ea() {
|
|
2079
2075
|
},
|
2080
2076
|
// map initialization methods
|
2081
2077
|
_initContainer: function(t) {
|
2082
|
-
var e = this._container =
|
2078
|
+
var e = this._container = Cn(t);
|
2083
2079
|
if (e) {
|
2084
2080
|
if (e._leaflet_id)
|
2085
2081
|
throw new Error("Map container is already initialized.");
|
2086
2082
|
} else throw new Error("Map container not found.");
|
2087
|
-
|
2083
|
+
S(e, "scroll", this._onScroll, this), this._containerId = v(e);
|
2088
2084
|
},
|
2089
2085
|
_initLayout: function() {
|
2090
2086
|
var t = this._container;
|
2091
2087
|
this._fadeAnimated = this.options.fadeAnimation && y.any3d, C(t, "leaflet-container" + (y.touch ? " leaflet-touch" : "") + (y.retina ? " leaflet-retina" : "") + (y.ielt9 ? " leaflet-oldie" : "") + (y.safari ? " leaflet-safari" : "") + (this._fadeAnimated ? " leaflet-fade-anim" : ""));
|
2092
|
-
var e =
|
2088
|
+
var e = Te(t, "position");
|
2093
2089
|
e !== "absolute" && e !== "relative" && e !== "fixed" && e !== "sticky" && (t.style.position = "relative"), this._initPanes(), this._initControlPos && this._initControlPos();
|
2094
2090
|
},
|
2095
2091
|
_initPanes: function() {
|
2096
2092
|
var t = this._panes = {};
|
2097
|
-
this._paneRenderers = {}, this._mapPane = this.createPane("mapPane", this._container), $(this._mapPane, new
|
2093
|
+
this._paneRenderers = {}, this._mapPane = this.createPane("mapPane", this._container), $(this._mapPane, new O(0, 0)), this.createPane("tilePane"), this.createPane("overlayPane"), this.createPane("shadowPane"), this.createPane("markerPane"), this.createPane("tooltipPane"), this.createPane("popupPane"), this.options.markerZoomAnimation || (C(t.markerPane, "leaflet-zoom-hide"), C(t.shadowPane, "leaflet-zoom-hide"));
|
2098
2094
|
},
|
2099
2095
|
// private methods that modify map state
|
2100
2096
|
// @section Map state change events
|
2101
2097
|
_resetView: function(t, e, i) {
|
2102
|
-
$(this._mapPane, new
|
2098
|
+
$(this._mapPane, new O(0, 0));
|
2103
2099
|
var n = !this._loaded;
|
2104
2100
|
this._loaded = !0, e = this._limitZoom(e), this.fire("viewprereset");
|
2105
2101
|
var o = this._zoom !== e;
|
@@ -2136,11 +2132,11 @@ function ea() {
|
|
2136
2132
|
// @section Interaction events
|
2137
2133
|
_initEvents: function(t) {
|
2138
2134
|
this._targets = {}, this._targets[v(this._container)] = this;
|
2139
|
-
var e = t ? W :
|
2135
|
+
var e = t ? W : S;
|
2140
2136
|
e(this._container, "click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup", this._handleDOMEvent, this), this.options.trackResize && e(window, "resize", this._onResize, this), y.any3d && this.options.transform3DLimit && (t ? this.off : this.on).call(this, "moveend", this._onMoveEnd);
|
2141
2137
|
},
|
2142
2138
|
_onResize: function() {
|
2143
|
-
vt(this._resizeRequest), this._resizeRequest =
|
2139
|
+
vt(this._resizeRequest), this._resizeRequest = nt(
|
2144
2140
|
function() {
|
2145
2141
|
this.invalidateSize({ debounceMoveend: !0 });
|
2146
2142
|
},
|
@@ -2177,7 +2173,7 @@ function ea() {
|
|
2177
2173
|
var e = t.target || t.srcElement;
|
2178
2174
|
if (!(!this._loaded || e._leaflet_disable_events || t.type === "click" && this._isClickDisabled(e))) {
|
2179
2175
|
var i = t.type;
|
2180
|
-
i === "mousedown" &&
|
2176
|
+
i === "mousedown" && Si(e), this._fireDOMEvent(t, i);
|
2181
2177
|
}
|
2182
2178
|
},
|
2183
2179
|
_mouseEvents: ["click", "dblclick", "mouseover", "mouseout", "contextmenu"],
|
@@ -2193,7 +2189,7 @@ function ea() {
|
|
2193
2189
|
o = s.concat(o);
|
2194
2190
|
}
|
2195
2191
|
if (o.length) {
|
2196
|
-
e === "contextmenu" &&
|
2192
|
+
e === "contextmenu" && ot(t);
|
2197
2193
|
var u = o[0], c = {
|
2198
2194
|
originalEvent: t
|
2199
2195
|
};
|
@@ -2223,7 +2219,7 @@ function ea() {
|
|
2223
2219
|
},
|
2224
2220
|
// private methods for getting map state
|
2225
2221
|
_getMapPanePos: function() {
|
2226
|
-
return
|
2222
|
+
return te(this._mapPane) || new O(0, 0);
|
2227
2223
|
},
|
2228
2224
|
_moved: function() {
|
2229
2225
|
var t = this._getMapPanePos();
|
@@ -2278,7 +2274,7 @@ function ea() {
|
|
2278
2274
|
this.project(e.getNorthEast(), i),
|
2279
2275
|
this.project(e.getSouthWest(), i)
|
2280
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);
|
2281
|
-
return new
|
2277
|
+
return new O(h, u);
|
2282
2278
|
},
|
2283
2279
|
_rebound: function(t, e) {
|
2284
2280
|
return t + e > 0 ? Math.round(t - e) / 2 : Math.max(0, Math.ceil(t)) - Math.max(0, Math.floor(e));
|
@@ -2301,7 +2297,7 @@ function ea() {
|
|
2301
2297
|
var t = this._proxy = D("div", "leaflet-proxy leaflet-zoom-animated");
|
2302
2298
|
this._panes.mapPane.appendChild(t), this.on("zoomanim", function(e) {
|
2303
2299
|
var i = bi, n = this._proxy.style[i];
|
2304
|
-
|
2300
|
+
$t(this._proxy, this.project(e.center, e.zoom), this.getZoomScale(e.zoom, 1)), n === this._proxy.style[i] && this._animatingZoom && this._onZoomTransitionEnd();
|
2305
2301
|
}, this), this.on("load moveend", this._animMoveEnd, this), this._on("unload", this._destroyAnimProxy, this);
|
2306
2302
|
},
|
2307
2303
|
_destroyAnimProxy: function() {
|
@@ -2309,7 +2305,7 @@ function ea() {
|
|
2309
2305
|
},
|
2310
2306
|
_animMoveEnd: function() {
|
2311
2307
|
var t = this.getCenter(), e = this.getZoom();
|
2312
|
-
|
2308
|
+
$t(this._proxy, this.project(t, e), this.getZoomScale(e, 1));
|
2313
2309
|
},
|
2314
2310
|
_catchTransitionEnd: function(t) {
|
2315
2311
|
this._animatingZoom && t.propertyName.indexOf("transform") >= 0 && this._onZoomTransitionEnd();
|
@@ -2323,7 +2319,7 @@ function ea() {
|
|
2323
2319
|
if (i = i || {}, !this._zoomAnimated || i.animate === !1 || this._nothingToAnimate() || Math.abs(e - this._zoom) > this.options.zoomAnimationThreshold)
|
2324
2320
|
return !1;
|
2325
2321
|
var n = this.getZoomScale(e), o = this._getCenterOffset(t)._divideBy(1 - 1 / n);
|
2326
|
-
return i.animate !== !0 && !this.getSize().contains(o) ? !1 : (
|
2322
|
+
return i.animate !== !0 && !this.getSize().contains(o) ? !1 : (nt(function() {
|
2327
2323
|
this._moveStart(!0, i.noMoveStart || !1)._animateZoom(t, e, !0);
|
2328
2324
|
}, this), !0);
|
2329
2325
|
},
|
@@ -2341,7 +2337,7 @@ function ea() {
|
|
2341
2337
|
function zs(t, e) {
|
2342
2338
|
return new I(t, e);
|
2343
2339
|
}
|
2344
|
-
var xt =
|
2340
|
+
var xt = It.extend({
|
2345
2341
|
// @section
|
2346
2342
|
// @aka Control Options
|
2347
2343
|
options: {
|
@@ -2388,7 +2384,7 @@ function ea() {
|
|
2388
2384
|
_refocusOnMap: function(t) {
|
2389
2385
|
this._map && t && t.screenX > 0 && t.screenY > 0 && this._map.getContainer().focus();
|
2390
2386
|
}
|
2391
|
-
}),
|
2387
|
+
}), ke = function(t) {
|
2392
2388
|
return new xt(t);
|
2393
2389
|
};
|
2394
2390
|
I.include({
|
@@ -2416,7 +2412,7 @@ function ea() {
|
|
2416
2412
|
J(this._controlContainer), delete this._controlCorners, delete this._controlContainer;
|
2417
2413
|
}
|
2418
2414
|
});
|
2419
|
-
var
|
2415
|
+
var Zn = xt.extend({
|
2420
2416
|
// @section
|
2421
2417
|
// @aka Control.Layers options
|
2422
2418
|
options: {
|
@@ -2496,20 +2492,20 @@ function ea() {
|
|
2496
2492
|
},
|
2497
2493
|
_initLayout: function() {
|
2498
2494
|
var t = "leaflet-control-layers", e = this._container = D("div", t), i = this.options.collapsed;
|
2499
|
-
e.setAttribute("aria-haspopup", !0),
|
2495
|
+
e.setAttribute("aria-haspopup", !0), Ce(e), Ei(e);
|
2500
2496
|
var n = this._section = D("section", t + "-list");
|
2501
|
-
i && (this._map.on("click", this.collapse, this),
|
2497
|
+
i && (this._map.on("click", this.collapse, this), S(e, {
|
2502
2498
|
mouseenter: this._expandSafely,
|
2503
2499
|
mouseleave: this.collapse
|
2504
2500
|
}, this));
|
2505
2501
|
var o = this._layersLink = D("a", t + "-toggle", e);
|
2506
|
-
o.href = "#", o.title = "Layers", o.setAttribute("role", "button"),
|
2502
|
+
o.href = "#", o.title = "Layers", o.setAttribute("role", "button"), S(o, {
|
2507
2503
|
keydown: function(s) {
|
2508
2504
|
s.keyCode === 13 && this._expandSafely();
|
2509
2505
|
},
|
2510
2506
|
// Certain screen readers intercept the key event and instead send a click event
|
2511
2507
|
click: function(s) {
|
2512
|
-
|
2508
|
+
ot(s), this._expandSafely();
|
2513
2509
|
}
|
2514
2510
|
}, this), i || this.expand(), this._baseLayersList = D("div", t + "-base", n), this._separator = D("div", t + "-separator", n), this._overlaysList = D("div", t + "-overlays", n), e.appendChild(n);
|
2515
2511
|
},
|
@@ -2548,7 +2544,7 @@ function ea() {
|
|
2548
2544
|
},
|
2549
2545
|
_addItem: function(t) {
|
2550
2546
|
var e = document.createElement("label"), i = this._map.hasLayer(t.layer), n;
|
2551
|
-
t.overlay ? (n = document.createElement("input"), n.type = "checkbox", n.className = "leaflet-control-layers-selector", n.defaultChecked = i) : n = this._createRadioElement("leaflet-base-layers_" + v(this), i), this._layerControlInputs.push(n), n.layerId = v(t.layer),
|
2547
|
+
t.overlay ? (n = document.createElement("input"), n.type = "checkbox", n.className = "leaflet-control-layers-selector", n.defaultChecked = i) : n = this._createRadioElement("leaflet-base-layers_" + v(this), i), this._layerControlInputs.push(n), n.layerId = v(t.layer), S(n, "click", this._onInputClick, this);
|
2552
2548
|
var o = document.createElement("span");
|
2553
2549
|
o.innerHTML = " " + t.name;
|
2554
2550
|
var s = document.createElement("span");
|
@@ -2578,14 +2574,14 @@ function ea() {
|
|
2578
2574
|
},
|
2579
2575
|
_expandSafely: function() {
|
2580
2576
|
var t = this._section;
|
2581
|
-
this._preventClick = !0,
|
2577
|
+
this._preventClick = !0, S(t, "click", ot), this.expand();
|
2582
2578
|
var e = this;
|
2583
2579
|
setTimeout(function() {
|
2584
|
-
W(t, "click",
|
2580
|
+
W(t, "click", ot), e._preventClick = !1;
|
2585
2581
|
});
|
2586
2582
|
}
|
2587
2583
|
}), As = function(t, e, i) {
|
2588
|
-
return new
|
2584
|
+
return new Zn(t, e, i);
|
2589
2585
|
}, Ii = xt.extend({
|
2590
2586
|
// @section
|
2591
2587
|
// @aka Control.Zoom options
|
@@ -2637,7 +2633,7 @@ function ea() {
|
|
2637
2633
|
},
|
2638
2634
|
_createButton: function(t, e, i, n, o) {
|
2639
2635
|
var s = D("a", i, n);
|
2640
|
-
return s.innerHTML = t, s.href = "#", s.title = e, s.setAttribute("role", "button"), s.setAttribute("aria-label", e),
|
2636
|
+
return s.innerHTML = t, s.href = "#", s.title = e, s.setAttribute("role", "button"), s.setAttribute("aria-label", e), Ce(s), S(s, "click", ie), S(s, "click", o, this), S(s, "click", this._refocusOnMap, this), s;
|
2641
2637
|
},
|
2642
2638
|
_updateDisabled: function() {
|
2643
2639
|
var t = this._map, e = "leaflet-disabled";
|
@@ -2651,7 +2647,7 @@ function ea() {
|
|
2651
2647
|
});
|
2652
2648
|
var Es = function(t) {
|
2653
2649
|
return new Ii(t);
|
2654
|
-
},
|
2650
|
+
}, Rn = xt.extend({
|
2655
2651
|
// @section
|
2656
2652
|
// @aka Control.Scale options
|
2657
2653
|
options: {
|
@@ -2704,7 +2700,7 @@ function ea() {
|
|
2704
2700
|
return i = i >= 10 ? 10 : i >= 5 ? 5 : i >= 3 ? 3 : i >= 2 ? 2 : 1, e * i;
|
2705
2701
|
}
|
2706
2702
|
}), Bs = function(t) {
|
2707
|
-
return new
|
2703
|
+
return new Rn(t);
|
2708
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({
|
2709
2705
|
// @section
|
2710
2706
|
// @aka Control.Attribution options
|
@@ -2718,7 +2714,7 @@ function ea() {
|
|
2718
2714
|
N(this, t), this._attributions = {};
|
2719
2715
|
},
|
2720
2716
|
onAdd: function(t) {
|
2721
|
-
t.attributionControl = this, this._container = D("div", "leaflet-control-attribution"),
|
2717
|
+
t.attributionControl = this, this._container = D("div", "leaflet-control-attribution"), Ce(this._container);
|
2722
2718
|
for (var e in t._layers)
|
2723
2719
|
t._layers[e].getAttribution && this.addAttribution(t._layers[e].getAttribution());
|
2724
2720
|
return this._update(), t.on("layeradd", this._addAttribution, this), this._container;
|
@@ -2764,8 +2760,8 @@ function ea() {
|
|
2764
2760
|
var Zs = function(t) {
|
2765
2761
|
return new Zi(t);
|
2766
2762
|
};
|
2767
|
-
xt.Layers =
|
2768
|
-
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({
|
2769
2765
|
initialize: function(t) {
|
2770
2766
|
this._map = t;
|
2771
2767
|
},
|
@@ -2794,7 +2790,7 @@ function ea() {
|
|
2794
2790
|
kt.addTo = function(t, e) {
|
2795
2791
|
return t.addHandler(e, this), this;
|
2796
2792
|
};
|
2797
|
-
var Rs = { Events: _t },
|
2793
|
+
var Rs = { Events: _t }, Nn = y.touch ? "touchstart mousedown" : "mousedown", Gt = be.extend({
|
2798
2794
|
options: {
|
2799
2795
|
// @section
|
2800
2796
|
// @aka Draggable options
|
@@ -2811,12 +2807,12 @@ function ea() {
|
|
2811
2807
|
// @method enable()
|
2812
2808
|
// Enables the dragging ability
|
2813
2809
|
enable: function() {
|
2814
|
-
this._enabled || (
|
2810
|
+
this._enabled || (S(this._dragStartTarget, Nn, this._onDown, this), this._enabled = !0);
|
2815
2811
|
},
|
2816
2812
|
// @method disable()
|
2817
2813
|
// Disables the dragging ability
|
2818
2814
|
disable: function() {
|
2819
|
-
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);
|
2820
2816
|
},
|
2821
2817
|
_onDown: function(t) {
|
2822
2818
|
if (this._enabled && (this._moved = !1, !Li(this._element, "leaflet-zoom-anim"))) {
|
@@ -2824,12 +2820,12 @@ function ea() {
|
|
2824
2820
|
Gt._dragging === this && this.finishDrag();
|
2825
2821
|
return;
|
2826
2822
|
}
|
2827
|
-
if (!(Gt._dragging || t.shiftKey || t.which !== 1 && t.button !== 1 && !t.touches) && (Gt._dragging = this, this._preventOutline &&
|
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)) {
|
2828
2824
|
this.fire("down");
|
2829
|
-
var e = t.touches ? t.touches[0] : t, i =
|
2830
|
-
this._startPoint = new
|
2825
|
+
var e = t.touches ? t.touches[0] : t, i = kn(this._element);
|
2826
|
+
this._startPoint = new O(e.clientX, e.clientY), this._startPos = te(this._element), this._parentScale = Ci(i);
|
2831
2827
|
var n = t.type === "mousedown";
|
2832
|
-
|
2828
|
+
S(document, n ? "mousemove" : "touchmove", this._onMove, this), S(document, n ? "mouseup" : "touchend touchcancel", this._onUp, this);
|
2833
2829
|
}
|
2834
2830
|
}
|
2835
2831
|
},
|
@@ -2839,8 +2835,8 @@ function ea() {
|
|
2839
2835
|
this._moved = !0;
|
2840
2836
|
return;
|
2841
2837
|
}
|
2842
|
-
var e = t.touches && t.touches.length === 1 ? t.touches[0] : t, i = new
|
2843
|
-
!i.x && !i.y || Math.abs(i.x) + Math.abs(i.y) < this.options.clickTolerance || (i.x /= this._parentScale.x, i.y /= this._parentScale.y,
|
2838
|
+
var e = t.touches && t.touches.length === 1 ? t.touches[0] : t, i = new O(e.clientX, e.clientY)._subtract(this._startPoint);
|
2839
|
+
!i.x && !i.y || Math.abs(i.x) + Math.abs(i.y) < this.options.clickTolerance || (i.x /= this._parentScale.x, i.y /= this._parentScale.y, ot(t), this._moved || (this.fire("dragstart"), this._moved = !0, C(document.body, "leaflet-dragging"), this._lastTarget = t.target || t.srcElement, window.SVGElementInstance && this._lastTarget instanceof window.SVGElementInstance && (this._lastTarget = this._lastTarget.correspondingUseElement), C(this._lastTarget, "leaflet-drag-target")), this._newPos = this._startPos.add(i), this._moving = !0, this._lastEvent = t, this._updatePosition());
|
2844
2840
|
}
|
2845
2841
|
},
|
2846
2842
|
_updatePosition: function() {
|
@@ -2859,34 +2855,34 @@ function ea() {
|
|
2859
2855
|
});
|
2860
2856
|
}
|
2861
2857
|
});
|
2862
|
-
function
|
2858
|
+
function Dn(t, e, i) {
|
2863
2859
|
var n, o = [1, 4, 2, 8], s, h, u, c, f, _, P, k;
|
2864
2860
|
for (s = 0, _ = t.length; s < _; s++)
|
2865
|
-
t[s]._code =
|
2861
|
+
t[s]._code = ne(t[s], e);
|
2866
2862
|
for (u = 0; u < 4; u++) {
|
2867
2863
|
for (P = o[u], n = [], s = 0, _ = t.length, h = _ - 1; s < _; h = s++)
|
2868
|
-
c = t[s], f = t[h], c._code & P ? f._code & P || (k = Ke(f, c, P, e, i), k._code =
|
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));
|
2869
2865
|
t = n;
|
2870
2866
|
}
|
2871
2867
|
return t;
|
2872
2868
|
}
|
2873
|
-
function
|
2869
|
+
function Hn(t, e) {
|
2874
2870
|
var i, n, o, s, h, u, c, f, _;
|
2875
2871
|
if (!t || t.length === 0)
|
2876
2872
|
throw new Error("latlngs not passed");
|
2877
2873
|
wt(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);
|
2878
2874
|
var P = B([0, 0]), k = Q(t), ht = k.getNorthWest().distanceTo(k.getSouthWest()) * k.getNorthEast().distanceTo(k.getNorthWest());
|
2879
2875
|
ht < 1700 && (P = Ri(t));
|
2880
|
-
var
|
2881
|
-
for (i = 0; i <
|
2876
|
+
var it = t.length, bt = [];
|
2877
|
+
for (i = 0; i < it; i++) {
|
2882
2878
|
var pt = B(t[i]);
|
2883
2879
|
bt.push(e.project(B([pt.lat - P.lat, pt.lng - P.lng])));
|
2884
2880
|
}
|
2885
|
-
for (u = c = f = 0, i = 0, n =
|
2881
|
+
for (u = c = f = 0, i = 0, n = it - 1; i < it; n = i++)
|
2886
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;
|
2887
2883
|
u === 0 ? _ = bt[0] : _ = [c / u, f / u];
|
2888
|
-
var
|
2889
|
-
return B([
|
2884
|
+
var me = e.unproject(M(_));
|
2885
|
+
return B([me.lat + P.lat, me.lng + P.lng]);
|
2890
2886
|
}
|
2891
2887
|
function Ri(t) {
|
2892
2888
|
for (var e = 0, i = 0, n = 0, o = 0; o < t.length; o++) {
|
@@ -2897,21 +2893,21 @@ function ea() {
|
|
2897
2893
|
}
|
2898
2894
|
var Ns = {
|
2899
2895
|
__proto__: null,
|
2900
|
-
clipPolygon:
|
2901
|
-
polygonCenter:
|
2896
|
+
clipPolygon: Dn,
|
2897
|
+
polygonCenter: Hn,
|
2902
2898
|
centroid: Ri
|
2903
2899
|
};
|
2904
|
-
function
|
2900
|
+
function Fn(t, e) {
|
2905
2901
|
if (!e || !t.length)
|
2906
2902
|
return t.slice();
|
2907
2903
|
var i = e * e;
|
2908
2904
|
return t = Fs(t, i), t = Hs(t, i), t;
|
2909
2905
|
}
|
2910
|
-
function
|
2911
|
-
return Math.sqrt(
|
2906
|
+
function Vn(t, e, i) {
|
2907
|
+
return Math.sqrt(ze(t, e, i, !0));
|
2912
2908
|
}
|
2913
2909
|
function Ds(t, e, i) {
|
2914
|
-
return
|
2910
|
+
return ze(t, e, i);
|
2915
2911
|
}
|
2916
2912
|
function Hs(t, e) {
|
2917
2913
|
var i = t.length, n = typeof Uint8Array < "u" ? Uint8Array : Array, o = new n(i);
|
@@ -2924,7 +2920,7 @@ function ea() {
|
|
2924
2920
|
function Ni(t, e, i, n, o) {
|
2925
2921
|
var s = 0, h, u, c;
|
2926
2922
|
for (u = n + 1; u <= o - 1; u++)
|
2927
|
-
c =
|
2923
|
+
c = ze(t[u], t[n], t[o], !0), c > s && (h = u, s = c);
|
2928
2924
|
s > i && (e[h] = 1, Ni(t, e, i, n, h), Ni(t, e, i, h, o));
|
2929
2925
|
}
|
2930
2926
|
function Fs(t, e) {
|
@@ -2932,22 +2928,22 @@ function ea() {
|
|
2932
2928
|
Vs(t[n], t[o]) > e && (i.push(t[n]), o = n);
|
2933
2929
|
return o < s - 1 && i.push(t[s - 1]), i;
|
2934
2930
|
}
|
2935
|
-
var
|
2936
|
-
function
|
2937
|
-
var s = n ?
|
2938
|
-
for (
|
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; ; ) {
|
2939
2935
|
if (!(s | h))
|
2940
2936
|
return [t, e];
|
2941
2937
|
if (s & h)
|
2942
2938
|
return !1;
|
2943
|
-
u = s || h, c = Ke(t, e, u, i, o), f =
|
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);
|
2944
2940
|
}
|
2945
2941
|
}
|
2946
2942
|
function Ke(t, e, i, n, o) {
|
2947
2943
|
var s = e.x - t.x, h = e.y - t.y, u = n.min, c = n.max, f, _;
|
2948
|
-
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
|
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);
|
2949
2945
|
}
|
2950
|
-
function
|
2946
|
+
function ne(t, e) {
|
2951
2947
|
var i = 0;
|
2952
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;
|
2953
2949
|
}
|
@@ -2955,35 +2951,35 @@ function ea() {
|
|
2955
2951
|
var i = e.x - t.x, n = e.y - t.y;
|
2956
2952
|
return i * i + n * n;
|
2957
2953
|
}
|
2958
|
-
function
|
2954
|
+
function ze(t, e, i, n) {
|
2959
2955
|
var o = e.x, s = e.y, h = i.x - o, u = i.y - s, c = h * h + u * u, f;
|
2960
|
-
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
|
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);
|
2961
2957
|
}
|
2962
2958
|
function wt(t) {
|
2963
2959
|
return !V(t[0]) || typeof t[0][0] != "object" && typeof t[0][0] < "u";
|
2964
2960
|
}
|
2965
|
-
function
|
2961
|
+
function qn(t) {
|
2966
2962
|
return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."), wt(t);
|
2967
2963
|
}
|
2968
|
-
function
|
2964
|
+
function jn(t, e) {
|
2969
2965
|
var i, n, o, s, h, u, c, f;
|
2970
2966
|
if (!t || t.length === 0)
|
2971
2967
|
throw new Error("latlngs not passed");
|
2972
2968
|
wt(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);
|
2973
2969
|
var _ = B([0, 0]), P = Q(t), k = P.getNorthWest().distanceTo(P.getSouthWest()) * P.getNorthEast().distanceTo(P.getNorthWest());
|
2974
2970
|
k < 1700 && (_ = Ri(t));
|
2975
|
-
var ht = t.length,
|
2971
|
+
var ht = t.length, it = [];
|
2976
2972
|
for (i = 0; i < ht; i++) {
|
2977
2973
|
var bt = B(t[i]);
|
2978
|
-
|
2974
|
+
it.push(e.project(B([bt.lat - _.lat, bt.lng - _.lng])));
|
2979
2975
|
}
|
2980
2976
|
for (i = 0, n = 0; i < ht - 1; i++)
|
2981
|
-
n +=
|
2977
|
+
n += it[i].distanceTo(it[i + 1]) / 2;
|
2982
2978
|
if (n === 0)
|
2983
|
-
f =
|
2979
|
+
f = it[0];
|
2984
2980
|
else
|
2985
2981
|
for (i = 0, s = 0; i < ht - 1; i++)
|
2986
|
-
if (h =
|
2982
|
+
if (h = it[i], u = it[i + 1], o = h.distanceTo(u), s += o, s > n) {
|
2987
2983
|
c = (s - n) / o, f = [
|
2988
2984
|
u.x - c * (u.x - h.x),
|
2989
2985
|
u.y - c * (u.y - h.y)
|
@@ -2995,19 +2991,19 @@ function ea() {
|
|
2995
2991
|
}
|
2996
2992
|
var Ws = {
|
2997
2993
|
__proto__: null,
|
2998
|
-
simplify:
|
2999
|
-
pointToSegmentDistance:
|
2994
|
+
simplify: Fn,
|
2995
|
+
pointToSegmentDistance: Vn,
|
3000
2996
|
closestPointOnSegment: Ds,
|
3001
|
-
clipSegment:
|
2997
|
+
clipSegment: Un,
|
3002
2998
|
_getEdgeIntersection: Ke,
|
3003
|
-
_getBitCode:
|
3004
|
-
_sqClosestPointOnSegment:
|
2999
|
+
_getBitCode: ne,
|
3000
|
+
_sqClosestPointOnSegment: ze,
|
3005
3001
|
isFlat: wt,
|
3006
|
-
_flat:
|
3007
|
-
polylineCenter:
|
3002
|
+
_flat: qn,
|
3003
|
+
polylineCenter: jn
|
3008
3004
|
}, Di = {
|
3009
3005
|
project: function(t) {
|
3010
|
-
return new
|
3006
|
+
return new O(t.lng, t.lat);
|
3011
3007
|
},
|
3012
3008
|
unproject: function(t) {
|
3013
3009
|
return new F(t.y, t.x);
|
@@ -3019,7 +3015,7 @@ function ea() {
|
|
3019
3015
|
bounds: new K([-2003750834279e-5, -1549657073972e-5], [2003750834279e-5, 1876465623138e-5]),
|
3020
3016
|
project: function(t) {
|
3021
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);
|
3022
|
-
return n = -i * Math.log(Math.max(u, 1e-10)), new
|
3018
|
+
return n = -i * Math.log(Math.max(u, 1e-10)), new O(t.lng * e * i, n);
|
3023
3019
|
},
|
3024
3020
|
unproject: function(t) {
|
3025
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++)
|
@@ -3036,15 +3032,15 @@ function ea() {
|
|
3036
3032
|
projection: Hi,
|
3037
3033
|
transformation: function() {
|
3038
3034
|
var t = 0.5 / (Math.PI * Hi.R);
|
3039
|
-
return
|
3035
|
+
return Le(t, 0.5, -t, 0.5);
|
3040
3036
|
}()
|
3041
|
-
}),
|
3037
|
+
}), Gn = p({}, jt, {
|
3042
3038
|
code: "EPSG:4326",
|
3043
3039
|
projection: Di,
|
3044
|
-
transformation:
|
3045
|
-
}), js = p({},
|
3040
|
+
transformation: Le(1 / 180, 1, -1 / 180, 0.5)
|
3041
|
+
}), js = p({}, Zt, {
|
3046
3042
|
projection: Di,
|
3047
|
-
transformation:
|
3043
|
+
transformation: Le(1, 0, -1, 0),
|
3048
3044
|
scale: function(t) {
|
3049
3045
|
return Math.pow(2, t);
|
3050
3046
|
},
|
@@ -3057,8 +3053,8 @@ function ea() {
|
|
3057
3053
|
},
|
3058
3054
|
infinite: !0
|
3059
3055
|
});
|
3060
|
-
|
3061
|
-
var Tt =
|
3056
|
+
Zt.Earth = jt, Zt.EPSG3395 = qs, Zt.EPSG3857 = pi, Zt.EPSG900913 = Qo, Zt.EPSG4326 = Gn, Zt.Simple = js;
|
3057
|
+
var Tt = be.extend({
|
3062
3058
|
// Classes extending `L.Layer` will inherit the following options:
|
3063
3059
|
options: {
|
3064
3060
|
// @option pane: String = 'overlayPane'
|
@@ -3175,7 +3171,7 @@ function ea() {
|
|
3175
3171
|
this._layersMaxZoom = e === -1 / 0 ? void 0 : e, this._layersMinZoom = t === 1 / 0 ? void 0 : t, i !== this._getZoomSpan() && this.fire("zoomlevelschange"), this.options.maxZoom === void 0 && this._layersMaxZoom && this.getZoom() > this._layersMaxZoom && this.setZoom(this._layersMaxZoom), this.options.minZoom === void 0 && this._layersMinZoom && this.getZoom() < this._layersMinZoom && this.setZoom(this._layersMinZoom);
|
3176
3172
|
}
|
3177
3173
|
});
|
3178
|
-
var
|
3174
|
+
var ue = Tt.extend({
|
3179
3175
|
initialize: function(t, e) {
|
3180
3176
|
N(this, e), this._layers = {};
|
3181
3177
|
var i, n;
|
@@ -3262,13 +3258,13 @@ function ea() {
|
|
3262
3258
|
return v(t);
|
3263
3259
|
}
|
3264
3260
|
}), Gs = function(t, e) {
|
3265
|
-
return new
|
3266
|
-
},
|
3261
|
+
return new ue(t, e);
|
3262
|
+
}, Rt = ue.extend({
|
3267
3263
|
addLayer: function(t) {
|
3268
|
-
return this.hasLayer(t) ? this : (t.addEventParent(this),
|
3264
|
+
return this.hasLayer(t) ? this : (t.addEventParent(this), ue.prototype.addLayer.call(this, t), this.fire("layeradd", { layer: t }));
|
3269
3265
|
},
|
3270
3266
|
removeLayer: function(t) {
|
3271
|
-
return this.hasLayer(t) ? (t in this._layers && (t = this._layers[t]), t.removeEventParent(this),
|
3267
|
+
return this.hasLayer(t) ? (t in this._layers && (t = this._layers[t]), t.removeEventParent(this), ue.prototype.removeLayer.call(this, t), this.fire("layerremove", { layer: t })) : this;
|
3272
3268
|
},
|
3273
3269
|
// @method setStyle(style: Path options): this
|
3274
3270
|
// Sets the given path options to each layer of the group that has a `setStyle` method.
|
@@ -3296,8 +3292,8 @@ function ea() {
|
|
3296
3292
|
return t;
|
3297
3293
|
}
|
3298
3294
|
}), Ks = function(t, e) {
|
3299
|
-
return new
|
3300
|
-
},
|
3295
|
+
return new Rt(t, e);
|
3296
|
+
}, ce = It.extend({
|
3301
3297
|
/* @section
|
3302
3298
|
* @aka Icon options
|
3303
3299
|
*
|
@@ -3384,9 +3380,9 @@ function ea() {
|
|
3384
3380
|
}
|
3385
3381
|
});
|
3386
3382
|
function Js(t) {
|
3387
|
-
return new
|
3383
|
+
return new ce(t);
|
3388
3384
|
}
|
3389
|
-
var
|
3385
|
+
var Ae = ce.extend({
|
3390
3386
|
options: {
|
3391
3387
|
iconUrl: "marker-icon.png",
|
3392
3388
|
iconRetinaUrl: "marker-icon-2x.png",
|
@@ -3398,7 +3394,7 @@ function ea() {
|
|
3398
3394
|
shadowSize: [41, 41]
|
3399
3395
|
},
|
3400
3396
|
_getIconUrl: function(t) {
|
3401
|
-
return typeof
|
3397
|
+
return typeof Ae.imagePath != "string" && (Ae.imagePath = this._detectIconPath()), (this.options.imagePath || Ae.imagePath) + ce.prototype._getIconUrl.call(this, t);
|
3402
3398
|
},
|
3403
3399
|
_stripUrl: function(t) {
|
3404
3400
|
var e = function(i, n, o) {
|
@@ -3408,13 +3404,13 @@ function ea() {
|
|
3408
3404
|
return t = e(t, /^url\((['"])?(.+)\1\)$/, 2), t && e(t, /^(.*)marker-icon\.png$/, 1);
|
3409
3405
|
},
|
3410
3406
|
_detectIconPath: function() {
|
3411
|
-
var t = D("div", "leaflet-default-icon-path", document.body), e =
|
3407
|
+
var t = D("div", "leaflet-default-icon-path", document.body), e = Te(t, "background-image") || Te(t, "backgroundImage");
|
3412
3408
|
if (document.body.removeChild(t), e = this._stripUrl(e), e)
|
3413
3409
|
return e;
|
3414
3410
|
var i = document.querySelector('link[href$="leaflet.css"]');
|
3415
3411
|
return i ? i.href.substring(0, i.href.length - 11 - 1) : "";
|
3416
3412
|
}
|
3417
|
-
}),
|
3413
|
+
}), Kn = kt.extend({
|
3418
3414
|
initialize: function(t) {
|
3419
3415
|
this._marker = t;
|
3420
3416
|
},
|
@@ -3439,7 +3435,7 @@ function ea() {
|
|
3439
3435
|
return this._draggable && this._draggable._moved;
|
3440
3436
|
},
|
3441
3437
|
_adjustPan: function(t) {
|
3442
|
-
var e = this._marker, i = e._map, n = this._marker.options.autoPanSpeed, o = this._marker.options.autoPanPadding, s =
|
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(
|
3443
3439
|
h.min._subtract(u).add(o),
|
3444
3440
|
h.max._subtract(u).subtract(o)
|
3445
3441
|
);
|
@@ -3448,17 +3444,17 @@ function ea() {
|
|
3448
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),
|
3449
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)
|
3450
3446
|
).multiplyBy(n);
|
3451
|
-
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 =
|
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));
|
3452
3448
|
}
|
3453
3449
|
},
|
3454
3450
|
_onDragStart: function() {
|
3455
3451
|
this._oldLatLng = this._marker.getLatLng(), this._marker.closePopup && this._marker.closePopup(), this._marker.fire("movestart").fire("dragstart");
|
3456
3452
|
},
|
3457
3453
|
_onPreDrag: function(t) {
|
3458
|
-
this._marker.options.autoPan && (vt(this._panRequest), this._panRequest =
|
3454
|
+
this._marker.options.autoPan && (vt(this._panRequest), this._panRequest = nt(this._adjustPan.bind(this, t)));
|
3459
3455
|
},
|
3460
3456
|
_onDrag: function(t) {
|
3461
|
-
var e = this._marker, i = e._shadow, n =
|
3457
|
+
var e = this._marker, i = e._shadow, n = te(e._icon), o = e._map.layerPointToLatLng(n);
|
3462
3458
|
i && $(i, n), e._latlng = o, t.latlng = o, t.oldLatLng = this._oldLatLng, e.fire("move", t).fire("drag", t);
|
3463
3459
|
},
|
3464
3460
|
_onDragEnd: function(t) {
|
@@ -3472,7 +3468,7 @@ function ea() {
|
|
3472
3468
|
// Icon instance to use for rendering the marker.
|
3473
3469
|
// See [Icon documentation](#L.Icon) for details on how to customize the marker icon.
|
3474
3470
|
// If not specified, a common instance of `L.Icon.Default` is used.
|
3475
|
-
icon: new
|
3471
|
+
icon: new Ae(),
|
3476
3472
|
// Option inherited from "Interactive layer" abstract class
|
3477
3473
|
interactive: !0,
|
3478
3474
|
// @option keyboard: Boolean = true
|
@@ -3588,7 +3584,7 @@ function ea() {
|
|
3588
3584
|
i !== this._icon && (this._icon && this._removeIcon(), n = !0, t.title && (i.title = t.title), i.tagName === "IMG" && (i.alt = t.alt || "")), C(i, e), t.keyboard && (i.tabIndex = "0", i.setAttribute("role", "button")), this._icon = i, t.riseOnHover && this.on({
|
3589
3585
|
mouseover: this._bringToFront,
|
3590
3586
|
mouseout: this._resetZIndex
|
3591
|
-
}), this.options.autoPanOnFocus &&
|
3587
|
+
}), this.options.autoPanOnFocus && S(i, "focus", this._panOnFocus, this);
|
3592
3588
|
var o = t.icon.createShadow(this._shadow), s = !1;
|
3593
3589
|
o !== this._shadow && (this._removeShadow(), s = !0), o && (C(o, e), o.alt = ""), this._shadow = o, t.opacity < 1 && this._updateOpacity(), n && this.getPane().appendChild(this._icon), this._initInteraction(), o && s && this.getPane(t.shadowPane).appendChild(this._shadow);
|
3594
3590
|
},
|
@@ -3612,9 +3608,9 @@ function ea() {
|
|
3612
3608
|
this._setPos(e);
|
3613
3609
|
},
|
3614
3610
|
_initInteraction: function() {
|
3615
|
-
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)) {
|
3616
3612
|
var t = this.options.draggable;
|
3617
|
-
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();
|
3618
3614
|
}
|
3619
3615
|
},
|
3620
3616
|
// @method setOpacity(opacity: Number): this
|
@@ -3840,7 +3836,7 @@ function ea() {
|
|
3840
3836
|
function Qs(t, e, i) {
|
3841
3837
|
return new Fi(t, e, i);
|
3842
3838
|
}
|
3843
|
-
var
|
3839
|
+
var Nt = Kt.extend({
|
3844
3840
|
// @section
|
3845
3841
|
// @aka Polyline options
|
3846
3842
|
options: {
|
@@ -3873,7 +3869,7 @@ function ea() {
|
|
3873
3869
|
// @method closestLayerPoint(p: Point): Point
|
3874
3870
|
// Returns the point closest to `p` on the Polyline.
|
3875
3871
|
closestLayerPoint: function(t) {
|
3876
|
-
for (var e = 1 / 0, i = null, n =
|
3872
|
+
for (var e = 1 / 0, i = null, n = ze, o, s, h = 0, u = this._parts.length; h < u; h++)
|
3877
3873
|
for (var c = this._parts[h], f = 1, _ = c.length; f < _; f++) {
|
3878
3874
|
o = c[f - 1], s = c[f];
|
3879
3875
|
var P = n(t, o, s, !0);
|
@@ -3886,7 +3882,7 @@ function ea() {
|
|
3886
3882
|
getCenter: function() {
|
3887
3883
|
if (!this._map)
|
3888
3884
|
throw new Error("Must add layer to map before using getCenter()");
|
3889
|
-
return
|
3885
|
+
return jn(this._defaultShape(), this._map.options.crs);
|
3890
3886
|
},
|
3891
3887
|
// @method getBounds(): LatLngBounds
|
3892
3888
|
// Returns the `LatLngBounds` of the path.
|
@@ -3917,7 +3913,7 @@ function ea() {
|
|
3917
3913
|
this._rings = [], this._projectLatlngs(this._latlngs, this._rings, t), this._bounds.isValid() && t.isValid() && (this._rawPxBounds = t, this._updateBounds());
|
3918
3914
|
},
|
3919
3915
|
_updateBounds: function() {
|
3920
|
-
var t = this._clickTolerance(), e = new
|
3916
|
+
var t = this._clickTolerance(), e = new O(t, t);
|
3921
3917
|
this._rawPxBounds && (this._pxBounds = new K([
|
3922
3918
|
this._rawPxBounds.min.subtract(e),
|
3923
3919
|
this._rawPxBounds.max.add(e)
|
@@ -3945,13 +3941,13 @@ function ea() {
|
|
3945
3941
|
var e = this._parts, i, n, o, s, h, u, c;
|
3946
3942
|
for (i = 0, o = 0, s = this._rings.length; i < s; i++)
|
3947
3943
|
for (c = this._rings[i], n = 0, h = c.length; n < h - 1; n++)
|
3948
|
-
u =
|
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++));
|
3949
3945
|
}
|
3950
3946
|
},
|
3951
3947
|
// simplify each clipped part of the polyline for performance
|
3952
3948
|
_simplifyPoints: function() {
|
3953
3949
|
for (var t = this._parts, e = this.options.smoothFactor, i = 0, n = t.length; i < n; i++)
|
3954
|
-
t[i] =
|
3950
|
+
t[i] = Fn(t[i], e);
|
3955
3951
|
},
|
3956
3952
|
_update: function() {
|
3957
3953
|
this._map && (this._clipPoints(), this._simplifyPoints(), this._updatePath());
|
@@ -3966,16 +3962,16 @@ function ea() {
|
|
3966
3962
|
return !1;
|
3967
3963
|
for (i = 0, s = this._parts.length; i < s; i++)
|
3968
3964
|
for (u = this._parts[i], n = 0, h = u.length, o = h - 1; n < h; o = n++)
|
3969
|
-
if (!(!e && n === 0) &&
|
3965
|
+
if (!(!e && n === 0) && Vn(t, u[o], u[n]) <= c)
|
3970
3966
|
return !0;
|
3971
3967
|
return !1;
|
3972
3968
|
}
|
3973
3969
|
});
|
3974
3970
|
function $s(t, e) {
|
3975
|
-
return new
|
3971
|
+
return new Nt(t, e);
|
3976
3972
|
}
|
3977
|
-
|
3978
|
-
var
|
3973
|
+
Nt._flat = qn;
|
3974
|
+
var de = Nt.extend({
|
3979
3975
|
options: {
|
3980
3976
|
fill: !0
|
3981
3977
|
},
|
@@ -3987,27 +3983,27 @@ function ea() {
|
|
3987
3983
|
getCenter: function() {
|
3988
3984
|
if (!this._map)
|
3989
3985
|
throw new Error("Must add layer to map before using getCenter()");
|
3990
|
-
return
|
3986
|
+
return Hn(this._defaultShape(), this._map.options.crs);
|
3991
3987
|
},
|
3992
3988
|
_convertLatLngs: function(t) {
|
3993
|
-
var e =
|
3989
|
+
var e = Nt.prototype._convertLatLngs.call(this, t), i = e.length;
|
3994
3990
|
return i >= 2 && e[0] instanceof F && e[0].equals(e[i - 1]) && e.pop(), e;
|
3995
3991
|
},
|
3996
3992
|
_setLatLngs: function(t) {
|
3997
|
-
|
3993
|
+
Nt.prototype._setLatLngs.call(this, t), wt(this._latlngs) && (this._latlngs = [this._latlngs]);
|
3998
3994
|
},
|
3999
3995
|
_defaultShape: function() {
|
4000
3996
|
return wt(this._latlngs[0]) ? this._latlngs[0] : this._latlngs[0][0];
|
4001
3997
|
},
|
4002
3998
|
_clipPoints: function() {
|
4003
|
-
var t = this._renderer._bounds, e = this.options.weight, i = new
|
3999
|
+
var t = this._renderer._bounds, e = this.options.weight, i = new O(e, e);
|
4004
4000
|
if (t = new K(t.min.subtract(i), t.max.add(i)), this._parts = [], !(!this._pxBounds || !this._pxBounds.intersects(t))) {
|
4005
4001
|
if (this.options.noClip) {
|
4006
4002
|
this._parts = this._rings;
|
4007
4003
|
return;
|
4008
4004
|
}
|
4009
4005
|
for (var n = 0, o = this._rings.length, s; n < o; n++)
|
4010
|
-
s =
|
4006
|
+
s = Dn(this._rings[n], t, !0), s.length && this._parts.push(s);
|
4011
4007
|
}
|
4012
4008
|
},
|
4013
4009
|
_updatePath: function() {
|
@@ -4021,13 +4017,13 @@ function ea() {
|
|
4021
4017
|
for (s = 0, c = this._parts.length; s < c; s++)
|
4022
4018
|
for (i = this._parts[s], h = 0, f = i.length, u = f - 1; h < f; u = h++)
|
4023
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);
|
4024
|
-
return e ||
|
4020
|
+
return e || Nt.prototype._containsPoint.call(this, t, !0);
|
4025
4021
|
}
|
4026
4022
|
});
|
4027
4023
|
function tr(t, e) {
|
4028
|
-
return new
|
4024
|
+
return new de(t, e);
|
4029
4025
|
}
|
4030
|
-
var
|
4026
|
+
var Dt = Rt.extend({
|
4031
4027
|
/* @section
|
4032
4028
|
* @aka GeoJSON options
|
4033
4029
|
*
|
@@ -4118,17 +4114,17 @@ function ea() {
|
|
4118
4114
|
return null;
|
4119
4115
|
switch (i.type) {
|
4120
4116
|
case "Point":
|
4121
|
-
return u = h(n),
|
4117
|
+
return u = h(n), Jn(s, t, u, e);
|
4122
4118
|
case "MultiPoint":
|
4123
4119
|
for (f = 0, _ = n.length; f < _; f++)
|
4124
|
-
u = h(n[f]), o.push(
|
4125
|
-
return new
|
4120
|
+
u = h(n[f]), o.push(Jn(s, t, u, e));
|
4121
|
+
return new Rt(o);
|
4126
4122
|
case "LineString":
|
4127
4123
|
case "MultiLineString":
|
4128
|
-
return c = Qe(n, i.type === "LineString" ? 0 : 1, h), new
|
4124
|
+
return c = Qe(n, i.type === "LineString" ? 0 : 1, h), new Nt(c, e);
|
4129
4125
|
case "Polygon":
|
4130
4126
|
case "MultiPolygon":
|
4131
|
-
return c = Qe(n, i.type === "Polygon" ? 1 : 2, h), new
|
4127
|
+
return c = Qe(n, i.type === "Polygon" ? 1 : 2, h), new de(c, e);
|
4132
4128
|
case "GeometryCollection":
|
4133
4129
|
for (f = 0, _ = i.geometries.length; f < _; f++) {
|
4134
4130
|
var P = Xe({
|
@@ -4138,18 +4134,18 @@ function ea() {
|
|
4138
4134
|
}, e);
|
4139
4135
|
P && o.push(P);
|
4140
4136
|
}
|
4141
|
-
return new
|
4137
|
+
return new Rt(o);
|
4142
4138
|
case "FeatureCollection":
|
4143
4139
|
for (f = 0, _ = i.features.length; f < _; f++) {
|
4144
4140
|
var k = Xe(i.features[f], e);
|
4145
4141
|
k && o.push(k);
|
4146
4142
|
}
|
4147
|
-
return new
|
4143
|
+
return new Rt(o);
|
4148
4144
|
default:
|
4149
4145
|
throw new Error("Invalid GeoJSON object.");
|
4150
4146
|
}
|
4151
4147
|
}
|
4152
|
-
function
|
4148
|
+
function Jn(t, e, i, n) {
|
4153
4149
|
return t ? t(e, i) : new Je(i, n && n.markersInheritOptions && n);
|
4154
4150
|
}
|
4155
4151
|
function Vi(t) {
|
@@ -4168,7 +4164,7 @@ function ea() {
|
|
4168
4164
|
o.push(e ? $e(t[s], wt(t[s]) ? 0 : e - 1, i, n) : Wi(t[s], n));
|
4169
4165
|
return !e && i && o.length > 0 && o.push(o[0].slice()), o;
|
4170
4166
|
}
|
4171
|
-
function
|
4167
|
+
function fe(t, e) {
|
4172
4168
|
return t.feature ? p({}, t.feature, { geometry: e }) : ti(e);
|
4173
4169
|
}
|
4174
4170
|
function ti(t) {
|
@@ -4180,34 +4176,34 @@ function ea() {
|
|
4180
4176
|
}
|
4181
4177
|
var Ui = {
|
4182
4178
|
toGeoJSON: function(t) {
|
4183
|
-
return
|
4179
|
+
return fe(this, {
|
4184
4180
|
type: "Point",
|
4185
4181
|
coordinates: Wi(this.getLatLng(), t)
|
4186
4182
|
});
|
4187
4183
|
}
|
4188
4184
|
};
|
4189
|
-
Je.include(Ui), Fi.include(Ui), Ye.include(Ui),
|
4185
|
+
Je.include(Ui), Fi.include(Ui), Ye.include(Ui), Nt.include({
|
4190
4186
|
toGeoJSON: function(t) {
|
4191
4187
|
var e = !wt(this._latlngs), i = $e(this._latlngs, e ? 1 : 0, !1, t);
|
4192
|
-
return
|
4188
|
+
return fe(this, {
|
4193
4189
|
type: (e ? "Multi" : "") + "LineString",
|
4194
4190
|
coordinates: i
|
4195
4191
|
});
|
4196
4192
|
}
|
4197
|
-
}),
|
4193
|
+
}), de.include({
|
4198
4194
|
toGeoJSON: function(t) {
|
4199
4195
|
var e = !wt(this._latlngs), i = e && !wt(this._latlngs[0]), n = $e(this._latlngs, i ? 2 : e ? 1 : 0, !0, t);
|
4200
|
-
return e || (n = [n]),
|
4196
|
+
return e || (n = [n]), fe(this, {
|
4201
4197
|
type: (i ? "Multi" : "") + "Polygon",
|
4202
4198
|
coordinates: n
|
4203
4199
|
});
|
4204
4200
|
}
|
4205
|
-
}),
|
4201
|
+
}), ue.include({
|
4206
4202
|
toMultiPoint: function(t) {
|
4207
4203
|
var e = [];
|
4208
4204
|
return this.eachLayer(function(i) {
|
4209
4205
|
e.push(i.toGeoJSON(t).geometry.coordinates);
|
4210
|
-
}),
|
4206
|
+
}), fe(this, {
|
4211
4207
|
type: "MultiPoint",
|
4212
4208
|
coordinates: e
|
4213
4209
|
});
|
@@ -4230,7 +4226,7 @@ function ea() {
|
|
4230
4226
|
h.type === "FeatureCollection" ? n.push.apply(n, h.features) : n.push(h);
|
4231
4227
|
}
|
4232
4228
|
}
|
4233
|
-
}), i ?
|
4229
|
+
}), i ? fe(this, {
|
4234
4230
|
geometries: n,
|
4235
4231
|
type: "GeometryCollection"
|
4236
4232
|
}) : {
|
@@ -4239,10 +4235,10 @@ function ea() {
|
|
4239
4235
|
};
|
4240
4236
|
}
|
4241
4237
|
});
|
4242
|
-
function
|
4243
|
-
return new
|
4238
|
+
function Yn(t, e) {
|
4239
|
+
return new Dt(t, e);
|
4244
4240
|
}
|
4245
|
-
var er =
|
4241
|
+
var er = Yn, ei = Tt.extend({
|
4246
4242
|
// @section
|
4247
4243
|
// @aka ImageOverlay options
|
4248
4244
|
options: {
|
@@ -4290,12 +4286,12 @@ function ea() {
|
|
4290
4286
|
// @method bringToFront(): this
|
4291
4287
|
// Brings the layer to the top of all overlays.
|
4292
4288
|
bringToFront: function() {
|
4293
|
-
return this._map &&
|
4289
|
+
return this._map && he(this._image), this;
|
4294
4290
|
},
|
4295
4291
|
// @method bringToBack(): this
|
4296
4292
|
// Brings the layer to the bottom of all overlays.
|
4297
4293
|
bringToBack: function() {
|
4298
|
-
return this._map &&
|
4294
|
+
return this._map && le(this._image), this;
|
4299
4295
|
},
|
4300
4296
|
// @method setUrl(url: String): this
|
4301
4297
|
// Changes the URL of the image.
|
@@ -4340,7 +4336,7 @@ function ea() {
|
|
4340
4336
|
},
|
4341
4337
|
_animateZoom: function(t) {
|
4342
4338
|
var e = this._map.getZoomScale(t.zoom), i = this._map._latLngBoundsToNewLayerBounds(this._bounds, t.zoom, t.center).min;
|
4343
|
-
|
4339
|
+
$t(this._image, i, e);
|
4344
4340
|
},
|
4345
4341
|
_reset: function() {
|
4346
4342
|
var t = this._image, e = new K(
|
@@ -4367,7 +4363,7 @@ function ea() {
|
|
4367
4363
|
}
|
4368
4364
|
}), ir = function(t, e, i) {
|
4369
4365
|
return new ei(t, e, i);
|
4370
|
-
},
|
4366
|
+
}, Xn = ei.extend({
|
4371
4367
|
// @section
|
4372
4368
|
// @aka VideoOverlay options
|
4373
4369
|
options: {
|
@@ -4408,9 +4404,9 @@ function ea() {
|
|
4408
4404
|
// used by this overlay.
|
4409
4405
|
});
|
4410
4406
|
function nr(t, e, i) {
|
4411
|
-
return new
|
4407
|
+
return new Xn(t, e, i);
|
4412
4408
|
}
|
4413
|
-
var
|
4409
|
+
var Qn = ei.extend({
|
4414
4410
|
_initImage: function() {
|
4415
4411
|
var t = this._image = this._url;
|
4416
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;
|
@@ -4420,7 +4416,7 @@ function ea() {
|
|
4420
4416
|
// used by this overlay.
|
4421
4417
|
});
|
4422
4418
|
function or(t, e, i) {
|
4423
|
-
return new
|
4419
|
+
return new Qn(t, e, i);
|
4424
4420
|
}
|
4425
4421
|
var zt = Tt.extend({
|
4426
4422
|
// @section
|
@@ -4519,19 +4515,19 @@ function ea() {
|
|
4519
4515
|
// @method bringToFront: this
|
4520
4516
|
// Brings this overlay in front of other overlays (in the same map pane).
|
4521
4517
|
bringToFront: function() {
|
4522
|
-
return this._map &&
|
4518
|
+
return this._map && he(this._container), this;
|
4523
4519
|
},
|
4524
4520
|
// @method bringToBack: this
|
4525
4521
|
// Brings this overlay to the back of other overlays (in the same map pane).
|
4526
4522
|
bringToBack: function() {
|
4527
|
-
return this._map &&
|
4523
|
+
return this._map && le(this._container), this;
|
4528
4524
|
},
|
4529
4525
|
// prepare bound overlay to open: update latlng pos / content source (for FeatureGroup)
|
4530
4526
|
_prepareOpen: function(t) {
|
4531
4527
|
var e = this._source;
|
4532
4528
|
if (!e._map)
|
4533
4529
|
return !1;
|
4534
|
-
if (e instanceof
|
4530
|
+
if (e instanceof Rt) {
|
4535
4531
|
e = null;
|
4536
4532
|
var i = this._source._layers;
|
4537
4533
|
for (var n in i)
|
@@ -4657,10 +4653,10 @@ function ea() {
|
|
4657
4653
|
return t = arguments.length ? t : this._source._map, !t.hasLayer(this) && t._popup && t._popup.options.autoClose && t.removeLayer(t._popup), t._popup = this, zt.prototype.openOn.call(this, t);
|
4658
4654
|
},
|
4659
4655
|
onAdd: function(t) {
|
4660
|
-
zt.prototype.onAdd.call(this, t), t.fire("popupopen", { popup: this }), this._source && (this._source.fire("popupopen", { popup: this }, !0), this._source instanceof Kt || this._source.on("preclick",
|
4656
|
+
zt.prototype.onAdd.call(this, t), t.fire("popupopen", { popup: this }), this._source && (this._source.fire("popupopen", { popup: this }, !0), this._source instanceof Kt || this._source.on("preclick", ee));
|
4661
4657
|
},
|
4662
4658
|
onRemove: function(t) {
|
4663
|
-
zt.prototype.onRemove.call(this, t), t.fire("popupclose", { popup: this }), this._source && (this._source.fire("popupclose", { popup: this }, !0), this._source instanceof Kt || this._source.off("preclick",
|
4659
|
+
zt.prototype.onRemove.call(this, t), t.fire("popupclose", { popup: this }), this._source && (this._source.fire("popupclose", { popup: this }, !0), this._source instanceof Kt || this._source.off("preclick", ee));
|
4664
4660
|
},
|
4665
4661
|
getEvents: function() {
|
4666
4662
|
var t = zt.prototype.getEvents.call(this);
|
@@ -4671,10 +4667,10 @@ function ea() {
|
|
4671
4667
|
"div",
|
4672
4668
|
t + " " + (this.options.className || "") + " leaflet-zoom-animated"
|
4673
4669
|
), i = this._wrapper = D("div", t + "-content-wrapper", e);
|
4674
|
-
if (this._contentNode = D("div", t + "-content", i),
|
4670
|
+
if (this._contentNode = D("div", t + "-content", i), Ce(e), Ei(this._contentNode), S(e, "contextmenu", ee), this._tipContainer = D("div", t + "-tip-container", e), this._tip = D("div", t + "-tip", this._tipContainer), this.options.closeButton) {
|
4675
4671
|
var n = this._closeButton = D("a", t + "-close-button", e);
|
4676
|
-
n.setAttribute("role", "button"), n.setAttribute("aria-label", "Close popup"), n.href = "#close", n.innerHTML = '<span aria-hidden="true">×</span>',
|
4677
|
-
|
4672
|
+
n.setAttribute("role", "button"), n.setAttribute("aria-label", "Close popup"), n.href = "#close", n.innerHTML = '<span aria-hidden="true">×</span>', S(n, "click", function(o) {
|
4673
|
+
ot(o), this.close();
|
4678
4674
|
}, this);
|
4679
4675
|
}
|
4680
4676
|
},
|
@@ -4696,8 +4692,8 @@ function ea() {
|
|
4696
4692
|
this._autopanning = !1;
|
4697
4693
|
return;
|
4698
4694
|
}
|
4699
|
-
var t = this._map, e = parseInt(
|
4700
|
-
o._add(
|
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);
|
4696
|
+
o._add(te(this._container));
|
4701
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;
|
4702
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]));
|
4703
4699
|
}
|
@@ -4750,7 +4746,7 @@ function ea() {
|
|
4750
4746
|
// @method openPopup(latlng?: LatLng): this
|
4751
4747
|
// Opens the bound popup at the specified `latlng` or at the default popup anchor if no `latlng` is passed.
|
4752
4748
|
openPopup: function(t) {
|
4753
|
-
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;
|
4754
4750
|
},
|
4755
4751
|
// @method closePopup(): this
|
4756
4752
|
// Closes the popup bound to this layer if it is open.
|
@@ -4779,7 +4775,7 @@ function ea() {
|
|
4779
4775
|
},
|
4780
4776
|
_openPopup: function(t) {
|
4781
4777
|
if (!(!this._popup || !this._map)) {
|
4782
|
-
|
4778
|
+
ie(t);
|
4783
4779
|
var e = t.layer || t.target;
|
4784
4780
|
if (this._popup._source === e && !(e instanceof Kt)) {
|
4785
4781
|
this._map.hasLayer(this._popup) ? this.closePopup() : this.openPopup(t.latlng);
|
@@ -4899,7 +4895,7 @@ function ea() {
|
|
4899
4895
|
// @method openTooltip(latlng?: LatLng): this
|
4900
4896
|
// Opens the bound tooltip at the specified `latlng` or at the default tooltip anchor if no `latlng` is passed.
|
4901
4897
|
openTooltip: function(t) {
|
4902
|
-
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;
|
4903
4899
|
},
|
4904
4900
|
// @method closeTooltip(): this
|
4905
4901
|
// Closes the tooltip bound to this layer if it is open.
|
@@ -4932,9 +4928,9 @@ function ea() {
|
|
4932
4928
|
},
|
4933
4929
|
_addFocusListenersOnLayer: function(t) {
|
4934
4930
|
var e = typeof t.getElement == "function" && t.getElement();
|
4935
|
-
e && (
|
4931
|
+
e && (S(e, "focus", function() {
|
4936
4932
|
this._tooltip._source = t, this.openTooltip();
|
4937
|
-
}, this),
|
4933
|
+
}, this), S(e, "blur", this.closeTooltip, this));
|
4938
4934
|
},
|
4939
4935
|
_setAriaDescribedByOnLayer: function(t) {
|
4940
4936
|
var e = typeof t.getElement == "function" && t.getElement();
|
@@ -4958,7 +4954,7 @@ function ea() {
|
|
4958
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);
|
4959
4955
|
}
|
4960
4956
|
});
|
4961
|
-
var
|
4957
|
+
var $n = ce.extend({
|
4962
4958
|
options: {
|
4963
4959
|
// @section
|
4964
4960
|
// @aka DivIcon options
|
@@ -4988,10 +4984,10 @@ function ea() {
|
|
4988
4984
|
}
|
4989
4985
|
});
|
4990
4986
|
function ar(t) {
|
4991
|
-
return new
|
4987
|
+
return new $n(t);
|
4992
4988
|
}
|
4993
|
-
|
4994
|
-
var
|
4989
|
+
ce.Default = Ae;
|
4990
|
+
var Ee = Tt.extend({
|
4995
4991
|
// @section
|
4996
4992
|
// @aka GridLayer options
|
4997
4993
|
options: {
|
@@ -5067,12 +5063,12 @@ function ea() {
|
|
5067
5063
|
// @method bringToFront: this
|
5068
5064
|
// Brings the tile layer to the top of all tile layers.
|
5069
5065
|
bringToFront: function() {
|
5070
|
-
return this._map && (
|
5066
|
+
return this._map && (he(this._container), this._setAutoZIndex(Math.max)), this;
|
5071
5067
|
},
|
5072
5068
|
// @method bringToBack: this
|
5073
5069
|
// Brings the tile layer to the bottom of all tile layers.
|
5074
5070
|
bringToBack: function() {
|
5075
|
-
return this._map && (
|
5071
|
+
return this._map && (le(this._container), this._setAutoZIndex(Math.min)), this;
|
5076
5072
|
},
|
5077
5073
|
// @method getContainer: HTMLElement
|
5078
5074
|
// Returns the HTML element that contains the tiles for this layer.
|
@@ -5127,7 +5123,7 @@ function ea() {
|
|
5127
5123
|
// Normalizes the [tileSize option](#gridlayer-tilesize) into a point. Used by the `createTile()` method.
|
5128
5124
|
getTileSize: function() {
|
5129
5125
|
var t = this.options.tileSize;
|
5130
|
-
return t instanceof
|
5126
|
+
return t instanceof O ? t : new O(t, t);
|
5131
5127
|
},
|
5132
5128
|
_updateZIndex: function() {
|
5133
5129
|
this._container && this.options.zIndex !== void 0 && this.options.zIndex !== null && (this._container.style.zIndex = this.options.zIndex);
|
@@ -5148,7 +5144,7 @@ function ea() {
|
|
5148
5144
|
yt(o.el, s), s < 1 ? e = !0 : (o.active ? i = !0 : this._onOpaqueTile(o), o.active = !0);
|
5149
5145
|
}
|
5150
5146
|
}
|
5151
|
-
i && !this._noPrune && this._pruneTiles(), e && (vt(this._fadeFrame), this._fadeFrame =
|
5147
|
+
i && !this._noPrune && this._pruneTiles(), e && (vt(this._fadeFrame), this._fadeFrame = nt(this._updateOpacity, this));
|
5152
5148
|
}
|
5153
5149
|
},
|
5154
5150
|
_onOpaqueTile: b,
|
@@ -5199,7 +5195,7 @@ function ea() {
|
|
5199
5195
|
this._removeAllTiles(), this._tileZoom = void 0;
|
5200
5196
|
},
|
5201
5197
|
_retainParent: function(t, e, i, n) {
|
5202
|
-
var o = Math.floor(t / 2), s = Math.floor(e / 2), h = i - 1, u = new
|
5198
|
+
var o = Math.floor(t / 2), s = Math.floor(e / 2), h = i - 1, u = new O(+o, +s);
|
5203
5199
|
u.z = +h;
|
5204
5200
|
var c = this._tileCoordsToKey(u), f = this._tiles[c];
|
5205
5201
|
return f && f.active ? (f.retain = !0, !0) : (f && f.loaded && (f.retain = !0), h > n ? this._retainParent(o, s, h, n) : !1);
|
@@ -5207,7 +5203,7 @@ function ea() {
|
|
5207
5203
|
_retainChildren: function(t, e, i, n) {
|
5208
5204
|
for (var o = 2 * t; o < 2 * t + 2; o++)
|
5209
5205
|
for (var s = 2 * e; s < 2 * e + 2; s++) {
|
5210
|
-
var h = new
|
5206
|
+
var h = new O(o, s);
|
5211
5207
|
h.z = i + 1;
|
5212
5208
|
var u = this._tileCoordsToKey(h), c = this._tiles[u];
|
5213
5209
|
if (c && c.active) {
|
@@ -5240,7 +5236,7 @@ function ea() {
|
|
5240
5236
|
},
|
5241
5237
|
_setZoomTransform: function(t, e, i) {
|
5242
5238
|
var n = this._map.getZoomScale(i, t.zoom), o = t.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(e, i)).round();
|
5243
|
-
y.any3d ?
|
5239
|
+
y.any3d ? $t(t.el, o, n) : $(t.el, o);
|
5244
5240
|
},
|
5245
5241
|
_resetGrid: function() {
|
5246
5242
|
var t = this._map, e = t.options.crs, i = this._tileSize = this.getTileSize(), n = this._tileZoom, o = this._map.getPixelWorldBounds(this._tileZoom);
|
@@ -5273,7 +5269,7 @@ function ea() {
|
|
5273
5269
|
throw new Error("Attempted to load an infinite number of tiles");
|
5274
5270
|
for (var f in this._tiles) {
|
5275
5271
|
var _ = this._tiles[f].coords;
|
5276
|
-
(_.z !== this._tileZoom || !c.contains(new
|
5272
|
+
(_.z !== this._tileZoom || !c.contains(new O(_.x, _.y))) && (this._tiles[f].current = !1);
|
5277
5273
|
}
|
5278
5274
|
if (Math.abs(i - this._tileZoom) > 1) {
|
5279
5275
|
this._setView(t, i);
|
@@ -5281,14 +5277,14 @@ function ea() {
|
|
5281
5277
|
}
|
5282
5278
|
for (var P = o.min.y; P <= o.max.y; P++)
|
5283
5279
|
for (var k = o.min.x; k <= o.max.x; k++) {
|
5284
|
-
var ht = new
|
5280
|
+
var ht = new O(k, P);
|
5285
5281
|
if (ht.z = this._tileZoom, !!this._isValidTile(ht)) {
|
5286
|
-
var
|
5287
|
-
|
5282
|
+
var it = this._tiles[this._tileCoordsToKey(ht)];
|
5283
|
+
it ? it.current = !0 : h.push(ht);
|
5288
5284
|
}
|
5289
5285
|
}
|
5290
|
-
if (h.sort(function(pt,
|
5291
|
-
return pt.distanceTo(s) -
|
5286
|
+
if (h.sort(function(pt, me) {
|
5287
|
+
return pt.distanceTo(s) - me.distanceTo(s);
|
5292
5288
|
}), h.length !== 0) {
|
5293
5289
|
this._loading || (this._loading = !0, this.fire("loading"));
|
5294
5290
|
var bt = document.createDocumentFragment();
|
@@ -5329,7 +5325,7 @@ function ea() {
|
|
5329
5325
|
},
|
5330
5326
|
// converts tile cache key to coordinates
|
5331
5327
|
_keyToTileCoords: function(t) {
|
5332
|
-
var e = t.split(":"), i = new
|
5328
|
+
var e = t.split(":"), i = new O(+e[0], +e[1]);
|
5333
5329
|
return i.z = +e[2], i;
|
5334
5330
|
},
|
5335
5331
|
_removeTile: function(t) {
|
@@ -5346,7 +5342,7 @@ function ea() {
|
|
5346
5342
|
},
|
5347
5343
|
_addTile: function(t, e) {
|
5348
5344
|
var i = this._getTilePos(t), n = this._tileCoordsToKey(t), o = this.createTile(this._wrapCoords(t), g(this._tileReady, this, t));
|
5349
|
-
this._initTile(o), this.createTile.length < 2 &&
|
5345
|
+
this._initTile(o), this.createTile.length < 2 && nt(g(this._tileReady, this, t, null, o)), $(o, i), this._tiles[n] = {
|
5350
5346
|
el: o,
|
5351
5347
|
coords: t,
|
5352
5348
|
current: !0
|
@@ -5362,16 +5358,16 @@ function ea() {
|
|
5362
5358
|
coords: t
|
5363
5359
|
});
|
5364
5360
|
var n = this._tileCoordsToKey(t);
|
5365
|
-
i = this._tiles[n], i && (i.loaded = +/* @__PURE__ */ new Date(), this._map._fadeAnimated ? (yt(i.el, 0), vt(this._fadeFrame), this._fadeFrame =
|
5361
|
+
i = this._tiles[n], i && (i.loaded = +/* @__PURE__ */ new Date(), this._map._fadeAnimated ? (yt(i.el, 0), vt(this._fadeFrame), this._fadeFrame = nt(this._updateOpacity, this)) : (i.active = !0, this._pruneTiles()), e || (C(i.el, "leaflet-tile-loaded"), this.fire("tileload", {
|
5366
5362
|
tile: i.el,
|
5367
5363
|
coords: t
|
5368
|
-
})), this._noTilesToLoad() && (this._loading = !1, this.fire("load"), y.ielt9 || !this._map._fadeAnimated ?
|
5364
|
+
})), this._noTilesToLoad() && (this._loading = !1, this.fire("load"), y.ielt9 || !this._map._fadeAnimated ? nt(this._pruneTiles, this) : setTimeout(g(this._pruneTiles, this), 250)));
|
5369
5365
|
},
|
5370
5366
|
_getTilePos: function(t) {
|
5371
5367
|
return t.scaleBy(this.getTileSize()).subtract(this._level.origin);
|
5372
5368
|
},
|
5373
5369
|
_wrapCoords: function(t) {
|
5374
|
-
var e = new
|
5370
|
+
var e = new O(
|
5375
5371
|
this._wrapX ? x(t.x, this._wrapX) : t.x,
|
5376
5372
|
this._wrapY ? x(t.y, this._wrapY) : t.y
|
5377
5373
|
);
|
@@ -5392,9 +5388,9 @@ function ea() {
|
|
5392
5388
|
}
|
5393
5389
|
});
|
5394
5390
|
function hr(t) {
|
5395
|
-
return new
|
5391
|
+
return new Ee(t);
|
5396
5392
|
}
|
5397
|
-
var
|
5393
|
+
var pe = Ee.extend({
|
5398
5394
|
// @section
|
5399
5395
|
// @aka TileLayer options
|
5400
5396
|
options: {
|
@@ -5451,7 +5447,7 @@ function ea() {
|
|
5451
5447
|
// callback is called when the tile has been loaded.
|
5452
5448
|
createTile: function(t, e) {
|
5453
5449
|
var i = document.createElement("img");
|
5454
|
-
return
|
5450
|
+
return S(i, "load", g(this._tileOnLoad, this, e, i)), S(i, "error", g(this._tileOnError, this, e, i)), (this.options.crossOrigin || this.options.crossOrigin === "") && (i.crossOrigin = this.options.crossOrigin === !0 ? "" : this.options.crossOrigin), typeof this.options.referrerPolicy == "string" && (i.referrerPolicy = this.options.referrerPolicy), i.alt = "", i.src = this.getTileUrl(t), i;
|
5455
5451
|
},
|
5456
5452
|
// @section Extension methods
|
5457
5453
|
// @uninheritable
|
@@ -5496,7 +5492,7 @@ function ea() {
|
|
5496
5492
|
var t, e;
|
5497
5493
|
for (t in this._tiles)
|
5498
5494
|
if (this._tiles[t].coords.z !== this._tileZoom && (e = this._tiles[t].el, e.onload = b, e.onerror = b, !e.complete)) {
|
5499
|
-
e.src =
|
5495
|
+
e.src = rt;
|
5500
5496
|
var i = this._tiles[t].coords;
|
5501
5497
|
J(e), delete this._tiles[t], this.fire("tileabort", {
|
5502
5498
|
tile: e,
|
@@ -5507,17 +5503,17 @@ function ea() {
|
|
5507
5503
|
_removeTile: function(t) {
|
5508
5504
|
var e = this._tiles[t];
|
5509
5505
|
if (e)
|
5510
|
-
return e.el.setAttribute("src",
|
5506
|
+
return e.el.setAttribute("src", rt), Ee.prototype._removeTile.call(this, t);
|
5511
5507
|
},
|
5512
5508
|
_tileReady: function(t, e, i) {
|
5513
|
-
if (!(!this._map || i && i.getAttribute("src") ===
|
5514
|
-
return
|
5509
|
+
if (!(!this._map || i && i.getAttribute("src") === rt))
|
5510
|
+
return Ee.prototype._tileReady.call(this, t, e, i);
|
5515
5511
|
}
|
5516
5512
|
});
|
5517
|
-
function
|
5518
|
-
return new
|
5513
|
+
function to(t, e) {
|
5514
|
+
return new pe(t, e);
|
5519
5515
|
}
|
5520
|
-
var
|
5516
|
+
var eo = pe.extend({
|
5521
5517
|
// @section
|
5522
5518
|
// @aka TileLayer.WMS options
|
5523
5519
|
// If any custom options not documented here are used, they will be sent to the
|
@@ -5563,10 +5559,10 @@ function ea() {
|
|
5563
5559
|
onAdd: function(t) {
|
5564
5560
|
this._crs = this.options.crs || t.options.crs, this._wmsVersion = parseFloat(this.wmsParams.version);
|
5565
5561
|
var e = this._wmsVersion >= 1.3 ? "crs" : "srs";
|
5566
|
-
this.wmsParams[e] = this._crs.code,
|
5562
|
+
this.wmsParams[e] = this._crs.code, pe.prototype.onAdd.call(this, t);
|
5567
5563
|
},
|
5568
5564
|
getTileUrl: function(t) {
|
5569
|
-
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 ===
|
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);
|
5570
5566
|
return u + ct(this.wmsParams, u, this.options.uppercase) + (this.options.uppercase ? "&BBOX=" : "&bbox=") + h;
|
5571
5567
|
},
|
5572
5568
|
// @method setParams(params: Object, noRedraw?: Boolean): this
|
@@ -5576,10 +5572,10 @@ function ea() {
|
|
5576
5572
|
}
|
5577
5573
|
});
|
5578
5574
|
function lr(t, e) {
|
5579
|
-
return new
|
5575
|
+
return new eo(t, e);
|
5580
5576
|
}
|
5581
|
-
|
5582
|
-
var
|
5577
|
+
pe.WMS = eo, to.wms = lr;
|
5578
|
+
var Ht = Tt.extend({
|
5583
5579
|
// @section
|
5584
5580
|
// @aka Renderer options
|
5585
5581
|
options: {
|
@@ -5614,7 +5610,7 @@ function ea() {
|
|
5614
5610
|
},
|
5615
5611
|
_updateTransform: function(t, e) {
|
5616
5612
|
var i = this._map.getZoomScale(e, this._zoom), n = this._map.getSize().multiplyBy(0.5 + this.options.padding), o = this._map.project(this._center, e), s = n.multiplyBy(-i).add(o).subtract(this._map._getNewPixelOrigin(t, e));
|
5617
|
-
y.any3d ?
|
5613
|
+
y.any3d ? $t(this._container, s, i) : $(this._container, s);
|
5618
5614
|
},
|
5619
5615
|
_reset: function() {
|
5620
5616
|
this._update(), this._updateTransform(this._center, this._zoom);
|
@@ -5633,7 +5629,7 @@ function ea() {
|
|
5633
5629
|
var t = this.options.padding, e = this._map.getSize(), i = this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();
|
5634
5630
|
this._bounds = new K(i, i.add(e.multiplyBy(1 + t * 2)).round()), this._center = this._map.getCenter(), this._zoom = this._map.getZoom();
|
5635
5631
|
}
|
5636
|
-
}),
|
5632
|
+
}), io = Ht.extend({
|
5637
5633
|
// @section
|
5638
5634
|
// @aka Canvas options
|
5639
5635
|
options: {
|
@@ -5642,18 +5638,18 @@ function ea() {
|
|
5642
5638
|
tolerance: 0
|
5643
5639
|
},
|
5644
5640
|
getEvents: function() {
|
5645
|
-
var t =
|
5641
|
+
var t = Ht.prototype.getEvents.call(this);
|
5646
5642
|
return t.viewprereset = this._onViewPreReset, t;
|
5647
5643
|
},
|
5648
5644
|
_onViewPreReset: function() {
|
5649
5645
|
this._postponeUpdatePaths = !0;
|
5650
5646
|
},
|
5651
5647
|
onAdd: function() {
|
5652
|
-
|
5648
|
+
Ht.prototype.onAdd.call(this), this._draw();
|
5653
5649
|
},
|
5654
5650
|
_initContainer: function() {
|
5655
5651
|
var t = this._container = document.createElement("canvas");
|
5656
|
-
|
5652
|
+
S(t, "mousemove", this._onMouseMove, this), S(t, "click dblclick mousedown mouseup contextmenu", this._onClick, this), S(t, "mouseout", this._handleMouseOut, this), t._leaflet_disable_events = !0, this._ctx = t.getContext("2d");
|
5657
5653
|
},
|
5658
5654
|
_destroyContainer: function() {
|
5659
5655
|
vt(this._redrawRequest), delete this._ctx, J(this._container), W(this._container), delete this._container;
|
@@ -5669,13 +5665,13 @@ function ea() {
|
|
5669
5665
|
},
|
5670
5666
|
_update: function() {
|
5671
5667
|
if (!(this._map._animatingZoom && this._bounds)) {
|
5672
|
-
|
5668
|
+
Ht.prototype._update.call(this);
|
5673
5669
|
var t = this._bounds, e = this._container, i = t.getSize(), n = y.retina ? 2 : 1;
|
5674
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");
|
5675
5671
|
}
|
5676
5672
|
},
|
5677
5673
|
_reset: function() {
|
5678
|
-
|
5674
|
+
Ht.prototype._reset.call(this), this._postponeUpdatePaths && (this._postponeUpdatePaths = !1, this._updatePaths());
|
5679
5675
|
},
|
5680
5676
|
_initPath: function(t) {
|
5681
5677
|
this._updateDashArray(t), this._layers[v(t)] = t;
|
@@ -5712,7 +5708,7 @@ function ea() {
|
|
5712
5708
|
t.options._dashArray = t.options.dashArray;
|
5713
5709
|
},
|
5714
5710
|
_requestRedraw: function(t) {
|
5715
|
-
this._map && (this._extendRedrawBounds(t), this._redrawRequest = this._redrawRequest ||
|
5711
|
+
this._map && (this._extendRedrawBounds(t), this._redrawRequest = this._redrawRequest || nt(this._redraw, this));
|
5716
5712
|
},
|
5717
5713
|
_extendRedrawBounds: function(t) {
|
5718
5714
|
if (t._pxBounds) {
|
@@ -5817,10 +5813,10 @@ function ea() {
|
|
5817
5813
|
}
|
5818
5814
|
}
|
5819
5815
|
});
|
5820
|
-
function
|
5821
|
-
return y.canvas ? new
|
5816
|
+
function no(t) {
|
5817
|
+
return y.canvas ? new io(t) : null;
|
5822
5818
|
}
|
5823
|
-
var
|
5819
|
+
var Be = function() {
|
5824
5820
|
try {
|
5825
5821
|
return document.namespaces.add("lvml", "urn:schemas-microsoft-com:vml"), function(t) {
|
5826
5822
|
return document.createElement("<lvml:" + t + ' class="lvml">');
|
@@ -5835,11 +5831,11 @@ function ea() {
|
|
5835
5831
|
this._container = D("div", "leaflet-vml-container");
|
5836
5832
|
},
|
5837
5833
|
_update: function() {
|
5838
|
-
this._map._animatingZoom || (
|
5834
|
+
this._map._animatingZoom || (Ht.prototype._update.call(this), this.fire("update"));
|
5839
5835
|
},
|
5840
5836
|
_initPath: function(t) {
|
5841
|
-
var e = t._container =
|
5842
|
-
C(e, "leaflet-vml-shape " + (this.options.className || "")), e.coordsize = "1 1", t._path =
|
5837
|
+
var e = t._container = Be("shape");
|
5838
|
+
C(e, "leaflet-vml-shape " + (this.options.className || "")), e.coordsize = "1 1", t._path = Be("path"), e.appendChild(t._path), this._updateStyle(t), this._layers[v(t)] = t;
|
5843
5839
|
},
|
5844
5840
|
_addPath: function(t) {
|
5845
5841
|
var e = t._container;
|
@@ -5851,7 +5847,7 @@ function ea() {
|
|
5851
5847
|
},
|
5852
5848
|
_updateStyle: function(t) {
|
5853
5849
|
var e = t._stroke, i = t._fill, n = t.options, o = t._container;
|
5854
|
-
o.stroked = !!n.stroke, o.filled = !!n.fill, n.stroke ? (e || (e = t._stroke =
|
5850
|
+
o.stroked = !!n.stroke, o.filled = !!n.fill, n.stroke ? (e || (e = t._stroke = Be("stroke")), o.appendChild(e), e.weight = n.weight + "px", e.color = n.color, e.opacity = n.opacity, n.dashArray ? e.dashStyle = V(n.dashArray) ? n.dashArray.join(" ") : n.dashArray.replace(/( *, *)/g, " ") : e.dashStyle = "", e.endcap = n.lineCap.replace("butt", "flat"), e.joinstyle = n.lineJoin) : e && (o.removeChild(e), t._stroke = null), n.fill ? (i || (i = t._fill = Be("fill")), o.appendChild(i), i.color = n.fillColor || n.color, i.opacity = n.fillOpacity) : i && (o.removeChild(i), t._fill = null);
|
5855
5851
|
},
|
5856
5852
|
_updateCircle: function(t) {
|
5857
5853
|
var e = t._point.round(), i = Math.round(t._radius), n = Math.round(t._radiusY || i);
|
@@ -5861,12 +5857,12 @@ function ea() {
|
|
5861
5857
|
t._path.v = e;
|
5862
5858
|
},
|
5863
5859
|
_bringToFront: function(t) {
|
5864
|
-
|
5860
|
+
he(t._container);
|
5865
5861
|
},
|
5866
5862
|
_bringToBack: function(t) {
|
5867
|
-
|
5863
|
+
le(t._container);
|
5868
5864
|
}
|
5869
|
-
}, oi = y.vml ?
|
5865
|
+
}, oi = y.vml ? Be : an, Ie = Ht.extend({
|
5870
5866
|
_initContainer: function() {
|
5871
5867
|
this._container = oi("svg"), this._container.setAttribute("pointer-events", "none"), this._rootGroup = oi("g"), this._container.appendChild(this._rootGroup);
|
5872
5868
|
},
|
@@ -5875,7 +5871,7 @@ function ea() {
|
|
5875
5871
|
},
|
5876
5872
|
_update: function() {
|
5877
5873
|
if (!(this._map._animatingZoom && this._bounds)) {
|
5878
|
-
|
5874
|
+
Ht.prototype._update.call(this);
|
5879
5875
|
var t = this._bounds, e = t.getSize(), i = this._container;
|
5880
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");
|
5881
5877
|
}
|
@@ -5899,7 +5895,7 @@ function ea() {
|
|
5899
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"));
|
5900
5896
|
},
|
5901
5897
|
_updatePoly: function(t, e) {
|
5902
|
-
this._setPath(t,
|
5898
|
+
this._setPath(t, hn(t._parts, e));
|
5903
5899
|
},
|
5904
5900
|
_updateCircle: function(t) {
|
5905
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 ";
|
@@ -5910,15 +5906,15 @@ function ea() {
|
|
5910
5906
|
},
|
5911
5907
|
// SVG does not have the concept of zIndex so we resort to changing the DOM order of elements
|
5912
5908
|
_bringToFront: function(t) {
|
5913
|
-
|
5909
|
+
he(t._path);
|
5914
5910
|
},
|
5915
5911
|
_bringToBack: function(t) {
|
5916
|
-
|
5912
|
+
le(t._path);
|
5917
5913
|
}
|
5918
5914
|
});
|
5919
|
-
y.vml &&
|
5920
|
-
function
|
5921
|
-
return y.svg || y.vml ? new
|
5915
|
+
y.vml && Ie.include(ur);
|
5916
|
+
function oo(t) {
|
5917
|
+
return y.svg || y.vml ? new Ie(t) : null;
|
5922
5918
|
}
|
5923
5919
|
I.include({
|
5924
5920
|
// @namespace Map; @method getRenderer(layer: Path): Renderer
|
@@ -5936,12 +5932,12 @@ function ea() {
|
|
5936
5932
|
return e === void 0 && (e = this._createRenderer({ pane: t }), this._paneRenderers[t] = e), e;
|
5937
5933
|
},
|
5938
5934
|
_createRenderer: function(t) {
|
5939
|
-
return this.options.preferCanvas &&
|
5935
|
+
return this.options.preferCanvas && no(t) || oo(t);
|
5940
5936
|
}
|
5941
5937
|
});
|
5942
|
-
var
|
5938
|
+
var so = de.extend({
|
5943
5939
|
initialize: function(t, e) {
|
5944
|
-
|
5940
|
+
de.prototype.initialize.call(this, this._boundsToLatLngs(t), e);
|
5945
5941
|
},
|
5946
5942
|
// @method setBounds(latLngBounds: LatLngBounds): this
|
5947
5943
|
// Redraws the rectangle with the passed bounds.
|
@@ -5958,20 +5954,20 @@ function ea() {
|
|
5958
5954
|
}
|
5959
5955
|
});
|
5960
5956
|
function cr(t, e) {
|
5961
|
-
return new
|
5957
|
+
return new so(t, e);
|
5962
5958
|
}
|
5963
|
-
|
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({
|
5964
5960
|
// @option boxZoom: Boolean = true
|
5965
5961
|
// Whether the map can be zoomed to a rectangular area specified by
|
5966
5962
|
// dragging the mouse while pressing the shift key.
|
5967
5963
|
boxZoom: !0
|
5968
5964
|
});
|
5969
|
-
var
|
5965
|
+
var ro = kt.extend({
|
5970
5966
|
initialize: function(t) {
|
5971
5967
|
this._map = t, this._container = t._container, this._pane = t._panes.overlayPane, this._resetStateTimeout = 0, t.on("unload", this._destroy, this);
|
5972
5968
|
},
|
5973
5969
|
addHooks: function() {
|
5974
|
-
|
5970
|
+
S(this._container, "mousedown", this._onMouseDown, this);
|
5975
5971
|
},
|
5976
5972
|
removeHooks: function() {
|
5977
5973
|
W(this._container, "mousedown", this._onMouseDown, this);
|
@@ -5991,8 +5987,8 @@ function ea() {
|
|
5991
5987
|
_onMouseDown: function(t) {
|
5992
5988
|
if (!t.shiftKey || t.which !== 1 && t.button !== 1)
|
5993
5989
|
return !1;
|
5994
|
-
this._clearDeferredResetState(), this._resetState(),
|
5995
|
-
contextmenu:
|
5990
|
+
this._clearDeferredResetState(), this._resetState(), Me(), Ti(), this._startPoint = this._map.mouseEventToContainerPoint(t), S(document, {
|
5991
|
+
contextmenu: ie,
|
5996
5992
|
mousemove: this._onMouseMove,
|
5997
5993
|
mouseup: this._onMouseUp,
|
5998
5994
|
keydown: this._onKeyDown
|
@@ -6005,7 +6001,7 @@ function ea() {
|
|
6005
6001
|
},
|
6006
6002
|
_finish: function() {
|
6007
6003
|
this._moved && (J(this._box), Y(this._container, "leaflet-crosshair")), Oe(), Mi(), W(document, {
|
6008
|
-
contextmenu:
|
6004
|
+
contextmenu: ie,
|
6009
6005
|
mousemove: this._onMouseMove,
|
6010
6006
|
mouseup: this._onMouseUp,
|
6011
6007
|
keydown: this._onKeyDown
|
@@ -6025,7 +6021,7 @@ function ea() {
|
|
6025
6021
|
t.keyCode === 27 && (this._finish(), this._clearDeferredResetState(), this._resetState());
|
6026
6022
|
}
|
6027
6023
|
});
|
6028
|
-
I.addInitHook("addHandler", "boxZoom",
|
6024
|
+
I.addInitHook("addHandler", "boxZoom", ro), I.mergeOptions({
|
6029
6025
|
// @option doubleClickZoom: Boolean|String = true
|
6030
6026
|
// Whether the map can be zoomed in by double clicking on it and
|
6031
6027
|
// zoomed out by double clicking while holding shift. If passed
|
@@ -6033,7 +6029,7 @@ function ea() {
|
|
6033
6029
|
// view regardless of where the mouse was.
|
6034
6030
|
doubleClickZoom: !0
|
6035
6031
|
});
|
6036
|
-
var
|
6032
|
+
var ao = kt.extend({
|
6037
6033
|
addHooks: function() {
|
6038
6034
|
this._map.on("dblclick", this._onDoubleClick, this);
|
6039
6035
|
},
|
@@ -6045,7 +6041,7 @@ function ea() {
|
|
6045
6041
|
e.options.doubleClickZoom === "center" ? e.setZoom(o) : e.setZoomAround(t.containerPoint, o);
|
6046
6042
|
}
|
6047
6043
|
});
|
6048
|
-
I.addInitHook("addHandler", "doubleClickZoom",
|
6044
|
+
I.addInitHook("addHandler", "doubleClickZoom", ao), I.mergeOptions({
|
6049
6045
|
// @option dragging: Boolean = true
|
6050
6046
|
// Whether the map is draggable with mouse/touch or not.
|
6051
6047
|
dragging: !0,
|
@@ -6080,7 +6076,7 @@ function ea() {
|
|
6080
6076
|
// solid, preventing the user from dragging outside the bounds.
|
6081
6077
|
maxBoundsViscosity: 0
|
6082
6078
|
});
|
6083
|
-
var
|
6079
|
+
var ho = kt.extend({
|
6084
6080
|
addHooks: function() {
|
6085
6081
|
if (!this._draggable) {
|
6086
6082
|
var t = this._map;
|
@@ -6148,7 +6144,7 @@ function ea() {
|
|
6148
6144
|
else {
|
6149
6145
|
this._prunePositions(+/* @__PURE__ */ new Date());
|
6150
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();
|
6151
|
-
!k.x && !k.y ? e.fire("moveend") : (k = e._limitOffset(k, e.options.maxBounds),
|
6147
|
+
!k.x && !k.y ? e.fire("moveend") : (k = e._limitOffset(k, e.options.maxBounds), nt(function() {
|
6152
6148
|
e.panBy(k, {
|
6153
6149
|
duration: P,
|
6154
6150
|
easeLinearity: h,
|
@@ -6159,7 +6155,7 @@ function ea() {
|
|
6159
6155
|
}
|
6160
6156
|
}
|
6161
6157
|
});
|
6162
|
-
I.addInitHook("addHandler", "dragging",
|
6158
|
+
I.addInitHook("addHandler", "dragging", ho), I.mergeOptions({
|
6163
6159
|
// @option keyboard: Boolean = true
|
6164
6160
|
// Makes the map focusable and allows users to navigate the map with keyboard
|
6165
6161
|
// arrows and `+`/`-` keys.
|
@@ -6168,7 +6164,7 @@ function ea() {
|
|
6168
6164
|
// Amount of pixels to pan when pressing an arrow key.
|
6169
6165
|
keyboardPanDelta: 80
|
6170
6166
|
});
|
6171
|
-
var
|
6167
|
+
var lo = kt.extend({
|
6172
6168
|
keyCodes: {
|
6173
6169
|
left: [37],
|
6174
6170
|
right: [39],
|
@@ -6182,7 +6178,7 @@ function ea() {
|
|
6182
6178
|
},
|
6183
6179
|
addHooks: function() {
|
6184
6180
|
var t = this._map._container;
|
6185
|
-
t.tabIndex <= 0 && (t.tabIndex = "0"),
|
6181
|
+
t.tabIndex <= 0 && (t.tabIndex = "0"), S(t, {
|
6186
6182
|
focus: this._onFocus,
|
6187
6183
|
blur: this._onBlur,
|
6188
6184
|
mousedown: this._onMouseDown
|
@@ -6232,7 +6228,7 @@ function ea() {
|
|
6232
6228
|
e[i.zoomOut[n]] = -t;
|
6233
6229
|
},
|
6234
6230
|
_addHooks: function() {
|
6235
|
-
|
6231
|
+
S(document, "keydown", this._onKeyDown, this);
|
6236
6232
|
},
|
6237
6233
|
_removeHooks: function() {
|
6238
6234
|
W(document, "keydown", this._onKeyDown, this);
|
@@ -6253,11 +6249,11 @@ function ea() {
|
|
6253
6249
|
i.closePopup();
|
6254
6250
|
else
|
6255
6251
|
return;
|
6256
|
-
|
6252
|
+
ie(t);
|
6257
6253
|
}
|
6258
6254
|
}
|
6259
6255
|
});
|
6260
|
-
I.addInitHook("addHandler", "keyboard",
|
6256
|
+
I.addInitHook("addHandler", "keyboard", lo), I.mergeOptions({
|
6261
6257
|
// @section Mouse wheel options
|
6262
6258
|
// @option scrollWheelZoom: Boolean|String = true
|
6263
6259
|
// Whether the map can be zoomed by using the mouse wheel. If passed `'center'`,
|
@@ -6273,18 +6269,18 @@ function ea() {
|
|
6273
6269
|
// faster (and vice versa).
|
6274
6270
|
wheelPxPerZoomLevel: 60
|
6275
6271
|
});
|
6276
|
-
var
|
6272
|
+
var uo = kt.extend({
|
6277
6273
|
addHooks: function() {
|
6278
|
-
|
6274
|
+
S(this._map._container, "wheel", this._onWheelScroll, this), this._delta = 0;
|
6279
6275
|
},
|
6280
6276
|
removeHooks: function() {
|
6281
6277
|
W(this._map._container, "wheel", this._onWheelScroll, this);
|
6282
6278
|
},
|
6283
6279
|
_onWheelScroll: function(t) {
|
6284
|
-
var e =
|
6280
|
+
var e = Bn(t), i = this._map.options.wheelDebounceTime;
|
6285
6281
|
this._delta += e, this._lastMousePos = this._map.mouseEventToContainerPoint(t), this._startTime || (this._startTime = +/* @__PURE__ */ new Date());
|
6286
6282
|
var n = Math.max(i - (+/* @__PURE__ */ new Date() - this._startTime), 0);
|
6287
|
-
clearTimeout(this._timer), this._timer = setTimeout(g(this._performZoom, this), n),
|
6283
|
+
clearTimeout(this._timer), this._timer = setTimeout(g(this._performZoom, this), n), ie(t);
|
6288
6284
|
},
|
6289
6285
|
_performZoom: function() {
|
6290
6286
|
var t = this._map, e = t.getZoom(), i = this._map.options.zoomSnap || 0;
|
@@ -6293,7 +6289,7 @@ function ea() {
|
|
6293
6289
|
this._delta = 0, this._startTime = null, h && (t.options.scrollWheelZoom === "center" ? t.setZoom(e + h) : t.setZoomAround(this._lastMousePos, e + h));
|
6294
6290
|
}
|
6295
6291
|
});
|
6296
|
-
I.addInitHook("addHandler", "scrollWheelZoom",
|
6292
|
+
I.addInitHook("addHandler", "scrollWheelZoom", uo);
|
6297
6293
|
var dr = 600;
|
6298
6294
|
I.mergeOptions({
|
6299
6295
|
// @section Touch interaction options
|
@@ -6305,9 +6301,9 @@ function ea() {
|
|
6305
6301
|
// for it to be considered a valid tap.
|
6306
6302
|
tapTolerance: 15
|
6307
6303
|
});
|
6308
|
-
var
|
6304
|
+
var co = kt.extend({
|
6309
6305
|
addHooks: function() {
|
6310
|
-
|
6306
|
+
S(this._map._container, "touchstart", this._onDown, this);
|
6311
6307
|
},
|
6312
6308
|
removeHooks: function() {
|
6313
6309
|
W(this._map._container, "touchstart", this._onDown, this);
|
@@ -6315,20 +6311,20 @@ function ea() {
|
|
6315
6311
|
_onDown: function(t) {
|
6316
6312
|
if (clearTimeout(this._holdTimeout), t.touches.length === 1) {
|
6317
6313
|
var e = t.touches[0];
|
6318
|
-
this._startPos = this._newPos = new
|
6319
|
-
this._cancel(), this._isTapValid() && (
|
6320
|
-
}, this), dr),
|
6314
|
+
this._startPos = this._newPos = new O(e.clientX, e.clientY), this._holdTimeout = setTimeout(g(function() {
|
6315
|
+
this._cancel(), this._isTapValid() && (S(document, "touchend", ot), S(document, "touchend touchcancel", this._cancelClickPrevent), this._simulateEvent("contextmenu", e));
|
6316
|
+
}, this), dr), S(document, "touchend touchcancel contextmenu", this._cancel, this), S(document, "touchmove", this._onMove, this);
|
6321
6317
|
}
|
6322
6318
|
},
|
6323
6319
|
_cancelClickPrevent: function t() {
|
6324
|
-
W(document, "touchend",
|
6320
|
+
W(document, "touchend", ot), W(document, "touchend touchcancel", t);
|
6325
6321
|
},
|
6326
6322
|
_cancel: function() {
|
6327
6323
|
clearTimeout(this._holdTimeout), W(document, "touchend touchcancel contextmenu", this._cancel, this), W(document, "touchmove", this._onMove, this);
|
6328
6324
|
},
|
6329
6325
|
_onMove: function(t) {
|
6330
6326
|
var e = t.touches[0];
|
6331
|
-
this._newPos = new
|
6327
|
+
this._newPos = new O(e.clientX, e.clientY);
|
6332
6328
|
},
|
6333
6329
|
_isTapValid: function() {
|
6334
6330
|
return this._newPos.distanceTo(this._startPos) <= this._map.options.tapTolerance;
|
@@ -6349,7 +6345,7 @@ function ea() {
|
|
6349
6345
|
i._simulated = !0, e.target.dispatchEvent(i);
|
6350
6346
|
}
|
6351
6347
|
});
|
6352
|
-
I.addInitHook("addHandler", "tapHold",
|
6348
|
+
I.addInitHook("addHandler", "tapHold", co), I.mergeOptions({
|
6353
6349
|
// @section Touch interaction options
|
6354
6350
|
// @option touchZoom: Boolean|String = *
|
6355
6351
|
// Whether the map can be zoomed by touch-dragging with two fingers. If
|
@@ -6362,9 +6358,9 @@ function ea() {
|
|
6362
6358
|
// and then bounce back when pinch-zooming.
|
6363
6359
|
bounceAtZoomLimits: !0
|
6364
6360
|
});
|
6365
|
-
var
|
6361
|
+
var fo = kt.extend({
|
6366
6362
|
addHooks: function() {
|
6367
|
-
C(this._map._container, "leaflet-touch-zoom"),
|
6363
|
+
C(this._map._container, "leaflet-touch-zoom"), S(this._map._container, "touchstart", this._onTouchStart, this);
|
6368
6364
|
},
|
6369
6365
|
removeHooks: function() {
|
6370
6366
|
Y(this._map._container, "leaflet-touch-zoom"), W(this._map._container, "touchstart", this._onTouchStart, this);
|
@@ -6373,7 +6369,7 @@ function ea() {
|
|
6373
6369
|
var e = this._map;
|
6374
6370
|
if (!(!t.touches || t.touches.length !== 2 || e._animatingZoom || this._zooming)) {
|
6375
6371
|
var i = e.mouseEventToContainerPoint(t.touches[0]), n = e.mouseEventToContainerPoint(t.touches[1]);
|
6376
|
-
this._centerPoint = e.getSize()._divideBy(2), this._startLatLng = e.containerPointToLatLng(this._centerPoint), e.options.touchZoom !== "center" && (this._pinchStartLatLng = e.containerPointToLatLng(i.add(n)._divideBy(2))), this._startDist = i.distanceTo(n), this._startZoom = e.getZoom(), this._moved = !1, this._zooming = !0, e._stop(),
|
6372
|
+
this._centerPoint = e.getSize()._divideBy(2), this._startLatLng = e.containerPointToLatLng(this._centerPoint), e.options.touchZoom !== "center" && (this._pinchStartLatLng = e.containerPointToLatLng(i.add(n)._divideBy(2))), this._startDist = i.distanceTo(n), this._startZoom = e.getZoom(), this._moved = !1, this._zooming = !0, e._stop(), S(document, "touchmove", this._onTouchMove, this), S(document, "touchend touchcancel", this._onTouchEnd, this), ot(t);
|
6377
6373
|
}
|
6378
6374
|
},
|
6379
6375
|
_onTouchMove: function(t) {
|
@@ -6390,7 +6386,7 @@ function ea() {
|
|
6390
6386
|
}
|
6391
6387
|
this._moved || (e._moveStart(!0, !1), this._moved = !0), vt(this._animRequest);
|
6392
6388
|
var h = g(e._move, e, this._center, this._zoom, { pinch: !0, round: !1 }, void 0);
|
6393
|
-
this._animRequest =
|
6389
|
+
this._animRequest = nt(h, this, !0), ot(t);
|
6394
6390
|
}
|
6395
6391
|
},
|
6396
6392
|
_onTouchEnd: function() {
|
@@ -6401,28 +6397,28 @@ function ea() {
|
|
6401
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));
|
6402
6398
|
}
|
6403
6399
|
});
|
6404
|
-
I.addInitHook("addHandler", "touchZoom",
|
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;
|
6405
6401
|
var fr = window.L;
|
6406
6402
|
a.noConflict = function() {
|
6407
6403
|
return window.L = fr, this;
|
6408
6404
|
}, window.L = a;
|
6409
6405
|
});
|
6410
|
-
}(
|
6406
|
+
}(Ze, Ze.exports)), Ze.exports;
|
6411
6407
|
}
|
6412
|
-
var ci =
|
6413
|
-
const Mt = /* @__PURE__ */ Pr(ci),
|
6408
|
+
var ci = $r();
|
6409
|
+
const Mt = /* @__PURE__ */ Pr(ci), ta = /* @__PURE__ */ Yr({
|
6414
6410
|
__proto__: null,
|
6415
6411
|
default: Mt
|
6416
|
-
}, [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==",
|
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({
|
6417
6413
|
__proto__: null,
|
6418
6414
|
default: Mo
|
6419
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
6420
|
-
__proto__: null,
|
6421
|
-
default: So
|
6422
|
-
}, Symbol.toStringTag, { value: "Module" })), Oo = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAQAAAACach9AAACMUlEQVR4Ae3ShY7jQBAE0Aoz/f9/HTMzhg1zrdKUrJbdx+Kd2nD8VNudfsL/Th///dyQN2TH6f3y/BGpC379rV+S+qqetBOxImNQXL8JCAr2V4iMQXHGNJxeCfZXhSRBcQMfvkOWUdtfzlLgAENmZDcmo2TVmt8OSM2eXxBp3DjHSMFutqS7SbmemzBiR+xpKCNUIRkdkkYxhAkyGoBvyQFEJEefwSmmvBfJuJ6aKqKWnAkvGZOaZXTUgFqYULWNSHUckZuR1HIIimUExutRxwzOLROIG4vKmCKQt364mIlhSyzAf1m9lHZHJZrlAOMMztRRiKimp/rpdJDc9Awry5xTZCte7FHtuS8wJgeYGrex28xNTd086Dik7vUMscQOa8y4DoGtCCSkAKlNwpgNtphjrC6MIHUkR6YWxxs6Sc5xqn222mmCRFzIt8lEdKx+ikCtg91qS2WpwVfBelJCiQJwvzixfI9cxZQWgiSJelKnwBElKYtDOb2MFbhmUigbReQBV0Cg4+qMXSxXSyGUn4UbF8l+7qdSGnTC0XLCmahIgUHLhLOhpVCtw4CzYXvLQWQbJNmxoCsOKAxSgBJno75avolkRw8iIAFcsdc02e9iyCd8tHwmeSSoKTowIgvscSGZUOA7PuCN5b2BX9mQM7S0wYhMNU74zgsPBj3HU7wguAfnxxjFQGBE6pwN+GjME9zHY7zGp8wVxMShYX9NXvEWD3HbwJf4giO4CFIQxXScH1/TM+04kkBiAAAAAElFTkSuQmCC", sa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
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({
|
6423
6416
|
__proto__: null,
|
6424
6417
|
default: Oo
|
6425
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
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({
|
6419
|
+
__proto__: null,
|
6420
|
+
default: So
|
6421
|
+
}, Symbol.toStringTag, { value: "Module" })), wo = (r, l) => {
|
6426
6422
|
for (const a of Object.keys(l))
|
6427
6423
|
r.on(a, l[a]);
|
6428
6424
|
}, Co = (r) => {
|
@@ -6430,15 +6426,15 @@ const Mt = /* @__PURE__ */ Pr(ci), ia = /* @__PURE__ */ Yr({
|
|
6430
6426
|
const a = r[l];
|
6431
6427
|
a && Jt(a.cancel) && a.cancel();
|
6432
6428
|
}
|
6433
|
-
},
|
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) => {
|
6434
6430
|
for (const d in a) {
|
6435
|
-
const p = "set" +
|
6436
|
-
r[p] ?
|
6431
|
+
const p = "set" + oa(d);
|
6432
|
+
r[p] ? go(
|
6437
6433
|
() => a[d],
|
6438
6434
|
(m, g) => {
|
6439
6435
|
r[p](m, g);
|
6440
6436
|
}
|
6441
|
-
) : l[p] &&
|
6437
|
+
) : l[p] && go(
|
6442
6438
|
() => a[d],
|
6443
6439
|
(m) => {
|
6444
6440
|
l[p](m);
|
@@ -6452,7 +6448,7 @@ const Mt = /* @__PURE__ */ Pr(ci), ia = /* @__PURE__ */ Yr({
|
|
6452
6448
|
m && (m && m.custom === !0 || g !== void 0 && (d[p] = g));
|
6453
6449
|
}
|
6454
6450
|
return d;
|
6455
|
-
},
|
6451
|
+
}, re = (r) => {
|
6456
6452
|
const l = {}, a = {};
|
6457
6453
|
for (const d in r)
|
6458
6454
|
if (d.startsWith("on") && !d.startsWith("onUpdate") && d !== "onReady") {
|
@@ -6461,11 +6457,11 @@ const Mt = /* @__PURE__ */ Pr(ci), ia = /* @__PURE__ */ Yr({
|
|
6461
6457
|
} else
|
6462
6458
|
a[d] = r[d];
|
6463
6459
|
return { listeners: l, attrs: a };
|
6464
|
-
},
|
6460
|
+
}, sa = async (r) => {
|
6465
6461
|
const l = await Promise.all([
|
6466
|
-
Promise.resolve().then(() =>
|
6467
|
-
Promise.resolve().then(() =>
|
6468
|
-
Promise.resolve().then(() =>
|
6462
|
+
Promise.resolve().then(() => ea),
|
6463
|
+
Promise.resolve().then(() => ia),
|
6464
|
+
Promise.resolve().then(() => na)
|
6469
6465
|
]);
|
6470
6466
|
delete r.Default.prototype._getIconUrl, r.Default.mergeOptions({
|
6471
6467
|
iconRetinaUrl: l[0].default,
|
@@ -6473,11 +6469,11 @@ const Mt = /* @__PURE__ */ Pr(ci), ia = /* @__PURE__ */ Yr({
|
|
6473
6469
|
shadowUrl: l[2].default
|
6474
6470
|
});
|
6475
6471
|
}, hi = (r) => {
|
6476
|
-
const l =
|
6472
|
+
const l = st(
|
6477
6473
|
(...d) => console.warn(`Method ${r} has been invoked without being replaced`)
|
6478
6474
|
), a = (...d) => l.value(...d);
|
6479
|
-
return a.wrapped = l,
|
6480
|
-
}, li = (r, l) => r.wrapped.value = l,
|
6475
|
+
return a.wrapped = l, Ft(r, a), a;
|
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) => {
|
6481
6477
|
const l = Vt(r);
|
6482
6478
|
if (l === void 0)
|
6483
6479
|
throw new Error(
|
@@ -6486,20 +6482,20 @@ const Mt = /* @__PURE__ */ Pr(ci), ia = /* @__PURE__ */ Yr({
|
|
6486
6482
|
return l;
|
6487
6483
|
}, Ut = Symbol(
|
6488
6484
|
"useGlobalLeaflet"
|
6489
|
-
),
|
6485
|
+
), Re = Symbol("addLayer"), ko = Symbol("removeLayer"), en = Symbol(
|
6490
6486
|
"registerControl"
|
6491
|
-
),
|
6487
|
+
), ra = Symbol(
|
6492
6488
|
"registerLayerControl"
|
6493
6489
|
), zo = Symbol(
|
6494
6490
|
"canSetParentHtml"
|
6495
|
-
), Ao = Symbol("setParentHtml"), Eo = Symbol("setIcon"), Bo = Symbol("bindPopup"), Io = Symbol("bindTooltip"), Zo = Symbol("unbindPopup"), Ro = Symbol("unbindTooltip"),
|
6491
|
+
), Ao = Symbol("setParentHtml"), Eo = Symbol("setIcon"), Bo = Symbol("bindPopup"), Io = Symbol("bindTooltip"), Zo = Symbol("unbindPopup"), Ro = Symbol("unbindTooltip"), Ne = {
|
6496
6492
|
options: {
|
6497
6493
|
type: Object,
|
6498
6494
|
default: () => ({}),
|
6499
6495
|
custom: !0
|
6500
6496
|
}
|
6501
|
-
},
|
6502
|
-
...
|
6497
|
+
}, De = (r) => ({ options: r.options, methods: {} }), ye = {
|
6498
|
+
...Ne,
|
6503
6499
|
pane: {
|
6504
6500
|
type: String
|
6505
6501
|
},
|
@@ -6520,9 +6516,9 @@ const Mt = /* @__PURE__ */ Pr(ci), ia = /* @__PURE__ */ Yr({
|
|
6520
6516
|
default: !0
|
6521
6517
|
}
|
6522
6518
|
}, No = (r, l, a) => {
|
6523
|
-
const d = mt(
|
6519
|
+
const d = mt(Re), p = mt(ko), { options: m, methods: g } = De(r), T = Qt(
|
6524
6520
|
r,
|
6525
|
-
|
6521
|
+
ye,
|
6526
6522
|
m
|
6527
6523
|
), v = () => d({ leafletObject: l.value }), E = () => p({ leafletObject: l.value }), x = {
|
6528
6524
|
...g,
|
@@ -6566,14 +6562,14 @@ const Mt = /* @__PURE__ */ Pr(ci), ia = /* @__PURE__ */ Yr({
|
|
6566
6562
|
a.emit("update:visible", b);
|
6567
6563
|
}
|
6568
6564
|
};
|
6569
|
-
return
|
6565
|
+
return Ft(Bo, x.bindPopup), Ft(Io, x.bindTooltip), Ft(Zo, x.unbindPopup), Ft(Ro, x.unbindTooltip), $i(() => {
|
6570
6566
|
x.unbindPopup(), x.unbindTooltip(), E();
|
6571
6567
|
}), { options: T, methods: x };
|
6572
|
-
},
|
6568
|
+
}, aa = (r, l) => {
|
6573
6569
|
if (r && l.default)
|
6574
|
-
return
|
6575
|
-
},
|
6576
|
-
...
|
6570
|
+
return se("div", { style: { display: "none" } }, l.default());
|
6571
|
+
}, ha = {
|
6572
|
+
...ye,
|
6577
6573
|
interactive: {
|
6578
6574
|
type: Boolean,
|
6579
6575
|
default: void 0
|
@@ -6583,7 +6579,7 @@ const Mt = /* @__PURE__ */ Pr(ci), ia = /* @__PURE__ */ Yr({
|
|
6583
6579
|
default: void 0
|
6584
6580
|
}
|
6585
6581
|
}, Do = {
|
6586
|
-
...
|
6582
|
+
...ha,
|
6587
6583
|
stroke: {
|
6588
6584
|
type: Boolean,
|
6589
6585
|
default: void 0
|
@@ -6625,7 +6621,7 @@ const Mt = /* @__PURE__ */ Pr(ci), ia = /* @__PURE__ */ Yr({
|
|
6625
6621
|
className: {
|
6626
6622
|
type: String
|
6627
6623
|
}
|
6628
|
-
},
|
6624
|
+
}, la = {
|
6629
6625
|
...Do,
|
6630
6626
|
/**
|
6631
6627
|
* Radius of the marker in pixels.
|
@@ -6640,17 +6636,17 @@ const Mt = /* @__PURE__ */ Pr(ci), ia = /* @__PURE__ */ Yr({
|
|
6640
6636
|
}
|
6641
6637
|
};
|
6642
6638
|
({
|
6643
|
-
...
|
6639
|
+
...la
|
6644
6640
|
});
|
6645
|
-
const
|
6646
|
-
...
|
6641
|
+
const we = {
|
6642
|
+
...Ne,
|
6647
6643
|
position: {
|
6648
6644
|
type: String
|
6649
6645
|
}
|
6650
6646
|
}, Ho = (r, l) => {
|
6651
|
-
const { options: a, methods: d } =
|
6647
|
+
const { options: a, methods: d } = De(r), p = Qt(
|
6652
6648
|
r,
|
6653
|
-
|
6649
|
+
we,
|
6654
6650
|
a
|
6655
6651
|
), m = {
|
6656
6652
|
...d,
|
@@ -6661,10 +6657,10 @@ const be = {
|
|
6661
6657
|
return $i(() => {
|
6662
6658
|
l.value && l.value.remove();
|
6663
6659
|
}), { options: p, methods: m };
|
6664
|
-
},
|
6660
|
+
}, ua = (r) => r.default ? se("div", { ref: "root" }, r.default()) : null, ca = Pt({
|
6665
6661
|
name: "LControl",
|
6666
6662
|
props: {
|
6667
|
-
...
|
6663
|
+
...we,
|
6668
6664
|
disableClickPropagation: {
|
6669
6665
|
type: Boolean,
|
6670
6666
|
custom: !0,
|
@@ -6677,9 +6673,9 @@ const be = {
|
|
6677
6673
|
}
|
6678
6674
|
},
|
6679
6675
|
setup(r, l) {
|
6680
|
-
const a =
|
6681
|
-
return
|
6682
|
-
const { Control: v, DomEvent: E } = p ?
|
6676
|
+
const a = st(), d = st(), p = Vt(Ut), m = mt(en), { options: g, methods: T } = Ho(r, a);
|
6677
|
+
return Bt(async () => {
|
6678
|
+
const { Control: v, DomEvent: E } = p ? Ot.L : await import("./revolugo.leaflet-src.esm.DBQWLG1M.min.js"), x = v.extend({
|
6683
6679
|
onAdd() {
|
6684
6680
|
return d.value;
|
6685
6681
|
}
|
@@ -6688,20 +6684,20 @@ const be = {
|
|
6688
6684
|
}), { root: d, leafletObject: a };
|
6689
6685
|
},
|
6690
6686
|
render() {
|
6691
|
-
return
|
6687
|
+
return ua(this.$slots);
|
6692
6688
|
}
|
6693
6689
|
});
|
6694
6690
|
({
|
6695
|
-
...
|
6691
|
+
...we
|
6696
6692
|
});
|
6697
6693
|
({
|
6698
|
-
...
|
6694
|
+
...we
|
6699
6695
|
});
|
6700
6696
|
({
|
6701
|
-
...
|
6697
|
+
...we
|
6702
6698
|
});
|
6703
6699
|
const Fo = {
|
6704
|
-
...
|
6700
|
+
...we,
|
6705
6701
|
zoomInText: {
|
6706
6702
|
type: String
|
6707
6703
|
},
|
@@ -6714,7 +6710,7 @@ const Fo = {
|
|
6714
6710
|
zoomOutTitle: {
|
6715
6711
|
type: String
|
6716
6712
|
}
|
6717
|
-
},
|
6713
|
+
}, da = (r, l) => {
|
6718
6714
|
const { options: a, methods: d } = Ho(
|
6719
6715
|
r,
|
6720
6716
|
l
|
@@ -6724,13 +6720,13 @@ const Fo = {
|
|
6724
6720
|
Fo,
|
6725
6721
|
a
|
6726
6722
|
), methods: d };
|
6727
|
-
},
|
6723
|
+
}, fa = Pt({
|
6728
6724
|
name: "LControlZoom",
|
6729
6725
|
props: Fo,
|
6730
6726
|
setup(r, l) {
|
6731
|
-
const a =
|
6732
|
-
return
|
6733
|
-
const { control: T } = d ?
|
6727
|
+
const a = st(), d = Vt(Ut), p = mt(en), { options: m, methods: g } = da(r, a);
|
6728
|
+
return Bt(async () => {
|
6729
|
+
const { control: T } = d ? Ot.L : await import("./revolugo.leaflet-src.esm.DBQWLG1M.min.js");
|
6734
6730
|
a.value = Xt(T.zoom(m)), Wt(g, a.value, r), p({ leafletObject: a.value }), Et(() => l.emit("ready", a.value));
|
6735
6731
|
}), { leafletObject: a };
|
6736
6732
|
},
|
@@ -6738,7 +6734,7 @@ const Fo = {
|
|
6738
6734
|
return null;
|
6739
6735
|
}
|
6740
6736
|
}), Vo = {
|
6741
|
-
...
|
6737
|
+
...ye
|
6742
6738
|
};
|
6743
6739
|
({
|
6744
6740
|
...Vo
|
@@ -6746,8 +6742,8 @@ const Fo = {
|
|
6746
6742
|
({
|
6747
6743
|
...Vo
|
6748
6744
|
});
|
6749
|
-
const
|
6750
|
-
...
|
6745
|
+
const nn = {
|
6746
|
+
...ye,
|
6751
6747
|
opacity: {
|
6752
6748
|
type: Number
|
6753
6749
|
},
|
@@ -6777,7 +6773,7 @@ const on = {
|
|
6777
6773
|
a
|
6778
6774
|
), m = Qt(
|
6779
6775
|
r,
|
6780
|
-
|
6776
|
+
nn,
|
6781
6777
|
d
|
6782
6778
|
), g = {
|
6783
6779
|
...p,
|
@@ -6789,14 +6785,14 @@ const on = {
|
|
6789
6785
|
return $i(() => {
|
6790
6786
|
l.value.off();
|
6791
6787
|
}), { options: m, methods: g };
|
6792
|
-
},
|
6788
|
+
}, pa = (r, l, a, d) => r.extend({
|
6793
6789
|
initialize(p) {
|
6794
6790
|
this.tileComponents = {}, this.on("tileunload", this._unloadTile), a.setOptions(this, p);
|
6795
6791
|
},
|
6796
6792
|
createTile(p) {
|
6797
6793
|
const m = this._tileCoordsToKey(p);
|
6798
6794
|
this.tileComponents[m] = l.create("div");
|
6799
|
-
const g =
|
6795
|
+
const g = se({ setup: d, props: ["coords"] }, { coords: p });
|
6800
6796
|
return Tr(g, this.tileComponents[m]), this.tileComponents[m];
|
6801
6797
|
},
|
6802
6798
|
_unloadTile(p) {
|
@@ -6806,23 +6802,23 @@ const on = {
|
|
6806
6802
|
});
|
6807
6803
|
Pt({
|
6808
6804
|
props: {
|
6809
|
-
...
|
6805
|
+
...nn,
|
6810
6806
|
childRender: {
|
6811
6807
|
type: Function,
|
6812
6808
|
required: !0
|
6813
6809
|
}
|
6814
6810
|
},
|
6815
6811
|
setup(r, l) {
|
6816
|
-
const a =
|
6817
|
-
return
|
6818
|
-
const { GridLayer: E, DomUtil: x, Util: b } = m ?
|
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(
|
6819
6815
|
E,
|
6820
6816
|
x,
|
6821
6817
|
b,
|
6822
6818
|
r.childRender
|
6823
6819
|
);
|
6824
6820
|
a.value = Xt(new H(T));
|
6825
|
-
const { listeners: R } =
|
6821
|
+
const { listeners: R } = re(l.attrs);
|
6826
6822
|
a.value.on(R), Wt(v, a.value, r), g({
|
6827
6823
|
...r,
|
6828
6824
|
...v,
|
@@ -6831,10 +6827,10 @@ Pt({
|
|
6831
6827
|
}), { root: d, ready: p, leafletObject: a };
|
6832
6828
|
},
|
6833
6829
|
render() {
|
6834
|
-
return this.ready ?
|
6830
|
+
return this.ready ? se("div", { style: { display: "none" }, ref: "root" }) : null;
|
6835
6831
|
}
|
6836
6832
|
});
|
6837
|
-
const
|
6833
|
+
const bo = {
|
6838
6834
|
iconUrl: {
|
6839
6835
|
type: String
|
6840
6836
|
},
|
@@ -6871,14 +6867,14 @@ const Lo = {
|
|
6871
6867
|
className: {
|
6872
6868
|
type: String
|
6873
6869
|
}
|
6874
|
-
},
|
6870
|
+
}, ma = Pt({
|
6875
6871
|
name: "LIcon",
|
6876
6872
|
props: {
|
6877
|
-
...
|
6878
|
-
...
|
6873
|
+
...bo,
|
6874
|
+
...Ne
|
6879
6875
|
},
|
6880
6876
|
setup(r, l) {
|
6881
|
-
const a =
|
6877
|
+
const a = st(), d = Vt(Ut), p = mt(zo), m = mt(Ao), g = mt(Eo);
|
6882
6878
|
let T, v, E, x, b;
|
6883
6879
|
const H = (ct, q, X) => {
|
6884
6880
|
const V = ct && ct.innerHTML;
|
@@ -6886,14 +6882,14 @@ const Lo = {
|
|
6886
6882
|
X && b && p() && m(V);
|
6887
6883
|
return;
|
6888
6884
|
}
|
6889
|
-
const { listeners: w } =
|
6885
|
+
const { listeners: w } = re(l.attrs);
|
6890
6886
|
b && v(b, w);
|
6891
|
-
const { options:
|
6887
|
+
const { options: rt } = De(r), at = Qt(
|
6892
6888
|
r,
|
6893
|
-
|
6894
|
-
|
6889
|
+
bo,
|
6890
|
+
rt
|
6895
6891
|
);
|
6896
|
-
V && (
|
6892
|
+
V && (at.html = V), b = at.html ? E(at) : x(at), T(b, w), g(b);
|
6897
6893
|
}, R = () => {
|
6898
6894
|
Et(() => H(a.value, !0, !1));
|
6899
6895
|
}, G = () => {
|
@@ -6912,12 +6908,12 @@ const Lo = {
|
|
6912
6908
|
setClassName: R,
|
6913
6909
|
setHtml: R
|
6914
6910
|
};
|
6915
|
-
return
|
6911
|
+
return Bt(async () => {
|
6916
6912
|
const {
|
6917
6913
|
DomEvent: ct,
|
6918
6914
|
divIcon: q,
|
6919
6915
|
icon: X
|
6920
|
-
} = d ?
|
6916
|
+
} = d ? Ot.L : await import("./revolugo.leaflet-src.esm.DBQWLG1M.min.js");
|
6921
6917
|
T = ct.on, v = ct.off, E = q, x = X, Wt(N, {}, r), new MutationObserver(G).observe(a.value, {
|
6922
6918
|
attributes: !0,
|
6923
6919
|
childList: !0,
|
@@ -6928,11 +6924,11 @@ const Lo = {
|
|
6928
6924
|
},
|
6929
6925
|
render() {
|
6930
6926
|
const r = this.$slots.default ? this.$slots.default() : void 0;
|
6931
|
-
return
|
6927
|
+
return se("div", { ref: "root" }, r);
|
6932
6928
|
}
|
6933
6929
|
});
|
6934
6930
|
({
|
6935
|
-
...
|
6931
|
+
...ye
|
6936
6932
|
});
|
6937
6933
|
function Uo(r, l, a) {
|
6938
6934
|
var d, p, m;
|
@@ -6970,8 +6966,8 @@ function Uo(r, l, a) {
|
|
6970
6966
|
}), x = [];
|
6971
6967
|
}, H;
|
6972
6968
|
}
|
6973
|
-
const
|
6974
|
-
...
|
6969
|
+
const Lo = {
|
6970
|
+
...Ne,
|
6975
6971
|
/**
|
6976
6972
|
* The center of the map, supports .sync modifier
|
6977
6973
|
*/
|
@@ -7082,23 +7078,23 @@ const Po = {
|
|
7082
7078
|
default: !0,
|
7083
7079
|
custom: !0
|
7084
7080
|
}
|
7085
|
-
},
|
7081
|
+
}, _a = Pt({
|
7086
7082
|
inheritAttrs: !1,
|
7087
7083
|
emits: ["ready", "update:zoom", "update:center", "update:bounds"],
|
7088
|
-
props:
|
7084
|
+
props: Lo,
|
7089
7085
|
setup(r, l) {
|
7090
|
-
const a =
|
7086
|
+
const a = st(), d = xr({
|
7091
7087
|
ready: !1,
|
7092
7088
|
layersToAdd: [],
|
7093
7089
|
layersInControl: []
|
7094
|
-
}), { options: p } =
|
7090
|
+
}), { options: p } = De(r), m = Qt(
|
7095
7091
|
r,
|
7096
|
-
|
7092
|
+
Lo,
|
7097
7093
|
p
|
7098
|
-
), { listeners: g, attrs: T } =
|
7099
|
-
|
7094
|
+
), { listeners: g, attrs: T } = re(l.attrs), v = hi(Re), E = hi(ko), x = hi(en), b = hi(
|
7095
|
+
ra
|
7100
7096
|
);
|
7101
|
-
|
7097
|
+
Ft(Ut, r.useGlobalLeaflet);
|
7102
7098
|
const H = ri(() => {
|
7103
7099
|
const q = {};
|
7104
7100
|
return r.noBlockingAnimations && (q.animate = !1), q;
|
@@ -7118,9 +7114,9 @@ const Po = {
|
|
7118
7114
|
X && X.updateVisibleProp(!1);
|
7119
7115
|
}
|
7120
7116
|
};
|
7121
|
-
|
7122
|
-
r.useGlobalLeaflet && (
|
7123
|
-
const { map: q, CRS: X, Icon: V, latLngBounds: w, latLng:
|
7117
|
+
Bt(async () => {
|
7118
|
+
r.useGlobalLeaflet && (Ot.L = Ot.L || await Promise.resolve().then(() => ta));
|
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");
|
7124
7120
|
try {
|
7125
7121
|
m.beforeMapMount && await m.beforeMapMount();
|
7126
7122
|
} catch (z) {
|
@@ -7128,20 +7124,20 @@ const Po = {
|
|
7128
7124
|
`The following error occurred running the provided beforeMapMount hook ${z.message}`
|
7129
7125
|
);
|
7130
7126
|
}
|
7131
|
-
await
|
7132
|
-
const
|
7133
|
-
m.crs =
|
7127
|
+
await sa(V);
|
7128
|
+
const He = typeof m.crs == "string" ? X[m.crs] : m.crs;
|
7129
|
+
m.crs = He || X.EPSG3857;
|
7134
7130
|
const qt = {
|
7135
7131
|
addLayer(z) {
|
7136
7132
|
z.layerType !== void 0 && (d.layerControl === void 0 ? d.layersToAdd.push(z) : d.layersInControl.find(
|
7137
|
-
(j) =>
|
7133
|
+
(j) => at(j.leafletObject) === at(z.leafletObject)
|
7138
7134
|
) || (d.layerControl.addLayer(z), d.layersInControl.push(z))), z.visible !== !1 && d.leafletRef.addLayer(z.leafletObject);
|
7139
7135
|
},
|
7140
7136
|
removeLayer(z) {
|
7141
7137
|
z.layerType !== void 0 && (d.layerControl === void 0 ? d.layersToAdd = d.layersToAdd.filter(
|
7142
7138
|
(j) => j.name !== z.name
|
7143
7139
|
) : (d.layerControl.removeLayer(z.leafletObject), d.layersInControl = d.layersInControl.filter(
|
7144
|
-
(j) =>
|
7140
|
+
(j) => at(j.leafletObject) !== at(z.leafletObject)
|
7145
7141
|
))), d.leafletRef.removeLayer(z.leafletObject);
|
7146
7142
|
},
|
7147
7143
|
registerLayerControl(z) {
|
@@ -7175,11 +7171,11 @@ const Po = {
|
|
7175
7171
|
setCenter(z) {
|
7176
7172
|
if (z == null)
|
7177
7173
|
return;
|
7178
|
-
const j =
|
7179
|
-
(
|
7174
|
+
const j = rt(z), nt = d.lastSetCenter || d.leafletRef.getCenter();
|
7175
|
+
(nt.lat !== j.lat || nt.lng !== j.lng) && (d.lastSetCenter = j, d.leafletRef.panTo(j, H.value));
|
7180
7176
|
}
|
7181
7177
|
};
|
7182
|
-
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),
|
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));
|
7183
7179
|
}), ui(() => {
|
7184
7180
|
Co(G), d.leafletRef && (d.leafletRef.off(), d.leafletRef.remove());
|
7185
7181
|
});
|
@@ -7187,7 +7183,7 @@ const Po = {
|
|
7187
7183
|
return { root: a, ready: ct, leafletObject: N, attrs: T };
|
7188
7184
|
},
|
7189
7185
|
render({ attrs: r }) {
|
7190
|
-
return r.style || (r.style = {}), r.style.width || (r.style.width = "100%"), r.style.height || (r.style.height = "100%"),
|
7186
|
+
return r.style || (r.style = {}), r.style.width || (r.style.width = "100%"), r.style.height || (r.style.height = "100%"), se(
|
7191
7187
|
"div",
|
7192
7188
|
{
|
7193
7189
|
...r,
|
@@ -7196,8 +7192,8 @@ const Po = {
|
|
7196
7192
|
this.ready && this.$slots.default ? this.$slots.default() : {}
|
7197
7193
|
);
|
7198
7194
|
}
|
7199
|
-
}),
|
7200
|
-
...
|
7195
|
+
}), ga = ["Symbol(Comment)", "Symbol(Text)"], va = ["LTooltip", "LPopup"], qo = {
|
7196
|
+
...ye,
|
7201
7197
|
draggable: {
|
7202
7198
|
type: Boolean,
|
7203
7199
|
default: void 0
|
@@ -7213,7 +7209,7 @@ const Po = {
|
|
7213
7209
|
custom: !0,
|
7214
7210
|
required: !0
|
7215
7211
|
}
|
7216
|
-
},
|
7212
|
+
}, ya = (r, l, a) => {
|
7217
7213
|
const { options: d, methods: p } = No(
|
7218
7214
|
r,
|
7219
7215
|
l,
|
@@ -7238,42 +7234,42 @@ const Po = {
|
|
7238
7234
|
}
|
7239
7235
|
};
|
7240
7236
|
return { options: m, methods: g };
|
7241
|
-
},
|
7237
|
+
}, wa = (r, l) => {
|
7242
7238
|
const a = l.slots.default && l.slots.default();
|
7243
|
-
return a && a.length && a.some(
|
7239
|
+
return a && a.length && a.some(ba);
|
7244
7240
|
};
|
7245
|
-
function
|
7246
|
-
return !(
|
7241
|
+
function ba(r) {
|
7242
|
+
return !(ga.includes(r.type.toString()) || va.includes(r.type.name));
|
7247
7243
|
}
|
7248
|
-
const
|
7244
|
+
const La = Pt({
|
7249
7245
|
name: "LMarker",
|
7250
7246
|
props: qo,
|
7251
7247
|
setup(r, l) {
|
7252
|
-
const a =
|
7253
|
-
|
7248
|
+
const a = st(), d = st(!1), p = Vt(Ut), m = mt(Re);
|
7249
|
+
Ft(
|
7254
7250
|
zo,
|
7255
7251
|
() => {
|
7256
7252
|
var E;
|
7257
7253
|
return !!((E = a.value) != null && E.getElement());
|
7258
7254
|
}
|
7259
|
-
),
|
7255
|
+
), Ft(Ao, (E) => {
|
7260
7256
|
var x, b;
|
7261
7257
|
const H = Jt((x = a.value) == null ? void 0 : x.getElement) && ((b = a.value) == null ? void 0 : b.getElement());
|
7262
7258
|
H && (H.innerHTML = E);
|
7263
|
-
}),
|
7259
|
+
}), Ft(
|
7264
7260
|
Eo,
|
7265
7261
|
(E) => {
|
7266
7262
|
var x;
|
7267
7263
|
return ((x = a.value) == null ? void 0 : x.setIcon) && a.value.setIcon(E);
|
7268
7264
|
}
|
7269
7265
|
);
|
7270
|
-
const { options: g, methods: T } =
|
7266
|
+
const { options: g, methods: T } = ya(r, a, l), v = {
|
7271
7267
|
moveHandler: Uo(T.latLngSync)
|
7272
7268
|
};
|
7273
|
-
return
|
7274
|
-
const { marker: E, divIcon: x } = p ?
|
7275
|
-
|
7276
|
-
const { listeners: b } =
|
7269
|
+
return Bt(async () => {
|
7270
|
+
const { marker: E, divIcon: x } = p ? Ot.L : await import("./revolugo.leaflet-src.esm.DBQWLG1M.min.js");
|
7271
|
+
wa(g, l) && (g.icon = x({ className: "" })), a.value = Xt(E(r.latLng, g));
|
7272
|
+
const { listeners: b } = re(l.attrs);
|
7277
7273
|
a.value.on(b), a.value.on("move", v.moveHandler), Wt(T, a.value, r), m({
|
7278
7274
|
...r,
|
7279
7275
|
...T,
|
@@ -7282,9 +7278,9 @@ const xa = Pt({
|
|
7282
7278
|
}), ui(() => Co(v)), { ready: d, leafletObject: a };
|
7283
7279
|
},
|
7284
7280
|
render() {
|
7285
|
-
return
|
7281
|
+
return aa(this.ready, this.$slots);
|
7286
7282
|
}
|
7287
|
-
}),
|
7283
|
+
}), Pa = {
|
7288
7284
|
...Do,
|
7289
7285
|
smoothFactor: {
|
7290
7286
|
type: Number
|
@@ -7298,40 +7294,40 @@ const xa = Pt({
|
|
7298
7294
|
required: !0,
|
7299
7295
|
custom: !0
|
7300
7296
|
}
|
7301
|
-
},
|
7302
|
-
...
|
7297
|
+
}, Po = {
|
7298
|
+
...Pa
|
7303
7299
|
}, jo = {
|
7304
|
-
...
|
7300
|
+
...Ne,
|
7305
7301
|
content: {
|
7306
7302
|
type: String,
|
7307
7303
|
default: null
|
7308
7304
|
}
|
7309
7305
|
}, Go = (r, l) => {
|
7310
|
-
const { options: a, methods: d } =
|
7306
|
+
const { options: a, methods: d } = De(r), p = {
|
7311
7307
|
...d,
|
7312
7308
|
setContent(m) {
|
7313
7309
|
l.value && m !== null && m !== void 0 && l.value.setContent(m);
|
7314
7310
|
}
|
7315
7311
|
};
|
7316
7312
|
return { options: a, methods: p };
|
7317
|
-
}, Ko = (r) => r.default ?
|
7313
|
+
}, Ko = (r) => r.default ? se("div", { ref: "root" }, r.default()) : null, xa = {
|
7318
7314
|
...jo,
|
7319
7315
|
latLng: {
|
7320
7316
|
type: [Object, Array],
|
7321
7317
|
default: () => []
|
7322
7318
|
}
|
7323
|
-
},
|
7319
|
+
}, Ta = (r, l) => {
|
7324
7320
|
const { options: a, methods: d } = Go(r, l);
|
7325
7321
|
return { options: a, methods: d };
|
7326
|
-
},
|
7322
|
+
}, Ma = Pt({
|
7327
7323
|
name: "LPopup",
|
7328
|
-
props:
|
7324
|
+
props: xa,
|
7329
7325
|
setup(r, l) {
|
7330
|
-
const a =
|
7331
|
-
return
|
7332
|
-
const { popup: E } = p ?
|
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 () => {
|
7328
|
+
const { popup: E } = p ? Ot.L : await import("./revolugo.leaflet-src.esm.DBQWLG1M.min.js");
|
7333
7329
|
a.value = Xt(E(T)), r.latLng !== void 0 && a.value.setLatLng(r.latLng), Wt(v, a.value, r);
|
7334
|
-
const { listeners: x } =
|
7330
|
+
const { listeners: x } = re(l.attrs);
|
7335
7331
|
a.value.on(x), a.value.setContent(r.content || d.value || ""), m(a.value), Et(() => l.emit("ready", a.value));
|
7336
7332
|
}), ui(() => {
|
7337
7333
|
g();
|
@@ -7342,13 +7338,13 @@ const xa = Pt({
|
|
7342
7338
|
}
|
7343
7339
|
});
|
7344
7340
|
({
|
7345
|
-
...
|
7341
|
+
...Po,
|
7346
7342
|
latLngs: {
|
7347
|
-
...
|
7343
|
+
...Po.latLngs
|
7348
7344
|
}
|
7349
7345
|
});
|
7350
|
-
const
|
7351
|
-
...
|
7346
|
+
const on = {
|
7347
|
+
...nn,
|
7352
7348
|
tms: {
|
7353
7349
|
type: Boolean,
|
7354
7350
|
default: void 0
|
@@ -7366,23 +7362,23 @@ const sn = {
|
|
7366
7362
|
required: !0,
|
7367
7363
|
custom: !0
|
7368
7364
|
}
|
7369
|
-
},
|
7365
|
+
}, Oa = (r, l, a) => {
|
7370
7366
|
const { options: d, methods: p } = Wo(r, l, a), m = Qt(
|
7371
7367
|
r,
|
7372
|
-
|
7368
|
+
on,
|
7373
7369
|
d
|
7374
7370
|
), g = {
|
7375
7371
|
...p
|
7376
7372
|
};
|
7377
7373
|
return { options: m, methods: g };
|
7378
|
-
},
|
7379
|
-
props:
|
7374
|
+
}, Sa = Pt({
|
7375
|
+
props: on,
|
7380
7376
|
setup(r, l) {
|
7381
|
-
const a =
|
7382
|
-
return
|
7383
|
-
const { tileLayer: T } = d ?
|
7377
|
+
const a = st(), d = Vt(Ut), p = mt(Re), { options: m, methods: g } = Oa(r, a, l);
|
7378
|
+
return Bt(async () => {
|
7379
|
+
const { tileLayer: T } = d ? Ot.L : await import("./revolugo.leaflet-src.esm.DBQWLG1M.min.js");
|
7384
7380
|
a.value = Xt(T(r.url, m));
|
7385
|
-
const { listeners: v } =
|
7381
|
+
const { listeners: v } = re(l.attrs);
|
7386
7382
|
a.value.on(v), Wt(g, a.value, r), p({
|
7387
7383
|
...r,
|
7388
7384
|
...g,
|
@@ -7393,22 +7389,22 @@ const sn = {
|
|
7393
7389
|
render() {
|
7394
7390
|
return null;
|
7395
7391
|
}
|
7396
|
-
}),
|
7392
|
+
}), Ca = {
|
7397
7393
|
...jo
|
7398
|
-
},
|
7394
|
+
}, ka = (r, l) => {
|
7399
7395
|
const { options: a, methods: d } = Go(r, l), p = mt(Ro);
|
7400
7396
|
return ui(() => {
|
7401
7397
|
p();
|
7402
7398
|
}), { options: a, methods: d };
|
7403
|
-
},
|
7399
|
+
}, za = Pt({
|
7404
7400
|
name: "LTooltip",
|
7405
|
-
props:
|
7401
|
+
props: Ca,
|
7406
7402
|
setup(r, l) {
|
7407
|
-
const a =
|
7408
|
-
return
|
7409
|
-
const { tooltip: v } = p ?
|
7403
|
+
const a = st(), d = st(null), p = Vt(Ut), m = mt(Io), { options: g, methods: T } = ka(r, a);
|
7404
|
+
return Bt(async () => {
|
7405
|
+
const { tooltip: v } = p ? Ot.L : await import("./revolugo.leaflet-src.esm.DBQWLG1M.min.js");
|
7410
7406
|
a.value = Xt(v(g)), Wt(T, a.value, r);
|
7411
|
-
const { listeners: E } =
|
7407
|
+
const { listeners: E } = re(l.attrs);
|
7412
7408
|
a.value.on(E), a.value.setContent(r.content || d.value || ""), m(a.value), Et(() => l.emit("ready", a.value));
|
7413
7409
|
}), { root: d, leafletObject: a };
|
7414
7410
|
},
|
@@ -7417,7 +7413,7 @@ const sn = {
|
|
7417
7413
|
}
|
7418
7414
|
});
|
7419
7415
|
({
|
7420
|
-
...
|
7416
|
+
...on
|
7421
7417
|
});
|
7422
7418
|
Mt.Map.mergeOptions({
|
7423
7419
|
// @option smoothWheelZoom: number = 1
|
@@ -7469,213 +7465,163 @@ Mt.Map.SmoothWheelZoom = Mt.Handler.extend({
|
|
7469
7465
|
}
|
7470
7466
|
});
|
7471
7467
|
Mt.Map.addInitHook("addHandler", "smoothWheelZoom", Mt.Map.SmoothWheelZoom);
|
7472
|
-
const
|
7473
|
-
discountPercentage: {
|
7474
|
-
default: 0,
|
7475
|
-
type: Number
|
7476
|
-
},
|
7477
|
-
focus: {
|
7478
|
-
type: Boolean
|
7479
|
-
},
|
7480
|
-
initBounceIn: {
|
7481
|
-
default: !0,
|
7482
|
-
type: Boolean
|
7483
|
-
},
|
7484
|
-
isMostPopular: {
|
7485
|
-
type: Boolean
|
7486
|
-
},
|
7487
|
-
isPartner: {
|
7488
|
-
type: Boolean
|
7489
|
-
},
|
7490
|
-
price: {
|
7491
|
-
required: !0,
|
7492
|
-
type: Number
|
7493
|
-
},
|
7494
|
-
tag: {
|
7495
|
-
type: Object
|
7496
|
-
}
|
7497
|
-
}, Ia = Pt({
|
7498
|
-
components: { BFormattedAmount: Wr },
|
7499
|
-
data() {
|
7500
|
-
return {
|
7501
|
-
bounceIn: !0
|
7502
|
-
};
|
7503
|
-
},
|
7504
|
-
mounted() {
|
7505
|
-
setTimeout(() => {
|
7506
|
-
this.bounceIn = !1;
|
7507
|
-
}, 1800);
|
7508
|
-
},
|
7509
|
-
name: "BHotelOfferMarker",
|
7510
|
-
props: Ba,
|
7511
|
-
setup() {
|
7512
|
-
const { t: r } = tn();
|
7513
|
-
return {
|
7514
|
-
t: r
|
7515
|
-
};
|
7516
|
-
}
|
7517
|
-
}), Za = {
|
7468
|
+
const Aa = {
|
7518
7469
|
key: 0,
|
7519
7470
|
class: "hotel-marker-badge most-popular"
|
7520
|
-
},
|
7471
|
+
}, Ea = {
|
7521
7472
|
key: 2,
|
7522
7473
|
class: "hotel-marker-badge partner"
|
7523
|
-
}
|
7524
|
-
|
7525
|
-
|
7526
|
-
|
7527
|
-
|
7528
|
-
|
7529
|
-
|
7530
|
-
|
7531
|
-
|
7532
|
-
|
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",
|
7559
|
+
style: ve({
|
7560
|
+
width: l.size + "px",
|
7561
|
+
height: l.size * Math.sqrt(2) + "px"
|
7533
7562
|
})
|
7534
7563
|
}, [
|
7535
|
-
|
7536
|
-
|
7537
|
-
|
7538
|
-
|
7539
|
-
|
7540
|
-
|
7541
|
-
Lt(" fas fa-star ")
|
7542
|
-
])),
|
7543
|
-
_: 1,
|
7544
|
-
__: [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)`
|
7545
7570
|
})
|
7546
|
-
])) : r.tag && r.tag.icon ? (Z(), ut("div", {
|
7547
|
-
key: 1,
|
7548
|
-
class: Qi(["marker-badge marker-badge--tag", { primary: !r.tag.bg }])
|
7549
7571
|
}, [
|
7550
|
-
|
7551
|
-
|
7552
|
-
|
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)
|
7553
7583
|
}, {
|
7554
7584
|
default: A(() => [
|
7555
|
-
Lt(
|
7585
|
+
Lt(" fas fa-" + At(l.icon), 1)
|
7556
7586
|
]),
|
7557
7587
|
_: 1
|
7558
|
-
})
|
7559
|
-
],
|
7560
|
-
|
7561
|
-
|
7562
|
-
|
7563
|
-
|
7564
|
-
default: A(() => l[1] || (l[1] = [
|
7565
|
-
Lt(" fas fa-heart ")
|
7566
|
-
])),
|
7567
|
-
_: 1,
|
7568
|
-
__: [1]
|
7569
|
-
})
|
7570
|
-
])) : gt("", !0),
|
7571
|
-
U(g, {
|
7572
|
-
amount: r.price,
|
7573
|
-
"round-mode": "round"
|
7574
|
-
}, null, 8, ["amount"]),
|
7575
|
-
l[2] || (l[2] = se("div", { class: "arrow" }, null, -1))
|
7576
|
-
], 6)
|
7577
|
-
]);
|
7578
|
-
}
|
7579
|
-
const Da = /* @__PURE__ */ en(Ia, [["render", Na], ["__scopeId", "data-v-3b53a218"]]), Ha = {
|
7580
|
-
icon: {
|
7581
|
-
type: String
|
7582
|
-
},
|
7583
|
-
iconColor: {
|
7584
|
-
default: "white",
|
7585
|
-
type: String
|
7586
|
-
},
|
7587
|
-
imgUrl: {
|
7588
|
-
type: String
|
7589
|
-
},
|
7590
|
-
pulse: {
|
7591
|
-
default: !0,
|
7592
|
-
type: Boolean
|
7593
|
-
},
|
7594
|
-
size: {
|
7595
|
-
default: 40,
|
7596
|
-
type: Number
|
7597
|
-
}
|
7598
|
-
}, Fa = Pt({
|
7599
|
-
name: "BMapMarker",
|
7600
|
-
props: Ha,
|
7601
|
-
setup() {
|
7602
|
-
const { t: r } = tn();
|
7603
|
-
return {
|
7604
|
-
// TODO: remove uknown workaround once locale/lang is unified
|
7605
|
-
t: r
|
7606
|
-
};
|
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));
|
7607
7594
|
}
|
7608
|
-
});
|
7609
|
-
function Va(r, l, a, d, p, m) {
|
7610
|
-
return Z(), ut("div", {
|
7611
|
-
class: "b-map-marker position-relative",
|
7612
|
-
style: ye({
|
7613
|
-
width: r.size + "px",
|
7614
|
-
height: r.size * Math.sqrt(2) + "px"
|
7615
|
-
})
|
7616
|
-
}, [
|
7617
|
-
se("div", {
|
7618
|
-
class: "b-map-marker__pin",
|
7619
|
-
style: ye({
|
7620
|
-
width: r.size + "px",
|
7621
|
-
height: r.size + "px",
|
7622
|
-
bottom: `calc(${r.size * ((1 - Math.sqrt(2)) / 2)}px + 5px)`
|
7623
|
-
})
|
7624
|
-
}, [
|
7625
|
-
r.imgUrl ? (Z(), ut("div", {
|
7626
|
-
key: 0,
|
7627
|
-
style: ye({
|
7628
|
-
height: `${r.size * (1 / Math.sqrt(2) - 0.1)}px`,
|
7629
|
-
width: `${r.size * (1 / Math.sqrt(2) - 0.1)}px`,
|
7630
|
-
backgroundImage: `url(${r.imgUrl})`
|
7631
|
-
})
|
7632
|
-
}, null, 4)) : r.icon ? (Z(), et(Yt, {
|
7633
|
-
key: 1,
|
7634
|
-
color: r.iconColor,
|
7635
|
-
size: 0.7 * r.size * (1 / Math.sqrt(2) - 0.02)
|
7636
|
-
}, {
|
7637
|
-
default: A(() => [
|
7638
|
-
Lt(" fas fa-" + At(r.icon), 1)
|
7639
|
-
]),
|
7640
|
-
_: 1
|
7641
|
-
}, 8, ["color", "size"])) : gt("", !0)
|
7642
|
-
], 4),
|
7643
|
-
se("div", {
|
7644
|
-
class: Qi(r.pulse ? "b-map-marker__pulse" : null)
|
7645
|
-
}, null, 2)
|
7646
|
-
], 4);
|
7647
|
-
}
|
7648
|
-
const Wa = /* @__PURE__ */ en(Fa, [["render", Va], ["__scopeId", "data-v-d2b921f8"]]);
|
7595
|
+
}), Ra = /* @__PURE__ */ tn(Za, [["__scopeId", "data-v-088631f7"]]);
|
7649
7596
|
delete ci.Icon.Default.prototype._getIconUrl;
|
7650
7597
|
ci.Icon.Default.mergeOptions({
|
7651
7598
|
iconRetinaUrl: Mo,
|
7652
|
-
iconUrl:
|
7653
|
-
shadowUrl:
|
7599
|
+
iconUrl: Oo,
|
7600
|
+
shadowUrl: So
|
7654
7601
|
});
|
7655
7602
|
const Jo = Pt({
|
7656
7603
|
components: {
|
7657
|
-
BBreakpointObserver:
|
7658
|
-
BErrorOverlay:
|
7659
|
-
BHotelOfferMarker:
|
7604
|
+
BBreakpointObserver: Wr,
|
7605
|
+
BErrorOverlay: Vr,
|
7606
|
+
BHotelOfferMarker: Ia,
|
7660
7607
|
BHotelOffersFilterBar: Hr,
|
7661
|
-
BMapMarker:
|
7608
|
+
BMapMarker: Ra,
|
7662
7609
|
BSearchLocationInput: Dr,
|
7663
7610
|
HotelOfferItem: Nr,
|
7664
|
-
LControl:
|
7665
|
-
LControlZoom:
|
7666
|
-
LIcon:
|
7667
|
-
LMap:
|
7668
|
-
LMarker:
|
7669
|
-
LPopup:
|
7670
|
-
LTileLayer:
|
7671
|
-
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
|
7672
7619
|
},
|
7673
7620
|
computed: {
|
7674
7621
|
actualVenue() {
|
7675
|
-
var l, a;
|
7676
7622
|
const r = {
|
7677
|
-
latitude:
|
7678
|
-
longitude:
|
7623
|
+
latitude: this.parsedVenue?.latitude || this.hotelOfferRequest.latitude,
|
7624
|
+
longitude: this.parsedVenue?.longitude || this.hotelOfferRequest.longitude
|
7679
7625
|
};
|
7680
7626
|
return {
|
7681
7627
|
...this.parsedVenue,
|
@@ -7685,16 +7631,16 @@ const Jo = Pt({
|
|
7685
7631
|
} : {}
|
7686
7632
|
};
|
7687
7633
|
},
|
7688
|
-
...
|
7689
|
-
|
7634
|
+
...Or(
|
7635
|
+
kr,
|
7690
7636
|
jr,
|
7691
|
-
|
7637
|
+
Fr
|
7692
7638
|
),
|
7693
7639
|
center() {
|
7694
7640
|
return this.hotelOfferRequest.longitude && this.hotelOfferRequest.latitude ? [this.hotelOfferRequest.latitude, this.hotelOfferRequest.longitude] : void 0;
|
7695
7641
|
},
|
7696
|
-
filters:
|
7697
|
-
hasErrorHotelOffers:
|
7642
|
+
filters: ge("hotelOffers/filters"),
|
7643
|
+
hasErrorHotelOffers: ge("hotelOffers/hasError"),
|
7698
7644
|
hereTileUrl() {
|
7699
7645
|
const r = "lite.day", l = this.showTransit ? "features=public_transit:all_systems&ppi=400" : "";
|
7700
7646
|
return `https://maps.hereapi.com/v3/base/mc/{z}/{x}/{y}/png8?style=${r}&${l}&apiKey={apiKey}`;
|
@@ -7705,13 +7651,13 @@ const Jo = Pt({
|
|
7705
7651
|
hotelOfferRequestMarker() {
|
7706
7652
|
return this.hotelOfferRequest.latitude && this.hotelOfferRequest.longitude ? [this.hotelOfferRequest.latitude, this.hotelOfferRequest.longitude] : void 0;
|
7707
7653
|
},
|
7708
|
-
hotelOffers:
|
7709
|
-
hotelOffersCurrency:
|
7654
|
+
hotelOffers: ge("hotelOffers/hotelOffers"),
|
7655
|
+
hotelOffersCurrency: ge("hotelOffers/hotelOffersCurrency"),
|
7710
7656
|
isMapVisible() {
|
7711
7657
|
return this.isBookingApiClientDefined && !this.showSkeleton && !this.showErrorMessage;
|
7712
7658
|
},
|
7713
|
-
isPollingHotelOffers:
|
7714
|
-
nightCount:
|
7659
|
+
isPollingHotelOffers: ge("hotelOffers/isPolling"),
|
7660
|
+
nightCount: ge("hotelOfferRequest/nightCount"),
|
7715
7661
|
showErrorMessage() {
|
7716
7662
|
return this.hotelOfferRequest.hasError || this.hasErrorHotelOffers;
|
7717
7663
|
},
|
@@ -7735,7 +7681,7 @@ const Jo = Pt({
|
|
7735
7681
|
return {
|
7736
7682
|
currentCenter: this.center,
|
7737
7683
|
displayMap: !0,
|
7738
|
-
hereApiKey:
|
7684
|
+
hereApiKey: Cr(),
|
7739
7685
|
hereSubdomains: "1234",
|
7740
7686
|
isLocationInputVisible: !0,
|
7741
7687
|
isMapMouseDown: !1,
|
@@ -7748,20 +7694,17 @@ const Jo = Pt({
|
|
7748
7694
|
};
|
7749
7695
|
},
|
7750
7696
|
destroyed() {
|
7751
|
-
|
7752
|
-
(r = this.observer) == null || r.disconnect();
|
7697
|
+
this.observer?.disconnect();
|
7753
7698
|
},
|
7754
7699
|
methods: {
|
7755
7700
|
centerOnVenue() {
|
7756
|
-
|
7757
|
-
(r = this.actualVenue) != null && r.latitude && ((l = this.actualVenue) != null && l.longitude) && (this.isMapMoveDirty = !1, this.centerTo([(a = this.actualVenue) == null ? void 0 : a.latitude, (d = this.actualVenue) == null ? void 0 : d.longitude]), this.updateHotelOfferRequestLocation(
|
7701
|
+
this.actualVenue?.latitude && this.actualVenue?.longitude && (this.isMapMoveDirty = !1, this.centerTo([this.actualVenue?.latitude, this.actualVenue?.longitude]), this.updateHotelOfferRequestLocation(
|
7758
7702
|
this.actualVenue.latitude,
|
7759
7703
|
this.actualVenue.longitude
|
7760
7704
|
));
|
7761
7705
|
},
|
7762
7706
|
centerTo(r, l = 0.5, a = 15) {
|
7763
|
-
|
7764
|
-
(d = this.map) == null || d.flyTo([r[0], r[1]], a, {
|
7707
|
+
this.map?.flyTo([r[0], r[1]], a, {
|
7765
7708
|
duration: l
|
7766
7709
|
});
|
7767
7710
|
},
|
@@ -7802,12 +7745,10 @@ const Jo = Pt({
|
|
7802
7745
|
this.isMapMouseDown && (this.isMapMoveDirty = !0);
|
7803
7746
|
},
|
7804
7747
|
onMapReady() {
|
7805
|
-
var l, a;
|
7806
7748
|
const r = this.$refs.map.$el;
|
7807
|
-
this.map =
|
7808
|
-
|
7809
|
-
|
7810
|
-
}), this.observer.observe(r), (a = this.map) == null || a.invalidateSize();
|
7749
|
+
this.map = this.$refs.map?.leafletObject, this.observer = new ResizeObserver(() => {
|
7750
|
+
this.map?.invalidateSize();
|
7751
|
+
}), this.observer.observe(r), this.map?.invalidateSize();
|
7811
7752
|
},
|
7812
7753
|
openPopup(r) {
|
7813
7754
|
r.openPopup();
|
@@ -7824,12 +7765,12 @@ const Jo = Pt({
|
|
7824
7765
|
},
|
7825
7766
|
mixins: [
|
7826
7767
|
Mr,
|
7827
|
-
|
7828
|
-
|
7768
|
+
Ur(["config.currency", "$i18n.locale"], "retrieveHotelOffers"),
|
7769
|
+
Zr,
|
7829
7770
|
Rr,
|
7830
7771
|
Yi({
|
7831
|
-
cb: (r) =>
|
7832
|
-
fallbackValue:
|
7772
|
+
cb: (r) => zr(r, "hotelRoomOfferList"),
|
7773
|
+
fallbackValue: To,
|
7833
7774
|
propsName: "features"
|
7834
7775
|
}),
|
7835
7776
|
Yi({
|
@@ -7850,9 +7791,9 @@ const Jo = Pt({
|
|
7850
7791
|
Gr()
|
7851
7792
|
],
|
7852
7793
|
name: "HotelOffersMap",
|
7853
|
-
props:
|
7794
|
+
props: Xr,
|
7854
7795
|
setup() {
|
7855
|
-
const { t: r } =
|
7796
|
+
const { t: r } = Sr();
|
7856
7797
|
return {
|
7857
7798
|
t: r
|
7858
7799
|
};
|
@@ -7861,8 +7802,7 @@ const Jo = Pt({
|
|
7861
7802
|
hereTileUrl: {
|
7862
7803
|
handler() {
|
7863
7804
|
this.$nextTick(() => {
|
7864
|
-
|
7865
|
-
(r = this.map) == null || r.zoomIn(0.01), (l = this.map) == null || l.zoomOut(0.01);
|
7805
|
+
this.map?.zoomIn(0.01), this.map?.zoomOut(0.01);
|
7866
7806
|
});
|
7867
7807
|
}
|
7868
7808
|
},
|
@@ -7883,8 +7823,7 @@ const Jo = Pt({
|
|
7883
7823
|
searchInputLocation: {
|
7884
7824
|
deep: !0,
|
7885
7825
|
handler() {
|
7886
|
-
|
7887
|
-
(r = this.searchInputLocation) != null && r.latitude && ((l = this.searchInputLocation) != null && l.longitude) && this.updateHotelOfferRequestLocation(
|
7826
|
+
this.searchInputLocation?.latitude && this.searchInputLocation?.longitude && this.updateHotelOfferRequestLocation(
|
7888
7827
|
this.searchInputLocation.latitude,
|
7889
7828
|
this.searchInputLocation.longitude
|
7890
7829
|
);
|
@@ -7892,7 +7831,7 @@ const Jo = Pt({
|
|
7892
7831
|
}
|
7893
7832
|
}
|
7894
7833
|
});
|
7895
|
-
function
|
7834
|
+
function xo(r) {
|
7896
7835
|
const l = r;
|
7897
7836
|
l.__i18n = l.__i18n || [], l.__i18n.push({
|
7898
7837
|
locale: "",
|
@@ -7984,14 +7923,14 @@ function To(r) {
|
|
7984
7923
|
}
|
7985
7924
|
});
|
7986
7925
|
}
|
7987
|
-
const
|
7988
|
-
function
|
7926
|
+
const Na = { class: "hotel-offers-map" }, Da = { key: 0 }, Ha = { key: 1 };
|
7927
|
+
function Fa(r, l, a, d, p, m) {
|
7989
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");
|
7990
|
-
return Z(), ut("div",
|
7991
|
-
r.isBookingApiClientDefined ? (Z(), ut(
|
7929
|
+
return Z(), ut("div", Na, [
|
7930
|
+
r.isBookingApiClientDefined ? (Z(), ut(_e, { key: 1 }, [
|
7992
7931
|
r.showErrorMessage ? (Z(), et(g, {
|
7993
7932
|
key: 0,
|
7994
|
-
style:
|
7933
|
+
style: ve({ height: r.parsedHeight })
|
7995
7934
|
}, {
|
7996
7935
|
title: A(() => [
|
7997
7936
|
Lt(At(r.t("HotelOffersMap.error.title")), 1)
|
@@ -8005,16 +7944,16 @@ function Ga(r, l, a, d, p, m) {
|
|
8005
7944
|
height: r.parsedHeight,
|
8006
7945
|
tile: "",
|
8007
7946
|
type: "image"
|
8008
|
-
}, null, 8, ["height"])) : (Z(), ut(
|
8009
|
-
r.
|
7947
|
+
}, null, 8, ["height"])) : (Z(), ut(_e, { key: 2 }, [
|
7948
|
+
r.isLoadingBarEnabled && r.isPollingHotelOffers ? (Z(), et(Jr, {
|
8010
7949
|
key: 0,
|
8011
7950
|
color: "primary",
|
8012
7951
|
indeterminate: ""
|
8013
7952
|
})) : gt("", !0),
|
8014
7953
|
U(V, null, {
|
8015
7954
|
default: A(() => [
|
8016
|
-
|
8017
|
-
style:
|
7955
|
+
oe("div", {
|
7956
|
+
style: ve([{ "min-height": "500px" }, {
|
8018
7957
|
height: r.parsedHeight,
|
8019
7958
|
maxHeight: r.maxHeight
|
8020
7959
|
}])
|
@@ -8050,7 +7989,7 @@ function Ga(r, l, a, d, p, m) {
|
|
8050
7989
|
position: "bottomright",
|
8051
7990
|
style: { bottom: "27px !important" }
|
8052
7991
|
}),
|
8053
|
-
r.parsedFeatures.LocationInput ?
|
7992
|
+
r.parsedFeatures.LocationInput ? Ar((Z(), et(x, {
|
8054
7993
|
key: 1,
|
8055
7994
|
class: "location",
|
8056
7995
|
position: "topleft"
|
@@ -8068,7 +8007,7 @@ function Ga(r, l, a, d, p, m) {
|
|
8068
8007
|
]),
|
8069
8008
|
_: 1
|
8070
8009
|
})), [
|
8071
|
-
[
|
8010
|
+
[Er, r.isLocationInputVisible]
|
8072
8011
|
]) : gt("", !0),
|
8073
8012
|
U(x, {
|
8074
8013
|
class: "leaflet-bar",
|
@@ -8088,7 +8027,7 @@ function Ga(r, l, a, d, p, m) {
|
|
8088
8027
|
size: "small",
|
8089
8028
|
style: { width: "30px" }
|
8090
8029
|
}, w, {
|
8091
|
-
onClick: l[1] || (l[1] = (
|
8030
|
+
onClick: l[1] || (l[1] = (rt) => r.showTransit = !r.showTransit)
|
8092
8031
|
}), {
|
8093
8032
|
default: A(() => [
|
8094
8033
|
r.showTransit ? (Z(), et(Yt, {
|
@@ -8115,7 +8054,7 @@ function Ga(r, l, a, d, p, m) {
|
|
8115
8054
|
}, 1040)
|
8116
8055
|
]),
|
8117
8056
|
default: A(() => [
|
8118
|
-
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))
|
8119
8058
|
]),
|
8120
8059
|
_: 1
|
8121
8060
|
}, 8, ["attach"])
|
@@ -8153,7 +8092,7 @@ function Ga(r, l, a, d, p, m) {
|
|
8153
8092
|
}, 1040, ["onClick"])
|
8154
8093
|
]),
|
8155
8094
|
default: A(() => [
|
8156
|
-
|
8095
|
+
oe("span", null, At(r.t("HotelOffersMap.centerOnVenue")), 1)
|
8157
8096
|
]),
|
8158
8097
|
_: 1
|
8159
8098
|
}, 8, ["attach"])
|
@@ -8179,13 +8118,10 @@ function Ga(r, l, a, d, p, m) {
|
|
8179
8118
|
size: "small",
|
8180
8119
|
style: { width: "30px" }
|
8181
8120
|
}, w, {
|
8182
|
-
onClick: l[2] || (l[2] = (
|
8183
|
-
|
8184
|
-
|
8185
|
-
|
8186
|
-
($t = r.currentCenter) == null ? void 0 : $t.lng
|
8187
|
-
);
|
8188
|
-
})
|
8121
|
+
onClick: l[2] || (l[2] = (rt) => r.updateHotelOfferRequestLocation(
|
8122
|
+
r.currentCenter?.lat,
|
8123
|
+
r.currentCenter?.lng
|
8124
|
+
))
|
8189
8125
|
}), {
|
8190
8126
|
default: A(() => [
|
8191
8127
|
U(Yt, { color: "white" }, {
|
@@ -8200,7 +8136,7 @@ function Ga(r, l, a, d, p, m) {
|
|
8200
8136
|
}, 1040)
|
8201
8137
|
]),
|
8202
8138
|
default: A(() => [
|
8203
|
-
|
8139
|
+
oe("span", null, At(r.t("HotelOffersMap.searchThisArea")), 1)
|
8204
8140
|
]),
|
8205
8141
|
_: 1
|
8206
8142
|
}, 8, ["attach"])) : gt("", !0)
|
@@ -8217,10 +8153,10 @@ function Ga(r, l, a, d, p, m) {
|
|
8217
8153
|
eager: ""
|
8218
8154
|
}, {
|
8219
8155
|
activator: A(({ props: w }) => [
|
8220
|
-
|
8156
|
+
vo(r.$slots, "bottomleft", { props: w }, void 0, !0)
|
8221
8157
|
]),
|
8222
8158
|
default: A(() => [
|
8223
|
-
|
8159
|
+
vo(r.$slots, "bottomleft-tooltip-text", {}, void 0, !0)
|
8224
8160
|
]),
|
8225
8161
|
_: 3
|
8226
8162
|
}, 8, ["attach"])
|
@@ -8276,14 +8212,14 @@ function Ga(r, l, a, d, p, m) {
|
|
8276
8212
|
key: 2,
|
8277
8213
|
"lat-lng": r.hotelOfferRequestMarker
|
8278
8214
|
}, null, 8, ["lat-lng"])) : gt("", !0),
|
8279
|
-
(Z(!0), ut(
|
8215
|
+
(Z(!0), ut(_e, null, Ki(r.parsedMarkers, (w) => (Z(), et(G, {
|
8280
8216
|
key: w.latitude + w.longitude + "shadow",
|
8281
8217
|
"lat-lng": [w.latitude, w.longitude]
|
8282
8218
|
}, null, 8, ["lat-lng"]))), 128)),
|
8283
|
-
(Z(!0), ut(
|
8219
|
+
(Z(!0), ut(_e, null, Ki(r.parsedMarkers, (w) => (Z(), et(G, {
|
8284
8220
|
key: w.latitude + w.longitude,
|
8285
8221
|
"lat-lng": [w.latitude, w.longitude],
|
8286
|
-
onClick: (
|
8222
|
+
onClick: (rt) => r.updateHotelOfferRequestLocation(
|
8287
8223
|
w.latitude,
|
8288
8224
|
w.longitude
|
8289
8225
|
)
|
@@ -8320,13 +8256,13 @@ function Ga(r, l, a, d, p, m) {
|
|
8320
8256
|
]),
|
8321
8257
|
_: 2
|
8322
8258
|
}, 1032, ["lat-lng", "onClick"]))), 128)),
|
8323
|
-
(Z(!0), ut(
|
8259
|
+
(Z(!0), ut(_e, null, Ki(r.hotelOffers, (w) => (Z(), et(G, {
|
8324
8260
|
key: w.id,
|
8325
8261
|
"lat-lng": [w.latitude, w.longitude],
|
8326
8262
|
options: {
|
8327
8263
|
riseOnHover: !0
|
8328
8264
|
},
|
8329
|
-
onClick: (
|
8265
|
+
onClick: (rt) => r.onHotelOfferMarkerClick(w)
|
8330
8266
|
}, {
|
8331
8267
|
default: A(() => [
|
8332
8268
|
U(ct, {
|
@@ -8337,7 +8273,7 @@ function Ga(r, l, a, d, p, m) {
|
|
8337
8273
|
hasTip: !1
|
8338
8274
|
},
|
8339
8275
|
"z-index": 2e7,
|
8340
|
-
onRemove: l[4] || (l[4] = (
|
8276
|
+
onRemove: l[4] || (l[4] = (rt) => r.isLocationInputVisible = !0)
|
8341
8277
|
}, {
|
8342
8278
|
default: A(() => [
|
8343
8279
|
U(N, {
|
@@ -8361,7 +8297,7 @@ function Ga(r, l, a, d, p, m) {
|
|
8361
8297
|
key: 0,
|
8362
8298
|
focus: r.hoveredHotel === w.id,
|
8363
8299
|
price: r.getHotelRoomOffer(w).price / r.getHotelRoomOffer(w).hotelRooms.reduce(
|
8364
|
-
(
|
8300
|
+
(rt, at) => rt + at.count,
|
8365
8301
|
0
|
8366
8302
|
) / r.nightCount
|
8367
8303
|
}, null, 8, ["focus", "price"])) : gt("", !0)
|
@@ -8379,16 +8315,15 @@ function Ga(r, l, a, d, p, m) {
|
|
8379
8315
|
_: 3
|
8380
8316
|
})
|
8381
8317
|
], 64))
|
8382
|
-
], 64)) : (Z(), ut(
|
8318
|
+
], 64)) : (Z(), ut(_e, { key: 0 }, [], 64))
|
8383
8319
|
]);
|
8384
8320
|
}
|
8385
|
-
typeof
|
8386
|
-
const
|
8387
|
-
Lr("css/revolugo.hoteloffersmap.
|
8321
|
+
typeof xo == "function" && xo(Jo);
|
8322
|
+
const eh = /* @__PURE__ */ tn(Jo, [["render", Fa], ["__scopeId", "data-v-a3a85fdb"]]);
|
8323
|
+
Lr("css/revolugo.hoteloffersmap.Cp2vN-VQ.css");
|
8388
8324
|
export {
|
8389
|
-
|
8390
|
-
|
8391
|
-
|
8392
|
-
$r as h
|
8325
|
+
To as H,
|
8326
|
+
eh as a,
|
8327
|
+
Xr as h
|
8393
8328
|
};
|
8394
|
-
//# sourceMappingURL=revolugo.hoteloffersmap.
|
8329
|
+
//# sourceMappingURL=revolugo.hoteloffersmap.DFUv89P-.min.js.map
|