1import{D as S,S as A,F as I,N as x,J as $,K as k,dr as b,k as p,l as g,w as n,G as o,V as t,n as r,a5 as v,q as a,a6 as s,W as w,a1 as C,bl as U,a4 as N}from"#entry";import{_ as V}from"./B-zaufy2.js";const B={class:"text-2xl font-bold text-center"},D={class:"space-y-6"},G={class:"text-center space-y-2"},T={class:"text-gray-600 dark:text-gray-400"},W={class:"text-center text-sm"},j={class:"text-center text-xs text-gray-500 dark:text-gray-400"},O=S({__name:"signup",setup(E){const i=A(),{errors:c,loading:d}=I(i),{t:F}=x();$({title:"Sign Up - Create Your Snapgen AI Account",description:"Join Snapgen AI today and start creating amazing content with AI. Sign up for free access to image generation, video creation, and text-to-speech tools.",ogTitle:"Create Account - Snapgen AI",ogDescription:"Start your AI content creation journey. Sign up for free and access powerful AI tools for images, videos, and speech generation.",keywords:"sign up, create account, Snapgen AI registration, free AI tools, join Snapgen",robots:"noindex, nofollow"}),k({script:[{type:"application/ld+json",innerHTML:JSON.stringify({"@context":"https://schema.org","@type":"WebPage",name:"Sign Up - Snapgen AI",description:"User registration page for Snapgen AI platform",mainEntity:{"@type":"WebApplication",name:"Snapgen AI",description:"AI content generation platform",offers:{"@type":"Offer",price:"0",priceCurrency:"USD",description:"Free account registration"}}})}]});const{isReady:u,login:m}=b({onSuccess:e=>i.signInWithGoogle(e,""),onError:i.signInError});return(e,H)=>{const _=w,f=v,y=V,l=U,h=N;return p(),g(h,{class:"max-w-lg w-full"},{header:n(()=>[o("h1",B,t(e.$t("auth.createAccount")),1)]),default:n(()=>[o("div",D,[o("div",G,[o("p",T,t(e.$t("Currently, you can only create an account via Google Mail.")),1)]),r(f,{block:"",size:"lg",variant:"solid",color:"primary",disabled:!a(u),loading:a(d),onClick:a(m)},{leading:n(()=>[r(_,{name:"i-simple-icons-google",class:"w-5 h-5"})]),default:n(()=>[s(" "+t(e.$t("Register with Google")),1)]),_:1},8,["disabled","loading","onClick"]),a(c).signup?(p(),g(y,{key:0,variant:"subtle",color:"error",icon:"i-lucide-info",title:e.$t(a(c).signup?.error_code||"auth.loginFailed")},null,8,["title"])):C("",!0),o("div",W,[s(t(e.$t("auth.alreadyHaveAccount"))+" ",1),r(l,{to:"/auth/login",class:"text-primary font-medium"},{default:n(()=>[s(t(e.$t("auth.login")),1)]),_:1})]),o("div",j,[s(t(e.$t("auth.bySigningUp"))+" ",1),r(l,{to:"/terms",class:"text-primary font-medium",target:"_blank"},{default:n(()=>[s(t(e.$t("auth.termsOfService")),1)]),_:1})])])]),_:1})}}});
1export{O 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.