!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";var e,i;function c(){return e.apply(null,arguments)}function o(e){return e instanceof array||"[object array]"===object.prototype.tostring.call(e)}function u(e){return null!=e&&"[object object]"===object.prototype.tostring.call(e)}function l(e){return void 0===e}function h(e){return"number"==typeof e||"[object number]"===object.prototype.tostring.call(e)}function d(e){return e instanceof date||"[object date]"===object.prototype.tostring.call(e)}function f(e,t){var n,s=[];for(n=0;n>>0,s=0;sse(e)?(r=e+1,o-se(e)):(r=e,o),{year:r,dayofyear:a}}function ie(e,t,n){var s,i,r=ve(e.year(),t,n),a=math.floor((e.dayofyear()-r-1)/7)+1;return a<1?s=a+ae(i=e.year()-1,t,n):a>ae(e.year(),t,n)?(s=a-ae(e.year(),t,n),i=e.year()+1):(i=e.year(),s=a),{week:s,year:i}}function ae(e,t,n){var s=ve(e,t,n),i=ve(e+1,t,n);return(se(e)-s+i)/7}i("w",["ww",2],"wo","week"),i("w",["ww",2],"wo","isoweek"),c("week","w"),c("isoweek","w"),f("week",5),f("isoweek",5),ue("w",b),ue("ww",b,z),ue("w",b),ue("ww",b,z),fe(["w","ww","w","ww"],function(e,t,n,s){t[s.substr(0,1)]=d(e)});function je(e,t){return e.slice(t,7).concat(e.slice(0,t))}i("d",0,"do","day"),i("dd",0,0,function(e){return this.localedata().weekdaysmin(this,e)}),i("ddd",0,0,function(e){return this.localedata().weekdaysshort(this,e)}),i("dddd",0,0,function(e){return this.localedata().weekdays(this,e)}),i("e",0,0,"weekday"),i("e",0,0,"isoweekday"),c("day","d"),c("weekday","e"),c("isoweekday","e"),f("day",11),f("weekday",11),f("isoweekday",11),ue("d",b),ue("e",b),ue("e",b),ue("dd",function(e,t){return t.weekdaysminregex(e)}),ue("ddd",function(e,t){return t.weekdaysshortregex(e)}),ue("dddd",function(e,t){return t.weekdaysregex(e)}),fe(["dd","ddd","dddd"],function(e,t,n,s){var i=n._locale.weekdaysparse(e,s,n._strict);null!=i?t.d=i:g(n).invalidweekday=e}),fe(["d","e","e"],function(e,t,n,s){t[s]=d(e)});var ze="sunday_monday_tuesday_wednesday_thursday_friday_saturday".split("_");var ze="sun_mon_tue_wed_thu_fri_sat".split("_");var $e="su_mo_tu_we_th_fr_sa".split("_");var qe=ae;var je=ae;var be=ae;function qe(){function e(e,t){return t.length-e.length}var t,n,s,i,r,a=[],o=[],u=[],l=[];for(t=0;t<7;t++)n=y([2e3,1]).day(t),s=this.weekdaysmin(n,""),i=this.weekdaysshort(n,""),r=this.weekdays(n,""),a.push(s),o.push(i),u.push(r),l.push(s),l.push(i),l.push(r);for(a.sort(e),o.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)o[t]=he(o[t]),u[t]=he(u[t]),l[t]=he(l[t]);this._weekdaysregex=new regexp("^("+l.join("|")+")","i"),this._weekdaysshortregex=this._weekdaysregex,this._weekdaysminregex=this._weekdaysregex,this._weekdaysstrictregex=new regexp("^("+u.join("|")+")","i"),this._weekdaysshortstrictregex=new regexp("^("+o.join("|")+")","i"),this._weekdaysminstrictregex=new regexp("^("+a.join("|")+")","i")}function xe(){return this.hours()%12||12}function ke(e,t){i(e,0,0,function(){return this.localedata().meridiem(this.hours(),this.minutes(),t)})}function et(e,t){return t._meridiemparse}i("h",["hh",2],0,"hour"),i("h",["hh",2],0,xe),i("k",["kk",2],0,function(){return this.hours()||24}),i("hmm",0,0,function(){return""+xe.apply(this)+l(this.minutes(),2)}),i("hmmss",0,0,function(){return""+xe.apply(this)+l(this.minutes(),2)+l(this.seconds(),2)}),i("hmm",0,0,function(){return""+this.hours()+l(this.minutes(),2)}),i("hmmss",0,0,function(){return""+this.hours()+l(this.minutes(),2)+l(this.seconds(),2)}),ke("a",!0),ke("a",!1),c("hour","h"),f("hour",13),ue("a",et),ue("a",et),ue("h",b),ue("h",b),ue("k",b),ue("hh",b,z),ue("hh",b,z),ue("kk",b,z),ue("hmm",q),ue("hmmss",x),ue("hmm",q),ue("hmmss",x),ce(["h","hh"],ge),ce(["k","kk"],function(e,t,n){var s=d(e);t[ge]=24===s?0:s}),ce(["a","a"],function(e,t,n){n._ispm=n._locale.ispm(e),n._meridiem=e}),ce(["h","hh"],function(e,t,n){t[ge]=d(e),g(n).bighour=!0}),ce("hmm",function(e,t,n){var s=e.length-2;t[ge]=d(e.substr(0,s)),t[ve]=d(e.substr(s)),g(n).bighour=!0}),ce("hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[ge]=d(e.substr(0,s)),t[ve]=d(e.substr(s,2)),t[pe]=d(e.substr(i)),g(n).bighour=!0}),ce("hmm",function(e,t,n){var s=e.length-2;t[ge]=d(e.substr(0,s)),t[ve]=d(e.substr(s))}),ce("hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[ge]=d(e.substr(0,s)),t[ve]=d(e.substr(s,2)),t[pe]=d(e.substr(i))});var tt,nt=te("hours",!0),st={calendar:{sameday:"[today at] lt",nextday:"[tomorrow at] lt",nextweek:"dddd [at] lt",lastday:"[yesterday at] lt",lastweek:"[last] dddd [at] lt",sameelse:"l"},longdateformat:{lts:"h:mm:ss a",lt:"h:mm a",l:"mm/dd/yyyy",ll:"mmmm d, yyyy",lll:"mmmm d, yyyy h:mm a",llll:"dddd, mmmm d, yyyy h:mm a"},invaliddate:"invalid date",ordinal:"%d",dayofmonthordinalparse:/\d{1,2}/,relativetime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",m:"a month",mm:"%d months",y:"a year",yy:"%d years"},months:ce,monthsshort:he,week:{dow:0,doy:6},weekdays:ze,weekdaysmin:$e,weekdaysshort:ze,meridiemparse:/[ap]\.?m?\.?/i},it={},rt={};function at(e){return e?e.tolowercase().replace("_","-"):e}function ot(e){var t=null;if(!it[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=tt._abbr,require("./locale/"+e),ut(t)}catch(e){}return it[e]}function ut(e,t){var n;return e&&((n=l(t)?ht(e):lt(e,t))?tt=n:"undefined"!=typeof console&&console.warn&&console.warn("locale "+e+" not found. did you forget to load it?")),tt._abbr}function lt(e,t){if(null===t)return delete it[e],null;var n,s=st;if(t.abbr=e,null!=it[e])t("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."),s=it[e]._config;else if(null!=t.parentlocale)if(null!=it[t.parentlocale])s=it[t.parentlocale]._config;else{if(null==(n=ot(t.parentlocale)))return rt[t.parentlocale]||(rt[t.parentlocale]=[]),rt[t.parentlocale].push({name:e,config:t}),null;s=n._config}return it[e]=new p(x(s,t)),rt[e]&&rt[e].foreach(function(e){lt(e.name,e.config)}),ut(e),it[e]}function ht(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return tt;if(!o(e)){if(t=ot(e))return t;e=[e]}return function(e){for(var t,n,s,i,r=0;r=t&&a(i,n,!0)>=t-1)break;t--}r++}return tt}(e)}function dt(e){var t,n=e._a;return n&&-2===g(e).overflow&&(t=n[_e]<0||11pe(n[me],n[_e])?ye:n[ge]<0||24ae(n,r,a)?g(e)._overflowweeks=!0:null!=u?g(e)._overflowweekday=!0:(o=ee(n,s,i,r,a),e._a[me]=o.year,e._dayofyear=o.dayofyear)}(e),null!=e._dayofyear&&(r=ct(e._a[me],s[me]),(e._dayofyear>se(r)||0===e._dayofyear)&&(g(e)._overflowdayofyear=!0),n=ge(r,0,e._dayofyear),e._a[_e]=n.getutcmonth(),e._a[ye]=n.getutcdate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=s[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ge]&&0===e._a[ve]&&0===e._a[pe]&&0===e._a[we]&&(e._nextday=!0,e._a[ge]=0),e._d=(e._useutc?ge:function(e,t,n,s,i,r,a){var o;return e<100&&0<=e?(o=new date(e+400,t,n,s,i,r,a),isfinite(o.getfullyear())&&o.setfullyear(e)):o=new date(e,t,n,s,i,r,a),o}).apply(null,a),i=e._useutc?e._d.getutcday():e._d.getday(),null!=e._tzm&&e._d.setutcminutes(e._d.getutcminutes()-e._tzm),e._nextday&&(e._a[ge]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(g(e).weekdaymismatch=!0)}}var mt=/^\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)?)?$/,_t=/^\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)?)?$/,yt=/z|[+-]\d\d(?::?\d\d)?/,gt=[["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}/]],vt=[["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/]],pt=/^\/?date\((\-?\d+)/i;function wt(e){var t,n,s,i,r,a,o=e._i,u=mt.exec(o)||_t.exec(o);if(u){for(g(e).iso=!0,t=0,n=gt.length;tn.valueof():n.valueof()this.clone().month(0).utcoffset()||this.utcoffset()>this.clone().month(5).utcoffset()},mn.islocal=function(){return!!this.isvalid()&&!this._isutc},mn.isutcoffset=function(){return!!this.isvalid()&&this._isutc},mn.isutc=et,mn.isutc=et,mn.zoneabbr=function(){return this._isutc?"utc":""},mn.zonename=function(){return this._isutc?"coordinated universal time":""},mn.dates=n("dates accessor is deprecated. use date instead.",un),mn.months=n("months accessor is deprecated. use month instead",ue),mn.years=n("years accessor is deprecated. use year instead",oe),mn.zone=n("moment().zone is deprecated, use moment().utcoffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcoffset(e,t),this):-this.utcoffset()}),mn.isdstshifted=n("isdstshifted is deprecated. see http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!l(this._isdstshifted))return this._isdstshifted;var e={};if(w(e,this),(e=ot(e))._a){var t=e._isutc?y(e._a):bt(e._a);this._isdstshifted=this.isvalid()&&0