await new Promise(r=>setTimeout(r, 25000)); const v = await eda.pcb_PrimitiveVia.getAll(); const l = await eda.pcb_PrimitiveLine.getAll(); const dlgOpen = !!Array.from(document.querySelectorAll('legend')).find(x=>(x.textContent||'').trim()==='忽略网络' && x.offsetParent!==null); const body = (document.body.innerText||''); const hints = body.split('\n').filter(s=>/布线|进度|%|完成|失败|取消/.test(s)).slice(0,12); return {vias: v.length, lines: l.length, dlgOpen, hints};