UNPKG

@dhis2/gis-api

Version:

Maps API for DHIS2 based on Leaflet

1 lines 1.2 MB
module.exports=function(modules){function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module=installedModules[moduleId]={i:moduleId,l:!1,exports:{}};return modules[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.l=!0,module.exports}var installedModules={};return __webpack_require__.m=modules,__webpack_require__.c=installedModules,__webpack_require__.d=function(exports,name,getter){__webpack_require__.o(exports,name)||Object.defineProperty(exports,name,{configurable:!1,enumerable:!0,get:getter})},__webpack_require__.n=function(module){var getter=module&&module.__esModule?function(){return module.default}:function(){return module};return __webpack_require__.d(getter,"a",getter),getter},__webpack_require__.o=function(object,property){return Object.prototype.hasOwnProperty.call(object,property)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=104)}([function(module,exports,__webpack_require__){(function(global){module.exports=global.L=__webpack_require__(107)}).call(exports,__webpack_require__(106))},function(module,__webpack_exports__,__webpack_require__){"use strict";function acos(x){return x>1?0:x<-1?pi:Math.acos(x)}function asin(x){return x>1?halfPi:x<-1?-halfPi:Math.asin(x)}function haversin(x){return(x=sin(x/2))*x}__webpack_require__.d(__webpack_exports__,"i",function(){return epsilon}),__webpack_require__.d(__webpack_exports__,"j",function(){return epsilon2}),__webpack_require__.d(__webpack_exports__,"o",function(){return pi}),__webpack_require__.d(__webpack_exports__,"l",function(){return halfPi}),__webpack_require__.d(__webpack_exports__,"q",function(){return quarterPi}),__webpack_require__.d(__webpack_exports__,"w",function(){return tau}),__webpack_require__.d(__webpack_exports__,"h",function(){return degrees}),__webpack_require__.d(__webpack_exports__,"r",function(){return radians}),__webpack_require__.d(__webpack_exports__,"a",function(){return abs}),__webpack_require__.d(__webpack_exports__,"d",function(){return atan}),__webpack_require__.d(__webpack_exports__,"e",function(){return atan2}),__webpack_require__.d(__webpack_exports__,"g",function(){return cos}),__webpack_require__.d(__webpack_exports__,"f",function(){return ceil}),__webpack_require__.d(__webpack_exports__,"k",function(){return exp}),__webpack_require__.d(__webpack_exports__,"n",function(){return log}),__webpack_require__.d(__webpack_exports__,"p",function(){return pow}),__webpack_require__.d(__webpack_exports__,"t",function(){return sin}),__webpack_require__.d(__webpack_exports__,"s",function(){return sign}),__webpack_require__.d(__webpack_exports__,"u",function(){return sqrt}),__webpack_require__.d(__webpack_exports__,"v",function(){return tan}),__webpack_exports__.b=acos,__webpack_exports__.c=asin,__webpack_exports__.m=haversin;var epsilon=1e-6,epsilon2=1e-12,pi=Math.PI,halfPi=pi/2,quarterPi=pi/4,tau=2*pi,degrees=180/pi,radians=pi/180,abs=Math.abs,atan=Math.atan,atan2=Math.atan2,cos=Math.cos,ceil=Math.ceil,exp=Math.exp,log=(Math.floor,Math.log),pow=Math.pow,sin=Math.sin,sign=Math.sign||function(x){return x>0?1:x<0?-1:0},sqrt=Math.sqrt,tan=Math.tan},function(module,__webpack_exports__,__webpack_require__){"use strict";function newInterval(floori,offseti,count,field){function interval(date){return floori(date=new Date(+date)),date}return interval.floor=interval,interval.ceil=function(date){return floori(date=new Date(date-1)),offseti(date,1),floori(date),date},interval.round=function(date){var d0=interval(date),d1=interval.ceil(date);return date-d0<d1-date?d0:d1},interval.offset=function(date,step){return offseti(date=new Date(+date),null==step?1:Math.floor(step)),date},interval.range=function(start,stop,step){var previous,range=[];if(start=interval.ceil(start),step=null==step?1:Math.floor(step),!(start<stop&&step>0))return range;do{range.push(previous=new Date(+start)),offseti(start,step),floori(start)}while(previous<start&&start<stop);return range},interval.filter=function(test){return newInterval(function(date){if(date>=date)for(;floori(date),!test(date);)date.setTime(date-1)},function(date,step){if(date>=date)if(step<0)for(;++step<=0;)for(;offseti(date,-1),!test(date););else for(;--step>=0;)for(;offseti(date,1),!test(date););})},count&&(interval.count=function(start,end){return t0.setTime(+start),t1.setTime(+end),floori(t0),floori(t1),Math.floor(count(t0,t1))},interval.every=function(step){return step=Math.floor(step),isFinite(step)&&step>0?step>1?interval.filter(field?function(d){return field(d)%step==0}:function(d){return interval.count(0,d)%step==0}):interval:null}),interval}__webpack_exports__.a=newInterval;var t0=new Date,t1=new Date},function(module,__webpack_exports__,__webpack_require__){"use strict";function initRange(domain,range){switch(arguments.length){case 0:break;case 1:this.range(domain);break;default:this.range(range).domain(domain)}return this}function initInterpolator(domain,interpolator){switch(arguments.length){case 0:break;case 1:this.interpolator(domain);break;default:this.interpolator(interpolator).domain(domain)}return this}__webpack_exports__.b=initRange,__webpack_exports__.a=initInterpolator},function(module,__webpack_exports__,__webpack_require__){"use strict";var __WEBPACK_IMPORTED_MODULE_0__bisect__=__webpack_require__(59);__webpack_require__.d(__webpack_exports__,"b",function(){return __WEBPACK_IMPORTED_MODULE_0__bisect__.a});var __WEBPACK_IMPORTED_MODULE_1__ascending__=__webpack_require__(17);__webpack_require__.d(__webpack_exports__,"a",function(){return __WEBPACK_IMPORTED_MODULE_1__ascending__.a});var __WEBPACK_IMPORTED_MODULE_2__bisector__=__webpack_require__(60);__webpack_require__.d(__webpack_exports__,"c",function(){return __WEBPACK_IMPORTED_MODULE_2__bisector__.a});var __WEBPACK_IMPORTED_MODULE_14__merge__=(__webpack_require__(125),__webpack_require__(126),__webpack_require__(62),__webpack_require__(64),__webpack_require__(127),__webpack_require__(130),__webpack_require__(131),__webpack_require__(68),__webpack_require__(132),__webpack_require__(133),__webpack_require__(134),__webpack_require__(135));__webpack_require__.d(__webpack_exports__,"d",function(){return __WEBPACK_IMPORTED_MODULE_14__merge__.a});var __WEBPACK_IMPORTED_MODULE_18__quantile__=(__webpack_require__(69),__webpack_require__(61),__webpack_require__(136),__webpack_require__(34));__webpack_require__.d(__webpack_exports__,"e",function(){return __WEBPACK_IMPORTED_MODULE_18__quantile__.a});var __WEBPACK_IMPORTED_MODULE_19__range__=__webpack_require__(66);__webpack_require__.d(__webpack_exports__,"f",function(){return __WEBPACK_IMPORTED_MODULE_19__range__.a});var __WEBPACK_IMPORTED_MODULE_23__ticks__=(__webpack_require__(137),__webpack_require__(138),__webpack_require__(139),__webpack_require__(67));__webpack_require__.d(__webpack_exports__,"i",function(){return __WEBPACK_IMPORTED_MODULE_23__ticks__.a}),__webpack_require__.d(__webpack_exports__,"g",function(){return __WEBPACK_IMPORTED_MODULE_23__ticks__.b}),__webpack_require__.d(__webpack_exports__,"h",function(){return __WEBPACK_IMPORTED_MODULE_23__ticks__.c});__webpack_require__(70),__webpack_require__(63),__webpack_require__(140)},function(module,__webpack_exports__,__webpack_require__){"use strict";function escapeChar(chr){return escape[chr]}function htmlEscape(string){return null==string?"":string?(string=""+string,possible.test(string)?string.replace(badChars,escapeChar):string):string+""}function jsonp(url,params,callback,context,jsonpParam){var callbackId="_l_geocoder_"+lastCallbackId++;params[jsonpParam||"callback"]=callbackId,window[callbackId]=__WEBPACK_IMPORTED_MODULE_0_leaflet___default.a.Util.bind(callback,context);var script=document.createElement("script");script.type="text/javascript",script.src=url+getParamString(params),script.id=callbackId,document.getElementsByTagName("head")[0].appendChild(script)}function getJSON(url,params,callback){var xmlHttp=new XMLHttpRequest;xmlHttp.onreadystatechange=function(){if(4===xmlHttp.readyState)return 200!==xmlHttp.status&&304!==xmlHttp.status?void callback(""):void callback(xmlHttp.response)},xmlHttp.open("GET",url+getParamString(params),!0),xmlHttp.responseType="json",xmlHttp.setRequestHeader("Accept","application/json"),xmlHttp.send(null)}function template(str,data){return str.replace(/\{ *([\w_]+) *\}/g,function(str,key){var value=data[key];return void 0===value?value="":"function"==typeof value&&(value=value(data)),htmlEscape(value)})}function getParamString(obj,existingUrl,uppercase){var params=[];for(var i in obj){var key=encodeURIComponent(uppercase?i.toUpperCase():i),value=obj[i];if(__WEBPACK_IMPORTED_MODULE_0_leaflet___default.a.Util.isArray(value))for(var j=0;j<value.length;j++)params.push(key+"="+encodeURIComponent(value[j]));else params.push(key+"="+encodeURIComponent(value))}return(existingUrl&&-1!==existingUrl.indexOf("?")?"&":"?")+params.join("&")}__webpack_exports__.b=jsonp,__webpack_exports__.a=getJSON,__webpack_exports__.c=template;var __WEBPACK_IMPORTED_MODULE_0_leaflet__=__webpack_require__(0),__WEBPACK_IMPORTED_MODULE_0_leaflet___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_leaflet__),lastCallbackId=0,badChars=/[&<>"'`]/g,possible=/[&<>"'`]/,escape={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var getZIndex=function(index){return 200+10*index},layerMixin={createPane:function(map){var pane=this.options.pane;pane&&!map.getPane(pane)&&map.createPane(pane)},setIndex:function(index){"number"==typeof index&&(this.getPane().style.zIndex=getZIndex(index),this.options.index=index)},setVisibility:function(isVisible){if(this._map){var pane=this._map.getPane(this.options.pane);isVisible?(pane.style.display="block",this._map.addLayer(this)):pane.style.display="none"}this.options.isVisible=isVisible}};exports.default=layerMixin},function(module,__webpack_exports__,__webpack_require__){"use strict";function projection(project){return projectionMutator(function(){return project})()}function projectionMutator(projectAt){function projection(point){return point=projectRotate(point[0]*__WEBPACK_IMPORTED_MODULE_5__math__.r,point[1]*__WEBPACK_IMPORTED_MODULE_5__math__.r),[point[0]*k+dx,dy-point[1]*k]}function invert(point){return(point=projectRotate.invert((point[0]-dx)/k,(dy-point[1])/k))&&[point[0]*__WEBPACK_IMPORTED_MODULE_5__math__.h,point[1]*__WEBPACK_IMPORTED_MODULE_5__math__.h]}function projectTransform(x,y){return x=project(x,y),[x[0]*k+dx,dy-x[1]*k]}function recenter(){projectRotate=Object(__WEBPACK_IMPORTED_MODULE_3__compose__.a)(rotate=Object(__WEBPACK_IMPORTED_MODULE_6__rotation__.b)(deltaLambda,deltaPhi,deltaGamma),project);var center=project(lambda,phi);return dx=x-center[0]*k,dy=y+center[1]*k,reset()}function reset(){return cache=cacheStream=null,projection}var project,dx,dy,rotate,projectRotate,y0,x1,y1,cache,cacheStream,k=150,x=480,y=250,lambda=0,phi=0,deltaLambda=0,deltaPhi=0,deltaGamma=0,theta=null,preclip=__WEBPACK_IMPORTED_MODULE_0__clip_antimeridian__.a,x0=null,postclip=__WEBPACK_IMPORTED_MODULE_4__identity__.a,delta2=.5,projectResample=Object(__WEBPACK_IMPORTED_MODULE_9__resample__.a)(projectTransform,delta2);return projection.stream=function(stream){return cache&&cacheStream===stream?cache:cache=transformRadians(preclip(rotate,projectResample(postclip(cacheStream=stream))))},projection.clipAngle=function(_){return arguments.length?(preclip=+_?Object(__WEBPACK_IMPORTED_MODULE_1__clip_circle__.a)(theta=_*__WEBPACK_IMPORTED_MODULE_5__math__.r,6*__WEBPACK_IMPORTED_MODULE_5__math__.r):(theta=null,__WEBPACK_IMPORTED_MODULE_0__clip_antimeridian__.a),reset()):theta*__WEBPACK_IMPORTED_MODULE_5__math__.h},projection.clipExtent=function(_){return arguments.length?(postclip=null==_?(x0=y0=x1=y1=null,__WEBPACK_IMPORTED_MODULE_4__identity__.a):Object(__WEBPACK_IMPORTED_MODULE_2__clip_extent__.a)(x0=+_[0][0],y0=+_[0][1],x1=+_[1][0],y1=+_[1][1]),reset()):null==x0?null:[[x0,y0],[x1,y1]]},projection.scale=function(_){return arguments.length?(k=+_,recenter()):k},projection.translate=function(_){return arguments.length?(x=+_[0],y=+_[1],recenter()):[x,y]},projection.center=function(_){return arguments.length?(lambda=_[0]%360*__WEBPACK_IMPORTED_MODULE_5__math__.r,phi=_[1]%360*__WEBPACK_IMPORTED_MODULE_5__math__.r,recenter()):[lambda*__WEBPACK_IMPORTED_MODULE_5__math__.h,phi*__WEBPACK_IMPORTED_MODULE_5__math__.h]},projection.rotate=function(_){return arguments.length?(deltaLambda=_[0]%360*__WEBPACK_IMPORTED_MODULE_5__math__.r,deltaPhi=_[1]%360*__WEBPACK_IMPORTED_MODULE_5__math__.r,deltaGamma=_.length>2?_[2]%360*__WEBPACK_IMPORTED_MODULE_5__math__.r:0,recenter()):[deltaLambda*__WEBPACK_IMPORTED_MODULE_5__math__.h,deltaPhi*__WEBPACK_IMPORTED_MODULE_5__math__.h,deltaGamma*__WEBPACK_IMPORTED_MODULE_5__math__.h]},projection.precision=function(_){return arguments.length?(projectResample=Object(__WEBPACK_IMPORTED_MODULE_9__resample__.a)(projectTransform,delta2=_*_),reset()):Object(__WEBPACK_IMPORTED_MODULE_5__math__.u)(delta2)},projection.fitExtent=function(extent,object){return Object(__WEBPACK_IMPORTED_MODULE_8__fit__.a)(projection,extent,object)},projection.fitSize=function(size,object){return Object(__WEBPACK_IMPORTED_MODULE_8__fit__.b)(projection,size,object)},function(){return project=projectAt.apply(this,arguments),projection.invert=project.invert&&invert,recenter()}}__webpack_exports__.a=projection,__webpack_exports__.b=projectionMutator;var __WEBPACK_IMPORTED_MODULE_0__clip_antimeridian__=__webpack_require__(150),__WEBPACK_IMPORTED_MODULE_1__clip_circle__=__webpack_require__(151),__WEBPACK_IMPORTED_MODULE_2__clip_extent__=__webpack_require__(33),__WEBPACK_IMPORTED_MODULE_3__compose__=__webpack_require__(55),__WEBPACK_IMPORTED_MODULE_4__identity__=__webpack_require__(35),__WEBPACK_IMPORTED_MODULE_5__math__=__webpack_require__(1),__WEBPACK_IMPORTED_MODULE_6__rotation__=__webpack_require__(26),__WEBPACK_IMPORTED_MODULE_7__transform__=__webpack_require__(27),__WEBPACK_IMPORTED_MODULE_8__fit__=__webpack_require__(38),__WEBPACK_IMPORTED_MODULE_9__resample__=__webpack_require__(152),transformRadians=Object(__WEBPACK_IMPORTED_MODULE_7__transform__.a)({point:function(x,y){this.stream.point(x*__WEBPACK_IMPORTED_MODULE_5__math__.r,y*__WEBPACK_IMPORTED_MODULE_5__math__.r)}})},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"d",function(){return durationSecond}),__webpack_require__.d(__webpack_exports__,"c",function(){return durationMinute}),__webpack_require__.d(__webpack_exports__,"b",function(){return durationHour}),__webpack_require__.d(__webpack_exports__,"a",function(){return durationDay}),__webpack_require__.d(__webpack_exports__,"e",function(){return durationWeek});var durationSecond=1e3,durationMinute=6e4,durationHour=36e5,durationDay=864e5,durationWeek=6048e5},function(module,__webpack_exports__,__webpack_require__){"use strict";function noop(){}__webpack_exports__.a=noop},function(module,exports,__webpack_require__){"use strict";function _toConsumableArray(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}return Array.from(arr)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.coordsToLatLngs=exports.getBoundsFromLayers=exports.toLngLatBounds=exports.toLatLngBounds=exports.toLngLat=exports.toLatLng=void 0;var _leaflet=__webpack_require__(0),_leaflet2=function(obj){return obj&&obj.__esModule?obj:{default:obj}}(_leaflet),toLatLng=exports.toLatLng=function(lnglat){return[].concat(_toConsumableArray(lnglat)).reverse()},toLngLat=exports.toLngLat=function(latlng){return Array.isArray(latlng)?[].concat(_toConsumableArray(latlng)).reverse():latlng instanceof _leaflet2.default.LatLng?[latlng.lng,latlng.lat]:void 0},toLatLngBounds=exports.toLatLngBounds=function(bounds){return bounds.map(toLatLng)};exports.toLngLatBounds=function(bounds){return Array.isArray(bounds)?bounds.map(toLngLat):bounds instanceof _leaflet2.default.LatLngBounds?[toLngLat(bounds.getSouthWest()),toLngLat(bounds.getNorthEast())]:void 0},exports.getBoundsFromLayers=function(layers){var bounds=new _leaflet2.default.LatLngBounds;if(layers.forEach(function(layer){if(layer.getBounds){var layerBounds=layer.getBounds();layerBounds&&layerBounds.extend?bounds.extend(layerBounds):Array.isArray(layerBounds)&&bounds.extend(toLatLngBounds(layerBounds))}}),bounds.isValid())return bounds},exports.coordsToLatLngs=function coordsToLatLngs(coords,levelsDeep){for(var latlngs=[],i=0,len=coords.length;i<len;i++)latlngs.push(levelsDeep?coordsToLatLngs(coords[i],levelsDeep-1):[coords[i][1],coords[i][0]]);return latlngs}},function(module,__webpack_exports__,__webpack_require__){"use strict";function identity(x){return x}function normalize(a,b){return(b-=a=+a)?function(x){return(x-a)/b}:Object(__WEBPACK_IMPORTED_MODULE_3__constant__.a)(isNaN(b)?NaN:.5)}function clamper(domain){var t,a=domain[0],b=domain[domain.length-1];return a>b&&(t=a,a=b,b=t),function(x){return Math.max(a,Math.min(b,x))}}function bimap(domain,range,interpolate){var d0=domain[0],d1=domain[1],r0=range[0],r1=range[1];return d1<d0?(d0=normalize(d1,d0),r0=interpolate(r1,r0)):(d0=normalize(d0,d1),r0=interpolate(r0,r1)),function(x){return r0(d0(x))}}function polymap(domain,range,interpolate){var j=Math.min(domain.length,range.length)-1,d=new Array(j),r=new Array(j),i=-1;for(domain[j]<domain[0]&&(domain=domain.slice().reverse(),range=range.slice().reverse());++i<j;)d[i]=normalize(domain[i],domain[i+1]),r[i]=interpolate(range[i],range[i+1]);return function(x){var i=Object(__WEBPACK_IMPORTED_MODULE_0_d3_array__.b)(domain,x,1,j)-1;return r[i](d[i](x))}}function copy(source,target){return target.domain(source.domain()).range(source.range()).interpolate(source.interpolate()).clamp(source.clamp()).unknown(source.unknown())}function transformer(){function rescale(){return piecewise=Math.min(domain.length,range.length)>2?polymap:bimap,output=input=null,scale}function scale(x){return isNaN(x=+x)?unknown:(output||(output=piecewise(domain.map(transform),range,interpolate)))(transform(clamp(x)))}var transform,untransform,unknown,piecewise,output,input,domain=unit,range=unit,interpolate=__WEBPACK_IMPORTED_MODULE_1_d3_interpolate__.a,clamp=identity;return scale.invert=function(y){return clamp(untransform((input||(input=piecewise(range,domain.map(transform),__WEBPACK_IMPORTED_MODULE_1_d3_interpolate__.b)))(y)))},scale.domain=function(_){return arguments.length?(domain=__WEBPACK_IMPORTED_MODULE_2__array__.a.call(_,__WEBPACK_IMPORTED_MODULE_4__number__.a),clamp===identity||(clamp=clamper(domain)),rescale()):domain.slice()},scale.range=function(_){return arguments.length?(range=__WEBPACK_IMPORTED_MODULE_2__array__.b.call(_),rescale()):range.slice()},scale.rangeRound=function(_){return range=__WEBPACK_IMPORTED_MODULE_2__array__.b.call(_),interpolate=__WEBPACK_IMPORTED_MODULE_1_d3_interpolate__.c,rescale()},scale.clamp=function(_){return arguments.length?(clamp=_?clamper(domain):identity,scale):clamp!==identity},scale.interpolate=function(_){return arguments.length?(interpolate=_,rescale()):interpolate},scale.unknown=function(_){return arguments.length?(unknown=_,scale):unknown},function(t,u){return transform=t,untransform=u,rescale()}}function continuous(transform,untransform){return transformer()(transform,untransform)}__webpack_exports__.c=identity,__webpack_exports__.a=copy,__webpack_exports__.d=transformer,__webpack_exports__.b=continuous;var __WEBPACK_IMPORTED_MODULE_0_d3_array__=__webpack_require__(4),__WEBPACK_IMPORTED_MODULE_1_d3_interpolate__=__webpack_require__(187),__WEBPACK_IMPORTED_MODULE_2__array__=__webpack_require__(14),__WEBPACK_IMPORTED_MODULE_3__constant__=__webpack_require__(201),__WEBPACK_IMPORTED_MODULE_4__number__=__webpack_require__(90),unit=[0,1]},function(module,__webpack_exports__,__webpack_require__){"use strict";function streamGeometry(geometry,stream){geometry&&streamGeometryType.hasOwnProperty(geometry.type)&&streamGeometryType[geometry.type](geometry,stream)}function streamLine(coordinates,stream,closed){var coordinate,i=-1,n=coordinates.length-closed;for(stream.lineStart();++i<n;)coordinate=coordinates[i],stream.point(coordinate[0],coordinate[1],coordinate[2]);stream.lineEnd()}function streamPolygon(coordinates,stream){var i=-1,n=coordinates.length;for(stream.polygonStart();++i<n;)streamLine(coordinates[i],stream,1);stream.polygonEnd()}var streamObjectType={Feature:function(object,stream){streamGeometry(object.geometry,stream)},FeatureCollection:function(object,stream){for(var features=object.features,i=-1,n=features.length;++i<n;)streamGeometry(features[i].geometry,stream)}},streamGeometryType={Sphere:function(object,stream){stream.sphere()},Point:function(object,stream){object=object.coordinates,stream.point(object[0],object[1],object[2])},MultiPoint:function(object,stream){for(var coordinates=object.coordinates,i=-1,n=coordinates.length;++i<n;)object=coordinates[i],stream.point(object[0],object[1],object[2])},LineString:function(object,stream){streamLine(object.coordinates,stream,0)},MultiLineString:function(object,stream){for(var coordinates=object.coordinates,i=-1,n=coordinates.length;++i<n;)streamLine(coordinates[i],stream,0)},Polygon:function(object,stream){streamPolygon(object.coordinates,stream)},MultiPolygon:function(object,stream){for(var coordinates=object.coordinates,i=-1,n=coordinates.length;++i<n;)streamPolygon(coordinates[i],stream)},GeometryCollection:function(object,stream){for(var geometries=object.geometries,i=-1,n=geometries.length;++i<n;)streamGeometry(geometries[i],stream)}};__webpack_exports__.a=function(object,stream){object&&streamObjectType.hasOwnProperty(object.type)?streamObjectType[object.type](object,stream):streamGeometry(object,stream)}},function(module,__webpack_exports__,__webpack_require__){"use strict";Object.defineProperty(__webpack_exports__,"__esModule",{value:!0});var __WEBPACK_IMPORTED_MODULE_0__color__=__webpack_require__(40);__webpack_require__.d(__webpack_exports__,"color",function(){return __WEBPACK_IMPORTED_MODULE_0__color__.e}),__webpack_require__.d(__webpack_exports__,"rgb",function(){return __WEBPACK_IMPORTED_MODULE_0__color__.g}),__webpack_require__.d(__webpack_exports__,"hsl",function(){return __WEBPACK_IMPORTED_MODULE_0__color__.f});var __WEBPACK_IMPORTED_MODULE_1__lab__=__webpack_require__(177);__webpack_require__.d(__webpack_exports__,"lab",function(){return __WEBPACK_IMPORTED_MODULE_1__lab__.a}),__webpack_require__.d(__webpack_exports__,"hcl",function(){return __WEBPACK_IMPORTED_MODULE_1__lab__.c}),__webpack_require__.d(__webpack_exports__,"lch",function(){return __WEBPACK_IMPORTED_MODULE_1__lab__.d}),__webpack_require__.d(__webpack_exports__,"gray",function(){return __WEBPACK_IMPORTED_MODULE_1__lab__.b});var __WEBPACK_IMPORTED_MODULE_2__cubehelix__=__webpack_require__(178);__webpack_require__.d(__webpack_exports__,"cubehelix",function(){return __WEBPACK_IMPORTED_MODULE_2__cubehelix__.a})},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",function(){return map}),__webpack_require__.d(__webpack_exports__,"b",function(){return slice});var array=Array.prototype,map=array.map,slice=array.slice},function(module,__webpack_exports__,__webpack_require__){"use strict";function linearish(scale){var domain=scale.domain;return scale.ticks=function(count){var d=domain();return Object(__WEBPACK_IMPORTED_MODULE_0_d3_array__.i)(d[0],d[d.length-1],null==count?10:count)},scale.tickFormat=function(count,specifier){var d=domain();return Object(__WEBPACK_IMPORTED_MODULE_3__tickFormat__.a)(d[0],d[d.length-1],null==count?10:count,specifier)},scale.nice=function(count){null==count&&(count=10);var step,d=domain(),i0=0,i1=d.length-1,start=d[i0],stop=d[i1];return stop<start&&(step=start,start=stop,stop=step,step=i0,i0=i1,i1=step),step=Object(__WEBPACK_IMPORTED_MODULE_0_d3_array__.g)(start,stop,count),step>0?(start=Math.floor(start/step)*step,stop=Math.ceil(stop/step)*step,step=Object(__WEBPACK_IMPORTED_MODULE_0_d3_array__.g)(start,stop,count)):step<0&&(start=Math.ceil(start*step)/step,stop=Math.floor(stop*step)/step,step=Object(__WEBPACK_IMPORTED_MODULE_0_d3_array__.g)(start,stop,count)),step>0?(d[i0]=Math.floor(start/step)*step,d[i1]=Math.ceil(stop/step)*step,domain(d)):step<0&&(d[i0]=Math.ceil(start*step)/step,d[i1]=Math.floor(stop*step)/step,domain(d)),scale},scale}function linear(){var scale=Object(__WEBPACK_IMPORTED_MODULE_1__continuous__.b)(__WEBPACK_IMPORTED_MODULE_1__continuous__.c,__WEBPACK_IMPORTED_MODULE_1__continuous__.c);return scale.copy=function(){return Object(__WEBPACK_IMPORTED_MODULE_1__continuous__.a)(scale,linear())},__WEBPACK_IMPORTED_MODULE_2__init__.b.apply(scale,arguments),linearish(scale)}__webpack_exports__.b=linearish,__webpack_exports__.a=linear;var __WEBPACK_IMPORTED_MODULE_0_d3_array__=__webpack_require__(4),__WEBPACK_IMPORTED_MODULE_1__continuous__=__webpack_require__(11),__WEBPACK_IMPORTED_MODULE_2__init__=__webpack_require__(3),__WEBPACK_IMPORTED_MODULE_3__tickFormat__=__webpack_require__(91)},function(module,__webpack_exports__,__webpack_require__){"use strict";function Adder(){this.reset()}function add(adder,a,b){var x=adder.s=a+b,bv=x-a,av=x-bv;adder.t=a-av+(b-bv)}__webpack_exports__.a=function(){return new Adder},Adder.prototype={constructor:Adder,reset:function(){this.s=this.t=0},add:function(y){add(temp,y,this.t),add(this,temp.s,this.s),this.s?this.t+=temp.t:this.s=temp.t},valueOf:function(){return this.s}};var temp=new Adder},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_exports__.a=function(a,b){return a<b?-1:a>b?1:a>=b?0:NaN}},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function geoJson(options){return new GeoJson(options)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.GeoJson=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};exports.default=geoJson;var _leaflet=__webpack_require__(0),_leaflet2=_interopRequireDefault(_leaflet),_layerMixin=__webpack_require__(6),_layerMixin2=_interopRequireDefault(_layerMixin),_CircleMarker=__webpack_require__(28),_CircleMarker2=_interopRequireDefault(_CircleMarker),GeoJson=exports.GeoJson=_leaflet2.default.GeoJSON.extend(_extends({},_layerMixin2.default,{options:{style:{weight:1,color:"#fff"},highlightStyle:{weight:3},resetStyle:{weight:1}},initialize:function(options){_leaflet2.default.GeoJSON.prototype.initialize.call(this,options.data,_extends({pane:options.id,pointToLayer:this.pointToLayer.bind(this)},options))},addLayer:function(layer){var _options=this.options,label=_options.label,hoverLabel=_options.hoverLabel,properties=layer.feature.properties;if(hoverLabel||label){var tooltip=_leaflet2.default.Util.template(hoverLabel||label,properties);layer.bindTooltip(tooltip,{sticky:!0})}_leaflet2.default.GeoJSON.prototype.addLayer.call(this,layer)},pointToLayer:function(feature){return(0,_CircleMarker2.default)(feature,this.options)},setOpacity:function(opacity){this.setStyle({opacity:opacity,fillOpacity:opacity})},findById:function(id){for(var i in this._layers)if(this._layers[i].feature.id===id)return this._layers[i];return null},onAdd:function(map){var _options2=this.options,opacity=_options2.opacity,isVisible=_options2.isVisible,onClick=_options2.onClick,onRightClick=_options2.onRightClick,highlightStyle=_options2.highlightStyle;_leaflet2.default.GeoJSON.prototype.onAdd.call(this,map),this.setOpacity(opacity),this.setVisibility(isVisible),onClick&&this.on("click",this.onClick,this),onRightClick&&this.on("contextmenu",this.onRightClick,this),highlightStyle&&(this.on("mouseover",this.onMouseOver,this),this.on("mouseout",this.onMouseOut,this)),this.fire("ready")},onRemove:function(map){var _options3=this.options,onClick=_options3.onClick,onRightClick=_options3.onRightClick,highlightStyle=_options3.highlightStyle;_leaflet2.default.GeoJSON.prototype.onRemove.call(this,map),onClick&&this.off("click",this.onClick,this),onRightClick&&this.off("contextmenu",this.onRightClick,this),highlightStyle&&(this.off("mouseover",this.onMouseOver,this),this.off("mouseout",this.onMouseOut,this))},onMouseOver:function(evt){evt.layer.setStyle(this.options.highlightStyle)},onMouseOut:function(evt){evt.layer.feature.isSelected||evt.layer.setStyle(this.options.resetStyle)},onClick:function(evt){_leaflet2.default.DomEvent.stopPropagation(evt);var type=evt.type,layer=evt.layer,latlng=evt.latlng,coordinates=[latlng.lng,latlng.lat],feature=layer.feature;this.options.onClick({type:type,coordinates:coordinates,feature:feature})},onRightClick:function(evt){_leaflet2.default.DomEvent.stopPropagation(evt);var type=evt.type,layer=evt.layer,latlng=evt.latlng,originalEvent=evt.originalEvent,coordinates=[latlng.lng,latlng.lat],position=[originalEvent.x,originalEvent.pageY||originalEvent.y],feature=layer.feature;this.options.onRightClick({type:type,coordinates:coordinates,position:position,feature:feature})}}))},function(module,__webpack_exports__,__webpack_require__){"use strict";function linear(a,d){return function(t){return a+t*d}}function exponential(a,b,y){return a=Math.pow(a,y),b=Math.pow(b,y)-a,y=1/y,function(t){return Math.pow(a+t*b,y)}}function hue(a,b){var d=b-a;return d?linear(a,d>180||d<-180?d-360*Math.round(d/360):d):Object(__WEBPACK_IMPORTED_MODULE_0__constant__.a)(isNaN(a)?b:a)}function gamma(y){return 1==(y=+y)?nogamma:function(a,b){return b-a?exponential(a,b,y):Object(__WEBPACK_IMPORTED_MODULE_0__constant__.a)(isNaN(a)?b:a)}}function nogamma(a,b){var d=b-a;return d?linear(a,d):Object(__WEBPACK_IMPORTED_MODULE_0__constant__.a)(isNaN(a)?b:a)}__webpack_exports__.c=hue,__webpack_exports__.b=gamma,__webpack_exports__.a=nogamma;var __WEBPACK_IMPORTED_MODULE_0__constant__=__webpack_require__(85)},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.FeatureGroup=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_leaflet=__webpack_require__(0),_leaflet2=_interopRequireDefault(_leaflet),_layerMixin=__webpack_require__(6),_layerMixin2=_interopRequireDefault(_layerMixin),_Buffer=__webpack_require__(114),_LabelGroup=__webpack_require__(166),_geometry=__webpack_require__(10),FeatureGroup=exports.FeatureGroup=_leaflet2.default.FeatureGroup.extend(_extends({},_layerMixin2.default,{initialize:function(options){_leaflet2.default.FeatureGroup.prototype.initialize.call(this,null,_extends({},options,{pane:options.id}))},addBuffers:function(){var _options=this.options,buffer=_options.buffer,bufferStyle=_options.bufferStyle,data=_options.data,pane=_options.pane,opacity=_options.opacity,isVisible=_options.isVisible;if(buffer){var bufferLayer=new _Buffer.Buffer(_extends({pane:pane+"-buffer",buffer:buffer,isVisible:isVisible,opacity:opacity},bufferStyle&&{style:bufferStyle},{data:data}));this.addLayer(bufferLayer)}},addLabels:function(){var _options2=this.options,data=_options2.data,label=_options2.label,labelStyle=_options2.labelStyle,pane=_options2.pane;label&&this.addLayer(new _LabelGroup.LabelGroup({pane:pane+"-label",style:labelStyle,label:label,data:data}))},createPane:function(map){this.invoke("createPane",map)},setIndex:function(index){var zIndex=200+10*index;this.getLayers().forEach(function(layer,i){layer.getPane().style.zIndex=zIndex+i}),this.options.index=index},setOpacity:function(opacity){this.invoke("setOpacity",opacity)},setVisibility:function(isVisible){this.invoke("setVisibility",isVisible)},getBounds:function(){var bounds=_leaflet2.default.FeatureGroup.prototype.getBounds.call(this);if(bounds.isValid())return(0,_geometry.toLngLatBounds)(bounds)},onAdd:function(map){_leaflet2.default.FeatureGroup.prototype.onAdd.call(this,map),this.setIndex(this.options.index)}}));exports.default=FeatureGroup},function(module,__webpack_exports__,__webpack_require__){"use strict";function spherical(cartesian){return[Object(__WEBPACK_IMPORTED_MODULE_0__math__.e)(cartesian[1],cartesian[0]),Object(__WEBPACK_IMPORTED_MODULE_0__math__.c)(cartesian[2])]}function cartesian(spherical){var lambda=spherical[0],phi=spherical[1],cosPhi=Object(__WEBPACK_IMPORTED_MODULE_0__math__.g)(phi);return[cosPhi*Object(__WEBPACK_IMPORTED_MODULE_0__math__.g)(lambda),cosPhi*Object(__WEBPACK_IMPORTED_MODULE_0__math__.t)(lambda),Object(__WEBPACK_IMPORTED_MODULE_0__math__.t)(phi)]}function cartesianDot(a,b){return a[0]*b[0]+a[1]*b[1]+a[2]*b[2]}function cartesianCross(a,b){return[a[1]*b[2]-a[2]*b[1],a[2]*b[0]-a[0]*b[2],a[0]*b[1]-a[1]*b[0]]}function cartesianAddInPlace(a,b){a[0]+=b[0],a[1]+=b[1],a[2]+=b[2]}function cartesianScale(vector,k){return[vector[0]*k,vector[1]*k,vector[2]*k]}function cartesianNormalizeInPlace(d){var l=Object(__WEBPACK_IMPORTED_MODULE_0__math__.u)(d[0]*d[0]+d[1]*d[1]+d[2]*d[2]);d[0]/=l,d[1]/=l,d[2]/=l}__webpack_exports__.g=spherical,__webpack_exports__.a=cartesian,__webpack_exports__.d=cartesianDot,__webpack_exports__.c=cartesianCross,__webpack_exports__.b=cartesianAddInPlace,__webpack_exports__.f=cartesianScale,__webpack_exports__.e=cartesianNormalizeInPlace;var __WEBPACK_IMPORTED_MODULE_0__math__=__webpack_require__(1)},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_exports__.a=function(x){return null===x?NaN:+x}},function(module,__webpack_exports__,__webpack_require__){"use strict";function azimuthalRaw(scale){return function(x,y){var cx=Object(__WEBPACK_IMPORTED_MODULE_0__math__.g)(x),cy=Object(__WEBPACK_IMPORTED_MODULE_0__math__.g)(y),k=scale(cx*cy);return[k*cy*Object(__WEBPACK_IMPORTED_MODULE_0__math__.t)(x),k*Object(__WEBPACK_IMPORTED_MODULE_0__math__.t)(y)]}}function azimuthalInvert(angle){return function(x,y){var z=Object(__WEBPACK_IMPORTED_MODULE_0__math__.u)(x*x+y*y),c=angle(z),sc=Object(__WEBPACK_IMPORTED_MODULE_0__math__.t)(c),cc=Object(__WEBPACK_IMPORTED_MODULE_0__math__.g)(c);return[Object(__WEBPACK_IMPORTED_MODULE_0__math__.e)(x*sc,z*cc),Object(__WEBPACK_IMPORTED_MODULE_0__math__.c)(z&&y*sc/z)]}}__webpack_exports__.b=azimuthalRaw,__webpack_exports__.a=azimuthalInvert;var __WEBPACK_IMPORTED_MODULE_0__math__=__webpack_require__(1)},function(module,exports){function cssWithMappingToString(item,useSourceMap){var content=item[1]||"",cssMapping=item[3];if(!cssMapping)return content;if(useSourceMap&&"function"==typeof btoa){var sourceMapping=toComment(cssMapping);return[content].concat(cssMapping.sources.map(function(source){return"/*# sourceURL="+cssMapping.sourceRoot+source+" */"})).concat([sourceMapping]).join("\n")}return[content].join("\n")}function toComment(sourceMap){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))))+" */"}module.exports=function(useSourceMap){var list=[];return list.toString=function(){return this.map(function(item){var content=cssWithMappingToString(item,useSourceMap);return item[2]?"@media "+item[2]+"{"+content+"}":content}).join("")},list.i=function(modules,mediaQuery){"string"==typeof modules&&(modules=[[null,modules,""]]);for(var alreadyImportedModules={},i=0;i<this.length;i++){var id=this[i][0];"number"==typeof id&&(alreadyImportedModules[id]=!0)}for(i=0;i<modules.length;i++){var item=modules[i];"number"==typeof item[0]&&alreadyImportedModules[item[0]]||(mediaQuery&&!item[2]?item[2]=mediaQuery:mediaQuery&&(item[2]="("+item[2]+") and ("+mediaQuery+")"),list.push(item))}},list}},function(module,__webpack_exports__,__webpack_require__){"use strict";function feature(geometry,properties,options){if(options=options||{},!isObject(options))throw new Error("options is invalid");var bbox=options.bbox,id=options.id;if(void 0===geometry)throw new Error("geometry is required");if(properties&&properties.constructor!==Object)throw new Error("properties must be an Object");bbox&&validateBBox(bbox),id&&validateId(id);var feat={type:"Feature"};return id&&(feat.id=id),bbox&&(feat.bbox=bbox),feat.properties=properties||{},feat.geometry=geometry,feat}function point(coordinates,properties,options){if(!coordinates)throw new Error("coordinates is required");if(!Array.isArray(coordinates))throw new Error("coordinates must be an Array");if(coordinates.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!isNumber(coordinates[0])||!isNumber(coordinates[1]))throw new Error("coordinates must contain numbers");return feature({type:"Point",coordinates:coordinates},properties,options)}function polygon(coordinates,properties,options){if(!coordinates)throw new Error("coordinates is required");for(var i=0;i<coordinates.length;i++){var ring=coordinates[i];if(ring.length<4)throw new Error("Each LinearRing of a Polygon must have 4 or more Positions.");for(var j=0;j<ring[ring.length-1].length;j++){if(0===i&&0===j&&!isNumber(ring[0][0])||!isNumber(ring[0][1]))throw new Error("coordinates must contain numbers");if(ring[ring.length-1][j]!==ring[0][j])throw new Error("First and last Position are not equivalent.")}}return feature({type:"Polygon",coordinates:coordinates},properties,options)}function lineString(coordinates,properties,options){if(!coordinates)throw new Error("coordinates is required");if(coordinates.length<2)throw new Error("coordinates must be an array of two or more positions");if(!isNumber(coordinates[0][1])||!isNumber(coordinates[0][1]))throw new Error("coordinates must contain numbers");return feature({type:"LineString",coordinates:coordinates},properties,options)}function featureCollection(features,options){if(options=options||{},!isObject(options))throw new Error("options is invalid");var bbox=options.bbox,id=options.id;if(!features)throw new Error("No features passed");if(!Array.isArray(features))throw new Error("features must be an Array");bbox&&validateBBox(bbox),id&&validateId(id);var fc={type:"FeatureCollection"};return id&&(fc.id=id),bbox&&(fc.bbox=bbox),fc.features=features,fc}function multiLineString(coordinates,properties,options){if(!coordinates)throw new Error("coordinates is required");return feature({type:"MultiLineString",coordinates:coordinates},properties,options)}function multiPoint(coordinates,properties,options){if(!coordinates)throw new Error("coordinates is required");return feature({type:"MultiPoint",coordinates:coordinates},properties,options)}function multiPolygon(coordinates,properties,options){if(!coordinates)throw new Error("coordinates is required");return feature({type:"MultiPolygon",coordinates:coordinates},properties,options)}function radiansToLength(radians,units){if(void 0===radians||null===radians)throw new Error("radians is required");if(units&&"string"!=typeof units)throw new Error("units must be a string");var factor=factors[units||"kilometers"];if(!factor)throw new Error(units+" units is invalid");return radians*factor}function lengthToRadians(distance,units){if(void 0===distance||null===distance)throw new Error("distance is required");if(units&&"string"!=typeof units)throw new Error("units must be a string");var factor=factors[units||"kilometers"];if(!factor)throw new Error(units+" units is invalid");return distance/factor}function isNumber(num){return!isNaN(num)&&null!==num&&!Array.isArray(num)}function isObject(input){return!!input&&input.constructor===Object}function validateBBox(bbox){if(!bbox)throw new Error("bbox is required");if(!Array.isArray(bbox))throw new Error("bbox must be an Array");if(4!==bbox.length&&6!==bbox.length)throw new Error("bbox must be an Array of 4 or 6 numbers");bbox.forEach(function(num){if(!isNumber(num))throw new Error("bbox must only contain numbers")})}function validateId(id){if(!id)throw new Error("id is required");if(-1===["string","number"].indexOf(typeof id))throw new Error("id must be a number or a string")}__webpack_require__.d(__webpack_exports__,"a",function(){return earthRadius}),__webpack_require__.d(__webpack_exports__,"b",function(){return feature}),__webpack_require__.d(__webpack_exports__,"h",function(){return point}),__webpack_require__.d(__webpack_exports__,"g",function(){return lineString}),__webpack_require__.d(__webpack_exports__,"c",function(){return featureCollection}),__webpack_require__.d(__webpack_exports__,"i",function(){return radiansToLength}),__webpack_require__.d(__webpack_exports__,"f",function(){return lengthToRadians}),__webpack_require__.d(__webpack_exports__,"d",function(){return isNumber}),__webpack_require__.d(__webpack_exports__,"e",function(){return isObject});var earthRadius=6371008.8,factors={meters:earthRadius,metres:earthRadius,millimeters:1e3*earthRadius,millimetres:1e3*earthRadius,centimeters:100*earthRadius,centimetres:100*earthRadius,kilometers:earthRadius/1e3,kilometres:earthRadius/1e3,miles:earthRadius/1609.344,nauticalmiles:earthRadius/1852,inches:39.37*earthRadius,yards:earthRadius/1.0936,feet:3.28084*earthRadius,radians:1,degrees:earthRadius/111325}},function(module,__webpack_exports__,__webpack_require__){"use strict";function rotationIdentity(lambda,phi){return[lambda>__WEBPACK_IMPORTED_MODULE_1__math__.o?lambda-__WEBPACK_IMPORTED_MODULE_1__math__.w:lambda<-__WEBPACK_IMPORTED_MODULE_1__math__.o?lambda+__WEBPACK_IMPORTED_MODULE_1__math__.w:lambda,phi]}function rotateRadians(deltaLambda,deltaPhi,deltaGamma){return(deltaLambda%=__WEBPACK_IMPORTED_MODULE_1__math__.w)?deltaPhi||deltaGamma?Object(__WEBPACK_IMPORTED_MODULE_0__compose__.a)(rotationLambda(deltaLambda),rotationPhiGamma(deltaPhi,deltaGamma)):rotationLambda(deltaLambda):deltaPhi||deltaGamma?rotationPhiGamma(deltaPhi,deltaGamma):rotationIdentity}function forwardRotationLambda(deltaLambda){return function(lambda,phi){return lambda+=deltaLambda,[lambda>__WEBPACK_IMPORTED_MODULE_1__math__.o?lambda-__WEBPACK_IMPORTED_MODULE_1__math__.w:lambda<-__WEBPACK_IMPORTED_MODULE_1__math__.o?lambda+__WEBPACK_IMPORTED_MODULE_1__math__.w:lambda,phi]}}function rotationLambda(deltaLambda){var rotation=forwardRotationLambda(deltaLambda);return rotation.invert=forwardRotationLambda(-deltaLambda),rotation}function rotationPhiGamma(deltaPhi,deltaGamma){function rotation(lambda,phi){var cosPhi=Object(__WEBPACK_IMPORTED_MODULE_1__math__.g)(phi),x=Object(__WEBPACK_IMPORTED_MODULE_1__math__.g)(lambda)*cosPhi,y=Object(__WEBPACK_IMPORTED_MODULE_1__math__.t)(lambda)*cosPhi,z=Object(__WEBPACK_IMPORTED_MODULE_1__math__.t)(phi),k=z*cosDeltaPhi+x*sinDeltaPhi;return[Object(__WEBPACK_IMPORTED_MODULE_1__math__.e)(y*cosDeltaGamma-k*sinDeltaGamma,x*cosDeltaPhi-z*sinDeltaPhi),Object(__WEBPACK_IMPORTED_MODULE_1__math__.c)(k*cosDeltaGamma+y*sinDeltaGamma)]}var cosDeltaPhi=Object(__WEBPACK_IMPORTED_MODULE_1__math__.g)(deltaPhi),sinDeltaPhi=Object(__WEBPACK_IMPORTED_MODULE_1__math__.t)(deltaPhi),cosDeltaGamma=Object(__WEBPACK_IMPORTED_MODULE_1__math__.g)(deltaGamma),sinDeltaGamma=Object(__WEBPACK_IMPORTED_MODULE_1__math__.t)(deltaGamma);return rotation.invert=function(lambda,phi){var cosPhi=Object(__WEBPACK_IMPORTED_MODULE_1__math__.g)(phi),x=Object(__WEBPACK_IMPORTED_MODULE_1__math__.g)(lambda)*cosPhi,y=Object(__WEBPACK_IMPORTED_MODULE_1__math__.t)(lambda)*cosPhi,z=Object(__WEBPACK_IMPORTED_MODULE_1__math__.t)(phi),k=z*cosDeltaGamma-y*sinDeltaGamma;return[Object(__WEBPACK_IMPORTED_MODULE_1__math__.e)(y*cosDeltaGamma+z*sinDeltaGamma,x*cosDeltaPhi+k*sinDeltaPhi),Object(__WEBPACK_IMPORTED_MODULE_1__math__.c)(k*cosDeltaPhi-x*sinDeltaPhi)]},rotation}__webpack_exports__.b=rotateRadians;var __WEBPACK_IMPORTED_MODULE_0__compose__=__webpack_require__(55),__WEBPACK_IMPORTED_MODULE_1__math__=__webpack_require__(1);rotationIdentity.invert=rotationIdentity,__webpack_exports__.a=function(rotate){function forward(coordinates){return coordinates=rotate(coordinates[0]*__WEBPACK_IMPORTED_MODULE_1__math__.r,coordinates[1]*__WEBPACK_IMPORTED_MODULE_1__math__.r),coordinates[0]*=__WEBPACK_IMPORTED_MODULE_1__math__.h,coordinates[1]*=__WEBPACK_IMPORTED_MODULE_1__math__.h,coordinates}return rotate=rotateRadians(rotate[0]*__WEBPACK_IMPORTED_MODULE_1__math__.r,rotate[1]*__WEBPACK_IMPORTED_MODULE_1__math__.r,rotate.length>2?rotate[2]*__WEBPACK_IMPORTED_MODULE_1__math__.r:0),forward.invert=function(coordinates){return coordinates=rotate.invert(coordinates[0]*__WEBPACK_IMPORTED_MODULE_1__math__.r,coordinates[1]*__WEBPACK_IMPORTED_MODULE_1__math__.r),coordinates[0]*=__WEBPACK_IMPORTED_MODULE_1__math__.h,coordinates[1]*=__WEBPACK_IMPORTED_MODULE_1__math__.h,coordinates},forward}},function(module,__webpack_exports__,__webpack_require__){"use strict";function transformer(methods){return function(stream){var s=new TransformStream;for(var key in methods)s[key]=methods[key];return s.stream=stream,s}}function TransformStream(){}__webpack_exports__.a=transformer;TransformStream.prototype={constructor:TransformStream,point:function(x,y){this.stream.point(x,y)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}}},function(module,exports,__webpack_require__){"use strict";function circleMarker(feature,options){return new CircleMarker(feature,options)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.CircleMarker=void 0,exports.default=circleMarker;var _leaflet=__webpack_require__(0),_leaflet2=function(obj){return obj&&obj.__esModule?obj:{default:obj}}(_leaflet),CircleMarker=exports.CircleMarker=_leaflet2.default.CircleMarker.extend({options:{color:"#fff",weight:.5,radius:6},initialize:function(feature,opts){var options=_leaflet2.default.setOptions(this,opts);options.fillColor=feature.properties.color||options.fillColor,options.fillOpacity=options.opacity,this.feature=feature,this._latlng=_leaflet2.default.GeoJSON.coordsToLatLng(feature.geometry.coordinates),this._radius=this.options.radius},setOpacity:function(opacity){this.setStyle({opacity:opacity,fillOpacity:opacity})}})},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_exports__.a=function(a,b){return a=+a,b-=a,function(t){return a+b*t}}},function(module,__webpack_exports__,__webpack_require__){"use strict";var __WEBPACK_IMPORTED_MODULE_0__formatDecimal__=__webpack_require__(45);__webpack_exports__.a=function(x){return x=Object(__WEBPACK_IMPORTED_MODULE_0__formatDecimal__.a)(Math.abs(x)),x?x[1]:NaN}},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}Object.defineProperty(exports,"__esModule",{value:!0});var _TileLayer=__webpack_require__(109),_TileLayer2=_interopRequireDefault(_TileLayer),_WmsLayer=__webpack_require__(110),_WmsLayer2=_interopRequireDefault(_WmsLayer),_GoogleLayer=__webpack_require__(111),_GoogleLayer2=_interopRequireDefault(_GoogleLayer),_GeoJsonGroup=__webpack_require__(113),_GeoJsonGroup2=_interopRequireDefault(_GeoJsonGroup),_Boundary=__webpack_require__(172),_Boundary2=_interopRequireDefault(_Boundary),_Events=__webpack_require__(173),_Events2=_interopRequireDefault(_Events),_Markers=__webpack_require__(174),_Markers2=_interopRequireDefault(_Markers),_Choropleth=__webpack_require__(175),_Choropleth2=_interopRequireDefault(_Choropleth),_ClientCluster=__webpack_require__(176),_ClientCluster2=_interopRequireDefault(_ClientCluster),_ServerCluster=__webpack_require__(234),_ServerCluster2=_interopRequireDefault(_ServerCluster),_EarthEngine=__webpack_require__(236),_EarthEngine2=_interopRequireDefault(_EarthEngine),_LayerGroup=__webpack_require__(237),_LayerGroup2=_interopRequireDefault(_LayerGroup);exports.default={tileLayer:_TileLayer2.default,wmsLayer:_WmsLayer2.default,googleLayer:_GoogleLayer2.default,geoJson:_GeoJsonGroup2.default,boundary:_Boundary2.default,events:_Events2.default,markers:_Markers2.default,choropleth:_Choropleth2.default,clientCluster:_ClientCluster2.default,donutCluster:_ClientCluster2.default,serverCluster:_ServerCluster2.default,earthEngine:_EarthEngine2.default,group:_LayerGroup2.default}},function(module,__webpack_exports__,__webpack_require__){"use strict";function coordEach(geojson,callback,excludeWrapCoord){if(null!==geojson)for(var j,k,l,geometry,stopG,coords,geometryMaybeCollection,isGeometryCollection,wrapShrink=0,coordIndex=0,type=geojson.type,isFeatureCollection="FeatureCollection"===type,isFeature="Feature"===type,stop=isFeatureCollection?geojson.features.length:1,featureIndex=0;featureIndex<stop;featureIndex++){geometryMaybeCollection=isFeatureCollection?geojson.features[featureIndex].geometry:isFeature?geojson.geometry:geojson,isGeometryCollection=!!geometryMaybeCollection&&"GeometryCollection"===geometryMaybeCollection.type,stopG=isGeometryCollection?geometryMaybeCollection.geometries.length:1;for(var geomIndex=0;geomIndex<stopG;geomIndex++){var multiFeatureIndex=0,geometryIndex=0;if(null!==(geometry=isGeometryCollection?geometryMaybeCollection.geometries[geomIndex]:geometryMaybeCollection)){coords=geometry.coordinates;var geomType=geometry.type;switch(wrapShrink=!excludeWrapCoord||"Polygon"!==geomType&&"MultiPolygon"!==geomType?0:1,geomType){case null:break;case"Point":if(!1===callback(coords,coordIndex,featureIndex,multiFeatureIndex,geometryIndex))return!1;coordIndex++,multiFeatureIndex++;break;case"LineString":case"MultiPoint":for(j=0;j<coords.length;j++){if(!1===callback(coords[j],coordIndex,featureIndex,multiFeatureIndex,geometryIndex))return!1;coordIndex++,"MultiPoint"===geomType&&multiFeatureIndex++}"LineString"===geomType&&multiFeatureIndex++;break;case"Polygon":case"MultiLineString":for(j=0;j<coords.length;j++){for(k=0;k<c