import{bb as l,bc as g}from"./index-BTglIPU2.js?v=1773287522785";function f(e,s){const n=l(e),t=l(s),o=u(n,t),r=Math.abs(g(n,t));n.setDate(n.getDate()-o*r);const i=+(u(n,t)===-o),c=o*(r-i);return c===0?0:c}function u(e,s){const n=e.getFullYear()-s.getFullYear()||e.getMonth()-s.getMonth()||e.getDate()-s.getDate()||e.getHours()-s.getHours()||e.getMinutes()-s.getMinutes()||e.getSeconds()-s.getSeconds()||e.getMilliseconds()-s.getMilliseconds();return n<0?-1:n>0?1:n}export{f as d};
