"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3623],{69876:function(e,t,r){var n=r(85893);r(67294);var a=r(70902),s=r(45697),i=r.n(s),o=r(27484),l=r.n(o);let c=e=>{let{headline:t="Mobile App Intelligence | 42matters",image:r=(0,a.iE)().http_host+"/img/logo_black_no_border_white2.png",url:s=(0,a.iE)().http_host,description:i="42matters offers top-notch app market data and audience data that helps you to build your business around mobile. All mobile data is easily accessible via our REST API and easy to use Explorer.",datePublished:o="2022-08-22"}=e;return(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:'{\n            "@context": "https://schema.org",\n            "@type": "NewsArticle",\n            "mainEntityOfPage": {\n            "@type": "WebPage",\n            "@id": "'.concat(s,'"\n        },\n            "headline": "').concat(t,'",\n            "image": [\n            "').concat(r,'"\n            ],       "author": {\n            "@type": "Organization",\n            "name": "42matters AG"\n        },\n            "datePublished": "').concat(o,'",\n            "publisher": {\n            "@type": "Organization",\n            "name": "42matters AG",\n            "logo": {\n            "@type": "ImageObject",\n            "url": "').concat((0,a.iE)().logo,'"\n        }\n        },\n            "description": "').concat(i,'"\n        }')}})};c.displayName="GoogleSchema",c.propTypes={headline:i().string,description:i().string,image:i().string,url:i().string,datePublished:i().string},c.WebApplication=e=>{let{headline:t,description:r,url:a,about:s="Google Play Store data, Apple App Store apps data, Publishers, SDKs, Contacts"}=e;return(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:'{\n        "@context": "https://schema.org",\n            "@type": "WebApplication",\n            "name": "'.concat(t,'",\n            "url": "').concat(a,'",\n            "description": "').concat(r,'",\n            "operatingSystem": "All",\n            "applicationCategory": "Bussines software",\n            "genre": "Mobile data",\n            "about": {\n                "@type": "Thing",\n                "description": "').concat(s,'"\n            },\n            "browserRequirements": "Requires JavaScript. Requires HTML5.",\n            "softwareVersion": "2.0"\n    }')}})},c.WebApplication.propTypes={headline:i().string,description:i().string,about:i().string,url:i().string},c.WebApplication.displayName="GoogleSchema.WebApplication",c.Corporation=()=>(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:'{\n        "@context": "http://schema.org",\n        "@type": "Corporation",\n        "name": "42matters",\n        "url": "'.concat((0,a.iE)().http_host,'",\n        "description": "42matters offers a full suite of products and services for App Intelligence and Mobile Audience Data. We bring a unique combination of technical and business skills to provide our customers with thorough analysis of the latest developments on the app market and user demographics that help them increase users’ engagement and efficiently target their online marketing efforts to the right audience in the mobile space. We work with the world’s leading mobile companies, helping them build better business through mobile data.",\n        "telephone": "0041445867742",\n        "logo": "').concat((0,a.iE)().logo,'",\n        "address": {\n            "@type": "PostalAddress",\n            "addressLocality": "Z\xfcrich, Switzerland",\n            "postalCode": "8057",\n            "streetAddress": "R\xf6telstrasse 84"\n        },\n        "email": "info@42matters.com",\n        "sameAs": [\n            "https://www.linkedin.com/company/42matters/",\n            "https://www.facebook.com/42matters",\n            "https://twitter.com/42matters"\n        ]\n    }')}}),c.Corporation.displayName="GoogleSchema.Corporation",c.Blog=e=>{let{post:t={},datePublished:r}=e,s=(0,a.iE)().http_host+"/blog/",i=s+(t.slug?"?p="+t.slug:""),o=t.title||"",c=t.feature_image||"",m=r||(t.date?l()(t.date).format("YYYY-MM-DD"):""),d=t.excerpt||"Tips on how to use mobile app statistics and app market insights to generate leads, conduct market research, monitor trends in the global app economy, and more.";return(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:'{\n            "@context": "https://schema.org",\n            "@type": "BlogPosting",\n            "mainEntityOfPage": {\n                "@type": "WebPage",\n                "@id": "'.concat(i,'"\n            },\n            "headline": "').concat(o,'",\n            "image": [\n                "').concat(c,'"\n            ],\n            "datePublished": "').concat(m,'",\n            "dateModified": "').concat(m,'",\n            "author": {\n                "@type": "Organization",\n                "name": "42matters AG"\n            },\n            "publisher": {\n                "@type": "Organization",\n                "name": "42matters AG",\n                "logo": {\n                    "@type": "ImageObject",\n                    "url": "').concat((0,a.iE)().logo,'"\n                }\n            },\n            "description": "').concat(d,'"\n            }')}})},c.Blog.displayName="GoogleSchema.Blog",t.Z=c},80022:function(e,t,r){var n=r(85893),a=r(45697),s=r.n(a),i=r(9008),o=r.n(i);r(67294);var l=r(69876),c=r(70902);let m=e=>{let{title:t="Mobile App Intelligence | 42matters",metaTitle:r="Mobile App Intelligence | 42matters",metaDescription:a="42matters offers top-notch app market data and audience data that helps you to build your business around mobile. All mobile data is easily accessible via our REST API and easy to use Explorer.",metaKeywords:s=null,metaImage:i=(0,c.iE)().http_host+"/img/logo_black_no_border_white2.png",canonicalURL:m=(0,c.iE)().http_host,ogType:d="website",schema:u=(0,n.jsx)(l.Z.Corporation,{}),children:p,css:g=null,hideRobotsTag:h=!1}=e;return(0,n.jsxs)(o(),{children:[(0,n.jsx)("meta",{charSet:"UTF-8"}),h?null:(0,n.jsx)("meta",{name:"ROBOTS",content:"INDEX,FOLLOW"}),(0,n.jsx)("meta",{name:"publisher",content:"42matters AG"}),(0,n.jsx)("meta",{name:"rating",content:"General"}),(0,n.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/assets/img/favicon/v2/apple-touch-icon.png"}),(0,n.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/assets/img/favicon/v2/favicon-32x32.png"}),(0,n.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/assets/img/favicon/v2/favicon-16x16.png?v="+(0,c.iE)().logo_timestamp}),(0,n.jsx)("link",{rel:"manifest",href:"/assets/img/favicon/v2/site.webmanifest"}),(0,n.jsx)("link",{rel:"mask-icon",href:"/assets/img/favicon/v2/safari-pinned-tab.svg",color:"#5bbad5"}),(0,n.jsx)("meta",{name:"msapplication-TileColor",content:"#da532c"}),(0,n.jsx)("meta",{name:"theme-color",content:"#ffffff"}),(0,n.jsx)("meta",{name:"google-site-verification",content:"wvQHuWJqz_aimszgr_DdfiZPaQDffGMsdxE_4djCRrE"}),(0,n.jsx)("meta",{name:"description",content:a}),s&&(0,n.jsx)("meta",{name:"keywords",content:s}),(0,n.jsx)("meta",{name:"author",content:"42matters AG"}),(0,n.jsx)("meta",{property:"og:type",content:d}),(0,n.jsx)("meta",{property:"og:title",content:r}),(0,n.jsx)("meta",{property:"og:description",content:a}),(0,n.jsx)("meta",{property:"og:image",content:i}),(0,n.jsx)("meta",{property:"og:url",content:m}),(0,n.jsx)("link",{rel:"canonical",href:m}),(0,n.jsx)("meta",{httpEquiv:"X-UA-Compatible",content:"IE=edge"}),(0,n.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),p,(0,n.jsx)("title",{children:t}),(0,n.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),(0,n.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"true"}),u,(0,n.jsx)("script",{dangerouslySetInnerHTML:{__html:"window.hsConversationsSettings = {\n            disableAttachment: true\n        };"}}),g]})};m.propTypes={title:s().string,description:s().string,metaTitle:s().string,metaDescription:s().string,metaKeywords:s().string,canonicalURL:s().string,metaImage:s().string,ogType:s().string,schema:s().any,children:s().any,hideRobotsTag:s().bool},t.Z=m},67148:function(e,t,r){var n=r(85893),a=r(45697),s=r.n(a),i=r(94184),o=r.n(i);let l=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return o()(r,{"with-alert":null==e?void 0:e.hasAlert()})},c=e=>{let{className:t,user:r,minimized:a=!1,children:s}=e,i=l(r,t,{"margin-top-nav":!a});return(0,n.jsx)("main",{className:i,children:s})};c.propTypes={className:s().string,user:s().oneOfType([s().object,s().oneOf([null])]),children:s().any},t.Z=c},98093:function(e,t,r){r.d(t,{lX:function(){return S},ZP:function(){return I}});var n=r(85893),a=r(16310),s=r(67294),i=r(87536),o=r(47533),l=r(52641),c=r(94184),m=r.n(c),d=r(43964),u=r(1007),p=r(69983),g=r.n(p),h=r(18699),f=r.n(h),b=r(45697),_=r.n(b),x=r(36817),y=r(50259),w=r(41207),v=r(52372),j=r(89893),N=r(8102);let k=e=>{let{control:t,errors:r,label:a,options:s={},title:o}=e;return Object.entries(s).length?(0,n.jsxs)("div",{className:"input-group-item",children:[(0,n.jsx)("label",{htmlFor:a,className:"required",children:o}),(0,n.jsx)("div",{className:"input-group",children:(0,n.jsx)(i.Qr,{control:t,name:a,render:e=>{let{field:{onChange:t,value:i,ref:o}}=e;return(0,n.jsx)(j.Z,{ref:o,focusFirstItemOnShow:"keyboard",children:(0,n.jsx)(N.Z,{id:a,className:m()({"with-error":!!r[a]}),title:s[i]||"",children:Object.entries(s).map((e,r)=>{let[a="",s=""]=e;return(0,n.jsx)(j.Z.Item,{as:"a",onClick:e=>{e.preventDefault(),t(a)},className:"input-group-dropdown-item",href:"#",children:s||""},a+r)})})})}})}),r[a]&&(0,n.jsx)("div",{className:"input-error",children:r[a].message})]}):null};k.propTypes={control:_().any,errors:_().object.isRequired,label:_().string.isRequired,options:_().objectOf(_().string),title:_().string.isRequired};let S={email:{wrong:"Please enter a valid email address."},password:{wrong:"Please enter a suitable password.",minlength:"Your password must consist of at least 10 characters.",notEqualEmail:"Your password must be different from your email address.",noSpaces:"No spaces.",passwordNumber:"Your password must contain at least one number (0-9).",passwordLowercase:"Your password must contain at least one lowercase letter (a-z).",passwordUppercase:"Your password must contain at least one uppercase letter (A-Z).",passwordSpecialChar:"Your password must contain at least one special character (!,%,&,@,#,$,^,*,?,_,~).",wrongConfirmationPass:"Passwords do not match"},first_name:{wrong:"Please enter your first name."},last_name:{wrong:"Please enter your last name."},contact_number:{wrong:"Please enter your phone number.",minlength:"Please enter at least 4 characters.",phoneNumber:"Invalid phone number. Allowed spaces and numbers."},company:{wrong:"Please enter your company name."},industry:{wrong:"Please choose industry."},no_of_employees:{wrong:"Please choose number of employees."},job_function:{wrong:"Please choose job function."},reason:{wrong:"This field is required."},csrf_token:{wrong:"Invalid CSRF token."},social_id:{wrong:"Invalid Social ID."},social_provider:{wrong:"Invalid Social Provider"}},q={ame:"Visual Explorer Platform",api:"API integration",dumps:"Large-scale File Dump integration"},C={ad_tech:"Ad Tech",security:"Cyber Security",sdk_developer:"SDK Developer",app_marketing_agency:"App Marketing Agency",software:"Software",gaming:"Gaming",consulting:"Consulting",other:"Other"},Z={"1-10":"1-10","11-50":"11-50","51-200":"51-200","201-500":"201-500","501-1000":"501-1000","1001+":"1001+"},E={management:"Management",security:"Security",business_development:"Business Development",engineering:"Engineering",marketing:"Marketing",product:"Product",strategy:"Strategy",finance:"Finance",other:"Other"},A={stepOne:a.Ry({email:a.Z_().required(S.email.wrong).email(S.email.wrong),password:a.Z_().required(S.password.wrong).min(10,S.password.minlength).test({name:"password",skipAbsent:!0,test:w.Z7})}).required(),stepTwo:a.Ry({first_name:a.Z_().required(S.first_name.wrong),last_name:a.Z_().required(S.last_name.wrong),contact_number:a.Z_().required(S.contact_number.wrong).min(4,S.contact_number.minlength).test({name:"contact_number",skipAbsent:!0,test:(e,t)=>!!/^[0-9 ]+$/.test(e)||t.createError({message:S.contact_number.phoneNumber})}),reason:a.Z_().required(S.reason.wrong)}).required(),stepTree:a.Ry({csrf_token:a.Z_().required(S.csrf_token.wrong),company:a.Z_().required(S.company.wrong),industry:a.Z_().required(S.industry.wrong),no_of_employees:a.Z_().required(S.no_of_employees.wrong),job_function:a.Z_().required(S.job_function.wrong)}).required(),social:a.Ry({email:a.Z_().required(S.email.wrong).email(S.email.wrong),first_name:a.Z_().required(S.first_name.wrong),last_name:a.Z_().required(S.last_name.wrong),csrf_token:a.Z_().required(S.csrf_token.wrong),social_id:a.Z_().required(S.social_id.wrong),social_provider:a.Z_().required(S.social_provider.wrong),company:a.Z_().required(S.company.wrong),industry:a.Z_().required(S.industry.wrong),no_of_employees:a.Z_().required(S.no_of_employees.wrong),job_function:a.Z_().required(S.job_function.wrong),reason:a.Z_().required(S.reason.wrong),contact_number:a.Z_().required(S.contact_number.wrong).min(4,S.contact_number.minlength).test({name:"contact_number",skipAbsent:!0,test:(e,t)=>!!/^[0-9 ]+$/.test(e)||t.createError({message:S.contact_number.phoneNumber})})}).required()},P=e=>{let{initialCountryIso:t="US",submitCallback:r,user:a,csrfToken:c="",isSocial:p=!1,invalidWorkEmail:h=!1}=e,[b,_]=(0,s.useState)(p?4:1),[j,N]=(0,s.useState)({}),[S,P]=(0,s.useState)(!1),[I,T]=(0,s.useState)(null),O=(0,s.useRef)(null),[L,F]=(0,s.useState)(!1),[R,V]=(0,s.useState)(null),[M,D]=(0,s.useState)(""),[G,Y]=(0,s.useState)((0,w.Sx)("","",!0)),{executeRecaptcha:z}=(0,y.xX)(),W=(0,s.useCallback)(async()=>{if(!z){console.log("Execute recaptcha not yet available");return}return await z("registrationClick")},[z]),{register:U,handleSubmit:X,formState:{errors:B}}=(0,i.cI)({resolver:(0,o.X)(A.stepOne)}),{register:H,handleSubmit:$,formState:{errors:J},control:K}=(0,i.cI)({resolver:(0,o.X)(A.stepTwo)}),{register:Q,handleSubmit:ee,formState:{errors:et},control:er}=(0,i.cI)({resolver:(0,o.X)(A.stepTree),defaultValues:{checkbox:[],csrf_token:c}}),{register:en,handleSubmit:ea,formState:{errors:es},control:ei}=(0,i.cI)({resolver:(0,o.X)(A.social),defaultValues:{checkbox:[],csrf_token:c}}),eo=(0,s.useCallback)(e=>{let t=g()(Object.entries(e));return t.reduce((e,t)=>{let[r,n]=t;return e[r]=n,e},{})},[]);(0,s.useEffect)(()=>{h&&V("Please register with a work email. Free email accounts are not allowed.")},[h]),(0,s.useEffect)(()=>{if(O&&O.current){if(2===b||4===b){var e;let r=f()(O.current,{dropdownContainer:O.current.parentNode,initialCountry:(null===(e=j.country)||void 0===e?void 0:e.iso2)||t});T(r)}return I&&I.destroy(),()=>I&&I.destroy()}},[b,t]),(0,s.useEffect)(()=>{let e="/user/register",t=e+(p?"/social":1===b?"":"/step-"+b);1!==b&&t!==e&&window.history.replaceState(null,null,t),1===b&&window.location.pathname!==e&&window.history.replaceState(null,null,e)},[b]);let el=async e=>{let t=await (0,x.oP)(null==e?void 0:e.email);t?(V(null),N(t=>({...t,...e})),eu()):V("Please register with a work email. Free email accounts are not allowed.")},ec=e=>{let t=I.getSelectedCountryData();N(r=>({...r,...e,country:t})),eu()},em=function(){var e,t,r;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{email:n.email?n.email.trim():"",first_name:n.first_name?n.first_name.trim():"",last_name:n.last_name?n.last_name.trim():"",reason:n.reason?n.reason.trim():"",company:n.company?n.company.trim():"",industry:n.industry?n.industry.trim():"",no_of_employees:n.no_of_employees?n.no_of_employees.trim():"",job_function:n.job_function?n.job_function.trim():"",contact_number:n.contact_number?n.contact_number.trim():"",newsletter:n.checkbox.includes("newsletter"),password:n.password?n.password.trim():"",country:{name:(null===(e=n.country)||void 0===e?void 0:e.name)||"",iso2:((null===(t=n.country)||void 0===t?void 0:t.iso2)||"").toUpperCase(),dialCode:(null===(r=n.country)||void 0===r?void 0:r.dialCode)||""},g_recaptcha_response:(null==n?void 0:n.g_recaptcha_response)||"",csrf_token:(null==n?void 0:n.csrf_token)||"",social_id:(null==n?void 0:n.social_id)||"",social_provider:(null==n?void 0:n.social_provider)||""}},ed=async e=>{try{var t,n,a;if(L)return!1;F(!0),V(null);let s=null!==(n=I.getSelectedCountryData())&&void 0!==n?n:{},i=await W(),o={...j,...e,g_recaptcha_response:i,country:s};await N(o);let l=await (0,x.a$)(em(o));if(l.success&&(r&&r(),l.redirect)){window.location=l.redirect;return}!l.success&&(null===(t=l.message)||void 0===t?void 0:t.error_message)&&V(null===(a=l.message)||void 0===a?void 0:a.error_message)}catch(c){console.log(c)}finally{F(!1)}},eu=()=>{_(e=>e+1),V(null)},ep=(e,t)=>(0,n.jsx)(k,{control:e,errors:t,label:"industry",options:C,title:"Industry"}),eg=(e,t)=>(0,n.jsx)(k,{control:e,errors:t,label:"no_of_employees",options:Z,title:"Number of Employees"}),eh=(e,t)=>(0,n.jsx)(k,{control:e,errors:t,label:"job_function",options:E,title:"Job Function"}),ef=e=>(0,n.jsx)("div",{className:"input-group-item",children:(0,n.jsxs)("div",{className:"input-group has-validation d-flex flex-nowrap align-items-center",children:[(0,n.jsx)("input",{type:"checkbox",id:"newsletter",value:"newsletter",...e("checkbox")}),(0,n.jsx)("label",{htmlFor:"newsletter",children:"I would like to receive the newsletter by email."})]})}),eb=(e,t)=>(0,n.jsxs)("div",{className:"input-group-item",children:[(0,n.jsx)("label",{htmlFor:"company",className:"required",children:"Company Name"}),(0,n.jsx)("input",{required:!0,id:"company",type:"text",name:"company",...e("company"),className:m()({"with-error":!!t.company}),autoComplete:"off"}),t.company&&(0,n.jsx)("div",{className:"input-error",children:t.company.message})]}),e_=e=>(0,n.jsx)("input",{type:"hidden",required:!0,name:"csrf_token",...e("csrf_token"),autoComplete:"off"}),ex=(e,t)=>{var r;return(0,n.jsxs)("div",{className:"input-group-item",children:[(0,n.jsx)("label",{htmlFor:"contact_number",className:"required",children:"Phone"}),(0,n.jsxs)("div",{className:"input-group d-flex align-items-center has-validation",children:[(0,n.jsx)("input",{required:!0,id:"contact_number",type:"tel",name:"contact_number",...e("contact_number"),className:m()({"with-error":!!(null==t?void 0:t.contact_number)}),autoComplete:"off"}),(0,n.jsx)("input",{required:!0,id:"country",type:"text",name:"country",autoComplete:"off",ref:O,hidden:!0})]}),(null==t?void 0:t.contact_number)&&(0,n.jsx)("div",{className:"input-error",children:null==t?void 0:null===(r=t.contact_number)||void 0===r?void 0:r.message})]})},ey=(e,t)=>(0,n.jsx)(k,{control:e,errors:t,label:"reason",options:eo(q),title:"Access App Intelligence via..."});return(0,n.jsxs)("div",{className:"user-form register-form",children:[(0,n.jsxs)("p",{className:"user-form-top-text",children:[1===b&&"Let’s start!",2===b&&"Tell us more about you!",(3===b||4===b)&&"You're almost finished!"]}),(0,n.jsx)("div",{className:"register-progress",children:(0,n.jsxs)("div",{className:"register-progress-bar d-flex justify-content-between",children:[(0,n.jsx)("div",{className:"register-progress-bar-line",children:(0,n.jsx)("div",{className:"register-progress-bar-inner",style:{width:"".concat(b/(p?1:3)*100,"%")}})}),!p&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("button",{className:m()({active:1===b},"register-progress-bar-link step-one"),onClick:()=>_(1),"data-title":"Email"}),(0,n.jsx)("button",{className:m()({active:2===b},"register-progress-bar-link step-two"),onClick:e=>{1===b&&X(el)(e),3===b&&_(2)},"data-title":"Personal"}),(0,n.jsx)("button",{className:m()({active:3===b},"register-progress-bar-link step-tree"),onClick:e=>{1===b&&X(el)(e),2===b&&$(ec)(e)},"data-title":"Company"})]})]})}),1===b&&(0,n.jsxs)(l.Z,{noValidate:!0,onSubmit:X(el),children:[R&&(0,n.jsx)("div",{className:"alert alert-danger text-center",children:R}),(0,n.jsxs)("div",{className:"input-group-item",children:[(0,n.jsx)("label",{htmlFor:"email",className:"required",children:"Work Email"}),(0,n.jsx)("input",{required:!0,id:"email",type:"email",name:"email",placeholder:"name@mail.com",...U("email",{onChange:e=>D(e.target.value)}),className:m()({"with-error":!!B.email}),autoComplete:"off"}),B.email&&(0,n.jsx)("div",{className:"input-error",children:B.email.message})]}),(0,n.jsxs)("div",{className:"input-group-item",children:[(0,n.jsx)("label",{htmlFor:"password",className:"required",children:"Password"}),(0,n.jsxs)("div",{className:"input-group has-validation validator-checklist-wrapper",children:[(0,n.jsx)("input",{required:!0,id:"password",type:S?"text":"password",name:"password",placeholder:"********",...U("password",{onChange:e=>Y((0,w.Sx)(e.target.value,M,!0))}),className:m()("password-field",{"with-error":!!B.password}),autoComplete:"off"}),(0,n.jsx)(v.Z,{checklist:G}),(0,n.jsx)("button",{type:"button",className:m()({active:S},"btn pass-toggle input-group-text"),onClick:()=>P(e=>!e)})]}),B.password&&(0,n.jsx)("div",{className:"input-error",children:B.password.message})]}),(0,n.jsx)("button",{className:"btn btn-primary btn-circled",type:"submit",id:"submit-step-one",children:"Next"}),(0,n.jsx)("p",{className:"user-form-create-text d-flex align-items-center justify-content-center",children:"Or create an account with"}),(0,n.jsxs)("div",{className:"social-registration",children:[(0,n.jsxs)(d.Z,{href:"/user/social/auth/google",className:"btn btn-circled btn-outline-primary social-user-link d-flex align-items-center justify-content-center",children:[(0,n.jsx)(u.ZP,{src:"/registration/google.svg",width:"20",height:"20",alt:"Google icon"}),"Your Google Account"]}),(0,n.jsxs)(d.Z,{href:"/user/social/auth/linkedin",className:"btn btn-circled btn-outline-primary social-user-link d-flex align-items-center justify-content-center",children:[(0,n.jsx)(u.ZP,{src:"/registration/linkedin.svg",width:"20",height:"20",alt:"Linkedin icon"}),"Your LinkedIn Account"]})]}),(0,n.jsxs)("p",{className:"user-form-login-text",children:["Already have an account? ",(0,n.jsx)(d.Z,{href:"/user/login",children:"Login here."})]})]}),2===b&&(0,n.jsxs)(l.Z,{noValidate:!0,onSubmit:$(ec),children:[(0,n.jsxs)("div",{className:"input-group-item",children:[(0,n.jsx)("label",{htmlFor:"first_name",className:"required",children:"First Name"}),(0,n.jsx)("input",{required:!0,id:"first_name",type:"text",name:"first_name",...H("first_name"),className:m()({"with-error":!!J.first_name}),autoComplete:"off"}),J.first_name&&(0,n.jsx)("div",{className:"input-error",children:J.first_name.message})]}),(0,n.jsxs)("div",{className:"input-group-item",children:[(0,n.jsx)("label",{htmlFor:"last_name",className:"required",children:"Last Name"}),(0,n.jsx)("input",{required:!0,id:"last_name",type:"text",name:"last_name",...H("last_name"),className:m()({"with-error":!!J.last_name}),autoComplete:"off"}),J.last_name&&(0,n.jsx)("div",{className:"input-error",children:J.last_name.message})]}),ex(H,J),ey(K,J),(0,n.jsx)("button",{className:"btn btn-primary btn-circled",type:"submit",id:"submit-step-two",children:"Next"})]}),3===b&&(0,n.jsxs)(l.Z,{noValidate:!0,onSubmit:ee(ed),children:[e_(Q),eb(Q,et),ep(er,et),eg(er,et),eh(er,et),ef(Q),R&&(0,n.jsx)("div",{className:"alert alert-danger text-center",children:R}),(0,n.jsx)("button",{className:m()("btn btn-primary btn-circled",{disabled:L}),type:"submit",id:"submit-step-tree",children:"Start your free trial!"})]}),4===b&&(0,n.jsxs)(l.Z,{noValidate:!0,onSubmit:ea(ed),children:[(0,n.jsx)("input",{type:"hidden",required:!0,name:"email",...en("email"),value:(null==a?void 0:a.email)||"",autoComplete:"off"}),(0,n.jsx)("input",{type:"hidden",required:!0,name:"social_id",...en("social_id"),value:(null==a?void 0:a.social_id)||"",autoComplete:"off"}),(0,n.jsx)("input",{type:"hidden",required:!0,name:"social_provider",...en("social_provider"),value:(null==a?void 0:a.social_provider)||"",autoComplete:"off"}),(0,n.jsxs)("div",{className:"input-group-item",children:[(0,n.jsx)("label",{htmlFor:"first_name",className:"required",children:"First Name"}),(0,n.jsx)("input",{required:!0,id:"first_name",type:"text",name:"first_name",defaultValue:(null==a?void 0:a.first_name)||"",...en("first_name"),className:m()({"with-error":!!es.first_name}),autoComplete:"off"}),es.first_name&&(0,n.jsx)("div",{className:"input-error",children:es.first_name.message})]}),(0,n.jsxs)("div",{className:"input-group-item",children:[(0,n.jsx)("label",{htmlFor:"last_name",className:"required",children:"Last Name"}),(0,n.jsx)("input",{required:!0,id:"last_name",type:"text",name:"last_name",defaultValue:(null==a?void 0:a.last_name)||"",...en("last_name"),className:m()({"with-error":!!es.last_name}),autoComplete:"off"}),es.last_name&&(0,n.jsx)("div",{className:"input-error",children:es.last_name.message})]}),e_(en),ex(en,es),eb(en,es),ey(ei,es),ep(ei,es),eg(ei,es),eh(ei,es),ef(en),R&&(0,n.jsx)("div",{className:"alert alert-danger text-center",children:R}),(0,n.jsx)("button",{className:m()("btn btn-primary btn-circled",{disabled:L}),type:"submit",id:"submit-step-social",children:"Start your free trial!"})]}),(0,n.jsxs)("p",{className:"user-form-bottom-text",children:["In signing up for a free trial, you agree to the ",(0,n.jsx)(d.Z,{href:"/tos",target:"_blank",children:"Terms"})," and ",(0,n.jsx)(d.Z,{href:"/privacy",target:"_blank",children:"Privacy Policy"})," of 42matters."]})]})};P.propTypes={initialCountryIso:_().string,submitCallback:_().func,csrfToken:_().string,isSocial:_().bool,user:_().object};var I=(0,s.memo)(P)},52372:function(e,t,r){var n=r(85893),a=r(94184),s=r.n(a),i=r(1007);r(67294);var o=r(45697),l=r.n(o);let c=e=>{let{checklist:t=[]}=e;return t.length?(0,n.jsxs)("div",{className:"validator-checklist m-0",children:[(0,n.jsx)("div",{className:"validator-checklist-title fw-600",children:"Password must-haves:"}),(0,n.jsx)("ul",{children:t.map(e=>{let{text:t="",isValid:r=!0}=e;return(0,n.jsxs)("li",{className:s()("d-flex align-items-center",{valid:r}),children:[(0,n.jsx)(i.ZP,{src:"/registration/checkbox-green.svg",width:"14",height:"14",alt:"Checkbox icon"}),t]},t)})}),(0,n.jsx)(i.ZP,{className:"validator-checklist-arrow",src:"/registration/checklist-arrow.svg",width:"13",height:"26",alt:"Border icon"})]}):null};c.propTypes={checklist:l().arrayOf(l().shape({text:l().string,isValid:l().bool}))},t.Z=c},41207:function(e,t,r){r.d(t,{Sx:function(){return i},Z7:function(){return s}});var n=r(98093);let a={notEqualEmail:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e!==t},minLength:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.length>=10},passwordUppercase:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return/[A-Z]/.test(e)},passwordLowercase:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return/[a-z]/.test(e)},passwordSpecialChar:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return/([!,%,&,@,#,$,^,*,?,_,~])/.test(e)},passwordNumber:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return/[0-9]/.test(e)},noSpaces:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return 0>e.indexOf(" ")},sameConfirmationPass:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e===t}},s=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],{notEqualEmail:s,noSpaces:i,passwordNumber:o,passwordLowercase:l,passwordUppercase:c,passwordSpecialChar:m,wrongConfirmationPass:d}=n.lX.password;return a.notEqualEmail(e,t.parent.email)?a.noSpaces(e)?a.passwordNumber(e)?a.passwordLowercase(e)?a.passwordUppercase(e)?a.passwordSpecialChar(e)?!r||!!a.sameConfirmationPass(e,t.parent.password)||t.createError({message:d}):t.createError({message:m}):t.createError({message:c}):t.createError({message:l}):t.createError({message:o}):t.createError({message:i}):t.createError({message:s})},i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=[{label:"minLength",text:"Use at least 10 characters",isValid:a.minLength(e)},{label:"passwordUppercase",text:"At least one uppercase",isValid:a.passwordUppercase(e)},{label:"passwordLowercase",text:"At least one lowercase",isValid:a.passwordLowercase(e)},{label:"passwordSpecialChar",text:"At least one special character",isValid:a.passwordSpecialChar(e)},{label:"passwordNumber",text:"At least one number",isValid:a.passwordNumber(e)},{label:"noSpaces",text:"No spaces",isValid:a.noSpaces(e)}];return r&&s.unshift({label:"notEqualEmail",text:"Different from your email",isValid:a.notEqualEmail(e,t)}),n&&s.unshift({label:"wrongConfirmationPass",text:"Same confirmation value",isValid:a.sameConfirmationPass(e,t)}),s}}}]);