const a17_0x35953a=a17_0xfc65;(function(_0x461d90,_0x3a041a){const _0x48bc86=a17_0xfc65,_0x2a8870=_0x461d90();while(!![]){try{const _0x5abaa2=-parseInt(_0x48bc86(0x12c))/0x1+parseInt(_0x48bc86(0x122))/0x2*(parseInt(_0x48bc86(0x129))/0x3)+-parseInt(_0x48bc86(0x11b))/0x4+parseInt(_0x48bc86(0x126))/0x5+-parseInt(_0x48bc86(0x128))/0x6+parseInt(_0x48bc86(0x12b))/0x7*(-parseInt(_0x48bc86(0x11a))/0x8)+parseInt(_0x48bc86(0x11f))/0x9;if(_0x5abaa2===_0x3a041a)break;else _0x2a8870['push'](_0x2a8870['shift']());}catch(_0x30e35b){_0x2a8870['push'](_0x2a8870['shift']());}}}(a17_0x8ff8,0x70f14));function a17_0xfc65(_0x5952b4,_0x5b7337){_0x5952b4=_0x5952b4-0x11a;const _0x8ff8f7=a17_0x8ff8();let _0xfc65d9=_0x8ff8f7[_0x5952b4];return _0xfc65d9;}const CausalEngrams=require('./CausalEngrams'),EpisodicMemory=require('../memory/EpisodicMemory');function a17_0x8ff8(){const _0x2b26f5=['25730uNbcXK','cosineSimilarity','622602ulsQCT','759KsjXcm','FORAGE','64463dAbfPT','912093rJSCfE','retrieve','RECALL','608skfqkz','11016QwUmxa','[Solomonoff]\x20No\x20existing\x20simple\x20explanation\x20found.\x20Epistemic\x20Foraging\x20required.','text','Technology','19007595pwPrCU','exports','log','506HEUcpe','[Solomonoff]\x20High\x20Surprise\x20detected.\x20Searching\x20for\x20minimal\x20algorithmic\x20explanation...','UPDATE_EXISTING','vector'];a17_0x8ff8=function(){return _0x2b26f5;};return a17_0x8ff8();}class Intuition{async['findSimplestResolution'](_0x279b3f,_0x5f23aa,_0x196897,_0x11e3ba,_0x4eb56f,_0x1758f5=0.95){const _0x57fe4f=a17_0xfc65;console['log'](_0x57fe4f(0x123));let _0x1cff7d=null,_0x786df7=Infinity;for(const _0xbbacc2 of _0x196897){if(!_0xbbacc2[_0x57fe4f(0x125)])continue;const _0x204bc1=0x1-CausalEngrams[_0x57fe4f(0x127)](_0x5f23aa,_0xbbacc2[_0x57fe4f(0x125)]),_0x51a7c0=_0xbbacc2['depth']||0x1,_0xe1052d=_0x204bc1*_0x51a7c0;_0xe1052d<_0x786df7&&(_0x786df7=_0xe1052d,_0x1cff7d=_0xbbacc2);}if(_0x1cff7d&&_0x786df7<0.5)return console['log']('[Solomonoff]\x20Found\x20existing\x20causal\x20structure\x20to\x20resolve\x20error.'),{'action':_0x57fe4f(0x124),'structure':_0x1cff7d};if(_0x4eb56f){const _0x1baf24=await EpisodicMemory[_0x57fe4f(0x12d)](_0x4eb56f,_0x1758f5);if(_0x1baf24)return{'action':_0x57fe4f(0x12e),'chunk':_0x1baf24[_0x57fe4f(0x11d)]};}console[_0x57fe4f(0x121)](_0x57fe4f(0x11c));const _0x5d7544=_0x11e3ba||_0x57fe4f(0x11e);return{'action':_0x57fe4f(0x12a),'query':_0x5d7544};}}module[a17_0x35953a(0x120)]=new Intuition();