import{a as E}from"./chunk-6RMFHWJV.js";import{b as k}from"./chunk-SPNVV2KO.js";import{j as S}from"./chunk-N7PC5CHF.js";import{$ as I,X as C,Y as T,Z as M,aa as N}from"./chunk-JIDGXFMJ.js";import"./chunk-MTR2L2TG.js";import"./chunk-5JDCLYZA.js";import"./chunk-73IMXZSJ.js";import"./chunk-KVTHJWZA.js";import{Bc as _,Hb as p,Jb as g,Qb as v,Rb as f,Sb as r,Tb as m,Ub as d,Yb as w,hb as o,ic as x,jc as s,na as l,qa as u,va as h,vc as y,wa as b,xc as D}from"./chunk-FWZCAEAJ.js";import"./chunk-CWTPBX7D.js";var V=(t,e)=>e.id;function $(t,e){if(t&1){let n=w();r(0,"button",6),x("click",function(){let a=h(n).$implicit,F=s();return b(F.themeService.setTheme(a.id))}),d(1,"bi",4),y(2),m()}if(t&2){let n=e.$implicit,c=s();g("active",n.id===c.themeService.selectedTheme().id),o(),p("name",n.icon),o(),D(" ",n.name," ")}}var A=(()=>{let e=class e{constructor(){this.themeService=l(E)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=u({type:e,selectors:[["app-outside-layout"]],standalone:!0,features:[_],decls:9,vars:1,consts:[[1,"container","container-md","pt-5"],[1,"theme-switcher"],["ngbDropdown","","display","dynamic"],["type","button","ngbDropdownToggle","",1,"btn","btn-primary"],[3,"name"],["ngbDropdownMenu","","aria-labelledby","themeDropdown",1,"p-1"],["ngbDropdownItem","",1,"rounded-1","mt-1",3,"click"],["ngbDropdownItem","","class","rounded-1 mt-1",3,"active"]],template:function(i,a){i&1&&(r(0,"div",0),d(1,"router-outlet"),m(),r(2,"div",1)(3,"div",2)(4,"button",3),d(5,"bi",4),m(),r(6,"div",5),v(7,$,3,4,"button",7,V),m()()()),i&2&&(o(5),p("name",a.themeService.selectedTheme().icon),o(2),f(a.themeService.themes))},dependencies:[N,M,C,I,T,S,k],styles:[".theme-switcher[_ngcontent-%COMP%]{z-index:1000;right:20px;bottom:40px;position:fixed}"],changeDetection:0});let t=e;return t})();export{A as MaxiLayout};
