HEX
Server: nginx/1.28.3
System: Linux lightweb-s1 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64
User: drdrivek-71 (1047)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: /home/dnlightw-124/dn.lightweb.kr/public/build/assets/Register-DaJZDmOh.js
import{d as h,O as w,z as d,I as n,A as s,G as i,H as b,C as r,E as e,V as g,W as m,y as c,R as p,X as u,Y as y,N as k}from"./runtime-dom.esm-bundler-COsyWSZ4.js";import{_ as v}from"./AuthLayout.vue_vue_type_script_setup_true_lang-C3y-51ej.js";import{T as V,i as _}from"./index.esm2017-BwYSbQyX.js";import{_ as a}from"./translate-DYDKMDxs.js";import"./assets-Cpj_8Xu4.js";const C={class:"mb-4"},N={for:"name",class:"block text-sm font-medium mb-1 text-white"},E=["placeholder"],U={key:0,class:"text-sm text-red-600 mt-2"},B={class:"mb-4"},P={for:"email",class:"block text-sm font-medium mb-1 text-white"},T=["placeholder"],Y={key:0,class:"text-sm text-red-600 mt-2"},z={class:"mb-4"},M={for:"password",class:"block text-sm font-medium mb-1 text-white"},R=["placeholder"],S={key:0,class:"text-sm text-red-600 mt-2"},A={class:"mb-4"},D={for:"password_confirmation",class:"block text-sm font-medium mb-1 text-white"},I=["placeholder"],F={class:"mb-4"},G={class:"flex items-center"},H={class:"ms-2 text-sm text-white"},L={key:0,class:"text-sm text-red-600 mt-2"},O={class:"mb-0 text-center"},W=["disabled"],X={class:"shrink text-center text-zinc-200"},Z=h({__name:"Register",setup($){const o=V({name:"",email:"",password:"",password_confirmation:"",terms:!1}),x=()=>{o.post(route("register"),{onFinish:()=>o.reset("password","password_confirmation")})};return(f,t)=>(d(),w(v,null,{form:n(()=>[s("form",{onSubmit:g(x,["prevent"])},[s("div",C,[s("label",N,[i(r(e(a)("Your Name"))+" ",1),t[5]||(t[5]=s("small",null,"*",-1))]),m(s("input",{type:"text",id:"name","onUpdate:modelValue":t[0]||(t[0]=l=>e(o).name=l),class:"py-2 px-4 leading-6 block w-full border-gray-300 rounded text-sm focus:border-gray-300 focus:ring-0",placeholder:e(a)("Your Name")},null,8,E),[[u,e(o).name]]),e(o).errors.name?(d(),c("div",U,r(e(o).errors.name),1)):p("",!0)]),s("div",B,[s("label",P,[i(r(e(a)("Email"))+" ",1),t[6]||(t[6]=s("small",null,"*",-1))]),m(s("input",{type:"email",id:"email","onUpdate:modelValue":t[1]||(t[1]=l=>e(o).email=l),class:"py-2 px-4 leading-6 block w-full border-gray-300 rounded text-sm focus:border-gray-300 focus:ring-0",placeholder:e(a)("Your Email")},null,8,T),[[u,e(o).email]]),e(o).errors.email?(d(),c("div",Y,r(e(o).errors.email),1)):p("",!0)]),s("div",z,[s("label",M,[i(r(e(a)("Password"))+" ",1),t[7]||(t[7]=s("small",null,"*",-1))]),m(s("input",{type:"password",id:"password","onUpdate:modelValue":t[2]||(t[2]=l=>e(o).password=l),class:"py-2 px-4 leading-6 block w-full border-gray-300 rounded text-sm focus:border-gray-300 focus:ring-0",placeholder:e(a)("Enter your password")},null,8,R),[[u,e(o).password]]),e(o).errors.password?(d(),c("div",S,r(e(o).errors.password),1)):p("",!0)]),s("div",A,[s("label",D,[i(r(e(a)("Confirm Password"))+" ",1),t[8]||(t[8]=s("small",null,"*",-1))]),m(s("input",{type:"password",id:"password_confirmation","onUpdate:modelValue":t[3]||(t[3]=l=>e(o).password_confirmation=l),class:"py-2 px-4 leading-6 block w-full border-gray-300 rounded text-sm focus:border-gray-300 focus:ring-0",placeholder:e(a)("Confirm your password")},null,8,I),[[u,e(o).password_confirmation]])]),s("div",F,[s("label",G,[m(s("input",{type:"checkbox","onUpdate:modelValue":t[4]||(t[4]=l=>e(o).terms=l),class:"rounded border-gray-300 text-indigo-600 shadow-sm focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50"},null,512),[[y,e(o).terms]]),s("span",H,[i(r(e(a)("I agree to the"))+" ",1),b(e(_),{href:f.route("terms.show"),class:"text-[#fa681b] hover:text-[#fa681b]-dark"},{default:n(()=>[i(r(e(a)("Terms of Service")),1)]),_:1},8,["href"]),i(" "+r(e(a)("and"))+" ",1),b(e(_),{href:f.route("policy.show"),class:"text-[#fa681b] hover:text-[#fa681b]-dark"},{default:n(()=>[i(r(e(a)("Privacy Policy")),1)]),_:1},8,["href"])])]),e(o).errors.terms?(d(),c("div",L,r(e(o).errors.terms),1)):p("",!0)]),s("div",O,[s("button",{class:k(["w-full bg-[#fa681b] text-white font-medium leading-6 text-center align-middle select-none py-2 px-4 text-base rounded-md transition-all hover:shadow-lg hover:shadow-aero-page-primary/30",{"opacity-25":e(o).processing}]),disabled:e(o).processing,type:"submit"},r(e(a)("Register")),11,W)])],32)]),"bottom-link":n(()=>[s("p",X,[i(r(e(a)("Already have an account?"))+" ",1),b(e(_),{href:f.route("login"),class:"ms-1 text-[#fa681b]"},{default:n(()=>[s("b",null,r(e(a)("Login")),1)]),_:1},8,["href"])])]),_:1}))}});export{Z as default};