import{Ao as jx,Br as T$,Fn as MV,Gn as NV,Ja as g,Nr as S$,Oo as jw,X as D$,Zs as th,c as $b,fn as Kb,gt as Ex,ht as Et,ii as Vh,k as Bb,n as $B,nn as J$,pa as c5,rs as nh,s as $a,st as Dt,yc as wp}from"./chunk-b0nJCs5_.js";import"./chunk-CDRFWLLW.js";import"./chunk-d9xmxGyl.js";import{t as L}from"./chunk-CXzREeiB.js";function Y(e,o){e&1&&($b(0),S$(1,1),nh())}function U(e,o){e&1&&($b(0),S$(1,2),nh())}function q(e,o){if(e&1&&(wp(0,`div`,17)(1,`strong`),J$(2),Bb(),wp(3,`span`,19),S$(4,0),Bb(),wp(5,`div`,20),NV(6,Y,2,0,`ng-container`)(7,U,2,0,`ng-container`),Bb(),th(8,`my-login-link`,21),Bb()),e&2){let n=D$();$B(2),Kb(``,n.status,`.`),$B(4),MV(n.type===`video`?6:7)}}function W(e,o){e&1&&($b(0),S$(1,4),nh())}function j(e,o){e&1&&($b(0),S$(1,5),nh())}function H(e,o){if(e&1&&(wp(0,`div`,17)(1,`strong`),J$(2),Bb(),wp(3,`span`,19),S$(4,3),Bb(),wp(5,`div`,20),NV(6,W,2,0,`ng-container`)(7,j,2,0,`ng-container`),Bb()()),e&2){let n=D$();$B(2),Kb(``,n.status,`.`),$B(4),MV(n.type===`video`?6:7)}}function B(e,o){if(e&1&&(wp(0,`div`,17)(1,`strong`),J$(2),Bb(),wp(3,`span`,19),J$(4,`I'm a teapot.`),Bb(),wp(5,`div`,20),S$(6,6),Bb(),wp(7,`div`,22),S$(8,7),Bb()()),e&2){let n=D$();$B(2),Kb(``,n.status,`.`)}}function J(e,o){if(e&1&&($b(0),S$(1,12),nh()),e&2){let n=D$(2);$B(),jx(n.pathname),T$(1)}}function K(e,o){if(e&1&&($b(0),S$(1,13),nh()),e&2){let n=D$(2);$B(),jx(n.pathname),T$(1)}}function Q(e,o){e&1&&($b(0),S$(1,14),nh())}function V(e,o){e&1&&($b(0),S$(1,15),nh())}function Z(e,o){if(e&1&&(wp(0,`div`,17)(1,`strong`),J$(2),Bb(),wp(3,`span`,19),S$(4,8),Bb(),wp(5,`div`,20),NV(6,J,2,1,`ng-container`)(7,K,2,1,`ng-container`),Bb(),wp(8,`div`,23)(9,`span`),S$(10,9),Bb(),wp(11,`ul`)(12,`li`),S$(13,10),Bb(),wp(14,`li`),NV(15,Q,2,0,`ng-container`)(16,V,2,0,`ng-container`),Bb(),wp(17,`li`),S$(18,11),Bb()()()()),e&2){let n=D$();$B(2),Kb(``,n.status,`.`),$B(4),MV(n.type===`video`?6:7),$B(9),MV(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("Mi estas tekruĉo"+` - 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=$a({type:e,selectors:[[`my-error-page`]],decls:6,vars:5,consts:()=>{let o;o="Vi ne estas rajtigita tie ĉi.";let n;n="You might need to login to see the video.";let d;d="You might need to login to see the resource.";let S;S="Vi ne estas rajtigita tie ĉi.";let M;M="You might need to check your account is allowed by the video or instance owner.";let N;N="You might need to check your account is allowed by the resource or instance owner.";let f;f="Korpo de la petitaĵo kunigas dolĉetan guston kun milda tereco.";let G;G="Ŝajnas, ke ĝi plaĉas al Sepio.";let y;y="Tio estas eraro.";let h;h="Eblaj kialoj:";let $;$="La ligilo povus esti eksdata aŭ rompita";let v;v="La adreso aŭ URL povus esti malĝuste entajpitaj";let x;x=`Ni ne trovis iun filmon ligitan al la URL ${`�0�`} kiun vi serĉis.`;let I;I=`Ni ne trovis iun rimedon ligitan al la URL ${`�0�`} kiun vi serĉis.`;let b;b="Eble la filmo moviĝis aŭ foriĝis";let L;return L="Eble la rimedo moviĝis aŭ foriĝis",[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),NV(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),Bb()),n&2&&($B(),MV(d.status===401?1:d.status===403?2:d.status===418?3:4),$B(4),Ex(`src`,c5(`/client/assets/images/mascot/`,d.getMascotName(),`.svg`),jw)(`alt`,c5(``,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:"Ne troviĝis"}}}];export{ce as default};
//# debugId=417759ac-479b-53e3-8626-f9a2601a98b5
//# sourceMappingURL=chunk-COwLXdAq.js.map