text: !function(t){"object"==typeof module&&module.exports?module.exports=t.default=t:"function"==typeof define&&define.amd?define("highcharts/modules/histogram-bellcurve",["highcharts"],function(e){return t(e),t.Highcharts=e,t}):t("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(e){function t(e,t,i,s){e.hasOwnProperty(t)||(e[t]=s.apply(null,i))}t(e=e?e._modules:{},"mixins/derived-series.js",[e["parts/Globals.js"],e["parts/Utilities.js"]],function(e,t){var i=t.defined,s=e.Series,n=e.addEvent;return{hasDerivedData:!0,init:function(){s.prototype.init.apply(this,arguments),this.initialised=!1,this.baseSeries=null,this.eventRemovers=[],this.addEvents()},setDerivedData:e.noop,setBaseSeries:function(){var e=this.chart,t=this.options.baseSeries;this.baseSeries=i(t)&&(e.series[t]||e.get(t))||null},addEvents:function(){var e=this,t=n(this.chart,"afterLinkSeries",function(){e.setBaseSeries(),e.baseSeries&&!e.initialised&&(e.setDerivedData(),e.addBaseSeriesEvents(),e.initialised=!0)});this.eventRemovers.push(t)},addBaseSeriesEvents:function(){var e=this,t=n(e.baseSeries,"updatedData",function(){e.setDerivedData()}),i=n(e.baseSeries,"destroy",function(){e.baseSeries=null,e.initialised=!1});e.eventRemovers.push(t,i)},destroy:function(){this.eventRemovers.forEach(function(e){e()}),s.prototype.destroy.apply(this,arguments)}}}),t(e,"modules/histogram.src.js",[e["parts/Globals.js"],e["parts/Utilities.js"],e["mixins/derived-series.js"]],function(e,t,i){var d=t.arrayMax,c=t.arrayMin,l=t.isNumber,p=t.objectEach;t=e.seriesType;var v=e.correctFloat;e=e.merge;var s={"square-root":function(e){return Math.ceil(Math.sqrt(e.options.data.length))},sturges:function(e){return Math.ceil(Math.log(e.options.data.length)*Math.LOG2E)},rice:function(e){return Math.ceil(2*Math.pow(e.options.data.length,1/3))}};t("histogram","column",{binsNumber:"square-root",binWidth:void 0,pointPadding:0,groupPadding:0,grouping:!1,pointPlacement:"between",tooltip:{headerFormat:"",pointFormat:'<span style="font-size: 10px">{point.x} - {point.x2}</span><br/><span style="color:{point.color}">●</span> {series.name} <b>{point.y}</b><br/>'}},e(i,{setDerivedData:function(){var e=this.baseSeries.yData;e.length&&(e=this.derivedData(e,this.binsNumber(),this.options.binWidth),this.setData(e,!1))},derivedData:function(e,t,i){var s=d(e),n=v(c(e)),r=[],a={},o=[];for(i=this.binWidth=this.options.pointRange=v(l(i)?i||1:(s-n)/t),t=n;t<s&&(this.userOptions.binWidth||v(s-t)>=i||v(n+r.length*i-t)<=0);t=v(t+i))r.push(t),a[t]=0;0!==a[n]&&(r.push(v(n)),a[v(n)]=0);var u,h=(u=r.map(function(e){return parseFloat(e)}),function(e){for(var t=1;u[t]<=e;)t++;return u[--t]});return e.forEach(function(e){e=v(h(e)),a[e]++}),p(a,function(e,t){o.push({x:Number(t),y:e,x2:v(Number(t)+i)})}),o.sort(function(e,t){return e.x-t.x}),o},binsNumber:function(){var e=this.options.binsNumber,t=s[e]||"function"==typeof e&&e;return Math.ceil(t&&t(this.baseSeries)||(l(e)?e:s["square-root"](this.baseSeries)))}}))}),t(e,"modules/bellcurve.src.js",[e["parts/Globals.js"],e["parts/Utilities.js"],e["mixins/derived-series.js"]],function(e,t,i){function s(e){var t=e.length;return e=e.reduce(function(e,t){return e+t},0),0<t&&e/t}var n=t.isNumber;t=e.seriesType;var r=e.correctFloat;t("bellcurve","areaspline",{intervals:3,pointsInInterval:3,marker:{enabled:!1}},(e=e.merge)(i,{setMean:function(){this.mean=r(s(this.baseSeries.yData))},setStandardDeviation:function(){var e,i,t;this.standardDeviation=r((e=this.baseSeries.yData,i=this.mean,t=e.length,i=n(i)?i:s(e),e=e.reduce(function(e,t){return e+(t-=i)*t},0),1<t&&Math.sqrt(e/(t-1))))},setDerivedData:function(){1<this.baseSeries.yData.length&&(this.setMean(),this.setStandardDeviation(),this.setData(this.derivedData(this.mean,this.standardDeviation),!1))},derivedData:function(e,t){for(var i,s,n=e-(r=this.options.intervals)*t,r=r*(a=this.options.pointsInInterval)*2+1,a=t/a,o=[],u=0;u<r;u++)o.push([n,(i=n,s=t,i-=e,Math.exp(-i*i/(2*s*s))/(s*Math.sqrt(2*Math.PI)))]),n+=a;return o}}))}),t(e,"masters/modules/histogram-bellcurve.src.js",[],function(){})});