1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7400],{39072:function(e,t,a){a.d(t,{Z:function(){return x}});a(69358),a(59749),a(38077),a(60228),a(81919),a(47522),a(99474);var n=a(59499),i=a(95627),o=a.n(i),r=(a(67294),a(37808)),l=a(41664),c=a.n(l),s=[".breadcrumbs.jsx-957425931{padding-bottom:20px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}",".breadcrumbs__link.jsx-957425931{cursor:pointer;}",".breadcrumbs__divider.jsx-957425931{width:24px;text-align:center;}",".breadcrumbs__current.jsx-957425931:first-letter{text-transform:capitalize;}","@media screen and (max-width:700px){.breadcrumbs.jsx-957425931{-webkit-flex-direction:row-reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;-webkit-box-pack:start;-webkit-justify-content:start;-ms-flex-pack:start;justify-content:start;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:4px;}.breadcrumbs__current.jsx-957425931{display:none;}.breadcrumbs__divider.jsx-957425931{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);line-height:0;}}"];s.__hash="957425931";var d=s,m=a(85893);function u(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function p(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?u(Object(a),!0).forEach((function(t){(0,n.Z)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):u(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var h=function(e){return(0,m.jsx)("svg",p(p({},e),{},{children:(0,m.jsx)("path",{fill:"#818194",d:"M1.5 0 0 1.333 3 4 0 6.667 1.5 8 6 4z",fillRule:"evenodd"})}))};h.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"6",height:"8"};var f=function(e){var t=e.crumbs,a=e.sendClickAnalytics,n=e.hideMobile;return(0,m.jsxs)("div",{className:"jsx-".concat(d.__hash)+" "+"breadcrumbs ".concat(n?"hide-mobile":""),children:[(0,m.jsx)(c(),{href:t.parentRoute,children:(0,m.jsx)("a",{onClick:function(){return a&&a()},className:"jsx-".concat(d.__hash)+" breadcrumbs__link",children:t.parentKey?(0,m.jsx)(r.Z,{id:"".concat(t.parentKey),values:{value:t.parentValue}}):t.parentValue})}),(0,m.jsx)("span",{className:"jsx-".concat(d.__hash)+" breadcrumbs__divider",children:(0,m.jsx)(h,{})}),t.firstChildValue&&(0,m.jsx)(c(),{href:t.firstChildRoute,children:(0,m.jsx)("a",{className:"jsx-".concat(d.__hash)+" breadcrumbs__link",children:t.firstChildKey?(0,m.jsx)(r.Z,{id:"".concat(t.firstChildKey),values:{value:t.firstChildValue}}):t.firstChildValue})}),t.firstChildValue&&(0,m.jsx)("span",{className:"jsx-".concat(d.__hash)+" breadcrumbs__divider",children:(0,m.jsx)(h,{})}),(0,m.jsx)("span",{className:"jsx-".concat(d.__hash)+" breadcrumbs__current",children:t.current}),t.currentKey&&t.currentValue&&(0,m.jsx)(r.Z,{id:"".concat(t.currentKey),values:{value:t.currentValue}}),(0,m.jsx)(o(),{id:d.__hash,children:d})]})};f.defaultProps={crumbs:{},sendClickAnalytics:null,hideMobile:!0};var x=f},76850:function(e,t,a){a.d(t,{Z:function(){return S}});a(30050),a(69358),a(59749),a(81919),a(47522),a(99474);var n=a(59499),i=a(4730),o=a(82262),r=a(92777),l=a(45959),c=a(63553),s=a(37247),d=a(50029),m=a(95627),u=a.n(m),p=a(87794),h=a.n(p),f=(a(50886),a(60228),a(73964),a(34338),a(6203),a(38077),a(77049),a(21694),a(64043),a(67294)),x=a(37808),b=a(5152),j=a.n(b),_=a(93967),v=a.n(_),y=a(95952),g=[".input-editor--state-error > .quill > .ql-container{border:1px solid ".concat(y.O9.negative," !important;border-radius:2px;}"),".input-editor--state-error > .quill > .ql-toolbar{border-bottom:none;}",".ql-editor{min-height:250px;font-size:16px;}",".ql-editor:hover{background-color:".concat(y.O9.activeBackground,";}"),".ql-editor:active{background-color:".concat(y.O9.activeBackground,";}"),".ql-picker.ql-size{width:60px !important;}",".input-editor-tooltip.jsx-3471078852{display:block;color:".concat(y.O9.secondary,";font-size:12px;
1margin:2px 0 ").concat(y.W0.s," 0;padding:0 0 0 ").concat(y.W0.xs,";}"),'.input-editor-tooltip.jsx-3471078852::before{content:"";display:inline-block;vertical-align:middle;width:5px;height:5px;border-radius:50%;background:'.concat(y.O9.secondary,";margin:0 5px 0 0;}"),".input-editor-tooltip--error.jsx-3471078852{color:".concat(y.O9.negative,";}"),".input-editor-tooltip--error.jsx-3471078852::before{background:".concat(y.O9.negative,";}"),"del{-webkit-text-decoration:none;text-decoration:none;color:".concat(y.O9.secondary,";font-family:monospace;font-size:initial !important;}"),"code{font-size:initial !important;color:".concat(y.O9.active,";}"),"[data-value=\"10px\"]::before{content:'10' !important;}","[data-value=\"12px\"]::before{content:'12' !important;}","[data-value=\"14px\"]::before{content:'14' !important;}","[data-value=\"16px\"]::before{content:'16' !important;}","[data-value=\"18px\"]::before{content:'18' !important;}","[data-value=\"20px\"]::before{content:'20' !important;}","[data-value=\"24px\"]::before{content:'24' !important;}","[data-value=\"30px\"]::before{content:'30' !important;}","[data-value=\"36px\"]::before{content:'36' !important;}","[data-value=\"40px\"]::before{content:'40' !important;}"];g.__hash="3471078852";var w=g,k=a(85893),O=["forwardedRef"];function N(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Z(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?N(Object(a),!0).forEach((function(t){(0,n.Z)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):N(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function C(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,n=(0,s.Z)(e);if(t){var i=(0,s.Z)(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return(0,c.Z)(this,a)}}var P=[10,12,14,16,18,20,24,30,36,40].map((function(e){return e})).map((function(e){return"".concat(e,"px")})),F=j()((0,d.Z)(h().mark((function e(){var t,n,c,s,d,m,u;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([a.e(2937),a.e(1167)]).then(a.t.bind(a,71167,23));case 2:return t=e.sent,n=t.default,c=n.Quill,s=c.import("blots/inline"),d=function(e){(0,l.Z)(a,e);var t=C(a);function a(){return(0,r.Z)(this,a),t.apply(this,arguments)}return(0,o.Z)(a)}(s),d.blotName="del",d.tagName="del",c.register(d),c.register(c.import("attributors/style/align"),!0),(m=c.import("attributors/style/size")).whitelist=P,c.register(m,!0),(u=c.import("blots/block")).tagName="DIV",c.register(u,!0),e.abrupt("return",(function(e){var t=e.forwardedRef,a=(0,i.Z)(e,O);return(0,k.jsx)(n,Z({innerRef:t},a))}));case 18:case"end":return e.stop()}}),e)}))),{ssr:!1,loadableGenerated:{webpack:function(){return[71167]}}}),D=["bold","italic","underline","list","bullet","code","highlight","del"],z=[].concat(D,["color","header","size","align","link"]),W=[["bold","italic",{list:"ordered"},{list:"bullet"},"clean"]],E=[["bold","italic",{list:"ordered"},{list:"bullet"},{size:P},{align:[]},{color:[]},"link","clean"]],R=function(e){var t=e.useInputValue,a=(0,f.useState)(t?e.input.value:e.value),n=a[0],i=a[1],o=e.meta,r=o.error,l=o.touched,c=e.extendedOptions,s=v()({"input-editor":!0,"input-editor--state-error":l&&r}),d=(0,f.useMemo)((function(){return{toolbar:c?E:W,clipboard:{matchVisual:!1}}}),[]);return(0,f.useEffect)((function(){t||n||i(e.value)}),[e.value]),(0,f.useEffect)((function(){t&&i(e.input.value)}),[e.input.value]),(0,k.jsxs)("div",{className:"jsx-".concat(w.__hash)+" "+(s||""),children:[(0,k.jsx)(F,{theme:"snow",value:n,placeholder:e.placeholder||e.input.placeholder,modules:d,formats:c?z:D,onChange:function(t){var a=/^(?:[\t\n\r -\u052F\u2013\u2014\u2018\u2019\u201C\u201D\u2022\u2026\u20AC]|[\uD83C\uD83D][\uDC00-\uDFFF]|\uD83E[\uDC00-\uDDFF])+$/,n=Array.from(t).filter((function(e){return a.test(e)||" "===e})).join("");i(n);var o=e.input;o.value!==n&&o.onChange(n),e.handleInputChange&&e.handleInputChange(n)},onBlur:function(){var t=e.input,a=e.onChange;t.onChange(n),a&&a(n)}}),r&&(0,k.jsx)("span",{className:"jsx-".concat(w.__hash)+" input-editor-tooltip input-editor-tooltip--error",children:(0,k.jsx)(x.Z,{id:r})}),(0,k.jsx)(u(),{id:w.__hash,children:w})]})};R.defaultProps={input:{},value:"",extendedOptions:!1,onChange:null,handleInputChange:null,useInputValue:!1,placeholder:""};var S=R},12052:function(e,t,a){a.d(t,{Z:function(){return N}});a(69358),a(59749),a(81919),a(99474);var n=a(59499),i=a(95627),o=a.n(i),r=(a(64043),a(57267),a(38320),a(60228),a(47522),a(38077),a(67294)),l=a(37808),c=a(71321),s=a(69065),d=a(86361),m=a(3419),u=a(81768),p=a(82929),h=a(19275),f=a(76850),x=a(96253),b=(a(34338),a(95952)),j=[".candidate-email-modal.jsx-37172711{max-width:563px;min-height:580px;padding:".concat(b.W0.l,";text-align:center;}"),".candidate-email-modal__loader.jsx-37172711{width:500px;}",".candidate-email-modal__info.jsx-37172711{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:".concat(b.W0.s,";}"),".candidate-email-modal__info-text.jsx-37172711{margin-left:".concat(b.W0.s,";}"),".candidate-email-modal__fields.jsx-37172711{text-align:left;}",".candidate-email-modal__footer.jsx-37172711>hr.jsx-37172711{margin-left:-".concat(b.W0.l,";margin-right:-").concat(b.W0.l,";}"),".candidate-email-modal__footer-buttons.jsx-37172711{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:end;
1-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;}",".candidate-email-modal__footer-buttons.jsx-37172711>button{width:159px;}",".candidate-email-modal__footer-buttons.jsx-37172711>button:first-child{margin-right:".concat(b.W0.m,";}"),".candidate-email-modal__fields-total.jsx-37172711{float:right;color:".concat(b.O9.grey2,";font-style:italic;margin-top:-16px;margin-bottom:16px;}"),"@media screen and (max-width:".concat(b.J7.desktopCutoff,"){.candidate-email-modal.jsx-37172711{max-width:100%;background-color:white;padding-bottom:0px;}.candidate-email-modal__footer.jsx-37172711{background-color:#FFF;bottom:0px;left:").concat(b.W0.l,";right:").concat(b.W0.l,";position:-webkit-sticky;position:sticky;z-index:100;padding-bottom:").concat(b.W0.m,";}}")];j.__hash="37172711";var _=j,v=a(85893);function y(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function g(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?y(Object(a),!0).forEach((function(t){(0,n.Z)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):y(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var w=function(e){return(0,v.jsx)("svg",g(g({},e),{},{children:(0,v.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 15c-3.86 0-7-3.14-7-7s3.14-7 7-7 7 3.14 7 7-3.14 7-7 7zM8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm.5 6v6h-1V6h1zm0-1V4h-1v1h1z",fill:"#2F8DFC"})}))};w.defaultProps={width:"16",height:"16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var k=function(e){var t=e.data,a=e.initialize,n=e.emailTemplates,i=e.selectedVacancy,s=e.userFirstName,b=e.userLastName,j=e.employerName,y=e.searchCVIdsForEmails,k=e.intl;(0,r.useEffect)((function(){y&&y()}),[]),(0,r.useEffect)((function(){var e=(0,x.c9)({locale:k.locale,id:i.id,employer:j,position:i.position}),o=g({},t);o.subject=n[0].subject.replace("{employerName}",j),o.content=n[0].content.replace("{firstName}",s).replace("{lastName}",b).replace("{employerName}",j).replace("{positionName}",i.position?i.position:"<code>".concat(k.formatMessage({id:"candidate.search.email.modal.add.position.name"}),"</code>")).replace("{vacancyLink}",i.id||i.position?window.location.origin+e:"<code>".concat(k.formatMessage({id:"candidate.search.email.modal.add.vacancy.link"}),"</code>")),o.templateNames=n[0].id,a(o)}),[t]);var O=e.closeModal,N=e.userEmail,Z=e.handleSubmit,C=e.initialized,P=t.emailTotal;return(0,v.jsxs)("form",{onSubmit:Z((function(a){var n=e.employerId,i=e.onSubmit,o=e.closeModal,r=t.ids,l=t.vacancyId,c={};c.subject=a.subject,c.content=a.content.replaceAll("</div>","</div><br>"),c.ids=r,c.vacancyId=parseInt(l,10),i(n,c),o()})),className:"jsx-".concat(_.__hash),children:[(0,v.jsxs)("div",{className:"jsx-".concat(_.__hash)+" candidate-email-modal",children:[(!C||t.isSearchReqLoadingForCvIdsForEmails)&&(0,v.jsx)("div",{className:"jsx-".concat(_.__hash)+" candidate-email-modal__loader",children:(0,v.jsx)(d.Z,{size:"24px"})}),C&&!t.isSearchReqLoadingForCvIdsForEmails&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(l.Z,{id:"candidate.search.email.modal.title",tagName:"h2"}),(0,v.jsxs)("p",{className:"jsx-".concat(_.__hash),children:[(0,v.jsx)(l.Z,{id:"candidate.search.email.modal.text"}),(0,v.jsxs)("b",{className:"jsx-".concat(_.__hash),children:[" ",N]})]}),(0,v.jsxs)("div",{className:"jsx-".concat(_.__hash)+" candidate-email-modal__fields",children:[(0,v.jsx)(c.Z,{name:"templateNames",disabled:!0,onChange:function(e){var o=n.filter((function(t){return t.id===e}))[0],r=(0,x.c9)({locale:k.locale,id:i.id,employer:j,position:i.position}),l=g({},t);l.subject=o.subject.replace("{employerName}",j),l.content=o.content.replace("{firstName}",s).replace("{lastName}",b).replace("{employerName}",j).replace("{positionName}",i.position?i.position:"<code>".concat(k.formatMessage({id:"candidate.search.email.modal.add.position.name"}),"</code>")).replace("{vacancyLink}",i.id||i.position?window.location.origin+r:"<code>".concat(k.formatMessage({id:"candidate.search.email.modal.add.vacancy.link"}),"</code>")),a(l)},options:function(){var e=[];
1return n.forEach((function(t){e.push({label:t.templateName,value:t.id})})),e}(),component:h.Z,label:"candidate.search.email.modal.template.field"}),(0,v.jsx)(c.Z,{name:"emailTo",isFullWidth:!0,disabled:!0,isEllipsis:!0,component:p.Z,validate:[m.C1],label:"candidate.search.email.modal.email.to.field"}),(0,v.jsx)("span",{className:"jsx-".concat(_.__hash)+" candidate-email-modal__fields-total",children:(0,v.jsx)(l.Z,{id:"candidate.search.email.modal.total",values:{emailTotal:P}})}),(0,v.jsx)(c.Z,{name:"subject",isFullWidth:!0,component:p.Z,validate:[m.C1],label:"candidate.search.email.modal.subject.field"}),(0,v.jsxs)("div",{className:"jsx-".concat(_.__hash)+" candidate-email-modal__info secondary-text",children:[(0,v.jsx)("span",{className:"jsx-".concat(_.__hash),children:(0,v.jsx)(w,{})}),(0,v.jsx)("span",{className:"jsx-".concat(_.__hash)+" candidate-email-modal__info-text",children:(0,v.jsx)(l.Z,{id:"editor.helpButton.content"})})]}),(0,v.jsx)(c.Z,{name:"content",isFullWidth:!0,helpMessage:"".concat(k.formatMessage({id:"editor.helpButton.content"})),component:f.Z,validate:[m.C1],useInputValue:!0})]}),(0,v.jsxs)("div",{className:"jsx-".concat(_.__hash)+" candidate-email-modal__footer",children:[(0,v.jsx)("hr",{className:"jsx-".concat(_.__hash)}),(0,v.jsxs)("div",{className:"jsx-".concat(_.__hash)+" candidate-email-modal__footer-buttons",children:[(0,v.jsx)(u.Z,{isSecondary:!0,onClick:O,children:(0,v.jsx)(l.Z,{id:"candidate.search.email.modal.cancel.button"})}),(0,v.jsx)(u.Z,{type:"submit",children:(0,v.jsx)(l.Z,{id:"candidate.search.email.modal.send.button"})})]})]})]})]}),(0,v.jsx)(o(),{id:_.__hash,children:_})]})},O={form:"candidate-email-form",enableReinitialize:!0,keepDirtyOnReinitialize:!0,onSubmitFail:function(e){console.warn("form submit fail",e)}};k.defaultProps={searchCVIdsForEmails:void 0,selectedVacancy:{}};var N=(0,s.Z)(O)(k)},33876:function(e,t,a){a.d(t,{Z:function(){return x}});var n=a(95627),i=a.n(n),o=(a(67294),a(37808)),r=a(71321),l=a(69065),c=a(3419),s=a(81768),d=a(82929),m=(a(34338),a(95952)),u=[".employer-email-template-modal.jsx-3762473934{width:580px;padding:".concat(m.W0.l,";text-align:center;}"),".employer-email-template-modal__fields.jsx-3762473934{text-align:left;}",".employer-email-template-modal__footer.jsx-3762473934>hr.jsx-3762473934{margin-left:-".concat(m.W0.l,";margin-right:-").concat(m.W0.l,";}"),".employer-email-template-modal__footer-buttons.jsx-3762473934{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;}",".employer-email-template-modal__footer-buttons.jsx-3762473934>button{width:159px;}",".employer-email-template-modal__footer-buttons.jsx-3762473934>button:first-child{margin-right:".concat(m.W0.m,";}"),"@media screen and (max-width:".concat(m.J7.desktopCutoff,"){.employer-email-template-modal.jsx-3762473934{max-width:100%;background-color:white;padding-bottom:0px;}.employer-email-template-modal__footer.jsx-3762473934{background-color:#FFF;bottom:0px;left:").concat(m.W0.l,";right:").concat(m.W0.l,";position:-webkit-sticky;position:sticky;z-index:100;padding-bottom:").concat(m.W0.m,";}}")];u.__hash="3762473934";var p=u,h=a(85893),f={form:"employer-email-template-form",enableReinitialize:!0,keepDirtyOnReinitialize:!0,onSubmitFail:function(e){console.warn("form submit fail",e)}},x=(0,l.Z)(f)((function(e){var t=e.employerId,a=e.onSubmit,n=e.closeModal,l=e.data,m=e.handleSubmit;return(0,h.jsxs)("form",{onSubmit:m((function(e){var i={};i.templateName=e.templateName,i.subject=l.subject,i.content=l.content,a(t,i),n()})),className:"jsx-".concat(p.__hash),children:[(0,h.jsxs)("div",{className:"jsx-".concat(p.__hash)+" employer-email-template-modal",children:[(0,h.jsx)(o.Z,{id:"employer.email.template.modal.title",tagName:"h2"}),(0,h.jsx)("p",{className:"jsx-".concat(p.__hash),children:(0,h.jsx)(o.Z,{id:"employer.email.template.modal.text"})}),(0,h.jsx)("div",{className:"jsx-".concat(p.__hash)+" employer-email-template-modal__fields",children:(0,h.jsx)(r.Z,{name:"templateName",isFullWidth:!0,component:d.Z,validate:[c.C1],label:"employer.email.template.modal.name.field"})}),(0,h.jsxs)("div",{className:"jsx-".concat(p.__hash)+" employer-email-template-modal__footer",children:[(0,h.jsx)("hr",{className:"jsx-".concat(p.__hash)}),(0,h.jsxs)("div",{className:"jsx-".concat(p.__hash)+" employer-email-template-modal__footer-buttons",children:[(0,h.jsx)(s.Z,{isSecondary:!0,onClick:n,children:(0,h.jsx)(o.Z,{id:"employer.email.template.modal.cancel.button"})}),(0,h.jsx)(s.Z,{type:"submit",children:(0,h.jsx)(o.Z,{id:"employer.email.template.modal.create.button"})})]})]})]}),(0,h.jsx)(i(),{id:p.__hash,children:p})]})}))}}]);
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.