@opfr/utils-lang 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/array.d.ts +1 -0
- package/dist/array.d.ts.map +1 -1
- package/dist/array.js +5 -0
- package/dist/array.js.map +1 -1
- package/dist/index.es.js +469 -466
- package/dist/index.umd.js +5 -5
- package/package.json +2 -2
package/dist/index.umd.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
(function(f,me){typeof exports=="object"&&typeof module<"u"?me(exports):typeof define=="function"&&define.amd?define(["exports"],me):(f=typeof globalThis<"u"?globalThis:f||self,me(f.utils={}))})(this,function(f){"use strict";const me=e=>new Intl.NumberFormat("de-DE").format(e),Nt=(e,t,s=Math.random)=>Math.floor(s()*(t-e)+e),
|
|
1
|
+
(function(f,me){typeof exports=="object"&&typeof module<"u"?me(exports):typeof define=="function"&&define.amd?define(["exports"],me):(f=typeof globalThis<"u"?globalThis:f||self,me(f.utils={}))})(this,function(f){"use strict";const me=e=>new Intl.NumberFormat("de-DE").format(e),Nt=(e,t,s=Math.random)=>Math.floor(s()*(t-e)+e),Ls=e=>{let t=e;const s=2147483648,r=1103515245,n=12345;return()=>(t=(r*t+n)%s,t/(s-1))},Cs=(e,t,s)=>Math.max(t,Math.min(e,s)),Us=e=>typeof e=="number",Es=(e,t)=>e.reduce((s,r,n)=>{const a=Math.floor(n/t);return(s[a]||(s[a]=[])).push(r),s},[]),Hs=(e,t)=>e.reduce((s,r)=>((s[t(r)]=s[t(r)]||[]).push(r),s),{}),As=(e,t)=>[...e].sort((s,r)=>t(s)<t(r)?-1:t(s)>t(r)?1:0),js=(e,t,s=r=>r)=>e.filter(r=>t.some(n=>s(n)===s(r))),Vs=(e,t,s=r=>r)=>e.filter(r=>!t.some(n=>s(n)===s(r))),Gs=(e,t)=>[...new Set(e.map(s=>t(s)))],$s=e=>{for(let t=e.length-1;t>0;t--){const s=Math.floor(Math.random()*(t+1));[e[t],e[s]]=[e[s],e[t]]}return e},zs=e=>e.filter(t=>t!=null),Zs=(e,t,s)=>[...e,...Ze(t,s)],Bs=(e,t,s)=>[...Ze(t,s),...e],qs=(e,t,s)=>[...e,...Pt(t,s)],Ze=(e,t)=>t?[e]:[],Pt=(e,t)=>t?e:[],Rt=e=>e[Nt(0,e.length)],Js=(e,t)=>Array.from({length:t}).map(()=>Rt(e)).reduce((s,r)=>({...s,[r]:s[r]+1}),{}),Qs=({start:e=0,stop:t,step:s=1})=>{if(s===0)throw new RangeError("step cannot be equal to 0");if(s>0&&e>=t||s<0&&e<=t)return[];const n=[];for(let a=e;s>0?a<t:a>t;a+=s)n.push(a);return n},Ks=e=>Object.fromEntries(e),Ft=" ",xt=" ",Xs=(e,t="")=>e.split(t).join(Ft),er=(e,t="")=>e.split(t).join(xt),tr=(e,t)=>e.length>t?e.slice(0,t-3)+"...":e,It=e=>e&&e[0].toUpperCase()+e.slice(1),Be=e=>e.split(" ").map(It).join(" "),sr=e=>/^\d+$/.test(e),rr=e=>e!==Math.round(e)||e<1||e===1/0||e===-1/0?null:e===1?"1er":`${e}ème`,nr=e=>e.trim().replace(/\s+/gi," "),ar=e=>{const t=e.split(" "),r=(n=>{let a=1/0;for(let i=0;i<n.length;i++){const u=Math.abs(n.slice(0,i+1).join(" ").length-n.slice(i+1).join(" ").length);if(u<=a)a=u;else return i-1}return a})(t);return t.length===1?[t[0]]:[t.slice(0,r+1),t.slice(r+1)].map(n=>n.join(" "))},Lt=e=>typeof e=="string",Ct=e=>{const t=e.replace(/[^a-zA-Z0-9]+(.)/g,(s,r)=>r.toUpperCase());return`${t.charAt(0).toLowerCase()}${t.slice(1)}`},ir=e=>{const t=Ct(e);return`${t.charAt(0).toUpperCase()}${t.slice(1)}`},or=e=>e!=null,lr=e=>Lt(e)?/^[\],:{}\s]*$/.test(e.replace(/\\["\\\/bfnrtu]/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")):!1;//! moment.js
|
|
2
2
|
//! version : 2.30.1
|
|
3
3
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
4
4
|
//! license : MIT
|
|
5
5
|
//! momentjs.com
|
|
6
|
-
var
|
|
7
|
-
[`+a+"] ";for(i in arguments[0])g(arguments[0],i)&&(n+=i+": "+arguments[0][i]+", ");n=n.slice(0,-2)}else n=arguments[a];r.push(n)}
|
|
6
|
+
var Ut;function l(){return Ut.apply(null,arguments)}function ur(e){Ut=e}function F(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function te(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function g(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function qe(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(g(e,t))return!1;return!0}function b(e){return e===void 0}function A(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function _e(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Et(e,t){var s=[],r,n=e.length;for(r=0;r<n;++r)s.push(t(e[r],r));return s}function Q(e,t){for(var s in t)g(t,s)&&(e[s]=t[s]);return g(t,"toString")&&(e.toString=t.toString),g(t,"valueOf")&&(e.valueOf=t.valueOf),e}function C(e,t,s,r){return hs(e,t,s,r,!0).utc()}function dr(){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 m(e){return e._pf==null&&(e._pf=dr()),e._pf}var Je;Array.prototype.some?Je=Array.prototype.some:Je=function(e){var t=Object(this),s=t.length>>>0,r;for(r=0;r<s;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};function Qe(e){var t=null,s=!1,r=e._d&&!isNaN(e._d.getTime());if(r&&(t=m(e),s=Je.call(t.parsedDateParts,function(n){return n!=null}),r=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&s),e._strict&&(r=r&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=r;else return r;return e._isValid}function Oe(e){var t=C(NaN);return e!=null?Q(m(t),e):m(t).userInvalidated=!0,t}var Ht=l.momentProperties=[],Ke=!1;function Xe(e,t){var s,r,n,a=Ht.length;if(b(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),b(t._i)||(e._i=t._i),b(t._f)||(e._f=t._f),b(t._l)||(e._l=t._l),b(t._strict)||(e._strict=t._strict),b(t._tzm)||(e._tzm=t._tzm),b(t._isUTC)||(e._isUTC=t._isUTC),b(t._offset)||(e._offset=t._offset),b(t._pf)||(e._pf=m(t)),b(t._locale)||(e._locale=t._locale),a>0)for(s=0;s<a;s++)r=Ht[s],n=t[r],b(n)||(e[r]=n);return e}function ye(e){Xe(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Ke===!1&&(Ke=!0,l.updateOffset(this),Ke=!1)}function x(e){return e instanceof ye||e!=null&&e._isAMomentObject!=null}function At(e){l.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function N(e,t){var s=!0;return Q(function(){if(l.deprecationHandler!=null&&l.deprecationHandler(null,e),s){var r=[],n,a,i,u=arguments.length;for(a=0;a<u;a++){if(n="",typeof arguments[a]=="object"){n+=`
|
|
7
|
+
[`+a+"] ";for(i in arguments[0])g(arguments[0],i)&&(n+=i+": "+arguments[0][i]+", ");n=n.slice(0,-2)}else n=arguments[a];r.push(n)}At(e+`
|
|
8
8
|
Arguments: `+Array.prototype.slice.call(r).join("")+`
|
|
9
|
-
`+new Error().stack),s=!1}return t.apply(this,arguments)},t)}var At={};function jt(e,t){l.deprecationHandler!=null&&l.deprecationHandler(e,t),At[e]||(Ht(t),At[e]=!0)}l.suppressDeprecationWarnings=!1,l.deprecationHandler=null;function U(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function dr(e){var t,s;for(s in e)g(e,s)&&(t=e[s],U(t)?this[s]=t:this["_"+s]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function et(e,t){var s=Q({},e),r;for(r in t)g(t,r)&&(te(e[r])&&te(t[r])?(s[r]={},Q(s[r],e[r]),Q(s[r],t[r])):t[r]!=null?s[r]=t[r]:delete s[r]);for(r in e)g(e,r)&&!g(t,r)&&te(e[r])&&(s[r]=Q({},s[r]));return s}function tt(e){e!=null&&this.set(e)}var st;Object.keys?st=Object.keys:st=function(e){var t,s=[];for(t in e)g(e,t)&&s.push(t);return s};var fr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function hr(e,t,s){var r=this._calendar[e]||this._calendar.sameElse;return U(r)?r.call(t,s):r}function E(e,t,s){var r=""+Math.abs(e),n=t-r.length,a=e>=0;return(a?s?"+":"":"-")+Math.pow(10,Math.max(0,n)).toString().substr(1)+r}var rt=/(\[[^\[]*\])|(\\)?([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,Te=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,nt={},ae={};function h(e,t,s,r){var n=r;typeof r=="string"&&(n=function(){return this[r]()}),e&&(ae[e]=n),t&&(ae[t[0]]=function(){return E(n.apply(this,arguments),t[1],t[2])}),s&&(ae[s]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function cr(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function mr(e){var t=e.match(rt),s,r;for(s=0,r=t.length;s<r;s++)ae[t[s]]?t[s]=ae[t[s]]:t[s]=cr(t[s]);return function(n){var a="",i;for(i=0;i<r;i++)a+=U(t[i])?t[i].call(n,e):t[i];return a}}function be(e,t){return e.isValid()?(t=Vt(t,e.localeData()),nt[t]=nt[t]||mr(t),nt[t](e)):e.localeData().invalidDate()}function Vt(e,t){var s=5;function r(n){return t.longDateFormat(n)||n}for(Te.lastIndex=0;s>=0&&Te.test(e);)e=e.replace(Te,r),Te.lastIndex=0,s-=1;return e}var _r={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"};function yr(e){var t=this._longDateFormat[e],s=this._longDateFormat[e.toUpperCase()];return t||!s?t:(this._longDateFormat[e]=s.match(rt).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var wr="Invalid date";function gr(){return this._invalidDate}var Mr="%d",Dr=/\d{1,2}/;function Sr(e){return this._ordinal.replace("%d",e)}var kr={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"};function vr(e,t,s,r){var n=this._relativeTime[s];return U(n)?n(e,t,s,r):n.replace(/%d/i,e)}function Yr(e,t){var s=this._relativeTime[e>0?"future":"past"];return U(s)?s(t):s.replace(/%s/i,t)}var Gt={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function P(e){return typeof e=="string"?Gt[e]||Gt[e.toLowerCase()]:void 0}function at(e){var t={},s,r;for(r in e)g(e,r)&&(s=P(r),s&&(t[s]=e[r]));return t}var pr={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function Or(e){var t=[],s;for(s in e)g(e,s)&&t.push({unit:s,priority:pr[s]});return t.sort(function(r,n){return r.priority-n.priority}),t}var $t=/\d/,W=/\d\d/,zt=/\d{3}/,it=/\d{4}/,We=/[+-]?\d{6}/,S=/\d\d?/,Zt=/\d\d\d\d?/,Bt=/\d\d\d\d\d\d?/,Ne=/\d{1,3}/,ot=/\d{1,4}/,Pe=/[+-]?\d{1,6}/,ie=/\d+/,Re=/[+-]?\d+/,Tr=/Z|[+-]\d\d:?\d\d/gi,xe=/Z|[+-]\d\d(?::?\d\d)?/gi,br=/[+-]?\d+(\.\d{1,3})?/,we=/[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,oe=/^[1-9]\d?/,lt=/^([1-9]\d|\d)/,Fe;Fe={};function d(e,t,s){Fe[e]=U(t)?t:function(r,n){return r&&s?s:t}}function Wr(e,t){return g(Fe,e)?Fe[e](t._strict,t._locale):new RegExp(Nr(e))}function Nr(e){return j(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,s,r,n,a){return s||r||n||a}))}function j(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function R(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function _(e){var t=+e,s=0;return t!==0&&isFinite(t)&&(s=R(t)),s}var ut={};function D(e,t){var s,r=t,n;for(typeof e=="string"&&(e=[e]),A(t)&&(r=function(a,i){i[t]=_(a)}),n=e.length,s=0;s<n;s++)ut[e[s]]=r}function ge(e,t){D(e,function(s,r,n,a){n._w=n._w||{},t(s,n._w,n,a)})}function Pr(e,t,s){t!=null&&g(ut,e)&&ut[e](t,s._a,s,e)}function Ie(e){return e%4===0&&e%100!==0||e%400===0}var O=0,V=1,H=2,p=3,I=4,G=5,se=6,Rr=7,xr=8;h("Y",0,0,function(){var e=this.year();return e<=9999?E(e,4):"+"+e}),h(0,["YY",2],0,function(){return this.year()%100}),h(0,["YYYY",4],0,"year"),h(0,["YYYYY",5],0,"year"),h(0,["YYYYYY",6,!0],0,"year"),d("Y",Re),d("YY",S,W),d("YYYY",ot,it),d("YYYYY",Pe,We),d("YYYYYY",Pe,We),D(["YYYYY","YYYYYY"],O),D("YYYY",function(e,t){t[O]=e.length===2?l.parseTwoDigitYear(e):_(e)}),D("YY",function(e,t){t[O]=l.parseTwoDigitYear(e)}),D("Y",function(e,t){t[O]=parseInt(e,10)});function Me(e){return Ie(e)?366:365}l.parseTwoDigitYear=function(e){return _(e)+(_(e)>68?1900:2e3)};var qt=le("FullYear",!0);function Fr(){return Ie(this.year())}function le(e,t){return function(s){return s!=null?(Jt(this,e,s),l.updateOffset(this,t),this):De(this,e)}}function De(e,t){if(!e.isValid())return NaN;var s=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?s.getUTCMilliseconds():s.getMilliseconds();case"Seconds":return r?s.getUTCSeconds():s.getSeconds();case"Minutes":return r?s.getUTCMinutes():s.getMinutes();case"Hours":return r?s.getUTCHours():s.getHours();case"Date":return r?s.getUTCDate():s.getDate();case"Day":return r?s.getUTCDay():s.getDay();case"Month":return r?s.getUTCMonth():s.getMonth();case"FullYear":return r?s.getUTCFullYear():s.getFullYear();default:return NaN}}function Jt(e,t,s){var r,n,a,i,u;if(!(!e.isValid()||isNaN(s))){switch(r=e._d,n=e._isUTC,t){case"Milliseconds":return void(n?r.setUTCMilliseconds(s):r.setMilliseconds(s));case"Seconds":return void(n?r.setUTCSeconds(s):r.setSeconds(s));case"Minutes":return void(n?r.setUTCMinutes(s):r.setMinutes(s));case"Hours":return void(n?r.setUTCHours(s):r.setHours(s));case"Date":return void(n?r.setUTCDate(s):r.setDate(s));case"FullYear":break;default:return}a=s,i=e.month(),u=e.date(),u=u===29&&i===1&&!Ie(a)?28:u,n?r.setUTCFullYear(a,i,u):r.setFullYear(a,i,u)}}function Ir(e){return e=P(e),U(this[e])?this[e]():this}function Lr(e,t){if(typeof e=="object"){e=at(e);var s=Or(e),r,n=s.length;for(r=0;r<n;r++)this[s[r].unit](e[s[r].unit])}else if(e=P(e),U(this[e]))return this[e](t);return this}function Cr(e,t){return(e%t+t)%t}var Y;Array.prototype.indexOf?Y=Array.prototype.indexOf:Y=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function dt(e,t){if(isNaN(e)||isNaN(t))return NaN;var s=Cr(t,12);return e+=(t-s)/12,s===1?Ie(e)?29:28:31-s%7%2}h("M",["MM",2],"Mo",function(){return this.month()+1}),h("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),h("MMMM",0,0,function(e){return this.localeData().months(this,e)}),d("M",S,oe),d("MM",S,W),d("MMM",function(e,t){return t.monthsShortRegex(e)}),d("MMMM",function(e,t){return t.monthsRegex(e)}),D(["M","MM"],function(e,t){t[V]=_(e)-1}),D(["MMM","MMMM"],function(e,t,s,r){var n=s._locale.monthsParse(e,r,s._strict);n!=null?t[V]=n:m(s).invalidMonth=e});var Ur="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Qt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Kt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Er=we,Hr=we;function Ar(e,t){return e?x(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Kt).test(t)?"format":"standalone"][e.month()]:x(this._months)?this._months:this._months.standalone}function jr(e,t){return e?x(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Kt.test(t)?"format":"standalone"][e.month()]:x(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Vr(e,t,s){var r,n,a,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=C([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return s?t==="MMM"?(n=Y.call(this._shortMonthsParse,i),n!==-1?n:null):(n=Y.call(this._longMonthsParse,i),n!==-1?n:null):t==="MMM"?(n=Y.call(this._shortMonthsParse,i),n!==-1?n:(n=Y.call(this._longMonthsParse,i),n!==-1?n:null)):(n=Y.call(this._longMonthsParse,i),n!==-1?n:(n=Y.call(this._shortMonthsParse,i),n!==-1?n:null))}function Gr(e,t,s){var r,n,a;if(this._monthsParseExact)return Vr.call(this,e,t,s);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(n=C([2e3,r]),s&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),!s&&!this._monthsParse[r]&&(a="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),s&&t==="MMMM"&&this._longMonthsParse[r].test(e))return r;if(s&&t==="MMM"&&this._shortMonthsParse[r].test(e))return r;if(!s&&this._monthsParse[r].test(e))return r}}function Xt(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=_(t);else if(t=e.localeData().monthsParse(t),!A(t))return e}var s=t,r=e.date();return r=r<29?r:Math.min(r,dt(e.year(),s)),e._isUTC?e._d.setUTCMonth(s,r):e._d.setMonth(s,r),e}function es(e){return e!=null?(Xt(this,e),l.updateOffset(this,!0),this):De(this,"Month")}function $r(){return dt(this.year(),this.month())}function zr(e){return this._monthsParseExact?(g(this,"_monthsRegex")||ts.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=Er),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Zr(e){return this._monthsParseExact?(g(this,"_monthsRegex")||ts.call(this),e?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=Hr),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function ts(){function e(c,y){return y.length-c.length}var t=[],s=[],r=[],n,a,i,u;for(n=0;n<12;n++)a=C([2e3,n]),i=j(this.monthsShort(a,"")),u=j(this.months(a,"")),t.push(i),s.push(u),r.push(u),r.push(i);t.sort(e),s.sort(e),r.sort(e),this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Br(e,t,s,r,n,a,i){var u;return e<100&&e>=0?(u=new Date(e+400,t,s,r,n,a,i),isFinite(u.getFullYear())&&u.setFullYear(e)):u=new Date(e,t,s,r,n,a,i),u}function Se(e){var t,s;return e<100&&e>=0?(s=Array.prototype.slice.call(arguments),s[0]=e+400,t=new Date(Date.UTC.apply(null,s)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Le(e,t,s){var r=7+t-s,n=(7+Se(e,0,r).getUTCDay()-t)%7;return-n+r-1}function ss(e,t,s,r,n){var a=(7+s-r)%7,i=Le(e,r,n),u=1+7*(t-1)+a+i,c,y;return u<=0?(c=e-1,y=Me(c)+u):u>Me(e)?(c=e+1,y=u-Me(e)):(c=e,y=u),{year:c,dayOfYear:y}}function ke(e,t,s){var r=Le(e.year(),t,s),n=Math.floor((e.dayOfYear()-r-1)/7)+1,a,i;return n<1?(i=e.year()-1,a=n+$(i,t,s)):n>$(e.year(),t,s)?(a=n-$(e.year(),t,s),i=e.year()+1):(i=e.year(),a=n),{week:a,year:i}}function $(e,t,s){var r=Le(e,t,s),n=Le(e+1,t,s);return(Me(e)-r+n)/7}h("w",["ww",2],"wo","week"),h("W",["WW",2],"Wo","isoWeek"),d("w",S,oe),d("ww",S,W),d("W",S,oe),d("WW",S,W),ge(["w","ww","W","WW"],function(e,t,s,r){t[r.substr(0,1)]=_(e)});function qr(e){return ke(e,this._week.dow,this._week.doy).week}var Jr={dow:0,doy:6};function Qr(){return this._week.dow}function Kr(){return this._week.doy}function Xr(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function en(e){var t=ke(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}h("d",0,"do","day"),h("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),h("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),h("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),h("e",0,0,"weekday"),h("E",0,0,"isoWeekday"),d("d",S),d("e",S),d("E",S),d("dd",function(e,t){return t.weekdaysMinRegex(e)}),d("ddd",function(e,t){return t.weekdaysShortRegex(e)}),d("dddd",function(e,t){return t.weekdaysRegex(e)}),ge(["dd","ddd","dddd"],function(e,t,s,r){var n=s._locale.weekdaysParse(e,r,s._strict);n!=null?t.d=n:m(s).invalidWeekday=e}),ge(["d","e","E"],function(e,t,s,r){t[r]=_(e)});function tn(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function sn(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function ft(e,t){return e.slice(t,7).concat(e.slice(0,t))}var rn="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),rs="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),nn="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),an=we,on=we,ln=we;function un(e,t){var s=x(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?ft(s,this._week.dow):e?s[e.day()]:s}function dn(e){return e===!0?ft(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function fn(e){return e===!0?ft(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function hn(e,t,s){var r,n,a,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=C([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return s?t==="dddd"?(n=Y.call(this._weekdaysParse,i),n!==-1?n:null):t==="ddd"?(n=Y.call(this._shortWeekdaysParse,i),n!==-1?n:null):(n=Y.call(this._minWeekdaysParse,i),n!==-1?n:null):t==="dddd"?(n=Y.call(this._weekdaysParse,i),n!==-1||(n=Y.call(this._shortWeekdaysParse,i),n!==-1)?n:(n=Y.call(this._minWeekdaysParse,i),n!==-1?n:null)):t==="ddd"?(n=Y.call(this._shortWeekdaysParse,i),n!==-1||(n=Y.call(this._weekdaysParse,i),n!==-1)?n:(n=Y.call(this._minWeekdaysParse,i),n!==-1?n:null)):(n=Y.call(this._minWeekdaysParse,i),n!==-1||(n=Y.call(this._weekdaysParse,i),n!==-1)?n:(n=Y.call(this._shortWeekdaysParse,i),n!==-1?n:null))}function cn(e,t,s){var r,n,a;if(this._weekdaysParseExact)return hn.call(this,e,t,s);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(n=C([2e3,1]).day(r),s&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),s&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(s&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(s&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!s&&this._weekdaysParse[r].test(e))return r}}function mn(e){if(!this.isValid())return e!=null?this:NaN;var t=De(this,"Day");return e!=null?(e=tn(e,this.localeData()),this.add(e-t,"d")):t}function _n(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function yn(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=sn(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function wn(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||ht.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=an),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function gn(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||ht.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=on),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Mn(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||ht.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ln),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ht(){function e(T,J){return J.length-T.length}var t=[],s=[],r=[],n=[],a,i,u,c,y;for(a=0;a<7;a++)i=C([2e3,1]).day(a),u=j(this.weekdaysMin(i,"")),c=j(this.weekdaysShort(i,"")),y=j(this.weekdays(i,"")),t.push(u),s.push(c),r.push(y),n.push(u),n.push(c),n.push(y);t.sort(e),s.sort(e),r.sort(e),n.sort(e),this._weekdaysRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function ct(){return this.hours()%12||12}function Dn(){return this.hours()||24}h("H",["HH",2],0,"hour"),h("h",["hh",2],0,ct),h("k",["kk",2],0,Dn),h("hmm",0,0,function(){return""+ct.apply(this)+E(this.minutes(),2)}),h("hmmss",0,0,function(){return""+ct.apply(this)+E(this.minutes(),2)+E(this.seconds(),2)}),h("Hmm",0,0,function(){return""+this.hours()+E(this.minutes(),2)}),h("Hmmss",0,0,function(){return""+this.hours()+E(this.minutes(),2)+E(this.seconds(),2)});function ns(e,t){h(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}ns("a",!0),ns("A",!1);function as(e,t){return t._meridiemParse}d("a",as),d("A",as),d("H",S,lt),d("h",S,oe),d("k",S,oe),d("HH",S,W),d("hh",S,W),d("kk",S,W),d("hmm",Zt),d("hmmss",Bt),d("Hmm",Zt),d("Hmmss",Bt),D(["H","HH"],p),D(["k","kk"],function(e,t,s){var r=_(e);t[p]=r===24?0:r}),D(["a","A"],function(e,t,s){s._isPm=s._locale.isPM(e),s._meridiem=e}),D(["h","hh"],function(e,t,s){t[p]=_(e),m(s).bigHour=!0}),D("hmm",function(e,t,s){var r=e.length-2;t[p]=_(e.substr(0,r)),t[I]=_(e.substr(r)),m(s).bigHour=!0}),D("hmmss",function(e,t,s){var r=e.length-4,n=e.length-2;t[p]=_(e.substr(0,r)),t[I]=_(e.substr(r,2)),t[G]=_(e.substr(n)),m(s).bigHour=!0}),D("Hmm",function(e,t,s){var r=e.length-2;t[p]=_(e.substr(0,r)),t[I]=_(e.substr(r))}),D("Hmmss",function(e,t,s){var r=e.length-4,n=e.length-2;t[p]=_(e.substr(0,r)),t[I]=_(e.substr(r,2)),t[G]=_(e.substr(n))});function Sn(e){return(e+"").toLowerCase().charAt(0)==="p"}var kn=/[ap]\.?m?\.?/i,vn=le("Hours",!0);function Yn(e,t,s){return e>11?s?"pm":"PM":s?"am":"AM"}var is={calendar:fr,longDateFormat:_r,invalidDate:wr,ordinal:Mr,dayOfMonthOrdinalParse:Dr,relativeTime:kr,months:Ur,monthsShort:Qt,week:Jr,weekdays:rn,weekdaysMin:nn,weekdaysShort:rs,meridiemParse:kn},v={},ve={},Ye;function pn(e,t){var s,r=Math.min(e.length,t.length);for(s=0;s<r;s+=1)if(e[s]!==t[s])return s;return r}function os(e){return e&&e.toLowerCase().replace("_","-")}function On(e){for(var t=0,s,r,n,a;t<e.length;){for(a=os(e[t]).split("-"),s=a.length,r=os(e[t+1]),r=r?r.split("-"):null;s>0;){if(n=Ce(a.slice(0,s).join("-")),n)return n;if(r&&r.length>=s&&pn(a,r)>=s-1)break;s--}t++}return Ye}function Tn(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Ce(e){var t=null,s;if(v[e]===void 0&&typeof module<"u"&&module&&module.exports&&Tn(e))try{t=Ye._abbr,s=require,s("./locale/"+e),K(t)}catch{v[e]=null}return v[e]}function K(e,t){var s;return e&&(b(t)?s=z(e):s=mt(e,t),s?Ye=s:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Ye._abbr}function mt(e,t){if(t!==null){var s,r=is;if(t.abbr=e,v[e]!=null)jt("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."),r=v[e]._config;else if(t.parentLocale!=null)if(v[t.parentLocale]!=null)r=v[t.parentLocale]._config;else if(s=Ce(t.parentLocale),s!=null)r=s._config;else return ve[t.parentLocale]||(ve[t.parentLocale]=[]),ve[t.parentLocale].push({name:e,config:t}),null;return v[e]=new tt(et(r,t)),ve[e]&&ve[e].forEach(function(n){mt(n.name,n.config)}),K(e),v[e]}else return delete v[e],null}function bn(e,t){if(t!=null){var s,r,n=is;v[e]!=null&&v[e].parentLocale!=null?v[e].set(et(v[e]._config,t)):(r=Ce(e),r!=null&&(n=r._config),t=et(n,t),r==null&&(t.abbr=e),s=new tt(t),s.parentLocale=v[e],v[e]=s),K(e)}else v[e]!=null&&(v[e].parentLocale!=null?(v[e]=v[e].parentLocale,e===K()&&K(e)):v[e]!=null&&delete v[e]);return v[e]}function z(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ye;if(!x(e)){if(t=Ce(e),t)return t;e=[e]}return On(e)}function Wn(){return st(v)}function _t(e){var t,s=e._a;return s&&m(e).overflow===-2&&(t=s[V]<0||s[V]>11?V:s[H]<1||s[H]>dt(s[O],s[V])?H:s[p]<0||s[p]>24||s[p]===24&&(s[I]!==0||s[G]!==0||s[se]!==0)?p:s[I]<0||s[I]>59?I:s[G]<0||s[G]>59?G:s[se]<0||s[se]>999?se:-1,m(e)._overflowDayOfYear&&(t<O||t>H)&&(t=H),m(e)._overflowWeeks&&t===-1&&(t=Rr),m(e)._overflowWeekday&&t===-1&&(t=xr),m(e).overflow=t),e}var Nn=/^\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)?)?$/,Pn=/^\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)?)?$/,Rn=/Z|[+-]\d\d(?::?\d\d)?/,Ue=[["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}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],yt=[["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/]],xn=/^\/?Date\((-?\d+)/i,Fn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,In={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function ls(e){var t,s,r=e._i,n=Nn.exec(r)||Pn.exec(r),a,i,u,c,y=Ue.length,T=yt.length;if(n){for(m(e).iso=!0,t=0,s=y;t<s;t++)if(Ue[t][1].exec(n[1])){i=Ue[t][0],a=Ue[t][2]!==!1;break}if(i==null){e._isValid=!1;return}if(n[3]){for(t=0,s=T;t<s;t++)if(yt[t][1].exec(n[3])){u=(n[2]||" ")+yt[t][0];break}if(u==null){e._isValid=!1;return}}if(!a&&u!=null){e._isValid=!1;return}if(n[4])if(Rn.exec(n[4]))c="Z";else{e._isValid=!1;return}e._f=i+(u||"")+(c||""),gt(e)}else e._isValid=!1}function Ln(e,t,s,r,n,a){var i=[Cn(e),Qt.indexOf(t),parseInt(s,10),parseInt(r,10),parseInt(n,10)];return a&&i.push(parseInt(a,10)),i}function Cn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Un(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function En(e,t,s){if(e){var r=rs.indexOf(e),n=new Date(t[0],t[1],t[2]).getDay();if(r!==n)return m(s).weekdayMismatch=!0,s._isValid=!1,!1}return!0}function Hn(e,t,s){if(e)return In[e];if(t)return 0;var r=parseInt(s,10),n=r%100,a=(r-n)/100;return a*60+n}function us(e){var t=Fn.exec(Un(e._i)),s;if(t){if(s=Ln(t[4],t[3],t[2],t[5],t[6],t[7]),!En(t[1],s,e))return;e._a=s,e._tzm=Hn(t[8],t[9],t[10]),e._d=Se.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),m(e).rfc2822=!0}else e._isValid=!1}function An(e){var t=xn.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(ls(e),e._isValid===!1)delete e._isValid;else return;if(us(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:l.createFromInputFallback(e)}l.createFromInputFallback=N("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function ue(e,t,s){return e??t??s}function jn(e){var t=new Date(l.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function wt(e){var t,s,r=[],n,a,i;if(!e._d){for(n=jn(e),e._w&&e._a[H]==null&&e._a[V]==null&&Vn(e),e._dayOfYear!=null&&(i=ue(e._a[O],n[O]),(e._dayOfYear>Me(i)||e._dayOfYear===0)&&(m(e)._overflowDayOfYear=!0),s=Se(i,0,e._dayOfYear),e._a[V]=s.getUTCMonth(),e._a[H]=s.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=n[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[p]===24&&e._a[I]===0&&e._a[G]===0&&e._a[se]===0&&(e._nextDay=!0,e._a[p]=0),e._d=(e._useUTC?Se:Br).apply(null,r),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[p]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==a&&(m(e).weekdayMismatch=!0)}}function Vn(e){var t,s,r,n,a,i,u,c,y;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(a=1,i=4,s=ue(t.GG,e._a[O],ke(k(),1,4).year),r=ue(t.W,1),n=ue(t.E,1),(n<1||n>7)&&(c=!0)):(a=e._locale._week.dow,i=e._locale._week.doy,y=ke(k(),a,i),s=ue(t.gg,e._a[O],y.year),r=ue(t.w,y.week),t.d!=null?(n=t.d,(n<0||n>6)&&(c=!0)):t.e!=null?(n=t.e+a,(t.e<0||t.e>6)&&(c=!0)):n=a),r<1||r>$(s,a,i)?m(e)._overflowWeeks=!0:c!=null?m(e)._overflowWeekday=!0:(u=ss(s,r,n,a,i),e._a[O]=u.year,e._dayOfYear=u.dayOfYear)}l.ISO_8601=function(){},l.RFC_2822=function(){};function gt(e){if(e._f===l.ISO_8601){ls(e);return}if(e._f===l.RFC_2822){us(e);return}e._a=[],m(e).empty=!0;var t=""+e._i,s,r,n,a,i,u=t.length,c=0,y,T;for(n=Vt(e._f,e._locale).match(rt)||[],T=n.length,s=0;s<T;s++)a=n[s],r=(t.match(Wr(a,e))||[])[0],r&&(i=t.substr(0,t.indexOf(r)),i.length>0&&m(e).unusedInput.push(i),t=t.slice(t.indexOf(r)+r.length),c+=r.length),ae[a]?(r?m(e).empty=!1:m(e).unusedTokens.push(a),Pr(a,r,e)):e._strict&&!r&&m(e).unusedTokens.push(a);m(e).charsLeftOver=u-c,t.length>0&&m(e).unusedInput.push(t),e._a[p]<=12&&m(e).bigHour===!0&&e._a[p]>0&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[p]=Gn(e._locale,e._a[p],e._meridiem),y=m(e).era,y!==null&&(e._a[O]=e._locale.erasConvertYear(y,e._a[O])),wt(e),_t(e)}function Gn(e,t,s){var r;return s==null?t:e.meridiemHour!=null?e.meridiemHour(t,s):(e.isPM!=null&&(r=e.isPM(s),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function $n(e){var t,s,r,n,a,i,u=!1,c=e._f.length;if(c===0){m(e).invalidFormat=!0,e._d=new Date(NaN);return}for(n=0;n<c;n++)a=0,i=!1,t=Xe({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[n],gt(t),Qe(t)&&(i=!0),a+=m(t).charsLeftOver,a+=m(t).unusedTokens.length*10,m(t).score=a,u?a<r&&(r=a,s=t):(r==null||a<r||i)&&(r=a,s=t,i&&(u=!0));Q(e,s||t)}function zn(e){if(!e._d){var t=at(e._i),s=t.day===void 0?t.date:t.day;e._a=Ut([t.year,t.month,s,t.hour,t.minute,t.second,t.millisecond],function(r){return r&&parseInt(r,10)}),wt(e)}}function Zn(e){var t=new ye(_t(ds(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function ds(e){var t=e._i,s=e._f;return e._locale=e._locale||z(e._l),t===null||s===void 0&&t===""?Oe({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),F(t)?new ye(_t(t)):(_e(t)?e._d=t:x(s)?$n(e):s?gt(e):Bn(e),Qe(e)||(e._d=null),e))}function Bn(e){var t=e._i;b(t)?e._d=new Date(l.now()):_e(t)?e._d=new Date(t.valueOf()):typeof t=="string"?An(e):x(t)?(e._a=Ut(t.slice(0),function(s){return parseInt(s,10)}),wt(e)):te(t)?zn(e):A(t)?e._d=new Date(t):l.createFromInputFallback(e)}function fs(e,t,s,r,n){var a={};return(t===!0||t===!1)&&(r=t,t=void 0),(s===!0||s===!1)&&(r=s,s=void 0),(te(e)&&qe(e)||x(e)&&e.length===0)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=n,a._l=s,a._i=e,a._f=t,a._strict=r,Zn(a)}function k(e,t,s,r){return fs(e,t,s,r,!1)}var qn=N("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=k.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Oe()}),Jn=N("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=k.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Oe()});function hs(e,t){var s,r;if(t.length===1&&x(t[0])&&(t=t[0]),!t.length)return k();for(s=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](s))&&(s=t[r]);return s}function Qn(){var e=[].slice.call(arguments,0);return hs("isBefore",e)}function Kn(){var e=[].slice.call(arguments,0);return hs("isAfter",e)}var Xn=function(){return Date.now?Date.now():+new Date},pe=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ea(e){var t,s=!1,r,n=pe.length;for(t in e)if(g(e,t)&&!(Y.call(pe,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<n;++r)if(e[pe[r]]){if(s)return!1;parseFloat(e[pe[r]])!==_(e[pe[r]])&&(s=!0)}return!0}function ta(){return this._isValid}function sa(){return L(NaN)}function Ee(e){var t=at(e),s=t.year||0,r=t.quarter||0,n=t.month||0,a=t.week||t.isoWeek||0,i=t.day||0,u=t.hour||0,c=t.minute||0,y=t.second||0,T=t.millisecond||0;this._isValid=ea(t),this._milliseconds=+T+y*1e3+c*6e4+u*1e3*60*60,this._days=+i+a*7,this._months=+n+r*3+s*12,this._data={},this._locale=z(),this._bubble()}function He(e){return e instanceof Ee}function Mt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function ra(e,t,s){var r=Math.min(e.length,t.length),n=Math.abs(e.length-t.length),a=0,i;for(i=0;i<r;i++)_(e[i])!==_(t[i])&&a++;return a+n}function cs(e,t){h(e,0,0,function(){var s=this.utcOffset(),r="+";return s<0&&(s=-s,r="-"),r+E(~~(s/60),2)+t+E(~~s%60,2)})}cs("Z",":"),cs("ZZ",""),d("Z",xe),d("ZZ",xe),D(["Z","ZZ"],function(e,t,s){s._useUTC=!0,s._tzm=Dt(xe,e)});var na=/([\+\-]|\d\d)/gi;function Dt(e,t){var s=(t||"").match(e),r,n,a;return s===null?null:(r=s[s.length-1]||[],n=(r+"").match(na)||["-",0,0],a=+(n[1]*60)+_(n[2]),a===0?0:n[0]==="+"?a:-a)}function St(e,t){var s,r;return t._isUTC?(s=t.clone(),r=(F(e)||_e(e)?e.valueOf():k(e).valueOf())-s.valueOf(),s._d.setTime(s._d.valueOf()+r),l.updateOffset(s,!1),s):k(e).local()}function kt(e){return-Math.round(e._d.getTimezoneOffset())}l.updateOffset=function(){};function aa(e,t,s){var r=this._offset||0,n;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Dt(xe,e),e===null)return this}else Math.abs(e)<16&&!s&&(e=e*60);return!this._isUTC&&t&&(n=kt(this)),this._offset=e,this._isUTC=!0,n!=null&&this.add(n,"m"),r!==e&&(!t||this._changeInProgress?ws(this,L(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,l.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:kt(this)}function ia(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function oa(e){return this.utcOffset(0,e)}function la(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(kt(this),"m")),this}function ua(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Dt(Tr,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function da(e){return this.isValid()?(e=e?k(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function fa(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function ha(){if(!b(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Xe(e,this),e=ds(e),e._a?(t=e._isUTC?C(e._a):k(e._a),this._isDSTShifted=this.isValid()&&ra(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function ca(){return this.isValid()?!this._isUTC:!1}function ma(){return this.isValid()?this._isUTC:!1}function ms(){return this.isValid()?this._isUTC&&this._offset===0:!1}var _a=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,ya=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function L(e,t){var s=e,r=null,n,a,i;return He(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:A(e)||!isNaN(+e)?(s={},t?s[t]=+e:s.milliseconds=+e):(r=_a.exec(e))?(n=r[1]==="-"?-1:1,s={y:0,d:_(r[H])*n,h:_(r[p])*n,m:_(r[I])*n,s:_(r[G])*n,ms:_(Mt(r[se]*1e3))*n}):(r=ya.exec(e))?(n=r[1]==="-"?-1:1,s={y:re(r[2],n),M:re(r[3],n),w:re(r[4],n),d:re(r[5],n),h:re(r[6],n),m:re(r[7],n),s:re(r[8],n)}):s==null?s={}:typeof s=="object"&&("from"in s||"to"in s)&&(i=wa(k(s.from),k(s.to)),s={},s.ms=i.milliseconds,s.M=i.months),a=new Ee(s),He(e)&&g(e,"_locale")&&(a._locale=e._locale),He(e)&&g(e,"_isValid")&&(a._isValid=e._isValid),a}L.fn=Ee.prototype,L.invalid=sa;function re(e,t){var s=e&&parseFloat(e.replace(",","."));return(isNaN(s)?0:s)*t}function _s(e,t){var s={};return s.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(s.months,"M").isAfter(t)&&--s.months,s.milliseconds=+t-+e.clone().add(s.months,"M"),s}function wa(e,t){var s;return e.isValid()&&t.isValid()?(t=St(t,e),e.isBefore(t)?s=_s(e,t):(s=_s(t,e),s.milliseconds=-s.milliseconds,s.months=-s.months),s):{milliseconds:0,months:0}}function ys(e,t){return function(s,r){var n,a;return r!==null&&!isNaN(+r)&&(jt(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."),a=s,s=r,r=a),n=L(s,r),ws(this,n,e),this}}function ws(e,t,s,r){var n=t._milliseconds,a=Mt(t._days),i=Mt(t._months);e.isValid()&&(r=r??!0,i&&Xt(e,De(e,"Month")+i*s),a&&Jt(e,"Date",De(e,"Date")+a*s),n&&e._d.setTime(e._d.valueOf()+n*s),r&&l.updateOffset(e,a||i))}var ga=ys(1,"add"),Ma=ys(-1,"subtract");function gs(e){return typeof e=="string"||e instanceof String}function Da(e){return F(e)||_e(e)||gs(e)||A(e)||ka(e)||Sa(e)||e===null||e===void 0}function Sa(e){var t=te(e)&&!qe(e),s=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],n,a,i=r.length;for(n=0;n<i;n+=1)a=r[n],s=s||g(e,a);return t&&s}function ka(e){var t=x(e),s=!1;return t&&(s=e.filter(function(r){return!A(r)&&gs(e)}).length===0),t&&s}function va(e){var t=te(e)&&!qe(e),s=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],n,a;for(n=0;n<r.length;n+=1)a=r[n],s=s||g(e,a);return t&&s}function Ya(e,t){var s=e.diff(t,"days",!0);return s<-6?"sameElse":s<-1?"lastWeek":s<0?"lastDay":s<1?"sameDay":s<2?"nextDay":s<7?"nextWeek":"sameElse"}function pa(e,t){arguments.length===1&&(arguments[0]?Da(arguments[0])?(e=arguments[0],t=void 0):va(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var s=e||k(),r=St(s,this).startOf("day"),n=l.calendarFormat(this,r)||"sameElse",a=t&&(U(t[n])?t[n].call(this,s):t[n]);return this.format(a||this.localeData().calendar(n,this,k(s)))}function Oa(){return new ye(this)}function Ta(e,t){var s=F(e)?e:k(e);return this.isValid()&&s.isValid()?(t=P(t)||"millisecond",t==="millisecond"?this.valueOf()>s.valueOf():s.valueOf()<this.clone().startOf(t).valueOf()):!1}function ba(e,t){var s=F(e)?e:k(e);return this.isValid()&&s.isValid()?(t=P(t)||"millisecond",t==="millisecond"?this.valueOf()<s.valueOf():this.clone().endOf(t).valueOf()<s.valueOf()):!1}function Wa(e,t,s,r){var n=F(e)?e:k(e),a=F(t)?t:k(t);return this.isValid()&&n.isValid()&&a.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(n,s):!this.isBefore(n,s))&&(r[1]===")"?this.isBefore(a,s):!this.isAfter(a,s))):!1}function Na(e,t){var s=F(e)?e:k(e),r;return this.isValid()&&s.isValid()?(t=P(t)||"millisecond",t==="millisecond"?this.valueOf()===s.valueOf():(r=s.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf())):!1}function Pa(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Ra(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function xa(e,t,s){var r,n,a;if(!this.isValid())return NaN;if(r=St(e,this),!r.isValid())return NaN;switch(n=(r.utcOffset()-this.utcOffset())*6e4,t=P(t),t){case"year":a=Ae(this,r)/12;break;case"month":a=Ae(this,r);break;case"quarter":a=Ae(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-n)/864e5;break;case"week":a=(this-r-n)/6048e5;break;default:a=this-r}return s?a:R(a)}function Ae(e,t){if(e.date()<t.date())return-Ae(t,e);var s=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(s,"months"),n,a;return t-r<0?(n=e.clone().add(s-1,"months"),a=(t-r)/(r-n)):(n=e.clone().add(s+1,"months"),a=(t-r)/(n-r)),-(s+a)||0}l.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",l.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Fa(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Ia(e){if(!this.isValid())return null;var t=e!==!0,s=t?this.clone().utc():this;return s.year()<0||s.year()>9999?be(s,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):U(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",be(s,"Z")):be(s,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function La(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",s,r,n,a;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),s="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",a=t+'[")]',this.format(s+r+n+a)}function Ca(e){e||(e=this.isUtc()?l.defaultFormatUtc:l.defaultFormat);var t=be(this,e);return this.localeData().postformat(t)}function Ua(e,t){return this.isValid()&&(F(e)&&e.isValid()||k(e).isValid())?L({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Ea(e){return this.from(k(),e)}function Ha(e,t){return this.isValid()&&(F(e)&&e.isValid()||k(e).isValid())?L({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Aa(e){return this.to(k(),e)}function Ms(e){var t;return e===void 0?this._locale._abbr:(t=z(e),t!=null&&(this._locale=t),this)}var Ds=N("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Ss(){return this._locale}var je=1e3,de=60*je,Ve=60*de,ks=(365*400+97)*24*Ve;function fe(e,t){return(e%t+t)%t}function vs(e,t,s){return e<100&&e>=0?new Date(e+400,t,s)-ks:new Date(e,t,s).valueOf()}function Ys(e,t,s){return e<100&&e>=0?Date.UTC(e+400,t,s)-ks:Date.UTC(e,t,s)}function ja(e){var t,s;if(e=P(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(s=this._isUTC?Ys:vs,e){case"year":t=s(this.year(),0,1);break;case"quarter":t=s(this.year(),this.month()-this.month()%3,1);break;case"month":t=s(this.year(),this.month(),1);break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=s(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=fe(t+(this._isUTC?0:this.utcOffset()*de),Ve);break;case"minute":t=this._d.valueOf(),t-=fe(t,de);break;case"second":t=this._d.valueOf(),t-=fe(t,je);break}return this._d.setTime(t),l.updateOffset(this,!0),this}function Va(e){var t,s;if(e=P(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(s=this._isUTC?Ys:vs,e){case"year":t=s(this.year()+1,0,1)-1;break;case"quarter":t=s(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=s(this.year(),this.month()+1,1)-1;break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=s(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Ve-fe(t+(this._isUTC?0:this.utcOffset()*de),Ve)-1;break;case"minute":t=this._d.valueOf(),t+=de-fe(t,de)-1;break;case"second":t=this._d.valueOf(),t+=je-fe(t,je)-1;break}return this._d.setTime(t),l.updateOffset(this,!0),this}function Ga(){return this._d.valueOf()-(this._offset||0)*6e4}function $a(){return Math.floor(this.valueOf()/1e3)}function za(){return new Date(this.valueOf())}function Za(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Ba(){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 qa(){return this.isValid()?this.toISOString():null}function Ja(){return Qe(this)}function Qa(){return Q({},m(this))}function Ka(){return m(this).overflow}function Xa(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}h("N",0,0,"eraAbbr"),h("NN",0,0,"eraAbbr"),h("NNN",0,0,"eraAbbr"),h("NNNN",0,0,"eraName"),h("NNNNN",0,0,"eraNarrow"),h("y",["y",1],"yo","eraYear"),h("y",["yy",2],0,"eraYear"),h("y",["yyy",3],0,"eraYear"),h("y",["yyyy",4],0,"eraYear"),d("N",vt),d("NN",vt),d("NNN",vt),d("NNNN",di),d("NNNNN",fi),D(["N","NN","NNN","NNNN","NNNNN"],function(e,t,s,r){var n=s._locale.erasParse(e,r,s._strict);n?m(s).era=n:m(s).invalidEra=e}),d("y",ie),d("yy",ie),d("yyy",ie),d("yyyy",ie),d("yo",hi),D(["y","yy","yyy","yyyy"],O),D(["yo"],function(e,t,s,r){var n;s._locale._eraYearOrdinalRegex&&(n=e.match(s._locale._eraYearOrdinalRegex)),s._locale.eraYearOrdinalParse?t[O]=s._locale.eraYearOrdinalParse(e,n):t[O]=parseInt(e,10)});function ei(e,t){var s,r,n,a=this._eras||z("en")._eras;for(s=0,r=a.length;s<r;++s){switch(typeof a[s].since){case"string":n=l(a[s].since).startOf("day"),a[s].since=n.valueOf();break}switch(typeof a[s].until){case"undefined":a[s].until=1/0;break;case"string":n=l(a[s].until).startOf("day").valueOf(),a[s].until=n.valueOf();break}}return a}function ti(e,t,s){var r,n,a=this.eras(),i,u,c;for(e=e.toUpperCase(),r=0,n=a.length;r<n;++r)if(i=a[r].name.toUpperCase(),u=a[r].abbr.toUpperCase(),c=a[r].narrow.toUpperCase(),s)switch(t){case"N":case"NN":case"NNN":if(u===e)return a[r];break;case"NNNN":if(i===e)return a[r];break;case"NNNNN":if(c===e)return a[r];break}else if([i,u,c].indexOf(e)>=0)return a[r]}function si(e,t){var s=e.since<=e.until?1:-1;return t===void 0?l(e.since).year():l(e.since).year()+(t-e.offset)*s}function ri(){var e,t,s,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(s=this.clone().startOf("day").valueOf(),r[e].since<=s&&s<=r[e].until||r[e].until<=s&&s<=r[e].since)return r[e].name;return""}function ni(){var e,t,s,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(s=this.clone().startOf("day").valueOf(),r[e].since<=s&&s<=r[e].until||r[e].until<=s&&s<=r[e].since)return r[e].narrow;return""}function ai(){var e,t,s,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(s=this.clone().startOf("day").valueOf(),r[e].since<=s&&s<=r[e].until||r[e].until<=s&&s<=r[e].since)return r[e].abbr;return""}function ii(){var e,t,s,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(s=n[e].since<=n[e].until?1:-1,r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return(this.year()-l(n[e].since).year())*s+n[e].offset;return this.year()}function oi(e){return g(this,"_erasNameRegex")||Yt.call(this),e?this._erasNameRegex:this._erasRegex}function li(e){return g(this,"_erasAbbrRegex")||Yt.call(this),e?this._erasAbbrRegex:this._erasRegex}function ui(e){return g(this,"_erasNarrowRegex")||Yt.call(this),e?this._erasNarrowRegex:this._erasRegex}function vt(e,t){return t.erasAbbrRegex(e)}function di(e,t){return t.erasNameRegex(e)}function fi(e,t){return t.erasNarrowRegex(e)}function hi(e,t){return t._eraYearOrdinalRegex||ie}function Yt(){var e=[],t=[],s=[],r=[],n,a,i,u,c,y=this.eras();for(n=0,a=y.length;n<a;++n)i=j(y[n].name),u=j(y[n].abbr),c=j(y[n].narrow),t.push(i),e.push(u),s.push(c),r.push(i),r.push(u),r.push(c);this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+s.join("|")+")","i")}h(0,["gg",2],0,function(){return this.weekYear()%100}),h(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Ge(e,t){h(0,[e,e.length],0,t)}Ge("gggg","weekYear"),Ge("ggggg","weekYear"),Ge("GGGG","isoWeekYear"),Ge("GGGGG","isoWeekYear"),d("G",Re),d("g",Re),d("GG",S,W),d("gg",S,W),d("GGGG",ot,it),d("gggg",ot,it),d("GGGGG",Pe,We),d("ggggg",Pe,We),ge(["gggg","ggggg","GGGG","GGGGG"],function(e,t,s,r){t[r.substr(0,2)]=_(e)}),ge(["gg","GG"],function(e,t,s,r){t[r]=l.parseTwoDigitYear(e)});function ci(e){return ps.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function mi(e){return ps.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function _i(){return $(this.year(),1,4)}function yi(){return $(this.isoWeekYear(),1,4)}function wi(){var e=this.localeData()._week;return $(this.year(),e.dow,e.doy)}function gi(){var e=this.localeData()._week;return $(this.weekYear(),e.dow,e.doy)}function ps(e,t,s,r,n){var a;return e==null?ke(this,r,n).year:(a=$(e,r,n),t>a&&(t=a),Mi.call(this,e,t,s,r,n))}function Mi(e,t,s,r,n){var a=ss(e,t,s,r,n),i=Se(a.year,0,a.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}h("Q",0,"Qo","quarter"),d("Q",$t),D("Q",function(e,t){t[V]=(_(e)-1)*3});function Di(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}h("D",["DD",2],"Do","date"),d("D",S,oe),d("DD",S,W),d("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),D(["D","DD"],H),D("Do",function(e,t){t[H]=_(e.match(S)[0])});var Os=le("Date",!0);h("DDD",["DDDD",3],"DDDo","dayOfYear"),d("DDD",Ne),d("DDDD",zt),D(["DDD","DDDD"],function(e,t,s){s._dayOfYear=_(e)});function Si(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}h("m",["mm",2],0,"minute"),d("m",S,lt),d("mm",S,W),D(["m","mm"],I);var ki=le("Minutes",!1);h("s",["ss",2],0,"second"),d("s",S,lt),d("ss",S,W),D(["s","ss"],G);var vi=le("Seconds",!1);h("S",0,0,function(){return~~(this.millisecond()/100)}),h(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),h(0,["SSS",3],0,"millisecond"),h(0,["SSSS",4],0,function(){return this.millisecond()*10}),h(0,["SSSSS",5],0,function(){return this.millisecond()*100}),h(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),h(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),h(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),h(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),d("S",Ne,$t),d("SS",Ne,W),d("SSS",Ne,zt);var X,Ts;for(X="SSSS";X.length<=9;X+="S")d(X,ie);function Yi(e,t){t[se]=_(("0."+e)*1e3)}for(X="S";X.length<=9;X+="S")D(X,Yi);Ts=le("Milliseconds",!1),h("z",0,0,"zoneAbbr"),h("zz",0,0,"zoneName");function pi(){return this._isUTC?"UTC":""}function Oi(){return this._isUTC?"Coordinated Universal Time":""}var o=ye.prototype;o.add=ga,o.calendar=pa,o.clone=Oa,o.diff=xa,o.endOf=Va,o.format=Ca,o.from=Ua,o.fromNow=Ea,o.to=Ha,o.toNow=Aa,o.get=Ir,o.invalidAt=Ka,o.isAfter=Ta,o.isBefore=ba,o.isBetween=Wa,o.isSame=Na,o.isSameOrAfter=Pa,o.isSameOrBefore=Ra,o.isValid=Ja,o.lang=Ds,o.locale=Ms,o.localeData=Ss,o.max=Jn,o.min=qn,o.parsingFlags=Qa,o.set=Lr,o.startOf=ja,o.subtract=Ma,o.toArray=Za,o.toObject=Ba,o.toDate=za,o.toISOString=Ia,o.inspect=La,typeof Symbol<"u"&&Symbol.for!=null&&(o[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),o.toJSON=qa,o.toString=Fa,o.unix=$a,o.valueOf=Ga,o.creationData=Xa,o.eraName=ri,o.eraNarrow=ni,o.eraAbbr=ai,o.eraYear=ii,o.year=qt,o.isLeapYear=Fr,o.weekYear=ci,o.isoWeekYear=mi,o.quarter=o.quarters=Di,o.month=es,o.daysInMonth=$r,o.week=o.weeks=Xr,o.isoWeek=o.isoWeeks=en,o.weeksInYear=wi,o.weeksInWeekYear=gi,o.isoWeeksInYear=_i,o.isoWeeksInISOWeekYear=yi,o.date=Os,o.day=o.days=mn,o.weekday=_n,o.isoWeekday=yn,o.dayOfYear=Si,o.hour=o.hours=vn,o.minute=o.minutes=ki,o.second=o.seconds=vi,o.millisecond=o.milliseconds=Ts,o.utcOffset=aa,o.utc=oa,o.local=la,o.parseZone=ua,o.hasAlignedHourOffset=da,o.isDST=fa,o.isLocal=ca,o.isUtcOffset=ma,o.isUtc=ms,o.isUTC=ms,o.zoneAbbr=pi,o.zoneName=Oi,o.dates=N("dates accessor is deprecated. Use date instead.",Os),o.months=N("months accessor is deprecated. Use month instead",es),o.years=N("years accessor is deprecated. Use year instead",qt),o.zone=N("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",ia),o.isDSTShifted=N("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",ha);function Ti(e){return k(e*1e3)}function bi(){return k.apply(null,arguments).parseZone()}function bs(e){return e}var M=tt.prototype;M.calendar=hr,M.longDateFormat=yr,M.invalidDate=gr,M.ordinal=Sr,M.preparse=bs,M.postformat=bs,M.relativeTime=vr,M.pastFuture=Yr,M.set=dr,M.eras=ei,M.erasParse=ti,M.erasConvertYear=si,M.erasAbbrRegex=li,M.erasNameRegex=oi,M.erasNarrowRegex=ui,M.months=Ar,M.monthsShort=jr,M.monthsParse=Gr,M.monthsRegex=Zr,M.monthsShortRegex=zr,M.week=qr,M.firstDayOfYear=Kr,M.firstDayOfWeek=Qr,M.weekdays=un,M.weekdaysMin=fn,M.weekdaysShort=dn,M.weekdaysParse=cn,M.weekdaysRegex=wn,M.weekdaysShortRegex=gn,M.weekdaysMinRegex=Mn,M.isPM=Sn,M.meridiem=Yn;function $e(e,t,s,r){var n=z(),a=C().set(r,t);return n[s](a,e)}function Ws(e,t,s){if(A(e)&&(t=e,e=void 0),e=e||"",t!=null)return $e(e,t,s,"month");var r,n=[];for(r=0;r<12;r++)n[r]=$e(e,r,s,"month");return n}function pt(e,t,s,r){typeof e=="boolean"?(A(t)&&(s=t,t=void 0),t=t||""):(t=e,s=t,e=!1,A(t)&&(s=t,t=void 0),t=t||"");var n=z(),a=e?n._week.dow:0,i,u=[];if(s!=null)return $e(t,(s+a)%7,r,"day");for(i=0;i<7;i++)u[i]=$e(t,(i+a)%7,r,"day");return u}function Wi(e,t){return Ws(e,t,"months")}function Ni(e,t){return Ws(e,t,"monthsShort")}function Pi(e,t,s){return pt(e,t,s,"weekdays")}function Ri(e,t,s){return pt(e,t,s,"weekdaysShort")}function xi(e,t,s){return pt(e,t,s,"weekdaysMin")}K("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,s=_(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+s}}),l.lang=N("moment.lang is deprecated. Use moment.locale instead.",K),l.langData=N("moment.langData is deprecated. Use moment.localeData instead.",z);var Z=Math.abs;function Fi(){var e=this._data;return this._milliseconds=Z(this._milliseconds),this._days=Z(this._days),this._months=Z(this._months),e.milliseconds=Z(e.milliseconds),e.seconds=Z(e.seconds),e.minutes=Z(e.minutes),e.hours=Z(e.hours),e.months=Z(e.months),e.years=Z(e.years),this}function Ns(e,t,s,r){var n=L(t,s);return e._milliseconds+=r*n._milliseconds,e._days+=r*n._days,e._months+=r*n._months,e._bubble()}function Ii(e,t){return Ns(this,e,t,1)}function Li(e,t){return Ns(this,e,t,-1)}function Ps(e){return e<0?Math.floor(e):Math.ceil(e)}function Ci(){var e=this._milliseconds,t=this._days,s=this._months,r=this._data,n,a,i,u,c;return e>=0&&t>=0&&s>=0||e<=0&&t<=0&&s<=0||(e+=Ps(Ot(s)+t)*864e5,t=0,s=0),r.milliseconds=e%1e3,n=R(e/1e3),r.seconds=n%60,a=R(n/60),r.minutes=a%60,i=R(a/60),r.hours=i%24,t+=R(i/24),c=R(Rs(t)),s+=c,t-=Ps(Ot(c)),u=R(s/12),s%=12,r.days=t,r.months=s,r.years=u,this}function Rs(e){return e*4800/146097}function Ot(e){return e*146097/4800}function Ui(e){if(!this.isValid())return NaN;var t,s,r=this._milliseconds;if(e=P(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,s=this._months+Rs(t),e){case"month":return s;case"quarter":return s/3;case"year":return s/12}else switch(t=this._days+Math.round(Ot(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function B(e){return function(){return this.as(e)}}var xs=B("ms"),Ei=B("s"),Hi=B("m"),Ai=B("h"),ji=B("d"),Vi=B("w"),Gi=B("M"),$i=B("Q"),zi=B("y"),Zi=xs;function Bi(){return L(this)}function qi(e){return e=P(e),this.isValid()?this[e+"s"]():NaN}function ne(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ji=ne("milliseconds"),Qi=ne("seconds"),Ki=ne("minutes"),Xi=ne("hours"),eo=ne("days"),to=ne("months"),so=ne("years");function ro(){return R(this.days()/7)}var q=Math.round,he={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function no(e,t,s,r,n){return n.relativeTime(t||1,!!s,e,r)}function ao(e,t,s,r){var n=L(e).abs(),a=q(n.as("s")),i=q(n.as("m")),u=q(n.as("h")),c=q(n.as("d")),y=q(n.as("M")),T=q(n.as("w")),J=q(n.as("y")),ee=a<=s.ss&&["s",a]||a<s.s&&["ss",a]||i<=1&&["m"]||i<s.m&&["mm",i]||u<=1&&["h"]||u<s.h&&["hh",u]||c<=1&&["d"]||c<s.d&&["dd",c];return s.w!=null&&(ee=ee||T<=1&&["w"]||T<s.w&&["ww",T]),ee=ee||y<=1&&["M"]||y<s.M&&["MM",y]||J<=1&&["y"]||["yy",J],ee[2]=t,ee[3]=+e>0,ee[4]=r,no.apply(null,ee)}function io(e){return e===void 0?q:typeof e=="function"?(q=e,!0):!1}function oo(e,t){return he[e]===void 0?!1:t===void 0?he[e]:(he[e]=t,e==="s"&&(he.ss=t-1),!0)}function lo(e,t){if(!this.isValid())return this.localeData().invalidDate();var s=!1,r=he,n,a;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(s=e),typeof t=="object"&&(r=Object.assign({},he,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),n=this.localeData(),a=ao(this,!s,r,n),s&&(a=n.pastFuture(+this,a)),n.postformat(a)}var Tt=Math.abs;function ce(e){return(e>0)-(e<0)||+e}function ze(){if(!this.isValid())return this.localeData().invalidDate();var e=Tt(this._milliseconds)/1e3,t=Tt(this._days),s=Tt(this._months),r,n,a,i,u=this.asSeconds(),c,y,T,J;return u?(r=R(e/60),n=R(r/60),e%=60,r%=60,a=R(s/12),s%=12,i=e?e.toFixed(3).replace(/\.?0+$/,""):"",c=u<0?"-":"",y=ce(this._months)!==ce(u)?"-":"",T=ce(this._days)!==ce(u)?"-":"",J=ce(this._milliseconds)!==ce(u)?"-":"",c+"P"+(a?y+a+"Y":"")+(s?y+s+"M":"")+(t?T+t+"D":"")+(n||r||e?"T":"")+(n?J+n+"H":"")+(r?J+r+"M":"")+(e?J+i+"S":"")):"P0D"}var w=Ee.prototype;w.isValid=ta,w.abs=Fi,w.add=Ii,w.subtract=Li,w.as=Ui,w.asMilliseconds=xs,w.asSeconds=Ei,w.asMinutes=Hi,w.asHours=Ai,w.asDays=ji,w.asWeeks=Vi,w.asMonths=Gi,w.asQuarters=$i,w.asYears=zi,w.valueOf=Zi,w._bubble=Ci,w.clone=Bi,w.get=qi,w.milliseconds=Ji,w.seconds=Qi,w.minutes=Ki,w.hours=Xi,w.days=eo,w.weeks=ro,w.months=to,w.years=so,w.humanize=lo,w.toISOString=ze,w.toString=ze,w.toJSON=ze,w.locale=Ms,w.localeData=Ss,w.toIsoString=N("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ze),w.lang=Ds,h("X",0,0,"unix"),h("x",0,0,"valueOf"),d("x",Re),d("X",br),D("X",function(e,t,s){s._d=new Date(parseFloat(e)*1e3)}),D("x",function(e,t,s){s._d=new Date(_(e))});//! moment.js
|
|
10
|
-
l.version="2.30.1",
|
|
9
|
+
`+new Error().stack),s=!1}return t.apply(this,arguments)},t)}var jt={};function Vt(e,t){l.deprecationHandler!=null&&l.deprecationHandler(e,t),jt[e]||(At(t),jt[e]=!0)}l.suppressDeprecationWarnings=!1,l.deprecationHandler=null;function U(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function fr(e){var t,s;for(s in e)g(e,s)&&(t=e[s],U(t)?this[s]=t:this["_"+s]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function et(e,t){var s=Q({},e),r;for(r in t)g(t,r)&&(te(e[r])&&te(t[r])?(s[r]={},Q(s[r],e[r]),Q(s[r],t[r])):t[r]!=null?s[r]=t[r]:delete s[r]);for(r in e)g(e,r)&&!g(t,r)&&te(e[r])&&(s[r]=Q({},s[r]));return s}function tt(e){e!=null&&this.set(e)}var st;Object.keys?st=Object.keys:st=function(e){var t,s=[];for(t in e)g(e,t)&&s.push(t);return s};var hr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function cr(e,t,s){var r=this._calendar[e]||this._calendar.sameElse;return U(r)?r.call(t,s):r}function E(e,t,s){var r=""+Math.abs(e),n=t-r.length,a=e>=0;return(a?s?"+":"":"-")+Math.pow(10,Math.max(0,n)).toString().substr(1)+r}var rt=/(\[[^\[]*\])|(\\)?([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,Te=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,nt={},ae={};function h(e,t,s,r){var n=r;typeof r=="string"&&(n=function(){return this[r]()}),e&&(ae[e]=n),t&&(ae[t[0]]=function(){return E(n.apply(this,arguments),t[1],t[2])}),s&&(ae[s]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function mr(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function _r(e){var t=e.match(rt),s,r;for(s=0,r=t.length;s<r;s++)ae[t[s]]?t[s]=ae[t[s]]:t[s]=mr(t[s]);return function(n){var a="",i;for(i=0;i<r;i++)a+=U(t[i])?t[i].call(n,e):t[i];return a}}function be(e,t){return e.isValid()?(t=Gt(t,e.localeData()),nt[t]=nt[t]||_r(t),nt[t](e)):e.localeData().invalidDate()}function Gt(e,t){var s=5;function r(n){return t.longDateFormat(n)||n}for(Te.lastIndex=0;s>=0&&Te.test(e);)e=e.replace(Te,r),Te.lastIndex=0,s-=1;return e}var yr={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"};function wr(e){var t=this._longDateFormat[e],s=this._longDateFormat[e.toUpperCase()];return t||!s?t:(this._longDateFormat[e]=s.match(rt).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var gr="Invalid date";function Mr(){return this._invalidDate}var Dr="%d",Sr=/\d{1,2}/;function kr(e){return this._ordinal.replace("%d",e)}var vr={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"};function Yr(e,t,s,r){var n=this._relativeTime[s];return U(n)?n(e,t,s,r):n.replace(/%d/i,e)}function pr(e,t){var s=this._relativeTime[e>0?"future":"past"];return U(s)?s(t):s.replace(/%s/i,t)}var $t={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function P(e){return typeof e=="string"?$t[e]||$t[e.toLowerCase()]:void 0}function at(e){var t={},s,r;for(r in e)g(e,r)&&(s=P(r),s&&(t[s]=e[r]));return t}var Or={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function Tr(e){var t=[],s;for(s in e)g(e,s)&&t.push({unit:s,priority:Or[s]});return t.sort(function(r,n){return r.priority-n.priority}),t}var zt=/\d/,W=/\d\d/,Zt=/\d{3}/,it=/\d{4}/,We=/[+-]?\d{6}/,S=/\d\d?/,Bt=/\d\d\d\d?/,qt=/\d\d\d\d\d\d?/,Ne=/\d{1,3}/,ot=/\d{1,4}/,Pe=/[+-]?\d{1,6}/,ie=/\d+/,Re=/[+-]?\d+/,br=/Z|[+-]\d\d:?\d\d/gi,Fe=/Z|[+-]\d\d(?::?\d\d)?/gi,Wr=/[+-]?\d+(\.\d{1,3})?/,we=/[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,oe=/^[1-9]\d?/,lt=/^([1-9]\d|\d)/,xe;xe={};function d(e,t,s){xe[e]=U(t)?t:function(r,n){return r&&s?s:t}}function Nr(e,t){return g(xe,e)?xe[e](t._strict,t._locale):new RegExp(Pr(e))}function Pr(e){return j(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,s,r,n,a){return s||r||n||a}))}function j(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function R(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function _(e){var t=+e,s=0;return t!==0&&isFinite(t)&&(s=R(t)),s}var ut={};function D(e,t){var s,r=t,n;for(typeof e=="string"&&(e=[e]),A(t)&&(r=function(a,i){i[t]=_(a)}),n=e.length,s=0;s<n;s++)ut[e[s]]=r}function ge(e,t){D(e,function(s,r,n,a){n._w=n._w||{},t(s,n._w,n,a)})}function Rr(e,t,s){t!=null&&g(ut,e)&&ut[e](t,s._a,s,e)}function Ie(e){return e%4===0&&e%100!==0||e%400===0}var O=0,V=1,H=2,p=3,I=4,G=5,se=6,Fr=7,xr=8;h("Y",0,0,function(){var e=this.year();return e<=9999?E(e,4):"+"+e}),h(0,["YY",2],0,function(){return this.year()%100}),h(0,["YYYY",4],0,"year"),h(0,["YYYYY",5],0,"year"),h(0,["YYYYYY",6,!0],0,"year"),d("Y",Re),d("YY",S,W),d("YYYY",ot,it),d("YYYYY",Pe,We),d("YYYYYY",Pe,We),D(["YYYYY","YYYYYY"],O),D("YYYY",function(e,t){t[O]=e.length===2?l.parseTwoDigitYear(e):_(e)}),D("YY",function(e,t){t[O]=l.parseTwoDigitYear(e)}),D("Y",function(e,t){t[O]=parseInt(e,10)});function Me(e){return Ie(e)?366:365}l.parseTwoDigitYear=function(e){return _(e)+(_(e)>68?1900:2e3)};var Jt=le("FullYear",!0);function Ir(){return Ie(this.year())}function le(e,t){return function(s){return s!=null?(Qt(this,e,s),l.updateOffset(this,t),this):De(this,e)}}function De(e,t){if(!e.isValid())return NaN;var s=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?s.getUTCMilliseconds():s.getMilliseconds();case"Seconds":return r?s.getUTCSeconds():s.getSeconds();case"Minutes":return r?s.getUTCMinutes():s.getMinutes();case"Hours":return r?s.getUTCHours():s.getHours();case"Date":return r?s.getUTCDate():s.getDate();case"Day":return r?s.getUTCDay():s.getDay();case"Month":return r?s.getUTCMonth():s.getMonth();case"FullYear":return r?s.getUTCFullYear():s.getFullYear();default:return NaN}}function Qt(e,t,s){var r,n,a,i,u;if(!(!e.isValid()||isNaN(s))){switch(r=e._d,n=e._isUTC,t){case"Milliseconds":return void(n?r.setUTCMilliseconds(s):r.setMilliseconds(s));case"Seconds":return void(n?r.setUTCSeconds(s):r.setSeconds(s));case"Minutes":return void(n?r.setUTCMinutes(s):r.setMinutes(s));case"Hours":return void(n?r.setUTCHours(s):r.setHours(s));case"Date":return void(n?r.setUTCDate(s):r.setDate(s));case"FullYear":break;default:return}a=s,i=e.month(),u=e.date(),u=u===29&&i===1&&!Ie(a)?28:u,n?r.setUTCFullYear(a,i,u):r.setFullYear(a,i,u)}}function Lr(e){return e=P(e),U(this[e])?this[e]():this}function Cr(e,t){if(typeof e=="object"){e=at(e);var s=Tr(e),r,n=s.length;for(r=0;r<n;r++)this[s[r].unit](e[s[r].unit])}else if(e=P(e),U(this[e]))return this[e](t);return this}function Ur(e,t){return(e%t+t)%t}var Y;Array.prototype.indexOf?Y=Array.prototype.indexOf:Y=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function dt(e,t){if(isNaN(e)||isNaN(t))return NaN;var s=Ur(t,12);return e+=(t-s)/12,s===1?Ie(e)?29:28:31-s%7%2}h("M",["MM",2],"Mo",function(){return this.month()+1}),h("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),h("MMMM",0,0,function(e){return this.localeData().months(this,e)}),d("M",S,oe),d("MM",S,W),d("MMM",function(e,t){return t.monthsShortRegex(e)}),d("MMMM",function(e,t){return t.monthsRegex(e)}),D(["M","MM"],function(e,t){t[V]=_(e)-1}),D(["MMM","MMMM"],function(e,t,s,r){var n=s._locale.monthsParse(e,r,s._strict);n!=null?t[V]=n:m(s).invalidMonth=e});var Er="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Kt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Xt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Hr=we,Ar=we;function jr(e,t){return e?F(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Xt).test(t)?"format":"standalone"][e.month()]:F(this._months)?this._months:this._months.standalone}function Vr(e,t){return e?F(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Xt.test(t)?"format":"standalone"][e.month()]:F(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Gr(e,t,s){var r,n,a,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=C([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return s?t==="MMM"?(n=Y.call(this._shortMonthsParse,i),n!==-1?n:null):(n=Y.call(this._longMonthsParse,i),n!==-1?n:null):t==="MMM"?(n=Y.call(this._shortMonthsParse,i),n!==-1?n:(n=Y.call(this._longMonthsParse,i),n!==-1?n:null)):(n=Y.call(this._longMonthsParse,i),n!==-1?n:(n=Y.call(this._shortMonthsParse,i),n!==-1?n:null))}function $r(e,t,s){var r,n,a;if(this._monthsParseExact)return Gr.call(this,e,t,s);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(n=C([2e3,r]),s&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),!s&&!this._monthsParse[r]&&(a="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),s&&t==="MMMM"&&this._longMonthsParse[r].test(e))return r;if(s&&t==="MMM"&&this._shortMonthsParse[r].test(e))return r;if(!s&&this._monthsParse[r].test(e))return r}}function es(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=_(t);else if(t=e.localeData().monthsParse(t),!A(t))return e}var s=t,r=e.date();return r=r<29?r:Math.min(r,dt(e.year(),s)),e._isUTC?e._d.setUTCMonth(s,r):e._d.setMonth(s,r),e}function ts(e){return e!=null?(es(this,e),l.updateOffset(this,!0),this):De(this,"Month")}function zr(){return dt(this.year(),this.month())}function Zr(e){return this._monthsParseExact?(g(this,"_monthsRegex")||ss.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=Hr),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Br(e){return this._monthsParseExact?(g(this,"_monthsRegex")||ss.call(this),e?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=Ar),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function ss(){function e(c,y){return y.length-c.length}var t=[],s=[],r=[],n,a,i,u;for(n=0;n<12;n++)a=C([2e3,n]),i=j(this.monthsShort(a,"")),u=j(this.months(a,"")),t.push(i),s.push(u),r.push(u),r.push(i);t.sort(e),s.sort(e),r.sort(e),this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function qr(e,t,s,r,n,a,i){var u;return e<100&&e>=0?(u=new Date(e+400,t,s,r,n,a,i),isFinite(u.getFullYear())&&u.setFullYear(e)):u=new Date(e,t,s,r,n,a,i),u}function Se(e){var t,s;return e<100&&e>=0?(s=Array.prototype.slice.call(arguments),s[0]=e+400,t=new Date(Date.UTC.apply(null,s)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Le(e,t,s){var r=7+t-s,n=(7+Se(e,0,r).getUTCDay()-t)%7;return-n+r-1}function rs(e,t,s,r,n){var a=(7+s-r)%7,i=Le(e,r,n),u=1+7*(t-1)+a+i,c,y;return u<=0?(c=e-1,y=Me(c)+u):u>Me(e)?(c=e+1,y=u-Me(e)):(c=e,y=u),{year:c,dayOfYear:y}}function ke(e,t,s){var r=Le(e.year(),t,s),n=Math.floor((e.dayOfYear()-r-1)/7)+1,a,i;return n<1?(i=e.year()-1,a=n+$(i,t,s)):n>$(e.year(),t,s)?(a=n-$(e.year(),t,s),i=e.year()+1):(i=e.year(),a=n),{week:a,year:i}}function $(e,t,s){var r=Le(e,t,s),n=Le(e+1,t,s);return(Me(e)-r+n)/7}h("w",["ww",2],"wo","week"),h("W",["WW",2],"Wo","isoWeek"),d("w",S,oe),d("ww",S,W),d("W",S,oe),d("WW",S,W),ge(["w","ww","W","WW"],function(e,t,s,r){t[r.substr(0,1)]=_(e)});function Jr(e){return ke(e,this._week.dow,this._week.doy).week}var Qr={dow:0,doy:6};function Kr(){return this._week.dow}function Xr(){return this._week.doy}function en(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function tn(e){var t=ke(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}h("d",0,"do","day"),h("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),h("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),h("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),h("e",0,0,"weekday"),h("E",0,0,"isoWeekday"),d("d",S),d("e",S),d("E",S),d("dd",function(e,t){return t.weekdaysMinRegex(e)}),d("ddd",function(e,t){return t.weekdaysShortRegex(e)}),d("dddd",function(e,t){return t.weekdaysRegex(e)}),ge(["dd","ddd","dddd"],function(e,t,s,r){var n=s._locale.weekdaysParse(e,r,s._strict);n!=null?t.d=n:m(s).invalidWeekday=e}),ge(["d","e","E"],function(e,t,s,r){t[r]=_(e)});function sn(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function rn(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function ft(e,t){return e.slice(t,7).concat(e.slice(0,t))}var nn="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ns="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),an="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),on=we,ln=we,un=we;function dn(e,t){var s=F(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?ft(s,this._week.dow):e?s[e.day()]:s}function fn(e){return e===!0?ft(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function hn(e){return e===!0?ft(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function cn(e,t,s){var r,n,a,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=C([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return s?t==="dddd"?(n=Y.call(this._weekdaysParse,i),n!==-1?n:null):t==="ddd"?(n=Y.call(this._shortWeekdaysParse,i),n!==-1?n:null):(n=Y.call(this._minWeekdaysParse,i),n!==-1?n:null):t==="dddd"?(n=Y.call(this._weekdaysParse,i),n!==-1||(n=Y.call(this._shortWeekdaysParse,i),n!==-1)?n:(n=Y.call(this._minWeekdaysParse,i),n!==-1?n:null)):t==="ddd"?(n=Y.call(this._shortWeekdaysParse,i),n!==-1||(n=Y.call(this._weekdaysParse,i),n!==-1)?n:(n=Y.call(this._minWeekdaysParse,i),n!==-1?n:null)):(n=Y.call(this._minWeekdaysParse,i),n!==-1||(n=Y.call(this._weekdaysParse,i),n!==-1)?n:(n=Y.call(this._shortWeekdaysParse,i),n!==-1?n:null))}function mn(e,t,s){var r,n,a;if(this._weekdaysParseExact)return cn.call(this,e,t,s);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(n=C([2e3,1]).day(r),s&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),s&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(s&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(s&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!s&&this._weekdaysParse[r].test(e))return r}}function _n(e){if(!this.isValid())return e!=null?this:NaN;var t=De(this,"Day");return e!=null?(e=sn(e,this.localeData()),this.add(e-t,"d")):t}function yn(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function wn(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=rn(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function gn(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||ht.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=on),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Mn(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||ht.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ln),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Dn(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||ht.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=un),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ht(){function e(T,J){return J.length-T.length}var t=[],s=[],r=[],n=[],a,i,u,c,y;for(a=0;a<7;a++)i=C([2e3,1]).day(a),u=j(this.weekdaysMin(i,"")),c=j(this.weekdaysShort(i,"")),y=j(this.weekdays(i,"")),t.push(u),s.push(c),r.push(y),n.push(u),n.push(c),n.push(y);t.sort(e),s.sort(e),r.sort(e),n.sort(e),this._weekdaysRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function ct(){return this.hours()%12||12}function Sn(){return this.hours()||24}h("H",["HH",2],0,"hour"),h("h",["hh",2],0,ct),h("k",["kk",2],0,Sn),h("hmm",0,0,function(){return""+ct.apply(this)+E(this.minutes(),2)}),h("hmmss",0,0,function(){return""+ct.apply(this)+E(this.minutes(),2)+E(this.seconds(),2)}),h("Hmm",0,0,function(){return""+this.hours()+E(this.minutes(),2)}),h("Hmmss",0,0,function(){return""+this.hours()+E(this.minutes(),2)+E(this.seconds(),2)});function as(e,t){h(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}as("a",!0),as("A",!1);function is(e,t){return t._meridiemParse}d("a",is),d("A",is),d("H",S,lt),d("h",S,oe),d("k",S,oe),d("HH",S,W),d("hh",S,W),d("kk",S,W),d("hmm",Bt),d("hmmss",qt),d("Hmm",Bt),d("Hmmss",qt),D(["H","HH"],p),D(["k","kk"],function(e,t,s){var r=_(e);t[p]=r===24?0:r}),D(["a","A"],function(e,t,s){s._isPm=s._locale.isPM(e),s._meridiem=e}),D(["h","hh"],function(e,t,s){t[p]=_(e),m(s).bigHour=!0}),D("hmm",function(e,t,s){var r=e.length-2;t[p]=_(e.substr(0,r)),t[I]=_(e.substr(r)),m(s).bigHour=!0}),D("hmmss",function(e,t,s){var r=e.length-4,n=e.length-2;t[p]=_(e.substr(0,r)),t[I]=_(e.substr(r,2)),t[G]=_(e.substr(n)),m(s).bigHour=!0}),D("Hmm",function(e,t,s){var r=e.length-2;t[p]=_(e.substr(0,r)),t[I]=_(e.substr(r))}),D("Hmmss",function(e,t,s){var r=e.length-4,n=e.length-2;t[p]=_(e.substr(0,r)),t[I]=_(e.substr(r,2)),t[G]=_(e.substr(n))});function kn(e){return(e+"").toLowerCase().charAt(0)==="p"}var vn=/[ap]\.?m?\.?/i,Yn=le("Hours",!0);function pn(e,t,s){return e>11?s?"pm":"PM":s?"am":"AM"}var os={calendar:hr,longDateFormat:yr,invalidDate:gr,ordinal:Dr,dayOfMonthOrdinalParse:Sr,relativeTime:vr,months:Er,monthsShort:Kt,week:Qr,weekdays:nn,weekdaysMin:an,weekdaysShort:ns,meridiemParse:vn},v={},ve={},Ye;function On(e,t){var s,r=Math.min(e.length,t.length);for(s=0;s<r;s+=1)if(e[s]!==t[s])return s;return r}function ls(e){return e&&e.toLowerCase().replace("_","-")}function Tn(e){for(var t=0,s,r,n,a;t<e.length;){for(a=ls(e[t]).split("-"),s=a.length,r=ls(e[t+1]),r=r?r.split("-"):null;s>0;){if(n=Ce(a.slice(0,s).join("-")),n)return n;if(r&&r.length>=s&&On(a,r)>=s-1)break;s--}t++}return Ye}function bn(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Ce(e){var t=null,s;if(v[e]===void 0&&typeof module<"u"&&module&&module.exports&&bn(e))try{t=Ye._abbr,s=require,s("./locale/"+e),K(t)}catch{v[e]=null}return v[e]}function K(e,t){var s;return e&&(b(t)?s=z(e):s=mt(e,t),s?Ye=s:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Ye._abbr}function mt(e,t){if(t!==null){var s,r=os;if(t.abbr=e,v[e]!=null)Vt("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."),r=v[e]._config;else if(t.parentLocale!=null)if(v[t.parentLocale]!=null)r=v[t.parentLocale]._config;else if(s=Ce(t.parentLocale),s!=null)r=s._config;else return ve[t.parentLocale]||(ve[t.parentLocale]=[]),ve[t.parentLocale].push({name:e,config:t}),null;return v[e]=new tt(et(r,t)),ve[e]&&ve[e].forEach(function(n){mt(n.name,n.config)}),K(e),v[e]}else return delete v[e],null}function Wn(e,t){if(t!=null){var s,r,n=os;v[e]!=null&&v[e].parentLocale!=null?v[e].set(et(v[e]._config,t)):(r=Ce(e),r!=null&&(n=r._config),t=et(n,t),r==null&&(t.abbr=e),s=new tt(t),s.parentLocale=v[e],v[e]=s),K(e)}else v[e]!=null&&(v[e].parentLocale!=null?(v[e]=v[e].parentLocale,e===K()&&K(e)):v[e]!=null&&delete v[e]);return v[e]}function z(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ye;if(!F(e)){if(t=Ce(e),t)return t;e=[e]}return Tn(e)}function Nn(){return st(v)}function _t(e){var t,s=e._a;return s&&m(e).overflow===-2&&(t=s[V]<0||s[V]>11?V:s[H]<1||s[H]>dt(s[O],s[V])?H:s[p]<0||s[p]>24||s[p]===24&&(s[I]!==0||s[G]!==0||s[se]!==0)?p:s[I]<0||s[I]>59?I:s[G]<0||s[G]>59?G:s[se]<0||s[se]>999?se:-1,m(e)._overflowDayOfYear&&(t<O||t>H)&&(t=H),m(e)._overflowWeeks&&t===-1&&(t=Fr),m(e)._overflowWeekday&&t===-1&&(t=xr),m(e).overflow=t),e}var Pn=/^\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)?)?$/,Rn=/^\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)?)?$/,Fn=/Z|[+-]\d\d(?::?\d\d)?/,Ue=[["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}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],yt=[["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/]],xn=/^\/?Date\((-?\d+)/i,In=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Ln={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function us(e){var t,s,r=e._i,n=Pn.exec(r)||Rn.exec(r),a,i,u,c,y=Ue.length,T=yt.length;if(n){for(m(e).iso=!0,t=0,s=y;t<s;t++)if(Ue[t][1].exec(n[1])){i=Ue[t][0],a=Ue[t][2]!==!1;break}if(i==null){e._isValid=!1;return}if(n[3]){for(t=0,s=T;t<s;t++)if(yt[t][1].exec(n[3])){u=(n[2]||" ")+yt[t][0];break}if(u==null){e._isValid=!1;return}}if(!a&&u!=null){e._isValid=!1;return}if(n[4])if(Fn.exec(n[4]))c="Z";else{e._isValid=!1;return}e._f=i+(u||"")+(c||""),gt(e)}else e._isValid=!1}function Cn(e,t,s,r,n,a){var i=[Un(e),Kt.indexOf(t),parseInt(s,10),parseInt(r,10),parseInt(n,10)];return a&&i.push(parseInt(a,10)),i}function Un(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function En(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Hn(e,t,s){if(e){var r=ns.indexOf(e),n=new Date(t[0],t[1],t[2]).getDay();if(r!==n)return m(s).weekdayMismatch=!0,s._isValid=!1,!1}return!0}function An(e,t,s){if(e)return Ln[e];if(t)return 0;var r=parseInt(s,10),n=r%100,a=(r-n)/100;return a*60+n}function ds(e){var t=In.exec(En(e._i)),s;if(t){if(s=Cn(t[4],t[3],t[2],t[5],t[6],t[7]),!Hn(t[1],s,e))return;e._a=s,e._tzm=An(t[8],t[9],t[10]),e._d=Se.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),m(e).rfc2822=!0}else e._isValid=!1}function jn(e){var t=xn.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(us(e),e._isValid===!1)delete e._isValid;else return;if(ds(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:l.createFromInputFallback(e)}l.createFromInputFallback=N("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function ue(e,t,s){return e??t??s}function Vn(e){var t=new Date(l.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function wt(e){var t,s,r=[],n,a,i;if(!e._d){for(n=Vn(e),e._w&&e._a[H]==null&&e._a[V]==null&&Gn(e),e._dayOfYear!=null&&(i=ue(e._a[O],n[O]),(e._dayOfYear>Me(i)||e._dayOfYear===0)&&(m(e)._overflowDayOfYear=!0),s=Se(i,0,e._dayOfYear),e._a[V]=s.getUTCMonth(),e._a[H]=s.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=n[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[p]===24&&e._a[I]===0&&e._a[G]===0&&e._a[se]===0&&(e._nextDay=!0,e._a[p]=0),e._d=(e._useUTC?Se:qr).apply(null,r),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[p]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==a&&(m(e).weekdayMismatch=!0)}}function Gn(e){var t,s,r,n,a,i,u,c,y;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(a=1,i=4,s=ue(t.GG,e._a[O],ke(k(),1,4).year),r=ue(t.W,1),n=ue(t.E,1),(n<1||n>7)&&(c=!0)):(a=e._locale._week.dow,i=e._locale._week.doy,y=ke(k(),a,i),s=ue(t.gg,e._a[O],y.year),r=ue(t.w,y.week),t.d!=null?(n=t.d,(n<0||n>6)&&(c=!0)):t.e!=null?(n=t.e+a,(t.e<0||t.e>6)&&(c=!0)):n=a),r<1||r>$(s,a,i)?m(e)._overflowWeeks=!0:c!=null?m(e)._overflowWeekday=!0:(u=rs(s,r,n,a,i),e._a[O]=u.year,e._dayOfYear=u.dayOfYear)}l.ISO_8601=function(){},l.RFC_2822=function(){};function gt(e){if(e._f===l.ISO_8601){us(e);return}if(e._f===l.RFC_2822){ds(e);return}e._a=[],m(e).empty=!0;var t=""+e._i,s,r,n,a,i,u=t.length,c=0,y,T;for(n=Gt(e._f,e._locale).match(rt)||[],T=n.length,s=0;s<T;s++)a=n[s],r=(t.match(Nr(a,e))||[])[0],r&&(i=t.substr(0,t.indexOf(r)),i.length>0&&m(e).unusedInput.push(i),t=t.slice(t.indexOf(r)+r.length),c+=r.length),ae[a]?(r?m(e).empty=!1:m(e).unusedTokens.push(a),Rr(a,r,e)):e._strict&&!r&&m(e).unusedTokens.push(a);m(e).charsLeftOver=u-c,t.length>0&&m(e).unusedInput.push(t),e._a[p]<=12&&m(e).bigHour===!0&&e._a[p]>0&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[p]=$n(e._locale,e._a[p],e._meridiem),y=m(e).era,y!==null&&(e._a[O]=e._locale.erasConvertYear(y,e._a[O])),wt(e),_t(e)}function $n(e,t,s){var r;return s==null?t:e.meridiemHour!=null?e.meridiemHour(t,s):(e.isPM!=null&&(r=e.isPM(s),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function zn(e){var t,s,r,n,a,i,u=!1,c=e._f.length;if(c===0){m(e).invalidFormat=!0,e._d=new Date(NaN);return}for(n=0;n<c;n++)a=0,i=!1,t=Xe({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[n],gt(t),Qe(t)&&(i=!0),a+=m(t).charsLeftOver,a+=m(t).unusedTokens.length*10,m(t).score=a,u?a<r&&(r=a,s=t):(r==null||a<r||i)&&(r=a,s=t,i&&(u=!0));Q(e,s||t)}function Zn(e){if(!e._d){var t=at(e._i),s=t.day===void 0?t.date:t.day;e._a=Et([t.year,t.month,s,t.hour,t.minute,t.second,t.millisecond],function(r){return r&&parseInt(r,10)}),wt(e)}}function Bn(e){var t=new ye(_t(fs(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function fs(e){var t=e._i,s=e._f;return e._locale=e._locale||z(e._l),t===null||s===void 0&&t===""?Oe({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),x(t)?new ye(_t(t)):(_e(t)?e._d=t:F(s)?zn(e):s?gt(e):qn(e),Qe(e)||(e._d=null),e))}function qn(e){var t=e._i;b(t)?e._d=new Date(l.now()):_e(t)?e._d=new Date(t.valueOf()):typeof t=="string"?jn(e):F(t)?(e._a=Et(t.slice(0),function(s){return parseInt(s,10)}),wt(e)):te(t)?Zn(e):A(t)?e._d=new Date(t):l.createFromInputFallback(e)}function hs(e,t,s,r,n){var a={};return(t===!0||t===!1)&&(r=t,t=void 0),(s===!0||s===!1)&&(r=s,s=void 0),(te(e)&&qe(e)||F(e)&&e.length===0)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=n,a._l=s,a._i=e,a._f=t,a._strict=r,Bn(a)}function k(e,t,s,r){return hs(e,t,s,r,!1)}var Jn=N("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=k.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Oe()}),Qn=N("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=k.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Oe()});function cs(e,t){var s,r;if(t.length===1&&F(t[0])&&(t=t[0]),!t.length)return k();for(s=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](s))&&(s=t[r]);return s}function Kn(){var e=[].slice.call(arguments,0);return cs("isBefore",e)}function Xn(){var e=[].slice.call(arguments,0);return cs("isAfter",e)}var ea=function(){return Date.now?Date.now():+new Date},pe=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ta(e){var t,s=!1,r,n=pe.length;for(t in e)if(g(e,t)&&!(Y.call(pe,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<n;++r)if(e[pe[r]]){if(s)return!1;parseFloat(e[pe[r]])!==_(e[pe[r]])&&(s=!0)}return!0}function sa(){return this._isValid}function ra(){return L(NaN)}function Ee(e){var t=at(e),s=t.year||0,r=t.quarter||0,n=t.month||0,a=t.week||t.isoWeek||0,i=t.day||0,u=t.hour||0,c=t.minute||0,y=t.second||0,T=t.millisecond||0;this._isValid=ta(t),this._milliseconds=+T+y*1e3+c*6e4+u*1e3*60*60,this._days=+i+a*7,this._months=+n+r*3+s*12,this._data={},this._locale=z(),this._bubble()}function He(e){return e instanceof Ee}function Mt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function na(e,t,s){var r=Math.min(e.length,t.length),n=Math.abs(e.length-t.length),a=0,i;for(i=0;i<r;i++)_(e[i])!==_(t[i])&&a++;return a+n}function ms(e,t){h(e,0,0,function(){var s=this.utcOffset(),r="+";return s<0&&(s=-s,r="-"),r+E(~~(s/60),2)+t+E(~~s%60,2)})}ms("Z",":"),ms("ZZ",""),d("Z",Fe),d("ZZ",Fe),D(["Z","ZZ"],function(e,t,s){s._useUTC=!0,s._tzm=Dt(Fe,e)});var aa=/([\+\-]|\d\d)/gi;function Dt(e,t){var s=(t||"").match(e),r,n,a;return s===null?null:(r=s[s.length-1]||[],n=(r+"").match(aa)||["-",0,0],a=+(n[1]*60)+_(n[2]),a===0?0:n[0]==="+"?a:-a)}function St(e,t){var s,r;return t._isUTC?(s=t.clone(),r=(x(e)||_e(e)?e.valueOf():k(e).valueOf())-s.valueOf(),s._d.setTime(s._d.valueOf()+r),l.updateOffset(s,!1),s):k(e).local()}function kt(e){return-Math.round(e._d.getTimezoneOffset())}l.updateOffset=function(){};function ia(e,t,s){var r=this._offset||0,n;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Dt(Fe,e),e===null)return this}else Math.abs(e)<16&&!s&&(e=e*60);return!this._isUTC&&t&&(n=kt(this)),this._offset=e,this._isUTC=!0,n!=null&&this.add(n,"m"),r!==e&&(!t||this._changeInProgress?gs(this,L(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,l.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:kt(this)}function oa(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function la(e){return this.utcOffset(0,e)}function ua(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(kt(this),"m")),this}function da(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Dt(br,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function fa(e){return this.isValid()?(e=e?k(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function ha(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function ca(){if(!b(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Xe(e,this),e=fs(e),e._a?(t=e._isUTC?C(e._a):k(e._a),this._isDSTShifted=this.isValid()&&na(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function ma(){return this.isValid()?!this._isUTC:!1}function _a(){return this.isValid()?this._isUTC:!1}function _s(){return this.isValid()?this._isUTC&&this._offset===0:!1}var ya=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,wa=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function L(e,t){var s=e,r=null,n,a,i;return He(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:A(e)||!isNaN(+e)?(s={},t?s[t]=+e:s.milliseconds=+e):(r=ya.exec(e))?(n=r[1]==="-"?-1:1,s={y:0,d:_(r[H])*n,h:_(r[p])*n,m:_(r[I])*n,s:_(r[G])*n,ms:_(Mt(r[se]*1e3))*n}):(r=wa.exec(e))?(n=r[1]==="-"?-1:1,s={y:re(r[2],n),M:re(r[3],n),w:re(r[4],n),d:re(r[5],n),h:re(r[6],n),m:re(r[7],n),s:re(r[8],n)}):s==null?s={}:typeof s=="object"&&("from"in s||"to"in s)&&(i=ga(k(s.from),k(s.to)),s={},s.ms=i.milliseconds,s.M=i.months),a=new Ee(s),He(e)&&g(e,"_locale")&&(a._locale=e._locale),He(e)&&g(e,"_isValid")&&(a._isValid=e._isValid),a}L.fn=Ee.prototype,L.invalid=ra;function re(e,t){var s=e&&parseFloat(e.replace(",","."));return(isNaN(s)?0:s)*t}function ys(e,t){var s={};return s.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(s.months,"M").isAfter(t)&&--s.months,s.milliseconds=+t-+e.clone().add(s.months,"M"),s}function ga(e,t){var s;return e.isValid()&&t.isValid()?(t=St(t,e),e.isBefore(t)?s=ys(e,t):(s=ys(t,e),s.milliseconds=-s.milliseconds,s.months=-s.months),s):{milliseconds:0,months:0}}function ws(e,t){return function(s,r){var n,a;return r!==null&&!isNaN(+r)&&(Vt(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."),a=s,s=r,r=a),n=L(s,r),gs(this,n,e),this}}function gs(e,t,s,r){var n=t._milliseconds,a=Mt(t._days),i=Mt(t._months);e.isValid()&&(r=r??!0,i&&es(e,De(e,"Month")+i*s),a&&Qt(e,"Date",De(e,"Date")+a*s),n&&e._d.setTime(e._d.valueOf()+n*s),r&&l.updateOffset(e,a||i))}var Ma=ws(1,"add"),Da=ws(-1,"subtract");function Ms(e){return typeof e=="string"||e instanceof String}function Sa(e){return x(e)||_e(e)||Ms(e)||A(e)||va(e)||ka(e)||e===null||e===void 0}function ka(e){var t=te(e)&&!qe(e),s=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],n,a,i=r.length;for(n=0;n<i;n+=1)a=r[n],s=s||g(e,a);return t&&s}function va(e){var t=F(e),s=!1;return t&&(s=e.filter(function(r){return!A(r)&&Ms(e)}).length===0),t&&s}function Ya(e){var t=te(e)&&!qe(e),s=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],n,a;for(n=0;n<r.length;n+=1)a=r[n],s=s||g(e,a);return t&&s}function pa(e,t){var s=e.diff(t,"days",!0);return s<-6?"sameElse":s<-1?"lastWeek":s<0?"lastDay":s<1?"sameDay":s<2?"nextDay":s<7?"nextWeek":"sameElse"}function Oa(e,t){arguments.length===1&&(arguments[0]?Sa(arguments[0])?(e=arguments[0],t=void 0):Ya(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var s=e||k(),r=St(s,this).startOf("day"),n=l.calendarFormat(this,r)||"sameElse",a=t&&(U(t[n])?t[n].call(this,s):t[n]);return this.format(a||this.localeData().calendar(n,this,k(s)))}function Ta(){return new ye(this)}function ba(e,t){var s=x(e)?e:k(e);return this.isValid()&&s.isValid()?(t=P(t)||"millisecond",t==="millisecond"?this.valueOf()>s.valueOf():s.valueOf()<this.clone().startOf(t).valueOf()):!1}function Wa(e,t){var s=x(e)?e:k(e);return this.isValid()&&s.isValid()?(t=P(t)||"millisecond",t==="millisecond"?this.valueOf()<s.valueOf():this.clone().endOf(t).valueOf()<s.valueOf()):!1}function Na(e,t,s,r){var n=x(e)?e:k(e),a=x(t)?t:k(t);return this.isValid()&&n.isValid()&&a.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(n,s):!this.isBefore(n,s))&&(r[1]===")"?this.isBefore(a,s):!this.isAfter(a,s))):!1}function Pa(e,t){var s=x(e)?e:k(e),r;return this.isValid()&&s.isValid()?(t=P(t)||"millisecond",t==="millisecond"?this.valueOf()===s.valueOf():(r=s.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf())):!1}function Ra(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Fa(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function xa(e,t,s){var r,n,a;if(!this.isValid())return NaN;if(r=St(e,this),!r.isValid())return NaN;switch(n=(r.utcOffset()-this.utcOffset())*6e4,t=P(t),t){case"year":a=Ae(this,r)/12;break;case"month":a=Ae(this,r);break;case"quarter":a=Ae(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-n)/864e5;break;case"week":a=(this-r-n)/6048e5;break;default:a=this-r}return s?a:R(a)}function Ae(e,t){if(e.date()<t.date())return-Ae(t,e);var s=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(s,"months"),n,a;return t-r<0?(n=e.clone().add(s-1,"months"),a=(t-r)/(r-n)):(n=e.clone().add(s+1,"months"),a=(t-r)/(n-r)),-(s+a)||0}l.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",l.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Ia(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function La(e){if(!this.isValid())return null;var t=e!==!0,s=t?this.clone().utc():this;return s.year()<0||s.year()>9999?be(s,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):U(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",be(s,"Z")):be(s,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Ca(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",s,r,n,a;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),s="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",a=t+'[")]',this.format(s+r+n+a)}function Ua(e){e||(e=this.isUtc()?l.defaultFormatUtc:l.defaultFormat);var t=be(this,e);return this.localeData().postformat(t)}function Ea(e,t){return this.isValid()&&(x(e)&&e.isValid()||k(e).isValid())?L({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Ha(e){return this.from(k(),e)}function Aa(e,t){return this.isValid()&&(x(e)&&e.isValid()||k(e).isValid())?L({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ja(e){return this.to(k(),e)}function Ds(e){var t;return e===void 0?this._locale._abbr:(t=z(e),t!=null&&(this._locale=t),this)}var Ss=N("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function ks(){return this._locale}var je=1e3,de=60*je,Ve=60*de,vs=(365*400+97)*24*Ve;function fe(e,t){return(e%t+t)%t}function Ys(e,t,s){return e<100&&e>=0?new Date(e+400,t,s)-vs:new Date(e,t,s).valueOf()}function ps(e,t,s){return e<100&&e>=0?Date.UTC(e+400,t,s)-vs:Date.UTC(e,t,s)}function Va(e){var t,s;if(e=P(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(s=this._isUTC?ps:Ys,e){case"year":t=s(this.year(),0,1);break;case"quarter":t=s(this.year(),this.month()-this.month()%3,1);break;case"month":t=s(this.year(),this.month(),1);break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=s(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=fe(t+(this._isUTC?0:this.utcOffset()*de),Ve);break;case"minute":t=this._d.valueOf(),t-=fe(t,de);break;case"second":t=this._d.valueOf(),t-=fe(t,je);break}return this._d.setTime(t),l.updateOffset(this,!0),this}function Ga(e){var t,s;if(e=P(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(s=this._isUTC?ps:Ys,e){case"year":t=s(this.year()+1,0,1)-1;break;case"quarter":t=s(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=s(this.year(),this.month()+1,1)-1;break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=s(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Ve-fe(t+(this._isUTC?0:this.utcOffset()*de),Ve)-1;break;case"minute":t=this._d.valueOf(),t+=de-fe(t,de)-1;break;case"second":t=this._d.valueOf(),t+=je-fe(t,je)-1;break}return this._d.setTime(t),l.updateOffset(this,!0),this}function $a(){return this._d.valueOf()-(this._offset||0)*6e4}function za(){return Math.floor(this.valueOf()/1e3)}function Za(){return new Date(this.valueOf())}function Ba(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function qa(){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 Ja(){return this.isValid()?this.toISOString():null}function Qa(){return Qe(this)}function Ka(){return Q({},m(this))}function Xa(){return m(this).overflow}function ei(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}h("N",0,0,"eraAbbr"),h("NN",0,0,"eraAbbr"),h("NNN",0,0,"eraAbbr"),h("NNNN",0,0,"eraName"),h("NNNNN",0,0,"eraNarrow"),h("y",["y",1],"yo","eraYear"),h("y",["yy",2],0,"eraYear"),h("y",["yyy",3],0,"eraYear"),h("y",["yyyy",4],0,"eraYear"),d("N",vt),d("NN",vt),d("NNN",vt),d("NNNN",fi),d("NNNNN",hi),D(["N","NN","NNN","NNNN","NNNNN"],function(e,t,s,r){var n=s._locale.erasParse(e,r,s._strict);n?m(s).era=n:m(s).invalidEra=e}),d("y",ie),d("yy",ie),d("yyy",ie),d("yyyy",ie),d("yo",ci),D(["y","yy","yyy","yyyy"],O),D(["yo"],function(e,t,s,r){var n;s._locale._eraYearOrdinalRegex&&(n=e.match(s._locale._eraYearOrdinalRegex)),s._locale.eraYearOrdinalParse?t[O]=s._locale.eraYearOrdinalParse(e,n):t[O]=parseInt(e,10)});function ti(e,t){var s,r,n,a=this._eras||z("en")._eras;for(s=0,r=a.length;s<r;++s){switch(typeof a[s].since){case"string":n=l(a[s].since).startOf("day"),a[s].since=n.valueOf();break}switch(typeof a[s].until){case"undefined":a[s].until=1/0;break;case"string":n=l(a[s].until).startOf("day").valueOf(),a[s].until=n.valueOf();break}}return a}function si(e,t,s){var r,n,a=this.eras(),i,u,c;for(e=e.toUpperCase(),r=0,n=a.length;r<n;++r)if(i=a[r].name.toUpperCase(),u=a[r].abbr.toUpperCase(),c=a[r].narrow.toUpperCase(),s)switch(t){case"N":case"NN":case"NNN":if(u===e)return a[r];break;case"NNNN":if(i===e)return a[r];break;case"NNNNN":if(c===e)return a[r];break}else if([i,u,c].indexOf(e)>=0)return a[r]}function ri(e,t){var s=e.since<=e.until?1:-1;return t===void 0?l(e.since).year():l(e.since).year()+(t-e.offset)*s}function ni(){var e,t,s,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(s=this.clone().startOf("day").valueOf(),r[e].since<=s&&s<=r[e].until||r[e].until<=s&&s<=r[e].since)return r[e].name;return""}function ai(){var e,t,s,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(s=this.clone().startOf("day").valueOf(),r[e].since<=s&&s<=r[e].until||r[e].until<=s&&s<=r[e].since)return r[e].narrow;return""}function ii(){var e,t,s,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(s=this.clone().startOf("day").valueOf(),r[e].since<=s&&s<=r[e].until||r[e].until<=s&&s<=r[e].since)return r[e].abbr;return""}function oi(){var e,t,s,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(s=n[e].since<=n[e].until?1:-1,r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return(this.year()-l(n[e].since).year())*s+n[e].offset;return this.year()}function li(e){return g(this,"_erasNameRegex")||Yt.call(this),e?this._erasNameRegex:this._erasRegex}function ui(e){return g(this,"_erasAbbrRegex")||Yt.call(this),e?this._erasAbbrRegex:this._erasRegex}function di(e){return g(this,"_erasNarrowRegex")||Yt.call(this),e?this._erasNarrowRegex:this._erasRegex}function vt(e,t){return t.erasAbbrRegex(e)}function fi(e,t){return t.erasNameRegex(e)}function hi(e,t){return t.erasNarrowRegex(e)}function ci(e,t){return t._eraYearOrdinalRegex||ie}function Yt(){var e=[],t=[],s=[],r=[],n,a,i,u,c,y=this.eras();for(n=0,a=y.length;n<a;++n)i=j(y[n].name),u=j(y[n].abbr),c=j(y[n].narrow),t.push(i),e.push(u),s.push(c),r.push(i),r.push(u),r.push(c);this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+s.join("|")+")","i")}h(0,["gg",2],0,function(){return this.weekYear()%100}),h(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Ge(e,t){h(0,[e,e.length],0,t)}Ge("gggg","weekYear"),Ge("ggggg","weekYear"),Ge("GGGG","isoWeekYear"),Ge("GGGGG","isoWeekYear"),d("G",Re),d("g",Re),d("GG",S,W),d("gg",S,W),d("GGGG",ot,it),d("gggg",ot,it),d("GGGGG",Pe,We),d("ggggg",Pe,We),ge(["gggg","ggggg","GGGG","GGGGG"],function(e,t,s,r){t[r.substr(0,2)]=_(e)}),ge(["gg","GG"],function(e,t,s,r){t[r]=l.parseTwoDigitYear(e)});function mi(e){return Os.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function _i(e){return Os.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function yi(){return $(this.year(),1,4)}function wi(){return $(this.isoWeekYear(),1,4)}function gi(){var e=this.localeData()._week;return $(this.year(),e.dow,e.doy)}function Mi(){var e=this.localeData()._week;return $(this.weekYear(),e.dow,e.doy)}function Os(e,t,s,r,n){var a;return e==null?ke(this,r,n).year:(a=$(e,r,n),t>a&&(t=a),Di.call(this,e,t,s,r,n))}function Di(e,t,s,r,n){var a=rs(e,t,s,r,n),i=Se(a.year,0,a.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}h("Q",0,"Qo","quarter"),d("Q",zt),D("Q",function(e,t){t[V]=(_(e)-1)*3});function Si(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}h("D",["DD",2],"Do","date"),d("D",S,oe),d("DD",S,W),d("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),D(["D","DD"],H),D("Do",function(e,t){t[H]=_(e.match(S)[0])});var Ts=le("Date",!0);h("DDD",["DDDD",3],"DDDo","dayOfYear"),d("DDD",Ne),d("DDDD",Zt),D(["DDD","DDDD"],function(e,t,s){s._dayOfYear=_(e)});function ki(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}h("m",["mm",2],0,"minute"),d("m",S,lt),d("mm",S,W),D(["m","mm"],I);var vi=le("Minutes",!1);h("s",["ss",2],0,"second"),d("s",S,lt),d("ss",S,W),D(["s","ss"],G);var Yi=le("Seconds",!1);h("S",0,0,function(){return~~(this.millisecond()/100)}),h(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),h(0,["SSS",3],0,"millisecond"),h(0,["SSSS",4],0,function(){return this.millisecond()*10}),h(0,["SSSSS",5],0,function(){return this.millisecond()*100}),h(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),h(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),h(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),h(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),d("S",Ne,zt),d("SS",Ne,W),d("SSS",Ne,Zt);var X,bs;for(X="SSSS";X.length<=9;X+="S")d(X,ie);function pi(e,t){t[se]=_(("0."+e)*1e3)}for(X="S";X.length<=9;X+="S")D(X,pi);bs=le("Milliseconds",!1),h("z",0,0,"zoneAbbr"),h("zz",0,0,"zoneName");function Oi(){return this._isUTC?"UTC":""}function Ti(){return this._isUTC?"Coordinated Universal Time":""}var o=ye.prototype;o.add=Ma,o.calendar=Oa,o.clone=Ta,o.diff=xa,o.endOf=Ga,o.format=Ua,o.from=Ea,o.fromNow=Ha,o.to=Aa,o.toNow=ja,o.get=Lr,o.invalidAt=Xa,o.isAfter=ba,o.isBefore=Wa,o.isBetween=Na,o.isSame=Pa,o.isSameOrAfter=Ra,o.isSameOrBefore=Fa,o.isValid=Qa,o.lang=Ss,o.locale=Ds,o.localeData=ks,o.max=Qn,o.min=Jn,o.parsingFlags=Ka,o.set=Cr,o.startOf=Va,o.subtract=Da,o.toArray=Ba,o.toObject=qa,o.toDate=Za,o.toISOString=La,o.inspect=Ca,typeof Symbol<"u"&&Symbol.for!=null&&(o[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),o.toJSON=Ja,o.toString=Ia,o.unix=za,o.valueOf=$a,o.creationData=ei,o.eraName=ni,o.eraNarrow=ai,o.eraAbbr=ii,o.eraYear=oi,o.year=Jt,o.isLeapYear=Ir,o.weekYear=mi,o.isoWeekYear=_i,o.quarter=o.quarters=Si,o.month=ts,o.daysInMonth=zr,o.week=o.weeks=en,o.isoWeek=o.isoWeeks=tn,o.weeksInYear=gi,o.weeksInWeekYear=Mi,o.isoWeeksInYear=yi,o.isoWeeksInISOWeekYear=wi,o.date=Ts,o.day=o.days=_n,o.weekday=yn,o.isoWeekday=wn,o.dayOfYear=ki,o.hour=o.hours=Yn,o.minute=o.minutes=vi,o.second=o.seconds=Yi,o.millisecond=o.milliseconds=bs,o.utcOffset=ia,o.utc=la,o.local=ua,o.parseZone=da,o.hasAlignedHourOffset=fa,o.isDST=ha,o.isLocal=ma,o.isUtcOffset=_a,o.isUtc=_s,o.isUTC=_s,o.zoneAbbr=Oi,o.zoneName=Ti,o.dates=N("dates accessor is deprecated. Use date instead.",Ts),o.months=N("months accessor is deprecated. Use month instead",ts),o.years=N("years accessor is deprecated. Use year instead",Jt),o.zone=N("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",oa),o.isDSTShifted=N("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",ca);function bi(e){return k(e*1e3)}function Wi(){return k.apply(null,arguments).parseZone()}function Ws(e){return e}var M=tt.prototype;M.calendar=cr,M.longDateFormat=wr,M.invalidDate=Mr,M.ordinal=kr,M.preparse=Ws,M.postformat=Ws,M.relativeTime=Yr,M.pastFuture=pr,M.set=fr,M.eras=ti,M.erasParse=si,M.erasConvertYear=ri,M.erasAbbrRegex=ui,M.erasNameRegex=li,M.erasNarrowRegex=di,M.months=jr,M.monthsShort=Vr,M.monthsParse=$r,M.monthsRegex=Br,M.monthsShortRegex=Zr,M.week=Jr,M.firstDayOfYear=Xr,M.firstDayOfWeek=Kr,M.weekdays=dn,M.weekdaysMin=hn,M.weekdaysShort=fn,M.weekdaysParse=mn,M.weekdaysRegex=gn,M.weekdaysShortRegex=Mn,M.weekdaysMinRegex=Dn,M.isPM=kn,M.meridiem=pn;function $e(e,t,s,r){var n=z(),a=C().set(r,t);return n[s](a,e)}function Ns(e,t,s){if(A(e)&&(t=e,e=void 0),e=e||"",t!=null)return $e(e,t,s,"month");var r,n=[];for(r=0;r<12;r++)n[r]=$e(e,r,s,"month");return n}function pt(e,t,s,r){typeof e=="boolean"?(A(t)&&(s=t,t=void 0),t=t||""):(t=e,s=t,e=!1,A(t)&&(s=t,t=void 0),t=t||"");var n=z(),a=e?n._week.dow:0,i,u=[];if(s!=null)return $e(t,(s+a)%7,r,"day");for(i=0;i<7;i++)u[i]=$e(t,(i+a)%7,r,"day");return u}function Ni(e,t){return Ns(e,t,"months")}function Pi(e,t){return Ns(e,t,"monthsShort")}function Ri(e,t,s){return pt(e,t,s,"weekdays")}function Fi(e,t,s){return pt(e,t,s,"weekdaysShort")}function xi(e,t,s){return pt(e,t,s,"weekdaysMin")}K("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,s=_(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+s}}),l.lang=N("moment.lang is deprecated. Use moment.locale instead.",K),l.langData=N("moment.langData is deprecated. Use moment.localeData instead.",z);var Z=Math.abs;function Ii(){var e=this._data;return this._milliseconds=Z(this._milliseconds),this._days=Z(this._days),this._months=Z(this._months),e.milliseconds=Z(e.milliseconds),e.seconds=Z(e.seconds),e.minutes=Z(e.minutes),e.hours=Z(e.hours),e.months=Z(e.months),e.years=Z(e.years),this}function Ps(e,t,s,r){var n=L(t,s);return e._milliseconds+=r*n._milliseconds,e._days+=r*n._days,e._months+=r*n._months,e._bubble()}function Li(e,t){return Ps(this,e,t,1)}function Ci(e,t){return Ps(this,e,t,-1)}function Rs(e){return e<0?Math.floor(e):Math.ceil(e)}function Ui(){var e=this._milliseconds,t=this._days,s=this._months,r=this._data,n,a,i,u,c;return e>=0&&t>=0&&s>=0||e<=0&&t<=0&&s<=0||(e+=Rs(Ot(s)+t)*864e5,t=0,s=0),r.milliseconds=e%1e3,n=R(e/1e3),r.seconds=n%60,a=R(n/60),r.minutes=a%60,i=R(a/60),r.hours=i%24,t+=R(i/24),c=R(Fs(t)),s+=c,t-=Rs(Ot(c)),u=R(s/12),s%=12,r.days=t,r.months=s,r.years=u,this}function Fs(e){return e*4800/146097}function Ot(e){return e*146097/4800}function Ei(e){if(!this.isValid())return NaN;var t,s,r=this._milliseconds;if(e=P(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,s=this._months+Fs(t),e){case"month":return s;case"quarter":return s/3;case"year":return s/12}else switch(t=this._days+Math.round(Ot(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function B(e){return function(){return this.as(e)}}var xs=B("ms"),Hi=B("s"),Ai=B("m"),ji=B("h"),Vi=B("d"),Gi=B("w"),$i=B("M"),zi=B("Q"),Zi=B("y"),Bi=xs;function qi(){return L(this)}function Ji(e){return e=P(e),this.isValid()?this[e+"s"]():NaN}function ne(e){return function(){return this.isValid()?this._data[e]:NaN}}var Qi=ne("milliseconds"),Ki=ne("seconds"),Xi=ne("minutes"),eo=ne("hours"),to=ne("days"),so=ne("months"),ro=ne("years");function no(){return R(this.days()/7)}var q=Math.round,he={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ao(e,t,s,r,n){return n.relativeTime(t||1,!!s,e,r)}function io(e,t,s,r){var n=L(e).abs(),a=q(n.as("s")),i=q(n.as("m")),u=q(n.as("h")),c=q(n.as("d")),y=q(n.as("M")),T=q(n.as("w")),J=q(n.as("y")),ee=a<=s.ss&&["s",a]||a<s.s&&["ss",a]||i<=1&&["m"]||i<s.m&&["mm",i]||u<=1&&["h"]||u<s.h&&["hh",u]||c<=1&&["d"]||c<s.d&&["dd",c];return s.w!=null&&(ee=ee||T<=1&&["w"]||T<s.w&&["ww",T]),ee=ee||y<=1&&["M"]||y<s.M&&["MM",y]||J<=1&&["y"]||["yy",J],ee[2]=t,ee[3]=+e>0,ee[4]=r,ao.apply(null,ee)}function oo(e){return e===void 0?q:typeof e=="function"?(q=e,!0):!1}function lo(e,t){return he[e]===void 0?!1:t===void 0?he[e]:(he[e]=t,e==="s"&&(he.ss=t-1),!0)}function uo(e,t){if(!this.isValid())return this.localeData().invalidDate();var s=!1,r=he,n,a;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(s=e),typeof t=="object"&&(r=Object.assign({},he,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),n=this.localeData(),a=io(this,!s,r,n),s&&(a=n.pastFuture(+this,a)),n.postformat(a)}var Tt=Math.abs;function ce(e){return(e>0)-(e<0)||+e}function ze(){if(!this.isValid())return this.localeData().invalidDate();var e=Tt(this._milliseconds)/1e3,t=Tt(this._days),s=Tt(this._months),r,n,a,i,u=this.asSeconds(),c,y,T,J;return u?(r=R(e/60),n=R(r/60),e%=60,r%=60,a=R(s/12),s%=12,i=e?e.toFixed(3).replace(/\.?0+$/,""):"",c=u<0?"-":"",y=ce(this._months)!==ce(u)?"-":"",T=ce(this._days)!==ce(u)?"-":"",J=ce(this._milliseconds)!==ce(u)?"-":"",c+"P"+(a?y+a+"Y":"")+(s?y+s+"M":"")+(t?T+t+"D":"")+(n||r||e?"T":"")+(n?J+n+"H":"")+(r?J+r+"M":"")+(e?J+i+"S":"")):"P0D"}var w=Ee.prototype;w.isValid=sa,w.abs=Ii,w.add=Li,w.subtract=Ci,w.as=Ei,w.asMilliseconds=xs,w.asSeconds=Hi,w.asMinutes=Ai,w.asHours=ji,w.asDays=Vi,w.asWeeks=Gi,w.asMonths=$i,w.asQuarters=zi,w.asYears=Zi,w.valueOf=Bi,w._bubble=Ui,w.clone=qi,w.get=Ji,w.milliseconds=Qi,w.seconds=Ki,w.minutes=Xi,w.hours=eo,w.days=to,w.weeks=no,w.months=so,w.years=ro,w.humanize=uo,w.toISOString=ze,w.toString=ze,w.toJSON=ze,w.locale=Ds,w.localeData=ks,w.toIsoString=N("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ze),w.lang=Ss,h("X",0,0,"unix"),h("x",0,0,"valueOf"),d("x",Re),d("X",Wr),D("X",function(e,t,s){s._d=new Date(parseFloat(e)*1e3)}),D("x",function(e,t,s){s._d=new Date(_(e))});//! moment.js
|
|
10
|
+
l.version="2.30.1",ur(k),l.fn=o,l.min=Kn,l.max=Xn,l.now=ea,l.utc=C,l.unix=bi,l.months=Ni,l.isDate=_e,l.locale=K,l.invalid=Oe,l.duration=L,l.isMoment=x,l.weekdays=Ri,l.parseZone=Wi,l.localeData=z,l.isDuration=He,l.monthsShort=Pi,l.weekdaysMin=xi,l.defineLocale=mt,l.updateLocale=Wn,l.locales=Nn,l.weekdaysShort=Fi,l.normalizeUnits=P,l.relativeTimeRounding=oo,l.relativeTimeThreshold=lo,l.calendarFormat=pa,l.prototype=o,l.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const fo=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,ho=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,Is=/(janv\.?|févr\.?|avr\.?|juil\.?|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,bt=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i],co={months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:Is,monthsShortRegex:Is,monthsStrictRegex:fo,monthsShortStrictRegex:ho,monthsParse:bt,longMonthsParse:bt,shortMonthsParse:bt,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:(e,t)=>{switch(t){case"D":return e+(e===1?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(e===1?"er":"e");case"w":case"W":return e+(e===1?"re":"e")}},week:{dow:1,doy:4}};l.locale("fr",co);const mo=e=>new Date(e).toString()!=="Invalid Date",_o=(e,t)=>Math.abs(Math.ceil((t.getTime()-e.getTime())/(1e3*60*60*24))),yo=e=>Be(l(e).format("DD MMMM YYYY")),wo=e=>Be(l(e).format("dddd DD MMMM YYYY")),go=(e,t,s=!0)=>(s?e.getFullYear()===t.getFullYear():!0)&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate(),Mo=()=>l().locale("fr").subtract(1,"days").toDate(),Do=e=>{const t=[],s=l.duration(e);if(!(!s||s.toISOString()==="P0D")){if(s.years()>=1){const r=Math.floor(s.years());t.push(r+" "+(r>1?"années":"année"))}if(s.months()>=1){const r=Math.floor(s.months());t.push(r+" mois")}if(s.days()>=1){const r=Math.floor(s.days());t.push(r+" "+(r>1?"jours":"jour"))}if(s.hours()>=1){const r=Math.floor(s.hours());t.push(r+" "+(r>1?"heures":"heure"))}if(s.minutes()>=1){const r=Math.floor(s.minutes());t.push(r+" "+(r>1?"minutes":"minute"))}if(s.seconds()>=1){const r=Math.floor(s.seconds());t.push(r+" "+(r>1?"secondes":"seconde"))}return t.join(", ")}},Wt=/^([1-9][0-9]?)([hmd])$/i,So=e=>!!e&&Wt.test(e),ko=e=>{const t=Wt.exec(e);if(!t)return null;const[,s,r]=t,n=parseInt(s,10),a=1e3*60;if(r==="m")return a*n;if(r==="h")return a*60*n;if(r==="d")return a*60*24*n},vo=e=>{const t=Wt.exec(e);if(!t)return null;const[,s,r]=t,n=parseInt(s,10);if(r==="m")return`${n} minute${n>1?"s":""}`;if(r==="h")return`${n} heure${n>1?"s":""}`;if(r==="d")return`${n} jour${n>1?"s":""}`},Yo=e=>typeof e=="function",po=(e,t,s)=>{const r={},n=Object.entries(e);for(const[a,i]of n){const u=t[a];u?r[a]=s(i,u):r[a]=i}return r},Oo=e=>e instanceof Object,To=(e,t)=>t.reduce((s,r)=>({...s,[r]:e[r]}),{}),bo=e=>Object.entries(e);f.TIGHT_SPACE=Ft,f.WIDE_SPACE=xt,f.arrayToRecord=Ks,f.breakWords=ar,f.camelcase=Ct,f.capitalize=It,f.capitalizeAllWords=Be,f.clamp=Cs,f.dateDiff=_o,f.durationToMs=ko,f.ellipsis=tr,f.exclude=Vs,f.fillWithTightSpaces=Xs,f.fillWithWideSpaces=er,f.filterKeys=To,f.filterNullAndUndefined=zs,f.formatDate=yo,f.formatDateWithDay=wo,f.formatDuration=vo,f.formatNumber=me,f.groupBy=Hs,f.includeArrayIf=qs,f.includeBeginIf=Bs,f.includeIf=Zs,f.insertArrayIf=Pt,f.insertIf=Ze,f.isDefined=or,f.isDuration=So,f.isFunction=Yo,f.isJSON=lr,f.isNumber=Us,f.isObject=Oo,f.isPositiveInteger=sr,f.isString=Lt,f.isValidDate=mo,f.mergeObjects=po,f.mutuallyInclusive=js,f.numberToOrdinal=rr,f.paginate=Es,f.pascalCase=ir,f.pickFrom=Rt,f.pickFromNth=Js,f.precise=Do,f.randomBetween=Nt,f.range=Qs,f.recordToArray=bo,f.sameDay=go,f.seededRandom=Ls,f.shuffle=$s,f.sortBy=As,f.trim=nr,f.unique=Gs,f.yesterday=Mo,Object.defineProperty(f,Symbol.toStringTag,{value:"Module"})});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opfr/utils-lang",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "OPFR utils-lang",
|
|
6
6
|
"author": "Matthieu VEIGA",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"node_modules",
|
|
32
32
|
"dist"
|
|
33
33
|
],
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "74c2fd1c3c3918b210f896120a6fb243a88a3d4f"
|
|
35
35
|
}
|