update docs

This commit is contained in:
Harvey Zack committed 2024-01-10 09:20:13 +08:00
1 parent 434aa3d57d
commit 0dee1ef446
187 files changed
+2011 -1934

No files matched your search

@@ -1,2 +0,0 @@
function hi(e,t){const n=Object.create(null),i=e.split(",");for(let o=0;o<i.length;o++)n[i[o]]=!0;return t?o=>!!n[o.toLowerCase()]:o=>!!n[o]}const te={},ht=[],Me=()=>{},fr=()=>!1,ur=/^on[^a-z]/,qt=e=>ur.test(e),gi=e=>e.startsWith("onUpdate:"),re=Object.assign,xi=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},pr=Object.prototype.hasOwnProperty,X=(e,t)=>pr.call(e,t),B=Array.isArray,gt=e=>En(e)==="[object Map]",Bs=e=>En(e)==="[object Set]",q=e=>typeof e=="function",ne=e=>typeof e=="string",Cn=e=>typeof e=="symbol",ee=e=>e!==null&&typeof e=="object",Us=e=>(ee(e)||q(e))&&q(e.then)&&q(e.catch),Ks=Object.prototype.toString,En=e=>Ks.call(e),dr=e=>En(e).slice(8,-1),Ws=e=>En(e)==="[object Object]",yi=e=>ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Mt=hi(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Tn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},mr=/-(\w)/g,Ie=Tn(e=>e.replace(mr,(t,n)=>n?n.toUpperCase():"")),hr=/\B([A-Z])/g,ft=Tn(e=>e.replace(hr,"-$1").toLowerCase()),An=Tn(e=>e.charAt(0).toUpperCase()+e.slice(1)),cn=Tn(e=>e?`on${An(e)}`:""),ct=(e,t)=>!Object.is(e,t),fn=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},dn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Gn=e=>{const t=parseFloat(e);return isNaN(t)?e:t},gr=e=>{const t=ne(e)?Number(e):NaN;return isNaN(t)?e:t};let Wi;const ei=()=>Wi||(Wi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function vi(e){if(B(e)){const t={};for(let n=0;n<e.length;n++){const i=e[n],o=ne(i)?br(i):vi(i);if(o)for(const s in o)t[s]=o[s]}return t}else if(ne(e)||ee(e))return e}const xr=/;(?![^(]*\))/g,yr=/:([^]+)/,vr=/\/\*[^]*?\*\//g;function br(e){const t={};return e.replace(vr,"").split(xr).forEach(n=>{if(n){const i=n.split(yr);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function bi(e){let t="";if(ne(e))t=e;else if(B(e))for(let n=0;n<e.length;n++){const i=bi(e[n]);i&&(t+=i+" ")}else if(ee(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const _r="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",wr=hi(_r);function qs(e){return!!e||e===""}const Mc=e=>ne(e)?e:e==null?"":B(e)||ee(e)&&(e.toString===Ks||!q(e.toString))?JSON.stringify(e,Vs,2):String(e),Vs=(e,t)=>t&&t.__v_isRef?Vs(e,t.value):gt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[i,o])=>(n[`${i} =>`]=o,n),{})}:Bs(t)?{[`Set(${t.size})`]:[...t.values()]}:ee(t)&&!B(t)&&!Ws(t)?String(t):t;let ve;class Cr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ve,!t&&ve&&(this.index=(ve.scopes||(ve.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=ve;try{return ve=this,t()}finally{ve=n}}}on(){ve=this}off(){ve=this.parent}stop(t){if(this._active){let n,i;for(n=0,i=this.effects.length;n<i;n++)this.effects[n].stop();for(n=0,i=this.cleanups.length;n<i;n++)this.cleanups[n]();if(this.scopes)for(n=0,i=this.scopes.length;n<i;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function Er(e,t=ve){t&&t.active&&t.effects.push(e)}function zs(){return ve}function Tr(e){ve&&ve.cleanups.push(e)}const _i=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Ys=e=>(e.w&Je)>0,Js=e=>(e.n&Je)>0,Ar=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Je},jr=e=>{const{deps:t}=e;if(t.length){let n=0;for(let i=0;i<t.length;i++){const o=t[i];Ys(o)&&!Js(o)?o.delete(e):t[n++]=o,o.w&=~Je,o.n&=~Je}t.length=n}},mn=new WeakMap;let Pt=0,Je=1;const ti=30;let je;const ot=Symbol(""),ni=Symbol("");class wi{constructor(t,n=null,i){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Er(this,i)}run(){if(!this.active)return this.fn();let t=je,n=Ve;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=je,je=this,Ve=!0,Je=1<<++Pt,Pt<=ti?Ar(this):qi(this),this.fn()}finally{Pt<=ti&&jr(this),Je=1<<--Pt,je=this.parent,Ve=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){je===this?this.deferStop=!0:this.active&&(qi(this),this.onStop&&this.onStop(),this.active=!1)}}function qi(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Ve=!0;const Xs=[];function Tt(){Xs.push(Ve),Ve=!1}function At(){const e=Xs.pop();Ve=e===void 0?!0:e}function xe(e,t,n){if(Ve&&je){let i=mn.get(e);i||mn.set(e,i=new Map);let o=i.get(n);o||i.set(n,o=_i()),Qs(o)}}function Qs(e,t){let n=!1;Pt<=ti?Js(e)||(e.n|=Je,n=!Ys(e)):n=!e.has(je),n&&(e.add(je),je.deps.push(e))}function He(e,t,n,i,o,s){const r=mn.get(e);if(!r)return;let l=[];if(t==="clear")l=[...r.values()];else if(n==="length"&&B(e)){const a=Number(i);r.forEach((c,p)=>{(p==="length"||!Cn(p)&&p>=a)&&l.push(c)})}else switch(n!==void 0&&l.push(r.get(n)),t){case"add":B(e)?yi(n)&&l.push(r.get("length")):(l.push(r.get(ot)),gt(e)&&l.Line truncated
`),l=l.slice(0,-1),r&&(l=l.replace(/^ *(\$|>) /gm,"").trim()),jc(l).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const a=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,a)})}})}}async function jc(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const i=document.getSelection(),o=i?i.rangeCount>0&&i.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),o&&(i.removeAllRanges(),i.addRange(o)),n&&n.focus()}}function uf(e,t){let n=[],i=!0;const o=s=>{if(i){i=!1;return}const r=s.map(Ds);n.forEach((l,a)=>{const c=r.findIndex(p=>p==null?void 0:p.isEqualNode(l??null));c!==-1?delete r[c]:(l==null||l.remove(),delete n[a])}),r.forEach(l=>l&&document.head.appendChild(l)),n=[...n,...r].filter(Boolean)};xo(()=>{const s=e.data,r=t.value,l=s&&s.description,a=s&&s.frontmatter.head||[],c=ir(r,s);c!==document.title&&(document.title=c);const p=l||r.description;let d=document.querySelector("meta[name=description]");d?d.getAttribute("content")!==p&&d.setAttribute("content",p):Ds(["meta",{name:"description",content:p}]),o(sr(r.head,Oc(a)))})}function Ds([e,t,n]){const i=document.createElement(e);for(const o in t)i.setAttribute(o,t[o]);return n&&(i.innerHTML=n),e==="script"&&!t.async&&(i.async=!1),i}function Sc(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function Oc(e){return e.filter(t=>!Sc(t))}const Zn=new Set,lr=()=>document.createElement("link"),Rc=e=>{const t=lr();t.rel="prefetch",t.href=e,document.head.appendChild(t)},Pc=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let an;const Fc=Ce&&(an=lr())&&an.relList&&an.relList.supports&&an.relList.supports("prefetch")?Rc:Pc;function pf(){if(!Ce||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const i=()=>{n&&n.disconnect(),n=new IntersectionObserver(s=>{s.forEach(r=>{if(r.isIntersecting){const l=r.target;n.unobserve(l);const{pathname:a}=l;if(!Zn.has(a)){Zn.add(a);const c=Cc(a);c&&Fc(c)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(s=>{const{hostname:r,pathname:l}=new URL(s.href instanceof SVGAnimatedString?s.href.animVal:s.href,s.baseURI),a=l.match(/\.\w+$/);a&&a[0]!==".html"||s.target!=="_blank"&&r===location.hostname&&(l!==location.pathname?n.observe(s):Zn.add(l))})})};jt(i);const o=rr();Ye(()=>o.path,i),Nn(()=>{n&&n.disconnect()})}export{tf as $,Nn as A,Hc as B,Tl as C,kc as D,Dc as E,he as F,oo as G,of as H,ue as I,Nc as J,er as K,rr as L,ta as M,bt as N,vi as O,Pn as P,nf as Q,Vc as R,On as S,Wo as T,ef as U,$c as V,Yc as W,Xc as X,Jc as Y,Wc as Z,Gc as _,Do as a,$l as a0,Qc as a1,Uc as a2,Kc as a3,uf as a4,Ec as a5,sf as a6,yc as a7,lf as a8,af as a9,at as aa,Zc as ab,rf as ac,Cc as ad,pf as ae,ff as af,cf as ag,pi as ah,No as b,qc as c,wo as d,zc as e,Ls as f,oe as g,ge as h,pc as i,jt as j,$o as k,_c as l,lo as m,bi as n,Lo as o,Ic as p,Lc as q,Bc as r,uc as s,Mc as t,vc as u,Ce as v,fl as w,Ga as x,Ye as y,xo as z};
@@ -0,0 +1 @@
import{u as qi}from"./theme.FsA9FYvx.js";function ls(e,t){const n=new Set(e.split(","));return t?s=>n.has(s.toLowerCase()):s=>n.has(s)}const ee={},ut=[],xe=()=>{},Gi=()=>!1,Nt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),cs=e=>e.startsWith("onUpdate:"),ie=Object.assign,fs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},zi=Object.prototype.hasOwnProperty,Y=(e,t)=>zi.call(e,t),U=Array.isArray,dt=e=>gn(e)==="[object Map]",Pr=e=>gn(e)==="[object Set]",K=e=>typeof e=="function",ne=e=>typeof e=="string",bt=e=>typeof e=="symbol",Z=e=>e!==null&&typeof e=="object",Ir=e=>(Z(e)||K(e))&&K(e.then)&&K(e.catch),Mr=Object.prototype.toString,gn=e=>Mr.call(e),Yi=e=>gn(e).slice(8,-1),Lr=e=>gn(e)==="[object Object]",as=e=>ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Et=ls(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),mn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Xi=/-(\w)/g,Le=mn(e=>e.replace(Xi,(t,n)=>n?n.toUpperCase():"")),Ji=/\B([A-Z])/g,it=mn(e=>e.replace(Ji,"-$1").toLowerCase()),_n=mn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Xt=mn(e=>e?`on${_n(e)}`:""),Ge=(e,t)=>!Object.is(e,t),Jt=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},tn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},qn=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Zi=e=>{const t=ne(e)?Number(e):NaN;return isNaN(t)?e:t};let Fs;const Or=()=>Fs||(Fs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function us(e){if(U(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],i=ne(s)?no(s):us(s);if(i)for(const r in i)t[r]=i[r]}return t}else if(ne(e)||Z(e))return e}const Qi=/;(?![^(]*\))/g,eo=/:([^]+)/,to=/\/\*[^]*?\*\//g;function no(e){const t={};return e.replace(to,"").split(Qi).forEach(n=>{if(n){const s=n.split(eo);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function ds(e){let t="";if(ne(e))t=e;else if(U(e))for(let n=0;n<e.length;n++){const s=ds(e[n]);s&&(t+=s+" ")}else if(Z(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const so="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ro=ls(so);function Fr(e){return!!e||e===""}const nf=e=>ne(e)?e:e==null?"":U(e)||Z(e)&&(e.toString===Mr||!K(e.toString))?JSON.stringify(e,Nr,2):String(e),Nr=(e,t)=>t&&t.__v_isRef?Nr(e,t.value):dt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,i],r)=>(n[Fn(s,r)+" =>"]=i,n),{})}:Pr(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Fn(n))}:bt(t)?Fn(t):Z(t)&&!U(t)&&!Lr(t)?String(t):t,Fn=(e,t="")=>{var n;return bt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let _e;class io{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=_e,!t&&_e&&(this.index=(_e.scopes||(_e.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=_e;try{return _e=this,t()}finally{_e=n}}}on(){_e=this}off(){_e=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this._active=!1}}}function oo(e,t=_e){t&&t.active&&t.effects.push(e)}function lo(){return _e}function sf(e){_e&&_e.cleanups.push(e)}let nt;class hs{constructor(t,n,s,i){this.fn=t,this.trigger=n,this.scheduler=s,this.active=!0,this.deps=[],this._dirtyLevel=3,this._trackId=0,this._runnings=0,this._queryings=0,this._depsLength=0,oo(this,i)}get dirty(){if(this._dirtyLevel===1){this._dirtyLevel=0,this._queryings++,ot();for(const t of this.deps)if(t.computed&&(co(t.computed),this._dirtyLevel>=2))break;lt(),this._queryings--}return this._dirtyLevel>=2}set dirty(t){this._dirtyLevel=t?3:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=We,n=nt;try{return We=!0,nt=this,this._runnings++,Ns(this),this.fn()}finally{$s(this),this._runnings--,nt=n,We=t}}stop(){var t;this.active&&(Ns(this),$s(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function co(e){return e.value}function Ns(e){e._trackId++,e._depsLength=0}function $s(e){if(e.deps&&e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)$r(e.deps[t],e);e.deps.length=e._depsLength}}function $r(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let We=!0,Gn=0;const Hr=[];function ot(){Hr.push(We),We=!1}function lt(){const e=Hr.pop();We=e===void 0?!0:e}function ps(){Gn++}function gs(){for(Gn--;!Gn&&zn.length;)zn.shift()()}function jr(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const s=e.deps[e._depsLength];s!==t?(s&&$r(s,e),e.deps[e._depsLength++]=t):e._depsLength++}}const zn=[];function Vr(e,t,n){ps();for(const s of e.keys())if(!(!s.allowRecurse&&Line truncated
@@ -1,7 +0,0 @@
import{d as y,o as r,c as u,r as v,n as B,a as j,t as T,_ as k,b as w,w as p,T as Ve,e as g,u as qe,i as it,l as rt,f as he,g as L,h as M,j as Z,k as d,m as l,p as R,q as K,s as X,v as ee,x as be,y as Q,z as ve,A as Le,B as Ge,C as lt,D as J,F as H,E,G as Se,H as se,I as _,J as Y,K as Re,L as pe,M as ie,N as fe,O as ct,P as ut,Q as Ke,R as dt,S as ht,U as vt,V as xe,W as pt,X as We,Y as ft,Z as _t,$ as Je,a0 as Ye,a1 as mt,a2 as gt,a3 as kt}from"./framework.E60viAY0.js";const $t=y({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(e){return(t,s)=>(r(),u("span",{class:B(["VPBadge",t.type])},[v(t.$slots,"default",{},()=>[j(T(t.text),1)],!0)],2))}}),bt=k($t,[["__scopeId","data-v-9613cc9f"]]),yt={key:0,class:"VPBackdrop"},Pt=y({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(t,s)=>(r(),w(Ve,{name:"fade"},{default:p(()=>[t.show?(r(),u("div",yt)):g("",!0)]),_:1}))}}),wt=k(Pt,[["__scopeId","data-v-c79a1216"]]),I=qe;function Vt(e,t){let s,n=!1;return()=>{s&&clearTimeout(s),n?s=setTimeout(e,t):(e(),(n=!0)&&setTimeout(()=>n=!1,t))}}function ye(e){return/^\//.test(e)?e:`/${e}`}function Me(e){const{pathname:t,search:s,hash:n,protocol:o}=new URL(e,"http://a.com");if(it(e)||e.startsWith("#")||!o.startsWith("http")||/\.(?!html|md)\w+($|\?)/i.test(e)&&rt(e))return e;const{site:a}=I(),i=t.endsWith("/")||t.endsWith(".html")?e:e.replace(/(?:(^\.+)\/)?.*$/,`$1${t.replace(/(\.md)?$/,a.value.cleanUrls?"":".html")}${s}${n}`);return he(i)}function ne({removeCurrent:e=!0,correspondingLink:t=!1}={}){const{site:s,localeIndex:n,page:o,theme:a}=I(),i=L(()=>{var h,f;return{label:(h=s.value.locales[n.value])==null?void 0:h.label,link:((f=s.value.locales[n.value])==null?void 0:f.link)||(n.value==="root"?"/":`/${n.value}/`)}});return{localeLinks:L(()=>Object.entries(s.value.locales).flatMap(([h,f])=>e&&i.value.label===f.label?[]:{text:f.label,link:Lt(f.link||(h==="root"?"/":`/${h}/`),a.value.i18nRouting!==!1&&t,o.value.relativePath.slice(i.value.link.length-1),!s.value.cleanUrls)})),currentLang:i}}function Lt(e,t,s,n){return t?e.replace(/\/$/,"")+ye(s.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,n?".html":"")):e}const St=e=>(R("data-v-f87ff6e4"),e=e(),K(),e),Mt={class:"NotFound"},Ct={class:"code"},It={class:"title"},Tt=St(()=>d("div",{class:"divider"},null,-1)),At={class:"quote"},Nt={class:"action"},Ht=["href","aria-label"],Bt=y({__name:"NotFound",setup(e){const{site:t,theme:s}=I(),{localeLinks:n}=ne({removeCurrent:!1}),o=M("/");return Z(()=>{var i;const a=window.location.pathname.replace(t.value.base,"").replace(/(^.*?\/).*$/,"/$1");n.value.length&&(o.value=((i=n.value.find(({link:c})=>c.startsWith(a)))==null?void 0:i.link)||n.value[0].link)}),(a,i)=>{var c,h,f,m,$;return r(),u("div",Mt,[d("p",Ct,T(((c=l(s).notFound)==null?void 0:c.code)??"404"),1),d("h1",It,T(((h=l(s).notFound)==null?void 0:h.title)??"PAGE NOT FOUND"),1),Tt,d("blockquote",At,T(((f=l(s).notFound)==null?void 0:f.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),d("div",Nt,[d("a",{class:"link",href:l(he)(o.value),"aria-label":((m=l(s).notFound)==null?void 0:m.linkLabel)??"go to home"},T((($=l(s).notFound)==null?void 0:$.linkText)??"Take me home"),9,Ht)])])}}}),zt=k(Bt,[["__scopeId","data-v-f87ff6e4"]]);function Xe(e,t){if(Array.isArray(e))return re(e);if(e==null)return[];t=ye(t);const s=Object.keys(e).sort((o,a)=>a.split("/").length-o.split("/").length).find(o=>t.startsWith(ye(o))),n=s?e[s]:[];return Array.isArray(n)?re(n):re(n.items,n.base)}function xt(e){const t=[];let s=0;for(const n in e){const o=e[n];if(o.items){s=t.push(o);continue}t[s]||t.push({items:[]}),t[s].items.push(o)}return t}function Et(e){const t=[];function s(n){for(const o of n)o.text&&o.link&&t.push({text:o.text,link:o.link,docFooterText:o.docFooterText}),o.items&&s(o.items)}return s(e),t}function Pe(e,t){return Array.isArray(t)?t.some(s=>Pe(e,s)):X(e,t.link)?!0:t.items?Pe(e,t.items):!1}function re(e,t){return[...e].map(s=>{const n={...s},o=n.base||t;return o&&n.link&&(n.link=o+n.link),n.items&&(n.items=re(n.items,o)),n})}function W(){const{frontmatter:e,page:t,theme:s}=I(),n=be("(min-width: 960px)"),o=M(!1),a=L(()=>{const C=s.value.sidebar,S=t.value.relativePath;return C?Xe(C,S):[]}),i=M(a.value);Q(a,(C,S)=>{JSON.stringify(C)!==JSON.stringify(S)&&(i.value=a.value)});const c=L(()=>e.value.sidebar!==!1&&i.value.length>0&&e.value.layout!=="home"),h=L(()=>f?e.value.aside==null?s.value.aside==="left":e.value.aside==="left":!1),f=L(()=>e.value.layout==="home"?!1:e.value.aside!=null?!!e.value.aside:s.value.aside!==!1),m=L(()=>c.value&&n.value),$=L(()=>c.value?xt(i.value):[]);function V(){o.value=!0}function b(){o.value=!1}function P(){o.value?b():V()}return{isOpen:o,sidebar:i,sidebarGroups:$,hasSidebar:c,hasAside:f,leftAside:h,isSidebarEnabled:m,open:V,close:b,toggle:P}}function Dt(e,t){let s;ve(()=>{s=e.value?document.activeElement:void 0}),Z(()=>{window.addEventListener("keyup",n)}),Le(()=>{window.removeEventListLine truncated
function __vite__mapDeps(indexes) {
if (!__vite__mapDeps.viteFileDeps) {
__vite__mapDeps.viteFileDeps = []
}
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
}
@@ -0,0 +1,7 @@
import{d as V,o as l,c as h,r as f,n as x,a as K,t as N,u,b as zt,e as Ue,f as xt,g as M,h as ee,i as Me,j as ut,w as J,k as Ot,l as Dt,m as w,p as ve,s as qe,q as C,v as p,T as Re,x as y,_ as P,y as dt,z as Ft,A as jt,B as Ce,C as de,D as d,E as X,F as Q,G as le,H as We,I as ht,J as Ut,K as ae,L as z,M as j,N as Ie,O as $,P as ie,Q as ft,R as Te,S as $e,U as Ae,V as qt,W as Rt,X as Wt,Y as Gt,Z as tt,$ as Kt,a0 as vt,a1 as Jt,a2 as Yt,a3 as pt,a4 as Xt,a5 as Qt,a6 as Zt}from"./framework.n4OLkSRA.js";const en=V({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(e){return(t,n)=>(l(),h("span",{class:x(["VPBadge",t.type])},[f(t.$slots,"default",{},()=>[K(N(t.text),1)])],2))}});function Ge(e){return Ot()?(Dt(e),!0):!1}function se(e){return typeof e=="function"?e():u(e)}const mt=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const tn=Object.prototype.toString,nn=e=>tn.call(e)==="[object Object]",fe=()=>{},xe=sn();function sn(){var e,t;return mt&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function on(e,t){function n(...s){return new Promise((o,a)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(o).catch(a)})}return n}const _t=e=>e();function an(e=_t){const t=M(!0);function n(){t.value=!1}function s(){t.value=!0}const o=(...a)=>{t.value&&e(...a)};return{isActive:Ue(t),pause:n,resume:s,eventFilter:o}}function rn(e){return e||ut()}function gt(...e){if(e.length!==1)return zt(...e);const t=e[0];return typeof t=="function"?Ue(xt(()=>({get:t,set:fe}))):M(t)}function ln(e,t,n={}){const{eventFilter:s=_t,...o}=n;return J(e,on(s,t),o)}function cn(e,t,n={}){const{eventFilter:s,...o}=n,{eventFilter:a,pause:r,resume:i,isActive:c}=an(s);return{stop:ln(e,t,{...o,eventFilter:a}),pause:r,resume:i,isActive:c}}function kt(e,t=!0,n){rn()?ee(e,n):t?e():Me(e)}function ue(e){var t;const n=se(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Z=mt?window:void 0;function oe(...e){let t,n,s,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,s,o]=e,t=Z):[t,n,s,o]=e,!t)return fe;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const a=[],r=()=>{a.forEach(m=>m()),a.length=0},i=(m,g,k,b)=>(m.addEventListener(g,k,b),()=>m.removeEventListener(g,k,b)),c=J(()=>[ue(t),se(o)],([m,g])=>{if(r(),!m)return;const k=nn(g)?{...g}:g;a.push(...n.flatMap(b=>s.map(_=>i(m,b,_,k))))},{immediate:!0,flush:"post"}),v=()=>{c(),r()};return Ge(v),v}let nt=!1;function un(e,t,n={}){const{window:s=Z,ignore:o=[],capture:a=!0,detectIframe:r=!1}=n;if(!s)return fe;xe&&!nt&&(nt=!0,Array.from(s.document.body.children).forEach(k=>k.addEventListener("click",fe)),s.document.documentElement.addEventListener("click",fe));let i=!0;const c=k=>o.some(b=>{if(typeof b=="string")return Array.from(s.document.querySelectorAll(b)).some(_=>_===k.target||k.composedPath().includes(_));{const _=ue(b);return _&&(k.target===_||k.composedPath().includes(_))}}),m=[oe(s,"click",k=>{const b=ue(e);if(!(!b||b===k.target||k.composedPath().includes(b))){if(k.detail===0&&(i=!c(k)),!i){i=!0;return}t(k)}},{passive:!0,capture:a}),oe(s,"pointerdown",k=>{const b=ue(e);i=!c(k)&&!!(b&&!k.composedPath().includes(b))},{passive:!0}),r&&oe(s,"blur",k=>{setTimeout(()=>{var b;const _=ue(e);((b=s.document.activeElement)==null?void 0:b.tagName)==="IFRAME"&&!(_!=null&&_.contains(s.document.activeElement))&&t(k)},0)})].filter(Boolean);return()=>m.forEach(k=>k())}function dn(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function hn(...e){let t,n,s={};e.length===3?(t=e[0],n=e[1],s=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],s=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:o=Z,eventName:a="keydown",passive:r=!1,dedupe:i=!1}=s,c=dn(t);return oe(o,a,m=>{m.repeat&&se(i)||c(m)&&n(m)},r)}function fn(){const e=M(!1);return ut()&&ee(()=>{e.value=!0}),e}function vn(e){const t=fn();return w(()=>(t.value,!!e()))}function Pe(e,t={}){const{window:n=Z}=t,s=vn(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const a=M(!1),r=v=>{a.value=v.matches},i=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",r):o.removeListener(r))},c=ve(()=>{s.value&&(i(),o=n.matchMedia(se(e)),"addEventListener"in o?o.addEventListener("change",r):o.addListener(r),a.value=o.matches)});return Ge(()=>{c(),i(),o=void 0}),a}const _e=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ge="__vueuse_ssr_handlers__",pn=mn();function mn(){return ge in _e||(_e[ge]=_e[ge]||{}),_e[ge]}function bt(e,t){return pn[e]||t}function _n(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"Line truncated
function __vite__mapDeps(indexes) {
if (!__vite__mapDeps.viteFileDeps) {
__vite__mapDeps.viteFileDeps = []
}
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
}
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff