const sleep=ms=>new Promise(r=>setTimeout(r,ms)); const propsOf = el => { for (const k of Object.keys(el)) if (k.startsWith('__reactProps$')) return el[k]; return null; }; const fire = (el) => { let t = el; for (let i=0;i<6&&t;i++){const q=propsOf(t); if(q&&typeof q.onClick==='function'){q.onClick({target:t,currentTarget:t,stopPropagation(){},preventDefault(){},nativeEvent:{},button:0,detail:1});return true;} t=t.parentElement;} return false; }; const leaves = () => { let node=null; for (const el of document.querySelectorAll('*')) if (el.children.length===0 && (el.textContent||'').trim().startsWith('全部 (')) { node=el; break; } if(!node) return []; let root=node; for (let i=0;i<12&&root.parentElement;i++){ root=root.parentElement; if((root.innerText||'').length>30) break; } const out=[]; for (const el of root.querySelectorAll('*')) if (el.children.length===0) { const t=(el.textContent||'').trim(); if(/\(\d+\)$/.test(t)) out.push(t); } return out; }; const all = leaves(); const targets = all.filter(t=>/ 到 /.test(t)); const out={all: all.slice(0,12), targets, detail:{}}; for (const NAME of targets) { let leaf=null; for (const el of document.querySelectorAll('*')) if (el.children.length===0 && (el.textContent||'').trim()===NAME) { leaf=el; break; } if(!leaf) continue; fire(leaf); await sleep(1800); let best=null; for (const el of document.querySelectorAll('div,table,tbody')) { const x = el.innerText||''; if (/错误对象/.test(x) && /[0-9](间距|差分对|物理)错误/.test(x) && (!best || x.length < best.length)) best = x; } out.detail[NAME] = (best||'').split('input::-webkit')[0].slice(0,700); } return out;