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

const target = "Tripay Payment Gateway";
const idx = content.indexOf(target);
if (idx !== -1) {
  console.log(content.substring(idx - 500, idx + 4000));
} else {
  console.log("Not found in backup");
}
