PageSourceSearch

https://fontedavida.com.br/assets/DeleteCreditCard-SdeENRoi.js

js fontedavida.com.br collected 2026-09-26 18:03:54 UTC 2,290 bytes, 1 lines download raw bytes

1import{_ as C,j as E,b as n,c as u,o as p,a as r,g as d,f as i,t as a,w as h,Z as R,aq as l}from"./index-sUPB-bMu.js";const m={name:"DeleteCreditCard",computed:{...E(["userCardData","churchUuid","appUsesNewGatewaysOnCard"]),cardFinalNumber(){const e=this.userCardData?.cartao||this.userCardData?.mask;return e.slice(-4)||e.slice(-4)}},methods:{goBack(){this.$router.go(-1)},async deleteUserCreditCard(){try{this.appUsesNewGatewaysOnCard?await l.deleteCardBFF({cardUuid:this.userCardData.uuid,churchUuid:this.churchUuid}):await l.deleteCard(this.userCardData.id),this.$router.replace({name:"userCards"})}catch(e){if(e.response){let t;switch(e.response.status){case 400:case 404:case 500:t=`${e.response.data.error.message}`;break;default:t=this.$t("CHECKOUT.MESSAGE.ERROR.GENERIC_ERROR");break}this.deleteCardError={type:"error",message:t};return}this.deleteCardError={type:"error",message:this.$t("CHECKOUT.MESSAGE.ERROR.GENERIC_ERROR")}}}}},D={class:"page-delete-credit-card"},T={class:"page-delete-credit-card__content"},g={class:"page-delete-credit-card__content__inline-content"},U={class:"title"},b={class:"page-delete-credit-card__content__ilustration"},v={class:"page-delete-credit-card__content__title"},I={class:"page-delete-credit-card__content__subtitle"};function S(e,t,f,k,w,s){const o=n("SvgElement"),_=n("router-link");return p(),u("div",D,[r("div",T,[r("div",g,[r("button",{class:"go-back",onClick:t[0]||(t[0]=i(c=>s.goBack(),["prevent"]))},[d(o,{name:"ArrowLeft",width:"1.4rem"})]),r("h1",U,a(e.$t("USER.CREDIT_CARD.TITLE.PAGE")),1)]),r("div",b,[t[2]||(t[2]=r("div",{class:"cover"},null,-1)),d(o,{name:"IlustraDeleteCards",type:"other",class:"icon"})]),r("h1",v,a(e.$t("USER.CREDIT_CARD.DELETE.TITLE",{number:s.cardFinalNumber})),1),r("h2",I,a(e.$t("USER.CREDIT_CARD.DELETE.SUBTITLE")),1),r("button",{class:"btn btn--color-primary page-delete-credit-card__content__delete",onClick:t[1]||(t[1]=i((...c)=>s.deleteUserCreditCard&&s.deleteUserCreditCard(...c),["prevent"]))},a(e.$t("USER.CREDIT_CARD.DELETE.BUTTON")),1),d(_,{to:{name:"userCards"},class:"btn btn--color-primary page-delete-credit-card__content__button"},{default:h(()=>[R(a(e.$t("USER.CREDIT_CARD.DELETE.CANCEL")),1)]),_:1})])])}const N=C(m,[["render",S],["__scopeId","data-v-a059b367"]]);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.