"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,r,s;return(0,n.h)("sc-card",{key:"826c059459a12c5b39811ff01079ad3024a53500"},(0,n.h)("sc-flex",{key:"ff0a03bf78a9fb6a446cb50952d989225953b58f",alignItems:"center",justifyContent:"flex-start",style:{gap:"0.5em"}},(0,n.h)("sc-payment-method",{key:"7e72e44534372a80eebcb3c95549de197c72d9a8",paymentMethod:this.paymentMethod}),(0,n.h)("div",{key:"67371eea77408f2d09387095407f07a2b3bb955a"},!!(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:"6f8b0735d4e37fdd4c88f0125077e5eb78749e32"},
// 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===(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:"42897688c5d69d5939647b5113bf17387bc95efb",type:"text",circle:!0,onClick:this.editHandler},(0,n.h)("sc-icon",{key:"799ce0fc86eda6652cbf9cda7761f80b0544c0e5",name:"edit-2"}))))}}])}()}}]);