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

const search = "Aktivitas Transaksi Hari Ini";
const idx = content.indexOf(search);
if (idx !== -1) {
  // Print some variables defined before the rendering logic
  console.log(content.substring(idx - 4000, idx - 2000));
}
