//! moment.js //! version : 2.18.1 //! authors : tim wood, iskren chernev, moment.js contributors //! license : mit //! momentjs.com !function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):a.moment=b()}(this,function(){"use strict";function a(){return sd.apply(null,arguments)}function b(a){sd=a}function c(a){return a instanceof array||"[object array]"===object.prototype.tostring.call(a)}function d(a){return null!=a&&"[object object]"===object.prototype.tostring.call(a)}function e(a){var b;for(b in a)return!1;return!0}function f(a){return void 0===a}function g(a){return"number"==typeof a||"[object number]"===object.prototype.tostring.call(a)}function h(a){return a instanceof date||"[object date]"===object.prototype.tostring.call(a)}function i(a,b){var c,d=[];for(c=0;c0)for(c=0;c0?"future":"past"];return z(c)?c(b):c.replace(/%s/i,b)}function j(a,b){var c=a.tolowercase();hd[c]=hd[c+"s"]=hd[b]=a}function k(a){return"string"==typeof a?hd[a]||hd[a.tolowercase()]:void 0}function l(a){var b,c,d={};for(c in a)j(a,c)&&(b=k(c),b&&(d[b]=a[c]));return d}function m(a,b){id[a]=b}function n(a){var b=[];for(var c in a)b.push({unit:c,priority:id[c]});return b.sort(function(a,b){return a.priority-b.priority}),b}function o(b,c){return function(d){return null!=d?(q(this,b,d),a.updateoffset(this,c),this):p(this,b)}}function p(a,b){return a.isvalid()?a._d["get"+(a._isutc?"utc":"")+b]():nan}function q(a,b,c){a.isvalid()&&a._d["set"+(a._isutc?"utc":"")+b](c)}function r(a){return a=k(a),z(this[a])?this[a]():this}function s(a,b){if("object"==typeof a){a=l(a);for(var c=n(a),d=0;d=0;return(f?c?"+":"":"-")+math.pow(10,math.max(0,e)).tostring().substr(1)+d}function u(a,b,c,d){var e=d;"string"==typeof d&&(e=function(){return this[d]()}),a&&(md[a]=e),b&&(md[b[0]]=function(){return t(e.apply(this,arguments),b[1],b[2])}),c&&(md[c]=function(){return this.localedata().ordinal(e.apply(this,arguments),a)})}function v(a){return a.match(/\[[\s\s]/)?a.replace(/^\[|\]$/g,""):a.replace(/\\/g,"")}function w(a){var b,c,d=a.match(jd);for(b=0,c=d.length;b=0&&kd.test(a);)a=a.replace(kd,c),kd.lastindex=0,d-=1;return a}function z(a,b,c){ce[a]=z(b)?b:function(a,d){return a&&c?c:b}}function $(a,b){return j(ce,a)?ce[a](b._strict,b._locale):new regexp(_(a))}function _(a){return aa(a.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(a,b,c,d,e){return b||c||d||e}))}function aa(a){return a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ba(a,b){var c,d=b;for("string"==typeof a&&(a=[a]),g(b)&&(d=function(a,c){c[b]=u(a)}),c=0;c=0&&isfinite(h.getfullyear())&&h.setfullyear(a),h}function ta(a){var b=new date(date.utc.apply(null,arguments));return a<100&&a>=0&&isfinite(b.getutcfullyear())&&b.setutcfullyear(a),b}function ua(a,b,c){var d=7+b-c,e=(7+ta(a,0,d).getutcday()-b)%7;return-e+d-1}function va(a,b,c,d,e){var f,g,h=(7+c-d)%7,i=ua(a,d,e),j=1+7*(b-1)+h+i;return j<=0?(f=a-1,g=pa(f)+j):j>pa(a)?(f=a+1,g=j-pa(a)):(f=a,g=j),{year:f,dayofyear:g}}function wa(a,b,c){var d,e,f=ua(a.year(),b,c),g=math.floor((a.dayofyear()-f-1)/7)+1;return g<1?(e=a.year()-1,d=g+xa(e,b,c)):g>xa(a.year(),b,c)?(d=g-xa(a.year(),b,c),e=a.year()+1):(e=a.year(),d=g),{week:d,year:e}}function xa(a,b,c){var d=ua(a,b,c),e=ua(a+1,b,c);return(pa(a)-d+e)/7}function ya(a){return wa(a,this._week.dow,this._week.doy).week}function za(){return this._week.dow}function aa(){return this._week.doy}function ba(a){var b=this.localedata().week(this);return null==a?b:this.add(7*(a-b),"d")}function ca(a){var b=wa(this,1,4).week;return null==a?b:this.add(7*(a-b),"d")}function da(a,b){return"string"!=typeof a?a:isnan(a)?(a=b.weekdaysparse(a),"number"==typeof a?a:null):parseint(a,10)}function ea(a,b){return"string"==typeof a?b.weekdaysparse(a)%7||7:isnan(a)?null:a}function fa(a,b){return a?c(this._weekdays)?this._weekdays[a.day()]:this._weekdays[this._weekdays.isformat.test(b)?"format":"standalone"][a.day()]:c(this._weekdays)?this._weekdays:this._weekdays.standalone}function ga(a){return a?this._weekdaysshort[a.day()]:this._weekdaysshort}function ha(a){return a?this._weekdaysmin[a.day()]:this._weekdaysmin}function ia(a,b,c){var d,e,f,g=a.tolocalelowercase();if(!this._weekdaysparse)for(this._weekdaysparse=[],this._shortweekdaysparse=[],this._minweekdaysparse=[],d=0;d<7;++d)f=l([2e3,1]).day(d),this._minweekdaysparse[d]=this.weekdaysmin(f,"").tolocalelowercase(),this._shortweekdaysparse[d]=this.weekdaysshort(f,"").tolocalelowercase(),this._weekdaysparse[d]=this.weekdays(f,"").tolocalelowercase();return c?"dddd"===b?(e=ne.call(this._weekdaysparse,g),e!==-1?e:null):"ddd"===b?(e=ne.call(this._shortweekdaysparse,g),e!==-1?e:null):(e=ne.call(this._minweekdaysparse,g),e!==-1?e:null):"dddd"===b?(e=ne.call(this._weekdaysparse,g),e!==-1?e:(e=ne.call(this._shortweekdaysparse,g),e!==-1?e:(e=ne.call(this._minweekdaysparse,g),e!==-1?e:null))):"ddd"===b?(e=ne.call(this._shortweekdaysparse,g),e!==-1?e:(e=ne.call(this._weekdaysparse,g),e!==-1?e:(e=ne.call(this._minweekdaysparse,g),e!==-1?e:null))):(e=ne.call(this._minweekdaysparse,g),e!==-1?e:(e=ne.call(this._weekdaysparse,g),e!==-1?e:(e=ne.call(this._shortweekdaysparse,g),e!==-1?e:null)))}function ja(a,b,c){var d,e,f;if(this._weekdaysparseexact)return ia.call(this,a,b,c);for(this._weekdaysparse||(this._weekdaysparse=[],this._minweekdaysparse=[],this._shortweekdaysparse=[],this._fullweekdaysparse=[]),d=0;d<7;d++){if(e=l([2e3,1]).day(d),c&&!this._fullweekdaysparse[d]&&(this._fullweekdaysparse[d]=new regexp("^"+this.weekdays(e,"").replace(".",".?")+"$","i"),this._shortweekdaysparse[d]=new regexp("^"+this.weekdaysshort(e,"").replace(".",".?")+"$","i"),this._minweekdaysparse[d]=new regexp("^"+this.weekdaysmin(e,"").replace(".",".?")+"$","i")),this._weekdaysparse[d]||(f="^"+this.weekdays(e,"")+"|^"+this.weekdaysshort(e,"")+"|^"+this.weekdaysmin(e,""),this._weekdaysparse[d]=new regexp(f.replace(".",""),"i")),c&&"dddd"===b&&this._fullweekdaysparse[d].test(a))return d;if(c&&"ddd"===b&&this._shortweekdaysparse[d].test(a))return d;if(c&&"dd"===b&&this._minweekdaysparse[d].test(a))return d;if(!c&&this._weekdaysparse[d].test(a))return d}}function ka(a){if(!this.isvalid())return null!=a?this:nan;var b=this._isutc?this._d.getutcday():this._d.getday();return null!=a?(a=da(a,this.localedata()),this.add(a-b,"d")):b}function la(a){if(!this.isvalid())return null!=a?this:nan;var b=(this.day()+7-this.localedata()._week.dow)%7;return null==a?b:this.add(a-b,"d")}function ma(a){if(!this.isvalid())return null!=a?this:nan;if(null!=a){var b=ea(a,this.localedata());return this.day(this.day()%7?b:b-7)}return this.day()||7}function na(a){return this._weekdaysparseexact?(j(this,"_weekdaysregex")||qa.call(this),a?this._weekdaysstrictregex:this._weekdaysregex):(j(this,"_weekdaysregex")||(this._weekdaysregex=ye),this._weekdaysstrictregex&&a?this._weekdaysstrictregex:this._weekdaysregex)}function oa(a){return this._weekdaysparseexact?(j(this,"_weekdaysregex")||qa.call(this),a?this._weekdaysshortstrictregex:this._weekdaysshortregex):(j(this,"_weekdaysshortregex")||(this._weekdaysshortregex=ze),this._weekdaysshortstrictregex&&a?this._weekdaysshortstrictregex:this._weekdaysshortregex)}function pa(a){return this._weekdaysparseexact?(j(this,"_weekdaysregex")||qa.call(this),a?this._weekdaysminstrictregex:this._weekdaysminregex):(j(this,"_weekdaysminregex")||(this._weekdaysminregex=ae),this._weekdaysminstrictregex&&a?this._weekdaysminstrictregex:this._weekdaysminregex)}function qa(){function a(a,b){return b.length-a.length}var b,c,d,e,f,g=[],h=[],i=[],j=[];for(b=0;b<7;b++)c=l([2e3,1]).day(b),d=this.weekdaysmin(c,""),e=this.weekdaysshort(c,""),f=this.weekdays(c,""),g.push(d),h.push(e),i.push(f),j.push(d),j.push(e),j.push(f);for(g.sort(a),h.sort(a),i.sort(a),j.sort(a),b=0;b<7;b++)h[b]=aa(h[b]),i[b]=aa(i[b]),j[b]=aa(j[b]);this._weekdaysregex=new regexp("^("+j.join("|")+")","i"),this._weekdaysshortregex=this._weekdaysregex,this._weekdaysminregex=this._weekdaysregex,this._weekdaysstrictregex=new regexp("^("+i.join("|")+")","i"),this._weekdaysshortstrictregex=new regexp("^("+h.join("|")+")","i"),this._weekdaysminstrictregex=new regexp("^("+g.join("|")+")","i")}function ra(){return this.hours()%12||12}function sa(){return this.hours()||24}function ta(a,b){u(a,0,0,function(){return this.localedata().meridiem(this.hours(),this.minutes(),b)})}function ua(a,b){return b._meridiemparse}function va(a){return"p"===(a+"").tolowercase().charat(0)}function wa(a,b,c){return a>11?c?"pm":"pm":c?"am":"am"}function xa(a){return a?a.tolowercase().replace("_","-"):a}function ya(a){for(var b,c,d,e,f=0;f0;){if(d=za(e.slice(0,b).join("-")))return d;if(c&&c.length>=b&&v(e,c,!0)>=b-1)break;b--}f++}return null}function za(a){var b=null;if(!fe[a]&&"undefined"!=typeof module&&module&&module.exports)try{b=be._abbr,require("./locale/"+a),$a(b)}catch(a){}return fe[a]}function $a(a,b){var c;return a&&(c=f(b)?bb(a):_a(a,b),c&&(be=c)),be._abbr}function _a(a,b){if(null!==b){var c=ee;if(b.abbr=a,null!=fe[a])y("definelocaleoverride","use moment.updatelocale(localename, config) to change an existing locale. moment.definelocale(localename, config) should only be used for creating a new locale see http://momentjs.com/guides/#/warnings/define-locale/ for more info."),c=fe[a]._config;else if(null!=b.parentlocale){if(null==fe[b.parentlocale])return ge[b.parentlocale]||(ge[b.parentlocale]=[]),ge[b.parentlocale].push({name:a,config:b}),null;c=fe[b.parentlocale]._config}return fe[a]=new c(b(c,b)),ge[a]&&ge[a].foreach(function(a){_a(a.name,a.config)}),$a(a),fe[a]}return delete fe[a],null}function ab(a,b){if(null!=b){var c,d=ee;null!=fe[a]&&(d=fe[a]._config),b=b(d,b),c=new c(b),c.parentlocale=fe[a],fe[a]=c,$a(a)}else null!=fe[a]&&(null!=fe[a].parentlocale?fe[a]=fe[a].parentlocale:null!=fe[a]&&delete fe[a]);return fe[a]}function bb(a){var b;if(a&&a._locale&&a._locale._abbr&&(a=a._locale._abbr),!a)return be;if(!c(a)){if(b=za(a))return b;a=[a]}return ya(a)}function cb(){return ad(fe)}function db(a){var b,c=a._a;return c&&n(a).overflow===-2&&(b=c[fe]<0||c[fe]>11?fe:c[ge]<1||c[ge]>ea(c[ee],c[fe])?ge:c[he]<0||c[he]>24||24===c[he]&&(0!==c[ie]||0!==c[je]||0!==c[ke])?he:c[ie]<0||c[ie]>59?ie:c[je]<0||c[je]>59?je:c[ke]<0||c[ke]>999?ke:-1,n(a)._overflowdayofyear&&(bge)&&(b=ge),n(a)._overflowweeks&&b===-1&&(b=le),n(a)._overflowweekday&&b===-1&&(b=me),n(a).overflow=b),a}function eb(a){var b,c,d,e,f,g,h=a._i,i=he.exec(h)||ie.exec(h);if(i){for(n(a).iso=!0,b=0,c=ke.length;b10?"yyyy ":"yy "),f="hh:mm"+(c[4]?":ss":""),c[1]){var l=new date(c[2]),m=["sun","mon","tue","wed","thu","fri","sat"][l.getday()];if(c[1].substr(0,3)!==m)return n(a).weekdaymismatch=!0,void(a._isvalid=!1)}switch(c[5].length){case 2:0===i?h=" +0000":(i=k.indexof(c[5][1].touppercase())-12,h=(i<0?" -":" +")+(""+i).replace(/^-?/,"0").match(/..$/)[0]+"00");break;case 4:h=j[c[5]];break;default:h=j[" gmt"]}c[5]=h,a._i=c.splice(1).join(""),g=" zz",a._f=d+e+f+g,lb(a),n(a).rfc2822=!0}else a._isvalid=!1}function gb(b){var c=me.exec(b._i);return null!==c?void(b._d=new date(+c[1])):(eb(b),void(b._isvalid===!1&&(delete b._isvalid,fb(b),b._isvalid===!1&&(delete b._isvalid,a.createfrominputfallback(b)))))}function hb(a,b,c){return null!=a?a:null!=b?b:c}function ib(b){var c=new date(a.now());return b._useutc?[c.getutcfullyear(),c.getutcmonth(),c.getutcdate()]:[c.getfullyear(),c.getmonth(),c.getdate()]}function jb(a){var b,c,d,e,f=[];if(!a._d){for(d=ib(a),a._w&&null==a._a[ge]&&null==a._a[fe]&&kb(a),null!=a._dayofyear&&(e=hb(a._a[ee],d[ee]),(a._dayofyear>pa(e)||0===a._dayofyear)&&(n(a)._overflowdayofyear=!0),c=ta(e,0,a._dayofyear),a._a[fe]=c.getutcmonth(),a._a[ge]=c.getutcdate()),b=0;b<3&&null==a._a[b];++b)a._a[b]=f[b]=d[b];for(;b<7;b++)a._a[b]=f[b]=null==a._a[b]?2===b?1:0:a._a[b];24===a._a[he]&&0===a._a[ie]&&0===a._a[je]&&0===a._a[ke]&&(a._nextday=!0,a._a[he]=0),a._d=(a._useutc?ta:sa).apply(null,f),null!=a._tzm&&a._d.setutcminutes(a._d.getutcminutes()-a._tzm),a._nextday&&(a._a[he]=24)}}function kb(a){var b,c,d,e,f,g,h,i;if(b=a._w,null!=b.gg||null!=b.w||null!=b.e)f=1,g=4,c=hb(b.gg,a._a[ee],wa(tb(),1,4).year),d=hb(b.w,1),e=hb(b.e,1),(e<1||e>7)&&(i=!0);else{f=a._locale._week.dow,g=a._locale._week.doy;var j=wa(tb(),f,g);c=hb(b.gg,a._a[ee],j.year),d=hb(b.w,j.week),null!=b.d?(e=b.d,(e<0||e>6)&&(i=!0)):null!=b.e?(e=b.e+f,(b.e<0||b.e>6)&&(i=!0)):e=f}d<1||d>xa(c,f,g)?n(a)._overflowweeks=!0:null!=i?n(a)._overflowweekday=!0:(h=va(c,d,e,f,g),a._a[ee]=h.year,a._dayofyear=h.dayofyear)}function lb(b){if(b._f===a.iso_8601)return void eb(b);if(b._f===a.rfc_2822)return void fb(b);b._a=[],n(b).empty=!0;var c,d,e,f,g,h=""+b._i,i=h.length,j=0;for(e=y(b._f,b._locale).match(jd)||[],c=0;c0&&n(b).unusedinput.push(g),h=h.slice(h.indexof(d)+d.length),j+=d.length),md[f]?(d?n(b).empty=!1:n(b).unusedtokens.push(f),da(f,d,b)):b._strict&&!d&&n(b).unusedtokens.push(f);n(b).charsleftover=i-j,h.length>0&&n(b).unusedinput.push(h),b._a[he]<=12&&n(b).bighour===!0&&b._a[he]>0&&(n(b).bighour=void 0),n(b).parseddateparts=b._a.slice(0),n(b).meridiem=b._meridiem,b._a[he]=mb(b._locale,b._a[he],b._meridiem),jb(b),db(b)}function mb(a,b,c){var d;return null==c?b:null!=a.meridiemhour?a.meridiemhour(b,c):null!=a.ispm?(d=a.ispm(c),d&&b<12&&(b+=12),d||12!==b||(b=0),b):b}function nb(a){var b,c,d,e,f;if(0===a._f.length)return n(a).invalidformat=!0,void(a._d=new date(nan));for(e=0;ethis.clone().month(0).utcoffset()||this.utcoffset()>this.clone().month(5).utcoffset()}function ob(){if(!f(this._isdstshifted))return this._isdstshifted;var a={};if(q(a,this),a=qb(a),a._a){var b=a._isutc?l(a._a):tb(a._a);this._isdstshifted=this.isvalid()&&v(a._a,b.toarray())>0}else this._isdstshifted=!1;return this._isdstshifted}function pb(){return!!this.isvalid()&&!this._isutc}function qb(){return!!this.isvalid()&&this._isutc}function rb(){return!!this.isvalid()&&(this._isutc&&0===this._offset)}function sb(a,b){var c,d,e,f=a,h=null;return bb(a)?f={ms:a._milliseconds,d:a._days,m:a._months}:g(a)?(f={},b?f[b]=a:f.milliseconds=a):(h=te.exec(a))?(c="-"===h[1]?-1:1,f={y:0,d:u(h[ge])*c,h:u(h[he])*c,m:u(h[ie])*c,s:u(h[je])*c,ms:u(cb(1e3*h[ke]))*c}):(h=ue.exec(a))?(c="-"===h[1]?-1:1,f={y:tb(h[2],c),m:tb(h[3],c),w:tb(h[4],c),d:tb(h[5],c),h:tb(h[6],c),m:tb(h[7],c),s:tb(h[8],c)}):null==f?f={}:"object"==typeof f&&("from"in f||"to"in f)&&(e=vb(tb(f.from),tb(f.to)),f={},f.ms=e.milliseconds,f.m=e.months),d=new ab(f),bb(a)&&j(a,"_locale")&&(d._locale=a._locale),d}function tb(a,b){var c=a&&parsefloat(a.replace(",","."));return(isnan(c)?0:c)*b}function ub(a,b){var c={milliseconds:0,months:0};return c.months=b.month()-a.month()+12*(b.year()-a.year()),a.clone().add(c.months,"m").isafter(b)&&--c.months,c.milliseconds=+b-+a.clone().add(c.months,"m"),c}function vb(a,b){var c;return a.isvalid()&&b.isvalid()?(b=fb(b,a),a.isbefore(b)?c=ub(a,b):(c=ub(b,a),c.milliseconds=-c.milliseconds,c.months=-c.months),c):{milliseconds:0,months:0}}function wb(a,b){return function(c,d){var e,f;return null===d||isnan(+d)||(y(b,"moment()."+b+"(period, number) is deprecated. please use moment()."+b+"(number, period). see http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),f=c,c=d,d=f),c="string"==typeof c?+c:c,e=sb(c,d),xb(this,e,a),this}}function xb(b,c,d,e){var f=c._milliseconds,g=cb(c._days),h=cb(c._months);b.isvalid()&&(e=null==e||e,f&&b._d.settime(b._d.valueof()+f*d),g&&q(b,"date",p(b,"date")+g*d),h&&ja(b,p(b,"month")+h*d),e&&a.updateoffset(b,g||h))}function yb(a,b){var c=a.diff(b,"days",!0);return c<-6?"sameelse":c<-1?"lastweek":c<0?"lastday":c<1?"sameday":c<2?"nextday":c<7?"nextweek":"sameelse"}function zb(b,c){var d=b||tb(),e=fb(d,this).startof("day"),f=a.calendarformat(this,e)||"sameelse",g=c&&(z(c[f])?c[f].call(this,d):c[f]);return this.format(g||this.localedata().calendar(f,this,tb(d)))}function $b(){return new r(this)}function _b(a,b){var c=s(a)?a:tb(a);return!(!this.isvalid()||!c.isvalid())&&(b=k(f(b)?"millisecond":b),"millisecond"===b?this.valueof()>c.valueof():c.valueof()9999?x(a,"yyyyyy-mm-dd[t]hh:mm:ss.sss[z]"):z(date.prototype.toisostring)?this.todate().toisostring():x(a,"yyyy-mm-dd[t]hh:mm:ss.sss[z]")}function jc(){if(!this.isvalid())return"moment.invalid(/* "+this._i+" */)";var a="moment",b="";this.islocal()||(a=0===this.utcoffset()?"moment.utc":"moment.parsezone",b="z");var c="["+a+'("]',d=0<=this.year()&&this.year()<=9999?"yyyy":"yyyyyy",e="-mm-dd[t]hh:mm:ss.sss",f=b+'[")]';return this.format(c+d+e+f)}function kc(b){b||(b=this.isutc()?a.defaultformatutc:a.defaultformat);var c=x(this,b);return this.localedata().postformat(c)}function lc(a,b){return this.isvalid()&&(s(a)&&a.isvalid()||tb(a).isvalid())?sb({to:this,from:a}).locale(this.locale()).humanize(!b):this.localedata().invaliddate()}function mc(a){return this.from(tb(),a)}function nc(a,b){return this.isvalid()&&(s(a)&&a.isvalid()||tb(a).isvalid())?sb({from:this,to:a}).locale(this.locale()).humanize(!b):this.localedata().invaliddate()}function oc(a){return this.to(tb(),a)}function pc(a){var b;return void 0===a?this._locale._abbr:(b=bb(a),null!=b&&(this._locale=b),this)}function qc(){return this._locale}function rc(a){switch(a=k(a)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoweek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===a&&this.weekday(0),"isoweek"===a&&this.isoweekday(1),"quarter"===a&&this.month(3*math.floor(this.month()/3)),this}function sc(a){return a=k(a),void 0===a||"millisecond"===a?this:("date"===a&&(a="day"),this.startof(a).add(1,"isoweek"===a?"week":a).subtract(1,"ms"))}function tc(){return this._d.valueof()-6e4*(this._offset||0)}function uc(){return math.floor(this.valueof()/1e3)}function vc(){return new date(this.valueof())}function wc(){var a=this;return[a.year(),a.month(),a.date(),a.hour(),a.minute(),a.second(),a.millisecond()]}function xc(){var a=this;return{years:a.year(),months:a.month(),date:a.date(),hours:a.hours(),minutes:a.minutes(),seconds:a.seconds(),milliseconds:a.milliseconds()}}function yc(){return this.isvalid()?this.toisostring():null}function zc(){return o(this)}function ac(){ return k({},n(this))}function bc(){return n(this).overflow}function cc(){return{input:this._i,format:this._f,locale:this._locale,isutc:this._isutc,strict:this._strict}}function dc(a,b){u(0,[a,a.length],0,b)}function ec(a){return ic.call(this,a,this.week(),this.weekday(),this.localedata()._week.dow,this.localedata()._week.doy)}function fc(a){return ic.call(this,a,this.isoweek(),this.isoweekday(),1,4)}function gc(){return xa(this.year(),1,4)}function hc(){var a=this.localedata()._week;return xa(this.year(),a.dow,a.doy)}function ic(a,b,c,d,e){var f;return null==a?wa(this,d,e).year:(f=xa(a,d,e),b>f&&(b=f),jc.call(this,a,b,c,d,e))}function jc(a,b,c,d,e){var f=va(a,b,c,d,e),g=ta(f.year,0,f.dayofyear);return this.year(g.getutcfullyear()),this.month(g.getutcmonth()),this.date(g.getutcdate()),this}function kc(a){return null==a?math.ceil((this.month()+1)/3):this.month(3*(a-1)+this.month()%3)}function lc(a){var b=math.round((this.clone().startof("day")-this.clone().startof("year"))/864e5)+1;return null==a?b:this.add(a-b,"d")}function mc(a,b){b[ke]=u(1e3*("0."+a))}function nc(){return this._isutc?"utc":""}function oc(){return this._isutc?"coordinated universal time":""}function pc(a){return tb(1e3*a)}function qc(){return tb.apply(null,arguments).parsezone()}function rc(a){return a}function sc(a,b,c,d){var e=bb(),f=l().set(d,b);return e[c](f,a)}function tc(a,b,c){if(g(a)&&(b=a,a=void 0),a=a||"",null!=b)return sc(a,b,c,"month");var d,e=[];for(d=0;d<12;d++)e[d]=sc(a,d,c,"month");return e}function uc(a,b,c,d){"boolean"==typeof a?(g(b)&&(c=b,b=void 0),b=b||""):(b=a,c=b,a=!1,g(b)&&(c=b,b=void 0),b=b||"");var e=bb(),f=a?e._week.dow:0;if(null!=c)return sc(b,(c+f)%7,d,"day");var h,i=[];for(h=0;h<7;h++)i[h]=sc(b,(h+f)%7,d,"day");return i}function vc(a,b){return tc(a,b,"months")}function wc(a,b){return tc(a,b,"monthsshort")}function xc(a,b,c){return uc(a,b,c,"weekdays")}function yc(a,b,c){return uc(a,b,c,"weekdaysshort")}function zc(a,b,c){return uc(a,b,c,"weekdaysmin")}function $c(){var a=this._data;return this._milliseconds=df(this._milliseconds),this._days=df(this._days),this._months=df(this._months),a.milliseconds=df(a.milliseconds),a.seconds=df(a.seconds),a.minutes=df(a.minutes),a.hours=df(a.hours),a.months=df(a.months),a.years=df(a.years),this}function _c(a,b,c,d){var e=sb(b,c);return a._milliseconds+=d*e._milliseconds,a._days+=d*e._days,a._months+=d*e._months,a._bubble()}function ad(a,b){return _c(this,a,b,1)}function bd(a,b){return _c(this,a,b,-1)}function cd(a){return a<0?math.floor(a):math.ceil(a)}function dd(){var a,b,c,d,e,f=this._milliseconds,g=this._days,h=this._months,i=this._data;return f>=0&&g>=0&&h>=0||f<=0&&g<=0&&h<=0||(f+=864e5*cd(fd(h)+g),g=0,h=0),i.milliseconds=f%1e3,a=t(f/1e3),i.seconds=a%60,b=t(a/60),i.minutes=b%60,c=t(b/60),i.hours=c%24,g+=t(c/24),e=t(ed(g)),h+=e,g-=cd(fd(e)),d=t(h/12),h%=12,i.days=g,i.months=h,i.years=d,this}function ed(a){return 4800*a/146097}function fd(a){return 146097*a/4800}function gd(a){if(!this.isvalid())return nan;var b,c,d=this._milliseconds;if(a=k(a),"month"===a||"year"===a)return b=this._days+d/864e5,c=this._months+ed(b),"month"===a?c:c/12;switch(b=this._days+math.round(fd(this._months)),a){case"week":return b/7+d/6048e5;case"day":return b+d/864e5;case"hour":return 24*b+d/36e5;case"minute":return 1440*b+d/6e4;case"second":return 86400*b+d/1e3;case"millisecond":return math.floor(864e5*b)+d;default:throw new error("unknown unit "+a)}}function hd(){return this.isvalid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*u(this._months/12):nan}function id(a){return function(){return this.as(a)}}function jd(a){return a=k(a),this.isvalid()?this[a+"s"]():nan}function kd(a){return function(){return this.isvalid()?this._data[a]:nan}}function ld(){return t(this.days()/7)}function md(a,b,c,d,e){return e.relativetime(b||1,!!c,a,d)}function nd(a,b,c){var d=sb(a).abs(),e=uf(d.as("s")),f=uf(d.as("m")),g=uf(d.as("h")),h=uf(d.as("d")),i=uf(d.as("m")),j=uf(d.as("y")),k=e<=vf.ss&&["s",e]||e0,k[4]=c,md.apply(null,k)}function od(a){return void 0===a?uf:"function"==typeof a&&(uf=a,!0)}function pd(a,b){return void 0!==vf[a]&&(void 0===b?vf[a]:(vf[a]=b,"s"===a&&(vf.ss=b-1),!0))}function qd(a){if(!this.isvalid())return this.localedata().invaliddate();var b=this.localedata(),c=nd(this,!a,b);return a&&(c=b.pastfuture(+this,c)),b.postformat(c)}function rd(){if(!this.isvalid())return this.localedata().invaliddate();var a,b,c,d=wf(this._milliseconds)/1e3,e=wf(this._days),f=wf(this._months);a=t(d/60),b=t(a/60),d%=60,a%=60,c=t(f/12),f%=12;var g=c,h=f,i=e,j=b,k=a,l=d,m=this.asseconds();return m?(m<0?"-":"")+"p"+(g?g+"y":"")+(h?h+"m":"")+(i?i+"d":"")+(j||k||l?"t":"")+(j?j+"h":"")+(k?k+"m":"")+(l?l+"s":""):"p0d"}var sd,td;td=array.prototype.some?array.prototype.some:function(a){for(var b=object(this),c=b.length>>>0,d=0;d68?1900:2e3)};var te=o("fullyear",!0);u("w",["ww",2],"wo","week"),u("w",["ww",2],"wo","isoweek"),j("week","w"),j("isoweek","w"),m("week",5),m("isoweek",5),z("w",sd),z("ww",sd,od),z("w",sd),z("ww",sd,od),ca(["w","ww","w","ww"],function(a,b,c,d){b[d.substr(0,1)]=u(a)});var ue={dow:0,doy:6};u("d",0,"do","day"),u("dd",0,0,function(a){return this.localedata().weekdaysmin(this,a)}),u("ddd",0,0,function(a){return this.localedata().weekdaysshort(this,a)}),u("dddd",0,0,function(a){return this.localedata().weekdays(this,a)}),u("e",0,0,"weekday"),u("e",0,0,"isoweekday"),j("day","d"),j("weekday","e"),j("isoweekday","e"),m("day",11),m("weekday",11),m("isoweekday",11),z("d",sd),z("e",sd),z("e",sd),z("dd",function(a,b){return b.weekdaysminregex(a)}),z("ddd",function(a,b){return b.weekdaysshortregex(a)}),z("dddd",function(a,b){return b.weekdaysregex(a)}),ca(["dd","ddd","dddd"],function(a,b,c,d){var e=c._locale.weekdaysparse(a,d,c._strict);null!=e?b.d=e:n(c).invalidweekday=a}),ca(["d","e","e"],function(a,b,c,d){b[d]=u(a)});var ve="sunday_monday_tuesday_wednesday_thursday_friday_saturday".split("_"),we="sun_mon_tue_wed_thu_fri_sat".split("_"),xe="su_mo_tu_we_th_fr_sa".split("_"),ye=be,ze=be,ae=be;u("h",["hh",2],0,"hour"),u("h",["hh",2],0,ra),u("k",["kk",2],0,sa),u("hmm",0,0,function(){return""+ra.apply(this)+t(this.minutes(),2)}),u("hmmss",0,0,function(){return""+ra.apply(this)+t(this.minutes(),2)+t(this.seconds(),2)}),u("hmm",0,0,function(){return""+this.hours()+t(this.minutes(),2)}),u("hmmss",0,0,function(){return""+this.hours()+t(this.minutes(),2)+t(this.seconds(),2)}),ta("a",!0),ta("a",!1),j("hour","h"),m("hour",13),z("a",ua),z("a",ua),z("h",sd),z("h",sd),z("k",sd),z("hh",sd,od),z("hh",sd,od),z("kk",sd,od),z("hmm",td),z("hmmss",ud),z("hmm",td),z("hmmss",ud),ba(["h","hh"],he),ba(["k","kk"],function(a,b,c){var d=u(a);b[he]=24===d?0:d}),ba(["a","a"],function(a,b,c){c._ispm=c._locale.ispm(a),c._meridiem=a}),ba(["h","hh"],function(a,b,c){b[he]=u(a),n(c).bighour=!0}),ba("hmm",function(a,b,c){var d=a.length-2;b[he]=u(a.substr(0,d)),b[ie]=u(a.substr(d)),n(c).bighour=!0}),ba("hmmss",function(a,b,c){var d=a.length-4,e=a.length-2;b[he]=u(a.substr(0,d)),b[ie]=u(a.substr(d,2)),b[je]=u(a.substr(e)),n(c).bighour=!0}),ba("hmm",function(a,b,c){var d=a.length-2;b[he]=u(a.substr(0,d)),b[ie]=u(a.substr(d))}),ba("hmmss",function(a,b,c){var d=a.length-4,e=a.length-2;b[he]=u(a.substr(0,d)),b[ie]=u(a.substr(d,2)),b[je]=u(a.substr(e))});var be,ce=/[ap]\.?m?\.?/i,de=o("hours",!0),ee={calendar:bd,longdateformat:cd,invaliddate:dd,ordinal:ed,dayofmonthordinalparse:fd,relativetime:gd,months:pe,monthsshort:qe,week:ue,weekdays:ve,weekdaysmin:xe,weekdaysshort:we,meridiemparse:ce},fe={},ge={},he=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|w\d\d-\d|w\d\d|\d\d\d|\d\d))(?:(t| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*z)?)?$/,ie=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|w\d\d\d|w\d\d|\d\d\d|\d\d))(?:(t| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*z)?)?$/,je=/z|[+-]\d\d(?::?\d\d)?/,ke=[["yyyyyy-mm-dd",/[+-]\d{6}-\d\d-\d\d/],["yyyy-mm-dd",/\d{4}-\d\d-\d\d/],["gggg-[w]ww-e",/\d{4}-w\d\d-\d/],["gggg-[w]ww",/\d{4}-w\d\d/,!1],["yyyy-ddd",/\d{4}-\d{3}/],["yyyy-mm",/\d{4}-\d\d/,!1],["yyyyyymmdd",/[+-]\d{10}/],["yyyymmdd",/\d{8}/],["gggg[w]wwe",/\d{4}w\d{3}/],["gggg[w]ww",/\d{4}w\d{2}/,!1],["yyyyddd",/\d{7}/]],le=[["hh:mm:ss.ssss",/\d\d:\d\d:\d\d\.\d+/],["hh:mm:ss,ssss",/\d\d:\d\d:\d\d,\d+/],["hh:mm:ss",/\d\d:\d\d:\d\d/],["hh:mm",/\d\d:\d\d/],["hhmmss.ssss",/\d\d\d\d\d\d\.\d+/],["hhmmss,ssss",/\d\d\d\d\d\d,\d+/],["hhmmss",/\d\d\d\d\d\d/],["hhmm",/\d\d\d\d/],["hh",/\d\d/]],me=/^\/?date\((\-?\d+)/i,ne=/^((?:mon|tue|wed|thu|fri|sat|sun),?\s)?(\d?\d\s(?:jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)\s(?:\d\d)?\d\d\s)(\d\d:\d\d)(\:\d\d)?(\s(?:ut|gmt|[ecmp][sd]t|[a-ik-za-ik-z]|[+-]\d{4}))$/;a.createfrominputfallback=x("value provided is not in a recognized rfc2822 or iso format. moment construction falls back to js date(), which is not reliable across all browsers and versions. non rfc2822/iso date formats are discouraged and will be removed in an upcoming major release. please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(a){a._d=new date(a._i+(a._useutc?" utc":""))}),a.iso_8601=function(){},a.rfc_2822=function(){};var oe=x("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var a=tb.apply(null,arguments);return this.isvalid()&&a.isvalid()?athis?this:a:p()}),qe=function(){return date.now?date.now():+new date},re=["year","quarter","month","week","day","hour","minute","second","millisecond"];db("z",":"),db("zz",""),z("z",_d),z("zz",_d),ba(["z","zz"],function(a,b,c){c._useutc=!0,c._tzm=eb(_d,a)});var se=/([\+\-]|\d\d)/gi;a.updateoffset=function(){};var te=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,ue=/^(-)?p(?:(-?[0-9,.]*)y)?(?:(-?[0-9,.]*)m)?(?:(-?[0-9,.]*)w)?(?:(-?[0-9,.]*)d)?(?:t(?:(-?[0-9,.]*)h)?(?:(-?[0-9,.]*)m)?(?:(-?[0-9,.]*)s)?)?$/;sb.fn=ab.prototype,sb.invalid=zb;var ve=wb(1,"add"),we=wb(-1,"subtract");a.defaultformat="yyyy-mm-ddthh:mm:ssz",a.defaultformatutc="yyyy-mm-ddthh:mm:ss[z]";var xe=x("moment().lang() is deprecated. instead, use moment().localedata() to get the language configuration. use moment().locale() to change languages.",function(a){return void 0===a?this.localedata():this.locale(a)});u(0,["gg",2],0,function(){return this.weekyear()%100}),u(0,["gg",2],0,function(){return this.isoweekyear()%100}),dc("gggg","weekyear"),dc("ggggg","weekyear"),dc("gggg","isoweekyear"),dc("ggggg","isoweekyear"),j("weekyear","gg"),j("isoweekyear","gg"),m("weekyear",1),m("isoweekyear",1),z("g",zd),z("g",zd),z("gg",sd,od),z("gg",sd,od),z("gggg",wd,qd),z("gggg",wd,qd),z("ggggg",xd,rd),z("ggggg",xd,rd),ca(["gggg","ggggg","gggg","ggggg"],function(a,b,c,d){b[d.substr(0,2)]=u(a)}),ca(["gg","gg"],function(b,c,d,e){c[e]=a.parsetwodigityear(b)}),u("q",0,"qo","quarter"),j("quarter","q"),m("quarter",7),z("q",nd),ba("q",function(a,b){b[fe]=3*(u(a)-1)}),u("d",["dd",2],"do","date"),j("date","d"),m("date",9),z("d",sd),z("dd",sd,od),z("do",function(a,b){return a?b._dayofmonthordinalparse||b._ordinalparse:b._dayofmonthordinalparselenient}),ba(["d","dd"],ge),ba("do",function(a,b){b[ge]=u(a.match(sd)[0],10)});var ye=o("date",!0);u("ddd",["dddd",3],"dddo","dayofyear"),j("dayofyear","ddd"),m("dayofyear",4),z("ddd",vd),z("dddd",pd),ba(["ddd","dddd"],function(a,b,c){c._dayofyear=u(a)}),u("m",["mm",2],0,"minute"),j("minute","m"),m("minute",14),z("m",sd),z("mm",sd,od),ba(["m","mm"],ie);var ze=o("minutes",!1);u("s",["ss",2],0,"second"),j("second","s"),m("second",15),z("s",sd),z("ss",sd,od),ba(["s","ss"],je);var $e=o("seconds",!1);u("s",0,0,function(){return~~(this.millisecond()/100)}),u(0,["ss",2],0,function(){return~~(this.millisecond()/10)}),u(0,["sss",3],0,"millisecond"),u(0,["ssss",4],0,function(){return 10*this.millisecond()}),u(0,["sssss",5],0,function(){return 100*this.millisecond()}),u(0,["ssssss",6],0,function(){return 1e3*this.millisecond()}),u(0,["sssssss",7],0,function(){return 1e4*this.millisecond()}),u(0,["ssssssss",8],0,function(){return 1e5*this.millisecond()}),u(0,["sssssssss",9],0,function(){return 1e6*this.millisecond()}),j("millisecond","ms"),m("millisecond",16),z("s",vd,nd),z("ss",vd,od),z("sss",vd,pd);var _e;for(_e="ssss";_e.length<=9;_e+="s")z(_e,yd);for(_e="s";_e.length<=9;_e+="s")ba(_e,mc);var af=o("milliseconds",!1);u("z",0,0,"zoneabbr"),u("zz",0,0,"zonename");var bf=r.prototype;bf.add=ve,bf.calendar=zb,bf.clone=$b,bf.diff=fc,bf.endof=sc,bf.format=kc,bf.from=lc,bf.fromnow=mc,bf.to=nc,bf.tonow=oc,bf.get=r,bf.invalidat=bc,bf.isafter=_b,bf.isbefore=ac,bf.isbetween=bc,bf.issame=cc,bf.issameorafter=dc,bf.issameorbefore=ec,bf.isvalid=zc,bf.lang=xe,bf.locale=pc,bf.localedata=qc,bf.max=pe,bf.min=oe,bf.parsingflags=ac,bf.set=s,bf.startof=rc,bf.subtract=we,bf.toarray=wc,bf.toobject=xc,bf.todate=vc,bf.toisostring=ic,bf.inspect=jc,bf.tojson=yc,bf.tostring=hc,bf.unix=uc,bf.valueof=tc,bf.creationdata=cc,bf.year=te,bf.isleapyear=ra,bf.weekyear=ec,bf.isoweekyear=fc,bf.quarter=bf.quarters=kc,bf.month=ka,bf.daysinmonth=la,bf.week=bf.weeks=ba,bf.isoweek=bf.isoweeks=ca,bf.weeksinyear=hc,bf.isoweeksinyear=gc,bf.date=ye,bf.day=bf.days=ka,bf.weekday=la,bf.isoweekday=ma,bf.dayofyear=lc,bf.hour=bf.hours=de,bf.minute=bf.minutes=ze,bf.second=bf.seconds=$e,bf.millisecond=bf.milliseconds=af,bf.utcoffset=hb,bf.utc=jb,bf.local=kb,bf.parsezone=lb,bf.hasalignedhouroffset=mb,bf.isdst=nb,bf.islocal=pb,bf.isutcoffset=qb,bf.isutc=rb,bf.isutc=rb,bf.zoneabbr=nc,bf.zonename=oc,bf.dates=x("dates accessor is deprecated. use date instead.",ye),bf.months=x("months accessor is deprecated. use month instead",ka),bf.years=x("years accessor is deprecated. use year instead",te),bf.zone=x("moment().zone is deprecated, use moment().utcoffset instead. http://momentjs.com/guides/#/warnings/zone/",ib),bf.isdstshifted=x("isdstshifted is deprecated. see http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",ob);var cf=c.prototype;cf.calendar=d,cf.longdateformat=e,cf.invaliddate=f,cf.ordinal=g,cf.preparse=rc,cf.postformat=rc,cf.relativetime=h,cf.pastfuture=i,cf.set=a,cf.months=fa,cf.monthsshort=ga,cf.monthsparse=ia,cf.monthsregex=na,cf.monthsshortregex=ma,cf.week=ya,cf.firstdayofyear=aa,cf.firstdayofweek=za,cf.weekdays=fa,cf.weekdaysmin=ha,cf.weekdaysshort=ga,cf.weekdaysparse=ja,cf.weekdaysregex=na,cf.weekdaysshortregex=oa,cf.weekdaysminregex=pa,cf.ispm=va,cf.meridiem=wa,$a("en",{dayofmonthordinalparse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(a){var b=a%10,c=1===u(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c}}),a.lang=x("moment.lang is deprecated. use moment.locale instead.",$a),a.langdata=x("moment.langdata is deprecated. use moment.localedata instead.",bb);var df=math.abs,ef=id("ms"),ff=id("s"),gf=id("m"),hf=id("h"),jf=id("d"),kf=id("w"),lf=id("m"),mf=id("y"),nf=kd("milliseconds"),of=kd("seconds"),pf=kd("minutes"),qf=kd("hours"),rf=kd("days"),sf=kd("months"),tf=kd("years"),uf=math.round,vf={ss:44,s:45,m:45,h:22,d:26,m:11},wf=math.abs,xf=ab.prototype;return xf.isvalid=yb,xf.abs=$c,xf.add=ad,xf.subtract=bd,xf.as=gd,xf.asmilliseconds=ef,xf.asseconds=ff,xf.asminutes=gf,xf.ashours=hf,xf.asdays=jf,xf.asweeks=kf,xf.asmonths=lf,xf.asyears=mf,xf.valueof=hd,xf._bubble=dd,xf.get=jd,xf.milliseconds=nf,xf.seconds=of,xf.minutes=pf,xf.hours=qf,xf.days=rf,xf.weeks=ld,xf.months=sf,xf.years=tf,xf.humanize=qd,xf.toisostring=rd,xf.tostring=rd,xf.tojson=rd,xf.locale=pc,xf.localedata=qc,xf.toisostring=x("toisostring() is deprecated. please use toisostring() instead (notice the capitals)",rd),xf.lang=xe,u("x",0,0,"unix"),u("x",0,0,"valueof"),z("x",zd),z("x",ae),ba("x",function(a,b,c){c._d=new date(1e3*parsefloat(a,10))}),ba("x",function(a,b,c){c._d=new date(u(a))}),a.version="2.18.1",b(tb),a.fn=bf,a.min=vb,a.max=wb,a.now=qe,a.utc=l,a.unix=pc,a.months=vc,a.isdate=h,a.locale=$a,a.invalid=p,a.duration=sb,a.ismoment=s,a.weekdays=xc,a.parsezone=qc,a.localedata=bb,a.isduration=bb,a.monthsshort=wc,a.weekdaysmin=zc,a.definelocale=_a,a.updatelocale=ab,a.locales=cb,a.weekdaysshort=yc,a.normalizeunits=k,a.relativetimerounding=od,a.relativetimethreshold=pd,a.calendarformat=yb,a.prototype=bf,a});