PageSourceSearch

https://erobella.com/_nuxt/CmY-CPtg.js

js erobella.com collected 2026-09-24 10:05:25 UTC 2,657 bytes, 1 lines download raw bytes

1import U from"./CiiYzqQD.js";import{d as A,av as E,a4 as B,f as I,r as q,az as F,s as z,g as D,c as L,o as M,k as O,w as j,ao as G,j as t,t as u,e,b as w,B as H,m as W,a8 as J,V as g,W as h}from"./-6Lls737.js";import{_ as k}from"./CI-50u4g.js";import{u as K}from"./Dy76-4YX.js";import{u as Q,r as R,s as X}from"./CshW9Obe.js";import"./DSV61gAW.js";import"./DlAUqK2U.js";const Y={class:"container"},Z={class:"w-full max-w-[460px] mx-auto"},ee={class:"text-xl mb-2 max-md:px-4 mt-5"},oe={class:"text-sm text-dark-grey mb-8 max-md:px-4"},se={class:"grid gap-4"},we=A({__name:"[forgotPasswordEmailToken]",setup(ae){var _;const V=E(),d=B(),{t:o}=I(),r=q(!1),b=F(),m=K(),{emailToken:S,newPassword:c,newPasswordRepeat:p}=z(m),$=(_=d==null?void 0:d.params)==null?void 0:_.forgotPasswordEmailToken;S.value=$;const n=D({newPassword:c.value,newPasswordRepeat:p.value}),N=L(()=>n.newPassword),T={newPassword:{required:R},newPasswordRepeat:{required:R,sameAsPassword:X(N)}},s=Q(T,n);async function y(){if(r.value=!0,s.value.$invalid)return;c.value=n.newPassword,p.value=n.newPasswordRepeat;const{error:f,response:a}=await m.submitVerifyEmailToken();if(f){J.error();return}const l=a==null?void 0:a.token;if(!l){await V.push({path:g(h.USERS_LOGIN)});return}await b.setTokenFromCookie(l),window.location.href=g(h.USERS_ACCOUNT,!0)}return(f,a)=>{const l=U,C=G;return M(),O(C,{name:"light"},{default:j(()=>{var v,P,x;return[t("div",Y,[t("div",Z,[t("form",null,[t("h1",ee,u(e(o)("login.setNewPassword")),1),t("p",oe,u(e(o)("login.setNewPasswordLong")),1),t("div",se,[w(e(k),{type:"password",placeholder:e(o)("login.newPassword"),modelValue:e(s).newPassword.$model,"onUpdate:modelValue":a[0]||(a[0]=i=>e(s).newPassword.$model=i),errors:[r.value&&((v=e(s).newPassword.required)!=null&&v.$invalid)?e(o)("account.validation.passwordNew"):null]},null,8,["placeholder","modelValue","errors"]),w(e(k),{type:"password",placeholder:e(o)("login.newPasswordRepeat"),modelValue:e(s).newPasswordRepeat.$model,"onUpdate:modelValue":a[1]||(a[1]=i=>e(s).newPasswordRepeat.$model=i),errors:[r.value&&((P=e(s).newPasswordRepeat.required)!=null&&P.$invalid)?e(o)("account.validation.passwordNew"):null,r.value&&((x=e(s).newPasswordRepeat.sameAsPassword)!=null&&x.$invalid)?e(o)("account.validation.passwordDontMatch"):null]},null,8,["placeholder","modelValue","errors"])]),t("span",{onClick:H(y,["prevent"]),class:"button bg-white gap-3 border-[2px] border-x-pink shadow-soft-large min-w-[192px] fixed left-1/2 transform -translate-x-1/2 bottom-12 z-10 cursor-pointer"},[W(u(e(o)("login.phoneVerification.verify"))+" ",1),w(l,{class:"text-sm !mb-0"})])])])])]}),_:1})}}});
1export{we 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.