import{d as f,e as y,o as a,l,p as i,w as o,F as S,a8 as x,a9 as p,j as s,aa as A,ab as b,ac as h,ad as w,ae as g,h as d,i as C,af as B}from"./index.db417b3f.js";const V={class:"settings-block"},$=f({name:"SettingsCodeBlock",props:{engineSettings:null},setup(c){const e=c,t=y(()=>Object.entries(e.engineSettings));return(r,_)=>(a(),l("div",V,[i(s(A),{multiline:""},{default:o(()=>[(a(!0),l(S,null,x(s(t),(n,u)=>(a(),l("div",{key:u,class:"settings-block--code-line"},p(n[0])+": "+p(n[1]),1))),128))]),_:1})]))}});class j extends h(w){}const m=b(new j),D=f({name:"Settings",async setup(c){let e,t;const r=[{text:"Settings"}],_=([e,t]=g(()=>m.getSettings()),e=await e,t(),e),n=([e,t]=g(()=>m.getVersion()),e=await e,t(),e);return(u,F)=>{const k=d("p-key-value"),v=d("p-layout-default");return a(),C(v,{class:"settings"},{header:o(()=>[i(s(B),{crumbs:r},{actions:o(()=>[i(k,{label:"Version",value:s(n)},null,8,["value"])]),_:1})]),default:o(()=>[i($,{class:"settings--code-block","engine-settings":s(_)},null,8,["engine-settings"])]),_:1})}}});export{D as default};
