vuepress-shared
Advanced tools
Comparing version 2.0.0-beta.108 to 2.0.0-beta.109
@@ -1,5 +0,5 @@ | ||
import{chalk as ce}from"@vuepress/utils";import{removeLeadingSlash as et}from"@vuepress/shared";import{existsSync as me}from"node:fs";import{resolve as fe,dirname as tt}from"node:path";import{execaSync as Gt}from"execa";import nt from"ora";import{gitPlugin as Qt}from"@vuepress/plugin-git";import{createRequire as Kt}from"module";const Xt="vuepress-shared/noopModule",en="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",tn="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",xe=(e,t=!1)=>{t&&!en.split(",").includes(e)&&!tn.split(",").includes(e)&&e===e.toLowerCase()&&!e.includes("-")&&console.warn(ce.yellow("warning: "),`${e} is used and it’s not a standard tag or standard custom element name`)},nn=({app:e,config:t},n)=>{const r=typeof n=="string"?[n]:n,{bundler:a}=e.options;if(a.name.endsWith("vite")){const i=t;i.vuePluginOptions||(i.vuePluginOptions={}),i.vuePluginOptions.template||(i.vuePluginOptions.template={}),i.vuePluginOptions.template.compilerOptions||(i.vuePluginOptions.template.compilerOptions={});const{isCustomElement:o=m=>xe(m,e.env.isDebug)}=i.vuePluginOptions.template.compilerOptions;i.vuePluginOptions.template.compilerOptions.isCustomElement=m=>(r instanceof RegExp?r.test(m):r.includes(m))?!0:o(m)}if(a.name.endsWith("webpack")){const i=t;i.vue||(i.vue={}),i.vue.compilerOptions||(i.vue.compilerOptions={});const{isCustomElement:o=m=>xe(m,e.env.isDebug)}=i.vue.compilerOptions;i.vue.compilerOptions.isCustomElement=m=>(r instanceof RegExp?r.test(m):r.includes(m))?!0:o(m)}},rt=e=>Object.prototype.toString.call(e)==="[object Object]";function at({find:e,replacement:t}){return typeof e=="string"&&e.endsWith("/")&&t.endsWith("/")&&(e=e.slice(0,e.length-1),t=t.slice(0,t.length-1)),{find:e,replacement:t}}const it=e=>Array.isArray(e)?e.map(at):Object.keys(e).map(t=>at({find:t,replacement:e[t]})),rn=(e=[],t=[])=>[...it(e),...it(t)],st=(e,t,n)=>{const r={...e};for(const a in t){const i=t[a];if(i==null)continue;const o=r[a];if(Array.isArray(o)&&Array.isArray(i)){r[a]=[...o,...i];continue}if(rt(o)&&rt(i)){r[a]=st(o,i,n?`${n}.${a}`:a);continue}if(o!=null){if(a==="alias"&&(n==="resolve"||n==="")){r[a]=rn(o,i);continue}else if(a==="assetsInclude"&&n===""){r[a]=[].concat(o,i);continue}else if(a==="noExternal"&&o===!0)continue}r[a]=i}return r},de=(e,t,n=!0)=>st(e,t,n?"":".");var pe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ot={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(pe,function(){var n=1e3,r=6e4,a=36e5,i="millisecond",o="second",m="minute",s="hour",c="day",l="week",v="month",_="quarter",M="year",Y="date",u="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,x=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,S={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},T=function(L,h,d){var g=String(L);return!g||g.length>=h?L:""+Array(h+1-g.length).join(d)+L},j={s:T,z:function(L){var h=-L.utcOffset(),d=Math.abs(h),g=Math.floor(d/60),f=d%60;return(h<=0?"+":"-")+T(g,2,"0")+":"+T(f,2,"0")},m:function L(h,d){if(h.date()<d.date())return-L(d,h);var g=12*(d.year()-h.year())+(d.month()-h.month()),f=h.clone().add(g,v),$=d-f<0,w=h.clone().add(g+($?-1:1),v);return+(-(g+(d-f)/($?f-w:w-f))||0)},a:function(L){return L<0?Math.ceil(L)||0:Math.floor(L)},p:function(L){return{M:v,y:M,w:l,d:c,D:Y,h:s,m,s:o,ms:i,Q:_}[L]||String(L||"").toLowerCase().replace(/s$/,"")},u:function(L){return L===void 0}},H="en",O={};O[H]=S;var z=function(L){return L instanceof B},y=function L(h,d,g){var f;if(!h)return H;if(typeof h=="string"){var $=h.toLowerCase();O[$]&&(f=$),d&&(O[$]=d,f=$);var w=h.split("-");if(!f&&w.length>1)return L(w[0])}else{var k=h.name;O[k]=h,f=k}return!g&&f&&(H=f),f||!g&&H},b=function(L,h){if(z(L))return L.clone();var d=typeof h=="object"?h:{};return d.date=L,d.args=arguments,new B(d)},D=j;D.l=y,D.i=z,D.w=function(L,h){return b(L,{locale:h.$L,utc:h.$u,x:h.$x,$offset:h.$offset})};var B=function(){function L(d){this.$L=y(d.locale,null,!0),this.parse(d)}var h=L.prototype;return h.parse=function(d){this.$d=function(g){var f=g.date,$=g.utc;if(f===null)return new Date(NaN);if(D.u(f))return new Date;if(f instanceof Date)return new Date(f);if(typeof f=="string"&&!/Z$/i.test(f)){var w=f.match(p);if(w){var k=w[2]-1||0,A=(w[7]||"0").substring(0,3);return $?new Date(Date.UTC(w[1],k,w[3]||1,w[4]||0,w[5]||0,w[6]||0,A)):new Date(w[1],k,w[3]||1,w[4]||0,w[5]||0,w[6]||0,A)}}return new Date(f)}(d),this.$x=d.x||{},this.init()},h.init=function(){var d=this.$d;this.$y=d.getFullYear(),this.$M=d.getMonth(),this.$D=d.getDate(),this.$W=d.getDay(),this.$H=d.getHours(),this.$m=d.getMinutes(),this.$s=d.getSeconds(),this.$ms=d.getMilliseconds()},h.$utils=function(){return D},h.isValid=function(){return this.$d.toString()!==u},h.isSame=function(d,g){var f=b(d);return this.startOf(g)<=f&&f<=this.endOf(g)},h.isAfter=function(d,g){return b(d)<this.startOf(g)},h.isBefore=function(d,g){return this.endOf(g)<b(d)},h.$g=function(d,g,f){return D.u(d)?this[g]:this.set(f,d)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(d,g){var f=this,$=!!D.u(g)||g,w=D.p(d),k=function(q,N){var V=D.w(f.$u?Date.UTC(f.$y,N,q):new Date(f.$y,N,q),f);return $?V:V.endOf(c)},A=function(q,N){return D.w(f.toDate()[q].apply(f.toDate("s"),($?[0,0,0,0]:[23,59,59,999]).slice(N)),f)},C=this.$W,E=this.$M,P=this.$D,F="set"+(this.$u?"UTC":"");switch(w){case M:return $?k(1,0):k(31,11);case v:return $?k(1,E):k(0,E+1);case l:var te=this.$locale().weekStart||0,R=(C<te?C+7:C)-te;return k($?P-R:P+(6-R),E);case c:case Y:return A(F+"Hours",0);case s:return A(F+"Minutes",1);case m:return A(F+"Seconds",2);case o:return A(F+"Milliseconds",3);default:return this.clone()}},h.endOf=function(d){return this.startOf(d,!1)},h.$set=function(d,g){var f,$=D.p(d),w="set"+(this.$u?"UTC":""),k=(f={},f[c]=w+"Date",f[Y]=w+"Date",f[v]=w+"Month",f[M]=w+"FullYear",f[s]=w+"Hours",f[m]=w+"Minutes",f[o]=w+"Seconds",f[i]=w+"Milliseconds",f)[$],A=$===c?this.$D+(g-this.$W):g;if($===v||$===M){var C=this.clone().set(Y,1);C.$d[k](A),C.init(),this.$d=C.set(Y,Math.min(this.$D,C.daysInMonth())).$d}else k&&this.$d[k](A);return this.init(),this},h.set=function(d,g){return this.clone().$set(d,g)},h.get=function(d){return this[D.p(d)]()},h.add=function(d,g){var f,$=this;d=Number(d);var w=D.p(g),k=function(E){var P=b($);return D.w(P.date(P.date()+Math.round(E*d)),$)};if(w===v)return this.set(v,this.$M+d);if(w===M)return this.set(M,this.$y+d);if(w===c)return k(1);if(w===l)return k(7);var A=(f={},f[m]=r,f[s]=a,f[o]=n,f)[w]||1,C=this.$d.getTime()+d*A;return D.w(C,this)},h.subtract=function(d,g){return this.add(-1*d,g)},h.format=function(d){var g=this,f=this.$locale();if(!this.isValid())return f.invalidDate||u;var $=d||"YYYY-MM-DDTHH:mm:ssZ",w=D.z(this),k=this.$H,A=this.$m,C=this.$M,E=f.weekdays,P=f.months,F=function(N,V,le,se){return N&&(N[V]||N(g,$))||le[V].slice(0,se)},te=function(N){return D.s(k%12||12,N,"0")},R=f.meridiem||function(N,V,le){var se=N<12?"AM":"PM";return le?se.toLowerCase():se},q={YY:String(this.$y).slice(-2),YYYY:this.$y,M:C+1,MM:D.s(C+1,2,"0"),MMM:F(f.monthsShort,C,P,3),MMMM:F(P,C),D:this.$D,DD:D.s(this.$D,2,"0"),d:String(this.$W),dd:F(f.weekdaysMin,this.$W,E,2),ddd:F(f.weekdaysShort,this.$W,E,3),dddd:E[this.$W],H:String(k),HH:D.s(k,2,"0"),h:te(1),hh:te(2),a:R(k,A,!0),A:R(k,A,!1),m:String(A),mm:D.s(A,2,"0"),s:String(this.$s),ss:D.s(this.$s,2,"0"),SSS:D.s(this.$ms,3,"0"),Z:w};return $.replace(x,function(N,V){return V||q[N]||w.replace(":","")})},h.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},h.diff=function(d,g,f){var $,w=D.p(g),k=b(d),A=(k.utcOffset()-this.utcOffset())*r,C=this-k,E=D.m(this,k);return E=($={},$[M]=E/12,$[v]=E,$[_]=E/3,$[l]=(C-A)/6048e5,$[c]=(C-A)/864e5,$[s]=C/a,$[m]=C/r,$[o]=C/n,$)[w]||C,f?E:D.a(E)},h.daysInMonth=function(){return this.endOf(v).$D},h.$locale=function(){return O[this.$L]},h.locale=function(d,g){if(!d)return this.$L;var f=this.clone(),$=y(d,g,!0);return $&&(f.$L=$),f},h.clone=function(){return D.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},L}(),W=B.prototype;return b.prototype=W,[["$ms",i],["$s",o],["$m",m],["$H",s],["$W",c],["$M",v],["$y",M],["$D",Y]].forEach(function(L){W[L[1]]=function(h){return this.$g(h,L[0],L[1])}}),b.extend=function(L,h){return L.$i||(L(h,B,b),L.$i=!0),b},b.locale=y,b.isDayjs=z,b.unix=function(L){return b(1e3*L)},b.en=O[H],b.Ls=O,b.p={},b})})(ot);var I=ot.exports,ut={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(pe,function(){var n={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"};return function(r,a,i){var o=a.prototype,m=o.format;i.en.formats=n,o.format=function(s){s===void 0&&(s="YYYY-MM-DDTHH:mm:ssZ");var c=this.$locale().formats,l=function(v,_){return v.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(M,Y,u){var p=u&&u.toUpperCase();return Y||_[u]||n[u]||_[p].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(x,S,T){return S||T.slice(1)})})}(s,c===void 0?{}:c);return m.call(this,l)}}})})(ut);var an=ut.exports,lt={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(pe,function(){return function(n,r,a){var i=r.prototype,o=function(v){var _,M=v.date,Y=v.utc,u={};if(!((_=M)instanceof Date)&&!(_ instanceof Array)&&_ instanceof Object){if(!Object.keys(M).length)return new Date;var p=Y?a.utc():a();Object.keys(M).forEach(function(y){var b,D;u[b=y,D=i.$utils().p(b),D==="date"?"day":D]=M[y]});var x=u.day||(u.year||u.month>=0?1:p.date()),S=u.year||p.year(),T=u.month>=0?u.month:u.year||u.day?0:p.month(),j=u.hour||0,H=u.minute||0,O=u.second||0,z=u.millisecond||0;return Y?new Date(Date.UTC(S,T,x,j,H,O,z)):new Date(S,T,x,j,H,O,z)}return M},m=i.parse;i.parse=function(v){v.date=o.bind(this)(v),m.bind(this)(v)};var s=i.set,c=i.add,l=function(v,_,M,Y){if(Y===void 0&&(Y=1),_ instanceof Object){var u=Object.keys(_),p=this;return u.forEach(function(x){p=v.bind(p)(_[x]*Y,x)}),p}return v.bind(this)(_*Y,M)};i.set=function(v,_){return _=_===void 0?v:_,l.bind(this)(function(M,Y){return s.bind(this)(Y,M)},_,v)},i.add=function(v,_){return l.bind(this)(c,v,_)},i.subtract=function(v,_){return l.bind(this)(c,v,_,-1)}}})})(lt);var ct=lt.exports,mt={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(pe,function(){var n={year:0,month:1,day:2,hour:3,minute:4,second:5},r={};return function(a,i,o){var m,s=function(_,M,Y){Y===void 0&&(Y={});var u=new Date(_),p=function(x,S){S===void 0&&(S={});var T=S.timeZoneName||"short",j=x+"|"+T,H=r[j];return H||(H=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:x,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:T}),r[j]=H),H}(M,Y);return p.formatToParts(u)},c=function(_,M){for(var Y=s(_,M),u=[],p=0;p<Y.length;p+=1){var x=Y[p],S=x.type,T=x.value,j=n[S];j>=0&&(u[j]=parseInt(T,10))}var H=u[3],O=H===24?0:H,z=u[0]+"-"+u[1]+"-"+u[2]+" "+O+":"+u[4]+":"+u[5]+":000",y=+_;return(o.utc(z).valueOf()-(y-=y%1e3))/6e4},l=i.prototype;l.tz=function(_,M){_===void 0&&(_=m);var Y=this.utcOffset(),u=this.toDate(),p=u.toLocaleString("en-US",{timeZone:_}),x=Math.round((u-new Date(p))/1e3/60),S=o(p).$set("millisecond",this.$ms).utcOffset(15*-Math.round(u.getTimezoneOffset()/15)-x,!0);if(M){var T=S.utcOffset();S=S.add(Y-T,"minute")}return S.$x.$timezone=_,S},l.offsetName=function(_){var M=this.$x.$timezone||o.tz.guess(),Y=s(this.valueOf(),M,{timeZoneName:_}).find(function(u){return u.type.toLowerCase()==="timezonename"});return Y&&Y.value};var v=l.startOf;l.startOf=function(_,M){if(!this.$x||!this.$x.$timezone)return v.call(this,_,M);var Y=o(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return v.call(Y,_,M).tz(this.$x.$timezone,!0)},o.tz=function(_,M,Y){var u=Y&&M,p=Y||M||m,x=c(+o(),p);if(typeof _!="string")return o(_).tz(p);var S=function(O,z,y){var b=O-60*z*1e3,D=c(b,y);if(z===D)return[b,z];var B=c(b-=60*(D-z)*1e3,y);return D===B?[b,D]:[O-60*Math.min(D,B)*1e3,Math.max(D,B)]}(o.utc(_,u).valueOf(),x,p),T=S[0],j=S[1],H=o(T).utcOffset(j);return H.$x.$timezone=p,H},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.tz.setDefault=function(_){m=_}}})})(mt);var ft=mt.exports,dt={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(pe,function(){var n="minute",r=/[+-]\d\d(?::?\d\d)?/g,a=/([+-]|\d\d)/g;return function(i,o,m){var s=o.prototype;m.utc=function(u){var p={date:u,utc:!0,args:arguments};return new o(p)},s.utc=function(u){var p=m(this.toDate(),{locale:this.$L,utc:!0});return u?p.add(this.utcOffset(),n):p},s.local=function(){return m(this.toDate(),{locale:this.$L,utc:!1})};var c=s.parse;s.parse=function(u){u.utc&&(this.$u=!0),this.$utils().u(u.$offset)||(this.$offset=u.$offset),c.call(this,u)};var l=s.init;s.init=function(){if(this.$u){var u=this.$d;this.$y=u.getUTCFullYear(),this.$M=u.getUTCMonth(),this.$D=u.getUTCDate(),this.$W=u.getUTCDay(),this.$H=u.getUTCHours(),this.$m=u.getUTCMinutes(),this.$s=u.getUTCSeconds(),this.$ms=u.getUTCMilliseconds()}else l.call(this)};var v=s.utcOffset;s.utcOffset=function(u,p){var x=this.$utils().u;if(x(u))return this.$u?0:x(this.$offset)?v.call(this):this.$offset;if(typeof u=="string"&&(u=function(H){H===void 0&&(H="");var O=H.match(r);if(!O)return null;var z=(""+O[0]).match(a)||["-",0,0],y=z[0],b=60*+z[1]+ +z[2];return b===0?0:y==="+"?b:-b}(u),u===null))return this;var S=Math.abs(u)<=16?60*u:u,T=this;if(p)return T.$offset=S,T.$u=u===0,T;if(u!==0){var j=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(T=this.local().add(S+j,n)).$offset=S,T.$x.$localOffset=j}else T=this.utc();return T};var _=s.format;s.format=function(u){var p=u||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return _.call(this,p)},s.valueOf=function(){var u=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*u},s.isUTC=function(){return!!this.$u},s.toISOString=function(){return this.toDate().toISOString()},s.toString=function(){return this.toDate().toUTCString()};var M=s.toDate;s.toDate=function(u){return u==="s"&&this.$offset?m(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():M.call(this)};var Y=s.diff;s.diff=function(u,p,x){if(u&&this.$u===u.$u)return Y.call(this,u,p,x);var S=this.local(),T=m(u).local();return Y.call(S,T,p,x)}}})})(dt);var _t=dt.exports;const sn={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]},G=(e,t,n)=>{let r=sn[n];return Array.isArray(r)&&(r=r[t?0:1]),r.replace("%d",e)},on={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:e=>`${e}.`,weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:G,m:G,mm:G,h:G,hh:G,d:G,dd:G,M:G,MM:G,y:G,yy:G}},un=e=>{e.locale("de",on)},ln={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]},Q=(e,t,n)=>{let r=ln[n];return Array.isArray(r)&&(r=r[t?0:1]),r.replace("%d",e)},cn={name:"de-at",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:e=>`${e}.`,weekStart:1,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:Q,m:Q,mm:Q,h:Q,hh:Q,d:Q,dd:Q,M:Q,MM:Q,y:Q,yy:Q}},mn=e=>{e.locale("de-at",cn)},fn={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},dn=e=>{e.locale("en",fn)},_n={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:e=>`${e}º`},hn=e=>{e.locale("es",_n)},vn={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:e=>`${e}${e===1?"er":""}`},pn=e=>{e.locale("fr",vn)},De=e=>e%10<5&&e%10>1&&~~(e/10)%10!==1,_e=(e,t,n)=>{const r=`${e} `;switch(n){case"m":return t?"minuta":"minutę";case"mm":return r+(De(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return r+(De(e)?"godziny":"godzin");case"MM":return r+(De(e)?"miesiące":"miesięcy");case"yy":return r+(De(e)?"lata":"lat")}},ht="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),vt="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),Mn=/D MMMM/,Ae=(e,t)=>Mn.test(t)?ht[e.month()]:vt[e.month()];Ae.s=vt,Ae.f=ht;const gn={name:"pl",weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),months:Ae,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),ordinal:e=>`${e}.`,weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:_e,mm:_e,h:_e,hh:_e,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:_e,y:"rok",yy:_e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}},yn=e=>{e.locale("pl",gn)},Yn={name:"pt-br",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:e=>`${e}º`,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}},$n=e=>{e.locale("pt-br",Yn)},pt="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),Mt="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),gt="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),yt="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),Yt=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/,wn=(e,t)=>{const n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]},he=(e,t,n)=>n==="m"?t?"минута":"минуту":`${e} ${wn({mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[n],+e)}`,Ce=(e,t)=>Yt.test(t)?pt[e.month()]:Mt[e.month()];Ce.s=Mt,Ce.f=pt;const je=(e,t)=>Yt.test(t)?gt[e.month()]:yt[e.month()];je.s=yt,je.f=gt;const Dn={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:Ce,monthsShort:je,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:he,mm:he,h:"час",hh:he,d:"день",dd:he,M:"месяц",MM:he,y:"год",yy:he},ordinal:e=>e,meridiem:e=>e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},Ln=e=>{e.locale("ru",Dn)},Me=e=>e>1&&e<5&&~~(e/10)!==1,K=(e,t,n,r)=>{const a=`${e} `;switch(n){case"s":return t||r?"pár sekúnd":"pár sekundami";case"m":return t?"minúta":r?"minútu":"minútou";case"mm":return t||r?a+(Me(e)?"minúty":"minút"):`${a}minútami`;case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?a+(Me(e)?"hodiny":"hodín"):`${a}hodinami`;case"d":return t||r?"deň":"dňom";case"dd":return t||r?a+(Me(e)?"dni":"dní"):`${a}dňami`;case"M":return t||r?"mesiac":"mesiacom";case"MM":return t||r?a+(Me(e)?"mesiace":"mesiacov"):`${a}mesiacmi`;case"y":return t||r?"rok":"rokom";case"yy":return t||r?a+(Me(e)?"roky":"rokov"):`${a}rokmi`}},Sn={name:"sk",weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),months:"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),monthsShort:"jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:e=>`${e}.`,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"pred %s",s:K,m:K,mm:K,h:K,hh:K,d:K,dd:K,M:K,MM:K,y:K,yy:K}},bn=e=>{e.locale("sk",Sn)},$t="січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),wt="січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_"),kn=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/,Tn=(e,t)=>{const n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]},oe=(e,t,n)=>n==="m"?t?"хвилина":"хвилину":n==="h"?t?"година":"годину":`${e} ${Tn({ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[n],+e)}`,Ee=(e,t)=>kn.test(t)?$t[e.month()]:wt[e.month()];Ee.s=wt,Ee.f=$t;const Hn={name:"uk",weekdays:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),weekdaysShort:"ндл_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:Ee,monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekStart:1,relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:oe,mm:oe,h:oe,hh:oe,d:"день",dd:oe,M:"місяць",MM:oe,y:"рік",yy:oe},ordinal:e=>e,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"}},On=e=>{e.locale("uk",Hn)},zn={name:"vi",weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),weekStart:1,weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),ordinal:e=>e,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"}},xn=e=>{e.locale("vi",zn)},An={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:(e,t)=>{switch(t){case"W":return`${e}周`;default:return`${e}日`}},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:(e,t)=>{const n=e*100+t;return n<600?"凌晨":n<900?"早上":n<1100?"上午":n<1300?"中午":n<1800?"下午":"晚上"}},Cn=e=>{e.locale("zh",An)},jn={name:"zh-tw",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:e=>`${e}日`,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}},En=e=>{e.locale("zh-tw",jn)};I.extend(an),I.extend(ct),I.extend(_t),I.extend(ft),un(I),mn(I),dn(I),hn(I),pn(I),yn(I),$n(I),Ln(I),bn(I),On(I),xn(I),Cn(I),En(I);const In=(e="en")=>{const t=e.toLowerCase();return["de","de-at","en","es","fr","pl","pt-br","ru","sk","uk","vi","zh","zh-tw"].includes(t)?t:t==="en-us"||t==="en-uk"?"en":t==="es-es"?"es":t==="fr-fr"?"fr":t==="pl-pl"?"pl":t==="ru-ru"?"ru":t==="uk-ua"?"uk":t==="sk-sk"?"sk":t==="vi-vn"?"vi":t==="zh-cn"?"zh":(console.warn(`${e} locale missing in config`),"en")},ge=(e,...t)=>{if(t.length===0)return e;const n=t.shift()||{};return Object.keys(n).forEach(r=>{typeof e[r]=="object"&&!Array.isArray(e[r])&&typeof n[r]=="object"&&!Array.isArray(n[r])?ge(e[r],n[r]):typeof n[r]=="object"?Array.isArray(n[r])?e[r]=[...n[r]]:e[r]={...n[r]}:e[r]=n[r]}),ge(e,...t)};I.extend(ct),I.extend(_t),I.extend(ft);const ye=(e,t)=>{if(e){if(I(e instanceof Date?e:e.trim()).isValid()){const r=t?I(e).tz(t):I(e),a=r.year(),i=r.month()+1,o=r.date(),m=r.hour(),s=r.minute(),c=r.second(),l=r.millisecond(),v=m===0&&s===0&&c===0&&l===0;return{value:r.toDate(),info:{year:a,month:i,day:o,...v?{}:{hour:m,minute:s,second:c}},type:v?"date":"full"}}const n=/(?:(\d{2,4})[/-](\d{1,2})[/-](\d{1,2}))?\s*(?:(\d{1,2}):(\d{1,2})(?::(\d{1,2}))?)?/u.exec(e.trim());if(n){const[,r,a,i,o,m,s]=n,c=p=>typeof p>"u"?void 0:Number(p),l=p=>p&&p<100?p+2e3:p,v=p=>o&&m&&!s?0:p,_={year:l(c(r)),month:c(a),day:c(i),hour:c(o),minute:c(m),second:v(c(s))},M=r===void 0&&a===void 0&&i===void 0,Y=o===void 0&&m===void 0&&s===void 0,u=I({..._,month:_.month-1}).toDate();return{value:M?void 0:u,info:Y?{year:_.year,month:_.month,day:_.day}:M?{hour:_.hour,minute:_.minute,second:_.second}:_,type:M?"time":Y?"date":"full"}}}return null},Fn=(e,t)=>{const n=ye(typeof e=="number"?new Date(e):e),r=ye(typeof t=="number"?new Date(t):t);return!n||!n.value?1:!r||!r.value?-1:r.value.getTime()-n.value.getTime()},Un=(e,t=!1)=>e?Array.isArray(e)?e.map(n=>typeof n=="string"?{name:n}:n):typeof e=="string"?[{name:e}]:typeof e=="object"&&e.name?[e]:(console.error(`Expect 'author' to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],Pn=e=>{if(e){if(Array.isArray(e))return e;if(typeof e=="string")return[e];console.error("Expect 'category' to be `string[] | string | undefined`, but got",e)}return[]},Wn=e=>{if(e){if(Array.isArray(e))return e;if(typeof e=="string")return[e];console.error("Expect 'tag' to be `string[] | string | undefined`, but got",e)}return[]},Jn=e=>{if(typeof e!="string"||e==="")return!1;const t=/^(?:\w+:)?\/\/(\S+)$/u.exec(e);if(!t)return!1;const n=t[1];return n?/^localhost[:?\d]*(?:[^:?\d]\S*)?$/u.test(n)||/^[^\s.]+\.\S{2,}$/u.test(n):!1},Nn=e=>e.startsWith("/"),Ie=(e,t={})=>{const n=ye(e,t.timezone);if(n){const{lang:r,timezone:a,type:i=n.type}=t;return I.locale(In(r)),(a?I(n.value).tz(a):I(n.value)).format(i==="date"?"LL":i==="time"?"HH:mm":"LLL")}return null},Bn=(e,t)=>{var n,r,a;if(!e.data.localizedDate)if(e.frontmatter.date){const i=(n=ye(e.frontmatter.date,t))==null?void 0:n.value;i&&(e.data.localizedDate=Ie(i,{lang:e.lang,type:"date"}))}else(r=e.data.git)!=null&&r.createdTime&&(e.data.localizedDate=Ie(new Date((a=e.data.git)==null?void 0:a.createdTime),{lang:e.lang,type:"date"}))},Zn=e=>e.replace(/]]>/g,"]]]]><![CDATA[>"),qn=e=>e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"),Dt=new Map,ue=new Map,Rn=e=>{try{return Gt(`${e} --version`,{stdio:"ignore"}).exitCode===0}catch{return!1}},Fe=e=>{const t=`global:${e}`,n=Dt.get(t);return n!==void 0?n:Rn(e)?(Dt.set(t,!0),!0):!1},Lt=(e=process.cwd(),t=!0)=>{const n=`local:${e}`,r=ue.get(n);if(r!==void 0)return r;if(me(fe(e,"pnpm-lock.yaml")))return ue.set(n,"pnpm"),"pnpm";if(me(fe(e,"yarn.lock")))return ue.set(n,"yarn"),"yarn";if(me(fe(e,"package-lock.json")))return ue.set(n,"npm"),"npm";let a=e;for(;t&&a!==tt(a);){if(a=tt(a),me(fe(a,"pnpm-lock.yaml")))return ue.set(n,"pnpm"),"pnpm";if(me(fe(a,"yarn.lock")))return ue.set(n,"yarn"),"yarn";if(me(fe(a,"package-lock.json")))return ue.set(n,"npm"),"npm"}return null},St=(e=process.cwd(),t=!0)=>Lt(e,t)||(Fe("pnpm")?"pnpm":Fe("yarn")?"yarn":"npm");var Vn=Kt("/"),Gn;try{Gn=Vn("worker_threads").Worker}catch{}var J=Uint8Array,Z=Uint16Array,Le=Uint32Array,Se=new J([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),be=new J([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Ue=new J([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),bt=function(e,t){for(var n=new Z(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];for(var a=new Le(n[30]),r=1;r<30;++r)for(var i=n[r];i<n[r+1];++i)a[i]=i-n[r]<<5|r;return[n,a]},kt=bt(Se,2),Tt=kt[0],Pe=kt[1];Tt[28]=258,Pe[258]=28;for(var Ht=bt(be,0),Qn=Ht[0],Ot=Ht[1],We=new Z(32768),U=0;U<32768;++U){var ae=(U&43690)>>>1|(U&21845)<<1;ae=(ae&52428)>>>2|(ae&13107)<<2,ae=(ae&61680)>>>4|(ae&3855)<<4,We[U]=((ae&65280)>>>8|(ae&255)<<8)>>>1}for(var ne=function(e,t,n){for(var r=e.length,a=0,i=new Z(t);a<r;++a)e[a]&&++i[e[a]-1];var o=new Z(t);for(a=0;a<t;++a)o[a]=o[a-1]+i[a-1]<<1;var m;if(n){m=new Z(1<<t);var s=15-t;for(a=0;a<r;++a)if(e[a])for(var c=a<<4|e[a],l=t-e[a],v=o[e[a]-1]++<<l,_=v|(1<<l)-1;v<=_;++v)m[We[v]>>>s]=c}else for(m=new Z(r),a=0;a<r;++a)e[a]&&(m[a]=We[o[e[a]-1]++]>>>15-e[a]);return m},ie=new J(288),U=0;U<144;++U)ie[U]=8;for(var U=144;U<256;++U)ie[U]=9;for(var U=256;U<280;++U)ie[U]=7;for(var U=280;U<288;++U)ie[U]=8;for(var Ye=new J(32),U=0;U<32;++U)Ye[U]=5;var Kn=ne(ie,9,0),Xn=ne(ie,9,1),er=ne(Ye,5,0),tr=ne(Ye,5,1),Je=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},X=function(e,t,n){var r=t/8|0;return(e[r]|e[r+1]<<8)>>(t&7)&n},Ne=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(t&7)},Be=function(e){return(e+7)/8|0},ke=function(e,t,n){(t==null||t<0)&&(t=0),(n==null||n>e.length)&&(n=e.length);var r=new(e.BYTES_PER_ELEMENT==2?Z:e.BYTES_PER_ELEMENT==4?Le:J)(n-t);return r.set(e.subarray(t,n)),r},nr=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],ee=function(e,t,n){var r=new Error(t||nr[e]);if(r.code=e,Error.captureStackTrace&&Error.captureStackTrace(r,ee),!n)throw r;return r},rr=function(e,t,n){var r=e.length;if(!r||n&&n.f&&!n.l)return t||new J(0);var a=!t||n,i=!n||n.i;n||(n={}),t||(t=new J(r*3));var o=function(te){var R=t.length;if(te>R){var q=new J(Math.max(R*2,te));q.set(t),t=q}},m=n.f||0,s=n.p||0,c=n.b||0,l=n.l,v=n.d,_=n.m,M=n.n,Y=r*8;do{if(!l){m=X(e,s,1);var u=X(e,s+1,3);if(s+=3,u)if(u==1)l=Xn,v=tr,_=9,M=5;else if(u==2){var T=X(e,s,31)+257,j=X(e,s+10,15)+4,H=T+X(e,s+5,31)+1;s+=14;for(var O=new J(H),z=new J(19),y=0;y<j;++y)z[Ue[y]]=X(e,s+y*3,7);s+=j*3;for(var b=Je(z),D=(1<<b)-1,B=ne(z,b,1),y=0;y<H;){var W=B[X(e,s,D)];s+=W&15;var p=W>>>4;if(p<16)O[y++]=p;else{var L=0,h=0;for(p==16?(h=3+X(e,s,3),s+=2,L=O[y-1]):p==17?(h=3+X(e,s,7),s+=3):p==18&&(h=11+X(e,s,127),s+=7);h--;)O[y++]=L}}var d=O.subarray(0,T),g=O.subarray(T);_=Je(d),M=Je(g),l=ne(d,_,1),v=ne(g,M,1)}else ee(1);else{var p=Be(s)+4,x=e[p-4]|e[p-3]<<8,S=p+x;if(S>r){i&&ee(0);break}a&&o(c+x),t.set(e.subarray(p,S),c),n.b=c+=x,n.p=s=S*8,n.f=m;continue}if(s>Y){i&&ee(0);break}}a&&o(c+131072);for(var f=(1<<_)-1,$=(1<<M)-1,w=s;;w=s){var L=l[Ne(e,s)&f],k=L>>>4;if(s+=L&15,s>Y){i&&ee(0);break}if(L||ee(2),k<256)t[c++]=k;else if(k==256){w=s,l=null;break}else{var A=k-254;if(k>264){var y=k-257,C=Se[y];A=X(e,s,(1<<C)-1)+Tt[y],s+=C}var E=v[Ne(e,s)&$],P=E>>>4;E||ee(3),s+=E&15;var g=Qn[P];if(P>3){var C=be[P];g+=Ne(e,s)&(1<<C)-1,s+=C}if(s>Y){i&&ee(0);break}a&&o(c+131072);for(var F=c+A;c<F;c+=4)t[c]=t[c-g],t[c+1]=t[c+1-g],t[c+2]=t[c+2-g],t[c+3]=t[c+3-g];c=F}}n.l=l,n.p=w,n.b=c,n.f=m,l&&(m=1,n.m=_,n.d=v,n.n=M)}while(!m);return c==t.length?t:ke(t,0,c)},re=function(e,t,n){n<<=t&7;var r=t/8|0;e[r]|=n,e[r+1]|=n>>>8},$e=function(e,t,n){n<<=t&7;var r=t/8|0;e[r]|=n,e[r+1]|=n>>>8,e[r+2]|=n>>>16},Ze=function(e,t){for(var n=[],r=0;r<e.length;++r)e[r]&&n.push({s:r,f:e[r]});var a=n.length,i=n.slice();if(!a)return[Ve,0];if(a==1){var o=new J(n[0].s+1);return o[n[0].s]=1,[o,1]}n.sort(function(H,O){return H.f-O.f}),n.push({s:-1,f:25001});var m=n[0],s=n[1],c=0,l=1,v=2;for(n[0]={s:-1,f:m.f+s.f,l:m,r:s};l!=a-1;)m=n[n[c].f<n[v].f?c++:v++],s=n[c!=l&&n[c].f<n[v].f?c++:v++],n[l++]={s:-1,f:m.f+s.f,l:m,r:s};for(var _=i[0].s,r=1;r<a;++r)i[r].s>_&&(_=i[r].s);var M=new Z(_+1),Y=qe(n[l-1],M,0);if(Y>t){var r=0,u=0,p=Y-t,x=1<<p;for(i.sort(function(O,z){return M[z.s]-M[O.s]||O.f-z.f});r<a;++r){var S=i[r].s;if(M[S]>t)u+=x-(1<<Y-M[S]),M[S]=t;else break}for(u>>>=p;u>0;){var T=i[r].s;M[T]<t?u-=1<<t-M[T]++-1:++r}for(;r>=0&&u;--r){var j=i[r].s;M[j]==t&&(--M[j],++u)}Y=t}return[new J(M),Y]},qe=function(e,t,n){return e.s==-1?Math.max(qe(e.l,t,n+1),qe(e.r,t,n+1)):t[e.s]=n},zt=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new Z(++t),r=0,a=e[0],i=1,o=function(s){n[r++]=s},m=1;m<=t;++m)if(e[m]==a&&m!=t)++i;else{if(!a&&i>2){for(;i>138;i-=138)o(32754);i>2&&(o(i>10?i-11<<5|28690:i-3<<5|12305),i=0)}else if(i>3){for(o(a),--i;i>6;i-=6)o(8304);i>2&&(o(i-3<<5|8208),i=0)}for(;i--;)o(a);i=1,a=e[m]}return[n.subarray(0,r),t]},we=function(e,t){for(var n=0,r=0;r<t.length;++r)n+=e[r]*t[r];return n},Re=function(e,t,n){var r=n.length,a=Be(t+2);e[a]=r&255,e[a+1]=r>>>8,e[a+2]=e[a]^255,e[a+3]=e[a+1]^255;for(var i=0;i<r;++i)e[a+i+4]=n[i];return(a+4+r)*8},xt=function(e,t,n,r,a,i,o,m,s,c,l){re(t,l++,n),++a[256];for(var v=Ze(a,15),_=v[0],M=v[1],Y=Ze(i,15),u=Y[0],p=Y[1],x=zt(_),S=x[0],T=x[1],j=zt(u),H=j[0],O=j[1],z=new Z(19),y=0;y<S.length;++y)z[S[y]&31]++;for(var y=0;y<H.length;++y)z[H[y]&31]++;for(var b=Ze(z,7),D=b[0],B=b[1],W=19;W>4&&!D[Ue[W-1]];--W);var L=c+5<<3,h=we(a,ie)+we(i,Ye)+o,d=we(a,_)+we(i,u)+o+14+3*W+we(z,D)+(2*z[16]+3*z[17]+7*z[18]);if(L<=h&&L<=d)return Re(t,l,e.subarray(s,s+c));var g,f,$,w;if(re(t,l,1+(d<h)),l+=2,d<h){g=ne(_,M,0),f=_,$=ne(u,p,0),w=u;var k=ne(D,B,0);re(t,l,T-257),re(t,l+5,O-1),re(t,l+10,W-4),l+=14;for(var y=0;y<W;++y)re(t,l+3*y,D[Ue[y]]);l+=3*W;for(var A=[S,H],C=0;C<2;++C)for(var E=A[C],y=0;y<E.length;++y){var P=E[y]&31;re(t,l,k[P]),l+=D[P],P>15&&(re(t,l,E[y]>>>5&127),l+=E[y]>>>12)}}else g=Kn,f=ie,$=er,w=Ye;for(var y=0;y<m;++y)if(r[y]>255){var P=r[y]>>>18&31;$e(t,l,g[P+257]),l+=f[P+257],P>7&&(re(t,l,r[y]>>>23&31),l+=Se[P]);var F=r[y]&31;$e(t,l,$[F]),l+=w[F],F>3&&($e(t,l,r[y]>>>5&8191),l+=be[F])}else $e(t,l,g[r[y]]),l+=f[r[y]];return $e(t,l,g[256]),l+f[256]},ar=new Le([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Ve=new J(0),ir=function(e,t,n,r,a,i){var o=e.length,m=new J(r+o+5*(1+Math.ceil(o/7e3))+a),s=m.subarray(r,m.length-a),c=0;if(!t||o<8)for(var l=0;l<=o;l+=65535){var v=l+65535;v>=o&&(s[c>>3]=i),c=Re(s,c+1,e.subarray(l,v))}else{for(var _=ar[t-1],M=_>>>13,Y=_&8191,u=(1<<n)-1,p=new Z(32768),x=new Z(u+1),S=Math.ceil(n/3),T=2*S,j=function(ze){return(e[ze]^e[ze+1]<<S^e[ze+2]<<T)&u},H=new Le(25e3),O=new Z(288),z=new Z(32),y=0,b=0,l=0,D=0,B=0,W=0;l<o;++l){var L=j(l),h=l&32767,d=x[L];if(p[h]=d,x[L]=h,B<=l){var g=o-l;if((y>7e3||D>24576)&&g>423){c=xt(e,s,0,H,O,z,b,D,W,l-W,c),D=y=b=0,W=l;for(var f=0;f<286;++f)O[f]=0;for(var f=0;f<30;++f)z[f]=0}var $=2,w=0,k=Y,A=h-d&32767;if(g>2&&L==j(l-A))for(var C=Math.min(M,g)-1,E=Math.min(32767,l),P=Math.min(258,g);A<=E&&--k&&h!=d;){if(e[l+$]==e[l+$-A]){for(var F=0;F<P&&e[l+F]==e[l+F-A];++F);if(F>$){if($=F,w=A,F>C)break;for(var te=Math.min(A,F-2),R=0,f=0;f<te;++f){var q=l-A+f+32768&32767,N=p[q],V=q-N+32768&32767;V>R&&(R=V,d=q)}}}h=d,d=p[h],A+=h-d+32768&32767}if(w){H[D++]=268435456|Pe[$]<<18|Ot[w];var le=Pe[$]&31,se=Ot[w]&31;b+=Se[le]+be[se],++O[257+le],++z[se],B=l+$,++y}else H[D++]=e[l],++O[e[l]]}}c=xt(e,s,i,H,O,z,b,D,W,l-W,c),!i&&c&7&&(c=Re(s,c+1,Ve))}return ke(m,0,r+Be(c)+a)},sr=function(){var e=1,t=0;return{p:function(n){for(var r=e,a=t,i=n.length|0,o=0;o!=i;){for(var m=Math.min(o+2655,i);o<m;++o)a+=r+=n[o];r=(r&65535)+15*(r>>16),a=(a&65535)+15*(a>>16)}e=r,t=a},d:function(){return e%=65521,t%=65521,(e&255)<<24|e>>>8<<16|(t&255)<<8|t>>>8}}},or=function(e,t,n,r,a){return ir(e,t.level==null?6:t.level,t.mem==null?Math.ceil(Math.max(8,Math.min(13,Math.log(e.length)))*1.5):12+t.mem,n,r,!a)},ur=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8},lr=function(e,t){var n=t.level,r=n==0?0:n<6?1:n==9?3:2;e[0]=120,e[1]=r<<6|(r?32-2*r:1)},cr=function(e){((e[0]&15)!=8||e[0]>>>4>7||(e[0]<<8|e[1])%31)&&ee(6,"invalid zlib data"),e[1]&32&&ee(6,"invalid zlib data: preset dictionaries not supported")};function mr(e,t){t||(t={});var n=sr();n.p(e);var r=or(e,t,2,4);return lr(r,t),ur(r,r.length-4,n.d()),r}function fr(e,t){return rr((cr(e),e.subarray(2,-4)),t)}var At=typeof TextEncoder<"u"&&new TextEncoder,Ge=typeof TextDecoder<"u"&&new TextDecoder,dr=0;try{Ge.decode(Ve,{stream:!0}),dr=1}catch{}var _r=function(e){for(var t="",n=0;;){var r=e[n++],a=(r>127)+(r>223)+(r>239);if(n+a>e.length)return[t,ke(e,n-1)];a?a==3?(r=((r&15)<<18|(e[n++]&63)<<12|(e[n++]&63)<<6|e[n++]&63)-65536,t+=String.fromCharCode(55296|r>>10,56320|r&1023)):a&1?t+=String.fromCharCode((r&31)<<6|e[n++]&63):t+=String.fromCharCode((r&15)<<12|(e[n++]&63)<<6|e[n++]&63):t+=String.fromCharCode(r)}};function Ct(e,t){if(t){for(var n=new J(e.length),r=0;r<e.length;++r)n[r]=e.charCodeAt(r);return n}if(At)return At.encode(e);for(var a=e.length,i=new J(e.length+(e.length>>1)),o=0,m=function(l){i[o++]=l},r=0;r<a;++r){if(o+5>i.length){var s=new J(o+8+(a-r<<1));s.set(i),i=s}var c=e.charCodeAt(r);c<128||t?m(c):c<2048?(m(192|c>>6),m(128|c&63)):c>55295&&c<57344?(c=65536+(c&1023<<10)|e.charCodeAt(++r)&1023,m(240|c>>18),m(128|c>>12&63),m(128|c>>6&63),m(128|c&63)):(m(224|c>>12),m(128|c>>6&63),m(128|c&63))}return ke(i,0,o)}function jt(e,t){if(t){for(var n="",r=0;r<e.length;r+=16384)n+=String.fromCharCode.apply(null,e.subarray(r,r+16384));return n}else{if(Ge)return Ge.decode(e);var a=_r(e),i=a[0],o=a[1];return o.length&&ee(8),i}}const hr=e=>{const t=Ct(e),n=mr(t,{level:9}),r=jt(n,!0);return Buffer.from(r,"binary").toString("base64")},vr=e=>{const t=Buffer.from(e,"base64").toString("binary");return t.startsWith("xÚ")?jt(fr(Ct(t,!0))):decodeURIComponent(escape(t))},pr=({app:e,config:t},n)=>{const{bundler:r}=e.options,a=St();if(r.name.endsWith("vite")&&("OPTIMIZE_DEPS"in process.env?Boolean(process.env.OPTIMIZE_DEPS):a!=="pnpm")){const i=t;i.viteOptions=de(i.viteOptions||{},{optimizeDeps:{include:typeof n=="string"?[n]:n}}),i.viteOptions.optimizeDeps.include=Array.from(new Set(i.viteOptions.optimizeDeps.include))}},Mr=({app:e,config:t},n)=>{const{bundler:r}=e.options;if(r.name.endsWith("vite")){const a=t;a.viteOptions=de(a.viteOptions||{},{optimizeDeps:{exclude:typeof n=="string"?[n]:n}}),a.viteOptions.optimizeDeps.exclude=Array.from(new Set(a.viteOptions.optimizeDeps.exclude))}},gr=({app:e,config:t},n)=>{const{bundler:r}=e.options;if(r.name.endsWith("vite")){const a=t;a.viteOptions=de(a.viteOptions||{},{ssr:{external:typeof n=="string"?[n]:n}})}},yr=({app:e,config:t},n)=>{const{bundler:r}=e.options;if(r.name.endsWith("vite")){const a=t;a.viteOptions=de(a.viteOptions||{},{ssr:{noExternal:typeof n=="string"?[n]:n}})}},Yr=(e,t,n,r,a="The server encounted an error")=>{const{base:i,bundler:o}=t.options;if(t.env.isDev&&o.name.endsWith("vite")){const m=e,s=(l,v)=>{r(l).then(_=>{v.statusCode=200,v.end(_)}).catch(()=>{v.statusCode=500,v.end(a)})},c={name:`virtual:devserver-mock/${n}`,configureServer:({middlewares:l})=>{l.use(`${i}${et(n)}`,s)}};m.viteOptions=de(m.viteOptions||{},{plugins:[c]})}if(t.env.isDev&&o.name.endsWith("webpack")){const m=e,{devServerSetupMiddlewares:s}=m;m.devServerSetupMiddlewares=(c,l)=>{var v;return(v=l.app)==null||v.get(`${i}${et(n)}`,(_,M)=>{r(_).then(Y=>M.status(200).send(Y)).catch(()=>M.status(500).send(a))}),s?s(c,l):c}}},Te={"de-AT":"/de-at/","en-US":"/en/","es-ES":"/es/","fr-FR":"/fr/","pl-PL":"/pl/","pt-BR":"/br/","ru-RU":"/ru/","sk-SK":"/sk/","uk-UA":"/uk/","vi-VN":"/vi/","ja-JP":"/ja/","zh-CN":"/zh/","zh-TW":"/zh-tw/"},Et=Object.keys(Te),It=Object.fromEntries(Et.map(e=>[Te[e],e]));class Ft{constructor(t=""){this.name=t,this.currentInstance=nt()}create(t){return this.currentInstance=nt({prefixText:ce.blue(`${this.name}: `)||"",text:t}),this.currentInstance}update(t){this.currentInstance?this.currentInstance.text=t:this.create(t)}load(t=""){return(!t&&this.currentInstance?this.currentInstance:this.create(t)).start()}info(t=""){return(!t&&this.currentInstance?this.currentInstance:this.create(ce.blue(t))).info()}succeed(t=""){return(!t&&this.currentInstance?this.currentInstance:this.create(ce.green(t))).succeed()}warn(t=""){return(!t&&this.currentInstance?this.currentInstance:this.create(ce.yellow(t))).warn()}error(t=""){return(!t&&this.currentInstance?this.currentInstance:this.create(ce.red(t))).fail()}}const Ut={},$r=(e="")=>Et.includes(e),wr=(e,t="")=>{Ut[e]||(console.warn(`${e} locates config is missing, and will return 'en-US' instead. | ||
import{chalk as ce}from"@vuepress/utils";import{removeLeadingSlash as et}from"@vuepress/shared";import{existsSync as me}from"node:fs";import{resolve as de,dirname as tt}from"node:path";import{execaSync as Gt}from"execa";import nt from"ora";import{gitPlugin as Qt}from"@vuepress/plugin-git";import{createRequire as Kt}from"module";const Xt="vuepress-shared/noopModule",en="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",tn="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",xe=(e,t=!1)=>{t&&!en.split(",").includes(e)&&!tn.split(",").includes(e)&&e===e.toLowerCase()&&!e.includes("-")&&console.warn(ce.yellow("warning: "),`${e} is used and it’s not a standard tag or standard custom element name`)},nn=({app:e,config:t},n)=>{const r=typeof n=="string"?[n]:n,{bundler:a}=e.options;if(a.name.endsWith("vite")){const i=t;i.vuePluginOptions||(i.vuePluginOptions={}),i.vuePluginOptions.template||(i.vuePluginOptions.template={}),i.vuePluginOptions.template.compilerOptions||(i.vuePluginOptions.template.compilerOptions={});const{isCustomElement:o=m=>xe(m,e.env.isDebug)}=i.vuePluginOptions.template.compilerOptions;i.vuePluginOptions.template.compilerOptions.isCustomElement=m=>(r instanceof RegExp?r.test(m):r.includes(m))?!0:o(m)}if(a.name.endsWith("webpack")){const i=t;i.vue||(i.vue={}),i.vue.compilerOptions||(i.vue.compilerOptions={});const{isCustomElement:o=m=>xe(m,e.env.isDebug)}=i.vue.compilerOptions;i.vue.compilerOptions.isCustomElement=m=>(r instanceof RegExp?r.test(m):r.includes(m))?!0:o(m)}},rt=e=>Object.prototype.toString.call(e)==="[object Object]";function at({find:e,replacement:t}){return typeof e=="string"&&e.endsWith("/")&&t.endsWith("/")&&(e=e.slice(0,e.length-1),t=t.slice(0,t.length-1)),{find:e,replacement:t}}const it=e=>Array.isArray(e)?e.map(at):Object.keys(e).map(t=>at({find:t,replacement:e[t]})),rn=(e=[],t=[])=>[...it(e),...it(t)],st=(e,t,n)=>{const r={...e};for(const a in t){const i=t[a];if(i==null)continue;const o=r[a];if(Array.isArray(o)&&Array.isArray(i)){r[a]=[...o,...i];continue}if(rt(o)&&rt(i)){r[a]=st(o,i,n?`${n}.${a}`:a);continue}if(o!=null){if(a==="alias"&&(n==="resolve"||n==="")){r[a]=rn(o,i);continue}else if(a==="assetsInclude"&&n===""){r[a]=[].concat(o,i);continue}else if(a==="noExternal"&&o===!0)continue}r[a]=i}return r},_e=(e,t,n=!0)=>st(e,t,n?"":".");var pe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ot={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(pe,function(){var n=1e3,r=6e4,a=36e5,i="millisecond",o="second",m="minute",s="hour",c="day",l="week",v="month",f="quarter",M="year",y="date",u="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,x=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,S={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},T=function(D,h,_){var g=String(D);return!g||g.length>=h?D:""+Array(h+1-g.length).join(_)+D},E={s:T,z:function(D){var h=-D.utcOffset(),_=Math.abs(h),g=Math.floor(_/60),d=_%60;return(h<=0?"+":"-")+T(g,2,"0")+":"+T(d,2,"0")},m:function D(h,_){if(h.date()<_.date())return-D(_,h);var g=12*(_.year()-h.year())+(_.month()-h.month()),d=h.clone().add(g,v),$=_-d<0,L=h.clone().add(g+($?-1:1),v);return+(-(g+(_-d)/($?d-L:L-d))||0)},a:function(D){return D<0?Math.ceil(D)||0:Math.floor(D)},p:function(D){return{M:v,y:M,w:l,d:c,D:y,h:s,m,s:o,ms:i,Q:f}[D]||String(D||"").toLowerCase().replace(/s$/,"")},u:function(D){return D===void 0}},H="en",O={};O[H]=S;var z=function(D){return D instanceof B},Y=function D(h,_,g){var d;if(!h)return H;if(typeof h=="string"){var $=h.toLowerCase();O[$]&&(d=$),_&&(O[$]=_,d=$);var L=h.split("-");if(!d&&L.length>1)return D(L[0])}else{var k=h.name;O[k]=h,d=k}return!g&&d&&(H=d),d||!g&&H},b=function(D,h){if(z(D))return D.clone();var _=typeof h=="object"?h:{};return _.date=D,_.args=arguments,new B(_)},w=E;w.l=Y,w.i=z,w.w=function(D,h){return b(D,{locale:h.$L,utc:h.$u,x:h.$x,$offset:h.$offset})};var B=function(){function D(_){this.$L=Y(_.locale,null,!0),this.parse(_)}var h=D.prototype;return h.parse=function(_){this.$d=function(g){var d=g.date,$=g.utc;if(d===null)return new Date(NaN);if(w.u(d))return new Date;if(d instanceof Date)return new Date(d);if(typeof d=="string"&&!/Z$/i.test(d)){var L=d.match(p);if(L){var k=L[2]-1||0,A=(L[7]||"0").substring(0,3);return $?new Date(Date.UTC(L[1],k,L[3]||1,L[4]||0,L[5]||0,L[6]||0,A)):new Date(L[1],k,L[3]||1,L[4]||0,L[5]||0,L[6]||0,A)}}return new Date(d)}(_),this.$x=_.x||{},this.init()},h.init=function(){var _=this.$d;this.$y=_.getFullYear(),this.$M=_.getMonth(),this.$D=_.getDate(),this.$W=_.getDay(),this.$H=_.getHours(),this.$m=_.getMinutes(),this.$s=_.getSeconds(),this.$ms=_.getMilliseconds()},h.$utils=function(){return w},h.isValid=function(){return this.$d.toString()!==u},h.isSame=function(_,g){var d=b(_);return this.startOf(g)<=d&&d<=this.endOf(g)},h.isAfter=function(_,g){return b(_)<this.startOf(g)},h.isBefore=function(_,g){return this.endOf(g)<b(_)},h.$g=function(_,g,d){return w.u(_)?this[g]:this.set(d,_)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(_,g){var d=this,$=!!w.u(g)||g,L=w.p(_),k=function(q,N){var V=w.w(d.$u?Date.UTC(d.$y,N,q):new Date(d.$y,N,q),d);return $?V:V.endOf(c)},A=function(q,N){return w.w(d.toDate()[q].apply(d.toDate("s"),($?[0,0,0,0]:[23,59,59,999]).slice(N)),d)},j=this.$W,I=this.$M,P=this.$D,F="set"+(this.$u?"UTC":"");switch(L){case M:return $?k(1,0):k(31,11);case v:return $?k(1,I):k(0,I+1);case l:var te=this.$locale().weekStart||0,R=(j<te?j+7:j)-te;return k($?P-R:P+(6-R),I);case c:case y:return A(F+"Hours",0);case s:return A(F+"Minutes",1);case m:return A(F+"Seconds",2);case o:return A(F+"Milliseconds",3);default:return this.clone()}},h.endOf=function(_){return this.startOf(_,!1)},h.$set=function(_,g){var d,$=w.p(_),L="set"+(this.$u?"UTC":""),k=(d={},d[c]=L+"Date",d[y]=L+"Date",d[v]=L+"Month",d[M]=L+"FullYear",d[s]=L+"Hours",d[m]=L+"Minutes",d[o]=L+"Seconds",d[i]=L+"Milliseconds",d)[$],A=$===c?this.$D+(g-this.$W):g;if($===v||$===M){var j=this.clone().set(y,1);j.$d[k](A),j.init(),this.$d=j.set(y,Math.min(this.$D,j.daysInMonth())).$d}else k&&this.$d[k](A);return this.init(),this},h.set=function(_,g){return this.clone().$set(_,g)},h.get=function(_){return this[w.p(_)]()},h.add=function(_,g){var d,$=this;_=Number(_);var L=w.p(g),k=function(I){var P=b($);return w.w(P.date(P.date()+Math.round(I*_)),$)};if(L===v)return this.set(v,this.$M+_);if(L===M)return this.set(M,this.$y+_);if(L===c)return k(1);if(L===l)return k(7);var A=(d={},d[m]=r,d[s]=a,d[o]=n,d)[L]||1,j=this.$d.getTime()+_*A;return w.w(j,this)},h.subtract=function(_,g){return this.add(-1*_,g)},h.format=function(_){var g=this,d=this.$locale();if(!this.isValid())return d.invalidDate||u;var $=_||"YYYY-MM-DDTHH:mm:ssZ",L=w.z(this),k=this.$H,A=this.$m,j=this.$M,I=d.weekdays,P=d.months,F=function(N,V,le,se){return N&&(N[V]||N(g,$))||le[V].slice(0,se)},te=function(N){return w.s(k%12||12,N,"0")},R=d.meridiem||function(N,V,le){var se=N<12?"AM":"PM";return le?se.toLowerCase():se},q={YY:String(this.$y).slice(-2),YYYY:this.$y,M:j+1,MM:w.s(j+1,2,"0"),MMM:F(d.monthsShort,j,P,3),MMMM:F(P,j),D:this.$D,DD:w.s(this.$D,2,"0"),d:String(this.$W),dd:F(d.weekdaysMin,this.$W,I,2),ddd:F(d.weekdaysShort,this.$W,I,3),dddd:I[this.$W],H:String(k),HH:w.s(k,2,"0"),h:te(1),hh:te(2),a:R(k,A,!0),A:R(k,A,!1),m:String(A),mm:w.s(A,2,"0"),s:String(this.$s),ss:w.s(this.$s,2,"0"),SSS:w.s(this.$ms,3,"0"),Z:L};return $.replace(x,function(N,V){return V||q[N]||L.replace(":","")})},h.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},h.diff=function(_,g,d){var $,L=w.p(g),k=b(_),A=(k.utcOffset()-this.utcOffset())*r,j=this-k,I=w.m(this,k);return I=($={},$[M]=I/12,$[v]=I,$[f]=I/3,$[l]=(j-A)/6048e5,$[c]=(j-A)/864e5,$[s]=j/a,$[m]=j/r,$[o]=j/n,$)[L]||j,d?I:w.a(I)},h.daysInMonth=function(){return this.endOf(v).$D},h.$locale=function(){return O[this.$L]},h.locale=function(_,g){if(!_)return this.$L;var d=this.clone(),$=Y(_,g,!0);return $&&(d.$L=$),d},h.clone=function(){return w.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},D}(),W=B.prototype;return b.prototype=W,[["$ms",i],["$s",o],["$m",m],["$H",s],["$W",c],["$M",v],["$y",M],["$D",y]].forEach(function(D){W[D[1]]=function(h){return this.$g(h,D[0],D[1])}}),b.extend=function(D,h){return D.$i||(D(h,B,b),D.$i=!0),b},b.locale=Y,b.isDayjs=z,b.unix=function(D){return b(1e3*D)},b.en=O[H],b.Ls=O,b.p={},b})})(ot);var C=ot.exports,ut={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(pe,function(){var n={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"};return function(r,a,i){var o=a.prototype,m=o.format;i.en.formats=n,o.format=function(s){s===void 0&&(s="YYYY-MM-DDTHH:mm:ssZ");var c=this.$locale().formats,l=function(v,f){return v.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(M,y,u){var p=u&&u.toUpperCase();return y||f[u]||n[u]||f[p].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(x,S,T){return S||T.slice(1)})})}(s,c===void 0?{}:c);return m.call(this,l)}}})})(ut);var an=ut.exports,lt={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(pe,function(){return function(n,r,a){var i=r.prototype,o=function(v){var f,M=v.date,y=v.utc,u={};if(!((f=M)instanceof Date)&&!(f instanceof Array)&&f instanceof Object){if(!Object.keys(M).length)return new Date;var p=y?a.utc():a();Object.keys(M).forEach(function(Y){var b,w;u[b=Y,w=i.$utils().p(b),w==="date"?"day":w]=M[Y]});var x=u.day||(u.year||u.month>=0?1:p.date()),S=u.year||p.year(),T=u.month>=0?u.month:u.year||u.day?0:p.month(),E=u.hour||0,H=u.minute||0,O=u.second||0,z=u.millisecond||0;return y?new Date(Date.UTC(S,T,x,E,H,O,z)):new Date(S,T,x,E,H,O,z)}return M},m=i.parse;i.parse=function(v){v.date=o.bind(this)(v),m.bind(this)(v)};var s=i.set,c=i.add,l=function(v,f,M,y){if(y===void 0&&(y=1),f instanceof Object){var u=Object.keys(f),p=this;return u.forEach(function(x){p=v.bind(p)(f[x]*y,x)}),p}return v.bind(this)(f*y,M)};i.set=function(v,f){return f=f===void 0?v:f,l.bind(this)(function(M,y){return s.bind(this)(y,M)},f,v)},i.add=function(v,f){return l.bind(this)(c,v,f)},i.subtract=function(v,f){return l.bind(this)(c,v,f,-1)}}})})(lt);var ct=lt.exports,mt={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(pe,function(){var n={year:0,month:1,day:2,hour:3,minute:4,second:5},r={};return function(a,i,o){var m,s=function(f,M,y){y===void 0&&(y={});var u=new Date(f),p=function(x,S){S===void 0&&(S={});var T=S.timeZoneName||"short",E=x+"|"+T,H=r[E];return H||(H=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:x,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:T}),r[E]=H),H}(M,y);return p.formatToParts(u)},c=function(f,M){for(var y=s(f,M),u=[],p=0;p<y.length;p+=1){var x=y[p],S=x.type,T=x.value,E=n[S];E>=0&&(u[E]=parseInt(T,10))}var H=u[3],O=H===24?0:H,z=u[0]+"-"+u[1]+"-"+u[2]+" "+O+":"+u[4]+":"+u[5]+":000",Y=+f;return(o.utc(z).valueOf()-(Y-=Y%1e3))/6e4},l=i.prototype;l.tz=function(f,M){f===void 0&&(f=m);var y=this.utcOffset(),u=this.toDate(),p=u.toLocaleString("en-US",{timeZone:f}),x=Math.round((u-new Date(p))/1e3/60),S=o(p).$set("millisecond",this.$ms).utcOffset(15*-Math.round(u.getTimezoneOffset()/15)-x,!0);if(M){var T=S.utcOffset();S=S.add(y-T,"minute")}return S.$x.$timezone=f,S},l.offsetName=function(f){var M=this.$x.$timezone||o.tz.guess(),y=s(this.valueOf(),M,{timeZoneName:f}).find(function(u){return u.type.toLowerCase()==="timezonename"});return y&&y.value};var v=l.startOf;l.startOf=function(f,M){if(!this.$x||!this.$x.$timezone)return v.call(this,f,M);var y=o(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return v.call(y,f,M).tz(this.$x.$timezone,!0)},o.tz=function(f,M,y){var u=y&&M,p=y||M||m,x=c(+o(),p);if(typeof f!="string")return o(f).tz(p);var S=function(O,z,Y){var b=O-60*z*1e3,w=c(b,Y);if(z===w)return[b,z];var B=c(b-=60*(w-z)*1e3,Y);return w===B?[b,w]:[O-60*Math.min(w,B)*1e3,Math.max(w,B)]}(o.utc(f,u).valueOf(),x,p),T=S[0],E=S[1],H=o(T).utcOffset(E);return H.$x.$timezone=p,H},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.tz.setDefault=function(f){m=f}}})})(mt);var dt=mt.exports,_t={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(pe,function(){var n="minute",r=/[+-]\d\d(?::?\d\d)?/g,a=/([+-]|\d\d)/g;return function(i,o,m){var s=o.prototype;m.utc=function(u){var p={date:u,utc:!0,args:arguments};return new o(p)},s.utc=function(u){var p=m(this.toDate(),{locale:this.$L,utc:!0});return u?p.add(this.utcOffset(),n):p},s.local=function(){return m(this.toDate(),{locale:this.$L,utc:!1})};var c=s.parse;s.parse=function(u){u.utc&&(this.$u=!0),this.$utils().u(u.$offset)||(this.$offset=u.$offset),c.call(this,u)};var l=s.init;s.init=function(){if(this.$u){var u=this.$d;this.$y=u.getUTCFullYear(),this.$M=u.getUTCMonth(),this.$D=u.getUTCDate(),this.$W=u.getUTCDay(),this.$H=u.getUTCHours(),this.$m=u.getUTCMinutes(),this.$s=u.getUTCSeconds(),this.$ms=u.getUTCMilliseconds()}else l.call(this)};var v=s.utcOffset;s.utcOffset=function(u,p){var x=this.$utils().u;if(x(u))return this.$u?0:x(this.$offset)?v.call(this):this.$offset;if(typeof u=="string"&&(u=function(H){H===void 0&&(H="");var O=H.match(r);if(!O)return null;var z=(""+O[0]).match(a)||["-",0,0],Y=z[0],b=60*+z[1]+ +z[2];return b===0?0:Y==="+"?b:-b}(u),u===null))return this;var S=Math.abs(u)<=16?60*u:u,T=this;if(p)return T.$offset=S,T.$u=u===0,T;if(u!==0){var E=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(T=this.local().add(S+E,n)).$offset=S,T.$x.$localOffset=E}else T=this.utc();return T};var f=s.format;s.format=function(u){var p=u||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return f.call(this,p)},s.valueOf=function(){var u=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*u},s.isUTC=function(){return!!this.$u},s.toISOString=function(){return this.toDate().toISOString()},s.toString=function(){return this.toDate().toUTCString()};var M=s.toDate;s.toDate=function(u){return u==="s"&&this.$offset?m(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():M.call(this)};var y=s.diff;s.diff=function(u,p,x){if(u&&this.$u===u.$u)return y.call(this,u,p,x);var S=this.local(),T=m(u).local();return y.call(S,T,p,x)}}})})(_t);var ft=_t.exports;const sn={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]},G=(e,t,n)=>{let r=sn[n];return Array.isArray(r)&&(r=r[t?0:1]),r.replace("%d",e)},on={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:e=>`${e}.`,weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:G,m:G,mm:G,h:G,hh:G,d:G,dd:G,M:G,MM:G,y:G,yy:G}},un=e=>{e.locale("de",on)},ln={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]},Q=(e,t,n)=>{let r=ln[n];return Array.isArray(r)&&(r=r[t?0:1]),r.replace("%d",e)},cn={name:"de-at",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:e=>`${e}.`,weekStart:1,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:Q,m:Q,mm:Q,h:Q,hh:Q,d:Q,dd:Q,M:Q,MM:Q,y:Q,yy:Q}},mn=e=>{e.locale("de-at",cn)},dn={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},_n=e=>{e.locale("en",dn)},fn={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:e=>`${e}º`},hn=e=>{e.locale("es",fn)},vn={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:e=>`${e}${e===1?"er":""}`},pn=e=>{e.locale("fr",vn)},we=e=>e%10<5&&e%10>1&&~~(e/10)%10!==1,fe=(e,t,n)=>{const r=`${e} `;switch(n){case"m":return t?"minuta":"minutę";case"mm":return r+(we(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return r+(we(e)?"godziny":"godzin");case"MM":return r+(we(e)?"miesiące":"miesięcy");case"yy":return r+(we(e)?"lata":"lat")}},ht="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),vt="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),Mn=/D MMMM/,Ae=(e,t)=>Mn.test(t)?ht[e.month()]:vt[e.month()];Ae.s=vt,Ae.f=ht;const gn={name:"pl",weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),months:Ae,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),ordinal:e=>`${e}.`,weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:fe,mm:fe,h:fe,hh:fe,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:fe,y:"rok",yy:fe},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}},Yn=e=>{e.locale("pl",gn)},yn={name:"pt-br",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:e=>`${e}º`,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}},$n=e=>{e.locale("pt-br",yn)},pt="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),Mt="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),gt="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),Yt="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),yt=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/,Ln=(e,t)=>{const n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]},he=(e,t,n)=>n==="m"?t?"минута":"минуту":`${e} ${Ln({mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[n],+e)}`,je=(e,t)=>yt.test(t)?pt[e.month()]:Mt[e.month()];je.s=Mt,je.f=pt;const Ce=(e,t)=>yt.test(t)?gt[e.month()]:Yt[e.month()];Ce.s=Yt,Ce.f=gt;const wn={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:je,monthsShort:Ce,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:he,mm:he,h:"час",hh:he,d:"день",dd:he,M:"месяц",MM:he,y:"год",yy:he},ordinal:e=>e,meridiem:e=>e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},Dn=e=>{e.locale("ru",wn)},Me=e=>e>1&&e<5&&~~(e/10)!==1,K=(e,t,n,r)=>{const a=`${e} `;switch(n){case"s":return t||r?"pár sekúnd":"pár sekundami";case"m":return t?"minúta":r?"minútu":"minútou";case"mm":return t||r?a+(Me(e)?"minúty":"minút"):`${a}minútami`;case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?a+(Me(e)?"hodiny":"hodín"):`${a}hodinami`;case"d":return t||r?"deň":"dňom";case"dd":return t||r?a+(Me(e)?"dni":"dní"):`${a}dňami`;case"M":return t||r?"mesiac":"mesiacom";case"MM":return t||r?a+(Me(e)?"mesiace":"mesiacov"):`${a}mesiacmi`;case"y":return t||r?"rok":"rokom";case"yy":return t||r?a+(Me(e)?"roky":"rokov"):`${a}rokmi`}},Sn={name:"sk",weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),months:"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),monthsShort:"jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:e=>`${e}.`,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"pred %s",s:K,m:K,mm:K,h:K,hh:K,d:K,dd:K,M:K,MM:K,y:K,yy:K}},bn=e=>{e.locale("sk",Sn)},$t="січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),Lt="січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_"),kn=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/,Tn=(e,t)=>{const n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]},oe=(e,t,n)=>n==="m"?t?"хвилина":"хвилину":n==="h"?t?"година":"годину":`${e} ${Tn({ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[n],+e)}`,Ee=(e,t)=>kn.test(t)?$t[e.month()]:Lt[e.month()];Ee.s=Lt,Ee.f=$t;const Hn={name:"uk",weekdays:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),weekdaysShort:"ндл_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:Ee,monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekStart:1,relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:oe,mm:oe,h:oe,hh:oe,d:"день",dd:oe,M:"місяць",MM:oe,y:"рік",yy:oe},ordinal:e=>e,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"}},On=e=>{e.locale("uk",Hn)},zn={name:"vi",weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),weekStart:1,weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),ordinal:e=>e,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"}},xn=e=>{e.locale("vi",zn)},An={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:(e,t)=>{switch(t){case"W":return`${e}周`;default:return`${e}日`}},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:(e,t)=>{const n=e*100+t;return n<600?"凌晨":n<900?"早上":n<1100?"上午":n<1300?"中午":n<1800?"下午":"晚上"}},jn=e=>{e.locale("zh",An)},Cn={name:"zh-tw",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:e=>`${e}日`,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}},En=e=>{e.locale("zh-tw",Cn)},In={name:"ja-jp",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日曜_月曜_火曜_水曜_木曜_金曜_土曜".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:e=>`${e}日`,weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah時mm分",LLLL:"YYYY年M月D日ddddAh時mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s以内",past:"%s前",s:"数秒",m:"1 分",mm:"%d 分",h:"1 時間",hh:"%d 時間",d:"1 日",dd:"%d 日",M:"1 ヶ月",MM:"%d ヶ月",y:"1 年",yy:"%d 年"},meridiem:(e,t)=>{const n=e*100+t;return n<600?"朝":n<1200?"午前":n<1800?"午後":n<2e3?"晚":"夜"}},Fn=e=>{e.locale("ja",In)};C.extend(an),C.extend(ct),C.extend(ft),C.extend(dt),un(C),mn(C),_n(C),hn(C),pn(C),Yn(C),$n(C),Dn(C),bn(C),On(C),xn(C),jn(C),En(C),Fn(C);const Un=(e="en")=>{const t=e.toLowerCase();return["de","de-at","en","es","fr","pl","pt-br","ru","sk","uk","vi","zh","zh-tw","ja"].includes(t)?t:t==="en-us"||t==="en-uk"?"en":t==="es-es"?"es":t==="fr-fr"?"fr":t==="pl-pl"?"pl":t==="ru-ru"?"ru":t==="uk-ua"?"uk":t==="sk-sk"?"sk":t==="vi-vn"?"vi":t==="zh-cn"?"zh":t==="ja-jp"?"ja":(console.warn(`${e} locale missing in config`),"en")},ge=(e,...t)=>{if(t.length===0)return e;const n=t.shift()||{};return Object.keys(n).forEach(r=>{typeof e[r]=="object"&&!Array.isArray(e[r])&&typeof n[r]=="object"&&!Array.isArray(n[r])?ge(e[r],n[r]):typeof n[r]=="object"?Array.isArray(n[r])?e[r]=[...n[r]]:e[r]={...n[r]}:e[r]=n[r]}),ge(e,...t)};C.extend(ct),C.extend(ft),C.extend(dt);const Ye=(e,t)=>{if(e){if(C(e instanceof Date?e:e.trim()).isValid()){const r=t?C(e).tz(t):C(e),a=r.year(),i=r.month()+1,o=r.date(),m=r.hour(),s=r.minute(),c=r.second(),l=r.millisecond(),v=m===0&&s===0&&c===0&&l===0;return{value:r.toDate(),info:{year:a,month:i,day:o,...v?{}:{hour:m,minute:s,second:c}},type:v?"date":"full"}}const n=/(?:(\d{2,4})[/-](\d{1,2})[/-](\d{1,2}))?\s*(?:(\d{1,2}):(\d{1,2})(?::(\d{1,2}))?)?/u.exec(e.trim());if(n){const[,r,a,i,o,m,s]=n,c=p=>typeof p>"u"?void 0:Number(p),l=p=>p&&p<100?p+2e3:p,v=p=>o&&m&&!s?0:p,f={year:l(c(r)),month:c(a),day:c(i),hour:c(o),minute:c(m),second:v(c(s))},M=r===void 0&&a===void 0&&i===void 0,y=o===void 0&&m===void 0&&s===void 0,u=C({...f,month:f.month-1}).toDate();return{value:M?void 0:u,info:y?{year:f.year,month:f.month,day:f.day}:M?{hour:f.hour,minute:f.minute,second:f.second}:f,type:M?"time":y?"date":"full"}}}return null},Pn=(e,t)=>{const n=Ye(typeof e=="number"?new Date(e):e),r=Ye(typeof t=="number"?new Date(t):t);return!n||!n.value?1:!r||!r.value?-1:r.value.getTime()-n.value.getTime()},Wn=(e,t=!1)=>e?Array.isArray(e)?e.map(n=>typeof n=="string"?{name:n}:n):typeof e=="string"?[{name:e}]:typeof e=="object"&&e.name?[e]:(console.error(`Expect 'author' to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],Jn=e=>{if(e){if(Array.isArray(e))return e;if(typeof e=="string")return[e];console.error("Expect 'category' to be `string[] | string | undefined`, but got",e)}return[]},Nn=e=>{if(e){if(Array.isArray(e))return e;if(typeof e=="string")return[e];console.error("Expect 'tag' to be `string[] | string | undefined`, but got",e)}return[]},Bn=e=>{if(typeof e!="string"||e==="")return!1;const t=/^(?:\w+:)?\/\/(\S+)$/u.exec(e);if(!t)return!1;const n=t[1];return n?/^localhost[:?\d]*(?:[^:?\d]\S*)?$/u.test(n)||/^[^\s.]+\.\S{2,}$/u.test(n):!1},Zn=e=>e.startsWith("/"),Ie=(e,t={})=>{const n=Ye(e,t.timezone);if(n){const{lang:r,timezone:a,type:i=n.type}=t;return C.locale(Un(r)),(a?C(n.value).tz(a):C(n.value)).format(i==="date"?"LL":i==="time"?"HH:mm":"LLL")}return null},qn=(e,t)=>{var n,r,a;if(!e.data.localizedDate)if(e.frontmatter.date){const i=(n=Ye(e.frontmatter.date,t))==null?void 0:n.value;i&&(e.data.localizedDate=Ie(i,{lang:e.lang,type:"date"}))}else(r=e.data.git)!=null&&r.createdTime&&(e.data.localizedDate=Ie(new Date((a=e.data.git)==null?void 0:a.createdTime),{lang:e.lang,type:"date"}))},Rn=e=>e.replace(/]]>/g,"]]]]><![CDATA[>"),Vn=e=>e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"),wt=new Map,ue=new Map,Gn=e=>{try{return Gt(`${e} --version`,{stdio:"ignore"}).exitCode===0}catch{return!1}},Fe=e=>{const t=`global:${e}`,n=wt.get(t);return n!==void 0?n:Gn(e)?(wt.set(t,!0),!0):!1},Dt=(e=process.cwd(),t=!0)=>{const n=`local:${e}`,r=ue.get(n);if(r!==void 0)return r;if(me(de(e,"pnpm-lock.yaml")))return ue.set(n,"pnpm"),"pnpm";if(me(de(e,"yarn.lock")))return ue.set(n,"yarn"),"yarn";if(me(de(e,"package-lock.json")))return ue.set(n,"npm"),"npm";let a=e;for(;t&&a!==tt(a);){if(a=tt(a),me(de(a,"pnpm-lock.yaml")))return ue.set(n,"pnpm"),"pnpm";if(me(de(a,"yarn.lock")))return ue.set(n,"yarn"),"yarn";if(me(de(a,"package-lock.json")))return ue.set(n,"npm"),"npm"}return null},St=(e=process.cwd(),t=!0)=>Dt(e,t)||(Fe("pnpm")?"pnpm":Fe("yarn")?"yarn":"npm");var Qn=Kt("/"),Kn;try{Kn=Qn("worker_threads").Worker}catch{}var J=Uint8Array,Z=Uint16Array,De=Uint32Array,Se=new J([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),be=new J([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Ue=new J([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),bt=function(e,t){for(var n=new Z(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];for(var a=new De(n[30]),r=1;r<30;++r)for(var i=n[r];i<n[r+1];++i)a[i]=i-n[r]<<5|r;return[n,a]},kt=bt(Se,2),Tt=kt[0],Pe=kt[1];Tt[28]=258,Pe[258]=28;for(var Ht=bt(be,0),Xn=Ht[0],Ot=Ht[1],We=new Z(32768),U=0;U<32768;++U){var ae=(U&43690)>>>1|(U&21845)<<1;ae=(ae&52428)>>>2|(ae&13107)<<2,ae=(ae&61680)>>>4|(ae&3855)<<4,We[U]=((ae&65280)>>>8|(ae&255)<<8)>>>1}for(var ne=function(e,t,n){for(var r=e.length,a=0,i=new Z(t);a<r;++a)e[a]&&++i[e[a]-1];var o=new Z(t);for(a=0;a<t;++a)o[a]=o[a-1]+i[a-1]<<1;var m;if(n){m=new Z(1<<t);var s=15-t;for(a=0;a<r;++a)if(e[a])for(var c=a<<4|e[a],l=t-e[a],v=o[e[a]-1]++<<l,f=v|(1<<l)-1;v<=f;++v)m[We[v]>>>s]=c}else for(m=new Z(r),a=0;a<r;++a)e[a]&&(m[a]=We[o[e[a]-1]++]>>>15-e[a]);return m},ie=new J(288),U=0;U<144;++U)ie[U]=8;for(var U=144;U<256;++U)ie[U]=9;for(var U=256;U<280;++U)ie[U]=7;for(var U=280;U<288;++U)ie[U]=8;for(var ye=new J(32),U=0;U<32;++U)ye[U]=5;var er=ne(ie,9,0),tr=ne(ie,9,1),nr=ne(ye,5,0),rr=ne(ye,5,1),Je=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},X=function(e,t,n){var r=t/8|0;return(e[r]|e[r+1]<<8)>>(t&7)&n},Ne=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(t&7)},Be=function(e){return(e+7)/8|0},ke=function(e,t,n){(t==null||t<0)&&(t=0),(n==null||n>e.length)&&(n=e.length);var r=new(e.BYTES_PER_ELEMENT==2?Z:e.BYTES_PER_ELEMENT==4?De:J)(n-t);return r.set(e.subarray(t,n)),r},ar=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],ee=function(e,t,n){var r=new Error(t||ar[e]);if(r.code=e,Error.captureStackTrace&&Error.captureStackTrace(r,ee),!n)throw r;return r},ir=function(e,t,n){var r=e.length;if(!r||n&&n.f&&!n.l)return t||new J(0);var a=!t||n,i=!n||n.i;n||(n={}),t||(t=new J(r*3));var o=function(te){var R=t.length;if(te>R){var q=new J(Math.max(R*2,te));q.set(t),t=q}},m=n.f||0,s=n.p||0,c=n.b||0,l=n.l,v=n.d,f=n.m,M=n.n,y=r*8;do{if(!l){m=X(e,s,1);var u=X(e,s+1,3);if(s+=3,u)if(u==1)l=tr,v=rr,f=9,M=5;else if(u==2){var T=X(e,s,31)+257,E=X(e,s+10,15)+4,H=T+X(e,s+5,31)+1;s+=14;for(var O=new J(H),z=new J(19),Y=0;Y<E;++Y)z[Ue[Y]]=X(e,s+Y*3,7);s+=E*3;for(var b=Je(z),w=(1<<b)-1,B=ne(z,b,1),Y=0;Y<H;){var W=B[X(e,s,w)];s+=W&15;var p=W>>>4;if(p<16)O[Y++]=p;else{var D=0,h=0;for(p==16?(h=3+X(e,s,3),s+=2,D=O[Y-1]):p==17?(h=3+X(e,s,7),s+=3):p==18&&(h=11+X(e,s,127),s+=7);h--;)O[Y++]=D}}var _=O.subarray(0,T),g=O.subarray(T);f=Je(_),M=Je(g),l=ne(_,f,1),v=ne(g,M,1)}else ee(1);else{var p=Be(s)+4,x=e[p-4]|e[p-3]<<8,S=p+x;if(S>r){i&&ee(0);break}a&&o(c+x),t.set(e.subarray(p,S),c),n.b=c+=x,n.p=s=S*8,n.f=m;continue}if(s>y){i&&ee(0);break}}a&&o(c+131072);for(var d=(1<<f)-1,$=(1<<M)-1,L=s;;L=s){var D=l[Ne(e,s)&d],k=D>>>4;if(s+=D&15,s>y){i&&ee(0);break}if(D||ee(2),k<256)t[c++]=k;else if(k==256){L=s,l=null;break}else{var A=k-254;if(k>264){var Y=k-257,j=Se[Y];A=X(e,s,(1<<j)-1)+Tt[Y],s+=j}var I=v[Ne(e,s)&$],P=I>>>4;I||ee(3),s+=I&15;var g=Xn[P];if(P>3){var j=be[P];g+=Ne(e,s)&(1<<j)-1,s+=j}if(s>y){i&&ee(0);break}a&&o(c+131072);for(var F=c+A;c<F;c+=4)t[c]=t[c-g],t[c+1]=t[c+1-g],t[c+2]=t[c+2-g],t[c+3]=t[c+3-g];c=F}}n.l=l,n.p=L,n.b=c,n.f=m,l&&(m=1,n.m=f,n.d=v,n.n=M)}while(!m);return c==t.length?t:ke(t,0,c)},re=function(e,t,n){n<<=t&7;var r=t/8|0;e[r]|=n,e[r+1]|=n>>>8},$e=function(e,t,n){n<<=t&7;var r=t/8|0;e[r]|=n,e[r+1]|=n>>>8,e[r+2]|=n>>>16},Ze=function(e,t){for(var n=[],r=0;r<e.length;++r)e[r]&&n.push({s:r,f:e[r]});var a=n.length,i=n.slice();if(!a)return[Ve,0];if(a==1){var o=new J(n[0].s+1);return o[n[0].s]=1,[o,1]}n.sort(function(H,O){return H.f-O.f}),n.push({s:-1,f:25001});var m=n[0],s=n[1],c=0,l=1,v=2;for(n[0]={s:-1,f:m.f+s.f,l:m,r:s};l!=a-1;)m=n[n[c].f<n[v].f?c++:v++],s=n[c!=l&&n[c].f<n[v].f?c++:v++],n[l++]={s:-1,f:m.f+s.f,l:m,r:s};for(var f=i[0].s,r=1;r<a;++r)i[r].s>f&&(f=i[r].s);var M=new Z(f+1),y=qe(n[l-1],M,0);if(y>t){var r=0,u=0,p=y-t,x=1<<p;for(i.sort(function(O,z){return M[z.s]-M[O.s]||O.f-z.f});r<a;++r){var S=i[r].s;if(M[S]>t)u+=x-(1<<y-M[S]),M[S]=t;else break}for(u>>>=p;u>0;){var T=i[r].s;M[T]<t?u-=1<<t-M[T]++-1:++r}for(;r>=0&&u;--r){var E=i[r].s;M[E]==t&&(--M[E],++u)}y=t}return[new J(M),y]},qe=function(e,t,n){return e.s==-1?Math.max(qe(e.l,t,n+1),qe(e.r,t,n+1)):t[e.s]=n},zt=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new Z(++t),r=0,a=e[0],i=1,o=function(s){n[r++]=s},m=1;m<=t;++m)if(e[m]==a&&m!=t)++i;else{if(!a&&i>2){for(;i>138;i-=138)o(32754);i>2&&(o(i>10?i-11<<5|28690:i-3<<5|12305),i=0)}else if(i>3){for(o(a),--i;i>6;i-=6)o(8304);i>2&&(o(i-3<<5|8208),i=0)}for(;i--;)o(a);i=1,a=e[m]}return[n.subarray(0,r),t]},Le=function(e,t){for(var n=0,r=0;r<t.length;++r)n+=e[r]*t[r];return n},Re=function(e,t,n){var r=n.length,a=Be(t+2);e[a]=r&255,e[a+1]=r>>>8,e[a+2]=e[a]^255,e[a+3]=e[a+1]^255;for(var i=0;i<r;++i)e[a+i+4]=n[i];return(a+4+r)*8},xt=function(e,t,n,r,a,i,o,m,s,c,l){re(t,l++,n),++a[256];for(var v=Ze(a,15),f=v[0],M=v[1],y=Ze(i,15),u=y[0],p=y[1],x=zt(f),S=x[0],T=x[1],E=zt(u),H=E[0],O=E[1],z=new Z(19),Y=0;Y<S.length;++Y)z[S[Y]&31]++;for(var Y=0;Y<H.length;++Y)z[H[Y]&31]++;for(var b=Ze(z,7),w=b[0],B=b[1],W=19;W>4&&!w[Ue[W-1]];--W);var D=c+5<<3,h=Le(a,ie)+Le(i,ye)+o,_=Le(a,f)+Le(i,u)+o+14+3*W+Le(z,w)+(2*z[16]+3*z[17]+7*z[18]);if(D<=h&&D<=_)return Re(t,l,e.subarray(s,s+c));var g,d,$,L;if(re(t,l,1+(_<h)),l+=2,_<h){g=ne(f,M,0),d=f,$=ne(u,p,0),L=u;var k=ne(w,B,0);re(t,l,T-257),re(t,l+5,O-1),re(t,l+10,W-4),l+=14;for(var Y=0;Y<W;++Y)re(t,l+3*Y,w[Ue[Y]]);l+=3*W;for(var A=[S,H],j=0;j<2;++j)for(var I=A[j],Y=0;Y<I.length;++Y){var P=I[Y]&31;re(t,l,k[P]),l+=w[P],P>15&&(re(t,l,I[Y]>>>5&127),l+=I[Y]>>>12)}}else g=er,d=ie,$=nr,L=ye;for(var Y=0;Y<m;++Y)if(r[Y]>255){var P=r[Y]>>>18&31;$e(t,l,g[P+257]),l+=d[P+257],P>7&&(re(t,l,r[Y]>>>23&31),l+=Se[P]);var F=r[Y]&31;$e(t,l,$[F]),l+=L[F],F>3&&($e(t,l,r[Y]>>>5&8191),l+=be[F])}else $e(t,l,g[r[Y]]),l+=d[r[Y]];return $e(t,l,g[256]),l+d[256]},sr=new De([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Ve=new J(0),or=function(e,t,n,r,a,i){var o=e.length,m=new J(r+o+5*(1+Math.ceil(o/7e3))+a),s=m.subarray(r,m.length-a),c=0;if(!t||o<8)for(var l=0;l<=o;l+=65535){var v=l+65535;v>=o&&(s[c>>3]=i),c=Re(s,c+1,e.subarray(l,v))}else{for(var f=sr[t-1],M=f>>>13,y=f&8191,u=(1<<n)-1,p=new Z(32768),x=new Z(u+1),S=Math.ceil(n/3),T=2*S,E=function(ze){return(e[ze]^e[ze+1]<<S^e[ze+2]<<T)&u},H=new De(25e3),O=new Z(288),z=new Z(32),Y=0,b=0,l=0,w=0,B=0,W=0;l<o;++l){var D=E(l),h=l&32767,_=x[D];if(p[h]=_,x[D]=h,B<=l){var g=o-l;if((Y>7e3||w>24576)&&g>423){c=xt(e,s,0,H,O,z,b,w,W,l-W,c),w=Y=b=0,W=l;for(var d=0;d<286;++d)O[d]=0;for(var d=0;d<30;++d)z[d]=0}var $=2,L=0,k=y,A=h-_&32767;if(g>2&&D==E(l-A))for(var j=Math.min(M,g)-1,I=Math.min(32767,l),P=Math.min(258,g);A<=I&&--k&&h!=_;){if(e[l+$]==e[l+$-A]){for(var F=0;F<P&&e[l+F]==e[l+F-A];++F);if(F>$){if($=F,L=A,F>j)break;for(var te=Math.min(A,F-2),R=0,d=0;d<te;++d){var q=l-A+d+32768&32767,N=p[q],V=q-N+32768&32767;V>R&&(R=V,_=q)}}}h=_,_=p[h],A+=h-_+32768&32767}if(L){H[w++]=268435456|Pe[$]<<18|Ot[L];var le=Pe[$]&31,se=Ot[L]&31;b+=Se[le]+be[se],++O[257+le],++z[se],B=l+$,++Y}else H[w++]=e[l],++O[e[l]]}}c=xt(e,s,i,H,O,z,b,w,W,l-W,c),!i&&c&7&&(c=Re(s,c+1,Ve))}return ke(m,0,r+Be(c)+a)},ur=function(){var e=1,t=0;return{p:function(n){for(var r=e,a=t,i=n.length|0,o=0;o!=i;){for(var m=Math.min(o+2655,i);o<m;++o)a+=r+=n[o];r=(r&65535)+15*(r>>16),a=(a&65535)+15*(a>>16)}e=r,t=a},d:function(){return e%=65521,t%=65521,(e&255)<<24|e>>>8<<16|(t&255)<<8|t>>>8}}},lr=function(e,t,n,r,a){return or(e,t.level==null?6:t.level,t.mem==null?Math.ceil(Math.max(8,Math.min(13,Math.log(e.length)))*1.5):12+t.mem,n,r,!a)},cr=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8},mr=function(e,t){var n=t.level,r=n==0?0:n<6?1:n==9?3:2;e[0]=120,e[1]=r<<6|(r?32-2*r:1)},dr=function(e){((e[0]&15)!=8||e[0]>>>4>7||(e[0]<<8|e[1])%31)&&ee(6,"invalid zlib data"),e[1]&32&&ee(6,"invalid zlib data: preset dictionaries not supported")};function _r(e,t){t||(t={});var n=ur();n.p(e);var r=lr(e,t,2,4);return mr(r,t),cr(r,r.length-4,n.d()),r}function fr(e,t){return ir((dr(e),e.subarray(2,-4)),t)}var At=typeof TextEncoder<"u"&&new TextEncoder,Ge=typeof TextDecoder<"u"&&new TextDecoder,hr=0;try{Ge.decode(Ve,{stream:!0}),hr=1}catch{}var vr=function(e){for(var t="",n=0;;){var r=e[n++],a=(r>127)+(r>223)+(r>239);if(n+a>e.length)return[t,ke(e,n-1)];a?a==3?(r=((r&15)<<18|(e[n++]&63)<<12|(e[n++]&63)<<6|e[n++]&63)-65536,t+=String.fromCharCode(55296|r>>10,56320|r&1023)):a&1?t+=String.fromCharCode((r&31)<<6|e[n++]&63):t+=String.fromCharCode((r&15)<<12|(e[n++]&63)<<6|e[n++]&63):t+=String.fromCharCode(r)}};function jt(e,t){if(t){for(var n=new J(e.length),r=0;r<e.length;++r)n[r]=e.charCodeAt(r);return n}if(At)return At.encode(e);for(var a=e.length,i=new J(e.length+(e.length>>1)),o=0,m=function(l){i[o++]=l},r=0;r<a;++r){if(o+5>i.length){var s=new J(o+8+(a-r<<1));s.set(i),i=s}var c=e.charCodeAt(r);c<128||t?m(c):c<2048?(m(192|c>>6),m(128|c&63)):c>55295&&c<57344?(c=65536+(c&1023<<10)|e.charCodeAt(++r)&1023,m(240|c>>18),m(128|c>>12&63),m(128|c>>6&63),m(128|c&63)):(m(224|c>>12),m(128|c>>6&63),m(128|c&63))}return ke(i,0,o)}function Ct(e,t){if(t){for(var n="",r=0;r<e.length;r+=16384)n+=String.fromCharCode.apply(null,e.subarray(r,r+16384));return n}else{if(Ge)return Ge.decode(e);var a=vr(e),i=a[0],o=a[1];return o.length&&ee(8),i}}const pr=e=>{const t=jt(e),n=_r(t,{level:9}),r=Ct(n,!0);return Buffer.from(r,"binary").toString("base64")},Mr=e=>{const t=Buffer.from(e,"base64").toString("binary");return t.startsWith("xÚ")?Ct(fr(jt(t,!0))):decodeURIComponent(escape(t))},gr=({app:e,config:t},n)=>{const{bundler:r}=e.options,a=St();if(r.name.endsWith("vite")&&("OPTIMIZE_DEPS"in process.env?Boolean(process.env.OPTIMIZE_DEPS):a!=="pnpm")){const i=t;i.viteOptions=_e(i.viteOptions||{},{optimizeDeps:{include:typeof n=="string"?[n]:n}}),i.viteOptions.optimizeDeps.include=Array.from(new Set(i.viteOptions.optimizeDeps.include))}},Yr=({app:e,config:t},n)=>{const{bundler:r}=e.options;if(r.name.endsWith("vite")){const a=t;a.viteOptions=_e(a.viteOptions||{},{optimizeDeps:{exclude:typeof n=="string"?[n]:n}}),a.viteOptions.optimizeDeps.exclude=Array.from(new Set(a.viteOptions.optimizeDeps.exclude))}},yr=({app:e,config:t},n)=>{const{bundler:r}=e.options;if(r.name.endsWith("vite")){const a=t;a.viteOptions=_e(a.viteOptions||{},{ssr:{external:typeof n=="string"?[n]:n}})}},$r=({app:e,config:t},n)=>{const{bundler:r}=e.options;if(r.name.endsWith("vite")){const a=t;a.viteOptions=_e(a.viteOptions||{},{ssr:{noExternal:typeof n=="string"?[n]:n}})}},Lr=(e,t,n,r,a="The server encounted an error")=>{const{base:i,bundler:o}=t.options;if(t.env.isDev&&o.name.endsWith("vite")){const m=e,s=(l,v)=>{r(l).then(f=>{v.statusCode=200,v.end(f)}).catch(()=>{v.statusCode=500,v.end(a)})},c={name:`virtual:devserver-mock/${n}`,configureServer:({middlewares:l})=>{l.use(`${i}${et(n)}`,s)}};m.viteOptions=_e(m.viteOptions||{},{plugins:[c]})}if(t.env.isDev&&o.name.endsWith("webpack")){const m=e,{devServerSetupMiddlewares:s}=m;m.devServerSetupMiddlewares=(c,l)=>{var v;return(v=l.app)==null||v.get(`${i}${et(n)}`,(f,M)=>{r(f).then(y=>M.status(200).send(y)).catch(()=>M.status(500).send(a))}),s?s(c,l):c}}},Te={"de-AT":"/de-at/","en-US":"/en/","es-ES":"/es/","fr-FR":"/fr/","pl-PL":"/pl/","pt-BR":"/br/","ru-RU":"/ru/","sk-SK":"/sk/","uk-UA":"/uk/","vi-VN":"/vi/","ja-JP":"/ja/","zh-CN":"/zh/","zh-TW":"/zh-tw/"},Et=Object.keys(Te),It=Object.fromEntries(Et.map(e=>[Te[e],e]));class Ft{constructor(t=""){this.name=t,this.currentInstance=nt()}create(t){return this.currentInstance=nt({prefixText:ce.blue(`${this.name}: `)||"",text:t}),this.currentInstance}update(t){this.currentInstance?this.currentInstance.text=t:this.create(t)}load(t=""){return(!t&&this.currentInstance?this.currentInstance:this.create(t)).start()}info(t=""){return(!t&&this.currentInstance?this.currentInstance:this.create(ce.blue(t))).info()}succeed(t=""){return(!t&&this.currentInstance?this.currentInstance:this.create(ce.green(t))).succeed()}warn(t=""){return(!t&&this.currentInstance?this.currentInstance:this.create(ce.yellow(t))).warn()}error(t=""){return(!t&&this.currentInstance?this.currentInstance:this.create(ce.red(t))).fail()}}const Ut={},wr=(e="")=>Et.includes(e),Dr=(e,t="")=>{Ut[e]||(console.warn(`${e} locates config is missing, and will return 'en-US' instead. | ||
${e==="root"?"":`You can contribute to https://github.com/vuepress-theme-hope/vuepress-theme-hope/blob/main/packages/${t||"<YOUR PLUGIN>"}/src/node/locales.ts in this repository. | ||
`}Note: This warning will be shown only once`),Ut[e]=!0)},Dr=(e="",t=!1)=>e in It?It[e]:(t&&console.warn(`${e} isn’t assign with a lang, and will return 'en-US' instead.`),"en-US"),He=(e="",t=!1)=>e in Te?Te[e]:(t&&console.warn(`${e} has no path config, and will return '/' instead.`),"/"),Pt=e=>{var t;const n=e.siteData.locales;return(n==null?void 0:n["/"])&&((t=n["/"])==null?void 0:t.lang)?n["/"].lang:e.siteData.lang},Wt=e=>He(Pt(e),e.env.isDebug),Jt=e=>Array.from(new Set([...Object.keys(e.siteData.locales)])),Lr=({app:e,name:t,default:n,config:r={}})=>{const a=Wt(e),i=new Ft(t);return Object.fromEntries([...Jt(e).filter(o=>o!=="/").map(o=>{const m=n[o]||(He(e.options.locales[o].lang)==="/"?null:n[He(e.options.locales[o].lang)]);return m||i.warn(`Locale ${o} is missing it's i18n config`),[o,ge({},m||n[a]||{},r[o]||{})]}),["/",ge({},n[a],r["/"]||r[a]||{})]])},Sr=(e,t)=>{e.pluginApi.plugins.every(n=>n.name!=="@vuepress/plugin-git")&&t&&e.use(Qt(t))},br=e=>{const t=e.pluginApi.plugins.findIndex(n=>n.name==="@vuepress/plugin-git");t!==-1&&e.pluginApi.plugins.splice(t,1)},Oe="<",Qe=">",Ke="<",kr=">",Nt=e=>e===" "||e===` | ||
`||e==="\r"||e===" ",Tr=e=>e==='"'||e==="'";class ve{consume(t,n){return t===Oe?(n(new Zt),""):t}}var Bt=(e=>(e[e.allowed=0]="allowed",e[e.disallowed=1]="disallowed",e))(Bt||{});class Zt{constructor(){this.nameBuffer=""}consume(t,n){if(this.nameBuffer.length===0){if(Nt(t))return n(new ve),"<"+t;if(t==="/")return""}return Nt(t)?(n(new Xe(1)),""):t===Oe?(this.nameBuffer+=Ke,""):t===Qe?(n(new ve),""):t==="-"&&this.nameBuffer==="!-"?(n(new Rt),""):(this.nameBuffer+=t,"")}}class Xe{constructor(t){this.mode=t}consume(t,n){return t===Qe?n(new ve):Tr(t)&&n(new qt(this.mode,t)),this.mode===1?"":t===Oe?Ke:t}}class qt{constructor(t,n){this.mode=t,this.quoteCharacter=n}consume(t,n){return t===this.quoteCharacter&&n(new Xe(this.mode)),this.mode===1?"":t===Oe?Ke:t===Qe?kr:t}}class Rt{constructor(){this.consecutiveHyphens=0}consume(t,n){return t===">"&&this.consecutiveHyphens>=2?n(new ve):t==="-"?this.consecutiveHyphens++:this.consecutiveHyphens=0,""}}class Vt{constructor(){this.state=new ve,this.transitionFunction=t=>{this.state=t}}consume(t){let n="";for(const r of t)n+=this.state.consume(r,this.transitionFunction);return n}}const Hr=(e="")=>e?new Vt().consume(e):"",Or=({app:e,config:t},n)=>{const{bundler:r}=e.options;if(r.name.endsWith("webpack")){const a=t,{chainWebpack:i}=a;a.chainWebpack=(o,m,s)=>{i==null||i(o,m,s),n(o,m,s)}}};export{Rt as InCommentState,ve as InPlaintextState,qt as InQuotedStringInTagState,Zt as InTagNameState,Xe as InTagState,Ft as Logger,Vt as StateMachine,Bt as TagMode,nn as addCustomElement,Mr as addViteOptimizeDepsExclude,pr as addViteOptimizeDepsInclude,gr as addViteSsrExternal,yr as addViteSsrNoExternal,vr as atou,Or as chainWebpack,$r as checkLang,Fn as compareDate,ge as deepAssign,St as detectPackageManager,Zn as encodeCDATA,qn as encodeXML,Un as getAuthor,Pn as getCategory,ye as getDate,Jt as getLocalePaths,Lr as getLocales,Pt as getRootLang,Wt as getRootLangPath,Wn as getTag,Lt as getTypeofLockFile,Fe as hasGlobalInstallation,Bn as injectLocalizedDate,Nn as isAbsoluteUrl,Jn as isUrl,He as lang2Path,de as mergeViteConfig,Xt as noopModule,Dr as path2Lang,br as removeGitPlugin,wr as showLangError,Hr as stripTags,xe as tagHint,Ie as timeTransformer,Yr as useCustomDevServer,Sr as useGitPlugin,hr as utoa}; | ||
`}Note: This warning will be shown only once`),Ut[e]=!0)},Sr=(e="",t=!1)=>e in It?It[e]:(t&&console.warn(`${e} isn’t assign with a lang, and will return 'en-US' instead.`),"en-US"),He=(e="",t=!1)=>e in Te?Te[e]:(t&&console.warn(`${e} has no path config, and will return '/' instead.`),"/"),Pt=e=>{var t;const n=e.siteData.locales;return(n==null?void 0:n["/"])&&((t=n["/"])==null?void 0:t.lang)?n["/"].lang:e.siteData.lang},Wt=e=>He(Pt(e),e.env.isDebug),Jt=e=>Array.from(new Set([...Object.keys(e.siteData.locales)])),br=({app:e,name:t,default:n,config:r={}})=>{const a=Wt(e),i=new Ft(t);return Object.fromEntries([...Jt(e).filter(o=>o!=="/").map(o=>{const m=n[o]||(He(e.options.locales[o].lang)==="/"?null:n[He(e.options.locales[o].lang)]);return m||i.warn(`Locale ${o} is missing it's i18n config`),[o,ge({},m||n[a]||{},r[o]||{})]}),["/",ge({},n[a],r["/"]||r[a]||{})]])},kr=(e,t)=>{e.pluginApi.plugins.every(n=>n.name!=="@vuepress/plugin-git")&&t&&e.use(Qt(t))},Tr=e=>{const t=e.pluginApi.plugins.findIndex(n=>n.name==="@vuepress/plugin-git");t!==-1&&e.pluginApi.plugins.splice(t,1)},Oe="<",Qe=">",Ke="<",Hr=">",Nt=e=>e===" "||e===` | ||
`||e==="\r"||e===" ",Or=e=>e==='"'||e==="'";class ve{consume(t,n){return t===Oe?(n(new Zt),""):t}}var Bt=(e=>(e[e.allowed=0]="allowed",e[e.disallowed=1]="disallowed",e))(Bt||{});class Zt{constructor(){this.nameBuffer=""}consume(t,n){if(this.nameBuffer.length===0){if(Nt(t))return n(new ve),"<"+t;if(t==="/")return""}return Nt(t)?(n(new Xe(1)),""):t===Oe?(this.nameBuffer+=Ke,""):t===Qe?(n(new ve),""):t==="-"&&this.nameBuffer==="!-"?(n(new Rt),""):(this.nameBuffer+=t,"")}}class Xe{constructor(t){this.mode=t}consume(t,n){return t===Qe?n(new ve):Or(t)&&n(new qt(this.mode,t)),this.mode===1?"":t===Oe?Ke:t}}class qt{constructor(t,n){this.mode=t,this.quoteCharacter=n}consume(t,n){return t===this.quoteCharacter&&n(new Xe(this.mode)),this.mode===1?"":t===Oe?Ke:t===Qe?Hr:t}}class Rt{constructor(){this.consecutiveHyphens=0}consume(t,n){return t===">"&&this.consecutiveHyphens>=2?n(new ve):t==="-"?this.consecutiveHyphens++:this.consecutiveHyphens=0,""}}class Vt{constructor(){this.state=new ve,this.transitionFunction=t=>{this.state=t}}consume(t){let n="";for(const r of t)n+=this.state.consume(r,this.transitionFunction);return n}}const zr=(e="")=>e?new Vt().consume(e):"",xr=({app:e,config:t},n)=>{const{bundler:r}=e.options;if(r.name.endsWith("webpack")){const a=t,{chainWebpack:i}=a;a.chainWebpack=(o,m,s)=>{i==null||i(o,m,s),n(o,m,s)}}};export{Rt as InCommentState,ve as InPlaintextState,qt as InQuotedStringInTagState,Zt as InTagNameState,Xe as InTagState,Ft as Logger,Vt as StateMachine,Bt as TagMode,nn as addCustomElement,Yr as addViteOptimizeDepsExclude,gr as addViteOptimizeDepsInclude,yr as addViteSsrExternal,$r as addViteSsrNoExternal,Mr as atou,xr as chainWebpack,wr as checkLang,Pn as compareDate,ge as deepAssign,St as detectPackageManager,Rn as encodeCDATA,Vn as encodeXML,Wn as getAuthor,Jn as getCategory,Ye as getDate,Jt as getLocalePaths,br as getLocales,Pt as getRootLang,Wt as getRootLangPath,Nn as getTag,Dt as getTypeofLockFile,Fe as hasGlobalInstallation,qn as injectLocalizedDate,Zn as isAbsoluteUrl,Bn as isUrl,He as lang2Path,_e as mergeViteConfig,Xt as noopModule,Sr as path2Lang,Tr as removeGitPlugin,Dr as showLangError,zr as stripTags,xe as tagHint,Ie as timeTransformer,Lr as useCustomDevServer,kr as useGitPlugin,pr as utoa}; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "vuepress-shared", | ||
"version": "2.0.0-beta.108", | ||
"version": "2.0.0-beta.109", | ||
"description": "Shared files for vuepress-theme-hope", | ||
@@ -49,3 +49,3 @@ "keywords": [ | ||
"execa": "^6.1.0", | ||
"fflate": "^0.7.3", | ||
"fflate": "^0.7.4", | ||
"ora": "^6.1.2", | ||
@@ -52,0 +52,0 @@ "vue": "^3.2.40", |
@@ -8,3 +8,2 @@ import { default as dayjs } from "dayjs"; | ||
import { loadDeAtLocale } from "./de-at.js"; | ||
import { loadEnLocale } from "./en.js"; | ||
@@ -21,2 +20,3 @@ import { loadEsLocale } from "./es.js"; | ||
import { loadZhTWLocale } from "./zh-tw.js"; | ||
import { loadJaLocale } from "./ja.js"; | ||
@@ -41,2 +41,3 @@ dayjs.extend(localizedFormat); | ||
loadZhTWLocale(dayjs); | ||
loadJaLocale(dayjs); | ||
@@ -61,2 +62,3 @@ export const getLocale = (lang = "en"): string => { | ||
"zh-tw", | ||
"ja", | ||
].includes(langcode) | ||
@@ -75,2 +77,3 @@ ) | ||
if (langcode === "zh-cn") return "zh"; | ||
if (langcode === "ja-jp") return "ja"; | ||
@@ -77,0 +80,0 @@ console.warn(`${lang} locale missing in config`); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
633269
82
3593
Updatedfflate@^0.7.4