Files
Snap.Hutao.Docs/assets/app-88bf10ea.js

9 lines
174 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import{d as defineAsyncComponent,r as ref,a as readonly,b as reactive,c as defineComponent,i as isString$1,e as isArray,f as dedupeHead,g as resolveLocalePath,o as onMounted,h as computed,j as h$3,k as isLinkHttp,l as removeLeadingSlash,m as inject,n as getCurrentInstance,p as isPlainObject,q as camelize,s as capitalize,t as isFunction$1,u as unref,w as watch,v as nextTick,x as getCurrentScope,y as onScopeDispose,z as shallowRef,A as watchEffect,T as Transition,B as useRouter,C as onBeforeUnmount,D as useRoute,E as isLinkMailto,F as resolveComponent,G as toRef,R as RouterLink,H as isLinkTel,I as isLinkExternal,J as removeEndingSlash,K as ensureEndingSlash,L as provide,M as TransitionGroup,N as useLink,O as createSSRApp,P as RouterView,Q as createRouter,S as START_LOCATION_NORMALIZED,U as createWebHistory}from"./framework-e266aaef.js";const scriptRel="modulepreload",assetsURL=function(l){return"/"+l},seen={},__vitePreload=function(u,m,b){if(!m||m.length===0)return u();const $=document.getElementsByTagName("link");return Promise.all(m.map(T=>{if(T=assetsURL(T),T in seen)return;seen[T]=!0;const j=T.endsWith(".css"),U=j?'[rel="stylesheet"]':"";if(!!b)for(let Y=$.length-1;Y>=0;Y--){const K=$[Y];if(K.href===T&&(!j||K.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${T}"]${U}`))return;const G=document.createElement("link");if(G.rel=j?"stylesheet":scriptRel,j||(G.as="script",G.crossOrigin=""),G.href=T,document.head.appendChild(G),j)return new Promise((Y,K)=>{G.addEventListener("load",Y),G.addEventListener("error",()=>K(new Error(`Unable to preload CSS for ${T}`)))})})).then(()=>u())},pagesData$1={"v-8daa1a0e":()=>__vitePreload(()=>import("./index.html-fc1b1b42.js"),[]).then(({data:l})=>l),"v-590a42d9":()=>__vitePreload(()=>import("./project.html-b860190c.js"),[]).then(({data:l})=>l),"v-96f5eae0":()=>__vitePreload(()=>import("./quick-start.html-c0abfc46.js"),[]).then(({data:l})=>l),"v-4f87b30d":()=>__vitePreload(()=>import("./Gacha-system-and-export-principal.html-c8d64917.js"),[]).then(({data:l})=>l),"v-5b94d45f":()=>__vitePreload(()=>import("./HttpRequestException.html-51444afa.js"),[]).then(({data:l})=>l),"v-0288c929":()=>__vitePreload(()=>import("./artifact-rating-rules.html-2b8fc25c.js"),[]).then(({data:l})=>l),"v-401b4afa":()=>__vitePreload(()=>import("./mihoyo-risk-tip.html-e348e070.js"),[]).then(({data:l})=>l),"v-3de90bb3":()=>__vitePreload(()=>import("./most-frequent-questions.html-f42b8c6a.js"),[]).then(({data:l})=>l),"v-2d0a870d":()=>__vitePreload(()=>import("./index.html-3423dd76.js"),[]).then(({data:l})=>l),"v-586858ed":()=>__vitePreload(()=>import("./project.html-6f66b00c.js"),[]).then(({data:l})=>l),"v-0c01f6a4":()=>__vitePreload(()=>import("./quick-start.html-94568e81.js"),[]).then(({data:l})=>l),"v-35380e8e":()=>__vitePreload(()=>import("./index.html-5c08c2e9.js"),[]).then(({data:l})=>l),"v-73139ec8":()=>__vitePreload(()=>import("./achievements.html-393be3cd.js"),[]).then(({data:l})=>l),"v-1c93fc72":()=>__vitePreload(()=>import("./character-data.html-a9d5ff2d.js"),[]).then(({data:l})=>l),"v-e37f5fa8":()=>__vitePreload(()=>import("./character-wiki.html-0cbc2614.js"),[]).then(({data:l})=>l),"v-646944b6":()=>__vitePreload(()=>import("./daily-notes.html-2c6f0293.js"),[]).then(({data:l})=>l),"v-1ae10847":()=>__vitePreload(()=>import("./develop-plan.html-66f44776.js"),[]).then(({data:l})=>l),"v-923d01d2":()=>__vitePreload(()=>import("./game-launcher.html-6a628e40.js"),[]).then(({data:l})=>l),"v-6de46920":()=>__vitePreload(()=>import("./hutao-API.html-38c056f6.js"),[]).then(({data:l})=>l),"v-0c385e36":()=>__vitePreload(()=>import("./hutao-settings.html-1ea89215.js"),[]).then(({data:l})=>l),"v-3e40bb9d":()=>__vitePreload(()=>import("./mhy-account-switch.html-96bf6f54.js"),[]).then(({data:l})=>l),"v-7070f771":()=>__vitePreload(()=>import("./weapon-wiki.html-6ab40adc.js"),[]).then(({data:l})=>l),"v-f4f67790":()=>__vitePreload(()=>import("./wish-export.html-e1bee203.js"),[]).then(({data:l})=>l),"v-39f4c4da":()=>__vitePreload(()=>import("./bug-report.html-cf8b55b2.js"),[]).then(({data:l})=>l),"v-70a2c93e":()=>__vitePreload(()=>import("./privacy-statement.html-66e1fd50.js"),[]).then(({data:l})=>l),"v-39caee21":()=>__vitePreload(()=>import("./Gacha-system-and-export-principal.html-8d0fa850.js"),[]).then(({data:l})=>l),"v-03534fc7":()=>__vitePreload(()=>import("./most-frequent-questions.html-d638b6dc.js"),[]).then(({data:l})=>l),"v-699a13b0":()=>__vitePreload(()=>import("./achievements.html-319a73e0.js"),[]).then(({data:l})=>l),"v-b8e3a2b8":()=>__vitePreload(()=>import("./wish-export.html-e3c33667.js"),[]).then(({data:l})=>l),"v-45ceb024":()=>__vitePreload(()=>import("./bug-report.html-bd0090a3.js"),[]).then(({data:l})=>l),"v-3706649a":()=>__vitePreload(()=>import("./404.html-32d5d192.js"),[]).then(({data:l})=>l),"v-74379e72":()=>__vitePreload(()=>import("./index.html-79b9b84e.js"),[]).then(({data:l})=>l),"v-b573819c":()=>__vitePreload(()=>import("./index.html-534cbddc.js"),[]).then(({data:l})=>l),"v-07470886":()=>__vitePreload(()=>import("./index.html-4f0d6788.js"),[]).then(({data:l})=>l),"v-30f089b6":()=>__vitePreload(()=>import("./index.html-a7542e8e.js"),[]).then(({data:l})=>l),"v-a4f9d2c4":()=>__vitePreload(()=>import("./index.html-2bc60034.js"),[]).then(({data:l})=>l)},siteData$1=JSON.parse('{"base":"/","lang":"en-US","title":"","description":"","head":[["script",{"async":"","defer":"","data-website-id":"f586534f-1741-450e-a0f4-3c0189f993c9","src":"https://umami.irain.in/umami.js"},"\\n "]],"locales":{"/":{"lang":"zh-CN","title":"胡桃工具箱","description":"多功能的原神工具箱"},"/en/":{"lang":"en-US","title":"Snap Hutao","description":"Super utilitarian Genshin Impact Tool"}}}'),pagesComponents={"v-8daa1a0e":defineAsyncComponent(()=>__vitePreload(()=>import("./index.html-a3d66666.js"),["assets/index.html-a3d66666.js","assets/framework-e266aaef.js"])),"v-590a42d9":defineAsyncComponent(()=>__vitePreload(()=>import("./project.html-0ea548de.js"),["assets/project.html-0ea548de.js","assets/framework-e266aaef.js"])),"v-96f5eae0":defineAsyncComponent(()=>__vitePreload(()=>import("./quick-start.html-b098b166.js"),["assets/quick-start.html-b098b166.js","assets/framework-e266aaef.js"])),"v-4f87b30d":defineAsyncComponent(()=>__vitePreload(()=>import("./Gacha-system-and-export-principal.html-36ab8edb.js"),["assets/Gacha-system-and-export-principal.html-36ab8edb.js","assets/framework-e266aaef.js"])),"v-5b94d45f":defineAsyncComponent(()=>__vitePreload(()=>import("./HttpRequestException.html-60a64445.js"),["assets/HttpRequestException.html-60a64445.js","assets/framework-e266aaef.js"])),"v-0288c929":defineAsyncComponent(()=>__vitePreload(()=>import("./artifact-rating-rules.html-e57db1f7.js"),["assets/artifact-rating-rules.html-e57db1f7.js","assets/framework-e266aaef.js"])),"v-401b4afa":defineAsyncComponent(()=>__vitePreload(()=>import("./mihoyo-risk-tip.html-5a9e00f5.js"),["assets/mihoyo-risk-tip.html-5a9e00f5.js","assets/framework-e266aaef.js"])),"v-3de90bb3":defineAsyncComponent(()=>__vitePreload(()=>import("./most-frequent-questions.html-f4570d1e.js"),["assets/most-frequent-questions.html-f4570d1e.js","assets/framework-e266aaef.js"])),"v-2d0a870d":defineAsyncComponent(()=>__vitePreload(()=>import("./index.html-f8ee2fbe.js"),["assets/index.html-f8ee2fbe.js","assets/framework-e266aaef.js"])),"v-586858ed":defineAsyncComponent(()=>__vitePreload(()=>import("./project.html-0e3ffb52.js"),["assets/project.html-0e3ffb52.js","assets/framework-e266aaef.js"])),"v-0c01f6a4":defineAsyncComponent(()=>__vitePreload(()=>import("./quick-start.html-d64a3766.js"),["assets/quick-start.html-d64a3766.js","assets/framework-e266aaef.js"])),"v-35380e8e":defineAsyncComponent(()=>__vitePreload(()=>import("./index.html-6f87bb0c.js"),["assets/index.html-6f87bb0c.js","assets/framework-e266aaef.js"])),"v-73139ec8":defineAsyncComponent(()=>__vitePreload(()=>import("./achievements.html-43ba37fd.js"),["assets/achievements.html-43ba37fd.js","assets/framework-e266aaef.js"])),"v-1c93fc72":defineAsyncComponent(()=>__vitePreload(()=>import("./character-data.html-06257187.js"),["assets/character-data.html-06257187.js","assets/framework-e266aaef.js"])),"v-e37f5fa8":defineAsyncComponent(()=>__vitePreload(()=>import("./character-wiki.html-82206509.js"),["assets/character-wiki.html-82206509.js","assets/framework-e266aaef.js"])),"v-646944b6":defineAsyncComponent(()=>__vitePreload(()=>import("./daily-notes.html-b43c692c.js"),["assets/daily-notes.html-b43c692c.js","assets/framework-e266aaef.js"])),"v-1ae10847":defineAsyncComponent(()=>__vitePreload(()=>import("./develop-plan.html-80ee4652.js"),["assets/develop-plan.html-80ee4652.js","assets/framework-e266aaef.js"])),"v-923d01d2":defineAsyncComponent(()=>__vitePreload(()=>import("./game-launcher.html-7416188b.js"),["assets/game-launcher.html-7416188b.js","assets/framework-e266aaef.js"])),"v-6de46920":defineAsyncComponent(()=>__vitePreload(()=>import("./hutao-API.html-144af18e.js"),["assets/hutao-API.html-144af18e.js","assets/framework-e266aaef.js"])),"v-0c385e36":defineAsyncComponent(()=>__vitePreload(()=>import("./hutao-settings.html-627e3ab6.js"),["assets/hutao-settings.html-627e3ab6.js","assets/framework-e266aaef.js"])),"v-3e40bb9d":defineAsyncComponent(()=>__vitePreload(()=>import("./mhy-account-switch.html-867dea72.js"),["assets/mhy-account-switch.html-867dea72.js","assets/framework-e266aaef.js"])),"v-7070f771":defineAsyncComponent(()=>__vitePreload(()=>import("./weapon-wiki.html-08c3a31a.js"),["assets/weapon-wiki.html-08c3a31a.js","assets/framework-e266aaef.js"])),"v-f4f67790":defineAsyncComponent(()=>__vitePreload(()=>import("./wish-export.html-240ef78b.js"),["assets/wish-export.html-240ef78b.js","assets/framework-e266aaef.js"])),"v-39f4c4da":defineAsyncComponent(()=>__vitePreload(()=>import("./bug-report.html-b51cab04.js"),["assets/bug-report.html-b51cab04.js","assets/framework-e266aaef.js"])),"v-70a2c93e":defineAsyncComponent(()=>__vitePreload(()=>import("./privacy-statement.html-5cd4fcb1.js"),["assets/privacy-statement.html-5cd4fcb1.js","assets/framework-e266aaef.js"])),"v-39caee21":defineAsyncComponent(()=>__vitePreload(()=>import("./Gacha-system-and-export-principal.html-07de5743.js"),["assets/Gacha-system-and-export-principal.html-07de5743.js","assets/framework-e266aaef.js"])),"v-03534fc7":defineAsyncComponent(()=>__vitePreload(()=>import("./most-frequent-questions.html-50b090db.js"),["assets/most-frequent-questions.html-50b090db.js","assets/framework-e266aaef.js"])),"v-699a13b0":defineAsyncComponent(()=>__vitePreload(()=>import("./achievements.html-b4aecd01.js"),["assets/achievements.html-b4aecd01.js","assets/framework-e266aaef.js"])),"v-b8e3a2b8":defineAsyncComponent(()=>__vitePreload(()=>import("./wish-export.html-3a634199.js"),["assets/wish-export.html-3a634199.js","assets/framework-e266aaef.js"])),"v-45ceb024":defineAsyncComponent(()=>__vitePreload(()=>import("./bug-report.html-b6ee5518.js"),["assets/bug-report.html-b6ee5518.js","assets/framework-e266aaef.js"])),"v-3706649a":defineAsyncComponent(()=>__vitePreload(()=>import("./404.html-c84ec4c6.js"),["assets/404.html-c84ec4c6.js","assets/framework-e266aaef.js"])),"v-74379e72":defineAsyncComponent(()=>__vitePreload(()=>import("./index.html-53e1a083.js"),["assets/index.html-53e1a083.js","assets/framework-e266aaef.js"])),"v-b573819c":defineAsyncComponent(()=>__vitePreload(()=>import("./index.html-9a0c0217.js"),["assets/index.html-9a0c0217.js","assets/framework-e266aaef.js"])),"v-07470886":defineAsyncComponent(()=>__vitePreload(()=>import("./index.html-5847f095.js"),["assets/index.html-5847f095.js","assets/framework-e266aaef.js"])),"v-30f089b6":defineAsyncComponent(()=>__vitePreload(()=>import("./index.html-d9f5d17d.js"),["assets/index.html-d9f5d17d.js","assets/framework-e266aaef.js"])),"v-a4f9d2c4":defineAsyncComponent(()=>__vitePreload(()=>import("./index.html-e0ab85ef.js"),["assets/index.html-e0ab85ef.js","assets/framework-e266aaef.js"]))};var layoutsSymbol=Symbol(""),pagesData=ref(pagesData$1),pageDataEmpty=readonly({key:"",path:"",title:"",lang:"",frontmatter:{},headers:[]}),pageData=ref(pageDataEmpty),usePageData=()=>pageData,pageFrontmatterSymbol=Symbol(""),usePageFrontmatter=()=>{const l=inject(pageFrontmatterSymbol);if(!l)throw new Error("usePageFrontmatter() is called without provider.");return l},pageHeadSymbol=Symbol(""),usePageHead=()=>{const l=inject(pageHeadSymbol);if(!l)throw new Error("usePageHead() is called without provider.");return l},pageHeadTitleSymbol=Symbol(""),pageLangSymbol=Symbol(""),usePageLang=()=>{const l=inject(pageLangSymbol);if(!l)throw new Error("usePageLang() is called without provider.");return l},pageLayoutSymbol=Symbol(""),usePageLayout=()=>{const l=inject(pageLayoutSymbol);if(!l)throw new Error("usePageLayout() is called without provider.");return l},routeLocaleSymbol=Symbol(""),useRouteLocale=()=>{const l=inject(routeLocaleSymbol);if(!l)throw new Error("useRouteLocale() is called without provider.");return l},siteData=ref(siteData$1),useSiteData=()=>siteData,siteLocaleDataSymbol=Symbol(""),useSiteLocaleData=()=>{const l=inject(siteLocaleDataSymbol);if(!l)throw new Error("useSiteLocaleData() is called without provider.");return l},updateHeadSymbol=Symbol(""),LAYOUT_NAME_DEFAULT="Layout",LAYOUT_NAME_NOT_FOUND="NotFound",resolvers=reactive({resolveLayouts:l=>l.reduce((u,m)=>({...u,...m.layouts}),{}),resolvePageData:async l=>{const u=pagesData.value[l];return await(u==null?void 0:u())??pageDataEmpty},resolvePageFrontmatter:l=>l.frontmatter,resolvePageHead:(l,u,m)=>{const b=isString$1(u.description)?u.description:m.description,$=[...isArray(u.head)?u.head:[],...m.head,["title",{},l],["meta",{name:"description",content:b}]];return dedupeHead($)},resolvePageHeadTitle:(l,u)=>[l.title,u.title].filter(m=>!!m).join(" | "),resolvePageLang:l=>l.lang||"en",resolvePageLayout:(l,u)=>{let m;if(l.path){const b=l.frontmatter.layout;isString$1(b)?m=b:m=LAYOUT_NAME_DEFAULT}else m=LAYOUT_NAME_NOT_FOUND;return u[m]},resolveRouteLocale:(l,u)=>resolveLocalePath(l,u),resolveSiteLocaleData:(l,u)=>({...l,...l.locales[u]})}),ClientOnly=defineComponent({name:"ClientOnly",setup(l,u){const m=ref(!1);return onMounted(()=>{m.value=!0}),()=>{var b,$;return m.value?($=(b=u.slots).default)==null?void 0:$.call(b):null}}}),Content=defineComponent({name:"Content",props:{pageKey:{type:String,required:!1,default:""}},setup(l){const u=usePageData(),m=computed(()=>pagesComponents[l.pageKey||u.value.key]);return()=>m.value?h$3(m.value):h$3("div","404 Not Found")}}),defineClientConfig=(l={})=>l,withBase=l=>isLinkHttp(l)?l:`/${removeLeadingSlash(l)}`;const hopeInject="",clientConfig0={};var u8=Uint8Array,u16=Uint16Array,u32=Uint32Array,fleb=new u8([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]),fdeb=new u8([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]),clim=new u8([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),freb=function(l,u){for(var m=new u16(31),b=0;b<31;++b)m[b]=u+=1<<l[b-1];for(var $=new u32(m[30]),b=1;b<30;++b)for(var T=m[b];T<m[b+1];++T)$[T]=T-m[b]<<5|b;return[m,$]},_a$1=freb(fleb,2),fl=_a$1[0],revfl=_a$1[1];fl[28]=258,revfl[258]=28;var _b=freb(fdeb,0),fd=_b[0],rev=new u16(32768);for(var i$1=0;i$1<32768;++i$1){var x$2=(i$1&43690)>>>1|(i$1&21845)<<1;x$2=(x$2&52428)>>>2|(x$2&13107)<<2,x$2=(x$2&61680)>>>4|(x$2&3855)<<4,rev[i$1]=((x$2&65280)>>>8|(x$2&255)<<8)>>>1}var hMap=function(l,u,m){for(var b=l.length,$=0,T=new u16(u);$<b;++$)l[$]&&++T[l[$]-1];var j=new u16(u);for($=0;$<u;++$)j[$]=j[$-1]+T[$-1]<<1;var U;if(m){U=new u16(1<<u);var W=15-u;for($=0;$<b;++$)if(l[$])for(var G=$<<4|l[$],Y=u-l[$],K=j[l[$]-1]++<<Y,ee=K|(1<<Y)-1;K<=ee;++K)U[rev[K]>>>W]=G}else for(U=new u16(b),$=0;$<b;++$)l[$]&&(U[$]=rev[j[l[$]-1]++]>>>15-l[$]);return U},flt=new u8(288);for(var i$1=0;i$1<144;++i$1)flt[i$1]=8;for(var i$1=144;i$1<256;++i$1)flt[i$1]=9;for(var i$1=256;i$1<280;++i$1)flt[i$1]=7;for(var i$1=280;i$1<288;++i$1)flt[i$1]=8;var fdt=new u8(32);for(var i$1=0;i$1<32;++i$1)fdt[i$1]=5;var flrm=hMap(flt,9,1),fdrm=hMap(fdt,5,1),max=function(l){for(var u=l[0],m=1;m<l.length;++m)l[m]>u&&(u=l[m]);return u},bits=function(l,u,m){var b=u/8|0;return(l[b]|l[b+1]<<8)>>(u&7)&m},bits16=function(l,u){var m=u/8|0;return(l[m]|l[m+1]<<8|l[m+2]<<16)>>(u&7)},shft=function(l){return(l+7)/8|0},slc=function(l,u,m){(u==null||u<0)&&(u=0),(m==null||m>l.length)&&(m=l.length);var b=new(l.BYTES_PER_ELEMENT==2?u16:l.BYTES_PER_ELEMENT==4?u32:u8)(m-u);return b.set(l.subarray(u,m)),b},ec=["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"],err=function(l,u,m){var b=new Error(u||ec[l]);if(b.code=l,Error.captureStackTrace&&Error.captureStackTrace(b,err),!m)throw b;return b},inflt=function(l,u,m){var b=l.length;if(!b||m&&m.f&&!m.l)return u||new u8(0);var $=!u||m,T=!m||m.i;m||(m={}),u||(u=new u8(b*3));var j=function(Ae){var Oe=u.length;if(Ae>Oe){var Ie=new u8(Math.max(Oe*2,Ae));Ie.set(u),u=Ie}},U=m.f||0,W=m.p||0,G=m.b||0,Y=m.l,K=m.d,ee=m.m,ne=m.n,oe=b*8;do{if(!Y){U=bits(l,W,1);var ae=bits(l,W+1,3);if(W+=3,ae)if(ae==1)Y=flrm,K=fdrm,ee=9,ne=5;else if(ae==2){var ve=bits(l,W,31)+257,Le=bits(l,W+10,15)+4,_e=ve+bits(l,W+5,31)+1;W+=14;for(var de=new u8(_e),re=new u8(19),fe=0;fe<Le;++fe)re[clim[fe]]=bits(l,W+fe*3,7);W+=Le*3;for(var ge=max(re),$e=(1<<ge)-1,Te=hMap(re,ge,1),fe=0;fe<_e;){var Me=Te[bits(l,W,$e)];W+=Me&15;var ie=Me>>>4;if(ie<16)de[fe++]=ie;else{var me=0,se=0;for(ie==16?(se=3+bits(l,W,3),W+=2,me=de[fe-1]):ie==17?(se=3+bits(l,W,7),W+=3):ie==18&&(se=11+bits(l,W,127),W+=7);se--;)de[fe++]=me}}var le=de.subarray(0,ve),pe=de.subarray(ve);ee=max(le),ne=max(pe),Y=hMap(le,ee,1),K=hMap(pe,ne,1)}else err(1);else{var ie=shft(W)+4,ue=l[ie-4]|l[ie-3]<<8,he=ie+ue;if(he>b){T&&err(0);break}$&&j(G+ue),u.set(l.subarray(ie,he),G),m.b=G+=ue,m.p=W=he*8,m.f=U;continue}if(W>oe){T&&err(0);break}}$&&j(G+131072);for(var ce=(1<<ee)-1,ye=(1<<ne)-1,be=W;;be=W){var me=Y[bits16(l,W)&ce],we=me>>>4;if(W+=me&15,W>oe){T&&err(0);break}if(me||err(2),we<256)u[G++]=we;else if(we==256){be=W,Y=null;break}else{var Ce=we-254;if(we>264){var fe=we-257,Se=fleb[fe];Ce=bits(l,W,(1<<Se)-1)+fl[fe],W+=Se}var ke=K[bits16(l,W)&ye],Ee=ke>>>4;ke||err(3),W+=ke&15;var pe=fd[Ee];if(Ee>3){var Se=fdeb[Ee];pe+=bits16(l,W)&(1<<Se)-1,W+=Se}if(W>oe){T&&err(0);break}$&&j(G+131072);for(var De=G+Ce;G<De;G+=4)u[G]=u[G-pe],u[G+1]=u[G+1-pe],u[G+2]=u[G+2-pe],u[G+3]=u[G+3-pe];G=De}}m.l=Y,m.p=be,m.b=G,m.f=U,Y&&(U=1,m.m=ee,m.d=K,m.n=ne)}while(!U);return G==u.length?u:slc(u,0,G)},et$1=new u8(0),zlv=function(l){((l[0]&15)!=8||l[0]>>>4>7||(l[0]<<8|l[1])%31)&&err(6,"invalid zlib data"),l[1]&32&&err(6,"invalid zlib data: preset dictionaries not supported")};function unzlibSync(l,u){return inflt((zlv(l),l.subarray(2,-4)),u)}var te$1=typeof TextEncoder<"u"&&new TextEncoder,td=typeof TextDecoder<"u"&&new TextDecoder,tds=0;try{td.decode(et$1,{stream:!0}),tds=1}catch{}var dutf8=function(l){for(var u="",m=0;;){var b=l[m++],$=(b>127)+(b>223)+(b>239);if(m+$>l.length)return[u,slc(l,m-1)];$?$==3?(b=((b&15)<<18|(l[m++]&63)<<12|(l[m++]&63)<<6|l[m++]&63)-65536,u+=String.fromCharCode(55296|b>>10,56320|b&1023)):$&1?u+=String.fromCharCode((b&31)<<6|l[m++]&63):u+=String.fromCharCode((b&15)<<12|(l[m++]&63)<<6|l[m++]&63):u+=String.fromCharCode(b)}};function strToU8(l,u){if(u){for(var m=new u8(l.length),b=0;b<l.length;++b)m[b]=l.charCodeAt(b);return m}if(te$1)return te$1.encode(l);for(var $=l.length,T=new u8(l.length+(l.length>>1)),j=0,U=function(Y){T[j++]=Y},b=0;b<$;++b){if(j+5>T.length){var W=new u8(j+8+($-b<<1));W.set(T),T=W}var G=l.charCodeAt(b);G<128||u?U(G):G<2048?(U(192|G>>6),U(128|G&63)):G>55295&&G<57344?(G=65536+(G&1023<<10)|l.charCodeAt(++b)&1023,U(240|G>>18),U(128|G>>12&63),U(128|G>>6&63),U(128|G&63)):(U(224|G>>12),U(128|G>>6&63),U(128|G&63))}return slc(T,0,j)}function strFromU8(l,u){if(u){for(var m="",b=0;b<l.length;b+=16384)m+=String.fromCharCode.apply(null,l.subarray(b,b+16384));return m}else{if(td)return td.decode(l);var $=dutf8(l),T=$[0],j=$[1];return j.length&&err(8),T}}const lt=({name:l="",color:u="currentColor"},{slots:m})=>{var b;return h$3("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${l}-icon`],viewBox:"0 0 1024 1024",fill:u,"aria-label":`${l} icon`},(b=m.default)==null?void 0:b.call(m))};lt.displayName="IconBase";const Mt=(l,{slots:u})=>{var m;return((m=u.default)==null?void 0:m.call(u))||null},xt=(l,u)=>{const m=u?u._instance:getCurrentInstance();return isPlainObject(m==null?void 0:m.appContext.components)&&(l in m.appContext.components||camelize(l)in m.appContext.components||capitalize(camelize(l))in m.appContext.components)},Ot=l=>{const u=useRouteLocale();return computed(()=>l[u.value])},jt=(l,u)=>{let m=1;for(let b=0;b<l.length;b++)m+=l.charCodeAt(b),m+=m<<10,m^=m>>6;return m+=m<<3,m^=m>>11,m%u};class Lt{constructor(){this.messageElements={};const u="message-container",m=document.getElementById(u);m?this.containerElement=m:(this.containerElement=document.createElement("div"),this.containerElement.id=u,document.body.appendChild(this.containerElement))}pop(u,m=2e3){const b=document.createElement("div"),$=Date.now();return b.className="message move-in",b.innerHTML=u,this.containerElement.appendChild(b),this.messageElements[$]=b,m>0&&setTimeout(()=>{this.close($)},m),$}close(u){if(u){const m=this.messageElements[u];m.className=m.className.replace("move-in",""),m.className+="move-out",m.addEventListener("animationend",()=>{m.remove(),delete this.messageElements[u]})}else Object.keys(this.messageElements).forEach(m=>this.close(Number(m)))}destroy(){document.body.removeChild(this.containerElement)}}const dt=/#.*$/u,mt=l=>{const u=dt.exec(l);return u?u[0]:""},X=l=>decodeURI(l).replace(dt,"").replace(/(index)?\.(md|html)$/,""),At=(l,u)=>{if(u===void 0)return!1;const m=X(l.path),b=X(u),$=mt(u);return $?$===l.hash&&(!b||m===b):m===b},Wt=l=>{const u=atob(l);return strFromU8(unzlibSync(strToU8(u,!0)))},vt=(l,...u)=>{const m=l.resolve(...u),b=m.matched[m.matched.length-1];if(!(b!=null&&b.redirect))return m;const{redirect:$}=b,T=isFunction$1($)?$(m):$,j=isString$1(T)?{path:T}:T;return vt(l,{hash:m.hash,query:m.query,params:m.params,...j})};var Q$1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},tt={},Pt={get exports(){return tt},set exports(l){tt=l}};(function(l,u){(function(m,b){l.exports=b()})(Q$1,function(){var m=1e3,b=6e4,$=36e5,T="millisecond",j="second",U="minute",W="hour",G="day",Y="week",K="month",ee="quarter",ne="year",oe="date",ae="Invalid Date",ie=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,ue=/\[([^\]]+)]|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,he={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("_"),ordinal:function(me){var se=["th","st","nd","rd"],le=me%100;return"["+me+(se[(le-20)%10]||se[le]||se[0])+"]"}},ve=function(me,se,le){var pe=String(me);return!pe||pe.length>=se?me:""+Array(se+1-pe.length).join(le)+me},Le={s:ve,z:function(me){var se=-me.utcOffset(),le=Math.abs(se),pe=Math.floor(le/60),ce=le%60;return(se<=0?"+":"-")+ve(pe,2,"0")+":"+ve(ce,2,"0")},m:function me(se,le){if(se.date()<le.date())return-me(le,se);var pe=12*(le.year()-se.year())+(le.month()-se.month()),ce=se.clone().add(pe,K),ye=le-ce<0,be=se.clone().add(pe+(ye?-1:1),K);return+(-(pe+(le-ce)/(ye?ce-be:be-ce))||0)},a:function(me){return me<0?Math.ceil(me)||0:Math.floor(me)},p:function(me){return{M:K,y:ne,w:Y,d:G,D:oe,h:W,m:U,s:j,ms:T,Q:ee}[me]||String(me||"").toLowerCase().replace(/s$/,"")},u:function(me){return me===void 0}},_e="en",de={};de[_e]=he;var re=function(me){return me instanceof Te},fe=function me(se,le,pe){var ce;if(!se)return _e;if(typeof se=="string"){var ye=se.toLowerCase();de[ye]&&(ce=ye),le&&(de[ye]=le,ce=ye);var be=se.split("-");if(!ce&&be.length>1)return me(be[0])}else{var we=se.name;de[we]=se,ce=we}return!pe&&ce&&(_e=ce),ce||!pe&&_e},ge=function(me,se){if(re(me))return me.clone();var le=typeof se=="object"?se:{};return le.date=me,le.args=arguments,new Te(le)},$e=Le;$e.l=fe,$e.i=re,$e.w=function(me,se){return ge(me,{locale:se.$L,utc:se.$u,x:se.$x,$offset:se.$offset})};var Te=function(){function me(le){this.$L=fe(le.locale,null,!0),this.parse(le)}var se=me.prototype;return se.parse=function(le){this.$d=function(pe){var ce=pe.date,ye=pe.utc;if(ce===null)return new Date(NaN);if($e.u(ce))return new Date;if(ce instanceof Date)return new Date(ce);if(typeof ce=="string"&&!/Z$/i.test(ce)){var be=ce.match(ie);if(be){var we=be[2]-1||0,Ce=(be[7]||"0").substring(0,3);return ye?new Date(Date.UTC(be[1],we,be[3]||1,be[4]||0,be[5]||0,be[6]||0,Ce)):new Date(be[1],we,be[3]||1,be[4]||0,be[5]||0,be[6]||0,Ce)}}return new Date(ce)}(le),this.$x=le.x||{},this.init()},se.init=function(){var le=this.$d;this.$y=le.getFullYear(),this.$M=le.getMonth(),this.$D=le.getDate(),this.$W=le.getDay(),this.$H=le.getHours(),this.$m=le.getMinutes(),this.$s=le.getSeconds(),this.$ms=le.getMilliseconds()},se.$utils=function(){return $e},se.isValid=function(){return this.$d.toString()!==ae},se.isSame=function(le,pe){var ce=ge(le);return this.startOf(pe)<=ce&&ce<=this.endOf(pe)},se.isAfter=function(le,pe){return ge(le)<this.startOf(pe)},se.isBefore=function(le,pe){return this.endOf(pe)<ge(le)},se.$g=function(le,pe,ce){return $e.u(le)?this[pe]:this.set(ce,le)},se.unix=function(){return Math.floor(this.valueOf()/1e3)},se.valueOf=function(){return this.$d.getTime()},se.startOf=function(le,pe){var ce=this,ye=!!$e.u(pe)||pe,be=$e.p(le),we=function(Ie,Pe){var xe=$e.w(ce.$u?Date.UTC(ce.$y,Pe,Ie):new Date(ce.$y,Pe,Ie),ce);return ye?xe:xe.endOf(G)},Ce=function(Ie,Pe){return $e.w(ce.toDate()[Ie].apply(ce.toDate("s"),(ye?[0,0,0,0]:[23,59,59,999]).slice(Pe)),ce)},Se=this.$W,ke=this.$M,Ee=this.$D,De="set"+(this.$u?"UTC":"");switch(be){case ne:return ye?we(1,0):we(31,11);case K:return ye?we(1,ke):we(0,ke+1);case Y:var Ae=this.$locale().weekStart||0,Oe=(Se<Ae?Se+7:Se)-Ae;return we(ye?Ee-Oe:Ee+(6-Oe),ke);case G:case oe:return Ce(De+"Hours",0);case W:return Ce(De+"Minutes",1);case U:return Ce(De+"Seconds",2);case j:return Ce(De+"Milliseconds",3);default:return this.clone()}},se.endOf=function(le){return this.startOf(le,!1)},se.$set=function(le,pe){var ce,ye=$e.p(le),be="set"+(this.$u?"UTC":""),we=(ce={},ce[G]=be+"Date",ce[oe]=be+"Date",ce[K]=be+"Month",ce[ne]=be+"FullYear",ce[W]=be+"Hours",ce[U]=be+"Minutes",ce[j]=be+"Seconds",ce[T]=be+"Milliseconds",ce)[ye],Ce=ye===G?this.$D+(pe-this.$W):pe;if(ye===K||ye===ne){var Se=this.clone().set(oe,1);Se.$d[we](Ce),Se.init(),this.$d=Se.set(oe,Math.min(this.$D,Se.daysInMonth())).$d}else we&&this.$d[we](Ce);return this.init(),this},se.set=function(le,pe){return this.clone().$set(le,pe)},se.get=function(le){return this[$e.p(le)]()},se.add=function(le,pe){var ce,ye=this;le=Number(le);var be=$e.p(pe),we=function(ke){var Ee=ge(ye);return $e.w(Ee.date(Ee.date()+Math.round(ke*le)),ye)};if(be===K)return this.set(K,this.$M+le);if(be===ne)return this.set(ne,this.$y+le);if(be===G)return we(1);if(be===Y)return we(7);var Ce=(ce={},ce[U]=b,ce[W]=$,ce[j]=m,ce)[be]||1,Se=this.$d.getTime()+le*Ce;return $e.w(Se,this)},se.subtract=function(le,pe){return this.add(-1*le,pe)},se.format=function(le){var pe=this,ce=this.$locale();if(!this.isValid())return ce.invalidDate||ae;var ye=le||"YYYY-MM-DDTHH:mm:ssZ",be=$e.z(this),we=this.$H,Ce=this.$m,Se=this.$M,ke=ce.weekdays,Ee=ce.months,De=function(Pe,xe,Fe,Re){return Pe&&(Pe[xe]||Pe(pe,ye))||Fe[xe].slice(0,Re)},Ae=function(Pe){return $e.s(we%12||12,Pe,"0")},Oe=ce.meridiem||function(Pe,xe,Fe){var Re=Pe<12?"AM":"PM";return Fe?Re.toLowerCase():Re},Ie={YY:String(this.$y).slice(-2),YYYY:this.$y,M:Se+1,MM:$e.s(Se+1,2,"0"),MMM:De(ce.monthsShort,Se,Ee,3),MMMM:De(Ee,Se),D:this.$D,DD:$e.s(this.$D,2,"0"),d:String(this.$W),dd:De(ce.weekdaysMin,this.$W,ke,2),ddd:De(ce.weekdaysShort,this.$W,ke,3),dddd:ke[this.$W],H:String(we),HH:$e.s(we,2,"0"),h:Ae(1),hh:Ae(2),a:Oe(we,Ce,!0),A:Oe(we,Ce,!1),m:String(Ce),mm:$e.s(Ce,2,"0"),s:String(this.$s),ss:$e.s(this.$s,2,"0"),SSS:$e.s(this.$ms,3,"0"),Z:be};return ye.replace(ue,function(Pe,xe){return xe||Ie[Pe]||be.replace(":","")})},se.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},se.diff=function(le,pe,ce){var ye,be=$e.p(pe),we=ge(le),Ce=(we.utcOffset()-this.utcOffset())*b,Se=this-we,ke=$e.m(this,we);return ke=(ye={},ye[ne]=ke/12,ye[K]=ke,ye[ee]=ke/3,ye[Y]=(Se-Ce)/6048e5,ye[G]=(Se-Ce)/864e5,ye[W]=Se/$,ye[U]=Se/b,ye[j]=Se/m,ye)[be]||Se,ce?ke:$e.a(ke)},se.daysInMonth=function(){return this.endOf(K).$D},se.$locale=function(){return de[this.$L]},se.locale=function(le,pe){if(!le)return this.$L;var ce=this.clone(),ye=fe(le,pe,!0);return ye&&(ce.$L=ye),ce},se.clone=function(){return $e.w(this.$d,this)},se.toDate=function(){return new Date(this.valueOf())},se.toJSON=function(){return this.isValid()?this.toISOString():null},se.toISOString=function(){return this.$d.toISOString()},se.toString=function(){return this.$d.toUTCString()},me}(),Me=Te.prototype;return ge.prototype=Me,[["$ms",T],["$s",j],["$m",U],["$H",W],["$W",G],["$M",K],["$y",ne],["$D",oe]].forEach(function(me){Me[me[1]]=function(se){return this.$g(se,me[0],me[1])}}),ge.extend=function(me,se){return me.$i||(me(se,Te,ge),me.$i=!0),ge},ge.locale=fe,ge.isDayjs=re,ge.unix=function(me){return ge(1e3*me)},ge.en=de[_e],ge.Ls=de,ge.p={},ge})})(Pt);var Z=tt,et={},Zt={get exports(){return et},set exports(l){et=l}};(function(l,u){(function(m,b){l.exports=b()})(Q$1,function(){return function(m,b,$){var T=b.prototype,j=function(ee){var ne,oe=ee.date,ae=ee.utc,ie={};if(!((ne=oe)instanceof Date||ne instanceof Array||T.$utils().u(ne)||ne.constructor.name!=="Object")){if(!Object.keys(oe).length)return new Date;var ue=ae?$.utc():$();Object.keys(oe).forEach(function(ge){var $e,Te;ie[$e=ge,Te=T.$utils().p($e),Te==="date"?"day":Te]=oe[ge]});var he=ie.day||(ie.year||ie.month>=0?1:ue.date()),ve=ie.year||ue.year(),Le=ie.month>=0?ie.month:ie.year||ie.day?0:ue.month(),_e=ie.hour||0,de=ie.minute||0,re=ie.second||0,fe=ie.millisecond||0;return ae?new Date(Date.UTC(ve,Le,he,_e,de,re,fe)):new Date(ve,Le,he,_e,de,re,fe)}return oe},U=T.parse;T.parse=function(ee){ee.date=j.bind(this)(ee),U.bind(this)(ee)};var W=T.set,G=T.add,Y=T.subtract,K=function(ee,ne,oe,ae){ae===void 0&&(ae=1);var ie=Object.keys(ne),ue=this;return ie.forEach(function(he){ue=ee.bind(ue)(ne[he]*ae,he)}),ue};T.set=function(ee,ne){return ne=ne===void 0?ee:ne,ee.constructor.name==="Object"?K.bind(this)(function(oe,ae){return W.bind(this)(ae,oe)},ne,ee):W.bind(this)(ee,ne)},T.add=function(ee,ne){return ee.constructor.name==="Object"?K.bind(this)(G,ee,ne):G.bind(this)(ee,ne)},T.subtract=function(ee,ne){return ee.constructor.name==="Object"?K.bind(this)(G,ee,ne,-1):Y.bind(this)(ee,ne)}}})})(Zt);var Ft=et,nt={},Rt={get exports(){return nt},set exports(l){nt=l}};(function(l,u){(function(m,b){l.exports=b()})(Q$1,function(){var m={year:0,month:1,day:2,hour:3,minute:4,second:5},b={};return function($,T,j){var U,W=function(ee,ne,oe){oe===void 0&&(oe={});var ae=new Date(ee),ie=function(ue,he){he===void 0&&(he={});var ve=he.timeZoneName||"short",Le=ue+"|"+ve,_e=b[Le];return _e||(_e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:ue,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:ve}),b[Le]=_e),_e}(ne,oe);return ie.formatToParts(ae)},G=function(ee,ne){for(var oe=W(ee,ne),ae=[],ie=0;ie<oe.length;ie+=1){var ue=oe[ie],he=ue.type,ve=ue.value,Le=m[he];Le>=0&&(ae[Le]=parseInt(ve,10))}var _e=ae[3],de=_e===24?0:_e,re=ae[0]+"-"+ae[1]+"-"+ae[2]+" "+de+":"+ae[4]+":"+ae[5]+":000",fe=+ee;return(j.utc(re).valueOf()-(fe-=fe%1e3))/6e4},Y=T.prototype;Y.tz=function(ee,ne){ee===void 0&&(ee=U);var oe=this.utcOffset(),ae=this.toDate(),ie=ae.toLocaleString("en-US",{timeZone:ee}),ue=Math.round((ae-new Date(ie))/1e3/60),he=j(ie).$set("millisecond",this.$ms).utcOffset(15*-Math.round(ae.getTimezoneOffset()/15)-ue,!0);if(ne){var ve=he.utcOffset();he=he.add(oe-ve,"minute")}return he.$x.$timezone=ee,he},Y.offsetName=function(ee){var ne=this.$x.$timezone||j.tz.guess(),oe=W(this.valueOf(),ne,{timeZoneName:ee}).find(function(ae){return ae.type.toLowerCase()==="timezonename"});return oe&&oe.value};var K=Y.startOf;Y.startOf=function(ee,ne){if(!this.$x||!this.$x.$timezone)return K.call(this,ee,ne);var oe=j(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return K.call(oe,ee,ne).tz(this.$x.$timezone,!0)},j.tz=function(ee,ne,oe){var ae=oe&&ne,ie=oe||ne||U,ue=G(+j(),ie);if(typeof ee!="string")return j(ee).tz(ie);var he=function(de,re,fe){var ge=de-60*re*1e3,$e=G(ge,fe);if(re===$e)return[ge,re];var Te=G(ge-=60*($e-re)*1e3,fe);return $e===Te?[ge,$e]:[de-60*Math.min($e,Te)*1e3,Math.max($e,Te)]}(j.utc(ee,ae).valueOf(),ue,ie),ve=he[0],Le=he[1],_e=j(ve).utcOffset(Le);return _e.$x.$timezone=ie,_e},j.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},j.tz.setDefault=function(ee){U=ee}}})})(Rt);var Bt=nt,it={},Vt={get exports(){return it},set exports(l){it=l}};(function(l,u){(function(m,b){l.exports=b()})(Q$1,function(){var m="minute",b=/[+-]\d\d(?::?\d\d)?/g,$=/([+-]|\d\d)/g;return function(T,j,U){var W=j.prototype;U.utc=function(ae){var ie={date:ae,utc:!0,args:arguments};return new j(ie)},W.utc=function(ae){var ie=U(this.toDate(),{locale:this.$L,utc:!0});return ae?ie.add(this.utcOffset(),m):ie},W.local=function(){return U(this.toDate(),{locale:this.$L,utc:!1})};var G=W.parse;W.parse=function(ae){ae.utc&&(this.$u=!0),this.$utils().u(ae.$offset)||(this.$offset=ae.$offset),G.call(this,ae)};var Y=W.init;W.init=function(){if(this.$u){var ae=this.$d;this.$y=ae.getUTCFullYear(),this.$M=ae.getUTCMonth(),this.$D=ae.getUTCDate(),this.$W=ae.getUTCDay(),this.$H=ae.getUTCHours(),this.$m=ae.getUTCMinutes(),this.$s=ae.getUTCSeconds(),this.$ms=ae.getUTCMilliseconds()}else Y.call(this)};var K=W.utcOffset;W.utcOffset=function(ae,ie){var ue=this.$utils().u;if(ue(ae))return this.$u?0:ue(this.$offset)?K.call(this):this.$offset;if(typeof ae=="string"&&(ae=function(_e){_e===void 0&&(_e="");var de=_e.match(b);if(!de)return null;var re=(""+de[0]).match($)||["-",0,0],fe=re[0],ge=60*+re[1]+ +re[2];return ge===0?0:fe==="+"?ge:-ge}(ae),ae===null))return this;var he=Math.abs(ae)<=16?60*ae:ae,ve=this;if(ie)return ve.$offset=he,ve.$u=ae===0,ve;if(ae!==0){var Le=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(ve=this.local().add(he+Le,m)).$offset=he,ve.$x.$localOffset=Le}else ve=this.utc();return ve};var ee=W.format;W.format=function(ae){var ie=ae||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return ee.call(this,ie)},W.valueOf=function(){var ae=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*ae},W.isUTC=function(){return!!this.$u},W.toISOString=function(){return this.toDate().toISOString()},W.toString=function(){return this.toDate().toUTCString()};var ne=W.toDate;W.toDate=function(ae){return ae==="s"&&this.$offset?U(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():ne.call(this)};var oe=W.diff;W.diff=function(ae,ie,ue){if(ae&&this.$u===ae.$u)return oe.call(this,ae,ie,ue);var he=this.local(),ve=U(ae).local();return oe.call(he,ve,ie,ue)}}})})(Vt);var Jt=it;Z.extend(Ft),Z.extend(Jt),Z.extend(Bt);const rt=(l,u)=>{if(l){if(Z(l instanceof Date?l:l.trim()).isValid()){const b=u?Z(l).tz(u):Z(l),$=b.year(),T=b.month()+1,j=b.date(),U=b.hour(),W=b.minute(),G=b.second(),Y=b.millisecond(),K=U===0&&W===0&&G===0&&Y===0;return{value:b.toDate(),info:{year:$,month:T,day:j,...K?{}:{hour:U,minute:W,second:G}},type:K?"date":"full"}}const m=/(?:(\d{2,4})[/-](\d{1,2})[/-](\d{1,2}))?\s*(?:(\d{1,2}):(\d{1,2})(?::(\d{1,2}))?)?/u.exec(l.trim());if(m){const[,b,$,T,j,U,W]=m,G=ie=>typeof ie>"u"?void 0:Number(ie),Y=ie=>ie&&ie<100?ie+2e3:ie,K=ie=>j&&U&&!W?0:ie,ee={year:Y(G(b)),month:G($),day:G(T),hour:G(j),minute:G(U),second:K(G(W))},ne=b===void 0&&$===void 0&&T===void 0,oe=j===void 0&&U===void 0&&W===void 0,ae=Z({...ee,month:ee.month-1}).toDate();return{value:ne?void 0:ae,info:oe?{year:ee.year,month:ee.month,day:ee.day}:ne?{hour:ee.hour,minute:ee.minute,second:ee.second}:ee,type:ne?"time":oe?"date":"full"}}}return null},st=(l,...u)=>{if(u.length===0)return l;const m=u.shift()||{};return Object.keys(m).forEach(b=>{isPlainObject(l[b])&&!isArray(l[b])&&isPlainObject(m[b])&&!isArray(m[b])?st(l[b],m[b]):isPlainObject(m[b])?isArray(m[b])?l[b]=[...m[b]]:l[b]={...m[b]}:l[b]=m[b]}),st(l,...u)},Gt=(l,u=!1)=>l?isArray(l)?l.map(m=>isString$1(m)?{name:m}:m):isString$1(l)?[{name:l}]:isPlainObject(l)&&l.name?[l]:(console.error(`Expect 'author' to be \`AuthorInfo[] | AuthorInfo | string[] | string ${u?"":"| false"} | undefined\`, but got`,l),[]):[],ot=(l,u)=>{if(l){if(isArray(l))return l;if(isString$1(l))return[l];console.error(`Expect ${u||"value"} to be \`string[] | string | undefined\`, but got`,l)}return[]},Qt=l=>ot(l,"category"),Kt=l=>ot(l,"tag"),te=l=>isString$1(l)&&l.startsWith("/");var _a;const isClient=typeof window<"u",isFunction=l=>typeof l=="function",isString=l=>typeof l=="string",noop=()=>{};isClient&&((_a=window==null?void 0:window.navigator)!=null&&_a.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function resolveUnref(l){return typeof l=="function"?l():unref(l)}function createFilterWrapper(l,u){function m(...b){return new Promise(($,T)=>{Promise.resolve(l(()=>u.apply(this,b),{fn:u,thisArg:this,args:b})).then($).catch(T)})}return m}const bypassFilter=l=>l();function debounceFilter(l,u={}){let m,b,$=noop;const T=U=>{clearTimeout(U),$(),$=noop};return U=>{const W=resolveUnref(l),G=resolveUnref(u.maxWait);return m&&T(m),W<=0||G!==void 0&&G<=0?(b&&(T(b),b=null),Promise.resolve(U())):new Promise((Y,K)=>{$=u.rejectOnCancel?K:Y,G&&!b&&(b=setTimeout(()=>{m&&T(m),b=null,Y(U())},G)),m=setTimeout(()=>{b&&T(b),b=null,Y(U())},W)})}}function throttleFilter(l,u=!0,m=!0,b=!1){let $=0,T,j=!0,U=noop,W;const G=()=>{T&&(clearTimeout(T),T=void 0,U(),U=noop)};return K=>{const ee=resolveUnref(l),ne=Date.now()-$,oe=()=>W=K();if(G(),ee<=0)return $=Date.now(),oe();if(ne>ee&&(m||!j))$=Date.now(),oe();else if(u)return new Promise((ae,ie)=>{U=b?ie:ae,T=setTimeout(()=>{$=Date.now(),j=!0,ae(oe()),G()},ee-ne)});return!m&&!T&&(T=setTimeout(()=>j=!0,ee)),j=!1,W}}function pausableFilter(l=bypassFilter){const u=ref(!0);function m(){u.value=!1}function b(){u.value=!0}return{isActive:u,pause:m,resume:b,eventFilter:(...T)=>{u.value&&l(...T)}}}function identity(l){return l}function tryOnScopeDispose(l){return getCurrentScope()?(onScopeDispose(l),!0):!1}function useDebounceFn(l,u=200,m={}){return createFilterWrapper(debounceFilter(u,m),l)}function useThrottleFn(l,u=200,m=!1,b=!0,$=!1){return createFilterWrapper(throttleFilter(u,m,b,$),l)}function resolveRef(l){return typeof l=="function"?computed(l):ref(l)}function tryOnMounted(l,u=!0){getCurrentInstance()?onMounted(l):u?l():nextTick(l)}var __getOwnPropSymbols$6=Object.getOwnPropertySymbols,__hasOwnProp$6=Object.prototype.hasOwnProperty,__propIsEnum$6=Object.prototype.propertyIsEnumerable,__objRest$5=(l,u)=>{var m={};for(var b in l)__hasOwnProp$6.call(l,b)&&u.indexOf(b)<0&&(m[b]=l[b]);if(l!=null&&__getOwnPropSymbols$6)for(var b of __getOwnPropSymbols$6(l))u.indexOf(b)<0&&__propIsEnum$6.call(l,b)&&(m[b]=l[b]);return m};function watchWithFilter(l,u,m={}){const b=m,{eventFilter:$=bypassFilter}=b,T=__objRest$5(b,["eventFilter"]);return watch(l,createFilterWrapper($,u),T)}var __defProp$2=Object.defineProperty,__defProps$2=Object.defineProperties,__getOwnPropDescs$2=Object.getOwnPropertyDescriptors,__getOwnPropSymbols$2=Object.getOwnPropertySymbols,__hasOwnProp$2=Object.prototype.hasOwnProperty,__propIsEnum$2=Object.prototype.propertyIsEnumerable,__defNormalProp$2=(l,u,m)=>u in l?__defProp$2(l,u,{enumerable:!0,configurable:!0,writable:!0,value:m}):l[u]=m,__spreadValues$2=(l,u)=>{for(var m in u||(u={}))__hasOwnProp$2.call(u,m)&&__defNormalProp$2(l,m,u[m]);if(__getOwnPropSymbols$2)for(var m of __getOwnPropSymbols$2(u))__propIsEnum$2.call(u,m)&&__defNormalProp$2(l,m,u[m]);return l},__spreadProps$2=(l,u)=>__defProps$2(l,__getOwnPropDescs$2(u)),__objRest$1=(l,u)=>{var m={};for(var b in l)__hasOwnProp$2.call(l,b)&&u.indexOf(b)<0&&(m[b]=l[b]);if(l!=null&&__getOwnPropSymbols$2)for(var b of __getOwnPropSymbols$2(l))u.indexOf(b)<0&&__propIsEnum$2.call(l,b)&&(m[b]=l[b]);return m};function watchPausable(l,u,m={}){const b=m,{eventFilter:$}=b,T=__objRest$1(b,["eventFilter"]),{eventFilter:j,pause:U,resume:W,isActive:G}=pausableFilter($);return{stop:watchWithFilter(l,u,__spreadProps$2(__spreadValues$2({},T),{eventFilter:j})),pause:U,resume:W,isActive:G}}function unrefElement(l){var u;const m=resolveUnref(l);return(u=m==null?void 0:m.$el)!=null?u:m}const defaultWindow=isClient?window:void 0,defaultDocument=isClient?window.document:void 0;isClient&&window.navigator;isClient&&window.location;function useEventListener(...l){let u,m,b,$;if(isString(l[0])||Array.isArray(l[0])?([m,b,$]=l,u=defaultWindow):[u,m,b,$]=l,!u)return noop;Array.isArray(m)||(m=[m]),Array.isArray(b)||(b=[b]);const T=[],j=()=>{T.forEach(Y=>Y()),T.length=0},U=(Y,K,ee)=>(Y.addEventListener(K,ee,$),()=>Y.removeEventListener(K,ee,$)),W=watch(()=>unrefElement(u),Y=>{j(),Y&&T.push(...m.flatMap(K=>b.map(ee=>U(Y,K,ee))))},{immediate:!0,flush:"post"}),G=()=>{W(),j()};return tryOnScopeDispose(G),G}function onClickOutside(l,u,m={}){const{window:b=defaultWindow,ignore:$=[],capture:T=!0,detectIframe:j=!1}=m;if(!b)return;let U=!0,W;const G=ne=>$.some(oe=>{if(typeof oe=="string")return Array.from(b.document.querySelectorAll(oe)).some(ae=>ae===ne.target||ne.composedPath().includes(ae));{const ae=unrefElement(oe);return ae&&(ne.target===ae||ne.composedPath().includes(ae))}}),Y=ne=>{b.clearTimeout(W);const oe=unrefElement(l);if(!(!oe||oe===ne.target||ne.composedPath().includes(oe))){if(ne.detail===0&&(U=!G(ne)),!U){U=!0;return}u(ne)}},K=[useEventListener(b,"click",Y,{passive:!0,capture:T}),useEventListener(b,"pointerdown",ne=>{const oe=unrefElement(l);oe&&(U=!ne.composedPath().includes(oe)&&!G(ne))},{passive:!0}),useEventListener(b,"pointerup",ne=>{if(ne.button===0){const oe=ne.composedPath();ne.composedPath=()=>oe,W=b.setTimeout(()=>Y(ne),50)}},{passive:!0}),j&&useEventListener(b,"blur",ne=>{var oe;const ae=unrefElement(l);((oe=b.document.activeElement)==null?void 0:oe.tagName)==="IFRAME"&&!(ae!=null&&ae.contains(b.document.activeElement))&&u(ne)})].filter(Boolean);return()=>K.forEach(ne=>ne())}function useSupported(l,u=!1){const m=ref(),b=()=>m.value=Boolean(l());return b(),tryOnMounted(b,u),m}function useMediaQuery(l,u={}){const{window:m=defaultWindow}=u,b=useSupported(()=>m&&"matchMedia"in m&&typeof m.matchMedia=="function");let $;const T=ref(!1),j=()=>{$&&("removeEventListener"in $?$.removeEventListener("change",U):$.removeListener(U))},U=()=>{b.value&&(j(),$=m.matchMedia(resolveRef(l).value),T.value=$.matches,"addEventListener"in $?$.addEventListener("change",U):$.addListener(U))};return watchEffect(U),tryOnScopeDispose(()=>j()),T}const _global=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},globalKey="__vueuse_ssr_handlers__";_global[globalKey]=_global[globalKey]||{};const handlers=_global[globalKey];function getSSRHandler(l,u){return handlers[l]||u}function guessSerializerType(l){return l==null?"any":l instanceof Set?"set":l instanceof Map?"map":l instanceof Date?"date":typeof l=="boolean"?"boolean":typeof l=="string"?"string":typeof l=="object"?"object":Number.isNaN(l)?"any":"number"}var __defProp$j=Object.defineProperty,__getOwnPropSymbols$l=Object.getOwnPropertySymbols,__hasOwnProp$l=Object.prototype.hasOwnProperty,__propIsEnum$l=Object.prototype.propertyIsEnumerable,__defNormalProp$j=(l,u,m)=>u in l?__defProp$j(l,u,{enumerable:!0,configurable:!0,writable:!0,value:m}):l[u]=m,__spreadValues$j=(l,u)=>{for(var m in u||(u={}))__hasOwnProp$l.call(u,m)&&__defNormalProp$j(l,m,u[m]);if(__getOwnPropSymbols$l)for(var m of __getOwnPropSymbols$l(u))__propIsEnum$l.call(u,m)&&__defNormalProp$j(l,m,u[m]);return l};const StorageSerializers={boolean:{read:l=>l==="true",write:l=>String(l)},object:{read:l=>JSON.parse(l),write:l=>JSON.stringify(l)},number:{read:l=>Number.parseFloat(l),write:l=>String(l)},any:{read:l=>l,write:l=>String(l)},string:{read:l=>l,write:l=>String(l)},map:{read:l=>new Map(JSON.parse(l)),write:l=>JSON.stringify(Array.from(l.entries()))},set:{read:l=>new Set(JSON.parse(l)),write:l=>JSON.stringify(Array.from(l))},date:{read:l=>new Date(l),write:l=>l.toISOString()}};function useStorage(l,u,m,b={}){var $;const{flush:T="pre",deep:j=!0,listenToStorageChanges:U=!0,writeDefaults:W=!0,mergeDefaults:G=!1,shallow:Y,window:K=defaultWindow,eventFilter:ee,onError:ne=re=>{console.error(re)}}=b,oe=(Y?shallowRef:ref)(u);if(!m)try{m=getSSRHandler("getDefaultStorage",()=>{var re;return(re=defaultWindow)==null?void 0:re.localStorage})()}catch(re){ne(re)}if(!m)return oe;const ae=resolveUnref(u),ie=guessSerializerType(ae),ue=($=b.serializer)!=null?$:StorageSerializers[ie],{pause:he,resume:ve}=watchPausable(oe,()=>Le(oe.value),{flush:T,deep:j,eventFilter:ee});return K&&U&&useEventListener(K,"storage",de),de(),oe;function Le(re){try{if(re==null)m.removeItem(l);else{const fe=ue.write(re),ge=m.getItem(l);ge!==fe&&(m.setItem(l,fe),K&&(K==null||K.dispatchEvent(new StorageEvent("storage",{key:l,oldValue:ge,newValue:fe,storageArea:m}))))}}catch(fe){ne(fe)}}function _e(re){const fe=re?re.newValue:m.getItem(l);if(fe==null)return W&&ae!==null&&m.setItem(l,ue.write(ae)),ae;if(!re&&G){const ge=ue.read(fe);return isFunction(G)?G(ge,ae):ie==="object"&&!Array.isArray(ge)?__spreadValues$j(__spreadValues$j({},ae),ge):ge}else return typeof fe!="string"?fe:ue.read(fe)}function de(re){if(!(re&&re.storageArea!==m)){if(re&&re.key==null){oe.value=ae;return}if(!(re&&re.key!==l)){he();try{oe.value=_e(re)}catch(fe){ne(fe)}finally{re?nextTick(ve):ve()}}}}}function usePreferredDark(l){return useMediaQuery("(prefers-color-scheme: dark)",l)}const functionsMap=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];function useFullscreen(l,u={}){const{document:m=defaultDocument,autoExit:b=!1}=u,$=l||(m==null?void 0:m.querySelector("html")),T=ref(!1);let j=functionsMap[0];const U=useSupported(()=>{if(m){for(const ae of functionsMap)if(ae[1]in m)return j=ae,!0}else return!1;return!1}),[W,G,Y,,K]=j;async function ee(){U.value&&(m!=null&&m[Y]&&await m[G](),T.value=!1)}async function ne(){if(!U.value)return;await ee();const ae=unrefElement($);ae&&(await ae[W](),T.value=!0)}async function oe(){T.value?await ee():await ne()}return m&&useEventListener(m,K,()=>{T.value=!!(m!=null&&m[Y])},!1),b&&tryOnScopeDispose(ee),{isSupported:U,isFullscreen:T,enter:ne,exit:ee,toggle:oe}}var SwipeDirection;(function(l){l.UP="UP",l.RIGHT="RIGHT",l.DOWN="DOWN",l.LEFT="LEFT",l.NONE="NONE"})(SwipeDirection||(SwipeDirection={}));let _id=0;function useStyleTag(l,u={}){const m=ref(!1),{document:b=defaultDocument,immediate:$=!0,manual:T=!1,id:j=`vueuse_styletag_${++_id}`}=u,U=ref(l);let W=()=>{};const G=()=>{if(!b)return;const K=b.getElementById(j)||b.createElement("style");K.isConnected||(K.type="text/css",K.id=j,u.media&&(K.media=u.media),b.head.appendChild(K)),!m.value&&(W=watch(U,ee=>{K.textContent=ee},{immediate:!0}),m.value=!0)},Y=()=>{!b||!m.value||(W(),b.head.removeChild(b.getElementById(j)),m.value=!1)};return $&&!T&&tryOnMounted(G),T||tryOnScopeDispose(Y),{id:j,css:U,unload:Y,load:G,isLoaded:readonly(m)}}var __defProp=Object.defineProperty,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(l,u,m)=>u in l?__defProp(l,u,{enumerable:!0,configurable:!0,writable:!0,value:m}):l[u]=m,__spreadValues=(l,u)=>{for(var m in u||(u={}))__hasOwnProp.call(u,m)&&__defNormalProp(l,m,u[m]);if(__getOwnPropSymbols)for(var m of __getOwnPropSymbols(u))__propIsEnum.call(u,m)&&__defNormalProp(l,m,u[m]);return l};const _TransitionPresets={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};__spreadValues({linear:identity},_TransitionPresets);const badge="",t$1=({type:l="info",text:u="",vertical:m="top",color:b},{slots:$})=>{var T;return h$3("span",{class:["badge",l,{diy:b}],style:{verticalAlign:m,...b?{backgroundColor:b}:{}}},u||((T=$.default)==null?void 0:T.call($)))};t$1.displayName="Badge";const fontIcon="";var s=defineComponent({name:"FontIcon",props:{icon:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""}},setup(l){const u=computed(()=>{const m={};return l.color&&(m.color=l.color),l.size&&(m["font-size"]=Number.isNaN(Number(l.size))?l.size:`${l.size}px`),Object.keys(m).length?m:null});return()=>l.icon?h$3("span",{class:["font-icon icon",`iconfont icon-${l.icon}`],style:u.value}):null}});const backToTop="",a$3=()=>h$3(lt,{name:"back-to-top"},()=>[h$3("path",{d:"M512 843.2c-36.2 0-66.4-13.6-85.8-21.8-10.8-4.6-22.6 3.6-21.8 15.2l7 102c.4 6.2 7.6 9.4 12.6 5.6l29-22c3.6-2.8 9-1.8 11.4 2l41 64.2c3 4.8 10.2 4.8 13.2 0l41-64.2c2.4-3.8 7.8-4.8 11.4-2l29 22c5 3.8 12.2.6 12.6-5.6l7-102c.8-11.6-11-20-21.8-15.2-19.6 8.2-49.6 21.8-85.8 21.8z"}),h$3("path",{d:"m795.4 586.2-96-98.2C699.4 172 513 32 513 32S324.8 172 324.8 488l-96 98.2c-3.6 3.6-5.2 9-4.4 14.2L261.2 824c1.8 11.4 14.2 17 23.6 10.8L419 744s41.4 40 94.2 40c52.8 0 92.2-40 92.2-40l134.2 90.8c9.2 6.2 21.6.6 23.6-10.8l37-223.8c.4-5.2-1.2-10.4-4.8-14zM513 384c-34 0-61.4-28.6-61.4-64s27.6-64 61.4-64c34 0 61.4 28.6 61.4 64S547 384 513 384z"})]);a$3.displayName="BackToTopIcon";var h$2=defineComponent({name:"BackToTop",props:{threshold:{type:Number,default:300}},setup(l){const u=usePageFrontmatter(),m=Ot({"/en/":{backToTop:"Back to top"},"/":{backToTop:"返回顶部"}}),b=ref(0),$=computed(()=>u.value.backToTop!==!1&&b.value>l.threshold),T=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;return onMounted(()=>{b.value=T()}),useEventListener("scroll",useDebounceFn(()=>{b.value=T()},100)),()=>h$3(Transition,{name:"fade"},()=>$.value?h$3("button",{class:"back-to-top","aria-label":m.value.backToTop,"data-balloon-pos":"left",onClick:()=>{window.scrollTo({top:0,behavior:"smooth"}),b.value=0}},h$3(a$3)):null)}});const srOnly="",clientConfig1=defineClientConfig({enhance:({app:l})=>{xt("Badge")||l.component("Badge",t$1),xt("FontIcon")||l.component("FontIcon",s)},setup:()=>{useStyleTag('@import url("//at.alicdn.com/t/c/font_2410206_5vb9zlyghj.css");',{id:"icon-assets"})},rootComponents:[()=>h$3(h$2,{threshold:300})]});function r$2(l,u,m){var b,$,T;u===void 0&&(u=50),m===void 0&&(m={});var j=(b=m.isImmediate)!=null&&b,U=($=m.callback)!=null&&$,W=m.maxWait,G=Date.now(),Y=[];function K(){if(W!==void 0){var ne=Date.now()-G;if(ne+u>=W)return W-ne}return u}var ee=function(){var ne=[].slice.call(arguments),oe=this;return new Promise(function(ae,ie){var ue=j&&T===void 0;if(T!==void 0&&clearTimeout(T),T=setTimeout(function(){if(T=void 0,G=Date.now(),!j){var ve=l.apply(oe,ne);U&&U(ve),Y.forEach(function(Le){return(0,Le.resolve)(ve)}),Y=[]}},K()),ue){var he=l.apply(oe,ne);return U&&U(he),ae(he)}Y.push({resolve:ae,reject:ie})})};return ee.cancel=function(ne){T!==void 0&&clearTimeout(T),Y.forEach(function(oe){return(0,oe.reject)(ne)}),Y=[]},ee}const useActiveHeaderLinks=({headerLinkSelector:l,headerAnchorSelector:u,delay:m,offset:b=5})=>{const $=useRouter(),j=r$2(()=>{var ae,ie;const U=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(U-0)<b){updateHash($,"");return}const G=window.innerHeight+U,Y=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),K=Math.abs(Y-G)<b,ee=Array.from(document.querySelectorAll(l)),oe=Array.from(document.querySelectorAll(u)).filter(ue=>ee.some(he=>he.hash===ue.hash));for(let ue=0;ue<oe.length;ue++){const he=oe[ue],ve=oe[ue+1],Le=U>=(((ae=he.parentElement)==null?void 0:ae.offsetTop)??0)-b,_e=!ve||U<(((ie=ve.parentElement)==null?void 0:ie.offsetTop)??0)-b;if(!(Le&&_e))continue;const re=decodeURIComponent($.currentRoute.value.hash),fe=decodeURIComponent(he.hash);if(re===fe)return;if(K){for(let ge=ue+1;ge<oe.length;ge++)if(re===decodeURIComponent(oe[ge].hash))return}updateHash($,fe);return}},m);onMounted(()=>{window.addEventListener("scroll",j)}),onBeforeUnmount(()=>{window.removeEventListener("scroll",j)})},updateHash=async(l,u)=>{const{scrollBehavior:m}=l.options;l.options.scrollBehavior=void 0,await l.replace({query:l.currentRoute.value.query,hash:u,force:!0}).finally(()=>l.options.scrollBehavior=m)},headerLinkSelector=".sidebar-link, .toc-link",headerAnchorSelector=".header-anchor",delay=200,offset=5,clientConfig2=defineClientConfig({setup(){useActiveHeaderLinks({headerLinkSelector,headerAnchorSelector,delay,offset})}});var a$2=defineClientConfig({enhance:({app:l})=>{!xt("AutoCatalog",l)&&l.component("AutoCatalog",defineAsyncComponent(()=>__vitePreload(()=>import("./Catalog-6581132e.js"),["assets/Catalog-6581132e.js","assets/framework-e266aaef.js"])))}});const vars$1="",externalLinkIcon="",svg=h$3("svg",{class:"external-link-icon",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15"},[h$3("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}),h$3("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"})]),ExternalLinkIcon=defineComponent({name:"ExternalLinkIcon",props:{locales:{type:Object,required:!1,default:()=>({})}},setup(l){const u=useRouteLocale(),m=computed(()=>l.locales[u.value]??{openInNewWindow:"open in new window"});return()=>h$3("span",[svg,h$3("span",{class:"external-link-icon-sr-only"},m.value.openInNewWindow)])}}),locales={},clientConfig4=defineClientConfig({enhance({app:l}){l.component("ExternalLinkIcon",h$3(ExternalLinkIcon,{locales}))}});/**
* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
* @license MIT
*/const nprogress$1={settings:{minimum:.08,easing:"ease",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,barSelector:'[role="bar"]',parent:"body",template:'<div class="bar" role="bar"></div>'},status:null,set:l=>{const u=nprogress$1.isStarted();l=clamp(l,nprogress$1.settings.minimum,1),nprogress$1.status=l===1?null:l;const m=nprogress$1.render(!u),b=m.querySelector(nprogress$1.settings.barSelector),$=nprogress$1.settings.speed,T=nprogress$1.settings.easing;return m.offsetWidth,queue(j=>{css(b,{transform:"translate3d("+toBarPerc(l)+"%,0,0)",transition:"all "+$+"ms "+T}),l===1?(css(m,{transition:"none",opacity:"1"}),m.offsetWidth,setTimeout(function(){css(m,{transition:"all "+$+"ms linear",opacity:"0"}),setTimeout(function(){nprogress$1.remove(),j()},$)},$)):setTimeout(()=>j(),$)}),nprogress$1},isStarted:()=>typeof nprogress$1.status=="number",start:()=>{nprogress$1.status||nprogress$1.set(0);const l=()=>{setTimeout(()=>{nprogress$1.status&&(nprogress$1.trickle(),l())},nprogress$1.settings.trickleSpeed)};return nprogress$1.settings.trickle&&l(),nprogress$1},done:l=>!l&&!nprogress$1.status?nprogress$1:nprogress$1.inc(.3+.5*Math.random()).set(1),inc:l=>{let u=nprogress$1.status;return u?(typeof l!="number"&&(l=(1-u)*clamp(Math.random()*u,.1,.95)),u=clamp(u+l,0,.994),nprogress$1.set(u)):nprogress$1.start()},trickle:()=>nprogress$1.inc(Math.random()*nprogress$1.settings.trickleRate),render:l=>{if(nprogress$1.isRendered())return document.getElementById("nprogress");addClass(document.documentElement,"nprogress-busy");const u=document.createElement("div");u.id="nprogress",u.innerHTML=nprogress$1.settings.template;const m=u.querySelector(nprogress$1.settings.barSelector),b=l?"-100":toBarPerc(nprogress$1.status||0),$=document.querySelector(nprogress$1.settings.parent);return css(m,{transition:"all 0 linear",transform:"translate3d("+b+"%,0,0)"}),$!==document.body&&addClass($,"nprogress-custom-parent"),$==null||$.appendChild(u),u},remove:()=>{removeClass(document.documentElement,"nprogress-busy"),removeClass(document.querySelector(nprogress$1.settings.parent),"nprogress-custom-parent");const l=document.getElementById("nprogress");l&&removeElement(l)},isRendered:()=>!!document.getElementById("nprogress")},clamp=(l,u,m)=>l<u?u:l>m?m:l,toBarPerc=l=>(-1+l)*100,queue=function(){const l=[];function u(){const m=l.shift();m&&m(u)}return function(m){l.push(m),l.length===1&&u()}}(),css=function(){const l=["Webkit","O","Moz","ms"],u={};function m(j){return j.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(U,W){return W.toUpperCase()})}function b(j){const U=document.body.style;if(j in U)return j;let W=l.length;const G=j.charAt(0).toUpperCase()+j.slice(1);let Y;for(;W--;)if(Y=l[W]+G,Y in U)return Y;return j}function $(j){return j=m(j),u[j]||(u[j]=b(j))}function T(j,U,W){U=$(U),j.style[U]=W}return function(j,U){for(const W in U){const G=U[W];G!==void 0&&Object.prototype.hasOwnProperty.call(U,W)&&T(j,W,G)}}}(),hasClass=(l,u)=>(typeof l=="string"?l:classList(l)).indexOf(" "+u+" ")>=0,addClass=(l,u)=>{const m=classList(l),b=m+u;hasClass(m,u)||(l.className=b.substring(1))},removeClass=(l,u)=>{const m=classList(l);if(!hasClass(l,u))return;const b=m.replace(" "+u+" "," ");l.className=b.substring(1,b.length-1)},classList=l=>(" "+(l.className||"")+" ").replace(/\s+/gi," "),removeElement=l=>{l&&l.parentNode&&l.parentNode.removeChild(l)},vars="",nprogress="",useNprogress=()=>{onMounted(()=>{const l=useRouter(),u=new Set;u.add(l.currentRoute.value.path),l.beforeEach(m=>{u.has(m.path)||nprogress$1.start()}),l.afterEach(m=>{u.add(m.path),nprogress$1.done()})})},clientConfig5=defineClientConfig({setup(){useNprogress()}}),themeData$1=JSON.parse(`{"blog":{},"encrypt":{},"print":true,"pure":false,"darkmode":"switch","themeColor":false,"fullscreen":false,"locales":{"/en/":{"blog":{},"repoDisplay":true,"navbarIcon":true,"navbarAutoHide":"mobile","hideSiteNameOnMobile":true,"sidebar":{"/en/":["",{"icon":"play","text":"快速开始","link":"quick-start.md"}]},"sidebarIcon":true,"headerDepth":2,"lang":"en-US","navbarLocales":{"langName":"English","selectLangAriaLabel":"Select language"},"metaLocales":{"author":"Author","date":"Writing Date","origin":"Original","views":"Page views","category":"Category","tag":"Tag","readingTime":"Reading Time","words":"Words","toc":"On This Page","prev":"Prev","next":"Next","lastUpdated":"Last update","contributors":"Contributors","editLink":"Edit this page on GitHub"},"outlookLocales":{"themeColor":"Theme Color","darkmode":"Theme Mode","fullscreen":"Full Screen"},"encryptLocales":{"iconLabel":"Page Encrypted","placeholder":"Enter password","remember":"Remember password","errorHint":"Please enter the correct password!"},"routeLocales":{"skipToContent":"Skip to main content","notFoundMsg":["Theres nothing here.","How did we get here?","Thats a Four-Oh-Four.","Looks like we've got some broken links."],"back":"Go back","home":"Take me home","openInNewWindow":"Open in new window"},"author":{"name":"DGP-Studio","url":"https://github.com/DGP-Studio"},"logo":"/images/202209/HeroImageLogo.png","repo":"DGP-Studio/Snap.Hutao","pageInfo":["Author","Original","Date","Category","Tag","ReadingTime"],"docsRepo":"DGP-Studio/Snap.Hutao.Docs","docsDir":"docs","navbar":["/en/",{"text":"下载","icon":"download","link":"https://go.hut.ao/down"},{"text":"文档","icon":"documents","link":"/features/README.md"},{"text":"GitHub","icon":"github","link":"https://github.com/DGP-Studio/Snap.Hutao"}],"footer":"Be the best Genshin Impact tool","displayFooter":true},"/":{"blog":{},"repoDisplay":true,"navbarIcon":true,"navbarAutoHide":"mobile","hideSiteNameOnMobile":true,"sidebar":{"/":["",{"icon":"workingDirectory","text":"项目介绍","link":"project.md"},{"icon":"play","text":"快速开始","link":"quick-start.md"},{"icon":"read","text":"功能指南","prefix":"features/","children":["mhy-account-switch","game-launcher","wish-export","daily-notes","achievements","character-data","develop-plan","hutao-API","character-wiki","weapon-wiki","hutao-settings"]},{"icon":"ask","text":"常见问题","prefix":"FAQ/","children":["most-frequent-questions","mihoyo-risk-tip","artifact-rating-rules","Gacha-system-and-export-principal","HttpRequestException"]},{"icon":"article","text":"声明和公告","prefix":"statements/","children":["privacy-statement","bug-report"]}]},"sidebarIcon":true,"headerDepth":2,"lang":"zh-CN","navbarLocales":{"langName":"简体中文","selectLangAriaLabel":"选择语言"},"metaLocales":{"author":"作者","date":"写作日期","origin":"原创","views":"访问量","category":"分类","tag":"标签","readingTime":"阅读时间","words":"字数","toc":"此页内容","prev":"上一页","next":"下一页","lastUpdated":"上次编辑于","contributors":"贡献者","editLink":"在 GitHub 上编辑此页"},"outlookLocales":{"themeColor":"主题色","darkmode":"外观","fullscreen":"全屏"},"encryptLocales":{"iconLabel":"文章已加密","placeholder":"输入密码","remember":"记住密码","errorHint":"请输入正确的密码"},"routeLocales":{"skipToContent":"跳至主要內容","notFoundMsg":["这里什么也没有","我们是怎么来到这儿的?","这 是 四 零 四 !","看起来你访问了一个失效的链接"],"back":"返回上一页","home":"带我回家","openInNewWindow":"Open in new window"},"author":{"name":"DGP-Studio","url":"https://github.com/DGP-Studio"},"logo":"/images/202209/HeroImageLogo.png","repo":"DGP-Studio/Snap.Hutao","pageInfo":["Author","Original","Date","Category","Tag","ReadingTime"],"docsRepo":"DGP-Studio/Snap.Hutao.Docs","docsDir":"docs","navbar":["/",{"text":"文档","icon":"article","link":"/features/README.md"},{"text":"下载","icon":"install","link":"https://go.hut.ao/down"}],"footer":"做最好的原神工具","displayFooter":true}}}`),themeData=ref(themeData$1),useThemeData$1=()=>themeData,themeLocaleDataSymbol=Symbol(""),useThemeLocaleData$1=()=>{const l=inject(themeLocaleDataSymbol);if(!l)throw new Error("useThemeLocaleData() is called without provider.");return l},resolveThemeLocaleData=(l,u)=>{var m;return{...l,...(m=l.locales)==null?void 0:m[u]}},clientConfig6=defineClientConfig({enhance({app:l}){const u=useThemeData$1(),m=l._context.provides[routeLocaleSymbol],b=computed(()=>resolveThemeLocaleData(u.value,m.value));l.provide(themeLocaleDataSymbol,b),Object.defineProperties(l.config.globalProperties,{$theme:{get(){return u.value}},$themeLocale:{get(){return b.value}}})}}),message="",balloon="",button="",L$1=800,S$3=2e3,_$1={"/en/":{copy:"Copy code",copied:"Copied",hint:"Copied successfully"},"/":{copy:"复制代码",copied:"已复制",hint:"复制成功"}},d$2='.theme-hope-content div[class*="language-"] pre',g$1=!1,w$2=async l=>{try{return navigator.clipboard.writeText(l)}catch{const u=document.createElement("textarea"),m=document.activeElement;u.value=l,u.setAttribute("readonly",""),u.style.contain="strict",u.style.position="absolute",u.style.left="-9999px",u.style.fontSize="12pt";const b=document.getSelection(),$=b?b.rangeCount>0&&b.getRangeAt(0):null;document.body.appendChild(u),u.select(),u.selectionStart=0,u.selectionEnd=l.length,document.execCommand("copy"),document.body.removeChild(u),$&&(b.removeAllRanges(),b.addRange($)),m&&m.focus()}},P$2='<svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="#06a35a"><path d="M822.812 824.618c-83.076 81.992-188.546 124.614-316.05 127.865-122.085-3.251-223.943-45.873-305.935-127.865S76.213 640.406 72.962 518.682c3.251-127.503 45.873-232.973 127.865-316.05 81.992-83.075 184.211-126.058 305.936-129.309 127.503 3.251 232.973 46.234 316.049 129.31 83.076 83.076 126.059 188.546 129.31 316.05-2.89 121.723-46.234 223.943-129.31 305.935zM432.717 684.111c3.973 3.974 8.307 5.78 13.364 6.14 5.057.362 9.753-1.444 13.365-5.417l292.57-287.515c3.974-3.973 5.78-8.307 5.78-13.364s-1.806-9.753-5.78-13.365l1.807 1.806c-3.973-3.973-8.669-5.779-14.087-6.14-5.418-.361-10.475 1.445-14.809 5.418L460.529 592.006c-3.973 3.25-8.669 4.695-14.448 4.695-5.78 0-10.836-1.445-15.531-3.973l-94.273-72.962c-4.335-3.251-9.392-4.335-14.448-3.973s-9.392 3.25-12.642 7.585l-2.89 3.973c-3.25 4.334-4.334 9.391-3.973 14.81.722 5.417 2.528 10.113 5.779 14.086L432.717 684.11z"/></svg>',C$2=()=>navigator?/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/iu.test(navigator.userAgent):!1,p$1=new Map,x$1=()=>{const l=useRoute(),u=Ot(_$1);let m;const b=j=>{if(!j.hasAttribute("copy-code-registered")){const U=document.createElement("button");U.classList.add("copy-code-button"),U.innerHTML='<div class="copy-icon" />',U.setAttribute("aria-label",u.value.copy),U.setAttribute("data-copied",u.value.copied),U.setAttribute("data-balloon-pos","left"),j.parentElement&&j.parentElement.insertBefore(U,j),j.setAttribute("copy-code-registered","")}},$=()=>{setTimeout(()=>{isString$1(d$2)?document.querySelectorAll(d$2).forEach(b):isArray(d$2)&&d$2.forEach(j=>{document.querySelectorAll(j).forEach(b)})},L$1)},T=(j,U,W)=>{let{innerText:G=""}=U;/language-(shellscript|shell|bash|sh|zsh)/.test(j.classList.toString())&&(G=G.replace(/^ *(\$|>) /gm,"")),w$2(G).then(()=>{W.classList.add("copied"),clearTimeout(p$1.get(W));const Y=setTimeout(()=>{W.classList.remove("copied"),W.blur(),p$1.delete(W)},2e3);p$1.set(W,Y),m.pop(`${P$2}<span>${u.value.hint} 🎉</span>`,S$3)})};onMounted(()=>{m=new Lt,(!C$2()||g$1)&&$(),window.addEventListener("click",j=>{const U=j.target;if(U.matches('div[class*="language-"] > button.copy')){const W=U.parentElement,G=U.nextElementSibling;G&&T(W,G,U)}else if(U.matches('div[class*="language-"] div.copy-icon')){const W=U.parentElement,G=W.parentElement,Y=W.nextElementSibling;Y&&T(G,Y,W)}}),watch(()=>l.path,()=>{(!C$2()||g$1)&&$()})})};var D$1=defineClientConfig({setup:()=>{x$1()}});const chart="",LoadingIcon$1=()=>h$3(lt,{name:"loading"},()=>["0s","-0.333s","-0.667s"].map(l=>h$3("circle",{cx:512,cy:512,r:0,fill:"none",stroke:"currentColor","stroke-width":"20"},[h$3("animate",{attributeName:"r",repeatCount:"indefinite",dur:"1s",values:"0;400",keyTimes:"0;1",keySplines:"0 0.2 0.8 1",calcMode:"spline",begin:l}),h$3("animate",{attributeName:"opacity",repeatCount:"indefinite",dur:"1s",values:"1;0",keyTimes:"0;1",keySplines:"0.2 0 0.8 1",calcMode:"spline",begin:l})]))),parseChartConfig=(config,type)=>{if(type==="json")return JSON.parse(config);const exports={},module={exports};return eval(config),module.exports};var ChartJS=defineComponent({name:"ChartJS",props:{config:{type:String,required:!0},id:{type:String,required:!0},title:{type:String,default:""},type:{type:String,default:"json"}},setup(l){const u=ref(),m=ref(),b=ref(!0);return onMounted(()=>{Promise.all([__vitePreload(()=>import("./auto-d78e464f.js"),[]),new Promise($=>setTimeout($,800))]).then(([{default:$}])=>{$.defaults.maintainAspectRatio=!1;const T=parseChartConfig(Wt(l.config),l.type),j=m.value.getContext("2d");new $(j,T),b.value=!1})}),()=>[l.title?h$3("div",{class:"chart-title"},decodeURIComponent(l.title)):null,b.value?h$3("div",{class:"chart-loading-wrapper"},h$3(LoadingIcon$1)):null,h$3("div",{ref:u,class:"chart-wrapper",id:l.id,style:{display:b.value?"none":"block"}},h$3("canvas",{ref:m,height:400}))]}});const codeTabs="",o$1=useStorage("VUEPRESS_CODE_TAB_STORE",{});var S$2=defineComponent({name:"CodeTabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},setup(l,{slots:u}){const m=ref(l.active),b=ref([]),$=()=>{if(l.tabId){const{title:G,id:Y=G}=l.data[m.value];o$1.value[l.tabId]=Y}},T=(G=m.value)=>{m.value=G<b.value.length-1?G+1:0,b.value[m.value].focus()},j=(G=m.value)=>{m.value=G>0?G-1:b.value.length-1,b.value[m.value].focus()},U=(G,Y)=>{if(G.key===" "||G.key==="Enter"?(G.preventDefault(),m.value=Y):G.key==="ArrowRight"?(G.preventDefault(),T()):G.key==="ArrowLeft"&&(G.preventDefault(),j()),l.tabId){const{title:K,id:ee=K}=l.data[m.value];o$1.value[l.tabId]=ee}},W=()=>{if(l.tabId){const G=l.data.findIndex(({title:Y,id:K=Y})=>o$1.value[l.tabId]===K);if(G!==-1)return G}return l.active};return onMounted(()=>{m.value=W(),watch(()=>o$1.value[l.tabId],(G,Y)=>{if(l.tabId&&G!==Y){const K=l.data.findIndex(({title:ee,id:ne=ee})=>ne===G);K!==-1&&(m.value=K)}})}),()=>l.data.length?h$3("div",{class:"code-tabs"},[h$3("div",{class:"code-tabs-nav",role:"tablist"},l.data.map(({title:G},Y)=>{const K=Y===m.value;return h$3("button",{ref:ee=>{ee&&(b.value[Y]=ee)},class:["code-tabs-nav-tab",{active:K}],role:"tab","aria-controls":`codetab-${l.id}-${Y}`,"aria-selected":K,onClick:()=>{m.value=Y,$()},onKeydown:ee=>U(ee,Y)},G)})),l.data.map(({title:G,id:Y=G},K)=>{var ee;const ne=K===m.value;return h$3("div",{class:["code-tab",{active:ne}],id:`codetab-${l.id}-${K}`,role:"tabpanel","aria-expanded":ne},(ee=u[`tab${K}`])==null?void 0:ee.call(u,{title:G,value:Y,isActive:ne}))})]):null}});const index$2="",codeDemo="",M$1=()=>h$3(lt,{name:"loading"},()=>["0s","-0.333s","-0.667s"].map(l=>h$3("circle",{cx:512,cy:512,r:0,fill:"none",stroke:"currentColor","stroke-width":"20"},[h$3("animate",{attributeName:"r",repeatCount:"indefinite",dur:"1s",values:"0;400",keyTimes:"0;1",keySplines:"0 0.2 0.8 1",calcMode:"spline",begin:l}),h$3("animate",{attributeName:"opacity",repeatCount:"indefinite",dur:"1s",values:"1;0",keyTimes:"0;1",keySplines:"0.2 0 0.8 1",calcMode:"spline",begin:l})]))),O$1='<svg class="codepen-icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="200" height="200"><path d="M123.429 668L468 897.714V692.571L277.143 565.143zM88 585.714L198.286 512 88 438.286v147.428zm468 312L900.571 668 746.857 565.143 556 692.57v205.143zM512 616l155.429-104L512 408 356.571 512zM277.143 458.857L468 331.43V126.286L123.429 356zM825.714 512L936 585.714V438.286zm-78.857-53.143L900.571 356 556 126.286v205.143zM1024 356v312q0 23.429-19.429 36.571l-468 312Q524.571 1024 512 1024t-24.571-7.429l-468-312Q0 691.43 0 668V356q0-23.429 19.429-36.571l468-312Q499.429 0 512 0t24.571 7.429l468 312Q1024 332.57 1024 356z"/></svg>',N='<svg class="jsfiddle-icon" viewBox="0 0 1170 1024" xmlns="http://www.w3.org/2000/svg" width="228.516" height="200"><path d="M1028.571 441.143q63.429 26.286 102.572 83.143t39.143 126.571q0 93.714-67.429 160.286T940 877.714q-2.286 0-6.571-.285t-6-.286H232q-97.143-5.714-164.571-71.714T0 645.143q0-62.857 31.429-116t84-84q-6.858-22.286-6.858-46.857 0-65.715 46.858-112T269.143 240q54.286 0 98.286 33.143 42.857-88 127.142-141.714t186.572-53.715q94.857 0 174.857 46t126.571 124.857 46.572 172q0 3.429-.286 10.286t-.286 10.286zm-761.142 152q0 69.714 48 110.286T434.286 744q78.285 0 137.143-56.571-9.143-11.429-27.143-32.286t-24.857-28.857q-38.286 37.143-82.286 37.143-31.429 0-53.429-19.143t-22-50q0-30.286 22-49.715T436 525.143q25.143 0 48.286 12T526 568.57t37.143 42.858 39.428 46.857 44 42.857T702 732.57t69.429 12q69.142 0 116.857-40.857T936 594.857q0-69.143-48-109.714T769.714 444.57Q688 444.571 632 500l53.143 61.714q37.714-36.571 81.143-36.571 29.714 0 52.571 18.857t22.857 48q0 32.571-21.143 52.286T766.857 664q-24.571 0-47.143-12t-41.143-31.429-37.428-42.857-39.714-46.857T557.143 488 502 456.571t-67.714-12q-69.715 0-118.286 40.286t-48.571 108.286z"/></svg>',L={useBabel:!1,jsLib:[],cssLib:[],codepenLayout:"left",codepenEditors:"101",babel:"https://unpkg.com/@babel/standalone/babel.min.js",vue:"https://unpkg.com/vue/dist/vue.global.prod.js",react:"https://unpkg.com/react/umd/react.production.min.js",reactDOM:"https://unpkg.com/react-dom/umd/react-dom.production.min.js"},C$1={html:{types:["html","slim","haml","md","markdown","vue"],map:{html:"none",vue:"none",md:"markdown"}},js:{types:["js","javascript","coffee","coffeescript","ts","typescript","ls","livescript"],map:{js:"none",javascript:"none",coffee:"coffeescript",ls:"livescript",ts:"typescript"}},css:{types:["css","less","sass","scss","stylus","styl"],map:{css:"none",styl:"stylus"}}},A$1=(l,u,m)=>{const b=document.createElement(l);return u&&Object.keys(u).forEach($=>{if($.indexOf("data"))b[$]=u[$];else{const T=$.replace("data","");b.dataset[T]=u[$]}}),m&&m.forEach($=>{b.appendChild($)}),b},w$1=l=>({...L,...l,jsLib:Array.from(new Set([...L.jsLib||[],...l.jsLib||[]])),cssLib:Array.from(new Set([...L.cssLib||[],...l.cssLib||[]]))}),v$1=(l,u)=>{if(l[u]!==void 0)return l[u];const m=new Promise(b=>{var $;const T=document.createElement("script");T.src=u,($=document.querySelector("body"))==null||$.appendChild(T),T.onload=()=>{b()}});return l[u]=m,m},k$3=(l,u)=>{if(u.css&&Array.from(l.childNodes).every(m=>m.nodeName!=="STYLE")){const m=A$1("style",{innerHTML:u.css});l.appendChild(m)}},D=(l,u,m)=>{const b=m.getScript();if(b&&Array.from(u.childNodes).every($=>$.nodeName!=="SCRIPT")){const $=document.createElement("script");$.appendChild(document.createTextNode(`{const document=window.document.querySelector('#${l} .code-demo-container').shadowRoot;
${b}}`)),u.appendChild($)}},R=l=>{const u=Object.keys(l),m={html:[],js:[],css:[],isLegal:!1};return["html","js","css"].forEach(b=>{const $=u.filter(T=>C$1[b].types.includes(T));if($.length){const T=$[0];m[b]=[l[T].replace(/^\n|\n$/g,""),C$1[b].map[T]||T]}}),m.isLegal=(!m.html.length||m.html[1]==="none")&&(!m.js.length||m.js[1]==="none")&&(!m.css.length||m.css[1]==="none"),m},x=l=>l.replace(/<br \/>/g,"<br>").replace(/<((\S+)[^<]*?)\s+\/>/g,"<$1></$2>"),_=l=>`<div id="app">
${x(l)}
</div>`,B=l=>`${l.replace("export default ","const $reactApp = ").replace(/App\.__style__(\s*)=(\s*)`([\s\S]*)?`/,"")};
ReactDOM.createRoot(document.getElementById("app")).render(React.createElement($reactApp))`,V=l=>l.replace(/export\s+default\s*\{(\n*[\s\S]*)\n*\}\s*;?$/u,"Vue.createApp({$1}).mount('#app')").replace(/export\s+default\s*define(Async)?Component\s*\(\s*\{(\n*[\s\S]*)\n*\}\s*\)\s*;?$/u,"Vue.createApp({$1}).mount('#app')").trim(),q=l=>`(function(exports){var module={};module.exports=exports;${l};return module.exports.__esModule?module.exports.default:module.exports;})({})`,z=(l,u)=>{const m=w$1(u),b=l.js[0]||"";return{...m,html:x(l.html[0]||""),js:b,css:l.css[0]||"",isLegal:l.isLegal,getScript:()=>{var $;return m.useBabel?(($=window.Babel.transform(b,{presets:["es2015"]}))==null?void 0:$.code)||"":b}}},P$1=(l,u)=>{const m=w$1(u),b=l.html[0]||"",$=/<template>([\s\S]+)<\/template>/u.exec(b),T=/<script(\s*lang=(['"])(.*?)\2)?>([\s\S]+)<\/script>/u.exec(b),j=/<style(\s*lang=(['"])(.*?)\2)?\s*(?:scoped)?>([\s\S]+)<\/style>/u.exec(b),U=$?$[1].replace(/^\n|\n$/g,""):"",[W="",G=""]=T?[T[4].replace(/^\n|\n$/g,""),T[3]]:[],[Y="",K=""]=j?[j[4].replace(/^\n|\n$/g,""),j[3]]:[],ee=G===""&&(K===""||K==="css");return{...m,html:_(U),js:V(W),css:Y,isLegal:ee,jsLib:[m.vue,...m.jsLib],getScript:()=>{var ne,oe;const ae=u.useBabel?((oe=(ne=window.Babel)==null?void 0:ne.transform(W,{presets:["es2015"]}))==null?void 0:oe.code)||"":W.replace(/export\s+default/u,"return");return`const app=window.document.createElement('div');document.firstElementChild.appendChild(app);const appOptions=${q(ae)};appOptions.template=\`${U.replace("`",'\\`"')}\`;window.Vue.createApp(appOptions).mount(app);`}}},H$1=(l,u)=>{const m=w$1(u);return{...m,html:_(""),js:B(l.js[0]||""),css:l.css[0]||(l.js[0]?l.js[0].replace(/App\.__style__(?:\s*)=(?:\s*)`([\s\S]*)?`/,"$1").trim():""),isLegal:l.isLegal,jsLib:[m.react,m.reactDOM,...m.jsLib],jsx:!0,getScript:()=>{var b,$;const T=(($=(b=window.Babel)==null?void 0:b.transform(l.js[0]||"",{presets:["es2015","react"]}))==null?void 0:$.code)||"";return`window.ReactDOM.createRoot(document.firstElementChild).render(window.React.createElement(${q(T)}))`}}},h$1={},I$1=l=>Promise.all([v$1(h$1,l.babel),v$1(h$1,l.react),v$1(h$1,l.reactDOM)]),J=l=>{const u=[v$1(h$1,l.vue)];return l.useBabel&&u.push(v$1(h$1,l.babel)),Promise.all(u)},Q=l=>l.useBabel?v$1(h$1,l.babel):Promise.resolve();var F$1=defineComponent({name:"CodeDemo",props:{id:{type:String,required:!0},type:{type:String,default:"normal"},title:{type:String,default:""},config:{type:String,default:""},code:{type:String,required:!0}},setup(l,{slots:u}){const m=ref(!1),b=ref(),$=ref(),T=ref("0"),j=ref(!1),U=computed(()=>JSON.parse(l.config?Wt(l.config):"{}")),W=computed(()=>{const ne=JSON.parse(Wt(l.code));return R(ne)}),G=computed(()=>l.type==="react"?H$1(W.value,U.value):l.type==="vue"?P$1(W.value,U.value):z(W.value,U.value)),Y=computed(()=>G.value.isLegal),K=(ne=!1)=>{const oe=b.value.attachShadow({mode:"open"}),ae=document.createElement("div");ae.classList.add("code-demo-app"),oe.appendChild(ae),Y.value?(ne&&(ae.innerHTML=G.value.html),k$3(oe,G.value),D(l.id,oe,G.value),T.value="0"):T.value="auto",j.value=!0},ee=()=>{switch(l.type){case"react":return I$1(G.value).then(()=>K());case"vue":return J(G.value).then(()=>K());default:return Q(G.value).then(()=>K(!0))}};return onMounted(()=>{setTimeout(()=>{ee()},800)}),()=>{var ne;return h$3("div",{class:"code-demo-wrapper",id:l.id},[j.value?null:h$3("div",{class:"loading"},h$3(M$1)),h$3("div",{class:"code-demo-header"},[G.value.isLegal?h$3("button",{class:["toggle-button",m.value?"down":"right"],onClick:()=>{T.value=m.value?"0":`${$.value.clientHeight+13.8}px`,m.value=!m.value}}):null,l.title?h$3("span",{class:"title"},decodeURIComponent(l.title)):null,G.value.isLegal&&G.value.jsfiddle!==!1?h$3("form",{class:"code-demo-jsfiddle",target:"_blank",action:"https://jsfiddle.net/api/post/library/pure/",method:"post"},[h$3("input",{type:"hidden",name:"html",value:G.value.html}),h$3("input",{type:"hidden",name:"js",value:G.value.js}),h$3("input",{type:"hidden",name:"css",value:G.value.css}),h$3("input",{type:"hidden",name:"wrap",value:"1"}),h$3("input",{type:"hidden",name:"panel_js",value:"3"}),h$3("input",{type:"hidden",name:"resources",value:[...G.value.cssLib,...G.value.jsLib].join(",")}),h$3("button",{type:"submit",class:"jsfiddle-button",innerHTML:N,"aria-label":"JSFiddle","data-balloon-pos":"up"})]):null,!G.value.isLegal||G.value.codepen!==!1?h$3("form",{class:"code-demo-codepen",target:"_blank",action:"https://codepen.io/pen/define",method:"post"},[h$3("input",{type:"hidden",name:"data",value:JSON.stringify({html:G.value.html,js:G.value.js,css:G.value.css,js_external:G.value.jsLib.join(";"),css_external:G.value.cssLib.join(";"),layout:G.value.codepenLayout,html_pre_processor:W.value?W.value.html[1]:"none",js_pre_processor:W.value?W.value.js[1]:G.value.jsx?"babel":"none",css_pre_processor:W.value?W.value.css[1]:"none",editors:G.value.codepenEditors})}),h$3("button",{type:"submit",innerHTML:O$1,class:"codepen-button","aria-label":"Codepen","data-balloon-pos":"up"})]):null]),h$3("div",{ref:b,class:"code-demo-container",style:{display:Y.value&&j.value?"block":"none"}}),h$3("div",{class:"code-demo-code-wrapper",style:{height:T.value}},h$3("div",{ref:$,class:"code-demo-codes"},(ne=u.default)==null?void 0:ne.call(u)))])}}});const echarts="",LoadingIcon=()=>h$3(lt,{name:"loading"},()=>["0s","-0.333s","-0.667s"].map(l=>h$3("circle",{cx:512,cy:512,r:0,fill:"none",stroke:"currentColor","stroke-width":"20"},[h$3("animate",{attributeName:"r",repeatCount:"indefinite",dur:"1s",values:"0;400",keyTimes:"0;1",keySplines:"0 0.2 0.8 1",calcMode:"spline",begin:l}),h$3("animate",{attributeName:"opacity",repeatCount:"indefinite",dur:"1s",values:"1;0",keyTimes:"0;1",keySplines:"0.2 0 0.8 1",calcMode:"spline",begin:l})]))),parseEChartsConfig=(config,type)=>{if(type==="js"){const exports={},module={exports};return eval(config),module.exports}return JSON.parse(config)};var ECharts=defineComponent({name:"ECharts",props:{config:{type:String,required:!0},id:{type:String,required:!0},title:{type:String,default:""},type:{type:String,default:"json"}},setup(l){const u=ref();let m;const b=ref(!0);return onMounted(()=>{Promise.all([__vitePreload(()=>import("./index-8764208e.js"),[]),new Promise($=>setTimeout($,800))]).then(([$])=>{const T=parseEChartsConfig(Wt(l.config),l.type);m=$.init(u.value),m.showLoading(),m.setOption(T),m.hideLoading(),b.value=!1}),useEventListener("resize",useDebounceFn(()=>m==null?void 0:m.resize(),100))}),onBeforeUnmount(()=>{m==null||m.dispose()}),()=>[l.title?h$3("div",{class:"echarts-title"},decodeURIComponent(l.title)):null,b.value?h$3("div",{class:"echarts-loading-wrapper"},h$3(LoadingIcon)):null,h$3("div",{ref:u,class:"echarts-wrapper",id:l.id})]}});const figure="",flowchart="",y$1=()=>h$3(lt,{name:"loading"},()=>["0s","-0.333s","-0.667s"].map(l=>h$3("circle",{cx:512,cy:512,r:0,fill:"none",stroke:"currentColor","stroke-width":"20"},[h$3("animate",{attributeName:"r",repeatCount:"indefinite",dur:"1s",values:"0;400",keyTimes:"0;1",keySplines:"0 0.2 0.8 1",calcMode:"spline",begin:l}),h$3("animate",{attributeName:"opacity",repeatCount:"indefinite",dur:"1s",values:"1;0",keyTimes:"0;1",keySplines:"0.2 0 0.8 1",calcMode:"spline",begin:l})])));var a$1={x:0,y:0,"line-width":2,"line-length":40,"text-margin":8,"font-size":14,"font-color":"#8DA1AC","line-color":"#8DA1AC","element-color":"black",fill:"white","yes-text":"Yes","no-text":"No","arrow-end":"block",scale:1},F={...a$1,symbols:{start:{class:"start-element","font-color":"#fff",fill:"#595959","line-width":"0px"},end:{class:"end-element","font-color":"#fff",fill:"#595959","line-width":"0px"},operation:{class:"operation-element","font-color":"#fff",fill:"#1890ff","line-width":"0px"},inputoutput:{class:"inputoutput-element","font-color":"#fff",fill:"#1890ff","line-width":"0px"},subroutine:{class:"subroutine-element","font-color":"#fff",fill:"#FF485E","element-color":"#fff","line-color":"red"},condition:{class:"condition-element","font-color":"#fff",fill:"#FF485E","line-width":"0px"},parallel:{class:"parallel-element","font-color":"#fff",fill:"#1890ff","line-width":"0px"}}},C={...a$1,"line-width":1,symbols:{start:{class:"start-element",fill:"#ccc","line-width":"1px","line-color":"#5c6ac4","font-color":"#000"},end:{class:"end-element",fill:"#ccc","line-width":"1px","line-color":"#5c6ac4","font-color":"#000"},operation:{class:"operation-element",fill:"#f1f1f1","line-width":"1px","line-color":"#5c6ac4","font-color":"#000"},inputoutput:{class:"inputoutput-element",fill:"#f1f1f1","line-width":"1px","line-color":"#5c6ac4","font-color":"#000"},subroutine:{class:"subroutine-element",fill:"#f1f1f1","line-width":"1px","line-color":"#5c6ac4","font-color":"#000"},condition:{class:"condition-element",fill:"#f1f1f1","line-width":"1px","line-color":"#5c6ac4","font-color":"#000"},parallel:{class:"parallel-element",fill:"#f1f1f1","line-width":"1px","line-color":"#5c6ac4","font-color":"#000"}}},g={...a$1,symbols:{start:{class:"start-element","font-color":"#fff",fill:"#2F495F","line-width":"0px"},end:{class:"end-element","font-color":"#fff",fill:"#2F495F","line-width":"0px"},operation:{class:"operation-element","font-color":"#fff",fill:"#00BC7D","line-width":"0px"},inputoutput:{class:"inputoutput-element","font-color":"#fff",fill:"#EB4D5D","line-width":"0px"},subroutine:{class:"subroutine-element","font-color":"#fff",fill:"#937AC4","element-color":"#fff","line-color":"red"},condition:{class:"condition-element","font-color":"#fff",fill:"#FFB500","line-width":"0px"},parallel:{class:"parallel-element","font-color":"#fff",fill:"#2F495F","line-width":"0px"}}},p={ant:F,vue:g,pie:C},k$2=defineComponent({name:"FlowChart",props:{code:{type:String,required:!0},id:{type:String,required:!0},preset:{type:String,default:"vue"}},setup(l){let u;const m=ref(),b=ref(!0),$=ref(1),T=computed(()=>p[l.preset]||(console.warn(`[md-enhance:flowchart] Unknown preset: ${l.preset}`),p.vue)),j=U=>U<419?.8:U>1280?1:.9;return onMounted(()=>{Promise.all([__vitePreload(()=>import("./flowchart.parse-0007e96c.js").then(U=>U.f),[]),new Promise(U=>setTimeout(U,800))]).then(([{default:U}])=>{u=U(Wt(l.code)),$.value=j(window.innerWidth),b.value=!1,u.drawSVG(l.id,{...T.value,scale:$.value}),useEventListener("resize",useDebounceFn(()=>{const W=j(window.innerWidth);$.value!==W&&($.value=W,u.drawSVG(l.id,{...T.value,scale:W}))},100))})}),()=>[b.value?h$3("div",{class:"flowchart-loading-wrapper"},h$3(y$1)):null,h$3("div",{ref:m,class:["flowchart-wrapper",l.preset],id:l.id,style:{display:b.value?"none":"block"}})]}});const footnote="",imageMark="",mermaid="",M=()=>h$3(lt,{name:"loading"},()=>["0s","-0.333s","-0.667s"].map(l=>h$3("circle",{cx:512,cy:512,r:0,fill:"none",stroke:"currentColor","stroke-width":"20"},[h$3("animate",{attributeName:"r",repeatCount:"indefinite",dur:"1s",values:"0;400",keyTimes:"0;1",keySplines:"0 0.2 0.8 1",calcMode:"spline",begin:l}),h$3("animate",{attributeName:"opacity",repeatCount:"indefinite",dur:"1s",values:"1;0",keyTimes:"0;1",keySplines:"0.2 0 0.8 1",calcMode:"spline",begin:l})]))),k$1=l=>({dark:l,background:l?"#1e1e1e":"#fff",primaryColor:l?"#389d70":"#4abf8a",primaryBorderColor:l?"#389d70":"#4abf8a",primaryTextColor:"#fff",secondaryColor:"#ffb500",secondaryBorderColor:l?"#fff":"#000",secondaryTextColor:l?"#ddd":"#333",tertiaryColor:l?"#282828":"#efeef4",tertiaryBorderColor:l?"#bbb":"#242424",tertiaryTextColor:l?"#ddd":"#333",noteBkgColor:l?"#f6d365":"#fff5ad",noteTextColor:"#242424",noteBorderColor:l?"#f6d365":"#333",lineColor:l?"#d3d3d3":"#333",textColor:l?"#fff":"#242424",mainBkg:l?"#389d70":"#4abf8a",errorBkgColor:"#eb4d5d",errorTextColor:"#fff",nodeBorder:l?"#389d70":"#4abf8a",nodeTextColor:l?"#fff":"#242424",signalTextColor:l?"#9e9e9e":"#242424",classText:"#fff",labelColor:"#fff",fillType0:l?"#cf1322":"#f1636e",fillType1:"#f39c12",fillType2:"#2ecc71",fillType3:"#fa541c",fillType4:"#25a55b",fillType5:"#13c2c2",fillType6:"#096dd9",fillType7:"#aa6fe9"});var w=defineComponent({name:"Mermaid",props:{id:{type:String,required:!0},code:{type:String,required:!0}},setup(l){const u=ref(""),m=ref(),b=ref(!1);let $=null;return onMounted(()=>{const T=document.querySelector("html"),j=Wt(l.code),U=()=>T.classList.contains("dark")||T.getAttribute("data-theme")==="dark";b.value=U(),Promise.all([__vitePreload(()=>import("./mermaid.esm.min-bc08675d.js"),[]),__vitePreload(()=>import("./mermaid-mindmap.esm.min-7c0fe85f.js"),["assets/mermaid-mindmap.esm.min-7c0fe85f.js","assets/framework-e266aaef.js"]),new Promise(W=>setTimeout(W,800))]).then(async([{default:W},{default:G}])=>{try{await W.registerExternalDiagrams([G])}catch{}const Y=async()=>{const K=document.createElement("div");K.style.position="relative",K.style.top="-9999px";const ee=ne=>{u.value=ne,document.body.removeChild(K)};W.initialize({theme:"base",themeVariables:k$1(b.value),flowchart:{useMaxWidth:!1},sequence:{useMaxWidth:!1},journey:{useMaxWidth:!1},gantt:{useMaxWidth:!1},er:{useMaxWidth:!1},pie:{useMaxWidth:!1},startOnLoad:!1}),u.value="",document.body.appendChild(K),await nextTick(),await W.renderAsync(l.id,j,ee,K)};await Y(),$=new MutationObserver(()=>{b.value=U()}),$.observe(T,{attributeFilter:["class","data-theme"],attributes:!0}),watch(b,Y)})}),onBeforeUnmount(()=>{$==null||$.disconnect()}),()=>h$3("div",{ref:m,class:["mermaid-wrapper",{loading:!u.value}]},u.value?h$3("div",{class:"content",innerHTML:u.value}):h$3(M))}});const o=()=>__vitePreload(()=>import("./highlight.esm-a794bb63.js"),[]),t=()=>__vitePreload(()=>import("./markdown.esm-d92a2fc9.js"),[]),e=()=>__vitePreload(()=>import("./math.esm-70a288c8.js"),[]),r$1=()=>__vitePreload(()=>import("./notes.esm-224f94d9.js"),[]),a=()=>__vitePreload(()=>import("./reveal.esm-e5069ce0.js"),[]),i=()=>__vitePreload(()=>import("./search.esm-2c3fba7d.js"),[]),c=()=>__vitePreload(()=>import("./zoom.esm-b83b91d0.js"),[]),useReveal=()=>[a(),t(),o(),e(),i(),r$1(),c()],index$1="",leagueGothic="",sourceSansPro="",k=()=>h$3(lt,{name:"loading"},()=>["0s","-0.333s","-0.667s"].map(l=>h$3("circle",{cx:512,cy:512,r:0,fill:"none",stroke:"currentColor","stroke-width":"20"},[h$3("animate",{attributeName:"r",repeatCount:"indefinite",dur:"1s",values:"0;400",keyTimes:"0;1",keySplines:"0 0.2 0.8 1",calcMode:"spline",begin:l}),h$3("animate",{attributeName:"opacity",repeatCount:"indefinite",dur:"1s",values:"1;0",keyTimes:"0;1",keySplines:"0.2 0 0.8 1",calcMode:"spline",begin:l})])));var S$1=defineComponent({name:"Presentation",props:{id:{type:String,required:!0},code:{type:String,required:!0},theme:{type:String,default:"auto"}},setup(l){const u=usePageFrontmatter(),m=ref(""),b=ref(!1),$=ref(),T=ref();let j;return onMounted(()=>{if(T.value){m.value=Wt(l.code),T.value.setAttribute("id",l.id),T.value.setAttribute("data-theme",l.theme);const U=[new Promise(W=>setTimeout(W,800)),...useReveal()];Promise.all(U).then(([,W,...G])=>{j=new W.default(T.value,{plugins:G.map(Y=>Y.default)}),j.initialize({backgroundTransition:"slide",hash:u.value.layout==="Slide",mouseWheel:u.value.layout==="Slide",transition:"slide",slideNumber:!0,...u.value.reveal||{},embedded:u.value.layout!=="Slide"}).then(()=>{b.value=!1,j.configure({backgroundTransition:"slide"})})})}}),onBeforeUnmount(()=>{j==null||j.destroy()}),()=>h$3("div",{ref:$,class:{"md-enhance-presentation":!0,loading:b.value}},[b.value?h$3(k):null,h$3("div",{ref:T,class:["reveal","reveal-viewport"]},h$3("div",{class:"slides",style:{display:b.value?"none":"block"},innerHTML:`<section data-markdown data-separator="^\\r?\\n---\\r?\\n$" data-separator-vertical="^\\r?\\n--\\r?\\n$"><script type="text/template">${m.value}<\/script></section>`}))])}});const playground="",n='<svg class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="200" height="200"><path d="M512 74.667C270.933 74.667 74.667 270.933 74.667 512S270.933 949.333 512 949.333 949.333 753.067 949.333 512 753.067 74.667 512 74.667zm0 810.666C307.2 885.333 138.667 716.8 138.667 512S307.2 138.667 512 138.667 885.333 307.2 885.333 512 716.8 885.333 512 885.333z"/><path d="M708.267 465.067 473.6 330.667c-8.533-4.267-17.067-6.4-25.6-6.4-29.867 0-53.333 23.466-53.333 53.333v268.8c0 8.533 2.133 19.2 6.4 25.6 10.666 17.067 27.733 27.733 46.933 27.733 8.533 0 17.067-2.133 25.6-6.4l234.667-134.4c8.533-4.266 14.933-10.666 19.2-19.2 6.4-12.8 8.533-27.733 4.266-40.533-2.133-14.933-10.666-25.6-23.466-34.133zM458.667 627.2V396.8L661.333 512 458.667 627.2z"/></svg>';var r=defineComponent({name:"Playground",props:{title:{type:String,default:""},link:{type:String,required:!0}},setup(l){return()=>[h$3("div",{class:"playground-wrapper"},[h$3("div",{class:"title-wrapper"},[l.title?h$3("div",{class:"title"},decodeURIComponent(l.title)):null,h$3("div",{class:"actions"},[h$3("a",{class:"action",href:decodeURIComponent(l.link),target:"_blank",innerHTML:n})])]),h$3("div",{class:"preview-container"},h$3("iframe",{class:"iframe-preview",src:decodeURIComponent(l.link)}))])]}});const tabs="",v=useStorage("VUEPRESS_TAB_STORE",{});var S=defineComponent({name:"Tabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},setup(l,{slots:u}){const m=ref(l.active),b=ref([]),$=()=>{if(l.tabId){const{title:G,id:Y=G}=l.data[m.value];v.value[l.tabId]=Y}},T=(G=m.value)=>{m.value=G<b.value.length-1?G+1:0,b.value[m.value].focus()},j=(G=m.value)=>{m.value=G>0?G-1:b.value.length-1,b.value[m.value].focus()},U=(G,Y)=>{G.key===" "||G.key==="Enter"?(G.preventDefault(),m.value=Y):G.key==="ArrowRight"?(G.preventDefault(),T()):G.key==="ArrowLeft"&&(G.preventDefault(),j()),$()},W=()=>{if(l.tabId){const G=l.data.findIndex(({title:Y,id:K=Y})=>v.value[l.tabId]===K);if(G!==-1)return G}return l.active};return onMounted(()=>{m.value=W(),watch(()=>v.value[l.tabId],(G,Y)=>{if(l.tabId&&G!==Y){const K=l.data.findIndex(({title:ee,id:ne=ee})=>ne===G);K!==-1&&(m.value=K)}})}),()=>l.data.length?h$3("div",{class:"tab-list"},[h$3("div",{class:"tab-list-nav",role:"tablist"},l.data.map(({title:G},Y)=>{const K=Y===m.value;return h$3("button",{ref:ee=>{ee&&(b.value[Y]=ee)},class:["tab-list-nav-item",{active:K}],role:"tab","aria-controls":`tab-${l.id}-${Y}`,"aria-selected":K,onClick:()=>{m.value=Y,$()},onKeydown:ee=>U(ee,Y)},G)})),l.data.map(({title:G,id:Y=G},K)=>{var ee;const ne=K===m.value;return h$3("div",{class:["tab-item",{active:ne}],id:`tab-${l.id}-${K}`,role:"tabpanel","aria-expanded":ne},(ee=u[`tab${K}`])==null?void 0:ee.call(u,{title:G,value:Y,isActive:ne}))})]):null}});const tasklist="",katex="",clientConfig8=defineClientConfig({enhance:({app:l})=>{l.component("ChartJS",ChartJS),l.component("CodeTabs",S$2),l.component("CodeDemo",F$1),l.component("ECharts",ECharts),l.component("FlowChart",k$2),l.component("Mermaid",w),l.component("Presentation",S$1),l.component("Playground",r),l.component("Tabs",S),l.component("VuePlayground",defineAsyncComponent(()=>__vitePreload(()=>import("./VuePlayground-eccf81af.js"),["assets/VuePlayground-eccf81af.js","assets/framework-e266aaef.js"])))}}),photoswipe="",E=".theme-hope-content :not(a) > img",P={"/en/":{closeTitle:"Close",downloadTitle:"Download Image",fullscreenTitle:"Switch to full screen",zoomTitle:"Zoom in/out",arrowPrevTitle:"Prev (Arrow Left)",arrowNextTitle:"Next (Arrow Right)"},"/":{closeTitle:"关闭",downloadTitle:"下载图片",fullscreenTitle:"切换全屏",zoomTitle:"缩放",arrowPrevTitle:"上一个 (左箭头)",arrowNextTitle:"下一个 (右箭头)"}},O=800,H={},d$1=l=>({src:l.src,width:l.naturalWidth,height:l.naturalHeight,alt:l.alt}),I=l=>{const u=isString$1(l)?Array.from(document.querySelectorAll(l)):l.map(m=>Array.from(document.querySelectorAll(m))).flat();return Promise.all(u.map(m=>new Promise((b,$)=>{m.complete?b(d$1(m)):(m.onload=()=>b(d$1(m)),m.onerror=T=>$(T))}))).then(m=>({elements:u,infos:m}))},A=()=>{const{isSupported:l,toggle:u}=useFullscreen(),m=Ot(P),b=useRoute(),$=()=>{Promise.all([__vitePreload(()=>import("./photoswipe.esm-a9093b7c.js"),[]),new Promise(T=>setTimeout(T,O)).then(()=>I(E))]).then(([T,j])=>{j.elements.forEach((U,W)=>{const G=()=>{const Y=new T.default({dataSource:j.infos,...m.value,...H,index:W});Y.on("uiRegister",()=>{l&&Y.ui.registerElement({name:"fullscreen",order:7,isButton:!0,html:'<svg class="pswp__icn" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><path d="M249.5 270.833H437v-75H212a37.5 37.5 0 0 0-37.5 37.5v225h75v-187.5zm-37.5 600h225v-75H249.5v-187.5h-75v225a37.5 37.5 0 0 0 37.5 37.5zm637.5-37.5v-225h-75v187.5H587v75h225a37.5 37.5 0 0 0 37.5-37.5zM587 270.833h187.5v187.5h75v-225a37.5 37.5 0 0 0-37.5-37.5H587v75z"/></svg>',onClick:()=>{u()}}),Y.ui.registerElement({name:"download",order:8,isButton:!0,tagName:"a",html:{isCustomSVG:!0,inner:'<path d="M20.5 14.3 17.1 18V10h-2.2v7.9l-3.4-3.6L10 16l6 6.1 6-6.1-1.5-1.6ZM23 23H9v2h14" id="pswp__icn-download"/>',outlineID:"pswp__icn-download"},onInit:(K,ee)=>{K.setAttribute("download",""),K.setAttribute("target","_blank"),K.setAttribute("rel","noopener"),ee.on("change",()=>{K.href=ee.currSlide.data.src})}})}),Y.init()};U.style.cursor="zoom-in",U.addEventListener("click",G),U.addEventListener("keypress",({key:Y})=>{Y==="Enter"&&G()})})})};onMounted(()=>{$(),watch(()=>b.path,()=>$())})};var y=defineClientConfig({setup:()=>{A()}});const useAutoLink=(l,u=!1)=>{const m=useRouter(),{fullPath:b,meta:$,name:T}=vt(m,encodeURI(l));return{text:!u&&$.s?$.s:$.title||l,link:T==="404"?l:b,...$.i?{icon:$.i}:{}}},useThemeData=()=>useThemeData$1(),useThemeLocaleData=()=>useThemeLocaleData$1(),usePure=()=>computed(()=>Boolean(useThemeData().value.pure)),useMobile=()=>{const l=useThemeData(),u=ref(!1),m=()=>{u.value=window.innerWidth<(l.value.mobileBreakPoint||719)};return onMounted(()=>{m(),useEventListener("resize",m,!1),useEventListener("orientationchange",m,!1)}),u},useNavigate=()=>{const l=useRouter(),u=useRoute();return m=>{if(m)if(te(m))u.path!==m&&l.push(m);else if(isLinkHttp(m)||isLinkMailto(m))window&&window.open(m);else{const b=u.path.slice(0,u.path.lastIndexOf("/"));l.push(`${b}/${encodeURI(m)}`)}}},usePageAuthor=()=>{const l=useThemeLocaleData(),u=usePageFrontmatter();return computed(()=>{const{author:m}=u.value;return m?Gt(m):m===!1?[]:Gt(l.value.author,!1)})},usePageCategory=()=>{const l=usePageFrontmatter();return computed(()=>Qt(l.value.category).map(u=>({name:u,path:""})))},usePageTag=()=>{const l=usePageFrontmatter();return computed(()=>Kt(l.value.tag).map(u=>({name:u,path:""})))},usePageDate=()=>{const l=usePageFrontmatter(),u=usePageData();return computed(()=>{const{date:m}=l.value;if(m)return rt(m);const{createdTime:b}=u.value.git||{};return b?rt(new Date(b)):null})},usePageInfo=()=>{const l=useThemeLocaleData(),u=usePageData(),m=usePageFrontmatter(),b=usePageAuthor(),$=usePageCategory(),T=usePageTag(),j=usePageDate(),U=computed(()=>({author:b.value,category:$.value,date:j.value,localizedDate:u.value.localizedDate,tag:T.value,isOriginal:m.value.isOriginal||!1,readingTime:u.value.readingTime||null,pageview:"pageview"in m.value?m.value.pageview:!0})),W=computed(()=>"pageInfo"in m.value?m.value.pageInfo:"pageInfo"in l.value?l.value.pageInfo:null);return{info:U,items:W}};let promise=null,promiseResolve=null;const scrollPromise={wait:()=>promise,pending:()=>{promise=new Promise(l=>promiseResolve=l)},resolve:()=>{promiseResolve==null||promiseResolve(),promise=null,promiseResolve=null}},useScrollPromise=()=>scrollPromise,footer="",PageFooter=defineComponent({name:"PageFooter",setup(){const l=usePageFrontmatter(),u=useThemeLocaleData(),m=usePageAuthor(),b=computed(()=>{const{copyright:j,footer:U}=l.value;return U!==!1&&Boolean(j||U||u.value.displayFooter)}),$=computed(()=>{const{footer:j}=l.value;return j===!1?!1:isString$1(j)?j:u.value.footer||""}),T=computed(()=>"copyright"in l.value?l.value.copyright:"copyright"in u.value?u.value.copyright:m.value.length?`Copyright © ${new Date().getFullYear()} ${m.value[0].name}`:!1);return()=>b.value?h$3("footer",{class:"footer-wrapper"},[h$3("div",{class:"footer",innerHTML:$.value}),T.value?h$3("div",{class:"copyright",innerHTML:T.value}):null]):null}}),I18nIcon=()=>h$3(lt,{name:"i18n"},()=>[h$3("path",{d:"M379.392 460.8 494.08 575.488l-42.496 102.4L307.2 532.48 138.24 701.44l-71.68-72.704L234.496 460.8l-45.056-45.056c-27.136-27.136-51.2-66.56-66.56-108.544h112.64c7.68 14.336 16.896 27.136 26.112 35.84l45.568 46.08 45.056-45.056C382.976 312.32 409.6 247.808 409.6 204.8H0V102.4h256V0h102.4v102.4h256v102.4H512c0 70.144-37.888 161.28-87.04 210.944L378.88 460.8zM576 870.4 512 1024H409.6l256-614.4H768l256 614.4H921.6l-64-153.6H576zM618.496 768h196.608L716.8 532.48 618.496 768z"})]);I18nIcon.displayName="I18nIcon";const GitHubIcon=()=>h$3(lt,{name:"github"},()=>h$3("path",{d:"M511.957 21.333C241.024 21.333 21.333 240.981 21.333 512c0 216.832 140.544 400.725 335.574 465.664 24.49 4.395 32.256-10.07 32.256-23.083 0-11.69.256-44.245 0-85.205-136.448 29.61-164.736-64.64-164.736-64.64-22.315-56.704-54.4-71.765-54.4-71.765-44.587-30.464 3.285-29.824 3.285-29.824 49.195 3.413 75.179 50.517 75.179 50.517 43.776 75.008 114.816 53.333 142.762 40.79 4.523-31.66 17.152-53.377 31.19-65.537-108.971-12.458-223.488-54.485-223.488-242.602 0-53.547 19.114-97.323 50.517-131.67-5.035-12.33-21.93-62.293 4.779-129.834 0 0 41.258-13.184 134.912 50.346a469.803 469.803 0 0 1 122.88-16.554c41.642.213 83.626 5.632 122.88 16.554 93.653-63.488 134.784-50.346 134.784-50.346 26.752 67.541 9.898 117.504 4.864 129.834 31.402 34.347 50.474 78.123 50.474 131.67 0 188.586-114.73 230.016-224.042 242.09 17.578 15.232 33.578 44.672 33.578 90.454v135.85c0 13.142 7.936 27.606 32.854 22.87C862.25 912.597 1002.667 728.747 1002.667 512c0-271.019-219.648-490.667-490.71-490.667z"}));GitHubIcon.displayName="GitHubIcon";const GitlabIcon=()=>h$3(lt,{name:"gitlab"},()=>h$3("path",{d:"M229.333 78.688C223.52 62 199.895 62 193.895 78.688L87.958 406.438h247.5c-.188 0-106.125-327.75-106.125-327.75zM33.77 571.438c-4.875 15 .563 31.687 13.313 41.25l464.812 345L87.77 406.438zm301.5-165 176.813 551.25 176.812-551.25zm655.125 165-54-165-424.312 551.25 464.812-345c12.938-9.563 18.188-26.25 13.5-41.25zM830.27 78.688c-5.812-16.688-29.437-16.688-35.437 0l-106.125 327.75h247.5z"}));GitlabIcon.displayName="GitlabIcon";const GiteeIcon=()=>h$3(lt,{name:"gitee"},()=>h$3("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm242.97-533.34H482.39a23.7 23.7 0 0 0-23.7 23.7l-.03 59.28c0 13.08 10.59 23.7 23.7 23.7h165.96a23.7 23.7 0 0 1 23.7 23.7v11.85a71.1 71.1 0 0 1-71.1 71.1H375.71a23.7 23.7 0 0 1-23.7-23.7V423.11a71.1 71.1 0 0 1 71.1-71.1h331.8a23.7 23.7 0 0 0 23.7-23.7l.06-59.25a23.73 23.73 0 0 0-23.7-23.73H423.11a177.78 177.78 0 0 0-177.78 177.75v331.83c0 13.08 10.62 23.7 23.7 23.7h349.62a159.99 159.99 0 0 0 159.99-159.99V482.33a23.7 23.7 0 0 0-23.7-23.7z"}));GiteeIcon.displayName="GiteeIcon";const BitbucketIcon=()=>h$3(lt,{name:"bitbucket"},()=>h$3("path",{d:"M575.256 490.862c6.29 47.981-52.005 85.723-92.563 61.147-45.714-20.004-45.714-92.562-1.133-113.152 38.29-23.442 93.696 7.424 93.696 52.005zm63.451-11.996c-10.276-81.152-102.29-134.839-177.152-101.156-47.433 21.138-79.433 71.424-77.129 124.562 2.853 69.705 69.157 126.866 138.862 120.576S647.3 548.571 638.708 478.83zm136.558-309.723c-25.161-33.134-67.986-38.839-105.728-45.13-106.862-17.151-216.576-17.7-323.438 1.134-35.438 5.706-75.447 11.996-97.719 43.996 36.572 34.304 88.576 39.424 135.424 45.129 84.553 10.862 171.447 11.447 256 .585 47.433-5.705 99.987-10.276 135.424-45.714zm32.585 591.433c-16.018 55.99-6.839 131.438-66.304 163.986-102.29 56.576-226.304 62.867-338.87 42.862-59.43-10.862-129.135-29.696-161.72-85.723-14.3-54.858-23.442-110.848-32.585-166.84l3.438-9.142 10.276-5.157c170.277 112.567 408.576 112.567 579.438 0 26.844 8.01 6.84 40.558 6.29 60.014zm103.424-549.157c-19.42 125.148-41.728 249.71-63.415 374.272-6.29 36.572-41.728 57.162-71.424 72.558-106.862 53.724-231.424 62.866-348.562 50.286-79.433-8.558-160.585-29.696-225.134-79.433-30.28-23.443-30.28-63.415-35.986-97.134-20.005-117.138-42.862-234.277-57.161-352.585 6.839-51.42 64.585-73.728 107.447-89.71 57.16-21.138 118.272-30.866 178.87-36.571 129.134-12.58 261.157-8.01 386.304 28.562 44.581 13.13 92.563 31.415 122.844 69.705 13.714 17.7 9.143 40.01 6.29 60.014z"}));BitbucketIcon.displayName="BitbucketIcon";const SourceIcon=()=>h$3(lt,{name:"source"},()=>h$3("path",{d:"M601.92 475.2c0 76.428-8.91 83.754-28.512 99.594-14.652 11.88-43.956 14.058-78.012 16.434-18.81 1.386-40.392 2.97-62.172 6.534-18.612 2.97-36.432 9.306-53.064 17.424V299.772c37.818-21.978 63.36-62.766 63.36-109.692 0-69.894-56.826-126.72-126.72-126.72S190.08 120.186 190.08 190.08c0 46.926 25.542 87.714 63.36 109.692v414.216c-37.818 21.978-63.36 62.766-63.36 109.692 0 69.894 56.826 126.72 126.72 126.72s126.72-56.826 126.72-126.72c0-31.086-11.286-59.598-29.7-81.576 13.266-9.504 27.522-17.226 39.996-19.206 16.038-2.574 32.868-3.762 50.688-5.148 48.312-3.366 103.158-7.326 148.896-44.55 61.182-49.698 74.25-103.158 75.24-187.902V475.2h-126.72zM316.8 126.72c34.848 0 63.36 28.512 63.36 63.36s-28.512 63.36-63.36 63.36-63.36-28.512-63.36-63.36 28.512-63.36 63.36-63.36zm0 760.32c-34.848 0-63.36-28.512-63.36-63.36s28.512-63.36 63.36-63.36 63.36 28.512 63.36 63.36-28.512 63.36-63.36 63.36zM823.68 158.4h-95.04V63.36h-126.72v95.04h-95.04v126.72h95.04v95.04h126.72v-95.04h95.04z"}));SourceIcon.displayName="SourceIcon";const Icon=l=>{const{icon:u=""}=l;return isLinkHttp(u)?h$3("img",{class:"icon",src:u}):te(u)?h$3("img",{class:"icon",src:withBase(u)}):h$3(resolveComponent("FontIcon"),l)};Icon.displayName="Icon";const AutoLink=defineComponent({name:"AutoLink",inheritAttrs:!1,props:{config:{type:Object,required:!0},exact:Boolean,noExternalLinkIcon:Boolean},emits:{focusout:()=>!0},setup(l,{attrs:u,emit:m,slots:b}){const $=useRoute(),T=useSiteData(),j=toRef(l,"config"),U=computed(()=>isLinkHttp(j.value.link)),W=computed(()=>isLinkMailto(j.value.link)||isLinkTel(j.value.link)),G=computed(()=>W.value?void 0:j.value.target||(U.value?"_blank":void 0)),Y=computed(()=>G.value==="_blank"),K=computed(()=>!U.value&&!W.value&&!Y.value),ee=computed(()=>W.value?void 0:j.value.rel||(Y.value?"noopener noreferrer":void 0)),ne=computed(()=>j.value.ariaLabel||j.value.text),oe=computed(()=>{if(l.exact)return!1;const ie=Object.keys(T.value.locales);return ie.length?ie.every(ue=>ue!==j.value.link):j.value.link!=="/"}),ae=computed(()=>K.value?j.value.activeMatch?new RegExp(j.value.activeMatch).test($.path):oe.value?$.path.startsWith(j.value.link):$.path===j.value.link:!1);return()=>{var ve,Le,_e;const{text:ie,icon:ue,link:he}=j.value;return K.value?h$3(RouterLink,{to:he,"aria-label":ne.value,...u,class:["nav-link",{active:ae.value},u.class],onFocusout:()=>m("focusout")},()=>{var de,re,fe;return((de=b.default)==null?void 0:de.call(b))||[((re=b.before)==null?void 0:re.call(b))||h$3(Icon,{icon:ue}),ie,(fe=b.after)==null?void 0:fe.call(b)]}):h$3("a",{href:he,rel:ee.value,target:G.value,"aria-label":ne.value,...u,class:["nav-link",u.class],onFocusout:()=>m("focusout")},((ve=b.default)==null?void 0:ve.call(b))||[((Le=b.before)==null?void 0:Le.call(b))||h$3(Icon,{icon:ue}),ie,l.noExternalLinkIcon?null:h$3(ExternalLinkIcon),(_e=b.after)==null?void 0:_e.call(b)])}}}),dropdownLink="",DropdownLink=defineComponent({name:"NavbarDropdownLink",props:{config:{type:Object,required:!0}},setup(l,{slots:u}){const m=useRoute(),b=toRef(l,"config"),$=computed(()=>b.value.ariaLabel||b.value.text),T=ref(!1);watch(()=>m.path,()=>{T.value=!1});const j=U=>{U.detail===0&&(T.value=!T.value)};return()=>{var U;return h$3("div",{class:["dropdown-wrapper",{open:T.value}]},[h$3("button",{class:"dropdown-title",type:"button","aria-label":$.value,onClick:j},[((U=u.title)==null?void 0:U.call(u))||h$3("span",{class:"title"},[h$3(Icon,{icon:b.value.icon}),l.config.text]),h$3("span",{class:"arrow"}),h$3("ul",{class:"nav-dropdown"},b.value.children.map((W,G)=>{const Y=G===b.value.children.length-1;return h$3("li",{class:"dropdown-item"},"children"in W?[h$3("h4",{class:"dropdown-subtitle"},W.link?h$3(AutoLink,{config:W,onFocusout:()=>{W.children.length===0&&Y&&(T.value=!1)}}):h$3("span",W.text)),h$3("ul",{class:"dropdown-subitem-wrapper"},W.children.map((K,ee)=>h$3("li",{class:"dropdown-subitem"},h$3(AutoLink,{config:K,onFocusout:()=>{ee===W.children.length-1&&Y&&(T.value=!1)}}))))]:h$3(AutoLink,{config:W,onFocusout:()=>{Y&&(T.value=!1)}}))}))])])}}}),resolveNavbarItem=(l,u="")=>isString$1(l)?useAutoLink(`${u}${l}`):"children"in l?{...l,...l.link&&!isLinkExternal(l.link)?useAutoLink(`${u}${l.link}`):{},children:l.children.map(m=>resolveNavbarItem(m,`${u}${l.prefix||""}`))}:{...l,link:isLinkExternal(l.link)?l.link:useAutoLink(`${u}${l.link}`).link},useNavbarConfig=()=>computed(()=>(useThemeLocaleData().value.navbar||[]).map(l=>resolveNavbarItem(l))),useNavbarLanguageDropdown=()=>{const l=useRouter(),u=useRouteLocale(),m=useSiteLocaleData(),b=useThemeData(),$=useThemeLocaleData();return computed(()=>{const T=Object.keys(m.value.locales);if(T.length<2)return null;const{path:j,fullPath:U}=l.currentRoute.value,{navbarLocales:W}=$.value;return{text:"",ariaLabel:W==null?void 0:W.selectLangAriaLabel,children:T.map(Y=>{var ie,ue,he;const K=((ie=m.value.locales)==null?void 0:ie[Y])??{},ee=((ue=b.value.locales)==null?void 0:ue[Y])??{},ne=K.lang||"",oe=((he=ee.navbarLocales)==null?void 0:he.langName)??ne;let ae;if(ne===m.value.lang)ae=j;else{const ve=j.replace(u.value,Y);ae=l.getRoutes().some(Le=>Le.path===ve)?U.replace(j,ve):ee.home??Y}return{text:oe,link:ae}})}})},getAncestorLinks=(l,u)=>{const m=l.path.replace(u,"/").split("/"),b=[];let $=removeEndingSlash(u);return m.forEach((T,j)=>{j!==m.length-1?($+=`${T}/`,b.push($)):T!==""&&($+=T,b.push($))}),b},resolveRepoType=l=>!isLinkHttp(l)||/github\.com/.test(l)?"GitHub":/bitbucket\.org/.test(l)?"Bitbucket":/gitlab\.com/.test(l)?"GitLab":/gitee\.com/.test(l)?"Gitee":null,useNavbarRepo=()=>{const l=useThemeLocaleData(),u=computed(()=>l.value.repo||null),m=computed(()=>u.value?resolveRepoType(u.value):null),b=computed(()=>u.value&&!isLinkHttp(u.value)?`https://github.com/${u.value}`:u.value),$=computed(()=>b.value?l.value.repoLabel??(m.value===null?"Source":m.value):null);return computed(()=>!b.value||!$.value||l.value.repoDisplay===!1?null:{type:m.value||"Source",label:$.value,link:b.value})},LanguageDropdown=defineComponent({name:"LanguageDropdown",setup(){const l=useNavbarLanguageDropdown();return()=>l.value?h$3("div",{class:"nav-item"},h$3(DropdownLink,{class:"i18n-dropdown",config:l.value},{title:()=>{var u;return h$3(I18nIcon,{"aria-label":(u=l.value)==null?void 0:u.ariaLabel,style:{width:"1rem",height:"1rem",verticalAlign:"middle"}})}})):null}}),navbarBrand="",NavbarBrand=defineComponent({name:"NavbarBrand",setup(){const l=useRouteLocale(),u=useSiteLocaleData(),m=useThemeLocaleData(),b=computed(()=>m.value.home||l.value),$=computed(()=>u.value.title),T=computed(()=>m.value.logo?withBase(m.value.logo):null),j=computed(()=>m.value.logoDark?withBase(m.value.logoDark):null);return()=>h$3(RouterLink,{to:b.value,class:"brand"},()=>[T.value?h$3("img",{class:["logo",{light:Boolean(j.value)}],src:T.value,alt:$.value}):null,j.value?h$3("img",{class:["logo dark"],src:j.value,alt:$.value}):null,$.value?h$3("span",{class:["site-name",{"hide-in-pad":T.value}]},$.value):null])}}),navbarLinks="",NavbarLinks=defineComponent({name:"NavbarLinks",setup(){const l=useNavbarConfig();return()=>l.value.length?h$3("nav",{class:"nav-links"},[...l.value.map(u=>h$3("div",{class:"nav-item hide-in-mobile"},"children"in u?h$3(DropdownLink,{config:u}):h$3(AutoLink,{config:u})))]):null}});function _toConsumableArray(l){if(Array.isArray(l)){for(var u=0,m=Array(l.length);u<l.length;u++)m[u]=l[u];return m}else return Array.from(l)}var hasPassiveEvents=!1;if(typeof window<"u"){var passiveTestOptions={get passive(){hasPassiveEvents=!0}};window.addEventListener("testPassive",null,passiveTestOptions),window.removeEventListener("testPassive",null,passiveTestOptions)}var isIosDevice=typeof window<"u"&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||window.navigator.platform==="MacIntel"&&window.navigator.maxTouchPoints>1),locks=[],documentListenerAdded=!1,initialClientY=-1,previousBodyOverflowSetting=void 0,previousBodyPaddingRight=void 0,allowTouchMove=function l(u){return locks.some(function(m){return!!(m.options.allowTouchMove&&m.options.allowTouchMove(u))})},preventDefault=function l(u){var m=u||window.event;return allowTouchMove(m.target)||m.touches.length>1?!0:(m.preventDefault&&m.preventDefault(),!1)},setOverflowHidden=function l(u){if(previousBodyPaddingRight===void 0){var m=!!u&&u.reserveScrollBarGap===!0,b=window.innerWidth-document.documentElement.clientWidth;m&&b>0&&(previousBodyPaddingRight=document.body.style.paddingRight,document.body.style.paddingRight=b+"px")}previousBodyOverflowSetting===void 0&&(previousBodyOverflowSetting=document.body.style.overflow,document.body.style.overflow="hidden")},restoreOverflowSetting=function l(){previousBodyPaddingRight!==void 0&&(document.body.style.paddingRight=previousBodyPaddingRight,previousBodyPaddingRight=void 0),previousBodyOverflowSetting!==void 0&&(document.body.style.overflow=previousBodyOverflowSetting,previousBodyOverflowSetting=void 0)},isTargetElementTotallyScrolled=function l(u){return u?u.scrollHeight-u.scrollTop<=u.clientHeight:!1},handleScroll=function l(u,m){var b=u.targetTouches[0].clientY-initialClientY;return allowTouchMove(u.target)?!1:m&&m.scrollTop===0&&b>0||isTargetElementTotallyScrolled(m)&&b<0?preventDefault(u):(u.stopPropagation(),!0)},disableBodyScroll=function l(u,m){if(!u){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}if(!locks.some(function($){return $.targetElement===u})){var b={targetElement:u,options:m||{}};locks=[].concat(_toConsumableArray(locks),[b]),isIosDevice?(u.ontouchstart=function($){$.targetTouches.length===1&&(initialClientY=$.targetTouches[0].clientY)},u.ontouchmove=function($){$.targetTouches.length===1&&handleScroll($,u)},documentListenerAdded||(document.addEventListener("touchmove",preventDefault,hasPassiveEvents?{passive:!1}:void 0),documentListenerAdded=!0)):setOverflowHidden(m)}},clearAllBodyScrollLocks=function l(){isIosDevice?(locks.forEach(function(u){u.targetElement.ontouchstart=null,u.targetElement.ontouchmove=null}),documentListenerAdded&&(document.removeEventListener("touchmove",preventDefault,hasPassiveEvents?{passive:!1}:void 0),documentListenerAdded=!1),initialClientY=-1):restoreOverflowSetting(),locks=[]};const navScreenDropdown="",NavScreenDropdown=defineComponent({name:"NavScreenDropdown",props:{config:{type:Object,required:!0}},setup(l){const u=useRoute(),m=toRef(l,"config"),b=computed(()=>m.value.ariaLabel||m.value.text),$=ref(!1);watch(()=>u.path,()=>{$.value=!1});const T=(j,U)=>U[U.length-1]===j;return()=>[h$3("button",{class:["nav-screen-dropdown-title",{active:$.value}],type:"button","aria-label":b.value,onClick:()=>{$.value=!$.value}},[h$3("span",{class:"title"},[h$3(Icon,{icon:m.value.icon}),l.config.text]),h$3("span",{class:["arrow",$.value?"down":"right"]})]),h$3("ul",{class:["nav-screen-dropdown",{hide:!$.value}]},m.value.children.map(j=>h$3("li",{class:"dropdown-item"},"children"in j?[h$3("h4",{class:"dropdown-subtitle"},j.link?h$3(AutoLink,{config:j,onFocusout:()=>{T(j,m.value.children)&&j.children.length===0&&($.value=!1)}}):h$3("span",j.text)),h$3("ul",{class:"dropdown-subitem-wrapper"},j.children.map(U=>h$3("li",{class:"dropdown-subitem"},h$3(AutoLink,{config:U,onFocusout:()=>{T(U,j.children)&&T(j,m.value.children)&&($.value=!1)}}))))]:h$3(AutoLink,{config:j,onFocusout:()=>{T(j,m.value.children)&&($.value=!1)}}))))]}}),navScreenLinks="",NavScreenLinks=defineComponent({name:"NavScreenLinks",setup(){const l=useNavbarConfig();return()=>l.value.length?h$3("nav",{class:"nav-screen-links"},l.value.map(u=>h$3("div",{class:"navbar-links-item"},"children"in u?h$3(NavScreenDropdown,{config:u}):h$3(AutoLink,{config:u})))):null}}),DarkIcon=()=>h$3(lt,{name:"dark"},()=>h$3("path",{d:"M524.8 938.667h-4.267a439.893 439.893 0 0 1-313.173-134.4 446.293 446.293 0 0 1-11.093-597.334A432.213 432.213 0 0 1 366.933 90.027a42.667 42.667 0 0 1 45.227 9.386 42.667 42.667 0 0 1 10.24 42.667 358.4 358.4 0 0 0 82.773 375.893 361.387 361.387 0 0 0 376.747 82.774 42.667 42.667 0 0 1 54.187 55.04 433.493 433.493 0 0 1-99.84 154.88 438.613 438.613 0 0 1-311.467 128z"}));DarkIcon.displayName="DarkIcon";const LightIcon=()=>h$3(lt,{name:"light"},()=>h$3("path",{d:"M952 552h-80a40 40 0 0 1 0-80h80a40 40 0 0 1 0 80zM801.88 280.08a41 41 0 0 1-57.96-57.96l57.96-58a41.04 41.04 0 0 1 58 58l-58 57.96zM512 752a240 240 0 1 1 0-480 240 240 0 0 1 0 480zm0-560a40 40 0 0 1-40-40V72a40 40 0 0 1 80 0v80a40 40 0 0 1-40 40zm-289.88 88.08-58-57.96a41.04 41.04 0 0 1 58-58l57.96 58a41 41 0 0 1-57.96 57.96zM192 512a40 40 0 0 1-40 40H72a40 40 0 0 1 0-80h80a40 40 0 0 1 40 40zm30.12 231.92a41 41 0 0 1 57.96 57.96l-57.96 58a41.04 41.04 0 0 1-58-58l58-57.96zM512 832a40 40 0 0 1 40 40v80a40 40 0 0 1-80 0v-80a40 40 0 0 1 40-40zm289.88-88.08 58 57.96a41.04 41.04 0 0 1-58 58l-57.96-58a41 41 0 0 1 57.96-57.96z"}));LightIcon.displayName="LightIcon";const AutoIcon=()=>h$3(lt,{name:"auto"},()=>h$3("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm0-840c-198.78 0-360 161.22-360 360 0 198.84 161.22 360 360 360s360-161.16 360-360c0-198.78-161.22-360-360-360zm0 660V212c165.72 0 300 134.34 300 300 0 165.72-134.28 300-300 300z"}));AutoIcon.displayName="AutoIcon";const EnterFullScreenIcon=()=>h$3(lt,{name:"enter-fullscreen"},()=>h$3("path",{d:"M762.773 90.24h-497.28c-96.106 0-174.4 78.293-174.4 174.4v497.28c0 96.107 78.294 174.4 174.4 174.4h497.28c96.107 0 175.04-78.293 174.4-174.4V264.64c0-96.213-78.186-174.4-174.4-174.4zm-387.2 761.173H215.04c-21.867 0-40.427-17.92-41.067-41.066V649.92c0-22.507 17.92-40.427 40.427-40.427 11.307 0 21.227 4.694 28.48 11.947 7.253 7.253 11.947 17.92 11.947 28.48v62.293l145.28-145.28c15.893-15.893 41.813-15.893 57.706 0 15.894 15.894 15.894 41.814 0 57.707l-145.28 145.28h62.294c22.506 0 40.426 17.92 40.426 40.427s-17.173 41.066-39.68 41.066zM650.24 165.76h160.427c21.866 0 40.426 17.92 41.066 41.067v160.426c0 22.507-17.92 40.427-40.426 40.427-11.307 0-21.227-4.693-28.48-11.947-7.254-7.253-11.947-17.92-11.947-28.48v-62.186L625.6 450.347c-15.893 15.893-41.813 15.893-57.707 0-15.893-15.894-15.893-41.814 0-57.707l145.28-145.28H650.88c-22.507 0-40.427-17.92-40.427-40.427s17.174-41.173 39.787-41.173z"}));EnterFullScreenIcon.displayName="EnterFullScreenIcon";const CancelFullScreenIcon=()=>h$3(lt,{name:"cancel-fullscreen"},()=>h$3("path",{d:"M778.468 78.62H247.922c-102.514 0-186.027 83.513-186.027 186.027V795.08c0 102.514 83.513 186.027 186.027 186.027h530.432c102.514 0 186.71-83.513 186.026-186.027V264.647C964.494 162.02 880.981 78.62 778.468 78.62zM250.88 574.35h171.122c23.324 0 43.122 19.115 43.804 43.805v171.121c0 24.008-19.114 43.122-43.122 43.122-12.06 0-22.641-5.006-30.378-12.743s-12.743-19.115-12.743-30.379V722.83L224.597 877.91c-16.953 16.952-44.6 16.952-61.553 0-16.953-16.954-16.953-44.602 0-61.554L318.009 661.39h-66.446c-24.007 0-43.122-19.114-43.122-43.122 0-24.12 18.432-43.918 42.439-43.918zm521.899-98.873H601.657c-23.325 0-43.122-19.114-43.805-43.804V260.55c0-24.007 19.115-43.122 43.122-43.122 12.06 0 22.642 5.007 30.379 12.743s12.743 19.115 12.743 30.38v66.445l154.965-154.965c16.953-16.953 44.601-16.953 61.554 0 16.953 16.953 16.953 44.6 0 61.554L705.536 388.55h66.446c24.007 0 43.122 19.115 43.122 43.122.114 24.007-18.318 43.804-42.325 43.804z"}));CancelFullScreenIcon.displayName="CancelFullScreenIcon";const OutlookIcon=()=>h$3(lt,{name:"outlook"},()=>[h$3("path",{d:"M224 800c0 9.6 3.2 44.8 6.4 54.4 6.4 48-48 76.8-48 76.8s80 41.6 147.2 0 134.4-134.4 38.4-195.2c-22.4-12.8-41.6-19.2-57.6-19.2C259.2 716.8 227.2 761.6 224 800zM560 675.2l-32 51.2c-51.2 51.2-83.2 32-83.2 32 25.6 67.2 0 112-12.8 128 25.6 6.4 51.2 9.6 80 9.6 54.4 0 102.4-9.6 150.4-32l0 0c3.2 0 3.2-3.2 3.2-3.2 22.4-16 12.8-35.2 6.4-44.8-9.6-12.8-12.8-25.6-12.8-41.6 0-54.4 60.8-99.2 137.6-99.2 6.4 0 12.8 0 22.4 0 12.8 0 38.4 9.6 48-25.6 0-3.2 0-3.2 3.2-6.4 0-3.2 3.2-6.4 3.2-6.4 6.4-16 6.4-16 6.4-19.2 9.6-35.2 16-73.6 16-115.2 0-105.6-41.6-198.4-108.8-268.8C704 396.8 560 675.2 560 675.2zM224 419.2c0-28.8 22.4-51.2 51.2-51.2 28.8 0 51.2 22.4 51.2 51.2 0 28.8-22.4 51.2-51.2 51.2C246.4 470.4 224 448 224 419.2zM320 284.8c0-22.4 19.2-41.6 41.6-41.6 22.4 0 41.6 19.2 41.6 41.6 0 22.4-19.2 41.6-41.6 41.6C339.2 326.4 320 307.2 320 284.8zM457.6 208c0-12.8 12.8-25.6 25.6-25.6 12.8 0 25.6 12.8 25.6 25.6 0 12.8-12.8 25.6-25.6 25.6C470.4 233.6 457.6 220.8 457.6 208zM128 505.6C128 592 153.6 672 201.6 736c28.8-60.8 112-60.8 124.8-60.8-16-51.2 16-99.2 16-99.2l316.8-422.4c-48-19.2-99.2-32-150.4-32C297.6 118.4 128 291.2 128 505.6zM764.8 86.4c-22.4 19.2-390.4 518.4-390.4 518.4-22.4 28.8-12.8 76.8 22.4 99.2l9.6 6.4c35.2 22.4 80 12.8 99.2-25.6 0 0 6.4-12.8 9.6-19.2 54.4-105.6 275.2-524.8 288-553.6 6.4-19.2-3.2-32-19.2-32C777.6 76.8 771.2 80 764.8 86.4z"})]);OutlookIcon.displayName="OutlookIcon";const darkModeSymbol=Symbol.for("darkMode"),useDarkMode=()=>{const l=inject(darkModeSymbol);if(!l)throw new Error("useDarkMode() is called without provider.");return l},injectDarkMode=l=>{const u=useThemeData(),m=usePreferredDark(),b=useStorage("vuepress-theme-hope-scheme","auto"),$=computed(()=>{const{darkmode:T}=u.value;return T==="disable"?!1:T==="enable"?!0:T==="auto"?m.value:T==="toggle"?b.value==="dark":b.value==="dark"||b.value==="auto"&&m.value});l.provide(darkModeSymbol,{isDarkMode:$,status:b}),Object.defineProperties(l.config.globalProperties,{$isDarkMode:{get:()=>$.value}})},setupDarkMode=()=>{const{isDarkMode:l}=useDarkMode(),u=(m=l.value)=>{const b=window==null?void 0:window.document.querySelector("html");b==null||b.setAttribute("data-theme",m?"dark":"light")};onMounted(()=>{watch(l,u,{immediate:!0})})},appearanceSwitch="",AppearanceSwitch=defineComponent({name:"AppearanceSwitch",setup(){const l=useThemeData(),{status:u}=useDarkMode(),m=computed(()=>l.value.darkmode),b=()=>{m.value==="switch"?u.value={light:"dark",dark:"auto",auto:"light"}[u.value]:u.value=u.value==="light"?"dark":"light"};return()=>h$3("button",{id:"appearance-switch",onClick:()=>b()},[h$3(AutoIcon,{style:{display:u.value==="auto"?"block":"none"}}),h$3(DarkIcon,{style:{display:u.value==="dark"?"block":"none"}}),h$3(LightIcon,{style:{display:u.value==="light"?"block":"none"}})])}}),AppearanceMode=defineComponent({name:"AppearanceMode",setup(){const l=useThemeData(),u=useThemeLocaleData(),m=computed(()=>u.value.outlookLocales.darkmode),b=computed(()=>l.value.darkmode),$=computed(()=>b.value==="switch"||b.value==="toggle");return()=>$.value?h$3("div",{class:"appearance-wrapper"},[h$3("label",{class:"appearance-title",for:"appearance-switch"},m.value),h$3(AppearanceSwitch)]):null}}),themeColorPicker="",ThemeColorPicker=defineComponent({name:"ThemeColorPicker",props:{themeColor:{type:Object,required:!0}},setup(l){const u=(m="")=>{const b=document.documentElement.classList,$=Object.keys(l.themeColor).map(T=>`theme-${T}`);if(!m){localStorage.removeItem("theme"),b.remove(...$);return}b.remove(...$.filter(T=>T!==`theme-${m}`)),b.add(`theme-${m}`),localStorage.setItem("theme",m)};return onMounted(()=>{const m=localStorage.getItem("theme");m&&u(m)}),()=>h$3("ul",{id:"theme-color-picker"},[h$3("li",h$3("span",{class:"theme-color",onClick:()=>u()})),...Object.entries(l.themeColor).map(([m,b])=>h$3("li",h$3("span",{style:{background:b},onClick:()=>u(m)})))])}}),ThemeColor=defineComponent({name:"ThemeColor",setup(){const l=useThemeData(),u=useThemeLocaleData(),m=computed(()=>u.value.outlookLocales.themeColor),b=computed(()=>{const{themeColor:$}=l.value;return $===!1?null:$});return()=>b.value?h$3("div",{class:"theme-color-wrapper"},[h$3("label",{class:"theme-color-title",for:"theme-color-picker"},m.value),h$3(ThemeColorPicker,{themeColor:b.value})]):null}}),toggleFullScreenButton="",ToggleFullScreenButton=defineComponent({name:"ToggleFullScreenButton",setup(){const l=useThemeLocaleData(),{isSupported:u,isFullscreen:m,toggle:b}=useFullscreen(),$=computed(()=>l.value.outlookLocales.fullscreen);return()=>u?h$3("div",{class:"fullscreen-wrapper"},[h$3("label",{class:"full-screen-title",for:"full-screen-switch"},$.value),h$3("button",{class:"full-screen",id:"full-screen-switch",ariaPressed:m.value,onClick:()=>b()},m.value?h$3(CancelFullScreenIcon):h$3(EnterFullScreenIcon))]):null}}),OutlookSettings=defineComponent({name:"OutlookSettings",setup(){const l=useThemeData(),u=usePure(),m=computed(()=>l.value.darkmode!=="disable"&&l.value.darkmode!=="enable"),b=computed(()=>!u.value&&Boolean(l.value.themeColor)),$=computed(()=>!u.value&&l.value.fullscreen);return()=>h$3(ClientOnly,()=>[b.value?h$3(ThemeColor):null,m.value?h$3(AppearanceMode):null,$.value?h$3(ToggleFullScreenButton):null])}}),navScreen="",NavScreen=defineComponent({name:"NavScreen",props:{show:Boolean},emits:{close:()=>!0},setup(l,{emit:u,slots:m}){const b=useRoute(),$=useMobile(),T=ref();return onMounted(()=>{watch($,j=>{!j&&l.show&&(clearAllBodyScrollLocks(),u("close"))}),watch(()=>b.path,()=>{clearAllBodyScrollLocks(),u("close")})}),onBeforeUnmount(()=>{clearAllBodyScrollLocks()}),()=>h$3(Transition,{name:"fade",onEnter:()=>disableBodyScroll(T.value,{reserveScrollBarGap:!0}),onAfterLeave:()=>clearAllBodyScrollLocks()},()=>{var j,U;return l.show?h$3("div",{id:"nav-screen",ref:T},h$3("div",{class:"container"},[(j=m.before)==null?void 0:j.call(m),h$3(NavScreenLinks),h$3("div",{class:"outlook-wrapper"},h$3(OutlookSettings)),(U=m.after)==null?void 0:U.call(m)])):null})}}),outlookButton="",OutlookButton=defineComponent({name:"OutlookButton",setup(){const{isSupported:l}=useFullscreen(),u=useThemeData(),m=usePure(),b=useRoute(),$=ref(!1),T=computed(()=>u.value.darkmode!=="disable"&&u.value.darkmode!=="enable"),j=computed(()=>!m.value&&Boolean(u.value.themeColor)),U=computed(()=>!m.value&&u.value.fullscreen&&l);return watch(()=>b.path,()=>{$.value=!1}),()=>T.value||U.value||j.value?h$3("div",{class:"nav-item hide-in-mobile"},T.value&&!U.value&&!j.value?h$3(AppearanceSwitch):U.value&&!T.value&&!j.value?h$3(ToggleFullScreenButton):h$3("button",{class:["outlook-button",{open:$.value}],tabindex:"-1",ariaHidden:!0},[h$3(OutlookIcon),h$3("div",{class:"outlook-dropdown"},h$3(OutlookSettings))])):null}}),toggleNavbarButton="",ToggleNavbarButton=({active:l=!1},{emit:u})=>h$3("button",{class:["toggle-navbar-button",{"is-active":l}],"aria-label":"Toggle Navbar","aria-expanded":l,"aria-controls":"nav-screen",onClick:()=>u("toggle")},h$3("span",{class:"button-container"},[h$3("span",{class:"button-top"}),h$3("span",{class:"button-middle"}),h$3("span",{class:"button-bottom"})]));ToggleNavbarButton.displayName="ToggleNavbarButton";const toggleSidebarButton="",ToggleSidebarButton=(l,{emit:u})=>h$3("button",{class:"toggle-sidebar-button",title:"Toggle Sidebar",onClick:()=>u("toggle")},h$3("span",{class:"icon"}));ToggleSidebarButton.displayName="ToggleSidebarButton";ToggleSidebarButton.emits=["toggle"];const repoLink="",RepoLink=defineComponent({name:"RepoLink",components:{BitbucketIcon,GiteeIcon,GitHubIcon,GitlabIcon,SourceIcon},setup(){const l=useNavbarRepo();return()=>l.value?h$3("div",{class:"nav-item"},h$3("a",{class:"repo-link",href:l.value.link,target:"_blank",rel:"noopener noreferrer","aria-label":l.value.label},h$3(resolveComponent(`${l.value.type}Icon`),{style:{width:"1.25rem",height:"1.25rem",verticalAlign:"middle"}}))):null}}),navbar="",Navbar=defineComponent({name:"NavBar",emits:{toggleSidebar:()=>!0},setup(l,{emit:u,slots:m}){const b=useThemeLocaleData(),$=useMobile(),T=ref(!1),j=computed(()=>{const{navbarAutoHide:W}=b.value;return W!=="none"&&(W==="always"||$.value)}),U=computed(()=>b.value.navbarLayout||{left:["Brand"],center:["Links"],right:["Language","Repo","Outlook","Search"]});return()=>{var G,Y,K,ee,ne,oe;const W={Brand:h$3(NavbarBrand),Language:h$3(LanguageDropdown),Links:h$3(NavbarLinks),Repo:h$3(RepoLink),Outlook:h$3(OutlookButton),Search:xt("Docsearch")?h$3(resolveComponent("Docsearch")):xt("SearchBox")?h$3(resolveComponent("SearchBox")):xt("SearchBox")?h$3(resolveComponent("SearchBox")):null};return[h$3("header",{class:["navbar",{"auto-hide":j.value,"hide-icon":!b.value.navbarIcon}]},[h$3("div",{class:"navbar-left"},[h$3(ToggleSidebarButton,{onToggle:()=>{T.value&&(T.value=!1),u("toggleSidebar")}}),(G=m.leftStart)==null?void 0:G.call(m),...U.value.left.map(ae=>W[ae]),(Y=m.leftEnd)==null?void 0:Y.call(m)]),h$3("div",{class:"navbar-center"},[(K=m.centerStart)==null?void 0:K.call(m),...U.value.center.map(ae=>W[ae]),(ee=m.centerEnd)==null?void 0:ee.call(m)]),h$3("div",{class:"navbar-right"},[(ne=m.rightStart)==null?void 0:ne.call(m),...U.value.right.map(ae=>W[ae]),(oe=m.rightEnd)==null?void 0:oe.call(m),h$3(ToggleNavbarButton,{active:T.value,onToggle:()=>{T.value=!T.value}})])]),h$3(NavScreen,{show:T.value,onClose:()=>{T.value=!1}},{before:()=>{var ae;return(ae=m.screenTop)==null?void 0:ae.call(m)},after:()=>{var ae;return(ae=m.screenBottom)==null?void 0:ae.call(m)}})]}}}),isActiveSidebarItem=(l,u,m=!1)=>"activeMatch"in u?new RegExp(u.activeMatch).test(l.path):At(l,u.link)?!0:u.children&&!m?u.children.some(b=>isActiveSidebarItem(l,b)):!1,isMatchedSidebarItem=(l,u)=>u.type==="group"?u.children.some(m=>m.type==="group"?isMatchedSidebarItem(l,m):m.type==="page"&&isActiveSidebarItem(l,m,!0))||"prefix"in u&&At(l,u.prefix):!1,renderItem=(l,u)=>l.link?h$3(AutoLink,{...u,config:l}):h$3("p",u,[h$3(Icon,{icon:l.icon}),l.text]),renderChildren$1=l=>{const u=useRoute();return l?h$3("ul",{class:"sidebar-sub-headers"},l.map(m=>{const b=isActiveSidebarItem(u,m,!0);return h$3("li",{class:"sidebar-sub-header"},[renderItem(m,{class:["sidebar-link","heading",{active:b}]}),renderChildren$1(m.children)])})):null},sidebarData={},resolvePrefix=(l="",u="")=>te(u)?u:`${ensureEndingSlash(l)}${u}`,headerToSidebarItem=(l,u)=>{const m=usePageData();return{type:"heading",text:l.title,link:`${m.value.path}#${l.slug}`,children:headersToSidebarItemChildren(l.children,u)}},headersToSidebarItemChildren=(l,u)=>u>0?l.map(m=>headerToSidebarItem(m,u-1)):[],resolveHeadingSidebarItems=l=>{const u=usePageData();return headersToSidebarItemChildren(u.value.headers,l)},resolveArraySidebarItems=(l,u,m="")=>{const b=usePageData(),$=useRoute(),T=(j,U=m)=>{var G;const W=isString$1(j)?useAutoLink(resolvePrefix(U,j)):j.link?{...j,...isLinkExternal(j.link)?{}:{link:useAutoLink(resolvePrefix(U,j.link)).link}}:j;if("children"in W){const Y=resolvePrefix(U,W.prefix),K=W.children==="structure"?sidebarData[Y]:W.children;return{type:"group",...W,prefix:Y,children:K.map(ee=>T(ee,Y))}}return{type:"page",...W,children:W.link===$.path?headersToSidebarItemChildren(((G=b.value.headers[0])==null?void 0:G.level)===1?b.value.headers[0].children:b.value.headers,u):[]}};return l.map(j=>T(j))},resolveMultiSidebarItems=(l,u)=>{const m=useRoute(),b=Object.keys(l).sort(($,T)=>T.length-$.length);for(const $ of b)if(decodeURI(m.path).startsWith($)){const T=l[$];return T?resolveArraySidebarItems(T==="structure"?sidebarData[$]:T,u,$):[]}return console.warn(`${m.path} is missing sidebar config.`),[]},resolveSidebarItems=()=>{const l=useRouteLocale(),u=usePageFrontmatter(),m=useThemeLocaleData(),b=u.value.home?!1:u.value.sidebar??m.value.sidebar??"structure",$=u.value.headerDepth??m.value.headerDepth??2;return b===!1?[]:b==="heading"?resolveHeadingSidebarItems($):b==="structure"?resolveArraySidebarItems(sidebarData[l.value],$,l.value):isArray(b)?resolveArraySidebarItems(b,$):isPlainObject(b)?resolveMultiSidebarItems(b,$):[]},sidebarItemsSymbol=Symbol.for("sidebarItems"),setupSidebarItems=()=>{const l=computed(()=>resolveSidebarItems());provide(sidebarItemsSymbol,l)},useSidebarItems=()=>{const l=inject(sidebarItemsSymbol);if(!l)throw new Error("useSidebarItems() is called without provider.");return l},sidebarChild="",SidebarChild=defineComponent({name:"SidebarChild",props:{config:{type:Object,required:!0}},setup(l){const u=useRoute();return()=>[renderItem(l.config,{class:["sidebar-link",`sidebar-${l.config.type}`,{active:isActiveSidebarItem(u,l.config,!0)}],exact:!0}),renderChildren$1(l.config.children)]}}),sidebarGroup="",SidebarGroup=defineComponent({name:"SidebarGroup",props:{config:{type:Object,required:!0},open:{type:Boolean,required:!0}},emits:{toggle:()=>!0},setup(l,{emit:u}){const m=useRoute(),b=computed(()=>isActiveSidebarItem(m,l.config)),$=computed(()=>isActiveSidebarItem(m,l.config,!0));return()=>{const{collapsible:T,children:j=[],icon:U,prefix:W,link:G,text:Y}=l.config;return h$3("section",{class:"sidebar-group"},[h$3(T?"button":"p",{class:["sidebar-heading",{clickable:T||G,exact:$.value,active:b.value}],...T?{onClick:()=>u("toggle"),onKeydown:K=>{K.key==="Enter"&&u("toggle")}}:{}},[h$3(Icon,{icon:U}),G?h$3(RouterLink,{to:G,class:"title"},()=>Y):h$3("span",{class:"title"},Y),T?h$3("span",{class:["arrow",l.open?"down":"right"]}):null]),l.open||!T?h$3(SidebarLinks,{key:W,config:j}):null])}}}),sidebarLinks="",SidebarLinks=defineComponent({name:"SidebarLinks",props:{config:{type:Array,required:!0}},setup(l){const u=useRoute(),m=ref(-1),b=$=>{m.value=$===m.value?-1:$};return watch(()=>u.path,()=>{const $=l.config.findIndex(T=>isMatchedSidebarItem(u,T));m.value=$},{immediate:!0,flush:"post"}),()=>h$3("ul",{class:"sidebar-links"},l.config.map(($,T)=>h$3("li",$.type==="group"?h$3(SidebarGroup,{config:$,open:T===m.value,onToggle:()=>b(T)}):h$3(SidebarChild,{config:$}))))}}),sidebar="",Sidebar=defineComponent({name:"SideBar",setup(l,{slots:u}){const m=useRoute(),b=useThemeLocaleData(),$=useSidebarItems(),T=ref();return onMounted(()=>{watch(()=>m.hash,j=>{const U=document.querySelector(`.sidebar a.sidebar-link[href="${m.path}${j}"]`);if(!U)return;const{top:W,height:G}=T.value.getBoundingClientRect(),{top:Y,height:K}=U.getBoundingClientRect();Y<W?U.scrollIntoView(!0):Y+K>W+G&&U.scrollIntoView(!1)})}),()=>{var j,U,W;return h$3("aside",{class:["sidebar",{"hide-icon":!b.value.sidebarIcon}],ref:T},[(j=u.top)==null?void 0:j.call(u),((U=u.default)==null?void 0:U.call(u))||h$3(SidebarLinks,{config:$.value}),(W=u.bottom)==null?void 0:W.call(u)])}}}),common="",CommonWrapper=defineComponent({name:"CommonWrapper",props:{noNavbar:Boolean,noSidebar:Boolean},setup(l,{slots:u}){const m=useRouter(),b=usePageData(),$=usePageFrontmatter(),T=useThemeLocaleData(),j=useMobile(),U=ref(!1),W=computed(()=>l.noNavbar||$.value.navbar===!1||T.value.navbar===!1?!1:Boolean(b.value.title||T.value.logo||T.value.repo||T.value.navbar)),G=useSidebarItems(),Y=computed(()=>l.noSidebar?!1:$.value.sidebar!==!1&&G.value.length!==0&&!$.value.home),K=ref(!1),ee=ref(!1),ne=de=>{K.value=typeof de=="boolean"?de:!K.value},oe=de=>{ee.value=typeof de=="boolean"?de:!ee.value},ae={x:0,y:0},ie=de=>{ae.x=de.changedTouches[0].clientX,ae.y=de.changedTouches[0].clientY},ue=de=>{const re=de.changedTouches[0].clientX-ae.x,fe=de.changedTouches[0].clientY-ae.y;Math.abs(re)>Math.abs(fe)*1.5&&Math.abs(re)>40&&(re>0&&ae.x<=80?ne(!0):ne(!1))},he=computed(()=>$.value.home?!1:$.value.toc||T.value.toc!==!1&&$.value.toc!==!1),ve=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;let Le,_e=0;return useEventListener("scroll",useThrottleFn(()=>{const de=ve();_e<de&&de>58?K.value||(U.value=!0):U.value=!1,_e=de},300,!0)),watch(j,de=>{de||ne(!1)}),onMounted(()=>{Le=m.afterEach(()=>{ne(!1)})}),onBeforeUnmount(()=>{Le()}),()=>h$3(xt("GlobalEncrypt")?resolveComponent("GlobalEncrypt"):Mt,()=>{var de;return h$3("div",{class:["theme-container",{"no-navbar":!W.value,"no-sidebar":!Y.value&&!(u.sidebar||u.sidebarTop||u.sidebarBottom),"has-toc":he.value,"hide-navbar":U.value,"sidebar-collapsed":!j.value&&ee.value,"sidebar-open":j.value&&K.value},$.value.containerClass||""],onTouchStart:ie,onTouchEnd:ue},[W.value?h$3(Navbar,{onToggleSidebar:()=>ne()},{leftStart:()=>{var re;return(re=u.navbarLeftStart)==null?void 0:re.call(u)},leftEnd:()=>{var re;return(re=u.navbarLeftEnd)==null?void 0:re.call(u)},centerStart:()=>{var re;return(re=u.navbarCenterStart)==null?void 0:re.call(u)},centerEnd:()=>{var re;return(re=u.navbarCenterEnd)==null?void 0:re.call(u)},rightStart:()=>{var re;return(re=u.navbarRightStart)==null?void 0:re.call(u)},rightEnd:()=>{var re;return(re=u.navbarRightEnd)==null?void 0:re.call(u)},screenTop:()=>{var re;return(re=u.navScreenTop)==null?void 0:re.call(u)},screenBottom:()=>{var re;return(re=u.navScreenBottom)==null?void 0:re.call(u)}}):null,h$3(Transition,{name:"fade"},()=>K.value?h$3("div",{class:"sidebar-mask",onClick:()=>ne(!1)}):null),h$3(Transition,{name:"fade"},()=>j.value?null:h$3("div",{class:"toggle-sidebar-wrapper",onClick:()=>oe()},h$3("span",{class:["arrow",ee.value?"right":"left"]}))),h$3(Sidebar,{},{...u.sidebar?{default:()=>{var re;return(re=u.sidebar)==null?void 0:re.call(u)}}:{},top:()=>{var re;return(re=u.sidebarTop)==null?void 0:re.call(u)},bottom:()=>{var re;return(re=u.sidebarBottom)==null?void 0:re.call(u)}}),(de=u.default)==null?void 0:de.call(u),h$3(PageFooter)])})}}),DropTransition=defineComponent({name:"DropTransition",props:{type:{type:String,default:"single"},delay:{type:Number,default:0},duration:{type:Number,default:.25},appear:Boolean},setup(l,{slots:u}){const m=$=>{$.style.transition=`transform ${l.duration}s ease-in-out ${l.delay}s, opacity ${l.duration}s ease-in-out ${l.delay}s`,$.style.transform="translateY(-20px)",$.style.opacity="0"},b=$=>{$.style.transform="translateY(0)",$.style.opacity="1"};return()=>h$3(l.type==="single"?Transition:TransitionGroup,{name:"drop",appear:l.appear,onAppear:m,onAfterAppear:b,onEnter:m,onAfterEnter:b,onBeforeLeave:m},()=>{var $;return($=u.default)==null?void 0:$.call(u)})}}),featurePanel="",FeaturePanel=defineComponent({name:"FeaturePanel",props:{items:{type:Object,default:()=>[]},header:{type:String,default:""}},setup(l){return()=>h$3("div",{class:"feature-panel"},[l.header?h$3("h2",{class:"feature-header"},l.header):null,l.items.length?h$3("div",{class:"feature-wrapper"},l.items.map(u=>{const m=[h$3("h3",[h$3(Icon,{icon:u.icon}),h$3("span",{innerHTML:u.title})]),h$3("p",{innerHTML:u.details})];return u.link?isLinkExternal(u.link)?h$3("a",{class:"feature-item link",href:u.link,role:"navigation","aria-label":u.title,target:"_blank"},m):h$3(RouterLink,{class:"feature-item link",to:u.link,role:"navigation","aria-label":u.title},()=>m):h$3("div",{class:"feature-item"},m)})):null])}}),heroInfo="",HeroInfo=defineComponent({name:"HeroInfo",setup(l,{slots:u}){const m=usePageFrontmatter(),b=useSiteLocaleData(),$=computed(()=>m.value.heroText===!1?!1:m.value.heroText||b.value.title||"Hello"),T=computed(()=>m.value.tagline===!1?!1:m.value.tagline||b.value.description||"Welcome to your VuePress site"),j=computed(()=>m.value.heroImage?withBase(m.value.heroImage):null),U=computed(()=>m.value.heroImageDark?withBase(m.value.heroImageDark):null),W=computed(()=>m.value.heroAlt||$.value||"hero"),G=computed(()=>m.value.actions??[]);return()=>{var Y,K;return h$3("header",{class:"hero-info-wrapper"},[((Y=u.heroImage)==null?void 0:Y.call(u))||h$3(DropTransition,{appear:!0,type:"group"},()=>[j.value?h$3("img",{key:"light",class:{light:U.value},src:j.value,alt:W.value}):null,U.value?h$3("img",{key:"dark",class:"dark",src:U.value,alt:W.value}):null]),((K=u.heroInfo)==null?void 0:K.call(u))||h$3("div",{class:"hero-info"},[$.value?h$3(DropTransition,{appear:!0,delay:.04},()=>h$3("h1",{id:"main-title"},$.value)):null,T.value?h$3(DropTransition,{appear:!0,delay:.08},()=>h$3("p",{class:"description"},T.value)):null,G.value.length?h$3(DropTransition,{appear:!0,delay:.12},()=>h$3("p",{class:"actions"},G.value.map(ee=>h$3(AutoLink,{class:["action-button",ee.type||"default"],config:ee,noExternalLinkIcon:!0})))):null])])}}}),MarkdownContent=({custom:l})=>h$3(Content,{class:["theme-hope-content",{custom:l}]});MarkdownContent.displayName="MarkdownContent";MarkdownContent.props={custom:Boolean};const homePage="",HomePage=defineComponent({name:"HopePage",setup(l,{slots:u}){const m=usePure(),b=usePageFrontmatter(),$=computed(()=>{const{features:T}=b.value;return isArray(T)?T.some(j=>!("items"in j))?[{items:T}]:T:[]});return()=>{var T,j,U;return h$3("main",{class:["home project",{pure:m.value}],id:"main-content","aria-labelledby":b.value.heroText===null?void 0:"main-title"},[(T=u.top)==null?void 0:T.call(u),h$3(HeroInfo),$.value.map(({header:W="",items:G},Y)=>h$3(DropTransition,{appear:!0,delay:.16+Y*.08},()=>h$3(FeaturePanel,{header:W,items:G}))),(j=u.center)==null?void 0:j.call(u),h$3(DropTransition,{appear:!0,delay:.16+$.value.length*.08},()=>h$3(MarkdownContent,{custom:!0})),(U=u.bottom)==null?void 0:U.call(u)])}}}),breadcrumb="",BreadCrumb=defineComponent({name:"BreadCrumb",setup(){const l=useRouter(),u=useRoute(),m=useRouteLocale(),b=usePageFrontmatter(),$=useThemeLocaleData(),T=ref([]),j=computed(()=>(b.value.breadcrumb||b.value.breadcrumb!==!1&&$.value.breadcrumb!==!1)&&T.value.length>1),U=computed(()=>b.value.breadcrumbIcon||b.value.breadcrumbIcon!==!1&&$.value.breadcrumbIcon!==!1),W=()=>{const G=l.getRoutes(),Y=getAncestorLinks(u,m.value).map(K=>{const ee=G.find(ne=>ne.path===K);if(ee){const{meta:ne,path:oe}=vt(l,ee.path),ae=ne.s||ne.title;if(ae)return{title:ae,icon:ne.i,path:oe}}return null}).filter(K=>K!==null);Y.length>1&&(T.value=Y)};return onMounted(()=>{W(),watch(()=>u.path,W)}),()=>h$3("nav",{class:["breadcrumb",{disable:!j.value}]},j.value?h$3("ol",{vocab:"https://schema.org/",typeof:"BreadcrumbList"},T.value.map((G,Y)=>h$3("li",{class:{"is-active":T.value.length-1===Y},property:"itemListElement",typeof:"ListItem"},[h$3(RouterLink,{to:G.path,property:"item",typeof:"WebPage"},()=>[U.value?h$3(Icon,{icon:G.icon}):null,h$3("span",{property:"name"},G.title||"Unknown")]),h$3("meta",{property:"position",content:Y+1})]))):[])}}),pageNav="",resolveFromFrontmatterConfig=l=>l===!1?!1:isString$1(l)?useAutoLink(l,!0):isPlainObject(l)?l:null,resolveFromSidebarItems=(l,u,m)=>{const b=l.findIndex($=>$.link===u);if(b!==-1){const $=l[b+m];return $!=null&&$.link?$:null}for(const $ of l)if($.children){const T=resolveFromSidebarItems($.children,u,m);if(T)return T}return null},PageNav=defineComponent({name:"PageNav",setup(){const l=useThemeLocaleData(),u=usePageFrontmatter(),m=useSidebarItems(),b=useRoute(),$=useNavigate(),T=computed(()=>{const U=resolveFromFrontmatterConfig(u.value.prev);return U===!1?null:U||(l.value.prevLink===!1?null:resolveFromSidebarItems(m.value,b.path,-1))}),j=computed(()=>{const U=resolveFromFrontmatterConfig(u.value.next);return U===!1?null:U||(l.value.nextLink===!1?null:resolveFromSidebarItems(m.value,b.path,1))});return useEventListener("keydown",U=>{U.altKey&&(U.key==="ArrowRight"?j.value&&($(j.value.link),U.preventDefault()):U.key==="ArrowLeft"&&T.value&&($(T.value.link),U.preventDefault()))}),()=>T.value||j.value?h$3("nav",{class:"page-nav"},[T.value?h$3(AutoLink,{class:"prev",config:T.value},()=>{var U,W;return[h$3("div",{class:"hint"},[h$3("span",{class:"arrow left"}),l.value.metaLocales.prev]),h$3("div",{class:"link"},[h$3(Icon,{icon:(U=T.value)==null?void 0:U.icon}),(W=T.value)==null?void 0:W.text])]}):null,j.value?h$3(AutoLink,{class:"next",config:j.value},()=>{var U,W;return[h$3("div",{class:"hint"},[l.value.metaLocales.next,h$3("span",{class:"arrow right"})]),h$3("div",{class:"link"},[(U=j.value)==null?void 0:U.text,h$3(Icon,{icon:(W=j.value)==null?void 0:W.icon})])]}):null]):null}}),AuthorIcon=()=>h$3(lt,{name:"author"},()=>h$3("path",{d:"M649.6 633.6c86.4-48 147.2-144 147.2-249.6 0-160-128-288-288-288s-288 128-288 288c0 108.8 57.6 201.6 147.2 249.6-121.6 48-214.4 153.6-240 288-3.2 9.6 0 19.2 6.4 25.6 3.2 9.6 12.8 12.8 22.4 12.8h704c9.6 0 19.2-3.2 25.6-12.8 6.4-6.4 9.6-16 6.4-25.6-25.6-134.4-121.6-240-243.2-288z"}));AuthorIcon.displayName="AuthorIcon";const CalendarIcon=()=>h$3(lt,{name:"calendar"},()=>h$3("path",{d:"M716.4 110.137c0-18.753-14.72-33.473-33.472-33.473-18.753 0-33.473 14.72-33.473 33.473v33.473h66.993v-33.473zm-334.87 0c0-18.753-14.72-33.473-33.473-33.473s-33.52 14.72-33.52 33.473v33.473h66.993v-33.473zm468.81 33.52H716.4v100.465c0 18.753-14.72 33.473-33.472 33.473a33.145 33.145 0 01-33.473-33.473V143.657H381.53v100.465c0 18.753-14.72 33.473-33.473 33.473a33.145 33.145 0 01-33.473-33.473V143.657H180.6A134.314 134.314 0 0046.66 277.595v535.756A134.314 134.314 0 00180.6 947.289h669.74a134.36 134.36 0 00133.94-133.938V277.595a134.314 134.314 0 00-133.94-133.938zm33.473 267.877H147.126a33.145 33.145 0 01-33.473-33.473c0-18.752 14.72-33.473 33.473-33.473h736.687c18.752 0 33.472 14.72 33.472 33.473a33.145 33.145 0 01-33.472 33.473z"}));CalendarIcon.displayName="CalendarIcon";const CategoryIcon=()=>h$3(lt,{name:"category"},()=>h$3("path",{d:"M148.41 106.992h282.176c22.263 0 40.31 18.048 40.31 40.31V429.48c0 22.263-18.047 40.31-40.31 40.31H148.41c-22.263 0-40.311-18.047-40.311-40.31V147.302c0-22.263 18.048-40.31 40.311-40.31zM147.556 553.478H429.73c22.263 0 40.311 18.048 40.311 40.31v282.176c0 22.263-18.048 40.312-40.31 40.312H147.555c-22.263 0-40.311-18.049-40.311-40.312V593.79c0-22.263 18.048-40.311 40.31-40.311zM593.927 106.992h282.176c22.263 0 40.31 18.048 40.31 40.31V429.48c0 22.263-18.047 40.31-40.31 40.31H593.927c-22.263 0-40.311-18.047-40.311-40.31V147.302c0-22.263 18.048-40.31 40.31-40.31zM730.22 920.502H623.926c-40.925 0-74.22-33.388-74.22-74.425V623.992c0-41.038 33.387-74.424 74.425-74.424h222.085c41.038 0 74.424 33.226 74.424 74.067v114.233c0 10.244-8.304 18.548-18.547 18.548s-18.548-8.304-18.548-18.548V623.635c0-20.388-16.746-36.974-37.33-36.974H624.13c-20.585 0-37.331 16.747-37.331 37.33v222.086c0 20.585 16.654 37.331 37.126 37.331H730.22c10.243 0 18.547 8.304 18.547 18.547 0 10.244-8.304 18.547-18.547 18.547z"}));CategoryIcon.displayName="CategoryIcon";const EyeIcon=()=>h$3(lt,{name:"eye"},()=>h$3("path",{d:"M992 512.096c0-5.76-.992-10.592-1.28-11.136-.192-2.88-1.152-8.064-2.08-10.816-.256-.672-.544-1.376-.832-2.08-.48-1.568-1.024-3.104-1.6-4.32C897.664 290.112 707.104 160 512 160c-195.072 0-385.632 130.016-473.76 322.592-1.056 2.112-1.792 4.096-2.272 5.856a55.512 55.512 0 00-.64 1.6c-1.76 5.088-1.792 8.64-1.632 7.744-.832 3.744-1.568 11.168-1.568 11.168-.224 2.272-.224 4.032.032 6.304 0 0 .736 6.464 1.088 7.808.128 1.824.576 4.512 1.12 6.976h-.032c.448 2.08 1.12 4.096 1.984 6.08.48 1.536.992 2.976 1.472 4.032C126.432 733.856 316.992 864 512 864c195.136 0 385.696-130.048 473.216-321.696 1.376-2.496 2.24-4.832 2.848-6.912.256-.608.48-1.184.672-1.728 1.536-4.48 1.856-8.32 1.728-8.32l-.032.032c.608-3.104 1.568-7.744 1.568-13.28zM512 672c-88.224 0-160-71.776-160-160s71.776-160 160-160 160 71.776 160 160-71.776 160-160 160z"}));EyeIcon.displayName="EyeIcon";const FireIcon=()=>h$3(lt,{name:"fire"},()=>h$3("path",{d:"M726.4 201.6c-12.8-9.6-28.8-6.4-38.4 0-9.6 9.6-16 25.6-9.6 38.4 6.4 12.8 9.6 28.8 12.8 44.8C604.8 83.2 460.8 38.4 454.4 35.2c-9.6-3.2-22.4 0-28.8 6.4-9.6 6.4-12.8 19.2-9.6 28.8 12.8 86.4-25.6 188.8-115.2 310.4-6.4-25.6-16-51.2-32-80-9.6-9.6-22.4-16-35.2-12.8-16 3.2-25.6 12.8-25.6 28.8-3.2 48-25.6 92.8-51.2 140.8C134.4 499.2 112 544 102.4 592c-32 150.4 99.2 329.6 233.6 380.8 9.6 3.2 19.2 6.4 32 9.6-25.6-19.2-41.6-51.2-48-96C294.4 691.2 505.6 640 515.2 460.8c153.6 105.6 224 336 137.6 505.6 3.2 0 6.4-3.2 9.6-3.2 0 0 3.2 0 3.2-3.2 163.2-89.6 252.8-208 259.2-345.6 16-211.2-163.2-390.4-198.4-412.8z"}));FireIcon.displayName="FireIcon";const PrintIcon=()=>h$3(lt,{name:"print"},()=>h$3("path",{d:"M819.2 364.8h-44.8V128c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v236.8h-44.8C145.067 364.8 96 413.867 96 473.6v192c0 59.733 49.067 108.8 108.8 108.8h44.8V896c0 17.067 14.933 32 32 32h460.8c17.067 0 32-14.933 32-32V774.4h44.8c59.733 0 108.8-49.067 108.8-108.8v-192c0-59.733-49.067-108.8-108.8-108.8zM313.6 160h396.8v204.8H313.6V160zm396.8 704H313.6V620.8h396.8V864zM864 665.6c0 25.6-19.2 44.8-44.8 44.8h-44.8V588.8c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v121.6h-44.8c-25.6 0-44.8-19.2-44.8-44.8v-192c0-25.6 19.2-44.8 44.8-44.8h614.4c25.6 0 44.8 19.2 44.8 44.8v192z"}));PrintIcon.displayName="PrintIcon";const TagIcon=()=>h$3(lt,{name:"tag"},()=>h$3("path",{d:"M939.902 458.563L910.17 144.567c-1.507-16.272-14.465-29.13-30.737-30.737L565.438 84.098h-.402c-3.215 0-5.726 1.005-7.634 2.913l-470.39 470.39a10.004 10.004 0 000 14.164l365.423 365.424c1.909 1.908 4.42 2.913 7.132 2.913s5.223-1.005 7.132-2.913l470.39-470.39c2.01-2.11 3.014-5.023 2.813-8.036zm-240.067-72.121c-35.458 0-64.286-28.828-64.286-64.286s28.828-64.285 64.286-64.285 64.286 28.828 64.286 64.285-28.829 64.286-64.286 64.286z"}));TagIcon.displayName="TagIcon";const TimerIcon=()=>h$3(lt,{name:"timer"},()=>h$3("path",{d:"M799.387 122.15c4.402-2.978 7.38-7.897 7.38-13.463v-1.165c0-8.933-7.38-16.312-16.312-16.312H256.33c-8.933 0-16.311 7.38-16.311 16.312v1.165c0 5.825 2.977 10.874 7.637 13.592 4.143 194.44 97.22 354.963 220.201 392.763-122.204 37.542-214.893 196.511-220.2 389.397-4.661 5.049-7.638 11.651-7.638 19.03v5.825h566.49v-5.825c0-7.379-2.849-13.981-7.509-18.9-5.049-193.016-97.867-351.985-220.2-389.527 123.24-37.67 216.446-198.453 220.588-392.892zM531.16 450.445v352.632c117.674 1.553 211.787 40.778 211.787 88.676H304.097c0-48.286 95.149-87.382 213.728-88.676V450.445c-93.077-3.107-167.901-81.297-167.901-177.093 0-8.803 6.99-15.793 15.793-15.793 8.803 0 15.794 6.99 15.794 15.793 0 80.261 63.69 145.635 142.01 145.635s142.011-65.374 142.011-145.635c0-8.803 6.99-15.793 15.794-15.793s15.793 6.99 15.793 15.793c0 95.019-73.789 172.82-165.96 177.093z"}));TimerIcon.displayName="TimerIcon";const WordIcon=()=>h$3(lt,{name:"word"},()=>[h$3("path",{d:"M518.217 432.64V73.143A73.143 73.143 0 01603.43 1.097a512 512 0 01419.474 419.474 73.143 73.143 0 01-72.046 85.212H591.36a73.143 73.143 0 01-73.143-73.143z"}),h$3("path",{d:"M493.714 566.857h340.297a73.143 73.143 0 0173.143 85.577A457.143 457.143 0 11371.566 117.76a73.143 73.143 0 0185.577 73.143v339.383a36.571 36.571 0 0036.571 36.571z"})]);WordIcon.displayName="WordIcon";const useMetaLocale=()=>{const l=useThemeLocaleData();return computed(()=>l.value.metaLocales)},readingTimeLocales={"/en/":{word:"About $word words",less1Minute:"Less than 1 minute",time:"About $time min"},"/":{word:"约 $word 字",less1Minute:"小于 1 分钟",time:"大约 $time 分钟"}},editLinkPatterns={GitHub:":repo/edit/:branch/:path",GitLab:":repo/-/edit/:branch/:path",Gitee:":repo/edit/:branch/:path",Bitbucket:":repo/src/:branch/:path?mode=edit&spa=0&at=:branch&fileviewer=file-view-default"},resolveEditLink=({docsRepo:l,docsBranch:u,docsDir:m,filePathRelative:b,editLinkPattern:$})=>{if(!b)return null;const T=resolveRepoType(l);let j;return $?j=$:T!==null&&(j=editLinkPatterns[T]),j?j.replace(/:repo/,isLinkHttp(l)?l:`https://github.com/${l}`).replace(/:branch/,u).replace(/:path/,removeLeadingSlash(`${removeEndingSlash(m)}/${b}`)):null},useEditLink=()=>{const l=useThemeLocaleData(),u=usePageData(),m=usePageFrontmatter();return computed(()=>{const{repo:b,docsRepo:$=b,docsBranch:T="main",docsDir:j="",editLink:U,editLinkPattern:W=""}=l.value;if(!(m.value.editLink??U??!0)||!$)return null;const Y=resolveEditLink({docsRepo:$,docsBranch:T,docsDir:j,editLinkPattern:W,filePathRelative:u.value.filePathRelative});return Y?{text:l.value.metaLocales.editLink,link:Y}:null})},useUpdateTime=()=>{const l=useSiteLocaleData(),u=useThemeLocaleData(),m=usePageData(),b=usePageFrontmatter();return computed(()=>{var j,U;return!(b.value.lastUpdated??u.value.lastUpdated??!0)||!((j=m.value.git)!=null&&j.updatedTime)?null:new Date((U=m.value.git)==null?void 0:U.updatedTime).toLocaleString(l.value.lang)})},useContributors=()=>{const l=useThemeLocaleData(),u=usePageData(),m=usePageFrontmatter();return computed(()=>{var $;return m.value.contributors??l.value.contributors??!0?(($=u.value.git)==null?void 0:$.contributors)??null:null})},authorInfo="",AuthorInfo=defineComponent({name:"AuthorInfo",inheritAttrs:!1,props:{author:{type:Array,required:!0},pure:Boolean},setup(l){const u=useMetaLocale();return()=>l.author.length?h$3("span",{class:"page-author-info","aria-label":`${u.value.author}${l.pure?"":"🖊"}`,...l.pure?{}:{"data-balloon-pos":"down"}},[h$3(AuthorIcon),h$3("span",l.author.map(m=>m.url?h$3("a",{class:"page-author-item",href:m.url,target:"_blank",rel:"noopener noreferrer"},m.name):h$3("span",{class:"page-author-item"},m.name))),h$3("span",{property:"author",content:l.author.map(m=>m.name).join(", ")})]):null}}),categoryInfo="",CategoryInfo=defineComponent({name:"CategoryInfo",inheritAttrs:!1,props:{category:{type:Array,required:!0},pure:Boolean},setup(l){const u=useRouter(),m=useRoute(),b=useMetaLocale(),$=(T,j="")=>{j&&m.path!==j&&(T.preventDefault(),u.push(j))};return()=>l.category.length?h$3("span",{class:"page-category-info","aria-label":`${b.value.category}${l.pure?"":"🌈"}`,...l.pure?{}:{"data-balloon-pos":"down"}},[h$3(CategoryIcon),...l.category.map(({name:T,path:j})=>h$3("span",{class:["page-category-item",{[`category${jt(T,9)}`]:!l.pure,clickable:j}],role:j?"navigation":"",onClick:U=>$(U,j)},T)),h$3("meta",{property:"articleSection",content:l.category.map(({name:T})=>T).join(",")})]):null}}),DateInfo=defineComponent({name:"DateInfo",inheritAttrs:!1,props:{date:{type:Object,default:null},localizedDate:{type:String,default:""},pure:Boolean},setup(l){const u=usePageLang(),m=useMetaLocale();return()=>{var b,$;return l.date?h$3("span",{class:"page-date-info","aria-label":`${m.value.date}${l.pure?"":"📅"}`,...l.pure?{}:{"data-balloon-pos":"down"}},[h$3(CalendarIcon),h$3("span",h$3(ClientOnly,()=>{var T;return l.localizedDate||((T=l.date.value)==null?void 0:T.toLocaleDateString(u.value))})),h$3("meta",{property:"datePublished",content:(($=(b=l.date)==null?void 0:b.value)==null?void 0:$.toISOString())||""})]):null}}});defineComponent({name:"PageViewInfo",inheritAttrs:!1,props:{pageview:{type:[Boolean,String],default:!1},pure:Boolean},setup(l){const u=useRoute(),m=useMetaLocale(),b=ref(0),$=()=>{const T=document.querySelector(".waline-pageview-count");if(T){const j=T.textContent;j&&!isNaN(Number(j))?b.value=Number(j):setTimeout($,500)}};return onMounted(()=>{setTimeout($,1500)}),watch(()=>u.path,(T,j)=>{T!==j&&setTimeout($,500)}),()=>l.pageview?h$3("span",{class:"page-pageview-info","aria-label":`${m.value.views}${l.pure?"":"🔢"}`,...l.pure?{}:{"data-balloon-pos":"down"}},[h$3(b.value<1e3?EyeIcon:FireIcon),h$3("span",{class:"waline-pageview-count","data-path":isString$1(l.pageview)?l.pageview:withBase(u.path)},"...")]):null}});const ReadingTimeInfo=defineComponent({name:"ReadingTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},pure:Boolean},setup(l){const u=useMetaLocale(),m=Ot(readingTimeLocales),b=computed(()=>{if(!l.readingTime)return null;const{minutes:$}=l.readingTime;return $<1?{text:m.value.less1Minute,time:"PT1M"}:{text:m.value.time.replace("$time",Math.round($).toString()),time:`PT${Math.round($)}M`}});return()=>b.value?h$3("span",{class:"page-reading-time-info","aria-label":`${u.value.readingTime}${l.pure?"":"⌛"}`,...l.pure?{}:{"data-balloon-pos":"down"}},[h$3(TimerIcon),h$3("span",b.value.text),h$3("meta",{property:"timeRequired",content:b.value.time})]):null}}),tagInfo="",TagInfo=defineComponent({name:"TagInfo",inheritAttrs:!1,props:{tag:{type:Array,default:()=>[]},pure:Boolean},setup(l){const u=useRouter(),m=useRoute(),b=useMetaLocale(),$=(T,j="")=>{j&&m.path!==j&&(T.preventDefault(),u.push(j))};return()=>l.tag.length?h$3("span",{class:"page-tag-info","aria-label":`${b.value.tag}${l.pure?"":"🏷"}`,...l.pure?{}:{"data-balloon-pos":"down"}},[h$3(TagIcon),...l.tag.map(({name:T,path:j})=>h$3("span",{class:["page-tag-item",{[`tag${jt(T,9)}`]:!l.pure,clickable:j}],role:j?"navigation":"",onClick:U=>$(U,j)},T)),h$3("meta",{property:"keywords",content:l.tag.map(({name:T})=>T).join(",")})]):null}}),originalInfo="",OriginalInfo=defineComponent({name:"OriginalInfo",inheritAttrs:!1,props:{isOriginal:Boolean},setup(l){const u=useMetaLocale();return()=>l.isOriginal?h$3("span",{class:"page-original-info"},u.value.origin):null}}),WordInfo=defineComponent({name:"ReadTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},pure:Boolean},setup(l){const u=useMetaLocale(),m=Ot(readingTimeLocales),b=computed(()=>{var T;return(T=l.readingTime)==null?void 0:T.words.toString()}),$=computed(()=>m.value.word.replace("$word",b.value||""));return()=>b.value?h$3("span",{class:"page-word-info","aria-label":`${u.value.words}${l.pure?"":"🔠"}`,...l.pure?{}:{"data-balloon-pos":"down"}},[h$3(WordIcon),h$3("span",$.value),h$3("meta",{property:"wordCount",content:b.value})]):null}}),pageInfo="",PageInfo=defineComponent({name:"PageInfo",components:{AuthorInfo,CategoryInfo,DateInfo,OriginalInfo,PageViewInfo:()=>null,ReadingTimeInfo,TagInfo,WordInfo},props:{items:{type:[Array,Boolean],default:()=>["Author","Original","Date","PageView","ReadingTime","Category","Tag"]},info:{type:Object,required:!0}},setup(l){const u=usePure();return()=>l.items?h$3("div",{class:"page-info"},l.items.map(m=>h$3(resolveComponent(`${m}Info`),{...l.info,pure:u.value}))):null}}),pageTitle="",PageTitle=defineComponent({name:"PageTitle",setup(){const l=usePageData(),u=usePageFrontmatter(),m=useThemeLocaleData(),{info:b,items:$}=usePageInfo();return()=>h$3("div",{class:"page-title"},[h$3("h1",[m.value.titleIcon!==!1?h$3(Icon,{icon:u.value.icon}):null,l.value.title]),h$3(PageInfo,{info:b.value,...$.value===null?{}:{items:$.value}}),h$3("hr")])}}),EditIcon=()=>h$3(lt,{name:"edit"},()=>[h$3("path",{d:"M430.818 653.65a60.46 60.46 0 0 1-50.96-93.281l71.69-114.012 7.773-10.365L816.038 80.138A60.46 60.46 0 0 1 859.225 62a60.46 60.46 0 0 1 43.186 18.138l43.186 43.186a60.46 60.46 0 0 1 0 86.373L588.879 565.55l-8.637 8.637-117.466 68.234a60.46 60.46 0 0 1-31.958 11.229z"}),h$3("path",{d:"M728.802 962H252.891A190.883 190.883 0 0 1 62.008 771.98V296.934a190.883 190.883 0 0 1 190.883-192.61h267.754a60.46 60.46 0 0 1 0 120.92H252.891a69.962 69.962 0 0 0-69.098 69.099V771.98a69.962 69.962 0 0 0 69.098 69.098h475.911A69.962 69.962 0 0 0 797.9 771.98V503.363a60.46 60.46 0 1 1 120.922 0V771.98A190.883 190.883 0 0 1 728.802 962z"})]);EditIcon.displayName="EditIcon";const NotFoundIcon=()=>h$3("svg",{xmlns:"http://www.w3.org/2000/svg",class:"not-found-icon",viewBox:"0 0 178 130",innerHTML:'<defs><linearGradient id="b" x1=".5" x2=".5" y2="1" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#e9e9e9"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="c" x1=".5" x2=".5" y2="1" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#dcdcdc"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="d" x1=".5" x2=".5" y2="1" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#f1f1f1"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="e" x1=".5" x2=".5" y2="1" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#dedede"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="f" x1=".5" x2=".5" y2="1" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#e8e8e8"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="g" x1=".213" y1="1.265" x2=".846" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#f5f5f5"/></linearGradient><linearGradient id="h" x1=".5" x2=".5" y2="1" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#c5c5c5"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="i" x1=".5" x2=".5" y2="1" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#acacac"/><stop offset="1" stop-color="#f2f2f2" stop-opacity=".388"/></linearGradient><clipPath id="a"><path transform="translate(744 1111)" fill="none" d="M0 0h178v130H0z"/></clipPath></defs><g transform="translate(-744 -1111)" clip-path="url(#a)"><path d="M0 10.795 36.6 0v93.779L0 104.574z" transform="translate(772.466 1122.142)" fill="url(#b)"/><path d="M-8.492 10.642-26.361-.469v93.78l17.868 11.111z" transform="translate(780.958 1122.293)" fill="url(#c)"/><path d="M-8.5 5.55 28.106-5.3 10.228-16.437l-36.6 10.845z" transform="translate(780.963 1127.438)" fill="url(#d)"/><path d="M0 10.539 35.741 0v91.56L0 102.1z" transform="translate(870.158 1123.617)" fill="url(#d)"/><path d="M-8.913 10.38-26.361-.469v91.562l17.448 10.848z" transform="translate(879.071 1123.775)" fill="url(#e)"/><path d="m-8.918 5.032 35.741-10.59L9.366-16.437-26.375-5.848z" transform="translate(879.076 1129.175)" fill="url(#d)"/><path d="M0 9.137 30.839 0v79.381L0 88.519z" transform="translate(799.678 1151.579)" fill="url(#f)"/><path d="m-11.306 8.936-15.054-9.4v79.377l15.054 9.4z" transform="translate(810.985 1151.78)" fill="url(#c)"/><path d="M-11.313 2.087 19.526-7.05 4.464-16.437-26.375-7.3z" transform="translate(810.991 1158.63)" fill="url(#g)"/><path d="M178 53H0a51.361 51.361 0 0 1 10.453-20.952 74.532 74.532 0 0 1 19.742-16.811A103.3 103.3 0 0 1 57.089 4.058a127.515 127.515 0 0 1 63.823 0 103.3 103.3 0 0 1 26.894 11.179 74.532 74.532 0 0 1 19.741 16.811A51.363 51.363 0 0 1 178 53z" transform="translate(744 1187.549)" fill="url(#h)"/><path d="m814.529 1199.586-1.272 1.212h2.3l1.2-1.212zM816.725 1194.909l-1.272 1.212h2.3l1.263-1.212zM863.284 1199.585l-1.272 1.212h2.3l1.2-1.212zM865.519 1194.9l-1.272 1.212h2.3l1.263-1.212z" fill="#cbcbcb"/><path d="m799.527 1191.21 10.182-21.97h4.381l-9.931 21.719h14.876v3.941h-19.508zm13.081-9.493h4.152v17.859h-4.152zm20.728 18.151q-4.256 0-6.457-2.274a8.74 8.74 0 0 1-2.2-6.343v-13.791a8.708 8.708 0 0 1 2.21-6.353q2.212-2.264 6.447-2.264 4.256 0 6.457 2.253a8.726 8.726 0 0 1 2.2 6.363v13.792a8.708 8.708 0 0 1-2.21 6.349q-2.211 2.268-6.447 2.268zm0-4.048a4.29 4.29 0 0 0 3.328-1.178 4.862 4.862 0 0 0 1.074-3.39v-13.792a4.893 4.893 0 0 0-1.064-3.39 4.285 4.285 0 0 0-3.338-1.179 4.285 4.285 0 0 0-3.338 1.179 4.893 4.893 0 0 0-1.064 3.39v13.791a4.862 4.862 0 0 0 1.075 3.391 4.29 4.29 0 0 0 3.327 1.178zm14.928-4.61 10.181-21.97h4.381l-9.931 21.719h14.876v3.941h-19.507zm13.081-9.493h4.152v17.859h-4.152z" fill="#c6c6c6"/><path d="m798.306 1192.431 10.182-21.97h4.381l-9.931 21.719h14.876v3.941h-19.508zm13.081-9.493h4.152v17.859h-4.152zm20.728 18.151q-4.256 0-6.457-2.274a8.74 8.74 0 0 1-2.2-6.343v-13.791a8.708 8.708 0 0 1 2.21-6.353q2.212-2.264 6.447-2.264 4.256 0 6.457 2.253a8.726 8.726 0 0 1 2.2 6.363v13.792a8.708 8.708 0 0 1-2.21 6.349q-2.211 2.268-6.447 2.268zm0-4.048a4.29 4.29 0 0 0 3.328-1.178 4.862 4.862 0 0 0 1.074-3.39v-13.792a4.893 4.893 0 0 0-1.064-3.39 4.285 4.285 0 0 0-3.338-1.179 4.285 4.285 0 0 0-3.338 1.179 4.893 4.893 0 0 0-1.064 3.39v13.791a4.862 4.862 0 0 0 1.075 3.391 4.29 4.29 0 0 0 3.327 1.178zm14.928-4.61 10.181-21.97h4.381l-9.931 21.719h14.876v3.941h-19.507zm13.081-9.493h4.152v17.859h-4.152z" fill="#b2b2b2"/><path d="m-27.694-19.435 10.182 14.517h4.381l-9.931-14.352h14.876v-2.606h-19.508zm13.081 6.273h4.152v-11.8h-4.152zM6.115-25.156q-4.256 0-6.457 1.5a4.8 4.8 0 0 0-2.2 4.191v9.113a4.784 4.784 0 0 0 2.212 4.2 11.511 11.511 0 0 0 6.447 1.5q4.256 0 6.457-1.489a4.786 4.786 0 0 0 2.2-4.2v-9.113a4.784 4.784 0 0 0-2.212-4.2 11.511 11.511 0 0 0-6.447-1.502zm0 2.675a5.705 5.705 0 0 1 3.328.779 2.6 2.6 0 0 1 1.074 2.24v9.113a2.607 2.607 0 0 1-1.064 2.24 5.7 5.7 0 0 1-3.338.779 5.7 5.7 0 0 1-3.338-.779 2.607 2.607 0 0 1-1.064-2.24v-9.113A2.6 2.6 0 0 1 2.788-21.7a5.705 5.705 0 0 1 3.327-.782zm14.927 3.047L31.224-4.918h4.381l-9.931-14.351H40.55v-2.606H21.043zm13.081 6.273h4.152v-11.8h-4.151z" transform="translate(826 1226.245)" opacity=".32" fill="url(#i)"/><g fill="#e6e6e6"><path d="m858.428 1169.23-1.2 1.259h4.388l1.178-1.259zM802.944 1192.187l1.288-1.375h7.143v1.375zm8.415-9.25 1.273-1.234h4.15l-1.235 1.234zm-2.855-12.469 1.198-1.259h4.367l-1.178 1.259zM861.362 1181.678l-1.27 1.3h4.188l1.236-1.3zM865.519 1190.9l-1.27 1.3h2.3l1.162-1.3zM852.838 1190.791l-1.207 1.508h8.447v-1.508z"/></g></g>'}),pageMeta="",PageMeta=defineComponent({name:"PageMeta",setup(){const l=useThemeLocaleData(),u=useEditLink(),m=useUpdateTime(),b=useContributors();return()=>{const{metaLocales:$}=l.value;return h$3("footer",{class:"page-meta"},[u.value?h$3("div",{class:"meta-item edit-link"},h$3(AutoLink,{class:"label",config:u.value},{before:()=>h$3(EditIcon)})):null,h$3("div",{class:"meta-item git-info"},[m.value?h$3("div",{class:"update-time"},[h$3("span",{class:"label"},`${$.lastUpdated}: `),h$3(ClientOnly,()=>h$3("span",{class:"info"},m.value))]):null,b.value&&b.value.length?h$3("div",{class:"contributors"},[h$3("span",{class:"label"},`${$.contributors}: `),b.value.map(({email:T,name:j},U)=>[h$3("span",{class:"contributor",title:`email: ${T}`},j),U!==b.value.length-1?",":""])]):null])])}}}),toc="",renderHeader=({title:l,level:u,slug:m})=>h$3(RouterLink,{to:`#${m}`,class:["toc-link",`level${u}`]},()=>l),renderChildren=(l,u)=>{const m=useRoute();return l.length&&u>0?h$3("ul",{class:"toc-list"},l.map(b=>[h$3("li",{class:["toc-item",{active:At(m,`#${b.slug}`)}]},renderHeader(b)),renderChildren(b.children,u-1)])):null},TOC=defineComponent({name:"TOC",props:{items:{type:Array,default:()=>[]},headerDepth:{type:Number,default:2}},setup(l){const u=useRoute(),m=usePageData(),b=useMetaLocale(),$=useThemeData(),T=ref(),j=U=>{var W;(W=T.value)==null||W.scrollTo({top:U,behavior:"smooth"})};return onMounted(()=>{watch(()=>u.hash,U=>{if(T.value){const W=document.querySelector(`#toc a.toc-link[href$="${U}"]`);if(!W)return;const{top:G,height:Y}=T.value.getBoundingClientRect(),{top:K,height:ee}=W.getBoundingClientRect();K<G?j(T.value.scrollTop+K-G):K+ee>G+Y&&j(T.value.scrollTop+K+ee-G-Y)}}),window.addEventListener("beforeprint",U=>{console.log(U)})}),()=>{const U=l.items.length?renderChildren(l.items,l.headerDepth):m.value.headers?renderChildren(m.value.headers,l.headerDepth):null;return U?h$3("div",{class:"toc-place-holder"},[h$3("aside",{id:"toc"},[h$3("div",{class:"toc-header"},[b.value.toc,$.value.print?h$3("button",{class:"print-button",title:"print",onClick:()=>{window.print()}},h$3(PrintIcon)):null]),h$3("div",{class:"toc-wrapper",ref:T},[U])])]):null}}}),page="",NormalPage=defineComponent({name:"NormalPage",setup(l,{slots:u}){const m=usePageFrontmatter(),{isDarkMode:b}=useDarkMode(),$=useThemeLocaleData(),T=computed(()=>m.value.toc||m.value.toc!==!1&&$.value.toc!==!1);return()=>h$3("main",{class:"page",id:"main-content"},h$3(xt("LocalEncrypt")?resolveComponent("LocalEncrypt"):Mt,()=>{var j,U,W,G;return[(j=u.top)==null?void 0:j.call(u),h$3(BreadCrumb),h$3(PageTitle),T.value?h$3(TOC,{headerDepth:m.value.headerDepth??$.value.headerDepth??2}):null,(U=u.contentBefore)==null?void 0:U.call(u),h$3(MarkdownContent),(W=u.contentAfter)==null?void 0:W.call(u),h$3(PageMeta),h$3(PageNav),xt("CommentService")?h$3(resolveComponent("CommentService"),{darkmode:b.value}):null,(G=u.bottom)==null?void 0:G.call(u)]}))}}),fadeSlideY="",FadeSlideY=defineComponent({name:"FadeSlideY",setup(l,{slots:u}){const m=useScrollPromise(),b=m.resolve,$=m.pending;return()=>h$3(Transition,{name:"fade-slide-y",mode:"out-in",onBeforeEnter:b,onBeforeLeave:$},()=>{var T;return(T=u.default)==null?void 0:T.call(u)})}}),skipLink="",SkipLink=defineComponent({name:"SkipLink",props:{content:{type:String,default:"main-content"}},setup(l){const u=useRoute(),m=useThemeLocaleData(),b=ref(),$=({target:T})=>{const j=document.querySelector(T.hash);if(j){const U=()=>{j.removeAttribute("tabindex"),j.removeEventListener("blur",U)};j.setAttribute("tabindex","-1"),j.addEventListener("blur",U),j.focus(),window.scrollTo(0,0)}};return onMounted(()=>{watch(()=>u.path,()=>b.value.focus())}),()=>[h$3("span",{ref:b,tabindex:"-1"}),h$3("a",{href:`#${l.content}`,class:"skip-link sr-only",onClick:$},m.value.routeLocales.skipToContent)]}}),Layout=defineComponent({name:"Layout",setup(){const l=useThemeData(),u=useThemeLocaleData(),m=usePageData(),b=usePageFrontmatter();return useMobile(),computed(()=>u.value.blog.sidebarDisplay||l.value.blog.sidebarDisplay||"mobile"),()=>[h$3(SkipLink),h$3(CommonWrapper,{},{default:()=>b.value.home?h$3(HomePage):h$3(FadeSlideY,()=>h$3(NormalPage,{key:m.value.path}))})]}}),notFound="",NotFound=defineComponent({name:"NotFound",setup(){const l=useRouteLocale(),u=useThemeLocaleData(),m=()=>{const $=u.value.routeLocales.notFoundMsg;return $[Math.floor(Math.random()*$.length)]},{navigate:b}=useLink({to:u.value.home??l.value});return()=>[h$3(SkipLink),h$3(CommonWrapper,{noSidebar:!0},()=>h$3("main",{class:"page not-found",id:"main-content"},[h$3(NotFoundIcon),h$3("blockquote",m()),h$3("button",{class:"action-button",onClick:()=>{window.history.go(-1)}},u.value.routeLocales.back),h$3("button",{class:"action-button",onClick:()=>b()},u.value.routeLocales.home)]))]}}),index="",slidePage="",d=()=>h$3(lt,{name:"back"},()=>h$3("path",{d:"M1014.749 449.156v125.688H260.626l345.64 345.64-89.239 89.237L19.307 512l497.72-497.721 89.238 89.238-345.64 345.64h754.124z"})),h=()=>h$3(lt,{name:"home"},()=>h$3("path",{d:"M780.106 420.978L506.994 147.866 233.882 420.978h.045v455.11H780.06v-455.11h.046zm90.977 90.976V876.09a91.022 91.022 0 01-91.023 91.022H233.927a91.022 91.022 0 01-91.022-91.022V511.954l-67.22 67.175-64.307-64.307 431.309-431.31c35.498-35.498 93.115-35.498 128.614 0l431.309 431.31-64.307 64.307L871.083 512z"}));var f=defineComponent({name:"SlidePage",setup(){const l=useRouter(),u=ref(!1),m=ref(),b=()=>{u.value=!u.value},$=()=>{u.value=!1},T=()=>{$(),window.history.go(-1)},j=()=>{$(),l.push("/")};return onClickOutside(m,$),()=>h$3("div",{class:"presentation"},[h$3(Content),h$3("div",{ref:m,class:["menu",{active:u.value}]},[h$3("button",{class:"menu-button",onClick:()=>b()},h$3("span",{class:"icon"})),h$3("button",{class:"back-button",onClick:()=>T()},h$3(d)),h$3("button",{class:"home-button",onClick:()=>j()},h$3(h))])])}});const clientConfig10=defineClientConfig({enhance:({app:l,router:u})=>{const{scrollBehavior:m}=u.options;u.options.scrollBehavior=async(...b)=>(await useScrollPromise().wait(),m(...b)),injectDarkMode(l)},setup:()=>{setupDarkMode(),setupSidebarItems()},layouts:{Layout,NotFound,Slide:f}}),clientConfigs=[clientConfig0,clientConfig1,clientConfig2,a$2,clientConfig4,clientConfig5,clientConfig6,D$1,clientConfig8,y,clientConfig10],pagesRoutes=[["v-8daa1a0e","/",{y:"h",title:"首页",i:"home"},["/index.html","/README.md"]],["v-590a42d9","/project.html",{y:"a",title:"项目说明"},["/project","/project.md"]],["v-96f5eae0","/quick-start.html",{y:"a",title:"快速开始"},["/quick-start","/quick-start.md"]],["v-4f87b30d","/FAQ/Gacha-system-and-export-principal.html",{y:"a",title:"祈愿系统与导出原理"},["/FAQ/Gacha-system-and-export-principal","/FAQ/Gacha-system-and-export-principal.md"]],["v-5b94d45f","/FAQ/HttpRequestException.html",{y:"a",title:"HttpRequestException错误"},["/FAQ/HttpRequestException","/FAQ/HttpRequestException.md"]],["v-0288c929","/FAQ/artifact-rating-rules.html",{y:"a",title:"圣遗物评分机制"},["/FAQ/artifact-rating-rules","/FAQ/artifact-rating-rules.md"]],["v-401b4afa","/FAQ/mihoyo-risk-tip.html",{y:"a",title:"账号风险及异常提示"},["/FAQ/mihoyo-risk-tip","/FAQ/mihoyo-risk-tip.md"]],["v-3de90bb3","/FAQ/most-frequent-questions.html",{y:"a",title:"快速解答"},["/FAQ/most-frequent-questions","/FAQ/most-frequent-questions.md"]],["v-2d0a870d","/en/",{y:"h",title:"首页",i:"home"},["/en/index.html","/en/README.md"]],["v-586858ed","/en/project.html",{y:"a",title:"项目说明"},["/en/project","/en/project.md"]],["v-0c01f6a4","/en/quick-start.html",{y:"a",title:"快速开始"},["/en/quick-start","/en/quick-start.md"]],["v-35380e8e","/features/",{y:"a",title:"功能列表"},["/features/index.html","/features/README.md"]],["v-73139ec8","/features/achievements.html",{y:"a",title:"成就管理"},["/features/achievements","/features/achievements.md"]],["v-1c93fc72","/features/character-data.html",{y:"a",title:"属性统计"},["/features/character-data","/features/character-data.md"]],["v-e37f5fa8","/features/character-wiki.html",{y:"a",title:"角色资料"},["/features/character-wiki","/features/character-wiki.md"]],["v-646944b6","/features/daily-notes.html",{y:"a",title:"实时便笺"},["/features/daily-notes","/features/daily-notes.md"]],["v-1ae10847","/features/develop-plan.html",{y:"a",title:"养成计划"},["/features/develop-plan","/features/develop-plan.md"]],["v-923d01d2","/features/game-launcher.html",{y:"a",title:"高级启动器"},["/features/game-launcher","/features/game-launcher.md"]],["v-6de46920","/features/hutao-API.html",{y:"a",title:"胡桃数据库"},["/features/hutao-API","/features/hutao-API.md"]],["v-0c385e36","/features/hutao-settings.html",{y:"a",title:"软件设置"},["/features/hutao-settings","/features/hutao-settings.md"]],["v-3e40bb9d","/features/mhy-account-switch.html",{y:"a",title:"米游社多帐号切换"},["/features/mhy-account-switch","/features/mhy-account-switch.md"]],["v-7070f771","/features/weapon-wiki.html",{y:"a",title:"武器资料"},["/features/weapon-wiki","/features/weapon-wiki.md"]],["v-f4f67790","/features/wish-export.html",{y:"a",title:"祈愿记录"},["/features/wish-export","/features/wish-export.md"]],["v-39f4c4da","/statements/bug-report.html",{y:"a",title:"提交BUG报告"},["/statements/bug-report","/statements/bug-report.md"]],["v-70a2c93e","/statements/privacy-statement.html",{y:"a",title:"用户使用协议和法律声明"},["/statements/privacy-statement","/statements/privacy-statement.md"]],["v-39caee21","/en/FAQ/Gacha-system-and-export-principal.html",{y:"a",title:"祈愿系统与导出原理"},["/en/FAQ/Gacha-system-and-export-principal","/en/FAQ/Gacha-system-and-export-principal.md"]],["v-03534fc7","/en/FAQ/most-frequent-questions.html",{y:"a",title:"快速解答"},["/en/FAQ/most-frequent-questions","/en/FAQ/most-frequent-questions.md"]],["v-699a13b0","/en/features/achievements.html",{y:"a",title:"成就管理"},["/en/features/achievements","/en/features/achievements.md"]],["v-b8e3a2b8","/en/features/wish-export.html",{y:"a",title:"原神祈愿记录导出"},["/en/features/wish-export","/en/features/wish-export.md"]],["v-45ceb024","/en/statements/bug-report.html",{y:"a",title:"提交BUG报告"},["/en/statements/bug-report","/en/statements/bug-report.md"]],["v-3706649a","/404.html",{y:"p",title:""},["/404"]],["v-74379e72","/FAQ/",{y:"p",title:"F A Q"},["/FAQ/index.html"]],["v-b573819c","/statements/",{y:"p",title:"Statements"},["/statements/index.html"]],["v-07470886","/en/FAQ/",{y:"p",title:"F A Q"},["/en/FAQ/index.html"]],["v-30f089b6","/en/features/",{y:"p",title:"Features"},["/en/features/index.html"]],["v-a4f9d2c4","/en/statements/",{y:"p",title:"Statements"},["/en/statements/index.html"]]];var Vuepress=defineComponent({name:"Vuepress",setup(){const l=usePageLayout();return()=>h$3(l.value)}}),createRoutes=()=>pagesRoutes.reduce((l,[u,m,b,$])=>(l.push({name:u,path:m,component:Vuepress,meta:b},...$.map(T=>({path:T,redirect:m}))),l),[{name:"404",path:"/:catchAll(.*)",component:Vuepress}]),historyCreator=createWebHistory,createVueRouter=()=>{const l=createRouter({history:historyCreator(removeEndingSlash("/")),routes:createRoutes(),scrollBehavior:(u,m,b)=>b||(u.hash?{el:u.hash}:{top:0})});return l.beforeResolve(async(u,m)=>{var b;(u.path!==m.path||m===START_LOCATION_NORMALIZED)&&([pageData.value]=await Promise.all([resolvers.resolvePageData(u.name),(b=pagesComponents[u.name])==null?void 0:b.__asyncLoader()]))}),l},setupGlobalComponents=l=>{l.component("ClientOnly",ClientOnly),l.component("Content",Content)},setupGlobalComputed=(l,u,m)=>{const b=computed(()=>resolvers.resolveLayouts(m)),$=computed(()=>resolvers.resolveRouteLocale(siteData.value.locales,u.currentRoute.value.path)),T=computed(()=>resolvers.resolveSiteLocaleData(siteData.value,$.value)),j=computed(()=>resolvers.resolvePageFrontmatter(pageData.value)),U=computed(()=>resolvers.resolvePageHeadTitle(pageData.value,T.value)),W=computed(()=>resolvers.resolvePageHead(U.value,j.value,T.value)),G=computed(()=>resolvers.resolvePageLang(pageData.value)),Y=computed(()=>resolvers.resolvePageLayout(pageData.value,b.value));return l.provide(layoutsSymbol,b),l.provide(pageFrontmatterSymbol,j),l.provide(pageHeadTitleSymbol,U),l.provide(pageHeadSymbol,W),l.provide(pageLangSymbol,G),l.provide(pageLayoutSymbol,Y),l.provide(routeLocaleSymbol,$),l.provide(siteLocaleDataSymbol,T),Object.defineProperties(l.config.globalProperties,{$frontmatter:{get:()=>j.value},$head:{get:()=>W.value},$headTitle:{get:()=>U.value},$lang:{get:()=>G.value},$page:{get:()=>pageData.value},$routeLocale:{get:()=>$.value},$site:{get:()=>siteData.value},$siteLocale:{get:()=>T.value},$withBase:{get:()=>withBase}}),{layouts:b,pageData,pageFrontmatter:j,pageHead:W,pageHeadTitle:U,pageLang:G,pageLayout:Y,routeLocale:$,siteData,siteLocaleData:T}},setupUpdateHead=()=>{const l=useRoute(),u=usePageHead(),m=usePageLang(),b=ref([]),$=()=>{u.value.forEach(j=>{const U=queryHeadTag(j);U&&b.value.push(U)})},T=()=>{document.documentElement.lang=m.value,b.value.forEach(j=>{j.parentNode===document.head&&document.head.removeChild(j)}),b.value.splice(0,b.value.length),u.value.forEach(j=>{const U=createHeadTag(j);U!==null&&(document.head.appendChild(U),b.value.push(U))})};provide(updateHeadSymbol,T),onMounted(()=>{$(),T(),watch(()=>l.path,()=>T())})},queryHeadTag=([l,u,m=""])=>{const b=Object.entries(u).map(([U,W])=>isString$1(W)?`[${U}=${JSON.stringify(W)}]`:W===!0?`[${U}]`:"").join(""),$=`head > ${l}${b}`;return Array.from(document.querySelectorAll($)).find(U=>U.innerText===m)||null},createHeadTag=([l,u,m])=>{if(!isString$1(l))return null;const b=document.createElement(l);return isPlainObject(u)&&Object.entries(u).forEach(([$,T])=>{isString$1(T)?b.setAttribute($,T):T===!0&&b.setAttribute($,"")}),isString$1(m)&&b.appendChild(document.createTextNode(m)),b},appCreator=createSSRApp,createVueApp=async()=>{var m;const l=appCreator({name:"VuepressApp",setup(){var b;setupUpdateHead();for(const $ of clientConfigs)(b=$.setup)==null||b.call($);return()=>[h$3(RouterView),...clientConfigs.flatMap(({rootComponents:$=[]})=>$.map(T=>h$3(T)))]}}),u=createVueRouter();setupGlobalComponents(l),setupGlobalComputed(l,u,clientConfigs);for(const b of clientConfigs)await((m=b.enhance)==null?void 0:m.call(b,{app:l,router:u,siteData}));return l.use(u),{app:l,router:u}};createVueApp().then(({app:l,router:u})=>{u.isReady().then(()=>{l.mount("#app")})});export{Ot as O,__vitePreload as _,createVueApp,lt as l,st as s,useSiteData as u};