!/**
 * Highcharts JS v12.6.0 (2026-04-13)
 * @module highcharts/modules/parallel-coordinates
 * @requires highcharts
 *
 * Support for parallel coordinates in Highcharts
 *
 * (c) 2010-2026 Highsoft AS
 * Author: Paweł Fus
 *
 * 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(t._Highcharts,t._Highcharts.Templating):"function"==typeof define&&define.amd?define("highcharts/modules/parallel-coordinates",["highcharts/highcharts"],function(t){return e(t,t.Templating)}):"object"==typeof exports?exports["highcharts/modules/parallel-coordinates"]=e(t._Highcharts,t._Highcharts.Templating):t.Highcharts=e(t.Highcharts,t.Highcharts.Templating)}("u"<typeof window?this:window,function(t,e){return function(){"use strict";var r,o,n,i={944:function(e){e.exports=t},984:function(t){t.exports=e}},a={};function s(t){var e=a[t];if(void 0!==e)return e.exports;var r=a[t]={exports:{}};return i[t](r,r.exports,s),r.exports}s.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(e,{a:e}),e},s.d=function(t,e){for(var r in e)s.o(e,r)&&!s.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)};var l={};s.d(l,{default:function(){return L}});var c=s(944),h=s.n(c),p={parallelCoordinates:!1,parallelAxes:{lineWidth:1,title:{text:"",reserveSpace:!1},labels:{x:0,y:4,align:"center",reserveSpace:!1},offset:0}},f={lineWidth:0,tickLength:0,opposite:!0,type:"category"},u=function(t,e,r){if(r||2==arguments.length)for(var o,n=0,i=e.length;n<i;n++)!o&&n in e||(o||(o=Array.prototype.slice.call(e,0,n)),o[n]=e[n]);return t.concat(o||Array.prototype.slice.call(e))};function d(t,e,r,o){void 0===o&&(o={});var n="function"==typeof t&&t.prototype||t;Object.hasOwnProperty.call(n,"hcEvents")||(n.hcEvents={});var i=n.hcEvents;h().Point&&t instanceof h().Point&&t.series&&t.series.chart&&(t.series.chart.runTrackerClick=!0);var a=t.addEventListener;a&&a.call(t,e,r,!!h().supportsPassiveEvents&&{passive:void 0===o.passive?-1!==e.indexOf("touch"):o.passive,capture:!1}),i[e]||(i[e]=[]);var s={fn:r,order:"number"==typeof o.order?o.order:1/0};return i[e].push(s),i[e].sort(function(t,e){return t.order-e.order}),function(){!function(t,e,r){function o(e,r){var o=t.removeEventListener;o&&o.call(t,e,r,!1)}function n(r){var n,i;t.nodeName&&(e?(n={})[e]=!0:n=r,A(n,function(t,e){if(r[e])for(i=r[e].length;i--;)o(e,r[e][i].fn)}))}var i="function"==typeof t&&t.prototype||t;if(Object.hasOwnProperty.call(i,"hcEvents")){var a=i.hcEvents;if(e){var s=a[e]||[];r?(a[e]=s.filter(function(t){return r!==t.fn}),o(e,r)):(n(a),a[e]=[])}else n(a),delete i.hcEvents}}(t,e,r)}}h().doc,h().win;function v(t){return x(t)&&"number"==typeof t.nodeType}function y(t){return"number"==typeof t&&!isNaN(t)&&t<1/0&&t>-1/0}function g(t){var e=Object.prototype.toString.call(t);return"[object Array]"===e||"[object Array Iterator]"===e}function x(t,e){return!!t&&"object"==typeof t&&(!e||!g(t))}function m(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var o,n=u([t],e,!0),i={},a=function(t,e){return"object"!=typeof t&&(t={}),A(e,function(r,o){if("__proto__"!==o&&"constructor"!==o){var n;!x(r,!0)||(n=null==r?void 0:r.constructor,x(r,!0)&&!v(r)&&(null==n?void 0:n.name)&&"Object"!==n.name)||v(r)?t[o]=e[o]:t[o]=a(t[o]||{},r)}}),t};!0===t&&(i=n[1],n=Array.prototype.slice.call(n,2));var s=n.length;for(o=0;o<s;o++)i=a(i,n[o]);return i}function A(t,e,r){for(var o in t)Object.hasOwnProperty.call(t,o)&&e.call(r||t[o],t[o],o,t)}Array.prototype.find;var P=function(t,e,r){if(r||2==arguments.length)for(var o,n=0,i=e.length;n<i;n++)!o&&n in e||(o||(o=Array.prototype.slice.call(e,0,n)),o[n]=e[n]);return t.concat(o||Array.prototype.slice.call(e))},b=function(){function t(t){this.axis=t}return t.prototype.setPosition=function(t,e){var r=this.axis,o=r.chart,n=((this.position||0)+.5)/(o.parallelInfo.counter+1);o.polar?e.angle=360*n:(e[t[0]]=100*n+"%",r[t[1]]=e[t[1]]=0,r[t[2]]=e[t[2]]=null,r[t[3]]=e[t[3]]=null)},t}();!function(t){function e(t){var e=this.chart,r=this.parallelCoordinates,o=["left","width","height","top"];if(e.hasParallelCoordinates)if(e.inverted&&(o=o.reverse()),this.isXAxis)this.options=m(this.options,f,t.userOptions);else{var n=e.yAxis.indexOf(this);this.options=m(this.options,this.chart.options.chart.parallelAxes,t.userOptions),r.position=function(){for(var t=arguments,e=t.length,r=0;r<e;r++){var o=t[r];if(null!=o)return o}}(r.position,n>=0?n:e.yAxis.length),r.setPosition(o,this.options)}}function r(t){var e=this.chart,r=this.parallelCoordinates;if(r&&e&&e.hasParallelCoordinates&&!this.isXAxis){var o=r.position,n=[];this.series.forEach(function(t){t.visible&&y(o)&&(n=(t.pointArrayMap||["y"]).reduce(function(e,r){var n,i;return P(P([],e,!0),[null!=(i=null==(n=t.getColumn(r))?void 0:n[o])?i:null],!1)},n))}),n=n.filter(y),this.dataMin=function(t){for(var e=t.length,r=t[0];e--;)t[e]<r&&(r=t[e]);return r}(n),this.dataMax=function(t){for(var e=t.length,r=t[0];e--;)t[e]>r&&(r=t[e]);return r}(n),t.preventDefault()}}function o(){this.parallelCoordinates||(this.parallelCoordinates=new b(this))}t.compose=function(t){t.keepProps.includes("parallel")||(t.keepProps.push("parallel"),d(t,"init",o),d(t,"afterSetOptions",e),d(t,"getSeriesExtremes",r))}}(r||(r={}));var C=r,O=s(984),I=s.n(O),j=h().composed,E=I().format;!function(t){function e(){var t,e,r=this.chart,o=this.points,n=o&&o.length,i=Number.MAX_VALUE;if(this.chart.hasParallelCoordinates){for(var a,s=0;s<n;s++)null!=(e=o[s]).y?(r.polar?e.plotX=r.yAxis[s].angleRad||0:r.inverted?e.plotX=r.plotHeight-r.yAxis[s].top+r.plotTop:e.plotX=r.yAxis[s].left-r.plotLeft,e.clientX=e.plotX,e.plotY=r.yAxis[s].translate(e.y,!1,!0,void 0,!0),y(e.high)&&(e.plotHigh=r.yAxis[s].translate(e.high,!1,!0,void 0,!0)),void 0!==t&&(i=Math.min(i,Math.abs(e.plotX-t))),t=e.plotX,e.isInside=r.isInsidePlot(e.plotX,e.plotY,{inverted:r.inverted})):e.isNull=!0;this.closestPointRangePx=i}}function r(t){var e=this.chart;if(e.hasParallelCoordinates){for(var r=0,o=e.axes;r<o.length;r++){var n=o[r];(0,c.insertItem)(this,n.series),n.isDirty=!0}this.xAxis=e.xAxis[0],this.yAxis=e.yAxis[0],t.preventDefault()}}function o(){var t=this.chart;if(t.hasParallelCoordinates)for(var e=0,r=t.axes||[];e<r.length;e++){var o=r[e];o&&o.series&&(!function(t,e){for(var r=t.length;r--;)if(t[r]===e){t.splice(r,1);break}}(o.series,this),o.isDirty=o.forceRedraw=!0)}}function n(){var t,e,r,o,n,i,a=this.chart;if(null==a?void 0:a.hasParallelCoordinates)for(var s=0,l=this.points;s<l.length;s++){var c=l[s],h=a.yAxis[c.x||0],p=h.options,f=null!=(t=p.tooltipValueFormat)?t:p.labels.format,u=void 0;u=f?E(f,function(t,e){var r;for(r in t||(t={}),e)t[r]=e[r];return t}(c,{value:c.y}),a):h.dateTime?a.time.dateFormat(a.time.resolveDTLFormat((null==(e=p.dateTimeLabelFormats)?void 0:e[(null==(r=h.tickPositions.info)?void 0:r.unitName)||"year"])||"").main,null!=(o=c.y)?o:void 0):g(p.categories)?p.categories[null!=(n=c.y)?n:-1]:String(null!=(i=c.y)?i:""),c.formattedValue=u}}t.compose=function(t){var i;i="ParallelSeries",0>j.indexOf(i)&&j.push(i)&&(d(t,"afterTranslate",e,{order:1}),d(t,"bindAxes",r),d(t,"destroy",o),d(t,"afterGeneratePoints",n))}}(o||(o={}));var T=o,X=function(){function t(t){this.chart=t}return t.prototype.setParallelInfo=function(t){var e=this.chart||this,r=t.series;e.parallelInfo={counter:0};for(var o=0;o<r.length;o++){var n=r[o];n.data&&(e.parallelInfo.counter=Math.max(e.parallelInfo.counter,n.data.length-1))}},t}();function _(t){var e,r,o=t.args[0],n=g(e=o.yAxis||{})?e:[e],i=[],a=n.length;if(this.hasParallelCoordinates=o.chart&&o.chart.parallelCoordinates,this.hasParallelCoordinates){for(this.setParallelInfo(o);a<=this.parallelInfo.counter;a++)i.push({});o.legend||(o.legend={}),o.legend&&void 0===o.legend.enabled&&(o.legend.enabled=!1),m(!0,o,{boost:{seriesThreshold:Number.MAX_VALUE},plotOptions:{series:{boostThreshold:Number.MAX_VALUE}}}),o.yAxis=n.concat(i),o.xAxis=m(f,(g(r=o.xAxis||{})?r:[r])[0])}}function w(t){var e=t.options;if(e.chart&&(null!=e.chart.parallelCoordinates&&(this.hasParallelCoordinates=e.chart.parallelCoordinates),this.options.chart.parallelAxes=m(this.options.chart.parallelAxes,e.chart.parallelAxes)),this.hasParallelCoordinates){e.series&&this.setParallelInfo(e);for(var r=0,o=this.yAxis;r<o.length;r++)o[r].update({},!1)}}(n||(n={})).compose=function(t,e,r,o){C.compose(t),T.compose(o);var n=X.prototype,i=e.prototype;i.setParallelInfo||(i.setParallelInfo=n.setParallelInfo,d(e,"init",_),d(e,"update",w),m(!0,r.chart,p))};var M=n,H=h();M.compose(H.Axis,H.Chart,H.defaultOptions,H.Series);var L=h();return l.default}()});