import{I as r}from"./Bzcv36_K.js";import{u as n,B as c}from"./Dm_4r1sC.js";import{d as i,b as d,H as m,f as a,e as f,w as p,j as l,E as u,D}from"./DrjE4E2T.js";const _=i({__name:"date-badge",props:{date:{},variant:{}},setup(s){const e=n(),t=e(s.date);return e().format("YYYY-MM-DD"),(o,g)=>a(t).isValid()?(f(),d(a(c),{key:0,variant:o.variant,class:"flex gap-2"},{default:p(()=>[l(a(r),{icon:"lucide:calendar"}),u(" "+D(a(t).fromNow()),1)]),_:1},8,["variant"])):m("",!0)}}),v=Object.assign(_,{__name:"UtilityDateBadge"});export{v as D};
