!/**
 * Highcharts JS v11.4.0 (2024-03-04)
 *
 * Dot plot series type for Highcharts
 *
 * (c) 2010-2024 Torstein Honsi
 *
 * License: www.highcharts.com/license
 */function(t){"object"==typeof module&&module.exports?(t.default=t,module.exports=t):"function"==typeof define&&define.amd?define("highcharts/modules/dotplot",["highcharts"],function(e){return t(e),t.Highcharts=e,t}):t("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){"use strict";var e=t?t._modules:{};function o(t,e,o,i){t.hasOwnProperty(e)||(t[e]=i.apply(null,o),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}o(e,"Series/DotPlot/DotPlotSeriesDefaults.js",[],function(){return{itemPadding:.2,marker:{symbol:"circle",states:{hover:{},select:{}}}}}),o(e,"Series/DotPlot/DotPlotSeries.js",[e["Series/DotPlot/DotPlotSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,o){var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),s=e.seriesTypes.column,n=o.extend,a=o.merge,d=o.pick,l=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return r(o,e),o.prototype.drawPoints=function(){for(var t=this.options,e=this.chart.renderer,o=t.marker,i=this.yAxis.transA*t.itemPadding,r=this.borderWidth%2?.5:1,s=0,a=this.points;s<a.length;s++){var l=a[s],c=l.marker||{},h=c.symbol||o.symbol,u=d(c.radius,o.radius),p="rect"!==h,f=void 0,y=void 0,v=void 0,m=void 0,g=void 0,A=void 0,b=void 0;l.graphics=v=l.graphics||[];var P=l.pointAttr?l.pointAttr[l.selected?"selected":""]||this.pointAttr[""]:this.pointAttribs(l,l.selected&&"select");if(delete P.r,this.chart.styledMode&&(delete P.stroke,delete P["stroke-width"]),null!==l.y){l.graphic||(l.graphic=e.g("point").add(this.group)),g=d(l.stackY,l.y),m=Math.min(l.pointWidth,this.yAxis.transA-i);var j=Math.floor(g);for(f=g;f>g-l.y;f--,j--){A=l.barX+(p?l.pointWidth/2-m/2:0),b=this.yAxis.toPixels(f,!0)+i/2,this.options.crisp&&(A=Math.round(A)-r,b=Math.round(b)+r),y={x:A,y:b,width:Math.round(p?m:l.pointWidth),height:Math.round(m),r:u};var _=v[j];_?_.animate(y):_=e.symbol(h).attr(n(y,P)).add(l.graphic),_.isActive=!0,v[j]=_}}for(var w=-1,x=0,S=v;x<S.length;x++){var _=S[x];++w,_&&(_.isActive?_.isActive=!1:(_.destroy(),v.splice(w,1)))}}},o.defaultOptions=a(s.defaultOptions,t),o}(s);return n(l.prototype,{markerAttribs:void 0}),e.registerSeriesType("dotplot",l),l}),o(e,"masters/modules/dotplot.src.js",[e["Core/Globals.js"]],function(t){return t})});