const fs = require('fs');
const content = fs.readFileSync('dist/assets/index-D9sWWWv_.js', 'utf8');

const targetStr = 'wu=C.useMemo(()=>k.filter(p=>{const b=String(p.code||"")';
const idx = content.indexOf(targetStr);
if (idx !== -1) {
  console.log("Found wu memo definition:");
  console.log(content.substring(idx - 100, idx + 1000));
} else {
  console.log("wu memo not found with that exact string, let's search 'wu=C.useMemo'");
  const idx2 = content.indexOf('wu=C.useMemo');
  if (idx2 !== -1) {
    console.log(content.substring(idx2 - 100, idx2 + 1000));
  }
}
