import{_ as x,a as b}from"./Layout.vue_vue_type_style_index_0_lang-0b7cac17.js";import{J as v}from"./company-6b2430c0.js";import{d as V,l as y,k as C,ax as k,z as u,aF as w,o as n,b as c,w as t,q as e,L as f,a6 as B,s as m,c as J,F as O,a as j,n as i,y as _,B as E}from"./index-2e57ee69.js";import{_ as F}from"./logo-company.vue_vue_type_style_index_0_lang-4e77c646.js";import{V as L}from"./VContainer-cc1b1bb8.js";import{V as r,a as o}from"./VRow-22fc34ca.js";import{V as N}from"./VDivider-29fb9868.js";import{b as p}from"./route-block-83d24a4e.js";import"./NavbarThemeSwitcher.vue_vue_type_script_setup_true_lang-631c7e23.js";import"./VTooltip-4d5f55d5.js";import"./VSelect-a9073548.js";import"./VList-0b71c0f0.js";import"./VMenu-9f22b74a.js";import"./VCheckboxBtn-0a0e30be.js";import"./VChip-73a1db56.js";import"./filter-aa6f7ff4.js";import"./VToolbar-6d94a41a.js";const $=i("div",{class:"text-h5 font-weight-medium"}," Encuentra tu próximo trabajo soñado ",-1),q=i("div",{class:"text-subtitle-1 mt-2"}," Busca entre cientos de empresas y oportunidades laborales ",-1),D=i("div",{class:"text-h5 font-weight-medium"},"Empresas",-1),R={class:"font-weight-medium text-primary text-subtitle-1"},S={class:"text-caption text-grey-darken-1"},z=V({__name:"index",setup(I){const l=y([]),h=C(),g=async()=>{const{data:s}=await v.getCompanies();l.value=s},d=s=>{s&&h.push({path:"/bolsa-laboral/empleos",query:{search:s}})};return k(async()=>{u.on("searchJobOffers",s=>d(s)),await g()}),w(()=>{u.off("searchJobOffers",s=>d(s))}),(s,M)=>(n(),c(b,null,{content:t(()=>[e(L,{fluid:"",class:"pt-6"},{default:t(()=>[e(r,{justify:"center",class:"mb-6",style:{position:"relative"}},{default:t(()=>[e(o,{cols:"12",md:"12"},{default:t(()=>[e(f,{class:"elevation-1 pa-0 text-center",elevation:"0"},{default:t(()=>[e(B,{src:"https://images.unsplash.com/photo-1519389950473-47ba0277781c",alt:"Banner",height:"400",cover:"",class:"mb-4 rounded"}),$,q,e(r,{justify:"center",class:"mb-8 search-bar"},{default:t(()=>[e(o,{cols:"12",md:"10"},{default:t(()=>[e(x)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(r,null,{default:t(()=>[m(l).length>0?(n(),c(r,{key:0,class:"text-center"},{default:t(()=>[e(m(N)),e(o,{cols:"12",class:"text-center",md:"12"},{default:t(()=>[D]),_:1}),(n(!0),J(O,null,j(m(l),a=>(n(),c(o,{key:a.id,cols:"12",sm:"6",md:"3"},{default:t(()=>[e(f,{class:"pa-4",elevation:"2"},{default:t(()=>[e(r,{"no-gutters":"",align:"center"},{default:t(()=>[e(o,{cols:"3"},{default:t(()=>[e(F,{logo:a.logo,name:a.name,"is-verified":a.isVerified},null,8,["logo","name","is-verified"])]),_:2},1024),e(o,{cols:"9"},{default:t(()=>[i("div",R,_(a.name),1),i("div",S,_(a.address),1)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]),_:1})):E("",!0)]),_:1})]),_:1})]),_:1}))}});typeof p=="function"&&p(z);export{z as default};
