import{d as i,bg as p,b3 as m,a$ as u,o as e,c as l,cn as h,N as _,e as n,n as c,v}from"../../../js/index-lT0LPxUj.js";import{_ as y}from"../../../js/ActivityChartGraph-UI0oh0aL.js";const f=i({__name:"ActivityAnimationGraph",props:{graph:{}},setup(r){const t=r,a=p(null);return m(()=>t.graph.initScene(a.value)),u(()=>t.graph.destroyScene()),(o,s)=>(e(),l("div",{class:"activityAnimationGraph",ref_key:"activityAnimationGraph",ref:a},null,512))}}),A=i({__name:"ProjectActivityExplorer",setup(r){const t=h(),a=_(()=>t.state.project.activityGraph);return(o,s)=>n(t).state.tab.activityView==="abstract"?(e(),c(y,{key:0,graph:a.value.activityChartGraph},null,8,["graph"])):n(t).state.tab.activityView==="spatial"?(e(),c(f,{key:1,graph:a.value.activityAnimationGraph},null,8,["graph"])):v("",!0)}});export{A as default};
