UNPKG

vue-ctk-date-time-picker

Version:
1 lines 312 kB
(function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VueCtkDateTimePicker=t():e.VueCtkDateTimePicker=t()})("undefined"!=typeof self?self:this,function(){return function(e){function t(a){if(n[a])return n[a].exports;var s=n[a]={i:a,l:!1,exports:{}};return e[a].call(s.exports,s,s.exports,t),s.l=!0,s.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,a){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:a})},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(t.s=158)}([function(e,t,n){(function(e){(function(t,n){e.exports=n()})(0,function(){"use strict";function t(){return Sa.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function r(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}function i(e){return void 0===e}function d(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function o(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function _(e,t){var n,a=[];for(n=0;n<e.length;++n)a.push(t(e[n],n));return a}function u(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function m(e,t){for(var n in t)u(t,n)&&(e[n]=t[n]);return u(t,"toString")&&(e.toString=t.toString),u(t,"valueOf")&&(e.valueOf=t.valueOf),e}function l(e,t,n,a){return Tt(e,t,n,a,!0).utc()}function c(){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 h(e){return null==e._pf&&(e._pf=c()),e._pf}function M(e){if(null==e._isValid){var t=h(e),n=Ha.call(t.parsedDateParts,function(e){return null!=e}),a=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(a=a&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return a;e._isValid=a}return e._isValid}function f(e){var t=l(NaN);return null!=e?m(h(t),e):h(t).userInvalidated=!0,t}function y(e,t){var n,a,s;if(i(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),i(t._i)||(e._i=t._i),i(t._f)||(e._f=t._f),i(t._l)||(e._l=t._l),i(t._strict)||(e._strict=t._strict),i(t._tzm)||(e._tzm=t._tzm),i(t._isUTC)||(e._isUTC=t._isUTC),i(t._offset)||(e._offset=t._offset),i(t._pf)||(e._pf=h(t)),i(t._locale)||(e._locale=t._locale),ja.length>0)for(n=0;n<ja.length;n++)a=ja[n],s=t[a],i(s)||(e[a]=s);return e}function L(e){y(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===xa&&(xa=!0,t.updateOffset(this),xa=!1)}function Y(e){return e instanceof L||null!=e&&null!=e._isAMomentObject}function p(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function k(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=p(t)),n}function D(e,t,n){var a,s=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),i=0;for(a=0;a<s;a++)(n&&e[a]!==t[a]||!n&&k(e[a])!==k(t[a]))&&i++;return i+r}function g(e){!1===t.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function v(e,n){var a=!0;return m(function(){if(null!=t.deprecationHandler&&t.deprecationHandler(null,e),a){for(var s,r=[],i=0;i<arguments.length;i++){if(s="","object"==typeof arguments[i]){s+="\n["+i+"] ";for(var d in arguments[0])s+=d+": "+arguments[0][d]+", ";s=s.slice(0,-2)}else s=arguments[i];r.push(s)}g(e+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new Error).stack),a=!1}return n.apply(this,arguments)},n)}function T(e,n){null!=t.deprecationHandler&&t.deprecationHandler(e,n),Oa[e]||(g(n),Oa[e]=!0)}function w(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function b(e){var t,n;for(n in e)t=e[n],w(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 S(e,t){var n,a=m({},e);for(n in t)u(t,n)&&(s(e[n])&&s(t[n])?(a[n]={},m(a[n],e[n]),m(a[n],t[n])):null!=t[n]?a[n]=t[n]:delete a[n]);for(n in e)u(e,n)&&!u(t,n)&&s(e[n])&&(a[n]=m({},a[n]));return a}function H(e){null!=e&&this.set(e)}function j(e,t,n){var a=this._calendar[e]||this._calendar.sameElse;return w(a)?a.call(t,n):a}function x(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 O(){return this._invalidDate}function P(e){return this._ordinal.replace("%d",e)}function W(e,t,n,a){var s=this._relativeTime[n];return w(s)?s(e,t,n,a):s.replace(/%d/i,e)}function E(e,t){var n=this._relativeTime[e>0?"future":"past"];return w(n)?n(t):n.replace(/%s/i,t)}function F(e,t){var n=e.toLowerCase();za[n]=za[n+"s"]=za[t]=e}function A(e){return"string"==typeof e?za[e]||za[e.toLowerCase()]:void 0}function z(e){var t,n,a={};for(n in e)u(e,n)&&(t=A(n))&&(a[t]=e[n]);return a}function C(e,t){Ca[e]=t}function J(e){var t=[];for(var n in e)t.push({unit:n,priority:Ca[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function N(e,t,n){var a=""+Math.abs(e),s=t-a.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,s)).toString().substr(1)+a}function I(e,t,n,a){var s=a;"string"==typeof a&&(s=function(){return this[a]()}),e&&(Ra[e]=s),t&&(Ra[t[0]]=function(){return N(s.apply(this,arguments),t[1],t[2])}),n&&(Ra[n]=function(){return this.localeData().ordinal(s.apply(this,arguments),e)})}function R(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function U(e){var t,n,a=e.match(Ja);for(t=0,n=a.length;t<n;t++)Ra[a[t]]?a[t]=Ra[a[t]]:a[t]=R(a[t]);return function(t){var s,r="";for(s=0;s<n;s++)r+=w(a[s])?a[s].call(t,e):a[s];return r}}function V(e,t){return e.isValid()?(t=G(t,e.localeData()),Ia[t]=Ia[t]||U(t),Ia[t](e)):e.localeData().invalidDate()}function G(e,t){function n(e){return t.longDateFormat(e)||e}var a=5;for(Na.lastIndex=0;a>=0&&Na.test(e);)e=e.replace(Na,n),Na.lastIndex=0,a-=1;return e}function $(e,t,n){ds[e]=w(t)?t:function(e,a){return e&&n?n:t}}function B(e,t){return u(ds,e)?ds[e](t._strict,t._locale):new RegExp(K(e))}function K(e){return Z(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,a,s){return t||n||a||s}))}function Z(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function q(e,t){var n,a=t;for("string"==typeof e&&(e=[e]),d(t)&&(a=function(e,n){n[t]=k(e)}),n=0;n<e.length;n++)os[e[n]]=a}function Q(e,t){q(e,function(e,n,a,s){a._w=a._w||{},t(e,a._w,a,s)})}function X(e,t,n){null!=t&&u(os,e)&&os[e](t,n._a,n,e)}function ee(e){return te(e)?366:365}function te(e){return e%4==0&&e%100!=0||e%400==0}function ne(){return te(this.year())}function ae(e,n){return function(a){return null!=a?(re(this,e,a),t.updateOffset(this,n),this):se(this,e)}}function se(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function re(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&te(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),_e(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function ie(e){return e=A(e),w(this[e])?this[e]():this}function de(e,t){if("object"==typeof e){e=z(e);for(var n=J(e),a=0;a<n.length;a++)this[n[a].unit](e[n[a].unit])}else if(e=A(e),w(this[e]))return this[e](t);return this}function oe(e,t){return(e%t+t)%t}function _e(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=oe(t,12);return e+=(t-n)/12,1===n?te(e)?29:28:31-n%7%2}function ue(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ps).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone}function me(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ps.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function le(e,t,n){var a,s,r,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],a=0;a<12;++a)r=l([2e3,a]),this._shortMonthsParse[a]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[a]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?(s=Ls.call(this._shortMonthsParse,i),-1!==s?s:null):(s=Ls.call(this._longMonthsParse,i),-1!==s?s:null):"MMM"===t?-1!==(s=Ls.call(this._shortMonthsParse,i))?s:(s=Ls.call(this._longMonthsParse,i),-1!==s?s:null):-1!==(s=Ls.call(this._longMonthsParse,i))?s:(s=Ls.call(this._shortMonthsParse,i),-1!==s?s:null)}function ce(e,t,n){var a,s,r;if(this._monthsParseExact)return le.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),a=0;a<12;a++){if(s=l([2e3,a]),n&&!this._longMonthsParse[a]&&(this._longMonthsParse[a]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[a]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),n||this._monthsParse[a]||(r="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[a]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[a].test(e))return a;if(n&&"MMM"===t&&this._shortMonthsParse[a].test(e))return a;if(!n&&this._monthsParse[a].test(e))return a}}function he(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=k(t);else if(t=e.localeData().monthsParse(t),!d(t))return e;return n=Math.min(e.date(),_e(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Me(e){return null!=e?(he(this,e),t.updateOffset(this,!0),this):se(this,"Month")}function fe(){return _e(this.year(),this.month())}function ye(e){return this._monthsParseExact?(u(this,"_monthsRegex")||Ye.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=gs),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Le(e){return this._monthsParseExact?(u(this,"_monthsRegex")||Ye.call(this),e?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=vs),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Ye(){function e(e,t){return t.length-e.length}var t,n,a=[],s=[],r=[];for(t=0;t<12;t++)n=l([2e3,t]),a.push(this.monthsShort(n,"")),s.push(this.months(n,"")),r.push(this.months(n,"")),r.push(this.monthsShort(n,""));for(a.sort(e),s.sort(e),r.sort(e),t=0;t<12;t++)a[t]=Z(a[t]),s[t]=Z(s[t]);for(t=0;t<24;t++)r[t]=Z(r[t]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+a.join("|")+")","i")}function pe(e,t,n,a,s,r,i){var d=new Date(e,t,n,a,s,r,i);return e<100&&e>=0&&isFinite(d.getFullYear())&&d.setFullYear(e),d}function ke(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function De(e,t,n){var a=7+t-n;return-(7+ke(e,0,a).getUTCDay()-t)%7+a-1}function ge(e,t,n,a,s){var r,i,d=(7+n-a)%7,o=De(e,a,s),_=1+7*(t-1)+d+o;return _<=0?(r=e-1,i=ee(r)+_):_>ee(e)?(r=e+1,i=_-ee(e)):(r=e,i=_),{year:r,dayOfYear:i}}function ve(e,t,n){var a,s,r=De(e.year(),t,n),i=Math.floor((e.dayOfYear()-r-1)/7)+1;return i<1?(s=e.year()-1,a=i+Te(s,t,n)):i>Te(e.year(),t,n)?(a=i-Te(e.year(),t,n),s=e.year()+1):(s=e.year(),a=i),{week:a,year:s}}function Te(e,t,n){var a=De(e,t,n),s=De(e+1,t,n);return(ee(e)-a+s)/7}function we(e){return ve(e,this._week.dow,this._week.doy).week}function be(){return this._week.dow}function Se(){return this._week.doy}function He(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function je(e){var t=ve(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function xe(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Oe(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Pe(e,t){return e?a(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:a(this._weekdays)?this._weekdays:this._weekdays.standalone}function We(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ee(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Fe(e,t,n){var a,s,r,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],a=0;a<7;++a)r=l([2e3,1]).day(a),this._minWeekdaysParse[a]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[a]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[a]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?(s=Ls.call(this._weekdaysParse,i),-1!==s?s:null):"ddd"===t?(s=Ls.call(this._shortWeekdaysParse,i),-1!==s?s:null):(s=Ls.call(this._minWeekdaysParse,i),-1!==s?s:null):"dddd"===t?-1!==(s=Ls.call(this._weekdaysParse,i))?s:-1!==(s=Ls.call(this._shortWeekdaysParse,i))?s:(s=Ls.call(this._minWeekdaysParse,i),-1!==s?s:null):"ddd"===t?-1!==(s=Ls.call(this._shortWeekdaysParse,i))?s:-1!==(s=Ls.call(this._weekdaysParse,i))?s:(s=Ls.call(this._minWeekdaysParse,i),-1!==s?s:null):-1!==(s=Ls.call(this._minWeekdaysParse,i))?s:-1!==(s=Ls.call(this._weekdaysParse,i))?s:(s=Ls.call(this._shortWeekdaysParse,i),-1!==s?s:null)}function Ae(e,t,n){var a,s,r;if(this._weekdaysParseExact)return Fe.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),a=0;a<7;a++){if(s=l([2e3,1]).day(a),n&&!this._fullWeekdaysParse[a]&&(this._fullWeekdaysParse[a]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[a]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[a]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[a]||(r="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[a]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[a].test(e))return a;if(n&&"ddd"===t&&this._shortWeekdaysParse[a].test(e))return a;if(n&&"dd"===t&&this._minWeekdaysParse[a].test(e))return a;if(!n&&this._weekdaysParse[a].test(e))return a}}function ze(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=xe(e,this.localeData()),this.add(e-t,"d")):t}function Ce(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 Je(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Oe(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Ne(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Ue.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=Hs),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ie(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Ue.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=js),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Re(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Ue.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=xs),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ue(){function e(e,t){return t.length-e.length}var t,n,a,s,r,i=[],d=[],o=[],_=[];for(t=0;t<7;t++)n=l([2e3,1]).day(t),a=this.weekdaysMin(n,""),s=this.weekdaysShort(n,""),r=this.weekdays(n,""),i.push(a),d.push(s),o.push(r),_.push(a),_.push(s),_.push(r);for(i.sort(e),d.sort(e),o.sort(e),_.sort(e),t=0;t<7;t++)d[t]=Z(d[t]),o[t]=Z(o[t]),_[t]=Z(_[t]);this._weekdaysRegex=new RegExp("^("+_.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Ve(){return this.hours()%12||12}function Ge(){return this.hours()||24}function $e(e,t){I(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Be(e,t){return t._meridiemParse}function Ke(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ze(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function qe(e){return e?e.toLowerCase().replace("_","-"):e}function Qe(e){for(var t,n,a,s,r=0;r<e.length;){for(s=qe(e[r]).split("-"),t=s.length,n=qe(e[r+1]),n=n?n.split("-"):null;t>0;){if(a=Xe(s.slice(0,t).join("-")))return a;if(n&&n.length>=t&&D(s,n,!0)>=t-1)break;t--}r++}return Os}function Xe(t){var a=null;if(!Fs[t]&&void 0!==e&&e&&e.exports)try{a=Os._abbr;n(162)("./"+t),et(a)}catch(e){}return Fs[t]}function et(e,t){var n;return e&&(n=i(t)?at(e):tt(e,t),n?Os=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Os._abbr}function tt(e,t){if(null!==t){var n,a=Es;if(t.abbr=e,null!=Fs[e])T("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=Fs[e]._config;else if(null!=t.parentLocale)if(null!=Fs[t.parentLocale])a=Fs[t.parentLocale]._config;else{if(null==(n=Xe(t.parentLocale)))return As[t.parentLocale]||(As[t.parentLocale]=[]),As[t.parentLocale].push({name:e,config:t}),null;a=n._config}return Fs[e]=new H(S(a,t)),As[e]&&As[e].forEach(function(e){tt(e.name,e.config)}),et(e),Fs[e]}return delete Fs[e],null}function nt(e,t){if(null!=t){var n,a,s=Es;a=Xe(e),null!=a&&(s=a._config),t=S(s,t),n=new H(t),n.parentLocale=Fs[e],Fs[e]=n,et(e)}else null!=Fs[e]&&(null!=Fs[e].parentLocale?Fs[e]=Fs[e].parentLocale:null!=Fs[e]&&delete Fs[e]);return Fs[e]}function at(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Os;if(!a(e)){if(t=Xe(e))return t;e=[e]}return Qe(e)}function st(){return Pa(Fs)}function rt(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[us]<0||n[us]>11?us:n[ms]<1||n[ms]>_e(n[_s],n[us])?ms:n[ls]<0||n[ls]>24||24===n[ls]&&(0!==n[cs]||0!==n[hs]||0!==n[Ms])?ls:n[cs]<0||n[cs]>59?cs:n[hs]<0||n[hs]>59?hs:n[Ms]<0||n[Ms]>999?Ms:-1,h(e)._overflowDayOfYear&&(t<_s||t>ms)&&(t=ms),h(e)._overflowWeeks&&-1===t&&(t=fs),h(e)._overflowWeekday&&-1===t&&(t=ys),h(e).overflow=t),e}function it(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 ot(e){var t,n,a,s,r,i=[];if(!e._d){for(a=dt(e),e._w&&null==e._a[ms]&&null==e._a[us]&&_t(e),null!=e._dayOfYear&&(r=it(e._a[_s],a[_s]),(e._dayOfYear>ee(r)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),n=ke(r,0,e._dayOfYear),e._a[us]=n.getUTCMonth(),e._a[ms]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=i[t]=a[t];for(;t<7;t++)e._a[t]=i[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ls]&&0===e._a[cs]&&0===e._a[hs]&&0===e._a[Ms]&&(e._nextDay=!0,e._a[ls]=0),e._d=(e._useUTC?ke:pe).apply(null,i),s=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ls]=24),e._w&&void 0!==e._w.d&&e._w.d!==s&&(h(e).weekdayMismatch=!0)}}function _t(e){var t,n,a,s,r,i,d,o;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)r=1,i=4,n=it(t.GG,e._a[_s],ve(wt(),1,4).year),a=it(t.W,1),((s=it(t.E,1))<1||s>7)&&(o=!0);else{r=e._locale._week.dow,i=e._locale._week.doy;var _=ve(wt(),r,i);n=it(t.gg,e._a[_s],_.year),a=it(t.w,_.week),null!=t.d?((s=t.d)<0||s>6)&&(o=!0):null!=t.e?(s=t.e+r,(t.e<0||t.e>6)&&(o=!0)):s=r}a<1||a>Te(n,r,i)?h(e)._overflowWeeks=!0:null!=o?h(e)._overflowWeekday=!0:(d=ge(n,a,s,r,i),e._a[_s]=d.year,e._dayOfYear=d.dayOfYear)}function ut(e){var t,n,a,s,r,i,d=e._i,o=zs.exec(d)||Cs.exec(d);if(o){for(h(e).iso=!0,t=0,n=Ns.length;t<n;t++)if(Ns[t][1].exec(o[1])){s=Ns[t][0],a=!1!==Ns[t][2];break}if(null==s)return void(e._isValid=!1);if(o[3]){for(t=0,n=Is.length;t<n;t++)if(Is[t][1].exec(o[3])){r=(o[2]||" ")+Is[t][0];break}if(null==r)return void(e._isValid=!1)}if(!a&&null!=r)return void(e._isValid=!1);if(o[4]){if(!Js.exec(o[4]))return void(e._isValid=!1);i="Z"}e._f=s+(r||"")+(i||""),Lt(e)}else e._isValid=!1}function mt(e,t,n,a,s,r){var i=[lt(e),Ds.indexOf(t),parseInt(n,10),parseInt(a,10),parseInt(s,10)];return r&&i.push(parseInt(r,10)),i}function lt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function ct(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function ht(e,t,n){if(e){if(bs.indexOf(e)!==new Date(t[0],t[1],t[2]).getDay())return h(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function Mt(e,t,n){if(e)return Vs[e];if(t)return 0;var a=parseInt(n,10),s=a%100;return(a-s)/100*60+s}function ft(e){var t=Us.exec(ct(e._i));if(t){var n=mt(t[4],t[3],t[2],t[5],t[6],t[7]);if(!ht(t[1],n,e))return;e._a=n,e._tzm=Mt(t[8],t[9],t[10]),e._d=ke.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),h(e).rfc2822=!0}else e._isValid=!1}function yt(e){var n=Rs.exec(e._i);if(null!==n)return void(e._d=new Date(+n[1]));ut(e),!1===e._isValid&&(delete e._isValid,ft(e),!1===e._isValid&&(delete e._isValid,t.createFromInputFallback(e)))}function Lt(e){if(e._f===t.ISO_8601)return void ut(e);if(e._f===t.RFC_2822)return void ft(e);e._a=[],h(e).empty=!0;var n,a,s,r,i,d=""+e._i,o=d.length,_=0;for(s=G(e._f,e._locale).match(Ja)||[],n=0;n<s.length;n++)r=s[n],a=(d.match(B(r,e))||[])[0],a&&(i=d.substr(0,d.indexOf(a)),i.length>0&&h(e).unusedInput.push(i),d=d.slice(d.indexOf(a)+a.length),_+=a.length),Ra[r]?(a?h(e).empty=!1:h(e).unusedTokens.push(r),X(r,a,e)):e._strict&&!a&&h(e).unusedTokens.push(r);h(e).charsLeftOver=o-_,d.length>0&&h(e).unusedInput.push(d),e._a[ls]<=12&&!0===h(e).bigHour&&e._a[ls]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[ls]=Yt(e._locale,e._a[ls],e._meridiem),ot(e),rt(e)}function Yt(e,t,n){var a;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(a=e.isPM(n),a&&t<12&&(t+=12),a||12!==t||(t=0),t):t}function pt(e){var t,n,a,s,r;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(s=0;s<e._f.length;s++)r=0,t=y({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[s],Lt(t),M(t)&&(r+=h(t).charsLeftOver,r+=10*h(t).unusedTokens.length,h(t).score=r,(null==a||r<a)&&(a=r,n=t));m(e,n||t)}function kt(e){if(!e._d){var t=z(e._i);e._a=_([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),ot(e)}}function Dt(e){var t=new L(rt(gt(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function gt(e){var t=e._i,n=e._f;return e._locale=e._locale||at(e._l),null===t||void 0===n&&""===t?f({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),Y(t)?new L(rt(t)):(o(t)?e._d=t:a(n)?pt(e):n?Lt(e):vt(e),M(e)||(e._d=null),e))}function vt(e){var n=e._i;i(n)?e._d=new Date(t.now()):o(n)?e._d=new Date(n.valueOf()):"string"==typeof n?yt(e):a(n)?(e._a=_(n.slice(0),function(e){return parseInt(e,10)}),ot(e)):s(n)?kt(e):d(n)?e._d=new Date(n):t.createFromInputFallback(e)}function Tt(e,t,n,i,d){var o={};return!0!==n&&!1!==n||(i=n,n=void 0),(s(e)&&r(e)||a(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=d,o._l=n,o._i=e,o._f=t,o._strict=i,Dt(o)}function wt(e,t,n,a){return Tt(e,t,n,a,!1)}function bt(e,t){var n,s;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return wt();for(n=t[0],s=1;s<t.length;++s)t[s].isValid()&&!t[s][e](n)||(n=t[s]);return n}function St(){return bt("isBefore",[].slice.call(arguments,0))}function Ht(){return bt("isAfter",[].slice.call(arguments,0))}function jt(e){for(var t in e)if(-1===Ls.call(Ks,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,a=0;a<Ks.length;++a)if(e[Ks[a]]){if(n)return!1;parseFloat(e[Ks[a]])!==k(e[Ks[a]])&&(n=!0)}return!0}function xt(){return this._isValid}function Ot(){return qt(NaN)}function Pt(e){var t=z(e),n=t.year||0,a=t.quarter||0,s=t.month||0,r=t.week||0,i=t.day||0,d=t.hour||0,o=t.minute||0,_=t.second||0,u=t.millisecond||0;this._isValid=jt(t),this._milliseconds=+u+1e3*_+6e4*o+1e3*d*60*60,this._days=+i+7*r,this._months=+s+3*a+12*n,this._data={},this._locale=at(),this._bubble()}function Wt(e){return e instanceof Pt}function Et(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ft(e,t){I(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+N(~~(e/60),2)+t+N(~~e%60,2)})}function At(e,t){var n=(t||"").match(e);if(null===n)return null;var a=n[n.length-1]||[],s=(a+"").match(Zs)||["-",0,0],r=60*s[1]+k(s[2]);return 0===r?0:"+"===s[0]?r:-r}function zt(e,n){var a,s;return n._isUTC?(a=n.clone(),s=(Y(e)||o(e)?e.valueOf():wt(e).valueOf())-a.valueOf(),a._d.setTime(a._d.valueOf()+s),t.updateOffset(a,!1),a):wt(e).local()}function Ct(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Jt(e,n,a){var s,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=At(ss,e)))return this}else Math.abs(e)<16&&!a&&(e*=60);return!this._isUTC&&n&&(s=Ct(this)),this._offset=e,this._isUTC=!0,null!=s&&this.add(s,"m"),r!==e&&(!n||this._changeInProgress?nn(this,qt(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:Ct(this)}function Nt(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function It(e){return this.utcOffset(0,e)}function Rt(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ct(this),"m")),this}function Ut(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=At(as,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Vt(e){return!!this.isValid()&&(e=e?wt(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function Gt(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function $t(){if(!i(this._isDSTShifted))return this._isDSTShifted;var e={};if(y(e,this),e=gt(e),e._a){var t=e._isUTC?l(e._a):wt(e._a);this._isDSTShifted=this.isValid()&&D(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Bt(){return!!this.isValid()&&!this._isUTC}function Kt(){return!!this.isValid()&&this._isUTC}function Zt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function qt(e,t){var n,a,s,r=e,i=null;return Wt(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:d(e)?(r={},t?r[t]=e:r.milliseconds=e):(i=qs.exec(e))?(n="-"===i[1]?-1:1,r={y:0,d:k(i[ms])*n,h:k(i[ls])*n,m:k(i[cs])*n,s:k(i[hs])*n,ms:k(Et(1e3*i[Ms]))*n}):(i=Qs.exec(e))?(n="-"===i[1]?-1:(i[1],1),r={y:Qt(i[2],n),M:Qt(i[3],n),w:Qt(i[4],n),d:Qt(i[5],n),h:Qt(i[6],n),m:Qt(i[7],n),s:Qt(i[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(s=en(wt(r.from),wt(r.to)),r={},r.ms=s.milliseconds,r.M=s.months),a=new Pt(r),Wt(e)&&u(e,"_locale")&&(a._locale=e._locale),a}function Qt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Xt(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 en(e,t){var n;return e.isValid()&&t.isValid()?(t=zt(t,e),e.isBefore(t)?n=Xt(e,t):(n=Xt(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function tn(e,t){return function(n,a){var s,r;return null===a||isNaN(+a)||(T(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."),r=n,n=a,a=r),n="string"==typeof n?+n:n,s=qt(n,a),nn(this,s,e),this}}function nn(e,n,a,s){var r=n._milliseconds,i=Et(n._days),d=Et(n._months);e.isValid()&&(s=null==s||s,d&&he(e,se(e,"Month")+d*a),i&&re(e,"Date",se(e,"Date")+i*a),r&&e._d.setTime(e._d.valueOf()+r*a),s&&t.updateOffset(e,i||d))}function an(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 sn(e,n){var a=e||wt(),s=zt(a,this).startOf("day"),r=t.calendarFormat(this,s)||"sameElse",i=n&&(w(n[r])?n[r].call(this,a):n[r]);return this.format(i||this.localeData().calendar(r,this,wt(a)))}function rn(){return new L(this)}function dn(e,t){var n=Y(e)?e:wt(e);return!(!this.isValid()||!n.isValid())&&(t=A(i(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function on(e,t){var n=Y(e)?e:wt(e);return!(!this.isValid()||!n.isValid())&&(t=A(i(t)?"millisecond":t),"millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function _n(e,t,n,a){return a=a||"()",("("===a[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===a[1]?this.isBefore(t,n):!this.isAfter(t,n))}function un(e,t){var n,a=Y(e)?e:wt(e);return!(!this.isValid()||!a.isValid())&&(t=A(t||"millisecond"),"millisecond"===t?this.valueOf()===a.valueOf():(n=a.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function mn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function ln(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function cn(e,t,n){var a,s,r;if(!this.isValid())return NaN;if(a=zt(e,this),!a.isValid())return NaN;switch(s=6e4*(a.utcOffset()-this.utcOffset()),t=A(t)){case"year":r=hn(this,a)/12;break;case"month":r=hn(this,a);break;case"quarter":r=hn(this,a)/3;break;case"second":r=(this-a)/1e3;break;case"minute":r=(this-a)/6e4;break;case"hour":r=(this-a)/36e5;break;case"day":r=(this-a-s)/864e5;break;case"week":r=(this-a-s)/6048e5;break;default:r=this-a}return n?r:p(r)}function hn(e,t){var n,a,s=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(s,"months");return t-r<0?(n=e.clone().add(s-1,"months"),a=(t-r)/(r-n)):(n=e.clone().add(s+1,"months"),a=(t-r)/(n-r)),-(s+a)||0}function Mn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function fn(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?V(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):w(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",V(n,"Z")):V(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function yn(){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+'("]',a=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",s=t+'[")]';return this.format(n+a+"-MM-DD[T]HH:mm:ss.SSS"+s)}function Ln(e){e||(e=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var n=V(this,e);return this.localeData().postformat(n)}function Yn(e,t){return this.isValid()&&(Y(e)&&e.isValid()||wt(e).isValid())?qt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function pn(e){return this.from(wt(),e)}function kn(e,t){return this.isValid()&&(Y(e)&&e.isValid()||wt(e).isValid())?qt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Dn(e){return this.to(wt(),e)}function gn(e){var t;return void 0===e?this._locale._abbr:(t=at(e),null!=t&&(this._locale=t),this)}function vn(){return this._locale}function Tn(e){switch(e=A(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 wn(e){return void 0===(e=A(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function bn(){return this._d.valueOf()-6e4*(this._offset||0)}function Sn(){return Math.floor(this.valueOf()/1e3)}function Hn(){return new Date(this.valueOf())}function jn(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function xn(){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 On(){return this.isValid()?this.toISOString():null}function Pn(){return M(this)}function Wn(){return m({},h(this))}function En(){return h(this).overflow}function Fn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function An(e,t){I(0,[e,e.length],0,t)}function zn(e){return In.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Cn(e){return In.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Jn(){return Te(this.year(),1,4)}function Nn(){var e=this.localeData()._week;return Te(this.year(),e.dow,e.doy)}function In(e,t,n,a,s){var r;return null==e?ve(this,a,s).year:(r=Te(e,a,s),t>r&&(t=r),Rn.call(this,e,t,n,a,s))}function Rn(e,t,n,a,s){var r=ge(e,t,n,a,s),i=ke(r.year,0,r.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}function Un(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Vn(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 Gn(e,t){t[Ms]=k(1e3*("0."+e))}function $n(){return this._isUTC?"UTC":""}function Bn(){return this._isUTC?"Coordinated Universal Time":""}function Kn(e){return wt(1e3*e)}function Zn(){return wt.apply(null,arguments).parseZone()}function qn(e){return e}function Qn(e,t,n,a){var s=at(),r=l().set(a,t);return s[n](r,e)}function Xn(e,t,n){if(d(e)&&(t=e,e=void 0),e=e||"",null!=t)return Qn(e,t,n,"month");var a,s=[];for(a=0;a<12;a++)s[a]=Qn(e,a,n,"month");return s}function ea(e,t,n,a){"boolean"==typeof e?(d(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,d(t)&&(n=t,t=void 0),t=t||"");var s=at(),r=e?s._week.dow:0;if(null!=n)return Qn(t,(n+r)%7,a,"day");var i,o=[];for(i=0;i<7;i++)o[i]=Qn(t,(i+r)%7,a,"day");return o}function ta(e,t){return Xn(e,t,"months")}function na(e,t){return Xn(e,t,"monthsShort")}function aa(e,t,n){return ea(e,t,n,"weekdays")}function sa(e,t,n){return ea(e,t,n,"weekdaysShort")}function ra(e,t,n){return ea(e,t,n,"weekdaysMin")}function ia(){var e=this._data;return this._milliseconds=_r(this._milliseconds),this._days=_r(this._days),this._months=_r(this._months),e.milliseconds=_r(e.milliseconds),e.seconds=_r(e.seconds),e.minutes=_r(e.minutes),e.hours=_r(e.hours),e.months=_r(e.months),e.years=_r(e.years),this}function da(e,t,n,a){var s=qt(t,n);return e._milliseconds+=a*s._milliseconds,e._days+=a*s._days,e._months+=a*s._months,e._bubble()}function oa(e,t){return da(this,e,t,1)}function _a(e,t){return da(this,e,t,-1)}function ua(e){return e<0?Math.floor(e):Math.ceil(e)}function ma(){var e,t,n,a,s,r=this._milliseconds,i=this._days,d=this._months,o=this._data;return r>=0&&i>=0&&d>=0||r<=0&&i<=0&&d<=0||(r+=864e5*ua(ca(d)+i),i=0,d=0),o.milliseconds=r%1e3,e=p(r/1e3),o.seconds=e%60,t=p(e/60),o.minutes=t%60,n=p(t/60),o.hours=n%24,i+=p(n/24),s=p(la(i)),d+=s,i-=ua(ca(s)),a=p(d/12),d%=12,o.days=i,o.months=d,o.years=a,this}function la(e){return 4800*e/146097}function ca(e){return 146097*e/4800}function ha(e){if(!this.isValid())return NaN;var t,n,a=this._milliseconds;if("month"===(e=A(e))||"year"===e)return t=this._days+a/864e5,n=this._months+la(t),"month"===e?n:n/12;switch(t=this._days+Math.round(ca(this._months)),e){case"week":return t/7+a/6048e5;case"day":return t+a/864e5;case"hour":return 24*t+a/36e5;case"minute":return 1440*t+a/6e4;case"second":return 86400*t+a/1e3;case"millisecond":return Math.floor(864e5*t)+a;default:throw new Error("Unknown unit "+e)}}function Ma(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*k(this._months/12):NaN}function fa(e){return function(){return this.as(e)}}function ya(){return qt(this)}function La(e){return e=A(e),this.isValid()?this[e+"s"]():NaN}function Ya(e){return function(){return this.isValid()?this._data[e]:NaN}}function pa(){return p(this.days()/7)}function ka(e,t,n,a,s){return s.relativeTime(t||1,!!n,e,a)}function Da(e,t,n){var a=qt(e).abs(),s=Tr(a.as("s")),r=Tr(a.as("m")),i=Tr(a.as("h")),d=Tr(a.as("d")),o=Tr(a.as("M")),_=Tr(a.as("y")),u=s<=wr.ss&&["s",s]||s<wr.s&&["ss",s]||r<=1&&["m"]||r<wr.m&&["mm",r]||i<=1&&["h"]||i<wr.h&&["hh",i]||d<=1&&["d"]||d<wr.d&&["dd",d]||o<=1&&["M"]||o<wr.M&&["MM",o]||_<=1&&["y"]||["yy",_];return u[2]=t,u[3]=+e>0,u[4]=n,ka.apply(null,u)}function ga(e){return void 0===e?Tr:"function"==typeof e&&(Tr=e,!0)}function va(e,t){return void 0!==wr[e]&&(void 0===t?wr[e]:(wr[e]=t,"s"===e&&(wr.ss=t-1),!0))}function Ta(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=Da(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function wa(e){return(e>0)-(e<0)||+e}function ba(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,a=br(this._milliseconds)/1e3,s=br(this._days),r=br(this._months);e=p(a/60),t=p(e/60),a%=60,e%=60,n=p(r/12),r%=12;var i=n,d=r,o=s,_=t,u=e,m=a?a.toFixed(3).replace(/\.?0+$/,""):"",l=this.asSeconds();if(!l)return"P0D";var c=l<0?"-":"",h=wa(this._months)!==wa(l)?"-":"",M=wa(this._days)!==wa(l)?"-":"",f=wa(this._milliseconds)!==wa(l)?"-":"";return c+"P"+(i?h+i+"Y":"")+(d?h+d+"M":"")+(o?M+o+"D":"")+(_||u||m?"T":"")+(_?f+_+"H":"")+(u?f+u+"M":"")+(m?f+m+"S":"")}var Sa,Ha;Ha=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,a=0;a<n;a++)if(a in t&&e.call(this,t[a],a,t))return!0;return!1};var ja=t.momentProperties=[],xa=!1,Oa={};t.suppressDeprecationWarnings=!1,t.deprecationHandler=null;var Pa;Pa=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)u(e,t)&&n.push(t);return n};var Wa={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Ea={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"},Fa=/\d{1,2}/,Aa={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"},za={},Ca={},Ja=/(\[[^\[]*\])|(\\)?([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,Na=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ia={},Ra={},Ua=/\d/,Va=/\d\d/,Ga=/\d{3}/,$a=/\d{4}/,Ba=/[+-]?\d{6}/,Ka=/\d\d?/,Za=/\d\d\d\d?/,qa=/\d\d\d\d\d\d?/,Qa=/\d{1,3}/,Xa=/\d{1,4}/,es=/[+-]?\d{1,6}/,ts=/\d+/,ns=/[+-]?\d+/,as=/Z|[+-]\d\d:?\d\d/gi,ss=/Z|[+-]\d\d(?::?\d\d)?/gi,rs=/[+-]?\d+(\.\d{1,3})?/,is=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ds={},os={},_s=0,us=1,ms=2,ls=3,cs=4,hs=5,Ms=6,fs=7,ys=8;I("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),I(0,["YY",2],0,function(){return this.year()%100}),I(0,["YYYY",4],0,"year"),I(0,["YYYYY",5],0,"year"),I(0,["YYYYYY",6,!0],0,"year"),F("year","y"),C("year",1),$("Y",ns),$("YY",Ka,Va),$("YYYY",Xa,$a),$("YYYYY",es,Ba),$("YYYYYY",es,Ba),q(["YYYYY","YYYYYY"],_s),q("YYYY",function(e,n){n[_s]=2===e.length?t.parseTwoDigitYear(e):k(e)}),q("YY",function(e,n){n[_s]=t.parseTwoDigitYear(e)}),q("Y",function(e,t){t[_s]=parseInt(e,10)}),t.parseTwoDigitYear=function(e){return k(e)+(k(e)>68?1900:2e3)};var Ls,Ys=ae("FullYear",!0);Ls=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},I("M",["MM",2],"Mo",function(){return this.month()+1}),I("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),I("MMMM",0,0,function(e){return this.localeData().months(this,e)}),F("month","M"),C("month",8),$("M",Ka),$("MM",Ka,Va),$("MMM",function(e,t){return t.monthsShortRegex(e)}),$("MMMM",function(e,t){return t.monthsRegex(e)}),q(["M","MM"],function(e,t){t[us]=k(e)-1}),q(["MMM","MMMM"],function(e,t,n,a){var s=n._locale.monthsParse(e,a,n._strict);null!=s?t[us]=s:h(n).invalidMonth=e});var ps=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ks="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ds="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),gs=is,vs=is;I("w",["ww",2],"wo","week"),I("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),C("week",5),C("isoWeek",5),$("w",Ka),$("ww",Ka,Va),$("W",Ka),$("WW",Ka,Va),Q(["w","ww","W","WW"],function(e,t,n,a){t[a.substr(0,1)]=k(e)});var Ts={dow:0,doy:6};I("d",0,"do","day"),I("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),I("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),I("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),I("e",0,0,"weekday"),I("E",0,0,"isoWeekday"),F("day","d"),F("weekday","e"),F("isoWeekday","E"),C("day",11),C("weekday",11),C("isoWeekday",11),$("d",Ka),$("e",Ka),$("E",Ka),$("dd",function(e,t){return t.weekdaysMinRegex(e)}),$("ddd",function(e,t){return t.weekdaysShortRegex(e)}),$("dddd",function(e,t){return t.weekdaysRegex(e)}),Q(["dd","ddd","dddd"],function(e,t,n,a){var s=n._locale.weekdaysParse(e,a,n._strict);null!=s?t.d=s:h(n).invalidWeekday=e}),Q(["d","e","E"],function(e,t,n,a){t[a]=k(e)});var ws="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),bs="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ss="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Hs=is,js=is,xs=is;I("H",["HH",2],0,"hour"),I("h",["hh",2],0,Ve),I("k",["kk",2],0,Ge),I("hmm",0,0,function(){return""+Ve.apply(this)+N(this.minutes(),2)}),I("hmmss",0,0,function(){return""+Ve.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)}),I("Hmm",0,0,function(){return""+this.hours()+N(this.minutes(),2)}),I("Hmmss",0,0,function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)}),$e("a",!0),$e("A",!1),F("hour","h"),C("hour",13),$("a",Be),$("A",Be),$("H",Ka),$("h",Ka),$("k",Ka),$("HH",Ka,Va),$("hh",Ka,Va),$("kk",Ka,Va),$("hmm",Za),$("hmmss",qa),$("Hmm",Za),$("Hmmss",qa),q(["H","HH"],ls),q(["k","kk"],function(e,t,n){var a=k(e);t[ls]=24===a?0:a}),q(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),q(["h","hh"],function(e,t,n){t[ls]=k(e),h(n).bigHour=!0}),q("hmm",function(e,t,n){var a=e.length-2;t[ls]=k(e.substr(0,a)),t[cs]=k(e.substr(a)),h(n).bigHour=!0}),q("hmmss",function(e,t,n){var a=e.length-4,s=e.length-2;t[ls]=k(e.substr(0,a)),t[cs]=k(e.substr(a,2)),t[hs]=k(e.substr(s)),h(n).bigHour=!0}),q("Hmm",function(e,t,n){var a=e.length-2;t[ls]=k(e.substr(0,a)),t[cs]=k(e.substr(a))}),q("Hmmss",function(e,t,n){var a=e.length-4,s=e.length-2;t[ls]=k(e.substr(0,a)),t[cs]=k(e.substr(a,2)),t[hs]=k(e.substr(s))});var Os,Ps=/[ap]\.?m?\.?/i,Ws=ae("Hours",!0),Es={calendar:Wa,longDateFormat:Ea,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:Fa,relativeTime:Aa,months:ks,monthsShort:Ds,week:Ts,weekdays:ws,weekdaysMin:Ss,weekdaysShort:bs,meridiemParse:Ps},Fs={},As={},zs=/^\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)?)?$/,Cs=/^\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)?)?$/,Js=/Z|[+-]\d\d(?::?\d\d)?/,Ns=[["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}/]],Is=[["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/]],Rs=/^\/?Date\((\-?\d+)/i,Us=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Vs={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};t.createFromInputFallback=v("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 Gs=v("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=wt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:f()}),$s=v("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=wt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:f()}),Bs=function(){return Date.now?Date.now():+new Date},Ks=["year","quarter","month","week","day","hour","minute","second","millisecond"];Ft("Z",":"),Ft("ZZ",""),$("Z",ss),$("ZZ",ss),q(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=At(ss,e)});var Zs=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var qs=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Qs=/^(-|\+)?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=Pt.prototype,qt.invalid=Ot;var Xs=tn(1,"add"),er=tn(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var tr=v("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)});I(0,["gg",2],0,function(){return this.weekYear()%100}),I(0,["GG",2],0,function(){return this.isoWeekYear()%100}),An("gggg","weekYear"),An("ggggg","weekYear"),An("GGGG","isoWeekYear"),An("GGGGG","isoWeekYear"),F("weekYear","gg"),F("isoWeekYear","GG"),C("weekYear",1),C("isoWeekYear",1),$("G",ns),$("g",ns),$("GG",Ka,Va),$("gg",Ka,Va),$("GGGG",Xa,$a),$("gggg",Xa,$a),$("GGGGG",es,Ba),$("ggggg",es,Ba),Q(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,a){t[a.substr(0,2)]=k(e)}),Q(["gg","GG"],function(e,n,a,s){n[s]=t.parseTwoDigitYear(e)}),I("Q",0,"Qo","quarter"),F("quarter","Q"),C("quarter",7),$("Q",Ua),q("Q",function(e,t){t[us]=3*(k(e)-1)}),I("D",["DD",2],"Do","date"),F("date","D"),C("date",9),$("D",Ka),$("DD",Ka,Va),$("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),q(["D","DD"],ms),q("Do",function(e,t){t[ms]=k(e.match(Ka)[0])});var nr=ae("Date",!0);I("DDD",["DDDD",3],"DDDo","dayOfYear"),F("dayOfYear","DDD"),C("dayOfYear",4),$("DDD",Qa),$("DDDD",Ga),q(["DDD","DDDD"],function(e,t,n){n._dayOfYear=k(e)}),I("m",["mm",2],0,"minute"),F("minute","m"),C("minute",14),$("m",Ka),$("mm",Ka,Va),q(["m","mm"],cs);var ar=ae("Minutes",!1);I("s",["ss",2],0,"second"),F("second","s"),C("second",15),$("s",Ka),$("ss",Ka,Va),q(["s","ss"],hs);var sr=ae("Seconds",!1);I("S",0,0,function(){return~~(this.millisecond()/100)}),I(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),I(0,["SSS",3],0,"millisecond"),I(0,["SSSS",4],0,function(){return 10*this.millisecond()}),I(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),I(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),I(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),I(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),I(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),F("millisecond","ms"),C("millisecond",16),$("S",Qa,Ua),$("SS",Qa,Va),$("SSS",Qa,Ga);var rr;for(rr="SSSS";rr.length<=9;rr+="S")$(rr,ts);for(rr="S";rr.length<=9;rr+="S")q(rr,Gn);var ir=ae("Milliseconds",!1);I("z",0,0,"zoneAbbr"),I("zz",0,0,"zoneName");var dr=L.prototype;dr.add=Xs,dr.calendar=sn,dr.clone=rn,dr.diff=cn,dr.endOf=wn,dr.format=Ln,dr.from=Yn,dr.fromNow=pn,dr.to=kn,dr.toNow=Dn,dr.get=ie,dr.invalidAt=En,dr.isAfter=dn,dr.isBefore=on,dr.isBetween=_n,dr.isSame=un,dr.isSameOrAfter=mn,dr.isSameOrBefore=ln,dr.isValid=Pn,dr.lang=tr,dr.locale=gn,dr.localeData=vn,dr.max=$s,dr.min=Gs,dr.parsingFlags=Wn,dr.set=de,dr.startOf=Tn,dr.subtract=er,dr.toArray=jn,dr.toObject=xn,dr.toDate=Hn,dr.toISOString=fn,dr.inspect=yn,dr.toJSON=On,dr.toString=Mn,dr.unix=Sn,dr.valueOf=bn,dr.creationData=Fn,dr.year=Ys,dr.isLeapYear=ne,dr.weekYear=zn,dr.isoWeekYear=Cn,dr.quarter=dr.quarters=Un,dr.month=Me,dr.daysInMonth=fe,dr.week=dr.weeks=He,dr.isoWeek=dr.isoWeeks=je,dr.weeksInYear=Nn,dr.isoWeeksInYear=Jn,dr.dat