PageSourceSearch

https://www.mtcxx.com/build/assets/Register-Dd8oEFz9.js

js mtcxx.com collected 2026-10-03 00:57:45 UTC 3,888 bytes, 1 lines download raw bytes

1import{T as p,d as f,b as e,u as o,w as l,F as _,o as c,Z as w,a,f as d,e as y,i as v,n as k,h as x}from"./app-BXvF3HYt.js";import{A as h}from"./AuthenticationCard-L6YBIvWM.js";import{_ as V}from"./AuthenticationCardLogo-DAy827OA.js";import{_ as b}from"./Checkbox-BdtpTvw3.js";import{_ as u,a as i}from"./TextInput-CN_jo65B.js";import{_ as n}from"./InputLabel-DZhBJ_Kg.js";import{_ as $}from"./PrimaryButton-D8zZyiff.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./cover-C7FPToGY.js";const P={class:"mt-4"},q={class:"mt-4"},C={class:"mt-4"},N={key:0,class:"mt-4"},U={class:"flex items-center"},A={class:"ml-2"},F=["href"],T=["href"],B={class:"flex items-center justify-end mt-4"},H={__name:"Register",setup(R){const s=p({name:"",email:"",password:"",password_confirmation:"",terms:!1}),g=()=>{s.post(route("register"),{onFinish:()=>s.reset("password","password_confirmation")})};return(m,r)=>(c(),f(_,null,[e(o(w),{title:"Register"}),e(h,null,{logo:l(()=>[e(V)]),default:l(()=>[a("form",{onSubmit:x(g,["prevent"])},[a("div",null,[e(n,{for:"name",value:"Name"}),e(u,{id:"name",modelValue:o(s).name,"onUpdate:modelValue":r[0]||(r[0]=t=>o(s).name=t),type:"text",class:"mt-1 block w-full",required:"",autofocus:"",autocomplete:"name"},null,8,["modelValue"]),e(i,{class:"mt-2",message:o(s).errors.name},null,8,["message"])]),a("div",P,[e(n,{for:"email",value:"Email"}),e(u,{id:"email",modelValue:o(s).email,"onUpdate:modelValue":r[1]||(r[1]=t=>o(s).email=t),type:"email",class:"mt-1 block w-full",required:"",autocomplete:"username"},null,8,["modelValue"]),e(i,{class:"mt-2",message:o(s).errors.email},null,8,["message"])]),a("div",q,[e(n,{for:"password",value:"Password"}),e(u,{id:"password",modelValue:o(s).password,"onUpdate:modelValue":r[2]||(r[2]=t=>o(s).password=t),type:"password",class:"mt-1 block w-full",required:"",autocomplete:"new-password"},null,8,["modelValue"]),e(i,{class:"mt-2",message:o(s).errors.password},null,8,["message"])]),a("div",C,[e(n,{for:"password_confirmation",value:"Confirm Password"}),e(u,{id:"password_confirmation",modelValue:o(s).password_confirmation,"onUpdate:modelValue":r[3]||(r[3]=t=>o(s).password_confirmation=t),type:"password",class:"mt-1 block w-full",required:"",autocomplete:"new-password"},null,8,["modelValue"]),e(i,{class:"mt-2",message:o(s).errors.password_confirmation},null,8,["message"])]),m.$page.props.jetstream.hasTermsAndPrivacyPolicyFeature?(c(),f("div",N,[e(n,{for:"terms"},{default:l(()=>[a("div",U,[e(b,{id:"terms",checked:o(s).terms,"onUpdate:checked":r[4]||(r[4]=t=>o(s).terms=t),name:"terms",required:""},null,8,["checked"]),a("div",A,[r[5]||(r[5]=d(" I agree to the ")),a("a",{target:"_blank",href:m.route("terms.show"),class:"underline text-sm text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:focus:ring-offset-gray-800"},"Terms of Service",8,F),r[6]||(r[6]=d(" and ")),a("a",{target:"_blank",href:m.route("policy.show"),class:"underline text-sm text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:focus:ring-offset-gray-800"},"Privacy Policy",8,T)])]),e(i,{class:"mt-2",message:o(s).errors.terms},null,8,["message"])]),_:1})])):y("",!0),a("div",B,[e(o(v),{href:m.route("login"),class:"underline text-sm text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:focus:ring-offset-gray-800"},{default:l(()=>r[7]||(r[7]=[d(" Already registered? ")])),_:1},8,["href"]),e($,{class:k(["ml-4",{"opacity-25":o(s).processing}]),disabled:o(s).processing},{default:l(()=>r[8]||(r[8]=[d(" Register ")])),_:1},8,["class","disabled"])])],32)]),_:1})],64))}};export{H 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.