import{C as e,I as t,It as n,Q as r,S as i,T as a,bt as o,j as s,k as c,mt as l,nt as u,x as d}from"./_plugin-vue_export-helper-BVhEvvHC.js";import{Ct as f,St as p,r as m}from"./src-CD6Jsigc.js";import{f as h,t as g}from"./TopMenu-BzlJqoxc.js";import{m as _}from"./useApi-CROJJdhE-bFLQvr8j.js";import{n as v}from"./appStatusStore-DscZS3ho.js";t(),o();var y={class:`w-full h-dvh flex flex-col bg-background`},b={key:1,class:`flex flex-col justify-center items-center h-full w-full gap-4 rounded-b-lg select-none`},x=s({__name:`DrawingView`,setup(t){let o=_(),s=o.path.startsWith(`/drawing/`)&&o.path!==`/drawing/`,x=v(),S=d(()=>x.isGameRunning);return(t,o)=>{let d=u(`RouterView`);return r(),a(`div`,y,[c(g,{showMenubarContent:!1,showFunding:!1,"show-status":!1,"window-type":n(h).Drawing},{default:l(()=>[...o[0]||=[i(`p`,{class:`font-notosans text-xs`},`In-world Telestrator`,-1)]]),_:1},8,[`window-type`]),c(n(m),{"game-running":S.value},null,8,[`game-running`]),c(n(p),{class:`flex-1`,"data-main-scroll-area":``},{default:l(()=>[n(s)?(r(),e(d,{key:0})):(r(),a(`div`,b,[...o[1]||=[i(`p`,{class:`text-text text-lg font-roboto font-bold`},` No Drawing Session Selected `,-1),i(`p`,{class:`text-text text-sm font-roboto text-center max-w-md`},` Please open a drawing session from the Ingame menu to start drawing. `,-1)]])),c(n(f),{orientation:`vertical`})]),_:1})])}}});export{x as default};