UNPKG

@accounter/client

Version:
1 lines 315 B
import{t as e}from"./subMonths-BpBa52PH.js";import{Fl as t,Il as n}from"./index-CSYTUOOk.js";function r(e,n,r){return t(e,-n,r)}function i(t,i,a){let{years:o=0,months:s=0,weeks:c=0,days:l=0,hours:u=0,minutes:d=0,seconds:f=0}=i,p=r(e(t,s+o*12,a),l+c*7,a),m=(f+(d+u*60)*60)*1e3;return n(a?.in||t,+p-m)}export{i as t};