1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1939],{79126:function(e,r,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/sponsors/signup",function(){return n(64520)}])},16915:function(e,r,n){"use strict";var o=n(85893),s=n(29615),t=n(40025),i=n(90435),a=n(85060),l=n(32761),p=n(13526),d=n(73512),x=n(79934),u=(n(24835),n(77803)),c=n(49246),g=n(59085),h=n(9134),m=n(34052),b=n(11163),f=n(67421),j=n(9473),w=n(67294),C=n(27885),v=n(25156),F=n(43205),y=n(89748),S=n(71984),E=n(73251),k=n(4076);let P=e=>!!e&&!0===e.isSponsor;r.Z=e=>{let{showLanguageSelector:r=!0}=e,{t:n}=(0,f.$G)(["translation","sponsors"]),R=(0,b.useRouter)(),{user:_}=(0,k.aC)(),B=(0,j.v9)(e=>e.profile.current),[z,T]=(0,w.useState)(!1),D=P(_)?_:null,N=D?"".concat(D.firstName," ").concat(D.lastName):"",W=(0,o.jsxs)(s.U,{gap:"6px",color:"#080D3F",children:[(0,o.jsx)(m.RsK,{size:20}),(0,o.jsx)(C.S,{})]}),U=[{label:n("navbar.logout"),href:"/accounts/logout?next=/sponsors",icon:(0,o.jsx)(y.Z,{bgColor:"#FFFFFF",color:"#39405D"})}],Z=(0,o.jsxs)(s.U,{gap:{base:"12px",md:"22px"},flexWrap:"wrap",justify:"flex-end",children:[r&&W,!!D&&(0,o.jsxs)(t.z,{bg:"#F6F3FF",color:"#541269",border:"1px solid",borderColor:"#D7C9F8",borderRadius:"6px",h:"46px",px:"18px",fontWeight:"700",gap:"10px",onClick:()=>{let{language:e}=R.query;R.push({pathname:"/sponsors/my-activity",..."string"==typeof e?{query:{language:e}}:{}})},children:[(0,o.jsx)(m.ggF,{size:18}),n("myActivity",{ns:"sponsors"})]}),D?(0,o.jsxs)(i.Pg,{positioning:{placement:"bottom-end"},children:[(0,o.jsx)(i.xo,{children:(0,o.jsx)(a.h,{"aria-label":N||n("profile.title"),borderWidth:(null==B?void 0:B.profileImg)?"2px":"0px",borderColor:"#4a5568",borderRadius:"full",bg:"none",_hover:{bg:"none"},children:(null==B?void 0:B.profileImg)?(0,o.jsx)(v.Z,{alt:"Profile image",src:B.profileImg,width:"35px",height:"35px",sizes:"35px",objectFit:"cover",borderRadius:"full"}):(0,o.jsx)(E.Z,{})})}),(0,o.jsx)(i.Nu,{children:(0,o.jsx)(i.yk,{w:"248px",p:"8px",children:U.map(e=>(0,o.jsxs)(F.Z,{href:e.href,display:"flex",alignItems:"center",gap:"10px",fontSize:"16px",color:"#39405D",fontWeight:"500",p:"12px",borderRadius:"6px",_hover:{textDecoration:"none"},children:[e.icon,e.label]},e.label))})})]}):(0,o.jsxs)(s.U,{display:{base:"none",xl:"flex"},children:[(0,o.jsx)(F.Z,{href:"/sponsors/login?next=/sponsors",style:{textDecoration:"none"},children:(0,o.jsx)(t.z,{bg:"white",color:"#541269",children:n("navbar.login")})}),(0,o.jsx)(F.Z,{href:"/sponsors/signup",style:{textDecoration:"none"},children:(0,o.jsx)(t.z,{bg:"#541269",color:"white",children:n("navbar.signup")})})]})]});return(0,o.jsx)(l.x,{children:(0,o.jsxs)(p.k,{bg:"white",minH:"74px",py:2,px:{base:4,md:8},borderBottom:"1px solid",borderColor:"#E2E5EF",align:"center",justify:"space-between",gap:"18px",children:[(0,o.jsx)(s.U,{hideFrom:"xl",children:(0,o.jsxs)(d.jz,{size:{base:"xs",sm:"sm"},placement:"start",open:z,onOpenChange:e=>T(e.open),children:[(0,o.jsx)(d.Qz,{asChild:!0,children:(0,o.jsx)(a.h,{variant:"ghost","aria-label":"Toggle Navigation",children:(0,o.jsx)(m.cur,{size:22})})}),(0,o.jsxs)(x.h,{children:[(0,o.jsx)(d.r3,{}),(0,o.jsx)(d.YC,{children:(0,o.jsxs)(d.sc,{pt:"18px",children:[(0,o.jsxs)(d.OX,{display:"flex",alignItems:"center",justifyContent:"space-between",children:[(0,o.jsx)(F.Z,{href:"/",style:{textDecoration:"none"},children:(0,o.jsxs)(s.U,{gap:"8px",align:"center",children:[(0,o.jsx)(S.Z,{height:"34px",width:"auto"}),null]})}),(0,o.jsx)(d._t,{asChild:!0,children:(0,o.jsx)(u.P,{})})]}),(0,o.jsx)(d.Ng,{children:(0,o.jsxs)(c.K,{gap:"18px",align:"start",children:[r&&W,D&&(0,o.jsxs)(g.g,{align:"start",gap:"4px",pt:"8px",children:[(0,o.jsx)(h.x,{color:"#080D3F",fontWeight:"800",children:N}),(0,o.jsx)(F.Z,{href:"/accounts/logout?next=/sponsors",color:"#39405D",children:n("navbar.logout")})]})]})})]})})]})]})}),(0,o.jsx)(F.Z,{href:"/",style:{textDecoration:"none"},children:(0,o.jsxs)(s.U,{gap:"8px",align:"center",children:[(0,o.jsx)(S.Z,{height:"34px",width:"auto"}),null]})}),(0,o.jsx)(l.x,{display:{base:"none",xl:"block"},children:Z}),(0,o.jsx)(s.U,{hideFrom:"xl",gap:"8px",children:(0,o.jsx)(m.bTu,{color:"#080D3F"})})]})})}},94877:function(e,r,n){"use strict";var o=n(85893),s=n(99553),t=n(39478);r.Z=e=>{let{placeholder:r,options:n,formatOptionLabel:i,controlWidth:a,menuListWidth:l,...p}=e,d=(0,t.S)({base:"12px"});return(0,o.jsx)(s.Ph,{style:{"--focus-color":"#9627BB"},cursor:"pointer",options:n,placeholder:r,chakraStyles:{control:(e,r)=>({...e,borderColor:r.isFocused?"#9627BB":e.borderColor,"&:focus":{borderColor:"#9627BB"},fontSize:d,fontWeight:"400",color:"#39405D",cursor:"pointer",bgColor:"#FFFFFF",width:a}),singleValue:e=>({...e,fontWeight:"400",fontSize:d}),option:(e,r)=>({...e,backgroundColor:r.isFocused?"#ECEAF7":"#FFFFFF",color:"#39405D",fontSize:d,fontWeight:"400",padding:"10px",borderBottom:"1px solid #8D9EB2"}),menu:e=>({...e,focusBorderColor:"#9627BB",borderRadius:"1px",boxShadow:"lg",width:l}),menuList:e=>({...e,focusBorderColor:"#9627BB",padding:"0px",width:l,borderColor:"#8D9EB2","&::-webkit-scrollbar":{width:"2px"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:"#171923",height:"34px"}}),dropdownIndicator:e=>({...e,backgroundColor:"#FFFFFF",padding:"8px",color:"#8D9EB2"}),indicatorSeparator:e=>({...e,display:"none"})},formatOptionLabel:i,...p})}},91356:function(e,r,n){"use strict";n.d(r,{W:function(){return x}});var o=n(85893),s=n(2890),t=n(5866),i=n(98559),a=n(21401),l=n(85060),p=n(67294),d=n(43982);let x=p.forwardRef(function(e,r){let{rootProps:n,defaultVisible:l,visible:x,onVisibleChange:c,visibilityIcon:g={on:(0,o.jsx)(d.Lr9,{}),off:(0,o.jsx)(d.Oe3,{})},...h}=e,[m,b]=(0,s.T)({value:x,defaultValue:l||!1,onChange:c}),f=p.useRef(null);return(0,o.jsx)(t.B,{endElement:(0,o.jsx)(u,{disabled:h.disabled,onPointerDown:e=>{h.disabled||0!==e.button||(e.preventDefault(),b(!m))},children:m?g.off:g.on}),...n,children:(0,o.jsx)(i.I,{...h,ref:(0,a.l)(r,f),type:m?"text":"password"})})}),u=p.forwardRef(function(e,r){return(0,o.jsx)(l.h,{tabIndex:-1,ref:r,me:"-2",aspectRatio:"square",size:"sm",variant:"ghost",height:"calc(100% - {spacing.2})","aria-label":"Toggle password visibility",...e})})},56191:function(e,r,n){"use strict";n.d(r,{C:function(){return l},K:function(){return a}});var o=n(48966),s=n.n(o),t=n(83868),i=n.n(t);let a=e=>!s().isStrongPassword(e,{minLength:8,minLowercase:1,minUppercase:1,minNumbers:1,minSymbols:0}),l=e=>!i()(e)},61794:function(e,r,n){"use strict";n.d(r,{F:function(){return x},J:function(){return d}});var o=n(9669),s=n.n(o),t=n(18975),i=n(6655),a=n(41086);t.registerLocale(i),t.registerLocale(a);let l="".concat("https://api.slicetoken.io/api","/")+"countries",p=async(e,r)=>{let n;try{n={data:(await s().get(e,{params:r})).data}}catch(e){e.response?(console.log(e.response),n={error:"Error "+e.response.status,message:e.response.statusText}):e.request?(console.log(e.request),n={error:e.request}):(console.log("Error",e.message),n={error:e.message})}return n},d=async()=>p(l),x=(e,r)=>t.getName(null==e?void 0:e.toUpperCase(),r)||"-"},64520:function(e,r,n){"use strict";n.r(r),n.d(r,{default:function(){return G}});var o=n(85893),s=n(67294),t=n(13526),i=n(22297),a=n(9134),l=n(32761),p=n(98559),d=n(49246),x=n(29615),u=n(9410),c=n(40025),g=n(34052),h=n(2914),m=n(67421),b=n(34853),f=n(5633),j=n.n(f),w=n(92324),C=n(59154),v=n(55178);function F(){var e=(0,v.Z)(arguments),r=e.text,n=e.options,o=e.metadata;return(0,C.Z)(r,n,o)}var y=n(6898),S=n(5559),E=n(16915),k=n(51411),P=n(43205),R=n(4076),_=n(56191),B=n(91356),z=n(55418),T=n(94877),D=n(61794);let N={ink:"#080D3F",muted:"#3B4166",line:"#E1E5EF",purple:"#541269",purpleText:"#9627BB",fieldText:"#697196"},W={h:"40px",borderRadius:"7px",border:"1px solid",borderColor:N.line,color:N.ink,fontSize:"12px",px:"12px",_placeholder:{color:N.fieldText,fontSize:"12px"},_focus:{borderColor:N.purpleText,boxShadow:"0 0 0 1px #9627BB"}},U="".concat("https://api.slicetoken.io/api","/sponsors/register/"),Z=e=>e&&"object"==typeof e?Object.entries(e).map(e=>{let[r,n]=e;return Array.isArray(n)?"".concat(r,": ").concat(n.join(", ")):"string"==typeof n?"".concat(r,": ").concat(n):"".concat(r,": ").concat(JSON.stringify(n))}).join("\n"):"Please review the form and try again.",L=e=>e.replace(/[^\d]/g,""),q=(e,r)=>{let n=e.trim();return n?"instagram"===r&&n.startsWith("@")?"https://instagram.com/".concat(n.slice(1)):/^https?:\/\//i.test(n)?n:"https://".concat(n):""},A=["firstName","lastName","email","phone","password","confirmPassword","jobTitle","companyName","companyWebsite","instagramProfile"],I=A.reduce((e,r)=>({...e,[r]:""}),{}),O=e=>{let{number:r,title:n}=e;return(0,o.jsxs)(t.k,{align:"center",gap:"14px",mb:"26px",children:[(0,o.jsx)(t.k,{align:"center",justify:"center",w:"32px",h:"32px",borderRadius:"full",bg:"linear-gradient(145deg, ".concat(N.purpleText,", ").concat(N.purple,")"),color:"white",fontSize:"14px",fontWeight:"900",boxShadow:"0 10px 22px rgba(84, 18, 105, 0.22)",children:r}),(0,o.jsx)(i.X,{as:"h2",fontSize:{base:"19px",md:"22px"},color:N.ink,lineHeight:"1.1",children:n})]})},H=e=>{let{children:r,required:n=!1}=e;return(0,o.jsxs)(a.x,{color:N.ink,fontSize:"13px",fontWeight:"800",mb:"8px",children:[r," ",n&&(0,o.jsx)(l.x,{as:"span",color:"#EB0000",children:"*"})]})},K=e=>{let{label:r,placeholder:n,required:s,helper:i,icon:d,name:x,id:u,autoComplete:c,type:g,value:h,onChange:m,invalid:b,errorText:f}=e;return(0,o.jsxs)(l.x,{children:[(0,o.jsx)(H,{required:s,children:r}),(0,o.jsxs)(l.x,{position:"relative",children:[(0,o.jsx)(p.I,{...W,id:u,name:x,autoComplete:c,type:g,value:h,onChange:m?e=>m(e.target.value):void 0,placeholder:n,pr:d?"44px":void 0,borderColor:b?"#E53E3E":W.borderColor}),d&&(0,o.jsx)(t.k,{position:"absolute",right:"16px",top:"50%",transform:"translateY(-50%)",color:N.fieldText,children:d})]}),b&&f&&(0,o.jsx)(a.x,{color:"#C53030",fontSize:"12px",lineHeight:"1.45",mt:"8px",children:f}),i&&(0,o.jsx)(a.x,{color:N.muted,fontSize:"12px",lineHeight:"1.45",mt:"8px",children:i})]})},M=e=>{let{label:r,placeholder:n,required:s,name:t,id:i,autoComplete:a,value:p,onChange:d,invalid:x}=e;return(0,o.jsxs)(l.x,{children:[(0,o.jsx)(H,{required:s,children:r}),(0,o.jsx)(B.W,{...W,id:i,name:t,autoComplete:a,value:p,onChange:d?e=>d(e.target.value):void 0,placeholder:n,borderColor:x?"#E53E3E":W.borderColor,_placeholder:{color:N.fieldText}})]})},X=e=>{let{children:r}=e;return(0,o.jsx)(l.x,{bg:"white",border:"1px solid",borderColor:N.line,borderRadius:"10px",boxShadow:"0 18px 60px rgba(8, 13, 63, 0.035)",p:{base:"22px",md:"30px"},children:r})},J=()=>(0,o.jsxs)(l.x,{position:"relative",w:{base:"230px",md:"320px"},h:{base:"160px",md:"210px"},mx:{base:"auto",lg:"0"},children:[(0,o.jsx)(l.x,{position:"absolute",left:"20px",right:"8px",bottom:"10px",h:"58px",bg:"linear-gradient(180deg, #FFFFFF 0%, #F4F0FF 100%)",border:"1px solid #E6DDF8",borderRadius:"50%",boxShadow:"0 26px 48px rgba(84, 18, 105, 0.18)"}),(0,o.jsx)(l.x,{position:"absolute",right:"4px",top:"14px",w:{base:"155px",md:"210px"},h:{base:"88px",md:"118px"}
1,bg:"rgba(255,255,255,0.78)",border:"2px solid #E2D7F6",borderRadius:"18px",transform:"rotate(7deg)",boxShadow:"0 18px 42px rgba(84, 18, 105, 0.12)",children:(0,o.jsxs)(t.k,{align:"center",h:"100%",px:{base:"18px",md:"26px"},gap:"14px",children:[(0,o.jsx)(t.k,{align:"center",justify:"center",w:{base:"38px",md:"52px"},h:{base:"38px",md:"52px"},borderRadius:"full",bg:"linear-gradient(145deg, #B17AFF, #6F20B8)",color:"white",children:(0,o.jsx)(g.ggF,{size:26})}),(0,o.jsxs)(d.K,{gap:"10px",flex:"1",children:[(0,o.jsx)(l.x,{h:"9px",borderRadius:"full",bg:"#C8A7F3"}),(0,o.jsx)(l.x,{h:"9px",w:"72%",borderRadius:"full",bg:"#DDD1F3"}),(0,o.jsx)(l.x,{h:"9px",w:"52%",borderRadius:"full",bg:"#E8E1F8"})]})]})}),(0,o.jsxs)(l.x,{position:"absolute",left:{base:"28px",md:"46px"},top:{base:"58px",md:"74px"},children:[(0,o.jsx)(l.x,{w:{base:"82px",md:"108px"},h:{base:"72px",md:"92px"},bg:"linear-gradient(145deg, #B585FF, #6A1BB0)",borderRadius:"18px",boxShadow:"0 18px 32px rgba(84, 18, 105, 0.28)"}),(0,o.jsx)(l.x,{position:"absolute",left:"50%",top:{base:"-32px",md:"-42px"},transform:"translateX(-50%)",w:{base:"52px",md:"66px"},h:{base:"52px",md:"66px"},border:"13px solid #8F52D9",borderBottom:"0",borderRadius:"32px 32px 0 0"}),(0,o.jsx)(l.x,{position:"absolute",left:"50%",top:"34px",transform:"translateX(-50%)",w:"13px",h:"28px",bg:"#4D1171",borderRadius:"10px"})]})]});function G(){let{t:e,i18n:r}=(0,m.$G)(["sponsors","auth"]),{loginUser:n}
1=(0,R.aC)(),[f,C]=(0,s.useState)(I),[v,B]=(0,s.useState)([]),[G,V]=(0,s.useState)(null),[Y,$]=(0,s.useState)(null),[Q,ee]=(0,s.useState)(""),[er,en]=(0,s.useState)(""),[eo,es]=(0,s.useState)(""),[et,ei]=(0,s.useState)(""),[ea,el]=(0,s.useState)(""),[ep,ed]=(0,s.useState)(""),[ex,eu]=(0,s.useState)(""),[ec,eg]=(0,s.useState)(""),[eh,em]=(0,s.useState)(""),[eb,ef]=(0,s.useState)(null),[ej,ew]=(0,s.useState)(!1),[eC,ev]=(0,s.useState)(""),eF=(0,s.useRef)(null),ey=z.m.create,eS=v.map(e=>{var r;return{label:(0,o.jsxs)(x.U,{children:[(0,o.jsx)(l.x,{borderRadius:"2px",overflow:"hidden",children:(0,o.jsx)(j(),{width:"20px",code:null===(r=e.iso_alpha2_code)||void 0===r?void 0:r.toLowerCase()})}),(0,o.jsx)(a.x,{children:e.name})]}),value:[e.id,e.name,e.area_code,e.iso_alpha2_code]}}),eE=v.map(e=>{var r;return{label:(0,o.jsxs)(x.U,{children:[(0,o.jsx)(l.x,{borderRadius:"2px",overflow:"hidden",children:(0,o.jsx)(j(),{width:"20px",code:null===(r=e.iso_alpha2_code)||void 0===r?void 0:r.toLowerCase()})}),(0,o.jsxs)(a.x,{children:["(+",e.area_code,")"]}),(0,o.jsx)(a.x,{children:e.name})]}),value:[e.id,e.name,e.area_code,e.iso_alpha2_code]}}),ek=e=>{let r;if(!e||!(null==G?void 0:G.value))return!0;let n=G.value[3],o=L(e);if(!o)return!0;try{r=function(){return(0,w.Z)(F,arguments)}("+".concat(G.value[2]).concat(o))}catch(e){return!0}return!r||!(0,y.y)(r.number,n)},eP=ej||A.some(e=>!f[e].trim())||!(null==G?void 0:G.value)||!(null==Y?void 0:Y.value)||(0,_.C)(eo)||0===et.length||ek(et)||(0,_.K)(ea)||ea!==ep||!eb,eR=async o=>{var s,t;o.preventDefault(),ev("");let i=o.currentTarget,a=new FormData(i),l=String(a.get("firstName")||"").trim(),p=String(a.get("lastName")||"").trim(),d=String(a.get("email")||"").trim().toLowerCase(),x=L(String(a.get("phone")||"")),u=String(a.get("confirmPassword")||""),c=String(a.get("companyName")||"").trim(),g=String(a.get("jobTitle")||"").trim(),h=q(String(a.get("companyWebsite")||""),"website"),m=q(String(a.get("linkedinProfile")||""),"linkedin"),b=q(String(a.get("instagramProfile")||""),"instagram");if(!l||!p){ev(e("signupMissingRequiredFields"));return}if((0,_.C)(d)){ev(e("signUp.emailError",{ns:"auth"}));return}if(ek(et)){ev(e("signUp.phoneError",{ns:"auth"}));return}if((0,_.K)(ea)){ev(e("signUp.passwordError",{ns:"auth"}));return}if(ea!==u){ev(e("signupPasswordMismatch"));return}if(!d||!x||!ea||!u||!c||!g||!h||!b||!(null==G?void 0:G.value)||!(null==Y?void 0:Y.value)||!eb){ev(e("signupMissingRequiredFields"));return}ew(!0);let f=!1;try{let n=await fetch(U,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({first_name:l,last_name:p,username:d,termsAccepted:!0,phone:x,password:ea,password2:u,country_code:G.value[2],countryOfResidence:Y.value[0],languagePreference:r.resolvedLanguage||r.language||"en",captcha:eb,company_name:c,job_title:g,website_url:h,linkedin_profile:m,instagram_profile:b})});if(!n.ok){let e=await n.json().catch(()=>null);throw Error(Z(e))}ev(e("signupSuccessMessage")),ey({title:e("signupSuccessTitle"),description:e("signupSuccessMessage"),type:"success",closable:!0}),i.reset(),C(I),V(null),$(null),ee(""),en(""),es(""),ei(""),el(""),ed(""),eu(""),eg(""),em(""),ef(null),null===(s=eF.current)||void 0===s||s.reset(),f=!0}catch(n){let r=n instanceof Error?n.message:e("signupErrorMessage");ef(null),null===(t=eF.current)||void 0===t||t.reset(),ev(r),ey({title:e("signupErrorTitle"),description:r,type:"error",closable:!0})}finally{ew(!1)}f&&await n(d,ea,!1,{sponsor:!0,redirectTo:"/sponsors",skipEmailVerificationRedirect:!0})};return(0,s.useEffect)(()=>{(0,D.J)().then(e=>{e.error||B(e.data)})},[]),(0,o.jsxs)(k.Z,{children:[(0,o.jsx)(E.Z,{}),(0,o.jsx)(l.x,{bg:"#FBFCFF",color:N.ink,minH:"100vh",py:{base:"34px",md:"52px"},children:(0,o.jsxs)(l.x,{maxW:"1160px",mx:"auto",px:{base:"18px",md:"32px"},children:[(0,o.jsxs)(u.r,{templateColumns:{base:"1fr",lg:"1fr 380px"},gap:{base:"28px",lg:"72px"},alignItems:"center",mb:{base:"32px",md:"44px"},children:[(0,o.jsxs)(l.x,{children:[(0,o.jsx)(i.X,{as:"h1",color:N.ink,fontSize:{base:"30px",md:"42px"},lineHeight:"1.05",mb:"16px",children:e("signupTitle")}),(0,o.jsx)(a.x,{color:N.muted,fontSize:{base:"15px",md:"18px"},lineHeight:"1.5",maxW:"560px",children:e("signupDescription")})]}),(0,o.jsx)(J,{})]}),(0,o.jsxs)(t.k,{mb:{base:"24px",md:"28px"},px:{base:"18px",md:"24px"},py:{base:"16px",md:"18px"},border:"1px solid",borderColor:"#E6DDF8",borderRadius:"10px",bg:"linear-gradient(180deg, #FFFFFF 0%, #FBF8FF 100%)",align:{base:"flex-start",md:"center"},justify:"space-between",gap:"14px",direction:{base:"column",md:"row"},children:[(0,o.jsx)(a.x,{color:N.ink,fontSize:{base:"14px",md:"15px"},fontWeight:"700",children:e("signupExistingAccountPrompt")}),(0,o.jsx)(P.Z,{href:"/sponsors/login",color:N.purpleText,fontWeight:"800",children:e("signupExistingAccountLink")})]}),(0,o.jsx)("form",{onInput:e=>{let r=new FormData(e.currentTarget);C(A.reduce((e,n)=>({...e,[n]:String(r.get(n)||"")}),{}))},onSubmit:eR,children:(0,o.jsxs)(d.K,{gap:"18px",children:[(0,o.jsxs)(X,{children:[(0,o.jsx)(O,{number:"1",title:e("signupBasicInformation")}),(0,o.jsxs)(u.r,{templateColumns:{base:"1fr",md:"repeat(6, 1fr)"},gap:{base:"20px",md:"26px 36px"},children:[(0,o.jsx)(l.x,{gridColumn:{base:"auto",md:"span 2"},children:(0,o.jsx)(K,{label:e("signUp.firstName",{ns:"auth"}),placeholder:e("signUp.firstNamePlaceholder",{ns:"auth"}),required:!0,id:"first-name",name:"firstName",autoComplete:"given-name",value:Q,onChange:ee})}),(0,o.jsx)(l.x,{gridColumn:{base:"auto",md:"span 2"},children:(0,o.jsx)(K,{label:e("signUp.lastName",{ns:"auth"}),placeholder:e("signUp.lastNamePlaceholder",{ns:"auth"}),required:!0,id:"last-name",name:"lastName",autoComplete:"family-name",value:er,onCh
1ange:en})}),(0,o.jsx)(l.x,{gridColumn:{base:"auto",md:"span 2"},children:(0,o.jsx)(K,{label:e("signupWorkEmail"),placeholder:e("signupWorkEmailPlaceholder"),required:!0,helper:e("signupWorkEmailHelper"),id:"work-email",name:"email",autoComplete:"email",type:"email",value:eo,onChange:es,invalid:eo.length>0&&(0,_.C)(eo),errorText:e("signUp.emailError",{ns:"auth"})})}),(0,o.jsx)(l.x,{gridColumn:{base:"auto",md:"span 2"},children:(0,o.jsx)(K,{label:e("signupCompanyName"),placeholder:e("signupCompanyNamePlaceholder"),required:!0,id:"company-name",name:"companyName",autoComplete:"organization"})}),(0,o.jsxs)(l.x,{gridColumn:{base:"auto",md:"span 2"},children:[(0,o.jsx)(H,{required:!0,children:e("signupPhoneCountry")}),(0,o.jsx)(T.Z,{placeholder:e("signupPhoneCountry"),options:eE,value:G,onChange:V,formatOptionLabel:void 0,controlWidth:"100%",menuListWidth:"100%"})]}),(0,o.jsx)(l.x,{gridColumn:{base:"auto",md:"span 2"},children:(0,o.jsx)(K,{label:e("signupPhoneNumber"),placeholder:e("signupPhoneNumberPlaceholder"),required:!0,id:"phone-number",name:"phone",autoComplete:"tel",type:"tel",value:et,onChange:e=>{var r;let n=null==G?void 0:null===(r=G.value)||void 0===r?void 0:r[3];ei(n?new S.R(n).input(e):new S.R().input(e))},invalid:et.length>0&&ek(et),errorText:e("signUp.phoneError",{ns:"auth"})})}),(0,o.jsxs)(l.x,{gridColumn:{base:"auto",md:"span 3"},children:[(0,o.jsx)(H,{required:!0,children:e("signupCountryResidence")}),(0,o.jsx)(T.Z,{placeholder:e("signupCountryResidence"),options:eS,value:Y,onChange:$,formatOptionLabel:void 0,controlWidth:"100%",menuListWidth:"100%"})]}),(0,o.jsx)(l.x,{gridColumn:{base:"auto",md:"span 3"},children:(0,o.jsx)(K,{label:e("signupJobTitle"),placeholder:e("signupJobTitlePlaceholder"),required:!0,id:"job-title",name:"jobTitle",autoComplete:"organization-title"})}),(0,o.jsxs)(l.x,{gridColumn:{base:"auto",md:"span 3"},children:[(0,o.jsx)(M,{label:e("signupPassword"),placeholder:e("signupPasswordPlaceholder"),required:!0,id:"password",name:"password",autoComplete:"new-password",value:ea,onChange:el,invalid:ea.length>0&&(0,_.K)(ea)}),ea.length>0&&(0,_.K)(ea)&&(0,o.jsxs)(a.x,{color:"#C53030",fontSize:"12px",lineHeight:"1.45",mt:"8px",children:[e("signUp.passwordError",{ns:"auth"}),". ",e("signUp.passwordErrorLegend",{ns:"auth"}),": ",e("signUp.passwordErrorLegend1",{ns:"auth"}),", ",e("signUp.passwordErrorLegend2",{ns:"auth"}),", ",e("signUp.passwordErrorLegend3",{ns:"auth"}),", ",e("signUp.passwordErrorLegend4",{ns:"auth"}),"."]})]}),(0,o.jsxs)(l.x,{gridColumn:{base:"auto",md:"span 3"},children:[(0,o.jsx)(M,{label:e("signupConfirmPassword"),placeholder:e("signupConfirmPasswordPlaceholder"),required:!0,id:"confirm-password",name:"confirmPassword",autoComplete:"new-password",value:ep,onChange:ed,invalid:ep.length>0&&ea!==ep}),ep.length>0&&ea!==ep&&(0,o.jsx)(a.x,{color:"#C53030",fontSize:"12px",lineHeight:"1.45",mt:"8px",children:e("signupPasswordMismatch")})]})]})]}),(0,o.jsxs)(X,{children:[(0,o.jsx)(O,{number:"2",title:e("signupCompanyInformation")}),(0,o.jsxs)(u.r,{templateColumns:{base:"1fr",md:"1fr 1fr"},gap:{base:"20px",md:"24px"},children:[(0,o.jsx)(K,{label:e("signupCompanyWebsite"),placeholder:e("signupCompanyWebsitePlaceholder"),required:!0,id:"company-website",name:"companyWebsite",autoComplete:"url",value:ex,onChange:eu}),(0,o.jsxs)(l.x,{children:[(0,o.jsx)(H,{required:!0,children:e("signupInstagramProfile")}),(0,o.jsxs)(l.x,{position:"relative",children:[(0,o.jsx)(p.I,{...W,id:"instagram-profile",name:"instagramProfile",autoComplete:"url",value:eh,onChange:e=>em(e.target.value),pl:"42px",placeholder:e("signupInstagramProfilePlaceholder")}),(0,o.jsx)(t.k,{position:"absolute",left:"16px",top:"50%",transform:"translateY(-50%)",color:"#E1306C",children:(0,o.jsx)(h.Zf_,{size:16})})]})]}),(0,o.jsxs)(l.x,{children:[(0,o.jsx)(H,{children:e("signupLinkedinProfile")}),(0,o.jsxs)(l.x,{position:"relative",children:[(0,o.jsx)(p.I,{...W,id:"linkedin-profile",name:"linkedinProfile",autoComplete:"url",value:ec,onChange:e=>eg(e.target.value),pl:"42px",placeholder:e("signupLinkedinProfilePlaceholder")}),(0,o.jsx)(t.k,{position:"absolute",left:"16px",top:"50%",transform:"translateY(-50%)",color:"#0A66C2",children:(0,o.jsx)(h.BUd,{size:16})})]})]})]}),(0,o.jsx)(d.K,{align:"center",gap:"16px",mt:"22px",children:(0,o.jsx)(b.Z,{ref:eF,sitekey:"6Ld2l5wqAAAAABZcoi7HDT4WxS_jBUjUrjaF8VNG",onCh
1ange:ef})}),eC&&(0,o.jsx)(a.x,{color:eC===e("signupSuccessMessage")?N.purpleText:"#C53030",fontSize:"13px",fontWeight:"800",mt:"16px",textAlign:"center",whiteSpace:"pre-line",children:eC}),(0,o.jsx)(c.z,{type:"submit",mt:"26px",w:"100%",h:"50px",bg:"linear-gradient(90deg, ".concat(N.purple,", #6E16B3)"),color:"white",borderRadius:"7px",fontSize:{base:"14px",md:"16px"},fontWeight:"900",boxShadow:"0 14px 26px rgba(84, 18, 105, 0.18)",loading:ej,disabled:eP,_hover:{filter:"brightness(1.04)"},children:e("signupSubmit")}),(0,o.jsxs)(t.k,{align:"center",justify:"center",gap:"9px",color:N.fieldText,fontSize:"13px",mt:"18px",textAlign:"center",children:[(0,o.jsx)(g.UIZ,{}),(0,o.jsx)(a.x,{children:e("signupSecurityNote")})]})]})]})})]})})]})}},9410:function(e,r,n){"use strict";n.d(r,{r:function(){return i}});var o=n(85893),s=n(67294),t=n(83317);let i=(0,s.forwardRef)(function(e,r){let{templateAreas:n,column:s,row:i,autoFlow:a,autoRows:l,templateRows:p,autoColumns:d,templateColumns:x,inline:u,...c}=e;return(0,o.jsx)(t.m.div,{...c,ref:r,css:[{display:u?"inline-grid":"grid",gridTemplateAreas:n,gridAutoColumns:d,gridColumn:s,gridRow:i,gridAutoFlow:a,gridAutoRows:l,gridTemplateRows:p,gridTemplateColumns:x},e.css]})});i.displayName="Grid"}},function(e){e.O(0,[9570,7524,5445,2933,9553,5634,6757,6512,2888,9774,179],function(){return e(e.s=79126)}),_N_E=e.O()}]);
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.