import{j as r}from"./vendor-react-wBh_31cN.js";import{d as a}from"./index-dNe6i2rS.js";const s={default:"bg-quartz-primary",warning:"bg-quartz-label-orange"};function i({value:l,className:t,variant:e="default"}){const o=Math.max(0,Math.min(100,l));return r.jsx("div",{"data-slot":"progress",className:a("h-2 w-full overflow-hidden rounded-full bg-muted-foreground/20",t),children:r.jsx("div",{className:a("h-full rounded-full transition-all",s[e]),style:{width:`${o}%`}})})}export{i as P};
