import{Fn as MV,Gn as NV,Ja as g,Jt as Hx,L as Bx,Nr as S$,R as C$,X as D$,Zs as th,_s as ph,as as nt,dc as vm,k as Bb,n as $B,s as $a,yc as wp}from"./chunk-b0nJCs5_.js";import{t as X1}from"./chunk-CDRFWLLW.js";import{t as c}from"./chunk-DNBjyHdz2.js";function N(t,e){t&1&&(wp(0,`a`,4),S$(1,1),Bb())}function A(t,e){if(t&1&&(wp(0,`my-alert`,2),th(1,`my-global-icon`,3),wp(2,`div`),Hx(3,0),th(4,`strong`)(5,`strong`)(6,`strong`),Bx(),Bb(),NV(7,N,2,0,`a`,4),Bb()),t&2){let n=D$();$B(7),MV(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=$a({type:t,selectors:[[`my-channels-setup-message`]],inputs:{hideLink:[1,`hideLink`]},decls:1,vars:1,consts:()=>{let e;e=`Certaines de vos chaînes ne sont pas entièrement configurées. Rendez-les accueillantes et explicites sur ce que vous publiez en ajoutant une ${`[�#4�|�#5�|�#6�]`}bannière${`[�/#4�|�/#5�|�/#6�]`}, un ${`[�#4�|�#5�|�#6�]`}avatar${`[�/#4�|�/#5�|�/#6�]`} et une ${`[�#4�|�#5�|�#6�]`}description${`[�/#4�|�/#5�|�/#6�]`}.`,e=C$(e);let n;return n="Configurer mes chaînes",[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&&NV(0,A,8,1,`my-alert`,2),n&2&&MV(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=1c184757-f7c4-5d3e-83b2-99ff2d8d23c7
//# sourceMappingURL=chunk-C0lN9sgs2.js.map