const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/parent.DQCyh3dx.js","assets/index.K_MFulpu.js","assets/vue.1RczIYhx.js","assets/elementPlus.CSBdF9Zt.js","assets/index.Cir2Zm7u.css","assets/index.BfYxJsQz.js","assets/_plugin-vue_export-helper.DlAUqK2U.js","assets/index.BvAiUBgM.css"])))=>i.map(i=>d[i]);
import{b as V,u as F,N as H,_ as c}from"./index.K_MFulpu.js";import{d as L,r as M,aC as A,aD as i,k as e,j as E,ai as o,o as u,M as _,O as m,U as t,u as p,R as N,J as P,aA as d}from"./vue.1RczIYhx.js";import"./elementPlus.CSBdF9Zt.js";const I=L({__name:"main",setup(B,{expose:f}){const y=d(()=>c(()=>import("./parent.DQCyh3dx.js"),__vite__mapDeps([0,1,2,3,4]))),v=d(()=>c(()=>import("./index.BfYxJsQz.js"),__vite__mapDeps([5,2,6,7]))),s=M();A();const g=V(),x=F(),{themeConfig:a}=i(x),{isTagsViewCurrenFull:b}=i(g),h=e(()=>!1),k=e(()=>a.value.isFixedHeader),C=e(()=>a.value.isFixedHeader?".layout-backtop-header-fixed .el-scrollbar__wrap":".layout-backtop .el-scrollbar__wrap"),r=e(()=>{if(b.value)return"0px";const{isTagsview:l,layout:n}=a.value;return l&&n!=="classic"?"85px":"51px"});return E(()=>{H.done(600)}),f({layoutMainScrollbarRef:s}),(l,n)=>{const w=o("el-scrollbar"),R=o("el-backtop"),T=o("el-main");return u(),_(T,{class:"layout-main",style:P(k.value?`height: calc(100% - ${r.value})`:`minHeight: calc(100% - ${r.value})`)},{default:m(()=>[t(w,{ref_key:"layoutMainScrollbarRef",ref:s,class:"layout-main-scroll layout-backtop-header-fixed","wrap-class":"layout-main-scroll","view-class":"layout-main-scroll"},{default:m(()=>[t(p(y)),h.value?(u(),_(p(v),{key:0})):N("",!0)]),_:1},512),t(R,{target:C.value},null,8,["target"])]),_:1},8,["style"])}}});export{I as default};
