/**
 * Highcharts JS v11.2.0 (2023-10-30)
 *
 * Dot plot series type for Highcharts
 *
 * (c) 2010-2021 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 i(t,e,i,s){t.hasOwnProperty(e)||(t[e]=s.apply(null,i),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}i(e,"Series/DotPlot/DotPlotSeriesDefaults.js",[],function(){return{itemPadding:.2,marker:{symbol:"circle",states:{hover:{},select:{}}}}}),i(e,"Series/DotPlot/DotPlotSeries.js",[e["Series/DotPlot/DotPlotSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,i){let{column:s}=e.seriesTypes,{extend:o,merge:r,pick:d}=i;class n extends s{constructor(){super(...arguments),this.data=void 0,this.options=void 0,this.points=void 0}drawPoints(){let t=this.options,e=this.chart.renderer,i=t.marker,s=this.yAxis.transA*t.itemPadding,r=this.borderWidth,n=r%2?.5:1;for(let t of this.points){let r,l,a,h,c,p,u;let f=t.marker||{},m=f.symbol||i.symbol,y=d(f.radius,i.radius),g="rect"!==m;t.graphics=a=t.graphics||[];let v=t.pointAttr?t.pointAttr[t.selected?"selected":""]||this.pointAttr[""]:this.pointAttribs(t,t.selected&&"select");if(delete v.r,this.chart.styledMode&&(delete v.stroke,delete v["stroke-width"]),null!==t.y){t.graphic||(t.graphic=e.g("point").add(this.group)),c=d(t.stackY,t.y),h=Math.min(t.pointWidth,this.yAxis.transA-s);let i=Math.floor(c);for(r=c;r>c-t.y;r--,i--){p=t.barX+(g?t.pointWidth/2-h/2:0),u=this.yAxis.toPixels(r,!0)+s/2,this.options.crisp&&(p=Math.round(p)-n,u=Math.round(u)+n),l={x:p,y:u,width:Math.round(g?h:t.pointWidth),height:Math.round(h),r:y};let d=a[i];d?d.animate(l):d=e.symbol(m).attr(o(l,v)).add(t.graphic),d.isActive=!0,a[i]=d}}let A=-1;for(let t of a)++A,t&&(t.isActive?t.isActive=!1:(t.destroy(),a.splice(A,1)))}}}return n.defaultOptions=r(s.defaultOptions,t),o(n.prototype,{markerAttribs:void 0}),e.registerSeriesType("dotplot",n),n}),i(e,"masters/modules/dotplot.src.js",[],function(){})});//# sourceMappingURL=dotplot.js.map