import{a3 as b}from"./index-BTglIPU2.js?v=1773287522785";import{u as c}from"./index-B5d4M70B.js?v=1773287522785";const{t:a}=b.global;function l(o){var n,r;const i=c();let t="--";switch(o.db_type){case 0:t=a("Database.tools.index_67");break;case 1:t="".concat(a("Database.tools.index_68")," (").concat(((n=o.conn_config)==null?void 0:n.db_host)||"",":").concat(((r=o.conn_config)==null?void 0:r.db_port)||"",")");break;case 2:for(let s=0;s<i.remoteList.length;s++){const e=i.remoteList[s];if(e.id===o.sid){e.ps!==""?t=e.ps:t="".concat(a("Database.tools.index_68")," (").concat(e.db_host,":").concat(e.db_port,")");break}}break}return t}export{l as g};
