PageSourceSearch

https://uttarakhandtourism.gov.in/build/assets/Register-CFYTG03C.js

js uttarakhandtourism.gov.in collected 2026-10-02 06:29:33 UTC 2,569 bytes, 1 lines download raw bytes

1import{G as c,j as e,S as p,x}from"./app-Ha4X7SlF.js";import{G as f}from"./GuestLayout-hy9_L9an.js";import{I as t}from"./InputError-Do4kQPnM.js";import{I as m}from"./InputLabel-D410np7F.js";import{P as h}from"./PrimaryButton-Bjn3n3t2.js";import{T as n}from"./TextInput-YH4SiJD7.js";function b(){const{data:a,setData:r,post:l,processing:i,errors:o,reset:d}=c({name:"",email:"",phone:"",password:"",password_confirmation:""}),u=s=>{s.preventDefault(),l(route("register"),{onFinish:()=>d("password","password_confirmation")})};return e.jsxs(f,{children:[e.jsx(p,{title:"Register"}),e.jsxs("form",{onSubmit:u,children:[e.jsxs("div",{children:[e.jsx(m,{htmlFor:"name",value:"Name"}),e.jsx(n,{id:"name",name:"name",value:a.name,className:"mt-1 block w-full",autoComplete:"name",isFocused:!0,onChange:s=>r("name",s.target.value),required:!0}),e.jsx(t,{message:o.name,className:"mt-2"})]}),e.jsxs("div",{className:"mt-4",children:[e.jsx(m,{htmlFor:"email",value:"Email"}),e.jsx(n,{id:"email",type:"email",name:"email",value:a.email,className:"mt-1 block w-full",autoComplete:"username",onChange:s=>r("email",s.target.value),required:!0}),e.jsx(t,{message:o.email,className:"mt-2"})]}),e.jsxs("div",{className:"mt-4",children:[e.jsx(m,{htmlFor:"phone",value:"Phone"}),e.jsx(n,{id:"phone",type:"tel",name:"phone",value:a.phone,className:"mt-1 block w-full",autoComplete:"tel",onChange:s=>r("phone",s.target.value),required:!0}),e.jsx(t,{message:o.phone,className:"mt-2"})]}),e.jsxs("div",{className:"mt-4",children:[e.jsx(m,{htmlFor:"password",value:"Password"}),e.jsx(n,{id:"password",type:"password",name:"password",value:a.password,className:"mt-1 block w-full",autoComplete:"new-password",onChange:s=>r("password",s.target.value),required:!0}),e.jsx(t,{message:o.password,className:"mt-2"})]}),e.jsxs("div",{className:"mt-4",children:[e.jsx(m,{htmlFor:"password_confirmation",value:"Confirm Password"}),e.jsx(n,{id:"password_confirmation",type:"password",name:"password_confirmation",value:a.password_confirmation,className:"mt-1 block w-full",autoComplete:"new-password",onChange:s=>r("password_confirmation",s.target.value),required:!0}),e.jsx(t,{message:o.password_confirmation,className:"mt-2"})]}),e.jsxs("div",{className:"flex items-center justify-end mt-4",children:[e.jsx(x,{href:route("login"),className:"underline text-sm text-gray-600 hover:text-gray-900 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500",children:"Already registered?"}),e.jsx(h,{className:"ms-4",disabled:i,children:"Register"})]})]})]})}export{b 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.