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

const targetIdx = content.indexOf("[Za,No]=C.useState");
if (targetIdx !== -1) {
  const startIdx = Math.max(0, targetIdx - 6000);
  console.log("=== Code before Za,No state ===");
  console.log(content.substring(startIdx, targetIdx));
} else {
  console.log("Target not found");
}
