import{d as w,s as y,bd as C,E as $,f as B,U as V}from"./kul02k0k.js";import{_ as v}from"./nmarkdown.vue-gqjdqnvm.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 E,ab as F,a1 as I,a6 as L,F as M}from"./vendor/json-editor-vue-kmaz80fw.js";const S={"text-xl":""},T={flex:"~ gap2 wrap"},W=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),E(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:U=>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{W as _};
