System.register(["./rolldown-runtime-legacy-Djb2rrqm.js","./index-legacy-Bbj6l0yZ.js","./neighborhood-fallback-legacy-Bu1BwGpC.js"],function(e,a){var r,n,o,i,t,l,s,u,d,c,g,m;return e({n:function(e,a,r){const n=a;return e.replace("{geogId}",n.geogId).replace("{stateCode}",n.subCountryCode).replace("{stateName}",i[n.subCountryCode].replace(/\s+/g,r)).replace("{name}",n.name.replace(/\s+/g,r))},t:function({isFeatured:e=!1,neighborhood:a,href:r}){const n=(0,t.useMemo)(()=>(null==a?void 0:a.imageUrl)||"/sdks-app/v1/assets/neighborhood-fallback-DTJDTD7d.jpg",[null==a?void 0:a.imageUrl]);return(0,m.jsx)("div",{className:l,"data-is-featured":e,"data-is-clickable":!!r,children:(0,m.jsxs)("a",{href:r,target:"_parent",rel:"noreferrer",children:[(0,m.jsx)("div",{className:s,children:(0,m.jsx)("img",{className:u,src:n,alt:null==a?void 0:a.name})}),(0,m.jsxs)("div",{className:d,children:[(0,m.jsx)("h2",{className:c,children:null==a?void 0:a.name}),e&&(0,m.jsx)("p",{className:g,children:null==a?void 0:a.summary})]})]})})}}),{setters:[function(e){r=e.a},function(e){n=e.St,o=e.q},function(e){e.t}],execute:function(){e("r",(e,a,r)=>{var n;if(!a)return;let o="en"===e?a.name_en:a.name_fr;return null!=r&&null!==(n=r.name)&&void 0!==n&&n.value&&(o=r.name.value),{geogId:a.geog_id,level:a.level,name:o,countryCode:a.country_code,subCountryCode:a.sub_country_code,imageUrl:null==r?void 0:r.image_url.value,summary:null==r?void 0:r.summary.value}}),i={AL:"Alabama",AK:"Alaska",AZ:"Arizona",AR:"Arkansas",CA:"California",CZ:"Canal Zone",CO:"Colorado",CT:"Connecticut",DE:"Delaware",DC:"District of Columbia",FL:"Florida",GA:"Georgia",GU:"Guam",HI:"Hawaii",ID:"Idaho",IL:"Illinois",IN:"Indiana",IA:"Iowa",KS:"Kansas",KY:"Kentucky",LA:"Louisiana",ME:"Maine",MD:"Maryland",MA:"Massachusetts",MI:"Michigan",MN:"Minnesota",MS:"Mississippi",MO:"Missouri",MT:"Montana",NE:"Nebraska",NV:"Nevada",NH:"New Hampshire",NJ:"New Jersey",NM:"New Mexico",NY:"New York",NC:"North Carolina",ND:"North Dakota",OH:"Ohio",OK:"Oklahoma",OR:"Oregon",PA:"Pennsylvania",PR:"Puerto Rico",RI:"Rhode Island",SC:"South Carolina",SD:"South Dakota",TN:"Tennessee",TX:"Texas",UT:"Utah",VT:"Vermont",VI:"Virgin Islands",VA:"Virginia",WA:"Washington",WV:"West Virginia",WI:"Wisconsin",WY:"Wyoming",AB:"Alberta",BC:"British Columbia",MB:"Manitoba",NB:"New Brunswick",NL:"Newfoundland and Labrador",NT:"Northwest Territories",NS:"Nova Scotia",NU:"Nunavut",ON:"Ontario",PE:"Prince Edward Island",QC:"Quebec",SK:"Saskatchewan",YT:"Yukon"},t=r(n(),1),l="\n  group\n  data-[is-clickable]:hover:cursor-pointer\n",s="\n  relative rounded-t-lg\n  border border-solid border-gray-200 \n  duration-200\n  transition-colors\n  h-28 group-data-[is-featured=true]:h-60\n  group-data-[is-clickable=true]:group-hover:border-ll-primary\n",u="\n  object-center object-cover rounded-t-lg h-full w-full\n",d="\n  border border-solid border-gray-200\n  rounded-b-lg border-t-0\n  py-6 px-8\n  duration-200\n  transition-colors\n  group-data-[is-featured=false]:py-4\n  group-data-[is-clickable=true]:group-hover:border-ll-primary\n",c="\n  text-xl font-medium text-ll-on-surface my-0 \n  duration-200\n  transition-colors\n  group-data-[is-clickable=true]:group-hover:text-ll-primary\n  group-data-[is-featured=false]:text-center\n  group-data-[is-featured=true]:mb-2\n  group-data-[is-featured=false]:text-base\n",g="text-md text-gray-500 m-0 line-clamp-3",m=o()}}});
//# sourceMappingURL=NeighborhoodCard-legacy-D2RE7Q8y.js.map