import{e as m}from"./C0JZ2vpu.js";import{g as c,r as g,J as n}from"./BpDVC-Oo.js";const u=async()=>{const{$externalConf:r}=c(),e=g(""),o=async()=>{try{const{getLogomarcas:s}=m(),a=(await s()).find(t=>t.empresa===r.siglaEmpresa);a&&a.imagem&&a.extensao?e.value=`data:image/${a.extensao};base64,${a.imagem}`:e.value="/img/header-img.png"}catch{e.value="/img/header-img.png"}};return await o(),{logoSrc:n(()=>e.value),loadLogo:o}};export{u};
