PageSourceSearch

https://execthread.com/dist/5609.16821409.min.js

js execthread.com collected 2026-09-26 05:05:31 UTC 67,971 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkmembers_app=self.webpackChunkmembers_app||[]).push([[5609],{17661(e,t,a){a.d(t,{A:()=>d});var n=a(96540),s=a(51923),i=a(50807),r=a(45662);let o=0;class l extends n.Component{constructor(e){var t,a,n;super(e),t=this,n=(e,t)=>{t.stopPropagation(),this.props.onSelectMenuItem(e)},(a=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,"string");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(a="handleSelection"))in t?Object.defineProperty(t,a,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[a]=n,this.state={isOpen:!1,disabled:e.disabled},this.assignWrapperId()}UNSAFE_componentWillReceiveProps(e){e.disabled!==this.state.disabled&&this.setState({disabled:e.disabled})}assignWrapperId(){o+=1,this.wrapperId=`ButtonMenu-${o}`}render(){const{items:e,components:t,triggerIcon:a}=this.props,{disabled:o,isOpen:l}=this.state;let d=!1;const c=e.map(e=>{const{value:a,icon:i,label:o,classPostfix:l,disabled:c,tooltip:h}=e,p="string"==typeof i?n.createElement(r.A,{name:i}):i;return!d&&i&&(d=!0),c?n.createElement("li",{key:a,className:"ButtonMenu__item ButtonMenu__item--disabled"+(l?` ButtonMenu__item-${l}`:""),role:"menuitem","aria-disabled":"true"},n.createElement("div",null,p&&n.createElement("div",{className:"ButtonMenu__item-icon"},p),n.createElement("div",{className:"ButtonMenu__item-label"},o)),h&&n.createElement("div",{className:"ButtonMenu__item-tooltip",role:"tooltip"},h)):n.createElement(s.MenuItem,{key:a,tag:"li",value:a,className:"ButtonMenu__item"+(l?` ButtonMenu__item-${l}`:"")},t&&t.MenuItem?t.MenuItem(e):n.createElement("div",null,p&&n.createElement("div",{className:"ButtonMenu__item-icon"},p),n.createElement("div",{className:"ButtonMenu__item-label"},o)))});return n.createElement(s.Wrapper,{id:this.wrapperId,className:"ButtonMenu"+(d?" ButtonMenu--with-icons":""),onSelection:this.handleSelection,onMenuToggle:({isOpen:e})=>{this.setState({isOpen:e})}},t&&t.Trigger?t.Trigger({disabled:o,isOpen:l}):n.createElement(s.Button,{onClick:e=>{e.stopPropagation(),l?(0,s.closeMenu)(this.wrapperId):(0,s.openMenu)(this.wrapperId,{focusMenu:!1})},className:"ButtonMenu__trigger"},a||i.Gg),n.createElement(s.Menu,{className:"ButtonMenu__item-container"},n.createElement("ul",null,c)))}}const d=l},19072(e,t,a){a.d(t,{wZ:()=>n});const n=/^(?!.{255})[-!#$%&'*+/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+/0-9=?A-Z^_a-z`{|}~])*@([a-zA-Z0-9]|\b-+\b){2}(-?\.?[a-zA-Z0-9])*\.[a-zA-Z]{1}(-?[a-zA-Z0-9])+$/},5609(e,t,a){a.d(t,{A:()=>ae});var n=a(96540),s=a(5556),i=a.n(s),r=a(68357),o=a.n(r),l=a(21757),d=a(12672),c=a(51923),h=a(50807),p=a(16479),m=a(55340),u=a(32668),g=a(19072),f=
1a(94029),b=a(99460),v=a(25997),E=a(67902),y=a(39577);const k=(0,d.YK)({candidateFeedback:{id:"candidate-feedback-placeHolder-msg",defaultMessage:"Hi {name},\nWe are interested in you for this role because..."},invalidEmail:{id:"input-email-candidate-form-invalid",defaultMessage:"Please enter a valid email address"},candidateWontSee:{id:"talent-candidate-rejecting-feedback",defaultMessage:"The candidate won't see this feedback"},getIntroducedButtonText:{id:"send-intro-button",defaultMessage:"Send Message"}}),C=(0,d.YK)({wrongSkills:{id:"wrongSkills",defaultMessage:"Candidate doesn't have the preferred skills"},wrongIndustry:{id:"wrongIndustry",defaultMessage:"Candidate doesn't have the preferred industry experience"},wrongLevel:{id:"wrongLevel",defaultMessage:"Candidate is too junior or senior"},alreadyIntroduced:{id:"alreadyIntroduced",defaultMessage:"Candidate is already in the interview process with us"},other:{id:"other",defaultMessage:"Other"}});class _ extends n.Component{constructor(e){var t,a,n;super(e),t=this,n=e=>{const t=Object.assign({},this.state.feedbackOptions);t[e]=!this.state.feedbackOptions[e],this.setState({feedbackOptions:t})},(a=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,"string");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(a="toggleFeedback"))in t?Object.defineProperty(t,a,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[a]=n,this.state={primaryContact:e.contactInfo||e.candidate.primaryContact||{},messageCharCount:0,substractCount:!0,isEditingPrimaryContact:!1,messageValAccept:null,messageValReject:null,feedbackOptions:{wrongSkills:!1,wrongIndustry:!1,wrongLevel:!1,alreadyIntroduced:!1,other:!1},archiving:!1}}UNSAFE_componentWillMount(){f.A.dismissNotification(!0)}showRejectTextArea(){return Object.keys(this.state.feedbackOptions).some(e=>this.state.feedbackOptions[e])}render(){let e="The hiring manager";this.state.primaryContact&&-1!==this.props.userEmails.map(e=>e.address).join(" ").indexOf(this.state.primaryContact.email)?e="You":this.state.primaryContact.title&&(e=`The ${this.state.primaryContact.title}`);const t=n.createElement("div",{id:"candidate-outreareach-modal",className:"talentDash__candidateCard__actionForm__changeCandidateStatus"},this.props.personHeader,n.createElement("div",{className:this.props.reject?"talentDash__candidateCard__actionForm__container":"hidden"},n.createElement("h5",{className:"rejectPrompt"},n.createElement(d.sA,{id:"talent-candidate-rejecting",defaultMessage:"Let us know why {candidate} wasn't a good fit.",values:{candidate:this.props.candidate.firstName}})),n.createElement("div",{className:"optionsContainer"},Object.keys(C).map(e=>n.createElement(E.A,{key:e,id:e,checked:this.state.feedbackOptions[e],onChange:()=>this.toggleFeedback(e),label:this.props.intl.formatMessage(C[e])}))),this.showRejectTextArea()&&n.createElement("div",null,n.createElement(b.A,{id:"feedback-about-rejected-candidate",name:"FeedbackAboutRejectedCandidateForm",placeholder:"Optional feedback",type:"text",onChange:e=>{e.target.style.minHeight=`${e.target.value.length?e.target.scrollHeight:0}px`,this.setState({messageValReject:e.target.value})},value:this.state.messageValReject||"",counter:!1}),n.createElement("p",{className:"talentDash__candidateCard__actionForm__explainer"},n.createElement("span",{className:"lockIcon"},h.hz),n.createElement("span",null,this.props.intl.formatMessage(k.candidateWontSee)))),n.createElement("div",{className:"talentDash__candidateCard__actionForm__primaryContact_btns"},n.createElement(m.A,{onClick:this.props.closeResponseModal,type:"btn action-negative",disabled:this.state.archiving,buttonLabel:n.createElement(d.sA,{id:"cand-btn-declne",defaultMessage:"CANCEL"})}),n.createElement(m.A,{type:"btn",onClick:()=>{this.state.archiving||this.setState({archiving:!0},()=>{this.props.updateCandidate({action:"reject",message:this.state.messageValReject,feedbackOptions:this.state.feedbackOptions})})},disabled:this.state.archiving,buttonLabel:n.createElement(d.sA,{id:"cand-btn-archve-c",defaultMessage:"ARCHIVE CANDIDATE"})}))),n.createElement("div",{className:this.props.approve?"talentDash__candidateCard__actionForm__container":"hidden"},n.createElement("h5",null,n.createElement(d.sA,{id:"talent-candidate-approving-note",defaultMessage:"Personal note to {name}",values:{name:this.props.candidate.firstName}})),n.createElement(b.A,{id:"feedback-to-candidate",name:"FeedbackToCandidateForm",className:"feedback-container",placeholder:this.props.intl.formatMessage(k.candidateFeedback,{name:this.props.candidate.firstName}
1),type:"text",onChange:e=>{e.target.style.minHeight=`${e.target.value.length?e.target.scrollHeight:0}px`,this.setState({messageValAccept:e.target.value,messageCharCount:e.target.value?e.target.value.length:0})},value:this.state.messageValAccept||"",counter:!0,charLength:1e3}),n.createElement(v.A,{charCount:this.state.messageCharCount,characterWordLimit:1e3,substractCount:this.state.substractCount}),n.createElement("div",{id:"talent-candidate-primary-contact-comp",className:"talentDash__candidateCard__actionForm__primaryContact",onClick:()=>this.setState({isEditingPrimaryContact:!this.state.isEditingPrimaryContact})},n.createElement("h6",null,n.createElement(d.sA,{id:"talent-candidate-primary-contact-comp",defaultMessage:"{company} Contact",values:{company:this.props.companyInfo||""}}),"The hiring manager"===e&&n.createElement(d.sA,{id:"dsl-primary-contact-not-set",defaultMessage:" (not set)"})),h.eC),n.createElement("p",{id:"primary-contact-name",className:this.state.isEditingPrimaryContact?"hidden":""},this.state.primaryContact.name),n.createElement("p",{id:"prim-contact-txt",className:"talentDash__candidateCard__actionForm__explainer"},n.createElement(d.sA,{id:"talent-candidate-primary-contact-point",defaultMessage:"{person} will be the candidate's first point of communication.",values:{person:e}})),n.createElement("div",{className:this.state.isEditingPrimaryContact?"talentDash__candidateCard__actionForm__primaryContact_container":"hidden"},n.createElement(u.A,{type:"text",placeholder:this.props.intl.formatMessage({id:"prim-contact-name-talent",defaultMessage:"Primary Contact Name",description:"name of primary contact for messaging candidate"}),value:this.state.primaryContact.name,onChange:e=>this.setState({primaryContact:Object.assign(this.state.primaryContact,{name:e.target.value})})}),n.createElement(u.A,{type:"text",placeholder:this.props.intl.formatMessage({id:"prim-contact-title-talent",defaultMessage:"Primary Contact Title",description:"title of primary contact for messaging candidate"}),value:this.state.primaryContact.title,onChange:e=>this.setState({primaryContact:Object.assign(this.state.primaryContact,{title:e.target.value})})}),n.createElement(u.A,{type:"email",placeholder:this.props.intl.formatMessage({id:"prim-contact-email-talent",defaultMessage:"Primary Contact Email",description:"email of primary contact for messaging candidate"}),value:this.state.primaryContact.email,onChange:e=>this.setState({primaryContact:Object.assign(this.state.primaryContact,{email:e.target.value})}),onBlur:()=>!1===g.wZ.test(this.state.primaryContact.email)&&""!==this.state.primaryContact.email&&f.A.raiseNotification("flash error",this.props.intl.formatMessage(k.invalidEmail))})),n.createElement("div",{className:"talentDash__candidateCard__actionForm__primaryContact_btns"},n.createElement(m.A,{id:"c_cancelSubmitApproval",onClick:this.props.closeResponseModal,type:"action-negative btn",buttonLabel:n.createElement(d.sA,{id:"talent-candidate-approve-cancel",defaultMessage:"Cancel"})}),n.createElement(m.A,{id:"c_submitApproval",disabled:this.state.messageCharCount>1e3,type:"btn",onClick:()=>{this.props.updateCandidate({action:"approve",message:this.state.messageValAccept,primaryContact:this.state.primaryContact})},buttonLabel:this.props.intl.formatMessage(k.getIntroducedButtonText)}))));return n.createElement(y.A,{isShowing:!0,message:t,closeFunction:this.props.closeResponseModal})}}const w=_;var M=a(17661),S=a(45662),N=a(30786),A=a(62336),I=a(91956);function L(e,t,a){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,"string");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const F=(0,d.YK)({fullPositionText:{id:"full-position-text",defaultMessage:"{title} at {company}"},formerFullPositionText:{id:"former-full-position-text",defaultMessage:"Former {title} at {company}"},formerTitleText:{id:"former-title-text",defaultMessage:"Former {title}"}}),x=(0,d.YK)({getIntroduced:{id:"candidate-get-introduced",defaultMessage:"Get Introduced"},saveForLater:{id:"candidate-save-for-later",defaultMessage:"Save For Later"}});function j(e,t){if(e.socialProfiles){const a=e.socialProfiles.reverse().find(e=>e.name===t),n=a?a.handle:null;if(n)switch(t){case"angellist":return`https://angel.co/u/${n}`;case"twitter":return`https://twitter.com/${n}`;case"crunchbase":return`https://www.crunchbase.com/person/${n}`;case"linkedin":return`https://www.linkedin.com/in/${n}`}}return null}class D extends n.Component{constructor(e){super(e),L(this,"onCandidateInteraction",e=>!this.props.onCandidateInteraction||this.props.onCandidateInteraction(e,this.props.candidate)),L(this,"getCandidateResumeLink",()=>this.props.candidate.hasResume?N.A.getResume(this.props.candidate.userId).then(e=>{null!=e&&e.link?window.open(e.link):f.A.raiseNotification("error","Something went wrong, try again in a bit")}):null),L(this,"getNameWithLastInitial",e=>`${e.f_name} ${e.l_name.slice(0,1)}.`),L(this,"approve",e=>{const t=this.state.listingPaymentType||this.props.listingPaymentType,{jobType:a}=this.props;if(!["Interim/Contractor","Board Role"].includes(a)&&!t.includes("professional")&&!t.includes("premium"))return N.A.createEvent("action","get-intro-upsell",null,this.props.listingId),this.toggleUpsellModal(),void this.setState({candidateFeedbackProcessing:!1});this.onCandidateInteraction(e)&&this.updateCandidate({action:"approve"})}),L(this,"beginReject",e=>{this.onCandidateInteraction(e)&&this.setState({reject:!this.state.reject,approve:!1},this.forceNonScroll)}),L(this,"closeResponseModal",()=>{this.setState({reject:!1,approve:!1},this.forceNonScroll)}),L(this,"closeUpsellModal",()=>{this.setState({showUpsellModal:!1})}),L(this,"forceNonScroll",()=>{(this.state.approve||this.state.reject)&&void 0===this.preventScroll?(this.prevScrollPos=window.scrollY,window.scrollTo(0,0),this.preventScroll=function(e){return e.preventDefault(),window.scrollTo(0,this.prevScrollPos),document.body.style.overflow="hidden",!1},window.addEventListener("scroll",this.preventScroll)):void 0!==this.preventScroll&&!0!==this.state.approve&&!0!==this.state.reject&&(window.removeEventListener("scroll",this.preventScroll),window.scrollTo(0,this.prevScrollPos),document.body.style.overflow="",this.preventScroll=void 0)}),L(this,"handleCandidateMenuAction",e=>{this.state.candidateFeedbackProcessing||this.setState({candidateFeedbackProcessing:!0},()=>{"get-introduced"===e?this.approve():"save-for-later"===e&&this.saveForLater()})}),L(this,"handleIntroClick",()=>{this.onCandidateInteraction(),this.approve()}),L(this,"toggleCoverNoteModal",()=>{this.setState({showCoverNoteModal:!this.state.showCoverNoteModal})}),L(this,"toggleUpsellModal",()=>{this.setState({showUpsellModal:!this.state.showUpsellModal})}),L(this,"undoReject",()=>{this.state.candidateFeedbackProcessing||this.setState({candidateFeedbackProcessing:!0},()=>{this.updateCandidate({reset:!0})})}),L(this,"updateCandidate",e=>{this.props.updateCandidate(Object.assign(e,{userId:this.props.candidate.userId})),this.forceNonScroll()}),L(this,"updateToProfessional",()=>{A.A.getListingById(this.props.listingId),this.setState({listingPaymentType:"professional"}),this.approve()}),L(this,"wrapContentInLinkedInLinkIfExists",e=>this.props.candidate.linkedInUrl?n.createElement("a",{onClick:this.onCandidateInteraction,href:this.props.candidate.linkedInUrl,target:"_blank",rel:"noopener noreferrer"},e):e),this.state={candidateMenuActions:[{value:"get-introduced",label:this.props.intl.formatMessage(x.getIntroduced)},{value:"save-for-later",label:this.props.intl.formatMessage(x.saveForLater)}],isShowingForm:!1,approve:null,reject:null,candidateFeedbackProcessing:!1,showCoverNoteModal:!1,showUpsellModal:!1,listingPaymentType:null}}shouldComponentUpdate(){return"single"===this.props.viewState}componentWillUnmount(){document.body.style.overflow="",window.removeEventListener("scroll",this.preventScroll)}saveForLater(){this.onCandidateInteraction()&&this.updateCandidate({action:"save-for-later"})}render(){const e=this.props.getStatus(this.props.candidate),t=this.props.candidate.candidateFeedback?this.props.candidate.candidateFeedback.date:" ",a=o()(new Date(t),"YYYYMMDD").fromNow(),s=this.wrapContentInLinkedInLinkIfExists(`${this.props.candidate.firstName} ${this.props.candidate.lastName}`),i=j(this.props.candidate,"angellist"),r=j(this.props.candidate,"crunchbase"),l=j(this.props.candidate,"twitter"),u=function(e){let t=null;
1return e.websiteUrl&&e.websiteUrl.forEach(e=>{"personal"===e.siteType&&(t=e.url)}),t}(this.props.candidate),g=l&&i&&r&&u&&this.props.candidate.linkedInUrl&&this.props.candidate.coverNote&&this.props.candidate.hasResume,f=n.createElement(I.A,{toggleUpsellModal:this.toggleUpsellModal,text:"to receive personalized email introductions to applicants",upgradeToOption:"Professional",upgradeToOptionValue:"professional",priceKey:"professional-listing-payment",fromCandidateCard:!0,listingSubmittedDate:this.props.listingSubmittedDate,listingId:this.props.listingId,closeUpsellModal:this.closeUpsellModal,updateToProfessional:this.updateToProfessional}),b=n.createElement("div",{className:"talentDash__candidateCard__infoContainer"},this.wrapContentInLinkedInLinkIfExists(n.createElement(p.A,{user:this.props.candidate,alt:"candidate",className:"archive"===e?"filter_grayScale":""})),n.createElement("div",{className:"candidate-info"},n.createElement("h3",{id:"c_name"},s),this.props.candidate.title&&this.props.candidate.company&&n.createElement("p",{id:"c_position"},this.wrapContentInLinkedInLinkIfExists(this.props.intl.formatMessage(F.fullPositionText,{title:this.props.candidate.title,company:this.props.candidate.company}))),this.props.candidate.title&&!this.props.candidate.company&&n.createElement("p",{id:"c_position"},this.wrapContentInLinkedInLinkIfExists(this.props.candidate.title)),this.props.candidate.headline&&!this.props.candidate.title&&!this.props.candidate.company&&n.createElement("p",{id:"c_headline"},this.wrapContentInLinkedInLinkIfExists(this.props.candidate.headline)),this.props.candidate.formerTitle&&this.props.candidate.formerEmployer&&!this.props.candidate.headline&&!this.props.candidate.title&&!this.props.candidate.company&&n.createElement("p",{id:"c_headline"},this.wrapContentInLinkedInLinkIfExists(this.props.intl.formatMessage(F.formerFullPositionText,{title:this.props.candidate.formerTitle,company:this.props.candidate.formerEmployer}))),this.props.candidate.formerTitle&&!this.props.candidate.formerEmployer&&!this.props.candidate.headline&&!this.props.candidate.title&&!this.props.candidate.company&&n.createElement("p",{id:"c_headline"},this.wrapContentInLinkedInLinkIfExists(this.props.intl.formatMessage(F.formerTitleText,{title:this.props.candidate.formerTitle}))))),v=n.createElement(y.A,{isShowing:this.state.showCoverNoteModal,message:n.createElement("div",null,n.createElement("p",{className:"cover-note-header"},this.props.candidate.firstName," ",this.props.candidate.lastName,"'s Cover Letter:"),n.createElement("div",{className:"cover-note-text-container"},n.createElement("p",null,this.props.candidate.coverNote))),closeFunction:()=>this.toggleCoverNoteModal()});return n.createElement("article",null,n.createElement("div",{id:"new-candidate-card-talent",className:"talentDash__candidateCard card-item"},"new"===e&&!this.props.candidate.companyInteractionDate&&n.createElement("div",{className:"badge-new"},n.createElement(d.sA,{id:"new-candidate-card-talent",defaultMessage:"New"})),n.createElement("div",{className:"talentDash__candidateCard__info"},b,this.props.candidate.location&&n.createElement("p",{id:"c_location",className:"talentDash__candidateCard__info"},h.NR,this.props.candidate.location.displayName),this.props.candidate.referredBy&&this.props.candidate.referredBy.length&&n.createElement("p",{id:"c_referredby",className:"talentDash__candidateCard__info"},h.rv,`Referred by ${this.getNameWithLastInitial(this.props.candidate.referredBy[0])}`)),n.createElement("div",{className:"talentDash__candidateCard__icons"},n.createElement("div",{className:"talentDash__candidateCard__links"},this.props.candidate.hasResume&&n.createElement("a",{id:"resume-cand-exp-ft",className:"-experience-r",target:"_blank",rel:"noopener noreferrer",onClick:()=>{this.onCandidateInteraction(),this.getCandidateResumeLink()}},n.createElement("div",{className:"resume-img"},n.createElement("hr",{size:"1",className:"resume-img-line-1"}),n.createElement("hr",{size:"1",className:"resume-img-line-2"}),n.createElement("hr",{size:"1",className:"resume-img-line-3"})),n.createElement(d.sA,{id:"resume-cand-exp-ft",defaultMessage:"RESUME"})),this.props.candidate.coverNote&&n.createElement("a",{id:"cover-note-cand-exp-ft",className:"-experience-cl",onClick:()=>{this.toggleCoverNoteModal(),this.onCandidateInteraction()}},n.createElement(S.A,{name:"leaf"}),n.createElement(d.sA,{id:"cover-note-cand-exp-ft",defaultMessage:"CV"})),this.props.candidate.linkedInUrl&&!this.props.candidate.coverNote&&!this.props.candidate.hasResume&&n.createElement("a",{id:"linkd-cand-exp-ft",className:"-experience-li",target:"_blank",rel:"noopener noreferrer",onClick:this.onCandidateInteraction,href:this.props.candidate.linkedInUrl},h.MO,n.createElement(d.sA,{id:"linkd-cand-exp-ft",defaultMessage:"EXPERIENCE"})),"new"===e&&n.createElement("a",{className:"-email "+(g?"has-all-links":""),onClick:this.handleIntroClick,target:"_blank",rel:"noopener noreferrer"},n.createElement(S.A,{name:"mail"})),((l||i||r||u)&&this.props.candidate.hasSocialProfiles||this.props.candidate.linkedInUrl&&(this.props.candidate.coverNote||this.props.candidate.hasResume))&&n.createElement("div",{className:"add-on-container"},this.props.candidate.linkedInUrl&&(this.props.candidate.coverNote||this.props.candidate.hasResume)&&n.createElement("a",{className:"-linkedin",onClick:this.onCandidateInteraction,target:"_blank",rel:"noopener noreferrer",href:this.props.candidate.linkedInUrl},h.MO),l&&this.props.candidate.hasSocialProfiles&&n.createElement("a",{className:"-twitter",onClick:this.onCandidateInteraction,target:"_blank",rel:"noopener noreferrer",href:l},h.Pc),i&&this.props.candidate.hasSocialProfiles&&n.createElement("a",{className:"-angel",onClick:this.onCandidateInteraction,target:"_blank",rel:"noopener noreferrer",href:i},h.HE),r&&this.props.candidate.hasSocialProfiles&&n.createElement("a",{className:"-crunchbase",onClick:this.onCandidateInteraction,target:"_blank",rel:"noopener noreferrer",href:r},h.gt),u&&this.props.candidate.hasSocialProfiles&&n.createElement("a",{className:"-website",onClick:this.onCandidateInteraction,target:"_blank",rel:"noopener noreferrer",href:u},n.createElement(S.A,{name:"link-new"})))),"archive"===e&&"object"==typeof this.props.candidate.candidateFeedback&&"uninterested"===this.props.candidate.candidateFeedback.response&&this.props.candidate.referred&&this.props.candidate.referred.length>0&&n.createElement("div",{className:"text-center talentDash__candidateCard__interestText"},n.createElement("p",null,n.createElement(d.sA,{id:"candidate-referred",defaultMessage:"Candidate referred {referred}",values:{referred:this.getNameWithLastInitial(this.props.candidate.referred[0])}}))),"archive"===e&&"object"==typeof this.props.candidate.candidateFeedback&&"uninterested"===this.props.candidate.candidateFeedback.response&&!this.props.candidate.referred&&n.createElement("div",{className:"text-center talentDash__candidateCard__interestText"},n.createElement("p",null,n.createElement(d.sA,{id:"candidate-not-interested-date",defaultMessage:"Candidate declined ({dateSent})",values:{dateSent:a}}))),n.createElement("div",{className:"buttonsContainer"},("object"!=typeof this.props.candidate.candidateFeedback||""===this.props.candidate.candidateFeedback.response||"interested"===this.props.candidate.candidateFeedback.response)&&n.createElement(m.A,{id:"c_submitFeedBack",className:"-reject",disabled:this.state.candidateFeedbackProcessing,onClick:"archive"===e&&("object"!=typeof this.props.candidate.candidateFeedback||this.props.candidate.candidateFeedback&&"interested"===this.props.candidate.candidateFeedback.response)?this.undoReject:this.beginReject,type:"action-negative btn",buttonLabel:"archive"===e&&("object"!=typeof this.props.candidate.candidateFeedback||this.props.candidate.candidateFeedback&&"interested"===this.props.candidate.candidateFeedback.response)?n.createElement(d.sA,{id:"unarchive-talent-candidate",defaultMessage:"unarchive"}):n.createElement(d.sA,{id:"archive-talent-candidate",defaultMessage:"archive"})}),"new"===e&&n.createElement(M.A,{disabled:this.state.candidateFeedbackProcessing,items:this.state.candidateMenuActions,onSelectMenuItem:this.handleCandidateMenuAction,components:{Trigger({disabled:e,isOpen:t}){const a=n.createElement(d.sA,{id:"candidate-indicate-interest",defaultMessage:"We're Interested"});return n.createElement(c.Button,{className:e?"btn btn--disabled":"btn",disabled:e},a," ",t?n.createElement("span",null,"∧"):n.createElement("span",null,"∨"))}}}),"later"===e&&n.createElement(m.A,{id:"candidate-get-introduced",type:"btn",className:"-approve",onClick:this.approve,buttonLabel:this.props.intl.formatMessage(x.getIntroduced)})))),this.state.reject&&n.createElement(w,{contactInfo:this.props.contactInfo,candidate:this.props.candidate,approve:this.state.approve,reject:this.state.reject,userEmails:this.props.userEmails,closeResponseModal:this.closeResponseModal,personHeader:b,intl:this.props.intl,companyInfo:this.props.companyInfo,updateCandidate:this.updateCandidate}),v,this.state.showUpsellModal&&n.createElement("div",{className:"upsell-modal-container"},n.createElement(y.A,{isShowing:this.state.showUpsellModal,closeFunction:this.toggleUpsellModal,message:f})))}}const P=(0,d.j4)(D);var T=a(87974),R=a(68626),U=a(19763);const O=n.createElement("svg",{viewBox:"0 0 540.25 300.25"},n.createElement("rect",{style:{fill:"none",stroke:"#000",strokeMiterlimit:"10",strokeWidth:"0.25p",opacity:"0"},x:"0.13",y:"0.13",width:"540",height:"300"}),n.createElement("path",{style:{fill:"none",stroke:"#b5b9c4",strokeLinecap:"round",strokeLinejoin:"round"},d:"M138.6,123.29a29.62,29.62,0,0,0-55.16,0Z"}),n.createElement("line",{style:{fill:"none",stroke:"#b5b9c4",strokeLinecap:"round",strokeLinejoin:"round"},x1:"111.02",y1:"104.47",x2:"111.02",y2:"59.7"}),n.createElement("path",{style:{fill:"none",stroke:"#b5b9c4",strokeLinecap:"round",strokeLinejoin:"round"},d:"M100.89,123.29a10.42,10.42,0,0,0,20.27,0Z"}),n.createElement("path",{style:{fill:"#dadce2",opacity:"0.5"},d:"M450.88,247.63c21-63.5-18.25-93.5-42.12-79.5s4.63-105-84.12-90-103.23,115-143,96-113.76,10-131.76,73.5Z"}),n.createElement("rect",{style:{fill:"none",stroke:"#b5b9c4",strokeLinecap:"round",strokeLinejoin:"round"},x:"105.19",y:"204.38",width:"32.88",height:"17.5"}),n.createElement("rect",{style:{fill:"none",stroke:"#b5b9c4",strokeLinecap:"round",strokeLinejoin:"round"},x:"108.64",y:"207.83",width:"10.59",height:"10.59"}),n.createElement("rect",{style:{fill:"none",stroke:"#b5b9c4",strokeLinecap:"round",strokeLinejoin:"round"},x:"124.02",y:"207.83",width:"10.59",height:"10.59",transform:"translate(258.63 426.25) rotate(180)"}),n.createElement("rect",{style:{fill:"#fff"},x:"192.38",y:"206.13",width:"46.5",height:"41.5"}),n.createElement("polygon",{style:{fill:"#fff"},points:"391.38 213.13 391.38 174.13 246.88 174.13 246.88 247.63 368.21 247.
163 391.38 247.63 429.38 247.63 429.38 213.13 391.38 213.13"}),n.createElement("path",{style:{fill:"#fff"},d:"M343.2,174.13a1.18,1.18,0,0,0,1.18-1.18V114.13a17.93,17.93,0,0,1,2.72-9.53,2.11,2.11,0,0,0-1.81-3.2H280.15a1.18,1.18,0,0,0-.86.36,17.94,17.94,0,0,0-4.92,12.37v58.82a1.18,1.18,0,0,0,1.18,1.18Z"}),n.createElement("polygon",{style:{fill:"#b5b9c4"},points:"368.38 247.63 353.88 247.63 353.88 174.13 391.38 174.13 391.38 213.13 368.38 213.13 368.38 247.63"}),n.createElement("rect",{style:{fill:"#ad9758"},x:"282.12",y:"121.29",width:"35",height:"3",rx:"1.5",ry:"1.5"}),n.createElement("rect",{style:{fill:"#ad9758"},x:"282.12",y:"137.29",width:"35",height:"3",rx:"1.5",ry:"1.5"}),n.createElement("rect",{style:{fill:"#ad9758"},x:"282.12",y:"153.29",width:"35",height:"3",rx:"1.5",ry:"1.5"}),n.createElement("rect",{style:{fill:"#b5b9c4"},x:"265.29",y:"189.87",width:"34.33",height:"2",rx:"1",ry:"1"}),n.createElement("rect",{style:{fill:"#b5b9c4"},x:"258.29",y:"195.87",width:"41.33",height:"2",rx:"1",ry:"1"}),n.createElement("rect",{style:{fill:"#b5b9c4"},x:"258.29",y:"201.87",width:"41.33",height:"2",rx:"1",ry:"1"}),n.createElement("rect",{style:{fill:"#b5b9c4"},x:"258.29",y:"207.88",width:"41.33",height:"2",rx:"1",ry:"1"}),n.createElement("circle",{style:{fill:"#ad9758"},cx:"330.79",cy:"186.63",r:"2.5"}),n.createElement("circle",{style:{fill:"#b5b9c4"},cx:"339.88",cy:"186.63",r:"2.5"}),n.createElement("rect",{style:{fill:"#b5b9c4"},x:"309.63",y:"220.75",width:"28",height:"2",rx:"1",ry:"1",transform:"translate(545.37 -101.88) rotate(90)"}),n.createElement("rect",{style:{fill:"#b5b9c4"},x:"327.63",y:"220.75",width:"28",height:"2",rx:"1",ry:"1",transform:"translate(563.37 -119.88) rotate(90)"}),n.createElement("rect",{style:{fill:"#b5b9c4"},x:"198.87",y:"225.87",width:"20",height:"2",rx:"1",ry:"1",transform:"translate(417.75 453.75) rotate(-180)"}),n.createElement("rect",{style:{fill:"#ad9758"},x:"198.87",y:"217.87",width:"20",height:"2",rx:"1",ry:"1",transform:"translate(417.75 437.75) rotate(-180)"}),n.createElement("rect",{style:{fill:"#b5b9c4"},x:"198.87",y:"233.87",width:"20",height:"2",rx:"1",ry:"1",transform:"translate(417.75 469.75) rotate(-180)"}),n.createElement("rect",{style:{fill:"#ad9758"},x:"376.04",y:"225.79",width:"6.92",height:"6.92"}),n.createElement("rect",{style:{fill:"#b5b9c4"},x:"225.38",y:"206.13",width:"13.5",height:"41.5"}),n.createElement("rect",{style:{fill:"#ad9758"},x:"255.87",y:"227.46",width:"37",height:"4",rx:"2",ry:"2"}),n.createElement("rect",{style:{fill:"#b5b9c4"},x:"408.38",y:"213.13",width:"21",height:"34.5"}),n.createElement("polygon",{style:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",stroke:"#2c3d4c"},points:"368.38 247.63 246.88 247.63 246.88 174.13 391.38 174.13 391.38 213.13 368.38 213.13 368.38 247.63"}),n.createElement("line",{style:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",stroke:"#2c3d4c"},x1:"353.88",y1:"174.13",x2:"353.88",y2:"247.63"}),n.createElement("line",{style:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",stroke:"#2c3d4c"},x1:"173.38",y1:"247.63",x2:"462.38",y2:"247.63"}),n.createElement("rect",{style:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",stroke:"#2c3d4c"},x:"368.38",y:"213.13",width:"40",height:"34.5"}),n.createElement("rect",{style:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",stroke:"#2c3d4c"},x:"408.38",y:"213.13",width:"21",height:"34.5"}),n.createElement("line",{style:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",stroke:"#2c3d4c"},x1:"225.38",y1:"206.13",x2:"225.38",y2:"247.63"}),n.createElement("rect",{style:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",stroke:"#2c3d4c"},x:"192.38",y:"206.13",width:"46.5",height:"41.5"}),n.createElement("rect",{style:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",stroke:"#2c3d4c"},x:"253.88",y:"182.63",width:"51.5",height:"34.5"}),n.createElement("path",{style:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",stroke:"#2c3d4c"},d:"M344.38,174.13v-60a17.93,17.93,0,0,1,4-11.26.91.91,0,0,0-.73-1.47H280.4a1.74,1.74,0,0,0-1.28.55,17.94,17.94,0,0,0-4.75,12.18v60"}),n.createElement("polyline",{style:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",stroke:"#2c3d4c"},points:"322.88 120.79 326.54 124.46 336.71 114.29"}),n.createElement("polyline",{style:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",stroke:"#2c3d4c"},points:"322.88 136.79 326.54 140.46 336.71 130.29"}),n.createElement("polyline",{style:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",stroke:"#2c3d4c"},points:"322.88 152.79 326.54 156.46 336.71 146.29"}),n.createElement("circle",{style:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",stroke:"#2c3d4c"},cx:"305.38",cy:"229.46",r:"2"}),n.createElement("circle",{style:{fill:"#2c3d4c",strokeLinecap:"round",strokeLinejoin:"round",stroke:"#2c3d4c"},cx:"298.38",cy:"229.46",r:"2"}),n.createElement("rect",{style:{fill:"#2c3d4c",strokeLinecap:"round",strokeLinejoin:"round",stroke:"#2c3d4c"},x:"318.67",y:"221.79",width:"9.92",height:"2.67",rx:"1.33",ry:"1.33"}),n.createElement("rect",{style:{fill:"#2c3d4c",strokeLinecap:"round",strokeLinejoin:"round",stroke:"#2c3d4c"},x:"336.67",y:"214.79",width:"9.92",height:"2.67",rx:"1.33",ry:"1.33"}),n.createElement("rect",{style:{fill:"#2c3d4c",strokeLinecap:"round",strokeLinejoin:"round",stroke:"#2c3d4c"},x:"373.42",y:"194.79",width:"7.92",height:"2.67",rx:"1.33",ry:"1.33",transform:"translate(573.5 -181.25) rotate(90)"}),n.createElement("path",{style:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",stroke:"#2c3d4c"},d:"M192.38,230.38c-7.17,0-11.33-6.58-11.33-12.92s8-17.58,36.5-22.33c8-1.34,10.83-15.5,3.5-15.5s-8,19.17,4.33,19.17c6.75,0,10.33-8.84,21.5-2.67"}),n.createElement("path",{style:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",stroke:"#2c3d4c"},d:"M377.38,196.13c34,13,58.83-15.33,45-15.33S403.71,209.13,403,213.13"})),W=(e="#B5B9C5")=>n.createElement("svg",{viewBox:"0 0 98 115"},n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{d:"M27.869 7.678c-.4 0-.8.3-.8.8 0 .4.3.8.8.8h13.4c.4 0 .8-.3.8-.8 0-.4-.3-.8-.8-.8h-13.4zm17.099.8c0 .4.301.8.801.8h4.3c.4 0 .8-.3.8-.8 0-.4-.3-.8-.8-.8h-4.3a.79.79 0 0 0-.8.8",fill:e}),n.createElement("path",{d:"M69.776 100.827H10.523v-86.75h69.75V90.33c0 5.798-4.7 10.498-10.497 10.498",fill:"#FFF"}),n.createElement("path",{d:"M69.776 100.827H10.523v-86.75h69.75V90.33c0 5.798-4.7 10.498-10.497 10.498z",stroke:e,strokeWidth:"1.25"}),n.createElement("path",{d:"M34.063 64.182a3 3 0 1 1-6 0 3 3 0 0 1 6 0",fill:"#FFF"}),n.createElement("path",{d:"M34.063 64.182a3 3 0 1 1-6 0 3 3 0 0 1 6 0z",stroke:e,strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M37.949 74.51c0-3.803-3.083-5.656-6.886-5.656-3.802 0-6.885 1.853-6.885 5.656h13.77z",fill:"#FFF"}),n.createElement("path",{d:"M37.949 74.51c0-3.803-3.083-5.656-6.886-5.656-3.802 0-6.885 1.853-6.885 5.656h13.77z",stroke:e,strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M44.33 62.364h15",fill:"#FFF"}),n.createElement("path",{d:"M44.33 62.364h15",stroke:e,strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M44.33 67.28h27.628",fill:"#FFF"}),n.createElement("path",{d:"M44.33 67.28h27.628",stroke:e,strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M24.064 10.733a.4.4 0 0 0-.298-.334l-1.222-.313c-.71-.18-1.223-.585-1.442-1.138-.222-.553-.125-1.199.268-1.819l.673-1.065a.404.404 0 0 0-.013-.447 11.748 11.748 0 0 0-2.565-2.64.403.403 0 0 0-.446-.024l-1.083.64c-.395.235-.806.353-1.193.349-.845-.014-1.508-.629-1.731-1.608l-.274-1.232a.406.406 0 0 0-.326-.307 11.914 11.914 0 0 0-3.68-.052.399.399 0 0 0-.331.297l-.314 1.223c-.251.972-.932 1.569-1.776 1.555-.387-.006-.795-.136-1.182-.381l-1.065-.673a.404.404 0 0 0-.446.013 11.735 11.735 0 0 0-2.64 2.563.405.405 0 0 0-.026.447l.642 1.083c.375.631.449 1.28.214 1.827-.234.546-.758.935-1.473 1.095l-1.233.277a.407.407 0 0 0-.308.325 12.07 12.07 0 0 0-.051 3.678.4.4 0 0 0 .298.333l1.222.313c.712.182 1.223.587 1.443 1.14.218.553.125 1.198-.268 1.82l-.674 1.063a.4.4 0 0 0 .014.447 11.74 11.74 0 0 0 2.563 2.64.399.399 0 0 0 .446.023l1.085-.639c.394-.235.805-.355 1.192-.35.845.013 1.509.632 1.73 1.61l.279 1.231a.402.402 0 0 0 .323.309 12.02 12.02 0 0 0 3.677.053.41.41 0 0 0 .335-.299l.31-1.222c.25-.973.932-1.573 1.777-1.56.387.006.794.14 1.182.385l1.065.67a.395.395 0 0 0 .446-.01 11.743 11.743 0 0 0 2.64-2.564.405.405 0 0 0 .026-.445l-.642-1.084c-.375-.633-.452-1.28-.214-1.826.234-.546.76-.938 1.474-1.098l1.232-.277a.397.397 0 0 0 .306-.323 11.898 11.898 0 0 0 .054-3.679",fill:"#FFF"}),n.createElement("path",{d:"M24.064 10.733a.4.4 0 0 0-.298-.334l-1.222-.313c-.71-.18-1.223-.585-1.442-1.138-.222-.553-.125-1.199.268-1.819l.673-1.065a.404.404 0 0 0-.013-.447 11.748 11.748 0 0 0-2.565-2.64.403.403 0 0 0-.446-.024l-1.083.64c-.395.235-.806.353-1.193.349-.845-.014-1.508-.629-1.731-1.608l-.274-1.232a.406.406 0 0 0-.326-.307 11.914 11.914 0 0 0-3.68-.052.399.399 0 0 0-.331.297l-.314 1.223c-.251.972-.932 1.569-1.776 1.555-.387-.006-.795-.136-1.182-.381l-1.065-.673a.404.404 0 0 0-.446.013 11.735 11.735 0 0 0-2.64 2.563.405.405 0 0 0-.026.447l.642 1.083c.375.631.449 1.28.214 1.827-.234.546-.758.935-1.473 1.095l-1.233.277a.407.407 0 0 0-.308.325 12.07 12.07 0 0 0-.051 3.678.4.4 0 0 0 .298.333l1.222.313c.712.182 1.223.587 1.443 1.14.218.553.125 1.198-.268 1.82l-.674 1.063a.4.4 0 0 0 .014.447 11.74 11.74 0 0 0 2.563 2.64.399.399 0 0 0 .446.023l1.085-.639c.394-.235.805-.355 1.192-.35.845.013 1.509.632 1.73 1.61l.279 1.231a.402.402 0 0 0 .323.309 12.02 12.02 0 0 0 3.677.053.41.41 0 0 0 .335-.299l.31-1.222c.25-.973.932-1.573 1.777-1.56.387.006.794.14 1.182.385l1.065.67a.395.395 0 0 0 .446-.01 11.743 11.743 0 0 0 2.64-2.564.405.405 0 0 0 .026-.445l-.642-1.084c-.375-.633-.452-1.28-.214-1.826.234-.546.76-.938 1.474-1.098l1.232-.277a.397.397 0 0 0 .306-.323 11.898 11.898 0 0 0 .054-3.679z",stroke:e,strokeWidth:"1.25"}),n.createElement("path",{d:"M15.144 12.403a2.741 2.741 0 1 1-5.483 0 2.741 2.741 0 0 1 5.483 0",fill:"#FFF"}),n.createElement("path",{d:"M15.144 12.403a2.741 2.741 0 1 1-5.483 0 2.741 2.741 0 0 1 5.483 0z",stroke:e,strokeWidth:"1.25"}),n.createElement("path",{d:"M44.33 32.217h15",fill:"#FFF"}),n.createElement("path",{d:"M44.33 32.217h15",stroke:e,strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M44.33 37.133h27.628",fill:"#FFF"}),n.createElement("path",{d:"M44.33 37.133h27.628",stroke:e,strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M44.33 42.049h18.467",fill:"#FFF"}),n.createElement("path",{d:"M44.33 42.049h18.467",stroke:e,strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M34.063 33.952a3 3 0 1 1-6.001 0 3 3 0 0 1 6 0",fill:"#FFF"}),n.createElement("path",{d:"M34.063 33.952a3 3 0 1 1-6.001 0 3 3 0 0 1 6 0z",stroke:e,strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M37.949 44.28c0-3.804-3.083-5.656-6.886-5.656-3.802 0-6.885 1.852-6.885 5.655h13.77z",fill:"#FFF"}),n.createElement("path",{d:"M37.949 44.28c0-3.804-3.083-5.656-6.886-5.656-3.802 0-6.885 1.852-6.885 5.655h13.77z",stroke:e,strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M86.345 93.907c.443-1.478.672-3.046.652-4.669-.104-8.609-7.169-15.504-15.778-15.399-8.609.104-15.504 7.17-15.399 15.778.104 8.61 7.169 15.504 15.778 15.4a15.553 15.553 0 0 0 4.983-.879",fill:"#FFF"}),n.createElement("path",{d:"M86.345 93.907c.19-.634.341-1.284.449-1.948",stroke:e,strokeWidth:"1.25",strokeLinecap:"round"}),n.createElement("path",{d:"M86.993 88.996C86.76 80.5 79.749 73.736 71.22 73.84c-8.61.104-15.505 7.17-15.4 15.778.105 8.61 7.169 15.504 15.777 15.4a15.982 15.982 0 0 0 1.59-.1",stroke:e,strokeWidth:"1.25",strokeLinecap:"round",strokeDasharray:"3.963,2.972"}),n.createElement("path",{d:"M74.657 104.679c.658-.14 1.3-.32 1.925-.54",stroke:e,strokeWidth:"1.25",strokeLinecap:"round"}),n.createElement("path",{d:"M71.406 89.434l19.328 18.836",stroke:e,strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M71.546 100.795c6.278-.077 11.306-5.228 11.23-11.505-.077-6.278-5.228-11.306-11.505-11.229-6.279.077-11.305 5.227-11.229 11.505.076 6.278 5.227 11.305 11.504 11.23",fill:"#FFF"}),n.createElement("path",{d:"M71.546 100.795c6.278-.077 11.306-5.228 11.23-11.505-.077-6.278-5.228-11.306-11.505-11.229-6.279.077-11.305 5.227-11.229 11.505.076 6.278 5.227 11.305 11.504 11.23z",stroke:e,strokeWidth:"1.25"}),n.createElement("path",{d:"M96.432 110.555l-3.471 3.472L83 104.065a1.927 1.927 0 0 1 0-2.718l.753-.753a1.927 1.927 0 0 1 2.718 0l9.961 9.96z",fill:"#FFF"}),n.createElement("path",{d:"M96.432 110.555l-3.471 3.472L83 104.065a1.927 1.927 0 0 1 0-2.718l.753-.753a1.927 1.927 0 0 1 2.718 0l9.961 9.96z",stroke:e,strokeWidth:"1.25"}),n.createElement("path",{stroke:e,strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round",d:"M68.608 90.114l2.049 2.048 6.144-5.12"}))),H=({closeFunction:e,onNotifyMe:t,onUpgrade:a,justAskedToBeNotifiedAboutMatchedShortlists:s,isSponsored:i,totalMembers:r})=>s?n.createElement(y.A,{message:n.createElement("div",{className:"talentDash__adModal"},n.createElement("p",null,"Thank you for expressing interest in our sourcing service!"),n.createElement("p",null,"A member of the ExecThread",n.createElement("span",{style:{verticalAlign:"super",fontSize:"smaller"}},"®")," team will reach out to you in the next 24 hours."))}):n.createElement(y.A,{message:n.createElement("div",{className:"talentDash__adModal"},n.createElement("h1",null,"Source more candidates"),n.createElement("div",{className:"talentDash__adModal__row"},n.createElement("div",null,n.createElement("div",{className:"talentDash__adModal__row__illustrationContainer"},n.createElement(S.A,{name:"custom-shortlist"}))),n.createElement("div",{className:"talentDash__adModal__row__content"},n.createElement("h2",null,"Get a custom shortlist"),n.createElement("p",null,"ExecThread",n.createElement("span",{style:{verticalAlign:"super",fontSize:"smaller"}},"®")," Connect will allow you to get a list of passive candidates whose skillset matches your criteria."),n.createElement("p",null,"Would you like us to reach out with more information?"),n.createElement(m.A,{className:"btn",buttonLabel:"Email me",onClick:t}))),!i&&n.createElement("div",{className:"talentDash__adModal__row"},n.createElement("div",null,n.createElement("div",{className:"talentDash__adModal__row__illustrationContainer"},n.createElement(S.A,{name:"sponsored-listing"}))),n.createElement("div",{className:"talentDash__adModal__row__content"},n.createElement("h2",null,"Promote your listing"),n.createElement("p",null,"Each Monday, Wednesday and Friday morning we send an email to our ",r.roundedShort,"+ members, with up to 24 relevant job opportunities listed in each. The open rates and click-through-rates for these email newsletters are very high."),n.createElement("p",null,"To increase the likelihood of your job listing getting engaged with you can promote it by choosing the Sponsored Listing option, which will ensure that your job opportunity appears at the very top (i.e., in one of the first two slots) of our next jobs newsletter."),n.createElement(m.A,{className:"btn",buttonLabel:"Add this feature",onClick:a})))),isShowing:!0,closeFunction:e}),V=({onDismiss:e,onLearnMore:t})=>n.createElement("article",null,n.createElement("div",{className:"talentDash__candidateCard card-item talentDash__matchedShortlistAdCard"},n.createElement("div",{className:"talentDash__candidateCard__info talentDash__matchedShortlistAdCard__content"},n.createElement("div",{className:"talentDash__matchedShortlistAdCard__illustration"},W("#0092E1")),n.createElement("div",{className:"talentDash__matchedShortlistAdCard__text"},"Learn about other ways to source candidates through ExecThread",n.createElement("span",{style:{verticalAlign:"super",fontSize:"smaller"}},"®"),"!")),n.createElement("div",{className:"talentDash__candidateCard__icons"},n.createElement("div",{className:"buttonsContainer"},n.createElement(m.A,{buttonLabel:"Dismiss",className:"btn action-negative",onClick:e}),n.createElement(m.A,{button
1Label:"Learn More",className:"btn action-negative",onClick:t})))));var B=a(92484),$=a(32986),z=a(11725),Y=a(86826);function J(e,t,a){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,"string");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function Z(e,t){return T.A.inviteCollaborator(e,t).then(({status:e,statusText:a})=>{if(200!==e){if(429===e)throw f.A.raiseNotification("error top",`Too many invites have been sent to ${t}`),new Error;throw new Error(a)}f.A.raiseNotification("success flash top","Your invite has been sent!")}).catch(e=>{throw e.message&&(console.error(e),f.A.raiseNotification("error top","Oops, something went wrong. Please try again, or contact support")),e})}class K extends n.Component{constructor(e){super(e),J(this,"onEmailChange",e=>{this.setState({email:e.target.value.trim(),emailValid:B.wZ.test(e.target.value.trim())})}),J(this,"onSelectCollaboratorMenuItem",e=>{const[t,a]=e.split(":");this[`on${t}`](a)}),J(this,"onSendInvite",e=>{e.preventDefault();const{listingId:t}=this.props,{emailValid:a,email:n}=this.state;a&&(this.setState({inviteSending:!0}),Z(t,n).then(()=>{this.setState({email:"",emailValid:!1,inviteSending:!1,inviteJustSent:!0,collaborators:this.collaboratorsWithout(n).concat({email:n,dateAdded:(new Date).toString()})}),setTimeout(()=>{this.setState({inviteJustSent:!1})},3e3)}).catch(()=>{this.setState({inviteSending:!1})}))}),this.state={email:"",emailValid:!1,inviteSending:!1,inviteJustSent:!1,collaborators:null}}componentDidMount(){T.A.listCollaborators(this.props.listingId).then(e=>{this.setState({collaborators:e})}).catch(e=>{(0,Y.VU)("manageCollaboratorsModal.listCollaborators",e),f.A.raiseNotification("error top","Something went wrong, try again in a bit")})}onDeleteCollaborator(e){const t=-1!==e.indexOf("@")?e:this.state.collaborators.find(({user:t})=>t._id===e).user.name;T.A.removeCollaborator(this.props.listingId,e).then(()=>{const a=this.collaboratorsWithout(e);this.setState({collaborators:a}),f.A.raiseNotification("success flash top",`${t} has been removed from this listing.`)}).catch(e=>{console.error(e),f.A.raiseNotification("error top","Oops, something went wrong. Please try again, or contact support")})}onResendInvite(e){const{listingId:t}=this.props;Z(t,e).then(()=>{const t=this.state.collaborators.slice();for(let a=0;a<t.length;a+=1)t[a].email===e&&(t[a].dateAdded=(new Date).toString());this.setState({collaborators:t})}).catch(()=>{})}collaboratorsWithout(e){const t=-1!==e.indexOf("@");return this.state.collaborators.filter(({user:a,email:n})=>t?!n||n!==e:!a||a._id!==e)}render(){const{closeFunction:e,userId:t}=this.props,{email:a,emailValid:s,inviteSending:i,inviteJustSent:r,collaborators:o}=this.state;if(null===o)return n.createElement(y.A,{message:n.createElement($.A,null),isShowing:!0});const l=o.filter(({user:e})=>!e||e._id!==t);l.sort((e,t)=>t.dateAdded.localeCompare(e.dateAdded));const d=e=>`talentDash__collaboratorsModal__${e}`,c=r?n.createElement("span",null,h.ZS,"Sent!"):"Send Invite",g=e=>{const t=[{value:`DeleteCollaborator:${e}`,icon:"trash",label:"Remove"}];return-1!==e.indexOf("@")&&t.splice(0,0,{value:`ResendInvite:${e}`,icon:"mail",label:"Resend invite"}),t};return n.createElement(y.A,{message:n.createElement("div",null,n.createElement("h1",null,"Invite people to this job search"),n.createElement("form",{onSubmit:this.onSendInvite},n.createElement(u.A,{placeholder:"Invite by email address...",value:a,onChange:this.onEmailChange}),n.createElement(m.A,{buttonLabel:c,disabled:i,className:["btn",s||r?"btn--enabled":"btn--disabled"].join(" ")})),n.createElement("h2",null,"Invitations sent"),!l.length&&n.createElement("p",null,"You have not sent any invitations yet"),0!==l.length&&n.createElement("div",{className:d("collaborators")},l.map(({user:e,email:t,dateAdded:a})=>{const s=e?e._id:t;let i=e?e.name:t;return i.length>25&&(i=`${i.substring(0,22)}...`),n.createElement("div",{key:s,className:d("collaborator")},e&&n.createElement("div",{className:d("collaborator__avatar")},n.createElement(p.A,{user:e})),n.createElement("div",{className:d("collaborator__label")},i),n.createElement("div",{className:d("collaborator__date")},e&&"Joined ",n.createElement(z.A,{value:new Date(a)})),n.createElement(M.A,{items:g(s),onSelectMenuItem:this.onSelectCollaboratorMenuItem}))})),n.createElement(m.A,{buttonLabel:"Close",className:"btn",onClick:e})),isShowing:!0,closeFunction:e})}}const q=(0,l.Ng)(e=>({userId:e.member._id}))(K);function G(e,t,a){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,"string");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const X=window._smplCke||{is:()=>!1,set:()=>!0};function Q(e,t){const a=e.companyFeedback?e.companyFeedback.date:e.candidateFeedback.date,n=t.companyFeedback?t.companyFeedback.date:t.candidateFeedback.date;return o()(new Date(a)).isAfter(o()(new Date(n)))?-1:o()(new Date(a)).isAfter(o()(new Date(n)))?0:1}const ee=(0,d.YK)({cannotCancelSearch:{id:"cannot-cancel-search",defaultMessage:"Cannot cancel search"},cannotRelistSearch:{id:"cannot-relist-search",defaultMessage:"Cannot repost search"},shortListUpdated:{id:"dsl-shortlist-updates-made",defaultMessage:"Your shortlist has been updated"},shortListUpdatedAPPRV:{id:"dsl-shortlist-updates-apprv",defaultMessage:"Great! Check your inbox for an email introduction to this applicant."},shortListUpdateFailed:{id:"shortListUpdateFailed",defaultMessage:"We're sorry, it looks like something went wrong. Please refresh the page and try again"}});class te extends n.Component{constructor(e){super(e),G(this,"onCandidateInteraction",(e,t)=>(t.companyInteractionDate||(T.A.markCandidateAsSeen(this.props.details.id,t.userId).catch(e=>{console.error(`Something went wrong when marketing candidate ${t.userId} as seen for search ${this.props.details.id}:`,e.stack)}),t.companyInteractionDate=new Date,this.setState({candidates:this.state.candidates})),!0)),G(this,"onSelectSearchMenuItem",e=>{this[`on${e}`]()}),G(this,"getStatus",e=>{const t=e.companyFeedback&&e.companyFeedback.response||void 0,a=e.candidateFeedback&&e.candidateFeedback.response||void 0;return void 0===t&&void 0===a||void 0===t&&"interested"===a?"new":"interested"===t?"pipeline":"maybe"===t?"later":"archive"}),G(this,"cancelCandidateSearch",()=>{this.setState({candidatesCheckMade:!1}),T.A.cancelSearch(this.props.details.id).then(()=>{window.location="/listing-creator/dashboard"}).catch(()=>{this.setState({candidatesCheckMade:!0}),f.A.raiseNotification("flash error",this.props.intl.formatMessage(ee.cannotCancelSearch))})}),G(this,"copyUrl",e=>{(0,U.NE)(e)?f.A.raiseNotification("success flash",n.createElement(d.sA,{id:"url-copied",defaultMessage:"Link copied!"})):f.A.raiseNotification("error flash",n.createElement(d.sA,{id:"url-not-copied",defaultMessage:"Job URL could not be copied"}))}),G(this,"createScrollHandler",()=>{const e=this.nav;this.scrollHandler=(0,U.on)({onScrollDown(){window.pageYOffset/2<=59?(e.style.transform=`translateY(-${window.pageYOffset/2}px)`,e.style.transition="none"):(e.style.transform="translateY(-59px)",e.style.transition=".25s ease-in-out transform")},onScrollUp(){e.style.transform="translateY(0px)",e.style.transition=".25s ease-in-out transform"}})}),G(this,"filterNav",e=>()=>this.setState({isNewCandidatesHidden:"new"!==e,isPipelineCandidatesHidden:"pipeline"!==e,isArchiveCandidatesHidden:"ar
1chive"!==e,isSavedForLaterCandidatesHidden:"later"!==e},()=>window.scrollTo(0,0))),G(this,"toggleModal",e=>{this.state.modal?this.setState({modal:null}):this.setState({modal:e})}),G(this,"updateCandidate",e=>{const t=X.is("shortListUpdatedAPPRV")?"flash":"";let a;const n=this.state.candidates.slice().map(t=>{if(t.userId===e.userId)if(a=t,e.reset)t.companyFeedback=void 0;else{switch(t.companyFeedback={date:Date.now(),message:e.message},e.action){case"approve":t.companyFeedback.response="interested";break;case"save-for-later":t.companyFeedback.response="maybe";break;default:t.companyFeedback.response="uninterested"}t.primaryContact=e.primaryContact||t.primaryContact||this.props.details.contactInfo}return t});let s;return s="approve"===e.action?T.A.expressInterestInCandidate:"save-for-later"===e.action?T.A.saveCandidateForLater:e.reset?T.A.unarchiveCandidate:T.A.archiveCandidate,s(this.props.details.id,e.userId,e.message,{primaryContact:e.primaryContact,feedbackOptions:e.feedbackOptions}).then(s=>{s&&(a.companyFeedback=s,a.companyFeedback.date=new Date(s.date)),"approve"===e.action?(f.A.raiseNotification(`success ${t}`,this.props.intl.formatMessage(ee.shortListUpdatedAPPRV)),""===t&&X.set("shortListUpdatedAPPRV","true")):f.A.raiseNotification("success flash",this.props.intl.formatMessage(ee.shortListUpdated));const i={candidates:n};e.primaryContact&&(i.primaryContact=e.primaryContact),this.setState({updates:i})}).catch(e=>{"Conflict"===e.message?f.A.raiseNotification("error top","It looks like someone else might have already modified this candidate. Please refresh the page."):f.A.raiseNotification("error top",this.props.intl.formatMessage(ee.shortListUpdateFailed))})}),this.state={candidates:this.props.candidates||[],isSingleView:this.props.isSingleView||!1,isNewCandidatesHidden:!1,isPipelineCandidatesHidden:!0,isArchiveCandidatesHidden:!0,isSavedForLaterCandidatesHidden:!0,modal:null,contactInfo:e.details.contactInfo||{},filter:this.candidates,candidatesCheckMade:!1,justAskedToBeNotifiedAboutMatchedShortlists:!1},this.state.contactInfo.name=this.state.contactInfo.firstName&&this.state.contactInfo.lastName?`${this.state.contactInfo.firstName} ${this.state.contactInfo.lastName}`:""}UNSAFE_componentWillMount(){window.addEventListener("click",this.toggleOutsideSearchMenu,!1),window.addEventListener("touchend",this.toggleOutsideSearchMenu,!1)}componentDidMount(){(0===this.state.candidates.length&&this.state.isSingleView||"single"!==this.props.viewState)&&this.loadCandidates(),this.props.isSingleView&&void 0===this.scrollHandler&&this.createScrollHandler(),this.props.details&&this.props.details.id&&A.A.getListingById(this.props.details.id)}UNSAFE_componentWillReceiveProps(e){this.state.candidates.length&&this.setState({candidatesCheckMade:!0}),"single"===this.props.viewState&&"single"!==e.viewState&&0===this.state.candidates.length&&this.loadCandidates(),void 0===this.props.isSingleView&&e.isSingleView&&void 0===this.scrollHandler?this.createScrollHandler():cancelAnimationFrame(this.scrollHandler?this.scrollHandler.frameID:void 0)}shouldComponentUpdate(){return"fillRoleForm"!==this.props.viewState}componentWillUnmount(){cancelAnimationFrame(this.scrollHandler?this.scrollHandler.frameID:void 0),window.removeEventListener("click",this.toggleOutsideSearchMenu,!1),window.removeEventListener("touchend",this.toggleOutsideSearchMenu,!1)}onContactSupport(){location.href="mailto:[email protected]"}onCopyJobLink(){this.copyUrl(`${window.location.origin}/listings/${this.props.details.slug}`)}onDeleteJob(){this.toggleModal("delete")}onEditJob(){R.A.navigate(`/listing-creator/listings/${this.props.details.slug}/edit/1`)}onManageCollaborators(){this.toggleModal("collaborators")}onRepostJob(){this.toggleModal("relist")}onViewJob(){R.A.navigate(`/listings/${this.props.details.slug}`)}getMostRecentContactInfo(e=[]){const t=e.reduce((e,t)=>t.primaryContact?e.primaryContact&&e.primaryContact.dateSet>t.primaryContact.dateSet?e:t:e,{});return t?t.primaryContact:null}loadCandidates(){return T.A.getCandidates(this.props.details.id).then(e=>{const t=this.getMostRecentContactInfo(e)||this.state.contactInfo;this.setState({candidates:e,contactInfo:t,candidatesCheckMade:!0}),this.props.storeCandidates(this.props.details.id,e)}).catch(e=>{(0,Y.VU)("currentListingCard.getCandidates",e),this.setState({candidatesCheckMade:!0})})}relistCandidateSearch(){T.A.relistSearch(this.props.details.id).then(()=>{window.location="/listing-creator"}).catch(()=>f.A.raiseNotification("flash error",this.props.intl.formatMessage(ee.cannotRelistSearch)))}render(){var e,t;if(void 0===this.props.details)return null;const a=this.state.candidates.filter(e=>"new"===this.getStatus(e)),s=this.state.candidates.filter(e=>"pipeline"===this.getStatus(e)),i=this.state.candidates.filter(e=>"later"===this.getStatus(e)),r=this.state.candidates.filter(e=>"archive"===this.getStatus(e)),l=s.filter(e=>void 0===e.candidateFeedback||null===e.candidateFeedback.response||"interested"===e.candidateFeedback.response),c=this.props.details.company,p=0!==(a.length||l.length||r.length),{modal:u}=this.state,{flags:g,details:b,userId:v,showEditOption:E,onUpgrade:k,listings:C}=this.props,_=g&&g.matchedShortlistCampaignResponse?JSON.parse(g.matchedShortlistCampaignResponse):null,w=null==C||null===(e=C.currentListingCard)||void 0===e||null===(t=e.dslPaidFeaturesInfo)||void 0===t?void 0:t.paymentType,S=C&&C.currentListingCard&&C.currentListingCard.jobType,A="delete"===u?n.createElement(y.A,{message:n.createElement("div",{id:"delete-position-search-conf"},n.createElement("p",null,"Are you sure you'd like to close this listing?"),n.createElement("p",null,"You can still interact with existing candidates in this search after you close it."),n.createElement("div",{className:"talentDash__searchCard__modalBtn"},n.createElement(m.A,{className:"talentDash__searchCard__modal__confirm",onClick:this.toggleModal,type:"btn",buttonLabel:n.createElement(d.sA,{id:"cancel-close-modal",defaultMessage:"Cancel"})}),n.createElement(m.A,{onClick:()=>{this.cancelCandidateSearch(),this.toggleModal()},className:"talentDash__searchCard__modal__cancel",type:"btn",buttonLabel:"Close Request"}))),isShowing:!0,closeFunction:this.toggleModal}):null,I="relist"===u?n.createElement(y.A,{message:n.createElement("div",{id:"relist-position-search-conf"},n.createElement("p",{className:"re-post-dsl"},"Would you like to keep your search live for another 30 days?"),n.createElement("p",{className:"fine-print"},"*The same T&Cs apply from the orignal post."),n.createElement("div",{className:"talentDash__searchCard__modalBtn"},n.createElement(m.A,{className:"talentDash__searchCard__modal__confirm",onClick:()=>this.toggleModal(),type:"btn",buttonLabel:n.createElement(d.sA,{id:"cancel-close-modal-two",defaultMessage:"No"})}),n.createElement(m.A,{onClick:()=>{this.relistCandidateSearch(),this.toggleModal()},className:"talentDash__searchCard__modal__cancel",type:"btn",buttonLabel:n.createElement(d.sA,{id:"relist-position-search-conf",defaultMessage:"Yes"})}))),isShowing:!0,closeFunction:this.toggleModal}):null,L="ad"===u?n.createElement(H,{closeFunction:()=>{this.toggleModal(),this.setState({justAskedToBeNotifiedAboutMatchedShortlists:!1})},justAskedToBeNotifiedAboutMatchedShortlists:this.state.justAskedToBeNotifiedAboutMatchedShortlists,isSponsored:b.
1isSponsored,onNotifyMe:()=>{T.A.expressInterestInMatchedShortlists(this.props.details.id).then(()=>{this.setState({justAskedToBeNotifiedAboutMatchedShortlists:!0}),N.A.updateUserContext()}).catch(()=>{f.A.raiseNotification("error","Oops, something went wrong. Please try again, or contact us.")})},onUpgrade:()=>{this.toggleModal(),k(this.props.details.slug)},totalMembers:this.props.totalMembers}):null,F="collaborators"===u?n.createElement(q,{listingId:this.props.details.id,closeFunction:this.toggleModal}):null,x=a.sort((e,t)=>t.dateAdded.localeCompare(e.dateAdded)).map(e=>n.createElement(P,{getStatus:this.getStatus,onCandidateInteraction:this.props.onCandidateInteraction||this.onCandidateInteraction,updateCandidate:this.updateCandidate,viewState:this.props.viewState,key:e.userId,candidate:e,contactInfo:this.state.contactInfo,companyInfo:c,userEmails:this.props.userEmails,listingPaymentType:w,listingSubmittedDate:this.props.details.submittedDate,listingId:this.props.details.id,jobType:S}));return _||x.splice(1,0,n.createElement(V,{key:"matchedShortlistAd",onLearnMore:()=>this.toggleModal("ad"),onDismiss:()=>{N.A.setFlag("matchedShortlistCampaignResponse",JSON.stringify({response:"dismissed",listing:this.props.details.id}))}})),n.createElement("div",{id:"talentDash__searchCard",className:this.state.isSingleView?"talentDash__searchCard card-item -floatingNav":"talentDash__searchCard card-item talentDash__searchCard-isSmall",style:{cursor:this.state.isSingleView?"default":"pointer"},onClick:()=>{this.state.isSingleView||R.A.navigate(`/listing-creator/listings/${this.props.details.slug}`)}},n.createElement("div",{id:"searchTitle",className:"talentDash__searchCard__searchTitle"},n.createElement("div",{ref:e=>this.nav=e,className:"talentDash__searchCard__searchTitle__container"},n.createElement("div",{className:"site-container"},this.props.details.isSponsored&&["free","professional"].includes(this.props.details.paymentType)&&!this.state.isSingleView&&n.createElement("span",{className:"talentDash__searchCard__searchTitle__sponsoredLabel"},"Sponsored"),n.createElement("h4",null,this.props.details.title),n.createElement(M.A,{items:(()=>{var e;const t=[],a=b.authorizedUsers&&b.authorizedUsers.find(({user:e,invited:t})=>e===v&&!t);return(void 0===E||E)&&t.push({value:"EditJob",icon:"edit",label:"Edit Job"}
1),"published"===b.status&&(a&&t.push({value:"ManageCollaborators",icon:"add-person",label:"Add Collaborators"}),t.push({value:"ViewJob",icon:"view",label:"View job",classPostfix:"view-job"}),t.push({value:"CopyJobLink",icon:"link",label:"Copy job link"})),o()(this.props.details.validThrough).subtract(10,"days").toDate()<o()().toDate()&&!["60e482d0c8c1c2000f9925ca","60e483de2b6c5200122c39ff","60f6ed7873dc58001089f66f","60fbf88095e402000f260bc9"].includes(null===(e=this.props.details)||void 0===e?void 0:e.id)&&t.push({value:"RepostJob",label:"Repost",disabled:!0,tooltip:"We're revamping job posting on ExecThread, so reposting is paused for now."}),t.push({value:"ContactSupport",label:"Contact support"}),"blocked"!==b.status&&a&&t.push({value:"DeleteJob",label:"Close job"}),t})(),onSelectMenuItem:this.onSelectSearchMenuItem}),this.state.isSingleView&&n.createElement("nav",null,n.createElement(m.A,{id:"filter-pending-search",onClick:this.filterNav("new"),className:!this.state.isNewCandidatesHidden&&this.state.isArchiveCandidatesHidden?"active":"",buttonLabel:n.createElement(d.sA,{id:"filter-pending-search",defaultMessage:"Awaiting Review"})}),n.createElement(m.A,{id:"filter-pipeline-search",onClick:this.filterNav("pipeline"),className:!this.state.isPipelineCandidatesHidden&&this.state.isArchiveCandidatesHidden?"active":"",buttonLabel:n.createElement(d.sA,{id:"filter-pipeline-dsl",defaultMessage:"Introduced"})}),n.createElement(m.A,{id:"filter-saved-for-later",onClick:this.filterNav("later"),className:!this.state.isSavedForLaterCandidatesHidden&&this.state.isPipelineCandidatesHidden?"active":"",buttonLabel:n.createElement(d.sA,{id:"filter-saved-for-later",defaultMessage:"Saved For Later"})}),n.createElement(m.A,{id:"filter-archived-search",onClick:this.filterNav("archive"),className:!this.state.isArchiveCandidatesHidden&&this.state.isPipelineCandidatesHidden?"active":"",buttonLabel:n.createElement(d.sA,{id:"filter-archived-search",defaultMessage:"Archived"})}))))),this.state.isSingleView&&this.props.banner,n.createElement("div",{className:this.state.isSingleView?"talentDash__searchCard__container":"hidden"},n.createElement("div",{id:"currentSearch-needs-decision",className:this.state.isNewCandidatesHidden?"hidden":"talentDash__searchCard__candidate__container"},n.createElement("h5",null,n.createElement("span",{className:"card-counter"},a.length||"0"),n.createElement("span",{className:"-container"},n.createElement(d.sA,{id:"currentSearch-needs-decision",defaultMessage:"Awaiting Review"}))),0===this.state.candidates.length?n.createElement("div",{className:"talentDash__searchCard__placeholderImg"},n.createElement("p",null,n.createElement(d.sA,{id:"dsl-empty-candidates-msg-expect",defaultMessage:"Your listing has been published. We will notify you when there is an applicant to review."})),O):x),n.createElement("div",{className:this.state.isPipelineCandidatesHidden?"hidden":"talentDash__searchCard__candidate__container"},n.createElement("h5",null,n.createElement("span",{className:"card-counter"},l.length||"0"),n.createElement("span",{className:"-container"},n.createElement(d.sA,{id:"current-dsl-pend-candidates",defaultMessage:"Introduced"}))),l.sort((e,t)=>o()(new Date(e.companyFeedback.date)).isAfter(o()(new Date(t.companyFeedback.date)))?-1:o()(new Date(e.companyFeedback.date)).isAfter(o()(new Date(t.companyFeedback.date)))?0:1).map(e=>n.createElement(P,{getStatus:this.getStatus,updateCandidate:this.updateCandidate,viewState:this.props.viewState,key:e.userId,candidate:e,contactInfo:this.state.contactInfo,userEmails:this.props.userEmails,listingPaymentType:w,jobType:S}))),n.createElement("div",{className:this.state.isSavedForLaterCandidatesHidden?"hidden":"talentDash__searchCard__candidate__container"},n.createElement("h5",null,n.createElement("span",{className:"card-counter"},i.length||"0"),n.createElement("span",{className:"-container"},n.createElement(d.sA,{id:"currentSearch-saved-for-later-candidates",defaultMessage:"Saved For Later"}))),i.sort(Q).map(e=>n.createElement(P,{getStatus:this.getStatus,updateCandidate:this.updateCandidate,viewState:this.props.viewState,key:e.userId,candidate:e,contactInfo:this.state.contactInfo,companyInfo:c,userEmails:this.props.userEmails,listingPaymentType:w,jobType:S}))),n.createElement("div",{className:this.state.isArchiveCandidatesHidden?"hidden":"talentDash__searchCard__candidate__container"},n.createElement("h5",null,n.createElement("span",{className:"card-counter"},r.length||"0"),n.createElement("span",{className:"-container"},n.createElement(d.sA,{id:"currentSearch-archived-candidates",defaultMessage:"Archived"}))),r.sort(Q).map(e=>n.createElement(P,{getStatus:this.getStatus,updateCandidate:this.updateCandidate,viewState:this.props.viewState,key:e.userId,candidate:e,contactInfo:this.state.contactInfo,companyInfo:c,userEmails:this.props.userEmails,listingPaymentType:w,jobType:S})))),n.createElement("div",{className:this.state.isSingleView?"hidden":"talentDash__searchCard__dashBoardStats"},n.createElement("div",{id:"new-candidates-dash-status",className:p&&this.state.candidatesCheckMade?"":"hidden"},n.createElement("p",null,n.createElement("span",{className:"card-counter"},a.length||"-"),n.createElement(d.sA,{id:"new-candidates-dash-view",defaultMessage:"New"},e=>n.createElement("span",{className:a.length?"badge-new":"badge-empty"},e))),n.createElement("p",null,n.createElement("span",null,i.length||"-"),n.createElement(d.sA,{id:"later-candidates-dash-view",defaultMessage:"Saved for Later"},e=>n.createElement("span",{className:i.length?"badge-negative":"badge-empty"},e))),n.createElement("p",null,n.createElement("span",null,l.length||"-"),n.createElement(d.sA,{id:"introduced-candidates-dash-view",defaultMessage:"Introduced"},e=>n.createElement("span",{className:l.length?"badge-neutral":"badge-empty"},e))),n.createElement("p",null,n.createElement("span",null,r.length||"-"),n.createElement(d.sA,{id:"arch-candidates-dash-view",defaultMessage:"Archived"},e=>n.createElement("span",{className:r.length?"badge-negative":"badge-empty"},e)))),n.createElement("div",{id:"csc-dash-small-empty",className:!p&&this.state.candidatesCheckMade?"talentDash__searchCard__dashBoardStats_noStats":"hidden"},W(),n.createElement(d.sA,{id:"dsl-dash-small-empty",defaultMessage:"We're reviewing your submission and will get back to you shortly."})),n.createElement("div",{className:this.state.candidatesCheckMade?"hidden":""},h.Vn)),u&&n.createElement("div",{className:`talentDash__searchCard__modal talentDash__${u}Modal`},A,I,L,F))}}te.propTypes={totalMembers:i().exact({raw:i().number.isRequired,rounded:i().string.isRequired,roundedShort:i().string.isRequired}).isRequired};const ae=(0,l.Ng)(e=>({flags:e.member.flags,listings:e.jobs,totalMembers:e.totalMembers,userId:e.member._id}))((0,d.j4)(te))}}]);

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.