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

const targetIdx = content.indexOf("Analisis Penggunaan Data & Kategori Aplikasi (DPI)");
if (targetIdx !== -1) {
  // Let's search back 8000 chars for r definition
  const startIdx = Math.max(0, targetIdx - 15000);
  const chunk = content.substring(startIdx, targetIdx + 2000);
  
  // Let's write a script that looks for "r=" or ",r=" or "const r"
  let pos = startIdx;
  while ((pos = content.indexOf('r=', pos)) !== -1 && pos < targetIdx) {
    console.log(`Found "r=" at ${pos}:`);
    console.log(content.substring(pos - 30, pos + 50));
    console.log('------------------');
    pos += 2;
  }
} else {
  console.log("Not found");
}
