diff --git a/ui/dist/assets/index-5t0OlkS6.js b/ui/dist/assets/index-BnLdUh-0.js similarity index 99% rename from ui/dist/assets/index-5t0OlkS6.js rename to ui/dist/assets/index-BnLdUh-0.js index 1884dd60..58059f68 100644 --- a/ui/dist/assets/index-5t0OlkS6.js +++ b/ui/dist/assets/index-BnLdUh-0.js @@ -289,7 +289,7 @@ var xk;function ye(){return xk.apply(null,arguments)}function FL(e){xk=e}functio [`+o+"] ";for(i in arguments[0])ct(arguments[0],i)&&(s+=i+": "+arguments[0][i]+", ");s=s.slice(0,-2)}else s=arguments[o];n.push(s)}_k(e+` Arguments: `+Array.prototype.slice.call(n).join("")+` `+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var ow={};function bk(e,t){ye.deprecationHandler!=null&&ye.deprecationHandler(e,t),ow[e]||(_k(t),ow[e]=!0)}ye.suppressDeprecationWarnings=!1;ye.deprecationHandler=null;function qn(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function UL(e){var t,r;for(r in e)ct(e,r)&&(t=e[r],qn(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function fm(e,t){var r=ro({},e),n;for(n in t)ct(t,n)&&(Zo(e[n])&&Zo(t[n])?(r[n]={},ro(r[n],e[n]),ro(r[n],t[n])):t[n]!=null?r[n]=t[n]:delete r[n]);for(n in e)ct(e,n)&&!ct(t,n)&&Zo(e[n])&&(r[n]=ro({},r[n]));return r}function Rv(e){e!=null&&this.set(e)}var hm;Object.keys?hm=Object.keys:hm=function(e){var t,r=[];for(t in e)ct(e,t)&&r.push(t);return r};var $L={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function VL(e,t,r){var n=this._calendar[e]||this._calendar.sameElse;return qn(n)?n.call(t,r):n}function Yn(e,t,r){var n=""+Math.abs(e),s=t-n.length,o=e>=0;return(o?r?"+":"":"-")+Math.pow(10,Math.max(0,s)).toString().substr(1)+n}var Pv=/(\[[^\[]*\])|(\\)?([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,bu=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,qh={},na={};function Ie(e,t,r,n){var s=n;typeof n=="string"&&(s=function(){return this[n]()}),e&&(na[e]=s),t&&(na[t[0]]=function(){return Yn(s.apply(this,arguments),t[1],t[2])}),r&&(na[r]=function(){return this.localeData().ordinal(s.apply(this,arguments),e)})}function BL(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function WL(e){var t=e.match(Pv),r,n;for(r=0,n=t.length;r=0&&bu.test(e);)e=e.replace(bu,n),bu.lastIndex=0,r-=1;return e}var HL={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 YL(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(Pv).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[e])}var KL="Invalid date";function GL(){return this._invalidDate}var ZL="%d",qL=/\d{1,2}/;function XL(e){return this._ordinal.replace("%d",e)}var QL={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 JL(e,t,r,n){var s=this._relativeTime[r];return qn(s)?s(e,t,r,n):s.replace(/%d/i,e)}function e4(e,t){var r=this._relativeTime[e>0?"future":"past"];return qn(r)?r(t):r.replace(/%s/i,t)}var iw={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 ln(e){return typeof e=="string"?iw[e]||iw[e.toLowerCase()]:void 0}function Av(e){var t={},r,n;for(n in e)ct(e,n)&&(r=ln(n),r&&(t[r]=e[n]));return t}var t4={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 r4(e){var t=[],r;for(r in e)ct(e,r)&&t.push({unit:r,priority:t4[r]});return t.sort(function(n,s){return n.priority-s.priority}),t}var kk=/\d/,Zr=/\d\d/,Ck=/\d{3}/,Dv=/\d{4}/,Af=/[+-]?\d{6}/,Ct=/\d\d?/,jk=/\d\d\d\d?/,Ek=/\d\d\d\d\d\d?/,Df=/\d{1,3}/,Ov=/\d{1,4}/,Of=/[+-]?\d{1,6}/,Ma=/\d+/,Mf=/[+-]?\d+/,n4=/Z|[+-]\d\d:?\d\d/gi,If=/Z|[+-]\d\d(?::?\d\d)?/gi,s4=/[+-]?\d+(\.\d{1,3})?/,Mc=/[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,Ia=/^[1-9]\d?/,Mv=/^([1-9]\d|\d)/,Rd;Rd={};function je(e,t,r){Rd[e]=qn(t)?t:function(n,s){return n&&r?r:t}}function o4(e,t){return ct(Rd,e)?Rd[e](t._strict,t._locale):new RegExp(i4(e))}function i4(e){return gs(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,n,s,o){return r||n||s||o}))}function gs(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function en(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function rt(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=en(t)),r}var pm={};function vt(e,t){var r,n=t,s;for(typeof e=="string"&&(e=[e]),Cs(t)&&(n=function(o,i){i[t]=rt(o)}),s=e.length,r=0;r68?1900:2e3)};var Nk=La("FullYear",!0);function u4(){return Lf(this.year())}function La(e,t){return function(r){return r!=null?(Tk(this,e,r),ye.updateOffset(this,t),this):ec(this,e)}}function ec(e,t){if(!e.isValid())return NaN;var r=e._d,n=e._isUTC;switch(t){case"Milliseconds":return n?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return n?r.getUTCSeconds():r.getSeconds();case"Minutes":return n?r.getUTCMinutes():r.getMinutes();case"Hours":return n?r.getUTCHours():r.getHours();case"Date":return n?r.getUTCDate():r.getDate();case"Day":return n?r.getUTCDay():r.getDay();case"Month":return n?r.getUTCMonth():r.getMonth();case"FullYear":return n?r.getUTCFullYear():r.getFullYear();default:return NaN}}function Tk(e,t,r){var n,s,o,i,l;if(!(!e.isValid()||isNaN(r))){switch(n=e._d,s=e._isUTC,t){case"Milliseconds":return void(s?n.setUTCMilliseconds(r):n.setMilliseconds(r));case"Seconds":return void(s?n.setUTCSeconds(r):n.setSeconds(r));case"Minutes":return void(s?n.setUTCMinutes(r):n.setMinutes(r));case"Hours":return void(s?n.setUTCHours(r):n.setHours(r));case"Date":return void(s?n.setUTCDate(r):n.setDate(r));case"FullYear":break;default:return}o=r,i=e.month(),l=e.date(),l=l===29&&i===1&&!Lf(o)?28:l,s?n.setUTCFullYear(o,i,l):n.setFullYear(o,i,l)}}function d4(e){return e=ln(e),qn(this[e])?this[e]():this}function f4(e,t){if(typeof e=="object"){e=Av(e);var r=r4(e),n,s=r.length;for(n=0;n=0?(l=new Date(e+400,t,r,n,s,o,i),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,r,n,s,o,i),l}function tc(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Pd(e,t,r){var n=7+t-r,s=(7+tc(e,0,n).getUTCDay()-t)%7;return-s+n-1}function Mk(e,t,r,n,s){var o=(7+r-n)%7,i=Pd(e,n,s),l=1+7*(t-1)+o+i,c,u;return l<=0?(c=e-1,u=Cl(c)+l):l>Cl(e)?(c=e+1,u=l-Cl(e)):(c=e,u=l),{year:c,dayOfYear:u}}function rc(e,t,r){var n=Pd(e.year(),t,r),s=Math.floor((e.dayOfYear()-n-1)/7)+1,o,i;return s<1?(i=e.year()-1,o=s+vs(i,t,r)):s>vs(e.year(),t,r)?(o=s-vs(e.year(),t,r),i=e.year()+1):(i=e.year(),o=s),{week:o,year:i}}function vs(e,t,r){var n=Pd(e,t,r),s=Pd(e+1,t,r);return(Cl(e)-n+s)/7}Ie("w",["ww",2],"wo","week");Ie("W",["WW",2],"Wo","isoWeek");je("w",Ct,Ia);je("ww",Ct,Zr);je("W",Ct,Ia);je("WW",Ct,Zr);Ic(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=rt(e)});function C4(e){return rc(e,this._week.dow,this._week.doy).week}var j4={dow:0,doy:6};function E4(){return this._week.dow}function N4(){return this._week.doy}function T4(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function R4(e){var t=rc(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}Ie("d",0,"do","day");Ie("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});Ie("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});Ie("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});Ie("e",0,0,"weekday");Ie("E",0,0,"isoWeekday");je("d",Ct);je("e",Ct);je("E",Ct);je("dd",function(e,t){return t.weekdaysMinRegex(e)});je("ddd",function(e,t){return t.weekdaysShortRegex(e)});je("dddd",function(e,t){return t.weekdaysRegex(e)});Ic(["dd","ddd","dddd"],function(e,t,r,n){var s=r._locale.weekdaysParse(e,n,r._strict);s!=null?t.d=s:Xe(r).invalidWeekday=e});Ic(["d","e","E"],function(e,t,r,n){t[n]=rt(e)});function P4(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function A4(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Lv(e,t){return e.slice(t,7).concat(e.slice(0,t))}var D4="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ik="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),O4="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),M4=Mc,I4=Mc,L4=Mc;function F4(e,t){var r=Cn(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Lv(r,this._week.dow):e?r[e.day()]:r}function z4(e){return e===!0?Lv(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function U4(e){return e===!0?Lv(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function $4(e,t,r){var n,s,o,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)o=Zn([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(o,"").toLocaleLowerCase();return r?t==="dddd"?(s=zt.call(this._weekdaysParse,i),s!==-1?s:null):t==="ddd"?(s=zt.call(this._shortWeekdaysParse,i),s!==-1?s:null):(s=zt.call(this._minWeekdaysParse,i),s!==-1?s:null):t==="dddd"?(s=zt.call(this._weekdaysParse,i),s!==-1||(s=zt.call(this._shortWeekdaysParse,i),s!==-1)?s:(s=zt.call(this._minWeekdaysParse,i),s!==-1?s:null)):t==="ddd"?(s=zt.call(this._shortWeekdaysParse,i),s!==-1||(s=zt.call(this._weekdaysParse,i),s!==-1)?s:(s=zt.call(this._minWeekdaysParse,i),s!==-1?s:null)):(s=zt.call(this._minWeekdaysParse,i),s!==-1||(s=zt.call(this._weekdaysParse,i),s!==-1)?s:(s=zt.call(this._shortWeekdaysParse,i),s!==-1?s:null))}function V4(e,t,r){var n,s,o;if(this._weekdaysParseExact)return $4.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(s=Zn([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(o="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[n]=new RegExp(o.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[n].test(e))return n;if(r&&t==="ddd"&&this._shortWeekdaysParse[n].test(e))return n;if(r&&t==="dd"&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}}function B4(e){if(!this.isValid())return e!=null?this:NaN;var t=ec(this,"Day");return e!=null?(e=P4(e,this.localeData()),this.add(e-t,"d")):t}function W4(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 H4(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=A4(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Y4(e){return this._weekdaysParseExact?(ct(this,"_weekdaysRegex")||Fv.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(ct(this,"_weekdaysRegex")||(this._weekdaysRegex=M4),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function K4(e){return this._weekdaysParseExact?(ct(this,"_weekdaysRegex")||Fv.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(ct(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=I4),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function G4(e){return this._weekdaysParseExact?(ct(this,"_weekdaysRegex")||Fv.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(ct(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=L4),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Fv(){function e(d,f){return f.length-d.length}var t=[],r=[],n=[],s=[],o,i,l,c,u;for(o=0;o<7;o++)i=Zn([2e3,1]).day(o),l=gs(this.weekdaysMin(i,"")),c=gs(this.weekdaysShort(i,"")),u=gs(this.weekdays(i,"")),t.push(l),r.push(c),n.push(u),s.push(l),s.push(c),s.push(u);t.sort(e),r.sort(e),n.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function zv(){return this.hours()%12||12}function Z4(){return this.hours()||24}Ie("H",["HH",2],0,"hour");Ie("h",["hh",2],0,zv);Ie("k",["kk",2],0,Z4);Ie("hmm",0,0,function(){return""+zv.apply(this)+Yn(this.minutes(),2)});Ie("hmmss",0,0,function(){return""+zv.apply(this)+Yn(this.minutes(),2)+Yn(this.seconds(),2)});Ie("Hmm",0,0,function(){return""+this.hours()+Yn(this.minutes(),2)});Ie("Hmmss",0,0,function(){return""+this.hours()+Yn(this.minutes(),2)+Yn(this.seconds(),2)});function Lk(e,t){Ie(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Lk("a",!0);Lk("A",!1);function Fk(e,t){return t._meridiemParse}je("a",Fk);je("A",Fk);je("H",Ct,Mv);je("h",Ct,Ia);je("k",Ct,Ia);je("HH",Ct,Zr);je("hh",Ct,Zr);je("kk",Ct,Zr);je("hmm",jk);je("hmmss",Ek);je("Hmm",jk);je("Hmmss",Ek);vt(["H","HH"],Zt);vt(["k","kk"],function(e,t,r){var n=rt(e);t[Zt]=n===24?0:n});vt(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});vt(["h","hh"],function(e,t,r){t[Zt]=rt(e),Xe(r).bigHour=!0});vt("hmm",function(e,t,r){var n=e.length-2;t[Zt]=rt(e.substr(0,n)),t[vn]=rt(e.substr(n)),Xe(r).bigHour=!0});vt("hmmss",function(e,t,r){var n=e.length-4,s=e.length-2;t[Zt]=rt(e.substr(0,n)),t[vn]=rt(e.substr(n,2)),t[hs]=rt(e.substr(s)),Xe(r).bigHour=!0});vt("Hmm",function(e,t,r){var n=e.length-2;t[Zt]=rt(e.substr(0,n)),t[vn]=rt(e.substr(n))});vt("Hmmss",function(e,t,r){var n=e.length-4,s=e.length-2;t[Zt]=rt(e.substr(0,n)),t[vn]=rt(e.substr(n,2)),t[hs]=rt(e.substr(s))});function q4(e){return(e+"").toLowerCase().charAt(0)==="p"}var X4=/[ap]\.?m?\.?/i,Q4=La("Hours",!0);function J4(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var zk={calendar:$L,longDateFormat:HL,invalidDate:KL,ordinal:ZL,dayOfMonthOrdinalParse:qL,relativeTime:QL,months:p4,monthsShort:Rk,week:j4,weekdays:D4,weekdaysMin:O4,weekdaysShort:Ik,meridiemParse:X4},Nt={},el={},nc;function e5(e,t){var r,n=Math.min(e.length,t.length);for(r=0;r0;){if(s=Ff(o.slice(0,r).join("-")),s)return s;if(n&&n.length>=r&&e5(o,n)>=r-1)break;r--}t++}return nc}function r5(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Ff(e){var t=null,r;if(Nt[e]===void 0&&typeof qu<"u"&&qu&&qu.exports&&r5(e))try{t=nc._abbr,r=require,r("./locale/"+e),po(t)}catch{Nt[e]=null}return Nt[e]}function po(e,t){var r;return e&&(kr(t)?r=Ds(e):r=Uv(e,t),r?nc=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),nc._abbr}function Uv(e,t){if(t!==null){var r,n=zk;if(t.abbr=e,Nt[e]!=null)bk("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Nt[e]._config;else if(t.parentLocale!=null)if(Nt[t.parentLocale]!=null)n=Nt[t.parentLocale]._config;else if(r=Ff(t.parentLocale),r!=null)n=r._config;else return el[t.parentLocale]||(el[t.parentLocale]=[]),el[t.parentLocale].push({name:e,config:t}),null;return Nt[e]=new Rv(fm(n,t)),el[e]&&el[e].forEach(function(s){Uv(s.name,s.config)}),po(e),Nt[e]}else return delete Nt[e],null}function n5(e,t){if(t!=null){var r,n,s=zk;Nt[e]!=null&&Nt[e].parentLocale!=null?Nt[e].set(fm(Nt[e]._config,t)):(n=Ff(e),n!=null&&(s=n._config),t=fm(s,t),n==null&&(t.abbr=e),r=new Rv(t),r.parentLocale=Nt[e],Nt[e]=r),po(e)}else Nt[e]!=null&&(Nt[e].parentLocale!=null?(Nt[e]=Nt[e].parentLocale,e===po()&&po(e)):Nt[e]!=null&&delete Nt[e]);return Nt[e]}function Ds(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return nc;if(!Cn(e)){if(t=Ff(e),t)return t;e=[e]}return t5(e)}function s5(){return hm(Nt)}function $v(e){var t,r=e._a;return r&&Xe(e).overflow===-2&&(t=r[fs]<0||r[fs]>11?fs:r[Fn]<1||r[Fn]>Iv(r[cr],r[fs])?Fn:r[Zt]<0||r[Zt]>24||r[Zt]===24&&(r[vn]!==0||r[hs]!==0||r[Wo]!==0)?Zt:r[vn]<0||r[vn]>59?vn:r[hs]<0||r[hs]>59?hs:r[Wo]<0||r[Wo]>999?Wo:-1,Xe(e)._overflowDayOfYear&&(tFn)&&(t=Fn),Xe(e)._overflowWeeks&&t===-1&&(t=l4),Xe(e)._overflowWeekday&&t===-1&&(t=c4),Xe(e).overflow=t),e}var o5=/^\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)?)?$/,i5=/^\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)?)?$/,a5=/Z|[+-]\d\d(?::?\d\d)?/,Su=[["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]],Xh=[["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/]],l5=/^\/?Date\((-?\d+)/i,c5=/^(?:(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}))$/,u5={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 Uk(e){var t,r,n=e._i,s=o5.exec(n)||i5.exec(n),o,i,l,c,u=Su.length,d=Xh.length;if(s){for(Xe(e).iso=!0,t=0,r=u;tCl(i)||e._dayOfYear===0)&&(Xe(e)._overflowDayOfYear=!0),r=tc(i,0,e._dayOfYear),e._a[fs]=r.getUTCMonth(),e._a[Fn]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=n[t]=s[t];for(;t<7;t++)e._a[t]=n[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[Zt]===24&&e._a[vn]===0&&e._a[hs]===0&&e._a[Wo]===0&&(e._nextDay=!0,e._a[Zt]=0),e._d=(e._useUTC?tc:k4).apply(null,n),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Zt]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==o&&(Xe(e).weekdayMismatch=!0)}}function y5(e){var t,r,n,s,o,i,l,c,u;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(o=1,i=4,r=Ni(t.GG,e._a[cr],rc(kt(),1,4).year),n=Ni(t.W,1),s=Ni(t.E,1),(s<1||s>7)&&(c=!0)):(o=e._locale._week.dow,i=e._locale._week.doy,u=rc(kt(),o,i),r=Ni(t.gg,e._a[cr],u.year),n=Ni(t.w,u.week),t.d!=null?(s=t.d,(s<0||s>6)&&(c=!0)):t.e!=null?(s=t.e+o,(t.e<0||t.e>6)&&(c=!0)):s=o),n<1||n>vs(r,o,i)?Xe(e)._overflowWeeks=!0:c!=null?Xe(e)._overflowWeekday=!0:(l=Mk(r,n,s,o,i),e._a[cr]=l.year,e._dayOfYear=l.dayOfYear)}ye.ISO_8601=function(){};ye.RFC_2822=function(){};function Bv(e){if(e._f===ye.ISO_8601){Uk(e);return}if(e._f===ye.RFC_2822){$k(e);return}e._a=[],Xe(e).empty=!0;var t=""+e._i,r,n,s,o,i,l=t.length,c=0,u,d;for(s=Sk(e._f,e._locale).match(Pv)||[],d=s.length,r=0;r0&&Xe(e).unusedInput.push(i),t=t.slice(t.indexOf(n)+n.length),c+=n.length),na[o]?(n?Xe(e).empty=!1:Xe(e).unusedTokens.push(o),a4(o,n,e)):e._strict&&!n&&Xe(e).unusedTokens.push(o);Xe(e).charsLeftOver=l-c,t.length>0&&Xe(e).unusedInput.push(t),e._a[Zt]<=12&&Xe(e).bigHour===!0&&e._a[Zt]>0&&(Xe(e).bigHour=void 0),Xe(e).parsedDateParts=e._a.slice(0),Xe(e).meridiem=e._meridiem,e._a[Zt]=x5(e._locale,e._a[Zt],e._meridiem),u=Xe(e).era,u!==null&&(e._a[cr]=e._locale.erasConvertYear(u,e._a[cr])),Vv(e),$v(e)}function x5(e,t,r){var n;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(n=e.isPM(r),n&&t<12&&(t+=12),!n&&t===12&&(t=0)),t)}function w5(e){var t,r,n,s,o,i,l=!1,c=e._f.length;if(c===0){Xe(e).invalidFormat=!0,e._d=new Date(NaN);return}for(s=0;sthis?this:e:Pf()});function Wk(e,t){var r,n;if(t.length===1&&Cn(t[0])&&(t=t[0]),!t.length)return kt();for(r=t[0],n=1;nthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function $5(){if(!kr(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Tv(e,this),e=Vk(e),e._a?(t=e._isUTC?Zn(e._a):kt(e._a),this._isDSTShifted=this.isValid()&&A5(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function V5(){return this.isValid()?!this._isUTC:!1}function B5(){return this.isValid()?this._isUTC:!1}function Yk(){return this.isValid()?this._isUTC&&this._offset===0:!1}var W5=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,H5=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Rn(e,t){var r=e,n=null,s,o,i;return Hu(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:Cs(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(n=W5.exec(e))?(s=n[1]==="-"?-1:1,r={y:0,d:rt(n[Fn])*s,h:rt(n[Zt])*s,m:rt(n[vn])*s,s:rt(n[hs])*s,ms:rt(mm(n[Wo]*1e3))*s}):(n=H5.exec(e))?(s=n[1]==="-"?-1:1,r={y:Ao(n[2],s),M:Ao(n[3],s),w:Ao(n[4],s),d:Ao(n[5],s),h:Ao(n[6],s),m:Ao(n[7],s),s:Ao(n[8],s)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(i=Y5(kt(r.from),kt(r.to)),r={},r.ms=i.milliseconds,r.M=i.months),o=new zf(r),Hu(e)&&ct(e,"_locale")&&(o._locale=e._locale),Hu(e)&&ct(e,"_isValid")&&(o._isValid=e._isValid),o}Rn.fn=zf.prototype;Rn.invalid=P5;function Ao(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function lw(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function Y5(e,t){var r;return e.isValid()&&t.isValid()?(t=Hv(t,e),e.isBefore(t)?r=lw(e,t):(r=lw(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function Kk(e,t){return function(r,n){var s,o;return n!==null&&!isNaN(+n)&&(bk(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."),o=r,r=n,n=o),s=Rn(r,n),Gk(this,s,e),this}}function Gk(e,t,r,n){var s=t._milliseconds,o=mm(t._days),i=mm(t._months);e.isValid()&&(n=n??!0,i&&Ak(e,ec(e,"Month")+i*r),o&&Tk(e,"Date",ec(e,"Date")+o*r),s&&e._d.setTime(e._d.valueOf()+s*r),n&&ye.updateOffset(e,o||i))}var K5=Kk(1,"add"),G5=Kk(-1,"subtract");function Zk(e){return typeof e=="string"||e instanceof String}function Z5(e){return jn(e)||Dc(e)||Zk(e)||Cs(e)||X5(e)||q5(e)||e===null||e===void 0}function q5(e){var t=Zo(e)&&!Ev(e),r=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s,o,i=n.length;for(s=0;sr.valueOf():r.valueOf()9999?Wu(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):qn(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Wu(r,"Z")):Wu(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function dF(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,n,s,o;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",s="-MM-DD[T]HH:mm:ss.SSS",o=t+'[")]',this.format(r+n+s+o)}function fF(e){e||(e=this.isUtc()?ye.defaultFormatUtc:ye.defaultFormat);var t=Wu(this,e);return this.localeData().postformat(t)}function hF(e,t){return this.isValid()&&(jn(e)&&e.isValid()||kt(e).isValid())?Rn({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function pF(e){return this.from(kt(),e)}function mF(e,t){return this.isValid()&&(jn(e)&&e.isValid()||kt(e).isValid())?Rn({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function gF(e){return this.to(kt(),e)}function qk(e){var t;return e===void 0?this._locale._abbr:(t=Ds(e),t!=null&&(this._locale=t),this)}var Xk=an("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 Qk(){return this._locale}var Ad=1e3,sa=60*Ad,Dd=60*sa,Jk=(365*400+97)*24*Dd;function oa(e,t){return(e%t+t)%t}function eC(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-Jk:new Date(e,t,r).valueOf()}function tC(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-Jk:Date.UTC(e,t,r)}function vF(e){var t,r;if(e=ln(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?tC:eC,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=oa(t+(this._isUTC?0:this.utcOffset()*sa),Dd);break;case"minute":t=this._d.valueOf(),t-=oa(t,sa);break;case"second":t=this._d.valueOf(),t-=oa(t,Ad);break}return this._d.setTime(t),ye.updateOffset(this,!0),this}function yF(e){var t,r;if(e=ln(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?tC:eC,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Dd-oa(t+(this._isUTC?0:this.utcOffset()*sa),Dd)-1;break;case"minute":t=this._d.valueOf(),t+=sa-oa(t,sa)-1;break;case"second":t=this._d.valueOf(),t+=Ad-oa(t,Ad)-1;break}return this._d.setTime(t),ye.updateOffset(this,!0),this}function xF(){return this._d.valueOf()-(this._offset||0)*6e4}function wF(){return Math.floor(this.valueOf()/1e3)}function _F(){return new Date(this.valueOf())}function bF(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function SF(){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 kF(){return this.isValid()?this.toISOString():null}function CF(){return Nv(this)}function jF(){return ro({},Xe(this))}function EF(){return Xe(this).overflow}function NF(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}Ie("N",0,0,"eraAbbr");Ie("NN",0,0,"eraAbbr");Ie("NNN",0,0,"eraAbbr");Ie("NNNN",0,0,"eraName");Ie("NNNNN",0,0,"eraNarrow");Ie("y",["y",1],"yo","eraYear");Ie("y",["yy",2],0,"eraYear");Ie("y",["yyy",3],0,"eraYear");Ie("y",["yyyy",4],0,"eraYear");je("N",Yv);je("NN",Yv);je("NNN",Yv);je("NNNN",zF);je("NNNNN",UF);vt(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,n){var s=r._locale.erasParse(e,n,r._strict);s?Xe(r).era=s:Xe(r).invalidEra=e});je("y",Ma);je("yy",Ma);je("yyy",Ma);je("yyyy",Ma);je("yo",$F);vt(["y","yy","yyy","yyyy"],cr);vt(["yo"],function(e,t,r,n){var s;r._locale._eraYearOrdinalRegex&&(s=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[cr]=r._locale.eraYearOrdinalParse(e,s):t[cr]=parseInt(e,10)});function TF(e,t){var r,n,s,o=this._eras||Ds("en")._eras;for(r=0,n=o.length;r=0)return o[n]}function PF(e,t){var r=e.since<=e.until?1:-1;return t===void 0?ye(e.since).year():ye(e.since).year()+(t-e.offset)*r}function AF(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;eo&&(t=o),GF.call(this,e,t,r,n,s))}function GF(e,t,r,n,s){var o=Mk(e,t,r,n,s),i=tc(o.year,0,o.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}Ie("Q",0,"Qo","quarter");je("Q",kk);vt("Q",function(e,t){t[fs]=(rt(e)-1)*3});function ZF(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}Ie("D",["DD",2],"Do","date");je("D",Ct,Ia);je("DD",Ct,Zr);je("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});vt(["D","DD"],Fn);vt("Do",function(e,t){t[Fn]=rt(e.match(Ct)[0])});var nC=La("Date",!0);Ie("DDD",["DDDD",3],"DDDo","dayOfYear");je("DDD",Df);je("DDDD",Ck);vt(["DDD","DDDD"],function(e,t,r){r._dayOfYear=rt(e)});function qF(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}Ie("m",["mm",2],0,"minute");je("m",Ct,Mv);je("mm",Ct,Zr);vt(["m","mm"],vn);var XF=La("Minutes",!1);Ie("s",["ss",2],0,"second");je("s",Ct,Mv);je("ss",Ct,Zr);vt(["s","ss"],hs);var QF=La("Seconds",!1);Ie("S",0,0,function(){return~~(this.millisecond()/100)});Ie(0,["SS",2],0,function(){return~~(this.millisecond()/10)});Ie(0,["SSS",3],0,"millisecond");Ie(0,["SSSS",4],0,function(){return this.millisecond()*10});Ie(0,["SSSSS",5],0,function(){return this.millisecond()*100});Ie(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});Ie(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});Ie(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});Ie(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});je("S",Df,kk);je("SS",Df,Zr);je("SSS",Df,Ck);var no,sC;for(no="SSSS";no.length<=9;no+="S")je(no,Ma);function JF(e,t){t[Wo]=rt(("0."+e)*1e3)}for(no="S";no.length<=9;no+="S")vt(no,JF);sC=La("Milliseconds",!1);Ie("z",0,0,"zoneAbbr");Ie("zz",0,0,"zoneName");function e3(){return this._isUTC?"UTC":""}function t3(){return this._isUTC?"Coordinated Universal Time":""}var le=Oc.prototype;le.add=K5;le.calendar=eF;le.clone=tF;le.diff=lF;le.endOf=yF;le.format=fF;le.from=hF;le.fromNow=pF;le.to=mF;le.toNow=gF;le.get=d4;le.invalidAt=EF;le.isAfter=rF;le.isBefore=nF;le.isBetween=sF;le.isSame=oF;le.isSameOrAfter=iF;le.isSameOrBefore=aF;le.isValid=CF;le.lang=Xk;le.locale=qk;le.localeData=Qk;le.max=C5;le.min=k5;le.parsingFlags=jF;le.set=f4;le.startOf=vF;le.subtract=G5;le.toArray=bF;le.toObject=SF;le.toDate=_F;le.toISOString=uF;le.inspect=dF;typeof Symbol<"u"&&Symbol.for!=null&&(le[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});le.toJSON=kF;le.toString=cF;le.unix=wF;le.valueOf=xF;le.creationData=NF;le.eraName=AF;le.eraNarrow=DF;le.eraAbbr=OF;le.eraYear=MF;le.year=Nk;le.isLeapYear=u4;le.weekYear=VF;le.isoWeekYear=BF;le.quarter=le.quarters=ZF;le.month=Dk;le.daysInMonth=_4;le.week=le.weeks=T4;le.isoWeek=le.isoWeeks=R4;le.weeksInYear=YF;le.weeksInWeekYear=KF;le.isoWeeksInYear=WF;le.isoWeeksInISOWeekYear=HF;le.date=nC;le.day=le.days=B4;le.weekday=W4;le.isoWeekday=H4;le.dayOfYear=qF;le.hour=le.hours=Q4;le.minute=le.minutes=XF;le.second=le.seconds=QF;le.millisecond=le.milliseconds=sC;le.utcOffset=O5;le.utc=I5;le.local=L5;le.parseZone=F5;le.hasAlignedHourOffset=z5;le.isDST=U5;le.isLocal=V5;le.isUtcOffset=B5;le.isUtc=Yk;le.isUTC=Yk;le.zoneAbbr=e3;le.zoneName=t3;le.dates=an("dates accessor is deprecated. Use date instead.",nC);le.months=an("months accessor is deprecated. Use month instead",Dk);le.years=an("years accessor is deprecated. Use year instead",Nk);le.zone=an("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",M5);le.isDSTShifted=an("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",$5);function r3(e){return kt(e*1e3)}function n3(){return kt.apply(null,arguments).parseZone()}function oC(e){return e}var ut=Rv.prototype;ut.calendar=VL;ut.longDateFormat=YL;ut.invalidDate=GL;ut.ordinal=XL;ut.preparse=oC;ut.postformat=oC;ut.relativeTime=JL;ut.pastFuture=e4;ut.set=UL;ut.eras=TF;ut.erasParse=RF;ut.erasConvertYear=PF;ut.erasAbbrRegex=LF;ut.erasNameRegex=IF;ut.erasNarrowRegex=FF;ut.months=v4;ut.monthsShort=y4;ut.monthsParse=w4;ut.monthsRegex=S4;ut.monthsShortRegex=b4;ut.week=C4;ut.firstDayOfYear=N4;ut.firstDayOfWeek=E4;ut.weekdays=F4;ut.weekdaysMin=U4;ut.weekdaysShort=z4;ut.weekdaysParse=V4;ut.weekdaysRegex=Y4;ut.weekdaysShortRegex=K4;ut.weekdaysMinRegex=G4;ut.isPM=q4;ut.meridiem=J4;function Od(e,t,r,n){var s=Ds(),o=Zn().set(n,t);return s[r](o,e)}function iC(e,t,r){if(Cs(e)&&(t=e,e=void 0),e=e||"",t!=null)return Od(e,t,r,"month");var n,s=[];for(n=0;n<12;n++)s[n]=Od(e,n,r,"month");return s}function Gv(e,t,r,n){typeof e=="boolean"?(Cs(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,Cs(t)&&(r=t,t=void 0),t=t||"");var s=Ds(),o=e?s._week.dow:0,i,l=[];if(r!=null)return Od(t,(r+o)%7,n,"day");for(i=0;i<7;i++)l[i]=Od(t,(i+o)%7,n,"day");return l}function s3(e,t){return iC(e,t,"months")}function o3(e,t){return iC(e,t,"monthsShort")}function i3(e,t,r){return Gv(e,t,r,"weekdays")}function a3(e,t,r){return Gv(e,t,r,"weekdaysShort")}function l3(e,t,r){return Gv(e,t,r,"weekdaysMin")}po("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,r=rt(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});ye.lang=an("moment.lang is deprecated. Use moment.locale instead.",po);ye.langData=an("moment.langData is deprecated. Use moment.localeData instead.",Ds);var ns=Math.abs;function c3(){var e=this._data;return this._milliseconds=ns(this._milliseconds),this._days=ns(this._days),this._months=ns(this._months),e.milliseconds=ns(e.milliseconds),e.seconds=ns(e.seconds),e.minutes=ns(e.minutes),e.hours=ns(e.hours),e.months=ns(e.months),e.years=ns(e.years),this}function aC(e,t,r,n){var s=Rn(t,r);return e._milliseconds+=n*s._milliseconds,e._days+=n*s._days,e._months+=n*s._months,e._bubble()}function u3(e,t){return aC(this,e,t,1)}function d3(e,t){return aC(this,e,t,-1)}function cw(e){return e<0?Math.floor(e):Math.ceil(e)}function f3(){var e=this._milliseconds,t=this._days,r=this._months,n=this._data,s,o,i,l,c;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=cw(vm(r)+t)*864e5,t=0,r=0),n.milliseconds=e%1e3,s=en(e/1e3),n.seconds=s%60,o=en(s/60),n.minutes=o%60,i=en(o/60),n.hours=i%24,t+=en(i/24),c=en(lC(t)),r+=c,t-=cw(vm(c)),l=en(r/12),r%=12,n.days=t,n.months=r,n.years=l,this}function lC(e){return e*4800/146097}function vm(e){return e*146097/4800}function h3(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if(e=ln(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+n/864e5,r=this._months+lC(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(vm(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return t*24+n/36e5;case"minute":return t*1440+n/6e4;case"second":return t*86400+n/1e3;case"millisecond":return Math.floor(t*864e5)+n;default:throw new Error("Unknown unit "+e)}}function Os(e){return function(){return this.as(e)}}var cC=Os("ms"),p3=Os("s"),m3=Os("m"),g3=Os("h"),v3=Os("d"),y3=Os("w"),x3=Os("M"),w3=Os("Q"),_3=Os("y"),b3=cC;function S3(){return Rn(this)}function k3(e){return e=ln(e),this.isValid()?this[e+"s"]():NaN}function mi(e){return function(){return this.isValid()?this._data[e]:NaN}}var C3=mi("milliseconds"),j3=mi("seconds"),E3=mi("minutes"),N3=mi("hours"),T3=mi("days"),R3=mi("months"),P3=mi("years");function A3(){return en(this.days()/7)}var as=Math.round,Bi={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function D3(e,t,r,n,s){return s.relativeTime(t||1,!!r,e,n)}function O3(e,t,r,n){var s=Rn(e).abs(),o=as(s.as("s")),i=as(s.as("m")),l=as(s.as("h")),c=as(s.as("d")),u=as(s.as("M")),d=as(s.as("w")),f=as(s.as("y")),m=o<=r.ss&&["s",o]||o0,m[4]=n,D3.apply(null,m)}function M3(e){return e===void 0?as:typeof e=="function"?(as=e,!0):!1}function I3(e,t){return Bi[e]===void 0?!1:t===void 0?Bi[e]:(Bi[e]=t,e==="s"&&(Bi.ss=t-1),!0)}function L3(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=Bi,s,o;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(n=Object.assign({},Bi,t),t.s!=null&&t.ss==null&&(n.ss=t.s-1)),s=this.localeData(),o=O3(this,!r,n,s),r&&(o=s.pastFuture(+this,o)),s.postformat(o)}var Qh=Math.abs;function ji(e){return(e>0)-(e<0)||+e}function $f(){if(!this.isValid())return this.localeData().invalidDate();var e=Qh(this._milliseconds)/1e3,t=Qh(this._days),r=Qh(this._months),n,s,o,i,l=this.asSeconds(),c,u,d,f;return l?(n=en(e/60),s=en(n/60),e%=60,n%=60,o=en(r/12),r%=12,i=e?e.toFixed(3).replace(/\.?0+$/,""):"",c=l<0?"-":"",u=ji(this._months)!==ji(l)?"-":"",d=ji(this._days)!==ji(l)?"-":"",f=ji(this._milliseconds)!==ji(l)?"-":"",c+"P"+(o?u+o+"Y":"")+(r?u+r+"M":"")+(t?d+t+"D":"")+(s||n||e?"T":"")+(s?f+s+"H":"")+(n?f+n+"M":"")+(e?f+i+"S":"")):"P0D"}var it=zf.prototype;it.isValid=R5;it.abs=c3;it.add=u3;it.subtract=d3;it.as=h3;it.asMilliseconds=cC;it.asSeconds=p3;it.asMinutes=m3;it.asHours=g3;it.asDays=v3;it.asWeeks=y3;it.asMonths=x3;it.asQuarters=w3;it.asYears=_3;it.valueOf=b3;it._bubble=f3;it.clone=S3;it.get=k3;it.milliseconds=C3;it.seconds=j3;it.minutes=E3;it.hours=N3;it.days=T3;it.weeks=A3;it.months=R3;it.years=P3;it.humanize=L3;it.toISOString=$f;it.toString=$f;it.toJSON=$f;it.locale=qk;it.localeData=Qk;it.toIsoString=an("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",$f);it.lang=Xk;Ie("X",0,0,"unix");Ie("x",0,0,"valueOf");je("x",Mf);je("X",s4);vt("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});vt("x",function(e,t,r){r._d=new Date(rt(e))});//! moment.js -ye.version="2.30.1";FL(kt);ye.fn=le;ye.min=j5;ye.max=E5;ye.now=N5;ye.utc=Zn;ye.unix=r3;ye.months=s3;ye.isDate=Dc;ye.locale=po;ye.invalid=Pf;ye.duration=Rn;ye.isMoment=jn;ye.weekdays=i3;ye.parseZone=n3;ye.localeData=Ds;ye.isDuration=Hu;ye.monthsShort=o3;ye.weekdaysMin=l3;ye.defineLocale=Uv;ye.updateLocale=n5;ye.locales=s5;ye.weekdaysShort=a3;ye.normalizeUnits=ln;ye.relativeTimeRounding=M3;ye.relativeTimeThreshold=I3;ye.calendarFormat=J5;ye.prototype=le;ye.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 F3=async()=>await st().collection("access").getFullList({sort:"-created",filter:"deleted = null"}),Ms=async e=>e.id?await st().collection("access").update(e.id,e):await st().collection("access").create(e),z3=async e=>(e.deleted=ye.utc().format("YYYY-MM-DD HH:mm:ss"),await st().collection("access").update(e.id,e)),uw=async()=>await st().collection("access_groups").getFullList({sort:"-created",expand:"access"}),U3=async e=>{const t=st();if((await t.collection("access").getList(1,1,{filter:`group='${e}' && deleted=null`})).items.length>0)throw new Error("该分组下有授权配置,无法删除");await t.collection("access_groups").delete(e)},$3=async e=>{const t=st();return e.id?await t.collection("access_groups").update(e.id,e):await t.collection("access_groups").create(e)},dw=async e=>await st().collection("access_groups").update(e.id,e),V3=(e,t)=>{switch(t.type){case"SET_ACCESSES":return{...e,accesses:t.payload};case"ADD_ACCESS":return{...e,accesses:[t.payload,...e.accesses]};case"DELETE_ACCESS":return{...e,accesses:e.accesses.filter(r=>r.id!==t.payload)};case"UPDATE_ACCESS":return{...e,accesses:e.accesses.map(r=>r.id===t.payload.id?t.payload:r)};case"SET_EMAILS":return{...e,emails:t.payload};case"ADD_EMAIL":return{...e,emails:{...e.emails,content:{emails:[...e.emails.content.emails,t.payload]}}};case"SET_ACCESS_GROUPS":return{...e,accessGroups:t.payload};default:return e}},B3=async()=>{try{return await st().collection("settings").getFirstListItem("name='emails'")}catch{return{content:{emails:[]}}}},Zv=async e=>{try{return await st().collection("settings").getFirstListItem(`name='${e}'`)}catch{return{name:e}}},Fa=async e=>{const t=st();let r;return e.id?r=await t.collection("settings").update(e.id,e):r=await t.collection("settings").create(e),r},uC=g.createContext({}),Ar=()=>g.useContext(uC),W3=({children:e})=>{const[t,r]=g.useReducer(V3,{accesses:[],emails:{content:{emails:[]}},accessGroups:[]});g.useEffect(()=>{(async()=>{const d=await F3();r({type:"SET_ACCESSES",payload:d})})()},[]),g.useEffect(()=>{(async()=>{const d=await B3();r({type:"SET_EMAILS",payload:d})})()},[]),g.useEffect(()=>{(async()=>{const d=await uw();r({type:"SET_ACCESS_GROUPS",payload:d})})()},[]);const n=g.useCallback(async()=>{const u=await uw();r({type:"SET_ACCESS_GROUPS",payload:u})},[]),s=g.useCallback(u=>{r({type:"SET_EMAILS",payload:u})},[]),o=g.useCallback(u=>{r({type:"DELETE_ACCESS",payload:u})},[]),i=g.useCallback(u=>{r({type:"ADD_ACCESS",payload:u})},[]),l=g.useCallback(u=>{r({type:"UPDATE_ACCESS",payload:u})},[]),c=g.useCallback(u=>{r({type:"SET_ACCESS_GROUPS",payload:u})},[]);return a.jsx(uC.Provider,{value:{config:{accesses:t.accesses,emails:t.emails,accessGroups:t.accessGroups},deleteAccess:o,addAccess:i,setEmails:s,updateAccess:l,setAccessGroups:c,reloadAccessGroups:n},children:e&&e})},H3={theme:"system",setTheme:()=>null},dC=g.createContext(H3);function Y3({children:e,defaultTheme:t="system",storageKey:r="vite-ui-theme",...n}){const[s,o]=g.useState(()=>localStorage.getItem(r)||t);g.useEffect(()=>{const l=window.document.documentElement;if(l.classList.remove("light","dark"),s==="system"){const c=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";l.classList.add(c);return}l.classList.add(s)},[s]);const i={theme:s,setTheme:l=>{localStorage.setItem(r,l),o(l)}};return a.jsx(dC.Provider,{...n,value:i,children:e})}const K3=()=>{const e=g.useContext(dC);if(e===void 0)throw new Error("useTheme must be used within a ThemeProvider");return e};function G3(){const{setTheme:e}=K3();return a.jsxs(KS,{children:[a.jsx(GS,{asChild:!0,children:a.jsxs(He,{variant:"outline",size:"icon",children:[a.jsx(LA,{className:"h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),a.jsx(OA,{className:"absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100 dark:text-white"}),a.jsx("span",{className:"sr-only",children:"Toggle theme"})]})}),a.jsxs(pv,{align:"end",children:[a.jsx(ta,{onClick:()=>e("light"),children:"浅色"}),a.jsx(ta,{onClick:()=>e("dark"),children:"暗黑"}),a.jsx(ta,{onClick:()=>e("system"),children:"系统"})]})]})}var Z3="Separator",fw="horizontal",q3=["horizontal","vertical"],fC=g.forwardRef((e,t)=>{const{decorative:r,orientation:n=fw,...s}=e,o=X3(n)?n:fw,l=r?{role:"none"}:{"aria-orientation":o==="vertical"?o:void 0,role:"separator"};return a.jsx(Re.div,{"data-orientation":o,...l,...s,ref:t})});fC.displayName=Z3;function X3(e){return q3.includes(e)}var hC=fC;const Bt=g.forwardRef(({className:e,orientation:t="horizontal",decorative:r=!0,...n},s)=>a.jsx(hC,{ref:s,decorative:r,orientation:t,className:oe("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...n}));Bt.displayName=hC.displayName;const Q3="Certimate v0.1.11",pC=()=>a.jsxs("div",{className:"fixed right-0 bottom-0 w-full flex justify-between p-5",children:[a.jsx("div",{className:""}),a.jsxs("div",{className:"text-muted-foreground text-sm hover:text-stone-900 dark:hover:text-stone-200 flex",children:[a.jsxs("a",{href:"https://docs.certimate.me",target:"_blank",className:"flex items-center",children:[a.jsx(bA,{size:16}),a.jsx("div",{className:"ml-1",children:"文档"})]}),a.jsx(Bt,{orientation:"vertical",className:"mx-2"}),a.jsx("a",{href:"https://github.com/usual2970/certimate/releases",target:"_blank",children:Q3})]})]});function J3(){const e=Pr(),t=Nn();if(!st().authStore.isValid||!st().authStore.isAdmin)return a.jsx(ib,{to:"/login"});const r=t.pathname,n=i=>(console.log(r),i==r?"bg-muted text-primary":"text-muted-foreground"),s=()=>{st().authStore.clear(),e("/login")},o=()=>{e("/setting/account")};return a.jsx(a.Fragment,{children:a.jsx(W3,{children:a.jsxs("div",{className:"grid min-h-screen w-full md:grid-cols-[180px_1fr] lg:grid-cols-[200px_1fr] 2xl:md:grid-cols-[280px_1fr] ",children:[a.jsx("div",{className:"hidden border-r dark:border-stone-500 bg-muted/40 md:block",children:a.jsxs("div",{className:"flex h-full max-h-screen flex-col gap-2",children:[a.jsx("div",{className:"flex h-14 items-center border-b dark:border-stone-500 px-4 lg:h-[60px] lg:px-6",children:a.jsxs(gr,{to:"/",className:"flex items-center gap-2 font-semibold",children:[a.jsx("img",{src:"/vite.svg",className:"w-[36px] h-[36px]"}),a.jsx("span",{className:"dark:text-white",children:"Certimate"})]})}),a.jsx("div",{className:"flex-1",children:a.jsxs("nav",{className:"grid items-start px-2 text-sm font-medium lg:px-4",children:[a.jsxs(gr,{to:"/",className:oe("flex items-center gap-3 rounded-lg px-3 py-2 transition-all hover:text-primary",n("/")),children:[a.jsx(E0,{className:"h-4 w-4"}),"控制面板"]}),a.jsxs(gr,{to:"/domains",className:oe("flex items-center gap-3 rounded-lg px-3 py-2 transition-all hover:text-primary",n("/domains")),children:[a.jsx(rm,{className:"h-4 w-4"}),"域名列表"]}),a.jsxs(gr,{to:"/access",className:oe("flex items-center gap-3 rounded-lg px-3 py-2 transition-all hover:text-primary",n("/access")),children:[a.jsx(N0,{className:"h-4 w-4"}),"授权管理"]}),a.jsxs(gr,{to:"/history",className:oe("flex items-center gap-3 rounded-lg px-3 py-2 transition-all hover:text-primary",n("/history")),children:[a.jsx(j0,{className:"h-4 w-4"}),"部署历史"]})]})})]})}),a.jsxs("div",{className:"flex flex-col",children:[a.jsxs("header",{className:"flex h-14 items-center gap-4 border-b dark:border-stone-500 bg-muted/40 px-4 lg:h-[60px] lg:px-6",children:[a.jsxs(bv,{children:[a.jsx(Sv,{asChild:!0,children:a.jsxs(He,{variant:"outline",size:"icon",className:"shrink-0 md:hidden",children:[a.jsx(DA,{className:"h-5 w-5 dark:text-white"}),a.jsx("span",{className:"sr-only",children:"Toggle navigation menu"})]})}),a.jsx(Rf,{side:"left",className:"flex flex-col",children:a.jsxs("nav",{className:"grid gap-2 text-lg font-medium",children:[a.jsxs(gr,{to:"/",className:"flex items-center gap-2 text-lg font-semibold",children:[a.jsx("img",{src:"/vite.svg",className:"w-[36px] h-[36px]"}),a.jsx("span",{className:"dark:text-white",children:"Certimate"}),a.jsx("span",{className:"sr-only",children:"Certimate"})]}),a.jsxs(gr,{to:"/",className:oe("mx-[-0.65rem] flex items-center gap-4 rounded-xl px-3 py-2 hover:text-foreground",n("/")),children:[a.jsx(E0,{className:"h-5 w-5"}),"控制面板"]}),a.jsxs(gr,{to:"/domains",className:oe("mx-[-0.65rem] flex items-center gap-4 rounded-xl px-3 py-2 hover:text-foreground",n("/domains")),children:[a.jsx(rm,{className:"h-5 w-5"}),"域名列表"]}),a.jsxs(gr,{to:"/access",className:oe("mx-[-0.65rem] flex items-center gap-4 rounded-xl px-3 py-2 hover:text-foreground",n("/access")),children:[a.jsx(N0,{className:"h-5 w-5"}),"授权管理"]}),a.jsxs(gr,{to:"/history",className:oe("mx-[-0.65rem] flex items-center gap-4 rounded-xl px-3 py-2 hover:text-foreground",n("/history")),children:[a.jsx(j0,{className:"h-5 w-5"}),"部署历史"]})]})})]}),a.jsx("div",{className:"w-full flex-1"}),a.jsx(G3,{}),a.jsxs(KS,{children:[a.jsx(GS,{asChild:!0,children:a.jsxs(He,{variant:"secondary",size:"icon",className:"rounded-full",children:[a.jsx(EA,{className:"h-5 w-5"}),a.jsx("span",{className:"sr-only",children:"Toggle user menu"})]})}),a.jsxs(pv,{align:"end",children:[a.jsx(ZS,{children:"账户"}),a.jsx(qS,{}),a.jsx(ta,{onClick:o,children:"偏好设置"}),a.jsx(ta,{onClick:s,children:"退出"})]})]})]}),a.jsxs("main",{className:"flex flex-1 flex-col gap-4 p-4 lg:gap-6 lg:p-6 relative",children:[a.jsx(Lg,{}),a.jsx(pC,{})]})]})]})})})}const qv=({phase:e,phaseSuccess:t})=>{let r=a.jsx(a.Fragment,{children:" "});return e==="check"&&(t?r=a.jsxs("div",{className:"flex items-center",children:[a.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"检查 "}),a.jsx(Bt,{className:"h-1 grow"}),a.jsx("div",{className:"text-xs text-nowrap text-muted-foreground",children:"获取"}),a.jsx(Bt,{className:"h-1 grow"}),a.jsx("div",{className:"text-xs text-nowrap text-muted-foreground",children:"部署"})]}):r=a.jsxs("div",{className:"flex items-center",children:[a.jsx("div",{className:"text-xs text-nowrap text-red-600",children:"检查 "}),a.jsx(Bt,{className:"h-1 grow"}),a.jsx("div",{className:"text-xs text-nowrap text-muted-foreground",children:"获取"}),a.jsx(Bt,{className:"h-1 grow"}),a.jsx("div",{className:"text-xs text-nowrap text-muted-foreground",children:"部署"})]})),e==="apply"&&(t?r=a.jsxs("div",{className:"flex items-center",children:[a.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"检查 "}),a.jsx(Bt,{className:"h-1 grow bg-green-600"}),a.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"获取"}),a.jsx(Bt,{className:"h-1 grow"}),a.jsx("div",{className:"text-xs text-nowrap text-muted-foreground",children:"部署"})]}):r=a.jsxs("div",{className:"flex items-center",children:[a.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"检查 "}),a.jsx(Bt,{className:"h-1 grow bg-green-600"}),a.jsx("div",{className:"text-xs text-nowrap text-red-600",children:"获取"}),a.jsx(Bt,{className:"h-1 grow"}),a.jsx("div",{className:"text-xs text-nowrap text-muted-foreground",children:"部署"})]})),e==="deploy"&&(t?r=a.jsxs("div",{className:"flex items-center",children:[a.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"检查 "}),a.jsx(Bt,{className:"h-1 grow bg-green-600"}),a.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"获取"}),a.jsx(Bt,{className:"h-1 grow bg-green-600"}),a.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"部署"})]}):r=a.jsxs("div",{className:"flex items-center",children:[a.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"检查 "}),a.jsx(Bt,{className:"h-1 grow bg-green-600"}),a.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"获取"}),a.jsx(Bt,{className:"h-1 grow bg-green-600"}),a.jsx("div",{className:"text-xs text-nowrap text-red-600",children:"部署"})]})),r};var e6="VisuallyHidden",Lc=g.forwardRef((e,t)=>a.jsx(Re.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));Lc.displayName=e6;var t6=Lc,[Vf,J$]=sr("Tooltip",[Da]),Bf=Da(),mC="TooltipProvider",r6=700,ym="tooltip.open",[n6,Xv]=Vf(mC),Qv=e=>{const{__scopeTooltip:t,delayDuration:r=r6,skipDelayDuration:n=300,disableHoverableContent:s=!1,children:o}=e,[i,l]=g.useState(!0),c=g.useRef(!1),u=g.useRef(0);return g.useEffect(()=>{const d=u.current;return()=>window.clearTimeout(d)},[]),a.jsx(n6,{scope:t,isOpenDelayed:i,delayDuration:r,onOpen:g.useCallback(()=>{window.clearTimeout(u.current),l(!1)},[]),onClose:g.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>l(!0),n)},[n]),isPointerInTransitRef:c,onPointerInTransitChange:g.useCallback(d=>{c.current=d},[]),disableHoverableContent:s,children:o})};Qv.displayName=mC;var Wf="Tooltip",[s6,Hf]=Vf(Wf),gC=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:s=!1,onOpenChange:o,disableHoverableContent:i,delayDuration:l}=e,c=Xv(Wf,e.__scopeTooltip),u=Bf(t),[d,f]=g.useState(null),m=$r(),v=g.useRef(0),x=i??c.disableHoverableContent,y=l??c.delayDuration,_=g.useRef(!1),[p=!1,h]=Yr({prop:n,defaultProp:s,onChange:R=>{R?(c.onOpen(),document.dispatchEvent(new CustomEvent(ym))):c.onClose(),o==null||o(R)}}),w=g.useMemo(()=>p?_.current?"delayed-open":"instant-open":"closed",[p]),C=g.useCallback(()=>{window.clearTimeout(v.current),_.current=!1,h(!0)},[h]),j=g.useCallback(()=>{window.clearTimeout(v.current),h(!1)},[h]),E=g.useCallback(()=>{window.clearTimeout(v.current),v.current=window.setTimeout(()=>{_.current=!0,h(!0)},y)},[y,h]);return g.useEffect(()=>()=>window.clearTimeout(v.current),[]),a.jsx(Jg,{...u,children:a.jsx(s6,{scope:t,contentId:m,open:p,stateAttribute:w,trigger:d,onTriggerChange:f,onTriggerEnter:g.useCallback(()=>{c.isOpenDelayed?E():C()},[c.isOpenDelayed,E,C]),onTriggerLeave:g.useCallback(()=>{x?j():window.clearTimeout(v.current)},[j,x]),onOpen:C,onClose:j,disableHoverableContent:x,children:r})})};gC.displayName=Wf;var xm="TooltipTrigger",vC=g.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,s=Hf(xm,r),o=Xv(xm,r),i=Bf(r),l=g.useRef(null),c=Ke(t,l,s.onTriggerChange),u=g.useRef(!1),d=g.useRef(!1),f=g.useCallback(()=>u.current=!1,[]);return g.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),a.jsx(ev,{asChild:!0,...i,children:a.jsx(Re.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...n,ref:c,onPointerMove:ue(e.onPointerMove,m=>{m.pointerType!=="touch"&&!d.current&&!o.isPointerInTransitRef.current&&(s.onTriggerEnter(),d.current=!0)}),onPointerLeave:ue(e.onPointerLeave,()=>{s.onTriggerLeave(),d.current=!1}),onPointerDown:ue(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:ue(e.onFocus,()=>{u.current||s.onOpen()}),onBlur:ue(e.onBlur,s.onClose),onClick:ue(e.onClick,s.onClose)})})});vC.displayName=xm;var o6="TooltipPortal",[eV,i6]=Vf(o6,{forceMount:void 0}),va="TooltipContent",Jv=g.forwardRef((e,t)=>{const r=i6(va,e.__scopeTooltip),{forceMount:n=r.forceMount,side:s="top",...o}=e,i=Hf(va,e.__scopeTooltip);return a.jsx(or,{present:n||i.open,children:i.disableHoverableContent?a.jsx(yC,{side:s,...o,ref:t}):a.jsx(a6,{side:s,...o,ref:t})})}),a6=g.forwardRef((e,t)=>{const r=Hf(va,e.__scopeTooltip),n=Xv(va,e.__scopeTooltip),s=g.useRef(null),o=Ke(t,s),[i,l]=g.useState(null),{trigger:c,onClose:u}=r,d=s.current,{onPointerInTransitChange:f}=n,m=g.useCallback(()=>{l(null),f(!1)},[f]),v=g.useCallback((x,y)=>{const _=x.currentTarget,p={x:x.clientX,y:x.clientY},h=d6(p,_.getBoundingClientRect()),w=f6(p,h),C=h6(y.getBoundingClientRect()),j=m6([...w,...C]);l(j),f(!0)},[f]);return g.useEffect(()=>()=>m(),[m]),g.useEffect(()=>{if(c&&d){const x=_=>v(_,d),y=_=>v(_,c);return c.addEventListener("pointerleave",x),d.addEventListener("pointerleave",y),()=>{c.removeEventListener("pointerleave",x),d.removeEventListener("pointerleave",y)}}},[c,d,v,m]),g.useEffect(()=>{if(i){const x=y=>{const _=y.target,p={x:y.clientX,y:y.clientY},h=(c==null?void 0:c.contains(_))||(d==null?void 0:d.contains(_)),w=!p6(p,i);h?m():w&&(m(),u())};return document.addEventListener("pointermove",x),()=>document.removeEventListener("pointermove",x)}},[c,d,i,u,m]),a.jsx(yC,{...e,ref:o})}),[l6,c6]=Vf(Wf,{isInside:!1}),yC=g.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":s,onEscapeKeyDown:o,onPointerDownOutside:i,...l}=e,c=Hf(va,r),u=Bf(r),{onClose:d}=c;return g.useEffect(()=>(document.addEventListener(ym,d),()=>document.removeEventListener(ym,d)),[d]),g.useEffect(()=>{if(c.trigger){const f=m=>{const v=m.target;v!=null&&v.contains(c.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[c.trigger,d]),a.jsx(Ra,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:f=>f.preventDefault(),onDismiss:d,children:a.jsxs(tv,{"data-state":c.stateAttribute,...u,...l,ref:t,style:{...l.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[a.jsx(Ug,{children:n}),a.jsx(l6,{scope:r,isInside:!0,children:a.jsx(t6,{id:c.contentId,role:"tooltip",children:s||n})})]})})});Jv.displayName=va;var xC="TooltipArrow",u6=g.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,s=Bf(r);return c6(xC,r).isInside?null:a.jsx(rv,{...s,...n,ref:t})});u6.displayName=xC;function d6(e,t){const r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),s=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(r,n,s,o)){case o:return"left";case s:return"right";case r:return"top";case n:return"bottom";default:throw new Error("unreachable")}}function f6(e,t,r=5){const n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return n}function h6(e){const{top:t,right:r,bottom:n,left:s}=e;return[{x:s,y:t},{x:r,y:t},{x:r,y:n},{x:s,y:n}]}function p6(e,t){const{x:r,y:n}=e;let s=!1;for(let o=0,i=t.length-1;on!=d>n&&r<(u-l)*(n-c)/(d-c)+l&&(s=!s)}return s}function m6(e){const t=e.slice();return t.sort((r,n)=>r.xn.x?1:r.yn.y?1:0),g6(t)}function g6(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n=2;){const o=t[t.length-1],i=t[t.length-2];if((o.x-i.x)*(s.y-i.y)>=(o.y-i.y)*(s.x-i.x))t.pop();else break}t.push(s)}t.pop();const r=[];for(let n=e.length-1;n>=0;n--){const s=e[n];for(;r.length>=2;){const o=r[r.length-1],i=r[r.length-2];if((o.x-i.x)*(s.y-i.y)>=(o.y-i.y)*(s.x-i.x))r.pop();else break}r.push(s)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}var v6=Qv,y6=gC,x6=vC,wC=Jv;const w6=v6,_C=y6,bC=x6,SC=g.forwardRef(({className:e,sideOffset:t=4,...r},n)=>a.jsx(wC,{ref:n,sideOffset:t,className:oe("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r}));SC.displayName=wC.displayName;const ey=({deployment:e})=>{const t=r=>e.log[r]?e.log[r][e.log[r].length-1].error:"";return a.jsx(a.Fragment,{children:e.phase==="deploy"&&e.phaseSuccess||e.wholeSuccess?a.jsx(jA,{size:16,className:"text-green-700"}):a.jsx(a.Fragment,{children:t(e.phase).length?a.jsx(w6,{children:a.jsxs(_C,{children:[a.jsx(bC,{asChild:!0,className:"cursor-pointer",children:a.jsx(k0,{size:16,className:"text-red-700"})}),a.jsx(SC,{className:"max-w-[35em]",children:t(e.phase)})]})}):a.jsx(k0,{size:16,className:"text-red-700"})})})},kC=({className:e,...t})=>a.jsx("nav",{role:"navigation","aria-label":"pagination",className:oe("mx-auto flex w-full justify-center",e),...t});kC.displayName="Pagination";const CC=g.forwardRef(({className:e,...t},r)=>a.jsx("ul",{ref:r,className:oe("flex flex-row items-center gap-1",e),...t}));CC.displayName="PaginationContent";const wm=g.forwardRef(({className:e,...t},r)=>a.jsx("li",{ref:r,className:oe("",e),...t}));wm.displayName="PaginationItem";const jC=({className:e,isActive:t,size:r="icon",...n})=>a.jsx("a",{"aria-current":t?"page":void 0,className:oe(wf({variant:t?"outline":"ghost",size:r}),e),...n});jC.displayName="PaginationLink";const EC=({className:e,...t})=>a.jsxs("span",{"aria-hidden":!0,className:oe("flex h-9 w-9 items-center justify-center",e),...t,children:[a.jsx(NA,{className:"h-4 w-4"}),a.jsx("span",{className:"sr-only",children:"More pages"})]});EC.displayName="PaginationEllipsis";const NC=({totalPages:e,currentPage:t,onPageChange:r})=>{const s=()=>{if(e>7){let u=[];const d=Math.max(2,t-1),f=Math.min(e-1,t+1),m=e-1;return u=o(d,f),t>3&&u.unshift("..."),t{let d=l;const f=[];for(;d<=c;)f.push(d),d+=u;return f},i=s();return a.jsx(a.Fragment,{children:a.jsx(kC,{className:"dark:text-stone-200 justify-end mt-3",children:a.jsx(CC,{children:i.map((l,c)=>l==="..."?a.jsx(wm,{children:a.jsx(EC,{})},c):a.jsx(wm,{children:a.jsx(jC,{href:"#",isActive:t==l,onClick:u=>{u.preventDefault(),r(l)},children:l})},c))})})})},ia=({when:e,children:t,fallback:r})=>e?t:r;var TC="AlertDialog",[_6,tV]=sr(TC,[QS]),Is=QS(),RC=e=>{const{__scopeAlertDialog:t,...r}=e,n=Is(t);return a.jsx(xv,{...n,...r,modal:!0})};RC.displayName=TC;var b6="AlertDialogTrigger",PC=g.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,s=Is(r);return a.jsx(wv,{...s,...n,ref:t})});PC.displayName=b6;var S6="AlertDialogPortal",AC=e=>{const{__scopeAlertDialog:t,...r}=e,n=Is(t);return a.jsx(_v,{...n,...r})};AC.displayName=S6;var k6="AlertDialogOverlay",DC=g.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,s=Is(r);return a.jsx(Tc,{...s,...n,ref:t})});DC.displayName=k6;var aa="AlertDialogContent",[C6,j6]=_6(aa),OC=g.forwardRef((e,t)=>{const{__scopeAlertDialog:r,children:n,...s}=e,o=Is(r),i=g.useRef(null),l=Ke(t,i),c=g.useRef(null);return a.jsx(hL,{contentName:aa,titleName:MC,docsSlug:"alert-dialog",children:a.jsx(C6,{scope:r,cancelRef:c,children:a.jsxs(Rc,{role:"alertdialog",...o,...s,ref:l,onOpenAutoFocus:ue(s.onOpenAutoFocus,u=>{var d;u.preventDefault(),(d=c.current)==null||d.focus({preventScroll:!0})}),onPointerDownOutside:u=>u.preventDefault(),onInteractOutside:u=>u.preventDefault(),children:[a.jsx(Ug,{children:n}),a.jsx(N6,{contentRef:i})]})})})});OC.displayName=aa;var MC="AlertDialogTitle",IC=g.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,s=Is(r);return a.jsx(Pc,{...s,...n,ref:t})});IC.displayName=MC;var LC="AlertDialogDescription",FC=g.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,s=Is(r);return a.jsx(Ac,{...s,...n,ref:t})});FC.displayName=LC;var E6="AlertDialogAction",zC=g.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,s=Is(r);return a.jsx(Tf,{...s,...n,ref:t})});zC.displayName=E6;var UC="AlertDialogCancel",$C=g.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,{cancelRef:s}=j6(UC,r),o=Is(r),i=Ke(t,s);return a.jsx(Tf,{...o,...n,ref:i})});$C.displayName=UC;var N6=({contentRef:e})=>{const t=`\`${aa}\` requires a description for the component to be accessible for screen reader users. +ye.version="2.30.1";FL(kt);ye.fn=le;ye.min=j5;ye.max=E5;ye.now=N5;ye.utc=Zn;ye.unix=r3;ye.months=s3;ye.isDate=Dc;ye.locale=po;ye.invalid=Pf;ye.duration=Rn;ye.isMoment=jn;ye.weekdays=i3;ye.parseZone=n3;ye.localeData=Ds;ye.isDuration=Hu;ye.monthsShort=o3;ye.weekdaysMin=l3;ye.defineLocale=Uv;ye.updateLocale=n5;ye.locales=s5;ye.weekdaysShort=a3;ye.normalizeUnits=ln;ye.relativeTimeRounding=M3;ye.relativeTimeThreshold=I3;ye.calendarFormat=J5;ye.prototype=le;ye.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 F3=async()=>await st().collection("access").getFullList({sort:"-created",filter:"deleted = null"}),Ms=async e=>e.id?await st().collection("access").update(e.id,e):await st().collection("access").create(e),z3=async e=>(e.deleted=ye.utc().format("YYYY-MM-DD HH:mm:ss"),await st().collection("access").update(e.id,e)),uw=async()=>await st().collection("access_groups").getFullList({sort:"-created",expand:"access"}),U3=async e=>{const t=st();if((await t.collection("access").getList(1,1,{filter:`group='${e}' && deleted=null`})).items.length>0)throw new Error("该分组下有授权配置,无法删除");await t.collection("access_groups").delete(e)},$3=async e=>{const t=st();return e.id?await t.collection("access_groups").update(e.id,e):await t.collection("access_groups").create(e)},dw=async e=>await st().collection("access_groups").update(e.id,e),V3=(e,t)=>{switch(t.type){case"SET_ACCESSES":return{...e,accesses:t.payload};case"ADD_ACCESS":return{...e,accesses:[t.payload,...e.accesses]};case"DELETE_ACCESS":return{...e,accesses:e.accesses.filter(r=>r.id!==t.payload)};case"UPDATE_ACCESS":return{...e,accesses:e.accesses.map(r=>r.id===t.payload.id?t.payload:r)};case"SET_EMAILS":return{...e,emails:t.payload};case"ADD_EMAIL":return{...e,emails:{...e.emails,content:{emails:[...e.emails.content.emails,t.payload]}}};case"SET_ACCESS_GROUPS":return{...e,accessGroups:t.payload};default:return e}},B3=async()=>{try{return await st().collection("settings").getFirstListItem("name='emails'")}catch{return{content:{emails:[]}}}},Zv=async e=>{try{return await st().collection("settings").getFirstListItem(`name='${e}'`)}catch{return{name:e}}},Fa=async e=>{const t=st();let r;return e.id?r=await t.collection("settings").update(e.id,e):r=await t.collection("settings").create(e),r},uC=g.createContext({}),Ar=()=>g.useContext(uC),W3=({children:e})=>{const[t,r]=g.useReducer(V3,{accesses:[],emails:{content:{emails:[]}},accessGroups:[]});g.useEffect(()=>{(async()=>{const d=await F3();r({type:"SET_ACCESSES",payload:d})})()},[]),g.useEffect(()=>{(async()=>{const d=await B3();r({type:"SET_EMAILS",payload:d})})()},[]),g.useEffect(()=>{(async()=>{const d=await uw();r({type:"SET_ACCESS_GROUPS",payload:d})})()},[]);const n=g.useCallback(async()=>{const u=await uw();r({type:"SET_ACCESS_GROUPS",payload:u})},[]),s=g.useCallback(u=>{r({type:"SET_EMAILS",payload:u})},[]),o=g.useCallback(u=>{r({type:"DELETE_ACCESS",payload:u})},[]),i=g.useCallback(u=>{r({type:"ADD_ACCESS",payload:u})},[]),l=g.useCallback(u=>{r({type:"UPDATE_ACCESS",payload:u})},[]),c=g.useCallback(u=>{r({type:"SET_ACCESS_GROUPS",payload:u})},[]);return a.jsx(uC.Provider,{value:{config:{accesses:t.accesses,emails:t.emails,accessGroups:t.accessGroups},deleteAccess:o,addAccess:i,setEmails:s,updateAccess:l,setAccessGroups:c,reloadAccessGroups:n},children:e&&e})},H3={theme:"system",setTheme:()=>null},dC=g.createContext(H3);function Y3({children:e,defaultTheme:t="system",storageKey:r="vite-ui-theme",...n}){const[s,o]=g.useState(()=>localStorage.getItem(r)||t);g.useEffect(()=>{const l=window.document.documentElement;if(l.classList.remove("light","dark"),s==="system"){const c=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";l.classList.add(c);return}l.classList.add(s)},[s]);const i={theme:s,setTheme:l=>{localStorage.setItem(r,l),o(l)}};return a.jsx(dC.Provider,{...n,value:i,children:e})}const K3=()=>{const e=g.useContext(dC);if(e===void 0)throw new Error("useTheme must be used within a ThemeProvider");return e};function G3(){const{setTheme:e}=K3();return a.jsxs(KS,{children:[a.jsx(GS,{asChild:!0,children:a.jsxs(He,{variant:"outline",size:"icon",children:[a.jsx(LA,{className:"h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),a.jsx(OA,{className:"absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100 dark:text-white"}),a.jsx("span",{className:"sr-only",children:"Toggle theme"})]})}),a.jsxs(pv,{align:"end",children:[a.jsx(ta,{onClick:()=>e("light"),children:"浅色"}),a.jsx(ta,{onClick:()=>e("dark"),children:"暗黑"}),a.jsx(ta,{onClick:()=>e("system"),children:"系统"})]})]})}var Z3="Separator",fw="horizontal",q3=["horizontal","vertical"],fC=g.forwardRef((e,t)=>{const{decorative:r,orientation:n=fw,...s}=e,o=X3(n)?n:fw,l=r?{role:"none"}:{"aria-orientation":o==="vertical"?o:void 0,role:"separator"};return a.jsx(Re.div,{"data-orientation":o,...l,...s,ref:t})});fC.displayName=Z3;function X3(e){return q3.includes(e)}var hC=fC;const Bt=g.forwardRef(({className:e,orientation:t="horizontal",decorative:r=!0,...n},s)=>a.jsx(hC,{ref:s,decorative:r,orientation:t,className:oe("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...n}));Bt.displayName=hC.displayName;const Q3="Certimate v0.1.12",pC=()=>a.jsxs("div",{className:"fixed right-0 bottom-0 w-full flex justify-between p-5",children:[a.jsx("div",{className:""}),a.jsxs("div",{className:"text-muted-foreground text-sm hover:text-stone-900 dark:hover:text-stone-200 flex",children:[a.jsxs("a",{href:"https://docs.certimate.me",target:"_blank",className:"flex items-center",children:[a.jsx(bA,{size:16}),a.jsx("div",{className:"ml-1",children:"文档"})]}),a.jsx(Bt,{orientation:"vertical",className:"mx-2"}),a.jsx("a",{href:"https://github.com/usual2970/certimate/releases",target:"_blank",children:Q3})]})]});function J3(){const e=Pr(),t=Nn();if(!st().authStore.isValid||!st().authStore.isAdmin)return a.jsx(ib,{to:"/login"});const r=t.pathname,n=i=>(console.log(r),i==r?"bg-muted text-primary":"text-muted-foreground"),s=()=>{st().authStore.clear(),e("/login")},o=()=>{e("/setting/account")};return a.jsx(a.Fragment,{children:a.jsx(W3,{children:a.jsxs("div",{className:"grid min-h-screen w-full md:grid-cols-[180px_1fr] lg:grid-cols-[200px_1fr] 2xl:md:grid-cols-[280px_1fr] ",children:[a.jsx("div",{className:"hidden border-r dark:border-stone-500 bg-muted/40 md:block",children:a.jsxs("div",{className:"flex h-full max-h-screen flex-col gap-2",children:[a.jsx("div",{className:"flex h-14 items-center border-b dark:border-stone-500 px-4 lg:h-[60px] lg:px-6",children:a.jsxs(gr,{to:"/",className:"flex items-center gap-2 font-semibold",children:[a.jsx("img",{src:"/vite.svg",className:"w-[36px] h-[36px]"}),a.jsx("span",{className:"dark:text-white",children:"Certimate"})]})}),a.jsx("div",{className:"flex-1",children:a.jsxs("nav",{className:"grid items-start px-2 text-sm font-medium lg:px-4",children:[a.jsxs(gr,{to:"/",className:oe("flex items-center gap-3 rounded-lg px-3 py-2 transition-all hover:text-primary",n("/")),children:[a.jsx(E0,{className:"h-4 w-4"}),"控制面板"]}),a.jsxs(gr,{to:"/domains",className:oe("flex items-center gap-3 rounded-lg px-3 py-2 transition-all hover:text-primary",n("/domains")),children:[a.jsx(rm,{className:"h-4 w-4"}),"域名列表"]}),a.jsxs(gr,{to:"/access",className:oe("flex items-center gap-3 rounded-lg px-3 py-2 transition-all hover:text-primary",n("/access")),children:[a.jsx(N0,{className:"h-4 w-4"}),"授权管理"]}),a.jsxs(gr,{to:"/history",className:oe("flex items-center gap-3 rounded-lg px-3 py-2 transition-all hover:text-primary",n("/history")),children:[a.jsx(j0,{className:"h-4 w-4"}),"部署历史"]})]})})]})}),a.jsxs("div",{className:"flex flex-col",children:[a.jsxs("header",{className:"flex h-14 items-center gap-4 border-b dark:border-stone-500 bg-muted/40 px-4 lg:h-[60px] lg:px-6",children:[a.jsxs(bv,{children:[a.jsx(Sv,{asChild:!0,children:a.jsxs(He,{variant:"outline",size:"icon",className:"shrink-0 md:hidden",children:[a.jsx(DA,{className:"h-5 w-5 dark:text-white"}),a.jsx("span",{className:"sr-only",children:"Toggle navigation menu"})]})}),a.jsx(Rf,{side:"left",className:"flex flex-col",children:a.jsxs("nav",{className:"grid gap-2 text-lg font-medium",children:[a.jsxs(gr,{to:"/",className:"flex items-center gap-2 text-lg font-semibold",children:[a.jsx("img",{src:"/vite.svg",className:"w-[36px] h-[36px]"}),a.jsx("span",{className:"dark:text-white",children:"Certimate"}),a.jsx("span",{className:"sr-only",children:"Certimate"})]}),a.jsxs(gr,{to:"/",className:oe("mx-[-0.65rem] flex items-center gap-4 rounded-xl px-3 py-2 hover:text-foreground",n("/")),children:[a.jsx(E0,{className:"h-5 w-5"}),"控制面板"]}),a.jsxs(gr,{to:"/domains",className:oe("mx-[-0.65rem] flex items-center gap-4 rounded-xl px-3 py-2 hover:text-foreground",n("/domains")),children:[a.jsx(rm,{className:"h-5 w-5"}),"域名列表"]}),a.jsxs(gr,{to:"/access",className:oe("mx-[-0.65rem] flex items-center gap-4 rounded-xl px-3 py-2 hover:text-foreground",n("/access")),children:[a.jsx(N0,{className:"h-5 w-5"}),"授权管理"]}),a.jsxs(gr,{to:"/history",className:oe("mx-[-0.65rem] flex items-center gap-4 rounded-xl px-3 py-2 hover:text-foreground",n("/history")),children:[a.jsx(j0,{className:"h-5 w-5"}),"部署历史"]})]})})]}),a.jsx("div",{className:"w-full flex-1"}),a.jsx(G3,{}),a.jsxs(KS,{children:[a.jsx(GS,{asChild:!0,children:a.jsxs(He,{variant:"secondary",size:"icon",className:"rounded-full",children:[a.jsx(EA,{className:"h-5 w-5"}),a.jsx("span",{className:"sr-only",children:"Toggle user menu"})]})}),a.jsxs(pv,{align:"end",children:[a.jsx(ZS,{children:"账户"}),a.jsx(qS,{}),a.jsx(ta,{onClick:o,children:"偏好设置"}),a.jsx(ta,{onClick:s,children:"退出"})]})]})]}),a.jsxs("main",{className:"flex flex-1 flex-col gap-4 p-4 lg:gap-6 lg:p-6 relative",children:[a.jsx(Lg,{}),a.jsx(pC,{})]})]})]})})})}const qv=({phase:e,phaseSuccess:t})=>{let r=a.jsx(a.Fragment,{children:" "});return e==="check"&&(t?r=a.jsxs("div",{className:"flex items-center",children:[a.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"检查 "}),a.jsx(Bt,{className:"h-1 grow"}),a.jsx("div",{className:"text-xs text-nowrap text-muted-foreground",children:"获取"}),a.jsx(Bt,{className:"h-1 grow"}),a.jsx("div",{className:"text-xs text-nowrap text-muted-foreground",children:"部署"})]}):r=a.jsxs("div",{className:"flex items-center",children:[a.jsx("div",{className:"text-xs text-nowrap text-red-600",children:"检查 "}),a.jsx(Bt,{className:"h-1 grow"}),a.jsx("div",{className:"text-xs text-nowrap text-muted-foreground",children:"获取"}),a.jsx(Bt,{className:"h-1 grow"}),a.jsx("div",{className:"text-xs text-nowrap text-muted-foreground",children:"部署"})]})),e==="apply"&&(t?r=a.jsxs("div",{className:"flex items-center",children:[a.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"检查 "}),a.jsx(Bt,{className:"h-1 grow bg-green-600"}),a.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"获取"}),a.jsx(Bt,{className:"h-1 grow"}),a.jsx("div",{className:"text-xs text-nowrap text-muted-foreground",children:"部署"})]}):r=a.jsxs("div",{className:"flex items-center",children:[a.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"检查 "}),a.jsx(Bt,{className:"h-1 grow bg-green-600"}),a.jsx("div",{className:"text-xs text-nowrap text-red-600",children:"获取"}),a.jsx(Bt,{className:"h-1 grow"}),a.jsx("div",{className:"text-xs text-nowrap text-muted-foreground",children:"部署"})]})),e==="deploy"&&(t?r=a.jsxs("div",{className:"flex items-center",children:[a.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"检查 "}),a.jsx(Bt,{className:"h-1 grow bg-green-600"}),a.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"获取"}),a.jsx(Bt,{className:"h-1 grow bg-green-600"}),a.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"部署"})]}):r=a.jsxs("div",{className:"flex items-center",children:[a.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"检查 "}),a.jsx(Bt,{className:"h-1 grow bg-green-600"}),a.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"获取"}),a.jsx(Bt,{className:"h-1 grow bg-green-600"}),a.jsx("div",{className:"text-xs text-nowrap text-red-600",children:"部署"})]})),r};var e6="VisuallyHidden",Lc=g.forwardRef((e,t)=>a.jsx(Re.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));Lc.displayName=e6;var t6=Lc,[Vf,J$]=sr("Tooltip",[Da]),Bf=Da(),mC="TooltipProvider",r6=700,ym="tooltip.open",[n6,Xv]=Vf(mC),Qv=e=>{const{__scopeTooltip:t,delayDuration:r=r6,skipDelayDuration:n=300,disableHoverableContent:s=!1,children:o}=e,[i,l]=g.useState(!0),c=g.useRef(!1),u=g.useRef(0);return g.useEffect(()=>{const d=u.current;return()=>window.clearTimeout(d)},[]),a.jsx(n6,{scope:t,isOpenDelayed:i,delayDuration:r,onOpen:g.useCallback(()=>{window.clearTimeout(u.current),l(!1)},[]),onClose:g.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>l(!0),n)},[n]),isPointerInTransitRef:c,onPointerInTransitChange:g.useCallback(d=>{c.current=d},[]),disableHoverableContent:s,children:o})};Qv.displayName=mC;var Wf="Tooltip",[s6,Hf]=Vf(Wf),gC=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:s=!1,onOpenChange:o,disableHoverableContent:i,delayDuration:l}=e,c=Xv(Wf,e.__scopeTooltip),u=Bf(t),[d,f]=g.useState(null),m=$r(),v=g.useRef(0),x=i??c.disableHoverableContent,y=l??c.delayDuration,_=g.useRef(!1),[p=!1,h]=Yr({prop:n,defaultProp:s,onChange:R=>{R?(c.onOpen(),document.dispatchEvent(new CustomEvent(ym))):c.onClose(),o==null||o(R)}}),w=g.useMemo(()=>p?_.current?"delayed-open":"instant-open":"closed",[p]),C=g.useCallback(()=>{window.clearTimeout(v.current),_.current=!1,h(!0)},[h]),j=g.useCallback(()=>{window.clearTimeout(v.current),h(!1)},[h]),E=g.useCallback(()=>{window.clearTimeout(v.current),v.current=window.setTimeout(()=>{_.current=!0,h(!0)},y)},[y,h]);return g.useEffect(()=>()=>window.clearTimeout(v.current),[]),a.jsx(Jg,{...u,children:a.jsx(s6,{scope:t,contentId:m,open:p,stateAttribute:w,trigger:d,onTriggerChange:f,onTriggerEnter:g.useCallback(()=>{c.isOpenDelayed?E():C()},[c.isOpenDelayed,E,C]),onTriggerLeave:g.useCallback(()=>{x?j():window.clearTimeout(v.current)},[j,x]),onOpen:C,onClose:j,disableHoverableContent:x,children:r})})};gC.displayName=Wf;var xm="TooltipTrigger",vC=g.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,s=Hf(xm,r),o=Xv(xm,r),i=Bf(r),l=g.useRef(null),c=Ke(t,l,s.onTriggerChange),u=g.useRef(!1),d=g.useRef(!1),f=g.useCallback(()=>u.current=!1,[]);return g.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),a.jsx(ev,{asChild:!0,...i,children:a.jsx(Re.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...n,ref:c,onPointerMove:ue(e.onPointerMove,m=>{m.pointerType!=="touch"&&!d.current&&!o.isPointerInTransitRef.current&&(s.onTriggerEnter(),d.current=!0)}),onPointerLeave:ue(e.onPointerLeave,()=>{s.onTriggerLeave(),d.current=!1}),onPointerDown:ue(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:ue(e.onFocus,()=>{u.current||s.onOpen()}),onBlur:ue(e.onBlur,s.onClose),onClick:ue(e.onClick,s.onClose)})})});vC.displayName=xm;var o6="TooltipPortal",[eV,i6]=Vf(o6,{forceMount:void 0}),va="TooltipContent",Jv=g.forwardRef((e,t)=>{const r=i6(va,e.__scopeTooltip),{forceMount:n=r.forceMount,side:s="top",...o}=e,i=Hf(va,e.__scopeTooltip);return a.jsx(or,{present:n||i.open,children:i.disableHoverableContent?a.jsx(yC,{side:s,...o,ref:t}):a.jsx(a6,{side:s,...o,ref:t})})}),a6=g.forwardRef((e,t)=>{const r=Hf(va,e.__scopeTooltip),n=Xv(va,e.__scopeTooltip),s=g.useRef(null),o=Ke(t,s),[i,l]=g.useState(null),{trigger:c,onClose:u}=r,d=s.current,{onPointerInTransitChange:f}=n,m=g.useCallback(()=>{l(null),f(!1)},[f]),v=g.useCallback((x,y)=>{const _=x.currentTarget,p={x:x.clientX,y:x.clientY},h=d6(p,_.getBoundingClientRect()),w=f6(p,h),C=h6(y.getBoundingClientRect()),j=m6([...w,...C]);l(j),f(!0)},[f]);return g.useEffect(()=>()=>m(),[m]),g.useEffect(()=>{if(c&&d){const x=_=>v(_,d),y=_=>v(_,c);return c.addEventListener("pointerleave",x),d.addEventListener("pointerleave",y),()=>{c.removeEventListener("pointerleave",x),d.removeEventListener("pointerleave",y)}}},[c,d,v,m]),g.useEffect(()=>{if(i){const x=y=>{const _=y.target,p={x:y.clientX,y:y.clientY},h=(c==null?void 0:c.contains(_))||(d==null?void 0:d.contains(_)),w=!p6(p,i);h?m():w&&(m(),u())};return document.addEventListener("pointermove",x),()=>document.removeEventListener("pointermove",x)}},[c,d,i,u,m]),a.jsx(yC,{...e,ref:o})}),[l6,c6]=Vf(Wf,{isInside:!1}),yC=g.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":s,onEscapeKeyDown:o,onPointerDownOutside:i,...l}=e,c=Hf(va,r),u=Bf(r),{onClose:d}=c;return g.useEffect(()=>(document.addEventListener(ym,d),()=>document.removeEventListener(ym,d)),[d]),g.useEffect(()=>{if(c.trigger){const f=m=>{const v=m.target;v!=null&&v.contains(c.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[c.trigger,d]),a.jsx(Ra,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:f=>f.preventDefault(),onDismiss:d,children:a.jsxs(tv,{"data-state":c.stateAttribute,...u,...l,ref:t,style:{...l.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[a.jsx(Ug,{children:n}),a.jsx(l6,{scope:r,isInside:!0,children:a.jsx(t6,{id:c.contentId,role:"tooltip",children:s||n})})]})})});Jv.displayName=va;var xC="TooltipArrow",u6=g.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,s=Bf(r);return c6(xC,r).isInside?null:a.jsx(rv,{...s,...n,ref:t})});u6.displayName=xC;function d6(e,t){const r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),s=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(r,n,s,o)){case o:return"left";case s:return"right";case r:return"top";case n:return"bottom";default:throw new Error("unreachable")}}function f6(e,t,r=5){const n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return n}function h6(e){const{top:t,right:r,bottom:n,left:s}=e;return[{x:s,y:t},{x:r,y:t},{x:r,y:n},{x:s,y:n}]}function p6(e,t){const{x:r,y:n}=e;let s=!1;for(let o=0,i=t.length-1;on!=d>n&&r<(u-l)*(n-c)/(d-c)+l&&(s=!s)}return s}function m6(e){const t=e.slice();return t.sort((r,n)=>r.xn.x?1:r.yn.y?1:0),g6(t)}function g6(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n=2;){const o=t[t.length-1],i=t[t.length-2];if((o.x-i.x)*(s.y-i.y)>=(o.y-i.y)*(s.x-i.x))t.pop();else break}t.push(s)}t.pop();const r=[];for(let n=e.length-1;n>=0;n--){const s=e[n];for(;r.length>=2;){const o=r[r.length-1],i=r[r.length-2];if((o.x-i.x)*(s.y-i.y)>=(o.y-i.y)*(s.x-i.x))r.pop();else break}r.push(s)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}var v6=Qv,y6=gC,x6=vC,wC=Jv;const w6=v6,_C=y6,bC=x6,SC=g.forwardRef(({className:e,sideOffset:t=4,...r},n)=>a.jsx(wC,{ref:n,sideOffset:t,className:oe("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r}));SC.displayName=wC.displayName;const ey=({deployment:e})=>{const t=r=>e.log[r]?e.log[r][e.log[r].length-1].error:"";return a.jsx(a.Fragment,{children:e.phase==="deploy"&&e.phaseSuccess||e.wholeSuccess?a.jsx(jA,{size:16,className:"text-green-700"}):a.jsx(a.Fragment,{children:t(e.phase).length?a.jsx(w6,{children:a.jsxs(_C,{children:[a.jsx(bC,{asChild:!0,className:"cursor-pointer",children:a.jsx(k0,{size:16,className:"text-red-700"})}),a.jsx(SC,{className:"max-w-[35em]",children:t(e.phase)})]})}):a.jsx(k0,{size:16,className:"text-red-700"})})})},kC=({className:e,...t})=>a.jsx("nav",{role:"navigation","aria-label":"pagination",className:oe("mx-auto flex w-full justify-center",e),...t});kC.displayName="Pagination";const CC=g.forwardRef(({className:e,...t},r)=>a.jsx("ul",{ref:r,className:oe("flex flex-row items-center gap-1",e),...t}));CC.displayName="PaginationContent";const wm=g.forwardRef(({className:e,...t},r)=>a.jsx("li",{ref:r,className:oe("",e),...t}));wm.displayName="PaginationItem";const jC=({className:e,isActive:t,size:r="icon",...n})=>a.jsx("a",{"aria-current":t?"page":void 0,className:oe(wf({variant:t?"outline":"ghost",size:r}),e),...n});jC.displayName="PaginationLink";const EC=({className:e,...t})=>a.jsxs("span",{"aria-hidden":!0,className:oe("flex h-9 w-9 items-center justify-center",e),...t,children:[a.jsx(NA,{className:"h-4 w-4"}),a.jsx("span",{className:"sr-only",children:"More pages"})]});EC.displayName="PaginationEllipsis";const NC=({totalPages:e,currentPage:t,onPageChange:r})=>{const s=()=>{if(e>7){let u=[];const d=Math.max(2,t-1),f=Math.min(e-1,t+1),m=e-1;return u=o(d,f),t>3&&u.unshift("..."),t{let d=l;const f=[];for(;d<=c;)f.push(d),d+=u;return f},i=s();return a.jsx(a.Fragment,{children:a.jsx(kC,{className:"dark:text-stone-200 justify-end mt-3",children:a.jsx(CC,{children:i.map((l,c)=>l==="..."?a.jsx(wm,{children:a.jsx(EC,{})},c):a.jsx(wm,{children:a.jsx(jC,{href:"#",isActive:t==l,onClick:u=>{u.preventDefault(),r(l)},children:l})},c))})})})},ia=({when:e,children:t,fallback:r})=>e?t:r;var TC="AlertDialog",[_6,tV]=sr(TC,[QS]),Is=QS(),RC=e=>{const{__scopeAlertDialog:t,...r}=e,n=Is(t);return a.jsx(xv,{...n,...r,modal:!0})};RC.displayName=TC;var b6="AlertDialogTrigger",PC=g.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,s=Is(r);return a.jsx(wv,{...s,...n,ref:t})});PC.displayName=b6;var S6="AlertDialogPortal",AC=e=>{const{__scopeAlertDialog:t,...r}=e,n=Is(t);return a.jsx(_v,{...n,...r})};AC.displayName=S6;var k6="AlertDialogOverlay",DC=g.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,s=Is(r);return a.jsx(Tc,{...s,...n,ref:t})});DC.displayName=k6;var aa="AlertDialogContent",[C6,j6]=_6(aa),OC=g.forwardRef((e,t)=>{const{__scopeAlertDialog:r,children:n,...s}=e,o=Is(r),i=g.useRef(null),l=Ke(t,i),c=g.useRef(null);return a.jsx(hL,{contentName:aa,titleName:MC,docsSlug:"alert-dialog",children:a.jsx(C6,{scope:r,cancelRef:c,children:a.jsxs(Rc,{role:"alertdialog",...o,...s,ref:l,onOpenAutoFocus:ue(s.onOpenAutoFocus,u=>{var d;u.preventDefault(),(d=c.current)==null||d.focus({preventScroll:!0})}),onPointerDownOutside:u=>u.preventDefault(),onInteractOutside:u=>u.preventDefault(),children:[a.jsx(Ug,{children:n}),a.jsx(N6,{contentRef:i})]})})})});OC.displayName=aa;var MC="AlertDialogTitle",IC=g.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,s=Is(r);return a.jsx(Pc,{...s,...n,ref:t})});IC.displayName=MC;var LC="AlertDialogDescription",FC=g.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,s=Is(r);return a.jsx(Ac,{...s,...n,ref:t})});FC.displayName=LC;var E6="AlertDialogAction",zC=g.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,s=Is(r);return a.jsx(Tf,{...s,...n,ref:t})});zC.displayName=E6;var UC="AlertDialogCancel",$C=g.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,{cancelRef:s}=j6(UC,r),o=Is(r),i=Ke(t,s);return a.jsx(Tf,{...o,...n,ref:i})});$C.displayName=UC;var N6=({contentRef:e})=>{const t=`\`${aa}\` requires a description for the component to be accessible for screen reader users. You can add a description to the \`${aa}\` by passing a \`${LC}\` component as a child, which also benefits sighted users by adding visible context to the dialog. diff --git a/ui/dist/index.html b/ui/dist/index.html index fc176b7e..bd38a95d 100644 --- a/ui/dist/index.html +++ b/ui/dist/index.html @@ -5,7 +5,7 @@ Certimate - Your Trusted SSL Automation Partner - +