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.d4dfe080.js";const E=r({name:"layout"}),R=r({...E,setup(b){const u=_(),{themeConfig:e}=d(u),l={defaults:o(()=>s(()=>import("./defaults.20d41cb8.js"),["defaults.20d41cb8.js","index.d4dfe080.js","index.dbc27bcc.css"],import.meta.url)),classic:o(()=>s(()=>import("./classic.704e158a.js"),["classic.704e158a.js","index.d4dfe080.js","index.dbc27bcc.css"],import.meta.url)),transverse:o(()=>s(()=>import("./transverse.9d17742b.js"),["transverse.9d17742b.js","index.d4dfe080.js","index.dbc27bcc.css"],import.meta.url)),columns:o(()=>s(()=>import("./columns.8e5e2242.js"),["columns.8e5e2242.js","index.d4dfe080.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};