//! moment.js
//! version : 2.8.3
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
(function(t){function C(a,b,c){switch(arguments.length){case 2:return null!=a?a:b;case 3:return null!=a?a:null!=b?b:c;default:throw Error("Implement me");}}function I(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function W(a){!1===d.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+a)}function q(a,b){var c=!0;return x(function(){c&&
(W(a),c=!1);return b.apply(this,arguments)},b)}function X(a,b){return function(c){return l(a.call(this,c),b)}}function Ea(a,b){return function(c){return this.localeData().ordinal(a.call(this,c),b)}}function Y(){}function D(a,b){!1!==b&&Z(a);aa(this,a);this._d=new Date(+a._d)}function J(a){a=ba(a);var b=a.year||0,c=a.quarter||0,e=a.month||0,g=a.week||0,f=a.day||0;this._milliseconds=+(a.millisecond||0)+1E3*(a.second||0)+6E4*(a.minute||0)+36E5*(a.hour||0);this._days=+f+7*g;this._months=+e+3*c+12*b;this._data=
{};this._locale=d.localeData();this._bubble()}function x(a,b){for(var c in b)y.call(b,c)&&(a[c]=b[c]);y.call(b,"toString")&&(a.toString=b.toString);y.call(b,"valueOf")&&(a.valueOf=b.valueOf);return a}function aa(a,b){var c,e,d;"undefined"!==typeof b._isAMomentObject&&(a._isAMomentObject=b._isAMomentObject);"undefined"!==typeof b._i&&(a._i=b._i);"undefined"!==typeof b._f&&(a._f=b._f);"undefined"!==typeof b._l&&(a._l=b._l);"undefined"!==typeof b._strict&&(a._strict=b._strict);"undefined"!==typeof b._tzm&&
(a._tzm=b._tzm);"undefined"!==typeof b._isUTC&&(a._isUTC=b._isUTC);"undefined"!==typeof b._offset&&(a._offset=b._offset);"undefined"!==typeof b._pf&&(a._pf=b._pf);"undefined"!==typeof b._locale&&(a._locale=b._locale);if(0<E.length)for(c in E)e=E[c],d=b[e],"undefined"!==typeof d&&(a[e]=d);return a}function r(a){return 0>a?Math.ceil(a):Math.floor(a)}function l(a,b,c){for(var e=""+Math.abs(a);e.length<b;)e="0"+e;return(0<=a?c?"+":"":"-")+e}function ca(a,b){var c={milliseconds:0,months:0};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");return c}function Fa(a,b){var c;b=F(b,a);a.isBefore(b)?c=ca(a,b):(c=ca(b,a),c.milliseconds=-c.milliseconds,c.months=-c.months);return c}function da(a,b){return function(c,e){var g;null===e||isNaN(+e)||(ea[b]||(W("moment()."+b+"(period, number) is deprecated. Please use moment()."+b+"(number, period)."),ea[b]=!0),g=c,c=e,e=g);g=d.duration("string"===typeof c?+c:c,e);fa(this,
g,a);return this}}function fa(a,b,c,e){var g=b._milliseconds,f=b._days;b=b._months;e=null==e?!0:e;g&&a._d.setTime(+a._d+g*c);f&&ga(a,"Date",K(a,"Date")+f*c);b&&ha(a,K(a,"Month")+b*c);e&&d.updateOffset(a,f||b)}function G(a){return"[object Array]"===Object.prototype.toString.call(a)}function Ga(a){return"[object Date]"===Object.prototype.toString.call(a)||a instanceof Date}function ia(a,b,c){var e=Math.min(a.length,b.length),d=Math.abs(a.length-b.length),f=0,h;for(h=0;h<e;h++)(c&&a[h]!==b[h]||!c&&k(a[h])!==
k(b[h]))&&f++;return f+d}function m(a){if(a){var b=a.toLowerCase().replace(/(.)s$/,"$1");a=Ha[a]||Ia[b]||b}return a}function ba(a){var b={},c,e;for(e in a)y.call(a,e)&&(c=m(e))&&(b[c]=a[e]);return b}function Ja(a){var b,c;if(0===a.indexOf("week"))b=7,c="day";else if(0===a.indexOf("month"))b=12,c="month";else return;d[a]=function(e,g){var f,h,k=d._locale[a],l=[];"number"===typeof e&&(g=e,e=t);h=function(a){a=d().utc().set(c,a);return k.call(d._locale,a,e||"")};if(null!=g)return h(g);for(f=0;f<b;f++)l.push(h(f));
return l}}function k(a){a=+a;var b=0;0!==a&&isFinite(a)&&(b=0<=a?Math.floor(a):Math.ceil(a));return b}function L(a,b){return(new Date(Date.UTC(a,b+1,0))).getUTCDate()}function ja(a,b,c){return z(d([a,11,31+b-c]),b,c).week}function M(a){return 0===a%4&&0!==a%100||0===a%400}function Z(a){var b;a._a&&-2===a._pf.overflow&&(b=0>a._a[1]||11<a._a[1]?1:1>a._a[2]||a._a[2]>L(a._a[0],a._a[1])?2:0>a._a[3]||23<a._a[3]?3:0>a._a[4]||59<a._a[4]?4:0>a._a[5]||59<a._a[5]?5:0>a._a[6]||999<a._a[6]?6:-1,a._pf._overflowDayOfYear&&
(0>b||2<b)&&(b=2),a._pf.overflow=b)}function ka(a){null==a._isValid&&(a._isValid=!isNaN(a._d.getTime())&&0>a._pf.overflow&&!a._pf.empty&&!a._pf.invalidMonth&&!a._pf.nullInput&&!a._pf.invalidFormat&&!a._pf.userInvalidated,a._strict&&(a._isValid=a._isValid&&0===a._pf.charsLeftOver&&0===a._pf.unusedTokens.length));return a._isValid}function la(a){return a?a.toLowerCase().replace("_","-"):a}function ma(a){var b=null;if(!A[a]&&na)try{b=d.locale(),require("./locale/"+a),d.locale(b)}catch(c){}return A[a]}
function F(a,b){return b._isUTC?d(a).zone(b._offset||0):d(a).local()}function Ka(a){return a.match(/\[[\s\S]/)?a.replace(/^\[|\]$/g,""):a.replace(/\\/g,"")}function La(a){var b=a.match(oa),c,e;c=0;for(e=b.length;c<e;c++)b[c]=u[b[c]]?u[b[c]]:Ka(b[c]);return function(d){var f="";for(c=0;c<e;c++)f+=b[c]instanceof Function?b[c].call(d,a):b[c];return f}}function N(a,b){if(!a.isValid())return a.localeData().invalidDate();b=pa(b,a.localeData());O[b]||(O[b]=La(b));return O[b](a)}function pa(a,b){function c(a){return b.longDateFormat(a)||
a}var e=5;for(H.lastIndex=0;0<=e&&H.test(a);)a=a.replace(H,c),H.lastIndex=0,--e;return a}function Ma(a,b){var c=b._strict;switch(a){case "Q":return qa;case "DDDD":return ra;case "YYYY":case "GGGG":case "gggg":return c?Na:Oa;case "Y":case "G":case "g":return Pa;case "YYYYYY":case "YYYYY":case "GGGGG":case "ggggg":return c?Qa:Ra;case "S":if(c)return qa;case "SS":if(c)return sa;case "SSS":if(c)return ra;case "DDD":return Sa;case "MMM":case "MMMM":case "dd":case "ddd":case "dddd":return Ta;case "a":case "A":return b._locale._meridiemParse;
case "X":return Ua;case "Z":case "ZZ":return P;case "T":return Va;case "SSSS":return Wa;case "MM":case "DD":case "YY":case "GG":case "gg":case "HH":case "hh":case "mm":case "ss":case "ww":case "WW":return c?sa:ta;case "M":case "D":case "d":case "H":case "h":case "m":case "s":case "w":case "W":case "e":case "E":return ta;case "Do":return Xa;default:var c=RegExp,e;e=Ya(a.replace("\\","")).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&");return new c(e)}}function ua(a){a=(a||"").match(P)||[];a=((a[a.length-
1]||[])+"").match(Za)||["-",0,0];var b=+(60*a[1])+k(a[2]);return"+"===a[0]?-b:b}function Q(a){var b,c,e=[],g;if(!a._d){g=new Date;g=a._useUTC?[g.getUTCFullYear(),g.getUTCMonth(),g.getUTCDate()]:[g.getFullYear(),g.getMonth(),g.getDate()];if(a._w&&null==a._a[2]&&null==a._a[1]){var f,h,k;f=a._w;null!=f.GG||null!=f.W||null!=f.E?(b=1,k=4,c=C(f.GG,a._a[0],z(d(),1,4).year),h=C(f.W,1),f=C(f.E,1)):(b=a._locale._week.dow,k=a._locale._week.doy,c=C(f.gg,a._a[0],z(d(),b,k).year),h=C(f.w,1),null!=f.d?(f=f.d,f<
b&&++h):f=null!=f.e?f.e+b:b);var l=R(c,0,1).getUTCDay(),l=0===l?7:l;k=7*(h-1)+((null!=f?f:b)-b)+(b-l+(l>k?7:0)-(l<b?7:0))+1;b=0<k?c:c-1;c=0<k?k:(M(c-1)?366:365)+k;a._a[0]=b;a._dayOfYear=c}a._dayOfYear&&(c=C(a._a[0],g[0]),a._dayOfYear>(M(c)?366:365)&&(a._pf._overflowDayOfYear=!0),c=R(c,0,a._dayOfYear),a._a[1]=c.getUTCMonth(),a._a[2]=c.getUTCDate());for(c=0;3>c&&null==a._a[c];++c)a._a[c]=e[c]=g[c];for(;7>c;c++)a._a[c]=e[c]=null==a._a[c]?2===c?1:0:a._a[c];a._d=(a._useUTC?R:$a).apply(null,e);null!=a._tzm&&
a._d.setUTCMinutes(a._d.getUTCMinutes()+a._tzm)}}function ab(a){var b;a._d||(b=ba(a._i),a._a=[b.year,b.month,b.day,b.hour,b.minute,b.second,b.millisecond],Q(a))}function S(a){if(a._f===d.ISO_8601)va(a);else{a._a=[];a._pf.empty=!0;var b=""+a._i,c,e,g,f,h,l=b.length,n=0;g=pa(a._f,a._locale).match(oa)||[];for(c=0;c<g.length;c++){f=g[c];if(e=(b.match(Ma(f,a))||[])[0])h=b.substr(0,b.indexOf(e)),0<h.length&&a._pf.unusedInput.push(h),b=b.slice(b.indexOf(e)+e.length),n+=e.length;if(u[f]){e?a._pf.empty=!1:
a._pf.unusedTokens.push(f);h=a;var m=void 0,p=h._a;switch(f){case "Q":null!=e&&(p[1]=3*(k(e)-1));break;case "M":case "MM":null!=e&&(p[1]=k(e)-1);break;case "MMM":case "MMMM":m=h._locale.monthsParse(e);null!=m?p[1]=m:h._pf.invalidMonth=e;break;case "D":case "DD":null!=e&&(p[2]=k(e));break;case "Do":null!=e&&(p[2]=k(parseInt(e,10)));break;case "DDD":case "DDDD":null!=e&&(h._dayOfYear=k(e));break;case "YY":p[0]=d.parseTwoDigitYear(e);break;case "YYYY":case "YYYYY":case "YYYYYY":p[0]=k(e);break;case "a":case "A":h._isPm=
h._locale.isPM(e);break;case "H":case "HH":case "h":case "hh":p[3]=k(e);break;case "m":case "mm":p[4]=k(e);break;case "s":case "ss":p[5]=k(e);break;case "S":case "SS":case "SSS":case "SSSS":p[6]=k(1E3*("0."+e));break;case "X":h._d=new Date(1E3*parseFloat(e));break;case "Z":case "ZZ":h._useUTC=!0;h._tzm=ua(e);break;case "dd":case "ddd":case "dddd":m=h._locale.weekdaysParse(e);null!=m?(h._w=h._w||{},h._w.d=m):h._pf.invalidWeekday=e;break;case "w":case "ww":case "W":case "WW":case "d":case "e":case "E":f=
f.substr(0,1);case "gggg":case "GGGG":case "GGGGG":f=f.substr(0,2);e&&(h._w=h._w||{},h._w[f]=k(e));break;case "gg":case "GG":h._w=h._w||{},h._w[f]=d.parseTwoDigitYear(e)}}else a._strict&&!e&&a._pf.unusedTokens.push(f)}a._pf.charsLeftOver=l-n;0<b.length&&a._pf.unusedInput.push(b);a._isPm&&12>a._a[3]&&(a._a[3]+=12);!1===a._isPm&&12===a._a[3]&&(a._a[3]=0);Q(a);Z(a)}}function Ya(a){return a.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(a,c,e,d,f){return c||e||d||f})}function va(a){var b,c,e=
a._i,d=bb.exec(e);if(d){a._pf.iso=!0;b=0;for(c=T.length;b<c;b++)if(T[b][1].exec(e)){a._f=T[b][0]+(d[6]||" ");break}b=0;for(c=U.length;b<c;b++)if(U[b][1].exec(e)){a._f+=U[b][0];break}e.match(P)&&(a._f+="Z");S(a)}else a._isValid=!1}function cb(a){va(a);!1===a._isValid&&(delete a._isValid,d.createFromInputFallback(a))}function db(a,b){var c=[],e;for(e=0;e<a.length;++e)c.push(b(a[e],e));return c}function eb(a){var b=a._i,c;b===t?a._d=new Date:Ga(b)?a._d=new Date(+b):null!==(c=fb.exec(b))?a._d=new Date(+c[1]):
"string"===typeof b?cb(a):G(b)?(a._a=db(b.slice(0),function(a){return parseInt(a,10)}),Q(a)):"object"===typeof b?ab(a):"number"===typeof b?a._d=new Date(b):d.createFromInputFallback(a)}function $a(a,b,c,e,d,f,h){b=new Date(a,b,c,e,d,f,h);1970>a&&b.setFullYear(a);return b}function R(a){var b=new Date(Date.UTC.apply(null,arguments));1970>a&&b.setUTCFullYear(a);return b}function gb(a,b,c,e,d){return d.relativeTime(b||1,!!c,a,e)}function z(a,b,c){b=c-b;c-=a.day();c>b&&(c-=7);c<b-7&&(c+=7);a=d(a).add(c,
"d");return{week:Math.ceil(a.dayOfYear()/7),year:a.year()}}function wa(a){var b=a._i,c=a._f;a._locale=a._locale||d.localeData(a._l);if(null===b||c===t&&""===b)return d.invalid({nullInput:!0});"string"===typeof b&&(a._i=b=a._locale.preparse(b));if(d.isMoment(b))return new D(b,!0);if(c)if(G(c)){var e,g,f;if(0===a._f.length)a._pf.invalidFormat=!0,a._d=new Date(NaN);else{for(b=0;b<a._f.length;b++)if(c=0,e=aa({},a),null!=a._useUTC&&(e._useUTC=a._useUTC),e._pf=I(),e._f=a._f[b],S(e),ka(e)&&(c+=e._pf.charsLeftOver,
c+=10*e._pf.unusedTokens.length,e._pf.score=c,null==f||c<f))f=c,g=e;x(a,g||e)}}else S(a);else eb(a);return new D(a)}function xa(a,b){var c,e;1===b.length&&G(b[0])&&(b=b[0]);if(!b.length)return d();c=b[0];for(e=1;e<b.length;++e)b[e][a](c)&&(c=b[e]);return c}function ha(a,b){var c;if("string"===typeof b&&(b=a.localeData().monthsParse(b),"number"!==typeof b))return a;c=Math.min(a.date(),L(a.year(),b));a._d["set"+(a._isUTC?"UTC":"")+"Month"](b,c);return a}function K(a,b){return a._d["get"+(a._isUTC?"UTC":
"")+b]()}function ga(a,b,c){return"Month"===b?ha(a,c):a._d["set"+(a._isUTC?"UTC":"")+b](c)}function v(a,b){return function(c){return null!=c?(ga(this,a,c),d.updateOffset(this,b),this):K(this,a)}}function hb(a){d.duration.fn[a]=function(){return this._data[a]}}function ya(a){"undefined"===typeof ender&&(za=V.moment,V.moment=a?q("Accessing Moment through the global scope is deprecated, and will be removed in an upcoming release.",d):d)}for(var d,V="undefined"!==typeof global?global:this,za,B=Math.round,
y=Object.prototype.hasOwnProperty,n,A={},E=[],na="undefined"!==typeof module&&module.exports,fb=/^\/?Date\((\-?\d+)/i,ib=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,jb=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,oa=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|X|zz?|ZZ?|.)/g,H=/(\[[^\[]*\])|(\\)?(LT|LL?L?L?|l{1,4})/g,
ta=/\d\d?/,Sa=/\d{1,3}/,Oa=/\d{1,4}/,Ra=/[+\-]?\d{1,6}/,Wa=/\d+/,Ta=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,P=/Z|[\+\-]\d\d:?\d\d/gi,Va=/T/i,Ua=/[\+\-]?\d+(\.\d{1,3})?/,Xa=/\d{1,2}/,qa=/\d/,sa=/\d\d/,ra=/\d{3}/,Na=/\d{4}/,Qa=/[+-]?\d{6}/,Pa=/[+-]?\d+/,bb=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,T=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],
["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],U=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],Za=/([\+\-]|\d\d)/gi,Aa={Milliseconds:1,Seconds:1E3,Minutes:6E4,Hours:36E5,Days:864E5,Months:2592E6,Years:31536E6},Ha={ms:"millisecond",s:"second",m:"minute",h:"hour",d:"day",D:"date",w:"week",W:"isoWeek",M:"month",Q:"quarter",y:"year",DDD:"dayOfYear",
e:"weekday",E:"isoWeekday",gg:"weekYear",GG:"isoWeekYear"},Ia={dayofyear:"dayOfYear",isoweekday:"isoWeekday",isoweek:"isoWeek",weekyear:"weekYear",isoweekyear:"isoWeekYear"},O={},w={s:45,m:45,h:22,d:26,M:11},Ba="DDD w W M D d".split(" "),Ca="MDHhmswW".split(""),u={M:function(){return this.month()+1},MMM:function(a){return this.localeData().monthsShort(this,a)},MMMM:function(a){return this.localeData().months(this,a)},D:function(){return this.date()},DDD:function(){return this.dayOfYear()},d:function(){return this.day()},
dd:function(a){return this.localeData().weekdaysMin(this,a)},ddd:function(a){return this.localeData().weekdaysShort(this,a)},dddd:function(a){return this.localeData().weekdays(this,a)},w:function(){return this.week()},W:function(){return this.isoWeek()},YY:function(){return l(this.year()%100,2)},YYYY:function(){return l(this.year(),4)},YYYYY:function(){return l(this.year(),5)},YYYYYY:function(){var a=this.year();return(0<=a?"+":"-")+l(Math.abs(a),6)},gg:function(){return l(this.weekYear()%100,2)},
gggg:function(){return l(this.weekYear(),4)},ggggg:function(){return l(this.weekYear(),5)},GG:function(){return l(this.isoWeekYear()%100,2)},GGGG:function(){return l(this.isoWeekYear(),4)},GGGGG:function(){return l(this.isoWeekYear(),5)},e:function(){return this.weekday()},E:function(){return this.isoWeekday()},a:function(){return this.localeData().meridiem(this.hours(),this.minutes(),!0)},A:function(){return this.localeData().meridiem(this.hours(),this.minutes(),!1)},H:function(){return this.hours()},
h:function(){return this.hours()%12||12},m:function(){return this.minutes()},s:function(){return this.seconds()},S:function(){return k(this.milliseconds()/100)},SS:function(){return l(k(this.milliseconds()/10),2)},SSS:function(){return l(this.milliseconds(),3)},SSSS:function(){return l(this.milliseconds(),3)},Z:function(){var a=-this.zone(),b="+";0>a&&(a=-a,b="-");return b+l(k(a/60),2)+":"+l(k(a)%60,2)},ZZ:function(){var a=-this.zone(),b="+";0>a&&(a=-a,b="-");return b+l(k(a/60),2)+l(k(a)%60,2)},z:function(){return this.zoneAbbr()},
zz:function(){return this.zoneName()},X:function(){return this.unix()},Q:function(){return this.quarter()}},ea={},Da=["months","monthsShort","weekdays","weekdaysShort","weekdaysMin"];Ba.length;)n=Ba.pop(),u[n+"o"]=Ea(u[n],n);for(;Ca.length;)n=Ca.pop(),u[n+n]=X(u[n],2);u.DDDD=X(u.DDD,3);x(Y.prototype,{set:function(a){var b,c;for(c in a)b=a[c],"function"===typeof b?this[c]=b:this["_"+c]=b},_months:"January February March April May June July August September October November December".split(" "),months:function(a){return this._months[a.month()]},
_monthsShort:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),monthsShort:function(a){return this._monthsShort[a.month()]},monthsParse:function(a){var b,c;this._monthsParse||(this._monthsParse=[]);for(b=0;12>b;b++)if(this._monthsParse[b]||(c=d.utc([2E3,b]),c="^"+this.months(c,"")+"|^"+this.monthsShort(c,""),this._monthsParse[b]=new RegExp(c.replace(".",""),"i")),this._monthsParse[b].test(a))return b},_weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),weekdays:function(a){return this._weekdays[a.day()]},
_weekdaysShort:"Sun Mon Tue Wed Thu Fri Sat".split(" "),weekdaysShort:function(a){return this._weekdaysShort[a.day()]},_weekdaysMin:"Su Mo Tu We Th Fr Sa".split(" "),weekdaysMin:function(a){return this._weekdaysMin[a.day()]},weekdaysParse:function(a){var b,c;this._weekdaysParse||(this._weekdaysParse=[]);for(b=0;7>b;b++)if(this._weekdaysParse[b]||(c=d([2E3,1]).day(b),c="^"+this.weekdays(c,"")+"|^"+this.weekdaysShort(c,"")+"|^"+this.weekdaysMin(c,""),this._weekdaysParse[b]=new RegExp(c.replace(".",
""),"i")),this._weekdaysParse[b].test(a))return b},_longDateFormat:{LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY LT",LLLL:"dddd, MMMM D, YYYY LT"},longDateFormat:function(a){var b=this._longDateFormat[a];!b&&this._longDateFormat[a.toUpperCase()]&&(b=this._longDateFormat[a.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(a){return a.slice(1)}),this._longDateFormat[a]=b);return b},isPM:function(a){return"p"===(a+"").toLowerCase().charAt(0)},_meridiemParse:/[ap]\.?m?\.?/i,meridiem:function(a,
b,c){return 11<a?c?"pm":"PM":c?"am":"AM"},_calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},calendar:function(a,b){var c=this._calendar[a];return"function"===typeof c?c.apply(b):c},_relativeTime:{future:"in %s",past:"%s ago",s:"a few 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"},relativeTime:function(a,
b,c,e){var d=this._relativeTime[c];return"function"===typeof d?d(a,b,c,e):d.replace(/%d/i,a)},pastFuture:function(a,b){var c=this._relativeTime[0<a?"future":"past"];return"function"===typeof c?c(b):c.replace(/%s/i,b)},ordinal:function(a){return this._ordinal.replace("%d",a)},_ordinal:"%d",preparse:function(a){return a},postformat:function(a){return a},week:function(a){return z(a,this._week.dow,this._week.doy).week},_week:{dow:0,doy:6},_invalidDate:"Invalid date",invalidDate:function(){return this._invalidDate}});
d=function(a,b,c,e){var d;"boolean"===typeof c&&(e=c,c=t);d={_isAMomentObject:!0};d._i=a;d._f=b;d._l=c;d._strict=e;d._isUTC=!1;d._pf=I();return wa(d)};d.suppressDeprecationWarnings=!1;d.createFromInputFallback=q("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(a){a._d=new Date(a._i)});d.min=function(){var a=[].slice.call(arguments,0);return xa("isBefore",
a)};d.max=function(){var a=[].slice.call(arguments,0);return xa("isAfter",a)};d.utc=function(a,b,c,e){var d;"boolean"===typeof c&&(e=c,c=t);d={_isAMomentObject:!0,_useUTC:!0,_isUTC:!0};d._l=c;d._i=a;d._f=b;d._strict=e;d._pf=I();return wa(d).utc()};d.unix=function(a){return d(1E3*a)};d.duration=function(a,b){var c=a,e=null,g;d.isDuration(a)?c={ms:a._milliseconds,d:a._days,M:a._months}:"number"===typeof a?(c={},b?c[b]=a:c.milliseconds=a):(e=ib.exec(a))?(g="-"===e[1]?-1:1,c={y:0,d:k(e[2])*g,h:k(e[3])*
g,m:k(e[4])*g,s:k(e[5])*g,ms:k(e[6])*g}):(e=jb.exec(a))?(g="-"===e[1]?-1:1,c=function(a){a=a&&parseFloat(a.replace(",","."));return(isNaN(a)?0:a)*g},c={y:c(e[2]),M:c(e[3]),d:c(e[4]),h:c(e[5]),m:c(e[6]),s:c(e[7]),w:c(e[8])}):"object"===typeof c&&("from"in c||"to"in c)&&(e=Fa(d(c.from),d(c.to)),c={},c.ms=e.milliseconds,c.M=e.months);c=new J(c);d.isDuration(a)&&y.call(a,"_locale")&&(c._locale=a._locale);return c};d.version="2.8.3";d.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";d.ISO_8601=function(){};d.momentProperties=
E;d.updateOffset=function(){};d.relativeTimeThreshold=function(a,b){if(w[a]===t)return!1;if(b===t)return w[a];w[a]=b;return!0};d.lang=q("moment.lang is deprecated. Use moment.locale instead.",function(a,b){return d.locale(a,b)});d.locale=function(a,b){var c;a&&(c="undefined"!==typeof b?d.defineLocale(a,b):d.localeData(a))&&(d.duration._locale=d._locale=c);return d._locale._abbr};d.defineLocale=function(a,b){if(null!==b)return b.abbr=a,A[a]||(A[a]=new Y),A[a].set(b),d.locale(a),A[a];delete A[a];return null};
d.langData=q("moment.langData is deprecated. Use moment.localeData instead.",function(a){return d.localeData(a)});d.localeData=function(a){var b;a&&a._locale&&a._locale._abbr&&(a=a._locale._abbr);if(!a)return d._locale;if(!G(a)){if(b=ma(a))return b;a=[a]}a:{b=0;for(var c,e,g,f;b<a.length;){f=la(a[b]).split("-");c=f.length;for(e=(e=la(a[b+1]))?e.split("-"):null;0<c;){if(g=ma(f.slice(0,c).join("-"))){a=g;break a}if(e&&e.length>=c&&ia(f,e,!0)>=c-1)break;c--}b++}a=null}return a};d.isMoment=function(a){return a instanceof
D||null!=a&&y.call(a,"_isAMomentObject")};d.isDuration=function(a){return a instanceof J};for(n=Da.length-1;0<=n;--n)Ja(Da[n]);d.normalizeUnits=function(a){return m(a)};d.invalid=function(a){var b=d.utc(NaN);null!=a?x(b._pf,a):b._pf.userInvalidated=!0;return b};d.parseZone=function(){return d.apply(null,arguments).parseZone()};d.parseTwoDigitYear=function(a){return k(a)+(68<k(a)?1900:2E3)};x(d.fn=D.prototype,{clone:function(){return d(this)},valueOf:function(){return+this._d+6E4*(this._offset||0)},
unix:function(){return Math.floor(+this/1E3)},toString:function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},toDate:function(){return this._offset?new Date(+this):this._d},toISOString:function(){var a=d(this).utc();return 0<a.year()&&9999>=a.year()?N(a,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):N(a,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},toArray:function(){return[this.year(),this.month(),this.date(),this.hours(),this.minutes(),this.seconds(),this.milliseconds()]},isValid:function(){return ka(this)},
isDSTShifted:function(){return this._a?this.isValid()&&0<ia(this._a,(this._isUTC?d.utc(this._a):d(this._a)).toArray()):!1},parsingFlags:function(){return x({},this._pf)},invalidAt:function(){return this._pf.overflow},utc:function(a){return this.zone(0,a)},local:function(a){this._isUTC&&(this.zone(0,a),this._isUTC=!1,a&&this.add(this._dateTzOffset(),"m"));return this},format:function(a){a=N(this,a||d.defaultFormat);return this.localeData().postformat(a)},add:da(1,"add"),subtract:da(-1,"subtract"),
diff:function(a,b,c){a=F(a,this);var e=6E4*(this.zone()-a.zone()),g,f;b=m(b);"year"===b||"month"===b?(g=432E5*(this.daysInMonth()+a.daysInMonth()),e=12*(this.year()-a.year())+(this.month()-a.month()),f=this-d(this).startOf("month")-(a-d(a).startOf("month")),f-=6E4*(this.zone()-d(this).startOf("month").zone()-(a.zone()-d(a).startOf("month").zone())),e+=f/g,"year"===b&&(e/=12)):(g=this-a,e="second"===b?g/1E3:"minute"===b?g/6E4:"hour"===b?g/36E5:"day"===b?(g-e)/864E5:"week"===b?(g-e)/6048E5:g);return c?
e:r(e)},from:function(a,b){return d.duration({to:this,from:a}).locale(this.locale()).humanize(!b)},fromNow:function(a){return this.from(d(),a)},calendar:function(a){a=a||d();a=F(a,this).startOf("day");a=this.diff(a,"days",!0);a=-6>a?"sameElse":-1>a?"lastWeek":0>a?"lastDay":1>a?"sameDay":2>a?"nextDay":7>a?"nextWeek":"sameElse";return this.format(this.localeData().calendar(a,this))},isLeapYear:function(){return M(this.year())},isDST:function(){return this.zone()<this.clone().month(0).zone()||this.zone()<
this.clone().month(5).zone()},day:function(a){var b=this._isUTC?this._d.getUTCDay():this._d.getDay();if(null!=a){a:{var c=this.localeData();if("string"===typeof a)if(isNaN(a)){if(a=c.weekdaysParse(a),"number"!==typeof a){a=null;break a}}else a=parseInt(a,10)}return this.add(a-b,"d")}return b},month:v("Month",!0),startOf:function(a){a=m(a);switch(a){case "year":this.month(0);case "quarter":case "month":this.date(1);case "week":case "isoWeek":case "day":this.hours(0);case "hour":this.minutes(0);case "minute":this.seconds(0);
case "second":this.milliseconds(0)}"week"===a?this.weekday(0):"isoWeek"===a&&this.isoWeekday(1);"quarter"===a&&this.month(3*Math.floor(this.month()/3));return this},endOf:function(a){a=m(a);return this.startOf(a).add(1,"isoWeek"===a?"week":a).subtract(1,"ms")},isAfter:function(a,b){b=m("undefined"!==typeof b?b:"millisecond");return"millisecond"===b?(a=d.isMoment(a)?a:d(a),+this>+a):+this.clone().startOf(b)>+d(a).startOf(b)},isBefore:function(a,b){b=m("undefined"!==typeof b?b:"millisecond");return"millisecond"===
b?(a=d.isMoment(a)?a:d(a),+this<+a):+this.clone().startOf(b)<+d(a).startOf(b)},isSame:function(a,b){b=m(b||"millisecond");return"millisecond"===b?(a=d.isMoment(a)?a:d(a),+this===+a):+this.clone().startOf(b)===+F(a,this).startOf(b)},min:q("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(a){a=d.apply(null,arguments);return a<this?this:a}),max:q("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",
function(a){a=d.apply(null,arguments);return a>this?this:a}),zone:function(a,b){var c=this._offset||0,e;if(null!=a)"string"===typeof a&&(a=ua(a)),16>Math.abs(a)&&(a*=60),!this._isUTC&&b&&(e=this._dateTzOffset()),this._offset=a,this._isUTC=!0,null!=e&&this.subtract(e,"m"),c!==a&&(!b||this._changeInProgress?fa(this,d.duration(c-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,d.updateOffset(this,!0),this._changeInProgress=null));else return this._isUTC?c:this._dateTzOffset();return this},
zoneAbbr:function(){return this._isUTC?"UTC":""},zoneName:function(){return this._isUTC?"Coordinated Universal Time":""},parseZone:function(){this._tzm?this.zone(this._tzm):"string"===typeof this._i&&this.zone(this._i);return this},hasAlignedHourOffset:function(a){a=a?d(a).zone():0;return 0===(this.zone()-a)%60},daysInMonth:function(){return L(this.year(),this.month())},dayOfYear:function(a){var b=B((d(this).startOf("day")-d(this).startOf("year"))/864E5)+1;return null==a?b:this.add(a-b,"d")},quarter:function(a){return null==
a?Math.ceil((this.month()+1)/3):this.month(3*(a-1)+this.month()%3)},weekYear:function(a){var b=z(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return null==a?b:this.add(a-b,"y")},isoWeekYear:function(a){var b=z(this,1,4).year;return null==a?b:this.add(a-b,"y")},week:function(a){var b=this.localeData().week(this);return null==a?b:this.add(7*(a-b),"d")},isoWeek:function(a){var b=z(this,1,4).week;return null==a?b:this.add(7*(a-b),"d")},weekday:function(a){var b=(this.day()+7-this.localeData()._week.dow)%
7;return null==a?b:this.add(a-b,"d")},isoWeekday:function(a){return null==a?this.day()||7:this.day(this.day()%7?a:a-7)},isoWeeksInYear:function(){return ja(this.year(),1,4)},weeksInYear:function(){var a=this.localeData()._week;return ja(this.year(),a.dow,a.doy)},get:function(a){a=m(a);return this[a]()},set:function(a,b){a=m(a);if("function"===typeof this[a])this[a](b);return this},locale:function(a){if(a===t)return this._locale._abbr;a=d.localeData(a);null!=a&&(this._locale=a);return this},lang:q("moment().lang() is deprecated. Use moment().localeData() instead.",
function(a){return a===t?this.localeData():this.locale(a)}),localeData:function(){return this._locale},_dateTzOffset:function(){return 15*Math.round(this._d.getTimezoneOffset()/15)}});d.fn.millisecond=d.fn.milliseconds=v("Milliseconds",!1);d.fn.second=d.fn.seconds=v("Seconds",!1);d.fn.minute=d.fn.minutes=v("Minutes",!1);d.fn.hour=d.fn.hours=v("Hours",!0);d.fn.date=v("Date",!0);d.fn.dates=q("dates accessor is deprecated. Use date instead.",v("Date",!0));d.fn.year=v("FullYear",!0);d.fn.years=q("years accessor is deprecated. Use year instead.",
v("FullYear",!0));d.fn.days=d.fn.day;d.fn.months=d.fn.month;d.fn.weeks=d.fn.week;d.fn.isoWeeks=d.fn.isoWeek;d.fn.quarters=d.fn.quarter;d.fn.toJSON=d.fn.toISOString;x(d.duration.fn=J.prototype,{_bubble:function(){var a=this._milliseconds,b=this._days,c=this._months,e=this._data,d=0;e.milliseconds=a%1E3;a=r(a/1E3);e.seconds=a%60;a=r(a/60);e.minutes=a%60;a=r(a/60);e.hours=a%24;b+=r(a/24);d=r(400*b/146097);b-=r(146097*d/400);c+=r(b/30);b%=30;d+=r(c/12);e.days=b;e.months=c%12;e.years=d},abs:function(){this._milliseconds=
Math.abs(this._milliseconds);this._days=Math.abs(this._days);this._months=Math.abs(this._months);this._data.milliseconds=Math.abs(this._data.milliseconds);this._data.seconds=Math.abs(this._data.seconds);this._data.minutes=Math.abs(this._data.minutes);this._data.hours=Math.abs(this._data.hours);this._data.months=Math.abs(this._data.months);this._data.years=Math.abs(this._data.years);return this},weeks:function(){return r(this.days()/7)},valueOf:function(){return this._milliseconds+864E5*this._days+
this._months%12*2592E6+31536E6*k(this._months/12)},humanize:function(a){var b;b=!a;var c=this.localeData(),e=d.duration(this).abs(),g=B(e.as("s")),f=B(e.as("m")),h=B(e.as("h")),k=B(e.as("d")),l=B(e.as("M")),e=B(e.as("y")),g=g<w.s&&["s",g]||1===f&&["m"]||f<w.m&&["mm",f]||1===h&&["h"]||h<w.h&&["hh",h]||1===k&&["d"]||k<w.d&&["dd",k]||1===l&&["M"]||l<w.M&&["MM",l]||1===e&&["y"]||["yy",e];g[2]=b;g[3]=0<+this;g[4]=c;b=gb.apply({},g);a&&(b=this.localeData().pastFuture(+this,b));return this.localeData().postformat(b)},
add:function(a,b){var c=d.duration(a,b);this._milliseconds+=c._milliseconds;this._days+=c._days;this._months+=c._months;this._bubble();return this},subtract:function(a,b){var c=d.duration(a,b);this._milliseconds-=c._milliseconds;this._days-=c._days;this._months-=c._months;this._bubble();return this},get:function(a){a=m(a);return this[a.toLowerCase()+"s"]()},as:function(a){var b;a=m(a);if("month"===a||"year"===a)return b=this._days+this._milliseconds/864E5,b=this._months+400*b/146097*12,"month"===
a?b:b/12;b=this._days+this._months/12*146097/400;switch(a){case "week":return b/7+this._milliseconds/6048E5;case "day":return b+this._milliseconds/864E5;case "hour":return 24*b+this._milliseconds/36E5;case "minute":return 1440*b+this._milliseconds/6E4;case "second":return 86400*b+this._milliseconds/1E3;case "millisecond":return Math.floor(864E5*b)+this._milliseconds;default:throw Error("Unknown unit "+a);}},lang:d.fn.lang,locale:d.fn.locale,toIsoString:q("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
function(){return this.toISOString()}),toISOString:function(){var a=Math.abs(this.years()),b=Math.abs(this.months()),c=Math.abs(this.days()),d=Math.abs(this.hours()),g=Math.abs(this.minutes()),f=Math.abs(this.seconds()+this.milliseconds()/1E3);return this.asSeconds()?(0>this.asSeconds()?"-":"")+"P"+(a?a+"Y":"")+(b?b+"M":"")+(c?c+"D":"")+(d||g||f?"T":"")+(d?d+"H":"")+(g?g+"M":"")+(f?f+"S":""):"P0D"},localeData:function(){return this._locale}});d.duration.fn.toString=d.duration.fn.toISOString;for(n in Aa)y.call(Aa,
n)&&hb(n.toLowerCase());d.duration.fn.asMilliseconds=function(){return this.as("ms")};d.duration.fn.asSeconds=function(){return this.as("s")};d.duration.fn.asMinutes=function(){return this.as("m")};d.duration.fn.asHours=function(){return this.as("h")};d.duration.fn.asDays=function(){return this.as("d")};d.duration.fn.asWeeks=function(){return this.as("weeks")};d.duration.fn.asMonths=function(){return this.as("M")};d.duration.fn.asYears=function(){return this.as("y")};d.locale("en",{ordinal:function(a){var b=
a%10,b=1===k(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+b}});na?module.exports=d:"function"===typeof define&&define.amd?(define("moment",function(a,b,c){c.config&&c.config()&&!0===c.config().noGlobal&&(V.moment=za);return d}),ya(!0)):ya()}).call(this);
