import{d as u,s as g,i as m,c as _,u as e,o as n,a as i,e as s,q as d,_ as p}from"./index.4042ed24.js";import{l as c}from"./logo-mini.da0d67fe.js";const f=["src"],y=["src"],h=u({name:"layoutLogo"}),C=u({...h,setup(k){const{themeConfig:o}=g(m()),r=_(()=>{let{isCollapse:l,layout:t}=o.value;return!l||t==="classic"||document.body.clientWidth<1e3}),a=()=>{if(o.value.layout==="transverse")return!1;o.value.isCollapse=!o.value.isCollapse};return(l,t)=>e(r)?(n(),i("div",{key:0,class:"layout-logo",onClick:a},[s("img",{src:e(c),class:"layout-logo-medium-img"},null,8,f),s("span",null,d(e(o).globalTitle),1)])):(n(),i("div",{key:1,class:"layout-logo-size",onClick:a},[s("img",{src:e(c),class:"layout-logo-size-img"},null,8,y)]))}}),b=p(C,[["__file","/data/jenkins/workspace/badp-bcxin-web-5.x-dispatchBusiness/src/layout/logo/index.vue"]]);export{b as default};
