PageSourceSearch

https://www.austria.info/_nuxt/CmXjl3GO.js

js austria.info collected 2026-09-24 08:46:02 UTC 3,233 bytes, 1 lines download raw bytes

1import{_ as S}from"./CYTnPqtj.js";import{aU as k,b6 as v,aY as $,b7 as T,b8 as N,bz as I,by as L,a$ as z,cq as C}from"./Dr_aj0OX.js";import{u as J}from"./CsamSkNi.js";import{z as P,b as A,ap as F,d as V,ae as x,ao as B,M as E,S as R,ad as U,aa as M,u as l,f as O,R as Y,Y as q,a9 as p,a7 as G,a8 as H}from"./bHGN7eKL.js";import"./DTAkIGpf.js";import"./QXKEMWNQ.js";import"./7Vhn17hR.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},i=new r.Error().stack;i&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[i]="ecc14e75-793f-4319-8c1d-d59ca2437819",r._sentryDebugIdIdentifier="sentry-dbid-ecc14e75-793f-4319-8c1d-d59ca2437819")}catch{}})();const K={class:"container py-10"},Q=["href"],ne=P({__name:"JobsOverviewModule",props:{blok:{}},async setup(r){let i,u;const f=r,b=k().$i18n.locale.value,{t:o}=v(),{site:y}=$().public,{translateDataSources:h}=J(),_=t=>h(t,["b2b-offices"]);async function g(){var t,s,e;try{const a=`${b}/${y.toLowerCase()}/job/`,n=await I(`jobs-stories-${JSON.stringify(a)}`,async()=>await L().get("cdn/stories",{version:z(),starts_with:a==null?void 0:a.split("/").slice(0,-1).join("/")}),{transform:c=>C(c)});return(e=(s=(t=n==null?void 0:n.data)==null?void 0:t.value)==null?void 0:s.data)==null?void 0:e.stories}catch(a){return console.error("Error fetching jobs:",a),[]}}function j(t){var s;return(s=t.filter(e=>{var a;return((a=e.content)==null?void 0:a.jobTyp)!=="Initiativ"}))==null?void 0:s.map(e=>({title:`${e.content.mainTitle} ${e.content.mainSubtitle}`,location:_(e.content.officeName),employmentType:`${e.content.employmentType==="Vollzeit"?o("job.fulltime"):o("job.parttime")}, ${Number.isInteger(Number(e.content.hours))?Number(e.content.hours):Number(e.content.hours).toFixed(1)} ${o("job.hours")}`,startDate:e.content.employmentStart==="ab"?`${o("job.from")} ${new Date(e.content.employmentStartDate).toLocaleDateString(b,{year:"numeric",month:"short",day:"2-digit"})}`:o("job.now"),duration:e.content.employmentDurationDate?`${o("job.to")} ${new Date(e.content.employmentDurationDate).toLocaleDateString(b,{year:"numeric",month:"short",day:"2-digit"})}`:o("job.indefinite"),hours:e.content.hours,jobTyp:e.content.jobTyp,fullSlug:e.full_slug}))}const m=A({column:"startDate",direction:"desc"}),d=[{key:"title",label:o("job.title"),sortable:!0},{key:"location",label:o("job.location"),sortable:!0},{key:"employmentType",label:o("job.employmentType"),sortable:!0},{key:"startDate",label:o("job.startDate"),sortable:!0},{key:"duration",label:o("job.duration"),sortable:!0}],D=j(([i,u]=F(()=>g()),i=await i,u(),i)),w=V(()=>D.filter(t=>f.blok.jobTyp.includes(t.jobTyp)));return(t,s)=>{const e=S,a=B("editable");return x((Y(),E("section",K,[R(e,{sort:l(m),"onUpdate:sort":s[0]||(s[0]=n=>O(m)?m.value=n:null),columns:d,rows:l(w),"empty-state":{label:l(o)("job.noJobs"),icon:""}},U({_:2},[M(d,n=>({name:`${n.key}-data`,fn:q(({row:c})=>[p("a",{class:"block p-4",href:("getLocalizedPath"in t?t.getLocalizedPath:l(T))(("removeSiteFromPath"in t?t.removeSiteFromPath:l(N))(c.fullSlug))},[p("span",{class:G(n.key==="title"&&"font-semibold")},H(c[n.key]),3)],8,Q)])}))]),1032,["sort","rows","empty-state"])])),[[a,t.blok]])}}});export{ne 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.