1import{t as e}from"./DK3Fl9T5.js";import{I as t,Rt as n,Vt as r,X as i,_t as a,d as o,ht as s,l as c,p as l,u}from"./CdbWC-rs.js";import{f as d}from"./A4051BTu.js";import{t as f}from"./D0cqNlyj.js";import{a as p}from"./6sV3XXNy.js";import{t as m}from"./CQxgq-rq.js";import{t as h}from"./BDNMzG2s2.js";import{r as g,t as _}from"./RyaLI9tz.js";import{n as v}from"./DuYt75NI.js";var y=e({default:()=>C}),b=[`src`],x={class:`red-tag`},S={class:`headline-3`},C=h({__name:`CardsNeighborhood`,props:{item:{type:Object,required:!0},imageStyle:{type:String,required:!1,default:`landscape`}},setup(e){let{item:h}=s(e),{sitesData:y}=p(m()),C=c(()=>v(h.value,y.value).length),w=d(),T=c(()=>w.path.includes(`archive`)?`/archive/2023/neighborhoods/`:`/neighborhoods/`);return(s,c)=>{let d=_,p=f;return t(),o(p,{to:`${a(T)}${a(h).id}`,class:`card-neighborhood`},{default:i(()=>[u(`div`,{class:n([`image-wrapper`,{"is-square":e.imageStyle===`square`}])},[e.imageStyle===`square`?(t(),o(d,{key:0,name:a(h).fields.Name||``},null,8,[`name`])):(t(),l(`img`,{key:1,src:`/img/pages/neighborhoods/map-${a(g)(a(h).fields.Name)}.jpg`,alt:`Neighborhood map image`},null,8,b)),u(`p`,x,r(a(C))+` Sites`,1)],2),u(`h3`,S,r(a(h).fields.Name),1)]),_:1},8,[`to`])}}},[[`__scopeId`,`data-v-1cae80a4`]]);export{y as n,C as t}; 2//# sourceMappingURL=XfGtb_SC.js.map
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.