1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[928],{1774:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/auth/sign-up",function(){return s(2366)}])},5586:function(e,t,s){"use strict";s.d(t,{z:function(){return Button}});var r=s(5893);let Button=e=>{let{label:t,onClick:s,btnType:n,id:a,className:l,...o}=e;return(0,r.jsx)("button",{id:a?"button-".concat(a):"button-".concat(t),onClick:s,className:"".concat({primary:"w-full bg-black px-4 pb-3 pt-6 text-left font-mono text-p font-bold text-white hover:bg-opacity-75"}[n]," ").concat(l),...o,children:t})}},4330:function(e,t,s){"use strict";s.d(t,{V:function(){return GoogleButton}});var r=s(5893),n=s(1664),a=s.n(n),l=s(8230);let GoogleIcon=()=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"26",height:"27",viewBox:"0 0 26 27",fill:"none",children:[(0,r.jsx)("path",{d:"M13.0001 5.64583C14.9176 5.64583 16.6346 6.30667 17.9888 7.59583L21.6992 3.88542C19.4459 1.78917 16.5046 0.5 13.0001 0.5C7.91922 0.5 3.5263 3.41417 1.38672 7.66083L5.70922 11.0138C6.73297 7.93167 9.60922 5.64583 13.0001 5.64583Z",fill:"#EA4335"}),(0,r.jsx)("path",{d:"M25.4475 13.7979C25.4475 12.9475 25.3662 12.1242 25.2417 11.3334H13V16.2192H20.0092C19.695 17.8225 18.785 19.1875 17.42 20.1084L21.6071 23.3584C24.05 21.0942 25.4475 17.7467 25.4475 13.7979Z",fill:"#4285F4"}),(0,r.jsx)("path",{d:"M5.70375 15.9862C5.44375 15.2008 5.29208 14.3666 5.29208 13.5C5.29208 12.6333 5.43833 11.7991 5.70375 11.0137L1.38125 7.66081C0.498333 9.41581 0 11.3983 0 13.5C0 15.6016 0.498333 17.5841 1.38667 19.3391L5.70375 15.9862Z",fill:"#FBBC05"}),(0,r.jsx)("path",{d:"M13.0001 26.5C16.5101 26.5 19.4622 25.3462 21.6072 23.3529L17.4201 20.1029C16.2555 20.8883 14.7551 21.3487 13.0001 21.3487C9.60927 21.3487 6.73302 19.0629 5.70385 15.9808L1.38135 19.3337C3.52635 23.5858 7.91927 26.5 13.0001 26.5Z",fill:"#34A853"})]}),GoogleButton=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"w-full text-left",children:(0,r.jsx)("h2",{className:"font-theory text-h11 uppercase",children:"Sign in"})}),(0,r.jsx)("div",{className:"relative my-8 w-full border border-grey px-8 py-[13px]",children:(0,r.jsxs)(a(),{href:l.TF,children:[(0,r.jsx)("span",{className:"absolute left-3 top-[10px]",children:(0,r.jsx)(GoogleIcon,{})}),(0,r.jsx)("p",{className:"font-roboto text-center text-p font-medium",children:"Sign in with Google"})]})})]})},2238:function(e,t,s){"use strict";s.d(t,{I:function(){return Input}});var r=s(5893),n=s(7294);let EyeClosed=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.215 8.28498L19 6.5L18.2929 5.79289L16.3211 7.76464C12.7516 5.94121 8.26984 6.52313 5.28256 9.5104L2.64652 12.1464L2.29297 12.5L2.64652 12.8536L5.28256 15.4896C5.85433 16.0614 6.48085 16.545 7.14524 16.9405L5.29289 18.7929L6 19.5L8.07422 17.4258C11.5744 19.013 15.8396 18.3676 18.7176 15.4896L21.3536 12.8536L21.7072 12.5L21.3536 12.1464L18.7176 9.51041C18.2502 9.04306 17.7463 8.63458 17.215 8.28498ZM15.573 8.51278C12.4301 7.05764 8.5813 7.62589 5.98967 10.2175L3.70718 12.5L5.98967 14.7825C6.56434 15.3572 7.20084 15.8323 7.87774 16.208L9.32669 14.7591C8.811 14.1495 8.50008 13.361 8.50008 12.5C8.50008 10.567 10.0671 9 12.0001 9C12.8611 9 13.6495 9.31092 14.2592 9.82661L15.573 8.51278ZM14.9242 10.5758L16.491 9.00896C17.031 9.3455 17.5413 9.74835 18.0105 10.2175L20.293 12.5L18.0105 14.7825C15.5303 17.2627 11.8987 17.8898 8.8363 16.6637L10.0759 15.4241C10.628 15.7881 11.2893 16 12.0001 16C13.9331 16 15.5001 14.433 15.5001 12.5C15.5001 11.7892 15.2882 11.1279 14.9242 10.5758ZM13.5486 10.5372C13.1228 10.2008 12.5849 10 12.0001 10C10.6194 10 9.50008 11.1193 9.50008 12.5C9.50008 13.0848 9.70087 13.6227 10.0373 14.0485L13.5486 10.5372ZM10.8041 14.6959L14.196 11.304C14.3899 11.6593 14.5001 12.0668 14.5001 12.5C14.5001 13.8807 13.3808 15 12.0001 15C11.5668 15 11.1594 14.8898 10.8041 14.6959Z",fill:"currentColor"})}),EyeOpen=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.98967 10.2175C9.30913 6.89806 14.691 6.89806 18.0105 10.2175L20.293 12.5L18.0105 14.7825C14.691 18.1019 9.30912 18.1019 5.98967 14.7825L3.70718 12.5L5.98967 10.2175ZM18.7176 9.51041C15.0076 5.80043 8.99255 5.80042 5.28256 9.5104L2.64652 12.1464L2.29297 12.5L2.64652 12.8536L5.28256 15.4896C8.99254 19.1996 15.0076 19.1996 18.7176 15.4896L21.3536 12.8536L21.7072 12.5L21.3536 12.1464L18.7176 9.51041ZM9.50008 12.5C9.50008 11.1193 10.6194
110 12.0001 10C13.3808 10 14.5001 11.1193 14.5001 12.5C14.5001 13.8807 13.3808 15 12.0001 15C10.6194 15 9.50008 13.8807 9.50008 12.5ZM12.0001 9C10.0671 9 8.50008 10.567 8.50008 12.5C8.50008 14.433 10.0671 16 12.0001 16C13.9331 16 15.5001 14.433 15.5001 12.5C15.5001 10.567 13.9331 9 12.0001 9Z",fill:"currentColor"})}),IconClose=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.70718 8.32317L14.0225 3.00781L13.3154 2.3007L8.00008 7.61606L2.68472 2.3007L1.97761 3.00781L7.29297 8.32317L1.81543 13.8007L2.52254 14.5078L8.00008 9.03027L13.4776 14.5078L14.1847 13.8007L8.70718 8.32317Z",fill:"currentColor"})}),PasswordIcon=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 3H7V3.5V9H4.5H4V9.5V21.5V22H4.5H19.5H20V21.5V9.5V9H19.5H17V3.5V3H16.5H7.5ZM16 9V4H8V9H16ZM7 10H5V21H19V10H17H16.5H7.5H7ZM12 12.8125C11.2406 12.8125 10.625 13.4281 10.625 14.1875C10.625 14.9469 11.2406 15.5625 12 15.5625C12.7594 15.5625 13.375 14.9469 13.375 14.1875C13.375 13.4281 12.7594 12.8125 12 12.8125ZM9.625 14.1875C9.625 12.8758 10.6883 11.8125 12 11.8125C13.3117 11.8125 14.375 12.8758 14.375 14.1875C14.375 15.3277 13.5716 16.2802 12.5 16.5098V19.0625H11.5V16.5098C10.4284 16.2802 9.625 15.3277 9.625 14.1875Z",fill:"currentColor"})}),EmailIcon=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.1362 6.5H4.78002L11.9982 12.3548L19.1362 6.5ZM4 7.15491V18H20V7.08488L12.3171 13.3866L12.0018 13.6452L11.685 13.3883L4 7.15491ZM3 5.5H4H20H21V6.5V18V19H20H4H3V18V6.5V5.5Z",fill:"currentColor"})}),formatError=e=>e&&e.includes("_")?capitalizeStr(e.replace("_"," ")):capitalizeStr(e),capitalizeStr=e=>e&&e.charAt(0).toUpperCase()+e.slice(1),PhoneIcon=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",children:(0,r.jsx)("g",{id:"ILeft",children:(0,r.jsx)("path",{id:"Vector 12 (Stroke)",fillRule:"evenodd",clipRule:"evenodd",d:"M6.70758 2.88916L11.168 8.01864L8.94372 10.3356L13.9838 15.3756L16.4965 13.049L21.3941 17.5014L19.0868 20.3856L14.5449 21.934L7.28813 17.1288L1.9859 9.56823L3.65604 5.60163L6.70758 2.88916ZM4.59397 6.27312L3.26411 9.43153L8.08688 16.3084L14.7051 20.6908L18.4132 19.4266L19.8559 17.6234L16.5035 14.5757L13.9538 16.9366L7.3688 10.3517L9.64452 7.98112L6.60494 4.4856L4.59397 6.27312Z",fill:"currentColor"})})}),UserIcon=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",children:(0,r.jsx)("g",{id:"ILeft",children:(0,r.jsx)("path",{id:"Union",fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.5C10.0325 3.5 8.4375 5.09499 8.4375 7.0625C8.4375 9.03001 10.0325 10.625 12 10.625C13.9675 10.625 15.5625 9.03001 15.5625 7.0625C15.5625 5.09499 13.9675 3.5 12 3.5ZM9.5625 7.0625C9.5625 5.71631 10.6538 4.625 12 4.625C13.3462 4.625 14.4375 5.71631 14.4375 7.0625C14.4375 8.40869 13.3462 9.5 12 9.5C10.6538 9.5 9.5625 8.40869 9.5625 7.0625ZM18.1875 11.75H6V21.5H18.1875V11.75ZM7.125 20.375V12.875H17.0625V20.375H7.125Z",fill:"currentColor"})})}),Input=e=>{var t;let{label:s,error:a,register:l,name:o,onChange:c,className:i="",type:d,readOnly:h,isPassword:m,resetField:p,watch:u}=e,[x,f]=(0,n.useState)(m?"password":d),w=u&&(null===(t=u(o))||void 0===t?void 0:t.length)>0,C="password"===o||"email"===o||"first_name"===o||"phone_number"===o,g=C?"left-12":"left-4",j={...d&&{type:x},...h&&{readOnly:h},...c&&{onChange:c},...l,autoComplete:o,placeholder:" ",className:"w-full h-[72px] border border-dark px-4 pt-8 pb-3 focus:outline-none ".concat(a?"border-red":""," peer font-mono text-p ").concat(C?"pl-12":""," ").concat(i)};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{id:"input-".concat(o),className:"relative",children:[(0,r.jsxs)(r.Fragment,{children:["password"===o&&(0,r.jsx)("span",{className:"absolute bottom-3 left-4",children:(0,r.jsx)(PasswordIcon,{})}),"email"===o&&(0,r.jsx)("span",{className:"absolute bottom-3 left-4",children:(0,r.jsx)(EmailIcon,{})}),"first_name"===o&&(0,r.jsx)("span",{className:"absolute bottom-3 left-4",children:(0,r.jsx)(UserIcon,{})}),"phone_number"===o&&(0,r.jsx)("span",{className:"absolute bottom-3 left-4",children:(0,r.jsx)(PhoneIcon,{})})]}),(0,r.jsx)("input",{...j}),(0,r.jsx)("label",{className:"absolute ".concat(g," bottom-0 origin-[0] -translate-y-10 scale-75 transform font-mono text-p uppercase text-grey duration-300 peer-placeholder-shown:-translate-y-4 peer-placeholder-shown:scale-100 peer-placeholder-shown:lowercase peer-focus:-translate-y-10 peer-focus:scale-75 peer-focus:uppercase "),htmlFor:"input-".concat(o," mb-1"),children:s}),w&&(0,r.jsx)("button",{onClick:()=>p(o),type:"button",className:"absolute ".concat(m?"right-12":"right-4"," ").concat(m?"bottom-2":"bottom-4"," cursor-pointer"),children:(0,r.jsx)(IconClose,{})}),m&&(0,r.jsxs)("button",{type:"button",className:"absolute bottom-3 right-4 cursor-pointer",onClick:()=>{"password"===x?f("text"):f("password")},children:["password"===x&&(0,r.jsx)(EyeClosed,{}),"text"===x&&(0,r.jsx)(EyeOpen,{})]})]}),(0,r.jsx)("p",{className:"".concat(a?"opacity-1 max-h-[100%] pb-4 pt-2":"max-h-0 pb-0 pt-0 opacity-0"," font-mono text-p text-red transition-all duration-300"),children:formatError(a)})]})}},5575:function(e,t,s){"use strict";s.d(t,{Q:function(){return LinkButton}});var r=s(5893),n=s(1664),a=s.n(n);let LinkButton=e=>{let{href:t,children:s,className:n}=e;return(0,r.jsx)(a(),{className:"font-mono font-medium underline hover:no-underline hover:opacity-50 ".concat(n),href:t,children:s})}},5500:function(e,t,s){"use strict";s.d(t,{j:function(){return Error}});var r=s(5893);let Error=e=>{let{error:t}=e;return(0,r.jsx)("p",{className:"".concat(t?"opacity-1 mb-8 max-h-[100%] p-6":"mb-0 max-h-0 p-0 opacity-0"," w-full bg-errorbg font-mono text-p text-red transition-all duration-300"),children:t})}},3526:function(e,t,s){"use strict";s.d(t,{g:function(){return PasswordCheck}});var r=s(5893),n=s(7294);let CircleIcon=e=>{let{classes:t,checked:s}=e;return(0,r.jsx)(r.Fragment,{children:s?(0,r.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.6668 7C13.6668 10.6819 10.6821 13.6667 7.00016 13.6667C3.31826 13.6667 0.333496 10.6819 0.333496 7C0.333496 3.3181 3.31826 0.333328 7.00016 0.333328C10.6821 0.333328 13.6668 3.3181 13.6668 7ZM12.3335 7C12.3335 9.94551 9.94568 12.3333 7.00016 12.3333C4.05464 12.3333 1.66683 9.94551 1.66683 7C1.66683 4.05448 4.05464 1.66666 7.00016 1.66666C8.57228 1.66666 9.98552 2.34688 10.9616 3.42905L6.3335 8.05719L4.47157 6.19526C4.21122 5.93491 3.78911 5.93491 3.52876 6.19526C3.26841 6.45561 3.26841 6.87772 3.52876 7.13807L5.39069 9C5.91139 9.5207 6.75561 9.52069 7.27631 9L11.7345 4.54183C12.1172 5.27743 12.3335 6.11345 12.3335 7Z",fill:"#4FBF67"})}):(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",fill:"#6C7087"})})})};var FormCheckIcon=e=>(0,r.jsxs)("div",{className:"flex items-center justify-start",children:[(0,r.jsx)(CircleIcon,{checked:e.validated,classes:"w-4 h-4 mr-2"}),(0,r.jsx)("p",{className:"text-grey",children:e.text})]});let PasswordCheck=e=>{let{password:t}
1=e,[s,a]=(0,n.useState)(!1),[l,o]=(0,n.useState)(!1),[c,i]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{t.length>=8?a(!0):a(!1),/(?=.*\W)(?=.*\d)/.test(t)?i(!0):i(!1),/(?=.*[a-z])(?=.*[A-Z])/.test(t)?o(!0):o(!1)},[t]),(0,r.jsxs)("div",{className:"mb-4 mt-2 flex flex-col gap-2 px-4 font-mono text-[12px]",children:[(0,r.jsx)("p",{children:"Your password must have:"}),(0,r.jsx)(FormCheckIcon,{validated:s,text:"8 or more characters"}),(0,r.jsx)(FormCheckIcon,{validated:l,text:"Uppercase and lowercase letters"}),(0,r.jsx)(FormCheckIcon,{validated:c,text:"Special character and 1 or more numbers"}),(0,r.jsxs)("div",{className:" mt-1 flex w-full gap-4",children:[(0,r.jsx)("div",{className:"h-[2px] flex-1 ".concat(s?"bg-darkgreen":"bg-grey"," transition-colors duration-100")}),(0,r.jsx)("div",{className:"h-[2px] flex-1 ".concat(l?"bg-darkgreen":"bg-grey"," transition-colors duration-100")}),(0,r.jsx)("div",{className:"h-[2px] flex-1 ".concat(c?"bg-darkgreen":"bg-grey"," transition-colors duration-100")})]})]})}},2366:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSP:function(){return w},default:function(){return SignUp}});var r=s(5893),n=s(7294),a=s(2238),l=s(5586),o=s(5500),c=s(5575),i=s(8230),d=s(2580),h=s(6310),m=s(1163),p=s(3526);let CheckIcon=e=>{let{className:t}=e;return(0,r.jsx)("span",{className:t,children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",version:"1.1",width:"16",height:"16",viewBox:"0 0 78.369 78.369",xmlSpace:"preserve",children:(0,r.jsx)("g",{children:(0,r.jsx)("path",{d:"M78.049,19.015L29.458,67.606c-0.428,0.428-1.121,0.428-1.548,0L0.32,40.015c-0.427-0.426-0.427-1.119,0-1.547l6.704-6.704 c0.428-0.427,1.121-0.427,1.548,0l20.113,20.112l41.113-41.113c0.429-0.427,1.12-0.427,1.548,0l6.703,6.704 C78.477,17.894,78.477,18.586,78.049,19.015z"})})})})},CheckBox=e=>{let{label:t,name:s,onChange:n}=e;return(0,r.jsxs)("div",{className:"relative ",children:[(0,r.jsx)("input",{className:"bg-tranparent peer mt-1 h-6 w-6 shrink-0 appearance-none rounded-sm border-2 border-black checked:bg-black hover:cursor-pointer ",type:"checkbox",name:s,onChange:n}),(0,r.jsx)(CheckIcon,{className:"!peer-checked:hidden absolute left-1 top-2 text-white peer-checked:block pointer-events-none"}),(0,r.jsx)("label",{htmlFor:s,children:t})]})};var u=s(4330),x=s(1664),f=s.n(x),w=!0;function SignUp(){let[e,t]=(0,n.useState)(null),[s,x]=(0,n.useState)(!1),[w,C]=(0,n.useState)(!1),g=(0,m.useRouter)(),handleFormSubmit=async e=>{if(!s)return C(!0);let r=await fetch(i.kc,{method:"POST",body:JSON.stringify({...e})}).then(e=>e.json());return r.error?t(r.error):g.push({pathname:i.en.enterCode,query:{email:e.email}})},j=h.Ry().shape({email:h.Z_().email().required(),first_name:h.Z_().required(),last_name:h.Z_().required(),phone_number:h.Z_().min(12,"Phone number must contain a country code and at least 8 digits").matches(/[+]/,"Phone number must start with a + country code or 00").required(),password:h.Z_().min(8,"Password must contain at least 8 characters").max(50,"Password cannot contain more than 50 characters").matches(/(?=.*\W)(?=.*\d)/,"Password must contain a special character and 1 or two more numbers").matches(/[A-Z]/,"Password must contain an Uppercase character").required()}),v=(0,d.TA)({initialValues:{password:"",email:"",first_name:"",last_name:"",phone_number:""},validateOnChange:!1,validationSchema:j,onSubmit:e=>handleFormSubmit(e)}),handleAcceptTerms=e=>{x(e),C(!e)};return(0,r.jsxs)("section",{"data-testid":"signup",className:"flex min-h-[100vh] flex-col justify-center",children:[(0,r.jsx)(f(),{href:i.en.home,className:"mx-4 my-4 ipad:mx-10",children:(0,r.jsx)("p",{className:"my-4 font-theory",children:"WEBLANG"})}),(0,r.jsxs)("div",{className:"m-auto flex w-full max-w-[676px] flex-col items-center p-6 ipad:w-col-5 ipad:px-10 ipad:py-4",children:[(0,r.jsxs)("div",{className:"w-full text-left",children:[(0,r.jsx)("h2",{className:"font-theory text-h11 uppercase",children:"Welcome"}),(0,r.jsx)("h3",{className:"font-theory text-h11 uppercase",children:"letâs create an account"})]}),(0,r.jsx)(u.V,{}),e&&(0,r.jsx)(o.j,{error:e}),(0,r.jsxs)("div",{className:"w-full",children:[(0,r.jsxs)("form",{onSubmit:v.handleSubmit,className:"grid grid-flow-dense grid-cols-2",children:[(0,r.jsx)("div",{className:"col-span-2",children:(0,r.jsx)(a.I,{className:v.errors.email?"":"border-b-0",error:v.errors.email,label:"Email Address",onChange:e=>v.setFieldValue("email",e.target.value),name:"email",type:"text"})}),(0,r.jsx)("div",{className:"col-span-2",children:(0,r.jsx)(a.I,{className:v.errors.phone_number?"":"border-b-0",onChange:e=>v.setFieldValue("phone_number",e.target.value),error:v.errors.phone_number,label:"Phone",name:"phone_number",type:"text"})}),(0,r.jsx)("div",{className:"col-start-1 row-start-3",children:(0,r.jsx)(a.I,{className:v.errors.first_name?"border-r-0":"border-b-0 border-r-0",error:v.errors.first_name,label:"First name",name:"first_name",onChange:e=>v.setFieldValue("first_name",e.target.value),type:"text"})}),(0,r.jsx)("div",{className:"col-start-2 row-start-3",children:(0,r.jsx)(a.I,{className:v.errors.last_name?"":"border-b-0",error:v.errors.last_name,label:"Last name",name:"last_name",onChange:e=>v.setFieldValue("last_name",e.target.value),type:"text"})}),(0,r.jsx)("div",{className:"col-span-2",children:(0,r.jsx)(a.I,{error:v.errors.password,label:"Password",name:"password",autoComplete:"new-password",isPassword:!0,onChange:e=>v.setFieldValue("password",e.target.value),type:"password"})}),(0,r.jsxs)("div",{className:"col-span-2",children:[(0,r.jsx)(p.g,{password:v.values.password}),(0,r.jsxs)("div",{className:"flex items-start gap-2 ipad:items-center",children:[(0,r.jsx)(CheckBox,{label:"",name:"checkbox-terms",onChange:e=>handleAcceptTerms(e.target.checked)}),(0,r.jsxs)("span",{className:"flex flex-wrap gap-2",children:["I agree to the",(0,r.jsx)(c.Q,{href:"/terms-of-use",className:"font-mono text-p font-normal",children:"Terms of Use"}),"and",(0,r.jsx)(c.Q,{href:"/privacy-policy",className:"font-mono text-p font-normal",children:"Privacy Policy"})]})]}),w&&(0,r.jsx)("p",{className:"text-p text-red",children:"Terms of use and Privacy Policy must be accepted"}),(0,r.jsx)(l.z,{className:"mt-4",btnType:"primary",label:"Create Account",type:"submit"})]})]}),(0,r.jsxs)("div",{className:"ipad mt-8 flex flex-col items-start gap-2 ipad:flex-row ipad:items-center",children:[(0,r.jsx)("p",{className:"font-mono text-p font-normal",children:"Already have an account?"}),(0,r.jsx)(c.Q,{href:i.en.signIn,children:"Sign in here"})]})]})]})]})}}},function(e){e.O(0,[580,310,774,888,179],function(){return e(e.s=1774)}),_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.