import{x as j,k as v,w as h,r as g}from"./entry.da36c9c0.js";import{_ as p,a as y}from"./NewTag.d5da2005.js";import{_ as k}from"./Price.0a2b2ff3.js";import{M as n,N as a,a1 as r,X as o,R as t,A as s,K as d,$ as c,P as l,F as w,a0 as A}from"./swiper-vue.da2fc20f.js";const N={class:"object-card-overlay absolute top-0 left-0 w-full h-full flex flex-col justify-between p-4 text-white"},$={class:"flex gap-2 flex-wrap"},B={class:"p-4 space-y-2"},C={class:"h3"},O={key:1,class:"inline-flex gap-2"},V={class:"flex justify-between"},I={class:"flex flex-wrap gap-x-4"},P={key:0,class:"flex space-x-2"},T={key:1,class:"flex space-x-2"},z={key:2,class:"flex space-x-2"},F={class:"group-hover:translate-x-4 transition duration-300 ease-out md:px-4"},L={__name:"ObjectCard",props:{object:Object,index:Number},setup(e){return(D,E)=>{const _=v,b=p,u=y,f=k,i=h,x=g;return n(),a(x,{to:`/${e.object.full_slug}`,class:"animate-fade-in group block relative aspect-card-sm-mobile lg:aspect-card-sm-desktop rounded-card overflow-hidden opacity-0"},{default:r(()=>[e.object.content.featured_image?(n(),a(_,{key:0,image:e.object.content.featured_image,class:"w-full h-full object-cover",lazy:!0,sizes:"sm:400px lg:800px 2xl:1200px"},null,8,["image"])):o("",!0),t("div",N,[t("div",$,[s(b,{date:e.object.content.date},null,8,["date"]),e.object.content.status&&e.object.content.status!=="beschikbaar"&&!e.object.content.overwrite_tags?(n(),a(u,{key:0,variant:"alt",class:"first-letter:uppercase"},{default:r(()=>[d(c(e.object.content.status.replaceAll("_"," ")),1)]),_:1})):o("",!0),e.object.content.open_house&&!e.object.content.overwrite_tags?(n(),a(u,{key:1,variant:"open-house"},{default:r(()=>[d("Open huis ")]),_:1})):o("",!0),e.object.content.tags?(n(!0),l(w,{key:2},A(e.object.content.tags,m=>(n(),a(u,{key:m._uid,variant:"alt"},{default:r(()=>[d(c(m.title),1)]),_:2},1024))),128)):o("",!0)]),t("div",B,[t("div",null,[t("span",null,c(e.object.content.city),1),t("h3",C,c(e.object.content.street)+" "+c(e.object.content.street_number),1),e.object.content.status!=="verkocht"?(n(),a(f,{key:0,price:e.object.content.price,suffix:e.object.content.price_suffix},null,8,["price","suffix"])):(n(),l("span",O," Prijs op aanvraag "))]),t("div",V,[t("div",I,[e.object.content.bedrooms?(n(),l("div",P,[s(i,{name:"bed"}),t("span",null,c(e.object.content.bedrooms),1)])):o("",!0),e.object.content.livingspace?(n(),l("div",T,[s(i,{name:"living-space"}),t("span",null,c(`${e.object.content.livingspace} m2`),1)])):o("",!0),e.object.content.plot?(n(),l("div",z,[s(i,{name:"parcel"}),t("span",null,c(`${e.object.content.plot} m2`),1)])):o("",!0)]),t("div",F,[s(i,{name:"chevron-right"})])])])])]),_:1},8,["to"])}}},X=j(L,[["__scopeId","data-v-904d833b"]]);export{X as _};
