1import{a as I}from"./chunk-G4TKFDM5.js";import{a as S,b as H}from"./chunk-PJKYA6AI.js";import{a as R}from"./chunk-AY7NRASF.js";import{b as C}from"./chunk-MJ7YGT2J.js";import"./chunk-FGO7IWQW.js";import"./chunk-O5IYCHZC.js";import"./chunk-LYSJ47UW.js";import"./chunk-ARBLAW36.js";import{b as w,f as D,g as k}from"./chunk-QMQZZIR5.js";import"./chunk-XGC7JZAU.js";import"./chunk-MBPSVMMT.js";import"./chunk-AGD5WKED.js";import"./chunk-62ATBB34.js";import"./chunk-PVOHGV2Y.js";import"./chunk-LQVRZI54.js";import{a as n}from"./chunk-PXSCR5MN.js";import"./chunk-WOBKXJK4.js";import"./chunk-BWH75TCH.js";import"./chunk-SSETSBQT.js";import"./chunk-EO7FPGTW.js";import"./chunk-Q6I3NOHV.js";import"./chunk-KIVJRE4O.js";import"./chunk-QXVUYXIG.js";import"./chunk-OR7MKCZD.js";import"./chunk-KEEUBRDB.js";import"./chunk-GGNTEXQL.js";import"./chunk-KLT2ZASF.js";import"./chunk-V3JZPFOE.js";import"./chunk-PG4F5PSG.js";import"./chunk-CIVVPYF3.js";import"./chunk-FZFWY5Y6.js";import"./chunk-EGEBNI4V.js";import"./chunk-EBOVR5NW.js";import"./chunk-UME7L37K.js";import"./chunk-R76LZEZS.js";import{Ah as y,Ca as c,E as p,Ec as h,Ma as u,Qb as v,Rb as g,aa as m,lb as l,mb as f,nb as d,ob as b,s as a}from"./chunk-HVCWS4IF.js";import{j as s}from"./chunk-KJ7W2O2B.js";var O=["contentWrapper"],t=class t{customPageService=m(n);sub;peertubeRouter=m(y);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;}};s(t,"\u0275fac",function(e){return new(e||t)();}),s(t,"\u0275cmp",u({type:t,selectors:[["ng-component"]],viewQuery:function(e,r){e&1&&v(r.contentWrapper,O,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),d()),e&2&&(c(),l("content",r.homepageContent));},dependencies:[I],encapsulation:2}));var i=t;var _=[{path:"",component:i,providers:[n,R,C,H,S,w,k,D],data:{meta:{title:"Homepage"},reuse:{enabled:!0,key:"home"}}}];export{_ as default};/**i18n:347eeb695970c32bc275618edc2e751c67145d9fc3012e70543c114a99b9e016*/
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.