import{C as e,E as t,P as n,W as r,Y as i,_ as a,c as o,dt as s,g as c,h as l,tn as u,v as d,w as f}from"./vendor/json-editor-vue-ddj4xtqm.js";import{E as p,f as m,g as h,j as g,k as _,y as v}from"#entry";import{t as y}from"./nmarkdown-ftmgc061.js";var b={"text-xl":``},x={flex:`~ gap2 wrap`},S=t({__name:`LaunchPage`,props:{name:{},icon:{},title:{},description:{},actions:{}},emits:[`action`],setup(t,{emit:S}){let C=t,w=S;function T(e,t){v(`launch-page`,{pageName:C.name}),e.handle?.(),w(`action`,t)}return(v,S)=>{let C=h,w=y,E=g,D=_,O=p,k=m;return r(),c(k,null,{default:s(()=>[f(O,{flex:`~ col gap2`,mxa:``,"min-w-100":``,"items-center":``,p6:``},{default:s(()=>[f(C,{mb2:``,"text-5xl":``,icon:t.icon||t.icon,title:t.title},null,8,[`icon`,`title`]),l(`h1`,b,u(t.title),1),t.description?(r(),c(w,{key:0,mb2:``,"mt--1":``,"text-center":``,"text-base":``,op50:``,markdown:t.description},null,8,[`markdown`])):a(``,!0),l(`div`,x,[(r(!0),d(o,null,i(t.actions,(t,i)=>(r(),c(D,n({key:i,n:`solid primary`,disabled:t.pending,to:t.src,target:t.src?`_blank`:void 0},{ref_for:!0},t.attrs,{onClick:e=>T(t,i)}),{default:s(()=>[t.pending?(r(),c(E,{key:0,icon:`carbon-circle-dash`,"animate-spin":``})):a(``,!0),e(` `+u(t.label),1)]),_:2},1040,[`disabled`,`to`,`target`,`onClick`]))),128))])]),_:1})]),_:1})}}}),C=Object.assign(S,{__name:`LaunchPage`});export{C as t};