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