import{r as d,h as a,a as r}from"./p-e97fde0a.js";const s=":host{display:block;--overflow:visible}.card{font-family:var(--sc-font-sans);overflow:var(--overflow);display:block}.card:not(.card--borderless){padding:var(--sc-card-padding, var(--sc-spacing-large));background:var(--sc-card-background-color, var(--sc-color-white));border:1px solid var(--sc-card-border-color, var(--sc-color-gray-300));border-radius:var(--sc-input-border-radius-medium);box-shadow:var(--sc-shadow-small)}.card:not(.card--borderless).card--no-padding{padding:0}.title--divider{display:none}.card--has-title-slot .card--title{font-weight:var(--sc-font-weight-bold);line-height:var(--sc-line-height-dense)}.card--has-title-slot .title--divider{display:block}::slotted(*){margin-bottom:var(--sc-form-row-spacing)}::slotted(*:first-child){margin-top:0}::slotted(*:last-child){margin-bottom:0 !important}";const t=s;const o=class{constructor(a){d(this,a);this.noDivider=undefined;this.borderless=undefined;this.noPadding=undefined;this.href=undefined;this.loading=undefined;this.hasTitleSlot=undefined}componentWillLoad(){this.handleSlotChange()}handleSlotChange(){this.hasTitleSlot=!!this.el.querySelector('[slot="title"]')}render(){const d=this.href?"a":"div";return a(d,{key:"7dc7afdda0809275a96121abbf9bafd88f09f43b",part:"base",class:{card:true,"card--borderless":this.borderless,"card--no-padding":this.noPadding}},a("slot",{key:"cf56dd6b0661cd03e19b8f8a9a487b4a7f2796db"}))}get el(){return r(this)}};o.style=t;export{o as sc_card};
//# sourceMappingURL=p-40cf44fb.entry.js.map