import{b as c}from"./chunk-IJERUV6T.js";import"./chunk-C5X6SCSP.js";import{a as f}from"./chunk-XC6GVIMQ.js";import{Kg as t,ul as a}from"./chunk-J3OKDS6D.js";import{g as B,i as l}from"./chunk-Z427YWOQ.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};
