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