import{b as c}from"./chunk-VEDVAH3Q.js";import"./chunk-VRJRIDMR.js";import{a as f}from"./chunk-6UATH3Y7.js";import{Gl as a,Pg as t}from"./chunk-TG37UPPQ.js";import{g as B,i as l}from"./chunk-5KVR56NM.js";l();var n=B(f());var i=n.LinearGauge,d=class extends c{constructor(r,o){super(r,o)}prepareGaugeOptions(r,o){let s=this.ctx.data[0].dataKey,e=r.defaultColor||s.color,p=a(e).darken().setAlpha(.6).toRgbString(),S=a(e).setAlpha(.05).toRgbString(),k=a(e).darken().toRgbString();o.barStrokeWidth=t(r.barStrokeWidth)&&r.barStrokeWidth!==null?r.barStrokeWidth:2.5,o.colorBarStroke=r.colorBarStroke||p,o.colorBar=r.colorBar||"#fff",o.colorBarEnd=r.colorBarEnd||"#ddd",o.colorBarProgress=r.colorBarProgress||S,o.colorBarProgressEnd=r.colorBarProgressEnd||k}createGauge(r){return new i(r)}};export{d as TbAnalogueLinearGauge};
