1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[478],{25292:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[country]/customer/payment/PaymentMethodCard",function(){return n(79511)}])},79511:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(37876),d=n(14169),i=n(30647),a=n(52913);function s({paymentMethod:e,handleSaveAsStandard:t,handleDelete:n,isDeleting:s,isSettingStandard:o}){let{t:l}=(0,a.A)("forms"),c={standardCard:l("standardCard"),setStandardCard:l("setStandardCard"),creditCard:l("creditCard"),delete:l("delete"),edit:l("edit"),cardholderName:l("cardholderName"),validUntil:l("validUntil")};return(0,r.jsxs)(d.s,{direction:"column",w:"100%",p:24,style:{border:"1px solid #E0E0E0",background:"#fff",minHeight:170},children:[(0,r.jsxs)(d.s,{justify:"space-between",align:"flex-start",mb:16,children:[(0,r.jsx)(d.s,{direction:"column",gap:8,children:(0,r.jsxs)(d.s,{align:"start",gap:8,children:[(0,r.jsx)(d.s,{align:"center",justify:"center",style:{background:"#E6F2FB",borderRadius:6,padding:"2px 12px",fontWeight:700,fontSize:18,color:"#222",minWidth:60},children:e.brand.toUpperCase()}),(0,r.jsxs)(d.s,{direction:"column",style:{marginLeft:8},children:[(0,r.jsxs)(i.E,{style:{fontSize:22,fontWeight:600},children:["**** **** **** ",e.last4]}),(0,r.jsx)(i.E,{style:{fontSize:18},children:e.name||c.cardholderName}),(0,r.jsxs)(i.E,{style:{fontSize:18},children:[c.validUntil," ",e.expiryDate]})]})]})}),(0,r.jsxs)(d.s,{direction:"row",align:"center",gap:8,mt:4,children:[e.isStandard&&(0,r.jsx)(d.s,{align:"center",style:{background:"#49AC33",color:"#fff",borderRadius:20,padding:"6px 12px",fontWeight:400,fontSize:16},children:c.standardCard}),(0,r.jsx)(d.s,{align:"center",style:{background:"#F2F2F2",color:"#222",borderRadius:20,padding:"6px 12px",fontWeight:400,fontSize:16},children:c.creditCard})]})]}),(0,r.jsxs)(d.s,{align:"center",direction:"row",gap:16,children:[!e.isStandard&&(0,r.jsx)(i.E,{style:{textDecoration:"underline",fontWeight:400,fontSize:18,cursor:o?"not-allowed":"pointer"},onClick:o?void 0:()=>t(e),children:o?"...":c.setStandardCard}),(0,r.jsx)(i.E,{style:{color:"#E53935",textDecoration:"underline",fontWeight:400,fontSize:18,cursor:s?"not-allowed":"pointer"},onClick:s?void 0:()=>n(e),children:s?"...":c.delete})]})]})}}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=25292)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.