import{_ as h,o as a,c as s,a as n,q as r,t as o,l as d,F as f,x as v,d as g,b,s as x,p as S,f as E,r as O,b8 as F,c5 as L}from"./i4_0wS5w.js";import{_ as z}from"./WebBodyBlocks-Cml7Pgii.mjs";import"./WebHTML-Btn1AjOg.mjs";import"./WebImage-CfGBcAbG.mjs";import"./nuxt-link-Y7s2L2-x.mjs";import"./index-BafU-EJN.mjs";import"./WebContentListNew-C5cs6Tyi.mjs";import"./WebContentItem-Bm-4b2Hr.mjs";import"./useImageUrl-1XbeiwSF.mjs";import"./WebSubscribeNew-BSsPWiNP.mjs";const C={class:"contact"},B={class:"row"},I={key:0,class:"column"},N={key:0,class:"content"},T={class:"info"},M={key:0},W={key:1},A={key:1,class:"content"},H={class:"info"},P={key:2,class:"content"},V={key:3,class:"content"},j={class:"column"},q={key:0,class:"content"},D=["href"],Y={key:1,class:"content"},G={class:"social-row"},J={class:"social-links"},K=["href"],Q={key:2,class:"content"},R=["href"],U={key:3,class:"content"},X={key:4,class:"content"},Z={key:0,class:"product-summary"},$={class:"left"},p=["innerHTML"],_={key:0,class:"right"},ee={class:"contacts"},te={class:"name"},ne={class:"title"},ae={key:1,class:"body"},se={class:"heading"},ie={__name:"WebCompanyOverviewNew",props:{name:{type:String},bodyBlocks:{type:Array,default:()=>[]},publicContacts:{type:Array,default:()=>[]},socialLinks:{type:Object},numberOfEmployees:{type:String},yearsInOperation:{type:String},productSummary:{type:String},address1:{type:String},address2:{type:String},city:{type:String},state:{type:String},zip:{type:String},country:{type:String},website:{type:String},publicEmail:{type:String},phone:{type:String},tollFree:{type:String},fax:{type:String},sections:{type:Array}},setup(e){function i(t){var l,u,c;return((l=t.provider)==null?void 0:l.toLowerCase())==="other"?(u=t.url)!=null&&u.includes("rss.xml")?"mdi:rss":"mdi:link-variant":t.provider==="twitter"?"fa6-brands:x-twitter":`mdi:${(c=t.provider)==null?void 0:c.toLowerCase()}`}return(t,l)=>{var k;const u=E,c=O,m=F,w=z;return a(),s("div",{class:"ebm-company-overview",style:S({fontFamily:t.$ss.primaryFontFamily})},[n("div",C,[n("div",B,[e.address1||e.address2||e.city||e.state||e.zip||e.country||e.phone||e.tollFree||e.fax?(a(),s("div",I,[e.address1||e.address2||e.city||e.state||e.zip||e.country?(a(),s("div",N,[l[1]||(l[1]=n("label",null,"Address:",-1)),n("div",T,[r(o(e.address1)+" "+o(e.address2),1),e.address1||e.address2?(a(),s("br",M)):d("",!0),r(" "+o(e.city),1),e.city&&e.state?(a(),s("span",W,",")):d("",!0),r(" "+o(e.state)+" "+o(e.zip),1),l[0]||(l[0]=n("br",null,null,-1)),r(" "+o(e.country),1)])])):d("",!0),e.phone?(a(),s("div",A,[l[2]||(l[2]=n("label",null,"Phone:",-1)),n("div",H,o(e.phone),1)])):d("",!0),e.tollFree?(a(),s("div",P,[l[3]||(l[3]=n("label",null,"Toll Free:",-1)),r(" "+o(e.tollFree),1)])):d("",!0),e.fax?(a(),s("div",V,[l[4]||(l[4]=n("label",null,"Fax:",-1)),r(" "+o(e.fax),1)])):d("",!0)])):d("",!0),n("div",j,[e.website?(a(),s("div",q,[l[5]||(l[5]=n("label",null,"Website:",-1)),n("a",{href:e.website,class:"info"},o(e.website),9,D)])):d("",!0),e.socialLinks.length?(a(),s("div",Y,[l[6]||(l[6]=n("label",null,"Social Media:",-1)),n("div",G,[n("div",J,[(a(!0),s(f,null,v(e.socialLinks,y=>(a(),s("a",{key:y.url,href:y.url,target:"_blank",rel:"noopener"},[g(u,{"icon-color":"#868686",icon:i(y),width:18},null,8,["icon","width"])],8,K))),128))])])])):d("",!0),e.publicEmail?(a(),s("div",Q,[l[7]||(l[7]=n("label",null,"Email:",-1)),n("a",{href:`mailto:${e.publicEmail}`,class:"info"},o(e.publicEmail),9,R)])):d("",!0),e.numberOfEmployees?(a(),s("div",U,[l[8]||(l[8]=n("label",null,"# of Employees: ",-1)),r(" "+o(e.numberOfEmployees),1)])):d("",!0),e.yearsInOperation?(a(),s("div",X,[l[9]||(l[9]=n("label",null,"Years in Business: ",-1)),r(" "+o(e.yearsInOperation),1)])):d("",!0)])])]),e.productSummary?(a(),s("div",Z,[n("div",$,[l[10]||(l[10]=n("h2",{class:"heading"}," Product Summary ",-1)),n("div",{innerHTML:e.productSummary},null,8,p)]),(k=e.publicContacts)!=null&&k.length?(a(),s("div",_,[l[12]||(l[12]=n("h2",{class:"heading"}," Contacts ",-1)),n("div",ee,[(a(!0),s(f,null,v(e.publicContacts,y=>(a(),s("div",{key:y.id,class:"contact"},[y.primaryImage?(a(),b(c,{key:0,src:y.primaryImage.src.split("?")[0]+"?w=100&h=100&facepad=2&fit=facearea&mask=ellipse"},null,8,["src"])):d("",!0),n("h3",te,o(y.fullName),1),n("div",ne,o(y.title),1),y.publicEmail?(a(),b(m,{key:1,type:"link",class:"email",link:"mailto:"+y.publicEmail},{default:x(()=>l[11]||(l[11]=[r(" Email ")])),_:2},1032,["link"])):d("",!0)]))),128))])])):d("",!0)])):d("",!0),e.bodyBlocks.length?(a(),s("div",ae,[n("h2",se," More Info on "+o(e.name),1),g(w,{"body-blocks":e.bodyBlocks,"block-ad-embeds":!0,"page-type":"Company"},null,8,["body-blocks"])])):d("",!0)],4)}}},le=h(ie,[["__scopeId","data-v-d9b323ac"]]),de={props:{name:{type:String},teaser:{type:String},numberOfEmployees:{type:String},yearsInOperation:{type:String},productSummary:{type:String},address1:{type:String},address2:{type:String},city:{type:String},state:{type:String},zip:{type:String},country:{type:String},website:{type:String},publicEmail:{type:String},phone:{type:String},tollFree:{type:String},fax:{type:String},sections:{type:Array}}},oe={key:0,class:"heading"},re={key:1,class:"content"},ue=["innerHTML"],ye={key:2,class:"sections"},ce=["href"],me={key:3,class:"number-of-employees"},be={key:4,class:"years-in-business"},fe={key:5,class:"heading"},ve={key:6,class:"content"},ke=["innerHTML"],ge={class:"content"},he={key:0,class:"address"},Se={key:0},we={key:1},xe=["href"],Ee={key:1,class:"email"},Oe=["href"],Fe={key:2,class:"phone"},Le={key:3,class:"tollFree"},ze={key:4,class:"fax"};function Ce(e,i,t,l,u,c){return a(),s("div",{class:"ebm-company-overview",style:S({fontFamily:e.$ss.primaryFontFamily})},[t.name?(a(),s("h2",oe," About "+o(t.name),1)):d("",!0),t.teaser?(a(),s("div",re,[n("div",{innerHTML:t.teaser},null,8,ue)])):d("",!0),t.sections?(a(),s("div",ye,[(a(!0),s(f,null,v(t.sections,m=>(a(),s("div",{key:m.section.name},[n("a",{href:m.section.alias},o(m.section.name),9,ce)]))),128))])):d("",!0),t.numberOfEmployees?(a(),s("div",me,[i[0]||(i[0]=n("label",null,"Number of Employees: ",-1)),r(" "+o(t.numberOfEmployees),1)])):d("",!0),t.yearsInOperation?(a(),s("div",be,[i[1]||(i[1]=n("label",null,"Years in Business: ",-1)),r(" "+o(t.yearsInOperation),1)])):d("",!0),t.productSummary?(a(),s("h2",fe," Product Summary ")):d("",!0),t.productSummary?(a(),s("div",ve,[n("div",{innerHTML:t.productSummary},null,8,ke)])):d("",!0),i[12]||(i[12]=n("h2",{class:"heading"}," Contact ",-1)),n("div",ge,[t.address1||t.address2||t.city||t.state||t.zip||t.country?(a(),s("div",he,[r(o(t.address1),1),i[3]||(i[3]=n("br",null,null,-1)),t.address2?(a(),s("span",Se,[r(o(t.address2),1),i[2]||(i[2]=n("br",null,null,-1))])):d("",!0),r(" "+o(t.city),1),t.city&&t.state?(a(),s("span",we,",")):d("",!0),r(" "+o(t.state)+" "+o(t.zip),1),i[4]||(i[4]=n("br",null,null,-1)),r(" "+o(t.country),1)])):d("",!0),n("a",{class:"website",target:"_blank",href:t.website},o(t.website),9,xe),t.publicEmail?(a(),s("div",Ee,[n("a",{href:`mailto:${t.publicEmail}`},o(t.publicEmail),9,Oe),i[5]||(i[5]=n("br",null,null,-1))])):d("",!0),t.phone?(a(),s("div",Fe,[i[6]||(i[6]=n("label",null,"Phone:",-1)),r(" "+o(t.phone),1),i[7]||(i[7]=n("br",null,null,-1))])):d("",!0),t.tollFree?(a(),s("div",Le,[i[8]||(i[8]=n("label",null,"Toll Free:",-1)),r(" "+o(t.tollFree),1),i[9]||(i[9]=n("br",null,null,-1))])):d("",!0),t.fax?(a(),s("div",ze,[i[10]||(i[10]=n("label",null,"Fax:",-1)),r(" "+o(t.fax),1),i[11]||(i[11]=n("br",null,null,-1))])):d("",!0)])],4)}const Be=h(de,[["render",Ce],["__scopeId","data-v-d18aca1e"]]),qe={__name:"CompanyOverviewBlock",props:{data:{type:Object,required:!0,validator(e){return["name","teaser","numberOfEmployees","yearsInOperation","productSummary","address1","address2","city","state","zip","website","publicEmail","phone","tollFree","fax","country"].every(i=>i in e)}}},setup(e){function i(t){const{countries:l}=L({alphaCodeSize:2}),u=l.find(c=>c.value===t);return(u==null?void 0:u.friendlyLabel)??(u==null?void 0:u.label)??t}return(t,l)=>{var m;const u=le,c=Be;return(m=t.$ss)!=null&&m.useNewDesign?(a(),b(u,{key:0,name:e.data.name,teaser:e.data.teaser,"number-of-employees":e.data.numberOfEmployees,"years-in-operation":e.data.yearsInOperation,"product-summary":e.data.productSummary,address1:e.data.address1,address2:e.data.address2,city:e.data.city,state:e.data.state,zip:e.data.zip,country:i(e.data.country),website:e.data.website,"public-email":e.data.publicEmail,phone:e.data.phone,"toll-free":e.data.tollFree,fax:e.data.fax,logo:e.data.logo,"social-links":e.data.socialLinks,"body-blocks":e.data.bodyBlocks,"public-contacts":e.data.publicContacts},null,8,["name","teaser","number-of-employees","years-in-operation","product-summary","address1","address2","city","state","zip","country","website","public-email","phone","toll-free","fax","logo","social-links","body-blocks","public-contacts"])):(a(),b(c,{key:1,name:e.data.name,teaser:e.data.teaser,"number-of-employees":e.data.numberOfEmployees,"years-in-operation":e.data.yearsInOperation,"product-summary":e.data.productSummary,address1:e.data.address1,address2:e.data.address2,city:e.data.city,state:e.data.state,zip:e.data.zip,country:i(e.data.country),website:e.data.website,"public-email":e.data.publicEmail,phone:e.data.phone,"toll-free":e.data.tollFree,fax:e.data.fax},null,8,["name","teaser","number-of-employees","years-in-operation","product-summary","address1","address2","city","state","zip","country","website","public-email","phone","toll-free","fax"]))}}};export{qe as default};