/**
 * @license
 * Copyright (c) 2018 amCharts (Antanas Marcelionis, Martynas Majeris)
 *
 * This sofware is provided under multiple licenses. Please see below for
 * links to appropriate usage.
 *
 * Free amCharts linkware license. Details and conditions:
 * https://github.com/amcharts/amcharts4/blob/master/LICENSE
 *
 * One of the amCharts commercial licenses. Details and pricing:
 * https://www.amcharts.com/online-store/
 * https://www.amcharts.com/online-store/licenses-explained/
 *
 * If in doubt, contact amCharts at contact@amcharts.com
 *
 * PLEASE DO NOT REMOVE THIS COPYRIGHT NOTICE.
 * @hidden
 */
webpackJsonp([5],{109:function(t,e,i){"use strict";i.d(e,"b",function(){return l}),i.d(e,"a",function(){return c});var o,n=i(86),r=i(0),a=i(4),s=i(2),u=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),l=function(t){function e(){var e=t.call(this)||this;return e.className="MapSeriesDataItem",e.values.value={},e.applyTheme(),e}return u(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.values.value.value},set:function(t){this.setValue("value",t)},enumerable:!0,configurable:!0}),e.prototype.updateExtremes=function(t){for(var e=0;e<t.length;e++){var i=t[e].longitude,o=t[e].latitude;(this.west>i||!s.isNumber(this.west))&&(this.west=i),(this.east<i||!s.isNumber(this.east))&&(this.east=i),(this.north<o||!s.isNumber(this.north))&&(this.north=o),(this.south>o||!s.isNumber(this.south))&&(this.south=o)}},e}(n.b),c=function(t){function e(){var e=t.call(this)||this;return e.className="MapSeries",e.isMeasured=!1,e.nonScalingStroke=!0,e.dataFields.value="value",e.applyTheme(),e}return u(e,t),e.prototype.createDataItem=function(){return new l},e.prototype.validateData=function(){var e=this;t.prototype.validateData.call(this),a.each(this.dataItems.iterator(),function(t){(e.west>t.west||!s.isNumber(e.west))&&(e.west=t.west),(e.east<t.east||!s.isNumber(e.east))&&(e.east=t.east),(e.north<t.north||!s.isNumber(e.north))&&(e.north=t.north),(e.south>t.south||!s.isNumber(e.south))&&(e.south=t.south)}),this.chart.updateExtremes()},e.prototype.checkInclude=function(t,e,i){if(t){if(0==t.length)return!1;if(-1==t.indexOf(i))return!1}return!(e&&e.length>0&&-1!=e.indexOf(i))},Object.defineProperty(e.prototype,"useGeodata",{get:function(){return this.getPropertyValue("useGeodata")},set:function(t){this.setPropertyValue("useGeodata",t)&&this.invalidateData()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"include",{get:function(){return this.getPropertyValue("include")},set:function(t){this.setPropertyValue("include",t)&&this.processIncExc()},enumerable:!0,configurable:!0}),e.prototype.processIncExc=function(){this.invalidateData()},Object.defineProperty(e.prototype,"exclude",{get:function(){return this.getPropertyValue("exclude")},set:function(t){this.setPropertyValue("exclude",t)&&this.processIncExc()},enumerable:!0,configurable:!0}),e.prototype.handleObjectAdded=function(t){var e=t.newValue;e.parent=this,e.series=this},e}(n.a);r.b.registeredClasses.MapSeries=c,r.b.registeredClasses.MapSeriesDataItem=l},142:function(t,e,i){"use strict";i.d(e,"a",function(){return s});var o,n=i(5),r=i(0),a=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),s=function(t){function e(){var e=t.call(this)||this;return e.className="MapObject",e.isMeasured=!1,e.layout="none",e.clickable=!0,e.applyTheme(),e}return a(e,t),e.prototype.validate=function(){this.readerTitle=this.series.itemReaderText,t.prototype.validate.call(this)},e}(n.a);r.b.registeredClasses.MapObject=s},143:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.normalizePoint=r,e.normalizeMultiline=function(t){try{for(var e=n(t),i=e.next();!i.done;i=e.next()){var o=i.value;try{for(var a=n(o),s=a.next();!s.done;s=a.next()){var u=s.value;u=r(u)}}catch(t){h={error:t}}finally{try{s&&!s.done&&(p=a.return)&&p.call(a)}finally{if(h)throw h.error}}}}catch(t){l={error:t}}finally{try{i&&!i.done&&(c=e.return)&&c.call(e)}finally{if(l)throw l.error}}return t;var l,c,h,p},e.wrapAngleTo180=a,e.geoToPoint=function(t){return{x:t.longitude,y:t.latitude}};var o=i(3),n=this&&this.__values||function(t){var e="function"==typeof Symbol&&t[Symbol.iterator],i=0;return e?e.call(t):{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}}};function r(t){var e=a(t.longitude),i=Math.asin(Math.sin(t.latitude*o.RADIANS))*o.DEGREES,n=a(t.latitude);return Math.abs(n)>90&&(e=a(e+180)),t.longitude=e,t.latitude=i,t}function a(t){return(t%=360)>180&&(t-=360),t<-180&&(t+=360),t}},144:function(t,e,i){"use strict";i.d(e,"a",function(){return m});var o,n=i(142),r=i(537),a=i(127),s=i(7),u=i(103),l=i(0),c=i(18),h=i(9),p=i(8),d=i(4),f=i(143),g=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),y=this&&this.__values||function(t){var e="function"==typeof Symbol&&t[Symbol.iterator],i=0;return e?e.call(t):{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}}},m=function(t){function e(){var e=t.call(this)||this;e.className="MapLine",e.line=new u.a,e.line.stroke=Object(c.c)(),e.strokeOpacity=1;var i=new h.a;return e.stroke=i.getFor("grid"),e.shortestDistance=!0,e.applyTheme(),e}return g(e,t),e.prototype.positionToPoint=function(t){return this.line?this.line.positionToPoint(t):{x:0,y:0,angle:0}},Object.defineProperty(e.prototype,"multiGeoLine",{get:function(){return this.getPropertyValue("multiGeoLine")},set:function(t){this.setPropertyValue("multiGeoLine",f.normalizeMultiline(t),!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"imagesToConnect",{get:function(){return this.getPropertyValue("imagesToConnect")},set:function(t){var e,i,o=this;try{for(var n=y(t),r=n.next();!r.done;r=n.next()){r.value.events.on("propertychanged",function(t){"longitude"!=t.property&&"latitude"!=t.property||o.invalidate()},this)}}catch(t){e={error:t}}finally{try{r&&!r.done&&(i=n.return)&&i.call(n)}finally{if(e)throw e.error}}this.setPropertyValue("imagesToConnect",t)},enumerable:!0,configurable:!0}),e.prototype.validate=function(){var e,i,o=this.series.chart,n=this.multiGeoLine;if(this.imagesToConnect){var r=[];n=[r];try{for(var a=y(this.imagesToConnect),s=a.next();!s.done;s=a.next()){var u=s.value;r.push({longitude:u.longitude,latitude:u.latitude})}}catch(t){e={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(e)throw e.error}}}if(this.shortestDistance){for(var l=[],c=0;c<n.length;c++){for(var h=n[c],p=[],f=1;f<h.length;f++)for(var g=h[f-1],m=h[f],v=Math.max(Math.abs(g.latitude-m.latitude),Math.abs(g.longitude-m.longitude)),b=0;b<v;b++){var _=o.projection.intermediatePoint(g,m,b/v);if(p.length>0){var P=p[p.length-1];Math.abs(P.longitude-_.longitude)>359&&(l.push(p),p=[])}p.push(_)}l.push(p)}n=l}this.line.segments=o.projection.projectGeoLine(n),this._arrow&&this._arrow.validatePosition(),d.each(this.lineObjects.iterator(),function(t){t.validatePosition()}),this.line.parent=this,t.prototype.validate.call(this)},e.prototype.measureElement=function(){},Object.defineProperty(e.prototype,"shortestDistance",{get:function(){return this.getPropertyValue("shortestDistance")},set:function(t){this.setPropertyValue("shortestDistance",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lineObjects",{get:function(){return this._lineObjects||(this._lineObjects=new s.e(new r.a),this._lineObjects.events.on("inserted",this.handleLineObjectAdded,this),this._disposers.push(new s.c(this._lineObjects)),this._disposers.push(this._lineObjects.template)),this._lineObjects},enumerable:!0,configurable:!0}),e.prototype.handleLineObjectAdded=function(t){var e=t.newValue;e.mapLine=this,e.parent=this},Object.defineProperty(e.prototype,"arrow",{get:function(){if(!this._arrow){var t=this.createChild(r.a);t.shouldClone=!1,t.width=8,t.height=10,t.mapLine=this,t.position=.5;var e=t.createChild(a.a);e.shouldClone=!1,e.fillOpacity=1,e.width=Object(p.c)(100),e.height=Object(p.c)(100),e.rotation=90,e.horizontalCenter="middle",e.verticalCenter="middle",this._arrow=t}return this._arrow},set:function(t){this._arrow=t,t.mapLine=this,t.parent=this},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.lineObjects.copyFrom(e.lineObjects),e._arrow&&(this.arrow=e.arrow.clone())},Object.defineProperty(e.prototype,"latitude",{get:function(){var t=this.dataItem;return t.north+(t.south-t.north)/2},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"longitude",{get:function(){var t=this.dataItem;return t.east+(t.west-t.east)/2},enumerable:!0,configurable:!0}),e}(n.a);l.b.registeredClasses.MapLine=m},145:function(t,e,i){"use strict";function o(t){for(var e=[],i=0;i<t.length;i++)e.push(n(t[i]));return e}function n(t){return{longitude:t[0],latitude:t[1]}}e.c=function(t){for(var e=[],i=0;i<t.length;i++){var n=t[i][0],r=t[i][1];e[i]=[],n&&e[i].push(o(n)),r&&e[i].push(o(r))}return e},e.a=function(t){for(var e=[],i=0;i<t.length;i++)e.push(o(t[i]));return e},e.b=o,e.d=n},199:function(t,e,i){"use strict";i.d(e,"a",function(){return u});var o,n=i(142),r=i(0),a=i(2),s=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),u=function(t){function e(){var e=t.call(this)||this;return e.className="MapImage",e.applyTheme(),e}return s(e,t),Object.defineProperty(e.prototype,"latitude",{get:function(){return this.getPropertyValue("latitude")},set:function(t){this.setPropertyValue("latitude",t,!1,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"longitude",{get:function(){return this.getPropertyValue("longitude")},set:function(t){this.setPropertyValue("longitude",t,!1,!0)},enumerable:!0,configurable:!0}),e.prototype.validatePosition=function(){a.isNumber(this.latitude)&&a.isNumber(this.longitude)&&this.moveTo(this.series.chart.projection.convert({latitude:this.latitude,longitude:this.longitude})),t.prototype.validatePosition.call(this)},e}(n.a);r.b.registeredClasses.MapImage=u},200:function(t,e,i){"use strict";i.d(e,"a",function(){return l});var o,n=i(142),r=i(299),a=i(0),s=i(9),u=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),l=function(t){function e(){var e=t.call(this)||this;e.className="MapPolygon",e.polygon=e.createChild(r.a),e.polygon.shouldClone=!1;var i=new s.a;return e.fill=i.getFor("secondaryButton"),e.stroke=i.getFor("secondaryButtonStroke"),e.strokeOpacity=1,e.tooltipPosition="pointer",e.applyTheme(),e}return u(e,t),Object.defineProperty(e.prototype,"multiGeoPolygon",{get:function(){return this.getPropertyValue("multiGeoPolygon")},set:function(t){this.setPropertyValue("multiGeoPolygon",t,!0)},enumerable:!0,configurable:!0}),e.prototype.validate=function(){this.series&&(this.polygon.points=this.series.chart.projection.projectGeoArea(this.multiGeoPolygon)),t.prototype.validate.call(this)},e.prototype.measureElement=function(){},Object.defineProperty(e.prototype,"latitude",{get:function(){var t=this.dataItem;return t.north+(t.south-t.north)/2},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"longitude",{get:function(){var t=this.dataItem;return t.east+(t.west-t.east)/2},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelWidth",{get:function(){return this.polygon.pixelWidth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelHeight",{get:function(){return this.polygon.pixelHeight},enumerable:!0,configurable:!0}),e}(n.a);a.b.registeredClasses.MapPolygon=l},201:function(t,e,i){"use strict";i.d(e,"b",function(){return d}),i.d(e,"a",function(){return f});var o,n=i(109),r=i(144),a=i(7),s=i(0),u=i(145),l=i(14),c=i(6),h=i(4),p=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),d=function(t){function e(){var e=t.call(this)||this;return e.className="MapLineSeriesDataItem",e.applyTheme(),e}return p(e,t),Object.defineProperty(e.prototype,"mapLine",{get:function(){return this._mapLine||(this._mapLine=this.component.mapLines.create(r.a),this.addSprite(this._mapLine)),this._mapLine},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"line",{get:function(){return this._line},set:function(t){this._line=t,this.multiGeoLine=u.a([t])},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"multiLine",{get:function(){return this._multiLine},set:function(t){this._multiLine=t,this.multiGeoLine=u.a(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"geoLine",{get:function(){return this._geoLine},set:function(t){this._geoLine=t,this.multiGeoLine=[t]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"multiGeoLine",{get:function(){return this._multiGeoLine},set:function(t){this._multiGeoLine=t,this.updateLineExtremes(t),this.mapLine.multiGeoLine=this._multiGeoLine},enumerable:!0,configurable:!0}),e.prototype.updateLineExtremes=function(t){for(var e=0;e<t.length;e++){var i=t[e];this.updateExtremes(i)}},e}(n.b),f=function(t){function e(){var e=t.call(this)||this;return e.className="MapLineSeries",e.dataFields.multiLine="multiLine",e.dataFields.line="line",e.dataFields.geoLine="geoLine",e.dataFields.multiGeoLine="multiGeoLine",e.applyTheme(),e}return p(e,t),e.prototype.createDataItem=function(){return new d},e.prototype.validateData=function(){var e=this;if(this.data.length>0&&this.mapLines.clear(),this.useGeodata){var i=this.chart.geodata;if(i){var o=void 0;if("FeatureCollection"==i.type?o=i.features:"Feature"==i.type?o=[i]:-1!=["Point","LineString","Polygon","MultiPoint","MultiLineString","MultiPolygon"].indexOf(i.type)?o=[{geometry:i}]:console.log("nothing found in geoJSON"),o)for(var n=function(t){var e=o[t],i=e.geometry;if(i){var n=i.type,a=e.id;if("LineString"==n||"MultiLineString"==n){if(!r.checkInclude(r.include,r.exclude,a))return"continue";var s=i.coordinates;s&&"MultiLineString"==n&&(s=[s]);var u=l.e(r.data,function(t,e){return t.id==a});u?u.multiLineString||(u.multiLineString=s):(u={multiLineString:s,id:a},r.data.push(u)),c.copyProperties(e.properties,u)}}},r=this,a=0;a<o.length;a++)n(a)}}h.each(this.dataItems.iterator(),function(t){e.mapLines.moveValue(t.mapLine)}),t.prototype.validateData.call(this)},Object.defineProperty(e.prototype,"mapLines",{get:function(){if(!this._mapLines){var t=this.createLine(),e=new a.e(t);this._disposers.push(new a.c(e)),this._disposers.push(e.template),e.events.on("inserted",this.handleObjectAdded,this),this._mapLines=e}return this._mapLines},enumerable:!0,configurable:!0}),e.prototype.createLine=function(){return new r.a},e.prototype.validate=function(){t.prototype.validate.call(this),h.each(this.mapLines.iterator(),function(t){t.validate()})},e.prototype.copyFrom=function(e){this.mapLines.template.copyFrom(e.mapLines.template),t.prototype.copyFrom.call(this,e)},e}(n.a);s.b.registeredClasses.MapLineSeries=f,s.b.registeredClasses.MapLineSeriesDataItem=d},205:function(t,e,i){"use strict";i.d(e,"a",function(){return f});var o,n=i(5),r=i(97),a=i(7),s=i(16),u=i(0),l=i(18),c=i(9),h=i(6),p=i(2),d=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),f=function(t){function e(){var e=t.call(this)||this;e._chart=new s.d,e.className="SmallMap",e.align="left",e.valign="bottom",e.percentHeight=20,e.percentWidth=20,e.margin(5,5,5,5);var i=new c.a;e.background.fillOpacity=.9,e.background.fill=i.getFor("background"),e.events.on("hit",e.moveToPosition,e),e.events.on("maxsizechanged",e.updateMapSize,e),e.seriesContainer=e.createChild(n.a),e.seriesContainer.shouldClone=!1;var o=e.createChild(r.a);return o.shouldClone=!1,o.stroke=i.getFor("alternativeBackground"),o.strokeWidth=1,o.strokeOpacity=.5,o.fill=Object(l.c)(),o.verticalCenter="middle",o.horizontalCenter="middle",o.isMeasured=!1,e.rectangle=o,e._disposers.push(e._chart),e.applyTheme(),e}return d(e,t),Object.defineProperty(e.prototype,"series",{get:function(){return this._series||(this._series=new a.b,this._series.events.on("inserted",this.handleSeriesAdded,this),this._series.events.on("removed",this.handleSeriesRemoved,this)),this._series},enumerable:!0,configurable:!0}),e.prototype.handleSeriesAdded=function(t){var e=t.newValue;if(this.chart.series.contains(e)){var i=e.clone();this._series.removeValue(e),this._series.push(i),e=i,this.chart.dataUsers.push(i)}e.chart=this.chart,e.parent=this.seriesContainer,e.interactionsEnabled=!1},e.prototype.handleSeriesRemoved=function(t){this.invalidate()},e.prototype.moveToPosition=function(t){var e=t.svgPoint,i=h.svgPointToSprite(e,this.rectangle),o=this.chart.zoomLevel,n=Math.min(this.percentWidth,this.percentHeight)/100,r=(i.x+this.rectangle.pixelWidth/2)/n*o,a=(i.y+this.rectangle.pixelHeight/2)/n*o,s=this.chart.svgPointToGeo({x:r,y:a});this.chart.zoomToGeoPoint(s,this.chart.zoomLevel,!0)},Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart.get()},set:function(t){this.chart!=t&&this._chart.set(t,new s.c([t.events.on("zoomlevelchanged",this.updateRectangle,this),t.events.on("mappositionchanged",this.updateRectangle,this),t.events.on("scaleratiochanged",this.updateMapSize,this)]))},enumerable:!0,configurable:!0}),e.prototype.updateRectangle=function(){var t=this.chart,e=t.zoomLevel,i=this.rectangle;i.width=this.pixelWidth/e,i.height=this.pixelHeight/e;var o=Math.min(this.percentWidth,this.percentHeight)/100,n=t.seriesContainer,r=Math.ceil((e*n.pixelWidth/2-n.pixelX)*o/e+i.pixelWidth/2),a=Math.ceil((e*n.pixelHeight/2-n.pixelY)*o/e+i.pixelHeight/2);i.x=r,i.y=a},e.prototype.updateMapSize=function(){this.chart&&(this.seriesContainer.scale=this.chart.scaleRatio*Math.min(this.percentWidth,this.percentHeight)/100,this.afterDraw())},e.prototype.afterDraw=function(){t.prototype.afterDraw.call(this),this.seriesContainer.moveTo({x:this.pixelWidth/2,y:this.pixelHeight/2}),this.rectangle.maskRectangle={x:-1,y:-1,width:Math.ceil(this.pixelWidth+2),height:Math.ceil(this.pixelHeight+2)}},e.prototype.processConfig=function(e){if(e&&p.hasValue(e.series)&&p.isArray(e.series))for(var i=0,o=e.series.length;i<o;i++){var n=e.series[i];p.hasValue(n)&&p.isString(n)&&this.map.hasKey(n)&&(e.series[i]=this.map.getKey(n))}t.prototype.processConfig.call(this,e)},e}(n.a);u.b.registeredClasses.SmallMap=f},304:function(t,e,i){"use strict";i.d(e,"a",function(){return u});var o,n=i(144),r=i(126),a=i(0),s=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),u=function(t){function e(){var e=t.call(this)||this;return e.className="MapSpline",e.line=new r.a,e.line.tensionX=.8,e.line.tensionY=.8,e.applyTheme(),e}return s(e,t),Object.defineProperty(e.prototype,"shortestDistance",{get:function(){return!1},set:function(t){},enumerable:!0,configurable:!0}),e}(n.a);a.b.registeredClasses.MapSpline=u},305:function(t,e,i){"use strict";i.d(e,"a",function(){return u});var o,n=i(144),r=i(298),a=i(0),s=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),u=function(t){function e(){var e=t.call(this)||this;return e.className="MapArc",e.line=new r.a,e.applyTheme(),e}return s(e,t),Object.defineProperty(e.prototype,"shortestDistance",{get:function(){return!1},set:function(t){},enumerable:!0,configurable:!0}),e}(n.a);a.b.registeredClasses.MapArc=u},306:function(t,e,i){"use strict";i.d(e,"a",function(){return f});var o,n=i(5),r=i(79),a=i(49),s=i(16),u=i(54),l=i(33),c=i(8),h=i(0),p=i(9),d=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),f=function(t){function e(){var e=t.call(this)||this;e._chart=new s.d,e.className="ZoomControl",e.align="right",e.valign="bottom",e.layout="vertical",e.padding(5,5,5,5);var i=new p.a,o=e.createChild(r.a);o.shouldClone=!1,o.label.text="+",o.width=Object(c.c)(100),o.padding(5,5,5,5),e.plusButton=o;var a=e.createChild(n.a);a.shouldClone=!1,a.width=Object(c.c)(100),a.background.fill=i.getFor("alternativeBackground"),a.background.fillOpacity=.05,a.background.events.on("hit",e.handleBackgroundClick,e),a.events.on("sizechanged",e.updateThumbSize,e),e.slider=a;var u=a.createChild(r.a);u.shouldClone=!1,u.padding(0,0,0,0),u.draggable=!0,u.events.on("drag",e.handleThumbDrag,e),e.thumb=u;var l=e.createChild(r.a);return l.shouldClone=!1,l.label.text="-",l.padding(5,5,5,5),e.minusButton=l,e.thumb.role="slider",e.thumb.readerLive="polite",e.thumb.readerTitle=e.language.translate("Use arrow keys to zoom in and out"),e.minusButton.readerTitle=e.language.translate("Press ENTER to zoom in"),e.plusButton.readerTitle=e.language.translate("Press ENTER to zoom out"),e.applyTheme(),e.events.on("propertychanged",function(t){"layout"==t.property&&e.fixLayout()}),e._disposers.push(e._chart),e.fixLayout(),e}return d(e,t),e.prototype.fixLayout=function(){"vertical"==this.layout?(this.width=40,this.height=void 0,this.minusButton.width=Object(c.c)(100),this.thumb.width=Object(c.c)(100),this.plusButton.width=Object(c.c)(100),this.slider.width=Object(c.c)(100),this.minusButton.marginTop=1,this.plusButton.marginBottom=2,this.slider.height=0,this.minusButton.toFront(),this.plusButton.toBack(),this.thumb.minX=0,this.thumb.maxX=0,this.thumb.minY=0):"horizontal"==this.layout&&(this.thumb.minX=0,this.thumb.minY=0,this.thumb.maxY=0,this.height=40,this.width=void 0,this.minusButton.height=Object(c.c)(100),this.minusButton.width=30,this.thumb.height=Object(c.c)(100),this.thumb.width=void 0,this.plusButton.height=Object(c.c)(100),this.plusButton.width=30,this.slider.height=Object(c.c)(100),this.slider.width=0,this.minusButton.marginLeft=2,this.plusButton.marginRight=2,this.minusButton.toBack(),this.plusButton.toFront())},e.prototype.handleBackgroundClick=function(t){var e=t.target,i=t.spritePoint.y,o=this.chart,n=Math.log(o.maxZoomLevel)/Math.LN2,r=Math.log(o.minZoomLevel)/Math.LN2,a=(e.pixelHeight-i)/e.pixelHeight*(r+(n-r)),s=Math.pow(2,a);o.zoomToGeoPoint(o.zoomGeoPoint,s)},Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart.get()},set:function(t){var e=this;this._chart.set(t,new s.c([t.events.on("maxsizechanged",this.updateThumbSize,this),t.events.on("zoomlevelchanged",this.updateThumb,this),this.minusButton.events.on("hit",function(){t.zoomOut(t.zoomGeoPoint)},t),Object(l.b)().body.events.on("keyup",function(i){e.topParent.hasFocused&&(u.b.isKey(i.event,"enter")?e.minusButton.isFocused?t.zoomOut():e.plusButton.isFocused&&t.zoomIn():u.b.isKey(i.event,"plus")?t.zoomIn():u.b.isKey(i.event,"minus")&&t.zoomOut())},t),this.plusButton.events.on("hit",function(){t.zoomIn(t.zoomGeoPoint)},t)]))},enumerable:!0,configurable:!0}),e.prototype.updateThumbSize=function(){var t=this.chart;if(t){var e=this.slider,i=this.thumb;"vertical"==this.layout?(i.minHeight=Math.min(this.slider.pixelHeight,20),i.height=e.pixelHeight/(t.maxZoomLevel-t.minZoomLevel),i.maxY=e.pixelHeight-i.pixelHeight,i.pixelHeight<=1?i.visible=!1:i.visible=!0):(i.minWidth=Math.min(this.slider.pixelWidth,20),i.width=e.pixelWidth/(t.maxZoomLevel-t.minZoomLevel),i.maxX=e.pixelWidth-i.pixelWidth,i.pixelWidth<=1?i.visible=!1:i.visible=!0)}},e.prototype.updateThumb=function(){var t=this.slider,e=this.chart,i=this.thumb;if(!i.isDown){var o=Math.log(e.zoomLevel)/Math.LN2;"vertical"==this.layout?i.y=t.pixelHeight-(t.pixelHeight-i.pixelHeight)*(o+1)/this.stepCount:i.x=t.pixelWidth*o/this.stepCount}},e.prototype.handleThumbDrag=function(){var t,e=this.slider,i=this.chart,o=this.thumb;t="vertical"==this.layout?this.stepCount*(e.pixelHeight-o.pixelY-o.pixelHeight)/(e.pixelHeight-o.pixelHeight)-1:this.stepCount*o.pixelX/e.pixelWidth;var n=Math.pow(2,t);i.zoomToGeoPoint(void 0,n,!1,0)},Object.defineProperty(e.prototype,"stepCount",{get:function(){return Math.log(this.chart.maxZoomLevel)/Math.LN2-Math.log(this.chart.minZoomLevel)/Math.LN2},enumerable:!0,configurable:!0}),e.prototype.createBackground=function(){return new a.a},e}(n.a);h.b.registeredClasses.ZoomControl=f},533:function(t,e,i){t.exports=i(534)},534:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=i(535);window.am4maps=o},535:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=i(150);i.d(e,"LegendDataItem",function(){return o.b}),i.d(e,"Legend",function(){return o.a}),i.d(e,"LegendSettings",function(){return o.c});var n=i(257);i.d(e,"HeatLegend",function(){return n.a});var r=i(536);i.d(e,"MapChartDataItem",function(){return r.b}),i.d(e,"MapChart",function(){return r.a});var a=i(109);i.d(e,"MapSeriesDataItem",function(){return a.b}),i.d(e,"MapSeries",function(){return a.a});var s=i(142);i.d(e,"MapObject",function(){return s.a});var u=i(200);i.d(e,"MapPolygon",function(){return u.a});var l=i(199);i.d(e,"MapImage",function(){return l.a});var c=i(144);i.d(e,"MapLine",function(){return c.a});var h=i(304);i.d(e,"MapSpline",function(){return h.a});var p=i(305);i.d(e,"MapArc",function(){return p.a});var d=i(538);i.d(e,"MapPolygonSeriesDataItem",function(){return d.b}),i.d(e,"MapPolygonSeries",function(){return d.a});var f=i(201);i.d(e,"MapLineSeriesDataItem",function(){return f.b}),i.d(e,"MapLineSeries",function(){return f.a});var g=i(539);i.d(e,"MapSplineSeriesDataItem",function(){return g.b}),i.d(e,"MapSplineSeries",function(){return g.a});var y=i(540);i.d(e,"MapImageSeriesDataItem",function(){return y.b}),i.d(e,"MapImageSeries",function(){return y.a});var m=i(541);i.d(e,"MapArcSeriesDataItem",function(){return m.b}),i.d(e,"MapArcSeries",function(){return m.a});var v=i(145);i.d(e,"multiPolygonToGeo",function(){return v.c}),i.d(e,"multiLineToGeo",function(){return v.a}),i.d(e,"multiPointToGeo",function(){return v.b}),i.d(e,"pointToGeo",function(){return v.d});var b=i(306);i.d(e,"ZoomControl",function(){return b.a});var _=i(205);i.d(e,"SmallMap",function(){return _.a});var P=i(77);i.d(e,"Projection",function(){return P.a});var M=i(542);i.d(e,"projections",function(){return M});var O=i(143);i.d(e,"geo",function(){return O})},536:function(t,e,i){"use strict";i.d(e,"b",function(){return _}),i.d(e,"a",function(){return P});var o,n=i(113),r=i(109),a=i(199),s=i(200),u=i(77),l=i(205),c=i(54),h=i(33),p=i(0),d=i(3),f=i(6),g=i(39),y=i(4),m=i(2),v=i(143),b=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),_=function(t){function e(){var e=t.call(this)||this;return e.className="MapChartDataItem",e.applyTheme(),e}return b(e,t),e}(n.b),P=function(t){function e(){var e=t.call(this)||this;e.scaleRatio=1,e.zoomDuration=1e3,e.zoomEasing=g.cubicOut,e.minZoomLevel=1,e.maxZoomLevel=32,e._prevZoomGeoPoint={latitude:0,longitude:0},e.className="MapChart",e.projection=new u.a,e.deltaLongitude=0,e.padding(0,0,0,0);var i=e.seriesContainer;i.draggable=!0,i.inert=!0,i.resizable=!0,i.events.on("transformed",e.handleMapTransform,e),i.events.on("doublehit",e.handleDoubleHit,e),e.events.on("datavalidated",e.updateExtremes,e);var o=e.chartContainer;o.events.on("maxsizechanged",e.udpateScaleRatio,e);var n=o.background;return n.fillOpacity=0,n.events.on("down",function(t){e.seriesContainer.dragStart(t.target.interactions.downPointers.getIndex(0))},e),n.events.on("up",function(t){e.seriesContainer.dragStop()},e),n.events.on("doublehit",e.handleDoubleHit,e),n.focusable=!0,o.events.on("wheel",e.handleWheel,e),o.events.on("down",e.handleMapDown,e),e.background.fillOpacity=0,e.background.readerTitle=e.language.translate("Use plus and minus keys on your keyboard to zoom in and out"),e._disposers.push(Object(h.b)().body.events.on("keyup",function(t){if(e.topParent.hasFocused&&(!e._zoomControl||!e._zoomControl.thumb.isFocused))switch(c.b.getEventKey(t.event)){case"up":e.pan({x:0,y:.1});break;case"down":e.pan({x:0,y:-.1});break;case"left":e.pan({x:.1,y:0});break;case"right":e.pan({x:-.1,y:0})}},e)),e.applyTheme(),e}return b(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),m.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Map"))},e.prototype.handleMapDown=function(){this._mapAnimation&&this._mapAnimation.stop()},e.prototype.handleDoubleHit=function(t){var e=f.documentPointToSvg(t.point,this.htmlContainer),i=this.svgPointToGeo(e);this.zoomIn(i)},e.prototype.handleWheel=function(t){var e=f.documentPointToSvg(t.point,this.htmlContainer),i=this.svgPointToGeo(e);t.shift.y<0?this.zoomIn(i):this.zoomOut(i)},Object.defineProperty(e.prototype,"projection",{get:function(){return this.getPropertyValue("projection")},set:function(t){this.setPropertyValue("projection",t,!0)},enumerable:!0,configurable:!0}),e.prototype.updateExtremes=function(){var t=this;this.west=null,this.east=null,this.north=null,this.south=null,y.each(this.series.iterator(),function(e){(t.west>e.west||!m.isNumber(t.west))&&(t.west=e.west),(t.east<e.east||!m.isNumber(t.east))&&(t.east=e.east),(t.north<e.north||!m.isNumber(t.north))&&(t.north=e.north),(t.south>e.south||!m.isNumber(t.south))&&(t.south=e.south)}),this.projection.centerPoint={x:0,y:0},this.projection.scale=1;var e=this.projection.deltaLongitude;this.projection.deltaLongitude=0;var i,o=this.projection.convert({longitude:this.west,latitude:(this.south-this.north)/2}),n=this.projection.convert({longitude:this.east,latitude:(this.south-this.north)/2}),r=this.projection.convert({longitude:(this.east-this.west)/2,latitude:this.north}),a=this.projection.convert({longitude:(this.east-this.west)/2,latitude:this.south});this.projection.deltaLongitude=e,this.projection.centerPoint={x:o.x+(n.x-o.x)/2,y:r.y+(a.y-r.y)/2};var s=n.x-o.x,u=a.y-r.y,l=this.chartContainer.innerWidth/s,c=this.chartContainer.innerHeight/u;i=l>c?c:l,(m.isNaN(i)||i==1/0)&&(i=1),this.projection.scale=i,this.seriesWidth=s*i,this.seriesHeight=u*i,this.udpateScaleRatio()},e.prototype.udpateScaleRatio=function(){var t,e=this,i=this.chartContainer.innerWidth/this.seriesWidth,o=this.chartContainer.innerHeight/this.seriesHeight;t=i>o?o:i,(m.isNaN(t)||t==1/0)&&(t=1),t!=this.scaleRatio&&(this.scaleRatio=t,y.each(this.series.iterator(),function(t){t.scale=e.scaleRatio}),this.dispatch("scaleratiochanged"))},e.prototype.svgPointToGeo=function(t){var e=this.series.getIndex(0);if(e){var i=f.svgPointToSprite(t,e);return this.seriesPointToGeo(i)}},e.prototype.geoPointToSVG=function(t){var e=this.series.getIndex(0);if(e){var i=this.geoPointToSeries(t);return f.spritePointToSvg(i,e)}},e.prototype.seriesPointToGeo=function(t){return this.projection.invert(t)},e.prototype.geoPointToSeries=function(t){return this.projection.convert(t)},e.prototype.afterDraw=function(){t.prototype.afterDraw.call(this);var e=this.seriesContainer,i=this.chartContainer;e.x=i.pixelWidth/2,e.y=i.pixelHeight/2},Object.defineProperty(e.prototype,"geodata",{get:function(){return this._geodata},set:function(t){t!=this._geodata&&(this._geodata=t,this.invalidateData(),y.each(this._dataUsers.iterator(),function(t){t.invalidateData()}))},enumerable:!0,configurable:!0}),e.prototype.zoomToGeoPoint=function(t,e,i,o){t||(t=this.zoomGeoPoint),e=d.fitToRange(e,this.minZoomLevel,this.maxZoomLevel);var n=this.projection.convert(t),r=this.geoPointToSVG(t);return i&&(r={x:this.pixelWidth/2,y:this.pixelHeight/2}),m.isNumber(o)||(o=this.zoomDuration),this._mapAnimation=this.seriesContainer.animate([{property:"scale",to:e},{property:"x",to:r.x-n.x*e*this.scaleRatio-this.pixelPaddingLeft},{property:"y",to:r.y-n.y*e*this.scaleRatio-this.pixelPaddingTop}],o,this.zoomEasing),this._mapAnimation},e.prototype.zoomToMapObject=function(t,e,i,o){if(void 0==i&&(i=!0),t instanceof a.a)return m.isNaN(e)&&(e=5),this.zoomToGeoPoint({latitude:t.latitude,longitude:t.longitude},e,i,o);if(t instanceof s.a){var n=t.dataItem;return this.zoomToRectangle(n.north,n.east,n.south,n.west,e,i,o)}},e.prototype.zoomToRectangle=function(t,e,i,o,n,r,a){m.isNaN(n)&&(n=1);var s=n*Math.min((this.south-this.north)/(i-t),(this.west-this.east)/(o-e));return this.zoomToGeoPoint({latitude:t+(i-t)/2,longitude:o+(e-o)/2},s,r,a)},e.prototype.zoomIn=function(t,e){return this.zoomToGeoPoint(t,2*this.zoomLevel,!1,e)},e.prototype.zoomOut=function(t,e){return this.zoomToGeoPoint(t,this.zoomLevel/2,!1,e)},e.prototype.pan=function(t,e){var i=this.geoPointToSVG(this.zoomGeoPoint);i.x+=this.pixelWidth*t.x,i.y+=this.pixelHeight*t.y,this.zoomToGeoPoint(this.svgPointToGeo(i),this.zoomLevel,!0,e)},Object.defineProperty(e.prototype,"zoomGeoPoint",{get:function(){return this.svgPointToGeo({x:this.pixelWidth/2,y:this.pixelHeight/2})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"zoomLevel",{get:function(){return this.seriesContainer.scale},set:function(t){this.seriesContainer.scale=t},enumerable:!0,configurable:!0}),e.prototype.handleMapTransform=function(){this.zoomLevel!=this._prevZoomLevel&&this.dispatch("zoomlevelchanged"),!this.zoomGeoPoint||this._prevZoomGeoPoint.latitude==this.zoomGeoPoint.latitude&&this._prevZoomGeoPoint.longitude==this.zoomGeoPoint.longitude||this.dispatch("mappositionchanged")},Object.defineProperty(e.prototype,"smallMap",{get:function(){if(!this._smallMap){var t=new l.a;this.smallMap=t}return this._smallMap},set:function(t){this._smallMap&&this.removeDispose(this._smallMap),this._smallMap=t,this._smallMap.chart=this,t.parent=this.chartContainer},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"zoomControl",{get:function(){return this._zoomControl},set:function(t){this._zoomControl&&this.removeDispose(this._zoomControl),this._zoomControl=t,t.chart=this,t.parent=this.chartContainer},enumerable:!0,configurable:!0}),e.prototype.createSeries=function(){return new r.a},Object.defineProperty(e.prototype,"deltaLongitude",{get:function(){return this.getPropertyValue("deltaLongitude")},set:function(t){this.setPropertyValue("deltaLongitude",v.wrapAngleTo180(t)),this.invalidateProjection()},enumerable:!0,configurable:!0}),e.prototype.invalidateProjection=function(){this.projection.deltaLongitude=this.deltaLongitude,y.each(this.series.iterator(),function(t){t.invalidate()})},Object.defineProperty(e.prototype,"geodataSource",{get:function(){return this._dataSources.geodata||this.getDataSource("geodata"),this._dataSources.geodata},set:function(t){var e=this;this._dataSources.geodata&&this.removeDispose(this._dataSources.geodata),this._dataSources.geodata=t,this._dataSources.geodata.component=this,this.events.on("inited",function(){e.loadData("geodata")},this),this.setDataSourceEvents(t,"geodata")},enumerable:!0,configurable:!0}),e.prototype.processConfig=function(e){m.hasValue(e.projection)&&m.isString(e.projection)&&(e.projection=this.createClassInstance(e.projection)),m.hasValue(e.smallMap)&&!m.hasValue(e.smallMap.type)&&(e.smallMap.type="SmallMap"),m.hasValue(e.zoomControl)&&!m.hasValue(e.zoomControl.type)&&(e.zoomControl.type="ZoomControl"),t.prototype.processConfig.call(this,e)},e.prototype.configOrder=function(e,i){return e==i?0:"smallMap"==e?1:"smallMap"==i?-1:"series"==e?1:"series"==i?-1:t.prototype.configOrder.call(this,e,i)},e.prototype.asIs=function(e){return"projection"==e||t.prototype.asIs.call(this,e)},e}(n.a);p.b.registeredClasses.MapChart=P},537:function(t,e,i){"use strict";i.d(e,"a",function(){return s});var o,n=i(5),r=i(0),a=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),s=function(t){function e(){var e=t.call(this)||this;return e.adjustRotation=!0,e.className="MapLineObject",e.isMeasured=!1,e.layout="none",e.applyTheme(),e}return a(e,t),e.prototype.validatePosition=function(){if(this.mapLine){var e=this.mapLine.positionToPoint(this.position);if(this.x=e.x,this.y=e.y,this.adjustRotation&&(this.rotation=e.angle),this.mapLine.dataItem){var i=this.mapLine.dataItem.component;this.scale=1/i.scale}}t.prototype.validatePosition.call(this)},Object.defineProperty(e.prototype,"position",{get:function(){return this.getPropertyValue("position")},set:function(t){this.setPropertyValue("position",t,!1,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"adjustRotation",{get:function(){return this.getPropertyValue("adjustRotation")},set:function(t){this.setPropertyValue("adjustRotation",t,!1,!0)},enumerable:!0,configurable:!0}),e}(n.a);r.b.registeredClasses.MapLineObject=s},538:function(t,e,i){"use strict";i.d(e,"b",function(){return d}),i.d(e,"a",function(){return f});var o,n=i(109),r=i(200),a=i(7),s=i(0),u=i(145),l=i(14),c=i(6),h=i(4),p=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),d=function(t){function e(){var e=t.call(this)||this;return e.className="MapPolygonSeriesDataItem",e.applyTheme(),e}return p(e,t),Object.defineProperty(e.prototype,"mapPolygon",{get:function(){return this._mapPolygon||(this._mapPolygon=this.component.mapPolygons.create(),this.addSprite(this._mapPolygon)),this._mapPolygon},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"polygon",{get:function(){return this._polygon},set:function(t){this._polygon=t,this.multiGeoPolygon=u.c([t])},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"multiPolygon",{get:function(){return this._multiPolygon},set:function(t){this._multiPolygon=t,this.multiGeoPolygon=u.c(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"geoPolygon",{get:function(){return this._geoPolygon},set:function(t){this._geoPolygon=t,this.multiGeoPolygon=[t]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"multiGeoPolygon",{get:function(){return this._multiGeoPolygon},set:function(t){this._multiGeoPolygon=t,this.updateAreaExtremes(t),this.mapPolygon.multiGeoPolygon=this._multiGeoPolygon},enumerable:!0,configurable:!0}),e.prototype.updateAreaExtremes=function(t){for(var e=0;e<t.length;e++){var i=t[e][0];this.updateExtremes(i)}},e}(n.b),f=function(t){function e(){var e=t.call(this)||this;return e.parsingStepDuration=5e3,e.className="MapPolygonSeries",e.dataFields.multiPolygon="multiPolygon",e.dataFields.polygon="polygon",e.dataFields.geoPolygon="geoPolygon",e.dataFields.multiGeoPolygon="multiGeoPolygon",e.applyTheme(),e}return p(e,t),e.prototype.createDataItem=function(){return new d},e.prototype.clearPolygons=function(){h.each(this.mapPolygons.iterator(),function(t){t.polygon.dispose(),t.dispose()}),this.mapPolygons.clear()},e.prototype.processIncExc=function(){this.clearPolygons(),t.prototype.processIncExc.call(this)},e.prototype.validateData=function(){var e=this;if(this.data.length>0&&0==this._parseDataFrom&&this.clearPolygons(),this.west=null,this.east=null,this.north=null,this.south=null,this.useGeodata){var i=this.chart.geodata;if(i){var o=void 0;if("FeatureCollection"==i.type?o=i.features:"Feature"==i.type?o=[i]:-1!=["Point","LineString","Polygon","MultiPoint","MultiLineString","MultiPolygon"].indexOf(i.type)?o=[{geometry:i}]:console.log("nothing found in geoJSON"),o)for(var n=function(t){var e=o[t],i=e.geometry;if(i){var n=i.type,a=e.id;if("Polygon"==n||"MultiPolygon"==n){if(!r.checkInclude(r.include,r.exclude,a))return"continue";var s=i.coordinates;s&&"Polygon"==n&&(s=[s]);var u=l.e(r.data,function(t,e){return t.id==a});u?u.multiPolygon||(u.multiPolygon=s):(u={multiPolygon:s,id:a},r.data.push(u)),c.copyProperties(e.properties,u)}}},r=this,a=0;a<o.length;a++)n(a)}}t.prototype.validateData.call(this),h.each(this.dataItems.iterator(),function(t){e.mapPolygons.moveValue(t.mapPolygon)})},e.prototype.validate=function(){t.prototype.validate.call(this),h.each(this.mapPolygons.iterator(),function(t){t.validate()})},Object.defineProperty(e.prototype,"mapPolygons",{get:function(){if(!this._mapPolygons){var t=new r.a,e=new a.e(t);this._disposers.push(new a.c(e)),this._disposers.push(e.template),e.template.focusable=!0,e.events.on("inserted",this.handleObjectAdded,this),this._mapPolygons=e}return this._mapPolygons},enumerable:!0,configurable:!0}),e.prototype.getPolygonById=function(t){return h.find(this.mapPolygons.iterator(),function(e){return e.dataItem.dataContext.id==t})},e.prototype.copyFrom=function(e){this.mapPolygons.template.copyFrom(e.mapPolygons.template),t.prototype.copyFrom.call(this,e)},e}(n.a);s.b.registeredClasses.MapPolygonSeries=f,s.b.registeredClasses.MapPolygonSeriesDataItem=d},539:function(t,e,i){"use strict";i.d(e,"b",function(){return u}),i.d(e,"a",function(){return l});var o,n=i(201),r=i(304),a=i(0),s=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),u=function(t){function e(){var e=t.call(this)||this;return e.className="MapSplineSeriesDataItem",e.applyTheme(),e}return s(e,t),Object.defineProperty(e.prototype,"mapLine",{get:function(){return this._mapLine||(this._mapLine=this.component.mapLines.create(r.a),this.addSprite(this._mapLine)),this._mapLine},enumerable:!0,configurable:!0}),e}(n.b),l=function(t){function e(){var e=t.call(this)||this;return e.className="MapSplineSeries",e.applyTheme(),e}return s(e,t),e.prototype.createDataItem=function(){return new u},e.prototype.createLine=function(){return new r.a},e}(n.a);a.b.registeredClasses.MapSplineSeries=l,a.b.registeredClasses.MapSplineSeriesDataItem=u},540:function(t,e,i){"use strict";i.d(e,"b",function(){return d}),i.d(e,"a",function(){return f});var o,n=i(109),r=i(199),a=i(7),s=i(0),u=i(14),l=i(145),c=i(6),h=i(4),p=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),d=function(t){function e(){var e=t.call(this)||this;return e.className="MapImageSeriesDataItem",e.applyTheme(),e}return p(e,t),Object.defineProperty(e.prototype,"mapImage",{get:function(){return this._mapImage||(this._mapImage=this.component.mapImages.create(),this.addSprite(this._mapImage)),this._mapImage},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"point",{get:function(){return this._point},set:function(t){this._point=t,this.geoPoint=l.d(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"geoPoint",{get:function(){return this._geoPoint},set:function(t){this._geoPoint=t,this.updateExtremes([this._geoPoint]),this.mapImage.latitude=this._geoPoint.latitude,this.mapImage.longitude=this._geoPoint.longitude},enumerable:!0,configurable:!0}),e}(n.b),f=function(t){function e(){var e=t.call(this)||this;return e.className="MapImageSeries",e.dataFields.multiPoint="multiPoint",e.dataFields.point="point",e.dataFields.geoPoint="geoPoint",e.dataFields.multiGeoPoint="multiGeoPoint",e.applyTheme(),e}return p(e,t),e.prototype.createDataItem=function(){return new d},e.prototype.validateData=function(){var e=this;if(this.data.length>0&&this.mapImages.clear(),this.useGeodata){var i=this.chart.geodata;if(i){var o=void 0;if("FeatureCollection"==i.type?o=i.features:"Feature"==i.type?o=[i]:-1!=["Point","LineString","Polygon","MultiPoint","MultiLineString","MultiPolygon"].indexOf(i.type)?o=[{geometry:i}]:console.log("nothing found in geoJSON"),o)for(var n=function(t){var e=o[t],i=e.geometry;if(i){var n=i.type,a=e.id;if("Point"==n||"MultiPoint"==n){if(!r.checkInclude(r.include,r.exclude,a))return"continue";var s=i.coordinates;s&&"MultiPoint"==n&&(s=[s]);var l=u.e(r.data,function(t,e){return t.id==a});l?l.multiPoint||(l.multiPoint=s):(l={multiPoint:s,id:a},r.data.push(l)),c.copyProperties(e.properties,l)}}},r=this,a=0;a<o.length;a++)n(a)}}h.each(this.dataItems.iterator(),function(t){e.mapImages.moveValue(t.mapImage)}),t.prototype.validateData.call(this)},Object.defineProperty(e.prototype,"mapImages",{get:function(){if(!this._mapImages){var t=new r.a,e=new a.e(t);this._disposers.push(new a.c(e)),this._disposers.push(e.template),e.template.focusable=!0,e.events.on("inserted",this.handleObjectAdded,this),this._mapImages=e}return this._mapImages},enumerable:!0,configurable:!0}),e.prototype.validateDataElement=function(e){t.prototype.validateDataElement.call(this,e),e.mapImage.invalidate()},e.prototype.validate=function(){t.prototype.validate.call(this),h.each(this.mapImages.iterator(),function(t){t.validatePosition()})},e.prototype.copyFrom=function(e){this.mapImages.template.copyFrom(e.mapImages.template),t.prototype.copyFrom.call(this,e)},e}(n.a);s.b.registeredClasses.MapImageSeries=f,s.b.registeredClasses.MapImageSeriesDataItem=d},541:function(t,e,i){"use strict";i.d(e,"b",function(){return u}),i.d(e,"a",function(){return l});var o,n=i(201),r=i(305),a=i(0),s=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),u=function(t){function e(){var e=t.call(this)||this;return e.className="MapArcSeriesDataItem",e.applyTheme(),e}return s(e,t),Object.defineProperty(e.prototype,"mapLine",{get:function(){return this._mapLine||(this._mapLine=this.component.mapLines.create(r.a),this.addSprite(this._mapLine)),this._mapLine},enumerable:!0,configurable:!0}),e}(n.b),l=function(t){function e(){var e=t.call(this)||this;return e.className="MapArcSeries",e.applyTheme(),e}return s(e,t),e.prototype.createDataItem=function(){return new u},e.prototype.createLine=function(){return new r.a},e}(n.a);a.b.registeredClasses.MapArcSeries=l,a.b.registeredClasses.MapArcSeriesDataItem=u},542:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=i(543);i.d(e,"Mercator",function(){return o.a});var n=i(544);i.d(e,"Miller",function(){return n.a});var r=i(545);i.d(e,"Eckert6",function(){return r.a});var a=i(546);i.d(e,"Orthographic",function(){return a.a});var s=i(77);i.d(e,"Projection",function(){return s.a})},543:function(t,e,i){"use strict";i.d(e,"a",function(){return s});var o,n=i(77),r=i(0),a=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.unproject=function(t,e){return{longitude:t,latitude:2*Math.atan(Math.exp(e))-Math.PI/2}},e.prototype.project=function(t,e){return{x:t,y:Math.log(Math.tan((Math.PI/2+e)/2))}},e}(n.a);r.b.registeredClasses.Mercator=s},544:function(t,e,i){"use strict";i.d(e,"a",function(){return s});var o,n=i(77),r=i(0),a=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.unproject=function(t,e){return{longitude:t,latitude:2.5*Math.atan(Math.exp(.8*e))-.625*Math.PI}},e.prototype.project=function(t,e){return{x:t,y:1.25*Math.log(Math.tan(Math.PI/4+.4*e))}},e}(n.a);r.b.registeredClasses.Miller=s},545:function(t,e,i){"use strict";i.d(e,"a",function(){return s});var o,n=i(77),r=i(0),a=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.unproject=function(t,e){var i=1+Math.PI/2,o=Math.sqrt(i/2);return{longitude:2*t*o/(1+Math.cos(e*=o)),latitude:Math.asin((e+Math.sin(e))/i)}},e.prototype.project=function(t,e){for(var i=(1+Math.PI/2)*Math.sin(e),o=0,n=1/0;o<10&&Math.abs(n)>1e-5;o++)e-=n=(e+Math.sin(e)-i)/(1+Math.cos(e));return i=Math.sqrt(2+Math.PI),{x:t*(1+Math.cos(e))/i,y:2*e/i}},e}(n.a);r.b.registeredClasses.Eckert6=s},546:function(t,e,i){"use strict";i.d(e,"a",function(){return h});var o,n=i(77),r=i(0),a=i(3),s=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),u=this&&this.__values||function(t){var e="function"==typeof Symbol&&t[Symbol.iterator],i=0;return e?e.call(t):{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}}},l=this&&this.__read||function(t,e){var i="function"==typeof Symbol&&t[Symbol.iterator];if(!i)return t;var o,n,r=i.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(o=r.next()).done;)a.push(o.value)}catch(t){n={error:t}}finally{try{o&&!o.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}return a},c=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(l(arguments[e]));return t},h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.project=function(t,e){return{x:Math.cos(e)*Math.sin(t),y:Math.sin(e)}},e.prototype.getClipRectangle1=function(){var t=90-this.deltaLongitude,e=-this.deltaLatitude;return[{longitude:t-180,latitude:e-90},{longitude:t-1e-5,latitude:e-90},{longitude:t-1e-5,latitude:e+90},{longitude:t-180,latitude:e+90}]},e.prototype.getRect1=function(){var t=90-this.deltaLongitude,e=-this.deltaLatitude;return{north:e+90,south:e-90,west:t-180,east:t}},e.prototype.getClipRectangle2=function(){var t,e=90-this.deltaLongitude,i=-this.deltaLatitude;return[{longitude:1e-5+e-180+(t=e>0?-360:360),latitude:i-90},{longitude:e-1e-5+t,latitude:i-90},{longitude:e-1e-5+t,latitude:i+90},{longitude:1e-5+e-180+t,latitude:i+90}]},e.prototype.getRect2=function(){var t,e=90-this.deltaLongitude,i=-this.deltaLatitude;return{north:i+90,south:i-90,west:e-180+(t=e>0?-360:360),east:e+t}},e.prototype.clipGeoArea=function(t){if(t){for(var e,i,o=[],n=this.getClipRectangle1(),r=this.getClipRectangle2(),s=this.getRect1(),l=this.getRect2(),h=0;h<t.length;h++){var p=t[h][0],d=t[h][1],f=[];if(p){var g=this.getExtremes(p);if(this.isInside(g,s)||this.isOutside(g,s))this.isInside(g,s)&&f.push([p,d]);else{var y=this.clip(p,n),m=this.clip(d,n);f.push([y,m])}if(this.isInside(g,l)||this.isOutside(g,l))this.isInside(g,l)&&f.push([p,d]);else{var v=this.clip(p,r),b=this.clip(d,r);f.push([v,b])}}try{for(var _=u(f),P=_.next();!P.done;P=_.next()){var M=P.value;o.push(M)}}catch(t){e={error:t}}finally{try{P&&!P.done&&(i=_.return)&&i.call(_)}finally{if(e)throw e.error}}}for(h=0;h<o.length;h++){if(p=o[h][0])for(var O=p[p.length-1],j=0;j<p.length;j++){var x=p[j];if(a.round(x.longitude,4)==a.round(O.longitude,4)){var w=Math.abs(2*(O.latitude-x.latitude)),L=[];if(w>1){for(var S=1;S<w;S++)L.push({longitude:O.longitude,latitude:O.latitude+(x.latitude-O.latitude)/w*S});p.splice.apply(p,c([j,0],L)),j+=L.length}}O=x}}return o}},e}(n.a);r.b.registeredClasses.Orthographic=h},77:function(t,e,i){"use strict";i.d(e,"a",function(){return s});var o=i(0),n=i(3),r=i(143),a=this&&this.__values||function(t){var e="function"==typeof Symbol&&t[Symbol.iterator],i=0;return e?e.call(t):{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}}},s=function(){function t(){this.deltaLongitude=0,this.deltaLatitude=0,this.deltaGama=0,this.centerPoint={x:0,y:0},this.scale=1}return t.prototype.projectGeoArea=function(t){var e=this.clipGeoArea(t);return this.convertGeoArea(e)},t.prototype.projectGeoLine=function(t){return this.convertGeoLine(this.clipGeoLine(t))},t.prototype.getClipRectangle1=function(){var t=r.wrapAngleTo180(180-this.deltaLongitude),e=r.wrapAngleTo180(this.deltaLatitude);return[{longitude:-180,latitude:e-90},{longitude:t-1e-5,latitude:e-90},{longitude:t-1e-5,latitude:e+90},{longitude:-180,latitude:e+90}]},t.prototype.getClipRectangle2=function(){var t=r.wrapAngleTo180(180-this.deltaLongitude);return[{longitude:t+1e-5,latitude:-90},{longitude:180,latitude:-90},{longitude:180,latitude:90},{longitude:t+1e-5,latitude:90}]},t.prototype.getRect1=function(){var t=r.wrapAngleTo180(180-this.deltaLongitude),e=r.wrapAngleTo180(this.deltaLatitude);return{north:e+90,south:e-90,west:t-180,east:t}},t.prototype.getRect2=function(){var t=r.wrapAngleTo180(180-this.deltaLongitude),e=r.wrapAngleTo180(this.deltaLatitude);return{north:e+90,south:e-90,west:t,east:t+180}},t.prototype.clipGeoLine=function(t){if(t){for(var e=[],i=this.getClipRectangle1(),o=this.getClipRectangle2(),n=0;n<t.length;n++){var r=t[n];if(r){var a=this.clipLine(r,i);if(e=e.concat(a),0!=this.deltaLongitude){var s=this.clipLine(r,o);e=e.concat(s)}}}return e}},t.prototype.clipGeoArea=function(t){if(t){for(var e,i,o=[],n=this.getClipRectangle1(),r=this.getClipRectangle2(),s=this.getRect1(),u=this.getRect2(),l=0;l<t.length;l++){var c=t[l][0],h=t[l][1],p=[];if(c){var d=this.getExtremes(c);if(this.isInside(d,s)||this.isOutside(d,s))p.push([c,h]);else{var f=this.clip(c,n),g=this.clip(h,n);p.push([f,g])}if(!this.isInside(d,u)&&!this.isOutside(d,u)){var y=this.clip(c,r),m=this.clip(h,r);p.push([y,m])}}try{for(var v=a(p),b=v.next();!b.done;b=v.next()){var _=b.value;o.push(_)}}catch(t){e={error:t}}finally{try{b&&!b.done&&(i=v.return)&&i.call(v)}finally{if(e)throw e.error}}}return o}},t.prototype.convertGeoArea=function(t){if(t){for(var e=[],i=0;i<t.length;i++){var o=t[i][0],n=t[i][1],r=[];if(o){for(var a=[],s=0;s<o.length;s++){var u=this.convert(o[s]);a.push(u)}r.push(a)}if(n){var l=[];for(s=0;s<n.length;s++){u=this.convert(n[s]);l.push(u)}r.push(l)}e.push(r)}return e}},t.prototype.convertGeoLine=function(t){if(t){for(var e=[],i=0;i<t.length;i++){for(var o=t[i],n=[],r=0;r<o.length;r++){var a=o[r],s=this.convert(a);n.push(s)}e.push(n)}return e}},t.prototype.convert=function(t){t=r.normalizePoint(t),t=this.rotate(t,this.deltaLongitude,this.deltaLatitude,this.deltaGama);var e=this.project(t.longitude*n.RADIANS,t.latitude*n.RADIANS);return{x:n.round(e.x*n.DEGREES-this.centerPoint.x,2)*this.scale,y:n.round(-e.y*n.DEGREES-this.centerPoint.y,2)*this.scale}},t.prototype.invert=function(t){var e=this.unproject((t.x/this.scale+this.centerPoint.x)*n.RADIANS,(-t.y/this.scale-this.centerPoint.y)*n.RADIANS),i={longitude:e.longitude*n.DEGREES,latitude:e.latitude*n.DEGREES};return i=this.unrotate(i,this.deltaLongitude,this.deltaLatitude,this.deltaGama)},t.prototype.project=function(t,e){return{x:t,y:e}},t.prototype.unproject=function(t,e){return{longitude:t,latitude:e}},t.prototype.rotate=function(t,e,i,o){var r=e*n.RADIANS,a=i*n.RADIANS;o*=n.RADIANS;var s=t.longitude*n.RADIANS+r,u=t.latitude*n.RADIANS,l=Math.cos(a),c=Math.sin(a),h=Math.cos(o),p=Math.sin(o),d=Math.cos(u),f=Math.cos(s)*d,g=Math.sin(s)*d,y=Math.sin(u),m=y*l+f*c;return{longitude:n.DEGREES*Math.atan2(g*h-m*p,f*l-y*c),latitude:n.DEGREES*Math.asin(m*h+g*p)}},t.prototype.unrotate=function(t,e,i,o){var r=e*n.RADIANS,a=i*n.RADIANS;o*=n.RADIANS;var s=t.longitude*n.RADIANS-r,u=t.latitude*n.RADIANS,l=Math.cos(a),c=Math.sin(a),h=Math.cos(o),p=Math.sin(o),d=Math.cos(u),f=Math.cos(s)*d,g=Math.sin(s)*d,y=Math.sin(u),m=y*h-g*p;return{longitude:n.DEGREES*Math.atan2(g*h+y*p,f*l+m*c),latitude:n.DEGREES*Math.asin(m*l-f*c)}},t.prototype.clipLine=function(t,e){if(t&&0!=t.length){var i,o,n,r,a=function(t){return(o.longitude-i.longitude)*(t.latitude-i.latitude)>(o.latitude-i.latitude)*(t.longitude-i.longitude)},s=function(){var t=i.longitude-o.longitude,e=i.latitude-o.latitude,a=n.longitude-r.longitude,s=n.latitude-r.latitude,u=i.longitude*o.latitude-i.latitude*o.longitude,l=n.longitude*r.latitude-n.latitude*r.longitude,c=1/(t*s-e*a);return{longitude:(u*a-l*t)*c,latitude:(u*s-l*e)*c}},u=t;for(var l in i=e[e.length-1],e){o=e[l];var c=u;u=[],n=c[0];for(var h=0;h<c.length;h++)a(r=c[h])?(a(n)||u.push(s()),u.push(r)):a(n)&&u.push(s()),n=r;i=o}return[u]}},t.prototype.clip=function(t,e){if(t&&0!=t.length){var i,o,n,r,a=function(t){return(o.longitude-i.longitude)*(t.latitude-i.latitude)>(o.latitude-i.latitude)*(t.longitude-i.longitude)},s=function(){var t=i.longitude-o.longitude,e=i.latitude-o.latitude,a=n.longitude-r.longitude,s=n.latitude-r.latitude,u=i.longitude*o.latitude-i.latitude*o.longitude,l=n.longitude*r.latitude-n.latitude*r.longitude,c=1/(t*s-e*a);return{longitude:(u*a-l*t)*c,latitude:(u*s-l*e)*c}},u=t;for(var l in i=e[e.length-1],e){o=e[l];var c=u;for(var h in u=[],n=c[c.length-1],c)a(r=c[h])?(a(n)||u.push(s()),u.push(r)):a(n)&&u.push(s()),n=r;i=o}return u}},t.prototype.getExtremes=function(t){for(var e=t[0].longitude,i=t[0].longitude,o=t[0].latitude,n=t[0].latitude,r=0;r<t.length;r++){var a=t[r].longitude,s=t[r].latitude;e>a&&(e=a),i<a&&(i=a),o<s&&(o=s),n>s&&(n=s)}return{north:o,east:i,south:n,west:e}},t.prototype.isInside=function(t,e){return t.north<e.north&&t.south>e.south&&t.west>e.west&&t.east<e.east},t.prototype.isOutside=function(t,e){return t.south>e.north||t.north<e.south||t.west>e.east||t.east<e.west},t.prototype.intermediatePoint=function(t,e,i){var o=t.latitude*n.RADIANS,r=t.longitude*n.RADIANS,a=e.latitude*n.RADIANS,s=e.longitude*n.RADIANS,u=Math.sin(o),l=Math.cos(o),c=Math.sin(r),h=Math.cos(r),p=Math.sin(a),d=Math.cos(a),f=Math.sin(s),g=Math.cos(s),y=a-o,m=s-r,v=Math.sin(y/2)*Math.sin(y/2)+Math.cos(o)*Math.cos(a)*Math.sin(m/2)*Math.sin(m/2),b=2*Math.atan2(Math.sqrt(v),Math.sqrt(1-v)),_=Math.sin((1-i)*b)/Math.sin(b),P=Math.sin(i*b)/Math.sin(b),M=_*l*h+P*d*g,O=_*l*c+P*d*f,j=_*u+P*p,x=Math.atan2(j,Math.sqrt(M*M+O*O)),w=Math.atan2(O,M);return{latitude:x*n.DEGREES,longitude:w*n.DEGREES}},t}();o.b.registeredClasses.Projection=s}},[533]);
//# sourceMappingURL=maps.js.map