PageSourceSearch

https://malao.com/_nuxt/CAmGrByi.js

js malao.com collected 2026-10-07 14:09:18 UTC 2,404 bytes, 1 lines download raw bytes

1import{_ as B}from"./B8xBAyvF.js";import{_ as S,p as C,q as M,m as n,C as T,u as x,c as I,a as p,b as $,k as o,o as A}from"./83i9rFyl.js";import{u as l,q as r}from"./C2Gbulxn.js";import"./CyDmfzKQ.js";import"./C-v3KzvZ.js";import"./hbOoBq-x.js";import"./bZHbCA88.js";const q={class:"jobs-page"},J={__name:"[slug]",async setup(E){let a,t;const c=C(),u=M(),{data:d}=([a,t]=n(()=>l("jobs",()=>r("/jobs").sort({order:1,$numeric:!0}).find())),a=await a,t(),a),{data:f}=([a,t]=n(()=>l("settings",()=>r("/settings").findOne())),a=await a,t(),a),{data:y}=([a,t]=n(()=>l("areas",()=>r("/areas").find())),a=await a,t(),a),{data:_}=([a,t]=n(()=>l("skills",()=>r("/skills").find())),a=await a,t(),a),{data:b}=([a,t]=n(()=>l("personalSkills",()=>r("/personal-skills").find())),a=await a,t(),a),{data:g}=([a,t]=n(()=>l("employmentTypes",()=>r("/employment-types").find())),a=await a,t(),a),v=o(()=>{const e={};for(const s of y.value??[])s.id&&(e[s.id]=s.name);return e}),j=o(()=>{const e={};for(const s of _.value??[])s.id&&(e[s.id]=s.name);return e}),k=o(()=>{const e={};for(const s of b.value??[])s.id&&(e[s.id]=s.name);return e}),N=o(()=>{const e={};for(const s of g.value??[])s.id&&(e[s.id]=s.name);return e}),m=o(()=>(d.value??[]).map(e=>({...e,slug:e._path.split("/").pop(),areaName:v.value[e.area]||e.area||"",skillNames:(e.skills??[]).map(s=>j.value[s]||s),personalSkillNames:(e.personalSkills??[]).map(s=>k.value[s]||s),employmentTypeName:N.value[e.employmentType]||e.employmentType||""}))),h=o(()=>f.value??{}),i=o(()=>m.value.find(e=>e.slug===c.params.slug)||null);if(!i.value)throw T({statusCode:404,statusMessage:"Job not found",fatal:!0});x({title:`${i.value.title} — Careers at Malao`,meta:[{name:"description",content:`Open position at Malao: ${i.value.title}.`},{property:"og:title",content:`${i.value.title} — Careers at Malao`}],bodyAttrs:{class:"jobs-detail-body"}});function w(e){u.push(`/jobs/${e}`)}return(e,s)=>{const D=B;return A(),I("div",q,[s[0]||(s[0]=p("div",{class:"jobs-page-bar"},[p("a",{href:"/",class:"jobs-page-logo","aria-label":"Malao home"},[p("img",{src:"/images/logo.svg",alt:"Malao",onerror:"this.style.display='none'"})]),p("a",{href:"/#join",class:"jobs-page-back"},"← All open positions")],-1)),$(D,{job:i.value,jobs:m.value,settings:h.value,mode:"page",onSelect:w},null,8,["job","jobs","settings"])])}}},K=S(J,[["__scopeId","data-v-6549c8bf"]]);export{K 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.