PageSourceSearch

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

js regioradstuttgart.de collected 2026-10-04 13:25:23 UTC 3,788 bytes, 1 lines download raw bytes

1import{_ as N}from"./EG46z7o7.js";import{_ as S}from"./DIheCY_a.js";import{b as T,E as v,d as U,Q as q,c as z,x as f,y,z as h,_ as D,H as r,K as t,m as e,I as H,O as P,M as K,A as C,B as $,L as E,N as M,F as O,r as w,P as A}from"./BJhlU1rR.js";import{f as Q,s as j}from"./BOVKW5Xp.js";import{u as B}from"./BXgMM1f5.js";import{t as G}from"./DbmfS0TW.js";import{c as J,p as W}from"./kDBjPyui.js";import{u as X}from"./DQByq9Ob.js";import"./C4-wI4XM.js";import"./v9y1S7hN.js";import"./BkGlnVwb.js";async function Y(g){const l=T();return await $fetch.raw("/customer/password/reset/finish",{server:!1,method:"POST",credentials:"include",baseURL:v().public.apiBaseURL,body:{password:g.new_password,id:l.query.id,client:v().public.client,language:l.params.locale}})}const Z={class:"w-96 flex flex-col gap-y-4 m-auto max-mobile:w-full"},ee={class:"grow max-w-[800px] flex flex-col gap-4"},se={id:"help-new_password",class:"mt-xs pl-2xs list-none text-medium"},ae=["aria-hidden"],oe={class:"flex flex-col gap-2xs"},fe=U({__name:"password-reset-finish",setup(g){const l=q(),{t:s,locale:V}=z(),i=w(""),c=w(""),d=w(!1);async function k(n){var a,u;d.value=!0;try{const{status:p}=await Y(n);p===200&&l.push({path:B("login"),query:{"pw-reset-finish":"✓"}})}catch(p){const m=p;((u=(a=m.data)==null?void 0:a.data)==null?void 0:u.code)===1007?c.value=m.data.data.message:c.value=s("dbc-error-server-issues"),d.value=!1}}const x={id:0,title:s("dbc-headline-choose-password"),path:"/passwort-neu",description:"",content:[],localizations:[{id:0,title:s("dbc-headline-choose-password"),path:"passwort-setzen",locale:"de"},{id:1,title:s("dbc-headline-choose-password"),path:"password-reset",locale:"en"}],locale:V.value};return X(x),(n,a)=>{const u=N,p=S,m=E,_=A("FormKit"),R=j,F=D;return f(),y(F,{name:"self-service",page:x},{default:h(()=>[r("div",Z,[r("main",ee,[t(u,{level:2,text:e(s)("dbc-headline-choose-password")},null,8,["text"]),t(R,{pt:"formCardPassThrough"in n?n.formCardPassThrough:e(Q)},{content:h(()=>[t(_,{actions:!1,type:"form","form-class":"rounded-lg p-4",onSubmit:k,"aria-invalid":e(c),"aria-errormessage":"errorBanner"},{default:h(({disabled:I,state:{valid:b}})=>[e(c)?(f(),y(p,{key:0,id:"errorBanner",severity:"warn",message:e(c)},null,8,["message"])):H("",!0),r("div",null,[r("p",null,P(e(s)("dbc-text-observe-guidelines-new-password")),1)]),t(_,{type:"password",name:"new_password",id:"new_password",label:e(s)("dbc-label-new-password"),placeholder:e(s)("dbc-text-enter-new-password"),"validation-rules":{contains_special_char:e(J)},validation:"required|length:8|contains_numeric|contains_special_char|contains_lowercase|contains_uppercase","prefix-icon":"passwordIcon","suffix-icon":"eyeClosedIcon",onSuffixIconClick:a[0]||(a[0]=o=>e(G)(o)),"floating-label":!0,modelValue:e(i),"onUpdate:modelValue":a[1]||(a[1]=o=>K(i)?i.value=o:null),help:"help",autocomplete:"new-password"},{help:h(()=>[r("ul",se,[(f(!0),C(O,null,$(e(W),(o,L)=>(f(),C("li",{key:L,class:"flex gap-2xs mb-2xs","aria-hidden":o.validate(e(i))},[t(m,{name:o.validate(e(i))?"dbc-icon-success":"dbc-icon-info"},null,8,["name"]),M(" "+P(e(s)(o["message-key"])),1)],8,ae))),128))])]),_:1},8,["label","placeholder","validation-rules","modelValue"]),r("div",oe,[t(_,{type:"submit",id:"submit",label:b?e(s)("dbc-change-password"):e(s)("dbc-text-fill-in-mandatory-fields"),disabled:!!I||!b||e(d),loading:e(d),"aria-label":b?e(d)?e(s)("dbc-text-loading"):e(s)("dbc-change-password"):e(s)("dbc-text-fill-in-mandatory-fields")},null,8,["label","disabled","loading","aria-label"]),t(_,{type:"button",id:"abort",onClick:a[2]||(a[2]=o=>e(l).push({path:("usePagePath"in n?n.usePagePath:e(B))("login")})),label:e(s)("dbc-btn-abort")},null,8,["label"])])]),_:1},8,["aria-invalid"])]),_:1},8,["pt"])])])]),_:1})}}});
1export{fe 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.