import{Ua as f,of as o}from"./chunk-WOSO3QBJ.js";import{i}from"./chunk-C2HMJUB7.js";var h=(()=>{let a=class a{transform(n){let l=new Date(n),e=Math.floor((Date.now()-l.getTime())/1e3),r=Math.floor(e/31536e3);return r>=1?o("{interval, plural, =1 {1 \xE9ve} other {{interval} \xE9ve}}",{interval:r}):(r=Math.floor(e/2419200),r>=12?"1 \xE9ve":r>=1?o("{interval, plural, =1 {1 h\xF3napja} other {{interval} h\xF3napja}}",{interval:r}):(r=Math.floor(e/604800),r>=4?"1 h\xF3napja":r>=1?o("{interval, plural, =1 {1 hete} other {{interval} hete}}",{interval:r}):(r=Math.floor(e/86400),r>=1?o("{interval, plural, =1 {1 napja} other {{interval} napja}}",{interval:r}):(r=Math.floor(e/3600),r>=1?o("{interval, plural, =1 {1 \xF3r\xE1ja} other {{interval} \xF3r\xE1ja}}",{interval:r}):(r=Math.floor(e/60),r>=1?""+r+" perce ":"\xE9pp most")))));}};i(a,"\u0275fac",function(l){return new(l||a)();}),i(a,"\u0275pipe",f({name:"myFromNow",type:a,pure:!0}));let t=a;return t;})();export{h as a};/**i18n:b44b17e72e4b9ae03afb92709eafda64a985c0c8f0453c865708cceafe42f927*///# sourceMappingURL=chunk-YAXIPU7Q.js.map