"use strict";exports.id=775,exports.ids=[775],exports.modules={67775:(a,b,c)=>{c.d(b,{initConsoleLogCapture:()=>j});var d=c(94735);let e=["log","info","warn","error","debug"];global._consoleLogBufferState||(global._consoleLogBufferState={logs:[],patched:!1,originals:{},emitter:new d.EventEmitter},global._consoleLogBufferState.emitter.setMaxListeners(50));let f=global._consoleLogBufferState;f.emitter||(f.emitter=new d.EventEmitter,f.emitter.setMaxListeners(50));let g=/\x1b\[[0-9;]*m/g;function h(a){return a.replace(g,"")}function i(a){if("string"==typeof a)return h(a);if(a instanceof Error)return h(a.stack||a.message||String(a));try{return h(JSON.stringify(a))}catch{return h(String(a))}}function j(){if(!f.patched){for(let a of e)f.originals[a]=console[a],console[a]=(...b)=>{var c;c=b.map(i).join(" "),f.logs.push(c),f.logs.length>200&&(f.logs=f.logs.slice(-200)),f.emitter.emit("line",c),f.originals[a](...b)};f.patched=!0}}}};