},humanize:function(a){varb=ib(this,!a,this.localeData());returna&&(b=this.localeData().pastFuture(+this,b)),this.localeData().postformat(b)},add:function(a,b){varc=vb.duration(a,b);returnthis._milliseconds+=c._milliseconds,this._days+=c._days,this._months+=c._months,this._bubble(),this},subtract:function(a,b){varc=vb.duration(a,b);returnthis._milliseconds-=c._milliseconds,this._days-=c._days,this._months-=c._months,this._bubble(),this},get:function(a){returna=z(a),this[a.toLowerCase()+"s"]()},as:function(a){varb,c;if(a=z(a),"month"===a||"year"===a)returnb=this._days+this._milliseconds/864e5,c=this._months+12*rb(b),"month"===a?c:c/12;switch(b=this._days+Math.round(sb(this._months/12)),a){case"week":returnb/7+this._milliseconds/6048e5;case"day":returnb+this._milliseconds/864e5;case"hour":return24*b+this._milliseconds/36e5;case"minute":return24*b*60+this._milliseconds/6e4;case"second":return24*b*60*60+this._milliseconds/1e3;case"millisecond":returnMath.floor(24*b*60*60*1e3)+this._milliseconds;default:thrownewError("Unknown unit "+a)}},lang:vb.fn.lang,locale:vb.fn.locale,toIsoString:f("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",function(){returnthis.toISOString()}),toISOString:function(){vara=Math.abs(this.years()),b=Math.abs(this.months()),c=Math.abs(this.days()),d=Math.abs(this.hours()),e=Math.abs(this.minutes()),f=Math.abs(this.seconds()+this.milliseconds()/1e3);returnthis.asSeconds()?(this.asSeconds()<0?"-":"")+"P"+(a?a+"Y":"")+(b?b+"M":"")+(c?c+"D":"")+(d||e||f?"T":"")+(d?d+"H":"")+(e?e+"M":"")+(f?f+"S":""):"P0D"},localeData:function(){returnthis._locale},toJSON:function(){returnthis.toISOString()}}),vb.duration.fn.toString=vb.duration.fn.toISOString;for(xbinkc)c(kc,xb)&&tb(xb.toLowerCase());vb.duration.fn.asMilliseconds=function(){returnthis.as("ms")},vb.duration.fn.asSeconds=function(){returnthis.as("s")},vb.duration.fn.asMinutes=function(){returnthis.as("m")},vb.duration.fn.asHours=function(){returnthis.as("h")},vb.duration.fn.asDays=function(){returnthis.as("d")},vb.duration.fn.asWeeks=function(){returnthis.as("weeks")},vb.duration.fn.asMonths=function(){returnthis.as("M")},vb.duration.fn.asYears=function(){returnthis.as("y")},vb.locale("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(a){varb=a%10,c=1===C(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";returna+c}}),Lb?module.exports=vb:"function"==typeofdefine&&define.amd?(define(function(a,b,c){returnc.config&&c.config()&&c.config().noGlobal===!0&&(zb.moment=wb),vb}),ub(!0)):ub()}).call(this);