const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/defaults.CL1XiHAy.js","assets/index.CL7yl-Wb.js","assets/vue.D1BjjNmv.js","assets/index.DgHxlRHa.css","assets/classic.Ut--ZBKu.js","assets/transverse.EPYaUtCx.js","assets/columns.BJUGrAr9.js"])))=>i.map(i=>d[i]);
import{u as _,_ as t,L as a,e as i}from"./index.CL7yl-Wb.js";import{a as u,aC as d,a5 as m,W as c,J as f,o as y,O as p,aA as s,u as v}from"./vue.D1BjjNmv.js";const L=u({name:"layout"}),g=u({...L,setup(E){const l={defaults:s(()=>t(()=>import("./defaults.CL1XiHAy.js"),__vite__mapDeps([0,1,2,3]))),classic:s(()=>t(()=>import("./classic.Ut--ZBKu.js"),__vite__mapDeps([4,1,2,3]))),transverse:s(()=>t(()=>import("./transverse.EPYaUtCx.js"),__vite__mapDeps([5,1,2,3]))),columns:s(()=>t(()=>import("./columns.BJUGrAr9.js"),__vite__mapDeps([6,1,2,3])))},r=_(),{themeConfig:e}=d(r),n=()=>{a.get("oldLayout")||a.set("oldLayout",e.value.layout);const o=document.body.clientWidth;o<1e3?(e.value.isCollapse=!1,i.emit("layoutMobileResize",{layout:"defaults",clientWidth:o})):i.emit("layoutMobileResize",{layout:a.get("oldLayout")?a.get("oldLayout"):e.value.layout,clientWidth:o})};return m(()=>{n(),window.addEventListener("resize",n)}),c(()=>{window.removeEventListener("resize",n)}),(o,C)=>(y(),f(p(l[v(e).layout])))}});export{g as default};
