import{a as R}from"./chunk-ZZTWGFBG.js";import{a as C,b as P}from"./chunk-YDBSIUIB.js";import{a as w}from"./chunk-WKJ7KGG6.js";import{b as y}from"./chunk-PHKC32IO.js";import"./chunk-URYZ4Z52.js";import"./chunk-RGLK5IEE.js";import"./chunk-7PGW2JNG.js";import"./chunk-WQWKKHX2.js";import{c as k,g as D,h as M}from"./chunk-H7G576MG.js";import"./chunk-GZFOY262.js";import"./chunk-VJ5OMPQD.js";import"./chunk-DN5K4BTU.js";import"./chunk-R3RCTP7Y.js";import"./chunk-7LBYGUEC.js";import"./chunk-QE43GCDT.js";import{a as i}from"./chunk-UCJUJL4S.js";import"./chunk-SB6JKN5N.js";import"./chunk-QKS32OUP.js";import"./chunk-E4VNMGFY.js";import"./chunk-SMPG6HOB.js";import"./chunk-TQUYGBVG.js";import"./chunk-HLOOXAIQ.js";import"./chunk-VUTL6VWZ.js";import"./chunk-ZGZL4C6F.js";import"./chunk-U4UBJDXL.js";import"./chunk-KUFH5V3T.js";import"./chunk-V7D5UQ6P.js";import"./chunk-ICRG7CY6.js";import"./chunk-VFZ3Y5O2.js";import"./chunk-LOOUJWFZ.js";import"./chunk-WCHENBV3.js";import"./chunk-2XR2VGOA.js";import"./chunk-XZLMPP4F.js";import"./chunk-VJOXMIQY.js";import"./chunk-UR42IA56.js";import{Aa as c,E as p,Jb as v,Ka as u,Kb as g,Wh as S,aa as s,eb as d,fb as f,gb as l,hb as b,s as a,zc as h}from"./chunk-CUA2BO3S.js";import{i as m}from"./chunk-75J4RO44.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:"Domovsk\xE1 str\xE1nka"},reuse:{enabled:!0,key:"home"}}}];export{K as default};/**i18n:42440f0a8726af1836b15b193adfd3f46a3ecd983a1ed2a1e05982c4f600c8a1*///# sourceMappingURL=chunk-QIFRVCGP.js.map