1(self.webpackChunk_group_gti_inferno_chilli_frontend=self.webpackChunk_group_gti_inferno_chilli_frontend||[]).push([[3588],{21013:function(e,t,a){var l=a(25160),n=a(36800),i=a(61489),r=Math.ceil,o=Math.max;e.exports=function(e,t,a){t=(a?n(e,t,a):void 0===t)?1:o(i(t),0);var s=null==e?0:e.length;if(!s||t<1)return[];for(var d=0,c=0,u=Array(r(s/t));d<s;)u[c++]=l(e,d,d+=t);return u}},36800:function(e,t,a){var l=a(75288),n=a(64894),i=a(30361),r=a(23805);e.exports=function(e,t,a){if(!r(a))return!1;var o=typeof t;return!!("number"==o?n(a)&&i(t,a.length):"string"==o&&t in a)&&l(a[t],e)}},38388:function(e,t,a){"use strict";var l=a(54506),n=a(62193),i=a.n(n),r=a(21013),o=a.n(r),s=a(90574),d=a(19006),c=a(97508),u=a(84202),p=a(74044),g=a(77957),m=a(97916),h=a(37861),b=a(64810),f=a(48635),v=a(98445),y=a(96540),_=a(25683),k=a(56762),E=a(77195),N=a(36899),x=a(67527),P=a(93650),I=a(81319);const w=function(e,t,a,l,n){return void 0===l&&(l=""),y.createElement("div",{className:(0,h.cn)("w-full py-4 bg-white border-b border-gray-200",n),key:`sidebar_panel_${e?"loggedIn":"loggedOut"}_${a}`,"data-cy":`section:inspiration-bar-${(0,E.Rf)(a)}`},y.createElement("h2",{className:"display-title-lg pb-2 mb-4 border-b-red border-b"},a),y.createElement("div",{className:`divide-y divide-deep-100 ${l}`,key:`sidebar_panel_content_${e?"loggedIn":"loggedOut"}_${a}`},t))},S=function(e,t,a,l){void 0===a&&(a=5),void 0===l&&(l=null);let n=e;return l&&(n=o()(e,l.cardsPerSlide)),y.createElement(P.O,{slides:n.slice(0,a).map(((e,a)=>y.createElement(C,{key:`slide-${t}-${a}`,classes:"slide w-full px-4",groupOptions:l},e))),carouselItemProps:{className:"basis-full"},carouselPreviousButtonProps:{size:"sm"},carouselNextButtonProps:{size:"sm"},showDots:!0})},C=e=>{let{children:t,groupOptions:a,classes:l}=e;return y.createElement("div",{className:`${l||""} ${a&&a.seperatorClass?a.seperatorClass:""}`},t)},A=(e,t,a,l,n)=>{if(i()(t))return[];return t.map(((t,i)=>O(e,t,a,i,l,n)))},O=(e,t,a,l,n,i)=>{var r,o,s,d,c,u,p,g,m,h,b,f,v,_;const E={...t};let P=null!==(r=t.relationships.field_featured_image)&&void 0!==r&&null!==(o=r.localFile)&&void 0!==o&&null!==(s=o.childImageSharp)&&void 0!==s&&s.gatsbyImageData?{type:x.fA.gatsby,image:t.relationships.field_featured_image.localFile.childImageSharp.gatsbyImageData,alt:`Banner for ${t.title}`}:null,I=null!==(d=t.relationships.field_thumbnail_image)&&void 0!==d&&null!==(c=d.localFile)&&void 0!==c&&null!==(u=c.childImageSharp)&&void 0!==u&&u.gatsbyImageData?{type:x.fA.gatsby,image:t.relationships.field_thumbnail_image.localFile.childImageSharp.gatsbyImageData,alt:`Thumbnail for ${t.title}`}:null,w=null!==(p=t.relationships.field_logo)&&void 0!==p&&null!==(g=p.localFile)&&void 0!==g&&null!==(m=g.childImageSharp)&&void 0!==m&&m.gatsbyImageData?{type:x.fA.gatsby,image:t.relationships.field_logo.localFile.childImageSharp.gatsbyImageData,alt:`Logo for ${t.title}`}:null;const S=null!==(h=t.relationships.field_graduate_image)&&void 0!==h&&null!==(b=h.localFile)&&void 0!==b&&null!==(f=b.childImageSharp)&&void 0!==f&&f.gatsbyImageData?{type:x.fA.gatsby,image:t.relationships.field_graduate_image.localFile.childImageSharp.gatsbyImageData,alt:`Profile for ${t.title}`}:null,C=null!==(v=t.relationships)&&void 0!==v&&v.field_organisation?t.relationships.field_organisation:null===(_=t.relationships)||void 0===_?void 0:_.field_education_provider;var A,O,$,F,T,R,j,M,L,B,z,U,Y,G;C&&C.title&&(w=null!==(A=C.relationships)&&void 0!==A&&null!==(O=A.field_logo)&&void 0!==O&&null!==($=O.localFile)&&void 0!==$&&null!==(F=$.childImageSharp)&&void 0!==F&&F.gatsbyImageData?{type:x.fA.gatsby,image:C.relationships.field_logo.localFile.childImageSharp.gatsbyImageData,alt:`Logo for ${C.title}`}:w,("opportunity"===t.type||"course"===t.type)&&(P=null!==(T=C.relationships)&&void 0!==T&&null!==(R=T.field_featured_image)&&void 0!==R&&null!==(j=R.localFile)&&void 0!==j&&null!==(M=j.childImageSharp)&&void 0!==M&&M.gatsbyImageData?{type:x.fA.gatsby,image:null===(L=C.relationships)||void 0===L?void 0:L.field_featured_image.localFile.childImageSharp.gatsbyImageData,alt:`Banner for ${C.title}`}:P,I=null!==(B=C.relationships)&&void 0!==B&&null!==(z=B.field_thumbnail_image)&&void 0!==z&&null!==(U=z.localFile)&&void 0!==U&&null!==(Y=U.childImageSharp)&&void 0!==Y&&Y.gatsbyImageData?{type:x.fA.gatsby,image:null===(G=C.relationships)||void 0===G?void 0:G.field_thumbnail_image.localFile.childImageSharp.gatsbyImageData,alt:`Thumbnail for ${C.title}`}:null));let H={attributes:{}};n&&(H=(0,k.D)(H,n(E)));const K=D({panelReference:e,content:E,images:{banner:P,logo:w,thumbnail:I,profile:S},onClick:"RelatedOpportunityPanel"===e?()=>(e=>{const t={track:"related_roles_click",trackAbacus:"related_roles_click",trackId:e.uuid,trackUrl:e.path.alias};(0,N.Kr)(t)})(t):()=>((e,t)=>{const a={track:"sidebar_card_click",trackAbacus:"sidebar_card_click",trackValue:t,trackText:e.title,trackId:e.uuid,trackTarget:e.path.alias};(0,N.Kr)(a)})(t,a),index:l,customHtml:i});return y.createElement("div",{key:a+"_"+t.uuid,className:`${H.attributes.customSidebarCardClass?H.attributes.customSidebarCardClass:""} group`},K)},$=(e,t,a)=>t&&t.length>0?y.createElement("div",null,y.createElement("div",{className:"bg-gradient-to-b from-gray to-[#4B4B4B] p-3 rounded-md shadow-sm "},e&&y.createElement("h4",{className:"font-normal text-center text-white text-xs tracking-wider mt-1 mb-3"},e),y.createElement(I.A,{logos:t.slice(0,4),logosToShowCount:4,splitColumns:!1,hideShowMore:!0,logoSize:"w-16 h-16",classOverrides:"!gap-3"})),a&&y.createElement(c.A,{asChild:!0,size:"sm",appearance:"gray",variant:"outline",className:"mt-2"},y.createElement(b.N_,{to:"/search/employers?search=","data-cy":"link:all-employers",className:"w-full"},y.createElement(v.A,{className:"w-4"}),y.createElement("span",null,"All employers")))):null,D=e=>{const t=`${e.panelReference}_${e.index}_${e.content.uuid}`;let a;switch(e.panelReference.toLowerCase()){case"organisationspanel":a=(e=>y.createElement(d.MN,{key:t,content:{...(0,g.Ap)({...e.content,showEditorialAdvice:!0})},exclude:{[e.content.type]:["thumbnail","details","tracking"]},className:"border-none rounded-lg hover:bg-transparent",contentProps:{className:"px-0 py-0 rounded-b-xl"},thumbnailProps:{className:"video"===e.content.type?"rounded-b-xl h-auto":"rounded-b-xl"},onClick:e.onClick}))(e);break;case"trendingpanel":a=(e=>y.createElement(d.MN,{key:t,content:(0,g.Ap)({...e.content}),exclude:{[e.content.type]:["thumbnail","details","description","sectors","associatedOrg","tracking"]},className:"border-none rounded-lg hover:bg-transparent",contentProps:{className:"px-0 pb-0 pt-0"},onClick:e.onClick}))(e);break;default:a=y.createElement(d.MN,{key:t,content:{...(0,g.Ap)({...e.content,showEditorialAdvice:!0})},exclude:{[e.content.type]:["abstract","body","sectors","logo","description","tracking"].concat((0,l.A)("opportunity"===e.content.type?["thumbnail","location"]:[]))},className:"border-none rounded-lg hover:bg-transparent",contentProps:{className:"px-0 pb-0"},thumbnailProps:{className:"video"===e.content.type?"rounded-b-xl h-auto":"rounded-b-xl"},onClick:e.onClick})}return a};t.A=(0,u.A)((e=>{var t,a,l,n,r,o;let{topPicks:d,recommendations:u,sectors:g,brandName:v,enterpriseOrgs:k,professionalOrgs:E,partnershipOrgs:N,enterpriseOrgsNoSectors:x,professionalOrgsNoSectors:P,partnershipOrgsNoSectors:I,orgPanelTitle:O,hideEmployerBranding:D,hideTrendingPanel:F,hideTopPicksPanel:T,hideOrganisationsPanel:R,cardClasses:j="",displayPersonal:M=!0,containerClasses:L,customHtml:B,location:z}=e;const{data:U}=(0,_.Q8)(),Y=null!==(t=null==U?void 0:U.isAuthenticated)&&void 0!==t&&t,G=null!==(a=null==U?void 0:U.authLevel)&&void 0!==a?a:"NONE",H=null!=U&&U.isAuthenticated?U.user:void 0,K=(e,t)=>{const a=(e=>{var a,l;let n=null;switch(e.toString()){case"Partnership":n=g&&g.length>1?N:I;break;case"Professional":n=g&&g.length>1?E:P;break;case"Enterprise":n=g&&g.length>1?k:x;break;default:n=null}return t?null===(a=n)||void 0===a?void 0:a.nodes:null===(l=n)||void 0===l?void 0:l.nodes.filter((function(e){return"1"===e.status}))})(e);return a&&a.length>0?a.map((e=>{var t,a,l;return{id:e.id,title:e.title,image:null===(t=e.relationships.medium_logo)||void 0===t||null===(a=t.localFile)||void 0===a||null===(l=a.childImageSharp)||void 0===l?void 0:l.gatsbyImageData,alias:1==e.status?e.path.alias:null}})):null};return y.createElement("div",{className:"mb-4 space-y-5",key:"sidebar_"+(Y?"loggedIn":"loggedOut"),"data-cy":"section:inspiration-bar"},Y&&!i()(H)&&-1===z.pathname.indexOf(p.xC.root)&&y.createElement("div",{className:"hidden space-y-1 p-4 bg-surface-50 rounded-2xl md:block"},y.createElement("p",{className:"text-gray font-bold leading-6"},(0,m.E0)(H,G)),y.createElement(s.qL,{user:H})),y.createElement("div",{className:(0,h.cn)("space-y-5",L)},T?null:((e,t,a)=>{const l="Our top picks",n=A("TopPicksPanel",t,l),i=S(n,"toppicks-slider",5);return t.length>0&&w(e,i,l,"-mx-4",a)})(Y,null!=d?d:[],j),D?null:$("INDUSTRY LEADERS",K(["Partnership"])),((e,t,a)=>{const l="Related roles",n=A("RelatedOpportunityPanel",t,l,(e=>({attributes:{customSidebarCardClass:"pt-4 first-of-type:pt-0 last-of-type:pb-4 "+(t.length>3?"last-of-type:!border-b last-of-type:!border-gray-400 last-of-type:!pb-4":"")}}))),i=S(n,"opp-slider",12,{cardsPerSlide:3,seperatorClass:"space-y-4 divide-y divide-gray-300"});return t.length>0&&w(e,i,l,"-mx-4",a)})(Y,null!==(l=null==u?void 0:u.opportunities)&&void 0!==l?l:[],j),function(e,t){return void 0===t&&(t=!0),y.createElement("div",{key:`sidebar_personalPanel_${e?"loggedIn":"loggedOut"}_${t?"withPersonal":"withoutPersonal"}`,"data-cy":"section:inspiration-bar-personal-panel"},t&&!e&&y.createElement(c.A,{asChild:!0,size:"sm",appearance:"secondary",className:"w-full justify-between"},y.createElement(b.N_,{to:"/login","data-cy":"link:view-log-in"},y.createElement("span",null,"Get results tailored to you"),y.createElement("div",{className:"flex space-x-1"},y.createElement(f.A,{className:"w-4"}),y.createElement("span",{className:"text-white"},"Log in")))))}(Y,M),F?null:function(e,t,a,l,n){void 0===a&&(a=[]),void 0===l&&(l="");const i=a&&1===a.length?`Trending in ${a[0].label}`:a&&a.length>0?"Trending in these sectors":`Trending on ${l}`,r=A("TrendingPanel",t,i),o=y.createElement(C,{key:i,classes:"space-y-4 divide-y divide-gray-300"},r.slice(0,5).map(((e,t)=>y.createElement("div",{key:i+"_"+t,className:"flex space-x-3"},y.createElement("div",null,y.createElement("p",{className:"text-2xl text-secondary-1100 font-semibold leading-6 mt-1"},t+1)),y.createElement("div",{className:"w-full"},e)))));return t.length>0&&w(e,o,i,n)}(Y,null!==(n=null==u?void 0:u.trendingArticles)&&void 0!==n?n:[],g,v,j),D?null:$("FEATURED EMPLOYERS",K(["Enterprise"])),((e,t,a)=>{const l="You might be interested in...",n=A("GeneralPanel",t,l,(e=>({attributes:{customSidebarCardClass:"pt-4 first-of-type:pt-0 last-of-type:pb-0"}}))),i=y.createElement(C,{key:l,classes:"space-y-4 divide-y divide-gray-300"},n.slice(0,5));return t.length>0&&w(e,i,l,a)})(Y,null!==(r=null==u?void 0:u.generalContent)&&void 0!==r?r:[],j),D?null:$("MORE EMPLOYERS",K(["Professional"]),!0),R?null:((e,t,a,l,n)=>{const i=A("OrganisationsPanel",t,a,(e=>({attributes:{iconOnlyActions:!0,suppressTracking:!0,customSidebarCardClass:"pt-4 first-of-type:pt-0 last-of-type:pb-4 "+(t.length>5?"last-of-type:!border-b last-of-type:!border-gray-400 last-of-type:!pb-4":""),inlineActions:!0},config:{excludes:["description","thumbnail","banner"]}})),n),r=S(i,"opp-slider",15,{cardsPerSlide:5,seperatorClass:"space-y-4 divide-y divide-gray-300"});return t.length>0&&w(e,r,a,"-mx-4",l)})(Y,null!==(o=null==u?void 0:u.organisations)&&void 0!==o?o:[],null!=O?O:"Spotlight employers",j,B)))}))},53369:function(e,t,a){"use strict";a.d(t,{s:function(){return s}});var l=a(32532),n=a(62193),i=a.n(n),r=a(20691),o=a(64810);const s=e=>{var t,a;let n=`https://targetjobs.co.uk${(0,l.d)(null===(t=e.relationships.field_featured_image)||void 0===t?void 0:t.localFile)}`;if(i()(null===(a=e.relationships.field_featured_image)||void 0===a?void 0:a.localFile)){const e=(0,o.GR)("2836908512");n=`https://targetjobs.co.uk${(0,l.d)(e.article_placeholder)}`}return{title:e.title,datePublished:e.created,dateModified:e.changed,imageUrls:n&&[n],siteLogo:e.siteMetadata.logo,url:"https://targetjobs.co.uk"+e.path.alias,authors:e.relationships.field_contributor}};t.A=e=>{var t;if(i()(e))return null;const a="https://targetjobs.co.uk/"+(0,r.nO)(null!==(t="targetjobs")?t:"",e.siteLogo),l=i()(e.authors)?{"@type":"Organization",name:"targetjobs",url:"https://targetjobs.co.uk/editors"}:e.authors.map((e=>{var t;return{"@type":"Person",name:`${e.firstName} ${e.lastName}`,jobTitle:null==e?void 0:e.filed_job_title,url:`https://targetjobs.co.uk${null==e||null===(t=e.path)||void 0===t?void 0:t.alias}
1`}})),n={"@context":"https://schema.org","@type":"Article",mainEntityOfPage:{"@type":"WebPage","@id":e.url},headline:e.title,image:e.imageUrls,datePublished:e.datePublished,dateModified:e.dateModified,publisher:{"@type":"Organization",name:"targetjobs",logo:{"@type":"ImageObject",url:a}},author:l};return JSON.stringify(n)}},64123:function(e,t,a){"use strict";a.d(t,{A:function(){return r}});var l=a(64810),n=a(96540),i=a(7395);function r(e){let{crumbs:t=[],width:a,bkgColor:r="bg-white",containerClass:o="py-2 h-9",allowBlank:s=!1}=e;return t.length<=1&&!s?null:n.createElement(i.n,{bkgColor:r,width:"full",disableIndent:!0},n.createElement(i.n,{containerClass:o,width:a,disableSuppression:!0,disableIndent:!0},n.createElement("nav",{className:"relative flex space-x-2 text-sm overflow-y-hidden overflow-x-auto touch-pan-x no-scrollbar"},t.length>1&&t.map(((e,a)=>{const i=a>0?n.createElement("div",{className:"pr-2"},">"):null;return a<t.length-1?n.createElement("div",{className:"inline-flex whitespace-nowrap",key:`crumb-${a}`},i,n.createElement("div",{className:"text-left font-normal text-black link"},n.createElement(l.N_,{to:e.path},e.label))):n.createElement("div",{className:"inline-flex whitespace-nowrap",key:`crumb-${a}`},i,n.createElement("div",{className:"text-left font-normal text-gray-700"},e.label))}))),n.createElement("div",{className:"absolute top-0 right-0 h-full w-10 bg-gradient-to-r from-transparent "+(r.indexOf("gray")>-1?"to-gray-50":"to-white")})))}}}]); 2//# sourceMappingURL=3438e9b9a4f40ae9a646c3cf7a9c5d10b66b96ed-5d6f4ce10afbb7bb1317.js.map
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.