/* Highcharts JS v10.2.1 (2022-08-29) Dependency wheel module (c) 2010-2021 Torstein Honsi License: www.highcharts.com/license */ (function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/modules/dependency-wheel",["highcharts","highcharts/modules/sankey"],function(f){a(f);a.Highcharts=f;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function f(a,h,g,f){a.hasOwnProperty(h)||(a[h]=f.apply(null,g),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:h,module:a[h]}})))} a=a?a._modules:{};f(a,"Series/DependencyWheel/DependencyWheelPoint.js",[a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,f){var g=this&&this.__extends||function(){var a=function(c,b){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return a(c,b)};return function(c,b){function f(){this.constructor=c}a(c,b);c.prototype=null===b?Object.create(b):(f.prototype=b.prototype,new f)}}(), h=f.wrap;return function(a){function c(){var b=null!==a&&a.apply(this,arguments)||this;b.angle=void 0;b.fromNode=void 0;b.index=void 0;b.linksFrom=void 0;b.linksTo=void 0;b.options=void 0;b.series=void 0;b.shapeArgs=void 0;b.toNode=void 0;return b}g(c,a);c.prototype.getDataLabelPath=function(a){var b=this,c=this.series.chart.renderer,f=this.shapeArgs,g=0>this.angle||this.angle>Math.PI,p=f.start||0,n=f.end||0;this.dataLabelPath?(this.dataLabelPath=this.dataLabelPath.destroy(),delete this.dataLabelPath): h(a,"destroy",function(e){b.dataLabelPath&&(b.dataLabelPath=b.dataLabelPath.destroy());return e.call(a)});return this.dataLabelPath=c.arc({open:!0,longArc:Math.abs(Math.abs(p)-Math.abs(n))b.index){e=e.slice(0,d).reverse().concat(e.slice(d).reverse());var g=!0;break}g||e.reverse();for(d=0;dMath.PI&&(e=2*Math.PI-e);e*=k;e