import{_ as k}from"./CSv7hpo5.js";import{R as v,aM as w,a2 as x,T as g,F as _,a3 as C,c as a,_ as I,Z as o,r as c,Y as t,aC as f,U as s,aL as T,W as D,aD as P,X as V,a0 as U,$ as p,J as b}from"./C0u2Lk3h.js";import{l as L}from"./D3Ia18PY.js";import{a as $,b as B}from"./CewcwZMD.js";import{a as M,V as m,b as S}from"./DSEcO8b-.js";import{a as j,V as u}from"./M3HjjlDm.js";import{a as A}from"./DesO6ExF.js";import{V as y}from"./CHrTZ85L.js";import"./CCmxpPjt.js";/* empty css        */const F=v({__name:"AuthProvider",setup(h){const{global:l}=w(),d=[{icon:"bxl-facebook",color:"#4267b2",colorInDark:"#4267b2"},{icon:"bxl-twitter",color:"#1da1f2",colorInDark:"#1da1f2"},{icon:"bxl-github",color:"#272727",colorInDark:"#fff"},{icon:"bxl-google",color:"#db4437",colorInDark:"#db4437"}];return(r,e)=>(g(),x(_,null,C(d,i=>a(I,{key:i.icon,icon:i.icon,variant:"text",color:o(l).name.value==="dark"?i.colorInDark:i.color},null,8,["icon","color"])),64))}}),N={class:"auth-wrapper d-flex align-center justify-center pa-4"},E={class:"position-relative my-sm-16"},H=["innerHTML"],J={class:"d-flex align-center my-6"},Q=v({__name:"register",setup(h){const l=c({username:"",email:"",password:"",privacyPolicies:!1}),d=c(!1);return(r,e)=>{const i=k;return g(),x("div",N,[t("div",E,[a(f,{src:o($),class:"text-primary auth-v1-top-shape d-none d-sm-block"},null,8,["src"]),a(f,{src:o(B),class:"text-primary auth-v1-bottom-shape d-none d-sm-block"},null,8,["src"]),a(D,{class:T(["auth-card",r.$vuetify.display.smAndUp?"pa-6":"pa-0"]),"max-width":"460"},{default:s(()=>[a(P,{class:"justify-center"},{default:s(()=>[a(i,{to:"/",class:"app-logo"},{default:s(()=>[t("div",{class:"d-flex",innerHTML:o(L)},null,8,H),e[6]||(e[6]=t("h1",{class:"app-logo-title"}," sneat ",-1))]),_:1})]),_:1}),a(V,null,{default:s(()=>[...e[7]||(e[7]=[t("h4",{class:"text-h4 mb-1"}," Adventure starts here 🚀 ",-1),t("p",{class:"mb-0"}," Make your app management easy and fun! ",-1)])]),_:1}),a(V,null,{default:s(()=>[a(M,{onSubmit:e[5]||(e[5]=U(n=>r.$router.push("/"),["prevent"]))},{default:s(()=>[a(j,null,{default:s(()=>[a(u,{cols:"12"},{default:s(()=>[a(m,{id:("useId"in r?r.useId:o(p))(),modelValue:o(l).username,"onUpdate:modelValue":e[0]||(e[0]=n=>o(l).username=n),autofocus:"",label:"Username",placeholder:"Johndoe"},null,8,["id","modelValue"])]),_:1}),a(u,{cols:"12"},{default:s(()=>[a(m,{id:("useId"in r?r.useId:o(p))(),modelValue:o(l).email,"onUpdate:modelValue":e[1]||(e[1]=n=>o(l).email=n),label:"Email",type:"email",placeholder:"johndoe@email.com"},null,8,["id","modelValue"])]),_:1}),a(u,{cols:"12"},{default:s(()=>[a(m,{id:("useId"in r?r.useId:o(p))(),modelValue:o(l).password,"onUpdate:modelValue":e[2]||(e[2]=n=>o(l).password=n),label:"Password",autocomplete:"password",placeholder:"············",type:o(d)?"text":"password","append-inner-icon":o(d)?"bx-hide":"bx-show","onClick:appendInner":e[3]||(e[3]=n=>d.value=!o(d))},null,8,["id","modelValue","type","append-inner-icon"]),t("div",J,[a(A,{id:"privacy-policy",modelValue:o(l).privacyPolicies,"onUpdate:modelValue":e[4]||(e[4]=n=>o(l).privacyPolicies=n),inline:""},null,8,["modelValue"]),a(S,{for:"privacy-policy",style:{opacity:"1"}},{default:s(()=>[...e[8]||(e[8]=[t("span",{class:"me-1 text-high-emphasis"},"I agree to",-1),t("a",{href:"javascript:void(0)",class:"text-primary"},"privacy policy & terms",-1)])]),_:1})]),a(I,{block:"",type:"submit"},{default:s(()=>[...e[9]||(e[9]=[b(" Sign up ",-1)])]),_:1})]),_:1}),a(u,{cols:"12",class:"text-center text-base"},{default:s(()=>[e[11]||(e[11]=t("span",null,"Already have an account?",-1)),a(i,{class:"text-primary ms-1",to:"/login"},{default:s(()=>[...e[10]||(e[10]=[b(" Sign in instead ",-1)])]),_:1})]),_:1}),a(u,{cols:"12",class:"d-flex align-center"},{default:s(()=>[a(y),e[12]||(e[12]=t("span",{class:"mx-4"},"or",-1)),a(y)]),_:1}),a(u,{cols:"12",class:"text-center"},{default:s(()=>[a(F)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["class"])])])}}});export{Q as default};
