import{E as p,G as n,g as f,j as m,N as c,o as s,k as g,w as b,c as u,y as o,H as r,l,a as v,K as $,$ as k}from"./entry.9e31e8a4.js";import{t as y}from"./tw-merge.27ca352e.js";import{A as C,u as h}from"./ui.config.7ae255de.js";import{_ as w}from"./_plugin-vue_export-helper.c27b6911.js";const B=p(n.ui.strategy,n.ui.card,C),N=f({inheritAttrs:!1,props:{as:{type:String,default:"div"},ui:{type:Object,default:void 0}},setup(e){const{ui:a,attrs:t,attrsClass:d}=h("card",e.ui,B),i=m(()=>y(c(a.value.base,a.value.rounded,a.value.divide,a.value.ring,a.value.shadow,a.value.background),d));return{ui:a,attrs:t,cardClass:i}}});function S(e,a,t,d,i,j){return s(),g(k(e.$attrs.onSubmit?"form":e.as),$({class:e.cardClass},e.attrs),{default:b(()=>[e.$slots.header?(s(),u("div",{key:0,class:o([e.ui.header.base,e.ui.header.padding,e.ui.header.background])},[r(e.$slots,"header")],2)):l("",!0),v("div",{class:o([e.ui.body.base,e.ui.body.padding,e.ui.body.background])},[r(e.$slots,"default")],2),e.$slots.footer?(s(),u("div",{key:1,class:o([e.ui.footer.base,e.ui.footer.padding,e.ui.footer.background])},[r(e.$slots,"footer")],2)):l("",!0)]),_:3},16,["class"])}const D=w(N,[["render",S]]);export{D as default};
