@revolugo/elements 6.8.2-beta.4 → 6.8.2-beta.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/revolugo.bdaterangepicker.B6KA5TYs.css +1 -0
- package/dist/css/revolugo.bhoteloffersfilterbar.C39ZGXGp.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.CYbY5J61.css} +1 -1
- package/dist/css/revolugo.cancellationpoliciesbadge.CzUQOfdk.css +1 -0
- package/dist/css/{revolugo.hoteldescriptionview.CqUUU1fv.css → revolugo.hoteldescriptionview.BxLcWaQg.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.CNI6b2S9.css +1 -0
- package/dist/css/revolugo.hotelroomofferlist.-6YLPyqb.css +1 -0
- package/dist/css/revolugo.index.DK7d_h6O.css +1 -0
- package/dist/css/revolugo.langpickerbtn.CIk3LbQ0.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 +2006 -2211
- 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.Dt_S2PH_.min.js +247 -0
- package/dist/{revolugo.banktransferdetails.B2ekby51.min.js → revolugo.banktransferdetails.Bq0BmMES.min.js} +9 -9
- package/dist/revolugo.bdaterangepicker.CnNRgnOe.min.js +8324 -0
- package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.B8QojQLR.min.js +143 -0
- package/dist/revolugo.bhoteloffersfilterbar.Brei_H-M.min.js +4896 -0
- package/dist/{revolugo.bhotelroomsdetails.B_oUGHlu.min.js → revolugo.bhotelroomsdetails.BU2h52Lq.min.js} +226 -263
- package/dist/revolugo.bimagecarousel.DQ1sFuh7.min.js +566 -0
- package/dist/{revolugo.bookingdetailssidebar.Bs3FC4cg.min.js → revolugo.bookingdetailssidebar.BeXIN1jY.min.js} +207 -221
- package/dist/{revolugo.bookingdetailssidebar.BGsPcF2v.min.js → revolugo.bookingdetailssidebar.DUwGqYW_.min.js} +4 -4
- package/dist/{revolugo.bookingmanager.CrXALVnI.min.js → revolugo.bookingmanager.D7PMh1WW.min.js} +426 -460
- package/dist/revolugo.bpricesummaryskeleton.BeMc2f6A.min.js +72 -0
- package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.DxGtfGu-.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.BepHczS1.min.js} +149 -157
- package/dist/revolugo.btag.DJNfReOC.min.js +375 -0
- package/dist/revolugo.cancellationpoliciesbadge.BcUecTgS.min.js +28 -0
- package/dist/revolugo.cancellationpoliciesbadge.YwaVr8Df.min.js +198 -0
- package/dist/{revolugo.cancellationpolicieslist.CurBz21i.min.js → revolugo.cancellationpolicieslist.DuKJ__zi.min.js} +70 -98
- package/dist/revolugo.cancellationpolicieslist.HdJCkWB_.min.js +25 -0
- package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +21 -0
- package/dist/revolugo.case-transformers.DEWxmerh.min.js +123 -0
- package/dist/{revolugo.creditcardform.Zgq-wqLH.min.js → revolugo.creditcardform.CoiUYOLV.min.js} +79 -92
- package/dist/{revolugo.creditcardform.D35ZslX6.min.js → revolugo.creditcardform.QNgCad-N.min.js} +4 -4
- package/dist/{revolugo.creditcardpayment.B3gGpWtL.min.js → revolugo.creditcardpayment.wl70bU-p.min.js} +152 -160
- package/dist/{revolugo.creditcardpayment.BpY-gafO.min.js → revolugo.creditcardpayment.z0MfCubk.min.js} +4 -4
- package/dist/{revolugo.currencypicker.BgqkzwCT.min.js → revolugo.currencypicker.Bz7VWK_k.min.js} +15 -15
- package/dist/{revolugo.currencypickerbtn.0iqvXHCJ.min.js → revolugo.currencypickerbtn.Bbcidtfz.min.js} +41 -47
- package/dist/{revolugo.currencypickerbtn.CL_hu26M.min.js → revolugo.currencypickerbtn.ClgOlgmo.min.js} +4 -4
- package/dist/revolugo.dates.DDz876Xl.min.js +31 -0
- package/dist/revolugo.defaultsdeep.CLZXfak_.min.js +104 -0
- package/dist/{revolugo.dialog-attach.t7JTHXax.min.js → revolugo.dialog-attach.xvkFHR-I.min.js} +5 -6
- package/dist/revolugo.dialog-transition.Cfkxou7N.min.js +111 -0
- package/dist/{revolugo.fastbookingflow.D5i5QakB.min.js → revolugo.fastbookingflow.CzpKb39_.min.js} +6 -6
- package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +70 -0
- package/dist/revolugo.fullbookingflow.DPjKDW_q.min.js +429 -0
- package/dist/revolugo.hotel-offer-request.BFHLG9zO.min.js +98 -0
- package/dist/{revolugo.hoteldescriptionview.0om5ATP0.min.js → revolugo.hoteldescriptionview.CLVLf9E5.min.js} +4 -4
- package/dist/{revolugo.hoteldescriptionview.mr1BBzFi.min.js → revolugo.hoteldescriptionview.CeZBTSRh.min.js} +654 -713
- package/dist/revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.D4AGS1pJ.min.js +241 -0
- package/dist/{revolugo.hotelofferlist.Bb-RsXSl.min.js → revolugo.hotelofferlist.CUkYcTaY.min.js} +4 -4
- package/dist/{revolugo.hotelofferlist.DRdkrfqu.min.js → revolugo.hotelofferlist.DYpEe4z5.min.js} +1580 -1711
- package/dist/revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js +44 -0
- package/dist/revolugo.hoteloffersearchmenu.BMYbGz-7.min.js +202 -0
- package/dist/revolugo.hoteloffersearchmenuui.Ba2WfHAg.min.js +829 -0
- package/dist/{revolugo.hoteloffersmap.BleGDfiI.min.js → revolugo.hoteloffersmap.3FTmni0E.min.js} +4 -4
- package/dist/{revolugo.hoteloffersmap.BjjBIhE9.min.js → revolugo.hoteloffersmap.B6wZ1c6d.min.js} +859 -921
- package/dist/{revolugo.hoteloffersview.DyWUZJ-a.min.js → revolugo.hoteloffersview.BC3bnW2y.min.js} +130 -134
- package/dist/{revolugo.hoteloffersview.M1WJegEH.min.js → revolugo.hoteloffersview.CmG3Xvm4.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferlist.Dr11epuR.min.js → revolugo.hotelroomofferlist.Btf8fSvl.min.js} +1007 -1102
- package/dist/{revolugo.hotelroomofferlist.7bwYQgtE.min.js → revolugo.hotelroomofferlist.DWT9qGvO.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferrequestcreator.props.DUhujwnh.min.js → revolugo.hotelroomofferrequestcreator.props.fIPVr8RG.min.js} +6 -6
- package/dist/{revolugo.hotelroomoffersbookingflow.CKjKX7Kc.min.js → revolugo.hotelroomoffersbookingflow.D_5xmLte.min.js} +333 -358
- package/dist/{revolugo.hotelroomoffersearchmenu.CT-i5FLW.min.js → revolugo.hotelroomoffersearchmenu.CUpnTAUN.min.js} +5 -5
- package/dist/{revolugo.hotelroomoffersearchmenu.9fzTS1um.min.js → revolugo.hotelroomoffersearchmenu.CnI_Z0Eu.min.js} +35 -36
- package/dist/{revolugo.hotelroomoffersview.D2XUHzuN.min.js → revolugo.hotelroomoffersview.Cu1mxlGO.min.js} +146 -161
- package/dist/{revolugo.hotelroomoffersview.iTt3yxQK.min.js → revolugo.hotelroomoffersview.CyMXSoPv.min.js} +4 -4
- package/dist/revolugo.index.A6ftPWfP.min.js +67 -0
- package/dist/revolugo.index.DjbDWbUi.min.js +1232 -0
- package/dist/{revolugo.index.wc.CNPB8R3P.min.js → revolugo.index.wc.BQFDR_sN.min.js} +11675 -12044
- package/dist/revolugo.langpicker.CshGmEMo.min.js +99 -0
- package/dist/revolugo.langpickerbtn.D3ZMZxFX.min.js +131 -0
- package/dist/revolugo.langpickerbtn.DKycv8DI.min.js +29 -0
- package/dist/revolugo.min.js +1 -1
- package/dist/revolugo.pathify.w8PlyONu.min.js +36 -0
- package/dist/{revolugo.prebookform.CDoJAivN.min.js → revolugo.prebookform.D67ryJB6.min.js} +4 -4
- package/dist/{revolugo.prebookform.DhCYUQX2.min.js → revolugo.prebookform.Dm8tsLak.min.js} +97 -101
- package/dist/{revolugo.roominglisteditor.Dgtcs_-O.min.js → revolugo.roominglisteditor.BBfllXxO.min.js} +98 -104
- package/dist/{revolugo.roominglisteditor.DvUmxfal.min.js → revolugo.roominglisteditor.BKMsjZw7.min.js} +4 -4
- package/dist/{revolugo.rounded.Dulx85qq.min.js → revolugo.rounded.Cbk6AT5c.min.js} +2 -2
- package/dist/{revolugo.ssrboot.CTe1vadS.min.js → revolugo.ssrboot.Z1ufPUAd.min.js} +2 -2
- package/dist/{revolugo.storybooktoolbar.D182Uwjq.min.js → revolugo.storybooktoolbar.ClOde9ZK.min.js} +96 -97
- package/dist/revolugo.termsandconditions.BwX5wWs-.min.js +405 -0
- package/dist/{revolugo.termsandconditions.DvldqW3w.min.js → revolugo.termsandconditions.Dh1B27XG.min.js} +4 -4
- package/dist/revolugo.use-breakpoint-service.DjBYfWzf.min.js +39 -0
- package/dist/revolugo.use-dialog-attach.CFnNq24E.min.js +16 -0
- package/dist/revolugo.use-html-element.poh7gQAA.min.js +11 -0
- package/dist/revolugo.vautocomplete.B-nsANmd.min.js +445 -0
- package/dist/revolugo.vbadge.uWM0jLPd.min.js +112 -0
- package/dist/revolugo.vbtn.BhtxkRpd.min.js +398 -0
- package/dist/revolugo.vcard.Dvp7FrQ0.min.js +313 -0
- package/dist/revolugo.vcheckboxbtn.DMMon1Ae.min.js +478 -0
- package/dist/revolugo.vdialog.rnre3aMg.min.js +133 -0
- package/dist/{revolugo.vdivider.Cq5RMY7t.min.js → revolugo.vdivider.HQe9EwoW.min.js} +8 -8
- package/dist/revolugo.vexpansionpanels.BsMVXkOB.min.js +262 -0
- package/dist/revolugo.vform.khsh479_.min.js +46 -0
- package/dist/revolugo.vicon.DRzW88LO.min.js +105 -0
- package/dist/revolugo.vinput.Bmu1s4Hw.min.js +463 -0
- package/dist/revolugo.vlabel.DfS27j2I.min.js +48 -0
- package/dist/revolugo.vlist.C8B7H6dD.min.js +1299 -0
- package/dist/revolugo.vmenu.DDCNVM_a.min.js +145 -0
- package/dist/revolugo.vselect.C-eWXBCj.min.js +660 -0
- package/dist/{revolugo.vsheet.AqixfoVv.min.js → revolugo.vsheet.CD9rjzaU.min.js} +14 -14
- package/dist/{revolugo.vskeletonloader.BUxAIEgD.min.js → revolugo.vskeletonloader.-h_KwzQ3.min.js} +54 -55
- package/dist/revolugo.vslidegroup.D2bT55Zr.min.js +325 -0
- package/dist/revolugo.vsnackbar.BQ4yQ867.min.js +198 -0
- package/dist/revolugo.vspacer.ChSNPCWd.min.js +7 -0
- package/dist/{revolugo.vtextarea.ByrL6SoY.min.js → revolugo.vtextarea.BpVDNlZ2.min.js} +354 -364
- package/dist/revolugo.vtextfield.DlrR9Pgh.min.js +501 -0
- package/dist/revolugo.vtoolbar.CFvjmGkC.min.js +180 -0
- package/dist/revolugo.vtooltip.D3KqPcot.min.js +89 -0
- package/dist/revolugo.vwindowitem.Diu-UkPx.min.js +317 -0
- package/dist/revolugo.watch-list.D3kFoHUs.min.js +16 -0
- package/dist/revolugo.webcomponentwrapper.DZKKwbYN.min.js +2088 -0
- package/package.json +1 -1
- package/dist/css/revolugo.bdaterangepicker.BLYZnPjh.css +0 -1
- package/dist/css/revolugo.bhoteloffersfilterbar.1tLwDxXe.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.oDGeJCwG.css +0 -1
- package/dist/css/revolugo.hotelroomofferlist.DI_s2G5c.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.bdaterangepicker.CTD21Xkh.min.js +0 -8435
- package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.DFgVEyLr.min.js +0 -61
- package/dist/revolugo.bhoteloffersfilterbar.C677v5nL.min.js +0 -4689
- package/dist/revolugo.bhotelsearchbar.CZZ7nrV4.min.js +0 -947
- package/dist/revolugo.bimagecarousel.B0c13uQA.min.js +0 -598
- package/dist/revolugo.bpricesummaryskeleton.8052AuK3.min.js +0 -79
- package/dist/revolugo.btag.BWSoB2pK.min.js +0 -387
- package/dist/revolugo.cancellationpoliciesbadge.B19weMQp.min.js +0 -225
- package/dist/revolugo.cancellationpoliciesbadge.CvnUmIqX.min.js +0 -24
- package/dist/revolugo.cancellationpolicieslist.BsjkpRRW.min.js +0 -24
- package/dist/revolugo.case-transformers.Oo4YCZeL.min.js +0 -123
- package/dist/revolugo.defaultsdeep.CCR2LAoW.min.js +0 -104
- package/dist/revolugo.dialog-transition.Cot8jmLN.min.js +0 -114
- package/dist/revolugo.forwardrefs.-bfQnFea.min.js +0 -71
- package/dist/revolugo.fullbookingflow.B3R9Mi6f.min.js +0 -450
- package/dist/revolugo.hotelofferitemlayout.CpMoPSRH.min.js +0 -259
- package/dist/revolugo.hotelofferrequestcreator.f8olJbDW.min.js +0 -230
- package/dist/revolugo.hoteloffersearchmenu.CLH7PdDD.min.js +0 -46
- package/dist/revolugo.index.CDltx0TU.min.js +0 -1037
- package/dist/revolugo.index.D5-DO18f.min.js +0 -13
- package/dist/revolugo.langpicker.Df8h8dCw.min.js +0 -107
- package/dist/revolugo.langpickerbtn.CIKlUC4J.min.js +0 -178
- package/dist/revolugo.langpickerbtn.CMIJmkLf.min.js +0 -24
- package/dist/revolugo.position.BFDPs3FP.min.js +0 -322
- package/dist/revolugo.termsandconditions.BSpX2Wim.min.js +0 -423
- package/dist/revolugo.use-breakpoint-service.CEx6DRka.min.js +0 -106
- package/dist/revolugo.vautocomplete.DNxDeH8S.min.js +0 -466
- package/dist/revolugo.vbadge.DqpIeIfj.min.js +0 -118
- package/dist/revolugo.vbtn.DsvUpshD.min.js +0 -417
- package/dist/revolugo.vcard.D1VwO30r.min.js +0 -329
- package/dist/revolugo.vcheckboxbtn.BnbOlneq.min.js +0 -491
- package/dist/revolugo.vdialog.rsw4VlQE.min.js +0 -139
- package/dist/revolugo.vexpansionpanels.Cy-T-RLA.min.js +0 -276
- package/dist/revolugo.vform.CO-9AfdO.min.js +0 -50
- package/dist/revolugo.vinput.DEbpex7C.min.js +0 -477
- package/dist/revolugo.vlabel.CBGmCU1C.min.js +0 -51
- package/dist/revolugo.vlist.BzvP4Aad.min.js +0 -1348
- package/dist/revolugo.vmenu.CIfiL0Ib.min.js +0 -152
- package/dist/revolugo.vselect.CDieig82.min.js +0 -688
- package/dist/revolugo.vsnackbar.D5nwTNfd.min.js +0 -202
- package/dist/revolugo.vspacer.Dv72HR_2.min.js +0 -7
- package/dist/revolugo.vtextfield.Br_yyf1t.min.js +0 -509
- package/dist/revolugo.vtoolbar.VPqzB-yU.min.js +0 -188
- package/dist/revolugo.vtooltip.CI_oDjbQ.min.js +0 -395
- package/dist/revolugo.vwindowitem.IF1zLcjR.min.js +0 -329
- package/dist/revolugo.watch-list.BD0XoO1O.min.js +0 -16
- package/dist/revolugo.webcomponentwrapper.Ci87Oown.min.js +0 -2148
package/dist/{revolugo.hoteloffersmap.BjjBIhE9.min.js → revolugo.hoteloffersmap.B6wZ1c6d.min.js}
RENAMED
@@ -1,19 +1,17 @@
|
|
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
|
-
|
15
|
-
import { a as Xi } from "./revolugo.vbtn.DsvUpshD.min.js";
|
16
|
-
function Pr(r) {
|
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.BQFDR_sN.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.Brei_H-M.min.js";
|
3
|
+
import { _ as tn, B as Vr, c as Wr } from "./revolugo.webcomponentwrapper.DZKKwbYN.min.js";
|
4
|
+
import { V as Yt } from "./revolugo.vicon.DRzW88LO.min.js";
|
5
|
+
import { p as Yi } from "./revolugo.bstarrating.vue_vue_type_script_setup_true_lang.BepHczS1.min.js";
|
6
|
+
import { w as Ur } from "./revolugo.watch-list.D3kFoHUs.min.js";
|
7
|
+
import { h as qr } from "./revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js";
|
8
|
+
import { u as jr } from "./revolugo.hotelroomofferrequestcreator.props.fIPVr8RG.min.js";
|
9
|
+
import { p as Gr, g as ge } from "./revolugo.pathify.w8PlyONu.min.js";
|
10
|
+
import { V as Kr } from "./revolugo.vskeletonloader.-h_KwzQ3.min.js";
|
11
|
+
import { V as Jr } from "./revolugo.index.DjbDWbUi.min.js";
|
12
|
+
import { V as ai } from "./revolugo.vtooltip.D3KqPcot.min.js";
|
13
|
+
import { a as Xi } from "./revolugo.vbtn.BhtxkRpd.min.js";
|
14
|
+
function Lr(r) {
|
17
15
|
try {
|
18
16
|
if (typeof document < "u") {
|
19
17
|
window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
|
@@ -33,7 +31,7 @@ function Pr(r) {
|
|
33
31
|
console.error("[revolugo-elements] ", l);
|
34
32
|
}
|
35
33
|
}
|
36
|
-
function
|
34
|
+
function Yr(r, l) {
|
37
35
|
for (var a = 0; a < l.length; a++) {
|
38
36
|
const d = l[a];
|
39
37
|
if (typeof d != "string" && !Array.isArray(d)) {
|
@@ -49,19 +47,19 @@ function Xr(r, l) {
|
|
49
47
|
}
|
50
48
|
return Object.freeze(Object.defineProperty(r, Symbol.toStringTag, { value: "Module" }));
|
51
49
|
}
|
52
|
-
const
|
50
|
+
const To = {
|
53
51
|
LocationInput: !0,
|
54
52
|
SearchAreaButton: !0,
|
55
53
|
HotelOfferItem: {
|
56
|
-
...
|
54
|
+
...Br,
|
57
55
|
[Ji.HotelDescriptionViewDialog]: !1,
|
58
56
|
[Ji.HotelRoomOffersViewDialog]: !1,
|
59
57
|
[Ji.RoomsDetails]: !0
|
60
58
|
}
|
61
|
-
},
|
62
|
-
...
|
59
|
+
}, Xr = {
|
60
|
+
...qr,
|
63
61
|
features: {
|
64
|
-
default: () =>
|
62
|
+
default: () => To,
|
65
63
|
type: [Object, String]
|
66
64
|
},
|
67
65
|
height: {
|
@@ -72,14 +70,14 @@ const Mo = {
|
|
72
70
|
default: "",
|
73
71
|
type: String
|
74
72
|
},
|
75
|
-
|
76
|
-
default: Rr,
|
77
|
-
type: Number
|
78
|
-
},
|
79
|
-
loadingBarEnabled: {
|
73
|
+
isLoadingBarEnabled: {
|
80
74
|
default: !0,
|
81
75
|
type: Boolean
|
82
76
|
},
|
77
|
+
limit: {
|
78
|
+
default: Ir,
|
79
|
+
type: Number
|
80
|
+
},
|
83
81
|
markers: {
|
84
82
|
default: () => [],
|
85
83
|
type: [String, Array]
|
@@ -92,17 +90,17 @@ const Mo = {
|
|
92
90
|
type: [String, Object]
|
93
91
|
}
|
94
92
|
};
|
95
|
-
var
|
93
|
+
var Ze = { exports: {} };
|
96
94
|
/* @preserve
|
97
95
|
* Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com
|
98
96
|
* (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade
|
99
97
|
*/
|
100
|
-
var
|
101
|
-
function
|
102
|
-
return
|
98
|
+
var Qr = Ze.exports, yo;
|
99
|
+
function $r() {
|
100
|
+
return yo || (yo = 1, function(r, l) {
|
103
101
|
(function(a, d) {
|
104
102
|
d(l);
|
105
|
-
})(
|
103
|
+
})(Qr, function(a) {
|
106
104
|
var d = "1.9.4";
|
107
105
|
function p(t) {
|
108
106
|
var e, i, n, o;
|
@@ -190,19 +188,19 @@ function ta() {
|
|
190
188
|
return i;
|
191
189
|
return -1;
|
192
190
|
}
|
193
|
-
var
|
194
|
-
function
|
191
|
+
var rt = "data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";
|
192
|
+
function at(t) {
|
195
193
|
return window["webkit" + t] || window["moz" + t] || window["ms" + t];
|
196
194
|
}
|
197
|
-
var
|
195
|
+
var He = 0;
|
198
196
|
function qt(t) {
|
199
|
-
var e = +/* @__PURE__ */ new Date(), i = Math.max(0, 16 - (e -
|
200
|
-
return
|
197
|
+
var e = +/* @__PURE__ */ new Date(), i = Math.max(0, 16 - (e - He));
|
198
|
+
return He = e + i, window.setTimeout(t, i);
|
201
199
|
}
|
202
|
-
var z = window.requestAnimationFrame ||
|
200
|
+
var z = window.requestAnimationFrame || at("RequestAnimationFrame") || qt, j = window.cancelAnimationFrame || at("CancelAnimationFrame") || at("CancelRequestAnimationFrame") || function(t) {
|
203
201
|
window.clearTimeout(t);
|
204
202
|
};
|
205
|
-
function
|
203
|
+
function nt(t, e, i) {
|
206
204
|
if (i && z === qt)
|
207
205
|
t.call(e);
|
208
206
|
else
|
@@ -211,7 +209,7 @@ function ta() {
|
|
211
209
|
function vt(t) {
|
212
210
|
t && j.call(window, t);
|
213
211
|
}
|
214
|
-
var
|
212
|
+
var Yo = {
|
215
213
|
__proto__: null,
|
216
214
|
extend: p,
|
217
215
|
create: m,
|
@@ -231,40 +229,40 @@ function ta() {
|
|
231
229
|
template: X,
|
232
230
|
isArray: V,
|
233
231
|
indexOf: w,
|
234
|
-
emptyImageUrl:
|
232
|
+
emptyImageUrl: rt,
|
235
233
|
requestFn: z,
|
236
234
|
cancelFn: j,
|
237
|
-
requestAnimFrame:
|
235
|
+
requestAnimFrame: nt,
|
238
236
|
cancelAnimFrame: vt
|
239
237
|
};
|
240
|
-
function
|
238
|
+
function It() {
|
241
239
|
}
|
242
|
-
|
240
|
+
It.extend = function(t) {
|
243
241
|
var e = function() {
|
244
242
|
N(this), this.initialize && this.initialize.apply(this, arguments), this.callInitHooks();
|
245
243
|
}, i = e.__super__ = this.prototype, n = m(i);
|
246
244
|
n.constructor = e, e.prototype = n;
|
247
245
|
for (var o in this)
|
248
246
|
Object.prototype.hasOwnProperty.call(this, o) && o !== "prototype" && o !== "__super__" && (e[o] = this[o]);
|
249
|
-
return t.statics && p(e, t.statics), t.includes && (
|
247
|
+
return t.statics && p(e, t.statics), t.includes && (Xo(t.includes), p.apply(null, [n].concat(t.includes))), p(n, t), delete n.statics, delete n.includes, n.options && (n.options = i.options ? m(i.options) : {}, p(n.options, t.options)), n._initHooks = [], n.callInitHooks = function() {
|
250
248
|
if (!this._initHooksCalled) {
|
251
249
|
i.callInitHooks && i.callInitHooks.call(this), this._initHooksCalled = !0;
|
252
250
|
for (var s = 0, h = n._initHooks.length; s < h; s++)
|
253
251
|
n._initHooks[s].call(this);
|
254
252
|
}
|
255
253
|
}, e;
|
256
|
-
},
|
254
|
+
}, It.include = function(t) {
|
257
255
|
var e = this.prototype.options;
|
258
256
|
return p(this.prototype, t), t.options && (this.prototype.options = e, this.mergeOptions(t.options)), this;
|
259
|
-
},
|
257
|
+
}, It.mergeOptions = function(t) {
|
260
258
|
return p(this.prototype.options, t), this;
|
261
|
-
},
|
259
|
+
}, It.addInitHook = function(t) {
|
262
260
|
var e = Array.prototype.slice.call(arguments, 1), i = typeof t == "function" ? t : function() {
|
263
261
|
this[t].apply(this, e);
|
264
262
|
};
|
265
263
|
return this.prototype._initHooks = this.prototype._initHooks || [], this.prototype._initHooks.push(i), this;
|
266
264
|
};
|
267
|
-
function
|
265
|
+
function Xo(t) {
|
268
266
|
if (!(typeof L > "u" || !L || !L.Mixin)) {
|
269
267
|
t = V(t) ? t : [t];
|
270
268
|
for (var e = 0; e < t.length; e++)
|
@@ -435,11 +433,11 @@ function ta() {
|
|
435
433
|
}
|
436
434
|
};
|
437
435
|
_t.addEventListener = _t.on, _t.removeEventListener = _t.clearAllEventListeners = _t.off, _t.addOneTimeEventListener = _t.once, _t.fireEvent = _t.fire, _t.hasEventListeners = _t.listens;
|
438
|
-
var
|
436
|
+
var be = It.extend(_t);
|
439
437
|
function O(t, e, i) {
|
440
438
|
this.x = i ? Math.round(t) : t, this.y = i ? Math.round(e) : e;
|
441
439
|
}
|
442
|
-
var
|
440
|
+
var sn = Math.trunc || function(t) {
|
443
441
|
return t > 0 ? Math.floor(t) : Math.ceil(t);
|
444
442
|
};
|
445
443
|
O.prototype = {
|
@@ -524,7 +522,7 @@ function ta() {
|
|
524
522
|
return this.clone()._trunc();
|
525
523
|
},
|
526
524
|
_trunc: function() {
|
527
|
-
return this.x =
|
525
|
+
return this.x = sn(this.x), this.y = sn(this.y), this;
|
528
526
|
},
|
529
527
|
// @method distanceTo(otherPoint: Point): Number
|
530
528
|
// Returns the cartesian distance between the current and the given points.
|
@@ -830,7 +828,7 @@ function ta() {
|
|
830
828
|
function B(t, e, i) {
|
831
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);
|
832
830
|
}
|
833
|
-
var
|
831
|
+
var Zt = {
|
834
832
|
// @method latLngToPoint(latlng: LatLng, zoom: Number): Point
|
835
833
|
// Projects geographical coordinates into pixel coordinates for a given zoom.
|
836
834
|
latLngToPoint: function(t, e) {
|
@@ -912,7 +910,7 @@ function ta() {
|
|
912
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);
|
913
911
|
return new ft(u, c);
|
914
912
|
}
|
915
|
-
}, jt = p({},
|
913
|
+
}, jt = p({}, Zt, {
|
916
914
|
wrapLng: [-180, 180],
|
917
915
|
// Mean Earth Radius, as recommended for use by
|
918
916
|
// the International Union of Geodesy and Geophysics,
|
@@ -923,8 +921,8 @@ function ta() {
|
|
923
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));
|
924
922
|
return this.R * c;
|
925
923
|
}
|
926
|
-
}),
|
927
|
-
R:
|
924
|
+
}), rn = 6378137, di = {
|
925
|
+
R: rn,
|
928
926
|
MAX_LATITUDE: 85.0511287798,
|
929
927
|
project: function(t) {
|
930
928
|
var e = Math.PI / 180, i = this.MAX_LATITUDE, n = Math.max(Math.min(i, t.lat), -i), o = Math.sin(n * e);
|
@@ -941,7 +939,7 @@ function ta() {
|
|
941
939
|
);
|
942
940
|
},
|
943
941
|
bounds: function() {
|
944
|
-
var t =
|
942
|
+
var t = rn * Math.PI;
|
945
943
|
return new K([-t, -t], [t, t]);
|
946
944
|
}()
|
947
945
|
};
|
@@ -973,7 +971,7 @@ function ta() {
|
|
973
971
|
);
|
974
972
|
}
|
975
973
|
};
|
976
|
-
function
|
974
|
+
function Le(t, e, i, n) {
|
977
975
|
return new fi(t, e, i, n);
|
978
976
|
}
|
979
977
|
var pi = p({}, jt, {
|
@@ -981,15 +979,15 @@ function ta() {
|
|
981
979
|
projection: di,
|
982
980
|
transformation: function() {
|
983
981
|
var t = 0.5 / (Math.PI * di.R);
|
984
|
-
return
|
982
|
+
return Le(t, 0.5, -t, 0.5);
|
985
983
|
}()
|
986
|
-
}),
|
984
|
+
}), Qo = p({}, pi, {
|
987
985
|
code: "EPSG:900913"
|
988
986
|
});
|
989
|
-
function
|
987
|
+
function an(t) {
|
990
988
|
return document.createElementNS("http://www.w3.org/2000/svg", t);
|
991
989
|
}
|
992
|
-
function
|
990
|
+
function hn(t, e) {
|
993
991
|
var i = "", n, o, s, h, u, c;
|
994
992
|
for (n = 0, s = t.length; n < s; n++) {
|
995
993
|
for (u = t[n], o = 0, h = u.length; o < h; o++)
|
@@ -998,7 +996,7 @@ function ta() {
|
|
998
996
|
}
|
999
997
|
return i || "M0 0";
|
1000
998
|
}
|
1001
|
-
var mi = document.documentElement.style, Fe = "ActiveXObject" in window,
|
999
|
+
var mi = document.documentElement.style, Fe = "ActiveXObject" in window, $o = Fe && !document.addEventListener, ln = "msLaunchUri" in navigator && !("documentMode" in document), _i = St("webkit"), un = St("android"), cn = St("android 2") || St("android 3"), ts = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), es = un && St("Google") && ts < 537 && !("AudioNode" in window), gi = !!window.opera, dn = !ln && St("chrome"), fn = St("gecko") && !_i && !gi && !Fe, is = !dn && St("safari"), pn = St("phantom"), mn = "OTransition" in mi, ns = navigator.platform.indexOf("Win") === 0, _n = Fe && "transition" in mi, vi = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !cn, gn = "MozPerspective" in mi, os = !window.L_DISABLE_3D && (_n || vi || gn) && !mn && !pn, Pe = typeof orientation < "u" || St("mobile"), ss = Pe && _i, rs = Pe && vi, vn = !window.PointerEvent && window.MSPointerEvent, yn = !!(window.PointerEvent || vn), wn = "ontouchstart" in window || !!window.TouchEvent, as = !window.L_NO_TOUCH && (wn || yn), hs = Pe && gi, ls = Pe && fn, us = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, cs = function() {
|
1002
1000
|
var t = !1;
|
1003
1001
|
try {
|
1004
1002
|
var e = Object.defineProperty({}, "passive", {
|
@@ -1010,12 +1008,12 @@ function ta() {
|
|
1010
1008
|
} catch {
|
1011
1009
|
}
|
1012
1010
|
return t;
|
1013
|
-
}(),
|
1011
|
+
}(), ds = function() {
|
1014
1012
|
return !!document.createElement("canvas").getContext;
|
1015
|
-
}(), yi = !!(document.createElementNS &&
|
1013
|
+
}(), yi = !!(document.createElementNS && an("svg").createSVGRect), fs = !!yi && function() {
|
1016
1014
|
var t = document.createElement("div");
|
1017
1015
|
return t.innerHTML = "<svg/>", (t.firstChild && t.firstChild.namespaceURI) === "http://www.w3.org/2000/svg";
|
1018
|
-
}(),
|
1016
|
+
}(), ps = !yi && function() {
|
1019
1017
|
try {
|
1020
1018
|
var t = document.createElement("div");
|
1021
1019
|
t.innerHTML = '<v:shape adj="1"/>';
|
@@ -1024,98 +1022,98 @@ function ta() {
|
|
1024
1022
|
} catch {
|
1025
1023
|
return !1;
|
1026
1024
|
}
|
1027
|
-
}(),
|
1025
|
+
}(), ms = navigator.platform.indexOf("Mac") === 0, _s = navigator.platform.indexOf("Linux") === 0;
|
1028
1026
|
function St(t) {
|
1029
1027
|
return navigator.userAgent.toLowerCase().indexOf(t) >= 0;
|
1030
1028
|
}
|
1031
1029
|
var y = {
|
1032
1030
|
ie: Fe,
|
1033
|
-
ielt9:
|
1034
|
-
edge:
|
1031
|
+
ielt9: $o,
|
1032
|
+
edge: ln,
|
1035
1033
|
webkit: _i,
|
1036
|
-
android:
|
1037
|
-
android23:
|
1038
|
-
androidStock:
|
1034
|
+
android: un,
|
1035
|
+
android23: cn,
|
1036
|
+
androidStock: es,
|
1039
1037
|
opera: gi,
|
1040
|
-
chrome:
|
1041
|
-
gecko:
|
1042
|
-
safari:
|
1043
|
-
phantom:
|
1044
|
-
opera12:
|
1045
|
-
win:
|
1046
|
-
ie3d:
|
1038
|
+
chrome: dn,
|
1039
|
+
gecko: fn,
|
1040
|
+
safari: is,
|
1041
|
+
phantom: pn,
|
1042
|
+
opera12: mn,
|
1043
|
+
win: ns,
|
1044
|
+
ie3d: _n,
|
1047
1045
|
webkit3d: vi,
|
1048
|
-
gecko3d:
|
1049
|
-
any3d:
|
1050
|
-
mobile:
|
1051
|
-
mobileWebkit:
|
1052
|
-
mobileWebkit3d:
|
1053
|
-
msPointer:
|
1054
|
-
pointer:
|
1055
|
-
touch:
|
1056
|
-
touchNative:
|
1057
|
-
mobileOpera:
|
1058
|
-
mobileGecko:
|
1059
|
-
retina:
|
1060
|
-
passiveEvents:
|
1061
|
-
canvas:
|
1046
|
+
gecko3d: gn,
|
1047
|
+
any3d: os,
|
1048
|
+
mobile: Pe,
|
1049
|
+
mobileWebkit: ss,
|
1050
|
+
mobileWebkit3d: rs,
|
1051
|
+
msPointer: vn,
|
1052
|
+
pointer: yn,
|
1053
|
+
touch: as,
|
1054
|
+
touchNative: wn,
|
1055
|
+
mobileOpera: hs,
|
1056
|
+
mobileGecko: ls,
|
1057
|
+
retina: us,
|
1058
|
+
passiveEvents: cs,
|
1059
|
+
canvas: ds,
|
1062
1060
|
svg: yi,
|
1063
|
-
vml:
|
1064
|
-
inlineSvg:
|
1065
|
-
mac:
|
1066
|
-
linux:
|
1067
|
-
},
|
1068
|
-
touchstart:
|
1069
|
-
touchmove:
|
1070
|
-
touchend:
|
1071
|
-
touchcancel:
|
1072
|
-
},
|
1073
|
-
touchstart:
|
1061
|
+
vml: ps,
|
1062
|
+
inlineSvg: fs,
|
1063
|
+
mac: ms,
|
1064
|
+
linux: _s
|
1065
|
+
}, bn = y.msPointer ? "MSPointerDown" : "pointerdown", Ln = y.msPointer ? "MSPointerMove" : "pointermove", Pn = y.msPointer ? "MSPointerUp" : "pointerup", xn = y.msPointer ? "MSPointerCancel" : "pointercancel", wi = {
|
1066
|
+
touchstart: bn,
|
1067
|
+
touchmove: Ln,
|
1068
|
+
touchend: Pn,
|
1069
|
+
touchcancel: xn
|
1070
|
+
}, Tn = {
|
1071
|
+
touchstart: Ls,
|
1074
1072
|
touchmove: Ve,
|
1075
1073
|
touchend: Ve,
|
1076
1074
|
touchcancel: Ve
|
1077
|
-
},
|
1078
|
-
function
|
1079
|
-
return e === "touchstart" &&
|
1075
|
+
}, ae = {}, Mn = !1;
|
1076
|
+
function gs(t, e, i) {
|
1077
|
+
return e === "touchstart" && bs(), Tn[e] ? (i = Tn[e].bind(this, i), t.addEventListener(wi[e], i, !1), i) : (console.warn("wrong event specified:", e), b);
|
1080
1078
|
}
|
1081
|
-
function
|
1079
|
+
function vs(t, e, i) {
|
1082
1080
|
if (!wi[e]) {
|
1083
1081
|
console.warn("wrong event specified:", e);
|
1084
1082
|
return;
|
1085
1083
|
}
|
1086
1084
|
t.removeEventListener(wi[e], i, !1);
|
1087
1085
|
}
|
1088
|
-
function
|
1089
|
-
|
1086
|
+
function ys(t) {
|
1087
|
+
ae[t.pointerId] = t;
|
1090
1088
|
}
|
1091
|
-
function
|
1092
|
-
|
1089
|
+
function ws(t) {
|
1090
|
+
ae[t.pointerId] && (ae[t.pointerId] = t);
|
1093
1091
|
}
|
1094
|
-
function
|
1095
|
-
delete
|
1092
|
+
function On(t) {
|
1093
|
+
delete ae[t.pointerId];
|
1096
1094
|
}
|
1097
|
-
function
|
1098
|
-
|
1095
|
+
function bs() {
|
1096
|
+
Mn || (document.addEventListener(bn, ys, !0), document.addEventListener(Ln, ws, !0), document.addEventListener(Pn, On, !0), document.addEventListener(xn, On, !0), Mn = !0);
|
1099
1097
|
}
|
1100
1098
|
function Ve(t, e) {
|
1101
1099
|
if (e.pointerType !== (e.MSPOINTER_TYPE_MOUSE || "mouse")) {
|
1102
1100
|
e.touches = [];
|
1103
|
-
for (var i in
|
1104
|
-
e.touches.push(
|
1101
|
+
for (var i in ae)
|
1102
|
+
e.touches.push(ae[i]);
|
1105
1103
|
e.changedTouches = [e], t(e);
|
1106
1104
|
}
|
1107
1105
|
}
|
1108
|
-
function
|
1109
|
-
e.MSPOINTER_TYPE_TOUCH && e.pointerType === e.MSPOINTER_TYPE_TOUCH &&
|
1106
|
+
function Ls(t, e) {
|
1107
|
+
e.MSPOINTER_TYPE_TOUCH && e.pointerType === e.MSPOINTER_TYPE_TOUCH && ot(e), Ve(t, e);
|
1110
1108
|
}
|
1111
|
-
function
|
1109
|
+
function Ps(t) {
|
1112
1110
|
var e = {}, i, n;
|
1113
1111
|
for (n in t)
|
1114
1112
|
i = t[n], e[n] = i && i.bind ? i.bind(t) : i;
|
1115
1113
|
return t = e, e.type = "dblclick", e.detail = 2, e.isTrusted = !1, e._simulated = !0, e;
|
1116
1114
|
}
|
1117
|
-
var
|
1118
|
-
function
|
1115
|
+
var xs = 200;
|
1116
|
+
function Ts(t, e) {
|
1119
1117
|
t.addEventListener("dblclick", e);
|
1120
1118
|
var i = 0, n;
|
1121
1119
|
function o(s) {
|
@@ -1124,14 +1122,14 @@ function ta() {
|
|
1124
1122
|
return;
|
1125
1123
|
}
|
1126
1124
|
if (!(s.pointerType === "mouse" || s.sourceCapabilities && !s.sourceCapabilities.firesTouchEvents)) {
|
1127
|
-
var h =
|
1125
|
+
var h = An(s);
|
1128
1126
|
if (!(h.some(function(c) {
|
1129
1127
|
return c instanceof HTMLLabelElement && c.attributes.for;
|
1130
1128
|
}) && !h.some(function(c) {
|
1131
1129
|
return c instanceof HTMLInputElement || c instanceof HTMLSelectElement;
|
1132
1130
|
}))) {
|
1133
1131
|
var u = Date.now();
|
1134
|
-
u - i <=
|
1132
|
+
u - i <= xs ? (n++, n === 2 && e(Ps(s))) : n = 1, i = u;
|
1135
1133
|
}
|
1136
1134
|
}
|
1137
1135
|
}
|
@@ -1140,18 +1138,18 @@ function ta() {
|
|
1140
1138
|
simDblclick: o
|
1141
1139
|
};
|
1142
1140
|
}
|
1143
|
-
function
|
1141
|
+
function Ms(t, e) {
|
1144
1142
|
t.removeEventListener("dblclick", e.dblclick), t.removeEventListener("click", e.simDblclick);
|
1145
1143
|
}
|
1146
1144
|
var bi = qe(
|
1147
1145
|
["transform", "webkitTransform", "OTransform", "MozTransform", "msTransform"]
|
1148
|
-
),
|
1146
|
+
), xe = qe(
|
1149
1147
|
["webkitTransition", "transition", "OTransition", "MozTransition", "msTransition"]
|
1150
|
-
),
|
1151
|
-
function
|
1148
|
+
), Sn = xe === "webkitTransition" || xe === "OTransition" ? xe + "End" : "transitionend";
|
1149
|
+
function Cn(t) {
|
1152
1150
|
return typeof t == "string" ? document.getElementById(t) : t;
|
1153
1151
|
}
|
1154
|
-
function
|
1152
|
+
function Te(t, e) {
|
1155
1153
|
var i = t.style[e] || t.currentStyle && t.currentStyle[e];
|
1156
1154
|
if ((!i || i === "auto") && document.defaultView) {
|
1157
1155
|
var n = document.defaultView.getComputedStyle(t, null);
|
@@ -1171,11 +1169,11 @@ function ta() {
|
|
1171
1169
|
for (; t.firstChild; )
|
1172
1170
|
t.removeChild(t.firstChild);
|
1173
1171
|
}
|
1174
|
-
function
|
1172
|
+
function he(t) {
|
1175
1173
|
var e = t.parentNode;
|
1176
1174
|
e && e.lastChild !== t && e.appendChild(t);
|
1177
1175
|
}
|
1178
|
-
function
|
1176
|
+
function le(t) {
|
1179
1177
|
var e = t.parentNode;
|
1180
1178
|
e && e.firstChild !== t && e.insertBefore(t, e.firstChild);
|
1181
1179
|
}
|
@@ -1204,9 +1202,9 @@ function ta() {
|
|
1204
1202
|
return t.correspondingElement && (t = t.correspondingElement), t.className.baseVal === void 0 ? t.className : t.className.baseVal;
|
1205
1203
|
}
|
1206
1204
|
function yt(t, e) {
|
1207
|
-
"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);
|
1208
1206
|
}
|
1209
|
-
function
|
1207
|
+
function Os(t, e) {
|
1210
1208
|
var i = !1, n = "DXImageTransform.Microsoft.Alpha";
|
1211
1209
|
try {
|
1212
1210
|
i = t.filters.item(n);
|
@@ -1222,41 +1220,41 @@ function ta() {
|
|
1222
1220
|
return t[i];
|
1223
1221
|
return !1;
|
1224
1222
|
}
|
1225
|
-
function
|
1223
|
+
function $t(t, e, i) {
|
1226
1224
|
var n = e || new O(0, 0);
|
1227
1225
|
t.style[bi] = (y.ie3d ? "translate(" + n.x + "px," + n.y + "px)" : "translate3d(" + n.x + "px," + n.y + "px,0)") + (i ? " scale(" + i + ")" : "");
|
1228
1226
|
}
|
1229
1227
|
function $(t, e) {
|
1230
|
-
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");
|
1231
1229
|
}
|
1232
|
-
function
|
1230
|
+
function te(t) {
|
1233
1231
|
return t._leaflet_pos || new O(0, 0);
|
1234
1232
|
}
|
1235
|
-
var
|
1233
|
+
var Me, Oe, xi;
|
1236
1234
|
if ("onselectstart" in document)
|
1237
|
-
|
1238
|
-
S(window, "selectstart",
|
1239
|
-
},
|
1240
|
-
W(window, "selectstart",
|
1235
|
+
Me = function() {
|
1236
|
+
S(window, "selectstart", ot);
|
1237
|
+
}, Oe = function() {
|
1238
|
+
W(window, "selectstart", ot);
|
1241
1239
|
};
|
1242
1240
|
else {
|
1243
|
-
var
|
1241
|
+
var Se = qe(
|
1244
1242
|
["userSelect", "WebkitUserSelect", "OUserSelect", "MozUserSelect", "msUserSelect"]
|
1245
1243
|
);
|
1246
|
-
|
1247
|
-
if (
|
1244
|
+
Me = function() {
|
1245
|
+
if (Se) {
|
1248
1246
|
var t = document.documentElement.style;
|
1249
|
-
xi = t[
|
1247
|
+
xi = t[Se], t[Se] = "none";
|
1250
1248
|
}
|
1251
|
-
},
|
1252
|
-
|
1249
|
+
}, Oe = function() {
|
1250
|
+
Se && (document.documentElement.style[Se] = xi, xi = void 0);
|
1253
1251
|
};
|
1254
1252
|
}
|
1255
1253
|
function Ti() {
|
1256
|
-
S(window, "dragstart",
|
1254
|
+
S(window, "dragstart", ot);
|
1257
1255
|
}
|
1258
1256
|
function Mi() {
|
1259
|
-
W(window, "dragstart",
|
1257
|
+
W(window, "dragstart", ot);
|
1260
1258
|
}
|
1261
1259
|
var je, Oi;
|
1262
1260
|
function Si(t) {
|
@@ -1267,7 +1265,7 @@ function ta() {
|
|
1267
1265
|
function Ge() {
|
1268
1266
|
je && (je.style.outlineStyle = Oi, je = void 0, Oi = void 0, W(window, "keydown", Ge));
|
1269
1267
|
}
|
1270
|
-
function
|
1268
|
+
function kn(t) {
|
1271
1269
|
do
|
1272
1270
|
t = t.parentNode;
|
1273
1271
|
while ((!t.offsetWidth || !t.offsetHeight) && t !== document.body);
|
@@ -1281,18 +1279,18 @@ function ta() {
|
|
1281
1279
|
boundingClientRect: e
|
1282
1280
|
};
|
1283
1281
|
}
|
1284
|
-
var
|
1282
|
+
var Ss = {
|
1285
1283
|
__proto__: null,
|
1286
1284
|
TRANSFORM: bi,
|
1287
|
-
TRANSITION:
|
1288
|
-
TRANSITION_END:
|
1289
|
-
get:
|
1290
|
-
getStyle:
|
1285
|
+
TRANSITION: xe,
|
1286
|
+
TRANSITION_END: Sn,
|
1287
|
+
get: Cn,
|
1288
|
+
getStyle: Te,
|
1291
1289
|
create: D,
|
1292
1290
|
remove: J,
|
1293
1291
|
empty: We,
|
1294
|
-
toFront:
|
1295
|
-
toBack:
|
1292
|
+
toFront: he,
|
1293
|
+
toBack: le,
|
1296
1294
|
hasClass: Li,
|
1297
1295
|
addClass: C,
|
1298
1296
|
removeClass: Y,
|
@@ -1300,20 +1298,20 @@ function ta() {
|
|
1300
1298
|
getClass: Ue,
|
1301
1299
|
setOpacity: yt,
|
1302
1300
|
testProp: qe,
|
1303
|
-
setTransform:
|
1301
|
+
setTransform: $t,
|
1304
1302
|
setPosition: $,
|
1305
|
-
getPosition:
|
1303
|
+
getPosition: te,
|
1306
1304
|
get disableTextSelection() {
|
1307
|
-
return
|
1305
|
+
return Me;
|
1308
1306
|
},
|
1309
1307
|
get enableTextSelection() {
|
1310
|
-
return
|
1308
|
+
return Oe;
|
1311
1309
|
},
|
1312
1310
|
disableImageDrag: Ti,
|
1313
1311
|
enableImageDrag: Mi,
|
1314
1312
|
preventOutline: Si,
|
1315
1313
|
restoreOutline: Ge,
|
1316
|
-
getSizedParentNode:
|
1314
|
+
getSizedParentNode: kn,
|
1317
1315
|
getScale: Ci
|
1318
1316
|
};
|
1319
1317
|
function S(t, e, i, n) {
|
@@ -1330,12 +1328,12 @@ function ta() {
|
|
1330
1328
|
var Ct = "_leaflet_events";
|
1331
1329
|
function W(t, e, i, n) {
|
1332
1330
|
if (arguments.length === 1)
|
1333
|
-
|
1331
|
+
zn(t), delete t[Ct];
|
1334
1332
|
else if (e && typeof e == "object")
|
1335
1333
|
for (var o in e)
|
1336
1334
|
Ai(t, o, e[o], i);
|
1337
1335
|
else if (e = G(e), arguments.length === 2)
|
1338
|
-
|
1336
|
+
zn(t, function(u) {
|
1339
1337
|
return w(e, u) !== -1;
|
1340
1338
|
});
|
1341
1339
|
else
|
@@ -1343,7 +1341,7 @@ function ta() {
|
|
1343
1341
|
Ai(t, e[s], i, n);
|
1344
1342
|
return this;
|
1345
1343
|
}
|
1346
|
-
function
|
1344
|
+
function zn(t, e) {
|
1347
1345
|
for (var i in t[Ct]) {
|
1348
1346
|
var n = i.split(/\d/)[0];
|
1349
1347
|
(!e || e(n)) && Ai(t, n, null, null, i);
|
@@ -1361,7 +1359,7 @@ function ta() {
|
|
1361
1359
|
var s = function(u) {
|
1362
1360
|
return i.call(n || t, u || window.event);
|
1363
1361
|
}, h = s;
|
1364
|
-
!y.touchNative && y.pointer && e.indexOf("touch") === 0 ? s =
|
1362
|
+
!y.touchNative && y.pointer && e.indexOf("touch") === 0 ? s = gs(t, e, s) : y.touch && e === "dblclick" ? s = Ts(t, s) : "addEventListener" in t ? e === "touchstart" || e === "touchmove" || e === "wheel" || e === "mousewheel" ? t.addEventListener(ki[e] || e, s, y.passiveEvents ? { passive: !1 } : !1) : e === "mouseenter" || e === "mouseleave" ? (s = function(u) {
|
1365
1363
|
u = u || window.event, Bi(t, u) && h(u);
|
1366
1364
|
}, t.addEventListener(ki[e], s, !1)) : t.addEventListener(e, h, !1) : t.attachEvent("on" + e, s), t[Ct] = t[Ct] || {}, t[Ct][o] = s;
|
1367
1365
|
}
|
@@ -1370,31 +1368,31 @@ function ta() {
|
|
1370
1368
|
var s = t[Ct] && t[Ct][o];
|
1371
1369
|
if (!s)
|
1372
1370
|
return this;
|
1373
|
-
!y.touchNative && y.pointer && e.indexOf("touch") === 0 ?
|
1371
|
+
!y.touchNative && y.pointer && e.indexOf("touch") === 0 ? vs(t, e, s) : y.touch && e === "dblclick" ? Ms(t, s) : "removeEventListener" in t ? t.removeEventListener(ki[e] || e, s, !1) : t.detachEvent("on" + e, s), t[Ct][o] = null;
|
1374
1372
|
}
|
1375
|
-
function
|
1373
|
+
function ee(t) {
|
1376
1374
|
return t.stopPropagation ? t.stopPropagation() : t.originalEvent ? t.originalEvent._stopped = !0 : t.cancelBubble = !0, this;
|
1377
1375
|
}
|
1378
1376
|
function Ei(t) {
|
1379
|
-
return zi(t, "wheel",
|
1377
|
+
return zi(t, "wheel", ee), this;
|
1380
1378
|
}
|
1381
|
-
function
|
1382
|
-
return S(t, "mousedown touchstart dblclick contextmenu",
|
1379
|
+
function Ce(t) {
|
1380
|
+
return S(t, "mousedown touchstart dblclick contextmenu", ee), t._leaflet_disable_click = !0, this;
|
1383
1381
|
}
|
1384
|
-
function
|
1382
|
+
function ot(t) {
|
1385
1383
|
return t.preventDefault ? t.preventDefault() : t.returnValue = !1, this;
|
1386
1384
|
}
|
1387
|
-
function
|
1388
|
-
return
|
1385
|
+
function ie(t) {
|
1386
|
+
return ot(t), ee(t), this;
|
1389
1387
|
}
|
1390
|
-
function
|
1388
|
+
function An(t) {
|
1391
1389
|
if (t.composedPath)
|
1392
1390
|
return t.composedPath();
|
1393
1391
|
for (var e = [], i = t.target; i; )
|
1394
1392
|
e.push(i), i = i.parentNode;
|
1395
1393
|
return e;
|
1396
1394
|
}
|
1397
|
-
function
|
1395
|
+
function En(t, e) {
|
1398
1396
|
if (!e)
|
1399
1397
|
return new O(t.clientX, t.clientY);
|
1400
1398
|
var i = Ci(e), n = i.boundingClientRect;
|
@@ -1405,11 +1403,11 @@ function ta() {
|
|
1405
1403
|
(t.clientY - n.top) / i.y - e.clientTop
|
1406
1404
|
);
|
1407
1405
|
}
|
1408
|
-
var
|
1409
|
-
function
|
1406
|
+
var Cs = y.linux && y.chrome ? window.devicePixelRatio : y.mac ? window.devicePixelRatio * 3 : window.devicePixelRatio > 0 ? 2 * window.devicePixelRatio : 1;
|
1407
|
+
function Bn(t) {
|
1410
1408
|
return y.edge ? t.wheelDeltaY / 2 : (
|
1411
1409
|
// Don't trust window-geometry-based delta
|
1412
|
-
t.deltaY && t.deltaMode === 0 ? -t.deltaY /
|
1410
|
+
t.deltaY && t.deltaMode === 0 ? -t.deltaY / Cs : (
|
1413
1411
|
// Pixels
|
1414
1412
|
t.deltaY && t.deltaMode === 1 ? -t.deltaY * 20 : (
|
1415
1413
|
// Lines
|
@@ -1445,29 +1443,29 @@ function ta() {
|
|
1445
1443
|
}
|
1446
1444
|
return i !== t;
|
1447
1445
|
}
|
1448
|
-
var
|
1446
|
+
var ks = {
|
1449
1447
|
__proto__: null,
|
1450
1448
|
on: S,
|
1451
1449
|
off: W,
|
1452
|
-
stopPropagation:
|
1450
|
+
stopPropagation: ee,
|
1453
1451
|
disableScrollPropagation: Ei,
|
1454
|
-
disableClickPropagation:
|
1455
|
-
preventDefault:
|
1456
|
-
stop:
|
1457
|
-
getPropagationPath:
|
1458
|
-
getMousePosition:
|
1459
|
-
getWheelDelta:
|
1452
|
+
disableClickPropagation: Ce,
|
1453
|
+
preventDefault: ot,
|
1454
|
+
stop: ie,
|
1455
|
+
getPropagationPath: An,
|
1456
|
+
getMousePosition: En,
|
1457
|
+
getWheelDelta: Bn,
|
1460
1458
|
isExternalTarget: Bi,
|
1461
1459
|
addListener: S,
|
1462
1460
|
removeListener: W
|
1463
|
-
},
|
1461
|
+
}, In = be.extend({
|
1464
1462
|
// @method run(el: HTMLElement, newPos: Point, duration?: Number, easeLinearity?: Number)
|
1465
1463
|
// Run an animation of a given element to a new position, optionally setting
|
1466
1464
|
// duration in seconds (`0.25` by default) and easing linearity factor (3rd
|
1467
1465
|
// argument of the [cubic bezier curve](https://cubic-bezier.com/#0,0,.5,1),
|
1468
1466
|
// `0.5` by default).
|
1469
1467
|
run: function(t, e, i, n) {
|
1470
|
-
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();
|
1471
1469
|
},
|
1472
1470
|
// @method stop()
|
1473
1471
|
// Stops the animation (if currently running).
|
@@ -1475,7 +1473,7 @@ function ta() {
|
|
1475
1473
|
this._inProgress && (this._step(!0), this._complete());
|
1476
1474
|
},
|
1477
1475
|
_animate: function() {
|
1478
|
-
this._animId =
|
1476
|
+
this._animId = nt(this._animate, this), this._step();
|
1479
1477
|
},
|
1480
1478
|
_step: function(t) {
|
1481
1479
|
var e = +/* @__PURE__ */ new Date() - this._startTime, i = this._duration * 1e3;
|
@@ -1491,7 +1489,7 @@ function ta() {
|
|
1491
1489
|
_easeOut: function(t) {
|
1492
1490
|
return 1 - Math.pow(1 - t, this._easeOutPower);
|
1493
1491
|
}
|
1494
|
-
}), I =
|
1492
|
+
}), I = be.extend({
|
1495
1493
|
options: {
|
1496
1494
|
// @section Map State Options
|
1497
1495
|
// @option crs: CRS = L.CRS.EPSG3857
|
@@ -1569,7 +1567,7 @@ function ta() {
|
|
1569
1567
|
trackResize: !0
|
1570
1568
|
},
|
1571
1569
|
initialize: function(t, e) {
|
1572
|
-
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);
|
1573
1571
|
},
|
1574
1572
|
// @section Methods for modifying map state
|
1575
1573
|
// @method setView(center: LatLng, zoom: Number, options?: Zoom/pan options): this
|
@@ -1650,7 +1648,7 @@ function ta() {
|
|
1650
1648
|
return this.fire("moveend");
|
1651
1649
|
if (e.animate !== !0 && !this.getSize().contains(t))
|
1652
1650
|
return this._resetView(this.unproject(this.project(this.getCenter()).add(t)), this.getZoom()), this;
|
1653
|
-
if (this._panAnim || (this._panAnim = new
|
1651
|
+
if (this._panAnim || (this._panAnim = new In(), this._panAnim.on({
|
1654
1652
|
step: this._onPanTransitionStep,
|
1655
1653
|
end: this._onPanTransitionEnd
|
1656
1654
|
}, this)), e.noMoveStart || this.fire("movestart"), e.animate !== !1) {
|
@@ -1672,38 +1670,38 @@ function ta() {
|
|
1672
1670
|
t = B(t), e = e === void 0 ? h : e;
|
1673
1671
|
var u = Math.max(s.x, s.y), c = u * this.getZoomScale(h, e), f = o.distanceTo(n) || 1, _ = 1.42, P = _ * _;
|
1674
1672
|
function k(tt) {
|
1675
|
-
var si = tt ? -1 : 1,
|
1676
|
-
return
|
1673
|
+
var si = tt ? -1 : 1, vr = tt ? c : u, yr = c * c - u * u + si * P * P * f * f, wr = 2 * vr * P * f, qi = yr / wr, _o = Math.sqrt(qi * qi + 1) - qi, br = _o < 1e-9 ? -18 : Math.log(_o);
|
1674
|
+
return br;
|
1677
1675
|
}
|
1678
1676
|
function ht(tt) {
|
1679
1677
|
return (Math.exp(tt) - Math.exp(-tt)) / 2;
|
1680
1678
|
}
|
1681
|
-
function
|
1679
|
+
function it(tt) {
|
1682
1680
|
return (Math.exp(tt) + Math.exp(-tt)) / 2;
|
1683
1681
|
}
|
1684
1682
|
function bt(tt) {
|
1685
|
-
return ht(tt) /
|
1683
|
+
return ht(tt) / it(tt);
|
1686
1684
|
}
|
1687
1685
|
var pt = k(0);
|
1688
|
-
function
|
1689
|
-
return u * (
|
1686
|
+
function me(tt) {
|
1687
|
+
return u * (it(pt) / it(pt + _ * tt));
|
1690
1688
|
}
|
1691
|
-
function
|
1692
|
-
return u * (
|
1689
|
+
function pr(tt) {
|
1690
|
+
return u * (it(pt) * bt(pt + _ * tt) - ht(pt)) / P;
|
1693
1691
|
}
|
1694
|
-
function
|
1692
|
+
function mr(tt) {
|
1695
1693
|
return 1 - Math.pow(1 - tt, 1.5);
|
1696
1694
|
}
|
1697
|
-
var
|
1698
|
-
function
|
1699
|
-
var tt = (Date.now() -
|
1700
|
-
tt <= 1 ? (this._flyToFrame =
|
1701
|
-
this.unproject(n.add(o.subtract(n).multiplyBy(
|
1702
|
-
this.getScaleZoom(u /
|
1695
|
+
var _r = Date.now(), po = (k(1) - pt) / _, gr = i.duration ? 1e3 * i.duration : 1e3 * po * 0.8;
|
1696
|
+
function mo() {
|
1697
|
+
var tt = (Date.now() - _r) / gr, si = mr(tt) * po;
|
1698
|
+
tt <= 1 ? (this._flyToFrame = nt(mo, this), this._move(
|
1699
|
+
this.unproject(n.add(o.subtract(n).multiplyBy(pr(si) / f)), h),
|
1700
|
+
this.getScaleZoom(u / me(si), h),
|
1703
1701
|
{ flyTo: !0 }
|
1704
1702
|
)) : this._move(t, e)._moveEnd(!0);
|
1705
1703
|
}
|
1706
|
-
return this._moveStart(!0, i.noMoveStart),
|
1704
|
+
return this._moveStart(!0, i.noMoveStart), mo.call(this), this;
|
1707
1705
|
},
|
1708
1706
|
// @method flyToBounds(bounds: LatLngBounds, options?: fitBounds options): this
|
1709
1707
|
// Sets the view of the map with a smooth animation like [`flyTo`](#map-flyto),
|
@@ -2061,7 +2059,7 @@ function ta() {
|
|
2061
2059
|
// Given a MouseEvent object, returns the pixel coordinate relative to the
|
2062
2060
|
// map container where the event took place.
|
2063
2061
|
mouseEventToContainerPoint: function(t) {
|
2064
|
-
return
|
2062
|
+
return En(t, this._container);
|
2065
2063
|
},
|
2066
2064
|
// @method mouseEventToLayerPoint(ev: MouseEvent): Point
|
2067
2065
|
// Given a MouseEvent object, returns the pixel coordinate relative to
|
@@ -2077,7 +2075,7 @@ function ta() {
|
|
2077
2075
|
},
|
2078
2076
|
// map initialization methods
|
2079
2077
|
_initContainer: function(t) {
|
2080
|
-
var e = this._container =
|
2078
|
+
var e = this._container = Cn(t);
|
2081
2079
|
if (e) {
|
2082
2080
|
if (e._leaflet_id)
|
2083
2081
|
throw new Error("Map container is already initialized.");
|
@@ -2087,7 +2085,7 @@ function ta() {
|
|
2087
2085
|
_initLayout: function() {
|
2088
2086
|
var t = this._container;
|
2089
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" : ""));
|
2090
|
-
var e =
|
2088
|
+
var e = Te(t, "position");
|
2091
2089
|
e !== "absolute" && e !== "relative" && e !== "fixed" && e !== "sticky" && (t.style.position = "relative"), this._initPanes(), this._initControlPos && this._initControlPos();
|
2092
2090
|
},
|
2093
2091
|
_initPanes: function() {
|
@@ -2138,7 +2136,7 @@ function ta() {
|
|
2138
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);
|
2139
2137
|
},
|
2140
2138
|
_onResize: function() {
|
2141
|
-
vt(this._resizeRequest), this._resizeRequest =
|
2139
|
+
vt(this._resizeRequest), this._resizeRequest = nt(
|
2142
2140
|
function() {
|
2143
2141
|
this.invalidateSize({ debounceMoveend: !0 });
|
2144
2142
|
},
|
@@ -2191,7 +2189,7 @@ function ta() {
|
|
2191
2189
|
o = s.concat(o);
|
2192
2190
|
}
|
2193
2191
|
if (o.length) {
|
2194
|
-
e === "contextmenu" &&
|
2192
|
+
e === "contextmenu" && ot(t);
|
2195
2193
|
var u = o[0], c = {
|
2196
2194
|
originalEvent: t
|
2197
2195
|
};
|
@@ -2221,7 +2219,7 @@ function ta() {
|
|
2221
2219
|
},
|
2222
2220
|
// private methods for getting map state
|
2223
2221
|
_getMapPanePos: function() {
|
2224
|
-
return
|
2222
|
+
return te(this._mapPane) || new O(0, 0);
|
2225
2223
|
},
|
2226
2224
|
_moved: function() {
|
2227
2225
|
var t = this._getMapPanePos();
|
@@ -2299,7 +2297,7 @@ function ta() {
|
|
2299
2297
|
var t = this._proxy = D("div", "leaflet-proxy leaflet-zoom-animated");
|
2300
2298
|
this._panes.mapPane.appendChild(t), this.on("zoomanim", function(e) {
|
2301
2299
|
var i = bi, n = this._proxy.style[i];
|
2302
|
-
|
2300
|
+
$t(this._proxy, this.project(e.center, e.zoom), this.getZoomScale(e.zoom, 1)), n === this._proxy.style[i] && this._animatingZoom && this._onZoomTransitionEnd();
|
2303
2301
|
}, this), this.on("load moveend", this._animMoveEnd, this), this._on("unload", this._destroyAnimProxy, this);
|
2304
2302
|
},
|
2305
2303
|
_destroyAnimProxy: function() {
|
@@ -2307,7 +2305,7 @@ function ta() {
|
|
2307
2305
|
},
|
2308
2306
|
_animMoveEnd: function() {
|
2309
2307
|
var t = this.getCenter(), e = this.getZoom();
|
2310
|
-
|
2308
|
+
$t(this._proxy, this.project(t, e), this.getZoomScale(e, 1));
|
2311
2309
|
},
|
2312
2310
|
_catchTransitionEnd: function(t) {
|
2313
2311
|
this._animatingZoom && t.propertyName.indexOf("transform") >= 0 && this._onZoomTransitionEnd();
|
@@ -2321,7 +2319,7 @@ function ta() {
|
|
2321
2319
|
if (i = i || {}, !this._zoomAnimated || i.animate === !1 || this._nothingToAnimate() || Math.abs(e - this._zoom) > this.options.zoomAnimationThreshold)
|
2322
2320
|
return !1;
|
2323
2321
|
var n = this.getZoomScale(e), o = this._getCenterOffset(t)._divideBy(1 - 1 / n);
|
2324
|
-
return i.animate !== !0 && !this.getSize().contains(o) ? !1 : (
|
2322
|
+
return i.animate !== !0 && !this.getSize().contains(o) ? !1 : (nt(function() {
|
2325
2323
|
this._moveStart(!0, i.noMoveStart || !1)._animateZoom(t, e, !0);
|
2326
2324
|
}, this), !0);
|
2327
2325
|
},
|
@@ -2336,10 +2334,10 @@ function ta() {
|
|
2336
2334
|
this._animatingZoom && (this._mapPane && Y(this._mapPane, "leaflet-zoom-anim"), this._animatingZoom = !1, this._move(this._animateToCenter, this._animateToZoom, void 0, !0), this._tempFireZoomEvent && this.fire("zoom"), delete this._tempFireZoomEvent, this.fire("move"), this._moveEnd(!0));
|
2337
2335
|
}
|
2338
2336
|
});
|
2339
|
-
function
|
2337
|
+
function zs(t, e) {
|
2340
2338
|
return new I(t, e);
|
2341
2339
|
}
|
2342
|
-
var xt =
|
2340
|
+
var xt = It.extend({
|
2343
2341
|
// @section
|
2344
2342
|
// @aka Control Options
|
2345
2343
|
options: {
|
@@ -2386,7 +2384,7 @@ function ta() {
|
|
2386
2384
|
_refocusOnMap: function(t) {
|
2387
2385
|
this._map && t && t.screenX > 0 && t.screenY > 0 && this._map.getContainer().focus();
|
2388
2386
|
}
|
2389
|
-
}),
|
2387
|
+
}), ke = function(t) {
|
2390
2388
|
return new xt(t);
|
2391
2389
|
};
|
2392
2390
|
I.include({
|
@@ -2414,7 +2412,7 @@ function ta() {
|
|
2414
2412
|
J(this._controlContainer), delete this._controlCorners, delete this._controlContainer;
|
2415
2413
|
}
|
2416
2414
|
});
|
2417
|
-
var
|
2415
|
+
var Zn = xt.extend({
|
2418
2416
|
// @section
|
2419
2417
|
// @aka Control.Layers options
|
2420
2418
|
options: {
|
@@ -2494,7 +2492,7 @@ function ta() {
|
|
2494
2492
|
},
|
2495
2493
|
_initLayout: function() {
|
2496
2494
|
var t = "leaflet-control-layers", e = this._container = D("div", t), i = this.options.collapsed;
|
2497
|
-
e.setAttribute("aria-haspopup", !0),
|
2495
|
+
e.setAttribute("aria-haspopup", !0), Ce(e), Ei(e);
|
2498
2496
|
var n = this._section = D("section", t + "-list");
|
2499
2497
|
i && (this._map.on("click", this.collapse, this), S(e, {
|
2500
2498
|
mouseenter: this._expandSafely,
|
@@ -2507,7 +2505,7 @@ function ta() {
|
|
2507
2505
|
},
|
2508
2506
|
// Certain screen readers intercept the key event and instead send a click event
|
2509
2507
|
click: function(s) {
|
2510
|
-
|
2508
|
+
ot(s), this._expandSafely();
|
2511
2509
|
}
|
2512
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);
|
2513
2511
|
},
|
@@ -2576,14 +2574,14 @@ function ta() {
|
|
2576
2574
|
},
|
2577
2575
|
_expandSafely: function() {
|
2578
2576
|
var t = this._section;
|
2579
|
-
this._preventClick = !0, S(t, "click",
|
2577
|
+
this._preventClick = !0, S(t, "click", ot), this.expand();
|
2580
2578
|
var e = this;
|
2581
2579
|
setTimeout(function() {
|
2582
|
-
W(t, "click",
|
2580
|
+
W(t, "click", ot), e._preventClick = !1;
|
2583
2581
|
});
|
2584
2582
|
}
|
2585
|
-
}),
|
2586
|
-
return new
|
2583
|
+
}), As = function(t, e, i) {
|
2584
|
+
return new Zn(t, e, i);
|
2587
2585
|
}, Ii = xt.extend({
|
2588
2586
|
// @section
|
2589
2587
|
// @aka Control.Zoom options
|
@@ -2635,7 +2633,7 @@ function ta() {
|
|
2635
2633
|
},
|
2636
2634
|
_createButton: function(t, e, i, n, o) {
|
2637
2635
|
var s = D("a", i, n);
|
2638
|
-
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;
|
2639
2637
|
},
|
2640
2638
|
_updateDisabled: function() {
|
2641
2639
|
var t = this._map, e = "leaflet-disabled";
|
@@ -2647,9 +2645,9 @@ function ta() {
|
|
2647
2645
|
}), I.addInitHook(function() {
|
2648
2646
|
this.options.zoomControl && (this.zoomControl = new Ii(), this.addControl(this.zoomControl));
|
2649
2647
|
});
|
2650
|
-
var
|
2648
|
+
var Es = function(t) {
|
2651
2649
|
return new Ii(t);
|
2652
|
-
},
|
2650
|
+
}, Rn = xt.extend({
|
2653
2651
|
// @section
|
2654
2652
|
// @aka Control.Scale options
|
2655
2653
|
options: {
|
@@ -2701,22 +2699,22 @@ function ta() {
|
|
2701
2699
|
var e = Math.pow(10, (Math.floor(t) + "").length - 1), i = t / e;
|
2702
2700
|
return i = i >= 10 ? 10 : i >= 5 ? 5 : i >= 3 ? 3 : i >= 2 ? 2 : 1, e * i;
|
2703
2701
|
}
|
2704
|
-
}),
|
2705
|
-
return new
|
2706
|
-
},
|
2702
|
+
}), Bs = function(t) {
|
2703
|
+
return new Rn(t);
|
2704
|
+
}, Is = '<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg>', Zi = xt.extend({
|
2707
2705
|
// @section
|
2708
2706
|
// @aka Control.Attribution options
|
2709
2707
|
options: {
|
2710
2708
|
position: "bottomright",
|
2711
2709
|
// @option prefix: String|false = 'Leaflet'
|
2712
2710
|
// The HTML text shown before the attributions. Pass `false` to disable.
|
2713
|
-
prefix: '<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">' + (y.inlineSvg ?
|
2711
|
+
prefix: '<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">' + (y.inlineSvg ? Is + " " : "") + "Leaflet</a>"
|
2714
2712
|
},
|
2715
2713
|
initialize: function(t) {
|
2716
2714
|
N(this, t), this._attributions = {};
|
2717
2715
|
},
|
2718
2716
|
onAdd: function(t) {
|
2719
|
-
t.attributionControl = this, this._container = D("div", "leaflet-control-attribution"),
|
2717
|
+
t.attributionControl = this, this._container = D("div", "leaflet-control-attribution"), Ce(this._container);
|
2720
2718
|
for (var e in t._layers)
|
2721
2719
|
t._layers[e].getAttribution && this.addAttribution(t._layers[e].getAttribution());
|
2722
2720
|
return this._update(), t.on("layeradd", this._addAttribution, this), this._container;
|
@@ -2759,11 +2757,11 @@ function ta() {
|
|
2759
2757
|
}), I.addInitHook(function() {
|
2760
2758
|
this.options.attributionControl && new Zi().addTo(this);
|
2761
2759
|
});
|
2762
|
-
var
|
2760
|
+
var Zs = function(t) {
|
2763
2761
|
return new Zi(t);
|
2764
2762
|
};
|
2765
|
-
xt.Layers =
|
2766
|
-
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({
|
2767
2765
|
initialize: function(t) {
|
2768
2766
|
this._map = t;
|
2769
2767
|
},
|
@@ -2792,7 +2790,7 @@ function ta() {
|
|
2792
2790
|
kt.addTo = function(t, e) {
|
2793
2791
|
return t.addHandler(e, this), this;
|
2794
2792
|
};
|
2795
|
-
var
|
2793
|
+
var Rs = { Events: _t }, Nn = y.touch ? "touchstart mousedown" : "mousedown", Gt = be.extend({
|
2796
2794
|
options: {
|
2797
2795
|
// @section
|
2798
2796
|
// @aka Draggable options
|
@@ -2809,12 +2807,12 @@ function ta() {
|
|
2809
2807
|
// @method enable()
|
2810
2808
|
// Enables the dragging ability
|
2811
2809
|
enable: function() {
|
2812
|
-
this._enabled || (S(this._dragStartTarget,
|
2810
|
+
this._enabled || (S(this._dragStartTarget, Nn, this._onDown, this), this._enabled = !0);
|
2813
2811
|
},
|
2814
2812
|
// @method disable()
|
2815
2813
|
// Disables the dragging ability
|
2816
2814
|
disable: function() {
|
2817
|
-
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);
|
2818
2816
|
},
|
2819
2817
|
_onDown: function(t) {
|
2820
2818
|
if (this._enabled && (this._moved = !1, !Li(this._element, "leaflet-zoom-anim"))) {
|
@@ -2822,10 +2820,10 @@ function ta() {
|
|
2822
2820
|
Gt._dragging === this && this.finishDrag();
|
2823
2821
|
return;
|
2824
2822
|
}
|
2825
|
-
if (!(Gt._dragging || t.shiftKey || t.which !== 1 && t.button !== 1 && !t.touches) && (Gt._dragging = this, this._preventOutline && Si(this._element), Ti(),
|
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)) {
|
2826
2824
|
this.fire("down");
|
2827
|
-
var e = t.touches ? t.touches[0] : t, i =
|
2828
|
-
this._startPoint = new O(e.clientX, e.clientY), this._startPos =
|
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);
|
2829
2827
|
var n = t.type === "mousedown";
|
2830
2828
|
S(document, n ? "mousemove" : "touchmove", this._onMove, this), S(document, n ? "mouseup" : "touchend touchcancel", this._onUp, this);
|
2831
2829
|
}
|
@@ -2838,7 +2836,7 @@ function ta() {
|
|
2838
2836
|
return;
|
2839
2837
|
}
|
2840
2838
|
var e = t.touches && t.touches.length === 1 ? t.touches[0] : t, i = new O(e.clientX, e.clientY)._subtract(this._startPoint);
|
2841
|
-
!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,
|
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());
|
2842
2840
|
}
|
2843
2841
|
},
|
2844
2842
|
_updatePosition: function() {
|
@@ -2849,7 +2847,7 @@ function ta() {
|
|
2849
2847
|
this._enabled && this.finishDrag();
|
2850
2848
|
},
|
2851
2849
|
finishDrag: function(t) {
|
2852
|
-
Y(document.body, "leaflet-dragging"), this._lastTarget && (Y(this._lastTarget, "leaflet-drag-target"), this._lastTarget = null), W(document, "mousemove touchmove", this._onMove, this), W(document, "mouseup touchend touchcancel", this._onUp, this), Mi(),
|
2850
|
+
Y(document.body, "leaflet-dragging"), this._lastTarget && (Y(this._lastTarget, "leaflet-drag-target"), this._lastTarget = null), W(document, "mousemove touchmove", this._onMove, this), W(document, "mouseup touchend touchcancel", this._onUp, this), Mi(), Oe();
|
2853
2851
|
var e = this._moved && this._moving;
|
2854
2852
|
this._moving = !1, Gt._dragging = !1, e && this.fire("dragend", {
|
2855
2853
|
noInertia: t,
|
@@ -2857,34 +2855,34 @@ function ta() {
|
|
2857
2855
|
});
|
2858
2856
|
}
|
2859
2857
|
});
|
2860
|
-
function
|
2858
|
+
function Dn(t, e, i) {
|
2861
2859
|
var n, o = [1, 4, 2, 8], s, h, u, c, f, _, P, k;
|
2862
2860
|
for (s = 0, _ = t.length; s < _; s++)
|
2863
|
-
t[s]._code =
|
2861
|
+
t[s]._code = ne(t[s], e);
|
2864
2862
|
for (u = 0; u < 4; u++) {
|
2865
2863
|
for (P = o[u], n = [], s = 0, _ = t.length, h = _ - 1; s < _; h = s++)
|
2866
|
-
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));
|
2867
2865
|
t = n;
|
2868
2866
|
}
|
2869
2867
|
return t;
|
2870
2868
|
}
|
2871
|
-
function
|
2869
|
+
function Hn(t, e) {
|
2872
2870
|
var i, n, o, s, h, u, c, f, _;
|
2873
2871
|
if (!t || t.length === 0)
|
2874
2872
|
throw new Error("latlngs not passed");
|
2875
2873
|
wt(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);
|
2876
2874
|
var P = B([0, 0]), k = Q(t), ht = k.getNorthWest().distanceTo(k.getSouthWest()) * k.getNorthEast().distanceTo(k.getNorthWest());
|
2877
2875
|
ht < 1700 && (P = Ri(t));
|
2878
|
-
var
|
2879
|
-
for (i = 0; i <
|
2876
|
+
var it = t.length, bt = [];
|
2877
|
+
for (i = 0; i < it; i++) {
|
2880
2878
|
var pt = B(t[i]);
|
2881
2879
|
bt.push(e.project(B([pt.lat - P.lat, pt.lng - P.lng])));
|
2882
2880
|
}
|
2883
|
-
for (u = c = f = 0, i = 0, n =
|
2881
|
+
for (u = c = f = 0, i = 0, n = it - 1; i < it; n = i++)
|
2884
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;
|
2885
2883
|
u === 0 ? _ = bt[0] : _ = [c / u, f / u];
|
2886
|
-
var
|
2887
|
-
return B([
|
2884
|
+
var me = e.unproject(M(_));
|
2885
|
+
return B([me.lat + P.lat, me.lng + P.lng]);
|
2888
2886
|
}
|
2889
2887
|
function Ri(t) {
|
2890
2888
|
for (var e = 0, i = 0, n = 0, o = 0; o < t.length; o++) {
|
@@ -2893,25 +2891,25 @@ function ta() {
|
|
2893
2891
|
}
|
2894
2892
|
return B([e / n, i / n]);
|
2895
2893
|
}
|
2896
|
-
var
|
2894
|
+
var Ns = {
|
2897
2895
|
__proto__: null,
|
2898
|
-
clipPolygon:
|
2899
|
-
polygonCenter:
|
2896
|
+
clipPolygon: Dn,
|
2897
|
+
polygonCenter: Hn,
|
2900
2898
|
centroid: Ri
|
2901
2899
|
};
|
2902
|
-
function
|
2900
|
+
function Fn(t, e) {
|
2903
2901
|
if (!e || !t.length)
|
2904
2902
|
return t.slice();
|
2905
2903
|
var i = e * e;
|
2906
|
-
return t =
|
2904
|
+
return t = Fs(t, i), t = Hs(t, i), t;
|
2907
2905
|
}
|
2908
|
-
function
|
2909
|
-
return Math.sqrt(
|
2906
|
+
function Vn(t, e, i) {
|
2907
|
+
return Math.sqrt(ze(t, e, i, !0));
|
2910
2908
|
}
|
2911
|
-
function
|
2912
|
-
return
|
2909
|
+
function Ds(t, e, i) {
|
2910
|
+
return ze(t, e, i);
|
2913
2911
|
}
|
2914
|
-
function
|
2912
|
+
function Hs(t, e) {
|
2915
2913
|
var i = t.length, n = typeof Uint8Array < "u" ? Uint8Array : Array, o = new n(i);
|
2916
2914
|
o[0] = o[i - 1] = 1, Ni(t, o, e, 0, i - 1);
|
2917
2915
|
var s, h = [];
|
@@ -2922,66 +2920,66 @@ function ta() {
|
|
2922
2920
|
function Ni(t, e, i, n, o) {
|
2923
2921
|
var s = 0, h, u, c;
|
2924
2922
|
for (u = n + 1; u <= o - 1; u++)
|
2925
|
-
c =
|
2923
|
+
c = ze(t[u], t[n], t[o], !0), c > s && (h = u, s = c);
|
2926
2924
|
s > i && (e[h] = 1, Ni(t, e, i, n, h), Ni(t, e, i, h, o));
|
2927
2925
|
}
|
2928
|
-
function
|
2926
|
+
function Fs(t, e) {
|
2929
2927
|
for (var i = [t[0]], n = 1, o = 0, s = t.length; n < s; n++)
|
2930
|
-
|
2928
|
+
Vs(t[n], t[o]) > e && (i.push(t[n]), o = n);
|
2931
2929
|
return o < s - 1 && i.push(t[s - 1]), i;
|
2932
2930
|
}
|
2933
|
-
var
|
2934
|
-
function
|
2935
|
-
var s = n ?
|
2936
|
-
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; ; ) {
|
2937
2935
|
if (!(s | h))
|
2938
2936
|
return [t, e];
|
2939
2937
|
if (s & h)
|
2940
2938
|
return !1;
|
2941
|
-
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);
|
2942
2940
|
}
|
2943
2941
|
}
|
2944
2942
|
function Ke(t, e, i, n, o) {
|
2945
2943
|
var s = e.x - t.x, h = e.y - t.y, u = n.min, c = n.max, f, _;
|
2946
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);
|
2947
2945
|
}
|
2948
|
-
function
|
2946
|
+
function ne(t, e) {
|
2949
2947
|
var i = 0;
|
2950
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;
|
2951
2949
|
}
|
2952
|
-
function
|
2950
|
+
function Vs(t, e) {
|
2953
2951
|
var i = e.x - t.x, n = e.y - t.y;
|
2954
2952
|
return i * i + n * n;
|
2955
2953
|
}
|
2956
|
-
function
|
2954
|
+
function ze(t, e, i, n) {
|
2957
2955
|
var o = e.x, s = e.y, h = i.x - o, u = i.y - s, c = h * h + u * u, f;
|
2958
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);
|
2959
2957
|
}
|
2960
2958
|
function wt(t) {
|
2961
2959
|
return !V(t[0]) || typeof t[0][0] != "object" && typeof t[0][0] < "u";
|
2962
2960
|
}
|
2963
|
-
function
|
2961
|
+
function qn(t) {
|
2964
2962
|
return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."), wt(t);
|
2965
2963
|
}
|
2966
|
-
function
|
2964
|
+
function jn(t, e) {
|
2967
2965
|
var i, n, o, s, h, u, c, f;
|
2968
2966
|
if (!t || t.length === 0)
|
2969
2967
|
throw new Error("latlngs not passed");
|
2970
2968
|
wt(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);
|
2971
2969
|
var _ = B([0, 0]), P = Q(t), k = P.getNorthWest().distanceTo(P.getSouthWest()) * P.getNorthEast().distanceTo(P.getNorthWest());
|
2972
2970
|
k < 1700 && (_ = Ri(t));
|
2973
|
-
var ht = t.length,
|
2971
|
+
var ht = t.length, it = [];
|
2974
2972
|
for (i = 0; i < ht; i++) {
|
2975
2973
|
var bt = B(t[i]);
|
2976
|
-
|
2974
|
+
it.push(e.project(B([bt.lat - _.lat, bt.lng - _.lng])));
|
2977
2975
|
}
|
2978
2976
|
for (i = 0, n = 0; i < ht - 1; i++)
|
2979
|
-
n +=
|
2977
|
+
n += it[i].distanceTo(it[i + 1]) / 2;
|
2980
2978
|
if (n === 0)
|
2981
|
-
f =
|
2979
|
+
f = it[0];
|
2982
2980
|
else
|
2983
2981
|
for (i = 0, s = 0; i < ht - 1; i++)
|
2984
|
-
if (h =
|
2982
|
+
if (h = it[i], u = it[i + 1], o = h.distanceTo(u), s += o, s > n) {
|
2985
2983
|
c = (s - n) / o, f = [
|
2986
2984
|
u.x - c * (u.x - h.x),
|
2987
2985
|
u.y - c * (u.y - h.y)
|
@@ -2991,18 +2989,18 @@ function ta() {
|
|
2991
2989
|
var pt = e.unproject(M(f));
|
2992
2990
|
return B([pt.lat + _.lat, pt.lng + _.lng]);
|
2993
2991
|
}
|
2994
|
-
var
|
2992
|
+
var Ws = {
|
2995
2993
|
__proto__: null,
|
2996
|
-
simplify:
|
2997
|
-
pointToSegmentDistance:
|
2998
|
-
closestPointOnSegment:
|
2999
|
-
clipSegment:
|
2994
|
+
simplify: Fn,
|
2995
|
+
pointToSegmentDistance: Vn,
|
2996
|
+
closestPointOnSegment: Ds,
|
2997
|
+
clipSegment: Un,
|
3000
2998
|
_getEdgeIntersection: Ke,
|
3001
|
-
_getBitCode:
|
3002
|
-
_sqClosestPointOnSegment:
|
2999
|
+
_getBitCode: ne,
|
3000
|
+
_sqClosestPointOnSegment: ze,
|
3003
3001
|
isFlat: wt,
|
3004
|
-
_flat:
|
3005
|
-
polylineCenter:
|
3002
|
+
_flat: qn,
|
3003
|
+
polylineCenter: jn
|
3006
3004
|
}, Di = {
|
3007
3005
|
project: function(t) {
|
3008
3006
|
return new O(t.lng, t.lat);
|
@@ -3024,25 +3022,25 @@ function ta() {
|
|
3024
3022
|
f = o * Math.sin(h), f = Math.pow((1 - f) / (1 + f), o / 2), c = Math.PI / 2 - 2 * Math.atan(s * f) - h, h += c;
|
3025
3023
|
return new F(h * e, t.x * e / i);
|
3026
3024
|
}
|
3027
|
-
},
|
3025
|
+
}, Us = {
|
3028
3026
|
__proto__: null,
|
3029
3027
|
LonLat: Di,
|
3030
3028
|
Mercator: Hi,
|
3031
3029
|
SphericalMercator: di
|
3032
|
-
},
|
3030
|
+
}, qs = p({}, jt, {
|
3033
3031
|
code: "EPSG:3395",
|
3034
3032
|
projection: Hi,
|
3035
3033
|
transformation: function() {
|
3036
3034
|
var t = 0.5 / (Math.PI * Hi.R);
|
3037
|
-
return
|
3035
|
+
return Le(t, 0.5, -t, 0.5);
|
3038
3036
|
}()
|
3039
|
-
}),
|
3037
|
+
}), Gn = p({}, jt, {
|
3040
3038
|
code: "EPSG:4326",
|
3041
3039
|
projection: Di,
|
3042
|
-
transformation:
|
3043
|
-
}),
|
3040
|
+
transformation: Le(1 / 180, 1, -1 / 180, 0.5)
|
3041
|
+
}), js = p({}, Zt, {
|
3044
3042
|
projection: Di,
|
3045
|
-
transformation:
|
3043
|
+
transformation: Le(1, 0, -1, 0),
|
3046
3044
|
scale: function(t) {
|
3047
3045
|
return Math.pow(2, t);
|
3048
3046
|
},
|
@@ -3055,8 +3053,8 @@ function ta() {
|
|
3055
3053
|
},
|
3056
3054
|
infinite: !0
|
3057
3055
|
});
|
3058
|
-
|
3059
|
-
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({
|
3060
3058
|
// Classes extending `L.Layer` will inherit the following options:
|
3061
3059
|
options: {
|
3062
3060
|
// @option pane: String = 'overlayPane'
|
@@ -3173,7 +3171,7 @@ function ta() {
|
|
3173
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);
|
3174
3172
|
}
|
3175
3173
|
});
|
3176
|
-
var
|
3174
|
+
var ue = Tt.extend({
|
3177
3175
|
initialize: function(t, e) {
|
3178
3176
|
N(this, e), this._layers = {};
|
3179
3177
|
var i, n;
|
@@ -3259,14 +3257,14 @@ function ta() {
|
|
3259
3257
|
getLayerId: function(t) {
|
3260
3258
|
return v(t);
|
3261
3259
|
}
|
3262
|
-
}),
|
3263
|
-
return new
|
3264
|
-
},
|
3260
|
+
}), Gs = function(t, e) {
|
3261
|
+
return new ue(t, e);
|
3262
|
+
}, Rt = ue.extend({
|
3265
3263
|
addLayer: function(t) {
|
3266
|
-
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 }));
|
3267
3265
|
},
|
3268
3266
|
removeLayer: function(t) {
|
3269
|
-
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;
|
3270
3268
|
},
|
3271
3269
|
// @method setStyle(style: Path options): this
|
3272
3270
|
// Sets the given path options to each layer of the group that has a `setStyle` method.
|
@@ -3293,9 +3291,9 @@ function ta() {
|
|
3293
3291
|
}
|
3294
3292
|
return t;
|
3295
3293
|
}
|
3296
|
-
}),
|
3297
|
-
return new
|
3298
|
-
},
|
3294
|
+
}), Ks = function(t, e) {
|
3295
|
+
return new Rt(t, e);
|
3296
|
+
}, ce = It.extend({
|
3299
3297
|
/* @section
|
3300
3298
|
* @aka Icon options
|
3301
3299
|
*
|
@@ -3381,10 +3379,10 @@ function ta() {
|
|
3381
3379
|
return y.retina && this.options[t + "RetinaUrl"] || this.options[t + "Url"];
|
3382
3380
|
}
|
3383
3381
|
});
|
3384
|
-
function
|
3385
|
-
return new
|
3382
|
+
function Js(t) {
|
3383
|
+
return new ce(t);
|
3386
3384
|
}
|
3387
|
-
var
|
3385
|
+
var Ae = ce.extend({
|
3388
3386
|
options: {
|
3389
3387
|
iconUrl: "marker-icon.png",
|
3390
3388
|
iconRetinaUrl: "marker-icon-2x.png",
|
@@ -3396,7 +3394,7 @@ function ta() {
|
|
3396
3394
|
shadowSize: [41, 41]
|
3397
3395
|
},
|
3398
3396
|
_getIconUrl: function(t) {
|
3399
|
-
return typeof
|
3397
|
+
return typeof Ae.imagePath != "string" && (Ae.imagePath = this._detectIconPath()), (this.options.imagePath || Ae.imagePath) + ce.prototype._getIconUrl.call(this, t);
|
3400
3398
|
},
|
3401
3399
|
_stripUrl: function(t) {
|
3402
3400
|
var e = function(i, n, o) {
|
@@ -3406,13 +3404,13 @@ function ta() {
|
|
3406
3404
|
return t = e(t, /^url\((['"])?(.+)\1\)$/, 2), t && e(t, /^(.*)marker-icon\.png$/, 1);
|
3407
3405
|
},
|
3408
3406
|
_detectIconPath: function() {
|
3409
|
-
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");
|
3410
3408
|
if (document.body.removeChild(t), e = this._stripUrl(e), e)
|
3411
3409
|
return e;
|
3412
3410
|
var i = document.querySelector('link[href$="leaflet.css"]');
|
3413
3411
|
return i ? i.href.substring(0, i.href.length - 11 - 1) : "";
|
3414
3412
|
}
|
3415
|
-
}),
|
3413
|
+
}), Kn = kt.extend({
|
3416
3414
|
initialize: function(t) {
|
3417
3415
|
this._marker = t;
|
3418
3416
|
},
|
@@ -3437,7 +3435,7 @@ function ta() {
|
|
3437
3435
|
return this._draggable && this._draggable._moved;
|
3438
3436
|
},
|
3439
3437
|
_adjustPan: function(t) {
|
3440
|
-
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(
|
3441
3439
|
h.min._subtract(u).add(o),
|
3442
3440
|
h.max._subtract(u).subtract(o)
|
3443
3441
|
);
|
@@ -3446,17 +3444,17 @@ function ta() {
|
|
3446
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),
|
3447
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)
|
3448
3446
|
).multiplyBy(n);
|
3449
|
-
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));
|
3450
3448
|
}
|
3451
3449
|
},
|
3452
3450
|
_onDragStart: function() {
|
3453
3451
|
this._oldLatLng = this._marker.getLatLng(), this._marker.closePopup && this._marker.closePopup(), this._marker.fire("movestart").fire("dragstart");
|
3454
3452
|
},
|
3455
3453
|
_onPreDrag: function(t) {
|
3456
|
-
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)));
|
3457
3455
|
},
|
3458
3456
|
_onDrag: function(t) {
|
3459
|
-
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);
|
3460
3458
|
i && $(i, n), e._latlng = o, t.latlng = o, t.oldLatLng = this._oldLatLng, e.fire("move", t).fire("drag", t);
|
3461
3459
|
},
|
3462
3460
|
_onDragEnd: function(t) {
|
@@ -3470,7 +3468,7 @@ function ta() {
|
|
3470
3468
|
// Icon instance to use for rendering the marker.
|
3471
3469
|
// See [Icon documentation](#L.Icon) for details on how to customize the marker icon.
|
3472
3470
|
// If not specified, a common instance of `L.Icon.Default` is used.
|
3473
|
-
icon: new
|
3471
|
+
icon: new Ae(),
|
3474
3472
|
// Option inherited from "Interactive layer" abstract class
|
3475
3473
|
interactive: !0,
|
3476
3474
|
// @option keyboard: Boolean = true
|
@@ -3610,9 +3608,9 @@ function ta() {
|
|
3610
3608
|
this._setPos(e);
|
3611
3609
|
},
|
3612
3610
|
_initInteraction: function() {
|
3613
|
-
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)) {
|
3614
3612
|
var t = this.options.draggable;
|
3615
|
-
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();
|
3616
3614
|
}
|
3617
3615
|
},
|
3618
3616
|
// @method setOpacity(opacity: Number): this
|
@@ -3647,7 +3645,7 @@ function ta() {
|
|
3647
3645
|
return this.options.icon.options.tooltipAnchor;
|
3648
3646
|
}
|
3649
3647
|
});
|
3650
|
-
function
|
3648
|
+
function Ys(t, e) {
|
3651
3649
|
return new Je(t, e);
|
3652
3650
|
}
|
3653
3651
|
var Kt = Tt.extend({
|
@@ -3794,7 +3792,7 @@ function ta() {
|
|
3794
3792
|
return t.distanceTo(this._point) <= this._radius + this._clickTolerance();
|
3795
3793
|
}
|
3796
3794
|
});
|
3797
|
-
function
|
3795
|
+
function Xs(t, e) {
|
3798
3796
|
return new Ye(t, e);
|
3799
3797
|
}
|
3800
3798
|
var Fi = Ye.extend({
|
@@ -3835,10 +3833,10 @@ function ta() {
|
|
3835
3833
|
this._updateBounds();
|
3836
3834
|
}
|
3837
3835
|
});
|
3838
|
-
function
|
3836
|
+
function Qs(t, e, i) {
|
3839
3837
|
return new Fi(t, e, i);
|
3840
3838
|
}
|
3841
|
-
var
|
3839
|
+
var Nt = Kt.extend({
|
3842
3840
|
// @section
|
3843
3841
|
// @aka Polyline options
|
3844
3842
|
options: {
|
@@ -3871,7 +3869,7 @@ function ta() {
|
|
3871
3869
|
// @method closestLayerPoint(p: Point): Point
|
3872
3870
|
// Returns the point closest to `p` on the Polyline.
|
3873
3871
|
closestLayerPoint: function(t) {
|
3874
|
-
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++)
|
3875
3873
|
for (var c = this._parts[h], f = 1, _ = c.length; f < _; f++) {
|
3876
3874
|
o = c[f - 1], s = c[f];
|
3877
3875
|
var P = n(t, o, s, !0);
|
@@ -3884,7 +3882,7 @@ function ta() {
|
|
3884
3882
|
getCenter: function() {
|
3885
3883
|
if (!this._map)
|
3886
3884
|
throw new Error("Must add layer to map before using getCenter()");
|
3887
|
-
return
|
3885
|
+
return jn(this._defaultShape(), this._map.options.crs);
|
3888
3886
|
},
|
3889
3887
|
// @method getBounds(): LatLngBounds
|
3890
3888
|
// Returns the `LatLngBounds` of the path.
|
@@ -3943,13 +3941,13 @@ function ta() {
|
|
3943
3941
|
var e = this._parts, i, n, o, s, h, u, c;
|
3944
3942
|
for (i = 0, o = 0, s = this._rings.length; i < s; i++)
|
3945
3943
|
for (c = this._rings[i], n = 0, h = c.length; n < h - 1; n++)
|
3946
|
-
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++));
|
3947
3945
|
}
|
3948
3946
|
},
|
3949
3947
|
// simplify each clipped part of the polyline for performance
|
3950
3948
|
_simplifyPoints: function() {
|
3951
3949
|
for (var t = this._parts, e = this.options.smoothFactor, i = 0, n = t.length; i < n; i++)
|
3952
|
-
t[i] =
|
3950
|
+
t[i] = Fn(t[i], e);
|
3953
3951
|
},
|
3954
3952
|
_update: function() {
|
3955
3953
|
this._map && (this._clipPoints(), this._simplifyPoints(), this._updatePath());
|
@@ -3964,16 +3962,16 @@ function ta() {
|
|
3964
3962
|
return !1;
|
3965
3963
|
for (i = 0, s = this._parts.length; i < s; i++)
|
3966
3964
|
for (u = this._parts[i], n = 0, h = u.length, o = h - 1; n < h; o = n++)
|
3967
|
-
if (!(!e && n === 0) &&
|
3965
|
+
if (!(!e && n === 0) && Vn(t, u[o], u[n]) <= c)
|
3968
3966
|
return !0;
|
3969
3967
|
return !1;
|
3970
3968
|
}
|
3971
3969
|
});
|
3972
|
-
function
|
3973
|
-
return new
|
3970
|
+
function $s(t, e) {
|
3971
|
+
return new Nt(t, e);
|
3974
3972
|
}
|
3975
|
-
|
3976
|
-
var
|
3973
|
+
Nt._flat = qn;
|
3974
|
+
var de = Nt.extend({
|
3977
3975
|
options: {
|
3978
3976
|
fill: !0
|
3979
3977
|
},
|
@@ -3985,14 +3983,14 @@ function ta() {
|
|
3985
3983
|
getCenter: function() {
|
3986
3984
|
if (!this._map)
|
3987
3985
|
throw new Error("Must add layer to map before using getCenter()");
|
3988
|
-
return
|
3986
|
+
return Hn(this._defaultShape(), this._map.options.crs);
|
3989
3987
|
},
|
3990
3988
|
_convertLatLngs: function(t) {
|
3991
|
-
var e =
|
3989
|
+
var e = Nt.prototype._convertLatLngs.call(this, t), i = e.length;
|
3992
3990
|
return i >= 2 && e[0] instanceof F && e[0].equals(e[i - 1]) && e.pop(), e;
|
3993
3991
|
},
|
3994
3992
|
_setLatLngs: function(t) {
|
3995
|
-
|
3993
|
+
Nt.prototype._setLatLngs.call(this, t), wt(this._latlngs) && (this._latlngs = [this._latlngs]);
|
3996
3994
|
},
|
3997
3995
|
_defaultShape: function() {
|
3998
3996
|
return wt(this._latlngs[0]) ? this._latlngs[0] : this._latlngs[0][0];
|
@@ -4005,7 +4003,7 @@ function ta() {
|
|
4005
4003
|
return;
|
4006
4004
|
}
|
4007
4005
|
for (var n = 0, o = this._rings.length, s; n < o; n++)
|
4008
|
-
s =
|
4006
|
+
s = Dn(this._rings[n], t, !0), s.length && this._parts.push(s);
|
4009
4007
|
}
|
4010
4008
|
},
|
4011
4009
|
_updatePath: function() {
|
@@ -4019,13 +4017,13 @@ function ta() {
|
|
4019
4017
|
for (s = 0, c = this._parts.length; s < c; s++)
|
4020
4018
|
for (i = this._parts[s], h = 0, f = i.length, u = f - 1; h < f; u = h++)
|
4021
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);
|
4022
|
-
return e ||
|
4020
|
+
return e || Nt.prototype._containsPoint.call(this, t, !0);
|
4023
4021
|
}
|
4024
4022
|
});
|
4025
|
-
function
|
4026
|
-
return new
|
4023
|
+
function tr(t, e) {
|
4024
|
+
return new de(t, e);
|
4027
4025
|
}
|
4028
|
-
var
|
4026
|
+
var Dt = Rt.extend({
|
4029
4027
|
/* @section
|
4030
4028
|
* @aka GeoJSON options
|
4031
4029
|
*
|
@@ -4116,17 +4114,17 @@ function ta() {
|
|
4116
4114
|
return null;
|
4117
4115
|
switch (i.type) {
|
4118
4116
|
case "Point":
|
4119
|
-
return u = h(n),
|
4117
|
+
return u = h(n), Jn(s, t, u, e);
|
4120
4118
|
case "MultiPoint":
|
4121
4119
|
for (f = 0, _ = n.length; f < _; f++)
|
4122
|
-
u = h(n[f]), o.push(
|
4123
|
-
return new
|
4120
|
+
u = h(n[f]), o.push(Jn(s, t, u, e));
|
4121
|
+
return new Rt(o);
|
4124
4122
|
case "LineString":
|
4125
4123
|
case "MultiLineString":
|
4126
|
-
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);
|
4127
4125
|
case "Polygon":
|
4128
4126
|
case "MultiPolygon":
|
4129
|
-
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);
|
4130
4128
|
case "GeometryCollection":
|
4131
4129
|
for (f = 0, _ = i.geometries.length; f < _; f++) {
|
4132
4130
|
var P = Xe({
|
@@ -4136,18 +4134,18 @@ function ta() {
|
|
4136
4134
|
}, e);
|
4137
4135
|
P && o.push(P);
|
4138
4136
|
}
|
4139
|
-
return new
|
4137
|
+
return new Rt(o);
|
4140
4138
|
case "FeatureCollection":
|
4141
4139
|
for (f = 0, _ = i.features.length; f < _; f++) {
|
4142
4140
|
var k = Xe(i.features[f], e);
|
4143
4141
|
k && o.push(k);
|
4144
4142
|
}
|
4145
|
-
return new
|
4143
|
+
return new Rt(o);
|
4146
4144
|
default:
|
4147
4145
|
throw new Error("Invalid GeoJSON object.");
|
4148
4146
|
}
|
4149
4147
|
}
|
4150
|
-
function
|
4148
|
+
function Jn(t, e, i, n) {
|
4151
4149
|
return t ? t(e, i) : new Je(i, n && n.markersInheritOptions && n);
|
4152
4150
|
}
|
4153
4151
|
function Vi(t) {
|
@@ -4166,7 +4164,7 @@ function ta() {
|
|
4166
4164
|
o.push(e ? $e(t[s], wt(t[s]) ? 0 : e - 1, i, n) : Wi(t[s], n));
|
4167
4165
|
return !e && i && o.length > 0 && o.push(o[0].slice()), o;
|
4168
4166
|
}
|
4169
|
-
function
|
4167
|
+
function fe(t, e) {
|
4170
4168
|
return t.feature ? p({}, t.feature, { geometry: e }) : ti(e);
|
4171
4169
|
}
|
4172
4170
|
function ti(t) {
|
@@ -4178,34 +4176,34 @@ function ta() {
|
|
4178
4176
|
}
|
4179
4177
|
var Ui = {
|
4180
4178
|
toGeoJSON: function(t) {
|
4181
|
-
return
|
4179
|
+
return fe(this, {
|
4182
4180
|
type: "Point",
|
4183
4181
|
coordinates: Wi(this.getLatLng(), t)
|
4184
4182
|
});
|
4185
4183
|
}
|
4186
4184
|
};
|
4187
|
-
Je.include(Ui), Fi.include(Ui), Ye.include(Ui),
|
4185
|
+
Je.include(Ui), Fi.include(Ui), Ye.include(Ui), Nt.include({
|
4188
4186
|
toGeoJSON: function(t) {
|
4189
4187
|
var e = !wt(this._latlngs), i = $e(this._latlngs, e ? 1 : 0, !1, t);
|
4190
|
-
return
|
4188
|
+
return fe(this, {
|
4191
4189
|
type: (e ? "Multi" : "") + "LineString",
|
4192
4190
|
coordinates: i
|
4193
4191
|
});
|
4194
4192
|
}
|
4195
|
-
}),
|
4193
|
+
}), de.include({
|
4196
4194
|
toGeoJSON: function(t) {
|
4197
4195
|
var e = !wt(this._latlngs), i = e && !wt(this._latlngs[0]), n = $e(this._latlngs, i ? 2 : e ? 1 : 0, !0, t);
|
4198
|
-
return e || (n = [n]),
|
4196
|
+
return e || (n = [n]), fe(this, {
|
4199
4197
|
type: (i ? "Multi" : "") + "Polygon",
|
4200
4198
|
coordinates: n
|
4201
4199
|
});
|
4202
4200
|
}
|
4203
|
-
}),
|
4201
|
+
}), ue.include({
|
4204
4202
|
toMultiPoint: function(t) {
|
4205
4203
|
var e = [];
|
4206
4204
|
return this.eachLayer(function(i) {
|
4207
4205
|
e.push(i.toGeoJSON(t).geometry.coordinates);
|
4208
|
-
}),
|
4206
|
+
}), fe(this, {
|
4209
4207
|
type: "MultiPoint",
|
4210
4208
|
coordinates: e
|
4211
4209
|
});
|
@@ -4228,7 +4226,7 @@ function ta() {
|
|
4228
4226
|
h.type === "FeatureCollection" ? n.push.apply(n, h.features) : n.push(h);
|
4229
4227
|
}
|
4230
4228
|
}
|
4231
|
-
}), i ?
|
4229
|
+
}), i ? fe(this, {
|
4232
4230
|
geometries: n,
|
4233
4231
|
type: "GeometryCollection"
|
4234
4232
|
}) : {
|
@@ -4237,10 +4235,10 @@ function ta() {
|
|
4237
4235
|
};
|
4238
4236
|
}
|
4239
4237
|
});
|
4240
|
-
function
|
4241
|
-
return new
|
4238
|
+
function Yn(t, e) {
|
4239
|
+
return new Dt(t, e);
|
4242
4240
|
}
|
4243
|
-
var
|
4241
|
+
var er = Yn, ei = Tt.extend({
|
4244
4242
|
// @section
|
4245
4243
|
// @aka ImageOverlay options
|
4246
4244
|
options: {
|
@@ -4288,12 +4286,12 @@ function ta() {
|
|
4288
4286
|
// @method bringToFront(): this
|
4289
4287
|
// Brings the layer to the top of all overlays.
|
4290
4288
|
bringToFront: function() {
|
4291
|
-
return this._map &&
|
4289
|
+
return this._map && he(this._image), this;
|
4292
4290
|
},
|
4293
4291
|
// @method bringToBack(): this
|
4294
4292
|
// Brings the layer to the bottom of all overlays.
|
4295
4293
|
bringToBack: function() {
|
4296
|
-
return this._map &&
|
4294
|
+
return this._map && le(this._image), this;
|
4297
4295
|
},
|
4298
4296
|
// @method setUrl(url: String): this
|
4299
4297
|
// Changes the URL of the image.
|
@@ -4338,7 +4336,7 @@ function ta() {
|
|
4338
4336
|
},
|
4339
4337
|
_animateZoom: function(t) {
|
4340
4338
|
var e = this._map.getZoomScale(t.zoom), i = this._map._latLngBoundsToNewLayerBounds(this._bounds, t.zoom, t.center).min;
|
4341
|
-
|
4339
|
+
$t(this._image, i, e);
|
4342
4340
|
},
|
4343
4341
|
_reset: function() {
|
4344
4342
|
var t = this._image, e = new K(
|
@@ -4363,9 +4361,9 @@ function ta() {
|
|
4363
4361
|
getCenter: function() {
|
4364
4362
|
return this._bounds.getCenter();
|
4365
4363
|
}
|
4366
|
-
}),
|
4364
|
+
}), ir = function(t, e, i) {
|
4367
4365
|
return new ei(t, e, i);
|
4368
|
-
},
|
4366
|
+
}, Xn = ei.extend({
|
4369
4367
|
// @section
|
4370
4368
|
// @aka VideoOverlay options
|
4371
4369
|
options: {
|
@@ -4405,10 +4403,10 @@ function ta() {
|
|
4405
4403
|
// Returns the instance of [`HTMLVideoElement`](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement)
|
4406
4404
|
// used by this overlay.
|
4407
4405
|
});
|
4408
|
-
function
|
4409
|
-
return new
|
4406
|
+
function nr(t, e, i) {
|
4407
|
+
return new Xn(t, e, i);
|
4410
4408
|
}
|
4411
|
-
var
|
4409
|
+
var Qn = ei.extend({
|
4412
4410
|
_initImage: function() {
|
4413
4411
|
var t = this._image = this._url;
|
4414
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;
|
@@ -4417,8 +4415,8 @@ function ta() {
|
|
4417
4415
|
// Returns the instance of [`SVGElement`](https://developer.mozilla.org/docs/Web/API/SVGElement)
|
4418
4416
|
// used by this overlay.
|
4419
4417
|
});
|
4420
|
-
function
|
4421
|
-
return new
|
4418
|
+
function or(t, e, i) {
|
4419
|
+
return new Qn(t, e, i);
|
4422
4420
|
}
|
4423
4421
|
var zt = Tt.extend({
|
4424
4422
|
// @section
|
@@ -4517,19 +4515,19 @@ function ta() {
|
|
4517
4515
|
// @method bringToFront: this
|
4518
4516
|
// Brings this overlay in front of other overlays (in the same map pane).
|
4519
4517
|
bringToFront: function() {
|
4520
|
-
return this._map &&
|
4518
|
+
return this._map && he(this._container), this;
|
4521
4519
|
},
|
4522
4520
|
// @method bringToBack: this
|
4523
4521
|
// Brings this overlay to the back of other overlays (in the same map pane).
|
4524
4522
|
bringToBack: function() {
|
4525
|
-
return this._map &&
|
4523
|
+
return this._map && le(this._container), this;
|
4526
4524
|
},
|
4527
4525
|
// prepare bound overlay to open: update latlng pos / content source (for FeatureGroup)
|
4528
4526
|
_prepareOpen: function(t) {
|
4529
4527
|
var e = this._source;
|
4530
4528
|
if (!e._map)
|
4531
4529
|
return !1;
|
4532
|
-
if (e instanceof
|
4530
|
+
if (e instanceof Rt) {
|
4533
4531
|
e = null;
|
4534
4532
|
var i = this._source._layers;
|
4535
4533
|
for (var n in i)
|
@@ -4655,10 +4653,10 @@ function ta() {
|
|
4655
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);
|
4656
4654
|
},
|
4657
4655
|
onAdd: function(t) {
|
4658
|
-
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));
|
4659
4657
|
},
|
4660
4658
|
onRemove: function(t) {
|
4661
|
-
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));
|
4662
4660
|
},
|
4663
4661
|
getEvents: function() {
|
4664
4662
|
var t = zt.prototype.getEvents.call(this);
|
@@ -4669,10 +4667,10 @@ function ta() {
|
|
4669
4667
|
"div",
|
4670
4668
|
t + " " + (this.options.className || "") + " leaflet-zoom-animated"
|
4671
4669
|
), i = this._wrapper = D("div", t + "-content-wrapper", e);
|
4672
|
-
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) {
|
4673
4671
|
var n = this._closeButton = D("a", t + "-close-button", e);
|
4674
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) {
|
4675
|
-
|
4673
|
+
ot(o), this.close();
|
4676
4674
|
}, this);
|
4677
4675
|
}
|
4678
4676
|
},
|
@@ -4694,8 +4692,8 @@ function ta() {
|
|
4694
4692
|
this._autopanning = !1;
|
4695
4693
|
return;
|
4696
4694
|
}
|
4697
|
-
var t = this._map, e = parseInt(
|
4698
|
-
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));
|
4699
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;
|
4700
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]));
|
4701
4699
|
}
|
@@ -4703,7 +4701,7 @@ function ta() {
|
|
4703
4701
|
_getAnchor: function() {
|
4704
4702
|
return M(this._source && this._source._getPopupAnchor ? this._source._getPopupAnchor() : [0, 0]);
|
4705
4703
|
}
|
4706
|
-
}),
|
4704
|
+
}), sr = function(t, e) {
|
4707
4705
|
return new ii(t, e);
|
4708
4706
|
};
|
4709
4707
|
I.mergeOptions({
|
@@ -4748,7 +4746,7 @@ function ta() {
|
|
4748
4746
|
// @method openPopup(latlng?: LatLng): this
|
4749
4747
|
// Opens the bound popup at the specified `latlng` or at the default popup anchor if no `latlng` is passed.
|
4750
4748
|
openPopup: function(t) {
|
4751
|
-
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;
|
4752
4750
|
},
|
4753
4751
|
// @method closePopup(): this
|
4754
4752
|
// Closes the popup bound to this layer if it is open.
|
@@ -4777,7 +4775,7 @@ function ta() {
|
|
4777
4775
|
},
|
4778
4776
|
_openPopup: function(t) {
|
4779
4777
|
if (!(!this._popup || !this._map)) {
|
4780
|
-
|
4778
|
+
ie(t);
|
4781
4779
|
var e = t.layer || t.target;
|
4782
4780
|
if (this._popup._source === e && !(e instanceof Kt)) {
|
4783
4781
|
this._map.hasLayer(this._popup) ? this.closePopup() : this.openPopup(t.latlng);
|
@@ -4855,7 +4853,7 @@ function ta() {
|
|
4855
4853
|
_getAnchor: function() {
|
4856
4854
|
return M(this._source && this._source._getTooltipAnchor && !this.options.sticky ? this._source._getTooltipAnchor() : [0, 0]);
|
4857
4855
|
}
|
4858
|
-
}),
|
4856
|
+
}), rr = function(t, e) {
|
4859
4857
|
return new ni(t, e);
|
4860
4858
|
};
|
4861
4859
|
I.include({
|
@@ -4897,7 +4895,7 @@ function ta() {
|
|
4897
4895
|
// @method openTooltip(latlng?: LatLng): this
|
4898
4896
|
// Opens the bound tooltip at the specified `latlng` or at the default tooltip anchor if no `latlng` is passed.
|
4899
4897
|
openTooltip: function(t) {
|
4900
|
-
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;
|
4901
4899
|
},
|
4902
4900
|
// @method closeTooltip(): this
|
4903
4901
|
// Closes the tooltip bound to this layer if it is open.
|
@@ -4956,7 +4954,7 @@ function ta() {
|
|
4956
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);
|
4957
4955
|
}
|
4958
4956
|
});
|
4959
|
-
var
|
4957
|
+
var $n = ce.extend({
|
4960
4958
|
options: {
|
4961
4959
|
// @section
|
4962
4960
|
// @aka DivIcon options
|
@@ -4985,11 +4983,11 @@ function ta() {
|
|
4985
4983
|
return null;
|
4986
4984
|
}
|
4987
4985
|
});
|
4988
|
-
function
|
4989
|
-
return new
|
4986
|
+
function ar(t) {
|
4987
|
+
return new $n(t);
|
4990
4988
|
}
|
4991
|
-
|
4992
|
-
var
|
4989
|
+
ce.Default = Ae;
|
4990
|
+
var Ee = Tt.extend({
|
4993
4991
|
// @section
|
4994
4992
|
// @aka GridLayer options
|
4995
4993
|
options: {
|
@@ -5065,12 +5063,12 @@ function ta() {
|
|
5065
5063
|
// @method bringToFront: this
|
5066
5064
|
// Brings the tile layer to the top of all tile layers.
|
5067
5065
|
bringToFront: function() {
|
5068
|
-
return this._map && (
|
5066
|
+
return this._map && (he(this._container), this._setAutoZIndex(Math.max)), this;
|
5069
5067
|
},
|
5070
5068
|
// @method bringToBack: this
|
5071
5069
|
// Brings the tile layer to the bottom of all tile layers.
|
5072
5070
|
bringToBack: function() {
|
5073
|
-
return this._map && (
|
5071
|
+
return this._map && (le(this._container), this._setAutoZIndex(Math.min)), this;
|
5074
5072
|
},
|
5075
5073
|
// @method getContainer: HTMLElement
|
5076
5074
|
// Returns the HTML element that contains the tiles for this layer.
|
@@ -5146,7 +5144,7 @@ function ta() {
|
|
5146
5144
|
yt(o.el, s), s < 1 ? e = !0 : (o.active ? i = !0 : this._onOpaqueTile(o), o.active = !0);
|
5147
5145
|
}
|
5148
5146
|
}
|
5149
|
-
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));
|
5150
5148
|
}
|
5151
5149
|
},
|
5152
5150
|
_onOpaqueTile: b,
|
@@ -5238,7 +5236,7 @@ function ta() {
|
|
5238
5236
|
},
|
5239
5237
|
_setZoomTransform: function(t, e, i) {
|
5240
5238
|
var n = this._map.getZoomScale(i, t.zoom), o = t.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(e, i)).round();
|
5241
|
-
y.any3d ?
|
5239
|
+
y.any3d ? $t(t.el, o, n) : $(t.el, o);
|
5242
5240
|
},
|
5243
5241
|
_resetGrid: function() {
|
5244
5242
|
var t = this._map, e = t.options.crs, i = this._tileSize = this.getTileSize(), n = this._tileZoom, o = this._map.getPixelWorldBounds(this._tileZoom);
|
@@ -5281,12 +5279,12 @@ function ta() {
|
|
5281
5279
|
for (var k = o.min.x; k <= o.max.x; k++) {
|
5282
5280
|
var ht = new O(k, P);
|
5283
5281
|
if (ht.z = this._tileZoom, !!this._isValidTile(ht)) {
|
5284
|
-
var
|
5285
|
-
|
5282
|
+
var it = this._tiles[this._tileCoordsToKey(ht)];
|
5283
|
+
it ? it.current = !0 : h.push(ht);
|
5286
5284
|
}
|
5287
5285
|
}
|
5288
|
-
if (h.sort(function(pt,
|
5289
|
-
return pt.distanceTo(s) -
|
5286
|
+
if (h.sort(function(pt, me) {
|
5287
|
+
return pt.distanceTo(s) - me.distanceTo(s);
|
5290
5288
|
}), h.length !== 0) {
|
5291
5289
|
this._loading || (this._loading = !0, this.fire("loading"));
|
5292
5290
|
var bt = document.createDocumentFragment();
|
@@ -5344,7 +5342,7 @@ function ta() {
|
|
5344
5342
|
},
|
5345
5343
|
_addTile: function(t, e) {
|
5346
5344
|
var i = this._getTilePos(t), n = this._tileCoordsToKey(t), o = this.createTile(this._wrapCoords(t), g(this._tileReady, this, t));
|
5347
|
-
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] = {
|
5348
5346
|
el: o,
|
5349
5347
|
coords: t,
|
5350
5348
|
current: !0
|
@@ -5360,10 +5358,10 @@ function ta() {
|
|
5360
5358
|
coords: t
|
5361
5359
|
});
|
5362
5360
|
var n = this._tileCoordsToKey(t);
|
5363
|
-
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", {
|
5364
5362
|
tile: i.el,
|
5365
5363
|
coords: t
|
5366
|
-
})), 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)));
|
5367
5365
|
},
|
5368
5366
|
_getTilePos: function(t) {
|
5369
5367
|
return t.scaleBy(this.getTileSize()).subtract(this._level.origin);
|
@@ -5389,10 +5387,10 @@ function ta() {
|
|
5389
5387
|
return !0;
|
5390
5388
|
}
|
5391
5389
|
});
|
5392
|
-
function
|
5393
|
-
return new
|
5390
|
+
function hr(t) {
|
5391
|
+
return new Ee(t);
|
5394
5392
|
}
|
5395
|
-
var
|
5393
|
+
var pe = Ee.extend({
|
5396
5394
|
// @section
|
5397
5395
|
// @aka TileLayer options
|
5398
5396
|
options: {
|
@@ -5494,7 +5492,7 @@ function ta() {
|
|
5494
5492
|
var t, e;
|
5495
5493
|
for (t in this._tiles)
|
5496
5494
|
if (this._tiles[t].coords.z !== this._tileZoom && (e = this._tiles[t].el, e.onload = b, e.onerror = b, !e.complete)) {
|
5497
|
-
e.src =
|
5495
|
+
e.src = rt;
|
5498
5496
|
var i = this._tiles[t].coords;
|
5499
5497
|
J(e), delete this._tiles[t], this.fire("tileabort", {
|
5500
5498
|
tile: e,
|
@@ -5505,17 +5503,17 @@ function ta() {
|
|
5505
5503
|
_removeTile: function(t) {
|
5506
5504
|
var e = this._tiles[t];
|
5507
5505
|
if (e)
|
5508
|
-
return e.el.setAttribute("src",
|
5506
|
+
return e.el.setAttribute("src", rt), Ee.prototype._removeTile.call(this, t);
|
5509
5507
|
},
|
5510
5508
|
_tileReady: function(t, e, i) {
|
5511
|
-
if (!(!this._map || i && i.getAttribute("src") ===
|
5512
|
-
return
|
5509
|
+
if (!(!this._map || i && i.getAttribute("src") === rt))
|
5510
|
+
return Ee.prototype._tileReady.call(this, t, e, i);
|
5513
5511
|
}
|
5514
5512
|
});
|
5515
|
-
function
|
5516
|
-
return new
|
5513
|
+
function to(t, e) {
|
5514
|
+
return new pe(t, e);
|
5517
5515
|
}
|
5518
|
-
var
|
5516
|
+
var eo = pe.extend({
|
5519
5517
|
// @section
|
5520
5518
|
// @aka TileLayer.WMS options
|
5521
5519
|
// If any custom options not documented here are used, they will be sent to the
|
@@ -5561,10 +5559,10 @@ function ta() {
|
|
5561
5559
|
onAdd: function(t) {
|
5562
5560
|
this._crs = this.options.crs || t.options.crs, this._wmsVersion = parseFloat(this.wmsParams.version);
|
5563
5561
|
var e = this._wmsVersion >= 1.3 ? "crs" : "srs";
|
5564
|
-
this.wmsParams[e] = this._crs.code,
|
5562
|
+
this.wmsParams[e] = this._crs.code, pe.prototype.onAdd.call(this, t);
|
5565
5563
|
},
|
5566
5564
|
getTileUrl: function(t) {
|
5567
|
-
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);
|
5568
5566
|
return u + ct(this.wmsParams, u, this.options.uppercase) + (this.options.uppercase ? "&BBOX=" : "&bbox=") + h;
|
5569
5567
|
},
|
5570
5568
|
// @method setParams(params: Object, noRedraw?: Boolean): this
|
@@ -5573,11 +5571,11 @@ function ta() {
|
|
5573
5571
|
return p(this.wmsParams, t), e || this.redraw(), this;
|
5574
5572
|
}
|
5575
5573
|
});
|
5576
|
-
function
|
5577
|
-
return new
|
5574
|
+
function lr(t, e) {
|
5575
|
+
return new eo(t, e);
|
5578
5576
|
}
|
5579
|
-
|
5580
|
-
var
|
5577
|
+
pe.WMS = eo, to.wms = lr;
|
5578
|
+
var Ht = Tt.extend({
|
5581
5579
|
// @section
|
5582
5580
|
// @aka Renderer options
|
5583
5581
|
options: {
|
@@ -5612,7 +5610,7 @@ function ta() {
|
|
5612
5610
|
},
|
5613
5611
|
_updateTransform: function(t, e) {
|
5614
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));
|
5615
|
-
y.any3d ?
|
5613
|
+
y.any3d ? $t(this._container, s, i) : $(this._container, s);
|
5616
5614
|
},
|
5617
5615
|
_reset: function() {
|
5618
5616
|
this._update(), this._updateTransform(this._center, this._zoom);
|
@@ -5631,7 +5629,7 @@ function ta() {
|
|
5631
5629
|
var t = this.options.padding, e = this._map.getSize(), i = this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();
|
5632
5630
|
this._bounds = new K(i, i.add(e.multiplyBy(1 + t * 2)).round()), this._center = this._map.getCenter(), this._zoom = this._map.getZoom();
|
5633
5631
|
}
|
5634
|
-
}),
|
5632
|
+
}), io = Ht.extend({
|
5635
5633
|
// @section
|
5636
5634
|
// @aka Canvas options
|
5637
5635
|
options: {
|
@@ -5640,14 +5638,14 @@ function ta() {
|
|
5640
5638
|
tolerance: 0
|
5641
5639
|
},
|
5642
5640
|
getEvents: function() {
|
5643
|
-
var t =
|
5641
|
+
var t = Ht.prototype.getEvents.call(this);
|
5644
5642
|
return t.viewprereset = this._onViewPreReset, t;
|
5645
5643
|
},
|
5646
5644
|
_onViewPreReset: function() {
|
5647
5645
|
this._postponeUpdatePaths = !0;
|
5648
5646
|
},
|
5649
5647
|
onAdd: function() {
|
5650
|
-
|
5648
|
+
Ht.prototype.onAdd.call(this), this._draw();
|
5651
5649
|
},
|
5652
5650
|
_initContainer: function() {
|
5653
5651
|
var t = this._container = document.createElement("canvas");
|
@@ -5667,13 +5665,13 @@ function ta() {
|
|
5667
5665
|
},
|
5668
5666
|
_update: function() {
|
5669
5667
|
if (!(this._map._animatingZoom && this._bounds)) {
|
5670
|
-
|
5668
|
+
Ht.prototype._update.call(this);
|
5671
5669
|
var t = this._bounds, e = this._container, i = t.getSize(), n = y.retina ? 2 : 1;
|
5672
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");
|
5673
5671
|
}
|
5674
5672
|
},
|
5675
5673
|
_reset: function() {
|
5676
|
-
|
5674
|
+
Ht.prototype._reset.call(this), this._postponeUpdatePaths && (this._postponeUpdatePaths = !1, this._updatePaths());
|
5677
5675
|
},
|
5678
5676
|
_initPath: function(t) {
|
5679
5677
|
this._updateDashArray(t), this._layers[v(t)] = t;
|
@@ -5710,7 +5708,7 @@ function ta() {
|
|
5710
5708
|
t.options._dashArray = t.options.dashArray;
|
5711
5709
|
},
|
5712
5710
|
_requestRedraw: function(t) {
|
5713
|
-
this._map && (this._extendRedrawBounds(t), this._redrawRequest = this._redrawRequest ||
|
5711
|
+
this._map && (this._extendRedrawBounds(t), this._redrawRequest = this._redrawRequest || nt(this._redraw, this));
|
5714
5712
|
},
|
5715
5713
|
_extendRedrawBounds: function(t) {
|
5716
5714
|
if (t._pxBounds) {
|
@@ -5815,10 +5813,10 @@ function ta() {
|
|
5815
5813
|
}
|
5816
5814
|
}
|
5817
5815
|
});
|
5818
|
-
function
|
5819
|
-
return y.canvas ? new
|
5816
|
+
function no(t) {
|
5817
|
+
return y.canvas ? new io(t) : null;
|
5820
5818
|
}
|
5821
|
-
var
|
5819
|
+
var Be = function() {
|
5822
5820
|
try {
|
5823
5821
|
return document.namespaces.add("lvml", "urn:schemas-microsoft-com:vml"), function(t) {
|
5824
5822
|
return document.createElement("<lvml:" + t + ' class="lvml">');
|
@@ -5828,16 +5826,16 @@ function ta() {
|
|
5828
5826
|
return function(t) {
|
5829
5827
|
return document.createElement("<" + t + ' xmlns="urn:schemas-microsoft.com:vml" class="lvml">');
|
5830
5828
|
};
|
5831
|
-
}(),
|
5829
|
+
}(), ur = {
|
5832
5830
|
_initContainer: function() {
|
5833
5831
|
this._container = D("div", "leaflet-vml-container");
|
5834
5832
|
},
|
5835
5833
|
_update: function() {
|
5836
|
-
this._map._animatingZoom || (
|
5834
|
+
this._map._animatingZoom || (Ht.prototype._update.call(this), this.fire("update"));
|
5837
5835
|
},
|
5838
5836
|
_initPath: function(t) {
|
5839
|
-
var e = t._container =
|
5840
|
-
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;
|
5841
5839
|
},
|
5842
5840
|
_addPath: function(t) {
|
5843
5841
|
var e = t._container;
|
@@ -5849,7 +5847,7 @@ function ta() {
|
|
5849
5847
|
},
|
5850
5848
|
_updateStyle: function(t) {
|
5851
5849
|
var e = t._stroke, i = t._fill, n = t.options, o = t._container;
|
5852
|
-
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);
|
5853
5851
|
},
|
5854
5852
|
_updateCircle: function(t) {
|
5855
5853
|
var e = t._point.round(), i = Math.round(t._radius), n = Math.round(t._radiusY || i);
|
@@ -5859,12 +5857,12 @@ function ta() {
|
|
5859
5857
|
t._path.v = e;
|
5860
5858
|
},
|
5861
5859
|
_bringToFront: function(t) {
|
5862
|
-
|
5860
|
+
he(t._container);
|
5863
5861
|
},
|
5864
5862
|
_bringToBack: function(t) {
|
5865
|
-
|
5863
|
+
le(t._container);
|
5866
5864
|
}
|
5867
|
-
}, oi = y.vml ?
|
5865
|
+
}, oi = y.vml ? Be : an, Ie = Ht.extend({
|
5868
5866
|
_initContainer: function() {
|
5869
5867
|
this._container = oi("svg"), this._container.setAttribute("pointer-events", "none"), this._rootGroup = oi("g"), this._container.appendChild(this._rootGroup);
|
5870
5868
|
},
|
@@ -5873,7 +5871,7 @@ function ta() {
|
|
5873
5871
|
},
|
5874
5872
|
_update: function() {
|
5875
5873
|
if (!(this._map._animatingZoom && this._bounds)) {
|
5876
|
-
|
5874
|
+
Ht.prototype._update.call(this);
|
5877
5875
|
var t = this._bounds, e = t.getSize(), i = this._container;
|
5878
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");
|
5879
5877
|
}
|
@@ -5897,7 +5895,7 @@ function ta() {
|
|
5897
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"));
|
5898
5896
|
},
|
5899
5897
|
_updatePoly: function(t, e) {
|
5900
|
-
this._setPath(t,
|
5898
|
+
this._setPath(t, hn(t._parts, e));
|
5901
5899
|
},
|
5902
5900
|
_updateCircle: function(t) {
|
5903
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 ";
|
@@ -5908,15 +5906,15 @@ function ta() {
|
|
5908
5906
|
},
|
5909
5907
|
// SVG does not have the concept of zIndex so we resort to changing the DOM order of elements
|
5910
5908
|
_bringToFront: function(t) {
|
5911
|
-
|
5909
|
+
he(t._path);
|
5912
5910
|
},
|
5913
5911
|
_bringToBack: function(t) {
|
5914
|
-
|
5912
|
+
le(t._path);
|
5915
5913
|
}
|
5916
5914
|
});
|
5917
|
-
y.vml &&
|
5918
|
-
function
|
5919
|
-
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;
|
5920
5918
|
}
|
5921
5919
|
I.include({
|
5922
5920
|
// @namespace Map; @method getRenderer(layer: Path): Renderer
|
@@ -5934,12 +5932,12 @@ function ta() {
|
|
5934
5932
|
return e === void 0 && (e = this._createRenderer({ pane: t }), this._paneRenderers[t] = e), e;
|
5935
5933
|
},
|
5936
5934
|
_createRenderer: function(t) {
|
5937
|
-
return this.options.preferCanvas &&
|
5935
|
+
return this.options.preferCanvas && no(t) || oo(t);
|
5938
5936
|
}
|
5939
5937
|
});
|
5940
|
-
var
|
5938
|
+
var so = de.extend({
|
5941
5939
|
initialize: function(t, e) {
|
5942
|
-
|
5940
|
+
de.prototype.initialize.call(this, this._boundsToLatLngs(t), e);
|
5943
5941
|
},
|
5944
5942
|
// @method setBounds(latLngBounds: LatLngBounds): this
|
5945
5943
|
// Redraws the rectangle with the passed bounds.
|
@@ -5955,16 +5953,16 @@ function ta() {
|
|
5955
5953
|
];
|
5956
5954
|
}
|
5957
5955
|
});
|
5958
|
-
function
|
5959
|
-
return new
|
5956
|
+
function cr(t, e) {
|
5957
|
+
return new so(t, e);
|
5960
5958
|
}
|
5961
|
-
|
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({
|
5962
5960
|
// @option boxZoom: Boolean = true
|
5963
5961
|
// Whether the map can be zoomed to a rectangular area specified by
|
5964
5962
|
// dragging the mouse while pressing the shift key.
|
5965
5963
|
boxZoom: !0
|
5966
5964
|
});
|
5967
|
-
var
|
5965
|
+
var ro = kt.extend({
|
5968
5966
|
initialize: function(t) {
|
5969
5967
|
this._map = t, this._container = t._container, this._pane = t._panes.overlayPane, this._resetStateTimeout = 0, t.on("unload", this._destroy, this);
|
5970
5968
|
},
|
@@ -5989,8 +5987,8 @@ function ta() {
|
|
5989
5987
|
_onMouseDown: function(t) {
|
5990
5988
|
if (!t.shiftKey || t.which !== 1 && t.button !== 1)
|
5991
5989
|
return !1;
|
5992
|
-
this._clearDeferredResetState(), this._resetState(),
|
5993
|
-
contextmenu:
|
5990
|
+
this._clearDeferredResetState(), this._resetState(), Me(), Ti(), this._startPoint = this._map.mouseEventToContainerPoint(t), S(document, {
|
5991
|
+
contextmenu: ie,
|
5994
5992
|
mousemove: this._onMouseMove,
|
5995
5993
|
mouseup: this._onMouseUp,
|
5996
5994
|
keydown: this._onKeyDown
|
@@ -6002,8 +6000,8 @@ function ta() {
|
|
6002
6000
|
$(this._box, e.min), this._box.style.width = i.x + "px", this._box.style.height = i.y + "px";
|
6003
6001
|
},
|
6004
6002
|
_finish: function() {
|
6005
|
-
this._moved && (J(this._box), Y(this._container, "leaflet-crosshair")),
|
6006
|
-
contextmenu:
|
6003
|
+
this._moved && (J(this._box), Y(this._container, "leaflet-crosshair")), Oe(), Mi(), W(document, {
|
6004
|
+
contextmenu: ie,
|
6007
6005
|
mousemove: this._onMouseMove,
|
6008
6006
|
mouseup: this._onMouseUp,
|
6009
6007
|
keydown: this._onKeyDown
|
@@ -6023,7 +6021,7 @@ function ta() {
|
|
6023
6021
|
t.keyCode === 27 && (this._finish(), this._clearDeferredResetState(), this._resetState());
|
6024
6022
|
}
|
6025
6023
|
});
|
6026
|
-
I.addInitHook("addHandler", "boxZoom",
|
6024
|
+
I.addInitHook("addHandler", "boxZoom", ro), I.mergeOptions({
|
6027
6025
|
// @option doubleClickZoom: Boolean|String = true
|
6028
6026
|
// Whether the map can be zoomed in by double clicking on it and
|
6029
6027
|
// zoomed out by double clicking while holding shift. If passed
|
@@ -6031,7 +6029,7 @@ function ta() {
|
|
6031
6029
|
// view regardless of where the mouse was.
|
6032
6030
|
doubleClickZoom: !0
|
6033
6031
|
});
|
6034
|
-
var
|
6032
|
+
var ao = kt.extend({
|
6035
6033
|
addHooks: function() {
|
6036
6034
|
this._map.on("dblclick", this._onDoubleClick, this);
|
6037
6035
|
},
|
@@ -6043,7 +6041,7 @@ function ta() {
|
|
6043
6041
|
e.options.doubleClickZoom === "center" ? e.setZoom(o) : e.setZoomAround(t.containerPoint, o);
|
6044
6042
|
}
|
6045
6043
|
});
|
6046
|
-
I.addInitHook("addHandler", "doubleClickZoom",
|
6044
|
+
I.addInitHook("addHandler", "doubleClickZoom", ao), I.mergeOptions({
|
6047
6045
|
// @option dragging: Boolean = true
|
6048
6046
|
// Whether the map is draggable with mouse/touch or not.
|
6049
6047
|
dragging: !0,
|
@@ -6078,7 +6076,7 @@ function ta() {
|
|
6078
6076
|
// solid, preventing the user from dragging outside the bounds.
|
6079
6077
|
maxBoundsViscosity: 0
|
6080
6078
|
});
|
6081
|
-
var
|
6079
|
+
var ho = kt.extend({
|
6082
6080
|
addHooks: function() {
|
6083
6081
|
if (!this._draggable) {
|
6084
6082
|
var t = this._map;
|
@@ -6146,7 +6144,7 @@ function ta() {
|
|
6146
6144
|
else {
|
6147
6145
|
this._prunePositions(+/* @__PURE__ */ new Date());
|
6148
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();
|
6149
|
-
!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() {
|
6150
6148
|
e.panBy(k, {
|
6151
6149
|
duration: P,
|
6152
6150
|
easeLinearity: h,
|
@@ -6157,7 +6155,7 @@ function ta() {
|
|
6157
6155
|
}
|
6158
6156
|
}
|
6159
6157
|
});
|
6160
|
-
I.addInitHook("addHandler", "dragging",
|
6158
|
+
I.addInitHook("addHandler", "dragging", ho), I.mergeOptions({
|
6161
6159
|
// @option keyboard: Boolean = true
|
6162
6160
|
// Makes the map focusable and allows users to navigate the map with keyboard
|
6163
6161
|
// arrows and `+`/`-` keys.
|
@@ -6166,7 +6164,7 @@ function ta() {
|
|
6166
6164
|
// Amount of pixels to pan when pressing an arrow key.
|
6167
6165
|
keyboardPanDelta: 80
|
6168
6166
|
});
|
6169
|
-
var
|
6167
|
+
var lo = kt.extend({
|
6170
6168
|
keyCodes: {
|
6171
6169
|
left: [37],
|
6172
6170
|
right: [39],
|
@@ -6251,11 +6249,11 @@ function ta() {
|
|
6251
6249
|
i.closePopup();
|
6252
6250
|
else
|
6253
6251
|
return;
|
6254
|
-
|
6252
|
+
ie(t);
|
6255
6253
|
}
|
6256
6254
|
}
|
6257
6255
|
});
|
6258
|
-
I.addInitHook("addHandler", "keyboard",
|
6256
|
+
I.addInitHook("addHandler", "keyboard", lo), I.mergeOptions({
|
6259
6257
|
// @section Mouse wheel options
|
6260
6258
|
// @option scrollWheelZoom: Boolean|String = true
|
6261
6259
|
// Whether the map can be zoomed by using the mouse wheel. If passed `'center'`,
|
@@ -6271,7 +6269,7 @@ function ta() {
|
|
6271
6269
|
// faster (and vice versa).
|
6272
6270
|
wheelPxPerZoomLevel: 60
|
6273
6271
|
});
|
6274
|
-
var
|
6272
|
+
var uo = kt.extend({
|
6275
6273
|
addHooks: function() {
|
6276
6274
|
S(this._map._container, "wheel", this._onWheelScroll, this), this._delta = 0;
|
6277
6275
|
},
|
@@ -6279,10 +6277,10 @@ function ta() {
|
|
6279
6277
|
W(this._map._container, "wheel", this._onWheelScroll, this);
|
6280
6278
|
},
|
6281
6279
|
_onWheelScroll: function(t) {
|
6282
|
-
var e =
|
6280
|
+
var e = Bn(t), i = this._map.options.wheelDebounceTime;
|
6283
6281
|
this._delta += e, this._lastMousePos = this._map.mouseEventToContainerPoint(t), this._startTime || (this._startTime = +/* @__PURE__ */ new Date());
|
6284
6282
|
var n = Math.max(i - (+/* @__PURE__ */ new Date() - this._startTime), 0);
|
6285
|
-
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);
|
6286
6284
|
},
|
6287
6285
|
_performZoom: function() {
|
6288
6286
|
var t = this._map, e = t.getZoom(), i = this._map.options.zoomSnap || 0;
|
@@ -6291,8 +6289,8 @@ function ta() {
|
|
6291
6289
|
this._delta = 0, this._startTime = null, h && (t.options.scrollWheelZoom === "center" ? t.setZoom(e + h) : t.setZoomAround(this._lastMousePos, e + h));
|
6292
6290
|
}
|
6293
6291
|
});
|
6294
|
-
I.addInitHook("addHandler", "scrollWheelZoom",
|
6295
|
-
var
|
6292
|
+
I.addInitHook("addHandler", "scrollWheelZoom", uo);
|
6293
|
+
var dr = 600;
|
6296
6294
|
I.mergeOptions({
|
6297
6295
|
// @section Touch interaction options
|
6298
6296
|
// @option tapHold: Boolean
|
@@ -6303,7 +6301,7 @@ function ta() {
|
|
6303
6301
|
// for it to be considered a valid tap.
|
6304
6302
|
tapTolerance: 15
|
6305
6303
|
});
|
6306
|
-
var
|
6304
|
+
var co = kt.extend({
|
6307
6305
|
addHooks: function() {
|
6308
6306
|
S(this._map._container, "touchstart", this._onDown, this);
|
6309
6307
|
},
|
@@ -6314,12 +6312,12 @@ function ta() {
|
|
6314
6312
|
if (clearTimeout(this._holdTimeout), t.touches.length === 1) {
|
6315
6313
|
var e = t.touches[0];
|
6316
6314
|
this._startPos = this._newPos = new O(e.clientX, e.clientY), this._holdTimeout = setTimeout(g(function() {
|
6317
|
-
this._cancel(), this._isTapValid() && (S(document, "touchend",
|
6318
|
-
}, this),
|
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);
|
6319
6317
|
}
|
6320
6318
|
},
|
6321
6319
|
_cancelClickPrevent: function t() {
|
6322
|
-
W(document, "touchend",
|
6320
|
+
W(document, "touchend", ot), W(document, "touchend touchcancel", t);
|
6323
6321
|
},
|
6324
6322
|
_cancel: function() {
|
6325
6323
|
clearTimeout(this._holdTimeout), W(document, "touchend touchcancel contextmenu", this._cancel, this), W(document, "touchmove", this._onMove, this);
|
@@ -6347,7 +6345,7 @@ function ta() {
|
|
6347
6345
|
i._simulated = !0, e.target.dispatchEvent(i);
|
6348
6346
|
}
|
6349
6347
|
});
|
6350
|
-
I.addInitHook("addHandler", "tapHold",
|
6348
|
+
I.addInitHook("addHandler", "tapHold", co), I.mergeOptions({
|
6351
6349
|
// @section Touch interaction options
|
6352
6350
|
// @option touchZoom: Boolean|String = *
|
6353
6351
|
// Whether the map can be zoomed by touch-dragging with two fingers. If
|
@@ -6360,7 +6358,7 @@ function ta() {
|
|
6360
6358
|
// and then bounce back when pinch-zooming.
|
6361
6359
|
bounceAtZoomLimits: !0
|
6362
6360
|
});
|
6363
|
-
var
|
6361
|
+
var fo = kt.extend({
|
6364
6362
|
addHooks: function() {
|
6365
6363
|
C(this._map._container, "leaflet-touch-zoom"), S(this._map._container, "touchstart", this._onTouchStart, this);
|
6366
6364
|
},
|
@@ -6371,7 +6369,7 @@ function ta() {
|
|
6371
6369
|
var e = this._map;
|
6372
6370
|
if (!(!t.touches || t.touches.length !== 2 || e._animatingZoom || this._zooming)) {
|
6373
6371
|
var i = e.mouseEventToContainerPoint(t.touches[0]), n = e.mouseEventToContainerPoint(t.touches[1]);
|
6374
|
-
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),
|
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);
|
6375
6373
|
}
|
6376
6374
|
},
|
6377
6375
|
_onTouchMove: function(t) {
|
@@ -6388,7 +6386,7 @@ function ta() {
|
|
6388
6386
|
}
|
6389
6387
|
this._moved || (e._moveStart(!0, !1), this._moved = !0), vt(this._animRequest);
|
6390
6388
|
var h = g(e._move, e, this._center, this._zoom, { pinch: !0, round: !1 }, void 0);
|
6391
|
-
this._animRequest =
|
6389
|
+
this._animRequest = nt(h, this, !0), ot(t);
|
6392
6390
|
}
|
6393
6391
|
},
|
6394
6392
|
_onTouchEnd: function() {
|
@@ -6399,44 +6397,44 @@ function ta() {
|
|
6399
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));
|
6400
6398
|
}
|
6401
6399
|
});
|
6402
|
-
I.addInitHook("addHandler", "touchZoom",
|
6403
|
-
var
|
6400
|
+
I.addInitHook("addHandler", "touchZoom", fo), I.BoxZoom = ro, I.DoubleClickZoom = ao, I.Drag = ho, I.Keyboard = lo, I.ScrollWheelZoom = uo, I.TapHold = co, I.TouchZoom = fo, a.Bounds = K, a.Browser = y, a.CRS = Zt, a.Canvas = io, a.Circle = Fi, a.CircleMarker = Ye, a.Class = It, a.Control = xt, a.DivIcon = $n, a.DivOverlay = zt, a.DomEvent = ks, a.DomUtil = Ss, a.Draggable = Gt, a.Evented = be, a.FeatureGroup = Rt, a.GeoJSON = Dt, a.GridLayer = Ee, a.Handler = kt, a.Icon = ce, a.ImageOverlay = ei, a.LatLng = F, a.LatLngBounds = ft, a.Layer = Tt, a.LayerGroup = ue, a.LineUtil = Ws, a.Map = I, a.Marker = Je, a.Mixin = Rs, a.Path = Kt, a.Point = O, a.PolyUtil = Ns, a.Polygon = de, a.Polyline = Nt, a.Popup = ii, a.PosAnimation = In, a.Projection = Us, a.Rectangle = so, a.Renderer = Ht, a.SVG = Ie, a.SVGOverlay = Qn, a.TileLayer = pe, a.Tooltip = ni, a.Transformation = fi, a.Util = Yo, a.VideoOverlay = Xn, a.bind = g, a.bounds = dt, a.canvas = no, a.circle = Qs, a.circleMarker = Xs, a.control = ke, a.divIcon = ar, a.extend = p, a.featureGroup = Ks, a.geoJSON = Yn, a.geoJson = er, a.gridLayer = hr, a.icon = Js, a.imageOverlay = ir, a.latLng = B, a.latLngBounds = Q, a.layerGroup = Gs, a.map = zs, a.marker = Ys, a.point = M, a.polygon = tr, a.polyline = $s, a.popup = sr, a.rectangle = cr, a.setOptions = N, a.stamp = v, a.svg = oo, a.svgOverlay = or, a.tileLayer = to, a.tooltip = rr, a.transformation = Le, a.version = d, a.videoOverlay = nr;
|
6401
|
+
var fr = window.L;
|
6404
6402
|
a.noConflict = function() {
|
6405
|
-
return window.L =
|
6403
|
+
return window.L = fr, this;
|
6406
6404
|
}, window.L = a;
|
6407
6405
|
});
|
6408
|
-
}(
|
6406
|
+
}(Ze, Ze.exports)), Ze.exports;
|
6409
6407
|
}
|
6410
|
-
var ci =
|
6411
|
-
const Mt = /* @__PURE__ */
|
6408
|
+
var ci = $r();
|
6409
|
+
const Mt = /* @__PURE__ */ Pr(ci), ta = /* @__PURE__ */ Yr({
|
6412
6410
|
__proto__: null,
|
6413
6411
|
default: Mt
|
6414
|
-
}, [ci]),
|
6412
|
+
}, [ci]), Mo = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAABSCAMAAAAhFXfZAAAC91BMVEVMaXEzeak2f7I4g7g3g7cua5gzeKg8hJo3grY4g7c3grU0gLI2frE0daAubJc2gbQwd6QzeKk2gLMtd5sxdKIua5g1frA2f7IydaM0e6w2fq41fK01eqo3grgubJgta5cxdKI1f7AydaQydaMxc6EubJgvbJkwcZ4ubZkwcJwubZgubJcydqUydKIxapgubJctbJcubZcubJcvbJYubJcvbZkubJctbJctbZcubJg2f7AubJcrbZcubJcubJcua5g3grY0fq8ubJcubJdEkdEwhsw6i88vhswuhcsuhMtBjMgthMsrg8srgss6is8qgcs8i9A9iMYtg8spgcoogMo7hcMngMonf8olfso4gr8kfck5iM8jfMk4iM8he8k1fro7itAgesk2hs8eecgzfLcofssdeMg0hc4cd8g2hcsxeLQbdsgZdcgxeLImfcszhM0vda4xgckzhM4xg84wf8Yxgs4udKsvfcQucqhUndROmdM1fK0wcZ8vb5w0eqpQm9MzeKhXoNVcpdYydKNWn9VZotVKltJFjsIwcJ1Rms9OlslLmtH///8+kc9epdYzd6dbo9VHkMM2f7FHmNBClM8ydqVcpNY9hro3gLM9hLczealQmcw3fa46f7A8gLMxc6I3eagyc6FIldJMl9JSnNRSntNNl9JPnNJFi75UnM9ZodVKksg8kM45jc09e6ZHltFBk883gbRBh7pDk9EwcaBzn784g7dKkcY2i81Om9M7j85Llc81is09g7Q4grY/j9A0eqxKmdFFltBEjcXf6fFImdBCiLxJl9FGlNFBi78yiMxVndEvbpo6js74+vx+psPP3+o/ks5HkcpGmNCjwdZCkNDM3ehYoNJEls+lxNkxh8xHks0+jdC1zd5Lg6r+/v/H2ufz9/o3jM3t8/edvdM/k89Th61OiLBSjbZklbaTt9BfptdjmL1AicBHj8hGk9FAgK1dkLNTjLRekrdClc/k7fM0icy0y9tgp9c4jc2NtM9Dlc8zicxeXZn3AAAAQ3RSTlMAHDdTb4yPA+LtnEQmC4L2EmHqB7XA0d0sr478x4/Yd5i1zOfyPkf1sLVq4Nh3FvjxopQ2/STNuFzUwFIwxKaejILpIBEV9wAABhVJREFUeF6s1NdyFEcYBeBeoQIhRAkLlRDGrhIgY3BJL8CVeKzuyXFzzjkn5ZxzzuScg3PO8cKzu70JkO0LfxdTU//pM9vTu7Xgf6KqOVTb9X7toRrVEfBf1HTVjZccrT/2by1VV928Yty9ZbVuucdz90frG8DBjl9pVApbOstvmMuvVgaNXSfAAd6pGxpy6yxf5ph43pS/4f3uoaGm2rdu72S9xzOvMymkZFq/ptDrk90mhW7e4zl7HLzhxGWPR20xmSxJ/VqldG5m9XhaVOA1DadsNh3Pu5L2N6QtPO/32JpqQBVVk20oy/Pi2s23WEvyfHbe1thadVQttvm7Llf65gGmXK67XtupyoM7HQhmXdLS8oGWJNeOJ3C5fG5XCEJnkez3/oFdsvgJ4l2ANZwhrJKk/7OSXa+3Vw2WJMlKnGkobouYk6T0TyX30klOUnTD9HJ5qpckL3EW/w4XF3Xd0FGywXUrstrclVsqz5Pd/sXFYyDnPdrLcQODmGOK47IZb4CmibmMn+MYRzFZ5jg33ZL/EJrWcszHmANy3ARBK/IXtciJy8VsitPSdE3uuHxzougojcUdr8/32atnz/ev3f/K5wtpxUTpcaI45zusVDpYtZi+jg0oU9b3x74h7+n9ABvYEZeKaVq0sh0AtLKsFtqNBdeT0MrSzwwlq9+x6xAO4tgOtSzbCjrNQQiNvQUbUEubvzBUeGw26yDCsRHCoLkTHDa7IdOLIThs/gHvChszh2CimE8peRs47cxANI0lYNB5y1DljpOF0IhzBDPOZnDOqYYbeGKECbPzWnXludPphw5c2YBq5zlwXphIbO4VDCZ0gnPfUO1TwZoYwAs2ExPCedAu9DAjfQUjzITQb3jNj0KG2Sgt6BHaQUdYzWz+XmBktOHwanXjaSTcwwziBcuMOtwBmqPrTOxFQR/DRKKPqyur0aiW6cULYsx6tBm0jXpR/AUWR6HRq9WVW6MRhIq5jLyjbaCTDCijyYJNpCajdyobP/eTw0iexBAKkJ3gA5KcQb2zBXsIBckn+xVv8jkZSaEFHE+jFEleAEfayRU0MouNoBmB/L50Ai/HSLIHxcrpCvnhSQAuakKp2C/YbCylJjXRVy/z3+Kv/RrNcCo+WUzlVEhzKffnTQnxeN9fWF88fiNCUdSTsaufaChKWInHeysygfpIqagoakW+vV20J8uyl6TyNKEZWV4oRSPyCkWpgOLSbkCObT8o2r6tlG58HQquf6O0v50tB7JM7F4EORd2dx/K0w/KHsVkLPaoYrwgP/y7krr3SSMA4zj+OBgmjYkxcdIJQyQRKgg2viX9Hddi9UBb29LrKR7CVVEEEXWojUkXNyfTNDE14W9gbHJNuhjDettN3ZvbOvdOqCD3Jp/9l+/wJE+9PkYGjx/fqkys3S2rMozM/o2106rfMUINo6hVqz+eu/hd1c4xTg0TAfy5kV+4UG6+IthHTU9woWmxuKNbTfuCSfovBCxq7EtHqvYL4Sm6F8GVxsSXHMQ07TOi1DKtZxjWaaIyi4CXWjxPccUw8WVbMYY5wxC1mzEyXMJWkllpRloi+Kkoq69sxBTlElF6aAxYUbjXNlhlDZilDnM4U5SlN5biRsRHnbx3mbeWjEh4mEyiuJDl5XcWVmX5GvNkFgLWZM5qwsop4/AWfLhU1cR7k1VVvcYCWRkOI6Xy5gmnphCYIkvzuNYzHzosq2oNk2RtSs8khfUOfHIDgR6ysYBaMpl4uEgk2U/oJTs9AaTSwma7dT69geAE2ZpEjUsn2ieJNHeKfrI3EcAGJ2ZaNgVuC8EBctCLc57P5u5led6IOBkIYkuQMrmmjChs4VkfOerHqSBkPzZlhe06RslZ3zMjk2sscqKwY0RcjKK+LWbzd7KiHhkncs/siFJ+V5eXxD34B8nVuJEpGJNmxN2gH3vSvp7J70tF+D1Ej8qUJD1TkErAND2GZwTFg/LubvmgiBG3SOvdlsqFQrkEzJCL1rstlnVFROixZoDDSuXQFHESwVGlcuQcMb/b42NgjLowh5MTDFE3vNB5qStRIErdCQEh6pLPR92anSUb/wAIhldAaDMpGgAAAABJRU5ErkJggg==", ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
6413
|
+
__proto__: null,
|
6414
|
+
default: Mo
|
6415
|
+
}, Symbol.toStringTag, { value: "Module" })), Oo = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=", ia = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
6415
6416
|
__proto__: null,
|
6416
6417
|
default: Oo
|
6417
|
-
}, Symbol.toStringTag, { value: "Module" })), So = "data:image/png;base64,
|
6418
|
+
}, Symbol.toStringTag, { value: "Module" })), So = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAQAAAACach9AAACMUlEQVR4Ae3ShY7jQBAE0Aoz/f9/HTMzhg1zrdKUrJbdx+Kd2nD8VNudfsL/Th///dyQN2TH6f3y/BGpC379rV+S+qqetBOxImNQXL8JCAr2V4iMQXHGNJxeCfZXhSRBcQMfvkOWUdtfzlLgAENmZDcmo2TVmt8OSM2eXxBp3DjHSMFutqS7SbmemzBiR+xpKCNUIRkdkkYxhAkyGoBvyQFEJEefwSmmvBfJuJ6aKqKWnAkvGZOaZXTUgFqYULWNSHUckZuR1HIIimUExutRxwzOLROIG4vKmCKQt364mIlhSyzAf1m9lHZHJZrlAOMMztRRiKimp/rpdJDc9Awry5xTZCte7FHtuS8wJgeYGrex28xNTd086Dik7vUMscQOa8y4DoGtCCSkAKlNwpgNtphjrC6MIHUkR6YWxxs6Sc5xqn222mmCRFzIt8lEdKx+ikCtg91qS2WpwVfBelJCiQJwvzixfI9cxZQWgiSJelKnwBElKYtDOb2MFbhmUigbReQBV0Cg4+qMXSxXSyGUn4UbF8l+7qdSGnTC0XLCmahIgUHLhLOhpVCtw4CzYXvLQWQbJNmxoCsOKAxSgBJno75avolkRw8iIAFcsdc02e9iyCd8tHwmeSSoKTowIgvscSGZUOA7PuCN5b2BX9mQM7S0wYhMNU74zgsPBj3HU7wguAfnxxjFQGBE6pwN+GjME9zHY7zGp8wVxMShYX9NXvEWD3HbwJf4giO4CFIQxXScH1/TM+04kkBiAAAAAElFTkSuQmCC", na = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
6418
6419
|
__proto__: null,
|
6419
6420
|
default: So
|
6420
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
6421
|
-
__proto__: null,
|
6422
|
-
default: Co
|
6423
|
-
}, Symbol.toStringTag, { value: "Module" })), bo = (r, l) => {
|
6421
|
+
}, Symbol.toStringTag, { value: "Module" })), wo = (r, l) => {
|
6424
6422
|
for (const a of Object.keys(l))
|
6425
6423
|
r.on(a, l[a]);
|
6426
|
-
},
|
6424
|
+
}, Co = (r) => {
|
6427
6425
|
for (const l of Object.keys(r)) {
|
6428
6426
|
const a = r[l];
|
6429
6427
|
a && Jt(a.cancel) && a.cancel();
|
6430
6428
|
}
|
6431
|
-
},
|
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) => {
|
6432
6430
|
for (const d in a) {
|
6433
|
-
const p = "set" +
|
6434
|
-
r[p] ?
|
6431
|
+
const p = "set" + oa(d);
|
6432
|
+
r[p] ? go(
|
6435
6433
|
() => a[d],
|
6436
6434
|
(m, g) => {
|
6437
6435
|
r[p](m, g);
|
6438
6436
|
}
|
6439
|
-
) : l[p] &&
|
6437
|
+
) : l[p] && go(
|
6440
6438
|
() => a[d],
|
6441
6439
|
(m) => {
|
6442
6440
|
l[p](m);
|
@@ -6450,7 +6448,7 @@ const Mt = /* @__PURE__ */ xr(ci), ea = /* @__PURE__ */ Xr({
|
|
6450
6448
|
m && (m && m.custom === !0 || g !== void 0 && (d[p] = g));
|
6451
6449
|
}
|
6452
6450
|
return d;
|
6453
|
-
},
|
6451
|
+
}, re = (r) => {
|
6454
6452
|
const l = {}, a = {};
|
6455
6453
|
for (const d in r)
|
6456
6454
|
if (d.startsWith("on") && !d.startsWith("onUpdate") && d !== "onReady") {
|
@@ -6459,11 +6457,11 @@ const Mt = /* @__PURE__ */ xr(ci), ea = /* @__PURE__ */ Xr({
|
|
6459
6457
|
} else
|
6460
6458
|
a[d] = r[d];
|
6461
6459
|
return { listeners: l, attrs: a };
|
6462
|
-
},
|
6460
|
+
}, sa = async (r) => {
|
6463
6461
|
const l = await Promise.all([
|
6462
|
+
Promise.resolve().then(() => ea),
|
6464
6463
|
Promise.resolve().then(() => ia),
|
6465
|
-
Promise.resolve().then(() => na)
|
6466
|
-
Promise.resolve().then(() => oa)
|
6464
|
+
Promise.resolve().then(() => na)
|
6467
6465
|
]);
|
6468
6466
|
delete r.Default.prototype._getIconUrl, r.Default.mergeOptions({
|
6469
6467
|
iconRetinaUrl: l[0].default,
|
@@ -6471,10 +6469,10 @@ const Mt = /* @__PURE__ */ xr(ci), ea = /* @__PURE__ */ Xr({
|
|
6471
6469
|
shadowUrl: l[2].default
|
6472
6470
|
});
|
6473
6471
|
}, hi = (r) => {
|
6474
|
-
const l =
|
6472
|
+
const l = st(
|
6475
6473
|
(...d) => console.warn(`Method ${r} has been invoked without being replaced`)
|
6476
6474
|
), a = (...d) => l.value(...d);
|
6477
|
-
return a.wrapped = l,
|
6475
|
+
return a.wrapped = l, Ft(r, a), a;
|
6478
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) => {
|
6479
6477
|
const l = Vt(r);
|
6480
6478
|
if (l === void 0)
|
@@ -6484,20 +6482,20 @@ const Mt = /* @__PURE__ */ xr(ci), ea = /* @__PURE__ */ Xr({
|
|
6484
6482
|
return l;
|
6485
6483
|
}, Ut = Symbol(
|
6486
6484
|
"useGlobalLeaflet"
|
6487
|
-
),
|
6485
|
+
), Re = Symbol("addLayer"), ko = Symbol("removeLayer"), en = Symbol(
|
6488
6486
|
"registerControl"
|
6489
|
-
),
|
6487
|
+
), ra = Symbol(
|
6490
6488
|
"registerLayerControl"
|
6491
|
-
),
|
6489
|
+
), zo = Symbol(
|
6492
6490
|
"canSetParentHtml"
|
6493
|
-
),
|
6491
|
+
), Ao = Symbol("setParentHtml"), Eo = Symbol("setIcon"), Bo = Symbol("bindPopup"), Io = Symbol("bindTooltip"), Zo = Symbol("unbindPopup"), Ro = Symbol("unbindTooltip"), Ne = {
|
6494
6492
|
options: {
|
6495
6493
|
type: Object,
|
6496
6494
|
default: () => ({}),
|
6497
6495
|
custom: !0
|
6498
6496
|
}
|
6499
|
-
},
|
6500
|
-
...
|
6497
|
+
}, De = (r) => ({ options: r.options, methods: {} }), ye = {
|
6498
|
+
...Ne,
|
6501
6499
|
pane: {
|
6502
6500
|
type: String
|
6503
6501
|
},
|
@@ -6517,10 +6515,10 @@ const Mt = /* @__PURE__ */ xr(ci), ea = /* @__PURE__ */ Xr({
|
|
6517
6515
|
custom: !0,
|
6518
6516
|
default: !0
|
6519
6517
|
}
|
6520
|
-
},
|
6521
|
-
const d = mt(
|
6518
|
+
}, No = (r, l, a) => {
|
6519
|
+
const d = mt(Re), p = mt(ko), { options: m, methods: g } = De(r), T = Qt(
|
6522
6520
|
r,
|
6523
|
-
|
6521
|
+
ye,
|
6524
6522
|
m
|
6525
6523
|
), v = () => d({ leafletObject: l.value }), E = () => p({ leafletObject: l.value }), x = {
|
6526
6524
|
...g,
|
@@ -6564,14 +6562,14 @@ const Mt = /* @__PURE__ */ xr(ci), ea = /* @__PURE__ */ Xr({
|
|
6564
6562
|
a.emit("update:visible", b);
|
6565
6563
|
}
|
6566
6564
|
};
|
6567
|
-
return
|
6565
|
+
return Ft(Bo, x.bindPopup), Ft(Io, x.bindTooltip), Ft(Zo, x.unbindPopup), Ft(Ro, x.unbindTooltip), $i(() => {
|
6568
6566
|
x.unbindPopup(), x.unbindTooltip(), E();
|
6569
6567
|
}), { options: T, methods: x };
|
6570
|
-
},
|
6568
|
+
}, aa = (r, l) => {
|
6571
6569
|
if (r && l.default)
|
6572
|
-
return
|
6573
|
-
},
|
6574
|
-
...
|
6570
|
+
return se("div", { style: { display: "none" } }, l.default());
|
6571
|
+
}, ha = {
|
6572
|
+
...ye,
|
6575
6573
|
interactive: {
|
6576
6574
|
type: Boolean,
|
6577
6575
|
default: void 0
|
@@ -6580,8 +6578,8 @@ const Mt = /* @__PURE__ */ xr(ci), ea = /* @__PURE__ */ Xr({
|
|
6580
6578
|
type: Boolean,
|
6581
6579
|
default: void 0
|
6582
6580
|
}
|
6583
|
-
},
|
6584
|
-
...
|
6581
|
+
}, Do = {
|
6582
|
+
...ha,
|
6585
6583
|
stroke: {
|
6586
6584
|
type: Boolean,
|
6587
6585
|
default: void 0
|
@@ -6623,8 +6621,8 @@ const Mt = /* @__PURE__ */ xr(ci), ea = /* @__PURE__ */ Xr({
|
|
6623
6621
|
className: {
|
6624
6622
|
type: String
|
6625
6623
|
}
|
6626
|
-
},
|
6627
|
-
...
|
6624
|
+
}, la = {
|
6625
|
+
...Do,
|
6628
6626
|
/**
|
6629
6627
|
* Radius of the marker in pixels.
|
6630
6628
|
*/
|
@@ -6638,17 +6636,17 @@ const Mt = /* @__PURE__ */ xr(ci), ea = /* @__PURE__ */ Xr({
|
|
6638
6636
|
}
|
6639
6637
|
};
|
6640
6638
|
({
|
6641
|
-
...
|
6639
|
+
...la
|
6642
6640
|
});
|
6643
|
-
const
|
6644
|
-
...
|
6641
|
+
const we = {
|
6642
|
+
...Ne,
|
6645
6643
|
position: {
|
6646
6644
|
type: String
|
6647
6645
|
}
|
6648
|
-
},
|
6649
|
-
const { options: a, methods: d } =
|
6646
|
+
}, Ho = (r, l) => {
|
6647
|
+
const { options: a, methods: d } = De(r), p = Qt(
|
6650
6648
|
r,
|
6651
|
-
|
6649
|
+
we,
|
6652
6650
|
a
|
6653
6651
|
), m = {
|
6654
6652
|
...d,
|
@@ -6659,10 +6657,10 @@ const be = {
|
|
6659
6657
|
return $i(() => {
|
6660
6658
|
l.value && l.value.remove();
|
6661
6659
|
}), { options: p, methods: m };
|
6662
|
-
},
|
6660
|
+
}, ua = (r) => r.default ? se("div", { ref: "root" }, r.default()) : null, ca = Pt({
|
6663
6661
|
name: "LControl",
|
6664
6662
|
props: {
|
6665
|
-
...
|
6663
|
+
...we,
|
6666
6664
|
disableClickPropagation: {
|
6667
6665
|
type: Boolean,
|
6668
6666
|
custom: !0,
|
@@ -6675,8 +6673,8 @@ const be = {
|
|
6675
6673
|
}
|
6676
6674
|
},
|
6677
6675
|
setup(r, l) {
|
6678
|
-
const a =
|
6679
|
-
return
|
6676
|
+
const a = st(), d = st(), p = Vt(Ut), m = mt(en), { options: g, methods: T } = Ho(r, a);
|
6677
|
+
return Bt(async () => {
|
6680
6678
|
const { Control: v, DomEvent: E } = p ? Ot.L : await import("./revolugo.leaflet-src.esm.DBQWLG1M.min.js"), x = v.extend({
|
6681
6679
|
onAdd() {
|
6682
6680
|
return d.value;
|
@@ -6686,20 +6684,20 @@ const be = {
|
|
6686
6684
|
}), { root: d, leafletObject: a };
|
6687
6685
|
},
|
6688
6686
|
render() {
|
6689
|
-
return
|
6687
|
+
return ua(this.$slots);
|
6690
6688
|
}
|
6691
6689
|
});
|
6692
6690
|
({
|
6693
|
-
...
|
6691
|
+
...we
|
6694
6692
|
});
|
6695
6693
|
({
|
6696
|
-
...
|
6694
|
+
...we
|
6697
6695
|
});
|
6698
6696
|
({
|
6699
|
-
...
|
6697
|
+
...we
|
6700
6698
|
});
|
6701
|
-
const
|
6702
|
-
...
|
6699
|
+
const Fo = {
|
6700
|
+
...we,
|
6703
6701
|
zoomInText: {
|
6704
6702
|
type: String
|
6705
6703
|
},
|
@@ -6712,22 +6710,22 @@ const Vo = {
|
|
6712
6710
|
zoomOutTitle: {
|
6713
6711
|
type: String
|
6714
6712
|
}
|
6715
|
-
},
|
6716
|
-
const { options: a, methods: d } =
|
6713
|
+
}, da = (r, l) => {
|
6714
|
+
const { options: a, methods: d } = Ho(
|
6717
6715
|
r,
|
6718
6716
|
l
|
6719
6717
|
);
|
6720
6718
|
return { options: Qt(
|
6721
6719
|
r,
|
6722
|
-
|
6720
|
+
Fo,
|
6723
6721
|
a
|
6724
6722
|
), methods: d };
|
6725
|
-
},
|
6723
|
+
}, fa = Pt({
|
6726
6724
|
name: "LControlZoom",
|
6727
|
-
props:
|
6725
|
+
props: Fo,
|
6728
6726
|
setup(r, l) {
|
6729
|
-
const a =
|
6730
|
-
return
|
6727
|
+
const a = st(), d = Vt(Ut), p = mt(en), { options: m, methods: g } = da(r, a);
|
6728
|
+
return Bt(async () => {
|
6731
6729
|
const { control: T } = d ? Ot.L : await import("./revolugo.leaflet-src.esm.DBQWLG1M.min.js");
|
6732
6730
|
a.value = Xt(T.zoom(m)), Wt(g, a.value, r), p({ leafletObject: a.value }), Et(() => l.emit("ready", a.value));
|
6733
6731
|
}), { leafletObject: a };
|
@@ -6735,17 +6733,17 @@ const Vo = {
|
|
6735
6733
|
render() {
|
6736
6734
|
return null;
|
6737
6735
|
}
|
6738
|
-
}),
|
6739
|
-
...
|
6736
|
+
}), Vo = {
|
6737
|
+
...ye
|
6740
6738
|
};
|
6741
6739
|
({
|
6742
|
-
...
|
6740
|
+
...Vo
|
6743
6741
|
});
|
6744
6742
|
({
|
6745
|
-
...
|
6743
|
+
...Vo
|
6746
6744
|
});
|
6747
|
-
const
|
6748
|
-
...
|
6745
|
+
const nn = {
|
6746
|
+
...ye,
|
6749
6747
|
opacity: {
|
6750
6748
|
type: Number
|
6751
6749
|
},
|
@@ -6768,14 +6766,14 @@ const on = {
|
|
6768
6766
|
className: {
|
6769
6767
|
type: String
|
6770
6768
|
}
|
6771
|
-
},
|
6772
|
-
const { options: d, methods: p } =
|
6769
|
+
}, Wo = (r, l, a) => {
|
6770
|
+
const { options: d, methods: p } = No(
|
6773
6771
|
r,
|
6774
6772
|
l,
|
6775
6773
|
a
|
6776
6774
|
), m = Qt(
|
6777
6775
|
r,
|
6778
|
-
|
6776
|
+
nn,
|
6779
6777
|
d
|
6780
6778
|
), g = {
|
6781
6779
|
...p,
|
@@ -6787,15 +6785,15 @@ const on = {
|
|
6787
6785
|
return $i(() => {
|
6788
6786
|
l.value.off();
|
6789
6787
|
}), { options: m, methods: g };
|
6790
|
-
},
|
6788
|
+
}, pa = (r, l, a, d) => r.extend({
|
6791
6789
|
initialize(p) {
|
6792
6790
|
this.tileComponents = {}, this.on("tileunload", this._unloadTile), a.setOptions(this, p);
|
6793
6791
|
},
|
6794
6792
|
createTile(p) {
|
6795
6793
|
const m = this._tileCoordsToKey(p);
|
6796
6794
|
this.tileComponents[m] = l.create("div");
|
6797
|
-
const g =
|
6798
|
-
return
|
6795
|
+
const g = se({ setup: d, props: ["coords"] }, { coords: p });
|
6796
|
+
return Tr(g, this.tileComponents[m]), this.tileComponents[m];
|
6799
6797
|
},
|
6800
6798
|
_unloadTile(p) {
|
6801
6799
|
const m = this._tileCoordsToKey(p.coords);
|
@@ -6804,23 +6802,23 @@ const on = {
|
|
6804
6802
|
});
|
6805
6803
|
Pt({
|
6806
6804
|
props: {
|
6807
|
-
...
|
6805
|
+
...nn,
|
6808
6806
|
childRender: {
|
6809
6807
|
type: Function,
|
6810
6808
|
required: !0
|
6811
6809
|
}
|
6812
6810
|
},
|
6813
6811
|
setup(r, l) {
|
6814
|
-
const a =
|
6815
|
-
return
|
6816
|
-
const { GridLayer: E, DomUtil: x, Util: b } = m ? Ot.L : await import("./revolugo.leaflet-src.esm.DBQWLG1M.min.js"), H =
|
6812
|
+
const a = st(), d = st(null), p = st(!1), m = Vt(Ut), g = mt(Re), { options: T, methods: v } = Wo(r, a, l);
|
6813
|
+
return Bt(async () => {
|
6814
|
+
const { GridLayer: E, DomUtil: x, Util: b } = m ? Ot.L : await import("./revolugo.leaflet-src.esm.DBQWLG1M.min.js"), H = pa(
|
6817
6815
|
E,
|
6818
6816
|
x,
|
6819
6817
|
b,
|
6820
6818
|
r.childRender
|
6821
6819
|
);
|
6822
6820
|
a.value = Xt(new H(T));
|
6823
|
-
const { listeners: R } =
|
6821
|
+
const { listeners: R } = re(l.attrs);
|
6824
6822
|
a.value.on(R), Wt(v, a.value, r), g({
|
6825
6823
|
...r,
|
6826
6824
|
...v,
|
@@ -6829,10 +6827,10 @@ Pt({
|
|
6829
6827
|
}), { root: d, ready: p, leafletObject: a };
|
6830
6828
|
},
|
6831
6829
|
render() {
|
6832
|
-
return this.ready ?
|
6830
|
+
return this.ready ? se("div", { style: { display: "none" }, ref: "root" }) : null;
|
6833
6831
|
}
|
6834
6832
|
});
|
6835
|
-
const
|
6833
|
+
const bo = {
|
6836
6834
|
iconUrl: {
|
6837
6835
|
type: String
|
6838
6836
|
},
|
@@ -6869,14 +6867,14 @@ const Lo = {
|
|
6869
6867
|
className: {
|
6870
6868
|
type: String
|
6871
6869
|
}
|
6872
|
-
},
|
6870
|
+
}, ma = Pt({
|
6873
6871
|
name: "LIcon",
|
6874
6872
|
props: {
|
6875
|
-
...
|
6876
|
-
...
|
6873
|
+
...bo,
|
6874
|
+
...Ne
|
6877
6875
|
},
|
6878
6876
|
setup(r, l) {
|
6879
|
-
const a =
|
6877
|
+
const a = st(), d = Vt(Ut), p = mt(zo), m = mt(Ao), g = mt(Eo);
|
6880
6878
|
let T, v, E, x, b;
|
6881
6879
|
const H = (ct, q, X) => {
|
6882
6880
|
const V = ct && ct.innerHTML;
|
@@ -6884,14 +6882,14 @@ const Lo = {
|
|
6884
6882
|
X && b && p() && m(V);
|
6885
6883
|
return;
|
6886
6884
|
}
|
6887
|
-
const { listeners: w } =
|
6885
|
+
const { listeners: w } = re(l.attrs);
|
6888
6886
|
b && v(b, w);
|
6889
|
-
const { options:
|
6887
|
+
const { options: rt } = De(r), at = Qt(
|
6890
6888
|
r,
|
6891
|
-
|
6892
|
-
|
6889
|
+
bo,
|
6890
|
+
rt
|
6893
6891
|
);
|
6894
|
-
V && (
|
6892
|
+
V && (at.html = V), b = at.html ? E(at) : x(at), T(b, w), g(b);
|
6895
6893
|
}, R = () => {
|
6896
6894
|
Et(() => H(a.value, !0, !1));
|
6897
6895
|
}, G = () => {
|
@@ -6910,7 +6908,7 @@ const Lo = {
|
|
6910
6908
|
setClassName: R,
|
6911
6909
|
setHtml: R
|
6912
6910
|
};
|
6913
|
-
return
|
6911
|
+
return Bt(async () => {
|
6914
6912
|
const {
|
6915
6913
|
DomEvent: ct,
|
6916
6914
|
divIcon: q,
|
@@ -6926,13 +6924,13 @@ const Lo = {
|
|
6926
6924
|
},
|
6927
6925
|
render() {
|
6928
6926
|
const r = this.$slots.default ? this.$slots.default() : void 0;
|
6929
|
-
return
|
6927
|
+
return se("div", { ref: "root" }, r);
|
6930
6928
|
}
|
6931
6929
|
});
|
6932
6930
|
({
|
6933
|
-
...
|
6931
|
+
...ye
|
6934
6932
|
});
|
6935
|
-
function
|
6933
|
+
function Uo(r, l, a) {
|
6936
6934
|
var d, p, m;
|
6937
6935
|
l === void 0 && (l = 50), a === void 0 && (a = {});
|
6938
6936
|
var g = (d = a.isImmediate) != null && d, T = (p = a.callback) != null && p, v = a.maxWait, E = Date.now(), x = [];
|
@@ -6968,8 +6966,8 @@ function qo(r, l, a) {
|
|
6968
6966
|
}), x = [];
|
6969
6967
|
}, H;
|
6970
6968
|
}
|
6971
|
-
const
|
6972
|
-
...
|
6969
|
+
const Lo = {
|
6970
|
+
...Ne,
|
6973
6971
|
/**
|
6974
6972
|
* The center of the map, supports .sync modifier
|
6975
6973
|
*/
|
@@ -7080,23 +7078,23 @@ const Po = {
|
|
7080
7078
|
default: !0,
|
7081
7079
|
custom: !0
|
7082
7080
|
}
|
7083
|
-
},
|
7081
|
+
}, _a = Pt({
|
7084
7082
|
inheritAttrs: !1,
|
7085
7083
|
emits: ["ready", "update:zoom", "update:center", "update:bounds"],
|
7086
|
-
props:
|
7084
|
+
props: Lo,
|
7087
7085
|
setup(r, l) {
|
7088
|
-
const a =
|
7086
|
+
const a = st(), d = xr({
|
7089
7087
|
ready: !1,
|
7090
7088
|
layersToAdd: [],
|
7091
7089
|
layersInControl: []
|
7092
|
-
}), { options: p } =
|
7090
|
+
}), { options: p } = De(r), m = Qt(
|
7093
7091
|
r,
|
7094
|
-
|
7092
|
+
Lo,
|
7095
7093
|
p
|
7096
|
-
), { listeners: g, attrs: T } =
|
7097
|
-
|
7094
|
+
), { listeners: g, attrs: T } = re(l.attrs), v = hi(Re), E = hi(ko), x = hi(en), b = hi(
|
7095
|
+
ra
|
7098
7096
|
);
|
7099
|
-
|
7097
|
+
Ft(Ut, r.useGlobalLeaflet);
|
7100
7098
|
const H = ri(() => {
|
7101
7099
|
const q = {};
|
7102
7100
|
return r.noBlockingAnimations && (q.animate = !1), q;
|
@@ -7104,7 +7102,7 @@ const Po = {
|
|
7104
7102
|
const q = H.value;
|
7105
7103
|
return r.padding && (q.padding = r.padding), r.paddingTopLeft && (q.paddingTopLeft = r.paddingTopLeft), r.paddingBottomRight && (q.paddingBottomRight = r.paddingBottomRight), q;
|
7106
7104
|
}), G = {
|
7107
|
-
moveend:
|
7105
|
+
moveend: Uo((q) => {
|
7108
7106
|
d.leafletRef && (l.emit("update:zoom", d.leafletRef.getZoom()), l.emit("update:center", d.leafletRef.getCenter()), l.emit("update:bounds", d.leafletRef.getBounds()));
|
7109
7107
|
}),
|
7110
7108
|
overlayadd(q) {
|
@@ -7116,9 +7114,9 @@ const Po = {
|
|
7116
7114
|
X && X.updateVisibleProp(!1);
|
7117
7115
|
}
|
7118
7116
|
};
|
7119
|
-
|
7120
|
-
r.useGlobalLeaflet && (Ot.L = Ot.L || await Promise.resolve().then(() =>
|
7121
|
-
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");
|
7122
7120
|
try {
|
7123
7121
|
m.beforeMapMount && await m.beforeMapMount();
|
7124
7122
|
} catch (z) {
|
@@ -7126,20 +7124,20 @@ const Po = {
|
|
7126
7124
|
`The following error occurred running the provided beforeMapMount hook ${z.message}`
|
7127
7125
|
);
|
7128
7126
|
}
|
7129
|
-
await
|
7130
|
-
const
|
7131
|
-
m.crs =
|
7127
|
+
await sa(V);
|
7128
|
+
const He = typeof m.crs == "string" ? X[m.crs] : m.crs;
|
7129
|
+
m.crs = He || X.EPSG3857;
|
7132
7130
|
const qt = {
|
7133
7131
|
addLayer(z) {
|
7134
7132
|
z.layerType !== void 0 && (d.layerControl === void 0 ? d.layersToAdd.push(z) : d.layersInControl.find(
|
7135
|
-
(j) =>
|
7133
|
+
(j) => at(j.leafletObject) === at(z.leafletObject)
|
7136
7134
|
) || (d.layerControl.addLayer(z), d.layersInControl.push(z))), z.visible !== !1 && d.leafletRef.addLayer(z.leafletObject);
|
7137
7135
|
},
|
7138
7136
|
removeLayer(z) {
|
7139
7137
|
z.layerType !== void 0 && (d.layerControl === void 0 ? d.layersToAdd = d.layersToAdd.filter(
|
7140
7138
|
(j) => j.name !== z.name
|
7141
7139
|
) : (d.layerControl.removeLayer(z.leafletObject), d.layersInControl = d.layersInControl.filter(
|
7142
|
-
(j) =>
|
7140
|
+
(j) => at(j.leafletObject) !== at(z.leafletObject)
|
7143
7141
|
))), d.leafletRef.removeLayer(z.leafletObject);
|
7144
7142
|
},
|
7145
7143
|
registerLayerControl(z) {
|
@@ -7173,19 +7171,19 @@ const Po = {
|
|
7173
7171
|
setCenter(z) {
|
7174
7172
|
if (z == null)
|
7175
7173
|
return;
|
7176
|
-
const j =
|
7177
|
-
(
|
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));
|
7178
7176
|
}
|
7179
7177
|
};
|
7180
|
-
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));
|
7181
7179
|
}), ui(() => {
|
7182
|
-
|
7180
|
+
Co(G), d.leafletRef && (d.leafletRef.off(), d.leafletRef.remove());
|
7183
7181
|
});
|
7184
7182
|
const N = ri(() => d.leafletRef), ct = ri(() => d.ready);
|
7185
7183
|
return { root: a, ready: ct, leafletObject: N, attrs: T };
|
7186
7184
|
},
|
7187
7185
|
render({ attrs: r }) {
|
7188
|
-
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(
|
7189
7187
|
"div",
|
7190
7188
|
{
|
7191
7189
|
...r,
|
@@ -7194,8 +7192,8 @@ const Po = {
|
|
7194
7192
|
this.ready && this.$slots.default ? this.$slots.default() : {}
|
7195
7193
|
);
|
7196
7194
|
}
|
7197
|
-
}),
|
7198
|
-
...
|
7195
|
+
}), ga = ["Symbol(Comment)", "Symbol(Text)"], va = ["LTooltip", "LPopup"], qo = {
|
7196
|
+
...ye,
|
7199
7197
|
draggable: {
|
7200
7198
|
type: Boolean,
|
7201
7199
|
default: void 0
|
@@ -7211,14 +7209,14 @@ const Po = {
|
|
7211
7209
|
custom: !0,
|
7212
7210
|
required: !0
|
7213
7211
|
}
|
7214
|
-
},
|
7215
|
-
const { options: d, methods: p } =
|
7212
|
+
}, ya = (r, l, a) => {
|
7213
|
+
const { options: d, methods: p } = No(
|
7216
7214
|
r,
|
7217
7215
|
l,
|
7218
7216
|
a
|
7219
7217
|
), m = Qt(
|
7220
7218
|
r,
|
7221
|
-
|
7219
|
+
qo,
|
7222
7220
|
d
|
7223
7221
|
), g = {
|
7224
7222
|
...p,
|
@@ -7236,54 +7234,54 @@ const Po = {
|
|
7236
7234
|
}
|
7237
7235
|
};
|
7238
7236
|
return { options: m, methods: g };
|
7239
|
-
},
|
7237
|
+
}, wa = (r, l) => {
|
7240
7238
|
const a = l.slots.default && l.slots.default();
|
7241
|
-
return a && a.length && a.some(
|
7239
|
+
return a && a.length && a.some(ba);
|
7242
7240
|
};
|
7243
|
-
function
|
7244
|
-
return !(
|
7241
|
+
function ba(r) {
|
7242
|
+
return !(ga.includes(r.type.toString()) || va.includes(r.type.name));
|
7245
7243
|
}
|
7246
|
-
const
|
7244
|
+
const La = Pt({
|
7247
7245
|
name: "LMarker",
|
7248
|
-
props:
|
7246
|
+
props: qo,
|
7249
7247
|
setup(r, l) {
|
7250
|
-
const a =
|
7251
|
-
|
7252
|
-
|
7248
|
+
const a = st(), d = st(!1), p = Vt(Ut), m = mt(Re);
|
7249
|
+
Ft(
|
7250
|
+
zo,
|
7253
7251
|
() => {
|
7254
7252
|
var E;
|
7255
7253
|
return !!((E = a.value) != null && E.getElement());
|
7256
7254
|
}
|
7257
|
-
),
|
7255
|
+
), Ft(Ao, (E) => {
|
7258
7256
|
var x, b;
|
7259
7257
|
const H = Jt((x = a.value) == null ? void 0 : x.getElement) && ((b = a.value) == null ? void 0 : b.getElement());
|
7260
7258
|
H && (H.innerHTML = E);
|
7261
|
-
}),
|
7262
|
-
|
7259
|
+
}), Ft(
|
7260
|
+
Eo,
|
7263
7261
|
(E) => {
|
7264
7262
|
var x;
|
7265
7263
|
return ((x = a.value) == null ? void 0 : x.setIcon) && a.value.setIcon(E);
|
7266
7264
|
}
|
7267
7265
|
);
|
7268
|
-
const { options: g, methods: T } =
|
7269
|
-
moveHandler:
|
7266
|
+
const { options: g, methods: T } = ya(r, a, l), v = {
|
7267
|
+
moveHandler: Uo(T.latLngSync)
|
7270
7268
|
};
|
7271
|
-
return
|
7269
|
+
return Bt(async () => {
|
7272
7270
|
const { marker: E, divIcon: x } = p ? Ot.L : await import("./revolugo.leaflet-src.esm.DBQWLG1M.min.js");
|
7273
|
-
|
7274
|
-
const { listeners: b } =
|
7271
|
+
wa(g, l) && (g.icon = x({ className: "" })), a.value = Xt(E(r.latLng, g));
|
7272
|
+
const { listeners: b } = re(l.attrs);
|
7275
7273
|
a.value.on(b), a.value.on("move", v.moveHandler), Wt(T, a.value, r), m({
|
7276
7274
|
...r,
|
7277
7275
|
...T,
|
7278
7276
|
leafletObject: a.value
|
7279
7277
|
}), d.value = !0, Et(() => l.emit("ready", a.value));
|
7280
|
-
}), ui(() =>
|
7278
|
+
}), ui(() => Co(v)), { ready: d, leafletObject: a };
|
7281
7279
|
},
|
7282
7280
|
render() {
|
7283
|
-
return
|
7281
|
+
return aa(this.ready, this.$slots);
|
7284
7282
|
}
|
7285
|
-
}),
|
7286
|
-
...
|
7283
|
+
}), Pa = {
|
7284
|
+
...Do,
|
7287
7285
|
smoothFactor: {
|
7288
7286
|
type: Number
|
7289
7287
|
},
|
@@ -7296,57 +7294,57 @@ const Pa = Pt({
|
|
7296
7294
|
required: !0,
|
7297
7295
|
custom: !0
|
7298
7296
|
}
|
7299
|
-
},
|
7300
|
-
...
|
7301
|
-
},
|
7302
|
-
...
|
7297
|
+
}, Po = {
|
7298
|
+
...Pa
|
7299
|
+
}, jo = {
|
7300
|
+
...Ne,
|
7303
7301
|
content: {
|
7304
7302
|
type: String,
|
7305
7303
|
default: null
|
7306
7304
|
}
|
7307
|
-
},
|
7308
|
-
const { options: a, methods: d } =
|
7305
|
+
}, Go = (r, l) => {
|
7306
|
+
const { options: a, methods: d } = De(r), p = {
|
7309
7307
|
...d,
|
7310
7308
|
setContent(m) {
|
7311
7309
|
l.value && m !== null && m !== void 0 && l.value.setContent(m);
|
7312
7310
|
}
|
7313
7311
|
};
|
7314
7312
|
return { options: a, methods: p };
|
7315
|
-
},
|
7316
|
-
...
|
7313
|
+
}, Ko = (r) => r.default ? se("div", { ref: "root" }, r.default()) : null, xa = {
|
7314
|
+
...jo,
|
7317
7315
|
latLng: {
|
7318
7316
|
type: [Object, Array],
|
7319
7317
|
default: () => []
|
7320
7318
|
}
|
7321
|
-
},
|
7322
|
-
const { options: a, methods: d } =
|
7319
|
+
}, Ta = (r, l) => {
|
7320
|
+
const { options: a, methods: d } = Go(r, l);
|
7323
7321
|
return { options: a, methods: d };
|
7324
|
-
},
|
7322
|
+
}, Ma = Pt({
|
7325
7323
|
name: "LPopup",
|
7326
|
-
props:
|
7324
|
+
props: xa,
|
7327
7325
|
setup(r, l) {
|
7328
|
-
const a =
|
7329
|
-
return
|
7326
|
+
const a = st(), d = st(null), p = Vt(Ut), m = mt(Bo), g = mt(Zo), { options: T, methods: v } = Ta(r, a);
|
7327
|
+
return Bt(async () => {
|
7330
7328
|
const { popup: E } = p ? Ot.L : await import("./revolugo.leaflet-src.esm.DBQWLG1M.min.js");
|
7331
7329
|
a.value = Xt(E(T)), r.latLng !== void 0 && a.value.setLatLng(r.latLng), Wt(v, a.value, r);
|
7332
|
-
const { listeners: x } =
|
7330
|
+
const { listeners: x } = re(l.attrs);
|
7333
7331
|
a.value.on(x), a.value.setContent(r.content || d.value || ""), m(a.value), Et(() => l.emit("ready", a.value));
|
7334
7332
|
}), ui(() => {
|
7335
7333
|
g();
|
7336
7334
|
}), { root: d, leafletObject: a };
|
7337
7335
|
},
|
7338
7336
|
render() {
|
7339
|
-
return
|
7337
|
+
return Ko(this.$slots);
|
7340
7338
|
}
|
7341
7339
|
});
|
7342
7340
|
({
|
7343
|
-
...
|
7341
|
+
...Po,
|
7344
7342
|
latLngs: {
|
7345
|
-
...
|
7343
|
+
...Po.latLngs
|
7346
7344
|
}
|
7347
7345
|
});
|
7348
|
-
const
|
7349
|
-
...
|
7346
|
+
const on = {
|
7347
|
+
...nn,
|
7350
7348
|
tms: {
|
7351
7349
|
type: Boolean,
|
7352
7350
|
default: void 0
|
@@ -7364,23 +7362,23 @@ const sn = {
|
|
7364
7362
|
required: !0,
|
7365
7363
|
custom: !0
|
7366
7364
|
}
|
7367
|
-
},
|
7368
|
-
const { options: d, methods: p } =
|
7365
|
+
}, Oa = (r, l, a) => {
|
7366
|
+
const { options: d, methods: p } = Wo(r, l, a), m = Qt(
|
7369
7367
|
r,
|
7370
|
-
|
7368
|
+
on,
|
7371
7369
|
d
|
7372
7370
|
), g = {
|
7373
7371
|
...p
|
7374
7372
|
};
|
7375
7373
|
return { options: m, methods: g };
|
7376
|
-
},
|
7377
|
-
props:
|
7374
|
+
}, Sa = Pt({
|
7375
|
+
props: on,
|
7378
7376
|
setup(r, l) {
|
7379
|
-
const a =
|
7380
|
-
return
|
7377
|
+
const a = st(), d = Vt(Ut), p = mt(Re), { options: m, methods: g } = Oa(r, a, l);
|
7378
|
+
return Bt(async () => {
|
7381
7379
|
const { tileLayer: T } = d ? Ot.L : await import("./revolugo.leaflet-src.esm.DBQWLG1M.min.js");
|
7382
7380
|
a.value = Xt(T(r.url, m));
|
7383
|
-
const { listeners: v } =
|
7381
|
+
const { listeners: v } = re(l.attrs);
|
7384
7382
|
a.value.on(v), Wt(g, a.value, r), p({
|
7385
7383
|
...r,
|
7386
7384
|
...g,
|
@@ -7391,31 +7389,31 @@ const sn = {
|
|
7391
7389
|
render() {
|
7392
7390
|
return null;
|
7393
7391
|
}
|
7394
|
-
}),
|
7395
|
-
...
|
7396
|
-
},
|
7397
|
-
const { options: a, methods: d } =
|
7392
|
+
}), Ca = {
|
7393
|
+
...jo
|
7394
|
+
}, ka = (r, l) => {
|
7395
|
+
const { options: a, methods: d } = Go(r, l), p = mt(Ro);
|
7398
7396
|
return ui(() => {
|
7399
7397
|
p();
|
7400
7398
|
}), { options: a, methods: d };
|
7401
|
-
},
|
7399
|
+
}, za = Pt({
|
7402
7400
|
name: "LTooltip",
|
7403
|
-
props:
|
7401
|
+
props: Ca,
|
7404
7402
|
setup(r, l) {
|
7405
|
-
const a =
|
7406
|
-
return
|
7403
|
+
const a = st(), d = st(null), p = Vt(Ut), m = mt(Io), { options: g, methods: T } = ka(r, a);
|
7404
|
+
return Bt(async () => {
|
7407
7405
|
const { tooltip: v } = p ? Ot.L : await import("./revolugo.leaflet-src.esm.DBQWLG1M.min.js");
|
7408
7406
|
a.value = Xt(v(g)), Wt(T, a.value, r);
|
7409
|
-
const { listeners: E } =
|
7407
|
+
const { listeners: E } = re(l.attrs);
|
7410
7408
|
a.value.on(E), a.value.setContent(r.content || d.value || ""), m(a.value), Et(() => l.emit("ready", a.value));
|
7411
7409
|
}), { root: d, leafletObject: a };
|
7412
7410
|
},
|
7413
7411
|
render() {
|
7414
|
-
return
|
7412
|
+
return Ko(this.$slots);
|
7415
7413
|
}
|
7416
7414
|
});
|
7417
7415
|
({
|
7418
|
-
...
|
7416
|
+
...on
|
7419
7417
|
});
|
7420
7418
|
Mt.Map.mergeOptions({
|
7421
7419
|
// @option smoothWheelZoom: number = 1
|
@@ -7467,213 +7465,163 @@ Mt.Map.SmoothWheelZoom = Mt.Handler.extend({
|
|
7467
7465
|
}
|
7468
7466
|
});
|
7469
7467
|
Mt.Map.addInitHook("addHandler", "smoothWheelZoom", Mt.Map.SmoothWheelZoom);
|
7470
|
-
const
|
7471
|
-
discountPercentage: {
|
7472
|
-
default: 0,
|
7473
|
-
type: Number
|
7474
|
-
},
|
7475
|
-
focus: {
|
7476
|
-
type: Boolean
|
7477
|
-
},
|
7478
|
-
initBounceIn: {
|
7479
|
-
default: !0,
|
7480
|
-
type: Boolean
|
7481
|
-
},
|
7482
|
-
isMostPopular: {
|
7483
|
-
type: Boolean
|
7484
|
-
},
|
7485
|
-
isPartner: {
|
7486
|
-
type: Boolean
|
7487
|
-
},
|
7488
|
-
price: {
|
7489
|
-
required: !0,
|
7490
|
-
type: Number
|
7491
|
-
},
|
7492
|
-
tag: {
|
7493
|
-
type: Object
|
7494
|
-
}
|
7495
|
-
}, Ba = Pt({
|
7496
|
-
components: { BFormattedAmount: Ur },
|
7497
|
-
data() {
|
7498
|
-
return {
|
7499
|
-
bounceIn: !0
|
7500
|
-
};
|
7501
|
-
},
|
7502
|
-
mounted() {
|
7503
|
-
setTimeout(() => {
|
7504
|
-
this.bounceIn = !1;
|
7505
|
-
}, 1800);
|
7506
|
-
},
|
7507
|
-
name: "BHotelOfferMarker",
|
7508
|
-
props: Ea,
|
7509
|
-
setup() {
|
7510
|
-
const { t: r } = tn();
|
7511
|
-
return {
|
7512
|
-
t: r
|
7513
|
-
};
|
7514
|
-
}
|
7515
|
-
}), Ia = {
|
7468
|
+
const Aa = {
|
7516
7469
|
key: 0,
|
7517
7470
|
class: "hotel-marker-badge most-popular"
|
7518
|
-
},
|
7471
|
+
}, Ea = {
|
7519
7472
|
key: 2,
|
7520
7473
|
class: "hotel-marker-badge partner"
|
7521
|
-
}
|
7522
|
-
|
7523
|
-
|
7524
|
-
|
7525
|
-
|
7526
|
-
|
7527
|
-
|
7528
|
-
|
7529
|
-
|
7530
|
-
|
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"
|
7531
7562
|
})
|
7532
7563
|
}, [
|
7533
|
-
|
7534
|
-
|
7535
|
-
|
7536
|
-
|
7537
|
-
|
7538
|
-
|
7539
|
-
Lt(" fas fa-star ")
|
7540
|
-
])),
|
7541
|
-
_: 1,
|
7542
|
-
__: [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)`
|
7543
7570
|
})
|
7544
|
-
])) : r.tag && r.tag.icon ? (Z(), ut("div", {
|
7545
|
-
key: 1,
|
7546
|
-
class: Qi(["marker-badge marker-badge--tag", { primary: !r.tag.bg }])
|
7547
7571
|
}, [
|
7548
|
-
|
7549
|
-
|
7550
|
-
|
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)
|
7551
7583
|
}, {
|
7552
7584
|
default: A(() => [
|
7553
|
-
Lt(
|
7585
|
+
Lt(" fas fa-" + At(l.icon), 1)
|
7554
7586
|
]),
|
7555
7587
|
_: 1
|
7556
|
-
})
|
7557
|
-
],
|
7558
|
-
|
7559
|
-
|
7560
|
-
|
7561
|
-
|
7562
|
-
default: A(() => l[1] || (l[1] = [
|
7563
|
-
Lt(" fas fa-heart ")
|
7564
|
-
])),
|
7565
|
-
_: 1,
|
7566
|
-
__: [1]
|
7567
|
-
})
|
7568
|
-
])) : gt("", !0),
|
7569
|
-
U(g, {
|
7570
|
-
amount: r.price,
|
7571
|
-
"round-mode": "round"
|
7572
|
-
}, null, 8, ["amount"]),
|
7573
|
-
l[2] || (l[2] = se("div", { class: "arrow" }, null, -1))
|
7574
|
-
], 6)
|
7575
|
-
]);
|
7576
|
-
}
|
7577
|
-
const Na = /* @__PURE__ */ en(Ba, [["render", Ra], ["__scopeId", "data-v-3b53a218"]]), Da = {
|
7578
|
-
icon: {
|
7579
|
-
type: String
|
7580
|
-
},
|
7581
|
-
iconColor: {
|
7582
|
-
default: "white",
|
7583
|
-
type: String
|
7584
|
-
},
|
7585
|
-
imgUrl: {
|
7586
|
-
type: String
|
7587
|
-
},
|
7588
|
-
pulse: {
|
7589
|
-
default: !0,
|
7590
|
-
type: Boolean
|
7591
|
-
},
|
7592
|
-
size: {
|
7593
|
-
default: 40,
|
7594
|
-
type: Number
|
7595
|
-
}
|
7596
|
-
}, Ha = Pt({
|
7597
|
-
name: "BMapMarker",
|
7598
|
-
props: Da,
|
7599
|
-
setup() {
|
7600
|
-
const { t: r } = tn();
|
7601
|
-
return {
|
7602
|
-
// TODO: remove uknown workaround once locale/lang is unified
|
7603
|
-
t: r
|
7604
|
-
};
|
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));
|
7605
7594
|
}
|
7606
|
-
});
|
7607
|
-
function Fa(r, l, a, d, p, m) {
|
7608
|
-
return Z(), ut("div", {
|
7609
|
-
class: "b-map-marker position-relative",
|
7610
|
-
style: ye({
|
7611
|
-
width: r.size + "px",
|
7612
|
-
height: r.size * Math.sqrt(2) + "px"
|
7613
|
-
})
|
7614
|
-
}, [
|
7615
|
-
se("div", {
|
7616
|
-
class: "b-map-marker__pin",
|
7617
|
-
style: ye({
|
7618
|
-
width: r.size + "px",
|
7619
|
-
height: r.size + "px",
|
7620
|
-
bottom: `calc(${r.size * ((1 - Math.sqrt(2)) / 2)}px + 5px)`
|
7621
|
-
})
|
7622
|
-
}, [
|
7623
|
-
r.imgUrl ? (Z(), ut("div", {
|
7624
|
-
key: 0,
|
7625
|
-
style: ye({
|
7626
|
-
height: `${r.size * (1 / Math.sqrt(2) - 0.1)}px`,
|
7627
|
-
width: `${r.size * (1 / Math.sqrt(2) - 0.1)}px`,
|
7628
|
-
backgroundImage: `url(${r.imgUrl})`
|
7629
|
-
})
|
7630
|
-
}, null, 4)) : r.icon ? (Z(), et(Yt, {
|
7631
|
-
key: 1,
|
7632
|
-
color: r.iconColor,
|
7633
|
-
size: 0.7 * r.size * (1 / Math.sqrt(2) - 0.02)
|
7634
|
-
}, {
|
7635
|
-
default: A(() => [
|
7636
|
-
Lt(" fas fa-" + At(r.icon), 1)
|
7637
|
-
]),
|
7638
|
-
_: 1
|
7639
|
-
}, 8, ["color", "size"])) : gt("", !0)
|
7640
|
-
], 4),
|
7641
|
-
se("div", {
|
7642
|
-
class: Qi(r.pulse ? "b-map-marker__pulse" : null)
|
7643
|
-
}, null, 2)
|
7644
|
-
], 4);
|
7645
|
-
}
|
7646
|
-
const Va = /* @__PURE__ */ en(Ha, [["render", Fa], ["__scopeId", "data-v-d2b921f8"]]);
|
7595
|
+
}), Ra = /* @__PURE__ */ tn(Za, [["__scopeId", "data-v-088631f7"]]);
|
7647
7596
|
delete ci.Icon.Default.prototype._getIconUrl;
|
7648
7597
|
ci.Icon.Default.mergeOptions({
|
7649
|
-
iconRetinaUrl:
|
7650
|
-
iconUrl:
|
7651
|
-
shadowUrl:
|
7598
|
+
iconRetinaUrl: Mo,
|
7599
|
+
iconUrl: Oo,
|
7600
|
+
shadowUrl: So
|
7652
7601
|
});
|
7653
|
-
const
|
7602
|
+
const Jo = Pt({
|
7654
7603
|
components: {
|
7655
7604
|
BBreakpointObserver: Wr,
|
7656
7605
|
BErrorOverlay: Vr,
|
7657
|
-
BHotelOfferMarker:
|
7658
|
-
BHotelOffersFilterBar:
|
7659
|
-
BMapMarker:
|
7660
|
-
BSearchLocationInput:
|
7661
|
-
HotelOfferItem:
|
7662
|
-
LControl:
|
7663
|
-
LControlZoom:
|
7664
|
-
LIcon:
|
7665
|
-
LMap:
|
7666
|
-
LMarker:
|
7667
|
-
LPopup:
|
7668
|
-
LTileLayer:
|
7669
|
-
LTooltip:
|
7606
|
+
BHotelOfferMarker: Ia,
|
7607
|
+
BHotelOffersFilterBar: Hr,
|
7608
|
+
BMapMarker: Ra,
|
7609
|
+
BSearchLocationInput: Dr,
|
7610
|
+
HotelOfferItem: Nr,
|
7611
|
+
LControl: ca,
|
7612
|
+
LControlZoom: fa,
|
7613
|
+
LIcon: ma,
|
7614
|
+
LMap: _a,
|
7615
|
+
LMarker: La,
|
7616
|
+
LPopup: Ma,
|
7617
|
+
LTileLayer: Sa,
|
7618
|
+
LTooltip: za
|
7670
7619
|
},
|
7671
7620
|
computed: {
|
7672
7621
|
actualVenue() {
|
7673
|
-
var l, a;
|
7674
7622
|
const r = {
|
7675
|
-
latitude:
|
7676
|
-
longitude:
|
7623
|
+
latitude: this.parsedVenue?.latitude || this.hotelOfferRequest.latitude,
|
7624
|
+
longitude: this.parsedVenue?.longitude || this.hotelOfferRequest.longitude
|
7677
7625
|
};
|
7678
7626
|
return {
|
7679
7627
|
...this.parsedVenue,
|
@@ -7683,16 +7631,16 @@ const Yo = Pt({
|
|
7683
7631
|
} : {}
|
7684
7632
|
};
|
7685
7633
|
},
|
7686
|
-
...
|
7634
|
+
...Or(
|
7687
7635
|
kr,
|
7688
|
-
|
7689
|
-
|
7636
|
+
jr,
|
7637
|
+
Fr
|
7690
7638
|
),
|
7691
7639
|
center() {
|
7692
7640
|
return this.hotelOfferRequest.longitude && this.hotelOfferRequest.latitude ? [this.hotelOfferRequest.latitude, this.hotelOfferRequest.longitude] : void 0;
|
7693
7641
|
},
|
7694
|
-
filters:
|
7695
|
-
hasErrorHotelOffers:
|
7642
|
+
filters: ge("hotelOffers/filters"),
|
7643
|
+
hasErrorHotelOffers: ge("hotelOffers/hasError"),
|
7696
7644
|
hereTileUrl() {
|
7697
7645
|
const r = "lite.day", l = this.showTransit ? "features=public_transit:all_systems&ppi=400" : "";
|
7698
7646
|
return `https://maps.hereapi.com/v3/base/mc/{z}/{x}/{y}/png8?style=${r}&${l}&apiKey={apiKey}`;
|
@@ -7703,13 +7651,13 @@ const Yo = Pt({
|
|
7703
7651
|
hotelOfferRequestMarker() {
|
7704
7652
|
return this.hotelOfferRequest.latitude && this.hotelOfferRequest.longitude ? [this.hotelOfferRequest.latitude, this.hotelOfferRequest.longitude] : void 0;
|
7705
7653
|
},
|
7706
|
-
hotelOffers:
|
7707
|
-
hotelOffersCurrency:
|
7654
|
+
hotelOffers: ge("hotelOffers/hotelOffers"),
|
7655
|
+
hotelOffersCurrency: ge("hotelOffers/hotelOffersCurrency"),
|
7708
7656
|
isMapVisible() {
|
7709
7657
|
return this.isBookingApiClientDefined && !this.showSkeleton && !this.showErrorMessage;
|
7710
7658
|
},
|
7711
|
-
isPollingHotelOffers:
|
7712
|
-
nightCount:
|
7659
|
+
isPollingHotelOffers: ge("hotelOffers/isPolling"),
|
7660
|
+
nightCount: ge("hotelOfferRequest/nightCount"),
|
7713
7661
|
showErrorMessage() {
|
7714
7662
|
return this.hotelOfferRequest.hasError || this.hasErrorHotelOffers;
|
7715
7663
|
},
|
@@ -7733,7 +7681,7 @@ const Yo = Pt({
|
|
7733
7681
|
return {
|
7734
7682
|
currentCenter: this.center,
|
7735
7683
|
displayMap: !0,
|
7736
|
-
hereApiKey:
|
7684
|
+
hereApiKey: Cr,
|
7737
7685
|
hereSubdomains: "1234",
|
7738
7686
|
isLocationInputVisible: !0,
|
7739
7687
|
isMapMouseDown: !1,
|
@@ -7746,20 +7694,17 @@ const Yo = Pt({
|
|
7746
7694
|
};
|
7747
7695
|
},
|
7748
7696
|
destroyed() {
|
7749
|
-
|
7750
|
-
(r = this.observer) == null || r.disconnect();
|
7697
|
+
this.observer?.disconnect();
|
7751
7698
|
},
|
7752
7699
|
methods: {
|
7753
7700
|
centerOnVenue() {
|
7754
|
-
|
7755
|
-
(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(
|
7756
7702
|
this.actualVenue.latitude,
|
7757
7703
|
this.actualVenue.longitude
|
7758
7704
|
));
|
7759
7705
|
},
|
7760
7706
|
centerTo(r, l = 0.5, a = 15) {
|
7761
|
-
|
7762
|
-
(d = this.map) == null || d.flyTo([r[0], r[1]], a, {
|
7707
|
+
this.map?.flyTo([r[0], r[1]], a, {
|
7763
7708
|
duration: l
|
7764
7709
|
});
|
7765
7710
|
},
|
@@ -7800,12 +7745,10 @@ const Yo = Pt({
|
|
7800
7745
|
this.isMapMouseDown && (this.isMapMoveDirty = !0);
|
7801
7746
|
},
|
7802
7747
|
onMapReady() {
|
7803
|
-
var l, a;
|
7804
7748
|
const r = this.$refs.map.$el;
|
7805
|
-
this.map =
|
7806
|
-
|
7807
|
-
|
7808
|
-
}), 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();
|
7809
7752
|
},
|
7810
7753
|
openPopup(r) {
|
7811
7754
|
r.openPopup();
|
@@ -7821,13 +7764,13 @@ const Yo = Pt({
|
|
7821
7764
|
}
|
7822
7765
|
},
|
7823
7766
|
mixins: [
|
7824
|
-
|
7825
|
-
|
7826
|
-
|
7827
|
-
|
7767
|
+
Mr,
|
7768
|
+
Ur(["config.currency", "$i18n.locale"], "retrieveHotelOffers"),
|
7769
|
+
Zr,
|
7770
|
+
Rr,
|
7828
7771
|
Yi({
|
7829
7772
|
cb: (r) => zr(r, "hotelRoomOfferList"),
|
7830
|
-
fallbackValue:
|
7773
|
+
fallbackValue: To,
|
7831
7774
|
propsName: "features"
|
7832
7775
|
}),
|
7833
7776
|
Yi({
|
@@ -7845,12 +7788,12 @@ const Yo = Pt({
|
|
7845
7788
|
}),
|
7846
7789
|
propsName: "venue"
|
7847
7790
|
}),
|
7848
|
-
|
7791
|
+
Gr()
|
7849
7792
|
],
|
7850
7793
|
name: "HotelOffersMap",
|
7851
|
-
props:
|
7794
|
+
props: Xr,
|
7852
7795
|
setup() {
|
7853
|
-
const { t: r } =
|
7796
|
+
const { t: r } = Sr();
|
7854
7797
|
return {
|
7855
7798
|
t: r
|
7856
7799
|
};
|
@@ -7859,8 +7802,7 @@ const Yo = Pt({
|
|
7859
7802
|
hereTileUrl: {
|
7860
7803
|
handler() {
|
7861
7804
|
this.$nextTick(() => {
|
7862
|
-
|
7863
|
-
(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);
|
7864
7806
|
});
|
7865
7807
|
}
|
7866
7808
|
},
|
@@ -7881,8 +7823,7 @@ const Yo = Pt({
|
|
7881
7823
|
searchInputLocation: {
|
7882
7824
|
deep: !0,
|
7883
7825
|
handler() {
|
7884
|
-
|
7885
|
-
(r = this.searchInputLocation) != null && r.latitude && ((l = this.searchInputLocation) != null && l.longitude) && this.updateHotelOfferRequestLocation(
|
7826
|
+
this.searchInputLocation?.latitude && this.searchInputLocation?.longitude && this.updateHotelOfferRequestLocation(
|
7886
7827
|
this.searchInputLocation.latitude,
|
7887
7828
|
this.searchInputLocation.longitude
|
7888
7829
|
);
|
@@ -7890,7 +7831,7 @@ const Yo = Pt({
|
|
7890
7831
|
}
|
7891
7832
|
}
|
7892
7833
|
});
|
7893
|
-
function
|
7834
|
+
function xo(r) {
|
7894
7835
|
const l = r;
|
7895
7836
|
l.__i18n = l.__i18n || [], l.__i18n.push({
|
7896
7837
|
locale: "",
|
@@ -7982,14 +7923,14 @@ function To(r) {
|
|
7982
7923
|
}
|
7983
7924
|
});
|
7984
7925
|
}
|
7985
|
-
const
|
7986
|
-
function
|
7926
|
+
const Na = { class: "hotel-offers-map" }, Da = { key: 0 }, Ha = { key: 1 };
|
7927
|
+
function Fa(r, l, a, d, p, m) {
|
7987
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");
|
7988
|
-
return Z(), ut("div",
|
7989
|
-
r.isBookingApiClientDefined ? (Z(), ut(
|
7929
|
+
return Z(), ut("div", Na, [
|
7930
|
+
r.isBookingApiClientDefined ? (Z(), ut(_e, { key: 1 }, [
|
7990
7931
|
r.showErrorMessage ? (Z(), et(g, {
|
7991
7932
|
key: 0,
|
7992
|
-
style:
|
7933
|
+
style: ve({ height: r.parsedHeight })
|
7993
7934
|
}, {
|
7994
7935
|
title: A(() => [
|
7995
7936
|
Lt(At(r.t("HotelOffersMap.error.title")), 1)
|
@@ -7998,21 +7939,21 @@ function ja(r, l, a, d, p, m) {
|
|
7998
7939
|
Lt(At(r.t("HotelOffersMap.error.description")), 1)
|
7999
7940
|
]),
|
8000
7941
|
_: 1
|
8001
|
-
}, 8, ["style"])) : r.showSkeleton ? (Z(), et(
|
7942
|
+
}, 8, ["style"])) : r.showSkeleton ? (Z(), et(Kr, {
|
8002
7943
|
key: 1,
|
8003
7944
|
height: r.parsedHeight,
|
8004
7945
|
tile: "",
|
8005
7946
|
type: "image"
|
8006
|
-
}, null, 8, ["height"])) : (Z(), ut(
|
8007
|
-
r.
|
7947
|
+
}, null, 8, ["height"])) : (Z(), ut(_e, { key: 2 }, [
|
7948
|
+
r.isLoadingBarEnabled && r.isPollingHotelOffers ? (Z(), et(Jr, {
|
8008
7949
|
key: 0,
|
8009
7950
|
color: "primary",
|
8010
7951
|
indeterminate: ""
|
8011
7952
|
})) : gt("", !0),
|
8012
7953
|
U(V, null, {
|
8013
7954
|
default: A(() => [
|
8014
|
-
|
8015
|
-
style:
|
7955
|
+
oe("div", {
|
7956
|
+
style: ve([{ "min-height": "500px" }, {
|
8016
7957
|
height: r.parsedHeight,
|
8017
7958
|
maxHeight: r.maxHeight
|
8018
7959
|
}])
|
@@ -8086,7 +8027,7 @@ function ja(r, l, a, d, p, m) {
|
|
8086
8027
|
size: "small",
|
8087
8028
|
style: { width: "30px" }
|
8088
8029
|
}, w, {
|
8089
|
-
onClick: l[1] || (l[1] = (
|
8030
|
+
onClick: l[1] || (l[1] = (rt) => r.showTransit = !r.showTransit)
|
8090
8031
|
}), {
|
8091
8032
|
default: A(() => [
|
8092
8033
|
r.showTransit ? (Z(), et(Yt, {
|
@@ -8113,7 +8054,7 @@ function ja(r, l, a, d, p, m) {
|
|
8113
8054
|
}, 1040)
|
8114
8055
|
]),
|
8115
8056
|
default: A(() => [
|
8116
|
-
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))
|
8117
8058
|
]),
|
8118
8059
|
_: 1
|
8119
8060
|
}, 8, ["attach"])
|
@@ -8151,7 +8092,7 @@ function ja(r, l, a, d, p, m) {
|
|
8151
8092
|
}, 1040, ["onClick"])
|
8152
8093
|
]),
|
8153
8094
|
default: A(() => [
|
8154
|
-
|
8095
|
+
oe("span", null, At(r.t("HotelOffersMap.centerOnVenue")), 1)
|
8155
8096
|
]),
|
8156
8097
|
_: 1
|
8157
8098
|
}, 8, ["attach"])
|
@@ -8177,13 +8118,10 @@ function ja(r, l, a, d, p, m) {
|
|
8177
8118
|
size: "small",
|
8178
8119
|
style: { width: "30px" }
|
8179
8120
|
}, w, {
|
8180
|
-
onClick: l[2] || (l[2] = (
|
8181
|
-
|
8182
|
-
|
8183
|
-
|
8184
|
-
($t = r.currentCenter) == null ? void 0 : $t.lng
|
8185
|
-
);
|
8186
|
-
})
|
8121
|
+
onClick: l[2] || (l[2] = (rt) => r.updateHotelOfferRequestLocation(
|
8122
|
+
r.currentCenter?.lat,
|
8123
|
+
r.currentCenter?.lng
|
8124
|
+
))
|
8187
8125
|
}), {
|
8188
8126
|
default: A(() => [
|
8189
8127
|
U(Yt, { color: "white" }, {
|
@@ -8198,7 +8136,7 @@ function ja(r, l, a, d, p, m) {
|
|
8198
8136
|
}, 1040)
|
8199
8137
|
]),
|
8200
8138
|
default: A(() => [
|
8201
|
-
|
8139
|
+
oe("span", null, At(r.t("HotelOffersMap.searchThisArea")), 1)
|
8202
8140
|
]),
|
8203
8141
|
_: 1
|
8204
8142
|
}, 8, ["attach"])) : gt("", !0)
|
@@ -8215,10 +8153,10 @@ function ja(r, l, a, d, p, m) {
|
|
8215
8153
|
eager: ""
|
8216
8154
|
}, {
|
8217
8155
|
activator: A(({ props: w }) => [
|
8218
|
-
|
8156
|
+
vo(r.$slots, "bottomleft", { props: w }, void 0, !0)
|
8219
8157
|
]),
|
8220
8158
|
default: A(() => [
|
8221
|
-
|
8159
|
+
vo(r.$slots, "bottomleft-tooltip-text", {}, void 0, !0)
|
8222
8160
|
]),
|
8223
8161
|
_: 3
|
8224
8162
|
}, 8, ["attach"])
|
@@ -8274,14 +8212,14 @@ function ja(r, l, a, d, p, m) {
|
|
8274
8212
|
key: 2,
|
8275
8213
|
"lat-lng": r.hotelOfferRequestMarker
|
8276
8214
|
}, null, 8, ["lat-lng"])) : gt("", !0),
|
8277
|
-
(Z(!0), ut(
|
8215
|
+
(Z(!0), ut(_e, null, Ki(r.parsedMarkers, (w) => (Z(), et(G, {
|
8278
8216
|
key: w.latitude + w.longitude + "shadow",
|
8279
8217
|
"lat-lng": [w.latitude, w.longitude]
|
8280
8218
|
}, null, 8, ["lat-lng"]))), 128)),
|
8281
|
-
(Z(!0), ut(
|
8219
|
+
(Z(!0), ut(_e, null, Ki(r.parsedMarkers, (w) => (Z(), et(G, {
|
8282
8220
|
key: w.latitude + w.longitude,
|
8283
8221
|
"lat-lng": [w.latitude, w.longitude],
|
8284
|
-
onClick: (
|
8222
|
+
onClick: (rt) => r.updateHotelOfferRequestLocation(
|
8285
8223
|
w.latitude,
|
8286
8224
|
w.longitude
|
8287
8225
|
)
|
@@ -8318,13 +8256,13 @@ function ja(r, l, a, d, p, m) {
|
|
8318
8256
|
]),
|
8319
8257
|
_: 2
|
8320
8258
|
}, 1032, ["lat-lng", "onClick"]))), 128)),
|
8321
|
-
(Z(!0), ut(
|
8259
|
+
(Z(!0), ut(_e, null, Ki(r.hotelOffers, (w) => (Z(), et(G, {
|
8322
8260
|
key: w.id,
|
8323
8261
|
"lat-lng": [w.latitude, w.longitude],
|
8324
8262
|
options: {
|
8325
8263
|
riseOnHover: !0
|
8326
8264
|
},
|
8327
|
-
onClick: (
|
8265
|
+
onClick: (rt) => r.onHotelOfferMarkerClick(w)
|
8328
8266
|
}, {
|
8329
8267
|
default: A(() => [
|
8330
8268
|
U(ct, {
|
@@ -8335,7 +8273,7 @@ function ja(r, l, a, d, p, m) {
|
|
8335
8273
|
hasTip: !1
|
8336
8274
|
},
|
8337
8275
|
"z-index": 2e7,
|
8338
|
-
onRemove: l[4] || (l[4] = (
|
8276
|
+
onRemove: l[4] || (l[4] = (rt) => r.isLocationInputVisible = !0)
|
8339
8277
|
}, {
|
8340
8278
|
default: A(() => [
|
8341
8279
|
U(N, {
|
@@ -8359,7 +8297,7 @@ function ja(r, l, a, d, p, m) {
|
|
8359
8297
|
key: 0,
|
8360
8298
|
focus: r.hoveredHotel === w.id,
|
8361
8299
|
price: r.getHotelRoomOffer(w).price / r.getHotelRoomOffer(w).hotelRooms.reduce(
|
8362
|
-
(
|
8300
|
+
(rt, at) => rt + at.count,
|
8363
8301
|
0
|
8364
8302
|
) / r.nightCount
|
8365
8303
|
}, null, 8, ["focus", "price"])) : gt("", !0)
|
@@ -8377,15 +8315,15 @@ function ja(r, l, a, d, p, m) {
|
|
8377
8315
|
_: 3
|
8378
8316
|
})
|
8379
8317
|
], 64))
|
8380
|
-
], 64)) : (Z(), ut(
|
8318
|
+
], 64)) : (Z(), ut(_e, { key: 0 }, [], 64))
|
8381
8319
|
]);
|
8382
8320
|
}
|
8383
|
-
typeof
|
8384
|
-
const
|
8385
|
-
|
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");
|
8386
8324
|
export {
|
8387
|
-
|
8388
|
-
|
8389
|
-
|
8325
|
+
To as H,
|
8326
|
+
eh as a,
|
8327
|
+
Xr as h
|
8390
8328
|
};
|
8391
|
-
//# sourceMappingURL=revolugo.hoteloffersmap.
|
8329
|
+
//# sourceMappingURL=revolugo.hoteloffersmap.B6wZ1c6d.min.js.map
|