1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4085],{91096:e=>{e.exports={availPos:"LeverJobs_availPos__5sHHI"}},14085:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>d});var l=a(95155),i=a(12115),s=a(77711),n=a(91096);let r=(0,s.default)(()=>Promise.resolve().then(a.bind(a,8963)),{loadableGenerated:{webpack:()=>[require.resolveWeak("./Heading")]}}),o="https://api.lever.co/v0/postings/".concat("simulmedia","?group=team&mode=json");function d(e){let{heading:t}=e,[a,s]=(0,i.useState)([]),[d,c]=(0,i.useState)(!1),[v,m]=(0,i.useState)("");(0,i.useEffect)(()=>{let e=!1;return m(function(){let e="?lever-",t=window.location.href;return t.includes(e)?e+t.split(e)[1]:""}()),fetch(o).then(e=>{if(!e.ok)throw Error("Lever API ".concat(e.status));return e.json()}).then(t=>{e||(s(function(e){if(!Array.isArray(e))return[];let t=new Map;for(let i of e)for(let e of(null==i?void 0:i.postings)||[]){var a,l;let i=(null===(a=e.categories)||void 0===a?void 0:a.department)||"Uncategorized",s=(null===(l=e.categories)||void 0===l?void 0:l.team)||"Uncategorized";t.has(i)||t.set(i,{title:i,teams:new Map});let n=t.get(i);n.teams.has(s)||n.teams.set(s,{title:s,postings:[]}),n.teams.get(s).postings.push(e)}return Array.from(t.values()).sort((e,t)=>e.title.localeCompare(t.title,void 0,{sensitivity:"base"})).map(e=>({title:e.title,teams:Array.from(e.teams.values())}))}(t)),c(!1),window.dispatchEvent(new Event("leverJobsRendered")))}).catch(()=>{e||c(!0)}),()=>{e=!0}},[]);let u=a.length>=2;return(0,l.jsx)("div",{className:"".concat(n.availPos," available-positions"),children:(0,l.jsxs)("div",{className:"container",children:[((null==t?void 0:t.heading)||(null==t?void 0:t.subheading))&&(0,l.jsx)(r,{heading:null==t?void 0:t.heading,subheading:null==t?void 0:t.subheading,alignment:null==t?void 0:t.alignment,headingType:null==t?void 0:t.headingType}),(0,l.jsxs)("div",{id:"lever-jobs-container",className:"jobsContainer",children:[d&&(0,l.jsx)("p",{className:"lever-error",children:"Error fetching jobs."}),!d&&a.map(e=>(0,l.jsxs)("section",{className:"lever-department","data-department":e.title,children:[u&&(0,l.jsx)("h3",{className:"lever-department-title",children:e.title}),e.teams.map(t=>(0,l.jsx)("ul",{className:"lever-team","data-team":t.title,children:(0,l.jsxs)("li",{children:[(0,l.jsx)("h4",{className:"lever-team-title",children:t.title}),(0,l.jsx)("ul",{children:t.postings.map(t=>{var a,i,s,n;return(0,l.jsxs)("li",{className:"lever-job","data-department":e.title,"data-team":(null===(a=t.categories)||void 0===a?void 0:a.team)||"","data-location":(null===(i=t.categories)||void 0===i?void 0:i.location)||"","data-work-type":(null===(s=t.categories)||void 0===s?void 0:s.commitment)||"",children:[(0,l.jsx)("a",{className:"lever-job-title",href:"".concat(t.hostedUrl).concat(v),children:t.text}),(0,l.jsx)("span",{className:"lever-job-tag",children:(null===(n=t.categories)||void 0===n?void 0:n.location)||""})]},t.id||t.hostedUrl)})})]})},t.title))]},e.title))]})]})})}}}]);
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.