!function(x){function t(){}var g,e=x.Axis,o=x.Chart,l=x.Point,a=x.Pointer,f=x.each,s=x.extend,h=x.merge,y=x.pick,b=x.numberFormat,i=x.getOptions(),M=x.seriesTypes,n=i.plotOptions,r=x.wrap,u=x.Color;function v(t,e,o){for(var a=4,i=[];a--;)i[a]=Math.round(e.rgba[a]+(t.rgba[a]-e.rgba[a])*(1-o));return"rgba("+i.join(",")+")"}i.mapNavigation={buttonOptions:{align:"right",verticalAlign:"bottom",x:0,width:18,height:18,style:{fontSize:"15px",fontWeight:"bold",textAlign:"center"}},buttons:{zoomIn:{onclick:function(){this.mapZoom(.5)},text:"+",y:-32},zoomOut:{onclick:function(){this.mapZoom(2)},text:"-",y:0}}},x.splitPath=function(t){var e;for(t=(t=(t=t.replace(/([A-Za-z])/g," $1 ")).replace(/^\s*/,"").replace(/\s*$/,"")).split(/[ ,]+/),e=0;ei[e]+i[o]&&(a[o]>i[o]?(a[o]=i[o],a[e]=i[e]):a[e]=i[e]+i[o]-a[o]),a[o]>i[o]&&(a[o]=i[o]),a[e]"},states:{normal:{animation:!0}}});var p=x.extendClass(l,{applyOptions:function(t,e){var o=l.prototype.applyOptions.call(this,t,e);return o.path&&"string"==typeof o.path&&(o.path=o.options.path=x.splitPath(o.path)),o},onMouseOver:function(){clearTimeout(this.colorInterval),l.prototype.onMouseOver.call(this)},onMouseOut:function(){var o=this,a=+new Date,i=u(o.options.color),n=u(o.pointAttr.hover.fill),t=o.series.options.states.normal.animation,r=t&&(t.duration||500);r&&4===i.rgba.length&&4===n.rgba.length&&(delete o.pointAttr[""].fill,clearTimeout(o.colorInterval),o.colorInterval=setInterval(function(){var t=(new Date-a)/r,e=o.graphic;1 "),o!==g&&(e+=b(o,d)),o!==g&&a!==g&&(e+=" - "),a!==g&&(e+=b(a,d)),c.push(x.extend({chart:m.chart,name:e,options:{},drawLegendSymbol:M.area.prototype.drawLegendSymbol,visible:!0,setState:function(){},setVisible:function(){}},t))}),m.legendItems=c):r&&(o=r.from,a=r.to,i=r.fromLabel,n=r.toLabel,u||(p=i,i=n,n=p),s={linearGradient:{x1:(h=u?[0,0,1,0]:[0,1,0,0])[0],y1:h[1],x2:h[2],y2:h[3]},stops:[[0,o],[1,a]]},c=[{chart:m.chart,options:{},fromLabel:i,toLabel:n,color:s,drawLegendSymbol:this.drawLegendSymbolGradient,visible:!0,setState:function(){},setVisible:function(){}}],m.legendItems=c)},drawLegendSymbol:M.area.prototype.drawLegendSymbol,drawLegendSymbolGradient:function(t,e){var o,a,i,n,r,l=t.options.symbolPadding,s=y(t.options.padding,8),h=this.chart.renderer.fontMetrics(t.options.itemStyle.fontSize).h,p="horizontal"===t.options.layout,m=y(t.options.rectangleLength,200);a=p?(o=-l/2,0):(o=-m+t.baseline-l/2,s+h),e.fromText=this.chart.renderer.text(e.fromLabel,a,o).attr({zIndex:2}).add(e.legendGroup),i=e.fromText.getBBox(),e.legendSymbol=this.chart.renderer.rect(p?i.x+i.width+l:i.x-h-l,i.y,p?m:h,p?h:m,2).attr({zIndex:1}).add(e.legendGroup),n=e.legendSymbol.getBBox(),e.toText=this.chart.renderer.text(e.toLabel,n.x+n.width+l,p?o:n.y+n.height-l).attr({zIndex:2}).add(e.legendGroup),r=e.toText.getBBox(),p?(t.offsetWidth=i.width+n.width+r.width+2*l+s,t.itemY=h+s):(t.offsetWidth=Math.max(i.width,r.width)+l+n.width+s,t.itemY=n.height+s,t.itemX=l)},getBox:function(t){var s=Number.MIN_VALUE,h=Number.MAX_VALUE,p=Number.MIN_VALUE,m=Number.MAX_VALUE;f(t||this.options.data,function(t){for(var e=t.path,o=e.length,a=!1,i=Number.MIN_VALUE,n=Number.MAX_VALUE,r=Number.MIN_VALUE,l=Number.MAX_VALUE;o--;)"number"!=typeof e[o]||isNaN(e[o])||(a?(i=Math.max(i,e[o]),n=Math.min(n,e[o])):(r=Math.max(r,e[o]),l=Math.min(l,e[o])),a=!a);t._maxX=i,t._minX=n,t._maxY=r,t._minY=l,s=Math.max(s,i),h=Math.min(h,n),p=Math.max(p,r),m=Math.min(m,l)}),this.minY=m,this.maxY=p,this.minX=h,this.maxX=s},translatePath:function(t){var e,o=!1,a=this.xAxis,i=this.yAxis;for(e=(t=[].concat(t)).length;e--;)"number"==typeof t[e]&&(t[e]=o?Math.round(a.translate(t[e])):Math.round(i.len-i.translate(t[e])),o=!o);return t},setData:function(){x.Series.prototype.setData.apply(this,arguments),this.getBox()},translate:function(){var e=this,o=Number.MAX_VALUE,a=Number.MIN_VALUE;e.generatePoints(),f(e.data,function(t){t.shapeType="path",t.shapeArgs={d:e.translatePath(t.path)},"number"==typeof t.y&&(t.y>a?a=t.y:t.y