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

const target = "const Hi=tr.find";
const idx = content.indexOf(target);
if (idx !== -1) {
  // Let's print out 3000 chars after the "Hi" block to see where the dialog state and simulation timer is defined.
  console.log(content.substring(idx + 1000, idx + 4000));
} else {
  console.log("Not found");
}
