import{u as f,H as g,r as v,w as _,o as s,j as d,i as o,aG as k,f as p,h as r,A as e,e as c,O as l,aM as h,E as u,B as y,aH as V}from"./index.737529e8.1750111005555.js";import{f as C}from"./formatters.9d32fbeb.1750111005555.js";const b=["src"],B={key:1},D={class:"mb-3"},w={key:1,class:"mb-0"},j={__name:"vagaCard",props:{vaga:Object},setup(m){f("userData").value,g();const n=m,a=v(n.vaga);return _(()=>n.vaga,t=>{a.value=t}),(t,i)=>(s(),d(k,{class:"vaga-card cursor-pointer"},{default:o(()=>[p(V,null,{default:o(()=>[r("div",{class:"container__vaga-empresa-data",onClick:i[0]||(i[0]=x=>t.detalhesVaga(e(a).slug))},[r("div",null,[e(a).logo?(s(),c("img",{key:0,src:e(a).logo,alt:"Logo da Empresa"},null,8,b)):(s(),c("p",B,l(e(a).empresa),1))]),r("div",D,[e(a).distance?(s(),d(h,{key:0,color:"primary",label:"",style:{"font-size":"14px",width:"fit-content !important"}},{default:o(()=>[u(l(e(a).distance.replace(" ",""))+" de você ",1)]),_:1})):(s(),c("p",w,[p(y,{icon:"tabler-clock",size:"14",style:{"margin-top":"-2px"}}),u(" "+l(("formatDate"in t?t.formatDate:e(C))(e(a).createdAt)),1)]))])])]),_:1})]),_:1}))}};export{j as default};
