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