1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3560],{87222:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return ce},default:function(){return ie}});n(59749),n(81919),n(99474);var r=n(50029),a=n(17674),s=n(59499),o=n(95627),c=n.n(o),i=n(87794),l=n.n(i),u=(n(65137),n(38077),n(60228),n(69358),n(76801),n(752),n(85415),n(50886),n(45993),n(79288),n(47522),n(37960),n(97895),n(34338),n(67294)),d=n(11163),m=n(2664),f=n(73387),p=n(18135),y=n(72772),h=n(9008),v=n.n(h),g=n(96253),w=n(71913),x=n(21137),b=n(27985),_=n(56926),Z=n(59720),S=n(26692),k=n(99733),j=n(78798),E=n(83041),I=n(7949),W=n(89373),O=n(2682),N=n(97486),P=n(95952),J=n(19549),T=n(74878),A=n(86896),B=n(86361),R=n(37808),C=n(45851),V=n(5916),D=[".remotes-list.jsx-2349696783{display:block;list-style:none;margin:0 0 ".concat(P.W0.l," 0;padding:0;border:1px solid ").concat(P.O9.grey3,";border-radius:2px;background:#fff;}"),".remotes-list__item.jsx-2349696783{border-top:1px solid ".concat(P.O9.grey3,";}"),".remotes-list__item.jsx-2349696783:first-child{border-top:none;}",".remotes-list__banner.jsx-2349696783 img{width:100%;margin-bottom:-7px;}",".remotes-list__item--seen.jsx-2349696783{background:".concat(P.O9.activeBackground,";}"),"@media screen and (max-width:".concat(P.J7.desktopCutoff,"){.remotes-list.jsx-2349696783{border-left:0;border-right:0;margin-bottom:-1px;}}")];D.__hash="2349696783";var U=D,F=n(85893),L=function(e){var t=e.intl,n=e.vacancies,r=e.vacanciesViews,a=e.searchParams,s=e.saveVacancy,o=e.removeSavedVacancy,i=e.locations,l=e.authentication,u=e.noFilterSearch,d=e.userInteractions,m=e.vacancyEmployerData;return(0,F.jsxs)("ul",{className:"jsx-".concat(U.__hash)+" remotes-list",children:[n.map((function(e){return(0,F.jsx)("li",{className:"jsx-".concat(U.__hash)+" "+"remotes-list__item ".concat(d[e.id]&&d[e.id].seen&&"remotes-list__item--seen"),children:(0,F.jsx)(V.Z,{intl:t,locale:t.locale,item:e,vacancyViews:r[e.id],saveVacancy:s,removeSavedVacancy:o,locations:i,userNotLoggedIn:!l.user||!l.user.userType,hideSaveButton:l.user&&("EMPLOYER"===l.user.userType||"ADMIN"===l.user.userType),noFilterSearch:u,categories:a.categories?Object.keys(a.categories):[],user:l.user,userInteractions:d,vacancyEmployerData:m})},e.id)})),(0,F.jsx)(c(),{id:U.__hash,children:U})]})};L.defaultProps={vacancies:[],vacanciesViews:{},noFilterSearch:!1,userInteractions:{},vacancyEmployerData:{}};var M=L,q=n(87426),H=n(93967),Q=n.n(H),Y=(n(64043),n(82243),"scrollPosition"),z="scrollPathname",$=/^(?:\d+\.?\d*|\.\d+)$/,X=function(){window.sessionStorage.setItem(Y,String(window.scrollY))},G=function(){var e=(0,d.useRouter)(),t=(0,u.useRef)(!0),n=(0,u.useRef)(!1);(0,u.useEffect)((function(){var r;if(t.current){t.current=!1;var a=window.sessionStorage.getItem(z),s=function(e){if(null===e||!$.test(e))return null;var t=Number(e);return Number.isFinite(t)?t:null}(window.sessionStorage.getItem(Y));a===e.pathname&&null!==s?r=window.setTimeout((function(){window.scrollTo(0,s),n.current=!0}),0):(n.current=!0,X())}return window.sessionStorage.setItem(z,e.pathname),function(){void 0!==r&&window.clearTimeout(r)}}),[e.pathname]),(0,u.useEffect)((function(){var e=function(){n.current&&X()};return window.addEventListener("scroll",e),function(){window.removeEventListener("scroll",e)}}),[])},K=n(67952),ee=n(5342),te=n(14541),ne=n(93575);function re(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?re(Object(n),!0).forEach((function(t){(0,s.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):re(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var se=["offset","limit"],oe=function(e){var t=(0,m.I0)(),n=(0,A.Z)(),o=n.locale,i=(0,d.useRouter)(),h=i.isReady,_=i.query,Z=ae({},_||{}),S=(0,m.v9)((0,C.Yd)(w.T0)),V=S?(0,E.Et)(null===_||void 0===_?void 0:_.params):null,D=Z.offset,U=Z.limit,L=(0,g.ge)(),H=(0,u.useRef)(e.pageSearchId),Y=(0,u.useState)((function(){return e.pageSearchId})),z=Y[0],$=Y[1],X=(0,u.useRef)(null),re=(0,u.useRef)(!1),oe=(0,u.useRef)(null),ce=(0,u.useRef)(!1),ie=(0,u.useRef)(n.locale),le=(0,u.useRef)(0);(0,u.useEffect)((function(){if(ie.current!==n.locale&&(ie.current=n.locale,(0,b.e_)()&&"undefined"!==typeof crypto&&"function"===typeof crypto.randomUUID)){le.current=Date.now(),t(ee.Ue.util.resetApiState());var e=crypto.randomUUID();H.current=e,$(e)}}),[n.locale,t]),G();var ue=(0,K.B)(!0),de=(0,u.useState)(!1),me=de[0],fe=de[1],pe=Z.sorting||"RELEVANCE",ye=(0,u.useState)(!0),he
1=ye[0],ve=ye[1],ge=(0,u.useState)([]),we=ge[0],xe=ge[1],be=(0,u.useState)(0),_e=be[0],Ze=be[1],Se=(0,u.useState)(!1),ke=Se[0],je=Se[1],Ee=(0,u.useState)(!1),Ie=Ee[0],We=Ee[1],Oe=e.authentication,Ne=e.authentication.user,Pe=e.locations,Je=e.banners,Te=e.topEmployers,Ae=e.fullUrl,Be=e.shadowBoxActive,Re=e.searchResults,Ce=e.alma,Ve=e.canonicalUrl,De=(0,b.e_)()&&H.current?H.current:null,Ue={params:ae(ae(ae(ae({},(0,E._6)(Z)),V&&{employerId:V}),De&&{searchId:De}),{},{sorting:pe}),locale:o},Fe=(0,ee.Q9)(Ue,{skip:!h||ce.current}).data,Le=null!==Fe&&void 0!==Fe?Fe:Re,Me=(0,ee.bP)(),qe=(0,a.Z)(Me,1)[0],He=(0,ee.uZ)(),Qe=(0,a.Z)(He,1)[0],Ye=(0,te.rJ)(),ze=(0,a.Z)(Ye,1)[0],$e=(0,te.Jo)(),Xe=(0,a.Z)($e,1)[0],Ge=Le||{},Ke=Ge.total,et=Ge.categories,tt=Ge.workTimes,nt=Ge.vacancies,rt=Ge.vacanciesViews,at=Ge.towns,st=Ge.counties,ot=Ge.countries,ct=Ge.userInteractions,it=Ge.vacancyEmployerData,lt=Ge.remoteWorkTypes,ut=Ge.quickApply,dt=Ge.isMoreFiltersOpen,mt=Ge.languages,ft=Boolean(S&&V),pt=(0,ee.nr)(void 0,{skip:!ft}).data,yt=function(){var e=(0,b.ej)("cvoVacancyIdToSave");if(e){var t=parseInt(e,10);Number.isNaN(t)||Qe({params:ae(ae(ae({},(0,E._6)(Z)),V&&{employerId:V}),De&&{searchId:De}),locale:o}).then((function(){var e=!1;Le.vacancies.forEach((function(n){n.id===t&&n.saved&&(e=!0)})),e||ze(t)})),(0,b.nJ)("cvoVacancyIdToSave")}};(0,u.useEffect)((function(){t((0,ne.kT)())}),[t]),(0,u.useEffect)((function(){z&&(0,b.e_)()&&t((0,ne.ah)(z))}),[z,t]),(0,u.useEffect)((function(){if(h){var e=function(e){var t=e||{},n=Object.keys(t).filter((function(e){return!se.includes(e)})).sort();return JSON.stringify(Object.fromEntries(n.map((function(e){return[e,t[e]]}))))}(_);if(re.current)return re.current=!1,oe.current?(H.current=oe.current,ce.current=!1,$(oe.current),oe.current=null):ce.current=!1,void(X.current=e);if(null!==X.current&&X.current!==e&&(0,b.e_)()&&"undefined"!==typeof crypto&&"function"===typeof crypto.randomUUID){var t=crypto.randomUUID();H.current=t,$(t)}X.current=e}}),[h,_]),(0,u.useEffect)((function(){t((0,f.v2)(i.asPath)),t((0,f.Zd)(f.Un.SEARCH))}),[Le,t,i.asPath]),(0,u.useEffect)((function(){if(z&&(0,b.e_)()){var e={id:z,timestamp:Date.now()};localStorage.setItem(ne.Aq,JSON.stringify(e))}}),[z]),(0,u.useEffect)((function(){e.getLocations(),e.getTopEmployers();var t=(0,E._6)(Z);ve((0,E.wl)(t));var n=(0,E.CB)(t);if(n?e.getCategoryBanners(n):e.clearCategoryBanners(),document.addEventListener("saveSeekerVacancyIfExists",(function(){return yt()})),window&&window.dataLayer){var r={event:"GoogleAds_JobSearch",items:[{id:0,google_business_vertical:"jobs",search_categories:t.categories}]};window.dataLayer.push(r)}var a=(0,E.Am)(t);fe(a)}),[i.query]),(0,u.useEffect)((0,r.Z)(l().mark((function e(){var t,n,r,a,s,c,i,u;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!me||!((null===nt||void 0===nt?void 0:nt.length)<U||Ke<U)){e.next=14;break}if(t=(0,E._6)(Z),n=parseInt(D,10)||0,r=0===nt.length,!(U+n>Ke)){e.next=14;break}return a=ae(ae({},t),V&&{employerId:V}),r?a.offset=n-Ke:(s=U-nt.length)<U&&(a.offset=0,a.limit=s),e.next=9,qe({params:ae(ae({},a),De&&{searchId:De}),locale:o}).unwrap();case 9:c=e.sent,i=c.vacancies,u=c.total,xe(i),Ze(u);case 14:case"end":return e.stop()}}),e)}))),[nt,me]);var ht=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.createNewSearchSession,r=void 0===n||n,a=t.keepEmployerPath,s=void 0===a||a,o=Date.now()-le.current,c=o<500;if(!c&&r&&(0,b.e_)()&&"undefined"!==typeof crypto&&"function"===typeof crypto.randomUUID){var l=crypto.randomUUID();oe.current=l,re.current=!0,ce.current=!0}var u=ae({limit:20,offset:0},e);if(delete u.searchId,S){delete u.params;var d=s?V:null,m=(0,E.nQ)(u);i.push({pathname:d?"/search/employer/".concat(d):"/search",query:m},null,{shallow:!0})}else{var f=(0,E.nQ)(u);i.push({query:f},null,{shallow:!0})}ue||window.scrollTo({top:0,behavior:"smooth"})};(0,u.useEffect)((function(){return function(){document.removeEventListener("saveSeekerVacancyIfExists",yt)}}),[]);var vt="search-form",gt=(0,m.v9)((0,p.Z)(vt));var wt=function(e){k.Z.searchForm.changeSearch.link.remove({elementId:"search_item",elementValue:e.id,user:Ne});
1var n,r=(0,E.pc)(e,i.query);ht(ae({},r),S?{keepEmployerPath:"employer"!==e.type}:void 0),n=function(e,t,n){var r=function(e){return["towns","counties","countries","remoteWorkType","isRemoteWork"].includes(e)?"locations":e}(t),a=function(e,t){return"towns"===e?"town-".concat(t):"counties"===e?"county-".concat(t):"countries"===e?"country-".concat(t):"remoteWorkType"===e?"remoteWorkType-".concat(t):t}(t,n);return e[r]&&Array.isArray(e[r])?ae(ae({},e),{},(0,s.Z)({},r,e[r].filter((function(e){return e.value!==a})))):e}(gt,e.type,e.id),Object.keys(n).forEach((function(e){t((0,y.m)(vt,e,n[e]))}))},xt=V||(S?null:Z.employerId)||null,bt=ft?(0,E.ve)({employerId:V,vacancies:nt,topEmployers:Te,allEmployers:pt}):(S?null:Z.employerName)||null,_t=Le||Re||{},Zt=S&&xt&&bt?ae(ae({},Z),{},{employerId:xt,employerName:bt}):Z,St=(0,E.YQ)(n,Zt,Pe,_t),kt=(0,E.Eb)(n,ae(ae({},e),{},{query:Zt})),jt=function(){k.Z.contentInteraction.alert.link.open({elementId:"add_alert",user:Ne}),je(!0)},Et=function(){je(!1)},It=function(t){var n=(0,E.MZ)(t,Z);e.saveAlert(n,o,Et,"vacancy.alert.success"),k.Z.alertCreated.alert.link.click({user:Ne})},Wt=parseInt(D,10)||0,Ot=parseInt(U,10),Nt=Math.ceil(D/(Ot||20))+1,Pt=nt&&(nt.length<Ot||Ke<Ot)&&we&&_e>0,Jt=Pt?Ke+_e:Ke,Tt=ae({},Z);S&&delete Tt.params;var At=Q()({search__container:!0,blurred:Be});return(0,F.jsxs)(x.Z,{alma:Ce,intl:n,title:St,canonicalUrl:Ve,children:[(0,F.jsxs)(v(),{children:[(0,F.jsx)("meta",{name:"description",content:kt,className:c().dynamic([["90260284",[P.W0.s,P.W0.m,P.O9.secondary,P.JB.xl,P.J7.desktopCutoff,P.W0.s,P.W0.s,P.W0.s]]])}),(0,j.Z)(L,Ve||Ae).map((function(e){return(0,F.jsx)("link",{rel:"alternate",href:e.url,hrefLang:e.hrefLang,className:c().dynamic([["90260284",[P.W0.s,P.W0.m,P.O9.secondary,P.JB.xl,P.J7.desktopCutoff,P.W0.s,P.W0.s,P.W0.s]]])},e.hrefLang)}))]}),(0,F.jsx)(I.Z,{total:Ke>0?Ke:_e,setHideOrShowTopBanner:e.setHideOrShowTopBanner,categories:et,workTimes:tt,towns:at,counties:st,countries:ot,intl:n,onSearch:ht,searchParams:Z,employerId:xt,employerName:bt,onSearchParamRemove:wt,isMoreOpen:dt,locations:Pe,authentication:Oe,saveAlert:It,availableLanguages:mt,remoteWork:lt||{},quickApply:ut,handleOpenNotificationsModal:jt,router:i,isFilterOpen:Ie,setIsFilterOpen:We}),(0,F.jsxs)("div",{className:c().dynamic([["90260284",[P.W0.s,P.W0.m,P.O9.secondary,P.JB.xl,P.J7.desktopCutoff,P.W0.s,P.W0.s,P.W0.s]]])+" "+(At||""),children:[(0,F.jsx)(q.Z,{isVisible:Ie}),(0,F.jsx)(W.Z,{children:(0,F.jsx)("div",{className:c().dynamic([["90260284",[P.W0.s,P.W0.m,P.O9.secondary,P.JB.xl,P.J7.desktopCutoff,P.W0.s,P.W0.s,P.W0.s]]])+" search",children:(0,F.jsxs)("div",{className:c().dynamic([["90260284",[P.W0.s,P.W0.m,P.O9.secondary,P.JB.xl,P.J7.desktopCutoff,P.W0.s,P.W0.s,P.W0.s]]])+" search__content",children:[null===Le||void 0===Le||!Le.isSearchReqLoading||null!==nt&&void 0!==nt&&nt.length?(0,F.jsx)(O.Z,{total:Ke>0?Ke:_e,vacancies:nt,userInteractions:ct,vacancyEmployerData:it,vacanciesViews:rt,searchParams:Z,employerId:xt,employerName:bt,towns:at,counties:st,countries:ot,onSearchParamRemove:wt,saveVacancy:ze,removeSavedVacancy:Xe,locations:Pe,authentication:Oe,analytics:k.Z,banners:Je,noFilterSearch:he,sorting:pe,updateSorting:function(e){ht(ae(ae({},Z),{},{sorting:e}))},currentPage:Nt,handleOpenNotificationsModal:jt,topEmployers:Te}):(0,F.jsx)("div",{className:c().dynamic([["90260284",[P.W0.s,P.W0.m,P.O9.secondary,P.JB.xl,P.J7.desktopCutoff,P.W0.s,P.W0.s,P.W0.s]]])+" search__content-spinner",children:(0,F.jsx)(B.Z,{size:"24px"})}),(0,F.jsx)(J.Z,{isOpen:ke,onClose:Et,children:(0,F.jsx)(T.Z,{sendFocusAnalytics:function(e){return k.Z.contentInteraction.alert.textField.focus({elementId:e,user:Ne})},sendFillAnalytics:function(e){return k.Z.contentInteraction.alert.textField.fill({elementId:e,user:Ne})},sendClickAnalytics:function(e){return k.Z.contentInteraction.alert.link.click({elementId:e})},saveAlert:It,closeModal:Et,email:Ne?Ne.email:void 0})}),Pt&&(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)("h3",{className:c().dynamic([["90260284",[P.W0.s,P.W0.m,P.O9.secondary,P.JB.xl,P.J7.desktopCutoff,P.W0.s,P.W0.s,P.W0.s]]])+" search-remotes",children:(0,F.jsx)(R.Z,{id:"vacancy.search.remotes.title.label",values:{value:_e}})}),(0,F.jsx)(M,{locations:Pe,intl:n,removeSavedVacancy:Xe,saveVacancy:ze,searchParams:Z,authentication:Oe,userInteractions:ct,vacancyEmployerData:it,vacanciesViews:rt,vacancies:we})]}),Jt>Wt&&(0,F.jsx)(N.Z,{limit:Ot,onMoreResults:function(e){ht(ae(ae({},Z),{},{limit:e}),{createNewSearchSession:!1})},onPageChange:function(e){ht(ae(ae({},Z),{},{offset:20*(e-1)}),{createNewSearchSession:!1}),window.scrollTo(0,0)},total:Jt,currentPage:Nt||1,user:Oe.user,locale:n.locale,searchParams:Tt,baseUrl:V?"/search/employer/".concat(V):"/search"})]})})})]}),(0,F.jsx)(c(),{id:"90260284",dynamic:[P.W0.s,P.W0.m,P.O9.secondary,P.JB.xl,P.J7.desktopCutoff,P.W0.s,P.W0.s,P.W0.s],children:[".search.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;
1-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;padding:".concat(P.W0.s," 0 0 0;}"),".search__content.__jsx-style-dynamic-selector{width:80%;}",".search__content-spinner.__jsx-style-dynamic-selector{min-height:600px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}",".search-remotes.__jsx-style-dynamic-selector{margin-top:40px;margin-bottom:".concat(P.W0.m,";color:").concat(P.O9.secondary,";text-align:center;font-size:").concat(P.JB.xl,";}"),"@media screen and (max-width:".concat(P.J7.desktopCutoff,"){.search.__jsx-style-dynamic-selector{margin:").concat(P.W0.s," -").concat(P.W0.s," 0;}.search__content.__jsx-style-dynamic-selector{width:100%;}.search-remotes.__jsx-style-dynamic-selector{padding:").concat(P.W0.s," 0 0;}}")]})]})};oe.defaultProps={topEmployers:[],searchResults:null,pageSearchId:null,canonicalUrl:null};var ce=!0,ie=(0,m.$j)((function(e){return{authentication:e.authentication,locations:e.locations,banners:e.common.banners,topEmployers:e.common.topEmployers,shadowBoxActive:e.common.shadowBoxActive}}),{saveAlert:Z.M$,setHideOrShowTopBanner:S.hW,getCategoryBanners:S.fr,clearCategoryBanners:S.Ju,getLocations:_.J,getTopEmployers:S.FT})(oe)},36644:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/search/[[...params]]",function(){return n(87222)}])},18135:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=function(e){var t=e.getIn;return function(e,n){return function(r){var a=n||function(e){return t(e,"form")};return t(a(r),e+".values")}}}(n(83920).Z)},72772:function(e,t,n){"use strict";n.d(t,{Ps:function(){return s},m:function(){return a}});var r=n(64738),a=(r.Z.arrayInsert,r.Z.arrayMove,r.Z.arrayPop,r.Z.arrayPush,r.Z.arrayRemove,r.Z.arrayRemoveAll,r.Z.arrayShift,r.Z.arraySplice,r.Z.arraySwap,r.Z.arrayUnshift,r.Z.autofill,r.Z.blur,r.Z.change),s=(r.Z.clearAsyncError,r.Z.clearFields,r.Z.clearSubmit,r.Z.clearSubmitErrors,r.Z.destroy,r.Z.focus,r.Z.initialize,r.Z.registerField,r.Z.reset,r.Z.resetSection,r.Z.setSubmitFailed,r.Z.setSubmitSucceeded,r.Z.startAsyncValidation,r.Z.startSubmit,r.Z.stopAsyncValidation,r.Z.stopSubmit,r.Z.submit);r.Z.touch,r.Z.unregisterField,r.Z.untouch,r.Z.updateSyncWarnings,r.Z.updateSyncErrors}},function(e){e.O(0,[3157,129,1855,1640,5829,8278,5916,9195,3983,9774,2888,179],(function(){return t=36644,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.