"use strict";(self.webpackChunk_surecart_surecart=self.webpackChunk_surecart_surecart||[]).push([[6325],{96325:function(e,t,a){a.r(t),a.d(t,{sc_payment_method_details:function(){return c}});var d=a(23029),i=a(92901),n=a(27364),c=function(){return(0,i.A)((function e(t){(0,d.A)(this,e),(0,n.r)(this,t),this.paymentMethod=void 0,this.editHandler=void 0}),[{key:"render",value:function(){var e,t,a,d,i,c,o,l,r,s;return(0,n.h)("sc-card",{key:"c1a547159f611ebb0036be1cae0e516d69af3dfa"},(0,n.h)("sc-flex",{key:"6af0f5ad82a2a49534627b3f22e471b9a15b2e09",alignItems:"center",justifyContent:"flex-start",style:{gap:"0.5em"}},(0,n.h)("sc-payment-method",{key:"967b33a85f1280debb62be93b4c40c377b6bc561",paymentMethod:this.paymentMethod}),(0,n.h)("div",{key:"769e4c0b5352ea3a925cb808fd066aea97aa433d"},!!(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:"80305bc8a62bdf5e55a1880caa8585e3f77d9986"},
// Translators: %d/%d is month and year of expiration.
wp.i18n.sprintf(wp.i18n.__("Exp. %d/%d","surecart"),null===(d=null===(a=this.paymentMethod)||void 0===a?void 0:a.card)||void 0===d?void 0:d.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:"a885d5f8e08cfbf6c7d9a015c2c970436dff9f27",type:"text",circle:!0,onClick:this.editHandler},(0,n.h)("sc-icon",{key:"2512d4c3b4b8310b424d151f2bf74d16a414725d",name:"edit-2"}))))}}])}()}}]);