!/**
 * Highcharts JS v13.0.0 (2026-06-11)
 * @module highcharts/modules/pareto
 * @requires highcharts
 *
 * Pareto series type for Highcharts
 *
 * (c) 2010-2026 Highsoft AS
 * Author: Sebastian Bochan
 *
 * A commercial license may be required depending on use,
 * see www.highcharts.com/license
 */function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(e._Highcharts,e._Highcharts.Series,e._Highcharts.SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/modules/pareto",["highcharts/highcharts"],function(e){return t(e,e.Series,e.SeriesRegistry)}):"object"==typeof exports?exports["highcharts/modules/pareto"]=t(e._Highcharts,e._Highcharts.Series,e._Highcharts.SeriesRegistry):e.Highcharts=t(e.Highcharts,e.Highcharts.Series,e.Highcharts.SeriesRegistry)}("u"<typeof window?this:window,function(e,t,r){return function(){"use strict";var i,s,n={512:function(e){e.exports=r},820:function(e){e.exports=t},944:function(t){t.exports=e}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}};return n[e](r,r.exports,a),r.exports}a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,{a:t}),t},a.d=function(e,t){for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};var u={};a.d(u,{default:function(){return D}});var c=a(944),h=a.n(c),p=a(820),d=a.n(p),f=h().noop;!function(e){function t(){d().prototype.init.apply(this,arguments),this.initialised=!1,this.baseSeries=null,this.eventRemovers=[],this.addEvents()}function r(){var e=this.chart,t=this.options.baseSeries,r=(0,c.defined)(t)&&(e.series[t]||e.get(t));this.baseSeries=r||null}function i(){var e=this;this.eventRemovers.push((0,c.addEvent)(this.chart,"afterLinkSeries",function(){e.setBaseSeries(),e.baseSeries&&!e.initialised&&(e.setDerivedData(),e.addBaseSeriesEvents(),e.initialised=!0)}))}function s(){var e=this;this.eventRemovers.push((0,c.addEvent)(this.baseSeries,"updatedData",function(){e.setDerivedData()}),(0,c.addEvent)(this.baseSeries,"destroy",function(){e.baseSeries=null,e.initialised=!1}))}function n(){this.eventRemovers.forEach(function(e){e()}),d().prototype.destroy.apply(this,arguments)}e.hasDerivedData=!0,e.setDerivedData=f,e.compose=function(e){var o=e.prototype;return o.addBaseSeriesEvents=s,o.addEvents=i,o.destroy=n,o.init=t,o.setBaseSeries=r,e},e.init=t,e.setBaseSeries=r,e.addEvents=i,e.addBaseSeriesEvents=s,e.destroy=n}(s||(s={}));var v=s,l={zIndex:3},y=a(512),g=a.n(y),S=(i=function(e,t){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),m=g().seriesTypes.line,b=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return S(t,e),t.prototype.sumPointsPercents=function(e,t,r,i){for(var s,n=[],o=0,a=0,u=0,h=0;h<e.length;h++){var p=e[h];null!==p&&(i?a+=p:(s=p/r*100,n.push([t[o],(0,c.correctFloat)(u+s)]),u+=s)),++o}return i?a:n},t.prototype.setDerivedData=function(){var e,t,r=(null==(e=this.baseSeries)?void 0:e.getColumn("x"))||[],i=(null==(t=this.baseSeries)?void 0:t.getColumn("y"))||[],s=this.sumPointsPercents(i,r,null,!0);this.setData(this.sumPointsPercents(i,r,s,!1),!1)},t.defaultOptions=(0,c.merge)(m.defaultOptions,l),t}(m);(0,c.extend)(b.prototype,{hasDerivedData:v.hasDerivedData}),v.compose(b),g().registerSeriesType("pareto",b);var D=h();return u.default}()});