import{j as r,P as f,a as h}from"./index-Bsr9DJ3G.js";import{u as U,r as d}from"./vendor-DJo4KD8w.js";import{u as k,L as H}from"./routing-DCIgrT7s.js";import{C as b}from"./CookiePreferences-CPbRK2Nf.js";import{K as x}from"./privacy-CZ8NTWnp.js";import{r as y,L as A}from"./routing-D4iNsc7y.js";import{u as L}from"./i18n-BbpF47i1.js";import"./XMarkIcon-KMKD47CF.js";function S(){const{t:n}=L(),o=(t,e)=>n(`AuthSignUp.${t}`,e),c=(t,e)=>n(`Footer.${t}`,e),i=(t,e)=>n(`Navigation.${t}`,e),s=(t,e)=>n(`Home.${t}`,e),[p]=U(),m=k(),a=d.useContext(x),l=p.get("callbackUrl")??"/auth/welcome",u=async()=>{m.push(`/auth/connect?callbackUrl=${encodeURIComponent(l)}`)},g={pageTitle:o("pageTitle"),signUpPrompt:o("signUpPrompt"),signUpWithGoogle:o("signUpWithGoogle"),creatingAccount:o("creatingAccount"),approvedDomainsInfo:o("approvedDomainsInfo"),termsAgreement:o("termsAgreement"),alreadyHaveAccount:o("alreadyHaveAccount"),tagline:s("tagline"),backToHome:o("backToHome")};return r.jsx(f,{Link:A,routes:y,t:c,tNav:i,tHome:s,CookiePreferences:b,...(a==null?void 0:a.openKeyboardHelp)&&{onOpenKeyboardHelp:a.openKeyboardHelp},className:"semiont-page-layout--auth",showAuthLinks:!1,children:r.jsx(h,{onSignUp:u,Link:H,translations:g})})}function I(){return r.jsx(S,{})}export{I as default};
//# sourceMappingURL=page-BkEdFy5p.js.map
