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

const target = "Laporan Penjualan Voucher Hari Ini (Live)";
const idx = content.indexOf(target);
if (idx !== -1) {
  console.log(content.substring(idx - 1000, idx + 4000));
} else {
  console.log("Not found");
}
