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

let idx = 0;
let count = 0;
while ((idx = content.indexOf('useState(()=>ze(', idx)) !== -1) {
  count++;
  if (count <= 10) {
    console.log(`Found useState(()=>ze( at index ${idx}:`);
    console.log(content.substring(idx - 50, idx + 200));
    console.log('-------------------------------------------');
  }
  idx += 'useState(()=>ze('.length;
}
console.log(`Total found: ${count}`);
