2),o%=12,u.days=a,u.months=o,u.years=s,this}function ns(e){return 4800*e/146097}function ss(e){return 146097*e/4800}function is(e){var t,n,s=this._milliseconds;if(e=L(e),"month"===e||"year"===e)return t=this._days+s/864e5,n=this._months+ns(t),"month"===e?n:n/12;switch(t=this._days+Math.round(ss(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return 24*t+s/36e5;case"minute":return 1440*t+s/6e4;case"second":return 86400*t+s/1e3;case"millisecond":return Math.floor(864e5*t