!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;function g(){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 w(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(w(e,t))return;return 1}function a(e){return void 0===e}function d(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function h(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function c(e,t){for(var n=[],s=e.length,i=0;i>>0,s=0;sCe(e)?(r=e+1,t-Ce(e)):(r=e,t);return{year:r,dayOfYear:n}}function Ge(e,t,n){var s,i,r=Ve(e.year(),t,n);return(r=Math.floor((e.dayOfYear()-r-1)/7)+1)<1?s=r+Ae(i=e.year()-1,t,n):r>Ae(e.year(),t,n)?(s=r-Ae(e.year(),t,n),i=e.year()+1):(i=e.year(),s=r),{week:s,year:i}}function Ae(e,t,n){var s=Ve(e,t,n);t=Ve(e+1,t,n);return(Ce(e)-s+t)/7}function je(e,t){return e.slice(t,7).concat(e.slice(0,t))}R("w",["ww",2],"wo","week"),R("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),A("week",5),A("isoWeek",5),he("w",ee),he("ww",ee,J),he("W",ee),he("WW",ee,J),ye(["w","ww","W","WW"],function(e,t,n,s){t[s.substr(0,1)]=z(e)}),R("d",0,"do","day"),R("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),R("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),R("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),R("e",0,0,"weekday"),R("E",0,0,"isoWeekday"),F("day","d"),F("weekday","e"),F("isoWeekday","E"),A("day",11),A("weekday",11),A("isoWeekday",11),he("d",ee),he("e",ee),he("E",ee),he("dd",function(e,t){return t.weekdaysMinRegex(e)}),he("ddd",function(e,t){return t.weekdaysShortRegex(e)}),he("dddd",function(e,t){return t.weekdaysRegex(e)}),ye(["dd","ddd","dddd"],function(e,t,n,s){null!=(s=n._locale.weekdaysParse(e,s,n._strict))?t.d=s:p(n).invalidWeekday=e}),ye(["d","e","E"],function(e,t,n,s){t[s]=z(e)});var Ie="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ze="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),qe=de,$e=de,Be=de;function Je(){function e(e,t){return t.length-e.length}for(var t,n,s,i=[],r=[],a=[],o=[],u=0;u<7;u++)s=m([2e3,1]).day(u),t=ce(this.weekdaysMin(s,"")),n=ce(this.weekdaysShort(s,"")),s=ce(this.weekdays(s,"")),i.push(t),r.push(n),a.push(s),o.push(t),o.push(n),o.push(s);i.sort(e),r.sort(e),a.sort(e),o.sort(e),this._weekdaysRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Qe(){return this.hours()%12||12}function Xe(e,t){R(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ke(e,t){return t._meridiemParse}R("H",["HH",2],0,"hour"),R("h",["hh",2],0,Qe),R("k",["kk",2],0,function(){return this.hours()||24}),R("hmm",0,0,function(){return""+Qe.apply(this)+x(this.minutes(),2)}),R("hmmss",0,0,function(){return""+Qe.apply(this)+x(this.minutes(),2)+x(this.seconds(),2)}),R("Hmm",0,0,function(){return""+this.hours()+x(this.minutes(),2)}),R("Hmmss",0,0,function(){return""+this.hours()+x(this.minutes(),2)+x(this.seconds(),2)}),Xe("a",!0),Xe("A",!1),F("hour","h"),A("hour",13),he("a",Ke),he("A",Ke),he("H",ee),he("h",ee),he("k",ee),he("HH",ee,J),he("hh",ee,J),he("kk",ee,J),he("hmm",te),he("hmmss",ne),he("Hmm",te),he("Hmmss",ne),_e(["H","HH"],Me),_e(["k","kk"],function(e,t,n){e=z(e),t[Me]=24===e?0:e}),_e(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),_e(["h","hh"],function(e,t,n){t[Me]=z(e),p(n).bigHour=!0}),_e("hmm",function(e,t,n){var s=e.length-2;t[Me]=z(e.substr(0,s)),t[De]=z(e.substr(s)),p(n).bigHour=!0}),_e("hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[Me]=z(e.substr(0,s)),t[De]=z(e.substr(s,2)),t[ke]=z(e.substr(i)),p(n).bigHour=!0}),_e("Hmm",function(e,t,n){var s=e.length-2;t[Me]=z(e.substr(0,s)),t[De]=z(e.substr(s))}),_e("Hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[Me]=z(e.substr(0,s)),t[De]=z(e.substr(s,2)),t[ke]=z(e.substr(i))}),de=Z("Hours",!0);var et,tt={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",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Te,monthsShort:xe,week:{dow:0,doy:6},weekdays:Ie,weekdaysMin:Ze,weekdaysShort:ze,meridiemParse:/[ap]\.?m?\.?/i},nt={},st={};function it(e){return e&&e.toLowerCase().replace("_","-")}function rt(e){var t;if(void 0===nt[e]&&"undefined"!=typeof module&&module&&module.exports&&null!=e.match("^[^/\\\\]*$"))try{t=et._abbr,require("./locale/"+e),at(t)}catch(t){nt[e]=null}return nt[e]}function at(e,t){return e&&((t=a(t)?ut(e):ot(e,t))?et=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),et._abbr}function ot(e,t){if(null===t)return delete nt[e],null;var n,s=tt;if(t.abbr=e,null!=nt[e])r("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=nt[e]._config;else if(null!=t.parentLocale)if(null!=nt[t.parentLocale])s=nt[t.parentLocale]._config;else{if(null==(n=rt(t.parentLocale)))return st[t.parentLocale]||(st[t.parentLocale]=[]),st[t.parentLocale].push({name:e,config:t}),null;s=n._config}return nt[e]=new b(O(s,t)),st[e]&&st[e].forEach(function(e){ot(e.name,e.config)}),at(e),nt[e]}function ut(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return et;if(!o(e)){if(t=rt(e))return t;e=[e]}return function(e){for(var t,n,s,i,r=0;r=t&&function(e,t){for(var n=Math.min(e.length,t.length),s=0;s=t-1)break;t--}r++}return et}(e)}function lt(e){var t=e._a;return t&&-2===p(e).overflow&&(t=t[pe]<0||11be(t[we],t[pe])?Ye:t[Me]<0||24Ae(r,u,l)?p(s)._overflowWeeks=!0:null!=d?p(s)._overflowWeekday=!0:(h=Ee(r,a,o,u,l),s._a[we]=h.year,s._dayOfYear=h.dayOfYear)),null!=e._dayOfYear&&(i=Yt(e._a[we],n[we]),(e._dayOfYear>Ce(i)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),d=Fe(i,0,e._dayOfYear),e._a[pe]=d.getUTCMonth(),e._a[Ye]=d.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=c[t]=n[t];for(;t<7;t++)e._a[t]=c[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Me]&&0===e._a[De]&&0===e._a[ke]&&0===e._a[ve]&&(e._nextDay=!0,e._a[Me]=0),e._d=(e._useUTC?Fe: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,c),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Me]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(p(e).weekdayMismatch=!0)}}function Dt(e){if(e._f===g.ISO_8601)wt(e);else if(e._f===g.RFC_2822)pt(e);else{e._a=[],p(e).empty=!0;for(var t,n,s,i,r,a=""+e._i,o=a.length,u=0,l=C(e._f,e._locale).match(N)||[],d=l.length,h=0;he.valueOf():e.valueOf()"}),B.toJSON=function(){return this.isValid()?this.toISOString():null},B.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},B.unix=function(){return Math.floor(this.valueOf()/1e3)},B.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},B.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},B.eraName=function(){for(var e,t=this.localeData().eras(),n=0,s=t.length;nthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},B.isLocal=function(){return!!this.isValid()&&!this._isUTC},B.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},B.isUtc=Ct,B.isUTC=Ct,B.zoneAbbr=function(){return this._isUTC?"UTC":""},B.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},B.dates=n("dates accessor is deprecated. Use date instead.",ie),B.months=n("months accessor is deprecated. Use month instead",Re),B.years=n("years accessor is deprecated. Use year instead",Ue),B.zone=n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),B.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e,t={};return M(t,this),(t=kt(t))._a?(e=(t._isUTC?m:St)(t._a),this._isDSTShifted=this.isValid()&&0