"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 c}});var a=d(3029),i=d(2901),n=d(1346),c=function(){return(0,i.A)((function e(t){(0,a.A)(this,e),(0,n.r)(this,t),this.paymentMethod=void 0,this.editHandler=void 0}),[{key:"render",value:function(){var e,t,d,a,i,c,o,l,f,r;return(0,n.h)("sc-card",{key:"f3a564ca0054cc2b63c7118a7fd0fe9f7c7d5eef"},(0,n.h)("sc-flex",{key:"9a94202a2bdfebb868cfceec761ffcbc9c0e860e",alignItems:"center",justifyContent:"flex-start",style:{gap:"0.5em"}},(0,n.h)("sc-payment-method",{key:"3910c58eaba789eb67d9258746e917104dcb1bcd",paymentMethod:this.paymentMethod}),(0,n.h)("div",{key:"2865b838d4195d269cd4f57f5021e5a7ae1b242c"},!!(null===(t=null===(e=this.paymentMethod)||void 0===e?void 0:e.card)||void 0===t?void 0:t.exp_month)&&(0,n.h)("span",{key:"0157bf9151b997ae06022e761df5b2a30088475f"},
// Translators: %d/%d is month and year of expiration.
wp.i18n.sprintf(wp.i18n.__("Exp. %d/%d","surecart"),null===(a=null===(d=this.paymentMethod)||void 0===d?void 0:d.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===(r=null===(f=this.paymentMethod)||void 0===f?void 0:f.paypal_account)||void 0===r?void 0:r.email)),(0,n.h)("sc-button",{key:"ac181d36c3fc7fd410ba1f81941e0bc08f7ad64f",type:"text",circle:!0,onClick:this.editHandler},(0,n.h)("sc-icon",{key:"43eef4134afe057362bb324ff67811b092ec52f9",name:"edit-2"}))))}}])}()}}]);