import{g,aQ as Xe,L as qp,b as Pa,T as Tr,X as Xh,bW as v,m as _2,A as w2,ai as EV,s as sp,e as Pp,i as ix,h as sx,u as ub,o as bV,z as zB,y as yV}from'./main-BiUBeaMj.js';function A(n,h){n&1&&(sp(0,"a",4),yV(1,1),ub());}function N(n,h){if(n&1&&(sp(0,"my-alert",2),Pp(1,"my-global-icon",3),sp(2,"div"),ix(3,0),Pp(4,"strong")(5,"strong")(6,"strong"),sx(),ub(),_2(7,A,2,0,"a",4),ub()),n&2){let e=bV();zB(7),w2(e.hideLink()?-1:7);}}var b=(()=>{class n{authService=g(Xe);hideLink=qp(false);user=null;hasChannelNotConfigured(){return this.user.videoChannels?this.user.videoChannels.filter(e=>e.avatars.length===0||!e.description).length>0:false;}ngOnInit(){this.user=this.authService.getUser();}static ɵfac=function(t){return new(t||n)();};static ɵcmp=Pa({type:n,selectors:[["my-channels-setup-message"]],inputs:{hideLink:[1,"hideLink"]},decls:1,vars:1,consts:()=>{let e;e="Nokre av kanalane dine er ikkje heilt ferdig sette opp. Du kan gjera dei finare og lettare \xE5 finna vd \xE5 leggja til eit "+"[\uFFFD#4\uFFFD|\uFFFD#5\uFFFD|\uFFFD#6\uFFFD]"+"banner"+"[\uFFFD/#4\uFFFD|\uFFFD/#5\uFFFD|\uFFFD/#6\uFFFD]"+", ein "+"[\uFFFD#4\uFFFD|\uFFFD#5\uFFFD|\uFFFD#6\uFFFD]"+"avatar"+"[\uFFFD/#4\uFFFD|\uFFFD/#5\uFFFD|\uFFFD/#6\uFFFD]"+" og ei "+"[\uFFFD#4\uFFFD|\uFFFD#5\uFFFD|\uFFFD#6\uFFFD]"+"skildring"+"[\uFFFD/#4\uFFFD|\uFFFD/#5\uFFFD|\uFFFD/#6\uFFFD]"+".",e=EV(e);let t;return t="Set up my channels",[e,t,["type","primary",1,"text-center"],["iconName","tip"],["routerLink","/my-library/video-channels",1,"peertube-button-link","secondary-button","mt-2"]];},template:function(t,i){t&1&&_2(0,N,8,1,"my-alert",2),t&2&&w2(i.hasChannelNotConfigured()?0:-1);},dependencies:[Tr,Xh,v],styles:["my-global-icon[_ngcontent-%COMP%]{margin-bottom:.75rem;display:inline-block;width:32px;height:32px;line-height:32px}"],changeDetection:1});}return n;})();/**i18n:fad79908930cbb4c308e7550a5fe49bb3841dbb330066a6429aebaa006173605*/export{b};//# sourceMappingURL=chunk-Dvnc2v85.js.map