import{d as p,O as t,_ as l,r as u,Y as T,s as b,u as h,o as M,a7 as k,V as _,c as i,f as x,M as C,m as n,l as e,e as f,x as E}from"./index.2c7321ca.js";const L=p({name:"layoutDefaults"}),g=p({...L,setup(S){const d=t(()=>l(()=>import("./aside.a24f7450.js"),["assets/aside.a24f7450.js","assets/index.2c7321ca.js","assets/index.319ce9dc.css"]));t(()=>l(()=>import("./header.0293240b.js"),["assets/header.0293240b.js","assets/header.0f6a9436.css","assets/index.2c7321ca.js","assets/index.319ce9dc.css","assets/index.vue_vue_type_script_setup_true_name_layoutLogo_lang.07ba3ad8.js","assets/logo-mini.da0d67fe.js","assets/_plugin-vue_export-helper.cdc0426e.js","assets/tagsView.d4d43d2f.js","assets/tagsView.1668ff8b.css"]));const m=t(()=>l(()=>import("./main.d1145c69.js"),["assets/main.d1145c69.js","assets/index.2c7321ca.js","assets/index.319ce9dc.css"])),o=u(""),a=u(),y=T(),{themeConfig:R}=b(h()),s=()=>{E(()=>{setTimeout(()=>{r(),o.value.wrap$.scrollTop=0,a.value.layoutMainScrollbarRef.wrap$.scrollTop=0},500)})},r=()=>{o.value.update(),a.value.layoutMainScrollbarRef.update()};return M(()=>{s(),k.done(600)}),_(()=>y.path,()=>{s()}),_(R,()=>{r()},{deep:!0}),(w,A)=>{const v=i("el-scrollbar"),c=i("el-container");return x(),C(c,{class:"layout-container"},{default:n(()=>[e(f(d)),e(c,{class:"layout-container-view h100"},{default:n(()=>[e(v,{ref_key:"layoutScrollbarRef",ref:o,class:"layout-backtop"},{default:n(()=>[e(f(m),{ref_key:"layoutMainRef",ref:a},null,512)]),_:1},512)]),_:1})]),_:1})}}});export{g as default};
