"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 i}});var d=t(3029),e=t(2901),o=t(1346),i=function(){return(0,e.A)((function r(a){(0,d.A)(this,r),(0,o.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,o.h)(r,{key:"7dc7afdda0809275a96121abbf9bafd88f09f43b",part:"base",class:{card:!0,"card--borderless":this.borderless,"card--no-padding":this.noPadding}},(0,o.h)("slot",{key:"cf56dd6b0661cd03e19b8f8a9a487b4a7f2796db"}))}},{key:"el",get:function(){return(0,o.a)(this)}}])}();i.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}"}}]);