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

const target = "function qle({userEmail:e,onLogout:t})";
const idx = content.indexOf(target);
if (idx !== -1) {
  // Let's print out the state hook definitions inside qle component (first 3000 chars of function body)
  console.log(content.substring(idx, idx + 4000));
} else {
  console.log("Not found target function definition");
}
