const fs = require('fs');
const content = fs.readFileSync('dist/server.cjs', 'utf8');

const target = 'parseProfileMetadata';
const idx = content.indexOf(target);
if (idx !== -1) {
  console.log(`Found "${target}" at index ${idx}:`);
  console.log(content.substring(idx + 1000, idx + 3500));
} else {
  console.log(`"${target}" not found`);
}
