const fs = require('fs');
const content = fs.readFileSync('dist/server.cjs', 'utf8');

const target = "status: isUsed ? \"used\" : item.disabled === true";
const idx = content.indexOf(target);
if (idx !== -1) {
  console.log(content.substring(idx - 100, idx + 800));
} else {
  console.log("Not found");
}
