import{_ as f}from"./WebImage-BBQZzdK6.mjs";import{_ as w,o as a,c as n,a as o,b as g,i as l,v as S,t as r,k as b,F as k,r as I,d as x,n as C,aZ as B,f as F,p as L,m as N}from"./entry.DPwc-EV0.js";const V={props:{logo:{type:Object},name:{type:String},city:{type:String},state:{type:String},zip:{type:String},socialLinks:{type:Array},website:{type:String}},methods:{navigateTo(t){window.open(t)},getIcon(t){var s,e,i;return((s=t.provider)==null?void 0:s.toLowerCase())==="other"?(e=t.url)!=null&&e.includes("rss.xml")?"mdi:rss":"mdi:link-variant":t.provider==="twitter"?"fa6-brands:x-twitter":`mdi:${(i=t.provider)==null?void 0:i.toLowerCase()}`}}},z=t=>(L("data-v-35ae7573"),t=t(),N(),t),E={class:"ebm-company-banner"},T={class:"name"},W={key:0},O=z(()=>o("br",null,null,-1)),j={class:"links"},A={class:"social"},D=["href"];function Z(t,s,e,i,q,d){var _,m,u,y;const p=f,h=B,v=F;return a(),n("div",{class:"ebm-company-banner-wrapper",style:C({fontFamily:t.$ss.primaryFontFamily})},[o("div",E,[(_=e.logo)!=null&&_.src?(a(),g(p,{key:0,image:(m=e.logo)==null?void 0:m.src,alt:(u=e.logo)==null?void 0:u.alt,class:"logo"},null,8,["image","alt"])):l("",!0),o("div",{class:S(["details",(y=e.logo)!=null&&y.src?"detail-border":""])},[o("h1",T,r(e.name),1),b(" "+r(e.city),1),e.city&&e.state?(a(),n("span",W,",")):l("",!0),b(" "+r(e.state)+" "+r(e.zip),1),O],2),o("div",j,[e.website?(a(),g(h,{key:0,color:t.$ss.baseStyles.primaryColor,class:"visit-site",label:"Visit Site",onOnClick:s[0]||(s[0]=()=>{d.navigateTo(e.website)})},null,8,["color"])):l("",!0),o("div",A,[(a(!0),n(k,null,I(e.socialLinks,c=>(a(),n("a",{key:c.url,href:c.url,target:"_blank",rel:"noopener"},[x(v,{"icon-color":"black",icon:d.getIcon(c),width:30},null,8,["icon","width"])],8,D))),128))])])])],4)}const J=w(V,[["render",Z],["__scopeId","data-v-35ae7573"]]);export{J as default};