"use strict";(self.webpackChunk_surecart_surecart=self.webpackChunk_surecart_surecart||[]).push([[6325],{6325:function(e,d,t){t.r(d),t.d(d,{sc_payment_method_details:function(){return c}});var a=t(3029),i=t(2901),n=t(1346),c=function(){return(0,i.A)((function e(d){(0,a.A)(this,e),(0,n.r)(this,d),this.paymentMethod=void 0,this.editHandler=void 0}),[{key:"render",value:function(){var e,d,t,a,i,c,o,l,r,s;return(0,n.h)("sc-card",{key:"5dc361c39a660ab59c6f5a57ff7280b7d3e313d6"},(0,n.h)("sc-flex",{key:"6d18af97690354eb468ef4d209023c9eb00e629d",alignItems:"center",justifyContent:"flex-start",style:{gap:"0.5em"}},(0,n.h)("sc-payment-method",{key:"3be96857587dadcf87cbf76ca05c50109c6f0377",paymentMethod:this.paymentMethod}),(0,n.h)("div",{key:"2575064f372d62298a6dea715eb139d586889474"},!!(null===(d=null===(e=this.paymentMethod)||void 0===e?void 0:e.card)||void 0===d?void 0:d.exp_month)&&(0,n.h)("span",{key:"4d36dfe7f7ee73a54f11e02c186f1d82803709c8"},
// Translators: %d/%d is month and year of expiration.
wp.i18n.sprintf(wp.i18n.__("Exp. %d/%d","surecart"),null===(a=null===(t=this.paymentMethod)||void 0===t?void 0:t.card)||void 0===a?void 0:a.exp_month,null===(c=null===(i=this.paymentMethod)||void 0===i?void 0:i.card)||void 0===c?void 0:c.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,n.h)("sc-button",{key:"9149047b8abd55a9e54758d967793591dda1dca5",type:"text",circle:!0,onClick:this.editHandler},(0,n.h)("sc-icon",{key:"18983d7beafbb993bd4bac441d195f13980dedf4",name:"edit-2"}))))}}])}()}}]);