"use strict";(self.webpackChunk_surecart_surecart=self.webpackChunk_surecart_surecart||[]).push([[8532],{8532:function(r,a,t){t.r(a),t.d(a,{sc_card:function(){return d}});var e=t(3029),o=t(2901),i=t(1346),d=function(){return(0,o.A)((function r(a){(0,e.A)(this,r),(0,i.r)(this,a),this.noDivider=void 0,this.borderless=void 0,this.noPadding=void 0,this.href=void 0,this.loading=void 0,this.hasTitleSlot=void 0}),[{key:"componentWillLoad",value:function(){this.handleSlotChange()}},{key:"handleSlotChange",value:function(){this.hasTitleSlot=!!this.el.querySelector('[slot="title"]')}},{key:"render",value:function(){var r=this.href?"a":"div";return(0,i.h)(r,{key:"b6fedccde48b021cb1a885ba1f5f9c65ab8aa4c7",part:"base",class:{card:!0,"card--borderless":this.borderless,"card--no-padding":this.noPadding}},(0,i.h)("slot",{key:"f5f162eb19336a83446a1c9bd536cb835b0d8a9d"}))}},{key:"el",get:function(){return(0,i.a)(this)}}])}();d.style=":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}"}}]);