1import c from"./Dbu1cipN.js";import m from"./4FS0cZLq.js";import{u,f as _,ar as d,d as v,ap as f}from"./DrctnP21.js";import{k as h,W as g,h as x,f as y,g as q,u as e,c as C,a as k,e as s}from"./CdHCLhiy.js";import"./CCVUA9oU.js";import"./IjUa2wb1.js";import"./iik6CYzq.js";import"./CLQ3CUEp.js";import"./Dj8OY1Vy.js";import"./BNNxyewG.js";import"./C_sGgJhF.js";import"./DlAUqK2U.js";import"./CVTf7tHM.js";import"./DGz0ZNDl.js";import"./a-0ec7V1.js";import"./DfSv9slJ.js";import"./Yl7glNyG.js";import"./CE1G-McA.js";import"./CBfvhZCs.js";import"./DHeQUYz0.js";import"./D8Usjb68.js";import"./-IFd_4Fj.js";import"./BshOeUjT.js";import"./DG1FduNR.js";import"./C93hsqmR.js";import"./B2EnjbPB.js";import"./D4k11_F0.js";import"./C-zrdtnB.js";import"./BxuGr4CE.js";import"./CMnRgp1P.js";import"./JWoGxilH.js";import"./B6tqXp9N.js";const w={class:"mt-4xl divide-y divide-silver-300"},st=h({__name:"[slug]",async setup(B){let o,r;const i=u(),{data:t}=([o,r]=g(()=>f(`recruitee-offer-${i.params.slug}`,()=>$fetch("/api/recruitee-offers",{query:{slug:i.params.slug}}))),o=await o,r(),o);if(!t.value)throw _({statusCode:404,statusMessage:"Page Not Found"});d({title:t.value.title,meta:[{name:"description",content:t.value.description?t.value.description.replace(/<[^>]+>/g,"").substring(0,160):""}]});const n=v();n("en"),n("de");const a=x(()=>({catchytext:{headline_de:t.value?.translations?.de?.title??t.value?.title,headline_en:t.value?.translations?.en?.title??t.value?.title},copytext:{text_de:[t.value?.translations?.de?.description??t.value?.description,t.value?.translations?.de?.requirements??t.value?.requirements].filter(Boolean).join(""),text_en:[t.value?.translations?.en?.description??t.value?.description,t.value?.translations?.en?.requirements??t.value?.description].filter(Boolean).join("")}}));return(A,N)=>{const p=c,l=m;return s(),y("div",w,[q(p,{data:e(a)},null,8,["data"]),e(t)?(s(),C(l,{key:0,"recruitee-slug":e(t).slug,"open-questions":e(t).open_questions,"offer-options":{options_phone:e(t).options_phone,options_cover_letter:e(t).options_cover_letter,options_cv:e(t).options_cv}},null,8,["recruitee-slug","open-questions","offer-options"])):k("",!0)])}}});export{st as default};
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.