opds-web-client
Version:
2 lines • 822 kB
JavaScript
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.OPDSWebClient=e():t.OPDSWebClient=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){t.exports=n(735)},function(t,e,n){(function(t){!function(e,n){t.exports=n()}(this,function(){"use strict";function e(){return Ar.apply(null,arguments)}function r(t){Ar=t}function o(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function i(t){return"[object Object]"===Object.prototype.toString.call(t)}function a(t){var e;for(e in t)return!1;return!0}function s(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function u(t,e){var n,r=[];for(n=0;n<t.length;++n)r.push(e(t[n],n));return r}function l(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function c(t,e){for(var n in e)l(e,n)&&(t[n]=e[n]);return l(e,"toString")&&(t.toString=e.toString),l(e,"valueOf")&&(t.valueOf=e.valueOf),t}function d(t,e,n,r){return ye(t,e,n,r,!0).utc()}function p(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}}function h(t){return null==t._pf&&(t._pf=p()),t._pf}function f(t){if(null==t._isValid){var e=h(t),n=mr.call(e.parsedDateParts,function(t){return null!=t});t._isValid=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n),t._strict&&(t._isValid=t._isValid&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour)}return t._isValid}function A(t){var e=d(NaN);return null!=t?c(h(e),t):h(e).userInvalidated=!0,e}function m(t){return void 0===t}function _(t,e){var n,r,o;if(m(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),m(e._i)||(t._i=e._i),m(e._f)||(t._f=e._f),m(e._l)||(t._l=e._l),m(e._strict)||(t._strict=e._strict),m(e._tzm)||(t._tzm=e._tzm),m(e._isUTC)||(t._isUTC=e._isUTC),m(e._offset)||(t._offset=e._offset),m(e._pf)||(t._pf=h(e)),m(e._locale)||(t._locale=e._locale),_r.length>0)for(n in _r)r=_r[n],o=e[r],m(o)||(t[r]=o);return t}function y(t){_(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),yr===!1&&(yr=!0,e.updateOffset(this),yr=!1)}function g(t){return t instanceof y||null!=t&&null!=t._isAMomentObject}function v(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function M(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=v(e)),n}function b(t,e,n){var r,o=Math.min(t.length,e.length),i=Math.abs(t.length-e.length),a=0;for(r=0;r<o;r++)(n&&t[r]!==e[r]||!n&&M(t[r])!==M(e[r]))&&a++;return a+i}function w(t){e.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function L(t,n){var r=!0;return c(function(){return null!=e.deprecationHandler&&e.deprecationHandler(null,t),r&&(w(t+"\nArguments: "+Array.prototype.slice.call(arguments).join(", ")+"\n"+(new Error).stack),r=!1),n.apply(this,arguments)},n)}function E(t,n){null!=e.deprecationHandler&&e.deprecationHandler(t,n),gr[t]||(w(n),gr[t]=!0)}function D(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function T(t){var e,n;for(n in t)e=t[n],D(e)?this[n]=e:this["_"+n]=e;this._config=t,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function k(t,e){var n,r=c({},t);for(n in e)l(e,n)&&(i(t[n])&&i(e[n])?(r[n]={},c(r[n],t[n]),c(r[n],e[n])):null!=e[n]?r[n]=e[n]:delete r[n]);for(n in t)l(t,n)&&!l(e,n)&&i(t[n])&&(r[n]=c({},r[n]));return r}function C(t){null!=t&&this.set(t)}function S(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return D(r)?r.call(e,n):r}function x(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])}function Y(){return this._invalidDate}function O(t){return this._ordinal.replace("%d",t)}function P(t,e,n,r){var o=this._relativeTime[n];return D(o)?o(t,e,n,r):o.replace(/%d/i,t)}function R(t,e){var n=this._relativeTime[t>0?"future":"past"];return D(n)?n(e):n.replace(/%s/i,e)}function I(t,e){var n=t.toLowerCase();kr[n]=kr[n+"s"]=kr[e]=t}function j(t){return"string"==typeof t?kr[t]||kr[t.toLowerCase()]:void 0}function N(t){var e,n,r={};for(n in t)l(t,n)&&(e=j(n),e&&(r[e]=t[n]));return r}function F(t,e){Cr[t]=e}function B(t){var e=[];for(var n in t)e.push({unit:n,priority:Cr[n]});return e.sort(function(t,e){return t.priority-e.priority}),e}function H(t,n){return function(r){return null!=r?(Q(this,t,r),e.updateOffset(this,n),this):U(this,t)}}function U(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function Q(t,e,n){t.isValid()&&t._d["set"+(t._isUTC?"UTC":"")+e](n)}function W(t){return t=j(t),D(this[t])?this[t]():this}function G(t,e){if("object"==typeof t){t=N(t);for(var n=B(t),r=0;r<n.length;r++)this[n[r].unit](t[n[r].unit])}else if(t=j(t),D(this[t]))return this[t](e);return this}function K(t,e,n){var r=""+Math.abs(t),o=e-r.length,i=t>=0;return(i?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}function z(t,e,n,r){var o=r;"string"==typeof r&&(o=function(){return this[r]()}),t&&(Or[t]=o),e&&(Or[e[0]]=function(){return K(o.apply(this,arguments),e[1],e[2])}),n&&(Or[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),t)})}function q(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function J(t){var e,n,r=t.match(Sr);for(e=0,n=r.length;e<n;e++)Or[r[e]]?r[e]=Or[r[e]]:r[e]=q(r[e]);return function(e){var o,i="";for(o=0;o<n;o++)i+=r[o]instanceof Function?r[o].call(e,t):r[o];return i}}function V(t,e){return t.isValid()?(e=Z(e,t.localeData()),Yr[e]=Yr[e]||J(e),Yr[e](t)):t.localeData().invalidDate()}function Z(t,e){function n(t){return e.longDateFormat(t)||t}var r=5;for(xr.lastIndex=0;r>=0&&xr.test(t);)t=t.replace(xr,n),xr.lastIndex=0,r-=1;return t}function X(t,e,n){Zr[t]=D(e)?e:function(t,r){return t&&n?n:e}}function $(t,e){return l(Zr,t)?Zr[t](e._strict,e._locale):new RegExp(tt(t))}function tt(t){return et(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,r,o){return e||n||r||o}))}function et(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function nt(t,e){var n,r=e;for("string"==typeof t&&(t=[t]),"number"==typeof e&&(r=function(t,n){n[e]=M(t)}),n=0;n<t.length;n++)Xr[t[n]]=r}function rt(t,e){nt(t,function(t,n,r,o){r._w=r._w||{},e(t,r._w,r,o)})}function ot(t,e,n){null!=e&&l(Xr,t)&&Xr[t](e,n._a,n,t)}function it(t,e){return new Date(Date.UTC(t,e+1,0)).getUTCDate()}function at(t,e){return o(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||uo).test(e)?"format":"standalone"][t.month()]}function st(t,e){return o(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[uo.test(e)?"format":"standalone"][t.month()]}function ut(t,e,n){var r,o,i,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=d([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===e?(o=Mr.call(this._shortMonthsParse,a),o!==-1?o:null):(o=Mr.call(this._longMonthsParse,a),o!==-1?o:null):"MMM"===e?(o=Mr.call(this._shortMonthsParse,a),o!==-1?o:(o=Mr.call(this._longMonthsParse,a),o!==-1?o:null)):(o=Mr.call(this._longMonthsParse,a),o!==-1?o:(o=Mr.call(this._shortMonthsParse,a),o!==-1?o:null))}function lt(t,e,n){var r,o,i;if(this._monthsParseExact)return ut.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=d([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[r].test(t))return r;if(n&&"MMM"===e&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}}function ct(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=M(e);else if(e=t.localeData().monthsParse(e),"number"!=typeof e)return t;return n=Math.min(t.date(),it(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function dt(t){return null!=t?(ct(this,t),e.updateOffset(this,!0),this):U(this,"Month")}function pt(){return it(this.year(),this.month())}function ht(t){return this._monthsParseExact?(l(this,"_monthsRegex")||At.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=po),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function ft(t){return this._monthsParseExact?(l(this,"_monthsRegex")||At.call(this),t?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=ho),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function At(){function t(t,e){return e.length-t.length}var e,n,r=[],o=[],i=[];for(e=0;e<12;e++)n=d([2e3,e]),r.push(this.monthsShort(n,"")),o.push(this.months(n,"")),i.push(this.months(n,"")),i.push(this.monthsShort(n,""));for(r.sort(t),o.sort(t),i.sort(t),e=0;e<12;e++)r[e]=et(r[e]),o[e]=et(o[e]);for(e=0;e<24;e++)i[e]=et(i[e]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function mt(t){return _t(t)?366:365}function _t(t){return t%4===0&&t%100!==0||t%400===0}function yt(){return _t(this.year())}function gt(t,e,n,r,o,i,a){var s=new Date(t,e,n,r,o,i,a);return t<100&&t>=0&&isFinite(s.getFullYear())&&s.setFullYear(t),s}function vt(t){var e=new Date(Date.UTC.apply(null,arguments));return t<100&&t>=0&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}function Mt(t,e,n){var r=7+e-n,o=(7+vt(t,0,r).getUTCDay()-e)%7;return-o+r-1}function bt(t,e,n,r,o){var i,a,s=(7+n-r)%7,u=Mt(t,r,o),l=1+7*(e-1)+s+u;return l<=0?(i=t-1,a=mt(i)+l):l>mt(t)?(i=t+1,a=l-mt(t)):(i=t,a=l),{year:i,dayOfYear:a}}function wt(t,e,n){var r,o,i=Mt(t.year(),e,n),a=Math.floor((t.dayOfYear()-i-1)/7)+1;return a<1?(o=t.year()-1,r=a+Lt(o,e,n)):a>Lt(t.year(),e,n)?(r=a-Lt(t.year(),e,n),o=t.year()+1):(o=t.year(),r=a),{week:r,year:o}}function Lt(t,e,n){var r=Mt(t,e,n),o=Mt(t+1,e,n);return(mt(t)-r+o)/7}function Et(t){return wt(t,this._week.dow,this._week.doy).week}function Dt(){return this._week.dow}function Tt(){return this._week.doy}function kt(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function Ct(t){var e=wt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function St(t,e){return"string"!=typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"==typeof t?t:null):parseInt(t,10)}function xt(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Yt(t,e){return o(this._weekdays)?this._weekdays[t.day()]:this._weekdays[this._weekdays.isFormat.test(e)?"format":"standalone"][t.day()]}function Ot(t){return this._weekdaysShort[t.day()]}function Pt(t){return this._weekdaysMin[t.day()]}function Rt(t,e,n){var r,o,i,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=d([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===e?(o=Mr.call(this._weekdaysParse,a),o!==-1?o:null):"ddd"===e?(o=Mr.call(this._shortWeekdaysParse,a),o!==-1?o:null):(o=Mr.call(this._minWeekdaysParse,a),o!==-1?o:null):"dddd"===e?(o=Mr.call(this._weekdaysParse,a),o!==-1?o:(o=Mr.call(this._shortWeekdaysParse,a),o!==-1?o:(o=Mr.call(this._minWeekdaysParse,a),o!==-1?o:null))):"ddd"===e?(o=Mr.call(this._shortWeekdaysParse,a),o!==-1?o:(o=Mr.call(this._weekdaysParse,a),o!==-1?o:(o=Mr.call(this._minWeekdaysParse,a),o!==-1?o:null))):(o=Mr.call(this._minWeekdaysParse,a),o!==-1?o:(o=Mr.call(this._weekdaysParse,a),o!==-1?o:(o=Mr.call(this._shortWeekdaysParse,a),o!==-1?o:null)))}function It(t,e,n){var r,o,i;if(this._weekdaysParseExact)return Rt.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=d([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(n&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}}function jt(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=St(t,this.localeData()),this.add(t-e,"d")):e}function Nt(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Ft(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=xt(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function Bt(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Qt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=go),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ht(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Qt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=vo),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ut(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Qt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Mo),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Qt(){function t(t,e){return e.length-t.length}var e,n,r,o,i,a=[],s=[],u=[],l=[];for(e=0;e<7;e++)n=d([2e3,1]).day(e),r=this.weekdaysMin(n,""),o=this.weekdaysShort(n,""),i=this.weekdays(n,""),a.push(r),s.push(o),u.push(i),l.push(r),l.push(o),l.push(i);for(a.sort(t),s.sort(t),u.sort(t),l.sort(t),e=0;e<7;e++)s[e]=et(s[e]),u[e]=et(u[e]),l[e]=et(l[e]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Wt(){return this.hours()%12||12}function Gt(){return this.hours()||24}function Kt(t,e){z(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function zt(t,e){return e._meridiemParse}function qt(t){return"p"===(t+"").toLowerCase().charAt(0)}function Jt(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}function Vt(t){return t?t.toLowerCase().replace("_","-"):t}function Zt(t){for(var e,n,r,o,i=0;i<t.length;){for(o=Vt(t[i]).split("-"),e=o.length,n=Vt(t[i+1]),n=n?n.split("-"):null;e>0;){if(r=Xt(o.slice(0,e).join("-")))return r;if(n&&n.length>=e&&b(o,n,!0)>=e-1)break;e--}i++}return null}function Xt(e){var r=null;if(!Do[e]&&"undefined"!=typeof t&&t&&t.exports)try{r=bo._abbr,n(610)("./"+e),$t(r)}catch(o){}return Do[e]}function $t(t,e){var n;return t&&(n=m(e)?ne(t):te(t,e),n&&(bo=n)),bo._abbr}function te(t,e){if(null!==e){var n=Eo;return e.abbr=t,null!=Do[t]?(E("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Do[t]._config):null!=e.parentLocale&&(null!=Do[e.parentLocale]?n=Do[e.parentLocale]._config:E("parentLocaleUndefined","specified parentLocale is not defined yet. See http://momentjs.com/guides/#/warnings/parent-locale/")),Do[t]=new C(k(n,e)),$t(t),Do[t]}return delete Do[t],null}function ee(t,e){if(null!=e){var n,r=Eo;null!=Do[t]&&(r=Do[t]._config),e=k(r,e),n=new C(e),n.parentLocale=Do[t],Do[t]=n,$t(t)}else null!=Do[t]&&(null!=Do[t].parentLocale?Do[t]=Do[t].parentLocale:null!=Do[t]&&delete Do[t]);return Do[t]}function ne(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return bo;if(!o(t)){if(e=Xt(t))return e;t=[t]}return Zt(t)}function re(){return vr(Do)}function oe(t){var e,n=t._a;return n&&h(t).overflow===-2&&(e=n[to]<0||n[to]>11?to:n[eo]<1||n[eo]>it(n[$r],n[to])?eo:n[no]<0||n[no]>24||24===n[no]&&(0!==n[ro]||0!==n[oo]||0!==n[io])?no:n[ro]<0||n[ro]>59?ro:n[oo]<0||n[oo]>59?oo:n[io]<0||n[io]>999?io:-1,h(t)._overflowDayOfYear&&(e<$r||e>eo)&&(e=eo),h(t)._overflowWeeks&&e===-1&&(e=ao),h(t)._overflowWeekday&&e===-1&&(e=so),h(t).overflow=e),t}function ie(t){var e,n,r,o,i,a,s=t._i,u=To.exec(s)||ko.exec(s);if(u){for(h(t).iso=!0,e=0,n=So.length;e<n;e++)if(So[e][1].exec(u[1])){o=So[e][0],r=So[e][2]!==!1;break}if(null==o)return void(t._isValid=!1);if(u[3]){for(e=0,n=xo.length;e<n;e++)if(xo[e][1].exec(u[3])){i=(u[2]||" ")+xo[e][0];break}if(null==i)return void(t._isValid=!1)}if(!r&&null!=i)return void(t._isValid=!1);if(u[4]){if(!Co.exec(u[4]))return void(t._isValid=!1);a="Z"}t._f=o+(i||"")+(a||""),de(t)}else t._isValid=!1}function ae(t){var n=Yo.exec(t._i);return null!==n?void(t._d=new Date((+n[1]))):(ie(t),void(t._isValid===!1&&(delete t._isValid,e.createFromInputFallback(t))))}function se(t,e,n){return null!=t?t:null!=e?e:n}function ue(t){var n=new Date(e.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function le(t){var e,n,r,o,i=[];if(!t._d){for(r=ue(t),t._w&&null==t._a[eo]&&null==t._a[to]&&ce(t),t._dayOfYear&&(o=se(t._a[$r],r[$r]),t._dayOfYear>mt(o)&&(h(t)._overflowDayOfYear=!0),n=vt(o,0,t._dayOfYear),t._a[to]=n.getUTCMonth(),t._a[eo]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=i[e]=r[e];for(;e<7;e++)t._a[e]=i[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[no]&&0===t._a[ro]&&0===t._a[oo]&&0===t._a[io]&&(t._nextDay=!0,t._a[no]=0),t._d=(t._useUTC?vt:gt).apply(null,i),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[no]=24)}}function ce(t){var e,n,r,o,i,a,s,u;e=t._w,null!=e.GG||null!=e.W||null!=e.E?(i=1,a=4,n=se(e.GG,t._a[$r],wt(ge(),1,4).year),r=se(e.W,1),o=se(e.E,1),(o<1||o>7)&&(u=!0)):(i=t._locale._week.dow,a=t._locale._week.doy,n=se(e.gg,t._a[$r],wt(ge(),i,a).year),r=se(e.w,1),null!=e.d?(o=e.d,(o<0||o>6)&&(u=!0)):null!=e.e?(o=e.e+i,(e.e<0||e.e>6)&&(u=!0)):o=i),r<1||r>Lt(n,i,a)?h(t)._overflowWeeks=!0:null!=u?h(t)._overflowWeekday=!0:(s=bt(n,r,o,i,a),t._a[$r]=s.year,t._dayOfYear=s.dayOfYear)}function de(t){if(t._f===e.ISO_8601)return void ie(t);t._a=[],h(t).empty=!0;var n,r,o,i,a,s=""+t._i,u=s.length,l=0;for(o=Z(t._f,t._locale).match(Sr)||[],n=0;n<o.length;n++)i=o[n],r=(s.match($(i,t))||[])[0],r&&(a=s.substr(0,s.indexOf(r)),a.length>0&&h(t).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),l+=r.length),Or[i]?(r?h(t).empty=!1:h(t).unusedTokens.push(i),ot(i,r,t)):t._strict&&!r&&h(t).unusedTokens.push(i);h(t).charsLeftOver=u-l,s.length>0&&h(t).unusedInput.push(s),t._a[no]<=12&&h(t).bigHour===!0&&t._a[no]>0&&(h(t).bigHour=void 0),h(t).parsedDateParts=t._a.slice(0),h(t).meridiem=t._meridiem,t._a[no]=pe(t._locale,t._a[no],t._meridiem),le(t),oe(t)}function pe(t,e,n){var r;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(r=t.isPM(n),r&&e<12&&(e+=12),r||12!==e||(e=0),e):e}function he(t){var e,n,r,o,i;if(0===t._f.length)return h(t).invalidFormat=!0,void(t._d=new Date(NaN));for(o=0;o<t._f.length;o++)i=0,e=_({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[o],de(e),f(e)&&(i+=h(e).charsLeftOver,i+=10*h(e).unusedTokens.length,h(e).score=i,(null==r||i<r)&&(r=i,n=e));c(t,n||e)}function fe(t){if(!t._d){var e=N(t._i);t._a=u([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),le(t)}}function Ae(t){var e=new y(oe(me(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function me(t){var e=t._i,n=t._f;return t._locale=t._locale||ne(t._l),null===e||void 0===n&&""===e?A({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),g(e)?new y(oe(e)):(o(n)?he(t):s(e)?t._d=e:n?de(t):_e(t),f(t)||(t._d=null),t))}function _e(t){var n=t._i;void 0===n?t._d=new Date(e.now()):s(n)?t._d=new Date(n.valueOf()):"string"==typeof n?ae(t):o(n)?(t._a=u(n.slice(0),function(t){return parseInt(t,10)}),le(t)):"object"==typeof n?fe(t):"number"==typeof n?t._d=new Date(n):e.createFromInputFallback(t)}function ye(t,e,n,r,s){var u={};return"boolean"==typeof n&&(r=n,n=void 0),(i(t)&&a(t)||o(t)&&0===t.length)&&(t=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=s,u._l=n,u._i=t,u._f=e,u._strict=r,Ae(u)}function ge(t,e,n,r){return ye(t,e,n,r,!1)}function ve(t,e){var n,r;if(1===e.length&&o(e[0])&&(e=e[0]),!e.length)return ge();for(n=e[0],r=1;r<e.length;++r)e[r].isValid()&&!e[r][t](n)||(n=e[r]);return n}function Me(){var t=[].slice.call(arguments,0);return ve("isBefore",t)}function be(){var t=[].slice.call(arguments,0);return ve("isAfter",t)}function we(t){var e=N(t),n=e.year||0,r=e.quarter||0,o=e.month||0,i=e.week||0,a=e.day||0,s=e.hour||0,u=e.minute||0,l=e.second||0,c=e.millisecond||0;this._milliseconds=+c+1e3*l+6e4*u+1e3*s*60*60,this._days=+a+7*i,this._months=+o+3*r+12*n,this._data={},this._locale=ne(),this._bubble()}function Le(t){return t instanceof we}function Ee(t,e){z(t,0,0,function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+K(~~(t/60),2)+e+K(~~t%60,2)})}function De(t,e){var n=(e||"").match(t)||[],r=n[n.length-1]||[],o=(r+"").match(Io)||["-",0,0],i=+(60*o[1])+M(o[2]);return"+"===o[0]?i:-i}function Te(t,n){var r,o;return n._isUTC?(r=n.clone(),o=(g(t)||s(t)?t.valueOf():ge(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+o),e.updateOffset(r,!1),r):ge(t).local()}function ke(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Ce(t,n){var r,o=this._offset||0;return this.isValid()?null!=t?("string"==typeof t?t=De(qr,t):Math.abs(t)<16&&(t=60*t),!this._isUTC&&n&&(r=ke(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==t&&(!n||this._changeInProgress?Ke(this,Be(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?o:ke(this):null!=t?this:NaN}function Se(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function xe(t){return this.utcOffset(0,t)}function Ye(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(ke(this),"m")),this}function Oe(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(De(zr,this._i)),this}function Pe(t){return!!this.isValid()&&(t=t?ge(t).utcOffset():0,(this.utcOffset()-t)%60===0)}function Re(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ie(){if(!m(this._isDSTShifted))return this._isDSTShifted;var t={};if(_(t,this),t=me(t),t._a){var e=t._isUTC?d(t._a):ge(t._a);this._isDSTShifted=this.isValid()&&b(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function je(){return!!this.isValid()&&!this._isUTC}function Ne(){return!!this.isValid()&&this._isUTC}function Fe(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Be(t,e){var n,r,o,i=t,a=null;return Le(t)?i={ms:t._milliseconds,d:t._days,M:t._months}:"number"==typeof t?(i={},e?i[e]=t:i.milliseconds=t):(a=jo.exec(t))?(n="-"===a[1]?-1:1,i={y:0,d:M(a[eo])*n,h:M(a[no])*n,m:M(a[ro])*n,s:M(a[oo])*n,ms:M(a[io])*n}):(a=No.exec(t))?(n="-"===a[1]?-1:1,i={y:He(a[2],n),M:He(a[3],n),w:He(a[4],n),d:He(a[5],n),h:He(a[6],n),m:He(a[7],n),s:He(a[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(o=Qe(ge(i.from),ge(i.to)),i={},i.ms=o.milliseconds,i.M=o.months),r=new we(i),Le(t)&&l(t,"_locale")&&(r._locale=t._locale),r}function He(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Ue(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Qe(t,e){var n;return t.isValid()&&e.isValid()?(e=Te(e,t),t.isBefore(e)?n=Ue(t,e):(n=Ue(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function We(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function Ge(t,e){return function(n,r){var o,i;return null===r||isNaN(+r)||(E(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),n="string"==typeof n?+n:n,o=Be(n,r),Ke(this,o,t),this}}function Ke(t,n,r,o){var i=n._milliseconds,a=We(n._days),s=We(n._months);t.isValid()&&(o=null==o||o,i&&t._d.setTime(t._d.valueOf()+i*r),a&&Q(t,"Date",U(t,"Date")+a*r),s&&ct(t,U(t,"Month")+s*r),o&&e.updateOffset(t,a||s))}function ze(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function qe(t,n){var r=t||ge(),o=Te(r,this).startOf("day"),i=e.calendarFormat(this,o)||"sameElse",a=n&&(D(n[i])?n[i].call(this,r):n[i]);return this.format(a||this.localeData().calendar(i,this,ge(r)))}function Je(){return new y(this)}function Ve(t,e){var n=g(t)?t:ge(t);return!(!this.isValid()||!n.isValid())&&(e=j(m(e)?"millisecond":e),"millisecond"===e?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())}function Ze(t,e){var n=g(t)?t:ge(t);return!(!this.isValid()||!n.isValid())&&(e=j(m(e)?"millisecond":e),"millisecond"===e?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())}function Xe(t,e,n,r){return r=r||"()",("("===r[0]?this.isAfter(t,n):!this.isBefore(t,n))&&(")"===r[1]?this.isBefore(e,n):!this.isAfter(e,n))}function $e(t,e){var n,r=g(t)?t:ge(t);return!(!this.isValid()||!r.isValid())&&(e=j(e||"millisecond"),"millisecond"===e?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))}function tn(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function en(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function nn(t,e,n){var r,o,i,a;return this.isValid()?(r=Te(t,this),r.isValid()?(o=6e4*(r.utcOffset()-this.utcOffset()),e=j(e),"year"===e||"month"===e||"quarter"===e?(a=rn(this,r),"quarter"===e?a/=3:"year"===e&&(a/=12)):(i=this-r,a="second"===e?i/1e3:"minute"===e?i/6e4:"hour"===e?i/36e5:"day"===e?(i-o)/864e5:"week"===e?(i-o)/6048e5:i),n?a:v(a)):NaN):NaN}function rn(t,e){var n,r,o=12*(e.year()-t.year())+(e.month()-t.month()),i=t.clone().add(o,"months");return e-i<0?(n=t.clone().add(o-1,"months"),r=(e-i)/(i-n)):(n=t.clone().add(o+1,"months"),r=(e-i)/(n-i)),-(o+r)||0}function on(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function an(){var t=this.clone().utc();return 0<t.year()&&t.year()<=9999?D(Date.prototype.toISOString)?this.toDate().toISOString():V(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):V(t,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function sn(t){t||(t=this.isUtc()?e.defaultFormatUtc:e.defaultFormat);var n=V(this,t);return this.localeData().postformat(n)}function un(t,e){return this.isValid()&&(g(t)&&t.isValid()||ge(t).isValid())?Be({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function ln(t){return this.from(ge(),t)}function cn(t,e){return this.isValid()&&(g(t)&&t.isValid()||ge(t).isValid())?Be({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function dn(t){return this.to(ge(),t)}function pn(t){var e;return void 0===t?this._locale._abbr:(e=ne(t),null!=e&&(this._locale=e),this)}function hn(){return this._locale}function fn(t){switch(t=j(t)){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"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this}function An(t){return t=j(t),void 0===t||"millisecond"===t?this:("date"===t&&(t="day"),this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms"))}function mn(){return this._d.valueOf()-6e4*(this._offset||0)}function _n(){return Math.floor(this.valueOf()/1e3)}function yn(){return new Date(this.valueOf())}function gn(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function vn(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function Mn(){return this.isValid()?this.toISOString():null}function bn(){return f(this)}function wn(){return c({},h(this))}function Ln(){return h(this).overflow}function En(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Dn(t,e){z(0,[t,t.length],0,e)}function Tn(t){return xn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function kn(t){return xn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Cn(){return Lt(this.year(),1,4)}function Sn(){var t=this.localeData()._week;return Lt(this.year(),t.dow,t.doy)}function xn(t,e,n,r,o){var i;return null==t?wt(this,r,o).year:(i=Lt(t,r,o),e>i&&(e=i),Yn.call(this,t,e,n,r,o))}function Yn(t,e,n,r,o){var i=bt(t,e,n,r,o),a=vt(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function On(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function Pn(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}function Rn(t,e){e[io]=M(1e3*("0."+t))}function In(){return this._isUTC?"UTC":""}function jn(){return this._isUTC?"Coordinated Universal Time":""}function Nn(t){return ge(1e3*t)}function Fn(){return ge.apply(null,arguments).parseZone()}function Bn(t){return t}function Hn(t,e,n,r){var o=ne(),i=d().set(r,e);return o[n](i,t)}function Un(t,e,n){if("number"==typeof t&&(e=t,t=void 0),t=t||"",null!=e)return Hn(t,e,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=Hn(t,r,n,"month");return o}function Qn(t,e,n,r){"boolean"==typeof t?("number"==typeof e&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,"number"==typeof e&&(n=e,e=void 0),e=e||"");var o=ne(),i=t?o._week.dow:0;if(null!=n)return Hn(e,(n+i)%7,r,"day");var a,s=[];for(a=0;a<7;a++)s[a]=Hn(e,(a+i)%7,r,"day");return s}function Wn(t,e){return Un(t,e,"months")}function Gn(t,e){return Un(t,e,"monthsShort")}function Kn(t,e,n){return Qn(t,e,n,"weekdays")}function zn(t,e,n){return Qn(t,e,n,"weekdaysShort")}function qn(t,e,n){return Qn(t,e,n,"weekdaysMin")}function Jn(){var t=this._data;return this._milliseconds=Vo(this._milliseconds),
this._days=Vo(this._days),this._months=Vo(this._months),t.milliseconds=Vo(t.milliseconds),t.seconds=Vo(t.seconds),t.minutes=Vo(t.minutes),t.hours=Vo(t.hours),t.months=Vo(t.months),t.years=Vo(t.years),this}function Vn(t,e,n,r){var o=Be(e,n);return t._milliseconds+=r*o._milliseconds,t._days+=r*o._days,t._months+=r*o._months,t._bubble()}function Zn(t,e){return Vn(this,t,e,1)}function Xn(t,e){return Vn(this,t,e,-1)}function $n(t){return t<0?Math.floor(t):Math.ceil(t)}function tr(){var t,e,n,r,o,i=this._milliseconds,a=this._days,s=this._months,u=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*$n(nr(s)+a),a=0,s=0),u.milliseconds=i%1e3,t=v(i/1e3),u.seconds=t%60,e=v(t/60),u.minutes=e%60,n=v(e/60),u.hours=n%24,a+=v(n/24),o=v(er(a)),s+=o,a-=$n(nr(o)),r=v(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function er(t){return 4800*t/146097}function nr(t){return 146097*t/4800}function rr(t){var e,n,r=this._milliseconds;if(t=j(t),"month"===t||"year"===t)return e=this._days+r/864e5,n=this._months+er(e),"month"===t?n:n/12;switch(e=this._days+Math.round(nr(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}}function or(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*M(this._months/12)}function ir(t){return function(){return this.as(t)}}function ar(t){return t=j(t),this[t+"s"]()}function sr(t){return function(){return this._data[t]}}function ur(){return v(this.days()/7)}function lr(t,e,n,r,o){return o.relativeTime(e||1,!!n,t,r)}function cr(t,e,n){var r=Be(t).abs(),o=pi(r.as("s")),i=pi(r.as("m")),a=pi(r.as("h")),s=pi(r.as("d")),u=pi(r.as("M")),l=pi(r.as("y")),c=o<hi.s&&["s",o]||i<=1&&["m"]||i<hi.m&&["mm",i]||a<=1&&["h"]||a<hi.h&&["hh",a]||s<=1&&["d"]||s<hi.d&&["dd",s]||u<=1&&["M"]||u<hi.M&&["MM",u]||l<=1&&["y"]||["yy",l];return c[2]=e,c[3]=+t>0,c[4]=n,lr.apply(null,c)}function dr(t){return void 0===t?pi:"function"==typeof t&&(pi=t,!0)}function pr(t,e){return void 0!==hi[t]&&(void 0===e?hi[t]:(hi[t]=e,!0))}function hr(t){var e=this.localeData(),n=cr(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}function fr(){var t,e,n,r=fi(this._milliseconds)/1e3,o=fi(this._days),i=fi(this._months);t=v(r/60),e=v(t/60),r%=60,t%=60,n=v(i/12),i%=12;var a=n,s=i,u=o,l=e,c=t,d=r,p=this.asSeconds();return p?(p<0?"-":"")+"P"+(a?a+"Y":"")+(s?s+"M":"")+(u?u+"D":"")+(l||c||d?"T":"")+(l?l+"H":"")+(c?c+"M":"")+(d?d+"S":""):"P0D"}var Ar,mr;mr=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,r=0;r<n;r++)if(r in e&&t.call(this,e[r],r,e))return!0;return!1};var _r=e.momentProperties=[],yr=!1,gr={};e.suppressDeprecationWarnings=!1,e.deprecationHandler=null;var vr;vr=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)l(t,e)&&n.push(e);return n};var Mr,br={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},wr={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"},Lr="Invalid date",Er="%d",Dr=/\d{1,2}/,Tr={future:"in %s",past:"%s ago",s:"a few 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"},kr={},Cr={},Sr=/(\[[^\[]*\])|(\\)?([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,xr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Yr={},Or={},Pr=/\d/,Rr=/\d\d/,Ir=/\d{3}/,jr=/\d{4}/,Nr=/[+-]?\d{6}/,Fr=/\d\d?/,Br=/\d\d\d\d?/,Hr=/\d\d\d\d\d\d?/,Ur=/\d{1,3}/,Qr=/\d{1,4}/,Wr=/[+-]?\d{1,6}/,Gr=/\d+/,Kr=/[+-]?\d+/,zr=/Z|[+-]\d\d:?\d\d/gi,qr=/Z|[+-]\d\d(?::?\d\d)?/gi,Jr=/[+-]?\d+(\.\d{1,3})?/,Vr=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Zr={},Xr={},$r=0,to=1,eo=2,no=3,ro=4,oo=5,io=6,ao=7,so=8;Mr=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},z("M",["MM",2],"Mo",function(){return this.month()+1}),z("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),z("MMMM",0,0,function(t){return this.localeData().months(this,t)}),I("month","M"),F("month",8),X("M",Fr),X("MM",Fr,Rr),X("MMM",function(t,e){return e.monthsShortRegex(t)}),X("MMMM",function(t,e){return e.monthsRegex(t)}),nt(["M","MM"],function(t,e){e[to]=M(t)-1}),nt(["MMM","MMMM"],function(t,e,n,r){var o=n._locale.monthsParse(t,r,n._strict);null!=o?e[to]=o:h(n).invalidMonth=t});var uo=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/,lo="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),co="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),po=Vr,ho=Vr;z("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),z(0,["YY",2],0,function(){return this.year()%100}),z(0,["YYYY",4],0,"year"),z(0,["YYYYY",5],0,"year"),z(0,["YYYYYY",6,!0],0,"year"),I("year","y"),F("year",1),X("Y",Kr),X("YY",Fr,Rr),X("YYYY",Qr,jr),X("YYYYY",Wr,Nr),X("YYYYYY",Wr,Nr),nt(["YYYYY","YYYYYY"],$r),nt("YYYY",function(t,n){n[$r]=2===t.length?e.parseTwoDigitYear(t):M(t)}),nt("YY",function(t,n){n[$r]=e.parseTwoDigitYear(t)}),nt("Y",function(t,e){e[$r]=parseInt(t,10)}),e.parseTwoDigitYear=function(t){return M(t)+(M(t)>68?1900:2e3)};var fo=H("FullYear",!0);z("w",["ww",2],"wo","week"),z("W",["WW",2],"Wo","isoWeek"),I("week","w"),I("isoWeek","W"),F("week",5),F("isoWeek",5),X("w",Fr),X("ww",Fr,Rr),X("W",Fr),X("WW",Fr,Rr),rt(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=M(t)});var Ao={dow:0,doy:6};z("d",0,"do","day"),z("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),z("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),z("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),z("e",0,0,"weekday"),z("E",0,0,"isoWeekday"),I("day","d"),I("weekday","e"),I("isoWeekday","E"),F("day",11),F("weekday",11),F("isoWeekday",11),X("d",Fr),X("e",Fr),X("E",Fr),X("dd",function(t,e){return e.weekdaysMinRegex(t)}),X("ddd",function(t,e){return e.weekdaysShortRegex(t)}),X("dddd",function(t,e){return e.weekdaysRegex(t)}),rt(["dd","ddd","dddd"],function(t,e,n,r){var o=n._locale.weekdaysParse(t,r,n._strict);null!=o?e.d=o:h(n).invalidWeekday=t}),rt(["d","e","E"],function(t,e,n,r){e[r]=M(t)});var mo="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),_o="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),yo="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),go=Vr,vo=Vr,Mo=Vr;z("H",["HH",2],0,"hour"),z("h",["hh",2],0,Wt),z("k",["kk",2],0,Gt),z("hmm",0,0,function(){return""+Wt.apply(this)+K(this.minutes(),2)}),z("hmmss",0,0,function(){return""+Wt.apply(this)+K(this.minutes(),2)+K(this.seconds(),2)}),z("Hmm",0,0,function(){return""+this.hours()+K(this.minutes(),2)}),z("Hmmss",0,0,function(){return""+this.hours()+K(this.minutes(),2)+K(this.seconds(),2)}),Kt("a",!0),Kt("A",!1),I("hour","h"),F("hour",13),X("a",zt),X("A",zt),X("H",Fr),X("h",Fr),X("HH",Fr,Rr),X("hh",Fr,Rr),X("hmm",Br),X("hmmss",Hr),X("Hmm",Br),X("Hmmss",Hr),nt(["H","HH"],no),nt(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),nt(["h","hh"],function(t,e,n){e[no]=M(t),h(n).bigHour=!0}),nt("hmm",function(t,e,n){var r=t.length-2;e[no]=M(t.substr(0,r)),e[ro]=M(t.substr(r)),h(n).bigHour=!0}),nt("hmmss",function(t,e,n){var r=t.length-4,o=t.length-2;e[no]=M(t.substr(0,r)),e[ro]=M(t.substr(r,2)),e[oo]=M(t.substr(o)),h(n).bigHour=!0}),nt("Hmm",function(t,e,n){var r=t.length-2;e[no]=M(t.substr(0,r)),e[ro]=M(t.substr(r))}),nt("Hmmss",function(t,e,n){var r=t.length-4,o=t.length-2;e[no]=M(t.substr(0,r)),e[ro]=M(t.substr(r,2)),e[oo]=M(t.substr(o))});var bo,wo=/[ap]\.?m?\.?/i,Lo=H("Hours",!0),Eo={calendar:br,longDateFormat:wr,invalidDate:Lr,ordinal:Er,ordinalParse:Dr,relativeTime:Tr,months:lo,monthsShort:co,week:Ao,weekdays:mo,weekdaysMin:yo,weekdaysShort:_o,meridiemParse:wo},Do={},To=/^\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)?)?/,ko=/^\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)?)?/,Co=/Z|[+-]\d\d(?::?\d\d)?/,So=[["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}/]],xo=[["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/]],Yo=/^\/?Date\((\-?\d+)/i;e.createFromInputFallback=L("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),e.ISO_8601=function(){};var Oo=L("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=ge.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:A()}),Po=L("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=ge.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:A()}),Ro=function(){return Date.now?Date.now():+new Date};Ee("Z",":"),Ee("ZZ",""),X("Z",qr),X("ZZ",qr),nt(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=De(qr,t)});var Io=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var jo=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?\d*)?$/,No=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Be.fn=we.prototype;var Fo=Ge(1,"add"),Bo=Ge(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ho=L("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});z(0,["gg",2],0,function(){return this.weekYear()%100}),z(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Dn("gggg","weekYear"),Dn("ggggg","weekYear"),Dn("GGGG","isoWeekYear"),Dn("GGGGG","isoWeekYear"),I("weekYear","gg"),I("isoWeekYear","GG"),F("weekYear",1),F("isoWeekYear",1),X("G",Kr),X("g",Kr),X("GG",Fr,Rr),X("gg",Fr,Rr),X("GGGG",Qr,jr),X("gggg",Qr,jr),X("GGGGG",Wr,Nr),X("ggggg",Wr,Nr),rt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=M(t)}),rt(["gg","GG"],function(t,n,r,o){n[o]=e.parseTwoDigitYear(t)}),z("Q",0,"Qo","quarter"),I("quarter","Q"),F("quarter",7),X("Q",Pr),nt("Q",function(t,e){e[to]=3*(M(t)-1)}),z("D",["DD",2],"Do","date"),I("date","D"),F("date",9),X("D",Fr),X("DD",Fr,Rr),X("Do",function(t,e){return t?e._ordinalParse:e._ordinalParseLenient}),nt(["D","DD"],eo),nt("Do",function(t,e){e[eo]=M(t.match(Fr)[0],10)});var Uo=H("Date",!0);z("DDD",["DDDD",3],"DDDo","dayOfYear"),I("dayOfYear","DDD"),F("dayOfYear",4),X("DDD",Ur),X("DDDD",Ir),nt(["DDD","DDDD"],function(t,e,n){n._dayOfYear=M(t)}),z("m",["mm",2],0,"minute"),I("minute","m"),F("minute",14),X("m",Fr),X("mm",Fr,Rr),nt(["m","mm"],ro);var Qo=H("Minutes",!1);z("s",["ss",2],0,"second"),I("second","s"),F("second",15),X("s",Fr),X("ss",Fr,Rr),nt(["s","ss"],oo);var Wo=H("Seconds",!1);z("S",0,0,function(){return~~(this.millisecond()/100)}),z(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),z(0,["SSS",3],0,"millisecond"),z(0,["SSSS",4],0,function(){return 10*this.millisecond()}),z(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),z(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),z(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),z(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),z(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),I("millisecond","ms"),F("millisecond",16),X("S",Ur,Pr),X("SS",Ur,Rr),X("SSS",Ur,Ir);var Go;for(Go="SSSS";Go.length<=9;Go+="S")X(Go,Gr);for(Go="S";Go.length<=9;Go+="S")nt(Go,Rn);var Ko=H("Milliseconds",!1);z("z",0,0,"zoneAbbr"),z("zz",0,0,"zoneName");var zo=y.prototype;zo.add=Fo,zo.calendar=qe,zo.clone=Je,zo.diff=nn,zo.endOf=An,zo.format=sn,zo.from=un,zo.fromNow=ln,zo.to=cn,zo.toNow=dn,zo.get=W,zo.invalidAt=Ln,zo.isAfter=Ve,zo.isBefore=Ze,zo.isBetween=Xe,zo.isSame=$e,zo.isSameOrAfter=tn,zo.isSameOrBefore=en,zo.isValid=bn,zo.lang=Ho,zo.locale=pn,zo.localeData=hn,zo.max=Po,zo.min=Oo,zo.parsingFlags=wn,zo.set=G,zo.startOf=fn,zo.subtract=Bo,zo.toArray=gn,zo.toObject=vn,zo.toDate=yn,zo.toISOString=an,zo.toJSON=Mn,zo.toString=on,zo.unix=_n,zo.valueOf=mn,zo.creationData=En,zo.year=fo,zo.isLeapYear=yt,zo.weekYear=Tn,zo.isoWeekYear=kn,zo.quarter=zo.quarters=On,zo.month=dt,zo.daysInMonth=pt,zo.week=zo.weeks=kt,zo.isoWeek=zo.isoWeeks=Ct,zo.weeksInYear=Sn,zo.isoWeeksInYear=Cn,zo.date=Uo,zo.day=zo.days=jt,zo.weekday=Nt,zo.isoWeekday=Ft,zo.dayOfYear=Pn,zo.hour=zo.hours=Lo,zo.minute=zo.minutes=Qo,zo.second=zo.seconds=Wo,zo.millisecond=zo.milliseconds=Ko,zo.utcOffset=Ce,zo.utc=xe,zo.local=Ye,zo.parseZone=Oe,zo.hasAlignedHourOffset=Pe,zo.isDST=Re,zo.isLocal=je,zo.isUtcOffset=Ne,zo.isUtc=Fe,zo.isUTC=Fe,zo.zoneAbbr=In,zo.zoneName=jn,zo.dates=L("dates accessor is deprecated. Use date instead.",Uo),zo.months=L("months accessor is deprecated. Use month instead",dt),zo.years=L("years accessor is deprecated. Use year instead",fo),zo.zone=L("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Se),zo.isDSTShifted=L("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Ie);var qo=zo,Jo=C.prototype;Jo.calendar=S,Jo.longDateFormat=x,Jo.invalidDate=Y,Jo.ordinal=O,Jo.preparse=Bn,Jo.postformat=Bn,Jo.relativeTime=P,Jo.pastFuture=R,Jo.set=T,Jo.months=at,Jo.monthsShort=st,Jo.monthsParse=lt,Jo.monthsRegex=ft,Jo.monthsShortRegex=ht,Jo.week=Et,Jo.firstDayOfYear=Tt,Jo.firstDayOfWeek=Dt,Jo.weekdays=Yt,Jo.weekdaysMin=Pt,Jo.weekdaysShort=Ot,Jo.weekdaysParse=It,Jo.weekdaysRegex=Bt,Jo.weekdaysShortRegex=Ht,Jo.weekdaysMinRegex=Ut,Jo.isPM=qt,Jo.meridiem=Jt,$t("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===M(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}}),e.lang=L("moment.lang is deprecated. Use moment.locale instead.",$t),e.langData=L("moment.langData is deprecated. Use moment.localeData instead.",ne);var Vo=Math.abs,Zo=ir("ms"),Xo=ir("s"),$o=ir("m"),ti=ir("h"),ei=ir("d"),ni=ir("w"),ri=ir("M"),oi=ir("y"),ii=sr("milliseconds"),ai=sr("seconds"),si=sr("minutes"),ui=sr("hours"),li=sr("days"),ci=sr("months"),di=sr("years"),pi=Math.round,hi={s:45,m:45,h:22,d:26,M:11},fi=Math.abs,Ai=we.prototype;Ai.abs=Jn,Ai.add=Zn,Ai.subtract=Xn,Ai.as=rr,Ai.asMilliseconds=Zo,Ai.asSeconds=Xo,Ai.asMinutes=$o,Ai.asHours=ti,Ai.asDays=ei,Ai.asWeeks=ni,Ai.asMonths=ri,Ai.asYears=oi,Ai.valueOf=or,Ai._bubble=tr,Ai.get=ar,Ai.milliseconds=ii,Ai.seconds=ai,Ai.minutes=si,Ai.hours=ui,Ai.days=li,Ai.weeks=ur,Ai.months=ci,Ai.years=di,Ai.humanize=hr,Ai.toISOString=fr,Ai.toString=fr,Ai.toJSON=fr,Ai.locale=pn,Ai.localeData=hn,Ai.toIsoString=L("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",fr),Ai.lang=Ho,z("X",0,0,"unix"),z("x",0,0,"valueOf"),X("x",Kr),X("X",Jr),nt("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),nt("x",function(t,e,n){n._d=new Date(M(t))}),e.version="2.14.1",r(ge),e.fn=qo,e.min=Me,e.max=be,e.now=Ro,e.utc=d,e.unix=Nn,e.months=Wn,e.isDate=s,e.locale=$t,e.invalid=A,e.duration=Be,e.isMoment=g,e.weekdays=Kn,e.parseZone=Fn,e.localeData=ne,e.isDuration=Le,e.monthsShort=Gn,e.weekdaysMin=qn,e.defineLocale=te,e.updateLocale=ee,e.locales=re,e.weekdaysShort=zn,e.normalizeUnits=j,e.relativeTimeRounding=dr,e.relativeTimeThreshold=pr,e.calendarFormat=ze,e.prototype=qo;var mi=e;return mi})}).call(e,n(17)(t))},function(t,e,n){"use strict";t.exports=n(651)},function(t,e,n){"use strict";function r(t,e,n,r,o,i,a,s){if(!t){var u;if(void 0===e)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,i,a,s],c=0;u=new Error(e.replace(/%s/g,function(){return l[c++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}}t.exports=r},function(t,e){"use strict";function n(t){for(var e=arguments.length-1,n="Minified React error #"+t+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+t,r=0;r<e;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var o=new Error(n);throw o.name="Invariant Violation",o.framesToPop=1,o}t.exports=n},function(t,e,n){"use strict";var r=n(20),o=r;t.exports=o},function(t,e){"use strict";function n(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function r(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(e).map(function(t){return e[t]});if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(t){o[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(i){return!1}}var o=Object.prototype.hasOwnProperty,i=Objec