1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="93b9a7f0-2c40-5e24-91dc-16d155b44e81")}catch(e){}}(); 3export const __webpack_esm_id__=5719;export const __webpack_esm_ids__=[5719];export const __webpack_esm_modules__={10816:(e,a,n)=>{n.a(e,async(e,l)=>{try{n.d(a,{o:()=>u});var t=n(6479),i=n(74090),r=n(70810),s=n(47717),o=e([s]);s=(o.then?(await o)():o)[0];let u=({companyHumanId:e,resourceUnavailable:a})=>{let l=(0,r.useFragment)(n(72146),a),o=(0,t.Z)(),{showRelayToasts:u}=(0,s.ml)();(0,i.useEffect)(()=>{if(null!=l)switch(u(l),l.reason){case"COMPANY_UNAVAILABLE":o({to:"/companies"});return;case"TALENT_COMMUNITY_UNAVAILABLE":o({to:"/companies/$companyHumanId",params:{companyHumanId:e}});return;default:throw Error(`Unsupported direct JTC resource-unavailable reason: ${l.reason}`)}},[e,o,l,u])};l()}catch(e){l(e)}})},12221:(e,a,n)=>{n.d(a,{l:()=>r});var l=n(6479),t=n(74090);let i=e=>{switch(e){case"RENDER":return"render";case"GO_TO_LOGIN":return"login";case"GO_TO_CHECKPOINT":return"checkpoint";default:throw Error(`Unsupported direct JTC page action: ${e}`)}},r=({action:e,companyHumanId:a})=>{let n=(0,l.Z)(),r=null===e?"render":i(e);return(0,t.useEffect)(()=>{switch(r){case"render":return;case"login":n({to:"/companies/$companyHumanId/join/login",params:{companyHumanId:a}});return;case"checkpoint":n({to:"/companies/$companyHumanId/join",params:{companyHumanId:a}});return;default:throw Error(`Unsupported direct JTC page action route: ${r}`)}},[r,a,n]),{shouldRender:"RENDER"===e}}},21305:(e,a,n)=>{n.d(a,{Q:()=>u});var l=n(35714),t=n(17194),i=n(46208),r=n(28360);let s=(0,t.default)(r.az).withConfig({displayName:"CardLogo__CardLogoContainer",componentId:"sc-9e27e8ae-0"})(["align-items:center;display:flex;justify-content:flex-start;"]),o=t.default.img.withConfig({displayName:"CardLogo__StyledCardLogo",componentId:"sc-9e27e8ae-1"})(["align-self:flex-start;flex:0 0;max-height:100%;max-width:100%;"]),u=({height:e,src:a,testId:n})=>(0,l.jsx)(s,{height:e??32,children:(0,l.jsx)(o,{src:a,...(0,i.I)({testId:n})})})},22358:(e,a,n)=>{n.a(e,async(e,l)=>{try{n.d(a,{J:()=>T});var t=n(35714),i=n(6479),r=n(98588);n(70810);var s=n(62908),o=n(26476),u=n(12221),c=n(10816),d=n(38197),m=n(39367),y=n(28154),g=n(99176),p=n(86636),k=e([c,d,m,y]);[c,d,m,y]=k.then?(await k)():k;let h=(0,r.GY)("/companies/$companyHumanId/join/signup");function T(){let{variables:e}=h.useLoaderData(),{evaluation:a}=p._.useQuery(e),n=e.companyHumanId;(0,c.o)({companyHumanId:n,resourceUnavailable:"DirectJoinTalentCommunityResourceUnavailable"===a.__typename?a:null});let{shouldRender:l}=(0,u.l)({action:"EvaluateJoinTalentCommunityFlowPayload"===a.__typename?a.action:null,companyHumanId:n});return"EvaluateJoinTalentCommunityFlowPayload"===a.__typename&&l?(0,t.jsx)(_,{companyHumanId:n,companyLogoUrl:a.company.logoUrl??null,companyName:a.company.profile?.companyName??null,isDisabled:!1}):null}function _({companyHumanId:e,companyLogoUrl:a,companyName:n,isDisabled:l}){let r=(0,i.Z)(),{signUpDirectJoinTalentCommunityTalent:u,isLoading:c,isSuccess:p}=(0,y.y)({onSuccess:({redirectTo:e})=>{r({href:e})}});return(0,t.jsx)(d.t,{imageSrc:"/static/images/sign_up.svg",logoTestId:s.mJT,logoUrl:a,title:"Create an account to join the talent community",children:(0,t.jsx)(m.C,{isDisabled:l,isLoading:c,isSuccess:p,companyName:n,onSubmit:a=>{u({...a,companyHumanId:e,referrerId:(0,g.j)()})},logInNavigation:{kind:"link",renderLink:a=>(0,t.jsx)(o.E,{to:"/companies/$companyHumanId/join/login",params:{companyHumanId:e},children:a})},renderTermsOfUseLink:e=>(0,t.jsx)(o.E,{to:"/terms-of-use",children:e}),renderPrivacyPolicyLink:e=>(0,t.jsx)(o.E,{to:"/privacy-policy",inline:!0,children:e})})})}n(8090),l()}catch(e){l(e)}})},28154:(e,a,n)=>{n.a(e,async(e,l)=>{try{n.d(a,{y:()=>u}),n(70810);var t=n(68641),i=n(21753),r=n(36296),s=n(37376),o=e([t,s]);[t,s]=o.then?(await o)():o;let u=({customAlertError:e,onSuccess:a})=>{let{commitMutationOnce:l,isInFlight:o,uuid:u,isSuccess:c}=(0,s.O)({customAlertError:e}).mutation(n(55748)).payload("signUpDirectJoinTalentCommunityTalent").typename("SignUpDirectJoinTalentCommunityTalentPayload");return{signUpDirectJoinTalentCommunityTalent:({companyHumanId:e,email:n,firstName:s,referrerId:o,surname:c}
3)=>{let d=u();l({variables:{input:{clientMutationId:d,companyHumanId:e,email:n,firstName:s,linkedInUrl:null,password:null,referrerId:o,surname:c},locale:(0,r.JK)()},onSuccess:e=>{let n=e.talent?.user;if(n){let e=()=>{t.zS.track({type:"talent:signup__account.created",version:"v1",payload:{event_id:d}})};e(),t.zS.setViewerIdentity({externalId:n.externalId}),t.zS.registerMarketingUserData({userId:n.externalId,email:n.email}),e()}window.localStorage.removeItem(i.bj),a({redirectTo:e.redirect.to})}})},isLoading:o,isSuccess:c}};l()}catch(e){l(e)}})},38197:(e,a,n)=>{n.a(e,async(e,l)=>{try{n.d(a,{t:()=>d});var t=n(35714),i=n(21615),r=n(21305),s=n(48818),o=n(94486),u=n(97576),c=e([i,o]);[i,o]=c.then?(await c)():c;let d=({children:e,imageSrc:a,logoTestId:n,logoUrl:l,title:c})=>(0,t.jsx)(o.Y,{display:"flex",pt:0,children:(0,t.jsx)(i.I,{imageSrc:a,children:(0,t.jsxs)(s.so,{col:!0,gap:40,children:[(0,t.jsxs)(s.so,{col:!0,gap:16,children:[l?(0,t.jsx)(r.Q,{src:l,testId:n}):null,(0,t.jsx)(u.o,{variant:"p20",bold:!0,children:c})]}),e]})})});l()}catch(e){l(e)}})},45719:(e,a,n)=>{n.a(e,async(e,l)=>{try{n.r(a),n.d(a,{component:()=>r});var t=n(22358),i=e([t]);let r=(t=(i.then?(await i)():i)[0]).J;l()}catch(e){l(e)}})},55748:(e,a,n)=>{var l,t,i,r,s,o,u,c,d,m;n.r(a),n.d(a,{default:()=>g});let y=(m={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{fragment:{argumentDefinitions:l=[{defaultValue:null,kind:"LocalArgument",name:"input"},{defaultValue:null,kind:"LocalArgument",name:"locale"}],kind:"Fragment",metadata:null,name:"useSignUpDirectJoinTalentCommunityTalentMutation",selections:[{alias:null,args:t=[{kind:"Variable",name:"input",variableName:"input"}],concreteType:null,kind:"LinkedField",name:"signUpDirectJoinTalentCommunityTalent",plural:!1,selections:[i={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{kind:"InlineFragment",selections:[{args:null,kind:"FragmentSpread",name:"useRelayMutation_error"}],type:"ErrorPayload",abstractKey:null},{kind:"InlineFragment",selections:[r={alias:null,args:null,kind:"ScalarField",name:"companyHumanId",storageKey:null},s={alias:null,args:null,concreteType:"Redirect",kind:"LinkedField",name:"redirect",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"to",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"Talent",kind:"LinkedField",name:"talent",plural:!1,selections:[{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[o={alias:null,args:null,kind:"ScalarField",name:"externalId",storageKey:null},u={alias:null,args:null,kind:"ScalarField",name:"email",storageKey:null}],storageKey:null}],storageKey:null},{kind:"InlineDataFragmentSpread",name:"useShowRelayToasts_toastable",selections:[d={kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"Toast",kind:"LinkedField",name:"toasts",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"type",storageKey:null},{alias:null,args:c=[{kind:"Variable",name:"locale",variableName:"locale"}],kind:"ScalarField",name:"content",storageKey:null}],storageKey:null}],type:"Toastable",abstractKey:"__isToastable"}],args:null,argumentDefinitions:[{kind:"RootArgument",name:"locale"}]}],type:"SignUpDirectJoinTalentCommunityTalentPayload",abstractKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:l,kind:"Operation",name:"useSignUpDirectJoinTalentCommunityTalentMutation",selections:[{alias:null,args:t,concreteType:null,kind:"LinkedField",name:"signUpDirectJoinTalentCommunityTalent",plural:!1,selections:[i,{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"clientMutationId",storageKey:null},{alias:null,args:null,concreteType:"AppError",kind:"LinkedField",name:"error",plural:!1,selections:[{alias:null,args:c,kind:"ScalarField",name:"title",storageKey:null},{alias:null,args:c,kind:"ScalarField",name:"message",storageKey:null}],storageKey:null}],type:"ErrorPayload",abstractKey:null},{kind:"InlineFragment",selections:[r,s,{alias:null,args:null,concreteType:"Talent",kind:"LinkedField",name:"talent",plural:!1,selections:[{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[o,u,m],storageKey:null},m],storageKey:null},d],type:"SignUpDirectJoinTalentCommunityTalentPayload",abstractKey:null}],storageKey:null}]},params:{id:"c088d39104491f44433e5c967ad1c7e567dd89f5549bfde0073660058716316b",metadata:{},name:"useSignUpDirectJoinTalentCommunityTalentMutation",operationKind:"mutation",text:null}});y.hash="9624e9061f225635e87c2430d5b8e080";let g=y},72146:(e,a,n)=>{n.r(a),n.d(a,{default:()=>t});let l={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"useDirectJoinTalentCommunityResourceUnavailable_resource",selections:[{alias:null,args:null,kind:"ScalarField",name:"reason",storageKey:null},{kind:"InlineDataFragmentSpread",name:"useShowRelayToasts_toastable",selections:[{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"Toast",kind:"LinkedField",name:"toasts",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"type",storageKey:null}
3,{alias:null,args:[{kind:"Variable",name:"locale",variableName:"locale"}],kind:"ScalarField",name:"content",storageKey:null}],storageKey:null}],type:"Toastable",abstractKey:"__isToastable"}],args:null,argumentDefinitions:[{kind:"RootArgument",name:"locale"}]}],type:"DirectJoinTalentCommunityResourceUnavailable",abstractKey:null};l.hash="6299dca4d0309284309923c94ef99e4f";let t=l}}; 4//# sourceMappingURL=5719.d8e53fcf.mjs.map 5//# debugId=93b9a7f0-2c40-5e24-91dc-16d155b44e81
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.