import{o as A}from"./entry.223f6570.js";function _(p,o){for(var e=0;e<o.length;e++){const i=o[e];if(typeof i!="string"&&!Array.isArray(i)){for(const r in i)if(r!=="default"&&!(r in p)){const s=Object.getOwnPropertyDescriptor(i,r);s&&Object.defineProperty(p,r,s.get?s:{enumerable:!0,get:()=>i[r]})}}}return Object.freeze(Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}))}var B={exports:{}};(function(p){(function(o){p.exports?(o.default=o,p.exports=o):o(typeof Highcharts<"u"?Highcharts:void 0)})(function(o){var e=o?o._modules:{};function i(r,s,c,x){r.hasOwnProperty(s)||(r[s]=x.apply(null,c),typeof CustomEvent=="function"&&o.win.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:s,module:r[s]}})))}i(e,"Series/Bullet/BulletPoint.js",[e["Series/Column/ColumnSeries.js"]],function(r){class s extends r.prototype.pointClass{destroy(){this.targetGraphic&&(this.targetGraphic=this.targetGraphic.destroy()),super.destroy.apply(this,arguments)}}return s}),i(e,"Series/Bullet/BulletSeriesDefaults.js",[],function(){return{targetOptions:{width:"140%",height:3,borderWidth:0,borderRadius:0},tooltip:{pointFormat:'<span style="color:{series.color}">●</span> {series.name}: <b>{point.y}</b>. Target: <b>{point.target}</b><br/>'}}}),i(e,"Series/Bullet/BulletSeries.js",[e["Series/Bullet/BulletPoint.js"],e["Series/Bullet/BulletSeriesDefaults.js"],e["Series/Column/ColumnSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(r,s,c,x,E){let{extend:P,isNumber:u,merge:j,pick:m,relativeLength:G}=E;class g extends c{drawPoints(){let d=this.chart,l=this.options,f=l.animationLimit||250;for(let t of(super.drawPoints.apply(this,arguments),this.points)){let M=t.options,y=t.target,b=t.y,C,a=t.targetGraphic,S,v,n,w;if(u(y)&&y!==null){v=(n=j(l.targetOptions,M.targetOptions)).height;let h=t.shapeArgs;t.dlBox&&h&&!u(h.width)&&(h=t.dlBox),S=G(n.width,h.width),w=this.yAxis.translate(y,!1,!0,!1,!0)-n.height/2-.5,C=this.crispCol.apply({chart:d,borderWidth:n.borderWidth,options:{crisp:l.crisp}},[h.x+h.width/2-S/2,w,S,v]),a?(a[d.pointCount<f?"animate":"attr"](C),u(b)&&b!==null?a.element.point=t:a.element.point=void 0):t.targetGraphic=a=d.renderer.rect().attr(C).add(this.group),d.styledMode||a.attr({fill:m(n.color,M.color,this.zones.length&&(t.getZone.call({series:this,x:t.x,y,options:{}}).color||this.color)||void 0,t.color,this.color),stroke:m(n.borderColor,t.borderColor,this.options.borderColor),"stroke-width":n.borderWidth,r:n.borderRadius}),u(b)&&b!==null&&(a.element.point=t),a.addClass(t.getClassName()+" highcharts-bullet-target",!0)}else a&&(t.targetGraphic=a.destroy())}}getExtremes(d){let l=super.getExtremes.call(this,d),f=this.targetData;if(f&&f.length){let t=super.getExtremes.call(this,f);u(t.dataMin)&&(l.dataMin=Math.min(m(l.dataMin,1/0),t.dataMin)),u(t.dataMax)&&(l.dataMax=Math.max(m(l.dataMax,-1/0),t.dataMax))}return l}}return g.defaultOptions=j(c.defaultOptions,s),P(g.prototype,{parallelArrays:["x","y","target"],pointArrayMap:["y","target"]}),g.prototype.pointClass=r,x.registerSeriesType("bullet",g),g}),i(e,"masters/modules/bullet.src.js",[e["Core/Globals.js"]],function(r){return r})})})(B);var O=B.exports;const D=A(O),H=_({__proto__:null,default:D},[O]);export{H as b};
