import{a as R}from"./chunk-PRNKQJWV.js";import{a as C,b as P}from"./chunk-6IC63UEF.js";import{a as w}from"./chunk-AWIPN2TO.js";import{b as y}from"./chunk-AOPEZ5DU.js";import"./chunk-MKHGO74C.js";import"./chunk-TOHZISBS.js";import"./chunk-N3OXCBF5.js";import"./chunk-2WXB7LGF.js";import{c as k,g as D,h as M}from"./chunk-K3PMQOQZ.js";import"./chunk-DCEZPJEU.js";import"./chunk-LK5Y3ZQB.js";import"./chunk-KUUL622F.js";import"./chunk-NQHJR7NL.js";import"./chunk-7Z4MFK7Q.js";import"./chunk-HTRNMWZ3.js";import{a as i}from"./chunk-KNVLYWSH.js";import"./chunk-WVP4DFTI.js";import"./chunk-UTX5PPUY.js";import"./chunk-BDQBGB3Z.js";import"./chunk-3AGKNXZ2.js";import"./chunk-5QIC22QM.js";import"./chunk-VSUJFEUT.js";import"./chunk-ZAUYFBHZ.js";import"./chunk-G3BFCT3W.js";import"./chunk-XAJ6TVAS.js";import"./chunk-EJP4YEMY.js";import"./chunk-3WU5JWKD.js";import"./chunk-TGL4Z6ZU.js";import"./chunk-VUB3KB5Z.js";import"./chunk-LG22A7PE.js";import"./chunk-DH2KIER4.js";import"./chunk-RO4CBHM7.js";import"./chunk-Z4R7HYSO.js";import"./chunk-TLVZZXDH.js";import"./chunk-RJPQLN64.js";import{Da as c,E as p,La as u,Lb as v,Mb as g,aa as s,ci as S,gb as d,hb as f,ib as l,jb as b,s as a,yc as h}from"./chunk-WSBGJRUM.js";import{i as m}from"./chunk-PMOLICDQ.js";var F=["contentWrapper"],W=(()=>{let t=class t{customPageService=s(i);sub;peertubeRouter=s(S);disabled=!1;contentWrapper=h("contentWrapper");homepageContent;ngOnInit(){this.customPageService.getInstanceHomepage().subscribe(({content:o})=>this.homepageContent=o),window.location.pathname==="/"&&(this.sub=a(window,"scroll").pipe(p(250)).subscribe(()=>{this.disabled||window.pageYOffset>300&&(this.peertubeRouter.silentNavigate([],{}),this.sub.unsubscribe(),this.sub=void 0);}));}ngOnDestroy(){this.sub&&this.sub.unsubscribe();}disableForReuse(){this.disabled=!0;}enabledForReuse(){this.disabled=!0;}};m(t,"\u0275fac",function(e){return new(e||t)();}),m(t,"\u0275cmp",u({type:t,selectors:[["ng-component"]],viewQuery:function(e,r){e&1&&v(r.contentWrapper,F,5),e&2&&g();},decls:2,vars:1,consts:[[1,"margin-content"],[3,"content"]],template:function(e,r){e&1&&(f(0,"div",0),b(1,"my-custom-markup-container",1),l()),e&2&&(c(),d("content",r.homepageContent));},dependencies:[R],encapsulation:2}));let n=t;return n;})();var K=[{path:"",component:W,providers:[i,w,y,P,C,k,M,D],data:{meta:{title:"\u0108efpa\u011Do"},reuse:{enabled:!0,key:"home"}}}];export{K as default};/**i18n:3907c1bc44ea3b180445250ac6c616b106e81f719372623351dcd73c005dc65a*///# sourceMappingURL=chunk-VKFWRQ62.js.map