import{j as a,bi as e}from"./app-BgLa5dit.js";const c=({expiryDate:s})=>{const t=()=>{const r=new Date,o=e.add(r,3,"months"),n=e.add(r,1,"year");return e.isBefore(s,o)?"text-danger":e.isBefore(s,n)?"text-warning":"text-success"};return a.jsxs("span",{className:`ms-5 ${t()}`,children:["Expires: ",e.format(s,"YYYY-MM-DD")]})};export{c as S};
//# sourceMappingURL=DjR16E2i.chunk.js.map
