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

const targetStr = '/api/mikrotik/add-hotspot-profile';
const idx = content.indexOf(targetStr);
if (idx !== -1) {
  console.log("Found add-hotspot-profile fetch at index:", idx);
  console.log("=== Surroundings (3000 chars before and 3000 chars after) ===");
  console.log(content.substring(idx - 3000, idx + 3000));
} else {
  console.log("Not found add-hotspot-profile fetch in bundle!");
}
