PageSourceSearch

https://7maravilhas.pt/build/assets/reset-password-DdNqdXGa.js

js 7maravilhas.pt collected 2026-09-24 23:50:32 UTC 2,123 bytes, 1 lines download raw bytes

1import{v as w,j as a,$ as f}from"./app-Ce8cAmW-.js";import{I as i}from"./input-error-DGjcHWMi.js";import{P as v}from"./primary-button-hvRD1VpQ.js";import{L as t,I as l}from"./label-DMMt9_Zb.js";import{A as x}from"./auth-layout-cxzxZBKa.js";import{L as h}from"./loader-circle-BOmrHRRl.js";/* empty css            */import"./index-BLDRET_f.js";function F({token:p,email:n}){const{data:e,setData:r,post:d,processing:m,errors:o,reset:c}=w({token:p,email:n,password:"",password_confirmation:""}),u=s=>{s.preventDefault(),d(route("password.store"),{onFinish:()=>c("password","password_confirmation")})};return a.jsxs(x,{title:"Redefinir palavra-passe",description:"Por favor, introduza a sua nova palavra-passe abaixo",children:[a.jsx(f,{title:"Redefinir palavra-passe"}),a.jsx("form",{onSubmit:u,children:a.jsxs("div",{className:"grid gap-6",children:[a.jsxs("div",{className:"grid gap-2",children:[a.jsx(t,{htmlFor:"email",children:"Email"}),a.jsx(l,{id:"email",type:"email",name:"email",autoComplete:"email",value:e.email,className:"mt-1 block w-full",readOnly:!0,onChange:s=>r("email",s.target.value)}),a.jsx(i,{message:o.email,className:"mt-2"})]}),a.jsxs("div",{className:"grid gap-2",children:[a.jsx(t,{htmlFor:"password",children:"Palavra-passe"}),a.jsx(l,{id:"password",type:"password",name:"password",autoComplete:"new-password",value:e.password,className:"mt-1 block w-full",autoFocus:!0,onChange:s=>r("password",s.target.value),placeholder:"Palavra-passe"}),a.jsx(i,{message:o.password})]}),a.jsxs("div",{className:"grid gap-2",children:[a.jsx(t,{htmlFor:"password_confirmation",children:"Confirmar palavra-passe"}),a.jsx(l,{id:"password_confirmation",type:"password",name:"password_confirmation",autoComplete:"new-password",value:e.password_confirmation,className:"mt-1 block w-full",onChange:s=>r("password_confirmation",s.target.value),placeholder:"Confirmar palavra-passe"}),a.jsx(i,{message:o.password_confirmation,className:"mt-2"})]}),a.jsxs(v,{type:"submit",className:"mt-4 w-full",disabled:m,children:[m&&a.jsx(h,{className:"h-4 w-4 animate-spin"}),"Redefinir palavra-passe"]})]})})]})}export{F 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.