1import{d as p,j as i}from"./vendor-react-DfYGAhtm.js";import{S as l}from"./index-DsBgCU7r.js";import{u,L as b}from"./useRefreshLinkedAccountsOnReturn-BCyi7Ikj.js";import{u as c}from"./useWalletMandateLinkFlow-m9cf0nTk.js";import{a as L}from"./vendor-ui-DA_r9yXk.js";import"./vendor-icons-1odZwi-b.js";import"./vendor-state-BsBVN-fX.js";import"./vendor-forms-BP-7CbAP.js";import"./Modal-DS-VW05m.js";import"./useAnalytics-HP01GbIH.js";import"./userEmail-9DwyWHBc.js";import"./errors-BYKXB8DF.js";import"./walletApi-DyFgHNVA.js";import"./walletMandateApi-Du1GplC_.js";import"./walletMandateSession-B-c6J5GS.js";import"./walletMandateReturnUrls-BPu4z42g.js";const N=()=>{const o=p(),{cards:r,isLoading:a,isAdding:t,removingMandateId:d,startMandate:n,removeMandate:s,refetch:m}=c("CARD");return u({refetch:m}),i.jsx(L,{w:"100%",borderWidth:{base:0,md:"1px"},borderColor:"rgba(120, 53, 13, 0.08)",borderRadius:{base:0,md:"20px"},p:{base:0,md:8},minH:{md:"400px"},children:i.jsx(b,{title:"Linked Cards",subtitle:"Manage your connected debit and credit cards",items:r.map(e=>({id:e.id,title:e.label,subtitle:e.expiryLabel?`**** ${e.last4} ⢠${e.expiryLabel}`:`**** ${e.last4}`,iconSrc:e.iconSrc}
1)),addLabel:t?"Redirectingâ¦":"Add New Card",emptyLabel:"No linked cards yet",onBack:()=>o(`/${l.Wallet}`),onRemove:e=>s(e),onAdd:()=>{n()},isLoading:a,isAdding:t,removingId:d,removeEntityLabel:"card"})})};export{N as default};
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.