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