/* Highcharts JS v9.1.0 (2021-05-03) (c) 2009-2021 Torstein Honsi License: www.highcharts.com/license */ (function(c){"object"===typeof module&&module.exports?(c["default"]=c,module.exports=c):"function"===typeof define&&define.amd?define("highcharts/modules/broken-axis",["highcharts"],function(l){c(l);c.Highcharts=l;return c}):c("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(c){function l(c,l,w,k){c.hasOwnProperty(l)||(c[l]=k.apply(null,w))}c=c?c._modules:{};l(c,"Core/Axis/BrokenAxis.js",[c["Core/Axis/Axis.js"],c["Core/Series/Series.js"],c["Extensions/Stacking.js"],c["Core/Utilities.js"]], function(c,l,w,k){var t=k.addEvent,A=k.find,z=k.fireEvent,B=k.isArray,n=k.isNumber,u=k.pick,C=function(){function m(b){this.hasBreaks=!1;this.axis=b}m.isInBreak=function(b,e){var d=b.repeat||Infinity,a=b.from,f=b.to-b.from;e=e>=a?(e-a)%d:d-(a-e)%d;return b.inclusive?e<=f:e=b)break;else a.to=b)break;else if(m.isInBreak(f,b)){d-=b-f.from;break}}return d};m.prototype.findBreakAt=function(b,e){return A(e,function(d){return d.fromh;)p-=q;for(;pb.to||g>b.from&&hb.from&&hb.from&&h>b.to&&ha&&b>=this.basePointRange&&(a=b),g=void 0;d--;)g&&!1!==g.visible||(g=e[d+1]),b=e[d],!1!==g.visible&& !1!==b.visible&&(g.x-b.x>a&&(g=(b.x+g.x)/2,e.splice(d+1,0,{isNull:!0,x:g}),c.stacking&&this.options.stacking&&(g=c.stacking.stacks[this.stackKey][g]=new w(c,c.options.stackLabels,!1,g,this.stack),g.total=0)),g=b);return this.getGraphPath(e)};t(b,"init",function(){this.brokenAxis||(this.brokenAxis=new C(this))});t(b,"afterInit",function(){"undefined"!==typeof this.brokenAxis&&this.brokenAxis.setBreaks(this.options.breaks,!1)});t(b,"afterSetTickPositions",function(){var a=this.brokenAxis;if(a&&a.hasBreaks){var b= this.tickPositions,e=this.tickPositions.info,d=[],c;for(c=0;c