import{u as i,j as o}from"./vendor-BKmmeuxg.js";import{c as r}from"./utils-DxSsnXxD.js";const d=({className:a,theme:l})=>{const{system:s}=i().props;return l&&l==="dark"?o.jsx("img",{src:s.fields.logo_dark||"",alt:s.fields.name||"",className:r("block h-6 w-auto",a)}):l&&l==="light"?o.jsx("img",{src:s.fields.logo_light||"",alt:s.fields.name||"",className:r("block h-6 w-auto",a)}):o.jsxs(o.Fragment,{children:[o.jsx("img",{src:s.fields.logo_dark||"",alt:s.fields.name||"",className:r("block h-6 w-auto dark:hidden",a)}),o.jsx("img",{src:s.fields.logo_light||"",alt:s.fields.name||"",className:r("hidden h-6 w-auto dark:block",a)})]})};export{d as A};
