import{s as r,o as i,t as u,r as c,p as m,m as d,g as f,u as _,a as p,c as t,n as v,b as y,d as B,e as w,f as S,h as k,w as V}from"./index-D-hl0cGh.js";import{m as b,a as g,u as C}from"./tag-BNKjHbLw.js";function M(){const e=r(!1);return i(()=>{window.requestAnimationFrame(()=>{e.value=!0})}),{ssrBootStyles:u(()=>e.value?void 0:{transition:"none !important"}),isBooted:c(e)}}const h=m({scrollable:Boolean,...d(),...g(),...b({tag:"main"})},"VMain"),P=f()({name:"VMain",props:h(),setup(e,s){let{slots:a}=s;const{dimensionStyles:o}=C(e),{mainStyles:n}=_(),{ssrBootStyles:l}=M();return p(()=>t(e.tag,{class:y(["v-main",{"v-main--scrollable":e.scrollable},e.class]),style:v([n.value,l.value,o.value,e.style])},{default:()=>[e.scrollable?B("div",{class:"v-main__scroller"},[a.default?.()]):a.default?.()]})),{}}}),z={__name:"default",setup(e){return(s,a)=>{const o=S("router-view");return k(),w(P,null,{default:V(()=>[t(o)]),_:1})}}};export{z as default};
