import {i,u}from'./chunk-BXKROHPF.js';import {o,l}from'./chunk-BpR5dteb.js';import {J,f5 as so,c as tS,f7 as q,ad as ce,et as c,eu as s$1}from'./main-WUGO6e7n.js';var s,d=J(()=>{c();s=(()=>{class r{static{this.domainUser="dvl-icon-entry-domain";}static{this.localUser="dvl-icon-entry-session-ssh";}static{this.sqlServer="dvl-icon-sql";}static{this.windowsLocalAccount="dvl-icon-logo-microsoft";}static{this.azureADUser="dvl-icon-entra-id";}static{this.awsIAMUser="dvl-icon-aws";}static{this.sshKey="dvl-icon-ssh-key-dashboard";}static{this.postgreSQL="dvl-icon-entry-PgAdminIII";}static{this.mongoDb="dvl-icon-mongodb";}static{this.certificate="dvl-icon-entry-certificate";}static{this.standalone="dvl-icon-cal";}static{this.cisco="dvl-icon-cisco";}static{this.mySQL="dvl-icon-mysql";}static{this.oracle="dvl-icon-oracle";}static getBuiltInTemplateIcon(a){switch(a?.toLowerCase()){case s$1.ciscoBuiltInTemplateId:return r.cisco;case s$1.mySqlUserBuiltInTemplateId:return r.mySQL;case s$1.oracleBuiltInTemplateId:return r.oracle;default:return null}}}return r})();});var y,I=J(()=>{i();so();o();d();tS();y=(()=>{class r{getByCredentialType(a,i){switch(a){case q.DomainUser:return i===u.Provider?l.domainUser:s.domainUser;case q.LocalUser:return i===u.Provider?l.localUser:s.localUser;case q.Certificate:return s.certificate;case q.SqlServer:return i===u.Provider?l.sqlServer:s.sqlServer;case q.WindowsLocalAccount:return l.windowsLocalAccount;case q.AzureADUser:return i===u.Provider?l.azureADUser:s.azureADUser;case q.AWSIAMUser:return i===u.Provider?l.awsIAMUser:s.awsIAMUser;case q.Standalone:return s.standalone;case q.SshKey:return l.sshKey;case q.PostgreSQL:return i===u.Provider?l.postgreSQL:s.postgreSQL;case q.MongoDb:return i===u.Provider?l.mongoDb:s.mongoDb;default:return "dvl-icon-credentials-bold"}}static{this.\u0275fac=function(i){return new(i||r)};}static{this.\u0275prov=ce({token:r,factory:r.\u0275fac,providedIn:"root"});}}return r})();});export{I,y};