import{d as y,O as r,P as n,g as f,R as x,s as T,i as k,j as w,a7 as C,a1 as p,l as d,o as L,b as g,y as u,x as t,u as m,K as E,B as M,_ as S}from"./index.d4dfe080.js";const A=y({name:"layoutDefaults"}),B=y({...A,setup(P){const v=r(()=>n(()=>import("./aside.03768e49.js"),["aside.03768e49.js","index.d4dfe080.js","index.dbc27bcc.css"],import.meta.url));r(()=>n(()=>import("./header.121148b1.js"),["header.121148b1.js","header.1392fb10.css","index.d4dfe080.js","index.dbc27bcc.css","index.1d98a2df.js","logo-mini.da0d67fe.js","tagsView.a224477f.js","tagsView.69051fb3.css"],import.meta.url));const b=r(()=>n(()=>import("./main.ab86355f.js"),["main.ab86355f.js","index.d4dfe080.js","index.dbc27bcc.css"],import.meta.url)),e=f(""),a=f(),R=x(),{themeConfig:h}=T(k()),c=()=>{M(()=>{setTimeout(()=>{i(),console.log(e.value),e.value&&(e.value.wrap$.scrollTop=0),a.value&&(a.value.layoutMainScrollbarRef.wrap$.scrollTop=0)},500)})},i=()=>{var s,l,o;(s=e.value)==null||s.update(),(o=(l=a.value)==null?void 0:l.layoutMainScrollbarRef)==null||o.update()};return w(()=>{c(),C.done(600)}),p(()=>R.path,()=>{c()}),p(h,()=>{i()},{deep:!0}),(s,l)=>{const o=d("el-scrollbar"),_=d("el-container");return L(),g(_,{class:"layout-container"},{default:u(()=>[t(m(v)),t(_,{class:"layout-container-view h100"},{default:u(()=>[t(o,{ref_key:"layoutScrollbarRef",ref:e,class:"layout-backtop"},{default:u(()=>[E(" "),t(m(b),{ref_key:"layoutMainRef",ref:a},null,512)]),_:1},512)]),_:1})]),_:1})}}}),D=S(B,[["__file","/data/jenkins/workspace/badp-bcxin-web-5.x-dispatchBusiness/src/layout/main/defaults.vue"]]);export{D as default};