var e=10080*60*1e3;function t(t=new Date){let n=t.getTime();if(!Number.isFinite(n))throw Error(`Reference date must be valid`);return new Date(n+e)}var n=e=>typeof e==`object`&&!!e&&!Array.isArray(e);export{t as n,n as t};