const h=e=>{if(!e)return"";const t=new Date(e),r=t.getFullYear(),s=String(t.getMonth()+1).padStart(2,"0"),o=String(t.getDate()).padStart(2,"0");return`${r}-${s}-${o}`},p=e=>{if(!e)return"";const t=new Date(e),r=t.getFullYear(),s=String(t.getMonth()+1).padStart(2,"0"),o=String(t.getDate()).padStart(2,"0"),n=String(t.getHours()).padStart(2,"0"),i=String(t.getMinutes()).padStart(2,"0"),a=String(t.getSeconds()).padStart(2,"0");return`${r}-${s}-${o} ${n}:${i}:${a}`},y=e=>{if(!e)return"";const t=new Date(e),r=String(t.getDate()).padStart(2,"0"),o=["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"][t.getMonth()],n=t.getFullYear();return`${r} ${o} ${n}`};function b(e,t){const r=new Date(e),s=r.getFullYear(),o=r.getMonth()+1,n=r.getDate(),i=o+t;let a=i%12,c=s+Math.floor(i/12);a===0&&(a=12,c--);let u=n;const l=S(a,c);u>l&&(u=l);const g=new Date(c,a-1,u),d=g.getFullYear(),f=String(g.getMonth()+1).padStart(2,"0"),m=String(g.getDate()).padStart(2,"0");return`${d}-${f}-${m}`}function S(e,t){return e===2?t%4===0&&t%100!==0||t%400===0?29:28:[4,6,9,11].includes(e)?30:31}function $(e){if(e==null)return"";let t=typeof e=="string"?parseFloat(e):e;if(isNaN(t))return"";const r=t<0?-1:1;t=Math.abs(t);const[s,o]=t.toString().split(".");let n="",i=0;for(let a=s.length-1;a>=0;a--)n=s[a]+n,i++,i%3===0&&a!==0&&(n="."+n);return o!==void 0&&(n+=","+o),r<0?"-"+n:n}export{y as a,$ as b,p as c,h as f,b as h};
