!/**
 * Highcharts JS v13.0.0 (2026-06-11)
 * @module highcharts/modules/timeline
 * @requires highcharts
 *
 * Timeline series
 *
 * (c) 2010-2026 Highsoft AS
 * Author: Daniel Studencki
 *
 * A commercial license may be required depending on use,
 * see www.highcharts.com/license
 */function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(t._Highcharts,t._Highcharts.SeriesRegistry,t._Highcharts.Point):"function"==typeof define&&define.amd?define("highcharts/modules/timeline",["highcharts/highcharts"],function(t){return e(t,t.SeriesRegistry,t.Point)}):"object"==typeof exports?exports["highcharts/modules/timeline"]=e(t._Highcharts,t._Highcharts.SeriesRegistry,t._Highcharts.Point):t.Highcharts=e(t.Highcharts,t.Highcharts.SeriesRegistry,t.Highcharts.Point)}("u"<typeof window?this:window,function(t,e,i){return function(){"use strict";var n,o,r={260:function(t){t.exports=i},512:function(t){t.exports=e},944:function(e){e.exports=t}},s={};function a(t){var e=s[t];if(void 0!==e)return e.exports;var i=s[t]={exports:{}};return r[t](i,i.exports,a),i.exports}a.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(e,{a:e}),e},a.d=function(t,e){for(var i in e)a.o(e,i)&&!a.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)};var l={};a.d(l,{default:function(){return k}});var h=a(944),p=a.n(h),c=a(512),d=a.n(c),u=a(260),y=a.n(u),f=(n=function(t,e){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),g=d().seriesTypes,v=g.line.prototype.pointClass,b=g.pie.prototype.pointClass,x=function(t){function e(e,i){var n=t.call(this,e,i)||this;return null!=n.name||(n.name=(i&&null!==i.y||!e.options.nullInteraction)&&"Event"||"Null"),n.y=1,n}return f(e,t),e.prototype.alignConnector=function(){var t=this.series,e=this.dataLabel,i=e.connector,n=e.options||{},o=n.connectorWidth||0,r=this.series.chart,s=i.getBBox(),a={x:s.x+(e.translateX||0),y:s.y+(e.translateY||0)};r.inverted?a.y-=o/2:a.x+=o/2,i[r.isInsidePlot(a.x,a.y)?"animate":"attr"]({d:this.getConnectorPath()}),i.addClass("highcharts-color-"+this.colorIndex),t.chart.styledMode||i.attr({stroke:n.connectorColor||this.color,"stroke-width":n.connectorWidth,opacity:e[(0,h.defined)(e.newOpacity)?"newOpacity":"opacity"]})},e.prototype.drawConnector=function(){var t=this.dataLabel,e=this.series;t&&(t.connector||(t.connector=e.chart.renderer.path(this.getConnectorPath()).attr({zIndex:-1}).add(t)),this.series.chart.isInsidePlot(t.x||0,t.y||0)&&this.alignConnector())},e.prototype.getConnectorPath=function(){var t,e=this.plotX,i=void 0===e?0:e,n=this.plotY,o=void 0===n?0:n,r=this.series,s=this.dataLabel,a=r.chart,l=r.xAxis.len,p=a.inverted,c=p?"x2":"y2";if(s){var d=s.targetPosition,u=(s.alignAttr||s)[c[0]]<r.yAxis.len/2,y={x1:i,y1:o,x2:i,y2:(0,h.isNumber)(d.y)?d.y:s.y};return p&&(y={x1:o,y1:l-i,x2:d.x||s.x,y2:l-i}),u&&(y[c]+=s[p?"width":"height"]||0),(0,h.objectEach)(y,function(t,e){y[e]-=(s.alignAttr||s)[e[0]]}),a.renderer.crispLine([["M",y.x1,y.y1],["L",y.x2,y.y2]],(null==(t=s.options)?void 0:t.connectorWidth)||0)}return[]},e.prototype.isValid=function(){return null!==this.options.y},e.prototype.setState=function(){var e=t.prototype.setState;(!this.isNull||this.series.options.nullInteraction)&&e.apply(this,arguments)},e.prototype.setVisible=function(t,e){var i=this.series;e=(0,h.pick)(e,i.options.ignoreHiddenPoint),b.prototype.setVisible.call(this,t,!1),i.processData(),e&&i.chart.redraw()},e.prototype.applyOptions=function(e,i,n){var o=this.series;i||(null==e?void 0:e.x)||((0,h.isNumber)(this.x)?i=this.x:(0,h.isNumber)(null==o?void 0:o.xIncrement)&&(i=o.xIncrement||0,o.autoIncrement())),e=y().prototype.optionsToObject.call(this,e);var r=t.prototype.applyOptions.call(this,e,i,n);return n||(this.userDLOptions=(0,h.merge)(this.userDLOptions,e.dataLabels)),r},e}(v),m={colorByPoint:!0,stickyTracking:!1,ignoreHiddenPoint:!0,legendType:"point",lineWidth:4,tooltip:{headerFormat:'<span style="color:{point.color}">●</span> <span style="font-size: 0.8em"> {point.key}</span><br/>',pointFormat:"{point.description}"},states:{hover:{lineWidthPlus:0}},dataLabels:{enabled:!0,allowOverlap:!0,alternate:!0,backgroundColor:"var(--highcharts-background-color)",borderWidth:1,borderColor:"var(--highcharts-neutral-color-40)",borderRadius:3,color:"var(--highcharts-neutral-color-80)",connectorWidth:1,distance:void 0,formatter:function(){return(this.series.chart.styledMode?'<span class="highcharts-color-'+this.point.colorIndex+'">● </span>':'<span style="color:'+this.point.color+'">● </span>')+('<span class="highcharts-strong">'+(this.key||"")+"</span><br/>")+(this.label||"")},padding:5,style:{textOutline:"none",fontWeight:"normal",fontSize:"0.8em",textAlign:"left"},shadow:!1,verticalAlign:"middle"},marker:{enabledThreshold:0,symbol:"square",radius:6,lineWidth:2,height:15},showInLegend:!1,colorKey:"x",legendSymbol:"rectangle"},w=(o=function(t,e){return(o=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(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 i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),P=d().seriesTypes,O=P.column,L=P.line,_=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return w(e,t),e.prototype.alignDataLabel=function(e,i,n,o){var r,s,a,l,p=this.chart.inverted,c=this.visibilityMap.filter(function(t){return!!t}),d=this.visiblePointsCount||0,u=c.indexOf(e),y=this.options.dataLabels,f=e.userDLOptions||{},g=y.alternate?u&&u!==d-1?2:1.5:1,v=Math.floor(this.xAxis.len/d),b=i.padding;e.visible&&(s=Math.abs(f.x||e.options.dataLabels.x),p?(a=(s-b)*2-(e.itemHeight||0)/2,l={width:(0,h.pick)(null==(r=y.style)?void 0:r.width,""+.4*this.yAxis.len+"px"),textOverflow:(i.width||0)/a*(i.height||0)/2>v*g?"ellipsis":"none"}):l={width:(f.width||y.width||v*g-2*b)+"px"},i.css(l),this.chart.styledMode||i.shadow(y.shadow)),t.prototype.alignDataLabel.apply(this,arguments)},e.prototype.bindAxes=function(){t.prototype.bindAxes.call(this),this.xAxis.userOptions.type||(this.xAxis.categories=this.xAxis.hasNames=!0)},e.prototype.distributeDL=function(){var t,e=this.options.dataLabels,i=this.chart.inverted,n=1;if(e)for(var o=(0,h.pick)(e.distance,i?20:100),r=0,s=this.points;r<s.length;r++){var a=s[r],l=((t={})[i?"x":"y"]=e.alternate&&n%2?-o:o,t);i&&(l.align=e.alternate&&n%2?"right":"left"),a.options.dataLabels=(0,h.merge)(l,a.userDLOptions,{zIndex:void 0}),delete a.options.dataLabels.zIndex,n++}},e.prototype.generatePoints=function(){t.prototype.generatePoints.call(this);for(var e=this.points,i=e.length,n=this.getColumn("x"),o=0;o<i;++o)e[o].x=n[o]},e.prototype.getVisibilityMap=function(){var t=this.options.nullInteraction;return((this.data.length?this.data:this.options.data)||[]).map(function(e){return!!e&&!1!==e.visible&&(!e.isNull||!!t)&&e})},e.prototype.getXExtremes=function(t){var e=this,i=t.filter(function(t,i){return e.points[i].isValid()&&e.points[i].visible});return{min:(0,h.arrayMin)(i),max:(0,h.arrayMax)(i)}},e.prototype.init=function(){var e=this;t.prototype.init.apply(e,arguments),e.eventsToUnbind.push((0,h.addEvent)(e,"afterTranslate",function(){for(var t,i=Number.MAX_VALUE,n=0,o=e.points;n<o.length;n++){var r=o[n];r.isInside=r.isInside&&r.visible,r.visible&&(!r.isNull||e.options.nullInteraction)&&((0,h.defined)(t)&&(i=Math.min(i,Math.abs(r.plotX-t))),t=r.plotX)}e.closestPointRangePx=i})),e.eventsToUnbind.push((0,h.addEvent)(e,"drawDataLabels",function(){e.distributeDL()})),e.eventsToUnbind.push((0,h.addEvent)(e,"afterDrawDataLabels",function(){for(var t,i=0,n=e.points;i<n.length;i++){var o=n[i];(t=o.dataLabel)&&(t.animate=function(t){return this.targetPosition&&(this.targetPosition=t),this.renderer.Element.prototype.animate.apply(this,arguments)},t.targetPosition||(t.targetPosition={}),o.drawConnector())}})),e.eventsToUnbind.push((0,h.addEvent)(e.chart,"afterHideOverlappingLabel",function(){for(var t=0,i=e.points;t<i.length;t++){var n=i[t];n.dataLabel&&n.dataLabel.connector&&n.dataLabel.oldOpacity!==n.dataLabel.newOpacity&&n.alignConnector()}}))},e.prototype.markerAttribs=function(e,i){var n,o,r,s,a=this.options.marker,l=e.marker||{},p=l.symbol||(null==a?void 0:a.symbol),c=(0,h.pick)(l.width,null==a?void 0:a.width,this.closestPointRangePx),d=(0,h.pick)(l.height,null==a?void 0:a.height),u=0;if(this.xAxis.dateTime)return t.prototype.markerAttribs.call(this,e,i);i&&(r=null==(n=null==a?void 0:a.states)?void 0:n[i],s=null==(o=l.states)?void 0:o[i],u=(0,h.pick)(null==s?void 0:s.radius,null==r?void 0:r.radius,u+((null==r?void 0:r.radiusPlus)||0))),e.hasImage=!!(p&&0===p.indexOf("url"));var y={x:Math.floor(e.plotX)-c/2-u/2,y:e.plotY-d/2-u/2,width:c+u,height:d+u};return this.chart.inverted?{y:y.x&&y.width&&this.xAxis.len-y.x-y.width,x:y.y&&y.y,width:y.height,height:y.width}:y},e.defaultOptions=(0,h.merge)(L.defaultOptions,m),e}(L);(0,h.addEvent)(_,"afterProcessData",function(){var t=this.getColumn("y"),e=0;this.visibilityMap=this.getVisibilityMap();for(var i=0,n=this.visibilityMap;i<n.length;i++)n[i]&&e++;this.visiblePointsCount=e,t.length=this.dataTable.rowCount;for(var o=0;o<t.length;++o)t[o]=null===t[o]?null:1;this.dataTable.setColumn("y",t)}),(0,h.extend)(_.prototype,{drawTracker:O.prototype.drawTracker,pointClass:x,trackerGroups:["markerGroup","dataLabelsGroup"]}),d().registerSeriesType("timeline",_);var k=p();return l.default}()});