(sourceId)
| 196 | } |
| 197 | |
| 198 | function getSourceNameById(sourceId) { |
| 199 | const id = String(sourceId || '').trim(); |
| 200 | if (!id) return ''; |
| 201 | try { |
| 202 | if (typeof window.__frGetSourceNameById === 'function') { |
| 203 | return String(window.__frGetSourceNameById(id) || ''); |
| 204 | } |
| 205 | } catch (e) { /* ignore */ } |
| 206 | return ''; |
| 207 | } |
| 208 | |
| 209 | function getSourceTypeById(sourceId) { |
| 210 | const id = String(sourceId || '').trim(); |
no outgoing calls
no test coverage detected