1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[666],{28208:function(t,e,n){"use strict";e.Z=void 0;var r,i=n(80234),o=(r=n(45243))&&r.__esModule?r:{default:r};function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){u(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function l(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=t[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!e||n.length!==e);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==a.return||a.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function h(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}n(95732);var d=(0,i.createPathComponent)((function(t,e){t.children;var n=h(t,["children"]),r={},i={};Object.entries(n).forEach((function(t){var e=l(t,2),n=e[0],o=e[1];return n.startsWith("on")?i[n]=o:r[n]=o}));var s=new o.default.markerClusterGroup(r);return Object.entries(i).forEach((function(t){var e=l(t,2),n=e[0],r=e[1],i="cluster".concat(n.substring(2).toLowerCase());s.on(i,r)})),{instance:s,context:a(a({},e),{},{layerContainer:s})}}));e.Z=d},95732:function(t,e){!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,n=this._zoom;if(t.__parent)for(;e.__parent._zoom>=n;)e=e.__parent;
vendor: 29,385 bytes, line 1
1return 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 n,r=this._featureGroup,i=this._nonPointGroup,o=this.options.chunkedLoading,s=this.options.chunkInterval,a=this.options.chunkProgress,u=t.length,l=0,c=!0;if(this._map){var h=(new Date).getTime(),d=L.bind((function(){var _=(new Date).getTime();for(this._map&&this._unspiderfy&&this._unspiderfy();l<u&&!(o&&l%200===0&&(new Date).getTime()-_>s);l++)if((n=t[l])instanceof L.LayerGroup)c&&(t=t.slice(),c=!1),this._extractNonGroupLayers(n,t),u=t.length;else if(n.getLatLng){if(!this.hasLayer(n)&&(this._addLayer(n,this._maxZoom),e||this.fire("layeradd",{layer:n}),n.__parent&&2===n.__parent.getChildCount())){var f=n.__parent.getAllChildMarkers(),p=f[0]===n?f[1]:f[0];r.removeLayer(p)}}else i.addLayer(n),e||this.fire("layeradd",{layer:n});a&&a(l,u,(new Date).getTime()-h),l===u?(this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds)):setTimeout(d,this.options.chunkDelay)}),this);d()}else for(var _=this._needsClustering;l<u;l++)(n=t[l])instanceof L.LayerGroup?(c&&(t=t.slice(),c=!1),this._extractNonGroupLayers(n,t),u=t.length):n.getLatLng?this.hasLayer(n)||_.push(n):i.addLayer(n);return this},removeLayers:function(t){var e,n,r=t.length,i=this._featureGroup,o=this._nonPointGroup,s=!0;if(!this._map){for(e=0;e<r;e++)(n=t[e])instanceof L.LayerGroup?(s&&(t=t.slice(),s=!1),this._extractNonGroupLayers(n,t),r=t.length):(this._arraySplice(this._needsClustering,n),o.removeLayer(n),this.hasLayer(n)&&this._needsRemoving.push({layer:n,latlng:n._latlng}),this.fire("layerremove",{layer:n}));return this}if(this._unspiderfy){this._unspiderfy();var a=t.slice(),u=r;for(e=0;e<u;e++)(n=a[e])instanceof L.LayerGroup?(this._extractNonGroupLayers(n,a),u=a.length):this._unspiderfyLayer(n)}for(e=0;e<r;e++)(n=t[e])instanceof L.LayerGroup?(s&&(t=t.slice(),s=!1),this._extractNonGroupLayers(n,t),r=t.length):n.__parent?(this._removeLayer(n,!0,!0),this.fire("layerremove",{layer:n}),i.hasLayer(n)&&(i.removeLayer(n),n.clusterShow&&n.clusterShow())):(o.removeLayer(n),this.fire("layerremove",{layer:n}));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 n,r,i,o=this._needsClustering.slice(),s=this._needsRemoving;for(this._topClusterLevel&&this._topClusterLevel.getAllChildMarkers(o),r=o.length-1;r>=0;r--){for(n=!0,i=s.length-1;i>=0;i--)if(s[i].layer===o[r]){n=!1;break}n&&t.call(e,o[r])}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(n){L.stamp(n)===t&&(e=n)})),e},hasLayer:function(t){if(!t)return!1;var e,n=this._needsClustering;for(e=n.length-1;e>=0;e--)if(n[e]===t)return!0;for(e=(n=this._needsRemoving).length-1;e>=0;e--)if(n[e].layer===t)return!1;return!(!t.__parent||t.__parent._group!==this)||this._nonPointGroup.hasLayer(t)},zoomToShowLayer:function(t,e){var n=this._map;"function"!==typeof e&&(e=function(){});var r=function(){!n.hasLayer(t)&&!n.hasLayer(t.__parent)||this._inZoomAnimation||(this._map.off("moveend",r,this),this.off("animationend",r,this),n.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",r,this),this._map.panTo(t.getLatLng())):(this._map.on("moveend",r,this),this.on("animationend",r,this),t.__parent.zoomToBounds())},onAdd:function(t){var e,n,r;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,n=this._needsRemoving.length;e<n;e++)(r=this._needsRemoving[e]).newlatlng=r.layer._latlng,r.layer._latlng=r.latlng;for(e=0,n=this._needsRemoving.length;e<n;e++)r=this._needsRemoving[e],this._removeLayer(r.layer,!0),r.layer._latlng=r.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(),n=this._needsClustering,this._needsClustering=[],this.addLayers(n,!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 n=t.length-1;n>=0;n--)if(t[n]===e)return t.splice(n,1),!0},_removeFromGridUnclustered:function(t,e){for(var n=this._map,r=this._gridUnclustered,i=Math.floor(this._map.getMinZoom());e>=i&&r[e].removeObject(t,n.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,n){t._latlng=e,this.removeLayer(t),t._latlng=n,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,n){var r=this._gridClusters,i=this._gridUnclustered,o=this._featureGroup,s=this._map,a=Math.floor(this._map.getMinZoom());e&&this._removeFromGridUnclustered(t,this._maxZoom);var u,l=t.__parent,c=l._markers;for(this._arraySplice(c,t);l&&(l._childCount--,l._boundsNeedUpdate=!0,!(l._zoom<a));)e&&l._childCount<=1?(u=l._markers[0]===t?l._markers[1]:l._markers[0],r[l._zoom].removeObject(l,s.project(l._cLatLng,l._zoom)),i[l._zoom].addObject(u,s.project(u.getLatLng(),l._zoom)),this._arraySplice(l.__parent._childClusters,l),l.__parent._markers.push(u),u.__parent=l.__parent,l._icon&&(o.removeLayer(l),n||o.addLayer(u))):l._iconNeedsUpdate=!0,l=l.__parent;delete t.__parent},_isOrIsParent:function(t,e){for(;e;){if(t===e)return!0;e=e.parentNode}return!1},fire:function(t,e,n){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,n)},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(),n=" marker-cluster-";return n+=e<10?"small":e<100?"medium":"large",new L.DivIcon({html:"<div><span>"+e+"</span></div>",className:"marker-cluster"+n,iconSize:new L.Point(40,40)})},_bindEvents:function(){var t=this._map,e=this.options.spiderfyOnMaxZoom,n=this.options.showCoverageOnHover,r=this.options.zoomToBoundsOnClick,i=this.options.spiderfyOnEveryZoom;(e||r||i)&&this.on("clusterclick clusterkeypress",this._zoomOrSpiderfy,this),n&&(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,n=e;if("clusterkeypress"!==t.type||!t.originalEvent||13===t.originalEvent.keyCode){for(;1===n._childClusters.length;)n=n._childClusters[0];n._zoom===this._maxZoom&&n._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,n=this.options.zoomToBoundsOnClick,r=this.options.spiderfyOnEveryZoom,i=this._map;(t||n||r)&&this.off("clusterclick clusterkeypress",this._zoomOrSpiderfy,this),e&&(this.off("clustermouseover",this._showCoverage,this),this.off("clustermouseout",this._hideCoverage,this),i.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()),n=this.options.maxClusterRadius,r=n;"function"!==typeof n&&(r=function(){return n}),null!==this.options.disableClusteringAtZoom&&(t=this.options.disableClusteringAtZoom-1),this._maxZoom=t,this._gridClusters={},this._gridUnclustered={};for(var i=t;i>=e;i--)this._gridClusters[i]=new L.DistanceGrid(r(i)),this._gridUnclustered[i]=new L.DistanceGrid(r(i));this._topClusterLevel=new this._markerCluster(this,e-1)},_addLayer:function(t,e){var n,r,i=this._gridClusters,o=this._gridUnclustered,s=Math.floor(this._map.getMinZoom());for(this.options.singleMarkerMode&&this._overrideMarkerIcon(t),t.on(this._childMarkerEventHandlers,this);e>=s;e--){n=this._map.project(t.getLatLng(),e);var a=i[e].getNearObject(n);if(a)return a._addChild(t),void(t.__parent=a);if(a=o[e].getNearObject(n)){var u=a.__parent;u&&this._removeLayer(a,!1);var l=new this._markerCluster(this,e,a,t);i[e].addObject(l,this._map.project(l._cLatLng,e)),a.__parent=l,t.__parent=l;var c=l;for(r=e-1;r>u._zoom;r--)c=new this._markerCluster(this,r,c),i[r].addObject(c,this._map.project(a.getLatLng(),r));return u._addChild(c),void this._removeFromGridUnclustered(a,e)}o[e].addObject(t,n)}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 n=e.getAllChildMarkers();this._featureGroup.removeLayer(n[0]),this._featureGroup.removeLayer(n[1])}else e._updateIcon()},_extractNonGroupLayers:function(t,e){var n,r=t.getLayers(),i=0;for(e=e||[];i<r.length;i++)(n=r[i])instanceof L.LayerGroup?this._extractNonGroupLayers(n,e):e.push(n);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 n,r=this._getExpandedVisibleBounds(),i=this._featureGroup,o=Math.floor(this._map.getMinZoom());this._ignoreMove=!0,this._topClusterLevel._recursively(r,t,o,(function(o){var s,a=o._latlng,u=o._markers;for(r.contains(a)||(a=null),o._isSingleParent()&&t+1===e?(i.removeLayer(o),o._recursivelyAddChildrenToMap(null,e,r)):(o.clusterHide(),o._recursivelyAddChildrenToMap(a,e,r)),n=u.length-1;n>=0;n--)s=u[n],r.contains(s._latlng)||i.removeLayer(s)})),this._forceLayout(),this._topClusterLevel._recursivelyBecomeVisible(r,e),i.eachLayer((function(t){t instanceof L.MarkerCluster||!t._icon||t.clusterShow()})),this._topClusterLevel._recursively(r,t,e,(function(t){t._recursivelyRestoreChildPositions(e)})),this._ignoreMove=!1,this._enqueue((function(){this._topClusterLevel._recursively(r,t,o,(function(t){i.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 n=this,r=this._featureGroup;r.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(){r.removeLayer(t),t.clusterShow(),n._animationEnd()}))):(this._forceLayout(),n._animationStart(),n._animationZoomOutSingle(e,this._map.getMaxZoom(),this._zoom)))}},_animationZoomOutSingle:function(t,e,n){var r=this._getExpandedVisibleBounds(),i=Math.floor(this._map.getMinZoom());t._recursivelyAnimateChildrenInAndAddSelfToMap(r,i,e+1,n);var o=this;this._forceLayout(),t._recursivelyBecomeVisible(r,n),this._enqueue((function(){if(1===t._childCount){var s=t._markers[0];this._ignoreMove=!0,s.setLatLng(s.getLatLng()),this._ignoreMove=!1,s.clusterShow&&s.clusterShow()}else t._recursively(r,n,i,(function(t){t._recursivelyRemoveChildrenFromMap(r,i,e+1)}));o._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 n=L.MarkerCluster=L.Marker.extend({options:L.Icon.prototype.options,initialize:function(t,e,n,r){L.Marker.prototype.initialize.call(this,n?n._cLatLng||n.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,n&&this._addChild(n),r&&this._addChild(r)},getAllChildMarkers:function(t,e){t=t||[];for(var n=this._childClusters.length-1;n>=0;n--)this._childClusters[n].getAllChildMarkers(t,e);for(var r=this._markers.length-1;r>=0;r--)e&&this._markers[r].__dragStart||t.push(this._markers[r]);return t},getChildCount:function(){return this._childCount},zoomToBounds:function(t){for(var e,n=this._childClusters.slice(),r=this._group._map,i=r.getBoundsZoom(this._bounds),o=this._zoom+1,s=r.getZoom();n.length>0&&i>o;){o++;var a=[];for(e=0;e<n.length;e++)a=a.concat(n[e]._childClusters);n=a}i>o?this._group._map.setView(this._latlng,o):i<=s?this._group._map.setView(this._latlng,s+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,n,r,i=this._markers,o=this._childClusters,s=0,a=0,u=this._childCount;if(0!==u){for(this._resetBounds(),t=0;t<i.length;t++)n=i[t]._latlng,this._bounds.extend(n),s+=n.lat,a+=n.lng;for(t=0;t<o.length;t++)(e=o[t])._boundsNeedUpdate&&e._recalculateBounds(),this._bounds.extend(e._bounds),n=e._wLatLng,r=e._childCount,s+=n.lat*r,a+=n.lng*r;this._latlng=this._wLatLng=new L.LatLng(s/u,a/u),this._boundsNeedUpdate=!1}},_addToMap:function(t){t&&(this._backupLatlng=this._latlng,this.setLatLng(t)),this._group._featureGroup.addLayer(this)},_recursivelyAnimateChildrenIn:function(t,e,n){this._recursively(t,this._group._map.getMinZoom(),n-1,(function(t){var n,r,i=t._markers;for(n=i.length-1;n>=0;n--)(r=i[n])._icon&&(r._setPos(e),r.clusterHide())}),(function(t){var n,r,i=t._childClusters;for(n=i.length-1;n>=0;n--)(r=i[n])._icon&&(r._setPos(e),r.clusterHide())}))},_recursivelyAnimateChildrenInAndAddSelfToMap:function(t,e,n,r){this._recursively(t,r,e,(function(i){i._recursivelyAnimateChildrenIn(t,i._group._map.latLngToLayerPoint(i.getLatLng()).round(),n),i._isSingleParent()&&n-1===r?(i.clusterShow(),i._recursivelyRemoveChildrenFromMap(t,e,n)):i.clusterHide(),i._addToMap()}))},_recursivelyBecomeVisible:function(t,e){this._recursively(t,this._group._map.getMinZoom(),e,null,(function(t){t.clusterShow()}))},_recursivelyAddChildrenToMap:function(t,e,n){this._recursively(n,this._group._map.getMinZoom()-1,e,(function(r){if(e!==r._zoom)for(var i=r._markers.length-1;i>=0;i--){var o=r._markers[i];n.contains(o._latlng)&&(t&&(o._backupLatlng=o.getLatLng(),o.setLatLng(t),o.clusterHide&&o.clusterHide()),r._group._featureGroup.addLayer(o))}}),(function(e){e._addToMap(t)}))},_recursivelyRestoreChildPositions:function(t){for(var e=this._markers.length-1;e>=0;e--){var n=this._markers[e];n._backupLatlng&&(n.setLatLng(n._backupLatlng),delete n._backupLatlng)}if(t-1===this._zoom)for(var r=this._childClusters.length-1;r>=0;r--)this._childClusters[r]._restorePosition();else for(var i=this._childClusters.length-1;i>=0;i--)this._childClusters[i]._recursivelyRestoreChildPositions(t)},_restorePosition:function(){this._backupLatlng&&(this.setLatLng(this._backupLatlng),delete this._backupLatlng)},_recursivelyRemoveChildrenFromMap:function(t,e,n,r){var i,o;this._recursively(t,e-1,n-1,(function(t){for(o=t._markers.length-1;o>=0;o--)i=t._markers[o],r&&r.contains(i._latlng)||(t._group._featureGroup.removeLayer(i),i.clusterShow&&i.clusterShow())}),(function(t){for(o=t._childClusters.length-1;o>=0;o--)i=t._childClusters[o],r&&r.contains(i._latlng)||(t._group._featureGroup.removeLayer(i),i.clusterShow&&i.clusterShow())}))},_recursively:function(t,e,n,r,i){var o,s,a=this._childClusters,u=this._zoom;if(e<=u&&(r&&r(this),i&&u===n&&i(this)),u<e||u<n)for(o=a.length-1;o>=0;o--)(s=a[o])._boundsNeedUpdate&&s._recalculateBounds(),t.intersects(s._bounds)&&s._recursively(t,e,n,r,i)},_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 n=this._getCoord(e.x),r=this._getCoord(e.y),i=this._grid,o=i[r]=i[r]||{},s=o[n]=o[n]||[],a=L.Util.stamp(t);this._objectPoint[a]=e,s.push(t)},updateObject:function(t,e){this.removeObject(t),this.addObject(t,e)},removeObject:function(t,e){var n,r,i=this._getCoord(e.x),o=this._getCoord(e.y),s=this._grid,a=s[o]=s[o]||{},u=a[i]=a[i]||[];for(delete this._objectPoint[L.Util.stamp(t)],n=0,r=u.length;n<r;n++)if(u[n]===t)return u.splice(n,1),1===r&&delete a[i],!0},eachObject:function(t,e){var n,r,i,o,s,a,u=this._grid;for(n in u)for(r in s=u[n])for(i=0,o=(a=s[r]).length;i<o;i++)t.call(e,a[i])&&(i--,o--)},getNearObject:function(t){var e,n,r,i,o,s,a,u,l=this._getCoord(t.x),c=this._getCoord(t.y),h=this._objectPoint,d=this._sqCellSize,_=null;for(e=c-1;e<=c+1;e++)if(i=this._grid[e])for(n=l-1;n<=l+1;n++)if(o=i[n])for(r=0,s=o.length;r<s;r++)a=o[r],((u=this._sqDist(h[L.Util.stamp(a)],t))<d||u<=d&&null===_)&&(d=u,_=a);return _},_getCoord:function(t){var e=Math.floor(t/this._cellSize);return isFinite(e)?e:t},_sqDist:function(t,e){var n=e.x-t.x,r=e.y-t.y;return n*n+r*r}},L.QuickHull={getDistant:function(t,e){var n=e[1].lat-e[0].lat;return(e[0].lng-e[1].lng)*(t.lat-e[0].lat)+n*(t.lng-e[0].lng)},findMostDistantPointFromBaseLine:function(t,e){var n,r,i,o=0,s=null,a=[];for(n=e.length-1;n>=0;n--)r=e[n],(i=this.getDistant(r,t))>0&&(a.push(r),i>o&&(o=i,s=r));return{maxPoint:s,newPoints:a}},buildConvexHull:function(t,e){var n=[],r=this.findMostDistantPointFromBaseLine(t,e);return r.maxPoint?n=(n=n.concat(this.buildConvexHull([t[0],r.maxPoint],r.newPoints))).concat(this.buildConvexHull([r.maxPoint,t[1]],r.newPoints)):[t[0]]},getConvexHull:function(t){var e,n=!1,r=!1,i=!1,o=!1,s=null,a=null,u=null,l=null,c=null,h=null;for(e=t.length-1;e>=0;e--){var d=t[e];(!1===n||d.lat>n)&&(s=d,n=d.lat),(!1===r||d.lat<r)&&(a=d,r=d.lat),(!1===i||d.lng>i)&&(u=d,i=d.lng),(!1===o||d.lng<o)&&(l=d,o=d.lng)}return r!==n?(h=a,c=s):(h=l,c=u),[].concat(this.buildConvexHull([h,c],t),this.buildConvexHull([c,h],t))}},L.MarkerCluster.include({getConvexHull:function(){var t,e,n=this.getAllChildMarkers(),r=[];for(e=n.length-1;e>=0;e--)t=n[e].getLatLng(),r.push(t);return L.QuickHull.getConvexHull(r)}}),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),n=this._group._map.latLngToLayerPoint(this._latlng);this._group._unspiderfy(),this._group._spiderfied=this,this._group.options.spiderfyShapePositions?t=this._group.options.spiderfyShapePositions(e.length,n):e.length>=this._circleSpiralSwitchover?t=this._generatePointsSpiral(e.length,n):(n.y+=10,t=this._generatePointsCircle(e.length,n)),this._animationSpiderfy(e,t)}},unspiderfy:function(t){this._group._inZoomAnimation||(this._animationUnspiderfy(t),this._group._spiderfied=null)},_generatePointsCircle:function(t,e){var n,r,i=this._group.options.spiderfyDistanceMultiplier*this._circleFootSeparation*(2+t)/this._2PI,o=this._2PI/t,s=[];for(i=Math.max(i,35),s.length=t,n=0;n<t;n++)r=this._circleStartAngle+n*o,s[n]=new L.Point(e.x+i*Math.cos(r),e.y+i*Math.sin(r))._round();return s},_generatePointsSpiral:function(t,e){var n,r=this._group.options.spiderfyDistanceMultiplier,i=r*this._spiralLengthStart,o=r*this._spiralFootSeparation,s=r*this._spiralLengthFactor*this._2PI,a=0,u=[];for(u.length=t,n=t;n>=0;n--)n<t&&(u[n]=new L.Point(e.x+i*Math.cos(a),e.y+i*Math.sin(a))._round()),i+=s/(a+=o/i+5e-4*n);return u},_noanimationUnspiderfy:function(){var t,e,n=this._group,r=n._map,i=n._featureGroup,o=this.getAllChildMarkers(null,!0);for(n._ignoreMove=!0,this.setOpacity(1),e=o.length-1;e>=0;e--)t=o[e],i.removeLayer(t),t._preSpiderfyLatlng&&(t.setLatLng(t._preSpiderfyLatlng),delete t._preSpiderfyLatlng),t.setZIndexOffset&&t.setZIndexOffset(0),t._spiderLeg&&(r.removeLayer(t._spiderLeg),delete t._spiderLeg);n.fire("unspiderfied",{cluster:this,markers:o}),n._ignoreMove=!1,n._spiderfied=null}}),L.MarkerClusterNonAnimated=L.MarkerCluster.extend({_animationSpiderfy:function(t,e){var n,r,i,o,s=this._group,a=s._map,u=s._featureGroup,l=this._group.options.spiderLegPolylineOptions;for(s._ignoreMove=!0,n=0;n<t.length;n++)o=a.layerPointToLatLng(e[n]),r=t[n],i=new L.Polyline([this._latlng,o],l),a.addLayer(i),r._spiderLeg=i,r._preSpiderfyLatlng=r._latlng,r.setLatLng(o),r.setZIndexOffset&&r.setZIndexOffset(1e6),u.addLayer(r);this.setOpacity(.3),s._ignoreMove=!1,s.fire("spiderfied",{cluster:this,markers:t})},_animationUnspiderfy:function(){this._noanimationUnspiderfy()}}),L.MarkerCluster.include({_animationSpiderfy:function(t,e){var n,r,i,o,s,a,u=this,l=this._group,c=l._map,h=l._featureGroup,d=this._latlng,_=c.latLngToLayerPoint(d),f=L.Path.SVG,p=L.extend({},this._group.options.spiderLegPolylineOptions),m=p.opacity;for(void 0===m&&(m=L.MarkerClusterGroup.prototype.options.spiderLegPolylineOptions.opacity),f?(p.opacity=0,p.className=(p.className||"")+" leaflet-cluster-spider-leg"):p.opacity=m,l._ignoreMove=!0,n=0;n<t.length;n++)r=t[n],a=c.layerPointToLatLng(e[n]),i=new L.Polyline([d,a],p),c.addLayer(i),r._spiderLeg=i,f&&(s=(o=i._path).getTotalLength()+.1,o.style.strokeDasharray=s,o.style.strokeDashoffset=s),r.setZIndexOffset&&r.setZIndexOffset(1e6),r.clusterHide&&r.clusterHide(),h.addLayer(r),r._setPos&&r._setPos(_);for(l._forceLayout(),l._animationStart(),n=t.length-1;n>=0;n--)a=c.layerPointToLatLng(e[n]),(r=t[n])._preSpiderfyLatlng=r._latlng,r.setLatLng(a),r.clusterShow&&r.clusterShow(),f&&((o=(i=r._spiderLeg)._path).style.strokeDashoffset=0,i.setStyle({opacity:m}));this.setOpacity(.3),l._ignoreMove=!1,setTimeout((function(){l._animationEnd(),l.fire("spiderfied",{cluster:u,markers:t})}),200)},_animationUnspiderfy:function(t){var e,n,r,i,o,s,a=this,u=this._group,l=u._map,c=u._featureGroup,h=t?l._latLngToNewLayerPoint(this._latlng,t.zoom,t.center):l.latLngToLayerPoint(this._latlng),d=this.getAllChildMarkers(null,!0),_=L.Path.SVG;for(u._ignoreMove=!0,u._animationStart(),this.setOpacity(1),n=d.length-1;n>=0;n--)(e=d[n])._preSpiderfyLatlng&&(e.closePopup(),e.setLatLng(e._preSpiderfyLatlng),delete e._preSpiderfyLatlng,s=!0,e._setPos&&(e._setPos(h),s=!1),e.clusterHide&&(e.clusterHide(),s=!1),s&&c.removeLayer(e),_&&(o=(i=(r=e._spiderLeg)._path).getTotalLength()+.1,i.style.strokeDashoffset=o,r.setStyle({opacity:0}
1)));u._ignoreMove=!1,setTimeout((function(){var t=0;for(n=d.length-1;n>=0;n--)(e=d[n])._spiderLeg&&t++;for(n=d.length-1;n>=0;n--)(e=d[n])._spiderLeg&&(e.clusterShow&&e.clusterShow(),e.setZIndexOffset&&e.setZIndexOffset(0),t>1&&c.removeLayer(e),l.removeLayer(e._spiderLeg),delete e._spiderLeg);u._animationEnd(),u.fire("unspiderfied",{cluster:a,markers:d})}),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,n;for(e in t)for(n=t[e].__parent;n;)n._iconNeedsUpdate=!0,n=n.__parent},_refreshSingleMarkerModeMarkers:function(t){var e,n;for(e in t)n=t[e],this.hasLayer(n)&&n.setIcon(this._overrideMarkerIcon(n))}}),L.Marker.include({refreshIconOptions:function(t,e){var n=this.options.icon;return L.setOptions(n,t),this.setIcon(n),e&&this.__parent&&this.__parent._group.refreshClusters(this),this}}),t.MarkerClusterGroup=e,t.MarkerCluster=n,Object.defineProperty(t,"__esModule",{value:!0})}(e)},35536:function(t,e){"use strict";e.Z={src:"/_next/static/media/marker-icon.d577052a.png",height:41,width:25,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAICAYAAAAx8TU7AAAAoUlEQVR42mNwK5vB4zr5+EL9iadfAulFbhVzeBkc+45u8Jtx/n/Dmiv//YE0kL+JgbPl2N/2tZf//f///2/X+iv/GFuO/mUwaD54ybv/zP/pmy//9p1w5r9+88GLDFa1GxLUGk/8Zyg9+Uut4cR/q5oNcQwgYFCz97hu3Zn/IJoBBvRL17lrVB78r1+61g0uqJvcyKJfvLxJN6mKhYGBgQEAd2dNMQ5zpzwAAAAASUVORK5CYII=",blurWidth:5,blurHeight:8}},70627:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return S}});var r=n(82670),i=n(26042),o=n(69396),s=n(97997),a=n(11720),u=n(51759),l=n(1410);function c(){return(0,l.mE)().map}var h=n(26467),d=n(5715),_=n(28208),f=n(45243),p=n.n(f),m=n(20577),g=n(32604),y=n(50366),v=n(10084),L=n(53760),C=n.n(L),M=function(t){var e=t.point,n=t.setCollectionPoint,r=t.isSelected,i=(0,u.Z)("common").t,o=(0,a.useCallback)((function(){return n(e)}),[e,n]),l=(0,a.useMemo)((function(){var t=e.apartmentNumber,n=e.buildingNumber,r=e.city,i=e.street;return{postalCode:e.postCode,city:r,streetName:i,buildingNumber:n,apartmentNumber:t}}),[e]);return(0,s.BX)(s.HY,{children:[(0,s.BX)("div",{className:C().mapPopupData,children:[(0,s.tZ)("strong",{children:e.name}),(0,s.tZ)("div",{className:C().desc,children:(0,s.tZ)(y.Z,{address:l})})]}),(0,s.tZ)(v.Z,{variant:"secondary",onClick:o,className:C().popupBtn,disabled:r,children:i(r?"selected":"select-this-point")})]})},b=n(72594),k=function(t){var e=t.point,n=t.setCollectionPoint,r=t.isSelected,i=(0,a.useState)(!1),o=i[0],u=i[1],l=(0,a.useRef)(null),c=(0,a.useCallback)((function(){u((function(t){return!t}))}),[]),h=(0,b.Z)(e),d=(0,a.useCallback)((function(){u(!1)}),[]);return(0,s.tZ)(m.J,{position:[e.latitude,e.longitude],icon:h,ref:l,eventHandlers:{click:c,popupclose:d},children:(0,s.tZ)(g.G,{className:C().mapPopup,children:o?(0,s.tZ)(M,{point:e,setCollectionPoint:n,isSelected:r}):(0,s.tZ)("div",{})})})},O=(n(65729),function(t){var e=t.collectionPoints,n=t.selectCollectionPoint,r=t.selectedCollectionPointId,l=(0,u.Z)("common").t,d=(0,a.useState)(void 0),p=d[0],m=d[1],g=(0,a.useState)(void 0),y=g[0],v=g[1],L=e.length>1e3?12:5,M=c();(0,a.useEffect)((function(){if(void 0!==M){var t=M.getBounds(),e=b(t);m(e),M.invalidateSize()}}),[M]),function(t){const e=c();(0,a.useEffect)((function(){return e.on(t),function(){e.off(t)}}),[e,t])}({zoom:function(t){return O(t)},dragend:function(t){return O(t)}});var b=function(t){return e.map((function(t){return(0,o.Z)((0,i.Z)({},t),{latlang:new f.LatLng(t.latitude,t.longitude)})})).filter((function(e){return null===t||void 0===t?void 0:t.contains(e.latlang)}))},O=function(t){if(t.target.getZoom()>=L){var e=null===M||void 0===M?void 0:M.getBounds();if(void 0!==e){var n=b(e);m(n),v(void 0)}}else m(void 0),v(l("scroll-in-to-show-points"))};return(0,s.BX)("div",{children:[y?(0,s.tZ)("span",{className:C().mapStatus,children:y}):null,(0,s.tZ)(h.I,{attribution:'\xa9 <a href="http://osm.org/copyright">OpenStreetMap</a> contributors',url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}),(0,s.tZ)(_.Z,{chunkedLoading:!0,children:null===p||void 0===p?void 0:p.map((function(t){return(0,s.tZ)(k,{point:t,setCollectionPoint:n,isSelected:r===t.id},t.id)}))})]})}),S=function(t){var e=t.coords,n=t.collectionPoints,i=t.selectCollectionPoint,o=t.selectedCollectionPointId,u=(0,a.useState)(null),l=u[0],c=u[1],h=(0,a.useMemo)((function(){var t=n.map((function(t){return[t.latitude,t.longitude]}));return p().latLngBounds(t)}),[n]),_=(0,a.useMemo)((function(){return e?[e.latitude,e.longitude]:h.getCenter()}),[e,h]);return(0,a.useEffect)((function(){if(l){var t=n.find((function(t){return t.id===o}));if(t){var e=t.latitude,i=t.longitude;l.flyTo([e,i],l.getMaxZoom(),{animate:!1}),l.eachLayer((function(t){if((0,r.Z)(t,p().Marker)){var n,o=t.getLatLng(),s=o.lat,a=o.lng;if(s===e&&a===i)null===(n=t.getElement())||void 0===n||n.click()}}))}}}),[l,o,h,e]),(0,a.useEffect)((function(){!l||e||o||l.fitBounds(h)}),[l,h,e,o]),(0,s.tZ)("div",{className:C().mapWrapper,children:(0,s.tZ)(d.h,{center:_,zoom:13,maxZoom:18,scrollWheelZoom:!1,style:{height:"100%"},ref:c,tap:!1,children:(0,s.tZ)(O,{collectionPoints:n,selectCollectionPoint:i,selectedCollectionPointId:o})})})}},65729:function(){},66389:function(t,e,n){"use strict";n.d(e,{d:function(){return i}});var r=n(11720);function i(t,e){const n=(0,r.useRef)(e);(0,r.useEffect)((function(){e!==n.current&&null!=t.attributionControl&&(null!=n.current&&t.attributionControl.removeAttribution(n.current),null!=e&&t.attributionControl.addAttribution(e)),n.current=e}),[t,e])}},2467:function(t,e,n){"use strict";n.d(e,{G5:function(){return a},LE:function(){return s},RA:function(){return o}});var r=n(11720),i=n(1410);function o(t){function e(e,n){const{instance:o,context:s}=t(e).current;return(0,r.useImperativeHandle)(n,(()=>o)),null==e.children?null:r.default.createElement(i.UO,{value:s},e.children)}return(0,r.forwardRef)(e)}function s(t){function e(e,n){const[i,o]=(0,r.useState)(!1),{instance:s}=t(e,o).current;(0,r.useImperativeHandle)(n,(()=>s)),(0,r.useEffect)((function(){i&&s.update()}),[s,i,e.children]);const a=s._contentNode;return a?(0,r.createPortal)(e.children,a):null}return(0,r.forwardRef)(e)}function a(t){function e(e,n){const{instance:i}=t(e).current;return(0,r.useImperativeHandle)(n,(()=>i)),null}return(0,r.forwardRef)(e)}},1410:function(t,e,n){"use strict";n.d(e,{Hb:function(){return o},U1:function(){return a},UO:function(){return u},cV:function(){return i},mE:function(){return l},sj:function(){return s}});var r=n(11720);const i=1;function o(t){return Object.freeze({__version:i,map:t})}function s(t,e){return Object.freeze({...t,...e})}const a=(0,r.createContext)(null),u=a.Provider;function l(){const t=(0,r.useContext)(a);if(null==t)throw new Error("No context provided: useLeafletContext() can only be used in a descendant of <MapContainer>");return t}},77418:function(t,e,n){"use strict";n.d(e,{y:function(){return o}});var r=n(11720),i=n(1410);function o(t){return function(e){const n=(0,i.mE)(),o=t(e,n),{instance:s}=o.current,a=(0,r.useRef)(e.position),{position:u}=e;return(0,r.useEffect)((function(){return s.addTo(n.map),function(){s.remove()}}),[n.map,s]),(0,r.useEffect)((function(){null!=u&&u!==a.current&&(s.setPosition(u),a.current=u)}),[s,u]),o}}},93461:function(t,e,n){"use strict";n.d(e,{W:function(){return a}});var r=n(66389),i=n(1410),o=n(60620),s=n(81802);function a(t,e){return function(n,a){const u=(0,i.mE)(),l=t((0,s.q)(n,u),u);return(0,r.d)(u.map,n.attribution),(0,o.t)(l.current,n.eventHandlers),e(l.current,u,n,a),l}}},27999:function(t,e,n){"use strict";n.d(e,{I:function(){return o},O:function(){return i}});var r=n(11720);function i(t,e,n){return Object.freeze({instance:t,context:e,container:n})}function o(t,e){return null==e?function(e,n){const i=(0,r.useRef)();return i.current||(i.current=t(e,n)),i}:function(n,i){const o=(0,r.useRef)();o.current||(o.current=t(n,i));const s=(0,r.useRef)(n),{instance:a}=o.current;return(0,r.useEffect)((function(){s.current!==n&&(e(a,n,s.current),s.current=n)}),[a,n,i]),o}}},60620:function(t,e,n){"use strict";n.d(e,{t:function(){return i}});var r=n(11720);function i(t,e){const n=(0,r.useRef)();(0,r.useEffect)((function(){return null!=e&&t.instance.on(e),n.current=e,function(){null!=n.current&&t.instance.off(n.current),n.current=null}}),[t,e])}},74579:function(t,e,n){"use strict";n.d(e,{Au:function(){return d},Lf:function(){return _},SO:function(){return h},dW:function(){return c},vm:function(){return l}});var r=n(2467),i=n(77418),o=n(27999),s=n(83655),a=n(93461),u=n(78840);function l(t){const e=(0,o.I)((function(e,n){return(0,o.O)(t(e),n)})),n=(0,i.y)(e);return(0,r.G5)(n)}function c(t,e){const n=(0,o.I)(t,e),i=(0,s.u)(n);return(0,r.RA)(i)}function h(t,e){const n=(0,o.I)(t),i=(0,a.W)(n,e);return(0,r.LE)(i)}function d(t,e){const n=(0,o.I)(t,e),i=(0,u.n)(n);return(0,r.RA)(i)}function _(t,e){const n=(0,o.I)(t,e),i=(0,s.u)(n);return(0,r.G5)(i)}},71469:function(t,e,n){"use strict";function r(t,e,n){const{opacity:r,zIndex:i}=e;null!=r&&r!==n.opacity&&t.setOpacity(r),null!=i&&i!==n.zIndex&&t.setZIndex(i)}n.d(e,{I:function(){return r}})},80234:function(t,e,n){"use strict";n.r(e),n.d(e,{CONTEXT_VERSION:function(){return s.cV},LeafletContext:function(){return s.U1},LeafletProvider:function(){return s.UO},addClassName:function(){return h},createContainerComponent:function(){return o.RA},createControlComponent:function(){return m.vm},createControlHook:function(){return a.y},createDivOverlayComponent:function(){return o.LE},createDivOverlayHook:function(){return u.W},createElementHook:function(){return f.I},createElementObject:function(){return f.O},createLayerComponent:function(){return m.dW},createLayerHook:function(){return y.u},createLeafComponent:function(){return o.G5},createLeafletContext:function(){return s.Hb},createOverlayComponent:function(){return m.SO},createPathComponent:function(){return m.Au},createPathHook:function(){return C.n},createTileLayerComponent:function(){return m.Lf},extendContext:function(){return s.sj},removeClassName:function(){return d},updateCircle:function(){return i},updateClassName:function(){return _},updateGridLayer:function(){return g.I},updateMediaOverlay:function(){return v},useAttribution:function(){return r.d},useEventHandlers:function(){return p.t},useLayerLifecycle:function(){return y.g},useLeafletContext:function(){return s.mE},usePathOptions:function(){return C._},withPane:function(){return L.q}});var r=n(66389);function i(t,e,n){e.center!==n.center&&t.setLatLng(e.center),null!=e.radius&&e.radius!==n.radius&&t.setRadius(e.radius)}var o=n(2467),s=n(1410),a=n(77418),u=n(93461),l=n(45243);
1function c(t){return t.split(" ").filter(Boolean)}function h(t,e){c(e).forEach((e=>{l.DomUtil.addClass(t,e)}))}function d(t,e){c(e).forEach((e=>{l.DomUtil.removeClass(t,e)}))}function _(t,e,n){null!=t&&n!==e&&(null!=e&&e.length>0&&d(t,e),null!=n&&n.length>0&&h(t,n))}var f=n(27999),p=n(60620),m=n(74579),g=n(71469),y=n(83655);function v(t,e,n){e.bounds instanceof l.LatLngBounds&&e.bounds!==n.bounds&&t.setBounds(e.bounds),null!=e.opacity&&e.opacity!==n.opacity&&t.setOpacity(e.opacity),null!=e.zIndex&&e.zIndex!==n.zIndex&&t.setZIndex(e.zIndex)}var L=n(81802),C=n(78840)},83655:function(t,e,n){"use strict";n.d(e,{g:function(){return u},u:function(){return l}});var r=n(11720),i=n(66389),o=n(1410),s=n(60620),a=n(81802);function u(t,e){(0,r.useEffect)((function(){return(e.layerContainer??e.map).addLayer(t.instance),function(){e.layerContainer?.removeLayer(t.instance),e.map.removeLayer(t.instance)}}),[e,t])}function l(t){return function(e){const n=(0,o.mE)(),r=t((0,a.q)(e,n),n);return(0,i.d)(n.map,e.attribution),(0,s.t)(r.current,e.eventHandlers),u(r.current,n),r}}},81802:function(t,e,n){"use strict";function r(t,e){const n=t.pane??e.pane;return n?{...t,pane:n}:t}n.d(e,{q:function(){return r}})},78840:function(t,e,n){"use strict";n.d(e,{_:function(){return u},n:function(){return l}});var r=n(11720),i=n(1410),o=n(60620),s=n(83655),a=n(81802);function u(t,e){const n=(0,r.useRef)();(0,r.useEffect)((function(){if(e.pathOptions!==n.current){const r=e.pathOptions??{};t.instance.setStyle(r),n.current=r}}),[t,e])}function l(t){return function(e){const n=(0,i.mE)(),r=t((0,a.q)(e,n),n);return(0,o.t)(r.current,e.eventHandlers),(0,s.g)(r.current,n),u(r.current,e),r}}},5715:function(t,e,n){"use strict";n.d(e,{h:function(){return u}});var r=n(1410),i=n(45243),o=n(11720);function s(){return s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},s.apply(this,arguments)}function a({bounds:t,boundsOptions:e,center:n,children:a,className:u,id:l,placeholder:c,style:h,whenReady:d,zoom:_,...f},p){const[m]=(0,o.useState)({className:u,id:l,style:h}),[g,y]=(0,o.useState)(null);(0,o.useImperativeHandle)(p,(()=>g?.map??null),[g]);const v=(0,o.useCallback)((o=>{if(null!==o&&null===g){const s=new i.Map(o,f);null!=n&&null!=_?s.setView(n,_):null!=t&&s.fitBounds(t,e),null!=d&&s.whenReady(d),y((0,r.Hb)(s))}}),[]);(0,o.useEffect)((()=>()=>{g?.map.remove()}),[g]);const L=g?o.default.createElement(r.UO,{value:g},a):c??null;return o.default.createElement("div",s({},m,{ref:v}),L)}const u=(0,o.forwardRef)(a)},20577:function(t,e,n){"use strict";n.d(e,{J:function(){return a}});var r=n(74579),i=n(27999),o=n(1410),s=n(45243);const a=(0,r.dW)((function({position:t,...e},n){const r=new s.Marker(t,e);return(0,i.O)(r,(0,o.sj)(n,{overlayContainer:r}))}),(function(t,e,n){e.position!==n.position&&t.setLatLng(e.position),null!=e.icon&&e.icon!==n.icon&&t.setIcon(e.icon),null!=e.zIndexOffset&&e.zIndexOffset!==n.zIndexOffset&&t.setZIndexOffset(e.zIndexOffset),null!=e.opacity&&e.opacity!==n.opacity&&t.setOpacity(e.opacity),null!=t.dragging&&e.draggable!==n.draggable&&(!0===e.draggable?t.dragging.enable():t.dragging.disable())}))},32604:function(t,e,n){"use strict";n.d(e,{G:function(){return a}});var r=n(74579),i=n(27999),o=n(45243),s=n(11720);const a=(0,r.SO)((function(t,e){const n=new o.Popup(t,e.overlayContainer);return(0,i.O)(n,e)}),(function(t,e,{position:n},r){(0,s.useEffect)((function(){const{instance:i}=t;function o(t){t.popup===i&&(i.update(),r(!0))}function s(t){t.popup===i&&r(!1)}return e.map.on({popupopen:o,popupclose:s}),null==e.overlayContainer?(null!=n&&i.setLatLng(n),i.openOn(e.map)):e.overlayContainer.bindPopup(i),function(){e.map.off({popupopen:o,popupclose:s}),e.overlayContainer?.unbindPopup(),e.map.removeLayer(i)}}),[t,e,r,n])}))},26467:function(t,e,n){"use strict";n.d(e,{I:function(){return u}});var r=n(74579),i=n(81802),o=n(27999),s=n(71469),a=n(45243);const u=(0,r.Lf)((function({url:t,...e},n){const r=new a.TileLayer(t,(0,i.q)(e,n));return(0,o.O)(r,n)}),s.I)}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.