/* Highcharts JS v6.1.3 (2018-09-12) (c) 2009-2016 Torstein Honsi License: www.highcharts.com/license */ (function(w){"object"===typeof module&&module.exports?module.exports=w:"function"===typeof define&&define.amd?define(function(){return w}):w(Highcharts)})(function(w){(function(a){function p(a,b){this.init(a,b)}var v=a.CenteredSeriesMixin,u=a.each,q=a.extend,r=a.merge,h=a.splat;q(p.prototype,{coll:"pane",init:function(a,b){this.chart=b;this.background=[];b.pane.push(this);this.setOptions(a)},setOptions:function(a){this.options=r(this.defaultOptions,this.chart.angular?{background:{}}:void 0,a)},render:function(){var a= this.options,b=this.options.background,c=this.chart.renderer;this.group||(this.group=c.g("pane-group").attr({zIndex:a.zIndex||0}).add());this.updateCenter();if(b)for(b=h(b),a=Math.max(b.length,this.background.length||0),c=0;cd.len*d.tickInterval/(d.max-d.min)&&(g=0),l=n>g&&n<180-g?"left":n>180+g&&n<360-g?"right":"center"):l="center",e.attr({align:l})),c.pos.x=k.x+a.x,c.pos.y=k.y+f)}),g(l,"getMarkPath",function(b,c,d,e,a,f,k){var g=this.axis;g.isRadial?(b=g.getPosition(this.pos,g.center[2]/2+e),c=["M",c,d,"L",b.x,b.y]):c=b.call(this,c,d,e,a,f,k);return c}))})(w);(function(a){var p=a.each,v=a.pick,u=a.defined,q=a.seriesType,r= a.seriesTypes,h=a.Series.prototype,m=a.Point.prototype;q("arearange","area",{lineWidth:1,threshold:null,tooltip:{pointFormat:'\x3cspan style\x3d"color:{series.color}"\x3e\u25cf\x3c/span\x3e {series.name}: \x3cb\x3e{point.low}\x3c/b\x3e - \x3cb\x3e{point.high}\x3c/b\x3e\x3cbr/\x3e'},trackByArea:!0,dataLabels:{align:null,verticalAlign:null,xLow:0,xHigh:0,yLow:0,yHigh:0}},{pointArrayMap:["low","high"],dataLabelCollections:["dataLabel","dataLabelUpper"],toYData:function(b){return[b.low,b.high]},pointValKey:"low", deferTranslatePolar:!0,highToXY:function(b){var c=this.chart,d=this.xAxis.postTranslate(b.rectPlotX,this.yAxis.len-b.plotHigh);b.plotHighX=d.x-c.plotLeft;b.plotHigh=d.y-c.plotTop;b.plotLowX=b.plotX},translate:function(){var b=this,c=b.yAxis,d=!!b.modifyValue;r.area.prototype.translate.apply(b);p(b.points,function(a){var e=a.low,f=a.high,k=a.plotY;null===f||null===e?(a.isNull=!0,a.plotY=null):(a.plotLow=k,a.plotHigh=c.translate(d?b.modifyValue(f,a):f,0,1,0,1),d&&(a.yBottom=a.plotHigh))});this.chart.polar&& p(this.points,function(c){b.highToXY(c);c.tooltipPos=[(c.plotHighX+c.plotLowX)/2,(c.plotHigh+c.plotLow)/2]})},getGraphPath:function(b){var c=[],d=[],a,e=r.area.prototype.getGraphPath,f,k,t;t=this.options;var l=this.chart.polar&&!1!==t.connectEnds,n=t.connectNulls,x=t.step;b=b||this.points;for(a=b.length;a--;)f=b[a],f.isNull||l||n||b[a+1]&&!b[a+1].isNull||d.push({plotX:f.plotX,plotY:f.plotY,doCurve:!1}),k={polarPlotY:f.polarPlotY,rectPlotX:f.rectPlotX,yBottom:f.yBottom,plotX:v(f.plotHighX,f.plotX), plotY:f.plotHigh,isNull:f.isNull},d.push(k),c.push(k),f.isNull||l||n||b[a-1]&&!b[a-1].isNull||d.push({plotX:f.plotX,plotY:f.plotY,doCurve:!1});b=e.call(this,b);x&&(!0===x&&(x="left"),t.step={left:"right",center:"center",right:"left"}[x]);c=e.call(this,c);d=e.call(this,d);t.step=x;t=[].concat(b,c);this.chart.polar||"M"!==d[0]||(d[0]="L");this.graphPath=t;this.areaPath=b.concat(d);t.isArea=!0;t.xMap=b.xMap;this.areaPath.xMap=b.xMap;return t},drawDataLabels:function(){var b=this.data,c=b.length,d,a= [],e=this.options.dataLabels,f=e.align,k=e.verticalAlign,t=e.inside,l,n,x=this.chart.inverted;if(e.enabled||this._hasPointLabels){for(d=c;d--;)if(l=b[d])n=t?l.plotHighl.plotLow,l.y=l.high,l._plotY=l.plotY,l.plotY=l.plotHigh,a[d]=l.dataLabel,l.dataLabel=l.dataLabelUpper,l.below=n,x?f||(e.align=n?"right":"left"):k||(e.verticalAlign=n?"top":"bottom"),e.x=e.xHigh,e.y=e.yHigh;h.drawDataLabels&&h.drawDataLabels.apply(this,arguments);for(d=c;d--;)if(l=b[d])n=t?l.plotHighl.plotLow,l.dataLabelUpper=l.dataLabel,l.dataLabel=a[d],l.y=l.low,l.plotY=l._plotY,l.below=!n,x?f||(e.align=n?"left":"right"):k||(e.verticalAlign=n?"bottom":"top"),e.x=e.xLow,e.y=e.yLow;h.drawDataLabels&&h.drawDataLabels.apply(this,arguments)}e.align=f;e.verticalAlign=k},alignDataLabel:function(){r.column.prototype.alignDataLabel.apply(this,arguments)},drawPoints:function(){var b=this.points.length,c,d;h.drawPoints.apply(this,arguments);for(d=0;dy&&(y*=-1,h-=y);k?(e=g.barX+a,g.shapeType="path",g.shapeArgs={d:b.polarArc(h+y,h,e,e+g.pointWidth)}):(n.height=y,n.y=h,g.tooltipPos=f.inverted?[c.len+c.pos-f.plotLeft-h-y/2,d.len+d.pos-f.plotTop-n.x-n.width/2,y]:[d.left-f.plotLeft+n.x+n.width/2,c.pos-f.plotTop+h+y/2,y])})},directTouch:!0,trackerGroups:["group","dataLabelsGroup"],drawGraph:q,getSymbol:q,crispCol:m.crispCol,drawPoints:m.drawPoints,drawTracker:m.drawTracker, getColumnMetrics:m.getColumnMetrics,pointAttribs:m.pointAttribs,animate:function(){return m.animate.apply(this,arguments)},polarArc:function(){return m.polarArc.apply(this,arguments)},translate3dPoints:function(){return m.translate3dPoints.apply(this,arguments)},translate3dShapes:function(){return m.translate3dShapes.apply(this,arguments)}},{setState:m.pointClass.prototype.setState})})(w);(function(a){var p=a.each,v=a.isNumber,u=a.merge,q=a.pick,r=a.pInt,h=a.Series,m=a.seriesType,b=a.TrackerMixin; m("gauge","line",{dataLabels:{enabled:!0,defer:!1,y:15,borderRadius:3,crop:!1,verticalAlign:"top",zIndex:2,borderWidth:1,borderColor:"#cccccc"},dial:{},pivot:{},tooltip:{headerFormat:""},showInLegend:!1},{angular:!0,directTouch:!0,drawGraph:a.noop,fixedBox:!0,forceDL:!0,noSharedTooltip:!0,trackerGroups:["group","dataLabelsGroup"],translate:function(){var b=this.yAxis,d=this.options,a=b.center;this.generatePoints();p(this.points,function(c){var e=u(d.dial,c.dial),k=r(q(e.radius,80))*a[2]/200,g=r(q(e.baseLength, 70))*k/100,l=r(q(e.rearLength,10))*k/100,n=e.baseWidth||3,x=e.topWidth||1,h=d.overshoot,m=b.startAngleRad+b.translate(c.y,null,null,null,!0);v(h)?(h=h/180*Math.PI,m=Math.max(b.startAngleRad-h,Math.min(b.endAngleRad+h,m))):!1===d.wrap&&(m=Math.max(b.startAngleRad,Math.min(b.endAngleRad,m)));m=180*m/Math.PI;c.shapeType="path";c.shapeArgs={d:e.path||["M",-l,-n/2,"L",g,-n/2,k,-x/2,k,x/2,g,n/2,-l,n/2,"z"],translateX:a[0],translateY:a[1],rotation:m};c.plotX=a[0];c.plotY=a[1]})},drawPoints:function(){var b= this,d=b.yAxis.center,a=b.pivot,e=b.options,f=e.pivot,k=b.chart.renderer;p(b.points,function(c){var d=c.graphic,a=c.shapeArgs,f=a.d,g=u(e.dial,c.dial);d?(d.animate(a),a.d=f):(c.graphic=k[c.shapeType](a).attr({rotation:a.rotation,zIndex:1}).addClass("highcharts-dial").add(b.group),c.graphic.attr({stroke:g.borderColor||"none","stroke-width":g.borderWidth||0,fill:g.backgroundColor||"#000000"}))});a?a.animate({translateX:d[0],translateY:d[1]}):(b.pivot=k.circle(0,0,q(f.radius,5)).attr({zIndex:2}).addClass("highcharts-pivot").translate(d[0], d[1]).add(b.group),b.pivot.attr({"stroke-width":f.borderWidth||0,stroke:f.borderColor||"#cccccc",fill:f.backgroundColor||"#000000"}))},animate:function(b){var c=this;b||(p(c.points,function(b){var a=b.graphic;a&&(a.attr({rotation:180*c.yAxis.startAngleRad/Math.PI}),a.animate({rotation:b.shapeArgs.rotation},c.options.animation))}),c.animate=null)},render:function(){this.group=this.plotGroup("group","series",this.visible?"visible":"hidden",this.options.zIndex,this.chart.seriesGroup);h.prototype.render.call(this); this.group.clip(this.chart.clipRect)},setData:function(b,a){h.prototype.setData.call(this,b,!1);this.processData();this.generatePoints();q(a,!0)&&this.chart.redraw()},drawTracker:b&&b.drawTrackerPoint},{setState:function(b){this.state=b}})})(w);(function(a){var p=a.each,v=a.noop,u=a.pick,q=a.seriesType,r=a.seriesTypes;q("boxplot","column",{threshold:null,tooltip:{pointFormat:'\x3cspan style\x3d"color:{point.color}"\x3e\u25cf\x3c/span\x3e \x3cb\x3e {series.name}\x3c/b\x3e\x3cbr/\x3eMaximum: {point.high}\x3cbr/\x3eUpper quartile: {point.q3}\x3cbr/\x3eMedian: {point.median}\x3cbr/\x3eLower quartile: {point.q1}\x3cbr/\x3eMinimum: {point.low}\x3cbr/\x3e'}, whiskerLength:"50%",fillColor:"#ffffff",lineWidth:1,medianWidth:2,whiskerWidth:2},{pointArrayMap:["low","q1","median","q3","high"],toYData:function(a){return[a.low,a.q1,a.median,a.q3,a.high]},pointValKey:"high",pointAttribs:function(){return{}},drawDataLabels:v,translate:function(){var a=this.yAxis,m=this.pointArrayMap;r.column.prototype.translate.apply(this);p(this.points,function(b){p(m,function(c){null!==b[c]&&(b[c+"Plot"]=a.translate(b[c],0,1,0,1))})})},drawPoints:function(){var a=this,m=a.options, b=a.chart.renderer,c,d,g,e,f,k,t=0,l,n,x,r,q=!1!==a.doQuartiles,v,z=a.options.whiskerLength;p(a.points,function(h){var p=h.graphic,y=p?"animate":"attr",B=h.shapeArgs,w={},D={},I={},J={},C=h.color||a.color;void 0!==h.plotY&&(l=B.width,n=Math.floor(B.x),x=n+l,r=Math.round(l/2),c=Math.floor(q?h.q1Plot:h.lowPlot),d=Math.floor(q?h.q3Plot:h.lowPlot),g=Math.floor(h.highPlot),e=Math.floor(h.lowPlot),p||(h.graphic=p=b.g("point").add(a.group),h.stem=b.path().addClass("highcharts-boxplot-stem").add(p),z&&(h.whiskers= b.path().addClass("highcharts-boxplot-whisker").add(p)),q&&(h.box=b.path(void 0).addClass("highcharts-boxplot-box").add(p)),h.medianShape=b.path(void 0).addClass("highcharts-boxplot-median").add(p)),D.stroke=h.stemColor||m.stemColor||C,D["stroke-width"]=u(h.stemWidth,m.stemWidth,m.lineWidth),D.dashstyle=h.stemDashStyle||m.stemDashStyle,h.stem.attr(D),z&&(I.stroke=h.whiskerColor||m.whiskerColor||C,I["stroke-width"]=u(h.whiskerWidth,m.whiskerWidth,m.lineWidth),h.whiskers.attr(I)),q&&(w.fill=h.fillColor|| m.fillColor||C,w.stroke=m.lineColor||C,w["stroke-width"]=m.lineWidth||0,h.box.attr(w)),J.stroke=h.medianColor||m.medianColor||C,J["stroke-width"]=u(h.medianWidth,m.medianWidth,m.lineWidth),h.medianShape.attr(J),k=h.stem.strokeWidth()%2/2,t=n+r+k,h.stem[y]({d:["M",t,d,"L",t,g,"M",t,c,"L",t,e]}),q&&(k=h.box.strokeWidth()%2/2,c=Math.floor(c)+k,d=Math.floor(d)+k,n+=k,x+=k,h.box[y]({d:["M",n,d,"L",n,c,"L",x,c,"L",x,d,"L",n,d,"z"]})),z&&(k=h.whiskers.strokeWidth()%2/2,g+=k,e+=k,v=/%$/.test(z)?r*parseFloat(z)/ 100:z/2,h.whiskers[y]({d:["M",t-v,g,"L",t+v,g,"M",t-v,e,"L",t+v,e]})),f=Math.round(h.medianPlot),k=h.medianShape.strokeWidth()%2/2,f+=k,h.medianShape[y]({d:["M",n,f,"L",x,f]}))})},setStackedPoints:v})})(w);(function(a){var p=a.each,v=a.noop,u=a.seriesType,q=a.seriesTypes;u("errorbar","boxplot",{color:"#000000",grouping:!1,linkedTo:":previous",tooltip:{pointFormat:'\x3cspan style\x3d"color:{point.color}"\x3e\u25cf\x3c/span\x3e {series.name}: \x3cb\x3e{point.low}\x3c/b\x3e - \x3cb\x3e{point.high}\x3c/b\x3e\x3cbr/\x3e'}, whiskerWidth:null},{type:"errorbar",pointArrayMap:["low","high"],toYData:function(a){return[a.low,a.high]},pointValKey:"high",doQuartiles:!1,drawDataLabels:q.arearange?function(){var a=this.pointValKey;q.arearange.prototype.drawDataLabels.call(this);p(this.data,function(h){h.y=h[a]})}:v,getColumnMetrics:function(){return this.linkedParent&&this.linkedParent.columnMetrics||q.column.prototype.getColumnMetrics.call(this)}})})(w);(function(a){var p=a.correctFloat,v=a.isNumber,u=a.pick,q=a.Point,r=a.Series, h=a.seriesType,m=a.seriesTypes;h("waterfall","column",{dataLabels:{inside:!0},lineWidth:1,lineColor:"#333333",dashStyle:"dot",borderColor:"#333333",states:{hover:{lineWidthPlus:0}}},{pointValKey:"y",showLine:!0,generatePoints:function(){var b=this.options.threshold,c,a,g,e;m.column.prototype.generatePoints.apply(this);g=0;for(a=this.points.length;gf.height&&(f.y+=f.height,f.height*=-1),e.plotY=f.y=Math.round(f.y)-this.borderWidth%2/2,f.height=Math.max(Math.round(f.height),.001),e.yBottom=f.y+f.height,f.height<=p&&!e.isNull?(f.height=p,f.y-=r,e.plotY=f.y,e.minPointLengthOffset=0>e.y?-r:r):(e.isNull&&(f.width=0),e.minPointLengthOffset= 0),f=e.plotY+(e.negative?f.height:0),this.chart.inverted?e.tooltipPos[0]=c.len-f:e.tooltipPos[1]=f},processData:function(b){var c=this.yData,a=this.options.data,g,e=c.length,f,k,t,l,n,h;k=f=t=l=this.options.threshold||0;for(h=0;hb[l-1].y&&!e||0=this.minPxSize/2?(e.marker=a.extend(e.marker,{radius:d,width:2*d,height:2*d}),e.dlBox={x:e.plotX-d,y:e.plotY-d,width:2*d,height:2*d}):e.shapeArgs=e.plotY=e.dlBox=void 0},alignDataLabel:f.column.prototype.alignDataLabel,buildKDTree:m,applyZones:m},{haloPath:function(b){return d.prototype.haloPath.call(this,0===b?0:(this.marker?this.marker.radius||0:0)+b)}, ttBelow:!1});u.prototype.beforePadding=function(){var e=this,d=this.len,f=this.chart,g=0,m=d,q=this.isXAxis,u=q?"xData":"yData",w=this.min,z={},K=Math.min(f.plotWidth,f.plotHeight),A=Number.MAX_VALUE,F=-Number.MAX_VALUE,G=this.max-w,E=d/G,H=[];r(this.series,function(d){var g=d.options;!d.bubblePadding||!d.visible&&f.options.chart.ignoreHiddenSeries||(e.allowZoomOutside=!0,H.push(d),q&&(r(["minSize","maxSize"],function(b){var a=g[b],d=/%$/.test(a),a=c(a);z[b]=d?K*a/100:a}),d.minPxSize=z.minSize,d.maxPxSize= Math.max(z.maxSize,z.minSize),d=a.grep(d.zData,a.isNumber),d.length&&(A=b(g.zMin,Math.min(A,Math.max(v(d),!1===g.displayNegative?g.zThreshold:-Number.MAX_VALUE))),F=b(g.zMax,Math.max(F,p(d))))))});r(H,function(b){var a=b[u],c=a.length,d;q&&b.getRadii(A,F,b.minPxSize,b.maxPxSize);if(0a?b.length- 1+a:0;a=0>c-1?b.length-(1+f):c-1;f=c+1>b.length-1?f:c+1;k=b[a];f=b[f];h=k.plotX;k=k.plotY;l=f.plotX;n=f.plotY;f=b[c].plotX;c=b[c].plotY;h=(1.5*f+h)/2.5;k=(1.5*c+k)/2.5;l=(1.5*f+l)/2.5;m=(1.5*c+n)/2.5;n=Math.sqrt(Math.pow(h-f,2)+Math.pow(k-c,2));p=Math.sqrt(Math.pow(l-f,2)+Math.pow(m-c,2));h=Math.atan2(k-c,h-f);m=Math.PI/2+(h+Math.atan2(m-c,l-f))/2;Math.abs(h-m)>Math.PI/2&&(m-=Math.PI);h=f+Math.cos(m)*n;k=c+Math.sin(m)*n;l=f+Math.cos(Math.PI+m)*p;m=c+Math.sin(Math.PI+m)*p;f={rightContX:l,rightContY:m, leftContX:h,leftContY:k,plotX:f,plotY:c};d&&(f.prevPointCont=this.getConnectors(b,a,!1,g));return f},r(h,"buildKDTree",function(b){this.chart.polar&&(this.kdByAngle?this.searchPoint=this.searchPointByAngle:this.options.findNearestPointBy="xy");b.apply(this)}),h.toXY=function(b){var a,d=this.chart,g=b.plotX;a=b.plotY;b.rectPlotX=g;b.rectPlotY=a;a=this.xAxis.postTranslate(b.plotX,this.yAxis.len-a);b.plotX=b.polarPlotX=a.x-d.plotLeft;b.plotY=b.polarPlotY=a.y-d.plotTop;this.kdByAngle?(d=(g/Math.PI*180+ this.xAxis.pane.options.startAngle)%360,0>d&&(d+=360),b.clientX=d):b.clientX=b.plotX},q.spline&&(r(q.spline.prototype,"getPointSpline",function(b,a,d,g){this.chart.polar?g?(b=this.getConnectors(a,g,!0,this.connectEnds),b=["C",b.prevPointCont.rightContX,b.prevPointCont.rightContY,b.leftContX,b.leftContY,b.plotX,b.plotY]):b=["M",d.plotX,d.plotY]:b=b.call(this,a,d,g);return b}),q.areasplinerange&&(q.areasplinerange.prototype.getPointSpline=q.spline.prototype.getPointSpline)),a.addEvent(u,"afterTranslate", function(){var b=this.chart,c,d;if(b.polar){this.kdByAngle=b.tooltip&&b.tooltip.shared;if(!this.preventPostTranslate)for(c=this.points,d=c.length;d--;)this.toXY(c[d]);this.hasClipCircleSetter||(this.hasClipCircleSetter=!!a.addEvent(this,"afterRender",function(){var c;b.polar&&(c=this.yAxis.center,this.group.clip(b.renderer.clipCircle(c[0],c[1],c[2]/2)),this.setClip=a.noop)}))}},{order:2}),r(h,"getGraphPath",function(b,a){var c=this,g,e,f;if(this.chart.polar){a=a||this.points;for(g=0;ga.center[1]}),r(q,"alignDataLabel",function(a,c,d,g,e,f){this.chart.polar?(a=c.rectPlotX/Math.PI*180,null===g.align&&(g.align=20a?"left":200a?"right":"center"),null===g.verticalAlign&&(g.verticalAlign=45>a||315a?"top":"middle"),h.alignDataLabel.call(this,c,d,g,e,f)):a.call(this,c,d,g,e,f)})),r(m,"getCoordinates", function(a,c){var b=this.chart,g={xAxis:[],yAxis:[]};b.polar?p(b.axes,function(a){var d=a.isXAxis,e=a.center,h=c.chartX-e[0]-b.plotLeft,e=c.chartY-e[1]-b.plotTop;g[d?"xAxis":"yAxis"].push({axis:a,value:a.translate(d?Math.PI-Math.atan2(h,e):Math.sqrt(Math.pow(h,2)+Math.pow(e,2)),!0)})}):g=a.call(this,c);return g}),a.SVGRenderer.prototype.clipCircle=function(b,c,d){var g=a.uniqueKey(),e=this.createElement("clipPath").attr({id:g}).add(this.defs);b=this.circle(b,c,d).add(e);b.id=g;b.clipPath=e;return b}, a.addEvent(a.Chart,"getAxes",function(){this.pane||(this.pane=[]);p(a.splat(this.options.pane),function(b){new a.Pane(b,this)},this)}),a.addEvent(a.Chart,"afterDrawChartBox",function(){p(this.pane,function(a){a.render()})}),r(a.Chart.prototype,"get",function(b,c){return a.find(this.pane,function(a){return a.options.id===c})||b.call(this,c)}))})(w)}); //# sourceMappingURL=highcharts-more.js.map