var e = new Set([ `kky_ecs`, `mf_cloud`, `remf_cloud`, `mf_dcim`, `remf_dcim`, `remf_finance`, `remf_finance_dcim`, `remf_finance_common`, `idcsmart_common`, ]); function t(t, n) { let r = String(t); if (!/^[1-9]\d{0,9}$/.test(r) || !e.has(n)) throw Error(`实例信息无效,请刷新后重试`); return `/remote-console?hostId=${r}&module=${n}`; } function n(e, n) { window.open(t(e, n), `_blank`, `noopener,noreferrer`); } export { n as t };