PageSourceSearch

https://outfit7.com/_nuxt/CJPq6QIJ.js

js outfit7.com collected 2026-10-09 22:40:54 UTC 4,231 bytes, 2 lines download raw bytes

1import{_ as J}from"./DZKG6iIg.js";import{_ as R}from"./4xOcR7Ga.js";import{d as B,r as O,B as V,k as W,n,a as r,e as c,h as C,w as L,t as F,q as u,c as b,b as o,F as P,y as Y,f as k,g as A,i as H,v as K}from"./BgOPsrZ5.js";import{_ as U}from"./DPYPsxFh.js";import{A as z,L as G,D as Q,a as X,W as Z,b as D}from"./BZZMGZ7A.js";import{u as ee,q as te}from"./BQ2ybE4D.js";import{u as oe}from"./DIexkqUj.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new l.Error().stack;a&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[a]="5b7d6ebb-29e4-411d-9b64-fecf6bd4bf9c",l._sentryDebugIdIdentifier="sentry-dbid-5b7d6ebb-29e4-411d-9b64-fecf6bd4bf9c")}catch{}})();const re={key:0,class:"max-w-3xl text-3xl lg:text-5xl leading-[1.2] text-white tracking-[-1px] mb-6"},ne={key:2,class:"mt-6 lg:mt-14"},se={key:3},le={key:4,class:"max-w-md px-6 mx-auto mt-12 mb-24 text-center text-white md:mt-20 md:mb-40"},ae={key:5,class:"text-gray-100"},ie={class:"mb-16 -mt-4 text-lg md:mt-8"},be=B({__name:"job-list",props:{title:{},type:{},location:{}},async setup(l){let a,_;const y=l,S=O(),s=V(),{data:v}=([a,_]=W(()=>ee("jobs",()=>te("jobs").find())),a=await a,_(),a),{isInternalJobReferrals:q}=oe(),g=n(()=>z.find(e=>e.key===s.query.area)),h=n(()=>G.find(e=>e.key===s.query.location)),w=n(()=>Q.find(e=>e.key===s.query.division)),T=n(()=>X.find(e=>e.key===s.query.employmentType)),x=n(()=>{if(!s.query.workType)return[];const e=Array.isArray(s.query.workType)?s.query.workType:s.query.workType.split(",");return Z.filter(t=>e.some(i=>i===t.key))}),j=n(()=>y.location?y.location.charAt(0).toUpperCase()+y.location.slice(1):""),d=n(()=>{if(!(!v||!v.value))return v.value.filter(e=>y.type==="location"?e.locations.some(t=>t.key===y.location.toLowerCase()):y.type==="early"?e.employmentType===D.INTERNSHIP||e.employmentType===D.STUDENT||e.title.toLowerCase().includes("junior"):!0)}),m=n(()=>d.value?d.value.filter(e=>{const t=!g.value||e.area===g.value.label,i=!h.value||e.locations.some(p=>p.key===h.value.key),f=!w.value||e.division===w.value.label,E=!T.value||e.employmentType===T.value.label,I=!x.value.length||x.value.some(p=>e.workTypes.includes(p.label));return t&&i&&f&&E&&I}):[]),M=n(()=>{const e=m.value.map(t=>t.area);return[...new Set(e)].map(t=>({title:t,jobs:m.value.filter(i=>i.area===t)}))});return(e,t)=>{const i=J,f=R,E=H,I=K,p=U;return r(),c("div",null,[C(I,{class:"mt-12 mb-4 lg:mb-24 lg:mt-16"},{default:L(()=>[e.title&&e.type!=="filter"?(r(),c("h2",re,F(e.title),1)):u("",!0),e.type==="filter"?(r(),b(i,{key:1,ref_key:"filter",ref:S,title:e.title,area:o(g),location:o(h),division:o(w),"employment-type":o(T),"work-types":o(x)},null,8,["title","area","location","division","employment-type","work-types"])):u("",!0),e.type==="filter"?(r(),c("div",ne,[(r(!0),c(P,null,Y(o(M),(N,$)=>(r(),b(f,{key:$,title:N.title,jobs:N.jobs},null,8,["title","jobs"]))),128))])):e.type==="location"||e.type==="early"?(r(),c("div",se,[o(d)?(r(),b(f,{key:0,jobs:o(d).slice(0,4),class:"pt-0 pb-0 lg:pb-0"},null,8,["jobs"])):u("",!0)])):u("",!0),o(m).length===0&&e.type==="filter"?(r(),c("div",le,[t[1]||(t[1]=k("h3",{class:"mt-8 text-3xl text-center"}," No results to show. ",-1)),t[2]||(t[2]=k("p",{class:"mt-4 text-lg font-normal text-center text-gray-100"}," No results match the filter criteria. Remove filter or clear all filters to show results. ",-1)),k("button",{class:"relative block mx-auto mt-8 pb-0.5 bottom-line-inverted",onClick:t[0]||(t[0]=N=>o(S).clearFilter())}," Clear filters ")])):u("",!0),o(m).length===0&&e.type!=="filter"?(r(),c("div",ae,[k("p",ie,[t[4]||(t[4]=A(" At the moment there are no open positions for the given selection. ")),C(E,{href:o(q)?"/internal-job-referrals":"/careers/jobs",class:"underline"},{default:L(()=>t[3]||(t[3]=[A(" Explore all open positions ")])),_:1},8,["href"])])])):u("",!0)]),_:1}),e.type==="location"&&o(m).length>4&&!o(q)?(r(),b(p,{key:0,class:"!-mt-4 lg:!-mt-24",title:`There are ${o(m).length-4} additional positions in ${o(j)}`,type:"secondary",cta:{title:"Explore positions",href:`/careers/jobs?location=${e.location}`,type:"filled"}},null,8,["title","cta"])):u("",!0)])}}});
1export{be as _};
2//# sourceMappingURL=CJPq6QIJ.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.