import{M as f}from"./index-kQIztB-E.js";import{i as c,a7 as m,aA as d,u as p,ai as h,a9 as C,ak as _,af as v,Y as P,ac as u,cu as b,ae as k,aB as w,_ as y}from"./index-CFcIX8RO.js";const g=(a,s)=>{const r=c(()=>{const{variant:t,...e}=a;return{...e,fluid:a.fluid!==!1}}),o=c(()=>{const t=f(a.variant).with("panel",()=>["container-main","container-panel",s?"container-panel--dark":"container-panel--light"]).with("compact",()=>["container-main","container-compact"]).with("comfortable",()=>["container-main","container-comfortable"]).with("default",()=>["container-main","container-default"]).otherwise(()=>["container-main","container-default"]),e=[];return a.class&&(typeof a.class=="string"?e.push(a.class):Array.isArray(a.class)?e.push(...a.class):Object.entries(a.class).forEach(([n,i])=>{i&&e.push(n)})),[...t,...e].join(" ")});return{containerProps:r,containerClasses:o}},B={variant:"default",fluid:!0},A=m({__name:"Container",props:d({variant:{},fluid:{type:Boolean},tag:{},class:{},style:{}},B),setup(a){const s=a,r=p(),o=c(()=>r.current.value.dark),{containerProps:t,containerClasses:e}=g(s,o.value);return(n,i)=>(C(),h(b,P(u(t),{class:u(e)}),_({_:2},[v(n.$slots,(j,l)=>({name:l,fn:k(()=>[w(n.$slots,l,{},void 0,!0)])}))]),1040,["class"]))}}),S=y(A,[["__scopeId","data-v-b8d6ce90"]]);export{S as C};
