1import{a as R}from"./chunk-7TVC6KAI.js";import{a as C,b as P}from"./chunk-JXKTNGMD.js";import{a as w}from"./chunk-VZAELX7W.js";import{b as y}from"./chunk-C2KV35ZG.js";import"./chunk-FM5PYVED.js";import"./chunk-ECGNRZAO.js";import"./chunk-G6JMM6YH.js";import"./chunk-THGGAECT.js";import{c as k,g as D,h as M}from"./chunk-QLOAR54U.js";import"./chunk-XOTV7GJG.js";import"./chunk-DVYB3SDD.js";import"./chunk-Y7Q577DU.js";import"./chunk-TLSMBXOV.js";import"./chunk-PCNKN7TU.js";import"./chunk-7WRF56BE.js";import{a as i}from"./chunk-52NAGQAE.js";import"./chunk-G3J3JU5I.js";import"./chunk-RWFRRD6F.js";import"./chunk-JF6CNN2A.js";import"./chunk-UIX23F7I.js";import"./chunk-SGCHCWLM.js";import"./chunk-76SWT53P.js";import"./chunk-BJVL6ZJ5.js";import"./chunk-MBQWFBKS.js";import"./chunk-F3H57332.js";import"./chunk-VI342OHG.js";import"./chunk-DEGXQ3R2.js";import"./chunk-5TE7477A.js";import"./chunk-VQCVCUXF.js";import"./chunk-PR244PNT.js";import"./chunk-MS2CS6MN.js";import"./chunk-KLZQNCJY.js";import"./chunk-7JTNILXC.js";import"./chunk-CUOYDGDO.js";import"./chunk-TTJW756Y.js";import{Ch as S,Da as c,F as p,Fc as h,Na as u,Rb as v,Sb as g,ba as s,mb as d,nb as f,ob as l,pb as b,t as a}from"./chunk-NY4TI4KT.js";import{i as m}from"./chunk-IQVXR75E.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:"Homepage"},reuse:{enabled:!0,key:"home"}}}];export{K as default};/**i18n:347eeb695970c32bc275618edc2e751c67145d9fc3012e70543c114a99b9e016*///# sourceMappingURL=chunk-3NX65QBU.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.