PageSourceSearch

https://jobs.massarbeit-personalservice.de/Onboarding.b977ebaa136baf3355b4.js

js massarbeit-personalservice.de collected 2026-10-07 05:13:45 UTC 91,259 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkgustav_enroll_frontend=self.webpackChunkgustav_enroll_frontend||[]).push([[5016],{"./app/containers/Locations/actions.js"(e,t,n){n.d(t,{zn:()=>i});var o=n("./app/utils/index.js"),r=n("./app/containers/Locations/constants.js");function i(e){return function(t){return new Promise((function(n,i){t({type:r.z8}),(0,o.zA)("/locations/places",e).then((function(e){t({type:r.XZ,places:e}),n(e)})).catch((function(e){t({type:r.Kk,error:e}),i(e)}))}))}}},"./app/containers/Onboarding/Onboarding.js"(e,t,n){n.r(t),n.d(t,{Onboarding:()=>br,default:()=>hr});var o=n("./node_modules/lodash/isEmpty.js"),r=n.n(o),i=n("./node_modules/lodash/pick.js"),a=n.n(i),l=n("./node_modules/lodash/isString.js"),s=n.n(l),c=n("./node_modules/lodash/filter.js"),u=n.n(c),p=n("./node_modules/lodash/get.js"),d=n.n(p),f=n("./node_modules/react/index.js"),y=(n("./node_modules/prop-types/index.js"),n("./node_modules/redux/es/redux.js")),m=n("./node_modules/react-redux/es/index.js"),b=n("./node_modules/reselect/es/index.js"),h=n("./node_modules/react-router/es
1/withRouter.js"),g=n("./app/containers/App/selectors.js"),v=n("./app/containers/CompanyProfile/actions.js"),O=n("./app/containers/UserProfile/actions.js"),j=n("./app/containers/Locations/actions.js"),w=n("./node_modules/redux-first-history/build/es6/index.js"),P=n("./app/utils/index.js"),S=n("./app/components/scripts/segment.js"),_=n("./app/containers/App/actions/ui.js"),A=n("./app/components/utils/flashMessages/index.js"),k=n("./app/containers/Onboarding/constants.js"),I=n("./node_modules/react-intl/lib/index.js");const N=(0,I.YK)({genericScreenSubTitle:{id:"app.scenes.account.ONboarding.subTitleWelcome",defaultMessage:"You’re signing up as {email}"},uploadProfilePic:{id:"app.scenes.account.Onboarding.uploadProfilePic",defaultMessage:"Upload your profile picture"},uploadCompanyLogo:{id:"app.scenes.account.Onboarding.uploadCompanyLogo",defaultMessage:"Upload your company logo"},continueButton:{id:"app.scenes.account.Onboarding.continueButton",defaultMessage:"Continue"},backButton:{id:"app.scenes.account.Onboarding.backButton",defaultMessage:"Back"},removeLink:{id:"app.scenes.account.Onboarding.removeLink",defaultMessage:"Remove"},titleWelcome:{id:"app.scenes.account.Onboarding.titleWelcome",defaultMessage:"Welcome to {platform}"},labelFirstName:{id:"app.scenes.account.Onboarding.labelFirstName",defaultMessage:"First name"},placeholderFirstName:{id:"app.scenes.account.Onboarding.placeholderFirstName",defaultMessage:"Enter your first name"},labelLastName:{id:"app.scenes.account.Onboarding.labelLastName",defaultMessage:"Last name"}
1,placeholderLastName:{id:"app.scenes.account.Onboarding.placeholderLastName",defaultMessage:"Enter your last name"},titleSetPassword:{id:"app.scenes.account.Onboarding.titleSetPassword",defaultMessage:"Set your password"},labelPassword:{id:"app.scenes.account.Onboarding.labelPassword",defaultMessage:"Password"},placeholderPassword:{id:"app.scenes.account.Onboarding.placeholderPassword",defaultMessage:"Enter a password"},signupAgree:{id:"app.components.Onboarding.signupAgree",defaultMessage:"By signing up, you agree to our {terms} and {privacyPolicy}"},terms:{id:"app.components.Onboarding.terms",defaultMessage:"Terms of Use"},privacyPolicy:{id:"app.components.Onboarding.privacyPolicy",defaultMessage:"Privacy Policy"},titleCreateCompany:{id:"app.scenes.account.Onboarding.titleCreateCompany",defaultMessage:"Tell us about your company"},labelCompanyName:{id:"app.scenes.account.Onboarding.labelCompanyName",defaultMessage:"Company name"},placeholderCompany:{id:"app.scenes.account.Onboarding.placeholderCompany",defaultMessage:"Select a company"},placeholderCompanyName:{id:"app.scenes.account.Onboarding.placeholderCompanyName",defaultMessage:"Enter your company’s name"},titleAboutYourself:{id:"app.scenes.account.Onboarding.titleAboutYourself",defaultMessage:"{firstName}, tell us a little bit more about yourself."},labelPosition:{id:"app.scenes.account.Onboarding.labelPosition",defaultMessage:"Position"},placeholderPosition:{id:"app.scenes.account.Onboarding.placeholderPosition",defaultMessage:"What is your role"},labelLocation:{id:"app.scenes.account.Onboarding.labelLocation",defaultMessage:"Your location (city)"},placeholderLocation:{id:"app.scenes.account.Onboarding.placeholderLocation",defaultMessage:"Enter the location you are working from"},titlePersonalProfile:{id:"app.scenes.account.Onboarding.titlePersonalProfile",defaultMessage:"Personalize your profile"},subtitlePersonalProfile:{id:"app.scenes.account.Onboarding.subtitlePersonalProfile",defaultMessage:"We’re thrilled to have you here.\nLet’s personalize your account."},labelPhoneNumber:{id:"app.scenes.account.Onboarding.labelPhoneNumber",defaultMessage:"Phone number"},placeholderPhoneNumber:{id:"app.scenes.account.Onboarding.placeholderPhoneNumber",defaultMessage:"Enter a phone number"},labelLinkedIn:{id:"app.scenes.account.Onboarding.labelLinkedIn",defaultMessage:"LinkedIn"},placeholderLinkedIn:{id:"app.scenes.account.Onboarding.placeholderLinkedIn",defaultMessage:"Enter your LinkedIn url"},titleCompanyProfile:{id:"app.scenes.account.Onboarding.headerCompanyProfile",defaultMessage:"Personalize your company’s profile."},labelHeadquarter:{id:"app.scenes.account.Onboarding.labelHeadquarter",defaultMessage:"Headquarter (city)"},placeholderHeadquarter:{id:"app.scenes.account.Onboarding.placeholderHeadquarter",defaultMessage:"e.g., London"},titleFinished:{id:"app.scenes.account.Onboarding.titleFinished",defaultMessage:"You’re all set!"},subtitleFinishedGustav:{id:"app.scenes.account.Onboarding.subtitleFinishedGustav",defaultMessage:"You are now ready to get started with Gustav!"},subtitleFinishedCandidately:{id:"app.scenes.account.Onboarding.subtitleFinishedCandidately",defaultMessage:"You are ready to create your first list!"},launch:{id:"app.scenes.account.Onboarding.launch",defaultMessage:"Launch Candidate.ly"},titleDiscovery:{id:"app.scenes.account.Onboarding.titleDiscovery",defaultMessage:"Help us tailor your Candidately experience"},subtitleDiscovery:{id:"app.scenes.account.Onboarding.subtitleDiscovery",defaultMessage:"A few quick questions to get you started"},hearAboutLabel:{id:"app.scenes.account.Onboarding.hearAboutLabel",defaultMessage:"Where did you hear about Candidately?"},hearAboutPlaceholder:{id:"app.scenes.account.Onboarding.hearAboutPlaceholder",defaultMessage:"Choose one that best applies"},onboardingHearAboutOther:{id:"app.scenes.account.Onboarding.onboardingHearAboutOther",defaultMessage:"Please specify"},candidatesSubmittedLabel:{id:"app.scenes.account.Onboarding.candidatesSubmittedLabel",defaultMessage:"How many candidates does your company submit each month?"},candidatesSubmittedPlaceholder:{id:"app.scenes.account.Onboarding.candidatesSubmittedPlaceholder",defaultMessage:"Select an estimate"},hearAboutLinkedIn:{id:"app.scenes.account.Onboarding.hearAboutLinkedIn",defaultMessage:"LinkedIn"},hearAboutGoogle:{id:"app.scenes.account.Onboarding.hearAboutGoogle",defaultMessage:"Google / Search Engine"},hearAboutBullhorn:{id:"app.scenes.account.Onboarding.hearAboutBullhorn",defaultMessage:"Bullhorn Marketplace"},hearAboutReferral:{id:"app.scenes.account.Onboarding.hearAboutReferral",defaultMessage:"Referral (Friend/Colleague)"},hearAboutIndustryEvent:{id:"app.scenes.account.Onboarding.hearAboutIndustryEvent",defaultMessage:"Industry Event / Webinar"},hearAboutEmail:{id:"app.scenes.account.Onboarding.hearAboutEmail",defaultMessage:"Email Outreach"},hearAboutWorldStuffingSummit:{id:"app.scenes.account.Onboarding.hearAboutWorldStuffingSummit",defaultMessage:"World Staffing Summit / Awards"},hearAboutOther:{id:"app.scenes.account.Onboarding.hearAboutOther",defaultMessage:"Other"},candidatesSubmittedRangeOfTen:{id:"app.scenes.account.Onboarding.candidatesSubmittedRangeOfTen",defaultMessage:"1-10"},candidatesSubmittedRangeOfFifty:{id:"app.scenes.account.Onboarding.candidatesSubmittedRangeOfFifty",defaultMessage:"10-50"},candidatesSubmittedRangeOfTwoHundred:{id:"app.scenes.account.Onboarding.candidatesSubmittedRangeOfTwoHunderd",defaultMessage:"51-200"},candidatesSubmittedRangeOfFiveHundred:{id:"app.scenes.account.Onboarding.candidatesSubmittedRangeOfFiveHundred",defaultMessage:"201-500"},candidatesSubmittedRangeOfOneThousand:{id:"app.scenes.account.Onboarding.candidatesSubmittedRangeOfOneThousand",defaultMessage:"501-1000"},candidatesSubmittedMoreThanThousand:{id:"app.scenes.account.Onboarding.candidatesSubmittedMoreThanThousand",defaultMessage:"1000+"},companyNameTakenError:{id:"app.components.Onboarding.companyNameTakenError",defaultMessage:"Company name already used!"},invitedYou:{id:"app.components.Onboarding.invitedYou",defaultMessage:"{name} invited you to"}});var x={companyNameTakenError:{context:[{detail:N.companyNameTakenError}],status:"error"}};var C=n("./app/components/utils/object.js");function M(e){var t=a()(e,["email","firstName","lastName","password","position","location","phoneNumber","linkedin","company"]);return{user:(0,C.Tg)(t),company:{billing_address:e.headquarter,logo:d()(e,"logo.url",e.logo),name:e.companyName,onboarding_hear_about:e.onboardingHearAbout,onboarding_hear_about_other:e.onboardingHearAboutOther,onboarding_candidates_submitted:e.onboardingCandidatesSubmitted}}}var T={firstName:{id:"first_name",ref:"firstName",label:N.labelFirstName,placeholder:N.placeholderFirstName,inputType:"first_name",required:!0},lastName:{id:"last_name",ref:"lastName",label:N.labelLastName,placeholder:N.placeholderL
1astName,inputType:"last_name",required:!0},password:{id:"password",ref:"password",label:N.labelPassword,placeholder:N.placeholderPassword,inputType:"password",required:!0,maxlength:64},companyName:{id:"company_name",ref:"companyName",label:N.labelCompanyName,placeholder:N.placeholderCompanyName,inputType:"company_name",required:!0},position:{id:"position",label:N.labelPosition,placeholder:N.placeholderPosition,inputType:"text",required:!1},location:{id:"location",label:N.labelLocation,placeholder:N.placeholderLocation,inputType:"autocomplete",required:!1,minlength:3},profilePicture:{id:"profilePicture",detail:N.uploadProfilePic,required:!1,shape:"rounded"},phoneNumber:{id:"phone_number",ref:"phoneNumber",label:N.labelPhoneNumber,placeholder:N.placeholderPhoneNumber,inputType:"text",required:!1},linkedin:{id:"linkedin",label:N.labelLinkedIn,placeholder:N.placeholderLinkedIn,inputType:"link",required:!1},logo:{id:"logo",detail:N.uploadCompanyLogo,required:!1},headquarter:{id:"headquarter",label:N.labelHeadquarter,placeholder:N.placeholderHeadquarter,inputType:"autocomplete",required:!1,minlength:3},onboardingHearAbout:{id:"onboarding_hear_about",ref:"onboardingHearAbout",label:N.hearAboutLabel,placeholder:{slug:null,linkName:N.hearAboutPlaceholder},inputType:"option",listWithoutPlaceholder:!0,required:!0,options:[{slug:"linkedIn",linkName:N.hearAboutLinkedIn},{slug:"google",linkName:N.hearAboutGoogle},{slug:"bullhorn",linkName:N.hearAboutBullhorn},{slug:"referral",linkName:N.hearAboutReferral},{slug:"industry_event",linkName:N.hearAboutIndustryEvent},{slug:"email",linkName:N.hearAboutEmail},{slug:"world_stuffing_summit",linkName:N.hearAboutWorldStuffingSummit},{slug:"other",linkName:N.hearAboutOther}]},onboardingHearAboutOther:{id:"onboarding_hear_about_other",ref:"onboardingHearAboutOther",placeholder:N.onboardingHearAboutOther,inputType:"text",required:!1},onboardingCandidatesSubmitted:{id:"onboarding_candidates_submitted",ref:"onboardingCandidatesSubmitted",label:N.candidatesSubmittedLabel,placeholder:{slug:null,linkName:N.candidatesSubmittedPlaceholder},inputType:"option",listWithoutPlaceholder:!0,required:!0,options:[{slug:"1-10",linkName:N.candidatesSubmittedRangeOfTen},{slug:"10-50",linkName:N.candidatesSubmittedRangeOfFifty},{slug:"51-200",linkName:N.candidatesSubmittedRangeOfTwoHundred},{slug:"201-500",linkName:N.candidatesSubmittedRangeOfFiveHundred},{slug:"501-1000",linkName:N.candidatesSubmittedRangeOfOneThousand},{slug:"1000+",linkName:N.candidatesSubmittedMoreThanThousand}]}},E=n("./node_modules/react-router-dom/es/Route.js"),L=n("./node_modules/react-router-dom/es/Switch.js"),D=n("./node_modules/react-router-dom/es/Redirect.js"),U=n("./node_modules/react-router-dom/es/withRouter.js"),B=n("./node_modules/p-debounce/index.js"),R=n("./app/themes.js"),F=n("./app/components/feedback/loading/index.ts"),H=n("./node_modules/styled-components/dist/styled-components.browser.esm.js"),J=n("./app/components/utils/styles/ui.ts"),q=n("./app/components/form/label/label.tsx"),Y=n("./app/components/elements/button.tsx"),W=n("./app/components/elements/styles/icon.ts"),z=n("./app/scenes/account/sharedComponents/styles/index.js"),G=n("./app/components/elements/styles/button.tsx"),V=n("./app/components/form/image/styles/image.js"),Z=n("./app/scenes/account/sharedComponents/roundIcon.js"),$=n("./app/components/structure/form/styles/form.tsx"),K=n("./app/components/elements/icon.tsx"),Q=n("./app/components/visual/avatar/avatar.tsx"),X="1366px",ee=H.Ay.div.withConfig({displayName:"styles__Layout",componentId:"sc-1sk7tvq-0"})(["background-color:",";"],J.Jy.white),te=H.Ay.div.withConfig({displayName:"styles__Container",componentId:"sc-1sk7tvq-1"})(["display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;width:100%;"]),ne=H.Ay.img.withConfig({displayName:"styles__Logo",componentId:"sc-1sk7tvq-2"})(["margin-top:6vh;"]),oe=H.Ay.span.withConfig({displayName:"styles__StepText",componentId:"sc-1sk7tvq-3"})(["color:",";margin-left:0.6rem;"],J.Jy.text),re=H.Ay.div.withConfig({displayName:"styles__StepBar",componentId:"sc-1sk7tvq-4"})(["height:0.4rem;border-radius:5rem;margin-top:1rem;width:100%;background-color:",";"],(function(e){return e.active?J.Jy.teal:J.Jy.labelBg})),ie=H.Ay.div.withConfig({displayName:"styles__Step",componentId:"sc-1sk7tvq-5"})(["align-items:center;display:flex;flex:1 0;flex-wrap:wrap;margin:0 0.3rem;@media (max-width:","){flex-basis:auto;}"],X),ae=H.Ay.div.withConfig({displayName:"styles__StepsContainer",componentId:"sc-1sk7tvq-6"})(["position:fixed;left:0;width:100%;bottom:0;padding:2.4rem 10rem;background-color:",";"],J.Jy.white),le=H.Ay.div.withConfig({displayName:"styles__StepsGroup",componentId:"sc-1sk7tvq-7"})(["display:flex;margin:0 auto;position:relative;width:100%;@media (max-width:","){margin:0 -0.3rem;}"],X),se=H.Ay.div.withConfig({displayName:"styles__InactiveIcon",componentId:"sc-1sk7tvq-8"})(["background-color:",";border-radius:50%;height:2.2rem;width:2.2rem;margin:0.25rem;",";"],(function(e){return e.active?J.Jy.teal:J.Jy.white}),(function(e){return!e.active&&(0,H.AH)(["border:1px solid ",";"],J.Jy.outline)})),ce=(0,H.Ay)(z.MG).withConfig({displayName:"styles__AlignCenterContainer",componentId:"sc-1sk7tvq-9"})(["max-width:initial;align-items:center;margin:0;"]),ue=(0,H.AH)(["margin-top:3rem;margin-bottom:3rem;
1"]),pe=H.Ay.form.withConfig({displayName:"styles__ContentContainer",componentId:"sc-1sk7tvq-10"})(["display:flex;justify-content:center;min-height:calc(100vh - ",");max-width:58.4rem;flex-direction:column;align-items:center;",";> h1{text-align:center;}"],"16rem",(function(e){return"personal-profile"===e.for&&ue})),de=H.Ay.div.withConfig({displayName:"styles__FieldsetContainer",componentId:"sc-1sk7tvq-11"})(["display:flex;flex-wrap:wrap;justify-content:center;margin:3vh 0;width:47rem;",";~ button{margin:0 35%;}"],(function(e){return"tailor-experience"===e.for&&"margin: 4.8rem 0"})),fe=(0,H.Ay)(z.zE).withConfig({displayName:"styles__FormTitle",componentId:"sc-1sk7tvq-12"})(["margin-bottom:0;"]),ye=H.Ay.div.withConfig({displayName:"styles__TitleWrapper",componentId:"sc-1sk7tvq-13"})(["width:100%;display:flex;flex-direction:column;align-items:center;> ","{text-align:center;width:40rem;}"],fe),me=(0,H.Ay)(z.wJ).withConfig({displayName:"styles__SubTitle",componentId:"sc-1sk7tvq-14"})(["margin-top:1.2rem;text-align:center;width:100%;white-space:pre-line;color:",";"],J.Jy.textLighter),be=H.Ay.div.withConfig({displayName:"styles__DivCentered",componentId:"sc-1sk7tvq-15"})(["display:flex;justify-content:center;margin-bottom:2.4rem;width:100%;"]),he=H.Ay.div.withConfig({displayName:"styles__UploadContainer",componentId:"sc-1sk7tvq-16"})(["margin:4.8rem auto;","{padding:2rem;}","{padding:0.5rem auto;font-size:1.3rem;}","{padding:0.4rem 0;}"],V.$G,V.kZ,V.xp),ge=((0,H.Ay)(q.l).withConfig({displayName:"styles__FormLabel",componentId:"sc-1sk7tvq-17"})(["width:100%;"]),H.Ay.div.withConfig({displayName:"styles__LocationFooter",componentId:"sc-1sk7tvq-18"})(["text-align:right;padding:0 1rem;& > img{width:12rem;}"])),ve=H.Ay.img.withConfig({displayName:"styles__Image",componentId:"sc-1sk7tvq-19"})([""]),Oe=((0,H.Ay)(Y.$n).withConfig({displayName:"styles__CloseButton",componentId:"sc-1sk7tvq-20"})(["cursor:pointer;position:absolute;top:1rem;right:1rem;& > ","{stroke:"," !important;}"],W.Y9,J.Jy.text),H.Ay.div.withConfig({displayName:"styles__FieldDescription",componentId:"sc-1sk7tvq-21"})(["color:",";margin:0.6rem 0;"],J.Jy.textLight),H.Ay.div.withConfig({displayName:"styles__ActionsWrapper",componentId:"sc-1sk7tvq-22"})(["align-items:center;display:flex;width:100%;",";& > ",":nth-of-type(1){margin-right:1.5rem;height:4rem;}"],(function(e){return"personal-profile"===e.for&&"margin-bottom: 10rem"}),G.$n)),je=(0,H.Ay)(pe).withConfig({displayName:"styles__FullHeightScrollableContainer",componentId:"sc-1sk7tvq-23"})(["height:100%;align-items:center;overflow:visible;> ","{align-self:flex-end;inline-size:41.8rem;overflow-wrap:break-word;}> ","{margin-top:4rem;margin-bottom:0;}> ","{align-self:flex-start;}"],fe,de,Oe),we=H.Ay.div.withConfig({displayName:"styles__InviterSection",componentId:"sc-1sk7tvq-24"})(["align-items:center;display:flex;background-color:",";border-radius:0.8rem;margin-top:2.4rem;padding:1.6rem;width:100%;"],J.Jy.headerBG),Pe=H.Ay.div.withConfig({displayName:"styles__InviterInfo",componentId:"sc-1sk7tvq-25"})(["margin-left:1.6rem;"]),Se=H.Ay.div.withConfig({displayName:"styles__InviterEmail",componentId:"sc-1sk7tvq-26"})(["",";color:",";"],(function(e){return e.theme.typography.text.small}),J.Jy.textLight),_e=H.Ay.div.withConfig({displayName:"styles__InviterCompanyName",componentId:"sc-1sk7tvq-27"})(["",";color:",";"],(function(e){return e.theme.typography.text.medium}),J.Jy.text),Ae=(0,H.Ay)(Y.$n).withConfig({displayName:"styles__LaunchButton",componentId:"sc-1sk7tvq-28"})(["width:100%;height:4rem;"]),ke=H.Ay.div.withConfig({displayName:"styles__RemoveLink",componentId:"sc-1sk7tvq-29"})(["text-decoration:underline;color:",";cursor:pointer;margin:0.8rem auto;text-align:center;"],J.Jy.textLighter),Ie=(0,H.Ay)(z.wJ).withConfig({displayName:"styles__LightText",componentId:"sc-1sk7tvq-30"})(["margin-top:-2.4rem;margin-bottom:4.8rem;"]);const Ne=(0,I.YK)({welcome:{id:"app.scenes.onboarding.steps.welcome",defaultMessage:"Welcome"},setPassword:{id:"app.scenes.onboarding.steps.setPassword",defaultMessage:"Set Password"},createCompany:{id:"app.scenes.onboarding.steps.createCompany",defaultMessage:"Create Company"},aboutYourself:{id:"app.scenes.onboarding.steps.aboutYourself",defaultMessage:"About Yourself"},personalProfile:{id:"app.scenes.onboarding.steps.personalProfile",defaultMessage:"Personal Profile"},companyProfile:{id:"app.scenes.onboarding.steps.companyProfile",defaultMessage:"Company Profile"},tailorExperience:{id:"app.scenes.onboarding.steps.tailorExperience",defaultMessage:"Tailor Experience"}});var xe,Ce="welcome",Me="setPassword",Te="createCompany",Ee="aboutYourself",Le="personalProfile",De="companyProfile",Ue="tailorExperience",Be=[Ce,Me,Te,Ee,Le,De,Ue],Re=n("./node_modules/react/jsx-runtime.js"),Fe=n("./node_modules/react-intl/lib/src/components/message.js");function He(e,t,n,o){xe||(xe="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=o;else if(i>1){for(var a=Array(i),l=0;l<i;l++)a[l]=arguments[l+3];t.children=a}if(t&&r)for(var s in r)void 0===t[s]&&(t[s]=r[s]);else t||(t=r||{});return{$$typeof:xe,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var Je,qe=He(K.In,{icon:"CheckCircle",size:2.4,color:"teal",weight:"fill"}),Ye=function(e){var t=e.active;return t?qe:He(se,{active:t})};function We(e){return We="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},We(e)}function ze(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Ge(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=We(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=We(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==We(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ve(e,t,n,o){Je||(Je="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=o;else if(i>1){for(var a=Array(i),l=0;l<i;l++)a[l]=arguments[l+3];t.children=a}if(t&&r)for(var s in r)void 0===t[s]&&(t[s]=r[s]);else t||(t=r||{});return{$$typeof:Je,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var Ze,$e,Ke=function(e){var t=e.text,n=e.active;return Ve(ie,{},void 0,Ve(Ye,{active:n}),Ve(oe,{},void 0,(0,Re.jsx)(Fe.A,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?ze(Object(n),!0).forEach((function(t){Ge(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ze(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t))),Ve(re,{active:n}))},Qe=n("./app/scenes/utils/form/hoc.tsx"),Xe=n("./app/components/utils/form-utils.ts");function et(e){return et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},et(e)}function tt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function nt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tt(Object(n),!0).forEach((function(t){ut(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ot(e,t,n,o){$e||($e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=o;else if(i>1){for(var a=Array(i),l=0;l<i;l++)a[l]=arguments[l+3];t.children=a}if(t&&r)for(var s in r)void 0===t[s]&&(t[s]=r[s]);else t||(t=r||{});return{$$typeof:$e,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function rt(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,pt(o.key),o)}}function it(e,t){return it=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},it(e,t)}function at(e){var t=st();return function(){var n,o=ct(e);if(t){var r=ct(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"==et(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return lt(e)}(this,n)}}function lt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function st(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(st=function(){return!!e})()}function ct(e){return ct=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ct(e)}function ut(e,t,n){return(t=pt(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pt(e){var t=function(e,t){if("object"!=et(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=et(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==et(t)?t:t+""}var dt,ft=["firstName","lastName"],yt=a()(T,ft),mt=(0,Qe.T)()(Ze=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&it(e,t)}(i,e);var t,n,o,r=at(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return ut(lt(e=r.call.apply(r,[this].concat(n))),"handleClick",(function(t){var n=e.props,o=n.saveForm,r=n.next,i=n.history;o(t).then((function(){i.push(r)}))})),ut(lt(e),"renderInviterSectionIfNeeded",(function(){var t=e.props.editObject.inviter;return!!t&&ot(we,{},void 0,ot(Q.e,{context:{picture:t.companyLogo,initials:t.companyName},shape:"square-rounded",size:"slarge"}),ot(Pe,{},void 0,ot(Se,{},void 0,(0,Re.jsx)(Fe.A,nt(nt({},N.invitedYou),{},{values:{name:"".concat(t.firstName," ").concat(t.lastName)}}))),ot(_e,{},void 0,t.companyName)))})),e}return t=i,n=[{key:"getErrorKeys",value:function(e){return(0,Xe.Yl)(e,yt)}},{key:"objectToSave",value:function(e){return e}},{key:"parseObject",value:function(e){return nt({mainContainer:ce},a()(e,ft))}},{key:"shouldSubmit",value:function(e){return!(0,Xe.lP)(e,yt)}},{key:"render",value:function(){var e=this.props,t=e.editObject,n=e.formObject,o=e.inputChange,r=e.shouldValidate;return ot(pe,{},void 0,ot(fe,{},void 0,(0,Re.jsx)(Fe.A,nt(nt({},N.titleWelcome),{},{values:{platform:R.A.platformNameComponent}}))),ot(me,{},void 0,(0,Re.jsx)(Fe.A,nt(nt({},N.genericScreenSubTitle),{},{values:{email:null==t?void 0:t.email}}))),this.renderInviterSectionIfNeeded(),ot(de,{},void 0,ot(z.LB,{fullWidth:!0,context:T.firstName,inputValue:null==n?void 0:n.firstName,shouldValidate:r,fn:function(e){return o("firstName",e)}}),ot(z.LB,{fullWidth:!0,context:T.lastName,inputValue:null==n?void 0:n.lastName,shouldValidate:r,fn:function(e){return o("lastName",e)}})),ot($.XT,{color:"tealDark",fullWidth:!0,onClick:this.handleClick,value:N.continueButton}))}}
1],n&&rt(t.prototype,n),o&&rt(t,o),Object.defineProperty(t,"prototype",{writable:!1}),i}(f.Component))||Ze,bt=(0,U.A)(mt),ht=n("./app/scenes/utils/i18n.js"),gt=n("./app/utils/constants.js");function vt(e){return vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vt(e)}function Ot(e,t,n,o){dt||(dt="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=o;else if(i>1){for(var a=Array(i),l=0;l<i;l++)a[l]=arguments[l+3];t.children=a}if(t&&r)for(var s in r)void 0===t[s]&&(t[s]=r[s]);else t||(t=r||{});return{$$typeof:dt,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function jt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function wt(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=vt(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=vt(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==vt(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Pt,St,_t=function(e){var t=e.history;return Ot(Y.$n,{color:"inputOutline",htmlType:"button",type:"outline",fullWidth:!0,onClick:function(e){e.preventDefault(),t.goBack()}},void 0,(0,Re.jsx)(Fe.A,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jt(Object(n),!0).forEach((function(t){wt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},N.backButton)))};function At(e){return At="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},At(e)}function kt(e,t,n,o){St||(St="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=o;else if(i>1){for(var a=Array(i),l=0;l<i;l++)a[l]=arguments[l+3];t.children=a}if(t&&r)for(var s in r)void 0===t[s]&&(t[s]=r[s]);else t||(t=r||{});return{$$typeof:St,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function It(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Nt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?It(Object(n),!0).forEach((function(t){Dt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):It(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xt(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,Ut(o.key),o)}}function Ct(e,t){return Ct=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ct(e,t)}function Mt(e){var t=Et();return function(){var n,o=Lt(e);if(t){var r=Lt(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"==At(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Tt(e)}(this,n)}}function Tt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Et(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Et=function(){return!!e})()}function Lt(e){return Lt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Lt(e)}function Dt(e,t,n){return(t=Ut(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ut(e){var t=function(e,t){if("object"!=At(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=At(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==At(t)?t:t+""}var Bt,Rt,Ft=["password"],Ht=a()(T,Ft),Jt=(0,Qe.T)()(Pt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ct(e,t)}(i,e);var t,n,o,r=Mt(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return Dt(Tt(e=r.call.apply(r,[this].concat(n))),"handleClick",(function(t){var n=e.props,o=n.saveForm,r=n.next,i=n.history;o(t).then((function(){i.push(r)}))}
1)),e}return t=i,n=[{key:"getErrorKeys",value:function(e){return(0,Xe.Yl)(e,Ht)}},{key:"objectToSave",value:function(e){return e}},{key:"parseObject",value:function(e){return Nt({mainContainer:ce},a()(e,Ft))}},{key:"shouldSubmit",value:function(e){return e.passwordValid?!(0,Xe.lP)(e,Ht):((0,A.KK)({context:[{detail:ht.A.passwordWeak}],status:"error"},{validationError:!0}),!1)}},{key:"render",value:function(){var e=this.props,t=e.editObject,n=e.formObject,o=e.inputChange,r=e.shouldValidate,i=e.history;return(0,Re.jsx)(Re.Fragment,{children:kt(pe,{},void 0,kt(fe,{},void 0,(0,Re.jsx)(Fe.A,Nt({},N.titleSetPassword))),kt(me,{},void 0,(0,Re.jsx)(Fe.A,Nt(Nt({},N.genericScreenSubTitle),{},{values:{email:null==t?void 0:t.email}}))),kt(de,{},void 0,kt($.AV,{fullWidth:!0,context:Ht.password,inputValue:null==n?void 0:n.password,shouldValidate:r,fn:function(e){return o("password",e)},onStrengthChange:function(e){return o("passwordValid",e)}})),kt(Ie,{},void 0,(0,Re.jsx)(Fe.A,Nt(Nt({},N.signupAgree),{},{values:{terms:kt(z.i5,{to:gt.p8,target:"_blank"},void 0,(0,Re.jsx)(Fe.A,Nt({},N.terms))),privacyPolicy:kt(z.i5,{to:gt.Qb,target:"_blank"},void 0,(0,Re.jsx)(Fe.A,Nt({},N.privacyPolicy)))}}))),kt(Oe,{},void 0,kt(_t,{history:i}),kt($.XT,{color:"tealDark",fullWidth:!0,onClick:this.handleClick,value:N.continueButton})))})}}],n&&xt(t.prototype,n),o&&xt(t,o),Object.defineProperty(t,"prototype",{writable:!1}),i}(f.Component))||Pt,qt=(0,U.A)(Jt);function Yt(e){return Yt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yt(e)}function Wt(e,t,n,o){Rt||(Rt="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=o;else if(i>1){for(var a=Array(i),l=0;l<i;l++)a[l]=arguments[l+3];t.children=a}if(t&&r)for(var s in r)void 0===t[s]&&(t[s]=r[s]);else t||(t=r||{});return{$$typeof:Rt,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function zt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Gt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zt(Object(n),!0).forEach((function(t){en(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Vt(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,tn(o.key),o)}}function Zt(e,t){return Zt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Zt(e,t)}function $t(e){var t=Qt();return function(){var n,o=Xt(e);if(t){var r=Xt(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"==Yt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Kt(e)}(this,n)}}function Kt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Qt=function(){return!!e})()}function Xt(e){return Xt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Xt(e)}function en(e,t,n){return(t=tn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tn(e){var t=function(e,t){if("object"!=Yt(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=Yt(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Yt(t)?t:t+""}var nn,on,rn=["companyName"],an=a()(T,rn),ln=(0,Qe.T)()(Bt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Zt(e,t)}(i,e);var t,n,o,r=$t(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return en(Kt(e=r.call.apply(r,[this].concat(n))),"handleClick",(function(t){var n=e.props,o=n.saveForm,r=n.next,i=n.history;o(t).then((function(){i.push(r)}))}
1)),e}return t=i,n=[{key:"getErrorKeys",value:function(e){return(0,Xe.Yl)(e,an)}},{key:"objectToSave",value:function(e){return e}},{key:"parseObject",value:function(e){return Gt({mainContainer:ce},a()(e,rn))}},{key:"shouldSubmit",value:function(e){return!(0,Xe.lP)(e,an)}},{key:"render",value:function(){var e=this.props,t=e.editObject,n=e.formObject,o=e.inputChange,r=e.shouldValidate,i=e.history;return(0,Re.jsx)(Re.Fragment,{children:Wt(pe,{},void 0,Wt(fe,{},void 0,(0,Re.jsx)(Fe.A,Gt({},N.titleCreateCompany))),Wt(me,{},void 0,(0,Re.jsx)(Fe.A,Gt(Gt({},N.genericScreenSubTitle),{},{values:{email:t.email}}))),Wt(de,{},void 0,Wt(z.LB,{fullWidth:!0,context:an.companyName,inputValue:n.companyName,shouldValidate:r,fn:function(e){return o("companyName",e)}})),Wt(Oe,{},void 0,Wt(_t,{history:i}),Wt($.XT,{color:"tealDark",fullWidth:!0,onClick:this.handleClick,value:N.continueButton})))})}}],n&&Vt(t.prototype,n),o&&Vt(t,o),Object.defineProperty(t,"prototype",{writable:!1}),i}(f.Component))||Bt,sn=(0,U.A)(ln),cn=n("./app/images/powered-by-google.png");function un(e){return un="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},un(e)}function pn(e,t,n,o){on||(on="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=o;else if(i>1){for(var a=Array(i),l=0;l<i;l++)a[l]=arguments[l+3];t.children=a}if(t&&r)for(var s in r)void 0===t[s]&&(t[s]=r[s]);else t||(t=r||{});return{$$typeof:on,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function dn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function fn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dn(Object(n),!0).forEach((function(t){On(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function yn(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,jn(o.key),o)}}function mn(e,t){return mn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},mn(e,t)}function bn(e){var t=gn();return function(){var n,o=vn(e);if(t){var r=vn(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"==un(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return hn(e)}(this,n)}}function hn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(gn=function(){return!!e})()}function vn(e){return vn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},vn(e)}function On(e,t,n){return(t=jn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jn(e){var t=function(e,t){if("object"!=un(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=un(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==un(t)?t:t+""}var wn,Pn,Sn=["firstName","position","location"],_n=a()(T,Sn),An=pn(ge,{},void 0,pn(ve,{src:cn})),kn=(0,Qe.T)()(nn=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&mn(e,t)}(i,e);var t,n,o,r=bn(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return On(hn(e=r.call.apply(r,[this].concat(n))),"handleClick",(function(t){var n=e.props,o=n.saveForm,r=n.next,i=n.history;o(t).then((function(){i.push(r)}))}
1)),e}return t=i,n=[{key:"getErrorKeys",value:function(e){return(0,Xe.Yl)(e,_n)}},{key:"objectToSave",value:function(e){return e}},{key:"parseObject",value:function(e){return fn({mainContainer:ce},a()(e,Sn))}},{key:"shouldSubmit",value:function(e){return!(0,Xe.lP)(e,_n)}},{key:"render",value:function(){var e=this.props,t=e.formObject,n=e.inputChange,o=e.shouldValidate,r=e.history,i=e.onFetchPlaces;return pn(je,{},void 0,pn(fe,{},void 0,(0,Re.jsx)(Fe.A,fn(fn({},N.titleAboutYourself),{},{values:{firstName:t.firstName}}))),pn(de,{},void 0,pn(z.LB,{fullWidth:!0,context:_n.position,inputValue:t.position,shouldValidate:o,fn:function(e){return n("position",e)}}),pn(z.LB,{fullWidth:!0,context:_n.location,inputValue:t.location,shouldValidate:o,fnAutocomplete:i,inputIconIndicator:"MapPinFill",fn:function(e){return n("location",null==e?void 0:e.name)},dropdownFooter:An,dropdownFooterHeight:2})),pn(Oe,{},void 0,pn(_t,{history:r}),pn($.XT,{color:"tealDark",fullWidth:!0,onClick:this.handleClick,value:N.continueButton})))}}],n&&yn(t.prototype,n),o&&yn(t,o),Object.defineProperty(t,"prototype",{writable:!1}),i}(f.Component))||nn,In=(0,U.A)(kn),Nn=n("./node_modules/lodash/noop.js"),xn=n.n(Nn),Cn=n("./app/components/visual/imageUpload/index.tsx");function Mn(e){return Mn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mn(e)}function Tn(e,t,n,o){Pn||(Pn="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=o;else if(i>1){for(var a=Array(i),l=0;l<i;l++)a[l]=arguments[l+3];t.children=a}if(t&&r)for(var s in r)void 0===t[s]&&(t[s]=r[s]);else t||(t=r||{});return{$$typeof:Pn,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function En(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Ln(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?En(Object(n),!0).forEach((function(t){Jn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):En(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Dn(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,qn(o.key),o)}}function Un(e,t){return Un=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Un(e,t)}function Bn(e){var t=Fn();return function(){var n,o=Hn(e);if(t){var r=Hn(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"==Mn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Rn(e)}(this,n)}}function Rn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Fn=function(){return!!e})()}function Hn(e){return Hn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Hn(e)}function Jn(e,t,n){return(t=qn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qn(e){var t=function(e,t){if("object"!=Mn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=Mn(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Mn(t)?t:t+""}var Yn,Wn,zn=["profilePicture","phoneNumber","linkedin"],Gn=a()(T,zn),Vn=(0,Qe.T)()(wn=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Un(e,t)}(i,e);var t,n,o,r=Bn(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return Jn(Rn(e=r.call.apply(r,[this].concat(n))),"handleClick",(function(t){var n=e.props,o=n.saveForm,r=n.next,i=n.history;o(t).then((function(){i.push(r)}
1)).catch(xn())})),Jn(Rn(e),"handleUpload",(function(t){return(0,e.props.inputChange)("profilePicture",t),Promise.resolve()})),e}return t=i,n=[{key:"getErrorKeys",value:function(e){return(0,Xe.Yl)(e,Gn)}},{key:"objectToSave",value:function(e){return e}},{key:"parseObject",value:function(e){return Ln({mainContainer:ce},a()(e,zn))}},{key:"shouldSubmit",value:function(e){return!(0,Xe.lP)(e,Gn)}},{key:"render",value:function(){var e,t=this.props,n=t.formObject,o=t.inputChange,r=t.shouldValidate,i=t.history;return Tn(pe,{for:"personal-profile"},void 0,Tn(fe,{},void 0,(0,Re.jsx)(Fe.A,Ln({},N.titlePersonalProfile))),Tn(me,{},void 0,(0,Re.jsx)(Fe.A,Ln({},N.subtitlePersonalProfile))),Tn(de,{},void 0,Tn(he,{},void 0,Tn(Cn.B,{image:null===(e=n.profilePicture)||void 0===e?void 0:e.preview,formDefinition:Gn.profilePicture,shouldValidate:r,onUpload:this.handleUpload}),n.profilePicture&&Tn(ke,{onClick:function(){return o("profilePicture",null)}},void 0,(0,Re.jsx)(Fe.A,Ln({},N.removeLink)))),Tn(z.LB,{fullWidth:!0,context:Gn.phoneNumber,inputValue:null==n?void 0:n.phoneNumber,shouldValidate:r,fn:function(e){return o("phoneNumber",e)}}),Tn(z.LB,{fullWidth:!0,context:Gn.linkedin,inputValue:null==n?void 0:n.linkedin,shouldValidate:r,fn:function(e){return o("linkedin",e)}})),Tn(Oe,{for:"personal-profile"},void 0,Tn(_t,{history:i}),Tn($.XT,{color:"tealDark",fullWidth:!0,onClick:this.handleClick,value:N.continueButton})))}}],n&&Dn(t.prototype,n),o&&Dn(t,o),Object.defineProperty(t,"prototype",{writable:!1}),i}(f.Component))||wn,Zn=(0,U.A)(Vn);function $n(e){return $n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$n(e)}function Kn(e,t,n,o){Wn||(Wn="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=o;else if(i>1){for(var a=Array(i),l=0;l<i;l++)a[l]=arguments[l+3];t.children=a}if(t&&r)for(var s in r)void 0===t[s]&&(t[s]=r[s]);else t||(t=r||{});return{$$typeof:Wn,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function Qn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Xn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qn(Object(n),!0).forEach((function(t){ao(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function eo(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,lo(o.key),o)}}function to(e,t){return to=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},to(e,t)}function no(e){var t=ro();return function(){var n,o=io(e);if(t){var r=io(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"==$n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return oo(e)}(this,n)}}function oo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ro(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ro=function(){return!!e})()}function io(e){return io=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},io(e)}function ao(e,t,n){return(t=lo(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lo(e){var t=function(e,t){if("object"!=$n(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=$n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==$n(t)?t:t+""}var so,co=["logo","headquarter"],uo=a()(T,co),po=Kn(ge,{},void 0,Kn(ve,{src:cn})),fo=(0,Qe.T)()(Yn=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&to(e,t)}(i,e);var t,n,o,r=no(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return ao(oo(e=r.call.apply(r,[this].concat(n))),"handleClick",(function(t){var n=e.props,o=n.saveForm,r=n.next,i=n.history;o(t).then((function(){i.push(r)}))}
1)),ao(oo(e),"handleUpload",(function(t){return(0,e.props.inputChange)("logo",t),Promise.resolve()})),e}return t=i,n=[{key:"getErrorKeys",value:function(e){return(0,Xe.Yl)(e,uo)}},{key:"objectToSave",value:function(e){return e}},{key:"parseObject",value:function(e){return Xn({mainContainer:ce},a()(e,co))}},{key:"shouldSubmit",value:function(e){return!(0,Xe.lP)(e,uo)}},{key:"render",value:function(){var e,t=this.props,n=t.formObject,o=t.inputChange,r=t.shouldValidate,i=t.history,a=t.onFetchPlaces;return Kn(je,{},void 0,Kn(fe,{},void 0,(0,Re.jsx)(Fe.A,Xn({},N.titleCompanyProfile))),Kn(de,{},void 0,Kn(he,{},void 0,Kn(Cn.B,{image:null===(e=n.logo)||void 0===e?void 0:e.preview,formDefinition:uo.logo,shouldValidate:r,onUpload:this.handleUpload}),n.logo&&Kn(ke,{onClick:function(){return o("logo",null)}},void 0,(0,Re.jsx)(Fe.A,Xn({},N.removeLink)))),Kn(z.LB,{fullWidth:!0,context:uo.headquarter,inputValue:d()(n,"headquarter.name"),shouldValidate:r,fnAutocomplete:a,inputIconIndicator:"MapPinFill",fn:function(e){return o("headquarter",e)},dropdownFooter:po,dropdownFooterHeight:2})),Kn(Oe,{},void 0,Kn(_t,{history:i}),Kn($.XT,{color:"tealDark",fullWidth:!0,onClick:this.handleClick,value:N.continueButton})))}}],n&&eo(t.prototype,n),o&&eo(t,o),Object.defineProperty(t,"prototype",{writable:!1}),i}(f.Component))||Yn,yo=(0,U.A)(fo);function mo(e){return mo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mo(e)}function bo(e,t,n,o){so||(so="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=o;else if(i>1){for(var a=Array(i),l=0;l<i;l++)a[l]=arguments[l+3];t.children=a}if(t&&r)for(var s in r)void 0===t[s]&&(t[s]=r[s]);else t||(t=r||{});return{$$typeof:so,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function ho(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function go(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ho(Object(n),!0).forEach((function(t){vo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ho(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function vo(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=mo(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=mo(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==mo(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Oo,jo,wo=bo(be,{},void 0,bo(Z.u,{icon:"HandWaving",color:"green"})),Po=(0,U.A)((function(e){var t=e.history;return(0,Re.jsx)(Re.Fragment,{children:bo(ce,{},void 0,bo(pe,{},void 0,bo(de,{},void 0,wo,bo(fe,{},void 0,(0,Re.jsx)(Fe.A,go({},N.titleFinished))),bo(me,{},void 0,"gustav"===R.C&&(0,Re.jsx)(Fe.A,go({},N.subtitleFinishedGustav)),"candidately"===R.C&&(0,Re.jsx)(Fe.A,go({},N.subtitleFinishedCandidately)))),bo(Oe,{},void 0,bo(_t,{history:t}),bo(Ae,{to:"/",color:"tealDark"},void 0,(0,Re.jsx)(Fe.A,go({},N.launch))))))})}));function So(e){return So="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},So(e)}function _o(e,t,n,o){jo||(jo="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=o;else if(i>1){for(var a=Array(i),l=0;l<i;l++)a[l]=arguments[l+3];t.children=a}if(t&&r)for(var s in r)void 0===t[s]&&(t[s]=r[s]);else t||(t=r||{});return{$$typeof:jo,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function Ao(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ko(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?Ao(Object(n),!0).forEach((function(t){Eo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ao(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Io(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,Lo(o.key),o)}}function No(e,t){return No=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},No(e,t)}function xo(e){var t=Mo();return function(){var n,o=To(e);if(t){var r=To(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"==So(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Co(e)}(this,n)}}function Co(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mo(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Mo=function(){return!!e})()}function To(e){return To=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},To(e)}function Eo(e,t,n){return(t=Lo(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lo(e){var t=function(e,t){if("object"!=So(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=So(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==So(t)?t:t+""}var Do,Uo,Bo=["onboardingHearAbout","onboardingCandidatesSubmitted","onboardingHearAboutOther"],Ro=a()(T,Bo),Fo=(0,Qe.T)()(Oo=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&No(e,t)}(i,e);var t,n,o,r=xo(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return Eo(Co(e=r.call.apply(r,[this].concat(n))),"handleClick",(function(t){var n=e.props,o=n.saveForm,r=n.next,i=n.history;o(t).then((function(){i.push(r)}))})),e}return t=i,n=[{key:"getErrorKeys",value:function(e){return(0,Xe.Yl)(e,Ro)}},{key:"objectToSave",value:function(e){return e}},{key:"parseObject",value:function(e){return ko({mainContainer:ce},a()(e,Bo))}},{key:"shouldSubmit",value:function(e){return!(0,Xe.lP)(e,Ro)}},{key:"render",value:function(){var e=this.props,t=e.formObject,n=e.inputChange,o=e.shouldValidate,r=e.history,i="other"===t.onboardingHearAbout;return _o(pe,{for:"tailor-experience"},void 0,_o(ye,{},void 0,_o(fe,{},void 0,(0,Re.jsx)(Fe.A,ko({},N.titleDiscovery))),_o(me,{},void 0,(0,Re.jsx)(Fe.A,ko({},N.subtitleDiscovery)))),_o(de,{for:"tailor-experience"},void 0,_o(z.LB,{fullWidth:!0,optionsFixed:!0,context:T.onboardingHearAbout,selected:t.onboardingHearAbout,shouldValidate:o,fn:function(e){return n("onboardingHearAbout",e)}}),i&&_o(z.LB,{fullWidth:!0,context:T.onboardingHearAboutOther,inputValue:t.onboardingHearAboutOther,shouldValidate:o,fn:function(e){return n("onboardingHearAboutOther",e)}}),_o(z.LB,{fullWidth:!0,optionsFixed:!0,context:T.onboardingCandidatesSubmitted,selected:t.onboardingCandidatesSubmitted,shouldValidate:o,fn:function(e){return n("onboardingCandidatesSubmitted",e)}})),_o(Oe,{},void 0,_o(_t,{history:r}),_o($.XT,{color:"tealDark",fullWidth:!0,onClick:this.handleClick,value:N.continueButton})))}}],n&&Io(t.prototype,n),o&&Io(t,o),Object.defineProperty(t,"prototype",{writable:!1}),i}(f.Component))||Oo,Ho=(0,U.A)(Fo);function Jo(e){return Jo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jo(e)}function qo(e,t,n,o){Uo||(Uo="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=o;else if(i>1){for(var a=Array(i),l=0;l<i;l++)a[l]=arguments[l+3];t.children=a}if(t&&r)for(var s in r)void 0===t[s]&&(t[s]=r[s]);else t||(t=r||{});return{$$typeof:Uo,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function Yo(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,Ko(o.key),o)}}
1function Wo(e,t){return Wo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Wo(e,t)}function zo(e){var t=Vo();return function(){var n,o=Zo(e);if(t){var r=Zo(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"==Jo(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Go(e)}(this,n)}}function Go(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vo(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Vo=function(){return!!e})()}function Zo(e){return Zo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Zo(e)}function $o(e,t,n){return(t=Ko(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ko(e){var t=function(e,t){if("object"!=Jo(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=Jo(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Jo(t)?t:t+""}var Qo,Xo=($o(Do={},Ce,{path:"welcome",i18n:Ne.welcome,StepComponent:bt}),$o(Do,Me,{path:"set-password",i18n:Ne.setPassword,StepComponent:qt}),$o(Do,Te,{path:"create-company",i18n:Ne.createCompany,StepComponent:sn}
1),$o(Do,Ee,{path:"about-yourself",i18n:Ne.aboutYourself,StepComponent:In}),$o(Do,Le,{path:"personal-profile",i18n:Ne.personalProfile,StepComponent:Zn}),$o(Do,De,{path:"company-profile",i18n:Ne.companyProfile,StepComponent:yo}),$o(Do,Ue,{path:"tailor-experience",i18n:Ne.tailorExperience,StepComponent:Ho}),Do),er=qo(F.R,{}),tr=qo(E.A,{exact:!0,path:"/onboarding/finished",component:Po}),nr=qo(F.R,{}),or=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Wo(e,t)}(a,e);var t,n,o,i=zo(a);function a(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),$o(Go(t=i.call(this,e)),"getStepIndex",(function(){var e=t.props,n=e.match;return e.steps.findIndex((function(e){return Xo[e].path===(null==n?void 0:n.params.step)}))})),$o(Go(t),"isLastStep",(function(){var e=t.props.steps,n=t.getStepIndex();return e.length-1===n})),$o(Go(t),"changeProfile",(function(e){return(0,t.props.onProfileChange)(e,t.isLastStep()).then((function(e){e&&t.setState({finished:e})}))}));var n=e.match;return t.state={finished:"finished"===n.params.step},t}return t=a,(n=[{key:"componentDidMount",value:function(){var e=this.props,t=e.match,n=e.history;"welcome"!==t.params.step&&n.replace("/onboarding/welcome")}},{key:"render",value:function(){var e=this,t=this.state.finished,n=this.props,o=n.submitting,i=n.profile,a=n.onFetchPlaces,l=n.steps,s=n.match.params.step,c=this.getStepIndex(),u=Xo[l[0]].path;return qo(ee,{},void 0,r()(i)?er:qo(te,{},void 0,qo(ne,{src:R.A.logoLargeSrc,alt:"Logo"}),qo(L.A,{},void 0,l.map((function(t,n){var r=Xo[t],s=r.path,c=r.StepComponent,u=(Xo[l[n+1]]||{}).path,p=void 0===u?"finished":u;return qo(E.A,{exact:!0,path:"/onboarding/".concat(s),render:function(){return!o&&qo(c,{next:"/onboarding/".concat(p),saveForm:e.changeProfile,editObject:i,onFetchPlaces:(0,B.A)(a,500)},JSON.stringify(i))}},"route-".concat(s))})),tr,qo(D.A,{to:"/onboarding/".concat(u)})),o&&nr,!t&&"finished"!==s&&!o&&qo(ae,{},void 0,qo(le,{},void 0,l.map((function(e,t){return qo(Ke,{text:Xo[e].i18n,active:c>=t},"step-".concat(e))}))))))}}])&&Yo(t.prototype,n),o&&Yo(t,o),Object.defineProperty(t,"prototype",{writable:!1}),a}(f.Component),rr=(0,U.A)(or);function ir(e){return ir="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ir(e)}function ar(e,t,n,o){Qo||(Qo="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),1===i)t.children=o;else if(i>1){for(var a=Array(i),l=0;l<i;l++)a[l]=arguments[l+3];t.children=a}if(t&&r)for(var s in r)void 0===t[s]&&(t[s]=r[s]);else t||(t=r||{});return{$$typeof:Qo,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}function lr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function sr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lr(Object(n),!0).forEach((function(t){cr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function cr(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=ir(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=ir(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ir(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ur(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(o=i.call(n)).done)&&(l.push(o.value),l.length!==t);s=!0);}catch(e){c=!0,r=e}
1finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return pr(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?pr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}var dr=u()(Object.keys(T),(function(e){return"password"!==e})),fr=function(e){return!s()(e)&&!r()(e)},yr=(0,b.j8)({company:g.te,user:g.dt});var mr=(0,m.connect)(yr,(function(e){return{handleFetchCompanyProfile:function(t){return e((0,v.eO)(t,!1))},handleUploadUserAvatar:function(t){return e((0,O.F4)(t))},handleUploadCompanyLogo:function(t){return e((0,v.Xu)(t))},handleOnboard:function(t){return e(function(e){return function(t){return new Promise((function(n,o){t((0,_.iJ)()),t({type:k.sU});var r=localStorage.getItem("phoenixAuthToken")?"/onboarding":"/onboarding/new_user";(0,P.zA)(r,e).then((function(e){(0,S.E)("track","Onboarding Completed"),t({type:k.SE,payload:e}),t((0,_.yM)()),e.jwt&&e.exp&&(localStorage.setItem("phoenixAuthToken",e.jwt),localStorage.setItem("phoenixExpToken",e.exp)),n(e)})).catch((function(e){t((0,_.yM)()),422===e.response.status&&("name"===e.response.data.errors[0].source.pointer?(0,A.KK)(x.companyNameTakenError):t({type:k.xA,error:e})),o(e)}))}))}}(t))},handleFetchInvitationData:function(t){return e(function(e){return function(t){return new Promise((function(n,o){t((0,_.iJ)()),t({type:k.BM}),(0,P.lx)("/invite_data?token=".concat(e)).then((function(e){t({type:k.Nf,payload:e}),t((0,_.yM)()),n(e)})).catch((function(e){t((0,_.yM)()),t({type:k.Ys,error:e,errorMessage:"invalidToken"}),t((0,w.VC)("/")),o(e)}))}))}}(t))},handleFetchPlaces:function(t,n,o){return e((0,j.zn)({query:t,token:n,types:o}))}}})),br=(0,y.Zz)(h.A,mr)((function(e){var t=e.location,n=e.user,o=e.company,r=e.handleFetchCompanyProfile,i=e.handleFetchPlaces,l=e.handleUploadUserAvatar,s=e.handleUploadCompanyLogo,c=e.handleFetchInvitationData,u=e.handleOnboard,p=ur((0,f.useState)({}),2),y=p[0],m=p[1],b=ur((0,f.useState)(!1),2),h=b[0],g=b[1],v=ur((0,f.useState)(),2),O=v[0],j=v[1],w=ur((0,f.useState)(Be),2),P=w[0],S=w[1],_=localStorage.getItem("inviteToken"),A=localStorage.getItem("userInviteToken"),k=(0,f.useCallback)((function(){var e=d()(y,"email")||d()(n,"email");return"onboarding-".concat(e)}),[n,y]);return(0,f.useEffect)((function(){var e=d()(t,"query.token")||_;e&&c(e).then((function(t){var n,o="onboarding-".concat(t.data.email),r=localStorage.getItem(o),i=sr(sr(sr({},{email:null==(n=t.data)?void 0:n.email,firstName:null==n?void 0:n.first_name,lastName:null==n?void 0:n.last_name,phoneNumber:null==n?void 0:n.phone_number,companyName:null==n?void 0:n.company_name,token:null==n?void 0:n.token}),r?JSON.parse(r):{}),{},{token:e});m(i),localStorage.setItem(o,JSON.stringify(sr(sr({},a()(i,dr)),{},{token:e})))}))}),[]),(0,f.useEffect)((function(){o&&r(o.id).then((function(e){var t=localStorage.getItem(k()),r=function(e,t){return{email:null==e?void 0:e.email,firstName:null==e?void 0:e.first_name,lastName:null==e?void 0:e.last_name,password:"",companyName:"none"!==(null==t?void 0:t.name)?null==t?void 0:t.name:"",position:null==e?void 0:e.position,location:d()(e,"location.address"),profilePicture:null,phoneNumber:null==e?void 0:e.phone_number,linkedin:null==e?void 0:e.linkedin,logo:t.logo,headquarter:null==t?void 0:t.billing_address,onboardingHearAbout:null==t?void 0:t.onboarding_hear_about,onboardingCandidatesSubmitted:null==t?void 0:t.onboarding_candidates_submitted,onboardingHearAboutOther:null==t?void 0:t.onboarding_hear_about_other}}(n,e);m(sr(sr({},r),t?JSON.parse(t):{})),S(function(e,t){var n=[];return e.needs_password||n.push(Me),t.needs_onboarding||n.push(Te,De,Ue),Be.filter((function(e){return!n.includes(e)}))}(n,o))}))}),[n,o]),(0,f.useEffect)((function(){A&&!O&&c(A).then((function(e){j(function(e){var t=e.user,n=e.company;return{firstName:t.first_name,lastName:t.last_name,companyName:n.name,companyLogo:n.logo}}(e))})).catch((function(){return localStorage.removeItem("userInviteToken")}))}),[A,O]),ar(rr,{profile:sr(sr({},y),{},{inviter:O}),onProfileChange:function(e,t){var n,o,r=sr(sr({},y),e);return m(r),null!==(n=r.profilePicture)&&void 0!==n&&n.name||delete r.profilePicture,null!==(o=r.logo)&&void 0!==o&&o.name||delete r.logo,localStorage.setItem(k(),JSON.stringify(a()(r,dr))),t?function(e){var t={account:M(e),token:null==y?void 0:y.token};return g(!0),u(t).then((function(){return fr(e.profilePicture)&&l(e.profilePicture),fr(e.logo)&&s(e.logo),localStorage.removeItem(k()),localStorage.removeItem("inviteToken"),localStorage.removeItem("userInviteToken"),g(!1),Promise.resolve(!0)})).catch((function(){return g(!1)}))}
1(r):Promise.resolve()},onFetchPlaces:function(e,t,n){return i(e,t,n).then((function(e){return e.map((function(e){return{value:{google_id:e.id,name:e.description},label:e.description}}))}))},steps:P,submitting:h})}));const hr=br},"./app/containers/UserProfile/actions.js"(e,t,n){n.d(t,{eO:()=>s,r7:()=>c,F4:()=>u});var o=n("./node_modules/redux-first-history/build/es6/index.js"),r=n("./app/utils/index.js"),i=n("./app/components/utils/flashMessages/index.js"),a=n("./app/containers/UserProfile/scene/utils/i18n.js"),l={updateSuccess:{context:[{detail:a.A.updateSuccess}],status:"success"},uploadAvatarSuccess:{context:[{detail:a.A.uploadAvatarSuccess}],status:"success"},fetchError:{context:[{detail:a.A.fetchError}],status:"error"},noCompanyFetchInfo:{context:[{detail:a.A.fetchError}],status:"info"}};function s(e){return function(t){return new Promise((function(n,a){t({type:"gustav/user/profile/FETCH_REQUEST"}),(0,r.lx)("/user/profile/".concat(e)).then((function(e){t({type:"gustav/user/profile/FETCH_SUCCESS",payload:e}),e.company||(0,i.KK)(l.noCompanyFetchInfo),n(e)})).catch((function(e){404===e.response.status?((0,i.KK)(l.fetchError),t((0,o.VC)("/404"))):t({type:"gustav/user/profile/FETCH_ERROR",error:e}),a(e)}))}))}}function c(e){return function(t){return new Promise((function(n,o){t({type:"gustav/user/profile/UPDATE_REQUEST"}),(0,r.jR)("/user/profile",{profile:e}).then((function(e){t({type:"gustav/user/profile/UPDATE_SUCCESS",payload:e}),n(e),(0,i.KK)(l.updateSuccess)})).catch((function(e){t({type:"gustav/user/profile/UPDATE_ERROR",error:e}),o(e)}))}))}}function u(e){return function(t){return new Promise((function(n,o){var a;t({type:"gustav/user/profile/avatar/UPLOAD_REQUEST"}),(0,r.ZE)("/current_user/avatar",{avatar:e.name}).then((function(t){var n=t.s3_upload_url,o=t.url;return a=o,(0,r.n7)(n,e)})).then((function(){t({type:"gustav/user/profile/avatar/UPLOAD_SUCCESS",payload:a}),t({type:"USER_AVATAR_UPLOAD",payload:a}),(0,i.KK)(l.uploadAvatarSuccess),n(a)})).catch((function(e){t({type:"gustav/user/profile/avatar/UPLOAD_ERROR",error:e}),o(e)}))}))}}},"./app/containers/UserProfile/scene/utils/i18n.js"(e,t,n){n.d(t,{A:()=>o});const o=(0,n("./node_modules/react-intl/lib/index.js").YK)({titleDetails:{id:"app.containers.UserProfile.titleDetails",defaultMessage:"Details"},titleActivity:{id:"app.containers.UserProfile.titleActivity",defaultMessage:"Activity"},titleBio:{id:"app.containers.UserProfile.titleBio",defaultMessage:"Bio"},tabAbout:{id:"app.containers.UserProfile.tabAbout",defaultMessage:"About"},jobTitle:{id:"app.containers.UserProfile.jobTitle",defaultMessage:"Job title"},insertedAt:{id:"app.containers.UserProfile.insertedAt",defaultMessage:"Signed up"},insertedAtAgo:{id:"app.containers.UserProfile.insertedAtAgo",defaultMessage:"{value} ago"},phone:{id:"app.containers.UserProfile.phone",defaultMessage:"Phone"},email:{id:"app.containers.UserProfile.email",defaultMessage:"Email"},linkedIn:{id:"app.containers.UserProfile.linkedIn",defaultMessage:"LinkedIn"},lastOnline:{id:"app.containers.UserProfile.lastOnline",defaultMessage:"Last online"},online:{id:"app.containers.UserProfile.online",defaultMessage:"currently online"},userTag:{id:"app.containers.UserProfile.userTag",defaultMessage:"User"},bioEmpty:{id:"app.containers.UserProfile.bioEmpty",defaultMessage:"No bio added yet"},na:{id:"app.containers.UserProfile.na",defaultMessage:"n/a"},buttonEmptyBio:{id:"app.containers.UserProfile.buttonEmptyBio",defaultMessage:"Start adding the bio section"},modalTitleDetails:{id:"app.containers.UserProfile.modal.modalTitleDetails",defaultMessage:"Edit your info"},modalTitleBio:{id:"app.containers.UserProfile.modal.modalTitleBio",defaultMessage:"Edit your bio section"},modalTitleLocation:{id:"app.containers.UserProfile.modal.modalTitleLocation",defaultMessage:"Edit your location"},descriptionBio:{id:"app.containers.UserProfile.form.descriptionBio",defaultMessage:"Please tell others who you are and describe what your role is."},descriptionDetails:{id:"app.containers.UserProfile.form.descriptionDetails",defaultMessage:"Details"},labelPosition:{id:"app.containers.UserProfile.form.labelPosition",defaultMessage:"Job title"},placeholderPosition:{id:"app.containers.UserProfile.form.placeholderPosition",defaultMessage:"Enter your job name"},labelPhone:{id:"app.containers.UserProfile.form.labelPhone",defaultMessage:"Phone"},placeholderPhone:{id:"app.containers.UserProfile.form.placeholderPhone",defaultMessage:"Enter your phone number"},labelLinkedIn:{id:"app.containers.UserProfile.form.labelLinkedIn",defaultMessage:"LinkedIn profile URL"},placeholderLinkedIn:{id:"app.containers.UserProfile.form.placeholderLinkedIn",defaultMessage:"Enter your LinkedIn profile URL"},labelBio:{id:"app.containers.UserProfile.form.labelBio",defaultMessage:"Bio"},placeholderBio:{id:"app.containers.UserProfile.form.placeholderBio",defaultMessage:"Bio..."},labelLocation:{id:"app.containers.UserProfile.form.labelLocation",defaultMessage:"Location (City)"},placeholderLocation:{id:"app.containers.UserProfile.form.placeholderLocation",defaultMessage:"Enter your location City"},buttonSave:{id:"app.containers.UserProfile.form.buttonSave",defaultMessage:"Save"},updateSuccess:{id:"app.containers.UserProfile.form.updateSuccess",defaultMessage:"Profile updated successfully"},uploadAvatarSuccess:{id:"app.containers.UserProfile.form.uploadAvatarSuccess",defaultMessage:"Avatar uploaded successfully"},fetchError:{id:"app.containers.UserProfile.form.fetchError",defaultMessage:"This user is not on Candidate.ly anymore"},showMore:{id:"app.components.UserProfile.showMore",defaultMessage:"Show more"},showLess:{id:"app.components.UserProfile.manageYourHotlist",defaultMessage:"Show less"}})},"./app/scenes/account/sharedComponents/roundIcon.js"(e,t,n){n.d(t,{u:()=>l});n("./node_modules/prop-types/index.js");var o,r=n("./app/components/elements/icon.tsx"),i=n("./app/scenes/account/sharedComponents/styles/index.js");function a(e,t,n,r){o||(o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var i=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={children:void 0}),1===a)t.children=r;else if(a>1){for(var l=Array(a),s=0;s<a;s++)l[s]=arguments[s+3];t.children=l}if(t&&i)for(var c in i)void 0===t[c]&&(t[c]=i[c]);else t||(t=i||{});return{$$typeof:o,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}var l=function(e){var t=e.icon,n=e.color;return a(i.pS,{color:"".concat(n,"Lighter")},void 0,a(r.In,{icon:t,size:"xlarge",color:n}))}},"./app/scenes/account/sharedComponents/styles/index.js"(e,t,n){n.d(t,{oq:()=>h,iI:()=>v,cG:()=>G,LB:()=>y,n5:()=>m,MG:()=>N,_R:()=>x,CL:()=>U,Mo:()=>C,zE:()=>d,He:()=>F,yC:()=>R,R2:()=>O,ud:()=>S,um:()=>P,W7:()=>w,r1:()=>k,gh:()=>A,J$:()=>j,ir:()=>b,z9:()=>E,wJ:()=>M,N_:()=>D,LO:()=>I,pS:()=>g,wN:()=>J,tf:()=>H,MO:()=>T,i5:()=>L,XT:()=>f,sP:()=>W,rk:()=>Y,se:()=>q,oX:()=>z,EY:()=>B,h1:()=>p});var o=n("./node_modules/styled-components/dist/styled-components.browser.esm.js"),r=n("./app/components/navigation/SmartLink/index.js"),i=n("./app/components/structure/form/styles/form.tsx"),a=n("./app/components/utils/styles/ui.ts"),l=n("./app/components/elements/icon.tsx"),s=n("./app/components/elements/button.tsx"),c=n("./app/components/structure/page/styles/containers.js");n("./node_modules/react/index.js");var u="1026px",p="748px",d=o.Ay.h1.withConfig({displayName:"styles__FormTitle",componentId:"ng0rtn-0"})(["margin:0 0 5rem 0;letter-spacing:0;color:",";"],(function(e){var t=e.theme;return e.inverted&&a.Jy.white||t.colors.text})),f=(0,o.Ay)(i.XT).withConfig({displayName:"styles__Submit",componentId:"ng0rtn-1"})(["margin-top:6vh;width:100%;"]),y=(0,o.Ay)(i.LB).withConfig({displayName:"styles__Fieldset",componentId:"ng0rtn-2"})(["margin-bottom:1.6rem;"]),m=o.Ay.div.withConfig({displayName:"styles__FlexContainer",componentId:"ng0rtn-3"})(["top:0;left:0;position:absolute;display:flex;height:100vh;overflow:hidden;width:100vw;"]),b=o.Ay.div.withConfig({displayName:"styles__LeftColumn",componentId:"ng0rtn-4"})(["align-items:center;background-color:",";display:none;flex:1 0 42.8rem;height:100%;justify-content:center;position:relative;@media (min-width:","){display:flex;max-width:68.3rem;}@media (min-width:",") and (max-width:","){display:flex;max-width:42.8rem;}"],a.Jy.tealDarker,u,"425px",u),h=o.Ay.div.withConfig({displayName:"styles__BackButton",componentId:"ng0rtn-5"})(["display:flex;align-items:center;background-color:",";border-radius:50%;height:4rem;justify-content:center;width:4rem;margin:2rem 0;cursor:pointer;@media (max-height:","){margin-top:0.5rem;}"],a.Jy.headerBG,p),g=o.Ay.div.withConfig({displayName:"styles__RoundIconDiv",componentId:"ng0rtn-6"})(["align-items:center;background-color:",";border-radius:50%;display:flex;height:6.4rem;justify-content:center;width:6.4rem;"],(function(e){var t=e.color;return a.Jy[t]||a.Jy.headerBG}
1)),v=o.Ay.div.withConfig({displayName:"styles__BackgroundImg",componentId:"ng0rtn-7"})(["position:absolute;background-image:url(",");background-position:center;background-repeat:no-repeat;background-size:100% 100%;height:100%;z-index:100;width:110%;min-width:68.3rem;min-height:80rem;left:55%;top:50%;transform:translate(-50%,-50%);@media (max-width:","){background-image:url(",");top:52%;left:38%;}"],"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzQxIiBoZWlnaHQ9Ijc5NCIgdmlld0JveD0iMCAwIDc0MSA3OTQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0tMTg1Ljc2OCAyMjYuNDI5Qy0xMDIgMjk0LjUgNTYuMTg3NSAyNDUuNTA4IDU2LjI4NjUgODYuNjc5NEM1Ni4zODU2IC03Mi4xNDkgLTcyLjAyMDggLTEwNi41NTUgLTkzLjQ1MTMgLTMwLjY3NEMtMTE0Ljg4MiA0NS4yMDc0IDQ5LjY5MjYgMTMyLjA1NiAxNzYuNDc4IDU4Ljg1NjQiIHN0cm9rZT0iI0ZERTFBMiIgc3Ryb2tlLXdpZHRoPSI0OCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CjxjaXJjbGUgY3g9IjM2LjIxODMiIGN5PSI2NjcuNjE3IiByPSI2OS43MjA2IiB0cmFuc2Zvcm09InJvdGF0ZSgtMjEuMjA1IDM2LjIxODMgNjY3LjYxNykiIGZpbGw9IiNGQkFDOUUiLz4KPGNpcmNsZSBjeD0iNDQ4LjI1NCIgY3k9Ijc0My4yNTUiIHI9IjI1LjY5OSIgdHJhbnNmb3JtPSJyb3RhdGUoLTIxLjIwNSA0NDguMjU0IDc0My4yNTUpIiBmaWxsPSIjQTFEN0I0Ii8+CjxjaXJjbGUgY3g9IjYxNi4wMyIgY3k9IjY2OS4wMyIgcj0iOTUuODUwMSIgdHJhbnNmb3JtPSJyb3RhdGUoLTIxLjIwNSA2MTYuMDMgNjY5LjAzKSIgZmlsbD0iI0JEQURFQSIvPgo8cGF0aCBkPSJNNDYwIDk5LjkyNjVMNTIwLjQ5IDgyLjU2MzRMNTM3Ljg1MyAxNDMuMDUzTDU5OC4zNDMgMTI1LjY5TDYxNS43MDYgMTg2LjE4TDY3Ni4xOTYgMTY4LjgxNyIgc3Ryb2tlPSIjQjFFMUU3IiBzdHJva2Utd2lkdGg9IjQ4IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==",u,"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDI4IiBoZWlnaHQ9Ijc2OCIgdmlld0JveD0iMCAwIDQ3OCA5MDkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yNSwgLTI1KSBzY2FsZSgwLjgpIj4KICA8cGF0aCBkPSJNLTEyNC43NjggMzQ2LjQyOUMtNDEgNDE0LjUgMTE3LjE4NyAzNjUuNTA4IDExNy4yODcgMjA2LjY3OUMxMTcuMzg2IDQ3Ljg1MSAtMTEuMDIwOCAxMy40NDQ2IC0zMi40NTEzIDg5LjMyNkMtNTMuODgxNyAxNjUuMjA3IDExMC42OTMgMjUyLjA1NiAyMzcuNDc4IDE3OC44NTYiIHN0cm9rZT0iI0ZERTFBMiIgc3Ryb2tlLXdpZHRoPSI0OCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CjwvZz4KPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoODUsIDE3NSkgc2NhbGUoMC45KSI+CiAgPGNpcmNsZSBjeD0iMTg1LjI1NCIgY3k9IjcyNS4yNTQiIHI9IjI1LjY5OSIgdHJhbnNmb3JtPSJyb3RhdGUoLTIxLjIwNSAxODUuMjU0IDcyNS4yNTQpIiBmaWxsPSIjQTFEN0I0Ii8+CiAgPGNpcmNsZSBjeD0iMzUzLjAzIiBjeT0iNjUxLjAzIiByPSI5NS44NTAxIiB0cmFuc2Zvcm09InJvdGF0ZSgtMjEuMjA1IDM1My4wMyA2NTEuMDMpIiBmaWxsPSIjQkRBREVBIi8+CjwvZz4KPC9zdmc+Cg=="),O=o.Ay.div.withConfig({displayName:"styles__Info",componentId:"ng0rtn-8"})(["width:40rem;color:",";z-index:1000;"],a.Jy.white),j=o.Ay.div.withConfig({displayName:"styles__InfoItems",componentId:"ng0rtn-9"})(["display:flex;flex-direction:column;gap:5rem;"]),w=o.Ay.div.withConfig({displayName:"styles__InfoItem",componentId:"ng0rtn-10"})(["display:flex;gap:2.4rem;width:100%;"]),P=o.Ay.img.withConfig({displayName:"styles__InfoImg",componentId:"ng0rtn-11"})(["padding-top:0.2rem;height:max-content;"]),S=o.Ay.div.withConfig({displayName:"styles__InfoContent",componentId:"ng0rtn-12"})(["width:32.2rem;"]),_=(0,o.AH)(["",";font-weight:600;"],(function(e){return e.theme.typography.headline.h4})),A=o.Ay.div.withConfig({displayName:"styles__InfoItemTitle",componentId:"ng0rtn-13"})(["",";"],_),k=o.Ay.div.withConfig({displayName:"styles__InfoItemText",componentId:"ng0rtn-14"})(["",";margin-top:0.6rem;font-weight:400;"],(function(e){return e.theme.typography.text.normal})),I=((0,o.Ay)(l.In).withConfig({displayName:"styles__InfoItemIcon",componentId:"ng0rtn-15"})(["margin-top:0.2rem;"]),o.Ay.div.withConfig({displayName:"styles__RightColumn",componentId:"ng0rtn-16"})(["background-color:",";min-width:50%;padding:0 10.8rem;position:relative;flex:1;overflow-y:auto;@media (max-width:","){padding:0 6.4rem;}"],a.Jy.white,u)),N=o.Ay.div.withConfig({displayName:"styles__FormContainer",componentId:"ng0rtn-17"})(["display:flex;flex-direction:column;max-width:68.3rem;width:100%;justify-content:center;margin:0 auto;"]),x=o.Ay.form.withConfig({displayName:"styles__FormDiv",componentId:"ng0rtn-18"})(["width:100%;height:100%;max-height:80rem;"]),C=o.Ay.div.withConfig({displayName:"styles__FormHeader",componentId:"ng0rtn-19"})(["padding-bottom:3vh;@media (min-height:820px){margin-top:10vh;}"]),M=o.Ay.div.withConfig({displayName:"styles__LightText",componentId:"ng0rtn-20"})(["color:",";",";"],a.Jy.textLight,(function(e){return e.theme.typography.text.medium})),T=o.Ay.div.withConfig({displayName:"styles__SecondaryRoute",componentId:"ng0rtn-21"})(["margin-top:2rem;"]),E=o.Ay.span.withConfig({displayName:"styles__LightSmallText",componentId:"ng0rtn-22"})(["color:",";display:inline-block;"],a.Jy.textLight),L=(0,o.Ay)(r.i).withConfig({displayName:"styles__SmartLink",componentId:"ng0rtn-23"})(["color:",";"],(function(e){return e.theme.colors.primaryDark}
1)),D=(0,o.Ay)(r.i).withConfig({displayName:"styles__Link",componentId:"ng0rtn-24"})(["display:inline-block;color:",";cursor:pointer;text-decoration:underline;"],(function(e){return e.theme.colors.primaryDark})),U=o.Ay.div.withConfig({displayName:"styles__FormFields",componentId:"ng0rtn-25"})(["margin-top:3vh;"]),B=o.Ay.span.withConfig({displayName:"styles__Text",componentId:"ng0rtn-26"})(["color:",";display:block;",";",";",";"],a.Jy.textLight,(function(e){return e.theme.typography.text.medium}),(function(e){return e.center&&(0,o.AH)(["text-align:center;"])}),(function(e){return e.bold&&(0,o.AH)(["color:",";"],a.Jy.text)})),R=(0,o.Ay)(c.LS).withConfig({displayName:"styles__HorizontalSeparator",componentId:"ng0rtn-27"})(["margin-top:3.75vh;height:1rem;align-items:center;color:",";width:100%;"],a.Jy.textLighter),F=o.Ay.div.withConfig({displayName:"styles__HorizontalLine",componentId:"ng0rtn-28"})(["border-bottom:1px solid ",";flex-grow:100;&:first-child{margin-right:1.4rem;}&:last-child{margin-left:1.4rem;}&:only-child{margin:0;}"],a.Jy.labelBg),H=o.Ay.div.withConfig({displayName:"styles__SSOContainer",componentId:"ng0rtn-29"})(["margin:0 -4px;"]),J=(0,o.Ay)(s.$n).withConfig({displayName:"styles__SSOButton",componentId:"ng0rtn-30"})(["margin:0 0.4rem;margin-top:2vh;width:100%;"," & svg{width:2.4rem !important;height:2.4rem !important;margin-top:-1rem !important;position:relative;top:0.6rem;}& img{height:1.5rem;margin-right:0.8rem;}"],(function(e){var t=e.border;return t?(0,o.AH)(["border:1px solid ",";"],a.Jy[t]):null})),q=o.Ay.div.withConfig({displayName:"styles__TermsFooterWrapper",componentId:"ng0rtn-31"})(["margin-top:10rem;@media (max-height:","){margin-top:5rem;}"],p),Y=o.Ay.div.withConfig({displayName:"styles__TermsFooterTitle",componentId:"ng0rtn-32"})(["color:",";font-size:1.2rem;text-align:center;margin-bottom:0.8rem;"],a.Jy.textLight),W=o.Ay.div.withConfig({displayName:"styles__TermsFooterLinks",componentId:"ng0rtn-33"})(["display:flex;align-items:center;justify-content:center;"]),z=(0,o.Ay)(r.i).withConfig({displayName:"styles__TermsLink",componentId:"ng0rtn-34"})(["color:",";font-size:1.2rem;"],a.Jy.tealDark),G=o.Ay.div.withConfig({displayName:"styles__Divider",componentId:"ng0rtn-35"})(["height:1.2rem;width:1px;margin:0 1.2rem;background-color:",";"],a.Jy.tealDark)},"./node_modules/react-router-dom/es/Switch.js"(e,t,n){n.d(t,{A:()=>o});
1const o=n("./node_modules/react-router/es/Switch.js").A},"./node_modules/react-router/es/Switch.js"(e,t,n){n.d(t,{A:()=>d});var o=n("./node_modules/react/index.js"),r=n("./node_modules/prop-types/index.js"),i=n.n(r),a=n("./node_modules/warning/warning.js"),l=n.n(a),s=n("./node_modules/invariant/browser.js"),c=n.n(s),u=n("./node_modules/react-router/es/matchPath.js");var p=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentWillMount=function(){c()(this.context.router,"You should not use <Switch> outside a <Router>")},t.prototype.componentWillReceiveProps=function(e){l()(!(e.location&&!this.props.location),'<Switch> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),l()(!(!e.location&&this.props.location),'<Switch> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')},t.prototype.render=function(){var e=this.context.router.route,t=this.props.children,n=this.props.location||e.location,r=void 0,i=void 0;return o.Children.forEach(t,(function(t){if(null==r&&o.isValidElement(t)){var a=t.props,l=a.path,s=a.exact,c=a.strict,p=a.sensitive,d=a.from,f=l||d;i=t,r=(0,u.A)(n.pathname,{path:f,exact:s,strict:c,sensitive:p},e.match)}})),r?o.cloneElement(i,{location:n,computedMatch:r}):null},t}(o.Component);p.contextTypes={router:i().shape({route:i().object.isRequired}).isRequired},p.propTypes={children:i().node,location:i().object};const d=p},"./node_modules/p-debounce/index.js"(e,t,n){n.d(t,{A:()=>r});const o=(e,t,n={})=>{if(!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let o,r,i=[];return function(...a){return new Promise((l=>{const s=n.before&&!r;clearTimeout(r),r=setTimeout((()=>{r=null;const t=n.before?o:e.apply(this,a);for(l of i)l(t);i=[]}),t),s?(o=e.apply(this,a),l(o)):i.push(l)}))}};o.promise=e=>{let t;return async function(...n){if(t)return t;try{return t=e.apply(this,n),await t}finally{t=void 0}}};const r=o}}]);
2//# sourceMappingURL=Onboarding.b977ebaa136baf3355b4.js.map

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.