!/**
 * Highcharts JS v13.0.0 (2026-06-11)
 * @module highcharts/modules/dumbbell
 * @requires highcharts
 *
 * (c) 2009-2026 Highsoft AS
 * Author: Sebastian Bochan, Rafał Sebestjański
 *
 * A commercial license may be required depending on use,
 * see www.highcharts.com/license
 */function(t,o){"object"==typeof exports&&"object"==typeof module?module.exports=o(t._Highcharts,t._Highcharts.SeriesRegistry,t._Highcharts.SVGRenderer):"function"==typeof define&&define.amd?define("highcharts/modules/dumbbell",["highcharts/highcharts"],function(t){return o(t,t.SeriesRegistry,t.SVGRenderer)}):"object"==typeof exports?exports["highcharts/modules/dumbbell"]=o(t._Highcharts,t._Highcharts.SeriesRegistry,t._Highcharts.SVGRenderer):t.Highcharts=o(t.Highcharts,t.Highcharts.SeriesRegistry,t.Highcharts.SVGRenderer)}("u"<typeof window?this:window,(t,o,e)=>(()=>{"use strict";var r={512:t=>{t.exports=o},540:t=>{t.exports=e},944:o=>{o.exports=t}},i={};function s(t){var o=i[t];if(void 0!==o)return o.exports;var e=i[t]={exports:{}};return r[t](e,e.exports,s),e.exports}s.n=t=>{var o=t&&t.__esModule?()=>t.default:()=>t;return s.d(o,{a:o}),o},s.d=(t,o)=>{for(var e in o)s.o(o,e)&&!s.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:o[e]})},s.o=(t,o)=>Object.prototype.hasOwnProperty.call(t,o);var h={};s.d(h,{default:()=>S});var l=s(944),a=s.n(l),p=s(512),n=s.n(p);let{area:{prototype:{pointClass:c,pointClass:{prototype:d}}}}=n().seriesTypes,g=class extends c{setState(){let t=this.state,o=this.series,e=o.chart.polar;(0,l.defined)(this.plotHigh)||(this.plotHigh=o.yAxis.toPixels(this.high,!0)),(0,l.defined)(this.plotLow)||(this.plotLow=this.plotY=o.yAxis.toPixels(this.low,!0)),o.lowerStateMarkerGraphic=o.stateMarkerGraphic,o.stateMarkerGraphic=o.upperStateMarkerGraphic,this.graphic=this.graphics&&this.graphics[1],this.plotY=this.plotHigh,e&&(0,l.isNumber)(this.plotHighX)&&(this.plotX=this.plotHighX),d.setState.apply(this,arguments),this.state=t,this.plotY=this.plotLow,this.graphic=this.graphics&&this.graphics[0],e&&(0,l.isNumber)(this.plotLowX)&&(this.plotX=this.plotLowX),o.upperStateMarkerGraphic=o.stateMarkerGraphic,o.stateMarkerGraphic=o.lowerStateMarkerGraphic,o.lowerStateMarkerGraphic=void 0;let r=o.modifyMarkerSettings();d.setState.apply(this,arguments),o.restoreMarkerSettings(r)}haloPath(){let t=this.series.chart.polar,o=[];return this.plotY=this.plotLow,t&&(0,l.isNumber)(this.plotLowX)&&(this.plotX=this.plotLowX),this.isInside&&(o=d.haloPath.apply(this,arguments)),this.plotY=this.plotHigh,t&&(0,l.isNumber)(this.plotHighX)&&(this.plotX=this.plotHighX),this.isTopInside&&(o=o.concat(d.haloPath.apply(this,arguments))),o}isValid(){return(0,l.isNumber)(this.low)&&(0,l.isNumber)(this.high)}};class y extends g{setState(){let t=this.series,o=t.chart,e=t.options.lowColor,r=t.options.marker,i=t.options.lowMarker,s=this.options,h=s.lowColor,a=this.zone&&this.zone.color,p=(0,l.pick)(h,i?.fillColor,e,s.color,a,this.color,t.color),n="attr",c,d;if(this.pointSetState.apply(this,arguments),!this.state){n="animate";let[t,e]=this.graphics||[];t&&!o.styledMode&&(t.attr({fill:p}),e&&(d={y:this.y,zone:this.zone},this.y=this.high,this.zone=this.zone?this.getZone():void 0,c=(0,l.pick)(this.marker?this.marker.fillColor:void 0,r?r.fillColor:void 0,s.color,this.zone?this.zone.color:void 0,this.color),e.attr({fill:c}),(0,l.extend)(this,d)))}this.connector?.[n](t.getConnectorAttribs(this))}destroy(){return this.graphic||(this.graphic=this.connector,this.connector=void 0),super.destroy()}}(0,l.extend)(y.prototype,{pointSetState:g.prototype.setState});var u=s(540),f=s.n(u);let{noop:w}=a(),{arearange:m,column:k,columnrange:C}=n().seriesTypes;class x extends m{getConnectorAttribs(t){let o=this.chart,e=t.options,r=this.options,i=this.xAxis,s=this.yAxis,h=(0,l.pick)(r.states&&r.states.hover&&r.states.hover.connectorWidthPlus,1),a=(0,l.pick)(e.dashStyle,r.dashStyle),p=s.toPixels(r.threshold||0,!0),n=o.inverted?s.len-p:p,c=(0,l.pick)(e.connectorWidth,r.connectorWidth),d=(0,l.pick)(e.connectorColor,r.connectorColor,e.color,t.zone?t.zone.color:void 0,t.color),g=(0,l.pick)(t.plotLow,t.plotY),y=(0,l.pick)(t.plotHigh,n),u;if("number"!=typeof g)return{};t.state&&(c+=h),g<0?g=0:g>=s.len&&(g=s.len),y<0?y=0:y>=s.len&&(y=s.len),(t.plotX<0||t.plotX>i.len)&&(c=0),t.graphics&&t.graphics[1]&&(u={y:t.y,zone:t.zone},t.y=t.high,t.zone=t.zone?t.getZone():void 0,d=(0,l.pick)(e.connectorColor,r.connectorColor,e.color,t.zone?t.zone.color:void 0,t.color),(0,l.extend)(t,u));let w={d:f().prototype.crispLine([["M",t.plotX,g],["L",t.plotX,y]],c)};return!o.styledMode&&(w.stroke=d,w["stroke-width"]=c,a&&(w.dashstyle=a)),w}drawConnector(t){let o=(0,l.pick)(this.options.animationLimit,250),e=t.connector&&this.chart.pointCount<o?"animate":"attr";t.connector||(t.connector=this.chart.renderer.path().addClass("highcharts-lollipop-stem").attr({zIndex:-1}).add(this.group)),t.connector[e](this.getConnectorAttribs(t))}getColumnMetrics(){let t=k.prototype.getColumnMetrics.apply(this,arguments);return t.offset+=t.width/2,t}translate(){let t=this.chart.inverted;for(let o of(this.setShapeArgs.apply(this),this.translatePoint.apply(this,arguments),this.points)){let{pointWidth:e,shapeArgs:r={},tooltipPos:i}=o;o.plotX=r.x||0,r.x=o.plotX-e/2,i&&(t?i[1]=this.xAxis.len-o.plotX:i[0]=o.plotX)}this.columnMetrics.offset-=this.columnMetrics.width/2}drawPoints(){let t=this.chart,o=this.points.length,e=this.lowColor=this.options.lowColor,r=this.options.lowMarker,i=0,s,h,a;for(this.seriesDrawPoints.apply(this,arguments);i<o;){let[o,p]=(h=this.points[i]).graphics||[];this.drawConnector(h),p&&(p.element.point=h,p.addClass("highcharts-lollipop-high")),h.connector&&(h.connector.element.point=h),o&&(a=h.zone&&h.zone.color,s=(0,l.pick)(h.options.lowColor,r?.fillColor,e,h.options.color,a,h.color,this.color),t.styledMode||o.attr({fill:s}),o.addClass("highcharts-lollipop-low")),i++}}pointAttribs(t,o){let e=super.pointAttribs.apply(this,arguments);return"hover"===o&&delete e.fill,e}setShapeArgs(){k.prototype.translate.apply(this),C.prototype.afterColumnTranslate.apply(this)}}x.defaultOptions=(0,l.merge)(m.defaultOptions,{trackByArea:!1,fillColor:"none",lineWidth:0,pointRange:1,connectorWidth:1,stickyTracking:!1,groupPadding:.2,crisp:!1,pointPadding:.1,legendSymbol:"rectangle",lowColor:"var(--highcharts-neutral-color-80)",states:{hover:{lineWidthPlus:0,connectorWidthPlus:1,halo:!1}}}),(0,l.extend)(x.prototype,{crispCol:k.prototype.crispCol,drawGraph:w,drawTracker:k.prototype.drawTracker,pointClass:y,seriesDrawPoints:m.prototype.drawPoints,trackerGroups:["group","markerGroup","dataLabelsGroup"],translatePoint:m.prototype.translate}),n().registerSeriesType("dumbbell",x);let S=a();return h.default})());