!/**
 * 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,function(t,o,r){return function(){"use strict";var e,i,n,s={512:function(t){t.exports=o},540:function(t){t.exports=r},944:function(o){o.exports=t}},p={};function h(t){var o=p[t];if(void 0!==o)return o.exports;var r=p[t]={exports:{}};return s[t](r,r.exports,h),r.exports}h.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return h.d(o,{a:o}),o},h.d=function(t,o){for(var r in o)h.o(o,r)&&!h.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:o[r]})},h.o=function(t,o){return Object.prototype.hasOwnProperty.call(t,o)};var a={};h.d(a,{default:function(){return O}});var l=h(944),c=h.n(l),u=h(512),d=h.n(u),y=(e=function(t,o){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var r in o)o.hasOwnProperty(r)&&(t[r]=o[r])})(t,o)},function(t,o){function r(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}),f=d().seriesTypes.area.prototype,g=f.pointClass,v=f.pointClass.prototype,w=function(t){function o(){return null!==t&&t.apply(this,arguments)||this}return y(o,t),o.prototype.setState=function(){var t=this.state,o=this.series,r=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,r&&(0,l.isNumber)(this.plotHighX)&&(this.plotX=this.plotHighX),v.setState.apply(this,arguments),this.state=t,this.plotY=this.plotLow,this.graphic=this.graphics&&this.graphics[0],r&&(0,l.isNumber)(this.plotLowX)&&(this.plotX=this.plotLowX),o.upperStateMarkerGraphic=o.stateMarkerGraphic,o.stateMarkerGraphic=o.lowerStateMarkerGraphic,o.lowerStateMarkerGraphic=void 0;var e=o.modifyMarkerSettings();v.setState.apply(this,arguments),o.restoreMarkerSettings(e)},o.prototype.haloPath=function(){var t=this.series.chart.polar,o=[];return this.plotY=this.plotLow,t&&(0,l.isNumber)(this.plotLowX)&&(this.plotX=this.plotLowX),this.isInside&&(o=v.haloPath.apply(this,arguments)),this.plotY=this.plotHigh,t&&(0,l.isNumber)(this.plotHighX)&&(this.plotX=this.plotHighX),this.isTopInside&&(o=o.concat(v.haloPath.apply(this,arguments))),o},o.prototype.isValid=function(){return(0,l.isNumber)(this.low)&&(0,l.isNumber)(this.high)},o}(g),m=(i=function(t,o){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(t[r]=o[r])})(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw TypeError("Class extends value "+String(o)+" is not a constructor or null");function r(){this.constructor=t}i(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}),k=function(t){function o(){return null!==t&&t.apply(this,arguments)||this}return m(o,t),o.prototype.setState=function(){var t,o,r,e=this.series,i=e.chart,n=e.options.lowColor,s=e.options.marker,p=e.options.lowMarker,h=this.options,a=h.lowColor,c=this.zone&&this.zone.color,u=(0,l.pick)(a,null==p?void 0:p.fillColor,n,h.color,c,this.color,e.color),d="attr";if(this.pointSetState.apply(this,arguments),!this.state){d="animate";var y=this.graphics||[],f=y[0],g=y[1];f&&!i.styledMode&&(f.attr({fill:u}),g&&(r={y:this.y,zone:this.zone},this.y=this.high,this.zone=this.zone?this.getZone():void 0,o=(0,l.pick)(this.marker?this.marker.fillColor:void 0,s?s.fillColor:void 0,h.color,this.zone?this.zone.color:void 0,this.color),g.attr({fill:o}),(0,l.extend)(this,r)))}null==(t=this.connector)||t[d](e.getConnectorAttribs(this))},o.prototype.destroy=function(){return this.graphic||(this.graphic=this.connector,this.connector=void 0),t.prototype.destroy.call(this)},o}(w);(0,l.extend)(k.prototype,{pointSetState:w.prototype.setState});var b={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}}},C=h(540),S=h.n(C),_=(n=function(t,o){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(t[r]=o[r])})(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw TypeError("Class extends value "+String(o)+" is not a constructor or null");function r(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}),x=c().noop,P=d().seriesTypes,M=P.arearange,X=P.column,z=P.columnrange,H=function(t){function o(){return null!==t&&t.apply(this,arguments)||this}return _(o,t),o.prototype.getConnectorAttribs=function(t){var o,r=this.chart,e=t.options,i=this.options,n=this.xAxis,s=this.yAxis,p=(0,l.pick)(i.states&&i.states.hover&&i.states.hover.connectorWidthPlus,1),h=(0,l.pick)(e.dashStyle,i.dashStyle),a=s.toPixels(i.threshold||0,!0),c=r.inverted?s.len-a:a,u=(0,l.pick)(e.connectorWidth,i.connectorWidth),d=(0,l.pick)(e.connectorColor,i.connectorColor,e.color,t.zone?t.zone.color:void 0,t.color),y=(0,l.pick)(t.plotLow,t.plotY),f=(0,l.pick)(t.plotHigh,c);if("number"!=typeof y)return{};t.state&&(u+=p),y<0?y=0:y>=s.len&&(y=s.len),f<0?f=0:f>=s.len&&(f=s.len),(t.plotX<0||t.plotX>n.len)&&(u=0),t.graphics&&t.graphics[1]&&(o={y:t.y,zone:t.zone},t.y=t.high,t.zone=t.zone?t.getZone():void 0,d=(0,l.pick)(e.connectorColor,i.connectorColor,e.color,t.zone?t.zone.color:void 0,t.color),(0,l.extend)(t,o));var g={d:S().prototype.crispLine([["M",t.plotX,y],["L",t.plotX,f]],u)};return!r.styledMode&&(g.stroke=d,g["stroke-width"]=u,h&&(g.dashstyle=h)),g},o.prototype.drawConnector=function(t){var o=(0,l.pick)(this.options.animationLimit,250),r=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[r](this.getConnectorAttribs(t))},o.prototype.getColumnMetrics=function(){var t=X.prototype.getColumnMetrics.apply(this,arguments);return t.offset+=t.width/2,t},o.prototype.translate=function(){var t=this.chart.inverted;this.setShapeArgs.apply(this),this.translatePoint.apply(this,arguments);for(var o=0,r=this.points;o<r.length;o++){var e=r[o],i=e.pointWidth,n=e.shapeArgs,s=void 0===n?{}:n,p=e.tooltipPos;e.plotX=s.x||0,s.x=e.plotX-i/2,p&&(t?p[1]=this.xAxis.len-e.plotX:p[0]=e.plotX)}this.columnMetrics.offset-=this.columnMetrics.width/2},o.prototype.drawPoints=function(){var t,o,r,e=this.chart,i=this.points.length,n=this.lowColor=this.options.lowColor,s=this.options.lowMarker,p=0;for(this.seriesDrawPoints.apply(this,arguments);p<i;){var h=(o=this.points[p]).graphics||[],a=h[0],c=h[1];this.drawConnector(o),c&&(c.element.point=o,c.addClass("highcharts-lollipop-high")),o.connector&&(o.connector.element.point=o),a&&(r=o.zone&&o.zone.color,t=(0,l.pick)(o.options.lowColor,null==s?void 0:s.fillColor,n,o.options.color,r,o.color,this.color),e.styledMode||a.attr({fill:t}),a.addClass("highcharts-lollipop-low")),p++}},o.prototype.pointAttribs=function(o,r){var e=t.prototype.pointAttribs.apply(this,arguments);return"hover"===r&&delete e.fill,e},o.prototype.setShapeArgs=function(){X.prototype.translate.apply(this),z.prototype.afterColumnTranslate.apply(this)},o.defaultOptions=(0,l.merge)(M.defaultOptions,b),o}(M);(0,l.extend)(H.prototype,{crispCol:X.prototype.crispCol,drawGraph:x,drawTracker:X.prototype.drawTracker,pointClass:k,seriesDrawPoints:M.prototype.drawPoints,trackerGroups:["group","markerGroup","dataLabelsGroup"],translatePoint:M.prototype.translate}),d().registerSeriesType("dumbbell",H);var O=c();return a.default}()});