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

const targets = ['store/save', 'custom_profiles', 'customProfiles'];
targets.forEach(target => {
  let idx = 0;
  while ((idx = content.indexOf(target, idx)) !== -1) {
    console.log(`Found "${target}" at index ${idx}:`);
    console.log(content.substring(idx - 150, idx + 400));
    idx += target.length;
  }
});
