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

// Find sync-hotspot-users or where users are loaded/mapped in index-D9sWWWv_.js
const target = "sync-hotspot-users";
let idx = 0;
while ((idx = content.indexOf(target, idx)) !== -1) {
  console.log(`Found sync target at index ${idx}:`);
  console.log(content.substring(idx - 300, idx + 1000));
  idx += target.length;
}
