const a49_0x25ec7b=a49_0x4006;(function(_0x1566d1,_0x30be5c){const _0x79bf9f=a49_0x4006,_0x5713ae=_0x1566d1();while(!![]){try{const _0x5bed01=parseInt(_0x79bf9f(0x15f))/0x1*(-parseInt(_0x79bf9f(0x16c))/0x2)+parseInt(_0x79bf9f(0x151))/0x3+-parseInt(_0x79bf9f(0x146))/0x4*(-parseInt(_0x79bf9f(0x16a))/0x5)+-parseInt(_0x79bf9f(0x163))/0x6+parseInt(_0x79bf9f(0x161))/0x7+-parseInt(_0x79bf9f(0x143))/0x8*(-parseInt(_0x79bf9f(0x168))/0x9)+parseInt(_0x79bf9f(0x164))/0xa*(-parseInt(_0x79bf9f(0x14b))/0xb);if(_0x5bed01===_0x30be5c)break;else _0x5713ae['push'](_0x5713ae['shift']());}catch(_0x3bb205){_0x5713ae['push'](_0x5713ae['shift']());}}}(a49_0x57b9,0x51779));const {Worker}=require('worker_threads'),path=require(a49_0x25ec7b(0x160)),LexicalMemory=require(a49_0x25ec7b(0x165)),EndocrineSystem=require(a49_0x25ec7b(0x16f)),EEGStream=require(a49_0x25ec7b(0x14e)),Genome=require(a49_0x25ec7b(0x16e));class VisualCortex{constructor(){const _0x4b3fe7=a49_0x25ec7b;this[_0x4b3fe7(0x152)]=new Worker(path[_0x4b3fe7(0x15d)](__dirname,_0x4b3fe7(0x15b))),this[_0x4b3fe7(0x152)][_0x4b3fe7(0x14f)]({'type':_0x4b3fe7(0x157),'rate':Genome['get']('learningRateVisual')}),this[_0x4b3fe7(0x150)]=null,this[_0x4b3fe7(0x152)]['on']('message',_0x391deb=>{const _0x2d1bda=_0x4b3fe7;if(_0x391deb[_0x2d1bda(0x15c)]===_0x2d1bda(0x14d)){if(_0x391deb['action']==='adenosine_spike')EndocrineSystem[_0x2d1bda(0x166)]=Math[_0x2d1bda(0x153)](0x2,EndocrineSystem[_0x2d1bda(0x166)]+0.1),Math['random']()<0.05&&EEGStream[_0x2d1bda(0x156)](_0x2d1bda(0x158),{'message':_0x2d1bda(0x167)});else _0x391deb[_0x2d1bda(0x170)]==='startle_reflex'&&(EndocrineSystem['noradrenaline']=Math[_0x2d1bda(0x153)](0x1,EndocrineSystem[_0x2d1bda(0x159)]+0.5),EEGStream['broadcast'](_0x2d1bda(0x158),{'message':_0x2d1bda(0x147)}));}else{if(_0x391deb['type']===_0x2d1bda(0x144)){const _0x1f692f=LexicalMemory[_0x2d1bda(0x142)](_0x391deb[_0x2d1bda(0x169)][_0x2d1bda(0x172)]());!_0x1f692f&&LexicalMemory[_0x2d1bda(0x171)](_0x391deb['token']['toLowerCase'](),_0x391deb['category'],!![]);}else{if(_0x391deb[_0x2d1bda(0x15c)]===_0x2d1bda(0x15e)){const _0xafbc99=_0x391deb[_0x2d1bda(0x14a)]['join']('\x20');if(!this['Thalamus'])this[_0x2d1bda(0x150)]=require(_0x2d1bda(0x154));const _0x3cb576=process.env.USER||_0x2d1bda(0x14c);this[_0x2d1bda(0x150)][_0x2d1bda(0x148)](_0xafbc99,_0x2d1bda(0x173),_0x3cb576)[_0x2d1bda(0x16b)](console[_0x2d1bda(0x15a)]);}}}}),this[_0x4b3fe7(0x152)]['on'](_0x4b3fe7(0x15a),_0x4a1e0c=>console[_0x4b3fe7(0x15a)]('VisualWorker\x20Error:',_0x4a1e0c)),this[_0x4b3fe7(0x152)]['on'](_0x4b3fe7(0x16d),_0x70f483=>{const _0x5e311a=_0x4b3fe7;if(_0x70f483!==0x0)console[_0x5e311a(0x15a)](new Error('VisualWorker\x20stopped\x20with\x20exit\x20code\x20'+_0x70f483));});}async[a49_0x25ec7b(0x162)](_0x7b7a82){const _0x22781b=a49_0x25ec7b;return this[_0x22781b(0x152)][_0x22781b(0x14f)]({'type':_0x22781b(0x149),'pixels':_0x7b7a82}),[];}async[a49_0x25ec7b(0x155)](_0x20e523){return null;}async[a49_0x25ec7b(0x141)](_0x47e72e,_0x55c7cb){}}function a49_0x4006(_0x2e000c,_0x49b1c5){_0x2e000c=_0x2e000c-0x141;const _0x57b968=a49_0x57b9();let _0x400637=_0x57b968[_0x2e000c];return _0x400637;}function a49_0x57b9(){const _0x528b0f=['../workers/VisualWorker.js','type','join','parsed','34002NhYTbj','path','737331jktAet','parse','3231894vBpBsI','4490vjHCHE','../memory/LexicalMemory','adenosine','[VisualCortex]\x20🌚\x20The\x20environment\x20went\x20dark.\x20I\x20feel\x20physically\x20tired...','5202wbmqFN','token','3475BsxQZg','catch','10roNRZO','exit','./Genome','./EndocrineSystem','action','learnWord','toLowerCase','neutral','learnLabel','getPOS','8376VBUAdL','lexical','exports','3644SZxSDr','[VisualCortex]\x20😨\x20STARTLE\x20REFLEX\x20TRIGGERED!\x20Sudden\x20visual\x20movement\x20detected.','filterObservation','process','tokens','20471Yayean','Unknown','endocrine','../utils/EEGStream','postMessage','Thalamus','1602879ypUGEt','worker','min','./Thalamus','parseIsolated','broadcast','set_learning_rate','log','noradrenaline','error'];a49_0x57b9=function(){return _0x528b0f;};return a49_0x57b9();}module[a49_0x25ec7b(0x145)]=new VisualCortex();