UNPKG

hdjs

Version:
1 lines 1.65 MB
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.hdjs=t():e.hdjs=t()}(this,function(){return webpackJsonphdjs([2],[,function(e,t,a){(function(e){!function(t,a){e.exports=a()}(0,function(){"use strict";function t(){return Ii.apply(null,arguments)}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function r(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function n(e){var t;for(t in e)return!1;return!0}function s(e){return void 0===e}function o(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function l(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function d(e,t){var a,i=[];for(a=0;a<e.length;++a)i.push(t(e[a],a));return i}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function u(e,t){for(var a in t)c(t,a)&&(e[a]=t[a]);return c(t,"toString")&&(e.toString=t.toString),c(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,a,i){return It(e,t,a,i,!0).utc()}function h(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function p(e){return null==e._pf&&(e._pf=h()),e._pf}function m(e){if(null==e._isValid){var t=p(e),a=yi.call(t.parsedDateParts,function(e){return null!=e}),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&a);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function v(e){var t=f(NaN);return null!=e?u(p(t),e):p(t).userInvalidated=!0,t}function g(e,t){var a,i,r;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=p(t)),s(t._locale)||(e._locale=t._locale),bi.length>0)for(a=0;a<bi.length;a++)i=bi[a],r=t[i],s(r)||(e[i]=r);return e}function D(e){g(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===wi&&(wi=!0,t.updateOffset(this),wi=!1)}function I(e){return e instanceof D||null!=e&&null!=e._isAMomentObject}function _(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function y(e){var t=+e,a=0;return 0!==t&&isFinite(t)&&(a=_(t)),a}function b(e,t,a){var i,r=Math.min(e.length,t.length),n=Math.abs(e.length-t.length),s=0;for(i=0;i<r;i++)(a&&e[i]!==t[i]||!a&&y(e[i])!==y(t[i]))&&s++;return s+n}function w(e){!1===t.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function k(e,a){var i=!0;return u(function(){if(null!=t.deprecationHandler&&t.deprecationHandler(null,e),i){for(var r,n=[],s=0;s<arguments.length;s++){if(r="","object"==typeof arguments[s]){r+="\n["+s+"] ";for(var o in arguments[0])r+=o+": "+arguments[0][o]+", ";r=r.slice(0,-2)}else r=arguments[s];n.push(r)}w(e+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),i=!1}return a.apply(this,arguments)},a)}function M(e,a){null!=t.deprecationHandler&&t.deprecationHandler(e,a),ki[e]||(w(a),ki[e]=!0)}function x(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function L(e){var t,a;for(a in e)t=e[a],x(t)?this[a]=t:this["_"+a]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function T(e,t){var a,i=u({},e);for(a in t)c(t,a)&&(r(e[a])&&r(t[a])?(i[a]={},u(i[a],e[a]),u(i[a],t[a])):null!=t[a]?i[a]=t[a]:delete i[a]);for(a in e)c(e,a)&&!c(t,a)&&r(e[a])&&(i[a]=u({},i[a]));return i}function S(e){null!=e&&this.set(e)}function C(e,t,a){var i=this._calendar[e]||this._calendar.sameElse;return x(i)?i.call(t,a):i}function Y(e){var t=this._longDateFormat[e],a=this._longDateFormat[e.toUpperCase()];return t||!a?t:(this._longDateFormat[e]=a.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])}function E(){return this._invalidDate}function A(e){return this._ordinal.replace("%d",e)}function j(e,t,a,i){var r=this._relativeTime[a];return x(r)?r(e,t,a,i):r.replace(/%d/i,e)}function O(e,t){var a=this._relativeTime[e>0?"future":"past"];return x(a)?a(t):a.replace(/%s/i,t)}function P(e,t){var a=e.toLowerCase();Ei[a]=Ei[a+"s"]=Ei[t]=e}function R(e){return"string"==typeof e?Ei[e]||Ei[e.toLowerCase()]:void 0}function F(e){var t,a,i={};for(a in e)c(e,a)&&(t=R(a))&&(i[t]=e[a]);return i}function H(e,t){Ai[e]=t}function $(e){var t=[];for(var a in e)t.push({unit:a,priority:Ai[a]});return t.sort(function(e,t){return e.priority-t.priority}),t}function z(e,a){return function(i){return null!=i?(W(this,e,i),t.updateOffset(this,a),this):N(this,e)}}function N(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function W(e,t,a){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](a)}function B(e){return e=R(e),x(this[e])?this[e]():this}function q(e,t){if("object"==typeof e){e=F(e);for(var a=$(e),i=0;i<a.length;i++)this[a[i].unit](e[a[i].unit])}else if(e=R(e),x(this[e]))return this[e](t);return this}function U(e,t,a){var i=""+Math.abs(e),r=t-i.length;return(e>=0?a?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}function V(e,t,a,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),e&&(Ri[e]=r),t&&(Ri[t[0]]=function(){return U(r.apply(this,arguments),t[1],t[2])}),a&&(Ri[a]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function G(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function J(e){var t,a,i=e.match(ji);for(t=0,a=i.length;t<a;t++)Ri[i[t]]?i[t]=Ri[i[t]]:i[t]=G(i[t]);return function(t){var r,n="";for(r=0;r<a;r++)n+=x(i[r])?i[r].call(t,e):i[r];return n}}function X(e,t){return e.isValid()?(t=K(t,e.localeData()),Pi[t]=Pi[t]||J(t),Pi[t](e)):e.localeData().invalidDate()}function K(e,t){function a(e){return t.longDateFormat(e)||e}var i=5;for(Oi.lastIndex=0;i>=0&&Oi.test(e);)e=e.replace(Oi,a),Oi.lastIndex=0,i-=1;return e}function Z(e,t,a){tr[e]=x(t)?t:function(e,i){return e&&a?a:t}}function Q(e,t){return c(tr,e)?tr[e](t._strict,t._locale):new RegExp(ee(e))}function ee(e){return te(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,a,i,r){return t||a||i||r}))}function te(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ae(e,t){var a,i=t;for("string"==typeof e&&(e=[e]),o(t)&&(i=function(e,a){a[t]=y(e)}),a=0;a<e.length;a++)ar[e[a]]=i}function ie(e,t){ae(e,function(e,a,i,r){i._w=i._w||{},t(e,i._w,i,r)})}function re(e,t,a){null!=t&&c(ar,e)&&ar[e](t,a._a,a,e)}function ne(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}function se(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||hr).test(t)?"format":"standalone"][e.month()]:i(this._months)?this._months:this._months.standalone}function oe(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[hr.test(t)?"format":"standalone"][e.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function le(e,t,a){var i,r,n,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)n=f([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(n,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(n,"").toLocaleLowerCase();return a?"MMM"===t?(r=fr.call(this._shortMonthsParse,s),-1!==r?r:null):(r=fr.call(this._longMonthsParse,s),-1!==r?r:null):"MMM"===t?-1!==(r=fr.call(this._shortMonthsParse,s))?r:(r=fr.call(this._longMonthsParse,s),-1!==r?r:null):-1!==(r=fr.call(this._longMonthsParse,s))?r:(r=fr.call(this._shortMonthsParse,s),-1!==r?r:null)}function de(e,t,a){var i,r,n;if(this._monthsParseExact)return le.call(this,e,t,a);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=f([2e3,i]),a&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),a||this._monthsParse[i]||(n="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(n.replace(".",""),"i")),a&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(a&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!a&&this._monthsParse[i].test(e))return i}}function ce(e,t){var a;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=y(t);else if(t=e.localeData().monthsParse(t),!o(t))return e;return a=Math.min(e.date(),ne(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,a),e}function ue(e){return null!=e?(ce(this,e),t.updateOffset(this,!0),this):N(this,"Month")}function fe(){return ne(this.year(),this.month())}function he(e){return this._monthsParseExact?(c(this,"_monthsRegex")||me.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=vr),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function pe(e){return this._monthsParseExact?(c(this,"_monthsRegex")||me.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=gr),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function me(){function e(e,t){return t.length-e.length}var t,a,i=[],r=[],n=[];for(t=0;t<12;t++)a=f([2e3,t]),i.push(this.monthsShort(a,"")),r.push(this.months(a,"")),n.push(this.months(a,"")),n.push(this.monthsShort(a,""));for(i.sort(e),r.sort(e),n.sort(e),t=0;t<12;t++)i[t]=te(i[t]),r[t]=te(r[t]);for(t=0;t<24;t++)n[t]=te(n[t]);this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function ve(e){return ge(e)?366:365}function ge(e){return e%4==0&&e%100!=0||e%400==0}function De(){return ge(this.year())}function Ie(e,t,a,i,r,n,s){var o=new Date(e,t,a,i,r,n,s);return e<100&&e>=0&&isFinite(o.getFullYear())&&o.setFullYear(e),o}function _e(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function ye(e,t,a){var i=7+t-a;return-(7+_e(e,0,i).getUTCDay()-t)%7+i-1}function be(e,t,a,i,r){var n,s,o=(7+a-i)%7,l=ye(e,i,r),d=1+7*(t-1)+o+l;return d<=0?(n=e-1,s=ve(n)+d):d>ve(e)?(n=e+1,s=d-ve(e)):(n=e,s=d),{year:n,dayOfYear:s}}function we(e,t,a){var i,r,n=ye(e.year(),t,a),s=Math.floor((e.dayOfYear()-n-1)/7)+1;return s<1?(r=e.year()-1,i=s+ke(r,t,a)):s>ke(e.year(),t,a)?(i=s-ke(e.year(),t,a),r=e.year()+1):(r=e.year(),i=s),{week:i,year:r}}function ke(e,t,a){var i=ye(e,t,a),r=ye(e+1,t,a);return(ve(e)-i+r)/7}function Me(e){return we(e,this._week.dow,this._week.doy).week}function xe(){return this._week.dow}function Le(){return this._week.doy}function Te(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Se(e){var t=we(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Ce(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Ye(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Ee(e,t){return e?i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:i(this._weekdays)?this._weekdays:this._weekdays.standalone}function Ae(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function je(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Oe(e,t,a){var i,r,n,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)n=f([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(n,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(n,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(n,"").toLocaleLowerCase();return a?"dddd"===t?(r=fr.call(this._weekdaysParse,s),-1!==r?r:null):"ddd"===t?(r=fr.call(this._shortWeekdaysParse,s),-1!==r?r:null):(r=fr.call(this._minWeekdaysParse,s),-1!==r?r:null):"dddd"===t?-1!==(r=fr.call(this._weekdaysParse,s))?r:-1!==(r=fr.call(this._shortWeekdaysParse,s))?r:(r=fr.call(this._minWeekdaysParse,s),-1!==r?r:null):"ddd"===t?-1!==(r=fr.call(this._shortWeekdaysParse,s))?r:-1!==(r=fr.call(this._weekdaysParse,s))?r:(r=fr.call(this._minWeekdaysParse,s),-1!==r?r:null):-1!==(r=fr.call(this._minWeekdaysParse,s))?r:-1!==(r=fr.call(this._weekdaysParse,s))?r:(r=fr.call(this._shortWeekdaysParse,s),-1!==r?r:null)}function Pe(e,t,a){var i,r,n;if(this._weekdaysParseExact)return Oe.call(this,e,t,a);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=f([2e3,1]).day(i),a&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".",".?")+"$","i")),this._weekdaysParse[i]||(n="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(n.replace(".",""),"i")),a&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(a&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(a&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!a&&this._weekdaysParse[i].test(e))return i}}function Re(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Ce(e,this.localeData()),this.add(e-t,"d")):t}function Fe(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")}function He(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Ye(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function $e(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||We.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=wr),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function ze(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||We.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=kr),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ne(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||We.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Mr),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function We(){function e(e,t){return t.length-e.length}var t,a,i,r,n,s=[],o=[],l=[],d=[];for(t=0;t<7;t++)a=f([2e3,1]).day(t),i=this.weekdaysMin(a,""),r=this.weekdaysShort(a,""),n=this.weekdays(a,""),s.push(i),o.push(r),l.push(n),d.push(i),d.push(r),d.push(n);for(s.sort(e),o.sort(e),l.sort(e),d.sort(e),t=0;t<7;t++)o[t]=te(o[t]),l[t]=te(l[t]),d[t]=te(d[t]);this._weekdaysRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function Be(){return this.hours()%12||12}function qe(){return this.hours()||24}function Ue(e,t){V(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ve(e,t){return t._meridiemParse}function Ge(e){return"p"===(e+"").toLowerCase().charAt(0)}function Je(e,t,a){return e>11?a?"pm":"PM":a?"am":"AM"}function Xe(e){return e?e.toLowerCase().replace("_","-"):e}function Ke(e){for(var t,a,i,r,n=0;n<e.length;){for(r=Xe(e[n]).split("-"),t=r.length,a=Xe(e[n+1]),a=a?a.split("-"):null;t>0;){if(i=Ze(r.slice(0,t).join("-")))return i;if(a&&a.length>=t&&b(r,a,!0)>=t-1)break;t--}n++}return null}function Ze(t){var i=null;if(!Cr[t]&&void 0!==e&&e&&e.exports)try{i=xr._abbr,a(335)("./"+t),Qe(i)}catch(e){}return Cr[t]}function Qe(e,t){var a;return e&&(a=s(t)?at(e):et(e,t))&&(xr=a),xr._abbr}function et(e,t){if(null!==t){var a=Sr;if(t.abbr=e,null!=Cr[e])M("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."),a=Cr[e]._config;else if(null!=t.parentLocale){if(null==Cr[t.parentLocale])return Yr[t.parentLocale]||(Yr[t.parentLocale]=[]),Yr[t.parentLocale].push({name:e,config:t}),null;a=Cr[t.parentLocale]._config}return Cr[e]=new S(T(a,t)),Yr[e]&&Yr[e].forEach(function(e){et(e.name,e.config)}),Qe(e),Cr[e]}return delete Cr[e],null}function tt(e,t){if(null!=t){var a,i=Sr;null!=Cr[e]&&(i=Cr[e]._config),t=T(i,t),a=new S(t),a.parentLocale=Cr[e],Cr[e]=a,Qe(e)}else null!=Cr[e]&&(null!=Cr[e].parentLocale?Cr[e]=Cr[e].parentLocale:null!=Cr[e]&&delete Cr[e]);return Cr[e]}function at(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return xr;if(!i(e)){if(t=Ze(e))return t;e=[e]}return Ke(e)}function it(){return Li(Cr)}function rt(e){var t,a=e._a;return a&&-2===p(e).overflow&&(t=a[rr]<0||a[rr]>11?rr:a[nr]<1||a[nr]>ne(a[ir],a[rr])?nr:a[sr]<0||a[sr]>24||24===a[sr]&&(0!==a[or]||0!==a[lr]||0!==a[dr])?sr:a[or]<0||a[or]>59?or:a[lr]<0||a[lr]>59?lr:a[dr]<0||a[dr]>999?dr:-1,p(e)._overflowDayOfYear&&(t<ir||t>nr)&&(t=nr),p(e)._overflowWeeks&&-1===t&&(t=cr),p(e)._overflowWeekday&&-1===t&&(t=ur),p(e).overflow=t),e}function nt(e){var t,a,i,r,n,s,o=e._i,l=Er.exec(o)||Ar.exec(o);if(l){for(p(e).iso=!0,t=0,a=Or.length;t<a;t++)if(Or[t][1].exec(l[1])){r=Or[t][0],i=!1!==Or[t][2];break}if(null==r)return void(e._isValid=!1);if(l[3]){for(t=0,a=Pr.length;t<a;t++)if(Pr[t][1].exec(l[3])){n=(l[2]||" ")+Pr[t][0];break}if(null==n)return void(e._isValid=!1)}if(!i&&null!=n)return void(e._isValid=!1);if(l[4]){if(!jr.exec(l[4]))return void(e._isValid=!1);s="Z"}e._f=r+(n||"")+(s||""),ft(e)}else e._isValid=!1}function st(e){var t,a,i,r,n,s,o,l,d={" GMT":" +0000"," EDT":" -0400"," EST":" -0500"," CDT":" -0500"," CST":" -0600"," MDT":" -0600"," MST":" -0700"," PDT":" -0700"," PST":" -0800"},c="YXWVUTSRQPONZABCDEFGHIKLM";if(t=e._i.replace(/\([^\)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s|\s$/g,""),a=Fr.exec(t)){if(i=a[1]?"ddd"+(5===a[1].length?", ":" "):"",r="D MMM "+(a[2].length>10?"YYYY ":"YY "),n="HH:mm"+(a[4]?":ss":""),a[1]){var u=new Date(a[2]),f=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][u.getDay()];if(a[1].substr(0,3)!==f)return p(e).weekdayMismatch=!0,void(e._isValid=!1)}switch(a[5].length){case 2:0===l?o=" +0000":(l=c.indexOf(a[5][1].toUpperCase())-12,o=(l<0?" -":" +")+(""+l).replace(/^-?/,"0").match(/..$/)[0]+"00");break;case 4:o=d[a[5]];break;default:o=d[" GMT"]}a[5]=o,e._i=a.splice(1).join(""),s=" ZZ",e._f=i+r+n+s,ft(e),p(e).rfc2822=!0}else e._isValid=!1}function ot(e){var a=Rr.exec(e._i);if(null!==a)return void(e._d=new Date(+a[1]));nt(e),!1===e._isValid&&(delete e._isValid,st(e),!1===e._isValid&&(delete e._isValid,t.createFromInputFallback(e)))}function lt(e,t,a){return null!=e?e:null!=t?t:a}function dt(e){var a=new Date(t.now());return e._useUTC?[a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate()]:[a.getFullYear(),a.getMonth(),a.getDate()]}function ct(e){var t,a,i,r,n=[];if(!e._d){for(i=dt(e),e._w&&null==e._a[nr]&&null==e._a[rr]&&ut(e),null!=e._dayOfYear&&(r=lt(e._a[ir],i[ir]),(e._dayOfYear>ve(r)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),a=_e(r,0,e._dayOfYear),e._a[rr]=a.getUTCMonth(),e._a[nr]=a.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=n[t]=i[t];for(;t<7;t++)e._a[t]=n[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[sr]&&0===e._a[or]&&0===e._a[lr]&&0===e._a[dr]&&(e._nextDay=!0,e._a[sr]=0),e._d=(e._useUTC?_e:Ie).apply(null,n),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[sr]=24)}}function ut(e){var t,a,i,r,n,s,o,l;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)n=1,s=4,a=lt(t.GG,e._a[ir],we(_t(),1,4).year),i=lt(t.W,1),((r=lt(t.E,1))<1||r>7)&&(l=!0);else{n=e._locale._week.dow,s=e._locale._week.doy;var d=we(_t(),n,s);a=lt(t.gg,e._a[ir],d.year),i=lt(t.w,d.week),null!=t.d?((r=t.d)<0||r>6)&&(l=!0):null!=t.e?(r=t.e+n,(t.e<0||t.e>6)&&(l=!0)):r=n}i<1||i>ke(a,n,s)?p(e)._overflowWeeks=!0:null!=l?p(e)._overflowWeekday=!0:(o=be(a,i,r,n,s),e._a[ir]=o.year,e._dayOfYear=o.dayOfYear)}function ft(e){if(e._f===t.ISO_8601)return void nt(e);if(e._f===t.RFC_2822)return void st(e);e._a=[],p(e).empty=!0;var a,i,r,n,s,o=""+e._i,l=o.length,d=0;for(r=K(e._f,e._locale).match(ji)||[],a=0;a<r.length;a++)n=r[a],i=(o.match(Q(n,e))||[])[0],i&&(s=o.substr(0,o.indexOf(i)),s.length>0&&p(e).unusedInput.push(s),o=o.slice(o.indexOf(i)+i.length),d+=i.length),Ri[n]?(i?p(e).empty=!1:p(e).unusedTokens.push(n),re(n,i,e)):e._strict&&!i&&p(e).unusedTokens.push(n);p(e).charsLeftOver=l-d,o.length>0&&p(e).unusedInput.push(o),e._a[sr]<=12&&!0===p(e).bigHour&&e._a[sr]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[sr]=ht(e._locale,e._a[sr],e._meridiem),ct(e),rt(e)}function ht(e,t,a){var i;return null==a?t:null!=e.meridiemHour?e.meridiemHour(t,a):null!=e.isPM?(i=e.isPM(a),i&&t<12&&(t+=12),i||12!==t||(t=0),t):t}function pt(e){var t,a,i,r,n;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<e._f.length;r++)n=0,t=g({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],ft(t),m(t)&&(n+=p(t).charsLeftOver,n+=10*p(t).unusedTokens.length,p(t).score=n,(null==i||n<i)&&(i=n,a=t));u(e,a||t)}function mt(e){if(!e._d){var t=F(e._i);e._a=d([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),ct(e)}}function vt(e){var t=new D(rt(gt(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function gt(e){var t=e._i,a=e._f;return e._locale=e._locale||at(e._l),null===t||void 0===a&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),I(t)?new D(rt(t)):(l(t)?e._d=t:i(a)?pt(e):a?ft(e):Dt(e),m(e)||(e._d=null),e))}function Dt(e){var a=e._i;s(a)?e._d=new Date(t.now()):l(a)?e._d=new Date(a.valueOf()):"string"==typeof a?ot(e):i(a)?(e._a=d(a.slice(0),function(e){return parseInt(e,10)}),ct(e)):r(a)?mt(e):o(a)?e._d=new Date(a):t.createFromInputFallback(e)}function It(e,t,a,s,o){var l={};return!0!==a&&!1!==a||(s=a,a=void 0),(r(e)&&n(e)||i(e)&&0===e.length)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=o,l._l=a,l._i=e,l._f=t,l._strict=s,vt(l)}function _t(e,t,a,i){return It(e,t,a,i,!1)}function yt(e,t){var a,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return _t();for(a=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](a)||(a=t[r]);return a}function bt(){return yt("isBefore",[].slice.call(arguments,0))}function wt(){return yt("isAfter",[].slice.call(arguments,0))}function kt(e){for(var t in e)if(-1===Nr.indexOf(t)||null!=e[t]&&isNaN(e[t]))return!1;for(var a=!1,i=0;i<Nr.length;++i)if(e[Nr[i]]){if(a)return!1;parseFloat(e[Nr[i]])!==y(e[Nr[i]])&&(a=!0)}return!0}function Mt(){return this._isValid}function xt(){return qt(NaN)}function Lt(e){var t=F(e),a=t.year||0,i=t.quarter||0,r=t.month||0,n=t.week||0,s=t.day||0,o=t.hour||0,l=t.minute||0,d=t.second||0,c=t.millisecond||0;this._isValid=kt(t),this._milliseconds=+c+1e3*d+6e4*l+1e3*o*60*60,this._days=+s+7*n,this._months=+r+3*i+12*a,this._data={},this._locale=at(),this._bubble()}function Tt(e){return e instanceof Lt}function St(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ct(e,t){V(e,0,0,function(){var e=this.utcOffset(),a="+";return e<0&&(e=-e,a="-"),a+U(~~(e/60),2)+t+U(~~e%60,2)})}function Yt(e,t){var a=(t||"").match(e);if(null===a)return null;var i=a[a.length-1]||[],r=(i+"").match(Wr)||["-",0,0],n=60*r[1]+y(r[2]);return 0===n?0:"+"===r[0]?n:-n}function Et(e,a){var i,r;return a._isUTC?(i=a.clone(),r=(I(e)||l(e)?e.valueOf():_t(e).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+r),t.updateOffset(i,!1),i):_t(e).local()}function At(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function jt(e,a,i){var r,n=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Yt(Zi,e)))return this}else Math.abs(e)<16&&!i&&(e*=60);return!this._isUTC&&a&&(r=At(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),n!==e&&(!a||this._changeInProgress?Xt(this,qt(e-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?n:At(this)}function Ot(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Pt(e){return this.utcOffset(0,e)}function Rt(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(At(this),"m")),this}function Ft(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Yt(Ki,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Ht(e){return!!this.isValid()&&(e=e?_t(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function $t(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function zt(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e={};if(g(e,this),e=gt(e),e._a){var t=e._isUTC?f(e._a):_t(e._a);this._isDSTShifted=this.isValid()&&b(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Nt(){return!!this.isValid()&&!this._isUTC}function Wt(){return!!this.isValid()&&this._isUTC}function Bt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function qt(e,t){var a,i,r,n=e,s=null;return Tt(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:o(e)?(n={},t?n[t]=e:n.milliseconds=e):(s=Br.exec(e))?(a="-"===s[1]?-1:1,n={y:0,d:y(s[nr])*a,h:y(s[sr])*a,m:y(s[or])*a,s:y(s[lr])*a,ms:y(St(1e3*s[dr]))*a}):(s=qr.exec(e))?(a="-"===s[1]?-1:1,n={y:Ut(s[2],a),M:Ut(s[3],a),w:Ut(s[4],a),d:Ut(s[5],a),h:Ut(s[6],a),m:Ut(s[7],a),s:Ut(s[8],a)}):null==n?n={}:"object"==typeof n&&("from"in n||"to"in n)&&(r=Gt(_t(n.from),_t(n.to)),n={},n.ms=r.milliseconds,n.M=r.months),i=new Lt(n),Tt(e)&&c(e,"_locale")&&(i._locale=e._locale),i}function Ut(e,t){var a=e&&parseFloat(e.replace(",","."));return(isNaN(a)?0:a)*t}function Vt(e,t){var a={milliseconds:0,months:0};return a.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(a.months,"M").isAfter(t)&&--a.months,a.milliseconds=+t-+e.clone().add(a.months,"M"),a}function Gt(e,t){var a;return e.isValid()&&t.isValid()?(t=Et(t,e),e.isBefore(t)?a=Vt(e,t):(a=Vt(t,e),a.milliseconds=-a.milliseconds,a.months=-a.months),a):{milliseconds:0,months:0}}function Jt(e,t){return function(a,i){var r,n;return null===i||isNaN(+i)||(M(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."),n=a,a=i,i=n),a="string"==typeof a?+a:a,r=qt(a,i),Xt(this,r,e),this}}function Xt(e,a,i,r){var n=a._milliseconds,s=St(a._days),o=St(a._months);e.isValid()&&(r=null==r||r,n&&e._d.setTime(e._d.valueOf()+n*i),s&&W(e,"Date",N(e,"Date")+s*i),o&&ce(e,N(e,"Month")+o*i),r&&t.updateOffset(e,s||o))}function Kt(e,t){var a=e.diff(t,"days",!0);return a<-6?"sameElse":a<-1?"lastWeek":a<0?"lastDay":a<1?"sameDay":a<2?"nextDay":a<7?"nextWeek":"sameElse"}function Zt(e,a){var i=e||_t(),r=Et(i,this).startOf("day"),n=t.calendarFormat(this,r)||"sameElse",s=a&&(x(a[n])?a[n].call(this,i):a[n]);return this.format(s||this.localeData().calendar(n,this,_t(i)))}function Qt(){return new D(this)}function ea(e,t){var a=I(e)?e:_t(e);return!(!this.isValid()||!a.isValid())&&(t=R(s(t)?"millisecond":t),"millisecond"===t?this.valueOf()>a.valueOf():a.valueOf()<this.clone().startOf(t).valueOf())}function ta(e,t){var a=I(e)?e:_t(e);return!(!this.isValid()||!a.isValid())&&(t=R(s(t)?"millisecond":t),"millisecond"===t?this.valueOf()<a.valueOf():this.clone().endOf(t).valueOf()<a.valueOf())}function aa(e,t,a,i){return i=i||"()",("("===i[0]?this.isAfter(e,a):!this.isBefore(e,a))&&(")"===i[1]?this.isBefore(t,a):!this.isAfter(t,a))}function ia(e,t){var a,i=I(e)?e:_t(e);return!(!this.isValid()||!i.isValid())&&(t=R(t||"millisecond"),"millisecond"===t?this.valueOf()===i.valueOf():(a=i.valueOf(),this.clone().startOf(t).valueOf()<=a&&a<=this.clone().endOf(t).valueOf()))}function ra(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function na(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function sa(e,t,a){var i,r,n,s;return this.isValid()?(i=Et(e,this),i.isValid()?(r=6e4*(i.utcOffset()-this.utcOffset()),t=R(t),"year"===t||"month"===t||"quarter"===t?(s=oa(this,i),"quarter"===t?s/=3:"year"===t&&(s/=12)):(n=this-i,s="second"===t?n/1e3:"minute"===t?n/6e4:"hour"===t?n/36e5:"day"===t?(n-r)/864e5:"week"===t?(n-r)/6048e5:n),a?s:_(s)):NaN):NaN}function oa(e,t){var a,i,r=12*(t.year()-e.year())+(t.month()-e.month()),n=e.clone().add(r,"months");return t-n<0?(a=e.clone().add(r-1,"months"),i=(t-n)/(n-a)):(a=e.clone().add(r+1,"months"),i=(t-n)/(a-n)),-(r+i)||0}function la(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function da(){if(!this.isValid())return null;var e=this.clone().utc();return e.year()<0||e.year()>9999?X(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):x(Date.prototype.toISOString)?this.toDate().toISOString():X(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function ca(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var a="["+e+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r=t+'[")]';return this.format(a+i+"-MM-DD[T]HH:mm:ss.SSS"+r)}function ua(e){e||(e=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var a=X(this,e);return this.localeData().postformat(a)}function fa(e,t){return this.isValid()&&(I(e)&&e.isValid()||_t(e).isValid())?qt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ha(e){return this.from(_t(),e)}function pa(e,t){return this.isValid()&&(I(e)&&e.isValid()||_t(e).isValid())?qt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ma(e){return this.to(_t(),e)}function va(e){var t;return void 0===e?this._locale._abbr:(t=at(e),null!=t&&(this._locale=t),this)}function ga(){return this._locale}function Da(e){switch(e=R(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this}function Ia(e){return void 0===(e=R(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function _a(){return this._d.valueOf()-6e4*(this._offset||0)}function ya(){return Math.floor(this.valueOf()/1e3)}function ba(){return new Date(this.valueOf())}function wa(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function ka(){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()}}function Ma(){return this.isValid()?this.toISOString():null}function xa(){return m(this)}function La(){return u({},p(this))}function Ta(){return p(this).overflow}function Sa(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ca(e,t){V(0,[e,e.length],0,t)}function Ya(e){return Oa.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Ea(e){return Oa.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Aa(){return ke(this.year(),1,4)}function ja(){var e=this.localeData()._week;return ke(this.year(),e.dow,e.doy)}function Oa(e,t,a,i,r){var n;return null==e?we(this,i,r).year:(n=ke(e,i,r),t>n&&(t=n),Pa.call(this,e,t,a,i,r))}function Pa(e,t,a,i,r){var n=be(e,t,a,i,r),s=_e(n.year,0,n.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}function Ra(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Fa(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function Ha(e,t){t[dr]=y(1e3*("0."+e))}function $a(){return this._isUTC?"UTC":""}function za(){return this._isUTC?"Coordinated Universal Time":""}function Na(e){return _t(1e3*e)}function Wa(){return _t.apply(null,arguments).parseZone()}function Ba(e){return e}function qa(e,t,a,i){var r=at(),n=f().set(i,t);return r[a](n,e)}function Ua(e,t,a){if(o(e)&&(t=e,e=void 0),e=e||"",null!=t)return qa(e,t,a,"month");var i,r=[];for(i=0;i<12;i++)r[i]=qa(e,i,a,"month");return r}function Va(e,t,a,i){"boolean"==typeof e?(o(t)&&(a=t,t=void 0),t=t||""):(t=e,a=t,e=!1,o(t)&&(a=t,t=void 0),t=t||"");var r=at(),n=e?r._week.dow:0;if(null!=a)return qa(t,(a+n)%7,i,"day");var s,l=[];for(s=0;s<7;s++)l[s]=qa(t,(s+n)%7,i,"day");return l}function Ga(e,t){return Ua(e,t,"months")}function Ja(e,t){return Ua(e,t,"monthsShort")}function Xa(e,t,a){return Va(e,t,a,"weekdays")}function Ka(e,t,a){return Va(e,t,a,"weekdaysShort")}function Za(e,t,a){return Va(e,t,a,"weekdaysMin")}function Qa(){var e=this._data;return this._milliseconds=an(this._milliseconds),this._days=an(this._days),this._months=an(this._months),e.milliseconds=an(e.milliseconds),e.seconds=an(e.seconds),e.minutes=an(e.minutes),e.hours=an(e.hours),e.months=an(e.months),e.years=an(e.years),this}function ei(e,t,a,i){var r=qt(t,a);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function ti(e,t){return ei(this,e,t,1)}function ai(e,t){return ei(this,e,t,-1)}function ii(e){return e<0?Math.floor(e):Math.ceil(e)}function ri(){var e,t,a,i,r,n=this._milliseconds,s=this._days,o=this._months,l=this._data;return n>=0&&s>=0&&o>=0||n<=0&&s<=0&&o<=0||(n+=864e5*ii(si(o)+s),s=0,o=0),l.milliseconds=n%1e3,e=_(n/1e3),l.seconds=e%60,t=_(e/60),l.minutes=t%60,a=_(t/60),l.hours=a%24,s+=_(a/24),r=_(ni(s)),o+=r,s-=ii(si(r)),i=_(o/12),o%=12,l.days=s,l.months=o,l.years=i,this}function ni(e){return 4800*e/146097}function si(e){return 146097*e/4800}function oi(e){if(!this.isValid())return NaN;var t,a,i=this._milliseconds;if("month"===(e=R(e))||"year"===e)return t=this._days+i/864e5,a=this._months+ni(t),"month"===e?a:a/12;switch(t=this._days+Math.round(si(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}}function li(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*y(this._months/12):NaN}function di(e){return function(){return this.as(e)}}function ci(e){return e=R(e),this.isValid()?this[e+"s"]():NaN}function ui(e){return function(){return this.isValid()?this._data[e]:NaN}}function fi(){return _(this.days()/7)}function hi(e,t,a,i,r){return r.relativeTime(t||1,!!a,e,i)}function pi(e,t,a){var i=qt(e).abs(),r=In(i.as("s")),n=In(i.as("m")),s=In(i.as("h")),o=In(i.as("d")),l=In(i.as("M")),d=In(i.as("y")),c=r<=_n.ss&&["s",r]||r<_n.s&&["ss",r]||n<=1&&["m"]||n<_n.m&&["mm",n]||s<=1&&["h"]||s<_n.h&&["hh",s]||o<=1&&["d"]||o<_n.d&&["dd",o]||l<=1&&["M"]||l<_n.M&&["MM",l]||d<=1&&["y"]||["yy",d];return c[2]=t,c[3]=+e>0,c[4]=a,hi.apply(null,c)}function mi(e){return void 0===e?In:"function"==typeof e&&(In=e,!0)}function vi(e,t){return void 0!==_n[e]&&(void 0===t?_n[e]:(_n[e]=t,"s"===e&&(_n.ss=t-1),!0))}function gi(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),a=pi(this,!e,t);return e&&(a=t.pastFuture(+this,a)),t.postformat(a)}function Di(){if(!this.isValid())return this.localeData().invalidDate();var e,t,a,i=yn(this._milliseconds)/1e3,r=yn(this._days),n=yn(this._months);e=_(i/60),t=_(e/60),i%=60,e%=60,a=_(n/12),n%=12;var s=a,o=n,l=r,d=t,c=e,u=i,f=this.asSeconds();return f?(f<0?"-":"")+"P"+(s?s+"Y":"")+(o?o+"M":"")+(l?l+"D":"")+(d||c||u?"T":"")+(d?d+"H":"")+(c?c+"M":"")+(u?u+"S":""):"P0D"}var Ii,_i;_i=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),a=t.length>>>0,i=0;i<a;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1};var yi=_i,bi=t.momentProperties=[],wi=!1,ki={};t.suppressDeprecationWarnings=!1,t.deprecationHandler=null;var Mi;Mi=Object.keys?Object.keys:function(e){var t,a=[];for(t in e)c(e,t)&&a.push(t);return a};var xi,Li=Mi,Ti={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Si={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"},Ci=/\d{1,2}/,Yi={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Ei={},Ai={},ji=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Oi=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Pi={},Ri={},Fi=/\d/,Hi=/\d\d/,$i=/\d{3}/,zi=/\d{4}/,Ni=/[+-]?\d{6}/,Wi=/\d\d?/,Bi=/\d\d\d\d?/,qi=/\d\d\d\d\d\d?/,Ui=/\d{1,3}/,Vi=/\d{1,4}/,Gi=/[+-]?\d{1,6}/,Ji=/\d+/,Xi=/[+-]?\d+/,Ki=/Z|[+-]\d\d:?\d\d/gi,Zi=/Z|[+-]\d\d(?::?\d\d)?/gi,Qi=/[+-]?\d+(\.\d{1,3})?/,er=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,tr={},ar={},ir=0,rr=1,nr=2,sr=3,or=4,lr=5,dr=6,cr=7,ur=8;xi=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};var fr=xi;V("M",["MM",2],"Mo",function(){return this.month()+1}),V("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),V("MMMM",0,0,function(e){return this.localeData().months(this,e)}),P("month","M"),H("month",8),Z("M",Wi),Z("MM",Wi,Hi),Z("MMM",function(e,t){return t.monthsShortRegex(e)}),Z("MMMM",function(e,t){return t.monthsRegex(e)}),ae(["M","MM"],function(e,t){t[rr]=y(e)-1}),ae(["MMM","MMMM"],function(e,t,a,i){var r=a._locale.monthsParse(e,i,a._strict);null!=r?t[rr]=r:p(a).invalidMonth=e});var hr=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,pr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),mr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),vr=er,gr=er;V("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),V(0,["YY",2],0,function(){return this.year()%100}),V(0,["YYYY",4],0,"year"),V(0,["YYYYY",5],0,"year"),V(0,["YYYYYY",6,!0],0,"year"),P("year","y"),H("year",1),Z("Y",Xi),Z("YY",Wi,Hi),Z("YYYY",Vi,zi),Z("YYYYY",Gi,Ni),Z("YYYYYY",Gi,Ni),ae(["YYYYY","YYYYYY"],ir),ae("YYYY",function(e,a){a[ir]=2===e.length?t.parseTwoDigitYear(e):y(e)}),ae("YY",function(e,a){a[ir]=t.parseTwoDigitYear(e)}),ae("Y",function(e,t){t[ir]=parseInt(e,10)}),t.parseTwoDigitYear=function(e){return y(e)+(y(e)>68?1900:2e3)};var Dr=z("FullYear",!0);V("w",["ww",2],"wo","week"),V("W",["WW",2],"Wo","isoWeek"),P("week","w"),P("isoWeek","W"),H("week",5),H("isoWeek",5),Z("w",Wi),Z("ww",Wi,Hi),Z("W",Wi),Z("WW",Wi,Hi),ie(["w","ww","W","WW"],function(e,t,a,i){t[i.substr(0,1)]=y(e)});var Ir={dow:0,doy:6};V("d",0,"do","day"),V("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),V("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),V("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),V("e",0,0,"weekday"),V("E",0,0,"isoWeekday"),P("day","d"),P("weekday","e"),P("isoWeekday","E"),H("day",11),H("weekday",11),H("isoWeekday",11),Z("d",Wi),Z("e",Wi),Z("E",Wi),Z("dd",function(e,t){return t.weekdaysMinRegex(e)}),Z("ddd",function(e,t){return t.weekdaysShortRegex(e)}),Z("dddd",function(e,t){return t.weekdaysRegex(e)}),ie(["dd","ddd","dddd"],function(e,t,a,i){var r=a._locale.weekdaysParse(e,i,a._strict);null!=r?t.d=r:p(a).invalidWeekday=e}),ie(["d","e","E"],function(e,t,a,i){t[i]=y(e)});var _r="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),yr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),br="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),wr=er,kr=er,Mr=er;V("H",["HH",2],0,"hour"),V("h",["hh",2],0,Be),V("k",["kk",2],0,qe),V("hmm",0,0,function(){return""+Be.apply(this)+U(this.minutes(),2)}),V("hmmss",0,0,function(){return""+Be.apply(this)+U(this.minutes(),2)+U(this.seconds(),2)}),V("Hmm",0,0,function(){return""+this.hours()+U(this.minutes(),2)}),V("Hmmss",0,0,function(){return""+this.hours()+U(this.minutes(),2)+U(this.seconds(),2)}),Ue("a",!0),Ue("A",!1),P("hour","h"),H("hour",13),Z("a",Ve),Z("A",Ve),Z("H",Wi),Z("h",Wi),Z("k",Wi),Z("HH",Wi,Hi),Z("hh",Wi,Hi),Z("kk",Wi,Hi),Z("hmm",Bi),Z("hmmss",qi),Z("Hmm",Bi),Z("Hmmss",qi),ae(["H","HH"],sr),ae(["k","kk"],function(e,t,a){var i=y(e);t[sr]=24===i?0:i}),ae(["a","A"],function(e,t,a){a._isPm=a._locale.isPM(e),a._meridiem=e}),ae(["h","hh"],function(e,t,a){t[sr]=y(e),p(a).bigHour=!0}),ae("hmm",function(e,t,a){var i=e.length-2;t[sr]=y(e.substr(0,i)),t[or]=y(e.substr(i)),p(a).bigHour=!0}),ae("hmmss",function(e,t,a){var i=e.length-4,r=e.length-2;t[sr]=y(e.substr(0,i)),t[or]=y(e.substr(i,2)),t[lr]=y(e.substr(r)),p(a).bigHour=!0}),ae("Hmm",function(e,t,a){var i=e.length-2;t[sr]=y(e.substr(0,i)),t[or]=y(e.substr(i))}),ae("Hmmss",function(e,t,a){var i=e.length-4,r=e.length-2;t[sr]=y(e.substr(0,i)),t[or]=y(e.substr(i,2)),t[lr]=y(e.substr(r))});var xr,Lr=/[ap]\.?m?\.?/i,Tr=z("Hours",!0),Sr={calendar:Ti,longDateFormat:Si,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:Ci,relativeTime:Yi,months:pr,monthsShort:mr,week:Ir,weekdays:_r,weekdaysMin:br,weekdaysShort:yr,meridiemParse:Lr},Cr={},Yr={},Er=/^\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)?)?$/,Ar=/^\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)?)?$/,jr=/Z|[+-]\d\d(?::?\d\d)?/,Or=[["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}/]],Pr=[["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/]],Rr=/^\/?Date\((\-?\d+)/i,Fr=/^((?:Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d?\d\s(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(?:\d\d)?\d\d\s)(\d\d:\d\d)(\:\d\d)?(\s(?:UT|GMT|[ECMP][SD]T|[A-IK-Za-ik-z]|[+-]\d{4}))$/;t.createFromInputFallback=k("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":""))}),t.ISO_8601=function(){},t.RFC_2822=function(){};var Hr=k("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=_t.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()}),$r=k("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=_t.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:v()}),zr=function(){return Date.now?Date.now():+new Date},Nr=["year","quarter","month","week","day","hour","minute","second","millisecond"];Ct("Z",":"),Ct("ZZ",""),Z("Z",Zi),Z("ZZ",Zi),ae(["Z","ZZ"],function(e,t,a){a._useUTC=!0,a._tzm=Yt(Zi,e)});var Wr=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var Br=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,qr=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;qt.fn=Lt.prototype,qt.invalid=xt;var Ur=Jt(1,"add"),Vr=Jt(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Gr=k("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)});V(0,["gg",2],0,function(){return this.weekYear()%100}),V(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Ca("gggg","weekYear"),Ca("ggggg","weekYear"),Ca("GGGG","isoWeekYear"),Ca("GGGGG","isoWeekYear"),P("weekYear","gg"),P("isoWeekYear","GG"),H("weekYear",1),H("isoWeekYear",1),Z("G",Xi),Z("g",Xi),Z("GG",Wi,Hi),Z("gg",Wi,Hi),Z("GGGG",Vi,zi),Z("gggg",Vi,zi),Z("GGGGG",Gi,Ni),Z("ggggg",Gi,Ni),ie(["gggg","ggggg","GGGG","GGGGG"],function(e,t,a,i){t[i.substr(0,2)]=y(e)}),ie(["gg","GG"],function(e,a,i,r){a[r]=t.parseTwoDigitYear(e)}),V("Q",0,"Qo","quarter"),P("quarter","Q"),H("quarter",7),Z("Q",Fi),ae("Q",function(e,t){t[rr]=3*(y(e)-1)}),V("D",["DD",2],"Do","date"),P("date","D"),H("date",9),Z("D",Wi),Z("DD",Wi,Hi),Z("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ae(["D","DD"],nr),ae("Do",function(e,t){t[nr]=y(e.match(Wi)[0],10)});var Jr=z("Date",!0);V("DDD",["DDDD",3],"DDDo","dayOfYear"),P("dayOfYear","DDD"),H("dayOfYear",4),Z("DDD",Ui),Z("DDDD",$i),ae(["DDD","DDDD"],function(e,t,a){a._dayOfYear=y(e)}),V("m",["mm",2],0,"minute"),P("minute","m"),H("minute",14),Z("m",Wi),Z("mm",Wi,Hi),ae(["m","mm"],or);var Xr=z("Minutes",!1);V("s",["ss",2],0,"second"),P("second","s"),H("second",15),Z("s",Wi),Z("ss",Wi,Hi),ae(["s","ss"],lr);var Kr=z("Seconds",!1);V("S",0,0,function(){return~~(this.millisecond()/100)}),V(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),V(0,["SSS",3],0,"millisecond"),V(0,["SSSS",4],0,function(){return 10*this.millisecond()}),V(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),V(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),V(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),V(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),V(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),P("millisecond","ms"),H("millisecond",16),Z("S",Ui,Fi),Z("SS",Ui,Hi),Z("SSS",Ui,$i);var Zr;for(Zr="SSSS";Zr.length<=9;Zr+="S")Z(Zr,Ji);for(Zr="S";Zr.length<=9;Zr+="S")ae(Zr,Ha);var Qr=z("Milliseconds",!1);V("z",0,0,"zoneAbbr"),V("zz",0,0,"zoneName");var en=D.prototype;en.add=Ur,en.calendar=Zt,en.clone=Qt,en.diff=sa,en.endOf=Ia,en.format=ua,en.from=fa,en.fromNow=ha,en.to=pa,en.toNow=ma,en.get=B,en.invalidAt=Ta,en.isAfter=ea,en.isBefore=ta,en.isBetween=aa,en.isSame=ia,en.isSameOrAfter=ra,en.isSameOrBefore=na,en.isValid=xa,en.lang=Gr,en.locale=va,en.localeData=ga,en.max=$r,en.min=Hr,en.parsingFlags=La,en.set=q,en.startOf=Da,en.subtract=Vr,en.toArray=wa,en.toObject=ka,en.toDate=ba,en.toISOString=da,en.inspect=ca,en.toJSON=Ma,en.toString=la,en.unix=ya,en.valueOf=_a,en.creationData=Sa,en.year=Dr,en.isLeapYear=De,en.weekYear=Ya,en.isoWeekYear=Ea,en.quarter=en.quarters=Ra,en.month=ue,en.daysInMonth=fe,en.week=en.weeks=Te,en.isoWeek=en.isoWeeks=Se,en.weeksInYear=ja,en.isoWeeksInYear=Aa,en.date=Jr,en.day=en.days=Re,en.weekday=Fe,en.isoWeekday=He,en.dayOfYear=Fa,en.hour=en.hours=Tr,en.minute=en.minutes=Xr,en.second=en.seconds=Kr,en.millisecond=en.milliseconds=Qr,en.utcOffset=jt,en.utc=Pt,en.local=Rt,en.parseZone=Ft,en.hasAlignedHourOffset=Ht,en.isDST=$t,en.isLocal=Nt,en.isUtcOffset=Wt,en.isUtc=Bt,en.isUTC=Bt,en.zoneAbbr=$a,en.zoneName=za,en.dates=k("dates accessor is deprecated. Use date instead.",Jr),en.months=k("months accessor is deprecated. Use month instead",ue),en.years=k("years accessor is deprecated. Use year instead",Dr),en.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Ot),en.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",zt);var tn=S.prototype;tn.calendar=C,tn.longDateFormat=Y,tn.invalidDate=E,tn.ordinal=A,tn.preparse=Ba,tn.postformat=Ba,tn.relativeTime=j,tn.pastFuture=O,tn.set=L,tn.months=se,tn.monthsShort=oe,tn.monthsParse=de,tn.monthsRegex=pe,tn.monthsShortRegex=he,tn.week=Me,tn.firstDayOfYear=Le,tn.firstDayOfWeek=xe,tn.weekdays=Ee,tn.weekdaysMin=je,tn.weekdaysShort=Ae,tn.weekdaysParse=Pe,tn.weekdaysRegex=$e,tn.weekdaysShortRegex=ze,tn.weekdaysMinRegex=Ne,tn.isPM=Ge,tn.meridiem=Je,Qe("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===y(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),t.lang=k("moment.lang is deprecated. Use moment.locale instead.",Qe),t.langData=k("moment.langData is deprecated. Use moment.localeData instead.",at);var an=Math.abs,rn=di("ms"),nn=di("s"),sn=di("m"),on=di("h"),ln=di("d"),dn=di("w"),cn=di