import{i as w,U as y,bi as B,_ as C,E as P,B as V}from"./m6q5jxyf.js";import{_ as $}from"./nmarkdown.vue-iw2voruc.js";import{p as v,S as a,a1 as n,a2 as o,a3 as c,Q as i,R as m,a8 as _,P as E,F,ae as I,a4 as L,a9 as S}from"./vendor/json-editor-vue-llkaejaf.js";const T={"text-xl":""},D={flex:"~ gap2 wrap"},U=v({__name:"LaunchPage",props:{name:{},icon:{},title:{},description:{},actions:{}},emits:["action"],setup(l,{emit:p}){const d=l,u=p;function f(e,s){V("launch-page",{pageName:d.name}),e.handle?.(),u("action",s)}return(e,s)=>{const g=B,k=$,b=P,h=C,N=y,x=w;return n(),a(x,null,{default:o(()=>[c(N,{flex:"~ col gap2",mxa:"","min-w-100":"","items-center":"",p6:""},{default:o(()=>[c(g,{mb2:"","text-5xl":"",icon:e.icon||e.icon,title:e.title},null,8,["icon","title"]),i("h1",T,_(e.title),1),e.description?(n(),a(k,{key:0,mb2:"","mt--1":"","text-center":"","text-base":"",op50:"",markdown:e.description},null,8,["markdown"])):m("",!0),i("div",D,[(n(!0),E(F,null,I(e.actions,(t,r)=>(n(),a(h,L({key:r,n:"solid primary",disabled:t.pending,to:t.src,target:t.src?"_blank":void 0,ref_for:!0},t.attrs,{onClick:G=>f(t,r)}),{default:o(()=>[t.pending?(n(),a(b,{key:0,icon:"carbon-circle-dash","animate-spin":""})):m("",!0),S(" "+_(t.label),1)]),_:2},1040,["disabled","to","target","onClick"]))),128))])]),_:1})]),_:1})}}});export{U as _};
