import {J,ex as L,gt as gr,c as tS,fX as XT}from'./main-WUGO6e7n.js';var o,f,a=J(()=>{o=L(gr());tS();f=(()=>{class e{transform(t){let r=this.parseDate(t);return r?this.getFromNow(r):""}parseDate(t){let r=o.default.utc(t);return r.isValid()?r:null}getFromNow(t){return t.diff(o.default.utc(),"seconds")>0?o.default.utc().local().fromNow():t.local().fromNow()}static{this.\u0275fac=function(r){return new(r||e)};}static{this.\u0275pipe=XT({name:"fromNowNoFuture",type:e,pure:!0});}}return e})();});export{a,f};