import{c as g,e as v,a as f,p as o,s as y,t as x,j as u,n as w,i as m,k as S,b as j,d as k,f as z,h,v as E,m as c,r as p,q}from"../../custom-element.js";import{c as D,s as H}from"../../attributes.js";import{g as A}from"../../sidebar-state.svelte.js";var B=z('<header><img class="mc-sidebar__header-logo svelte-1h67ayb" alt="logo"/> <p class="mc-sidebar__header-title svelte-1h67ayb"> </p></header>');const C={hash:"svelte-1h67ayb",code:`/**
 * Do not edit directly, this file was auto-generated.
 */
@media screen and (min-width: 680px) {
}
@media screen and (min-width: 680px) {
}
@media screen and (min-width: 680px) {
}
@media screen and (min-width: 680px) {
}
@media screen and (min-width: 680px) {
}
@media screen and (min-width: 680px) {
}
@media screen and (min-width: 680px) {
}.mc-sidebar__header.svelte-1h67ayb {display:flex;align-items:center;justify-content:center;gap:0.5rem;}.mc-sidebar__header-logo.svelte-1h67ayb {width:2.5rem;height:2.5rem;}.mc-sidebar__header-title.svelte-1h67ayb {font-size:var(--font-size-200, 1.125rem);font-weight:var(--font-weight-bold, 700);color:var(--sidebar-color-product-name, #000000);margin:0;flex-grow:1;display:none;}.mc-sidebar__header--expanded.svelte-1h67ayb .mc-sidebar__header-title:where(.svelte-1h67ayb) {display:block;}.mc-sidebar__header--collapsed.svelte-1h67ayb .mc-sidebar__header-title:where(.svelte-1h67ayb) {display:none;}`};function F(i,t){v(t,!0),f(i,C);let s=o(t,"title",7),r=o(t,"logo",7),d=E(!1);var b={get title(){return s()},set title(a){s(a),c()},get logo(){return r()},set logo(a){r(a),c()}},e=B(),n=h(e),l=y(n,2),_=h(l,!0);return p(l),p(e),D(e,()=>A({setExpanded:a=>q(d,a,!0)})),x(()=>{u(e,1,w({"mc-sidebar__header":!0,"mc-sidebar__header--expanded":m(d),"mc-sidebar__header--collapsed":!m(d)}),"svelte-1h67ayb"),H(n,"src",r()),S(_,s())}),j(i,e),k(b)}customElements.define("m-sidebar-header",g(F,{title:{},logo:{}},[],[],{mode:"open"}));
//# sourceMappingURL=SidebarHeader.js.map
