dragon-mobile-ui
Version:
UI for react.js
1 lines • 432 kB
JavaScript
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.DragonMobileUI=t(require("react")):e.DragonMobileUI=t(e.React)}(this,function(e){return function(e){function t(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},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=297)}([function(e,t,n){(function(e){var t;!function(t,n){e.exports=n()}(0,function(){"use strict";function a(){return nr.apply(null,arguments)}function r(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 i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function o(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(i(e,t))return!1;return!0}function d(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function l(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function _(e,t){var n,a=[];for(n=0;n<e.length;++n)a.push(t(e[n],n));return a}function c(e,t){for(var n in t)i(t,n)&&(e[n]=t[n]);return i(t,"toString")&&(e.toString=t.toString),i(t,"valueOf")&&(e.valueOf=t.valueOf),e}function m(e,t,n,a){return wt(e,t,n,a,!0).utc()}function f(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function h(e){return null==e._pf&&(e._pf=f()),e._pf}function p(e){if(null==e._isValid){var t=h(e),n=ar.call(t.parsedDateParts,function(e){return null!=e}),a=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(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 M(e){var t=m(NaN);return null!=e?c(h(t),e):h(t).userInvalidated=!0,t}function y(e,t){var n,a,r;if(d(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),d(t._i)||(e._i=t._i),d(t._f)||(e._f=t._f),d(t._l)||(e._l=t._l),d(t._strict)||(e._strict=t._strict),d(t._tzm)||(e._tzm=t._tzm),d(t._isUTC)||(e._isUTC=t._isUTC),d(t._offset)||(e._offset=t._offset),d(t._pf)||(e._pf=h(t)),d(t._locale)||(e._locale=t._locale),rr.length>0)for(n=0;n<rr.length;n++)a=rr[n],r=t[a],d(r)||(e[a]=r);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===sr&&(sr=!0,a.updateOffset(this),sr=!1)}function Y(e){return e instanceof L||null!=e&&null!=e._isAMomentObject}function v(e){!1===a.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function k(e,t){var n=!0;return c(function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,e),n){var r,s,o,d=[];for(s=0;s<arguments.length;s++){if(r="","object"==typeof arguments[s]){r+="\n["+s+"] ";for(o in arguments[0])i(arguments[0],o)&&(r+=o+": "+arguments[0][o]+", ");r=r.slice(0,-2)}else r=arguments[s];d.push(r)}v(e+"\nArguments: "+Array.prototype.slice.call(d).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)},t)}function g(e,t){null!=a.deprecationHandler&&a.deprecationHandler(e,t),ir[e]||(v(t),ir[e]=!0)}function D(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function T(e){var t,n;for(n in e)i(e,n)&&(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 b(e,t){var n,a=c({},e);for(n in t)i(t,n)&&(s(e[n])&&s(t[n])?(a[n]={},c(a[n],e[n]),c(a[n],t[n])):null!=t[n]?a[n]=t[n]:delete a[n]);for(n in e)i(e,n)&&!i(t,n)&&s(e[n])&&(a[n]=c({},a[n]));return a}function w(e){null!=e&&this.set(e)}function S(e,t,n){var a=this._calendar[e]||this._calendar.sameElse;return D(a)?a.call(t,n):a}function H(e,t,n){var a=""+Math.abs(e),r=t-a.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+a}function j(e,t,n,a){var r=a;"string"==typeof a&&(r=function(){return this[a]()}),e&&(mr[e]=r),t&&(mr[t[0]]=function(){return H(r.apply(this,arguments),t[1],t[2])}),n&&(mr[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function x(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function O(e){var t,n,a=e.match(lr);for(t=0,n=a.length;t<n;t++)mr[a[t]]?a[t]=mr[a[t]]:a[t]=x(a[t]);return function(t){var r,s="";for(r=0;r<n;r++)s+=D(a[r])?a[r].call(t,e):a[r];return s}}function P(e,t){return e.isValid()?(t=E(t,e.localeData()),cr[t]=cr[t]||O(t),cr[t](e)):e.localeData().invalidDate()}function E(e,t){function n(e){return t.longDateFormat(e)||e}var a=5;for(_r.lastIndex=0;a>=0&&_r.test(e);)e=e.replace(_r,n),_r.lastIndex=0,a-=1;return e}function W(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(lr).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])}function C(){return this._invalidDate}function A(e){return this._ordinal.replace("%d",e)}function N(e,t,n,a){var r=this._relativeTime[n];return D(r)?r(e,t,n,a):r.replace(/%d/i,e)}function z(e,t){var n=this._relativeTime[e>0?"future":"past"];return D(n)?n(t):n.replace(/%s/i,t)}function F(e,t){var n=e.toLowerCase();Mr[n]=Mr[n+"s"]=Mr[t]=e}function R(e){return"string"==typeof e?Mr[e]||Mr[e.toLowerCase()]:void 0}function I(e){var t,n,a={};for(n in e)i(e,n)&&(t=R(n))&&(a[t]=e[n]);return a}function V(e,t){yr[e]=t}function J(e){var t,n=[];for(t in e)i(e,t)&&n.push({unit:t,priority:yr[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}function U(e){return e%4==0&&e%100!=0||e%400==0}function G(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function $(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=G(t)),n}function B(e,t){return function(n){return null!=n?(Z(this,e,n),a.updateOffset(this,t),this):q(this,e)}}function q(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Z(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&U(e.year())&&1===e.month()&&29===e.date()?(n=$(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),oe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function K(e){return e=R(e),D(this[e])?this[e]():this}function X(e,t){if("object"==typeof e){e=I(e);var n,a=J(e);for(n=0;n<a.length;n++)this[a[n].unit](e[a[n].unit])}else if(e=R(e),D(this[e]))return this[e](t);return this}function Q(e,t,n){dr[e]=D(t)?t:function(e,a){return e&&n?n:t}}function ee(e,t){return i(dr,e)?dr[e](t._strict,t._locale):new RegExp(te(e))}function te(e){return ne(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,a,r){return t||n||a||r}))}function ne(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ae(e,t){var n,a=t;for("string"==typeof e&&(e=[e]),u(t)&&(a=function(e,n){n[t]=$(e)}),n=0;n<e.length;n++)Ar[e[n]]=a}function re(e,t){ae(e,function(e,n,a,r){a._w=a._w||{},t(e,a._w,a,r)})}function se(e,t,n){null!=t&&i(Ar,e)&&Ar[e](t,n._a,n,e)}function ie(e,t){return(e%t+t)%t}function oe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=ie(t,12);return e+=(t-n)/12,1===n?U(e)?29:28:31-n%7%2}function de(e,t){return e?r(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||qr).test(t)?"format":"standalone"][e.month()]:r(this._months)?this._months:this._months.standalone}function ue(e,t){return e?r(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[qr.test(t)?"format":"standalone"][e.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function le(e,t,n){var a,r,s,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],a=0;a<12;++a)s=m([2e3,a]),this._shortMonthsParse[a]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[a]=this.months(s,"").toLocaleLowerCase();return n?"MMM"===t?(r=Cr.call(this._shortMonthsParse,i),-1!==r?r:null):(r=Cr.call(this._longMonthsParse,i),-1!==r?r:null):"MMM"===t?-1!==(r=Cr.call(this._shortMonthsParse,i))?r:(r=Cr.call(this._longMonthsParse,i),-1!==r?r:null):-1!==(r=Cr.call(this._longMonthsParse,i))?r:(r=Cr.call(this._shortMonthsParse,i),-1!==r?r:null)}function _e(e,t,n){var a,r,s;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(r=m([2e3,a]),n&&!this._longMonthsParse[a]&&(this._longMonthsParse[a]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[a]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[a]||(s="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[a]=new RegExp(s.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 ce(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=$(t);else if(t=e.localeData().monthsParse(t),!u(t))return e;return n=Math.min(e.date(),oe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function me(e){return null!=e?(ce(this,e),a.updateOffset(this,!0),this):q(this,"Month")}function fe(){return oe(this.year(),this.month())}function he(e){return this._monthsParseExact?(i(this,"_monthsRegex")||Me.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(i(this,"_monthsShortRegex")||(this._monthsShortRegex=Zr),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function pe(e){return this._monthsParseExact?(i(this,"_monthsRegex")||Me.call(this),e?this._monthsStrictRegex:this._monthsRegex):(i(this,"_monthsRegex")||(this._monthsRegex=Kr),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Me(){function e(e,t){return t.length-e.length}var t,n,a=[],r=[],s=[];for(t=0;t<12;t++)n=m([2e3,t]),a.push(this.monthsShort(n,"")),r.push(this.months(n,"")),s.push(this.months(n,"")),s.push(this.monthsShort(n,""));for(a.sort(e),r.sort(e),s.sort(e),t=0;t<12;t++)a[t]=ne(a[t]),r[t]=ne(r[t]);for(t=0;t<24;t++)s[t]=ne(s[t]);this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+a.join("|")+")","i")}function ye(e){return U(e)?366:365}function Le(){return U(this.year())}function Ye(e,t,n,a,r,s,i){var o;return e<100&&e>=0?(o=new Date(e+400,t,n,a,r,s,i),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,a,r,s,i),o}function ve(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function ke(e,t,n){var a=7+t-n;return-(7+ve(e,0,a).getUTCDay()-t)%7+a-1}function ge(e,t,n,a,r){var s,i,o=(7+n-a)%7,d=ke(e,a,r),u=1+7*(t-1)+o+d;return u<=0?(s=e-1,i=ye(s)+u):u>ye(e)?(s=e+1,i=u-ye(e)):(s=e,i=u),{year:s,dayOfYear:i}}function De(e,t,n){var a,r,s=ke(e.year(),t,n),i=Math.floor((e.dayOfYear()-s-1)/7)+1;return i<1?(r=e.year()-1,a=i+Te(r,t,n)):i>Te(e.year(),t,n)?(a=i-Te(e.year(),t,n),r=e.year()+1):(r=e.year(),a=i),{week:a,year:r}}function Te(e,t,n){var a=ke(e,t,n),r=ke(e+1,t,n);return(ye(e)-a+r)/7}function be(e){return De(e,this._week.dow,this._week.doy).week}function we(){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=De(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.slice(t,7).concat(e.slice(0,t))}function Ee(e,t){var n=r(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Pe(n,this._week.dow):e?n[e.day()]:n}function We(e){return!0===e?Pe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ce(e){return!0===e?Pe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ae(e,t,n){var a,r,s,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],a=0;a<7;++a)s=m([2e3,1]).day(a),this._minWeekdaysParse[a]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[a]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[a]=this.weekdays(s,"").toLocaleLowerCase();return n?"dddd"===t?(r=Cr.call(this._weekdaysParse,i),-1!==r?r:null):"ddd"===t?(r=Cr.call(this._shortWeekdaysParse,i),-1!==r?r:null):(r=Cr.call(this._minWeekdaysParse,i),-1!==r?r:null):"dddd"===t?-1!==(r=Cr.call(this._weekdaysParse,i))?r:-1!==(r=Cr.call(this._shortWeekdaysParse,i))?r:(r=Cr.call(this._minWeekdaysParse,i),-1!==r?r:null):"ddd"===t?-1!==(r=Cr.call(this._shortWeekdaysParse,i))?r:-1!==(r=Cr.call(this._weekdaysParse,i))?r:(r=Cr.call(this._minWeekdaysParse,i),-1!==r?r:null):-1!==(r=Cr.call(this._minWeekdaysParse,i))?r:-1!==(r=Cr.call(this._weekdaysParse,i))?r:(r=Cr.call(this._shortWeekdaysParse,i),-1!==r?r:null)}function Ne(e,t,n){var a,r,s;if(this._weekdaysParseExact)return Ae.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),a=0;a<7;a++){if(r=m([2e3,1]).day(a),n&&!this._fullWeekdaysParse[a]&&(this._fullWeekdaysParse[a]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[a]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[a]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[a]||(s="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[a]=new RegExp(s.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 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 Re(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 Ie(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||Ue.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(i(this,"_weekdaysRegex")||(this._weekdaysRegex=as),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ve(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||Ue.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(i(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=rs),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Je(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||Ue.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(i(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ss),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ue(){function e(e,t){return t.length-e.length}var t,n,a,r,s,i=[],o=[],d=[],u=[];for(t=0;t<7;t++)n=m([2e3,1]).day(t),a=ne(this.weekdaysMin(n,"")),r=ne(this.weekdaysShort(n,"")),s=ne(this.weekdays(n,"")),i.push(a),o.push(r),d.push(s),u.push(a),u.push(r),u.push(s);i.sort(e),o.sort(e),d.sort(e),u.sort(e),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Ge(){return this.hours()%12||12}function $e(){return this.hours()||24}function Be(e,t){j(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function qe(e,t){return t._meridiemParse}function Ze(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ke(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Xe(e,t){var n,a=Math.min(e.length,t.length);for(n=0;n<a;n+=1)if(e[n]!==t[n])return n;return a}function Qe(e){return e?e.toLowerCase().replace("_","-"):e}function et(e){for(var t,n,a,r,s=0;s<e.length;){for(r=Qe(e[s]).split("-"),t=r.length,n=Qe(e[s+1]),n=n?n.split("-"):null;t>0;){if(a=tt(r.slice(0,t).join("-")))return a;if(n&&n.length>=t&&Xe(r,n)>=t-1)break;t--}s++}return is}function tt(a){var r=null;if(void 0===ls[a]&&void 0!==e&&e&&e.exports)try{r=is._abbr,t,n(285)("./"+a),nt(r)}catch(e){ls[a]=null}return ls[a]}function nt(e,t){var n;return e&&(n=d(t)?st(e):at(e,t),n?is=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),is._abbr}function at(e,t){if(null!==t){var n,a=us;if(t.abbr=e,null!=ls[e])g("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=ls[e]._config;else if(null!=t.parentLocale)if(null!=ls[t.parentLocale])a=ls[t.parentLocale]._config;else{if(null==(n=tt(t.parentLocale)))return _s[t.parentLocale]||(_s[t.parentLocale]=[]),_s[t.parentLocale].push({name:e,config:t}),null;a=n._config}return ls[e]=new w(b(a,t)),_s[e]&&_s[e].forEach(function(e){at(e.name,e.config)}),nt(e),ls[e]}return delete ls[e],null}function rt(e,t){if(null!=t){var n,a,r=us;null!=ls[e]&&null!=ls[e].parentLocale?ls[e].set(b(ls[e]._config,t)):(a=tt(e),null!=a&&(r=a._config),t=b(r,t),null==a&&(t.abbr=e),n=new w(t),n.parentLocale=ls[e],ls[e]=n),nt(e)}else null!=ls[e]&&(null!=ls[e].parentLocale?(ls[e]=ls[e].parentLocale,e===nt()&&nt(e)):null!=ls[e]&&delete ls[e]);return ls[e]}function st(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return is;if(!r(e)){if(t=tt(e))return t;e=[e]}return et(e)}function it(){return or(ls)}function ot(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[zr]<0||n[zr]>11?zr:n[Fr]<1||n[Fr]>oe(n[Nr],n[zr])?Fr:n[Rr]<0||n[Rr]>24||24===n[Rr]&&(0!==n[Ir]||0!==n[Vr]||0!==n[Jr])?Rr:n[Ir]<0||n[Ir]>59?Ir:n[Vr]<0||n[Vr]>59?Vr:n[Jr]<0||n[Jr]>999?Jr:-1,h(e)._overflowDayOfYear&&(t<Nr||t>Fr)&&(t=Fr),h(e)._overflowWeeks&&-1===t&&(t=Ur),h(e)._overflowWeekday&&-1===t&&(t=Gr),h(e).overflow=t),e}function dt(e){var t,n,a,r,s,i,o=e._i,d=cs.exec(o)||ms.exec(o);if(d){for(h(e).iso=!0,t=0,n=hs.length;t<n;t++)if(hs[t][1].exec(d[1])){r=hs[t][0],a=!1!==hs[t][2];break}if(null==r)return void(e._isValid=!1);if(d[3]){for(t=0,n=ps.length;t<n;t++)if(ps[t][1].exec(d[3])){s=(d[2]||" ")+ps[t][0];break}if(null==s)return void(e._isValid=!1)}if(!a&&null!=s)return void(e._isValid=!1);if(d[4]){if(!fs.exec(d[4]))return void(e._isValid=!1);i="Z"}e._f=r+(s||"")+(i||""),Yt(e)}else e._isValid=!1}function ut(e,t,n,a,r,s){var i=[lt(e),Br.indexOf(t),parseInt(n,10),parseInt(a,10),parseInt(r,10)];return s&&i.push(parseInt(s,10)),i}function lt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function _t(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function ct(e,t,n){if(e){if(ts.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 Ls[e];if(t)return 0;var a=parseInt(n,10),r=a%100;return(a-r)/100*60+r}function ft(e){var t,n=ys.exec(_t(e._i));if(n){if(t=ut(n[4],n[3],n[2],n[5],n[6],n[7]),!ct(n[1],t,e))return;e._a=t,e._tzm=mt(n[8],n[9],n[10]),e._d=ve.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),h(e).rfc2822=!0}else e._isValid=!1}function ht(e){var t=Ms.exec(e._i);if(null!==t)return void(e._d=new Date(+t[1]));dt(e),!1===e._isValid&&(delete e._isValid,ft(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:a.createFromInputFallback(e)))}function pt(e,t,n){return null!=e?e:null!=t?t:n}function Mt(e){var t=new Date(a.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function yt(e){var t,n,a,r,s,i=[];if(!e._d){for(a=Mt(e),e._w&&null==e._a[Fr]&&null==e._a[zr]&&Lt(e),null!=e._dayOfYear&&(s=pt(e._a[Nr],a[Nr]),(e._dayOfYear>ye(s)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),n=ve(s,0,e._dayOfYear),e._a[zr]=n.getUTCMonth(),e._a[Fr]=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[Rr]&&0===e._a[Ir]&&0===e._a[Vr]&&0===e._a[Jr]&&(e._nextDay=!0,e._a[Rr]=0),e._d=(e._useUTC?ve:Ye).apply(null,i),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Rr]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(h(e).weekdayMismatch=!0)}}function Lt(e){var t,n,a,r,s,i,o,d,u;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(s=1,i=4,n=pt(t.GG,e._a[Nr],De(St(),1,4).year),a=pt(t.W,1),((r=pt(t.E,1))<1||r>7)&&(d=!0)):(s=e._locale._week.dow,i=e._locale._week.doy,u=De(St(),s,i),n=pt(t.gg,e._a[Nr],u.year),a=pt(t.w,u.week),null!=t.d?((r=t.d)<0||r>6)&&(d=!0):null!=t.e?(r=t.e+s,(t.e<0||t.e>6)&&(d=!0)):r=s),a<1||a>Te(n,s,i)?h(e)._overflowWeeks=!0:null!=d?h(e)._overflowWeekday=!0:(o=ge(n,a,r,s,i),e._a[Nr]=o.year,e._dayOfYear=o.dayOfYear)}function Yt(e){if(e._f===a.ISO_8601)return void dt(e);if(e._f===a.RFC_2822)return void ft(e);e._a=[],h(e).empty=!0;var t,n,r,s,i,o,d=""+e._i,u=d.length,l=0;for(r=E(e._f,e._locale).match(lr)||[],t=0;t<r.length;t++)s=r[t],n=(d.match(ee(s,e))||[])[0],n&&(i=d.substr(0,d.indexOf(n)),i.length>0&&h(e).unusedInput.push(i),d=d.slice(d.indexOf(n)+n.length),l+=n.length),mr[s]?(n?h(e).empty=!1:h(e).unusedTokens.push(s),se(s,n,e)):e._strict&&!n&&h(e).unusedTokens.push(s);h(e).charsLeftOver=u-l,d.length>0&&h(e).unusedInput.push(d),e._a[Rr]<=12&&!0===h(e).bigHour&&e._a[Rr]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[Rr]=vt(e._locale,e._a[Rr],e._meridiem),o=h(e).era,null!==o&&(e._a[Nr]=e._locale.erasConvertYear(o,e._a[Nr])),yt(e),ot(e)}function vt(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 kt(e){var t,n,a,r,s,i,o=!1;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<e._f.length;r++)s=0,i=!1,t=y({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],Yt(t),p(t)&&(i=!0),s+=h(t).charsLeftOver,s+=10*h(t).unusedTokens.length,h(t).score=s,o?s<a&&(a=s,n=t):(null==a||s<a||i)&&(a=s,n=t,i&&(o=!0));c(e,n||t)}function gt(e){if(!e._d){var t=I(e._i),n=void 0===t.day?t.date:t.day;e._a=_([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),yt(e)}}function Dt(e){var t=new L(ot(Tt(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Tt(e){var t=e._i,n=e._f;return e._locale=e._locale||st(e._l),null===t||void 0===n&&""===t?M({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),Y(t)?new L(ot(t)):(l(t)?e._d=t:r(n)?kt(e):n?Yt(e):bt(e),p(e)||(e._d=null),e))}function bt(e){var t=e._i;d(t)?e._d=new Date(a.now()):l(t)?e._d=new Date(t.valueOf()):"string"==typeof t?ht(e):r(t)?(e._a=_(t.slice(0),function(e){return parseInt(e,10)}),yt(e)):s(t)?gt(e):u(t)?e._d=new Date(t):a.createFromInputFallback(e)}function wt(e,t,n,a,i){var d={};return!0!==t&&!1!==t||(a=t,t=void 0),!0!==n&&!1!==n||(a=n,n=void 0),(s(e)&&o(e)||r(e)&&0===e.length)&&(e=void 0),d._isAMomentObject=!0,d._useUTC=d._isUTC=i,d._l=n,d._i=e,d._f=t,d._strict=a,Dt(d)}function St(e,t,n,a){return wt(e,t,n,a,!1)}function Ht(e,t){var n,a;if(1===t.length&&r(t[0])&&(t=t[0]),!t.length)return St();for(n=t[0],a=1;a<t.length;++a)t[a].isValid()&&!t[a][e](n)||(n=t[a]);return n}function jt(){return Ht("isBefore",[].slice.call(arguments,0))}function xt(){return Ht("isAfter",[].slice.call(arguments,0))}function Ot(e){var t,n,a=!1;for(t in e)if(i(e,t)&&(-1===Cr.call(gs,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<gs.length;++n)if(e[gs[n]]){if(a)return!1;parseFloat(e[gs[n]])!==$(e[gs[n]])&&(a=!0)}return!0}function Pt(){return this._isValid}function Et(){return en(NaN)}function Wt(e){var t=I(e),n=t.year||0,a=t.quarter||0,r=t.month||0,s=t.week||t.isoWeek||0,i=t.day||0,o=t.hour||0,d=t.minute||0,u=t.second||0,l=t.millisecond||0;this._isValid=Ot(t),this._milliseconds=+l+1e3*u+6e4*d+1e3*o*60*60,this._days=+i+7*s,this._months=+r+3*a+12*n,this._data={},this._locale=st(),this._bubble()}function Ct(e){return e instanceof Wt}function At(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Nt(e,t,n){var a,r=Math.min(e.length,t.length),s=Math.abs(e.length-t.length),i=0;for(a=0;a<r;a++)(n&&e[a]!==t[a]||!n&&$(e[a])!==$(t[a]))&&i++;return i+s}function zt(e,t){j(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+H(~~(e/60),2)+t+H(~~e%60,2)})}function Ft(e,t){var n,a,r,s=(t||"").match(e);return null===s?null:(n=s[s.length-1]||[],a=(n+"").match(Ds)||["-",0,0],r=60*a[1]+$(a[2]),0===r?0:"+"===a[0]?r:-r)}function Rt(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(Y(e)||l(e)?e.valueOf():St(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),a.updateOffset(n,!1),n):St(e).local()}function It(e){return-Math.round(e._d.getTimezoneOffset())}function Vt(e,t,n){var r,s=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Ft(Pr,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=It(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),s!==e&&(!t||this._changeInProgress?sn(this,en(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?s:It(this)}function Jt(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Ut(e){return this.utcOffset(0,e)}function Gt(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(It(this),"m")),this}function $t(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Ft(Or,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Bt(e){return!!this.isValid()&&(e=e?St(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function qt(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Zt(){if(!d(this._isDSTShifted))return this._isDSTShifted;var e,t={};return y(t,this),t=Tt(t),t._a?(e=t._isUTC?m(t._a):St(t._a),this._isDSTShifted=this.isValid()&&Nt(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Kt(){return!!this.isValid()&&!this._isUTC}function Xt(){return!!this.isValid()&&this._isUTC}function Qt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function en(e,t){var n,a,r,s=e,o=null;return Ct(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(s={},t?s[t]=+e:s.milliseconds=+e):(o=Ts.exec(e))?(n="-"===o[1]?-1:1,s={y:0,d:$(o[Fr])*n,h:$(o[Rr])*n,m:$(o[Ir])*n,s:$(o[Vr])*n,ms:$(At(1e3*o[Jr]))*n}):(o=bs.exec(e))?(n="-"===o[1]?-1:1,s={y:tn(o[2],n),M:tn(o[3],n),w:tn(o[4],n),d:tn(o[5],n),h:tn(o[6],n),m:tn(o[7],n),s:tn(o[8],n)}):null==s?s={}:"object"==typeof s&&("from"in s||"to"in s)&&(r=an(St(s.from),St(s.to)),s={},s.ms=r.milliseconds,s.M=r.months),a=new Wt(s),Ct(e)&&i(e,"_locale")&&(a._locale=e._locale),Ct(e)&&i(e,"_isValid")&&(a._isValid=e._isValid),a}function tn(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function nn(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function an(e,t){var n;return e.isValid()&&t.isValid()?(t=Rt(t,e),e.isBefore(t)?n=nn(e,t):(n=nn(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function rn(e,t){return function(n,a){var r,s;return null===a||isNaN(+a)||(g(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=a,a=s),r=en(n,a),sn(this,r,e),this}}function sn(e,t,n,r){var s=t._milliseconds,i=At(t._days),o=At(t._months);e.isValid()&&(r=null==r||r,o&&ce(e,q(e,"Month")+o*n),i&&Z(e,"Date",q(e,"Date")+i*n),s&&e._d.setTime(e._d.valueOf()+s*n),r&&a.updateOffset(e,i||o))}function on(e){return"string"==typeof e||e instanceof String}function dn(e){return Y(e)||l(e)||on(e)||u(e)||ln(e)||un(e)||null===e||void 0===e}function un(e){var t,n,a=s(e)&&!o(e),r=!1,d=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<d.length;t+=1)n=d[t],r=r||i(e,n);return a&&r}function ln(e){var t=r(e),n=!1;return t&&(n=0===e.filter(function(t){return!u(t)&&on(e)}).length),t&&n}function _n(e){var t,n,a=s(e)&&!o(e),r=!1,d=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<d.length;t+=1)n=d[t],r=r||i(e,n);return a&&r}function cn(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 mn(e,t){1===arguments.length&&(arguments[0]?dn(arguments[0])?(e=arguments[0],t=void 0):_n(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||St(),r=Rt(n,this).startOf("day"),s=a.calendarFormat(this,r)||"sameElse",i=t&&(D(t[s])?t[s].call(this,n):t[s]);return this.format(i||this.localeData().calendar(s,this,St(n)))}function fn(){return new L(this)}function hn(e,t){var n=Y(e)?e:St(e);return!(!this.isValid()||!n.isValid())&&(t=R(t)||"millisecond","millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function pn(e,t){var n=Y(e)?e:St(e);return!(!this.isValid()||!n.isValid())&&(t=R(t)||"millisecond","millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Mn(e,t,n,a){var r=Y(e)?e:St(e),s=Y(t)?t:St(t);return!!(this.isValid()&&r.isValid()&&s.isValid())&&(a=a||"()",("("===a[0]?this.isAfter(r,n):!this.isBefore(r,n))&&(")"===a[1]?this.isBefore(s,n):!this.isAfter(s,n)))}function yn(e,t){var n,a=Y(e)?e:St(e);return!(!this.isValid()||!a.isValid())&&(t=R(t)||"millisecond","millisecond"===t?this.valueOf()===a.valueOf():(n=a.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Ln(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Yn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function vn(e,t,n){var a,r,s;if(!this.isValid())return NaN;if(a=Rt(e,this),!a.isValid())return NaN;switch(r=6e4*(a.utcOffset()-this.utcOffset()),t=R(t)){case"year":s=kn(this,a)/12;break;case"month":s=kn(this,a);break;case"quarter":s=kn(this,a)/3;break;case"second":s=(this-a)/1e3;break;case"minute":s=(this-a)/6e4;break;case"hour":s=(this-a)/36e5;break;case"day":s=(this-a-r)/864e5;break;case"week":s=(this-a-r)/6048e5;break;default:s=this-a}return n?s:G(s)}function kn(e,t){if(e.date()<t.date())return-kn(t,e);var n,a,r=12*(t.year()-e.year())+(t.month()-e.month()),s=e.clone().add(r,"months");return t-s<0?(n=e.clone().add(r-1,"months"),a=(t-s)/(s-n)):(n=e.clone().add(r+1,"months"),a=(t-s)/(n-s)),-(r+a)||0}function gn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Dn(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?P(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):D(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",P(n,"Z")):P(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Tn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,a,r="moment",s="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",s="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",a=s+'[")]',this.format(e+t+n+a)}function bn(e){e||(e=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var t=P(this,e);return this.localeData().postformat(t)}function wn(e,t){return this.isValid()&&(Y(e)&&e.isValid()||St(e).isValid())?en({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Sn(e){return this.from(St(),e)}function Hn(e,t){return this.isValid()&&(Y(e)&&e.isValid()||St(e).isValid())?en({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function jn(e){return this.to(St(),e)}function xn(e){var t;return void 0===e?this._locale._abbr:(t=st(e),null!=t&&(this._locale=t),this)}function On(){return this._locale}function Pn(e,t){return(e%t+t)%t}function En(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-Ps:new Date(e,t,n).valueOf()}function Wn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-Ps:Date.UTC(e,t,n)}function Cn(e){var t,n;if(void 0===(e=R(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?Wn:En,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Pn(t+(this._isUTC?0:this.utcOffset()*xs),Os);break;case"minute":t=this._d.valueOf(),t-=Pn(t,xs);break;case"second":t=this._d.valueOf(),t-=Pn(t,js)}return this._d.setTime(t),a.updateOffset(this,!0),this}function An(e){var t,n;if(void 0===(e=R(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?Wn:En,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Os-Pn(t+(this._isUTC?0:this.utcOffset()*xs),Os)-1;break;case"minute":t=this._d.valueOf(),t+=xs-Pn(t,xs)-1;break;case"second":t=this._d.valueOf(),t+=js-Pn(t,js)-1}return this._d.setTime(t),a.updateOffset(this,!0),this}function Nn(){return this._d.valueOf()-6e4*(this._offset||0)}function zn(){return Math.floor(this.valueOf()/1e3)}function Fn(){return new Date(this.valueOf())}function Rn(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function In(){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 Vn(){return this.isValid()?this.toISOString():null}function Jn(){return p(this)}function Un(){return c({},h(this))}function Gn(){return h(this).overflow}function $n(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Bn(e,t){var n,r,s,i=this._eras||st("en")._eras;for(n=0,r=i.length;n<r;++n){switch(typeof i[n].since){case"string":s=a(i[n].since).startOf("day"),i[n].since=s.valueOf()}switch(typeof i[n].until){case"undefined":i[n].until=1/0;break;case"string":s=a(i[n].until).startOf("day").valueOf(),i[n].until=s.valueOf()}}return i}function qn(e,t,n){var a,r,s,i,o,d=this.eras();for(e=e.toUpperCase(),a=0,r=d.length;a<r;++a)if(s=d[a].name.toUpperCase(),i=d[a].abbr.toUpperCase(),o=d[a].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(i===e)return d[a];break;case"NNNN":if(s===e)return d[a];break;case"NNNNN":if(o===e)return d[a]}else if([s,i,o].indexOf(e)>=0)return d[a]}function Zn(e,t){var n=e.since<=e.until?1:-1;return void 0===t?a(e.since).year():a(e.since).year()+(t-e.offset)*n}function Kn(){var e,t,n,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),a[e].since<=n&&n<=a[e].until)return a[e].name;if(a[e].until<=n&&n<=a[e].since)return a[e].name}return""}function Xn(){var e,t,n,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),a[e].since<=n&&n<=a[e].until)return a[e].narrow;if(a[e].until<=n&&n<=a[e].since)return a[e].narrow}return""}function Qn(){var e,t,n,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),a[e].since<=n&&n<=a[e].until)return a[e].abbr;if(a[e].until<=n&&n<=a[e].since)return a[e].abbr}return""}function ea(){var e,t,n,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(n=s[e].since<=s[e].until?1:-1,r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return(this.year()-a(s[e].since).year())*n+s[e].offset;return this.year()}function ta(e){return i(this,"_erasNameRegex")||da.call(this),e?this._erasNameRegex:this._erasRegex}function na(e){return i(this,"_erasAbbrRegex")||da.call(this),e?this._erasAbbrRegex:this._erasRegex}function aa(e){return i(this,"_erasNarrowRegex")||da.call(this),e?this._erasNarrowRegex:this._erasRegex}function ra(e,t){return t.erasAbbrRegex(e)}function sa(e,t){return t.erasNameRegex(e)}function ia(e,t){return t.erasNarrowRegex(e)}function oa(e,t){return t._eraYearOrdinalRegex||jr}function da(){var e,t,n=[],a=[],r=[],s=[],i=this.eras();for(e=0,t=i.length;e<t;++e)a.push(ne(i[e].name)),n.push(ne(i[e].abbr)),r.push(ne(i[e].narrow)),s.push(ne(i[e].name)),s.push(ne(i[e].abbr)),s.push(ne(i[e].narrow));this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+a.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function ua(e,t){j(0,[e,e.length],0,t)}function la(e){return pa.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function _a(e){return pa.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function ca(){return Te(this.year(),1,4)}function ma(){return Te(this.isoWeekYear(),1,4)}function fa(){var e=this.localeData()._week;return Te(this.year(),e.dow,e.doy)}function ha(){var e=this.localeData()._week;return Te(this.weekYear(),e.dow,e.doy)}function pa(e,t,n,a,r){var s;return null==e?De(this,a,r).year:(s=Te(e,a,r),t>s&&(t=s),Ma.call(this,e,t,n,a,r))}function Ma(e,t,n,a,r){var s=ge(e,t,n,a,r),i=ve(s.year,0,s.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}function ya(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function La(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 Ya(e,t){t[Jr]=$(1e3*("0."+e))}function va(){return this._isUTC?"UTC":""}function ka(){return this._isUTC?"Coordinated Universal Time":""}function ga(e){return St(1e3*e)}function Da(){return St.apply(null,arguments).parseZone()}function Ta(e){return e}function ba(e,t,n,a){var r=st(),s=m().set(a,t);return r[n](s,e)}function wa(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return ba(e,t,n,"month");var a,r=[];for(a=0;a<12;a++)r[a]=ba(e,a,n,"month");return r}function Sa(e,t,n,a){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var r,s=st(),i=e?s._week.dow:0,o=[];if(null!=n)return ba(t,(n+i)%7,a,"day");for(r=0;r<7;r++)o[r]=ba(t,(r+i)%7,a,"day");return o}function Ha(e,t){return wa(e,t,"months")}function ja(e,t){return wa(e,t,"monthsShort")}function xa(e,t,n){return Sa(e,t,n,"weekdays")}function Oa(e,t,n){return Sa(e,t,n,"weekdaysShort")}function Pa(e,t,n){return Sa(e,t,n,"weekdaysMin")}function Ea(){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 Wa(e,t,n,a){var r=en(t,n);return e._milliseconds+=a*r._milliseconds,e._days+=a*r._days,e._months+=a*r._months,e._bubble()}function Ca(e,t){return Wa(this,e,t,1)}function Aa(e,t){return Wa(this,e,t,-1)}function Na(e){return e<0?Math.floor(e):Math.ceil(e)}function za(){var e,t,n,a,r,s=this._milliseconds,i=this._days,o=this._months,d=this._data;return s>=0&&i>=0&&o>=0||s<=0&&i<=0&&o<=0||(s+=864e5*Na(Ra(o)+i),i=0,o=0),d.milliseconds=s%1e3,e=G(s/1e3),d.seconds=e%60,t=G(e/60),d.minutes=t%60,n=G(t/60),d.hours=n%24,i+=G(n/24),r=G(Fa(i)),o+=r,i-=Na(Ra(r)),a=G(o/12),o%=12,d.days=i,d.months=o,d.years=a,this}function Fa(e){return 4800*e/146097}function Ra(e){return 146097*e/4800}function Ia(e){if(!this.isValid())return NaN;var t,n,a=this._milliseconds;if("month"===(e=R(e))||"quarter"===e||"year"===e)switch(t=this._days+a/864e5,n=this._months+Fa(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Ra(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 Va(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*$(this._months/12):NaN}function Ja(e){return function(){return this.as(e)}}function Ua(){return en(this)}function Ga(e){return e=R(e),this.isValid()?this[e+"s"]():NaN}function $a(e){return function(){return this.isValid()?this._data[e]:NaN}}function Ba(){return G(this.days()/7)}function qa(e,t,n,a,r){return r.relativeTime(t||1,!!n,e,a)}function Za(e,t,n,a){var r=en(e).abs(),s=ri(r.as("s")),i=ri(r.as("m")),o=ri(r.as("h")),d=ri(r.as("d")),u=ri(r.as("M")),l=ri(r.as("w")),_=ri(r.as("y")),c=s<=n.ss&&["s",s]||s<n.s&&["ss",s]||i<=1&&["m"]||i<n.m&&["mm",i]||o<=1&&["h"]||o<n.h&&["hh",o]||d<=1&&["d"]||d<n.d&&["dd",d];return null!=n.w&&(c=c||l<=1&&["w"]||l<n.w&&["ww",l]),c=c||u<=1&&["M"]||u<n.M&&["MM",u]||_<=1&&["y"]||["yy",_],c[2]=t,c[3]=+e>0,c[4]=a,qa.apply(null,c)}function Ka(e){return void 0===e?ri:"function"==typeof e&&(ri=e,!0)}function Xa(e,t){return void 0!==si[e]&&(void 0===t?si[e]:(si[e]=t,"s"===e&&(si.ss=t-1),!0))}function Qa(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,a,r=!1,s=si;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(s=Object.assign({},si,t),null!=t.s&&null==t.ss&&(s.ss=t.s-1)),n=this.localeData(),a=Za(this,!r,s,n),r&&(a=n.pastFuture(+this,a)),n.postformat(a)}function er(e){return(e>0)-(e<0)||+e}function tr(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,a,r,s,i,o,d=ii(this._milliseconds)/1e3,u=ii(this._days),l=ii(this._months),_=this.asSeconds();return _?(e=G(d/60),t=G(e/60),d%=60,e%=60,n=G(l/12),l%=12,a=d?d.toFixed(3).replace(/\.?0+$/,""):"",r=_<0?"-":"",s=er(this._months)!==er(_)?"-":"",i=er(this._days)!==er(_)?"-":"",o=er(this._milliseconds)!==er(_)?"-":"",r+"P"+(n?s+n+"Y":"")+(l?s+l+"M":"")+(u?i+u+"D":"")+(t||e||d?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(d?o+a+"S":"")):"P0D"}var nr,ar;ar=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),a=n.length>>>0;for(t=0;t<a;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var rr=a.momentProperties=[],sr=!1,ir={};a.suppressDeprecationWarnings=!1,a.deprecationHandler=null;var or;or=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)i(e,t)&&n.push(t);return n};var dr,ur={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},lr=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,_r=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,cr={},mr={},fr={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"},hr=/\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",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Mr={},yr={},Lr=/\d/,Yr=/\d\d/,vr=/\d{3}/,kr=/\d{4}/,gr=/[+-]?\d{6}/,Dr=/\d\d?/,Tr=/\d\d\d\d?/,br=/\d\d\d\d\d\d?/,wr=/\d{1,3}/,Sr=/\d{1,4}/,Hr=/[+-]?\d{1,6}/,jr=/\d+/,xr=/[+-]?\d+/,Or=/Z|[+-]\d\d:?\d\d/gi,Pr=/Z|[+-]\d\d(?::?\d\d)?/gi,Er=/[+-]?\d+(\.\d{1,3})?/,Wr=/[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;dr={};var Cr,Ar={},Nr=0,zr=1,Fr=2,Rr=3,Ir=4,Vr=5,Jr=6,Ur=7,Gr=8;Cr=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},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)}),F("month","M"),V("month",8),Q("M",Dr),Q("MM",Dr,Yr),Q("MMM",function(e,t){return t.monthsShortRegex(e)}),Q("MMMM",function(e,t){return t.monthsRegex(e)}),ae(["M","MM"],function(e,t){t[zr]=$(e)-1}),ae(["MMM","MMMM"],function(e,t,n,a){var r=n._locale.monthsParse(e,a,n._strict);null!=r?t[zr]=r:h(n).invalidMonth=e});var $r="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Br="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),qr=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Zr=Wr,Kr=Wr;j("Y",0,0,function(){var e=this.year();return e<=9999?H(e,4):"+"+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"),F("year","y"),V("year",1),Q("Y",xr),Q("YY",Dr,Yr),Q("YYYY",Sr,kr),Q("YYYYY",Hr,gr),Q("YYYYYY",Hr,gr),ae(["YYYYY","YYYYYY"],Nr),ae("YYYY",function(e,t){t[Nr]=2===e.length?a.parseTwoDigitYear(e):$(e)}),ae("YY",function(e,t){t[Nr]=a.parseTwoDigitYear(e)}),ae("Y",function(e,t){t[Nr]=parseInt(e,10)}),a.parseTwoDigitYear=function(e){return $(e)+($(e)>68?1900:2e3)};var Xr=B("FullYear",!0);j("w",["ww",2],"wo","week"),j("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),V("week",5),V("isoWeek",5),Q("w",Dr),Q("ww",Dr,Yr),Q("W",Dr),Q("WW",Dr,Yr),re(["w","ww","W","WW"],function(e,t,n,a){t[a.substr(0,1)]=$(e)});var Qr={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"),F("day","d"),F("weekday","e"),F("isoWeekday","E"),V("day",11),V("weekday",11),V("isoWeekday",11),Q("d",Dr),Q("e",Dr),Q("E",Dr),Q("dd",function(e,t){return t.weekdaysMinRegex(e)}),Q("ddd",function(e,t){return t.weekdaysShortRegex(e)}),Q("dddd",function(e,t){return t.weekdaysRegex(e)}),re(["dd","ddd","dddd"],function(e,t,n,a){var r=n._locale.weekdaysParse(e,a,n._strict);null!=r?t.d=r:h(n).invalidWeekday=e}),re(["d","e","E"],function(e,t,n,a){t[a]=$(e)});var es="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ts="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ns="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),as=Wr,rs=Wr,ss=Wr;j("H",["HH",2],0,"hour"),j("h",["hh",2],0,Ge),j("k",["kk",2],0,$e),j("hmm",0,0,function(){return""+Ge.apply(this)+H(this.minutes(),2)}),j("hmmss",0,0,function(){return""+Ge.apply(this)+H(this.minutes(),2)+H(this.seconds(),2)}),j("Hmm",0,0,function(){return""+this.hours()+H(this.minutes(),2)}),j("Hmmss",0,0,function(){return""+this.hours()+H(this.minutes(),2)+H(this.seconds(),2)}),Be("a",!0),Be("A",!1),F("hour","h"),V("hour",13),Q("a",qe),Q("A",qe),Q("H",Dr),Q("h",Dr),Q("k",Dr),Q("HH",Dr,Yr),Q("hh",Dr,Yr),Q("kk",Dr,Yr),Q("hmm",Tr),Q("hmmss",br),Q("Hmm",Tr),Q("Hmmss",br),ae(["H","HH"],Rr),ae(["k","kk"],function(e,t,n){var a=$(e);t[Rr]=24===a?0:a}),ae(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ae(["h","hh"],function(e,t,n){t[Rr]=$(e),h(n).bigHour=!0}),ae("hmm",function(e,t,n){var a=e.length-2;t[Rr]=$(e.substr(0,a)),t[Ir]=$(e.substr(a)),h(n).bigHour=!0}),ae("hmmss",function(e,t,n){var a=e.length-4,r=e.length-2;t[Rr]=$(e.substr(0,a)),t[Ir]=$(e.substr(a,2)),t[Vr]=$(e.substr(r)),h(n).bigHour=!0}),ae("Hmm",function(e,t,n){var a=e.length-2;t[Rr]=$(e.substr(0,a)),t[Ir]=$(e.substr(a))}),ae("Hmmss",function(e,t,n){var a=e.length-4,r=e.length-2;t[Rr]=$(e.substr(0,a)),t[Ir]=$(e.substr(a,2)),t[Vr]=$(e.substr(r))});v