var u=Object.defineProperty,y=Object.defineProperties;var f=Object.getOwnPropertyDescriptors;var t=Object.getOwnPropertySymbols;var h=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable;var d=(s,a,e)=>a in s?u(s,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[a]=e,l=(s,a)=>{for(var e in a||(a={}))h.call(a,e)&&d(s,e,a[e]);if(t)for(var e of t(a))v.call(a,e)&&d(s,e,a[e]);return s},n=(s,a)=>y(s,f(a));import{b as w,d as S,a as _,_ as b,w as g}from"./base.b65bdcd1.js";import{d as m,a as p,f as c,g as o,u as r,i,k,m as C,n as E,O as N,t as $}from"./index.965ac11d.js";const B=w({header:{type:String,default:""},bodyStyle:{type:S([String,Object,Array]),default:""},shadow:{type:String,values:["always","hover","never"],default:"always"}}),P=m({name:"ElCard"}),V=m(n(l({},P),{props:B,setup(s){const a=_("card");return(e,O)=>(p(),c("div",{class:o([r(a).b(),r(a).is(`${e.shadow}-shadow`)])},[e.$slots.header||e.header?(p(),c("div",{key:0,class:o(r(a).e("header"))},[i(e.$slots,"header",{},()=>[N($(e.header),1)])],2)):k("v-if",!0),C("div",{class:o(r(a).e("body")),style:E(e.bodyStyle)},[i(e.$slots,"default")],6)],2))}}));var z=b(V,[["__file","/home/runner/work/element-plus/element-plus/packages/components/card/src/card.vue"]]);const D=g(z);export{D as E};
