import{B,D as h,O as A,T as e,V as n,_ as N,c as b,d as s,f as x,m as t,p as f,s as j,u as g,v as C,z as _}from"./ui-vendor-FZeUVCGn.js";import{a as D,n as w,o as I}from"./vue-vendor-DVsjzVvO.js";import{t as S}from"./index-Gl3KyVbk.js";var z={class:"doc-sidebar"},K={class:"sidebar-nav"},O=["onClick"],R=C({__name:"DocSidebar",setup(V){const{t:o}=w(),m=D(),u=I(),y=[{key:"gettingStarted",name:"docs.getting-started"},{key:"configuration",name:"docs.configuration"},{key:"features",name:"docs.features"},{key:"platforms",name:"docs.platforms"},{key:"api",name:"docs.api"}];function l(c){return m.name===c}function v(c){u.push({name:c})}return(c,k)=>(e(),t("aside",z,[s("nav",K,[(e(),t(b,null,h(y,a=>s("a",{key:a.key,class:B(["sidebar-link",{active:l(a.name)}]),onClick:j(i=>v(a.name),["prevent"])},n(_(o)(`docs.sidebar.${a.key}`)),11,O)),64))])]))}}),T=S(R,[["__scopeId","data-v-c8777c75"]]),E={class:"doc-content"},F={class:"doc-title"},L={key:0,class:"doc-intro"},M={class:"doc-section-title"},q={key:0,class:"doc-section-text"},G={key:1,class:"doc-table"},H={class:"doc-table-key"},J=C({__name:"DocContent",setup(V){const{t:o,tm:m,rt:u}=w(),y=D(),l=g(()=>y.meta.page||"gettingStarted"),v=g(()=>o(`docs.${l.value}.title`)),c=g(()=>o(`docs.${l.value}.intro`)),k=g(()=>{const a=l.value,i=m(`docs.${a}`);if(!i)return[];const d=[],$=Object.keys(i).filter(r=>r!=="title"&&r!=="intro"&&typeof i[r]=="object"&&i[r]!==null);for(const r of $){const p=i[r];d.push({title:u(p.title||""),content:u(p.content||""),rows:Array.isArray(p.rows)?p.rows:void 0})}return d});return(a,i)=>(e(),t("div",E,[s("h1",F,n(v.value),1),c.value?(e(),t("p",L,n(c.value),1)):f("",!0),(e(!0),t(b,null,h(k.value,(d,$)=>(e(),t("div",{key:$,class:"doc-section"},[s("h2",M,n(d.title),1),d.content?(e(),t("p",q,n(d.content),1)):f("",!0),d.rows?.length?(e(),t("table",G,[s("tbody",null,[(e(!0),t(b,null,h(d.rows,(r,p)=>(e(),t("tr",{key:p},[s("td",H,[s("code",null,n(r[0]),1)]),s("td",null,n(r[1]),1)]))),128))])])):f("",!0)]))),128))]))}}),P=S(J,[["__scopeId","data-v-66f9c4b6"]]),Q={class:"docs-layout"},U={class:"docs-main"},W={key:0,class:"mobile-doc-tabs"},X=["onClick"],Y={key:2,class:"docs-placeholder"},Z=C({__name:"DocsView",setup(V){const o=D(),m=I(),{t:u}=w(),y=[{key:"gettingStarted",name:"docs.getting-started"},{key:"configuration",name:"docs.configuration"},{key:"features",name:"docs.features"},{key:"platforms",name:"docs.platforms"},{key:"api",name:"docs.api"}];function l(v){m.push({name:v})}return(v,c)=>{const k=A("router-view");return e(),t("div",Q,[_(o).meta.page?(e(),x(T,{key:0})):f("",!0),s("div",U,[_(o).meta.page?(e(),t("nav",W,[(e(),t(b,null,h(y,a=>s("button",{key:a.key,class:B(["mobile-tab",{active:_(o).name===a.name}]),onClick:i=>l(a.name)},n(_(u)(`docs.sidebar.${a.key}`)),11,X)),64))])):f("",!0),N(k),_(o).meta.page?(e(),x(P,{key:1})):(e(),t("div",Y,[s("p",null,n(_(u)("docs.placeholder")),1)]))])])}}}),se=S(Z,[["__scopeId","data-v-d7e26937"]]);export{se as default};
