import{_ as p,r as l,o as s,c as n,a,x as i,j as _,e as r,F as m,E as g,k as C,b,G as H,L as T,t as B,C as M,a0 as V,Q as w}from"./app.2934e07b.js";import{B as S}from"./breadcrumb.d66f3160.js";import"./anchor.6cf59b96.js";const d={name:"related-locations",props:["sectionClasses","contentClasses","containerClasses","heading","content","locations","styles"],components:{Anchor:T,Breadcrumb:S,CustomPicture:B,CustomSvg:M,Heading:V}},k=()=>{w(o=>({"71bff754":o.styles.ul.gridTemplateColumns.desktop}))},y=d.setup;d.setup=y?(o,h)=>(k(),y(o,h)):k;const N=d,j=["innerHTML"],E={key:2,class:"locations"},F={class:"bg-secondary-light black"},z={class:"location"},A=["innerHTML"],D=["innerHTML"],G={key:1,class:"buttons"};function I(o,h,t,P,Q,q){const L=l("heading"),v=l("custom-picture"),u=l("anchor"),x=l("breadcrumb");return t.locations&&t.locations.length?(s(),n("section",{key:0,class:i(t.sectionClasses)},[a("div",{class:i(t.contentClasses)},[a("div",{class:i(t.containerClasses)},[t.heading?(s(),_(L,{key:0,config:t.heading},null,8,["config"])):r("",!0),t.content?(s(),n("div",{key:1,innerHTML:t.content},null,8,j)):r("",!0),t.locations?(s(),n("ul",E,[(s(!0),n(m,null,g(t.locations,e=>(s(),n("li",F,[e.storefront?(s(),_(u,{key:0,href:e.uri},{default:C(()=>[b(v,{src:e.storefront.url,sources:e.storefront.media,width:e.storefront.width,height:e.storefront.height,alt:e.storefront.alt,title:e.storefront.title},null,8,["src","sources","width","height","alt","title"])]),_:2},1032,["href"])):r("",!0),a("div",z,[e.breadcrumb?(s(),_(x,{key:0,class:"breadcrumbs",items:e.breadcrumb},null,8,["items"])):r("",!0),a("address",null,[b(u,{href:e.uri},{default:C(()=>[a("h3",{innerHTML:e.addressLines},null,8,A)]),_:2},1032,["href"]),a("p",{innerHTML:e.locality},null,8,D)]),e.buttons?(s(),n("div",G,[(s(!0),n(m,null,g(e.buttons,c=>{var f;return s(),_(u,{href:c.href,class:i(c.class),target:(f=c.target)!=null?f:"_self",textContent:H(c.text)},null,8,["href","class","target","textContent"])}),256))])):r("",!0)])]))),256))])):r("",!0)],2)],2)],2)):r("",!0)}const R=p(N,[["render",I],["__scopeId","data-v-593ffabf"]]);export{R as default};