(key, el)
| 1838 | // Build maps keyed by full, stable fp key (data-fp) or by lightweight tuple from wrapper attrs. |
| 1839 | const map = new Map(); |
| 1840 | const push = (key, el) => { |
| 1841 | if (!key) return; |
| 1842 | let arr = map.get(key); |
| 1843 | if (!arr) { |
| 1844 | arr = []; |
| 1845 | map.set(key, arr); |
| 1846 | } |
| 1847 | arr.push(el); |
| 1848 | }; |
| 1849 | |
| 1850 | const makeAttrKey = (wrap) => { |
| 1851 | if (!wrap) return ''; |