(value)
| 398 | const candidates = []; |
| 399 | const seen = new Set(); |
| 400 | const addCandidate = (value) => { |
| 401 | value = String(value || '').trim(); |
| 402 | if (!value || seen.has(value)) return; |
| 403 | seen.add(value); |
| 404 | candidates.push(value); |
| 405 | }; |
| 406 | |
| 407 | const normalized = String(source || '').trim(); |
| 408 | const stripped = stripJSONGuards(normalized); |
no test coverage detected