import{_ as n}from"./LOGO1.CAkriOh-.js";import{a as c,aC as i,f as s,c as r,o as m,b as u}from"./vue.D1BjjNmv.js";import{u as _,f as d,l as y}from"./index.CL7yl-Wb.js";import{l as v}from"./logo-mini.D57drHvk.js";import{_ as k}from"./_plugin-vue_export-helper.DlAUqK2U.js";const h=c({name:"layoutLogo"}),S=c({...h,setup(x){const g=_(),{themeConfig:e}=i(g),f=s(()=>{let{isCollapse:a,layout:o}=e.value;return!a||o==="classic"||document.body.clientWidth<1e3}),t=()=>{if(e.value.layout==="transverse")return!1;e.value.isCollapse=!e.value.isCollapse},p=d(),{systemConfig:C}=i(p),l=s(()=>C.value);return s(()=>y.isEmpty(l.value["login.site_logo"])?v:l.value["login.site_logo"]),(a,o)=>f.value?(m(),r("div",{key:0,class:"layout-logo",onClick:t},o[0]||(o[0]=[u("img",{src:n,class:"layout-logo-medium-img"},null,-1)]))):(m(),r("div",{key:1,class:"layout-logo-size",onClick:t},o[1]||(o[1]=[u("img",{src:n,class:"layout-logo-size-img"},null,-1)])))}}),L=k(S,[["__scopeId","data-v-550441b1"]]);export{L as default};
