const fs=require('fs'); const acorn=require('acorn'); const path='/home/shni/amayo/amayo/src/server/views/partials/dashboard/dashboard_items.ejs'; const s=fs.readFileSync(path,'utf8'); const m=s.match(/]*>([\s\S]*?)<\/script>/i); if(!m){ console.error('NO_SCRIPT'); process.exit(2);} const src=m[1]; let low=0, high=src.length, bad=-1; while(low