12 |
- !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";function e(){return rt.apply(null,arguments)}function t(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function n(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function i(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(s(e,t))return;return 1}function r(e){return void 0===e}function a(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function o(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var n,s=[];for(n=0;n<e.length;++n)s.push(t(e[n],n));return s}function l(e,t){for(var n in t)s(t,n)&&(e[n]=t[n]);return s(t,"toString")&&(e.toString=t.toString),s(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,n,s){return ge(e,t,n,s,!0).utc()}function d(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function c(e){if(null==e._isValid){var t=d(e),n=at.call(t.parsedDateParts,function(e){return null!=e}),s=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(s=s&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return s;e._isValid=s}return e._isValid}function f(e){var t=h(NaN);return null!=e?l(d(t),e):d(t).userInvalidated=!0,t}function m(e,t){var n,s,i;if(r(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),r(t._i)||(e._i=t._i),r(t._f)||(e._f=t._f),r(t._l)||(e._l=t._l),r(t._strict)||(e._strict=t._strict),r(t._tzm)||(e._tzm=t._tzm),r(t._isUTC)||(e._isUTC=t._isUTC),r(t._offset)||(e._offset=t._offset),r(t._pf)||(e._pf=d(t)),r(t._locale)||(e._locale=t._locale),0<ut.length)for(n=0;n<ut.length;n++)r(i=t[s=ut[n]])||(e[s]=i);return e}function _(t){m(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===lt&&(lt=!0,e.updateOffset(this),lt=!1)}function y(e){return e instanceof _||null!=e&&null!=e._isAMomentObject}function g(t){!1===e.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function w(t,n){var i=!0;return l(function(){if(null!=e.deprecationHandler&&e.deprecationHandler(null,t),i){var r,a,o,u=[];for(a=0;a<arguments.length;a++){if(r="","object"==typeof arguments[a]){for(o in r+="\n["+a+"] ",arguments[0])s(arguments[0],o)&&(r+=o+": "+arguments[0][o]+", ");r=r.slice(0,-2)}else r=arguments[a];u.push(r)}g(t+"\nArguments: "+Array.prototype.slice.call(u).join("")+"\n"+(new Error).stack),i=!1}return n.apply(this,arguments)},n)}function p(t,n){null!=e.deprecationHandler&&e.deprecationHandler(t,n),ht[t]||(g(n),ht[t]=!0)}function v(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function k(e,t){var i,r=l({},e);for(i in t)s(t,i)&&(n(e[i])&&n(t[i])?(r[i]={},l(r[i],e[i]),l(r[i],t[i])):null!=t[i]?r[i]=t[i]:delete r[i]);for(i in e)s(e,i)&&!s(t,i)&&n(e[i])&&(r[i]=l({},r[i]));return r}function M(e){null!=e&&this.set(e)}function D(e,t,n){var s=""+Math.abs(e),i=t-s.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+s}function S(e,t,n,s){var i=s;"string"==typeof s&&(i=function(){return this[s]()}),e&&(_t[e]=i),t&&(_t[t[0]]=function(){return D(i.apply(this,arguments),t[1],t[2])}),n&&(_t[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function Y(e,t){return e.isValid()?(t=O(t,e.localeData()),mt[t]=mt[t]||function(e){var t,n,s,i=e.match(ct);for(t=0,n=i.length;n>t;t++)_t[i[t]]?i[t]=_t[i[t]]:i[t]=(s=i[t]).match(/\[[\s\S]/)?s.replace(/^\[|\]$/g,""):s.replace(/\\/g,"");return function(t){var s,r="";for(s=0;n>s;s++)r+=v(i[s])?i[s].call(t,e):i[s];return r}}(t),mt[t](e)):e.localeData().invalidDate()}function O(e,t){function n(e){return t.longDateFormat(e)||e}var s=5;for(ft.lastIndex=0;s>=0&&ft.test(e);)e=e.replace(ft,n),ft.lastIndex=0,--s;return e}function b(e,t){var n=e.toLowerCase();yt[n]=yt[n+"s"]=yt[t]=e}function x(e){return"string"==typeof e?yt[e]||yt[e.toLowerCase()]:void 0}function T(e){var t,n,i={};for(n in e)s(e,n)&&(t=x(n))&&(i[t]=e[n]);return i}function N(e,t){gt[e]=t}function P(e){return e%4==0&&e%100!=0||e%400==0}function R(e){return 0>e?Math.ceil(e)||0:Math.floor(e)}function W(e){var t=+e,n=0;return 0!=t&&isFinite(t)&&(n=R(t)),n}function C(t,n){return function(s){return null!=s?(H(this,t,s),e.updateOffset(this,n),this):U(this,t)}}function U(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function H(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&P(e.year())&&1===e.month()&&29===e.date()?(n=W(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),A(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function F(e,t,n){dt[e]=v(t)?t:function(e,s){return e&&n?n:t}}function L(e,t){return s(dt,e)?dt[e](t._strict,t._locale):new RegExp(V(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,s,i){return t||n||s||i})))}function V(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function G(e,t){var n,s=t;for("string"==typeof e&&(e=[e]),a(t)&&(s=function(e,n){n[t]=W(e)}),n=0;n<e.length;n++)Ut[e[n]]=s}function E(e,t){G(e,function(e,n,s,i){s._w=s._w||{},t(e,s._w,s,i)})}function A(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,s=(t%(n=12)+n)%n;return e+=(t-s)/12,1==s?P(e)?29:28:31-s%7%2}function j(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=W(t);else if(!a(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),A(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function I(t){return null!=t?(j(this,t),e.updateOffset(this,!0),this):U(this,"Month")}function Z(){function e(e,t){return t.length-e.length}var t,n,s=[],i=[],r=[];for(t=0;12>t;t++)n=h([2e3,t]),s.push(this.monthsShort(n,"")),i.push(this.months(n,"")),r.push(this.months(n,"")),r.push(this.monthsShort(n,""));for(s.sort(e),i.sort(e),r.sort(e),t=0;12>t;t++)s[t]=V(s[t]),i[t]=V(i[t]);for(t=0;24>t;t++)r[t]=V(r[t]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+s.join("|")+")","i")}function z(e){return P(e)?366:365}function $(e){var t,n;return 100>e&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function q(e,t,n){var s=7+t-n;return s-(7+$(e,0,s).getUTCDay()-t)%7-1}function B(e,t,n,s,i){var r,a,o=1+7*(t-1)+(7+n-s)%7+q(e,s,i);return a=0>=o?z(r=e-1)+o:o>z(e)?(r=e+1,o-z(e)):(r=e,o),{year:r,dayOfYear:a}}function J(e,t,n){var s,i,r=q(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1;return 1>a?s=a+Q(i=e.year()-1,t,n):a>Q(e.year(),t,n)?(s=a-Q(e.year(),t,n),i=e.year()+1):(i=e.year(),s=a),{week:s,year:i}}function Q(e,t,n){var s=q(e,t,n),i=q(e+1,t,n);return(z(e)-s+i)/7}function X(e,t){return e.slice(t,7).concat(e.slice(0,t))}function K(){function e(e,t){return t.length-e.length}var t,n,s,i,r,a=[],o=[],u=[],l=[];for(t=0;7>t;t++)n=h([2e3,1]).day(t),s=V(this.weekdaysMin(n,"")),i=V(this.weekdaysShort(n,"")),r=V(this.weekdays(n,"")),a.push(s),o.push(i),u.push(r),l.push(s),l.push(i),l.push(r);a.sort(e),o.sort(e),u.sort(e),l.sort(e),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 ee(){return this.hours()%12||12}function te(e,t){S(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ne(e,t){return t._meridiemParse}function se(e,t){var n,s=Math.min(e.length,t.length);for(n=0;s>n;n+=1)if(e[n]!==t[n])return n;return s}function ie(e){return e?e.toLowerCase().replace("_","-"):e}function re(e){var t=null;if(void 0===on[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=sn._abbr,require("./locale/"+e),ae(t)}catch(t){on[e]=null}return on[e]}function ae(e,t){var n;return e&&((n=r(t)?ue(e):oe(e,t))?sn=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),sn._abbr}function oe(e,t){if(null===t)return delete on[e],null;var n,s=an;if(t.abbr=e,null!=on[e])p("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=on[e]._config;else if(null!=t.parentLocale)if(null!=on[t.parentLocale])s=on[t.parentLocale]._config;else{if(null==(n=re(t.parentLocale)))return un[t.parentLocale]||(un[t.parentLocale]=[]),un[t.parentLocale].push({name:e,config:t}),null;s=n._config}return on[e]=new M(k(s,t)),un[e]&&un[e].forEach(function(e){oe(e.name,e.config)}),ae(e),on[e]}function ue(e){var n;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return sn;if(!t(e)){if(n=re(e))return n;e=[e]}return function(e){for(var t,n,s,i,r=0;r<e.length;){for(t=(i=ie(e[r]).split("-")).length,n=(n=ie(e[r+1]))?n.split("-"):null;t>0;){if(s=re(i.slice(0,t).join("-")))return s;if(n&&n.length>=t&&se(i,n)>=t-1)break;t--}r++}return sn}(e)}function le(e){var t,n=e._a;return n&&-2===d(e).overflow&&(t=n[Ft]<0||11<n[Ft]?Ft:n[Lt]<1||n[Lt]>A(n[Ht],n[Ft])?Lt:n[Vt]<0||24<n[Vt]||24===n[Vt]&&(0!==n[Gt]||0!==n[Et]||0!==n[At])?Vt:n[Gt]<0||59<n[Gt]?Gt:n[Et]<0||59<n[Et]?Et:n[At]<0||999<n[At]?At:-1,d(e)._overflowDayOfYear&&(Ht>t||t>Lt)&&(t=Lt),d(e)._overflowWeeks&&-1===t&&(t=jt),d(e)._overflowWeekday&&-1===t&&(t=It),d(e).overflow=t),e}function he(e){var t,n,s,i,r,a,o=e._i,u=ln.exec(o)||hn.exec(o);if(u){for(d(e).iso=!0,t=0,n=cn.length;n>t;t++)if(cn[t][1].exec(u[1])){i=cn[t][0],s=!1!==cn[t][2];break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,n=fn.length;n>t;t++)if(fn[t][1].exec(u[3])){r=(u[2]||" ")+fn[t][0];break}if(null==r)return void(e._isValid=!1)}if(!s&&null!=r)return void(e._isValid=!1);if(u[4]){if(!dn.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(r||"")+(a||""),_e(e)}else e._isValid=!1}function de(e,t,n,s,i,r){var a=[function(e){var t=parseInt(e,10);return 49>=t?2e3+t:999>=t?1900+t:t}(e),zt.indexOf(t),parseInt(n,10),parseInt(s,10),parseInt(i,10)];return r&&a.push(parseInt(r,10)),a}function ce(e){var t,n,s,i,r=_n.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(r){if(t=de(r[4],r[3],r[2],r[5],r[6],r[7]),n=r[1],s=t,i=e,n&&Xt.indexOf(n)!==new Date(s[0],s[1],s[2]).getDay()&&(d(i).weekdayMismatch=!0,!void(i._isValid=!1)))return;e._a=t,e._tzm=function(e,t,n){if(e)return yn[e];if(t)return 0;var s=parseInt(n,10),i=s%100;return 60*((s-i)/100)+i}(r[8],r[9],r[10]),e._d=$.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),d(e).rfc2822=!0}else e._isValid=!1}function fe(e,t,n){return null!=e?e:null!=t?t:n}function me(t){var n,s,i,r,a,o=[];if(!t._d){var u,l;for(u=t,l=new Date(e.now()),i=u._useUTC?[l.getUTCFullYear(),l.getUTCMonth(),l.getUTCDate()]:[l.getFullYear(),l.getMonth(),l.getDate()],t._w&&null==t._a[Lt]&&null==t._a[Ft]&&function(e){var t,n,s,i,r,a,o,u,l;null!=(t=e._w).GG||null!=t.W||null!=t.E?(r=1,a=4,n=fe(t.GG,e._a[Ht],J(we(),1,4).year),s=fe(t.W,1),((i=fe(t.E,1))<1||i>7)&&(u=!0)):(r=e._locale._week.dow,a=e._locale._week.doy,l=J(we(),r,a),n=fe(t.gg,e._a[Ht],l.year),s=fe(t.w,l.week),null!=t.d?((i=t.d)<0||i>6)&&(u=!0):null!=t.e?(i=t.e+r,(t.e<0||6<t.e)&&(u=!0)):i=r),1>s||s>Q(n,r,a)?d(e)._overflowWeeks=!0:null!=u?d(e)._overflowWeekday=!0:(o=B(n,s,i,r,a),e._a[Ht]=o.year,e._dayOfYear=o.dayOfYear)}(t),null!=t._dayOfYear&&(a=fe(t._a[Ht],i[Ht]),(t._dayOfYear>z(a)||0===t._dayOfYear)&&(d(t)._overflowDayOfYear=!0),s=$(a,0,t._dayOfYear),t._a[Ft]=s.getUTCMonth(),t._a[Lt]=s.getUTCDate()),n=0;3>n&&null==t._a[n];++n)t._a[n]=o[n]=i[n];for(;7>n;n++)t._a[n]=o[n]=null==t._a[n]?2===n?1:0:t._a[n];24===t._a[Vt]&&0===t._a[Gt]&&0===t._a[Et]&&0===t._a[At]&&(t._nextDay=!0,t._a[Vt]=0),t._d=(t._useUTC?$:function(e,t,n,s,i,r,a){var o;return 100>e&&e>=0?(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,o),r=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Vt]=24),t._w&&void 0!==t._w.d&&t._w.d!==r&&(d(t).weekdayMismatch=!0)}}function _e(t){if(t._f!==e.ISO_8601)if(t._f!==e.RFC_2822){t._a=[],d(t).empty=!0;var n,i,r,a,o,u,l,h,c,f=""+t._i,m=f.length,_=0;for(r=O(t._f,t._locale).match(ct)||[],n=0;n<r.length;n++)a=r[n],(i=(f.match(L(a,t))||[])[0])&&(0<(o=f.substr(0,f.indexOf(i))).length&&d(t).unusedInput.push(o),f=f.slice(f.indexOf(i)+i.length),_+=i.length),_t[a]?(i?d(t).empty=!1:d(t).unusedTokens.push(a),l=a,c=t,null!=(h=i)&&s(Ut,l)&&Ut[l](h,c._a,c,l)):t._strict&&!i&&d(t).unusedTokens.push(a);d(t).charsLeftOver=m-_,0<f.length&&d(t).unusedInput.push(f),t._a[Vt]<=12&&!0===d(t).bigHour&&0<t._a[Vt]&&(d(t).bigHour=void 0),d(t).parsedDateParts=t._a.slice(0),d(t).meridiem=t._meridiem,t._a[Vt]=function(e,t,n){var s;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):(null!=e.isPM&&((s=e.isPM(n))&&12>t&&(t+=12),s||12!==t||(t=0)),t)}(t._locale,t._a[Vt],t._meridiem),null!==(u=d(t).era)&&(t._a[Ht]=t._locale.erasConvertYear(u,t._a[Ht])),me(t),le(t)}else ce(t);else he(t)}function ye(s){var i,h,g=s._i,w=s._f;return s._locale=s._locale||ue(s._l),null===g||void 0===w&&""===g?f({nullInput:!0}):("string"==typeof g&&(s._i=g=s._locale.preparse(g)),y(g)?new _(le(g)):(o(g)?s._d=g:t(w)?function(e){var t,n,s,i,r,a,o=!1;if(0===e._f.length)return d(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<e._f.length;i++)r=0,a=!1,t=m({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],_e(t),c(t)&&(a=!0),r+=d(t).charsLeftOver,r+=10*d(t).unusedTokens.length,d(t).score=r,o?s>r&&(s=r,n=t):(null==s||s>r||a)&&(s=r,n=t,a&&(o=!0));l(e,n||t)}(s):w?_e(s):r(h=(i=s)._i)?i._d=new Date(e.now()):o(h)?i._d=new Date(h.valueOf()):"string"==typeof h?function(t){var n=mn.exec(t._i);null===n?(he(t),!1===t._isValid&&(delete t._isValid,ce(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:e.createFromInputFallback(t)))):t._d=new Date(+n[1])}(i):t(h)?(i._a=u(h.slice(0),function(e){return parseInt(e,10)}),me(i)):n(h)?function(e){if(!e._d){var t=T(e._i),n=void 0===t.day?t.date:t.day;e._a=u([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),me(e)}}(i):a(h)?i._d=new Date(h):e.createFromInputFallback(i),c(s)||(s._d=null),s))}function ge(e,s,r,a,o){var u,l={};return!0!==s&&!1!==s||(a=s,s=void 0),!0!==r&&!1!==r||(a=r,r=void 0),(n(e)&&i(e)||t(e)&&0===e.length)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=o,l._l=r,l._i=e,l._f=s,l._strict=a,(u=new _(le(ye(l))))._nextDay&&(u.add(1,"d"),u._nextDay=void 0),u}function we(e,t,n,s){return ge(e,t,n,s,!1)}function pe(e,n){var s,i;if(1===n.length&&t(n[0])&&(n=n[0]),!n.length)return we();for(s=n[0],i=1;i<n.length;++i)n[i].isValid()&&!n[i][e](s)||(s=n[i]);return s}function ve(e){var t=T(e),n=t.year||0,i=t.quarter||0,r=t.month||0,a=t.week||t.isoWeek||0,o=t.day||0,u=t.hour||0,l=t.minute||0,h=t.second||0,d=t.millisecond||0;this._isValid=function(e){var t,n,i=!1;for(t in e)if(s(e,t)&&(-1===Ct.call(pn,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<pn.length;++n)if(e[pn[n]]){if(i)return!1;parseFloat(e[pn[n]])!==W(e[pn[n]])&&(i=!0)}return!0}(t),this._milliseconds=+d+1e3*h+6e4*l+1e3*u*60*60,this._days=+o+7*a,this._months=+r+3*i+12*n,this._data={},this._locale=ue(),this._bubble()}function ke(e){return e instanceof ve}function Me(e){return 0>e?-1*Math.round(-1*e):Math.round(e)}function De(e,t){S(e,0,0,function(){var e=this.utcOffset(),n="+";return 0>e&&(e=-e,n="-"),n+D(~~(e/60),2)+t+D(~~e%60,2)})}function Se(e,t){var n,s,i=(t||"").match(e);return null===i?null:0===(s=60*(n=((i[i.length-1]||[])+"").match(vn)||["-",0,0])[1]+W(n[2]))?0:"+"===n[0]?s:-s}function Ye(t,n){var s,i;return n._isUTC?(s=n.clone(),i=(y(t)||o(t)?t.valueOf():we(t).valueOf())-s.valueOf(),s._d.setTime(s._d.valueOf()+i),e.updateOffset(s,!1),s):we(t).local()}function Oe(e){return-Math.round(e._d.getTimezoneOffset())}function be(){return!!this.isValid()&&this._isUTC&&0===this._offset}function xe(e,t){var n,i,r,o=e,u=null;return ke(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:a(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(u=kn.exec(e))?(n="-"===u[1]?-1:1,o={y:0,d:W(u[Lt])*n,h:W(u[Vt])*n,m:W(u[Gt])*n,s:W(u[Et])*n,ms:W(Me(1e3*u[At]))*n}):(u=Mn.exec(e))?(n="-"===u[1]?-1:1,o={y:Te(u[2],n),M:Te(u[3],n),w:Te(u[4],n),d:Te(u[5],n),h:Te(u[6],n),m:Te(u[7],n),s:Te(u[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(r=function(e,t){var n;return e.isValid()&&t.isValid()?(t=Ye(t,e),e.isBefore(t)?n=Ne(e,t):((n=Ne(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}(we(o.from),we(o.to)),(o={}).ms=r.milliseconds,o.M=r.months),i=new ve(o),ke(e)&&s(e,"_locale")&&(i._locale=e._locale),ke(e)&&s(e,"_isValid")&&(i._isValid=e._isValid),i}function Te(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ne(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=t-e.clone().add(n.months,"M"),n}function Pe(e,t){return function(n,s){var i;return null===s||isNaN(+s)||(p(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=s,s=i),Re(this,xe(n,s),e),this}}function Re(t,n,s,i){var r=n._milliseconds,a=Me(n._days),o=Me(n._months);t.isValid()&&(i=null==i||i,o&&j(t,U(t,"Month")+o*s),a&&H(t,"Date",U(t,"Date")+a*s),r&&t._d.setTime(t._d.valueOf()+r*s),i&&e.updateOffset(t,a||o))}function We(e){return"string"==typeof e||e instanceof String}function Ce(e){return y(e)||o(e)||We(e)||a(e)||function(e){var n=t(e),s=!1;return n&&(s=0===e.filter(function(t){return!a(t)&&We(e)}).length),n&&s}(e)||function(e){var t,r,a=n(e)&&!i(e),o=!1,u=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<u.length;t+=1)r=u[t],o=o||s(e,r);return a&&o}(e)||null==e}function Ue(e,t){if(e.date()<t.date())return-Ue(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),s=e.clone().add(n,"months");return-(n+(0>t-s?(t-s)/(s-e.clone().add(n-1,"months")):(t-s)/(e.clone().add(1+n,"months")-s)))||0}function He(e){var t;return void 0===e?this._locale._abbr:(null!=(t=ue(e))&&(this._locale=t),this)}function Fe(){return this._locale}function Le(e,t){return(e%t+t)%t}function Ve(e,t,n){return 100>e&&e>=0?new Date(e+400,t,n)-On:new Date(e,t,n).valueOf()}function Ge(e,t,n){return 100>e&&e>=0?Date.UTC(e+400,t,n)-On:Date.UTC(e,t,n)}function Ee(e,t){return t.erasAbbrRegex(e)}function Ae(){var e,t,n=[],s=[],i=[],r=[],a=this.eras();for(e=0,t=a.length;t>e;++e)s.push(V(a[e].name)),n.push(V(a[e].abbr)),i.push(V(a[e].narrow)),r.push(V(a[e].name)),r.push(V(a[e].abbr)),r.push(V(a[e].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+s.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function je(e,t){S(0,[e,e.length],0,t)}function Ie(e,t,n,s,i){var r;return null==e?J(this,s,i).year:((r=Q(e,s,i))<t&&(t=r),function(e,t,n,s,i){var r=B(e,t,n,s,i),a=$(r.year,0,r.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}.call(this,e,t,n,s,i))}function Ze(e,t){t[At]=W(1e3*("0."+e))}function ze(e){return e}function $e(e,t,n,s){var i=ue(),r=h().set(s,t);return i[n](r,e)}function qe(e,t,n){if(a(e)&&(t=e,e=void 0),e=e||"",null!=t)return $e(e,t,n,"month");var s,i=[];for(s=0;12>s;s++)i[s]=$e(e,s,n,"month");return i}function Be(e,t,n,s){"boolean"==typeof e?a(t)&&(n=t,t=void 0):(t=e,e=!1,a(n=t)&&(n=t,t=void 0)),t=t||"";var i,r=ue(),o=e?r._week.dow:0,u=[];if(null!=n)return $e(t,(n+o)%7,s,"day");for(i=0;7>i;i++)u[i]=$e(t,(i+o)%7,s,"day");return u}function Je(e,t,n,s){var i=xe(t,n);return e._milliseconds+=s*i._milliseconds,e._days+=s*i._days,e._months+=s*i._months,e._bubble()}function Qe(e){return 0>e?Math.floor(e):Math.ceil(e)}function Xe(e){return 4800*e/146097}function Ke(e){return 146097*e/4800}function et(e){return function(){return this.as(e)}}function tt(e){return function(){return this.isValid()?this._data[e]:NaN}}function nt(e,t,n,s){var i=xe(e).abs(),r=Qn(i.as("s")),a=Qn(i.as("m")),o=Qn(i.as("h")),u=Qn(i.as("d")),l=Qn(i.as("M")),h=Qn(i.as("w")),d=Qn(i.as("y")),c=(r<=n.ss?["s",r]:r<n.s&&["ss",r])||1>=a&&["m"]||a<n.m&&["mm",a]||1>=o&&["h"]||o<n.h&&["hh",o]||1>=u&&["d"]||u<n.d&&["dd",u];return null!=n.w&&(c=c||1>=h&&["w"]||h<n.w&&["ww",h]),(c=c||1>=l&&["M"]||l<n.M&&["MM",l]||1>=d&&["y"]||["yy",d])[2]=t,c[3]=+e>0,c[4]=s,function(e,t,n,s,i){return i.relativeTime(t||1,!!n,e,s)}.apply(null,c)}function st(e){return(e>0)-(0>e)||+e}function it(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,s,i,r,a,o,u=Kn(this._milliseconds)/1e3,l=Kn(this._days),h=Kn(this._months),d=this.asSeconds();return d?(e=R(u/60),t=R(e/60),u%=60,e%=60,n=R(h/12),h%=12,s=u?u.toFixed(3).replace(/\.?0+$/,""):"",i=0>d?"-":"",r=st(this._months)!==st(d)?"-":"",a=st(this._days)!==st(d)?"-":"",o=st(this._milliseconds)!==st(d)?"-":"",i+"P"+(n?r+n+"Y":"")+(h?r+h+"M":"")+(l?a+l+"D":"")+(t||e||u?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(u?o+s+"S":"")):"P0D"}var rt,at;at=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),s=n.length>>>0;for(t=0;s>t;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var ot,ut=e.momentProperties=[],lt=!1,ht={};e.suppressDeprecationWarnings=!1,e.deprecationHandler=null,ot=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var dt,ct=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ft=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,mt={},_t={},yt={},gt={},wt=/\d/,pt=/\d\d/,vt=/\d{3}/,kt=/\d{4}/,Mt=/[+-]?\d{6}/,Dt=/\d\d?/,St=/\d\d\d\d?/,Yt=/\d\d\d\d\d\d?/,Ot=/\d{1,3}/,bt=/\d{1,4}/,xt=/[+-]?\d{1,6}/,Tt=/\d+/,Nt=/[+-]?\d+/,Pt=/Z|[+-]\d\d:?\d\d/gi,Rt=/Z|[+-]\d\d(?::?\d\d)?/gi,Wt=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;dt={};var Ct,Ut={},Ht=0,Ft=1,Lt=2,Vt=3,Gt=4,Et=5,At=6,jt=7,It=8;Ct=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},S("M",["MM",2],"Mo",function(){return this.month()+1}),S("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),S("MMMM",0,0,function(e){return this.localeData().months(this,e)}),b("month","M"),N("month",8),F("M",Dt),F("MM",Dt,pt),F("MMM",function(e,t){return t.monthsShortRegex(e)}),F("MMMM",function(e,t){return t.monthsRegex(e)}),G(["M","MM"],function(e,t){t[Ft]=W(e)-1}),G(["MMM","MMMM"],function(e,t,n,s){var i=n._locale.monthsParse(e,s,n._strict);null!=i?t[Ft]=i:d(n).invalidMonth=e});var Zt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),zt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),$t=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,qt=Wt,Bt=Wt;S("Y",0,0,function(){var e=this.year();return 9999>=e?D(e,4):"+"+e}),S(0,["YY",2],0,function(){return this.year()%100}),S(0,["YYYY",4],0,"year"),S(0,["YYYYY",5],0,"year"),S(0,["YYYYYY",6,!0],0,"year"),b("year","y"),N("year",1),F("Y",Nt),F("YY",Dt,pt),F("YYYY",bt,kt),F("YYYYY",xt,Mt),F("YYYYYY",xt,Mt),G(["YYYYY","YYYYYY"],Ht),G("YYYY",function(t,n){n[Ht]=2===t.length?e.parseTwoDigitYear(t):W(t)}),G("YY",function(t,n){n[Ht]=e.parseTwoDigitYear(t)}),G("Y",function(e,t){t[Ht]=parseInt(e,10)}),e.parseTwoDigitYear=function(e){return W(e)+(68<W(e)?1900:2e3)};var Jt=C("FullYear",!0);S("w",["ww",2],"wo","week"),S("W",["WW",2],"Wo","isoWeek"),b("week","w"),b("isoWeek","W"),N("week",5),N("isoWeek",5),F("w",Dt),F("ww",Dt,pt),F("W",Dt),F("WW",Dt,pt),E(["w","ww","W","WW"],function(e,t,n,s){t[s.substr(0,1)]=W(e)}),S("d",0,"do","day"),S("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),S("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),S("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),S("e",0,0,"weekday"),S("E",0,0,"isoWeekday"),b("day","d"),b("weekday","e"),b("isoWeekday","E"),N("day",11),N("weekday",11),N("isoWeekday",11),F("d",Dt),F("e",Dt),F("E",Dt),F("dd",function(e,t){return t.weekdaysMinRegex(e)}),F("ddd",function(e,t){return t.weekdaysShortRegex(e)}),F("dddd",function(e,t){return t.weekdaysRegex(e)}),E(["dd","ddd","dddd"],function(e,t,n,s){var i=n._locale.weekdaysParse(e,s,n._strict);null!=i?t.d=i:d(n).invalidWeekday=e}),E(["d","e","E"],function(e,t,n,s){t[s]=W(e)});var Qt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Xt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Kt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),en=Wt,tn=Wt,nn=Wt;S("H",["HH",2],0,"hour"),S("h",["hh",2],0,ee),S("k",["kk",2],0,function(){return this.hours()||24}),S("hmm",0,0,function(){return""+ee.apply(this)+D(this.minutes(),2)}),S("hmmss",0,0,function(){return""+ee.apply(this)+D(this.minutes(),2)+D(this.seconds(),2)}),S("Hmm",0,0,function(){return""+this.hours()+D(this.minutes(),2)}),S("Hmmss",0,0,function(){return""+this.hours()+D(this.minutes(),2)+D(this.seconds(),2)}),te("a",!0),te("A",!1),b("hour","h"),N("hour",13),F("a",ne),F("A",ne),F("H",Dt),F("h",Dt),F("k",Dt),F("HH",Dt,pt),F("hh",Dt,pt),F("kk",Dt,pt),F("hmm",St),F("hmmss",Yt),F("Hmm",St),F("Hmmss",Yt),G(["H","HH"],Vt),G(["k","kk"],function(e,t,n){var s=W(e);t[Vt]=24===s?0:s}),G(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),G(["h","hh"],function(e,t,n){t[Vt]=W(e),d(n).bigHour=!0}),G("hmm",function(e,t,n){var s=e.length-2;t[Vt]=W(e.substr(0,s)),t[Gt]=W(e.substr(s)),d(n).bigHour=!0}),G("hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[Vt]=W(e.substr(0,s)),t[Gt]=W(e.substr(s,2)),t[Et]=W(e.substr(i)),d(n).bigHour=!0}),G("Hmm",function(e,t,n){var s=e.length-2;t[Vt]=W(e.substr(0,s)),t[Gt]=W(e.substr(s))}),G("Hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[Vt]=W(e.substr(0,s)),t[Gt]=W(e.substr(s,2)),t[Et]=W(e.substr(i))});var sn,rn=C("Hours",!0),an={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:Zt,monthsShort:zt,week:{dow:0,doy:6},weekdays:Qt,weekdaysMin:Kt,weekdaysShort:Xt,meridiemParse:/[ap]\.?m?\.?/i},on={},un={},ln=/^\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)?)?$/,hn=/^\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)?)?$/,dn=/Z|[+-]\d\d(?::?\d\d)?/,cn=[["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}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],fn=[["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/]],mn=/^\/?Date\((-?\d+)/i,_n=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,yn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};e.createFromInputFallback=w("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(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),e.ISO_8601=function(){},e.RFC_2822=function(){};var gn=w("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=we.apply(null,arguments);return this.isValid()&&e.isValid()?this>e?this:e:f()}),wn=w("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=we.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:f()}),pn=["year","quarter","month","week","day","hour","minute","second","millisecond"];De("Z",":"),De("ZZ",""),F("Z",Rt),F("ZZ",Rt),G(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Se(Rt,e)});var vn=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var kn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Mn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;xe.fn=ve.prototype,xe.invalid=function(){return xe(NaN)};var Dn=Pe(1,"add"),Sn=Pe(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Yn=w("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)}),On=126227808e5;S("N",0,0,"eraAbbr"),S("NN",0,0,"eraAbbr"),S("NNN",0,0,"eraAbbr"),S("NNNN",0,0,"eraName"),S("NNNNN",0,0,"eraNarrow"),S("y",["y",1],"yo","eraYear"),S("y",["yy",2],0,"eraYear"),S("y",["yyy",3],0,"eraYear"),S("y",["yyyy",4],0,"eraYear"),F("N",Ee),F("NN",Ee),F("NNN",Ee),F("NNNN",function(e,t){return t.erasNameRegex(e)}),F("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),G(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,s){var i=n._locale.erasParse(e,s,n._strict);i?d(n).era=i:d(n).invalidEra=e}),F("y",Tt),F("yy",Tt),F("yyy",Tt),F("yyyy",Tt),F("yo",function(e,t){return t._eraYearOrdinalRegex||Tt}),G(["y","yy","yyy","yyyy"],Ht),G(["yo"],function(e,t,n,s){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Ht]=n._locale.eraYearOrdinalParse(e,i):t[Ht]=parseInt(e,10)}),S(0,["gg",2],0,function(){return this.weekYear()%100}),S(0,["GG",2],0,function(){return this.isoWeekYear()%100}),je("gggg","weekYear"),je("ggggg","weekYear"),je("GGGG","isoWeekYear"),je("GGGGG","isoWeekYear"),b("weekYear","gg"),
- b("isoWeekYear","GG"),N("weekYear",1),N("isoWeekYear",1),F("G",Nt),F("g",Nt),F("GG",Dt,pt),F("gg",Dt,pt),F("GGGG",bt,kt),F("gggg",bt,kt),F("GGGGG",xt,Mt),F("ggggg",xt,Mt),E(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,s){t[s.substr(0,2)]=W(e)}),E(["gg","GG"],function(t,n,s,i){n[i]=e.parseTwoDigitYear(t)}),S("Q",0,"Qo","quarter"),b("quarter","Q"),N("quarter",7),F("Q",wt),G("Q",function(e,t){t[Ft]=3*(W(e)-1)}),S("D",["DD",2],"Do","date"),b("date","D"),N("date",9),F("D",Dt),F("DD",Dt,pt),F("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),G(["D","DD"],Lt),G("Do",function(e,t){t[Lt]=W(e.match(Dt)[0])});var bn=C("Date",!0);S("DDD",["DDDD",3],"DDDo","dayOfYear"),b("dayOfYear","DDD"),N("dayOfYear",4),F("DDD",Ot),F("DDDD",vt),G(["DDD","DDDD"],function(e,t,n){n._dayOfYear=W(e)}),S("m",["mm",2],0,"minute"),b("minute","m"),N("minute",14),F("m",Dt),F("mm",Dt,pt),G(["m","mm"],Gt);var xn=C("Minutes",!1);S("s",["ss",2],0,"second"),b("second","s"),N("second",15),F("s",Dt),F("ss",Dt,pt),G(["s","ss"],Et);var Tn,Nn,Pn=C("Seconds",!1);for(S("S",0,0,function(){return~~(this.millisecond()/100)}),S(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),S(0,["SSS",3],0,"millisecond"),S(0,["SSSS",4],0,function(){return 10*this.millisecond()}),S(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),S(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),S(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),S(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),S(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),b("millisecond","ms"),N("millisecond",16),F("S",Ot,wt),F("SS",Ot,pt),F("SSS",Ot,vt),Tn="SSSS";Tn.length<=9;Tn+="S")F(Tn,Tt);for(Tn="S";Tn.length<=9;Tn+="S")G(Tn,Ze);Nn=C("Milliseconds",!1),S("z",0,0,"zoneAbbr"),S("zz",0,0,"zoneName");var Rn=_.prototype;Rn.add=Dn,Rn.calendar=function(t,r){1===arguments.length&&(Ce(arguments[0])?(t=arguments[0],r=void 0):function(e){var t,r=n(e)&&!i(e),a=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<o.length;t+=1)a=a||s(e,o[t]);return r&&a}(arguments[0])&&(r=arguments[0],t=void 0));var a=t||we(),o=Ye(a,this).startOf("day"),u=e.calendarFormat(this,o)||"sameElse",l=r&&(v(r[u])?r[u].call(this,a):r[u]);return this.format(l||this.localeData().calendar(u,this,we(a)))},Rn.clone=function(){return new _(this)},Rn.diff=function(e,t,n){var s,i,r;if(!this.isValid())return NaN;if(!(s=Ye(e,this)).isValid())return NaN;switch(i=6e4*(s.utcOffset()-this.utcOffset()),t=x(t)){case"year":r=Ue(this,s)/12;break;case"month":r=Ue(this,s);break;case"quarter":r=Ue(this,s)/3;break;case"second":r=(this-s)/1e3;break;case"minute":r=(this-s)/6e4;break;case"hour":r=(this-s)/36e5;break;case"day":r=(this-s-i)/864e5;break;case"week":r=(this-s-i)/6048e5;break;default:r=this-s}return n?r:R(r)},Rn.endOf=function(t){var n,s;if(void 0===(t=x(t))||"millisecond"===t||!this.isValid())return this;switch(s=this._isUTC?Ge:Ve,t){case"year":n=s(this.year()+1,0,1)-1;break;case"quarter":n=s(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":n=s(this.year(),this.month()+1,1)-1;break;case"week":n=s(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":n=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":n=s(this.year(),this.month(),this.date()+1)-1;break;case"hour":n=this._d.valueOf(),n+=36e5-Le(n+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":n=this._d.valueOf(),n+=6e4-Le(n,6e4)-1;break;case"second":n=this._d.valueOf(),n+=1e3-Le(n,1e3)-1}return this._d.setTime(n),e.updateOffset(this,!0),this},Rn.format=function(t){t=t||(this.isUtc()?e.defaultFormatUtc:e.defaultFormat);var n=Y(this,t);return this.localeData().postformat(n)},Rn.from=function(e,t){return this.isValid()&&(y(e)&&e.isValid()||we(e).isValid())?xe({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Rn.fromNow=function(e){return this.from(we(),e)},Rn.to=function(e,t){return this.isValid()&&(y(e)&&e.isValid()||we(e).isValid())?xe({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Rn.toNow=function(e){return this.to(we(),e)},Rn.get=function(e){return v(this[e=x(e)])?this[e]():this},Rn.invalidAt=function(){return d(this).overflow},Rn.isAfter=function(e,t){var n=y(e)?e:we(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=x(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},Rn.isBefore=function(e,t){var n=y(e)?e:we(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=x(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},Rn.isBetween=function(e,t,n,s){var i=y(e)?e:we(e),r=y(t)?t:we(t);return!!(this.isValid()&&i.isValid()&&r.isValid())&&("("===(s=s||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===s[1]?this.isBefore(r,n):!this.isAfter(r,n))},Rn.isSame=function(e,t){var n,s=y(e)?e:we(e);return!(!this.isValid()||!s.isValid())&&("millisecond"===(t=x(t)||"millisecond")?this.valueOf()===s.valueOf():(n=s.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},Rn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},Rn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},Rn.isValid=function(){return c(this)},Rn.lang=Yn,Rn.locale=He,Rn.localeData=Fe,Rn.max=wn,Rn.min=gn,Rn.parsingFlags=function(){return l({},d(this))},Rn.set=function(e,t){if("object"==typeof e){var n,i=function(e){var t,n=[];for(t in e)s(e,t)&&n.push({unit:t,priority:gt[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=T(e));for(n=0;n<i.length;n++)this[i[n].unit](e[i[n].unit])}else if(v(this[e=x(e)]))return this[e](t);return this},Rn.startOf=function(t){var n,s;if(void 0===(t=x(t))||"millisecond"===t||!this.isValid())return this;switch(s=this._isUTC?Ge:Ve,t){case"year":n=s(this.year(),0,1);break;case"quarter":n=s(this.year(),this.month()-this.month()%3,1);break;case"month":n=s(this.year(),this.month(),1);break;case"week":n=s(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":n=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":n=s(this.year(),this.month(),this.date());break;case"hour":n=this._d.valueOf(),n-=Le(n+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":n=this._d.valueOf(),n-=Le(n,6e4);break;case"second":n=this._d.valueOf(),n-=Le(n,1e3)}return this._d.setTime(n),e.updateOffset(this,!0),this},Rn.subtract=Sn,Rn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},Rn.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},Rn.toDate=function(){return new Date(this.valueOf())},Rn.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||9999<n.year()?Y(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):v(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Y(n,"Z")):Y(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Rn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,s="moment",i="";return this.isLocal()||(s=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+s+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=i+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol["for"]&&(Rn[Symbol["for"]("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Rn.toJSON=function(){return this.isValid()?this.toISOString():null},Rn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Rn.unix=function(){return Math.floor(this.valueOf()/1e3)},Rn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Rn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Rn.eraName=function(){var e,t,n,s=this.localeData().eras();for(e=0,t=s.length;t>e;++e){if(n=this.startOf("day").valueOf(),s[e].since<=n&&n<=s[e].until)return s[e].name;if(s[e].until<=n&&n<=s[e].since)return s[e].name}return""},Rn.eraNarrow=function(){var e,t,n,s=this.localeData().eras();for(e=0,t=s.length;t>e;++e){if(n=this.startOf("day").valueOf(),s[e].since<=n&&n<=s[e].until)return s[e].narrow;if(s[e].until<=n&&n<=s[e].since)return s[e].narrow}return""},Rn.eraAbbr=function(){var e,t,n,s=this.localeData().eras();for(e=0,t=s.length;t>e;++e){if(n=this.startOf("day").valueOf(),s[e].since<=n&&n<=s[e].until)return s[e].abbr;if(s[e].until<=n&&n<=s[e].since)return s[e].abbr}return""},Rn.eraYear=function(){var t,n,s,i,r=this.localeData().eras();for(t=0,n=r.length;n>t;++t)if(s=r[t].since<=r[t].until?1:-1,i=this.startOf("day").valueOf(),r[t].since<=i&&i<=r[t].until||r[t].until<=i&&i<=r[t].since)return(this.year()-e(r[t].since).year())*s+r[t].offset;return this.year()},Rn.year=Jt,Rn.isLeapYear=function(){return P(this.year())},Rn.weekYear=function(e){return Ie.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Rn.isoWeekYear=function(e){return Ie.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},Rn.quarter=Rn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},Rn.month=I,Rn.daysInMonth=function(){return A(this.year(),this.month())},Rn.week=Rn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},Rn.isoWeek=Rn.isoWeeks=function(e){var t=J(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},Rn.weeksInYear=function(){var e=this.localeData()._week;return Q(this.year(),e.dow,e.doy)},Rn.weeksInWeekYear=function(){var e=this.localeData()._week;return Q(this.weekYear(),e.dow,e.doy)},Rn.isoWeeksInYear=function(){return Q(this.year(),1,4)},Rn.isoWeeksInISOWeekYear=function(){return Q(this.isoWeekYear(),1,4)},Rn.date=bn,Rn.day=Rn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,s=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-s,"d")):s},Rn.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},Rn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t,n,s=(t=e,n=this.localeData(),"string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t);return this.day(this.day()%7?s:s-7)},Rn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},Rn.hour=Rn.hours=rn,Rn.minute=Rn.minutes=xn,Rn.second=Rn.seconds=Pn,Rn.millisecond=Rn.milliseconds=Nn,Rn.utcOffset=function(t,n,s){var i,r=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null==t)return this._isUTC?r:Oe(this);if("string"==typeof t){if(null===(t=Se(Rt,t)))return this}else Math.abs(t)<16&&!s&&(t*=60);return!this._isUTC&&n&&(i=Oe(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==t&&(!n||this._changeInProgress?Re(this,xe(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this},Rn.utc=function(e){return this.utcOffset(0,e)},Rn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Oe(this),"m")),this},Rn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Se(Pt,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},Rn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?we(e).utcOffset():0,(this.utcOffset()-e)%60==0)},Rn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Rn.isLocal=function(){return!!this.isValid()&&!this._isUTC},Rn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Rn.isUtc=be,Rn.isUTC=be,Rn.zoneAbbr=function(){return this._isUTC?"UTC":""},Rn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Rn.dates=w("dates accessor is deprecated. Use date instead.",bn),Rn.months=w("months accessor is deprecated. Use month instead",I),Rn.years=w("years accessor is deprecated. Use year instead",Jt),Rn.zone=w("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()}),Rn.isDSTShifted=w("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!r(this._isDSTShifted))return this._isDSTShifted;var e,t={};return m(t,this),(t=ye(t))._a?(e=(t._isUTC?h:we)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){var s,i=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),a=0;for(s=0;i>s;s++)(n&&e[s]!==t[s]||!n&&W(e[s])!==W(t[s]))&&a++;return a+r}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});var Wn=M.prototype;Wn.calendar=function(e,t,n){var s=this._calendar[e]||this._calendar.sameElse;return v(s)?s.call(t,n):s},Wn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(ct).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},Wn.invalidDate=function(){return this._invalidDate},Wn.ordinal=function(e){return this._ordinal.replace("%d",e)},Wn.preparse=ze,Wn.postformat=ze,Wn.relativeTime=function(e,t,n,s){var i=this._relativeTime[n];return v(i)?i(e,t,n,s):i.replace(/%d/i,e)},Wn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return v(n)?n(t):n.replace(/%s/i,t)},Wn.set=function(e){var t,n;for(n in e)s(e,n)&&(v(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Wn.eras=function(t,n){var s,i,r,a=this._eras||ue("en")._eras;for(s=0,i=a.length;i>s;++s){switch(typeof a[s].since){case"string":r=e(a[s].since).startOf("day"),a[s].since=r.valueOf()}switch(typeof a[s].until){case"undefined":a[s].until=1/0;break;case"string":r=e(a[s].until).startOf("day").valueOf(),a[s].until=r.valueOf()}}return a},Wn.erasParse=function(e,t,n){var s,i,r,a,o,u=this.eras();for(e=e.toUpperCase(),s=0,i=u.length;i>s;++s)if(r=u[s].name.toUpperCase(),a=u[s].abbr.toUpperCase(),o=u[s].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return u[s];break;case"NNNN":if(r===e)return u[s];break;case"NNNNN":if(o===e)return u[s]}else if(0<=[r,a,o].indexOf(e))return u[s]},Wn.erasConvertYear=function(t,n){var s=t.since<=t.until?1:-1;return void 0===n?e(t.since).year():e(t.since).year()+(n-t.offset)*s},Wn.erasAbbrRegex=function(e){return s(this,"_erasAbbrRegex")||Ae.call(this),e?this._erasAbbrRegex:this._erasRegex},Wn.erasNameRegex=function(e){return s(this,"_erasNameRegex")||Ae.call(this),e?this._erasNameRegex:this._erasRegex},Wn.erasNarrowRegex=function(e){return s(this,"_erasNarrowRegex")||Ae.call(this),e?this._erasNarrowRegex:this._erasRegex},Wn.months=function(e,n){return e?t(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||$t).test(n)?"format":"standalone"][e.month()]:t(this._months)?this._months:this._months.standalone},Wn.monthsShort=function(e,n){return e?t(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[$t.test(n)?"format":"standalone"][e.month()]:t(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Wn.monthsParse=function(e,t,n){var s,i,r;if(this._monthsParseExact)return function(e,t,n){var s,i,r,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;12>s;++s)r=h([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Ct.call(this._shortMonthsParse,a))?i:null:-1!==(i=Ct.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=Ct.call(this._shortMonthsParse,a))||-1!==(i=Ct.call(this._longMonthsParse,a))?i:null:-1!==(i=Ct.call(this._longMonthsParse,a))||-1!==(i=Ct.call(this._shortMonthsParse,a))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;12>s;s++){if(i=h([2e3,s]),n&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[s]||(r="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[s]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[s].test(e))return s;if(n&&"MMM"===t&&this._shortMonthsParse[s].test(e))return s;if(!n&&this._monthsParse[s].test(e))return s}},Wn.monthsRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Z.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=Bt),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},Wn.monthsShortRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Z.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=qt),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},Wn.week=function(e){return J(e,this._week.dow,this._week.doy).week},Wn.firstDayOfYear=function(){return this._week.doy},Wn.firstDayOfWeek=function(){return this._week.dow},Wn.weekdays=function(e,n){var s=t(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(n)?"format":"standalone"];return!0===e?X(s,this._week.dow):e?s[e.day()]:s},Wn.weekdaysMin=function(e){return!0===e?X(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},Wn.weekdaysShort=function(e){return!0===e?X(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},Wn.weekdaysParse=function(e,t,n){var s,i,r;if(this._weekdaysParseExact)return function(e,t,n){var s,i,r,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;7>s;++s)r=h([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Ct.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ct.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=Ct.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=Ct.call(this._weekdaysParse,a))||-1!==(i=Ct.call(this._shortWeekdaysParse,a))||-1!==(i=Ct.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ct.call(this._shortWeekdaysParse,a))||-1!==(i=Ct.call(this._weekdaysParse,a))||-1!==(i=Ct.call(this._minWeekdaysParse,a))?i:null:-1!==(i=Ct.call(this._minWeekdaysParse,a))||-1!==(i=Ct.call(this._weekdaysParse,a))||-1!==(i=Ct.call(this._shortWeekdaysParse,a))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;7>s;s++){if(i=h([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(r="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[s]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[s].test(e))return s;if(n&&"ddd"===t&&this._shortWeekdaysParse[s].test(e))return s;if(n&&"dd"===t&&this._minWeekdaysParse[s].test(e))return s;if(!n&&this._weekdaysParse[s].test(e))return s}},Wn.weekdaysRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||K.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=en),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},Wn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||K.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tn),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Wn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||K.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=nn),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Wn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},Wn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},ae("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===W(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),e.lang=w("moment.lang is deprecated. Use moment.locale instead.",ae),e.langData=w("moment.langData is deprecated. Use moment.localeData instead.",ue);var Cn=Math.abs,Un=et("ms"),Hn=et("s"),Fn=et("m"),Ln=et("h"),Vn=et("d"),Gn=et("w"),En=et("M"),An=et("Q"),jn=et("y"),In=tt("milliseconds"),Zn=tt("seconds"),zn=tt("minutes"),$n=tt("hours"),qn=tt("days"),Bn=tt("months"),Jn=tt("years"),Qn=Math.round,Xn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11},Kn=Math.abs,es=ve.prototype;return es.isValid=function(){return this._isValid},es.abs=function(){var e=this._data;return this._milliseconds=Cn(this._milliseconds),this._days=Cn(this._days),this._months=Cn(this._months),e.milliseconds=Cn(e.milliseconds),e.seconds=Cn(e.seconds),e.minutes=Cn(e.minutes),e.hours=Cn(e.hours),e.months=Cn(e.months),e.years=Cn(e.years),this},es.add=function(e,t){return Je(this,e,t,1)},es.subtract=function(e,t){return Je(this,e,t,-1)},es.as=function(e){if(!this.isValid())return NaN;var t,n,s=this._milliseconds;if("month"===(e=x(e))||"quarter"===e||"year"===e)switch(t=this._days+s/864e5,n=this._months+Xe(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Ke(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return 24*t+s/36e5;case"minute":return 1440*t+s/6e4;case"second":return 86400*t+s/1e3;case"millisecond":return Math.floor(864e5*t)+s;default:throw new Error("Unknown unit "+e)}},es.asMilliseconds=Un,es.asSeconds=Hn,es.asMinutes=Fn,es.asHours=Ln,es.asDays=Vn,es.asWeeks=Gn,es.asMonths=En,es.asQuarters=An,es.asYears=jn,es.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*W(this._months/12):NaN},es._bubble=function(){var e,t,n,s,i,r=this._milliseconds,a=this._days,o=this._months,u=this._data;return r>=0&&a>=0&&o>=0||0>=r&&0>=a&&0>=o||(r+=864e5*Qe(Ke(o)+a),o=a=0),u.milliseconds=r%1e3,e=R(r/1e3),u.seconds=e%60,t=R(e/60),u.minutes=t%60,n=R(t/60),u.hours=n%24,a+=R(n/24),o+=i=R(Xe(a)),a-=Qe(Ke(i)),s=R(o/12),o%=12,u.days=a,u.months=o,u.years=s,this},es.clone=function(){return xe(this)},es.get=function(e){return e=x(e),this.isValid()?this[e+"s"]():NaN},es.milliseconds=In,es.seconds=Zn,es.minutes=zn,es.hours=$n,es.days=qn,es.weeks=function(){return R(this.days()/7)},es.months=Bn,es.years=Jn,es.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,s,i=!1,r=Xn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(r=Object.assign({},Xn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),n=this.localeData(),s=nt(this,!i,r,n),i&&(s=n.pastFuture(+this,s)),n.postformat(s)},es.toISOString=it,es.toString=it,es.toJSON=it,es.locale=He,es.localeData=Fe,es.toIsoString=w("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",it),es.lang=Yn,S("X",0,0,"unix"),S("x",0,0,"valueOf"),F("x",Nt),F("X",/[+-]?\d+(\.\d{1,3})?/),G("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),G("x",function(e,t,n){n._d=new Date(W(e))}),e.version="2.25.3",rt=we,e.fn=Rn,e.min=function(){return pe("isBefore",[].slice.call(arguments,0))},e.max=function(){return pe("isAfter",[].slice.call(arguments,0))},e.now=function(){return Date.now?Date.now():+new Date},e.utc=h,e.unix=function(e){return we(1e3*e)},e.months=function(e,t){return qe(e,t,"months")},e.isDate=o,e.locale=ae,e.invalid=f,e.duration=xe,e.isMoment=y,e.weekdays=function(e,t,n){return Be(e,t,n,"weekdays")},e.parseZone=function(){return we.apply(null,arguments).parseZone()},e.localeData=ue,e.isDuration=ke,e.monthsShort=function(e,t){return qe(e,t,"monthsShort")},e.weekdaysMin=function(e,t,n){return Be(e,t,n,"weekdaysMin")},e.defineLocale=oe,e.updateLocale=function(e,t){if(null!=t){var n,s,i=an;null!=on[e]&&null!=on[e].parentLocale?on[e].set(k(on[e]._config,t)):(null!=(s=re(e))&&(i=s._config),t=k(i,t),null==s&&(t.abbr=e),(n=new M(t)).parentLocale=on[e],on[e]=n),ae(e)}else null!=on[e]&&(null!=on[e].parentLocale?(on[e]=on[e].parentLocale,e===ae()&&ae(e)):null!=on[e]&&delete on[e]);return on[e]},e.locales=function(){return ot(on)},e.weekdaysShort=function(e,t,n){return Be(e,t,n,"weekdaysShort")},e.normalizeUnits=x,e.relativeTimeRounding=function(e){return void 0===e?Qn:"function"==typeof e&&(Qn=e,!0)},e.relativeTimeThreshold=function(e,t){return void 0!==Xn[e]&&(void 0===t?Xn[e]:(Xn[e]=t,"s"===e&&(Xn.ss=t-1),!0))},e.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return-6>n?"sameElse":-1>n?"lastWeek":0>n?"lastDay":1>n?"sameDay":2>n?"nextDay":7>n?"nextWeek":"sameElse"},e.prototype=Rn,e.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},e});
|