import{Q as ur,a as dr,d as hr,s as yt,j as Te,m as gt,ao as fr,e as wt,g as we,al as cr,A as Ne,ad as mr,D as Jt,an as Kt,ac as pt,ah as _r,ar as yr,bg as Xt}from"./index-3a2b6cd5.js";import{Q as gr}from"./QSpinnerCube-b3e27bc1.js";//! moment.js //! version : 2.29.4 //! authors : Tim Wood, Iskren Chernev, Moment.js contributors //! license : MIT //! momentjs.com var as;function u(){return as.apply(null,arguments)}function wr(e){as=e}function $(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function me(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Nt(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(p(e,t))return!1;return!0}function L(e){return e===void 0}function ae(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function Ie(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function is(e,t){var s=[],r,n=e.length;for(r=0;r>>0,r;for(r=0;r0)for(s=0;s=0;return(a?s?"+":"":"-")+Math.pow(10,Math.max(0,n)).toString().substr(1)+r}var Ct=/(\[[^\[]*\])|(\\)?([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,Ae=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,St={},Me={};function f(e,t,s,r){var n=r;typeof r=="string"&&(n=function(){return this[r]()}),e&&(Me[e]=n),t&&(Me[t[0]]=function(){return J(n.apply(this,arguments),t[1],t[2])}),s&&(Me[s]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function Dr(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function vr(e){var t=e.match(Ct),s,r;for(s=0,r=t.length;s=0&&Ae.test(e);)e=e.replace(Ae,r),Ae.lastIndex=0,s-=1;return e}var Yr={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Or(e){var t=this._longDateFormat[e],s=this._longDateFormat[e.toUpperCase()];return t||!s?t:(this._longDateFormat[e]=s.match(Ct).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var br="Invalid date";function Tr(){return this._invalidDate}var xr="%d",Pr=/\d{1,2}/;function Nr(e){return this._ordinal.replace("%d",e)}var Rr={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 Wr(e,t,s,r){var n=this._relativeTime[s];return X(n)?n(e,t,s,r):n.replace(/%d/i,e)}function Fr(e,t){var s=this._relativeTime[e>0?"future":"past"];return X(s)?s(t):s.replace(/%s/i,t)}var Re={};function W(e,t){var s=e.toLowerCase();Re[s]=Re[s+"s"]=Re[t]=e}function A(e){return typeof e=="string"?Re[e]||Re[e.toLowerCase()]:void 0}function Lt(e){var t={},s,r;for(r in e)p(e,r)&&(s=A(r),s&&(t[s]=e[r]));return t}var ds={};function F(e,t){ds[e]=t}function Cr(e){var t=[],s;for(s in e)p(e,s)&&t.push({unit:s,priority:ds[s]});return t.sort(function(r,n){return r.priority-n.priority}),t}function et(e){return e%4===0&&e%100!==0||e%400===0}function E(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function g(e){var t=+e,s=0;return t!==0&&isFinite(t)&&(s=E(t)),s}function Ye(e,t){return function(s){return s!=null?(hs(this,e,s),u.updateOffset(this,t),this):ze(this,e)}}function ze(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function hs(e,t,s){e.isValid()&&!isNaN(s)&&(t==="FullYear"&&et(e.year())&&e.month()===1&&e.date()===29?(s=g(s),e._d["set"+(e._isUTC?"UTC":"")+t](s,e.month(),it(s,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](s))}function Lr(e){return e=A(e),X(this[e])?this[e]():this}function Ir(e,t){if(typeof e=="object"){e=Lt(e);var s=Cr(e),r,n=s.length;for(r=0;r68?1900:2e3)};var Ss=Ye("FullYear",!0);function sn(){return et(this.year())}function rn(e,t,s,r,n,a,i){var h;return e<100&&e>=0?(h=new Date(e+400,t,s,r,n,a,i),isFinite(h.getFullYear())&&h.setFullYear(e)):h=new Date(e,t,s,r,n,a,i),h}function Fe(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 Be(e,t,s){var r=7+t-s,n=(7+Fe(e,0,r).getUTCDay()-t)%7;return-n+r-1}function Ms(e,t,s,r,n){var a=(7+s-r)%7,i=Be(e,r,n),h=1+7*(t-1)+a+i,_,S;return h<=0?(_=e-1,S=We(_)+h):h>We(e)?(_=e+1,S=h-We(e)):(_=e,S=h),{year:_,dayOfYear:S}}function Ce(e,t,s){var r=Be(e.year(),t,s),n=Math.floor((e.dayOfYear()-r-1)/7)+1,a,i;return n<1?(i=e.year()-1,a=n+ne(i,t,s)):n>ne(e.year(),t,s)?(a=n-ne(e.year(),t,s),i=e.year()+1):(i=e.year(),a=n),{week:a,year:i}}function ne(e,t,s){var r=Be(e,t,s),n=Be(e+1,t,s);return(We(e)-r+n)/7}f("w",["ww",2],"wo","week");f("W",["WW",2],"Wo","isoWeek");W("week","w");W("isoWeek","W");F("week",5);F("isoWeek",5);d("w",Y);d("ww",Y,U);d("W",Y);d("WW",Y,U);He(["w","ww","W","WW"],function(e,t,s,r){t[r.substr(0,1)]=g(e)});function nn(e){return Ce(e,this._week.dow,this._week.doy).week}var an={dow:0,doy:6};function on(){return this._week.dow}function ln(){return this._week.doy}function un(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function dn(e){var t=Ce(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}f("d",0,"do","day");f("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});f("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});f("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});f("e",0,0,"weekday");f("E",0,0,"isoWeekday");W("day","d");W("weekday","e");W("isoWeekday","E");F("day",11);F("weekday",11);F("isoWeekday",11);d("d",Y);d("e",Y);d("E",Y);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)});He(["dd","ddd","dddd"],function(e,t,s,r){var n=s._locale.weekdaysParse(e,r,s._strict);n!=null?t.d=n:y(s).invalidWeekday=e});He(["d","e","E"],function(e,t,s,r){t[r]=g(e)});function hn(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function fn(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Et(e,t){return e.slice(t,7).concat(e.slice(0,t))}var cn="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ds="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),mn="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),_n=Ee,yn=Ee,gn=Ee;function wn(e,t){var s=$(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Et(s,this._week.dow):e?s[e.day()]:s}function pn(e){return e===!0?Et(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function kn(e){return e===!0?Et(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Sn(e,t,s){var r,n,a,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=K([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return s?t==="dddd"?(n=T.call(this._weekdaysParse,i),n!==-1?n:null):t==="ddd"?(n=T.call(this._shortWeekdaysParse,i),n!==-1?n:null):(n=T.call(this._minWeekdaysParse,i),n!==-1?n:null):t==="dddd"?(n=T.call(this._weekdaysParse,i),n!==-1||(n=T.call(this._shortWeekdaysParse,i),n!==-1)?n:(n=T.call(this._minWeekdaysParse,i),n!==-1?n:null)):t==="ddd"?(n=T.call(this._shortWeekdaysParse,i),n!==-1||(n=T.call(this._weekdaysParse,i),n!==-1)?n:(n=T.call(this._minWeekdaysParse,i),n!==-1?n:null)):(n=T.call(this._minWeekdaysParse,i),n!==-1||(n=T.call(this._weekdaysParse,i),n!==-1)?n:(n=T.call(this._shortWeekdaysParse,i),n!==-1?n:null))}function Mn(e,t,s){var r,n,a;if(this._weekdaysParseExact)return Sn.call(this,e,t,s);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(n=K([2e3,1]).day(r),s&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),s&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(s&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(s&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!s&&this._weekdaysParse[r].test(e))return r}}function Dn(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=hn(e,this.localeData()),this.add(e-t,"d")):t}function vn(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function Yn(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=fn(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function On(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Ht.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=_n),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function bn(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Ht.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=yn),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Tn(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Ht.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=gn),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ht(){function e(N,V){return V.length-N.length}var t=[],s=[],r=[],n=[],a,i,h,_,S;for(a=0;a<7;a++)i=K([2e3,1]).day(a),h=I(this.weekdaysMin(i,"")),_=I(this.weekdaysShort(i,"")),S=I(this.weekdays(i,"")),t.push(h),s.push(_),r.push(S),n.push(h),n.push(_),n.push(S);t.sort(e),s.sort(e),r.sort(e),n.sort(e),this._weekdaysRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function At(){return this.hours()%12||12}function xn(){return this.hours()||24}f("H",["HH",2],0,"hour");f("h",["hh",2],0,At);f("k",["kk",2],0,xn);f("hmm",0,0,function(){return""+At.apply(this)+J(this.minutes(),2)});f("hmmss",0,0,function(){return""+At.apply(this)+J(this.minutes(),2)+J(this.seconds(),2)});f("Hmm",0,0,function(){return""+this.hours()+J(this.minutes(),2)});f("Hmmss",0,0,function(){return""+this.hours()+J(this.minutes(),2)+J(this.seconds(),2)});function vs(e,t){f(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}vs("a",!0);vs("A",!1);W("hour","h");F("hour",13);function Ys(e,t){return t._meridiemParse}d("a",Ys);d("A",Ys);d("H",Y);d("h",Y);d("k",Y);d("HH",Y,U);d("hh",Y,U);d("kk",Y,U);d("hmm",ms);d("hmmss",_s);d("Hmm",ms);d("Hmmss",_s);D(["H","HH"],x);D(["k","kk"],function(e,t,s){var r=g(e);t[x]=r===24?0:r});D(["a","A"],function(e,t,s){s._isPm=s._locale.isPM(e),s._meridiem=e});D(["h","hh"],function(e,t,s){t[x]=g(e),y(s).bigHour=!0});D("hmm",function(e,t,s){var r=e.length-2;t[x]=g(e.substr(0,r)),t[j]=g(e.substr(r)),y(s).bigHour=!0});D("hmmss",function(e,t,s){var r=e.length-4,n=e.length-2;t[x]=g(e.substr(0,r)),t[j]=g(e.substr(r,2)),t[re]=g(e.substr(n)),y(s).bigHour=!0});D("Hmm",function(e,t,s){var r=e.length-2;t[x]=g(e.substr(0,r)),t[j]=g(e.substr(r))});D("Hmmss",function(e,t,s){var r=e.length-4,n=e.length-2;t[x]=g(e.substr(0,r)),t[j]=g(e.substr(r,2)),t[re]=g(e.substr(n))});function Pn(e){return(e+"").toLowerCase().charAt(0)==="p"}var Nn=/[ap]\.?m?\.?/i,Rn=Ye("Hours",!0);function Wn(e,t,s){return e>11?s?"pm":"PM":s?"am":"AM"}var Os={calendar:Sr,longDateFormat:Yr,invalidDate:br,ordinal:xr,dayOfMonthOrdinalParse:Pr,relativeTime:Rr,months:zr,monthsShort:ys,week:an,weekdays:cn,weekdaysMin:mn,weekdaysShort:Ds,meridiemParse:Nn},b={},xe={},Le;function Fn(e,t){var s,r=Math.min(e.length,t.length);for(s=0;s0;){if(n=ot(a.slice(0,s).join("-")),n)return n;if(r&&r.length>=s&&Fn(a,r)>=s-1)break;s--}t++}return Le}function Ln(e){return e.match("^[^/\\\\]*$")!=null}function ot(e){var t=null,s;if(b[e]===void 0&&typeof module<"u"&&module&&module.exports&&Ln(e))try{t=Le._abbr,s=require,s("./locale/"+e),de(t)}catch{b[e]=null}return b[e]}function de(e,t){var s;return e&&(L(t)?s=ie(e):s=Vt(e,t),s?Le=s:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Le._abbr}function Vt(e,t){if(t!==null){var s,r=Os;if(t.abbr=e,b[e]!=null)ls("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=b[e]._config;else if(t.parentLocale!=null)if(b[t.parentLocale]!=null)r=b[t.parentLocale]._config;else if(s=ot(t.parentLocale),s!=null)r=s._config;else return xe[t.parentLocale]||(xe[t.parentLocale]=[]),xe[t.parentLocale].push({name:e,config:t}),null;return b[e]=new Ft(Yt(r,t)),xe[e]&&xe[e].forEach(function(n){Vt(n.name,n.config)}),de(e),b[e]}else return delete b[e],null}function In(e,t){if(t!=null){var s,r,n=Os;b[e]!=null&&b[e].parentLocale!=null?b[e].set(Yt(b[e]._config,t)):(r=ot(e),r!=null&&(n=r._config),t=Yt(n,t),r==null&&(t.abbr=e),s=new Ft(t),s.parentLocale=b[e],b[e]=s),de(e)}else b[e]!=null&&(b[e].parentLocale!=null?(b[e]=b[e].parentLocale,e===de()&&de(e)):b[e]!=null&&delete b[e]);return b[e]}function ie(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Le;if(!$(e)){if(t=ot(e),t)return t;e=[e]}return Cn(e)}function Un(){return Ot(b)}function Gt(e){var t,s=e._a;return s&&y(e).overflow===-2&&(t=s[se]<0||s[se]>11?se:s[q]<1||s[q]>it(s[R],s[se])?q:s[x]<0||s[x]>24||s[x]===24&&(s[j]!==0||s[re]!==0||s[ce]!==0)?x:s[j]<0||s[j]>59?j:s[re]<0||s[re]>59?re:s[ce]<0||s[ce]>999?ce:-1,y(e)._overflowDayOfYear&&(tq)&&(t=q),y(e)._overflowWeeks&&t===-1&&(t=Gr),y(e)._overflowWeekday&&t===-1&&(t=jr),y(e).overflow=t),e}var En=/^\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)?)?$/,Hn=/^\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)?)?$/,An=/Z|[+-]\d\d(?::?\d\d)?/,Ve=[["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]],Mt=[["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/]],Vn=/^\/?Date\((-?\d+)/i,Gn=/^(?:(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}))$/,jn={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 bs(e){var t,s,r=e._i,n=En.exec(r)||Hn.exec(r),a,i,h,_,S=Ve.length,N=Mt.length;if(n){for(y(e).iso=!0,t=0,s=S;tWe(i)||e._dayOfYear===0)&&(y(e)._overflowDayOfYear=!0),s=Fe(i,0,e._dayOfYear),e._a[se]=s.getUTCMonth(),e._a[q]=s.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=n[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[x]===24&&e._a[j]===0&&e._a[re]===0&&e._a[ce]===0&&(e._nextDay=!0,e._a[x]=0),e._d=(e._useUTC?Fe:rn).apply(null,r),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[x]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==a&&(y(e).weekdayMismatch=!0)}}function Kn(e){var t,s,r,n,a,i,h,_,S;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(a=1,i=4,s=ke(t.GG,e._a[R],Ce(v(),1,4).year),r=ke(t.W,1),n=ke(t.E,1),(n<1||n>7)&&(_=!0)):(a=e._locale._week.dow,i=e._locale._week.doy,S=Ce(v(),a,i),s=ke(t.gg,e._a[R],S.year),r=ke(t.w,S.week),t.d!=null?(n=t.d,(n<0||n>6)&&(_=!0)):t.e!=null?(n=t.e+a,(t.e<0||t.e>6)&&(_=!0)):n=a),r<1||r>ne(s,a,i)?y(e)._overflowWeeks=!0:_!=null?y(e)._overflowWeekday=!0:(h=Ms(s,r,n,a,i),e._a[R]=h.year,e._dayOfYear=h.dayOfYear)}u.ISO_8601=function(){};u.RFC_2822=function(){};function $t(e){if(e._f===u.ISO_8601){bs(e);return}if(e._f===u.RFC_2822){Ts(e);return}e._a=[],y(e).empty=!0;var t=""+e._i,s,r,n,a,i,h=t.length,_=0,S,N;for(n=us(e._f,e._locale).match(Ct)||[],N=n.length,s=0;s0&&y(e).unusedInput.push(i),t=t.slice(t.indexOf(r)+r.length),_+=r.length),Me[a]?(r?y(e).empty=!1:y(e).unusedTokens.push(a),Vr(a,r,e)):e._strict&&!r&&y(e).unusedTokens.push(a);y(e).charsLeftOver=h-_,t.length>0&&y(e).unusedInput.push(t),e._a[x]<=12&&y(e).bigHour===!0&&e._a[x]>0&&(y(e).bigHour=void 0),y(e).parsedDateParts=e._a.slice(0),y(e).meridiem=e._meridiem,e._a[x]=Xn(e._locale,e._a[x],e._meridiem),S=y(e).era,S!==null&&(e._a[R]=e._locale.erasConvertYear(S,e._a[R])),jt(e),Gt(e)}function Xn(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 ea(e){var t,s,r,n,a,i,h=!1,_=e._f.length;if(_===0){y(e).invalidFormat=!0,e._d=new Date(NaN);return}for(n=0;n<_;n++)a=0,i=!1,t=Wt({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[n],$t(t),Rt(t)&&(i=!0),a+=y(t).charsLeftOver,a+=y(t).unusedTokens.length*10,y(t).score=a,h?athis?this:e:Xe()});function Ns(e,t){var s,r;if(t.length===1&&$(t[0])&&(t=t[0]),!t.length)return v();for(s=t[0],r=1;rthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Sa(){if(!L(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Wt(e,this),e=xs(e),e._a?(t=e._isUTC?K(e._a):v(e._a),this._isDSTShifted=this.isValid()&&fa(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Ma(){return this.isValid()?!this._isUTC:!1}function Da(){return this.isValid()?this._isUTC:!1}function Ws(){return this.isValid()?this._isUTC&&this._offset===0:!1}var va=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ya=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Z(e,t){var s=e,r=null,n,a,i;return je(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:ae(e)||!isNaN(+e)?(s={},t?s[t]=+e:s.milliseconds=+e):(r=va.exec(e))?(n=r[1]==="-"?-1:1,s={y:0,d:g(r[q])*n,h:g(r[x])*n,m:g(r[j])*n,s:g(r[re])*n,ms:g(Tt(r[ce]*1e3))*n}):(r=Ya.exec(e))?(n=r[1]==="-"?-1:1,s={y:fe(r[2],n),M:fe(r[3],n),w:fe(r[4],n),d:fe(r[5],n),h:fe(r[6],n),m:fe(r[7],n),s:fe(r[8],n)}):s==null?s={}:typeof s=="object"&&("from"in s||"to"in s)&&(i=Oa(v(s.from),v(s.to)),s={},s.ms=i.milliseconds,s.M=i.months),a=new lt(s),je(e)&&p(e,"_locale")&&(a._locale=e._locale),je(e)&&p(e,"_isValid")&&(a._isValid=e._isValid),a}Z.fn=lt.prototype;Z.invalid=ha;function fe(e,t){var s=e&&parseFloat(e.replace(",","."));return(isNaN(s)?0:s)*t}function rs(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 Oa(e,t){var s;return e.isValid()&&t.isValid()?(t=Zt(t,e),e.isBefore(t)?s=rs(e,t):(s=rs(t,e),s.milliseconds=-s.milliseconds,s.months=-s.months),s):{milliseconds:0,months:0}}function Fs(e,t){return function(s,r){var n,a;return r!==null&&!isNaN(+r)&&(ls(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=s,s=r,r=a),n=Z(s,r),Cs(this,n,e),this}}function Cs(e,t,s,r){var n=t._milliseconds,a=Tt(t._days),i=Tt(t._months);e.isValid()&&(r=r??!0,i&&ws(e,ze(e,"Month")+i*s),a&&hs(e,"Date",ze(e,"Date")+a*s),n&&e._d.setTime(e._d.valueOf()+n*s),r&&u.updateOffset(e,a||i))}var ba=Fs(1,"add"),Ta=Fs(-1,"subtract");function Ls(e){return typeof e=="string"||e instanceof String}function xa(e){return z(e)||Ie(e)||Ls(e)||ae(e)||Na(e)||Pa(e)||e===null||e===void 0}function Pa(e){var t=me(e)&&!Nt(e),s=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],n,a,i=r.length;for(n=0;ns.valueOf():s.valueOf()9999?Ge(s,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):X(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Ge(s,"Z")):Ge(s,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function $a(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",s,r,n,a;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),s="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",a=t+'[")]',this.format(s+r+n+a)}function za(e){e||(e=this.isUtc()?u.defaultFormatUtc:u.defaultFormat);var t=Ge(this,e);return this.localeData().postformat(t)}function Za(e,t){return this.isValid()&&(z(e)&&e.isValid()||v(e).isValid())?Z({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Ba(e){return this.from(v(),e)}function Qa(e,t){return this.isValid()&&(z(e)&&e.isValid()||v(e).isValid())?Z({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function qa(e){return this.to(v(),e)}function Is(e){var t;return e===void 0?this._locale._abbr:(t=ie(e),t!=null&&(this._locale=t),this)}var Us=H("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 Es(){return this._locale}var Qe=1e3,De=60*Qe,qe=60*De,Hs=(365*400+97)*24*qe;function ve(e,t){return(e%t+t)%t}function As(e,t,s){return e<100&&e>=0?new Date(e+400,t,s)-Hs:new Date(e,t,s).valueOf()}function Vs(e,t,s){return e<100&&e>=0?Date.UTC(e+400,t,s)-Hs:Date.UTC(e,t,s)}function Ja(e){var t,s;if(e=A(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(s=this._isUTC?Vs:As,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-=ve(t+(this._isUTC?0:this.utcOffset()*De),qe);break;case"minute":t=this._d.valueOf(),t-=ve(t,De);break;case"second":t=this._d.valueOf(),t-=ve(t,Qe);break}return this._d.setTime(t),u.updateOffset(this,!0),this}function Ka(e){var t,s;if(e=A(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(s=this._isUTC?Vs:As,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+=qe-ve(t+(this._isUTC?0:this.utcOffset()*De),qe)-1;break;case"minute":t=this._d.valueOf(),t+=De-ve(t,De)-1;break;case"second":t=this._d.valueOf(),t+=Qe-ve(t,Qe)-1;break}return this._d.setTime(t),u.updateOffset(this,!0),this}function Xa(){return this._d.valueOf()-(this._offset||0)*6e4}function ei(){return Math.floor(this.valueOf()/1e3)}function ti(){return new Date(this.valueOf())}function si(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function ri(){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 ni(){return this.isValid()?this.toISOString():null}function ai(){return Rt(this)}function ii(){return le({},y(this))}function oi(){return y(this).overflow}function li(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}f("N",0,0,"eraAbbr");f("NN",0,0,"eraAbbr");f("NNN",0,0,"eraAbbr");f("NNNN",0,0,"eraName");f("NNNNN",0,0,"eraNarrow");f("y",["y",1],"yo","eraYear");f("y",["yy",2],0,"eraYear");f("y",["yyy",3],0,"eraYear");f("y",["yyyy",4],0,"eraYear");d("N",Bt);d("NN",Bt);d("NNN",Bt);d("NNNN",pi);d("NNNNN",ki);D(["N","NN","NNN","NNNN","NNNNN"],function(e,t,s,r){var n=s._locale.erasParse(e,r,s._strict);n?y(s).era=n:y(s).invalidEra=e});d("y",Oe);d("yy",Oe);d("yyy",Oe);d("yyyy",Oe);d("yo",Si);D(["y","yy","yyy","yyyy"],R);D(["yo"],function(e,t,s,r){var n;s._locale._eraYearOrdinalRegex&&(n=e.match(s._locale._eraYearOrdinalRegex)),s._locale.eraYearOrdinalParse?t[R]=s._locale.eraYearOrdinalParse(e,n):t[R]=parseInt(e,10)});function ui(e,t){var s,r,n,a=this._eras||ie("en")._eras;for(s=0,r=a.length;s=0)return a[r]}function hi(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 fi(){var e,t,s,r=this.localeData().eras();for(e=0,t=r.length;ea&&(t=a),Ti.call(this,e,t,s,r,n))}function Ti(e,t,s,r,n){var a=Ms(e,t,s,r,n),i=Fe(a.year,0,a.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}f("Q",0,"Qo","quarter");W("quarter","Q");F("quarter",7);d("Q",fs);D("Q",function(e,t){t[se]=(g(e)-1)*3});function xi(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}f("D",["DD",2],"Do","date");W("date","D");F("date",9);d("D",Y);d("DD",Y,U);d("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});D(["D","DD"],q);D("Do",function(e,t){t[q]=g(e.match(Y)[0])});var js=Ye("Date",!0);f("DDD",["DDDD",3],"DDDo","dayOfYear");W("dayOfYear","DDD");F("dayOfYear",4);d("DDD",st);d("DDDD",cs);D(["DDD","DDDD"],function(e,t,s){s._dayOfYear=g(e)});function Pi(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}f("m",["mm",2],0,"minute");W("minute","m");F("minute",14);d("m",Y);d("mm",Y,U);D(["m","mm"],j);var Ni=Ye("Minutes",!1);f("s",["ss",2],0,"second");W("second","s");F("second",15);d("s",Y);d("ss",Y,U);D(["s","ss"],re);var Ri=Ye("Seconds",!1);f("S",0,0,function(){return~~(this.millisecond()/100)});f(0,["SS",2],0,function(){return~~(this.millisecond()/10)});f(0,["SSS",3],0,"millisecond");f(0,["SSSS",4],0,function(){return this.millisecond()*10});f(0,["SSSSS",5],0,function(){return this.millisecond()*100});f(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});f(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});f(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});f(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});W("millisecond","ms");F("millisecond",16);d("S",st,fs);d("SS",st,U);d("SSS",st,cs);var ue,$s;for(ue="SSSS";ue.length<=9;ue+="S")d(ue,Oe);function Wi(e,t){t[ce]=g(("0."+e)*1e3)}for(ue="S";ue.length<=9;ue+="S")D(ue,Wi);$s=Ye("Milliseconds",!1);f("z",0,0,"zoneAbbr");f("zz",0,0,"zoneName");function Fi(){return this._isUTC?"UTC":""}function Ci(){return this._isUTC?"Coordinated Universal Time":""}var o=Ue.prototype;o.add=ba;o.calendar=Fa;o.clone=Ca;o.diff=Va;o.endOf=Ka;o.format=za;o.from=Za;o.fromNow=Ba;o.to=Qa;o.toNow=qa;o.get=Lr;o.invalidAt=oi;o.isAfter=La;o.isBefore=Ia;o.isBetween=Ua;o.isSame=Ea;o.isSameOrAfter=Ha;o.isSameOrBefore=Aa;o.isValid=ai;o.lang=Us;o.locale=Is;o.localeData=Es;o.max=aa;o.min=na;o.parsingFlags=ii;o.set=Ir;o.startOf=Ja;o.subtract=Ta;o.toArray=si;o.toObject=ri;o.toDate=ti;o.toISOString=ja;o.inspect=$a;typeof Symbol<"u"&&Symbol.for!=null&&(o[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});o.toJSON=ni;o.toString=Ga;o.unix=ei;o.valueOf=Xa;o.creationData=li;o.eraName=fi;o.eraNarrow=ci;o.eraAbbr=mi;o.eraYear=_i;o.year=Ss;o.isLeapYear=sn;o.weekYear=Mi;o.isoWeekYear=Di;o.quarter=o.quarters=xi;o.month=ps;o.daysInMonth=Xr;o.week=o.weeks=un;o.isoWeek=o.isoWeeks=dn;o.weeksInYear=Oi;o.weeksInWeekYear=bi;o.isoWeeksInYear=vi;o.isoWeeksInISOWeekYear=Yi;o.date=js;o.day=o.days=Dn;o.weekday=vn;o.isoWeekday=Yn;o.dayOfYear=Pi;o.hour=o.hours=Rn;o.minute=o.minutes=Ni;o.second=o.seconds=Ri;o.millisecond=o.milliseconds=$s;o.utcOffset=ma;o.utc=ya;o.local=ga;o.parseZone=wa;o.hasAlignedHourOffset=pa;o.isDST=ka;o.isLocal=Ma;o.isUtcOffset=Da;o.isUtc=Ws;o.isUTC=Ws;o.zoneAbbr=Fi;o.zoneName=Ci;o.dates=H("dates accessor is deprecated. Use date instead.",js);o.months=H("months accessor is deprecated. Use month instead",ps);o.years=H("years accessor is deprecated. Use year instead",Ss);o.zone=H("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",_a);o.isDSTShifted=H("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Sa);function Li(e){return v(e*1e3)}function Ii(){return v.apply(null,arguments).parseZone()}function zs(e){return e}var k=Ft.prototype;k.calendar=Mr;k.longDateFormat=Or;k.invalidDate=Tr;k.ordinal=Nr;k.preparse=zs;k.postformat=zs;k.relativeTime=Wr;k.pastFuture=Fr;k.set=kr;k.eras=ui;k.erasParse=di;k.erasConvertYear=hi;k.erasAbbrRegex=gi;k.erasNameRegex=yi;k.erasNarrowRegex=wi;k.months=Qr;k.monthsShort=qr;k.monthsParse=Kr;k.monthsRegex=tn;k.monthsShortRegex=en;k.week=nn;k.firstDayOfYear=ln;k.firstDayOfWeek=on;k.weekdays=wn;k.weekdaysMin=kn;k.weekdaysShort=pn;k.weekdaysParse=Mn;k.weekdaysRegex=On;k.weekdaysShortRegex=bn;k.weekdaysMinRegex=Tn;k.isPM=Pn;k.meridiem=Wn;function Je(e,t,s,r){var n=ie(),a=K().set(r,t);return n[s](a,e)}function Zs(e,t,s){if(ae(e)&&(t=e,e=void 0),e=e||"",t!=null)return Je(e,t,s,"month");var r,n=[];for(r=0;r<12;r++)n[r]=Je(e,r,s,"month");return n}function qt(e,t,s,r){typeof e=="boolean"?(ae(t)&&(s=t,t=void 0),t=t||""):(t=e,s=t,e=!1,ae(t)&&(s=t,t=void 0),t=t||"");var n=ie(),a=e?n._week.dow:0,i,h=[];if(s!=null)return Je(t,(s+a)%7,r,"day");for(i=0;i<7;i++)h[i]=Je(t,(i+a)%7,r,"day");return h}function Ui(e,t){return Zs(e,t,"months")}function Ei(e,t){return Zs(e,t,"monthsShort")}function Hi(e,t,s){return qt(e,t,s,"weekdays")}function Ai(e,t,s){return qt(e,t,s,"weekdaysShort")}function Vi(e,t,s){return qt(e,t,s,"weekdaysMin")}de("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=g(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+s}});u.lang=H("moment.lang is deprecated. Use moment.locale instead.",de);u.langData=H("moment.langData is deprecated. Use moment.localeData instead.",ie);var ee=Math.abs;function Gi(){var e=this._data;return this._milliseconds=ee(this._milliseconds),this._days=ee(this._days),this._months=ee(this._months),e.milliseconds=ee(e.milliseconds),e.seconds=ee(e.seconds),e.minutes=ee(e.minutes),e.hours=ee(e.hours),e.months=ee(e.months),e.years=ee(e.years),this}function Bs(e,t,s,r){var n=Z(t,s);return e._milliseconds+=r*n._milliseconds,e._days+=r*n._days,e._months+=r*n._months,e._bubble()}function ji(e,t){return Bs(this,e,t,1)}function $i(e,t){return Bs(this,e,t,-1)}function ns(e){return e<0?Math.floor(e):Math.ceil(e)}function zi(){var e=this._milliseconds,t=this._days,s=this._months,r=this._data,n,a,i,h,_;return e>=0&&t>=0&&s>=0||e<=0&&t<=0&&s<=0||(e+=ns(Pt(s)+t)*864e5,t=0,s=0),r.milliseconds=e%1e3,n=E(e/1e3),r.seconds=n%60,a=E(n/60),r.minutes=a%60,i=E(a/60),r.hours=i%24,t+=E(i/24),_=E(Qs(t)),s+=_,t-=ns(Pt(_)),h=E(s/12),s%=12,r.days=t,r.months=s,r.years=h,this}function Qs(e){return e*4800/146097}function Pt(e){return e*146097/4800}function Zi(e){if(!this.isValid())return NaN;var t,s,r=this._milliseconds;if(e=A(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,s=this._months+Qs(t),e){case"month":return s;case"quarter":return s/3;case"year":return s/12}else switch(t=this._days+Math.round(Pt(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 Bi(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+g(this._months/12)*31536e6:NaN}function oe(e){return function(){return this.as(e)}}var Qi=oe("ms"),qi=oe("s"),Ji=oe("m"),Ki=oe("h"),Xi=oe("d"),eo=oe("w"),to=oe("M"),so=oe("Q"),ro=oe("y");function no(){return Z(this)}function ao(e){return e=A(e),this.isValid()?this[e+"s"]():NaN}function _e(e){return function(){return this.isValid()?this._data[e]:NaN}}var io=_e("milliseconds"),oo=_e("seconds"),lo=_e("minutes"),uo=_e("hours"),ho=_e("days"),fo=_e("months"),co=_e("years");function mo(){return E(this.days()/7)}var te=Math.round,Se={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function _o(e,t,s,r,n){return n.relativeTime(t||1,!!s,e,r)}function yo(e,t,s,r){var n=Z(e).abs(),a=te(n.as("s")),i=te(n.as("m")),h=te(n.as("h")),_=te(n.as("d")),S=te(n.as("M")),N=te(n.as("w")),V=te(n.as("y")),B=a<=s.ss&&["s",a]||a0,B[4]=r,_o.apply(null,B)}function go(e){return e===void 0?te:typeof e=="function"?(te=e,!0):!1}function wo(e,t){return Se[e]===void 0?!1:t===void 0?Se[e]:(Se[e]=t,e==="s"&&(Se.ss=t-1),!0)}function po(e,t){if(!this.isValid())return this.localeData().invalidDate();var s=!1,r=Se,n,a;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(s=e),typeof t=="object"&&(r=Object.assign({},Se,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),n=this.localeData(),a=yo(this,!s,r,n),s&&(a=n.pastFuture(+this,a)),n.postformat(a)}var Dt=Math.abs;function pe(e){return(e>0)-(e<0)||+e}function dt(){if(!this.isValid())return this.localeData().invalidDate();var e=Dt(this._milliseconds)/1e3,t=Dt(this._days),s=Dt(this._months),r,n,a,i,h=this.asSeconds(),_,S,N,V;return h?(r=E(e/60),n=E(r/60),e%=60,r%=60,a=E(s/12),s%=12,i=e?e.toFixed(3).replace(/\.?0+$/,""):"",_=h<0?"-":"",S=pe(this._months)!==pe(h)?"-":"",N=pe(this._days)!==pe(h)?"-":"",V=pe(this._milliseconds)!==pe(h)?"-":"",_+"P"+(a?S+a+"Y":"")+(s?S+s+"M":"")+(t?N+t+"D":"")+(n||r||e?"T":"")+(n?V+n+"H":"")+(r?V+r+"M":"")+(e?V+i+"S":"")):"P0D"}var w=lt.prototype;w.isValid=da;w.abs=Gi;w.add=ji;w.subtract=$i;w.as=Zi;w.asMilliseconds=Qi;w.asSeconds=qi;w.asMinutes=Ji;w.asHours=Ki;w.asDays=Xi;w.asWeeks=eo;w.asMonths=to;w.asQuarters=so;w.asYears=ro;w.valueOf=Bi;w._bubble=zi;w.clone=no;w.get=ao;w.milliseconds=io;w.seconds=oo;w.minutes=lo;w.hours=uo;w.days=ho;w.weeks=mo;w.months=fo;w.years=co;w.humanize=po;w.toISOString=dt;w.toString=dt;w.toJSON=dt;w.locale=Is;w.localeData=Es;w.toIsoString=H("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",dt);w.lang=Us;f("X",0,0,"unix");f("x",0,0,"valueOf");d("x",nt);d("X",Er);D("X",function(e,t,s){s._d=new Date(parseFloat(e)*1e3)});D("x",function(e,t,s){s._d=new Date(g(e))});//! moment.js u.version="2.29.4";wr(v);u.fn=o;u.min=ia;u.max=oa;u.now=la;u.utc=K;u.unix=Li;u.months=Ui;u.isDate=Ie;u.locale=de;u.invalid=Xe;u.duration=Z;u.isMoment=z;u.weekdays=Hi;u.parseZone=Ii;u.localeData=ie;u.isDuration=je;u.monthsShort=Ei;u.weekdaysMin=Vi;u.defineLocale=Vt;u.updateLocale=In;u.locales=Un;u.weekdaysShort=Ai;u.normalizeUnits=A;u.relativeTimeRounding=go;u.relativeTimeThreshold=wo;u.calendarFormat=Wa;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 ko=()=>!0;function So(e){const t={};return e.forEach(s=>{t[s]=ko}),t}function Ke(){const{emit:e,proxy:t}=ur(),s=dr(null);function r(){s.value.show()}function n(){s.value.hide()}function a(h){e("ok",h),n()}function i(){e("hide")}return Object.assign(t,{show:r,hide:n}),{dialogRef:s,onDialogHide:i,onDialogOK:a,onDialogCancel:n}}const qs=["ok","hide"];Ke.emits=qs;Ke.emitsObject=So(qs);const Mo={class:"q-pr-md"},Do={class:"col text-dark"},vo={class:"text-bold"},Yo=Ne("br",null,null,-1),G=hr({__name:"CustomDialog",props:{color:{type:String,default:"primary"},textOk:{type:String,default:"ตกลง"},title:{type:String,default:"หัวข้อ?"},message:{type:String,default:"ข้อความ"},icon:{type:String,default:"question_mark"},onlycancel:{type:Boolean,default:!1}},emits:[...Ke.emits],setup(e){const{dialogRef:t,onDialogHide:s,onDialogOK:r,onDialogCancel:n}=Ke();function a(){r()}return(i,h)=>(wt(),yt(fr,{ref_key:"dialogRef",ref:t,onHide:gt(s),persistent:""},{default:Te(()=>[we(_r,{class:"q-pa-sm"},{default:Te(()=>[we(cr,{class:"row"},{default:Te(()=>[Ne("div",Mo,[we(mr,{icon:e.icon,size:"lg","font-size":"25px",color:"blue-1","text-color":e.color},null,8,["icon","text-color"])]),Ne("div",Do,[Ne("span",vo,Jt(e.title),1),Yo,Ne("span",null,Jt(e.message),1)])]),_:1}),e.onlycancel?(wt(),yt(Kt,{key:0,align:"right",class:"bg-white text-teal"},{default:Te(()=>[we(pt,{label:"ตกลง",flat:"",color:"grey-8",onClick:gt(n)},null,8,["onClick"])]),_:1})):(wt(),yt(Kt,{key:1,align:"right",class:"bg-white text-teal"},{default:Te(()=>[we(pt,{label:"ยกเลิก",flat:"",color:"grey-8",onClick:gt(n)},null,8,["onClick"]),we(pt,{label:e.textOk,color:e.color,onClick:a},null,8,["label","color"])]),_:1}))]),_:1})]),_:1},8,["onHide"]))}}),Lo=yr("mixin",()=>{const e=(l,m=new Date,M=!1)=>{const c=M?"years":"ปี",O=M?"months":"เดือน",Q=M?"days":"วัน";if(l==null)return`0 ${c} 0 ${O} 0 ${Q}`;const C=m,P=new Date(l),he=C.getFullYear(),ye=C.getMonth(),be=C.getDate(),ht=P.getFullYear(),ft=P.getMonth(),ct=P.getDate(),ir=12,or=u().subtract(1,"months").endOf("month"),lr=new Date(or.toString()).getDate();let mt=he-ht,ge=0,_t=0;return ye>=ft?ge=ye-ft:(mt--,ge=ir+ye-ft),be>=ct?_t=be-ct:(ge--,_t=lr+be-ct,ge<0&&(ge=11,mt--)),`${mt} ${c} ${ge} ${O} ${_t} ${Q}`};function t(l,m=!1,M=!1){if(l==null)return null;const c=new Date(l),O=!!+c;if(!O||O&&c.getFullYear()<1e3)return l.toString();const Q=["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],C=["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."];let P=0;c.getFullYear()>2500?P=c.getFullYear():P=c.getFullYear()+543;let he="";m?he=Q[c.getMonth()]:he=C[c.getMonth()];let ye="";if(M){const be=c.getHours().toString().padStart(2,"0"),ht=c.getMinutes().toString().padStart(2,"0");ye=" "+be+":"+ht+" น."}return c.getDate().toString().padStart(2,"0")+" "+he+" "+P+ye}function s(l,m=!1,M=!1){if(!l)return l;const c=new Date(l),O=!!+c;if(!O||O&&c.getFullYear()<1e3)return l;const Q=["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],C=["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."];c.getFullYear()>2500?c.getFullYear():c.getFullYear()+543;let P="";return m?P=Q[c.getMonth()]:P=C[c.getMonth()],M&&(c.getHours().toString().padStart(2,"0"),c.getMinutes().toString().padStart(2,"0")),c.getDate().toString().padStart(2,"0")+" "+P}function r(l,m,M=!1){const c=new Date(`${m}-${l+1}-1`),O=["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],Q=["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."];let C=0;c.getFullYear()>2500?C=c.getFullYear():C=c.getFullYear()+543;let P="";return M?P=O[c.getMonth()]:P=Q[c.getMonth()],P+" "+C}function n(l){return l.getFullYear()+"-"+a(l.getMonth()+1)+"-"+a(l.getDate())}function a(l){return l<=9?"0"+l:l}function i(l){return l.substr(0,3)+"-"+l.substr(3,3)+"-"+l.substr(6,4)}function h(l){return l.substr(0,2)+"-"+l.substr(2,3)+"-"+l.substr(5,4)}const _=(l,m)=>{if(m!=="")return l.notify({message:m,color:"primary",icon:"mdi-information",position:"bottom-right",multiLine:!0,timeout:1e3,badgeColor:"positive",classes:"my-notif-class"})};function S(l,m){m!==""&&l.notify({color:"teal-10",message:m,icon:"mdi-information",position:"bottom-right",multiLine:!0,timeout:7e3,actions:[{label:"ปิด",color:"white",handler:()=>{}}]})}function N(l,m){m!==""&&l.notify({color:"negative",message:m,icon:"mdi-alert-circle",position:"top",multiLine:!0,timeout:12e3,actions:[{label:"ปิด",color:"white",handler:()=>{}}]})}const V=(l,m="")=>{console.log("e.response",m.response),m.response!==void 0?m.response.data.status!==void 0?m.response.data.status==401?l.dialog({component:G,componentProps:{title:"พบข้อผิดพลาด",message:"ล็อกอินหมดอายุ กรุณาล็อกอินใหม่อีกครั้ง",icon:"warning",color:"red",onlycancel:!0}}):l.dialog({component:G,componentProps:{title:"พบข้อผิดพลาด",message:`${m.response.data.message}`,icon:"warning",color:"red",onlycancel:!0}}):m.response.status==401?l.dialog({component:G,componentProps:{title:"พบข้อผิดพลาด",message:"ล็อกอินหมดอายุ กรุณาล็อกอินใหม่อีกครั้ง",icon:"warning",color:"red",onlycancel:!0}}):l.dialog({component:G,componentProps:{title:"พบข้อผิดพลาด",message:"ข้อมูลผิดพลาดทำให้เกิดการไม่ตอบสนองต่อการเรียกใช้งานดูเว็บไซต์",icon:"warning",color:"red",onlycancel:!0}}):l.dialog({component:G,componentProps:{title:"พบข้อผิดพลาด",message:"ข้อมูลผิดพลาดทำให้เกิดการไม่ตอบสนองต่อการเรียกใช้งานดูเว็บไซต์",icon:"warning",color:"red",onlycancel:!0}})},B=(l,m,M,c,O,Q,C,P,he=!1)=>{l.dialog({component:G,componentProps:{title:m,message:M,icon:c,color:Q,textOk:O,onlycancel:he}}).onOk(()=>{C?.()}).onCancel(()=>{P?.()})},Js=(l,m,M,c,O)=>{l.dialog({component:G,componentProps:{title:M&&M!=null?M:"ยืนยันการบันทึก",message:c&&c!=null?c:"ต้องการยืนยันการบันทึกข้อมูลนี้ใช่หรือไม่?",icon:"info",color:"public",textOk:"ตกลง",onlycancel:!1}}).onOk(()=>{m&&m()}).onCancel(()=>{O&&O()})},Ks=(l,m,M,c,O)=>{l.dialog({component:G,componentProps:{title:M&&M!=null?M:"ยืนยันการลบข้อมูล",message:c&&c!=null?c:"ต้องการยืนยันการลบข้อมูลนี้ใช่หรือไม่?",icon:"delete",color:"red",textOk:"ตกลง",onlycancel:!1}}).onOk(()=>{m&&m()}).onCancel(()=>{O&&O()})},Xs=(l,m,M)=>{l.dialog({component:G,componentProps:{title:"ข้อความแจ้งเตือน",message:m&&m!=null?m:"กรุณากรอกข้อมูลให้ครบ",icon:"warning",color:"orange",textOk:"ตกลง",onlycancel:!0}}).onCancel(()=>{M&&M()})},er=()=>{Xt.show({spinner:gr,spinnerSize:140,spinnerColor:"primary",backgroundColor:"white"})},tr=()=>{Xt.hide()};function sr(l,m,M,c,O){l.dialog({title:`${m}`,message:`${M}`,cancel:{flat:!0,color:"grey-14"},ok:{color:"red-6"},focus:"none",persistent:!0,html:!0}).onOk(()=>{c()}).onCancel(()=>{O?.()}).onDismiss(()=>{})}function rr(l,m,M,c,O){l.dialog({title:`${m}`,message:`${M}`,cancel:{flat:!0,color:"grey"},ok:{color:"primary"},focus:"none",persistent:!0,html:!0}).onOk(()=>{c()}).onCancel(()=>{O?.()}).onDismiss(()=>{})}function nr(l,m,M,c){l.dialog({component:G,componentProps:{title:m,message:M,icon:"warning",color:"warning",onlycancel:!0}})}function ar(l,m,M,c){l.dialog({component:G,componentProps:{title:m,message:M,icon:"warning",color:"red",onlycancel:!0}})}return{calAge:e,date2Thai:t,dateToISO:n,notify:S,notifyError:N,dateText:l=>l!=null?t(l):"-",monthYear2Thai:r,dateMonth2Thai:s,success:_,weekThai:l=>{switch(l){case 0:return"วันอาทิตย์";case 1:return"วันจันทร์";case 2:return"วันอังคาร";case 3:return"วันพุธ";case 4:return"วันพฤหัสบดี";case 5:return"วันศุกร์";case 6:return"วันเสาร์";default:return"-"}},genColor15:l=>{switch(l=l%15,l){case 1:return"pink";case 2:return"purple";case 3:return"deep-purple";case 4:return"indigo";case 5:return"blue";case 6:return"light-blue";case 7:return"cyan";case 8:return"teal";case 9:return"green";case 10:return"light-green";case 11:return"amber";case 12:return"orange";case 13:return"deep-orange";case 14:return"brown";case 0:return"blue-grey";default:return""}},typeCategoryExam:l=>{switch(l){case"hygiene":return"สำนักอนามัย";case"physician":return"สำนักการแพทย์";case"city":return"สำนักผังเมือง";case"culture":return"สำนักวัฒนธรรม กีฬา และการท่องเที่ยว";default:return"-"}},textToPhone:i,textToFax:h,dateThaiRange:l=>l===null?"":t(l[0])===t(l[1])?`${t(l[0])}`:`${t(l[0])} - ${t(l[1])}`,modalDelete:sr,modalConfirm:rr,modalError:ar,dialogMessage:B,messageError:V,showLoader:er,hideLoader:tr,typeRetire:l=>{switch(l){case"retire":return"เกษียณอายุราชการ";case"resign":return"ลาออก";case"transfer":return"ให้โอน";case"death":return"ถึงแก่กรรม";case"layoff":return"ให้ออก";case"discharge":return"ปลดออก";case"dismiss":return"ไล่ออก";case"other":return"อื่นๆ";default:return"-"}},typeChangeName:l=>{switch(l){case"firstName":return"เปลี่ยนชื่อ";case"lastName":return"เปลี่ยนนามสกุล";case"all":return"เปลี่ยนชื่อ-นามสกุล";default:return"-"}},statusLeave:l=>{switch(l){case"waitting":return"รออนุมัติ";case"reject":return"ไม่ผ่านการอนุมัติ";case"approve":return"ผ่านการอนุมัติ";case"cancel":return"ยกเลิก";default:return"-"}},modalWarning:nr,dialogConfirm:Js,dialogRemove:Ks,dialogMessageNotify:Xs}});export{So as g,Lo as u};