1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[918],{24384(e,s,t){t(88094);var a=t(74266),i=t(15678);const n=function(e){let s=e.activeView;return(0,i.jsx)("div",{className:"block block--xs bg-variant-brand-tertiary",children:(0,i.jsx)("div",{className:"block__wrapper block__wrapper--stacked wrapper",children:(0,i.jsx)("div",{className:"block__content block__content--full-on-s block__content--full-on-m",children:(0,i.jsx)("div",{className:"cards",children:(0,i.jsx)("ul",{className:"cards__list ".concat("list"===s?"cards__list--format-list":"cards__list--format-grid"),children:[...Array(9)].map((e,t)=>(0,i.jsx)("li",{className:"cards__item cards__item--disabled",style:{height:"290px"},children:(0,i.jsx)(a.B8,{viewBox:"0 0 ".concat("list"===s?"600":"250"," 110"),className:"cards-loader"})},t))})})})})})};t.d(s,["A",0,n])},53453(e,s,t){t.r(s),t.d(s,{default:()=>X});var a=t(84919),i=t(44303),n=t(88094),l=t(51784),c=t(57186),r=t(15535),o=t(64136),d=t(3339),u=t.n(d),m=t(47736),h=t(3086),g=t(7149),p=t(14542),_=t(41815),k=t(34042),b=t(86094),y=t(37264),v=t(66833),j=t(47221),x=(t(55221),t(84479)),A=t(98488),f=t(70784),S=t(87542),L=t(46531),w=t(66781),P=(t(63230),t(94202)),N=t(30614),D=t(72713),C=(t(62175),t(11797)),T=t(1765),R=t(50251),z=t.n(R),E=t(66830),I=t(15678);const O=(0,l.Ay)(function(e){var s,t,l,c;let r=e.intl,o=e.data,d=e.searchParams,u=e.appSettings;const m=(0,P.W5)(),h=m.path.replace(":searchParams*",""),g=o.aggregations?o.aggregations.global:{};let p,_="region";const k=(0,n.useState)(!0),b=(0,i.A)(k,2),y=b[0],v=b[1];let j=0,x=!1,A=3;null!==u&&void 0!==u&&null!==(s=u.seo_dynamic_linklist)&&void 0!==s&&s.seo_dynamic_linklist_min_items&&parseInt(null===u||void 0===u||null===(t=u.seo_dynamic_linklist)||void 0===t?void 0:t.seo_dynamic_linklist_min_items)>0&&(A=parseInt(u.seo_dynamic_linklist.seo_dynamic_linklist_min_items));let f=40;return null!==u&&void 0!==u&&null!==(l=u.seo_dynamic_linklist)&&void 0!==l&&l.seo_dynamic_linklist_max_items&&parseInt(null===u||void 0===u||null===(c=u.seo_dynamic_linklist)||void 0===c?void 0:c.seo_dynamic_linklist_max_items)>0&&(f=parseInt(u.seo_dynamic_linklist.seo_dynamic_linklist_max_items)),d.region&&(p=(0,E.A)(d.region),_="city"),d.city&&(p=(0,E.A)(d.city),_="specialism",x=!0),g[_]&&g[_][_]&&!g[_][_].buckets.length?null:y?(0,I.jsx)("div",{className:"block",children:(0,I.jsxs)("div",{className:"block__wrapper block__wrapper--stacked wrapper",children:[(0,I.jsx)("div",{className:"block__header block__header--l",children:(()=>{const e=g[_]&&g[_][_]?g[_][_].buckets:{};e.length&&e.forEach(e=>{e.doc_count>=A&&(j+=e.doc_count)});let s=r.formatMessage({id:"Seo.DynamicLinkList.Title"},{count:j});if(p){const e=p.split(" ");for(let s=0;s<e.length;s+=1)e[s]=e[s].charAt(0).toUpperCase()+e[s].slice(1);p=e.join(" "),s=r.formatMessage({id:"Seo.DynamicLinkList.TitleJobsIn"},{count:j,location:p})}if(d.specialism||d.subSpecialism||d.jobCategory){const e=d.jobCategory?"jobCategory":d.subSpecialism?"subSpecialism":"specialism";let t;const a=g[e]&&g[e][e]?g[e][e].buckets:{};switch(a.length&&a.forEach(s=>{let a;a=s.sanitized&&s.sanitized.buckets.length?s.sanitized.buckets[0].key:(0,T.A)(s.key.toLowerCase()),a===d[e]&&(t=s.key)}),_){case"region":s=r.formatMessage({id:"Seo.DynamicLinkList.TitleJobsInRegion"},{specialism:t});break;case"city":s=r.formatMessage({id:"Seo.DynamicLinkList.TitleJobsInCity"},{specialism:t});break;case"specialism":d.city&&(s=r.formatMessage({id:"Seo.DynamicLinkList.TitleOtherJobsInCity"},{city:p}))}}return(0,I.jsx)("h3",{className:"block__title",children:s})})()}),(0,I.jsx)("div",{className:"block__content",children:(0,I.jsx)("ul",{className:"extensive-link-list dynamic-seo-link-list",children:(()=>{var e,s,t;const i=[],n=null!==(e=null===(s=g[_])||void 0===s||null===(t=s[_])||void 0===t?void 0:t.buckets)&&void 0!==e?e:[],l=[];let c=[];return n.length>0&&(n.sort((e,s)=>s.doc_count-e.doc_count).forEach(e=>{let s;s=e.sanitized&&e.sanitized.buckets.length?e.sanitized.buckets[0].key:(0,T.A)(e.key.toLowerCase());let t="".concat(h).concat(z()((0,a.A)((0,a.A)({},d),{},{[_]:s,page:null})));x&&(t="".concat(h).concat(z()((0,a.A)((0,a.A)({},d),{}
1,{[_]:s,page:null,jobCategory:null,subSpecialism:null})))),e.doc_count>=A&&m.url!==t&&l.push({item:e,link:t})}),l.length>0&&(c=l.slice(0,f))),c.sort((e,s)=>e.item.key.localeCompare(s.item.key)).forEach((e,s)=>{i.push((0,I.jsx)("li",{children:(0,I.jsxs)("a",{href:e.link,children:[e.item.key.toLowerCase()," ","(",e.item.doc_count,")"]})},s))}),0===i.length?(v(!1),null):(g.DynamicLinkListBlock+=1,(0,I.jsx)("li",{className:"extensive-link-list__item",children:(0,I.jsx)("ul",{children:i})}))})()})})]})}):null});const B=(0,l.Ay)(function(e){let s=e.intl,t=e.data,l=e.searchParams,c=e.appSettings;const r=(0,P.W5)(),o=r.path.replace(":searchParams*",""),d=t.aggregations?t.aggregations.global:{},u="jobCategory",m=(0,n.useState)(!0),h=(0,i.A)(m,2),g=h[0],p=h[1];let _=3;if(c&&c.seo_dynamic_linklist&&c.seo_dynamic_linklist.seo_dynamic_linklist_min_items&&parseInt(c.seo_dynamic_linklist.seo_dynamic_linklist_min_items)>0&&(_=parseInt(c.seo_dynamic_linklist.seo_dynamic_linklist_min_items)),d[u]&&d[u][u]&&!d[u][u].buckets.length)return null;const k=d.DynamicLinkListBlock%2?"bg-variant-brand-tertiary":"";return g?(0,I.jsx)("div",{className:"block ".concat(k),children:(0,I.jsxs)("div",{className:"block__wrapper block__wrapper--stacked wrapper",children:[(0,I.jsx)("div",{className:"block__header block__header--l",children:(()=>{let e,t={},a="subSpecialism";d.subSpecialism&&d.subSpecialism.subSpecialism&&!d.subSpecialism.subSpecialism.buckets.length?(t=d.specialism&&d.specialism.specialism?d.specialism.specialism.buckets:{},a="specialism"):t=d.subSpecialism&&d.subSpecialism.subSpecialism?d.subSpecialism.subSpecialism.buckets:{},t.length&&t.some(s=>{let t;return t=s.sanitized&&s.sanitized.buckets.length?s.sanitized.buckets[0].key:(0,T.A)(s.key.toLowerCase()),"specialism"===a&&t===l.specialism||t===l.subSpecialism&&"subSpecialism"===a?(e=s.key,!0):void 0});let i=s.formatMessage({id:"Seo.DynamicLinkList.TitleJobsInSubSpecialism"},{subspecialism:e});return l.jobCategory&&(i=s.formatMessage({id:"Seo.DynamicLinkList.TitleJobsInJobCategory"},{specialism:e})),(0,I.jsx)("h3",{className:"block__title",children:i})})()}),(0,I.jsx)("div",{className:"block__content",children:(0,I.jsx)("ul",{className:"extensive-link-list dynamic-seo-link-list",children:(()=>{const e=[];return(d[u]&&d[u][u]?d[u][u].buckets:[]).sort((e,s)=>e.key.localeCompare(s.key)).forEach((s,t)=>{let i;i=s.sanitized&&s.sanitized.buckets.length?s.sanitized.buckets[0].key:(0,T.A)(s.key.toLowerCase());const n="".concat(o).concat(z()((0,a.A)((0,a.A)({},l),{},{[u]:i,page:null})));s.doc_count>=_&&r.url!==n&&e.push((0,I.jsx)("li",{children:(0,I.jsxs)("a",{href:n,children:[s.key.toLowerCase()," ","(",s.doc_count,")"]})},t))}),0===e.length?(p(!1),null):(d.DynamicLinkListBlock+=1,(0,I.jsx)("li",{className:"extensive-link-list__item",children:(0,I.jsx)("ul",{children:e})}))})()})})]})}):null});const M=(0,l.Ay)(function(e){let s=e.intl,t=e.data,l=e.searchParams,c=e.appSettings;const r=(0,P.W5)(),o=r.path.replace(":searchParams*",""),d=t.aggregations?t.aggregations.global:{},u="subSpecialism",m=(0,n.useState)(!0),h=(0,i.A)(m,2),g=h[0],p=h[1];let _=3;if(c&&c.seo_dynamic_linklist&&c.seo_dynamic_linklist.seo_dynamic_linklist_min_items&&parseInt(c.seo_dynamic_linklist.seo_dynamic_linklist_min_items)>0&&(_=parseInt(c.seo_dynamic_linklist.seo_dynamic_linklist_min_items)),d[u]&&d[u][u]&&!d[u][u].buckets.length)return null;const k=d.DynamicLinkListBlock%2?"bg-variant-brand-tertiary":"";return g?(0,I.jsx)("div",{className:"block ".concat(k),children:(0,I.jsxs)("div",{className:"block__wrapper block__wrapper--stacked wrapper",children:[(0,I.jsx)("div",{className:"block__header block__header--l",children:(()=>{let e;const t=d.specialism&&d.specialism.specialism?d.specialism.specialism.buckets:{};t.length&&t.some(s=>{let t;if(t=s.sanitized&&s.sanitized.buckets.length?s.sanitized.buckets[0].key:(0,T.A)(s.key.toLowerCase()),t===l.specialism)return e=s.key,!0});let a=s.formatMessage({id:"Seo.DynamicLinkList.TitleJobsInSpecialism"},{specialism:e});return l.subSpecialism&&(a=s.formatMessage({id:"Seo.DynamicLinkList.TitleJobsInJobCategory"}
1,{specialism:e})),(0,I.jsx)("h3",{className:"block__title",children:a})})()}),(0,I.jsx)("div",{className:"block__content",children:(0,I.jsx)("ul",{className:"extensive-link-list dynamic-seo-link-list",children:(()=>{const e=[];return(d[u]&&d[u][u]?d[u][u].buckets:[]).sort((e,s)=>e.key.localeCompare(s.key)).forEach((s,t)=>{let i;i=s.sanitized&&s.sanitized.buckets.length?s.sanitized.buckets[0].key:(0,T.A)(s.key.toLowerCase());const n="".concat(o).concat(z()((0,a.A)((0,a.A)({},l),{},{[u]:i,page:null})));s.doc_count>=_&&r.url!==n&&e.push((0,I.jsx)("li",{children:(0,I.jsxs)("a",{href:n,children:[s.key.toLowerCase()," ","(",s.doc_count,")"]})},t))}),0===e.length?(p(!1),null):(d.DynamicLinkListBlock+=1,(0,I.jsx)("li",{className:"extensive-link-list__item",children:(0,I.jsx)("ul",{children:e})}))})()})})]})}):null});var J=t(86394);const q=(0,l.Ay)(function(e){var s,t,l,c;let r=e.intl,o=e.data,d=e.searchParams,u=e.appSettings;const m=(0,P.W5)(),h=m.path.replace(":searchParams*",""),g=o.aggregations?o.aggregations.global:{},p="regionCities",_="city",k=(0,n.useState)(!0),b=(0,i.A)(k,2),y=b[0],v=b[1];let j=3;null!==u&&void 0!==u&&null!==(s=u.seo_dynamic_linklist)&&void 0!==s&&s.seo_dynamic_linklist_min_items&&parseInt(null===u||void 0===u||null===(t=u.seo_dynamic_linklist)||void 0===t?void 0:t.seo_dynamic_linklist_min_items)>0&&(j=parseInt(u.seo_dynamic_linklist.seo_dynamic_linklist_min_items));let x=40;if(null!==u&&void 0!==u&&null!==(l=u.seo_dynamic_linklist)&&void 0!==l&&l.seo_dynamic_linklist_max_items&&parseInt(null===u||void 0===u||null===(c=u.seo_dynamic_linklist)||void 0===c?void 0:c.seo_dynamic_linklist_max_items)>0&&(x=parseInt(u.seo_dynamic_linklist.seo_dynamic_linklist_max_items)),g[p]&&g[p][_]&&!g[p][_].buckets.length)return null;const A=g.DynamicLinkListBlock%2?"bg-variant-brand-tertiary":"";return y?(0,I.jsx)("div",{className:"block ".concat(A),children:(0,I.jsxs)("div",{className:"block__wrapper block__wrapper--stacked wrapper",children:[(0,I.jsx)("div",{className:"block__header block__header--l",children:(()=>{const e=d.query?(0,E.A)((0,J.A)(d.query)):"",s=d.region?(0,J.A)((0,E.A)(d.region)):"";let t;return t=s&&e?r.formatMessage({id:"Seo.DynamicLinkListQueryRegionCities.Title"},{query:e,region:s}):r.formatMessage({id:"Seo.DynamicLinkListRegionCities.Title"},{region:s}),(0,I.jsx)("h3",{className:"block__title",children:t})})()}),(0,I.jsx)("div",{className:"block__content",children:(0,I.jsx)("ul",{className:"extensive-link-list dynamic-seo-link-list",children:(()=>{const e=[],s=g[p]&&g[p][_]?g[p][_].buckets:[],t=[];let i=[];return s.length>0&&(s.sort((e,s)=>s.doc_count-e.doc_count).forEach(e=>{let s;s=e.sanitized&&e.sanitized.buckets.length?e.sanitized.buckets[0].key:(0,T.A)(e.key.toLowerCase());const i="".concat(h).concat(z()((0,a.A)((0,a.A)({},d),{},{[_]:s,page:null,jobCategory:null,subSpecialism:null})));e.doc_count>=j&&m.url!==i&&t.push({item:e,link:i})}),t.length>0&&(i=t.slice(0,x))),i.sort((e,s)=>e.item.key.localeCompare(s.item.key)).forEach((s,t)=>{e.push((0,I.jsx)("li",{children:(0,I.jsxs)("a",{href:s.link,children:[s.item.key.toLowerCase()," ","(",s.item.doc_count,")"]})},t))}),0===e.length?(v(!1),null):(g.DynamicLinkListBlock+=1,(0,I.jsx)("li",{className:"extensive-link-list__item",children:(0,I.jsx)("ul",{children:e})}))})()})})]})}):null});var H=t(63094),W=t(24384),V=t(81591),F=t(8311),U=t.n(F);function K(e,s){var t,a;let i=null;if(!e.region&&null!==s&&void 0!==s&&null!==(t=s.region)&&void 0!==t&&null!==(a=t.region)&&void 0!==a&&a.buckets&&s.region.region.buckets.length>0){let e=0;for(const t in s.region.region.buckets)s.region.region.buckets[t].doc_count>e&&(e=s.region.region.buckets[t].doc_count,i=s.region.region.buckets[t].sanitized.buckets[0].key)}return i}var Y=t(1659);t(8311);var G=t(48504);const Q=t(50251);const X=(0,l.Ay)(function(e){var s,l;let d=e.intl,T=e.staticContext,R=e.match;const E=(0,n.useContext)(H.BR),J=E.additionalData,F=E.setAdditionalData,X=E.pages,$=E.setPages,Z=E.startingPage,ee=E.setLoading,se=E.seoData,te=E.setSeoData,ae=E.monsterPageLoaded,ie=E.setMonsterPageLoaded,ne=E.pagingHistory,le=E.setPagingHistory,ce=(0,n.useTransition)(),re=(0,i.A)(ce,2),oe=re[0],de=re[1],ue=(0,f.A)("jobDetails"),me=(0,P.zy)(),he=(0,P.W6)(),ge=R.path.replace(":searchParams*",""),pe=R.params.searchParams?(0,S.A)(R.params.searchParams,d.locale):{},_e=ae,ke=(0,c.A)(["sortBy","backToSearch","searchData"]),be=(0,i.A)(ke,2),ye=be[0],ve=be[1],je=(0,P.W5)(),xe=(null===J||void 0===J||null===(s=J.searchResults)||void 0===s||null===(l=s.hits)||void 0===l?void 0:l.total)||0,Ae=(0,G.A)(J.seoOveride,se,J.providedSearchParams,je,xe),fe=ye.searchData&&ye.searchData.activeView?ye.searchData.activeView:"grid";if(T&&T.data){const e="https://www.randstad.pt"+me.pathname+me.search;ve("searchData",(0,a.A)((0,a.A)({},ye.searchData),{},{originalLocation:e}),{sameSite:"lax",secure:!0}),T.dataLayer=(0,A.Pg)("search result",d.locale,J,ue,e,pe)}
1const Se=(0,n.useState)(!1),Le=(0,i.A)(Se,2),we=(Le[0],Le[1]),Pe=parseInt("30");let Ne=pe&&pe.page?parseInt(pe.page):1;const De=(0,n.useState)(!1),Ce=(0,i.A)(De,2),Te=Ce[0],Re=Ce[1],ze=(0,n.useState)(ye.sortBy),Ee=(0,i.A)(ze,2),Ie=Ee[0],Oe=Ee[1],Be=(0,V.A)(),Me=null===J||void 0===J?void 0:J.jobListingSettings,Je=e=>{we(e)};(0,n.useEffect)(()=>{const e=document.getElementsByTagName("body");e.length&&e[0].classList.add("loaded"),pe.page&&(0,x.A)("#page-".concat(pe.page-1)),pe.monsterPage&&(0,x.A)("#monster-".concat(pe.monsterPage))},[]),(0,n.useEffect)(()=>{me.hash!==J.hash&&(de(()=>{F(e=>(0,a.A)((0,a.A)({},e),{},{hash:me.hash}))}),oe||setTimeout(()=>{(0,o.A)()},1e3))},[me.hash]),(0,n.useEffect)(()=>{window.__SEO_DATA__?delete window.__SEO_DATA__:u().post("/api/search/seo-regions",{currentRoute:(0,a.A)((0,a.A)({},R),{routeName:"search"}),currentLanguage:d.locale}).then(e=>{e.data&&te(e.data)})},[R.url]),(0,n.useEffect)(()=>{if(window.__ROUTE_DATA__)delete window.__ROUTE_DATA__;else{!!R.url&&R.url.includes("page-")||(Re(!0),le((0,a.A)((0,a.A)({},ne),{monsterPageTrigger:!1,jobsPageTrigger:!1}))),u().post("/api/search/search-results",{data:{currentRoute:(0,a.A)((0,a.A)({},R),{routeName:"search"}),currentLanguage:d.locale,cookies:ye}}).then(e=>{if(F((0,a.A)((0,a.A)({},e.data),{hash:me.hash})),Re(!1),ee(!1),e.data.searchResults.hits&&e.data.searchResults.hits.hits.length>0){if(ve("backToSearch",pe,{path:"/",sameSite:"lax",secure:!0}),Ie!==ye.sortBy){const s=me.search,t=Q((0,a.A)((0,a.A)({},pe),{page:null}));Oe(ye.sortBy),$([...e.data.searchResults.hits.hits]),he.push("".concat(ge).concat(t).concat(s))}else _e||$(s=>pe.page&&pe.page>1?[...s,...e.data.searchResults.hits.hits]:[...e.data.searchResults.hits.hits]);ee(!1)}{const s=ye.searchData&&ye.searchData.originalLocation?ye.searchData.originalLocation:"";window.dataLayer=window.dataLayer||[],window.dataLayer.push((0,a.A)({event:"pageview",virtualPage:me.pathname+me.search},(0,A.Pg)("search result",d.locale,e.data,ue,s,pe)))}setTimeout(()=>{(0,o.A)()},1e3)}),_e&&ie(!1)}},[R.params.searchParams,ye.sortBy]);let qe="header header--text bg-variant-brand-secondary";if(qe="header header--text bg-variant-brand-secondary",(0,n.useEffect)(()=>{(0,A.Y$)(J,pe,ne,le)},[J.searchResults]),!Object.keys(J).length||1===Object.keys(J).length||Te)return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(r.m,{children:(0,I.jsx)("header",{className:qe})}),(0,I.jsx)(W.A,{activeView:fe})]});const He=[];let We=!1,Ve=!0,Fe=!0,Ue=[];const Ke={};if(J.searchResults&&J.searchResults.hits&&J.searchResults.hits.hits.length>0){X.length/Pe===Ne?Ne=1:Z&&Ne!==Z&&(Ne=Z);for(const e in X){const s=Math.floor(e/parseInt("30"))+Ne;Ke[s]||(Ke[s]=[]);const t=X[e]._source;Ke[s].push((0,I.jsx)(_.A,{jobData:t,saveJobModalCb:Je,favoriteJobs:J.favoriteJobs,configurations:J.configurations,jobListingsSettings:Me,burningGlassAuthToken:J.burningGlassAuthToken,activeView:fe,target:Be},e))}Ue=J.searchResults.aggregations.global}else if(We=!0,Ve=!1,1===Object.keys(pe).length&&(pe.query||pe.queryTitle)&&(Fe=!1),pe.query||pe.queryTitle){const e=pe.query?pe.query:pe.queryTitle;He.push((0,I.jsx)(g.A,{match:R,searchWord:e,shouldHighlight:!0,showFilters:Fe,monsterJobs:J.monsterJobs,searchParams:pe,jobListingsSettings:Me},"no-results"))}else He.push((0,I.jsx)(g.A,{match:R,searchWord:!1,shouldHighlight:!1,showFilters:Fe,monsterJobs:J.monsterJobs,searchParams:pe,jobListingsSettings:Me},"no-results"));if("undefined"!==typeof window){window.onscroll=s=>{if(!document.querySelector("body.loaded"))return!1;const t=document.querySelectorAll('[id*="page-"]');for(const i in t){const s=t[i];if(e(s)){const e=s.id.replace("page-",""),t=(0,a.A)({},pe);t.monsterPage=void 0,t.page=e<=1?void 0:e,window.history.replaceState(null,"","".concat(R.path.replace(":searchParams*","")).concat(Q(t)))}}};const e=e=>{const s=e.hidden;s&&(e.hidden=!1);const t=e.offsetTop,a=t+e.offsetHeight,i=window.pageYOffset,n=i+window.innerHeight;return s&&(e.hidden=!0),a>i&&t<n}}const Ye=()=>{var e;let s=null;if(Ae&&null!==J&&void 0!==J&&null!==(e=J.providedSearchParams)&&void 0!==e&&e.query)return null;const t=Ue.subSpecialism&&Ue.subSpecialism.subSpecialism.buckets?Ue.subSpecialism.subSpecialism.buckets:[];Ue.DynamicLinkListBlock=0;const a=Object.keys(pe).length;return s=Object.keys(pe).length?(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(O,{data:J.searchResults,searchParams:pe,appSettings:J.appSettings}),(pe.subSpecialism||!t.length&&pe.specialism)&&(0,I.jsx)(B,{data:J.searchResults,searchParams:pe,appSettings:J.appSettings}),pe.specialism&&!pe.jobCategory&&(0,I.jsx)(M,{data:J.searchResults,searchParams:pe,appSettings:J.appSettings}),(pe.city&&pe.region&&2===a||pe.query&&pe.region&&pe.city&&3===a)&&(0,I.jsx)(q,{data:J.searchResults,searchParams:pe,appSettings:J.appSettings})]}
1):(0,I.jsx)(C.A,{appSettings:J.appSettings}),s},Ge=function(e,s){let t=null;if(null!==e&&void 0!==e&&e.city&&null!==e&&void 0!==e&&e.region||(null===e||void 0===e||!e.city)&&(null===e||void 0===e||!e.region))return null;if(!e.city&&e.region){const n=function(e,s){var t,a;let i=null;if(!e.city&&e.region&&null!==s&&void 0!==s&&null!==(t=s.city)&&void 0!==t&&null!==(a=t.city)&&void 0!==a&&a.buckets&&s.city.city.buckets.length>0)for(const n in s.city.city.buckets)if(s.city.city.buckets[n].sanitized.buckets[0].key===e.region){i=s.city.city.buckets[n].sanitized.buckets[0].key;break}return i}(e,s);if(n){var i;const s="pt";if("pt"===s&&(null===U()||void 0===U()||null===(i=U()[s])||void 0===i?void 0:i.regionList)&&U()[s].regionList.includes(e.region)&&e.region===n)return null;e.city=n,t=z()((0,a.A)((0,a.A)({},e),{},{page:null}))}}if(!e.region&&e.city){const i=K(e,s);i&&(e.region=i,t=z()((0,a.A)((0,a.A)({},e),{},{page:null})))}return t}(J.providedSearchParams,Ue);if(Ge)return T&&(T.status=301),(0,I.jsx)(P.rd,{to:"".concat(ge).concat(Ge)});if(!J.providedSearchParams)return(0,I.jsx)(W.A,{activeView:fe});let Qe="header header--search-alternative mvp-header--search-alternative header--text bg-variant-brand-secondary";Qe="header header--search-alternative mvp-header--search-alternative header--text bg-variant-brand-secondary";const Xe=""===J.hash||"#toast=thank-you"===J.hash||"#toast=job-alerts"===J.hash;return(0,I.jsxs)("div",{id:"job-search-mvp-listing",children:[(0,I.jsxs)(r.m,{children:[(0,I.jsx)("title",{children:d.formatMessage({id:"SearchListing.Title"},{sitename:"Randstad Portugal"})}),(0,I.jsx)("header",{className:Qe}),(0,I.jsx)("meta",{name:"title",content:d.formatMessage({id:"SearchListing.MetaTitle"},{sitename:"Randstad Portugal"})}),We?(0,I.jsx)("script",{type:"text/javascript",src:"/search-app/assets/submitCv/dropzone/dropzone.min.js"}):null,We?(0,I.jsx)("script",{type:"text/javascript",src:"https://www.dropbox.com/static/api/2/dropins.js",id:"dropboxjs","data-app-key":(t.g||window).REACT_APP_DROPBOX_KEY}):null,We?(0,I.jsx)("script",{src:"https://cdn.jsdelivr.net/npm/[email protected]/index.js"}):null,We?(0,I.jsx)("script",{src:"https://apis.google.com/js/platform.js?onload=init",async:!0,defer:!0}):null,(0,I.jsx)("script",{type:"text/javascript",src:"/search-app/assets/js/auto-suggest.js",defer:!0}),(0,I.jsx)("script",{type:"text/javascript",src:"/search-app/assets/js/lazy-load.js"})]}),(0,I.jsx)(Y.Ay,{}),(0,I.jsx)(m.A,{seoOverride:J.seoOveride,seoData:se,searchParams:J.providedSearchParams,aggregations:Ue,showJobAlerts:Ve,total:xe}),(0,I.jsx)("div",{id:"seo-header-region",children:(0,I.jsx)(v.A,{})}),1===Ne?(0,I.jsx)(N.A,{active:J.hash}):null,Ve?(0,I.jsx)(h.A,{searchParams:pe,aggregations:Ue}):null,null,Xe?We?He:(0,I.jsxs)(I.Fragment,{children:[null,(0,I.jsx)("div",{id:"sortBar",children:We?null:(0,I.jsx)(p.A,{seoData:se,searchParams:J.providedSearchParams,resultsTotal:xe,aggregations:Ue})}),Fe?(0,I.jsx)(k.A,{aggregations:Ue,searchParams:J.providedSearchParams,total:xe}):null,(0,I.jsx)("div",{className:"block block--xs block--top-offset-xs block--top-offset-xxs-until-l ".concat("bg-variant-brand-tertiary"),id:"search-results",children:(0,I.jsxs)("div",{className:"block__wrapper block__wrapper--stacked wrapper",children:[(0,I.jsx)("div",{className:"block__content block__content--full-on-s block__content--full-on-m",children:(0,I.jsx)("div",{className:"cards",children:Object.keys(Ke).map(e=>(0,I.jsxs)("div",{children:[(0,I.jsx)("div",{className:"show-more",children:(0,I.jsx)("div",{className:"section-separator section-separator--border",hidden:e<=1,id:"page-".concat(e),children:e>1?(0,I.jsx)("span",{children:d.formatMessage({id:"SearchListing.Page"},{page:e})}):null})}),(0,I.jsx)("ul",{className:"cards__list ".concat(ye.searchData&&"list"===ye.searchData.activeView?"cards__list--format-list":"cards__list--format-grid"),children:Ke[e]})]},e))})}),(0,I.jsx)(b.A,{searchParams:pe,totalMatches:xe,itemsPerPage:Pe,staticContext:T,itemsCount:Pe*Ne})]})}),!1,Ve&&(0,I.jsx)(y.A,{currentRoute:(0,a.A)((0,a.A)({},R),{routeName:"search"}),searchParams:pe,aggregations:Ue}),Ye()]}):null,1===Ne?(0,I.jsx)(D.A,{active:J.hash}):null,(0,I.jsx)("div",{id:"seo-footer-region",children:(0,I.jsx)(j.A,{})}),(0,L.R)()&&Object.keys(pe).length?(0,I.jsx)(w.A,{}):null]})})}}]);
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.