PageSourceSearch

https://sourcebae.com/_next/static/chunks/829-43492e8c9f4e80db.js

js sourcebae.com collected 2026-10-04 19:41:37 UTC 16,495 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[829],{90373:function(e,t,s){"use strict";s.d(t,{Z:function(){return i}});var l=s(85893),_=s(67294),a=s(25972),o=s(9041);s(7103);var n=e=>{let{rawContent:t,className:s=""}=e,[a]=_.useState(()=>{try{let e=JSON.parse(t);if((null==e?void 0:e.blocks)&&(null==e?void 0:e.entityMap)!==void 0)return o.EditorState.createWithContent((0,o.convertFromRaw)(e))}catch(e){}return o.EditorState.createEmpty()});return(0,l.jsxs)("div",{className:"draft-js-readonly-editor ".concat(s),children:[(0,l.jsx)("style",{children:"\n        .draft-js-readonly-editor .public-DraftEditor-content {\n          min-height: auto;\n        }\n        .draft-js-readonly-editor .DraftEditor-root {\n          cursor: default;\n        }\n        .draft-js-readonly-editor .public-DraftEditorPlaceholder-root {\n          display: none;\n        }\n      "}),(0,l.jsx)(o.Editor,{editorState:a,onChange:()=>{},readOnly:!0})]})},i=e=>{let{formattedJobDescription:t,jobDescription:s,className:_=""}=e,{useDraftJs:o,content:i}=(0,a.RK)(t,s);return i?o?(0,l.jsx)(n,{rawContent:i,className:_}):(0,l.jsx)("div",{className:"whitespace-pre-wrap ".concat(_),children:i}):null}},72762:function(e,t,s){"use strict";var l=s(85893),_=s(97978),a=s.n(_);let o=["#DAB4E5","#FECAD5","#FDAEA9","#F0CA86","#DDE59B","#9AD7A4"],n="ABCDEFGHIJKLMNOPQRSTUVWXYZ";t.Z=()=>{let e=Array.from({length:3},()=>({letter:n[Math.floor(Math.random()*n.length)],color:o[Math.floor(Math.random()*o.length)]}));return(0,l.jsx)("div",{className:a().container,children:e.map((e,t)=>(0,l.jsx)("div",{className:a().avatar,style:{backgroundColor:e.color,marginLeft:0===t?0:-6,zIndex:t},children:e.letter},t))})}},54633:function(e,t,s){"use strict";s.d(t,{dP:function(){return d},p6:function(){return p},zP:function(){return u}});var l=s(85893),_=s(67294),a=s(84507),o=s(74974),n=s.n(o),i=s(81528),r=s(25972),c=s(72762);let d=e=>{let{actualBudget:t,currency:s,billingRate:l}=e||{};if(!t||t<=0)return null;let _=Number(t).toLocaleString();return"".concat(s||""," ").concat(_).concat("Hourly"===l?"/hr":"Daily"===l?"/day":"Monthly"===l?"/mo":"").trim()},p=e=>{if(!e)return"";let t=new Date(e);if(isNaN(t.getTime()))return e;let s=t.getDate(),l=t.toLocaleString("en-US",{month:"short"}),_=t.getFullYear();return"".concat(s," ").concat(l,", ").concat(_)},u=e=>{let t=(e||"").split("").reduce((e,t)=>e+t.charCodeAt(0),0),s=new Date,l=(t*s.getDate()+(s.getMonth()+1)*7)%5;return t%26+5+l};t.ZP=function(e){let{job:t,variant:s="jobs",onViewDetails:o,onApply:m,onStartInterview:h,hideInterviewButton:y=!1,className:b=""}=e,{requirementName:j,jobTitle:v,createdAt:x,applicationStatus:f,developerTechnologiesRequired:w,_id:N,id:g,requirementId:k}=t,I=(0,_.useMemo)(()=>u((null==k?void 0:k._id)||k||N||g),[k,N,g]),C=(e,t)=>{if(t)return"Interview link has expired. You can reapply after 30 days.";switch(null==e?void 0:e.toLowerCase()){case"interview pending":return"Complete the AI interview to move the application forward.";case"interview done":case"completed":case"selected":return"You've completed the interview. Our recruiter will connect with you soon.";case"application rejected":case"rejected":return"Application not selected based on AI interview. Please reapply later.";default:return null}},D=(e,t)=>{if(t)return"#9CA3AF";switch(null==e?void 0:e.toLowerCase()){case"interview pending":return"#D47B00";case"interview done":case"completed":case"selected":return"#00AB1F";case"application rejected":case"rejected":return"#E85557";default:return"#6B7280"}},A=(null==f?void 0:f.toLowerCase())==="interview pending",E=A&&x&&new Date(x).getTime()+1728e5<Date.now(),P=!!t.aiAssessmentId&&(!A||y),[S,T]=(0,_.useState)(!1),B=async()=>{S||(T(!0),await (0,i.Q8)(t.aiAssessmentId),T(!1))};return(0,l.jsxs)("div",{className:"".concat("jobs"===s?n().card_jobs_variant:n().card," ").concat(b),onClick:()=>{"jobs"===s&&((0,r.Vy)("jobClicked",{jobId:t._id||t.id,jobTitle:t.requirementName||t.jobTitle}),o())},children:["jobs"===s&&(0,l.jsxs)("div",{className:n().jobs_inner,children:[(0,l.jsxs)("div",{className:n().jobs_top,children:[(0,l.jsxs)("div",{className:n().jobs_title_col,children:[(0,l.jsx)("h3",{className:n().jobs_title,children:j||v}),d(t)&&(0,l.jsxs)("div",{className:n().jobs_budget_row,children:[(0,l.jsx)("img",{src:"https://amzn-sourcebae-prod.s3.amazonaws.com/production/assets/image/svg%2Bxml/1777284005859-Banknote.svg",alt:"",className:n().budget_icon}
1),(0,l.jsx)("p",{className:n().jobs_subtitle,children:d(t)})]})]}),(0,l.jsx)("button",{onClick:e=>{e.stopPropagation(),(0,r.Vy)("applyNow",{jobId:t._id||t.id,jobTitle:t.requirementName||t.jobTitle}),m(e)},className:n().apply_now_btn,children:"Apply Now"})]}),(null==w?void 0:w.length)>0&&(0,l.jsxs)("div",{className:n().tech_stack_row,children:[w.slice(0,3).map(e=>(0,l.jsx)("span",{className:n().tech_chip,title:e.technologyName,children:e.technologyName},e._id)),w.length>3&&(0,l.jsxs)("span",{className:n().tech_chip,children:["+",w.length-3]})]}),(0,l.jsx)("div",{className:n().divider_line}),(0,l.jsxs)("div",{className:n().jobs_footer_row,children:[(0,l.jsxs)("div",{className:n().applicants_row,children:[(0,l.jsx)(c.Z,{}),(0,l.jsxs)("span",{className:n().meta_text,children:[I," hired this month"]})]}),(0,l.jsx)("span",{className:n().meta_text,children:x?p(x):""})]})]}),"applications"===s&&(()=>{let e=D(f,E),s=C(f,E),_=d(t);return(0,l.jsxs)("div",{className:n().app_row,children:[(0,l.jsxs)("div",{className:n().app_left,children:[(0,l.jsxs)("div",{className:n().app_title_row,children:[(0,l.jsx)("h3",{className:n().app_title,children:v||j}),(0,l.jsx)("button",{onClick:e=>{e.stopPropagation(),null==o||o()},className:n().ext_link_btn,children:(0,l.jsx)(a.Hi9,{size:16})})]}),_&&(0,l.jsxs)("div",{className:n().jobs_budget_row,children:[(0,l.jsx)("img",{src:"https://amzn-sourcebae-prod.s3.amazonaws.com/production/assets/image/svg%2Bxml/1777284005859-Banknote.svg",alt:"",className:n().budget_icon}),(0,l.jsx)("span",{className:n().jobs_subtitle,children:_})]})]}),(0,l.jsxs)("div",{className:n().app_info_block,children:[(0,l.jsxs)("div",{className:n().info_col,children:[(0,l.jsx)("span",{className:n().info_col_label,children:"Applied Date"}),(0,l.jsx)("span",{className:n().info_col_value,children:p(x)})]}),(0,l.jsx)("div",{className:n().separator_vert}),(0,l.jsxs)("div",{className:n().info_col,children:[(0,l.jsx)("span",{className:n().info_col_label,children:"Application Status"}),(0,l.jsxs)("div",{className:n().status_row,children:[(0,l.jsx)("span",{className:n().info_col_value_dynamic,style:{color:e},children:E?"Expired":f||"Pending"}),s&&(0,l.jsxs)("span",{className:n().tooltip_wrapper,children:[(0,l.jsx)(a.frK,{size:16,color:e}),(0,l.jsx)("span",{className:n().tooltip_box,children:s})]})]})]}),!y&&!E&&A&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:n().separator_vert}),(0,l.jsx)("div",{className:n().btn_col,children:(0,l.jsx)("button",{onClick:e=>{e.stopPropagation(),null==h||h()},className:n().action_btn,children:"Start AI Interview"})})]}),P&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:n().separator_vert}),(0,l.jsx)("div",{className:n().btn_col,children:(0,l.jsxs)("button",{onClick:e=>{e.stopPropagation(),B()},disabled:S,className:"".concat(n().action_btn," ").concat(n().action_btn_icon),style:{opacity:S?.6:1},children:[(0,l.jsx)(a.H_7,{size:14}),S?"Loading...":"View Report"]})})]})]})]})})()]})}},82439:function(e,t,s){"use strict";var l=s(85893),_=s(67294),a=s(84507),o=s(55194),n=s(45644),i=s.n(n),r=s(54633),c=s(72762),d=s(81528),p=s(90373);t.Z=e=>{var t,s,n;let{job:u,onClose:m,onApply:h}=e,[y,b]=(0,_.useState)(!1);if((0,_.useEffect)(()=>{if(u)return document.body.style.overflow="hidden",()=>{document.body.style.overflow=""}},[u]),!u)return null;let j=(null==u?void 0:u.requirementName)||(null==u?void 0:u.jobTitle),v=(null==u?void 0:null===(t=u.developerTechnologiesRequired)||void 0===t?void 0:t.map(e=>e.technologyName))||(null==u?void 0:null===(s=u.technologies)||void 0===s?void 0:s.map(e=>e.name))||[],x=(0,r.dP)(u),f=[(null==u?void 0:u.workType)?u.workType.charAt(0).toUpperCase()+u.workType.slice(1):null,x||null,(null==u?void 0:u.isPermanentHiring)!=null?u.isPermanentHiring?"Permanent":"Contract":null].filter(Boolean);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:i().modal_overlay,onClick:e=>{e.target===e.currentTarget&&m()},children:(0,l.jsxs)("div",{className:i().modal_container,children:[(0,l.jsx)("button",{className:i().close_button,onClick:m,children:(0,l.jsx)(a.apv,{size:18})}),(0,l.jsxs)("div",{className:i().modal_header,children:[(0,l.jsxs)("div",{className:i().header_top,children:[(0,l.jsx)("div",{className:i().header_left,children:(0,l.jsx)("div",{className:i().title_row,children:(0,l.jsx)("h2",{className:i().job_title,children:j})})}),h&&(0,l.jsxs)("div",{className:i().header_right,children:[(0,l.jsx)("button",{className:i().apply_button,onClick:h,children:"Apply and Start AI Interview"}),(0,l.jsx)("button",{className:"".concat(i().share_button," ").concat(i().share_button_desktop),onClick:()=>(0,d.br)(u),children:(0,l.jsx)(a.qyl,{size:18})})]})]}),f.length>0&&(0,l.jsxs)("div",{className:i().tags_left,children:[f.map((e,t)=>(0,l.jsx)("span",{className:i().tag,children:e},t)),!h&&(0,l.jsx)("button",{className:i().share_button_inline,onClick:()=>(0,d.br)(u),children:(0,l.jsx)(a.qyl,{size:13})})]}),(0,l.jsxs)("div",{className:i().meta_row,children:[(0,l.jsxs)("div",{className:i().hired_info,children:[(0,l.jsx)(c.Z,{}),(0,l.jsxs)("span",{className:i().hired_text,children:[(0,r.zP)((null===(n=u.requirementId)||void 0===n?void 0:n._id)||u.requirementId||u._id||u.id)," hired this month"]})]}),(0,l.jsxs)("span",{className:i().posted_date,children:["Posted: ",(0,r.p6)(u.createdAt)]})]})]}),(0,l.jsxs)("div",{className:i().modal_body,children:[((null==u?void 0:u.formattedJobDescription)||(null==u?void 0:u.jobDescription))&&(0,l.jsxs)("div",{className:i().section,children:[(0,l.jsx)("h3",{className:i().section_title,children:"About this role"}),(0,l.jsx)(p.Z,{formattedJobDescription:u.formattedJobDescription,jobDescription:u.jobDescription,className:i().section_text})]}),v.length>0&&(0,l.jsxs)("div",{className:i().section,children:[(0,l.jsx)("h3",{className:i().section_title,children:"Required Skills"}),(0,l.jsx)("ul",{className:i().section_list,children:v.map((e,t)=>(0,l.jsx)("li",{children:e},t))})]})]})]})}),(0,l.jsx)(o.Z,{isOpen:y,onClose:()=>b(!1),job:u})]})}},55194:function(e,t,s){"use strict";var l=s(85893),_=s(67294),a=s(84507),o=s(31358),n=s.n(o),i=s(25972),r=s(6354);t.Z=e=>{var t;let{isOpen:s,onClose:o,job:c}=e,[d,p]=(0,_.useState)(!1);if(!s)return null;(0,_.useEffect)(()=>(document.body.style.overflow="hidden",()=>{document.body.style.overflow="unset"}),[]);let u=(null==c?void 0:null===(t=c.technologies)||void 0===t?void 0:t.map(e=>e.name).join(", "))||"",m=async()=>{(0,i.Vy)("assessmentCreated",{jobId:c._id||c.id,jobTitle:c.jobTitle||"unknown",source:"start_now"});let e=null==c?void 0:c.interviewUrl;if(!e)try{p(!0);let t=await (0,r.QC)(null==c?void 0:c.requirementId);e=null==t?void 0:t.interviewUrl}catch(e){p(!1),o();return}finally{p(!1)}e&&window.open(e,"_blank","noopener,noreferrer"),o()};return(0,l.jsx)("div",{className:n().modal_overlay,onClick:e=>{e.target===e.currentTarget&&o()},children:(0,l.jsxs)("div",{className:n().modal_container,children:[(0,l.jsx)("button",{className:n().close_button,onClick:o,children:(0,l.jsx)(a.apv,{size:24,color:"black"})}),(0,l.jsx)("h2",{className:n().title,children:"Start AI Interview"}),(0,l.jsxs)("p",{className:n().description,children:["To proceed with your application for"," ",(0,l.jsx)("strong",{children:(null==c?void 0:c.jobTitle)||"this position"}),", you need to complete the AI Interview",u?" for ".concat(u):"","."," ","To qualify, you must clear the AI interview for all required skills."]}),(0,l.jsxs)("div",{className:n().actions,children:[(0,l.jsx)("button",{className:n().btn_later,onClick:()=>{o()},children:"Do It Later"}),(0,l.jsx)("button",{className:n().btn_start,onClick:m,disabled:d,children:d?"Preparing Interview...":"Start AI Interview Now"})]})]})})}},97978:function(e){e.exports={container:"styles_container__xjOVw",avatar:"styles_avatar__uP7rU"}},74974:function(e){e.exports={card:"styles_card__fJ9n_",card_jobs:"styles_card_jobs__XRsqG",card_header:"styles_card_header__6VIqo",header_content:"styles_header_content__r_YV0",title_row:"styles_title_row__2mm3h",job_title:"styles_job_title__pJXdI",company_location:"styles_company_location__gKBKb",header_actions:"styles_header_actions___evDU",job_subtitle:"styles_job_subtitle__O_coZ",meta_row:"styles_meta_row__bnTL_",meta_item:"styles_meta_item__P9yoI",tech_row:"styles_tech_row__SonLk",tech_tag:"styles_tech_tag__4ermd",tech_more:"styles_tech_more__wm7B_",jobs_bottom_row:"styles_jobs_bottom_row__GUPrn",date:"styles_date__jXdco",share_btn:"styles_share_btn__PDtEl",jobs_apply_btn:"styles_jobs_apply_btn__OAR8J",application_footer
1:"styles_application_footer__OaSI9",application_info:"styles_application_info__DgIs_",info_item:"styles_info_item__9c29v",info_label:"styles_info_label__ZculD",info_value:"styles_info_value__fGpRm",status_success:"styles_status_success__aliNH",status_warning:"styles_status_warning__6mthD",status_error:"styles_status_error__aSAMV",status_closed:"styles_status_closed__4XMIt",status_default:"styles_status_default__JpJmp",status_note:"styles_status_note__Rlh9k",download_link:"styles_download_link__nSx85",tooltip_wrapper:"styles_tooltip_wrapper__2yLIQ",tooltip_box:"styles_tooltip_box__RtLwv",card_jobs_variant:"styles_card_jobs_variant__3k2sc",jobs_inner:"styles_jobs_inner__UdVFn",jobs_top:"styles_jobs_top__cHKHN",jobs_title_col:"styles_jobs_title_col__LYXf8",jobs_title:"styles_jobs_title__gmVxV",jobs_budget_row:"styles_jobs_budget_row__DElpo",budget_icon:"styles_budget_icon__06KEB",jobs_subtitle:"styles_jobs_subtitle__G1bPe",apply_now_btn:"styles_apply_now_btn__Vwb8l",tech_stack_row:"styles_tech_stack_row__R_WbU",tech_chip:"styles_tech_chip__RtO9I",divider_line:"styles_divider_line__BGa7t",jobs_footer_row:"styles_jobs_footer_row__N9abK",applicants_row:"styles_applicants_row__J23XQ",avatar_img:"styles_avatar_img__yGBnl",meta_text:"styles_meta_text__bSEkW",app_row:"styles_app_row__EOG4J",app_left:"styles_app_left__6sszW",app_pay_row:"styles_app_pay_row__aAeRe",app_pay_icon:"styles_app_pay_icon__Qn_0f",app_pay_text:"styles_app_pay_text__ymIst",app_info_block:"styles_app_info_block__Y8yQx",app_title_row:"styles_app_title_row__Bl6UK",app_title:"styles_app_title__7tea8",ext_link_btn:"styles_ext_link_btn__oOR1S",app_subtitle:"styles_app_subtitle__CUg2r",info_col:"styles_info_col__65odX",info_col_label:"styles_info_col_label__cMdqt",info_col_value:"styles_info_col_value__jUYT_",info_col_value_dynamic:"styles_info_col_value_dynamic__UvG3x",status_row:"styles_status_row__OlbaH",separator_vert:"styles_separator_vert__Ib730",btn_col:"styles_btn_col__6iZvE",action_btn:"styles_action_btn__d6XTU",action_btn_icon:"styles_action_btn_icon__gIKjK"}},45644:function(e){e.exports={modal_overlay:"styles_modal_overlay__ynlV0",modal_container:"styles_modal_container___zyqP",modalFadeIn:"styles_modalFadeIn__XRECX",close_button:"styles_close_button__Gr0T_",modal_header:"styles_modal_header__DG6Nc",header_top:"styles_header_top__0ZnQb",header_left:"styles_header_left__7DcHV",job_title:"styles_job_title__09QPG",header_right:"styles_header_right__Z1Cel",share_button:"styles_share_button__hXDs8",title_row:"styles_title_row__j91Hj",share_button_desktop:"styles_share_button_desktop__Om3BP",share_button_inline:"styles_share_button_inline__V_UHZ",apply_button:"styles_apply_button__Q_DoJ",tags_left:"styles_tags_left__T92N4",meta_row:"styles_meta_row__dx3pV",tag:"styles_tag__FD_Iw",hired_info:"styles_hired_info__1zEnX",hired_avatar:"styles_hired_avatar__9oeDS",hired_text:"styles_hired_text__4Vwfk",posted_date:"styles_posted_date__Hl4Ci",modal_body:"styles_modal_body__3Wgv9",section:"styles_section__l3IkN",section_title:"styles_section_title__ptE9J",section_text:"styles_section_text__TC5Z7",section_list:"styles_section_list__gXnjU"}},31358:function(e){e.exports={modal_overlay:"styles_modal_overlay__L0fSK",modal_container:"styles_modal_container__CMGVc",popIn:"styles_popIn__4vycJ",close_button:"styles_close_button__T0BhY",title:"styles_title__j4kvc",description:"styles_description__uaunu",actions:"styles_actions__WHCew",btn_later:"styles_btn_later__py6tA",btn_start:"styles_btn_start__OXWrW"}}}]);

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.