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

const targets = ["Hari Ini", "Voucher Terjual", "Komisi Agen", "SaaS Admin"];
targets.forEach(t => {
  let idx = 0;
  console.log(`=== Matches for "${t}" ===`);
  while ((idx = content.indexOf(t, idx)) !== -1) {
    console.log(`Found at index ${idx}:`);
    console.log(content.substring(idx - 150, idx + 200));
    idx += t.length;
  }
});
