!/**
 * Highcharts JS v12.6.0 (2026-04-13)
 * @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 n,i,o={512:function(e){e.exports=r},820:function(e){e.exports=t},944:function(t){t.exports=e}},s={};function a(e){var t=s[e];if(void 0!==t)return t.exports;var r=s[e]={exports:{}};return o[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 c={};a.d(c,{default:function(){return E}});var u=a(944),f=a.n(u),p=a(820),h=a.n(p),l=function(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))};function v(e,t,r,n){void 0===n&&(n={});var i="function"==typeof e&&e.prototype||e;Object.hasOwnProperty.call(i,"hcEvents")||(i.hcEvents={});var o=i.hcEvents;f().Point&&e instanceof f().Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);var s=e.addEventListener;s&&s.call(e,t,r,!!f().supportsPassiveEvents&&{passive:void 0===n.passive?-1!==t.indexOf("touch"):n.passive,capture:!1}),o[t]||(o[t]=[]);var a={fn:r,order:"number"==typeof n.order?n.order:1/0};return o[t].push(a),o[t].sort(function(e,t){return e.order-t.order}),function(){!function(e,t,r){function n(t,r){var n=e.removeEventListener;n&&n.call(e,t,r,!1)}function i(r){var i,o;e.nodeName&&(t?(i={})[t]=!0:i=r,g(i,function(e,t){if(r[t])for(o=r[t].length;o--;)n(t,r[t][o].fn)}))}var o="function"==typeof e&&e.prototype||e;if(Object.hasOwnProperty.call(o,"hcEvents")){var s=o.hcEvents;if(t){var a=s[t]||[];r?(s[t]=a.filter(function(e){return r!==e.fn}),n(t,r)):(i(s),s[t]=[])}else i(s),delete o.hcEvents}}(e,t,r)}}function d(e){return y(e)&&"number"==typeof e.nodeType}function y(e,t){var r;return!!e&&"object"==typeof e&&(!t||"[object Array]"!==(r=Object.prototype.toString.call(e))&&"[object Array Iterator]"!==r)}function g(e,t,r){for(var n in e)Object.hasOwnProperty.call(e,n)&&t.call(r||e[n],e[n],n,e)}f().doc,f().win,Array.prototype.find;var b=f().noop;!function(e){function t(){h().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=null!=t&&(e.series[t]||e.get(t));this.baseSeries=r||null}function n(){var e=this;this.eventRemovers.push(v(this.chart,"afterLinkSeries",function(){e.setBaseSeries(),e.baseSeries&&!e.initialised&&(e.setDerivedData(),e.addBaseSeriesEvents(),e.initialised=!0)}))}function i(){var e=this;this.eventRemovers.push(v(this.baseSeries,"updatedData",function(){e.setDerivedData()}),v(this.baseSeries,"destroy",function(){e.baseSeries=null,e.initialised=!1}))}function o(){this.eventRemovers.forEach(function(e){e()}),h().prototype.destroy.apply(this,arguments)}e.hasDerivedData=!0,e.setDerivedData=b,e.compose=function(e){var s=e.prototype;return s.addBaseSeriesEvents=i,s.addEvents=n,s.destroy=o,s.init=t,s.setBaseSeries=r,e},e.init=t,e.setBaseSeries=r,e.addEvents=n,e.addBaseSeriesEvents=i,e.destroy=o}(i||(i={}));var S=i,m={zIndex:3},_=a(512),O=a.n(_),P=(n=function(e,t){return(n=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}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),j=O().seriesTypes.line,D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return P(t,e),t.prototype.sumPointsPercents=function(e,t,r,n){for(var i,o=[],s=0,a=0,c=0,u=0;u<e.length;u++){var f,p=e[u];if(null!==p)if(n)a+=p;else{i=p/r*100,o.push([t[s],(f=c+i)>1e14?f:parseFloat(f.toPrecision(14))]),c+=i}++s}return n?a:o},t.prototype.setDerivedData=function(){var e,t,r=(null==(e=this.baseSeries)?void 0:e.getColumn("x"))||[],n=(null==(t=this.baseSeries)?void 0:t.getColumn("y"))||[],i=this.sumPointsPercents(n,r,null,!0);this.setData(this.sumPointsPercents(n,r,i,!1),!1)},t.defaultOptions=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n,i=l([e],t,!0),o={},s=function(e,t){return"object"!=typeof e&&(e={}),g(t,function(r,n){if("__proto__"!==n&&"constructor"!==n){var i;!y(r,!0)||(i=null==r?void 0:r.constructor,y(r,!0)&&!d(r)&&(null==i?void 0:i.name)&&"Object"!==i.name)||d(r)?e[n]=t[n]:e[n]=s(e[n]||{},r)}}),e};!0===e&&(o=i[1],i=Array.prototype.slice.call(i,2));var a=i.length;for(n=0;n<a;n++)o=s(o,i[n]);return o}(j.defaultOptions,m),t}(j);!function(e,t){var r;for(r in e||(e={}),t)e[r]=t[r]}(D.prototype,{hasDerivedData:S.hasDerivedData}),S.compose(D),O().registerSeriesType("pareto",D);var E=f();return c.default}()});