import{K as qp,N as tl,b as Pa,R as cl,U as x3,cg as ef,ch as tf,k as w2,o as x2,s as sp,v as vV,d as lb,S as SV,a3 as H0,a4 as d$}from'./main-C0Sl1OBd.js';var d=o=>({small:o});function f(o,T){if(o&1&&(sp(0,"span",3),vV(1,0),lb()),o&2){let e=SV();H0("ngClass",d$(2,d,e.small()))("ngbTooltip",e.ownerTooltip);}}function M(o,T){if(o&1&&(sp(0,"span",4),vV(1,1),lb()),o&2){let e=SV();H0("ngClass",d$(2,d,e.small()))("ngbTooltip",e.editorTooltip);}}function O(o,T){if(o&1&&(sp(0,"span",5),vV(1,2),lb()),o&2){let e=SV();H0("ngClass",d$(2,d,e.small()))("ngbTooltip",e.invitationTooltip);}}var H=(()=>{class o{type=qp.required();small=qp(false,{transform:tl});disableTooltip=qp(false,{transform:tl});editorTooltip;ownerTooltip;invitationTooltip;ngOnInit(){this.editorTooltip=this.disableTooltip()?null:"An editor can manage videos in this channel",this.ownerTooltip=this.disableTooltip()?null:"Owner of the channel",this.invitationTooltip=this.disableTooltip()?null:"Invited to be an editor to manage videos in this channel";}static ɵfac=function(t){return new(t||o)();};static ɵcmp=Pa({type:o,selectors:[["my-collaborator-state"]],inputs:{type:[1,"type"],small:[1,"small"],disableTooltip:[1,"disableTooltip"]},decls:3,vars:1,consts:()=>{let e;e="Propietario";let t;t="Editor";let n;return n="Invitaci\xF3n enviada",[e,t,n,["container","body",1,"collaborator-role","collaborator-role-owner",3,"ngClass","ngbTooltip"],["container","body",1,"collaborator-role","collaborator-role-editor",3,"ngClass","ngbTooltip"],["container","body",1,"collaborator-role","collaborator-role-invited",3,"ngClass","ngbTooltip"]];},template:function(t,n){t&1&&w2(0,f,2,4,"span",3)(1,M,2,4,"span",4)(2,O,2,4,"span",5),t&2&&x2(n.type()==="owner"?0:n.type()==="accepted"?1:n.type()==="invited"?2:-1);},dependencies:[cl,x3,ef,tf],styles:[".collaborator-role[_ngcontent-%COMP%]{border-radius:4px;padding:1px 6px;width:fit-content;line-height:normal;border:1px solid;white-space:nowrap;font-size:.75rem}.collaborator-role.small[_ngcontent-%COMP%]{padding:1px 6px;font-size:.625rem}.collaborator-role-owner[_ngcontent-%COMP%]{color:var(--bg-secondary-400);background-color:var(--fg-200);border-color:var(--fg-200)}.collaborator-role-editor[_ngcontent-%COMP%], .collaborator-role-invited[_ngcontent-%COMP%]{color:var(--fg-300);border-color:var(--secondary-icon-color)}"],changeDetection:1});}return o;})();/**i18n:c8855ca17fb20171aa9dd43d012e42547cb1f0cfd9c21d4dc05679bbbdf5ccb8*/export{H};//# sourceMappingURL=chunk-CryX_e-u.js.map