import{a3 as l,_ as f}from"./index-Cc987VYg.js";function u(n,a,t){const[e,o]=l(t?.in,n,a),r=e.getFullYear()-o.getFullYear(),s=e.getMonth()-o.getMonth();return r*12+s}function c(n,a){const t=f(n,a?.in),e=t.getMonth();return t.setFullYear(t.getFullYear(),e+1,0),t.setHours(23,59,59,999),t}export{u as d,c as e};
