import{Br as Ux,Eo as kb,Fo as l$,Gr as Va,Ia as f$,Ic as zb,Jr as Vh,Kn as Pw,Q as EV,Qi as bV,U as Dt,Wa as g,Za as gx,ai as X$,ec as th,ho as j$,it as FB,nt as Et,rc as u$,ts as nh,vc as wp,wt as Hb}from"./chunk-B_pj7Jpm.js";import"./chunk-CgIzqGPc.js";import"./chunk-B35GeA_N.js";import{t as L}from"./chunk-BPf5A8RB.js";function Y(e,o){e&1&&(Hb(0),l$(1,1),nh())}function U(e,o){e&1&&(Hb(0),l$(1,2),nh())}function q(e,o){if(e&1&&(wp(0,`div`,17)(1,`strong`),j$(2),kb(),wp(3,`span`,19),l$(4,0),kb(),wp(5,`div`,20),EV(6,Y,2,0,`ng-container`)(7,U,2,0,`ng-container`),kb(),th(8,`my-login-link`,21),kb()),e&2){let n=f$();FB(2),zb(``,n.status,`.`),FB(4),bV(n.type===`video`?6:7)}}function W(e,o){e&1&&(Hb(0),l$(1,4),nh())}function j(e,o){e&1&&(Hb(0),l$(1,5),nh())}function H(e,o){if(e&1&&(wp(0,`div`,17)(1,`strong`),j$(2),kb(),wp(3,`span`,19),l$(4,3),kb(),wp(5,`div`,20),EV(6,W,2,0,`ng-container`)(7,j,2,0,`ng-container`),kb()()),e&2){let n=f$();FB(2),zb(``,n.status,`.`),FB(4),bV(n.type===`video`?6:7)}}function B(e,o){if(e&1&&(wp(0,`div`,17)(1,`strong`),j$(2),kb(),wp(3,`span`,19),j$(4,`I'm a teapot.`),kb(),wp(5,`div`,20),l$(6,6),kb(),wp(7,`div`,22),l$(8,7),kb()()),e&2){let n=f$();FB(2),zb(``,n.status,`.`)}}function J(e,o){if(e&1&&(Hb(0),l$(1,12),nh()),e&2){let n=f$(2);FB(),Ux(n.pathname),u$(1)}}function K(e,o){if(e&1&&(Hb(0),l$(1,13),nh()),e&2){let n=f$(2);FB(),Ux(n.pathname),u$(1)}}function Q(e,o){e&1&&(Hb(0),l$(1,14),nh())}function V(e,o){e&1&&(Hb(0),l$(1,15),nh())}function Z(e,o){if(e&1&&(wp(0,`div`,17)(1,`strong`),j$(2),kb(),wp(3,`span`,19),l$(4,8),kb(),wp(5,`div`,20),EV(6,J,2,1,`ng-container`)(7,K,2,1,`ng-container`),kb(),wp(8,`div`,23)(9,`span`),l$(10,9),kb(),wp(11,`ul`)(12,`li`),l$(13,10),kb(),wp(14,`li`),EV(15,Q,2,0,`ng-container`)(16,V,2,0,`ng-container`),kb(),wp(17,`li`),l$(18,11),kb()()()()),e&2){let n=f$();FB(2),zb(``,n.status,`.`),FB(4),bV(n.type===`video`?6:7),FB(9),bV(n.type===`video`?15:16)}}var ce=[{path:``,component:class e{titleService=g(Vh);router=g(Et);status=Dt.NOT_FOUND_404;type=`other`;constructor(){let o=this.router.currentNavigation()?.extras.state;this.type=o?.type||this.type,this.status=o?.obj.status||this.status}ngOnInit(){this.pathname.includes(`teapot`)&&(this.status=Dt.I_AM_A_TEAPOT_418,this.titleService.setTitle("Som konvica na čaj"+` - PeerTube`))}get pathname(){return window.location.pathname}getMascotName(){switch(this.status){case Dt.I_AM_A_TEAPOT_418:return`happy`;case Dt.FORBIDDEN_403:return`arguing`;case Dt.NOT_FOUND_404:default:return`defeated`}}static ɵfac=function(n){return new(n||e)};static ɵcmp=Va({type:e,selectors:[[`my-error-page`]],decls:6,vars:5,consts:()=>{let o;o="Nie ste tu autorizovaný.";let n;n="Musíte sa prihlásiť na pozeranie videa.";let d;d="Možno sa musíte prihlásiť na pozretie zdroja.";let S;S="Nie ste tu autorizovaný.";let M;M="Môžete skontrolovať či váš účet je povolaný vlastníkom videa alebo servera.";let N;N="Môžete skontrolovať či váš účet je povolený vlastníkom zdroja alebo servera.";let f;f="Vo vyžiadanom dizajne sa miesia sladké kúsky s jemnou zemitosťou.";let G;G="Zdá sa, že sa Sépii páči.";let y;y="To je chyba.";let h;h="Možné dôvody:";let $;$="Mohli ste použiť starý alebo pokazený odkaz";let v;v="Mohli ste zle prepísať URL adresu";let x;x=`Nepodarilo sa nám nájsť žiadne video na URL adrese ${`�0�`} ktorú ste zadali.`;let I;I=`Nepodarilo sa nám nájsť žiadny zdroj viazaný na URL adresu ${`�0�`} ktorú ste zadali.`;let b;b="Video je presunuté alebo zmazané";let L;return L="Zdroj môže byť presunutý alebo zmazaný",[o,n,d,S,M,N,f,G,y,h,$,v,x,I,b,L,[1,`root`],[1,`box`],[1,`mb-4`,`h-auto`,3,`src`,`alt`],[1,`ms-1`,`muted`],[1,`text`,`mt-4`],[`className`,`peertube-button-big-link primary-button mt-5`],[1,`muted`],[1,`muted`,`mt-4`]]},template:function(n,d){n&1&&(wp(0,`div`,16),EV(1,q,9,2,`div`,17)(2,H,8,2,`div`,17)(3,B,9,1,`div`,17)(4,Z,19,3,`div`,17),th(5,`img`,18),kb()),n&2&&(FB(),bV(d.status===401?1:d.status===403?2:d.status===418?3:4),FB(4),gx(`src`,X$(`/client/assets/images/mascot/`,d.getMascotName(),`.svg`),Pw)(`alt`,X$(``,d.status,` mascot`)))},dependencies:[L],styles:[`.root[_ngcontent-%COMP%]{height:100%;text-align:center;display:flex;justify-content:center;flex-direction:column-reverse;margin-inline-start:auto;margin-inline-end:auto;padding-top:calc(2.025rem + 9.3vw)}@media(min-width:1200px){.root[_ngcontent-%COMP%]{padding-top:9rem}}.root[_ngcontent-%COMP%]{width:calc(5.625rem + 52.5vw)}@media(min-width:1200px){.root[_ngcontent-%COMP%]{width:45rem}}.root[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]{text-align:start;padding:0 15px;font-size:1.25rem}.root[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-inline-start:auto;width:calc(2.525rem + 15.3vw)}@media(min-width:1200px){.root[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:14rem}}@media screen and (max-width:500px){.root[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-inline-end:auto}}`],changeDetection:1})},data:{meta:{title:"Nenájdené"}}}];export{ce as default};
//# debugId=723148ad-9b97-50c3-adce-a74985a151c3
//# sourceMappingURL=chunk-3MJO26U1.js.map