/*
 Highcharts JS v6.1.4 (2018-09-25)

 (c) 2009-2016 Torstein Honsi

 License: www.highcharts.com/license
*/
(function(x){"object"===typeof module&&module.exports?module.exports=x:"function"===typeof define&&define.amd?define(function(){return x}):x(Highcharts)})(function(x){(function(b){function h(b,a){this.init(b,a)}var v=b.CenteredSeriesMixin,u=b.each,l=b.extend,r=b.merge,t=b.splat;l(h.prototype,{coll:"pane",init:function(b,a){this.chart=a;this.background=[];a.pane.push(this);this.setOptions(b)},setOptions:function(b){this.options=r(this.defaultOptions,this.chart.angular?{background:{}}:void 0,b)},render:function(){var b=
this.options,a=this.options.background,c=this.chart.renderer;this.group||(this.group=c.g("pane-group").attr({zIndex:b.zIndex||0}).add());this.updateCenter();if(a)for(a=t(a),b=Math.max(a.length,this.background.length||0),c=0;c<b;c++)a[c]&&this.axis?this.renderBackground(r(this.defaultBackgroundOptions,a[c]),c):this.background[c]&&(this.background[c]=this.background[c].destroy(),this.background.splice(c,1))},renderBackground:function(b,a){var c="animate";this.background[a]||(this.background[a]=this.chart.renderer.path().add(this.group),
c="attr");this.background[a][c]({d:this.axis.getPlotBandPath(b.from,b.to,b)}).attr({"class":"highcharts-pane "+(b.className||"")})},defaultOptions:{center:["50%","50%"],size:"85%",startAngle:0},defaultBackgroundOptions:{shape:"circle",from:-Number.MAX_VALUE,innerRadius:0,to:Number.MAX_VALUE,outerRadius:"105%"},updateCenter:function(b){this.center=(b||this.axis||{}).center=v.getCenter.call(this)},update:function(b,a){r(!0,this.options,b);this.setOptions(this.options);this.render();u(this.chart.axes,
function(c){c.pane===this&&(c.pane=null,c.update({},a))},this)}});b.Pane=h})(x);(function(b){var h=b.addEvent,v=b.Axis,u=b.each,l=b.extend,r=b.map,t=b.merge,p=b.noop,a=b.pick,c=b.pInt,f=b.Tick,g=b.wrap,d=b.correctFloat,e,n,m=v.prototype,k=f.prototype;b.radialAxisExtended||(b.radialAxisExtended=!0,e={getOffset:p,redraw:function(){this.isDirty=!1},render:function(){this.isDirty=!1},setScale:p,setCategories:p,setTitle:p},n={defaultRadialGaugeOptions:{labels:{align:"center",x:0,y:null},minorGridLineWidth:0,
minorTickInterval:"auto",minorTickLength:10,minorTickPosition:"inside",minorTickWidth:1,tickLength:10,tickPosition:"inside",tickWidth:2,title:{rotation:0},zIndex:2},defaultRadialXOptions:{gridLineWidth:1,labels:{align:null,distance:15,x:0,y:null,style:{textOverflow:"none"}},maxPadding:0,minPadding:0,showLastLabel:!1,tickLength:0},defaultRadialYOptions:{gridLineInterpolation:"circle",labels:{align:"right",x:-3,y:-2},showLastLabel:!1,title:{x:4,text:null,rotation:90}},setOptions:function(a){a=this.options=
t(this.defaultOptions,this.defaultRadialOptions,a);a.plotBands||(a.plotBands=[]);b.fireEvent(this,"afterSetOptions")},getOffset:function(){m.getOffset.call(this);this.chart.axisOffset[this.side]=0},getLinePath:function(c,d){c=this.center;var e=this.chart,f=a(d,c[2]/2-this.offset);this.isCircular||void 0!==d?(d=this.chart.renderer.symbols.arc(this.left+c[0],this.top+c[1],f,f,{start:this.startAngleRad,end:this.endAngleRad,open:!0,innerR:0}),d.xBounds=[this.left+c[0]],d.yBounds=[this.top+c[1]-f]):(d=
this.postTranslate(this.angleRad,f),d=["M",c[0]+e.plotLeft,c[1]+e.plotTop,"L",d.x,d.y]);return d},setAxisTranslation:function(){m.setAxisTranslation.call(this);this.center&&(this.transA=this.isCircular?(this.endAngleRad-this.startAngleRad)/(this.max-this.min||1):this.center[2]/2/(this.max-this.min||1),this.minPixelPadding=this.isXAxis?this.transA*this.minPointOffset:0)},beforeSetTickPositions:function(){if(this.autoConnect=this.isCircular&&void 0===a(this.userMax,this.options.max)&&d(this.endAngleRad-
this.startAngleRad)===d(2*Math.PI))this.max+=this.categories&&1||this.pointRange||this.closestPointRange||0},setAxisSize:function(){m.setAxisSize.call(this);this.isRadial&&(this.pane.updateCenter(this),this.isCircular&&(this.sector=this.endAngleRad-this.startAngleRad),this.len=this.width=this.height=this.center[2]*a(this.sector,1)/2)},getPosition:function(c,d){return this.postTranslate(this.isCircular?this.translate(c):this.angleRad,a(this.isCircular?d:this.translate(c),this.center[2]/2)-this.offset)},
postTranslate:function(a,c){var d=this.chart,e=this.center;a=this.startAngleRad+a;return{x:d.plotLeft+e[0]+Math.cos(a)*c,y:d.plotTop+e[1]+Math.sin(a)*c}},getPlotBandPath:function(d,e,f){var b=this.center,g=this.startAngleRad,w=b[2]/2,q=[a(f.outerRadius,"100%"),f.innerRadius,a(f.thickness,10)],n=Math.min(this.offset,0),m=/%$/,k,z=this.isCircular;"polygon"===this.options.gridLineInterpolation?b=this.getPlotLinePath(d).concat(this.getPlotLinePath(e,!0)):(d=Math.max(d,this.min),e=Math.min(e,this.max),
z||(q[0]=this.translate(d),q[1]=this.translate(e)),q=r(q,function(a){m.test(a)&&(a=c(a,10)*w/100);return a}),"circle"!==f.shape&&z?(d=g+this.translate(d),e=g+this.translate(e)):(d=-Math.PI/2,e=1.5*Math.PI,k=!0),q[0]-=n,q[2]-=n,b=this.chart.renderer.symbols.arc(this.left+b[0],this.top+b[1],q[0],q[0],{start:Math.min(d,e),end:Math.max(d,e),innerR:a(q[1],q[0]-q[2]),open:k}));return b},getPlotLinePath:function(a,c){var d=this,e=d.center,f=d.chart,b=d.getPosition(a),g,q,n;d.isCircular?n=["M",e[0]+f.plotLeft,
e[1]+f.plotTop,"L",b.x,b.y]:"circle"===d.options.gridLineInterpolation?(a=d.translate(a))&&(n=d.getLinePath(0,a)):(u(f.xAxis,function(a){a.pane===d.pane&&(g=a)}),n=[],a=d.translate(a),e=g.tickPositions,g.autoConnect&&(e=e.concat([e[0]])),c&&(e=[].concat(e).reverse()),u(e,function(c,d){q=g.getPosition(c,a);n.push(d?"L":"M",q.x,q.y)}));return n},getTitlePosition:function(){var a=this.center,c=this.chart,d=this.options.title;return{x:c.plotLeft+a[0]+(d.x||0),y:c.plotTop+a[1]-{high:.5,middle:.25,low:0}[d.align]*
a[2]+(d.y||0)}}},h(v,"init",function(a){var c=this.chart,d=c.angular,f=c.polar,b=this.isXAxis,g=d&&b,m,k=c.options;a=a.userOptions.pane||0;a=this.pane=c.pane&&c.pane[a];if(d){if(l(this,g?e:n),m=!b)this.defaultRadialOptions=this.defaultRadialGaugeOptions}else f&&(l(this,n),this.defaultRadialOptions=(m=b)?this.defaultRadialXOptions:t(this.defaultYAxisOptions,this.defaultRadialYOptions));d||f?(this.isRadial=!0,c.inverted=!1,k.chart.zoomType=null):this.isRadial=!1;a&&m&&(a.axis=this);this.isCircular=
m}),h(v,"afterInit",function(){var c=this.chart,d=this.options,e=this.pane,f=e&&e.options;c.angular&&this.isXAxis||!e||!c.angular&&!c.polar||(this.angleRad=(d.angle||0)*Math.PI/180,this.startAngleRad=(f.startAngle-90)*Math.PI/180,this.endAngleRad=(a(f.endAngle,f.startAngle+360)-90)*Math.PI/180,this.offset=d.offset||0)}),g(m,"autoLabelAlign",function(a){if(!this.isRadial)return a.apply(this,[].slice.call(arguments,1))}),h(f,"afterGetPosition",function(a){this.axis.getPosition&&l(a.pos,this.axis.getPosition(this.pos))}),
h(f,"afterGetLabelPosition",function(c){var d=this.axis,e=this.label,f=d.options.labels,b=f.y,g,n=20,m=f.align,k=(d.translate(this.pos)+d.startAngleRad+Math.PI/2)/Math.PI*180%360;d.isRadial&&(g=d.getPosition(this.pos,d.center[2]/2+a(f.distance,-25)),"auto"===f.rotation?e.attr({rotation:k}):null===b&&(b=d.chart.renderer.fontMetrics(e.styles&&e.styles.fontSize).b-e.getBBox().height/2),null===m&&(d.isCircular?(this.label.getBBox().width>d.len*d.tickInterval/(d.max-d.min)&&(n=0),m=k>n&&k<180-n?"left":
k>180+n&&k<360-n?"right":"center"):m="center",e.attr({align:m})),c.pos.x=g.x+f.x,c.pos.y=g.y+b)}),g(k,"getMarkPath",function(a,c,d,e,f,b,g){var n=this.axis;n.isRadial?(a=n.getPosition(this.pos,n.center[2]/2+e),c=["M",c,d,"L",a.x,a.y]):c=a.call(this,c,d,e,f,b,g);return c}))})(x);(function(b){var h=b.each,v=b.pick,u=b.defined,l=b.seriesType,r=b.seriesTypes,t=b.Series.prototype,p=b.Point.prototype;l("arearange","area",{threshold:null,tooltip:{pointFormat:'\x3cspan class\x3d"highcharts-color-{series.colorIndex}"\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(a){return[a.low,a.high]},pointValKey:"low",deferTranslatePolar:!0,highToXY:function(a){var c=this.chart,f=this.xAxis.postTranslate(a.rectPlotX,this.yAxis.len-a.plotHigh);a.plotHighX=f.x-c.plotLeft;a.plotHigh=f.y-c.plotTop;a.plotLowX=a.plotX},translate:function(){var a=this,c=a.yAxis,f=!!a.modifyValue;r.area.prototype.translate.apply(a);
h(a.points,function(b){var d=b.low,e=b.high,g=b.plotY;null===e||null===d?(b.isNull=!0,b.plotY=null):(b.plotLow=g,b.plotHigh=c.translate(f?a.modifyValue(e,b):e,0,1,0,1),f&&(b.yBottom=b.plotHigh))});this.chart.polar&&h(this.points,function(c){a.highToXY(c);c.tooltipPos=[(c.plotHighX+c.plotLowX)/2,(c.plotHigh+c.plotLow)/2]})},getGraphPath:function(a){var c=[],f=[],b,d=r.area.prototype.getGraphPath,e,n,m;m=this.options;var k=this.chart.polar&&!1!==m.connectEnds,w=m.connectNulls,q=m.step;a=a||this.points;
for(b=a.length;b--;)e=a[b],e.isNull||k||w||a[b+1]&&!a[b+1].isNull||f.push({plotX:e.plotX,plotY:e.plotY,doCurve:!1}),n={polarPlotY:e.polarPlotY,rectPlotX:e.rectPlotX,yBottom:e.yBottom,plotX:v(e.plotHighX,e.plotX),plotY:e.plotHigh,isNull:e.isNull},f.push(n),c.push(n),e.isNull||k||w||a[b-1]&&!a[b-1].isNull||f.push({plotX:e.plotX,plotY:e.plotY,doCurve:!1});a=d.call(this,a);q&&(!0===q&&(q="left"),m.step={left:"right",center:"center",right:"left"}[q]);c=d.call(this,c);f=d.call(this,f);m.step=q;m=[].concat(a,
c);this.chart.polar||"M"!==f[0]||(f[0]="L");this.graphPath=m;this.areaPath=a.concat(f);m.isArea=!0;m.xMap=a.xMap;this.areaPath.xMap=a.xMap;return m},drawDataLabels:function(){var a=this.data,c=a.length,b,g=[],d=this.options.dataLabels,e=d.align,n=d.verticalAlign,m=d.inside,k,w,q=this.chart.inverted;if(d.enabled||this._hasPointLabels){for(b=c;b--;)if(k=a[b])w=m?k.plotHigh<k.plotLow:k.plotHigh>k.plotLow,k.y=k.high,k._plotY=k.plotY,k.plotY=k.plotHigh,g[b]=k.dataLabel,k.dataLabel=k.dataLabelUpper,k.below=
w,q?e||(d.align=w?"right":"left"):n||(d.verticalAlign=w?"top":"bottom"),d.x=d.xHigh,d.y=d.yHigh;t.drawDataLabels&&t.drawDataLabels.apply(this,arguments);for(b=c;b--;)if(k=a[b])w=m?k.plotHigh<k.plotLow:k.plotHigh>k.plotLow,k.dataLabelUpper=k.dataLabel,k.dataLabel=g[b],k.y=k.low,k.plotY=k._plotY,k.below=!w,q?e||(d.align=w?"left":"right"):n||(d.verticalAlign=w?"bottom":"top"),d.x=d.xLow,d.y=d.yLow;t.drawDataLabels&&t.drawDataLabels.apply(this,arguments)}d.align=e;d.verticalAlign=n},alignDataLabel:function(){r.column.prototype.alignDataLabel.apply(this,
arguments)},drawPoints:function(){var a=this.points.length,c,f;t.drawPoints.apply(this,arguments);for(f=0;f<a;)c=this.points[f],c.origProps={plotY:c.plotY,plotX:c.plotX,isInside:c.isInside,negative:c.negative,zone:c.zone,y:c.y},c.lowerGraphic=c.graphic,c.graphic=c.upperGraphic,c.plotY=c.plotHigh,u(c.plotHighX)&&(c.plotX=c.plotHighX),c.y=c.high,c.negative=c.high<(this.options.threshold||0),c.zone=this.zones.length&&c.getZone(),this.chart.polar||(c.isInside=c.isTopInside=void 0!==c.plotY&&0<=c.plotY&&
c.plotY<=this.yAxis.len&&0<=c.plotX&&c.plotX<=this.xAxis.len),f++;t.drawPoints.apply(this,arguments);for(f=0;f<a;)c=this.points[f],c.upperGraphic=c.graphic,c.graphic=c.lowerGraphic,b.extend(c,c.origProps),delete c.origProps,f++},setStackedPoints:b.noop},{setState:function(){var a=this.state,c=this.series,b=c.chart.polar;u(this.plotHigh)||(this.plotHigh=c.yAxis.toPixels(this.high,!0));u(this.plotLow)||(this.plotLow=this.plotY=c.yAxis.toPixels(this.low,!0));c.stateMarkerGraphic&&(c.lowerStateMarkerGraphic=
c.stateMarkerGraphic,c.stateMarkerGraphic=c.upperStateMarkerGraphic);this.graphic=this.upperGraphic;this.plotY=this.plotHigh;b&&(this.plotX=this.plotHighX);p.setState.apply(this,arguments);this.state=a;this.plotY=this.plotLow;this.graphic=this.lowerGraphic;b&&(this.plotX=this.plotLowX);c.stateMarkerGraphic&&(c.upperStateMarkerGraphic=c.stateMarkerGraphic,c.stateMarkerGraphic=c.lowerStateMarkerGraphic,c.lowerStateMarkerGraphic=void 0);p.setState.apply(this,arguments)},haloPath:function(){var a=this.series.chart.polar,
c=[];this.plotY=this.plotLow;a&&(this.plotX=this.plotLowX);this.isInside&&(c=p.haloPath.apply(this,arguments));this.plotY=this.plotHigh;a&&(this.plotX=this.plotHighX);this.isTopInside&&(c=c.concat(p.haloPath.apply(this,arguments)));return c},destroyElements:function(){h(["lowerGraphic","upperGraphic"],function(a){this[a]&&(this[a]=this[a].destroy())},this);this.graphic=null;return p.destroyElements.apply(this,arguments)}})})(x);(function(b){var h=b.seriesType;h("areasplinerange","arearange",null,
{getPointSpline:b.seriesTypes.spline.prototype.getPointSpline})})(x);(function(b){var h=b.defaultPlotOptions,v=b.each,u=b.merge,l=b.noop,r=b.pick,t=b.seriesType,p=b.seriesTypes.column.prototype;t("columnrange","arearange",u(h.column,h.arearange,{pointRange:null,marker:null,states:{hover:{halo:!1}}}),{translate:function(){var a=this,c=a.yAxis,b=a.xAxis,g=b.startAngleRad,d,e=a.chart,n=a.xAxis.isRadial,m=Math.max(e.chartWidth,e.chartHeight)+999,k;p.translate.apply(a);v(a.points,function(f){var q=f.shapeArgs,
w=a.options.minPointLength,l,p;f.plotHigh=k=Math.min(Math.max(-m,c.translate(f.high,0,1,0,1)),m);f.plotLow=Math.min(Math.max(-m,f.plotY),m);p=k;l=r(f.rectPlotY,f.plotY)-k;Math.abs(l)<w?(w-=l,l+=w,p-=w/2):0>l&&(l*=-1,p-=l);n?(d=f.barX+g,f.shapeType="path",f.shapeArgs={d:a.polarArc(p+l,p,d,d+f.pointWidth)}):(q.height=l,q.y=p,f.tooltipPos=e.inverted?[c.len+c.pos-e.plotLeft-p-l/2,b.len+b.pos-e.plotTop-q.x-q.width/2,l]:[b.left-e.plotLeft+q.x+q.width/2,c.pos-e.plotTop+p+l/2,l])})},directTouch:!0,trackerGroups:["group",
"dataLabelsGroup"],drawGraph:l,getSymbol:l,crispCol:p.crispCol,drawPoints:p.drawPoints,drawTracker:p.drawTracker,getColumnMetrics:p.getColumnMetrics,pointAttribs:p.pointAttribs,animate:function(){return p.animate.apply(this,arguments)},polarArc:function(){return p.polarArc.apply(this,arguments)},translate3dPoints:function(){return p.translate3dPoints.apply(this,arguments)},translate3dShapes:function(){return p.translate3dShapes.apply(this,arguments)}},{setState:p.pointClass.prototype.setState})})(x);
(function(b){var h=b.each,v=b.isNumber,u=b.merge,l=b.pick,r=b.pInt,t=b.Series,p=b.seriesType,a=b.TrackerMixin;p("gauge","line",{dataLabels:{enabled:!0,defer:!1,y:15,borderRadius:3,crop:!1,verticalAlign:"top",zIndex:2},dial:{},pivot:{},tooltip:{headerFormat:""},showInLegend:!1},{angular:!0,directTouch:!0,drawGraph:b.noop,fixedBox:!0,forceDL:!0,noSharedTooltip:!0,trackerGroups:["group","dataLabelsGroup"],translate:function(){var a=this.yAxis,b=this.options,g=a.center;this.generatePoints();h(this.points,
function(c){var d=u(b.dial,c.dial),f=r(l(d.radius,80))*g[2]/200,m=r(l(d.baseLength,70))*f/100,k=r(l(d.rearLength,10))*f/100,w=d.baseWidth||3,q=d.topWidth||1,p=b.overshoot,h=a.startAngleRad+a.translate(c.y,null,null,null,!0);v(p)?(p=p/180*Math.PI,h=Math.max(a.startAngleRad-p,Math.min(a.endAngleRad+p,h))):!1===b.wrap&&(h=Math.max(a.startAngleRad,Math.min(a.endAngleRad,h)));h=180*h/Math.PI;c.shapeType="path";c.shapeArgs={d:d.path||["M",-k,-w/2,"L",m,-w/2,f,-q/2,f,q/2,m,w/2,-k,w/2,"z"],translateX:g[0],
translateY:g[1],rotation:h};c.plotX=g[0];c.plotY=g[1]})},drawPoints:function(){var a=this,b=a.yAxis.center,g=a.pivot,d=a.options,e=d.pivot,n=a.chart.renderer;h(a.points,function(c){var b=c.graphic,e=c.shapeArgs,f=e.d;u(d.dial,c.dial);b?(b.animate(e),e.d=f):c.graphic=n[c.shapeType](e).attr({rotation:e.rotation,zIndex:1}).addClass("highcharts-dial").add(a.group)});g?g.animate({translateX:b[0],translateY:b[1]}):a.pivot=n.circle(0,0,l(e.radius,5)).attr({zIndex:2}).addClass("highcharts-pivot").translate(b[0],
b[1]).add(a.group)},animate:function(a){var c=this;a||(h(c.points,function(a){var d=a.graphic;d&&(d.attr({rotation:180*c.yAxis.startAngleRad/Math.PI}),d.animate({rotation:a.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);t.prototype.render.call(this);this.group.clip(this.chart.clipRect)},setData:function(a,b){t.prototype.setData.call(this,a,!1);this.processData();
this.generatePoints();l(b,!0)&&this.chart.redraw()},drawTracker:a&&a.drawTrackerPoint},{setState:function(a){this.state=a}})})(x);(function(b){var h=b.each,v=b.noop,u=b.seriesType,l=b.seriesTypes;u("boxplot","column",{threshold:null,tooltip:{pointFormat:'\x3cspan class\x3d"highcharts-color-{point.colorIndex}"\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%"},{pointArrayMap:["low","q1","median","q3","high"],toYData:function(b){return[b.low,b.q1,b.median,b.q3,b.high]},pointValKey:"high",drawDataLabels:v,translate:function(){var b=this.yAxis,t=this.pointArrayMap;l.column.prototype.translate.apply(this);h(this.points,function(l){h(t,function(a){null!==l[a]&&(l[a+"Plot"]=b.translate(l[a],0,1,0,1))})})},drawPoints:function(){var b=this,l=b.chart.renderer,p,a,c,f,g,d,e=0,n,m,k,w,q=!1!==b.doQuartiles,u,v=b.options.whiskerLength;h(b.points,
function(h){var r=h.graphic,t=r?"animate":"attr",z=h.shapeArgs;void 0!==h.plotY&&(n=z.width,m=Math.floor(z.x),k=m+n,w=Math.round(n/2),p=Math.floor(q?h.q1Plot:h.lowPlot),a=Math.floor(q?h.q3Plot:h.lowPlot),c=Math.floor(h.highPlot),f=Math.floor(h.lowPlot),r||(h.graphic=r=l.g("point").add(b.group),h.stem=l.path().addClass("highcharts-boxplot-stem").add(r),v&&(h.whiskers=l.path().addClass("highcharts-boxplot-whisker").add(r)),q&&(h.box=l.path(void 0).addClass("highcharts-boxplot-box").add(r)),h.medianShape=
l.path(void 0).addClass("highcharts-boxplot-median").add(r)),d=h.stem.strokeWidth()%2/2,e=m+w+d,h.stem[t]({d:["M",e,a,"L",e,c,"M",e,p,"L",e,f]}),q&&(d=h.box.strokeWidth()%2/2,p=Math.floor(p)+d,a=Math.floor(a)+d,m+=d,k+=d,h.box[t]({d:["M",m,a,"L",m,p,"L",k,p,"L",k,a,"L",m,a,"z"]})),v&&(d=h.whiskers.strokeWidth()%2/2,c+=d,f+=d,u=/%$/.test(v)?w*parseFloat(v)/100:v/2,h.whiskers[t]({d:["M",e-u,c,"L",e+u,c,"M",e-u,f,"L",e+u,f]})),g=Math.round(h.medianPlot),d=h.medianShape.strokeWidth()%2/2,g+=d,h.medianShape[t]({d:["M",
m,g,"L",k,g]}))})},setStackedPoints:v})})(x);(function(b){var h=b.each,v=b.noop,u=b.seriesType,l=b.seriesTypes;u("errorbar","boxplot",{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(b){return[b.low,b.high]},pointValKey:"high",doQuartiles:!1,drawDataLabels:l.arearange?
function(){var b=this.pointValKey;l.arearange.prototype.drawDataLabels.call(this);h(this.data,function(h){h.y=h[b]})}:v,getColumnMetrics:function(){return this.linkedParent&&this.linkedParent.columnMetrics||l.column.prototype.getColumnMetrics.call(this)}})})(x);(function(b){var h=b.correctFloat,v=b.isNumber,u=b.pick,l=b.Point,r=b.Series,t=b.seriesType,p=b.seriesTypes;t("waterfall","column",{dataLabels:{inside:!0}},{pointValKey:"y",showLine:!0,generatePoints:function(){var a=this.options.threshold,
c,b,g,d;p.column.prototype.generatePoints.apply(this);g=0;for(b=this.points.length;g<b;g++)c=this.points[g],d=this.processedYData[g],c.isSum?c.y=h(d):c.isIntermediateSum&&(c.y=h(d-a),a=d)},translate:function(){var a=this.options,c=this.yAxis,b,g,d,e,n,m,k,h,q,l,r=u(a.minPointLength,5),t=r/2,v=a.threshold,x=a.stacking,y;p.column.prototype.translate.apply(this);h=q=v;g=this.points;b=0;for(a=g.length;b<a;b++)d=g[b],k=this.processedYData[b],e=d.shapeArgs,n=x&&c.stacks[(this.negStacks&&k<v?"-":"")+this.stackKey],
y=this.getStackIndicator(y,d.x,this.index),l=u(n&&n[d.x].points[y.key],[0,k]),m=Math.max(h,h+d.y)+l[0],e.y=c.translate(m,0,1,0,1),d.isSum?(e.y=c.translate(l[1],0,1,0,1),e.height=Math.min(c.translate(l[0],0,1,0,1),c.len)-e.y):d.isIntermediateSum?(e.y=c.translate(l[1],0,1,0,1),e.height=Math.min(c.translate(q,0,1,0,1),c.len)-e.y,q=l[1]):(e.height=0<k?c.translate(h,0,1,0,1)-e.y:c.translate(h,0,1,0,1)-c.translate(h-k,0,1,0,1),h+=n&&n[d.x]?n[d.x].total:k,d.below=h<u(v,0)),0>e.height&&(e.y+=e.height,e.height*=
-1),d.plotY=e.y=Math.round(e.y)-this.borderWidth%2/2,e.height=Math.max(Math.round(e.height),.001),d.yBottom=e.y+e.height,e.height<=r&&!d.isNull?(e.height=r,e.y-=t,d.plotY=e.y,d.minPointLengthOffset=0>d.y?-t:t):(d.isNull&&(e.width=0),d.minPointLengthOffset=0),e=d.plotY+(d.negative?e.height:0),this.chart.inverted?d.tooltipPos[0]=c.len-e:d.tooltipPos[1]=e},processData:function(a){var c=this.yData,b=this.options.data,g,d=c.length,e,n,m,k,l,q;n=e=m=k=this.options.threshold||0;for(q=0;q<d;q++)l=c[q],g=
b&&b[q]?b[q]:{},"sum"===l||g.isSum?c[q]=h(n):"intermediateSum"===l||g.isIntermediateSum?c[q]=h(e):(n+=l,e+=l),m=Math.min(n,m),k=Math.max(n,k);r.prototype.processData.call(this,a);this.options.stacking||(this.dataMin=m,this.dataMax=k)},toYData:function(a){return a.isSum?0===a.x?null:"sum":a.isIntermediateSum?0===a.x?null:"intermediateSum":a.y},getGraphPath:function(){return["M",0,0]},getCrispPath:function(){var a=this.data,c=a.length,b=this.graph.strokeWidth()+this.borderWidth,b=Math.round(b)%2/2,
g=this.xAxis.reversed,d=this.yAxis.reversed,e=[],n,m,k;for(k=1;k<c;k++){m=a[k].shapeArgs;n=a[k-1].shapeArgs;m=["M",n.x+(g?0:n.width),n.y+a[k-1].minPointLengthOffset+b,"L",m.x+(g?n.width:0),n.y+a[k-1].minPointLengthOffset+b];if(0>a[k-1].y&&!d||0<a[k-1].y&&d)m[2]+=n.height,m[5]+=n.height;e=e.concat(m)}return e},drawGraph:function(){r.prototype.drawGraph.call(this);this.graph.attr({d:this.getCrispPath()})},setStackedPoints:function(){var a=this.options,c,b;r.prototype.setStackedPoints.apply(this,arguments);
c=this.stackedYData?this.stackedYData.length:0;for(b=1;b<c;b++)a.data[b].isSum||a.data[b].isIntermediateSum||(this.stackedYData[b]+=this.stackedYData[b-1])},getExtremes:function(){if(this.options.stacking)return r.prototype.getExtremes.apply(this,arguments)}},{getClassName:function(){var a=l.prototype.getClassName.call(this);this.isSum?a+=" highcharts-sum":this.isIntermediateSum&&(a+=" highcharts-intermediate-sum");return a},isValid:function(){return v(this.y,!0)||this.isSum||this.isIntermediateSum}})})(x);
(function(b){var h=b.Series,v=b.seriesType,u=b.seriesTypes;v("polygon","scatter",{marker:{enabled:!1,states:{hover:{enabled:!1}}},stickyTracking:!1,tooltip:{followPointer:!0,pointFormat:""},trackByArea:!0},{type:"polygon",getGraphPath:function(){for(var b=h.prototype.getGraphPath.call(this),r=b.length+1;r--;)(r===b.length||"M"===b[r])&&0<r&&b.splice(r,0,"z");return this.areaPath=b},drawGraph:function(){u.area.prototype.drawGraph.call(this)},drawLegendSymbol:b.LegendSymbolMixin.drawRectangle,drawTracker:h.prototype.drawTracker,
setStackedPoints:b.noop})})(x);(function(b){var h=b.arrayMax,v=b.arrayMin,u=b.Axis,l=b.each,r=b.isNumber,t=b.noop,p=b.pick,a=b.pInt,c=b.Point,f=b.seriesType,g=b.seriesTypes;f("bubble","scatter",{dataLabels:{formatter:function(){return this.point.z},inside:!0,verticalAlign:"middle"},animationLimit:250,marker:{radius:null,states:{hover:{radiusPlus:0}},symbol:"circle"},minSize:8,maxSize:"20%",softThreshold:!1,states:{hover:{halo:{size:5}}},tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},
turboThreshold:0,zThreshold:0,zoneAxis:"z"},{pointArrayMap:["y","z"],parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",bubblePadding:!0,zoneAxis:"z",directTouch:!0,getRadii:function(a,c,b,f){var d,e,g,n=this.zData,m=[],h=this.options,l="width"!==h.sizeBy,p=h.zThreshold,t=c-a;e=0;for(d=n.length;e<d;e++)g=n[e],h.sizeByAbsoluteValue&&null!==g&&(g=Math.abs(g-p),c=t=Math.max(c-p,Math.abs(a-p)),a=0),r(g)?g<a?g=b/2-1:(g=0<t?(g-a)/t:.5,l&&0<=g&&(g=Math.sqrt(g)),g=
Math.ceil(b+g*(f-b))/2):g=null,m.push(g);this.radii=m},animate:function(a){!a&&this.points.length<this.options.animationLimit&&(l(this.points,function(a){var c=a.graphic,b;c&&c.width&&(b={x:c.x,y:c.y,width:c.width,height:c.height},c.attr({x:a.plotX,y:a.plotY,width:1,height:1}),c.animate(b,this.options.animation))},this),this.animate=null)},translate:function(){var a,c=this.data,f,m,k=this.radii;g.scatter.prototype.translate.call(this);for(a=c.length;a--;)f=c[a],m=k?k[a]:0,r(m)&&m>=this.minPxSize/
2?(f.marker=b.extend(f.marker,{radius:m,width:2*m,height:2*m}),f.dlBox={x:f.plotX-m,y:f.plotY-m,width:2*m,height:2*m}):f.shapeArgs=f.plotY=f.dlBox=void 0},alignDataLabel:g.column.prototype.alignDataLabel,buildKDTree:t,applyZones:t},{haloPath:function(a){return c.prototype.haloPath.call(this,0===a?0:(this.marker?this.marker.radius||0:0)+a)},ttBelow:!1});u.prototype.beforePadding=function(){var c=this,e=this.len,f=this.chart,g=0,k=e,t=this.isXAxis,q=t?"xData":"yData",u=this.min,x={},E=Math.min(f.plotWidth,
f.plotHeight),B=Number.MAX_VALUE,C=-Number.MAX_VALUE,y=this.max-u,A=e/y,D=[];l(this.series,function(d){var e=d.options;!d.bubblePadding||!d.visible&&f.options.chart.ignoreHiddenSeries||(c.allowZoomOutside=!0,D.push(d),t&&(l(["minSize","maxSize"],function(c){var b=e[c],d=/%$/.test(b),b=a(b);x[c]=d?E*b/100:b}),d.minPxSize=x.minSize,d.maxPxSize=Math.max(x.maxSize,x.minSize),d=b.grep(d.zData,b.isNumber),d.length&&(B=p(e.zMin,Math.min(B,Math.max(v(d),!1===e.displayNegative?e.zThreshold:-Number.MAX_VALUE))),
C=p(e.zMax,Math.max(C,h(d))))))});l(D,function(a){var b=a[q],d=b.length,e;t&&a.getRadii(B,C,a.minPxSize,a.maxPxSize);if(0<y)for(;d--;)r(b[d])&&c.dataMin<=b[d]&&b[d]<=c.dataMax&&(e=a.radii[d],g=Math.min((b[d]-u)*A-e,g),k=Math.max((b[d]-u)*A+e,k))});D.length&&0<y&&!this.isLog&&(k-=e,A*=(e+Math.max(0,g)-Math.min(k,e))/e,l([["min","userMin",g],["max","userMax",k]],function(a){void 0===p(c.options[a[0]],c[a[1]])&&(c[a[0]]+=a[2]/A)}))}})(x);(function(b){var h=b.each,v=b.pick,u=b.Series,l=b.seriesTypes,
r=b.wrap,t=u.prototype,p=b.Pointer.prototype;b.polarExtended||(b.polarExtended=!0,t.searchPointByAngle=function(a){var c=this.chart,b=this.xAxis.pane.center;return this.searchKDTree({clientX:180+-180/Math.PI*Math.atan2(a.chartX-b[0]-c.plotLeft,a.chartY-b[1]-c.plotTop)})},t.getConnectors=function(a,c,b,g){var d,e,f,m,k,h,l,p;e=g?1:0;d=0<=c&&c<=a.length-1?c:0>c?a.length-1+c:0;c=0>d-1?a.length-(1+e):d-1;e=d+1>a.length-1?e:d+1;f=a[c];e=a[e];m=f.plotX;f=f.plotY;k=e.plotX;h=e.plotY;e=a[d].plotX;d=a[d].plotY;
m=(1.5*e+m)/2.5;f=(1.5*d+f)/2.5;k=(1.5*e+k)/2.5;l=(1.5*d+h)/2.5;h=Math.sqrt(Math.pow(m-e,2)+Math.pow(f-d,2));p=Math.sqrt(Math.pow(k-e,2)+Math.pow(l-d,2));m=Math.atan2(f-d,m-e);l=Math.PI/2+(m+Math.atan2(l-d,k-e))/2;Math.abs(m-l)>Math.PI/2&&(l-=Math.PI);m=e+Math.cos(l)*h;f=d+Math.sin(l)*h;k=e+Math.cos(Math.PI+l)*p;l=d+Math.sin(Math.PI+l)*p;e={rightContX:k,rightContY:l,leftContX:m,leftContY:f,plotX:e,plotY:d};b&&(e.prevPointCont=this.getConnectors(a,c,!1,g));return e},r(t,"buildKDTree",function(a){this.chart.polar&&
(this.kdByAngle?this.searchPoint=this.searchPointByAngle:this.options.findNearestPointBy="xy");a.apply(this)}),t.toXY=function(a){var c,b=this.chart,g=a.plotX;c=a.plotY;a.rectPlotX=g;a.rectPlotY=c;c=this.xAxis.postTranslate(a.plotX,this.yAxis.len-c);a.plotX=a.polarPlotX=c.x-b.plotLeft;a.plotY=a.polarPlotY=c.y-b.plotTop;this.kdByAngle?(b=(g/Math.PI*180+this.xAxis.pane.options.startAngle)%360,0>b&&(b+=360),a.clientX=b):a.clientX=a.plotX},l.spline&&(r(l.spline.prototype,"getPointSpline",function(a,b,
f,g){this.chart.polar?g?(a=this.getConnectors(b,g,!0,this.connectEnds),a=["C",a.prevPointCont.rightContX,a.prevPointCont.rightContY,a.leftContX,a.leftContY,a.plotX,a.plotY]):a=["M",f.plotX,f.plotY]:a=a.call(this,b,f,g);return a}),l.areasplinerange&&(l.areasplinerange.prototype.getPointSpline=l.spline.prototype.getPointSpline)),b.addEvent(u,"afterTranslate",function(){var a=this.chart,c,f;if(a.polar){this.kdByAngle=a.tooltip&&a.tooltip.shared;if(!this.preventPostTranslate)for(c=this.points,f=c.length;f--;)this.toXY(c[f]);
this.hasClipCircleSetter||(this.hasClipCircleSetter=!!b.addEvent(this,"afterRender",function(){var c;a.polar&&(c=this.yAxis.center,this.group.clip(a.renderer.clipCircle(c[0],c[1],c[2]/2)),this.setClip=b.noop)}))}},{order:2}),r(t,"getGraphPath",function(a,b){var c=this,g,d,e;if(this.chart.polar){b=b||this.points;for(g=0;g<b.length;g++)if(!b[g].isNull){d=g;break}!1!==this.options.connectEnds&&void 0!==d&&(this.connectEnds=!0,b.splice(b.length,0,b[d]),e=!0);h(b,function(a){void 0===a.polarPlotY&&c.toXY(a)})}g=
a.apply(this,[].slice.call(arguments,1));e&&b.pop();return g}),u=function(a,b){var c=this.chart,g=this.options.animation,d=this.group,e=this.markerGroup,h=this.xAxis.center,m=c.plotLeft,k=c.plotTop;c.polar?c.renderer.isSVG&&(!0===g&&(g={}),b?(a={translateX:h[0]+m,translateY:h[1]+k,scaleX:.001,scaleY:.001},d.attr(a),e&&e.attr(a)):(a={translateX:m,translateY:k,scaleX:1,scaleY:1},d.animate(a,g),e&&e.animate(a,g),this.animate=null)):a.call(this,b)},r(t,"animate",u),l.column&&(l=l.column.prototype,l.polarArc=
function(a,b,f,g){var c=this.xAxis.center,e=this.yAxis.len;return this.chart.renderer.symbols.arc(c[0],c[1],e-b,null,{start:f,end:g,innerR:e-v(a,e)})},r(l,"animate",u),r(l,"translate",function(a){var b=this.xAxis,f=b.startAngleRad,g,d,e;this.preventPostTranslate=!0;a.call(this);if(b.isRadial)for(g=this.points,e=g.length;e--;)d=g[e],a=d.barX+f,d.shapeType="path",d.shapeArgs={d:this.polarArc(d.yBottom,d.plotY,a,a+d.pointWidth)},this.toXY(d),d.tooltipPos=[d.plotX,d.plotY],d.ttBelow=d.plotY>b.center[1]}),
r(l,"alignDataLabel",function(a,b,f,g,d,e){this.chart.polar?(a=b.rectPlotX/Math.PI*180,null===g.align&&(g.align=20<a&&160>a?"left":200<a&&340>a?"right":"center"),null===g.verticalAlign&&(g.verticalAlign=45>a||315<a?"bottom":135<a&&225>a?"top":"middle"),t.alignDataLabel.call(this,b,f,g,d,e)):a.call(this,b,f,g,d,e)})),r(p,"getCoordinates",function(a,b){var c=this.chart,g={xAxis:[],yAxis:[]};c.polar?h(c.axes,function(a){var d=a.isXAxis,f=a.center,h=b.chartX-f[0]-c.plotLeft,f=b.chartY-f[1]-c.plotTop;
g[d?"xAxis":"yAxis"].push({axis:a,value:a.translate(d?Math.PI-Math.atan2(h,f):Math.sqrt(Math.pow(h,2)+Math.pow(f,2)),!0)})}):g=a.call(this,b);return g}),b.SVGRenderer.prototype.clipCircle=function(a,c,f){var g=b.uniqueKey(),d=this.createElement("clipPath").attr({id:g}).add(this.defs);a=this.circle(a,c,f).add(d);a.id=g;a.clipPath=d;return a},b.addEvent(b.Chart,"getAxes",function(){this.pane||(this.pane=[]);h(b.splat(this.options.pane),function(a){new b.Pane(a,this)},this)}),b.addEvent(b.Chart,"afterDrawChartBox",
function(){h(this.pane,function(a){a.render()})}),r(b.Chart.prototype,"get",function(a,c){return b.find(this.pane,function(a){return a.options.id===c})||a.call(this,c)}))})(x)});
//# sourceMappingURL=highcharts-more.js.map
