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

const start = 960000;
const end = 990000;
const sub = content.substring(start, end);

let idx = 0;
while ((idx = sub.indexOf('Re', idx)) !== -1) {
  // Print some context if it looks like a variable declaration or assignment
  const before = sub.substring(Math.max(0, idx - 30), idx);
  const after = sub.substring(idx, idx + 100);
  if (before.includes('const') || before.includes(',') || before.includes('let') || after.includes('=')) {
    console.log(`Found 'Re' at index ${start + idx}:`);
    console.log(before + ' [[ ' + after + ' ]]');
    console.log('---------------------------');
  }
  idx += 2;
}
