PageSourceSearch

https://www.udir.no/Kvark/dist/357.b6c679bf694fc6d40ccb.js

js udir.no collected 2026-10-01 10:22:44 UTC 105,713 bytes, 1 lines download raw bytes

1(this.webpackChunkkvark=this.webpackChunkkvark||[]).push([[357],{55357(t,e,i){var o,r,s;s=function(t){function e(t,e,i,o){t.hasOwnProperty(e)||(t[e]=o.apply(null,i),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Extensions/Pane.js",[t["Core/Chart/Chart.js"],t["Series/CenteredUtilities.js"],t["Core/Globals.js"],t["Core/Pointer.js"],t["Core/Utilities.js"]],(function(t,e,i,o,r){function s(t,e,i,o,r){var s=!0,a=i[0],l=i[1],p=Math.sqrt(Math.pow(t-a,2)+Math.pow(e-l,2));return h(o)&&h(r)&&(t=Math.atan2(n(e-l,8),n(t-a,8)),r!==o&&(s=o>r?t>=o&&t<=Math.PI||t<=r&&t>=-Math.PI:t>=o&&t<=n(r,8))),p<=Math.ceil(i[2]/2)&&s}var a=r.addEvent,n=r.correctFloat,h=r.defined,l=r.extend,p=r.merge,c=r.pick,u=r.splat;return t.prototype.collectionsWithUpdate.push("pane"),r=function(){function t(t,e){this.options=this.chart=this.center=this.background=void 0,this.coll="pane",this.defaultOptions={center:["50%","50%"],size:"85%",innerSize:"0%",startAngle:0},this.defaultBackgroundOptions={shape:"circle",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%"},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=p(this.defaultOptions,this.chart.angular?{background:{}}:void 0,t)},t.prototype.render=function(){var t=this.options,e=this.options.background,i=this.chart.renderer;if(this.group||(this.group=i.g("pane-group").attr({zIndex:t.zIndex||0}).add()),this.updateCenter(),e)for(e=u(e),t=Math.max(e.length,this.background.length||0),i=0;i<t;i++)e[i]&&this.axis?this.renderBackground(p(this.defaultBackgroundOptions,e[i]),i):this.background[i]&&(this.background[i]=this.background[i].destroy(),this.background.splice(i,1))},t.prototype.renderBackground=function(t,e){var i="animate",o={class:"highcharts-pane "+(t.className||"")};this.chart.styledMode||l(o,{fill:t.backgroundColor,stroke:t.borderColor,"stroke-width":t.borderWidth}),this.background[e]||(this.background[e]=this.chart.renderer.path().add(this.group),i="attr"),this.background[e][i]({d:this.axis.getPlotBandPath(t.from,t.to,t)}).attr(o)},t.prototype.updateCenter=function(t){this.center=(t||this.axis||{}).center=e.getCenter.call(this)},t.prototype.update=function(t,e){p(!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}(),t.prototype.getHoverPane=function(t){var e,i=this;return t&&i.pane.forEach((function(o){s(t.chartX-i.plotLeft,t.chartY-i.plotTop,o.center)&&(e=o)})),e},a(t,"afterIsInsidePlot",(function(t){if(this.polar){if(t.options.inverted){var e=[t.y,t.x];t.x=e[0],t.y=e[1]}t.isInsidePlot=this.pane.some((function(e){return s(t.x,t.y,e.center,e.axis&&e.axis.normalizedStartAngleRad,e.axis&&e.axis.normalizedEndAngleRad)}))}})),a(o,"beforeGetHoverData",(function(t){var e=this.chart;e.polar?(e.hoverPane=e.getHoverPane(t),t.filter=function(i){return i.visible&&!(!t.shared&&i.directTouch)&&c(i.options.enableMouseTracking,!0)&&(!e.hoverPane||i.xAxis.pane===e.hoverPane)}):e.hoverPane=void 0})),a(o,"afterGetHoverData",(function(t){var e=this.chart;t.hoverPoint&&t.hoverPoint.plotX&&t.hoverPoint.plotY&&e.hoverPane&&!s(t.hoverPoint.plotX,t.hoverPoint.plotY,e.hoverPane.center)&&(t.hoverPoint=void 0)})),i.Pane=r,i.Pane})),e(t,"Series/AreaRange/AreaRangePoint.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e){var i=this&&this.__extends||function(){var t=function(e,i){return t=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,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),o=(t=t.seriesTypes.area.prototype).pointClass.prototype,r=e.defined,s=e.isNumber;return function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;
1return e.high=void 0,e.low=void 0,e.options=void 0,e.plotX=void 0,e.series=void 0,e}return i(e,t),e.prototype.setState=function(){var t=this.state,e=this.series,i=e.chart.polar;r(this.plotHigh)||(this.plotHigh=e.yAxis.toPixels(this.high,!0)),r(this.plotLow)||(this.plotLow=this.plotY=e.yAxis.toPixels(this.low,!0)),e.stateMarkerGraphic&&(e.lowerStateMarkerGraphic=e.stateMarkerGraphic,e.stateMarkerGraphic=e.upperStateMarkerGraphic),this.graphic=this.graphics&&this.graphics[1],this.plotY=this.plotHigh,i&&s(this.plotHighX)&&(this.plotX=this.plotHighX),o.setState.apply(this,arguments),this.state=t,this.plotY=this.plotLow,this.graphic=this.graphics&&this.graphics[0],i&&s(this.plotLowX)&&(this.plotX=this.plotLowX),e.stateMarkerGraphic&&(e.upperStateMarkerGraphic=e.stateMarkerGraphic,e.stateMarkerGraphic=e.lowerStateMarkerGraphic,e.lowerStateMarkerGraphic=void 0),o.setState.apply(this,arguments)},e.prototype.haloPath=function(){var t=this.series.chart.polar,e=[];return this.plotY=this.plotLow,t&&s(this.plotLowX)&&(this.plotX=this.plotLowX),this.isInside&&(e=o.haloPath.apply(this,arguments)),this.plotY=this.plotHigh,t&&s(this.plotHighX)&&(this.plotX=this.plotHighX),this.isTopInside&&(e=e.concat(o.haloPath.apply(this,arguments))),e},e.prototype.isValid=function(){return s(this.low)&&s(this.high)},e}(t.pointClass)})),e(t,"Series/AreaRange/AreaRangeSeries.js",[t["Series/AreaRange/AreaRangePoint.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,i,o){var r=this&&this.__extends||function(){var t=function(e,i){return t=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,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}();e=e.noop;var s=i.seriesTypes,a=s.area,n=s.area.prototype,h=s.column.prototype;s=o.addEvent;var l=o.defined,p=o.extend,c=o.isArray,u=o.isNumber,d=o.pick,f=o.merge,g={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}};return o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e.lowerStateMarkerGraphic=void 0,e.xAxis=void 0,e}return r(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=n.getGraphPath,s=this.options,a=this.chart.polar,h=a&&!1!==s.connectEnds,l=s.connectNulls,p=s.step;for(e=(t=t||this.points).length;e--;){var c=t[e],u=a?{plotX:c.rectPlotX,plotY:c.yBottom,doCurve:!1}:{plotX:c.plotX,plotY:c.plotY,doCurve:!1};c.isNull||h||l||t[e+1]&&!t[e+1].isNull||o.push(u);var f={polarPlotY:c.polarPlotY,rectPlotX:c.rectPlotX,yBottom:c.yBottom,plotX:d(c.plotHighX,c.plotX),plotY:c.plotHigh,isNull:c.isNull};o.push(f),i.push(f),c.isNull||h||l||t[e-1]&&!t[e-1].isNull||o.push(u)}return t=r.call(this,t),p&&(!0===p&&(p="left"),s.step={left:"right",center:"center",right:"left"}[p]),i=r.call(this,i),o=r.call(this,o),s.step=p,s=[].concat(t,i),!this.chart.polar&&o[0]&&"M"===o[0][0]&&(o[0]=["L",o[0][1],o[0][2]]),this.graphPath=s,this.areaPath=t.concat(o),s.isArea=!0,s.xMap=t.xMap,this.areaPath.xMap=t.xMap,s},e.prototype.drawDataLabels=function(){var t,e,i=this.points,o=i.length,r=[],s=this.options.dataLabels,a=this.chart.inverted;if(s){if(c(s))var h=s[0]||{enabled:!1},l=s[1]||{enabled:!1};else(h=p({},s)).x=s.xHigh,h.y=s.yHigh,(l=p({},s)).x=s.xLow,l.y=s.yLow;if(h.enabled||this._hasPointLabels){for(t=o;t--;)if(e=i[t]){var u=e.plotHigh;u=void 0===u?0:u;var d=e.plotLow;d=void 0===d?0:d,d=h.inside?u<d:u>d,e.y=e.high,e._plotY=e.plotY,e.plotY=u,r[t]=e.dataLabel,e.dataLabel=e.dataLabelUpper,e.below=d,a?h.align||(h.align=d?"right":"left"):
1h.verticalAlign||(h.verticalAlign=d?"top":"bottom")}for(this.options.dataLabels=h,n.drawDataLabels&&n.drawDataLabels.apply(this,arguments),t=o;t--;)(e=i[t])&&(e.dataLabelUpper=e.dataLabel,e.dataLabel=r[t],delete e.dataLabels,e.y=e.low,e.plotY=e._plotY)}if(l.enabled||this._hasPointLabels){for(t=o;t--;)(e=i[t])&&(u=void 0===(r=e.plotHigh)?0:r,d=void 0===(r=e.plotLow)?0:r,d=l.inside?u<d:u>d,e.below=!d,a?l.align||(l.align=d?"left":"right"):l.verticalAlign||(l.verticalAlign=d?"bottom":"top"));this.options.dataLabels=l,n.drawDataLabels&&n.drawDataLabels.apply(this,arguments)}if(h.enabled)for(t=o;t--;)(e=i[t])&&(e.dataLabels=[e.dataLabelUpper,e.dataLabel].filter((function(t){return!!t})));this.options.dataLabels=s}},e.prototype.alignDataLabel=function(){h.alignDataLabel.apply(this,arguments)},e.prototype.drawPoints=function(){var t,e=this.points.length;for(n.drawPoints.apply(this,arguments),t=0;t<e;){var i=this.points[t];i.graphics=i.graphics||[],i.origProps={plotY:i.plotY,plotX:i.plotX,isInside:i.isInside,negative:i.negative,zone:i.zone,y:i.y},(i.graphic||i.graphics[0])&&(i.graphics[0]=i.graphic),i.graphic=i.graphics[1],i.plotY=i.plotHigh,l(i.plotHighX)&&(i.plotX=i.plotHighX),i.y=d(i.high,i.origProps.y),i.negative=i.y<(this.options.threshold||0),this.zones.length&&(i.zone=i.getZone()),this.chart.polar||(i.isInside=i.isTopInside=void 0!==i.plotY&&0<=i.plotY&&i.plotY<=this.yAxis.len&&0<=i.plotX&&i.plotX<=this.xAxis.len),t++}for(n.drawPoints.apply(this,arguments),t=0;t<e;)(i=this.points[t]).graphics=i.graphics||[],(i.graphic||i.graphics[1])&&(i.graphics[1]=i.graphic),i.graphic=i.graphics[0],i.origProps&&(p(i,i.origProps),delete i.origProps),t++},e.defaultOptions=f(a.defaultOptions,g),e}(a),s(o,"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=u(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}),s(o,"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}),p(o.prototype,{deferTranslatePolar:!0,pointArrayMap:["low","high"],pointClass:t,pointValKey:"low",setStackedPoints:e}),i.registerSeriesType("arearange",o),o})),e(t,"Series/AreaSplineRange/AreaSplineRangeSeries.js",[t["Series/AreaRange/AreaRangeSeries.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,i){var o=this&&this.__extends||function(){var t=function(e,i){return t=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,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),r=e.seriesTypes.spline.prototype,s=i.merge;i=i.extend;var a=function(e){function i(){var t=null!==e&&e.apply(this,arguments)||this;return t.options=void 0,t.data=void 0,t.points=void 0,t}return o(i,e),i.defaultOptions=s(t.defaultOptions),i}(t);return i(a.prototype,{getPointSpline:r.getPointSpline}),e.registerSeriesType("areasplinerange",a),a})),e(t,"Series/BoxPlot/BoxPlotSeries.js",[t["Series/Column/ColumnSeries.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,i,o){var r=this&&this.__extends||function(){var t=function(e,i){return(t=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])})(e,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}();e=e.noop;var s=o.extend,a=o.merge,n=o.pick;return o=function(e){function i(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return r(i,e),i.prototype.pointAttribs=function(){return{}},i.prototype.translate=function(){var t=this.yAxis,i=this.pointArrayMap;
1e.prototype.translate.apply(this),this.points.forEach((function(e){i.forEach((function(i){null!==e[i]&&(e[i+"Plot"]=t.translate(e[i],0,1,0,1))})),e.plotHigh=e.highPlot}))},i.prototype.drawPoints=function(){var t,e,i,o,r,s,a,h,l,p,c,u=this,d=u.options,f=u.chart,g=f.renderer,y=0,b=!1!==u.doQuartiles,v=u.options.whiskerLength;u.points.forEach((function(m){var x=m.graphic,P=x?"animate":"attr",S=m.shapeArgs,M={},k={},w={},L={},C=m.color||u.color;void 0!==m.plotY&&(a=Math.round(S.width),h=Math.floor(S.x),l=h+a,p=Math.round(a/2),t=Math.floor(b?m.q1Plot:m.lowPlot),e=Math.floor(b?m.q3Plot:m.lowPlot),i=Math.floor(m.highPlot),o=Math.floor(m.lowPlot),x||(m.graphic=x=g.g("point").add(u.group),m.stem=g.path().addClass("highcharts-boxplot-stem").add(x),v&&(m.whiskers=g.path().addClass("highcharts-boxplot-whisker").add(x)),b&&(m.box=g.path(void 0).addClass("highcharts-boxplot-box").add(x)),m.medianShape=g.path(void 0).addClass("highcharts-boxplot-median").add(x)),f.styledMode||(k.stroke=m.stemColor||d.stemColor||C,k["stroke-width"]=n(m.stemWidth,d.stemWidth,d.lineWidth),k.dashstyle=m.stemDashStyle||d.stemDashStyle||d.dashStyle,m.stem.attr(k),v&&(w.stroke=m.whiskerColor||d.whiskerColor||C,w["stroke-width"]=n(m.whiskerWidth,d.whiskerWidth,d.lineWidth),w.dashstyle=m.whiskerDashStyle||d.whiskerDashStyle||d.dashStyle,m.whiskers.attr(w)),b&&(M.fill=m.fillColor||d.fillColor||C,M.stroke=d.lineColor||C,M["stroke-width"]=d.lineWidth||0,M.dashstyle=m.boxDashStyle||d.boxDashStyle||d.dashStyle,m.box.attr(M)),L.stroke=m.medianColor||d.medianColor||C,L["stroke-width"]=n(m.medianWidth,d.medianWidth,d.lineWidth),L.dashstyle=m.medianDashStyle||d.medianDashStyle||d.dashStyle,m.medianShape.attr(L)),s=m.stem.strokeWidth()%2/2,x=[["M",y=h+p+s,e],["L",y,i],["M",y,t],["L",y,o]],m.stem[P]({d:x}),b&&(s=m.box.strokeWidth()%2/2,t=Math.floor(t)+s,e=Math.floor(e)+s,x=[["M",h+=s,e],["L",h,t],["L",l+=s,t],["L",l,e],["L",h,e],["Z"]],m.box[P]({d:x})),v&&(s=m.whiskers.strokeWidth()%2/2,i+=s,o+=s,c=/%$/.test(v)?p*parseFloat(v)/100:v/2,x=[["M",y-c,i],["L",y+c,i],["M",y-c,o],["L",y+c,o]],m.whiskers[P]({d:x})),r=Math.round(m.medianPlot),s=m.medianShape.strokeWidth()%2/2,x=[["M",h,r+=s],["L",l,r]],m.medianShape[P]({d:x}))}))},i.prototype.toYData=function(t){return[t.low,t.q1,t.median,t.q3,t.high]},i.defaultOptions=a(t.defaultOptions,{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}),i}(t),s(o.prototype,{pointArrayMap:["low","q1","median","q3","high"],pointValKey:"high",drawDataLabels:e,setStackedPoints:e}),i.registerSeriesType("boxplot",o),o})),e(t,"Series/Bubble/BubbleLegendDefaults.js",[],(function(){return{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:"10px",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}})),e(t,"Series/Bubble/BubbleLegendItem.js",[t["Core/Color/Color.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e,i,o){var r=t.parse,s=i.noop,a=o.arrayMax,n=o.arrayMin,h=o.isNumber,l=o.merge,p=o.pick,c=o.stableSort;return t=function(){function t(t,e){this.options=this.symbols=this.visible=this.selected=this.ranges=this.movementX=this.maxLabel=this.legend=this.fontMetrics=this.chart=void 0,this.setState=s,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=this.chart,i=p(t.options.itemDistance,20),o=this.legendItem||{},r=this.options,s=r.ranges,a=r.connectorDistance;this.fontMetrics=e.renderer.fontMetrics(r.labels.style.fontSize),s&&s.length&&h(s[0].value)?(c(s,(function(t,e){return e.value-t.value})),this.ranges=s,this.setOptions(),this.render(),t=this.getMaxLabelSize(),e=2*(s=this.ranges[0].radius),a=0<(a=a-s+t.width)?a:0,this.maxLabel=t,this.movementX="left"===r.labels.align?a:0,o.labelWidth=e+a+i,o.labelHeight=e+this.fontMetrics.h/2):t.options.bubbleLegend.autoRanges=!0},t.prototype.setOptions=function(){var t=this.ranges,e=this.options,i=this.chart.series[e.seriesIndex],o=this.legend.baseline,s={zIndex:e.zIndex,"stroke-width":e.borderWidth},a={zIndex:e.zIndex,"stroke-width":e.connectorWidth},n={align:this.legend.options.rtl||"left"===e.labels.align?"right":"left",zIndex:e.zIndex},h=i.options.marker.fillOpacity,c=this.chart.styledMode;t.forEach((function(u,d){c||(s.stroke=p(u.borderColor,e.borderColor,i.color),s.fill=p(u.color,e.color,1!==h?r(i.color).setOpacity(h).get("rgba"):i.color),a.stroke=p(u.connectorColor,e.connectorColor,i.color)),t[d].radius=this.getRangeRadius(u.value),t[d]=l(t[d],{center:t[0].radius-t[d].radius+o}),c||l(!0,t[d],{bubbleAttribs:l(s),connectorAttribs:l(a),labelAttribs:n})}),this)},t.prototype.getRangeRadius=function(t){var e=this.options;return this.chart.series[this.options.seriesIndex].getRadius.call(this,e.ranges[e.ranges.length-1].value,e.ranges[0].value,e.minSize,e.maxSize,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"),t.symbol.translateX=0,e=t.symbol.translateY=0;for(var o=this.ranges;e<o.length;e++){var r=o[e];r.value>=i&&this.renderRange(r)}t.symbol.add(t.label),t.label.add(t.group),this.hideOverlappingLabels()},t.prototype.renderRange=function(t){var e=this.options,i=e.labels,o=this.chart,r=o.series[e.seriesIndex],s=o.renderer,a=this.symbols;o=a.labels;var n=t.center,h=Math.abs(t.radius),l=e.connectorDistance||0,p=i.align,c=e.connectorWidth,u=this.ranges[0].radius||0,d=n-h-e.borderWidth/2+c/2,f=this.fontMetrics;f=f.f/2-(f.h-f.f)/2;var g=s.styledMode;l=this.legend.options.rtl||"left"===p?-l:l,"center"===p&&(l=0,e.connectorDistance=0,t.labelAttribs.align="center"),p=d+e.labels.y;var y=u+l+e.labels.x;a.bubbleItems.push(s.circle(u,n+((d%1?1:.5)-(c%2?0:.5)),h).attr(g?{}:t.bubbleAttribs).addClass((g?"highcharts-color-"+r.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(e.className||"")).add(this.legendItem.symbol)),a.connectors.push(s.path(s.crispLine([["M",u,d],["L",u+l,d]],e.connectorWidth)).attr(g?{}:t.connectorAttribs).addClass((g?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(e.connectorClassName||"")).add(this.legendItem.symbol)),t=s.text(this.formatLabel(t),y,p+f).attr(g?{}:t.labelAttribs).css(g?{}:i.style).addClass("highcharts-bubble-legend-labels "+(e.labels.className||"")).add(this.legendItem.symbol),o.push(t),t.placed=!0,t.alignAttr={x:y,y:p+f}},t.prototype.getMaxLabelSize=function(){var t,e;
1return 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 i=this.options,o=i.labels.formatter;i=i.labels.format;var r=this.chart.numberFormatter;return i?e.format(i,t):o?o.call(t):r(t.value,1)},t.prototype.hideOverlappingLabels=function(){var t=this.chart,e=this.symbols;!this.options.labels.allowOverlap&&e&&(t.hideOverlappingLabels(e.labels),e.labels.forEach((function(t,i){t.newOpacity?t.newOpacity!==t.oldOpacity&&e.connectors[i].show():e.connectors[i].hide()})))},t.prototype.getRanges=function(){var t,e=this.legend.bubbleLegend,i=e.options.ranges,o=Number.MAX_VALUE,r=-Number.MAX_VALUE;e.chart.series.forEach((function(e){e.isBubble&&!e.ignoreSeries&&(t=e.zData.filter(h)).length&&(o=p(e.options.zMin,Math.min(o,Math.max(n(t),!1===e.options.displayNegative?e.options.zThreshold:-Number.MAX_VALUE))),r=p(e.options.zMax,Math.max(r,a(t))))}));var s=o===r?[{value:r}]:[{value:o},{value:(o+r)/2},{value:r,autoRanges:!0}];return i.length&&i[0].radius&&s.reverse(),s.forEach((function(t,e){i&&i[e]&&(s[e]=l(i[e],t))})),s},t.prototype.predictBubbleSizes=function(){var t=this.chart,e=this.fontMetrics,i=t.legend.options,o=i.floating,r=(i="horizontal"===i.layout)?t.legend.lastLineHeight:0,s=t.plotSizeX,a=t.plotSizeY,n=t.series[this.options.seriesIndex],h=n.getPxExtremes();t=Math.ceil(h.minPxSize),h=Math.ceil(h.maxPxSize);var l=Math.min(a,s);return n=n.options.maxSize,o||!/%$/.test(n)?e=h:(n=parseFloat(n),e=(l+r-e.h/2)*n/100/(n/100+1),(i&&a-e>=s||!i&&s-e>=a)&&(e=h)),[t,Math.ceil(e)]},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();1<Math.abs(Math.ceil(e.maxPxSize)-this.options.maxSize)&&(this.updateRanges(this.options.minSize,e.maxPxSize),t.render())},t}(),t})),e(t,"Series/Bubble/BubbleLegendComposition.js",[t["Series/Bubble/BubbleLegendDefaults.js"],t["Series/Bubble/BubbleLegendItem.js"],t["Core/Defaults.js"],t["Core/Utilities.js"]],(function(t,e,i,o){function r(t,e,i){var o,r=this.legend,n=0<=s(this);if(r&&r.options.enabled&&r.bubbleLegend&&r.options.bubbleLegend.autoRanges&&n){var h=r.bubbleLegend.options;n=r.bubbleLegend.predictBubbleSizes(),r.bubbleLegend.updateRanges(n[0],n[1]),h.placed||(r.group.placed=!1,r.allItems.forEach((function(t){(o=t.legendItem||{}).group&&(o.group.translateY=null)}))),r.render(),this.getMargins(),this.axes.forEach((function(t){t.visible&&t.render(),h.placed||(t.setScale(),t.updateNames(),u(t.ticks,(function(t){t.isNew=!0,t.isNewLabel=!0})))})),h.placed=!0,this.getMargins(),t.call(this,e,i),r.bubbleLegend.correctSizes(),l(r,a(r))}else t.call(this,e,i),r&&r.options.enabled&&r.bubbleLegend&&(r.render(),l(r,a(r)))}function s(t){t=t.series;for(var e=0;e<t.length;){if(t[e]&&t[e].isBubble&&t[e].visible&&t[e].zData.length)return e;e++}return-1}function a(t){var e,i=[],o=(t=t.allItems).length,r=0;for(e=0;e<o;e++){var s=t[e].legendItem||{},a=(t[e+1]||{}).legendItem||{};if(s.labelHeight&&(t[e].itemHeight=s.labelHeight),t[e]===t[o-1]||s.y!==a.y){for(i.push({height:0}),s=i[i.length-1];r<=e;r++)t[r].itemHeight>s.height&&(s.height=t[r].itemHeight);s.step=e}}return i}function n(t){var i=this.bubbleLegend,o=this.options,r=o.bubbleLegend,a=s(this.chart);i&&i.ranges&&i.ranges.length&&(r.ranges.length&&(r.autoRanges=!!r.ranges[0].autoRanges),this.destroyItem(i)),0<=a&&o.enabled&&r.enabled&&(r.seriesIndex=a,this.bubbleLegend=new e(r,this),this.bubbleLegend.addToLegend(t.allItems))}function h(){var t=this.chart,e=this.visible,i=this.chart.legend;i&&i.bubbleLegend&&(this.visible=!e,this.ignoreSeries=e,t=0<=s(t),i.bubbleLegend.visible!==t&&(i.update({bubbleLegend:{enabled:t}}),i.bubbleLegend.visible=t),this.visible=e)}function l(t,e){var i,o,r,s,a=t.options.rtl,n=0;t.allItems.forEach((function(t,h){(s=t.legendItem||{}).group&&(i=s.group.translateX||0,o=s.y||0,((r=t.movementX)||a&&t.ranges)&&(r=a?i-t.options.maxSize/2:i+r,s.group.attr({translateX:r})),h>e[n].step&&n++,s.group.attr({translateY:Math.round(o+e[n].height/2)}),s.y=o+e[n].height/2)}))}var p=i.setOptions,c=o.addEvent,u=o.objectEach,d=o.wrap,f=[];return{compose:function(e,i,o){-1===f.indexOf(e)&&(f.push(e),p({legend:{bubbleLegend:t}}),d(e.prototype,"drawChartBox",r)),-1===f.indexOf(i)&&(f.push(i),c(i,"afterGetAllItems",n)),-1===f.indexOf(o)&&(f.push(o),c(o,"legendItemClick",h))}}})),e(t,"Series/Bubble/BubblePoint.js",[t["Core/Series/Point.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,
1i){var o=this&&this.__extends||function(){var t=function(e,i){return t=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,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}();return i=i.extend,e=function(e){function i(){var t=null!==e&&e.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t}return o(i,e),i.prototype.haloPath=function(e){return t.prototype.haloPath.call(this,0===e?0:(this.marker&&this.marker.radius||0)+e)},i}(e.seriesTypes.scatter.prototype.pointClass),i(e.prototype,{ttBelow:!1}),e})),e(t,"Series/Bubble/BubbleSeries.js",[t["Series/Bubble/BubbleLegendComposition.js"],t["Series/Bubble/BubblePoint.js"],t["Core/Color/Color.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,i,o,r,s){function a(){var t,e=this,i=this.len,o=this.chart,r=this.isXAxis,s=r?"xData":"yData",a=this.min,n=this.max-a,h=0,l=i,p=i/n;this.series.forEach((function(i){if(i.bubblePadding&&(i.visible||!o.options.chart.ignoreHiddenSeries)){t=e.allowZoomOutside=!0;var c=i[s];if(r&&((i.onPoint||i).getRadii(0,0,i),i.onPoint&&(i.radii=i.onPoint.radii)),0<n)for(var u=c.length;u--;)if(y(c[u])&&e.dataMin<=c[u]&&c[u]<=e.max){var d=i.radii&&i.radii[u]||0;h=Math.min((c[u]-a)*p-d,h),l=Math.max((c[u]-a)*p+d,l)}}})),t&&0<n&&!this.logarithmic&&(l-=i,p*=(i+Math.max(0,h)-Math.min(l,i))/i,[["min","userMin",h],["max","userMax",l]].forEach((function(t){void 0===v(e.options[t[0]],e[t[1]])&&(e[t[0]]+=t[2]/p)})))}var n=this&&this.__extends||function(){var t=function(e,i){return t=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,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),h=i.parse;i=o.noop;var l=r.series,p=r.seriesTypes;o=p.column.prototype;var c=p.scatter;p=s.addEvent;var u=s.arrayMax,d=s.arrayMin,f=s.clamp,g=s.extend,y=s.isNumber,b=s.merge,v=s.pick,m=[];return s=function(e){function i(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.maxPxSize=void 0,t.minPxSize=void 0,t.options=void 0,t.points=void 0,t.radii=void 0,t.yData=void 0,t.zData=void 0,t}return n(i,e),i.compose=function(e,i,o,r){t.compose(i,o,r),-1===m.indexOf(e)&&(m.push(e),e.prototype.beforePadding=a)},i.prototype.animate=function(t){!t&&this.points.length<this.options.animationLimit&&this.points.forEach((function(t){var e=t.graphic;e&&e.width&&(this.hasRendered||e.attr({x:t.plotX,y:t.plotY,width:1,height:1}),e.animate(this.markerAttribs(t),this.options.animation))}),this)},i.prototype.getRadii=function(){var t=this,e=this.zData,i=this.yData,o=[],r=this.chart.bubbleZExtremes,s=this.getPxExtremes(),a=s.minPxSize,n=s.maxPxSize;if(!r){var h,l=Number.MAX_VALUE,p=-Number.MAX_VALUE;this.chart.series.forEach((function(e){e.bubblePadding&&(e.visible||!t.chart.options.chart.ignoreHiddenSeries)&&(e=(e.onPoint||e).getZExtremes())&&(l=Math.min(l||e.zMin,e.zMin),p=Math.max(p||e.zMax,e.zMax),h=!0)})),h?(r={zMin:l,zMax:p},this.chart.bubbleZExtremes=r):r={zMin:0,zMax:0}}var c=0;for(s=e.length;c<s;c++){var u=e[c];o.push(this.getRadius(r.zMin,r.zMax,a,n,u,i&&i[c]))}this.radii=o},i.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(y(r)){if(a.sizeByAbsoluteValue&&(r=Math.abs(r-h),l=Math.max(e-h,Math.abs(t-h)),t=0),r<t)return i/2-1;0<l&&(p=(r-t)/l)}return n&&0<=p&&(p=Math.sqrt(p)),Math.ceil(i+p*(o-i))/2},i.prototype.hasData=function(){return!!this.processedXData.length},i.prototype.pointAttribs=function(t,e){var i=this.options.marker.fillOpacity;return t=l.prototype.pointAttribs.call(this,t,e),1!==i&&(t.fill=h(t.fill).setOpacity(i).get("rgba")),t},i.prototype.translate=function(){e.prototype.translate.call(this),this.getRadii(),this.translateBubble()},i.prototype.translateBubble=function(){for(var t=this.data,e=this.radii,i=this.getPxExtremes().minPxSize,o=t.length;o--;){var r=t[o],s=e?e[o]:0;y(s)&&s>=i/2?(r.marker=g(r.marker,{radius:s,width:2*s,height:2*s}),r.dlBox={x:r.plotX-s,y:r.plotY-s,width:2*s,height:2*s}):(r.shapeArgs=r.plotY=r.dlBox=void 0,r.isInside=!1)}},i.prototype.getPxExtremes=function(){var t=Math.min(this.chart.plotWidth,this.chart.plotHeight),e=function(e){if("string"==typeof e){var i=/%$/.test(e);e=parseInt(e,10)}return i?t*e/100:e},i=e(v(this.options.minSize,8));return{minPxSize:i,maxPxSize:e=Math.max(e(v(this.options.maxSize,"20%")),i)}},i.prototype.getZExtremes=function(){var t=this.options,e=(this.zData||[]).filter(y);
1if(e.length){var i=v(t.zMin,f(d(e),!1===t.displayNegative?t.zThreshold||0:-Number.MAX_VALUE,Number.MAX_VALUE));if(t=v(t.zMax,u(e)),y(i)&&y(t))return{zMin:i,zMax:t}}},i.defaultOptions=b(c.defaultOptions,{dataLabels:{formatter:function(){var t=this.series.chart.numberFormatter,e=this.point.z;return y(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"}),i}(c),g(s.prototype,{alignDataLabel:o.alignDataLabel,applyZones:i,bubblePadding:!0,buildKDTree:i,directTouch:!0,isBubble:!0,pointArrayMap:["y","z"],pointClass:e,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"}),p(s,"updatedData",(function(t){delete t.target.chart.bubbleZExtremes})),p(s,"remove",(function(t){delete t.target.chart.bubbleZExtremes})),r.registerSeriesType("bubble",s),s})),e(t,"Series/ColumnRange/ColumnRangePoint.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e){var i=this&&this.__extends||function(){var t=function(e,i){return t=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,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),o=t.seriesTypes;t=o.column.prototype.pointClass.prototype;var r=e.extend,s=e.isNumber;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.options=void 0,e.series=void 0,e}return i(e,t),e.prototype.isValid=function(){return s(this.low)},e}(o.arearange.prototype.pointClass),r(e.prototype,{setState:t.setState}),e})),e(t,"Series/ColumnRange/ColumnRangeSeries.js",[t["Series/ColumnRange/ColumnRangePoint.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,i,o){var r=this&&this.__extends||function(){var t=function(e,i){return t=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,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}();e=e.noop;var s=i.seriesTypes,a=s.arearange,n=s.column,h=s.column.prototype,l=o.clamp;s=o.extend;var p=o.isNumber,c=o.merge,u=o.pick,d={pointRange:null,marker:null,states:{hover:{halo:!1}}};return o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.setOptions=function(){return c(!0,arguments[0],{stacking:void 0}),a.prototype.setOptions.apply(this,arguments)},e.prototype.translate=function(){var t,e,i,o,r=this,s=this.yAxis,a=this.xAxis,n=a.startAngleRad,c=this.chart,d=this.xAxis.isRadial,f=Math.max(c.chartWidth,c.chartHeight)+999;h.translate.apply(this),this.points.forEach((function(h){var g=h.shapeArgs||{},y=r.options.minPointLength,b=h.plotY,v=s.translate(h.high,0,1,0,1);p(v)&&p(b)&&(h.plotHigh=l(v,-f,f),h.plotLow=l(b,-f,f),o=h.plotHigh,t=u(h.rectPlotY,h.plotY)-h.plotHigh,Math.abs(t)<y?(t+=e=y-t,o-=e/2):0>t&&(o-=t*=-1),d&&r.polar?(i=h.barX+n,h.shapeType="arc",h.shapeArgs=r.polar.arc(o+t,o,i,i+h.pointWidth)):(g.height=t,g.y=o,y=void 0===(y=g.x)?0:y,g=void 0===(g=g.width)?0:g,h.tooltipPos=c.inverted?[s.len+s.pos-c.plotLeft-o-t/2,a.len+a.pos-c.plotTop-y-g/2,t]:[a.left-c.plotLeft+y+g/2,s.pos-c.plotTop+o+t/2,t]))}))},e.prototype.pointAttribs=function(){return h.pointAttribs.apply(this,arguments)},e.prototype.translate3dPoints=function(){return h.translate3dPoints.apply(this,arguments)},e.prototype.translate3dShapes=function(){return h.translate3dShapes.apply(this,arguments)},e.defaultOptions=c(n.defaultOptions,a.defaultOptions,d),e}(a),s(o.prototype,{directTouch:!0,pointClass:t,trackerGroups:["group","dataLabelsGroup"],adjustForMissingColumns:h.adjustForMissingColumns,animate:h.animate,crispCol:h.crispCol,drawGraph:e,drawPoints:h.drawPoints,getSymbol:e,drawTracker:h.drawTracker,getColumnMetrics:h.getColumnMetrics}),i.registerSeriesType("columnrange",o),o})),e(t,"Series/ColumnPyramid/ColumnPyramidSeries.js",[t["Series/Column/ColumnSeries.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,
1i){var o=this&&this.__extends||function(){var t=function(e,i){return t=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,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),r=t.prototype,s=i.clamp,a=i.merge,n=i.pick;return i=function(e){function i(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return o(i,e),i.prototype.translate=function(){var t=this,e=t.chart,i=t.options,o=t.dense=2>t.closestPointRange*t.xAxis.transA;o=t.borderWidth=n(i.borderWidth,o?0:1);var a=t.yAxis,h=i.threshold,l=t.translatedThreshold=a.getThreshold(h),p=n(i.minPointLength,5),c=t.getColumnMetrics(),u=c.width,d=t.barW=Math.max(u,1+2*o),f=t.pointXOffset=c.offset;e.inverted&&(l-=.5),i.pointPadding&&(d=Math.ceil(d)),r.translate.apply(t),t.points.forEach((function(o){var r=n(o.yBottom,l),c=999+Math.abs(r),g=s(o.plotY,-c,a.len+c);c=o.plotX+f;var y,b=d/2,v=Math.min(g,r);r=Math.max(g,r)-v,o.barX=c,o.pointWidth=u,o.tooltipPos=e.inverted?[a.len+a.pos-e.plotLeft-g,t.xAxis.len-c-b,r]:[c+b,g+a.pos-e.plotTop,r],g=h+(o.total||o.y),"percent"===i.stacking&&(g=h+(0>o.y)?-100:100),g=a.toPixels(g,!0);var m=(y=e.plotHeight-g-(e.plotHeight-l))?b*(v-g)/y:0,x=y?b*(v+r-g)/y:0;y=c-m+b,m=c+m+b;var P=c+x+b;x=c-x+b;var S=v-p,M=v+r;0>o.y&&(S=v,M=v+r+p),e.inverted&&(x=b*(g-((P=a.width-v)-r))/(y=g-(a.width-l)),m=(y=c+b+(m=b*(g-P)/y))-2*m,P=c-x+b,x=c+x+b,S=v,M=v+r-p,0>o.y&&(M=v+r+p)),o.shapeType="path",o.shapeArgs={x:y,y:S,width:m-y,height:r,d:[["M",y,S],["L",m,S],["L",P,M],["L",x,M],["Z"]]}}))},i.defaultOptions=a(t.defaultOptions,{}),i}(t),e.registerSeriesType("columnpyramid",i),i})),e(t,"Series/ErrorBar/ErrorBarSeriesDefaults.js",[],(function(){return{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}})),e(t,"Series/ErrorBar/ErrorBarSeries.js",[t["Series/BoxPlot/BoxPlotSeries.js"],t["Series/Column/ColumnSeries.js"],t["Series/ErrorBar/ErrorBarSeriesDefaults.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,i,o,r){var s=this&&this.__extends||function(){var t=function(e,i){return t=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,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),a=o.seriesTypes.arearange,n=r.addEvent,h=r.merge;
1r=r.extend;var l=function(o){function r(){var t=null!==o&&o.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return s(r,o),r.prototype.getColumnMetrics=function(){return this.linkedParent&&this.linkedParent.columnMetrics||e.prototype.getColumnMetrics.call(this)},r.prototype.drawDataLabels=function(){var t=this.pointValKey;a&&(a.prototype.drawDataLabels.call(this),this.data.forEach((function(e){e.y=e[t]})))},r.prototype.toYData=function(t){return[t.low,t.high]},r.defaultOptions=h(t.defaultOptions,i),r}(t);return n(l,"afterTranslate",(function(){this.points.forEach((function(t){t.plotLow=t.plotY}))}),{order:0}),r(l.prototype,{pointArrayMap:["low","high"],pointValKey:"high",doQuartiles:!1}),o.registerSeriesType("errorbar",l),l})),e(t,"Series/Gauge/GaugePoint.js",[t["Core/Series/SeriesRegistry.js"]],(function(t){var e=this&&this.__extends||function(){var t=function(e,i){return t=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,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}();return function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.options=void 0,e.series=void 0,e.shapeArgs=void 0,e}return e(i,t),i.prototype.setState=function(t){this.state=t},i}(t.series.prototype.pointClass)})),e(t,"Series/Gauge/GaugeSeries.js",[t["Series/Gauge/GaugePoint.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,i,o){var r=this&&this.__extends||function(){var t=function(e,i){return t=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,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}();e=e.noop;var s=i.series,a=i.seriesTypes.column,n=o.clamp,h=o.isNumber,l=o.extend,p=o.merge,c=o.pick,u=o.pInt;return o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.points=void 0,e.options=void 0,e.yAxis=void 0,e}return r(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=p(e.dial,o.dial),s=u(r.radius)*i[2]/200,a=u(r.baseLength)*s/100,l=u(r.rearLength)*s/100,c=r.baseWidth,d=r.topWidth,f=e.overshoot,g=t.startAngleRad+t.translate(o.y,void 0,void 0,void 0,!0);(h(f)||!1===e.wrap)&&(f=h(f)?f/180*Math.PI:0,g=n(g,t.startAngleRad-f,t.endAngleRad+f)),g=180*g/Math.PI,o.shapeType="path",o.shapeArgs={d:r.path||[["M",-l,-c/2],["L",a,-c/2],["L",s,-d/2],["L",s,d/2],["L",a,c/2],["L",-l,c/2],["Z"]],translateX:i[0],translateY:i[1],rotation:g},o.plotX=i[0],o.plotY=i[1]}))},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=p(r.dial,i.dial);o?(o.animate(s),s.d=n):i.graphic=a[i.shapeType](s).attr({rotation:s.rotation,zIndex:1}).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),s.prototype.render.call(this),this.group.clip(this.chart.clipRect)},e.prototype.setData=function(t,e){s.prototype.setData.call(this,t,!1),this.processData(),this.generatePoints(),c(e,!0)&&this.chart.redraw()},e.prototype.hasData=function(){return!!this.points.length},e.defaultOptions=p(s.defaultOptions,{dataLabels:{borderColor:"#cccccc",borderRadius:3,borderWidth:1,crop:!1,defer:!1,enabled:!0,verticalAlign:"top",y:15,zIndex:2}
1,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}(s),l(o.prototype,{angular:!0,directTouch:!0,drawGraph:e,drawTracker:a.prototype.drawTracker,fixedBox:!0,forceDL:!0,noSharedTooltip:!0,pointClass:t,trackerGroups:["group","dataLabelsGroup"]}),i.registerSeriesType("gauge",o),o})),e(t,"Series/DragNodesComposition.js",[t["Core/Utilities.js"]],(function(t){function e(){var t,e,o,r=this;r.container&&(t=i(r.container,"mousedown",(function(t){var s=r.hoverPoint;s&&s.series&&s.series.hasDraggableNodes&&s.series.options.draggable&&(s.series.onMouseDown(s,t),e=i(r.container,"mousemove",(function(t){return s&&s.series&&s.series.onMouseMove(s,t)})),o=i(r.container.ownerDocument,"mouseup",(function(t){return e(),o(),s&&s.series&&s.series.onMouseUp(s,t)})))}))),i(r,"destroy",(function(){t()}))}var i=t.addEvent,o=[];return{compose:function(t){-1===o.indexOf(t)&&(o.push(t),i(t,"load",e))},onMouseDown:function(t,e){e=this.chart.pointer.normalize(e),t.fixedPosition={chartX:e.chartX,chartY:e.chartY,plotX:t.plotX,plotY:t.plotY},t.inDragMode=!0},onMouseMove:function(t,e){if(t.fixedPosition&&t.inDragMode){var i=this.chart,o=i.pointer.normalize(e);e=t.fixedPosition.chartX-o.chartX,o=t.fixedPosition.chartY-o.chartY;var r=i.graphLayoutsLookup,s=void 0,a=void 0;(5<Math.abs(e)||5<Math.abs(o))&&(s=t.fixedPosition.plotX-e,a=t.fixedPosition.plotY-o,i.isInsidePlot(s,a)&&(t.plotX=s,t.plotY=a,t.hasDragged=!0,this.redrawHalo(t),r.forEach((function(t){t.restartSimulation()}))))}},onMouseUp:function(t,e){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)})}}})),e(t,"Series/GraphLayoutComposition.js",[t["Core/Animation/AnimationUtilities.js"],t["Core/Utilities.js"]],(function(t,e){function i(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach((function(t){t.updateSimulation()})),this.redraw())}function o(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach((function(t){t.updateSimulation(!1)})),this.redraw())}function r(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach((function(t){t.stop()}))}function s(){var t=!1,e=function(e){e.maxIterations--&&isFinite(e.temperature)&&!e.isStable()&&!e.enableSimulation&&(e.beforeStep&&e.beforeStep(),e.step(),i=!1,t=!0)};if(this.graphLayoutsLookup){for(a(!1,this),this.graphLayoutsLookup.forEach((function(t){return t.start()}));!i;){var i=!0;this.graphLayoutsLookup.forEach(e)}t&&this.series.forEach((function(t){t&&t.layout&&t.render()}))}}var a=t.setAnimation,n=e.addEvent,h=[];return{compose:function(t){h.indexOf(t)&&(h.push(t),n(t,"afterPrint",i),n(t,"beforePrint",o),n(t,"predraw",r),n(t,"render",s))},integrations:{},layouts:{}}})),e(t,"Series/PackedBubble/PackedBubblePoint.js",[t["Core/Chart/Chart.js"],t["Core/Series/Point.js"],t["Core/Series/SeriesRegistry.js"]],(function(t,e,i){var o=this&&this.__extends||function(){var t=function(e,i){return t=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,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}();return function(i){function r(){var t=null!==i&&i.apply(this,arguments)||this;return t.degree=NaN,t.mass=NaN,t.radius=NaN,t.options=void 0,t.series=void 0,t.value=null,t}return o(r,i),r.prototype.destroy=function(){return this.series.layout&&this.series.layout.removeElementFromCollection(this,this.series.layout.nodes),e.prototype.destroy.apply(this,arguments)},r.prototype.firePointEvent=function(){var t=this.series.options;if(this.isParentNode&&t.parentNode){var i=t.allowPointSelect;t.allowPointSelect=t.parentNode.allowPointSelect,e.prototype.firePointEvent.apply(this,arguments),t.allowPointSelect=i}else e.prototype.firePointEvent.apply(this,arguments)},r.prototype.select=function(){var i=this.series.chart;this.isParentNode?(i.getSelectedPoints=i.getSelectedParentNodes,e.prototype.select.apply(this,arguments),i.getSelectedPoints=t.prototype.getSelectedPoints):e.prototype.select.apply(this,arguments)},r}(i.seriesTypes.bubble.prototype.pointClass)})),e(t,"Series/PackedBubble/PackedBubbleSeriesDefaults.js",[t["Core/Utilities.js"]],(function(t){var e=t.isNumber;return{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,i=this.point.value;return e(i)?t(i,-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}}})),e(t,"Series/Networkgraph/VerletIntegration.js",[],(function(){return{attractive:function(t,e,
1i){var o=t.getMass(),r=-i.x*e*this.diffTemperature;e=-i.y*e*this.diffTemperature,t.fromNode.fixedPosition||(t.fromNode.plotX-=r*o.fromNode/t.fromNode.degree,t.fromNode.plotY-=e*o.fromNode/t.fromNode.degree),t.toNode.fixedPosition||(t.toNode.plotX+=r*o.toNode/t.toNode.degree,t.toNode.plotY+=e*o.toNode/t.toNode.degree)},attractiveForceFunction:function(t,e){return(e-t)/t},barycenter:function(){var t=this.options.gravitationalConstant,e=this.barycenter.xFactor,i=this.barycenter.yFactor;e=(e-(this.box.left+this.box.width)/2)*t,i=(i-(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.plotX+e.dispX-e.prevX)*i;i*=e.plotY+e.dispY-e.prevY;var s=Math.abs,a=s(r)/(r||1);s=s(i)/(i||1),r=a*Math.min(o,Math.abs(r)),i=s*Math.min(o,Math.abs(i)),e.prevX=e.plotX+e.dispX,e.prevY=e.plotY+e.dispY,e.plotX+=r,e.plotY+=i,e.temperature=t.vectorLength({x:r,y:i})},repulsive:function(t,e,i){e=e*this.diffTemperature/t.mass/t.degree,t.fixedPosition||(t.plotX+=i.x*e,t.plotY+=i.y*e)},repulsiveForceFunction:function(t,e){return(e-t)/t*(e>t?1:0)}}})),e(t,"Series/PackedBubble/PackedBubbleIntegration.js",[t["Core/Globals.js"],t["Series/Networkgraph/VerletIntegration.js"]],(function(t,e){return{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:t.noop,integrate:e.integrate,repulsive:function(t,e,i,o){var r=e*this.diffTemperature/t.mass/t.degree;e=i.x*r,i=i.y*r,t.fixedPosition||(t.plotX+=e,t.plotY+=i),o.fixedPosition||(o.plotX-=e,o.plotY-=i)},repulsiveForceFunction:function(t,e,i,o){return Math.min(t,(i.marker.radius+o.marker.radius)/2)}}})),e(t,"Series/Networkgraph/EulerIntegration.js",[],(function(){return{attractive:function(t,e,i,o){var r=t.getMass(),s=i.x/o*e;e*=i.y/o,t.fromNode.fixedPosition||(t.fromNode.dispX-=s*r.fromNode/t.fromNode.degree,t.fromNode.dispY-=e*r.fromNode/t.fromNode.degree),t.toNode.fixedPosition||(t.toNode.dis
1pX+=s*r.toNode/t.toNode.degree,t.toNode.dispY+=e*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();r*=1+r/2,o.dispX+=(e-o.plotX)*t*r/o.degree,o.dispY+=(i-o.plotY)*t*r/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}}})),e(t,"Series/Networkgraph/QuadTreeNode.js",[],(function(){return function(){function t(t){this.isInternal=this.isEmpty=this.body=!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.plotY<this.box.top+this.box.height/2;return t.plotX<this.box.left+this.box.width/2?e?0:3:e?1:2},t.prototype.insert=function(e,i){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)):((i=new t({top:e.plotX||NaN,left:e.plotY||NaN,width:.1,height:.1})).body=e,i.isInternal=!1,this.nodes.push(i)):(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}()})),e(t,"Series/Networkgraph/QuadTree.js",[t["Series/Networkgraph/QuadTreeNode.js"]],(function(t){return function(){function e(e,i,o,r){this.box={left:e,top:i,width:o,height:r},this.maxDepth=25,this.root=new t(this.box),this.root.isInternal=!0,this.root.isRoot=!0,this.root.divideBox()}return e.prototype.calculateMassAndCenter=function(){this.visitNodeRecursive(null,null,(function(t){t.updateMassAndCenter()}))},e.prototype.insertNodes=function(t){for(var e=0;e<t.length;e++)this.root.insert(t[e],this.maxDepth)},e.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)}},e}()})),e(t,"Series/Networkgraph/ReingoldFruchtermanLayout.js",[t["Series/Networkgraph/EulerIntegration.js"],t["Core/Globals.js"],t["Series/GraphLayoutComposition.js"],t["Series/Networkgraph/QuadTree.js"],t["Core/Utilities.js"],t["Series/Networkgraph/VerletIntegration.js"]],(function(t,e,i,o,r,s){var a=e.win,n=r.clamp,h=r.defined,l=r.isFunction,p=r.pick;return function(){function e(){this.attractiveForce=void 0,this.box={},this.currentStep=0,this.initialRendering=!0,this.integration=void 0,this.links=[],this.nodes=[],this.repulsiveForce=this.quadTree=this.options=void 0,this.series=[],this.simulation=!1}return e.compose=function(o){i.compose(o),i.integrations.euler=t,i.integrations.verlet=s,i.layouts["reingold-fruchterman"]=e},e.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=p(t.attractiveForce,this.integration.attractiveForceFunction),this.repulsiveForce=p(t.repulsiveForce,this.integration.repulsiveForceFunction),this.approximation=t.approximation},e.prototype.updateSimulation=function(t){this.enableSimulation=p(t,this.options.enableSimulation)},e.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()},e.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(i=0;i<e.length;i++)(o=e[i]).chart&&o.render();this.maxIterations--&&isFinite(this.temperature)&&!this.isStable()?(this.simulation&&a.cancelAnimationFrame(this.simulation),this.simulation=a.requestAnimationFrame((function(){return t.step()}))):this.simulation=!1}},e.prototype.stop=function(){this.simulation&&a.cancelAnimationFrame(this.simulation)}
1,e.prototype.setArea=function(t,e,i,o){this.box={left:t,top:e,width:i,height:o}},e.prototype.setK=function(){this.k=this.options.linkLength||this.integration.getK(this)},e.prototype.addElementsToCollection=function(t,e){for(var i=0;i<t.length;i++){var o=t[i];-1===e.indexOf(o)&&e.push(o)}},e.prototype.removeElementFromCollection=function(t,e){-1!==(t=e.indexOf(t))&&e.splice(t,1)},e.prototype.clear=function(){this.nodes.length=0,this.links.length=0,this.series.length=0,this.resetSimulation()},e.prototype.resetSimulation=function(){this.forcedStop=!1,this.systemTemperature=0,this.setMaxIterations(),this.setTemperature(),this.setDiffTemperature()},e.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))},e.prototype.setMaxIterations=function(t){this.maxIterations=p(t,this.options.maxIterations)},e.prototype.setTemperature=function(){this.temperature=this.startTemperature=Math.sqrt(this.nodes.length)},e.prototype.setDiffTemperature=function(){this.diffTemperature=this.startTemperature/(this.options.maxIterations+1)},e.prototype.setInitialRendering=function(t){this.initialRendering=t},e.prototype.createQuadTree=function(){this.quadTree=new o(this.box.left,this.box.top,this.box.width,this.box.height),this.quadTree.insertNodes(this.nodes)},e.prototype.initPositions=function(){var t=this.options.initialPositions;if(l(t)){t.call(this),t=0;for(var e=this.nodes;t<e.length;t++){var i=e[t];h(i.prevX)||(i.prevX=i.plotX),h(i.prevY)||(i.prevY=i.plotY),i.dispX=0,i.dispY=0}}else"circle"===t?this.setCircularPositions():this.setRandomPositions()},e.prototype.setCircularPositions=function(){for(var t=this.box,e=this.nodes,i=2*Math.PI/(e.length+1),o=e.filter((function(t){return 0===t.linksTo.length})),r={},s=this.options.initialPositionRadius,a=function(t){var e=0;for(t=t.linksFrom||[];e<t.length;e++){var i=t[e];r[i.toNode.id]||(r[i.toNode.id]=!0,n.push(i.toNode),a(i.toNode))}},n=[],h=0;h<o.length;h++){var l=o[h];n.push(l),a(l)}if(n.length)for(o=0;o<e.length;o++)h=e[o],-1===n.indexOf(h)&&n.push(h);else n=e;for(o=0,h=n.length;o<h;++o)(e=n[o]).plotX=e.prevX=p(e.plotX,t.width/2+s*Math.cos(o*i)),e.plotY=e.prevY=p(e.plotY,t.height/2+s*Math.sin(o*i)),e.dispX=0,e.dispY=0},e.prototype.setRandomPositions=function(){for(var t,e=this.box,i=this.nodes,o=i.length+1,r=function(t){return(t=t*t/Math.PI)-Math.floor(t)},s=0,a=i.length;s<a;++s)(t=i[s]).plotX=t.prevX=p(t.plotX,e.width*r(s)),t.plotY=t.prevY=p(t.plotY,e.height*r(o+s)),t.dispX=0,t.dispY=0},e.prototype.force=function(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];this.integration[t].apply(this,e)},e.prototype.barycenterForces=function(){this.getBarycenter(),this.force("barycenter")},e.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}},e.prototype.barnesHutApproximation=function(t,e){var i=this.getDistXY(t,e),o=this.vectorLength(i);if(t!==e&&0!==o)if(e.isInternal)if(e.boxSize/o<this.options.theta&&0!==o){var r=this.repulsiveForce(o,this.k);this.force("repulsive",t,r*e.mass,i,o);var s=!1}else s=!0;else r=this.repulsiveForce(o,this.k),this.force("repulsive",t,r*e.mass,i,o);return s},e.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{r=o=e=void 0;for(var a=0,n=this.nodes;a<n.length;a++){s=n[a];for(var h=0,l=this.nodes;h<l.length;h++){var p=l[h];s===p||s.fixedPosition||(r=this.getDistXY(s,p),0!==(o=this.vectorLength(r))&&(e=this.repulsiveForce(o,this.k),this.force("repulsive",s,e*p.mass,r,o)))}}}},e.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)))}},e.prototype.applyLimits=function(){for(var t=0,e=this.nodes;t<e.length;t++){var i=e[t];if(i.fixedPosition)break;this.integration.integrate(this,i),this.applyLimitBox(i,this.box),i.dispX=0,i.dispY=0}},e.prototype.applyLimitBox=function(t,e){var i=t.radius;t.plotX=n(t.plotX,e.left+i,e.width-i),t.plotY=n(t.plotY,e.top+i,e.height-i)}
1,e.prototype.coolDown=function(t,e,i){return t-e*i},e.prototype.isStable=function(){return 1e-5>Math.abs(this.systemTemperature-this.prevSystemTemperature)||0>=this.temperature},e.prototype.getSystemTemperature=function(){for(var t=0,e=0,i=this.nodes;e<i.length;e++)t+=i[e].temperature;return t},e.prototype.vectorLength=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},e.prototype.getDistR=function(t,e){return t=this.getDistXY(t,e),this.vectorLength(t)},e.prototype.getDistXY=function(t,e){var i=t.plotX-e.plotX;return{x:i,y:t=t.plotY-e.plotY,absX:Math.abs(i),absY:Math.abs(t)}},e}()})),e(t,"Series/PackedBubble/PackedBubbleLayout.js",[t["Series/GraphLayoutComposition.js"],t["Series/PackedBubble/PackedBubbleIntegration.js"],t["Series/Networkgraph/ReingoldFruchtermanLayout.js"],t["Core/Utilities.js"]],(function(t,e,i,o){function r(){var t=[];return this.series.forEach((function(e){e.parentNode&&e.parentNode.selected&&t.push(e.parentNode)})),t}function s(){this.allDataPoints&&delete this.allDataPoints}var a=this&&this.__extends||function(){var t=function(e,i){return t=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,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),n=o.addEvent,h=o.pick,l=[];return o=function(o){function p(){var t=null!==o&&o.apply(this,arguments)||this;return t.index=NaN,t.nodes=[],t.options=void 0,t.series=[],t}return a(p,o),p.compose=function(o){i.compose(o),t.integrations.packedbubble=e,t.layouts.packedbubble=p,-1===l.indexOf(o)&&(l.push(o),n(o,"beforeRedraw",s),o.prototype.getSelectedParentNodes=r)},p.prototype.beforeStep=function(){this.options.marker&&this.series.forEach((function(t){t&&t.calculateParentRadius()}))},p.prototype.isStable=function(){var t=Math.abs(this.prevSystemTemperature-this.systemTemperature);return 1>Math.abs(10*this.systemTemperature/Math.sqrt(this.nodes.length))&&1e-5>t||0>=this.temperature},p.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 l=o[n];this.options.splitSeries&&!l.isParentNode?(t=l.series.parentNode.plotX,e=l.series.parentNode.plotY):(t=i.width/2,e=i.height/2),l.plotX=l.prevX=h(l.plotX,t+s*Math.cos(l.index||a*r)),l.plotY=l.prevY=h(l.plotY,e+s*Math.sin(l.index||a*r)),l.dispX=0,l.dispY=0,a++}},p.prototype.repulsiveForces=function(){var t,e,i,o=this,r=o.options.bubblePadding;o.nodes.forEach((function(s){s.degree=s.mass,s.neighbours=0,o.nodes.forEach((function(a){t=0,s===a||s.fixedPosition||!o.options.seriesInteraction&&s.series!==a.series||(i=o.getDistXY(s,a),0>(e=o.vectorLength(i)-(s.marker.radius+a.marker.radius+r))&&(s.degree+=.01,s.neighbours++,t=o.repulsiveForce(-e/Math.sqrt(s.neighbours),o.k,s,a)),o.force("repulsive",s,t*a.mass,i,a,e))}))}))},p.prototype.applyLimitBox=function(t,e){if(this.options.splitSeries&&!t.isParentNode&&this.options.parentNodeLimit){var i=this.getDistXY(t,t.series.parentNode),r=t.series.parentNodeRadius-t.marker.radius-this.vectorLength(i);0>r&&r>-2*t.marker.radius&&(t.plotX-=.01*i.x,t.plotY-=.01*i.y)}
1o.prototype.applyLimitBox.call(this,t,e)},p}(i),t.layouts.packedbubble=o})),e(t,"Series/PackedBubble/PackedBubbleSeries.js",[t["Core/Color/Color.js"],t["Series/DragNodesComposition.js"],t["Series/GraphLayoutComposition.js"],t["Core/Globals.js"],t["Series/PackedBubble/PackedBubblePoint.js"],t["Series/PackedBubble/PackedBubbleSeriesDefaults.js"],t["Series/PackedBubble/PackedBubbleLayout.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,i,o,r,s,a,n,h){var l=this&&this.__extends||function(){var t=function(e,i){return t=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,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),p=t.parse;t=o.noop;var c=n.series.prototype,u=n.seriesTypes.bubble,d=h.addEvent,f=h.clamp,g=h.defined,y=h.extend,b=h.fireEvent,v=h.isArray,m=h.isNumber,x=h.merge,P=h.pick;return h=function(t){function o(){var e=null!==t&&t.apply(this,arguments)||this;return e.chart=void 0,e.data=void 0,e.layout=void 0,e.options=void 0,e.parentNodeMass=0,e.points=void 0,e.xData=void 0,e}return l(o,t),o.compose=function(t,i,o,r){u.compose(t,i,o,r),e.compose(i),a.compose(i)},o.prototype.accumulateAllPoints=function(){for(var t,e=this.chart,i=[],o=0,r=e.series;o<r.length;o++){var s=r[o];if(s.is("packedbubble")&&s.visible||!e.options.chart.ignoreHiddenSeries){t=s.yData||[];for(var a=0;a<t.length;a++)i.push([null,null,t[a],s.index,a,{id:a,marker:{radius:0}}])}}return i},o.prototype.addLayout=function(){var t=this.options.layoutAlgorithm=this.options.layoutAlgorithm||{},e=t.type||"packedbubble",o=this.chart.options.chart,r=this.chart.graphLayoutsStorage,s=this.chart.graphLayoutsLookup;r||(this.chart.graphLayoutsStorage=r={},this.chart.graphLayoutsLookup=s=[]);var a=r[e];a||(t.enableSimulation=g(o.forExport)?!o.forExport:t.enableSimulation,r[e]=a=new i.layouts[e],a.init(t),s.splice(a.index,0,a)),this.layout=a,this.points.forEach((function(t){t.mass=2,t.degree=1,t.collisionNmb=1})),a.setArea(0,0,this.chart.plotWidth,this.chart.plotHeight),a.addElementsToCollection([this],a.series),a.addElementsToCollection(this.points,a.nodes)},o.prototype.addSeriesLayout=function(){var t=this.options.layoutAlgorithm=this.options.layoutAlgorithm||{},e=t.type||"packedbubble",o=this.chart.graphLayoutsStorage,r=this.chart.graphLayoutsLookup;t=x(t,t.parentNodeOptions,{enableSimulation:this.layout.options.enableSimulation});var s=o[e+"-series"];s||(o[e+"-series"]=s=new i.layouts[e],s.init(t),r.splice(s.index,0,s)),this.parentNodeLayout=s,this.createParentNodes()},o.prototype.calculateParentRadius=function(){var t=this.seriesBox();this.parentNodeRadius=f(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)},o.prototype.calculateZExtremes=function(){var t=this.options.zMin,e=this.options.zMax,i=1/0,o=-1/0;return t&&e?[t,e]:(this.chart.series.forEach((function(t){t.yData.forEach((function(t){g(t)&&(t>o&&(o=t),t<i&&(i=t))}))})),[t=P(t,i),e=P(e,o)])},o.prototype.checkOverlap=function(t,e){var i=t[0]-e[0],o=t[1]-e[1];return-.001>Math.sqrt(i*i+o*o)-Math.abs(t[2]+e[2])},o.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:p(this.color).brighten(.4).get()};s.parentNodeOptions&&(n=x(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).init(this,{mass:this.parentNodeRadius/2,marker:n,dataLabels:{inside:!1},states:{normal:{marker:n},hover:{marker:n}}
1,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))},o.prototype.deferLayout=function(){var t=this.options.layoutAlgorithm;this.visible&&(this.addLayout(),t.splitSeries&&this.addSeriesLayout())},o.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())),c.destroy.apply(this,arguments)},o.prototype.drawDataLabels=function(){c.drawDataLabels.call(this,this.points),this.parentNode&&(this.parentNode.formatPrefix="parentNode",c.drawDataLabels.call(this,[this.parentNode]))},o.prototype.drawGraph=function(){if(this.layout&&this.layout.options.splitSeries){var t=this.chart,e=this.layout.options.parentNodeOptions.marker;e={fill:e.fillColor||p(this.color).brighten(.4).get(),opacity:e.fillOpacity,stroke:e.lineColor||this.color,"stroke-width":P(e.lineWidth,this.options.lineWidth)},this.parentNodesGroup||(this.parentNodesGroup=this.plotGroup("parentNodesGroup","parentNode",this.visible?"inherit":"hidden",.1,t.seriesGroup),this.group.attr({zIndex:2})),this.calculateParentRadius();var i=x({x:this.parentNode.plotX-this.parentNodeRadius,y:this.parentNode.plotY-this.parentNodeRadius,width:2*this.parentNodeRadius,height:2*this.parentNodeRadius},e);this.parentNode.graphic||(this.graph=this.parentNode.graphic=t.renderer.symbol(e.symbol).add(this.parentNodesGroup)),this.parentNode.graphic.attr(i)}},o.prototype.drawTracker=function(){var e=this.parentNode;if(t.prototype.drawTracker.call(this),e){var i=v(e.dataLabels)?e.dataLabels:e.dataLabel?[e.dataLabel]:[];e.graphic&&(e.graphic.element.point=e),i.forEach((function(t){t.div?t.div.point=e:t.element.point=e}))}},o.prototype.getPointRadius=function(){var t,e,i,o,r=this,s=this.chart,a=this.options,n=a.useSimulation,h=Math.min(s.plotWidth,s.plotHeight),l={},p=[],c=s.allDataPoints||[],u=c.length;["minSize","maxSize"].forEach((function(t){var e=parseInt(a[t],10),i=/%$/.test(a[t]);l[t]=i?h*e/100:e*Math.sqrt(u)})),s.minRadius=t=l.minSize/Math.sqrt(u),s.maxRadius=e=l.maxSize/Math.sqrt(u);var d=n?this.calculateZExtremes():[t,e];c.forEach((function(s,a){i=n?f(s[2],d[0],d[1]):s[2],0===(o=r.getRadius(d[0],d[1],t,e,i))&&(o=null),c[a][2]=o,p.push(o)})),this.radii=p},o.prototype.init=function(){return c.init.apply(this,arguments),this.eventsToUnbind.push(d(this,"updatedData",(function(){var t=this;this.chart.series.forEach((function(e){e.type===t.type&&(e.isDirty=!0)}),this)}))),this},o.prototype.onMouseUp=function(t){var i=t;if(i.fixedPosition&&!i.removed){var o,r=this.layout,s=this.parentNodeLayout;s&&r.options.dragBetweenSeries&&s.nodes.forEach((function(t){i&&i.marker&&t!==i.series.parentNode&&(o=r.getDistXY(i,t),0>r.vectorLength(o)-t.marker.radius-i.marker.radius&&(t.series.addPoint(x(i.options,{plotX:i.plotX,plotY:i.plotY}),!1),r.removeElementFromCollection(i,r.nodes),i.remove()))})),e.onMouseUp.apply(this,arguments)}},o.prototype.placeBubbles=function(t){var e,i=this.checkOverlap,o=this.positionBubble,r=[],s=1,a=0,n=0,h=[];if(t=t.sort((function(t,e){return e[2]-t[2]})),t.length){if(r.push([[0,0,t[0][2],t[0][3],t[0][4]]]),1<t.length)for(r.push([[0,0-t[1][2]-t[0][2],t[1][2],t[1][3],t[1][4]]]),e=2;e<t.length;e++)t[e][2]=t[e][2]||1,i(h=o(r[s][a],r[s-1][n],t[e]),r[s][0])?(r.push([]),n=0,r[s+1].push(o(r[s][a],r[s][0],t[e])),s++,a=0):1<s&&r[s-1][n+1]&&i(h,r[s-1][n+1])?(n++,r[s].push(o(r[s][a],r[s-1][n],t[e])),a++):(a++,r[s].push(h));this.chart.stages=r,this.chart.rawPositions=[].concat.apply([],r),this.resizeRadius(),h=this.chart.rawPositions}return h},o.prototype.pointAttribs=function(t,e){var i=this.options,o=i.marker;return t&&t.isParentNode&&i.layoutAlgorithm&&i.layoutAlgorithm.parentNodeOptions&&(o=i.layoutAlgorithm.parentNodeOptions.marker),i=o.fillOpacity,t=c.pointAttribs.call(this,t,e),1!==i&&(t["fill-opacity"]=i),t}
1,o.prototype.positionBubble=function(t,e,i){var o=Math.sqrt,r=Math.asin,s=Math.acos,a=Math.pow,n=Math.abs;return o=o(a(t[0]-e[0],2)+a(t[1]-e[1],2)),s=s((a(o,2)+a(i[2]+e[2],2)-a(i[2]+t[2],2))/(2*(i[2]+e[2])*o)),r=r(n(t[0]-e[0])/o),t=(0>t[1]-e[1]?0:Math.PI)+s+r*(0>(t[0]-e[0])*(t[1]-e[1])?1:-1),[e[0]+(e[2]+i[2])*Math.sin(t),e[1]-(e[2]+i[2])*Math.cos(t),i[2],i[3],i[4]]},o.prototype.render=function(){var t=[];c.render.apply(this,arguments),this.options.dataLabels.allowOverlap||(this.data.forEach((function(e){v(e.dataLabels)&&e.dataLabels.forEach((function(e){t.push(e)}))})),this.options.useSimulation&&this.chart.hideOverlappingLabels(t))},o.prototype.resizeRadius=function(){for(var t,e,i=this.chart,o=i.rawPositions,r=Math.min,s=Math.max,a=i.plotLeft,n=i.plotTop,h=i.plotHeight,l=i.plotWidth,p=t=Number.POSITIVE_INFINITY,c=e=Number.NEGATIVE_INFINITY,u=0;u<o.length;u++){var d=o[u],f=d[2];p=r(p,d[0]-f),c=s(c,d[0]+f),t=r(t,d[1]-f),e=s(e,d[1]+f)}if(d=[c-p,e-t],r=r.apply([],[(l-a)/d[0],(h-n)/d[1]]),1e-10<Math.abs(r-1)){for(i=0;i<o.length;i++)(d=o[i])[2]*=r;this.placeBubbles(o)}else i.diffY=h/2+n-t-(e-t)/2,i.diffX=l/2+a-p-(c-p)/2},o.prototype.seriesBox=function(){var t,e=this.chart,i=Math.max,o=Math.min,r=[e.plotLeft,e.plotLeft+e.plotWidth,e.plotTop,e.plotTop+e.plotHeight];return this.data.forEach((function(e){g(e.plotX)&&g(e.plotY)&&e.marker.radius&&(t=e.marker.radius,r[0]=o(r[0],e.plotX-t),r[1]=i(r[1],e.plotX+t),r[2]=o(r[2],e.plotY-t),r[3]=i(r[3],e.plotY+t))})),m(r.width/r.height)?r:null},o.prototype.setVisible=function(){var t=this;c.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)})))},o.prototype.translate=function(){var t=this.chart,e=this.data,i=this.index,o=this.options.useSimulation;if(this.processedXData=this.xData,this.generatePoints(),g(t.allDataPoints)||(t.allDataPoints=this.accumulateAllPoints(),this.getPointRadius()),o)var r=t.allDataPoints;else r=this.placeBubbles(t.allDataPoints),this.options.draggable=!1;for(var s=0,a=r;s<a.length;s++){var n=a[s];if(n[3]===i){r=e[n[4]];var h=P(n[2],void 0);o||(r.plotX=n[0]-t.plotLeft+t.diffX,r.plotY=n[1]-t.plotTop+t.diffY),m(h)&&(r.marker=y(r.marker,{radius:h,width:2*h,height:2*h}),r.radius=h)}}o&&this.deferLayout(),b(this,"afterTranslate")},o.defaultOptions=x(u.defaultOptions,s),o}(u),y(h.prototype,{pointClass:r,axisTypes:[],directTouch:!0,forces:["barycenter","repulsive"],hasDraggableNodes:!0,isCartesian:!1,noSharedTooltip:!0,pointArrayMap:["value"],pointValKey:"value",requireSorting:!1,trackerGroups:["group","dataLabelsGroup","parentNodesGroup"],alignDataLabel:c.alignDataLabel,indexateNodes:t,onMouseDown:e.onMouseDown,onMouseMove:e.onMouseMove,redrawHalo:e.redrawHalo,searchPoint:t}),n.registerSeriesType("packedbubble",h),h})),e(t,"Series/Polygon/PolygonSeries.js",[t["Core/Globals.js"],t["Core/Legend/LegendSymbol.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,i,o){var r=this&&this.__extends||function(){var t=function(e,i){return t=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,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}();t=t.noop;var s=i.series,a=i.seriesTypes,n=a.area,h=a.line,l=a.scatter;a=o.extend;var p=o.merge;return o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return r(e,t),e.prototype.getGraphPath=function(){for(var t=h.prototype.getGraphPath.call(this),e=t.length+1;e--;)(e===t.length||"M"===t[e][0])&&0<e&&t.splice(e,0,["Z"]);return this.areaPath=t},e.prototype.drawGraph=function(){this.options.fillColor=this.color,n.prototype.drawGraph.call(this)},e.defaultOptions=p(l.defaultOptions,{marker:{enabled:!1,states:{hover:{enabled:!1}}},stickyTracking:!1,tooltip:{followPointer:!0,pointFormat:""},trackByArea:!0}),e}(l),a(o.prototype,{type:"polygon",drawLegendSymbol:e.drawRectangle,drawTracker:s.prototype.drawTracker,setStackedPoints:t}),i.registerSeriesType("polygon",o),o})),e(t,"Core/Axis/WaterfallAxis.js",[t["Core/Axis/Stacking/StackItem.js"],t["Core/Utilities.js"]],(function(t,e){var i,o=e.addEvent,r=e.objectEach;return function(e){function i(){var t=this.waterfall.stacks;t&&(t.changed=!1,delete t.alreadyChanged)}function s(){var t=this.options.stackLabels;
1t&&t.enabled&&this.waterfall.stacks&&this.waterfall.renderStackTotals()}function a(){for(var t=this.axes,e=this.series,i=e.length;i--;)e[i].options.stacking&&(t.forEach((function(t){t.isXAxis||(t.waterfall.stacks.changed=!0)})),i=0)}function n(){this.waterfall||(this.waterfall=new h(this))}var h=function(){function e(t){this.axis=t,this.stacks={changed:!1}}return e.prototype.renderStackTotals=function(){var e=this.axis,i=e.waterfall.stacks,o=e.stacking&&e.stacking.stackTotalGroup,s=new t(e,e.options.stackLabels||{},!1,0,void 0);this.dummyStackItem=s,o&&r(i,(function(e){r(e,(function(e,i){s.total=e.stackTotal,s.x=+i,e.label&&(s.label=e.label),t.prototype.render.call(s,o),e.label=s.label,delete s.label}))})),s.total=null},e}();e.Composition=h,e.compose=function(t,e){o(t,"init",n),o(t,"afterBuildStacks",i),o(t,"afterRender",s),o(e,"beforeRedraw",a)}}(i||(i={})),i})),e(t,"Series/Waterfall/WaterfallPoint.js",[t["Series/Column/ColumnSeries.js"],t["Core/Series/Point.js"],t["Core/Utilities.js"]],(function(t,e,i){var o=this&&this.__extends||function(){var t=function(e,i){return t=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,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),r=i.isNumber;return function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.options=void 0,e.series=void 0,e}return o(i,t),i.prototype.getClassName=function(){var t=e.prototype.getClassName.call(this);return this.isSum?t+=" highcharts-sum":this.isIntermediateSum&&(t+=" highcharts-intermediate-sum"),t},i.prototype.isValid=function(){return r(this.y)||this.isSum||!!this.isIntermediateSum},i}(t.prototype.pointClass)})),e(t,"Series/Waterfall/WaterfallSeries.js",[t["Core/Axis/Axis.js"],t["Core/Chart/Chart.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"],t["Core/Axis/WaterfallAxis.js"],t["Series/Waterfall/WaterfallPoint.js"]],(function(t,e,i,o,r,s){var a=this&&this.__extends||function(){var t=function(e,i){return t=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,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),n=i.seriesTypes,h=n.column,l=n.line,p=o.arrayMax,c=o.arrayMin,u=o.correctFloat;n=o.extend;var d=o.isNumber,f=o.merge,g=o.objectEach,y=o.pick;return o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.chart=void 0,e.data=void 0,e.options=void 0,e.points=void 0,e.stackedYNeg=void 0,e.stackedYPos=void 0,e.stackKey=void 0,e.xData=void 0,e.yAxis=void 0,e.yData=void 0,e}return a(e,t),e.prototype.generatePoints=function(){h.prototype.generatePoints.apply(this);for(var t=0,e=this.points.length;t<e;t++){var i=this.points[t],o=this.processedYData[t];d(o)&&(i.isIntermediateSum||i.isSum)&&(i.y=u(o))}},e.prototype.translate=function(){var t=this.options,e=this.yAxis,i=y(t.minPointLength,5),o=i/2,r=t.threshold||0;t=t.stacking;var s=e.waterfall.stacks[this.stackKey],a=r,n=r;h.prototype.translate.apply(this);for(var l=this.points,p=0;p<l.length;p++){var c=l[p],u=this.processedYData[p],f=c.shapeArgs;if(f&&d(u)){var g=[0,u],b=c.y;if(t){if(s){if(g=s[p],"overlap"===t){var v=g.stackState[g.stateIndex--];v=0<=b?v:v-b,Object.hasOwnProperty.call(g,"absolutePos")&&delete g.absolutePos,Object.hasOwnProperty.call(g,"absoluteNeg")&&delete g.absoluteNeg}else 0<=b?(v=g.threshold+g.posTotal,g.posTotal-=b):(v=g.threshold+g.negTotal,g.negTotal-=b,v-=b),!g.posTotal&&d(g.absolutePos)&&Object.hasOwnProperty.call(g,"absolutePos")&&(g.posTotal=g.absolutePos,delete g.absolutePos),!g.negTotal&&d(g.absoluteNeg)&&Object.hasOwnProperty.call(g,"absoluteNeg")&&(g.negTotal=g.absoluteNeg,delete g.absoluteNeg);c.isSum||(g.connectorThreshold=g.threshold+g.stackTotal),e.reversed?(u=0<=b?v-b:v+b,b=v):(u=v,b=v-b),c.below=u<=r,f.y=e.translate(u,!1,!0,!1,!0),f.height=Math.abs(f.y-e.translate(b,!1,!0,!1,!0)),(b=e.waterfall.dummyStackItem)&&(b.x=p,b.label=s[p].label,b.setOffset(this.pointXOffset||0,this.barW||0,this.stackedYNeg[p],this.stackedYPos[p],void 0,this.xAxis))}}else v=Math.max(n,n+b)+g[0],f.y=e.translate(v,!1,!0,!1,!0),c.isSum?(f.y=e.translate(g[1],!1,!0,!1,!0),f.height=Math.min(e.translate(g[0],!1,!0,!1,!0),e.len)-f.y,c.below=g[1]<=r):c.isIntermediateSum?(0<=b?(u=g[1]+a,b=a):(u=a,b=g[1]+a),e.reversed&&(u^=b,u^=b^=u),f.y=e.translate(u,!1,!0,!1,!0),f.height=Math.abs(f.y-Math.min(e.translate(b,!1,!0,!1,!0),e.len)),a+=g[1],c.below=u<=r):(f.height=0<u?e.translate(n,!1,!0,!1,!0)-f.y:e.translate(n,!1,!0,!1,!0)-e.translate(n-u,!1,!0,!1,!0),n+=u,c.below=n<r),0>f.height&&(f.y+=f.height,f.height*=-1);c.plotY=f.y=Math.round(f.y||0)-this.borderWidth%2/2,f.height=Math.max(Math.round(f.height||0),.001),c.yBottom=f.y+f.height,f.height<=i&&!c.isNull?(f.height=i,f.y-=o,c.plotY=f.y,c.minPointLengthOffset=0>c.y?-o:o):(c.isNull&&(f.width=0),c.minPointLengthOffset=0),b=c.plotY+(c.negative?f.height:0),c.below&&(c.plotY+=f.height),c.tooltipPos&&(this.chart.inverted?c.tooltipPos[0]=e.len-b:c.tooltipPos[1]=b),
1c.isInside=this.isPointInside(c)}}},e.prototype.processData=function(e){var i,o,r,s,a,n=this.options,h=this.yData,l=n.data,p=h.length,c=n.threshold||0;for(a=o=i=r=s=0;a<p;a++){var d=h[a],f=l&&l[a]?l[a]:{};"sum"===d||f.isSum?h[a]=u(o):"intermediateSum"===d||f.isIntermediateSum?(h[a]=u(i),i=0):(o+=d,i+=d),r=Math.min(o,r),s=Math.max(o,s)}t.prototype.processData.call(this,e),n.stacking||(this.dataMin=r+c,this.dataMax=s)},e.prototype.toYData=function(t){return t.isSum?"sum":t.isIntermediateSum?"intermediateSum":t.y},e.prototype.updateParallelArrays=function(e,i){t.prototype.updateParallelArrays.call(this,e,i),"sum"!==this.yData[0]&&"intermediateSum"!==this.yData[0]||(this.yData[0]=null)},e.prototype.pointAttribs=function(t,e){var i=this.options.upColor;return i&&!t.options.color&&(t.color=0<t.y?i:void 0),delete(t=h.prototype.pointAttribs.call(this,t,e)).dashstyle,t},e.prototype.getGraphPath=function(){return[["M",0,0]]},e.prototype.getCrispPath=function(){var t,e=this.data,i=this.yAxis,o=e.length,r=Math.round(this.graph.strokeWidth())%2/2,s=Math.round(this.borderWidth)%2/2,a=this.xAxis.reversed,n=this.yAxis.reversed,h=this.options.stacking,l=[];for(t=1;t<o;t++){var p=e[t].shapeArgs,c=e[t-1],u=e[t-1].shapeArgs,d=i.waterfall.stacks[this.stackKey],f=0<c.y?-u.height:0;d&&u&&p&&(d=d[t-1],h?(d=d.connectorThreshold,f=Math.round(i.translate(d,!1,!0,!1,!0)+(n?f:0))-r):f=u.y+c.minPointLengthOffset+s-r,l.push(["M",(u.x||0)+(a?0:u.width||0),f],["L",(p.x||0)+(a&&p.width||0),f])),u&&l.length&&(!h&&0>c.y&&!n||0<c.y&&n)&&((c=l[l.length-2])&&"number"==typeof c[2]&&(c[2]+=u.height||0),(c=l[l.length-1])&&"number"==typeof c[2]&&(c[2]+=u.height||0))}return l},e.prototype.drawGraph=function(){l.prototype.drawGraph.call(this),this.graph&&this.graph.attr({d:this.getCrispPath()})},e.prototype.setStackedPoints=function(){function t(t,e,i,o){if(y){if(x)for(;i<x;i++)y.stackState[i]+=o;else y.stackState[0]=t,x=y.stackState.length;y.stackState.push(y.stackState[x-1]+e)}}var e,i,o,r=this.options,s=this.yAxis.waterfall.stacks,a=r.threshold||0,n=a,h=n,l=this.stackKey,p=this.xData,c=p.length;this.yAxis.stacking.usePercentage=!1;var u=e=i=n;if(this.visible||!this.chart.options.chart.ignoreHiddenSeries){var d=s.changed;if((o=s.alreadyChanged)&&0>o.indexOf(l)&&(d=!0),s[l]||(s[l]={}),o=s[l])for(var f=0;f<c;f++){var g=p[f];o[g]&&!d||(o[g]={negTotal:0,posTotal:0,stackTotal:0,threshold:0,stateIndex:0,stackState:[],label:d&&o[g]?o[g].label:void 0});var y=o[g],b=this.yData[f];0<=b?y.posTotal+=b:y.negTotal+=b;var v=r.data[f];g=y.absolutePos=y.posTotal;var m=y.absoluteNeg=y.negTotal;y.stackTotal=g+m;var x=y.stackState.length;v&&v.isIntermediateSum?(t(i,e,0,i),i=e,e=a,n^=h,n^=h^=n):v&&v.isSum?(t(a,u,x,0),n=a):(t(n,b,0,u),v&&(u+=b,e+=b)),y.stateIndex++,y.threshold=n,n+=y.stackTotal}s.changed=!1,s.alreadyChanged||(s.alreadyChanged=[]),s.alreadyChanged.push(l)}},e.prototype.getExtremes=function(){var t=this.options.stacking;if(t){var e=this.yAxis;e=e.waterfall.stacks;var i=this.stackedYNeg=[],o=this.stackedYPos=[];return g(e[this.stackKey],"overlap"===t?function(t){i.push(c(t.stackState)),o.push(p(t.stackState))}:function(t){i.push(t.negTotal+t.threshold),o.push(t.posTotal+t.threshold)}),{dataMin:c(i),dataMax:p(o)}}return{dataMin:this.dataMin,dataMax:this.dataMax}},e.defaultOptions=f(h.defaultOptions,{dataLabels:{inside:!0},lineWidth:1,lineColor:"#333333",dashStyle:"Dot",borderColor:"#333333",states:{hover:{lineWidthPlus:0}}}),e}(h),n(o.prototype,{getZonesGraphs:l.prototype.getZonesGraphs,pointValKey:"y",showLine:!0,pointClass:s}),i.registerSeriesType("waterfall",o),r.compose(t,e),o})),e(t,"Core/Axis/RadialAxis.js",[t["Core/Axis/AxisDefaults.js"],t["Core/Defaults.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e,i,o){var r,s=e.defaultOptions,a=i.noop,n=o.addEvent,h=o.correctFloat,l=o.defined,p=o.extend,c=o.fireEvent,u=o.merge,d=o.pick,f=o.relativeLength,g=o.wrap;return function(e){function i(){this.autoConnect=this.isCircular&&void 0===d(this.userMax,this.options.max)&&h(this.endAngleRad-this.startAngleRad)===h(2*Math.PI),!this.isCircular&&this.chart.inverted&&this.max++,this.autoConnect&&(this.max+=(this.categories?1:this.pointRange)||this.closestPointRange||0)}function o(){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 r(){return a}function y(t,e,i){var o=this.pane.center,r=t.value;if(this.isCircular){if(l(r))t.point&&(s=t.point.shapeArgs||{}).start&&(r=this.chart.inverted?this.translate(t.point.rectPlotY,!0):t.point.x);else{var s=t.chartX||0,a=t.chartY||0;r=this.translate(Math.atan2(a-i,s-e)-this.startAngleRad,!0)}s=(t=this.getPosition(r)).x,a=t.y}
1else l(r)||(s=t.chartX,a=t.chartY),l(s)&&l(a)&&(i=o[1]+this.chart.plotTop,r=this.translate(Math.min(Math.sqrt(Math.pow(s-e,2)+Math.pow(a-i,2)),o[2]/2)-o[3]/2,!0));return[r,s||0,a||0]}function b(t,e,i){t=this.pane.center;var o=this.chart,r=this.left||0,s=this.top||0,a=d(e,t[2]/2-this.offset);return void 0===i&&(i=this.horiz?0:this.center&&-this.center[3]/2),i&&(a+=i),this.isCircular||void 0!==e?((e=this.chart.renderer.symbols.arc(r+t[0],s+t[1],a,a,{start:this.startAngleRad,end:this.endAngleRad,open:!0,innerR:0})).xBounds=[r+t[0]],e.yBounds=[s+t[1]-a]):(e=this.postTranslate(this.angleRad,a),e=[["M",this.center[0]+o.plotLeft,this.center[1]+o.plotTop],["L",e.x,e.y]]),e}function v(){this.constructor.prototype.getOffset.call(this),this.chart.axisOffset[this.side]=0}function m(t,e,i){var o=this.chart,r=function(t){if("string"==typeof t){var e=parseInt(t,10);return c.test(t)&&(e=e*n/100),e}return t},s=this.center,a=this.startAngleRad,n=s[2]/2,h=Math.min(this.offset,0),l=this.left||0,p=this.top||0,c=/%$/,u=this.isCircular,f=d(r(i.outerRadius),n),g=r(i.innerRadius);if(r=d(r(i.thickness),10),"polygon"===this.options.gridLineInterpolation)h=this.getPlotLinePath({value:t}).concat(this.getPlotLinePath({value:e,reverse:!0}));else{if(t=Math.max(t,this.min),e=Math.min(e,this.max),t=this.translate(t),e=this.translate(e),u||(f=t||0,g=e||0),"circle"!==i.shape&&u)i=a+(t||0),a+=e||0;else{i=-Math.PI/2,a=1.5*Math.PI;var y=!0}f-=h,h=o.renderer.symbols.arc(l+s[0],p+s[1],f,f,{start:Math.min(i,a),end:Math.max(i,a),innerR:d(g,f-(r-h)),open:y}),u&&(u=(a+i)/2,l=l+s[0]+s[2]/2*Math.cos(u),h.xBounds=u>-Math.PI/2&&u<Math.PI/2?[l,o.plotWidth]:[0,l],h.yBounds=[p+s[1]+s[2]/2*Math.sin(u)],h.yBounds[0]+=u>-Math.PI&&0>u||u>Math.PI?-10:10)}return h}function x(t){var e=this,i=this.pane.center,o=this.chart,r=o.inverted,s=t.reverse,a=this.pane.options.background?this.pane.options.background[0]||this.pane.options.background:{},n=a.innerRadius||"0%",h=a.outerRadius||"100%",l=i[0]+o.plotLeft,p=i[1]+o.plotTop,c=this.height,u=t.isCrosshair;a=i[3]/2;var d,g=t.value,y=this.getPosition(g),b=y.x;if(y=y.y,u&&(g=(y=this.getCrosshairPosition(t,l,p))[0],b=y[1],y=y[2]),this.isCircular)g=Math.sqrt(Math.pow(b-l,2)+Math.pow(y-p,2)),s="string"==typeof n?f(n,1):n/g,o="string"==typeof h?f(h,1):h/g,i&&a&&(s<(a/=g)&&(s=a),o<a&&(o=a)),i=[["M",l+s*(b-l),p-s*(p-y)],["L",b-(1-o)*(b-l),y+(1-o)*(p-y)]];else if((g=this.translate(g))&&(0>g||g>c)&&(g=0),"circle"===this.options.gridLineInterpolation)i=this.getLinePath(0,g,a);else if(i=[],o[r?"yAxis":"xAxis"].forEach((function(t){t.pane===e.pane&&(d=t)})),d)for(l=d.tickPositions,d.autoConnect&&(l=l.concat([l[0]])),s&&(l=l.slice().reverse()),g&&(g+=a),p=0;p<l.length;p++)a=d.getPosition(l[p],g),i.push(p?["L",a.x,a.y]:["M",a.x,a.y]);return i}function P(t,e){return t=this.translate(t),this.postTranslate(this.isCircular?t:this.angleRad,d(this.isCircular?e:0>t?0:t,this.center[2]/2)-this.offset)}function S(){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 M(t){t.beforeSetTickPositions=i,t.createLabelCollector=o,t.getCrosshairPosition=y,t.getLinePath=b,t.getOffset=v,t.getPlotBandPath=m,t.getPlotLinePath=x,t.getPosition=P,t.getTitlePosition=S,t.postTranslate=O,t.setAxisSize=_,t.setAxisTranslation=j,t.setOptions=Y}function k(){var t=this.chart,e=this.options,i=this.pane,o=i&&i.options;t.angular&&this.isXAxis||!i||!t.angular&&!t.polar||(t=2*Math.PI,i=(d(o.startAngle,0)-90)*Math.PI/180,o=(d(o.endAngle,d(o.startAngle,0)+360)-90)*Math.PI/180,this.angleRad=(e.angle||0)*Math.PI/180,this.startAngleRad=i,this.endAngleRad=o,this.offset=e.offset||0,o=(o%t+t)%t,(e=(i%t+t)%t)>Math.PI&&(e-=t),o>Math.PI&&(o-=t),this.normalizedStartAngleRad=e,this.normalizedEndAngleRad=o)}function w(t){this.isRadial&&(t.align=void 0,t.preventDefault())}function L(){if(this.chart&&this.chart.labelCollectors){var t=this.labelCollector?this.chart.labelCollectors.indexOf(this.labelCollector):-1;0<=t&&this.chart.labelCollectors.splice(t,1)}}function C(e){var i,o=this.chart,s=o.inverted,n=o.angular,h=o.polar,l=this.isXAxis,p=this.coll,c=n&&l;e=e.userOptions.pane||0,e=this.pane=o.pane&&o.pane[e],"colorAxis"===p?this.isRadial=!1:(n?(c?(this.isHidden=!0,this.createLabelCollector=r,this.getOffset=a,this.render=this.redraw=X,this.setTitle=this.setCategories=this.setScale=a):M(this),(i=!l)&&(this.defaultPolarOptions=D)):h&&(M(this),this.defaultPolarOptions=(i=this.horiz)?E:u("xAxis"===p?t.defaultXAxisOptions:t.defaultYAxisOptions,z),s&&"yAxis"===p&&(this.defaultPolarOptions.stackLabels=t.defaultYAxisOptions.stackLabels,this.defaultPolarOptions.reversedStacks=!0)),n||h?(this.isRadial=!0,this.labelCollector||(this.labelCollector=this.createLabelCollector()),this.labelCollector&&o.labelCollectors.push(this.labelCollector)):this.isRadial=!1,e&&i&&(e.axis=this),this.isCircular=i)}function A(){this.isRadial&&this.beforeSetTickPositions()}function N(t){var e=this.label;if(e){var i=this.axis,o=e.getBBox(),r=i.options.labels,s=(i.translate(this.pos)+i.startAngleRad+Math.PI/2)/Math.PI*180%360,a=Math.round(s),n=l(r.y)?0:.3*-o.height,h=r.y,p=20,c=r.align,u="end",g=0>a?a+360:a,y=g,b=0,v=0;if(i.isRadial){var m=i.getPosition(this.pos,i.center[2]/2+f(d(r.distance,-25),i.center[2]/2,-i.center[2]/2));"auto"===r.rotation?e.attr({rotation:s}):l(h)||(h=i.chart.renderer.fontMetrics(e.styles&&e.styles.fontSize).b-o.height/2),l(c)||(i.isCircular?(o.width>i.len*i.tickInterval/(i.max-i.min)&&(p=0),c=s>p&&s<180-p?"left":s>
1180+p&&s<360-p?"right":"center"):c="center",e.attr({align:c})),"auto"===c&&2===i.tickPositions.length&&i.isCircular&&(90<g&&180>g?g=180-g:270<g&&360>=g&&(g=540-g),180<y&&360>=y&&(y=360-y),i.pane.options.startAngle!==a&&i.pane.options.startAngle!==a+360&&i.pane.options.startAngle!==a-360||(u="start"),c=-90<=a&&90>=a||-360<=a&&-270>=a||270<=a&&360>=a?"start"===u?"right":"left":"start"===u?"left":"right",70<y&&110>y&&(c="center"),15>g||180<=g&&195>g?b=.3*o.height:15<=g&&35>=g?b="start"===u?0:.75*o.height:195<=g&&215>=g?b="start"===u?.75*o.height:0:35<g&&90>=g?b="start"===u?.25*-o.height:o.height:215<g&&270>=g&&(b="start"===u?o.height:.25*-o.height),15>y?v="start"===u?.15*-o.height:.15*o.height:165<y&&180>=y&&(v="start"===u?.15*o.height:.15*-o.height),e.attr({align:c}),e.translate(v,b+n)),t.pos.x=m.x+(r.x||0),t.pos.y=m.y+(h||0)}}}function T(t){this.axis.getPosition&&p(t.pos,this.axis.getPosition(this.pos))}function O(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 X(){this.isDirty=!1}function _(){if(this.constructor.prototype.setAxisSize.call(this),this.isRadial){this.pane.updateCenter(this);var t=this.center=this.pane.center.slice();if(this.isCircular)this.sector=this.endAngleRad-this.startAngleRad;else{var 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])*d(this.sector,1)/2}}function j(){this.constructor.prototype.setAxisTranslation.call(this),this.center&&(this.transA=this.isCircular?(this.endAngleRad-this.startAngleRad)/(this.max-this.min||1):(this.center[2]-this.center[3])/2/(this.max-this.min||1),this.minPixelPadding=this.isXAxis?this.transA*this.minPointOffset:0)}function Y(t){(t=this.options=u(this.constructor.defaultOptions,this.defaultPolarOptions,s[this.coll],t)).plotBands||(t.plotBands=[]),c(this,"afterSetOptions")}function R(t,e,i,o,r,s,a){var n=this.axis;return n.isRadial?["M",e,i,"L",(t=n.getPosition(this.pos,n.center[2]/2+o)).x,t.y]:t.call(this,e,i,o,r,s,a)}var I=[],E={gridLineWidth:1,labels:{align:void 0,distance:15,x:0,y:void 0,style:{textOverflow:"none"}},maxPadding:0,minPadding:0,showLastLabel:!1,tickLength:0},D={labels:{align:"center",x:0,y:void 0},minorGridLineWidth:0,minorTickInterval:"auto",minorTickLength:10,minorTickPosition:"inside",minorTickWidth:1,tickLength:10,tickPosition:"inside",tickWidth:2,title:{rotation:0},zIndex:2},z={gridLineInterpolation:"circle",gridLineWidth:1,labels:{align:"right",x:-3,y:-2},showLastLabel:!1,title:{x:4,text:null,rotation:90}};e.compose=function(t,e){return-1===I.indexOf(t)&&(I.push(t),n(t,"afterInit",k),n(t,"autoLabelAlign",w),n(t,"destroy",L),n(t,"init",C),n(t,"initialAxisTranslation",A)),-1===I.indexOf(e)&&(I.push(e),n(e,"afterGetLabelPosition",N),n(e,"afterGetPosition",T),g(e.prototype,"getMarkPath",R)),t}}(r||(r={})),r})),e(t,"Series/PolarComposition.js",[t["Core/Animation/AnimationUtilities.js"],t["Core/Globals.js"],t["Extensions/Pane.js"],t["Core/Axis/RadialAxis.js"],t["Core/Utilities.js"]],(function(t,e,i,o,r){function s(t,e,i,o){var r=o?1:0,a=0<=e&&e<=t.length-1?e:0>e?t.length-1+e:0,n=t[e=0>a-1?t.length-(1+r):a-1];r=t[a+1>t.length-1?r:a+1];var h=n.plotY,l=r.plotX,p=r.plotY;r=t[a].plotX,a=t[a].plotY,n=(1.5*r+n.plotX)/2.5,h=(1.5*a+h)/2.5,l=(1.5*r+l)/2.5;var c=(1.5*a+p)/2.5;p=Math.sqrt(Math.pow(n-r,2)+Math.pow(h-a,2));var u=Math.sqrt(Math.pow(l-r,2)+Math.pow(c-a,2));return n=Math.atan2(h-a,n-r),c=Math.PI/2+(n+Math.atan2(c-a,l-r))/2,Math.abs(n-c)>Math.PI/2&&(c-=Math.PI),n=r+Math.cos(c)*p,h=a+Math.sin(c)*p,r={rightContX:l=r+Math.cos(Math.PI+c)*u,rightContY:c=a+Math.sin(Math.PI+c)*u,leftContX:n,leftContY:h,plotX:r,plotY:a},i&&(r.prevPointCont=s(t,e,!1,o)),r}function a(){(this.pane||[]).forEach((function(t){t.render()}))}function n(t){var e=t.args[0].xAxis,i=t.args[0].yAxis;t=t.args[0].chart,e&&i&&("polygon"===i.gridLineInterpolation?(e.startOnTick=!0,e.endOnTick=!0):"polygon"===e.gridLineInterpolation&&t.inverted&&(i.startOnTick=!0,i.endOnTick=!0))}function h(){var t=this;this.pane||(this.pane=[]),this.options.pane=T(this.options.pane),this.options.pane.forEach((function(e){new i(e,t)}),this)}function l(t){var e=t.args.marker,i=this.chart.xAxis[0],o=this.chart.yAxis[0],r=this.chart.inverted,s=r?o:i;if(i=r?i:o,this.chart.polar){t.preventDefault(),o=(e.attr?e.attr("start"):e.start)-s.startAngleRad,r=e.attr?e.attr("r"):e.r;var a=(e.attr?e.attr("end"):e.end)-s.startAngleRad;e=e.attr?e.attr("innerR"):e.innerR,t.result.x=o+s.pos,t.result.width=a-o,t.result.y=i.len+i.pos-e,t.result.height=e-r}}function p(t){var e=this.chart;if(e.polar&&e.hoverPane&&e.hoverPane.axis){t.preventDefault();var i=e.hoverPane.center,o=this.mouseDownX||0,r=this.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=0<h?l-h:Math.abs(h)+Math.abs(l),g=Math.atan2(r-e.plotTop-i[1],o-e.plotLeft-i[0])-h,y=Math.atan2(s-e.plotTop-i[1],a-e.plotLeft-i[0])-h;c.r=i[2]/2,c.innerR=i[3]/2,0>=g&&(g+=n),0>=y&&(y+=n),y<g&&(y=[g,g=y][0]),d<n&&h+y>l+(n-d)/2&&(y=g,g=0>=h?h:0),n=c.start=Math.max(g+h,h),g=c.end=Math.min(y+h,l),"polygon"===p.options.gridLineInterpolation&&(d=n-(y=e.hoverPane.axis).startAngleRad+y.pos,g-=n,u=p.getPlotLinePath({value:p.max}),n=y.toValue(d),d=y.toValue(d+g),n<y.getExtremes().min&&(n=(g=y.getExtremes()).max-(g.min-n)),d<y.getExtremes().min&&(d=(g=y.getExtremes()).max-(g.min-d)),d<n&&(d=[n,n=d][0]),(u=f(u,n,d,y)).push(["L",i[0]+e.plotLeft,e.plotTop+i[1]]),c.d=u,u="path")}this.zoomVert&&(y=e.inverted?e.xAxis[0]:e.yAxis[0],o=Math.sqrt(Math.pow(o-e.plotLeft-i[0],2)+Math.pow(r-e.plotTop-i[1],2)),(s=Math.sqrt(Math.pow(a-e.plotLeft-i[0],2)+Math.pow(s-e.plotTop-i[1],2)))<o&&(o=[s,s=o][0]),s>i[2]/2&&(s=i[2]/2),o<i[3]/2&&(o=i[3]/2),this.zoomHor||(c.start=h,c.end=l),c.r=s,c.innerR=o,"polygon"===y.options.gridLineInterpolation&&(g=y.toValue(y.len+y.pos-o),n=y.toValue(y.len+y.pos-s),u=y.getPlotLinePath({value:n}).concat(y.getPlotLinePath({value:g,reverse:!0})),c.d=u,u="path")),this.zoomHor&&this.zoomVert&&"polygon"===p.options.gridLineInterpolation&&(y=e.hoverPane.axis,n=c.start||0,g=c.end||0,d=n-y.startAngleRad+y.pos,g-=n,n=y.toValue(d),d=y.toValue(d+g),c.d instanceof Array&&(i=c.d.slice(0,c.d.length/2),h=c.d.slice(c.d.length/2,c.d.length),h=M([],h,!0).reverse(),i=f(i,n,d,e=e.hoverPane.axis),(h=f(h,n,d,e))&&(h[0][0]="L"),h=M([],h,!0).reverse(),c.d=i.concat(h),u="path")),t.attrs=c,t.shapeType=u}}function c(){var t=this.chart;t.polar&&(this.polar=new j(this),t.inverted&&(this.isRadialSeries=!0,this.is("column")&&(this.isRadialBar=!0)))}function u(){if(this.chart.polar&&this.xAxis){var t=this.chart;
1(this.kdByAngle=t.tooltip&&t.tooltip.shared)?this.searchPoint=d:this.options.findNearestPointBy="xy";for(var i=this.points,o=i.length;o--;)this.preventPostTranslate||this.polar.toXY(i[o]),t.hasParallelCoordinates||this.yAxis.reversed||(N(i[o].y,Number.MIN_VALUE)<this.yAxis.min||i[o].x<this.xAxis.min||i[o].x>this.xAxis.max?(i[o].isNull=!0,i[o].plotY=NaN):i[o].isNull=i[o].isValid&&!i[o].isValid());this.hasClipCircleSetter||(this.hasClipCircleSetter=!!this.eventsToUnbind.push(w(this,"afterRender",(function(){if(t.polar){var i=this.yAxis.pane.center;if(this.clipCircle)this.clipCircle.animate({x:i[0],y:i[1],r:i[2]/2,innerR:i[3]/2});else{var o=t.renderer,r=i[0],s=i[1],a=i[2]/2,n=i[3]/2;i=O();var h=o.createElement("clipPath").attr({id:i}).add(o.defs);(o=n?o.arc(r,s,a,n,0,2*Math.PI).add(h):o.circle(r,s,a).add(h)).id=i,o.clipPath=h,this.clipCircle=o}this.group.clip(this.clipCircle),this.setClip=e.noop}}))))}}function d(t){var e=this.chart,i=this.xAxis;return i=i.pane&&i.pane.center,this.searchKDTree({clientX:180+-180/Math.PI*Math.atan2(t.chartX-(i&&i[0]||0)-e.plotLeft,t.chartY-(i&&i[1]||0)-e.plotTop)})}function f(t,e,i,o){var r=o.tickInterval;o=o.tickPositions;var s=C(o,(function(t){return t>=i})),a=C(M([],o,!0).reverse(),(function(t){return t<=e}));return L(s)||(s=o[o.length-1]),L(a)||(a=o[0],s+=r,t[0][0]="L",t.unshift(t[t.length-3])),(t=t.slice(o.indexOf(a),o.indexOf(s)+1))[0][0]="M",t}function g(t,e){return C(this.pane||[],(function(t){return t.options.id===e}))||t.call(this,e)}function y(t,e,i,o,r,s){var a=this.chart,n=N(o.inside,!!this.options.stacking);a.polar?(t=e.rectPlotX/Math.PI*180,a.inverted?(this.forceDL=a.isInsidePlot(e.plotX,e.plotY),n&&e.shapeArgs?(r=e.shapeArgs,r={x:(r=this.yAxis.postTranslate(((r.start||0)+(r.end||0))/2-this.xAxis.startAngleRad,e.barX+e.pointWidth/2)).x-a.plotLeft,y:r.y-a.plotTop}):e.tooltipPos&&(r={x:e.tooltipPos[0],y:e.tooltipPos[1]}),o.align=N(o.align,"center"),o.verticalAlign=N(o.verticalAlign,"middle")):(null===o.align&&(o.align=20<t&&160>t?"left":200<t&&340>t?"right":"center"),null===o.verticalAlign&&(o.verticalAlign=45>t||315<t?"bottom":135<t&&225>t?"top":"middle")),Object.getPrototypeOf(Object.getPrototypeOf(this)).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 b(t){var e=this.options,i=e.stacking,o=this.chart,s=this.xAxis,a=this.yAxis,n=a.reversed,h=a.center,l=s.startAngleRad,p=s.endAngleRad-l,c=0,u=0,d=0;if(this.preventPostTranslate=!0,t.call(this),s.isRadial){s=(t=this.points).length;var f=a.translate(a.min),g=a.translate(a.max);for(e=e.threshold||0,o.inverted&&A(e)&&(c=a.translate(e),L(c)&&(0>c?c=0:c>p&&(c=p),this.translatedThreshold=c+l));s--;){var y=(e=t[s]).barX,b=e.x,v=e.y;e.shapeType="arc",o.inverted?(e.plotY=a.translate(v),i&&a.stacking?(v=a.stacking.stacks[(0>v?"-":"")+this.stackKey],this.visible&&v&&v[b]&&!e.isNull&&(d=v[b].points[this.getStackIndicator(void 0,b,this.index).key],u=a.translate(d[0]),d=a.translate(d[1]),L(u)&&(u=r.clamp(u,0,p)))):(u=c,d=e.plotY),u>d&&(d=[u,u=d][0]),n?d>f?d=f:u<g?u=g:(u>f||d<g)&&(u=d=p):u<f?u=f:d>g?d=g:(d<f||u>g)&&(u=d=0),a.min>a.max&&(u=d=n?p:0),u+=l,d+=l,h&&(e.barX=y+=h[3]/2),b=Math.max(y,0),v=Math.max(y+e.pointWidth,0),e.shapeArgs={x:h&&h[0],y:h&&h[1],r:v,innerR:b,start:u,end:d},e.opacity=u===d?0:void 0,e.plotY=(L(this.translatedThreshold)&&(u<this.translatedThreshold?u:d))-l):(u=y+l,e.shapeArgs=this.polar.arc(e.yBottom,e.plotY,u,u+e.pointWidth)),this.polar.toXY(e),o.inverted?(y=a.postTranslate(e.rectPlotY,y+e.pointWidth/2),e.tooltipPos=[y.x-o.plotLeft,y.y-o.plotTop]):e.tooltipPos=[e.plotX,e.plotY],h&&(e.ttBelow=e.plotY>h[1])}}}function v(t,e){var i=this;if(this.chart.polar){e=e||this.points;for(var o=0;o<e.length;o++)if(!e[o].isNull){var r=o;break}if(!1!==this.options.connectEnds&&void 0!==r){this.connectEnds=!0,e.splice(e.length,0,e[r]);var s=!0}e.forEach((function(t){void 0===t.polarPlotY&&i.polar.toXY(t)}))}return r=t.apply(this,[].slice.call(arguments,1)),s&&e.pop(),r}function m(t,e){var i=this.chart,o={xAxis:[],yAxis:[]};
1return 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;s=e.chartY-s[1]-i.plotTop,o[r?"xAxis":"yAxis"].push({axis:t,value:t.translate(r?Math.PI-Math.atan2(a,s):Math.sqrt(Math.pow(a,2)+Math.pow(s,2)),!0)})}})):o=t.call(this,e),o}function x(t,e){this.chart.polar||t.call(this,e)}function P(t,i){var o,r,s,a,n=this,h=this.chart,l=this.group,p=this.markerGroup,c=this.xAxis&&this.xAxis.center,u=h.plotLeft,d=h.plotTop,f=this.options.animation;if(h.polar){if(n.isRadialBar)i||(n.startAngleRad=N(n.translatedThreshold,n.xAxis.startAngleRad),e.seriesTypes.pie.prototype.animate.call(n,i));else if(h.renderer.isSVG)if(f=k(f),n.is("column")){if(!i){var g=c[3]/2;n.points.forEach((function(t){o=t.graphic,s=(r=t.shapeArgs)&&r.r,a=r&&r.innerR,o&&r&&(o.attr({r:g,innerR:g}),o.animate({r:s,innerR:a},n.options.animation))}))}}else i?(t={translateX:c[0]+u,translateY:c[1]+d,scaleX:.001,scaleY:.001},l.attr(t),p&&p.attr(t)):(t={translateX:u,translateY:d,scaleX:1,scaleY:1},l.animate(t,f),p&&p.animate(t,f))}else t.call(this,i)}function S(t,e,i,o){return this.chart.polar?o?(e=(t=s(e,o,!0,this.connectEnds)).prevPointCont&&t.prevPointCont.rightContX,i=t.prevPointCont&&t.prevPointCont.rightContY,t=["C",A(e)?e:t.plotX,A(i)?i:t.plotY,A(t.leftContX)?t.leftContX:t.plotX,A(t.leftContY)?t.leftContY:t.plotY,t.plotX,t.plotY]):t=["M",i.plotX,i.plotY]:t=t.call(this,e,i,o),t}var M=this&&this.__spreadArray||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))},k=t.animObject,w=r.addEvent,L=r.defined,C=r.find,A=r.isNumber,N=r.pick,T=r.splat,O=r.uniqueKey,X=r.wrap,_=[],j=function(){function t(t){this.series=t}return t.compose=function(t,e,i,r,s,d,f,M,k){o.compose(t,s),-1===_.indexOf(e)&&(_.push(e),w(e,"afterDrawChartBox",a),w(e,"getAxes",h),w(e,"init",n),X(e.prototype,"get",g)),-1===_.indexOf(i)&&(_.push(i),t=i.prototype,X(t,"getCoordinates",m),X(t,"pinch",x),w(i,"getSelectionMarkerAttrs",p),w(i,"getSelectionBox",l)),-1===_.indexOf(r)&&(_.push(r),w(r,"afterInit",c),w(r,"afterTranslate",u,{order:2}),X(r.prototype,"animate",P)),f&&-1===_.indexOf(f)&&(_.push(f),i=f.prototype,X(i,"alignDataLabel",y),X(i,"animate",P),X(i,"translate",b)),M&&-1===_.indexOf(M)&&(_.push(M),X(M.prototype,"getGraphPath",v)),k&&-1===_.indexOf(k)&&(_.push(k),M=k.prototype,X(M,"getPointSpline",S),d&&-1===_.indexOf(d)&&(_.push(d),d.prototype.getPointSpline=M.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;return e=a-e+n,t=a-N(t,a)+n,r.yAxis.reversed&&(0>e&&(e=n),0>t&&(t=n)),{x:s[0],y:s[1],r:e,innerR:t,start:i,end:o}},t.prototype.toXY=function(t){var e=this.series,i=e.chart,o=e.xAxis,r=e.yAxis,s=t.plotX,a=i.inverted,n=t.y,h=t.plotY,l=a?s:r.len-h;a&&e&&!e.isRadialBar&&(t.plotY=h=A(n)?r.translate(n):0),t.rectPlotX=s,t.rectPlotY=h,r.center&&(l+=r.center[3]/2),A(h)&&(r=a?r.postTranslate(h,l):o.postTranslate(s,l),t.plotX=t.polarPlotX=r.x-i.plotLeft,t.plotY=t.polarPlotY=r.y-i.plotTop),e.kdByAngle?(0>(e=(s/Math.PI*180+o.pane.options.startAngle)%360)&&(e+=360),t.clientX=e):t.clientX=t.plotX},t}();return j})),e(t,"masters/highcharts-more.src.js",[t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Series/Bubble/BubbleSeries.js"],t["Series/PackedBubble/PackedBubbleSeries.js"],t["Series/PolarComposition.js"]],(function(t,e,i,o,r){i.compose(t.Axis,t.Chart,t.Legend,t.Series),o.compose(t.Axis,t.Chart,t.Legend,t.Series),r.compose(t.Axis,t.Chart,t.Pointer,t.Series,t.Tick,e.seriesTypes.areasplinerange,e.seriesTypes.column,e.seriesTypes.line,e.seriesTypes.spline)}))},t.exports?(s.default=s,t.exports=s):(o=[i(14783)],void 0===(r=function(t){return s(t),s.Highcharts=t,s}.apply(e,o))||(t.exports=r))}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.