import{G as f,H as u}from"./chunk-IX3C5NWZ.js";import{$a as E,Bb as p,Fc as g,Ka as m,Oc as N,Zc as S,_a as b,eb as r,ec as c,fb as a,gb as s,vb as _,yc as d}from"./chunk-W6R7I2TH.js";import{i as T}from"./chunk-PTJGHD3V.js";var A=o=>({small:o});function M(o,e){if(o&1&&(a(0,"span",3),_(1,0),s()),o&2){let t=p();r("ngClass",c(2,A,t.small()))("ngbTooltip",t.ownerTooltip);}}function O(o,e){if(o&1&&(a(0,"span",4),_(1,1),s()),o&2){let t=p();r("ngClass",c(2,A,t.small()))("ngbTooltip",t.editorTooltip);}}function R(o,e){if(o&1&&(a(0,"span",5),_(1,2),s()),o&2){let t=p();r("ngClass",c(2,A,t.small()))("ngbTooltip",t.invitationTooltip);}}var D=(()=>{let e=class e{type=d.required();small=d(!1,{transform:g});disableTooltip=d(!1,{transform:g});editorTooltip;ownerTooltip;invitationTooltip;ngOnInit(){this.editorTooltip=this.disableTooltip()?null:"Bi\xEAn t\u1EADp vi\xEAn c\xF3 th\u1EC3 qu\u1EA3n l\xFD video tr\xEAn k\xEAnh n\xE0y",this.ownerTooltip=this.disableTooltip()?null:"Ch\u1EE7 s\u1EDF h\u1EEFu c\u1EE7a k\xEAnh",this.invitationTooltip=this.disableTooltip()?null:"\u0110\u01B0\u1EE3c m\u1EDDi l\xE0m bi\xEAn t\u1EADp vi\xEAn \u0111\u1EC3 qu\u1EA3n l\xFD video tr\xEAn k\xEAnh n\xE0y";}};T(e,"\u0275fac",function(n){return new(n||e)();}),T(e,"\u0275cmp",m({type:e,selectors:[["my-collaborator-state"]],inputs:{type:[1,"type"],small:[1,"small"],disableTooltip:[1,"disableTooltip"]},decls:3,vars:1,consts:()=>{let l;l="Ch\u1EE7 s\u1EDF h\u1EEFu";let n;n="Bi\xEAn t\u1EADp vi\xEAn";let i;return i="\u0110\xE3 g\u1EEDi l\u1EDDi m\u1EDDi",[l,n,i,["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(n,i){n&1&&b(0,M,2,4,"span",3)(1,O,2,4,"span",4)(2,R,2,4,"span",5),n&2&&E(i.type()==="owner"?0:i.type()==="accepted"?1:i.type()==="invited"?2:-1);},dependencies:[S,N,u,f],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)}
/*# sourceMappingURL=collaborator-state.component-VNKONGT7.css.map */`]}));let o=e;return o;})();export{D as a};/**i18n:90f1dd82a779b57eddc91ef20913c88eecaa9632bba8ac04ad50f47ae2b82df7*///# sourceMappingURL=chunk-WO4ED4IM.js.map