!/**
 * Highcharts JS v12.6.0 (2026-04-13)
 * @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 l={};s.d(l,{default:()=>H});var n=s(944),h=s.n(n),a=s(512),p=s.n(a);let{doc:c,win:d}=h();function u(t,o){let e;for(e in t||(t={}),o)t[e]=o[e];return t}function g(t){return f(t)&&"number"==typeof t.nodeType}function y(t){return"number"==typeof t&&!isNaN(t)&&t<1/0&&t>-1/0}function f(t,o){let e;return!!t&&"object"==typeof t&&(!o||"[object Array]"!==(e=Object.prototype.toString.call(t))&&"[object Array Iterator]"!==e)}function w(){let t=arguments,o=t.length;for(let e=0;e<o;e++){let o=t[e];if(null!=o)return o}}Array.prototype.find;let{area:{prototype:{pointClass:m,pointClass:{prototype:C}}}}=p().seriesTypes,S=class extends m{setState(){let t=this.state,o=this.series,e=o.chart.polar;null==this.plotHigh&&(this.plotHigh=o.yAxis.toPixels(this.high,!0)),null==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&&y(this.plotHighX)&&(this.plotX=this.plotHighX),C.setState.apply(this,arguments),this.state=t,this.plotY=this.plotLow,this.graphic=this.graphics&&this.graphics[0],e&&y(this.plotLowX)&&(this.plotX=this.plotLowX),o.upperStateMarkerGraphic=o.stateMarkerGraphic,o.stateMarkerGraphic=o.lowerStateMarkerGraphic,o.lowerStateMarkerGraphic=void 0;let r=o.modifyMarkerSettings();C.setState.apply(this,arguments),o.restoreMarkerSettings(r)}haloPath(){let t=this.series.chart.polar,o=[];return this.plotY=this.plotLow,t&&y(this.plotLowX)&&(this.plotX=this.plotLowX),this.isInside&&(o=C.haloPath.apply(this,arguments)),this.plotY=this.plotHigh,t&&y(this.plotHighX)&&(this.plotX=this.plotHighX),this.isTopInside&&(o=o.concat(C.haloPath.apply(this,arguments))),o}isValid(){return y(this.low)&&y(this.high)}};class b extends S{setState(){let t=this.series,o=t.chart,e=t.options.lowColor,r=t.options.marker,i=t.options.lowMarker,s=this.options,l=s.lowColor,n=this.zone&&this.zone.color,h=w(l,i?.fillColor,e,s.color,n,this.color,t.color),a="attr",p,c;if(this.pointSetState.apply(this,arguments),!this.state){a="animate";let[t,e]=this.graphics||[];t&&!o.styledMode&&(t.attr({fill:h}),e&&(c={y:this.y,zone:this.zone},this.y=this.high,this.zone=this.zone?this.getZone():void 0,p=w(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:p}),u(this,c)))}this.connector?.[a](t.getConnectorAttribs(this))}destroy(){return this.graphic||(this.graphic=this.connector,this.connector=void 0),super.destroy()}}u(b.prototype,{pointSetState:S.prototype.setState});var x=s(540),k=s.n(x);let{noop:v}=h(),{arearange:M,column:P,columnrange:X}=p().seriesTypes;class z extends M{getConnectorAttribs(t){let o=this.chart,e=t.options,r=this.options,i=this.xAxis,s=this.yAxis,l=w(r.states&&r.states.hover&&r.states.hover.connectorWidthPlus,1),n=w(e.dashStyle,r.dashStyle),h=s.toPixels(r.threshold||0,!0),a=o.inverted?s.len-h:h,p=w(e.connectorWidth,r.connectorWidth),c=w(e.connectorColor,r.connectorColor,e.color,t.zone?t.zone.color:void 0,t.color),d=w(t.plotLow,t.plotY),g=w(t.plotHigh,a),y;if("number"!=typeof d)return{};t.state&&(p+=l),d<0?d=0:d>=s.len&&(d=s.len),g<0?g=0:g>=s.len&&(g=s.len),(t.plotX<0||t.plotX>i.len)&&(p=0),t.graphics&&t.graphics[1]&&(y={y:t.y,zone:t.zone},t.y=t.high,t.zone=t.zone?t.getZone():void 0,c=w(e.connectorColor,r.connectorColor,e.color,t.zone?t.zone.color:void 0,t.color),u(t,y));let f={d:k().prototype.crispLine([["M",t.plotX,d],["L",t.plotX,g]],p)};return!o.styledMode&&(f.stroke=c,f["stroke-width"]=p,n&&(f.dashstyle=n)),f}drawConnector(t){let o=w(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=P.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,l,n;for(this.seriesDrawPoints.apply(this,arguments);i<o;){let[o,h]=(l=this.points[i]).graphics||[];this.drawConnector(l),h&&(h.element.point=l,h.addClass("highcharts-lollipop-high")),l.connector&&(l.connector.element.point=l),o&&(n=l.zone&&l.zone.color,s=w(l.options.lowColor,r?.fillColor,e,l.options.color,n,l.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(){P.prototype.translate.apply(this),X.prototype.afterColumnTranslate.apply(this)}}z.defaultOptions=function(t,...o){let e,r=[t,...o],i={},s=function(t,o){return"object"!=typeof t&&(t={}),function(t,o,e){for(let e in t)Object.hasOwnProperty.call(t,e)&&o.call((0,t[e]),t[e],e,t)}(o,function(e,r){if("__proto__"!==r&&"constructor"!==r){let i;!f(e,!0)||(i=e?.constructor,f(e,!0)&&!g(e)&&i?.name&&"Object"!==i.name)||g(e)?t[r]=o[r]:t[r]=s(t[r]||{},e)}}),t};!0===t&&(i=r[1],r=Array.prototype.slice.call(r,2));let l=r.length;for(e=0;e<l;e++)i=s(i,r[e]);return i}(M.defaultOptions,{trackByArea:!1,fillColor:"none",lineWidth:0,pointRange:1,connectorWidth:1,stickyTracking:!1,groupPadding:.2,crisp:!1,pointPadding:.1,legendSymbol:"rectangle",lowColor:"#333333",states:{hover:{lineWidthPlus:0,connectorWidthPlus:1,halo:!1}}}),u(z.prototype,{crispCol:P.prototype.crispCol,drawGraph:v,drawTracker:P.prototype.drawTracker,pointClass:b,seriesDrawPoints:M.prototype.drawPoints,trackerGroups:["group","markerGroup","dataLabelsGroup"],translatePoint:M.prototype.translate}),p().registerSeriesType("dumbbell",z);let H=h();return l.default})());