You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
31 KiB
JavaScript

// moment.js
//version 2.10.2
//authors Tim Wood, Iskren Chernev, Moment.js contributors
//license MIT
// momentjs.com
!function(a,b){object==typeof exports&&undefined!=typeof modulemodule.exports=b()function==typeof define&&define.amddefine(b)a.moment=b()}(this,function(){use strict;function a(){return Ac.apply(null,arguments)}function b(a){Ac=a}function c(){return{empty!1,unusedTokens[],unusedInput[],overflow-2,charsLeftOver0,nullInput!1,invalidMonthnull,invalidFormat!1,userInvalidated!1,iso!1}}function d(a){return[object Array]===Object.prototype.toString.call(a)}function e(a){return[object Date]===Object.prototype.toString.call(a)a instanceof Date}function f(a,b){var c,d=[];for(c=0;ca.length;++c)d.push(b(a[c],c));return d}function g(a,b){return Object.prototype.hasOwnProperty.call(a,b)}function h(a,b){for(var c in b)g(b,c)&&(a[c]=b[c]);return g(b,toString)&&(a.toString=b.toString),g(b,valueOf)&&(a.valueOf=b.valueOf),a}function i(a,b,c,d){return ya(a,b,c,d,!0).utc()}function j(a){return null==a._isValid&&(a._isValid=!isNaN(a._d.getTime())&&a._pf.overflow0&&!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&&void 0===a._pf.bigHour)),a._isValid}function k(a){var b=i(00);return null!=ah(b._pf,a)b._pf.userInvalidated=!0,b}function l(a,b){var c,d,e;if(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),Cc.length0)for(c in Cc)d=Cc[c],e=b[d],undefined!=typeof e&&(a[d]=e);return a}function m(b){l(this,b),this._d=new Date(+b._d),Dc===!1&&(Dc=!0,a.updateOffset(this),Dc=!1)}function n(a){return a instanceof mnull!=a&&g(a,_isAMomentObject)}function o(a){var b=+a,c=0;return 0!==b&&isFinite(b)&&(c=b=0Math.floor(b)Math.ceil(b)),c}function p(a,b,c){var d,e=Math.min(a.length,b.length),f=Math.abs(a.length-b.length),g=0;for(d=0;ed;d++)(c&&a[d]!==b[d]!c&&o(a[d])!==o(b[d]))&&g++;return g+f}function q(){}function r(a){return aa.toLowerCase().replace(_,-)a}function s(a){for(var b,c,d,e,f=0;fa.length;){for(e=r(a[f]).split(-),b=e.length,c=r(a[f+1]),c=cc.split(-)null;b0;){if(d=t(e.slice(0,b).join(-)))return d;if(c&&c.length=b&&p(e,c,!0)=b-1)break;b--}f++}return null}function t(a){var b=null;if(!Ec[a]&&undefined!=typeof module&&module&&module.exports)try{b=Bc._abbr,require(.locale+a),u(b)}catch(c){}return Ec[a]}function u(a,b){var c;return a&&(c=undefined==typeof bw(a)v(a,b),c&&(Bc=c)),Bc._abbr}function v(a,b){return null!==b(b.abbr=a,Ec[a](Ec[a]=new q),Ec[a].set(b),u(a),Ec[a])(delete Ec[a],null)}function w(a){var b;if(a&&a._locale&&a._locale._abbr&&(a=a._locale._abbr),!a)return Bc;if(!d(a)){if(b=t(a))return b;a=[a]}return s(a)}function x(a,b){var c=a.toLowerCase();Fc[c]=Fc[c+s]=Fc[b]=a}function y(a){returnstring==typeof aFc[a]Fc[a.toLowerCase()]void 0}function z(a){var b,c,d={};for(c in a)g(a,c)&&(b=y(c),b&&(d[b]=a[c]));return d}function A(b,c){return function(d){return null!=d(C(this,b,d),a.updateOffset(this,c),this)B(this,b)}}function B(a,b){return a._d[get+(a._isUTCUTC)+b]()}function C(a,b,c){return a._d[set+(a._isUTCUTC)+b](c)}function D(a,b){var c;if(object==typeof a)for(c in a)this.set(c,a[c]);else if(a=y(a),function==typeof this[a])return this[a](b);return this}function E(a,b,c){for(var d=+Math.abs(a),e=a=0;d.lengthb;)d=0+d;return(ec+-)+d}function F(a,b,c,d){var e=d;string==typeof d&&(e=function(){return this[d]()}),a&&(Jc[a]=e),b&&(Jc[b[0]]=function(){return E(e.apply(this,arguments),b[1],b[2])}),c&&(Jc[c]=function(){return this.localeData().ordinal(e.apply(this,arguments),a)})}function G(a){return a.match([[sS])a.replace(^[]$g,)a.replace(g,)}function H(a){var b,c,d=a.match(Gc);for(b=0,c=d.length;cb;b++)d[b]=Jc[d[b]]Jc[d[b]]G(d[b]);return function(e){var f=;for(b=0;cb;b++)f+=d[b]instanceof Functiond[b].call(e,a)d[b];return f}}function I(a,b){return a.isValid()(b=J(b,a.localeData()),Ic[b](Ic[b]=H(b)),Ic[b](a))a.localeData().invalidDate()}function J(a,b){function c(a){return b.longDateFormat(a)a}var d=5;for(Hc.lastIndex=0;d=0&&Hc.test(a);)a=a.replace(Hc,c),Hc.lastIndex=0,d-=1;return a}function K(a,b,c){Yc[a]=function==typeof bbfunction(a){return a&&ccb}}function L(a,b){return g(Yc,a)Yc[a](b._strict,b._locale)new RegExp(M(a))}function M(a){return a.replace(,).replace(([)(])[([^][])](.)g,function(a,b,c,d,e){return bcde}).replace([-^$+.()[]{}]g,$&)}function N(a,b){var c,d=b;for(string==typeof a&&(a=[a]),number==typeof b&&(d=function(a,c){c[b]=o(a)}),c=0;ca.length;c++)Zc[a[c]]=d}function O(a,b){N(a,function(a,c,d,e){d._w=d._w{},b(a,d._w,d,e)})}function P(a,b,c){null!=b&&g(Zc,a)&&Zc[a](b,c._a,c,a)}function Q(a,b){return new Date(Date.UTC(a,b+1,0)).getUTCDate()}function R(a){return this._months[a.month()]}function S(a){return this._monthsShort[a.month()]}function T(a,b,c){var d,e,f;for(this._monthsParse(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),d=0;12d;d++){if(e=i([2e3,d]),c&&!this._longMonthsParse[d]&&(this._longMonthsParse[d]=new RegExp(^+this.months(e,).replace(.,)+$,i),this._shortMonthsParse[d]=new RegExp(^+this.monthsShort(e,).replace(.,)+$,i)),cthis._monthsParse[d](f=^+this.months(e,)+^+this.monthsShort(e,),this._monthsParse[d]=new RegExp(f.replace(.,),i)),c&&MMMM===b&&this._longMonthsParse[d].test(a))return d;if(c&&MMM===b&&this._shortMonthsParse[d].test(a))return d;if(!c&&this._monthsParse[d].test(a))return d}}function U(a,b){var c;returnstring==typeof b&&(b=a.localeData().monthsParse(b),number!=typeof b)a(c=Math.min(a.date(),Q(a.year(),b)),a._d[set+(a._isUTCUTC)+Month](b,c),a)}function V(b){return null!=b(U(this,b),a.updateOffset(this,!0),this)B(this,Month)}function W(){return Q(this.year(),this.month())}function X(a){var b,c=a._a;return c&&-2===a._pf.overflow&&(b=c[_c]0c[_c]11_cc[ad]1c[ad]Q(c[$c],c[_c])adc[bd]0c[bd]2424===c[bd]&&(0!==c[cd]0!==c[dd]0!==c[ed])bdc[cd]0c[cd]59cdc[dd]0c[dd]59ddc[ed]0c[ed]999ed-1,a._pf._overflowDayOfYear&&($cbbad)&&(b=ad),a._pf.overflow=b),a}function Y(b){a.suppressDeprecationWarnings===!1&&undefined!=typeof console&&console.warn&&console.warn(Deprecation warning +b)}function Z(a,b){var c=!0;return h(function(){return c&&(Y(a),c=!1),b.apply(this,arguments)},b)}function $(a,b){hd[a](Y(b),hd[a]=!0)}function _(a){var b,c,d=a._i,e=id.exec(d);if(e){for(a._pf.iso=!0,b=0,c=jd.length;cb;b++)if(jd[b][1].exec(d)){a._f=jd[b][0]+(e[6] );break}for(b=0,c=kd.length;cb;b++)if(kd[b][1].exec(d)){a._f+=kd[b][0];break}d.match(Vc)&&(a._f+=Z),sa(a)}else a._isValid=!1}function aa(b){var c=ld.exec(b._i);return null!==cvoid(b._d=new Date(+c[1]))(_(b),void(b._isValid===!1&&(delete b._isValid,a.createFromInputFallback(b))))}function ba(a,b,c,d,e,f,g){var h=new Date(a,b,c,d,e,f,g);return 1970a&&h.setFullYear(a),h}function ca(a){var b=new Date(Date.UTC.apply(null,arguments));return 1970a&&b.setUTCFullYear(a),b}function da(a){return ea(a)366365}function ea(a){return a%4===0&&a%100!==0a%400===0}function fa(){return ea(this.year())}function ga(a,b,c){var d,e=c-b,f=c-a.day();return fe&&(f-=7),e-7f&&(f+=7),d=za(a).add(f,d),{weekMath.ceil(d.dayOfYear()7),yeard.year()}}function ha(a){return ga(a,this._week.dow,this._week.doy).week}function ia(){return this._week.dow}function ja(){return this._week.doy}function ka(a){var b=this.localeData().week(this);return null==abthis.add(7(a-b),d)}function la(a){var b=ga(this,1,4).week;return null==abthis.add(7(a-b),d)}function ma(a,b,c,d,e){var f,g,h=ca(a,0,1).getUTCDay();return h=0===h7h,c=null!=cce,f=e-h+(hd70)-(eh70),g=7(b-1)+(c-e)+f+1,{yearg0aa-1,dayOfYearg0gda(a-1)+g}}function na(a){var b=Math.round((this.clone().startOf(day)-this.clone().startOf(year))864e5)+1;return null==abthis.add(a-b,d)}function oa(a,b,c){return null!=aanull!=bbc}function pa(a){var b=new Date;return a._useUTC[b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()][b.getFullYear(),b.getMonth(),b.getDate()]}function qa(a){var b,c,d,e,f=[];if(!a._d){for(d=pa(a),a._w&&null==a._a[ad]&&null==a._a[_c]&&ra(a),a._dayOfYear&&(e=oa(a._a[$c],d[$c]),a._dayOfYearda(e)&&(a._pf._overflowDayOfYear=!0),c=ca(e,0,a._dayOfYear),a._a[_c]=c.getUTCMonth(),a._a[ad]=c.getUTCDate()),b=0;3b&&null==a._a[b];++b)a._a[b]=f[b]=d[b];for(;7b;b++)a._a[b]=f[b]=null==a._a[b]2===b10a._a[b];24===a._a[bd]&&0===a._a[cd]&&0===a._a[dd]&&0===a._a[ed]&&(a._nextDay=!0,a._a[bd]=0),a._d=(a._useUTCcaba).apply(null,f),null!=a._tzm&&a._d.setUTCMinutes(a._d.getUTCMinutes()-a._tzm),a._nextDay&&(a._a[bd]=24)}}function ra(a){var b,c,d,e,f,g,h;b=a._w,null!=b.GGnull!=b.Wnull!=b.E(f=1,g=4,c=oa(b.GG,a._a[$c],ga(za(),1,4).year),d=oa(b.W,1),e=oa(b.E,1))(f=a._locale._week.dow,g=a._locale._week.doy,c=oa(b.gg,a._a[$c],ga(za(),f,g).year),d=oa(b.w,1),null!=b.d(e=b.d,fe&&++d)e=null!=b.eb.e+ff),h=ma(c,d,e,g,f),a._a[$c]=h.year,a._dayOfYear=h.dayOfYear}function sa(b){if(b._f===a.ISO_8601)return void _(b);b._a=[],b._pf.empty=!0;var c,d,e,f,g,h=+b._i,i=h.length,j=0;for(e=J(b._f,b._locale).match(Gc)[],c=0;ce.length;c++)f=e[c],d=(h.match(L(f,b))[])[0],d&&(g=h.substr(0,h.indexOf(d)),g.length0&&b._pf.unusedInput.push(g),h=h.slice(h.indexOf(d)+d.length),j+=d.length),Jc[f](db._pf.empty=!1b._pf.unusedTokens.push(f),P(f,d,b))b._strict&&!d&&b._pf.unusedTokens.push(f);b._pf.charsLeftOver=i-j,h.length0&&b._pf.unusedInput.push(h),b._pf.bigHour===!0&&b._a[bd]=12&&(b._pf.bigHour=void 0),b._a[bd]=ta(b._locale,b._a[bd],b._meridiem),qa(b),X(b)}function ta(a,b,c){var d;return null==cbnull!=a.meridiemHoura.meridiemHour(b,c)null!=a.isPM(d=a.isPM(c),d&&12b&&(b+=12),d12!==b(b=0),b)b}function ua(a){var b,d,e,f,g;if(0===a._f.length)return a._pf.invalidFormat=!0,void(a._d=new Date(00));for(f=0;fa._f.length;f++)g=0,b=l({},a),null!=a._useUTC&&(b._useUTC=a._useUTC),b._pf=c(),b._f=a._f[f],sa(b),j(b)&&(g+=b._pf.charsLeftOver,g+=10b._pf.unusedTokens.length,b._pf.score=g,(null==eeg)&&(e=g,d=b));h(a,db)}function va(a){if(!a._d){var b=z(a._i);a._a=[b.year,b.month,b.dayb.date,b.hour,b.minute,b.second,b.millisecond],qa(a)}}function wa(a){var b,c=a._i,e=a._f;return a._locale=a._localew(a._l),null===cvoid 0===e&&===ck({nullInput!0})(string==typeof c&&(a._i=c=a._locale.preparse(c)),n(c)new m(X(c))(d(e)ua(a)esa(a)xa(a),b=new m(X(a)),b._nextDay&&(b.add(1,d),b._nextDay=void 0),b))}function xa(b){var c=b._i;void 0===cb._d=new Datee(c)b._d=new Date(+c)string==typeof caa(b)d(c)(b._a=f(c.slice(0),function(a){return parseInt(a,10)}),qa(b))object==typeof cva(b)number==typeof cb._d=new Date(c)a.createFromInputFallback(b)}function ya(a,b,d,e,f){var g={};returnboolean==typeof d&&(e=d,d=void 0),g._isAMomentObject=!0,g._useUTC=g._isUTC=f,g._l=d,g._i=a,g._f=b,g._strict=e,g._pf=c(),wa(g)}function za(a,b,c,d){return ya(a,b,c,d,!1)}function Aa(a,b){var c,e;if(1===b.length&&d(b[0])&&(b=b[0]),!b.length)return za();for(c=b[0],e=1;eb.length;++e)b[e][a](c)&&(c=b[e]);return c}function Ba(){var a=[].slice.call(arguments,0);return Aa(isBefore,a)}function Ca(){var a=[].slice.call(arguments,0);return Aa(isAfter,a)}function Da(a){var b=z(a),c=b.year0,d=b.quarter0,e=b.month0,f=b.week0,g=b.day0,h=b.hour0,i=b.minute0,j=b.second0,k=b.millisecond0;this._milliseconds=+k+1e3j+6e4i+36e5h,this._days=+g+7f,this._months=+e+3d+12c,this._data={},this._locale=w(),this._bubble()}function Ea(a){return a instanceof Da}function Fa(a,b){F(a,0,0,function(){var a=this.utcOffset(),c=+;return 0a&&(a=-a,c=-),c+E(~~(a60),2)+b+E(~~a%60,2)})}function Ga(a){var b=(a).match(Vc)[],c=b[b.length-1][],d=(c+).match(qd)[-,0,0],e=+(60d[1])+o(d[2]);return+===d[0]e-e}function Ha(b,c){var d,f;return c._isUTC(d=c.clone(),f=(n(b)e(b)+b+za(b))-+d,d._d.setTime(+d._d+f),a.updateOffset(d,!1),d)za(b).local();return c._isUTCza(b).zone(c._offset0)za(b).local()}function Ia(a){return 15-Math.round(a._d.getTimezoneOffset()15)}function Ja(b,c){var d,e=this._offset0;return null!=b(string==typeof b&&(b=Ga(b)),Math.abs(b)16&&(b=60b),!this._isUTC&&c&&(d=Ia(this)),this._offset=b,this._isUTC=!0,null!=d&&this.add(d,m),e!==b&&(!cthis._changeInProgressZa(this,Ua(b-e,m),1,!1)this._changeInProgress(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this)this._isUTCeIa(this)}function Ka(a,b){return null!=a(string!=typeof a&&(a=-a),this.utcOffset(a,b),this)-this.utcOffset()}function La(a){return this.utcOffset(0,a)}function Ma(a){return this._isUTC&&(this.utcOffset(0,a),this._isUTC=!1,a&&this.subtract(Ia(this),m)),this}function Na(){return this._tzmthis.utcOffset(this._tzm)string==typeof this._i&&this.utcOffset(Ga(this._i)),this}function Oa(a){return a=aza(a).utcOffset()0,(this.utcOffset()-a)%60===0}function Pa(){return this.utcOffset()this.clone().month(0).utcOffset()this.utcOffset()this.clone().month(5).utcOffset()}function Qa(){if(this._a){var a=this._isUTCi(this._a)za(this._a);return this.isValid()&&p(this._a,a.toArray())0}return!1}function Ra(){return!this._isUTC}function Sa(){return this._isUTC}function Ta(){return this._isUTC&&0===this._offset}function Ua(a,b){var c,d,e,f=a,h=null;return Ea(a)f={msa._milliseconds,da._days,Ma._months}number==typeof a(f={},bf[b]=af.milliseconds=a)(h=rd.exec(a))(c=-===h[1]-11,f={y0,do(h[ad])c,ho(h[bd])c,mo(h[cd])c,so(h[dd])c,mso(h[ed])c})(h=sd.exec(a))(c=-===h[1]-11,f={yVa(h[2],c),MVa(h[3],c),dVa(h[4],c),hVa(h[5],c),mVa(h[6],c),sVa(h[7],c),wVa(h[8],c)})null==ff={}object==typeof f&&(fromin ftoin f)&&(e=Xa(za(f.from),za(f.to)),f={},f.ms=e.milliseconds,f.M=e.months),d=new Da(f),Ea(a)&&g(a,_locale)&&(d._locale=a._locale),d}function Va(a,b){var c=a&&parseFloat(a.replace(,,.));return(isNaN(c)0c)b}function Wa(a,b){var c={milliseconds0,months0};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 Xa(a,b){var c;return b=Ha(b,a),a.isBefore(b)c=Wa(a,b)(c=Wa(b,a),c.milliseconds=-c.milliseconds,c.months=-c.months),c}function Ya(a,b){return function(c,d){var e,f;return null===disNaN(+d)($(b,moment().+b+(period, number) is deprecated. Please use moment().+b+(number, period).),f=c,c=d,d=f),c=string==typeof c+cc,e=Ua(c,d),Za(this,e,a),this}}function Za(b,c,d,e){var f=c._milliseconds,g=c._days,h=c._months;e=null==e!0e,f&&b._d.setTime(+b._d+fd),g&&C(b,Date,B(b,Date)+gd),h&&U(b,B(b,Month)+hd),e&&a.updateOffset(b,gh)}function $a(a){var b=aza(),c=Ha(b,this).startOf(day),d=this.diff(c,days,!0),e=-6dsameElse-1dlastWeek0dlastDay1dsameDay2dnextDay7dnextWeeksameElse;return this.format(this.localeData().calendar(e,this,za(b)))}function _a(){return new m(this)}function ab(a,b){var c;return b=y(undefined!=typeof bbmillisecond),millisecond===b(a=n(a)aza(a),+this+a)(c=n(a)+a+za(a),c+this.clone().startOf(b))}function bb(a,b){var c;return b=y(undefined!=typeof bbmillisecond),millisecond===b(a=n(a)aza(a),+a+this)(c=n(a)+a+za(a),+this.clone().endOf(b)c)}function cb(a,b,c){return this.isAfter(a,c)&&this.isBefore(b,c)}function db(a,b){var c;return b=y(bmillisecond),millisecond===b(a=n(a)aza(a),+this===+a)(c=+za(a),+this.clone().startOf(b)=c&&c=+this.clone().endOf(b))}function eb(a){return 0aMath.ceil(a)Math.floor(a)}function fb(a,b,c){var d,e,f=Ha(a,this),g=6e4(f.utcOffset()-this.utcOffset());return b=y(b),year===bmonth===bquarter===b(e=gb(this,f),quarter===be=3year===b&&(e=12))(d=this-f,e=second===bd1e3minute===bd6e4hour===bd36e5day===b(d-g)864e5week===b(d-g)6048e5d),ceeb(e)}function gb(a,b){var c,d,e=12(b.year()-a.year())+(b.month()-a.month()),f=a.clone().add(e,months);return 0b-f(c=a.clone().add(e-1,months),d=(b-f)(f-c))(c=a.clone().add(e+1,months),d=(b-f)(c-f)),-(e+d)}function hb(){return this.clone().locale(en).format(ddd MMM DD YYYY HHmmss [GMT]ZZ)}function ib(){var a=this.clone().utc();return 0a.year()&&a.year()=9999function==typeof Date.prototype.toISOStringthis.toDate().toISOString()I(a,YYYY-MM-DD[T]HHmmss.SSS[Z])I(a,YYYYYY-MM-DD[T]HHmmss.SSS[Z])}function jb(b){var c=I(this,ba.defaultFormat);return this.localeData().postformat(c)}function kb(a,b){return Ua({tothis,froma}).locale(this.locale()).humanize(!b)}function lb(a){return this.from(za(),a)}function mb(a){var b;return void 0===athis._locale._abbr(b=w(a),null!=b&&(this._locale=b),this)}function nb(){return this._locale}function ob(a){switch(a=y(a)){caseyearthis.month(0);casequartercasemonththis.date(1);caseweekcaseisoWeekcasedaythis.hours(0);casehourthis.minutes(0);caseminutethis.seconds(0);casesecondthis.milliseconds(0)}returnweek===a&&this.weekday(0),isoWeek===a&&this.isoWeekday(1),quarter===a&&this.month(3Math.floor(this.month()3)),this}function pb(a){return a=y(a),void 0===amillisecond===athisthis.startOf(a).add(1,isoWeek===aweeka).subtract(1,ms)}function qb(){return+this._d-6e4(this._offset0)}function rb(){return Math.floor(+this1e3)}function sb(){return this._offsetnew Date(+this)this._d}function tb(){var a=this;return[a.year(),a.month(),a.date(),a.hour(),a.minute(),a.second(),a.millisecond()]}function ub(){return j(this)}function vb(){return h({},this._pf)}function wb(){return this._pf.overflow}function xb(a,b){F(0,[a,a.length],0,b)}function yb(a,b,c){return ga(za([a,11,31+b-c]),b,c).week}function zb(a){var b=ga(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return null==abthis.add(a-b,y)}function Ab(a){var b=ga(this,1,4).year;return null==abthis.add(a-b,y)}function Bb(){return yb(this.year(),1,4)}function Cb(){var a=this.localeData()._week;return yb(this.year(),a.dow,a.doy)}function Db(a){return null==aMath.ceil((this.month()+1)3)this.month(3(a-1)+this.month()%3)}function Eb(a,b){if(string==typeof a)if(isNaN(a)){if(a=b.weekdaysParse(a),number!=typeof a)return null}else a=parseInt(a,10);return a}function Fb(a){return this._weekdays[a.day()]}function Gb(a){return this._weekdaysShort[a.day()]}function Hb(a){return this._weekdaysMin[a.day()]}function Ib(a){var b,c,d;for(this._weekdaysParse(this._weekdaysParse=[]),b=0;7b;b++)if(this._weekdaysParse[b](c=za([2e3,1]).day(b),d=^+this.weekdays(c,)+^+this.weekdaysShort(c,)+^+this.weekdaysMin(c,),this._weekdaysParse[b]=new RegExp(d.replace(.,),i)),this._weekdaysParse[b].test(a))return b}function Jb(a){var b=this._isUTCthis._d.getUTCDay()this._d.getDay();return null!=a(a=Eb(a,this.localeData()),this.add(a-b,d))b}function Kb(a){var b=(this.day()+7-this.localeData()._week.dow)%7;return null==abthis.add(a-b,d)}function Lb(a){return null==athis.day()7this.day(this.day()%7aa-7)}function Mb(a,b){F(a,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),b)})}function Nb(a,b){return b._meridiemParse}function Ob(a){returnp===(a+).toLowerCase().charAt(0)}function Pb(a,b,c){return a11cpmPMcamAM}function Qb(a){F(0,[a,3],0,millisecond)}function Rb(){return this._isUTCUTC}function Sb(){return this._isUTCCoordinated Universal Time}function Tb(a){return za(1e3a)}function Ub(){return za.apply(null,arguments).parseZone()}function Vb(a,b,c){var d=this._calendar[a];returnfunction==typeof dd.call(b,c)d}function Wb(a){var b=this._longDateFormat[a];return!b&&this._longDateFormat[a.toUpperCase()]&&(b=this._longDateFormat[a.toUpperCase()].replace(MMMMMMDDddddg,function(a){return a.slice(1)}),this._longDateFormat[a]=b),b}function Xb(){return this._invalidDate}function Yb(a){return this._ordinal.replace(%d,a)}function Zb(a){return a}function $b(a,b,c,d){var e=this._relativeTime[c];returnfunction==typeof ee(a,b,c,d)e.replace(%di,a)}function _b(a,b){var c=this._relativeTime[a0futurepast];returnfunction==typeof cc(b)c.replace(%si,b)}function ac(a){var b,c;for(c in a)b=a[c],function==typeof bthis[c]=bthis[_+c]=b;this._ordinalParseLenient=new RegExp(this._ordinalParse.source++d{1,2}.source)}function bc(a,b,c,d){var e=w(),f=i().set(d,b);return e[c](f,a)}function cc(a,b,c,d,e){if(number==typeof a&&(b=a,a=void 0),a=a,null!=b)return bc(a,b,c,e);var f,g=[];for(f=0;df;f++)g[f]=bc(a,f,c,e);return g}function dc(a,b){return cc(a,b,months,12,month)}function ec(a,b){return cc(a,b,monthsShort,12,month)}function fc(a,b){return cc(a,b,weekdays,7,day)}function gc(a,b){return cc(a,b,weekdaysShort,7,day)}function hc(a,b){return cc(a,b,weekdaysMin,7,day)}function ic(){var a=this._data;return this._milliseconds=Od(this._milliseconds),this._days=Od(this._days),this._months=Od(this._months),a.milliseconds=Od(a.milliseconds),a.seconds=Od(a.seconds),a.minutes=Od(a.minutes),a.hours=Od(a.hours),a.months=Od(a.months),a.years=Od(a.years),this}function jc(a,b,c,d){var e=Ua(b,c);return a._milliseconds+=de._milliseconds,a._days+=de._days,a._months+=de._months,a._bubble()}function kc(a,b){return jc(this,a,b,1)}function lc(a,b){return jc(this,a,b,-1)}function mc(){var a,b,c,d=this._milliseconds,e=this._days,f=this._months,g=this._data,h=0;return g.milliseconds=d%1e3,a=eb(d1e3),g.seconds=a%60,b=eb(a60),g.minutes=b%60,c=eb(b60),g.hours=c%24,e+=eb(c24),h=eb(nc(e)),e-=eb(oc(h)),f+=eb(e30),e%=30,h+=eb(f12),f%=12,g.days=e,g.months=f,g.years=h,this}function nc(a){return 400a146097}function oc(a){return 146097a400}function pc(a){var b,c,d=this._milliseconds;if(a=y(a),month===ayear===a)return b=this._days+d864e5,c=this._months+12nc(b),month===acc12;switch(b=this._days+Math.round(oc(this._months12)),a){caseweekreturn b7+d6048e5;casedayreturn b+d864e5;casehourreturn 24b+d36e5;caseminutereturn 24b60+d6e4;casesecondreturn 24b6060+d1e3;casemillisecondreturn Math.floor(24b60601e3)+d;defaultthrow new Error(Unknown unit +a)}}function qc(){return this._milliseconds+864e5this._days+this._months%122592e6+31536e6o(this._months12)}function rc(a){return function(){return this.as(a)}}function sc(a){return a=y(a),this[a+s]()}function tc(a){return function(){return this._data[a]}}function uc(){return eb(this.days()7)}function vc(a,b,c,d,e){return e.relativeTime(b1,!!c,a,d)}function wc(a,b,c){var d=Ua(a).abs(),e=ce(d.as(s)),f=ce(d.as(m)),g=ce(d.as(h)),h=ce(d.as(d)),i=ce(d.as(M)),j=ce(d.as(y)),k=ede.s&&[s,e]1===f&&[m]fde.m&&[mm,f]1===g&&[h]gde.h&&[hh,g]1===h&&[d]hde.d&&[dd,h]1===i&&[M]ide.M&&[MM,i]1===j&&[y][yy,j];return k[2]=b,k[3]=+a0,k[4]=c,vc.apply(null,k)}function xc(a,b){return void 0===de[a]!1void 0===bde[a](de[a]=b,!0)}function yc(a){var b=this.localeData(),c=wc(this,!a,b);return a&&(c=b.pastFuture(+this,c)),b.postformat(c)}function zc(){var a=ee(this.years()),b=ee(this.months()),c=ee(this.days()),d=ee(this.hours()),e=ee(this.minutes()),f=ee(this.seconds()+this.milliseconds()1e3),g=this.asSeconds();return g(0g-)+P+(aa+Y)+(bb+M)+(cc+D)+(defT)+(dd+H)+(ee+M)+(ff+S)P0D}var Ac,Bc,Cc=a.momentProperties=[],Dc=!1,Ec={},Fc={},Gc=([[^[]])()(MoMMMMDoDDDoDDDDdddddow[ow]W[oW]QYYYYYYYYYYYYYYYYYgg(ggg)GG(GGG)eEaAhhHHmmssS{1,4}xXzzZZ.)g,Hc=([[^[]])()(LTSLTLLLLl{1,4})g,Ic={},Jc={},Kc=d,Lc=dd,Mc=d{3},Nc=d{4},Oc=[+-]d{6},Pc=dd,Qc=d{1,3},Rc=d{1,4},Sc=[+-]d{1,6},Tc=d+,Uc=[+-]d+,Vc=Z[+-]ddddgi,Wc=[+-]d+(.d{1,3}),Xc=[0-9]['a-zu00A0-u05FFu0700-uD7FFuF900-uFDCFuFDF0-uFFEF]+[u0600-u06FF]+(s[u0600-u06FF]+){1,2}i,Yc={},Zc={},$c=0,_c=1,ad=2,bd=3,cd=4,dd=5,ed=6;F(M,[MM,2],Mo,function(){return this.month()+1}),F(MMM,0,0,function(a){return this.localeData().monthsShort(this,a)}),F(MMMM,0,0,function(a){return this.localeData().months(this,a)}),x(month,M),K(M,Pc),K(MM,Pc,Lc),K(MMM,Xc),K(MMMM,Xc),N([M,MM],function(a,b){b[_c]=o(a)-1}),N([MMM,MMMM],function(a,b,c,d){var e=c._locale.monthsParse(a,d,c._strict);null!=eb[_c]=ec._pf.invalidMonth=a});var fd=January_February_March_April_May_June_July_August_September_October_November_December.split(_),gd=Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec.split(_),hd={};a.suppressDeprecationWarnings=!1;var id=^s([+-]d{6}d{4})-((dd-dd)(Wdd$)(Wdd-d)(ddd))((T )(dd(dd(dd(.d+))))([+-]dd(dd)sZ))$,jd=[[YYYYYY-MM-DD,[+-]d{6}-d{2}-d{2}],[YYYY-MM-DD,d{4}-d{2}-d{2}],[GGGG-[W]WW-E,d{4}-Wd{2}-d],[GGGG-[W]WW,d{4}-Wd{2}],[YYYY-DDD,d{4}-d{3}]],kd=[[HHmmss.SSSS,(T )dddddd.d+],[HHmmss,(T )dddddd],[HHmm,(T )dddd],[HH,(T )dd]],ld=^Date((-d+)i;a.createFromInputFallback=Z(moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to httpsgithub.commomentmomentissues1407 for more info.,function(a){a._d=new Date(a._i+(a._useUTC UTC))}),F(0,[YY,2],0,function(){return this.year()%100}),F(0,[YYYY,4],0,year),F(0,[YYYYY,5],0,year),F(0,[YYYYYY,6,!0],0,year),x(year,y),K(Y,Uc),K(YY,Pc,Lc),K(YYYY,Rc,Nc),K(YYYYY,Sc,Oc),K(YYYYYY,Sc,Oc),N([YYYY,YYYYY,YYYYYY],$c),N(YY,function(b,c){c[$c]=a.parseTwoDigitYear(b)}),a.parseTwoDigitYear=function(a){return o(a)+(o(a)6819002e3)};var md=A(FullYear,!1);F(w,[ww,2],wo,week),F(W,[WW,2],Wo,isoWeek),x(week,w),x(isoWeek,W),K(w,Pc),K(ww,Pc,Lc),K(W,Pc),K(WW,Pc,Lc),O([w,ww,W,WW],function(a,b,c,d){b[d.substr(0,1)]=o(a)});var nd={dow0,doy6};F(DDD,[DDDD,3],DDDo,dayOfYear),x(dayOfYear,DDD),K(DDD,Qc),K(DDDD,Mc),N([DDD,DDDD],function(a,b,c){c._dayOfYear=o(a)}),a.ISO_8601=function(){};var od=Z(moment().min is deprecated, use moment.min instead. httpsgithub.commomentmomentissues1548,function(){var a=za.apply(null,arguments);return thisathisa}),pd=Z(moment().max is deprecated, use moment.max instead. httpsgithub.commomentmomentissues1548,function(){var a=za.apply(null,arguments);return athisthisa});Fa(Z,),Fa(ZZ,),K(Z,Vc),K(ZZ,Vc),N([Z,ZZ],function(a,b,c){c._useUTC=!0,c._tzm=Ga(a)});var qd=([+-]dd)gi;a.updateOffset=function(){};var rd=(-)((d).)(d+)(d+)((d+).(d{3})),sd=^(-)P((([0-9,.])Y)(([0-9,.])M)(([0-9,.])D)(T(([0-9,.])H)(([0-9,.])M)(([0-9,.])S))([0-9,.])W)$;Ua.fn=Da.prototype;var td=Ya(1,add),ud=Ya(-1,subtract);a.defaultFormat=YYYY-MM-DDTHHmmssZ;var vd=Z(moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.,function(a){return void 0===athis.localeData()this.locale(a)});F(0,[gg,2],0,function(){return this.weekYear()%100}),F(0,[GG,2],0,function(){return this.isoWeekYear()%100}),xb(gggg,weekYear),xb(ggggg,weekYear),xb(GGGG,isoWeekYear),xb(GGGGG,isoWeekYear),x(weekYear,gg),x(isoWeekYear,GG),K(G,Uc),K(g,Uc),K(GG,Pc,Lc),K(gg,Pc,Lc),K(GGGG,Rc,Nc),K(gggg,Rc,Nc),K(GGGGG,Sc,Oc),K(ggggg,Sc,Oc),O([gggg,ggggg,GGGG,GGGGG],function(a,b,c,d){b[d.substr(0,2)]=o(a)}),O([gg,GG],function(b,c,d,e){c[e]=a.parseTwoDigitYear(b)}),F(Q,0,0,quarter),x(quarter,Q),K(Q,Kc),N(Q,function(a,b){b[_c]=3(o(a)-1)}),F(D,[DD,2],Do,date),x(date,D),K(D,Pc),K(DD,Pc,Lc),K(Do,function(a,b){return ab._ordinalParseb._ordinalParseLenient}),N([D,DD],ad),N(Do,function(a,b){b[ad]=o(a.match(Pc)[0],10)});var wd=A(Date,!0);F(d,0,do,day),F(dd,0,0,function(a){return this.localeData().weekdaysMin(this,a)}),F(ddd,0,0,function(a){return this.localeData().weekdaysShort(this,a)}),F(dddd,0,0,function(a){return this.localeData().weekdays(this,a)}),F(e,0,0,weekday),F(E,0,0,isoWeekday),x(day,d),x(weekday,e),x(isoWeekday,E),K(d,Pc),K(e,Pc),K(E,Pc),K(dd,Xc),K(ddd,Xc),K(dddd,Xc),O([dd,ddd,dddd],function(a,b,c){var d=c._locale.weekdaysParse(a);null!=db.d=dc._pf.invalidWeekday=a}),O([d,e,E],function(a,b,c,d){b[d]=o(a)});var xd=Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday.split(_),yd=Sun_Mon_Tue_Wed_Thu_Fri_Sat.split(_),zd=Su_Mo_Tu_We_Th_Fr_Sa.split(_);F(H,[HH,2],0,hour),F(h,[hh,2],0,function(){return this.hours()%1212}),Mb(a,!0),Mb(A,!1),x(hour,h),K(a,Nb),K(A,Nb),K(H,Pc),K(h,Pc),K(HH,Pc,Lc),K(hh,Pc,Lc),N([H,HH],bd),N([a,A],function(a,b,c){c._isPm=c._locale.isPM(a),c._meridiem=a}),N([h,hh],function(a,b,c){b[bd]=o(a),c._pf.bigHour=!0});var Ad=[ap].m.i,Bd=A(Hours,!0);F(m,[mm,2],0,minute),x(minute,m),K(m,Pc),K(mm,Pc,Lc),N([m,mm],cd);var Cd=A(Minutes,!1);F(s,[ss,2],0,second),x(second,s),K(s,Pc),K(ss,Pc,Lc),N([s,ss],dd);var Dd=A(Seconds,!1);F(S,0,0,function(){return~~(this.millisecond()100)}),F(0,[SS,2],0,function(){return~~(this.millisecond()10)}),Qb(SSS),Qb(SSSS),x(millisecond,ms),K(S,Qc,Kc),K(SS,Qc,Lc),K(SSS,Qc,Mc),K(SSSS,Tc),N([S,SS,SSS,SSSS],function(a,b){b[ed]=o(1e3(0.+a))});var Ed=A(Milliseconds,!1);F(z,0,0,zoneAbbr),F(zz,0,0,zoneName);var Fd=m.prototype;Fd.add=td,Fd.calendar=$a,Fd.clone=_a,Fd.diff=fb,Fd.endOf=pb,Fd.format=jb,Fd.from=kb,Fd.fromNow=lb,Fd.get=D,Fd.invalidAt=wb,Fd.isAfter=ab,Fd.isBefore=bb,Fd.isBetween=cb,Fd.isSame=db,Fd.isValid=ub,Fd.lang=vd,Fd.locale=mb,Fd.localeData=nb,Fd.max=pd,Fd.min=od,Fd.parsingFlags=vb,Fd.set=D,Fd.startOf=ob,Fd.subtract=ud,Fd.toArray=tb,Fd.toDate=sb,Fd.toISOString=ib,Fd.toJSON=ib,Fd.toString=hb,Fd.unix=rb,Fd.valueOf=qb,Fd.year=md,Fd.isLeapYear=fa,Fd.weekYear=zb,Fd.isoWeekYear=Ab,Fd.quarter=Fd.quarters=Db,Fd.month=V,Fd.daysInMonth=W,Fd.week=Fd.weeks=ka,Fd.isoWeek=Fd.isoWeeks=la,Fd.weeksInYear=Cb,Fd.isoWeeksInYear=Bb,Fd.date=wd,Fd.day=Fd.days=Jb,Fd.weekday=Kb,Fd.isoWeekday=Lb,Fd.dayOfYear=na,Fd.hour=Fd.hours=Bd,Fd.minute=Fd.minutes=Cd,Fd.second=Fd.seconds=Dd,Fd.millisecond=Fd.milliseconds=Ed,Fd.utcOffset=Ja,Fd.utc=La,Fd.local=Ma,Fd.parseZone=Na,Fd.hasAlignedHourOffset=Oa,Fd.isDST=Pa,Fd.isDSTShifted=Qa,Fd.isLocal=Ra,Fd.isUtcOffset=Sa,Fd.isUtc=Ta,Fd.isUTC=Ta,Fd.zoneAbbr=Rb,Fd.zoneName=Sb,Fd.dates=Z(dates accessor is deprecated. Use date instead.,wd),Fd.months=Z(months accessor is deprecated. Use month instead,V),Fd.years=Z(years accessor is deprecated. Use year instead,md),Fd.zone=Z(moment().zone is deprecated, use moment().utcOffset instead. httpsgithub.commomentmomentissues1779,Ka);var Gd=Fd,Hd={sameDay[Today at] LT,nextDay[Tomorrow at] LT,nextWeekdddd [at] LT,lastDay[Yesterday at] LT,lastWeek[Last] dddd [at] LT,sameElseL},Id={LTShmmss A,LThmm A,LMMDDYYYY,LLMMMM D, YYYY,LLLMMMM D, YYYY LT,LLLLdddd, MMMM D, YYYY LT},Jd=Invalid date,Kd=%d,Ld=d{1,2},Md={futurein %s,past%s ago,sa few seconds,ma minute,mm%d minutes,han hour,hh%d hours,da day,dd%d days,Ma month,MM%d months,ya year,yy%d years},Nd=q.prototype;Nd._calendar=Hd,Nd.calendar=Vb,Nd._longDateFormat=Id,Nd.longDateFormat=Wb,Nd._invalidDate=Jd,Nd.invalidDate=Xb,Nd._ordinal=Kd,Nd.ordinal=Yb,Nd._ordinalParse=Ld,
Nd.preparse=Zb,Nd.postformat=Zb,Nd._relativeTime=Md,Nd.relativeTime=$b,Nd.pastFuture=_b,Nd.set=ac,Nd.months=R,Nd._months=fd,Nd.monthsShort=S,Nd._monthsShort=gd,Nd.monthsParse=T,Nd.week=ha,Nd._week=nd,Nd.firstDayOfYear=ja,Nd.firstDayOfWeek=ia,Nd.weekdays=Fb,Nd._weekdays=xd,Nd.weekdaysMin=Hb,Nd._weekdaysMin=zd,Nd.weekdaysShort=Gb,Nd._weekdaysShort=yd,Nd.weekdaysParse=Ib,Nd.isPM=Ob,Nd._meridiemParse=Ad,Nd.meridiem=Pb,u(en,{ordinalParsed{1,2}(thstndrd),ordinalfunction(a){var b=a%10,c=1===o(a%10010)th1===bst2===bnd3===brdth;return a+c}}),a.lang=Z(moment.lang is deprecated. Use moment.locale instead.,u),a.langData=Z(moment.langData is deprecated. Use moment.localeData instead.,w);var Od=Math.abs,Pd=rc(ms),Qd=rc(s),Rd=rc(m),Sd=rc(h),Td=rc(d),Ud=rc(w),Vd=rc(M),Wd=rc(y),Xd=tc(milliseconds),Yd=tc(seconds),Zd=tc(minutes),$d=tc(hours),_d=tc(days),ae=tc(months),be=tc(years),ce=Math.round,de={s45,m45,h22,d26,M11},ee=Math.abs,fe=Da.prototype;fe.abs=ic,fe.add=kc,fe.subtract=lc,fe.as=pc,fe.asMilliseconds=Pd,fe.asSeconds=Qd,fe.asMinutes=Rd,fe.asHours=Sd,fe.asDays=Td,fe.asWeeks=Ud,fe.asMonths=Vd,fe.asYears=Wd,fe.valueOf=qc,fe._bubble=mc,fe.get=sc,fe.milliseconds=Xd,fe.seconds=Yd,fe.minutes=Zd,fe.hours=$d,fe.days=_d,fe.weeks=uc,fe.months=ae,fe.years=be,fe.humanize=yc,fe.toISOString=zc,fe.toString=zc,fe.toJSON=zc,fe.locale=mb,fe.localeData=nb,fe.toIsoString=Z(toIsoString() is deprecated. Please use toISOString() instead (notice the capitals),zc),fe.lang=vd,F(X,0,0,unix),F(x,0,0,valueOf),K(x,Uc),K(X,Wc),N(X,function(a,b,c){c._d=new Date(1e3parseFloat(a,10))}),N(x,function(a,b,c){c._d=new Date(o(a))}),a.version=2.10.2,b(za),a.fn=Gd,a.min=Ba,a.max=Ca,a.utc=i,a.unix=Tb,a.months=dc,a.isDate=e,a.locale=u,a.invalid=k,a.duration=Ua,a.isMoment=n,a.weekdays=fc,a.parseZone=Ub,a.localeData=w,a.isDuration=Ea,a.monthsShort=ec,a.weekdaysMin=hc,a.defineLocale=v,a.weekdaysShort=gc,a.normalizeUnits=y,a.relativeTimeThreshold=xc;var ge=a;return ge});