import {C,g}from'./chunk-DSOHrp2_.js';import {J,c as tS,aM as AD,dw as _D,L as w,aN as r4,dH as S4,ad as ce}from'./main-WUGO6e7n.js';var P,x=J(()=>{tS();C();AD();_D();tS();P=(()=>{class r{constructor(){this.serverInformationService=w(r4),this.themeService=w(S4);}getColorContext(){let e=this.themeService;return {colors:this.serverInformationService.privateServerInformation?.userTagColors??null,get isDark(){return e.isDarkTheme}}}toVMTags(e){return g.toVMTags(e,this.getColorContext())}static{this.\u0275fac=function(t){return new(t||r)};}static{this.\u0275prov=ce({token:r,factory:r.\u0275fac,providedIn:"root"});}}return r})();});var n$1,d=J(()=>{n$1=(function(r){return r[r.None=0]="None",r[r.External=1]="External",r[r.Privileged=2]="Privileged",r[r.Contractor=4]="Contractor",r})(n$1||{});(function(r){function h(){return "SystemUserTags"}r.getClass=h;function e(t){switch(r[t]){case "None":return "lblNone";case "External":return "lblExternal";case "Privileged":return "lblPrivileged";case "Contractor":return "lblContractor"}let i="";return typeof r.getClass=="function"&&(i=r.getClass()),i+"_"+r[t]}r.getEnumKey=e;})(n$1||(n$1={}));});export{P,d,n$1 as n,x};