1import{k as c,l as n,m as o,v as s,A as l,s as p,q as d,G as f,w as g,c as i}from"./Clay7K6k.js";try{let e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="7810e3a5-749e-44a9-960f-10e0b32f6d39",e._sentryDebugIdIdentifier="sentry-dbid-7810e3a5-749e-44a9-960f-10e0b32f6d39")}catch(e){}const y=c({__name:"ProgressBar",props:{currentStep:{default:0},totalSteps:{default:1},showPercentage:{type:Boolean,default:!1},size:{default:"small"},percentColor:{},barBg:{},isCurrentStep:{type:Boolean,default:!1},hasShadow:{type:Boolean}},setup(e){const t=e,r=i(()=>t.currentStep<=0||t.totalSteps<=0?0:t.currentStep>=t.totalSteps?100:Math.ceil(100*t.currentStep/t.totalSteps)),u=i(()=>r.value===0?"width: 0; min-width: 0;":r.value>=100?"width: 100%;":"width: calc(".concat(r.value,"% - 1px); min-width: 1px;"));return(a,b)=>(n(),o("div",{class:s(["progress-bar-wrapper","progress-bar-wrapper--".concat(e.size)])},[l("div",{class:s(["progress-bar",e.barBg||"bg-neutral-100",e.isCurrentStep&&"progress-bar--current-step",e.hasShadow?"!shadow-soften-small":"!shadow-none"])},[l("div",{class:"progress-bar__item",style:p(d(u))},null,4)],2),e.showPercentage&&!a.$slots.customEnd?(n(),o("b",{key:0,class:s(e.percentColor)},"%"+f(d(r)),3)):g(a.$slots,"customEnd",{key:1})],2))}});export{y as _};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.