import{M as u}from"./MkContainer-CNBcUt5w.js";import{M as p}from"./MkChart-Cg7t3SGL.js";import{b as o,f as c}from"./app-QjDgb7aF.js";import{b as d,j as m,g as f,i as a,q as e,k as h,u as n,J as g,D as b,a as k}from"./vue-Cm77DuTi.js";import"./charts-3gEHPHRq.js";import"./use-chart-tooltip-CwWaLiz4.js";import"./media-DuCIZ-3n.js";const x={style:{padding:"8px"}},N=d({__name:"index.activity",props:{user:{},limit:{default:50}},setup(s){let i=k("per-user-notes");function l(r){c([{text:o.ts.notes,active:!0,action:()=>{i.value="per-user-notes"}}],r.currentTarget??r.target)}return(r,t)=>(m(),f(u,null,{header:a(()=>[t[0]||(t[0]=e("i",{class:"ph-chart-bar ph-bold ph-lg",style:{"margin-right":"0.5em"}},null,-1)),g(b(n(o).ts.activity),1)]),func:a(()=>[e("button",{class:"_button",onClick:l},[...t[1]||(t[1]=[e("i",{class:"ph-dots-three-outline ph-bold ph-lg"},null,-1)])])]),default:a(()=>[e("div",x,[h(p,{src:n(i),args:{user:s.user,withoutAll:!0},span:"day",limit:s.limit,bar:!0,stacked:!0,detailed:!1,"aspect-ratio":5},null,8,["src","args","limit"])])]),_:1}))}});export{N as default};
//# sourceMappingURL=index.activity-BRHmVaWQ.js.map
