@yiyi_zhang/laoshi 0.2.0-beta.3 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +39 -0
- package/README.md +3 -2
- package/adapters/dsh/adapter.ts +22 -1
- package/adapters/dsh/dsh-runtime.ts +14 -3
- package/adapters/dsh/install.mjs +16 -4
- package/adapters/dsh/plugin/index.mjs +197 -18
- package/adapters/dsh/plugin/package.json +1 -1
- package/adapters/mogao/adapter.ts +10 -1
- package/adapters/mogao/mogao-runtime.ts +58 -23
- package/adapters/mogao/skill/setup.md +6 -0
- package/adapters/paseo/install.mjs +13 -4
- package/adapters/paseo/plugin/client/data.ts +13 -2
- package/adapters/paseo/plugin/client/detail.tsx +244 -4
- package/adapters/paseo/plugin/client/format.ts +25 -117
- package/adapters/paseo/plugin/client/overview.tsx +3 -3
- package/adapters/paseo/plugin/index.server.ts +2 -1
- package/adapters/paseo/plugin/package.json +1 -1
- package/adapters/paseo/plugin/paseo-plugin.json +1 -1
- package/adapters/paseo/plugin/server/handlers.ts +22 -4
- package/adapters/paseo/plugin/server/req.ts +17 -4
- package/adapters/paseo/plugin/shared/contracts.ts +28 -2
- package/adapters/paseo/plugin/shared/view-model.ts +425 -0
- package/bin/ensure-version.mjs +60 -0
- package/bin/req-doctor.mjs +5 -0
- package/bin/req.mjs +18 -0
- package/bin/start-pipeline.mjs +5 -0
- package/contracts/cli-json.md +3 -1
- package/docs/design/builtin-capabilities.md +2 -2
- package/docs/design/cli-adapter.md +1 -1
- package/docs/design/dsh-adapter.md +11 -11
- package/docs/design/shared-ui.md +43 -0
- package/docs/guide//345/234/250/346/221/270/351/253/230/344/270/212/344/275/277/347/224/250.md +2 -1
- package/docs/guide//345/256/211/350/243/205/344/270/216/345/215/207/347/272/247.md +13 -8
- package/docs/guide//347/234/237/345/256/236/347/216/257/345/242/203/350/265/260/346/237/245.md +78 -0
- package/docs/guide//347/273/264/346/212/244/350/200/205/346/214/207/345/215/227.md +36 -6
- package/engine/prompts/00-shared-context.md +7 -0
- package/engine/prompts/03-design.md +2 -0
- package/engine/prompts/04-design-review.md +5 -1
- package/engine/skill-fragments/defaults.md +5 -0
- package/engine/src/api.ts +11 -2
- package/engine/src/board.ts +435 -0
- package/engine/src/config.ts +23 -0
- package/engine/src/diagnose.ts +238 -0
- package/engine/src/doctor.ts +25 -0
- package/engine/src/estimate.ts +11 -0
- package/engine/src/extensions.ts +271 -0
- package/engine/src/handover-cmd.ts +47 -0
- package/engine/src/handover.ts +89 -0
- package/engine/src/history.ts +102 -0
- package/engine/src/joint.ts +49 -4
- package/engine/src/launch.ts +20 -5
- package/engine/src/main.ts +1 -1
- package/engine/src/messages.ts +58 -0
- package/engine/src/pipeline.ts +121 -5
- package/engine/src/platform.ts +6 -0
- package/engine/src/reply.ts +27 -6
- package/engine/src/semver.ts +21 -0
- package/engine/src/skills-render.ts +10 -1
- package/package.json +5 -2
- package/site-dist/404.html +2 -2
- package/site-dist/assets/{app.CXydUhZx.js → app.DZpVs0VH.js} +1 -1
- package/site-dist/assets/changelog.md.CdUYbro4.js +1 -0
- package/site-dist/assets/{changelog.md.BU-CvyJ1.lean.js → changelog.md.CdUYbro4.lean.js} +1 -1
- package/site-dist/assets/chunks/@localSearchIndexroot.CHr-ITwS.js +1 -0
- package/site-dist/assets/chunks/{VPLocalSearchBox.CIjDV0ax.js → VPLocalSearchBox.BHkmziy1.js} +1 -1
- package/site-dist/assets/chunks/{theme.CWtC1Kby.js → theme.BsPChbDE.js} +2 -2
- package/site-dist/assets/guide_dsh.md.D0XhcUHz.js +7 -0
- package/site-dist/assets/guide_dsh.md.D0XhcUHz.lean.js +7 -0
- package/site-dist/assets/{guide_getting-started.md.BxOxfic_.js → guide_getting-started.md.BDd3nU5n.js} +1 -1
- package/site-dist/assets/{guide_install.md.By4WxsJG.js → guide_install.md.SsIHMfUu.js} +7 -5
- package/site-dist/assets/{guide_install.md.By4WxsJG.lean.js → guide_install.md.SsIHMfUu.lean.js} +7 -5
- package/site-dist/assets/guide_maintainer.md.CvqvRle1.js +1 -0
- package/site-dist/assets/guide_maintainer.md.CvqvRle1.lean.js +1 -0
- package/site-dist/assets/{guide_mogao.md.S0eln1Pr.js → guide_mogao.md.TCu3lgE9.js} +2 -2
- package/site-dist/assets/{guide_mogao.md.S0eln1Pr.lean.js → guide_mogao.md.TCu3lgE9.lean.js} +2 -2
- package/site-dist/assets/guide_walkthrough.md.nj_PWP9Y.js +5 -0
- package/site-dist/assets/guide_walkthrough.md.nj_PWP9Y.lean.js +5 -0
- package/site-dist/assets/reference_contracts_cli-json.md.3iU9h4rw.js +1 -0
- package/site-dist/assets/reference_contracts_cli-json.md.3iU9h4rw.lean.js +1 -0
- package/site-dist/assets/{reference_design_builtin-capabilities.md.CZYtjo_v.js → reference_design_builtin-capabilities.md.k5NXkESv.js} +2 -2
- package/site-dist/assets/{reference_design_builtin-capabilities.md.CZYtjo_v.lean.js → reference_design_builtin-capabilities.md.k5NXkESv.lean.js} +2 -2
- package/site-dist/assets/{reference_design_cli-adapter.md.pJy3x6Un.js → reference_design_cli-adapter.md.C1lcDATP.js} +1 -1
- package/site-dist/assets/{reference_design_cli-adapter.md.pJy3x6Un.lean.js → reference_design_cli-adapter.md.C1lcDATP.lean.js} +1 -1
- package/site-dist/changelog.html +5 -5
- package/site-dist/guide/cli.html +4 -4
- package/site-dist/guide/dsh.html +8 -6
- package/site-dist/guide/getting-started.html +5 -5
- package/site-dist/guide/how-it-works.html +4 -4
- package/site-dist/guide/index.html +4 -4
- package/site-dist/guide/install.html +11 -9
- package/site-dist/guide/intranet.html +4 -4
- package/site-dist/guide/maintainer.html +5 -5
- package/site-dist/guide/mogao.html +7 -7
- package/site-dist/guide/phases.html +4 -4
- package/site-dist/guide/project.html +4 -4
- package/site-dist/guide/user.html +4 -4
- package/site-dist/guide/walkthrough.html +34 -0
- package/site-dist/hashmap.json +1 -1
- package/site-dist/index.html +4 -4
- package/site-dist/reference/adr/0001-new-repo-core-and-adapters.html +4 -4
- package/site-dist/reference/adr/0002-two-orchestration-modes.html +4 -4
- package/site-dist/reference/adr/0003-generate-once-then-lock.html +4 -4
- package/site-dist/reference/adr/0004-external-contracts-stay-stable.html +4 -4
- package/site-dist/reference/adr/0005-skill-names.html +4 -4
- package/site-dist/reference/adr/0006-deterministic-engine-platform-capabilities.html +4 -4
- package/site-dist/reference/adr/0007-one-install-many-repos.html +4 -4
- package/site-dist/reference/adr/0008-capability-sources-and-platform-plugin.html +4 -4
- package/site-dist/reference/adr/index.html +4 -4
- package/site-dist/reference/commands.html +4 -4
- package/site-dist/reference/config.html +4 -4
- package/site-dist/reference/contracts/agent-runtime.html +4 -4
- package/site-dist/reference/contracts/cli-json.html +5 -5
- package/site-dist/reference/contracts/feature-files.html +4 -4
- package/site-dist/reference/contracts/index.html +4 -4
- package/site-dist/reference/contracts/notifier-event.html +4 -4
- package/site-dist/reference/contracts/result-file.html +4 -4
- package/site-dist/reference/contracts/spec.html +4 -4
- package/site-dist/reference/contracts/state.html +4 -4
- package/site-dist/reference/contracts/usage-record.html +4 -4
- package/site-dist/reference/contracts/verify.html +4 -4
- package/site-dist/reference/design/adapter-guide.html +4 -4
- package/site-dist/reference/design/architecture.html +4 -4
- package/site-dist/reference/design/builtin-capabilities.html +6 -6
- package/site-dist/reference/design/cli-adapter.html +5 -5
- package/site-dist/reference/design/platform-vocabulary.html +4 -4
- package/site-dist/reference/scope.html +4 -4
- package/skills/laoshi/SKILL.md +1 -3
- package/skills/laoshi-setup/SKILL.md +1 -1
- package/ui/shared/view-model.ts +424 -0
- package/ui/web/board.ts +1126 -0
- package/site-dist/assets/changelog.md.BU-CvyJ1.js +0 -1
- package/site-dist/assets/chunks/@localSearchIndexroot.CfgJeQRO.js +0 -1
- package/site-dist/assets/guide_dsh.md.0X-eYB87.js +0 -5
- package/site-dist/assets/guide_dsh.md.0X-eYB87.lean.js +0 -5
- package/site-dist/assets/guide_maintainer.md.Da1ffqxm.js +0 -1
- package/site-dist/assets/guide_maintainer.md.Da1ffqxm.lean.js +0 -1
- package/site-dist/assets/reference_contracts_cli-json.md.D6vfWOD9.js +0 -1
- package/site-dist/assets/reference_contracts_cli-json.md.D6vfWOD9.lean.js +0 -1
- /package/site-dist/assets/{guide_getting-started.md.BxOxfic_.lean.js → guide_getting-started.md.BDd3nU5n.lean.js} +0 -0
package/site-dist/assets/chunks/{VPLocalSearchBox.CIjDV0ax.js → VPLocalSearchBox.BHkmziy1.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Ot=Object.defineProperty;var At=(a,e,t)=>e in a?Ot(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var Me=(a,e,t)=>At(a,typeof e!="symbol"?e+"":e,t);import{V as Ct,q as Be,ah as Mt,h as be,ai as nt,aj as Lt,ak as Dt,al as Pt,G as ce,d as zt,am as rt,p as he,an as Vt,ao as jt,s as $t,ap as Bt,v as Le,P as ve,O as xe,aq as Wt,ar as Kt,W as Jt,R as qt,$ as Ut,o as q,b as Ht,j as T,a0 as Gt,k as P,as as Qt,at as Yt,au as Zt,c as Q,n as it,e as _e,B as st,F as at,a as pe,t as me,av as Xt,aw as ot,ax as en,a7 as tn,ac as nn,ay as rn,_ as sn}from"./framework.BetZR81g.js";import{u as an,c as on}from"./theme.
|
|
1
|
+
var Ot=Object.defineProperty;var At=(a,e,t)=>e in a?Ot(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var Me=(a,e,t)=>At(a,typeof e!="symbol"?e+"":e,t);import{V as Ct,q as Be,ah as Mt,h as be,ai as nt,aj as Lt,ak as Dt,al as Pt,G as ce,d as zt,am as rt,p as he,an as Vt,ao as jt,s as $t,ap as Bt,v as Le,P as ve,O as xe,aq as Wt,ar as Kt,W as Jt,R as qt,$ as Ut,o as q,b as Ht,j as T,a0 as Gt,k as P,as as Qt,at as Yt,au as Zt,c as Q,n as it,e as _e,B as st,F as at,a as pe,t as me,av as Xt,aw as ot,ax as en,a7 as tn,ac as nn,ay as rn,_ as sn}from"./framework.BetZR81g.js";import{u as an,c as on}from"./theme.BsPChbDE.js";const ln={root:()=>Ct(()=>import("./@localSearchIndexroot.CHr-ITwS.js"),[])};/*!
|
|
2
2
|
* tabbable 6.5.0
|
|
3
3
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
4
4
|
*/var gt=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","area[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],ke=gt.join(","),bt=typeof Element>"u",ae=bt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ne=!bt&&Element.prototype.getRootNode?function(a){var e;return a==null||(e=a.getRootNode)===null||e===void 0?void 0:e.call(a)}:function(a){return a==null?void 0:a.ownerDocument},Fe=function(e,t){var n;t===void 0&&(t=!0);var r=e==null||(n=e.getAttribute)===null||n===void 0?void 0:n.call(e,"inert"),s=r===""||r==="true",i=s||t&&e&&(typeof e.closest=="function"?e.closest("[inert]"):Fe(e.parentNode));return i},cn=function(e){var t,n=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return n===""||n==="true"},yt=function(e,t,n){if(Fe(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(ke));return t&&ae.call(e,ke)&&r.unshift(e),r=r.filter(n),r},Re=function(e,t,n){for(var r=[],s=Array.from(e);s.length;){var i=s.shift();if(!Fe(i,!1))if(i.tagName==="SLOT"){var o=i.assignedElements(),l=o.length?o:i.children,c=Re(l,!0,n);n.flatten?r.push.apply(r,c):r.push({scopeParent:i,candidates:c})}else{var h=ae.call(i,ke);h&&n.filter(i)&&(t||!e.includes(i))&&r.push(i);var m=i.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(i),p=!Fe(m,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(i));if(m&&p){var b=Re(m===!0?i.children:m.children,!0,n);n.flatten?r.push.apply(r,b):r.push({scopeParent:i,candidates:b})}else s.unshift.apply(s,i.children)}}return r},wt=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},se=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||cn(e))&&!wt(e)?0:e.tabIndex},un=function(e,t){var n=se(e);return n<0&&t&&!wt(e)?0:n},dn=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},St=function(e){return e.tagName==="INPUT"},fn=function(e){return St(e)&&e.type==="hidden"},hn=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(n){return n.tagName==="SUMMARY"});return t},vn=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},pn=function(e){if(!e.name)return!0;var t=e.form||Ne(e),n=function(o){return t.querySelectorAll('input[type="radio"][name="'+o+'"]')},r;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")r=n(window.CSS.escape(e.name));else try{r=n(e.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var s=vn(r,e.form);return!s||s===e},mn=function(e){return St(e)&&e.type==="radio"},gn=function(e){return mn(e)&&!pn(e)},bn=function(e){var t,n=e&&Ne(e),r=(t=n)===null||t===void 0?void 0:t.host,s=!1;if(n&&n!==e){var i,o,l;for(s=!!((i=r)!==null&&i!==void 0&&(o=i.ownerDocument)!==null&&o!==void 0&&o.contains(r)||e!=null&&(l=e.ownerDocument)!==null&&l!==void 0&&l.contains(e));!s&&r;){var c,h,m;n=Ne(r),r=(c=n)===null||c===void 0?void 0:c.host,s=!!((h=r)!==null&&h!==void 0&&(m=h.ownerDocument)!==null&&m!==void 0&&m.contains(r))}}return s},lt=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return n===0&&r===0},yn=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if(n==="full-native"&&"checkVisibility"in e){var s=e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});return!s}var i=getComputedStyle(e),o=i.visibility;if(o==="hidden"||o==="collapse")return!0;var l=ae.call(e,"details>summary:first-of-type"),c=l?e.parentElement:e;if(ae.call(c,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="full-native"||n==="legacy-full"){if(typeof r=="function"){for(var h=e;e;){var m=e.parentElement,p=Ne(e);if(m&&!m.shadowRoot&&r(m)===!0)return lt(e);e.assignedSlot?e=e.assignedSlot:!m&&p!==e.ownerDocument?e=p.host:e=m}e=h}if(bn(e))return!e.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return lt(e);return!1},wn=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if(r.tagName==="LEGEND")return ae.call(t,"fieldset[disabled] *")?!0:!r.contains(e)}return!0}t=t.parentElement}return!1},Oe=function(e,t){return!(t.disabled||fn(t)||yn(t,e)||hn(t)||wn(t))},We=function(e,t){return!(gn(t)||se(t)<0||!Oe(e,t))},Sn=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},xt=function(e){var t=[],n=[];return e.forEach(function(r,s){var i=!!r.scopeParent,o=i?r.scopeParent:r,l=un(o,i),c=i?xt(r.candidates):o;l===0?i?t.push.apply(t,c):t.push(o):n.push({documentOrder:s,tabIndex:l,item:r,isScope:i,content:c})}),n.sort(dn).reduce(function(r,s){return s.isScope?r.push.apply(r,s.content):r.push(s.content),r},[]).concat(t)},xn=function(e,t){t=t||{};var n;return t.getShadowRoot?n=Re([e],t.includeContainer,{filter:We.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Sn}):n=yt(e,t.includeContainer,We.bind(null,t)),xt(n)},_n=function(e,t){t=t||{};var n;return t.getShadowRoot?n=Re([e],t.includeContainer,{filter:Oe.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):n=yt(e,t.includeContainer,Oe.bind(null,t)),n},oe=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ae.call(e,ke)===!1?!1:We(t,e)},Tn=gt.concat("iframe:not([inert]):not([inert] *)").join(","),De=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ae.call(e,Tn)===!1?!1:Oe(t,e)};/*!
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/VPLocalSearchBox.
|
|
2
|
-
import{d as _,c as u,r as d,n as x,o as l,a as I,t as M,b as g,w as m,T as ve,e as b,_ as y,u as Le,i as De,f as Fe,g as q,h as P,j as o,k as r,l as R,m as re,p as S,q as O,s as X,v as j,x as he,y as fe,z as Oe,A as ze,F as w,B as A,C as W,D as Q,E as k,G as Ve,H as E,I as Me,J as ee,K as U,L as te,M as Ge,N as Se,O as ie,P as xe,Q as Te,R as ne,S as Ue,U as je,V as qe,W as we,X as Ne,Y as Re,Z as We,$ as Ke,a0 as Je,a1 as Ye,a2 as Ze,a3 as $e}from"./framework.BetZR81g.js";const Xe=_({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(e){return(t,n)=>(l(),u("span",{class:x(["VPBadge",e.type])},[d(t.$slots,"default",{},()=>[I(M(e.text),1)])],2))}}),Qe={key:0,class:"VPBackdrop"},et=_({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(t,n)=>(l(),g(ve,{name:"fade"},{default:m(()=>[e.show?(l(),u("div",Qe)):b("",!0)]),_:1}))}}),tt=y(et,[["__scopeId","data-v-54a304ca"]]),V=Le;function nt(e,t){let n,a=!1;return()=>{n&&clearTimeout(n),a?n=setTimeout(e,t):(e(),(a=!0)&&setTimeout(()=>a=!1,t))}}function ce(e){return e.startsWith("/")?e:`/${e}`}function me(e){const{pathname:t,search:n,hash:a,protocol:s}=new URL(e,"http://a.com");if(De(e)||e.startsWith("#")||!s.startsWith("http")||!Fe(t))return e;const{site:i}=V(),c=t.endsWith("/")||t.endsWith(".html")?e:e.replace(/(?:(^\.+)\/)?.*$/,`$1${t.replace(/(\.md)?$/,i.value.cleanUrls?"":".html")}${n}${a}`);return q(c)}function J({correspondingLink:e=!1}={}){const{site:t,localeIndex:n,page:a,theme:s,hash:i}=V(),c=P(()=>{var h,$;return{label:(h=t.value.locales[n.value])==null?void 0:h.label,link:(($=t.value.locales[n.value])==null?void 0:$.link)||(n.value==="root"?"/":`/${n.value}/`)}});return{localeLinks:P(()=>Object.entries(t.value.locales).flatMap(([h,$])=>c.value.label===$.label?[]:{text:$.label,link:at($.link||(h==="root"?"/":`/${h}/`),s.value.i18nRouting!==!1&&e,a.value.relativePath.slice(c.value.link.length-1),!t.value.cleanUrls)+i.value})),currentLang:c}}function at(e,t,n,a){return t?e.replace(/\/$/,"")+ce(n.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,a?".html":"")):e}const st={class:"NotFound"},ot={class:"code"},lt={class:"title"},rt={class:"quote"},it={class:"action"},ct=["href","aria-label"],ut=_({__name:"NotFound",setup(e){const{theme:t}=V(),{currentLang:n}=J();return(a,s)=>{var i,c,v,h,$;return l(),u("div",st,[o("p",ot,M(((i=r(t).notFound)==null?void 0:i.code)??"404"),1),o("h1",lt,M(((c=r(t).notFound)==null?void 0:c.title)??"PAGE NOT FOUND"),1),s[0]||(s[0]=o("div",{class:"divider"},null,-1)),o("blockquote",rt,M(((v=r(t).notFound)==null?void 0:v.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),o("div",it,[o("a",{class:"link",href:r(q)(r(n).link),"aria-label":((h=r(t).notFound)==null?void 0:h.linkLabel)??"go to home"},M((($=r(t).notFound)==null?void 0:$.linkText)??"Take me home"),9,ct)])])}}}),dt=y(ut,[["__scopeId","data-v-6ff51ddd"]]);function Ie(e,t){if(Array.isArray(e))return Y(e);if(e==null)return[];t=ce(t);const n=Object.keys(e).sort((s,i)=>i.split("/").length-s.split("/").length).find(s=>t.startsWith(ce(s))),a=n?e[n]:[];return Array.isArray(a)?Y(a):Y(a.items,a.base)}function vt(e){const t=[];let n=0;for(const a in e){const s=e[a];if(s.items){n=t.push(s);continue}t[n]||t.push({items:[]}),t[n].items.push(s)}return t}function ht(e){const t=[];function n(a){for(const s of a)s.text&&s.link&&t.push({text:s.text,link:s.link,docFooterText:s.docFooterText}),s.items&&n(s.items)}return n(e),t}function ue(e,t){return Array.isArray(t)?t.some(n=>ue(e,n)):R(e,t.link)?!0:t.items?ue(e,t.items):!1}function Y(e,t){return[...e].map(n=>{const a={...n},s=a.base||t;return s&&a.link&&(a.link=s+a.link),a.items&&(a.items=Y(a.items,s)),a})}function z(){const{frontmatter:e,page:t,theme:n}=V(),a=re("(min-width: 960px)"),s=S(!1),i=P(()=>{const H=n.value.sidebar,C=t.value.relativePath;return H?Ie(H,C):[]}),c=S(i.value);O(i,(H,C)=>{JSON.stringify(H)!==JSON.stringify(C)&&(c.value=i.value)});const v=P(()=>e.value.sidebar!==!1&&c.value.length>0&&e.value.layout!=="home"),h=P(()=>$?e.value.aside==null?n.value.aside==="left":e.value.aside==="left":!1),$=P(()=>e.value.layout==="home"?!1:e.value.aside!=null?!!e.value.aside:n.value.aside!==!1),f=P(()=>v.value&&a.value),p=P(()=>v.value?vt(c.value):[]);function L(){s.value=!0}function T(){s.value=!1}function N(){s.value?T():L()}return{isOpen:s,sidebar:c,sidebarGroups:p,hasSidebar:v,hasAside:$,leftAside:h,isSidebarEnabled:f,open:L,close:T,toggle:N}}function ft(e,t){let n;X(()=>{n=e.value?document.activeElement:void 0}),j(()=>{window.addEventListener("keyup",a)}),he(()=>{window.removeEventListener("keyup",a)});function a(s){s.key==="Escape"&&e.value&&(t(),n==null||n.focus())}}function mt(e){const{page:t,hash:n}=V(),a=S(!1),s=P(()=>e.value.collapsed!=null),i=P(()=>!!e.value.link),c=S(!1),v=()=>{c.value=R(t.value.relativePath,e.value.link)};O([t,e,n],v),j(v);const h=P(()=>c.value?!0:e.value.items?ue(t.value.relativePath,e.value.items):!1),$=P(()=>!!(e.value.items&&e.value.items.length));X(()=>{a.value=!!(s.value&&e.value.collapsed)}),fe(()=>{(c.value||h.value)&&(a.value=!1)});function f(){s.value&&(a.value=!a.value)}return{collapsed:a,collapsible:s,isLink:i,isActiveLink:c,hasActiveLink:h,hasChildren:$,toggle:f}}function pt(){const{hasSidebar:e}=z(),t=re("(min-width: 960px)"),n=re("(min-width: 1280px)");return{isAsideEnabled:P(()=>!n.value&&!t.value?!1:e.value?n.value:t.value)}}const kt=/\b(?:VPBadge|header-anchor|footnote-ref|ignore-header)\b/,de=[];function He(e){return typeof e.outline=="object"&&!Array.isArray(e.outline)&&e.outline.label||e.outlineTitle||"On this page"}function pe(e){const t=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(n=>n.id&&n.hasChildNodes()).map(n=>{const a=Number(n.tagName[1]);return{element:n,title:bt(n),link:"#"+n.id,level:a}});return _t(t,e)}function bt(e){let t="";for(const n of e.childNodes)if(n.nodeType===1){if(kt.test(n.className))continue;t+=n.textContent}else n.nodeType===3&&(t+=n.textContent);return t.trim()}function _t(e,t){if(t===!1)return[];const n=(typeof t=="object"&&!Array.isArray(t)?t.level:t)||2,[a,s]=typeof n=="number"?[n,n]:n==="deep"?[2,6]:n;return yt(e,a,s)}function gt(e,t){const{isAsideEnabled:n}=pt(),a=nt(i,100);let s=null;j(()=>{requestAnimationFrame(i),window.addEventListener("scroll",a)}),Oe(()=>{c(location.hash)}),he(()=>{window.removeEventListener("scroll",a)});function i(){if(!n.value)return;const v=window.scrollY,h=window.innerHeight,$=document.body.offsetHeight,f=Math.abs(v+h-$)<1,p=de.map(({element:T,link:N})=>({link:N,top:$t(T)})).filter(({top:T})=>!Number.isNaN(T)).sort((T,N)=>T.top-N.top);if(!p.length){c(null);return}if(v<1){c(null);return}if(f){c(p[p.length-1].link);return}let L=null;for(const{link:T,top:N}of p){if(N>v+ze()+4)break;L=T}c(L)}function c(v){s&&s.classList.remove("active"),v==null?s=null:s=e.value.querySelector(`a[href="${decodeURIComponent(v)}"]`);const h=s;h?(h.classList.add("active"),t.value.style.top=h.offsetTop+39+"px",t.value.style.opacity="1"):(t.value.style.top="33px",t.value.style.opacity="0")}}function $t(e){let t=0;for(;e!==document.body;){if(e===null)return NaN;t+=e.offsetTop,e=e.offsetParent}return t}function yt(e,t,n){de.length=0;const a=[],s=[];return e.forEach(i=>{const c={...i,children:[]};let v=s[s.length-1];for(;v&&v.level>=c.level;)s.pop(),v=s[s.length-1];if(c.element.classList.contains("ignore-header")||v&&"shouldIgnore"in v){s.push({level:c.level,shouldIgnore:!0});return}c.level>n||c.level<t||(de.push({element:c.element,link:c.link}),v?v.children.push(c):a.push(c),s.push(c))}),a}const Pt=["href","title"],Lt=_({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(e){function t({target:n}){const a=n.href.split("#")[1],s=document.getElementById(decodeURIComponent(a));s==null||s.focus({preventScroll:!0})}return(n,a)=>{const s=W("VPDocOutlineItem",!0);return l(),u("ul",{class:x(["VPDocOutlineItem",e.root?"root":"nested"])},[(l(!0),u(w,null,A(e.headers,({children:i,link:c,title:v})=>(l(),u("li",null,[o("a",{class:"outline-link",href:c,onClick:t,title:v},M(v),9,Pt),i!=null&&i.length?(l(),g(s,{key:0,headers:i},null,8,["headers"])):b("",!0)]))),256))],2)}}}),Ae=y(Lt,[["__scopeId","data-v-53c99d69"]]),Vt={class:"content"},Mt={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},St=_({__name:"VPDocAsideOutline",setup(e){const{frontmatter:t,theme:n}=V(),a=Ve([]);Q(()=>{a.value=pe(t.value.outline??n.value.outline)});const s=S(),i=S();return gt(s,i),(c,v)=>(l(),u("nav",{"aria-labelledby":"doc-outline-aria-label",class:x(["VPDocAsideOutline",{"has-outline":a.value.length>0}]),ref_key:"container",ref:s},[o("div",Vt,[o("div",{class:"outline-marker",ref_key:"marker",ref:i},null,512),o("div",Mt,M(r(He)(r(n))),1),k(Ae,{headers:a.value,root:!0},null,8,["headers"])])],2))}}),xt=y(St,[["__scopeId","data-v-f610f197"]]),Tt={class:"VPDocAsideCarbonAds"},wt=_({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(e){const t=()=>null;return(n,a)=>(l(),u("div",Tt,[k(r(t),{"carbon-ads":e.carbonAds},null,8,["carbon-ads"])]))}}),Nt={class:"VPDocAside"},It=_({__name:"VPDocAside",setup(e){const{theme:t}=V();return(n,a)=>(l(),u("div",Nt,[d(n.$slots,"aside-top",{},void 0,!0),d(n.$slots,"aside-outline-before",{},void 0,!0),k(xt),d(n.$slots,"aside-outline-after",{},void 0,!0),a[0]||(a[0]=o("div",{class:"spacer"},null,-1)),d(n.$slots,"aside-ads-before",{},void 0,!0),r(t).carbonAds?(l(),g(wt,{key:0,"carbon-ads":r(t).carbonAds},null,8,["carbon-ads"])):b("",!0),d(n.$slots,"aside-ads-after",{},void 0,!0),d(n.$slots,"aside-bottom",{},void 0,!0)]))}}),Ht=y(It,[["__scopeId","data-v-cb998dce"]]);function At(){const{theme:e,page:t}=V();return P(()=>{const{text:n="Edit this page",pattern:a=""}=e.value.editLink||{};let s;return typeof a=="function"?s=a(t.value):s=a.replace(/:path/g,t.value.filePath),{url:s,text:n}})}function Ct(){const{page:e,theme:t,frontmatter:n}=V();return P(()=>{var $,f,p,L,T,N,H,C;const a=Ie(t.value.sidebar,e.value.relativePath),s=ht(a),i=Bt(s,B=>B.link.replace(/[?#].*$/,"")),c=i.findIndex(B=>R(e.value.relativePath,B.link)),v=(($=t.value.docFooter)==null?void 0:$.prev)===!1&&!n.value.prev||n.value.prev===!1,h=((f=t.value.docFooter)==null?void 0:f.next)===!1&&!n.value.next||n.value.next===!1;return{prev:v?void 0:{text:(typeof n.value.prev=="string"?n.value.prev:typeof n.value.prev=="object"?n.value.prev.text:void 0)??((p=i[c-1])==null?void 0:p.docFooterText)??((L=i[c-1])==null?void 0:L.text),link:(typeof n.value.prev=="object"?n.value.prev.link:void 0)??((T=i[c-1])==null?void 0:T.link)},next:h?void 0:{text:(typeof n.value.next=="string"?n.value.next:typeof n.value.next=="object"?n.value.next.text:void 0)??((N=i[c+1])==null?void 0:N.docFooterText)??((H=i[c+1])==null?void 0:H.text),link:(typeof n.value.next=="object"?n.value.next.link:void 0)??((C=i[c+1])==null?void 0:C.link)}}})}function Bt(e,t){const n=new Set;return e.filter(a=>{const s=t(a);return n.has(s)?!1:n.add(s)})}const D=_({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(e){const t=e,n=P(()=>t.tag??(t.href?"a":"span")),a=P(()=>t.href&&Me.test(t.href)||t.target==="_blank");return(s,i)=>(l(),g(E(n.value),{class:x(["VPLink",{link:e.href,"vp-external-link-icon":a.value,"no-icon":e.noIcon}]),href:e.href?r(me)(e.href):void 0,target:e.target??(a.value?"_blank":void 0),rel:e.rel??(a.value?"noreferrer":void 0)},{default:m(()=>[d(s.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),Et={class:"VPLastUpdated"},Dt=["datetime"],Ft=_({__name:"VPDocFooterLastUpdated",setup(e){const{theme:t,page:n,lang:a}=V(),s=P(()=>new Date(n.value.lastUpdated)),i=P(()=>s.value.toISOString()),c=S("");return j(()=>{X(()=>{var v,h,$;c.value=new Intl.DateTimeFormat((h=(v=t.value.lastUpdated)==null?void 0:v.formatOptions)!=null&&h.forceLocale?a.value:void 0,(($=t.value.lastUpdated)==null?void 0:$.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(s.value)})}),(v,h)=>{var $;return l(),u("p",Et,[I(M((($=r(t).lastUpdated)==null?void 0:$.text)||r(t).lastUpdatedText||"Last updated")+": ",1),o("time",{datetime:i.value},M(c.value),9,Dt)])}}}),Ot=y(Ft,[["__scopeId","data-v-1bb0c8a8"]]),zt={key:0,class:"VPDocFooter"},Gt={key:0,class:"edit-info"},Ut={key:0,class:"edit-link"},jt={key:1,class:"last-updated"},qt={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},Rt={class:"pager"},Wt=["innerHTML"],Kt=["innerHTML"],Jt={class:"pager"},Yt=["innerHTML"],Zt=["innerHTML"],Xt=_({__name:"VPDocFooter",setup(e){const{theme:t,page:n,frontmatter:a}=V(),s=At(),i=Ct(),c=P(()=>t.value.editLink&&a.value.editLink!==!1),v=P(()=>n.value.lastUpdated),h=P(()=>c.value||v.value||i.value.prev||i.value.next);return($,f)=>{var p,L,T,N;return h.value?(l(),u("footer",zt,[d($.$slots,"doc-footer-before",{},void 0,!0),c.value||v.value?(l(),u("div",Gt,[c.value?(l(),u("div",Ut,[k(D,{class:"edit-link-button",href:r(s).url,"no-icon":!0},{default:m(()=>[f[0]||(f[0]=o("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),I(" "+M(r(s).text),1)]),_:1},8,["href"])])):b("",!0),v.value?(l(),u("div",jt,[k(Ot)])):b("",!0)])):b("",!0),(p=r(i).prev)!=null&&p.link||(L=r(i).next)!=null&&L.link?(l(),u("nav",qt,[f[1]||(f[1]=o("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),o("div",Rt,[(T=r(i).prev)!=null&&T.link?(l(),g(D,{key:0,class:"pager-link prev",href:r(i).prev.link},{default:m(()=>{var H;return[o("span",{class:"desc",innerHTML:((H=r(t).docFooter)==null?void 0:H.prev)||"Previous page"},null,8,Wt),o("span",{class:"title",innerHTML:r(i).prev.text},null,8,Kt)]}),_:1},8,["href"])):b("",!0)]),o("div",Jt,[(N=r(i).next)!=null&&N.link?(l(),g(D,{key:0,class:"pager-link next",href:r(i).next.link},{default:m(()=>{var H;return[o("span",{class:"desc",innerHTML:((H=r(t).docFooter)==null?void 0:H.next)||"Next page"},null,8,Yt),o("span",{class:"title",innerHTML:r(i).next.text},null,8,Zt)]}),_:1},8,["href"])):b("",!0)])])):b("",!0)])):b("",!0)}}}),Qt=y(Xt,[["__scopeId","data-v-1bcd8184"]]),en={class:"container"},tn={class:"aside-container"},nn={class:"aside-content"},an={class:"content"},sn={class:"content-container"},on={class:"main"},ln=_({__name:"VPDoc",setup(e){const{theme:t}=V(),n=ee(),{hasSidebar:a,hasAside:s,leftAside:i}=z(),c=P(()=>n.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(v,h)=>{const $=W("Content");return l(),u("div",{class:x(["VPDoc",{"has-sidebar":r(a),"has-aside":r(s)}])},[d(v.$slots,"doc-top",{},void 0,!0),o("div",en,[r(s)?(l(),u("div",{key:0,class:x(["aside",{"left-aside":r(i)}])},[h[0]||(h[0]=o("div",{class:"aside-curtain"},null,-1)),o("div",tn,[o("div",nn,[k(Ht,null,{"aside-top":m(()=>[d(v.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":m(()=>[d(v.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":m(()=>[d(v.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":m(()=>[d(v.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":m(()=>[d(v.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":m(()=>[d(v.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):b("",!0),o("div",an,[o("div",sn,[d(v.$slots,"doc-before",{},void 0,!0),o("main",on,[k($,{class:x(["vp-doc",[c.value,r(t).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),k(Qt,null,{"doc-footer-before":m(()=>[d(v.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),d(v.$slots,"doc-after",{},void 0,!0)])])]),d(v.$slots,"doc-bottom",{},void 0,!0)],2)}}}),rn=y(ln,[["__scopeId","data-v-e6f2a212"]]),cn=_({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(e){const t=e,n=P(()=>t.href&&Me.test(t.href)),a=P(()=>t.tag||(t.href?"a":"button"));return(s,i)=>(l(),g(E(a.value),{class:x(["VPButton",[e.size,e.theme]]),href:e.href?r(me)(e.href):void 0,target:t.target??(n.value?"_blank":void 0),rel:t.rel??(n.value?"noreferrer":void 0)},{default:m(()=>[I(M(e.text),1)]),_:1},8,["class","href","target","rel"]))}}),un=y(cn,[["__scopeId","data-v-93dc4167"]]),dn=["src","alt"],vn=_({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(e){return(t,n)=>{const a=W("VPImage",!0);return e.image?(l(),u(w,{key:0},[typeof e.image=="string"||"src"in e.image?(l(),u("img",U({key:0,class:"VPImage"},typeof e.image=="string"?t.$attrs:{...e.image,...t.$attrs},{src:r(q)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,dn)):(l(),u(w,{key:1},[k(a,U({class:"dark",image:e.image.dark,alt:e.image.alt},t.$attrs),null,16,["image","alt"]),k(a,U({class:"light",image:e.image.light,alt:e.image.alt},t.$attrs),null,16,["image","alt"])],64))],64)):b("",!0)}}}),Z=y(vn,[["__scopeId","data-v-ab19afbb"]]),hn={class:"container"},fn={class:"main"},mn={class:"heading"},pn=["innerHTML"],kn=["innerHTML"],bn=["innerHTML"],_n={key:0,class:"actions"},gn={key:0,class:"image"},$n={class:"image-container"},yn=_({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(e){const t=te("hero-image-slot-exists");return(n,a)=>(l(),u("div",{class:x(["VPHero",{"has-image":e.image||r(t)}])},[o("div",hn,[o("div",fn,[d(n.$slots,"home-hero-info-before",{},void 0,!0),d(n.$slots,"home-hero-info",{},()=>[o("h1",mn,[e.name?(l(),u("span",{key:0,innerHTML:e.name,class:"name clip"},null,8,pn)):b("",!0),e.text?(l(),u("span",{key:1,innerHTML:e.text,class:"text"},null,8,kn)):b("",!0)]),e.tagline?(l(),u("p",{key:0,innerHTML:e.tagline,class:"tagline"},null,8,bn)):b("",!0)],!0),d(n.$slots,"home-hero-info-after",{},void 0,!0),e.actions?(l(),u("div",_n,[(l(!0),u(w,null,A(e.actions,s=>(l(),u("div",{key:s.link,class:"action"},[k(un,{tag:"a",size:"medium",theme:s.theme,text:s.text,href:s.link,target:s.target,rel:s.rel},null,8,["theme","text","href","target","rel"])]))),128))])):b("",!0),d(n.$slots,"home-hero-actions-after",{},void 0,!0)]),e.image||r(t)?(l(),u("div",gn,[o("div",$n,[a[0]||(a[0]=o("div",{class:"image-bg"},null,-1)),d(n.$slots,"home-hero-image",{},()=>[e.image?(l(),g(Z,{key:0,class:"image-src",image:e.image},null,8,["image"])):b("",!0)],!0)])])):b("",!0)])],2))}}),Pn=y(yn,[["__scopeId","data-v-dd8814ff"]]),Ln=_({__name:"VPHomeHero",setup(e){const{frontmatter:t}=V();return(n,a)=>r(t).hero?(l(),g(Pn,{key:0,class:"VPHomeHero",name:r(t).hero.name,text:r(t).hero.text,tagline:r(t).hero.tagline,image:r(t).hero.image,actions:r(t).hero.actions},{"home-hero-info-before":m(()=>[d(n.$slots,"home-hero-info-before")]),"home-hero-info":m(()=>[d(n.$slots,"home-hero-info")]),"home-hero-info-after":m(()=>[d(n.$slots,"home-hero-info-after")]),"home-hero-actions-after":m(()=>[d(n.$slots,"home-hero-actions-after")]),"home-hero-image":m(()=>[d(n.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):b("",!0)}}),Vn={class:"box"},Mn={key:0,class:"icon"},Sn=["innerHTML"],xn=["innerHTML"],Tn=["innerHTML"],wn={key:4,class:"link-text"},Nn={class:"link-text-value"},In=_({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(e){return(t,n)=>(l(),g(D,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:m(()=>[o("article",Vn,[typeof e.icon=="object"&&e.icon.wrap?(l(),u("div",Mn,[k(Z,{image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])])):typeof e.icon=="object"?(l(),g(Z,{key:1,image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])):e.icon?(l(),u("div",{key:2,class:"icon",innerHTML:e.icon},null,8,Sn)):b("",!0),o("h2",{class:"title",innerHTML:e.title},null,8,xn),e.details?(l(),u("p",{key:3,class:"details",innerHTML:e.details},null,8,Tn)):b("",!0),e.linkText?(l(),u("div",wn,[o("p",Nn,[I(M(e.linkText)+" ",1),n[0]||(n[0]=o("span",{class:"vpi-arrow-right link-text-icon"},null,-1))])])):b("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Hn=y(In,[["__scopeId","data-v-bd37d1a2"]]),An={key:0,class:"VPFeatures"},Cn={class:"container"},Bn={class:"items"},En=_({__name:"VPFeatures",props:{features:{}},setup(e){const t=e,n=P(()=>{const a=t.features.length;if(a){if(a===2)return"grid-2";if(a===3)return"grid-3";if(a%3===0)return"grid-6";if(a>3)return"grid-4"}else return});return(a,s)=>e.features?(l(),u("div",An,[o("div",Cn,[o("div",Bn,[(l(!0),u(w,null,A(e.features,i=>(l(),u("div",{key:i.title,class:x(["item",[n.value]])},[k(Hn,{icon:i.icon,title:i.title,details:i.details,link:i.link,"link-text":i.linkText,rel:i.rel,target:i.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):b("",!0)}}),Dn=y(En,[["__scopeId","data-v-b1eea84a"]]),Fn=_({__name:"VPHomeFeatures",setup(e){const{frontmatter:t}=V();return(n,a)=>r(t).features?(l(),g(Dn,{key:0,class:"VPHomeFeatures",features:r(t).features},null,8,["features"])):b("",!0)}}),On=_({__name:"VPHomeContent",setup(e){const{width:t}=Ge({initialWidth:0,includeScrollbar:!1});return(n,a)=>(l(),u("div",{class:"vp-doc container",style:Se(r(t)?{"--vp-offset":`calc(50% - ${r(t)/2}px)`}:{})},[d(n.$slots,"default",{},void 0,!0)],4))}}),zn=y(On,[["__scopeId","data-v-c141a4bd"]]),Gn=_({__name:"VPHome",setup(e){const{frontmatter:t,theme:n}=V();return(a,s)=>{const i=W("Content");return l(),u("div",{class:x(["VPHome",{"external-link-icon-enabled":r(n).externalLinkIcon}])},[d(a.$slots,"home-hero-before",{},void 0,!0),k(Ln,null,{"home-hero-info-before":m(()=>[d(a.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":m(()=>[d(a.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":m(()=>[d(a.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":m(()=>[d(a.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":m(()=>[d(a.$slots,"home-hero-image",{},void 0,!0)]),_:3}),d(a.$slots,"home-hero-after",{},void 0,!0),d(a.$slots,"home-features-before",{},void 0,!0),k(Fn),d(a.$slots,"home-features-after",{},void 0,!0),r(t).markdownStyles!==!1?(l(),g(zn,{key:0},{default:m(()=>[k(i)]),_:1})):(l(),g(i,{key:1}))],2)}}}),Un=y(Gn,[["__scopeId","data-v-e07eaea7"]]),jn={},qn={class:"VPPage"};function Rn(e,t){const n=W("Content");return l(),u("div",qn,[d(e.$slots,"page-top"),k(n),d(e.$slots,"page-bottom")])}const Wn=y(jn,[["render",Rn]]),Kn=_({__name:"VPContent",setup(e){const{page:t,frontmatter:n}=V(),{hasSidebar:a}=z();return(s,i)=>(l(),u("div",{class:x(["VPContent",{"has-sidebar":r(a),"is-home":r(n).layout==="home"}]),id:"VPContent"},[r(t).isNotFound?d(s.$slots,"not-found",{},()=>[k(dt)],!0,0):r(n).layout==="page"?(l(),g(Wn,{key:1},{"page-top":m(()=>[d(s.$slots,"page-top",{},void 0,!0)]),"page-bottom":m(()=>[d(s.$slots,"page-bottom",{},void 0,!0)]),_:3})):r(n).layout==="home"?(l(),g(Un,{key:2},{"home-hero-before":m(()=>[d(s.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":m(()=>[d(s.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":m(()=>[d(s.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":m(()=>[d(s.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":m(()=>[d(s.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":m(()=>[d(s.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":m(()=>[d(s.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":m(()=>[d(s.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":m(()=>[d(s.$slots,"home-features-after",{},void 0,!0)]),_:3})):r(n).layout&&r(n).layout!=="doc"?(l(),g(E(r(n).layout),{key:3})):(l(),g(rn,{key:4},{"doc-top":m(()=>[d(s.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":m(()=>[d(s.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":m(()=>[d(s.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":m(()=>[d(s.$slots,"doc-before",{},void 0,!0)]),"doc-after":m(()=>[d(s.$slots,"doc-after",{},void 0,!0)]),"aside-top":m(()=>[d(s.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":m(()=>[d(s.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":m(()=>[d(s.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":m(()=>[d(s.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":m(()=>[d(s.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":m(()=>[d(s.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),Jn=y(Kn,[["__scopeId","data-v-9a6c75ad"]]),Yn={class:"container"},Zn=["innerHTML"],Xn=["innerHTML"],Qn=_({__name:"VPFooter",setup(e){const{theme:t,frontmatter:n}=V(),{hasSidebar:a}=z();return(s,i)=>r(t).footer&&r(n).footer!==!1?(l(),u("footer",{key:0,class:x(["VPFooter",{"has-sidebar":r(a)}])},[o("div",Yn,[r(t).footer.message?(l(),u("p",{key:0,class:"message",innerHTML:r(t).footer.message},null,8,Zn)):b("",!0),r(t).footer.copyright?(l(),u("p",{key:1,class:"copyright",innerHTML:r(t).footer.copyright},null,8,Xn)):b("",!0)])],2)):b("",!0)}}),ea=y(Qn,[["__scopeId","data-v-566314d4"]]);function ta(){const{theme:e,frontmatter:t}=V(),n=Ve([]),a=P(()=>n.value.length>0);return Q(()=>{n.value=pe(t.value.outline??e.value.outline)}),{headers:n,hasLocalNav:a}}const na={class:"menu-text"},aa={class:"header"},sa={class:"outline"},oa=_({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(e){const t=e,{theme:n}=V(),a=S(!1),s=S(0),i=S(),c=S();function v(p){var L;(L=i.value)!=null&&L.contains(p.target)||(a.value=!1)}O(a,p=>{if(p){document.addEventListener("click",v);return}document.removeEventListener("click",v)}),ie("Escape",()=>{a.value=!1}),Q(()=>{a.value=!1});function h(){a.value=!a.value,s.value=window.innerHeight+Math.min(window.scrollY-t.navHeight,0)}function $(p){p.target.classList.contains("outline-link")&&(c.value&&(c.value.style.transition="none"),xe(()=>{a.value=!1}))}function f(){a.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(p,L)=>(l(),u("div",{class:"VPLocalNavOutlineDropdown",style:Se({"--vp-vh":s.value+"px"}),ref_key:"main",ref:i},[e.headers.length>0?(l(),u("button",{key:0,onClick:h,class:x({open:a.value})},[o("span",na,M(r(He)(r(n))),1),L[0]||(L[0]=o("span",{class:"vpi-chevron-right icon"},null,-1))],2)):(l(),u("button",{key:1,onClick:f},M(r(n).returnToTopLabel||"Return to top"),1)),k(ve,{name:"flyout"},{default:m(()=>[a.value?(l(),u("div",{key:0,ref_key:"items",ref:c,class:"items",onClick:$},[o("div",aa,[o("a",{class:"top-link",href:"#",onClick:f},M(r(n).returnToTopLabel||"Return to top"),1)]),o("div",sa,[k(Ae,{headers:e.headers},null,8,["headers"])])],512)):b("",!0)]),_:1})],4))}}),la=y(oa,[["__scopeId","data-v-6b867909"]]),ra={class:"container"},ia=["aria-expanded"],ca={class:"menu-text"},ua=_({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(e){const{theme:t,frontmatter:n}=V(),{hasSidebar:a}=z(),{headers:s}=ta(),{y:i}=Te(),c=S(0);j(()=>{c.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),Q(()=>{s.value=pe(n.value.outline??t.value.outline)});const v=P(()=>s.value.length===0),h=P(()=>v.value&&!a.value),$=P(()=>({VPLocalNav:!0,"has-sidebar":a.value,empty:v.value,fixed:h.value}));return(f,p)=>r(n).layout!=="home"&&(!h.value||r(i)>=c.value)?(l(),u("div",{key:0,class:x($.value)},[o("div",ra,[r(a)?(l(),u("button",{key:0,class:"menu","aria-expanded":e.open,"aria-controls":"VPSidebarNav",onClick:p[0]||(p[0]=L=>f.$emit("open-menu"))},[p[1]||(p[1]=o("span",{class:"vpi-align-left menu-icon"},null,-1)),o("span",ca,M(r(t).sidebarMenuLabel||"Menu"),1)],8,ia)):b("",!0),k(la,{headers:r(s),navHeight:c.value},null,8,["headers","navHeight"])])],2)):b("",!0)}}),da=y(ua,[["__scopeId","data-v-2488c25a"]]);function va(){const e=S(!1);function t(){e.value=!0,window.addEventListener("resize",s)}function n(){e.value=!1,window.removeEventListener("resize",s)}function a(){e.value?n():t()}function s(){window.outerWidth>=768&&n()}const i=ee();return O(()=>i.path,n),{isScreenOpen:e,openScreen:t,closeScreen:n,toggleScreen:a}}const ha={},fa={class:"VPSwitch",type:"button",role:"switch"},ma={class:"check"},pa={key:0,class:"icon"};function ka(e,t){return l(),u("button",fa,[o("span",ma,[e.$slots.default?(l(),u("span",pa,[d(e.$slots,"default",{},void 0,!0)])):b("",!0)])])}const ba=y(ha,[["render",ka],["__scopeId","data-v-b4ccac88"]]),_a=_({__name:"VPSwitchAppearance",setup(e){const{isDark:t,theme:n}=V(),a=te("toggle-appearance",()=>{t.value=!t.value}),s=S("");return fe(()=>{s.value=t.value?n.value.lightModeSwitchTitle||"Switch to light theme":n.value.darkModeSwitchTitle||"Switch to dark theme"}),(i,c)=>(l(),g(ba,{title:s.value,class:"VPSwitchAppearance","aria-checked":r(t),onClick:r(a)},{default:m(()=>[...c[0]||(c[0]=[o("span",{class:"vpi-sun sun"},null,-1),o("span",{class:"vpi-moon moon"},null,-1)])]),_:1},8,["title","aria-checked","onClick"]))}}),ke=y(_a,[["__scopeId","data-v-be9742d9"]]),ga={key:0,class:"VPNavBarAppearance"},$a=_({__name:"VPNavBarAppearance",setup(e){const{site:t}=V();return(n,a)=>r(t).appearance&&r(t).appearance!=="force-dark"&&r(t).appearance!=="force-auto"?(l(),u("div",ga,[k(ke)])):b("",!0)}}),ya=y($a,[["__scopeId","data-v-3f90c1a5"]]),be=S();let Ce=!1,le=0;function Pa(e){const t=S(!1);if(ne){!Ce&&La(),le++;const n=O(be,a=>{var s,i,c;a===e.el.value||(s=e.el.value)!=null&&s.contains(a)?(t.value=!0,(i=e.onFocus)==null||i.call(e)):(t.value=!1,(c=e.onBlur)==null||c.call(e))});he(()=>{n(),le--,le||Va()})}return Ue(t)}function La(){document.addEventListener("focusin",Be),Ce=!0,be.value=document.activeElement}function Va(){document.removeEventListener("focusin",Be)}function Be(){be.value=document.activeElement}const Ma={class:"VPMenuLink"},Sa=["innerHTML"],xa=_({__name:"VPMenuLink",props:{item:{}},setup(e){const{page:t}=V();return(n,a)=>(l(),u("div",Ma,[k(D,{class:x({active:r(R)(r(t).relativePath,e.item.activeMatch||e.item.link,!!e.item.activeMatch)}),href:e.item.link,target:e.item.target,rel:e.item.rel,"no-icon":e.item.noIcon},{default:m(()=>[o("span",{innerHTML:e.item.text},null,8,Sa)]),_:1},8,["class","href","target","rel","no-icon"])]))}}),ae=y(xa,[["__scopeId","data-v-7eeeb2dc"]]),Ta={class:"VPMenuGroup"},wa={key:0,class:"title"},Na=_({__name:"VPMenuGroup",props:{text:{},items:{}},setup(e){return(t,n)=>(l(),u("div",Ta,[e.text?(l(),u("p",wa,M(e.text),1)):b("",!0),(l(!0),u(w,null,A(e.items,a=>(l(),u(w,null,["link"in a?(l(),g(ae,{key:0,item:a},null,8,["item"])):b("",!0)],64))),256))]))}}),Ia=y(Na,[["__scopeId","data-v-a6b0397c"]]),Ha={class:"VPMenu"},Aa={key:0,class:"items"},Ca=_({__name:"VPMenu",props:{items:{}},setup(e){return(t,n)=>(l(),u("div",Ha,[e.items?(l(),u("div",Aa,[(l(!0),u(w,null,A(e.items,a=>(l(),u(w,{key:JSON.stringify(a)},["link"in a?(l(),g(ae,{key:0,item:a},null,8,["item"])):"component"in a?(l(),g(E(a.component),U({key:1,ref_for:!0},a.props),null,16)):(l(),g(Ia,{key:2,text:a.text,items:a.items},null,8,["text","items"]))],64))),128))])):b("",!0),d(t.$slots,"default",{},void 0,!0)]))}}),Ba=y(Ca,[["__scopeId","data-v-20ed86d6"]]),Ea=["aria-expanded","aria-label"],Da={key:0,class:"text"},Fa=["innerHTML"],Oa={key:1,class:"vpi-more-horizontal icon"},za={class:"menu"},Ga=_({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(e){const t=S(!1),n=S();Pa({el:n,onBlur:a});function a(){t.value=!1}return(s,i)=>(l(),u("div",{class:"VPFlyout",ref_key:"el",ref:n,onMouseenter:i[1]||(i[1]=c=>t.value=!0),onMouseleave:i[2]||(i[2]=c=>t.value=!1)},[o("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":t.value,"aria-label":e.label,onClick:i[0]||(i[0]=c=>t.value=!t.value)},[e.button||e.icon?(l(),u("span",Da,[e.icon?(l(),u("span",{key:0,class:x([e.icon,"option-icon"])},null,2)):b("",!0),e.button?(l(),u("span",{key:1,innerHTML:e.button},null,8,Fa)):b("",!0),i[3]||(i[3]=o("span",{class:"vpi-chevron-down text-icon"},null,-1))])):(l(),u("span",Oa))],8,Ea),o("div",za,[k(Ba,{items:e.items},{default:m(()=>[d(s.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),_e=y(Ga,[["__scopeId","data-v-bfe7971f"]]),Ua=["href","aria-label","innerHTML"],ja=_({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(e){const t=e,n=S();j(async()=>{var i;await xe();const s=(i=n.value)==null?void 0:i.children[0];s instanceof HTMLElement&&s.className.startsWith("vpi-social-")&&(getComputedStyle(s).maskImage||getComputedStyle(s).webkitMaskImage)==="none"&&s.style.setProperty("--icon",`url('https://api.iconify.design/simple-icons/${t.icon}.svg')`)});const a=P(()=>typeof t.icon=="object"?t.icon.svg:`<span class="vpi-social-${t.icon}"></span>`);return(s,i)=>(l(),u("a",{ref_key:"el",ref:n,class:"VPSocialLink no-icon",href:e.link,"aria-label":e.ariaLabel??(typeof e.icon=="string"?e.icon:""),target:"_blank",rel:"noopener",innerHTML:a.value},null,8,Ua))}}),qa=y(ja,[["__scopeId","data-v-60a9a2d3"]]),Ra={class:"VPSocialLinks"},Wa=_({__name:"VPSocialLinks",props:{links:{}},setup(e){return(t,n)=>(l(),u("div",Ra,[(l(!0),u(w,null,A(e.links,({link:a,icon:s,ariaLabel:i})=>(l(),g(qa,{key:a,icon:s,link:a,ariaLabel:i},null,8,["icon","link","ariaLabel"]))),128))]))}}),ge=y(Wa,[["__scopeId","data-v-e71e869c"]]),Ka={key:0,class:"group translations"},Ja={class:"trans-title"},Ya={key:1,class:"group"},Za={class:"item appearance"},Xa={class:"label"},Qa={class:"appearance-action"},es={key:2,class:"group"},ts={class:"item social-links"},ns=_({__name:"VPNavBarExtra",setup(e){const{site:t,theme:n}=V(),{localeLinks:a,currentLang:s}=J({correspondingLink:!0}),i=P(()=>a.value.length&&s.value.label||t.value.appearance||n.value.socialLinks);return(c,v)=>i.value?(l(),g(_e,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:m(()=>[r(a).length&&r(s).label?(l(),u("div",Ka,[o("p",Ja,M(r(s).label),1),(l(!0),u(w,null,A(r(a),h=>(l(),g(ae,{key:h.link,item:h},null,8,["item"]))),128))])):b("",!0),r(t).appearance&&r(t).appearance!=="force-dark"&&r(t).appearance!=="force-auto"?(l(),u("div",Ya,[o("div",Za,[o("p",Xa,M(r(n).darkModeSwitchLabel||"Appearance"),1),o("div",Qa,[k(ke)])])])):b("",!0),r(n).socialLinks?(l(),u("div",es,[o("div",ts,[k(ge,{class:"social-links-list",links:r(n).socialLinks},null,8,["links"])])])):b("",!0)]),_:1})):b("",!0)}}),as=y(ns,[["__scopeId","data-v-f953d92f"]]),ss=["aria-expanded"],os=_({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(e){return(t,n)=>(l(),u("button",{type:"button",class:x(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:n[0]||(n[0]=a=>t.$emit("click"))},[...n[1]||(n[1]=[o("span",{class:"container"},[o("span",{class:"top"}),o("span",{class:"middle"}),o("span",{class:"bottom"})],-1)])],10,ss))}}),ls=y(os,[["__scopeId","data-v-6bee1efd"]]),rs=["innerHTML"],is=_({__name:"VPNavBarMenuLink",props:{item:{}},setup(e){const{page:t}=V();return(n,a)=>(l(),g(D,{class:x({VPNavBarMenuLink:!0,active:r(R)(r(t).relativePath,e.item.activeMatch||e.item.link,!!e.item.activeMatch)}),href:e.item.link,target:e.item.target,rel:e.item.rel,"no-icon":e.item.noIcon,tabindex:"0"},{default:m(()=>[o("span",{innerHTML:e.item.text},null,8,rs)]),_:1},8,["class","href","target","rel","no-icon"]))}}),cs=y(is,[["__scopeId","data-v-815115f5"]]),us=_({__name:"VPNavBarMenuGroup",props:{item:{}},setup(e){const t=e,{page:n}=V(),a=i=>"component"in i?!1:"link"in i?R(n.value.relativePath,i.link,!!t.item.activeMatch):i.items.some(a),s=P(()=>a(t.item));return(i,c)=>(l(),g(_e,{class:x({VPNavBarMenuGroup:!0,active:r(R)(r(n).relativePath,e.item.activeMatch,!!e.item.activeMatch)||s.value}),button:e.item.text,items:e.item.items},null,8,["class","button","items"]))}}),ds={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},vs=_({__name:"VPNavBarMenu",setup(e){const{theme:t}=V();return(n,a)=>r(t).nav?(l(),u("nav",ds,[a[0]||(a[0]=o("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),(l(!0),u(w,null,A(r(t).nav,s=>(l(),u(w,{key:JSON.stringify(s)},["link"in s?(l(),g(cs,{key:0,item:s},null,8,["item"])):"component"in s?(l(),g(E(s.component),U({key:1,ref_for:!0},s.props),null,16)):(l(),g(us,{key:2,item:s},null,8,["item"]))],64))),128))])):b("",!0)}}),hs=y(vs,[["__scopeId","data-v-afb2845e"]]);function fs(e){const{localeIndex:t,theme:n}=V();function a(s){var N,H,C;const i=s.split("."),c=(N=n.value.search)==null?void 0:N.options,v=c&&typeof c=="object",h=v&&((C=(H=c.locales)==null?void 0:H[t.value])==null?void 0:C.translations)||null,$=v&&c.translations||null;let f=h,p=$,L=e;const T=i.pop();for(const B of i){let G=null;const K=L==null?void 0:L[B];K&&(G=L=K);const se=p==null?void 0:p[B];se&&(G=p=se);const oe=f==null?void 0:f[B];oe&&(G=f=oe),K||(L=G),se||(p=G),oe||(f=G)}return(f==null?void 0:f[T])??(p==null?void 0:p[T])??(L==null?void 0:L[T])??""}return a}const ms=["aria-label"],ps={class:"DocSearch-Button-Container"},ks={class:"DocSearch-Button-Placeholder"},ye=_({__name:"VPNavBarSearchButton",setup(e){const n=fs({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(a,s)=>(l(),u("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":r(n)("button.buttonAriaLabel")},[o("span",ps,[s[0]||(s[0]=o("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1)),o("span",ks,M(r(n)("button.buttonText")),1)]),s[1]||(s[1]=o("span",{class:"DocSearch-Button-Keys"},[o("kbd",{class:"DocSearch-Button-Key"}),o("kbd",{class:"DocSearch-Button-Key"},"K")],-1))],8,ms))}}),bs={class:"VPNavBarSearch"},_s={id:"local-search"},gs={key:1,id:"docsearch"},$s=_({__name:"VPNavBarSearch",setup(e){const t=je(()=>qe(()=>import("./VPLocalSearchBox.CIjDV0ax.js"),__vite__mapDeps([0,1]))),n=()=>null,{theme:a}=V(),s=S(!1),i=S(!1);j(()=>{});function c(){s.value||(s.value=!0,setTimeout(v,16))}function v(){const p=new Event("keydown");p.key="k",p.metaKey=!0,window.dispatchEvent(p),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||v()},16)}function h(p){const L=p.target,T=L.tagName;return L.isContentEditable||T==="INPUT"||T==="SELECT"||T==="TEXTAREA"}const $=S(!1);ie("k",p=>{(p.ctrlKey||p.metaKey)&&(p.preventDefault(),$.value=!0)}),ie("/",p=>{h(p)||(p.preventDefault(),$.value=!0)});const f="local";return(p,L)=>{var T;return l(),u("div",bs,[r(f)==="local"?(l(),u(w,{key:0},[$.value?(l(),g(r(t),{key:0,onClose:L[0]||(L[0]=N=>$.value=!1)})):b("",!0),o("div",_s,[k(ye,{onClick:L[1]||(L[1]=N=>$.value=!0)})])],64)):r(f)==="algolia"?(l(),u(w,{key:1},[s.value?(l(),g(r(n),{key:0,algolia:((T=r(a).search)==null?void 0:T.options)??r(a).algolia,onVnodeBeforeMount:L[2]||(L[2]=N=>i.value=!0)},null,8,["algolia"])):b("",!0),i.value?b("",!0):(l(),u("div",gs,[k(ye,{onClick:c})]))],64)):b("",!0)])}}}),ys=_({__name:"VPNavBarSocialLinks",setup(e){const{theme:t}=V();return(n,a)=>r(t).socialLinks?(l(),g(ge,{key:0,class:"VPNavBarSocialLinks",links:r(t).socialLinks},null,8,["links"])):b("",!0)}}),Ps=y(ys,[["__scopeId","data-v-ef6192dc"]]),Ls=["href","rel","target"],Vs=["innerHTML"],Ms={key:2},Ss=_({__name:"VPNavBarTitle",setup(e){const{site:t,theme:n}=V(),{hasSidebar:a}=z(),{currentLang:s}=J(),i=P(()=>{var h;return typeof n.value.logoLink=="string"?n.value.logoLink:(h=n.value.logoLink)==null?void 0:h.link}),c=P(()=>{var h;return typeof n.value.logoLink=="string"||(h=n.value.logoLink)==null?void 0:h.rel}),v=P(()=>{var h;return typeof n.value.logoLink=="string"||(h=n.value.logoLink)==null?void 0:h.target});return(h,$)=>(l(),u("div",{class:x(["VPNavBarTitle",{"has-sidebar":r(a)}])},[o("a",{class:"title",href:i.value??r(me)(r(s).link),rel:c.value,target:v.value},[d(h.$slots,"nav-bar-title-before",{},void 0,!0),r(n).logo?(l(),g(Z,{key:0,class:"logo",image:r(n).logo},null,8,["image"])):b("",!0),r(n).siteTitle?(l(),u("span",{key:1,innerHTML:r(n).siteTitle},null,8,Vs)):r(n).siteTitle===void 0?(l(),u("span",Ms,M(r(t).title),1)):b("",!0),d(h.$slots,"nav-bar-title-after",{},void 0,!0)],8,Ls)],2))}}),xs=y(Ss,[["__scopeId","data-v-9f43907a"]]),Ts={class:"items"},ws={class:"title"},Ns=_({__name:"VPNavBarTranslations",setup(e){const{theme:t}=V(),{localeLinks:n,currentLang:a}=J({correspondingLink:!0});return(s,i)=>r(n).length&&r(a).label?(l(),g(_e,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:r(t).langMenuLabel||"Change language"},{default:m(()=>[o("div",Ts,[o("p",ws,M(r(a).label),1),(l(!0),u(w,null,A(r(n),c=>(l(),g(ae,{key:c.link,item:c},null,8,["item"]))),128))])]),_:1},8,["label"])):b("",!0)}}),Is=y(Ns,[["__scopeId","data-v-acee064b"]]),Hs={class:"wrapper"},As={class:"container"},Cs={class:"title"},Bs={class:"content"},Es={class:"content-body"},Ds=_({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(e){const t=e,{y:n}=Te(),{hasSidebar:a}=z(),{frontmatter:s}=V(),i=S({});return fe(()=>{i.value={"has-sidebar":a.value,home:s.value.layout==="home",top:n.value===0,"screen-open":t.isScreenOpen}}),(c,v)=>(l(),u("div",{class:x(["VPNavBar",i.value])},[o("div",Hs,[o("div",As,[o("div",Cs,[k(xs,null,{"nav-bar-title-before":m(()=>[d(c.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":m(()=>[d(c.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),o("div",Bs,[o("div",Es,[d(c.$slots,"nav-bar-content-before",{},void 0,!0),k($s,{class:"search"}),k(hs,{class:"menu"}),k(Is,{class:"translations"}),k(ya,{class:"appearance"}),k(Ps,{class:"social-links"}),k(as,{class:"extra"}),d(c.$slots,"nav-bar-content-after",{},void 0,!0),k(ls,{class:"hamburger",active:e.isScreenOpen,onClick:v[0]||(v[0]=h=>c.$emit("toggle-screen"))},null,8,["active"])])])])]),v[1]||(v[1]=o("div",{class:"divider"},[o("div",{class:"divider-line"})],-1))],2))}}),Fs=y(Ds,[["__scopeId","data-v-9fd4d1dd"]]),Os={key:0,class:"VPNavScreenAppearance"},zs={class:"text"},Gs=_({__name:"VPNavScreenAppearance",setup(e){const{site:t,theme:n}=V();return(a,s)=>r(t).appearance&&r(t).appearance!=="force-dark"&&r(t).appearance!=="force-auto"?(l(),u("div",Os,[o("p",zs,M(r(n).darkModeSwitchLabel||"Appearance"),1),k(ke)])):b("",!0)}}),Us=y(Gs,[["__scopeId","data-v-a3e2920d"]]),js=["innerHTML"],qs=_({__name:"VPNavScreenMenuLink",props:{item:{}},setup(e){const t=te("close-screen");return(n,a)=>(l(),g(D,{class:"VPNavScreenMenuLink",href:e.item.link,target:e.item.target,rel:e.item.rel,"no-icon":e.item.noIcon,onClick:r(t)},{default:m(()=>[o("span",{innerHTML:e.item.text},null,8,js)]),_:1},8,["href","target","rel","no-icon","onClick"]))}}),Rs=y(qs,[["__scopeId","data-v-fa963d97"]]),Ws=["innerHTML"],Ks=_({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(e){const t=te("close-screen");return(n,a)=>(l(),g(D,{class:"VPNavScreenMenuGroupLink",href:e.item.link,target:e.item.target,rel:e.item.rel,"no-icon":e.item.noIcon,onClick:r(t)},{default:m(()=>[o("span",{innerHTML:e.item.text},null,8,Ws)]),_:1},8,["href","target","rel","no-icon","onClick"]))}}),Ee=y(Ks,[["__scopeId","data-v-e04f3e85"]]),Js={class:"VPNavScreenMenuGroupSection"},Ys={key:0,class:"title"},Zs=_({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(e){return(t,n)=>(l(),u("div",Js,[e.text?(l(),u("p",Ys,M(e.text),1)):b("",!0),(l(!0),u(w,null,A(e.items,a=>(l(),g(Ee,{key:a.text,item:a},null,8,["item"]))),128))]))}}),Xs=y(Zs,[["__scopeId","data-v-f60dbfa7"]]),Qs=["aria-controls","aria-expanded"],eo=["innerHTML"],to=["id"],no={key:0,class:"item"},ao={key:1,class:"item"},so={key:2,class:"group"},oo=_({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(e){const t=e,n=S(!1),a=P(()=>`NavScreenGroup-${t.text.replace(" ","-").toLowerCase()}`);function s(){n.value=!n.value}return(i,c)=>(l(),u("div",{class:x(["VPNavScreenMenuGroup",{open:n.value}])},[o("button",{class:"button","aria-controls":a.value,"aria-expanded":n.value,onClick:s},[o("span",{class:"button-text",innerHTML:e.text},null,8,eo),c[0]||(c[0]=o("span",{class:"vpi-plus button-icon"},null,-1))],8,Qs),o("div",{id:a.value,class:"items"},[(l(!0),u(w,null,A(e.items,v=>(l(),u(w,{key:JSON.stringify(v)},["link"in v?(l(),u("div",no,[k(Ee,{item:v},null,8,["item"])])):"component"in v?(l(),u("div",ao,[(l(),g(E(v.component),U({ref_for:!0},v.props,{"screen-menu":""}),null,16))])):(l(),u("div",so,[k(Xs,{text:v.text,items:v.items},null,8,["text","items"])]))],64))),128))],8,to)],2))}}),lo=y(oo,[["__scopeId","data-v-d99bfeec"]]),ro={key:0,class:"VPNavScreenMenu"},io=_({__name:"VPNavScreenMenu",setup(e){const{theme:t}=V();return(n,a)=>r(t).nav?(l(),u("nav",ro,[(l(!0),u(w,null,A(r(t).nav,s=>(l(),u(w,{key:JSON.stringify(s)},["link"in s?(l(),g(Rs,{key:0,item:s},null,8,["item"])):"component"in s?(l(),g(E(s.component),U({key:1,ref_for:!0},s.props,{"screen-menu":""}),null,16)):(l(),g(lo,{key:2,text:s.text||"",items:s.items},null,8,["text","items"]))],64))),128))])):b("",!0)}}),co=_({__name:"VPNavScreenSocialLinks",setup(e){const{theme:t}=V();return(n,a)=>r(t).socialLinks?(l(),g(ge,{key:0,class:"VPNavScreenSocialLinks",links:r(t).socialLinks},null,8,["links"])):b("",!0)}}),uo={class:"list"},vo=_({__name:"VPNavScreenTranslations",setup(e){const{localeLinks:t,currentLang:n}=J({correspondingLink:!0}),a=S(!1);function s(){a.value=!a.value}return(i,c)=>r(t).length&&r(n).label?(l(),u("div",{key:0,class:x(["VPNavScreenTranslations",{open:a.value}])},[o("button",{class:"title",onClick:s},[c[0]||(c[0]=o("span",{class:"vpi-languages icon lang"},null,-1)),I(" "+M(r(n).label)+" ",1),c[1]||(c[1]=o("span",{class:"vpi-chevron-down icon chevron"},null,-1))]),o("ul",uo,[(l(!0),u(w,null,A(r(t),v=>(l(),u("li",{key:v.link,class:"item"},[k(D,{class:"link",href:v.link},{default:m(()=>[I(M(v.text),1)]),_:2},1032,["href"])]))),128))])],2)):b("",!0)}}),ho=y(vo,[["__scopeId","data-v-516e4bc3"]]),fo={class:"container"},mo=_({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(e){const t=S(null),n=we(ne?document.body:null);return(a,s)=>(l(),g(ve,{name:"fade",onEnter:s[0]||(s[0]=i=>n.value=!0),onAfterLeave:s[1]||(s[1]=i=>n.value=!1)},{default:m(()=>[e.open?(l(),u("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:t,id:"VPNavScreen"},[o("div",fo,[d(a.$slots,"nav-screen-content-before",{},void 0,!0),k(io,{class:"menu"}),k(ho,{class:"translations"}),k(Us,{class:"appearance"}),k(co,{class:"social-links"}),d(a.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):b("",!0)]),_:3}))}}),po=y(mo,[["__scopeId","data-v-2dd6d0c7"]]),ko={key:0,class:"VPNav"},bo=_({__name:"VPNav",setup(e){const{isScreenOpen:t,closeScreen:n,toggleScreen:a}=va(),{frontmatter:s}=V(),i=P(()=>s.value.navbar!==!1);return Ne("close-screen",n),X(()=>{ne&&document.documentElement.classList.toggle("hide-nav",!i.value)}),(c,v)=>i.value?(l(),u("header",ko,[k(Fs,{"is-screen-open":r(t),onToggleScreen:r(a)},{"nav-bar-title-before":m(()=>[d(c.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":m(()=>[d(c.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":m(()=>[d(c.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":m(()=>[d(c.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),k(po,{open:r(t)},{"nav-screen-content-before":m(()=>[d(c.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":m(()=>[d(c.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):b("",!0)}}),_o=y(bo,[["__scopeId","data-v-7ad780c2"]]),go=["role","tabindex"],$o={key:1,class:"items"},yo=_({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(e){const t=e,{collapsed:n,collapsible:a,isLink:s,isActiveLink:i,hasActiveLink:c,hasChildren:v,toggle:h}=mt(P(()=>t.item)),$=P(()=>v.value?"section":"div"),f=P(()=>s.value?"a":"div"),p=P(()=>v.value?t.depth+2===7?"p":`h${t.depth+2}`:"p"),L=P(()=>s.value?void 0:"button"),T=P(()=>[[`level-${t.depth}`],{collapsible:a.value},{collapsed:n.value},{"is-link":s.value},{"is-active":i.value},{"has-active":c.value}]);function N(C){"key"in C&&C.key!=="Enter"||!t.item.link&&h()}function H(){t.item.link&&h()}return(C,B)=>{const G=W("VPSidebarItem",!0);return l(),g(E($.value),{class:x(["VPSidebarItem",T.value])},{default:m(()=>[e.item.text?(l(),u("div",U({key:0,class:"item",role:L.value},Re(e.item.items?{click:N,keydown:N}:{},!0),{tabindex:e.item.items&&0}),[B[1]||(B[1]=o("div",{class:"indicator"},null,-1)),e.item.link?(l(),g(D,{key:0,tag:f.value,class:"link",href:e.item.link,rel:e.item.rel,target:e.item.target},{default:m(()=>[(l(),g(E(p.value),{class:"text",innerHTML:e.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(l(),g(E(p.value),{key:1,class:"text",innerHTML:e.item.text},null,8,["innerHTML"])),e.item.collapsed!=null&&e.item.items&&e.item.items.length?(l(),u("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:H,onKeydown:We(H,["enter"]),tabindex:"0"},[...B[0]||(B[0]=[o("span",{class:"vpi-chevron-right caret-icon"},null,-1)])],32)):b("",!0)],16,go)):b("",!0),e.item.items&&e.item.items.length?(l(),u("div",$o,[e.depth<5?(l(!0),u(w,{key:0},A(e.item.items,K=>(l(),g(G,{key:K.text,item:K,depth:e.depth+1},null,8,["item","depth"]))),128)):b("",!0)])):b("",!0)]),_:1},8,["class"])}}}),Po=y(yo,[["__scopeId","data-v-0009425e"]]),Lo=_({__name:"VPSidebarGroup",props:{items:{}},setup(e){const t=S(!0);let n=null;return j(()=>{n=setTimeout(()=>{n=null,t.value=!1},300)}),Ke(()=>{n!=null&&(clearTimeout(n),n=null)}),(a,s)=>(l(!0),u(w,null,A(e.items,i=>(l(),u("div",{key:i.text,class:x(["group",{"no-transition":t.value}])},[k(Po,{item:i,depth:0},null,8,["item"])],2))),128))}}),Vo=y(Lo,[["__scopeId","data-v-51288d80"]]),Mo={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},So=_({__name:"VPSidebar",props:{open:{type:Boolean}},setup(e){const{sidebarGroups:t,hasSidebar:n}=z(),a=e,s=S(null),i=we(ne?document.body:null);O([a,s],()=>{var v;a.open?(i.value=!0,(v=s.value)==null||v.focus()):i.value=!1},{immediate:!0,flush:"post"});const c=S(0);return O(t,()=>{c.value+=1},{deep:!0}),(v,h)=>r(n)?(l(),u("aside",{key:0,class:x(["VPSidebar",{open:e.open}]),ref_key:"navEl",ref:s,onClick:h[0]||(h[0]=Je(()=>{},["stop"]))},[h[2]||(h[2]=o("div",{class:"curtain"},null,-1)),o("nav",Mo,[h[1]||(h[1]=o("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),d(v.$slots,"sidebar-nav-before",{},void 0,!0),(l(),g(Vo,{items:r(t),key:c.value},null,8,["items"])),d(v.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):b("",!0)}}),xo=y(So,[["__scopeId","data-v-42c4c606"]]),To=_({__name:"VPSkipLink",setup(e){const{theme:t}=V(),n=ee(),a=S();O(()=>n.path,()=>a.value.focus());function s({target:i}){const c=document.getElementById(decodeURIComponent(i.hash).slice(1));if(c){const v=()=>{c.removeAttribute("tabindex"),c.removeEventListener("blur",v)};c.setAttribute("tabindex","-1"),c.addEventListener("blur",v),c.focus(),window.scrollTo(0,0)}}return(i,c)=>(l(),u(w,null,[o("span",{ref_key:"backToTop",ref:a,tabindex:"-1"},null,512),o("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:s},M(r(t).skipToContentLabel||"Skip to content"),1)],64))}}),wo=y(To,[["__scopeId","data-v-fcbfc0e0"]]),No=_({__name:"Layout",setup(e){const{isOpen:t,open:n,close:a}=z(),s=ee();O(()=>s.path,a),ft(t,a);const{frontmatter:i}=V(),c=Ye(),v=P(()=>!!c["home-hero-image"]);return Ne("hero-image-slot-exists",v),(h,$)=>{const f=W("Content");return r(i).layout!==!1?(l(),u("div",{key:0,class:x(["Layout",r(i).pageClass])},[d(h.$slots,"layout-top",{},void 0,!0),k(wo),k(tt,{class:"backdrop",show:r(t),onClick:r(a)},null,8,["show","onClick"]),k(_o,null,{"nav-bar-title-before":m(()=>[d(h.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":m(()=>[d(h.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":m(()=>[d(h.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":m(()=>[d(h.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":m(()=>[d(h.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":m(()=>[d(h.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),k(da,{open:r(t),onOpenMenu:r(n)},null,8,["open","onOpenMenu"]),k(xo,{open:r(t)},{"sidebar-nav-before":m(()=>[d(h.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":m(()=>[d(h.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),k(Jn,null,{"page-top":m(()=>[d(h.$slots,"page-top",{},void 0,!0)]),"page-bottom":m(()=>[d(h.$slots,"page-bottom",{},void 0,!0)]),"not-found":m(()=>[d(h.$slots,"not-found",{},void 0,!0)]),"home-hero-before":m(()=>[d(h.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":m(()=>[d(h.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":m(()=>[d(h.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":m(()=>[d(h.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":m(()=>[d(h.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":m(()=>[d(h.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":m(()=>[d(h.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":m(()=>[d(h.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":m(()=>[d(h.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":m(()=>[d(h.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":m(()=>[d(h.$slots,"doc-before",{},void 0,!0)]),"doc-after":m(()=>[d(h.$slots,"doc-after",{},void 0,!0)]),"doc-top":m(()=>[d(h.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":m(()=>[d(h.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":m(()=>[d(h.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":m(()=>[d(h.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":m(()=>[d(h.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":m(()=>[d(h.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":m(()=>[d(h.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":m(()=>[d(h.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),k(ea),d(h.$slots,"layout-bottom",{},void 0,!0)],2)):(l(),g(f,{key:1}))}}}),Io=y(No,[["__scopeId","data-v-d8b57b2d"]]),Pe={Layout:Io,enhanceApp:({app:e})=>{e.component("Badge",Xe)}},Ho={check:'<path d="M20 6 9 17l-5-5"/>',sparkles:'<path d="M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z"/><path d="M20 3v4"/><path d="M22 5h-4"/><path d="M4 17v2"/><path d="M5 18H3"/>',"circle-check":'<circle cx="12" cy="12" r="10"/><path d="m9 12 2 2 4-4"/>',"circle-x":'<circle cx="12" cy="12" r="10"/><path d="m15 9-6 6"/><path d="m9 9 6 6"/>',"circle-dashed":'<path d="M10.1 2.182a10 10 0 0 1 3.8 0"/><path d="M13.9 21.818a10 10 0 0 1-3.8 0"/><path d="M17.609 3.721a10 10 0 0 1 2.69 2.7"/><path d="M2.182 13.9a10 10 0 0 1 0-3.8"/><path d="M20.279 17.609a10 10 0 0 1-2.7 2.69"/><path d="M21.818 10.1a10 10 0 0 1 0 3.8"/><path d="M3.721 6.391a10 10 0 0 1 2.7-2.69"/><path d="M6.391 20.279a10 10 0 0 1-2.69-2.7"/>',"circle-dot":'<circle cx="12" cy="12" r="10"/><circle cx="12" cy="12" r="1"/>',"loader-circle":'<path d="M21 12a9 9 0 1 1-6.219-8.56"/>',"file-text":'<path d="M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z"/><path d="M14 2v4a2 2 0 0 0 2 2h4"/><path d="M10 9H8"/><path d="M16 13H8"/><path d="M16 17H8"/>',"file-code":'<path d="M10 12.5 8 15l2 2.5"/><path d="m14 12.5 2 2.5-2 2.5"/><path d="M14 2v4a2 2 0 0 0 2 2h4"/><path d="M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z"/>',"messages-square":'<path d="M14 9a2 2 0 0 1-2 2H6l-4 4V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2z"/><path d="M18 9h2a2 2 0 0 1 2 2v11l-4-4h-6a2 2 0 0 1-2-2v-1"/>',"message-square-plus":'<path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/><path d="M12 7v6"/><path d="M9 10h6"/>',"pen-tool":'<path d="M15.707 21.293a1 1 0 0 1-1.414 0l-1.586-1.586a1 1 0 0 1 0-1.414l5.586-5.586a1 1 0 0 1 1.414 0l1.586 1.586a1 1 0 0 1 0 1.414z"/><path d="m18 13-1.375-6.874a1 1 0 0 0-.746-.776L3.235 2.028a1 1 0 0 0-1.207 1.207L5.35 15.879a1 1 0 0 0 .776.746L13 18"/><path d="m2.3 2.3 7.286 7.286"/><circle cx="11" cy="11" r="2"/>',workflow:'<rect width="8" height="8" x="3" y="3" rx="2"/><path d="M7 11v4a2 2 0 0 0 2 2h4"/><rect width="8" height="8" x="13" y="13" rx="2"/>',"shield-check":'<path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"/><path d="m9 12 2 2 4-4"/>',"git-pull-request":'<circle cx="18" cy="18" r="3"/><circle cx="6" cy="6" r="3"/><path d="M13 6h3a2 2 0 0 1 2 2v7"/><line x1="6" x2="6" y1="9" y2="21"/>',"git-branch":'<line x1="6" x2="6" y1="3" y2="15"/><circle cx="18" cy="6" r="3"/><circle cx="6" cy="18" r="3"/><path d="M18 9a9 9 0 0 1-9 9"/>',"clipboard-check":'<rect width="8" height="4" x="8" y="2" rx="1" ry="1"/><path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"/><path d="m9 14 2 2 4-4"/>',play:'<polygon points="6 3 20 12 6 21 6 3"/>',inbox:'<polyline points="22 12 16 12 14 15 10 15 8 12 2 12"/><path d="M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"/>',"undo-2":'<path d="M9 14 4 9l5-5"/><path d="M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11"/>',"octagon-alert":'<path d="M12 16h.01"/><path d="M12 8v4"/><path d="M15.312 2a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586l-4.688-4.688A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2z"/>',"triangle-alert":'<path d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3"/><path d="M12 9v4"/><path d="M12 17h.01"/>',"chart-column":'<path d="M3 3v16a2 2 0 0 0 2 2h16"/><path d="M18 17V9"/><path d="M13 17V5"/><path d="M8 17v-3"/>',"chevron-down":'<path d="m6 9 6 6 6-6"/>',"chevron-right":'<path d="m9 18 6-6-6-6"/>',"arrow-right":'<path d="M5 12h14"/><path d="m12 5 7 7-7 7"/>',copy:'<rect width="14" height="14" x="8" y="8" rx="2" ry="2"/><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"/>',sun:'<circle cx="12" cy="12" r="4"/><path d="M12 2v2"/><path d="M12 20v2"/><path d="m4.93 4.93 1.41 1.41"/><path d="m17.66 17.66 1.41 1.41"/><path d="M2 12h2"/><path d="M20 12h2"/><path d="m6.34 17.66-1.41 1.41"/><path d="m19.07 4.93-1.41 1.41"/>',lightbulb:'<path d="M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5"/><path d="M9 18h6"/><path d="M10 22h4"/>',info:'<circle cx="12" cy="12" r="10"/><path d="M12 16v-4"/><path d="M12 8h.01"/>',clock:'<circle cx="12" cy="12" r="10"/><polyline points="12 6 12 12 16 14"/>',user:'<path d="M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2"/><circle cx="12" cy="7" r="4"/>',users:'<path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M22 21v-2a4 4 0 0 0-3-3.87"/><path d="M16 3.13a4 4 0 0 1 0 7.75"/>',search:'<circle cx="11" cy="11" r="8"/><path d="m21 21-4.3-4.3"/>',terminal:'<polyline points="4 17 10 11 4 5"/><line x1="12" x2="20" y1="19" y2="19"/>',lock:'<rect width="18" height="11" x="3" y="11" rx="2" ry="2"/><path d="M7 11V7a5 5 0 0 1 10 0v4"/>',"list-checks":'<path d="m3 17 2 2 4-4"/><path d="m3 7 2 2 4-4"/><path d="M13 6h8"/><path d="M13 12h8"/><path d="M13 18h8"/>',"mouse-pointer-click":'<path d="M14 4.1 12 6"/><path d="m5.1 8-2.9-.8"/><path d="m6 12-1.9 2"/><path d="M7.2 2.2 8 5.1"/><path d="M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z"/>',history:'<path d="M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"/><path d="M3 3v5h5"/><path d="M12 7v5l4 2"/>',"trash-2":'<path d="M3 6h18"/><path d="M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6"/><path d="M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2"/><line x1="10" x2="10" y1="11" y2="17"/><line x1="14" x2="14" y1="11" y2="17"/>',moon:'<path d="M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z"/>',"external-link":'<path d="M15 3h6v6"/><path d="M10 14 21 3"/><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/>',folder:'<path d="M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"/>'},Ao=["width","height","innerHTML"],F=_({__name:"RkIcon",props:{name:{},size:{}},setup(e){const t=e,n=P(()=>Ho[t.name]??"");return(a,s)=>(l(),u("svg",{class:"ic",width:e.size??16,height:e.size??16,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.75","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true",innerHTML:n.value},null,8,Ao))}}),Co={class:"rk-home"},Bo={class:"rk-aurora"},Eo={class:"wrap hero"},Do=["href"],Fo={class:"rk-term"},Oo={class:"rk-term__tabs",role:"tablist"},zo=["aria-selected","onClick"],Go={class:"rk-term__body"},Uo=["aria-label","title"],jo={class:"rk-cap note"},qo={class:"actions"},Ro=["href"],Wo=["href"],Ko={class:"wrap"},Jo={class:"flow","aria-label":"一个需求怎么走"},Yo={class:"rk-track"},Zo={class:"blk"},Xo={class:"rk-bento"},Qo={class:"rk-card rk-span-8"},el={class:"rk-card__label"},tl={class:"rk-card rk-span-4"},nl={class:"rk-card__label"},al={class:"rk-card rk-span-4"},sl={class:"rk-card__label rk-card__label--data"},ol={class:"rk-card rk-span-4"},ll={class:"rk-card__label rk-card__label--ai"},rl={class:"rk-card rk-span-4"},il={class:"rk-card__label"},cl={class:"rk-card rk-span-12"},ul={class:"row"},dl={class:"rk-card__label danger"},vl={class:"blk","aria-label":"数字"},hl={class:"rk-bento"},fl={class:"rk-stat rk-span-3"},ml={class:"blk latest"},pl=["href"],kl=_({__name:"RkHome",setup(e){const{theme:t}=Le(),n=P(()=>t.value.rk),a=S([{id:"dsh",label:"DeepSeek Harness",command:"npx -y @yiyi_zhang/laoshi@latest install --platform dsh",note:"只需要 Node.js 22.19+。公司内网只有 npm 镜像时加 --registry=<镜像地址>(会保存为本机的 npm 源)。Windows 上用 cmd 或 Git Bash。"},{id:"paseo",label:"Paseo",command:"npx -y @yiyi_zhang/laoshi@latest install --platform paseo",note:"装在运行 Paseo daemon 的机器上;skill 装进 ~/.agents/skills 和 ~/.claude/skills。"},{id:"mirror",label:"公司内网",command:"npx -y --registry=https://npm.example.internal/ @yiyi_zhang/laoshi@latest install --platform dsh",note:'把地址换成公司的 npm 镜像。连镜像也没有时用离线安装包,见"内网安装与验证"。'}]),s=S("dsh"),i=P(()=>a.value.find($=>$.id===s.value)??a.value[0]),c=S(!1);function v(){var $;($=navigator.clipboard)==null||$.writeText(i.value.command).then(()=>{c.value=!0,setTimeout(()=>c.value=!1,1500)})}const h=[{icon:"messages-square",name:"对齐",who:"你和 AI 对话",person:!0},{icon:"pen-tool",name:"方案",who:"AI 写,你确认"},{icon:"file-code",name:"实现",who:"AI,质量门把关"},{icon:"sparkles",name:"评审",who:"另一个模型"},{icon:"shield-check",name:"验证",who:"按验收标准"},{icon:"clipboard-check",name:"验收",who:"你逐条核对",person:!0}];return($,f)=>(l(),u("div",Co,[o("div",Bo,[o("header",Eo,[o("a",{class:"rk-version",href:r(q)("/changelog")},[o("b",null,M(n.value.version),1),I(M(n.value.beta?"beta":"最新"),1)],8,Do),f[2]||(f[2]=o("h1",null,[I("一句需求,到"),o("span",{class:"rk-grad"},"可验收的功能")],-1)),f[3]||(f[3]=o("p",{class:"lead"},"在 agent 平台(Paseo、DeepSeek Harness)里用对话把需求谈清楚;一组 AI agent 在后台完成方案、实现、评审和验证;每个要拍板的地方都停下来等你。",-1)),o("div",Fo,[o("div",Oo,[(l(!0),u(w,null,A(a.value,p=>(l(),u("button",{key:p.id,type:"button",role:"tab","aria-selected":s.value===p.id,class:x({"is-on":s.value===p.id}),onClick:L=>s.value=p.id},M(p.label),11,zo))),128))]),o("div",Go,[f[0]||(f[0]=o("i",null,"$",-1)),o("code",null,M(i.value.command),1),o("button",{class:"rk-btn rk-btn--ghost rk-btn--sm",type:"button","aria-label":c.value?"已复制":"复制命令",title:c.value?"已复制":"复制命令",onClick:v},[k(F,{name:c.value?"check":"copy"},null,8,["name"])],8,Uo)])]),o("p",jo,M(i.value.note),1),o("div",qo,[o("a",{class:"rk-btn rk-btn--primary rk-btn--lg rk-btn--cta",href:r(q)("/guide/getting-started")},[f[1]||(f[1]=I("快速开始",-1)),k(F,{name:"arrow-right"})],8,Ro),o("a",{class:"rk-btn rk-btn--lg",href:r(q)("/guide/")},"laoshi 是什么",8,Wo)])])]),o("div",Ko,[o("section",Jo,[o("ol",Yo,[(l(),u(w,null,A(h,p=>o("li",{key:p.name,class:x({"is-needs":p.person})},[o("span",{class:x(["rk-track__dot",{ai:!p.person}])},[k(F,{class:"ic-sm",name:p.icon},null,8,["name"])],2),o("b",null,M(p.name),1),o("span",null,M(p.who),1)],2)),64))])]),o("section",Zo,[f[24]||(f[24]=o("div",{class:"rk-section"},[o("span",{class:"rk-eyebrow"},"Built for people who own the requirement"),o("h2",null,"每一步都有人把关"),o("p",null,"测试、产品、项目经理不用写代码,也能把需求做到可验收:AI 做的事看得见,要你决定的事一目了然。")],-1)),o("div",Xo,[o("article",Qo,[o("span",el,[k(F,{class:"ic-sm",name:"messages-square"}),f[4]||(f[4]=I("对齐需求",-1))]),f[5]||(f[5]=Ze('<h3 data-v-0417ff17>一次一个问题,带选项和推荐</h3><p data-v-0417ff17>异常情况、权限、测试数据都会问到;确认前另一个模型独立审阅需求说明。</p><div class="shot" data-v-0417ff17><div class="bub" data-v-0417ff17> 没有数据时,导出按钮怎么处理? <div class="opt" data-v-0417ff17><span class="rk-chip" data-v-0417ff17>A 按钮置灰(推荐)</span><span class="rk-chip" data-v-0417ff17>B 导出空表</span><span class="rk-chip" data-v-0417ff17>C 隐藏按钮</span></div></div><div class="bub bub--me" data-v-0417ff17>A,置灰,鼠标放上去说明原因</div></div>',3))]),o("article",tl,[o("span",nl,[k(F,{class:"ic-sm",name:"pen-tool"}),f[6]||(f[6]=I("审查原型",-1))]),f[7]||(f[7]=o("h3",null,"在原型上点一点就能提意见",-1)),f[8]||(f[8]=o("p",null,'点要改的地方,选"大一点、换颜色、删掉",用自己的话补一句,自动整理成修改清单。',-1)),f[9]||(f[9]=o("div",{class:"rk-dots canvas"},[o("span",{class:"target"},[I("导出 Excel"),o("span",{class:"rk-pin"},"1")])],-1))]),o("article",al,[o("span",sl,[k(F,{class:"ic-sm",name:"shield-check"}),f[10]||(f[10]=I("质量门",-1))]),f[11]||(f[11]=o("h3",null,"检查由程序来跑",-1)),f[12]||(f[12]=o("p",null,"lint、测试、构建在改动前后各跑一次,只拦新出现的失败,发回给写代码的 agent 修。",-1))]),o("article",ol,[o("span",ll,[k(F,{class:"ic-sm",name:"git-pull-request"}),f[13]||(f[13]=I("代码审查",-1))]),f[14]||(f[14]=o("h3",null,"AI 意见放在对应的行旁边",-1)),f[15]||(f[15]=o("p",null,'评审人标"要改 / 不用改"、写自己的意见;退回后流水线按意见修改,再评审、再验证。',-1))]),o("article",rl,[o("span",il,[k(F,{class:"ic-sm",name:"clipboard-check"}),f[16]||(f[16]=I("验收清单",-1))]),f[17]||(f[17]=o("h3",null,"逐条核对,一键试用",-1)),f[18]||(f[18]=o("p",null,"每条写着怎么操作、应该看到什么;在需求自己的工作区里把它跑起来再验。",-1))]),o("article",cl,[o("div",ul,[o("span",dl,[k(F,{class:"ic-sm",name:"octagon-alert"}),f[19]||(f[19]=I("边界清楚",-1))]),f[20]||(f[20]=o("span",{class:"rk-cap"},"默认打开",-1))]),f[21]||(f[21]=o("h3",null,"推送、发布、连生产,都会被拦下来告诉你",-1)),f[22]||(f[22]=o("p",null,"流水线只做本地提交;agent 推送代码、发布制品、改集群、连其他机器的数据库时立即打断,并在对话里通知你。每个改代码的步骤之后扫描密钥,有疑似密钥的分支不会推送。",-1)),f[23]||(f[23]=o("div",{class:"notice"},[I("【需求开发流水线通知】「实现」步骤里,agent 开始运行一条不允许的命令(推送到远程仓库),流水线已经打断了它:"),o("br"),I("git push origin HEAD:main")],-1))])])]),o("section",vl,[o("div",hl,[f[27]||(f[27]=o("div",{class:"rk-stat rk-span-3"},[o("b",null,"2"),o("strong",null,"个 agent 平台"),o("span",null,"Paseo 和 DeepSeek Harness;平台差异都在适配器里")],-1)),f[28]||(f[28]=o("div",{class:"rk-stat rk-span-3"},[o("b",null,"240+"),o("strong",null,"项自动化测试"),o("span",null,"Linux 和 Windows 都通过才合并")],-1)),o("div",fl,[o("b",null,M(n.value.adrs),1),f[25]||(f[25]=o("strong",null,"份设计决定记录",-1)),f[26]||(f[26]=o("span",null,"每个关键取舍都写明原因",-1))]),f[29]||(f[29]=o("div",{class:"rk-stat rk-span-3"},[o("b",null,"5"),o("strong",null,"种需求类型"),o("span",null,"新需求、小改动、缺陷、重构、评估")],-1))])]),o("section",ml,[f[32]||(f[32]=o("span",{class:"rk-eyebrow"},"Latest",-1)),o("p",null,[f[30]||(f[30]=I(" 最新版本 ",-1)),o("code",null,M(n.value.version),1),f[31]||(f[31]=I(":从 paseo-req-kit 抽出的平台无关版本,支持 Paseo 和 DeepSeek Harness。 ",-1)),o("a",{href:r(q)("/changelog")},"看更新记录 →",8,pl)])])])]))}}),bl=y(kl,[["__scopeId","data-v-0417ff17"]]),gl={extends:Pe,Layout:()=>$e(Pe.Layout,null,{"home-hero-before":()=>$e(bl)})};export{gl as R,fs as c,V as u};
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/VPLocalSearchBox.BHkmziy1.js","assets/chunks/framework.BetZR81g.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{d as _,c as u,r as d,n as x,o as l,a as I,t as M,b as g,w as m,T as ve,e as b,_ as y,u as Le,i as De,f as Fe,g as q,h as P,j as o,k as r,l as R,m as re,p as S,q as O,s as X,v as j,x as he,y as fe,z as Oe,A as ze,F as w,B as A,C as W,D as Q,E as k,G as Ve,H as E,I as Me,J as ee,K as U,L as te,M as Ge,N as Se,O as ie,P as xe,Q as Te,R as ne,S as Ue,U as je,V as qe,W as we,X as Ne,Y as Re,Z as We,$ as Ke,a0 as Je,a1 as Ye,a2 as Ze,a3 as $e}from"./framework.BetZR81g.js";const Xe=_({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(e){return(t,n)=>(l(),u("span",{class:x(["VPBadge",e.type])},[d(t.$slots,"default",{},()=>[I(M(e.text),1)])],2))}}),Qe={key:0,class:"VPBackdrop"},et=_({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(t,n)=>(l(),g(ve,{name:"fade"},{default:m(()=>[e.show?(l(),u("div",Qe)):b("",!0)]),_:1}))}}),tt=y(et,[["__scopeId","data-v-54a304ca"]]),V=Le;function nt(e,t){let n,a=!1;return()=>{n&&clearTimeout(n),a?n=setTimeout(e,t):(e(),(a=!0)&&setTimeout(()=>a=!1,t))}}function ce(e){return e.startsWith("/")?e:`/${e}`}function me(e){const{pathname:t,search:n,hash:a,protocol:s}=new URL(e,"http://a.com");if(De(e)||e.startsWith("#")||!s.startsWith("http")||!Fe(t))return e;const{site:i}=V(),c=t.endsWith("/")||t.endsWith(".html")?e:e.replace(/(?:(^\.+)\/)?.*$/,`$1${t.replace(/(\.md)?$/,i.value.cleanUrls?"":".html")}${n}${a}`);return q(c)}function J({correspondingLink:e=!1}={}){const{site:t,localeIndex:n,page:a,theme:s,hash:i}=V(),c=P(()=>{var h,$;return{label:(h=t.value.locales[n.value])==null?void 0:h.label,link:(($=t.value.locales[n.value])==null?void 0:$.link)||(n.value==="root"?"/":`/${n.value}/`)}});return{localeLinks:P(()=>Object.entries(t.value.locales).flatMap(([h,$])=>c.value.label===$.label?[]:{text:$.label,link:at($.link||(h==="root"?"/":`/${h}/`),s.value.i18nRouting!==!1&&e,a.value.relativePath.slice(c.value.link.length-1),!t.value.cleanUrls)+i.value})),currentLang:c}}function at(e,t,n,a){return t?e.replace(/\/$/,"")+ce(n.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,a?".html":"")):e}const st={class:"NotFound"},ot={class:"code"},lt={class:"title"},rt={class:"quote"},it={class:"action"},ct=["href","aria-label"],ut=_({__name:"NotFound",setup(e){const{theme:t}=V(),{currentLang:n}=J();return(a,s)=>{var i,c,v,h,$;return l(),u("div",st,[o("p",ot,M(((i=r(t).notFound)==null?void 0:i.code)??"404"),1),o("h1",lt,M(((c=r(t).notFound)==null?void 0:c.title)??"PAGE NOT FOUND"),1),s[0]||(s[0]=o("div",{class:"divider"},null,-1)),o("blockquote",rt,M(((v=r(t).notFound)==null?void 0:v.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),o("div",it,[o("a",{class:"link",href:r(q)(r(n).link),"aria-label":((h=r(t).notFound)==null?void 0:h.linkLabel)??"go to home"},M((($=r(t).notFound)==null?void 0:$.linkText)??"Take me home"),9,ct)])])}}}),dt=y(ut,[["__scopeId","data-v-6ff51ddd"]]);function Ie(e,t){if(Array.isArray(e))return Y(e);if(e==null)return[];t=ce(t);const n=Object.keys(e).sort((s,i)=>i.split("/").length-s.split("/").length).find(s=>t.startsWith(ce(s))),a=n?e[n]:[];return Array.isArray(a)?Y(a):Y(a.items,a.base)}function vt(e){const t=[];let n=0;for(const a in e){const s=e[a];if(s.items){n=t.push(s);continue}t[n]||t.push({items:[]}),t[n].items.push(s)}return t}function ht(e){const t=[];function n(a){for(const s of a)s.text&&s.link&&t.push({text:s.text,link:s.link,docFooterText:s.docFooterText}),s.items&&n(s.items)}return n(e),t}function ue(e,t){return Array.isArray(t)?t.some(n=>ue(e,n)):R(e,t.link)?!0:t.items?ue(e,t.items):!1}function Y(e,t){return[...e].map(n=>{const a={...n},s=a.base||t;return s&&a.link&&(a.link=s+a.link),a.items&&(a.items=Y(a.items,s)),a})}function z(){const{frontmatter:e,page:t,theme:n}=V(),a=re("(min-width: 960px)"),s=S(!1),i=P(()=>{const H=n.value.sidebar,C=t.value.relativePath;return H?Ie(H,C):[]}),c=S(i.value);O(i,(H,C)=>{JSON.stringify(H)!==JSON.stringify(C)&&(c.value=i.value)});const v=P(()=>e.value.sidebar!==!1&&c.value.length>0&&e.value.layout!=="home"),h=P(()=>$?e.value.aside==null?n.value.aside==="left":e.value.aside==="left":!1),$=P(()=>e.value.layout==="home"?!1:e.value.aside!=null?!!e.value.aside:n.value.aside!==!1),f=P(()=>v.value&&a.value),p=P(()=>v.value?vt(c.value):[]);function L(){s.value=!0}function T(){s.value=!1}function N(){s.value?T():L()}return{isOpen:s,sidebar:c,sidebarGroups:p,hasSidebar:v,hasAside:$,leftAside:h,isSidebarEnabled:f,open:L,close:T,toggle:N}}function ft(e,t){let n;X(()=>{n=e.value?document.activeElement:void 0}),j(()=>{window.addEventListener("keyup",a)}),he(()=>{window.removeEventListener("keyup",a)});function a(s){s.key==="Escape"&&e.value&&(t(),n==null||n.focus())}}function mt(e){const{page:t,hash:n}=V(),a=S(!1),s=P(()=>e.value.collapsed!=null),i=P(()=>!!e.value.link),c=S(!1),v=()=>{c.value=R(t.value.relativePath,e.value.link)};O([t,e,n],v),j(v);const h=P(()=>c.value?!0:e.value.items?ue(t.value.relativePath,e.value.items):!1),$=P(()=>!!(e.value.items&&e.value.items.length));X(()=>{a.value=!!(s.value&&e.value.collapsed)}),fe(()=>{(c.value||h.value)&&(a.value=!1)});function f(){s.value&&(a.value=!a.value)}return{collapsed:a,collapsible:s,isLink:i,isActiveLink:c,hasActiveLink:h,hasChildren:$,toggle:f}}function pt(){const{hasSidebar:e}=z(),t=re("(min-width: 960px)"),n=re("(min-width: 1280px)");return{isAsideEnabled:P(()=>!n.value&&!t.value?!1:e.value?n.value:t.value)}}const kt=/\b(?:VPBadge|header-anchor|footnote-ref|ignore-header)\b/,de=[];function He(e){return typeof e.outline=="object"&&!Array.isArray(e.outline)&&e.outline.label||e.outlineTitle||"On this page"}function pe(e){const t=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(n=>n.id&&n.hasChildNodes()).map(n=>{const a=Number(n.tagName[1]);return{element:n,title:bt(n),link:"#"+n.id,level:a}});return _t(t,e)}function bt(e){let t="";for(const n of e.childNodes)if(n.nodeType===1){if(kt.test(n.className))continue;t+=n.textContent}else n.nodeType===3&&(t+=n.textContent);return t.trim()}function _t(e,t){if(t===!1)return[];const n=(typeof t=="object"&&!Array.isArray(t)?t.level:t)||2,[a,s]=typeof n=="number"?[n,n]:n==="deep"?[2,6]:n;return yt(e,a,s)}function gt(e,t){const{isAsideEnabled:n}=pt(),a=nt(i,100);let s=null;j(()=>{requestAnimationFrame(i),window.addEventListener("scroll",a)}),Oe(()=>{c(location.hash)}),he(()=>{window.removeEventListener("scroll",a)});function i(){if(!n.value)return;const v=window.scrollY,h=window.innerHeight,$=document.body.offsetHeight,f=Math.abs(v+h-$)<1,p=de.map(({element:T,link:N})=>({link:N,top:$t(T)})).filter(({top:T})=>!Number.isNaN(T)).sort((T,N)=>T.top-N.top);if(!p.length){c(null);return}if(v<1){c(null);return}if(f){c(p[p.length-1].link);return}let L=null;for(const{link:T,top:N}of p){if(N>v+ze()+4)break;L=T}c(L)}function c(v){s&&s.classList.remove("active"),v==null?s=null:s=e.value.querySelector(`a[href="${decodeURIComponent(v)}"]`);const h=s;h?(h.classList.add("active"),t.value.style.top=h.offsetTop+39+"px",t.value.style.opacity="1"):(t.value.style.top="33px",t.value.style.opacity="0")}}function $t(e){let t=0;for(;e!==document.body;){if(e===null)return NaN;t+=e.offsetTop,e=e.offsetParent}return t}function yt(e,t,n){de.length=0;const a=[],s=[];return e.forEach(i=>{const c={...i,children:[]};let v=s[s.length-1];for(;v&&v.level>=c.level;)s.pop(),v=s[s.length-1];if(c.element.classList.contains("ignore-header")||v&&"shouldIgnore"in v){s.push({level:c.level,shouldIgnore:!0});return}c.level>n||c.level<t||(de.push({element:c.element,link:c.link}),v?v.children.push(c):a.push(c),s.push(c))}),a}const Pt=["href","title"],Lt=_({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(e){function t({target:n}){const a=n.href.split("#")[1],s=document.getElementById(decodeURIComponent(a));s==null||s.focus({preventScroll:!0})}return(n,a)=>{const s=W("VPDocOutlineItem",!0);return l(),u("ul",{class:x(["VPDocOutlineItem",e.root?"root":"nested"])},[(l(!0),u(w,null,A(e.headers,({children:i,link:c,title:v})=>(l(),u("li",null,[o("a",{class:"outline-link",href:c,onClick:t,title:v},M(v),9,Pt),i!=null&&i.length?(l(),g(s,{key:0,headers:i},null,8,["headers"])):b("",!0)]))),256))],2)}}}),Ae=y(Lt,[["__scopeId","data-v-53c99d69"]]),Vt={class:"content"},Mt={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},St=_({__name:"VPDocAsideOutline",setup(e){const{frontmatter:t,theme:n}=V(),a=Ve([]);Q(()=>{a.value=pe(t.value.outline??n.value.outline)});const s=S(),i=S();return gt(s,i),(c,v)=>(l(),u("nav",{"aria-labelledby":"doc-outline-aria-label",class:x(["VPDocAsideOutline",{"has-outline":a.value.length>0}]),ref_key:"container",ref:s},[o("div",Vt,[o("div",{class:"outline-marker",ref_key:"marker",ref:i},null,512),o("div",Mt,M(r(He)(r(n))),1),k(Ae,{headers:a.value,root:!0},null,8,["headers"])])],2))}}),xt=y(St,[["__scopeId","data-v-f610f197"]]),Tt={class:"VPDocAsideCarbonAds"},wt=_({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(e){const t=()=>null;return(n,a)=>(l(),u("div",Tt,[k(r(t),{"carbon-ads":e.carbonAds},null,8,["carbon-ads"])]))}}),Nt={class:"VPDocAside"},It=_({__name:"VPDocAside",setup(e){const{theme:t}=V();return(n,a)=>(l(),u("div",Nt,[d(n.$slots,"aside-top",{},void 0,!0),d(n.$slots,"aside-outline-before",{},void 0,!0),k(xt),d(n.$slots,"aside-outline-after",{},void 0,!0),a[0]||(a[0]=o("div",{class:"spacer"},null,-1)),d(n.$slots,"aside-ads-before",{},void 0,!0),r(t).carbonAds?(l(),g(wt,{key:0,"carbon-ads":r(t).carbonAds},null,8,["carbon-ads"])):b("",!0),d(n.$slots,"aside-ads-after",{},void 0,!0),d(n.$slots,"aside-bottom",{},void 0,!0)]))}}),Ht=y(It,[["__scopeId","data-v-cb998dce"]]);function At(){const{theme:e,page:t}=V();return P(()=>{const{text:n="Edit this page",pattern:a=""}=e.value.editLink||{};let s;return typeof a=="function"?s=a(t.value):s=a.replace(/:path/g,t.value.filePath),{url:s,text:n}})}function Ct(){const{page:e,theme:t,frontmatter:n}=V();return P(()=>{var $,f,p,L,T,N,H,C;const a=Ie(t.value.sidebar,e.value.relativePath),s=ht(a),i=Bt(s,B=>B.link.replace(/[?#].*$/,"")),c=i.findIndex(B=>R(e.value.relativePath,B.link)),v=(($=t.value.docFooter)==null?void 0:$.prev)===!1&&!n.value.prev||n.value.prev===!1,h=((f=t.value.docFooter)==null?void 0:f.next)===!1&&!n.value.next||n.value.next===!1;return{prev:v?void 0:{text:(typeof n.value.prev=="string"?n.value.prev:typeof n.value.prev=="object"?n.value.prev.text:void 0)??((p=i[c-1])==null?void 0:p.docFooterText)??((L=i[c-1])==null?void 0:L.text),link:(typeof n.value.prev=="object"?n.value.prev.link:void 0)??((T=i[c-1])==null?void 0:T.link)},next:h?void 0:{text:(typeof n.value.next=="string"?n.value.next:typeof n.value.next=="object"?n.value.next.text:void 0)??((N=i[c+1])==null?void 0:N.docFooterText)??((H=i[c+1])==null?void 0:H.text),link:(typeof n.value.next=="object"?n.value.next.link:void 0)??((C=i[c+1])==null?void 0:C.link)}}})}function Bt(e,t){const n=new Set;return e.filter(a=>{const s=t(a);return n.has(s)?!1:n.add(s)})}const D=_({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(e){const t=e,n=P(()=>t.tag??(t.href?"a":"span")),a=P(()=>t.href&&Me.test(t.href)||t.target==="_blank");return(s,i)=>(l(),g(E(n.value),{class:x(["VPLink",{link:e.href,"vp-external-link-icon":a.value,"no-icon":e.noIcon}]),href:e.href?r(me)(e.href):void 0,target:e.target??(a.value?"_blank":void 0),rel:e.rel??(a.value?"noreferrer":void 0)},{default:m(()=>[d(s.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),Et={class:"VPLastUpdated"},Dt=["datetime"],Ft=_({__name:"VPDocFooterLastUpdated",setup(e){const{theme:t,page:n,lang:a}=V(),s=P(()=>new Date(n.value.lastUpdated)),i=P(()=>s.value.toISOString()),c=S("");return j(()=>{X(()=>{var v,h,$;c.value=new Intl.DateTimeFormat((h=(v=t.value.lastUpdated)==null?void 0:v.formatOptions)!=null&&h.forceLocale?a.value:void 0,(($=t.value.lastUpdated)==null?void 0:$.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(s.value)})}),(v,h)=>{var $;return l(),u("p",Et,[I(M((($=r(t).lastUpdated)==null?void 0:$.text)||r(t).lastUpdatedText||"Last updated")+": ",1),o("time",{datetime:i.value},M(c.value),9,Dt)])}}}),Ot=y(Ft,[["__scopeId","data-v-1bb0c8a8"]]),zt={key:0,class:"VPDocFooter"},Gt={key:0,class:"edit-info"},Ut={key:0,class:"edit-link"},jt={key:1,class:"last-updated"},qt={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},Rt={class:"pager"},Wt=["innerHTML"],Kt=["innerHTML"],Jt={class:"pager"},Yt=["innerHTML"],Zt=["innerHTML"],Xt=_({__name:"VPDocFooter",setup(e){const{theme:t,page:n,frontmatter:a}=V(),s=At(),i=Ct(),c=P(()=>t.value.editLink&&a.value.editLink!==!1),v=P(()=>n.value.lastUpdated),h=P(()=>c.value||v.value||i.value.prev||i.value.next);return($,f)=>{var p,L,T,N;return h.value?(l(),u("footer",zt,[d($.$slots,"doc-footer-before",{},void 0,!0),c.value||v.value?(l(),u("div",Gt,[c.value?(l(),u("div",Ut,[k(D,{class:"edit-link-button",href:r(s).url,"no-icon":!0},{default:m(()=>[f[0]||(f[0]=o("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),I(" "+M(r(s).text),1)]),_:1},8,["href"])])):b("",!0),v.value?(l(),u("div",jt,[k(Ot)])):b("",!0)])):b("",!0),(p=r(i).prev)!=null&&p.link||(L=r(i).next)!=null&&L.link?(l(),u("nav",qt,[f[1]||(f[1]=o("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),o("div",Rt,[(T=r(i).prev)!=null&&T.link?(l(),g(D,{key:0,class:"pager-link prev",href:r(i).prev.link},{default:m(()=>{var H;return[o("span",{class:"desc",innerHTML:((H=r(t).docFooter)==null?void 0:H.prev)||"Previous page"},null,8,Wt),o("span",{class:"title",innerHTML:r(i).prev.text},null,8,Kt)]}),_:1},8,["href"])):b("",!0)]),o("div",Jt,[(N=r(i).next)!=null&&N.link?(l(),g(D,{key:0,class:"pager-link next",href:r(i).next.link},{default:m(()=>{var H;return[o("span",{class:"desc",innerHTML:((H=r(t).docFooter)==null?void 0:H.next)||"Next page"},null,8,Yt),o("span",{class:"title",innerHTML:r(i).next.text},null,8,Zt)]}),_:1},8,["href"])):b("",!0)])])):b("",!0)])):b("",!0)}}}),Qt=y(Xt,[["__scopeId","data-v-1bcd8184"]]),en={class:"container"},tn={class:"aside-container"},nn={class:"aside-content"},an={class:"content"},sn={class:"content-container"},on={class:"main"},ln=_({__name:"VPDoc",setup(e){const{theme:t}=V(),n=ee(),{hasSidebar:a,hasAside:s,leftAside:i}=z(),c=P(()=>n.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(v,h)=>{const $=W("Content");return l(),u("div",{class:x(["VPDoc",{"has-sidebar":r(a),"has-aside":r(s)}])},[d(v.$slots,"doc-top",{},void 0,!0),o("div",en,[r(s)?(l(),u("div",{key:0,class:x(["aside",{"left-aside":r(i)}])},[h[0]||(h[0]=o("div",{class:"aside-curtain"},null,-1)),o("div",tn,[o("div",nn,[k(Ht,null,{"aside-top":m(()=>[d(v.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":m(()=>[d(v.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":m(()=>[d(v.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":m(()=>[d(v.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":m(()=>[d(v.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":m(()=>[d(v.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):b("",!0),o("div",an,[o("div",sn,[d(v.$slots,"doc-before",{},void 0,!0),o("main",on,[k($,{class:x(["vp-doc",[c.value,r(t).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),k(Qt,null,{"doc-footer-before":m(()=>[d(v.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),d(v.$slots,"doc-after",{},void 0,!0)])])]),d(v.$slots,"doc-bottom",{},void 0,!0)],2)}}}),rn=y(ln,[["__scopeId","data-v-e6f2a212"]]),cn=_({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(e){const t=e,n=P(()=>t.href&&Me.test(t.href)),a=P(()=>t.tag||(t.href?"a":"button"));return(s,i)=>(l(),g(E(a.value),{class:x(["VPButton",[e.size,e.theme]]),href:e.href?r(me)(e.href):void 0,target:t.target??(n.value?"_blank":void 0),rel:t.rel??(n.value?"noreferrer":void 0)},{default:m(()=>[I(M(e.text),1)]),_:1},8,["class","href","target","rel"]))}}),un=y(cn,[["__scopeId","data-v-93dc4167"]]),dn=["src","alt"],vn=_({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(e){return(t,n)=>{const a=W("VPImage",!0);return e.image?(l(),u(w,{key:0},[typeof e.image=="string"||"src"in e.image?(l(),u("img",U({key:0,class:"VPImage"},typeof e.image=="string"?t.$attrs:{...e.image,...t.$attrs},{src:r(q)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,dn)):(l(),u(w,{key:1},[k(a,U({class:"dark",image:e.image.dark,alt:e.image.alt},t.$attrs),null,16,["image","alt"]),k(a,U({class:"light",image:e.image.light,alt:e.image.alt},t.$attrs),null,16,["image","alt"])],64))],64)):b("",!0)}}}),Z=y(vn,[["__scopeId","data-v-ab19afbb"]]),hn={class:"container"},fn={class:"main"},mn={class:"heading"},pn=["innerHTML"],kn=["innerHTML"],bn=["innerHTML"],_n={key:0,class:"actions"},gn={key:0,class:"image"},$n={class:"image-container"},yn=_({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(e){const t=te("hero-image-slot-exists");return(n,a)=>(l(),u("div",{class:x(["VPHero",{"has-image":e.image||r(t)}])},[o("div",hn,[o("div",fn,[d(n.$slots,"home-hero-info-before",{},void 0,!0),d(n.$slots,"home-hero-info",{},()=>[o("h1",mn,[e.name?(l(),u("span",{key:0,innerHTML:e.name,class:"name clip"},null,8,pn)):b("",!0),e.text?(l(),u("span",{key:1,innerHTML:e.text,class:"text"},null,8,kn)):b("",!0)]),e.tagline?(l(),u("p",{key:0,innerHTML:e.tagline,class:"tagline"},null,8,bn)):b("",!0)],!0),d(n.$slots,"home-hero-info-after",{},void 0,!0),e.actions?(l(),u("div",_n,[(l(!0),u(w,null,A(e.actions,s=>(l(),u("div",{key:s.link,class:"action"},[k(un,{tag:"a",size:"medium",theme:s.theme,text:s.text,href:s.link,target:s.target,rel:s.rel},null,8,["theme","text","href","target","rel"])]))),128))])):b("",!0),d(n.$slots,"home-hero-actions-after",{},void 0,!0)]),e.image||r(t)?(l(),u("div",gn,[o("div",$n,[a[0]||(a[0]=o("div",{class:"image-bg"},null,-1)),d(n.$slots,"home-hero-image",{},()=>[e.image?(l(),g(Z,{key:0,class:"image-src",image:e.image},null,8,["image"])):b("",!0)],!0)])])):b("",!0)])],2))}}),Pn=y(yn,[["__scopeId","data-v-dd8814ff"]]),Ln=_({__name:"VPHomeHero",setup(e){const{frontmatter:t}=V();return(n,a)=>r(t).hero?(l(),g(Pn,{key:0,class:"VPHomeHero",name:r(t).hero.name,text:r(t).hero.text,tagline:r(t).hero.tagline,image:r(t).hero.image,actions:r(t).hero.actions},{"home-hero-info-before":m(()=>[d(n.$slots,"home-hero-info-before")]),"home-hero-info":m(()=>[d(n.$slots,"home-hero-info")]),"home-hero-info-after":m(()=>[d(n.$slots,"home-hero-info-after")]),"home-hero-actions-after":m(()=>[d(n.$slots,"home-hero-actions-after")]),"home-hero-image":m(()=>[d(n.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):b("",!0)}}),Vn={class:"box"},Mn={key:0,class:"icon"},Sn=["innerHTML"],xn=["innerHTML"],Tn=["innerHTML"],wn={key:4,class:"link-text"},Nn={class:"link-text-value"},In=_({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(e){return(t,n)=>(l(),g(D,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:m(()=>[o("article",Vn,[typeof e.icon=="object"&&e.icon.wrap?(l(),u("div",Mn,[k(Z,{image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])])):typeof e.icon=="object"?(l(),g(Z,{key:1,image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])):e.icon?(l(),u("div",{key:2,class:"icon",innerHTML:e.icon},null,8,Sn)):b("",!0),o("h2",{class:"title",innerHTML:e.title},null,8,xn),e.details?(l(),u("p",{key:3,class:"details",innerHTML:e.details},null,8,Tn)):b("",!0),e.linkText?(l(),u("div",wn,[o("p",Nn,[I(M(e.linkText)+" ",1),n[0]||(n[0]=o("span",{class:"vpi-arrow-right link-text-icon"},null,-1))])])):b("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Hn=y(In,[["__scopeId","data-v-bd37d1a2"]]),An={key:0,class:"VPFeatures"},Cn={class:"container"},Bn={class:"items"},En=_({__name:"VPFeatures",props:{features:{}},setup(e){const t=e,n=P(()=>{const a=t.features.length;if(a){if(a===2)return"grid-2";if(a===3)return"grid-3";if(a%3===0)return"grid-6";if(a>3)return"grid-4"}else return});return(a,s)=>e.features?(l(),u("div",An,[o("div",Cn,[o("div",Bn,[(l(!0),u(w,null,A(e.features,i=>(l(),u("div",{key:i.title,class:x(["item",[n.value]])},[k(Hn,{icon:i.icon,title:i.title,details:i.details,link:i.link,"link-text":i.linkText,rel:i.rel,target:i.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):b("",!0)}}),Dn=y(En,[["__scopeId","data-v-b1eea84a"]]),Fn=_({__name:"VPHomeFeatures",setup(e){const{frontmatter:t}=V();return(n,a)=>r(t).features?(l(),g(Dn,{key:0,class:"VPHomeFeatures",features:r(t).features},null,8,["features"])):b("",!0)}}),On=_({__name:"VPHomeContent",setup(e){const{width:t}=Ge({initialWidth:0,includeScrollbar:!1});return(n,a)=>(l(),u("div",{class:"vp-doc container",style:Se(r(t)?{"--vp-offset":`calc(50% - ${r(t)/2}px)`}:{})},[d(n.$slots,"default",{},void 0,!0)],4))}}),zn=y(On,[["__scopeId","data-v-c141a4bd"]]),Gn=_({__name:"VPHome",setup(e){const{frontmatter:t,theme:n}=V();return(a,s)=>{const i=W("Content");return l(),u("div",{class:x(["VPHome",{"external-link-icon-enabled":r(n).externalLinkIcon}])},[d(a.$slots,"home-hero-before",{},void 0,!0),k(Ln,null,{"home-hero-info-before":m(()=>[d(a.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":m(()=>[d(a.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":m(()=>[d(a.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":m(()=>[d(a.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":m(()=>[d(a.$slots,"home-hero-image",{},void 0,!0)]),_:3}),d(a.$slots,"home-hero-after",{},void 0,!0),d(a.$slots,"home-features-before",{},void 0,!0),k(Fn),d(a.$slots,"home-features-after",{},void 0,!0),r(t).markdownStyles!==!1?(l(),g(zn,{key:0},{default:m(()=>[k(i)]),_:1})):(l(),g(i,{key:1}))],2)}}}),Un=y(Gn,[["__scopeId","data-v-e07eaea7"]]),jn={},qn={class:"VPPage"};function Rn(e,t){const n=W("Content");return l(),u("div",qn,[d(e.$slots,"page-top"),k(n),d(e.$slots,"page-bottom")])}const Wn=y(jn,[["render",Rn]]),Kn=_({__name:"VPContent",setup(e){const{page:t,frontmatter:n}=V(),{hasSidebar:a}=z();return(s,i)=>(l(),u("div",{class:x(["VPContent",{"has-sidebar":r(a),"is-home":r(n).layout==="home"}]),id:"VPContent"},[r(t).isNotFound?d(s.$slots,"not-found",{},()=>[k(dt)],!0,0):r(n).layout==="page"?(l(),g(Wn,{key:1},{"page-top":m(()=>[d(s.$slots,"page-top",{},void 0,!0)]),"page-bottom":m(()=>[d(s.$slots,"page-bottom",{},void 0,!0)]),_:3})):r(n).layout==="home"?(l(),g(Un,{key:2},{"home-hero-before":m(()=>[d(s.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":m(()=>[d(s.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":m(()=>[d(s.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":m(()=>[d(s.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":m(()=>[d(s.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":m(()=>[d(s.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":m(()=>[d(s.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":m(()=>[d(s.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":m(()=>[d(s.$slots,"home-features-after",{},void 0,!0)]),_:3})):r(n).layout&&r(n).layout!=="doc"?(l(),g(E(r(n).layout),{key:3})):(l(),g(rn,{key:4},{"doc-top":m(()=>[d(s.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":m(()=>[d(s.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":m(()=>[d(s.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":m(()=>[d(s.$slots,"doc-before",{},void 0,!0)]),"doc-after":m(()=>[d(s.$slots,"doc-after",{},void 0,!0)]),"aside-top":m(()=>[d(s.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":m(()=>[d(s.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":m(()=>[d(s.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":m(()=>[d(s.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":m(()=>[d(s.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":m(()=>[d(s.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),Jn=y(Kn,[["__scopeId","data-v-9a6c75ad"]]),Yn={class:"container"},Zn=["innerHTML"],Xn=["innerHTML"],Qn=_({__name:"VPFooter",setup(e){const{theme:t,frontmatter:n}=V(),{hasSidebar:a}=z();return(s,i)=>r(t).footer&&r(n).footer!==!1?(l(),u("footer",{key:0,class:x(["VPFooter",{"has-sidebar":r(a)}])},[o("div",Yn,[r(t).footer.message?(l(),u("p",{key:0,class:"message",innerHTML:r(t).footer.message},null,8,Zn)):b("",!0),r(t).footer.copyright?(l(),u("p",{key:1,class:"copyright",innerHTML:r(t).footer.copyright},null,8,Xn)):b("",!0)])],2)):b("",!0)}}),ea=y(Qn,[["__scopeId","data-v-566314d4"]]);function ta(){const{theme:e,frontmatter:t}=V(),n=Ve([]),a=P(()=>n.value.length>0);return Q(()=>{n.value=pe(t.value.outline??e.value.outline)}),{headers:n,hasLocalNav:a}}const na={class:"menu-text"},aa={class:"header"},sa={class:"outline"},oa=_({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(e){const t=e,{theme:n}=V(),a=S(!1),s=S(0),i=S(),c=S();function v(p){var L;(L=i.value)!=null&&L.contains(p.target)||(a.value=!1)}O(a,p=>{if(p){document.addEventListener("click",v);return}document.removeEventListener("click",v)}),ie("Escape",()=>{a.value=!1}),Q(()=>{a.value=!1});function h(){a.value=!a.value,s.value=window.innerHeight+Math.min(window.scrollY-t.navHeight,0)}function $(p){p.target.classList.contains("outline-link")&&(c.value&&(c.value.style.transition="none"),xe(()=>{a.value=!1}))}function f(){a.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(p,L)=>(l(),u("div",{class:"VPLocalNavOutlineDropdown",style:Se({"--vp-vh":s.value+"px"}),ref_key:"main",ref:i},[e.headers.length>0?(l(),u("button",{key:0,onClick:h,class:x({open:a.value})},[o("span",na,M(r(He)(r(n))),1),L[0]||(L[0]=o("span",{class:"vpi-chevron-right icon"},null,-1))],2)):(l(),u("button",{key:1,onClick:f},M(r(n).returnToTopLabel||"Return to top"),1)),k(ve,{name:"flyout"},{default:m(()=>[a.value?(l(),u("div",{key:0,ref_key:"items",ref:c,class:"items",onClick:$},[o("div",aa,[o("a",{class:"top-link",href:"#",onClick:f},M(r(n).returnToTopLabel||"Return to top"),1)]),o("div",sa,[k(Ae,{headers:e.headers},null,8,["headers"])])],512)):b("",!0)]),_:1})],4))}}),la=y(oa,[["__scopeId","data-v-6b867909"]]),ra={class:"container"},ia=["aria-expanded"],ca={class:"menu-text"},ua=_({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(e){const{theme:t,frontmatter:n}=V(),{hasSidebar:a}=z(),{headers:s}=ta(),{y:i}=Te(),c=S(0);j(()=>{c.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),Q(()=>{s.value=pe(n.value.outline??t.value.outline)});const v=P(()=>s.value.length===0),h=P(()=>v.value&&!a.value),$=P(()=>({VPLocalNav:!0,"has-sidebar":a.value,empty:v.value,fixed:h.value}));return(f,p)=>r(n).layout!=="home"&&(!h.value||r(i)>=c.value)?(l(),u("div",{key:0,class:x($.value)},[o("div",ra,[r(a)?(l(),u("button",{key:0,class:"menu","aria-expanded":e.open,"aria-controls":"VPSidebarNav",onClick:p[0]||(p[0]=L=>f.$emit("open-menu"))},[p[1]||(p[1]=o("span",{class:"vpi-align-left menu-icon"},null,-1)),o("span",ca,M(r(t).sidebarMenuLabel||"Menu"),1)],8,ia)):b("",!0),k(la,{headers:r(s),navHeight:c.value},null,8,["headers","navHeight"])])],2)):b("",!0)}}),da=y(ua,[["__scopeId","data-v-2488c25a"]]);function va(){const e=S(!1);function t(){e.value=!0,window.addEventListener("resize",s)}function n(){e.value=!1,window.removeEventListener("resize",s)}function a(){e.value?n():t()}function s(){window.outerWidth>=768&&n()}const i=ee();return O(()=>i.path,n),{isScreenOpen:e,openScreen:t,closeScreen:n,toggleScreen:a}}const ha={},fa={class:"VPSwitch",type:"button",role:"switch"},ma={class:"check"},pa={key:0,class:"icon"};function ka(e,t){return l(),u("button",fa,[o("span",ma,[e.$slots.default?(l(),u("span",pa,[d(e.$slots,"default",{},void 0,!0)])):b("",!0)])])}const ba=y(ha,[["render",ka],["__scopeId","data-v-b4ccac88"]]),_a=_({__name:"VPSwitchAppearance",setup(e){const{isDark:t,theme:n}=V(),a=te("toggle-appearance",()=>{t.value=!t.value}),s=S("");return fe(()=>{s.value=t.value?n.value.lightModeSwitchTitle||"Switch to light theme":n.value.darkModeSwitchTitle||"Switch to dark theme"}),(i,c)=>(l(),g(ba,{title:s.value,class:"VPSwitchAppearance","aria-checked":r(t),onClick:r(a)},{default:m(()=>[...c[0]||(c[0]=[o("span",{class:"vpi-sun sun"},null,-1),o("span",{class:"vpi-moon moon"},null,-1)])]),_:1},8,["title","aria-checked","onClick"]))}}),ke=y(_a,[["__scopeId","data-v-be9742d9"]]),ga={key:0,class:"VPNavBarAppearance"},$a=_({__name:"VPNavBarAppearance",setup(e){const{site:t}=V();return(n,a)=>r(t).appearance&&r(t).appearance!=="force-dark"&&r(t).appearance!=="force-auto"?(l(),u("div",ga,[k(ke)])):b("",!0)}}),ya=y($a,[["__scopeId","data-v-3f90c1a5"]]),be=S();let Ce=!1,le=0;function Pa(e){const t=S(!1);if(ne){!Ce&&La(),le++;const n=O(be,a=>{var s,i,c;a===e.el.value||(s=e.el.value)!=null&&s.contains(a)?(t.value=!0,(i=e.onFocus)==null||i.call(e)):(t.value=!1,(c=e.onBlur)==null||c.call(e))});he(()=>{n(),le--,le||Va()})}return Ue(t)}function La(){document.addEventListener("focusin",Be),Ce=!0,be.value=document.activeElement}function Va(){document.removeEventListener("focusin",Be)}function Be(){be.value=document.activeElement}const Ma={class:"VPMenuLink"},Sa=["innerHTML"],xa=_({__name:"VPMenuLink",props:{item:{}},setup(e){const{page:t}=V();return(n,a)=>(l(),u("div",Ma,[k(D,{class:x({active:r(R)(r(t).relativePath,e.item.activeMatch||e.item.link,!!e.item.activeMatch)}),href:e.item.link,target:e.item.target,rel:e.item.rel,"no-icon":e.item.noIcon},{default:m(()=>[o("span",{innerHTML:e.item.text},null,8,Sa)]),_:1},8,["class","href","target","rel","no-icon"])]))}}),ae=y(xa,[["__scopeId","data-v-7eeeb2dc"]]),Ta={class:"VPMenuGroup"},wa={key:0,class:"title"},Na=_({__name:"VPMenuGroup",props:{text:{},items:{}},setup(e){return(t,n)=>(l(),u("div",Ta,[e.text?(l(),u("p",wa,M(e.text),1)):b("",!0),(l(!0),u(w,null,A(e.items,a=>(l(),u(w,null,["link"in a?(l(),g(ae,{key:0,item:a},null,8,["item"])):b("",!0)],64))),256))]))}}),Ia=y(Na,[["__scopeId","data-v-a6b0397c"]]),Ha={class:"VPMenu"},Aa={key:0,class:"items"},Ca=_({__name:"VPMenu",props:{items:{}},setup(e){return(t,n)=>(l(),u("div",Ha,[e.items?(l(),u("div",Aa,[(l(!0),u(w,null,A(e.items,a=>(l(),u(w,{key:JSON.stringify(a)},["link"in a?(l(),g(ae,{key:0,item:a},null,8,["item"])):"component"in a?(l(),g(E(a.component),U({key:1,ref_for:!0},a.props),null,16)):(l(),g(Ia,{key:2,text:a.text,items:a.items},null,8,["text","items"]))],64))),128))])):b("",!0),d(t.$slots,"default",{},void 0,!0)]))}}),Ba=y(Ca,[["__scopeId","data-v-20ed86d6"]]),Ea=["aria-expanded","aria-label"],Da={key:0,class:"text"},Fa=["innerHTML"],Oa={key:1,class:"vpi-more-horizontal icon"},za={class:"menu"},Ga=_({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(e){const t=S(!1),n=S();Pa({el:n,onBlur:a});function a(){t.value=!1}return(s,i)=>(l(),u("div",{class:"VPFlyout",ref_key:"el",ref:n,onMouseenter:i[1]||(i[1]=c=>t.value=!0),onMouseleave:i[2]||(i[2]=c=>t.value=!1)},[o("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":t.value,"aria-label":e.label,onClick:i[0]||(i[0]=c=>t.value=!t.value)},[e.button||e.icon?(l(),u("span",Da,[e.icon?(l(),u("span",{key:0,class:x([e.icon,"option-icon"])},null,2)):b("",!0),e.button?(l(),u("span",{key:1,innerHTML:e.button},null,8,Fa)):b("",!0),i[3]||(i[3]=o("span",{class:"vpi-chevron-down text-icon"},null,-1))])):(l(),u("span",Oa))],8,Ea),o("div",za,[k(Ba,{items:e.items},{default:m(()=>[d(s.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),_e=y(Ga,[["__scopeId","data-v-bfe7971f"]]),Ua=["href","aria-label","innerHTML"],ja=_({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(e){const t=e,n=S();j(async()=>{var i;await xe();const s=(i=n.value)==null?void 0:i.children[0];s instanceof HTMLElement&&s.className.startsWith("vpi-social-")&&(getComputedStyle(s).maskImage||getComputedStyle(s).webkitMaskImage)==="none"&&s.style.setProperty("--icon",`url('https://api.iconify.design/simple-icons/${t.icon}.svg')`)});const a=P(()=>typeof t.icon=="object"?t.icon.svg:`<span class="vpi-social-${t.icon}"></span>`);return(s,i)=>(l(),u("a",{ref_key:"el",ref:n,class:"VPSocialLink no-icon",href:e.link,"aria-label":e.ariaLabel??(typeof e.icon=="string"?e.icon:""),target:"_blank",rel:"noopener",innerHTML:a.value},null,8,Ua))}}),qa=y(ja,[["__scopeId","data-v-60a9a2d3"]]),Ra={class:"VPSocialLinks"},Wa=_({__name:"VPSocialLinks",props:{links:{}},setup(e){return(t,n)=>(l(),u("div",Ra,[(l(!0),u(w,null,A(e.links,({link:a,icon:s,ariaLabel:i})=>(l(),g(qa,{key:a,icon:s,link:a,ariaLabel:i},null,8,["icon","link","ariaLabel"]))),128))]))}}),ge=y(Wa,[["__scopeId","data-v-e71e869c"]]),Ka={key:0,class:"group translations"},Ja={class:"trans-title"},Ya={key:1,class:"group"},Za={class:"item appearance"},Xa={class:"label"},Qa={class:"appearance-action"},es={key:2,class:"group"},ts={class:"item social-links"},ns=_({__name:"VPNavBarExtra",setup(e){const{site:t,theme:n}=V(),{localeLinks:a,currentLang:s}=J({correspondingLink:!0}),i=P(()=>a.value.length&&s.value.label||t.value.appearance||n.value.socialLinks);return(c,v)=>i.value?(l(),g(_e,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:m(()=>[r(a).length&&r(s).label?(l(),u("div",Ka,[o("p",Ja,M(r(s).label),1),(l(!0),u(w,null,A(r(a),h=>(l(),g(ae,{key:h.link,item:h},null,8,["item"]))),128))])):b("",!0),r(t).appearance&&r(t).appearance!=="force-dark"&&r(t).appearance!=="force-auto"?(l(),u("div",Ya,[o("div",Za,[o("p",Xa,M(r(n).darkModeSwitchLabel||"Appearance"),1),o("div",Qa,[k(ke)])])])):b("",!0),r(n).socialLinks?(l(),u("div",es,[o("div",ts,[k(ge,{class:"social-links-list",links:r(n).socialLinks},null,8,["links"])])])):b("",!0)]),_:1})):b("",!0)}}),as=y(ns,[["__scopeId","data-v-f953d92f"]]),ss=["aria-expanded"],os=_({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(e){return(t,n)=>(l(),u("button",{type:"button",class:x(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:n[0]||(n[0]=a=>t.$emit("click"))},[...n[1]||(n[1]=[o("span",{class:"container"},[o("span",{class:"top"}),o("span",{class:"middle"}),o("span",{class:"bottom"})],-1)])],10,ss))}}),ls=y(os,[["__scopeId","data-v-6bee1efd"]]),rs=["innerHTML"],is=_({__name:"VPNavBarMenuLink",props:{item:{}},setup(e){const{page:t}=V();return(n,a)=>(l(),g(D,{class:x({VPNavBarMenuLink:!0,active:r(R)(r(t).relativePath,e.item.activeMatch||e.item.link,!!e.item.activeMatch)}),href:e.item.link,target:e.item.target,rel:e.item.rel,"no-icon":e.item.noIcon,tabindex:"0"},{default:m(()=>[o("span",{innerHTML:e.item.text},null,8,rs)]),_:1},8,["class","href","target","rel","no-icon"]))}}),cs=y(is,[["__scopeId","data-v-815115f5"]]),us=_({__name:"VPNavBarMenuGroup",props:{item:{}},setup(e){const t=e,{page:n}=V(),a=i=>"component"in i?!1:"link"in i?R(n.value.relativePath,i.link,!!t.item.activeMatch):i.items.some(a),s=P(()=>a(t.item));return(i,c)=>(l(),g(_e,{class:x({VPNavBarMenuGroup:!0,active:r(R)(r(n).relativePath,e.item.activeMatch,!!e.item.activeMatch)||s.value}),button:e.item.text,items:e.item.items},null,8,["class","button","items"]))}}),ds={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},vs=_({__name:"VPNavBarMenu",setup(e){const{theme:t}=V();return(n,a)=>r(t).nav?(l(),u("nav",ds,[a[0]||(a[0]=o("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),(l(!0),u(w,null,A(r(t).nav,s=>(l(),u(w,{key:JSON.stringify(s)},["link"in s?(l(),g(cs,{key:0,item:s},null,8,["item"])):"component"in s?(l(),g(E(s.component),U({key:1,ref_for:!0},s.props),null,16)):(l(),g(us,{key:2,item:s},null,8,["item"]))],64))),128))])):b("",!0)}}),hs=y(vs,[["__scopeId","data-v-afb2845e"]]);function fs(e){const{localeIndex:t,theme:n}=V();function a(s){var N,H,C;const i=s.split("."),c=(N=n.value.search)==null?void 0:N.options,v=c&&typeof c=="object",h=v&&((C=(H=c.locales)==null?void 0:H[t.value])==null?void 0:C.translations)||null,$=v&&c.translations||null;let f=h,p=$,L=e;const T=i.pop();for(const B of i){let G=null;const K=L==null?void 0:L[B];K&&(G=L=K);const se=p==null?void 0:p[B];se&&(G=p=se);const oe=f==null?void 0:f[B];oe&&(G=f=oe),K||(L=G),se||(p=G),oe||(f=G)}return(f==null?void 0:f[T])??(p==null?void 0:p[T])??(L==null?void 0:L[T])??""}return a}const ms=["aria-label"],ps={class:"DocSearch-Button-Container"},ks={class:"DocSearch-Button-Placeholder"},ye=_({__name:"VPNavBarSearchButton",setup(e){const n=fs({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(a,s)=>(l(),u("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":r(n)("button.buttonAriaLabel")},[o("span",ps,[s[0]||(s[0]=o("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1)),o("span",ks,M(r(n)("button.buttonText")),1)]),s[1]||(s[1]=o("span",{class:"DocSearch-Button-Keys"},[o("kbd",{class:"DocSearch-Button-Key"}),o("kbd",{class:"DocSearch-Button-Key"},"K")],-1))],8,ms))}}),bs={class:"VPNavBarSearch"},_s={id:"local-search"},gs={key:1,id:"docsearch"},$s=_({__name:"VPNavBarSearch",setup(e){const t=je(()=>qe(()=>import("./VPLocalSearchBox.BHkmziy1.js"),__vite__mapDeps([0,1]))),n=()=>null,{theme:a}=V(),s=S(!1),i=S(!1);j(()=>{});function c(){s.value||(s.value=!0,setTimeout(v,16))}function v(){const p=new Event("keydown");p.key="k",p.metaKey=!0,window.dispatchEvent(p),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||v()},16)}function h(p){const L=p.target,T=L.tagName;return L.isContentEditable||T==="INPUT"||T==="SELECT"||T==="TEXTAREA"}const $=S(!1);ie("k",p=>{(p.ctrlKey||p.metaKey)&&(p.preventDefault(),$.value=!0)}),ie("/",p=>{h(p)||(p.preventDefault(),$.value=!0)});const f="local";return(p,L)=>{var T;return l(),u("div",bs,[r(f)==="local"?(l(),u(w,{key:0},[$.value?(l(),g(r(t),{key:0,onClose:L[0]||(L[0]=N=>$.value=!1)})):b("",!0),o("div",_s,[k(ye,{onClick:L[1]||(L[1]=N=>$.value=!0)})])],64)):r(f)==="algolia"?(l(),u(w,{key:1},[s.value?(l(),g(r(n),{key:0,algolia:((T=r(a).search)==null?void 0:T.options)??r(a).algolia,onVnodeBeforeMount:L[2]||(L[2]=N=>i.value=!0)},null,8,["algolia"])):b("",!0),i.value?b("",!0):(l(),u("div",gs,[k(ye,{onClick:c})]))],64)):b("",!0)])}}}),ys=_({__name:"VPNavBarSocialLinks",setup(e){const{theme:t}=V();return(n,a)=>r(t).socialLinks?(l(),g(ge,{key:0,class:"VPNavBarSocialLinks",links:r(t).socialLinks},null,8,["links"])):b("",!0)}}),Ps=y(ys,[["__scopeId","data-v-ef6192dc"]]),Ls=["href","rel","target"],Vs=["innerHTML"],Ms={key:2},Ss=_({__name:"VPNavBarTitle",setup(e){const{site:t,theme:n}=V(),{hasSidebar:a}=z(),{currentLang:s}=J(),i=P(()=>{var h;return typeof n.value.logoLink=="string"?n.value.logoLink:(h=n.value.logoLink)==null?void 0:h.link}),c=P(()=>{var h;return typeof n.value.logoLink=="string"||(h=n.value.logoLink)==null?void 0:h.rel}),v=P(()=>{var h;return typeof n.value.logoLink=="string"||(h=n.value.logoLink)==null?void 0:h.target});return(h,$)=>(l(),u("div",{class:x(["VPNavBarTitle",{"has-sidebar":r(a)}])},[o("a",{class:"title",href:i.value??r(me)(r(s).link),rel:c.value,target:v.value},[d(h.$slots,"nav-bar-title-before",{},void 0,!0),r(n).logo?(l(),g(Z,{key:0,class:"logo",image:r(n).logo},null,8,["image"])):b("",!0),r(n).siteTitle?(l(),u("span",{key:1,innerHTML:r(n).siteTitle},null,8,Vs)):r(n).siteTitle===void 0?(l(),u("span",Ms,M(r(t).title),1)):b("",!0),d(h.$slots,"nav-bar-title-after",{},void 0,!0)],8,Ls)],2))}}),xs=y(Ss,[["__scopeId","data-v-9f43907a"]]),Ts={class:"items"},ws={class:"title"},Ns=_({__name:"VPNavBarTranslations",setup(e){const{theme:t}=V(),{localeLinks:n,currentLang:a}=J({correspondingLink:!0});return(s,i)=>r(n).length&&r(a).label?(l(),g(_e,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:r(t).langMenuLabel||"Change language"},{default:m(()=>[o("div",Ts,[o("p",ws,M(r(a).label),1),(l(!0),u(w,null,A(r(n),c=>(l(),g(ae,{key:c.link,item:c},null,8,["item"]))),128))])]),_:1},8,["label"])):b("",!0)}}),Is=y(Ns,[["__scopeId","data-v-acee064b"]]),Hs={class:"wrapper"},As={class:"container"},Cs={class:"title"},Bs={class:"content"},Es={class:"content-body"},Ds=_({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(e){const t=e,{y:n}=Te(),{hasSidebar:a}=z(),{frontmatter:s}=V(),i=S({});return fe(()=>{i.value={"has-sidebar":a.value,home:s.value.layout==="home",top:n.value===0,"screen-open":t.isScreenOpen}}),(c,v)=>(l(),u("div",{class:x(["VPNavBar",i.value])},[o("div",Hs,[o("div",As,[o("div",Cs,[k(xs,null,{"nav-bar-title-before":m(()=>[d(c.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":m(()=>[d(c.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),o("div",Bs,[o("div",Es,[d(c.$slots,"nav-bar-content-before",{},void 0,!0),k($s,{class:"search"}),k(hs,{class:"menu"}),k(Is,{class:"translations"}),k(ya,{class:"appearance"}),k(Ps,{class:"social-links"}),k(as,{class:"extra"}),d(c.$slots,"nav-bar-content-after",{},void 0,!0),k(ls,{class:"hamburger",active:e.isScreenOpen,onClick:v[0]||(v[0]=h=>c.$emit("toggle-screen"))},null,8,["active"])])])])]),v[1]||(v[1]=o("div",{class:"divider"},[o("div",{class:"divider-line"})],-1))],2))}}),Fs=y(Ds,[["__scopeId","data-v-9fd4d1dd"]]),Os={key:0,class:"VPNavScreenAppearance"},zs={class:"text"},Gs=_({__name:"VPNavScreenAppearance",setup(e){const{site:t,theme:n}=V();return(a,s)=>r(t).appearance&&r(t).appearance!=="force-dark"&&r(t).appearance!=="force-auto"?(l(),u("div",Os,[o("p",zs,M(r(n).darkModeSwitchLabel||"Appearance"),1),k(ke)])):b("",!0)}}),Us=y(Gs,[["__scopeId","data-v-a3e2920d"]]),js=["innerHTML"],qs=_({__name:"VPNavScreenMenuLink",props:{item:{}},setup(e){const t=te("close-screen");return(n,a)=>(l(),g(D,{class:"VPNavScreenMenuLink",href:e.item.link,target:e.item.target,rel:e.item.rel,"no-icon":e.item.noIcon,onClick:r(t)},{default:m(()=>[o("span",{innerHTML:e.item.text},null,8,js)]),_:1},8,["href","target","rel","no-icon","onClick"]))}}),Rs=y(qs,[["__scopeId","data-v-fa963d97"]]),Ws=["innerHTML"],Ks=_({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(e){const t=te("close-screen");return(n,a)=>(l(),g(D,{class:"VPNavScreenMenuGroupLink",href:e.item.link,target:e.item.target,rel:e.item.rel,"no-icon":e.item.noIcon,onClick:r(t)},{default:m(()=>[o("span",{innerHTML:e.item.text},null,8,Ws)]),_:1},8,["href","target","rel","no-icon","onClick"]))}}),Ee=y(Ks,[["__scopeId","data-v-e04f3e85"]]),Js={class:"VPNavScreenMenuGroupSection"},Ys={key:0,class:"title"},Zs=_({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(e){return(t,n)=>(l(),u("div",Js,[e.text?(l(),u("p",Ys,M(e.text),1)):b("",!0),(l(!0),u(w,null,A(e.items,a=>(l(),g(Ee,{key:a.text,item:a},null,8,["item"]))),128))]))}}),Xs=y(Zs,[["__scopeId","data-v-f60dbfa7"]]),Qs=["aria-controls","aria-expanded"],eo=["innerHTML"],to=["id"],no={key:0,class:"item"},ao={key:1,class:"item"},so={key:2,class:"group"},oo=_({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(e){const t=e,n=S(!1),a=P(()=>`NavScreenGroup-${t.text.replace(" ","-").toLowerCase()}`);function s(){n.value=!n.value}return(i,c)=>(l(),u("div",{class:x(["VPNavScreenMenuGroup",{open:n.value}])},[o("button",{class:"button","aria-controls":a.value,"aria-expanded":n.value,onClick:s},[o("span",{class:"button-text",innerHTML:e.text},null,8,eo),c[0]||(c[0]=o("span",{class:"vpi-plus button-icon"},null,-1))],8,Qs),o("div",{id:a.value,class:"items"},[(l(!0),u(w,null,A(e.items,v=>(l(),u(w,{key:JSON.stringify(v)},["link"in v?(l(),u("div",no,[k(Ee,{item:v},null,8,["item"])])):"component"in v?(l(),u("div",ao,[(l(),g(E(v.component),U({ref_for:!0},v.props,{"screen-menu":""}),null,16))])):(l(),u("div",so,[k(Xs,{text:v.text,items:v.items},null,8,["text","items"])]))],64))),128))],8,to)],2))}}),lo=y(oo,[["__scopeId","data-v-d99bfeec"]]),ro={key:0,class:"VPNavScreenMenu"},io=_({__name:"VPNavScreenMenu",setup(e){const{theme:t}=V();return(n,a)=>r(t).nav?(l(),u("nav",ro,[(l(!0),u(w,null,A(r(t).nav,s=>(l(),u(w,{key:JSON.stringify(s)},["link"in s?(l(),g(Rs,{key:0,item:s},null,8,["item"])):"component"in s?(l(),g(E(s.component),U({key:1,ref_for:!0},s.props,{"screen-menu":""}),null,16)):(l(),g(lo,{key:2,text:s.text||"",items:s.items},null,8,["text","items"]))],64))),128))])):b("",!0)}}),co=_({__name:"VPNavScreenSocialLinks",setup(e){const{theme:t}=V();return(n,a)=>r(t).socialLinks?(l(),g(ge,{key:0,class:"VPNavScreenSocialLinks",links:r(t).socialLinks},null,8,["links"])):b("",!0)}}),uo={class:"list"},vo=_({__name:"VPNavScreenTranslations",setup(e){const{localeLinks:t,currentLang:n}=J({correspondingLink:!0}),a=S(!1);function s(){a.value=!a.value}return(i,c)=>r(t).length&&r(n).label?(l(),u("div",{key:0,class:x(["VPNavScreenTranslations",{open:a.value}])},[o("button",{class:"title",onClick:s},[c[0]||(c[0]=o("span",{class:"vpi-languages icon lang"},null,-1)),I(" "+M(r(n).label)+" ",1),c[1]||(c[1]=o("span",{class:"vpi-chevron-down icon chevron"},null,-1))]),o("ul",uo,[(l(!0),u(w,null,A(r(t),v=>(l(),u("li",{key:v.link,class:"item"},[k(D,{class:"link",href:v.link},{default:m(()=>[I(M(v.text),1)]),_:2},1032,["href"])]))),128))])],2)):b("",!0)}}),ho=y(vo,[["__scopeId","data-v-516e4bc3"]]),fo={class:"container"},mo=_({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(e){const t=S(null),n=we(ne?document.body:null);return(a,s)=>(l(),g(ve,{name:"fade",onEnter:s[0]||(s[0]=i=>n.value=!0),onAfterLeave:s[1]||(s[1]=i=>n.value=!1)},{default:m(()=>[e.open?(l(),u("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:t,id:"VPNavScreen"},[o("div",fo,[d(a.$slots,"nav-screen-content-before",{},void 0,!0),k(io,{class:"menu"}),k(ho,{class:"translations"}),k(Us,{class:"appearance"}),k(co,{class:"social-links"}),d(a.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):b("",!0)]),_:3}))}}),po=y(mo,[["__scopeId","data-v-2dd6d0c7"]]),ko={key:0,class:"VPNav"},bo=_({__name:"VPNav",setup(e){const{isScreenOpen:t,closeScreen:n,toggleScreen:a}=va(),{frontmatter:s}=V(),i=P(()=>s.value.navbar!==!1);return Ne("close-screen",n),X(()=>{ne&&document.documentElement.classList.toggle("hide-nav",!i.value)}),(c,v)=>i.value?(l(),u("header",ko,[k(Fs,{"is-screen-open":r(t),onToggleScreen:r(a)},{"nav-bar-title-before":m(()=>[d(c.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":m(()=>[d(c.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":m(()=>[d(c.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":m(()=>[d(c.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),k(po,{open:r(t)},{"nav-screen-content-before":m(()=>[d(c.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":m(()=>[d(c.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):b("",!0)}}),_o=y(bo,[["__scopeId","data-v-7ad780c2"]]),go=["role","tabindex"],$o={key:1,class:"items"},yo=_({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(e){const t=e,{collapsed:n,collapsible:a,isLink:s,isActiveLink:i,hasActiveLink:c,hasChildren:v,toggle:h}=mt(P(()=>t.item)),$=P(()=>v.value?"section":"div"),f=P(()=>s.value?"a":"div"),p=P(()=>v.value?t.depth+2===7?"p":`h${t.depth+2}`:"p"),L=P(()=>s.value?void 0:"button"),T=P(()=>[[`level-${t.depth}`],{collapsible:a.value},{collapsed:n.value},{"is-link":s.value},{"is-active":i.value},{"has-active":c.value}]);function N(C){"key"in C&&C.key!=="Enter"||!t.item.link&&h()}function H(){t.item.link&&h()}return(C,B)=>{const G=W("VPSidebarItem",!0);return l(),g(E($.value),{class:x(["VPSidebarItem",T.value])},{default:m(()=>[e.item.text?(l(),u("div",U({key:0,class:"item",role:L.value},Re(e.item.items?{click:N,keydown:N}:{},!0),{tabindex:e.item.items&&0}),[B[1]||(B[1]=o("div",{class:"indicator"},null,-1)),e.item.link?(l(),g(D,{key:0,tag:f.value,class:"link",href:e.item.link,rel:e.item.rel,target:e.item.target},{default:m(()=>[(l(),g(E(p.value),{class:"text",innerHTML:e.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(l(),g(E(p.value),{key:1,class:"text",innerHTML:e.item.text},null,8,["innerHTML"])),e.item.collapsed!=null&&e.item.items&&e.item.items.length?(l(),u("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:H,onKeydown:We(H,["enter"]),tabindex:"0"},[...B[0]||(B[0]=[o("span",{class:"vpi-chevron-right caret-icon"},null,-1)])],32)):b("",!0)],16,go)):b("",!0),e.item.items&&e.item.items.length?(l(),u("div",$o,[e.depth<5?(l(!0),u(w,{key:0},A(e.item.items,K=>(l(),g(G,{key:K.text,item:K,depth:e.depth+1},null,8,["item","depth"]))),128)):b("",!0)])):b("",!0)]),_:1},8,["class"])}}}),Po=y(yo,[["__scopeId","data-v-0009425e"]]),Lo=_({__name:"VPSidebarGroup",props:{items:{}},setup(e){const t=S(!0);let n=null;return j(()=>{n=setTimeout(()=>{n=null,t.value=!1},300)}),Ke(()=>{n!=null&&(clearTimeout(n),n=null)}),(a,s)=>(l(!0),u(w,null,A(e.items,i=>(l(),u("div",{key:i.text,class:x(["group",{"no-transition":t.value}])},[k(Po,{item:i,depth:0},null,8,["item"])],2))),128))}}),Vo=y(Lo,[["__scopeId","data-v-51288d80"]]),Mo={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},So=_({__name:"VPSidebar",props:{open:{type:Boolean}},setup(e){const{sidebarGroups:t,hasSidebar:n}=z(),a=e,s=S(null),i=we(ne?document.body:null);O([a,s],()=>{var v;a.open?(i.value=!0,(v=s.value)==null||v.focus()):i.value=!1},{immediate:!0,flush:"post"});const c=S(0);return O(t,()=>{c.value+=1},{deep:!0}),(v,h)=>r(n)?(l(),u("aside",{key:0,class:x(["VPSidebar",{open:e.open}]),ref_key:"navEl",ref:s,onClick:h[0]||(h[0]=Je(()=>{},["stop"]))},[h[2]||(h[2]=o("div",{class:"curtain"},null,-1)),o("nav",Mo,[h[1]||(h[1]=o("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),d(v.$slots,"sidebar-nav-before",{},void 0,!0),(l(),g(Vo,{items:r(t),key:c.value},null,8,["items"])),d(v.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):b("",!0)}}),xo=y(So,[["__scopeId","data-v-42c4c606"]]),To=_({__name:"VPSkipLink",setup(e){const{theme:t}=V(),n=ee(),a=S();O(()=>n.path,()=>a.value.focus());function s({target:i}){const c=document.getElementById(decodeURIComponent(i.hash).slice(1));if(c){const v=()=>{c.removeAttribute("tabindex"),c.removeEventListener("blur",v)};c.setAttribute("tabindex","-1"),c.addEventListener("blur",v),c.focus(),window.scrollTo(0,0)}}return(i,c)=>(l(),u(w,null,[o("span",{ref_key:"backToTop",ref:a,tabindex:"-1"},null,512),o("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:s},M(r(t).skipToContentLabel||"Skip to content"),1)],64))}}),wo=y(To,[["__scopeId","data-v-fcbfc0e0"]]),No=_({__name:"Layout",setup(e){const{isOpen:t,open:n,close:a}=z(),s=ee();O(()=>s.path,a),ft(t,a);const{frontmatter:i}=V(),c=Ye(),v=P(()=>!!c["home-hero-image"]);return Ne("hero-image-slot-exists",v),(h,$)=>{const f=W("Content");return r(i).layout!==!1?(l(),u("div",{key:0,class:x(["Layout",r(i).pageClass])},[d(h.$slots,"layout-top",{},void 0,!0),k(wo),k(tt,{class:"backdrop",show:r(t),onClick:r(a)},null,8,["show","onClick"]),k(_o,null,{"nav-bar-title-before":m(()=>[d(h.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":m(()=>[d(h.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":m(()=>[d(h.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":m(()=>[d(h.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":m(()=>[d(h.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":m(()=>[d(h.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),k(da,{open:r(t),onOpenMenu:r(n)},null,8,["open","onOpenMenu"]),k(xo,{open:r(t)},{"sidebar-nav-before":m(()=>[d(h.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":m(()=>[d(h.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),k(Jn,null,{"page-top":m(()=>[d(h.$slots,"page-top",{},void 0,!0)]),"page-bottom":m(()=>[d(h.$slots,"page-bottom",{},void 0,!0)]),"not-found":m(()=>[d(h.$slots,"not-found",{},void 0,!0)]),"home-hero-before":m(()=>[d(h.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":m(()=>[d(h.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":m(()=>[d(h.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":m(()=>[d(h.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":m(()=>[d(h.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":m(()=>[d(h.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":m(()=>[d(h.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":m(()=>[d(h.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":m(()=>[d(h.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":m(()=>[d(h.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":m(()=>[d(h.$slots,"doc-before",{},void 0,!0)]),"doc-after":m(()=>[d(h.$slots,"doc-after",{},void 0,!0)]),"doc-top":m(()=>[d(h.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":m(()=>[d(h.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":m(()=>[d(h.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":m(()=>[d(h.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":m(()=>[d(h.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":m(()=>[d(h.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":m(()=>[d(h.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":m(()=>[d(h.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),k(ea),d(h.$slots,"layout-bottom",{},void 0,!0)],2)):(l(),g(f,{key:1}))}}}),Io=y(No,[["__scopeId","data-v-d8b57b2d"]]),Pe={Layout:Io,enhanceApp:({app:e})=>{e.component("Badge",Xe)}},Ho={check:'<path d="M20 6 9 17l-5-5"/>',sparkles:'<path d="M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z"/><path d="M20 3v4"/><path d="M22 5h-4"/><path d="M4 17v2"/><path d="M5 18H3"/>',"circle-check":'<circle cx="12" cy="12" r="10"/><path d="m9 12 2 2 4-4"/>',"circle-x":'<circle cx="12" cy="12" r="10"/><path d="m15 9-6 6"/><path d="m9 9 6 6"/>',"circle-dashed":'<path d="M10.1 2.182a10 10 0 0 1 3.8 0"/><path d="M13.9 21.818a10 10 0 0 1-3.8 0"/><path d="M17.609 3.721a10 10 0 0 1 2.69 2.7"/><path d="M2.182 13.9a10 10 0 0 1 0-3.8"/><path d="M20.279 17.609a10 10 0 0 1-2.7 2.69"/><path d="M21.818 10.1a10 10 0 0 1 0 3.8"/><path d="M3.721 6.391a10 10 0 0 1 2.7-2.69"/><path d="M6.391 20.279a10 10 0 0 1-2.69-2.7"/>',"circle-dot":'<circle cx="12" cy="12" r="10"/><circle cx="12" cy="12" r="1"/>',"loader-circle":'<path d="M21 12a9 9 0 1 1-6.219-8.56"/>',"file-text":'<path d="M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z"/><path d="M14 2v4a2 2 0 0 0 2 2h4"/><path d="M10 9H8"/><path d="M16 13H8"/><path d="M16 17H8"/>',"file-code":'<path d="M10 12.5 8 15l2 2.5"/><path d="m14 12.5 2 2.5-2 2.5"/><path d="M14 2v4a2 2 0 0 0 2 2h4"/><path d="M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z"/>',"messages-square":'<path d="M14 9a2 2 0 0 1-2 2H6l-4 4V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2z"/><path d="M18 9h2a2 2 0 0 1 2 2v11l-4-4h-6a2 2 0 0 1-2-2v-1"/>',"message-square-plus":'<path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/><path d="M12 7v6"/><path d="M9 10h6"/>',"pen-tool":'<path d="M15.707 21.293a1 1 0 0 1-1.414 0l-1.586-1.586a1 1 0 0 1 0-1.414l5.586-5.586a1 1 0 0 1 1.414 0l1.586 1.586a1 1 0 0 1 0 1.414z"/><path d="m18 13-1.375-6.874a1 1 0 0 0-.746-.776L3.235 2.028a1 1 0 0 0-1.207 1.207L5.35 15.879a1 1 0 0 0 .776.746L13 18"/><path d="m2.3 2.3 7.286 7.286"/><circle cx="11" cy="11" r="2"/>',workflow:'<rect width="8" height="8" x="3" y="3" rx="2"/><path d="M7 11v4a2 2 0 0 0 2 2h4"/><rect width="8" height="8" x="13" y="13" rx="2"/>',"shield-check":'<path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"/><path d="m9 12 2 2 4-4"/>',"git-pull-request":'<circle cx="18" cy="18" r="3"/><circle cx="6" cy="6" r="3"/><path d="M13 6h3a2 2 0 0 1 2 2v7"/><line x1="6" x2="6" y1="9" y2="21"/>',"git-branch":'<line x1="6" x2="6" y1="3" y2="15"/><circle cx="18" cy="6" r="3"/><circle cx="6" cy="18" r="3"/><path d="M18 9a9 9 0 0 1-9 9"/>',"clipboard-check":'<rect width="8" height="4" x="8" y="2" rx="1" ry="1"/><path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"/><path d="m9 14 2 2 4-4"/>',play:'<polygon points="6 3 20 12 6 21 6 3"/>',inbox:'<polyline points="22 12 16 12 14 15 10 15 8 12 2 12"/><path d="M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"/>',"undo-2":'<path d="M9 14 4 9l5-5"/><path d="M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11"/>',"octagon-alert":'<path d="M12 16h.01"/><path d="M12 8v4"/><path d="M15.312 2a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586l-4.688-4.688A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2z"/>',"triangle-alert":'<path d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3"/><path d="M12 9v4"/><path d="M12 17h.01"/>',"chart-column":'<path d="M3 3v16a2 2 0 0 0 2 2h16"/><path d="M18 17V9"/><path d="M13 17V5"/><path d="M8 17v-3"/>',"chevron-down":'<path d="m6 9 6 6 6-6"/>',"chevron-right":'<path d="m9 18 6-6-6-6"/>',"arrow-right":'<path d="M5 12h14"/><path d="m12 5 7 7-7 7"/>',copy:'<rect width="14" height="14" x="8" y="8" rx="2" ry="2"/><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"/>',sun:'<circle cx="12" cy="12" r="4"/><path d="M12 2v2"/><path d="M12 20v2"/><path d="m4.93 4.93 1.41 1.41"/><path d="m17.66 17.66 1.41 1.41"/><path d="M2 12h2"/><path d="M20 12h2"/><path d="m6.34 17.66-1.41 1.41"/><path d="m19.07 4.93-1.41 1.41"/>',lightbulb:'<path d="M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5"/><path d="M9 18h6"/><path d="M10 22h4"/>',info:'<circle cx="12" cy="12" r="10"/><path d="M12 16v-4"/><path d="M12 8h.01"/>',clock:'<circle cx="12" cy="12" r="10"/><polyline points="12 6 12 12 16 14"/>',user:'<path d="M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2"/><circle cx="12" cy="7" r="4"/>',users:'<path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M22 21v-2a4 4 0 0 0-3-3.87"/><path d="M16 3.13a4 4 0 0 1 0 7.75"/>',search:'<circle cx="11" cy="11" r="8"/><path d="m21 21-4.3-4.3"/>',terminal:'<polyline points="4 17 10 11 4 5"/><line x1="12" x2="20" y1="19" y2="19"/>',lock:'<rect width="18" height="11" x="3" y="11" rx="2" ry="2"/><path d="M7 11V7a5 5 0 0 1 10 0v4"/>',"list-checks":'<path d="m3 17 2 2 4-4"/><path d="m3 7 2 2 4-4"/><path d="M13 6h8"/><path d="M13 12h8"/><path d="M13 18h8"/>',"mouse-pointer-click":'<path d="M14 4.1 12 6"/><path d="m5.1 8-2.9-.8"/><path d="m6 12-1.9 2"/><path d="M7.2 2.2 8 5.1"/><path d="M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z"/>',history:'<path d="M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"/><path d="M3 3v5h5"/><path d="M12 7v5l4 2"/>',"trash-2":'<path d="M3 6h18"/><path d="M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6"/><path d="M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2"/><line x1="10" x2="10" y1="11" y2="17"/><line x1="14" x2="14" y1="11" y2="17"/>',moon:'<path d="M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z"/>',"external-link":'<path d="M15 3h6v6"/><path d="M10 14 21 3"/><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/>',folder:'<path d="M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"/>'},Ao=["width","height","innerHTML"],F=_({__name:"RkIcon",props:{name:{},size:{}},setup(e){const t=e,n=P(()=>Ho[t.name]??"");return(a,s)=>(l(),u("svg",{class:"ic",width:e.size??16,height:e.size??16,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.75","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true",innerHTML:n.value},null,8,Ao))}}),Co={class:"rk-home"},Bo={class:"rk-aurora"},Eo={class:"wrap hero"},Do=["href"],Fo={class:"rk-term"},Oo={class:"rk-term__tabs",role:"tablist"},zo=["aria-selected","onClick"],Go={class:"rk-term__body"},Uo=["aria-label","title"],jo={class:"rk-cap note"},qo={class:"actions"},Ro=["href"],Wo=["href"],Ko={class:"wrap"},Jo={class:"flow","aria-label":"一个需求怎么走"},Yo={class:"rk-track"},Zo={class:"blk"},Xo={class:"rk-bento"},Qo={class:"rk-card rk-span-8"},el={class:"rk-card__label"},tl={class:"rk-card rk-span-4"},nl={class:"rk-card__label"},al={class:"rk-card rk-span-4"},sl={class:"rk-card__label rk-card__label--data"},ol={class:"rk-card rk-span-4"},ll={class:"rk-card__label rk-card__label--ai"},rl={class:"rk-card rk-span-4"},il={class:"rk-card__label"},cl={class:"rk-card rk-span-12"},ul={class:"row"},dl={class:"rk-card__label danger"},vl={class:"blk","aria-label":"数字"},hl={class:"rk-bento"},fl={class:"rk-stat rk-span-3"},ml={class:"blk latest"},pl=["href"],kl=_({__name:"RkHome",setup(e){const{theme:t}=Le(),n=P(()=>t.value.rk),a=S([{id:"dsh",label:"DeepSeek Harness",command:"npx -y @yiyi_zhang/laoshi@latest install --platform dsh",note:"只需要 Node.js 22.19+。公司内网只有 npm 镜像时加 --registry=<镜像地址>(会保存为本机的 npm 源)。Windows 上用 cmd 或 Git Bash。"},{id:"paseo",label:"Paseo",command:"npx -y @yiyi_zhang/laoshi@latest install --platform paseo",note:"装在运行 Paseo daemon 的机器上;skill 装进 ~/.agents/skills 和 ~/.claude/skills。"},{id:"mirror",label:"公司内网",command:"npx -y --registry=https://npm.example.internal/ @yiyi_zhang/laoshi@latest install --platform dsh",note:'把地址换成公司的 npm 镜像。连镜像也没有时用离线安装包,见"内网安装与验证"。'}]),s=S("dsh"),i=P(()=>a.value.find($=>$.id===s.value)??a.value[0]),c=S(!1);function v(){var $;($=navigator.clipboard)==null||$.writeText(i.value.command).then(()=>{c.value=!0,setTimeout(()=>c.value=!1,1500)})}const h=[{icon:"messages-square",name:"对齐",who:"你和 AI 对话",person:!0},{icon:"pen-tool",name:"方案",who:"AI 写,你确认"},{icon:"file-code",name:"实现",who:"AI,质量门把关"},{icon:"sparkles",name:"评审",who:"另一个模型"},{icon:"shield-check",name:"验证",who:"按验收标准"},{icon:"clipboard-check",name:"验收",who:"你逐条核对",person:!0}];return($,f)=>(l(),u("div",Co,[o("div",Bo,[o("header",Eo,[o("a",{class:"rk-version",href:r(q)("/changelog")},[o("b",null,M(n.value.version),1),I(M(n.value.beta?"beta":"最新"),1)],8,Do),f[2]||(f[2]=o("h1",null,[I("一句需求,到"),o("span",{class:"rk-grad"},"可验收的功能")],-1)),f[3]||(f[3]=o("p",{class:"lead"},"在 agent 平台(Paseo、DeepSeek Harness)里用对话把需求谈清楚;一组 AI agent 在后台完成方案、实现、评审和验证;每个要拍板的地方都停下来等你。",-1)),o("div",Fo,[o("div",Oo,[(l(!0),u(w,null,A(a.value,p=>(l(),u("button",{key:p.id,type:"button",role:"tab","aria-selected":s.value===p.id,class:x({"is-on":s.value===p.id}),onClick:L=>s.value=p.id},M(p.label),11,zo))),128))]),o("div",Go,[f[0]||(f[0]=o("i",null,"$",-1)),o("code",null,M(i.value.command),1),o("button",{class:"rk-btn rk-btn--ghost rk-btn--sm",type:"button","aria-label":c.value?"已复制":"复制命令",title:c.value?"已复制":"复制命令",onClick:v},[k(F,{name:c.value?"check":"copy"},null,8,["name"])],8,Uo)])]),o("p",jo,M(i.value.note),1),o("div",qo,[o("a",{class:"rk-btn rk-btn--primary rk-btn--lg rk-btn--cta",href:r(q)("/guide/getting-started")},[f[1]||(f[1]=I("快速开始",-1)),k(F,{name:"arrow-right"})],8,Ro),o("a",{class:"rk-btn rk-btn--lg",href:r(q)("/guide/")},"laoshi 是什么",8,Wo)])])]),o("div",Ko,[o("section",Jo,[o("ol",Yo,[(l(),u(w,null,A(h,p=>o("li",{key:p.name,class:x({"is-needs":p.person})},[o("span",{class:x(["rk-track__dot",{ai:!p.person}])},[k(F,{class:"ic-sm",name:p.icon},null,8,["name"])],2),o("b",null,M(p.name),1),o("span",null,M(p.who),1)],2)),64))])]),o("section",Zo,[f[24]||(f[24]=o("div",{class:"rk-section"},[o("span",{class:"rk-eyebrow"},"Built for people who own the requirement"),o("h2",null,"每一步都有人把关"),o("p",null,"测试、产品、项目经理不用写代码,也能把需求做到可验收:AI 做的事看得见,要你决定的事一目了然。")],-1)),o("div",Xo,[o("article",Qo,[o("span",el,[k(F,{class:"ic-sm",name:"messages-square"}),f[4]||(f[4]=I("对齐需求",-1))]),f[5]||(f[5]=Ze('<h3 data-v-0417ff17>一次一个问题,带选项和推荐</h3><p data-v-0417ff17>异常情况、权限、测试数据都会问到;确认前另一个模型独立审阅需求说明。</p><div class="shot" data-v-0417ff17><div class="bub" data-v-0417ff17> 没有数据时,导出按钮怎么处理? <div class="opt" data-v-0417ff17><span class="rk-chip" data-v-0417ff17>A 按钮置灰(推荐)</span><span class="rk-chip" data-v-0417ff17>B 导出空表</span><span class="rk-chip" data-v-0417ff17>C 隐藏按钮</span></div></div><div class="bub bub--me" data-v-0417ff17>A,置灰,鼠标放上去说明原因</div></div>',3))]),o("article",tl,[o("span",nl,[k(F,{class:"ic-sm",name:"pen-tool"}),f[6]||(f[6]=I("审查原型",-1))]),f[7]||(f[7]=o("h3",null,"在原型上点一点就能提意见",-1)),f[8]||(f[8]=o("p",null,'点要改的地方,选"大一点、换颜色、删掉",用自己的话补一句,自动整理成修改清单。',-1)),f[9]||(f[9]=o("div",{class:"rk-dots canvas"},[o("span",{class:"target"},[I("导出 Excel"),o("span",{class:"rk-pin"},"1")])],-1))]),o("article",al,[o("span",sl,[k(F,{class:"ic-sm",name:"shield-check"}),f[10]||(f[10]=I("质量门",-1))]),f[11]||(f[11]=o("h3",null,"检查由程序来跑",-1)),f[12]||(f[12]=o("p",null,"lint、测试、构建在改动前后各跑一次,只拦新出现的失败,发回给写代码的 agent 修。",-1))]),o("article",ol,[o("span",ll,[k(F,{class:"ic-sm",name:"git-pull-request"}),f[13]||(f[13]=I("代码审查",-1))]),f[14]||(f[14]=o("h3",null,"AI 意见放在对应的行旁边",-1)),f[15]||(f[15]=o("p",null,'评审人标"要改 / 不用改"、写自己的意见;退回后流水线按意见修改,再评审、再验证。',-1))]),o("article",rl,[o("span",il,[k(F,{class:"ic-sm",name:"clipboard-check"}),f[16]||(f[16]=I("验收清单",-1))]),f[17]||(f[17]=o("h3",null,"逐条核对,一键试用",-1)),f[18]||(f[18]=o("p",null,"每条写着怎么操作、应该看到什么;在需求自己的工作区里把它跑起来再验。",-1))]),o("article",cl,[o("div",ul,[o("span",dl,[k(F,{class:"ic-sm",name:"octagon-alert"}),f[19]||(f[19]=I("边界清楚",-1))]),f[20]||(f[20]=o("span",{class:"rk-cap"},"默认打开",-1))]),f[21]||(f[21]=o("h3",null,"推送、发布、连生产,都会被拦下来告诉你",-1)),f[22]||(f[22]=o("p",null,"流水线只做本地提交;agent 推送代码、发布制品、改集群、连其他机器的数据库时立即打断,并在对话里通知你。每个改代码的步骤之后扫描密钥,有疑似密钥的分支不会推送。",-1)),f[23]||(f[23]=o("div",{class:"notice"},[I("【需求开发流水线通知】「实现」步骤里,agent 开始运行一条不允许的命令(推送到远程仓库),流水线已经打断了它:"),o("br"),I("git push origin HEAD:main")],-1))])])]),o("section",vl,[o("div",hl,[f[27]||(f[27]=o("div",{class:"rk-stat rk-span-3"},[o("b",null,"2"),o("strong",null,"个 agent 平台"),o("span",null,"Paseo 和 DeepSeek Harness;平台差异都在适配器里")],-1)),f[28]||(f[28]=o("div",{class:"rk-stat rk-span-3"},[o("b",null,"240+"),o("strong",null,"项自动化测试"),o("span",null,"Linux 和 Windows 都通过才合并")],-1)),o("div",fl,[o("b",null,M(n.value.adrs),1),f[25]||(f[25]=o("strong",null,"份设计决定记录",-1)),f[26]||(f[26]=o("span",null,"每个关键取舍都写明原因",-1))]),f[29]||(f[29]=o("div",{class:"rk-stat rk-span-3"},[o("b",null,"5"),o("strong",null,"种需求类型"),o("span",null,"新需求、小改动、缺陷、重构、评估")],-1))])]),o("section",ml,[f[32]||(f[32]=o("span",{class:"rk-eyebrow"},"Latest",-1)),o("p",null,[f[30]||(f[30]=I(" 最新版本 ",-1)),o("code",null,M(n.value.version),1),f[31]||(f[31]=I(":从 paseo-req-kit 抽出的平台无关版本,支持 Paseo 和 DeepSeek Harness。 ",-1)),o("a",{href:r(q)("/changelog")},"看更新记录 →",8,pl)])])])]))}}),bl=y(kl,[["__scopeId","data-v-0417ff17"]]),gl={extends:Pe,Layout:()=>$e(Pe.Layout,null,{"home-hero-before":()=>$e(bl)})};export{gl as R,fs as c,V as u};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{_ as e,o as t,c as a,j as l,a as i}from"./chunks/framework.BetZR81g.js";const c=JSON.parse('{"title":"dsh 适配器(M4b 原型)","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"guide/dsh.md","filePath":"guide/dsh.md","lastUpdated":null}'),n={name:"guide/dsh.md"};function h(d,s,k,r,o,p){return t(),a("div",null,[...s[0]||(s[0]=[l("div",null,[l("h1",{id:"dsh-适配器-m4b-原型",tabindex:"-1"},[i("dsh 适配器(M4b 原型) "),l("a",{class:"header-anchor",href:"#dsh-适配器-m4b-原型","aria-label":'Permalink to "dsh 适配器(M4b 原型)"'},"")]),l("p",null,[i("让 laoshi 运行在 DeepSeek Harness(dsh)上。设计见 "),l("a",{href:"https://github.com/yiyisf/laoshi/blob/main/docs/design/dsh-adapter.md",target:"_blank",rel:"noreferrer"},"dsh-adapter"),i(",决定见 "),l("a",{href:"./../reference/adr/0008-capability-sources-and-platform-plugin"},"ADR 0008"),i(",摸底结果见 "),l("a",{href:"https://github.com/yiyisf/laoshi/blob/main/docs/discovery/dsh/report.md",target:"_blank",rel:"noreferrer"},"dsh 摸底报告"),i("。")]),l("h2",{id:"组成",tabindex:"-1"},[i("组成 "),l("a",{class:"header-anchor",href:"#组成","aria-label":'Permalink to "组成"'},"")]),l("table",{tabindex:"0"},[l("thead",null,[l("tr",null,[l("th",null,"部分"),l("th",null,"位置"),l("th",null,"做什么")])]),l("tbody",null,[l("tr",null,[l("td",null,"插件"),l("td",null,[l("code",null,"plugin/"),i("(npm 包 "),l("code",null,"laoshi-dsh-plugin"),i(")")]),l("td",null,"运行在 dsh host 里:在对话下创建步骤 agent、向对话发定时消息、按策略回答步骤的审批请求,并把会话的创建、发送消息、取消、状态、历史转给 dsh 的会话控制器。不含流程逻辑")]),l("tr",null,[l("td",null,"运行时"),l("td",null,[l("code",null,"dsh-runtime.ts")]),l("td",null,[i("引擎一侧的 "),l("code",null,"AgentRuntime"),i(" 实现,只通过插件做事,不调用 dsh 的 "),l("code",null,"/api")])]),l("tr",null,[l("td",null,"本地通道"),l("td",null,[l("code",null,"plugin/channel.mjs")]),l("td",null,[i("两边共用的约定:插件在 "),l("code",null,"$DSH_HOME/laoshi/"),i(" 下监听本地 socket(Windows 上是命名管道),并写一个随机令牌,只有同一用户能读到,调用时必须带上")])]),l("tr",null,[l("td",null,"测试"),l("td",null,[l("code",null,"test/")]),l("td",null,[i("插件配上模拟的 dsh 服务,运行时通过真实的 socket 调用插件;属于 "),l("code",null,"npm test")])]),l("tr",null,[l("td",null,"端到端检查"),l("td",null,[l("code",null,"e2e/")]),l("td",null,[i("在真实的 dsh 上跑一条完整的流水线,只有模型是模拟的;需要装好 dsh,不属于 "),l("code",null,"npm test")])])])]),l("h2",{id:"使用",tabindex:"-1"},[i("使用 "),l("a",{class:"header-anchor",href:"#使用","aria-label":'Permalink to "使用"'},"")]),l("blockquote",null,[l("p",null,[i("内网(Windows,无 PowerShell)安装与验证见 "),l("a",{href:"./intranet"},"docs/intranet/install-verify.md"),i(":"),l("code",null,"intranet/install.mjs"),i(" 一次完成配置、插件安装与挂载、skill 渲染;"),l("code",null,"intranet/make-sample.mjs"),i(" 生成验证用的样例项目;安装包由 "),l("code",null,"scripts/pack-intranet.mjs"),i(" 生成(带 Windows 依赖,内网不需要 npm 源)。")])]),l("ol",null,[l("li",null,[l("p",null,"把插件装进 dsh 的 profile,并挂载:"),l("div",{class:"language-sh vp-adaptive-theme"},[l("button",{title:"Copy Code",class:"copy"}),l("span",{class:"lang"},"sh"),l("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0","v-pre":""},[l("code",null,[l("span",{class:"line"},[l("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"dsh"),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}}," plugin"),l("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," --profile"),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}}," web"),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}}," add"),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}}," file:"),l("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"<"),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"laosh"),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"i"),l("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"/adapters/dsh/plugin")])])])]),l("p",null,[i("在 "),l("code",null,"$DSH_HOME/profiles/web/cordis.patch.yml"),i(" 末尾加上:")]),l("div",{class:"language-yaml vp-adaptive-theme"},[l("button",{title:"Copy Code",class:"copy"}),l("span",{class:"lang"},"yaml"),l("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0","v-pre":""},[l("code",null,[l("span",{class:"line"},[l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"- "),l("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"insert"),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},":")]),i(`
|
|
2
|
+
`),l("span",{class:"line"},[l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," - "),l("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"id"),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},": "),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"laoshi-dsh")]),i(`
|
|
3
|
+
`),l("span",{class:"line"},[l("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}}," name"),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},": "),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"'laoshi-dsh-plugin'")]),i(`
|
|
4
|
+
`),l("span",{class:"line"},[l("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}}," config"),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},":")]),i(`
|
|
5
|
+
`),l("span",{class:"line"},[l("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}}," approvals"),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},": "),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"ask"),l("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}}," # ask:步骤的审批请求交给人(默认);allow:直接批准一次")]),i(`
|
|
6
|
+
`),l("span",{class:"line"},[l("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}}," kitRoot"),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},": "),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"'<laoshi>'")]),i(`
|
|
7
|
+
`),l("span",{class:"line"},[l("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}}," board"),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},": "),l("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"true"),l("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}}," # 默认随 dsh 启动托管 Web 需求看板;laoshi doctor 会输出访问地址")])])])])]),l("li",null,[l("p",null,"laoshi 的配置里选择 dsh 适配器:"),l("div",{class:"language-json vp-adaptive-theme"},[l("button",{title:"Copy Code",class:"copy"}),l("span",{class:"lang"},"json"),l("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0","v-pre":""},[l("code",null,[l("span",{class:"line"},[l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"{ "),l("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},'"platform"'),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},": { "),l("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},'"adapter"'),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},": "),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"dsh"'),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," } }")])])])])]),l("li",null,[l("p",null,[i("选择各角色的模型(可选,M4b):agent 的 "),l("code",null,"provider"),i(" 写成 "),l("code",null,"<dsh 的提供方>/<模型>"),i("(如 "),l("code",null,"deepseek/deepseek-reasoner"),i("),这个角色的步骤就用它;"),l("code",null,"thinkingOptionId"),i(" 作为推理强度。写 "),l("code",null,"dsh/chat-model"),i(" 时用对话的模型(安装脚本的默认值)。"),l("code",null,"laoshi doctor"),i(" 列出 dsh 中可用的模型,并逐个角色检查。")]),l("div",{class:"language-json vp-adaptive-theme"},[l("button",{title:"Copy Code",class:"copy"}),l("span",{class:"lang"},"json"),l("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0","v-pre":""},[l("code",null,[l("span",{class:"line"},[l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"{ "),l("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},'"agents"'),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},": { "),l("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},'"builder"'),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},": { "),l("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},'"provider"'),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},": "),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"dsh/chat-model"'),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," }, "),l("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},'"reviewer"'),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},": { "),l("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},'"provider"'),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},": "),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"deepseek/deepseek-reasoner"'),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),l("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},'"thinkingOptionId"'),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},": "),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"high"'),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," } } }")])])])])]),l("li",null,[l("p",null,[i("在 dsh 的对话里发起流水线。引擎从 "),l("code",null,"DSH_SESSION_ID"),i(" 识别发起的对话,从 "),l("code",null,"DSH_HOME"),i(" 找到插件。对话的 shell 运行在会话目录中,所以仓库目录就是当前目录。")])])]),l("h2",{id:"原型的范围",tabindex:"-1"},[i("原型的范围 "),l("a",{class:"header-anchor",href:"#原型的范围","aria-label":'Permalink to "原型的范围"'},"")]),l("p",null,[i("已实现:"),l("code",null,"AgentRuntime"),i(" 的全部必需能力(核对发起的对话,创建、等待、追问、打断步骤 agent,续接,向对话发消息),以及定时消息(支持 "),l("code",null,"expiresAt"),i(" 到期由插件自动取消)和取消、定时新建独立会话("),l("code",null,"scheduleNewAgent"),i(")、审批(等人时 "),l("code",null,"wait"),i(" 返回 "),l("code",null,"permission"),i(")、工具调用记录(危险命令拦截、大目录搜索打断、最近活动)、用量、"),l("code",null,"providerStatus"),i("(列出已配置模型提供方)以及托管 Web 需求看板("),l("code",null,"laoshi board --no-open"),i(")。M2b 起,在新建的工作区中开发("),l("code",null,"--worktree"),i(")和由 laoshi 管理的服务使用 laoshi 的内置实现("),l("code",null,"git worktree"),i(",以及 "),l("code",null,".laoshi/services.json"),i(" 中定义的服务,见 "),l("a",{href:"./../reference/design/builtin-capabilities"},"builtin-capabilities"),i(")。")]),l("p",null,"还没有实现:"),l("table",{tabindex:"0"},[l("thead",null,[l("tr",null,[l("th",null,"能力"),l("th",null,"现在的行为"),l("th",null,"计划")])]),l("tbody",null,[l("tr",null,[l("td",null,"联合需求(几个仓库各建工作区)"),l("td",null,"用内置 worktree,单元测试覆盖了新建工作区,但还没有真实 dsh 端到端检查"),l("td",null,"内网实机验证")]),l("tr",null,[l("td",null,"额度、平台 agent profile"),l("td",null,[i("返回 "),l("code",null,"null")]),l("td",null,"—")]),l("tr",null,[l("td",null,"事件流替代轮询"),l("td",null,[i("轮询 "),l("code",null,"session/list"),i(" 等待步骤完成")]),l("td",null,"需在真实 dsh 上确认插件事件流 API 后实现")]),l("tr",null,[l("td",null,[i("浏览器能力检测("),l("code",null,"capabilities"),i(")")]),l("td",null,[i("返回 "),l("code",null,"null")]),l("td",null,"需在真实 dsh 上确认插件探测 API 后实现")]),l("tr",null,[l("td",null,"Windows"),l("td",null,[i("运行时和插件按 Windows 写好(命名管道),但没有在 Windows 上跑过端到端检查;dsh 在 Windows 上的 shell 见"),l("a",{href:"https://github.com/yiyisf/laoshi/blob/main/docs/discovery/dsh/report.md#%E5%86%85%E7%BD%91-windows-%E8%87%AA%E6%B5%8B%E7%BB%93%E6%9E%9C2026-10-30",target:"_blank",rel:"noreferrer"},"摸底报告")]),l("td",null,"内网验证")])])]),l("h2",{id:"端到端检查",tabindex:"-1"},[i("端到端检查 "),l("a",{class:"header-anchor",href:"#端到端检查","aria-label":'Permalink to "端到端检查"'},"")]),l("div",{class:"language-sh vp-adaptive-theme"},[l("button",{title:"Copy Code",class:"copy"}),l("span",{class:"lang"},"sh"),l("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0","v-pre":""},[l("code",null,[l("span",{class:"line"},[l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"LAOSHI_E2E_DSH"),l("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=<"),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"装有"),l("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," @deepseek-ai/dsh"),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}}," 的目"),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"录"),l("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}}," node"),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}}," adapters/dsh/e2e/run-e2e.mjs"),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," [--out "),l("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"<"),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"目"),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"录"),l("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"]"),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," [--worktree]")])])])]),l("p",null,[i("加 "),l("code",null,"--worktree"),i(" 时,样例仓库在 main 上,带一个服务和一条准备命令("),l("code",null,".laoshi/services.json"),i(")。脚本通过启动器加 "),l("code",null,"--worktree"),i(" 启动流水线,额外检查以下几项:需求的工作区是安装目录下的 "),l("code",null,"git worktree"),i(";准备命令已运行;步骤 agent 在工作区中工作;验证前内置服务已启动并通过健康检查;流水线结束后服务已停止。")]),l("p",null,[i("脚本会做这些事:建一个独立的 "),l("code",null,"DSH_HOME"),i(",装上插件,用 "),l("code",null,"e2e/step-model.mjs"),i(" 模拟模型,启动 dsh;建一个对话;在对话里用 quick 档跑一条流水线;最后检查结果并写出 "),l("code",null,"report.md"),i("。")]),l("p",null,'模拟模型对每个步骤,通过 dsh 的 bash 工具写出产出文件和合格的结果文件,所以这个检查验证的是"引擎 → 插件 → dsh 子 agent → 文件 → 引擎"整条链路是否接通,不代表模型的能力。'),l("p",null,[i("最近一次结果(2026-11-01,Linux,dsh 0.2.2-alpha.2):不加参数时 8 项检查全部通过(M4b 时 Node 24.22 和 22.20 各跑一次,M2b 时 Node 24.22);加 "),l("code",null,"--worktree"),i(" 时 14 项全部通过(M2b,Node 24.22)。7 个步骤(方案设计 → 方案审核 → 代码实现 → 代码评审 → 提测说明 → 功能验证 → 完成报告)都以带标签的子 agent 挂在对话下,流水线状态为 "),l("code",null,"completed"),i(",进展和结束通知都发回了对话。")]),l("p",null,[i("实机适配补充(2026-11-24,macOS,Node 24.10.0,"),l("code",null,"@deepseek-ai/dsh@0.2.2-rc.5"),i("):插件已针对 "),l("code",null,"0.2.2-rc.5"),i(" 调整的 "),l("code",null,"subagents.startActivation"),i("(扁平顶层参数)、"),l("code",null,"subagents.interrupt"),i("、"),l("code",null,"schedule.create"),i("/"),l("code",null,"edit"),i("(含 "),l("code",null,"cron.time_zone"),i(")与 "),l("code",null,"sessions.events"),i(" 做了双版本兼容;重跑 "),l("code",null,"run-e2e.mjs --worktree"),i(" 跑通 16/17 项核心链路(全部 7 个步骤、worktree、"),l("code",null,"setup"),i("、内置服务启动/健康检查/停服务、按角色选用 "),l("code",null,"e2e/step-1"),i(" 与对话结束通知;仅环境日志检查因测试机 "),l("code",null,"~/.agents/skills/"),i(" 中遗留旧版 "),l("code",null,"req-setup"),i(" 描述含 Paseo 字样而提示),另在隔离宿主实机验证了 "),l("code",null,"board: true"),i(" 托管看板网页渲染、主题交互、"),l("code",null,"schedule"),i("(含 "),l("code",null,"expiresAt"),i(")、"),l("code",null,"scheduleAgent"),i("、"),l("code",null,"cancelSchedule"),i(" 与 "),l("code",null,"laoshi doctor"),i(" 全部正常。")])],-1),l("p",{class:"source-note"},[i("本页由仓库中的 "),l("a",{href:"https://github.com/yiyisf/laoshi/blob/main/adapters/dsh/README.md"},"adapters/dsh/README.md"),i(" 生成。"),l("a",{href:"https://github.com/yiyisf/laoshi/edit/main/adapters/dsh/README.md"},"在 GitHub 上编辑")],-1)])])}const E=e(n,[["render",h]]);export{c as __pageData,E as default};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{_ as e,o as t,c as a,j as l,a as i}from"./chunks/framework.BetZR81g.js";const c=JSON.parse('{"title":"dsh 适配器(M4b 原型)","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"guide/dsh.md","filePath":"guide/dsh.md","lastUpdated":null}'),n={name:"guide/dsh.md"};function h(d,s,k,r,o,p){return t(),a("div",null,[...s[0]||(s[0]=[l("div",null,[l("h1",{id:"dsh-适配器-m4b-原型",tabindex:"-1"},[i("dsh 适配器(M4b 原型) "),l("a",{class:"header-anchor",href:"#dsh-适配器-m4b-原型","aria-label":'Permalink to "dsh 适配器(M4b 原型)"'},"")]),l("p",null,[i("让 laoshi 运行在 DeepSeek Harness(dsh)上。设计见 "),l("a",{href:"https://github.com/yiyisf/laoshi/blob/main/docs/design/dsh-adapter.md",target:"_blank",rel:"noreferrer"},"dsh-adapter"),i(",决定见 "),l("a",{href:"./../reference/adr/0008-capability-sources-and-platform-plugin"},"ADR 0008"),i(",摸底结果见 "),l("a",{href:"https://github.com/yiyisf/laoshi/blob/main/docs/discovery/dsh/report.md",target:"_blank",rel:"noreferrer"},"dsh 摸底报告"),i("。")]),l("h2",{id:"组成",tabindex:"-1"},[i("组成 "),l("a",{class:"header-anchor",href:"#组成","aria-label":'Permalink to "组成"'},"")]),l("table",{tabindex:"0"},[l("thead",null,[l("tr",null,[l("th",null,"部分"),l("th",null,"位置"),l("th",null,"做什么")])]),l("tbody",null,[l("tr",null,[l("td",null,"插件"),l("td",null,[l("code",null,"plugin/"),i("(npm 包 "),l("code",null,"laoshi-dsh-plugin"),i(")")]),l("td",null,"运行在 dsh host 里:在对话下创建步骤 agent、向对话发定时消息、按策略回答步骤的审批请求,并把会话的创建、发送消息、取消、状态、历史转给 dsh 的会话控制器。不含流程逻辑")]),l("tr",null,[l("td",null,"运行时"),l("td",null,[l("code",null,"dsh-runtime.ts")]),l("td",null,[i("引擎一侧的 "),l("code",null,"AgentRuntime"),i(" 实现,只通过插件做事,不调用 dsh 的 "),l("code",null,"/api")])]),l("tr",null,[l("td",null,"本地通道"),l("td",null,[l("code",null,"plugin/channel.mjs")]),l("td",null,[i("两边共用的约定:插件在 "),l("code",null,"$DSH_HOME/laoshi/"),i(" 下监听本地 socket(Windows 上是命名管道),并写一个随机令牌,只有同一用户能读到,调用时必须带上")])]),l("tr",null,[l("td",null,"测试"),l("td",null,[l("code",null,"test/")]),l("td",null,[i("插件配上模拟的 dsh 服务,运行时通过真实的 socket 调用插件;属于 "),l("code",null,"npm test")])]),l("tr",null,[l("td",null,"端到端检查"),l("td",null,[l("code",null,"e2e/")]),l("td",null,[i("在真实的 dsh 上跑一条完整的流水线,只有模型是模拟的;需要装好 dsh,不属于 "),l("code",null,"npm test")])])])]),l("h2",{id:"使用",tabindex:"-1"},[i("使用 "),l("a",{class:"header-anchor",href:"#使用","aria-label":'Permalink to "使用"'},"")]),l("blockquote",null,[l("p",null,[i("内网(Windows,无 PowerShell)安装与验证见 "),l("a",{href:"./intranet"},"docs/intranet/install-verify.md"),i(":"),l("code",null,"intranet/install.mjs"),i(" 一次完成配置、插件安装与挂载、skill 渲染;"),l("code",null,"intranet/make-sample.mjs"),i(" 生成验证用的样例项目;安装包由 "),l("code",null,"scripts/pack-intranet.mjs"),i(" 生成(带 Windows 依赖,内网不需要 npm 源)。")])]),l("ol",null,[l("li",null,[l("p",null,"把插件装进 dsh 的 profile,并挂载:"),l("div",{class:"language-sh vp-adaptive-theme"},[l("button",{title:"Copy Code",class:"copy"}),l("span",{class:"lang"},"sh"),l("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0","v-pre":""},[l("code",null,[l("span",{class:"line"},[l("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"dsh"),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}}," plugin"),l("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," --profile"),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}}," web"),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}}," add"),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}}," file:"),l("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"<"),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"laosh"),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"i"),l("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"/adapters/dsh/plugin")])])])]),l("p",null,[i("在 "),l("code",null,"$DSH_HOME/profiles/web/cordis.patch.yml"),i(" 末尾加上:")]),l("div",{class:"language-yaml vp-adaptive-theme"},[l("button",{title:"Copy Code",class:"copy"}),l("span",{class:"lang"},"yaml"),l("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0","v-pre":""},[l("code",null,[l("span",{class:"line"},[l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"- "),l("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"insert"),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},":")]),i(`
|
|
2
|
+
`),l("span",{class:"line"},[l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," - "),l("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"id"),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},": "),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"laoshi-dsh")]),i(`
|
|
3
|
+
`),l("span",{class:"line"},[l("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}}," name"),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},": "),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"'laoshi-dsh-plugin'")]),i(`
|
|
4
|
+
`),l("span",{class:"line"},[l("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}}," config"),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},":")]),i(`
|
|
5
|
+
`),l("span",{class:"line"},[l("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}}," approvals"),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},": "),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"ask"),l("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}}," # ask:步骤的审批请求交给人(默认);allow:直接批准一次")]),i(`
|
|
6
|
+
`),l("span",{class:"line"},[l("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}}," kitRoot"),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},": "),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"'<laoshi>'")]),i(`
|
|
7
|
+
`),l("span",{class:"line"},[l("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}}," board"),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},": "),l("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"true"),l("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}}," # 默认随 dsh 启动托管 Web 需求看板;laoshi doctor 会输出访问地址")])])])])]),l("li",null,[l("p",null,"laoshi 的配置里选择 dsh 适配器:"),l("div",{class:"language-json vp-adaptive-theme"},[l("button",{title:"Copy Code",class:"copy"}),l("span",{class:"lang"},"json"),l("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0","v-pre":""},[l("code",null,[l("span",{class:"line"},[l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"{ "),l("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},'"platform"'),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},": { "),l("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},'"adapter"'),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},": "),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"dsh"'),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," } }")])])])])]),l("li",null,[l("p",null,[i("选择各角色的模型(可选,M4b):agent 的 "),l("code",null,"provider"),i(" 写成 "),l("code",null,"<dsh 的提供方>/<模型>"),i("(如 "),l("code",null,"deepseek/deepseek-reasoner"),i("),这个角色的步骤就用它;"),l("code",null,"thinkingOptionId"),i(" 作为推理强度。写 "),l("code",null,"dsh/chat-model"),i(" 时用对话的模型(安装脚本的默认值)。"),l("code",null,"laoshi doctor"),i(" 列出 dsh 中可用的模型,并逐个角色检查。")]),l("div",{class:"language-json vp-adaptive-theme"},[l("button",{title:"Copy Code",class:"copy"}),l("span",{class:"lang"},"json"),l("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0","v-pre":""},[l("code",null,[l("span",{class:"line"},[l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"{ "),l("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},'"agents"'),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},": { "),l("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},'"builder"'),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},": { "),l("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},'"provider"'),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},": "),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"dsh/chat-model"'),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," }, "),l("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},'"reviewer"'),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},": { "),l("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},'"provider"'),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},": "),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"deepseek/deepseek-reasoner"'),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),l("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},'"thinkingOptionId"'),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},": "),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"high"'),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," } } }")])])])])]),l("li",null,[l("p",null,[i("在 dsh 的对话里发起流水线。引擎从 "),l("code",null,"DSH_SESSION_ID"),i(" 识别发起的对话,从 "),l("code",null,"DSH_HOME"),i(" 找到插件。对话的 shell 运行在会话目录中,所以仓库目录就是当前目录。")])])]),l("h2",{id:"原型的范围",tabindex:"-1"},[i("原型的范围 "),l("a",{class:"header-anchor",href:"#原型的范围","aria-label":'Permalink to "原型的范围"'},"")]),l("p",null,[i("已实现:"),l("code",null,"AgentRuntime"),i(" 的全部必需能力(核对发起的对话,创建、等待、追问、打断步骤 agent,续接,向对话发消息),以及定时消息(支持 "),l("code",null,"expiresAt"),i(" 到期由插件自动取消)和取消、定时新建独立会话("),l("code",null,"scheduleNewAgent"),i(")、审批(等人时 "),l("code",null,"wait"),i(" 返回 "),l("code",null,"permission"),i(")、工具调用记录(危险命令拦截、大目录搜索打断、最近活动)、用量、"),l("code",null,"providerStatus"),i("(列出已配置模型提供方)以及托管 Web 需求看板("),l("code",null,"laoshi board --no-open"),i(")。M2b 起,在新建的工作区中开发("),l("code",null,"--worktree"),i(")和由 laoshi 管理的服务使用 laoshi 的内置实现("),l("code",null,"git worktree"),i(",以及 "),l("code",null,".laoshi/services.json"),i(" 中定义的服务,见 "),l("a",{href:"./../reference/design/builtin-capabilities"},"builtin-capabilities"),i(")。")]),l("p",null,"还没有实现:"),l("table",{tabindex:"0"},[l("thead",null,[l("tr",null,[l("th",null,"能力"),l("th",null,"现在的行为"),l("th",null,"计划")])]),l("tbody",null,[l("tr",null,[l("td",null,"联合需求(几个仓库各建工作区)"),l("td",null,"用内置 worktree,单元测试覆盖了新建工作区,但还没有真实 dsh 端到端检查"),l("td",null,"内网实机验证")]),l("tr",null,[l("td",null,"额度、平台 agent profile"),l("td",null,[i("返回 "),l("code",null,"null")]),l("td",null,"—")]),l("tr",null,[l("td",null,"事件流替代轮询"),l("td",null,[i("轮询 "),l("code",null,"session/list"),i(" 等待步骤完成")]),l("td",null,"需在真实 dsh 上确认插件事件流 API 后实现")]),l("tr",null,[l("td",null,[i("浏览器能力检测("),l("code",null,"capabilities"),i(")")]),l("td",null,[i("返回 "),l("code",null,"null")]),l("td",null,"需在真实 dsh 上确认插件探测 API 后实现")]),l("tr",null,[l("td",null,"Windows"),l("td",null,[i("运行时和插件按 Windows 写好(命名管道),但没有在 Windows 上跑过端到端检查;dsh 在 Windows 上的 shell 见"),l("a",{href:"https://github.com/yiyisf/laoshi/blob/main/docs/discovery/dsh/report.md#%E5%86%85%E7%BD%91-windows-%E8%87%AA%E6%B5%8B%E7%BB%93%E6%9E%9C2026-10-30",target:"_blank",rel:"noreferrer"},"摸底报告")]),l("td",null,"内网验证")])])]),l("h2",{id:"端到端检查",tabindex:"-1"},[i("端到端检查 "),l("a",{class:"header-anchor",href:"#端到端检查","aria-label":'Permalink to "端到端检查"'},"")]),l("div",{class:"language-sh vp-adaptive-theme"},[l("button",{title:"Copy Code",class:"copy"}),l("span",{class:"lang"},"sh"),l("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0","v-pre":""},[l("code",null,[l("span",{class:"line"},[l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"LAOSHI_E2E_DSH"),l("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=<"),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"装有"),l("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," @deepseek-ai/dsh"),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}}," 的目"),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"录"),l("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}}," node"),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}}," adapters/dsh/e2e/run-e2e.mjs"),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," [--out "),l("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"<"),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"目"),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"录"),l("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),l("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"]"),l("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," [--worktree]")])])])]),l("p",null,[i("加 "),l("code",null,"--worktree"),i(" 时,样例仓库在 main 上,带一个服务和一条准备命令("),l("code",null,".laoshi/services.json"),i(")。脚本通过启动器加 "),l("code",null,"--worktree"),i(" 启动流水线,额外检查以下几项:需求的工作区是安装目录下的 "),l("code",null,"git worktree"),i(";准备命令已运行;步骤 agent 在工作区中工作;验证前内置服务已启动并通过健康检查;流水线结束后服务已停止。")]),l("p",null,[i("脚本会做这些事:建一个独立的 "),l("code",null,"DSH_HOME"),i(",装上插件,用 "),l("code",null,"e2e/step-model.mjs"),i(" 模拟模型,启动 dsh;建一个对话;在对话里用 quick 档跑一条流水线;最后检查结果并写出 "),l("code",null,"report.md"),i("。")]),l("p",null,'模拟模型对每个步骤,通过 dsh 的 bash 工具写出产出文件和合格的结果文件,所以这个检查验证的是"引擎 → 插件 → dsh 子 agent → 文件 → 引擎"整条链路是否接通,不代表模型的能力。'),l("p",null,[i("最近一次结果(2026-11-01,Linux,dsh 0.2.2-alpha.2):不加参数时 8 项检查全部通过(M4b 时 Node 24.22 和 22.20 各跑一次,M2b 时 Node 24.22);加 "),l("code",null,"--worktree"),i(" 时 14 项全部通过(M2b,Node 24.22)。7 个步骤(方案设计 → 方案审核 → 代码实现 → 代码评审 → 提测说明 → 功能验证 → 完成报告)都以带标签的子 agent 挂在对话下,流水线状态为 "),l("code",null,"completed"),i(",进展和结束通知都发回了对话。")]),l("p",null,[i("实机适配补充(2026-11-24,macOS,Node 24.10.0,"),l("code",null,"@deepseek-ai/dsh@0.2.2-rc.5"),i("):插件已针对 "),l("code",null,"0.2.2-rc.5"),i(" 调整的 "),l("code",null,"subagents.startActivation"),i("(扁平顶层参数)、"),l("code",null,"subagents.interrupt"),i("、"),l("code",null,"schedule.create"),i("/"),l("code",null,"edit"),i("(含 "),l("code",null,"cron.time_zone"),i(")与 "),l("code",null,"sessions.events"),i(" 做了双版本兼容;重跑 "),l("code",null,"run-e2e.mjs --worktree"),i(" 跑通 16/17 项核心链路(全部 7 个步骤、worktree、"),l("code",null,"setup"),i("、内置服务启动/健康检查/停服务、按角色选用 "),l("code",null,"e2e/step-1"),i(" 与对话结束通知;仅环境日志检查因测试机 "),l("code",null,"~/.agents/skills/"),i(" 中遗留旧版 "),l("code",null,"req-setup"),i(" 描述含 Paseo 字样而提示),另在隔离宿主实机验证了 "),l("code",null,"board: true"),i(" 托管看板网页渲染、主题交互、"),l("code",null,"schedule"),i("(含 "),l("code",null,"expiresAt"),i(")、"),l("code",null,"scheduleAgent"),i("、"),l("code",null,"cancelSchedule"),i(" 与 "),l("code",null,"laoshi doctor"),i(" 全部正常。")])],-1),l("p",{class:"source-note"},[i("本页由仓库中的 "),l("a",{href:"https://github.com/yiyisf/laoshi/blob/main/adapters/dsh/README.md"},"adapters/dsh/README.md"),i(" 生成。"),l("a",{href:"https://github.com/yiyisf/laoshi/edit/main/adapters/dsh/README.md"},"在 GitHub 上编辑")],-1)])])}const E=e(n,[["render",h]]);export{c as __pageData,E as default};
|