Hacked By AnonymousFox
!/**
* Highcharts JS v12.1.2 (2025-01-09)
* @module highcharts/highcharts-more
* @requires highcharts
*
* (c) 2009-2024 Torstein Honsi
*
* License: www.highcharts.com/license
*/function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("highcharts"),require("highcharts").SeriesRegistry,require("highcharts").Series,require("highcharts").Series.types.column,require("highcharts").Color,require("highcharts").Templating,require("highcharts").Point,require("highcharts").Chart,require("highcharts").SVGElement,require("highcharts").StackItem):"function"==typeof define&&define.amd?define("highcharts/highcharts-more",[["highcharts/highcharts"],["highcharts/highcharts","SeriesRegistry"],["highcharts/highcharts","Series"],["highcharts/highcharts","Series","types","column"],["highcharts/highcharts","Color"],["highcharts/highcharts","Templating"],["highcharts/highcharts","Point"],["highcharts/highcharts","Chart"],["highcharts/highcharts","SVGElement"],["highcharts/highcharts","StackItem"]],e):"object"==typeof exports?exports["highcharts/highcharts-more"]=e(require("highcharts"),require("highcharts").SeriesRegistry,require("highcharts").Series,require("highcharts").Series.types.column,require("highcharts").Color,require("highcharts").Templating,require("highcharts").Point,require("highcharts").Chart,require("highcharts").SVGElement,require("highcharts").StackItem):t.Highcharts=e(t.Highcharts,t.Highcharts.SeriesRegistry,t.Highcharts.Series,t.Highcharts.Series.types.column,t.Highcharts.Color,t.Highcharts.Templating,t.Highcharts.Point,t.Highcharts.Chart,t.Highcharts.SVGElement,t.Highcharts.StackItem)}(this,function(t,e,i,o,r,s,a,n,h,l){return function(){"use strict";var p,c,u,d,f,g,y,v,b,m,x,P,M,L,w,k,A,S,T,C,N,X,O={960:function(t){t.exports=n},620:function(t){t.exports=r},260:function(t){t.exports=a},28:function(t){t.exports=h},448:function(t){t.exports=o},820:function(t){t.exports=i},512:function(t){t.exports=e},184:function(t){t.exports=l},984:function(t){t.exports=s},944:function(e){e.exports=t}},Y={};function I(t){var e=Y[t];if(void 0!==e)return e.exports;var i=Y[t]={exports:{}};return O[t](i,i.exports,I),i.exports}I.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return I.d(e,{a:e}),e},I.d=function(t,e){for(var i in e)I.o(e,i)&&!I.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},I.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)};var E={};I.d(E,{default:function(){return rJ}});var R=I(944),_=I.n(R),z=I(512),D=I.n(z),B=I(820),W=I.n(B),H=_().deg2rad,j=_().fireEvent,F=_().isNumber,q=_().pick,G=_().relativeLength;(p=C||(C={})).getCenter=function(){var t,e,i,o=this.options,r=this.chart,s=2*(o.slicedOffset||0),a=r.plotWidth-2*s,n=r.plotHeight-2*s,h=o.center,l=Math.min(a,n),p=o.thickness,c=o.size,u=o.innerSize||0;"string"==typeof c&&(c=parseFloat(c)),"string"==typeof u&&(u=parseFloat(u));var d=[q(null==h?void 0:h[0],"50%"),q(null==h?void 0:h[1],"50%"),q(c&&c<0?void 0:o.size,"100%"),q(u&&u<0?void 0:o.innerSize||0,"0%")];for(!r.angular||this instanceof W()||(d[3]=0),e=0;e<4;++e)i=d[e],t=e<2||2===e&&/%$/.test(i),d[e]=G(i,[a,n,l,d[2]][e])+(t?s:0);return d[3]>d[2]&&(d[3]=d[2]),F(p)&&2*p<d[2]&&p>0&&(d[3]=d[2]-2*p),j(this,"afterGetCenter",{positions:d}),d},p.getStartAndEndRadians=function(t,e){var i=F(t)?t:0,o=F(e)&&e>i&&e-i<360?e:i+360;return{start:H*(i+-90),end:H*(o+-90)}};var V=C,U=_().addEvent,K=_().correctFloat,Z=_().defined,$=_().pick;function Q(t){var e,i=this;return t&&i.pane.forEach(function(o){J(t.chartX-i.plotLeft,t.chartY-i.plotTop,o.center)&&(e=o)}),e}function J(t,e,i,o,r){var s=!0,a=i[0],n=i[1],h=Math.sqrt(Math.pow(t-a,2)+Math.pow(e-n,2));if(Z(o)&&Z(r)){var l=Math.atan2(K(e-n,8),K(t-a,8));r!==o&&(s=o>r?l>=o&&l<=Math.PI||l<=r&&l>=-Math.PI:l>=o&&l<=K(r,8))}return h<=Math.ceil(i[2]/2)&&s}function tt(t){var e;this.polar&&(t.options.inverted&&(e=[t.y,t.x],t.x=e[0],t.y=e[1]),t.isInsidePlot=this.pane.some(function(e){return J(t.x,t.y,e.center,e.axis&&e.axis.normalizedStartAngleRad,e.axis&&e.axis.normalizedEndAngleRad)}))}function te(t){var e=this.chart;t.hoverPoint&&t.hoverPoint.plotX&&t.hoverPoint.plotY&&e.hoverPane&&!J(t.hoverPoint.plotX,t.hoverPoint.plotY,e.hoverPane.center)&&(t.hoverPoint=void 0)}function ti(t){var e=this.chart;e.polar?(e.hoverPane=e.getHoverPane(t),t.filter=function(i){return i.visible&&!(!t.shared&&i.directTouch)&&$(i.options.enableMouseTracking,!0)&&(!e.hoverPane||i.xAxis.pane===e.hoverPane)}):e.hoverPane=void 0}var to=function(t,e){var i=t.prototype;i.getHoverPane||(i.collectionsWithUpdate.push("pane"),i.getHoverPane=Q,U(t,"afterIsInsidePlot",tt),U(e,"afterGetHoverData",te),U(e,"beforeGetHoverData",ti))},tr={pane:{center:["50%","50%"],size:"85%",innerSize:"0%",startAngle:0},background:{shape:"circle",borderRadius:0,borderWidth:1,borderColor:"#cccccc",backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,"#ffffff"],[1,"#e6e6e6"]]},from:-Number.MAX_VALUE,innerRadius:0,to:Number.MAX_VALUE,outerRadius:"105%"}},ts=_().extend,ta=_().merge,tn=_().splat,th=function(){function t(t,e){this.coll="pane",this.init(t,e)}return t.prototype.init=function(t,e){this.chart=e,this.background=[],e.pane.push(this),this.setOptions(t)},t.prototype.setOptions=function(t){this.options=t=ta(tr.pane,this.chart.angular?{background:{}}:void 0,t)},t.prototype.render=function(){var t=this.options,e=this.chart.renderer;this.group||(this.group=e.g("pane-group").attr({zIndex:t.zIndex||0}).add()),this.updateCenter();var i=this.options.background;if(i)for(var o=Math.max((i=tn(i)).length,this.background.length||0),r=0;r<o;r++)i[r]&&this.axis?this.renderBackground(ta(tr.background,i[r]),r):this.background[r]&&(this.background[r]=this.background[r].destroy(),this.background.splice(r,1))},t.prototype.renderBackground=function(t,e){var i={class:"highcharts-pane "+(t.className||"")},o="animate";this.chart.styledMode||ts(i,{fill:t.backgroundColor,stroke:t.borderColor,"stroke-width":t.borderWidth}),this.background[e]||(this.background[e]=this.chart.renderer.path().add(this.group),o="attr"),this.background[e][o]({d:this.axis.getPlotBandPath(t.from,t.to,t)}).attr(i)},t.prototype.updateCenter=function(t){this.center=(t||this.axis||{}).center=V.getCenter.call(this)},t.prototype.update=function(t,e){ta(!0,this.options,t),this.setOptions(this.options),this.render(),this.chart.axes.forEach(function(t){t.pane===this&&(t.pane=null,t.update({},e))},this)},t.compose=to,t}(),tl=(c=function(t,e){return(c=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])})(t,e)},function(t,e){function i(){this.constructor=t}c(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),tp=D().seriesTypes.area.prototype,tc=tp.pointClass,tu=tp.pointClass.prototype,td=_().defined,tf=_().isNumber,tg=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return tl(e,t),e.prototype.setState=function(){var t=this.state,e=this.series,i=e.chart.polar;td(this.plotHigh)||(this.plotHigh=e.yAxis.toPixels(this.high,!0)),td(this.plotLow)||(this.plotLow=this.plotY=e.yAxis.toPixels(this.low,!0)),e.lowerStateMarkerGraphic=e.stateMarkerGraphic,e.stateMarkerGraphic=e.upperStateMarkerGraphic,this.graphic=this.graphics&&this.graphics[1],this.plotY=this.plotHigh,i&&tf(this.plotHighX)&&(this.plotX=this.plotHighX),tu.setState.apply(this,arguments),this.state=t,this.plotY=this.plotLow,this.graphic=this.graphics&&this.graphics[0],i&&tf(this.plotLowX)&&(this.plotX=this.plotLowX),e.upperStateMarkerGraphic=e.stateMarkerGraphic,e.stateMarkerGraphic=e.lowerStateMarkerGraphic,e.lowerStateMarkerGraphic=void 0;var o=e.modifyMarkerSettings();tu.setState.apply(this,arguments),e.restoreMarkerSettings(o)},e.prototype.haloPath=function(){var t=this.series.chart.polar,e=[];return this.plotY=this.plotLow,t&&tf(this.plotLowX)&&(this.plotX=this.plotLowX),this.isInside&&(e=tu.haloPath.apply(this,arguments)),this.plotY=this.plotHigh,t&&tf(this.plotHighX)&&(this.plotX=this.plotHighX),this.isTopInside&&(e=e.concat(tu.haloPath.apply(this,arguments))),e},e.prototype.isValid=function(){return tf(this.low)&&tf(this.high)},e}(tc),ty=(u=function(t,e){return(u=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}u(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),tv=_().noop,tb=D().seriesTypes,tm=tb.area,tx=tb.area.prototype,tP=tb.column.prototype,tM=_().addEvent,tL=_().defined,tw=_().extend,tk=_().isArray,tA=_().isNumber,tS=_().pick,tT=_().merge,tC={lineWidth:1,threshold:null,tooltip:{pointFormat:'<span style="color:{series.color}">●</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},trackByArea:!0,dataLabels:{align:void 0,verticalAlign:void 0,xLow:0,xHigh:0,yLow:0,yHigh:0}},tN=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return ty(e,t),e.prototype.toYData=function(t){return[t.low,t.high]},e.prototype.highToXY=function(t){var e=this.chart,i=this.xAxis.postTranslate(t.rectPlotX||0,this.yAxis.len-(t.plotHigh||0));t.plotHighX=i.x-e.plotLeft,t.plotHigh=i.y-e.plotTop,t.plotLowX=t.plotX},e.prototype.getGraphPath=function(t){var e,i,o,r=[],s=[],a=tx.getGraphPath,n=this.options,h=this.chart.polar,l=h&&!1!==n.connectEnds,p=n.connectNulls,c=n.step;for(e=(t=t||this.points).length;e--;){i=t[e];var u=h?{plotX:i.rectPlotX,plotY:i.yBottom,doCurve:!1}:{plotX:i.plotX,plotY:i.plotY,doCurve:!1};i.isNull||l||p||t[e+1]&&!t[e+1].isNull||s.push(u),o={polarPlotY:i.polarPlotY,rectPlotX:i.rectPlotX,yBottom:i.yBottom,plotX:tS(i.plotHighX,i.plotX),plotY:i.plotHigh,isNull:i.isNull},s.push(o),r.push(o),i.isNull||l||p||t[e-1]&&!t[e-1].isNull||s.push(u)}var d=a.call(this,t);c&&(!0===c&&(c="left"),n.step=({left:"right",center:"center",right:"left"})[c]);var f=a.call(this,r),g=a.call(this,s);n.step=c;var y=[].concat(d,f);return!this.chart.polar&&g[0]&&"M"===g[0][0]&&(g[0]=["L",g[0][1],g[0][2]]),this.graphPath=y,this.areaPath=d.concat(g),y.isArea=!0,y.xMap=d.xMap,this.areaPath.xMap=d.xMap,y},e.prototype.drawDataLabels=function(){var t,e,i,o,r,s,a,n=this.points,h=n.length,l=[],p=this.options.dataLabels,c=this.chart.inverted;if(p){if(tk(p)?(s=p[0]||{enabled:!1},a=p[1]||{enabled:!1}):((s=tw({},p)).x=p.xHigh,s.y=p.yHigh,(a=tw({},p)).x=p.xLow,a.y=p.yLow),s.enabled||(null===(t=this.hasDataLabels)||void 0===t?void 0:t.call(this))){for(i=h;i--;)if(o=n[i]){var u=o.plotHigh,d=void 0===u?0:u,f=o.plotLow,g=void 0===f?0:f;r=s.inside?d<g:d>g,o.y=o.high,o._plotY=o.plotY,o.plotY=d,l[i]=o.dataLabel,o.dataLabel=o.dataLabelUpper,o.below=r,c?s.align||(s.align=r?"right":"left"):s.verticalAlign||(s.verticalAlign=r?"top":"bottom")}for(this.options.dataLabels=s,tx.drawDataLabels&&tx.drawDataLabels.apply(this,arguments),i=h;i--;)(o=n[i])&&(o.dataLabelUpper=o.dataLabel,o.dataLabel=l[i],delete o.dataLabels,o.y=o.low,o.plotY=o._plotY)}if(a.enabled||(null===(e=this.hasDataLabels)||void 0===e?void 0:e.call(this))){for(i=h;i--;)if(o=n[i]){var y=o.plotHigh,d=void 0===y?0:y,v=o.plotLow,g=void 0===v?0:v;r=a.inside?d<g:d>g,o.below=!r,c?a.align||(a.align=r?"left":"right"):a.verticalAlign||(a.verticalAlign=r?"bottom":"top")}this.options.dataLabels=a,tx.drawDataLabels&&tx.drawDataLabels.apply(this,arguments)}if(s.enabled)for(i=h;i--;)(o=n[i])&&(o.dataLabels=[o.dataLabelUpper,o.dataLabel].filter(function(t){return!!t}));this.options.dataLabels=p}},e.prototype.alignDataLabel=function(){tP.alignDataLabel.apply(this,arguments)},e.prototype.modifyMarkerSettings=function(){var t={marker:this.options.marker,symbol:this.symbol};if(this.options.lowMarker){var e=this.options,i=e.marker,o=e.lowMarker;this.options.marker=tT(i,o),o.symbol&&(this.symbol=o.symbol)}return t},e.prototype.restoreMarkerSettings=function(t){this.options.marker=t.marker,this.symbol=t.symbol},e.prototype.drawPoints=function(){var t,e,i=this.points.length,o=this.modifyMarkerSettings();for(tx.drawPoints.apply(this,arguments),this.restoreMarkerSettings(o),t=0;t<i;)(e=this.points[t]).graphics=e.graphics||[],e.origProps={plotY:e.plotY,plotX:e.plotX,isInside:e.isInside,negative:e.negative,zone:e.zone,y:e.y},(e.graphic||e.graphics[0])&&(e.graphics[0]=e.graphic),e.graphic=e.graphics[1],e.plotY=e.plotHigh,tL(e.plotHighX)&&(e.plotX=e.plotHighX),e.y=tS(e.high,e.origProps.y),e.negative=e.y<(this.options.threshold||0),this.zones.length&&(e.zone=e.getZone()),this.chart.polar||(e.isInside=e.isTopInside=void 0!==e.plotY&&e.plotY>=0&&e.plotY<=this.yAxis.len&&e.plotX>=0&&e.plotX<=this.xAxis.len),t++;for(tx.drawPoints.apply(this,arguments),t=0;t<i;)(e=this.points[t]).graphics=e.graphics||[],(e.graphic||e.graphics[1])&&(e.graphics[1]=e.graphic),e.graphic=e.graphics[0],e.origProps&&(tw(e,e.origProps),delete e.origProps),t++},e.prototype.hasMarkerChanged=function(e,i){var o=e.lowMarker,r=i.lowMarker||{};return o&&(!1===o.enabled||r.symbol!==o.symbol||r.height!==o.height||r.width!==o.width)||t.prototype.hasMarkerChanged.call(this,e,i)},e.defaultOptions=tT(tm.defaultOptions,tC),e}(tm);tM(tN,"afterTranslate",function(){var t=this;"low,high"===this.pointArrayMap.join(",")&&this.points.forEach(function(e){var i=e.high,o=e.plotY;e.isNull?e.plotY=void 0:(e.plotLow=o,e.plotHigh=tA(i)?t.yAxis.translate(t.dataModify?t.dataModify.modifyValue(i):i,!1,!0,void 0,!0):void 0,t.dataModify&&(e.yBottom=e.plotHigh))})},{order:0}),tM(tN,"afterTranslate",function(){var t=this;this.points.forEach(function(e){if(t.chart.polar)t.highToXY(e),e.plotLow=e.plotY,e.tooltipPos=[((e.plotHighX||0)+(e.plotLowX||0))/2,((e.plotHigh||0)+(e.plotLow||0))/2];else{var i=e.pos(!1,e.plotLow),o=e.pos(!1,e.plotHigh);i&&o&&(i[0]=(i[0]+o[0])/2,i[1]=(i[1]+o[1])/2),e.tooltipPos=i}})},{order:3}),tw(tN.prototype,{deferTranslatePolar:!0,pointArrayMap:["low","high"],pointClass:tg,pointValKey:"low",setStackedPoints:tv}),D().registerSeriesType("arearange",tN);var tX=(d=function(t,e){return(d=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}d(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),tO=D().seriesTypes.spline.prototype,tY=_().merge,tI=_().extend,tE=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return tX(e,t),e.defaultOptions=tY(tN.defaultOptions),e}(tN);tI(tE.prototype,{getPointSpline:tO.getPointSpline}),D().registerSeriesType("areasplinerange",tE);var tR={threshold:null,tooltip:{pointFormat:'<span style="color:{point.color}">●</span> <b>{series.name}</b><br/>Maximum: {point.high}<br/>Upper quartile: {point.q3}<br/>Median: {point.median}<br/>Lower quartile: {point.q1}<br/>Minimum: {point.low}<br/>'},whiskerLength:"50%",fillColor:"#ffffff",lineWidth:1,medianWidth:2,whiskerWidth:2},t_=I(448),tz=I.n(t_),tD=(f=function(t,e){return(f=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}f(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),tB=function(t,e,i){if(i||2==arguments.length)for(var o,r=0,s=e.length;r<s;r++)!o&&r in e||(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return t.concat(o||Array.prototype.slice.call(e))},tW=_().noop,tH=_().crisp,tj=_().extend,tF=_().merge,tq=_().pick,tG=_().relativeLength,tV=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return tD(e,t),e.prototype.pointAttribs=function(){return{}},e.prototype.getWhiskerPair=function(t,e,i,o,r){var s=r.whiskers.strokeWidth(),a=function(i,o){var r=tG(i,2*t)/2,a=tH(o,s);return[["M",tH(e-r),a],["L",tH(e+r),a]]};return tB(tB([],a(i,r.highPlot),!0),a(o,r.lowPlot),!0)},e.prototype.translate=function(){var e=this.yAxis,i=this.pointArrayMap;t.prototype.translate.apply(this),this.points.forEach(function(t){i.forEach(function(i){null!==t[i]&&(t[i+"Plot"]=e.translate(t[i],0,1,0,1))}),t.plotHigh=t.highPlot})},e.prototype.drawPoints=function(){for(var t,e,i,o,r,s,a,n,h,l,p,c,u,d,f,g=this.points,y=this.options,v=this.chart,b=v.renderer,m=!1!==this.doQuartiles,x=this.options.whiskerLength,P=0;P<g.length;P++){var M=g[P],L=(c=M.graphic)?"animate":"attr",w=M.shapeArgs,k={},A={},S={},T={},C=M.color||this.color,N=M.options.whiskerLength||x;if(void 0!==M.plotY){u=w.width,f=(d=w.x)+u,r=m?M.q1Plot:M.lowPlot,s=m?M.q3Plot:M.lowPlot,a=M.highPlot,n=M.lowPlot,c||(M.graphic=c=b.g("point").add(this.group),M.stem=b.path().addClass("highcharts-boxplot-stem").add(c),x&&(M.whiskers=b.path().addClass("highcharts-boxplot-whisker").add(c)),m&&(M.box=b.path(p).addClass("highcharts-boxplot-box").add(c)),M.medianShape=b.path(l).addClass("highcharts-boxplot-median").add(c)),v.styledMode||(A.stroke=M.stemColor||y.stemColor||C,A["stroke-width"]=tq(M.stemWidth,y.stemWidth,y.lineWidth),A.dashstyle=M.stemDashStyle||y.stemDashStyle||y.dashStyle,M.stem.attr(A),N&&(S.stroke=M.whiskerColor||y.whiskerColor||C,S["stroke-width"]=tq(M.whiskerWidth,y.whiskerWidth,y.lineWidth),S.dashstyle=M.whiskerDashStyle||y.whiskerDashStyle||y.dashStyle,M.whiskers.attr(S)),m&&(k.fill=M.fillColor||y.fillColor||C,k.stroke=y.lineColor||C,k["stroke-width"]=y.lineWidth||0,k.dashstyle=M.boxDashStyle||y.boxDashStyle||y.dashStyle,M.box.attr(k)),T.stroke=M.medianColor||y.medianColor||C,T["stroke-width"]=tq(M.medianWidth,y.medianWidth,y.lineWidth),T.dashstyle=M.medianDashStyle||y.medianDashStyle||y.dashStyle,M.medianShape.attr(T));var X=void 0,O=tH((M.plotX||0)+(this.pointXOffset||0)+(this.barW||0)/2,M.stem.strokeWidth());if(X=[["M",O,s],["L",O,a],["M",O,r],["L",O,n]],M.stem[L]({d:X}),m){var Y=M.box.strokeWidth();r=tH(r,Y),s=tH(s,Y),X=[["M",d=tH(d,Y),s],["L",d,r],["L",f=tH(f,Y),r],["L",f,s],["L",d,s],["Z"]],M.box[L]({d:X})}if(N){var I=u/2,E=this.getWhiskerPair(I,O,null!==(e=null!==(t=M.upperWhiskerLength)&&void 0!==t?t:y.upperWhiskerLength)&&void 0!==e?e:N,null!==(o=null!==(i=M.lowerWhiskerLength)&&void 0!==i?i:y.lowerWhiskerLength)&&void 0!==o?o:N,M);M.whiskers[L]({d:E})}X=[["M",d,h=tH(M.medianPlot,M.medianShape.strokeWidth())],["L",f,h]],M.medianShape[L]({d:X})}}},e.prototype.toYData=function(t){return[t.low,t.q1,t.median,t.q3,t.high]},e.defaultOptions=tF(tz().defaultOptions,tR),e}(tz());tj(tV.prototype,{pointArrayMap:["low","q1","median","q3","high"],pointValKey:"high",drawDataLabels:tW,setStackedPoints:tW}),D().registerSeriesType("boxplot",tV);var tU={borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:!1,labels:{className:void 0,allowOverlap:!1,format:"",formatter:void 0,align:"right",style:{fontSize:"0.9em",color:"#000000"},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:!1,zIndex:1,zThreshold:0},tK=I(620),tZ=I.n(tK),t$=I(984),tQ=I.n(t$),tJ=tZ().parse,t0=_().noop,t1=_().arrayMax,t2=_().arrayMin,t3=_().isNumber,t5=_().merge,t8=_().pick,t6=_().stableSort,t4=function(){function t(t,e){this.setState=t0,this.init(t,e)}return t.prototype.init=function(t,e){this.options=t,this.visible=!0,this.chart=e.chart,this.legend=e},t.prototype.addToLegend=function(t){t.splice(this.options.legendIndex,0,this)},t.prototype.drawLegendSymbol=function(t){var e,i=t8(t.options.itemDistance,20),o=this.legendItem||{},r=this.options,s=r.ranges,a=r.connectorDistance;if(!s||!s.length||!t3(s[0].value)){t.options.bubbleLegend.autoRanges=!0;return}t6(s,function(t,e){return e.value-t.value}),this.ranges=s,this.setOptions(),this.render();var n=this.getMaxLabelSize(),h=this.ranges[0].radius,l=2*h;e=(e=a-h+n.width)>0?e:0,this.maxLabel=n,this.movementX="left"===r.labels.align?e:0,o.labelWidth=l+e+i,o.labelHeight=l+n.height/2},t.prototype.setOptions=function(){var t=this.ranges,e=this.options,i=this.chart.series[e.seriesIndex],o=this.legend.baseline,r={zIndex:e.zIndex,"stroke-width":e.borderWidth},s={zIndex:e.zIndex,"stroke-width":e.connectorWidth},a={align:this.legend.options.rtl||"left"===e.labels.align?"right":"left",zIndex:e.zIndex},n=i.options.marker.fillOpacity,h=this.chart.styledMode;t.forEach(function(l,p){h||(r.stroke=t8(l.borderColor,e.borderColor,i.color),r.fill=t8(l.color,e.color,1!==n?tJ(i.color).setOpacity(n).get("rgba"):i.color),s.stroke=t8(l.connectorColor,e.connectorColor,i.color)),t[p].radius=this.getRangeRadius(l.value),t[p]=t5(t[p],{center:t[0].radius-t[p].radius+o}),h||t5(!0,t[p],{bubbleAttribs:t5(r),connectorAttribs:t5(s),labelAttribs:a})},this)},t.prototype.getRangeRadius=function(t){var e=this.options,i=this.options.seriesIndex,o=this.chart.series[i],r=e.ranges[0].value,s=e.ranges[e.ranges.length-1].value,a=e.minSize,n=e.maxSize;return o.getRadius.call(this,s,r,a,n,t)},t.prototype.render=function(){var t=this.legendItem||{},e=this.chart.renderer,i=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]}),t.symbol=e.g("bubble-legend"),t.label=e.g("bubble-legend-item").css(this.legend.itemStyle||{}),t.symbol.translateX=0,t.symbol.translateY=0,t.symbol.add(t.label),t.label.add(t.group);for(var o=0,r=this.ranges;o<r.length;o++){var s=r[o];s.value>=i&&this.renderRange(s)}this.hideOverlappingLabels()},t.prototype.renderRange=function(t){var e=this.ranges[0],i=this.legend,o=this.options,r=o.labels,s=this.chart,a=s.series[o.seriesIndex],n=s.renderer,h=this.symbols,l=h.labels,p=t.center,c=Math.abs(t.radius),u=o.connectorDistance||0,d=r.align,f=i.options.rtl,g=o.borderWidth,y=o.connectorWidth,v=e.radius||0,b=p-c-g/2+y/2,m=(b%1?1:.5)-(y%2?0:.5),x=n.styledMode,P=f||"left"===d?-u:u;"center"===d&&(P=0,o.connectorDistance=0,t.labelAttribs.align="center"),h.bubbleItems.push(n.circle(v,p+m,c).attr(x?{}:t.bubbleAttribs).addClass((x?"highcharts-color-"+a.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(o.className||"")).add(this.legendItem.symbol)),h.connectors.push(n.path(n.crispLine([["M",v,b],["L",v+P,b]],o.connectorWidth)).attr(x?{}:t.connectorAttribs).addClass((x?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(o.connectorClassName||"")).add(this.legendItem.symbol));var M=n.text(this.formatLabel(t)).attr(x?{}:t.labelAttribs).css(x?{}:r.style).addClass("highcharts-bubble-legend-labels "+(o.labels.className||"")).add(this.legendItem.symbol),L={x:v+P+o.labels.x,y:b+o.labels.y+.4*M.getBBox().height};M.attr(L),l.push(M),M.placed=!0,M.alignAttr=L},t.prototype.getMaxLabelSize=function(){var t,e;return this.symbols.labels.forEach(function(i){e=i.getBBox(!0),t=t?e.width>t.width?e:t:e}),t||{}},t.prototype.formatLabel=function(t){var e=this.options,i=e.labels.formatter,o=e.labels.format,r=this.chart.numberFormatter;return o?tQ().format(o,t,this.chart):i?i.call(t):r(t.value,1)},t.prototype.hideOverlappingLabels=function(){var t=this.chart,e=this.options.labels.allowOverlap,i=this.symbols;!e&&i&&(t.hideOverlappingLabels(i.labels),i.labels.forEach(function(t,e){t.newOpacity?t.newOpacity!==t.oldOpacity&&i.connectors[e].show():i.connectors[e].hide()}))},t.prototype.getRanges=function(){var t,e,i=this.legend.bubbleLegend,o=i.chart.series,r=i.options.ranges,s=Number.MAX_VALUE,a=-Number.MAX_VALUE;return o.forEach(function(t){t.isBubble&&!t.ignoreSeries&&(e=t.getColumn("z").filter(t3)).length&&(s=t8(t.options.zMin,Math.min(s,Math.max(t2(e),!1===t.options.displayNegative?t.options.zThreshold:-Number.MAX_VALUE))),a=t8(t.options.zMax,Math.max(a,t1(e))))}),t=s===a?[{value:a}]:[{value:s},{value:(s+a)/2},{value:a,autoRanges:!0}],r.length&&r[0].radius&&t.reverse(),t.forEach(function(e,i){r&&r[i]&&(t[i]=t5(r[i],e))}),t},t.prototype.predictBubbleSizes=function(){var t,e=this.chart,i=e.legend.options,o=i.floating,r="horizontal"===i.layout,s=r?e.legend.lastLineHeight:0,a=e.plotSizeX,n=e.plotSizeY,h=e.series[this.options.seriesIndex],l=h.getPxExtremes(),p=Math.ceil(l.minPxSize),c=Math.ceil(l.maxPxSize),u=Math.min(n,a),d=h.options.maxSize;return o||!/%$/.test(d)?t=c:(t=(u+s)*(d=parseFloat(d))/100/(d/100+1),(r&&n-t>=a||!r&&a-t>=n)&&(t=c)),[p,Math.ceil(t)]},t.prototype.updateRanges=function(t,e){var i=this.legend.options.bubbleLegend;i.minSize=t,i.maxSize=e,i.ranges=this.getRanges()},t.prototype.correctSizes=function(){var t=this.legend,e=this.chart.series[this.options.seriesIndex].getPxExtremes();Math.abs(Math.ceil(e.maxPxSize)-this.options.maxSize)>1&&(this.updateRanges(this.options.minSize,e.maxPxSize),t.render())},t}(),t9=_().setOptions,t7=_().composed,et=_().addEvent,ee=_().objectEach,ei=_().pushUnique,eo=_().wrap;function er(t,e,i){var o,r,s,a=this.legend,n=es(this)>=0;a&&a.options.enabled&&a.bubbleLegend&&a.options.bubbleLegend.autoRanges&&n?(o=a.bubbleLegend.options,r=a.bubbleLegend.predictBubbleSizes(),a.bubbleLegend.updateRanges(r[0],r[1]),o.placed||(a.group.placed=!1,a.allItems.forEach(function(t){(s=t.legendItem||{}).group&&(s.group.translateY=void 0)})),a.render(),o.placed||(this.getMargins(),this.axes.forEach(function(t){t.setScale(),t.updateNames(),ee(t.ticks,function(t){t.isNew=!0,t.isNewLabel=!0})}),this.getMargins()),o.placed=!0,t.call(this,e,i),a.bubbleLegend.correctSizes(),el(a,ea(a))):(t.call(this,e,i),a&&a.options.enabled&&a.bubbleLegend&&(a.render(),el(a,ea(a))))}function es(t){for(var e=t.series,i=0;i<e.length;){if(e[i]&&e[i].isBubble&&e[i].visible&&e[i].dataTable.rowCount)return i;i++}return -1}function ea(t){var e,i,o,r=t.allItems,s=[],a=r.length,n=0,h=0;for(n=0;n<a;n++)if(i=r[n].legendItem||{},o=(r[n+1]||{}).legendItem||{},i.labelHeight&&(r[n].itemHeight=i.labelHeight),r[n]===r[a-1]||i.y!==o.y){for(s.push({height:0}),e=s[s.length-1];h<=n;h++)r[h].itemHeight>e.height&&(e.height=r[h].itemHeight);e.step=n}return s}function en(t){var e=this.bubbleLegend,i=this.options,o=i.bubbleLegend,r=es(this.chart);e&&e.ranges&&e.ranges.length&&(o.ranges.length&&(o.autoRanges=!!o.ranges[0].autoRanges),this.destroyItem(e)),r>=0&&i.enabled&&o.enabled&&(o.seriesIndex=r,this.bubbleLegend=new t4(o,this),this.bubbleLegend.addToLegend(t.allItems))}function eh(t){if(t.defaultPrevented)return!1;var e,i=t.legendItem,o=this.chart,r=i.visible;this&&this.bubbleLegend&&(i.visible=!r,i.ignoreSeries=r,e=es(o)>=0,this.bubbleLegend.visible!==e&&(this.update({bubbleLegend:{enabled:e}}),this.bubbleLegend.visible=e),i.visible=r)}function el(t,e){var i,o,r,s,a=t.allItems,n=t.options.rtl,h=0;a.forEach(function(t,a){(s=t.legendItem||{}).group&&(i=s.group.translateX||0,o=s.y||0,((r=t.movementX)||n&&t.ranges)&&(r=n?i-t.options.maxSize/2:i+r,s.group.attr({translateX:r})),a>e[h].step&&h++,s.group.attr({translateY:Math.round(o+e[h].height/2)}),s.y=o+e[h].height/2)})}var ep=function(t,e){ei(t7,"Series.BubbleLegend")&&(t9({legend:{bubbleLegend:tU}}),eo(t.prototype,"drawChartBox",er),et(e,"afterGetAllItems",en),et(e,"itemClick",eh))},ec=I(260),eu=I.n(ec),ed=(g=function(t,e){return(g=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}g(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),ef=D().seriesTypes.scatter.prototype.pointClass,eg=_().extend,ey=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return ed(e,t),e.prototype.haloPath=function(t){var e=(t&&this.marker&&this.marker.radius||0)+t;if(this.series.chart.inverted){var i=this.pos()||[0,0],o=this.series,r=o.xAxis,s=o.yAxis;return o.chart.renderer.symbols.circle(r.len-i[1]-e,s.len-i[0]-e,2*e,2*e)}return eu().prototype.haloPath.call(this,e)},e}(ef);eg(ey.prototype,{ttBelow:!1});var ev=(y=function(t,e){return(y=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}y(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),eb=tZ().parse,em=_().composed,ex=_().noop,eP=D().series,eM=D().seriesTypes,eL=eM.column.prototype,ew=eM.scatter,ek=_().addEvent,eA=_().arrayMax,eS=_().arrayMin,eT=_().clamp,eC=_().extend,eN=_().isNumber,eX=_().merge,eO=_().pick,eY=_().pushUnique;function eI(){var t,e=this,i=this.len,o=this.coll,r=this.isXAxis,s=this.min,a=(this.max||0)-(s||0),n=0,h=i,l=i/a;("xAxis"===o||"yAxis"===o)&&(this.series.forEach(function(i){if(i.bubblePadding&&i.reserveSpace()){e.allowZoomOutside=!0,t=!0;var o=i.getColumn(r?"x":"y");if(r&&((i.onPoint||i).getRadii(0,0,i),i.onPoint&&(i.radii=i.onPoint.radii)),a>0){for(var p=o.length;p--;)if(eN(o[p])&&e.dataMin<=o[p]&&o[p]<=e.max){var c=i.radii&&i.radii[p]||0;n=Math.min((o[p]-s)*l-c,n),h=Math.max((o[p]-s)*l+c,h)}}}}),t&&a>0&&!this.logarithmic&&(h-=i,l*=(i+Math.max(0,n)-Math.min(h,i))/i,[["min","userMin",n],["max","userMax",h]].forEach(function(t){void 0===eO(e.options[t[0]],e[t[1]])&&(e[t[0]]+=t[2]/l)})))}function eE(){var t,e=this.ticks,i=this.tickPositions,o=this.dataMin,r=void 0===o?0:o,s=this.dataMax,a=void 0===s?0:s,n=this.categories,h=this.options.type;if(((null==n?void 0:n.length)||"category"===h)&&this.series.find(function(t){return t.bubblePadding}))for(var l=i.length;l--;){var p=e[i[l]],c=p.pos||0;(c>a||c<r)&&(null===(t=p.label)||void 0===t||t.hide())}}var eR=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return ev(e,t),e.compose=function(t,e,i){ep(e,i),eY(em,"Series.Bubble")&&(ek(t,"foundExtremes",eI),ek(t,"afterRender",eE))},e.prototype.animate=function(t){!t&&this.points.length<this.options.animationLimit&&this.points.forEach(function(t){var e=t.graphic,i=t.plotX,o=t.plotY;e&&e.width&&(this.hasRendered||e.attr({x:void 0===i?0:i,y:void 0===o?0:o,width:1,height:1}),e.animate(this.markerAttribs(t),this.options.animation))},this)},e.prototype.getRadii=function(){var t,e,i,o=this.getColumn("z"),r=this.getColumn("y"),s=[],a=this.chart.bubbleZExtremes,n=this.getPxExtremes(),h=n.minPxSize,l=n.maxPxSize;if(!a){var p,c=Number.MAX_VALUE,u=-Number.MAX_VALUE;this.chart.series.forEach(function(t){if(t.bubblePadding&&t.reserveSpace()){var e=(t.onPoint||t).getZExtremes();e&&(c=Math.min(eO(c,e.zMin),e.zMin),u=Math.max(eO(u,e.zMax),e.zMax),p=!0)}}),p?(a={zMin:c,zMax:u},this.chart.bubbleZExtremes=a):a={zMin:0,zMax:0}}for(e=0,t=o.length;e<t;e++)i=o[e],s.push(this.getRadius(a.zMin,a.zMax,h,l,i,r&&r[e]));this.radii=s},e.prototype.getRadius=function(t,e,i,o,r,s){var a=this.options,n="width"!==a.sizeBy,h=a.zThreshold,l=e-t,p=.5;if(null===s||null===r)return null;if(eN(r)){if(a.sizeByAbsoluteValue&&(r=Math.abs(r-h),e=l=Math.max(e-h,Math.abs(t-h)),t=0),r<t)return i/2-1;l>0&&(p=(r-t)/l)}return n&&p>=0&&(p=Math.sqrt(p)),Math.ceil(i+p*(o-i))/2},e.prototype.hasData=function(){return!!this.dataTable.rowCount},e.prototype.markerAttribs=function(e,i){var o=t.prototype.markerAttribs.call(this,e,i),r=o.height,s=o.width;return this.chart.inverted?eC(o,{x:(e.plotX||0)-(void 0===s?0:s)/2,y:(e.plotY||0)-(void 0===r?0:r)/2}):o},e.prototype.pointAttribs=function(t,e){var i=this.options.marker.fillOpacity,o=eP.prototype.pointAttribs.call(this,t,e);return 1!==i&&(o.fill=eb(o.fill).setOpacity(i).get("rgba")),o},e.prototype.translate=function(){t.prototype.translate.call(this),this.getRadii(),this.translateBubble()},e.prototype.translateBubble=function(){for(var t=this.data,e=this.options,i=this.radii,o=this.getPxExtremes().minPxSize,r=t.length;r--;){var s=t[r],a=i?i[r]:0;"z"===this.zoneAxis&&(s.negative=(s.z||0)<(e.zThreshold||0)),eN(a)&&a>=o/2?(s.marker=eC(s.marker,{radius:a,width:2*a,height:2*a}),s.dlBox={x:s.plotX-a,y:s.plotY-a,width:2*a,height:2*a}):(s.shapeArgs=s.plotY=s.dlBox=void 0,s.isInside=!1)}},e.prototype.getPxExtremes=function(){var t=Math.min(this.chart.plotWidth,this.chart.plotHeight),e=function(e){var i;return"string"==typeof e&&(i=/%$/.test(e),e=parseInt(e,10)),i?t*e/100:e},i=e(eO(this.options.minSize,8)),o=Math.max(e(eO(this.options.maxSize,"20%")),i);return{minPxSize:i,maxPxSize:o}},e.prototype.getZExtremes=function(){var t=this.options,e=this.getColumn("z").filter(eN);if(e.length){var i=eO(t.zMin,eT(eS(e),!1===t.displayNegative?t.zThreshold||0:-Number.MAX_VALUE,Number.MAX_VALUE)),o=eO(t.zMax,eA(e));if(eN(i)&&eN(o))return{zMin:i,zMax:o}}},e.prototype.searchKDTree=function(e,i,o,r,s){return void 0===r&&(r=ex),void 0===s&&(s=ex),r=function(t,e,i){var o,r,s,a=t[i]||0,n=e[i]||0,h=!1;return a<0&&n<0?(s=a-((null===(o=t.marker)||void 0===o?void 0:o.radius)||0)>=n-((null===(r=e.marker)||void 0===r?void 0:r.radius)||0)?t:e,h=!0):s=a<n?t:e,[s,h]},s=function(t,e,i){return!i&&t>e||t<e},t.prototype.searchKDTree.call(this,e,i,o,r,s)},e.defaultOptions=eX(ew.defaultOptions,{dataLabels:{formatter:function(){var t=this.series.chart.numberFormatter,e=this.point.z;return eN(e)?t(e,-1):""},inside:!0,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,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"}),e}(ew);eC(eR.prototype,{alignDataLabel:eL.alignDataLabel,applyZones:ex,bubblePadding:!0,isBubble:!0,keysAffectYAxis:["y"],pointArrayMap:["y","z"],pointClass:ey,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"}),ek(eR,"updatedData",function(t){delete t.target.chart.bubbleZExtremes}),ek(eR,"remove",function(t){delete t.target.chart.bubbleZExtremes}),D().registerSeriesType("bubble",eR);var e_=(v=function(t,e){return(v=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}v(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),ez=D().seriesTypes,eD=ez.column.prototype.pointClass.prototype,eB=ez.arearange.prototype.pointClass,eW=_().extend,eH=_().isNumber,ej=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return e_(e,t),e.prototype.isValid=function(){return eH(this.low)},e}(eB);eW(ej.prototype,{setState:eD.setState});var eF=(b=function(t,e){return(b=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}b(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),eq=_().noop,eG=D().seriesTypes,eV=eG.arearange,eU=eG.column,eK=eG.column.prototype,eZ=_().addEvent,e$=_().clamp,eQ=_().extend,eJ=_().isNumber,e0=_().merge,e1=_().pick,e2={borderRadius:{where:"all"},pointRange:null,legendSymbol:"rectangle",marker:null,states:{hover:{halo:!1}}},e3=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return eF(e,t),e.prototype.setOptions=function(){return e0(!0,arguments[0],{stacking:void 0}),eV.prototype.setOptions.apply(this,arguments)},e.prototype.translate=function(){return eK.translate.apply(this)},e.prototype.pointAttribs=function(){return eK.pointAttribs.apply(this,arguments)},e.prototype.translate3dPoints=function(){return eK.translate3dPoints.apply(this,arguments)},e.prototype.translate3dShapes=function(){return eK.translate3dShapes.apply(this,arguments)},e.prototype.afterColumnTranslate=function(){var t,e,i,o,r=this,s=this.yAxis,a=this.xAxis,n=a.startAngleRad,h=this.chart,l=this.xAxis.isRadial,p=Math.max(h.chartWidth,h.chartHeight)+999;this.points.forEach(function(c){var u=c.shapeArgs||{},d=r.options.minPointLength,f=c.plotY,g=s.translate(c.high,0,1,0,1);if(eJ(g)&&eJ(f)){if(c.plotHigh=e$(g,-p,p),c.plotLow=e$(f,-p,p),o=c.plotHigh,Math.abs(t=e1(c.rectPlotY,c.plotY)-c.plotHigh)<d?(e=d-t,t+=e,o-=e/2):t<0&&(t*=-1,o-=t),l&&r.polar)i=c.barX+n,c.shapeType="arc",c.shapeArgs=r.polar.arc(o+t,o,i,i+c.pointWidth);else{u.height=t,u.y=o;var y=u.x,v=void 0===y?0:y,b=u.width,m=void 0===b?0:b;c.shapeArgs=e0(c.shapeArgs,r.crispCol(v,o,m,t)),c.tooltipPos=h.inverted?[s.len+s.pos-h.plotLeft-o-t/2,a.len+a.pos-h.plotTop-v-m/2,t]:[a.left-h.plotLeft+v+m/2,s.pos-h.plotTop+o+t/2,t]}}})},e.defaultOptions=e0(eU.defaultOptions,eV.defaultOptions,e2),e}(eV);eZ(e3,"afterColumnTranslate",function(){e3.prototype.afterColumnTranslate.apply(this)},{order:5}),eQ(e3.prototype,{directTouch:!0,pointClass:ej,trackerGroups:["group","dataLabelsGroup"],adjustForMissingColumns:eK.adjustForMissingColumns,animate:eK.animate,crispCol:eK.crispCol,drawGraph:eq,drawPoints:eK.drawPoints,getSymbol:eq,drawTracker:eK.drawTracker,getColumnMetrics:eK.getColumnMetrics}),D().registerSeriesType("columnrange",e3);var e5={},e8=(m=function(t,e){return(m=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}m(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),e6=D().seriesTypes.column,e4=_().clamp,e9=_().merge,e7=_().pick,it=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return e8(e,t),e.prototype.translate=function(){var e=this.chart,i=this.options,o=this.dense=this.closestPointRange*this.xAxis.transA<2,r=this.borderWidth=e7(i.borderWidth,o?0:1),s=this.yAxis,a=i.threshold,n=e7(i.minPointLength,5),h=this.getColumnMetrics(),l=h.width,p=this.pointXOffset=h.offset,c=this.translatedThreshold=s.getThreshold(a),u=this.barW=Math.max(l,1+2*r);e.inverted&&(c-=.5),i.pointPadding&&(u=Math.ceil(u)),t.prototype.translate.call(this);for(var d=0,f=this.points;d<f.length;d++){var g=f[d],y=e7(g.yBottom,c),v=999+Math.abs(y),b=e4(g.plotY,-v,s.len+v),m=u/2,x=Math.min(b,y),P=Math.max(b,y)-x,M=g.plotX+p,L=void 0,w=void 0,k=void 0,A=void 0,S=void 0,T=void 0,C=void 0,N=void 0,X=void 0,O=void 0,Y=void 0;i.centerInCategory&&(M=this.adjustForMissingColumns(M,l,g,h)),g.barX=M,g.pointWidth=l,g.tooltipPos=e.inverted?[s.len+s.pos-e.plotLeft-b,this.xAxis.len-M-m,P]:[M+m,b+s.pos-e.plotTop,P],L=a+(g.total||g.y),"percent"===i.stacking&&(L=a+(g.y<0)?-100:100);var I=s.toPixels(L,!0);k=(w=e.plotHeight-I-(e.plotHeight-c))?m*(x-I)/w:0,A=w?m*(x+P-I)/w:0,T=M-k+m,C=M+k+m,N=M+A+m,X=M-A+m,O=x-n,Y=x+P,g.y<0&&(O=x,Y=x+P+n),e.inverted&&(S=s.width-x,w=I-(s.width-c),k=m*(I-S)/w,A=m*(I-(S-P))/w,C=(T=M+m+k)-2*k,N=M-A+m,X=M+A+m,O=x,Y=x+P-n,g.y<0&&(Y=x+P+n)),g.shapeType="path",g.shapeArgs={x:T,y:O,width:C-T,height:P,d:[["M",T,O],["L",C,O],["L",N,Y],["L",X,Y],["Z"]]}}},e.defaultOptions=e9(e6.defaultOptions,e5),e}(e6);D().registerSeriesType("columnpyramid",it);var ie={color:"#000000",grouping:!1,linkedTo:":previous",tooltip:{pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},whiskerWidth:null},ii=(x=function(t,e){return(x=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}x(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),io=D().seriesTypes.arearange,ir=_().addEvent,is=_().merge,ia=_().extend,ih=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return ii(e,t),e.prototype.getColumnMetrics=function(){return this.linkedParent&&this.linkedParent.columnMetrics||tz().prototype.getColumnMetrics.call(this)},e.prototype.drawDataLabels=function(){var t=this.pointValKey;if(io){io.prototype.drawDataLabels.call(this);for(var e=0,i=this.points;e<i.length;e++){var o=i[e];o.y=o[t]}}},e.prototype.toYData=function(t){return[t.low,t.high]},e.defaultOptions=is(tV.defaultOptions,ie),e}(tV);ir(ih,"afterTranslate",function(){for(var t=0,e=this.points;t<e.length;t++){var i=e[t];i.plotLow=i.plotY}},{order:0}),ia(ih.prototype,{pointArrayMap:["low","high"],pointValKey:"high",doQuartiles:!1}),D().registerSeriesType("errorbar",ih);var il=(P=function(t,e){return(P=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}P(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),ip=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return il(e,t),e.prototype.setState=function(t){this.state=t},e}(D().series.prototype.pointClass),ic=(M=function(t,e){return(M=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}M(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),iu=_().noop,id=D().series,ig=D().seriesTypes.column,iy=_().clamp,iv=_().isNumber,ib=_().extend,im=_().merge,ix=_().pick,iP=_().pInt,iM=_().defined,iL=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return ic(e,t),e.prototype.translate=function(){var t=this.yAxis,e=this.options,i=t.center;this.generatePoints(),this.points.forEach(function(o){var r=im(e.dial,o.dial),s=iP(r.radius)*i[2]/200,a=iP(r.baseLength)*s/100,n=iP(r.rearLength)*s/100,h=r.baseWidth,l=r.topWidth,p=e.overshoot,c=t.startAngleRad+t.translate(o.y,void 0,void 0,void 0,!0);(iv(p)||!1===e.wrap)&&(p=iv(p)?p/180*Math.PI:0,c=iy(c,t.startAngleRad-p,t.endAngleRad+p)),c=180*c/Math.PI,o.shapeType="path";var u=r.path||[["M",-n,-h/2],["L",a,-h/2],["L",s,-l/2],["L",s,l/2],["L",a,h/2],["L",-n,h/2],["Z"]];o.shapeArgs={d:u,translateX:i[0],translateY:i[1],rotation:c},o.plotX=i[0],o.plotY=i[1],iM(o.y)&&t.max-t.min&&(o.percentage=(o.y-t.min)/(t.max-t.min)*100)})},e.prototype.drawPoints=function(){var t=this,e=t.chart,i=t.yAxis.center,o=t.pivot,r=t.options,s=r.pivot,a=e.renderer;t.points.forEach(function(i){var o=i.graphic,s=i.shapeArgs,n=s.d,h=im(r.dial,i.dial);o?(o.animate(s),s.d=n):i.graphic=a[i.shapeType](s).addClass("highcharts-dial").add(t.group),e.styledMode||i.graphic[o?"animate":"attr"]({stroke:h.borderColor,"stroke-width":h.borderWidth,fill:h.backgroundColor})}),o?o.animate({translateX:i[0],translateY:i[1]}):s&&(t.pivot=a.circle(0,0,s.radius).attr({zIndex:2}).addClass("highcharts-pivot").translate(i[0],i[1]).add(t.group),e.styledMode||t.pivot.attr({fill:s.backgroundColor,stroke:s.borderColor,"stroke-width":s.borderWidth}))},e.prototype.animate=function(t){var e=this;t||e.points.forEach(function(t){var i=t.graphic;i&&(i.attr({rotation:180*e.yAxis.startAngleRad/Math.PI}),i.animate({rotation:t.shapeArgs.rotation},e.options.animation))})},e.prototype.render=function(){this.group=this.plotGroup("group","series",this.visible?"inherit":"hidden",this.options.zIndex,this.chart.seriesGroup),id.prototype.render.call(this),this.group.clip(this.chart.clipRect)},e.prototype.setData=function(t,e){id.prototype.setData.call(this,t,!1),this.processData(),this.generatePoints(),ix(e,!0)&&this.chart.redraw()},e.prototype.hasData=function(){return!!this.points.length},e.defaultOptions=im(id.defaultOptions,{dataLabels:{borderColor:"#cccccc",borderRadius:3,borderWidth:1,crop:!1,defer:!1,enabled:!0,verticalAlign:"top",y:15,zIndex:2},dial:{backgroundColor:"#000000",baseLength:"70%",baseWidth:3,borderColor:"#cccccc",borderWidth:0,radius:"80%",rearLength:"10%",topWidth:1},pivot:{radius:5,borderWidth:0,borderColor:"#cccccc",backgroundColor:"#000000"},tooltip:{headerFormat:""},showInLegend:!1}),e}(id);ib(iL.prototype,{angular:!0,directTouch:!0,drawGraph:iu,drawTracker:ig.prototype.drawTracker,fixedBox:!0,forceDL:!0,noSharedTooltip:!0,pointClass:ip,trackerGroups:["group","dataLabelsGroup"]}),D().registerSeriesType("gauge",iL);var iw=_().composed,ik=_().addEvent,iA=_().pushUnique;function iS(){var t,e,i,o=this;o.container&&(t=ik(o.container,"mousedown",function(t){var r=o.hoverPoint;r&&r.series&&r.series.hasDraggableNodes&&r.series.options.draggable&&(r.series.onMouseDown(r,t),e=ik(o.container,"mousemove",function(t){return r&&r.series&&r.series.onMouseMove(r,t)}),i=ik(o.container.ownerDocument,"mouseup",function(t){return e(),i(),r&&r.series&&r.series.onMouseUp(r,t)}))})),ik(o,"destroy",function(){t()})}var iT={compose:function(t){iA(iw,"DragNodes")&&ik(t,"load",iS)},onMouseDown:function(t,e){var i,o=(null===(i=this.chart.pointer)||void 0===i?void 0:i.normalize(e))||e;t.fixedPosition={chartX:o.chartX,chartY:o.chartY,plotX:t.plotX,plotY:t.plotY},t.inDragMode=!0},onMouseMove:function(t,e){var i;if(t.fixedPosition&&t.inDragMode){var o=this.chart,r=(null===(i=o.pointer)||void 0===i?void 0:i.normalize(e))||e,s=t.fixedPosition.chartX-r.chartX,a=t.fixedPosition.chartY-r.chartY,n=o.graphLayoutsLookup,h=void 0,l=void 0;(Math.abs(s)>5||Math.abs(a)>5)&&(h=t.fixedPosition.plotX-s,l=t.fixedPosition.plotY-a,o.isInsidePlot(h,l)&&(t.plotX=h,t.plotY=l,t.hasDragged=!0,this.redrawHalo(t),n.forEach(function(t){t.restartSimulation()})))}},onMouseUp:function(t){t.fixedPosition&&(t.hasDragged&&(this.layout.enableSimulation?this.layout.start():this.chart.redraw()),t.inDragMode=t.hasDragged=!1,this.options.fixedDraggable||delete t.fixedPosition)},redrawHalo:function(t){t&&this.halo&&this.halo.attr({d:t.haloPath(this.options.states.hover.halo.size)})}},iC=_().setAnimation,iN=_().composed,iX=_().addEvent,iO=_().pushUnique;function iY(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach(function(t){t.updateSimulation()}),this.redraw())}function iI(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach(function(t){t.updateSimulation(!1)}),this.redraw())}function iE(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach(function(t){t.stop()})}function iR(){var t,e=!1,i=function(i){i.maxIterations--&&isFinite(i.temperature)&&!i.isStable()&&!i.enableSimulation&&(i.beforeStep&&i.beforeStep(),i.step(),t=!1,e=!0)};if(this.graphLayoutsLookup){for(iC(!1,this),this.graphLayoutsLookup.forEach(function(t){return t.start()});!t;)t=!0,this.graphLayoutsLookup.forEach(i);e&&this.series.forEach(function(t){t&&t.layout&&t.render()})}}var i_={compose:function(t){iO(iN,"GraphLayout")&&(iX(t,"afterPrint",iY),iX(t,"beforePrint",iI),iX(t,"predraw",iE),iX(t,"render",iR))},integrations:{},layouts:{}},iz=I(960),iD=I.n(iz),iB=(L=function(t,e){return(L=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}L(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),iW=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return iB(e,t),e.prototype.destroy=function(){var t;return(null===(t=this.series)||void 0===t?void 0:t.layout)&&this.series.layout.removeElementFromCollection(this,this.series.layout.nodes),eu().prototype.destroy.apply(this,arguments)},e.prototype.firePointEvent=function(){var t=this.series.options;if(this.isParentNode&&t.parentNode){var e=t.allowPointSelect;t.allowPointSelect=t.parentNode.allowPointSelect,eu().prototype.firePointEvent.apply(this,arguments),t.allowPointSelect=e}else eu().prototype.firePointEvent.apply(this,arguments)},e.prototype.select=function(){var t=this.series.chart;this.isParentNode?(t.getSelectedPoints=t.getSelectedParentNodes,eu().prototype.select.apply(this,arguments),t.getSelectedPoints=iD().prototype.getSelectedPoints):eu().prototype.select.apply(this,arguments)},e}(D().seriesTypes.bubble.prototype.pointClass),iH=_().isNumber,ij={minSize:"10%",maxSize:"50%",sizeBy:"area",zoneAxis:"y",crisp:!1,tooltip:{pointFormat:"Value: {point.value}"},draggable:!0,useSimulation:!0,parentNode:{allowPointSelect:!1},dataLabels:{formatter:function(){var t=this.series.chart.numberFormatter,e=this.point.value;return iH(e)?t(e,-1):""},parentNodeFormatter:function(){return this.name||""},parentNodeTextPath:{enabled:!0},padding:0,style:{transition:"opacity 2000ms"}},layoutAlgorithm:{initialPositions:"circle",initialPositionRadius:20,bubblePadding:5,parentNodeLimit:!1,seriesInteraction:!0,dragBetweenSeries:!1,parentNodeOptions:{maxIterations:400,gravitationalConstant:.03,maxSpeed:50,initialPositionRadius:100,seriesInteraction:!0,marker:{fillColor:null,fillOpacity:1,lineWidth:null,lineColor:null,symbol:"circle"}},enableSimulation:!0,type:"packedbubble",integration:"packedbubble",maxIterations:1e3,splitSeries:!1,maxSpeed:5,gravitationalConstant:.01,friction:-.981}},iF={attractive:function(t,e,i){var o=t.getMass(),r=-i.x*e*this.diffTemperature,s=-i.y*e*this.diffTemperature;t.fromNode.fixedPosition||(t.fromNode.plotX-=r*o.fromNode/t.fromNode.degree,t.fromNode.plotY-=s*o.fromNode/t.fromNode.degree),t.toNode.fixedPosition||(t.toNode.plotX+=r*o.toNode/t.toNode.degree,t.toNode.plotY+=s*o.toNode/t.toNode.degree)},attractiveForceFunction:function(t,e){return(e-t)/t},barycenter:function(){var t=this.options.gravitationalConstant||0,e=(this.barycenter.xFactor-(this.box.left+this.box.width)/2)*t,i=(this.barycenter.yFactor-(this.box.top+this.box.height)/2)*t;this.nodes.forEach(function(t){t.fixedPosition||(t.plotX-=e/t.mass/t.degree,t.plotY-=i/t.mass/t.degree)})},getK:function(t){return Math.pow(t.box.width*t.box.height/t.nodes.length,.5)},integrate:function(t,e){var i=-t.options.friction,o=t.options.maxSpeed,r=e.prevX,s=e.prevY,a=(e.plotX+e.dispX-r)*i,n=(e.plotY+e.dispY-s)*i,h=Math.abs,l=h(a)/(a||1),p=h(n)/(n||1),c=l*Math.min(o,Math.abs(a)),u=p*Math.min(o,Math.abs(n));e.prevX=e.plotX+e.dispX,e.prevY=e.plotY+e.dispY,e.plotX+=c,e.plotY+=u,e.temperature=t.vectorLength({x:c,y:u})},repulsive:function(t,e,i){var o=e*this.diffTemperature/t.mass/t.degree;t.fixedPosition||(t.plotX+=i.x*o,t.plotY+=i.y*o)},repulsiveForceFunction:function(t,e){return(e-t)/t*(e>t?1:0)}},iq={barycenter:function(){for(var t,e,i=this.options.gravitationalConstant,o=this.box,r=this.nodes,s=0;s<r.length;s++){var a=r[s];this.options.splitSeries&&!a.isParentNode?(t=a.series.parentNode.plotX,e=a.series.parentNode.plotY):(t=o.width/2,e=o.height/2),a.fixedPosition||(a.plotX-=(a.plotX-t)*i/(a.mass*Math.sqrt(r.length)),a.plotY-=(a.plotY-e)*i/(a.mass*Math.sqrt(r.length)))}},getK:_().noop,integrate:iF.integrate,repulsive:function(t,e,i,o){var r=e*this.diffTemperature/t.mass/t.degree,s=i.x*r,a=i.y*r;t.fixedPosition||(t.plotX+=s,t.plotY+=a),o.fixedPosition||(o.plotX-=s,o.plotY-=a)},repulsiveForceFunction:function(t,e,i,o){return Math.min(t,(i.marker.radius+o.marker.radius)/2)}},iG={attractive:function(t,e,i,o){var r=t.getMass(),s=i.x/o*e,a=i.y/o*e;t.fromNode.fixedPosition||(t.fromNode.dispX-=s*r.fromNode/t.fromNode.degree,t.fromNode.dispY-=a*r.fromNode/t.fromNode.degree),t.toNode.fixedPosition||(t.toNode.dispX+=s*r.toNode/t.toNode.degree,t.toNode.dispY+=a*r.toNode/t.toNode.degree)},attractiveForceFunction:function(t,e){return t*t/e},barycenter:function(){var t=this.options.gravitationalConstant,e=this.barycenter.xFactor,i=this.barycenter.yFactor;this.nodes.forEach(function(o){if(!o.fixedPosition){var r=o.getDegree(),s=r*(1+r/2);o.dispX+=(e-o.plotX)*t*s/o.degree,o.dispY+=(i-o.plotY)*t*s/o.degree}})},getK:function(t){return Math.pow(t.box.width*t.box.height/t.nodes.length,.3)},integrate:function(t,e){e.dispX+=e.dispX*t.options.friction,e.dispY+=e.dispY*t.options.friction;var i=e.temperature=t.vectorLength({x:e.dispX,y:e.dispY});0!==i&&(e.plotX+=e.dispX/i*Math.min(Math.abs(e.dispX),t.temperature),e.plotY+=e.dispY/i*Math.min(Math.abs(e.dispY),t.temperature))},repulsive:function(t,e,i,o){t.dispX+=i.x/o*e/t.degree,t.dispY+=i.y/o*e/t.degree},repulsiveForceFunction:function(t,e){return e*e/t}},iV=function(){function t(t){this.body=!1,this.isEmpty=!1,this.isInternal=!1,this.nodes=[],this.box=t,this.boxSize=Math.min(t.width,t.height)}return t.prototype.divideBox=function(){var e=this.box.width/2,i=this.box.height/2;this.nodes[0]=new t({left:this.box.left,top:this.box.top,width:e,height:i}),this.nodes[1]=new t({left:this.box.left+e,top:this.box.top,width:e,height:i}),this.nodes[2]=new t({left:this.box.left+e,top:this.box.top+i,width:e,height:i}),this.nodes[3]=new t({left:this.box.left,top:this.box.top+i,width:e,height:i})},t.prototype.getBoxPosition=function(t){var e=t.plotX<this.box.left+this.box.width/2,i=t.plotY<this.box.top+this.box.height/2;return e?i?0:3:i?1:2},t.prototype.insert=function(e,i){var o;this.isInternal?this.nodes[this.getBoxPosition(e)].insert(e,i-1):(this.isEmpty=!1,this.body?i?(this.isInternal=!0,this.divideBox(),!0!==this.body&&(this.nodes[this.getBoxPosition(this.body)].insert(this.body,i-1),this.body=!0),this.nodes[this.getBoxPosition(e)].insert(e,i-1)):((o=new t({top:e.plotX||NaN,left:e.plotY||NaN,width:.1,height:.1})).body=e,o.isInternal=!1,this.nodes.push(o)):(this.isInternal=!1,this.body=e))},t.prototype.updateMassAndCenter=function(){var t=0,e=0,i=0;if(this.isInternal){for(var o=0,r=this.nodes;o<r.length;o++){var s=r[o];s.isEmpty||(t+=s.mass,e+=s.plotX*s.mass,i+=s.plotY*s.mass)}e/=t,i/=t}else this.body&&(t=this.body.mass,e=this.body.plotX,i=this.body.plotY);this.mass=t,this.plotX=e,this.plotY=i},t}(),iU=function(){function t(t,e,i,o){this.box={left:t,top:e,width:i,height:o},this.maxDepth=25,this.root=new iV(this.box),this.root.isInternal=!0,this.root.isRoot=!0,this.root.divideBox()}return t.prototype.calculateMassAndCenter=function(){this.visitNodeRecursive(null,null,function(t){t.updateMassAndCenter()})},t.prototype.insertNodes=function(t){for(var e=0;e<t.length;e++){var i=t[e];this.root.insert(i,this.maxDepth)}},t.prototype.visitNodeRecursive=function(t,e,i){var o;if(t||(t=this.root),t===this.root&&e&&(o=e(t)),!1!==o){for(var r=0,s=t.nodes;r<s.length;r++){var a=s[r];if(a.isInternal){if(e&&(o=e(a)),!1===o)continue;this.visitNodeRecursive(a,e,i)}else a.body&&e&&e(a.body);i&&i(a)}t===this.root&&i&&i(t)}},t}(),iK=_().win,iZ=_().clamp,i$=_().defined,iQ=_().isFunction,iJ=_().fireEvent,i0=_().pick,i1=function(){function t(){this.box={},this.currentStep=0,this.initialRendering=!0,this.links=[],this.nodes=[],this.series=[],this.simulation=!1}return t.compose=function(e){i_.compose(e),i_.integrations.euler=iG,i_.integrations.verlet=iF,i_.layouts["reingold-fruchterman"]=t},t.prototype.init=function(t){this.options=t,this.nodes=[],this.links=[],this.series=[],this.box={x:0,y:0,width:0,height:0},this.setInitialRendering(!0),this.integration=i_.integrations[t.integration],this.enableSimulation=t.enableSimulation,this.attractiveForce=i0(t.attractiveForce,this.integration.attractiveForceFunction),this.repulsiveForce=i0(t.repulsiveForce,this.integration.repulsiveForceFunction),this.approximation=t.approximation},t.prototype.updateSimulation=function(t){this.enableSimulation=i0(t,this.options.enableSimulation)},t.prototype.start=function(){var t=this.series,e=this.options;this.currentStep=0,this.forces=t[0]&&t[0].forces||[],this.chart=t[0]&&t[0].chart,this.initialRendering&&(this.initPositions(),t.forEach(function(t){t.finishedAnimating=!0,t.render()})),this.setK(),this.resetSimulation(e),this.enableSimulation&&this.step()},t.prototype.step=function(){var t=this,e=this.series;this.currentStep++,"barnes-hut"===this.approximation&&(this.createQuadTree(),this.quadTree.calculateMassAndCenter());for(var i=0,o=this.forces||[];i<o.length;i++)this[o[i]+"Forces"](this.temperature);if(this.applyLimits(),this.temperature=this.coolDown(this.startTemperature,this.diffTemperature,this.currentStep),this.prevSystemTemperature=this.systemTemperature,this.systemTemperature=this.getSystemTemperature(),this.enableSimulation){for(var r=0;r<e.length;r++){var s=e[r];s.chart&&s.render()}this.maxIterations--&&isFinite(this.temperature)&&!this.isStable()?(this.simulation&&iK.cancelAnimationFrame(this.simulation),this.simulation=iK.requestAnimationFrame(function(){return t.step()})):(this.simulation=!1,this.series.forEach(function(t){iJ(t,"afterSimulation")}))}},t.prototype.stop=function(){this.simulation&&iK.cancelAnimationFrame(this.simulation)},t.prototype.setArea=function(t,e,i,o){this.box={left:t,top:e,width:i,height:o}},t.prototype.setK=function(){this.k=this.options.linkLength||this.integration.getK(this)},t.prototype.addElementsToCollection=function(t,e){for(var i=0;i<t.length;i++){var o=t[i];-1===e.indexOf(o)&&e.push(o)}},t.prototype.removeElementFromCollection=function(t,e){var i=e.indexOf(t);-1!==i&&e.splice(i,1)},t.prototype.clear=function(){this.nodes.length=0,this.links.length=0,this.series.length=0,this.resetSimulation()},t.prototype.resetSimulation=function(){this.forcedStop=!1,this.systemTemperature=0,this.setMaxIterations(),this.setTemperature(),this.setDiffTemperature()},t.prototype.restartSimulation=function(){this.simulation?this.resetSimulation():(this.setInitialRendering(!1),this.enableSimulation?this.start():this.setMaxIterations(1),this.chart&&this.chart.redraw(),this.setInitialRendering(!0))},t.prototype.setMaxIterations=function(t){this.maxIterations=i0(t,this.options.maxIterations)},t.prototype.setTemperature=function(){this.temperature=this.startTemperature=Math.sqrt(this.nodes.length)},t.prototype.setDiffTemperature=function(){this.diffTemperature=this.startTemperature/(this.options.maxIterations+1)},t.prototype.setInitialRendering=function(t){this.initialRendering=t},t.prototype.createQuadTree=function(){this.quadTree=new iU(this.box.left,this.box.top,this.box.width,this.box.height),this.quadTree.insertNodes(this.nodes)},t.prototype.initPositions=function(){var t=this.options.initialPositions;if(iQ(t)){t.call(this);for(var e=0,i=this.nodes;e<i.length;e++){var o=i[e];i$(o.prevX)||(o.prevX=o.plotX),i$(o.prevY)||(o.prevY=o.plotY),o.dispX=0,o.dispY=0}}else"circle"===t?this.setCircularPositions():this.setRandomPositions()},t.prototype.setCircularPositions=function(){for(var t,e=this.box,i=this.nodes,o=2*Math.PI/(i.length+1),r=i.filter(function(t){return 0===t.linksTo.length}),s={},a=this.options.initialPositionRadius,n=function(t){for(var e=0,i=t.linksFrom||[];e<i.length;e++){var o=i[e];s[o.toNode.id]||(s[o.toNode.id]=!0,h.push(o.toNode),n(o.toNode))}},h=[],l=0;l<r.length;l++){var p=r[l];h.push(p),n(p)}if(h.length)for(var c=0;c<i.length;c++){var u=i[c];-1===h.indexOf(u)&&h.push(u)}else h=i;for(var d=0,f=h.length;d<f;++d)(t=h[d]).plotX=t.prevX=i0(t.plotX,e.width/2+a*Math.cos(d*o)),t.plotY=t.prevY=i0(t.plotY,e.height/2+a*Math.sin(d*o)),t.dispX=0,t.dispY=0},t.prototype.setRandomPositions=function(){for(var t,e=this.box,i=this.nodes,o=i.length+1,r=function(t){var e=t*t/Math.PI;return e-Math.floor(e)},s=0,a=i.length;s<a;++s)(t=i[s]).plotX=t.prevX=i0(t.plotX,e.width*r(s)),t.plotY=t.prevY=i0(t.plotY,e.height*r(o+s)),t.dispX=0,t.dispY=0},t.prototype.force=function(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];this.integration[t].apply(this,e)},t.prototype.barycenterForces=function(){this.getBarycenter(),this.force("barycenter")},t.prototype.getBarycenter=function(){for(var t=0,e=0,i=0,o=0,r=this.nodes;o<r.length;o++){var s=r[o];e+=s.plotX*s.mass,i+=s.plotY*s.mass,t+=s.mass}return this.barycenter={x:e,y:i,xFactor:e/t,yFactor:i/t},this.barycenter},t.prototype.barnesHutApproximation=function(t,e){var i,o,r=this.getDistXY(t,e),s=this.vectorLength(r);return t!==e&&0!==s&&(e.isInternal?e.boxSize/s<this.options.theta&&0!==s?(o=this.repulsiveForce(s,this.k),this.force("repulsive",t,o*e.mass,r,s),i=!1):i=!0:(o=this.repulsiveForce(s,this.k),this.force("repulsive",t,o*e.mass,r,s))),i},t.prototype.repulsiveForces=function(){var t=this;if("barnes-hut"===this.approximation)for(var e=function(e){i.quadTree.visitNodeRecursive(null,function(i){return t.barnesHutApproximation(e,i)})},i=this,o=0,r=this.nodes;o<r.length;o++){var s=r[o];e(s)}else for(var a=void 0,n=void 0,h=void 0,l=0,p=this.nodes;l<p.length;l++)for(var s=p[l],c=0,u=this.nodes;c<u.length;c++){var d=u[c];s===d||s.fixedPosition||(h=this.getDistXY(s,d),0!==(n=this.vectorLength(h))&&(a=this.repulsiveForce(n,this.k),this.force("repulsive",s,a*d.mass,h,n)))}},t.prototype.attractiveForces=function(){for(var t,e,i,o=0,r=this.links;o<r.length;o++){var s=r[o];s.fromNode&&s.toNode&&(t=this.getDistXY(s.fromNode,s.toNode),0!==(e=this.vectorLength(t))&&(i=this.attractiveForce(e,this.k),this.force("attractive",s,i,t,e)))}},t.prototype.applyLimits=function(){for(var t=this.nodes,e=0;e<t.length;e++){var i=t[e];i.fixedPosition||(this.integration.integrate(this,i),this.applyLimitBox(i,this.box),i.dispX=0,i.dispY=0)}},t.prototype.applyLimitBox=function(t,e){var i=t.radius;t.plotX=iZ(t.plotX,e.left+i,e.width-i),t.plotY=iZ(t.plotY,e.top+i,e.height-i)},t.prototype.coolDown=function(t,e,i){return t-e*i},t.prototype.isStable=function(){return 1e-5>Math.abs(this.systemTemperature-this.prevSystemTemperature)||this.temperature<=0},t.prototype.getSystemTemperature=function(){for(var t=0,e=0,i=this.nodes;e<i.length;e++)t+=i[e].temperature;return t},t.prototype.vectorLength=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.prototype.getDistR=function(t,e){var i=this.getDistXY(t,e);return this.vectorLength(i)},t.prototype.getDistXY=function(t,e){var i=t.plotX-e.plotX,o=t.plotY-e.plotY;return{x:i,y:o,absX:Math.abs(i),absY:Math.abs(o)}},t}(),i2=(w=function(t,e){return(w=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}w(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),i3=_().addEvent,i5=_().pick;function i8(){var t=this.series,e=[];return t.forEach(function(t){t.parentNode&&t.parentNode.selected&&e.push(t.parentNode)}),e}function i6(){this.allDataPoints&&delete this.allDataPoints}var i4=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.index=NaN,e.nodes=[],e.series=[],e}return i2(e,t),e.compose=function(t){i1.compose(t),i_.integrations.packedbubble=iq,i_.layouts.packedbubble=e;var i=t.prototype;i.getSelectedParentNodes||(i3(t,"beforeRedraw",i6),i.getSelectedParentNodes=i8)},e.prototype.beforeStep=function(){this.options.marker&&this.series.forEach(function(t){t&&t.calculateParentRadius()})},e.prototype.isStable=function(){var t=Math.abs(this.prevSystemTemperature-this.systemTemperature);return 1>Math.abs(10*this.systemTemperature/Math.sqrt(this.nodes.length))&&t<1e-5||this.temperature<=0},e.prototype.setCircularPositions=function(){for(var t,e,i=this.box,o=this.nodes,r=2*Math.PI/(o.length+1),s=this.options.initialPositionRadius,a=0,n=0;n<o.length;n++){var h=o[n];this.options.splitSeries&&!h.isParentNode?(t=h.series.parentNode.plotX,e=h.series.parentNode.plotY):(t=i.width/2,e=i.height/2),h.plotX=h.prevX=i5(h.plotX,t+s*Math.cos(h.index||a*r)),h.plotY=h.prevY=i5(h.plotY,e+s*Math.sin(h.index||a*r)),h.dispX=0,h.dispY=0,a++}},e.prototype.repulsiveForces=function(){var t,e,i,o=this,r=o.options.bubblePadding,s=o.nodes;s.forEach(function(a){a.degree=a.mass,a.neighbours=0,s.forEach(function(s){t=0,a!==s&&!a.fixedPosition&&(o.options.seriesInteraction||a.series===s.series)&&(i=o.getDistXY(a,s),(e=o.vectorLength(i)-(a.marker.radius+s.marker.radius+r))<0&&(a.degree+=.01,a.neighbours++,t=o.repulsiveForce(-e/Math.sqrt(a.neighbours),o.k,a,s)),o.force("repulsive",a,t*s.mass,i,s,e))})})},e.prototype.applyLimitBox=function(e,i){var o,r;this.options.splitSeries&&!e.isParentNode&&this.options.parentNodeLimit&&(o=this.getDistXY(e,e.series.parentNode),(r=e.series.parentNodeRadius-e.marker.radius-this.vectorLength(o))<0&&r>-2*e.marker.radius&&(e.plotX-=.01*o.x,e.plotY-=.01*o.y)),t.prototype.applyLimitBox.call(this,e,i)},e}(i1);i_.layouts.packedbubble=i4;var i9=_().merge,i7=_().syncTimeout,ot=_().animObject,oe={initDataLabels:function(){var t=this.options.dataLabels;if(!this.dataLabelsGroup){var e=this.initDataLabelsGroup();return!this.chart.styledMode&&(null==t?void 0:t.style)&&e.css(t.style),e.attr({opacity:0}),this.visible&&e.show(),e}return this.dataLabelsGroup.attr(i9({opacity:1},this.getPlotBox("data-labels"))),this.dataLabelsGroup},initDataLabelsDefer:function(){var t,e=this,i=this.options.dataLabels;(null==i?void 0:i.defer)&&(null===(t=this.options.layoutAlgorithm)||void 0===t?void 0:t.enableSimulation)?i7(function(){e.deferDataLabels=!1},i?ot(i.animation).defer:0):this.deferDataLabels=!1}},oi=I(28),oo=I.n(oi),or=_().deg2rad,os=_().addEvent,oa=_().merge,on=_().uniqueKey,oh=_().defined,ol=_().extend;function op(t,e){var i=this;e=oa(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},e);var o=this.renderer.url,r=this.text||this,s=r.textPath,a=e.attributes,n=e.enabled;if(t=t||s&&s.path,s&&s.undo(),t&&n){var h=os(r,"afterModifyTree",function(e){if(t&&n){var s=t.attr("id");s||t.attr("id",s=on());var h={x:0,y:0};oh(a.dx)&&(h.dx=a.dx,delete a.dx),oh(a.dy)&&(h.dy=a.dy,delete a.dy),r.attr(h),i.attr({transform:""}),i.box&&(i.box=i.box.destroy());var l=e.nodes.slice(0);e.nodes.length=0,e.nodes[0]={tagName:"textPath",attributes:ol(a,{"text-anchor":a.textAnchor,href:""+o+"#".concat(s)}),children:l}}});r.textPath={path:t,undo:h}}else r.attr({dx:0,dy:0}),delete r.textPath;return this.added&&(r.textCache="",this.renderer.buildText(r)),this}function oc(t){var e,i=t.bBox,o=null===(e=this.element)||void 0===e?void 0:e.querySelector("textPath");if(o){for(var r=[],s=this.renderer.fontMetrics(this.element),a=s.b,n=s.h-a,h=RegExp('(<tspan>|<tspan(?!\\sclass="highcharts-br")[^>]*>|<\\/tspan>)',"g"),l=o.innerHTML.replace(h,"").split(/<tspan class="highcharts-br"[^>]*>/),p=l.length,c=function(t,e){var i=e.x,r=e.y,s=(o.getRotationOfChar(t)-90)*or,h=Math.cos(s),l=Math.sin(s);return[[i-n*h,r-n*l],[i+a*h,r+a*l]]},u=0,d=0;d<p;d++){for(var f=l[d].length,g=0;g<f;g+=5)try{var y=u+g+d,v=c(y,o.getStartPositionOfChar(y)),b=v[0],m=v[1];0===g?(r.push(m),r.push(b)):(0===d&&r.unshift(m),d===p-1&&r.push(b))}catch(t){break}u+=f-1;try{var y=u+d,x=o.getEndPositionOfChar(y),P=c(y,x),b=P[0],m=P[1];r.unshift(m),r.unshift(b)}catch(t){break}}r.length&&r.push(r[0].slice()),i.polygon=r}return i}function ou(t){var e,i=t.labelOptions,o=t.point,r=i[o.formatPrefix+"TextPath"]||i.textPath;r&&!i.useHTML&&(this.setTextPath((null===(e=o.getDataLabelPath)||void 0===e?void 0:e.call(o,this))||o.graphic,r),o.dataLabelPath&&!r.enabled&&(o.dataLabelPath=o.dataLabelPath.destroy()))}var od=(k=function(t,e){return(k=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}k(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),of=tZ().parse,og=_().noop,oy=D().series.prototype,ov=D().seriesTypes.bubble,ob=oe.initDataLabels,om=oe.initDataLabelsDefer,ox=_().addEvent,oP=_().clamp,oM=_().defined,oL=_().extend,ow=_().fireEvent,ok=_().isArray,oA=_().isNumber,oS=_().merge,oT=_().pick;({compose:function(t){os(t,"afterGetBBox",oc),os(t,"beforeAddingDataLabel",ou);var e=t.prototype;e.setTextPath||(e.setTextPath=op)}}).compose(oo());var oC=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.parentNodeMass=0,e.deferDataLabels=!0,e}return od(e,t),e.compose=function(t,e,i){ov.compose(t,e,i),iT.compose(e),i4.compose(e)},e.prototype.accumulateAllPoints=function(){for(var t=this.chart,e=[],i=0,o=t.series;i<o.length;i++){var r=o[i];if(r.is("packedbubble")&&r.reserveSpace())for(var s=r.getColumn("value"),a=0;a<s.length;a++)e.push([null,null,s[a],r.index,a,{id:a,marker:{radius:0}}])}return e},e.prototype.addLayout=function(){var t,e=this.options.layoutAlgorithm=this.options.layoutAlgorithm||{},i=e.type||"packedbubble",o=this.chart.options.chart,r=this.chart.graphLayoutsStorage,s=this.chart.graphLayoutsLookup;r||(this.chart.graphLayoutsStorage=r={},this.chart.graphLayoutsLookup=s=[]),(t=r[i])||(e.enableSimulation=oM(o.forExport)?!o.forExport:e.enableSimulation,r[i]=t=new i_.layouts[i],t.init(e),s.splice(t.index,0,t)),this.layout=t,this.points.forEach(function(t){t.mass=2,t.degree=1,t.collisionNmb=1}),t.setArea(0,0,this.chart.plotWidth,this.chart.plotHeight),t.addElementsToCollection([this],t.series),t.addElementsToCollection(this.points,t.nodes)},e.prototype.addSeriesLayout=function(){var t=this.options.layoutAlgorithm=this.options.layoutAlgorithm||{},e=t.type||"packedbubble",i=this.chart.graphLayoutsStorage,o=this.chart.graphLayoutsLookup,r=oS(t,t.parentNodeOptions,{enableSimulation:this.layout.options.enableSimulation}),s=i[e+"-series"];s||(i[e+"-series"]=s=new i_.layouts[e],s.init(r),o.splice(s.index,0,s)),this.parentNodeLayout=s,this.createParentNodes()},e.prototype.calculateParentRadius=function(){var t=this.seriesBox();this.parentNodeRadius=oP(Math.sqrt(2*this.parentNodeMass/Math.PI)+20,20,t?Math.max(Math.sqrt(Math.pow(t.width,2)+Math.pow(t.height,2))/2+20,20):Math.sqrt(2*this.parentNodeMass/Math.PI)+20),this.parentNode&&(this.parentNode.marker.radius=this.parentNode.radius=this.parentNodeRadius)},e.prototype.calculateZExtremes=function(){var t=this.chart.series,e=this.options.zMin,i=this.options.zMax,o=1/0,r=-1/0;return e&&i?[e,i]:(t.forEach(function(t){t.getColumn("value").forEach(function(t){oM(t)&&(t>r&&(r=t),t<o&&(o=t))})}),[e=oT(e,o),i=oT(i,r)])},e.prototype.checkOverlap=function(t,e){var i=t[0]-e[0],o=t[1]-e[1];return Math.sqrt(i*i+o*o)-Math.abs(t[2]+e[2])<-.001},e.prototype.createParentNodes=function(){var t,e=this,i=this.pointClass,o=this.chart,r=this.parentNodeLayout,s=this.layout.options,a=this.parentNode,n={radius:this.parentNodeRadius,lineColor:this.color,fillColor:of(this.color).brighten(.4).get()};s.parentNodeOptions&&(n=oS(s.parentNodeOptions.marker||{},n)),this.parentNodeMass=0,this.points.forEach(function(t){e.parentNodeMass+=Math.PI*Math.pow(t.marker.radius,2)}),this.calculateParentRadius(),r.nodes.forEach(function(i){i.seriesIndex===e.index&&(t=!0)}),r.setArea(0,0,o.plotWidth,o.plotHeight),t||(a||(a=new i(this,{mass:this.parentNodeRadius/2,marker:n,dataLabels:{inside:!1},states:{normal:{marker:n},hover:{marker:n}},dataLabelOnNull:!0,degree:this.parentNodeRadius,isParentNode:!0,seriesIndex:this.index})),this.parentNode&&(a.plotX=this.parentNode.plotX,a.plotY=this.parentNode.plotY),this.parentNode=a,r.addElementsToCollection([this],r.series),r.addElementsToCollection([a],r.nodes))},e.prototype.deferLayout=function(){var t=this.options.layoutAlgorithm;this.visible&&(this.addLayout(),t.splitSeries&&this.addSeriesLayout())},e.prototype.destroy=function(){var t=this;this.chart.graphLayoutsLookup&&this.chart.graphLayoutsLookup.forEach(function(e){e.removeElementFromCollection(t,e.series)},this),this.parentNode&&this.parentNodeLayout&&(this.parentNodeLayout.removeElementFromCollection(this.parentNode,this.parentNodeLayout.nodes),this.parentNode.dataLabel&&(this.parentNode.dataLabel=this.parentNode.dataLabel.destroy())),oy.destroy.apply(this,arguments)},e.prototype.drawDataLabels=function(){!this.deferDataLabels&&(oy.drawDataLabels.call(this,this.points),this.parentNode&&(this.parentNode.formatPrefix="parentNode",oy.drawDataLabels.call(this,[this.parentNode])))},e.prototype.drawGraph=function(){if(this.layout&&this.layout.options.splitSeries){var t,e=this.chart,i=this.layout.options.parentNodeOptions.marker,o={fill:i.fillColor||of(this.color).brighten(.4).get(),opacity:i.fillOpacity,stroke:i.lineColor||this.color,"stroke-width":oT(i.lineWidth,this.options.lineWidth)},r={};this.parentNodesGroup=this.plotGroup("parentNodesGroup","parentNode",this.visible?"inherit":"hidden",.1,e.seriesGroup),null===(t=this.group)||void 0===t||t.attr({zIndex:2}),this.calculateParentRadius(),this.parentNode&&oM(this.parentNode.plotX)&&oM(this.parentNode.plotY)&&oM(this.parentNodeRadius)&&(r=oS({x:this.parentNode.plotX-this.parentNodeRadius,y:this.parentNode.plotY-this.parentNodeRadius,width:2*this.parentNodeRadius,height:2*this.parentNodeRadius},o),this.parentNode.graphic||(this.graph=this.parentNode.graphic=e.renderer.symbol(o.symbol).add(this.parentNodesGroup)),this.parentNode.graphic.attr(r))}},e.prototype.drawTracker=function(){var e,i=this.parentNode;t.prototype.drawTracker.call(this),i&&(e=ok(i.dataLabels)?i.dataLabels:i.dataLabel?[i.dataLabel]:[],i.graphic&&(i.graphic.element.point=i),e.forEach(function(t){(t.div||t.element).point=i}))},e.prototype.getPointRadius=function(){var t,e,i,o,r=this,s=this.chart,a=s.plotWidth,n=s.plotHeight,h=this.options,l=h.useSimulation,p=Math.min(a,n),c={},u=[],d=s.allDataPoints||[],f=d.length;["minSize","maxSize"].forEach(function(t){var e=parseInt(h[t],10),i=/%$/.test(h[t]);c[t]=i?p*e/100:e*Math.sqrt(f)}),s.minRadius=t=c.minSize/Math.sqrt(f),s.maxRadius=e=c.maxSize/Math.sqrt(f);var g=l?this.calculateZExtremes():[t,e];d.forEach(function(s,a){i=l?oP(s[2],g[0],g[1]):s[2],0===(o=r.getRadius(g[0],g[1],t,e,i))&&(o=null),d[a][2]=o,u.push(o)}),this.radii=u},e.prototype.init=function(){return oy.init.apply(this,arguments),om.call(this),this.eventsToUnbind.push(ox(this,"updatedData",function(){var t=this;this.chart.series.forEach(function(e){e.type===t.type&&(e.isDirty=!0)},this)})),this},e.prototype.onMouseUp=function(t){if(t.fixedPosition&&!t.removed){var e,i=this.layout,o=this.parentNodeLayout;o&&i.options.dragBetweenSeries&&o.nodes.forEach(function(o){t&&t.marker&&o!==t.series.parentNode&&(e=i.getDistXY(t,o),i.vectorLength(e)-o.marker.radius-t.marker.radius<0&&(o.series.addPoint(oS(t.options,{plotX:t.plotX,plotY:t.plotY}),!1),i.removeElementFromCollection(t,i.nodes),t.remove()))}),iT.onMouseUp.apply(this,arguments)}},e.prototype.placeBubbles=function(t){var e,i,o=this.checkOverlap,r=this.positionBubble,s=[],a=1,n=0,h=0,l=[],p=t.sort(function(t,e){return e[2]-t[2]});if(p.length){if(s.push([[0,0,p[0][2],p[0][3],p[0][4]]]),p.length>1)for(s.push([[0,0-p[1][2]-p[0][2],p[1][2],p[1][3],p[1][4]]]),i=2;i<p.length;i++)p[i][2]=p[i][2]||1,o(e=r(s[a][n],s[a-1][h],p[i]),s[a][0])?(s.push([]),h=0,s[a+1].push(r(s[a][n],s[a][0],p[i])),a++,n=0):a>1&&s[a-1][h+1]&&o(e,s[a-1][h+1])?(h++,s[a].push(r(s[a][n],s[a-1][h],p[i])),n++):(n++,s[a].push(e));this.chart.stages=s,this.chart.rawPositions=[].concat.apply([],s),this.resizeRadius(),l=this.chart.rawPositions}return l},e.prototype.pointAttribs=function(t,e){var i=this.options,o=t&&t.isParentNode,r=i.marker;o&&i.layoutAlgorithm&&i.layoutAlgorithm.parentNodeOptions&&(r=i.layoutAlgorithm.parentNodeOptions.marker);var s=r.fillOpacity,a=oy.pointAttribs.call(this,t,e);return 1!==s&&(a["fill-opacity"]=s),a},e.prototype.positionBubble=function(t,e,i){var o=Math.asin,r=Math.acos,s=Math.pow,a=Math.abs,n=(0,Math.sqrt)(s(t[0]-e[0],2)+s(t[1]-e[1],2)),h=r((s(n,2)+s(i[2]+e[2],2)-s(i[2]+t[2],2))/(2*(i[2]+e[2])*n)),l=o(a(t[0]-e[0])/n),p=(t[1]-e[1]<0?0:Math.PI)+h+l*((t[0]-e[0])*(t[1]-e[1])<0?1:-1),c=Math.cos(p),u=Math.sin(p);return[e[0]+(e[2]+i[2])*u,e[1]-(e[2]+i[2])*c,i[2],i[3],i[4]]},e.prototype.render=function(){var t=[];oy.render.apply(this,arguments),!this.options.dataLabels.allowOverlap&&(this.data.forEach(function(e){ok(e.dataLabels)&&e.dataLabels.forEach(function(e){t.push(e)})}),this.options.useSimulation&&this.chart.hideOverlappingLabels(t))},e.prototype.resizeRadius=function(){var t,e,i,o,r,s=this.chart,a=s.rawPositions,n=Math.min,h=Math.max,l=s.plotLeft,p=s.plotTop,c=s.plotHeight,u=s.plotWidth;t=i=Number.POSITIVE_INFINITY,e=o=Number.NEGATIVE_INFINITY;for(var d=0;d<a.length;d++){var f=a[d];r=f[2],t=n(t,f[0]-r),e=h(e,f[0]+r),i=n(i,f[1]-r),o=h(o,f[1]+r)}var g=[e-t,o-i],y=[(u-l)/g[0],(c-p)/g[1]],v=n.apply([],y);if(Math.abs(v-1)>1e-10){for(var b=0;b<a.length;b++){var f=a[b];f[2]*=v}this.placeBubbles(a)}else s.diffY=c/2+p-i-(o-i)/2,s.diffX=u/2+l-t-(e-t)/2},e.prototype.seriesBox=function(){var t,e=this.chart,i=this.data,o=Math.max,r=Math.min,s=[e.plotLeft,e.plotLeft+e.plotWidth,e.plotTop,e.plotTop+e.plotHeight];return i.forEach(function(e){oM(e.plotX)&&oM(e.plotY)&&e.marker.radius&&(t=e.marker.radius,s[0]=r(s[0],e.plotX-t),s[1]=o(s[1],e.plotX+t),s[2]=r(s[2],e.plotY-t),s[3]=o(s[3],e.plotY+t))}),oA(s.width/s.height)?s:null},e.prototype.setVisible=function(){var t=this;oy.setVisible.apply(t,arguments),t.parentNodeLayout&&t.graph?t.visible?(t.graph.show(),t.parentNode.dataLabel&&t.parentNode.dataLabel.show()):(t.graph.hide(),t.parentNodeLayout.removeElementFromCollection(t.parentNode,t.parentNodeLayout.nodes),t.parentNode.dataLabel&&t.parentNode.dataLabel.hide()):t.layout&&(t.visible?t.layout.addElementsToCollection(t.points,t.layout.nodes):t.points.forEach(function(e){t.layout.removeElementFromCollection(e,t.layout.nodes)}))},e.prototype.translate=function(){var t,e,i,o=this.chart,r=this.data,s=this.index,a=this.options.useSimulation;this.generatePoints(),oM(o.allDataPoints)||(o.allDataPoints=this.accumulateAllPoints(),this.getPointRadius()),a?i=o.allDataPoints:(i=this.placeBubbles(o.allDataPoints),this.options.draggable=!1);for(var n=0,h=i;n<h.length;n++){var l=h[n];l[3]===s&&(t=r[l[4]],e=oT(l[2],void 0),a||(t.plotX=l[0]-o.plotLeft+o.diffX,t.plotY=l[1]-o.plotTop+o.diffY),oA(e)&&(t.marker=oL(t.marker,{radius:e,width:2*e,height:2*e}),t.radius=e))}a&&this.deferLayout(),ow(this,"afterTranslate")},e.defaultOptions=oS(ov.defaultOptions,ij),e}(ov);oL(oC.prototype,{pointClass:iW,axisTypes:[],directTouch:!0,forces:["barycenter","repulsive"],hasDraggableNodes:!0,invertible:!1,isCartesian:!1,noSharedTooltip:!0,pointArrayMap:["value"],pointValKey:"value",requireSorting:!1,trackerGroups:["group","dataLabelsGroup","parentNodesGroup"],initDataLabels:ob,alignDataLabel:oy.alignDataLabel,indexateNodes:og,onMouseDown:iT.onMouseDown,onMouseMove:iT.onMouseMove,redrawHalo:iT.redrawHalo,searchPoint:og}),D().registerSeriesType("packedbubble",oC);var oN={marker:{enabled:!1,states:{hover:{enabled:!1}}},stickyTracking:!1,tooltip:{followPointer:!0,pointFormat:""},trackByArea:!0,legendSymbol:"rectangle"},oX=(A=function(t,e){return(A=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}A(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),oO=_().noop,oY=D().seriesTypes,oI=oY.area,oE=oY.line,oR=oY.scatter,o_=_().extend,oz=_().merge,oD=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return oX(e,t),e.prototype.getGraphPath=function(){for(var t=oE.prototype.getGraphPath.call(this),e=t.length+1;e--;)(e===t.length||"M"===t[e][0])&&e>0&&t.splice(e,0,["Z"]);return this.areaPath=t,t},e.prototype.drawGraph=function(){this.options.fillColor=this.color,oI.prototype.drawGraph.call(this)},e.defaultOptions=oz(oR.defaultOptions,oN),e}(oR);o_(oD.prototype,{type:"polygon",drawTracker:oE.prototype.drawTracker,setStackedPoints:oO}),D().registerSeriesType("polygon",oD);var oB={circular:{gridLineWidth:1,labels:{align:void 0,x:0,y:void 0},maxPadding:0,minPadding:0,showLastLabel:!1,tickLength:0},radial:{gridLineInterpolation:"circle",gridLineWidth:1,labels:{align:"right",padding:5,x:-3,y:-2},showLastLabel:!1,title:{x:4,text:null,rotation:90}},radialGauge:{endOnTick:!1,gridLineWidth:0,labels:{align:"center",distance:-25,x:0,y:void 0},lineWidth:1,minorGridLineWidth:0,minorTickInterval:"auto",minorTickLength:10,minorTickPosition:"inside",minorTickWidth:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickPosition:"inside",tickWidth:2,title:{rotation:0,text:""},zIndex:2}},oW=_().defaultOptions,oH=_().composed,oj=_().noop,oF=_().addEvent,oq=_().correctFloat,oG=_().defined,oV=_().extend,oU=_().fireEvent,oK=_().isObject,oZ=_().merge,o$=_().pick,oQ=_().pushUnique,oJ=_().relativeLength,o0=_().wrap;!function(t){function e(){this.autoConnect=this.isCircular&&void 0===o$(this.userMax,this.options.max)&&oq(this.endAngleRad-this.startAngleRad)===oq(2*Math.PI),!this.isCircular&&this.chart.inverted&&this.max++,this.autoConnect&&(this.max+=this.categories&&1||this.pointRange||this.closestPointRange||0)}function i(){var t=this;return function(){if(t.isRadial&&t.tickPositions&&t.options.labels&&!0!==t.options.labels.allowOverlap)return t.tickPositions.map(function(e){return t.ticks[e]&&t.ticks[e].label}).filter(function(t){return!!t})}}function o(){return oj}function r(t,e,i){var o,r,s,a=this.pane.center,n=t.value;return this.isCircular?(oG(n)?t.point&&(t.point.shapeArgs||{}).start&&(n=this.chart.inverted?this.translate(t.point.rectPlotY,!0):t.point.x):(r=t.chartX||0,s=t.chartY||0,n=this.translate(Math.atan2(s-i,r-e)-this.startAngleRad,!0)),r=(o=this.getPosition(n)).x,s=o.y):(oG(n)||(r=t.chartX,s=t.chartY),oG(r)&&oG(s)&&(i=a[1]+this.chart.plotTop,n=this.translate(Math.min(Math.sqrt(Math.pow(r-e,2)+Math.pow(s-i,2)),a[2]/2)-a[3]/2,!0))),[n,r||0,s||0]}function s(t,e,i){var o,r,s=this.pane.center,a=this.chart,n=this.left||0,h=this.top||0,l=o$(e,s[2]/2-this.offset);return void 0===i&&(i=this.horiz?0:this.center&&-this.center[3]/2),i&&(l+=i),this.isCircular||void 0!==e?((r=this.chart.renderer.symbols.arc(n+s[0],h+s[1],l,l,{start:this.startAngleRad,end:this.endAngleRad,open:!0,innerR:0})).xBounds=[n+s[0]],r.yBounds=[h+s[1]-l]):(o=this.postTranslate(this.angleRad,l),r=[["M",this.center[0]+a.plotLeft,this.center[1]+a.plotTop],["L",o.x,o.y]]),r}function a(){this.constructor.prototype.getOffset.call(this),this.chart.axisOffset[this.side]=0}function n(t,e,i){var o,r,s,a,n,h,l=this.chart,p=function(t){if("string"==typeof t){var e=parseInt(t,10);return v.test(t)&&(e=e*d/100),e}return t},c=this.center,u=this.startAngleRad,d=c[2]/2,f=Math.min(this.offset,0),g=this.left||0,y=this.top||0,v=/%$/,b=this.isCircular,m=o$(p(i.outerRadius),d),x=p(i.innerRadius),P=o$(p(i.thickness),10);if("polygon"===this.options.gridLineInterpolation)h=this.getPlotLinePath({value:t}).concat(this.getPlotLinePath({value:e,reverse:!0}));else{t=Math.max(t,this.min),e=Math.min(e,this.max);var M=this.translate(t),L=this.translate(e);b||(m=M||0,x=L||0),"circle"!==i.shape&&b?(o=u+(M||0),r=u+(L||0)):(o=-Math.PI/2,r=1.5*Math.PI,n=!0),m-=f,P-=f,h=l.renderer.symbols.arc(g+c[0],y+c[1],m,m,{start:Math.min(o,r),end:Math.max(o,r),innerR:o$(x,m-P),open:n,borderRadius:i.borderRadius}),b&&(s=(r+o)/2,a=g+c[0]+c[2]/2*Math.cos(s),h.xBounds=s>-Math.PI/2&&s<Math.PI/2?[a,l.plotWidth]:[0,a],h.yBounds=[y+c[1]+c[2]/2*Math.sin(s)],h.yBounds[0]+=s>-Math.PI&&s<0||s>Math.PI?-10:10)}return h}function h(t){var e,i,o,r,s,a,n,h,l,p=this,c=this.pane.center,u=this.chart,d=u.inverted,f=t.reverse,g=this.pane.options.background?this.pane.options.background[0]||this.pane.options.background:{},y=g.innerRadius||"0%",v=g.outerRadius||"100%",b=c[0]+u.plotLeft,m=c[1]+u.plotTop,x=this.height,P=t.isCrosshair,M=c[3]/2,L=t.value,w=this.getPosition(L),k=w.x,A=w.y;if(P&&(L=(h=this.getCrosshairPosition(t,b,m))[0],k=h[1],A=h[2]),this.isCircular)i=Math.sqrt(Math.pow(k-b,2)+Math.pow(A-m,2)),o="string"==typeof y?oJ(y,1):y/i,r="string"==typeof v?oJ(v,1):v/i,c&&M&&(o<(e=M/i)&&(o=e),r<e&&(r=e)),l=[["M",b+o*(k-b),m-o*(m-A)],["L",k-(1-r)*(k-b),A+(1-r)*(m-A)]];else if((L=this.translate(L))&&(L<0||L>x)&&(L=0),"circle"===this.options.gridLineInterpolation)l=this.getLinePath(0,L,M);else if(l=[],u[d?"yAxis":"xAxis"].forEach(function(t){t.pane===p.pane&&(s=t)}),s){n=s.tickPositions,s.autoConnect&&(n=n.concat([n[0]])),f&&(n=n.slice().reverse()),L&&(L+=M);for(var S=0;S<n.length;S++)a=s.getPosition(n[S],L),l.push(S?["L",a.x,a.y]:["M",a.x,a.y])}return l}function l(t,e){var i=this.translate(t);return this.postTranslate(this.isCircular?i:this.angleRad,o$(this.isCircular?e:i<0?0:i,this.center[2]/2)-this.offset)}function p(){var t=this.center,e=this.chart,i=this.options.title;return{x:e.plotLeft+t[0]+(i.x||0),y:e.plotTop+t[1]-({high:.5,middle:.25,low:0})[i.align]*t[2]+(i.y||0)}}function c(t){t.beforeSetTickPositions=e,t.createLabelCollector=i,t.getCrosshairPosition=r,t.getLinePath=s,t.getOffset=a,t.getPlotBandPath=n,t.getPlotLinePath=h,t.getPosition=l,t.getTitlePosition=p,t.postTranslate=x,t.setAxisSize=M,t.setAxisTranslation=L,t.setOptions=w}function u(){var t=this.chart,e=this.options,i=t.angular&&this.isXAxis,o=this.pane,r=o&&o.options;if(!i&&o&&(t.angular||t.polar)){var s=2*Math.PI,a=(o$(r.startAngle,0)-90)*Math.PI/180,n=(o$(r.endAngle,o$(r.startAngle,0)+360)-90)*Math.PI/180;this.angleRad=(e.angle||0)*Math.PI/180,this.startAngleRad=a,this.endAngleRad=n,this.offset=e.offset||0;var h=(a%s+s)%s,l=(n%s+s)%s;h>Math.PI&&(h-=s),l>Math.PI&&(l-=s),this.normalizedStartAngleRad=h,this.normalizedEndAngleRad=l}}function d(t){this.isRadial&&(t.align=void 0,t.preventDefault())}function f(){if(this.chart&&this.chart.labelCollectors){var t=this.labelCollector?this.chart.labelCollectors.indexOf(this.labelCollector):-1;t>=0&&this.chart.labelCollectors.splice(t,1)}}function g(t){var e,i=this.chart,r=i.angular,s=i.polar,a=this.isXAxis,n=this.coll,h=t.userOptions.pane||0,l=this.pane=i.pane&&i.pane[h];if("colorAxis"===n){this.isRadial=!1;return}r?(r&&a?(this.isHidden=!0,this.createLabelCollector=o,this.getOffset=oj,this.redraw=P,this.render=P,this.setScale=oj,this.setCategories=oj,this.setTitle=oj):c(this),e=!a):s&&(c(this),e=this.horiz),r||s?(this.isRadial=!0,this.labelCollector||(this.labelCollector=this.createLabelCollector()),this.labelCollector&&i.labelCollectors.push(this.labelCollector)):this.isRadial=!1,l&&e&&(l.axis=this),this.isCircular=e}function y(){this.isRadial&&this.beforeSetTickPositions()}function v(t){var e=this.label;if(e){var i,o=this.axis,r=e.getBBox(),s=o.options.labels,a=(o.translate(this.pos)+o.startAngleRad+Math.PI/2)/Math.PI*180%360,n=Math.round(a),h=oG(s.y)?0:-(.3*r.height),l=s.y,p=20,c=s.align,u="end",d=n<0?n+360:n,f=d,g=0,y=0;o.isRadial&&(i=o.getPosition(this.pos,o.center[2]/2+oJ(o$(s.distance,-25),o.center[2]/2,-o.center[2]/2)),"auto"===s.rotation?e.attr({rotation:a}):oG(l)||(l=o.chart.renderer.fontMetrics(e).b-r.height/2),oG(c)||(o.isCircular?(r.width>o.len*o.tickInterval/(o.max-o.min)&&(p=0),c=a>p&&a<180-p?"left":a>180+p&&a<360-p?"right":"center"):c="center",e.attr({align:c})),"auto"===c&&2===o.tickPositions.length&&o.isCircular&&(d>90&&d<180?d=180-d:d>270&&d<=360&&(d=540-d),f>180&&f<=360&&(f=360-f),(o.pane.options.startAngle===n||o.pane.options.startAngle===n+360||o.pane.options.startAngle===n-360)&&(u="start"),c=n>=-90&&n<=90||n>=-360&&n<=-270||n>=270&&n<=360?"start"===u?"right":"left":"start"===u?"left":"right",f>70&&f<110&&(c="center"),d<15||d>=180&&d<195?g=.3*r.height:d>=15&&d<=35?g="start"===u?0:.75*r.height:d>=195&&d<=215?g="start"===u?.75*r.height:0:d>35&&d<=90?g="start"===u?-(.25*r.height):r.height:d>215&&d<=270&&(g="start"===u?r.height:-(.25*r.height)),f<15?y="start"===u?-(.15*r.height):.15*r.height:f>165&&f<=180&&(y="start"===u?.15*r.height:-(.15*r.height)),e.attr({align:c}),e.translate(y,g+h)),t.pos.x=i.x+(s.x||0),t.pos.y=i.y+(l||0))}}function b(t){this.axis.getPosition&&oV(t.pos,this.axis.getPosition(this.pos))}function m(e){var i=e.options;i.xAxis&&oZ(!0,t.radialDefaultOptions.circular,i.xAxis),i.yAxis&&oZ(!0,t.radialDefaultOptions.radialGauge,i.yAxis)}function x(t,e){var i=this.chart,o=this.center;return t=this.startAngleRad+t,{x:i.plotLeft+o[0]+Math.cos(t)*e,y:i.plotTop+o[1]+Math.sin(t)*e}}function P(){this.isDirty=!1}function M(){var t,e;this.constructor.prototype.setAxisSize.call(this),this.isRadial&&(this.pane.updateCenter(this),t=this.center=this.pane.center.slice(),this.isCircular?this.sector=this.endAngleRad-this.startAngleRad:(e=this.postTranslate(this.angleRad,t[3]/2),t[0]=e.x-this.chart.plotLeft,t[1]=e.y-this.chart.plotTop),this.len=this.width=this.height=(t[2]-t[3])*o$(this.sector,1)/2)}function L(){this.constructor.prototype.setAxisTranslation.call(this),this.center&&(this.isCircular?this.transA=(this.endAngleRad-this.startAngleRad)/(this.max-this.min||1):this.transA=(this.center[2]-this.center[3])/2/(this.max-this.min||1),this.isXAxis?this.minPixelPadding=this.transA*this.minPointOffset:this.minPixelPadding=0)}function w(e){var i=this.coll,o=this.chart,r=o.angular,s=o.inverted,a=o.polar,n={};r?this.isXAxis||(n=oZ(oW.yAxis,t.radialDefaultOptions.radialGauge)):a&&(n=this.horiz?oZ(oW.xAxis,t.radialDefaultOptions.circular):oZ("xAxis"===i?oW.xAxis:oW.yAxis,t.radialDefaultOptions.radial)),s&&"yAxis"===i&&(n.stackLabels=oK(oW.yAxis,!0)?oW.yAxis.stackLabels:{},n.reversedStacks=!0);var h=this.options=oZ(n,e);h.plotBands||(h.plotBands=[]),oU(this,"afterSetOptions")}function k(t,e,i,o,r,s,a){var n,h=this.axis;return h.isRadial?["M",e,i,"L",(n=h.getPosition(this.pos,h.center[2]/2+o)).x,n.y]:t.call(this,e,i,o,r,s,a)}t.radialDefaultOptions=oZ(oB),t.compose=function(t,e){return oQ(oH,"Axis.Radial")&&(oF(t,"afterInit",u),oF(t,"autoLabelAlign",d),oF(t,"destroy",f),oF(t,"init",g),oF(t,"initialAxisTranslation",y),oF(e,"afterGetLabelPosition",v),oF(e,"afterGetPosition",b),oF(_(),"setOptions",m),o0(e.prototype,"getMarkPath",k)),t}}(N||(N={}));var o1=N,o2=function(t,e,i){if(i||2==arguments.length)for(var o,r=0,s=e.length;r<s;r++)!o&&r in e||(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return t.concat(o||Array.prototype.slice.call(e))},o3=_().animObject,o5=_().composed,o8=_().addEvent,o6=_().defined,o4=_().find,o9=_().isNumber,o7=_().merge,rt=_().pick,re=_().pushUnique,ri=_().relativeLength,ro=_().splat,rr=_().uniqueKey,rs=_().wrap;function ra(){(this.pane||[]).forEach(function(t){t.render()})}function rn(t){var e=t.args[0].xAxis,i=t.args[0].yAxis,o=t.args[0].chart;e&&i&&("polygon"===i.gridLineInterpolation?(e.startOnTick=!0,e.endOnTick=!0):"polygon"===e.gridLineInterpolation&&o.inverted&&(i.startOnTick=!0,i.endOnTick=!0))}function rh(){var t=this;this.pane||(this.pane=[]),this.options.pane=ro(this.options.pane||{}),this.options.pane.forEach(function(e){new th(e,t)},this)}function rl(t){var e=t.args.marker,i=this.chart.xAxis[0],o=this.chart.yAxis[0],r=this.chart.inverted,s=r?o:i,a=r?i:o;if(this.chart.polar){t.preventDefault();var n=(e.attr?e.attr("start"):e.start)-s.startAngleRad,h=e.attr?e.attr("r"):e.r,l=(e.attr?e.attr("end"):e.end)-s.startAngleRad,p=e.attr?e.attr("innerR"):e.innerR;t.result.x=n+s.pos,t.result.width=l-n,t.result.y=a.len+a.pos-h,t.result.height=h-p}}function rp(t){var e=this.chart;if(e.polar&&e.hoverPane&&e.hoverPane.axis){t.preventDefault();var i=e.hoverPane.center,o=e.mouseDownX||0,r=e.mouseDownY||0,s=t.args.chartY,a=t.args.chartX,n=2*Math.PI,h=e.hoverPane.axis.startAngleRad,l=e.hoverPane.axis.endAngleRad,p=e.inverted?e.xAxis[0]:e.yAxis[0],c={},u="arc";if(c.x=i[0]+e.plotLeft,c.y=i[1]+e.plotTop,this.zoomHor){var d=h>0?l-h:Math.abs(h)+Math.abs(l),f=Math.atan2(r-e.plotTop-i[1],o-e.plotLeft-i[0])-h,g=Math.atan2(s-e.plotTop-i[1],a-e.plotLeft-i[0])-h;c.r=i[2]/2,c.innerR=i[3]/2,f<=0&&(f+=n),g<=0&&(g+=n),g<f&&(g=[f,f=g][0]),d<n&&h+g>l+(n-d)/2&&(g=f,f=h<=0?h:0);var y=c.start=Math.max(f+h,h),v=c.end=Math.min(g+h,l);if("polygon"===p.options.gridLineInterpolation){var b=e.hoverPane.axis,m=y-b.startAngleRad+b.pos,x=v-y,P=p.getPlotLinePath({value:p.max}),M=b.toValue(m),L=b.toValue(m+x);if(M<b.getExtremes().min){var w=b.getExtremes(),k=w.min;M=w.max-(k-M)}if(L<b.getExtremes().min){var A=b.getExtremes(),S=A.min;L=A.max-(S-L)}L<M&&(L=[M,M=L][0]),(P=rf(P,M,L,b)).push(["L",i[0]+e.plotLeft,e.plotTop+i[1]]),c.d=P,u="path"}}if(this.zoomVert){var T=e.inverted?e.xAxis[0]:e.yAxis[0],C=Math.sqrt(Math.pow(o-e.plotLeft-i[0],2)+Math.pow(r-e.plotTop-i[1],2)),N=Math.sqrt(Math.pow(a-e.plotLeft-i[0],2)+Math.pow(s-e.plotTop-i[1],2));if(N<C&&(C=[N,N=C][0]),N>i[2]/2&&(N=i[2]/2),C<i[3]/2&&(C=i[3]/2),this.zoomHor||(c.start=h,c.end=l),c.r=N,c.innerR=C,"polygon"===T.options.gridLineInterpolation){var v=T.toValue(T.len+T.pos-C),y=T.toValue(T.len+T.pos-N),P=T.getPlotLinePath({value:y}).concat(T.getPlotLinePath({value:v,reverse:!0}));c.d=P,u="path"}}if(this.zoomHor&&this.zoomVert&&"polygon"===p.options.gridLineInterpolation){var b=e.hoverPane.axis,y=c.start||0,v=c.end||0,m=y-b.startAngleRad+b.pos,x=v-y,M=b.toValue(m),L=b.toValue(m+x);if(c.d instanceof Array){var X=c.d.slice(0,c.d.length/2),O=c.d.slice(c.d.length/2,c.d.length);O=o2([],O,!0).reverse();var Y=e.hoverPane.axis;X=rf(X,M,L,Y),(O=rf(O,M,L,Y))&&(O[0][0]="L"),O=o2([],O,!0).reverse(),c.d=X.concat(O),u="path"}}t.attrs=c,t.shapeType=u}}function rc(){var t=this.chart;t.polar&&(this.polar=new rw(this),t.inverted&&(this.isRadialSeries=!0,this.is("column")&&(this.isRadialBar=!0)))}function ru(){if(this.chart.polar&&this.xAxis){var t=this.xAxis,e=this.yAxis,i=this.chart;this.kdByAngle=i.tooltip&&i.tooltip.shared,this.kdByAngle||i.inverted?this.searchPoint=rd:this.options.findNearestPointBy="xy";for(var o=this.points,r=o.length;r--;)this.is("column")||this.is("columnrange")||this.polar.toXY(o[r]),i.hasParallelCoordinates||this.yAxis.reversed||(rt(o[r].y,Number.MIN_VALUE)<e.min||o[r].x<t.min||o[r].x>t.max?(o[r].isNull=!0,o[r].plotY=NaN):o[r].isNull=o[r].isValid&&!o[r].isValid());this.hasClipCircleSetter||(this.hasClipCircleSetter=!!this.eventsToUnbind.push(o8(this,"afterRender",function(){var t,e,o,r,s,a,n,h,l;i.polar&&!1!==this.options.clip&&((t=this.yAxis.pane.center,this.clipCircle)?this.clipCircle.animate({x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2}):this.clipCircle=(e=i.renderer,o=t[0],r=t[1],s=t[2]/2,a=t[3]/2,n=rr(),h=e.createElement("clipPath").attr({id:n}).add(e.defs),(l=a?e.arc(o,r,s,a,0,2*Math.PI).add(h):e.circle(o,r,s).add(h)).id=n,l.clipPath=h,l),this.group.clip(this.clipCircle),this.setClip=_().noop)})))}}function rd(t){var e=this.chart,i=this.xAxis,o=this.yAxis,r=i.pane&&i.pane.center,s=t.chartX-(r&&r[0]||0)-e.plotLeft,a=t.chartY-(r&&r[1]||0)-e.plotTop,n=e.inverted?{clientX:t.chartX-o.pos,plotY:t.chartY-i.pos}:{clientX:180+-180/Math.PI*Math.atan2(s,a)};return this.searchKDTree(n)}function rf(t,e,i,o){var r=o.tickInterval,s=o.tickPositions,a=o4(s,function(t){return t>=i}),n=o4(o2([],s,!0).reverse(),function(t){return t<=e});return o6(a)||(a=s[s.length-1]),o6(n)||(n=s[0],a+=r,t[0][0]="L",t.unshift(t[t.length-3])),(t=t.slice(s.indexOf(n),s.indexOf(a)+1))[0][0]="M",t}function rg(t,e){return o4(this.pane||[],function(t){return t.options.id===e})||t.call(this,e)}function ry(t,e,i,o,r,s){var a,n,h,l,p,c,u=this.chart,d=rt(o.inside,!!this.options.stacking);u.polar?((l=e.rectPlotX/Math.PI*180,u.inverted)?(this.forceDL=u.isInsidePlot(e.plotX,e.plotY),d&&e.shapeArgs?(p=e.shapeArgs,r=o7(r,{x:(c=this.yAxis.postTranslate(((p.start||0)+(p.end||0))/2-this.xAxis.startAngleRad,e.barX+e.pointWidth/2)).x-u.plotLeft,y:c.y-u.plotTop})):e.tooltipPos&&(r=o7(r,{x:e.tooltipPos[0],y:e.tooltipPos[1]})),o.align=rt(o.align,"center"),o.verticalAlign=rt(o.verticalAlign,"middle")):(null===(a=o).align&&(n=l>20&&l<160?"left":l>200&&l<340?"right":"center",a.align=n),null===a.verticalAlign&&(h=l<45||l>315?"bottom":l>135&&l<225?"top":"middle",a.verticalAlign=h),o=a),W().prototype.alignDataLabel.call(this,e,i,o,r,s),this.isRadialBar&&e.shapeArgs&&e.shapeArgs.start===e.shapeArgs.end?i.hide():i.show()):t.call(this,e,i,o,r,s)}function rv(){var t,e,i,o,r,s,a,n,h,l,p,c,u,d=this.options,f=d.stacking,g=this.chart,y=this.xAxis,v=this.yAxis,b=v.reversed,m=v.center,x=y.startAngleRad,P=y.endAngleRad-x,M=d.threshold,L=0,w=0,k=0;if(y.isRadial)for(i=(t=this.points).length,o=v.translate(v.min),r=v.translate(v.max),M=d.threshold||0,g.inverted&&o9(M)&&o6(L=v.translate(M))&&(L<0?L=0:L>P&&(L=P),this.translatedThreshold=L+x);i--;){if(p=(e=t[i]).barX,a=e.x,n=e.y,e.shapeType="arc",g.inverted){e.plotY=v.translate(n),f&&v.stacking?(l=v.stacking.stacks[(n<0?"-":"")+this.stackKey],this.visible&&l&&l[a]&&!e.isNull&&(h=l[a].points[this.getStackIndicator(void 0,a,this.index).key],w=v.translate(h[0]),k=v.translate(h[1]),o6(w)&&(w=_().clamp(w,0,P)))):(w=L,k=e.plotY),w>k&&(k=[w,w=k][0]),b?k>o?k=o:w<r?w=r:(w>o||k<r)&&(w=k=P):w<o?w=o:k>r?k=r:(k<o||w>r)&&(w=k=0),v.min>v.max&&(w=k=b?P:0),w+=x,k+=x,m&&(e.barX=p+=m[3]/2),c=Math.max(p,0),u=Math.max(p+e.pointWidth,0);var A=d.borderRadius,S=ri(("object"==typeof A?A.radius:A)||0,u-c);e.shapeArgs={x:m[0],y:m[1],r:u,innerR:c,start:w,end:k,borderRadius:S},e.opacity=w===k?0:void 0,e.plotY=(o6(this.translatedThreshold)&&(w<this.translatedThreshold?w:k))-x}else w=p+x,e.shapeArgs=this.polar.arc(e.yBottom,e.plotY,w,w+e.pointWidth),e.shapeArgs.borderRadius=0;this.polar.toXY(e),g.inverted?(s=v.postTranslate(e.rectPlotY,p+e.pointWidth/2),e.tooltipPos=[s.x-g.plotLeft,s.y-g.plotTop]):e.tooltipPos=[e.plotX,e.plotY],m&&(e.ttBelow=e.plotY>m[1])}}function rb(t,e){var i,o,r=this;if(this.chart.polar){e=e||this.points;for(var s=0;s<e.length;s++)if(!e[s].isNull){i=s;break}!1!==this.options.connectEnds&&void 0!==i&&(this.connectEnds=!0,e.splice(e.length,0,e[i]),o=!0),e.forEach(function(t){void 0===t.polarPlotY&&r.polar.toXY(t)})}var a=t.apply(this,[].slice.call(arguments,1));return o&&e.pop(),a}function rm(t,e){var i=this.chart,o={xAxis:[],yAxis:[]};return i.polar?i.axes.forEach(function(t){if("colorAxis"!==t.coll){var r=t.isXAxis,s=t.center,a=e.chartX-s[0]-i.plotLeft,n=e.chartY-s[1]-i.plotTop;o[r?"xAxis":"yAxis"].push({axis:t,value:t.translate(r?Math.PI-Math.atan2(a,n):Math.sqrt(Math.pow(a,2)+Math.pow(n,2)),!0)})}}):o=t.call(this,e),o}function rx(t,e){this.chart.polar||t.call(this,e)}function rP(t,e){var i,o,r,s,a,n,h=this,l=this.chart,p=this.group,c=this.markerGroup,u=this.xAxis&&this.xAxis.center,d=l.plotLeft,f=l.plotTop,g=this.options.animation;l.polar?h.isRadialBar?e||(h.startAngleRad=rt(h.translatedThreshold,h.xAxis.startAngleRad),_().seriesTypes.pie.prototype.animate.call(h,e)):(g=o3(g),h.is("column")?e||(o=u[3]/2,h.points.forEach(function(t){r=t.graphic,a=(s=t.shapeArgs)&&s.r,n=s&&s.innerR,r&&s&&(r.attr({r:o,innerR:o}),r.animate({r:a,innerR:n},h.options.animation))})):e?(i={translateX:u[0]+d,translateY:u[1]+f,scaleX:.001,scaleY:.001},p.attr(i),c&&c.attr(i)):(i={translateX:d,translateY:f,scaleX:1,scaleY:1},p.animate(i,g),c&&c.animate(i,g))):t.call(this,e)}function rM(t,e,i,o){var r,s;if(this.chart.polar){if(o){var a=(s=function t(e,i,o,r){var s,a,n,h,l,p,c=r?1:0,u=(s=i>=0&&i<=e.length-1?i:i<0?e.length-1+i:0)-1<0?e.length-(1+c):s-1,d=s+1>e.length-1?c:s+1,f=e[u],g=e[d],y=f.plotX,v=f.plotY,b=g.plotX,m=g.plotY,x=e[s].plotX,P=e[s].plotY;a=(1.5*x+y)/2.5,n=(1.5*P+v)/2.5,h=(1.5*x+b)/2.5,l=(1.5*P+m)/2.5;var M=Math.sqrt(Math.pow(a-x,2)+Math.pow(n-P,2)),L=Math.sqrt(Math.pow(h-x,2)+Math.pow(l-P,2)),w=Math.atan2(n-P,a-x);p=Math.PI/2+(w+Math.atan2(l-P,h-x))/2,Math.abs(w-p)>Math.PI/2&&(p-=Math.PI),a=x+Math.cos(p)*M,n=P+Math.sin(p)*M;var k={rightContX:h=x+Math.cos(Math.PI+p)*L,rightContY:l=P+Math.sin(Math.PI+p)*L,leftContX:a,leftContY:n,plotX:x,plotY:P};return o&&(k.prevPointCont=t(e,u,!1,r)),k}(e,o,!0,this.connectEnds)).prevPointCont&&s.prevPointCont.rightContX,n=s.prevPointCont&&s.prevPointCont.rightContY;r=["C",o9(a)?a:s.plotX,o9(n)?n:s.plotY,o9(s.leftContX)?s.leftContX:s.plotX,o9(s.leftContY)?s.leftContY:s.plotY,s.plotX,s.plotY]}else r=["M",i.plotX,i.plotY]}else r=t.call(this,e,i,o);return r}function rL(t,e,i){if(void 0===i&&(i=this.plotY),!this.destroyed){var o=this.plotX,r=this.series.chart;return r.polar&&o9(o)&&o9(i)?[o+(e?r.plotLeft:0),i+(e?r.plotTop:0)]:t.call(this,e,i)}}var rw=function(){function t(t){this.series=t}return t.compose=function(t,e,i,o,r,s,a,n,h,l){if(th.compose(e,i),o1.compose(t,r),re(o5,"Polar")){var p=e.prototype,c=s.prototype,u=i.prototype,d=o.prototype;if(o8(e,"afterDrawChartBox",ra),o8(e,"createAxes",rh),o8(e,"init",rn),rs(p,"get",rg),rs(u,"getCoordinates",rm),rs(u,"pinch",rx),o8(i,"getSelectionMarkerAttrs",rp),o8(i,"getSelectionBox",rl),o8(o,"afterInit",rc),o8(o,"afterTranslate",ru,{order:2}),o8(o,"afterColumnTranslate",rv,{order:4}),rs(d,"animate",rP),rs(c,"pos",rL),n){var f=n.prototype;rs(f,"alignDataLabel",ry),rs(f,"animate",rP)}if(h&&rs(h.prototype,"getGraphPath",rb),l){var g=l.prototype;rs(g,"getPointSpline",rM),a&&(a.prototype.getPointSpline=g.getPointSpline)}}},t.prototype.arc=function(t,e,i,o){var r=this.series,s=r.xAxis.center,a=r.yAxis.len,n=s[3]/2,h=a-e+n,l=a-rt(t,a)+n;return r.yAxis.reversed&&(h<0&&(h=n),l<0&&(l=n)),{x:s[0],y:s[1],r:h,innerR:l,start:i,end:o}},t.prototype.toXY=function(t){var e,i=this.series,o=i.chart,r=i.xAxis,s=i.yAxis,a=t.plotX,n=o.inverted,h=t.y,l=t.plotY,p=n?a:s.len-l;if(n&&i&&!i.isRadialBar&&(t.plotY=l=o9(h)?s.translate(h):0),t.rectPlotX=a,t.rectPlotY=l,s.center&&(p+=s.center[3]/2),o9(l)){var c=n?s.postTranslate(l,p):r.postTranslate(a,p);t.plotX=t.polarPlotX=c.x-o.plotLeft,t.plotY=t.polarPlotY=c.y-o.plotTop}i.kdByAngle?((e=(a/Math.PI*180+r.pane.options.startAngle)%360)<0&&(e+=360),t.clientX=e):t.clientX=t.plotX},t}(),rk=I(184),rA=I.n(rk),rS=_().composed,rT=_().addEvent,rC=_().objectEach,rN=_().pushUnique;!function(t){function e(){var t=this.waterfall.stacks;t&&(t.changed=!1,delete t.alreadyChanged)}function i(){var t=this.options.stackLabels;t&&t.enabled&&this.waterfall.stacks&&this.waterfall.renderStackTotals()}function o(){this.waterfall||(this.waterfall=new s(this))}function r(){for(var t=this.axes,e=this.series,i=0;i<e.length;i++)if(e[i].options.stacking){for(var o=0;o<t.length;o++){var r=t[o];r.isXAxis||(r.waterfall.stacks.changed=!0)}break}}t.compose=function(t,s){rN(rS,"Axis.Waterfall")&&(rT(t,"init",o),rT(t,"afterBuildStacks",e),rT(t,"afterRender",i),rT(s,"beforeRedraw",r))};var s=function(){function t(t){this.axis=t,this.stacks={changed:!1}}return t.prototype.renderStackTotals=function(){var t=this.axis,e=t.waterfall.stacks,i=t.stacking&&t.stacking.stackTotalGroup,o=new(rA())(t,t.options.stackLabels||{},!1,0,void 0);this.dummyStackItem=o,i&&rC(e,function(t){rC(t,function(t,e){o.total=t.stackTotal,o.x=+e,t.label&&(o.label=t.label),rA().prototype.render.call(o,i),t.label=o.label,delete o.label})}),o.total=null},t}();t.Composition=s}(X||(X={}));var rX=X,rO=(S=function(t,e){return(S=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}S(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),rY=_().isNumber,rI=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return rO(e,t),e.prototype.getClassName=function(){var t=eu().prototype.getClassName.call(this);return this.isSum?t+=" highcharts-sum":this.isIntermediateSum&&(t+=" highcharts-intermediate-sum"),t},e.prototype.isValid=function(){return rY(this.y)||this.isSum||!!this.isIntermediateSum},e}(tz().prototype.pointClass),rE={dataLabels:{inside:!0},lineWidth:1,lineColor:"#333333",dashStyle:"Dot",borderColor:"#333333",states:{hover:{lineWidthPlus:0}}},rR=(T=function(t,e){return(T=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}T(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),r_=D().seriesTypes,rz=r_.column,rD=r_.line,rB=_().addEvent,rW=_().arrayMax,rH=_().arrayMin,rj=_().correctFloat,rF=_().crisp,rq=_().extend,rG=_().isNumber,rV=_().merge,rU=_().objectEach,rK=_().pick;function rZ(t,e){return Object.hasOwnProperty.call(t,e)}var r$=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return rR(e,t),e.prototype.generatePoints=function(){rz.prototype.generatePoints.apply(this);for(var t=this.getColumn("y",!0),e=0,i=this.points.length;e<i;e++){var o=this.points[e],r=t[e];rG(r)&&(o.isIntermediateSum||o.isSum)&&(o.y=rj(r))}},e.prototype.processData=function(e){var i,o,r,s,a,n,h=this.options,l=this.getColumn("y"),p=h.data,c=l.length,u=h.threshold||0;r=o=s=a=0;for(var d=0;d<c;d++)n=l[d],i=(null==p?void 0:p[d])||{},"sum"===n||i.isSum?l[d]=rj(r):"intermediateSum"===n||i.isIntermediateSum?(l[d]=rj(o),o=0):(r+=n,o+=n),s=Math.min(r,s),a=Math.max(r,a);t.prototype.processData.call(this,e),h.stacking||(this.dataMin=s+u,this.dataMax=a)},e.prototype.toYData=function(t){return t.isSum?"sum":t.isIntermediateSum?"intermediateSum":t.y},e.prototype.pointAttribs=function(t,e){var i=this.options.upColor;i&&!t.options.color&&rG(t.y)&&(t.color=t.y>0?i:void 0);var o=rz.prototype.pointAttribs.call(this,t,e);return delete o.dashstyle,o},e.prototype.getGraphPath=function(){return[["M",0,0]]},e.prototype.getCrispPath=function(){for(var t,e=this.data.filter(function(t){return rG(t.y)}),i=this.yAxis,o=e.length,r=(null===(t=this.graph)||void 0===t?void 0:t.strokeWidth())||0,s=this.xAxis.reversed,a=this.yAxis.reversed,n=this.options.stacking,h=[],l=1;l<o;l++)if(this.options.connectNulls||rG(this.data[e[l].index-1].y)){var p=e[l].box,c=e[l-1],u=c.y||0,d=e[l-1].box;if(p&&d){var f=i.waterfall.stacks[this.stackKey],g=u>0?-d.height:0;if(f&&d&&p){var y=f[l-1],v=void 0;if(n){var b=y.connectorThreshold;v=rF(i.translate(b,!1,!0,!1,!0)+(a?g:0),r)}else v=rF(d.y+(c.minPointLengthOffset||0),r);h.push(["M",(d.x||0)+(s?0:d.width||0),v],["L",(p.x||0)+(s&&p.width||0),v])}if(d&&h.length&&(!n&&u<0&&!a||u>0&&a)){var m=h[h.length-2];m&&"number"==typeof m[2]&&(m[2]+=d.height||0);var x=h[h.length-1];x&&"number"==typeof x[2]&&(x[2]+=d.height||0)}}}return h},e.prototype.drawGraph=function(){rD.prototype.drawGraph.call(this),this.graph&&this.graph.attr({d:this.getCrispPath()})},e.prototype.setStackedPoints=function(t){var e,i,o,r,s,a,n,h,l,p,c=this.options,u=null===(e=t.waterfall)||void 0===e?void 0:e.stacks,d=c.threshold||0,f=this.stackKey,g=this.getColumn("x"),y=this.getColumn("y"),v=g.length,b=d,m=b,x=0,P=0,M=0,L=function(t,e,r,s){if(i){if(o)for(;r<o;r++)i.stackState[r]+=s;else i.stackState[0]=t,o=i.stackState.length;i.stackState.push(i.stackState[o-1]+e)}};if(t.stacking&&u&&this.reserveSpace()){p=u.changed,(l=u.alreadyChanged)&&0>l.indexOf(f)&&(p=!0),u[f]||(u[f]={});var w=u[f];if(w)for(var k=0;k<v;k++)(!w[h=g[k]]||p)&&(w[h]={negTotal:0,posTotal:0,stackTotal:0,threshold:0,stateIndex:0,stackState:[],label:p&&w[h]?w[h].label:void 0}),i=w[h],(n=y[k])>=0?i.posTotal+=n:i.negTotal+=n,a=c.data[k],r=i.absolutePos=i.posTotal,s=i.absoluteNeg=i.negTotal,i.stackTotal=r+s,o=i.stackState.length,a&&a.isIntermediateSum?(L(M,P,0,M),M=P,P=d,b^=m,m^=b,b^=m):a&&a.isSum?(L(d,x,o,0),b=d):(L(b,n,0,x),a&&(x+=n,P+=n)),i.stateIndex++,i.threshold=b,b+=i.stackTotal;u.changed=!1,u.alreadyChanged||(u.alreadyChanged=[]),u.alreadyChanged.push(f)}},e.prototype.getExtremes=function(){var t,e,i,o=this.options.stacking;return o?(t=this.yAxis.waterfall.stacks,e=this.stackedYNeg=[],i=this.stackedYPos=[],"overlap"===o?rU(t[this.stackKey],function(t){e.push(rH(t.stackState)),i.push(rW(t.stackState))}):rU(t[this.stackKey],function(t){e.push(t.negTotal+t.threshold),i.push(t.posTotal+t.threshold)}),{dataMin:rH(e),dataMax:rW(i)}):{dataMin:this.dataMin,dataMax:this.dataMax}},e.defaultOptions=rV(rz.defaultOptions,rE),e.compose=rX.compose,e}(rz);rq(r$.prototype,{pointValKey:"y",showLine:!0,pointClass:rI}),rB(r$,"afterColumnTranslate",function(){for(var t,e,i,o,r=this.options,s=this.points,a=this.yAxis,n=rK(r.minPointLength,5),h=n/2,l=r.threshold||0,p=r.stacking,c=a.waterfall.stacks[this.stackKey],u=this.getColumn("y",!0),d=l,f=l,g=0;g<s.length;g++){var y=s[g],v=u[g],b=rq({x:0,y:0,width:0,height:0},y.shapeArgs||{});y.box=b;var m=[0,v],x=y.y||0;if(p){if(c){var P=c[g];"overlap"===p?(e=P.stackState[P.stateIndex--],t=x>=0?e:e-x,rZ(P,"absolutePos")&&delete P.absolutePos,rZ(P,"absoluteNeg")&&delete P.absoluteNeg):(x>=0?(e=P.threshold+P.posTotal,P.posTotal-=x,t=e):(e=P.threshold+P.negTotal,P.negTotal-=x,t=e-x),!P.posTotal&&rG(P.absolutePos)&&rZ(P,"absolutePos")&&(P.posTotal=P.absolutePos,delete P.absolutePos),!P.negTotal&&rG(P.absoluteNeg)&&rZ(P,"absoluteNeg")&&(P.negTotal=P.absoluteNeg,delete P.absoluteNeg)),y.isSum||(P.connectorThreshold=P.threshold+P.stackTotal),a.reversed?(i=x>=0?t-x:t+x,o=t):(i=t,o=t-x),y.below=i<=l,b.y=a.translate(i,!1,!0,!1,!0),b.height=Math.abs(b.y-a.translate(o,!1,!0,!1,!0));var M=a.waterfall.dummyStackItem;M&&(M.x=g,M.label=c[g].label,M.setOffset(this.pointXOffset||0,this.barW||0,this.stackedYNeg[g],this.stackedYPos[g],void 0,this.xAxis))}}else t=Math.max(f,f+x)+m[0],b.y=a.translate(t,!1,!0,!1,!0),y.isSum?(b.y=a.translate(m[1],!1,!0,!1,!0),b.height=Math.min(a.translate(m[0],!1,!0,!1,!0),a.len)-b.y,y.below=m[1]<=l):y.isIntermediateSum?(x>=0?(i=m[1]+d,o=d):(i=d,o=m[1]+d),a.reversed&&(i^=o,o^=i,i^=o),b.y=a.translate(i,!1,!0,!1,!0),b.height=Math.abs(b.y-Math.min(a.translate(o,!1,!0,!1,!0),a.len)),d+=m[1],y.below=i<=l):(b.height=v>0?a.translate(f,!1,!0,!1,!0)-b.y:a.translate(f,!1,!0,!1,!0)-a.translate(f-v,!1,!0,!1,!0),f+=v,y.below=f<l),b.height<0&&(b.y+=b.height,b.height*=-1);y.plotY=b.y,y.yBottom=b.y+b.height,b.height<=n&&!y.isNull?(b.height=n,b.y-=h,y.yBottom=b.y+b.height,y.plotY=b.y,x<0?y.minPointLengthOffset=-h:y.minPointLengthOffset=h):(y.isNull&&(b.width=0),y.minPointLengthOffset=0);var L=y.plotY+(y.negative?b.height:0);y.below&&(y.plotY+=b.height),y.tooltipPos&&(this.chart.inverted?y.tooltipPos[0]=a.len-L:y.tooltipPos[1]=L),y.isInside=this.isPointInside(y);var w=rF(y.yBottom,this.borderWidth);b.y=rF(b.y,this.borderWidth),b.height=w-b.y,rV(!0,y.shapeArgs,b)}},{order:2}),D().registerSeriesType("waterfall",r$);var rQ=_();rQ.RadialAxis=o1,eR.compose(rQ.Axis,rQ.Chart,rQ.Legend),oC.compose(rQ.Axis,rQ.Chart,rQ.Legend),th.compose(rQ.Chart,rQ.Pointer),rw.compose(rQ.Axis,rQ.Chart,rQ.Pointer,rQ.Series,rQ.Tick,rQ.Point,D().seriesTypes.areasplinerange,D().seriesTypes.column,D().seriesTypes.line,D().seriesTypes.spline),r$.compose(rQ.Axis,rQ.Chart);var rJ=rQ;return E.default}()});
Hacked By AnonymousFox1.0, Coded By AnonymousFox