PageSourceSearch

https://360ai.io/build/assets/ResetPassword-CJUVO5ZI.js

js 360ai.io collected 2026-10-07 16:38:47 UTC 3,452 bytes, 2 lines download raw bytes

1import{d as w,T as f,e as a,o as n,a as s,C as g,j as c,l as d,p as i,u as t,t as p,k as b}from"./app-GEZjK6dO.js";const y={class:"min-h-screen bg-gradient-to-br from-gray-50 to-gray-100 flex items-center justify-center py-12 px-4 sm:px-6 lg:px-8"},x={class:"max-w-md w-full"},_={class:"bg-white rounded-2xl shadow-xl p-8"},h=s("div",{class:"text-center mb-8"},[s("h2",{class:"text-3xl font-bold text-gray-900"}," Reset Password "),s("p",{class:"mt-2 text-sm text-gray-600"}," Enter your new password below ")],-1),v=["onSubmit"],k={class:"space-y-4"},C=s("label",{for:"email",class:"block text-sm font-medium text-gray-700 mb-2"}," Email Address ",-1),V=s("label",{for:"password",class:"block text-sm font-medium text-gray-700 mb-2"}," New Password ",-1),S={key:0,class:"mt-2 text-sm text-red-600"},P=s("label",{for:"password_confirmation",class:"block text-sm font-medium text-gray-700 mb-2"}," Confirm Password ",-1),B={key:0,class:"mt-4 p-4 bg-red-50 border border-red-200 rounded-lg"},E={class:"text-sm text-red-800"},N=["disabled"],R={key:0},j={key:1,class:"flex items-center"},M=s("svg",{class:"animate-spin -ml-1 mr-3 h-5 w-5 text-white",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[s("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),s("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})],-1),q=w({__name:"ResetPassword",props:{clientSlug:{},token:{},email:{}},setup(m){const l=m,e=f({token:l.token,email:l.email,password:"",password_confirmation:""}),u=()=>{e.post(route("apply.candidate.password.update",{clientSlug:l.clientSlug}))};return(T,o)=>(n(),a("div",y,[s("div",x,[s("div",_,[h,s("form",{onSubmit:g(u,["prevent"])},[s("div",k,[s("div",null,[C,d(s("input",{id:"email","onUpdate:modelValue":o[0]||(o[0]=r=>t(e).email=r),type:"email",readonly:"",class:"w-full px-4 py-3 border border-gray-300 rounded-lg bg-gray-50 cursor-not-allowed"},null,512),[[i,t(e).email]])]),s("div",null,[V,d(s("input",{id:"password","onUpdate:modelValue":o[1]||(o[1]=r=>t(e).password=r),type:"password",required:"",class:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-cyan-500 focus:border-transparent transition-all",placeholder:"Enter new password"},null,512),[[i,t(e).password]]),t(e).errors.password?(n(),a("p",S,p(t(e).errors.password),1)):c("",!0)]),s("div",null,[P,d(s("input",{id:"password_confirmation","onUpdate:modelValue":o[2]||(o[2]=r=>t(e).password_confirmation=r),type:"password",required:"",class:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-cyan-500 focus:border-transparent transition-all",placeholder:"Confirm new password"},null,512),[[i,t(e).password_confirmation]])])]),t(e).errors.email?(n(),a("div",B,[s("p",E,p(t(e).errors.email),1)])):c("",!0),s("button",{type:"submit",disabled:t(e).processing,class:"mt-6 w-full flex justify-center items-center px-4 py-3 border border-transparent rounded-lg shadow-sm text-sm font-medium text-white bg-cyan-600 hover:bg-cyan-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-cyan-500 disabled:opacity-50 disabled:cursor-not-allowed transition-all"},[t(e).processing?(n(),a("span",j,[M,b(" Resetting... ")])):(n(),a("span",R,"Reset Password"))],8,N)],40,v)])])]))}});export{q as default};
2//# sourceMappingURL=ResetPassword-CJUVO5ZI.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.