@opfr/canvas 0.8.2 → 0.8.4
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/index.umd.js +2 -2
- package/package.json +3 -3
package/dist/index.umd.js
CHANGED
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
var Nt;function u(){return Nt.apply(null,arguments)}function Es(e){Nt=e}function R(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function se(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function w(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(w(e,t))return!1;return!0}function T(e){return e===void 0}function A(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function ye(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Pt(e,t){var s=[],r,i=e.length;for(r=0;r<i;++r)s.push(t(e[r],r));return s}function X(e,t){for(var s in t)w(t,s)&&(e[s]=t[s]);return w(t,"toString")&&(e.toString=t.toString),w(t,"valueOf")&&(e.valueOf=t.valueOf),e}function E(e,t,s,r){return is(e,t,s,r,!0).utc()}function Is(){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 c(e){return e._pf==null&&(e._pf=Is()),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=c(e),s=Je.call(t.parsedDateParts,function(i){return i!=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 Te(e){var t=E(NaN);return e!=null?X(c(t),e):c(t).userInvalidated=!0,t}var Wt=u.momentProperties=[],Xe=!1;function Ke(e,t){var s,r,i,n=Wt.length;if(T(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),T(t._i)||(e._i=t._i),T(t._f)||(e._f=t._f),T(t._l)||(e._l=t._l),T(t._strict)||(e._strict=t._strict),T(t._tzm)||(e._tzm=t._tzm),T(t._isUTC)||(e._isUTC=t._isUTC),T(t._offset)||(e._offset=t._offset),T(t._pf)||(e._pf=c(t)),T(t._locale)||(e._locale=t._locale),n>0)for(s=0;s<n;s++)r=Wt[s],i=t[r],T(i)||(e[r]=i);return e}function we(e){Ke(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Xe===!1&&(Xe=!0,u.updateOffset(this),Xe=!1)}function F(e){return e instanceof we||e!=null&&e._isAMomentObject!=null}function Rt(e){u.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function N(e,t){var s=!0;return X(function(){if(u.deprecationHandler!=null&&u.deprecationHandler(null,e),s){var r=[],i,n,a,l=arguments.length;for(n=0;n<l;n++){if(i="",typeof arguments[n]=="object"){i+=`
|
|
7
7
|
[`+n+"] ";for(a in arguments[0])w(arguments[0],a)&&(i+=a+": "+arguments[0][a]+", ");i=i.slice(0,-2)}else i=arguments[n];r.push(i)}Rt(e+`
|
|
8
8
|
Arguments: `+Array.prototype.slice.call(r).join("")+`
|
|
9
|
-
`+new Error().stack),s=!1}return t.apply(this,arguments)},t)}var Ft={};function Ct(e,t){u.deprecationHandler!=null&&u.deprecationHandler(e,t),Ft[e]||(Rt(t),Ft[e]=!0)}u.suppressDeprecationWarnings=!1,u.deprecationHandler=null;function I(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Us(e){var t,s;for(s in e)w(e,s)&&(t=e[s],I(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=X({},e),r;for(r in t)w(t,r)&&(se(e[r])&&se(t[r])?(s[r]={},X(s[r],e[r]),X(s[r],t[r])):t[r]!=null?s[r]=t[r]:delete s[r]);for(r in e)w(e,r)&&!w(t,r)&&se(e[r])&&(s[r]=X({},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)w(e,t)&&s.push(t);return s};var Hs={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function As(e,t,s){var r=this._calendar[e]||this._calendar.sameElse;return I(r)?r.call(t,s):r}function U(e,t,s){var r=""+Math.abs(e),i=t-r.length,n=e>=0;return(n?s?"+":"":"-")+Math.pow(10,Math.max(0,i)).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,xe=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,it={},ae={};function h(e,t,s,r){var i=r;typeof r=="string"&&(i=function(){return this[r]()}),e&&(ae[e]=i),t&&(ae[t[0]]=function(){return U(i.apply(this,arguments),t[1],t[2])}),s&&(ae[s]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function js(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Gs(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]=js(t[s]);return function(i){var n="",a;for(a=0;a<r;a++)n+=I(t[a])?t[a].call(i,e):t[a];return n}}function be(e,t){return e.isValid()?(t=Lt(t,e.localeData()),it[t]=it[t]||Gs(t),it[t](e)):e.localeData().invalidDate()}function Lt(e,t){var s=5;function r(i){return t.longDateFormat(i)||i}for(xe.lastIndex=0;s>=0&&xe.test(e);)e=e.replace(xe,r),xe.lastIndex=0,s-=1;return e}var Vs={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 zs(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 $s="Invalid date";function Zs(){return this._invalidDate}var Bs="%d",qs=/\d{1,2}/;function Js(e){return this._ordinal.replace("%d",e)}var Qs={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 Xs(e,t,s,r){var i=this._relativeTime[s];return I(i)?i(e,t,s,r):i.replace(/%d/i,e)}function Ks(e,t){var s=this._relativeTime[e>0?"future":"past"];return I(s)?s(t):s.replace(/%s/i,t)}var Et={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"?Et[e]||Et[e.toLowerCase()]:void 0}function nt(e){var t={},s,r;for(r in e)w(e,r)&&(s=P(r),s&&(t[s]=e[r]));return t}var er={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)w(e,s)&&t.push({unit:s,priority:er[s]});return t.sort(function(r,i){return r.priority-i.priority}),t}var It=/\d/,x=/\d\d/,Ut=/\d{3}/,at=/\d{4}/,Ne=/[+-]?\d{6}/,k=/\d\d?/,Ht=/\d\d\d\d?/,At=/\d\d\d\d\d\d?/,Pe=/\d{1,3}/,ot=/\d{1,4}/,We=/[+-]?\d{1,6}/,oe=/\d+/,Re=/[+-]?\d+/,sr=/Z|[+-]\d\d:?\d\d/gi,Fe=/Z|[+-]\d\d(?::?\d\d)?/gi,rr=/[+-]?\d+(\.\d{1,3})?/,pe=/[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,le=/^[1-9]\d?/,lt=/^([1-9]\d|\d)/,Ce;Ce={};function d(e,t,s){Ce[e]=I(t)?t:function(r,i){return r&&s?s:t}}function ir(e,t){return w(Ce,e)?Ce[e](t._strict,t._locale):new RegExp(nr(e))}function nr(e){return j(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,s,r,i,n){return s||r||i||n}))}function j(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function W(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function m(e){var t=+e,s=0;return t!==0&&isFinite(t)&&(s=W(t)),s}var ut={};function g(e,t){var s,r=t,i;for(typeof e=="string"&&(e=[e]),A(t)&&(r=function(n,a){a[t]=m(n)}),i=e.length,s=0;s<i;s++)ut[e[s]]=r}function ge(e,t){g(e,function(s,r,i,n){i._w=i._w||{},t(s,i._w,i,n)})}function ar(e,t,s){t!=null&&w(ut,e)&&ut[e](t,s._a,s,e)}function Le(e){return e%4===0&&e%100!==0||e%400===0}var Y=0,G=1,H=2,v=3,C=4,V=5,re=6,or=7,lr=8;h("Y",0,0,function(){var e=this.year();return e<=9999?U(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",k,x),d("YYYY",ot,at),d("YYYYY",We,Ne),d("YYYYYY",We,Ne),g(["YYYYY","YYYYYY"],Y),g("YYYY",function(e,t){t[Y]=e.length===2?u.parseTwoDigitYear(e):m(e)}),g("YY",function(e,t){t[Y]=u.parseTwoDigitYear(e)}),g("Y",function(e,t){t[Y]=parseInt(e,10)});function ke(e){return Le(e)?366:365}u.parseTwoDigitYear=function(e){return m(e)+(m(e)>68?1900:2e3)};var jt=ue("FullYear",!0);function ur(){return Le(this.year())}function ue(e,t){return function(s){return s!=null?(Gt(this,e,s),u.updateOffset(this,t),this):Se(this,e)}}function Se(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 Gt(e,t,s){var r,i,n,a,l;if(!(!e.isValid()||isNaN(s))){switch(r=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?r.setUTCMilliseconds(s):r.setMilliseconds(s));case"Seconds":return void(i?r.setUTCSeconds(s):r.setSeconds(s));case"Minutes":return void(i?r.setUTCMinutes(s):r.setMinutes(s));case"Hours":return void(i?r.setUTCHours(s):r.setHours(s));case"Date":return void(i?r.setUTCDate(s):r.setDate(s));case"FullYear":break;default:return}n=s,a=e.month(),l=e.date(),l=l===29&&a===1&&!Le(n)?28:l,i?r.setUTCFullYear(n,a,l):r.setFullYear(n,a,l)}}function dr(e){return e=P(e),I(this[e])?this[e]():this}function hr(e,t){if(typeof e=="object"){e=nt(e);var s=tr(e),r,i=s.length;for(r=0;r<i;r++)this[s[r].unit](e[s[r].unit])}else if(e=P(e),I(this[e]))return this[e](t);return this}function fr(e,t){return(e%t+t)%t}var D;Array.prototype.indexOf?D=Array.prototype.indexOf:D=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=fr(t,12);return e+=(t-s)/12,s===1?Le(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",k,le),d("MM",k,x),d("MMM",function(e,t){return t.monthsShortRegex(e)}),d("MMMM",function(e,t){return t.monthsRegex(e)}),g(["M","MM"],function(e,t){t[G]=m(e)-1}),g(["MMM","MMMM"],function(e,t,s,r){var i=s._locale.monthsParse(e,r,s._strict);i!=null?t[G]=i:c(s).invalidMonth=e});var cr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Vt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),zt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,mr=pe,_r=pe;function yr(e,t){return e?R(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||zt).test(t)?"format":"standalone"][e.month()]:R(this._months)?this._months:this._months.standalone}function wr(e,t){return e?R(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[zt.test(t)?"format":"standalone"][e.month()]:R(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function pr(e,t,s){var r,i,n,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)n=E([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(n,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(n,"").toLocaleLowerCase();return s?t==="MMM"?(i=D.call(this._shortMonthsParse,a),i!==-1?i:null):(i=D.call(this._longMonthsParse,a),i!==-1?i:null):t==="MMM"?(i=D.call(this._shortMonthsParse,a),i!==-1?i:(i=D.call(this._longMonthsParse,a),i!==-1?i:null)):(i=D.call(this._longMonthsParse,a),i!==-1?i:(i=D.call(this._shortMonthsParse,a),i!==-1?i:null))}function gr(e,t,s){var r,i,n;if(this._monthsParseExact)return pr.call(this,e,t,s);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=E([2e3,r]),s&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),!s&&!this._monthsParse[r]&&(n="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(n.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 $t(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=m(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 Zt(e){return e!=null?($t(this,e),u.updateOffset(this,!0),this):Se(this,"Month")}function kr(){return dt(this.year(),this.month())}function Sr(e){return this._monthsParseExact?(w(this,"_monthsRegex")||Bt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(w(this,"_monthsShortRegex")||(this._monthsShortRegex=mr),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Mr(e){return this._monthsParseExact?(w(this,"_monthsRegex")||Bt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(w(this,"_monthsRegex")||(this._monthsRegex=_r),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Bt(){function e(f,_){return _.length-f.length}var t=[],s=[],r=[],i,n,a,l;for(i=0;i<12;i++)n=E([2e3,i]),a=j(this.monthsShort(n,"")),l=j(this.months(n,"")),t.push(a),s.push(l),r.push(l),r.push(a);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 Dr(e,t,s,r,i,n,a){var l;return e<100&&e>=0?(l=new Date(e+400,t,s,r,i,n,a),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,s,r,i,n,a),l}function Me(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 Ee(e,t,s){var r=7+t-s,i=(7+Me(e,0,r).getUTCDay()-t)%7;return-i+r-1}function qt(e,t,s,r,i){var n=(7+s-r)%7,a=Ee(e,r,i),l=1+7*(t-1)+n+a,f,_;return l<=0?(f=e-1,_=ke(f)+l):l>ke(e)?(f=e+1,_=l-ke(e)):(f=e,_=l),{year:f,dayOfYear:_}}function De(e,t,s){var r=Ee(e.year(),t,s),i=Math.floor((e.dayOfYear()-r-1)/7)+1,n,a;return i<1?(a=e.year()-1,n=i+z(a,t,s)):i>z(e.year(),t,s)?(n=i-z(e.year(),t,s),a=e.year()+1):(a=e.year(),n=i),{week:n,year:a}}function z(e,t,s){var r=Ee(e,t,s),i=Ee(e+1,t,s);return(ke(e)-r+i)/7}h("w",["ww",2],"wo","week"),h("W",["WW",2],"Wo","isoWeek"),d("w",k,le),d("ww",k,x),d("W",k,le),d("WW",k,x),ge(["w","ww","W","WW"],function(e,t,s,r){t[r.substr(0,1)]=m(e)});function vr(e){return De(e,this._week.dow,this._week.doy).week}var Yr={dow:0,doy:6};function Or(){return this._week.dow}function Tr(){return this._week.doy}function xr(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function br(e){var t=De(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",k),d("e",k),d("E",k),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 i=s._locale.weekdaysParse(e,r,s._strict);i!=null?t.d=i:c(s).invalidWeekday=e}),ge(["d","e","E"],function(e,t,s,r){t[r]=m(e)});function Nr(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Pr(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function ht(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Wr="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Jt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Rr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Fr=pe,Cr=pe,Lr=pe;function Er(e,t){var s=R(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?ht(s,this._week.dow):e?s[e.day()]:s}function Ir(e){return e===!0?ht(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ur(e){return e===!0?ht(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Hr(e,t,s){var r,i,n,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)n=E([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(n,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(n,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(n,"").toLocaleLowerCase();return s?t==="dddd"?(i=D.call(this._weekdaysParse,a),i!==-1?i:null):t==="ddd"?(i=D.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=D.call(this._minWeekdaysParse,a),i!==-1?i:null):t==="dddd"?(i=D.call(this._weekdaysParse,a),i!==-1||(i=D.call(this._shortWeekdaysParse,a),i!==-1)?i:(i=D.call(this._minWeekdaysParse,a),i!==-1?i:null)):t==="ddd"?(i=D.call(this._shortWeekdaysParse,a),i!==-1||(i=D.call(this._weekdaysParse,a),i!==-1)?i:(i=D.call(this._minWeekdaysParse,a),i!==-1?i:null)):(i=D.call(this._minWeekdaysParse,a),i!==-1||(i=D.call(this._weekdaysParse,a),i!==-1)?i:(i=D.call(this._shortWeekdaysParse,a),i!==-1?i:null))}function Ar(e,t,s){var r,i,n;if(this._weekdaysParseExact)return Hr.call(this,e,t,s);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=E([2e3,1]).day(r),s&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(n="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(n.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 jr(e){if(!this.isValid())return e!=null?this:NaN;var t=Se(this,"Day");return e!=null?(e=Nr(e,this.localeData()),this.add(e-t,"d")):t}function Gr(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 Vr(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Pr(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function zr(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||ft.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(w(this,"_weekdaysRegex")||(this._weekdaysRegex=Fr),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function $r(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||ft.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(w(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Cr),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Zr(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||ft.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(w(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Lr),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ft(){function e(O,J){return J.length-O.length}var t=[],s=[],r=[],i=[],n,a,l,f,_;for(n=0;n<7;n++)a=E([2e3,1]).day(n),l=j(this.weekdaysMin(a,"")),f=j(this.weekdaysShort(a,"")),_=j(this.weekdays(a,"")),t.push(l),s.push(f),r.push(_),i.push(l),i.push(f),i.push(_);t.sort(e),s.sort(e),r.sort(e),i.sort(e),this._weekdaysRegex=new RegExp("^("+i.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 Br(){return this.hours()||24}h("H",["HH",2],0,"hour"),h("h",["hh",2],0,ct),h("k",["kk",2],0,Br),h("hmm",0,0,function(){return""+ct.apply(this)+U(this.minutes(),2)}),h("hmmss",0,0,function(){return""+ct.apply(this)+U(this.minutes(),2)+U(this.seconds(),2)}),h("Hmm",0,0,function(){return""+this.hours()+U(this.minutes(),2)}),h("Hmmss",0,0,function(){return""+this.hours()+U(this.minutes(),2)+U(this.seconds(),2)});function Qt(e,t){h(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Qt("a",!0),Qt("A",!1);function Xt(e,t){return t._meridiemParse}d("a",Xt),d("A",Xt),d("H",k,lt),d("h",k,le),d("k",k,le),d("HH",k,x),d("hh",k,x),d("kk",k,x),d("hmm",Ht),d("hmmss",At),d("Hmm",Ht),d("Hmmss",At),g(["H","HH"],v),g(["k","kk"],function(e,t,s){var r=m(e);t[v]=r===24?0:r}),g(["a","A"],function(e,t,s){s._isPm=s._locale.isPM(e),s._meridiem=e}),g(["h","hh"],function(e,t,s){t[v]=m(e),c(s).bigHour=!0}),g("hmm",function(e,t,s){var r=e.length-2;t[v]=m(e.substr(0,r)),t[C]=m(e.substr(r)),c(s).bigHour=!0}),g("hmmss",function(e,t,s){var r=e.length-4,i=e.length-2;t[v]=m(e.substr(0,r)),t[C]=m(e.substr(r,2)),t[V]=m(e.substr(i)),c(s).bigHour=!0}),g("Hmm",function(e,t,s){var r=e.length-2;t[v]=m(e.substr(0,r)),t[C]=m(e.substr(r))}),g("Hmmss",function(e,t,s){var r=e.length-4,i=e.length-2;t[v]=m(e.substr(0,r)),t[C]=m(e.substr(r,2)),t[V]=m(e.substr(i))});function qr(e){return(e+"").toLowerCase().charAt(0)==="p"}var Jr=/[ap]\.?m?\.?/i,Qr=ue("Hours",!0);function Xr(e,t,s){return e>11?s?"pm":"PM":s?"am":"AM"}var Kt={calendar:Hs,longDateFormat:Vs,invalidDate:$s,ordinal:Bs,dayOfMonthOrdinalParse:qs,relativeTime:Qs,months:cr,monthsShort:Vt,week:Yr,weekdays:Wr,weekdaysMin:Rr,weekdaysShort:Jt,meridiemParse:Jr},M={},ve={},Ye;function Kr(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 es(e){return e&&e.toLowerCase().replace("_","-")}function ei(e){for(var t=0,s,r,i,n;t<e.length;){for(n=es(e[t]).split("-"),s=n.length,r=es(e[t+1]),r=r?r.split("-"):null;s>0;){if(i=Ie(n.slice(0,s).join("-")),i)return i;if(r&&r.length>=s&&Kr(n,r)>=s-1)break;s--}t++}return Ye}function ti(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Ie(e){var t=null,s;if(M[e]===void 0&&typeof module<"u"&&module&&module.exports&&ti(e))try{t=Ye._abbr,s=require,s("./locale/"+e),K(t)}catch{M[e]=null}return M[e]}function K(e,t){var s;return e&&(T(t)?s=$(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=Kt;if(t.abbr=e,M[e]!=null)Ct("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=M[e]._config;else if(t.parentLocale!=null)if(M[t.parentLocale]!=null)r=M[t.parentLocale]._config;else if(s=Ie(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 M[e]=new tt(et(r,t)),ve[e]&&ve[e].forEach(function(i){mt(i.name,i.config)}),K(e),M[e]}else return delete M[e],null}function si(e,t){if(t!=null){var s,r,i=Kt;M[e]!=null&&M[e].parentLocale!=null?M[e].set(et(M[e]._config,t)):(r=Ie(e),r!=null&&(i=r._config),t=et(i,t),r==null&&(t.abbr=e),s=new tt(t),s.parentLocale=M[e],M[e]=s),K(e)}else M[e]!=null&&(M[e].parentLocale!=null?(M[e]=M[e].parentLocale,e===K()&&K(e)):M[e]!=null&&delete M[e]);return M[e]}function $(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ye;if(!R(e)){if(t=Ie(e),t)return t;e=[e]}return ei(e)}function ri(){return st(M)}function _t(e){var t,s=e._a;return s&&c(e).overflow===-2&&(t=s[G]<0||s[G]>11?G:s[H]<1||s[H]>dt(s[Y],s[G])?H:s[v]<0||s[v]>24||s[v]===24&&(s[C]!==0||s[V]!==0||s[re]!==0)?v:s[C]<0||s[C]>59?C:s[V]<0||s[V]>59?V:s[re]<0||s[re]>999?re:-1,c(e)._overflowDayOfYear&&(t<Y||t>H)&&(t=H),c(e)._overflowWeeks&&t===-1&&(t=or),c(e)._overflowWeekday&&t===-1&&(t=lr),c(e).overflow=t),e}var ii=/^\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)?)?$/,ni=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ai=/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/]],oi=/^\/?Date\((-?\d+)/i,li=/^(?:(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}))$/,ui={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 ts(e){var t,s,r=e._i,i=ii.exec(r)||ni.exec(r),n,a,l,f,_=Ue.length,O=yt.length;if(i){for(c(e).iso=!0,t=0,s=_;t<s;t++)if(Ue[t][1].exec(i[1])){a=Ue[t][0],n=Ue[t][2]!==!1;break}if(a==null){e._isValid=!1;return}if(i[3]){for(t=0,s=O;t<s;t++)if(yt[t][1].exec(i[3])){l=(i[2]||" ")+yt[t][0];break}if(l==null){e._isValid=!1;return}}if(!n&&l!=null){e._isValid=!1;return}if(i[4])if(ai.exec(i[4]))f="Z";else{e._isValid=!1;return}e._f=a+(l||"")+(f||""),pt(e)}else e._isValid=!1}function di(e,t,s,r,i,n){var a=[hi(e),Vt.indexOf(t),parseInt(s,10),parseInt(r,10),parseInt(i,10)];return n&&a.push(parseInt(n,10)),a}function hi(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function fi(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function ci(e,t,s){if(e){var r=Jt.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(r!==i)return c(s).weekdayMismatch=!0,s._isValid=!1,!1}return!0}function mi(e,t,s){if(e)return ui[e];if(t)return 0;var r=parseInt(s,10),i=r%100,n=(r-i)/100;return n*60+i}function ss(e){var t=li.exec(fi(e._i)),s;if(t){if(s=di(t[4],t[3],t[2],t[5],t[6],t[7]),!ci(t[1],s,e))return;e._a=s,e._tzm=mi(t[8],t[9],t[10]),e._d=Me.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),c(e).rfc2822=!0}else e._isValid=!1}function _i(e){var t=oi.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(ts(e),e._isValid===!1)delete e._isValid;else return;if(ss(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:u.createFromInputFallback(e)}u.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 de(e,t,s){return e??t??s}function yi(e){var t=new Date(u.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function wt(e){var t,s,r=[],i,n,a;if(!e._d){for(i=yi(e),e._w&&e._a[H]==null&&e._a[G]==null&&wi(e),e._dayOfYear!=null&&(a=de(e._a[Y],i[Y]),(e._dayOfYear>ke(a)||e._dayOfYear===0)&&(c(e)._overflowDayOfYear=!0),s=Me(a,0,e._dayOfYear),e._a[G]=s.getUTCMonth(),e._a[H]=s.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=i[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[v]===24&&e._a[C]===0&&e._a[V]===0&&e._a[re]===0&&(e._nextDay=!0,e._a[v]=0),e._d=(e._useUTC?Me:Dr).apply(null,r),n=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[v]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==n&&(c(e).weekdayMismatch=!0)}}function wi(e){var t,s,r,i,n,a,l,f,_;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(n=1,a=4,s=de(t.GG,e._a[Y],De(S(),1,4).year),r=de(t.W,1),i=de(t.E,1),(i<1||i>7)&&(f=!0)):(n=e._locale._week.dow,a=e._locale._week.doy,_=De(S(),n,a),s=de(t.gg,e._a[Y],_.year),r=de(t.w,_.week),t.d!=null?(i=t.d,(i<0||i>6)&&(f=!0)):t.e!=null?(i=t.e+n,(t.e<0||t.e>6)&&(f=!0)):i=n),r<1||r>z(s,n,a)?c(e)._overflowWeeks=!0:f!=null?c(e)._overflowWeekday=!0:(l=qt(s,r,i,n,a),e._a[Y]=l.year,e._dayOfYear=l.dayOfYear)}u.ISO_8601=function(){},u.RFC_2822=function(){};function pt(e){if(e._f===u.ISO_8601){ts(e);return}if(e._f===u.RFC_2822){ss(e);return}e._a=[],c(e).empty=!0;var t=""+e._i,s,r,i,n,a,l=t.length,f=0,_,O;for(i=Lt(e._f,e._locale).match(rt)||[],O=i.length,s=0;s<O;s++)n=i[s],r=(t.match(ir(n,e))||[])[0],r&&(a=t.substr(0,t.indexOf(r)),a.length>0&&c(e).unusedInput.push(a),t=t.slice(t.indexOf(r)+r.length),f+=r.length),ae[n]?(r?c(e).empty=!1:c(e).unusedTokens.push(n),ar(n,r,e)):e._strict&&!r&&c(e).unusedTokens.push(n);c(e).charsLeftOver=l-f,t.length>0&&c(e).unusedInput.push(t),e._a[v]<=12&&c(e).bigHour===!0&&e._a[v]>0&&(c(e).bigHour=void 0),c(e).parsedDateParts=e._a.slice(0),c(e).meridiem=e._meridiem,e._a[v]=pi(e._locale,e._a[v],e._meridiem),_=c(e).era,_!==null&&(e._a[Y]=e._locale.erasConvertYear(_,e._a[Y])),wt(e),_t(e)}function pi(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 gi(e){var t,s,r,i,n,a,l=!1,f=e._f.length;if(f===0){c(e).invalidFormat=!0,e._d=new Date(NaN);return}for(i=0;i<f;i++)n=0,a=!1,t=Ke({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[i],pt(t),Qe(t)&&(a=!0),n+=c(t).charsLeftOver,n+=c(t).unusedTokens.length*10,c(t).score=n,l?n<r&&(r=n,s=t):(r==null||n<r||a)&&(r=n,s=t,a&&(l=!0));X(e,s||t)}function ki(e){if(!e._d){var t=nt(e._i),s=t.day===void 0?t.date:t.day;e._a=Pt([t.year,t.month,s,t.hour,t.minute,t.second,t.millisecond],function(r){return r&&parseInt(r,10)}),wt(e)}}function Si(e){var t=new we(_t(rs(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function rs(e){var t=e._i,s=e._f;return e._locale=e._locale||$(e._l),t===null||s===void 0&&t===""?Te({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),F(t)?new we(_t(t)):(ye(t)?e._d=t:R(s)?gi(e):s?pt(e):Mi(e),Qe(e)||(e._d=null),e))}function Mi(e){var t=e._i;T(t)?e._d=new Date(u.now()):ye(t)?e._d=new Date(t.valueOf()):typeof t=="string"?_i(e):R(t)?(e._a=Pt(t.slice(0),function(s){return parseInt(s,10)}),wt(e)):se(t)?ki(e):A(t)?e._d=new Date(t):u.createFromInputFallback(e)}function is(e,t,s,r,i){var n={};return(t===!0||t===!1)&&(r=t,t=void 0),(s===!0||s===!1)&&(r=s,s=void 0),(se(e)&&qe(e)||R(e)&&e.length===0)&&(e=void 0),n._isAMomentObject=!0,n._useUTC=n._isUTC=i,n._l=s,n._i=e,n._f=t,n._strict=r,Si(n)}function S(e,t,s,r){return is(e,t,s,r,!1)}var Di=N("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=S.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Te()}),vi=N("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=S.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Te()});function ns(e,t){var s,r;if(t.length===1&&R(t[0])&&(t=t[0]),!t.length)return S();for(s=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](s))&&(s=t[r]);return s}function Yi(){var e=[].slice.call(arguments,0);return ns("isBefore",e)}function Oi(){var e=[].slice.call(arguments,0);return ns("isAfter",e)}var Ti=function(){return Date.now?Date.now():+new Date},Oe=["year","quarter","month","week","day","hour","minute","second","millisecond"];function xi(e){var t,s=!1,r,i=Oe.length;for(t in e)if(w(e,t)&&!(D.call(Oe,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<i;++r)if(e[Oe[r]]){if(s)return!1;parseFloat(e[Oe[r]])!==m(e[Oe[r]])&&(s=!0)}return!0}function bi(){return this._isValid}function Ni(){return L(NaN)}function He(e){var t=nt(e),s=t.year||0,r=t.quarter||0,i=t.month||0,n=t.week||t.isoWeek||0,a=t.day||0,l=t.hour||0,f=t.minute||0,_=t.second||0,O=t.millisecond||0;this._isValid=xi(t),this._milliseconds=+O+_*1e3+f*6e4+l*1e3*60*60,this._days=+a+n*7,this._months=+i+r*3+s*12,this._data={},this._locale=$(),this._bubble()}function Ae(e){return e instanceof He}function gt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Pi(e,t,s){var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),n=0,a;for(a=0;a<r;a++)m(e[a])!==m(t[a])&&n++;return n+i}function as(e,t){h(e,0,0,function(){var s=this.utcOffset(),r="+";return s<0&&(s=-s,r="-"),r+U(~~(s/60),2)+t+U(~~s%60,2)})}as("Z",":"),as("ZZ",""),d("Z",Fe),d("ZZ",Fe),g(["Z","ZZ"],function(e,t,s){s._useUTC=!0,s._tzm=kt(Fe,e)});var Wi=/([\+\-]|\d\d)/gi;function kt(e,t){var s=(t||"").match(e),r,i,n;return s===null?null:(r=s[s.length-1]||[],i=(r+"").match(Wi)||["-",0,0],n=+(i[1]*60)+m(i[2]),n===0?0:i[0]==="+"?n:-n)}function St(e,t){var s,r;return t._isUTC?(s=t.clone(),r=(F(e)||ye(e)?e.valueOf():S(e).valueOf())-s.valueOf(),s._d.setTime(s._d.valueOf()+r),u.updateOffset(s,!1),s):S(e).local()}function Mt(e){return-Math.round(e._d.getTimezoneOffset())}u.updateOffset=function(){};function Ri(e,t,s){var r=this._offset||0,i;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=kt(Fe,e),e===null)return this}else Math.abs(e)<16&&!s&&(e=e*60);return!this._isUTC&&t&&(i=Mt(this)),this._offset=e,this._isUTC=!0,i!=null&&this.add(i,"m"),r!==e&&(!t||this._changeInProgress?ds(this,L(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,u.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:Mt(this)}function Fi(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Ci(e){return this.utcOffset(0,e)}function Li(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Mt(this),"m")),this}function Ei(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=kt(sr,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Ii(e){return this.isValid()?(e=e?S(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function Ui(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Hi(){if(!T(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Ke(e,this),e=rs(e),e._a?(t=e._isUTC?E(e._a):S(e._a),this._isDSTShifted=this.isValid()&&Pi(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Ai(){return this.isValid()?!this._isUTC:!1}function ji(){return this.isValid()?this._isUTC:!1}function os(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Gi=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Vi=/^(-|\+)?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,i,n,a;return Ae(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:A(e)||!isNaN(+e)?(s={},t?s[t]=+e:s.milliseconds=+e):(r=Gi.exec(e))?(i=r[1]==="-"?-1:1,s={y:0,d:m(r[H])*i,h:m(r[v])*i,m:m(r[C])*i,s:m(r[V])*i,ms:m(gt(r[re]*1e3))*i}):(r=Vi.exec(e))?(i=r[1]==="-"?-1:1,s={y:ie(r[2],i),M:ie(r[3],i),w:ie(r[4],i),d:ie(r[5],i),h:ie(r[6],i),m:ie(r[7],i),s:ie(r[8],i)}):s==null?s={}:typeof s=="object"&&("from"in s||"to"in s)&&(a=zi(S(s.from),S(s.to)),s={},s.ms=a.milliseconds,s.M=a.months),n=new He(s),Ae(e)&&w(e,"_locale")&&(n._locale=e._locale),Ae(e)&&w(e,"_isValid")&&(n._isValid=e._isValid),n}L.fn=He.prototype,L.invalid=Ni;function ie(e,t){var s=e&&parseFloat(e.replace(",","."));return(isNaN(s)?0:s)*t}function ls(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 zi(e,t){var s;return e.isValid()&&t.isValid()?(t=St(t,e),e.isBefore(t)?s=ls(e,t):(s=ls(t,e),s.milliseconds=-s.milliseconds,s.months=-s.months),s):{milliseconds:0,months:0}}function us(e,t){return function(s,r){var i,n;return r!==null&&!isNaN(+r)&&(Ct(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."),n=s,s=r,r=n),i=L(s,r),ds(this,i,e),this}}function ds(e,t,s,r){var i=t._milliseconds,n=gt(t._days),a=gt(t._months);e.isValid()&&(r=r??!0,a&&$t(e,Se(e,"Month")+a*s),n&&Gt(e,"Date",Se(e,"Date")+n*s),i&&e._d.setTime(e._d.valueOf()+i*s),r&&u.updateOffset(e,n||a))}var $i=us(1,"add"),Zi=us(-1,"subtract");function hs(e){return typeof e=="string"||e instanceof String}function Bi(e){return F(e)||ye(e)||hs(e)||A(e)||Ji(e)||qi(e)||e===null||e===void 0}function qi(e){var t=se(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"],i,n,a=r.length;for(i=0;i<a;i+=1)n=r[i],s=s||w(e,n);return t&&s}function Ji(e){var t=R(e),s=!1;return t&&(s=e.filter(function(r){return!A(r)&&hs(e)}).length===0),t&&s}function Qi(e){var t=se(e)&&!qe(e),s=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i,n;for(i=0;i<r.length;i+=1)n=r[i],s=s||w(e,n);return t&&s}function Xi(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 Ki(e,t){arguments.length===1&&(arguments[0]?Bi(arguments[0])?(e=arguments[0],t=void 0):Qi(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var s=e||S(),r=St(s,this).startOf("day"),i=u.calendarFormat(this,r)||"sameElse",n=t&&(I(t[i])?t[i].call(this,s):t[i]);return this.format(n||this.localeData().calendar(i,this,S(s)))}function en(){return new we(this)}function tn(e,t){var s=F(e)?e:S(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 sn(e,t){var s=F(e)?e:S(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 rn(e,t,s,r){var i=F(e)?e:S(e),n=F(t)?t:S(t);return this.isValid()&&i.isValid()&&n.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(i,s):!this.isBefore(i,s))&&(r[1]===")"?this.isBefore(n,s):!this.isAfter(n,s))):!1}function nn(e,t){var s=F(e)?e:S(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 an(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function on(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function ln(e,t,s){var r,i,n;if(!this.isValid())return NaN;if(r=St(e,this),!r.isValid())return NaN;switch(i=(r.utcOffset()-this.utcOffset())*6e4,t=P(t),t){case"year":n=je(this,r)/12;break;case"month":n=je(this,r);break;case"quarter":n=je(this,r)/3;break;case"second":n=(this-r)/1e3;break;case"minute":n=(this-r)/6e4;break;case"hour":n=(this-r)/36e5;break;case"day":n=(this-r-i)/864e5;break;case"week":n=(this-r-i)/6048e5;break;default:n=this-r}return s?n:W(n)}function je(e,t){if(e.date()<t.date())return-je(t,e);var s=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(s,"months"),i,n;return t-r<0?(i=e.clone().add(s-1,"months"),n=(t-r)/(r-i)):(i=e.clone().add(s+1,"months"),n=(t-r)/(i-r)),-(s+n)||0}u.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",u.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function un(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function dn(e){if(!this.isValid())return null;var t=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"):I(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 hn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",s,r,i,n;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),s="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",n=t+'[")]',this.format(s+r+i+n)}function fn(e){e||(e=this.isUtc()?u.defaultFormatUtc:u.defaultFormat);var t=be(this,e);return this.localeData().postformat(t)}function cn(e,t){return this.isValid()&&(F(e)&&e.isValid()||S(e).isValid())?L({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function mn(e){return this.from(S(),e)}function _n(e,t){return this.isValid()&&(F(e)&&e.isValid()||S(e).isValid())?L({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function yn(e){return this.to(S(),e)}function fs(e){var t;return e===void 0?this._locale._abbr:(t=$(e),t!=null&&(this._locale=t),this)}var cs=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 ms(){return this._locale}var Ge=1e3,he=60*Ge,Ve=60*he,_s=(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)-_s:new Date(e,t,s).valueOf()}function ws(e,t,s){return e<100&&e>=0?Date.UTC(e+400,t,s)-_s:Date.UTC(e,t,s)}function wn(e){var t,s;if(e=P(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(s=this._isUTC?ws: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()*he),Ve);break;case"minute":t=this._d.valueOf(),t-=fe(t,he);break;case"second":t=this._d.valueOf(),t-=fe(t,Ge);break}return this._d.setTime(t),u.updateOffset(this,!0),this}function pn(e){var t,s;if(e=P(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(s=this._isUTC?ws: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()*he),Ve)-1;break;case"minute":t=this._d.valueOf(),t+=he-fe(t,he)-1;break;case"second":t=this._d.valueOf(),t+=Ge-fe(t,Ge)-1;break}return this._d.setTime(t),u.updateOffset(this,!0),this}function gn(){return this._d.valueOf()-(this._offset||0)*6e4}function kn(){return Math.floor(this.valueOf()/1e3)}function Sn(){return new Date(this.valueOf())}function Mn(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Dn(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function vn(){return this.isValid()?this.toISOString():null}function Yn(){return Qe(this)}function On(){return X({},c(this))}function Tn(){return c(this).overflow}function xn(){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",Dt),d("NN",Dt),d("NNN",Dt),d("NNNN",Un),d("NNNNN",Hn),g(["N","NN","NNN","NNNN","NNNNN"],function(e,t,s,r){var i=s._locale.erasParse(e,r,s._strict);i?c(s).era=i:c(s).invalidEra=e}),d("y",oe),d("yy",oe),d("yyy",oe),d("yyyy",oe),d("yo",An),g(["y","yy","yyy","yyyy"],Y),g(["yo"],function(e,t,s,r){var i;s._locale._eraYearOrdinalRegex&&(i=e.match(s._locale._eraYearOrdinalRegex)),s._locale.eraYearOrdinalParse?t[Y]=s._locale.eraYearOrdinalParse(e,i):t[Y]=parseInt(e,10)});function bn(e,t){var s,r,i,n=this._eras||$("en")._eras;for(s=0,r=n.length;s<r;++s){switch(typeof n[s].since){case"string":i=u(n[s].since).startOf("day"),n[s].since=i.valueOf();break}switch(typeof n[s].until){case"undefined":n[s].until=1/0;break;case"string":i=u(n[s].until).startOf("day").valueOf(),n[s].until=i.valueOf();break}}return n}function Nn(e,t,s){var r,i,n=this.eras(),a,l,f;for(e=e.toUpperCase(),r=0,i=n.length;r<i;++r)if(a=n[r].name.toUpperCase(),l=n[r].abbr.toUpperCase(),f=n[r].narrow.toUpperCase(),s)switch(t){case"N":case"NN":case"NNN":if(l===e)return n[r];break;case"NNNN":if(a===e)return n[r];break;case"NNNNN":if(f===e)return n[r];break}else if([a,l,f].indexOf(e)>=0)return n[r]}function Pn(e,t){var s=e.since<=e.until?1:-1;return t===void 0?u(e.since).year():u(e.since).year()+(t-e.offset)*s}function Wn(){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 Rn(){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 Fn(){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 Cn(){var e,t,s,r,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(s=i[e].since<=i[e].until?1:-1,r=this.clone().startOf("day").valueOf(),i[e].since<=r&&r<=i[e].until||i[e].until<=r&&r<=i[e].since)return(this.year()-u(i[e].since).year())*s+i[e].offset;return this.year()}function Ln(e){return w(this,"_erasNameRegex")||vt.call(this),e?this._erasNameRegex:this._erasRegex}function En(e){return w(this,"_erasAbbrRegex")||vt.call(this),e?this._erasAbbrRegex:this._erasRegex}function In(e){return w(this,"_erasNarrowRegex")||vt.call(this),e?this._erasNarrowRegex:this._erasRegex}function Dt(e,t){return t.erasAbbrRegex(e)}function Un(e,t){return t.erasNameRegex(e)}function Hn(e,t){return t.erasNarrowRegex(e)}function An(e,t){return t._eraYearOrdinalRegex||oe}function vt(){var e=[],t=[],s=[],r=[],i,n,a,l,f,_=this.eras();for(i=0,n=_.length;i<n;++i)a=j(_[i].name),l=j(_[i].abbr),f=j(_[i].narrow),t.push(a),e.push(l),s.push(f),r.push(a),r.push(l),r.push(f);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 ze(e,t){h(0,[e,e.length],0,t)}ze("gggg","weekYear"),ze("ggggg","weekYear"),ze("GGGG","isoWeekYear"),ze("GGGGG","isoWeekYear"),d("G",Re),d("g",Re),d("GG",k,x),d("gg",k,x),d("GGGG",ot,at),d("gggg",ot,at),d("GGGGG",We,Ne),d("ggggg",We,Ne),ge(["gggg","ggggg","GGGG","GGGGG"],function(e,t,s,r){t[r.substr(0,2)]=m(e)}),ge(["gg","GG"],function(e,t,s,r){t[r]=u.parseTwoDigitYear(e)});function jn(e){return ps.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Gn(e){return ps.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Vn(){return z(this.year(),1,4)}function zn(){return z(this.isoWeekYear(),1,4)}function $n(){var e=this.localeData()._week;return z(this.year(),e.dow,e.doy)}function Zn(){var e=this.localeData()._week;return z(this.weekYear(),e.dow,e.doy)}function ps(e,t,s,r,i){var n;return e==null?De(this,r,i).year:(n=z(e,r,i),t>n&&(t=n),Bn.call(this,e,t,s,r,i))}function Bn(e,t,s,r,i){var n=qt(e,t,s,r,i),a=Me(n.year,0,n.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}h("Q",0,"Qo","quarter"),d("Q",It),g("Q",function(e,t){t[G]=(m(e)-1)*3});function qn(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",k,le),d("DD",k,x),d("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),g(["D","DD"],H),g("Do",function(e,t){t[H]=m(e.match(k)[0])});var gs=ue("Date",!0);h("DDD",["DDDD",3],"DDDo","dayOfYear"),d("DDD",Pe),d("DDDD",Ut),g(["DDD","DDDD"],function(e,t,s){s._dayOfYear=m(e)});function Jn(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",k,lt),d("mm",k,x),g(["m","mm"],C);var Qn=ue("Minutes",!1);h("s",["ss",2],0,"second"),d("s",k,lt),d("ss",k,x),g(["s","ss"],V);var Xn=ue("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",Pe,It),d("SS",Pe,x),d("SSS",Pe,Ut);var ee,ks;for(ee="SSSS";ee.length<=9;ee+="S")d(ee,oe);function Kn(e,t){t[re]=m(("0."+e)*1e3)}for(ee="S";ee.length<=9;ee+="S")g(ee,Kn);ks=ue("Milliseconds",!1),h("z",0,0,"zoneAbbr"),h("zz",0,0,"zoneName");function ea(){return this._isUTC?"UTC":""}function ta(){return this._isUTC?"Coordinated Universal Time":""}var o=we.prototype;o.add=$i,o.calendar=Ki,o.clone=en,o.diff=ln,o.endOf=pn,o.format=fn,o.from=cn,o.fromNow=mn,o.to=_n,o.toNow=yn,o.get=dr,o.invalidAt=Tn,o.isAfter=tn,o.isBefore=sn,o.isBetween=rn,o.isSame=nn,o.isSameOrAfter=an,o.isSameOrBefore=on,o.isValid=Yn,o.lang=cs,o.locale=fs,o.localeData=ms,o.max=vi,o.min=Di,o.parsingFlags=On,o.set=hr,o.startOf=wn,o.subtract=Zi,o.toArray=Mn,o.toObject=Dn,o.toDate=Sn,o.toISOString=dn,o.inspect=hn,typeof Symbol<"u"&&Symbol.for!=null&&(o[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),o.toJSON=vn,o.toString=un,o.unix=kn,o.valueOf=gn,o.creationData=xn,o.eraName=Wn,o.eraNarrow=Rn,o.eraAbbr=Fn,o.eraYear=Cn,o.year=jt,o.isLeapYear=ur,o.weekYear=jn,o.isoWeekYear=Gn,o.quarter=o.quarters=qn,o.month=Zt,o.daysInMonth=kr,o.week=o.weeks=xr,o.isoWeek=o.isoWeeks=br,o.weeksInYear=$n,o.weeksInWeekYear=Zn,o.isoWeeksInYear=Vn,o.isoWeeksInISOWeekYear=zn,o.date=gs,o.day=o.days=jr,o.weekday=Gr,o.isoWeekday=Vr,o.dayOfYear=Jn,o.hour=o.hours=Qr,o.minute=o.minutes=Qn,o.second=o.seconds=Xn,o.millisecond=o.milliseconds=ks,o.utcOffset=Ri,o.utc=Ci,o.local=Li,o.parseZone=Ei,o.hasAlignedHourOffset=Ii,o.isDST=Ui,o.isLocal=Ai,o.isUtcOffset=ji,o.isUtc=os,o.isUTC=os,o.zoneAbbr=ea,o.zoneName=ta,o.dates=N("dates accessor is deprecated. Use date instead.",gs),o.months=N("months accessor is deprecated. Use month instead",Zt),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/",Fi),o.isDSTShifted=N("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Hi);function sa(e){return S(e*1e3)}function ra(){return S.apply(null,arguments).parseZone()}function Ss(e){return e}var p=tt.prototype;p.calendar=As,p.longDateFormat=zs,p.invalidDate=Zs,p.ordinal=Js,p.preparse=Ss,p.postformat=Ss,p.relativeTime=Xs,p.pastFuture=Ks,p.set=Us,p.eras=bn,p.erasParse=Nn,p.erasConvertYear=Pn,p.erasAbbrRegex=En,p.erasNameRegex=Ln,p.erasNarrowRegex=In,p.months=yr,p.monthsShort=wr,p.monthsParse=gr,p.monthsRegex=Mr,p.monthsShortRegex=Sr,p.week=vr,p.firstDayOfYear=Tr,p.firstDayOfWeek=Or,p.weekdays=Er,p.weekdaysMin=Ur,p.weekdaysShort=Ir,p.weekdaysParse=Ar,p.weekdaysRegex=zr,p.weekdaysShortRegex=$r,p.weekdaysMinRegex=Zr,p.isPM=qr,p.meridiem=Xr;function $e(e,t,s,r){var i=$(),n=E().set(r,t);return i[s](n,e)}function Ms(e,t,s){if(A(e)&&(t=e,e=void 0),e=e||"",t!=null)return $e(e,t,s,"month");var r,i=[];for(r=0;r<12;r++)i[r]=$e(e,r,s,"month");return i}function Yt(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 i=$(),n=e?i._week.dow:0,a,l=[];if(s!=null)return $e(t,(s+n)%7,r,"day");for(a=0;a<7;a++)l[a]=$e(t,(a+n)%7,r,"day");return l}function ia(e,t){return Ms(e,t,"months")}function na(e,t){return Ms(e,t,"monthsShort")}function aa(e,t,s){return Yt(e,t,s,"weekdays")}function oa(e,t,s){return Yt(e,t,s,"weekdaysShort")}function la(e,t,s){return Yt(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=m(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+s}}),u.lang=N("moment.lang is deprecated. Use moment.locale instead.",K),u.langData=N("moment.langData is deprecated. Use moment.localeData instead.",$);var Z=Math.abs;function ua(){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 Ds(e,t,s,r){var i=L(t,s);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function da(e,t){return Ds(this,e,t,1)}function ha(e,t){return Ds(this,e,t,-1)}function vs(e){return e<0?Math.floor(e):Math.ceil(e)}function fa(){var e=this._milliseconds,t=this._days,s=this._months,r=this._data,i,n,a,l,f;return e>=0&&t>=0&&s>=0||e<=0&&t<=0&&s<=0||(e+=vs(Ot(s)+t)*864e5,t=0,s=0),r.milliseconds=e%1e3,i=W(e/1e3),r.seconds=i%60,n=W(i/60),r.minutes=n%60,a=W(n/60),r.hours=a%24,t+=W(a/24),f=W(Ys(t)),s+=f,t-=vs(Ot(f)),l=W(s/12),s%=12,r.days=t,r.months=s,r.years=l,this}function Ys(e){return e*4800/146097}function Ot(e){return e*146097/4800}function ca(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+Ys(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 Os=B("ms"),ma=B("s"),_a=B("m"),ya=B("h"),wa=B("d"),pa=B("w"),ga=B("M"),ka=B("Q"),Sa=B("y"),Ma=Os;function Da(){return L(this)}function va(e){return e=P(e),this.isValid()?this[e+"s"]():NaN}function ne(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ya=ne("milliseconds"),Oa=ne("seconds"),Ta=ne("minutes"),xa=ne("hours"),ba=ne("days"),Na=ne("months"),Pa=ne("years");function Wa(){return W(this.days()/7)}var q=Math.round,ce={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Ra(e,t,s,r,i){return i.relativeTime(t||1,!!s,e,r)}function Fa(e,t,s,r){var i=L(e).abs(),n=q(i.as("s")),a=q(i.as("m")),l=q(i.as("h")),f=q(i.as("d")),_=q(i.as("M")),O=q(i.as("w")),J=q(i.as("y")),te=n<=s.ss&&["s",n]||n<s.s&&["ss",n]||a<=1&&["m"]||a<s.m&&["mm",a]||l<=1&&["h"]||l<s.h&&["hh",l]||f<=1&&["d"]||f<s.d&&["dd",f];return s.w!=null&&(te=te||O<=1&&["w"]||O<s.w&&["ww",O]),te=te||_<=1&&["M"]||_<s.M&&["MM",_]||J<=1&&["y"]||["yy",J],te[2]=t,te[3]=+e>0,te[4]=r,Ra.apply(null,te)}function Ca(e){return e===void 0?q:typeof e=="function"?(q=e,!0):!1}function La(e,t){return ce[e]===void 0?!1:t===void 0?ce[e]:(ce[e]=t,e==="s"&&(ce.ss=t-1),!0)}function Ea(e,t){if(!this.isValid())return this.localeData().invalidDate();var s=!1,r=ce,i,n;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(s=e),typeof t=="object"&&(r=Object.assign({},ce,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),i=this.localeData(),n=Fa(this,!s,r,i),s&&(n=i.pastFuture(+this,n)),i.postformat(n)}var Tt=Math.abs;function me(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,i,n,a,l=this.asSeconds(),f,_,O,J;return l?(r=W(e/60),i=W(r/60),e%=60,r%=60,n=W(s/12),s%=12,a=e?e.toFixed(3).replace(/\.?0+$/,""):"",f=l<0?"-":"",_=me(this._months)!==me(l)?"-":"",O=me(this._days)!==me(l)?"-":"",J=me(this._milliseconds)!==me(l)?"-":"",f+"P"+(n?_+n+"Y":"")+(s?_+s+"M":"")+(t?O+t+"D":"")+(i||r||e?"T":"")+(i?J+i+"H":"")+(r?J+r+"M":"")+(e?J+a+"S":"")):"P0D"}var y=He.prototype;y.isValid=bi,y.abs=ua,y.add=da,y.subtract=ha,y.as=ca,y.asMilliseconds=Os,y.asSeconds=ma,y.asMinutes=_a,y.asHours=ya,y.asDays=wa,y.asWeeks=pa,y.asMonths=ga,y.asQuarters=ka,y.asYears=Sa,y.valueOf=Ma,y._bubble=fa,y.clone=Da,y.get=va,y.milliseconds=Ya,y.seconds=Oa,y.minutes=Ta,y.hours=xa,y.days=ba,y.weeks=Wa,y.months=Na,y.years=Pa,y.humanize=Ea,y.toISOString=Ze,y.toString=Ze,y.toJSON=Ze,y.locale=fs,y.localeData=ms,y.toIsoString=N("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ze),y.lang=cs,h("X",0,0,"unix"),h("x",0,0,"valueOf"),d("x",Re),d("X",rr),g("X",function(e,t,s){s._d=new Date(parseFloat(e)*1e3)}),g("x",function(e,t,s){s._d=new Date(m(e))});//! moment.js
|
|
10
|
-
u.version="2.30.1",Es(
|
|
9
|
+
`+new Error().stack),s=!1}return t.apply(this,arguments)},t)}var Ft={};function Ct(e,t){u.deprecationHandler!=null&&u.deprecationHandler(e,t),Ft[e]||(Rt(t),Ft[e]=!0)}u.suppressDeprecationWarnings=!1,u.deprecationHandler=null;function I(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Us(e){var t,s;for(s in e)w(e,s)&&(t=e[s],I(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=X({},e),r;for(r in t)w(t,r)&&(se(e[r])&&se(t[r])?(s[r]={},X(s[r],e[r]),X(s[r],t[r])):t[r]!=null?s[r]=t[r]:delete s[r]);for(r in e)w(e,r)&&!w(t,r)&&se(e[r])&&(s[r]=X({},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)w(e,t)&&s.push(t);return s};var Hs={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function As(e,t,s){var r=this._calendar[e]||this._calendar.sameElse;return I(r)?r.call(t,s):r}function U(e,t,s){var r=""+Math.abs(e),i=t-r.length,n=e>=0;return(n?s?"+":"":"-")+Math.pow(10,Math.max(0,i)).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,xe=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,it={},ae={};function h(e,t,s,r){var i=r;typeof r=="string"&&(i=function(){return this[r]()}),e&&(ae[e]=i),t&&(ae[t[0]]=function(){return U(i.apply(this,arguments),t[1],t[2])}),s&&(ae[s]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function js(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Gs(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]=js(t[s]);return function(i){var n="",a;for(a=0;a<r;a++)n+=I(t[a])?t[a].call(i,e):t[a];return n}}function be(e,t){return e.isValid()?(t=Lt(t,e.localeData()),it[t]=it[t]||Gs(t),it[t](e)):e.localeData().invalidDate()}function Lt(e,t){var s=5;function r(i){return t.longDateFormat(i)||i}for(xe.lastIndex=0;s>=0&&xe.test(e);)e=e.replace(xe,r),xe.lastIndex=0,s-=1;return e}var Vs={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 zs(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 $s="Invalid date";function Zs(){return this._invalidDate}var Bs="%d",qs=/\d{1,2}/;function Js(e){return this._ordinal.replace("%d",e)}var Qs={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 Xs(e,t,s,r){var i=this._relativeTime[s];return I(i)?i(e,t,s,r):i.replace(/%d/i,e)}function Ks(e,t){var s=this._relativeTime[e>0?"future":"past"];return I(s)?s(t):s.replace(/%s/i,t)}var Et={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"?Et[e]||Et[e.toLowerCase()]:void 0}function nt(e){var t={},s,r;for(r in e)w(e,r)&&(s=P(r),s&&(t[s]=e[r]));return t}var er={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)w(e,s)&&t.push({unit:s,priority:er[s]});return t.sort(function(r,i){return r.priority-i.priority}),t}var It=/\d/,x=/\d\d/,Ut=/\d{3}/,at=/\d{4}/,Ne=/[+-]?\d{6}/,k=/\d\d?/,Ht=/\d\d\d\d?/,At=/\d\d\d\d\d\d?/,Pe=/\d{1,3}/,ot=/\d{1,4}/,We=/[+-]?\d{1,6}/,oe=/\d+/,Re=/[+-]?\d+/,sr=/Z|[+-]\d\d:?\d\d/gi,Fe=/Z|[+-]\d\d(?::?\d\d)?/gi,rr=/[+-]?\d+(\.\d{1,3})?/,pe=/[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,le=/^[1-9]\d?/,lt=/^([1-9]\d|\d)/,Ce;Ce={};function d(e,t,s){Ce[e]=I(t)?t:function(r,i){return r&&s?s:t}}function ir(e,t){return w(Ce,e)?Ce[e](t._strict,t._locale):new RegExp(nr(e))}function nr(e){return j(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,s,r,i,n){return s||r||i||n}))}function j(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function W(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function m(e){var t=+e,s=0;return t!==0&&isFinite(t)&&(s=W(t)),s}var ut={};function g(e,t){var s,r=t,i;for(typeof e=="string"&&(e=[e]),A(t)&&(r=function(n,a){a[t]=m(n)}),i=e.length,s=0;s<i;s++)ut[e[s]]=r}function ge(e,t){g(e,function(s,r,i,n){i._w=i._w||{},t(s,i._w,i,n)})}function ar(e,t,s){t!=null&&w(ut,e)&&ut[e](t,s._a,s,e)}function Le(e){return e%4===0&&e%100!==0||e%400===0}var Y=0,G=1,H=2,v=3,C=4,V=5,re=6,or=7,lr=8;h("Y",0,0,function(){var e=this.year();return e<=9999?U(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",k,x),d("YYYY",ot,at),d("YYYYY",We,Ne),d("YYYYYY",We,Ne),g(["YYYYY","YYYYYY"],Y),g("YYYY",function(e,t){t[Y]=e.length===2?u.parseTwoDigitYear(e):m(e)}),g("YY",function(e,t){t[Y]=u.parseTwoDigitYear(e)}),g("Y",function(e,t){t[Y]=parseInt(e,10)});function ke(e){return Le(e)?366:365}u.parseTwoDigitYear=function(e){return m(e)+(m(e)>68?1900:2e3)};var jt=ue("FullYear",!0);function ur(){return Le(this.year())}function ue(e,t){return function(s){return s!=null?(Gt(this,e,s),u.updateOffset(this,t),this):Me(this,e)}}function Me(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 Gt(e,t,s){var r,i,n,a,l;if(!(!e.isValid()||isNaN(s))){switch(r=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?r.setUTCMilliseconds(s):r.setMilliseconds(s));case"Seconds":return void(i?r.setUTCSeconds(s):r.setSeconds(s));case"Minutes":return void(i?r.setUTCMinutes(s):r.setMinutes(s));case"Hours":return void(i?r.setUTCHours(s):r.setHours(s));case"Date":return void(i?r.setUTCDate(s):r.setDate(s));case"FullYear":break;default:return}n=s,a=e.month(),l=e.date(),l=l===29&&a===1&&!Le(n)?28:l,i?r.setUTCFullYear(n,a,l):r.setFullYear(n,a,l)}}function dr(e){return e=P(e),I(this[e])?this[e]():this}function hr(e,t){if(typeof e=="object"){e=nt(e);var s=tr(e),r,i=s.length;for(r=0;r<i;r++)this[s[r].unit](e[s[r].unit])}else if(e=P(e),I(this[e]))return this[e](t);return this}function fr(e,t){return(e%t+t)%t}var D;Array.prototype.indexOf?D=Array.prototype.indexOf:D=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=fr(t,12);return e+=(t-s)/12,s===1?Le(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",k,le),d("MM",k,x),d("MMM",function(e,t){return t.monthsShortRegex(e)}),d("MMMM",function(e,t){return t.monthsRegex(e)}),g(["M","MM"],function(e,t){t[G]=m(e)-1}),g(["MMM","MMMM"],function(e,t,s,r){var i=s._locale.monthsParse(e,r,s._strict);i!=null?t[G]=i:c(s).invalidMonth=e});var cr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Vt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),zt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,mr=pe,_r=pe;function yr(e,t){return e?R(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||zt).test(t)?"format":"standalone"][e.month()]:R(this._months)?this._months:this._months.standalone}function wr(e,t){return e?R(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[zt.test(t)?"format":"standalone"][e.month()]:R(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function pr(e,t,s){var r,i,n,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)n=E([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(n,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(n,"").toLocaleLowerCase();return s?t==="MMM"?(i=D.call(this._shortMonthsParse,a),i!==-1?i:null):(i=D.call(this._longMonthsParse,a),i!==-1?i:null):t==="MMM"?(i=D.call(this._shortMonthsParse,a),i!==-1?i:(i=D.call(this._longMonthsParse,a),i!==-1?i:null)):(i=D.call(this._longMonthsParse,a),i!==-1?i:(i=D.call(this._shortMonthsParse,a),i!==-1?i:null))}function gr(e,t,s){var r,i,n;if(this._monthsParseExact)return pr.call(this,e,t,s);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=E([2e3,r]),s&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),!s&&!this._monthsParse[r]&&(n="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(n.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 $t(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=m(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 Zt(e){return e!=null?($t(this,e),u.updateOffset(this,!0),this):Me(this,"Month")}function kr(){return dt(this.year(),this.month())}function Mr(e){return this._monthsParseExact?(w(this,"_monthsRegex")||Bt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(w(this,"_monthsShortRegex")||(this._monthsShortRegex=mr),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Sr(e){return this._monthsParseExact?(w(this,"_monthsRegex")||Bt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(w(this,"_monthsRegex")||(this._monthsRegex=_r),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Bt(){function e(f,_){return _.length-f.length}var t=[],s=[],r=[],i,n,a,l;for(i=0;i<12;i++)n=E([2e3,i]),a=j(this.monthsShort(n,"")),l=j(this.months(n,"")),t.push(a),s.push(l),r.push(l),r.push(a);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 Dr(e,t,s,r,i,n,a){var l;return e<100&&e>=0?(l=new Date(e+400,t,s,r,i,n,a),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,s,r,i,n,a),l}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 Ee(e,t,s){var r=7+t-s,i=(7+Se(e,0,r).getUTCDay()-t)%7;return-i+r-1}function qt(e,t,s,r,i){var n=(7+s-r)%7,a=Ee(e,r,i),l=1+7*(t-1)+n+a,f,_;return l<=0?(f=e-1,_=ke(f)+l):l>ke(e)?(f=e+1,_=l-ke(e)):(f=e,_=l),{year:f,dayOfYear:_}}function De(e,t,s){var r=Ee(e.year(),t,s),i=Math.floor((e.dayOfYear()-r-1)/7)+1,n,a;return i<1?(a=e.year()-1,n=i+z(a,t,s)):i>z(e.year(),t,s)?(n=i-z(e.year(),t,s),a=e.year()+1):(a=e.year(),n=i),{week:n,year:a}}function z(e,t,s){var r=Ee(e,t,s),i=Ee(e+1,t,s);return(ke(e)-r+i)/7}h("w",["ww",2],"wo","week"),h("W",["WW",2],"Wo","isoWeek"),d("w",k,le),d("ww",k,x),d("W",k,le),d("WW",k,x),ge(["w","ww","W","WW"],function(e,t,s,r){t[r.substr(0,1)]=m(e)});function vr(e){return De(e,this._week.dow,this._week.doy).week}var Yr={dow:0,doy:6};function Or(){return this._week.dow}function Tr(){return this._week.doy}function xr(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function br(e){var t=De(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",k),d("e",k),d("E",k),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 i=s._locale.weekdaysParse(e,r,s._strict);i!=null?t.d=i:c(s).invalidWeekday=e}),ge(["d","e","E"],function(e,t,s,r){t[r]=m(e)});function Nr(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Pr(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function ht(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Wr="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Jt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Rr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Fr=pe,Cr=pe,Lr=pe;function Er(e,t){var s=R(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?ht(s,this._week.dow):e?s[e.day()]:s}function Ir(e){return e===!0?ht(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ur(e){return e===!0?ht(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Hr(e,t,s){var r,i,n,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)n=E([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(n,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(n,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(n,"").toLocaleLowerCase();return s?t==="dddd"?(i=D.call(this._weekdaysParse,a),i!==-1?i:null):t==="ddd"?(i=D.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=D.call(this._minWeekdaysParse,a),i!==-1?i:null):t==="dddd"?(i=D.call(this._weekdaysParse,a),i!==-1||(i=D.call(this._shortWeekdaysParse,a),i!==-1)?i:(i=D.call(this._minWeekdaysParse,a),i!==-1?i:null)):t==="ddd"?(i=D.call(this._shortWeekdaysParse,a),i!==-1||(i=D.call(this._weekdaysParse,a),i!==-1)?i:(i=D.call(this._minWeekdaysParse,a),i!==-1?i:null)):(i=D.call(this._minWeekdaysParse,a),i!==-1||(i=D.call(this._weekdaysParse,a),i!==-1)?i:(i=D.call(this._shortWeekdaysParse,a),i!==-1?i:null))}function Ar(e,t,s){var r,i,n;if(this._weekdaysParseExact)return Hr.call(this,e,t,s);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=E([2e3,1]).day(r),s&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(n="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(n.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 jr(e){if(!this.isValid())return e!=null?this:NaN;var t=Me(this,"Day");return e!=null?(e=Nr(e,this.localeData()),this.add(e-t,"d")):t}function Gr(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 Vr(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Pr(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function zr(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||ft.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(w(this,"_weekdaysRegex")||(this._weekdaysRegex=Fr),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function $r(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||ft.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(w(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Cr),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Zr(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||ft.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(w(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Lr),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ft(){function e(O,J){return J.length-O.length}var t=[],s=[],r=[],i=[],n,a,l,f,_;for(n=0;n<7;n++)a=E([2e3,1]).day(n),l=j(this.weekdaysMin(a,"")),f=j(this.weekdaysShort(a,"")),_=j(this.weekdays(a,"")),t.push(l),s.push(f),r.push(_),i.push(l),i.push(f),i.push(_);t.sort(e),s.sort(e),r.sort(e),i.sort(e),this._weekdaysRegex=new RegExp("^("+i.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 Br(){return this.hours()||24}h("H",["HH",2],0,"hour"),h("h",["hh",2],0,ct),h("k",["kk",2],0,Br),h("hmm",0,0,function(){return""+ct.apply(this)+U(this.minutes(),2)}),h("hmmss",0,0,function(){return""+ct.apply(this)+U(this.minutes(),2)+U(this.seconds(),2)}),h("Hmm",0,0,function(){return""+this.hours()+U(this.minutes(),2)}),h("Hmmss",0,0,function(){return""+this.hours()+U(this.minutes(),2)+U(this.seconds(),2)});function Qt(e,t){h(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Qt("a",!0),Qt("A",!1);function Xt(e,t){return t._meridiemParse}d("a",Xt),d("A",Xt),d("H",k,lt),d("h",k,le),d("k",k,le),d("HH",k,x),d("hh",k,x),d("kk",k,x),d("hmm",Ht),d("hmmss",At),d("Hmm",Ht),d("Hmmss",At),g(["H","HH"],v),g(["k","kk"],function(e,t,s){var r=m(e);t[v]=r===24?0:r}),g(["a","A"],function(e,t,s){s._isPm=s._locale.isPM(e),s._meridiem=e}),g(["h","hh"],function(e,t,s){t[v]=m(e),c(s).bigHour=!0}),g("hmm",function(e,t,s){var r=e.length-2;t[v]=m(e.substr(0,r)),t[C]=m(e.substr(r)),c(s).bigHour=!0}),g("hmmss",function(e,t,s){var r=e.length-4,i=e.length-2;t[v]=m(e.substr(0,r)),t[C]=m(e.substr(r,2)),t[V]=m(e.substr(i)),c(s).bigHour=!0}),g("Hmm",function(e,t,s){var r=e.length-2;t[v]=m(e.substr(0,r)),t[C]=m(e.substr(r))}),g("Hmmss",function(e,t,s){var r=e.length-4,i=e.length-2;t[v]=m(e.substr(0,r)),t[C]=m(e.substr(r,2)),t[V]=m(e.substr(i))});function qr(e){return(e+"").toLowerCase().charAt(0)==="p"}var Jr=/[ap]\.?m?\.?/i,Qr=ue("Hours",!0);function Xr(e,t,s){return e>11?s?"pm":"PM":s?"am":"AM"}var Kt={calendar:Hs,longDateFormat:Vs,invalidDate:$s,ordinal:Bs,dayOfMonthOrdinalParse:qs,relativeTime:Qs,months:cr,monthsShort:Vt,week:Yr,weekdays:Wr,weekdaysMin:Rr,weekdaysShort:Jt,meridiemParse:Jr},S={},ve={},Ye;function Kr(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 es(e){return e&&e.toLowerCase().replace("_","-")}function ei(e){for(var t=0,s,r,i,n;t<e.length;){for(n=es(e[t]).split("-"),s=n.length,r=es(e[t+1]),r=r?r.split("-"):null;s>0;){if(i=Ie(n.slice(0,s).join("-")),i)return i;if(r&&r.length>=s&&Kr(n,r)>=s-1)break;s--}t++}return Ye}function ti(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Ie(e){var t=null,s;if(S[e]===void 0&&typeof module<"u"&&module&&module.exports&&ti(e))try{t=Ye._abbr,s=require,s("./locale/"+e),K(t)}catch{S[e]=null}return S[e]}function K(e,t){var s;return e&&(T(t)?s=$(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=Kt;if(t.abbr=e,S[e]!=null)Ct("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=S[e]._config;else if(t.parentLocale!=null)if(S[t.parentLocale]!=null)r=S[t.parentLocale]._config;else if(s=Ie(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 S[e]=new tt(et(r,t)),ve[e]&&ve[e].forEach(function(i){mt(i.name,i.config)}),K(e),S[e]}else return delete S[e],null}function si(e,t){if(t!=null){var s,r,i=Kt;S[e]!=null&&S[e].parentLocale!=null?S[e].set(et(S[e]._config,t)):(r=Ie(e),r!=null&&(i=r._config),t=et(i,t),r==null&&(t.abbr=e),s=new tt(t),s.parentLocale=S[e],S[e]=s),K(e)}else S[e]!=null&&(S[e].parentLocale!=null?(S[e]=S[e].parentLocale,e===K()&&K(e)):S[e]!=null&&delete S[e]);return S[e]}function $(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ye;if(!R(e)){if(t=Ie(e),t)return t;e=[e]}return ei(e)}function ri(){return st(S)}function _t(e){var t,s=e._a;return s&&c(e).overflow===-2&&(t=s[G]<0||s[G]>11?G:s[H]<1||s[H]>dt(s[Y],s[G])?H:s[v]<0||s[v]>24||s[v]===24&&(s[C]!==0||s[V]!==0||s[re]!==0)?v:s[C]<0||s[C]>59?C:s[V]<0||s[V]>59?V:s[re]<0||s[re]>999?re:-1,c(e)._overflowDayOfYear&&(t<Y||t>H)&&(t=H),c(e)._overflowWeeks&&t===-1&&(t=or),c(e)._overflowWeekday&&t===-1&&(t=lr),c(e).overflow=t),e}var ii=/^\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)?)?$/,ni=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ai=/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/]],oi=/^\/?Date\((-?\d+)/i,li=/^(?:(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}))$/,ui={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 ts(e){var t,s,r=e._i,i=ii.exec(r)||ni.exec(r),n,a,l,f,_=Ue.length,O=yt.length;if(i){for(c(e).iso=!0,t=0,s=_;t<s;t++)if(Ue[t][1].exec(i[1])){a=Ue[t][0],n=Ue[t][2]!==!1;break}if(a==null){e._isValid=!1;return}if(i[3]){for(t=0,s=O;t<s;t++)if(yt[t][1].exec(i[3])){l=(i[2]||" ")+yt[t][0];break}if(l==null){e._isValid=!1;return}}if(!n&&l!=null){e._isValid=!1;return}if(i[4])if(ai.exec(i[4]))f="Z";else{e._isValid=!1;return}e._f=a+(l||"")+(f||""),pt(e)}else e._isValid=!1}function di(e,t,s,r,i,n){var a=[hi(e),Vt.indexOf(t),parseInt(s,10),parseInt(r,10),parseInt(i,10)];return n&&a.push(parseInt(n,10)),a}function hi(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function fi(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function ci(e,t,s){if(e){var r=Jt.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(r!==i)return c(s).weekdayMismatch=!0,s._isValid=!1,!1}return!0}function mi(e,t,s){if(e)return ui[e];if(t)return 0;var r=parseInt(s,10),i=r%100,n=(r-i)/100;return n*60+i}function ss(e){var t=li.exec(fi(e._i)),s;if(t){if(s=di(t[4],t[3],t[2],t[5],t[6],t[7]),!ci(t[1],s,e))return;e._a=s,e._tzm=mi(t[8],t[9],t[10]),e._d=Se.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),c(e).rfc2822=!0}else e._isValid=!1}function _i(e){var t=oi.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(ts(e),e._isValid===!1)delete e._isValid;else return;if(ss(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:u.createFromInputFallback(e)}u.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 de(e,t,s){return e??t??s}function yi(e){var t=new Date(u.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function wt(e){var t,s,r=[],i,n,a;if(!e._d){for(i=yi(e),e._w&&e._a[H]==null&&e._a[G]==null&&wi(e),e._dayOfYear!=null&&(a=de(e._a[Y],i[Y]),(e._dayOfYear>ke(a)||e._dayOfYear===0)&&(c(e)._overflowDayOfYear=!0),s=Se(a,0,e._dayOfYear),e._a[G]=s.getUTCMonth(),e._a[H]=s.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=i[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[v]===24&&e._a[C]===0&&e._a[V]===0&&e._a[re]===0&&(e._nextDay=!0,e._a[v]=0),e._d=(e._useUTC?Se:Dr).apply(null,r),n=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[v]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==n&&(c(e).weekdayMismatch=!0)}}function wi(e){var t,s,r,i,n,a,l,f,_;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(n=1,a=4,s=de(t.GG,e._a[Y],De(M(),1,4).year),r=de(t.W,1),i=de(t.E,1),(i<1||i>7)&&(f=!0)):(n=e._locale._week.dow,a=e._locale._week.doy,_=De(M(),n,a),s=de(t.gg,e._a[Y],_.year),r=de(t.w,_.week),t.d!=null?(i=t.d,(i<0||i>6)&&(f=!0)):t.e!=null?(i=t.e+n,(t.e<0||t.e>6)&&(f=!0)):i=n),r<1||r>z(s,n,a)?c(e)._overflowWeeks=!0:f!=null?c(e)._overflowWeekday=!0:(l=qt(s,r,i,n,a),e._a[Y]=l.year,e._dayOfYear=l.dayOfYear)}u.ISO_8601=function(){},u.RFC_2822=function(){};function pt(e){if(e._f===u.ISO_8601){ts(e);return}if(e._f===u.RFC_2822){ss(e);return}e._a=[],c(e).empty=!0;var t=""+e._i,s,r,i,n,a,l=t.length,f=0,_,O;for(i=Lt(e._f,e._locale).match(rt)||[],O=i.length,s=0;s<O;s++)n=i[s],r=(t.match(ir(n,e))||[])[0],r&&(a=t.substr(0,t.indexOf(r)),a.length>0&&c(e).unusedInput.push(a),t=t.slice(t.indexOf(r)+r.length),f+=r.length),ae[n]?(r?c(e).empty=!1:c(e).unusedTokens.push(n),ar(n,r,e)):e._strict&&!r&&c(e).unusedTokens.push(n);c(e).charsLeftOver=l-f,t.length>0&&c(e).unusedInput.push(t),e._a[v]<=12&&c(e).bigHour===!0&&e._a[v]>0&&(c(e).bigHour=void 0),c(e).parsedDateParts=e._a.slice(0),c(e).meridiem=e._meridiem,e._a[v]=pi(e._locale,e._a[v],e._meridiem),_=c(e).era,_!==null&&(e._a[Y]=e._locale.erasConvertYear(_,e._a[Y])),wt(e),_t(e)}function pi(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 gi(e){var t,s,r,i,n,a,l=!1,f=e._f.length;if(f===0){c(e).invalidFormat=!0,e._d=new Date(NaN);return}for(i=0;i<f;i++)n=0,a=!1,t=Ke({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[i],pt(t),Qe(t)&&(a=!0),n+=c(t).charsLeftOver,n+=c(t).unusedTokens.length*10,c(t).score=n,l?n<r&&(r=n,s=t):(r==null||n<r||a)&&(r=n,s=t,a&&(l=!0));X(e,s||t)}function ki(e){if(!e._d){var t=nt(e._i),s=t.day===void 0?t.date:t.day;e._a=Pt([t.year,t.month,s,t.hour,t.minute,t.second,t.millisecond],function(r){return r&&parseInt(r,10)}),wt(e)}}function Mi(e){var t=new we(_t(rs(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function rs(e){var t=e._i,s=e._f;return e._locale=e._locale||$(e._l),t===null||s===void 0&&t===""?Te({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),F(t)?new we(_t(t)):(ye(t)?e._d=t:R(s)?gi(e):s?pt(e):Si(e),Qe(e)||(e._d=null),e))}function Si(e){var t=e._i;T(t)?e._d=new Date(u.now()):ye(t)?e._d=new Date(t.valueOf()):typeof t=="string"?_i(e):R(t)?(e._a=Pt(t.slice(0),function(s){return parseInt(s,10)}),wt(e)):se(t)?ki(e):A(t)?e._d=new Date(t):u.createFromInputFallback(e)}function is(e,t,s,r,i){var n={};return(t===!0||t===!1)&&(r=t,t=void 0),(s===!0||s===!1)&&(r=s,s=void 0),(se(e)&&qe(e)||R(e)&&e.length===0)&&(e=void 0),n._isAMomentObject=!0,n._useUTC=n._isUTC=i,n._l=s,n._i=e,n._f=t,n._strict=r,Mi(n)}function M(e,t,s,r){return is(e,t,s,r,!1)}var Di=N("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=M.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Te()}),vi=N("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=M.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Te()});function ns(e,t){var s,r;if(t.length===1&&R(t[0])&&(t=t[0]),!t.length)return M();for(s=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](s))&&(s=t[r]);return s}function Yi(){var e=[].slice.call(arguments,0);return ns("isBefore",e)}function Oi(){var e=[].slice.call(arguments,0);return ns("isAfter",e)}var Ti=function(){return Date.now?Date.now():+new Date},Oe=["year","quarter","month","week","day","hour","minute","second","millisecond"];function xi(e){var t,s=!1,r,i=Oe.length;for(t in e)if(w(e,t)&&!(D.call(Oe,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<i;++r)if(e[Oe[r]]){if(s)return!1;parseFloat(e[Oe[r]])!==m(e[Oe[r]])&&(s=!0)}return!0}function bi(){return this._isValid}function Ni(){return L(NaN)}function He(e){var t=nt(e),s=t.year||0,r=t.quarter||0,i=t.month||0,n=t.week||t.isoWeek||0,a=t.day||0,l=t.hour||0,f=t.minute||0,_=t.second||0,O=t.millisecond||0;this._isValid=xi(t),this._milliseconds=+O+_*1e3+f*6e4+l*1e3*60*60,this._days=+a+n*7,this._months=+i+r*3+s*12,this._data={},this._locale=$(),this._bubble()}function Ae(e){return e instanceof He}function gt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Pi(e,t,s){var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),n=0,a;for(a=0;a<r;a++)m(e[a])!==m(t[a])&&n++;return n+i}function as(e,t){h(e,0,0,function(){var s=this.utcOffset(),r="+";return s<0&&(s=-s,r="-"),r+U(~~(s/60),2)+t+U(~~s%60,2)})}as("Z",":"),as("ZZ",""),d("Z",Fe),d("ZZ",Fe),g(["Z","ZZ"],function(e,t,s){s._useUTC=!0,s._tzm=kt(Fe,e)});var Wi=/([\+\-]|\d\d)/gi;function kt(e,t){var s=(t||"").match(e),r,i,n;return s===null?null:(r=s[s.length-1]||[],i=(r+"").match(Wi)||["-",0,0],n=+(i[1]*60)+m(i[2]),n===0?0:i[0]==="+"?n:-n)}function Mt(e,t){var s,r;return t._isUTC?(s=t.clone(),r=(F(e)||ye(e)?e.valueOf():M(e).valueOf())-s.valueOf(),s._d.setTime(s._d.valueOf()+r),u.updateOffset(s,!1),s):M(e).local()}function St(e){return-Math.round(e._d.getTimezoneOffset())}u.updateOffset=function(){};function Ri(e,t,s){var r=this._offset||0,i;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=kt(Fe,e),e===null)return this}else Math.abs(e)<16&&!s&&(e=e*60);return!this._isUTC&&t&&(i=St(this)),this._offset=e,this._isUTC=!0,i!=null&&this.add(i,"m"),r!==e&&(!t||this._changeInProgress?ds(this,L(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,u.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:St(this)}function Fi(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Ci(e){return this.utcOffset(0,e)}function Li(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(St(this),"m")),this}function Ei(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=kt(sr,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Ii(e){return this.isValid()?(e=e?M(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function Ui(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Hi(){if(!T(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Ke(e,this),e=rs(e),e._a?(t=e._isUTC?E(e._a):M(e._a),this._isDSTShifted=this.isValid()&&Pi(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Ai(){return this.isValid()?!this._isUTC:!1}function ji(){return this.isValid()?this._isUTC:!1}function os(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Gi=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Vi=/^(-|\+)?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,i,n,a;return Ae(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:A(e)||!isNaN(+e)?(s={},t?s[t]=+e:s.milliseconds=+e):(r=Gi.exec(e))?(i=r[1]==="-"?-1:1,s={y:0,d:m(r[H])*i,h:m(r[v])*i,m:m(r[C])*i,s:m(r[V])*i,ms:m(gt(r[re]*1e3))*i}):(r=Vi.exec(e))?(i=r[1]==="-"?-1:1,s={y:ie(r[2],i),M:ie(r[3],i),w:ie(r[4],i),d:ie(r[5],i),h:ie(r[6],i),m:ie(r[7],i),s:ie(r[8],i)}):s==null?s={}:typeof s=="object"&&("from"in s||"to"in s)&&(a=zi(M(s.from),M(s.to)),s={},s.ms=a.milliseconds,s.M=a.months),n=new He(s),Ae(e)&&w(e,"_locale")&&(n._locale=e._locale),Ae(e)&&w(e,"_isValid")&&(n._isValid=e._isValid),n}L.fn=He.prototype,L.invalid=Ni;function ie(e,t){var s=e&&parseFloat(e.replace(",","."));return(isNaN(s)?0:s)*t}function ls(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 zi(e,t){var s;return e.isValid()&&t.isValid()?(t=Mt(t,e),e.isBefore(t)?s=ls(e,t):(s=ls(t,e),s.milliseconds=-s.milliseconds,s.months=-s.months),s):{milliseconds:0,months:0}}function us(e,t){return function(s,r){var i,n;return r!==null&&!isNaN(+r)&&(Ct(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."),n=s,s=r,r=n),i=L(s,r),ds(this,i,e),this}}function ds(e,t,s,r){var i=t._milliseconds,n=gt(t._days),a=gt(t._months);e.isValid()&&(r=r??!0,a&&$t(e,Me(e,"Month")+a*s),n&&Gt(e,"Date",Me(e,"Date")+n*s),i&&e._d.setTime(e._d.valueOf()+i*s),r&&u.updateOffset(e,n||a))}var $i=us(1,"add"),Zi=us(-1,"subtract");function hs(e){return typeof e=="string"||e instanceof String}function Bi(e){return F(e)||ye(e)||hs(e)||A(e)||Ji(e)||qi(e)||e===null||e===void 0}function qi(e){var t=se(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"],i,n,a=r.length;for(i=0;i<a;i+=1)n=r[i],s=s||w(e,n);return t&&s}function Ji(e){var t=R(e),s=!1;return t&&(s=e.filter(function(r){return!A(r)&&hs(e)}).length===0),t&&s}function Qi(e){var t=se(e)&&!qe(e),s=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i,n;for(i=0;i<r.length;i+=1)n=r[i],s=s||w(e,n);return t&&s}function Xi(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 Ki(e,t){arguments.length===1&&(arguments[0]?Bi(arguments[0])?(e=arguments[0],t=void 0):Qi(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var s=e||M(),r=Mt(s,this).startOf("day"),i=u.calendarFormat(this,r)||"sameElse",n=t&&(I(t[i])?t[i].call(this,s):t[i]);return this.format(n||this.localeData().calendar(i,this,M(s)))}function en(){return new we(this)}function tn(e,t){var s=F(e)?e:M(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 sn(e,t){var s=F(e)?e:M(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 rn(e,t,s,r){var i=F(e)?e:M(e),n=F(t)?t:M(t);return this.isValid()&&i.isValid()&&n.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(i,s):!this.isBefore(i,s))&&(r[1]===")"?this.isBefore(n,s):!this.isAfter(n,s))):!1}function nn(e,t){var s=F(e)?e:M(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 an(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function on(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function ln(e,t,s){var r,i,n;if(!this.isValid())return NaN;if(r=Mt(e,this),!r.isValid())return NaN;switch(i=(r.utcOffset()-this.utcOffset())*6e4,t=P(t),t){case"year":n=je(this,r)/12;break;case"month":n=je(this,r);break;case"quarter":n=je(this,r)/3;break;case"second":n=(this-r)/1e3;break;case"minute":n=(this-r)/6e4;break;case"hour":n=(this-r)/36e5;break;case"day":n=(this-r-i)/864e5;break;case"week":n=(this-r-i)/6048e5;break;default:n=this-r}return s?n:W(n)}function je(e,t){if(e.date()<t.date())return-je(t,e);var s=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(s,"months"),i,n;return t-r<0?(i=e.clone().add(s-1,"months"),n=(t-r)/(r-i)):(i=e.clone().add(s+1,"months"),n=(t-r)/(i-r)),-(s+n)||0}u.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",u.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function un(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function dn(e){if(!this.isValid())return null;var t=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"):I(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 hn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",s,r,i,n;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),s="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",n=t+'[")]',this.format(s+r+i+n)}function fn(e){e||(e=this.isUtc()?u.defaultFormatUtc:u.defaultFormat);var t=be(this,e);return this.localeData().postformat(t)}function cn(e,t){return this.isValid()&&(F(e)&&e.isValid()||M(e).isValid())?L({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function mn(e){return this.from(M(),e)}function _n(e,t){return this.isValid()&&(F(e)&&e.isValid()||M(e).isValid())?L({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function yn(e){return this.to(M(),e)}function fs(e){var t;return e===void 0?this._locale._abbr:(t=$(e),t!=null&&(this._locale=t),this)}var cs=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 ms(){return this._locale}var Ge=1e3,he=60*Ge,Ve=60*he,_s=(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)-_s:new Date(e,t,s).valueOf()}function ws(e,t,s){return e<100&&e>=0?Date.UTC(e+400,t,s)-_s:Date.UTC(e,t,s)}function wn(e){var t,s;if(e=P(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(s=this._isUTC?ws: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()*he),Ve);break;case"minute":t=this._d.valueOf(),t-=fe(t,he);break;case"second":t=this._d.valueOf(),t-=fe(t,Ge);break}return this._d.setTime(t),u.updateOffset(this,!0),this}function pn(e){var t,s;if(e=P(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(s=this._isUTC?ws: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()*he),Ve)-1;break;case"minute":t=this._d.valueOf(),t+=he-fe(t,he)-1;break;case"second":t=this._d.valueOf(),t+=Ge-fe(t,Ge)-1;break}return this._d.setTime(t),u.updateOffset(this,!0),this}function gn(){return this._d.valueOf()-(this._offset||0)*6e4}function kn(){return Math.floor(this.valueOf()/1e3)}function Mn(){return new Date(this.valueOf())}function Sn(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Dn(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function vn(){return this.isValid()?this.toISOString():null}function Yn(){return Qe(this)}function On(){return X({},c(this))}function Tn(){return c(this).overflow}function xn(){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",Dt),d("NN",Dt),d("NNN",Dt),d("NNNN",Un),d("NNNNN",Hn),g(["N","NN","NNN","NNNN","NNNNN"],function(e,t,s,r){var i=s._locale.erasParse(e,r,s._strict);i?c(s).era=i:c(s).invalidEra=e}),d("y",oe),d("yy",oe),d("yyy",oe),d("yyyy",oe),d("yo",An),g(["y","yy","yyy","yyyy"],Y),g(["yo"],function(e,t,s,r){var i;s._locale._eraYearOrdinalRegex&&(i=e.match(s._locale._eraYearOrdinalRegex)),s._locale.eraYearOrdinalParse?t[Y]=s._locale.eraYearOrdinalParse(e,i):t[Y]=parseInt(e,10)});function bn(e,t){var s,r,i,n=this._eras||$("en")._eras;for(s=0,r=n.length;s<r;++s){switch(typeof n[s].since){case"string":i=u(n[s].since).startOf("day"),n[s].since=i.valueOf();break}switch(typeof n[s].until){case"undefined":n[s].until=1/0;break;case"string":i=u(n[s].until).startOf("day").valueOf(),n[s].until=i.valueOf();break}}return n}function Nn(e,t,s){var r,i,n=this.eras(),a,l,f;for(e=e.toUpperCase(),r=0,i=n.length;r<i;++r)if(a=n[r].name.toUpperCase(),l=n[r].abbr.toUpperCase(),f=n[r].narrow.toUpperCase(),s)switch(t){case"N":case"NN":case"NNN":if(l===e)return n[r];break;case"NNNN":if(a===e)return n[r];break;case"NNNNN":if(f===e)return n[r];break}else if([a,l,f].indexOf(e)>=0)return n[r]}function Pn(e,t){var s=e.since<=e.until?1:-1;return t===void 0?u(e.since).year():u(e.since).year()+(t-e.offset)*s}function Wn(){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 Rn(){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 Fn(){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 Cn(){var e,t,s,r,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(s=i[e].since<=i[e].until?1:-1,r=this.clone().startOf("day").valueOf(),i[e].since<=r&&r<=i[e].until||i[e].until<=r&&r<=i[e].since)return(this.year()-u(i[e].since).year())*s+i[e].offset;return this.year()}function Ln(e){return w(this,"_erasNameRegex")||vt.call(this),e?this._erasNameRegex:this._erasRegex}function En(e){return w(this,"_erasAbbrRegex")||vt.call(this),e?this._erasAbbrRegex:this._erasRegex}function In(e){return w(this,"_erasNarrowRegex")||vt.call(this),e?this._erasNarrowRegex:this._erasRegex}function Dt(e,t){return t.erasAbbrRegex(e)}function Un(e,t){return t.erasNameRegex(e)}function Hn(e,t){return t.erasNarrowRegex(e)}function An(e,t){return t._eraYearOrdinalRegex||oe}function vt(){var e=[],t=[],s=[],r=[],i,n,a,l,f,_=this.eras();for(i=0,n=_.length;i<n;++i)a=j(_[i].name),l=j(_[i].abbr),f=j(_[i].narrow),t.push(a),e.push(l),s.push(f),r.push(a),r.push(l),r.push(f);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 ze(e,t){h(0,[e,e.length],0,t)}ze("gggg","weekYear"),ze("ggggg","weekYear"),ze("GGGG","isoWeekYear"),ze("GGGGG","isoWeekYear"),d("G",Re),d("g",Re),d("GG",k,x),d("gg",k,x),d("GGGG",ot,at),d("gggg",ot,at),d("GGGGG",We,Ne),d("ggggg",We,Ne),ge(["gggg","ggggg","GGGG","GGGGG"],function(e,t,s,r){t[r.substr(0,2)]=m(e)}),ge(["gg","GG"],function(e,t,s,r){t[r]=u.parseTwoDigitYear(e)});function jn(e){return ps.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Gn(e){return ps.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Vn(){return z(this.year(),1,4)}function zn(){return z(this.isoWeekYear(),1,4)}function $n(){var e=this.localeData()._week;return z(this.year(),e.dow,e.doy)}function Zn(){var e=this.localeData()._week;return z(this.weekYear(),e.dow,e.doy)}function ps(e,t,s,r,i){var n;return e==null?De(this,r,i).year:(n=z(e,r,i),t>n&&(t=n),Bn.call(this,e,t,s,r,i))}function Bn(e,t,s,r,i){var n=qt(e,t,s,r,i),a=Se(n.year,0,n.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}h("Q",0,"Qo","quarter"),d("Q",It),g("Q",function(e,t){t[G]=(m(e)-1)*3});function qn(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",k,le),d("DD",k,x),d("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),g(["D","DD"],H),g("Do",function(e,t){t[H]=m(e.match(k)[0])});var gs=ue("Date",!0);h("DDD",["DDDD",3],"DDDo","dayOfYear"),d("DDD",Pe),d("DDDD",Ut),g(["DDD","DDDD"],function(e,t,s){s._dayOfYear=m(e)});function Jn(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",k,lt),d("mm",k,x),g(["m","mm"],C);var Qn=ue("Minutes",!1);h("s",["ss",2],0,"second"),d("s",k,lt),d("ss",k,x),g(["s","ss"],V);var Xn=ue("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",Pe,It),d("SS",Pe,x),d("SSS",Pe,Ut);var ee,ks;for(ee="SSSS";ee.length<=9;ee+="S")d(ee,oe);function Kn(e,t){t[re]=m(("0."+e)*1e3)}for(ee="S";ee.length<=9;ee+="S")g(ee,Kn);ks=ue("Milliseconds",!1),h("z",0,0,"zoneAbbr"),h("zz",0,0,"zoneName");function ea(){return this._isUTC?"UTC":""}function ta(){return this._isUTC?"Coordinated Universal Time":""}var o=we.prototype;o.add=$i,o.calendar=Ki,o.clone=en,o.diff=ln,o.endOf=pn,o.format=fn,o.from=cn,o.fromNow=mn,o.to=_n,o.toNow=yn,o.get=dr,o.invalidAt=Tn,o.isAfter=tn,o.isBefore=sn,o.isBetween=rn,o.isSame=nn,o.isSameOrAfter=an,o.isSameOrBefore=on,o.isValid=Yn,o.lang=cs,o.locale=fs,o.localeData=ms,o.max=vi,o.min=Di,o.parsingFlags=On,o.set=hr,o.startOf=wn,o.subtract=Zi,o.toArray=Sn,o.toObject=Dn,o.toDate=Mn,o.toISOString=dn,o.inspect=hn,typeof Symbol<"u"&&Symbol.for!=null&&(o[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),o.toJSON=vn,o.toString=un,o.unix=kn,o.valueOf=gn,o.creationData=xn,o.eraName=Wn,o.eraNarrow=Rn,o.eraAbbr=Fn,o.eraYear=Cn,o.year=jt,o.isLeapYear=ur,o.weekYear=jn,o.isoWeekYear=Gn,o.quarter=o.quarters=qn,o.month=Zt,o.daysInMonth=kr,o.week=o.weeks=xr,o.isoWeek=o.isoWeeks=br,o.weeksInYear=$n,o.weeksInWeekYear=Zn,o.isoWeeksInYear=Vn,o.isoWeeksInISOWeekYear=zn,o.date=gs,o.day=o.days=jr,o.weekday=Gr,o.isoWeekday=Vr,o.dayOfYear=Jn,o.hour=o.hours=Qr,o.minute=o.minutes=Qn,o.second=o.seconds=Xn,o.millisecond=o.milliseconds=ks,o.utcOffset=Ri,o.utc=Ci,o.local=Li,o.parseZone=Ei,o.hasAlignedHourOffset=Ii,o.isDST=Ui,o.isLocal=Ai,o.isUtcOffset=ji,o.isUtc=os,o.isUTC=os,o.zoneAbbr=ea,o.zoneName=ta,o.dates=N("dates accessor is deprecated. Use date instead.",gs),o.months=N("months accessor is deprecated. Use month instead",Zt),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/",Fi),o.isDSTShifted=N("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Hi);function sa(e){return M(e*1e3)}function ra(){return M.apply(null,arguments).parseZone()}function Ms(e){return e}var p=tt.prototype;p.calendar=As,p.longDateFormat=zs,p.invalidDate=Zs,p.ordinal=Js,p.preparse=Ms,p.postformat=Ms,p.relativeTime=Xs,p.pastFuture=Ks,p.set=Us,p.eras=bn,p.erasParse=Nn,p.erasConvertYear=Pn,p.erasAbbrRegex=En,p.erasNameRegex=Ln,p.erasNarrowRegex=In,p.months=yr,p.monthsShort=wr,p.monthsParse=gr,p.monthsRegex=Sr,p.monthsShortRegex=Mr,p.week=vr,p.firstDayOfYear=Tr,p.firstDayOfWeek=Or,p.weekdays=Er,p.weekdaysMin=Ur,p.weekdaysShort=Ir,p.weekdaysParse=Ar,p.weekdaysRegex=zr,p.weekdaysShortRegex=$r,p.weekdaysMinRegex=Zr,p.isPM=qr,p.meridiem=Xr;function $e(e,t,s,r){var i=$(),n=E().set(r,t);return i[s](n,e)}function Ss(e,t,s){if(A(e)&&(t=e,e=void 0),e=e||"",t!=null)return $e(e,t,s,"month");var r,i=[];for(r=0;r<12;r++)i[r]=$e(e,r,s,"month");return i}function Yt(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 i=$(),n=e?i._week.dow:0,a,l=[];if(s!=null)return $e(t,(s+n)%7,r,"day");for(a=0;a<7;a++)l[a]=$e(t,(a+n)%7,r,"day");return l}function ia(e,t){return Ss(e,t,"months")}function na(e,t){return Ss(e,t,"monthsShort")}function aa(e,t,s){return Yt(e,t,s,"weekdays")}function oa(e,t,s){return Yt(e,t,s,"weekdaysShort")}function la(e,t,s){return Yt(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=m(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+s}}),u.lang=N("moment.lang is deprecated. Use moment.locale instead.",K),u.langData=N("moment.langData is deprecated. Use moment.localeData instead.",$);var Z=Math.abs;function ua(){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 Ds(e,t,s,r){var i=L(t,s);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function da(e,t){return Ds(this,e,t,1)}function ha(e,t){return Ds(this,e,t,-1)}function vs(e){return e<0?Math.floor(e):Math.ceil(e)}function fa(){var e=this._milliseconds,t=this._days,s=this._months,r=this._data,i,n,a,l,f;return e>=0&&t>=0&&s>=0||e<=0&&t<=0&&s<=0||(e+=vs(Ot(s)+t)*864e5,t=0,s=0),r.milliseconds=e%1e3,i=W(e/1e3),r.seconds=i%60,n=W(i/60),r.minutes=n%60,a=W(n/60),r.hours=a%24,t+=W(a/24),f=W(Ys(t)),s+=f,t-=vs(Ot(f)),l=W(s/12),s%=12,r.days=t,r.months=s,r.years=l,this}function Ys(e){return e*4800/146097}function Ot(e){return e*146097/4800}function ca(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+Ys(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 Os=B("ms"),ma=B("s"),_a=B("m"),ya=B("h"),wa=B("d"),pa=B("w"),ga=B("M"),ka=B("Q"),Ma=B("y"),Sa=Os;function Da(){return L(this)}function va(e){return e=P(e),this.isValid()?this[e+"s"]():NaN}function ne(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ya=ne("milliseconds"),Oa=ne("seconds"),Ta=ne("minutes"),xa=ne("hours"),ba=ne("days"),Na=ne("months"),Pa=ne("years");function Wa(){return W(this.days()/7)}var q=Math.round,ce={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Ra(e,t,s,r,i){return i.relativeTime(t||1,!!s,e,r)}function Fa(e,t,s,r){var i=L(e).abs(),n=q(i.as("s")),a=q(i.as("m")),l=q(i.as("h")),f=q(i.as("d")),_=q(i.as("M")),O=q(i.as("w")),J=q(i.as("y")),te=n<=s.ss&&["s",n]||n<s.s&&["ss",n]||a<=1&&["m"]||a<s.m&&["mm",a]||l<=1&&["h"]||l<s.h&&["hh",l]||f<=1&&["d"]||f<s.d&&["dd",f];return s.w!=null&&(te=te||O<=1&&["w"]||O<s.w&&["ww",O]),te=te||_<=1&&["M"]||_<s.M&&["MM",_]||J<=1&&["y"]||["yy",J],te[2]=t,te[3]=+e>0,te[4]=r,Ra.apply(null,te)}function Ca(e){return e===void 0?q:typeof e=="function"?(q=e,!0):!1}function La(e,t){return ce[e]===void 0?!1:t===void 0?ce[e]:(ce[e]=t,e==="s"&&(ce.ss=t-1),!0)}function Ea(e,t){if(!this.isValid())return this.localeData().invalidDate();var s=!1,r=ce,i,n;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(s=e),typeof t=="object"&&(r=Object.assign({},ce,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),i=this.localeData(),n=Fa(this,!s,r,i),s&&(n=i.pastFuture(+this,n)),i.postformat(n)}var Tt=Math.abs;function me(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,i,n,a,l=this.asSeconds(),f,_,O,J;return l?(r=W(e/60),i=W(r/60),e%=60,r%=60,n=W(s/12),s%=12,a=e?e.toFixed(3).replace(/\.?0+$/,""):"",f=l<0?"-":"",_=me(this._months)!==me(l)?"-":"",O=me(this._days)!==me(l)?"-":"",J=me(this._milliseconds)!==me(l)?"-":"",f+"P"+(n?_+n+"Y":"")+(s?_+s+"M":"")+(t?O+t+"D":"")+(i||r||e?"T":"")+(i?J+i+"H":"")+(r?J+r+"M":"")+(e?J+a+"S":"")):"P0D"}var y=He.prototype;y.isValid=bi,y.abs=ua,y.add=da,y.subtract=ha,y.as=ca,y.asMilliseconds=Os,y.asSeconds=ma,y.asMinutes=_a,y.asHours=ya,y.asDays=wa,y.asWeeks=pa,y.asMonths=ga,y.asQuarters=ka,y.asYears=Ma,y.valueOf=Sa,y._bubble=fa,y.clone=Da,y.get=va,y.milliseconds=Ya,y.seconds=Oa,y.minutes=Ta,y.hours=xa,y.days=ba,y.weeks=Wa,y.months=Na,y.years=Pa,y.humanize=Ea,y.toISOString=Ze,y.toString=Ze,y.toJSON=Ze,y.locale=fs,y.localeData=ms,y.toIsoString=N("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ze),y.lang=cs,h("X",0,0,"unix"),h("x",0,0,"valueOf"),d("x",Re),d("X",rr),g("X",function(e,t,s){s._d=new Date(parseFloat(e)*1e3)}),g("x",function(e,t,s){s._d=new Date(m(e))});//! moment.js
|
|
10
|
+
u.version="2.30.1",Es(M),u.fn=o,u.min=Yi,u.max=Oi,u.now=Ti,u.utc=E,u.unix=sa,u.months=ia,u.isDate=ye,u.locale=K,u.invalid=Te,u.duration=L,u.isMoment=F,u.weekdays=aa,u.parseZone=ra,u.localeData=$,u.isDuration=Ae,u.monthsShort=na,u.weekdaysMin=la,u.defineLocale=mt,u.updateLocale=si,u.locales=ri,u.weekdaysShort=oa,u.normalizeUnits=P,u.relativeTimeRounding=Ca,u.relativeTimeThreshold=La,u.calendarFormat=Xi,u.prototype=o,u.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 Ts=e=>typeof e=="number",Ia=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,Ua=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,xs=/(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,xt=[/^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],Ha={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:xs,monthsShortRegex:xs,monthsStrictRegex:Ia,monthsShortStrictRegex:Ua,monthsParse:xt,longMonthsParse:xt,shortMonthsParse:xt,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}};u.locale("fr",Ha);const Aa=e=>({x:Ts(e)?e:e.x||0,y:Ts(e)?e:e.y||0}),ja={x:0,y:0,width:0,height:0,color:"white",padding:0,origin:_e.TOP_LEFT,composite:"source-over"},Ga=e=>({context:e.context,options:{...ja},setPosition(t,s){return this.options.x=t,this.options.y=s,this},setDimensions(t,s){return this.options.width=t,this.options.height=s,this},setColor(t){return this.options.color=t,this},setPadding(t){return this.options.padding=t,this},setOrigin(t){return this.options.origin=t,this},setComposite(t){return this.options.composite=t,this},draw(){this.context.save(),this.context.globalCompositeOperation=this.options.composite;const{x:t,y:s}=Be[this.options.origin](this.options.x,this.options.y,this.options.width,this.options.height),r=Aa(this.options.padding);return this.context.fillStyle=Ls(this.options.color,e,t-r.x,s-r.y,t+this.options.width+r.x*2,s+this.options.height+r.y*2),this.context.fillRect(t-r.x,s-r.y,this.options.width+r.x*2,this.options.height+r.y*2),this.context.restore(),{width:this.options.width+r.x*2,next:i=>i(e,{...this.options,enable:!0})}}}),Va=(e,t)=>({options:{text:t.toString(),x:0,y:0,width:0,color:"white",backgroundColor:"transparent",font:null,fontSize:20,padding:0,origin:_e.TOP_LEFT},context:e.context,setText(r){return this.options.text=r,this},setPosition(r,i){return this.options.x=r,this.options.y=i,this},addPosition(r,i){return this.options.x+=r,this.options.y+=i,this},setFont(r,i){return this.options.font=r,this.options.fontSize=i,this},setColor(r){return this.options.color=r,this},setBackgroundColor(r){return this.options.backgroundColor=r,this},setPadding(r){return this.options.padding=r,this},setOrigin(r){return this.options.origin=r,this},setStroke(r){return this.options.stroke=r,this},draw(r=!0){if(!this.options.font)throw new Error("No font chose");this.context.save(),this.context.font=`${this.options.fontSize}px ${this.options.font}`,this.context.textBaseline="top";const{width:i}=this.context.measureText(this.options.text.toString());this.options.width=i;const{x:n,y:a}=Be[this.options.origin](this.options.x,this.options.y,i,this.options.fontSize);return this.options.backgroundColor!=="transparent"&&r&&e.Rectangle().setPadding(this.options.padding).setPosition(this.options.x,this.options.y).setDimensions(i,this.options.fontSize).setColor(this.options.backgroundColor).setOrigin(this.options.origin).draw(),this.context.fillStyle=this.options.color,r&&this.context.fillText(this.options.text.toString(),n,a),this.options.stroke&&r&&(this.context.strokeStyle=this.options.stroke.color,this.context.lineWidth=this.options.stroke.width,this.context.strokeText(this.options.text.toString(),n,a)),this.context.restore(),{width:i,next:l=>l(e,{...this.options,enable:r})}}}),za=(e,t)=>{const s=Q.createCanvas(e,t);return{context:s.getContext("2d"),width:e,height:t,Text(r){return Va(this,r)},Rectangle(){return Ga(this)},Image(){return Fs(this)},blur(){this.context.filter="blur(4px)"},encode(r){return s.encode(r)}}};b.CanvasOrigin=_e,b.GOLDEN_GRADIENT=Ws,b.createCanvas=za,b.loadImage=bs,b.nextAllToXAxis=Ps,b.registerFont=Rs,Object.defineProperty(b,Symbol.toStringTag,{value:"Module"})});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opfr/canvas",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "OPFR canvas",
|
|
6
6
|
"author": "Matthieu VEIGA",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@napi-rs/canvas": "0.x",
|
|
13
|
-
"@opfr/utils-lang": "^0.
|
|
13
|
+
"@opfr/utils-lang": "^0.16.1"
|
|
14
14
|
},
|
|
15
15
|
"main": "dist/index.umd.js",
|
|
16
16
|
"module": "dist/index.es.js",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"node_modules",
|
|
30
30
|
"dist"
|
|
31
31
|
],
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "cf13bd541391f7a5bc56418a58405672ceb00f57"
|
|
33
33
|
}
|