import{d as y,O as n,_ as s,r as f,Q as h,s as M,u as k,o as x,a4 as C,Y as p,c as m,f as E,M as L,m as u,l as t,e as d,x as S}from"./index.3a30a18d.js";const g=y({name:"layoutDefaults"}),D=y({...g,setup(w){const v=n(()=>s(()=>import("./aside.2d2cb7fa.js"),["aside.2d2cb7fa.js","index.3a30a18d.js","index.dbc27bcc.css"],import.meta.url));n(()=>s(()=>import("./header.d28096c7.js"),["header.d28096c7.js","header.0f6a9436.css","index.3a30a18d.js","index.dbc27bcc.css","index.vue_vue_type_script_setup_true_name_layoutLogo_lang.bdb919af.js","logo-mini.da0d67fe.js","_plugin-vue_export-helper.cdc0426e.js","tagsView.9c3e9816.js","tagsView.1668ff8b.css"],import.meta.url));const R=n(()=>s(()=>import("./main.3c5aaad3.js"),["main.3c5aaad3.js","index.3a30a18d.js","index.dbc27bcc.css"],import.meta.url)),e=f(""),o=f(),T=h(),{themeConfig:b}=M(k()),c=()=>{S(()=>{setTimeout(()=>{_(),console.log(e.value),e.value&&(e.value.wrap$.scrollTop=0),o.value&&(o.value.layoutMainScrollbarRef.wrap$.scrollTop=0)},500)})},_=()=>{var l,r,a;(l=e.value)==null||l.update(),(a=(r=o.value)==null?void 0:r.layoutMainScrollbarRef)==null||a.update()};return x(()=>{c(),C.done(600)}),p(()=>T.path,()=>{c()}),p(b,()=>{_()},{deep:!0}),(l,r)=>{const a=m("el-scrollbar"),i=m("el-container");return E(),L(i,{class:"layout-container"},{default:u(()=>[t(d(v)),t(i,{class:"layout-container-view h100"},{default:u(()=>[t(a,{ref_key:"layoutScrollbarRef",ref:e,class:"layout-backtop"},{default:u(()=>[t(d(R),{ref_key:"layoutMainRef",ref:o},null,512)]),_:1},512)]),_:1})]),_:1})}}});export{D as default};