import{d as r,i as _,s as d,O as o,P as s,Q as m,k as c,o as p,b as f,r as y,u as v,L as a,I as n,_ as L}from"./index.4042ed24.js";const E=r({name:"layout"}),R=r({...E,setup(b){const u=_(),{themeConfig:e}=d(u),l={defaults:o(()=>s(()=>import("./defaults.ec4b70e2.js"),["defaults.ec4b70e2.js","index.4042ed24.js","index.dbc27bcc.css"],import.meta.url)),classic:o(()=>s(()=>import("./classic.fc0cfae6.js"),["classic.fc0cfae6.js","index.4042ed24.js","index.dbc27bcc.css"],import.meta.url)),transverse:o(()=>s(()=>import("./transverse.24878846.js"),["transverse.24878846.js","index.4042ed24.js","index.dbc27bcc.css"],import.meta.url)),columns:o(()=>s(()=>import("./columns.aaef3621.js"),["columns.aaef3621.js","index.4042ed24.js","index.dbc27bcc.css"],import.meta.url))},i=()=>{a.get("oldLayout")||a.set("oldLayout",e.value.layout);const t=document.body.clientWidth;t<1e3?(e.value.isCollapse=!1,n.emit("layoutMobileResize",{layout:"defaults",clientWidth:t})):n.emit("layoutMobileResize",{layout:a.get("oldLayout")?a.get("oldLayout"):e.value.layout,clientWidth:t})};return m(()=>{i(),window.addEventListener("resize",i)}),c(()=>{window.removeEventListener("resize",i)}),(t,h)=>(p(),f(y(l[v(e).layout])))}}),C=L(R,[["__file","/data/jenkins/workspace/badp-bcxin-web-5.x-dispatchBusiness/src/layout/index.vue"]]);export{C as default};
