PageSourceSearch

https://www.regioradstuttgart.de/_nuxt/DfR07DJc.js

js regioradstuttgart.de collected 2026-10-04 13:25:48 UTC 2,437 bytes, 1 lines download raw bytes

1import{u as D,_ as I,a as q,b as L}from"./DW_Zm6RN.js";import{_ as N}from"./DIheCY_a.js";import{b as U,E as y,d as V,Q as $,c as F,Z as C,j as i,x as m,y as u,z as g,m as o,_ as H,K as w,I as l,r as j}from"./BJhlU1rR.js";import{f as E,s as K}from"./BOVKW5Xp.js";import{u as O}from"./8mnopAEE.js";import{u as Q}from"./BHREDrN6.js";import{f as Z}from"./D7eu--uw.js";import{u as S}from"./BXgMM1f5.js";import"./D6gOJ86O.js";import"./C4-wI4XM.js";import"./v9y1S7hN.js";import"./BkGlnVwb.js";import"./BwAlTTr4.js";async function b(d){const{appAuthorizationHeader:s}=Q(),a=U().params.locale;return await $fetch.raw("/customer/update/contract",{server:!1,method:"POST",credentials:"include",headers:{...s&&s},baseURL:y().public.apiBaseURL,body:{paymentData:d,language:a,client:y().public.client,psp:"computop"},async onResponse(e){e.response.status===401&&(await Z(),e.response=await $fetch.raw(e.request,e.options))}}).catch(e=>e.data)}const pe=V({__name:"update",setup(d){var h;const s=$(),{t:r}=F(),a=D(),{paymentMethod:e,transactionId:v,isSepaSubmitted:P,sepaData:R}=C(a),p=O(),{tariff:c,data:_}=C(p),n=j("");a.setPaymentMethods(((h=c.value)==null?void 0:h.paymentMethods)||[]),i(c,()=>{var t;a.setPaymentMethods(((t=c.value)==null?void 0:t.paymentMethods)||[])}),i(e,t=>{n.value=""});async function x(){(await b({transactionId:v.value})).status===200?p.getContracts().then(()=>{s.push({path:S("self-service-payment"),query:{update:"payment-method"}})}):(n.value=r("dbc-error-something-went-wrong"),a.initComputop(_.value.mail))}return i(P,async()=>{(await b(R.value)).status===200?p.getContracts().then(()=>{s.push({path:S("self-service-payment"),query:{update:"payment-method"}})}):(n.value=r("dbc-error-something-went-wrong"),a.resetSepaForm())}),(t,G)=>{const M=I,k=N,z=q,B=L,T=K,A=H;return m(),u(A,{name:"main-view",headline:o(r)("dbc-btn-text-change-payment")},{default:g(()=>[w(T,{pt:"formCardPassThrough"in t?t.formCardPassThrough:o(E),"pt:content:class":"p-4"},{content:g(()=>{var f;return[w(M,{isSmallSize:!0}),o(n)?(m(),u(k,{key:0,id:"errorBanner",severity:"warn",message:o(n)},null,8,["message"])):l("",!0),o(e)==="creditCard"?(m(),u(z,{key:1,email:(f=o(_))==null?void 0:f.mail,isSmallSize:!0,iFrameClass:"h-[1020px] w-full",onSubmitCreditCard:x},null,8,["email"])):l("",!0),o(e)==="sepaDirectDebit"?(m(),u(B,{key:2,hasAbortButton:!0,isSmallSize:!0})):l("",!0)]}),_:1},8,["pt"])]),_:1},8,["headline"])}}});export{pe 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.