import{L as qp,R as tl,b as Pa,U as cl,V as w3,cg as ef,ch as tf,m as _2,A as w2,s as sp,y as yV,u as ub,o as bV,a3 as B0,a4 as l$}from'./main-sJAtkqeq.js';var d=o=>({small:o});function f(o,T){if(o&1&&(sp(0,"span",3),yV(1,0),ub()),o&2){let e=bV();B0("ngClass",l$(2,d,e.small()))("ngbTooltip",e.ownerTooltip);}}function M(o,T){if(o&1&&(sp(0,"span",4),yV(1,1),ub()),o&2){let e=bV();B0("ngClass",l$(2,d,e.small()))("ngbTooltip",e.editorTooltip);}}function O(o,T){if(o&1&&(sp(0,"span",5),yV(1,2),ub()),o&2){let e=bV();B0("ngClass",l$(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:"Editor m\u016F\u017Ee spravovat videa v tomto kan\xE1lu",this.ownerTooltip=this.disableTooltip()?null:"Vlastn\xEDk kan\xE1lu",this.invitationTooltip=this.disableTooltip()?null:"Pozv\xE1n jako editor pro spr\xE1vu vide\xED v tomto kan\xE1lu";}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="Vlastn\xEDk";let t;t="Editor";let n;return n="Pozv\xE1nka odesl\xE1na",[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&&_2(0,f,2,4,"span",3)(1,M,2,4,"span",4)(2,O,2,4,"span",5),t&2&&w2(n.type()==="owner"?0:n.type()==="accepted"?1:n.type()==="invited"?2:-1);},dependencies:[cl,w3,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:fad79908930cbb4c308e7550a5fe49bb3841dbb330066a6429aebaa006173605*/export{H};//# sourceMappingURL=chunk-CzJ2GmUK.js.map