import{g as f,_ as m}from"./ebt3cj6n.js";import{p as v,f as c,u as g,W as o,X as n,a3 as s,a2 as i,M as u,F as k,Z as a,U as l,Y as _}from"./vendor/json-editor-vue-kcahofzr.js";const x={key:0,border:"l base",class:"prose",pos:"fixed bottom-0 right-0 top-0","z-200":"","h-full":"","w-150":"","overflow-auto":"",px8:"",py4:"","bg-base":""},y=v({__name:"HelpFab",setup(w){const t=c(!1),{showHelpButtons:p}=f("ui");return(d,e)=>{const b=m;return g(p)?(l(),o(k,{key:0},[n("button",{pos:"absolute bottom-5 right-5",border:"~ base rounded-full ",flex:"~ items-center justify-center","z-110":"","h-11":"","w-11":"","backdrop-blur-8":"",bg:"bg-base op50!","light:shadow":"",hover:"bg-active",title:"Help",onClick:e[0]||(e[0]=r=>t.value=!t.value)},e[3]||(e[3]=[n("div",{"i-ri:question-mark":""},null,-1)])),s(u,{name:"fade-in"},{default:i(()=>[t.value?(l(),o("div",{key:0,class:"fixed bottom-0 left-0 right-0 top-0 z-100","bg-black:20":"","backdrop-blur-2":"",onClick:e[1]||(e[1]=r=>t.value=!1)})):a("",!0)]),_:1}),s(u,{name:"slide-in"},{default:i(()=>[t.value?(l(),o("div",x,[_(d.$slots,"default"),s(b,{icon:"carbon-close",pos:"absolute top-3 right-3","rounded-full":"","text-xl":"",border:!1,onClick:e[2]||(e[2]=r=>t.value=!1)})])):a("",!0)]),_:3})],64)):a("",!0)}}});export{y as _};
