"use strict";(self.webpackChunk_surecart_surecart=self.webpackChunk_surecart_surecart||[]).push([[6325],{6325:function(e,t,d){d.r(t),d.d(t,{sc_payment_method_details:function(){return n}});var c=d(3029),a=d(2901),i=d(1346),n=function(){return(0,a.A)((function e(t){(0,c.A)(this,e),(0,i.r)(this,t),this.paymentMethod=void 0,this.editHandler=void 0}),[{key:"render",value:function(){var e,t,d,c,a,n,o,l,r,s;return(0,i.h)("sc-card",{key:"ade0bcc70772764c638b29235a85603dedc7b1d6"},(0,i.h)("sc-flex",{key:"ceeac22b7781f8f3c70a079b6e7139c6b10ee1a4",alignItems:"center",justifyContent:"flex-start",style:{gap:"0.5em"}},(0,i.h)("sc-payment-method",{key:"bd9fca18eafc3ecad630908e6210fc1896d57c61",paymentMethod:this.paymentMethod}),(0,i.h)("div",{key:"13ba6337ebe96c1cbdc6c4a8baec9b81421c959d"},!!(null===(t=null===(e=this.paymentMethod)||void 0===e?void 0:e.card)||void 0===t?void 0:t.exp_month)&&(0,i.h)("span",{key:"d04ec0f9d49320f0bc9532859c039ae6c45dcfc9"},
// Translators: %d/%d is month and year of expiration.
wp.i18n.sprintf(wp.i18n.__("Exp. %d/%d","surecart"),null===(c=null===(d=this.paymentMethod)||void 0===d?void 0:d.card)||void 0===c?void 0:c.exp_month,null===(n=null===(a=this.paymentMethod)||void 0===a?void 0:a.card)||void 0===n?void 0:n.exp_year)),!!(null===(l=null===(o=this.paymentMethod)||void 0===o?void 0:o.paypal_account)||void 0===l?void 0:l.email)&&(null===(s=null===(r=this.paymentMethod)||void 0===r?void 0:r.paypal_account)||void 0===s?void 0:s.email)),(0,i.h)("sc-button",{key:"0f920f310318785b2c147f1e140055f20159f119",type:"text",circle:!0,onClick:this.editHandler},(0,i.h)("sc-icon",{key:"6e8610037e40b71b855122965b61a607d6db8782",name:"edit-2"}))))}}])}()}}]);