PageSourceSearch

https://www.talent.com/_next/static/chunks/2657.09a0f74f297f8936.js

js talent.com collected 2026-10-02 07:51:46 UTC 17,696 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2657],{22585:(e,t,n)=>{n.d(t,{i:()=>x});var o=n(29266),r=n(99578),i=n(53977);let l=n(58453).I4.div.withConfig({componentId:"sc-41f14d97-0"})(["display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;margin:0 auto;width:100%;button{width:100%;max-width:300px;}"]);var a=n(26075),c=n(931),s=n(5699),d=n(90669);let u=(0,d.createServerReference)("7078cc849712320fd12299be9e7eb4dbd2e6549c6c",d.callServer,void 0,d.findSourceMapURL,"signInModule"),p=(0,d.createServerReference)("00563cf4c6ec323cfc036f08df1fc6d88d393c31e8",d.callServer,void 0,d.findSourceMapURL,"getLocationAction");var g=n(81367),f=n(56210),h=n(56533),m=n(37803),v=n(449),_=n(31667);let x=e=>{let{onSuccessLogin:t,email:n,isAccountFound:d,isOtpBlocked:x,modalProps:w,onError:b,customEventCallback:y}=e,[A,C]=(0,r.useState)(!1),[j,E]=(0,r.useState)(4),k=(0,r.useRef)(null),S=(0,g.Il)(),{sendEvents:L}=(0,g.Y4)(),{setUser:M,setUserJobAlerts:O}=(0,h.u)(),R=(0,v.a8)(),I=(0,_.pA)(R),B=(0,s.c)("modal_account_creation"),F=async e=>{if(e.length>5){L({event_type:"authentication_process",process_step:"auth_otp_entered",page_name:I,trigger_from:null==w?void 0:w.trigger_from,ui_component:null==w?void 0:w.ui_component});try{if(!n)throw new globalThis.Error("No Email");let o=await p();C(!0);let r=await u(n,e,d);if(void 0!==r.attemptsLeft&&E(r.attemptsLeft),[401].includes(null==r?void 0:r.statusCode)&&(L({event_type:"authentication_process",process_step:"auth_otp_invalid",page_name:I,trigger_from:null==w?void 0:w.trigger_from,ui_component:null==w?void 0:w.ui_component}),k.current.clear(),k.current.onError(),b({statusCode:401,message:""}),C(!1)),[429,404].includes(null==r?void 0:r.statusCode)&&(L({event_type:"authentication_process",process_step:"auth_otp_blocked",page_name:I,trigger_from:null==w?void 0:w.trigger_from,ui_component:null==w?void 0:w.ui_component}),k.current.clear(),k.current.onError(),b({statusCode:429,message:B("otp.you_have_reached")}),C(!0)),(null==r?void 0:r.statusCode)===201){L({event_type:"authentication_process",process_step:"auth_otp_verified",page_name:I,trigger_from:null==w?void 0:w.trigger_from,ui_component:null==w?void 0:w.ui_component}),x&&b({statusCode:200,message:""});let e=await (0,f.u)(),i=await (0,m.Z)();O(i),M(e),(null==r?void 0:r.isNewUser)&&L({event_type:"user_signed_up",registration_source:"",method:"email",email_domain:n.split("@")[1],timezone:o.timeZone,user_id:e.id,trigger_from:null==w?void 0:w.trigger_from,ui_component:null==w?void 0:w.ui_component},{},S,"account"),L({event_type:"user_signed_in",is_stay_signed:1,user_id:e.id,method:"email",email_domain:n.split("@")[1],trigger_from:null==w?void 0:w.trigger_from,ui_component:null==w?void 0:w.ui_component},{},{},"account"),t("success")}}catch(e){return C(!1),{statusCode:404}}}},N="".concat(B("create_an_account.incorrect.code"),".").concat(B("create_an_account.variable_attempts_remaining",{variable:j}));return(0,o.jsxs)(l,{children:[(0,o.jsx)(i.c,{ref:k,onChange:F,disabled:A}),(0,o.jsx)(a.jb,{color:c.A.light.color.red[300],children:j<4?N:""})]})}},56210:(e,t,n)=>{n.d(t,{u:()=>r});var o=n(90669);let r=(0,o.createServerReference)("7fc846e7b7e2ddf3bde0323a1a86909d30afc14e13",o.callServer,void 0,o.findSourceMapURL,"getUserInfo")},62657:(e,t,n)=>{n.r(t),n.d(t,{ValidateOtpCode:()=>C});var o=n(29266),r=n(99578),i=n(82072),l=n(33762),a=n(99863),c=n(5699),s=n(6709),d=n(22585),u=n(90325),p=n(58453),g=n(931);let f=p.Ay.div.withConfig({componentId:"sc-5d70cadf-0"})(["display:block;position:absolute;top:10px;z-index:5;max-width:100%;div{color:",";text-decoration:none;background-color:",";height:72px;border:none;font-size:14px;}"],g.A.light.color.white,g.A.light.color.purple[600]);var h=n(93938),m=n(66924),v=n(449),_=n(81367),x=n(31667),w=n(64140),b=n(84417),y=n(56533),A=n(17228);let C=e=>{let{isMobile:t,skipJobAlertHandler:n}=e,{showModal:p,values:g,closeModal:C,modalProps:j,jobAlertData:E}=(0,i.t)(),k=(0,c.c)("modal_account_creation"),[S,L]=(0,r.useState)(null),M=(0,m.w)(),O=(null==g?void 0:g.email)||"[email protected]",R=k.raw("otp.verify_your_account"),I=k.rich("create_an_account.enter_the_6_digit",{strong:e=>(0,o.jsx)("b",{children:e}),email:null==g?void 0:g.email}),B=(0,v.a8)(),F=(0,x.pA)(B),{sendEvents:N}=(0,_.Y4)(),[P,T]=(0,r.useState)(!1),{isSmsOptInEnabled:z,promptIfEligible:H}=(0,A.qQ)(),Z=(0,b.wV)(),{user:U}=(0,y.u)();(0,r.useEffect)(()=>{N({event_type:"authentication_process",process_step:"auth_otp_requested",method:"email",page_name:F,trigger_from:null==j?void 0:j.trigger_from,ui_component:null==j?void 0:j.ui_component})},[]);let J=async()=>
1{if(g.isAccountFound&&"otp"===g.accountType){var e,t,n;let o=null!=(n=null==U?void 0:U.id)?n:null==Z||null==(t=Z.data)||null==(e=t.user)?void 0:e.id;if(await H({userId:o,flow:"login_otp"}))return;C(),g.isJobAlert&&await M(j);return}let o=(()=>{if(g.isAccountFound&&"otp"===g.accountType)return!1;if(null==j?void 0:j.jobData)return"ApplyButtonJobAlert";let e=(0,w.Xs)({host:window.location.host});return z&&!g.isAccountFound&&A.yT.includes(e)?"SmsAlertOptIn":"CreateAccountSuccess"})();if(!1===o){C(),g.isJobAlert&&await M(j);return}p(o,j)};return(0,o.jsxs)(l.N,{isMobile:t,onBack:()=>(()=>{let e="CreatePassword";if((g.isAccountFound&&"otp"===g.accountType||!g.isTopTierCountry)&&(e="SignIn",E))return void p("SignInJobalert",E);p(e,j)})(),skipJobAlertHandler:n,stepName:"validate-otp-code",pageName:F,triggerFrom:null==j?void 0:j.trigger_from,uiComponent:null==j?void 0:j.ui_component,is_user_initiator:null==j?void 0:j.is_user_initiator,children:[S&&(0,o.jsx)(f,{children:(0,o.jsx)(h.A,{type:"info",autoDismiss:!0,message:S,onClose:()=>L(null)})}),(0,o.jsx)(s.Dp,{title:R,subtitle:I,icon:(0,o.jsx)(a.A,{width:40,height:40})}),(0,o.jsx)(d.i,{onSuccessLogin:J,email:O,isAccountFound:g.isAccountFound,onError:e=>{let{statusCode:t,message:n}=e;429===t||404===t?(L(n),T(!0)):200===t&&T(!1)},isOtpBlocked:P,modalProps:j}),(0,o.jsx)(u.b,{email:O,isAccountFound:g.isAccountFound,onError:e=>{e&&L(e)},isOtpBlocked:P})]})}},64255:(e,t,n)=>{n.d(t,{A:()=>l});var o,r=n(99578);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(null,arguments)}let l=function(e){return r.createElement("svg",i({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),o||(o=r.createElement("path",{d:"M11 8a1 1 0 0 1 1-1 1 1 0 0 1 .85.51A.9.9 0 0 1 13 8a1 1 0 0 1-2 0m11 4a10 10 0 1 1-20 0 10 10 0 0 1 20 0m-2 0a8 8 0 1 0-16 0 8 8 0 0 0 16 0m-7 2v-3a1 1 0 0 0-1-1h-1a1 1 0 0 0 0 2v3a1 1 0 0 0 1 1h1a1 1 0 0 0 0-2",fill:"currentColor"})))}},74157:(e,t,n)=>{n.d(t,{N:()=>r});var o=n(90669);let r=(0,o.createServerReference)("7f58223abebfe864d27438c50f3ad9b7c92c7a169c",o.callServer,void 0,o.findSourceMapURL,"registerAccount")},90325:(e,t,n)=>{n.d(t,{b:()=>m});var o=n(29266),r=n(97112),i=n(74157),l=n(99578),a=n(931),c=n(26075),s=n(58453);let d=(0,s.Ay)(c.nd).withConfig({componentId:"sc-d929c0d3-0"})(["color:",";text-align:center;a{color:",";text-decoration:none;}a:hover{text-decoration:underline;cursor:pointer;}"],a.A.light.color.gray[400],a.A.light.color.purple[400]),u=s.Ay.button.withConfig({componentId:"sc-d929c0d3-1"})(["display:inline;text-align:center;font-size:14px;font-weight:",";pointer-events:",";span{color:",";text-decoration:none;}span:hover{text-decoration:underline;cursor:pointer;}"],a.A.light.fontWeight.medium,e=>e.disabled?"none":null,e=>e.disabled?a.A.light.color.gray[250]:a.A.light.color.purple[400]);(0,s.Ay)(c.pP).withConfig({componentId:"sc-d929c0d3-2"})(["display:block;position:relative;color:",";padding:12px 0 0;"],a.A.light.color.green[400]);let p=s.Ay.div.withConfig({componentId:"sc-d929c0d3-3"})(["display:flex;flex-direction:column;align-items:center;gap:4px;"]);var g=n(5699),f=n(69593),h=n(81367);let m=e=>{let{email:t,isAccountFound:n,onError:s,isOtpBlocked:m}=e,v=(0,g.c)("modal_account_creation"),[_,x]=(0,l.useState)(!1),[w,b]=(0,l.useState)(0),[y,A]=(0,l.useState)(!1),{ip:C}=(0,f.C)();(0,l.useEffect)(()=>{let e;return w>0&&(e=setInterval(()=>{b(t=>t<=1?(clearInterval(e),A(!1),x(!1),0):t-1)},1e3)),()=>clearInterval(e)},[w]);let j=Math.floor(w/60),E=w%60,k=async()=>{x(!0);let e=await (0,h.Jz)(),o=n?await (0,r.F)(t):await (0,i.N)(t,"",C,"",e);if([200,201].includes(null==o?void 0:o.statusCode)){var l;b(10),s(v("otp.email_sent_if",{number:null==o||null==(l=o.data)?void 0:l.attempts_left}))}[401,429].includes(null==o?void 0:o.statusCode)&&(A(!0),b(300),s(v("otp.you_cant_send"))),[404].includes(null==o?void 0:o.statusCode)&&s(v("otp.you_cant_send"))};return(0,o.jsxs)(p,{children:[(0,o.jsx)(d,{children:v("create_an_account.did_not_get_the_email")}),(0,o.jsx)(u,{onClick:k,disabled:_||m,children:y?(0,o.jsx)("span",{children:v.rich("create_an_account.resend_in_variable",{strong:e=>(0,o.jsx)(c.xB,{color:a.A.light.color.gray[800],children:e}),variable:"".concat(j,":").concat(E<10?"0".concat(E):E)})}):(0,o.jsx)("span",{children:v("create_an_account.resend")})})]})}}
1,93938:(e,t,n)=>{n.d(t,{A:()=>F});var o,r,i,l,a,c,s,d,u,p,g=n(29266),f=n(99578),h=n(58453),m=n(931);let v=(0,h.AH)(["background-color:",";color:",";border:1px solid;border-color:rgba(235,87,87,0.5);background-color:rgba(235,87,87,0.05);box-shadow:none;margin:0px;padding:8px;border-radius:8px;margin:0;margin-bottom:0px;height:40px;gap:8px;"],m.A.light.color.purple[500],m.A.light.color.red[300]),_=(0,h.AH)(["color:",";margin-right:0;"],m.A.light.color.red[300]),x=h.Ay.div.withConfig({componentId:"sc-489eaf62-0"})(["display:flex;align-items:center;justify-content:center;margin:10px;padding:10px 20px;border-radius:4px;margin-bottom:10px;box-shadow:0 2px 4px rgba(0,0,0,0.1);border:2px solid;border-color:",";background-color:",";color:",";",""],e=>{switch(e.type){case"success":return"".concat(m.A.light.color.notification.success);case"warning":return"".concat(m.A.light.color.notification.warning);case"error":return"".concat(m.A.light.color.notification.error);default:return"".concat(m.A.light.color.notification.info)}},e=>{switch(e.type){case"success":return"".concat(m.A.light.color.notification.background.mint);case"warning":return"".concat(m.A.light.color.notification.background.linen);case"error":return"".concat(m.A.light.color.notification.background.blush);default:return"".concat(m.A.light.color.notification.background.sky)}},m.A.light.color.gray[800],e=>"validationError"===e.type&&v),w=h.Ay.div.withConfig({componentId:"sc-489eaf62-1"})(["margin-right:15px;display:flex;align-items:center;color:",";",""],e=>{switch(e.type){case"success":return"".concat(m.A.light.color.notification.success);case"warning":return"".concat(m.A.light.color.notification.warning);case"error":return"".concat(m.A.light.color.notification.error);default:return"".concat(m.A.light.color.notification.info)}},e=>"validationError"===e.type&&_),b=h.Ay.div.withConfig({componentId:"sc-489eaf62-2"})(["flex-grow:1;display:flex;align-items:left;flex-direction:column;"]);h.Ay.div.withConfig({componentId:"sc-489eaf62-3"})(["display:flex;flex-direction:column;font-size:12px;"]);let y=h.Ay.div.withConfig({componentId:"sc-489eaf62-4"})(["cursor:pointer;display:flex;align-items:center;margin-left:15px;color:",";"],e=>{switch(e.type){case"success":return"".concat(m.A.light.color.notification.success);case"warning":return"".concat(m.A.light.color.notification.warning);case"error":return"".concat(m.A.light.color.notification.error);default:return"".concat(m.A.light.color.notification.info)}});var A=n(64255);function C(){return(C=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(null,arguments)}let j=function(e){return f.createElement("svg",C({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),o||(o=f.createElement("path",{d:"M15.64 9.36a.91.91 0 0 1 0 1.28l-4 4a.91.91 0 0 1-1.28 0l-2-2a.91.91 0 0 1 1.28-1.28L11 12.73l3.36-3.37a.91.91 0 0 1 1.28 0M22 12a10 10 0 1 1-20 0 10 10 0 0 1 20 0m-2 0a8 8 0 1 0-16 0 8 8 0 0 0 16 0",fill:"currentColor"})))};function E(){return(E=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(null,arguments)}let k=function(e){return f.createElement("svg",E({width:"1em",height:"1em",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),r||(r=f.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 12a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0v-5a1 1 0 0 1 1-1",fill:"currentColor"})),i||(i=f.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.501 3.403a2.987 2.987 0 0 1 4.09 1.098l.002.002L29.59 23.5a3 3 0 0 1-2.588 4.5H4.996a3 3 0 0 1-2.587-4.5L13.407 4.503l.001-.002a3 3 0 0 1 1.093-1.098M14.275 5l.865.5-11 19a1 1 0 0 0 .365 1.364 1 1 0 0 0 .497.136h21.996a1 1 0 0 0 .861-1.5L16.857 5.497a.988.988 0 0 0-1.714 0z",fill:"currentColor"})),l||(l=f.createElement("path",{d:"M16 24a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3",fill:"
1currentColor"})))};function S(){return(S=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(null,arguments)}let L=function(e){return f.createElement("svg",S({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),a||(a=f.createElement("path",{d:"M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20m0 18a8 8 0 1 1 0-16.001A8 8 0 0 1 12 20m3-9.54L13.41 12 15 13.54A1.032 1.032 0 1 1 13.54 15L12 13.41 10.46 15A1.032 1.032 0 1 1 9 13.54L10.59 12 9 10.46A1.032 1.032 0 0 1 10.46 9L12 10.59 13.54 9A1.032 1.032 0 1 1 15 10.46",fill:"currentColor"})))};function M(){return(M=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(null,arguments)}let O=function(e){return f.createElement("svg",M({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),c||(c=f.createElement("path",{d:"M17.71 16.29a1.004 1.004 0 1 1-1.42 1.42L12 13.41l-4.29 4.3a1.004 1.004 0 1 1-1.42-1.42l4.3-4.29-4.3-4.29a1.004 1.004 0 0 1 1.42-1.42l4.29 4.3 4.29-4.3a1.004 1.004 0 0 1 1.42 1.42L13.41 12z",fill:"currentColor"})))};function R(){return(R=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(null,arguments)}let I=function(e){return f.createElement("svg",R({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",role:"img"},e),s||(s=f.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.75C7.44365 3.75 3.75 7.44365 3.75 12C3.75 16.5563 7.44365 20.25 12 20.25C16.5563 20.25 20.25 16.5563 20.25 12C20.25 7.44365 16.5563 3.75 12 3.75ZM2.25 12C2.25 6.61522 6.61522 2.25 12 2.25C17.3848 2.25 21.75 6.61522 21.75 12C21.75 17.3848 17.3848 21.75 12 21.75C6.61522 21.75 2.25 17.3848 2.25 12Z",fill:"currentColor"})),d||(d=f.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 12C7.5 11.5858 7.83579 11.25 8.25 11.25H15.75C16.1642 11.25 16.5 11.5858 16.5 12C16.5 12.4142 16.1642 12.75 15.75 12.75H8.25C7.83579 12.75 7.5 12.4142 7.5 12Z",fill:"currentColor"})),u||(u=f.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.75C7.44365 3.75 3.75 7.44365 3.75 12C3.75 16.5563 7.44365 20.25 12 20.25C16.5563 20.25 20.25 16.5563 20.25 12C20.25 7.44365 16.5563 3.75 12 3.75ZM2.25 12C2.25 6.61522 6.61522 2.25 12 2.25C17.3848 2.25 21.75 6.61522 21.75 12C21.75 17.3848 17.3848 21.75 12 21.75C6.61522 21.75 2.25 17.3848 2.25 12Z",stroke:"currentColor",strokeWidth:.571429,strokeLinecap:"round",strokeLinejoin:"round"})),p||(p=f.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 12C7.5 11.5858 7.83579 11.25 8.25 11.25H15.75C16.1642 11.25 16.5 11.5858 16.5 12C16.5 12.4142 16.1642 12.75 15.75 12.75H8.25C7.83579 12.75 7.5 12.4142 7.5 12Z",stroke:"currentColor",strokeWidth:.571429,strokeLinecap:"round",strokeLinejoin:"round"})))};var B=n(26075);let F=e=>{let{type:t="info",message:n,dismissTime:o=5e3,autoDismiss:r=!0,onClose:i,showClose:l=!0}=e,[a,c]=(0,f.useState)(!0);(0,f.useEffect)(()=>{if(r){let e=setTimeout(()=>{s()},o);return()=>clearTimeout(e)}},[o]);let s=()=>{c(!1),i&&i()};return a?(0,g.jsxs)(x,{type:t,children:[(0,g.jsx)(w,{type:t,children:(()=>{switch(t){case"success":return(0,g.jsx)(j,{height:"24px",width:"24px","data-testid":"notification-success-icon"});case"warning":return(0,g.jsx)(k,{height:"24px",width:"24px","data-testid":"notification-warning-icon"});case"error":return(0,g.jsx)(L,{height:"24px",width:"24px","data-testid":"notification-error-icon"});case"validationError":return(0,g.jsx)(I,{height:"24px",width:"24px","data-testid":"validation-error-icon"});default:return(0,g.jsx)(A.A,{height:"24px",width:"24px","data-testid":"notification-info-icon"})}})()}),(0,g.jsx)(b,{children:"validationError"===t?(0,g.jsx)(B.Nx,{children:n}):(0,g.jsx)(B.pP,{children:n})}),l&&(0,g.jsx)(y,{type:t,onClick:s,children:(0,g.jsx)(O,{height:"24px",width:"24px","data-testid":"notification-close-icon"})})]}):null}}
1,97112:(e,t,n)=>{n.d(t,{F:()=>r});var o=n(90669);let r=(0,o.createServerReference)("7f4db9ef03395569e3fc6023f863a599b2b074f87e",o.callServer,void 0,o.findSourceMapURL,"sendSignInOtpCode")}}]);

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.