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

const targetIdx = content.indexOf('saas_licenses",r?Me:[]');
if (targetIdx !== -1) {
  const startIdx = Math.max(0, targetIdx - 3000);
  console.log("=== Code before saas_licenses ===");
  console.log(content.substring(startIdx, targetIdx + 100));
} else {
  console.log("Target not found");
}
