PageSourceSearch

https://www.all4golf.de/_nuxt/builds/dev/D1qZoxHc.js

js all4golf.de collected 2026-09-28 10:07:12 UTC 4,425 bytes, 2 lines download raw bytes

1import{aF as S,aV as T,aG as q,bg as x,bt as B,aI as g,aJ as s,aM as m,bm as R,cO as k,aT as o,bq as I,bo as P,bd as v,b0 as w,aP as L,b5 as i,aN as p,bl as A,bB as M,bC as K,b2 as O}from"./CvVu6COU.js";import{f as U}from"./-YPmkbmn.js";import{u as z}from"./C95I6xpA.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};r.SENTRY_RELEASE={id:"a4g-pwa-development"};var b=new r.Error().stack;b&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[b]="ba575385-e9a2-442e-af1d-08cceb8f72d2",r._sentryDebugIdIdentifier="sentry-dbid-ba575385-e9a2-442e-af1d-08cceb8f72d2")}catch{}})();const G={class:"grid grid-cols-2 gap-3 lg:gap-6"},J={class:"col-span-2 lg:col-span-1"},W={for:"register-password",class:"label"},Y={class:"label-text"},H={class:"join w-full"},Q=["type","placeholder","pattern"],X=["aria-pressed","aria-label"],Z={class:"label mt-1"},ee={class:"label-text-alt text-sm text-base-content-subtle font-normal leading-5"},se={class:"col-span-2 lg:col-span-1"},oe={for:"register-password-repeat",class:"label"},ae={class:"label-text"},te={class:"join w-full"},re=["type","placeholder"],ne=["aria-pressed","aria-label"],le=["disabled"],de={key:0,class:"loading"},ie=S({__name:"CustomerPasswordResetForm",props:{hash:{}},setup(r){const b=r,{apiClient:h}=T(),{t:F}=q(),$=x(),{formatLink:C}=B($),{validateForm:V}=U(),{validatePassword:E,PASSWORD_PATTERN:D}=z(),{showNotification:f}=K(),c=i(!1),y=i(),l=i(),_=i(),u=i(),a=i(!1);function j(){E(_,l.value)}async function N(){if(c.value=!0,!await V(y.value)){c.value=!1;return}try{await h.invoke("recoveryPassword post /account/recovery-password-confirm",{body:{hash:b.hash,newPassword:l.value,newPasswordConfirm:u.value}}),l.value="",u.value="",f(F("customer.passwordResetForm.success"),"success"),await A(C("/customer/login"))}catch(e){if(e instanceof M){const d=e.details?.errors?.[0]?.detail;f(d??e.message,"error",!0)}else f(e instanceof Error?e.message:String(e),"error",!0)}finally{c.value=!1}}return(t,e)=>{const d=O;return p(),g("form",{ref_key:"passwordResetForm",ref:y,class:"form-control flex space-y-4"},[s("div",G,[s("div",J,[s("label",W,[s("span",Y,m(t.$t("customer.passwordResetForm.passwordLabel")),1)]),s("div",H,[R(s("input",{id:"register-password",ref_key:"passwordInput",ref:_,"onUpdate:modelValue":e[0]||(e[0]=n=>I(l)?l.value=n:null),required:"",type:o(a)?"text":"password",placeholder:t.$t("customer.passwordResetForm.passwordPlaceholder"),pattern:o(D).source,class:"input input-bordered w-full border-r-0 join-item",onInput:j},null,40,Q),[[k,o(l)]]),s("div",{role:"button",class:"btn btn-square btn-ghost border-l-0 border-border hover:border-border join-item",tabindex:"0","aria-pressed":o(a),"aria-label":o(a)?t.$t("customer.passwordResetForm.hideInput"):t.$t("customer.passwordResetForm.showInput"),onClick:e[1]||(e[1]=n=>a.value=!o(a)),onKeydown:e[2]||(e[2]=P(v(n=>a.value=!o(a),["prevent"]),["space"]))},[o(a)?(p(),w(d,{key:1,name:"eye-off",class:"w-5 h-5"})):(p(),w(d,{key:0,name:"eye",class:"w-5 h-5"}))],40,X)]),s("div",Z,[s("span",ee,m(t.$t("customer.passwordValidation.passwordInvalid")),1)])]),s("div",se,[s("label",oe,[s("span",ae,m(t.$t("customer.passwordResetForm.passwordRepeatLabel")),1)]),s("div",te,[R(s("input",{id:"register-password-repeat",ref:"passwordRepeatInput","onUpdate:modelValue":e[3]||(e[3]=n=>I(u)?u.value=n:null),required:"",type:o(a)?"text":"password",placeholder:t.$t("customer.passwordResetForm.passwordRepeatPlaceholder"),class:"input input-bordered w-full border-r-0 join-item"},null,8,re),[[k,o(u)]]),s("div",{role:"button",class:"btn btn-square btn-ghost border-l-0 border-border hover:border-border join-item",tabindex:"0","aria-pressed":o(a),"aria-label":o(a)?t.$t("customer.passwordResetForm.hideInput"):t.$t("customer.passwordResetForm.showInput"),onClick:e[4]||(e[4]=n=>a.value=!o(a)),onKeydown:e[5]||(e[5]=P(v(n=>a.value=!o(a),["prevent"]),["space"]))},[o(a)?(p(),w(d,{key:1,name:"eye-off",class:"w-5 h-5"})):(p(),w(d,{key:0,name:"eye",class:"w-5 h-5"}))],40,ne)])])]),s("button",{type:"submit",class:"btn btn-primary btn-lg btn-block",disabled:o(c),onClick:e[6]||(e[6]=v(n=>N(),["prevent"]))},[o(c)?(p(),g("span",de)):L("",!0),s("span",null,m(t.$t("customer.passwordResetForm.title")),1)],8,le)],512)}}}),be=Object.assign(ie,{__name:"CustomerPasswordResetForm"});export{be as default};
2//# sourceMappingURL=D1qZoxHc.js.map

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.