PageSourceSearch

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

js regioradstuttgart.de collected 2026-10-04 13:26:11 UTC 3,371 bytes, 1 lines download raw bytes

1import{_ as H}from"./DIheCY_a.js";import{E as I,d as N,c as F,b as S,Q as U,q as R,P as L,x as s,A as q,m as e,y as u,I as p,K as w,z as $,H as z,r as V,ay as K,bw as B,bx as W}from"./BJhlU1rR.js";import{u as D}from"./BHREDrN6.js";import{_ as E}from"./DlAUqK2U.js";import"./C4-wI4XM.js";import"./v9y1S7hN.js";import"./BkGlnVwb.js";async function M(b,c,i,f){const{appAuthorizationHeader:a}=D();return await $fetch.raw("/payment/sepa/fraud-check/url",{baseURL:I().public.apiBaseURL,method:"POST",credentials:"include",headers:{...a&&a},body:{accountHolder:i,iban:c,language:b,origin:window.location.origin,sepaNotice:f}}).catch(_=>_.data)}const O={class:"mt-4"},P={class:"flex flex-col gap-2xs mt-4"},T=N({__name:"WebviewSepaFraudCheck",async setup(b){let c,i;const{setLocale:f,t:a}=F(),_=S(),x=U(),h=_.params.locale,k=`/webviews/${h}/sepa/fraud-check/error`;[c,i]=R(()=>f(h)),await c,i();const l=V(!1),n=V(!1),m=K({accountHolder:"",iban:""});let g=null;async function C(d){if(!n.value){n.value=!0,g={...d};return}l.value=!0;const t=g||d;t.sepaNotice=a("dbc-label-sepa-mandate");try{const r=await M(h,B(t.iban),t.accountHolder,t.sepaNotice);if(r&&r._data.redirectUrl){const o=r._data.redirectUrl;o&&(window.location.href=o)}else await x.push(k)}catch{await x.push(k)}finally{l.value=!1}}function A(d){const t=B(d.value);return W(t)}return(d,t)=>{const r=H,o=L("FormKit");return s(),q("div",O,[e(n)?(s(),u(r,{key:0,severity:"info",message:e(a)("dbc-text-verify-sepa")},null,8,["message"])):p("",!0),w(o,{type:"form",id:"sepa-fraud-check-form","data-testid":"form-sepa-fraud-check",name:"sepa-fraud-check-form",actions:!1,onSubmit:C,class:"dbc-gc-form dbc-formkit-form"},{default:$(({state:{valid:v}})=>[e(n)?p("",!0):(s(),u(o,{key:0,type:"text",name:"accountHolder",id:"accountHolder","data-testid":"input-account-holder",label:e(a)("dbc-payment-account-holder"),modelValue:e(m).accountHolder,"onUpdate:modelValue":t[0]||(t[0]=y=>e(m).accountHolder=y),placeholder:"Max Muster",validation:"required"},null,8,["label","modelValue"])),e(n)?p("",!0):(s(),u(o,{key:1,type:"dbc-iban",id:"iban","data-testid":"input-iban",name:"iban",label:"IBAN",modelValue:e(m).iban,"onUpdate:modelValue":t[1]||(t[1]=y=>e(m).iban=y),validation:"required|isIbanValid","validation-rules":{isIbanValid:A},"validation-messages":{isIbanValid:e(a)("dbc-error-registration-inputparam").replace("[placeholder]","IBAN")}},null,8,["modelValue","validation-rules","validation-messages"])),e(n)?p("",!0):(s(),u(o,{key:2,type:"checkbox",label:e(a)("dbc-label-sepa-mandate"),name:"mandate",id:"mandate","data-testid":"input-mandate",value:[],validation:"accepted","validation-messages":{accepted:e(a)("dbc-error-sepa-consent-required")}},null,8,["label","validation-messages"])),z("div",P,[w(o,{type:"submit",id:"submit","data-testid":"button-submit-sepa-fraud-check","suffix-icon":e(n)?"navigationLink":null,label:v?e(n)?e(a)("dbc-btn-verify"):e(a)("dbc-btn-check"):e(a)("dbc-text-fill-in-mandatory-field"),disabled:!v||e(l),loading:e(l),"aria-label":v?e(l)?e(a)("dbc-text-loading"):e(n)?e(a)("dbc-btn-verify"):e(a)("dbc-btn-check"):e(a)("dbc-text-fill-in-mandatory-fields")},null,8,["suffix-icon","label","disabled","loading","aria-label"])])]),_:1})])}}}),j=Object.assign(T,{__name:"WebviewSepaFraudCheck"}),Q={};function G(b,c){const i=j;return s(),u(i)}const ne=E(Q,[["render",G]]);export{ne 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.