import{i as w,n as y,o as C,_ as B,I as P,M as V}from"./h93r34au.js";import{_ as $}from"./nmarkdown.vue-hrdikzmp.js";import{p as v,S as o,a1 as t,a2 as a,a3 as c,Q as i,R as m,a8 as _,P as I,F,ae as L,a4 as M,a9 as S}from"./vendor/json-editor-vue-exjsfanq.js";const T={"text-xl":""},D={flex:"~ gap2 wrap"},j=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=C,k=$,h=P,N=B,b=y,x=w;return t(),o(x,null,{default:a(()=>[c(b,{flex:"~ col gap2",mxa:"","min-w-100":"","items-center":"",p6:""},{default:a(()=>[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?(t(),o(k,{key:0,mb2:"","mt--1":"","text-center":"","text-base":"",op50:"",markdown:e.description},null,8,["markdown"])):m("",!0),i("div",D,[(t(!0),I(F,null,L(e.actions,(n,r)=>(t(),o(N,M({key:r,n:"solid primary",disabled:n.pending,to:n.src,target:n.src?"_blank":void 0,ref_for:!0},n.attrs,{onClick:E=>f(n,r)}),{default:a(()=>[n.pending?(t(),o(h,{key:0,icon:"carbon-circle-dash","animate-spin":""})):m("",!0),S(" "+_(n.label),1)]),_:2},1040,["disabled","to","target","onClick"]))),128))])]),_:1})]),_:1})}}});export{j as _};
