import{_ as f}from"./qNSOYSvs.js";import{q as a,s as u,h as c,y as g,av as h,i as o,o as m,c as p,b as v,l as d}from"./By0a1H9j.js";const x={key:0,class:"kw_header-height-mobile flex justify-center items-center px-8 xs:px-10 sm:kw_header-height-desktop"},b={__name:"Default",props:["percent"],setup(k){const l=a(),s=a("KreditiWeb logo"),{isOnIframe:i}=u(c("iframe")),{affiliateData:e}=u(c("affiliate")),n=a("144px"),r=a("24px"),t=a(!1);return g(()=>{t.value=!0,i.value||(l.value=h),!(!e.value||!i.value)&&(e.value.logo&&(l.value=e.value.logo),e.value.name&&(s.value=e.value.name),e.value.logo_width&&(n.value=e.value.logo_width+"px",r.value="auto"),t.value=e.value.display_logo)}),(w,y)=>{const _=f;return o(t)?(m(),p("header",x,[v(_,{logo:o(l),alt:o(s),logoWidth:o(n),show:o(t),logoHeight:o(r)},null,8,["logo","alt","logoWidth","show","logoHeight"])])):d("",!0)}}};export{b as _};