/**
* Highcharts JS v11.2.0 (2023-10-30)
*
* (c) 2010-2021 Highsoft AS
* Author: Sebastian Domas
*
* License: www.highcharts.com/license
*/!function(e){"object"==typeof module&&module.exports?(e.default=e,module.exports=e):"function"==typeof define&&define.amd?define("highcharts/modules/histogram-bellcurve",["highcharts"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(e){"use strict";var t=e?e._modules:{};function s(e,t,s,i){e.hasOwnProperty(t)||(e[t]=i.apply(null,s),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:t,module:e[t]}})))}s(t,"Series/DerivedComposition.js",[t["Core/Globals.js"],t["Core/Series/Series.js"],t["Core/Utilities.js"]],function(e,t,s){var i;let{noop:r}=e,{addEvent:n,defined:a}=s;return function(e){let i=[];function o(){t.prototype.init.apply(this,arguments),this.initialised=!1,this.baseSeries=null,this.eventRemovers=[],this.addEvents()}function h(){let e=this.chart,t=this.options.baseSeries,s=a(t)&&(e.series[t]||e.get(t));this.baseSeries=s||null}function l(){this.eventRemovers.push(n(this.chart,"afterLinkSeries",()=>{this.setBaseSeries(),this.baseSeries&&!this.initialised&&(this.setDerivedData(),this.addBaseSeriesEvents(),this.initialised=!0)}))}function u(){this.eventRemovers.push(n(this.baseSeries,"updatedData",()=>{this.setDerivedData()}),n(this.baseSeries,"destroy",()=>{this.baseSeries=null,this.initialised=!1}))}function d(){this.eventRemovers.forEach(e=>{e()}),t.prototype.destroy.apply(this,arguments)}e.hasDerivedData=!0,e.setDerivedData=r,e.compose=function(e){if(s.pushUnique(i,e)){let t=e.prototype;t.addBaseSeriesEvents=u,t.addEvents=l,t.destroy=d,t.init=o,t.setBaseSeries=h}return e},e.init=o,e.setBaseSeries=h,e.addEvents=l,e.addBaseSeriesEvents=u,e.destroy=d}(i||(i={})),i}),s(t,"Series/Histogram/HistogramSeriesDefaults.js",[],function(){return{binsNumber:"square-root",binWidth:void 0,pointPadding:0,groupPadding:0,grouping:!1,pointPlacement:"between",tooltip:{headerFormat:"",pointFormat:'{point.x} - {point.x2}
● {series.name} {point.y}
'}}}),s(t,"Series/Histogram/HistogramSeries.js",[t["Series/DerivedComposition.js"],t["Series/Histogram/HistogramSeriesDefaults.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(e,t,s,i){let{column:r}=s.seriesTypes,{arrayMax:n,arrayMin:a,correctFloat:o,extend:h,isNumber:l,merge:u,objectEach:d}=i,p={"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))}};class c extends r{constructor(){super(...arguments),this.data=void 0,this.options=void 0,this.points=void 0,this.userOptions=void 0}binsNumber(){let e=this.options.binsNumber,t=p[e]||"function"==typeof e&&e;return Math.ceil(t&&t(this.baseSeries)||(l(e)?e:p["square-root"](this.baseSeries)))}derivedData(e,t,s){var i;let r;let h=o(n(e)),u=o(a(e)),d=[],p={},c=[];for(s=this.binWidth=o(l(s)?s||1:(h-u)/t),this.options.pointRange=Math.max(s,0),r=u;r=s||0>=o(o(u+d.length*s)-r));r=o(r+s))d.push(r),p[r]=0;0!==p[u]&&(d.push(u),p[u]=0);let v=(i=d.map(e=>parseFloat(e)),function(e){let t=1;for(;i[t]<=e;)t++;return i[--t]});for(let t of e)p[o(v(t))]++;for(let e of Object.keys(p))c.push({x:Number(e),y:p[e],x2:o(Number(r)+s)});return c.sort((e,t)=>e.x-t.x),c[c.length-1].x2=h,c}setDerivedData(){let e=this.baseSeries.yData;if(!e.length){this.setData([]);return}let t=this.derivedData(e,this.binsNumber(),this.options.binWidth);this.setData(t,!1)}}return c.defaultOptions=u(r.defaultOptions,t),h(c.prototype,{hasDerivedData:e.hasDerivedData}),e.compose(c),s.registerSeriesType("histogram",c),c}),s(t,"Series/Bellcurve/BellcurveSeriesDefaults.js",[],function(){return{intervals:3,pointsInInterval:3,marker:{enabled:!1}}}),s(t,"Series/Bellcurve/BellcurveSeries.js",[t["Series/Bellcurve/BellcurveSeriesDefaults.js"],t["Series/DerivedComposition.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(e,t,s,i){let{areaspline:r}=s.seriesTypes,{correctFloat:n,isNumber:a,merge:o}=i;class h extends r{constructor(){super(...arguments),this.data=void 0,this.options=void 0,this.points=void 0}static mean(e){let t=e.length,s=e.reduce(function(e,t){return e+t},0);return t>0&&s/t}static standardDeviation(e,t){let s=e.length;t=a(t)?t:h.mean(e);let i=e.reduce((e,s)=>{let i=s-t;return e+i*i},0);return s>1&&Math.sqrt(i/(s-1))}static normalDensity(e,t,s){let i=e-t;return Math.exp(-(i*i)/(2*s*s))/(s*Math.sqrt(2*Math.PI))}derivedData(e,t){let s=this.options,i=s.intervals,r=s.pointsInInterval,n=i*r*2+1,a=t/r,o=[],l=e-i*t;for(let s=0;s