function e(){const[e,t]=i.useState(null),[a,o]=i.useState(!1);return m.jsxs(m.Fragment,{children:[m.jsx(s,{title:"Growth Achievements",bottomLevelLeft:m.jsx("span",{className:"text-muted-foreground text-sm",children:"Track your progress and celebrate milestones"})}),m.jsx("div",{className:"transition-opacity duration-200 "+(a?"opacity-50":"opacity-100"),children:e?m.jsx(r,{achievementId:e.id,initialData:e,onBack:()=>{o(!0),setTimeout(()=>{t(null),o(!1)},100)}}):m.jsx(n,{onAchievementClick:e=>{o(!0),setTimeout(()=>{t(e),o(!1)},100)},showHeader:!1})})]})}function t(){return m.jsx(a,{className:c,children:m.jsx(o,{children:m.jsx(e,{})})})}import{g as s,q as a}from"./app-components.OQnGA3jf.js";import{ad as o}from"./platform-core.tlhrBXt0.js";import{G as r,b as n}from"./domain-dashboard-widgets-dashboard.Oh9os-VM.js";import{r as i,j as m}from"./vendor-react.DHNfi5sm.js";import{R as c}from"./main.B9BFFe6b.js";export{t as component};
//# sourceMappingURL=achievements.Do--rW8h.js.map
