)+s;default:throw new Error("Unknown unit "+e)}}function rs(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*S(this._months/12)}function as(e){return function(){return this.as(e)}}function os(e){return e=L(e),this[e+"s"]()}function us(e){return function(){return this._data[e]}}function ls(){return v(this.days()/7)}function ds(e,t,n,s,i){return i.relativeTime(t||1,!!n,e,s)}function hs(e,t,n){var s=Nt(e).abs(),i=_r(s.as("s")),r=_r(s.as("m")),a=_r(s.as("h")),o=_r(s.as("d")),u=_r(s.as