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

const target = "const p=()=>{const D=tr.map";
const idx = content.indexOf(target);
if (idx !== -1) {
  const segment = content.substring(idx, idx + 4000);
  console.log("Segment found around definition of p:");
  console.log(segment);
} else {
  console.log("Not found");
}
