import"./chunk-DR8-3Aex.js";import{Rn as e,S as t,t as n}from"./src-Di342QoJ.js";import{t as r}from"./jsx-runtime-D-D469L8.js";import{Cc as i,dc as a,yc as o}from"./paths-Ci1iwL5Y.js";import{cC as s,lC as c}from"./loadAgentsDir-C_wFhytF.js";import{n as l}from"./onChangeAppState-BkRihYau.js";import{t as u}from"./fpsMetrics-DKWp7vng.js";import{t as d}from"./stats-D0CJB2HV.js";e(),c(),n(),o();var f=r();function p({getFpsMetrics:e,stats:n,initialState:r,children:o}){return(0,f.jsx)(u,{getFpsMetrics:e,children:(0,f.jsx)(d,{store:n,children:(0,f.jsx)(s,{initialState:r,onChangeAppState:l,children:(0,f.jsx)(t,{initialState:a().theme,onThemeSave:e=>i(t=>({...t,theme:e})),children:o})})})})}export{p as App};