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

const target = "k.some(N=>N.status===\"used\"";
const idx = content.indexOf(target);
if (idx !== -1) {
  console.log("Found at index:", idx);
  console.log(content.substring(idx - 300, idx + 800));
} else {
  console.log("Not found with exact string");
  // Try with different space/quotes
  const regex = /some\([^)]*status\s*===\s*["']used["']/g;
  let m;
  while ((m = regex.exec(content)) !== null) {
    console.log("Found regex match at index:", m.index);
    console.log(content.substring(m.index - 300, m.index + 800));
  }
}
