1import{j as e}from"./vendor-react-BDbjtqU-.js";import{w as a}from"./index-VkZOrh42.js";import{G as i,a as n,ah as c}from"./vendor-mantine-ISvEViIM.js";import{a7 as m}from"./vendor-icons-Bz8lkBXm.js";function j({budget:s}){const o=s.allocatedMs>0?Math.min(s.usedMs/s.allocatedMs*100,100):0,r=s.overageMs>0,l=o>=80&&!r,t=r?"red":l?"yellow":"green";return e.jsxs("div",{children:[e.jsxs(i,{justify:"space-between",gap:4,mb:4,children:[e.jsxs(n,{size:"xs",fw:600,children:[a(s.usedMs)," / ",a(s.allocatedMs)]}),e.jsx(n,{size:"xs",c:r?"red":"dimmed",fw:r?500:400,children:r?e.jsxs(i,{gap:4,component:"span",children:[e.jsx(m,{size:12}),a(s.overageMs)," over"]}):`${a(s.remainingMs)} ${s.billAsRetainerOverage?"cap left":"left"}`})]}),e.jsx(c,{value:o,size:6,color:t,radius:"xl"})]})}export{j as B};
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.