!/**
 * Highcharts JS v12.5.0 (2026-01-12)
 * @module highcharts/modules/histogram-bellcurve
 * @requires highcharts
 *
 * (c) 2010-2026 Highsoft AS
 * Author: Sebastian Domas
 *
 * A commercial license may be required depending on use.
 * See www.highcharts.com/license
 */function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("highcharts"),require("highcharts").Series,require("highcharts").SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/modules/histogram-bellcurve",[["highcharts/highcharts"],["highcharts/highcharts","Series"],["highcharts/highcharts","SeriesRegistry"]],e):"object"==typeof exports?exports["highcharts/modules/histogram-bellcurve"]=e(require("highcharts"),require("highcharts").Series,require("highcharts").SeriesRegistry):t.Highcharts=e(t.Highcharts,t.Highcharts.Series,t.Highcharts.SeriesRegistry)}(this,function(t,e,r){return function(){"use strict";var n,i,o,s={512:function(t){t.exports=r},820:function(t){t.exports=e},944:function(e){e.exports=t}},a={};function u(t){var e=a[t];if(void 0!==e)return e.exports;var r=a[t]={exports:{}};return s[t](r,r.exports,u),r.exports}u.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return u.d(e,{a:e}),e},u.d=function(t,e){for(var r in e)u.o(e,r)&&!u.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},u.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)};var h={};u.d(h,{default:function(){return C}});var c=u(944),p=u.n(c),l=u(820),f=u.n(l),d=p().noop,v=p().addEvent,y=p().defined;!function(t){function e(){f().prototype.init.apply(this,arguments),this.initialised=!1,this.baseSeries=null,this.eventRemovers=[],this.addEvents()}function r(){var t=this.chart,e=this.options.baseSeries,r=y(e)&&(t.series[e]||t.get(e));this.baseSeries=r||null}function n(){var t=this;this.eventRemovers.push(v(this.chart,"afterLinkSeries",function(){t.setBaseSeries(),t.baseSeries&&!t.initialised&&(t.setDerivedData(),t.addBaseSeriesEvents(),t.initialised=!0)}))}function i(){var t=this;this.eventRemovers.push(v(this.baseSeries,"updatedData",function(){t.setDerivedData()}),v(this.baseSeries,"destroy",function(){t.baseSeries=null,t.initialised=!1}))}function o(){this.eventRemovers.forEach(function(t){t()}),f().prototype.destroy.apply(this,arguments)}t.hasDerivedData=!0,t.setDerivedData=d,t.compose=function(t){var s=t.prototype;return s.addBaseSeriesEvents=i,s.addEvents=n,s.destroy=o,s.init=e,s.setBaseSeries=r,t},t.init=e,t.setBaseSeries=r,t.addEvents=n,t.addBaseSeriesEvents=i,t.destroy=o}(o||(o={}));var g=o,b={binsNumber:"square-root",binWidth:void 0,pointPadding:0,groupPadding:0,grouping:!1,pointPlacement:"between",tooltip:{headerFormat:"",pointFormat:'<span style="font-size: 0.8em">{point.x} - {point.x2}</span><br/><span style="color:{point.color}">●</span> {series.name} <b>{point.y}</b><br/>'}},m=u(512),D=u.n(m),S=(n=function(t,e){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),x=D().seriesTypes.column,O=p().arrayMax,M=p().arrayMin,_=p().correctFloat,q=p().isNumber,j=p().merge,E={"square-root":function(t){return Math.ceil(Math.sqrt(t.length))},sturges:function(t){return Math.ceil(Math.log(t.length)*Math.LOG2E)},rice:function(t){return Math.ceil(2*Math.pow(t.length,1/3))}},P=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return S(e,t),e.prototype.binsNumber=function(t){var e=this.options.binsNumber,r=E[e]||"function"==typeof e&&e;return Math.ceil(r&&r(t)||(q(e)?e:E["square-root"](t)))},e.prototype.setData=function(e,r,n,i){var o;void 0===r&&(r=!0),void 0!==e&&e.length>0&&(o=this.derivedData(e.filter(q),this.binsNumber(e),this.options.binWidth)),t.prototype.setData.call(this,o,r,n,i)},e.prototype.derivedData=function(t,e,r){var n,i,o=_(O(t)),s=_(M(t)),a=[],u={},h=[];for(r=this.binWidth=_(q(r)?r||1:(o-s)/e),this.options.pointRange=Math.max(r,0),i=s;i<o&&(this.userOptions.binWidth||_(o-i)>=r||0>=_(_(s+a.length*r)-i));i=_(i+r))a.push(i),u[i]=0;0!==u[s]&&(a.push(s),u[s]=0);for(var c=(n=a.map(function(t){return parseFloat(t)}),function(t){for(var e=1;n[e]<=t;)e++;return n[--e]}),p=0;p<t.length;p++){var l=t[p];u[_(c(l))]++}for(var f=0,d=Object.keys(u);f<d.length;f++){var v=d[f];h.push({x:Number(v),y:u[v],x2:_(Number(v)+r)})}return h.sort(function(t,e){return t.x-e.x}),h[h.length-1].x2=o,h},e.prototype.setDerivedData=function(){var t,e=null==(t=this.baseSeries)?void 0:t.getColumn("y");(null==e?void 0:e.length)?this.setData(e,!1,void 0,!1):this.setData([])},e.defaultOptions=j(x.defaultOptions,b),e}(x);g.compose(P),D().registerSeriesType("histogram",P);var R={intervals:3,pointsInInterval:3,marker:{enabled:!1}},w=(i=function(t,e){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),N=D().seriesTypes.areaspline,B=p().correctFloat,F=p().isNumber,I=p().merge,T=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return w(e,t),e.mean=function(t){var e=t.length,r=t.reduce(function(t,e){return t+e},0);return e>0&&r/e},e.standardDeviation=function(t,r){var n=t.length;r=F(r)?r:e.mean(t);var i=t.reduce(function(t,e){var n=e-r;return t+n*n},0);return n>1&&Math.sqrt(i/(n-1))},e.normalDensity=function(t,e,r){var n=t-e;return Math.exp(-(n*n)/(2*r*r))/(r*Math.sqrt(2*Math.PI))},e.prototype.setData=function(e,r,n,i){var o;void 0===r&&(r=!0),void 0!==e&&e.length>0&&(e=e.filter(F),this.setMean(e),this.setStandardDeviation(e),o=this.derivedData(this.mean||0,this.standardDeviation||0)),t.prototype.setData.call(this,o,r,n,i)},e.prototype.derivedData=function(t,r){for(var n=this.options,i=n.intervals,o=n.pointsInInterval,s=i*o*2+1,a=r/o,u=[],h=t-i*r,c=0;c<s;c++)u.push([h,e.normalDensity(h,t,r)]),h+=a;return u},e.prototype.setDerivedData=function(){var t,e;(null==(t=this.baseSeries)?void 0:t.getColumn("y").length)&&this.setData(null==(e=this.baseSeries)?void 0:e.getColumn("y"),!1,void 0,!1)},e.prototype.setMean=function(t){this.mean=B(e.mean(t||[]))},e.prototype.setStandardDeviation=function(t){this.standardDeviation=B(e.standardDeviation(t||[],this.mean))},e.defaultOptions=I(N.defaultOptions,R),e}(N);g.compose(T),D().registerSeriesType("bellcurve",T);var C=p();return h.default}()});