1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2746],{82746:function(t,e,n){n.d(e,{Z:function(){return O}});var i=n(84358),o=n(67294),r=n(68385),a=n(74559),d=n(90028),s=n(195),l=n(14141),c=n(46860),p=n(61704),h=l.ZP.div.withConfig({displayName:"styled__ActionWrapper",componentId:"sc-133h5i9-0"})(["display:flex;align-items:center;span{font-weight:500;}"]),m=l.ZP.div.withConfig({displayName:"styled__ApplicantContainer",componentId:"sc-133h5i9-1"})(["margin-bottom:0px;border-top:1px solid ",";padding-left:15px;&:hover{background-color:",";}&:first-of-type{margin-top:0;}"],(function(t){return t.theme.colors.card.border}),(function(t){return t.theme.colors.card.logoBorder})),u=l.ZP.div.withConfig({displayName:"styled__ApplicantHeaderContainer",componentId:"sc-133h5i9-2"})(["display:flex;align-items:flex-start;justify-content:flex-start;margin-bottom:15px;margin-top:15px;"]),f=l.ZP.div.withConfig({displayName:"styled__ApplicantName",componentId:"sc-133h5i9-3"})(["h5{font-family:",";}"],(function(t){return t.theme.fontFamily})),x=l.ZP.div.withConfig({displayName:"styled__ButtonsContainer",componentId:"sc-133h5i9-4"})(["display:flex;align-items:center;height:100%;justify-content:",";button{:first-of-type{padding-left:0;}}"],(function(t){return t.justify||"flex-start"})),g=l.ZP.div.withConfig({displayName:"styled__FileBox",componentId:"sc-133h5i9-5"})(["height:40px;width:80px;padding:8px 24px;border-radius:3px;text-align:center;margin-right:16px;background:",";span{font-size:0.875rem;font-weight:600;color:",";}"],(function(t){return t.theme.colors.dropzone.background}),(function(t){return t.theme.colors.dropzone.text})),y=l.ZP.div.withConfig({displayName:"styled__FileContainer",componentId:"sc-133h5i9-6"})(["display:flex;align-items:center;width:100%;margin-bottom:15px;"]),j=l.ZP.div.withConfig({displayName:"styled__FileContent",componentId:"sc-133h5i9-7"})([""]),b=(l.ZP.div.withConfig({displayName:"styled__ProfileImage",componentId:"sc-133h5i9-8"})(["border-radius:50%;width:40px;height:40px;margin-right:16px;background:",";"],(function(t){return t.theme.colors.main})),l.ZP.div.withConfig({displayName:"styled__Status",componentId:"sc-133h5i9-9"})(["",""],(function(t){var e=t.theme;return(0,l.iv)(["padding:2px 16px;background:",";border-radius:5px;margin-right:40px;span{font-size:0.875rem;font-weight:500;color:",";}"],e.colors.tabs.default,e.colors.white)}))),v=(0,l.ZP)(a.n).withConfig({displayName:"styled__StyledA",componentId:"sc-133h5i9-10"})(["padding:0;height:auto;font-weight:500;"]),w=((0,l.ZP)(a.Z).withConfig({displayName:"styled__StyledButton",componentId:"sc-133h5i9-11"})(["padding:0;margin-right:40px;height:auto;"]),(0,l.ZP)(s.by).withConfig({displayName:"styled__StyledHeading5",componentId:"sc-133h5i9-12"})(["margin-bottom:",";",""],(function(t){return t.marginBottom||"8px"}),(function(t){return t.uppercase&&(0,l.iv)(["text-transform:uppercase;"])}))),C=(0,l.ZP)(c.Z).withConfig({displayName:"styled__StyledIcon",componentId:"sc-133h5i9-13"})(["padding:0;
1svg path{fill:",";}",""],(function(t){return t.theme.colors.icon.default}),(function(t){return t.hasMarginRight&&(0,l.iv)(["margin-right:8px;"])})),_=(0,l.ZP)(p.Z).withConfig({displayName:"styled__StyledIconButton",componentId:"sc-133h5i9-14"})(["svg path{fill:",";}",""],(function(t){return t.theme.colors.icon.default}),(function(t){var e=t.starred,n=t.theme;return e&&(0,l.iv)(["svg path{fill:",";}"],n.colors.primary)})),P=(0,l.ZP)(s.nv).withConfig({displayName:"styled__StyledParagraph",componentId:"sc-133h5i9-15"})(["font-weight:600;"]),Z=n(85893),I=function(t){var e=t.applicants,n=t.applicantId,l=t.onDelete,c=t.onShowMore,p=t.onStarClick,I=(0,i.$G)("common").t,O=(0,o.useState)(void 0),N=O[0],k=O[1],S=(0,o.useState)(void 0),B=S[0],H=S[1];return(0,o.useEffect)((function(){n&&k(+n)}),[n,e,c]),(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(d.Z,{onConfirm:function(){l(B),H(void 0)},isOpen:!!B,isLoading:!1,onClose:function(){return H(void 0)},text:"job.applications.deletemodal.text",title:"job.applications.deletemodal.title",submitButtonText:"action.delete"}),e.map((function(t){var e=3===t.status;return(0,Z.jsxs)(m,{children:[(0,Z.jsxs)(r.Row,{gutter:24,align:"stretch",children:[(0,Z.jsx)(r.Col,{xs:12,sm:6,children:(0,Z.jsx)(u,{children:(0,Z.jsxs)(f,{children:[(0,Z.jsxs)(s.by,{children:[t.firstName," ",t.lastName]}),(0,Z.jsx)(P,{children:t.jobTitle})]})})}),(0,Z.jsx)(r.Col,{xs:12,sm:6,align:"end",children:(0,Z.jsxs)(x,{justify:"flex-end",marginBottom:"16px",children:[0===t.status?(0,Z.jsx)(b,{children:(0,Z.jsx)("span",{children:I("job.applications.new")})}):null,(0,Z.jsx)(a.Z,{variant:"link",onClick:function(){return e=t.applicantId,n=t.status,k(N===e?void 0:e),void c(e,n);var e,n},children:I(N===t.applicantId?"job.applications.action.showless":"job.applications.action.showmore")}),(0,Z.jsx)(_,{name:e?"star_fill":"star_border",starred:!1,outlined:!1,onClick:function(){return function(t,e){p(t,e)}(t.applicantId,t.status)}}),(0,Z.jsx)(_,{name:"delete",outlined:!0,onClick:function(){return e=t.applicantId,void H(e);var e}})]})})]}),N===t.applicantId?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(x,{marginBottom:"30px",children:[(0,Z.jsx)(a.Z,{variant:"link",onClick:function(){return window.open("mailto:".concat(t.applicantEmail))},children:(0,Z.jsxs)(h,{children:[(0,Z.jsx)(C,{name:"mail",hasMarginRight:!0}),(0,Z.jsx)("span",{children:(0,Z.jsx)(i.cC,{children:I("job.applications.action.sendmail")})})]})}),(0,Z.jsx)(a.Z,{variant:"link",onClick:function(){return window.open("tel:".concat(t.applicantPhone))},children:(0,Z.jsxs)(h,{children:[(0,Z.jsx)(C,{name:"phone",hasMarginRight:!0}),(0,Z.jsx)("span",{children:t.applicantPhone})]})})]}),(0,Z.jsx)(w,{uppercase:!0,children:(0,Z.jsx)(i.cC,{children:I("job.applications.documents")})}),(0,Z.jsx)(r.Row,{gutter:24,children:t.documents&&t.documents.map((function(t,e){return(0,Z.jsx)(r.Col,{xs:12,sm:6,children:(0,Z.jsxs)(y,{children:[(0,Z.jsx)(g,{children:(0,Z.jsx)("span",{children:".doc"})}),(0,Z.jsxs)(j,{children:[(0,Z.jsx)(s.Cd,{children:t.fileName}),(0,Z.jsx)("div",{children:(0,Z.jsx)(v,{href:t.filePath,download:t.fileName,variant:"link",children:(0,Z.jsx)(i.cC,{children:I("job.applications.action.download")})})})]})]})},"document".concat(e))}))})]}):null]},t.applicantId)}))]})};I.defaultProps={applicantId:void 0};var O=I},90028:function(t,e,n){n.d(e,{Z:function(){return m}});var i=n(84358),o=n(75632),r=n(53420),a=n(14141),d=n(74559),s=a.ZP.div.withConfig({displayName:"styled__ButtonsWrapper",componentId:"sc-1t37m9b-0"})(["display:flex;align-items:center;justify-content:flex-end;margin-bottom:10px;button{margin-bottom:0;}"]),l=(0,a.ZP)(d.Z).withConfig({displayName:"styled__StyledButton",componentId:"sc-1t37m9b-1"})(["margin-right:10px;margin-bottom:0;:last-of-type{margin-right:0;}"]),c=a.ZP.p.withConfig({displayName:"styled__StyledP",componentId:"sc-1t37m9b-2"})(["margin-bottom:20px;"]),p=n(85893),h=function(t){var e=t.discardButtonText,n=t.isOpen,a=t.onClose,d=t.onConfirm,h=t.onDiscard,m=t.isLoading,u=t.text,f=t.title,x=t.submitButtonText,g=t.showCancelButton,y=(0,i.$G)("common").t;return(0,p.jsxs)(r.Z,{isOpen:n,title:f,onClose:a,children:[m&&(0,p.jsx)(o.Z,{}),(0,p.jsx)(c,{children:(0,p.jsx)(i.cC,{children:y(u)})}),(0,p.jsxs)(s,{children:[g&&(0,p.jsx)(l,{variant:"link",onClick:a,children:(0,p.jsx)(i.cC,{children:y("action.cancel")})}),void 0!==h&&(0,p.jsx)(l,{variant:"link",onClick:h,children:(0,p.jsx)(i.cC,{children:y(e)})}),(0,p.jsx)(l,{variant:"primary",type:"button",onClick:d,children:(0,p.jsx)(i.cC,{children:y(x)})})]})]})};h.defaultProps={discardButtonText:"",onDiscard:void 0,showCancelButton:!0};var m=h},75632:function(t,e,n){n.d(e,{Z:function(){return p}});var i=n(59499),o=n(67294),r=n(14141).ZP.div.withConfig({displayName:"styled__LoaderWrapper",componentId:"sc-hi5exz-0"})(["display:flex;justify-content:center;align-items:center;position:",";top:0;left:0;background-color:rgba(255,255,255,0.7);width:100%;height:100%;min-height:",";z-index:",";"],(function(t){return t.position}),(function(t){return t.minHeight}),(function(t){return t.global?"1000":"500"})),a=n(85893);function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?d(Object(n),!0).forEach((function(e){(0,i.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var l=function(t){return(0,a.jsx)("svg",s(s({},t),{},{children:(0,a.jsxs)("g",{transform:"translate(1 1)",strokeWidth:"2",fill:"none",fillRule:"evenodd",children:[(0,a.jsx)("circle",{strokeOpacity:".5",cx:"18",cy:"18",r:"18"}),(0,a.jsx)("path",{d:"M36 18c0-9.94-8.06-18-18-18",children:(0,a.jsx)("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})})]})}))};l.defaultProps={width:"38",height:"38",xmlns:"http://www.w3.org/2000/svg",stroke:"#95a5a6"};var c=function(t){var e=t.minHeight,n=t.position,i=t.global;return(0,a.jsx)(r,{position:n,minHeight:e,global:i,children:(0,a.jsx)(l,{})})};c.defaultProps={global:!1,minHeight:"0",position:"absolute"};var p=(0,o.memo)(c)},53420:function(t,e,n){n.d(e,{Z:function(){return w}});var i=n(59499),o=n(83253),r=n.n(o),a=n(84358),d=n(14141),s=n(46860),l=d.ZP.div.withConfig({displayName:"styled__ModalHeader",componentId:"sc-1nxamqu-0"})(["display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid ",";padding:20px;@media all and (max-width:600px){padding:12px 24px;}"],(function(t){return t.theme.colors.card.border})),c=d.ZP.button.withConfig({displayName:"styled__CloseIconWrapper",componentId:"sc-1nxamqu-1"})(["background:transparent;border:0;display:flex;cursor:pointer;margin-left:20px;"]),p=d.ZP.span.withConfig({displayName:"styled__ModalTitle",componentId:"sc-1nxamqu-2"})(["font-size:0.875rem;text-transform:uppercase;font-weight:600;"]),h=(0,d.ZP)(s.Z).withConfig({displayName:"styled__StyledIcon",componentId:"sc-1nxamqu-3"})(["svg path{fill:grey;}"]),m=d.ZP.div.withConfig({displayName:"styled__ContentWrapper",componentId:"sc-1nxamqu-4"})(["width:",";border-radius:5px;background-color:#fff;position:relative;display:flex;flex-direction:column;max-width:940px;max-height:calc(100vh - 50px);overflow:hidden;@media only screen and (max-width:600px){width:calc(100vw - 48px);max-height:80vh;}"],(function(t){return t.width})),u=d.ZP.div.withConfig({displayName:"styled__ChildrenWrapper",componentId:"sc-1nxamqu-5"})(["overflow:auto;font-size:0.875rem;overflow-x:hidden;padding:",";@media all and (max-width:767px){padding:14px;}@media screen and (-ms-high-contrast:none){max-height:400px;overflow-y:scroll;margin-bottom:10px;}"],(function(t){return t.padding})),f=d.ZP.div.withConfig({displayName:"styled__FooterWrapper",componentId:"sc-1nxamqu-6"})(["border-top:1px solid #efefef;padding:14px 24px;"]),x=n(85893),g=function(t){var e=t.children,n=t.onClose,i=t.padding,o=t.width,r=t.title,d=t.fixedFooterComponent,s=t.hideHeader,g=(0,a.$G)("common").t;return(0,x.jsxs)(m,{width:o,"data-testid":"modal",children:[s?null:(0,x.jsxs)(l,{children:[(0,x.jsx)(p,{children:(0,x.jsx)(a.cC,{children:g(r)})}),(0,x.jsx)(c,{onClick:n,"data-testid":"close-modal-icon",children:(0,x.jsx)(h,{name:"close"})})]}),(0,x.jsx)(u,{padding:i,children:e}),d&&(0,x.jsx)(f,{children:(0,x.jsx)(d,{})})]})};g.defaultProps={fixedFooterComponent:void 0};var y=g;function j(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function b(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?j(Object(n),!0).forEach((function(e){(0,i.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}r().setAppElement("#root");r().defaultStyles.overlay=b(b({},r().defaultStyles.overlay),{display:"flex",justifyContent:"center",alignItems:"center",backgroundColor:"rgba(0, 0, 0, 0.7)"}),r().defaultStyles.content=b(b({},r().defaultStyles.content),{position:"static",padding:0,border:"none",overflow:"visible"});var v=function(t){var e=t.children,n=t.isOpen,i=t.onClose,o=t.padding,a=t.width,d=t.ariaHideApp,s=t.title,l=t.fixedFooterComponent,c=t.hideHeader,p=t.style;return(0,x.jsx)(r(),{ariaHideApp:d,closeTimeoutMS:150,isOpen:n,onRequestClose:i,style:p,children:(0,x.jsx)(y,{onClose:i,padding:o,width:a,title:s,fixedFooterComponent:l,hideHeader:c,children:e})})};v.defaultProps={ariaHideApp:!0,padding:"14px 24px",width:"500px",t
1itle:"",fixedFooterComponent:void 0,hideHeader:!1,style:void 0};var w=v}}]);
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.