import{c as w,q as y,bi as C,D as $,e as B,W as V}from"./er2hcepb.js";import{_ as v}from"./nmarkdown.vue-ew01nvcn.js";import{k as P,M as a,$ as o,Q as n,a0 as c,U as i,a5 as m,W as l,S as D,ab as F,a1 as I,a6 as L,F as M}from"./vendor/json-editor-vue-gv8v06ez.js";const S={"text-xl":""},T={flex:"~ gap2 wrap"},Q=P({__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=v,b=$,h=B,N=V,x=w;return n(),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",S,m(e.title),1),e.description?(n(),a(g,{key:0,mb2:"","mt--1":"","text-center":"","text-base":"",op50:"",markdown:e.description},null,8,["markdown"])):l("",!0),i("div",T,[(n(!0),D(M,null,F(e.actions,(t,r)=>(n(),a(h,I({key:r,n:"solid primary",disabled:t.pending,to:t.src,target:t.src?"_blank":void 0,ref_for:!0},t.attrs,{onClick:W=>f(t,r)}),{default:o(()=>[t.pending?(n(),a(b,{key:0,icon:"carbon-circle-dash","animate-spin":""})):l("",!0),L(" "+m(t.label),1)]),_:2},1040,["disabled","to","target","onClick"]))),128))])]),_:1})]),_:1})}}});export{Q as _};
