import L from"./Logo-1a6c6411.mjs";import{_ as b,d as y,G as v,s as u,o as a,f as _,w as B,i as N,c as f,t as x,b as w,a as S,F as T,j}from"./entry-d195bacb.mjs";const C=y({name:"NavbarLogo",setup(g,{expose:c}){c();const{theme:n}=v(),e=u(()=>{var o,t;return((t=(o=n.value)==null?void 0:o.header)==null?void 0:t.logo)||!1}),r=u(()=>{var o,t;return((t=(o=n.value)==null?void 0:o.header)==null?void 0:t.title)||!1}),s={theme:n,hasLogo:e,hasTitle:r};return Object.defineProperty(s,"__isScriptSetup",{enumerable:!1,value:!0}),s}}),D={key:0};function F(g,c,n,e,r,s){var l,i;const o=L,t=j,k=N;return a(),_(k,{class:"flex items-center flex-none",to:"/","aria-label":(i=(l=e.theme)==null?void 0:l.header)==null?void 0:i.title},{default:B(()=>{var m,h,d,p;return[!e.hasLogo&&e.hasTitle?(a(),f("span",D,x((h=(m=e.theme)==null?void 0:m.header)==null?void 0:h.title),1)):e.hasLogo&&e.hasTitle?(a(),f(T,{key:1},[w(o),S("span",null,x(((p=(d=e.theme)==null?void 0:d.header)==null?void 0:p.title)||""),1)],64)):e.hasLogo?(a(),_(o,{key:2})):(a(),_(t,{key:3,name:"heroicons-outline:cloud",class:"w-12 h-12"}))]}),_:1},8,["aria-label"])}var G=b(C,[["render",F]]);export{G as default};
