1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6],{21173:function(e,s,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/reset-password",function(){return n(45750)}])},45750:function(e,s,n){"use strict";n.r(s),n.d(s,{__N_SSP:function(){return u}});var t=n(85893),a=n(67294),r=n(11163),o=n(50948),i=n(82849),u=!0;s.default=e=>{let{brand:s}=e,n=(0,r.useRouter)(),{query:u}=n,[c,d]=(0,a.useState)({email:"",password:"",password_confirmation:""}),l=async()=>(0,o.enhancedFetch)("/api/auth/reset-password",{method:"POST",body:{...c,token:u.token}}).then(()=>{alert("We have successfully reset your password."),n.push("/login")}),p=u.email;return(0,a.useEffect)(()=>{p&&c.email!==p&&d(e=>({...e,email:p}))},[p,c]),(0,t.jsx)(i.n,{brand:s,title:"Reset Password",description:"Forgot your password? Create a new one.",children:(0,t.jsxs)("div",{className:"flex items-center justify-center min-h-full",children:[(0,t.jsxs)(o.Form,{value:c,onChange:d,className:"z-20 bg-white rounded w-96 h-72 p-4 flex-grow-0 justify-center",children:[(0,t.jsx)(o.TextInput,{name:"email",type:"email"}),(0,t.jsx)(o.PasswordInput,{name:"password",type:"password"}),(0,t.jsx)(o.PasswordInput,{name:"password_confirmation",type:"password"}),(0,t.jsx)(o.SubmitButton,{onClick:l,className:"w-full h-10 font-bold j-small j-primary",children:"Reset Password"})]}),(0,t.jsx)(o.ContentBg,{src:"https://pizzamico8-dev.s3.amazonaws.com/branding/pizza-man-cover.png"})]})})}}},function(e){e.O(0,[849,888,774,179],function(){return e(e.s=21173)}),_N_E=e.O()}]);
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.