import{Eo as kb,Fo as l$,Gr as Va,Ia as f$,No as kx,Q as EV,Qi as bV,Wa as g,_s as ph,ec as th,fc as vm,it as FB,mt as Fx,rs as nt,vc as wp,ya as d$}from"./chunk-B_pj7Jpm.js";import{t as X1}from"./chunk-CgIzqGPc.js";import{t as c}from"./chunk-D7eF6KoS2.js";function N(t,e){t&1&&(wp(0,`a`,4),l$(1,1),kb())}function A(t,e){if(t&1&&(wp(0,`my-alert`,2),th(1,`my-global-icon`,3),wp(2,`div`),kx(3,0),th(4,`strong`)(5,`strong`)(6,`strong`),Fx(),kb(),EV(7,N,2,0,`a`,4),kb()),t&2){let n=f$();FB(7),bV(n.hideLink()?-1:7)}}var T=class t{authService=g(nt);hideLink=ph(!1);user=null;hasChannelNotConfigured(){return this.user.videoChannels?this.user.videoChannels.filter(e=>e.avatars.length===0||!e.description).length>0:!1}ngOnInit(){this.user=this.authService.getUser()}static ɵfac=function(n){return new(n||t)};static ɵcmp=Va({type:t,selectors:[[`my-channels-setup-message`]],inputs:{hideLink:[1,`hideLink`]},decls:1,vars:1,consts:()=>{let e;e=`Alguns dels vostres canals no estan completament configurats. Feu que siguin acollidors i explícits sobre el que publiqueu afegint un ${`[�#4�|�#5�|�#6�]`}bàner${`[�/#4�|�/#5�|�/#6�]`}, un ${`[�#4�|�#5�|�#6�]`}avatar${`[�/#4�|�/#5�|�/#6�]`} i una ${`[�#4�|�#5�|�#6�]`}descripció${`[�/#4�|�/#5�|�/#6�]`}.`,e=d$(e);let n;return n="Configurar els meus canals",[e,n,[`type`,`primary`,1,`text-center`],[`iconName`,`tip`],[`routerLink`,`/my-library/video-channels`,1,`peertube-button-link`,`secondary-button`,`mt-2`]]},template:function(n,i){n&1&&EV(0,A,8,1,`my-alert`,2),n&2&&bV(i.hasChannelNotConfigured()?0:-1)},dependencies:[X1,vm,c],styles:[`my-global-icon[_ngcontent-%COMP%]{margin-bottom:.75rem;display:inline-block;width:32px;height:32px;line-height:32px}`],changeDetection:1})};export{T as t};
//# debugId=4e5d32a4-d860-566b-a236-e22c8f4f4615
//# sourceMappingURL=chunk-GtFibTxz.js.map