"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 i=d(3029),n=d(2901),a=d(7364),c=function(){return(0,n.A)((function e(t){(0,i.A)(this,e),(0,a.r)(this,t),this.paymentMethod=void 0,this.editHandler=void 0}),[{key:"render",value:function(){var e,t,d,i,n,c,o,l,r,s;return(0,a.h)("sc-card",{key:"5d651c5f39fcf7583819c5008810687b261e9a64"},(0,a.h)("sc-flex",{key:"571408bd4eac6c7d792f1b113bf832d17490668c",alignItems:"center",justifyContent:"flex-start",style:{gap:"0.5em"}},(0,a.h)("sc-payment-method",{key:"ef3a232e7e5dcf40a404313398d4c44d520175e1",paymentMethod:this.paymentMethod}),(0,a.h)("div",{key:"eb0c177db20b0988164a5dacf50577660aafe3e8"},!!(null===(t=null===(e=this.paymentMethod)||void 0===e?void 0:e.card)||void 0===t?void 0:t.exp_month)&&(0,a.h)("span",{key:"cdd01ce0114e75bc8ef29a040b7f9ad390743e63"},
// Translators: %d/%d is month and year of expiration.
wp.i18n.sprintf(wp.i18n.__("Exp. %d/%d","surecart"),null===(i=null===(d=this.paymentMethod)||void 0===d?void 0:d.card)||void 0===i?void 0:i.exp_month,null===(c=null===(n=this.paymentMethod)||void 0===n?void 0:n.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,a.h)("sc-button",{key:"114b809f9b8dc27bb95fe69310775b721d13857e",type:"text",circle:!0,onClick:this.editHandler},(0,a.h)("sc-icon",{key:"65519fc51b08cd60eb9264ef07f2ce1b45b2a69d",name:"edit-2"}))))}}])}()}}]);