Plugin Directory

Changeset 3393853


Ignore:
Timestamp:
11/11/2025 06:19:32 PM (3 months ago)
Author:
passatgt
Message:

v3.7.1

Location:
hungarian-pickup-points-for-woocommerce/trunk
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • hungarian-pickup-points-for-woocommerce/trunk/assets/css/_metabox.scss

    r3305338 r3393853  
    639639    }
    640640
     641    &-map {
     642        height: 300px;
     643
     644        &-selected {
     645            display: flex;
     646            align-items: center;
     647            padding: 0 15px 10px 15px;
     648
     649            div {
     650                display: flex;
     651                flex-direction: column;
     652                padding: 5px 10px 5px 10px;
     653                border: 1px solid #CCD0D4;
     654                position: relative;
     655                cursor: pointer;
     656                border-radius: 4px;
     657                width: 100%;
     658
     659                &:after {
     660                    position: absolute;
     661                    right: 15px;
     662                    top: 50%;
     663                    transform: translateY(-50%);
     664                    content: "\f12a";
     665                    font-family: 'dashicons';
     666                    font-size: 24px;
     667                    line-height: 24px;
     668                    opacity: 0;
     669                    transition: all ease 0.2s;
     670                    color: #2271b1
     671                }
     672
     673                &:hover {
     674                    background: #f0f6fc;
     675
     676                    &:after {
     677                        opacity: 1;
     678                    }
     679                }
     680            }
     681        }
     682    }
     683
    641684    &-providers {
    642685        margin: 0;
     
    783826        }
    784827    }
     828
     829    .vp-woo-pont-marker {
     830        div {
     831            width: 100%;
     832            height: 100%;
     833            position: relative;
     834            background: url(../images/marker-pin-bg.svg) no-repeat center;
     835        }
     836
     837        &.selected div:before,
     838        &-selected div:before {
     839            position: absolute;
     840            width: 36px;
     841            height: 36px;
     842            content: '';
     843            background: rgba(#2471B1, 0.3);
     844            left: 6px;
     845            top: 6px;
     846            border-radius: 4px;
     847            display: block;
     848        }
     849
     850        &-selected {
     851            filter: grayscale(1);
     852        }
     853
     854        i {
     855            position: absolute;
     856            width: 32px;
     857            height: 32px;
     858            left: 8px;
     859            top: 8px;
     860            background-position: center;
     861            background-size: 100% auto;
     862            background-repeat: no-repeat;
     863        }
     864
     865        &.selected div {
     866            animation: vp_woo_pont_bounce_anim 2s infinite
     867        }
     868
     869    }
     870
     871    .marker-cluster.marker-cluster-small {
     872        background-color: #49B654;
     873    }
     874
     875    .marker-cluster.marker-cluster-medium {
     876        background-color: #F7CB1E;
     877    }
     878
     879    .marker-cluster.marker-cluster-large {
     880        background-color: #E86100;
     881    }
     882
    785883}
    786884
  • hungarian-pickup-points-for-woocommerce/trunk/assets/css/admin.css

    r3305338 r3393853  
    396396.vp-woo-pont-modal-replace article {
    397397  padding: 0 !important; }
     398.vp-woo-pont-modal-replace-map {
     399  height: 300px; }
     400  .vp-woo-pont-modal-replace-map-selected {
     401    display: flex;
     402    align-items: center;
     403    padding: 0 15px 10px 15px; }
     404    .vp-woo-pont-modal-replace-map-selected div {
     405      display: flex;
     406      flex-direction: column;
     407      padding: 5px 10px 5px 10px;
     408      border: 1px solid #CCD0D4;
     409      position: relative;
     410      cursor: pointer;
     411      border-radius: 4px;
     412      width: 100%; }
     413      .vp-woo-pont-modal-replace-map-selected div:after {
     414        position: absolute;
     415        right: 15px;
     416        top: 50%;
     417        transform: translateY(-50%);
     418        content: "\f12a";
     419        font-family: 'dashicons';
     420        font-size: 24px;
     421        line-height: 24px;
     422        opacity: 0;
     423        transition: all ease 0.2s;
     424        color: #2271b1; }
     425      .vp-woo-pont-modal-replace-map-selected div:hover {
     426        background: #f0f6fc; }
     427        .vp-woo-pont-modal-replace-map-selected div:hover:after {
     428          opacity: 1; }
    398429.vp-woo-pont-modal-replace-providers {
    399430  margin: 0;
     
    486517    .vp-woo-pont-modal-replace .autocomplete-list li.autocomplete-item:hover {
    487518      background: rgba(0, 0, 0, 0.1); }
     519.vp-woo-pont-modal-replace .vp-woo-pont-marker div {
     520  width: 100%;
     521  height: 100%;
     522  position: relative;
     523  background: url(../images/marker-pin-bg.svg) no-repeat center; }
     524.vp-woo-pont-modal-replace .vp-woo-pont-marker.selected div:before, .vp-woo-pont-modal-replace .vp-woo-pont-marker-selected div:before {
     525  position: absolute;
     526  width: 36px;
     527  height: 36px;
     528  content: '';
     529  background: rgba(36, 113, 177, 0.3);
     530  left: 6px;
     531  top: 6px;
     532  border-radius: 4px;
     533  display: block; }
     534.vp-woo-pont-modal-replace .vp-woo-pont-marker-selected {
     535  filter: grayscale(1); }
     536.vp-woo-pont-modal-replace .vp-woo-pont-marker i {
     537  position: absolute;
     538  width: 32px;
     539  height: 32px;
     540  left: 8px;
     541  top: 8px;
     542  background-position: center;
     543  background-size: 100% auto;
     544  background-repeat: no-repeat; }
     545.vp-woo-pont-modal-replace .vp-woo-pont-marker.selected div {
     546  animation: vp_woo_pont_bounce_anim 2s infinite; }
     547.vp-woo-pont-modal-replace .marker-cluster.marker-cluster-small {
     548  background-color: #49B654; }
     549.vp-woo-pont-modal-replace .marker-cluster.marker-cluster-medium {
     550  background-color: #F7CB1E; }
     551.vp-woo-pont-modal-replace .marker-cluster.marker-cluster-large {
     552  background-color: #E86100; }
    488553
    489554@keyframes vp_woo_pont_blink {
     
    31833248  background-size: 100% !important; }
    31843249
     3250.leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow {
     3251  -webkit-transition: -webkit-transform 0.3s ease-out, opacity 0.3s ease-in;
     3252  -moz-transition: -moz-transform 0.3s ease-out, opacity 0.3s ease-in;
     3253  -o-transition: -o-transform 0.3s ease-out, opacity 0.3s ease-in;
     3254  transition: transform 0.3s ease-out, opacity 0.3s ease-in; }
     3255
     3256.leaflet-cluster-spider-leg {
     3257  /* stroke-dashoffset (duration and function) should match with leaflet-marker-icon transform in order to track it exactly */
     3258  -webkit-transition: -webkit-stroke-dashoffset 0.3s ease-out, -webkit-stroke-opacity 0.3s ease-in;
     3259  -moz-transition: -moz-stroke-dashoffset 0.3s ease-out, -moz-stroke-opacity 0.3s ease-in;
     3260  -o-transition: -o-stroke-dashoffset 0.3s ease-out, -o-stroke-opacity 0.3s ease-in;
     3261  transition: stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in; }
     3262
     3263html body .marker-cluster {
     3264  background-clip: padding-box;
     3265  border-radius: 20px; }
     3266  html body .marker-cluster div {
     3267    width: 44px;
     3268    height: 44px;
     3269    margin-left: -2px;
     3270    margin-top: -2px;
     3271    text-align: center;
     3272    border-radius: 22px;
     3273    font-size: 15px;
     3274    font-weight: bold;
     3275    box-shadow: 0px 0px 0px 2px #fff;
     3276    color: #fff; }
     3277    html body .marker-cluster div span {
     3278      line-height: 44px; }
     3279  html body .marker-cluster-small div {
     3280    background-color: var(--vp-woo-pont-cluster-small-color); }
     3281  html body .marker-cluster-medium div {
     3282    background-color: var(--vp-woo-pont-cluster-medium-color); }
     3283  html body .marker-cluster-large div {
     3284    background-color: var(--vp-woo-pont-cluster-large-color); }
     3285
    31853286.form-table td.vp-woo-pont-table {
    31863287  padding: 0; }
  • hungarian-pickup-points-for-woocommerce/trunk/assets/css/admin.css.map

    r3305338 r3393853  
    11{
    22"version": 3,
    3 "mappings": "AAGC;qCAAQ;EACN,OAAO,EAAE,CAAC;EACV,MAAM,EAAE,YAAY;;AAIvB,uDAAwD;EACvD,OAAO,EAAE,MAAM;EAEf,qEAAc;IACb,UAAU,EAAE,WAAW;;AAIzB,uCAAwC;EACvC,OAAO,EAAE,IAAI;;AAKb,gCAAc;EACb,OAAO,EAAE,MAAM;AAGhB,gCAAc;EACb,OAAO,EAAE,gBAAgB;AAG1B,6BAAW;EACT,OAAO,EAAE,IAAI;EACb,OAAO,EAAE,SAAS;EAClB,eAAe,EAAE,IAAI;EACrB,WAAW,EAAE,MAAM;EACnB,KAAK,EAAE,OAAO;EAEf,mCAAQ;IACP,eAAe,EAAE,IAAI;IACrB,KAAK,EAAE,OAAO;EAGf,4CAAe;IACd,KAAK,EAAE,OAAO;AAIhB,6BAAW;EACV,OAAO,EAAE,SAAS;EAClB,OAAO,EAAE,IAAI;EAEb,kCAAO;IACN,OAAO,EAAE,KAAK;EAGf,+BAAE;IACD,MAAM,EAAE,CAAC;IAET,2CAAc;MACb,MAAM,EAAE,UAAU;AAKrB,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AC;EACV,OAAO,EAAE,IAAI;EACb,SAAS,EAAE,IAAI;EACf,GAAG,EAAE,IAAI;EAET,qCAAG;IACF,eAAe,EAAE,IAAI;IACrB,MAAM,EAAE,OAAO;IACf,OAAO,EAAE,CAAC;IACV,QAAQ,EAAE,QAAQ;IAClB,OAAO,EAAE,IAAI;IAEb,2CAAM;MACL,QAAQ,EAAE,QAAQ;MAClB,IAAI,EAAE,IAAI;MACV,GAAG,EAAE,GAAG;MACR,SAAS,EAAE,gBAAgB;MAC3B,MAAM,EAAE,CAAC;IAGV,2CAAM;MACL,OAAO,EAAE,IAAI;MACb,WAAW,EAAE,MAAM;MACnB,OAAO,EAAE,iBAAiB;MAC1B,aAAa,EAAE,GAAG;MAClB,MAAM,EAAE,OAAO;MACf,MAAM,EAAE,iBAAiB;MAEzB,iDAAQ;QACP,UAAU,EAAE,SAAS;IAIvB,2DAAsB;MACrB,UAAU,EAAE,OAAO;IAGpB,oDAAiB;MAChB,UAAU,EAAE,OAAO",
     4"sources": ["_metabox.scss","_settings.scss","_leaflet.scss","_icons.scss","_markercluster.scss","admin.scss"],
    55"names": [],
    66"file": "admin.css"
  • hungarian-pickup-points-for-woocommerce/trunk/assets/css/admin.scss

    r3260420 r3393853  
    33@import '_leaflet.scss';
    44@import '_icons.scss';
     5@import '_markercluster.scss';
    56
    67.form-table td.vp-woo-pont-table {
  • hungarian-pickup-points-for-woocommerce/trunk/assets/js/admin.js

    r3267454 r3393853  
    11var L = require('leaflet');
     2require('leaflet.markercluster');
     3require("leaflet.featuregroup.subgroup");
    24
    35jQuery(document).ready(function($) {
     
    21842186        $transspedPackages: $('.vp-woo-pont-transsped-packaging'),
    21852187        selected_replacement: false,
     2188        $map: false,
     2189        markerIcons: [],
     2190        markerClusters: false,
     2191        groups: [],
     2192        selectedPointCoordinates: '',
     2193        selectedPointID: '',
    21862194        init: function() {
    21872195            this.$optionsButton.on( 'click', this.show_options );
     
    26732681            }
    26742682            $('#vp-woo-pont-modal-replace-search').trigger('keyup');
     2683
     2684            if(provider_id == 'map') {
     2685                vp_woo_pont_metabox.load_replacement_map();
     2686                console.log('load_replacement_map');
     2687            } else {
     2688                $('.vp-woo-pont-modal-replace-map-container').hide();
     2689                $('.vp-woo-pont-modal-replace-options').show();
     2690            }
     2691
    26752692        },
    26762693        load_replacement_points: function(provider_id) {
     
    26832700                    data_points.data.forEach(function(data) {
    26842701                        var nameStrong = $('<strong>').text(data.name);
    2685                   var addressSpan = $('<span>').text(data.zip + ' ' + data.city + ' ' + data.addr);
    2686                   var dataLi = $('<li>').addClass('result').data('point_id', data.id).data('provider', provider_id).append(nameStrong, addressSpan);
     2702                        var addressSpan = $('<span>').text(data.zip + ' ' + data.city + ' ' + data.addr);
     2703                        var dataLi = $('<li>').addClass('result').data('point_id', data.id).data('provider', provider_id).append(nameStrong, addressSpan);
    26872704                        dataUl.append(dataLi);
    26882705                    });
     
    26912708                }
    26922709            });
     2710        },
     2711        load_replacement_map: function() {
     2712
     2713            //Reset map
     2714            if(vp_woo_pont_metabox.$map) {
     2715                vp_woo_pont_metabox.$map.off();
     2716                vp_woo_pont_metabox.$map.remove();
     2717                $('#vp-woo-pont-replace-map').html('');
     2718                vp_woo_pont_metabox.$map = false;
     2719            }
     2720       
     2721            //Show the div
     2722            $('.vp-woo-pont-modal-replace-map-container').show();
     2723            $('.vp-woo-pont-modal-replace-options').hide();
     2724
     2725            //Load map if not loaded yet
     2726            vp_woo_pont_metabox.$map = L.map('vp-woo-pont-replace-map')
     2727
     2728            //Just to center in Hungary
     2729            vp_woo_pont_metabox.$map.setView([47.25525656277509, 19.54590752720833], 7);
     2730            vp_woo_pont_metabox.$map.zoomControl.setPosition('bottomright');
     2731
     2732            //Check for custom coordinates
     2733            if(vp_woo_pont_settings.selectedPointCoordinates) {
     2734                var coords = vp_woo_pont_settings.selectedPointCoordinates.split(';');
     2735                vp_woo_pont_metabox.$map.setView([parseFloat(coords[0]), parseFloat(coords[1])], 14);
     2736            }
     2737
     2738            //Load images into map
     2739            L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
     2740                maxZoom: 19,
     2741                attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
     2742            }).addTo(vp_woo_pont_metabox.$map);
     2743
     2744            //Get default parameters for markerClusters
     2745            var markerClusterParams = {
     2746              spiderfyOnMaxZoom: true,
     2747              showCoverageOnHover: false,
     2748              zoomToBoundsOnClick: true,
     2749              disableClusteringAtZoom: 16,
     2750                removeOutsideVisibleBounds: true,
     2751                chunkedLoading: true,
     2752                chunkProgress: function(processed, total) {
     2753                    // Optional: show loading progress
     2754                    console.log(`Clustering: ${Math.round((processed/total)*100)}%`);
     2755                },
     2756                chunkDelay: 0, // Reduce delay for faster processing
     2757                maxClusterRadius: 80, // Slightly smaller for better performance
     2758                animate: true, // Disable animations for large datasets
     2759                spiderfyDistanceMultiplier: 1.2,
     2760                // Custom cluster icon for better performance
     2761                iconCreateFunction: function(cluster) {
     2762                    var count = cluster.getChildCount();
     2763                    var size = count < 100 ? 'small' : count < 1000 ? 'medium' : 'large';
     2764                    return new L.DivIcon({
     2765                        html: '<div><span>' + count + '</span></div>',
     2766                        className: 'marker-cluster marker-cluster-' + size,
     2767                        iconSize: new L.Point(40, 40)
     2768                    });
     2769                }
     2770            };
     2771
     2772            //Create cluster layer
     2773            vp_woo_pont_metabox.markerClusters = new L.MarkerClusterGroup(markerClusterParams);
     2774
     2775            //Setup markers
     2776            vp_woo_pont_metabox.markerClusters.addTo(vp_woo_pont_metabox.$map);
     2777            vp_woo_pont_metabox.markerClusters._getExpandedVisibleBounds = function () {
     2778                return vp_woo_pont_metabox.markerClusters._map.getBounds();
     2779            };
     2780
     2781            //Create groups
     2782            vp_woo_pont_settings.json_data_points.forEach(function(data_points){
     2783                vp_woo_pont_metabox.groups[data_points.provider] = L.featureGroup.subGroup(vp_woo_pont_metabox.markerClusters);
     2784                vp_woo_pont_metabox.markerIcons[data_points.provider] = L.divIcon({html: '<div><i class="vp-woo-pont-provider-icon-'+data_points.provider+'"></i></div>', className: 'vp-woo-pont-marker '+data_points.provider, iconSize: [48, 55], iconAnchor: [24, 52]});
     2785            });
     2786
     2787            //Loop through json files
     2788            vp_woo_pont_settings.json_data_points.forEach(function(data_points){
     2789                vp_woo_pont_metabox.process_provider(data_points.provider, data_points.data);
     2790            });
     2791
     2792        },
     2793        process_provider: function(provider, data) {
     2794                    var markers = [];
     2795                    var batchSize = 1000; // Process 1000 markers at a time
     2796                    var currentIndex = 0;
     2797                   
     2798                    function processBatch() {
     2799                        var endIndex = Math.min(currentIndex + batchSize, data.length);
     2800                        var batchMarkers = [];
     2801                       
     2802                        for (var i = currentIndex; i < endIndex; i++) {
     2803                            var a = data[i];
     2804
     2805                            // Only create marker if group exists
     2806                            var targetGroup = null;
     2807                            a.provider = provider;
     2808                            targetGroup = vp_woo_pont_metabox.groups[provider];
     2809                           
     2810                            if(targetGroup) {
     2811                                var marker = L.marker(new L.LatLng(a.lat, a.lon), {
     2812                                    data: a,
     2813                                    riseOnHover: true // Better performance than default
     2814                                });
     2815                                a.marker_id = L.stamp(marker);
     2816                               
     2817                                marker.on('click', vp_woo_pont_metabox.select_in_map);
     2818                                marker.setIcon(vp_woo_pont_metabox.markerIcons[a.provider]);
     2819
     2820                                //Add class to marker element for styling if its the same as the selected one
     2821                                if(vp_woo_pont_settings.selectedPointID && vp_woo_pont_settings.selectedPointID == a.id) {
     2822                                    marker.setIcon(L.divIcon({html: '<div><i class="vp-woo-pont-provider-icon-'+a.provider+'"></i></div>', className: 'vp-woo-pont-marker-selected vp-woo-pont-marker '+a.provider, iconSize: [48, 55], iconAnchor: [24, 52]}));
     2823                                }
     2824                               
     2825                                batchMarkers.push({marker: marker, group: targetGroup});
     2826                            }
     2827                        }
     2828                       
     2829                        // Add markers to groups in batch
     2830                        batchMarkers.forEach(function(item) {
     2831                            item.marker.addTo(item.group);
     2832                        });
     2833                       
     2834                        // Add to collections
     2835                        markers = markers.concat(batchMarkers);
     2836   
     2837                        currentIndex = endIndex;                                           
     2838                        if (currentIndex < data.length) {
     2839                            // Continue processing in next frame
     2840                            requestAnimationFrame(processBatch);
     2841                        } else {
     2842                            // Finished processing
     2843                            finishProcessing();
     2844                        }
     2845                    }
     2846                   
     2847                    function finishProcessing() {
     2848                        if(vp_woo_pont_metabox.groups[provider]) {
     2849                            vp_woo_pont_metabox.groups[provider].addTo(vp_woo_pont_metabox.$map);
     2850                        }
     2851                    }
     2852                   
     2853                    // Start processing
     2854                    requestAnimationFrame(processBatch);
    26932855        },
    26942856        replace_point: function() {
     
    27072869            $selected.parents('li').addClass('selected');
    27082870
     2871            //Get coordinates
     2872            vp_woo_pont_settings.selectedPointCoordinates = $(this).data('coordinates');
     2873            vp_woo_pont_settings.selectedPointID = $(this).data('point_id');
     2874
    27092875            //Get enabled providers
    27102876            var enabled_providers = $('.vp-woo-pont-modal-replace-providers input').map(function() {
     
    27132879
    27142880            //Load JSON files
    2715             vp_woo_pont_settings.load_json_files(function(){
    2716 
    2717                 //Load selected values
     2881            if(vp_woo_pont_settings.json_data_points.length === 0) {
     2882                vp_woo_pont_settings.load_json_files(function(){
     2883
     2884                    //Load selected values
     2885                    $selected.trigger('change');
     2886
     2887                });
     2888            } else {
    27182889                $selected.trigger('change');
    2719 
    2720             });
    2721 
    2722             return false;
    2723 
     2890            }
     2891
     2892            return false;
     2893        },
     2894        select_in_map: function(e) {
     2895
     2896            //Remove active marker class
     2897            $('.leaflet-marker-icon.selected').removeClass('selected');
     2898            $('.vp-woo-pont-modal-replace-map-selected').html('');
     2899
     2900            //Add selected class
     2901            var layer = vp_woo_pont_metabox.markerClusters.getLayer(e.target.options.data.marker_id);
     2902            $(layer._icon).addClass('selected');
     2903
     2904            var nameStrong = $('<strong>').text(e.target.options.data.name);
     2905            var addressSpan = $('<span>').text(e.target.options.data.zip + ' ' + e.target.options.data.city + ' ' + e.target.options.data.addr);
     2906            var dataLi = $('<div>').addClass('result').data('point_id', e.target.options.data.id).data('provider', e.target.options.data.provider).append(nameStrong, addressSpan);
     2907            dataLi.on('click', vp_woo_pont_metabox.save_replacement_point);
     2908            $('.vp-woo-pont-modal-replace-map-selected').append(dataLi);
     2909
     2910            return false;
    27242911        },
    27252912        on_replacement_search: function() {
     
    27722959                    vp_woo_pont_metabox.toggle_options();
    27732960                    vp_woo_pont_metabox.$replaceRow.find('a').data('provider_id', response.data.provider);
     2961                    vp_woo_pont_metabox.$replaceRow.find('a').data('point_id', response.data.point_id);
     2962                    vp_woo_pont_metabox.$replaceRow.find('a').data('coordinates', response.data.coordinates);
    27742963
    27752964                    //Trigger event
  • hungarian-pickup-points-for-woocommerce/trunk/assets/js/admin.min.js

    r3267454 r3393853  
    33 * Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com
    44 * (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade
    5  */t=this,e=function(t){"use strict";function e(t){var e,o,i,n;for(o=1,i=arguments.length;o<i;o++)for(e in n=arguments[o])t[e]=n[e];return t}var o=Object.create||function(){function t(){}return function(e){return t.prototype=e,new t}}();function i(t,e){var o=Array.prototype.slice;if(t.bind)return t.bind.apply(t,o.call(arguments,1));var i=o.call(arguments,2);return function(){return t.apply(e,i.length?i.concat(o.call(arguments)):arguments)}}var n=0;function s(t){return"_leaflet_id"in t||(t._leaflet_id=++n),t._leaflet_id}function a(t,e,o){var i,n,s,a;return a=function(){i=!1,n&&(s.apply(o,n),n=!1)},s=function(){i?n=arguments:(t.apply(o,arguments),setTimeout(a,e),i=!0)}}function r(t,e,o){var i=e[1],n=e[0],s=i-n;return t===i&&o?t:((t-n)%s+s)%s+n}function h(){return!1}function l(t,e){if(!1===e)return t;var o=Math.pow(10,void 0===e?6:e);return Math.round(t*o)/o}function p(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function c(t){return p(t).split(/\s+/)}function d(t,e){for(var i in Object.prototype.hasOwnProperty.call(t,"options")||(t.options=t.options?o(t.options):{}),e)t.options[i]=e[i];return t.options}function u(t,e,o){var i=[];for(var n in t)i.push(encodeURIComponent(o?n.toUpperCase():n)+"="+encodeURIComponent(t[n]));return(e&&-1!==e.indexOf("?")?"&":"?")+i.join("&")}var _=/\{ *([\w_ -]+) *\}/g;function m(t,e){return t.replace(_,(function(t,o){var i=e[o];if(void 0===i)throw new Error("No value provided for variable "+t);return"function"==typeof i&&(i=i(e)),i}))}var f=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function v(t,e){for(var o=0;o<t.length;o++)if(t[o]===e)return o;return-1}var g="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function y(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}var w=0;function b(t){var e=+new Date,o=Math.max(0,16-(e-w));return w=e+o,window.setTimeout(t,o)}var x=window.requestAnimationFrame||y("RequestAnimationFrame")||b,k=window.cancelAnimationFrame||y("CancelAnimationFrame")||y("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};function P(t,e,o){if(!o||x!==b)return x.call(window,i(t,e));t.call(e)}function T(t){t&&k.call(window,t)}function C(){}C.extend=function(t){var i=function(){d(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},n=i.__super__=this.prototype,s=o(n);for(var a in s.constructor=i,i.prototype=s,this)Object.prototype.hasOwnProperty.call(this,a)&&"prototype"!==a&&"__super__"!==a&&(i[a]=this[a]);return t.statics&&e(i,t.statics),t.includes&&(function(t){if("undefined"!=typeof L&&L&&L.Mixin){t=f(t)?t:[t];for(var e=0;e<t.length;e++)t[e]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",(new Error).stack)}}(t.includes),e.apply(null,[s].concat(t.includes))),e(s,t),delete s.statics,delete s.includes,s.options&&(s.options=n.options?o(n.options):{},e(s.options,t.options)),s._initHooks=[],s.callInitHooks=function(){if(!this._initHooksCalled){n.callInitHooks&&n.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,e=s._initHooks.length;t<e;t++)s._initHooks[t].call(this)}},i},C.include=function(t){var o=this.prototype.options;return e(this.prototype,t),t.options&&(this.prototype.options=o,this.mergeOptions(t.options)),this},C.mergeOptions=function(t){return e(this.prototype.options,t),this},C.addInitHook=function(t){var e=Array.prototype.slice.call(arguments,1),o="function"==typeof t?t:function(){this[t].apply(this,e)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(o),this};var z={on:function(t,e,o){if("object"==typeof t)for(var i in t)this._on(i,t[i],e);else for(var n=0,s=(t=c(t)).length;n<s;n++)this._on(t[n],e,o);return this},off:function(t,e,o){if(arguments.length)if("object"==typeof t)for(var i in t)this._off(i,t[i],e);else{t=c(t);for(var n=1===arguments.length,s=0,a=t.length;s<a;s++)n?this._off(t[s]):this._off(t[s],e,o)}else delete this._events;return this},_on:function(t,e,o,i){if("function"==typeof e){if(!1===this._listens(t,e,o)){o===this&&(o=void 0);var n={fn:e,ctx:o};i&&(n.once=!0),this._events=this._events||{},this._events[t]=this._events[t]||[],this._events[t].push(n)}}else console.warn("wrong listener type: "+typeof e)},_off:function(t,e,o){var i,n,s;if(this._events&&(i=this._events[t]))if(1!==arguments.length)if("function"==typeof e){var a=this._listens(t,e,o);if(!1!==a){var r=i[a];this._firingCount&&(r.fn=h,this._events[t]=i=i.slice()),i.splice(a,1)}}else console.warn("wrong listener type: "+typeof e);else{if(this._firingCount)for(n=0,s=i.length;n<s;n++)i[n].fn=h;delete this._events[t]}},fire:function(t,o,i){if(!this.listens(t,i))return this;var n=e({},o,{type:t,target:this,sourceTarget:o&&o.sourceTarget||this});if(this._events){var s=this._events[t];if(s){this._firingCount=this._firingCount+1||1;for(var a=0,r=s.length;a<r;a++){var h=s[a],l=h.fn;h.once&&this.off(t,l,h.ctx),l.call(h.ctx||this,n)}this._firingCount--}}return i&&this._propagateEvent(n),this},listens:function(t,e,o,i){"string"!=typeof t&&console.warn('"string" type argument expected');var n=e;"function"!=typeof e&&(i=!!e,n=void 0,o=void 0);var s=this._events&&this._events[t];if(s&&s.length&&!1!==this._listens(t,n,o))return!0;if(i)for(var a in this._eventParents)if(this._eventParents[a].listens(t,e,o,i))return!0;return!1},_listens:function(t,e,o){if(!this._events)return!1;var i=this._events[t]||[];if(!e)return!!i.length;o===this&&(o=void 0);for(var n=0,s=i.length;n<s;n++)if(i[n].fn===e&&i[n].ctx===o)return n;return!1},once:function(t,e,o){if("object"==typeof t)for(var i in t)this._on(i,t[i],e,!0);else for(var n=0,s=(t=c(t)).length;n<s;n++)this._on(t[n],e,o,!0);return this},addEventParent:function(t){return this._eventParents=this._eventParents||{},this._eventParents[s(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[s(t)],this},_propagateEvent:function(t){for(var o in this._eventParents)this._eventParents[o].fire(t.type,e({layer:t.target,propagatedFrom:t.target},t),!0)}};z.addEventListener=z.on,z.removeEventListener=z.clearAllEventListeners=z.off,z.addOneTimeEventListener=z.once,z.fireEvent=z.fire,z.hasEventListeners=z.listens;var M=C.extend(z);function S(t,e,o){this.x=o?Math.round(t):t,this.y=o?Math.round(e):e}var E=Math.trunc||function(t){return t>0?Math.floor(t):Math.ceil(t)};function Z(t,e,o){return t instanceof S?t:f(t)?new S(t[0],t[1]):null==t?t:"object"==typeof t&&"x"in t&&"y"in t?new S(t.x,t.y):new S(t,e,o)}function B(t,e){if(t)for(var o=e?[t,e]:t,i=0,n=o.length;i<n;i++)this.extend(o[i])}function I(t,e){return!t||t instanceof B?t:new B(t,e)}function O(t,e){if(t)for(var o=e?[t,e]:t,i=0,n=o.length;i<n;i++)this.extend(o[i])}function A(t,e){return t instanceof O?t:new O(t,e)}function R(t,e,o){if(isNaN(t)||isNaN(e))throw new Error("Invalid LatLng object: ("+t+", "+e+")");this.lat=+t,this.lng=+e,void 0!==o&&(this.alt=+o)}function j(t,e,o){return t instanceof R?t:f(t)&&"object"!=typeof t[0]?3===t.length?new R(t[0],t[1],t[2]):2===t.length?new R(t[0],t[1]):null:null==t?t:"object"==typeof t&&"lat"in t?new R(t.lat,"lng"in t?t.lng:t.lon,t.alt):void 0===e?null:new R(t,e,o)}S.prototype={clone:function(){return new S(this.x,this.y)},add:function(t){return this.clone()._add(Z(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(Z(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},scaleBy:function(t){return new S(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new S(this.x/t.x,this.y/t.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=E(this.x),this.y=E(this.y),this},distanceTo:function(t){var e=(t=Z(t)).x-this.x,o=t.y-this.y;return Math.sqrt(e*e+o*o)},equals:function(t){return(t=Z(t)).x===this.x&&t.y===this.y},contains:function(t){return t=Z(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+l(this.x)+", "+l(this.y)+")"}},B.prototype={extend:function(t){var e,o;if(!t)return this;if(t instanceof S||"number"==typeof t[0]||"x"in t)e=o=Z(t);else if(e=(t=I(t)).min,o=t.max,!e||!o)return this;return this.min||this.max?(this.min.x=Math.min(e.x,this.min.x),this.max.x=Math.max(o.x,this.max.x),this.min.y=Math.min(e.y,this.min.y),this.max.y=Math.max(o.y,this.max.y)):(this.min=e.clone(),this.max=o.clone()),this},getCenter:function(t){return Z((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return Z(this.min.x,this.max.y)},getTopRight:function(){return Z(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(t){var e,o;return(t="number"==typeof t[0]||t instanceof S?Z(t):I(t))instanceof B?(e=t.min,o=t.max):e=o=t,e.x>=this.min.x&&o.x<=this.max.x&&e.y>=this.min.y&&o.y<=this.max.y},intersects:function(t){t=I(t);var e=this.min,o=this.max,i=t.min,n=t.max,s=n.x>=e.x&&i.x<=o.x,a=n.y>=e.y&&i.y<=o.y;return s&&a},overlaps:function(t){t=I(t);var e=this.min,o=this.max,i=t.min,n=t.max,s=n.x>e.x&&i.x<o.x,a=n.y>e.y&&i.y<o.y;return s&&a},isValid:function(){return!(!this.min||!this.max)},pad:function(t){var e=this.min,o=this.max,i=Math.abs(e.x-o.x)*t,n=Math.abs(e.y-o.y)*t;return I(Z(e.x-i,e.y-n),Z(o.x+i,o.y+n))},equals:function(t){return!!t&&(t=I(t),this.min.equals(t.getTopLeft())&&this.max.equals(t.getBottomRight()))}},O.prototype={extend:function(t){var e,o,i=this._southWest,n=this._northEast;if(t instanceof R)e=t,o=t;else{if(!(t instanceof O))return t?this.extend(j(t)||A(t)):this;if(e=t._southWest,o=t._northEast,!e||!o)return this}return i||n?(i.lat=Math.min(e.lat,i.lat),i.lng=Math.min(e.lng,i.lng),n.lat=Math.max(o.lat,n.lat),n.lng=Math.max(o.lng,n.lng)):(this._southWest=new R(e.lat,e.lng),this._northEast=new R(o.lat,o.lng)),this},pad:function(t){var e=this._southWest,o=this._northEast,i=Math.abs(e.lat-o.lat)*t,n=Math.abs(e.lng-o.lng)*t;return new O(new R(e.lat-i,e.lng-n),new R(o.lat+i,o.lng+n))},getCenter:function(){return new R((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new R(this.getNorth(),this.getWest())},getSouthEast:function(){return new R(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){t="number"==typeof t[0]||t instanceof R||"lat"in t?j(t):A(t);var e,o,i=this._southWest,n=this._northEast;return t instanceof O?(e=t.getSouthWest(),o=t.getNorthEast()):e=o=t,e.lat>=i.lat&&o.lat<=n.lat&&e.lng>=i.lng&&o.lng<=n.lng},intersects:function(t){t=A(t);var e=this._southWest,o=this._northEast,i=t.getSouthWest(),n=t.getNorthEast(),s=n.lat>=e.lat&&i.lat<=o.lat,a=n.lng>=e.lng&&i.lng<=o.lng;return s&&a},overlaps:function(t){t=A(t);var e=this._southWest,o=this._northEast,i=t.getSouthWest(),n=t.getNorthEast(),s=n.lat>e.lat&&i.lat<o.lat,a=n.lng>e.lng&&i.lng<o.lng;return s&&a},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t,e){return!!t&&(t=A(t),this._southWest.equals(t.getSouthWest(),e)&&this._northEast.equals(t.getNorthEast(),e))},isValid:function(){return!(!this._southWest||!this._northEast)}},R.prototype={equals:function(t,e){return!!t&&(t=j(t),Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng))<=(void 0===e?1e-9:e))},toString:function(t){return"LatLng("+l(this.lat,t)+", "+l(this.lng,t)+")"},distanceTo:function(t){return N.distance(this,j(t))},wrap:function(){return N.wrapLatLng(this)},toBounds:function(t){var e=180*t/40075017,o=e/Math.cos(Math.PI/180*this.lat);return A([this.lat-e,this.lng-o],[this.lat+e,this.lng+o])},clone:function(){return new R(this.lat,this.lng,this.alt)}};var $,D={latLngToPoint:function(t,e){var o=this.projection.project(t),i=this.scale(e);return this.transformation._transform(o,i)},pointToLatLng:function(t,e){var o=this.scale(e),i=this.transformation.untransform(t,o);return this.projection.unproject(i)},project:function(t){return this.projection.project(t)},unproject:function(t){return this.projection.unproject(t)},scale:function(t){return 256*Math.pow(2,t)},zoom:function(t){return Math.log(t/256)/Math.LN2},getProjectedBounds:function(t){if(this.infinite)return null;var e=this.projection.bounds,o=this.scale(t);return new B(this.transformation.transform(e.min,o),this.transformation.transform(e.max,o))},infinite:!1,wrapLatLng:function(t){var e=this.wrapLng?r(t.lng,this.wrapLng,!0):t.lng;return new R(this.wrapLat?r(t.lat,this.wrapLat,!0):t.lat,e,t.alt)},wrapLatLngBounds:function(t){var e=t.getCenter(),o=this.wrapLatLng(e),i=e.lat-o.lat,n=e.lng-o.lng;if(0===i&&0===n)return t;var s=t.getSouthWest(),a=t.getNorthEast();return new O(new R(s.lat-i,s.lng-n),new R(a.lat-i,a.lng-n))}},N=e({},D,{wrapLng:[-180,180],R:6371e3,distance:function(t,e){var o=Math.PI/180,i=t.lat*o,n=e.lat*o,s=Math.sin((e.lat-t.lat)*o/2),a=Math.sin((e.lng-t.lng)*o/2),r=s*s+Math.cos(i)*Math.cos(n)*a*a,h=2*Math.atan2(Math.sqrt(r),Math.sqrt(1-r));return this.R*h}}),F={R:6378137,MAX_LATITUDE:85.0511287798,project:function(t){var e=Math.PI/180,o=this.MAX_LATITUDE,i=Math.max(Math.min(o,t.lat),-o),n=Math.sin(i*e);return new S(this.R*t.lng*e,this.R*Math.log((1+n)/(1-n))/2)},unproject:function(t){var e=180/Math.PI;return new R((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*e,t.x*e/this.R)},bounds:($=6378137*Math.PI,new B([-$,-$],[$,$]))};function H(t,e,o,i){if(f(t))return this._a=t[0],this._b=t[1],this._c=t[2],void(this._d=t[3]);this._a=t,this._b=e,this._c=o,this._d=i}function W(t,e,o,i){return new H(t,e,o,i)}H.prototype={transform:function(t,e){return this._transform(t.clone(),e)},_transform:function(t,e){return e=e||1,t.x=e*(this._a*t.x+this._b),t.y=e*(this._c*t.y+this._d),t},untransform:function(t,e){return e=e||1,new S((t.x/e-this._b)/this._a,(t.y/e-this._d)/this._c)}};var U,q=e({},N,{code:"EPSG:3857",projection:F,transformation:(U=.5/(Math.PI*F.R),W(U,.5,-U,.5))}),V=e({},q,{code:"EPSG:900913"});function G(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function K(t,e){var o,i,n,s,a,r,h="";for(o=0,n=t.length;o<n;o++){for(i=0,s=(a=t[o]).length;i<s;i++)h+=(i?"L":"M")+(r=a[i]).x+" "+r.y;h+=e?Zt.svg?"z":"x":""}return h||"M0 0"}var Y,X=document.documentElement.style,J="ActiveXObject"in window,Q=J&&!document.addEventListener,tt="msLaunchUri"in navigator&&!("documentMode"in document),et=Et("webkit"),ot=Et("android"),it=Et("android 2")||Et("android 3"),nt=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),st=ot&&Et("Google")&&nt<537&&!("AudioNode"in window),at=!!window.opera,rt=!tt&&Et("chrome"),ht=Et("gecko")&&!et&&!at&&!J,lt=!rt&&Et("safari"),pt=Et("phantom"),ct="OTransition"in X,dt=0===navigator.platform.indexOf("Win"),ut=J&&"transition"in X,_t="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!it,mt="MozPerspective"in X,ft=!window.L_DISABLE_3D&&(ut||_t||mt)&&!ct&&!pt,vt="undefined"!=typeof orientation||Et("mobile"),gt=vt&&et,yt=vt&&_t,wt=!window.PointerEvent&&window.MSPointerEvent,bt=!(!window.PointerEvent&&!wt),xt="ontouchstart"in window||!!window.TouchEvent,kt=!window.L_NO_TOUCH&&(xt||bt),Pt=vt&&at,Lt=vt&&ht,Tt=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,Ct=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",h,e),window.removeEventListener("testPassiveEventSupport",h,e)}catch(o){}return t}(),zt=!!document.createElement("canvas").getContext,Mt=!(!document.createElementNS||!G("svg").createSVGRect),St=!!Mt&&((Y=document.createElement("div")).innerHTML="<svg/>","http://www.w3.org/2000/svg"===(Y.firstChild&&Y.firstChild.namespaceURI));function Et(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var Zt={ie:J,ielt9:Q,edge:tt,webkit:et,android:ot,android23:it,androidStock:st,opera:at,chrome:rt,gecko:ht,safari:lt,phantom:pt,opera12:ct,win:dt,ie3d:ut,webkit3d:_t,gecko3d:mt,any3d:ft,mobile:vt,mobileWebkit:gt,mobileWebkit3d:yt,msPointer:wt,pointer:bt,touch:kt,touchNative:xt,mobileOpera:Pt,mobileGecko:Lt,retina:Tt,passiveEvents:Ct,canvas:zt,svg:Mt,vml:!Mt&&function(){try{var t=document.createElement("div");t.innerHTML='<v:shape adj="1"/>';var e=t.firstChild;return e.style.behavior="url(#default#VML)",e&&"object"==typeof e.adj}catch(o){return!1}}(),inlineSvg:St,mac:0===navigator.platform.indexOf("Mac"),linux:0===navigator.platform.indexOf("Linux")},Bt=Zt.msPointer?"MSPointerDown":"pointerdown",It=Zt.msPointer?"MSPointerMove":"pointermove",Ot=Zt.msPointer?"MSPointerUp":"pointerup",At=Zt.msPointer?"MSPointerCancel":"pointercancel",Rt={touchstart:Bt,touchmove:It,touchend:Ot,touchcancel:At},jt={touchstart:function(t,e){e.MSPOINTER_TYPE_TOUCH&&e.pointerType===e.MSPOINTER_TYPE_TOUCH&&Be(e),Wt(t,e)},touchmove:Wt,touchend:Wt,touchcancel:Wt},$t={},Dt=!1;function Nt(t){$t[t.pointerId]=t}function Ft(t){$t[t.pointerId]&&($t[t.pointerId]=t)}function Ht(t){delete $t[t.pointerId]}function Wt(t,e){if(e.pointerType!==(e.MSPOINTER_TYPE_MOUSE||"mouse")){for(var o in e.touches=[],$t)e.touches.push($t[o]);e.changedTouches=[e],t(e)}}var Ut,qt,Vt,Gt,Kt,Yt=de(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Xt=de(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),Jt="webkitTransition"===Xt||"OTransition"===Xt?Xt+"End":"transitionend";function Qt(t){return"string"==typeof t?document.getElementById(t):t}function te(t,e){var o=t.style[e]||t.currentStyle&&t.currentStyle[e];if((!o||"auto"===o)&&document.defaultView){var i=document.defaultView.getComputedStyle(t,null);o=i?i[e]:null}return"auto"===o?null:o}function ee(t,e,o){var i=document.createElement(t);return i.className=e||"",o&&o.appendChild(i),i}function oe(t){var e=t.parentNode;e&&e.removeChild(t)}function ie(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function ne(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function se(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function ae(t,e){if(void 0!==t.classList)return t.classList.contains(e);var o=pe(t);return o.length>0&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(o)}function re(t,e){if(void 0!==t.classList)for(var o=c(e),i=0,n=o.length;i<n;i++)t.classList.add(o[i]);else if(!ae(t,e)){var s=pe(t);le(t,(s?s+" ":"")+e)}}function he(t,e){void 0!==t.classList?t.classList.remove(e):le(t,p((" "+pe(t)+" ").replace(" "+e+" "," ")))}function le(t,e){void 0===t.className.baseVal?t.className=e:t.className.baseVal=e}function pe(t){return t.correspondingElement&&(t=t.correspondingElement),void 0===t.className.baseVal?t.className:t.className.baseVal}function ce(t,e){"opacity"in t.style?t.style.opacity=e:"filter"in t.style&&function(t,e){var o=!1,i="DXImageTransform.Microsoft.Alpha";try{o=t.filters.item(i)}catch(n){if(1===e)return}e=Math.round(100*e),o?(o.Enabled=100!==e,o.Opacity=e):t.style.filter+=" progid:"+i+"(opacity="+e+")"}(t,e)}function de(t){for(var e=document.documentElement.style,o=0;o<t.length;o++)if(t[o]in e)return t[o];return!1}function ue(t,e,o){var i=e||new S(0,0);t.style[Yt]=(Zt.ie3d?"translate("+i.x+"px,"+i.y+"px)":"translate3d("+i.x+"px,"+i.y+"px,0)")+(o?" scale("+o+")":"")}function _e(t,e){t._leaflet_pos=e,Zt.any3d?ue(t,e):(t.style.left=e.x+"px",t.style.top=e.y+"px")}function me(t){return t._leaflet_pos||new S(0,0)}if("onselectstart"in document)Ut=function(){ke(window,"selectstart",Be)},qt=function(){Le(window,"selectstart",Be)};else{var fe=de(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);Ut=function(){if(fe){var t=document.documentElement.style;Vt=t[fe],t[fe]="none"}},qt=function(){fe&&(document.documentElement.style[fe]=Vt,Vt=void 0)}}function ve(){ke(window,"dragstart",Be)}function ge(){Le(window,"dragstart",Be)}function ye(t){for(;-1===t.tabIndex;)t=t.parentNode;t.style&&(we(),Gt=t,Kt=t.style.outlineStyle,t.style.outlineStyle="none",ke(window,"keydown",we))}function we(){Gt&&(Gt.style.outlineStyle=Kt,Gt=void 0,Kt=void 0,Le(window,"keydown",we))}function be(t){do{t=t.parentNode}while(!(t.offsetWidth&&t.offsetHeight||t===document.body));return t}function xe(t){var e=t.getBoundingClientRect();return{x:e.width/t.offsetWidth||1,y:e.height/t.offsetHeight||1,boundingClientRect:e}}function ke(t,e,o,i){if(e&&"object"==typeof e)for(var n in e)ze(t,n,e[n],o);else for(var s=0,a=(e=c(e)).length;s<a;s++)ze(t,e[s],o,i);return this}var Pe="_leaflet_events";function Le(t,e,o,i){if(1===arguments.length)Te(t),delete t[Pe];else if(e&&"object"==typeof e)for(var n in e)Me(t,n,e[n],o);else if(e=c(e),2===arguments.length)Te(t,(function(t){return-1!==v(e,t)}));else for(var s=0,a=e.length;s<a;s++)Me(t,e[s],o,i);return this}function Te(t,e){for(var o in t[Pe]){var i=o.split(/\d/)[0];e&&!e(i)||Me(t,i,null,null,o)}}var Ce={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function ze(t,e,o,i){var n=e+s(o)+(i?"_"+s(i):"");if(t[Pe]&&t[Pe][n])return this;var a=function(e){return o.call(i||t,e||window.event)},r=a;!Zt.touchNative&&Zt.pointer&&0===e.indexOf("touch")?a=function(t,e,o){return"touchstart"===e&&(Dt||(document.addEventListener(Bt,Nt,!0),document.addEventListener(It,Ft,!0),document.addEventListener(Ot,Ht,!0),document.addEventListener(At,Ht,!0),Dt=!0)),jt[e]?(o=jt[e].bind(this,o),t.addEventListener(Rt[e],o,!1),o):(console.warn("wrong event specified:",e),h)}(t,e,a):Zt.touch&&"dblclick"===e?a=function(t,e){t.addEventListener("dblclick",e);var o,i=0;function n(t){if(1===t.detail){if("mouse"!==t.pointerType&&(!t.sourceCapabilities||t.sourceCapabilities.firesTouchEvents)){var n=Oe(t);if(!n.some((function(t){return t instanceof HTMLLabelElement&&t.attributes.for}))||n.some((function(t){return t instanceof HTMLInputElement||t instanceof HTMLSelectElement}))){var s=Date.now();s-i<=200?2==++o&&e(function(t){var e,o,i={};for(o in t)e=t[o],i[o]=e&&e.bind?e.bind(t):e;return t=i,i.type="dblclick",i.detail=2,i.isTrusted=!1,i._simulated=!0,i}(t)):o=1,i=s}}}else o=t.detail}return t.addEventListener("click",n),{dblclick:e,simDblclick:n}}(t,a):"addEventListener"in t?"touchstart"===e||"touchmove"===e||"wheel"===e||"mousewheel"===e?t.addEventListener(Ce[e]||e,a,!!Zt.passiveEvents&&{passive:!1}):"mouseenter"===e||"mouseleave"===e?(a=function(e){e=e||window.event,$e(t,e)&&r(e)},t.addEventListener(Ce[e],a,!1)):t.addEventListener(e,r,!1):t.attachEvent("on"+e,a),t[Pe]=t[Pe]||{},t[Pe][n]=a}function Me(t,e,o,i,n){n=n||e+s(o)+(i?"_"+s(i):"");var a=t[Pe]&&t[Pe][n];if(!a)return this;!Zt.touchNative&&Zt.pointer&&0===e.indexOf("touch")?function(t,e,o){Rt[e]?t.removeEventListener(Rt[e],o,!1):console.warn("wrong event specified:",e)}(t,e,a):Zt.touch&&"dblclick"===e?function(t,e){t.removeEventListener("dblclick",e.dblclick),t.removeEventListener("click",e.simDblclick)}(t,a):"removeEventListener"in t?t.removeEventListener(Ce[e]||e,a,!1):t.detachEvent("on"+e,a),t[Pe][n]=null}function Se(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,this}function Ee(t){return ze(t,"wheel",Se),this}function Ze(t){return ke(t,"mousedown touchstart dblclick contextmenu",Se),t._leaflet_disable_click=!0,this}function Be(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function Ie(t){return Be(t),Se(t),this}function Oe(t){if(t.composedPath)return t.composedPath();for(var e=[],o=t.target;o;)e.push(o),o=o.parentNode;return e}function Ae(t,e){if(!e)return new S(t.clientX,t.clientY);var o=xe(e),i=o.boundingClientRect;return new S((t.clientX-i.left)/o.x-e.clientLeft,(t.clientY-i.top)/o.y-e.clientTop)}var Re=Zt.linux&&Zt.chrome?window.devicePixelRatio:Zt.mac?3*window.devicePixelRatio:window.devicePixelRatio>0?2*window.devicePixelRatio:1;function je(t){return Zt.edge?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/Re:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?20*-t.detail:t.detail?t.detail/-32765*60:0}function $e(t,e){var o=e.relatedTarget;if(!o)return!0;try{for(;o&&o!==t;)o=o.parentNode}catch(i){return!1}return o!==t}var De=M.extend({run:function(t,e,o,i){this.stop(),this._el=t,this._inProgress=!0,this._duration=o||.25,this._easeOutPower=1/Math.max(i||.5,.2),this._startPos=me(t),this._offset=e.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=P(this._animate,this),this._step()},_step:function(t){var e=+new Date-this._startTime,o=1e3*this._duration;e<o?this._runFrame(this._easeOut(e/o),t):(this._runFrame(1),this._complete())},_runFrame:function(t,e){var o=this._startPos.add(this._offset.multiplyBy(t));e&&o._round(),_e(this._el,o),this.fire("step")},_complete:function(){T(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),Ne=M.extend({options:{crs:q,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(t,e){e=d(this,e),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(t),this._initLayout(),this._onResize=i(this._onResize,this),this._initEvents(),e.maxBounds&&this.setMaxBounds(e.maxBounds),void 0!==e.zoom&&(this._zoom=this._limitZoom(e.zoom)),e.center&&void 0!==e.zoom&&this.setView(j(e.center),e.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=Xt&&Zt.any3d&&!Zt.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),ke(this._proxy,Jt,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(t,o,i){return o=void 0===o?this._zoom:this._limitZoom(o),t=this._limitCenter(j(t),o,this.options.maxBounds),i=i||{},this._stop(),this._loaded&&!i.reset&&!0!==i&&(void 0!==i.animate&&(i.zoom=e({animate:i.animate},i.zoom),i.pan=e({animate:i.animate,duration:i.duration},i.pan)),this._zoom!==o?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,o,i.zoom):this._tryAnimatedPan(t,i.pan))?(clearTimeout(this._sizeTimer),this):(this._resetView(t,o,i.pan&&i.pan.noMoveStart),this)},setZoom:function(t,e){return this._loaded?this.setView(this.getCenter(),t,{zoom:e}):(this._zoom=t,this)},zoomIn:function(t,e){return t=t||(Zt.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom+t,e)},zoomOut:function(t,e){return t=t||(Zt.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom-t,e)},setZoomAround:function(t,e,o){var i=this.getZoomScale(e),n=this.getSize().divideBy(2),s=(t instanceof S?t:this.latLngToContainerPoint(t)).subtract(n).multiplyBy(1-1/i),a=this.containerPointToLatLng(n.add(s));return this.setView(a,e,{zoom:o})},_getBoundsCenterZoom:function(t,e){e=e||{},t=t.getBounds?t.getBounds():A(t);var o=Z(e.paddingTopLeft||e.padding||[0,0]),i=Z(e.paddingBottomRight||e.padding||[0,0]),n=this.getBoundsZoom(t,!1,o.add(i));if((n="number"==typeof e.maxZoom?Math.min(e.maxZoom,n):n)===1/0)return{center:t.getCenter(),zoom:n};var s=i.subtract(o).divideBy(2),a=this.project(t.getSouthWest(),n),r=this.project(t.getNorthEast(),n);return{center:this.unproject(a.add(r).divideBy(2).add(s),n),zoom:n}},fitBounds:function(t,e){if(!(t=A(t)).isValid())throw new Error("Bounds are not valid.");var o=this._getBoundsCenterZoom(t,e);return this.setView(o.center,o.zoom,e)},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,e){return this.setView(t,this._zoom,{pan:e})},panBy:function(t,e){if(e=e||{},!(t=Z(t).round()).x&&!t.y)return this.fire("moveend");if(!0!==e.animate&&!this.getSize().contains(t))return this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new De,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),e.noMoveStart||this.fire("movestart"),!1!==e.animate){re(this._mapPane,"leaflet-pan-anim");var o=this._getMapPanePos().subtract(t).round();this._panAnim.run(this._mapPane,o,e.duration||.25,e.easeLinearity)}else this._rawPanBy(t),this.fire("move").fire("moveend");return this},flyTo:function(t,e,o){if(!1===(o=o||{}).animate||!Zt.any3d)return this.setView(t,e,o);this._stop();var i=this.project(this.getCenter()),n=this.project(t),s=this.getSize(),a=this._zoom;t=j(t),e=void 0===e?a:e;var r=Math.max(s.x,s.y),h=r*this.getZoomScale(a,e),l=n.distanceTo(i)||1;function p(t){var e=(h*h-r*r+2.0164*(t?-1:1)*2.0164*l*l)/(2*(t?h:r)*2.0164*l),o=Math.sqrt(e*e+1)-e;return o<1e-9?-18:Math.log(o)}function c(t){return(Math.exp(t)-Math.exp(-t))/2}function d(t){return(Math.exp(t)+Math.exp(-t))/2}var u=p(0);var _=Date.now(),m=(p(1)-u)/1.42,f=o.duration?1e3*o.duration:1e3*m*.8;return this._moveStart(!0,o.noMoveStart),function o(){var s=(Date.now()-_)/f,h=function(t){return 1-Math.pow(1-t,1.5)}(s)*m;s<=1?(this._flyToFrame=P(o,this),this._move(this.unproject(i.add(n.subtract(i).multiplyBy(function(t){return r*(d(u)*(c(e=u+1.42*t)/d(e))-c(u))/2.0164;var e}(h)/l)),a),this.getScaleZoom(r/function(t){return r*(d(u)/d(u+1.42*t))}(h),a),{flyTo:!0})):this._move(t,e)._moveEnd(!0)}.call(this),this},flyToBounds:function(t,e){var o=this._getBoundsCenterZoom(t,e);return this.flyTo(o.center,o.zoom,e)},setMaxBounds:function(t){return t=A(t),this.listens("moveend",this._panInsideMaxBounds)&&this.off("moveend",this._panInsideMaxBounds),t.isValid()?(this.options.maxBounds=t,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this)},setMinZoom:function(t){var e=this.options.minZoom;return this.options.minZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(t):this},setMaxZoom:function(t){var e=this.options.maxZoom;return this.options.maxZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var o=this.getCenter(),i=this._limitCenter(o,this._zoom,A(t));return o.equals(i)||this.panTo(i,e),this._enforcingBounds=!1,this},panInside:function(t,e){var o=Z((e=e||{}).paddingTopLeft||e.padding||[0,0]),i=Z(e.paddingBottomRight||e.padding||[0,0]),n=this.project(this.getCenter()),s=this.project(t),a=this.getPixelBounds(),r=I([a.min.add(o),a.max.subtract(i)]),h=r.getSize();if(!r.contains(s)){this._enforcingBounds=!0;var l=s.subtract(r.getCenter()),p=r.extend(s).getSize().subtract(h);n.x+=l.x<0?-p.x:p.x,n.y+=l.y<0?-p.y:p.y,this.panTo(this.unproject(n),e),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=e({animate:!1,pan:!0},!0===t?{animate:!0}:t);var o=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var n=this.getSize(),s=o.divideBy(2).round(),a=n.divideBy(2).round(),r=s.subtract(a);return r.x||r.y?(t.animate&&t.pan?this.panBy(r):(t.pan&&this._rawPanBy(r),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(i(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:o,newSize:n})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=e({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var o=i(this._handleGeolocationResponse,this),n=i(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(o,n,t):navigator.geolocation.getCurrentPosition(o,n,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){if(this._container._leaflet_id){var e=t.code,o=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+o+"."})}},_handleGeolocationResponse:function(t){if(this._container._leaflet_id){var e=new R(t.coords.latitude,t.coords.longitude),o=e.toBounds(2*t.coords.accuracy),i=this._locateOptions;if(i.setView){var n=this.getBoundsZoom(o);this.setView(e,i.maxZoom?Math.min(n,i.maxZoom):n)}var s={latlng:e,bounds:o,timestamp:t.timestamp};for(var a in t.coords)"number"==typeof t.coords[a]&&(s[a]=t.coords[a]);this.fire("locationfound",s)}},addHandler:function(t,e){if(!e)return this;var o=this[t]=new e(this);return this._handlers.push(o),this.options[t]&&o.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(e){this._container._leaflet_id=void 0,this._containerId=void 0}var t;for(t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),oe(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(T(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)oe(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){var o=ee("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),e||this._mapPane);return t&&(this._panes[t]=o),o},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new O(this.unproject(t.getBottomLeft()),this.unproject(t.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,o){t=A(t),o=Z(o||[0,0]);var i=this.getZoom()||0,n=this.getMinZoom(),s=this.getMaxZoom(),a=t.getNorthWest(),r=t.getSouthEast(),h=this.getSize().subtract(o),l=I(this.project(r,i),this.project(a,i)).getSize(),p=Zt.any3d?this.options.zoomSnap:1,c=h.x/l.x,d=h.y/l.y,u=e?Math.max(c,d):Math.min(c,d);return i=this.getScaleZoom(u,i),p&&(i=Math.round(i/(p/100))*(p/100),i=e?Math.ceil(i/p)*p:Math.floor(i/p)*p),Math.max(n,Math.min(s,i))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new S(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){var o=this._getTopLeftPoint(t,e);return new B(o,o.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"==typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var o=this.options.crs;return e=void 0===e?this._zoom:e,o.scale(t)/o.scale(e)},getScaleZoom:function(t,e){var o=this.options.crs;e=void 0===e?this._zoom:e;var i=o.zoom(t*o.scale(e));return isNaN(i)?1/0:i},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(j(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(Z(t),e)},layerPointToLatLng:function(t){var e=Z(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){return this.project(j(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(j(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(A(t))},distance:function(t,e){return this.options.crs.distance(j(t),j(e))},containerPointToLayerPoint:function(t){return Z(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return Z(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(Z(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(j(t)))},mouseEventToContainerPoint:function(t){return Ae(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var e=this._container=Qt(t);if(!e)throw new Error("Map container not found.");if(e._leaflet_id)throw new Error("Map container is already initialized.");ke(e,"scroll",this._onScroll,this),this._containerId=s(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&Zt.any3d,re(t,"leaflet-container"+(Zt.touch?" leaflet-touch":"")+(Zt.retina?" leaflet-retina":"")+(Zt.ielt9?" leaflet-oldie":"")+(Zt.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=te(t,"position");"absolute"!==e&&"relative"!==e&&"fixed"!==e&&"sticky"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),_e(this._mapPane,new S(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(re(t.markerPane,"leaflet-zoom-hide"),re(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e,o){_e(this._mapPane,new S(0,0));var i=!this._loaded;this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset");var n=this._zoom!==e;this._moveStart(n,o)._move(t,e)._moveEnd(n),this.fire("viewreset"),i&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,o,i){void 0===e&&(e=this._zoom);var n=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),i?o&&o.pinch&&this.fire("zoom",o):((n||o&&o.pinch)&&this.fire("zoom",o),this.fire("move",o)),this},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return T(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){_e(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={},this._targets[s(this._container)]=this;var e=t?Le:ke;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),Zt.any3d&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){T(this._resizeRequest),this._resizeRequest=P((function(){this.invalidateSize({debounceMoveend:!0})}),this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){for(var o,i=[],n="mouseout"===e||"mouseover"===e,a=t.target||t.srcElement,r=!1;a;){if((o=this._targets[s(a)])&&("click"===e||"preclick"===e)&&this._draggableMoved(o)){r=!0;break}if(o&&o.listens(e,!0)){if(n&&!$e(a,t))break;if(i.push(o),n)break}if(a===this._container)break;a=a.parentNode}return i.length||r||n||!this.listens(e,!0)||(i=[this]),i},_isClickDisabled:function(t){for(;t&&t!==this._container;){if(t._leaflet_disable_click)return!0;t=t.parentNode}},_handleDOMEvent:function(t){var e=t.target||t.srcElement;if(!(!this._loaded||e._leaflet_disable_events||"click"===t.type&&this._isClickDisabled(e))){var o=t.type;"mousedown"===o&&ye(e),this._fireDOMEvent(t,o)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,o,i){if("click"===t.type){var n=e({},t);n.type="preclick",this._fireDOMEvent(n,n.type,i)}var s=this._findEventTargets(t,o);if(i){for(var a=[],r=0;r<i.length;r++)i[r].listens(o,!0)&&a.push(i[r]);s=a.concat(s)}if(s.length){"contextmenu"===o&&Be(t);var h=s[0],l={originalEvent:t};if("keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type){var p=h.getLatLng&&(!h._radius||h._radius<=10);l.containerPoint=p?this.latLngToContainerPoint(h.getLatLng()):this.mouseEventToContainerPoint(t),l.layerPoint=this.containerPointToLayerPoint(l.containerPoint),l.latlng=p?h.getLatLng():this.layerPointToLatLng(l.layerPoint)}for(r=0;r<s.length;r++)if(s[r].fire(o,l,!0),l.originalEvent._stopped||!1===s[r].options.bubblingMouseEvents&&-1!==v(this._mouseEvents,o))return}},_draggableMoved:function(t){return(t=t.dragging&&t.dragging.enabled()?t:this).dragging&&t.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var t=0,e=this._handlers.length;t<e;t++)this._handlers[t].disable()},whenReady:function(t,e){return this._loaded?t.call(e||this,{target:this}):this.on("load",t,e),this},_getMapPanePos:function(){return me(this._mapPane)||new S(0,0)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(t,e){return(t&&void 0!==e?this._getNewPixelOrigin(t,e):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(t,e){var o=this.getSize()._divideBy(2);return this.project(t,e)._subtract(o)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(t,e,o){var i=this._getNewPixelOrigin(o,e);return this.project(t,e)._subtract(i)},_latLngBoundsToNewLayerBounds:function(t,e,o){var i=this._getNewPixelOrigin(o,e);return I([this.project(t.getSouthWest(),e)._subtract(i),this.project(t.getNorthWest(),e)._subtract(i),this.project(t.getSouthEast(),e)._subtract(i),this.project(t.getNorthEast(),e)._subtract(i)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,e,o){if(!o)return t;var i=this.project(t,e),n=this.getSize().divideBy(2),s=new B(i.subtract(n),i.add(n)),a=this._getBoundsOffset(s,o,e);return Math.abs(a.x)<=1&&Math.abs(a.y)<=1?t:this.unproject(i.add(a),e)},_limitOffset:function(t,e){if(!e)return t;var o=this.getPixelBounds(),i=new B(o.min.add(t),o.max.add(t));return t.add(this._getBoundsOffset(i,e))},_getBoundsOffset:function(t,e,o){var i=I(this.project(e.getNorthEast(),o),this.project(e.getSouthWest(),o)),n=i.min.subtract(t.min),s=i.max.subtract(t.max);return new S(this._rebound(n.x,-s.x),this._rebound(n.y,-s.y))},_rebound:function(t,e){return t+e>0?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),o=this.getMaxZoom(),i=Zt.any3d?this.options.zoomSnap:1;return i&&(t=Math.round(t/i)*i),Math.max(e,Math.min(o,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){he(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var o=this._getCenterOffset(t)._trunc();return!(!0!==(e&&e.animate)&&!this.getSize().contains(o)||(this.panBy(o,e),0))},_createAnimProxy:function(){var t=this._proxy=ee("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",(function(t){var e=Yt,o=this._proxy.style[e];ue(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),o===this._proxy.style[e]&&this._animatingZoom&&this._onZoomTransitionEnd()}),this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){oe(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),e=this.getZoom();ue(this._proxy,this.project(t,e),this.getZoomScale(e,1))},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,o){if(this._animatingZoom)return!0;if(o=o||{},!this._zoomAnimated||!1===o.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var i=this.getZoomScale(e),n=this._getCenterOffset(t)._divideBy(1-1/i);return!(!0!==o.animate&&!this.getSize().contains(n)||(P((function(){this._moveStart(!0,o.noMoveStart||!1)._animateZoom(t,e,!0)}),this),0))},_animateZoom:function(t,e,o,n){this._mapPane&&(o&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,re(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:n}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(i(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&he(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))}}),Fe=C.extend({options:{position:"topright"},initialize:function(t){d(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),o=this.getPosition(),i=t._controlCorners[o];return re(e,"leaflet-control"),-1!==o.indexOf("bottom")?i.insertBefore(e,i.firstChild):i.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(oe(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),He=function(t){return new Fe(t)};Ne.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},e="leaflet-",o=this._controlContainer=ee("div",e+"control-container",this._container);function i(i,n){var s=e+i+" "+e+n;t[i+n]=ee("div",s,o)}i("top","left"),i("top","right"),i("bottom","left"),i("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)oe(this._controlCorners[t]);oe(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var We=Fe.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,o,i){return o<i?-1:i<o?1:0}},initialize:function(t,e,o){for(var i in d(this,o),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,this._preventClick=!1,t)this._addLayer(t[i],i);for(i in e)this._addLayer(e[i],i,!0)},onAdd:function(t){this._initLayout(),this._update(),this._map=t,t.on("zoomend",this._checkDisabledLayers,this);for(var e=0;e<this._layers.length;e++)this._layers[e].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(t){return Fe.prototype.addTo.call(this,t),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(t,e){return this._addLayer(t,e),this._map?this._update():this},addOverlay:function(t,e){return this._addLayer(t,e,!0),this._map?this._update():this},removeLayer:function(t){t.off("add remove",this._onLayerChange,this);var e=this._getLayer(s(t));return e&&this._layers.splice(this._layers.indexOf(e),1),this._map?this._update():this},expand:function(){re(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var t=this._map.getSize().y-(this._container.offsetTop+50);return t<this._section.clientHeight?(re(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=t+"px"):he(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return he(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var t="leaflet-control-layers",e=this._container=ee("div",t),o=this.options.collapsed;e.setAttribute("aria-haspopup",!0),Ze(e),Ee(e);var i=this._section=ee("section",t+"-list");o&&(this._map.on("click",this.collapse,this),ke(e,{mouseenter:this._expandSafely,mouseleave:this.collapse},this));var n=this._layersLink=ee("a",t+"-toggle",e);n.href="#",n.title="Layers",n.setAttribute("role","button"),ke(n,{keydown:function(t){13===t.keyCode&&this._expandSafely()},click:function(t){Be(t),this._expandSafely()}},this),o||this.expand(),this._baseLayersList=ee("div",t+"-base",i),this._separator=ee("div",t+"-separator",i),this._overlaysList=ee("div",t+"-overlays",i),e.appendChild(i)},_getLayer:function(t){for(var e=0;e<this._layers.length;e++)if(this._layers[e]&&s(this._layers[e].layer)===t)return this._layers[e]},_addLayer:function(t,e,o){this._map&&t.on("add remove",this._onLayerChange,this),this._layers.push({layer:t,name:e,overlay:o}),this.options.sortLayers&&this._layers.sort(i((function(t,e){return this.options.sortFunction(t.layer,e.layer,t.name,e.name)}),this)),this.options.autoZIndex&&t.setZIndex&&(this._lastZIndex++,t.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;ie(this._baseLayersList),ie(this._overlaysList),this._layerControlInputs=[];var t,e,o,i,n=0;for(o=0;o<this._layers.length;o++)i=this._layers[o],this._addItem(i),e=e||i.overlay,t=t||!i.overlay,n+=i.overlay?0:1;return this.options.hideSingleBase&&(t=t&&n>1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=e&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(s(t.target)),o=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;o&&this._map.fire(o,e)},_createRadioElement:function(t,e){var o='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(e?' checked="checked"':"")+"/>",i=document.createElement("div");return i.innerHTML=o,i.firstChild},_addItem:function(t){var e,o=document.createElement("label"),i=this._map.hasLayer(t.layer);t.overlay?((e=document.createElement("input")).type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=i):e=this._createRadioElement("leaflet-base-layers_"+s(this),i),this._layerControlInputs.push(e),e.layerId=s(t.layer),ke(e,"click",this._onInputClick,this);var n=document.createElement("span");n.innerHTML=" "+t.name;var a=document.createElement("span");return o.appendChild(a),a.appendChild(e),a.appendChild(n),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(o),this._checkDisabledLayers(),o},_onInputClick:function(){if(!this._preventClick){var t,e,o=this._layerControlInputs,i=[],n=[];this._handlingClick=!0;for(var s=o.length-1;s>=0;s--)t=o[s],e=this._getLayer(t.layerId).layer,t.checked?i.push(e):t.checked||n.push(e);for(s=0;s<n.length;s++)this._map.hasLayer(n[s])&&this._map.removeLayer(n[s]);for(s=0;s<i.length;s++)this._map.hasLayer(i[s])||this._map.addLayer(i[s]);this._handlingClick=!1,this._refocusOnMap()}},_checkDisabledLayers:function(){for(var t,e,o=this._layerControlInputs,i=this._map.getZoom(),n=o.length-1;n>=0;n--)t=o[n],e=this._getLayer(t.layerId).layer,t.disabled=void 0!==e.options.minZoom&&i<e.options.minZoom||void 0!==e.options.maxZoom&&i>e.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var t=this._section;this._preventClick=!0,ke(t,"click",Be),this.expand();var e=this;setTimeout((function(){Le(t,"click",Be),e._preventClick=!1}))}}),Ue=Fe.extend({options:{position:"topleft",zoomInText:'<span aria-hidden="true">+</span>',zoomInTitle:"Zoom in",zoomOutText:'<span aria-hidden="true">&#x2212;</span>',zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",o=ee("div",e+" leaflet-bar"),i=this.options;return this._zoomInButton=this._createButton(i.zoomInText,i.zoomInTitle,e+"-in",o,this._zoomIn),this._zoomOutButton=this._createButton(i.zoomOutText,i.zoomOutTitle,e+"-out",o,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),o},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(t.shiftKey?3:1))},_zoomOut:function(t){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,o,i,n){var s=ee("a",o,i);return s.innerHTML=t,s.href="#",s.title=e,s.setAttribute("role","button"),s.setAttribute("aria-label",e),Ze(s),ke(s,"click",Ie),ke(s,"click",n,this),ke(s,"click",this._refocusOnMap,this),s},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";he(this._zoomInButton,e),he(this._zoomOutButton,e),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||t._zoom===t.getMinZoom())&&(re(this._zoomOutButton,e),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||t._zoom===t.getMaxZoom())&&(re(this._zoomInButton,e),this._zoomInButton.setAttribute("aria-disabled","true"))}});Ne.mergeOptions({zoomControl:!0}),Ne.addInitHook((function(){this.options.zoomControl&&(this.zoomControl=new Ue,this.addControl(this.zoomControl))}));var qe=Fe.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e=ee("div","leaflet-control-scale"),o=this.options;return this._addScales(o,"leaflet-control-scale-line",e),t.on(o.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),e},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,o){t.metric&&(this._mScale=ee("div",e,o)),t.imperial&&(this._iScale=ee("div",e,o))},_update:function(){var t=this._map,e=t.getSize().y/2,o=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(o)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t),o=e<1e3?e+" m":e/1e3+" km";this._updateScale(this._mScale,o,e/t)},_updateImperial:function(t){var e,o,i,n=3.2808399*t;n>5280?(e=n/5280,o=this._getRoundNum(e),this._updateScale(this._iScale,o+" mi",o/e)):(i=this._getRoundNum(n),this._updateScale(this._iScale,i+" ft",i/n))},_updateScale:function(t,e,o){t.style.width=Math.round(this.options.maxWidth*o)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),o=t/e;return e*(o>=10?10:o>=5?5:o>=3?3:o>=2?2:1)}}),Ve=Fe.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+(Zt.inlineSvg?'<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg> ':"")+"Leaflet</a>"},initialize:function(t){d(this,t),this._attributions={}},onAdd:function(t){for(var e in t.attributionControl=this,this._container=ee("div","leaflet-control-attribution"),Ze(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),t.on("layeradd",this._addAttribution,this),this._container},onRemove:function(t){t.off("layeradd",this._addAttribution,this)},_addAttribution:function(t){t.layer.getAttribution&&(this.addAttribution(t.layer.getAttribution()),t.layer.once("remove",(function(){this.removeAttribution(t.layer.getAttribution())}),this))},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):this},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):this},_update:function(){if(this._map){var t=[];for(var e in this._attributions)this._attributions[e]&&t.push(e);var o=[];this.options.prefix&&o.push(this.options.prefix),t.length&&o.push(t.join(", ")),this._container.innerHTML=o.join(' <span aria-hidden="true">|</span> ')}}});Ne.mergeOptions({attributionControl:!0}),Ne.addInitHook((function(){this.options.attributionControl&&(new Ve).addTo(this)})),Fe.Layers=We,Fe.Zoom=Ue,Fe.Scale=qe,Fe.Attribution=Ve,He.layers=function(t,e,o){return new We(t,e,o)},He.zoom=function(t){return new Ue(t)},He.scale=function(t){return new qe(t)},He.attribution=function(t){return new Ve(t)};var Ge=C.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});Ge.addTo=function(t,e){return t.addHandler(e,this),this};var Ke=Zt.touch?"touchstart mousedown":"mousedown",Ye=M.extend({options:{clickTolerance:3},initialize:function(t,e,o,i){d(this,i),this._element=t,this._dragStartTarget=e||t,this._preventOutline=o},enable:function(){this._enabled||(ke(this._dragStartTarget,Ke,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(Ye._dragging===this&&this.finishDrag(!0),Le(this._dragStartTarget,Ke,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(this._enabled&&(this._moved=!1,!ae(this._element,"leaflet-zoom-anim")))if(t.touches&&1!==t.touches.length)Ye._dragging===this&&this.finishDrag();else if(!(Ye._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||(Ye._dragging=this,this._preventOutline&&ye(this._element),ve(),Ut(),this._moving))){this.fire("down");var e=t.touches?t.touches[0]:t,o=be(this._element);this._startPoint=new S(e.clientX,e.clientY),this._startPos=me(this._element),this._parentScale=xe(o);var i="mousedown"===t.type;ke(document,i?"mousemove":"touchmove",this._onMove,this),ke(document,i?"mouseup":"touchend touchcancel",this._onUp,this)}},_onMove:function(t){if(this._enabled)if(t.touches&&t.touches.length>1)this._moved=!0;else{var e=t.touches&&1===t.touches.length?t.touches[0]:t,o=new S(e.clientX,e.clientY)._subtract(this._startPoint);(o.x||o.y)&&(Math.abs(o.x)+Math.abs(o.y)<this.options.clickTolerance||(o.x/=this._parentScale.x,o.y/=this._parentScale.y,Be(t),this._moved||(this.fire("dragstart"),this._moved=!0,re(document.body,"leaflet-dragging"),this._lastTarget=t.target||t.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),re(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(o),this._moving=!0,this._lastEvent=t,this._updatePosition()))}},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire("predrag",t),_e(this._element,this._newPos),this.fire("drag",t)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(t){he(document.body,"leaflet-dragging"),this._lastTarget&&(he(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),Le(document,"mousemove touchmove",this._onMove,this),Le(document,"mouseup touchend touchcancel",this._onUp,this),ge(),qt();var e=this._moved&&this._moving;this._moving=!1,Ye._dragging=!1,e&&this.fire("dragend",{noInertia:t,distance:this._newPos.distanceTo(this._startPos)})}});function Xe(t,e,o){var i,n,s,a,r,h,l,p,c,d=[1,4,2,8];for(n=0,l=t.length;n<l;n++)t[n]._code=so(t[n],e);for(a=0;a<4;a++){for(p=d[a],i=[],n=0,s=(l=t.length)-1;n<l;s=n++)r=t[n],h=t[s],r._code&p?h._code&p||((c=no(h,r,p,e,o))._code=so(c,e),i.push(c)):(h._code&p&&((c=no(h,r,p,e,o))._code=so(c,e),i.push(c)),i.push(r));t=i}return t}function Je(t,e){var o,i,n,s,a,r,h,l,p;if(!t||0===t.length)throw new Error("latlngs not passed");ro(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);var c=j([0,0]),d=A(t);d.getNorthWest().distanceTo(d.getSouthWest())*d.getNorthEast().distanceTo(d.getNorthWest())<1700&&(c=Qe(t));var u=t.length,_=[];for(o=0;o<u;o++){var m=j(t[o]);_.push(e.project(j([m.lat-c.lat,m.lng-c.lng])))}for(r=h=l=0,o=0,i=u-1;o<u;i=o++)n=_[o],s=_[i],a=n.y*s.x-s.y*n.x,h+=(n.x+s.x)*a,l+=(n.y+s.y)*a,r+=3*a;p=0===r?_[0]:[h/r,l/r];var f=e.unproject(Z(p));return j([f.lat+c.lat,f.lng+c.lng])}function Qe(t){for(var e=0,o=0,i=0,n=0;n<t.length;n++){var s=j(t[n]);e+=s.lat,o+=s.lng,i++}return j([e/i,o/i])}var to;function eo(t,e){if(!e||!t.length)return t.slice();var o=e*e;return t=function(t,e){var o=t.length,i=new(typeof Uint8Array!=void 0+""?Uint8Array:Array)(o);i[0]=i[o-1]=1,function t(e,o,i,n,s){var a,r,h,l=0;for(r=n+1;r<=s-1;r++)(h=ao(e[r],e[n],e[s],!0))>l&&(a=r,l=h);l>i&&(o[a]=1,t(e,o,i,n,a),t(e,o,i,a,s))}(t,i,e,0,o-1);var n,s=[];for(n=0;n<o;n++)i[n]&&s.push(t[n]);return s}(t=function(t,e){for(var o=[t[0]],i=1,n=0,s=t.length;i<s;i++)a=t[i],r=t[n],h=void 0,l=void 0,h=r.x-a.x,l=r.y-a.y,h*h+l*l>e&&(o.push(t[i]),n=i);var a,r,h,l;return n<s-1&&o.push(t[s-1]),o}(t,o),o)}function oo(t,e,o){return Math.sqrt(ao(t,e,o,!0))}function io(t,e,o,i,n){var s,a,r,h=i?to:so(t,o),l=so(e,o);for(to=l;;){if(!(h|l))return[t,e];if(h&l)return!1;r=so(a=no(t,e,s=h||l,o,n),o),s===h?(t=a,h=r):(e=a,l=r)}}function no(t,e,o,i,n){var s,a,r=e.x-t.x,h=e.y-t.y,l=i.min,p=i.max;return 8&o?(s=t.x+r*(p.y-t.y)/h,a=p.y):4&o?(s=t.x+r*(l.y-t.y)/h,a=l.y):2&o?(s=p.x,a=t.y+h*(p.x-t.x)/r):1&o&&(s=l.x,a=t.y+h*(l.x-t.x)/r),new S(s,a,n)}function so(t,e){var o=0;return t.x<e.min.x?o|=1:t.x>e.max.x&&(o|=2),t.y<e.min.y?o|=4:t.y>e.max.y&&(o|=8),o}function ao(t,e,o,i){var n,s=e.x,a=e.y,r=o.x-s,h=o.y-a,l=r*r+h*h;return l>0&&((n=((t.x-s)*r+(t.y-a)*h)/l)>1?(s=o.x,a=o.y):n>0&&(s+=r*n,a+=h*n)),r=t.x-s,h=t.y-a,i?r*r+h*h:new S(s,a)}function ro(t){return!f(t[0])||"object"!=typeof t[0][0]&&void 0!==t[0][0]}function ho(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),ro(t)}function lo(t,e){var o,i,n,s,a,r,h,l;if(!t||0===t.length)throw new Error("latlngs not passed");ro(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);var p=j([0,0]),c=A(t);c.getNorthWest().distanceTo(c.getSouthWest())*c.getNorthEast().distanceTo(c.getNorthWest())<1700&&(p=Qe(t));var d=t.length,u=[];for(o=0;o<d;o++){var _=j(t[o]);u.push(e.project(j([_.lat-p.lat,_.lng-p.lng])))}for(o=0,i=0;o<d-1;o++)i+=u[o].distanceTo(u[o+1])/2;if(0===i)l=u[0];else for(o=0,s=0;o<d-1;o++)if(a=u[o],r=u[o+1],(s+=n=a.distanceTo(r))>i){h=(s-i)/n,l=[r.x-h*(r.x-a.x),r.y-h*(r.y-a.y)];break}var m=e.unproject(Z(l));return j([m.lat+p.lat,m.lng+p.lng])}var po={project:function(t){return new S(t.lng,t.lat)},unproject:function(t){return new R(t.y,t.x)},bounds:new B([-180,-90],[180,90])},co={R:6378137,R_MINOR:6356752.314245179,bounds:new B([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var e=Math.PI/180,o=this.R,i=t.lat*e,n=this.R_MINOR/o,s=Math.sqrt(1-n*n),a=s*Math.sin(i),r=Math.tan(Math.PI/4-i/2)/Math.pow((1-a)/(1+a),s/2);return i=-o*Math.log(Math.max(r,1e-10)),new S(t.lng*e*o,i)},unproject:function(t){for(var e,o=180/Math.PI,i=this.R,n=this.R_MINOR/i,s=Math.sqrt(1-n*n),a=Math.exp(-t.y/i),r=Math.PI/2-2*Math.atan(a),h=0,l=.1;h<15&&Math.abs(l)>1e-7;h++)e=s*Math.sin(r),e=Math.pow((1-e)/(1+e),s/2),r+=l=Math.PI/2-2*Math.atan(a*e)-r;return new R(r*o,t.x*o/i)}},uo=e({},N,{code:"EPSG:3395",projection:co,transformation:function(){var t=.5/(Math.PI*co.R);return W(t,.5,-t,.5)}()}),_o=e({},N,{code:"EPSG:4326",projection:po,transformation:W(1/180,1,-1/180,.5)}),mo=e({},D,{projection:po,transformation:W(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var o=e.lng-t.lng,i=e.lat-t.lat;return Math.sqrt(o*o+i*i)},infinite:!0});D.Earth=N,D.EPSG3395=uo,D.EPSG3857=q,D.EPSG900913=V,D.EPSG4326=_o,D.Simple=mo;var fo=M.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[s(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[s(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e=t.target;if(e.hasLayer(this)){if(this._map=e,this._zoomAnimated=e._zoomAnimated,this.getEvents){var o=this.getEvents();e.on(o,this),this.once("remove",(function(){e.off(o,this)}),this)}this.onAdd(e),this.fire("add"),e.fire("layeradd",{layer:this})}}});Ne.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var e=s(t);return this._layers[e]||(this._layers[e]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this},removeLayer:function(t){var e=s(t);return this._layers[e]?(this._loaded&&t.onRemove(this),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return s(t)in this._layers},eachLayer:function(t,e){for(var o in this._layers)t.call(e,this._layers[o]);return this},_addLayers:function(t){for(var e=0,o=(t=t?f(t)?t:[t]:[]).length;e<o;e++)this.addLayer(t[e])},_addZoomLimit:function(t){isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[s(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){var e=s(t);this._zoomBoundLayers[e]&&(delete this._zoomBoundLayers[e],this._updateZoomLevels())},_updateZoomLevels:function(){var t=1/0,e=-1/0,o=this._getZoomSpan();for(var i in this._zoomBoundLayers){var n=this._zoomBoundLayers[i].options;t=void 0===n.minZoom?t:Math.min(t,n.minZoom),e=void 0===n.maxZoom?e:Math.max(e,n.maxZoom)}this._layersMaxZoom=e===-1/0?void 0:e,this._layersMinZoom=t===1/0?void 0:t,o!==this._getZoomSpan()&&this.fire("zoomlevelschange"),void 0===this.options.maxZoom&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var vo=fo.extend({initialize:function(t,e){var o,i;if(d(this,e),this._layers={},t)for(o=0,i=t.length;o<i;o++)this.addLayer(t[o])},addLayer:function(t){var e=this.getLayerId(t);return this._layers[e]=t,this._map&&this._map.addLayer(t),this},removeLayer:function(t){var e=t in this._layers?t:this.getLayerId(t);return this._map&&this._layers[e]&&this._map.removeLayer(this._layers[e]),delete this._layers[e],this},hasLayer:function(t){return("number"==typeof t?t:this.getLayerId(t))in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(t){var e,o,i=Array.prototype.slice.call(arguments,1);for(e in this._layers)(o=this._layers[e])[t]&&o[t].apply(o,i);return this},onAdd:function(t){this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t)},eachLayer:function(t,e){for(var o in this._layers)t.call(e,this._layers[o]);return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];return this.eachLayer(t.push,t),t},setZIndex:function(t){return this.invoke("setZIndex",t)},getLayerId:function(t){return s(t)}}),go=vo.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),vo.prototype.addLayer.call(this,t),this.fire("layeradd",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?(t in this._layers&&(t=this._layers[t]),t.removeEventParent(this),vo.prototype.removeLayer.call(this,t),this.fire("layerremove",{layer:t})):this},setStyle:function(t){return this.invoke("setStyle",t)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var t=new O;for(var e in this._layers){var o=this._layers[e];t.extend(o.getBounds?o.getBounds():o.getLatLng())}return t}}),yo=C.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(t){d(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,e){var o=this._getIconUrl(t);if(!o){if("icon"===t)throw new Error("iconUrl not set in Icon options (see the docs).");return null}var i=this._createImg(o,e&&"IMG"===e.tagName?e:null);return this._setIconStyles(i,t),(this.options.crossOrigin||""===this.options.crossOrigin)&&(i.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),i},_setIconStyles:function(t,e){var o=this.options,i=o[e+"Size"];"number"==typeof i&&(i=[i,i]);var n=Z(i),s=Z("shadow"===e&&o.shadowAnchor||o.iconAnchor||n&&n.divideBy(2,!0));t.className="leaflet-marker-"+e+" "+(o.className||""),s&&(t.style.marginLeft=-s.x+"px",t.style.marginTop=-s.y+"px"),n&&(t.style.width=n.x+"px",t.style.height=n.y+"px")},_createImg:function(t,e){return(e=e||document.createElement("img")).src=t,e},_getIconUrl:function(t){return Zt.retina&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}}),wo=yo.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(t){return"string"!=typeof wo.imagePath&&(wo.imagePath=this._detectIconPath()),(this.options.imagePath||wo.imagePath)+yo.prototype._getIconUrl.call(this,t)},_stripUrl:function(t){var e=function(t,e,o){var i=e.exec(t);return i&&i[o]};return(t=e(t,/^url\((['"])?(.+)\1\)$/,2))&&e(t,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var t=ee("div","leaflet-default-icon-path",document.body),e=te(t,"background-image")||te(t,"backgroundImage");if(document.body.removeChild(t),e=this._stripUrl(e))return e;var o=document.querySelector('link[href$="leaflet.css"]');return o?o.href.substring(0,o.href.length-11-1):""}}),bo=Ge.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new Ye(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),re(t,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&he(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(t){var e=this._marker,o=e._map,i=this._marker.options.autoPanSpeed,n=this._marker.options.autoPanPadding,s=me(e._icon),a=o.getPixelBounds(),r=o.getPixelOrigin(),h=I(a.min._subtract(r).add(n),a.max._subtract(r).subtract(n));if(!h.contains(s)){var l=Z((Math.max(h.max.x,s.x)-h.max.x)/(a.max.x-h.max.x)-(Math.min(h.min.x,s.x)-h.min.x)/(a.min.x-h.min.x),(Math.max(h.max.y,s.y)-h.max.y)/(a.max.y-h.max.y)-(Math.min(h.min.y,s.y)-h.min.y)/(a.min.y-h.min.y)).multiplyBy(i);o.panBy(l,{animate:!1}),this._draggable._newPos._add(l),this._draggable._startPos._add(l),_e(e._icon,this._draggable._newPos),this._onDrag(t),this._panRequest=P(this._adjustPan.bind(this,t))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(t){this._marker.options.autoPan&&(T(this._panRequest),this._panRequest=P(this._adjustPan.bind(this,t)))},_onDrag:function(t){var e=this._marker,o=e._shadow,i=me(e._icon),n=e._map.layerPointToLatLng(i);o&&_e(o,i),e._latlng=n,t.latlng=n,t.oldLatLng=this._oldLatLng,e.fire("move",t).fire("drag",t)},_onDragEnd:function(t){T(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",t)}}),xo=fo.extend({options:{icon:new wo,interactive:!0,keyboard:!0,title:"",alt:"Marker",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,autoPanOnFocus:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(t,e){d(this,e),this._latlng=j(t)},onAdd:function(t){this._zoomAnimated=this._zoomAnimated&&t.options.markerZoomAnimation,this._zoomAnimated&&t.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(t){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&t.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(t){var e=this._latlng;return this._latlng=j(t),this.update(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},setZIndexOffset:function(t){return this.options.zIndexOffset=t,this.update()},getIcon:function(){return this.options.icon},setIcon:function(t){return this.options.icon=t,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var t=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(t)}return this},_initIcon:function(){var t=this.options,e="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),o=t.icon.createIcon(this._icon),i=!1;o!==this._icon&&(this._icon&&this._removeIcon(),i=!0,t.title&&(o.title=t.title),"IMG"===o.tagName&&(o.alt=t.alt||"")),re(o,e),t.keyboard&&(o.tabIndex="0",o.setAttribute("role","button")),this._icon=o,t.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&ke(o,"focus",this._panOnFocus,this);var n=t.icon.createShadow(this._shadow),s=!1;n!==this._shadow&&(this._removeShadow(),s=!0),n&&(re(n,e),n.alt=""),this._shadow=n,t.opacity<1&&this._updateOpacity(),i&&this.getPane().appendChild(this._icon),this._initInteraction(),n&&s&&this.getPane(t.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&Le(this._icon,"focus",this._panOnFocus,this),oe(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&oe(this._shadow),this._shadow=null},_setPos:function(t){this._icon&&_e(this._icon,t),this._shadow&&_e(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon&&(this._icon.style.zIndex=this._zIndex+t)},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPos(e)},_initInteraction:function(){if(this.options.interactive&&(re(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),bo)){var t=this.options.draggable;this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new bo(this),t&&this.dragging.enable()}},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var t=this.options.opacity;this._icon&&ce(this._icon,t),this._shadow&&ce(this._shadow,t)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var t=this._map;if(t){var e=this.options.icon.options,o=e.iconSize?Z(e.iconSize):Z(0,0),i=e.iconAnchor?Z(e.iconAnchor):Z(0,0);t.panInside(this._latlng,{paddingTopLeft:i,paddingBottomRight:o.subtract(i)})}},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}}),ko=fo.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(t){this._renderer=t.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(t){return d(this,t),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&t&&Object.prototype.hasOwnProperty.call(t,"weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+(this._renderer.options.tolerance||0)}}),Po=ko.extend({options:{fill:!0,radius:10},initialize:function(t,e){d(this,e),this._latlng=j(t),this._radius=this.options.radius},setLatLng:function(t){var e=this._latlng;return this._latlng=j(t),this.redraw(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(t){return this.options.radius=this._radius=t,this.redraw()},getRadius:function(){return this._radius},setStyle:function(t){var e=t&&t.radius||this._radius;return ko.prototype.setStyle.call(this,t),this.setRadius(e),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var t=this._radius,e=this._radiusY||t,o=this._clickTolerance(),i=[t+o,e+o];this._pxBounds=new B(this._point.subtract(i),this._point.add(i))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(t){return t.distanceTo(this._point)<=this._radius+this._clickTolerance()}}),Lo=Po.extend({initialize:function(t,o,i){if("number"==typeof o&&(o=e({},i,{radius:o})),d(this,o),this._latlng=j(t),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(t){return this._mRadius=t,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var t=[this._radius,this._radiusY||this._radius];return new O(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:ko.prototype.setStyle,_project:function(){var t=this._latlng.lng,e=this._latlng.lat,o=this._map,i=o.options.crs;if(i.distance===N.distance){var n=Math.PI/180,s=this._mRadius/N.R/n,a=o.project([e+s,t]),r=o.project([e-s,t]),h=a.add(r).divideBy(2),l=o.unproject(h).lat,p=Math.acos((Math.cos(s*n)-Math.sin(e*n)*Math.sin(l*n))/(Math.cos(e*n)*Math.cos(l*n)))/n;(isNaN(p)||0===p)&&(p=s/Math.cos(Math.PI/180*e)),this._point=h.subtract(o.getPixelOrigin()),this._radius=isNaN(p)?0:h.x-o.project([l,t-p]).x,this._radiusY=h.y-a.y}else{var c=i.unproject(i.project(this._latlng).subtract([this._mRadius,0]));this._point=o.latLngToLayerPoint(this._latlng),this._radius=this._point.x-o.latLngToLayerPoint(c).x}this._updateBounds()}}),To=ko.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,e){d(this,e),this._setLatLngs(t)},getLatLngs:function(){return this._latlngs},setLatLngs:function(t){return this._setLatLngs(t),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(t){for(var e,o,i=1/0,n=null,s=ao,a=0,r=this._parts.length;a<r;a++)for(var h=this._parts[a],l=1,p=h.length;l<p;l++){var c=s(t,e=h[l-1],o=h[l],!0);c<i&&(i=c,n=s(t,e,o))}return n&&(n.distance=Math.sqrt(i)),n},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return lo(this._defaultShape(),this._map.options.crs)},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=j(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new O,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return ro(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],o=ro(t),i=0,n=t.length;i<n;i++)o?(e[i]=j(t[i]),this._bounds.extend(e[i])):e[i]=this._convertLatLngs(t[i]);return e},_project:function(){var t=new B;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,t),this._bounds.isValid()&&t.isValid()&&(this._rawPxBounds=t,this._updateBounds())},_updateBounds:function(){var t=this._clickTolerance(),e=new S(t,t);this._rawPxBounds&&(this._pxBounds=new B([this._rawPxBounds.min.subtract(e),this._rawPxBounds.max.add(e)]))},_projectLatlngs:function(t,e,o){var i,n,s=t[0]instanceof R,a=t.length;if(s){for(n=[],i=0;i<a;i++)n[i]=this._map.latLngToLayerPoint(t[i]),o.extend(n[i]);e.push(n)}else for(i=0;i<a;i++)this._projectLatlngs(t[i],e,o)},_clipPoints:function(){var t=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else{var e,o,i,n,s,a,r,h=this._parts;for(e=0,i=0,n=this._rings.length;e<n;e++)for(o=0,s=(r=this._rings[e]).length;o<s-1;o++)(a=io(r[o],r[o+1],t,o,!0))&&(h[i]=h[i]||[],h[i].push(a[0]),a[1]===r[o+1]&&o!==s-2||(h[i].push(a[1]),i++))}},_simplifyPoints:function(){for(var t=this._parts,e=this.options.smoothFactor,o=0,i=t.length;o<i;o++)t[o]=eo(t[o],e)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(t,e){var o,i,n,s,a,r,h=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(o=0,s=this._parts.length;o<s;o++)for(i=0,n=(a=(r=this._parts[o]).length)-1;i<a;n=i++)if((e||0!==i)&&oo(t,r[n],r[i])<=h)return!0;return!1}});To._flat=ho;var Co=To.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return Je(this._defaultShape(),this._map.options.crs)},_convertLatLngs:function(t){var e=To.prototype._convertLatLngs.call(this,t),o=e.length;return o>=2&&e[0]instanceof R&&e[0].equals(e[o-1])&&e.pop(),e},_setLatLngs:function(t){To.prototype._setLatLngs.call(this,t),ro(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return ro(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,o=new S(e,e);if(t=new B(t.min.subtract(o),t.max.add(o)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var i,n=0,s=this._rings.length;n<s;n++)(i=Xe(this._rings[n],t,!0)).length&&this._parts.push(i)},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(t){var e,o,i,n,s,a,r,h,l=!1;if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(n=0,r=this._parts.length;n<r;n++)for(s=0,a=(h=(e=this._parts[n]).length)-1;s<h;a=s++)o=e[s],i=e[a],o.y>t.y!=i.y>t.y&&t.x<(i.x-o.x)*(t.y-o.y)/(i.y-o.y)+o.x&&(l=!l);return l||To.prototype._containsPoint.call(this,t,!0)}}),zo=go.extend({initialize:function(t,e){d(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,o,i,n=f(t)?t:t.features;if(n){for(e=0,o=n.length;e<o;e++)((i=n[e]).geometries||i.geometry||i.features||i.coordinates)&&this.addData(i);return this}var s=this.options;if(s.filter&&!s.filter(t))return this;var a=Mo(t,s);return a?(a.feature=Ao(t),a.defaultOptions=a.options,this.resetStyle(a),s.onEachFeature&&s.onEachFeature(t,a),this.addLayer(a)):this},resetStyle:function(t){return void 0===t?this.eachLayer(this.resetStyle,this):(t.options=e({},t.defaultOptions),this._setLayerStyle(t,this.options.style),this)},setStyle:function(t){return this.eachLayer((function(e){this._setLayerStyle(e,t)}),this)},_setLayerStyle:function(t,e){t.setStyle&&("function"==typeof e&&(e=e(t.feature)),t.setStyle(e))}});function Mo(t,e){var o,i,n,s,a="Feature"===t.type?t.geometry:t,r=a?a.coordinates:null,h=[],l=e&&e.pointToLayer,p=e&&e.coordsToLatLng||Eo;if(!r&&!a)return null;switch(a.type){case"Point":return So(l,t,o=p(r),e);case"MultiPoint":for(n=0,s=r.length;n<s;n++)o=p(r[n]),h.push(So(l,t,o,e));return new go(h);case"LineString":case"MultiLineString":return i=Zo(r,"LineString"===a.type?0:1,p),new To(i,e);case"Polygon":case"MultiPolygon":return i=Zo(r,"Polygon"===a.type?1:2,p),new Co(i,e);case"GeometryCollection":for(n=0,s=a.geometries.length;n<s;n++){var c=Mo({geometry:a.geometries[n],type:"Feature",properties:t.properties},e);c&&h.push(c)}return new go(h);case"FeatureCollection":for(n=0,s=a.features.length;n<s;n++){var d=Mo(a.features[n],e);d&&h.push(d)}return new go(h);default:throw new Error("Invalid GeoJSON object.")}}function So(t,e,o,i){return t?t(e,o):new xo(o,i&&i.markersInheritOptions&&i)}function Eo(t){return new R(t[1],t[0],t[2])}function Zo(t,e,o){for(var i,n=[],s=0,a=t.length;s<a;s++)i=e?Zo(t[s],e-1,o):(o||Eo)(t[s]),n.push(i);return n}function Bo(t,e){return void 0!==(t=j(t)).alt?[l(t.lng,e),l(t.lat,e),l(t.alt,e)]:[l(t.lng,e),l(t.lat,e)]}function Io(t,e,o,i){for(var n=[],s=0,a=t.length;s<a;s++)n.push(e?Io(t[s],ro(t[s])?0:e-1,o,i):Bo(t[s],i));return!e&&o&&n.length>0&&n.push(n[0].slice()),n}function Oo(t,o){return t.feature?e({},t.feature,{geometry:o}):Ao(o)}function Ao(t){return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}var Ro={toGeoJSON:function(t){return Oo(this,{type:"Point",coordinates:Bo(this.getLatLng(),t)})}};xo.include(Ro),Lo.include(Ro),Po.include(Ro),To.include({toGeoJSON:function(t){var e=!ro(this._latlngs);return Oo(this,{type:(e?"Multi":"")+"LineString",coordinates:Io(this._latlngs,e?1:0,!1,t)})}}),Co.include({toGeoJSON:function(t){var e=!ro(this._latlngs),o=e&&!ro(this._latlngs[0]),i=Io(this._latlngs,o?2:e?1:0,!0,t);return e||(i=[i]),Oo(this,{type:(o?"Multi":"")+"Polygon",coordinates:i})}}),vo.include({toMultiPoint:function(t){var e=[];return this.eachLayer((function(o){e.push(o.toGeoJSON(t).geometry.coordinates)})),Oo(this,{type:"MultiPoint",coordinates:e})},toGeoJSON:function(t){var e=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===e)return this.toMultiPoint(t);var o="GeometryCollection"===e,i=[];return this.eachLayer((function(e){if(e.toGeoJSON){var n=e.toGeoJSON(t);if(o)i.push(n.geometry);else{var s=Ao(n);"FeatureCollection"===s.type?i.push.apply(i,s.features):i.push(s)}}})),o?Oo(this,{geometries:i,type:"GeometryCollection"}):{type:"FeatureCollection",features:i}}});var jo=fo.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,e,o){this._url=t,this._bounds=A(e),d(this,o)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(re(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){oe(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&ne(this._image),this},bringToBack:function(){return this._map&&se(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=A(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t="IMG"===this._url.tagName,e=this._image=t?this._url:ee("img");re(e,"leaflet-image-layer"),this._zoomAnimated&&re(e,"leaflet-zoom-animated"),this.options.className&&re(e,this.options.className),e.onselectstart=h,e.onmousemove=h,e.onload=i(this.fire,this,"load"),e.onerror=i(this._overlayOnError,this,"error"),(this.options.crossOrigin||""===this.options.crossOrigin)&&(e.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t?this._url=e.src:(e.src=this._url,e.alt=this.options.alt)},_animateZoom:function(t){var e=this._map.getZoomScale(t.zoom),o=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;ue(this._image,o,e)},_reset:function(){var t=this._image,e=new B(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),o=e.getSize();_e(t,e.min),t.style.width=o.x+"px",t.style.height=o.y+"px"},_updateOpacity:function(){ce(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)},getCenter:function(){return this._bounds.getCenter()}}),$o=(jo.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var t="VIDEO"===this._url.tagName,e=this._image=t?this._url:ee("video");if(re(e,"leaflet-image-layer"),this._zoomAnimated&&re(e,"leaflet-zoom-animated"),this.options.className&&re(e,this.options.className),e.onselectstart=h,e.onmousemove=h,e.onloadeddata=i(this.fire,this,"load"),t){for(var o=e.getElementsByTagName("source"),n=[],s=0;s<o.length;s++)n.push(o[s].src);this._url=o.length>0?n:[e.src]}else{f(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(e.style,"objectFit")&&(e.style.objectFit="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop,e.muted=!!this.options.muted,e.playsInline=!!this.options.playsInline;for(var a=0;a<this._url.length;a++){var r=ee("source");r.src=this._url[a],e.appendChild(r)}}}}),jo.extend({_initImage:function(){var t=this._image=this._url;re(t,"leaflet-image-layer"),this._zoomAnimated&&re(t,"leaflet-zoom-animated"),this.options.className&&re(t,this.options.className),t.onselectstart=h,t.onmousemove=h}}),fo.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0,content:""},initialize:function(t,e){t&&(t instanceof R||f(t))?(this._latlng=j(t),d(this,e)):(d(this,t),this._source=e),this.options.content&&(this._content=this.options.content)},openOn:function(t){return(t=arguments.length?t:this._source._map).hasLayer(this)||t.addLayer(this),this},close:function(){return this._map&&this._map.removeLayer(this),this},toggle:function(t){return this._map?this.close():(arguments.length?this._source=t:t=this._source,this._prepareOpen(),this.openOn(t._map)),this},onAdd:function(t){this._zoomAnimated=t._zoomAnimated,this._container||this._initLayout(),t._fadeAnimated&&ce(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&ce(this._container,1),this.bringToFront(),this.options.interactive&&(re(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(t){t._fadeAnimated?(ce(this._container,0),this._removeTimeout=setTimeout(i(oe,void 0,this._container),200)):oe(this._container),this.options.interactive&&(he(this._container,"leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=j(t),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(t){return this._content=t,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var t={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&ne(this._container),this},bringToBack:function(){return this._map&&se(this._container),this},_prepareOpen:function(t){var e=this._source;if(!e._map)return!1;if(e instanceof go){e=null;var o=this._source._layers;for(var i in o)if(o[i]._map){e=o[i];break}if(!e)return!1;this._source=e}if(!t)if(e.getCenter)t=e.getCenter();else if(e.getLatLng)t=e.getLatLng();else{if(!e.getBounds)throw new Error("Unable to get source layer LatLng.");t=e.getBounds().getCenter()}return this.setLatLng(t),this._map&&this.update(),!0},_updateContent:function(){if(this._content){var t=this._contentNode,e="function"==typeof this._content?this._content(this._source||this):this._content;if("string"==typeof e)t.innerHTML=e;else{for(;t.hasChildNodes();)t.removeChild(t.firstChild);t.appendChild(e)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var t=this._map.latLngToLayerPoint(this._latlng),e=Z(this.options.offset),o=this._getAnchor();this._zoomAnimated?_e(this._container,t.add(o)):e=e.add(t).add(o);var i=this._containerBottom=-e.y,n=this._containerLeft=-Math.round(this._containerWidth/2)+e.x;this._container.style.bottom=i+"px",this._container.style.left=n+"px"}},_getAnchor:function(){return[0,0]}}));Ne.include({_initOverlay:function(t,e,o,i){var n=e;return n instanceof t||(n=new t(i).setContent(e)),o&&n.setLatLng(o),n}}),fo.include({_initOverlay:function(t,e,o,i){var n=o;return n instanceof t?(d(n,i),n._source=this):(n=e&&!i?e:new t(i,this)).setContent(o),n}});var Do=$o.extend({options:{pane:"popupPane",offset:[0,7],maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(t){return!(t=arguments.length?t:this._source._map).hasLayer(this)&&t._popup&&t._popup.options.autoClose&&t.removeLayer(t._popup),t._popup=this,$o.prototype.openOn.call(this,t)},onAdd:function(t){$o.prototype.onAdd.call(this,t),t.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof ko||this._source.on("preclick",Se))},onRemove:function(t){$o.prototype.onRemove.call(this,t),t.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof ko||this._source.off("preclick",Se))},getEvents:function(){var t=$o.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(t.preclick=this.close),this.options.keepInView&&(t.moveend=this._adjustPan),t},_initLayout:function(){var t="leaflet-popup",e=this._container=ee("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated"),o=this._wrapper=ee("div",t+"-content-wrapper",e);if(this._contentNode=ee("div",t+"-content",o),Ze(e),Ee(this._contentNode),ke(e,"contextmenu",Se),this._tipContainer=ee("div",t+"-tip-container",e),this._tip=ee("div",t+"-tip",this._tipContainer),this.options.closeButton){var i=this._closeButton=ee("a",t+"-close-button",e);i.setAttribute("role","button"),i.setAttribute("aria-label","Close popup"),i.href="#close",i.innerHTML='<span aria-hidden="true">&#215;</span>',ke(i,"click",(function(t){Be(t),this.close()}),this)}},_updateLayout:function(){var t=this._contentNode,e=t.style;e.width="",e.whiteSpace="nowrap";var o=t.offsetWidth;o=Math.min(o,this.options.maxWidth),o=Math.max(o,this.options.minWidth),e.width=o+1+"px",e.whiteSpace="",e.height="";var i=t.offsetHeight,n=this.options.maxHeight;n&&i>n?(e.height=n+"px",re(t,"leaflet-popup-scrolled")):he(t,"leaflet-popup-scrolled"),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),o=this._getAnchor();_e(this._container,e.add(o))},_adjustPan:function(){if(this.options.autoPan)if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning)this._autopanning=!1;else{var t=this._map,e=parseInt(te(this._container,"marginBottom"),10)||0,o=this._container.offsetHeight+e,i=this._containerWidth,n=new S(this._containerLeft,-o-this._containerBottom);n._add(me(this._container));var s=t.layerPointToContainerPoint(n),a=Z(this.options.autoPanPadding),r=Z(this.options.autoPanPaddingTopLeft||a),h=Z(this.options.autoPanPaddingBottomRight||a),l=t.getSize(),p=0,c=0;s.x+i+h.x>l.x&&(p=s.x+i-l.x+h.x),s.x-p-r.x<0&&(p=s.x-r.x),s.y+o+h.y>l.y&&(c=s.y+o-l.y+h.y),s.y-c-r.y<0&&(c=s.y-r.y),(p||c)&&(this.options.keepInView&&(this._autopanning=!0),t.fire("autopanstart").panBy([p,c]))}},_getAnchor:function(){return Z(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}});Ne.mergeOptions({closePopupOnClick:!0}),Ne.include({openPopup:function(t,e,o){return this._initOverlay(Do,t,e,o).openOn(this),this},closePopup:function(t){return(t=arguments.length?t:this._popup)&&t.close(),this}}),fo.include({bindPopup:function(t,e){return this._popup=this._initOverlay(Do,this._popup,t,e),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t){return this._popup&&(this instanceof go||(this._popup._source=this),this._popup._prepareOpen(t||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){if(this._popup&&this._map){Ie(t);var e=t.layer||t.target;this._popup._source!==e||e instanceof ko?(this._popup._source=e,this.openPopup(t.latlng)):this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(t.latlng)}},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var No=$o.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(t){$o.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(t){$o.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var t=$o.prototype.getEvents.call(this);return this.options.permanent||(t.preclick=this.close),t},_initLayout:function(){var t="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=ee("div",t),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+s(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e,o,i=this._map,n=this._container,s=i.latLngToContainerPoint(i.getCenter()),a=i.layerPointToContainerPoint(t),r=this.options.direction,h=n.offsetWidth,l=n.offsetHeight,p=Z(this.options.offset),c=this._getAnchor();"top"===r?(e=h/2,o=l):"bottom"===r?(e=h/2,o=0):"center"===r?(e=h/2,o=l/2):"right"===r?(e=0,o=l/2):"left"===r?(e=h,o=l/2):a.x<s.x?(r="right",e=0,o=l/2):(r="left",e=h+2*(p.x+c.x),o=l/2),t=t.subtract(Z(e,o,!0)).add(p).add(c),he(n,"leaflet-tooltip-right"),he(n,"leaflet-tooltip-left"),he(n,"leaflet-tooltip-top"),he(n,"leaflet-tooltip-bottom"),re(n,"leaflet-tooltip-"+r),_e(n,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&ce(this._container,t)},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);this._setPosition(e)},_getAnchor:function(){return Z(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}});Ne.include({openTooltip:function(t,e,o){return this._initOverlay(No,t,e,o).openOn(this),this},closeTooltip:function(t){return t.close(),this}}),fo.include({bindTooltip:function(t,e){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(No,this._tooltip,t,e),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(t){if(t||!this._tooltipHandlersAdded){var e=t?"off":"on",o={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?o.add=this._openTooltip:(o.mouseover=this._openTooltip,o.mouseout=this.closeTooltip,o.click=this._openTooltip,this._map?this._addFocusListeners():o.add=this._addFocusListeners),this._tooltip.options.sticky&&(o.mousemove=this._moveTooltip),this[e](o),this._tooltipHandlersAdded=!t}},openTooltip:function(t){return this._tooltip&&(this instanceof go||(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},closeTooltip:function(){if(this._tooltip)return this._tooltip.close()},toggleTooltip:function(){return this._tooltip&&this._tooltip.toggle(this),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(t){return this._tooltip&&this._tooltip.setContent(t),this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){this.getElement?this._addFocusListenersOnLayer(this):this.eachLayer&&this.eachLayer(this._addFocusListenersOnLayer,this)},_addFocusListenersOnLayer:function(t){var e="function"==typeof t.getElement&&t.getElement();e&&(ke(e,"focus",(function(){this._tooltip._source=t,this.openTooltip()}),this),ke(e,"blur",this.closeTooltip,this))},_setAriaDescribedByOnLayer:function(t){var e="function"==typeof t.getElement&&t.getElement();e&&e.setAttribute("aria-describedby",this._tooltip._container.id)},_openTooltip:function(t){if(this._tooltip&&this._map)if(this._map.dragging&&this._map.dragging.moving()&&!this._openOnceFlag){this._openOnceFlag=!0;var e=this;this._map.once("moveend",(function(){e._openOnceFlag=!1,e._openTooltip(t)}))}else this._tooltip._source=t.layer||t.target,this.openTooltip(this._tooltip.options.sticky?t.latlng:void 0)},_moveTooltip:function(t){var e,o,i=t.latlng;this._tooltip.options.sticky&&t.originalEvent&&(e=this._map.mouseEventToContainerPoint(t.originalEvent),o=this._map.containerPointToLayerPoint(e),i=this._map.layerPointToLatLng(o)),this._tooltip.setLatLng(i)}});var Fo=yo.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(t){var e=t&&"DIV"===t.tagName?t:document.createElement("div"),o=this.options;if(o.html instanceof Element?(ie(e),e.appendChild(o.html)):e.innerHTML=!1!==o.html?o.html:"",o.bgPos){var i=Z(o.bgPos);e.style.backgroundPosition=-i.x+"px "+-i.y+"px"}return this._setIconStyles(e,"icon"),e},createShadow:function(){return null}});yo.Default=wo;var Ho=fo.extend({options:{tileSize:256,opacity:1,updateWhenIdle:Zt.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(t){d(this,t)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles(),oe(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(ne(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(se(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(t){return this.options.opacity=t,this._updateOpacity(),this},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){if(this._map){this._removeAllTiles();var t=this._clampZoom(this._map.getZoom());t!==this._tileZoom&&(this._tileZoom=t,this._updateLevels()),this._update()}return this},getEvents:function(){var t={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=a(this._onMoveEnd,this.options.updateInterval,this)),t.move=this._onMove),this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},createTile:function(){return document.createElement("div")},getTileSize:function(){var t=this.options.tileSize;return t instanceof S?t:new S(t,t)},_updateZIndex:function(){this._container&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t){for(var e,o=this.getPane().children,i=-t(-1/0,1/0),n=0,s=o.length;n<s;n++)e=o[n].style.zIndex,o[n]!==this._container&&e&&(i=t(i,+e));isFinite(i)&&(this.options.zIndex=i+t(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!Zt.ielt9){ce(this._container,this.options.opacity);var t=+new Date,e=!1,o=!1;for(var i in this._tiles){var n=this._tiles[i];if(n.current&&n.loaded){var s=Math.min(1,(t-n.loaded)/200);ce(n.el,s),s<1?e=!0:(n.active?o=!0:this._onOpaqueTile(n),n.active=!0)}}o&&!this._noPrune&&this._pruneTiles(),e&&(T(this._fadeFrame),this._fadeFrame=P(this._updateOpacity,this))}},_onOpaqueTile:h,_initContainer:function(){this._container||(this._container=ee("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var t=this._tileZoom,e=this.options.maxZoom;if(void 0!==t){for(var o in this._levels)o=Number(o),this._levels[o].el.children.length||o===t?(this._levels[o].el.style.zIndex=e-Math.abs(t-o),this._onUpdateLevel(o)):(oe(this._levels[o].el),this._removeTilesAtZoom(o),this._onRemoveLevel(o),delete this._levels[o]);var i=this._levels[t],n=this._map;return i||((i=this._levels[t]={}).el=ee("div","leaflet-tile-container leaflet-zoom-animated",this._container),i.el.style.zIndex=e,i.origin=n.project(n.unproject(n.getPixelOrigin()),t).round(),i.zoom=t,this._setZoomTransform(i,n.getCenter(),n.getZoom()),i.el.offsetWidth,this._onCreateLevel(i)),this._level=i,i}},_onUpdateLevel:h,_onRemoveLevel:h,_onCreateLevel:h,_pruneTiles:function(){if(this._map){var t,e,o=this._map.getZoom();if(o>this.options.maxZoom||o<this.options.minZoom)this._removeAllTiles();else{for(t in this._tiles)(e=this._tiles[t]).retain=e.current;for(t in this._tiles)if((e=this._tiles[t]).current&&!e.active){var i=e.coords;this._retainParent(i.x,i.y,i.z,i.z-5)||this._retainChildren(i.x,i.y,i.z,i.z+2)}for(t in this._tiles)this._tiles[t].retain||this._removeTile(t)}}},_removeTilesAtZoom:function(t){for(var e in this._tiles)this._tiles[e].coords.z===t&&this._removeTile(e)},_removeAllTiles:function(){for(var t in this._tiles)this._removeTile(t)},_invalidateAll:function(){for(var t in this._levels)oe(this._levels[t].el),this._onRemoveLevel(Number(t)),delete this._levels[t];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(t,e,o,i){var n=Math.floor(t/2),s=Math.floor(e/2),a=o-1,r=new S(+n,+s);r.z=+a;var h=this._tileCoordsToKey(r),l=this._tiles[h];return l&&l.active?(l.retain=!0,!0):(l&&l.loaded&&(l.retain=!0),a>i&&this._retainParent(n,s,a,i))},_retainChildren:function(t,e,o,i){for(var n=2*t;n<2*t+2;n++)for(var s=2*e;s<2*e+2;s++){var a=new S(n,s);a.z=o+1;var r=this._tileCoordsToKey(a),h=this._tiles[r];h&&h.active?h.retain=!0:(h&&h.loaded&&(h.retain=!0),o+1<i&&this._retainChildren(n,s,o+1,i))}},_resetView:function(t){var e=t&&(t.pinch||t.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),e,e)},_animateZoom:function(t){this._setView(t.center,t.zoom,!0,t.noUpdate)},_clampZoom:function(t){var e=this.options;return void 0!==e.minNativeZoom&&t<e.minNativeZoom?e.minNativeZoom:void 0!==e.maxNativeZoom&&e.maxNativeZoom<t?e.maxNativeZoom:t},_setView:function(t,e,o,i){var n=Math.round(e);n=void 0!==this.options.maxZoom&&n>this.options.maxZoom||void 0!==this.options.minZoom&&n<this.options.minZoom?void 0:this._clampZoom(n);var s=this.options.updateWhenZooming&&n!==this._tileZoom;i&&!s||(this._tileZoom=n,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==n&&this._update(t),o||this._pruneTiles(),this._noPrune=!!o),this._setZoomTransforms(t,e)},_setZoomTransforms:function(t,e){for(var o in this._levels)this._setZoomTransform(this._levels[o],t,e)},_setZoomTransform:function(t,e,o){var i=this._map.getZoomScale(o,t.zoom),n=t.origin.multiplyBy(i).subtract(this._map._getNewPixelOrigin(e,o)).round();Zt.any3d?ue(t.el,n,i):_e(t.el,n)},_resetGrid:function(){var t=this._map,e=t.options.crs,o=this._tileSize=this.getTileSize(),i=this._tileZoom,n=this._map.getPixelWorldBounds(this._tileZoom);n&&(this._globalTileRange=this._pxBoundsToTileRange(n)),this._wrapX=e.wrapLng&&!this.options.noWrap&&[Math.floor(t.project([0,e.wrapLng[0]],i).x/o.x),Math.ceil(t.project([0,e.wrapLng[1]],i).x/o.y)],this._wrapY=e.wrapLat&&!this.options.noWrap&&[Math.floor(t.project([e.wrapLat[0],0],i).y/o.x),Math.ceil(t.project([e.wrapLat[1],0],i).y/o.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(t){var e=this._map,o=e._animatingZoom?Math.max(e._animateToZoom,e.getZoom()):e.getZoom(),i=e.getZoomScale(o,this._tileZoom),n=e.project(t,this._tileZoom).floor(),s=e.getSize().divideBy(2*i);return new B(n.subtract(s),n.add(s))},_update:function(t){var e=this._map;if(e){var o=this._clampZoom(e.getZoom());if(void 0===t&&(t=e.getCenter()),void 0!==this._tileZoom){var i=this._getTiledPixelBounds(t),n=this._pxBoundsToTileRange(i),s=n.getCenter(),a=[],r=this.options.keepBuffer,h=new B(n.getBottomLeft().subtract([r,-r]),n.getTopRight().add([r,-r]));if(!(isFinite(n.min.x)&&isFinite(n.min.y)&&isFinite(n.max.x)&&isFinite(n.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var l in this._tiles){var p=this._tiles[l].coords;p.z===this._tileZoom&&h.contains(new S(p.x,p.y))||(this._tiles[l].current=!1)}if(Math.abs(o-this._tileZoom)>1)this._setView(t,o);else{for(var c=n.min.y;c<=n.max.y;c++)for(var d=n.min.x;d<=n.max.x;d++){var u=new S(d,c);if(u.z=this._tileZoom,this._isValidTile(u)){var _=this._tiles[this._tileCoordsToKey(u)];_?_.current=!0:a.push(u)}}if(a.sort((function(t,e){return t.distanceTo(s)-e.distanceTo(s)})),0!==a.length){this._loading||(this._loading=!0,this.fire("loading"));var m=document.createDocumentFragment();for(d=0;d<a.length;d++)this._addTile(a[d],m);this._level.el.appendChild(m)}}}}},_isValidTile:function(t){var e=this._map.options.crs;if(!e.infinite){var o=this._globalTileRange;if(!e.wrapLng&&(t.x<o.min.x||t.x>o.max.x)||!e.wrapLat&&(t.y<o.min.y||t.y>o.max.y))return!1}if(!this.options.bounds)return!0;var i=this._tileCoordsToBounds(t);return A(this.options.bounds).overlaps(i)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,o=this.getTileSize(),i=t.scaleBy(o),n=i.add(o);return[e.unproject(i,t.z),e.unproject(n,t.z)]},_tileCoordsToBounds:function(t){var e=this._tileCoordsToNwSe(t),o=new O(e[0],e[1]);return this.options.noWrap||(o=this._map.wrapLatLngBounds(o)),o},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=t.split(":"),o=new S(+e[0],+e[1]);return o.z=+e[2],o},_removeTile:function(t){var e=this._tiles[t];e&&(oe(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){re(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=h,t.onmousemove=h,Zt.ielt9&&this.options.opacity<1&&ce(t,this.options.opacity)},_addTile:function(t,e){var o=this._getTilePos(t),n=this._tileCoordsToKey(t),s=this.createTile(this._wrapCoords(t),i(this._tileReady,this,t));this._initTile(s),this.createTile.length<2&&P(i(this._tileReady,this,t,null,s)),_e(s,o),this._tiles[n]={el:s,coords:t,current:!0},e.appendChild(s),this.fire("tileloadstart",{tile:s,coords:t})},_tileReady:function(t,e,o){e&&this.fire("tileerror",{error:e,tile:o,coords:t});var n=this._tileCoordsToKey(t);(o=this._tiles[n])&&(o.loaded=+new Date,this._map._fadeAnimated?(ce(o.el,0),T(this._fadeFrame),this._fadeFrame=P(this._updateOpacity,this)):(o.active=!0,this._pruneTiles()),e||(re(o.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:o.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),Zt.ielt9||!this._map._fadeAnimated?P(this._pruneTiles,this):setTimeout(i(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new S(this._wrapX?r(t.x,this._wrapX):t.x,this._wrapY?r(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new B(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}}),Wo=Ho.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(t,e){this._url=t,(e=d(this,e)).detectRetina&&Zt.retina&&e.maxZoom>0?(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom=Math.min(e.maxZoom,e.minZoom+1)):(e.zoomOffset++,e.maxZoom=Math.max(e.minZoom,e.maxZoom-1)),e.minZoom=Math.max(0,e.minZoom)):e.zoomReverse?e.minZoom=Math.min(e.maxZoom,e.minZoom):e.maxZoom=Math.max(e.minZoom,e.maxZoom),"string"==typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url===t&&void 0===e&&(e=!0),this._url=t,e||this.redraw(),this},createTile:function(t,e){var o=document.createElement("img");return ke(o,"load",i(this._tileOnLoad,this,e,o)),ke(o,"error",i(this._tileOnError,this,e,o)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(o.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),"string"==typeof this.options.referrerPolicy&&(o.referrerPolicy=this.options.referrerPolicy),o.alt="",o.src=this.getTileUrl(t),o},getTileUrl:function(t){var o={r:Zt.retina?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var i=this._globalTileRange.max.y-t.y;this.options.tms&&(o.y=i),o["-y"]=i}return m(this._url,e(o,this.options))},_tileOnLoad:function(t,e){Zt.ielt9?setTimeout(i(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,o){var i=this.options.errorTileUrl;i&&e.getAttribute("src")!==i&&(e.src=i),t(o,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom;return this.options.zoomReverse&&(t=e-t),t+this.options.zoomOffset},_getSubdomain:function(t){var e=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[e]},_abortLoading:function(){var t,e;for(t in this._tiles)if(this._tiles[t].coords.z!==this._tileZoom&&((e=this._tiles[t].el).onload=h,e.onerror=h,!e.complete)){e.src=g;var o=this._tiles[t].coords;oe(e),delete this._tiles[t],this.fire("tileabort",{tile:e,coords:o})}},_removeTile:function(t){var e=this._tiles[t];if(e)return e.el.setAttribute("src",g),Ho.prototype._removeTile.call(this,t)},_tileReady:function(t,e,o){if(this._map&&(!o||o.getAttribute("src")!==g))return Ho.prototype._tileReady.call(this,t,e,o)}});function Uo(t,e){return new Wo(t,e)}var qo=Wo.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,o){this._url=t;var i=e({},this.defaultWmsParams);for(var n in o)n in this.options||(i[n]=o[n]);var s=(o=d(this,o)).detectRetina&&Zt.retina?2:1,a=this.getTileSize();i.width=a.x*s,i.height=a.y*s,this.wmsParams=i},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[e]=this._crs.code,Wo.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),o=this._crs,i=I(o.project(e[0]),o.project(e[1])),n=i.min,s=i.max,a=(this._wmsVersion>=1.3&&this._crs===_o?[n.y,n.x,s.y,s.x]:[n.x,n.y,s.x,s.y]).join(","),r=Wo.prototype.getTileUrl.call(this,t);return r+u(this.wmsParams,r,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+a},setParams:function(t,o){return e(this.wmsParams,t),o||this.redraw(),this}});Wo.WMS=qo,Uo.wms=function(t,e){return new qo(t,e)};var Vo=fo.extend({options:{padding:.1},initialize:function(t){d(this,t),s(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),re(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var o=this._map.getZoomScale(e,this._zoom),i=this._map.getSize().multiplyBy(.5+this.options.padding),n=this._map.project(this._center,e),s=i.multiplyBy(-o).add(n).subtract(this._map._getNewPixelOrigin(t,e));Zt.any3d?ue(this._container,s,o):_e(this._container,s)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),o=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new B(o,o.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Go=Vo.extend({options:{tolerance:0},getEvents:function(){var t=Vo.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Vo.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");ke(t,"mousemove",this._onMouseMove,this),ke(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),ke(t,"mouseout",this._handleMouseOut,this),t._leaflet_disable_events=!0,this._ctx=t.getContext("2d")},_destroyContainer:function(){T(this._redrawRequest),delete this._ctx,oe(this._container),Le(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var t in this._redrawBounds=null,this._layers)this._layers[t]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){Vo.prototype._update.call(this);var t=this._bounds,e=this._container,o=t.getSize(),i=Zt.retina?2:1;_e(e,t.min),e.width=i*o.x,e.height=i*o.y,e.style.width=o.x+"px",e.style.height=o.y+"px",Zt.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){Vo.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[s(t)]=t;var e=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=e),this._drawLast=e,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,o=e.next,i=e.prev;o?o.prev=i:this._drawLast=i,i?i.next=o:this._drawFirst=o,delete t._order,delete this._layers[s(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"==typeof t.options.dashArray){var e,o,i=t.options.dashArray.split(/[, ]+/),n=[];for(o=0;o<i.length;o++){if(e=Number(i[o]),isNaN(e))return;n.push(e)}t.options._dashArray=n}else t.options._dashArray=t.options.dashArray},_requestRedraw:function(t){this._map&&(this._extendRedrawBounds(t),this._redrawRequest=this._redrawRequest||P(this._redraw,this))},_extendRedrawBounds:function(t){if(t._pxBounds){var e=(t.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new B,this._redrawBounds.extend(t._pxBounds.min.subtract([e,e])),this._redrawBounds.extend(t._pxBounds.max.add([e,e]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var t=this._redrawBounds;if(t){var e=t.getSize();this._ctx.clearRect(t.min.x,t.min.y,e.x,e.y)}else this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore()},_draw:function(){var t,e=this._redrawBounds;if(this._ctx.save(),e){var o=e.getSize();this._ctx.beginPath(),this._ctx.rect(e.min.x,e.min.y,o.x,o.y),this._ctx.clip()}this._drawing=!0;for(var i=this._drawFirst;i;i=i.next)t=i.layer,(!e||t._pxBounds&&t._pxBounds.intersects(e))&&t._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(t,e){if(this._drawing){var o,i,n,s,a=t._parts,r=a.length,h=this._ctx;if(r){for(h.beginPath(),o=0;o<r;o++){for(i=0,n=a[o].length;i<n;i++)s=a[o][i],h[i?"lineTo":"moveTo"](s.x,s.y);e&&h.closePath()}this._fillStroke(h,t)}}},_updateCircle:function(t){if(this._drawing&&!t._empty()){var e=t._point,o=this._ctx,i=Math.max(Math.round(t._radius),1),n=(Math.max(Math.round(t._radiusY),1)||i)/i;1!==n&&(o.save(),o.scale(1,n)),o.beginPath(),o.arc(e.x,e.y/n,i,0,2*Math.PI,!1),1!==n&&o.restore(),this._fillStroke(o,t)}},_fillStroke:function(t,e){var o=e.options;o.fill&&(t.globalAlpha=o.fillOpacity,t.fillStyle=o.fillColor||o.color,t.fill(o.fillRule||"evenodd")),o.stroke&&0!==o.weight&&(t.setLineDash&&t.setLineDash(e.options&&e.options._dashArray||[]),t.globalAlpha=o.opacity,t.lineWidth=o.weight,t.strokeStyle=o.color,t.lineCap=o.lineCap,t.lineJoin=o.lineJoin,t.stroke())},_onClick:function(t){for(var e,o,i=this._map.mouseEventToLayerPoint(t),n=this._drawFirst;n;n=n.next)(e=n.layer).options.interactive&&e._containsPoint(i)&&("click"!==t.type&&"preclick"!==t.type||!this._map._draggableMoved(e))&&(o=e);this._fireEvent(!!o&&[o],t)},_onMouseMove:function(t){if(this._map&&!this._map.dragging.moving()&&!this._map._animatingZoom){var e=this._map.mouseEventToLayerPoint(t);this._handleMouseHover(t,e)}},_handleMouseOut:function(t){var e=this._hoveredLayer;e&&(he(this._container,"leaflet-interactive"),this._fireEvent([e],t,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(t,e){if(!this._mouseHoverThrottled){for(var o,n,s=this._drawFirst;s;s=s.next)(o=s.layer).options.interactive&&o._containsPoint(e)&&(n=o);n!==this._hoveredLayer&&(this._handleMouseOut(t),n&&(re(this._container,"leaflet-interactive"),this._fireEvent([n],t,"mouseover"),this._hoveredLayer=n)),this._fireEvent(!!this._hoveredLayer&&[this._hoveredLayer],t),this._mouseHoverThrottled=!0,setTimeout(i((function(){this._mouseHoverThrottled=!1}),this),32)}},_fireEvent:function(t,e,o){this._map._fireDOMEvent(e,o||e.type,t)},_bringToFront:function(t){var e=t._order;if(e){var o=e.next,i=e.prev;o&&(o.prev=i,i?i.next=o:o&&(this._drawFirst=o),e.prev=this._drawLast,this._drawLast.next=e,e.next=null,this._drawLast=e,this._requestRedraw(t))}},_bringToBack:function(t){var e=t._order;if(e){var o=e.next,i=e.prev;i&&(i.next=o,o?o.prev=i:i&&(this._drawLast=i),e.prev=null,e.next=this._drawFirst,this._drawFirst.prev=e,this._drawFirst=e,this._requestRedraw(t))}}});function Ko(t){return Zt.canvas?new Go(t):null}var Yo=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(t){return document.createElement("<lvml:"+t+' class="lvml">')}}catch(t){}return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),Xo={_initContainer:function(){this._container=ee("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Vo.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=Yo("shape");re(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=Yo("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[s(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;oe(e),t.removeInteractiveTarget(e),delete this._layers[s(t)]},_updateStyle:function(t){var e=t._stroke,o=t._fill,i=t.options,n=t._container;n.stroked=!!i.stroke,n.filled=!!i.fill,i.stroke?(e||(e=t._stroke=Yo("stroke")),n.appendChild(e),e.weight=i.weight+"px",e.color=i.color,e.opacity=i.opacity,i.dashArray?e.dashStyle=f(i.dashArray)?i.dashArray.join(" "):i.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=i.lineCap.replace("butt","flat"),e.joinstyle=i.lineJoin):e&&(n.removeChild(e),t._stroke=null),i.fill?(o||(o=t._fill=Yo("fill")),n.appendChild(o),o.color=i.fillColor||i.color,o.opacity=i.fillOpacity):o&&(n.removeChild(o),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),o=Math.round(t._radius),i=Math.round(t._radiusY||o);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+o+","+i+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){ne(t._container)},_bringToBack:function(t){se(t._container)}},Jo=Zt.vml?Yo:G,Qo=Vo.extend({_initContainer:function(){this._container=Jo("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Jo("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){oe(this._container),Le(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!this._map._animatingZoom||!this._bounds){Vo.prototype._update.call(this);var t=this._bounds,e=t.getSize(),o=this._container;this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,o.setAttribute("width",e.x),o.setAttribute("height",e.y)),_e(o,t.min),o.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update")}},_initPath:function(t){var e=t._path=Jo("path");t.options.className&&re(e,t.options.className),t.options.interactive&&re(e,"leaflet-interactive"),this._updateStyle(t),this._layers[s(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){oe(t._path),t.removeInteractiveTarget(t._path),delete this._layers[s(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,o=t.options;e&&(o.stroke?(e.setAttribute("stroke",o.color),e.setAttribute("stroke-opacity",o.opacity),e.setAttribute("stroke-width",o.weight),e.setAttribute("stroke-linecap",o.lineCap),e.setAttribute("stroke-linejoin",o.lineJoin),o.dashArray?e.setAttribute("stroke-dasharray",o.dashArray):e.removeAttribute("stroke-dasharray"),o.dashOffset?e.setAttribute("stroke-dashoffset",o.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),o.fill?(e.setAttribute("fill",o.fillColor||o.color),e.setAttribute("fill-opacity",o.fillOpacity),e.setAttribute("fill-rule",o.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,K(t._parts,e))},_updateCircle:function(t){var e=t._point,o=Math.max(Math.round(t._radius),1),i="a"+o+","+(Math.max(Math.round(t._radiusY),1)||o)+" 0 1,0 ",n=t._empty()?"M0 0":"M"+(e.x-o)+","+e.y+i+2*o+",0 "+i+2*-o+",0 ";this._setPath(t,n)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){ne(t._path)},_bringToBack:function(t){se(t._path)}});function ti(t){return Zt.svg||Zt.vml?new Qo(t):null}Zt.vml&&Qo.include(Xo),Ne.include({getRenderer:function(t){var e=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return e||(e=this._renderer=this._createRenderer()),this.hasLayer(e)||this.addLayer(e),e},_getPaneRenderer:function(t){if("overlayPane"===t||void 0===t)return!1;var e=this._paneRenderers[t];return void 0===e&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e},_createRenderer:function(t){return this.options.preferCanvas&&Ko(t)||ti(t)}});Co.extend({initialize:function(t,e){Co.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return[(t=A(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});Qo.create=Jo,Qo.pointsToPath=K,zo.geometryToLayer=Mo,zo.coordsToLatLng=Eo,zo.coordsToLatLngs=Zo,zo.latLngToCoords=Bo,zo.latLngsToCoords=Io,zo.getFeature=Oo,zo.asFeature=Ao,Ne.mergeOptions({boxZoom:!0});var ei=Ge.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){ke(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Le(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){oe(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),Ut(),ve(),this._startPoint=this._map.mouseEventToContainerPoint(t),ke(document,{contextmenu:Ie,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=ee("div","leaflet-zoom-box",this._container),re(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new B(this._point,this._startPoint),o=e.getSize();_e(this._box,e.min),this._box.style.width=o.x+"px",this._box.style.height=o.y+"px"},_finish:function(){this._moved&&(oe(this._box),he(this._container,"leaflet-crosshair")),qt(),ge(),Le(document,{contextmenu:Ie,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(i(this._resetState,this),0);var e=new O(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(e).fire("boxzoomend",{boxZoomBounds:e})}},_onKeyDown:function(t){27===t.keyCode&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});Ne.addInitHook("addHandler","boxZoom",ei),Ne.mergeOptions({doubleClickZoom:!0});var oi=Ge.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,o=e.getZoom(),i=e.options.zoomDelta,n=t.originalEvent.shiftKey?o-i:o+i;"center"===e.options.doubleClickZoom?e.setZoom(n):e.setZoomAround(t.containerPoint,n)}});Ne.addInitHook("addHandler","doubleClickZoom",oi),Ne.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var ii=Ge.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new Ye(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}re(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){he(this._map._container,"leaflet-grab"),he(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var e=A(this._map.options.maxBounds);this._offsetLimit=I(this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var e=this._lastTime=+new Date,o=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(o),this._times.push(e),this._prunePositions(e)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;this._positions.length>1&&t-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit;t.x<e.min.x&&(t.x=this._viscousLimit(t.x,e.min.x)),t.y<e.min.y&&(t.y=this._viscousLimit(t.y,e.min.y)),t.x>e.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),o=this._initialWorldOffset,i=this._draggable._newPos.x,n=(i-e+o)%t+e-o,s=(i+e+o)%t-e-o,a=Math.abs(n+o)<Math.abs(s+o)?n:s;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=a},_onDragEnd:function(t){var e=this._map,o=e.options,i=!o.inertia||t.noInertia||this._times.length<2;if(e.fire("dragend",t),i)e.fire("moveend");else{this._prunePositions(+new Date);var n=this._lastPos.subtract(this._positions[0]),s=(this._lastTime-this._times[0])/1e3,a=o.easeLinearity,r=n.multiplyBy(a/s),h=r.distanceTo([0,0]),l=Math.min(o.inertiaMaxSpeed,h),p=r.multiplyBy(l/h),c=l/(o.inertiaDeceleration*a),d=p.multiplyBy(-c/2).round();d.x||d.y?(d=e._limitOffset(d,e.options.maxBounds),P((function(){e.panBy(d,{duration:c,easeLinearity:a,noMoveStart:!0,animate:!0})}))):e.fire("moveend")}}});Ne.addInitHook("addHandler","dragging",ii),Ne.mergeOptions({keyboard:!0,keyboardPanDelta:80});var ni=Ge.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(t){this._map=t,this._setPanDelta(t.options.keyboardPanDelta),this._setZoomDelta(t.options.zoomDelta)},addHooks:function(){var t=this._map._container;t.tabIndex<=0&&(t.tabIndex="0"),ke(t,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),Le(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var t=document.body,e=document.documentElement,o=t.scrollTop||e.scrollTop,i=t.scrollLeft||e.scrollLeft;this._map._container.focus(),window.scrollTo(i,o)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(t){var e,o,i=this._panKeys={},n=this.keyCodes;for(e=0,o=n.left.length;e<o;e++)i[n.left[e]]=[-1*t,0];for(e=0,o=n.right.length;e<o;e++)i[n.right[e]]=[t,0];for(e=0,o=n.down.length;e<o;e++)i[n.down[e]]=[0,t];for(e=0,o=n.up.length;e<o;e++)i[n.up[e]]=[0,-1*t]},_setZoomDelta:function(t){var e,o,i=this._zoomKeys={},n=this.keyCodes;for(e=0,o=n.zoomIn.length;e<o;e++)i[n.zoomIn[e]]=t;for(e=0,o=n.zoomOut.length;e<o;e++)i[n.zoomOut[e]]=-t},_addHooks:function(){ke(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){Le(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var e,o=t.keyCode,i=this._map;if(o in this._panKeys){if(!i._panAnim||!i._panAnim._inProgress)if(e=this._panKeys[o],t.shiftKey&&(e=Z(e).multiplyBy(3)),i.options.maxBounds&&(e=i._limitOffset(Z(e),i.options.maxBounds)),i.options.worldCopyJump){var n=i.wrapLatLng(i.unproject(i.project(i.getCenter()).add(e)));i.panTo(n)}else i.panBy(e)}else if(o in this._zoomKeys)i.setZoom(i.getZoom()+(t.shiftKey?3:1)*this._zoomKeys[o]);else{if(27!==o||!i._popup||!i._popup.options.closeOnEscapeKey)return;i.closePopup()}Ie(t)}}});Ne.addInitHook("addHandler","keyboard",ni),Ne.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var si=Ge.extend({addHooks:function(){ke(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){Le(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var e=je(t),o=this._map.options.wheelDebounceTime;this._delta+=e,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date);var n=Math.max(o-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(i(this._performZoom,this),n),Ie(t)},_performZoom:function(){var t=this._map,e=t.getZoom(),o=this._map.options.zoomSnap||0;t._stop();var i=this._delta/(4*this._map.options.wheelPxPerZoomLevel),n=4*Math.log(2/(1+Math.exp(-Math.abs(i))))/Math.LN2,s=o?Math.ceil(n/o)*o:n,a=t._limitZoom(e+(this._delta>0?s:-s))-e;this._delta=0,this._startTime=null,a&&("center"===t.options.scrollWheelZoom?t.setZoom(e+a):t.setZoomAround(this._lastMousePos,e+a))}});Ne.addInitHook("addHandler","scrollWheelZoom",si),Ne.mergeOptions({tapHold:Zt.touchNative&&Zt.safari&&Zt.mobile,tapTolerance:15});var ai=Ge.extend({addHooks:function(){ke(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Le(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(clearTimeout(this._holdTimeout),1===t.touches.length){var e=t.touches[0];this._startPos=this._newPos=new S(e.clientX,e.clientY),this._holdTimeout=setTimeout(i((function(){this._cancel(),this._isTapValid()&&(ke(document,"touchend",Be),ke(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",e))}),this),600),ke(document,"touchend touchcancel contextmenu",this._cancel,this),ke(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function t(){Le(document,"touchend",Be),Le(document,"touchend touchcancel",t)},_cancel:function(){clearTimeout(this._holdTimeout),Le(document,"touchend touchcancel contextmenu",this._cancel,this),Le(document,"touchmove",this._onMove,this)},_onMove:function(t){var e=t.touches[0];this._newPos=new S(e.clientX,e.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(t,e){var o=new MouseEvent(t,{bubbles:!0,cancelable:!0,view:window,screenX:e.screenX,screenY:e.screenY,clientX:e.clientX,clientY:e.clientY});o._simulated=!0,e.target.dispatchEvent(o)}});Ne.addInitHook("addHandler","tapHold",ai),Ne.mergeOptions({touchZoom:Zt.touch,bounceAtZoomLimits:!0});var ri=Ge.extend({addHooks:function(){re(this._map._container,"leaflet-touch-zoom"),ke(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){he(this._map._container,"leaflet-touch-zoom"),Le(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e=this._map;if(t.touches&&2===t.touches.length&&!e._animatingZoom&&!this._zooming){var o=e.mouseEventToContainerPoint(t.touches[0]),i=e.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=e.getSize()._divideBy(2),this._startLatLng=e.containerPointToLatLng(this._centerPoint),"center"!==e.options.touchZoom&&(this._pinchStartLatLng=e.containerPointToLatLng(o.add(i)._divideBy(2))),this._startDist=o.distanceTo(i),this._startZoom=e.getZoom(),this._moved=!1,this._zooming=!0,e._stop(),ke(document,"touchmove",this._onTouchMove,this),ke(document,"touchend touchcancel",this._onTouchEnd,this),Be(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,o=e.mouseEventToContainerPoint(t.touches[0]),n=e.mouseEventToContainerPoint(t.touches[1]),s=o.distanceTo(n)/this._startDist;if(this._zoom=e.getScaleZoom(s,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoom<e.getMinZoom()&&s<1||this._zoom>e.getMaxZoom()&&s>1)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1===s)return}else{var a=o._add(n)._divideBy(2)._subtract(this._centerPoint);if(1===s&&0===a.x&&0===a.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(a),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),T(this._animRequest);var r=i(e._move,e,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=P(r,this,!0),Be(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,T(this._animRequest),Le(document,"touchmove",this._onTouchMove,this),Le(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))):this._zooming=!1}});Ne.addInitHook("addHandler","touchZoom",ri),Ne.BoxZoom=ei,Ne.DoubleClickZoom=oi,Ne.Drag=ii,Ne.Keyboard=ni,Ne.ScrollWheelZoom=si,Ne.TapHold=ai,Ne.TouchZoom=ri,t.divIcon=function(t){return new Fo(t)},t.map=function(t,e){return new Ne(t,e)},t.marker=function(t,e){return new xo(t,e)},t.tileLayer=Uo;window.L;window.L=t},"object"==typeof o.exports?e(o.exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).leaflet={}),o=o.exports,jQuery(document).ready((function(t){var e={select_groups:["dpd"],$pricing_table:t(".vp-woo-pont-settings-pricings"),$automations_table:t(".vp-woo-pont-settings-automations"),$tracking_automations_table:t(".vp-woo-pont-settings-tracking-automations"),$cod_fees_table:t(".vp-woo-pont-settings-cod-fees"),$weight_corrections_table:t(".vp-woo-pont-settings-weight-corrections"),$packagings_table:t(".vp-woo-pont-settings-packagings"),$notes_table:t(".vp-woo-pont-settings-notes"),$packeta_carriers_table:t(".vp-woo-pont-settings-inline-table-packeta-carriers"),$enabled_providers:t(".vp-woo-pont-providers"),json_data_points:[],activation_nonce:"",init:function(){this.init_select_groups(),this.index_packeta_carrier_fields(),t(".reload-packeta-carriers").on("click",this.get_packeta_carriers),this.$packeta_carriers_table.on("click",".add-row",this.packeta_carrier_add),this.$packeta_carriers_table.on("click",".delete-row",this.packeta_carrier_remove),this.$packeta_carriers_table.on("change","select",this.index_packeta_carrier_fields),this.$enabled_providers.on("change",'input[name="vp_woo_pont_enabled_providers[]"]',this.on_provider_change),this.$pricing_table.on("change",".vp-woo-pont-settings-pricing-points input",(function(){e.reindex_x_rows("pricings")})),this.on_provider_change(),this.activation_nonce=vp_woo_pont_params.nonces.settings,t("#woocommerce_vp_woo_pont_pro_email").keypress(this.submit_pro_on_enter),t("#vp_woo_pont_activate_pro").on("click",this.submit_activate_form),t("body").on("click","#vp_woo_pont_deactivate_pro",this.submit_deactivate_form),t("body").on("click","#vp_woo_pont_validate_pro",this.submit_validate_form),t(".vp-woo-pont-settings-submenu").on("click",".vp-woo-pont-settings-submenu-pro",(function(){return t(this).WCBackboneModal({template:"vp-woo-pont-modal-pro-version"}),!1}));var o=[this.$pricing_table,this.$automations_table,this.$tracking_automations_table,this.$cod_fees_table,this.$notes_table,this.$weight_corrections_table,this.$packagings_table],i=["pricings","automations","tracking_automations","cod_fees","notes","weight_corrections","packagings"];o.forEach((function(o,n){var s=i[n],a=s.slice(0,-1);a=a.replace("_","-"),o.on("change","select.condition",{group:s},e.change_x_condition),o.on("change","select.vp-woo-pont-settings-repeat-select",(function(){e.reindex_x_rows(s)})),o.on("click",".add-row",{group:s},e.add_new_x_condition_row),o.on("click",".delete-row",{group:s},e.delete_x_condition_row),o.on("change","input.condition",{group:s},e.toggle_x_condition),o.on("click",".delete-"+a,{group:s},e.delete_x_row),t(".vp-woo-pont-settings-"+a+"-add a.add:not([data-disabled]").on("click",{group:s,table:o},e.add_new_x_row),o.find("ul.conditions[data-options]").each((function(){var e=t(this).data("options"),o=t(this);e.forEach((function(e){var i=t("#vp_woo_pont_"+s+"_condition_sample_row").html();(i=t(i)).find("select.condition").val(e.category),i.find("select.comparison").val(e.comparison),i.find(".value").removeClass("selected"),i.find('.value[data-condition="'+e.category+'"]').val(e.value).addClass("selected").attr("disabled",!1),o.append(i)}))})),o.find(".vp-woo-pont-settings-"+a).length,e.reindex_x_rows(s)})),t(".vp-woo-pont-settings-points-list").on("click",".vp-woo-pont-settings-point-header",e.toggle_point),t(".vp-woo-pont-settings-points-add").on("click",".add",e.add_custom_point),t(".vp-woo-pont-settings-points-list").on("click",".delete-point",e.delete_point),t(".vp-woo-pont-settings-points-list").on("click",".point-value-coordinates",e.show_coordinates_modal),t(document).on("click","#save_coordinates",this.save_coordinates),this.reindex_point_rows(),t(".vp-woo-pont-settings-pricing-add .import, .vp-woo-pont-settings-points-add .import").click(this.import_modal),t(".vp-woo-pont-settings-pricing-add .export, .vp-woo-pont-settings-points-add .export").click(this.export_settings),t(document).on("click","#vp-woo-pont-modal-import-button",this.import_settings),t(".vp-woo-pont-provider-row").on("click","a.import",this.trigger_json_import),["sameday_pickup_point","csomagpiac_pickup_point"].forEach((function(o){var i=t("#vp_woo_pont_"+o);i.length&&(i.parent().find("p.description").before('<a href="#" id="vp_woo_pont_'+o+'_reload"><span class="dashicons dashicons-update"></span></a>'),i.parent().on("click","#vp_woo_pont_"+o+"_reload",(function(){var i=t(this);return e.refresh_field(o,i),!1})))})),t(".vp-woo-pont-providers-rows").sortable({items:"tr",cursor:"move",axis:"y",handle:"td.sort",scrollSensitivity:40,helper:function(e,o){return o.children().each((function(){t(this).width(t(this).width())})),o.css("left","0"),o}}),this.check_if_provider_selected(),t(".vp-woo-pont-providers-wrapper").on("click",".vp-woo-pont-providers-add-button",this.show_edit_provider_modal),t(".vp-woo-pont-providers").on("click",".vp-woo-pont-provider-delete",this.delete_provider),t("body").on("click",".vp-woo-pont-modal-add-provider #vp-woo-pont-modal-add-provider-save",this.select_provider),t(".vp-woo-pont-restart-setup-wizard").on("click",this.restart_setup_wizard),t(".vp-woo-pont-kvikk-api-key-test").on("click",this.validate_kvikk_api_key),t(".vp-woo-pont-toggle-select-field").on("change",(function(){var e=t(this).val(),o=t(this).attr("id"),i=t("[id^='"+o+"_']"),n=t("#"+o+"_"+e);i.parents("tr").hide(),n&&n.parents("tr").show()})).trigger("change")},check_if_provider_selected:function(){t(".vp-woo-pont-providers-wrapper").addClass("provider-selected"),0==t('.vp-woo-pont-providers input[name="vp_woo_pont_enabled_providers[]"]:checked').length&&t(".vp-woo-pont-providers-wrapper").removeClass("provider-selected")},show_edit_provider_modal:function(){var e=[];t('.vp-woo-pont-providers input[name="vp_woo_pont_enabled_providers[]"]:checked').each((function(){e.push(t(this).val())}));var o=t(this).data("providers"),i=t('<ul class="vp-woo-pont-modal-add-provider-groups"></ul>');return o.forEach((function(o){var n=t('<li class="vp-woo-pont-modal-add-provider-group" data-provider="'+o.id+'"><span class="vp-woo-pont-modal-add-provider-group-title"><i class="vp-woo-pont-provider-icon vp-woo-pont-provider-icon-'+o.id+'"></i><strong>'+o.label+"</strong></span></li>"),s=t("<ul></ul>");o.options.forEach((function(t){var o="";-1!==e.indexOf(t.id)&&(o='checked="checked"'),s.append('<li><label><input type="checkbox" name="add_provider" '+o+' value="'+t.id+'"><span>'+t.name+"</span></label></li>")})),n.append(s),i.append(n)})),t(this).WCBackboneModal({template:"vp-woo-pont-modal-add-provider",variable:{list:i.prop("outerHTML")}}),!1},delete_provider:function(){var o=t(this).parents("tr"),i=o.data("provider");return t('.vp-woo-pont-providers input[name="vp_woo_pont_enabled_providers[]"][value="'+i+'"]').attr("checked",!1),o.removeClass("selected"),e.check_if_provider_selected(),e.on_provider_change(),!1},select_provider:function(){return t('.vp-woo-pont-providers input[name="vp_woo_pont_enabled_providers"]:checked').attr("checked",!1),t('.vp-woo-pont-modal-add-provider input[name="add_provider"]:checked').each((function(){var e=t(this).val(),o=t('.vp-woo-pont-providers input[name="vp_woo_pont_enabled_providers[]"][value="'+e+'"]');o.attr("checked",!0),o.parents("tr").addClass("selected")})),t(".modal-close-link").trigger("click"),e.check_if_provider_selected(),e.on_provider_change(),!1},init_select_groups:function(){t.each(e.select_groups,(function(e,o){var i=t(".vp-woo-pont-select-group-"+o),n=t(".vp-woo-pont-select-group-"+o+"-item").parents("tr"),s=i.val();n.hide(),t(".vp-woo-pont-select-group-"+o+"-item-"+s).parents("tr").show(),i.change((function(e){e.preventDefault();var i=t(this).val();n.hide(),t(".vp-woo-pont-select-group-"+o+"-item-"+i).parents("tr").show()}))}))},submit_pro_on_enter:function(e){if(13==e.which)return t("#vp_woo_pont_activate_pro").click(),!1},submit_activate_form:function(){var o=t("#woocommerce_vp_woo_pont_pro_key").val(),i=t(this),n=i.parent(),s=i.parents(".vp-woo-pont-pro-widget"),a={action:"vp_woo_pont_license_activate",key:o,nonce:e.activation_nonce};return n.block({message:null,overlayCSS:{background:"#f0f0f1 url("+vp_woo_pont_params.loading+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),s.find(".vp-woo-pont-pro-widget-notice").hide(),t.post(ajaxurl,a,(function(t){t.success?window.location.reload():(s.find(".vp-woo-pont-pro-widget-notice p").html(t.data.message),s.find(".vp-woo-pont-pro-widget-notice").show(),n.addClass("fail"),setTimeout((function(){n.removeClass("fail")}),1e3),n.unblock())})),!1},submit_deactivate_form:function(){t(this);var o=t(".vp-woo-pont-modal-pro-version-content"),i={action:"vp_woo_pont_license_deactivate",nonce:e.activation_nonce};return o.block({message:null,overlayCSS:{background:"#ffffff url("+vp_woo_pont_params.loading+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),o.find(".notice").hide(),t.post(ajaxurl,i,(function(t){t.success?window.location.reload():(o.find(".notice p").html(t.data.message),o.find(".notice").show(),o.unblock())})),!1},submit_validate_form:function(){t(this);var o=t(".vp-woo-pont-modal-pro-version-content"),i={action:"vp_woo_pont_license_validate",nonce:e.activation_nonce};return o.block({message:null,overlayCSS:{background:"#ffffff url("+vp_woo_pont_params.loading+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),o.find(".notice").hide(),t.post(ajaxurl,i,(function(t){window.location.reload()})),!1},change_x_condition:function(e){var o=t(this).val();t(this).parent().find(".value").removeClass("selected").prop("disabled",!0),t(this).parent().find('.value[data-condition="'+o+'"]').addClass("selected").prop("disabled",!1)},add_new_x_condition_row:function(o){var i=t("#vp_woo_pont_"+o.data.group+"_condition_sample_row").html();return t(this).closest("ul.conditions").append(i),e.reindex_x_rows(o.data.group),!1},delete_x_condition_row:function(o){return t(this).parent().remove(),e.reindex_x_rows(o.data.group),!1},reindex_x_rows:function(o){return o=o.replace("_","-"),t(".vp-woo-pont-settings-"+o).find(".vp-woo-pont-settings-repeat-item").each((function(i){t(this).find("textarea, select, input").each((function(){var e=t(this).data("name");e&&(e=e.replace("X",i),t(this).attr("name",e))})),t(this).find("li").each((function(e){t(this).find("select, input").each((function(){var o=t(this).data("name");o&&(o=(o=o.replace("Y",e)).replace("X",i),t(this).attr("name",o))}))})),t(this).find(".vp-woo-pont-settings-repeat-select").each((function(){var e=t(this).val();t(this).hasClass("vp-woo-pont-settings-advanced-option-property")&&(t(".vp-woo-pont-settings-advanced-option-value option").hide(),t('.vp-woo-pont-settings-advanced-option-value option[value^="'+e+'"]').show(),t(".vp-woo-pont-settings-advanced-option-value").val().includes(e)||t('.vp-woo-pont-settings-advanced-option-value option[value^="'+e+'"]').first().prop("selected",!0));var o=t(this).find("option:selected").text();t(this).parent().find("label span").text(o),t(this).parent().find("label span").text(o),t(this).parent().find("label i").removeClass().addClass(e)})),"pricings"==o&&e.toggle_countries_checkboxes(t(this))})),"pricings"==o&&e.on_provider_change(),t(document.body).trigger("wc-enhanced-select-init"),!1},add_new_x_row:function(o){var i=o.data.group,n=o.data.table,s=i.slice(0,-1),a=t("#vp_woo_pont_"+s+"_sample_row").html(),r=t("#vp_woo_pont_"+i+"_condition_sample_row").html();return(a=t(a)).find("ul.conditions").append(r),n.append(a),e.reindex_x_rows(i),t(document.body).trigger("wc-enhanced-select-init"),!1},toggle_x_condition:function(o){var i=o.data.group,n=t(this).is(":checked"),s=t(this).closest(".vp-woo-pont-settings-repeat-item").find("ul.conditions");if(n){if(s.find("li").length<1){var a=t("#vp_woo_pont_"+i+"_condition_sample_row").html();s.append(a)}s.show()}else s.hide();if("pricings"==i){var r=t(this).closest(".vp-woo-pont-settings-pricing").find(".vp-woo-pont-settings-pricing-if");n?r.show():r.hide()}"automations"==i&&(r=t(this).closest(".vp-woo-pont-settings-automation").find(".vp-woo-pont-settings-automation-if"),n?r.show():r.hide()),"notes"==i&&(r=t(this).closest(".vp-woo-pont-settings-note").find(".vp-woo-pont-settings-note-if"),n?r.show():r.hide()),"cod_fees"==i&&(r=t(this).closest(".vp-woo-pont-settings-cod-fee").find(".vp-woo-pont-settings-cod-fee-if"),n?r.show():r.hide()),"weight_corrections"==i&&(r=t(this).closest(".vp-woo-pont-settings-weight-correction").find(".vp-woo-pont-settings-weight-correction-if"),n?r.show():r.hide()),"packagings"==i&&(r=t(this).closest(".vp-woo-pont-settings-packaging").find(".vp-woo-pont-settings-packaging-if"),n?r.show():r.hide()),e.reindex_x_rows(o.data.group)},delete_x_row:function(o){return t(this).closest(".vp-woo-pont-settings-repeat-item").remove(),e.reindex_x_rows(o.data.group),!1},toggle_countries_checkboxes:function(t){t.find('input[value*="packeta"]:checked').length||t.find('input[value*="gls_"]:checked').length||t.find('input[value*="dpd"]:checked').length?(t.find(".vp-woo-pont-settings-pricing-countries").show(),t.find(".vp-woo-pont-settings-pricing-countries").find("li").hide(),["packeta","gls_","dpd"].forEach((function(e){t.find('input[value*="'+e+'"]:checked').length&&t.find(".vp-woo-pont-settings-pricing-countries").find('li[data-courier="'+e+'"]').show()}))):t.find(".vp-woo-pont-settings-pricing-countries").hide()},load_json_files:function(o){var i=vp_woo_pont_params.providers;i.postapont="Postapont";var n=vp_woo_pont_params.files.map((function(o){return console.log(o),t.getJSON(o.url,(function(t){e.json_data_points.push({provider:o.type,title:i[o.type],data:t})}))}));t.when.apply(t,n).fail((function(t,e,o){})).always((function(t){o()}))},create_point:function(o,i){var n=t(".vp-woo-pont-settings-points-list"),s=t("#vp_woo_pont_point_sample_row").html(),a=t(s);a.addClass("open"),a.find(".point-value-title").text(i.name+" #"+i.id),a.find(".point-value-id").val(i.id),a.find(".point-value-provider").val(o),a.find(".point-value-name").val(i.name),a.find(".point-value-coordinates").val(i.lat+";"+i.lon),a.find(".point-value-city").val(i.city),a.find(".point-value-zip").val(i.zip),a.find(".point-value-addr").val(i.addr),a.find(".point-value-comment").val(i.comment),"custom"!=o&&a.find(".point-value-id").attr("readonly",!0),n.append(a),e.reindex_point_rows()},reindex_point_rows:function(){t(".vp-woo-pont-settings-points-list").find(".vp-woo-pont-settings-point").each((function(e){t(this).find("textarea, select, input").each((function(){var o=t(this).data("name");o=o.replace("X",e),t(this).attr("name",o)}))}))},toggle_point:function(){return t(this).parents(".vp-woo-pont-settings-point").toggleClass("open"),!1},add_custom_point:function(){var o=t(".vp-woo-pont-settings-point").length;return e.create_point("custom",{name:"Pickup point "+parseInt(o+1),id:"point_"+parseInt(o+1),lat:0,lon:0}),!1},delete_point:function(o){return t(this).closest(".vp-woo-pont-settings-point").remove(),e.reindex_point_rows(),!1},show_coordinates_modal:function(){t(this).WCBackboneModal({template:"vp-woo-pont-modal-coordinates",variable:{}});var e=t(this).val();e=e.split(";");var i=t(this),n=o.map("map-coordinates");return"0"!=e[0]?n.setView(e,17):n.setView([47.25525656277509,19.54590752720833],5),o.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:19,attribution:'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'}).addTo(n),n.on("moveend",(function(e){var o=n.getCenter();t("#save_coordinates").data("coordinates",o.lat+";"+o.lng),t("#save_coordinates").data("field",i)})),!1},save_coordinates:function(){var e=t(this).data("field"),o=t(this).data("coordinates");return e.val(o),t(".modal-close-link").trigger("click"),!1},export_settings:function(){var e=t(this).data("nonce"),o=t(this).data("type"),i={action:"vp_woo_pont_export_settings",type:o,nonce:e};return t.post(ajaxurl,i,(function(e){var i=JSON.stringify(e.data);i=[i];var n=new Blob(i,{type:"text/plain;charset=utf-8"});if(document.documentMode)window.navigator.msSaveBlob(n,"vp-woo-pont-"+o+".json");else{var s=window.URL||window.webkitURL;link=s.createObjectURL(n);var a=t("<a />");a.attr("download","vp-woo-pont-"+o+".json"),a.attr("href",link),t("body").append(a),a[0].click(),t("body").remove(a)}})),!1},import_modal:function(){var e=t(this).data("type");return t(this).WCBackboneModal({template:"vp-woo-pont-modal-import",variable:{type:e}}),!1},import_settings:function(){var e=new FormData(t(".vp-woo-pont-modal-import form")[0]);return t.ajax({url:ajaxurl,type:"POST",data:e,processData:!1,contentType:!1,success:function(t){window.location.reload()},error:function(t,e,o){}}),!1},trigger_json_import:function(){var e=t(this).data("provider"),o=t(this).parent(),i={action:"vp_woo_pont_import_json_manually",nonce:vp_woo_pont_params.nonces.settings,provider:e};return o.addClass("loading"),t.post(ajaxurl,i,(function(t){o.removeClass("loading"),o.removeClass("has-file"),t.success?(o.addClass("has-file"),o.find(".download-link").attr("href",t.data.url+t.data.files[e]),o.find(".download-link").attr("data-qty",t.data.qty),console.log(t.data.qty)):(o.addClass("fail"),setTimeout((function(){o.removeClass("fail")}),1e3))})),!1},get_packeta_carriers:function(){var e=t(this).parents(".forminp"),o=t(this).data("nonce"),i=(e.find(".vp-woo-pont-packeta-carriers-notice"),t(this)),n={action:"vp_woo_pont_packeta_get_carriers",nonce:o};return i.addClass("loading"),t.post(ajaxurl,n,(function(e){i.removeClass("loading"),e.success?(Object.entries(e.data.pickup_point_carriers).forEach(([e,o])=>{if(!t(".vp-woo-pont-settings-checkbox-packeta_countries-"+e).length){var i=t("<li><label><input/><span></span></label></li>");i.addClass("vp-woo-pont-settings-checkbox-packeta_countries-"+e),i.find("input").val(e),i.find("input").attr("value",e),i.find("input").attr("type","checkbox"),i.find("input").attr("name","vp_woo_pont_packeta_countries[]"),i.find("span").text(o),t(".vp-woo-pont-settings-checkbox-group-packeta_countries").append(i)}}),t(".vp-woo-pont-settings-inline-table-packeta-carriers .vp-woo-pont-packeta-carriers-table-carrier select").each((function(){var o=t(this);Object.entries(e.data.home_delivery_carriers).forEach(([t,e])=>{o.find("optgroup[label="+t+"]").length||o.append('<optgroup label="'+t+'"></optgroup>'),Object.entries(e).forEach(([e,i])=>{o.find("option[value="+e+"]").length||o.find("optgroup[label="+t+"]").append('<option value="'+e+'">'+i+"</option>")})})}))):(i.addClass("fail"),setTimeout((function(){i.removeClass("fail")}),1e3))})),!1},packeta_carrier_add:function(){var o=t(this).closest("tbody"),i=t(this).closest("tr");return o.append(i.clone()),e.index_packeta_carrier_fields(),!1},packeta_carrier_remove:function(){return t(this).closest("tr").remove(),e.index_packeta_carrier_fields(),!1},index_packeta_carrier_fields:function(){e.$packeta_carriers_table.find("tbody tr").each((function(e,o){t(this).find('select, input[type="hidden"]').each((function(){var o=t(this).data("name");o=o.replace("X",e),t(this).attr("name",o)}));var i=t(this).find(".vp-woo-pont-packeta-carriers-table-country select").val();t(this).find(".vp-woo-pont-packeta-carriers-table-country select").length||(i=t(this).find(".vp-woo-pont-packeta-carriers-table-country input").val());var n=t(this).find(".vp-woo-pont-packeta-carriers-table-carrier select");n.val(),n.find("optgroup").each((function(){t(this).attr("label")==i?(t(this).removeAttr("hidden"),t(this).find("option:selected").length||(n.find("option").removeAttr("selected"),t(this).find("option").first().attr("selected",!0))):(t(this).attr("hidden",!0),t(this).find("option").removeAttr("selected"))})),n.find("option:selected").length||n.find("option").first().attr("selected",!0)}))},on_provider_change:function(){var o=e.$enabled_providers.find('input[name="vp_woo_pont_enabled_providers[]"]:checked'),i=[];t(".vp-woo-pont-settings-pricing-points li").hide(),o.each((function(){var e=t(this).val();i.push(e),t(".vp-woo-pont-settings-pricing-points").find("li.provider-"+e).show()})),t(".vp-woo-pont-settings-pricing-points li input").each((function(){var e=t(this).val();i.includes(e)||t(this).prop("checked",!1)})),t(".woocommerce-save-button").removeAttr("disabled")},refresh_field:function(e,o){var i=o,n={action:"vp_woo_pont_reload_"+e,nonce:vp_woo_pont_params.nonces.settings};return i.hasClass("loading")||(i.addClass("loading"),t.post(ajaxurl,n,(function(o){if(i.removeClass("loading"),i.addClass("loaded"),setTimeout((function(){i.removeClass("loaded")}),1e3),o.data){var n=t("#vp_woo_pont_"+e),s=n.val();n.val(null).empty(),o.data.forEach((function(t){var e=new Option(t.name,t.id,!0,!0);n.append(e).trigger("change")})),n.val(s),n.trigger("change")}}))),!1},restart_setup_wizard:function(){var e=t(this).data("nonce"),o=t(this).parents(".vp-woo-pont-settings-widget"),i=t(this).data("url"),n={action:"vp_woo_pont_restart_setup_wizard",nonce:e};return o.block({message:null,overlayCSS:{background:"#ffffff url("+vp_woo_pont_params.loading+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),t.post(ajaxurl,n,(function(t){window.location.href=i})),!1},validate_kvikk_api_key:function(){var e=t(this).data("nonce"),o=t(".vp-woo-pont-kvikk-api-key"),i={action:"vp_woo_pont_validate_kvikk_api_key",nonce:e,api_key:o.find("#vp_woo_pont_kvikk_api_key").val()};o.block({message:null,overlayCSS:{background:"#f0f0f1 url("+vp_woo_pont_params.loading+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),o.find(".vp-woo-pont-kvikk-api-key-results").removeClass("success"),o.find(".vp-woo-pont-kvikk-api-key-results").removeClass("fail"),o.find(".vp-woo-pont-kvikk-api-key-results-couriers").slideUp(),t.post(ajaxurl,i,(function(e){if(o.unblock(),e.success){var i=e.data,n=t("#vp_woo_pont_kvikk_sender_id");n.val(null).empty(),i.forEach((function(t){var e=new Option(t.name,t.id,!0,!0);n.append(e).trigger("change")})),o.find(".vp-woo-pont-kvikk-api-key-results").addClass("success")}else o.find(".vp-woo-pont-kvikk-api-key-results").addClass("fail")}))}};(t(".vp-woo-pont-settings").length||t(".vp-woo-pont-carriers").length)&&e.init(),t(".vp-woo-pont-remove-from-order").click((function(){$this=t(this);var e=confirm($this.data("question")),o=$this.data("order"),i=$this.data("nonce");return 1!=e||t.post(ajaxurl,{action:"vp_woo_pont_remove_from_order",security:i,order:o},(function(){$this.parent().hide()})),!1}));var i={$dpd_button:t(".vp-woo-pont-dpd-start-sync a"),$expressone_button:t(".vp-woo-pont-expressone-start-sync a"),$print_button:t("#vp-woo-pont-bulk-print-generate"),needs_label:[],total_labels:0,labels_generated:0,init:function(){this.$dpd_button.on("click",this.dpd_sync),this.$expressone_button.on("click",this.expressone_sync),this.$print_button.on("click",this.print_generate),t(".vp-woo-pont-orders-tracking-event-label").on("click",this.show_tracking_modal),t("body").on("click",".vp-woo-pont-modal-tracking-reload",this.reload_tracking_modal),t(".vp-woo-pont-order-column").on("click",".vp-woo-pont-order-column-print",this.show_print_layout_tooltip),t(".vp-woo-pont-order-column").on("blur",".vp-woo-pont-order-column-print",this.hide_print_layout_tooltip),t(".vp-woo-pont-order-column-print-layout").on("click","div",this.print_layout_label),t("#wpbody").on("change","#bulk-action-selector-top",(function(){"vp_woo_pont_print_labels"==t("#bulk-action-selector-top").val()?i.show_bulk_print_extra():i.hide_bulk_print_extra()})),t("#wpbody").on("click","#doaction",(function(){return"vp_woo_pont_print_labels"==t("#bulk-action-selector-top").val()?(i.handle_bulk_print(),!1):"vp_woo_pont_download_labels"==t("#bulk-action-selector-top").val()?(i.handle_bulk_download(),!1):void 0})),t("#wpbody").on("click","#doaction",(function(){if("vp_woo_pont_generate_labels"==t("#bulk-action-selector-top").val())return i.show_bulk_generate_modal(),!1})),t("body").on("change",".vp-woo-pont-modal-generate-selectall",(function(){var e=t(this).is(":checked");t('.vp-woo-pont-modal-generate table input[type="checkbox"]').attr("checked",e)})),t("body").on("wc_backbone_modal_removed",this.on_modal_close),t("body").on("click",".vp-woo-pont-modal-generate-button-download",this.download_in_bulk),t("body").on("click",".vp-woo-pont-modal-generate-button-print",this.print_in_bulk),t("body").on("click",".vp-woo-pont-modal-generate-label-print",this.print_single_label)},show_print_layout_tooltip:function(){var e=t(this).parents(".vp-woo-pont-order-column").data("provider");(e=e.split("_")[0]).includes("posta")&&(e="posta");var o=vp_woo_pont_params.sticker_parameters[e],i=t(this).find(".vp-woo-pont-order-column-print-button");if(o&&o.format&&!i.hasClass("multiple_parcels")){var n=t(this).find(".vp-woo-pont-order-column-print-layout");n.html(""),n.addClass(o.format),n.attr("data-sections",o.sections),n.attr("data-layout",o.layout),n.attr("data-format",o.format);for(let e of Array(o.sections).keys()){var s=t("<div>");s.data("page",e+1),0==e&&s.addClass("selected"),n.append(s)}t(this).toggleClass("active")}else{var r=t(this).parents(".vp-woo-pont-order-column").data("order"),h=vp_woo_pont_params.print_url,l=t(this).parents(".vp-woo-pont-order-column");h=(h=h.replace("X",r)).replace("Y",0);var p="#f6f7f7";if(t(this).parents("tr").is(":even")&&(p="#fff"),a.loading_indicator(l,p),t(this).parents(".vp-woo-pont-order-column-printing").hasClass("vp-woo-pont-order-column-quick")){i=t(this).parents(".vp-woo-pont-order-column-quick");var c={action:a.prefix+"generate_quick_label",nonce:vp_woo_pont_params.nonces.generate,order:r};t.post(ajaxurl,c,(function(t){if(t.data.error)l.unblock(),i.addClass("fail"),setTimeout((function(){i.removeClass("fail")}),1e3);else{i.removeClass("vp-woo-pont-order-column-quick"),i.find(".vp-woo-pont-order-column-pdf").show(),i.find(".vp-woo-pont-order-column-pdf").attr("href",t.data.pdf);var e=i.find(".vp-woo-pont-order-column-print-button").data("alt-label");i.find(".vp-woo-pont-order-column-print-button .label").text(e),printJS({printable:h,onLoadingEnd:function(){l.unblock()}})}}))}else printJS({printable:h,onLoadingEnd:function(){l.unblock()}})}return!1},hide_print_layout_tooltip:function(){t(".vp-woo-pont-order-column-print").removeClass("active")},print_layout_label:function(){var e=t(this).data("page"),o=t(this).parent(),i=t(this).parents(".vp-woo-pont-order-column").data("order");t(".vp-woo-pont-order-column-print-layout div").removeClass("selected"),t(this).addClass("selected");var n=vp_woo_pont_params.print_url;if(n=(n=n.replace("X",i)).replace("Y",e),t(this).parents(".vp-woo-pont-order-column-printing").hasClass("vp-woo-pont-order-column-quick")){var s=t(this).parents(".vp-woo-pont-order-column-quick"),r=s.parents(".vp-woo-pont-order-column");r.block({message:null,overlayCSS:{background:"#F5F5F5 url("+vp_woo_pont_params.loading+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}});var h={action:a.prefix+"generate_quick_label",nonce:vp_woo_pont_params.nonces.generate,order:i};t.post(ajaxurl,h,(function(t){if(r.unblock(),t.data.error)s.addClass("fail"),setTimeout((function(){s.removeClass("fail")}),1e3);else{s.removeClass("vp-woo-pont-order-column-quick"),s.find(".vp-woo-pont-order-column-pdf").show(),s.find(".vp-woo-pont-order-column-pdf").attr("href",t.data.pdf);var e=s.find(".vp-woo-pont-order-column-print-button").data("alt-label");s.find(".vp-woo-pont-order-column-print-button .label").text(e),printJS(n)}}))}else a.loading_indicator(o,"#fff"),printJS({printable:n,onLoadingEnd:function(){o.unblock()}});return!1},show_bulk_print_extra:function(){i.hide_bulk_print_extra();var e=t("#the-list .check-column input:checked"),o=[];t(e).each((function(i){var n=t(e[i]).parents("tr").find(".vp-woo-pont-order-details").data("order-details").carrier_id;o.push(n)}));var n=!0;if(o.forEach(t=>{var e=vp_woo_pont_params.sticker_parameters[t];e.sticker&&"A6"==e.sticker||(n=!1)}),n){var s=o[0],a=vp_woo_pont_params.sticker_parameters[s];if(a.format){var r=t("<select>").attr("id","vp-woo-pont-bulk-print-position"),h=t("<option>").val(0).text("C\xedmke poz\xedci\xf3");r.append(h);for(var l=0;l<a.sections;l++)if(0!=l){var p=t("<option>").val(l).text(l+" c\xedmke \xe1tugr\xe1sa");r.append(p)}t("#bulk-action-selector-top").after(r)}}},hide_bulk_print_extra:function(){t("#vp-woo-pont-bulk-print-position").remove()},handle_bulk_print:function(){var e=i.get_bulk_pdf_url();return a.loading_indicator(t(".bulkactions"),"#F0F0F1"),printJS({printable:e,onLoadingEnd:function(){t(".bulkactions").unblock()}}),!1},handle_bulk_download:function(){var t=i.get_bulk_pdf_url();return vp_woo_pont_params.bulk_download_zip&&(t+="&format=zip"),window.open(t),!1},get_bulk_pdf_url:function(){var e=t("#the-list .check-column input:checked"),o=[];t(e).each((function(i){var n=t(e[i]).val();o.push(n)}));var i=vp_woo_pont_params.print_url,n=0;return i=i.replace("X",o.join()),t("#vp-woo-pont-bulk-print-position").val()&&(n=t("#vp-woo-pont-bulk-print-position").val()),i.replace("Y",n)},dpd_sync:function(){var e=t(this).data("nonce"),o=t(this),i={action:a.prefix+"dpd_run_sync",nonce:e};return o.hasClass("loading")||(o.addClass("loading"),t.post(ajaxurl,i,(function(t){o.addClass("success"),setTimeout((function(){o.removeClass("loading"),o.removeClass("success")}),3e3)}))),!1},expressone_sync:function(){var e=t(this).data("nonce"),o=t(this),i={action:a.prefix+"expressone_run_sync",nonce:e};return o.hasClass("loading")||(o.addClass("loading"),t.post(ajaxurl,i,(function(t){o.addClass("success"),t.data.pdf&&window.open(t.data.pdf,"_blank"),setTimeout((function(){o.removeClass("loading"),o.removeClass("success")}),3e3)}))),!1},print_generate:function(){t(this);var e=t(this).data("orders"),o=vp_woo_pont_params.print_url;return o=(o=o.replace("X",e.join())).replace("Y",0),printJS(o),!1},show_tracking_modal:function(){t(this).data("events");var e=t(this).data("order_id"),o={action:a.prefix+"get_tracking_info",nonce:vp_woo_pont_params.nonces.tracking,order:t(this).data("order_id")};return t(this).WCBackboneModal({template:"vp-woo-pont-modal-tracking"}),t(".vp-woo-pont-modal-tracking article").block({message:null,overlayCSS:{background:"#ffffff url("+vp_woo_pont_params.loading+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),t.post(ajaxurl,o,(function(o){var i=o.data.link,n=o.data.tracking_number;t(".vp-woo-pont-modal-tracking article").unblock();var s=t(".vp-woo-pont-modal-tracking article ul");t(o.data.events).each((function(t){var e="";o.data.events[t].location&&(e='- <span class="location">'+o.data.events[t].location+"</span>"),s.append('<li class="note"><div class="note_content"><p>'+o.data.events[t].label+'</p></div><p class="meta"><span class="date">'+o.data.events[t].date+"</span> "+e+"</p></li>")})),t(".vp-woo-pont-modal-tracking-date").text(o.data.updated),t(".vp-woo-pont-modal-tracking-number").text(n),t(".vp-woo-pont-modal-tracking-reload").data("order",e),t(".vp-woo-pont-modal-tracking-link").attr("href",i)})),!1},reload_tracking_modal:function(){var e=t(this),o=t(".vp-woo-pont-modal-tracking-content");o.block({message:null,overlayCSS:{background:"#fff url("+vp_woo_pont_params.loading+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}});var i={action:"vp_woo_pont_update_tracking_info",nonce:vp_woo_pont_params.nonces.tracking,order:e.data("order")};return t.post(ajaxurl,i,(function(e){if(o.unblock(),!e.data.error){var i=t(".vp-woo-pont-modal-tracking-date");if(i.text(i.data("now")),e.data.tracking_info.length>o.find("ul").find("li").length-1){var n=e.data.tracking_info[0],s=o.find(".note-sample").clone();s.removeClass("note-sample"),s.find(".note_content p").text(n.label),s.find(".exact-date").text(n.date),s.show(),setTimeout((function(){s.removeClass("customer-note")}),3e3),o.find("ul").prepend(s)}}})),!1},show_bulk_generate_modal:function(){var e=[];t("#the-list .check-column input:checked").each((function(){var o=t(this).parents("tr"),i=o.find(".vp-woo-pont-order-details").data("order-details");i.provider_id&&(i.table_row=o,e.push(i))})),t(this).WCBackboneModal({template:"vp-woo-pont-modal-generate"}),t(document.body).trigger("vp_woo_pont_generate_modal_shown");var o=t(".vp-woo-pont-modal-generate table");return i.reset_modal_data(),i.total_labels=e.length,i.needs_label=[],e.forEach((function(e){var n=t("#vp_woo_pont_modal_generate_sample_row").html();(n=t(n)).find(".cell-order-number strong").text("#"+e.order_number),n.find(".cell-order-number span").text(e.customer_name),n.find(".vp-woo-pont-provider-icon").addClass("vp-woo-pont-provider-icon-"+e.provider_id),n.find(".cell-address span").text(e.shipping_address),n.find(".vp-woo-pont-modal-generate-label").text(e.parcel_number),n.find(".vp-woo-pont-modal-generate-label").attr("href",e.download_link),n.find(".vp-woo-pont-modal-generate-label-print").attr("href",e.download_link),n.data("order-details",e),n.find("input").val(e.order_id),e.parcel_number?n.addClass("has-label"):i.needs_label.push(n),o.find("tbody").append(n)})),i.labels_generated=i.total_labels-i.needs_label.length,i.update_counter(),i.generate_label(),!1},generate_label:function(){if(0==i.needs_label.length)return!1;var e=i.needs_label[0],o=e.data("order-details"),n={action:"vp_woo_pont_generate_quick_label",nonce:vp_woo_pont_params.nonces.generate,order:o.order_id};t.post(ajaxurl,n,(function(n){if(n.data.error)e.addClass("has-error"),e.find('input[type="checkbox"]').attr("disabled",!0);else{e.find(".vp-woo-pont-modal-generate-label").text(n.data.number),e.find(".vp-woo-pont-modal-generate-label").attr("href",n.data.pdf),e.find(".vp-woo-pont-modal-generate-label-print").attr("href",n.data.pdf),e.addClass("has-label");var s=o.table_row;if(n.data.order_status){var a=n.data.order_status.status;a=a.replace("wc-",""),s.find("td.order_status mark").removeClass((function(t,e){return(e.match(/(^|\s)status-\S+/g)||[]).join(" ")})).addClass("status-"+a),s.find("td.order_status span").text(n.data.order_status.name);var r=new URL(window.location.href),h=r.searchParams.get("status"),l=r.searchParams.get("post_status");if((h||l)&&(l||"all"!=h)){s.slideUp(),s.find(".check-column input").prop("checked",!1);var p=t("ul.subsubsub a.current").parent(),c=t("ul.subsubsub li."+n.data.order_status.status),d=parseInt(p.find(".count").text().replace(/[^0-9]/g,"")),u=parseInt(c.find(".count").text().replace(/[^0-9]/g,""));p.find(".count").text("("+(d-1)+")"),c.find(".count").text("("+(u+1)+")")}}var _='<div class="order-status vp-woo-pont-orders-tracking-event"><a class="vp-woo-pont-orders-tracking-event-external" target="_blank" href="#"><i class="vp-woo-pont-provider-icon-'+o.provider_id+'"></i></a><a class="vp-woo-pont-orders-tracking-event-label" href="#" data-order_id="'+o.order_id+'"><span>'+n.data.number+"</span></a></div>";s.find("td.vp_woo_pont_tracking").append(_);var m=s.find(".vp-woo-pont-order-column-quick");m.removeClass("vp-woo-pont-order-column-quick"),m.find(".vp-woo-pont-order-column-pdf").show(),m.find(".vp-woo-pont-order-column-pdf").attr("href",n.data.pdf);var f=m.find(".vp-woo-pont-order-column-print-button").data("alt-label");m.find(".vp-woo-pont-order-column-print-button .label").text(f),s.find(".vp-woo-pont-order-column-label span").text(n.data.number),o.parcel_number=n.data.number,o.download_link=n.data.pdf,s.find(".vp-woo-pont-order-details").data("order-details",o)}i.needs_label.shift(),i.generate_label(),i.update_counter()}))},update_counter:function(){i.labels_generated=i.total_labels-i.needs_label.length;var e=t(".vp-woo-pont-modal-generate-progress-bar-text").data("labels");if(!e)return!1;var o=e.total.singular;i.total_labels>1&&(o=(o=e.total.plural).replace("%d",i.total_labels));var n=e.current.default;1==i.labels_generated&&(n=e.current.singular),i.labels_generated>1&&(n=(n=e.current.plural).replace("%d",i.labels_generated));var s=i.labels_generated/i.total_labels*100;t(".vp-woo-pont-modal-generate-progress-bar-inner").css("width",s+"%"),t(".vp-woo-pont-modal-generate-progress-bar-text-current").text(n),t(".vp-woo-pont-modal-generate-progress-bar-text-total").text(o),0==i.needs_label.length&&(setTimeout((function(){t(".vp-woo-pont-modal-generate").addClass("done")}),500),setTimeout((function(){t(".vp-woo-pont-modal-generate").removeClass("done"),t(".vp-woo-pont-modal-generate").addClass("finished")}),500))},on_modal_close:function(t,e){"vp-woo-pont-modal-generate"==e&&i.reset_modal_data()},reset_modal_data:function(){t(".vp-woo-pont-modal-generate table").find("tbody").html(""),t(".vp-woo-pont-modal-generate").removeClass("done"),t(".vp-woo-pont-modal-generate").removeClass("finished"),i.needs_label=[],i.total_labels=0,i.labels_generated=0},print_in_bulk:function(){var e=i.generate_pdf_url(),o=t(this).parents("footer");return o.block({message:null,overlayCSS:{background:"#fcfcfc url("+vp_woo_pont_params.loading+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),printJS({printable:e,onLoadingEnd:function(){o.unblock()}}),!1},download_in_bulk:function(){var t=i.generate_pdf_url();return window.open(t),!1},generate_pdf_url:function(){var e=t(".vp-woo-pont-modal-generate table tr.has-label input:checked"),o=[];t(e).each((function(i){var n=t(e[i]).val();o.push(n)}));var i=vp_woo_pont_params.print_url,n=0;return i=i.replace("X",o.join()),t("#vp-woo-pont-bulk-print-position").val()&&(n=t("#vp-woo-pont-bulk-print-position").val()),i.replace("Y",n)},print_single_label:function(){var e=t(this).attr("href");return printJS(e),!1}};(t(".vp-woo-pont-order-column").length||t(".vp-woo-pont-dpd-start-sync").length||t("#vp-woo-pont-bulk-print-generate").length||vp_woo_pont_params.print_link)&&i.init();var n={$menu_bar_item:t("#wp-admin-bar-vp-woo-pont-bg-generate-loading"),$link_stop:t("#vp-woo-pont-bg-generate-stop"),$link_refresh:t("#vp-woo-pont-bg-generate-refresh"),finished:!1,nonce:"",init:function(){this.$link_stop.on("click",this.stop),this.$link_refresh.on("click",this.reload_page),this.nonce=this.$link_stop.data("nonce");var t=this.refresh;setTimeout(t,5e3)},reload_page:function(){return location.reload(),!1},stop:function(){var e={action:"vp_woo_pont_bg_generate_stop",nonce:n.nonce};return t.post(ajaxurl,e,(function(t){n.mark_stopped()})),!1},refresh:function(){var e={action:"vp_woo_pont_bg_generate_status",nonce:n.nonce};n.finished||t.post(ajaxurl,e,(function(t){t.data.finished?n.mark_finished():setTimeout(n.refresh,5e3)}))},mark_finished:function(){this.finished=!0,this.$menu_bar_item.addClass("finished")},mark_stopped:function(){this.mark_finished(),this.$menu_bar_item.addClass("stopped")}};t("#wp-admin-bar-vp-woo-pont-bg-generate-loading").length&&n.init();var s={$button:t(".vp_woo_pont_close_shipments"),$button_alt:t(".vp_woo_pont_close_orders"),$table:t(".vp-woo-pont-admin-shipments-table-pending"),$error:t(".vp-woo-pont-admin-shipments-notice"),$sampleRow:t("#tmpl-vp-woo-pont-shipment-result").html(),$results:t(".vp-woo-pont-admin-shipments-closed-packages"),provider:"",nonce:"",init:function(){this.nonce=this.$button.data("nonce"),this.provider=this.$button.data("provider"),this.$button.on("click",this.close_shipments),this.$button_alt.on("click",this.close_orders),t(document).on("click",".vp-woo-pont-shipments-show-all",(function(){return t(this).parent().find("li.hidden").removeClass("hidden"),t(this).hide(),!1})),t("#tiptip_holder").removeAttr("style"),t("#tiptip_arrow").removeAttr("style"),t(".tips").tipTip({attribute:"data-tip",fadeIn:50,fadeOut:50,delay:50})},reload_page:function(){return location.reload(),!1},close_orders:function(){var e={action:"vp_woo_pont_close_orders",nonce:s.nonce,orders:[],provider:s.provider};return s.$table.find('input[name="selected_packages"]:checked').each((function(){var o=t(this).data("order");e.orders.push(o)})),s.$table.block({message:null,overlayCSS:{background:"#F5F5F5 url("+vp_woo_pont_params.loading+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),t.post(ajaxurl,e,(function(t){t.success?s.reload_page():(s.$error.find("p").text(t.data.message),s.$error.show()),s.$table.unblock()})),!1},close_shipments:function(e){var o={action:"vp_woo_pont_close_shipments",nonce:s.nonce,packages:[],orders:[],provider:s.provider,shipments:[]};return s.$table.find('input[name="selected_packages"]:checked').each((function(){var e=t(this).val(),i=t(this).data("order");o.packages.push(e),o.orders.push(i),o.shipments.push({order:i,package:e})})),s.$table.block({message:null,overlayCSS:{background:"#F5F5F5 url("+vp_woo_pont_params.loading+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),t.post(ajaxurl,o,(function(e){if(!e.data.error){e.data.failed&&(s.$error.find("p").text(e.data.message),s.$error.append("<p>"+e.data.failed.join(", ")+"</p>"),s.$error.append("<p>Hiba\xfczenet:</p>"),s.$error.append("<p>"+JSON.stringify(e.data.errors)+"</p>"),s.$error.show());for(const[t,o]of Object.entries(e.data.processed))s.$table.find('input[data-order="'+o+'"]').parents("tr").remove();0==s.$table.find("tbody tr").length&&t(".vp-woo-pont-admin-shipments-pending-container").hide();var o=t(s.$sampleRow);o.find(".column-id").text(e.data.shipment_id),o.find(".column-time").text((new Date).toLocaleString());var i=t('<a href="#">').text(Object.entries(e.data.processed).length+" rendel\xe9s"),n=e.data.download_path;o.find(".column-orders").html(i);var a=o.find(".vp-woo-pont-admin-shipments-download-link").clone();for(var r in o.find(".column-pdf").html(""),e.data.documents)if(e.data.documents.hasOwnProperty(r)){var h=a.clone();h.find("a").attr("href",n+e.data.documents[r]),h.find(".vp-woo-pont-provider-icon").addClass("vp-woo-pont-provider-icon-"+r),o.find(".column-pdf").append(h)}s.$results.find("tbody").prepend(o),s.$results.show()}e.data.error&&(s.$error.html("<p>"),s.$error.find("p").text(e.data.message),e.data.errors&&(s.$error.append("<p>Hiba\xfczenet:</p>"),s.$error.append("<p>"+JSON.stringify(e.data.errors)+"</p>")),s.$error.show(),t("html, body").animate({scrollTop:0},500)),s.$table.unblock()})),!1}};(t(".vp_woo_pont_close_shipments").length||t(".vp-woo-pont-admin-shipments-table").length)&&s.init();var a={prefix:"vp_woo_pont_",prefix_id:"#vp_woo_pont_",prefix_class:".vp-woo-pont-",selected_provider:"",$metaboxContent:t("#vp_woo_pont_metabox .inside"),$optionsContent:t(".vp-woo-pont-metabox-generate-options"),$generateContent:t(".vp-woo-pont-metabox-generate"),$optionsButton:t("#vp_woo_pont_label_options"),$generateButtonLabel:t("#vp_woo_pont_label_generate"),$pointRow:t(".vp-woo-pont-metabox-rows-data-provider"),$labelRow:t(".vp-woo-pont-metabox-rows-label"),$trackingRow:t(".vp-woo-pont-metabox-rows-link-tracking"),$parcelCountRow:t(".vp-woo-pont-metabox-rows-parcel-count"),$voidRow:t(".vp-woo-pont-metabox-rows-data-void"),$removeRow:t(".vp-woo-pont-metabox-rows-data-remove"),$replaceRow:t(".vp-woo-pont-metabox-rows-data-replace"),$messages:t(".vp-woo-pont-metabox-messages-label"),$providerRow:t(".vp-woo-pont-metabox-rows-data-provider"),$homeDeliveryProviders:t(".vp-woo-pont-metabox-rows-data-home-delivery-providers"),$modifyProviderButton:t("#vp_woo_pont_modify_provider"),$homeDeliveryProviderInput:t('input[name="home_delivery_provider"]'),nonce:t("#vp_woo_pont_metabox .vp-woo-pont-metabox-content").data("nonce"),order:t("#vp_woo_pont_metabox .vp-woo-pont-metabox-content").data("order"),$updateTrackingInfoButton:t("#vp_woo_pont_update_tracking_info"),$trackingInfoList:t("#vp_woo_pont_tracking_info_list"),$trackingMessages:t(".vp-woo-pont-metabox-messages-tracking"),$weightField:t("#vp_woo_pont_package_weight"),$shipmentRow:t(".vp-woo-pont-metabox-rows-data-shipment"),$transspedPackages:t(".vp-woo-pont-transsped-packaging"),selected_replacement:!1,init:function(){this.$optionsButton.on("click",this.show_options),this.$generateButtonLabel.on("click",this.generate_label),this.$removeRow.find("a").on("click",this.remove_point),this.$replaceRow.find("a").on("click",this.replace_point),this.$voidRow.find("a").on("click",this.void_label),this.$messages.find("a").on("click",this.hide_message),this.$trackingMessages.find("a").on("click",this.hide_message),this.$modifyProviderButton.on("click",this.show_provider_options),this.$homeDeliveryProviderInput.on("change",this.on_provider_change),this.$updateTrackingInfoButton.on("click",this.update_tracking_info),this.$shipmentRow.find("a.undo").on("click",this.undo_shipment),t(document).on("change",'.vp-woo-pont-modal-replace input[name="replacement_point_provider"]',this.on_replacement_provider_change),t(document).on("keyup",".vp-woo-pont-modal-replace #vp-woo-pont-modal-replace-search",this.on_replacement_search),t(document).on("click",".vp-woo-pont-modal-replace-results li.result",this.save_replacement_point),this.selected_provider=t("#vp_woo_pont_metabox .vp-woo-pont-metabox-content").data("provider_id"),a.toggle_options(),vp_woo_pont_params.show_settings_metabox&&a.show_options(),this.$weightField.keypress((function(t){return 13!==t.keyCode||(a.save_weight(),!1)})),this.generate_label_print_layout(),t(document).on("click",".vp-woo-pont-metabox-rows-label-print div",this.print_label),this.$transspedPackages.find(".qty a").on("click",this.transsped.qty_change),this.transsped.set_global_qty(),t(".vp-woo-pont-package-size").length&&this.packaging.init()},packaging:{init:function(){t("#vp_woo_pont_packaging_type_custom").is(":checked")&&t(".vp-woo-pont-package-size-custom").show(),t(document).on("change",'.vp-woo-pont-package-size input[name="vp_woo_pont_packaging_type"]',this.on_change),t(document).on("blur",".vp-woo-pont-package-size-custom input",this.on_custom_size_change)},toggle_custom:function(e){"custom"==e?t(".vp-woo-pont-package-size-custom").show():t(".vp-woo-pont-package-size-custom").hide()},on_change:function(){var e=t(this).val();a.packaging.toggle_custom(e),"custom"!=e?a.packaging.update_packaging_details():a.packaging.on_custom_size_change()},on_custom_size_change:function(){var e=t(".vp-woo-pont-package-size-custom"),o=e.find('input[name="vp_woo_pont_packaging_length"]').val(),i=e.find('input[name="vp_woo_pont_packaging_width"]').val(),n=e.find('input[name="vp_woo_pont_packaging_height"]').val();o&&i&&n&&a.packaging.update_packaging_details()},update_packaging_details:function(){var e=t(".vp-woo-pont-package-size");a.loading_indicator(e,"#fff");var o=e.find('input[name="vp_woo_pont_packaging_type"]:checked'),i={action:a.prefix+"update_package_details",nonce:vp_woo_pont_params.nonces.generate,order:a.order,packaging_name:o.data("name"),packaging_sku:o.val(),packaging_length:e.find('input[name="vp_woo_pont_packaging_length"]').val(),packaging_width:e.find('input[name="vp_woo_pont_packaging_width"]').val(),packaging_height:e.find('input[name="vp_woo_pont_packaging_height"]').val()};t.post(ajaxurl,i,(function(t){e.unblock()}))}},transsped:{qty_change:function(){var e=t(this).parent().find("input"),o=parseInt(e.val());return t(this).parent().find(".value"),t(this).hasClass("minus")?o-=1:o+=1,o<0&&(o=0),e.val(o),a.transsped.set_global_qty(),!1},set_global_qty:function(){var e=a.$transspedPackages.find(".total-qty"),o=0;a.$transspedPackages.find("li").each((function(){var e=t(this).find("input"),i=t(this).find(".value"),n=parseInt(e.val());i.text(n),o+=n,n>0?t(this).addClass("active"):t(this).removeClass("active")})),e.text(o)}},loading_indicator:function(t,e){a.hide_message(),t.block({message:null,overlayCSS:{background:e+" url("+vp_woo_pont_params.loading+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}})},save_weight:function(){var e={action:a.prefix+"update_package_details",nonce:vp_woo_pont_params.nonces.generate,order:a.order,weight:a.$weightField.val()};a.$weightField.parent().addClass("saved"),setTimeout((function(){a.$weightField.parent().removeClass("saved")}),1500),t.post(ajaxurl,e,(function(t){}))},show_options:function(){return a.$optionsButton.toggleClass("active"),a.$optionsContent.slideToggle(),!1},toggle_options:function(){a.$optionsContent.find(".vp-woo-pont-metabox-generate-options-item").each((function(){var e=t(this),o=e.data("providers"),i=a.selected_provider;e.show(),o&&e.addClass("selected"),o&&!o.includes(i)&&(e.hide(),e.removeClass("selected"))}))},generate_label:function(){t(this);var e=t("#vp_woo_pont_package_count").val(),o=t("#vp_woo_pont_pickup_date").val(),i=t("#vp_woo_pont_package_contents").val(),n=t("#vp_woo_pont_package_weight").val(),s=t('.selected input[name="vp_woo_pont_extra_services"]:checked').map((function(){return this.value})).get(),r={};a.$transspedPackages.find("li").each((function(){var e=t(this).find("input"),o=e.attr("name").match(/\[(.*?)\]/)[1],i=parseInt(e.val());i>0&&(r[o]=i)}));var h={action:a.prefix+"generate_label",nonce:a.nonce,order:a.order,package_count:e,pickup_date:o,package_contents:i,package_weight:n,extra_services:s,transsped_packaging:r,source:"metabox"};return t('input[name="home_delivery_provider"]:checked').val()&&(h.provider=t('input[name="home_delivery_provider"]:checked').val()),a.loading_indicator(a.$metaboxContent,"#fff"),t.post(ajaxurl,h,(function(t){if(a.$metaboxContent.unblock(),a.show_messages(t),!t.data.error){if(a.$labelRow.slideDown(),a.$labelRow.find(),a.$labelRow.find("a").attr("href",t.data.pdf),a.$trackingRow.find("strong").text(t.data.number),a.$generateContent.slideUp(),h.package_count>1){a.$parcelCountRow.slideDown();var e=a.$parcelCountRow.find("strong").data("qty");a.$parcelCountRow.find("strong").text(h.package_count+" "+e)}a.generate_label_print_layout(),t.data.pending?(a.$labelRow.addClass("pending"),a.add_to_heartbeat("label")):(a.$trackingRow.slideDown(),a.$voidRow.slideDown())}})),!1},void_label_timeout:!1,void_label:function(){var e=t(this);if(e.hasClass("confirm")){clearTimeout(a.void_label_timeout),a.loading_indicator(a.$voidRow,"#fff");var o={action:a.prefix+"void_label",nonce:a.nonce,order:a.order};t.post(ajaxurl,o,(function(o){a.$voidRow.unblock(),a.show_messages(o),o.data.error||(a.$labelRow.slideUp(),a.$trackingRow.slideUp(),a.$parcelCountRow.slideUp(),a.$voidRow.slideUp((function(){e.text(o.data.completed),e.removeClass("confirm")})),t("#vp_woo_pont_metabox_tracking").slideUp(),a.$generateContent.slideDown(),t("#vp_woo_pont_metabox_kvikk").slideUp()),e.fadeOut((function(){e.text(e.data("trigger-value")),e.fadeIn(),e.removeClass("confirm")}))}))}else a.void_invoice_timeout=setTimeout((function(){e.fadeOut((function(){e.text(e.data("trigger-value")),e.fadeIn(),e.removeClass("confirm")}))}),5e3),e.addClass("confirm"),e.fadeOut((function(){e.text(e.data("question")),e.fadeIn()}));return!1},remove_point_timeout:!1,remove_point:function(){var e=t(this);if(e.hasClass("confirm")){clearTimeout(a.remove_point_timeout),a.loading_indicator(a.$removeRow,"#fff");var o={action:a.prefix+"remove_point",nonce:a.nonce,order:a.order};t.post(ajaxurl,o,(function(t){a.$removeRow.unblock(),t.success&&(a.$pointRow.slideUp(),a.$removeRow.slideUp((function(){e.removeClass("confirm")}))),e.fadeOut((function(){e.text(e.data("trigger-value")),e.fadeIn(),e.removeClass("confirm")}))}))}else a.void_invoice_timeout=setTimeout((function(){e.fadeOut((function(){e.text(e.data("trigger-value")),e.fadeIn(),e.removeClass("confirm")}))}),5e3),e.addClass("confirm"),e.fadeOut((function(){e.text(e.data("question")),e.fadeIn()}));return!1},show_messages:function(e){var o=this.$messages;e.container&&(o=e.container),e.data.messages&&e.data.messages.length>0&&(o.removeClass("vp-woo-pont-metabox-messages-success"),o.removeClass("vp-woo-pont-metabox-messages-error"),e.data.error?o.addClass("vp-woo-pont-metabox-messages-error"):o.addClass("vp-woo-pont-metabox-messages-success"),$ul=o.find("ul"),$ul.html(""),t.each(e.data.messages,(function(e,o){var i=t("<li>");i.append(o),$ul.append(i)})),o.slideDown())},hide_message:function(){return a.$messages.slideUp(),a.$trackingMessages.slideUp(),!1},on_replacement_provider_change:function(){t(".vp-woo-pont-modal-replace-providers li").removeClass("selected"),t(this).parents("li").addClass("selected"),t(".vp-woo-pont-modal-replace-options li.category").removeClass("selected");var e=t(this).val();t(this).parents("li").hasClass("loaded")?t(".vp-woo-pont-modal-replace-options li.category#"+e).addClass("selected"):(a.load_replacement_points(e),t(this).parents("li").addClass("loaded")),t("#vp-woo-pont-modal-replace-search").trigger("keyup")},load_replacement_points:function(o){e.json_data_points.forEach((function(e){if(e.provider==o&&!t(".vp-woo-pont-modal-replace-results li#"+o).length){var i=t("<li>").attr("id",e.provider);i.addClass("category"),i.addClass("selected");var n=t("<ul>");e.data.forEach((function(e){var i=t("<strong>").text(e.name),s=t("<span>").text(e.zip+" "+e.city+" "+e.addr),a=t("<li>").addClass("result").data("point_id",e.id).data("provider",o).append(i,s);n.append(a)})),i.append(n),t(".vp-woo-pont-modal-replace-results").append(i)}}))},replace_point:function(){t(this).WCBackboneModal({template:"vp-woo-pont-modal-replace",variable:{}});var o=t(this).data("provider_id"),i=t(".vp-woo-pont-modal-replace-providers").find('input[value="'+o+'"]');return i.length||(i=t(".vp-woo-pont-modal-replace-providers li:first input")),i.prop("checked",!0),i.parents("li").addClass("selected"),t(".vp-woo-pont-modal-replace-providers input").map((function(){return this.value})).get(),e.load_json_files((function(){i.trigger("change")})),!1},on_replacement_search:function(){var e=t(this).val().toLowerCase();t(".vp-woo-pont-modal-replace-results li.selected li").each((function(){-1!==t(this).text().toLowerCase().indexOf(e)?t(this).show():t(this).hide()}))},save_replacement_point:function(){var e=t(".vp-woo-pont-modal-replace");a.loading_indicator(e,"#fff");var o={action:a.prefix+"replace_point",nonce:a.nonce,order:a.order,provider:t(this).data("provider"),point_id:t(this).data("point_id")};return t.post(ajaxurl,o,(function(o){e.unblock(),t(".modal-close-link").trigger("click"),a.show_messages(o),o.success&&(a.$pointRow.slideDown(),a.$pointRow.find("strong").text(o.data.provider_label),a.$pointRow.find("span").text(o.data.point_name),a.$pointRow.find("i").removeAttr("class").addClass("vp-woo-pont-provider-icon-"+o.data.provider),a.selected_provider=o.data.carrier,a.toggle_options(),a.$replaceRow.find("a").data("provider_id",o.data.provider),t(document.body).trigger("vp_woo_pont_metabox_pickup_point_changed"))})),!1},add_to_heartbeat:function(){t(document).on("heartbeat-send",(function(t,e){e.vp_woo_pont_label_generate=!0,e.vp_woo_pont_order_id=a.order}))},show_provider_options:function(){return t(".vp-woo-pont-metabox-rows-data-home-delivery-providers-info").removeClass("show"),a.$providerRow.slideUp(),a.$homeDeliveryProviders.slideDown(),!1},on_provider_change:function(){var e=t('input[name="home_delivery_provider"]:checked').data("label"),o=t('input[name="home_delivery_provider"]:checked').val(),i={action:a.prefix+"save_provider",nonce:a.nonce,order:a.order,provider:o};a.selected_provider=o,a.toggle_options(),t.post(ajaxurl,i),a.$providerRow.find("strong").text(e),a.$providerRow.find("i").attr("class","vp-woo-pont-provider-icon-"+o),a.$providerRow.slideDown(),a.$homeDeliveryProviders.slideUp(),a.$generateContent.addClass("show")},update_tracking_info:function(){t(this),a.loading_indicator(a.$trackingInfoList,"#fff");var e={action:a.prefix+"update_tracking_info",nonce:vp_woo_pont_params.nonces.tracking,order:a.order};return t.post(ajaxurl,e,(function(t){if(a.$trackingInfoList.unblock(),t.container=a.$trackingMessages,a.show_messages(t),!t.data.error&&t.data.tracking_info.length>a.$trackingInfoList.find("li").length-1){var e=t.data.tracking_info[0],o=a.$trackingInfoList.find(".note-sample").clone();o.removeClass("note-sample"),o.find(".note_content p").text(e.label),o.find(".exact-date").text(e.date),o.show(),setTimeout((function(){o.removeClass("customer-note")}),3e3),a.$trackingInfoList.prepend(o)}})),!1},generate_label_print_layout:function(){var e=a.selected_provider;e.includes("posta")&&(e="posta");var o=vp_woo_pont_params.sticker_parameters[e];if(o&&o.format){var i=t(".vp-woo-pont-metabox-rows-label-print");i.html(""),i.addClass(o.format),i.attr("data-sections",o.sections),i.attr("data-layout",o.layout),i.attr("data-format",o.format);for(let e of Array(o.sections).keys()){var n=t("<div>");n.data("page",e+1),0==e&&n.addClass("selected"),i.append(n)}}},print_label:function(){var e=t(this).data("page");t(".vp-woo-pont-metabox-rows-label-print div").removeClass("selected"),t(this).addClass("selected");var o=vp_woo_pont_params.print_url;return o=(o=o.replace("X",a.order)).replace("Y",e),a.loading_indicator(a.$labelRow,"#fff"),printJS({printable:o,onLoadingEnd:function(){a.$labelRow.unblock()}}),!1},undo_shipment_timeout:!1,undo_shipment:function(){var e=t(this);if(e.hasClass("confirm")){clearTimeout(a.undo_shipment_timeout),a.loading_indicator(a.$shipmentRow,"#fff");var o={action:a.prefix+"undo_shipment",nonce:a.nonce,order:a.order};t.post(ajaxurl,o,(function(t){a.$shipmentRow.unblock(),a.show_messages(t),t.data.error||a.$shipmentRow.slideUp(),e.fadeOut((function(){e.text(e.data("trigger-value")),e.fadeIn(),e.removeClass("confirm")}))}))}else a.undo_shipment_timeout=setTimeout((function(){e.fadeOut((function(){e.text(e.data("trigger-value")),e.fadeIn(),e.removeClass("confirm")}))}),5e3),e.addClass("confirm"),e.fadeOut((function(){e.text(e.data("question")),e.fadeIn()}));return!1}};t("#vp_woo_pont_metabox").length&&a.init();var r={$map:!1,$filters:t(".vp-woo-pont-modal-sidebar-filters"),$list:t(".vp-woo-pont-modal-sidebar-results"),saved_values:!1,sample_providers:[{id:"foxpost",label:"Foxpost"},{id:"gls",label:"GLS"},{id:"mpl",label:"Postapont"}],sample_points:[{provider:"foxpost",id:1,lat:"47.94137",lon:"21.71191",name:"Ny\xedregyh\xe1za ALDI M\xf3ricz Zsigmond utca",zip:"4400",addr:"M\xf3ricz Zsigmond utca 25.",city:"Ny\xedregyh\xe1za"},{provider:"gls",id:2,lat:"47.58137",lon:"19.04877",zip:"1039",addr:"Szentendrei \xfat 255.",city:"BUDAPEST III. KER.",country:"hu",name:"GLS Automata MOL Szentendrei \xfat",hours:"00:00 - 24:00",comment:"HU460 sz\xe1m\xfa k\xfclt\xe9ri automat\xe1nk az ALDI bej\xe1rat\xe1t\xf3l jobbra, a Szarvas utca fel\u0151l tal\xe1lhat\xf3."},{provider:"mpl",id:3,group:10,lat:"46.59523",lon:"17.17556",name:"Balatonmagyar\xf3d postapartner",zip:"8753",addr:"Pet\u0151fi utca 135.",city:"Balatonmagyar\xf3d"},{provider:"mpl",id:4,group:10,lat:"46.91638",lon:"19.91863",name:"Szentkir\xe1ly postapartner",zip:"6031",addr:"Kossuth Lajos utca 25/C.",city:"Szentkir\xe1ly"},{provider:"foxpost",id:5,lat:"46.07529",lon:"18.24244",name:"P\xe9cs Mixvill Zsolnay utca",zip:"7630",addr:"Zsolnay utca 8.",city:"P\xe9cs"}],init:function(){t(document).on("click",".vp-woo-pont-appearance-editor",(function(){return t(this).WCBackboneModal({template:"vp-woo-pont-modal-design"}),r.generateSampleMap(),r.update_inline_css(),!1})),t(document).on("change",".vp-woo-pont-modal-design-form input",this.update_inline_css),t(document).on("input",".vp-woo-pont-modal-design-form input",this.update_inline_css),t(document).on("click",".vp-woo-pont-modal-design-save",this.save_design),t(document).on("click",".vp-woo-pont-modal-design-reset",this.reset_design)},generateSampleMap:function(){r.$map=o.map("vp-woo-pont-modal-map"),r.$map.setView([47.25525656277509,19.54590752720833],7),r.$map.zoomControl.setPosition("bottomright"),o.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:19,attribution:'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'}).addTo(r.$map),t(".vp-woo-pont-modal-sidebar-filters").html(""),r.sample_providers.forEach((function(e){console.log(e);var o=t('<li data-provider="'+e.id+'"><input type="checkbox" checked id="provider-'+e.id+'"><label for="provider-'+e.id+'"><i class="vp-woo-pont-provider-icon-'+e.id+'"></i><strong>'+e.label+"</strong><em>990 Ft</em></label></li>");t(".vp-woo-pont-modal-sidebar-filters").append(o)})),r.sample_points.forEach((function(t){var e=o.marker([t.lat,t.lon]),i=t.provider;"gls"==t.provider&&(i+=" selected");var n=o.divIcon({html:'<div><i class="vp-woo-pont-provider-icon-'+t.provider+'"></i></div>',className:"vp-woo-pont-marker "+i,iconSize:[48,55],iconAnchor:[24,52]});e.setIcon(n),e.addTo(r.$map)})),r.sample_points.forEach((function(e){var o=t("#vp-woo-pont-modal-list-item-sample").clone();o.removeAttr("id"),o.find(".name").text(e.name),o.find(".addr").text(e.addr+", "+e.zip+" "+e.city),o.find(".cost").html("990 Ft"),o.find(".comment").text(e.comment),o.attr("data-provider",e.provider),o.attr("data-id",e.id),o.find(".icon").addClass("vp-woo-pont-provider-icon-"+e.provider),e.hours&&(o.find(".open-hours .value").text(e.hours),o.find(".open-hours").addClass("has-hours")),"gls"==e.provider&&o.addClass("selected"),t(".vp-woo-pont-modal-sidebar-results").append(o)})),r.saved_values&&t(".vp-woo-pont-modal-design-form input").each((function(){var e=t(this).attr("name");e=e.replace("vp_woo_pont_",""),"checkbox"==t(this).attr("type")?r.saved_values[e]?t(this).prop("checked",!0):t(this).prop("checked",!1):r.saved_values[e]&&t(this).val(r.saved_values[e])}))},update_inline_css:function(){var e={},o=r.hex_to_rgba;t(".vp-woo-pont-modal-design-form input").each((function(){var o=t(this).attr("name");o=o.replace("vp_woo_pont_",""),"checkbox"==t(this).attr("type")?e[o]=t(this).is(":checked"):e[o]=t(this).val()})),document.documentElement.style.setProperty("--vp-woo-pont-primary-color",e.primary_color),document.documentElement.style.setProperty("--vp-woo-pont-primary-color-alpha-20",o(e.primary_color,.2)),document.documentElement.style.setProperty("--vp-woo-pont-primary-color-alpha-10",o(e.primary_color,.1)),document.documentElement.style.setProperty("--vp-woo-pont-primary-color-alpha-05",o(e.primary_color,.05)),document.documentElement.style.setProperty("--vp-woo-pont-text-color",e.text_color),document.documentElement.style.setProperty("--vp-woo-pont-price-color",e.price_color),document.documentElement.style.setProperty("--vp-woo-pont-cluster-large-color",o(e.cluster_large_color,.9)),document.documentElement.style.setProperty("--vp-woo-pont-cluster-medium-color",o(e.cluster_medium_color,.9)),document.documentElement.style.setProperty("--vp-woo-pont-cluster-small-color",o(e.cluster_small_color,.9)),document.documentElement.style.setProperty("--vp-woo-pont-title-font-size",e.title_font_size+"px"),document.documentElement.style.setProperty("--vp-woo-pont-text-font-size",e.text_font_size+"px"),document.documentElement.style.setProperty("--vp-woo-pont-price-font-size",e.price_font_size+"px"),t(".vp-woo-pont-modal-sidebar-results .open-hours").toggleClass("has-hours",e.show_open_hours),t(".vp-woo-pont-modal-sidebar-filters").toggleClass("show-checkbox",e.filter_checkbox)},hex_to_rgba:function(t,e){return"rgba("+(t=t.replace("#","")).match(new RegExp("(.{"+t.length/3+"})","g")).map((function(e){return parseInt(t.length%2?e+e:e,16)})).concat(isFinite(e)?e:1).join(",")+")"},save_design:function(){var e=t(this).parent(),o={action:"vp_woo_pont_save_design",nonce:vp_woo_pont_params.nonces.settings,values:{}};t(".vp-woo-pont-modal-design-form input").each((function(){var e=t(this).attr("name");e=e.replace("vp_woo_pont_",""),"checkbox"==t(this).attr("type")?o.values[e]=t(this).is(":checked"):o.values[e]=t(this).val()})),e.block({message:null,overlayCSS:{background:"#fff url("+vp_woo_pont_params.loading+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),t.post(ajaxurl,o,(function(t){r.saved_values=o.values,e.unblock()}))},reset_design:function(){return t(".vp-woo-pont-modal-design-form input").each((function(){t(this).data("default")&&t(this).val(t(this).data("default"))})),r.update_inline_css(),!1}};t(".vp-woo-pont-appearance-editor").length&&r.init()}))}();
     5 */t=this,e=function(t){"use strict";function e(t){var e,o,i,n;for(o=1,i=arguments.length;o<i;o++)for(e in n=arguments[o])t[e]=n[e];return t}var o=Object.create||function(){function t(){}return function(e){return t.prototype=e,new t}}();function i(t,e){var o=Array.prototype.slice;if(t.bind)return t.bind.apply(t,o.call(arguments,1));var i=o.call(arguments,2);return function(){return t.apply(e,i.length?i.concat(o.call(arguments)):arguments)}}var n=0;function s(t){return"_leaflet_id"in t||(t._leaflet_id=++n),t._leaflet_id}function a(t,e,o){var i,n,s,a;return a=function(){i=!1,n&&(s.apply(o,n),n=!1)},s=function(){i?n=arguments:(t.apply(o,arguments),setTimeout(a,e),i=!0)}}function r(t,e,o){var i=e[1],n=e[0],s=i-n;return t===i&&o?t:((t-n)%s+s)%s+n}function l(){return!1}function h(t,e){if(!1===e)return t;var o=Math.pow(10,void 0===e?6:e);return Math.round(t*o)/o}function p(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function d(t){return p(t).split(/\s+/)}function c(t,e){for(var i in Object.prototype.hasOwnProperty.call(t,"options")||(t.options=t.options?o(t.options):{}),e)t.options[i]=e[i];return t.options}function u(t,e,o){var i=[];for(var n in t)i.push(encodeURIComponent(o?n.toUpperCase():n)+"="+encodeURIComponent(t[n]));return(e&&-1!==e.indexOf("?")?"&":"?")+i.join("&")}var _=/\{ *([\w_ -]+) *\}/g;function m(t,e){return t.replace(_,(function(t,o){var i=e[o];if(void 0===i)throw new Error("No value provided for variable "+t);return"function"==typeof i&&(i=i(e)),i}))}var f=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function v(t,e){for(var o=0;o<t.length;o++)if(t[o]===e)return o;return-1}var g="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function y(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}var w=0;function b(t){var e=+new Date,o=Math.max(0,16-(e-w));return w=e+o,window.setTimeout(t,o)}var x=window.requestAnimationFrame||y("RequestAnimationFrame")||b,k=window.cancelAnimationFrame||y("CancelAnimationFrame")||y("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};function C(t,e,o){if(!o||x!==b)return x.call(window,i(t,e));t.call(e)}function P(t){t&&k.call(window,t)}var T={__proto__:null,extend:e,create:o,bind:i,get lastId(){return n},stamp:s,throttle:a,wrapNum:r,falseFn:l,formatNum:h,trim:p,splitWords:d,setOptions:c,getParamString:u,template:m,isArray:f,indexOf:v,emptyImageUrl:g,requestFn:x,cancelFn:k,requestAnimFrame:C,cancelAnimFrame:P};function M(){}M.extend=function(t){var i=function(){c(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},n=i.__super__=this.prototype,s=o(n);for(var a in s.constructor=i,i.prototype=s,this)Object.prototype.hasOwnProperty.call(this,a)&&"prototype"!==a&&"__super__"!==a&&(i[a]=this[a]);return t.statics&&e(i,t.statics),t.includes&&(function(t){if("undefined"!=typeof L&&L&&L.Mixin){t=f(t)?t:[t];for(var e=0;e<t.length;e++)t[e]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",(new Error).stack)}}(t.includes),e.apply(null,[s].concat(t.includes))),e(s,t),delete s.statics,delete s.includes,s.options&&(s.options=n.options?o(n.options):{},e(s.options,t.options)),s._initHooks=[],s.callInitHooks=function(){if(!this._initHooksCalled){n.callInitHooks&&n.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,e=s._initHooks.length;t<e;t++)s._initHooks[t].call(this)}},i},M.include=function(t){var o=this.prototype.options;return e(this.prototype,t),t.options&&(this.prototype.options=o,this.mergeOptions(t.options)),this},M.mergeOptions=function(t){return e(this.prototype.options,t),this},M.addInitHook=function(t){var e=Array.prototype.slice.call(arguments,1),o="function"==typeof t?t:function(){this[t].apply(this,e)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(o),this};var z={on:function(t,e,o){if("object"==typeof t)for(var i in t)this._on(i,t[i],e);else for(var n=0,s=(t=d(t)).length;n<s;n++)this._on(t[n],e,o);return this},off:function(t,e,o){if(arguments.length)if("object"==typeof t)for(var i in t)this._off(i,t[i],e);else{t=d(t);for(var n=1===arguments.length,s=0,a=t.length;s<a;s++)n?this._off(t[s]):this._off(t[s],e,o)}else delete this._events;return this},_on:function(t,e,o,i){if("function"==typeof e){if(!1===this._listens(t,e,o)){o===this&&(o=void 0);var n={fn:e,ctx:o};i&&(n.once=!0),this._events=this._events||{},this._events[t]=this._events[t]||[],this._events[t].push(n)}}else console.warn("wrong listener type: "+typeof e)},_off:function(t,e,o){var i,n,s;if(this._events&&(i=this._events[t]))if(1!==arguments.length)if("function"==typeof e){var a=this._listens(t,e,o);if(!1!==a){var r=i[a];this._firingCount&&(r.fn=l,this._events[t]=i=i.slice()),i.splice(a,1)}}else console.warn("wrong listener type: "+typeof e);else{if(this._firingCount)for(n=0,s=i.length;n<s;n++)i[n].fn=l;delete this._events[t]}},fire:function(t,o,i){if(!this.listens(t,i))return this;var n=e({},o,{type:t,target:this,sourceTarget:o&&o.sourceTarget||this});if(this._events){var s=this._events[t];if(s){this._firingCount=this._firingCount+1||1;for(var a=0,r=s.length;a<r;a++){var l=s[a],h=l.fn;l.once&&this.off(t,h,l.ctx),h.call(l.ctx||this,n)}this._firingCount--}}return i&&this._propagateEvent(n),this},listens:function(t,e,o,i){"string"!=typeof t&&console.warn('"string" type argument expected');var n=e;"function"!=typeof e&&(i=!!e,n=void 0,o=void 0);var s=this._events&&this._events[t];if(s&&s.length&&!1!==this._listens(t,n,o))return!0;if(i)for(var a in this._eventParents)if(this._eventParents[a].listens(t,e,o,i))return!0;return!1},_listens:function(t,e,o){if(!this._events)return!1;var i=this._events[t]||[];if(!e)return!!i.length;o===this&&(o=void 0);for(var n=0,s=i.length;n<s;n++)if(i[n].fn===e&&i[n].ctx===o)return n;return!1},once:function(t,e,o){if("object"==typeof t)for(var i in t)this._on(i,t[i],e,!0);else for(var n=0,s=(t=d(t)).length;n<s;n++)this._on(t[n],e,o,!0);return this},addEventParent:function(t){return this._eventParents=this._eventParents||{},this._eventParents[s(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[s(t)],this},_propagateEvent:function(t){for(var o in this._eventParents)this._eventParents[o].fire(t.type,e({layer:t.target,propagatedFrom:t.target},t),!0)}};z.addEventListener=z.on,z.removeEventListener=z.clearAllEventListeners=z.off,z.addOneTimeEventListener=z.once,z.fireEvent=z.fire,z.hasEventListeners=z.listens;var S=M.extend(z);function E(t,e,o){this.x=o?Math.round(t):t,this.y=o?Math.round(e):e}var Z=Math.trunc||function(t){return t>0?Math.floor(t):Math.ceil(t)};function O(t,e,o){return t instanceof E?t:f(t)?new E(t[0],t[1]):null==t?t:"object"==typeof t&&"x"in t&&"y"in t?new E(t.x,t.y):new E(t,e,o)}function A(t,e){if(t)for(var o=e?[t,e]:t,i=0,n=o.length;i<n;i++)this.extend(o[i])}function I(t,e){return!t||t instanceof A?t:new A(t,e)}function B(t,e){if(t)for(var o=e?[t,e]:t,i=0,n=o.length;i<n;i++)this.extend(o[i])}function R(t,e){return t instanceof B?t:new B(t,e)}function j(t,e,o){if(isNaN(t)||isNaN(e))throw new Error("Invalid LatLng object: ("+t+", "+e+")");this.lat=+t,this.lng=+e,void 0!==o&&(this.alt=+o)}function N(t,e,o){return t instanceof j?t:f(t)&&"object"!=typeof t[0]?3===t.length?new j(t[0],t[1],t[2]):2===t.length?new j(t[0],t[1]):null:null==t?t:"object"==typeof t&&"lat"in t?new j(t.lat,"lng"in t?t.lng:t.lon,t.alt):void 0===e?null:new j(t,e,o)}E.prototype={clone:function(){return new E(this.x,this.y)},add:function(t){return this.clone()._add(O(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(O(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},scaleBy:function(t){return new E(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new E(this.x/t.x,this.y/t.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=Z(this.x),this.y=Z(this.y),this},distanceTo:function(t){var e=(t=O(t)).x-this.x,o=t.y-this.y;return Math.sqrt(e*e+o*o)},equals:function(t){return(t=O(t)).x===this.x&&t.y===this.y},contains:function(t){return t=O(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+h(this.x)+", "+h(this.y)+")"}},A.prototype={extend:function(t){var e,o;if(!t)return this;if(t instanceof E||"number"==typeof t[0]||"x"in t)e=o=O(t);else if(e=(t=I(t)).min,o=t.max,!e||!o)return this;return this.min||this.max?(this.min.x=Math.min(e.x,this.min.x),this.max.x=Math.max(o.x,this.max.x),this.min.y=Math.min(e.y,this.min.y),this.max.y=Math.max(o.y,this.max.y)):(this.min=e.clone(),this.max=o.clone()),this},getCenter:function(t){return O((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return O(this.min.x,this.max.y)},getTopRight:function(){return O(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(t){var e,o;return(t="number"==typeof t[0]||t instanceof E?O(t):I(t))instanceof A?(e=t.min,o=t.max):e=o=t,e.x>=this.min.x&&o.x<=this.max.x&&e.y>=this.min.y&&o.y<=this.max.y},intersects:function(t){t=I(t);var e=this.min,o=this.max,i=t.min,n=t.max,s=n.x>=e.x&&i.x<=o.x,a=n.y>=e.y&&i.y<=o.y;return s&&a},overlaps:function(t){t=I(t);var e=this.min,o=this.max,i=t.min,n=t.max,s=n.x>e.x&&i.x<o.x,a=n.y>e.y&&i.y<o.y;return s&&a},isValid:function(){return!(!this.min||!this.max)},pad:function(t){var e=this.min,o=this.max,i=Math.abs(e.x-o.x)*t,n=Math.abs(e.y-o.y)*t;return I(O(e.x-i,e.y-n),O(o.x+i,o.y+n))},equals:function(t){return!!t&&(t=I(t),this.min.equals(t.getTopLeft())&&this.max.equals(t.getBottomRight()))}},B.prototype={extend:function(t){var e,o,i=this._southWest,n=this._northEast;if(t instanceof j)e=t,o=t;else{if(!(t instanceof B))return t?this.extend(N(t)||R(t)):this;if(e=t._southWest,o=t._northEast,!e||!o)return this}return i||n?(i.lat=Math.min(e.lat,i.lat),i.lng=Math.min(e.lng,i.lng),n.lat=Math.max(o.lat,n.lat),n.lng=Math.max(o.lng,n.lng)):(this._southWest=new j(e.lat,e.lng),this._northEast=new j(o.lat,o.lng)),this},pad:function(t){var e=this._southWest,o=this._northEast,i=Math.abs(e.lat-o.lat)*t,n=Math.abs(e.lng-o.lng)*t;return new B(new j(e.lat-i,e.lng-n),new j(o.lat+i,o.lng+n))},getCenter:function(){return new j((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new j(this.getNorth(),this.getWest())},getSouthEast:function(){return new j(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){t="number"==typeof t[0]||t instanceof j||"lat"in t?N(t):R(t);var e,o,i=this._southWest,n=this._northEast;return t instanceof B?(e=t.getSouthWest(),o=t.getNorthEast()):e=o=t,e.lat>=i.lat&&o.lat<=n.lat&&e.lng>=i.lng&&o.lng<=n.lng},intersects:function(t){t=R(t);var e=this._southWest,o=this._northEast,i=t.getSouthWest(),n=t.getNorthEast(),s=n.lat>=e.lat&&i.lat<=o.lat,a=n.lng>=e.lng&&i.lng<=o.lng;return s&&a},overlaps:function(t){t=R(t);var e=this._southWest,o=this._northEast,i=t.getSouthWest(),n=t.getNorthEast(),s=n.lat>e.lat&&i.lat<o.lat,a=n.lng>e.lng&&i.lng<o.lng;return s&&a},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t,e){return!!t&&(t=R(t),this._southWest.equals(t.getSouthWest(),e)&&this._northEast.equals(t.getNorthEast(),e))},isValid:function(){return!(!this._southWest||!this._northEast)}},j.prototype={equals:function(t,e){return!!t&&(t=N(t),Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng))<=(void 0===e?1e-9:e))},toString:function(t){return"LatLng("+h(this.lat,t)+", "+h(this.lng,t)+")"},distanceTo:function(t){return F.distance(this,N(t))},wrap:function(){return F.wrapLatLng(this)},toBounds:function(t){var e=180*t/40075017,o=e/Math.cos(Math.PI/180*this.lat);return R([this.lat-e,this.lng-o],[this.lat+e,this.lng+o])},clone:function(){return new j(this.lat,this.lng,this.alt)}};var D,$={latLngToPoint:function(t,e){var o=this.projection.project(t),i=this.scale(e);return this.transformation._transform(o,i)},pointToLatLng:function(t,e){var o=this.scale(e),i=this.transformation.untransform(t,o);return this.projection.unproject(i)},project:function(t){return this.projection.project(t)},unproject:function(t){return this.projection.unproject(t)},scale:function(t){return 256*Math.pow(2,t)},zoom:function(t){return Math.log(t/256)/Math.LN2},getProjectedBounds:function(t){if(this.infinite)return null;var e=this.projection.bounds,o=this.scale(t);return new A(this.transformation.transform(e.min,o),this.transformation.transform(e.max,o))},infinite:!1,wrapLatLng:function(t){var e=this.wrapLng?r(t.lng,this.wrapLng,!0):t.lng;return new j(this.wrapLat?r(t.lat,this.wrapLat,!0):t.lat,e,t.alt)},wrapLatLngBounds:function(t){var e=t.getCenter(),o=this.wrapLatLng(e),i=e.lat-o.lat,n=e.lng-o.lng;if(0===i&&0===n)return t;var s=t.getSouthWest(),a=t.getNorthEast();return new B(new j(s.lat-i,s.lng-n),new j(a.lat-i,a.lng-n))}},F=e({},$,{wrapLng:[-180,180],R:6371e3,distance:function(t,e){var o=Math.PI/180,i=t.lat*o,n=e.lat*o,s=Math.sin((e.lat-t.lat)*o/2),a=Math.sin((e.lng-t.lng)*o/2),r=s*s+Math.cos(i)*Math.cos(n)*a*a,l=2*Math.atan2(Math.sqrt(r),Math.sqrt(1-r));return this.R*l}}),G={R:6378137,MAX_LATITUDE:85.0511287798,project:function(t){var e=Math.PI/180,o=this.MAX_LATITUDE,i=Math.max(Math.min(o,t.lat),-o),n=Math.sin(i*e);return new E(this.R*t.lng*e,this.R*Math.log((1+n)/(1-n))/2)},unproject:function(t){var e=180/Math.PI;return new j((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*e,t.x*e/this.R)},bounds:(D=6378137*Math.PI,new A([-D,-D],[D,D]))};function H(t,e,o,i){if(f(t))return this._a=t[0],this._b=t[1],this._c=t[2],void(this._d=t[3]);this._a=t,this._b=e,this._c=o,this._d=i}function U(t,e,o,i){return new H(t,e,o,i)}H.prototype={transform:function(t,e){return this._transform(t.clone(),e)},_transform:function(t,e){return e=e||1,t.x=e*(this._a*t.x+this._b),t.y=e*(this._c*t.y+this._d),t},untransform:function(t,e){return e=e||1,new E((t.x/e-this._b)/this._a,(t.y/e-this._d)/this._c)}};var W,q=e({},F,{code:"EPSG:3857",projection:G,transformation:(W=.5/(Math.PI*G.R),U(W,.5,-W,.5))}),V=e({},q,{code:"EPSG:900913"});function K(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function Y(t,e){var o,i,n,s,a,r,l="";for(o=0,n=t.length;o<n;o++){for(i=0,s=(a=t[o]).length;i<s;i++)l+=(i?"L":"M")+(r=a[i]).x+" "+r.y;l+=e?Ot.svg?"z":"x":""}return l||"M0 0"}var J,X=document.documentElement.style,Q="ActiveXObject"in window,tt=Q&&!document.addEventListener,et="msLaunchUri"in navigator&&!("documentMode"in document),ot=Zt("webkit"),it=Zt("android"),nt=Zt("android 2")||Zt("android 3"),st=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),at=it&&Zt("Google")&&st<537&&!("AudioNode"in window),rt=!!window.opera,lt=!et&&Zt("chrome"),ht=Zt("gecko")&&!ot&&!rt&&!Q,pt=!lt&&Zt("safari"),dt=Zt("phantom"),ct="OTransition"in X,ut=0===navigator.platform.indexOf("Win"),_t=Q&&"transition"in X,mt="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!nt,ft="MozPerspective"in X,vt=!window.L_DISABLE_3D&&(_t||mt||ft)&&!ct&&!dt,gt="undefined"!=typeof orientation||Zt("mobile"),yt=gt&&ot,wt=gt&&mt,bt=!window.PointerEvent&&window.MSPointerEvent,xt=!(!window.PointerEvent&&!bt),Lt="ontouchstart"in window||!!window.TouchEvent,kt=!window.L_NO_TOUCH&&(Lt||xt),Ct=gt&&rt,Pt=gt&&ht,Tt=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,Mt=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",l,e),window.removeEventListener("testPassiveEventSupport",l,e)}catch(o){}return t}(),zt=!!document.createElement("canvas").getContext,St=!(!document.createElementNS||!K("svg").createSVGRect),Et=!!St&&((J=document.createElement("div")).innerHTML="<svg/>","http://www.w3.org/2000/svg"===(J.firstChild&&J.firstChild.namespaceURI));function Zt(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var Ot={ie:Q,ielt9:tt,edge:et,webkit:ot,android:it,android23:nt,androidStock:at,opera:rt,chrome:lt,gecko:ht,safari:pt,phantom:dt,opera12:ct,win:ut,ie3d:_t,webkit3d:mt,gecko3d:ft,any3d:vt,mobile:gt,mobileWebkit:yt,mobileWebkit3d:wt,msPointer:bt,pointer:xt,touch:kt,touchNative:Lt,mobileOpera:Ct,mobileGecko:Pt,retina:Tt,passiveEvents:Mt,canvas:zt,svg:St,vml:!St&&function(){try{var t=document.createElement("div");t.innerHTML='<v:shape adj="1"/>';var e=t.firstChild;return e.style.behavior="url(#default#VML)",e&&"object"==typeof e.adj}catch(o){return!1}}(),inlineSvg:Et,mac:0===navigator.platform.indexOf("Mac"),linux:0===navigator.platform.indexOf("Linux")},At=Ot.msPointer?"MSPointerDown":"pointerdown",It=Ot.msPointer?"MSPointerMove":"pointermove",Bt=Ot.msPointer?"MSPointerUp":"pointerup",Rt=Ot.msPointer?"MSPointerCancel":"pointercancel",jt={touchstart:At,touchmove:It,touchend:Bt,touchcancel:Rt},Nt={touchstart:function(t,e){e.MSPOINTER_TYPE_TOUCH&&e.pointerType===e.MSPOINTER_TYPE_TOUCH&&Ie(e),Ut(t,e)},touchmove:Ut,touchend:Ut,touchcancel:Ut},Dt={},$t=!1;function Ft(t){Dt[t.pointerId]=t}function Gt(t){Dt[t.pointerId]&&(Dt[t.pointerId]=t)}function Ht(t){delete Dt[t.pointerId]}function Ut(t,e){if(e.pointerType!==(e.MSPOINTER_TYPE_MOUSE||"mouse")){for(var o in e.touches=[],Dt)e.touches.push(Dt[o]);e.changedTouches=[e],t(e)}}var Wt,qt,Vt,Kt,Yt,Jt=ue(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Xt=ue(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),Qt="webkitTransition"===Xt||"OTransition"===Xt?Xt+"End":"transitionend";function te(t){return"string"==typeof t?document.getElementById(t):t}function ee(t,e){var o=t.style[e]||t.currentStyle&&t.currentStyle[e];if((!o||"auto"===o)&&document.defaultView){var i=document.defaultView.getComputedStyle(t,null);o=i?i[e]:null}return"auto"===o?null:o}function oe(t,e,o){var i=document.createElement(t);return i.className=e||"",o&&o.appendChild(i),i}function ie(t){var e=t.parentNode;e&&e.removeChild(t)}function ne(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function se(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function ae(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function re(t,e){if(void 0!==t.classList)return t.classList.contains(e);var o=de(t);return o.length>0&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(o)}function le(t,e){if(void 0!==t.classList)for(var o=d(e),i=0,n=o.length;i<n;i++)t.classList.add(o[i]);else if(!re(t,e)){var s=de(t);pe(t,(s?s+" ":"")+e)}}function he(t,e){void 0!==t.classList?t.classList.remove(e):pe(t,p((" "+de(t)+" ").replace(" "+e+" "," ")))}function pe(t,e){void 0===t.className.baseVal?t.className=e:t.className.baseVal=e}function de(t){return t.correspondingElement&&(t=t.correspondingElement),void 0===t.className.baseVal?t.className:t.className.baseVal}function ce(t,e){"opacity"in t.style?t.style.opacity=e:"filter"in t.style&&function(t,e){var o=!1,i="DXImageTransform.Microsoft.Alpha";try{o=t.filters.item(i)}catch(n){if(1===e)return}e=Math.round(100*e),o?(o.Enabled=100!==e,o.Opacity=e):t.style.filter+=" progid:"+i+"(opacity="+e+")"}(t,e)}function ue(t){for(var e=document.documentElement.style,o=0;o<t.length;o++)if(t[o]in e)return t[o];return!1}function _e(t,e,o){var i=e||new E(0,0);t.style[Jt]=(Ot.ie3d?"translate("+i.x+"px,"+i.y+"px)":"translate3d("+i.x+"px,"+i.y+"px,0)")+(o?" scale("+o+")":"")}function me(t,e){t._leaflet_pos=e,Ot.any3d?_e(t,e):(t.style.left=e.x+"px",t.style.top=e.y+"px")}function fe(t){return t._leaflet_pos||new E(0,0)}if("onselectstart"in document)Wt=function(){Ce(window,"selectstart",Ie)},qt=function(){Te(window,"selectstart",Ie)};else{var ve=ue(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);Wt=function(){if(ve){var t=document.documentElement.style;Vt=t[ve],t[ve]="none"}},qt=function(){ve&&(document.documentElement.style[ve]=Vt,Vt=void 0)}}function ge(){Ce(window,"dragstart",Ie)}function ye(){Te(window,"dragstart",Ie)}function we(t){for(;-1===t.tabIndex;)t=t.parentNode;t.style&&(be(),Kt=t,Yt=t.style.outlineStyle,t.style.outlineStyle="none",Ce(window,"keydown",be))}function be(){Kt&&(Kt.style.outlineStyle=Yt,Kt=void 0,Yt=void 0,Te(window,"keydown",be))}function xe(t){do{t=t.parentNode}while(!(t.offsetWidth&&t.offsetHeight||t===document.body));return t}function Le(t){var e=t.getBoundingClientRect();return{x:e.width/t.offsetWidth||1,y:e.height/t.offsetHeight||1,boundingClientRect:e}}var ke={__proto__:null,TRANSFORM:Jt,TRANSITION:Xt,TRANSITION_END:Qt,get:te,getStyle:ee,create:oe,remove:ie,empty:ne,toFront:se,toBack:ae,hasClass:re,addClass:le,removeClass:he,setClass:pe,getClass:de,setOpacity:ce,testProp:ue,setTransform:_e,setPosition:me,getPosition:fe,get disableTextSelection(){return Wt},get enableTextSelection(){return qt},disableImageDrag:ge,enableImageDrag:ye,preventOutline:we,restoreOutline:be,getSizedParentNode:xe,getScale:Le};function Ce(t,e,o,i){if(e&&"object"==typeof e)for(var n in e)Se(t,n,e[n],o);else for(var s=0,a=(e=d(e)).length;s<a;s++)Se(t,e[s],o,i);return this}var Pe="_leaflet_events";function Te(t,e,o,i){if(1===arguments.length)Me(t),delete t[Pe];else if(e&&"object"==typeof e)for(var n in e)Ee(t,n,e[n],o);else if(e=d(e),2===arguments.length)Me(t,(function(t){return-1!==v(e,t)}));else for(var s=0,a=e.length;s<a;s++)Ee(t,e[s],o,i);return this}function Me(t,e){for(var o in t[Pe]){var i=o.split(/\d/)[0];e&&!e(i)||Ee(t,i,null,null,o)}}var ze={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function Se(t,e,o,i){var n=e+s(o)+(i?"_"+s(i):"");if(t[Pe]&&t[Pe][n])return this;var a=function(e){return o.call(i||t,e||window.event)},r=a;!Ot.touchNative&&Ot.pointer&&0===e.indexOf("touch")?a=function(t,e,o){return"touchstart"===e&&($t||(document.addEventListener(At,Ft,!0),document.addEventListener(It,Gt,!0),document.addEventListener(Bt,Ht,!0),document.addEventListener(Rt,Ht,!0),$t=!0)),Nt[e]?(o=Nt[e].bind(this,o),t.addEventListener(jt[e],o,!1),o):(console.warn("wrong event specified:",e),l)}(t,e,a):Ot.touch&&"dblclick"===e?a=function(t,e){t.addEventListener("dblclick",e);var o,i=0;function n(t){if(1===t.detail){if("mouse"!==t.pointerType&&(!t.sourceCapabilities||t.sourceCapabilities.firesTouchEvents)){var n=Re(t);if(!n.some((function(t){return t instanceof HTMLLabelElement&&t.attributes.for}))||n.some((function(t){return t instanceof HTMLInputElement||t instanceof HTMLSelectElement}))){var s=Date.now();s-i<=200?2==++o&&e(function(t){var e,o,i={};for(o in t)e=t[o],i[o]=e&&e.bind?e.bind(t):e;return t=i,i.type="dblclick",i.detail=2,i.isTrusted=!1,i._simulated=!0,i}(t)):o=1,i=s}}}else o=t.detail}return t.addEventListener("click",n),{dblclick:e,simDblclick:n}}(t,a):"addEventListener"in t?"touchstart"===e||"touchmove"===e||"wheel"===e||"mousewheel"===e?t.addEventListener(ze[e]||e,a,!!Ot.passiveEvents&&{passive:!1}):"mouseenter"===e||"mouseleave"===e?(a=function(e){e=e||window.event,$e(t,e)&&r(e)},t.addEventListener(ze[e],a,!1)):t.addEventListener(e,r,!1):t.attachEvent("on"+e,a),t[Pe]=t[Pe]||{},t[Pe][n]=a}function Ee(t,e,o,i,n){n=n||e+s(o)+(i?"_"+s(i):"");var a=t[Pe]&&t[Pe][n];if(!a)return this;!Ot.touchNative&&Ot.pointer&&0===e.indexOf("touch")?function(t,e,o){jt[e]?t.removeEventListener(jt[e],o,!1):console.warn("wrong event specified:",e)}(t,e,a):Ot.touch&&"dblclick"===e?function(t,e){t.removeEventListener("dblclick",e.dblclick),t.removeEventListener("click",e.simDblclick)}(t,a):"removeEventListener"in t?t.removeEventListener(ze[e]||e,a,!1):t.detachEvent("on"+e,a),t[Pe][n]=null}function Ze(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,this}function Oe(t){return Se(t,"wheel",Ze),this}function Ae(t){return Ce(t,"mousedown touchstart dblclick contextmenu",Ze),t._leaflet_disable_click=!0,this}function Ie(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function Be(t){return Ie(t),Ze(t),this}function Re(t){if(t.composedPath)return t.composedPath();for(var e=[],o=t.target;o;)e.push(o),o=o.parentNode;return e}function je(t,e){if(!e)return new E(t.clientX,t.clientY);var o=Le(e),i=o.boundingClientRect;return new E((t.clientX-i.left)/o.x-e.clientLeft,(t.clientY-i.top)/o.y-e.clientTop)}var Ne=Ot.linux&&Ot.chrome?window.devicePixelRatio:Ot.mac?3*window.devicePixelRatio:window.devicePixelRatio>0?2*window.devicePixelRatio:1;function De(t){return Ot.edge?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/Ne:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?20*-t.detail:t.detail?t.detail/-32765*60:0}function $e(t,e){var o=e.relatedTarget;if(!o)return!0;try{for(;o&&o!==t;)o=o.parentNode}catch(i){return!1}return o!==t}var Fe={__proto__:null,on:Ce,off:Te,stopPropagation:Ze,disableScrollPropagation:Oe,disableClickPropagation:Ae,preventDefault:Ie,stop:Be,getPropagationPath:Re,getMousePosition:je,getWheelDelta:De,isExternalTarget:$e,addListener:Ce,removeListener:Te},Ge=S.extend({run:function(t,e,o,i){this.stop(),this._el=t,this._inProgress=!0,this._duration=o||.25,this._easeOutPower=1/Math.max(i||.5,.2),this._startPos=fe(t),this._offset=e.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=C(this._animate,this),this._step()},_step:function(t){var e=+new Date-this._startTime,o=1e3*this._duration;e<o?this._runFrame(this._easeOut(e/o),t):(this._runFrame(1),this._complete())},_runFrame:function(t,e){var o=this._startPos.add(this._offset.multiplyBy(t));e&&o._round(),me(this._el,o),this.fire("step")},_complete:function(){P(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),He=S.extend({options:{crs:q,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(t,e){e=c(this,e),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(t),this._initLayout(),this._onResize=i(this._onResize,this),this._initEvents(),e.maxBounds&&this.setMaxBounds(e.maxBounds),void 0!==e.zoom&&(this._zoom=this._limitZoom(e.zoom)),e.center&&void 0!==e.zoom&&this.setView(N(e.center),e.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=Xt&&Ot.any3d&&!Ot.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),Ce(this._proxy,Qt,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(t,o,i){return o=void 0===o?this._zoom:this._limitZoom(o),t=this._limitCenter(N(t),o,this.options.maxBounds),i=i||{},this._stop(),this._loaded&&!i.reset&&!0!==i&&(void 0!==i.animate&&(i.zoom=e({animate:i.animate},i.zoom),i.pan=e({animate:i.animate,duration:i.duration},i.pan)),this._zoom!==o?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,o,i.zoom):this._tryAnimatedPan(t,i.pan))?(clearTimeout(this._sizeTimer),this):(this._resetView(t,o,i.pan&&i.pan.noMoveStart),this)},setZoom:function(t,e){return this._loaded?this.setView(this.getCenter(),t,{zoom:e}):(this._zoom=t,this)},zoomIn:function(t,e){return t=t||(Ot.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom+t,e)},zoomOut:function(t,e){return t=t||(Ot.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom-t,e)},setZoomAround:function(t,e,o){var i=this.getZoomScale(e),n=this.getSize().divideBy(2),s=(t instanceof E?t:this.latLngToContainerPoint(t)).subtract(n).multiplyBy(1-1/i),a=this.containerPointToLatLng(n.add(s));return this.setView(a,e,{zoom:o})},_getBoundsCenterZoom:function(t,e){e=e||{},t=t.getBounds?t.getBounds():R(t);var o=O(e.paddingTopLeft||e.padding||[0,0]),i=O(e.paddingBottomRight||e.padding||[0,0]),n=this.getBoundsZoom(t,!1,o.add(i));if((n="number"==typeof e.maxZoom?Math.min(e.maxZoom,n):n)===1/0)return{center:t.getCenter(),zoom:n};var s=i.subtract(o).divideBy(2),a=this.project(t.getSouthWest(),n),r=this.project(t.getNorthEast(),n);return{center:this.unproject(a.add(r).divideBy(2).add(s),n),zoom:n}},fitBounds:function(t,e){if(!(t=R(t)).isValid())throw new Error("Bounds are not valid.");var o=this._getBoundsCenterZoom(t,e);return this.setView(o.center,o.zoom,e)},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,e){return this.setView(t,this._zoom,{pan:e})},panBy:function(t,e){if(e=e||{},!(t=O(t).round()).x&&!t.y)return this.fire("moveend");if(!0!==e.animate&&!this.getSize().contains(t))return this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new Ge,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),e.noMoveStart||this.fire("movestart"),!1!==e.animate){le(this._mapPane,"leaflet-pan-anim");var o=this._getMapPanePos().subtract(t).round();this._panAnim.run(this._mapPane,o,e.duration||.25,e.easeLinearity)}else this._rawPanBy(t),this.fire("move").fire("moveend");return this},flyTo:function(t,e,o){if(!1===(o=o||{}).animate||!Ot.any3d)return this.setView(t,e,o);this._stop();var i=this.project(this.getCenter()),n=this.project(t),s=this.getSize(),a=this._zoom;t=N(t),e=void 0===e?a:e;var r=Math.max(s.x,s.y),l=r*this.getZoomScale(a,e),h=n.distanceTo(i)||1;function p(t){var e=(l*l-r*r+2.0164*(t?-1:1)*2.0164*h*h)/(2*(t?l:r)*2.0164*h),o=Math.sqrt(e*e+1)-e;return o<1e-9?-18:Math.log(o)}function d(t){return(Math.exp(t)-Math.exp(-t))/2}function c(t){return(Math.exp(t)+Math.exp(-t))/2}var u=p(0);var _=Date.now(),m=(p(1)-u)/1.42,f=o.duration?1e3*o.duration:1e3*m*.8;return this._moveStart(!0,o.noMoveStart),function o(){var s=(Date.now()-_)/f,l=function(t){return 1-Math.pow(1-t,1.5)}(s)*m;s<=1?(this._flyToFrame=C(o,this),this._move(this.unproject(i.add(n.subtract(i).multiplyBy(function(t){return r*(c(u)*(d(e=u+1.42*t)/c(e))-d(u))/2.0164;var e}(l)/h)),a),this.getScaleZoom(r/function(t){return r*(c(u)/c(u+1.42*t))}(l),a),{flyTo:!0})):this._move(t,e)._moveEnd(!0)}.call(this),this},flyToBounds:function(t,e){var o=this._getBoundsCenterZoom(t,e);return this.flyTo(o.center,o.zoom,e)},setMaxBounds:function(t){return t=R(t),this.listens("moveend",this._panInsideMaxBounds)&&this.off("moveend",this._panInsideMaxBounds),t.isValid()?(this.options.maxBounds=t,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this)},setMinZoom:function(t){var e=this.options.minZoom;return this.options.minZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(t):this},setMaxZoom:function(t){var e=this.options.maxZoom;return this.options.maxZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var o=this.getCenter(),i=this._limitCenter(o,this._zoom,R(t));return o.equals(i)||this.panTo(i,e),this._enforcingBounds=!1,this},panInside:function(t,e){var o=O((e=e||{}).paddingTopLeft||e.padding||[0,0]),i=O(e.paddingBottomRight||e.padding||[0,0]),n=this.project(this.getCenter()),s=this.project(t),a=this.getPixelBounds(),r=I([a.min.add(o),a.max.subtract(i)]),l=r.getSize();if(!r.contains(s)){this._enforcingBounds=!0;var h=s.subtract(r.getCenter()),p=r.extend(s).getSize().subtract(l);n.x+=h.x<0?-p.x:p.x,n.y+=h.y<0?-p.y:p.y,this.panTo(this.unproject(n),e),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=e({animate:!1,pan:!0},!0===t?{animate:!0}:t);var o=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var n=this.getSize(),s=o.divideBy(2).round(),a=n.divideBy(2).round(),r=s.subtract(a);return r.x||r.y?(t.animate&&t.pan?this.panBy(r):(t.pan&&this._rawPanBy(r),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(i(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:o,newSize:n})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=e({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var o=i(this._handleGeolocationResponse,this),n=i(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(o,n,t):navigator.geolocation.getCurrentPosition(o,n,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){if(this._container._leaflet_id){var e=t.code,o=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+o+"."})}},_handleGeolocationResponse:function(t){if(this._container._leaflet_id){var e=new j(t.coords.latitude,t.coords.longitude),o=e.toBounds(2*t.coords.accuracy),i=this._locateOptions;if(i.setView){var n=this.getBoundsZoom(o);this.setView(e,i.maxZoom?Math.min(n,i.maxZoom):n)}var s={latlng:e,bounds:o,timestamp:t.timestamp};for(var a in t.coords)"number"==typeof t.coords[a]&&(s[a]=t.coords[a]);this.fire("locationfound",s)}},addHandler:function(t,e){if(!e)return this;var o=this[t]=new e(this);return this._handlers.push(o),this.options[t]&&o.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(e){this._container._leaflet_id=void 0,this._containerId=void 0}var t;for(t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),ie(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(P(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)ie(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){var o=oe("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),e||this._mapPane);return t&&(this._panes[t]=o),o},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new B(this.unproject(t.getBottomLeft()),this.unproject(t.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,o){t=R(t),o=O(o||[0,0]);var i=this.getZoom()||0,n=this.getMinZoom(),s=this.getMaxZoom(),a=t.getNorthWest(),r=t.getSouthEast(),l=this.getSize().subtract(o),h=I(this.project(r,i),this.project(a,i)).getSize(),p=Ot.any3d?this.options.zoomSnap:1,d=l.x/h.x,c=l.y/h.y,u=e?Math.max(d,c):Math.min(d,c);return i=this.getScaleZoom(u,i),p&&(i=Math.round(i/(p/100))*(p/100),i=e?Math.ceil(i/p)*p:Math.floor(i/p)*p),Math.max(n,Math.min(s,i))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new E(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){var o=this._getTopLeftPoint(t,e);return new A(o,o.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"==typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var o=this.options.crs;return e=void 0===e?this._zoom:e,o.scale(t)/o.scale(e)},getScaleZoom:function(t,e){var o=this.options.crs;e=void 0===e?this._zoom:e;var i=o.zoom(t*o.scale(e));return isNaN(i)?1/0:i},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(N(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(O(t),e)},layerPointToLatLng:function(t){var e=O(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){return this.project(N(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(N(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(R(t))},distance:function(t,e){return this.options.crs.distance(N(t),N(e))},containerPointToLayerPoint:function(t){return O(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return O(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(O(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(N(t)))},mouseEventToContainerPoint:function(t){return je(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var e=this._container=te(t);if(!e)throw new Error("Map container not found.");if(e._leaflet_id)throw new Error("Map container is already initialized.");Ce(e,"scroll",this._onScroll,this),this._containerId=s(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&Ot.any3d,le(t,"leaflet-container"+(Ot.touch?" leaflet-touch":"")+(Ot.retina?" leaflet-retina":"")+(Ot.ielt9?" leaflet-oldie":"")+(Ot.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=ee(t,"position");"absolute"!==e&&"relative"!==e&&"fixed"!==e&&"sticky"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),me(this._mapPane,new E(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(le(t.markerPane,"leaflet-zoom-hide"),le(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e,o){me(this._mapPane,new E(0,0));var i=!this._loaded;this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset");var n=this._zoom!==e;this._moveStart(n,o)._move(t,e)._moveEnd(n),this.fire("viewreset"),i&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,o,i){void 0===e&&(e=this._zoom);var n=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),i?o&&o.pinch&&this.fire("zoom",o):((n||o&&o.pinch)&&this.fire("zoom",o),this.fire("move",o)),this},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return P(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){me(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={},this._targets[s(this._container)]=this;var e=t?Te:Ce;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),Ot.any3d&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){P(this._resizeRequest),this._resizeRequest=C((function(){this.invalidateSize({debounceMoveend:!0})}),this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){for(var o,i=[],n="mouseout"===e||"mouseover"===e,a=t.target||t.srcElement,r=!1;a;){if((o=this._targets[s(a)])&&("click"===e||"preclick"===e)&&this._draggableMoved(o)){r=!0;break}if(o&&o.listens(e,!0)){if(n&&!$e(a,t))break;if(i.push(o),n)break}if(a===this._container)break;a=a.parentNode}return i.length||r||n||!this.listens(e,!0)||(i=[this]),i},_isClickDisabled:function(t){for(;t&&t!==this._container;){if(t._leaflet_disable_click)return!0;t=t.parentNode}},_handleDOMEvent:function(t){var e=t.target||t.srcElement;if(!(!this._loaded||e._leaflet_disable_events||"click"===t.type&&this._isClickDisabled(e))){var o=t.type;"mousedown"===o&&we(e),this._fireDOMEvent(t,o)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,o,i){if("click"===t.type){var n=e({},t);n.type="preclick",this._fireDOMEvent(n,n.type,i)}var s=this._findEventTargets(t,o);if(i){for(var a=[],r=0;r<i.length;r++)i[r].listens(o,!0)&&a.push(i[r]);s=a.concat(s)}if(s.length){"contextmenu"===o&&Ie(t);var l=s[0],h={originalEvent:t};if("keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type){var p=l.getLatLng&&(!l._radius||l._radius<=10);h.containerPoint=p?this.latLngToContainerPoint(l.getLatLng()):this.mouseEventToContainerPoint(t),h.layerPoint=this.containerPointToLayerPoint(h.containerPoint),h.latlng=p?l.getLatLng():this.layerPointToLatLng(h.layerPoint)}for(r=0;r<s.length;r++)if(s[r].fire(o,h,!0),h.originalEvent._stopped||!1===s[r].options.bubblingMouseEvents&&-1!==v(this._mouseEvents,o))return}},_draggableMoved:function(t){return(t=t.dragging&&t.dragging.enabled()?t:this).dragging&&t.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var t=0,e=this._handlers.length;t<e;t++)this._handlers[t].disable()},whenReady:function(t,e){return this._loaded?t.call(e||this,{target:this}):this.on("load",t,e),this},_getMapPanePos:function(){return fe(this._mapPane)||new E(0,0)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(t,e){return(t&&void 0!==e?this._getNewPixelOrigin(t,e):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(t,e){var o=this.getSize()._divideBy(2);return this.project(t,e)._subtract(o)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(t,e,o){var i=this._getNewPixelOrigin(o,e);return this.project(t,e)._subtract(i)},_latLngBoundsToNewLayerBounds:function(t,e,o){var i=this._getNewPixelOrigin(o,e);return I([this.project(t.getSouthWest(),e)._subtract(i),this.project(t.getNorthWest(),e)._subtract(i),this.project(t.getSouthEast(),e)._subtract(i),this.project(t.getNorthEast(),e)._subtract(i)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,e,o){if(!o)return t;var i=this.project(t,e),n=this.getSize().divideBy(2),s=new A(i.subtract(n),i.add(n)),a=this._getBoundsOffset(s,o,e);return Math.abs(a.x)<=1&&Math.abs(a.y)<=1?t:this.unproject(i.add(a),e)},_limitOffset:function(t,e){if(!e)return t;var o=this.getPixelBounds(),i=new A(o.min.add(t),o.max.add(t));return t.add(this._getBoundsOffset(i,e))},_getBoundsOffset:function(t,e,o){var i=I(this.project(e.getNorthEast(),o),this.project(e.getSouthWest(),o)),n=i.min.subtract(t.min),s=i.max.subtract(t.max);return new E(this._rebound(n.x,-s.x),this._rebound(n.y,-s.y))},_rebound:function(t,e){return t+e>0?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),o=this.getMaxZoom(),i=Ot.any3d?this.options.zoomSnap:1;return i&&(t=Math.round(t/i)*i),Math.max(e,Math.min(o,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){he(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var o=this._getCenterOffset(t)._trunc();return!(!0!==(e&&e.animate)&&!this.getSize().contains(o)||(this.panBy(o,e),0))},_createAnimProxy:function(){var t=this._proxy=oe("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",(function(t){var e=Jt,o=this._proxy.style[e];_e(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),o===this._proxy.style[e]&&this._animatingZoom&&this._onZoomTransitionEnd()}),this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){ie(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),e=this.getZoom();_e(this._proxy,this.project(t,e),this.getZoomScale(e,1))},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,o){if(this._animatingZoom)return!0;if(o=o||{},!this._zoomAnimated||!1===o.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var i=this.getZoomScale(e),n=this._getCenterOffset(t)._divideBy(1-1/i);return!(!0!==o.animate&&!this.getSize().contains(n)||(C((function(){this._moveStart(!0,o.noMoveStart||!1)._animateZoom(t,e,!0)}),this),0))},_animateZoom:function(t,e,o,n){this._mapPane&&(o&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,le(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:n}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(i(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&he(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))}}),Ue=M.extend({options:{position:"topright"},initialize:function(t){c(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),o=this.getPosition(),i=t._controlCorners[o];return le(e,"leaflet-control"),-1!==o.indexOf("bottom")?i.insertBefore(e,i.firstChild):i.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(ie(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),We=function(t){return new Ue(t)};He.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},e="leaflet-",o=this._controlContainer=oe("div",e+"control-container",this._container);function i(i,n){var s=e+i+" "+e+n;t[i+n]=oe("div",s,o)}i("top","left"),i("top","right"),i("bottom","left"),i("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)ie(this._controlCorners[t]);ie(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var qe=Ue.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,o,i){return o<i?-1:i<o?1:0}},initialize:function(t,e,o){for(var i in c(this,o),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,this._preventClick=!1,t)this._addLayer(t[i],i);for(i in e)this._addLayer(e[i],i,!0)},onAdd:function(t){this._initLayout(),this._update(),this._map=t,t.on("zoomend",this._checkDisabledLayers,this);for(var e=0;e<this._layers.length;e++)this._layers[e].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(t){return Ue.prototype.addTo.call(this,t),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(t,e){return this._addLayer(t,e),this._map?this._update():this},addOverlay:function(t,e){return this._addLayer(t,e,!0),this._map?this._update():this},removeLayer:function(t){t.off("add remove",this._onLayerChange,this);var e=this._getLayer(s(t));return e&&this._layers.splice(this._layers.indexOf(e),1),this._map?this._update():this},expand:function(){le(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var t=this._map.getSize().y-(this._container.offsetTop+50);return t<this._section.clientHeight?(le(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=t+"px"):he(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return he(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var t="leaflet-control-layers",e=this._container=oe("div",t),o=this.options.collapsed;e.setAttribute("aria-haspopup",!0),Ae(e),Oe(e);var i=this._section=oe("section",t+"-list");o&&(this._map.on("click",this.collapse,this),Ce(e,{mouseenter:this._expandSafely,mouseleave:this.collapse},this));var n=this._layersLink=oe("a",t+"-toggle",e);n.href="#",n.title="Layers",n.setAttribute("role","button"),Ce(n,{keydown:function(t){13===t.keyCode&&this._expandSafely()},click:function(t){Ie(t),this._expandSafely()}},this),o||this.expand(),this._baseLayersList=oe("div",t+"-base",i),this._separator=oe("div",t+"-separator",i),this._overlaysList=oe("div",t+"-overlays",i),e.appendChild(i)},_getLayer:function(t){for(var e=0;e<this._layers.length;e++)if(this._layers[e]&&s(this._layers[e].layer)===t)return this._layers[e]},_addLayer:function(t,e,o){this._map&&t.on("add remove",this._onLayerChange,this),this._layers.push({layer:t,name:e,overlay:o}),this.options.sortLayers&&this._layers.sort(i((function(t,e){return this.options.sortFunction(t.layer,e.layer,t.name,e.name)}),this)),this.options.autoZIndex&&t.setZIndex&&(this._lastZIndex++,t.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;ne(this._baseLayersList),ne(this._overlaysList),this._layerControlInputs=[];var t,e,o,i,n=0;for(o=0;o<this._layers.length;o++)i=this._layers[o],this._addItem(i),e=e||i.overlay,t=t||!i.overlay,n+=i.overlay?0:1;return this.options.hideSingleBase&&(t=t&&n>1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=e&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(s(t.target)),o=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;o&&this._map.fire(o,e)},_createRadioElement:function(t,e){var o='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(e?' checked="checked"':"")+"/>",i=document.createElement("div");return i.innerHTML=o,i.firstChild},_addItem:function(t){var e,o=document.createElement("label"),i=this._map.hasLayer(t.layer);t.overlay?((e=document.createElement("input")).type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=i):e=this._createRadioElement("leaflet-base-layers_"+s(this),i),this._layerControlInputs.push(e),e.layerId=s(t.layer),Ce(e,"click",this._onInputClick,this);var n=document.createElement("span");n.innerHTML=" "+t.name;var a=document.createElement("span");return o.appendChild(a),a.appendChild(e),a.appendChild(n),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(o),this._checkDisabledLayers(),o},_onInputClick:function(){if(!this._preventClick){var t,e,o=this._layerControlInputs,i=[],n=[];this._handlingClick=!0;for(var s=o.length-1;s>=0;s--)t=o[s],e=this._getLayer(t.layerId).layer,t.checked?i.push(e):t.checked||n.push(e);for(s=0;s<n.length;s++)this._map.hasLayer(n[s])&&this._map.removeLayer(n[s]);for(s=0;s<i.length;s++)this._map.hasLayer(i[s])||this._map.addLayer(i[s]);this._handlingClick=!1,this._refocusOnMap()}},_checkDisabledLayers:function(){for(var t,e,o=this._layerControlInputs,i=this._map.getZoom(),n=o.length-1;n>=0;n--)t=o[n],e=this._getLayer(t.layerId).layer,t.disabled=void 0!==e.options.minZoom&&i<e.options.minZoom||void 0!==e.options.maxZoom&&i>e.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var t=this._section;this._preventClick=!0,Ce(t,"click",Ie),this.expand();var e=this;setTimeout((function(){Te(t,"click",Ie),e._preventClick=!1}))}}),Ve=Ue.extend({options:{position:"topleft",zoomInText:'<span aria-hidden="true">+</span>',zoomInTitle:"Zoom in",zoomOutText:'<span aria-hidden="true">&#x2212;</span>',zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",o=oe("div",e+" leaflet-bar"),i=this.options;return this._zoomInButton=this._createButton(i.zoomInText,i.zoomInTitle,e+"-in",o,this._zoomIn),this._zoomOutButton=this._createButton(i.zoomOutText,i.zoomOutTitle,e+"-out",o,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),o},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(t.shiftKey?3:1))},_zoomOut:function(t){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,o,i,n){var s=oe("a",o,i);return s.innerHTML=t,s.href="#",s.title=e,s.setAttribute("role","button"),s.setAttribute("aria-label",e),Ae(s),Ce(s,"click",Be),Ce(s,"click",n,this),Ce(s,"click",this._refocusOnMap,this),s},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";he(this._zoomInButton,e),he(this._zoomOutButton,e),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||t._zoom===t.getMinZoom())&&(le(this._zoomOutButton,e),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||t._zoom===t.getMaxZoom())&&(le(this._zoomInButton,e),this._zoomInButton.setAttribute("aria-disabled","true"))}});He.mergeOptions({zoomControl:!0}),He.addInitHook((function(){this.options.zoomControl&&(this.zoomControl=new Ve,this.addControl(this.zoomControl))}));var Ke=Ue.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e=oe("div","leaflet-control-scale"),o=this.options;return this._addScales(o,"leaflet-control-scale-line",e),t.on(o.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),e},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,o){t.metric&&(this._mScale=oe("div",e,o)),t.imperial&&(this._iScale=oe("div",e,o))},_update:function(){var t=this._map,e=t.getSize().y/2,o=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(o)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t),o=e<1e3?e+" m":e/1e3+" km";this._updateScale(this._mScale,o,e/t)},_updateImperial:function(t){var e,o,i,n=3.2808399*t;n>5280?(e=n/5280,o=this._getRoundNum(e),this._updateScale(this._iScale,o+" mi",o/e)):(i=this._getRoundNum(n),this._updateScale(this._iScale,i+" ft",i/n))},_updateScale:function(t,e,o){t.style.width=Math.round(this.options.maxWidth*o)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),o=t/e;return e*(o>=10?10:o>=5?5:o>=3?3:o>=2?2:1)}}),Ye=Ue.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+(Ot.inlineSvg?'<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg> ':"")+"Leaflet</a>"},initialize:function(t){c(this,t),this._attributions={}},onAdd:function(t){for(var e in t.attributionControl=this,this._container=oe("div","leaflet-control-attribution"),Ae(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),t.on("layeradd",this._addAttribution,this),this._container},onRemove:function(t){t.off("layeradd",this._addAttribution,this)},_addAttribution:function(t){t.layer.getAttribution&&(this.addAttribution(t.layer.getAttribution()),t.layer.once("remove",(function(){this.removeAttribution(t.layer.getAttribution())}),this))},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):this},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):this},_update:function(){if(this._map){var t=[];for(var e in this._attributions)this._attributions[e]&&t.push(e);var o=[];this.options.prefix&&o.push(this.options.prefix),t.length&&o.push(t.join(", ")),this._container.innerHTML=o.join(' <span aria-hidden="true">|</span> ')}}});He.mergeOptions({attributionControl:!0}),He.addInitHook((function(){this.options.attributionControl&&(new Ye).addTo(this)})),Ue.Layers=qe,Ue.Zoom=Ve,Ue.Scale=Ke,Ue.Attribution=Ye,We.layers=function(t,e,o){return new qe(t,e,o)},We.zoom=function(t){return new Ve(t)},We.scale=function(t){return new Ke(t)},We.attribution=function(t){return new Ye(t)};var Je=M.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});Je.addTo=function(t,e){return t.addHandler(e,this),this};var Xe={Events:z},Qe=Ot.touch?"touchstart mousedown":"mousedown",to=S.extend({options:{clickTolerance:3},initialize:function(t,e,o,i){c(this,i),this._element=t,this._dragStartTarget=e||t,this._preventOutline=o},enable:function(){this._enabled||(Ce(this._dragStartTarget,Qe,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(to._dragging===this&&this.finishDrag(!0),Te(this._dragStartTarget,Qe,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(this._enabled&&(this._moved=!1,!re(this._element,"leaflet-zoom-anim")))if(t.touches&&1!==t.touches.length)to._dragging===this&&this.finishDrag();else if(!(to._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||(to._dragging=this,this._preventOutline&&we(this._element),ge(),Wt(),this._moving))){this.fire("down");var e=t.touches?t.touches[0]:t,o=xe(this._element);this._startPoint=new E(e.clientX,e.clientY),this._startPos=fe(this._element),this._parentScale=Le(o);var i="mousedown"===t.type;Ce(document,i?"mousemove":"touchmove",this._onMove,this),Ce(document,i?"mouseup":"touchend touchcancel",this._onUp,this)}},_onMove:function(t){if(this._enabled)if(t.touches&&t.touches.length>1)this._moved=!0;else{var e=t.touches&&1===t.touches.length?t.touches[0]:t,o=new E(e.clientX,e.clientY)._subtract(this._startPoint);(o.x||o.y)&&(Math.abs(o.x)+Math.abs(o.y)<this.options.clickTolerance||(o.x/=this._parentScale.x,o.y/=this._parentScale.y,Ie(t),this._moved||(this.fire("dragstart"),this._moved=!0,le(document.body,"leaflet-dragging"),this._lastTarget=t.target||t.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),le(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(o),this._moving=!0,this._lastEvent=t,this._updatePosition()))}},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire("predrag",t),me(this._element,this._newPos),this.fire("drag",t)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(t){he(document.body,"leaflet-dragging"),this._lastTarget&&(he(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),Te(document,"mousemove touchmove",this._onMove,this),Te(document,"mouseup touchend touchcancel",this._onUp,this),ye(),qt();var e=this._moved&&this._moving;this._moving=!1,to._dragging=!1,e&&this.fire("dragend",{noInertia:t,distance:this._newPos.distanceTo(this._startPos)})}});function eo(t,e,o){var i,n,s,a,r,l,h,p,d,c=[1,4,2,8];for(n=0,h=t.length;n<h;n++)t[n]._code=po(t[n],e);for(a=0;a<4;a++){for(p=c[a],i=[],n=0,s=(h=t.length)-1;n<h;s=n++)r=t[n],l=t[s],r._code&p?l._code&p||((d=ho(l,r,p,e,o))._code=po(d,e),i.push(d)):(l._code&p&&((d=ho(l,r,p,e,o))._code=po(d,e),i.push(d)),i.push(r));t=i}return t}function oo(t,e){var o,i,n,s,a,r,l,h,p;if(!t||0===t.length)throw new Error("latlngs not passed");uo(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);var d=N([0,0]),c=R(t);c.getNorthWest().distanceTo(c.getSouthWest())*c.getNorthEast().distanceTo(c.getNorthWest())<1700&&(d=io(t));var u=t.length,_=[];for(o=0;o<u;o++){var m=N(t[o]);_.push(e.project(N([m.lat-d.lat,m.lng-d.lng])))}for(r=l=h=0,o=0,i=u-1;o<u;i=o++)n=_[o],s=_[i],a=n.y*s.x-s.y*n.x,l+=(n.x+s.x)*a,h+=(n.y+s.y)*a,r+=3*a;p=0===r?_[0]:[l/r,h/r];var f=e.unproject(O(p));return N([f.lat+d.lat,f.lng+d.lng])}function io(t){for(var e=0,o=0,i=0,n=0;n<t.length;n++){var s=N(t[n]);e+=s.lat,o+=s.lng,i++}return N([e/i,o/i])}var no,so={__proto__:null,clipPolygon:eo,polygonCenter:oo,centroid:io};function ao(t,e){if(!e||!t.length)return t.slice();var o=e*e;return t=function(t,e){var o=t.length,i=new(typeof Uint8Array!=void 0+""?Uint8Array:Array)(o);i[0]=i[o-1]=1,function t(e,o,i,n,s){var a,r,l,h=0;for(r=n+1;r<=s-1;r++)(l=co(e[r],e[n],e[s],!0))>h&&(a=r,h=l);h>i&&(o[a]=1,t(e,o,i,n,a),t(e,o,i,a,s))}(t,i,e,0,o-1);var n,s=[];for(n=0;n<o;n++)i[n]&&s.push(t[n]);return s}(t=function(t,e){for(var o=[t[0]],i=1,n=0,s=t.length;i<s;i++)a=t[i],r=t[n],l=void 0,h=void 0,l=r.x-a.x,h=r.y-a.y,l*l+h*h>e&&(o.push(t[i]),n=i);var a,r,l,h;return n<s-1&&o.push(t[s-1]),o}(t,o),o)}function ro(t,e,o){return Math.sqrt(co(t,e,o,!0))}function lo(t,e,o,i,n){var s,a,r,l=i?no:po(t,o),h=po(e,o);for(no=h;;){if(!(l|h))return[t,e];if(l&h)return!1;r=po(a=ho(t,e,s=l||h,o,n),o),s===l?(t=a,l=r):(e=a,h=r)}}function ho(t,e,o,i,n){var s,a,r=e.x-t.x,l=e.y-t.y,h=i.min,p=i.max;return 8&o?(s=t.x+r*(p.y-t.y)/l,a=p.y):4&o?(s=t.x+r*(h.y-t.y)/l,a=h.y):2&o?(s=p.x,a=t.y+l*(p.x-t.x)/r):1&o&&(s=h.x,a=t.y+l*(h.x-t.x)/r),new E(s,a,n)}function po(t,e){var o=0;return t.x<e.min.x?o|=1:t.x>e.max.x&&(o|=2),t.y<e.min.y?o|=4:t.y>e.max.y&&(o|=8),o}function co(t,e,o,i){var n,s=e.x,a=e.y,r=o.x-s,l=o.y-a,h=r*r+l*l;return h>0&&((n=((t.x-s)*r+(t.y-a)*l)/h)>1?(s=o.x,a=o.y):n>0&&(s+=r*n,a+=l*n)),r=t.x-s,l=t.y-a,i?r*r+l*l:new E(s,a)}function uo(t){return!f(t[0])||"object"!=typeof t[0][0]&&void 0!==t[0][0]}function _o(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),uo(t)}function mo(t,e){var o,i,n,s,a,r,l,h;if(!t||0===t.length)throw new Error("latlngs not passed");uo(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);var p=N([0,0]),d=R(t);d.getNorthWest().distanceTo(d.getSouthWest())*d.getNorthEast().distanceTo(d.getNorthWest())<1700&&(p=io(t));var c=t.length,u=[];for(o=0;o<c;o++){var _=N(t[o]);u.push(e.project(N([_.lat-p.lat,_.lng-p.lng])))}for(o=0,i=0;o<c-1;o++)i+=u[o].distanceTo(u[o+1])/2;if(0===i)h=u[0];else for(o=0,s=0;o<c-1;o++)if(a=u[o],r=u[o+1],(s+=n=a.distanceTo(r))>i){l=(s-i)/n,h=[r.x-l*(r.x-a.x),r.y-l*(r.y-a.y)];break}var m=e.unproject(O(h));return N([m.lat+p.lat,m.lng+p.lng])}var fo={__proto__:null,simplify:ao,pointToSegmentDistance:ro,closestPointOnSegment:function(t,e,o){return co(t,e,o)},clipSegment:lo,_getEdgeIntersection:ho,_getBitCode:po,_sqClosestPointOnSegment:co,isFlat:uo,_flat:_o,polylineCenter:mo},vo={project:function(t){return new E(t.lng,t.lat)},unproject:function(t){return new j(t.y,t.x)},bounds:new A([-180,-90],[180,90])},go={R:6378137,R_MINOR:6356752.314245179,bounds:new A([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var e=Math.PI/180,o=this.R,i=t.lat*e,n=this.R_MINOR/o,s=Math.sqrt(1-n*n),a=s*Math.sin(i),r=Math.tan(Math.PI/4-i/2)/Math.pow((1-a)/(1+a),s/2);return i=-o*Math.log(Math.max(r,1e-10)),new E(t.lng*e*o,i)},unproject:function(t){for(var e,o=180/Math.PI,i=this.R,n=this.R_MINOR/i,s=Math.sqrt(1-n*n),a=Math.exp(-t.y/i),r=Math.PI/2-2*Math.atan(a),l=0,h=.1;l<15&&Math.abs(h)>1e-7;l++)e=s*Math.sin(r),e=Math.pow((1-e)/(1+e),s/2),r+=h=Math.PI/2-2*Math.atan(a*e)-r;return new j(r*o,t.x*o/i)}},yo={__proto__:null,LonLat:vo,Mercator:go,SphericalMercator:G},wo=e({},F,{code:"EPSG:3395",projection:go,transformation:function(){var t=.5/(Math.PI*go.R);return U(t,.5,-t,.5)}()}),bo=e({},F,{code:"EPSG:4326",projection:vo,transformation:U(1/180,1,-1/180,.5)}),xo=e({},$,{projection:vo,transformation:U(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var o=e.lng-t.lng,i=e.lat-t.lat;return Math.sqrt(o*o+i*i)},infinite:!0});$.Earth=F,$.EPSG3395=wo,$.EPSG3857=q,$.EPSG900913=V,$.EPSG4326=bo,$.Simple=xo;var Lo=S.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[s(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[s(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e=t.target;if(e.hasLayer(this)){if(this._map=e,this._zoomAnimated=e._zoomAnimated,this.getEvents){var o=this.getEvents();e.on(o,this),this.once("remove",(function(){e.off(o,this)}),this)}this.onAdd(e),this.fire("add"),e.fire("layeradd",{layer:this})}}});He.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var e=s(t);return this._layers[e]||(this._layers[e]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this},removeLayer:function(t){var e=s(t);return this._layers[e]?(this._loaded&&t.onRemove(this),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return s(t)in this._layers},eachLayer:function(t,e){for(var o in this._layers)t.call(e,this._layers[o]);return this},_addLayers:function(t){for(var e=0,o=(t=t?f(t)?t:[t]:[]).length;e<o;e++)this.addLayer(t[e])},_addZoomLimit:function(t){isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[s(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){var e=s(t);this._zoomBoundLayers[e]&&(delete this._zoomBoundLayers[e],this._updateZoomLevels())},_updateZoomLevels:function(){var t=1/0,e=-1/0,o=this._getZoomSpan();for(var i in this._zoomBoundLayers){var n=this._zoomBoundLayers[i].options;t=void 0===n.minZoom?t:Math.min(t,n.minZoom),e=void 0===n.maxZoom?e:Math.max(e,n.maxZoom)}this._layersMaxZoom=e===-1/0?void 0:e,this._layersMinZoom=t===1/0?void 0:t,o!==this._getZoomSpan()&&this.fire("zoomlevelschange"),void 0===this.options.maxZoom&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var ko=Lo.extend({initialize:function(t,e){var o,i;if(c(this,e),this._layers={},t)for(o=0,i=t.length;o<i;o++)this.addLayer(t[o])},addLayer:function(t){var e=this.getLayerId(t);return this._layers[e]=t,this._map&&this._map.addLayer(t),this},removeLayer:function(t){var e=t in this._layers?t:this.getLayerId(t);return this._map&&this._layers[e]&&this._map.removeLayer(this._layers[e]),delete this._layers[e],this},hasLayer:function(t){return("number"==typeof t?t:this.getLayerId(t))in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(t){var e,o,i=Array.prototype.slice.call(arguments,1);for(e in this._layers)(o=this._layers[e])[t]&&o[t].apply(o,i);return this},onAdd:function(t){this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t)},eachLayer:function(t,e){for(var o in this._layers)t.call(e,this._layers[o]);return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];return this.eachLayer(t.push,t),t},setZIndex:function(t){return this.invoke("setZIndex",t)},getLayerId:function(t){return s(t)}}),Co=ko.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),ko.prototype.addLayer.call(this,t),this.fire("layeradd",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?(t in this._layers&&(t=this._layers[t]),t.removeEventParent(this),ko.prototype.removeLayer.call(this,t),this.fire("layerremove",{layer:t})):this},setStyle:function(t){return this.invoke("setStyle",t)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var t=new B;for(var e in this._layers){var o=this._layers[e];t.extend(o.getBounds?o.getBounds():o.getLatLng())}return t}}),Po=M.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(t){c(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,e){var o=this._getIconUrl(t);if(!o){if("icon"===t)throw new Error("iconUrl not set in Icon options (see the docs).");return null}var i=this._createImg(o,e&&"IMG"===e.tagName?e:null);return this._setIconStyles(i,t),(this.options.crossOrigin||""===this.options.crossOrigin)&&(i.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),i},_setIconStyles:function(t,e){var o=this.options,i=o[e+"Size"];"number"==typeof i&&(i=[i,i]);var n=O(i),s=O("shadow"===e&&o.shadowAnchor||o.iconAnchor||n&&n.divideBy(2,!0));t.className="leaflet-marker-"+e+" "+(o.className||""),s&&(t.style.marginLeft=-s.x+"px",t.style.marginTop=-s.y+"px"),n&&(t.style.width=n.x+"px",t.style.height=n.y+"px")},_createImg:function(t,e){return(e=e||document.createElement("img")).src=t,e},_getIconUrl:function(t){return Ot.retina&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}}),To=Po.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(t){return"string"!=typeof To.imagePath&&(To.imagePath=this._detectIconPath()),(this.options.imagePath||To.imagePath)+Po.prototype._getIconUrl.call(this,t)},_stripUrl:function(t){var e=function(t,e,o){var i=e.exec(t);return i&&i[o]};return(t=e(t,/^url\((['"])?(.+)\1\)$/,2))&&e(t,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var t=oe("div","leaflet-default-icon-path",document.body),e=ee(t,"background-image")||ee(t,"backgroundImage");if(document.body.removeChild(t),e=this._stripUrl(e))return e;var o=document.querySelector('link[href$="leaflet.css"]');return o?o.href.substring(0,o.href.length-11-1):""}}),Mo=Je.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new to(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),le(t,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&he(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(t){var e=this._marker,o=e._map,i=this._marker.options.autoPanSpeed,n=this._marker.options.autoPanPadding,s=fe(e._icon),a=o.getPixelBounds(),r=o.getPixelOrigin(),l=I(a.min._subtract(r).add(n),a.max._subtract(r).subtract(n));if(!l.contains(s)){var h=O((Math.max(l.max.x,s.x)-l.max.x)/(a.max.x-l.max.x)-(Math.min(l.min.x,s.x)-l.min.x)/(a.min.x-l.min.x),(Math.max(l.max.y,s.y)-l.max.y)/(a.max.y-l.max.y)-(Math.min(l.min.y,s.y)-l.min.y)/(a.min.y-l.min.y)).multiplyBy(i);o.panBy(h,{animate:!1}),this._draggable._newPos._add(h),this._draggable._startPos._add(h),me(e._icon,this._draggable._newPos),this._onDrag(t),this._panRequest=C(this._adjustPan.bind(this,t))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(t){this._marker.options.autoPan&&(P(this._panRequest),this._panRequest=C(this._adjustPan.bind(this,t)))},_onDrag:function(t){var e=this._marker,o=e._shadow,i=fe(e._icon),n=e._map.layerPointToLatLng(i);o&&me(o,i),e._latlng=n,t.latlng=n,t.oldLatLng=this._oldLatLng,e.fire("move",t).fire("drag",t)},_onDragEnd:function(t){P(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",t)}}),zo=Lo.extend({options:{icon:new To,interactive:!0,keyboard:!0,title:"",alt:"Marker",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,autoPanOnFocus:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(t,e){c(this,e),this._latlng=N(t)},onAdd:function(t){this._zoomAnimated=this._zoomAnimated&&t.options.markerZoomAnimation,this._zoomAnimated&&t.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(t){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&t.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(t){var e=this._latlng;return this._latlng=N(t),this.update(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},setZIndexOffset:function(t){return this.options.zIndexOffset=t,this.update()},getIcon:function(){return this.options.icon},setIcon:function(t){return this.options.icon=t,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var t=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(t)}return this},_initIcon:function(){var t=this.options,e="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),o=t.icon.createIcon(this._icon),i=!1;o!==this._icon&&(this._icon&&this._removeIcon(),i=!0,t.title&&(o.title=t.title),"IMG"===o.tagName&&(o.alt=t.alt||"")),le(o,e),t.keyboard&&(o.tabIndex="0",o.setAttribute("role","button")),this._icon=o,t.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&Ce(o,"focus",this._panOnFocus,this);var n=t.icon.createShadow(this._shadow),s=!1;n!==this._shadow&&(this._removeShadow(),s=!0),n&&(le(n,e),n.alt=""),this._shadow=n,t.opacity<1&&this._updateOpacity(),i&&this.getPane().appendChild(this._icon),this._initInteraction(),n&&s&&this.getPane(t.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&Te(this._icon,"focus",this._panOnFocus,this),ie(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&ie(this._shadow),this._shadow=null},_setPos:function(t){this._icon&&me(this._icon,t),this._shadow&&me(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon&&(this._icon.style.zIndex=this._zIndex+t)},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPos(e)},_initInteraction:function(){if(this.options.interactive&&(le(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),Mo)){var t=this.options.draggable;this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new Mo(this),t&&this.dragging.enable()}},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var t=this.options.opacity;this._icon&&ce(this._icon,t),this._shadow&&ce(this._shadow,t)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var t=this._map;if(t){var e=this.options.icon.options,o=e.iconSize?O(e.iconSize):O(0,0),i=e.iconAnchor?O(e.iconAnchor):O(0,0);t.panInside(this._latlng,{paddingTopLeft:i,paddingBottomRight:o.subtract(i)})}},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}}),So=Lo.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(t){this._renderer=t.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(t){return c(this,t),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&t&&Object.prototype.hasOwnProperty.call(t,"weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+(this._renderer.options.tolerance||0)}}),Eo=So.extend({options:{fill:!0,radius:10},initialize:function(t,e){c(this,e),this._latlng=N(t),this._radius=this.options.radius},setLatLng:function(t){var e=this._latlng;return this._latlng=N(t),this.redraw(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(t){return this.options.radius=this._radius=t,this.redraw()},getRadius:function(){return this._radius},setStyle:function(t){var e=t&&t.radius||this._radius;return So.prototype.setStyle.call(this,t),this.setRadius(e),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var t=this._radius,e=this._radiusY||t,o=this._clickTolerance(),i=[t+o,e+o];this._pxBounds=new A(this._point.subtract(i),this._point.add(i))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(t){return t.distanceTo(this._point)<=this._radius+this._clickTolerance()}}),Zo=Eo.extend({initialize:function(t,o,i){if("number"==typeof o&&(o=e({},i,{radius:o})),c(this,o),this._latlng=N(t),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(t){return this._mRadius=t,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var t=[this._radius,this._radiusY||this._radius];return new B(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:So.prototype.setStyle,_project:function(){var t=this._latlng.lng,e=this._latlng.lat,o=this._map,i=o.options.crs;if(i.distance===F.distance){var n=Math.PI/180,s=this._mRadius/F.R/n,a=o.project([e+s,t]),r=o.project([e-s,t]),l=a.add(r).divideBy(2),h=o.unproject(l).lat,p=Math.acos((Math.cos(s*n)-Math.sin(e*n)*Math.sin(h*n))/(Math.cos(e*n)*Math.cos(h*n)))/n;(isNaN(p)||0===p)&&(p=s/Math.cos(Math.PI/180*e)),this._point=l.subtract(o.getPixelOrigin()),this._radius=isNaN(p)?0:l.x-o.project([h,t-p]).x,this._radiusY=l.y-a.y}else{var d=i.unproject(i.project(this._latlng).subtract([this._mRadius,0]));this._point=o.latLngToLayerPoint(this._latlng),this._radius=this._point.x-o.latLngToLayerPoint(d).x}this._updateBounds()}}),Oo=So.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,e){c(this,e),this._setLatLngs(t)},getLatLngs:function(){return this._latlngs},setLatLngs:function(t){return this._setLatLngs(t),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(t){for(var e,o,i=1/0,n=null,s=co,a=0,r=this._parts.length;a<r;a++)for(var l=this._parts[a],h=1,p=l.length;h<p;h++){var d=s(t,e=l[h-1],o=l[h],!0);d<i&&(i=d,n=s(t,e,o))}return n&&(n.distance=Math.sqrt(i)),n},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return mo(this._defaultShape(),this._map.options.crs)},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=N(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new B,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return uo(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],o=uo(t),i=0,n=t.length;i<n;i++)o?(e[i]=N(t[i]),this._bounds.extend(e[i])):e[i]=this._convertLatLngs(t[i]);return e},_project:function(){var t=new A;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,t),this._bounds.isValid()&&t.isValid()&&(this._rawPxBounds=t,this._updateBounds())},_updateBounds:function(){var t=this._clickTolerance(),e=new E(t,t);this._rawPxBounds&&(this._pxBounds=new A([this._rawPxBounds.min.subtract(e),this._rawPxBounds.max.add(e)]))},_projectLatlngs:function(t,e,o){var i,n,s=t[0]instanceof j,a=t.length;if(s){for(n=[],i=0;i<a;i++)n[i]=this._map.latLngToLayerPoint(t[i]),o.extend(n[i]);e.push(n)}else for(i=0;i<a;i++)this._projectLatlngs(t[i],e,o)},_clipPoints:function(){var t=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else{var e,o,i,n,s,a,r,l=this._parts;for(e=0,i=0,n=this._rings.length;e<n;e++)for(o=0,s=(r=this._rings[e]).length;o<s-1;o++)(a=lo(r[o],r[o+1],t,o,!0))&&(l[i]=l[i]||[],l[i].push(a[0]),a[1]===r[o+1]&&o!==s-2||(l[i].push(a[1]),i++))}},_simplifyPoints:function(){for(var t=this._parts,e=this.options.smoothFactor,o=0,i=t.length;o<i;o++)t[o]=ao(t[o],e)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(t,e){var o,i,n,s,a,r,l=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(o=0,s=this._parts.length;o<s;o++)for(i=0,n=(a=(r=this._parts[o]).length)-1;i<a;n=i++)if((e||0!==i)&&ro(t,r[n],r[i])<=l)return!0;return!1}});Oo._flat=_o;var Ao=Oo.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return oo(this._defaultShape(),this._map.options.crs)},_convertLatLngs:function(t){var e=Oo.prototype._convertLatLngs.call(this,t),o=e.length;return o>=2&&e[0]instanceof j&&e[0].equals(e[o-1])&&e.pop(),e},_setLatLngs:function(t){Oo.prototype._setLatLngs.call(this,t),uo(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return uo(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,o=new E(e,e);if(t=new A(t.min.subtract(o),t.max.add(o)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var i,n=0,s=this._rings.length;n<s;n++)(i=eo(this._rings[n],t,!0)).length&&this._parts.push(i)},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(t){var e,o,i,n,s,a,r,l,h=!1;if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(n=0,r=this._parts.length;n<r;n++)for(s=0,a=(l=(e=this._parts[n]).length)-1;s<l;a=s++)o=e[s],i=e[a],o.y>t.y!=i.y>t.y&&t.x<(i.x-o.x)*(t.y-o.y)/(i.y-o.y)+o.x&&(h=!h);return h||Oo.prototype._containsPoint.call(this,t,!0)}}),Io=Co.extend({initialize:function(t,e){c(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,o,i,n=f(t)?t:t.features;if(n){for(e=0,o=n.length;e<o;e++)((i=n[e]).geometries||i.geometry||i.features||i.coordinates)&&this.addData(i);return this}var s=this.options;if(s.filter&&!s.filter(t))return this;var a=Bo(t,s);return a?(a.feature=Go(t),a.defaultOptions=a.options,this.resetStyle(a),s.onEachFeature&&s.onEachFeature(t,a),this.addLayer(a)):this},resetStyle:function(t){return void 0===t?this.eachLayer(this.resetStyle,this):(t.options=e({},t.defaultOptions),this._setLayerStyle(t,this.options.style),this)},setStyle:function(t){return this.eachLayer((function(e){this._setLayerStyle(e,t)}),this)},_setLayerStyle:function(t,e){t.setStyle&&("function"==typeof e&&(e=e(t.feature)),t.setStyle(e))}});function Bo(t,e){var o,i,n,s,a="Feature"===t.type?t.geometry:t,r=a?a.coordinates:null,l=[],h=e&&e.pointToLayer,p=e&&e.coordsToLatLng||jo;if(!r&&!a)return null;switch(a.type){case"Point":return Ro(h,t,o=p(r),e);case"MultiPoint":for(n=0,s=r.length;n<s;n++)o=p(r[n]),l.push(Ro(h,t,o,e));return new Co(l);case"LineString":case"MultiLineString":return i=No(r,"LineString"===a.type?0:1,p),new Oo(i,e);case"Polygon":case"MultiPolygon":return i=No(r,"Polygon"===a.type?1:2,p),new Ao(i,e);case"GeometryCollection":for(n=0,s=a.geometries.length;n<s;n++){var d=Bo({geometry:a.geometries[n],type:"Feature",properties:t.properties},e);d&&l.push(d)}return new Co(l);case"FeatureCollection":for(n=0,s=a.features.length;n<s;n++){var c=Bo(a.features[n],e);c&&l.push(c)}return new Co(l);default:throw new Error("Invalid GeoJSON object.")}}function Ro(t,e,o,i){return t?t(e,o):new zo(o,i&&i.markersInheritOptions&&i)}function jo(t){return new j(t[1],t[0],t[2])}function No(t,e,o){for(var i,n=[],s=0,a=t.length;s<a;s++)i=e?No(t[s],e-1,o):(o||jo)(t[s]),n.push(i);return n}function Do(t,e){return void 0!==(t=N(t)).alt?[h(t.lng,e),h(t.lat,e),h(t.alt,e)]:[h(t.lng,e),h(t.lat,e)]}function $o(t,e,o,i){for(var n=[],s=0,a=t.length;s<a;s++)n.push(e?$o(t[s],uo(t[s])?0:e-1,o,i):Do(t[s],i));return!e&&o&&n.length>0&&n.push(n[0].slice()),n}function Fo(t,o){return t.feature?e({},t.feature,{geometry:o}):Go(o)}function Go(t){return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}var Ho={toGeoJSON:function(t){return Fo(this,{type:"Point",coordinates:Do(this.getLatLng(),t)})}};function Uo(t,e){return new Io(t,e)}zo.include(Ho),Zo.include(Ho),Eo.include(Ho),Oo.include({toGeoJSON:function(t){var e=!uo(this._latlngs);return Fo(this,{type:(e?"Multi":"")+"LineString",coordinates:$o(this._latlngs,e?1:0,!1,t)})}}),Ao.include({toGeoJSON:function(t){var e=!uo(this._latlngs),o=e&&!uo(this._latlngs[0]),i=$o(this._latlngs,o?2:e?1:0,!0,t);return e||(i=[i]),Fo(this,{type:(o?"Multi":"")+"Polygon",coordinates:i})}}),ko.include({toMultiPoint:function(t){var e=[];return this.eachLayer((function(o){e.push(o.toGeoJSON(t).geometry.coordinates)})),Fo(this,{type:"MultiPoint",coordinates:e})},toGeoJSON:function(t){var e=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===e)return this.toMultiPoint(t);var o="GeometryCollection"===e,i=[];return this.eachLayer((function(e){if(e.toGeoJSON){var n=e.toGeoJSON(t);if(o)i.push(n.geometry);else{var s=Go(n);"FeatureCollection"===s.type?i.push.apply(i,s.features):i.push(s)}}})),o?Fo(this,{geometries:i,type:"GeometryCollection"}):{type:"FeatureCollection",features:i}}});var Wo=Uo,qo=Lo.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,e,o){this._url=t,this._bounds=R(e),c(this,o)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(le(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){ie(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&se(this._image),this},bringToBack:function(){return this._map&&ae(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=R(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t="IMG"===this._url.tagName,e=this._image=t?this._url:oe("img");le(e,"leaflet-image-layer"),this._zoomAnimated&&le(e,"leaflet-zoom-animated"),this.options.className&&le(e,this.options.className),e.onselectstart=l,e.onmousemove=l,e.onload=i(this.fire,this,"load"),e.onerror=i(this._overlayOnError,this,"error"),(this.options.crossOrigin||""===this.options.crossOrigin)&&(e.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t?this._url=e.src:(e.src=this._url,e.alt=this.options.alt)},_animateZoom:function(t){var e=this._map.getZoomScale(t.zoom),o=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;_e(this._image,o,e)},_reset:function(){var t=this._image,e=new A(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),o=e.getSize();me(t,e.min),t.style.width=o.x+"px",t.style.height=o.y+"px"},_updateOpacity:function(){ce(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)},getCenter:function(){return this._bounds.getCenter()}}),Vo=qo.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var t="VIDEO"===this._url.tagName,e=this._image=t?this._url:oe("video");if(le(e,"leaflet-image-layer"),this._zoomAnimated&&le(e,"leaflet-zoom-animated"),this.options.className&&le(e,this.options.className),e.onselectstart=l,e.onmousemove=l,e.onloadeddata=i(this.fire,this,"load"),t){for(var o=e.getElementsByTagName("source"),n=[],s=0;s<o.length;s++)n.push(o[s].src);this._url=o.length>0?n:[e.src]}else{f(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(e.style,"objectFit")&&(e.style.objectFit="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop,e.muted=!!this.options.muted,e.playsInline=!!this.options.playsInline;for(var a=0;a<this._url.length;a++){var r=oe("source");r.src=this._url[a],e.appendChild(r)}}}}),Ko=qo.extend({_initImage:function(){var t=this._image=this._url;le(t,"leaflet-image-layer"),this._zoomAnimated&&le(t,"leaflet-zoom-animated"),this.options.className&&le(t,this.options.className),t.onselectstart=l,t.onmousemove=l}}),Yo=Lo.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0,content:""},initialize:function(t,e){t&&(t instanceof j||f(t))?(this._latlng=N(t),c(this,e)):(c(this,t),this._source=e),this.options.content&&(this._content=this.options.content)},openOn:function(t){return(t=arguments.length?t:this._source._map).hasLayer(this)||t.addLayer(this),this},close:function(){return this._map&&this._map.removeLayer(this),this},toggle:function(t){return this._map?this.close():(arguments.length?this._source=t:t=this._source,this._prepareOpen(),this.openOn(t._map)),this},onAdd:function(t){this._zoomAnimated=t._zoomAnimated,this._container||this._initLayout(),t._fadeAnimated&&ce(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&ce(this._container,1),this.bringToFront(),this.options.interactive&&(le(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(t){t._fadeAnimated?(ce(this._container,0),this._removeTimeout=setTimeout(i(ie,void 0,this._container),200)):ie(this._container),this.options.interactive&&(he(this._container,"leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=N(t),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(t){return this._content=t,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var t={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&se(this._container),this},bringToBack:function(){return this._map&&ae(this._container),this},_prepareOpen:function(t){var e=this._source;if(!e._map)return!1;if(e instanceof Co){e=null;var o=this._source._layers;for(var i in o)if(o[i]._map){e=o[i];break}if(!e)return!1;this._source=e}if(!t)if(e.getCenter)t=e.getCenter();else if(e.getLatLng)t=e.getLatLng();else{if(!e.getBounds)throw new Error("Unable to get source layer LatLng.");t=e.getBounds().getCenter()}return this.setLatLng(t),this._map&&this.update(),!0},_updateContent:function(){if(this._content){var t=this._contentNode,e="function"==typeof this._content?this._content(this._source||this):this._content;if("string"==typeof e)t.innerHTML=e;else{for(;t.hasChildNodes();)t.removeChild(t.firstChild);t.appendChild(e)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var t=this._map.latLngToLayerPoint(this._latlng),e=O(this.options.offset),o=this._getAnchor();this._zoomAnimated?me(this._container,t.add(o)):e=e.add(t).add(o);var i=this._containerBottom=-e.y,n=this._containerLeft=-Math.round(this._containerWidth/2)+e.x;this._container.style.bottom=i+"px",this._container.style.left=n+"px"}},_getAnchor:function(){return[0,0]}});He.include({_initOverlay:function(t,e,o,i){var n=e;return n instanceof t||(n=new t(i).setContent(e)),o&&n.setLatLng(o),n}}),Lo.include({_initOverlay:function(t,e,o,i){var n=o;return n instanceof t?(c(n,i),n._source=this):(n=e&&!i?e:new t(i,this)).setContent(o),n}});var Jo=Yo.extend({options:{pane:"popupPane",offset:[0,7],maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(t){return!(t=arguments.length?t:this._source._map).hasLayer(this)&&t._popup&&t._popup.options.autoClose&&t.removeLayer(t._popup),t._popup=this,Yo.prototype.openOn.call(this,t)},onAdd:function(t){Yo.prototype.onAdd.call(this,t),t.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof So||this._source.on("preclick",Ze))},onRemove:function(t){Yo.prototype.onRemove.call(this,t),t.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof So||this._source.off("preclick",Ze))},getEvents:function(){var t=Yo.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(t.preclick=this.close),this.options.keepInView&&(t.moveend=this._adjustPan),t},_initLayout:function(){var t="leaflet-popup",e=this._container=oe("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated"),o=this._wrapper=oe("div",t+"-content-wrapper",e);if(this._contentNode=oe("div",t+"-content",o),Ae(e),Oe(this._contentNode),Ce(e,"contextmenu",Ze),this._tipContainer=oe("div",t+"-tip-container",e),this._tip=oe("div",t+"-tip",this._tipContainer),this.options.closeButton){var i=this._closeButton=oe("a",t+"-close-button",e);i.setAttribute("role","button"),i.setAttribute("aria-label","Close popup"),i.href="#close",i.innerHTML='<span aria-hidden="true">&#215;</span>',Ce(i,"click",(function(t){Ie(t),this.close()}),this)}},_updateLayout:function(){var t=this._contentNode,e=t.style;e.width="",e.whiteSpace="nowrap";var o=t.offsetWidth;o=Math.min(o,this.options.maxWidth),o=Math.max(o,this.options.minWidth),e.width=o+1+"px",e.whiteSpace="",e.height="";var i=t.offsetHeight,n=this.options.maxHeight;n&&i>n?(e.height=n+"px",le(t,"leaflet-popup-scrolled")):he(t,"leaflet-popup-scrolled"),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),o=this._getAnchor();me(this._container,e.add(o))},_adjustPan:function(){if(this.options.autoPan)if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning)this._autopanning=!1;else{var t=this._map,e=parseInt(ee(this._container,"marginBottom"),10)||0,o=this._container.offsetHeight+e,i=this._containerWidth,n=new E(this._containerLeft,-o-this._containerBottom);n._add(fe(this._container));var s=t.layerPointToContainerPoint(n),a=O(this.options.autoPanPadding),r=O(this.options.autoPanPaddingTopLeft||a),l=O(this.options.autoPanPaddingBottomRight||a),h=t.getSize(),p=0,d=0;s.x+i+l.x>h.x&&(p=s.x+i-h.x+l.x),s.x-p-r.x<0&&(p=s.x-r.x),s.y+o+l.y>h.y&&(d=s.y+o-h.y+l.y),s.y-d-r.y<0&&(d=s.y-r.y),(p||d)&&(this.options.keepInView&&(this._autopanning=!0),t.fire("autopanstart").panBy([p,d]))}},_getAnchor:function(){return O(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}});He.mergeOptions({closePopupOnClick:!0}),He.include({openPopup:function(t,e,o){return this._initOverlay(Jo,t,e,o).openOn(this),this},closePopup:function(t){return(t=arguments.length?t:this._popup)&&t.close(),this}}),Lo.include({bindPopup:function(t,e){return this._popup=this._initOverlay(Jo,this._popup,t,e),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t){return this._popup&&(this instanceof Co||(this._popup._source=this),this._popup._prepareOpen(t||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){if(this._popup&&this._map){Be(t);var e=t.layer||t.target;this._popup._source!==e||e instanceof So?(this._popup._source=e,this.openPopup(t.latlng)):this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(t.latlng)}},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var Xo=Yo.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(t){Yo.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(t){Yo.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var t=Yo.prototype.getEvents.call(this);return this.options.permanent||(t.preclick=this.close),t},_initLayout:function(){var t="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=oe("div",t),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+s(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e,o,i=this._map,n=this._container,s=i.latLngToContainerPoint(i.getCenter()),a=i.layerPointToContainerPoint(t),r=this.options.direction,l=n.offsetWidth,h=n.offsetHeight,p=O(this.options.offset),d=this._getAnchor();"top"===r?(e=l/2,o=h):"bottom"===r?(e=l/2,o=0):"center"===r?(e=l/2,o=h/2):"right"===r?(e=0,o=h/2):"left"===r?(e=l,o=h/2):a.x<s.x?(r="right",e=0,o=h/2):(r="left",e=l+2*(p.x+d.x),o=h/2),t=t.subtract(O(e,o,!0)).add(p).add(d),he(n,"leaflet-tooltip-right"),he(n,"leaflet-tooltip-left"),he(n,"leaflet-tooltip-top"),he(n,"leaflet-tooltip-bottom"),le(n,"leaflet-tooltip-"+r),me(n,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&ce(this._container,t)},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);this._setPosition(e)},_getAnchor:function(){return O(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}});He.include({openTooltip:function(t,e,o){return this._initOverlay(Xo,t,e,o).openOn(this),this},closeTooltip:function(t){return t.close(),this}}),Lo.include({bindTooltip:function(t,e){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(Xo,this._tooltip,t,e),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(t){if(t||!this._tooltipHandlersAdded){var e=t?"off":"on",o={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?o.add=this._openTooltip:(o.mouseover=this._openTooltip,o.mouseout=this.closeTooltip,o.click=this._openTooltip,this._map?this._addFocusListeners():o.add=this._addFocusListeners),this._tooltip.options.sticky&&(o.mousemove=this._moveTooltip),this[e](o),this._tooltipHandlersAdded=!t}},openTooltip:function(t){return this._tooltip&&(this instanceof Co||(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},closeTooltip:function(){if(this._tooltip)return this._tooltip.close()},toggleTooltip:function(){return this._tooltip&&this._tooltip.toggle(this),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(t){return this._tooltip&&this._tooltip.setContent(t),this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){this.getElement?this._addFocusListenersOnLayer(this):this.eachLayer&&this.eachLayer(this._addFocusListenersOnLayer,this)},_addFocusListenersOnLayer:function(t){var e="function"==typeof t.getElement&&t.getElement();e&&(Ce(e,"focus",(function(){this._tooltip._source=t,this.openTooltip()}),this),Ce(e,"blur",this.closeTooltip,this))},_setAriaDescribedByOnLayer:function(t){var e="function"==typeof t.getElement&&t.getElement();e&&e.setAttribute("aria-describedby",this._tooltip._container.id)},_openTooltip:function(t){if(this._tooltip&&this._map)if(this._map.dragging&&this._map.dragging.moving()&&!this._openOnceFlag){this._openOnceFlag=!0;var e=this;this._map.once("moveend",(function(){e._openOnceFlag=!1,e._openTooltip(t)}))}else this._tooltip._source=t.layer||t.target,this.openTooltip(this._tooltip.options.sticky?t.latlng:void 0)},_moveTooltip:function(t){var e,o,i=t.latlng;this._tooltip.options.sticky&&t.originalEvent&&(e=this._map.mouseEventToContainerPoint(t.originalEvent),o=this._map.containerPointToLayerPoint(e),i=this._map.layerPointToLatLng(o)),this._tooltip.setLatLng(i)}});var Qo=Po.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(t){var e=t&&"DIV"===t.tagName?t:document.createElement("div"),o=this.options;if(o.html instanceof Element?(ne(e),e.appendChild(o.html)):e.innerHTML=!1!==o.html?o.html:"",o.bgPos){var i=O(o.bgPos);e.style.backgroundPosition=-i.x+"px "+-i.y+"px"}return this._setIconStyles(e,"icon"),e},createShadow:function(){return null}});Po.Default=To;var ti=Lo.extend({options:{tileSize:256,opacity:1,updateWhenIdle:Ot.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(t){c(this,t)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles(),ie(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(se(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(ae(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(t){return this.options.opacity=t,this._updateOpacity(),this},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){if(this._map){this._removeAllTiles();var t=this._clampZoom(this._map.getZoom());t!==this._tileZoom&&(this._tileZoom=t,this._updateLevels()),this._update()}return this},getEvents:function(){var t={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=a(this._onMoveEnd,this.options.updateInterval,this)),t.move=this._onMove),this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},createTile:function(){return document.createElement("div")},getTileSize:function(){var t=this.options.tileSize;return t instanceof E?t:new E(t,t)},_updateZIndex:function(){this._container&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t){for(var e,o=this.getPane().children,i=-t(-1/0,1/0),n=0,s=o.length;n<s;n++)e=o[n].style.zIndex,o[n]!==this._container&&e&&(i=t(i,+e));isFinite(i)&&(this.options.zIndex=i+t(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!Ot.ielt9){ce(this._container,this.options.opacity);var t=+new Date,e=!1,o=!1;for(var i in this._tiles){var n=this._tiles[i];if(n.current&&n.loaded){var s=Math.min(1,(t-n.loaded)/200);ce(n.el,s),s<1?e=!0:(n.active?o=!0:this._onOpaqueTile(n),n.active=!0)}}o&&!this._noPrune&&this._pruneTiles(),e&&(P(this._fadeFrame),this._fadeFrame=C(this._updateOpacity,this))}},_onOpaqueTile:l,_initContainer:function(){this._container||(this._container=oe("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var t=this._tileZoom,e=this.options.maxZoom;if(void 0!==t){for(var o in this._levels)o=Number(o),this._levels[o].el.children.length||o===t?(this._levels[o].el.style.zIndex=e-Math.abs(t-o),this._onUpdateLevel(o)):(ie(this._levels[o].el),this._removeTilesAtZoom(o),this._onRemoveLevel(o),delete this._levels[o]);var i=this._levels[t],n=this._map;return i||((i=this._levels[t]={}).el=oe("div","leaflet-tile-container leaflet-zoom-animated",this._container),i.el.style.zIndex=e,i.origin=n.project(n.unproject(n.getPixelOrigin()),t).round(),i.zoom=t,this._setZoomTransform(i,n.getCenter(),n.getZoom()),i.el.offsetWidth,this._onCreateLevel(i)),this._level=i,i}},_onUpdateLevel:l,_onRemoveLevel:l,_onCreateLevel:l,_pruneTiles:function(){if(this._map){var t,e,o=this._map.getZoom();if(o>this.options.maxZoom||o<this.options.minZoom)this._removeAllTiles();else{for(t in this._tiles)(e=this._tiles[t]).retain=e.current;for(t in this._tiles)if((e=this._tiles[t]).current&&!e.active){var i=e.coords;this._retainParent(i.x,i.y,i.z,i.z-5)||this._retainChildren(i.x,i.y,i.z,i.z+2)}for(t in this._tiles)this._tiles[t].retain||this._removeTile(t)}}},_removeTilesAtZoom:function(t){for(var e in this._tiles)this._tiles[e].coords.z===t&&this._removeTile(e)},_removeAllTiles:function(){for(var t in this._tiles)this._removeTile(t)},_invalidateAll:function(){for(var t in this._levels)ie(this._levels[t].el),this._onRemoveLevel(Number(t)),delete this._levels[t];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(t,e,o,i){var n=Math.floor(t/2),s=Math.floor(e/2),a=o-1,r=new E(+n,+s);r.z=+a;var l=this._tileCoordsToKey(r),h=this._tiles[l];return h&&h.active?(h.retain=!0,!0):(h&&h.loaded&&(h.retain=!0),a>i&&this._retainParent(n,s,a,i))},_retainChildren:function(t,e,o,i){for(var n=2*t;n<2*t+2;n++)for(var s=2*e;s<2*e+2;s++){var a=new E(n,s);a.z=o+1;var r=this._tileCoordsToKey(a),l=this._tiles[r];l&&l.active?l.retain=!0:(l&&l.loaded&&(l.retain=!0),o+1<i&&this._retainChildren(n,s,o+1,i))}},_resetView:function(t){var e=t&&(t.pinch||t.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),e,e)},_animateZoom:function(t){this._setView(t.center,t.zoom,!0,t.noUpdate)},_clampZoom:function(t){var e=this.options;return void 0!==e.minNativeZoom&&t<e.minNativeZoom?e.minNativeZoom:void 0!==e.maxNativeZoom&&e.maxNativeZoom<t?e.maxNativeZoom:t},_setView:function(t,e,o,i){var n=Math.round(e);n=void 0!==this.options.maxZoom&&n>this.options.maxZoom||void 0!==this.options.minZoom&&n<this.options.minZoom?void 0:this._clampZoom(n);var s=this.options.updateWhenZooming&&n!==this._tileZoom;i&&!s||(this._tileZoom=n,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==n&&this._update(t),o||this._pruneTiles(),this._noPrune=!!o),this._setZoomTransforms(t,e)},_setZoomTransforms:function(t,e){for(var o in this._levels)this._setZoomTransform(this._levels[o],t,e)},_setZoomTransform:function(t,e,o){var i=this._map.getZoomScale(o,t.zoom),n=t.origin.multiplyBy(i).subtract(this._map._getNewPixelOrigin(e,o)).round();Ot.any3d?_e(t.el,n,i):me(t.el,n)},_resetGrid:function(){var t=this._map,e=t.options.crs,o=this._tileSize=this.getTileSize(),i=this._tileZoom,n=this._map.getPixelWorldBounds(this._tileZoom);n&&(this._globalTileRange=this._pxBoundsToTileRange(n)),this._wrapX=e.wrapLng&&!this.options.noWrap&&[Math.floor(t.project([0,e.wrapLng[0]],i).x/o.x),Math.ceil(t.project([0,e.wrapLng[1]],i).x/o.y)],this._wrapY=e.wrapLat&&!this.options.noWrap&&[Math.floor(t.project([e.wrapLat[0],0],i).y/o.x),Math.ceil(t.project([e.wrapLat[1],0],i).y/o.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(t){var e=this._map,o=e._animatingZoom?Math.max(e._animateToZoom,e.getZoom()):e.getZoom(),i=e.getZoomScale(o,this._tileZoom),n=e.project(t,this._tileZoom).floor(),s=e.getSize().divideBy(2*i);return new A(n.subtract(s),n.add(s))},_update:function(t){var e=this._map;if(e){var o=this._clampZoom(e.getZoom());if(void 0===t&&(t=e.getCenter()),void 0!==this._tileZoom){var i=this._getTiledPixelBounds(t),n=this._pxBoundsToTileRange(i),s=n.getCenter(),a=[],r=this.options.keepBuffer,l=new A(n.getBottomLeft().subtract([r,-r]),n.getTopRight().add([r,-r]));if(!(isFinite(n.min.x)&&isFinite(n.min.y)&&isFinite(n.max.x)&&isFinite(n.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var h in this._tiles){var p=this._tiles[h].coords;p.z===this._tileZoom&&l.contains(new E(p.x,p.y))||(this._tiles[h].current=!1)}if(Math.abs(o-this._tileZoom)>1)this._setView(t,o);else{for(var d=n.min.y;d<=n.max.y;d++)for(var c=n.min.x;c<=n.max.x;c++){var u=new E(c,d);if(u.z=this._tileZoom,this._isValidTile(u)){var _=this._tiles[this._tileCoordsToKey(u)];_?_.current=!0:a.push(u)}}if(a.sort((function(t,e){return t.distanceTo(s)-e.distanceTo(s)})),0!==a.length){this._loading||(this._loading=!0,this.fire("loading"));var m=document.createDocumentFragment();for(c=0;c<a.length;c++)this._addTile(a[c],m);this._level.el.appendChild(m)}}}}},_isValidTile:function(t){var e=this._map.options.crs;if(!e.infinite){var o=this._globalTileRange;if(!e.wrapLng&&(t.x<o.min.x||t.x>o.max.x)||!e.wrapLat&&(t.y<o.min.y||t.y>o.max.y))return!1}if(!this.options.bounds)return!0;var i=this._tileCoordsToBounds(t);return R(this.options.bounds).overlaps(i)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,o=this.getTileSize(),i=t.scaleBy(o),n=i.add(o);return[e.unproject(i,t.z),e.unproject(n,t.z)]},_tileCoordsToBounds:function(t){var e=this._tileCoordsToNwSe(t),o=new B(e[0],e[1]);return this.options.noWrap||(o=this._map.wrapLatLngBounds(o)),o},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=t.split(":"),o=new E(+e[0],+e[1]);return o.z=+e[2],o},_removeTile:function(t){var e=this._tiles[t];e&&(ie(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){le(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=l,t.onmousemove=l,Ot.ielt9&&this.options.opacity<1&&ce(t,this.options.opacity)},_addTile:function(t,e){var o=this._getTilePos(t),n=this._tileCoordsToKey(t),s=this.createTile(this._wrapCoords(t),i(this._tileReady,this,t));this._initTile(s),this.createTile.length<2&&C(i(this._tileReady,this,t,null,s)),me(s,o),this._tiles[n]={el:s,coords:t,current:!0},e.appendChild(s),this.fire("tileloadstart",{tile:s,coords:t})},_tileReady:function(t,e,o){e&&this.fire("tileerror",{error:e,tile:o,coords:t});var n=this._tileCoordsToKey(t);(o=this._tiles[n])&&(o.loaded=+new Date,this._map._fadeAnimated?(ce(o.el,0),P(this._fadeFrame),this._fadeFrame=C(this._updateOpacity,this)):(o.active=!0,this._pruneTiles()),e||(le(o.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:o.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),Ot.ielt9||!this._map._fadeAnimated?C(this._pruneTiles,this):setTimeout(i(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new E(this._wrapX?r(t.x,this._wrapX):t.x,this._wrapY?r(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new A(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}}),ei=ti.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(t,e){this._url=t,(e=c(this,e)).detectRetina&&Ot.retina&&e.maxZoom>0?(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom=Math.min(e.maxZoom,e.minZoom+1)):(e.zoomOffset++,e.maxZoom=Math.max(e.minZoom,e.maxZoom-1)),e.minZoom=Math.max(0,e.minZoom)):e.zoomReverse?e.minZoom=Math.min(e.maxZoom,e.minZoom):e.maxZoom=Math.max(e.minZoom,e.maxZoom),"string"==typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url===t&&void 0===e&&(e=!0),this._url=t,e||this.redraw(),this},createTile:function(t,e){var o=document.createElement("img");return Ce(o,"load",i(this._tileOnLoad,this,e,o)),Ce(o,"error",i(this._tileOnError,this,e,o)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(o.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),"string"==typeof this.options.referrerPolicy&&(o.referrerPolicy=this.options.referrerPolicy),o.alt="",o.src=this.getTileUrl(t),o},getTileUrl:function(t){var o={r:Ot.retina?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var i=this._globalTileRange.max.y-t.y;this.options.tms&&(o.y=i),o["-y"]=i}return m(this._url,e(o,this.options))},_tileOnLoad:function(t,e){Ot.ielt9?setTimeout(i(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,o){var i=this.options.errorTileUrl;i&&e.getAttribute("src")!==i&&(e.src=i),t(o,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom;return this.options.zoomReverse&&(t=e-t),t+this.options.zoomOffset},_getSubdomain:function(t){var e=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[e]},_abortLoading:function(){var t,e;for(t in this._tiles)if(this._tiles[t].coords.z!==this._tileZoom&&((e=this._tiles[t].el).onload=l,e.onerror=l,!e.complete)){e.src=g;var o=this._tiles[t].coords;ie(e),delete this._tiles[t],this.fire("tileabort",{tile:e,coords:o})}},_removeTile:function(t){var e=this._tiles[t];if(e)return e.el.setAttribute("src",g),ti.prototype._removeTile.call(this,t)},_tileReady:function(t,e,o){if(this._map&&(!o||o.getAttribute("src")!==g))return ti.prototype._tileReady.call(this,t,e,o)}});function oi(t,e){return new ei(t,e)}var ii=ei.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,o){this._url=t;var i=e({},this.defaultWmsParams);for(var n in o)n in this.options||(i[n]=o[n]);var s=(o=c(this,o)).detectRetina&&Ot.retina?2:1,a=this.getTileSize();i.width=a.x*s,i.height=a.y*s,this.wmsParams=i},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[e]=this._crs.code,ei.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),o=this._crs,i=I(o.project(e[0]),o.project(e[1])),n=i.min,s=i.max,a=(this._wmsVersion>=1.3&&this._crs===bo?[n.y,n.x,s.y,s.x]:[n.x,n.y,s.x,s.y]).join(","),r=ei.prototype.getTileUrl.call(this,t);return r+u(this.wmsParams,r,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+a},setParams:function(t,o){return e(this.wmsParams,t),o||this.redraw(),this}});ei.WMS=ii,oi.wms=function(t,e){return new ii(t,e)};var ni=Lo.extend({options:{padding:.1},initialize:function(t){c(this,t),s(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),le(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var o=this._map.getZoomScale(e,this._zoom),i=this._map.getSize().multiplyBy(.5+this.options.padding),n=this._map.project(this._center,e),s=i.multiplyBy(-o).add(n).subtract(this._map._getNewPixelOrigin(t,e));Ot.any3d?_e(this._container,s,o):me(this._container,s)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),o=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new A(o,o.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),si=ni.extend({options:{tolerance:0},getEvents:function(){var t=ni.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){ni.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");Ce(t,"mousemove",this._onMouseMove,this),Ce(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Ce(t,"mouseout",this._handleMouseOut,this),t._leaflet_disable_events=!0,this._ctx=t.getContext("2d")},_destroyContainer:function(){P(this._redrawRequest),delete this._ctx,ie(this._container),Te(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var t in this._redrawBounds=null,this._layers)this._layers[t]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){ni.prototype._update.call(this);var t=this._bounds,e=this._container,o=t.getSize(),i=Ot.retina?2:1;me(e,t.min),e.width=i*o.x,e.height=i*o.y,e.style.width=o.x+"px",e.style.height=o.y+"px",Ot.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){ni.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[s(t)]=t;var e=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=e),this._drawLast=e,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,o=e.next,i=e.prev;o?o.prev=i:this._drawLast=i,i?i.next=o:this._drawFirst=o,delete t._order,delete this._layers[s(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"==typeof t.options.dashArray){var e,o,i=t.options.dashArray.split(/[, ]+/),n=[];for(o=0;o<i.length;o++){if(e=Number(i[o]),isNaN(e))return;n.push(e)}t.options._dashArray=n}else t.options._dashArray=t.options.dashArray},_requestRedraw:function(t){this._map&&(this._extendRedrawBounds(t),this._redrawRequest=this._redrawRequest||C(this._redraw,this))},_extendRedrawBounds:function(t){if(t._pxBounds){var e=(t.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new A,this._redrawBounds.extend(t._pxBounds.min.subtract([e,e])),this._redrawBounds.extend(t._pxBounds.max.add([e,e]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var t=this._redrawBounds;if(t){var e=t.getSize();this._ctx.clearRect(t.min.x,t.min.y,e.x,e.y)}else this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore()},_draw:function(){var t,e=this._redrawBounds;if(this._ctx.save(),e){var o=e.getSize();this._ctx.beginPath(),this._ctx.rect(e.min.x,e.min.y,o.x,o.y),this._ctx.clip()}this._drawing=!0;for(var i=this._drawFirst;i;i=i.next)t=i.layer,(!e||t._pxBounds&&t._pxBounds.intersects(e))&&t._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(t,e){if(this._drawing){var o,i,n,s,a=t._parts,r=a.length,l=this._ctx;if(r){for(l.beginPath(),o=0;o<r;o++){for(i=0,n=a[o].length;i<n;i++)s=a[o][i],l[i?"lineTo":"moveTo"](s.x,s.y);e&&l.closePath()}this._fillStroke(l,t)}}},_updateCircle:function(t){if(this._drawing&&!t._empty()){var e=t._point,o=this._ctx,i=Math.max(Math.round(t._radius),1),n=(Math.max(Math.round(t._radiusY),1)||i)/i;1!==n&&(o.save(),o.scale(1,n)),o.beginPath(),o.arc(e.x,e.y/n,i,0,2*Math.PI,!1),1!==n&&o.restore(),this._fillStroke(o,t)}},_fillStroke:function(t,e){var o=e.options;o.fill&&(t.globalAlpha=o.fillOpacity,t.fillStyle=o.fillColor||o.color,t.fill(o.fillRule||"evenodd")),o.stroke&&0!==o.weight&&(t.setLineDash&&t.setLineDash(e.options&&e.options._dashArray||[]),t.globalAlpha=o.opacity,t.lineWidth=o.weight,t.strokeStyle=o.color,t.lineCap=o.lineCap,t.lineJoin=o.lineJoin,t.stroke())},_onClick:function(t){for(var e,o,i=this._map.mouseEventToLayerPoint(t),n=this._drawFirst;n;n=n.next)(e=n.layer).options.interactive&&e._containsPoint(i)&&("click"!==t.type&&"preclick"!==t.type||!this._map._draggableMoved(e))&&(o=e);this._fireEvent(!!o&&[o],t)},_onMouseMove:function(t){if(this._map&&!this._map.dragging.moving()&&!this._map._animatingZoom){var e=this._map.mouseEventToLayerPoint(t);this._handleMouseHover(t,e)}},_handleMouseOut:function(t){var e=this._hoveredLayer;e&&(he(this._container,"leaflet-interactive"),this._fireEvent([e],t,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(t,e){if(!this._mouseHoverThrottled){for(var o,n,s=this._drawFirst;s;s=s.next)(o=s.layer).options.interactive&&o._containsPoint(e)&&(n=o);n!==this._hoveredLayer&&(this._handleMouseOut(t),n&&(le(this._container,"leaflet-interactive"),this._fireEvent([n],t,"mouseover"),this._hoveredLayer=n)),this._fireEvent(!!this._hoveredLayer&&[this._hoveredLayer],t),this._mouseHoverThrottled=!0,setTimeout(i((function(){this._mouseHoverThrottled=!1}),this),32)}},_fireEvent:function(t,e,o){this._map._fireDOMEvent(e,o||e.type,t)},_bringToFront:function(t){var e=t._order;if(e){var o=e.next,i=e.prev;o&&(o.prev=i,i?i.next=o:o&&(this._drawFirst=o),e.prev=this._drawLast,this._drawLast.next=e,e.next=null,this._drawLast=e,this._requestRedraw(t))}},_bringToBack:function(t){var e=t._order;if(e){var o=e.next,i=e.prev;i&&(i.next=o,o?o.prev=i:i&&(this._drawLast=i),e.prev=null,e.next=this._drawFirst,this._drawFirst.prev=e,this._drawFirst=e,this._requestRedraw(t))}}});function ai(t){return Ot.canvas?new si(t):null}var ri=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(t){return document.createElement("<lvml:"+t+' class="lvml">')}}catch(t){}return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),li={_initContainer:function(){this._container=oe("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(ni.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=ri("shape");le(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=ri("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[s(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;ie(e),t.removeInteractiveTarget(e),delete this._layers[s(t)]},_updateStyle:function(t){var e=t._stroke,o=t._fill,i=t.options,n=t._container;n.stroked=!!i.stroke,n.filled=!!i.fill,i.stroke?(e||(e=t._stroke=ri("stroke")),n.appendChild(e),e.weight=i.weight+"px",e.color=i.color,e.opacity=i.opacity,i.dashArray?e.dashStyle=f(i.dashArray)?i.dashArray.join(" "):i.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=i.lineCap.replace("butt","flat"),e.joinstyle=i.lineJoin):e&&(n.removeChild(e),t._stroke=null),i.fill?(o||(o=t._fill=ri("fill")),n.appendChild(o),o.color=i.fillColor||i.color,o.opacity=i.fillOpacity):o&&(n.removeChild(o),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),o=Math.round(t._radius),i=Math.round(t._radiusY||o);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+o+","+i+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){se(t._container)},_bringToBack:function(t){ae(t._container)}},hi=Ot.vml?ri:K,pi=ni.extend({_initContainer:function(){this._container=hi("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=hi("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){ie(this._container),Te(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!this._map._animatingZoom||!this._bounds){ni.prototype._update.call(this);var t=this._bounds,e=t.getSize(),o=this._container;this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,o.setAttribute("width",e.x),o.setAttribute("height",e.y)),me(o,t.min),o.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update")}},_initPath:function(t){var e=t._path=hi("path");t.options.className&&le(e,t.options.className),t.options.interactive&&le(e,"leaflet-interactive"),this._updateStyle(t),this._layers[s(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){ie(t._path),t.removeInteractiveTarget(t._path),delete this._layers[s(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,o=t.options;e&&(o.stroke?(e.setAttribute("stroke",o.color),e.setAttribute("stroke-opacity",o.opacity),e.setAttribute("stroke-width",o.weight),e.setAttribute("stroke-linecap",o.lineCap),e.setAttribute("stroke-linejoin",o.lineJoin),o.dashArray?e.setAttribute("stroke-dasharray",o.dashArray):e.removeAttribute("stroke-dasharray"),o.dashOffset?e.setAttribute("stroke-dashoffset",o.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),o.fill?(e.setAttribute("fill",o.fillColor||o.color),e.setAttribute("fill-opacity",o.fillOpacity),e.setAttribute("fill-rule",o.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,Y(t._parts,e))},_updateCircle:function(t){var e=t._point,o=Math.max(Math.round(t._radius),1),i="a"+o+","+(Math.max(Math.round(t._radiusY),1)||o)+" 0 1,0 ",n=t._empty()?"M0 0":"M"+(e.x-o)+","+e.y+i+2*o+",0 "+i+2*-o+",0 ";this._setPath(t,n)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){se(t._path)},_bringToBack:function(t){ae(t._path)}});function di(t){return Ot.svg||Ot.vml?new pi(t):null}Ot.vml&&pi.include(li),He.include({getRenderer:function(t){var e=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return e||(e=this._renderer=this._createRenderer()),this.hasLayer(e)||this.addLayer(e),e},_getPaneRenderer:function(t){if("overlayPane"===t||void 0===t)return!1;var e=this._paneRenderers[t];return void 0===e&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e},_createRenderer:function(t){return this.options.preferCanvas&&ai(t)||di(t)}});var ci=Ao.extend({initialize:function(t,e){Ao.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return[(t=R(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});pi.create=hi,pi.pointsToPath=Y,Io.geometryToLayer=Bo,Io.coordsToLatLng=jo,Io.coordsToLatLngs=No,Io.latLngToCoords=Do,Io.latLngsToCoords=$o,Io.getFeature=Fo,Io.asFeature=Go,He.mergeOptions({boxZoom:!0});var ui=Je.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){Ce(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Te(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){ie(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),Wt(),ge(),this._startPoint=this._map.mouseEventToContainerPoint(t),Ce(document,{contextmenu:Be,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=oe("div","leaflet-zoom-box",this._container),le(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new A(this._point,this._startPoint),o=e.getSize();me(this._box,e.min),this._box.style.width=o.x+"px",this._box.style.height=o.y+"px"},_finish:function(){this._moved&&(ie(this._box),he(this._container,"leaflet-crosshair")),qt(),ye(),Te(document,{contextmenu:Be,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(i(this._resetState,this),0);var e=new B(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(e).fire("boxzoomend",{boxZoomBounds:e})}},_onKeyDown:function(t){27===t.keyCode&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});He.addInitHook("addHandler","boxZoom",ui),He.mergeOptions({doubleClickZoom:!0});var _i=Je.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,o=e.getZoom(),i=e.options.zoomDelta,n=t.originalEvent.shiftKey?o-i:o+i;"center"===e.options.doubleClickZoom?e.setZoom(n):e.setZoomAround(t.containerPoint,n)}});He.addInitHook("addHandler","doubleClickZoom",_i),He.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var mi=Je.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new to(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}le(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){he(this._map._container,"leaflet-grab"),he(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var e=R(this._map.options.maxBounds);this._offsetLimit=I(this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var e=this._lastTime=+new Date,o=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(o),this._times.push(e),this._prunePositions(e)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;this._positions.length>1&&t-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit;t.x<e.min.x&&(t.x=this._viscousLimit(t.x,e.min.x)),t.y<e.min.y&&(t.y=this._viscousLimit(t.y,e.min.y)),t.x>e.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),o=this._initialWorldOffset,i=this._draggable._newPos.x,n=(i-e+o)%t+e-o,s=(i+e+o)%t-e-o,a=Math.abs(n+o)<Math.abs(s+o)?n:s;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=a},_onDragEnd:function(t){var e=this._map,o=e.options,i=!o.inertia||t.noInertia||this._times.length<2;if(e.fire("dragend",t),i)e.fire("moveend");else{this._prunePositions(+new Date);var n=this._lastPos.subtract(this._positions[0]),s=(this._lastTime-this._times[0])/1e3,a=o.easeLinearity,r=n.multiplyBy(a/s),l=r.distanceTo([0,0]),h=Math.min(o.inertiaMaxSpeed,l),p=r.multiplyBy(h/l),d=h/(o.inertiaDeceleration*a),c=p.multiplyBy(-d/2).round();c.x||c.y?(c=e._limitOffset(c,e.options.maxBounds),C((function(){e.panBy(c,{duration:d,easeLinearity:a,noMoveStart:!0,animate:!0})}))):e.fire("moveend")}}});He.addInitHook("addHandler","dragging",mi),He.mergeOptions({keyboard:!0,keyboardPanDelta:80});var fi=Je.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(t){this._map=t,this._setPanDelta(t.options.keyboardPanDelta),this._setZoomDelta(t.options.zoomDelta)},addHooks:function(){var t=this._map._container;t.tabIndex<=0&&(t.tabIndex="0"),Ce(t,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),Te(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var t=document.body,e=document.documentElement,o=t.scrollTop||e.scrollTop,i=t.scrollLeft||e.scrollLeft;this._map._container.focus(),window.scrollTo(i,o)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(t){var e,o,i=this._panKeys={},n=this.keyCodes;for(e=0,o=n.left.length;e<o;e++)i[n.left[e]]=[-1*t,0];for(e=0,o=n.right.length;e<o;e++)i[n.right[e]]=[t,0];for(e=0,o=n.down.length;e<o;e++)i[n.down[e]]=[0,t];for(e=0,o=n.up.length;e<o;e++)i[n.up[e]]=[0,-1*t]},_setZoomDelta:function(t){var e,o,i=this._zoomKeys={},n=this.keyCodes;for(e=0,o=n.zoomIn.length;e<o;e++)i[n.zoomIn[e]]=t;for(e=0,o=n.zoomOut.length;e<o;e++)i[n.zoomOut[e]]=-t},_addHooks:function(){Ce(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){Te(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var e,o=t.keyCode,i=this._map;if(o in this._panKeys){if(!i._panAnim||!i._panAnim._inProgress)if(e=this._panKeys[o],t.shiftKey&&(e=O(e).multiplyBy(3)),i.options.maxBounds&&(e=i._limitOffset(O(e),i.options.maxBounds)),i.options.worldCopyJump){var n=i.wrapLatLng(i.unproject(i.project(i.getCenter()).add(e)));i.panTo(n)}else i.panBy(e)}else if(o in this._zoomKeys)i.setZoom(i.getZoom()+(t.shiftKey?3:1)*this._zoomKeys[o]);else{if(27!==o||!i._popup||!i._popup.options.closeOnEscapeKey)return;i.closePopup()}Be(t)}}});He.addInitHook("addHandler","keyboard",fi),He.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var vi=Je.extend({addHooks:function(){Ce(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){Te(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var e=De(t),o=this._map.options.wheelDebounceTime;this._delta+=e,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date);var n=Math.max(o-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(i(this._performZoom,this),n),Be(t)},_performZoom:function(){var t=this._map,e=t.getZoom(),o=this._map.options.zoomSnap||0;t._stop();var i=this._delta/(4*this._map.options.wheelPxPerZoomLevel),n=4*Math.log(2/(1+Math.exp(-Math.abs(i))))/Math.LN2,s=o?Math.ceil(n/o)*o:n,a=t._limitZoom(e+(this._delta>0?s:-s))-e;this._delta=0,this._startTime=null,a&&("center"===t.options.scrollWheelZoom?t.setZoom(e+a):t.setZoomAround(this._lastMousePos,e+a))}});He.addInitHook("addHandler","scrollWheelZoom",vi),He.mergeOptions({tapHold:Ot.touchNative&&Ot.safari&&Ot.mobile,tapTolerance:15});var gi=Je.extend({addHooks:function(){Ce(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Te(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(clearTimeout(this._holdTimeout),1===t.touches.length){var e=t.touches[0];this._startPos=this._newPos=new E(e.clientX,e.clientY),this._holdTimeout=setTimeout(i((function(){this._cancel(),this._isTapValid()&&(Ce(document,"touchend",Ie),Ce(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",e))}),this),600),Ce(document,"touchend touchcancel contextmenu",this._cancel,this),Ce(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function t(){Te(document,"touchend",Ie),Te(document,"touchend touchcancel",t)},_cancel:function(){clearTimeout(this._holdTimeout),Te(document,"touchend touchcancel contextmenu",this._cancel,this),Te(document,"touchmove",this._onMove,this)},_onMove:function(t){var e=t.touches[0];this._newPos=new E(e.clientX,e.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(t,e){var o=new MouseEvent(t,{bubbles:!0,cancelable:!0,view:window,screenX:e.screenX,screenY:e.screenY,clientX:e.clientX,clientY:e.clientY});o._simulated=!0,e.target.dispatchEvent(o)}});He.addInitHook("addHandler","tapHold",gi),He.mergeOptions({touchZoom:Ot.touch,bounceAtZoomLimits:!0});var yi=Je.extend({addHooks:function(){le(this._map._container,"leaflet-touch-zoom"),Ce(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){he(this._map._container,"leaflet-touch-zoom"),Te(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e=this._map;if(t.touches&&2===t.touches.length&&!e._animatingZoom&&!this._zooming){var o=e.mouseEventToContainerPoint(t.touches[0]),i=e.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=e.getSize()._divideBy(2),this._startLatLng=e.containerPointToLatLng(this._centerPoint),"center"!==e.options.touchZoom&&(this._pinchStartLatLng=e.containerPointToLatLng(o.add(i)._divideBy(2))),this._startDist=o.distanceTo(i),this._startZoom=e.getZoom(),this._moved=!1,this._zooming=!0,e._stop(),Ce(document,"touchmove",this._onTouchMove,this),Ce(document,"touchend touchcancel",this._onTouchEnd,this),Ie(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,o=e.mouseEventToContainerPoint(t.touches[0]),n=e.mouseEventToContainerPoint(t.touches[1]),s=o.distanceTo(n)/this._startDist;if(this._zoom=e.getScaleZoom(s,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoom<e.getMinZoom()&&s<1||this._zoom>e.getMaxZoom()&&s>1)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1===s)return}else{var a=o._add(n)._divideBy(2)._subtract(this._centerPoint);if(1===s&&0===a.x&&0===a.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(a),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),P(this._animRequest);var r=i(e._move,e,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=C(r,this,!0),Ie(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,P(this._animRequest),Te(document,"touchmove",this._onTouchMove,this),Te(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))):this._zooming=!1}});He.addInitHook("addHandler","touchZoom",yi),He.BoxZoom=ui,He.DoubleClickZoom=_i,He.Drag=mi,He.Keyboard=fi,He.ScrollWheelZoom=vi,He.TapHold=gi,He.TouchZoom=yi,t.Bounds=A,t.Browser=Ot,t.CRS=$,t.Canvas=si,t.Circle=Zo,t.CircleMarker=Eo,t.Class=M,t.Control=Ue,t.DivIcon=Qo,t.DivOverlay=Yo,t.DomEvent=Fe,t.DomUtil=ke,t.Draggable=to,t.Evented=S,t.FeatureGroup=Co,t.GeoJSON=Io,t.GridLayer=ti,t.Handler=Je,t.Icon=Po,t.ImageOverlay=qo,t.LatLng=j,t.LatLngBounds=B,t.Layer=Lo,t.LayerGroup=ko,t.LineUtil=fo,t.Map=He,t.Marker=zo,t.Mixin=Xe,t.Path=So,t.Point=E,t.PolyUtil=so,t.Polygon=Ao,t.Polyline=Oo,t.Popup=Jo,t.PosAnimation=Ge,t.Projection=yo,t.Rectangle=ci,t.Renderer=ni,t.SVG=pi,t.SVGOverlay=Ko,t.TileLayer=ei,t.Tooltip=Xo,t.Transformation=H,t.Util=T,t.VideoOverlay=Vo,t.bind=i,t.bounds=I,t.canvas=ai,t.circle=function(t,e,o){return new Zo(t,e,o)},t.circleMarker=function(t,e){return new Eo(t,e)},t.control=We,t.divIcon=function(t){return new Qo(t)},t.extend=e,t.featureGroup=function(t,e){return new Co(t,e)},t.geoJSON=Uo,t.geoJson=Wo,t.gridLayer=function(t){return new ti(t)},t.icon=function(t){return new Po(t)},t.imageOverlay=function(t,e,o){return new qo(t,e,o)},t.latLng=N,t.latLngBounds=R,t.layerGroup=function(t,e){return new ko(t,e)},t.map=function(t,e){return new He(t,e)},t.marker=function(t,e){return new zo(t,e)},t.point=O,t.polygon=function(t,e){return new Ao(t,e)},t.polyline=function(t,e){return new Oo(t,e)},t.popup=function(t,e){return new Jo(t,e)},t.rectangle=function(t,e){return new ci(t,e)},t.setOptions=c,t.stamp=s,t.svg=di,t.svgOverlay=function(t,e,o){return new Ko(t,e,o)},t.tileLayer=oi,t.tooltip=function(t,e){return new Xo(t,e)},t.transformation=U,t.version="1.9.4",t.videoOverlay=function(t,e,o){return new Vo(t,e,o)};var wi=window.L;t.noConflict=function(){return window.L=wi,this},window.L=t},"object"==typeof o.exports?e(o.exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).leaflet={}),o=o.exports;var i,n,s={exports:{}};i=this,n=function(t){"use strict";var e=L.MarkerClusterGroup=L.FeatureGroup.extend({options:{maxClusterRadius:80,iconCreateFunction:null,clusterPane:L.Marker.prototype.options.pane,spiderfyOnEveryZoom:!1,spiderfyOnMaxZoom:!0,showCoverageOnHover:!0,zoomToBoundsOnClick:!0,singleMarkerMode:!1,disableClusteringAtZoom:null,removeOutsideVisibleBounds:!0,animate:!0,animateAddingMarkers:!1,spiderfyShapePositions:null,spiderfyDistanceMultiplier:1,spiderLegPolylineOptions:{weight:1.5,color:"#222",opacity:.5},chunkedLoading:!1,chunkInterval:200,chunkDelay:50,chunkProgress:null,polygonOptions:{}},initialize:function(t){L.Util.setOptions(this,t),this.options.iconCreateFunction||(this.options.iconCreateFunction=this._defaultIconCreateFunction),this._featureGroup=L.featureGroup(),this._featureGroup.addEventParent(this),this._nonPointGroup=L.featureGroup(),this._nonPointGroup.addEventParent(this),this._inZoomAnimation=0,this._needsClustering=[],this._needsRemoving=[],this._currentShownBounds=null,this._queue=[],this._childMarkerEventHandlers={dragstart:this._childMarkerDragStart,move:this._childMarkerMoved,dragend:this._childMarkerDragEnd};var e=L.DomUtil.TRANSITION&&this.options.animate;L.extend(this,e?this._withAnimation:this._noAnimation),this._markerCluster=e?L.MarkerCluster:L.MarkerClusterNonAnimated},addLayer:function(t){if(t instanceof L.LayerGroup)return this.addLayers([t]);if(!t.getLatLng)return this._nonPointGroup.addLayer(t),this.fire("layeradd",{layer:t}),this;if(!this._map)return this._needsClustering.push(t),this.fire("layeradd",{layer:t}),this;if(this.hasLayer(t))return this;this._unspiderfy&&this._unspiderfy(),this._addLayer(t,this._maxZoom),this.fire("layeradd",{layer:t}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons();var e=t,o=this._zoom;if(t.__parent)for(;e.__parent._zoom>=o;)e=e.__parent;return this._currentShownBounds.contains(e.getLatLng())&&(this.options.animateAddingMarkers?this._animationAddLayer(t,e):this._animationAddLayerNonAnimated(t,e)),this},removeLayer:function(t){return t instanceof L.LayerGroup?this.removeLayers([t]):t.getLatLng?this._map?t.__parent?(this._unspiderfy&&(this._unspiderfy(),this._unspiderfyLayer(t)),this._removeLayer(t,!0),this.fire("layerremove",{layer:t}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),t.off(this._childMarkerEventHandlers,this),this._featureGroup.hasLayer(t)&&(this._featureGroup.removeLayer(t),t.clusterShow&&t.clusterShow()),this):this:(!this._arraySplice(this._needsClustering,t)&&this.hasLayer(t)&&this._needsRemoving.push({layer:t,latlng:t._latlng}),this.fire("layerremove",{layer:t}),this):(this._nonPointGroup.removeLayer(t),this.fire("layerremove",{layer:t}),this)},addLayers:function(t,e){if(!L.Util.isArray(t))return this.addLayer(t);var o,i=this._featureGroup,n=this._nonPointGroup,s=this.options.chunkedLoading,a=this.options.chunkInterval,r=this.options.chunkProgress,l=t.length,h=0,p=!0;if(this._map){var d=(new Date).getTime(),c=L.bind((function(){var u=(new Date).getTime();for(this._map&&this._unspiderfy&&this._unspiderfy();h<l&&!(s&&h%200==0&&(new Date).getTime()-u>a);h++)if((o=t[h])instanceof L.LayerGroup)p&&(t=t.slice(),p=!1),this._extractNonGroupLayers(o,t),l=t.length;else if(o.getLatLng){if(!this.hasLayer(o)&&(this._addLayer(o,this._maxZoom),e||this.fire("layeradd",{layer:o}),o.__parent&&2===o.__parent.getChildCount())){var _=o.__parent.getAllChildMarkers(),m=_[0]===o?_[1]:_[0];i.removeLayer(m)}}else n.addLayer(o),e||this.fire("layeradd",{layer:o});r&&r(h,l,(new Date).getTime()-d),h===l?(this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds)):setTimeout(c,this.options.chunkDelay)}),this);c()}else for(var u=this._needsClustering;h<l;h++)(o=t[h])instanceof L.LayerGroup?(p&&(t=t.slice(),p=!1),this._extractNonGroupLayers(o,t),l=t.length):o.getLatLng?this.hasLayer(o)||u.push(o):n.addLayer(o);return this},removeLayers:function(t){var e,o,i=t.length,n=this._featureGroup,s=this._nonPointGroup,a=!0;if(!this._map){for(e=0;e<i;e++)(o=t[e])instanceof L.LayerGroup?(a&&(t=t.slice(),a=!1),this._extractNonGroupLayers(o,t),i=t.length):(this._arraySplice(this._needsClustering,o),s.removeLayer(o),this.hasLayer(o)&&this._needsRemoving.push({layer:o,latlng:o._latlng}),this.fire("layerremove",{layer:o}));return this}if(this._unspiderfy){this._unspiderfy();var r=t.slice(),l=i;for(e=0;e<l;e++)(o=r[e])instanceof L.LayerGroup?(this._extractNonGroupLayers(o,r),l=r.length):this._unspiderfyLayer(o)}for(e=0;e<i;e++)(o=t[e])instanceof L.LayerGroup?(a&&(t=t.slice(),a=!1),this._extractNonGroupLayers(o,t),i=t.length):o.__parent?(this._removeLayer(o,!0,!0),this.fire("layerremove",{layer:o}),n.hasLayer(o)&&(n.removeLayer(o),o.clusterShow&&o.clusterShow())):(s.removeLayer(o),this.fire("layerremove",{layer:o}));return this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds),this},clearLayers:function(){return this._map||(this._needsClustering=[],this._needsRemoving=[],delete this._gridClusters,delete this._gridUnclustered),this._noanimationUnspiderfy&&this._noanimationUnspiderfy(),this._featureGroup.clearLayers(),this._nonPointGroup.clearLayers(),this.eachLayer((function(t){t.off(this._childMarkerEventHandlers,this),delete t.__parent}),this),this._map&&this._generateInitialClusters(),this},getBounds:function(){var t=new L.LatLngBounds;this._topClusterLevel&&t.extend(this._topClusterLevel._bounds);for(var e=this._needsClustering.length-1;e>=0;e--)t.extend(this._needsClustering[e].getLatLng());return t.extend(this._nonPointGroup.getBounds()),t},eachLayer:function(t,e){var o,i,n,s=this._needsClustering.slice(),a=this._needsRemoving;for(this._topClusterLevel&&this._topClusterLevel.getAllChildMarkers(s),i=s.length-1;i>=0;i--){for(o=!0,n=a.length-1;n>=0;n--)if(a[n].layer===s[i]){o=!1;break}o&&t.call(e,s[i])}this._nonPointGroup.eachLayer(t,e)},getLayers:function(){var t=[];return this.eachLayer((function(e){t.push(e)})),t},getLayer:function(t){var e=null;return t=parseInt(t,10),this.eachLayer((function(o){L.stamp(o)===t&&(e=o)})),e},hasLayer:function(t){if(!t)return!1;var e,o=this._needsClustering;for(e=o.length-1;e>=0;e--)if(o[e]===t)return!0;for(e=(o=this._needsRemoving).length-1;e>=0;e--)if(o[e].layer===t)return!1;return!(!t.__parent||t.__parent._group!==this)||this._nonPointGroup.hasLayer(t)},zoomToShowLayer:function(t,e){var o=this._map;"function"!=typeof e&&(e=function(){});var i=function(){!o.hasLayer(t)&&!o.hasLayer(t.__parent)||this._inZoomAnimation||(this._map.off("moveend",i,this),this.off("animationend",i,this),o.hasLayer(t)?e():t.__parent._icon&&(this.once("spiderfied",e,this),t.__parent.spiderfy()))};t._icon&&this._map.getBounds().contains(t.getLatLng())?e():t.__parent._zoom<Math.round(this._map._zoom)?(this._map.on("moveend",i,this),this._map.panTo(t.getLatLng())):(this._map.on("moveend",i,this),this.on("animationend",i,this),t.__parent.zoomToBounds())},onAdd:function(t){var e,o,i;if(this._map=t,!isFinite(this._map.getMaxZoom()))throw"Map has no maxZoom specified";for(this._featureGroup.addTo(t),this._nonPointGroup.addTo(t),this._gridClusters||this._generateInitialClusters(),this._maxLat=t.options.crs.projection.MAX_LATITUDE,e=0,o=this._needsRemoving.length;e<o;e++)(i=this._needsRemoving[e]).newlatlng=i.layer._latlng,i.layer._latlng=i.latlng;for(e=0,o=this._needsRemoving.length;e<o;e++)i=this._needsRemoving[e],this._removeLayer(i.layer,!0),i.layer._latlng=i.newlatlng;this._needsRemoving=[],this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds(),this._map.on("zoomend",this._zoomEnd,this),this._map.on("moveend",this._moveEnd,this),this._spiderfierOnAdd&&this._spiderfierOnAdd(),this._bindEvents(),o=this._needsClustering,this._needsClustering=[],this.addLayers(o,!0)},onRemove:function(t){t.off("zoomend",this._zoomEnd,this),t.off("moveend",this._moveEnd,this),this._unbindEvents(),this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim",""),this._spiderfierOnRemove&&this._spiderfierOnRemove(),delete this._maxLat,this._hideCoverage(),this._featureGroup.remove(),this._nonPointGroup.remove(),this._featureGroup.clearLayers(),this._map=null},getVisibleParent:function(t){for(var e=t;e&&!e._icon;)e=e.__parent;return e||null},_arraySplice:function(t,e){for(var o=t.length-1;o>=0;o--)if(t[o]===e)return t.splice(o,1),!0},_removeFromGridUnclustered:function(t,e){for(var o=this._map,i=this._gridUnclustered,n=Math.floor(this._map.getMinZoom());e>=n&&i[e].removeObject(t,o.project(t.getLatLng(),e));e--);},_childMarkerDragStart:function(t){t.target.__dragStart=t.target._latlng},_childMarkerMoved:function(t){if(!this._ignoreMove&&!t.target.__dragStart){var e=t.target._popup&&t.target._popup.isOpen();this._moveChild(t.target,t.oldLatLng,t.latlng),e&&t.target.openPopup()}},_moveChild:function(t,e,o){t._latlng=e,this.removeLayer(t),t._latlng=o,this.addLayer(t)},_childMarkerDragEnd:function(t){var e=t.target.__dragStart;delete t.target.__dragStart,e&&this._moveChild(t.target,e,t.target._latlng)},_removeLayer:function(t,e,o){var i=this._gridClusters,n=this._gridUnclustered,s=this._featureGroup,a=this._map,r=Math.floor(this._map.getMinZoom());e&&this._removeFromGridUnclustered(t,this._maxZoom);var l,h=t.__parent,p=h._markers;for(this._arraySplice(p,t);h&&(h._childCount--,h._boundsNeedUpdate=!0,!(h._zoom<r));)e&&h._childCount<=1?(l=h._markers[0]===t?h._markers[1]:h._markers[0],i[h._zoom].removeObject(h,a.project(h._cLatLng,h._zoom)),n[h._zoom].addObject(l,a.project(l.getLatLng(),h._zoom)),this._arraySplice(h.__parent._childClusters,h),h.__parent._markers.push(l),l.__parent=h.__parent,h._icon&&(s.removeLayer(h),o||s.addLayer(l))):h._iconNeedsUpdate=!0,h=h.__parent;delete t.__parent},_isOrIsParent:function(t,e){for(;e;){if(t===e)return!0;e=e.parentNode}return!1},fire:function(t,e,o){if(e&&e.layer instanceof L.MarkerCluster){if(e.originalEvent&&this._isOrIsParent(e.layer._icon,e.originalEvent.relatedTarget))return;t="cluster"+t}L.FeatureGroup.prototype.fire.call(this,t,e,o)},listens:function(t,e){return L.FeatureGroup.prototype.listens.call(this,t,e)||L.FeatureGroup.prototype.listens.call(this,"cluster"+t,e)},_defaultIconCreateFunction:function(t){var e=t.getChildCount(),o=" marker-cluster-";return o+=e<10?"small":e<100?"medium":"large",new L.DivIcon({html:"<div><span>"+e+"</span></div>",className:"marker-cluster"+o,iconSize:new L.Point(40,40)})},_bindEvents:function(){var t=this._map,e=this.options.spiderfyOnMaxZoom,o=this.options.showCoverageOnHover,i=this.options.zoomToBoundsOnClick,n=this.options.spiderfyOnEveryZoom;(e||i||n)&&this.on("clusterclick clusterkeypress",this._zoomOrSpiderfy,this),o&&(this.on("clustermouseover",this._showCoverage,this),this.on("clustermouseout",this._hideCoverage,this),t.on("zoomend",this._hideCoverage,this))},_zoomOrSpiderfy:function(t){var e=t.layer,o=e;if("clusterkeypress"!==t.type||!t.originalEvent||13===t.originalEvent.keyCode){for(;1===o._childClusters.length;)o=o._childClusters[0];o._zoom===this._maxZoom&&o._childCount===e._childCount&&this.options.spiderfyOnMaxZoom?e.spiderfy():this.options.zoomToBoundsOnClick&&e.zoomToBounds(),this.options.spiderfyOnEveryZoom&&e.spiderfy(),t.originalEvent&&13===t.originalEvent.keyCode&&this._map._container.focus()}},_showCoverage:function(t){var e=this._map;this._inZoomAnimation||(this._shownPolygon&&e.removeLayer(this._shownPolygon),t.layer.getChildCount()>2&&t.layer!==this._spiderfied&&(this._shownPolygon=new L.Polygon(t.layer.getConvexHull(),this.options.polygonOptions),e.addLayer(this._shownPolygon)))},_hideCoverage:function(){this._shownPolygon&&(this._map.removeLayer(this._shownPolygon),this._shownPolygon=null)},_unbindEvents:function(){var t=this.options.spiderfyOnMaxZoom,e=this.options.showCoverageOnHover,o=this.options.zoomToBoundsOnClick,i=this.options.spiderfyOnEveryZoom,n=this._map;(t||o||i)&&this.off("clusterclick clusterkeypress",this._zoomOrSpiderfy,this),e&&(this.off("clustermouseover",this._showCoverage,this),this.off("clustermouseout",this._hideCoverage,this),n.off("zoomend",this._hideCoverage,this))},_zoomEnd:function(){this._map&&(this._mergeSplitClusters(),this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds())},_moveEnd:function(){if(!this._inZoomAnimation){var t=this._getExpandedVisibleBounds();this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,t),this._topClusterLevel._recursivelyAddChildrenToMap(null,Math.round(this._map._zoom),t),this._currentShownBounds=t}},_generateInitialClusters:function(){var t=Math.ceil(this._map.getMaxZoom()),e=Math.floor(this._map.getMinZoom()),o=this.options.maxClusterRadius,i=o;"function"!=typeof o&&(i=function(){return o}),null!==this.options.disableClusteringAtZoom&&(t=this.options.disableClusteringAtZoom-1),this._maxZoom=t,this._gridClusters={},this._gridUnclustered={};for(var n=t;n>=e;n--)this._gridClusters[n]=new L.DistanceGrid(i(n)),this._gridUnclustered[n]=new L.DistanceGrid(i(n));this._topClusterLevel=new this._markerCluster(this,e-1)},_addLayer:function(t,e){var o,i,n=this._gridClusters,s=this._gridUnclustered,a=Math.floor(this._map.getMinZoom());for(this.options.singleMarkerMode&&this._overrideMarkerIcon(t),t.on(this._childMarkerEventHandlers,this);e>=a;e--){o=this._map.project(t.getLatLng(),e);var r=n[e].getNearObject(o);if(r)return r._addChild(t),void(t.__parent=r);if(r=s[e].getNearObject(o)){var l=r.__parent;l&&this._removeLayer(r,!1);var h=new this._markerCluster(this,e,r,t);n[e].addObject(h,this._map.project(h._cLatLng,e)),r.__parent=h,t.__parent=h;var p=h;for(i=e-1;i>l._zoom;i--)p=new this._markerCluster(this,i,p),n[i].addObject(p,this._map.project(r.getLatLng(),i));return l._addChild(p),void this._removeFromGridUnclustered(r,e)}s[e].addObject(t,o)}this._topClusterLevel._addChild(t),t.__parent=this._topClusterLevel},_refreshClustersIcons:function(){this._featureGroup.eachLayer((function(t){t instanceof L.MarkerCluster&&t._iconNeedsUpdate&&t._updateIcon()}))},_enqueue:function(t){this._queue.push(t),this._queueTimeout||(this._queueTimeout=setTimeout(L.bind(this._processQueue,this),300))},_processQueue:function(){for(var t=0;t<this._queue.length;t++)this._queue[t].call(this);this._queue.length=0,clearTimeout(this._queueTimeout),this._queueTimeout=null},_mergeSplitClusters:function(){var t=Math.round(this._map._zoom);this._processQueue(),this._zoom<t&&this._currentShownBounds.intersects(this._getExpandedVisibleBounds())?(this._animationStart(),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,this._getExpandedVisibleBounds()),this._animationZoomIn(this._zoom,t)):this._zoom>t?(this._animationStart(),this._animationZoomOut(this._zoom,t)):this._moveEnd()},_getExpandedVisibleBounds:function(){return this.options.removeOutsideVisibleBounds?L.Browser.mobile?this._checkBoundsMaxLat(this._map.getBounds()):this._checkBoundsMaxLat(this._map.getBounds().pad(1)):this._mapBoundsInfinite},_checkBoundsMaxLat:function(t){var e=this._maxLat;return void 0!==e&&(t.getNorth()>=e&&(t._northEast.lat=1/0),t.getSouth()<=-e&&(t._southWest.lat=-1/0)),t},_animationAddLayerNonAnimated:function(t,e){if(e===t)this._featureGroup.addLayer(t);else if(2===e._childCount){e._addToMap();var o=e.getAllChildMarkers();this._featureGroup.removeLayer(o[0]),this._featureGroup.removeLayer(o[1])}else e._updateIcon()},_extractNonGroupLayers:function(t,e){var o,i=t.getLayers(),n=0;for(e=e||[];n<i.length;n++)(o=i[n])instanceof L.LayerGroup?this._extractNonGroupLayers(o,e):e.push(o);return e},_overrideMarkerIcon:function(t){return t.options.icon=this.options.iconCreateFunction({getChildCount:function(){return 1},getAllChildMarkers:function(){return[t]}})}});L.MarkerClusterGroup.include({_mapBoundsInfinite:new L.LatLngBounds(new L.LatLng(-1/0,-1/0),new L.LatLng(1/0,1/0))}),L.MarkerClusterGroup.include({_noAnimation:{_animationStart:function(){},_animationZoomIn:function(t,e){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),t),this._topClusterLevel._recursivelyAddChildrenToMap(null,e,this._getExpandedVisibleBounds()),this.fire("animationend")},_animationZoomOut:function(t,e){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),t),this._topClusterLevel._recursivelyAddChildrenToMap(null,e,this._getExpandedVisibleBounds()),this.fire("animationend")},_animationAddLayer:function(t,e){this._animationAddLayerNonAnimated(t,e)}},_withAnimation:{_animationStart:function(){this._map._mapPane.className+=" leaflet-cluster-anim",this._inZoomAnimation++},_animationZoomIn:function(t,e){var o,i=this._getExpandedVisibleBounds(),n=this._featureGroup,s=Math.floor(this._map.getMinZoom());this._ignoreMove=!0,this._topClusterLevel._recursively(i,t,s,(function(s){var a,r=s._latlng,l=s._markers;for(i.contains(r)||(r=null),s._isSingleParent()&&t+1===e?(n.removeLayer(s),s._recursivelyAddChildrenToMap(null,e,i)):(s.clusterHide(),s._recursivelyAddChildrenToMap(r,e,i)),o=l.length-1;o>=0;o--)a=l[o],i.contains(a._latlng)||n.removeLayer(a)})),this._forceLayout(),this._topClusterLevel._recursivelyBecomeVisible(i,e),n.eachLayer((function(t){t instanceof L.MarkerCluster||!t._icon||t.clusterShow()})),this._topClusterLevel._recursively(i,t,e,(function(t){t._recursivelyRestoreChildPositions(e)})),this._ignoreMove=!1,this._enqueue((function(){this._topClusterLevel._recursively(i,t,s,(function(t){n.removeLayer(t),t.clusterShow()})),this._animationEnd()}))},_animationZoomOut:function(t,e){this._animationZoomOutSingle(this._topClusterLevel,t-1,e),this._topClusterLevel._recursivelyAddChildrenToMap(null,e,this._getExpandedVisibleBounds()),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),t,this._getExpandedVisibleBounds())},_animationAddLayer:function(t,e){var o=this,i=this._featureGroup;i.addLayer(t),e!==t&&(e._childCount>2?(e._updateIcon(),this._forceLayout(),this._animationStart(),t._setPos(this._map.latLngToLayerPoint(e.getLatLng())),t.clusterHide(),this._enqueue((function(){i.removeLayer(t),t.clusterShow(),o._animationEnd()}))):(this._forceLayout(),o._animationStart(),o._animationZoomOutSingle(e,this._map.getMaxZoom(),this._zoom)))}},_animationZoomOutSingle:function(t,e,o){var i=this._getExpandedVisibleBounds(),n=Math.floor(this._map.getMinZoom());t._recursivelyAnimateChildrenInAndAddSelfToMap(i,n,e+1,o);var s=this;this._forceLayout(),t._recursivelyBecomeVisible(i,o),this._enqueue((function(){if(1===t._childCount){var a=t._markers[0];this._ignoreMove=!0,a.setLatLng(a.getLatLng()),this._ignoreMove=!1,a.clusterShow&&a.clusterShow()}else t._recursively(i,o,n,(function(t){t._recursivelyRemoveChildrenFromMap(i,n,e+1)}));s._animationEnd()}))},_animationEnd:function(){this._map&&(this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim","")),this._inZoomAnimation--,this.fire("animationend")},_forceLayout:function(){L.Util.falseFn(document.body.offsetWidth)}}),L.markerClusterGroup=function(t){return new L.MarkerClusterGroup(t)};var o=L.MarkerCluster=L.Marker.extend({options:L.Icon.prototype.options,initialize:function(t,e,o,i){L.Marker.prototype.initialize.call(this,o?o._cLatLng||o.getLatLng():new L.LatLng(0,0),{icon:this,pane:t.options.clusterPane}),this._group=t,this._zoom=e,this._markers=[],this._childClusters=[],this._childCount=0,this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._bounds=new L.LatLngBounds,o&&this._addChild(o),i&&this._addChild(i)},getAllChildMarkers:function(t,e){t=t||[];for(var o=this._childClusters.length-1;o>=0;o--)this._childClusters[o].getAllChildMarkers(t,e);for(var i=this._markers.length-1;i>=0;i--)e&&this._markers[i].__dragStart||t.push(this._markers[i]);return t},getChildCount:function(){return this._childCount},zoomToBounds:function(t){for(var e,o=this._childClusters.slice(),i=this._group._map,n=i.getBoundsZoom(this._bounds),s=this._zoom+1,a=i.getZoom();o.length>0&&n>s;){s++;var r=[];for(e=0;e<o.length;e++)r=r.concat(o[e]._childClusters);o=r}n>s?this._group._map.setView(this._latlng,s):n<=a?this._group._map.setView(this._latlng,a+1):this._group._map.fitBounds(this._bounds,t)},getBounds:function(){var t=new L.LatLngBounds;return t.extend(this._bounds),t},_updateIcon:function(){this._iconNeedsUpdate=!0,this._icon&&this.setIcon(this)},createIcon:function(){return this._iconNeedsUpdate&&(this._iconObj=this._group.options.iconCreateFunction(this),this._iconNeedsUpdate=!1),this._iconObj.createIcon()},createShadow:function(){return this._iconObj.createShadow()},_addChild:function(t,e){this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._setClusterCenter(t),t instanceof L.MarkerCluster?(e||(this._childClusters.push(t),t.__parent=this),this._childCount+=t._childCount):(e||this._markers.push(t),this._childCount++),this.__parent&&this.__parent._addChild(t,!0)},_setClusterCenter:function(t){this._cLatLng||(this._cLatLng=t._cLatLng||t._latlng)},_resetBounds:function(){var t=this._bounds;t._southWest&&(t._southWest.lat=1/0,t._southWest.lng=1/0),t._northEast&&(t._northEast.lat=-1/0,t._northEast.lng=-1/0)},_recalculateBounds:function(){var t,e,o,i,n=this._markers,s=this._childClusters,a=0,r=0,l=this._childCount;if(0!==l){for(this._resetBounds(),t=0;t<n.length;t++)o=n[t]._latlng,this._bounds.extend(o),a+=o.lat,r+=o.lng;for(t=0;t<s.length;t++)(e=s[t])._boundsNeedUpdate&&e._recalculateBounds(),this._bounds.extend(e._bounds),o=e._wLatLng,i=e._childCount,a+=o.lat*i,r+=o.lng*i;this._latlng=this._wLatLng=new L.LatLng(a/l,r/l),this._boundsNeedUpdate=!1}},_addToMap:function(t){t&&(this._backupLatlng=this._latlng,this.setLatLng(t)),this._group._featureGroup.addLayer(this)},_recursivelyAnimateChildrenIn:function(t,e,o){this._recursively(t,this._group._map.getMinZoom(),o-1,(function(t){var o,i,n=t._markers;for(o=n.length-1;o>=0;o--)(i=n[o])._icon&&(i._setPos(e),i.clusterHide())}),(function(t){var o,i,n=t._childClusters;for(o=n.length-1;o>=0;o--)(i=n[o])._icon&&(i._setPos(e),i.clusterHide())}))},_recursivelyAnimateChildrenInAndAddSelfToMap:function(t,e,o,i){this._recursively(t,i,e,(function(n){n._recursivelyAnimateChildrenIn(t,n._group._map.latLngToLayerPoint(n.getLatLng()).round(),o),n._isSingleParent()&&o-1===i?(n.clusterShow(),n._recursivelyRemoveChildrenFromMap(t,e,o)):n.clusterHide(),n._addToMap()}))},_recursivelyBecomeVisible:function(t,e){this._recursively(t,this._group._map.getMinZoom(),e,null,(function(t){t.clusterShow()}))},_recursivelyAddChildrenToMap:function(t,e,o){this._recursively(o,this._group._map.getMinZoom()-1,e,(function(i){if(e!==i._zoom)for(var n=i._markers.length-1;n>=0;n--){var s=i._markers[n];o.contains(s._latlng)&&(t&&(s._backupLatlng=s.getLatLng(),s.setLatLng(t),s.clusterHide&&s.clusterHide()),i._group._featureGroup.addLayer(s))}}),(function(e){e._addToMap(t)}))},_recursivelyRestoreChildPositions:function(t){for(var e=this._markers.length-1;e>=0;e--){var o=this._markers[e];o._backupLatlng&&(o.setLatLng(o._backupLatlng),delete o._backupLatlng)}if(t-1===this._zoom)for(var i=this._childClusters.length-1;i>=0;i--)this._childClusters[i]._restorePosition();else for(var n=this._childClusters.length-1;n>=0;n--)this._childClusters[n]._recursivelyRestoreChildPositions(t)},_restorePosition:function(){this._backupLatlng&&(this.setLatLng(this._backupLatlng),delete this._backupLatlng)},_recursivelyRemoveChildrenFromMap:function(t,e,o,i){var n,s;this._recursively(t,e-1,o-1,(function(t){for(s=t._markers.length-1;s>=0;s--)n=t._markers[s],i&&i.contains(n._latlng)||(t._group._featureGroup.removeLayer(n),n.clusterShow&&n.clusterShow())}),(function(t){for(s=t._childClusters.length-1;s>=0;s--)n=t._childClusters[s],i&&i.contains(n._latlng)||(t._group._featureGroup.removeLayer(n),n.clusterShow&&n.clusterShow())}))},_recursively:function(t,e,o,i,n){var s,a,r=this._childClusters,l=this._zoom;if(e<=l&&(i&&i(this),n&&l===o&&n(this)),l<e||l<o)for(s=r.length-1;s>=0;s--)(a=r[s])._boundsNeedUpdate&&a._recalculateBounds(),t.intersects(a._bounds)&&a._recursively(t,e,o,i,n)},_isSingleParent:function(){return this._childClusters.length>0&&this._childClusters[0]._childCount===this._childCount}});L.Marker.include({clusterHide:function(){var t=this.options.opacity;return this.setOpacity(0),this.options.opacity=t,this},clusterShow:function(){return this.setOpacity(this.options.opacity)}}),L.DistanceGrid=function(t){this._cellSize=t,this._sqCellSize=t*t,this._grid={},this._objectPoint={}},L.DistanceGrid.prototype={addObject:function(t,e){var o=this._getCoord(e.x),i=this._getCoord(e.y),n=this._grid,s=n[i]=n[i]||{},a=s[o]=s[o]||[],r=L.Util.stamp(t);this._objectPoint[r]=e,a.push(t)},updateObject:function(t,e){this.removeObject(t),this.addObject(t,e)},removeObject:function(t,e){var o,i,n=this._getCoord(e.x),s=this._getCoord(e.y),a=this._grid,r=a[s]=a[s]||{},l=r[n]=r[n]||[];for(delete this._objectPoint[L.Util.stamp(t)],o=0,i=l.length;o<i;o++)if(l[o]===t)return l.splice(o,1),1===i&&delete r[n],!0},eachObject:function(t,e){var o,i,n,s,a,r,l=this._grid;for(o in l)for(i in a=l[o])for(n=0,s=(r=a[i]).length;n<s;n++)t.call(e,r[n])&&(n--,s--)},getNearObject:function(t){var e,o,i,n,s,a,r,l,h=this._getCoord(t.x),p=this._getCoord(t.y),d=this._objectPoint,c=this._sqCellSize,u=null;for(e=p-1;e<=p+1;e++)if(n=this._grid[e])for(o=h-1;o<=h+1;o++)if(s=n[o])for(i=0,a=s.length;i<a;i++)r=s[i],((l=this._sqDist(d[L.Util.stamp(r)],t))<c||l<=c&&null===u)&&(c=l,u=r);return u},_getCoord:function(t){var e=Math.floor(t/this._cellSize);return isFinite(e)?e:t},_sqDist:function(t,e){var o=e.x-t.x,i=e.y-t.y;return o*o+i*i}},L.QuickHull={getDistant:function(t,e){var o=e[1].lat-e[0].lat;return(e[0].lng-e[1].lng)*(t.lat-e[0].lat)+o*(t.lng-e[0].lng)},findMostDistantPointFromBaseLine:function(t,e){var o,i,n,s=0,a=null,r=[];for(o=e.length-1;o>=0;o--)i=e[o],(n=this.getDistant(i,t))>0&&(r.push(i),n>s&&(s=n,a=i));return{maxPoint:a,newPoints:r}},buildConvexHull:function(t,e){var o=[],i=this.findMostDistantPointFromBaseLine(t,e);return i.maxPoint?o=(o=o.concat(this.buildConvexHull([t[0],i.maxPoint],i.newPoints))).concat(this.buildConvexHull([i.maxPoint,t[1]],i.newPoints)):[t[0]]},getConvexHull:function(t){var e,o=!1,i=!1,n=!1,s=!1,a=null,r=null,l=null,h=null,p=null,d=null;for(e=t.length-1;e>=0;e--){var c=t[e];(!1===o||c.lat>o)&&(a=c,o=c.lat),(!1===i||c.lat<i)&&(r=c,i=c.lat),(!1===n||c.lng>n)&&(l=c,n=c.lng),(!1===s||c.lng<s)&&(h=c,s=c.lng)}return i!==o?(d=r,p=a):(d=h,p=l),[].concat(this.buildConvexHull([d,p],t),this.buildConvexHull([p,d],t))}},L.MarkerCluster.include({getConvexHull:function(){var t,e,o=this.getAllChildMarkers(),i=[];for(e=o.length-1;e>=0;e--)t=o[e].getLatLng(),i.push(t);return L.QuickHull.getConvexHull(i)}}),L.MarkerCluster.include({_2PI:2*Math.PI,_circleFootSeparation:25,_circleStartAngle:0,_spiralFootSeparation:28,_spiralLengthStart:11,_spiralLengthFactor:5,_circleSpiralSwitchover:9,spiderfy:function(){if(this._group._spiderfied!==this&&!this._group._inZoomAnimation){var t,e=this.getAllChildMarkers(null,!0),o=this._group._map.latLngToLayerPoint(this._latlng);this._group._unspiderfy(),this._group._spiderfied=this,this._group.options.spiderfyShapePositions?t=this._group.options.spiderfyShapePositions(e.length,o):e.length>=this._circleSpiralSwitchover?t=this._generatePointsSpiral(e.length,o):(o.y+=10,t=this._generatePointsCircle(e.length,o)),this._animationSpiderfy(e,t)}},unspiderfy:function(t){this._group._inZoomAnimation||(this._animationUnspiderfy(t),this._group._spiderfied=null)},_generatePointsCircle:function(t,e){var o,i,n=this._group.options.spiderfyDistanceMultiplier*this._circleFootSeparation*(2+t)/this._2PI,s=this._2PI/t,a=[];for(n=Math.max(n,35),a.length=t,o=0;o<t;o++)i=this._circleStartAngle+o*s,a[o]=new L.Point(e.x+n*Math.cos(i),e.y+n*Math.sin(i))._round();return a},_generatePointsSpiral:function(t,e){var o,i=this._group.options.spiderfyDistanceMultiplier,n=i*this._spiralLengthStart,s=i*this._spiralFootSeparation,a=i*this._spiralLengthFactor*this._2PI,r=0,l=[];for(l.length=t,o=t;o>=0;o--)o<t&&(l[o]=new L.Point(e.x+n*Math.cos(r),e.y+n*Math.sin(r))._round()),n+=a/(r+=s/n+5e-4*o);return l},_noanimationUnspiderfy:function(){var t,e,o=this._group,i=o._map,n=o._featureGroup,s=this.getAllChildMarkers(null,!0);for(o._ignoreMove=!0,this.setOpacity(1),e=s.length-1;e>=0;e--)t=s[e],n.removeLayer(t),t._preSpiderfyLatlng&&(t.setLatLng(t._preSpiderfyLatlng),delete t._preSpiderfyLatlng),t.setZIndexOffset&&t.setZIndexOffset(0),t._spiderLeg&&(i.removeLayer(t._spiderLeg),delete t._spiderLeg);o.fire("unspiderfied",{cluster:this,markers:s}),o._ignoreMove=!1,o._spiderfied=null}}),L.MarkerClusterNonAnimated=L.MarkerCluster.extend({_animationSpiderfy:function(t,e){var o,i,n,s,a=this._group,r=a._map,l=a._featureGroup,h=this._group.options.spiderLegPolylineOptions;for(a._ignoreMove=!0,o=0;o<t.length;o++)s=r.layerPointToLatLng(e[o]),i=t[o],n=new L.Polyline([this._latlng,s],h),r.addLayer(n),i._spiderLeg=n,i._preSpiderfyLatlng=i._latlng,i.setLatLng(s),i.setZIndexOffset&&i.setZIndexOffset(1e6),l.addLayer(i);this.setOpacity(.3),a._ignoreMove=!1,a.fire("spiderfied",{cluster:this,markers:t})},_animationUnspiderfy:function(){this._noanimationUnspiderfy()}}),L.MarkerCluster.include({_animationSpiderfy:function(t,e){var o,i,n,s,a,r,l=this,h=this._group,p=h._map,d=h._featureGroup,c=this._latlng,u=p.latLngToLayerPoint(c),_=L.Path.SVG,m=L.extend({},this._group.options.spiderLegPolylineOptions),f=m.opacity;for(void 0===f&&(f=L.MarkerClusterGroup.prototype.options.spiderLegPolylineOptions.opacity),_?(m.opacity=0,m.className=(m.className||"")+" leaflet-cluster-spider-leg"):m.opacity=f,h._ignoreMove=!0,o=0;o<t.length;o++)i=t[o],r=p.layerPointToLatLng(e[o]),n=new L.Polyline([c,r],m),p.addLayer(n),i._spiderLeg=n,_&&(a=(s=n._path).getTotalLength()+.1,s.style.strokeDasharray=a,s.style.strokeDashoffset=a),i.setZIndexOffset&&i.setZIndexOffset(1e6),i.clusterHide&&i.clusterHide(),d.addLayer(i),i._setPos&&i._setPos(u);for(h._forceLayout(),h._animationStart(),o=t.length-1;o>=0;o--)r=p.layerPointToLatLng(e[o]),(i=t[o])._preSpiderfyLatlng=i._latlng,i.setLatLng(r),i.clusterShow&&i.clusterShow(),_&&((s=(n=i._spiderLeg)._path).style.strokeDashoffset=0,n.setStyle({opacity:f}));this.setOpacity(.3),h._ignoreMove=!1,setTimeout((function(){h._animationEnd(),h.fire("spiderfied",{cluster:l,markers:t})}),200)},_animationUnspiderfy:function(t){var e,o,i,n,s,a,r=this,l=this._group,h=l._map,p=l._featureGroup,d=t?h._latLngToNewLayerPoint(this._latlng,t.zoom,t.center):h.latLngToLayerPoint(this._latlng),c=this.getAllChildMarkers(null,!0),u=L.Path.SVG;for(l._ignoreMove=!0,l._animationStart(),this.setOpacity(1),o=c.length-1;o>=0;o--)(e=c[o])._preSpiderfyLatlng&&(e.closePopup(),e.setLatLng(e._preSpiderfyLatlng),delete e._preSpiderfyLatlng,a=!0,e._setPos&&(e._setPos(d),a=!1),e.clusterHide&&(e.clusterHide(),a=!1),a&&p.removeLayer(e),u&&(s=(n=(i=e._spiderLeg)._path).getTotalLength()+.1,n.style.strokeDashoffset=s,i.setStyle({opacity:0})));l._ignoreMove=!1,setTimeout((function(){var t=0;for(o=c.length-1;o>=0;o--)(e=c[o])._spiderLeg&&t++;for(o=c.length-1;o>=0;o--)(e=c[o])._spiderLeg&&(e.clusterShow&&e.clusterShow(),e.setZIndexOffset&&e.setZIndexOffset(0),t>1&&p.removeLayer(e),h.removeLayer(e._spiderLeg),delete e._spiderLeg);l._animationEnd(),l.fire("unspiderfied",{cluster:r,markers:c})}),200)}}),L.MarkerClusterGroup.include({_spiderfied:null,unspiderfy:function(){this._unspiderfy.apply(this,arguments)},_spiderfierOnAdd:function(){this._map.on("click",this._unspiderfyWrapper,this),this._map.options.zoomAnimation&&this._map.on("zoomstart",this._unspiderfyZoomStart,this),this._map.on("zoomend",this._noanimationUnspiderfy,this),L.Browser.touch||this._map.getRenderer(this)},_spiderfierOnRemove:function(){this._map.off("click",this._unspiderfyWrapper,this),this._map.off("zoomstart",this._unspiderfyZoomStart,this),this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._map.off("zoomend",this._noanimationUnspiderfy,this),this._noanimationUnspiderfy()},_unspiderfyZoomStart:function(){this._map&&this._map.on("zoomanim",this._unspiderfyZoomAnim,this)},_unspiderfyZoomAnim:function(t){L.DomUtil.hasClass(this._map._mapPane,"leaflet-touching")||(this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._unspiderfy(t))},_unspiderfyWrapper:function(){this._unspiderfy()},_unspiderfy:function(t){this._spiderfied&&this._spiderfied.unspiderfy(t)},_noanimationUnspiderfy:function(){this._spiderfied&&this._spiderfied._noanimationUnspiderfy()},_unspiderfyLayer:function(t){t._spiderLeg&&(this._featureGroup.removeLayer(t),t.clusterShow&&t.clusterShow(),t.setZIndexOffset&&t.setZIndexOffset(0),this._map.removeLayer(t._spiderLeg),delete t._spiderLeg)}}),L.MarkerClusterGroup.include({refreshClusters:function(t){return t?t instanceof L.MarkerClusterGroup?t=t._topClusterLevel.getAllChildMarkers():t instanceof L.LayerGroup?t=t._layers:t instanceof L.MarkerCluster?t=t.getAllChildMarkers():t instanceof L.Marker&&(t=[t]):t=this._topClusterLevel.getAllChildMarkers(),this._flagParentsIconsNeedUpdate(t),this._refreshClustersIcons(),this.options.singleMarkerMode&&this._refreshSingleMarkerModeMarkers(t),this},_flagParentsIconsNeedUpdate:function(t){var e,o;for(e in t)for(o=t[e].__parent;o;)o._iconNeedsUpdate=!0,o=o.__parent},_refreshSingleMarkerModeMarkers:function(t){var e,o;for(e in t)o=t[e],this.hasLayer(o)&&o.setIcon(this._overrideMarkerIcon(o))}}),L.Marker.include({refreshIconOptions:function(t,e){var o=this.options.icon;return L.setOptions(o,t),this.setIcon(o),e&&this.__parent&&this.__parent._group.refreshClusters(this),this}}),t.MarkerClusterGroup=e,t.MarkerCluster=o,Object.defineProperty(t,"__esModule",{value:!0})},"object"==typeof s.exports?n(s.exports):"function"==typeof define&&define.amd?define(["exports"],n):n(((i=i||self).Leaflet=i.Leaflet||{},i.Leaflet.markercluster={})),s=s.exports;var a,r={exports:{}};
     6/*!
     7 Leaflet.FeatureGroup.SubGroup 1.0.2+00bb0d4
     8 (c) 2015-2017 Boris Seang
     9 License BSD-2-Clause
     10 */a=function(t){t.FeatureGroup.SubGroup=t.FeatureGroup.extend({initialize:function(e,o){t.FeatureGroup.prototype.initialize.call(this,o),this.setParentGroup(e)},setParentGroup:function(e){var o=e instanceof t.LayerGroup;return this._parentGroup=e,this.onAdd=o?"function"==typeof e.addLayers?this._onAddToGroupBatch:this._onAddToGroup:this._onAddToMap,this.onRemove=o?"function"==typeof e.removeLayers?this._onRemoveFromGroupBatch:this._onRemoveFromGroup:this._onRemoveFromMap,this.addLayer=o?this._addLayerToGroup:this._addLayerToMap,this.removeLayer=o?this._removeLayerFromGroup:this._removeLayerFromMap,this},setParentGroupSafe:function(t){var e=this._map;return e&&e.removeLayer(this),this.setParentGroup(t),e&&e.addLayer(this),this},getParentGroup:function(){return this._parentGroup},_onAddToGroupBatch:function(t){var e=this.getLayers();this._map=t,this._parentGroup.addLayers(e)},_onRemoveFromGroupBatch:function(){var t=this.getLayers();this._parentGroup.removeLayers(t),this._map=null},_onAddToGroup:function(t){var e=this._parentGroup;this._map=t,this.eachLayer(e.addLayer,e)},_onRemoveFromGroup:function(){var t=this._parentGroup;this.eachLayer(t.removeLayer,t),this._map=null},_onAddToMap:t.FeatureGroup.prototype.onAdd,_onRemoveFromMap:t.FeatureGroup.prototype.onRemove,_addLayerToGroup:function(t){if(this.hasLayer(t))return this;t.addEventParent(this);var e=this.getLayerId(t);return this._layers[e]=t,this._map&&this._parentGroup.addLayer(t),this.fire("layeradd",{layer:t})},_removeLayerFromGroup:function(t){if(!this.hasLayer(t))return this;var e=t in this._layers?t:this.getLayerId(t);return(t=this._layers[e]).removeEventParent(this),this._map&&t&&this._parentGroup.removeLayer(t),delete this._layers[e],this.fire("layerremove",{layer:t})},_addLayerToMap:t.FeatureGroup.prototype.addLayer,_removeLayerFromMap:t.FeatureGroup.prototype.removeLayer}),t.featureGroup.subGroup=function(e,o){return new t.FeatureGroup.SubGroup(e,o)}},"function"==typeof define&&define.amd?define(["leaflet"],a):a(r.exports?o:this.L),r=r.exports,jQuery(document).ready((function(t){var e={select_groups:["dpd"],$pricing_table:t(".vp-woo-pont-settings-pricings"),$automations_table:t(".vp-woo-pont-settings-automations"),$tracking_automations_table:t(".vp-woo-pont-settings-tracking-automations"),$cod_fees_table:t(".vp-woo-pont-settings-cod-fees"),$weight_corrections_table:t(".vp-woo-pont-settings-weight-corrections"),$packagings_table:t(".vp-woo-pont-settings-packagings"),$notes_table:t(".vp-woo-pont-settings-notes"),$packeta_carriers_table:t(".vp-woo-pont-settings-inline-table-packeta-carriers"),$enabled_providers:t(".vp-woo-pont-providers"),json_data_points:[],activation_nonce:"",init:function(){this.init_select_groups(),this.index_packeta_carrier_fields(),t(".reload-packeta-carriers").on("click",this.get_packeta_carriers),this.$packeta_carriers_table.on("click",".add-row",this.packeta_carrier_add),this.$packeta_carriers_table.on("click",".delete-row",this.packeta_carrier_remove),this.$packeta_carriers_table.on("change","select",this.index_packeta_carrier_fields),this.$enabled_providers.on("change",'input[name="vp_woo_pont_enabled_providers[]"]',this.on_provider_change),this.$pricing_table.on("change",".vp-woo-pont-settings-pricing-points input",(function(){e.reindex_x_rows("pricings")})),this.on_provider_change(),this.activation_nonce=vp_woo_pont_params.nonces.settings,t("#woocommerce_vp_woo_pont_pro_email").keypress(this.submit_pro_on_enter),t("#vp_woo_pont_activate_pro").on("click",this.submit_activate_form),t("body").on("click","#vp_woo_pont_deactivate_pro",this.submit_deactivate_form),t("body").on("click","#vp_woo_pont_validate_pro",this.submit_validate_form),t(".vp-woo-pont-settings-submenu").on("click",".vp-woo-pont-settings-submenu-pro",(function(){return t(this).WCBackboneModal({template:"vp-woo-pont-modal-pro-version"}),!1}));var o=[this.$pricing_table,this.$automations_table,this.$tracking_automations_table,this.$cod_fees_table,this.$notes_table,this.$weight_corrections_table,this.$packagings_table],i=["pricings","automations","tracking_automations","cod_fees","notes","weight_corrections","packagings"];o.forEach((function(o,n){var s=i[n],a=s.slice(0,-1);a=a.replace("_","-"),o.on("change","select.condition",{group:s},e.change_x_condition),o.on("change","select.vp-woo-pont-settings-repeat-select",(function(){e.reindex_x_rows(s)})),o.on("click",".add-row",{group:s},e.add_new_x_condition_row),o.on("click",".delete-row",{group:s},e.delete_x_condition_row),o.on("change","input.condition",{group:s},e.toggle_x_condition),o.on("click",".delete-"+a,{group:s},e.delete_x_row),t(".vp-woo-pont-settings-"+a+"-add a.add:not([data-disabled]").on("click",{group:s,table:o},e.add_new_x_row),o.find("ul.conditions[data-options]").each((function(){var e=t(this).data("options"),o=t(this);e.forEach((function(e){var i=t("#vp_woo_pont_"+s+"_condition_sample_row").html();(i=t(i)).find("select.condition").val(e.category),i.find("select.comparison").val(e.comparison),i.find(".value").removeClass("selected"),i.find('.value[data-condition="'+e.category+'"]').val(e.value).addClass("selected").attr("disabled",!1),o.append(i)}))})),o.find(".vp-woo-pont-settings-"+a).length,e.reindex_x_rows(s)})),t(".vp-woo-pont-settings-points-list").on("click",".vp-woo-pont-settings-point-header",e.toggle_point),t(".vp-woo-pont-settings-points-add").on("click",".add",e.add_custom_point),t(".vp-woo-pont-settings-points-list").on("click",".delete-point",e.delete_point),t(".vp-woo-pont-settings-points-list").on("click",".point-value-coordinates",e.show_coordinates_modal),t(document).on("click","#save_coordinates",this.save_coordinates),this.reindex_point_rows(),t(".vp-woo-pont-settings-pricing-add .import, .vp-woo-pont-settings-points-add .import").click(this.import_modal),t(".vp-woo-pont-settings-pricing-add .export, .vp-woo-pont-settings-points-add .export").click(this.export_settings),t(document).on("click","#vp-woo-pont-modal-import-button",this.import_settings),t(".vp-woo-pont-provider-row").on("click","a.import",this.trigger_json_import),["sameday_pickup_point","csomagpiac_pickup_point"].forEach((function(o){var i=t("#vp_woo_pont_"+o);i.length&&(i.parent().find("p.description").before('<a href="#" id="vp_woo_pont_'+o+'_reload"><span class="dashicons dashicons-update"></span></a>'),i.parent().on("click","#vp_woo_pont_"+o+"_reload",(function(){var i=t(this);return e.refresh_field(o,i),!1})))})),t(".vp-woo-pont-providers-rows").sortable({items:"tr",cursor:"move",axis:"y",handle:"td.sort",scrollSensitivity:40,helper:function(e,o){return o.children().each((function(){t(this).width(t(this).width())})),o.css("left","0"),o}}),this.check_if_provider_selected(),t(".vp-woo-pont-providers-wrapper").on("click",".vp-woo-pont-providers-add-button",this.show_edit_provider_modal),t(".vp-woo-pont-providers").on("click",".vp-woo-pont-provider-delete",this.delete_provider),t("body").on("click",".vp-woo-pont-modal-add-provider #vp-woo-pont-modal-add-provider-save",this.select_provider),t(".vp-woo-pont-restart-setup-wizard").on("click",this.restart_setup_wizard),t(".vp-woo-pont-kvikk-api-key-test").on("click",this.validate_kvikk_api_key),t(".vp-woo-pont-toggle-select-field").on("change",(function(){var e=t(this).val(),o=t(this).attr("id"),i=t("[id^='"+o+"_']"),n=t("#"+o+"_"+e);i.parents("tr").hide(),n&&n.parents("tr").show()})).trigger("change")},check_if_provider_selected:function(){t(".vp-woo-pont-providers-wrapper").addClass("provider-selected"),0==t('.vp-woo-pont-providers input[name="vp_woo_pont_enabled_providers[]"]:checked').length&&t(".vp-woo-pont-providers-wrapper").removeClass("provider-selected")},show_edit_provider_modal:function(){var e=[];t('.vp-woo-pont-providers input[name="vp_woo_pont_enabled_providers[]"]:checked').each((function(){e.push(t(this).val())}));var o=t(this).data("providers"),i=t('<ul class="vp-woo-pont-modal-add-provider-groups"></ul>');return o.forEach((function(o){var n=t('<li class="vp-woo-pont-modal-add-provider-group" data-provider="'+o.id+'"><span class="vp-woo-pont-modal-add-provider-group-title"><i class="vp-woo-pont-provider-icon vp-woo-pont-provider-icon-'+o.id+'"></i><strong>'+o.label+"</strong></span></li>"),s=t("<ul></ul>");o.options.forEach((function(t){var o="";-1!==e.indexOf(t.id)&&(o='checked="checked"'),s.append('<li><label><input type="checkbox" name="add_provider" '+o+' value="'+t.id+'"><span>'+t.name+"</span></label></li>")})),n.append(s),i.append(n)})),t(this).WCBackboneModal({template:"vp-woo-pont-modal-add-provider",variable:{list:i.prop("outerHTML")}}),!1},delete_provider:function(){var o=t(this).parents("tr"),i=o.data("provider");return t('.vp-woo-pont-providers input[name="vp_woo_pont_enabled_providers[]"][value="'+i+'"]').attr("checked",!1),o.removeClass("selected"),e.check_if_provider_selected(),e.on_provider_change(),!1},select_provider:function(){return t('.vp-woo-pont-providers input[name="vp_woo_pont_enabled_providers"]:checked').attr("checked",!1),t('.vp-woo-pont-modal-add-provider input[name="add_provider"]:checked').each((function(){var e=t(this).val(),o=t('.vp-woo-pont-providers input[name="vp_woo_pont_enabled_providers[]"][value="'+e+'"]');o.attr("checked",!0),o.parents("tr").addClass("selected")})),t(".modal-close-link").trigger("click"),e.check_if_provider_selected(),e.on_provider_change(),!1},init_select_groups:function(){t.each(e.select_groups,(function(e,o){var i=t(".vp-woo-pont-select-group-"+o),n=t(".vp-woo-pont-select-group-"+o+"-item").parents("tr"),s=i.val();n.hide(),t(".vp-woo-pont-select-group-"+o+"-item-"+s).parents("tr").show(),i.change((function(e){e.preventDefault();var i=t(this).val();n.hide(),t(".vp-woo-pont-select-group-"+o+"-item-"+i).parents("tr").show()}))}))},submit_pro_on_enter:function(e){if(13==e.which)return t("#vp_woo_pont_activate_pro").click(),!1},submit_activate_form:function(){var o=t("#woocommerce_vp_woo_pont_pro_key").val(),i=t(this),n=i.parent(),s=i.parents(".vp-woo-pont-pro-widget"),a={action:"vp_woo_pont_license_activate",key:o,nonce:e.activation_nonce};return n.block({message:null,overlayCSS:{background:"#f0f0f1 url("+vp_woo_pont_params.loading+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),s.find(".vp-woo-pont-pro-widget-notice").hide(),t.post(ajaxurl,a,(function(t){t.success?window.location.reload():(s.find(".vp-woo-pont-pro-widget-notice p").html(t.data.message),s.find(".vp-woo-pont-pro-widget-notice").show(),n.addClass("fail"),setTimeout((function(){n.removeClass("fail")}),1e3),n.unblock())})),!1},submit_deactivate_form:function(){t(this);var o=t(".vp-woo-pont-modal-pro-version-content"),i={action:"vp_woo_pont_license_deactivate",nonce:e.activation_nonce};return o.block({message:null,overlayCSS:{background:"#ffffff url("+vp_woo_pont_params.loading+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),o.find(".notice").hide(),t.post(ajaxurl,i,(function(t){t.success?window.location.reload():(o.find(".notice p").html(t.data.message),o.find(".notice").show(),o.unblock())})),!1},submit_validate_form:function(){t(this);var o=t(".vp-woo-pont-modal-pro-version-content"),i={action:"vp_woo_pont_license_validate",nonce:e.activation_nonce};return o.block({message:null,overlayCSS:{background:"#ffffff url("+vp_woo_pont_params.loading+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),o.find(".notice").hide(),t.post(ajaxurl,i,(function(t){window.location.reload()})),!1},change_x_condition:function(e){var o=t(this).val();t(this).parent().find(".value").removeClass("selected").prop("disabled",!0),t(this).parent().find('.value[data-condition="'+o+'"]').addClass("selected").prop("disabled",!1)},add_new_x_condition_row:function(o){var i=t("#vp_woo_pont_"+o.data.group+"_condition_sample_row").html();return t(this).closest("ul.conditions").append(i),e.reindex_x_rows(o.data.group),!1},delete_x_condition_row:function(o){return t(this).parent().remove(),e.reindex_x_rows(o.data.group),!1},reindex_x_rows:function(o){return o=o.replace("_","-"),t(".vp-woo-pont-settings-"+o).find(".vp-woo-pont-settings-repeat-item").each((function(i){t(this).find("textarea, select, input").each((function(){var e=t(this).data("name");e&&(e=e.replace("X",i),t(this).attr("name",e))})),t(this).find("li").each((function(e){t(this).find("select, input").each((function(){var o=t(this).data("name");o&&(o=(o=o.replace("Y",e)).replace("X",i),t(this).attr("name",o))}))})),t(this).find(".vp-woo-pont-settings-repeat-select").each((function(){var e=t(this).val();t(this).hasClass("vp-woo-pont-settings-advanced-option-property")&&(t(".vp-woo-pont-settings-advanced-option-value option").hide(),t('.vp-woo-pont-settings-advanced-option-value option[value^="'+e+'"]').show(),t(".vp-woo-pont-settings-advanced-option-value").val().includes(e)||t('.vp-woo-pont-settings-advanced-option-value option[value^="'+e+'"]').first().prop("selected",!0));var o=t(this).find("option:selected").text();t(this).parent().find("label span").text(o),t(this).parent().find("label span").text(o),t(this).parent().find("label i").removeClass().addClass(e)})),"pricings"==o&&e.toggle_countries_checkboxes(t(this))})),"pricings"==o&&e.on_provider_change(),t(document.body).trigger("wc-enhanced-select-init"),!1},add_new_x_row:function(o){var i=o.data.group,n=o.data.table,s=i.slice(0,-1),a=t("#vp_woo_pont_"+s+"_sample_row").html(),r=t("#vp_woo_pont_"+i+"_condition_sample_row").html();return(a=t(a)).find("ul.conditions").append(r),n.append(a),e.reindex_x_rows(i),t(document.body).trigger("wc-enhanced-select-init"),!1},toggle_x_condition:function(o){var i=o.data.group,n=t(this).is(":checked"),s=t(this).closest(".vp-woo-pont-settings-repeat-item").find("ul.conditions");if(n){if(s.find("li").length<1){var a=t("#vp_woo_pont_"+i+"_condition_sample_row").html();s.append(a)}s.show()}else s.hide();if("pricings"==i){var r=t(this).closest(".vp-woo-pont-settings-pricing").find(".vp-woo-pont-settings-pricing-if");n?r.show():r.hide()}"automations"==i&&(r=t(this).closest(".vp-woo-pont-settings-automation").find(".vp-woo-pont-settings-automation-if"),n?r.show():r.hide()),"notes"==i&&(r=t(this).closest(".vp-woo-pont-settings-note").find(".vp-woo-pont-settings-note-if"),n?r.show():r.hide()),"cod_fees"==i&&(r=t(this).closest(".vp-woo-pont-settings-cod-fee").find(".vp-woo-pont-settings-cod-fee-if"),n?r.show():r.hide()),"weight_corrections"==i&&(r=t(this).closest(".vp-woo-pont-settings-weight-correction").find(".vp-woo-pont-settings-weight-correction-if"),n?r.show():r.hide()),"packagings"==i&&(r=t(this).closest(".vp-woo-pont-settings-packaging").find(".vp-woo-pont-settings-packaging-if"),n?r.show():r.hide()),e.reindex_x_rows(o.data.group)},delete_x_row:function(o){return t(this).closest(".vp-woo-pont-settings-repeat-item").remove(),e.reindex_x_rows(o.data.group),!1},toggle_countries_checkboxes:function(t){t.find('input[value*="packeta"]:checked').length||t.find('input[value*="gls_"]:checked').length||t.find('input[value*="dpd"]:checked').length?(t.find(".vp-woo-pont-settings-pricing-countries").show(),t.find(".vp-woo-pont-settings-pricing-countries").find("li").hide(),["packeta","gls_","dpd"].forEach((function(e){t.find('input[value*="'+e+'"]:checked').length&&t.find(".vp-woo-pont-settings-pricing-countries").find('li[data-courier="'+e+'"]').show()}))):t.find(".vp-woo-pont-settings-pricing-countries").hide()},load_json_files:function(o){var i=vp_woo_pont_params.providers;i.postapont="Postapont";var n=vp_woo_pont_params.files.map((function(o){return console.log(o),t.getJSON(o.url,(function(t){e.json_data_points.push({provider:o.type,title:i[o.type],data:t})}))}));t.when.apply(t,n).fail((function(t,e,o){})).always((function(t){o()}))},create_point:function(o,i){var n=t(".vp-woo-pont-settings-points-list"),s=t("#vp_woo_pont_point_sample_row").html(),a=t(s);a.addClass("open"),a.find(".point-value-title").text(i.name+" #"+i.id),a.find(".point-value-id").val(i.id),a.find(".point-value-provider").val(o),a.find(".point-value-name").val(i.name),a.find(".point-value-coordinates").val(i.lat+";"+i.lon),a.find(".point-value-city").val(i.city),a.find(".point-value-zip").val(i.zip),a.find(".point-value-addr").val(i.addr),a.find(".point-value-comment").val(i.comment),"custom"!=o&&a.find(".point-value-id").attr("readonly",!0),n.append(a),e.reindex_point_rows()},reindex_point_rows:function(){t(".vp-woo-pont-settings-points-list").find(".vp-woo-pont-settings-point").each((function(e){t(this).find("textarea, select, input").each((function(){var o=t(this).data("name");o=o.replace("X",e),t(this).attr("name",o)}))}))},toggle_point:function(){return t(this).parents(".vp-woo-pont-settings-point").toggleClass("open"),!1},add_custom_point:function(){var o=t(".vp-woo-pont-settings-point").length;return e.create_point("custom",{name:"Pickup point "+parseInt(o+1),id:"point_"+parseInt(o+1),lat:0,lon:0}),!1},delete_point:function(o){return t(this).closest(".vp-woo-pont-settings-point").remove(),e.reindex_point_rows(),!1},show_coordinates_modal:function(){t(this).WCBackboneModal({template:"vp-woo-pont-modal-coordinates",variable:{}});var e=t(this).val();e=e.split(";");var i=t(this),n=o.map("map-coordinates");return"0"!=e[0]?n.setView(e,17):n.setView([47.25525656277509,19.54590752720833],5),o.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:19,attribution:'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'}).addTo(n),n.on("moveend",(function(e){var o=n.getCenter();t("#save_coordinates").data("coordinates",o.lat+";"+o.lng),t("#save_coordinates").data("field",i)})),!1},save_coordinates:function(){var e=t(this).data("field"),o=t(this).data("coordinates");return e.val(o),t(".modal-close-link").trigger("click"),!1},export_settings:function(){var e=t(this).data("nonce"),o=t(this).data("type"),i={action:"vp_woo_pont_export_settings",type:o,nonce:e};return t.post(ajaxurl,i,(function(e){var i=JSON.stringify(e.data);i=[i];var n=new Blob(i,{type:"text/plain;charset=utf-8"});if(document.documentMode)window.navigator.msSaveBlob(n,"vp-woo-pont-"+o+".json");else{var s=window.URL||window.webkitURL;link=s.createObjectURL(n);var a=t("<a />");a.attr("download","vp-woo-pont-"+o+".json"),a.attr("href",link),t("body").append(a),a[0].click(),t("body").remove(a)}})),!1},import_modal:function(){var e=t(this).data("type");return t(this).WCBackboneModal({template:"vp-woo-pont-modal-import",variable:{type:e}}),!1},import_settings:function(){var e=new FormData(t(".vp-woo-pont-modal-import form")[0]);return t.ajax({url:ajaxurl,type:"POST",data:e,processData:!1,contentType:!1,success:function(t){window.location.reload()},error:function(t,e,o){}}),!1},trigger_json_import:function(){var e=t(this).data("provider"),o=t(this).parent(),i={action:"vp_woo_pont_import_json_manually",nonce:vp_woo_pont_params.nonces.settings,provider:e};return o.addClass("loading"),t.post(ajaxurl,i,(function(t){o.removeClass("loading"),o.removeClass("has-file"),t.success?(o.addClass("has-file"),o.find(".download-link").attr("href",t.data.url+t.data.files[e]),o.find(".download-link").attr("data-qty",t.data.qty),console.log(t.data.qty)):(o.addClass("fail"),setTimeout((function(){o.removeClass("fail")}),1e3))})),!1},get_packeta_carriers:function(){var e=t(this).parents(".forminp"),o=t(this).data("nonce"),i=(e.find(".vp-woo-pont-packeta-carriers-notice"),t(this)),n={action:"vp_woo_pont_packeta_get_carriers",nonce:o};return i.addClass("loading"),t.post(ajaxurl,n,(function(e){i.removeClass("loading"),e.success?(Object.entries(e.data.pickup_point_carriers).forEach(([e,o])=>{if(!t(".vp-woo-pont-settings-checkbox-packeta_countries-"+e).length){var i=t("<li><label><input/><span></span></label></li>");i.addClass("vp-woo-pont-settings-checkbox-packeta_countries-"+e),i.find("input").val(e),i.find("input").attr("value",e),i.find("input").attr("type","checkbox"),i.find("input").attr("name","vp_woo_pont_packeta_countries[]"),i.find("span").text(o),t(".vp-woo-pont-settings-checkbox-group-packeta_countries").append(i)}}),t(".vp-woo-pont-settings-inline-table-packeta-carriers .vp-woo-pont-packeta-carriers-table-carrier select").each((function(){var o=t(this);Object.entries(e.data.home_delivery_carriers).forEach(([t,e])=>{o.find("optgroup[label="+t+"]").length||o.append('<optgroup label="'+t+'"></optgroup>'),Object.entries(e).forEach(([e,i])=>{o.find("option[value="+e+"]").length||o.find("optgroup[label="+t+"]").append('<option value="'+e+'">'+i+"</option>")})})}))):(i.addClass("fail"),setTimeout((function(){i.removeClass("fail")}),1e3))})),!1},packeta_carrier_add:function(){var o=t(this).closest("tbody"),i=t(this).closest("tr");return o.append(i.clone()),e.index_packeta_carrier_fields(),!1},packeta_carrier_remove:function(){return t(this).closest("tr").remove(),e.index_packeta_carrier_fields(),!1},index_packeta_carrier_fields:function(){e.$packeta_carriers_table.find("tbody tr").each((function(e,o){t(this).find('select, input[type="hidden"]').each((function(){var o=t(this).data("name");o=o.replace("X",e),t(this).attr("name",o)}));var i=t(this).find(".vp-woo-pont-packeta-carriers-table-country select").val();t(this).find(".vp-woo-pont-packeta-carriers-table-country select").length||(i=t(this).find(".vp-woo-pont-packeta-carriers-table-country input").val());var n=t(this).find(".vp-woo-pont-packeta-carriers-table-carrier select");n.val(),n.find("optgroup").each((function(){t(this).attr("label")==i?(t(this).removeAttr("hidden"),t(this).find("option:selected").length||(n.find("option").removeAttr("selected"),t(this).find("option").first().attr("selected",!0))):(t(this).attr("hidden",!0),t(this).find("option").removeAttr("selected"))})),n.find("option:selected").length||n.find("option").first().attr("selected",!0)}))},on_provider_change:function(){var o=e.$enabled_providers.find('input[name="vp_woo_pont_enabled_providers[]"]:checked'),i=[];t(".vp-woo-pont-settings-pricing-points li").hide(),o.each((function(){var e=t(this).val();i.push(e),t(".vp-woo-pont-settings-pricing-points").find("li.provider-"+e).show()})),t(".vp-woo-pont-settings-pricing-points li input").each((function(){var e=t(this).val();i.includes(e)||t(this).prop("checked",!1)})),t(".woocommerce-save-button").removeAttr("disabled")},refresh_field:function(e,o){var i=o,n={action:"vp_woo_pont_reload_"+e,nonce:vp_woo_pont_params.nonces.settings};return i.hasClass("loading")||(i.addClass("loading"),t.post(ajaxurl,n,(function(o){if(i.removeClass("loading"),i.addClass("loaded"),setTimeout((function(){i.removeClass("loaded")}),1e3),o.data){var n=t("#vp_woo_pont_"+e),s=n.val();n.val(null).empty(),o.data.forEach((function(t){var e=new Option(t.name,t.id,!0,!0);n.append(e).trigger("change")})),n.val(s),n.trigger("change")}}))),!1},restart_setup_wizard:function(){var e=t(this).data("nonce"),o=t(this).parents(".vp-woo-pont-settings-widget"),i=t(this).data("url"),n={action:"vp_woo_pont_restart_setup_wizard",nonce:e};return o.block({message:null,overlayCSS:{background:"#ffffff url("+vp_woo_pont_params.loading+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),t.post(ajaxurl,n,(function(t){window.location.href=i})),!1},validate_kvikk_api_key:function(){var e=t(this).data("nonce"),o=t(".vp-woo-pont-kvikk-api-key"),i={action:"vp_woo_pont_validate_kvikk_api_key",nonce:e,api_key:o.find("#vp_woo_pont_kvikk_api_key").val()};o.block({message:null,overlayCSS:{background:"#f0f0f1 url("+vp_woo_pont_params.loading+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),o.find(".vp-woo-pont-kvikk-api-key-results").removeClass("success"),o.find(".vp-woo-pont-kvikk-api-key-results").removeClass("fail"),o.find(".vp-woo-pont-kvikk-api-key-results-couriers").slideUp(),t.post(ajaxurl,i,(function(e){if(o.unblock(),e.success){var i=e.data,n=t("#vp_woo_pont_kvikk_sender_id");n.val(null).empty(),i.forEach((function(t){var e=new Option(t.name,t.id,!0,!0);n.append(e).trigger("change")})),o.find(".vp-woo-pont-kvikk-api-key-results").addClass("success")}else o.find(".vp-woo-pont-kvikk-api-key-results").addClass("fail")}))}};(t(".vp-woo-pont-settings").length||t(".vp-woo-pont-carriers").length)&&e.init(),t(".vp-woo-pont-remove-from-order").click((function(){$this=t(this);var e=confirm($this.data("question")),o=$this.data("order"),i=$this.data("nonce");return 1!=e||t.post(ajaxurl,{action:"vp_woo_pont_remove_from_order",security:i,order:o},(function(){$this.parent().hide()})),!1}));var i={$dpd_button:t(".vp-woo-pont-dpd-start-sync a"),$expressone_button:t(".vp-woo-pont-expressone-start-sync a"),$print_button:t("#vp-woo-pont-bulk-print-generate"),needs_label:[],total_labels:0,labels_generated:0,init:function(){this.$dpd_button.on("click",this.dpd_sync),this.$expressone_button.on("click",this.expressone_sync),this.$print_button.on("click",this.print_generate),t(".vp-woo-pont-orders-tracking-event-label").on("click",this.show_tracking_modal),t("body").on("click",".vp-woo-pont-modal-tracking-reload",this.reload_tracking_modal),t(".vp-woo-pont-order-column").on("click",".vp-woo-pont-order-column-print",this.show_print_layout_tooltip),t(".vp-woo-pont-order-column").on("blur",".vp-woo-pont-order-column-print",this.hide_print_layout_tooltip),t(".vp-woo-pont-order-column-print-layout").on("click","div",this.print_layout_label),t("#wpbody").on("change","#bulk-action-selector-top",(function(){"vp_woo_pont_print_labels"==t("#bulk-action-selector-top").val()?i.show_bulk_print_extra():i.hide_bulk_print_extra()})),t("#wpbody").on("click","#doaction",(function(){return"vp_woo_pont_print_labels"==t("#bulk-action-selector-top").val()?(i.handle_bulk_print(),!1):"vp_woo_pont_download_labels"==t("#bulk-action-selector-top").val()?(i.handle_bulk_download(),!1):void 0})),t("#wpbody").on("click","#doaction",(function(){if("vp_woo_pont_generate_labels"==t("#bulk-action-selector-top").val())return i.show_bulk_generate_modal(),!1})),t("body").on("change",".vp-woo-pont-modal-generate-selectall",(function(){var e=t(this).is(":checked");t('.vp-woo-pont-modal-generate table input[type="checkbox"]').attr("checked",e)})),t("body").on("wc_backbone_modal_removed",this.on_modal_close),t("body").on("click",".vp-woo-pont-modal-generate-button-download",this.download_in_bulk),t("body").on("click",".vp-woo-pont-modal-generate-button-print",this.print_in_bulk),t("body").on("click",".vp-woo-pont-modal-generate-label-print",this.print_single_label)},show_print_layout_tooltip:function(){var e=t(this).parents(".vp-woo-pont-order-column").data("provider");(e=e.split("_")[0]).includes("posta")&&(e="posta");var o=vp_woo_pont_params.sticker_parameters[e],i=t(this).find(".vp-woo-pont-order-column-print-button");if(o&&o.format&&!i.hasClass("multiple_parcels")){var n=t(this).find(".vp-woo-pont-order-column-print-layout");n.html(""),n.addClass(o.format),n.attr("data-sections",o.sections),n.attr("data-layout",o.layout),n.attr("data-format",o.format);for(let e of Array(o.sections).keys()){var s=t("<div>");s.data("page",e+1),0==e&&s.addClass("selected"),n.append(s)}t(this).toggleClass("active")}else{var r=t(this).parents(".vp-woo-pont-order-column").data("order"),l=vp_woo_pont_params.print_url,h=t(this).parents(".vp-woo-pont-order-column");l=(l=l.replace("X",r)).replace("Y",0);var p="#f6f7f7";if(t(this).parents("tr").is(":even")&&(p="#fff"),a.loading_indicator(h,p),t(this).parents(".vp-woo-pont-order-column-printing").hasClass("vp-woo-pont-order-column-quick")){i=t(this).parents(".vp-woo-pont-order-column-quick");var d={action:a.prefix+"generate_quick_label",nonce:vp_woo_pont_params.nonces.generate,order:r};t.post(ajaxurl,d,(function(t){if(t.data.error)h.unblock(),i.addClass("fail"),setTimeout((function(){i.removeClass("fail")}),1e3);else{i.removeClass("vp-woo-pont-order-column-quick"),i.find(".vp-woo-pont-order-column-pdf").show(),i.find(".vp-woo-pont-order-column-pdf").attr("href",t.data.pdf);var e=i.find(".vp-woo-pont-order-column-print-button").data("alt-label");i.find(".vp-woo-pont-order-column-print-button .label").text(e),printJS({printable:l,onLoadingEnd:function(){h.unblock()}})}}))}else printJS({printable:l,onLoadingEnd:function(){h.unblock()}})}return!1},hide_print_layout_tooltip:function(){t(".vp-woo-pont-order-column-print").removeClass("active")},print_layout_label:function(){var e=t(this).data("page"),o=t(this).parent(),i=t(this).parents(".vp-woo-pont-order-column").data("order");t(".vp-woo-pont-order-column-print-layout div").removeClass("selected"),t(this).addClass("selected");var n=vp_woo_pont_params.print_url;if(n=(n=n.replace("X",i)).replace("Y",e),t(this).parents(".vp-woo-pont-order-column-printing").hasClass("vp-woo-pont-order-column-quick")){var s=t(this).parents(".vp-woo-pont-order-column-quick"),r=s.parents(".vp-woo-pont-order-column");r.block({message:null,overlayCSS:{background:"#F5F5F5 url("+vp_woo_pont_params.loading+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}});var l={action:a.prefix+"generate_quick_label",nonce:vp_woo_pont_params.nonces.generate,order:i};t.post(ajaxurl,l,(function(t){if(r.unblock(),t.data.error)s.addClass("fail"),setTimeout((function(){s.removeClass("fail")}),1e3);else{s.removeClass("vp-woo-pont-order-column-quick"),s.find(".vp-woo-pont-order-column-pdf").show(),s.find(".vp-woo-pont-order-column-pdf").attr("href",t.data.pdf);var e=s.find(".vp-woo-pont-order-column-print-button").data("alt-label");s.find(".vp-woo-pont-order-column-print-button .label").text(e),printJS(n)}}))}else a.loading_indicator(o,"#fff"),printJS({printable:n,onLoadingEnd:function(){o.unblock()}});return!1},show_bulk_print_extra:function(){i.hide_bulk_print_extra();var e=t("#the-list .check-column input:checked"),o=[];t(e).each((function(i){var n=t(e[i]).parents("tr").find(".vp-woo-pont-order-details").data("order-details").carrier_id;o.push(n)}));var n=!0;if(o.forEach(t=>{var e=vp_woo_pont_params.sticker_parameters[t];e.sticker&&"A6"==e.sticker||(n=!1)}),n){var s=o[0],a=vp_woo_pont_params.sticker_parameters[s];if(a.format){var r=t("<select>").attr("id","vp-woo-pont-bulk-print-position"),l=t("<option>").val(0).text("C\xedmke poz\xedci\xf3");r.append(l);for(var h=0;h<a.sections;h++)if(0!=h){var p=t("<option>").val(h).text(h+" c\xedmke \xe1tugr\xe1sa");r.append(p)}t("#bulk-action-selector-top").after(r)}}},hide_bulk_print_extra:function(){t("#vp-woo-pont-bulk-print-position").remove()},handle_bulk_print:function(){var e=i.get_bulk_pdf_url();return a.loading_indicator(t(".bulkactions"),"#F0F0F1"),printJS({printable:e,onLoadingEnd:function(){t(".bulkactions").unblock()}}),!1},handle_bulk_download:function(){var t=i.get_bulk_pdf_url();return vp_woo_pont_params.bulk_download_zip&&(t+="&format=zip"),window.open(t),!1},get_bulk_pdf_url:function(){var e=t("#the-list .check-column input:checked"),o=[];t(e).each((function(i){var n=t(e[i]).val();o.push(n)}));var i=vp_woo_pont_params.print_url,n=0;return i=i.replace("X",o.join()),t("#vp-woo-pont-bulk-print-position").val()&&(n=t("#vp-woo-pont-bulk-print-position").val()),i.replace("Y",n)},dpd_sync:function(){var e=t(this).data("nonce"),o=t(this),i={action:a.prefix+"dpd_run_sync",nonce:e};return o.hasClass("loading")||(o.addClass("loading"),t.post(ajaxurl,i,(function(t){o.addClass("success"),setTimeout((function(){o.removeClass("loading"),o.removeClass("success")}),3e3)}))),!1},expressone_sync:function(){var e=t(this).data("nonce"),o=t(this),i={action:a.prefix+"expressone_run_sync",nonce:e};return o.hasClass("loading")||(o.addClass("loading"),t.post(ajaxurl,i,(function(t){o.addClass("success"),t.data.pdf&&window.open(t.data.pdf,"_blank"),setTimeout((function(){o.removeClass("loading"),o.removeClass("success")}),3e3)}))),!1},print_generate:function(){t(this);var e=t(this).data("orders"),o=vp_woo_pont_params.print_url;return o=(o=o.replace("X",e.join())).replace("Y",0),printJS(o),!1},show_tracking_modal:function(){t(this).data("events");var e=t(this).data("order_id"),o={action:a.prefix+"get_tracking_info",nonce:vp_woo_pont_params.nonces.tracking,order:t(this).data("order_id")};return t(this).WCBackboneModal({template:"vp-woo-pont-modal-tracking"}),t(".vp-woo-pont-modal-tracking article").block({message:null,overlayCSS:{background:"#ffffff url("+vp_woo_pont_params.loading+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),t.post(ajaxurl,o,(function(o){var i=o.data.link,n=o.data.tracking_number;t(".vp-woo-pont-modal-tracking article").unblock();var s=t(".vp-woo-pont-modal-tracking article ul");t(o.data.events).each((function(t){var e="";o.data.events[t].location&&(e='- <span class="location">'+o.data.events[t].location+"</span>"),s.append('<li class="note"><div class="note_content"><p>'+o.data.events[t].label+'</p></div><p class="meta"><span class="date">'+o.data.events[t].date+"</span> "+e+"</p></li>")})),t(".vp-woo-pont-modal-tracking-date").text(o.data.updated),t(".vp-woo-pont-modal-tracking-number").text(n),t(".vp-woo-pont-modal-tracking-reload").data("order",e),t(".vp-woo-pont-modal-tracking-link").attr("href",i)})),!1},reload_tracking_modal:function(){var e=t(this),o=t(".vp-woo-pont-modal-tracking-content");o.block({message:null,overlayCSS:{background:"#fff url("+vp_woo_pont_params.loading+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}});var i={action:"vp_woo_pont_update_tracking_info",nonce:vp_woo_pont_params.nonces.tracking,order:e.data("order")};return t.post(ajaxurl,i,(function(e){if(o.unblock(),!e.data.error){var i=t(".vp-woo-pont-modal-tracking-date");if(i.text(i.data("now")),e.data.tracking_info.length>o.find("ul").find("li").length-1){var n=e.data.tracking_info[0],s=o.find(".note-sample").clone();s.removeClass("note-sample"),s.find(".note_content p").text(n.label),s.find(".exact-date").text(n.date),s.show(),setTimeout((function(){s.removeClass("customer-note")}),3e3),o.find("ul").prepend(s)}}})),!1},show_bulk_generate_modal:function(){var e=[];t("#the-list .check-column input:checked").each((function(){var o=t(this).parents("tr"),i=o.find(".vp-woo-pont-order-details").data("order-details");i.provider_id&&(i.table_row=o,e.push(i))})),t(this).WCBackboneModal({template:"vp-woo-pont-modal-generate"}),t(document.body).trigger("vp_woo_pont_generate_modal_shown");var o=t(".vp-woo-pont-modal-generate table");return i.reset_modal_data(),i.total_labels=e.length,i.needs_label=[],e.forEach((function(e){var n=t("#vp_woo_pont_modal_generate_sample_row").html();(n=t(n)).find(".cell-order-number strong").text("#"+e.order_number),n.find(".cell-order-number span").text(e.customer_name),n.find(".vp-woo-pont-provider-icon").addClass("vp-woo-pont-provider-icon-"+e.provider_id),n.find(".cell-address span").text(e.shipping_address),n.find(".vp-woo-pont-modal-generate-label").text(e.parcel_number),n.find(".vp-woo-pont-modal-generate-label").attr("href",e.download_link),n.find(".vp-woo-pont-modal-generate-label-print").attr("href",e.download_link),n.data("order-details",e),n.find("input").val(e.order_id),e.parcel_number?n.addClass("has-label"):i.needs_label.push(n),o.find("tbody").append(n)})),i.labels_generated=i.total_labels-i.needs_label.length,i.update_counter(),i.generate_label(),!1},generate_label:function(){if(0==i.needs_label.length)return!1;var e=i.needs_label[0],o=e.data("order-details"),n={action:"vp_woo_pont_generate_quick_label",nonce:vp_woo_pont_params.nonces.generate,order:o.order_id};t.post(ajaxurl,n,(function(n){if(n.data.error)e.addClass("has-error"),e.find('input[type="checkbox"]').attr("disabled",!0);else{e.find(".vp-woo-pont-modal-generate-label").text(n.data.number),e.find(".vp-woo-pont-modal-generate-label").attr("href",n.data.pdf),e.find(".vp-woo-pont-modal-generate-label-print").attr("href",n.data.pdf),e.addClass("has-label");var s=o.table_row;if(n.data.order_status){var a=n.data.order_status.status;a=a.replace("wc-",""),s.find("td.order_status mark").removeClass((function(t,e){return(e.match(/(^|\s)status-\S+/g)||[]).join(" ")})).addClass("status-"+a),s.find("td.order_status span").text(n.data.order_status.name);var r=new URL(window.location.href),l=r.searchParams.get("status"),h=r.searchParams.get("post_status");if((l||h)&&(h||"all"!=l)){s.slideUp(),s.find(".check-column input").prop("checked",!1);var p=t("ul.subsubsub a.current").parent(),d=t("ul.subsubsub li."+n.data.order_status.status),c=parseInt(p.find(".count").text().replace(/[^0-9]/g,"")),u=parseInt(d.find(".count").text().replace(/[^0-9]/g,""));p.find(".count").text("("+(c-1)+")"),d.find(".count").text("("+(u+1)+")")}}var _='<div class="order-status vp-woo-pont-orders-tracking-event"><a class="vp-woo-pont-orders-tracking-event-external" target="_blank" href="#"><i class="vp-woo-pont-provider-icon-'+o.provider_id+'"></i></a><a class="vp-woo-pont-orders-tracking-event-label" href="#" data-order_id="'+o.order_id+'"><span>'+n.data.number+"</span></a></div>";s.find("td.vp_woo_pont_tracking").append(_);var m=s.find(".vp-woo-pont-order-column-quick");m.removeClass("vp-woo-pont-order-column-quick"),m.find(".vp-woo-pont-order-column-pdf").show(),m.find(".vp-woo-pont-order-column-pdf").attr("href",n.data.pdf);var f=m.find(".vp-woo-pont-order-column-print-button").data("alt-label");m.find(".vp-woo-pont-order-column-print-button .label").text(f),s.find(".vp-woo-pont-order-column-label span").text(n.data.number),o.parcel_number=n.data.number,o.download_link=n.data.pdf,s.find(".vp-woo-pont-order-details").data("order-details",o)}i.needs_label.shift(),i.generate_label(),i.update_counter()}))},update_counter:function(){i.labels_generated=i.total_labels-i.needs_label.length;var e=t(".vp-woo-pont-modal-generate-progress-bar-text").data("labels");if(!e)return!1;var o=e.total.singular;i.total_labels>1&&(o=(o=e.total.plural).replace("%d",i.total_labels));var n=e.current.default;1==i.labels_generated&&(n=e.current.singular),i.labels_generated>1&&(n=(n=e.current.plural).replace("%d",i.labels_generated));var s=i.labels_generated/i.total_labels*100;t(".vp-woo-pont-modal-generate-progress-bar-inner").css("width",s+"%"),t(".vp-woo-pont-modal-generate-progress-bar-text-current").text(n),t(".vp-woo-pont-modal-generate-progress-bar-text-total").text(o),0==i.needs_label.length&&(setTimeout((function(){t(".vp-woo-pont-modal-generate").addClass("done")}),500),setTimeout((function(){t(".vp-woo-pont-modal-generate").removeClass("done"),t(".vp-woo-pont-modal-generate").addClass("finished")}),500))},on_modal_close:function(t,e){"vp-woo-pont-modal-generate"==e&&i.reset_modal_data()},reset_modal_data:function(){t(".vp-woo-pont-modal-generate table").find("tbody").html(""),t(".vp-woo-pont-modal-generate").removeClass("done"),t(".vp-woo-pont-modal-generate").removeClass("finished"),i.needs_label=[],i.total_labels=0,i.labels_generated=0},print_in_bulk:function(){var e=i.generate_pdf_url(),o=t(this).parents("footer");return o.block({message:null,overlayCSS:{background:"#fcfcfc url("+vp_woo_pont_params.loading+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),printJS({printable:e,onLoadingEnd:function(){o.unblock()}}),!1},download_in_bulk:function(){var t=i.generate_pdf_url();return window.open(t),!1},generate_pdf_url:function(){var e=t(".vp-woo-pont-modal-generate table tr.has-label input:checked"),o=[];t(e).each((function(i){var n=t(e[i]).val();o.push(n)}));var i=vp_woo_pont_params.print_url,n=0;return i=i.replace("X",o.join()),t("#vp-woo-pont-bulk-print-position").val()&&(n=t("#vp-woo-pont-bulk-print-position").val()),i.replace("Y",n)},print_single_label:function(){var e=t(this).attr("href");return printJS(e),!1}};(t(".vp-woo-pont-order-column").length||t(".vp-woo-pont-dpd-start-sync").length||t("#vp-woo-pont-bulk-print-generate").length||vp_woo_pont_params.print_link)&&i.init();var n={$menu_bar_item:t("#wp-admin-bar-vp-woo-pont-bg-generate-loading"),$link_stop:t("#vp-woo-pont-bg-generate-stop"),$link_refresh:t("#vp-woo-pont-bg-generate-refresh"),finished:!1,nonce:"",init:function(){this.$link_stop.on("click",this.stop),this.$link_refresh.on("click",this.reload_page),this.nonce=this.$link_stop.data("nonce");var t=this.refresh;setTimeout(t,5e3)},reload_page:function(){return location.reload(),!1},stop:function(){var e={action:"vp_woo_pont_bg_generate_stop",nonce:n.nonce};return t.post(ajaxurl,e,(function(t){n.mark_stopped()})),!1},refresh:function(){var e={action:"vp_woo_pont_bg_generate_status",nonce:n.nonce};n.finished||t.post(ajaxurl,e,(function(t){t.data.finished?n.mark_finished():setTimeout(n.refresh,5e3)}))},mark_finished:function(){this.finished=!0,this.$menu_bar_item.addClass("finished")},mark_stopped:function(){this.mark_finished(),this.$menu_bar_item.addClass("stopped")}};t("#wp-admin-bar-vp-woo-pont-bg-generate-loading").length&&n.init();var s={$button:t(".vp_woo_pont_close_shipments"),$button_alt:t(".vp_woo_pont_close_orders"),$table:t(".vp-woo-pont-admin-shipments-table-pending"),$error:t(".vp-woo-pont-admin-shipments-notice"),$sampleRow:t("#tmpl-vp-woo-pont-shipment-result").html(),$results:t(".vp-woo-pont-admin-shipments-closed-packages"),provider:"",nonce:"",init:function(){this.nonce=this.$button.data("nonce"),this.provider=this.$button.data("provider"),this.$button.on("click",this.close_shipments),this.$button_alt.on("click",this.close_orders),t(document).on("click",".vp-woo-pont-shipments-show-all",(function(){return t(this).parent().find("li.hidden").removeClass("hidden"),t(this).hide(),!1})),t("#tiptip_holder").removeAttr("style"),t("#tiptip_arrow").removeAttr("style"),t(".tips").tipTip({attribute:"data-tip",fadeIn:50,fadeOut:50,delay:50})},reload_page:function(){return location.reload(),!1},close_orders:function(){var e={action:"vp_woo_pont_close_orders",nonce:s.nonce,orders:[],provider:s.provider};return s.$table.find('input[name="selected_packages"]:checked').each((function(){var o=t(this).data("order");e.orders.push(o)})),s.$table.block({message:null,overlayCSS:{background:"#F5F5F5 url("+vp_woo_pont_params.loading+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),t.post(ajaxurl,e,(function(t){t.success?s.reload_page():(s.$error.find("p").text(t.data.message),s.$error.show()),s.$table.unblock()})),!1},close_shipments:function(e){var o={action:"vp_woo_pont_close_shipments",nonce:s.nonce,packages:[],orders:[],provider:s.provider,shipments:[]};return s.$table.find('input[name="selected_packages"]:checked').each((function(){var e=t(this).val(),i=t(this).data("order");o.packages.push(e),o.orders.push(i),o.shipments.push({order:i,package:e})})),s.$table.block({message:null,overlayCSS:{background:"#F5F5F5 url("+vp_woo_pont_params.loading+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),t.post(ajaxurl,o,(function(e){if(!e.data.error){e.data.failed&&(s.$error.find("p").text(e.data.message),s.$error.append("<p>"+e.data.failed.join(", ")+"</p>"),s.$error.append("<p>Hiba\xfczenet:</p>"),s.$error.append("<p>"+JSON.stringify(e.data.errors)+"</p>"),s.$error.show());for(const[t,o]of Object.entries(e.data.processed))s.$table.find('input[data-order="'+o+'"]').parents("tr").remove();0==s.$table.find("tbody tr").length&&t(".vp-woo-pont-admin-shipments-pending-container").hide();var o=t(s.$sampleRow);o.find(".column-id").text(e.data.shipment_id),o.find(".column-time").text((new Date).toLocaleString());var i=t('<a href="#">').text(Object.entries(e.data.processed).length+" rendel\xe9s"),n=e.data.download_path;o.find(".column-orders").html(i);var a=o.find(".vp-woo-pont-admin-shipments-download-link").clone();for(var r in o.find(".column-pdf").html(""),e.data.documents)if(e.data.documents.hasOwnProperty(r)){var l=a.clone();l.find("a").attr("href",n+e.data.documents[r]),l.find(".vp-woo-pont-provider-icon").addClass("vp-woo-pont-provider-icon-"+r),o.find(".column-pdf").append(l)}s.$results.find("tbody").prepend(o),s.$results.show()}e.data.error&&(s.$error.html("<p>"),s.$error.find("p").text(e.data.message),e.data.errors&&(s.$error.append("<p>Hiba\xfczenet:</p>"),s.$error.append("<p>"+JSON.stringify(e.data.errors)+"</p>")),s.$error.show(),t("html, body").animate({scrollTop:0},500)),s.$table.unblock()})),!1}};(t(".vp_woo_pont_close_shipments").length||t(".vp-woo-pont-admin-shipments-table").length)&&s.init();var a={prefix:"vp_woo_pont_",prefix_id:"#vp_woo_pont_",prefix_class:".vp-woo-pont-",selected_provider:"",$metaboxContent:t("#vp_woo_pont_metabox .inside"),$optionsContent:t(".vp-woo-pont-metabox-generate-options"),$generateContent:t(".vp-woo-pont-metabox-generate"),$optionsButton:t("#vp_woo_pont_label_options"),$generateButtonLabel:t("#vp_woo_pont_label_generate"),$pointRow:t(".vp-woo-pont-metabox-rows-data-provider"),$labelRow:t(".vp-woo-pont-metabox-rows-label"),$trackingRow:t(".vp-woo-pont-metabox-rows-link-tracking"),$parcelCountRow:t(".vp-woo-pont-metabox-rows-parcel-count"),$voidRow:t(".vp-woo-pont-metabox-rows-data-void"),$removeRow:t(".vp-woo-pont-metabox-rows-data-remove"),$replaceRow:t(".vp-woo-pont-metabox-rows-data-replace"),$messages:t(".vp-woo-pont-metabox-messages-label"),$providerRow:t(".vp-woo-pont-metabox-rows-data-provider"),$homeDeliveryProviders:t(".vp-woo-pont-metabox-rows-data-home-delivery-providers"),$modifyProviderButton:t("#vp_woo_pont_modify_provider"),$homeDeliveryProviderInput:t('input[name="home_delivery_provider"]'),nonce:t("#vp_woo_pont_metabox .vp-woo-pont-metabox-content").data("nonce"),order:t("#vp_woo_pont_metabox .vp-woo-pont-metabox-content").data("order"),$updateTrackingInfoButton:t("#vp_woo_pont_update_tracking_info"),$trackingInfoList:t("#vp_woo_pont_tracking_info_list"),$trackingMessages:t(".vp-woo-pont-metabox-messages-tracking"),$weightField:t("#vp_woo_pont_package_weight"),$shipmentRow:t(".vp-woo-pont-metabox-rows-data-shipment"),$transspedPackages:t(".vp-woo-pont-transsped-packaging"),selected_replacement:!1,$map:!1,markerIcons:[],markerClusters:!1,groups:[],selectedPointCoordinates:"",selectedPointID:"",init:function(){this.$optionsButton.on("click",this.show_options),this.$generateButtonLabel.on("click",this.generate_label),this.$removeRow.find("a").on("click",this.remove_point),this.$replaceRow.find("a").on("click",this.replace_point),this.$voidRow.find("a").on("click",this.void_label),this.$messages.find("a").on("click",this.hide_message),this.$trackingMessages.find("a").on("click",this.hide_message),this.$modifyProviderButton.on("click",this.show_provider_options),this.$homeDeliveryProviderInput.on("change",this.on_provider_change),this.$updateTrackingInfoButton.on("click",this.update_tracking_info),this.$shipmentRow.find("a.undo").on("click",this.undo_shipment),t(document).on("change",'.vp-woo-pont-modal-replace input[name="replacement_point_provider"]',this.on_replacement_provider_change),t(document).on("keyup",".vp-woo-pont-modal-replace #vp-woo-pont-modal-replace-search",this.on_replacement_search),t(document).on("click",".vp-woo-pont-modal-replace-results li.result",this.save_replacement_point),this.selected_provider=t("#vp_woo_pont_metabox .vp-woo-pont-metabox-content").data("provider_id"),a.toggle_options(),vp_woo_pont_params.show_settings_metabox&&a.show_options(),this.$weightField.keypress((function(t){return 13!==t.keyCode||(a.save_weight(),!1)})),this.generate_label_print_layout(),t(document).on("click",".vp-woo-pont-metabox-rows-label-print div",this.print_label),this.$transspedPackages.find(".qty a").on("click",this.transsped.qty_change),this.transsped.set_global_qty(),t(".vp-woo-pont-package-size").length&&this.packaging.init()},packaging:{init:function(){t("#vp_woo_pont_packaging_type_custom").is(":checked")&&t(".vp-woo-pont-package-size-custom").show(),t(document).on("change",'.vp-woo-pont-package-size input[name="vp_woo_pont_packaging_type"]',this.on_change),t(document).on("blur",".vp-woo-pont-package-size-custom input",this.on_custom_size_change)},toggle_custom:function(e){"custom"==e?t(".vp-woo-pont-package-size-custom").show():t(".vp-woo-pont-package-size-custom").hide()},on_change:function(){var e=t(this).val();a.packaging.toggle_custom(e),"custom"!=e?a.packaging.update_packaging_details():a.packaging.on_custom_size_change()},on_custom_size_change:function(){var e=t(".vp-woo-pont-package-size-custom"),o=e.find('input[name="vp_woo_pont_packaging_length"]').val(),i=e.find('input[name="vp_woo_pont_packaging_width"]').val(),n=e.find('input[name="vp_woo_pont_packaging_height"]').val();o&&i&&n&&a.packaging.update_packaging_details()},update_packaging_details:function(){var e=t(".vp-woo-pont-package-size");a.loading_indicator(e,"#fff");var o=e.find('input[name="vp_woo_pont_packaging_type"]:checked'),i={action:a.prefix+"update_package_details",nonce:vp_woo_pont_params.nonces.generate,order:a.order,packaging_name:o.data("name"),packaging_sku:o.val(),packaging_length:e.find('input[name="vp_woo_pont_packaging_length"]').val(),packaging_width:e.find('input[name="vp_woo_pont_packaging_width"]').val(),packaging_height:e.find('input[name="vp_woo_pont_packaging_height"]').val()};t.post(ajaxurl,i,(function(t){e.unblock()}))}},transsped:{qty_change:function(){var e=t(this).parent().find("input"),o=parseInt(e.val());return t(this).parent().find(".value"),t(this).hasClass("minus")?o-=1:o+=1,o<0&&(o=0),e.val(o),a.transsped.set_global_qty(),!1},set_global_qty:function(){var e=a.$transspedPackages.find(".total-qty"),o=0;a.$transspedPackages.find("li").each((function(){var e=t(this).find("input"),i=t(this).find(".value"),n=parseInt(e.val());i.text(n),o+=n,n>0?t(this).addClass("active"):t(this).removeClass("active")})),e.text(o)}},loading_indicator:function(t,e){a.hide_message(),t.block({message:null,overlayCSS:{background:e+" url("+vp_woo_pont_params.loading+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}})},save_weight:function(){var e={action:a.prefix+"update_package_details",nonce:vp_woo_pont_params.nonces.generate,order:a.order,weight:a.$weightField.val()};a.$weightField.parent().addClass("saved"),setTimeout((function(){a.$weightField.parent().removeClass("saved")}),1500),t.post(ajaxurl,e,(function(t){}))},show_options:function(){return a.$optionsButton.toggleClass("active"),a.$optionsContent.slideToggle(),!1},toggle_options:function(){a.$optionsContent.find(".vp-woo-pont-metabox-generate-options-item").each((function(){var e=t(this),o=e.data("providers"),i=a.selected_provider;e.show(),o&&e.addClass("selected"),o&&!o.includes(i)&&(e.hide(),e.removeClass("selected"))}))},generate_label:function(){t(this);var e=t("#vp_woo_pont_package_count").val(),o=t("#vp_woo_pont_pickup_date").val(),i=t("#vp_woo_pont_package_contents").val(),n=t("#vp_woo_pont_package_weight").val(),s=t('.selected input[name="vp_woo_pont_extra_services"]:checked').map((function(){return this.value})).get(),r={};a.$transspedPackages.find("li").each((function(){var e=t(this).find("input"),o=e.attr("name").match(/\[(.*?)\]/)[1],i=parseInt(e.val());i>0&&(r[o]=i)}));var l={action:a.prefix+"generate_label",nonce:a.nonce,order:a.order,package_count:e,pickup_date:o,package_contents:i,package_weight:n,extra_services:s,transsped_packaging:r,source:"metabox"};return t('input[name="home_delivery_provider"]:checked').val()&&(l.provider=t('input[name="home_delivery_provider"]:checked').val()),a.loading_indicator(a.$metaboxContent,"#fff"),t.post(ajaxurl,l,(function(t){if(a.$metaboxContent.unblock(),a.show_messages(t),!t.data.error){if(a.$labelRow.slideDown(),a.$labelRow.find(),a.$labelRow.find("a").attr("href",t.data.pdf),a.$trackingRow.find("strong").text(t.data.number),a.$generateContent.slideUp(),l.package_count>1){a.$parcelCountRow.slideDown();var e=a.$parcelCountRow.find("strong").data("qty");a.$parcelCountRow.find("strong").text(l.package_count+" "+e)}a.generate_label_print_layout(),t.data.pending?(a.$labelRow.addClass("pending"),a.add_to_heartbeat("label")):(a.$trackingRow.slideDown(),a.$voidRow.slideDown())}})),!1},void_label_timeout:!1,void_label:function(){var e=t(this);if(e.hasClass("confirm")){clearTimeout(a.void_label_timeout),a.loading_indicator(a.$voidRow,"#fff");var o={action:a.prefix+"void_label",nonce:a.nonce,order:a.order};t.post(ajaxurl,o,(function(o){a.$voidRow.unblock(),a.show_messages(o),o.data.error||(a.$labelRow.slideUp(),a.$trackingRow.slideUp(),a.$parcelCountRow.slideUp(),a.$voidRow.slideUp((function(){e.text(o.data.completed),e.removeClass("confirm")})),t("#vp_woo_pont_metabox_tracking").slideUp(),a.$generateContent.slideDown(),t("#vp_woo_pont_metabox_kvikk").slideUp()),e.fadeOut((function(){e.text(e.data("trigger-value")),e.fadeIn(),e.removeClass("confirm")}))}))}else a.void_invoice_timeout=setTimeout((function(){e.fadeOut((function(){e.text(e.data("trigger-value")),e.fadeIn(),e.removeClass("confirm")}))}),5e3),e.addClass("confirm"),e.fadeOut((function(){e.text(e.data("question")),e.fadeIn()}));return!1},remove_point_timeout:!1,remove_point:function(){var e=t(this);if(e.hasClass("confirm")){clearTimeout(a.remove_point_timeout),a.loading_indicator(a.$removeRow,"#fff");var o={action:a.prefix+"remove_point",nonce:a.nonce,order:a.order};t.post(ajaxurl,o,(function(t){a.$removeRow.unblock(),t.success&&(a.$pointRow.slideUp(),a.$removeRow.slideUp((function(){e.removeClass("confirm")}))),e.fadeOut((function(){e.text(e.data("trigger-value")),e.fadeIn(),e.removeClass("confirm")}))}))}else a.void_invoice_timeout=setTimeout((function(){e.fadeOut((function(){e.text(e.data("trigger-value")),e.fadeIn(),e.removeClass("confirm")}))}),5e3),e.addClass("confirm"),e.fadeOut((function(){e.text(e.data("question")),e.fadeIn()}));return!1},show_messages:function(e){var o=this.$messages;e.container&&(o=e.container),e.data.messages&&e.data.messages.length>0&&(o.removeClass("vp-woo-pont-metabox-messages-success"),o.removeClass("vp-woo-pont-metabox-messages-error"),e.data.error?o.addClass("vp-woo-pont-metabox-messages-error"):o.addClass("vp-woo-pont-metabox-messages-success"),$ul=o.find("ul"),$ul.html(""),t.each(e.data.messages,(function(e,o){var i=t("<li>");i.append(o),$ul.append(i)})),o.slideDown())},hide_message:function(){return a.$messages.slideUp(),a.$trackingMessages.slideUp(),!1},on_replacement_provider_change:function(){t(".vp-woo-pont-modal-replace-providers li").removeClass("selected"),t(this).parents("li").addClass("selected"),t(".vp-woo-pont-modal-replace-options li.category").removeClass("selected");var e=t(this).val();t(this).parents("li").hasClass("loaded")?t(".vp-woo-pont-modal-replace-options li.category#"+e).addClass("selected"):(a.load_replacement_points(e),t(this).parents("li").addClass("loaded")),t("#vp-woo-pont-modal-replace-search").trigger("keyup"),"map"==e?(a.load_replacement_map(),console.log("load_replacement_map")):(t(".vp-woo-pont-modal-replace-map-container").hide(),t(".vp-woo-pont-modal-replace-options").show())},load_replacement_points:function(o){e.json_data_points.forEach((function(e){if(e.provider==o&&!t(".vp-woo-pont-modal-replace-results li#"+o).length){var i=t("<li>").attr("id",e.provider);i.addClass("category"),i.addClass("selected");var n=t("<ul>");e.data.forEach((function(e){var i=t("<strong>").text(e.name),s=t("<span>").text(e.zip+" "+e.city+" "+e.addr),a=t("<li>").addClass("result").data("point_id",e.id).data("provider",o).append(i,s);n.append(a)})),i.append(n),t(".vp-woo-pont-modal-replace-results").append(i)}}))},load_replacement_map:function(){if(a.$map&&(a.$map.off(),a.$map.remove(),t("#vp-woo-pont-replace-map").html(""),a.$map=!1),t(".vp-woo-pont-modal-replace-map-container").show(),t(".vp-woo-pont-modal-replace-options").hide(),a.$map=o.map("vp-woo-pont-replace-map"),a.$map.setView([47.25525656277509,19.54590752720833],7),a.$map.zoomControl.setPosition("bottomright"),e.selectedPointCoordinates){var i=e.selectedPointCoordinates.split(";");a.$map.setView([parseFloat(i[0]),parseFloat(i[1])],14)}o.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:19,attribution:'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'}).addTo(a.$map);var n={spiderfyOnMaxZoom:!0,showCoverageOnHover:!1,zoomToBoundsOnClick:!0,disableClusteringAtZoom:16,removeOutsideVisibleBounds:!0,chunkedLoading:!0,chunkProgress:function(t,e){console.log(`Clustering: ${Math.round(t/e*100)}%`)},chunkDelay:0,maxClusterRadius:80,animate:!0,spiderfyDistanceMultiplier:1.2,iconCreateFunction:function(t){var e=t.getChildCount(),i=e<100?"small":e<1e3?"medium":"large";return new o.DivIcon({html:"<div><span>"+e+"</span></div>",className:"marker-cluster marker-cluster-"+i,iconSize:new o.Point(40,40)})}};a.markerClusters=new o.MarkerClusterGroup(n),a.markerClusters.addTo(a.$map),a.markerClusters._getExpandedVisibleBounds=function(){return a.markerClusters._map.getBounds()},e.json_data_points.forEach((function(t){a.groups[t.provider]=o.featureGroup.subGroup(a.markerClusters),a.markerIcons[t.provider]=o.divIcon({html:'<div><i class="vp-woo-pont-provider-icon-'+t.provider+'"></i></div>',className:"vp-woo-pont-marker "+t.provider,iconSize:[48,55],iconAnchor:[24,52]})})),e.json_data_points.forEach((function(t){a.process_provider(t.provider,t.data)}))},process_provider:function(t,i){var n=[],s=0;requestAnimationFrame((function r(){for(var l=Math.min(s+1e3,i.length),h=[],p=s;p<l;p++){var d,c=i[p];if(c.provider=t,d=a.groups[t]){var u=o.marker(new o.LatLng(c.lat,c.lon),{data:c,riseOnHover:!0});c.marker_id=o.stamp(u),u.on("click",a.select_in_map),u.setIcon(a.markerIcons[c.provider]),e.selectedPointID&&e.selectedPointID==c.id&&u.setIcon(o.divIcon({html:'<div><i class="vp-woo-pont-provider-icon-'+c.provider+'"></i></div>',className:"vp-woo-pont-marker-selected vp-woo-pont-marker "+c.provider,iconSize:[48,55],iconAnchor:[24,52]})),h.push({marker:u,group:d})}}h.forEach((function(t){t.marker.addTo(t.group)})),n=n.concat(h),(s=l)<i.length?requestAnimationFrame(r):a.groups[t]&&a.groups[t].addTo(a.$map)}))},replace_point:function(){t(this).WCBackboneModal({template:"vp-woo-pont-modal-replace",variable:{}});var o=t(this).data("provider_id"),i=t(".vp-woo-pont-modal-replace-providers").find('input[value="'+o+'"]');return i.length||(i=t(".vp-woo-pont-modal-replace-providers li:first input")),i.prop("checked",!0),i.parents("li").addClass("selected"),e.selectedPointCoordinates=t(this).data("coordinates"),e.selectedPointID=t(this).data("point_id"),t(".vp-woo-pont-modal-replace-providers input").map((function(){return this.value})).get(),0===e.json_data_points.length?e.load_json_files((function(){i.trigger("change")})):i.trigger("change"),!1},select_in_map:function(e){t(".leaflet-marker-icon.selected").removeClass("selected"),t(".vp-woo-pont-modal-replace-map-selected").html("");var o=a.markerClusters.getLayer(e.target.options.data.marker_id);t(o._icon).addClass("selected");var i=t("<strong>").text(e.target.options.data.name),n=t("<span>").text(e.target.options.data.zip+" "+e.target.options.data.city+" "+e.target.options.data.addr),s=t("<div>").addClass("result").data("point_id",e.target.options.data.id).data("provider",e.target.options.data.provider).append(i,n);return s.on("click",a.save_replacement_point),t(".vp-woo-pont-modal-replace-map-selected").append(s),!1},on_replacement_search:function(){var e=t(this).val().toLowerCase();t(".vp-woo-pont-modal-replace-results li.selected li").each((function(){-1!==t(this).text().toLowerCase().indexOf(e)?t(this).show():t(this).hide()}))},save_replacement_point:function(){var e=t(".vp-woo-pont-modal-replace");a.loading_indicator(e,"#fff");var o={action:a.prefix+"replace_point",nonce:a.nonce,order:a.order,provider:t(this).data("provider"),point_id:t(this).data("point_id")};return t.post(ajaxurl,o,(function(o){e.unblock(),t(".modal-close-link").trigger("click"),a.show_messages(o),o.success&&(a.$pointRow.slideDown(),a.$pointRow.find("strong").text(o.data.provider_label),a.$pointRow.find("span").text(o.data.point_name),a.$pointRow.find("i").removeAttr("class").addClass("vp-woo-pont-provider-icon-"+o.data.provider),a.selected_provider=o.data.carrier,a.toggle_options(),a.$replaceRow.find("a").data("provider_id",o.data.provider),a.$replaceRow.find("a").data("point_id",o.data.point_id),a.$replaceRow.find("a").data("coordinates",o.data.coordinates),t(document.body).trigger("vp_woo_pont_metabox_pickup_point_changed"))})),!1},add_to_heartbeat:function(){t(document).on("heartbeat-send",(function(t,e){e.vp_woo_pont_label_generate=!0,e.vp_woo_pont_order_id=a.order}))},show_provider_options:function(){return t(".vp-woo-pont-metabox-rows-data-home-delivery-providers-info").removeClass("show"),a.$providerRow.slideUp(),a.$homeDeliveryProviders.slideDown(),!1},on_provider_change:function(){var e=t('input[name="home_delivery_provider"]:checked').data("label"),o=t('input[name="home_delivery_provider"]:checked').val(),i={action:a.prefix+"save_provider",nonce:a.nonce,order:a.order,provider:o};a.selected_provider=o,a.toggle_options(),t.post(ajaxurl,i),a.$providerRow.find("strong").text(e),a.$providerRow.find("i").attr("class","vp-woo-pont-provider-icon-"+o),a.$providerRow.slideDown(),a.$homeDeliveryProviders.slideUp(),a.$generateContent.addClass("show")},update_tracking_info:function(){t(this),a.loading_indicator(a.$trackingInfoList,"#fff");var e={action:a.prefix+"update_tracking_info",nonce:vp_woo_pont_params.nonces.tracking,order:a.order};return t.post(ajaxurl,e,(function(t){if(a.$trackingInfoList.unblock(),t.container=a.$trackingMessages,a.show_messages(t),!t.data.error&&t.data.tracking_info.length>a.$trackingInfoList.find("li").length-1){var e=t.data.tracking_info[0],o=a.$trackingInfoList.find(".note-sample").clone();o.removeClass("note-sample"),o.find(".note_content p").text(e.label),o.find(".exact-date").text(e.date),o.show(),setTimeout((function(){o.removeClass("customer-note")}),3e3),a.$trackingInfoList.prepend(o)}})),!1},generate_label_print_layout:function(){var e=a.selected_provider;e.includes("posta")&&(e="posta");var o=vp_woo_pont_params.sticker_parameters[e];if(o&&o.format){var i=t(".vp-woo-pont-metabox-rows-label-print");i.html(""),i.addClass(o.format),i.attr("data-sections",o.sections),i.attr("data-layout",o.layout),i.attr("data-format",o.format);for(let e of Array(o.sections).keys()){var n=t("<div>");n.data("page",e+1),0==e&&n.addClass("selected"),i.append(n)}}},print_label:function(){var e=t(this).data("page");t(".vp-woo-pont-metabox-rows-label-print div").removeClass("selected"),t(this).addClass("selected");var o=vp_woo_pont_params.print_url;return o=(o=o.replace("X",a.order)).replace("Y",e),a.loading_indicator(a.$labelRow,"#fff"),printJS({printable:o,onLoadingEnd:function(){a.$labelRow.unblock()}}),!1},undo_shipment_timeout:!1,undo_shipment:function(){var e=t(this);if(e.hasClass("confirm")){clearTimeout(a.undo_shipment_timeout),a.loading_indicator(a.$shipmentRow,"#fff");var o={action:a.prefix+"undo_shipment",nonce:a.nonce,order:a.order};t.post(ajaxurl,o,(function(t){a.$shipmentRow.unblock(),a.show_messages(t),t.data.error||a.$shipmentRow.slideUp(),e.fadeOut((function(){e.text(e.data("trigger-value")),e.fadeIn(),e.removeClass("confirm")}))}))}else a.undo_shipment_timeout=setTimeout((function(){e.fadeOut((function(){e.text(e.data("trigger-value")),e.fadeIn(),e.removeClass("confirm")}))}),5e3),e.addClass("confirm"),e.fadeOut((function(){e.text(e.data("question")),e.fadeIn()}));return!1}};t("#vp_woo_pont_metabox").length&&a.init();var r={$map:!1,$filters:t(".vp-woo-pont-modal-sidebar-filters"),$list:t(".vp-woo-pont-modal-sidebar-results"),saved_values:!1,sample_providers:[{id:"foxpost",label:"Foxpost"},{id:"gls",label:"GLS"},{id:"mpl",label:"Postapont"}],sample_points:[{provider:"foxpost",id:1,lat:"47.94137",lon:"21.71191",name:"Ny\xedregyh\xe1za ALDI M\xf3ricz Zsigmond utca",zip:"4400",addr:"M\xf3ricz Zsigmond utca 25.",city:"Ny\xedregyh\xe1za"},{provider:"gls",id:2,lat:"47.58137",lon:"19.04877",zip:"1039",addr:"Szentendrei \xfat 255.",city:"BUDAPEST III. KER.",country:"hu",name:"GLS Automata MOL Szentendrei \xfat",hours:"00:00 - 24:00",comment:"HU460 sz\xe1m\xfa k\xfclt\xe9ri automat\xe1nk az ALDI bej\xe1rat\xe1t\xf3l jobbra, a Szarvas utca fel\u0151l tal\xe1lhat\xf3."},{provider:"mpl",id:3,group:10,lat:"46.59523",lon:"17.17556",name:"Balatonmagyar\xf3d postapartner",zip:"8753",addr:"Pet\u0151fi utca 135.",city:"Balatonmagyar\xf3d"},{provider:"mpl",id:4,group:10,lat:"46.91638",lon:"19.91863",name:"Szentkir\xe1ly postapartner",zip:"6031",addr:"Kossuth Lajos utca 25/C.",city:"Szentkir\xe1ly"},{provider:"foxpost",id:5,lat:"46.07529",lon:"18.24244",name:"P\xe9cs Mixvill Zsolnay utca",zip:"7630",addr:"Zsolnay utca 8.",city:"P\xe9cs"}],init:function(){t(document).on("click",".vp-woo-pont-appearance-editor",(function(){return t(this).WCBackboneModal({template:"vp-woo-pont-modal-design"}),r.generateSampleMap(),r.update_inline_css(),!1})),t(document).on("change",".vp-woo-pont-modal-design-form input",this.update_inline_css),t(document).on("input",".vp-woo-pont-modal-design-form input",this.update_inline_css),t(document).on("click",".vp-woo-pont-modal-design-save",this.save_design),t(document).on("click",".vp-woo-pont-modal-design-reset",this.reset_design)},generateSampleMap:function(){r.$map=o.map("vp-woo-pont-modal-map"),r.$map.setView([47.25525656277509,19.54590752720833],7),r.$map.zoomControl.setPosition("bottomright"),o.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:19,attribution:'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'}).addTo(r.$map),t(".vp-woo-pont-modal-sidebar-filters").html(""),r.sample_providers.forEach((function(e){console.log(e);var o=t('<li data-provider="'+e.id+'"><input type="checkbox" checked id="provider-'+e.id+'"><label for="provider-'+e.id+'"><i class="vp-woo-pont-provider-icon-'+e.id+'"></i><strong>'+e.label+"</strong><em>990 Ft</em></label></li>");t(".vp-woo-pont-modal-sidebar-filters").append(o)})),r.sample_points.forEach((function(t){var e=o.marker([t.lat,t.lon]),i=t.provider;"gls"==t.provider&&(i+=" selected");var n=o.divIcon({html:'<div><i class="vp-woo-pont-provider-icon-'+t.provider+'"></i></div>',className:"vp-woo-pont-marker "+i,iconSize:[48,55],iconAnchor:[24,52]});e.setIcon(n),e.addTo(r.$map)})),r.sample_points.forEach((function(e){var o=t("#vp-woo-pont-modal-list-item-sample").clone();o.removeAttr("id"),o.find(".name").text(e.name),o.find(".addr").text(e.addr+", "+e.zip+" "+e.city),o.find(".cost").html("990 Ft"),o.find(".comment").text(e.comment),o.attr("data-provider",e.provider),o.attr("data-id",e.id),o.find(".icon").addClass("vp-woo-pont-provider-icon-"+e.provider),e.hours&&(o.find(".open-hours .value").text(e.hours),o.find(".open-hours").addClass("has-hours")),"gls"==e.provider&&o.addClass("selected"),t(".vp-woo-pont-modal-sidebar-results").append(o)})),r.saved_values&&t(".vp-woo-pont-modal-design-form input").each((function(){var e=t(this).attr("name");e=e.replace("vp_woo_pont_",""),"checkbox"==t(this).attr("type")?r.saved_values[e]?t(this).prop("checked",!0):t(this).prop("checked",!1):r.saved_values[e]&&t(this).val(r.saved_values[e])}))},update_inline_css:function(){var e={},o=r.hex_to_rgba;t(".vp-woo-pont-modal-design-form input").each((function(){var o=t(this).attr("name");o=o.replace("vp_woo_pont_",""),"checkbox"==t(this).attr("type")?e[o]=t(this).is(":checked"):e[o]=t(this).val()})),document.documentElement.style.setProperty("--vp-woo-pont-primary-color",e.primary_color),document.documentElement.style.setProperty("--vp-woo-pont-primary-color-alpha-20",o(e.primary_color,.2)),document.documentElement.style.setProperty("--vp-woo-pont-primary-color-alpha-10",o(e.primary_color,.1)),document.documentElement.style.setProperty("--vp-woo-pont-primary-color-alpha-05",o(e.primary_color,.05)),document.documentElement.style.setProperty("--vp-woo-pont-text-color",e.text_color),document.documentElement.style.setProperty("--vp-woo-pont-price-color",e.price_color),document.documentElement.style.setProperty("--vp-woo-pont-cluster-large-color",o(e.cluster_large_color,.9)),document.documentElement.style.setProperty("--vp-woo-pont-cluster-medium-color",o(e.cluster_medium_color,.9)),document.documentElement.style.setProperty("--vp-woo-pont-cluster-small-color",o(e.cluster_small_color,.9)),document.documentElement.style.setProperty("--vp-woo-pont-title-font-size",e.title_font_size+"px"),document.documentElement.style.setProperty("--vp-woo-pont-text-font-size",e.text_font_size+"px"),document.documentElement.style.setProperty("--vp-woo-pont-price-font-size",e.price_font_size+"px"),t(".vp-woo-pont-modal-sidebar-results .open-hours").toggleClass("has-hours",e.show_open_hours),t(".vp-woo-pont-modal-sidebar-filters").toggleClass("show-checkbox",e.filter_checkbox)},hex_to_rgba:function(t,e){return"rgba("+(t=t.replace("#","")).match(new RegExp("(.{"+t.length/3+"})","g")).map((function(e){return parseInt(t.length%2?e+e:e,16)})).concat(isFinite(e)?e:1).join(",")+")"},save_design:function(){var e=t(this).parent(),o={action:"vp_woo_pont_save_design",nonce:vp_woo_pont_params.nonces.settings,values:{}};t(".vp-woo-pont-modal-design-form input").each((function(){var e=t(this).attr("name");e=e.replace("vp_woo_pont_",""),"checkbox"==t(this).attr("type")?o.values[e]=t(this).is(":checked"):o.values[e]=t(this).val()})),e.block({message:null,overlayCSS:{background:"#fff url("+vp_woo_pont_params.loading+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),t.post(ajaxurl,o,(function(t){r.saved_values=o.values,e.unblock()}))},reset_design:function(){return t(".vp-woo-pont-modal-design-form input").each((function(){t(this).data("default")&&t(this).val(t(this).data("default"))})),r.update_inline_css(),!1}};t(".vp-woo-pont-appearance-editor").length&&r.init()}))}();
  • hungarian-pickup-points-for-woocommerce/trunk/includes/views/html-metabox.php

    r3326175 r3393853  
    108108            <li class="vp-woo-pont-metabox-rows-data vp-woo-pont-metabox-rows-data-replace <?php if(!$has_label && !$pending): ?>show<?php endif; ?>">
    109109                <div class="vp-woo-pont-metabox-rows-data-inside">
    110                     <a href="#" data-provider_id="<?php echo esc_attr($provider_id); ?>"><?php esc_html_e('Replace selected point','vp-woo-pont'); ?></a>
     110                    <a href="#" data-provider_id="<?php echo esc_attr($provider_id); ?>" data-point_id="<?php echo esc_attr($order->get_meta('_vp_woo_pont_point_id')); ?>" data-coordinates="<?php echo esc_attr($order->get_meta('_vp_woo_pont_point_coordinates')); ?>"><?php esc_html_e('Replace selected point','vp-woo-pont'); ?></a>
    111111                </div>
    112112            </li>
  • hungarian-pickup-points-for-woocommerce/trunk/includes/views/html-modal-replace-point.php

    r2912656 r3393853  
    3232                                </li>
    3333                            <?php endforeach; ?>
     34                            <li>
     35                                <label>
     36                                    <input type="radio" name="replacement_point_provider" value="map">
     37                                    <i class="vp-woo-pont-provider-icon-custom"></i>
     38                                    <span>Térkép</span>
     39                                </label>
     40                            </li>
    3441                        </ul>
     42                        <div class="vp-woo-pont-modal-replace-map-container" style="display:none;">
     43                            <div class="vp-woo-pont-modal-replace-map-selected"></div>
     44                            <div class="vp-woo-pont-modal-replace-map" id="vp-woo-pont-replace-map">
     45                        </div>
     46                        </div>
    3547                        <div class="vp-woo-pont-modal-replace-options">
    3648                            <ul class="vp-woo-pont-modal-replace-results"></ul>
  • hungarian-pickup-points-for-woocommerce/trunk/index.php

    r3392546 r3393853  
    88Text Domain: vp-woo-pont
    99Domain Path: /languages/
    10 Version: 3.7
     10Version: 3.7.1
    1111WC requires at least: 7.0
    1212WC tested up to: 10.3.4
     
    6868        self::$plugin_basename = plugin_basename(__FILE__);
    6969        self::$plugin_path = trailingslashit(dirname(__FILE__));
    70         self::$version = '3.7';
     70        self::$version = '3.7.1';
    7171        self::$plugin_url = plugin_dir_url(self::$plugin_basename);
    7272
     
    970970        $providers = VP_Woo_Pont_Helpers::get_supported_providers();
    971971        $response['point_id'] = $point['id'];
     972        $response['coordinates'] = $point['lat'].';'.$point['lon'];
    972973        $response['point_name'] = $point['name'];
    973974        $response['provider_label'] = $providers[$point['provider']];
  • hungarian-pickup-points-for-woocommerce/trunk/readme.txt

    r3392546 r3393853  
    44Requires at least: 6.0
    55Tested up to: 6.8
    6 Stable tag: 3.7
     6Stable tag: 3.7.1
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5656
    5757== Changelog ==
     58
     593.7.1
     60* Csomapgont cserélnél lehet térképről választani adminfelületen
    5861
    59623.7
Note: See TracChangeset for help on using the changeset viewer.