@nuvin/agent-core 0.4.0-rc.11 → 0.4.0-rc.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- (function(_0x5b97bf,_0x5f2ce6){const _0x13f0dc={_0x2d1a26:0xac,_0x53e3ce:0x50f,_0x7840ba:0x525,_0x6cc175:0x541,_0x574c84:0x9a,_0x4f9635:0xb2,_0x3bdad5:0xa7,_0x4084b5:0x532,_0x27f4e8:0x53b,_0x5e70e2:0x537,_0x18e685:0x94,_0x3b75ec:0xa3,_0x3aa5e5:0x526,_0x2ac6bb:0x521,_0x3165d5:0x531,_0x3a094d:0xa1,_0x2a455c:0x81,_0x5c16cc:0x84,_0x491075:0x88,_0x550661:0x53a,_0x574f63:0x542,_0xf7dff9:0x52f,_0x203af0:0x511},_0x307de1=_0x5b97bf();function _0x1be96b(_0x5b8459,_0x213236,_0x40b8d8,_0x4427bd){return _0x4c59(_0x213236-0x36b,_0x4427bd);}function _0x23c020(_0x1fb9ad,_0x3437ca,_0x3d4c7c,_0x5cdf52){return _0x4c59(_0x3437ca- -0x135,_0x5cdf52);}while(!![]){try{const _0x4c2fe7=parseInt(_0x23c020(0xbe,0xa0,0xb8,_0x13f0dc._0x2d1a26))/0x1+parseInt(_0x1be96b(_0x13f0dc._0x53e3ce,_0x13f0dc._0x7840ba,_0x13f0dc._0x6cc175,0x52c))/0x2+parseInt(_0x23c020(_0x13f0dc._0x574c84,0x9f,_0x13f0dc._0x4f9635,0x86))/0x3*(parseInt(_0x23c020(_0x13f0dc._0x3bdad5,0xa6,0xa0,0xbf))/0x4)+parseInt(_0x1be96b(_0x13f0dc._0x4084b5,0x534,_0x13f0dc._0x27f4e8,_0x13f0dc._0x5e70e2))/0x5*(-parseInt(_0x23c020(_0x13f0dc._0x18e685,_0x13f0dc._0x3b75ec,0x95,0xb2))/0x6)+parseInt(_0x1be96b(0x53f,_0x13f0dc._0x3aa5e5,_0x13f0dc._0x2ac6bb,_0x13f0dc._0x3165d5))/0x7*(parseInt(_0x23c020(0x80,0xa1,_0x13f0dc._0x3a094d,0x9b))/0x8)+parseInt(_0x23c020(0x63,_0x13f0dc._0x2a455c,_0x13f0dc._0x5c16cc,_0x13f0dc._0x491075))/0x9*(parseInt(_0x1be96b(0x51c,_0x13f0dc._0x550661,0x549,_0x13f0dc._0x574f63))/0xa)+-parseInt(_0x1be96b(0x536,_0x13f0dc._0xf7dff9,_0x13f0dc._0x4084b5,_0x13f0dc._0x203af0))/0xb;if(_0x4c2fe7===_0x5f2ce6)break;else _0x307de1['push'](_0x307de1['shift']());}catch(_0xc9e89a){_0x307de1['push'](_0x307de1['shift']());}}}(_0x31e7,0x9a5f9));import{spawn}from'child_process';function _0x4c59(_0x52b324,_0x14b73c){_0x52b324=_0x52b324-0x1ab;const _0x31e7ce=_0x31e7();let _0x4c5959=_0x31e7ce[_0x52b324];if(_0x4c59['xiXfrF']===undefined){var _0x46cdee=function(_0x5e7b21){const _0x3d4bb2='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x541a4f='',_0x4f7bb8='';for(let _0x22ccb2=0x0,_0x562c85,_0x374c44,_0x5c389a=0x0;_0x374c44=_0x5e7b21['charAt'](_0x5c389a++);~_0x374c44&&(_0x562c85=_0x22ccb2%0x4?_0x562c85*0x40+_0x374c44:_0x374c44,_0x22ccb2++%0x4)?_0x541a4f+=String['fromCharCode'](0xff&_0x562c85>>(-0x2*_0x22ccb2&0x6)):0x0){_0x374c44=_0x3d4bb2['indexOf'](_0x374c44);}for(let _0x14364f=0x0,_0x3f4865=_0x541a4f['length'];_0x14364f<_0x3f4865;_0x14364f++){_0x4f7bb8+='%'+('00'+_0x541a4f['charCodeAt'](_0x14364f)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4f7bb8);};_0x4c59['XgYmux']=_0x46cdee,_0x4c59['YAGCcW']={},_0x4c59['xiXfrF']=!![];}const _0x30be83=_0x31e7ce[0x0],_0x5c5036=_0x52b324+_0x30be83,_0x3c3021=_0x4c59['YAGCcW'][_0x5c5036];return!_0x3c3021?(_0x4c5959=_0x4c59['XgYmux'](_0x4c5959),_0x4c59['YAGCcW'][_0x5c5036]=_0x4c5959):_0x4c5959=_0x3c3021,_0x4c5959;}var DEFAULT_TIMEOUT_S=0x3c;async function executeCommandHook(_0x541a4f,_0x4f7bb8,_0x22ccb2=DEFAULT_TIMEOUT_S,_0x562c85){const _0x1ae052={_0x29598c:0x1f5,_0x485036:0x216,_0x817d00:0x20a},_0x26b402={_0x546e11:0x1d4,_0xddb0e0:0x1bf,_0x1e1446:0x1e1,_0x36b580:0x16e,_0xf201b5:0x16d,_0x348d76:0x175,_0x1bd833:0x1db,_0x36fd53:0x1e0,_0x5eb465:0x1b8,_0x205805:0x1b1,_0x3c78bb:0x1f9,_0xae1c72:0x1d8,_0x41d37f:0x1f5,_0xfe3a24:0x1d3,_0x247bc4:0x15b,_0x311f17:0x189,_0x367445:0x209,_0x5a5f7d:0x20e,_0x591164:0x19d,_0x19af03:0x1a4,_0x5a2b13:0x1d7,_0x4b8260:0x204,_0x1263ac:0x1df},_0x33836a={_0x1b4a7f:0x439,_0x5646f5:0x44c,_0x31c90b:0xe,_0x132e99:0x10,_0x2bedeb:0xe,_0x7a9bca:0x6,_0x16dd14:0x414,_0x2aecc5:0x3f8,_0xeb0f2d:0x400,_0x494bc7:0x5,_0x5b24cd:0x26,_0x263f16:0x16,_0x401870:0x1f,_0x1db625:0x2a,_0x48e0d6:0x32,_0x1812ed:0x40e,_0x5c5614:0x10,_0x4e1aca:0x0,_0x285b1c:0x429,_0x1a55d3:0x441,_0x4eb072:0x40f},_0x51bd7c={_0x51fc84:0x83,_0x1b6849:0x6b},_0x546061={_0x2e3193:0x4f5},_0x3e8723={_0x2213f7:0x2d};function _0x24aad8(_0x1ee47c,_0x1707a6,_0x20293f,_0x15ac28){return _0x4c59(_0x20293f-_0x3e8723._0x2213f7,_0x1ee47c);}const _0x374c44=Date[_0x24aad8(_0x1ae052._0x29598c,0x227,_0x1ae052._0x485036,_0x1ae052._0x817d00)]();return new Promise(_0x5c389a=>{const _0x3874ac={_0x3584cd:0x1c1,_0x1fa6e0:0x1d0,_0x5458aa:0x1d3,_0x3ee445:0x1b5},_0x12a81f={_0xe54642:0xa},_0x415490={_0x1db488:0x56},_0x3e84a3={_0x5111f1:0x90,_0xf3a910:0x5f6},_0x4a4edf={_0x1e22cd:0x243,_0x5198a5:0x203,_0x338e57:0x217,_0x5f46aa:0x23e,_0x8fb3f3:0x288,_0x10832c:0x2a1,_0x351ad5:0x299},_0x3164d3={_0x5018c1:0x1f4,_0xfbcadf:0x1ee,_0x4931c3:0xdd},_0x32c1db={_0x4b101c:0x18b,_0x28dfd1:0x11b,_0x106d86:0x414},_0x3f657e={_0x26e01d:0x10,_0x20aec1:0x3d3,_0x431f5e:0x179},_0x5beab5={_0xd78a53:0x159},_0x54a6c5={_0x278bc3:0x146},_0x14364f=spawn('sh',['-c',_0x541a4f],{'stdio':[_0x2e0c7b(-_0x26b402._0x546e11,-0x1c4,-_0x26b402._0xddb0e0,-_0x26b402._0x1e1446),'pipe','pipe'],'env':{...process[_0x23a656(0x189,0x183,_0x26b402._0x36b580,0x179)],'CLAUDE_PROJECT_DIR':_0x562c85??process['cwd']()}});let _0x3f4865='',_0x254edd='';_0x14364f[_0x23a656(0x173,_0x26b402._0xf201b5,0x18f,_0x26b402._0x348d76)]['on'](_0x2e0c7b(-_0x26b402._0x1bd833,-_0x26b402._0x36fd53,-0x1bd,-0x1c6),_0xea90c5=>{const _0x3add29={_0x4dc260:0x197,_0x41cf52:0x103,_0x4686fa:0x361};function _0x1747dd(_0x194143,_0xe6962c,_0x3b2885,_0x519bea){return _0x23a656(_0x194143-_0x3add29._0x4dc260,_0xe6962c-_0x3add29._0x41cf52,_0xe6962c,_0x194143-_0x3add29._0x4686fa);}_0x3f4865+=_0xea90c5[_0x1747dd(0x4ff,0x505,_0x546061._0x2e3193,0x4fe)]();}),_0x14364f[_0x2e0c7b(-0x1ad,-0x1a7,-0x1aa,-0x1c9)]['on'](_0x23a656(_0x26b402._0x5eb465,_0x26b402._0x205805,0x187,0x1a2),_0x22391c=>{_0x254edd+=_0x22391c['toString']();});function _0x23a656(_0x2345fe,_0x514b47,_0x1c4ba7,_0x287e75){return _0x24aad8(_0x1c4ba7,_0x514b47-_0x51bd7c._0x51fc84,_0x287e75- -_0x51bd7c._0x1b6849,_0x287e75-0xca);}_0x14364f['stdin']['on'](_0x2e0c7b(-_0x26b402._0x3c78bb,-0x1da,-0x1fb,-0x1f6),_0x7bd610=>{function _0x5036df(_0x491fd2,_0x20866c,_0xeedf8,_0x15aa05){return _0x2e0c7b(_0x491fd2,_0x20866c-0x1a1,_0xeedf8-_0x54a6c5._0x278bc3,_0x20866c-0x333);}if(_0x7bd610['code']!==_0x5036df(0x164,0x155,0x158,_0x5beab5._0xd78a53))throw _0x7bd610;});function _0x2e0c7b(_0xfe7adb,_0x3bd075,_0x3a0002,_0xa9fc58){return _0x24aad8(_0xfe7adb,_0x3bd075-_0x3f657e._0x26e01d,_0xa9fc58- -_0x3f657e._0x20aec1,_0xa9fc58-_0x3f657e._0x431f5e);}_0x14364f[_0x2e0c7b(-_0x26b402._0xae1c72,-0x1cc,-_0x26b402._0x41d37f,-_0x26b402._0xfe3a24)][_0x23a656(0x15c,_0x26b402._0x247bc4,_0x26b402._0x311f17,0x16f)](JSON[_0x2e0c7b(-0x1e4,-_0x26b402._0x367445,-_0x26b402._0x5a5f7d,-0x1f1)](_0x4f7bb8)),_0x14364f['stdin'][_0x23a656(_0x26b402._0x591164,_0x26b402._0x19af03,0x17b,0x189)]();const _0x1b714d=setTimeout(()=>{function _0x306d1b(_0x5aad3e,_0x2dd575,_0x470f10,_0x7f6c0c){return _0x2e0c7b(_0x470f10,_0x2dd575-_0x32c1db._0x4b101c,_0x470f10-_0x32c1db._0x28dfd1,_0x7f6c0c-_0x32c1db._0x106d86);}_0x14364f['kill'](_0x3c0642(_0x4a4edf._0x1e22cd,0x253,0x268,0x24b));function _0x3c0642(_0x2e7d24,_0x2027d2,_0x3c8eca,_0x3534e5){return _0x23a656(_0x2e7d24-_0x3164d3._0x5018c1,_0x2027d2-_0x3164d3._0xfbcadf,_0x3c8eca,_0x2027d2-_0x3164d3._0x4931c3);}_0x5c389a({'status':_0x306d1b(0x213,_0x4a4edf._0x5198a5,_0x4a4edf._0x338e57,0x21e),'error':_0x3c0642(0x249,0x257,_0x4a4edf._0x5f46aa,0x26b)+_0x22ccb2+'s','duration_ms':Date[_0x3c0642(0x2a7,_0x4a4edf._0x8fb3f3,_0x4a4edf._0x10832c,_0x4a4edf._0x351ad5)]()-_0x374c44});},_0x22ccb2*0x3e8);_0x14364f['on'](_0x2e0c7b(-0x1c4,-0x1b2,-_0x26b402._0x5a2b13,-0x1c0),_0x2fa1a6=>{const _0x326222={_0x2c9ed8:0x6a};clearTimeout(_0x1b714d);function _0x1e6b71(_0x559553,_0xa84f05,_0x41c532,_0xf45f0f){return _0x2e0c7b(_0x41c532,_0xa84f05-0xae,_0x41c532-_0x3e84a3._0x5111f1,_0x559553-_0x3e84a3._0xf3a910);}const _0x2b803b=Date[_0x1e6b71(_0x33836a._0x1b4a7f,_0x33836a._0x5646f5,0x417,0x456)]()-_0x374c44;if(_0x2fa1a6===0x2){_0x5c389a({'status':_0x261292(0x3,-_0x33836a._0x31c90b,0x1,_0x33836a._0x132e99),'output':{'decision':_0x261292(0x3,_0x33836a._0x2bedeb,_0x33836a._0x7a9bca,-0x7),'reason':_0x254edd[_0x1e6b71(0x41d,0x433,0x418,0x439)]()||_0x1e6b71(0x40c,_0x33836a._0x16dd14,_0x33836a._0x2aecc5,0x42c)},'duration_ms':_0x2b803b});return;}if(_0x2fa1a6!==0x0){_0x5c389a({'status':_0x1e6b71(_0x33836a._0xeb0f2d,0x41e,0x3f7,0x3e3),'error':_0x261292(_0x33836a._0x494bc7,_0x33836a._0x5b24cd,-_0x33836a._0x132e99,0x7)+_0x2fa1a6+(_0x254edd[_0x1e6b71(0x41d,0x42d,0x406,0x40c)]()?':\x20'+_0x254edd[_0x261292(-0x13,-_0x33836a._0x263f16,-0x10,-_0x33836a._0x401870)]():''),'duration_ms':_0x2b803b});return;}function _0x261292(_0x5c5f5d,_0x56db00,_0x298fd9,_0x34f5bc){return _0x2e0c7b(_0x56db00,_0x56db00-0x47,_0x298fd9-_0x326222._0x2c9ed8,_0x5c5f5d-0x1c6);}const _0x7040d8=_0x3f4865[_0x261292(-0x13,-_0x33836a._0x1db625,-0x23,-_0x33836a._0x48e0d6)]();if(_0x7040d8[_0x1e6b71(0x421,0x408,0x419,_0x33836a._0x1812ed)]===0x0){_0x5c389a({'status':_0x261292(-_0x33836a._0x5c5614,-0x2a,_0x33836a._0x4e1aca,-0x19),'duration_ms':_0x2b803b});return;}try{const _0x4cad78=JSON[_0x1e6b71(_0x33836a._0x285b1c,0x446,0x435,_0x33836a._0x1a55d3)](_0x7040d8);_0x5c389a({'status':_0x1e6b71(0x420,0x41b,0x3ff,_0x33836a._0x4eb072),'output':_0x4cad78,'duration_ms':_0x2b803b});}catch{_0x5c389a({'status':'pass','duration_ms':_0x2b803b});}}),_0x14364f['on'](_0x2e0c7b(-0x207,-_0x26b402._0x4b8260,-_0x26b402._0x1263ac,-0x1f6),_0x46ba99=>{clearTimeout(_0x1b714d);function _0x5e2405(_0x5dd15e,_0x1c9663,_0xa09c78,_0x127bb1){return _0x23a656(_0x5dd15e-0x115,_0x1c9663-0x14e,_0x1c9663,_0xa09c78-_0x415490._0x1db488);}function _0x1fe845(_0xb80d24,_0x31d67b,_0xbb8081,_0x43b853){return _0x23a656(_0xb80d24-0x15d,_0x31d67b-0x109,_0xbb8081,_0x43b853-_0x12a81f._0xe54642);}_0x5c389a({'status':_0x5e2405(0x1b4,_0x3874ac._0x3584cd,0x1c8,0x1d1),'error':_0x46ba99[_0x1fe845(0x1be,0x1a0,_0x3874ac._0x1fa6e0,0x1ba)],'duration_ms':Date[_0x1fe845(_0x3874ac._0x5458aa,0x1a4,0x1c0,_0x3874ac._0x3ee445)]()-_0x374c44});});});}function _0x31e7(){const _0x4fa3fa=['sg9VAYb0Aw1LzcbVDxqGywz0zxiG','z2v0sg9VA3m','mZy5mJG2A1bvAwXl','mtK2tgXpAe1h','sg9VAYbIBg9JA2vKigv4zwn1DgLVBG','CMvHC29U','zgvUEq','ywz0zxjuDxjUq29TCgXLDgu','B2jZzxj2zxi','Dg9VBe5HBwu','BMfTzq','ug9ZDfrVB2XvC2u','mteYmZy4otzZAvP5y2i','CgLWzq','Ag9VAZPoB3rPzMLJyxrPB24','zw5K','rvbjueu','nunHDKHhyW','y29TBwfUza','B3v0Chv0','CgvYBwLZC2LVBKrLy2LZAw9UuMvHC29U','DhjPBq','BwfW','mtbcrNP5Eha','CgfZCW','BgvUz3rO','C3rHDhvZ','C3rKAw4','mJi0ntK1AwT2r2vY','mtGZotyXyuDYCg9s','mJG3ode2zM5jtuTM','zw5Kx3r1CM4','mZK0mZC5ngrqtKvmza','CgfYC2u','ugvYBwLZC2LVBIbKzw5PzwqGzM9Yia','neP4tLPVDG','Dg9tDhjPBMC','C3rKzxjY','zgvJAxnPB24','ChvZAa','zgf0yq','ywz0zxjuB29SuMvZDwX0','Bwf0y2HLCG','yMXVy2S','Ag9VA1nWzwnPzMLJt3v0Chv0','sg9VAYbLEgL0zwqGD2L0AcbJB2rLia','y2XVC2u','u3rVCa','Aw5WDxq','BM93','CMvQzwn0','uhjLvg9VBfvZzq','yMvMB3jLrMLUywXpDxrWDxq','DgLTzw91Da','BwvZC2fNzq','Ag9VAZPqB3n0vg9VBfvZzq','AgfZsg9VA3m','D3jPDgu','tM90AwzPy2f0Aw9U','C2vZC2LVBKLK','zxjYB3i','Ag9VA3m','CgvYBwLZC2LVBKrLy2LZAw9U','C3rKB3v0','u0Lhs0Lmta','C3rYAw5NAwz5','nZC0mJKWn0DQB1vNBW','zw52'];_0x31e7=function(){return _0x4fa3fa;};return _0x31e7();}function createHookExtensions(_0x185a0d,_0x1afe29,_0x2ad04c={}){const _0x5bbbd={_0x26bcdb:0x13d,_0x4ee7b6:0x154,_0xa63a41:0x12b,_0x278364:0xe6,_0x29a091:0xd6,_0xfec007:0xbc,_0xff221a:0xf5,_0x3bb0fa:0xed,_0x40949f:0x130,_0x556383:0x11e,_0x43cb16:0x118,_0x1f135f:0x152,_0x132f3b:0x161,_0x215630:0x14c,_0x3d5bc6:0xfa,_0x5b8060:0xe8,_0x9df23a:0xd0,_0x11f0f6:0xec},_0x58460a={_0x3d253c:0x393,_0x1f348a:0x3cf,_0x266083:0x3b2,_0x1abe4f:0x3b4,_0x28614d:0x3a7,_0x3ca00d:0x13a,_0x1a2dc8:0x148,_0x544cdf:0x14a,_0x18d3fc:0x3cc,_0x24432b:0x3c3,_0x21bbdb:0xf9},_0x44a537={_0x2710b7:0x30f},_0x1e892e={_0x5306ec:0x22d,_0x537cbf:0x217,_0x130c05:0x22d,_0x298a65:0x591,_0x10e93b:0x573,_0x555cb7:0x568,_0x34fe4d:0x58b,_0x1a24ac:0x5b1,_0x1e9c3d:0x5a0,_0x3b8df2:0x5b4},_0x58f896={_0x2f4b79:0x4ae,_0x41e5a9:0x16a},_0xc4a7b7={_0x481beb:0xca,_0x1d79d2:0xb6,_0x332dd4:0xc8,_0x284dee:0x7b,_0x3a88df:0x67,_0x18d763:0x76,_0x74ad8a:0xd9,_0x41da6e:0x88},_0x5ecafe=[],{sessionId:_0x5f565d,projectDir:_0x54fb9d}=_0x2ad04c,_0x1183d1=_0x3fa87c=>_0x185a0d[_0x364427(-0x163,-0x163,-0x163,-0x147)]?_0x185a0d[_0x364427(-0x162,-0x143,-0x163,-0x180)](_0x3fa87c):_0x185a0d[_0x364427(-0x13b,-0x14d,-0x156,-0x166)](_0x3fa87c)[_0x364427(-0x136,-0x14d,-0x13e,-0x139)]>0x0;_0x1183d1('PostToolUse')&&_0x5ecafe[_0x364427(-0x124,-_0x5bbbd._0x26bcdb,-0x130,-0x14d)]({'id':_0x364427(-0x153,-_0x5bbbd._0x4ee7b6,-0x164,-0x175),'stage':_0x364427(-0x131,-_0x5bbbd._0xa63a41,-0x12e,-0x11b),'kind':_0x273bbd(_0x5bbbd._0x278364,_0x5bbbd._0x29a091,0xf3,_0x5bbbd._0xfec007),'order':0x0,'enabled':!![],'run':async(_0x1d3901,_0x1cd7dd)=>{const _0x20a02b={_0x314094:0x169,_0x1f8ca9:0x163},_0xa33a14={_0x4eef6b:0x148,_0x28026c:0x6a},_0x54d53e=_0x185a0d['getHooks'](_0x277545(_0xc4a7b7._0x481beb,0xe1,_0xc4a7b7._0x1d79d2,0xd9),_0x1d3901[_0x277545(_0xc4a7b7._0x332dd4,0xa9,0xbf,0xb8)]);function _0x25f98e(_0x5aab8a,_0x205cbd,_0x209c05,_0x5256ba){return _0x273bbd(_0x5aab8a-0x7a,_0x205cbd- -_0xa33a14._0x4eef6b,_0x209c05-_0xa33a14._0x28026c,_0x5256ba);}function _0x277545(_0x36b2aa,_0x3f30e7,_0x4ed50b,_0x23af00){return _0x364427(_0x36b2aa-_0x20a02b._0x314094,_0x3f30e7-_0x20a02b._0x1f8ca9,_0x36b2aa-0x216,_0x4ed50b);}for(const _0x37064e of _0x54d53e){const _0x21507c={'tool_name':_0x1d3901[_0x25f98e(-0x88,-0x71,-_0xc4a7b7._0x284dee,-0x77)],'tool_input':void 0x0,'tool_output':_0x1d3901[_0x25f98e(-0x71,-_0xc4a7b7._0x3a88df,-_0xc4a7b7._0x18d763,-0x70)],'tool_result_status':_0x1d3901[_0x277545(_0xc4a7b7._0x74ad8a,0xf6,0xe2,0xf6)],'session_id':_0x5f565d??_0x1cd7dd['state'][_0x25f98e(-0x73,-0x83,-0x94,-_0xc4a7b7._0x41da6e)]};await _0x1afe29(_0x37064e['command'],_0x21507c,_0x37064e['timeout'],_0x54fb9d);}}});_0x1183d1(_0x273bbd(0x11a,0xfd,_0x5bbbd._0xff221a,_0x5bbbd._0x3bb0fa))&&_0x5ecafe[_0x364427(-0x11e,-0x127,-_0x5bbbd._0x40949f,-0x152)]({'id':'hook:Stop','stage':_0x364427(-_0x5bbbd._0x556383,-_0x5bbbd._0x43cb16,-0x123,-0x106),'kind':_0x364427(-0x131,-_0x5bbbd._0x1f135f,-0x14f,-0x16b),'order':0x0,'enabled':!![],'run':async(_0x32c527,_0x478b36)=>{const _0x38f89d={_0x121424:0x123,_0x4043ef:0xd7},_0x159fc3=_0x185a0d[_0x3882e9(-0x20d,-_0x1e892e._0x5306ec,-_0x1e892e._0x537cbf,-_0x1e892e._0x130c05)]('Stop');function _0x3882e9(_0x17cd3d,_0x4d0409,_0x3b92ef,_0x3737b4){return _0x364427(_0x17cd3d-0xf9,_0x4d0409-_0x38f89d._0x121424,_0x3737b4- -_0x38f89d._0x4043ef,_0x17cd3d);}function _0xaf1320(_0x2f8c6c,_0x5a3c99,_0x5983d2,_0x5e907c){return _0x273bbd(_0x2f8c6c-0x14e,_0x2f8c6c-_0x58f896._0x2f4b79,_0x5983d2-_0x58f896._0x41e5a9,_0x5983d2);}for(const _0x2d89ef of _0x159fc3){const _0x231ba4={'stop_reason':_0xaf1320(0x59b,0x582,_0x1e892e._0x298a65,0x583),'session_id':_0x5f565d??_0x478b36['state'][_0xaf1320(_0x1e892e._0x10e93b,_0x1e892e._0x555cb7,_0x1e892e._0x34fe4d,0x55b)]};await _0x1afe29(_0x2d89ef['command'],_0x231ba4,_0x2d89ef[_0xaf1320(_0x1e892e._0x1a24ac,_0x1e892e._0x1e9c3d,_0x1e892e._0x3b8df2,0x593)],_0x54fb9d);}}});function _0x364427(_0x32c473,_0x5f3030,_0x2d79c6,_0x11fd63){return _0x4c59(_0x2d79c6- -_0x44a537._0x2710b7,_0x11fd63);}function _0x273bbd(_0x35db6a,_0x30f32a,_0x42ea0c,_0x3c3258){return _0x4c59(_0x30f32a- -0xea,_0x3c3258);}return _0x1183d1(_0x364427(-0x14b,-_0x5bbbd._0x4ee7b6,-_0x5bbbd._0x132f3b,-_0x5bbbd._0x215630))&&_0x5ecafe[_0x273bbd(0x105,0xf5,0xf3,0xe8)]({'id':_0x273bbd(_0x5bbbd._0x3d5bc6,0xdc,_0x5bbbd._0x5b8060,0xdd),'stage':_0x364427(-0x159,-0x171,-0x150,-0x144),'kind':_0x273bbd(_0x5bbbd._0x9df23a,0xd6,0xea,_0x5bbbd._0x11f0f6),'order':0x0,'enabled':!![],'run':async(_0x17d701,_0x5813e1)=>{const _0x5a7280={_0x194fb9:0x2e3},_0x7d0d90={_0x207ee3:0x115,_0x218799:0x20d,_0x572756:0x9};function _0x420eda(_0x16b70d,_0x511069,_0x33796,_0x4c49b3){return _0x273bbd(_0x16b70d-_0x7d0d90._0x207ee3,_0x33796- -_0x7d0d90._0x218799,_0x33796-_0x7d0d90._0x572756,_0x16b70d);}const _0x29ba2d=_0x185a0d[_0xf129be(_0x58460a._0x3d253c,_0x58460a._0x1f348a,0x3a8,_0x58460a._0x266083)](_0xf129be(0x396,_0x58460a._0x1abe4f,0x386,_0x58460a._0x28614d));function _0xf129be(_0x499bd2,_0x4c5972,_0x1bb8b6,_0x2fba2e){return _0x273bbd(_0x499bd2-0x1f2,_0x2fba2e-_0x5a7280._0x194fb9,_0x1bb8b6-0x15a,_0x1bb8b6);}for(const _0x2ad4b6 of _0x29ba2d){const _0x2c870e={'message':'Agent\x20finished\x20responding','session_id':_0x5f565d??_0x17d701[_0x420eda(-0x15d,-_0x58460a._0x3ca00d,-_0x58460a._0x1a2dc8,-_0x58460a._0x544cdf)]};await _0x1afe29(_0x2ad4b6[_0xf129be(_0x58460a._0x18d3fc,0x3be,0x3b8,_0x58460a._0x24432b)],_0x2c870e,_0x2ad4b6[_0x420eda(-_0x58460a._0x21bbdb,-0x104,-0x10a,-0x11e)],_0x54fb9d);}}}),_0x5ecafe;}function createHookOnToolCallMiddleware(_0x3a72a9,_0x83e244,_0x40e7aa,_0x4c4f8a={}){const _0x12c638={_0x4db846:0x5a6,_0x4e94c7:0x5a3,_0x5bb0cc:0x4a,_0x290650:0x40,_0x470c07:0x23,_0x1fdbb8:0x1d,_0x3464a5:0x3,_0x53d453:0x56e,_0x1ff939:0x58,_0x1afcb9:0x6e,_0x3c0f71:0x599,_0x36e924:0x579,_0x22b1ca:0x581,_0x43be44:0x3f,_0x4bcd6d:0x51,_0x40bf82:0x3f,_0x9565b1:0x39,_0x467471:0x56d,_0x35cf8c:0x577,_0x56f5dd:0x587,_0x20a0b5:0x59d,_0x44523c:0x58d,_0x2ba3b8:0x595,_0x4b711c:0x592,_0x2d7de7:0x35,_0x42ac08:0x2b,_0xdff534:0x48,_0x3c241f:0x3e,_0x20e3fe:0x5b8,_0x551577:0x59e,_0x240041:0x58d,_0xfabaab:0x39,_0x2752a8:0x33,_0x5dad49:0x38,_0x4f962f:0x58d,_0x420522:0x5a9,_0x5cfc0a:0x58},{sessionId:_0x345df6,projectDir:_0x4e318a}=_0x4c4f8a;return async(_0x1e9d21,_0x1a2677)=>{function _0x445578(_0xea64ca,_0x1f56df,_0x42ad79,_0x5c3b20){return _0x4c59(_0x42ad79-0x3bb,_0x1f56df);}function _0x143140(_0x5d2d6e,_0x1a37d3,_0x2ff742,_0x5a3972){return _0x4c59(_0x2ff742- -0x20a,_0x5d2d6e);}const _0x1a261a=_0x3a72a9['getHooks'](_0x445578(0x591,0x5a8,_0x12c638._0x4db846,0x5ba),_0x1e9d21['name']);for(const _0x31d596 of _0x1a261a){const _0x3704f0={'tool_name':_0x1e9d21['name'],'tool_input':_0x1e9d21[_0x445578(0x581,0x5a5,0x5a3,_0x12c638._0x4e94c7)],'session_id':_0x345df6},_0x418dd7=await _0x83e244(_0x31d596[_0x143140(-_0x12c638._0x5bb0cc,-0x3f,-_0x12c638._0x290650,-0x2d)],_0x3704f0,_0x31d596[_0x143140(-_0x12c638._0x470c07,-0x36,-_0x12c638._0x1fdbb8,_0x12c638._0x3464a5)],_0x4e318a),_0x1ce7ce=_0x418dd7[_0x445578(0x57a,_0x12c638._0x53d453,0x586,0x584)]?.[_0x143140(-0x37,-0xc,-0x26,-0x28)]?.[_0x143140(-0x4b,-0x68,-_0x12c638._0x1ff939,-_0x12c638._0x1afcb9)];if(_0x1ce7ce==='allow')break;if(_0x1ce7ce===_0x445578(_0x12c638._0x3c0f71,0x578,_0x12c638._0x36e924,_0x12c638._0x22b1ca))return{'action':'reject','reason':_0x418dd7[_0x143140(-_0x12c638._0x43be44,-_0x12c638._0x4bcd6d,-_0x12c638._0x40bf82,-0x1e)]?.[_0x143140(-_0x12c638._0x9565b1,-0x3c,-0x26,-0x28)]?.[_0x445578(_0x12c638._0x467471,_0x12c638._0x35cf8c,_0x12c638._0x56f5dd,0x59e)]||_0x445578(_0x12c638._0x20a0b5,_0x12c638._0x44523c,_0x12c638._0x2ba3b8,_0x12c638._0x4b711c)+_0x1e9d21[_0x143140(-_0x12c638._0x2d7de7,-_0x12c638._0x42ac08,-_0x12c638._0xdff534,-_0x12c638._0x3c241f)]};if(_0x418dd7['status']===_0x445578(_0x12c638._0x20e3fe,0x58d,_0x12c638._0x551577,_0x12c638._0x240041)||_0x418dd7[_0x143140(-0x30,-0x5e,-0x3f,-_0x12c638._0xfabaab)]?.[_0x143140(-_0x12c638._0x2752a8,-0x13,-0x2c,-_0x12c638._0x5dad49)]===_0x445578(0x57c,_0x12c638._0x4f962f,0x59e,0x5bf))return{'action':_0x445578(_0x12c638._0x420522,0x5ab,0x5a5,0x5b7),'reason':_0x418dd7['output']?.[_0x143140(-0x2b,-_0x12c638._0x5cfc0a,-0x4d,-0x4c)]||'Blocked\x20by\x20PreToolUse\x20hook\x20for\x20'+_0x1e9d21['name']};}return _0x40e7aa(_0x1e9d21,_0x1a2677);};}var DEFAULT_TIMEOUT_S2=0x3c;function createHookRegistry(_0x19e672){const _0x187f15={_0xdf1f2f:0xda,_0x3b5a75:0x103,_0x13dcf9:0xe5,_0x423b9f:0x38c,_0x40cf37:0x36a,_0x4b8f5f:0x371,_0x212b5a:0x39d,_0x4a8853:0x393,_0x11a889:0x39e,_0x18899a:0xf0,_0x57d1b2:0x3a9,_0x31c986:0x3b8,_0x563735:0x380,_0x59767a:0x376},_0x5ca5fe={_0x3e92ac:0x1c5};return{'hasHooks'(_0x4b20b4){return(_0x19e672[_0x4b20b4]?.['length']??0x0)>0x0;},'getHooks'(_0x5e93a3,_0x4ee222){const _0x3ba57e={_0x52b84c:0xf2},_0x8f4aef=_0x19e672[_0x5e93a3];function _0x3cf9a2(_0x248352,_0x48b162,_0x3d7b51,_0x59db91){return _0x4c59(_0x59db91- -_0x3ba57e._0x52b84c,_0x48b162);}if(!_0x8f4aef)return[];const _0x568bce=[];for(const _0x665fc0 of _0x8f4aef){if(!_0x665fc0['matcher']||_0x665fc0['matcher']==='*'){_0x568bce[_0x3cf9a2(_0x187f15._0xdf1f2f,_0x187f15._0x3b5a75,_0x187f15._0x13dcf9,0xed)](..._0x665fc0[_0x376ae6(_0x187f15._0x423b9f,0x376,_0x187f15._0x40cf37,_0x187f15._0x4b8f5f)][_0x376ae6(_0x187f15._0x212b5a,_0x187f15._0x4a8853,0x393,_0x187f15._0x11a889)](_0x54444a=>({'command':_0x54444a['command'],'timeout':_0x54444a[_0x376ae6(0x3ab,0x3b2,0x3b3,0x3b0)]??DEFAULT_TIMEOUT_S2})));continue;}if(_0x4ee222===void 0x0)continue;const _0x2c8e01=new RegExp('^(?:'+_0x665fc0[_0x3cf9a2(0xce,0xd7,0x105,_0x187f15._0x18899a)]+')$');_0x2c8e01['test'](_0x4ee222)&&_0x568bce[_0x376ae6(0x3c1,0x3a4,_0x187f15._0x57d1b2,_0x187f15._0x31c986)](..._0x665fc0[_0x376ae6(_0x187f15._0x563735,_0x187f15._0x59767a,0x367,0x384)]['map'](_0x41d6c7=>({'command':_0x41d6c7[_0x3cf9a2(0xe3,0xbd,0xd6,0xd8)],'timeout':_0x41d6c7[_0x376ae6(0x3cd,0x3b2,0x3bc,0x3d3)]??DEFAULT_TIMEOUT_S2})));}function _0x376ae6(_0x4fcddd,_0x14eb1f,_0x4e8872,_0x12c016){return _0x4c59(_0x14eb1f-_0x5ca5fe._0x3e92ac,_0x12c016);}return _0x568bce;}};}export{createHookExtensions,createHookOnToolCallMiddleware,createHookRegistry,executeCommandHook};
1
+ (function(_0xb71c2a,_0x5a8980){const _0x5aea4e={_0x26278f:0x87,_0x385a7d:0x7b,_0x5a5d34:0x478,_0x332c5c:0x487,_0xc7c273:0x473,_0x446497:0x483,_0x6232e6:0x47d,_0x17327a:0x453,_0x505a9f:0x8a,_0x5371ff:0x6a,_0x15adbb:0x46b,_0x1da454:0x46c,_0x5eb56d:0x45e,_0x2bc3bf:0x491,_0x3ab237:0x489},_0x3e4c06={_0x1c0ef2:0x351},_0x41f252={_0x3aecae:0x9e},_0x412745=_0xb71c2a();function _0x16f2e5(_0x29746d,_0x482f53,_0x471376,_0x40bd45){return _0x4834(_0x29746d- -_0x41f252._0x3aecae,_0x482f53);}function _0x454402(_0x1cabe9,_0x2e03bc,_0x6b94c9,_0x4cbf50){return _0x4834(_0x2e03bc-_0x3e4c06._0x1c0ef2,_0x6b94c9);}while(!![]){try{const _0x5deac0=parseInt(_0x16f2e5(0xa5,0xba,_0x5aea4e._0x26278f,0x8b))/0x1*(parseInt(_0x16f2e5(0x87,_0x5aea4e._0x385a7d,0x6e,0x9d))/0x2)+parseInt(_0x454402(_0x5aea4e._0x5a5d34,_0x5aea4e._0x332c5c,_0x5aea4e._0xc7c273,_0x5aea4e._0x446497))/0x3+-parseInt(_0x16f2e5(0x9d,0x91,0xbd,0xb9))/0x4+-parseInt(_0x454402(0x48c,0x47a,_0x5aea4e._0x6232e6,0x48f))/0x5+-parseInt(_0x454402(0x48b,0x46e,0x473,_0x5aea4e._0x17327a))/0x6+parseInt(_0x16f2e5(0x85,0x71,_0x5aea4e._0x505a9f,_0x5aea4e._0x5371ff))/0x7*(-parseInt(_0x454402(0x474,_0x5aea4e._0x15adbb,_0x5aea4e._0x1da454,_0x5aea4e._0x5eb56d))/0x8)+parseInt(_0x454402(0x472,_0x5aea4e._0x2bc3bf,0x495,0x498))/0x9*(parseInt(_0x454402(0x47f,_0x5aea4e._0x3ab237,0x48e,0x46d))/0xa);if(_0x5deac0===_0x5a8980)break;else _0x412745['push'](_0x412745['shift']());}catch(_0x5b236b){_0x412745['push'](_0x412745['shift']());}}}(_0x3fb6,0x75c39));function _0x4834(_0x17ad9b,_0x2313c0){_0x17ad9b=_0x17ad9b-0x108;const _0x3fb665=_0x3fb6();let _0x483482=_0x3fb665[_0x17ad9b];if(_0x4834['BTxSNn']===undefined){var _0x2f637b=function(_0x492631){const _0x173c84='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x37ccd2='',_0x1e30c7='';for(let _0x333787=0x0,_0x35e754,_0x911c58,_0x2856ec=0x0;_0x911c58=_0x492631['charAt'](_0x2856ec++);~_0x911c58&&(_0x35e754=_0x333787%0x4?_0x35e754*0x40+_0x911c58:_0x911c58,_0x333787++%0x4)?_0x37ccd2+=String['fromCharCode'](0xff&_0x35e754>>(-0x2*_0x333787&0x6)):0x0){_0x911c58=_0x173c84['indexOf'](_0x911c58);}for(let _0x4a8ba5=0x0,_0x3cb320=_0x37ccd2['length'];_0x4a8ba5<_0x3cb320;_0x4a8ba5++){_0x1e30c7+='%'+('00'+_0x37ccd2['charCodeAt'](_0x4a8ba5)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1e30c7);};_0x4834['IlFVsC']=_0x2f637b,_0x4834['gdIoAY']={},_0x4834['BTxSNn']=!![];}const _0x408ef5=_0x3fb665[0x0],_0x35df6a=_0x17ad9b+_0x408ef5,_0x493156=_0x4834['gdIoAY'][_0x35df6a];return!_0x493156?(_0x483482=_0x4834['IlFVsC'](_0x483482),_0x4834['gdIoAY'][_0x35df6a]=_0x483482):_0x483482=_0x493156,_0x483482;}import{spawn}from'child_process';var DEFAULT_TIMEOUT_S=0x3c;async function executeCommandHook(_0x37ccd2,_0x1e30c7,_0x333787=DEFAULT_TIMEOUT_S,_0x35e754){const _0x135723={_0x57c513:0x7f,_0x1a66bb:0x94,_0x1caf05:0x80,_0x2a5b11:0x7e},_0x5c3025={_0x300f15:0x13b,_0x1c7914:0x167,_0x25e15f:0x145,_0x5b3cc8:0x15d,_0x5c754b:0x171,_0x1003db:0x17c,_0x392045:0x90,_0x2a3585:0x79,_0x2786ee:0x82,_0xdbeae1:0x152,_0x5d3023:0x14a,_0x181f0a:0x153,_0x303982:0x134,_0x14556b:0x161,_0x438b5e:0x155,_0x35b328:0x157,_0x45f20:0x73,_0x39afb7:0x77,_0x5f1262:0x6f,_0x48715f:0x76,_0x42e4c1:0x74,_0x129750:0x72},_0x4f8703={_0x35d81f:0x15c,_0x2c502f:0x163,_0x2a0958:0x14c,_0x36dd7f:0x15a,_0x42e859:0x13f,_0xc47b64:0x15d},_0x580753={_0x2b9786:0x19f,_0x1c6a34:0x19b},_0x93f787={_0x535a86:0x1c1},_0x911c58=Date[_0x355c0f(_0x135723._0x57c513,_0x135723._0x1a66bb,_0x135723._0x1caf05,_0x135723._0x2a5b11)]();function _0x355c0f(_0x1fb74e,_0x150298,_0x3c24b9,_0x548cc9){return _0x4834(_0x3c24b9- -0x98,_0x1fb74e);}return new Promise(_0x2856ec=>{const _0x328786={_0x43d0c8:0x2d3,_0x9fc30e:0x2de,_0x30d56b:0x2e3,_0x476a2a:0x4d8,_0x5b07ec:0x4f7},_0x22232a={_0xdd00a5:0x146,_0x5b78d8:0x121,_0x406a42:0x130,_0x4bbef2:0x132,_0x3d16d3:0x132,_0x4cb750:0x3a0,_0xc1ec91:0x383,_0x313329:0x39c,_0x454e33:0x383,_0x5771af:0x395,_0x4d8edf:0x38f,_0x3ffbb5:0x383,_0x304774:0x373,_0xfb6c68:0x386,_0x27d05a:0x370,_0x569f50:0x370,_0x180ec0:0x385,_0x2cf1bf:0x110,_0x58cce0:0xf4,_0x494600:0x38b,_0x149663:0x3a8},_0x55d87b={_0x266808:0xb4},_0x369757={_0x1e38f:0xd6,_0x47c1ec:0xbf,_0x39eef5:0xdb,_0x32bf3a:0xb1,_0x257438:0xaf,_0x7d7b43:0xb8},_0x406405={_0xb59409:0x47,_0x1c8846:0x76},_0x3027c8={_0x32fb30:0x268,_0xa97be7:0x8e},_0x2b6b64={_0x259c43:0x7},_0x4a8ba5=spawn('sh',['-c',_0x37ccd2],{'stdio':['pipe','pipe',_0x3798aa(-0x158,-_0x5c3025._0x300f15,-0x150,-_0x5c3025._0x1c7914)],'env':{...process['env'],'CLAUDE_PROJECT_DIR':_0x35e754??process[_0x3798aa(-0x13c,-0x14d,-_0x5c3025._0x25e15f,-_0x5c3025._0x5b3cc8)]()}});let _0x3cb320='',_0x3a2275='';function _0x4befca(_0x597417,_0x2e6e7d,_0x35d583,_0x24ceab){return _0x355c0f(_0x2e6e7d,_0x2e6e7d-0x14a,_0x597417- -_0x2b6b64._0x259c43,_0x24ceab-0x192);}_0x4a8ba5[_0x3798aa(-_0x5c3025._0x5c754b,-_0x5c3025._0x1003db,-0x177,-0x162)]['on'](_0x4befca(_0x5c3025._0x392045,_0x5c3025._0x2a3585,_0x5c3025._0x2786ee,0x80),_0x331432=>{function _0x48cabd(_0x5c0615,_0x2b6e59,_0x4aa867,_0x1fec83){return _0x4befca(_0x4aa867- -_0x3027c8._0x32fb30,_0x5c0615,_0x4aa867-_0x3027c8._0xa97be7,_0x1fec83-0xdf);}_0x3cb320+=_0x331432[_0x48cabd(-0x1dc,-0x1d2,-_0x93f787._0x535a86,-0x1ca)]();});function _0x3798aa(_0x1f7b47,_0x1004b7,_0x1e0dcd,_0x39e246){return _0x355c0f(_0x39e246,_0x1004b7-0xd3,_0x1e0dcd- -0x1ea,_0x39e246-0xbb);}_0x4a8ba5[_0x3798aa(-0x148,-0x133,-_0x5c3025._0xdbeae1,-_0x5c3025._0x5d3023)]['on'](_0x3798aa(-0x135,-0x161,-_0x5c3025._0x181f0a,-_0x5c3025._0x303982),_0x3a0019=>{const _0x1ca06f={_0xbb0a33:0xc0};function _0x496474(_0x2d15f6,_0x18e0d3,_0x513723,_0x26b94e){return _0x4befca(_0x2d15f6-0xf8,_0x513723,_0x513723-_0x1ca06f._0xbb0a33,_0x26b94e-0x157);}_0x3a2275+=_0x3a0019[_0x496474(_0x580753._0x2b9786,_0x580753._0x1c6a34,0x19c,0x1bb)]();}),_0x4a8ba5['stdin']['on'](_0x3798aa(-_0x5c3025._0x14556b,-_0x5c3025._0x438b5e,-0x166,-0x155),_0x123ee7=>{function _0x5519c4(_0x1859c4,_0xa1e485,_0x4b87a5,_0x455183){return _0x4befca(_0x4b87a5-0x3ca,_0x455183,_0x4b87a5-0x1e8,_0x455183-0x118);}function _0x2bb698(_0x5abbe1,_0x231ef2,_0x4aa20d,_0x21f83a){return _0x4befca(_0x21f83a-_0x406405._0xb59409,_0x231ef2,_0x4aa20d-0xc6,_0x21f83a-_0x406405._0x1c8846);}if(_0x123ee7[_0x2bb698(_0x369757._0x1e38f,0xec,_0x369757._0x47c1ec,_0x369757._0x39eef5)]!==_0x2bb698(_0x369757._0x32bf3a,_0x369757._0x257438,0xa0,_0x369757._0x7d7b43))throw _0x123ee7;}),_0x4a8ba5['stdin'][_0x3798aa(-0x168,-0x16d,-_0x5c3025._0x35b328,-0x14b)](JSON[_0x4befca(0x8b,0x95,0x9c,_0x5c3025._0x45f20)](_0x1e30c7)),_0x4a8ba5['stdin']['end']();const _0x20368f=setTimeout(()=>{const _0x38c1d9={_0x1a1fde:0x178},_0x30e568={_0x9fa8dd:0x45,_0x383c5b:0xc0};_0x4a8ba5[_0x59c97e(-0x159,-_0x4f8703._0x35d81f,-0x151,-_0x4f8703._0x2c502f)]('SIGKILL');function _0x3219db(_0x12528e,_0x5c21a0,_0x50c8df,_0x5ed7d5){return _0x3798aa(_0x12528e-_0x30e568._0x9fa8dd,_0x5c21a0-_0x30e568._0x383c5b,_0x50c8df-0x1c,_0x5c21a0);}function _0x59c97e(_0x172b15,_0xfeb483,_0x1ee90c,_0x3fff86){return _0x3798aa(_0x172b15-0x19b,_0xfeb483-_0x38c1d9._0x1a1fde,_0x3fff86-0x4,_0x172b15);}_0x2856ec({'status':_0x59c97e(-0x16f,-_0x4f8703._0x2a0958,-_0x4f8703._0x36dd7f,-0x162),'error':_0x59c97e(-0x160,-_0x4f8703._0x42e859,-0x17c,-_0x4f8703._0xc47b64)+_0x333787+'s','duration_ms':Date['now']()-_0x911c58});},_0x333787*0x3e8);_0x4a8ba5['on'](_0x4befca(_0x5c3025._0x39afb7,_0x5c3025._0x5f1262,0x59,_0x5c3025._0x48715f),_0x25c94f=>{function _0x52f421(_0x36f410,_0x306d7b,_0x2c49e8,_0x3093dd){return _0x4befca(_0x306d7b- -0x1aa,_0x2c49e8,_0x2c49e8-0xe,_0x3093dd-_0x55d87b._0x266808);}clearTimeout(_0x20368f);const _0x559f21=Date[_0x52f421(-_0x22232a._0xdd00a5,-0x131,-_0x22232a._0x5b78d8,-0x122)]()-_0x911c58;if(_0x25c94f===0x2){_0x2856ec({'status':_0x52f421(-_0x22232a._0xdd00a5,-_0x22232a._0x406a42,-_0x22232a._0x4bbef2,-_0x22232a._0x3d16d3),'output':{'decision':_0x1230b1(0x392,_0x22232a._0x4cb750,0x378,0x3ae),'reason':_0x3a2275[_0x1230b1(_0x22232a._0xc1ec91,0x392,_0x22232a._0x313329,0x38e)]()||'Hook\x20blocked\x20execution'},'duration_ms':_0x559f21});return;}if(_0x25c94f!==0x0){_0x2856ec({'status':'error','error':'Hook\x20exited\x20with\x20code\x20'+_0x25c94f+(_0x3a2275[_0x1230b1(_0x22232a._0x454e33,0x37e,_0x22232a._0x5771af,0x375)]()?':\x20'+_0x3a2275[_0x1230b1(0x383,0x397,0x37c,_0x22232a._0x4d8edf)]():''),'duration_ms':_0x559f21});return;}function _0x1230b1(_0x3c5e46,_0x41134f,_0xb92239,_0x2f4cb5){return _0x4befca(_0x3c5e46-0x318,_0x2f4cb5,_0xb92239-0xdd,_0x2f4cb5-0x1c1);}const _0x1acae3=_0x3cb320[_0x1230b1(_0x22232a._0x3ffbb5,0x368,_0x22232a._0x304774,_0x22232a._0xfb6c68)]();if(_0x1acae3[_0x1230b1(0x38d,_0x22232a._0x27d05a,_0x22232a._0x569f50,_0x22232a._0x180ec0)]===0x0){_0x2856ec({'status':'pass','duration_ms':_0x559f21});return;}try{const _0x522c8d=JSON[_0x52f421(-0x12a,-_0x22232a._0x2cf1bf,-0x11d,-_0x22232a._0x58cce0)](_0x1acae3);_0x2856ec({'status':'pass','output':_0x522c8d,'duration_ms':_0x559f21});}catch{_0x2856ec({'status':_0x1230b1(0x39b,_0x22232a._0x494600,0x387,_0x22232a._0x149663),'duration_ms':_0x559f21});}}),_0x4a8ba5['on'](_0x4befca(0x7d,_0x5c3025._0x42e4c1,_0x5c3025._0x129750,0x63),_0x5c4923=>{const _0x5b5da4={_0x4a66c4:0x45f,_0x2d9558:0x1f4,_0x1fc54b:0x10};function _0x2b8af8(_0x17c958,_0x2d4357,_0x45cb3c,_0x3b889f){return _0x4befca(_0x17c958-0x26a,_0x3b889f,_0x45cb3c-0x19e,_0x3b889f-0x16d);}function _0x1c7c88(_0x5dfa40,_0x5c33ef,_0x1837ca,_0x438aba){return _0x4befca(_0x5c33ef-_0x5b5da4._0x4a66c4,_0x438aba,_0x1837ca-_0x5b5da4._0x2d9558,_0x438aba-_0x5b5da4._0x1fc54b);}clearTimeout(_0x20368f),_0x2856ec({'status':'error','error':_0x5c4923[_0x2b8af8(_0x328786._0x43d0c8,0x2e9,_0x328786._0x9fc30e,_0x328786._0x30d56b)],'duration_ms':Date[_0x1c7c88(0x4e5,_0x328786._0x476a2a,_0x328786._0x5b07ec,0x4c8)]()-_0x911c58});});});}function createHookExtensions(_0x189935,_0x1a4639,_0x519451={}){const _0x3b2b8c={_0x1f2dea:0x497,_0x22e577:0x486,_0x5c8fd1:0x47b,_0xc29dcd:0x49f,_0x4ffb4a:0x47e,_0x180315:0x4bd,_0x364681:0x494,_0x1dd317:0x4d,_0x3e3c87:0x5d,_0x6f1b40:0x42,_0x2f73f5:0x496,_0x46cbfc:0x48d,_0x2ba94c:0x4b7,_0x58d040:0x4a8,_0x172c8e:0x484},_0x3866c1={_0x33b7eb:0x471,_0x45b78c:0x462,_0x22ca52:0x369,_0x580f3c:0x363,_0x5020c3:0x47d,_0x128461:0x4a5,_0x1a0142:0x4c4,_0x2faa65:0x4a0,_0xedb583:0x499,_0x1d865f:0x48c,_0x2ae6b1:0x46d,_0x46ada8:0x476},_0x137502={_0x238e49:0xef},_0x313e3b={_0x2fd250:0x3be,_0x417121:0x3c6,_0x3f655b:0x3e6,_0x2bc4d7:0x400,_0x33a379:0x3dc,_0x61c664:0x176,_0x5d7a21:0x179,_0x3aa4d7:0x181,_0x15c7e6:0x16a,_0x16d6ec:0x167,_0x48c5a6:0x3f6,_0xda67b:0x411,_0x41cc94:0x3f2,_0x19d7a4:0x3f2},_0x556e83={_0x58f92f:0x40,_0x1295fd:0x155},_0x7cc348={_0x5c870a:0x12e},_0x13fa65={_0x5e0287:0x28c,_0x2ae4a9:0x69,_0x22067:0x4b,_0x3f59fd:0x2c8,_0x3ba135:0x2b8,_0x12510c:0x54,_0x8a4c4b:0x36,_0x2b7e3b:0x3d,_0x47f38a:0x4e,_0x133e36:0x48,_0x1149a3:0x2bb,_0xfd50d6:0x2e3,_0x2be88a:0x4f,_0x58436d:0x62,_0x2a2e44:0x2b5},_0x1c38ad={_0x5cb509:0x1ed,_0x4b6c4f:0x9f},_0x5aa799={_0x57689d:0x389},_0x4a4544=[],{sessionId:_0x117718,projectDir:_0x3278e4}=_0x519451;function _0x451aac(_0x1870af,_0x919ac7,_0x529d80,_0xb67b2e){return _0x4834(_0x1870af-_0x5aa799._0x57689d,_0xb67b2e);}const _0x182711=_0x526510=>_0x189935[_0x3f1af0(0x53,0x6c,0x4c,0x51)]?_0x189935[_0x3f1af0(0x53,0x71,0x58,0x60)](_0x526510):_0x189935['getHooks'](_0x526510)[_0x3f1af0(0x25,0x25,0x22,0x15)]>0x0;_0x182711('PostToolUse')&&_0x4a4544[_0x451aac(_0x3b2b8c._0x1f2dea,_0x3b2b8c._0x22e577,_0x3b2b8c._0x5c8fd1,_0x3b2b8c._0xc29dcd)]({'id':_0x451aac(0x49b,0x4b0,0x483,_0x3b2b8c._0x4ffb4a),'stage':'afterToolResult','kind':_0x451aac(0x4b7,0x4c8,0x4cf,0x4ca),'order':0x0,'enabled':!![],'run':async(_0x4135e5,_0x37f89b)=>{const _0x30ece9={_0xbc437d:0x1e9},_0x359890=_0x189935[_0x1014bf(0x2a8,0x2b7,_0x13fa65._0x5e0287,0x2b7)](_0x249a38(_0x13fa65._0x2ae4a9,_0x13fa65._0x22067,0x4d,0x62),_0x4135e5[_0x1014bf(_0x13fa65._0x3f59fd,0x2d3,0x2df,_0x13fa65._0x3ba135)]);function _0x249a38(_0x2a9079,_0x48fdc8,_0x3fd39f,_0x45a2fc){return _0x451aac(_0x2a9079- -0x461,_0x48fdc8-_0x30ece9._0xbc437d,_0x3fd39f-0x109,_0x3fd39f);}function _0x1014bf(_0x5e7fff,_0xd008cf,_0x44876f,_0xac99ed){return _0x451aac(_0x5e7fff- -_0x1c38ad._0x5cb509,_0xd008cf-0x1a6,_0x44876f-_0x1c38ad._0x4b6c4f,_0xac99ed);}for(const _0xcf7b2e of _0x359890){const _0x3e42b7={'tool_name':_0x4135e5[_0x249a38(_0x13fa65._0x12510c,_0x13fa65._0x8a4c4b,_0x13fa65._0x2b7e3b,0x35)],'tool_input':void 0x0,'tool_output':_0x4135e5[_0x249a38(_0x13fa65._0x47f38a,_0x13fa65._0x133e36,0x58,0x4c)],'tool_result_status':_0x4135e5[_0x1014bf(0x2db,_0x13fa65._0x1149a3,0x2c3,_0x13fa65._0xfd50d6)],'session_id':_0x117718??_0x37f89b['state']['sessionId']};await _0x1a4639(_0xcf7b2e[_0x249a38(_0x13fa65._0x2be88a,0x47,0x5e,_0x13fa65._0x58436d)],_0x3e42b7,_0xcf7b2e[_0x1014bf(0x2c0,_0x13fa65._0x2a2e44,0x2c4,0x2cb)],_0x3278e4);}}});_0x182711(_0x451aac(_0x3b2b8c._0x180315,0x4ce,0x4be,0x4db))&&_0x4a4544[_0x451aac(0x497,_0x3b2b8c._0x364681,0x4a2,0x479)]({'id':'hook:Stop','stage':_0x3f1af0(_0x3b2b8c._0x1dd317,_0x3b2b8c._0x3e3c87,_0x3b2b8c._0x6f1b40,0x54),'kind':_0x3f1af0(0x3f,0x3e,0x57,0x2e),'order':0x0,'enabled':!![],'run':async(_0x5b4c59,_0x36e879)=>{function _0x1142ea(_0x29112c,_0x1fddc2,_0x28f657,_0x4e8868){return _0x3f1af0(_0x28f657-_0x7cc348._0x5c870a,_0x1fddc2-0x1cf,_0x28f657-0x1b0,_0x4e8868);}const _0x698095=_0x189935[_0x16812c(_0x313e3b._0x2fd250,_0x313e3b._0x417121,0x3a5,0x3c8)](_0x16812c(_0x313e3b._0x3f655b,_0x313e3b._0x2bc4d7,0x3db,_0x313e3b._0x33a379));function _0x16812c(_0x52fe7b,_0x112fc1,_0x54cdfe,_0x780b6e){return _0x3f1af0(_0x52fe7b-0x3a1,_0x112fc1-_0x556e83._0x58f92f,_0x54cdfe-_0x556e83._0x1295fd,_0x112fc1);}for(const _0x1682fa of _0x698095){const _0x135af3={'stop_reason':_0x1142ea(_0x313e3b._0x61c664,0x161,_0x313e3b._0x5d7a21,_0x313e3b._0x3aa4d7),'session_id':_0x117718??_0x36e879[_0x1142ea(_0x313e3b._0x15c7e6,0x182,_0x313e3b._0x16d6ec,0x162)][_0x16812c(_0x313e3b._0x48c5a6,_0x313e3b._0xda67b,0x3da,_0x313e3b._0x41cc94)]};await _0x1a4639(_0x1682fa['command'],_0x135af3,_0x1682fa[_0x16812c(0x3d6,0x3d5,0x3c4,_0x313e3b._0x19d7a4)],_0x3278e4);}}});function _0x3f1af0(_0xc1828c,_0x255c1c,_0x395cf0,_0x2d7798){return _0x4834(_0xc1828c- -_0x137502._0x238e49,_0x2d7798);}return _0x182711(_0x451aac(_0x3b2b8c._0x2f73f5,0x4b6,0x48b,_0x3b2b8c._0x46cbfc))&&_0x4a4544['push']({'id':_0x451aac(0x4a9,0x49e,0x4c1,0x494),'stage':_0x451aac(0x49a,_0x3b2b8c._0x2ba94c,_0x3b2b8c._0x58d040,_0x3b2b8c._0x172c8e),'kind':_0x3f1af0(0x3f,0x45,0x57,0x44),'order':0x0,'enabled':!![],'run':async(_0xa2ef39,_0x532b2e)=>{const _0x3b1b54={_0x546bc9:0x34b,_0x2ad579:0x12f,_0x599ec4:0x1d8},_0xf72c22={_0x15017e:0x88};function _0x38e98f(_0x5358fe,_0x57f73b,_0x3ce428,_0x466463){return _0x3f1af0(_0x5358fe-0x450,_0x57f73b-_0xf72c22._0x15017e,_0x3ce428-0x1b6,_0x3ce428);}const _0x4488ac=_0x189935[_0x38e98f(0x46d,_0x3866c1._0x33b7eb,0x47b,_0x3866c1._0x45b78c)](_0xa6f148(0x369,_0x3866c1._0x22ca52,0x383,_0x3866c1._0x580f3c));function _0xa6f148(_0x52aecd,_0x450df0,_0xb98e7d,_0x3d74db){return _0x3f1af0(_0x52aecd-_0x3b1b54._0x546bc9,_0x450df0-_0x3b1b54._0x2ad579,_0xb98e7d-_0x3b1b54._0x599ec4,_0xb98e7d);}for(const _0x25f58b of _0x4488ac){const _0x49a137={'message':_0x38e98f(0x46a,0x47e,0x451,_0x3866c1._0x5020c3),'session_id':_0x117718??_0xa2ef39[_0x38e98f(_0x3866c1._0x128461,0x4ad,_0x3866c1._0x1a0142,_0x3866c1._0x2faa65)]};await _0x1a4639(_0x25f58b[_0x38e98f(0x488,_0x3866c1._0xedb583,_0x3866c1._0x1d865f,_0x3866c1._0x2ae6b1)],_0x49a137,_0x25f58b[_0x38e98f(0x485,0x476,0x470,_0x3866c1._0x46ada8)],_0x3278e4);}}}),_0x4a4544;}function createHookOnToolCallMiddleware(_0x4bc5bc,_0x4f4fab,_0x47bcce,_0x11bccf={}){const _0x2ffd52={_0xaf9523:0x97,_0x8b51af:0x121,_0x1aaae:0x125,_0x20124a:0x12a,_0x8001f1:0xdf,_0x283109:0xe5,_0x355ab0:0x142,_0x360878:0x122,_0x4f58e0:0xdb,_0x1f8c86:0xda,_0x47b7c4:0xaf,_0x43b08b:0xc1,_0x48222b:0x143,_0x54e064:0x132,_0x203fe6:0xc9,_0x1017ca:0xc4,_0x598a38:0xb7,_0x368be0:0xfe,_0xfc6e1d:0xe8,_0x423d3c:0xde,_0x2b0efe:0x118,_0x1e35ad:0xb9,_0x287a81:0x105,_0x2a8ec6:0xb9,_0x1f3ffb:0xa6,_0x17dde2:0xd2,_0x3ba9ad:0xbb,_0xc3931d:0xc8,_0xf77a1:0xc3,_0x2c21ad:0x9c,_0x2858bf:0xbb,_0x364828:0x133,_0x108631:0x15d,_0x55db18:0x14a,_0x432c7a:0x126,_0x29f672:0x11b,_0x51376e:0x141},_0x544a6f={_0x3b83d4:0x5e},_0x27d847={_0x44535d:0xc},{sessionId:_0x3c0af5,projectDir:_0x4c8c98}=_0x11bccf;return async(_0x4967da,_0x2b12b3)=>{const _0x214120=_0x4bc5bc[_0x294e89(0xc2,_0x2ffd52._0xaf9523,0xbc,0xae)](_0x221014(_0x2ffd52._0x8b51af,_0x2ffd52._0x1aaae,0x11d,_0x2ffd52._0x20124a),_0x4967da[_0x294e89(0xe4,_0x2ffd52._0x8001f1,_0x2ffd52._0x283109,0xd7)]);function _0x221014(_0x4b59a5,_0x257798,_0x2cb4be,_0x17646d){return _0x4834(_0x17646d-_0x27d847._0x44535d,_0x257798);}for(const _0x2a81b9 of _0x214120){const _0xfa2963={'tool_name':_0x4967da[_0x221014(_0x2ffd52._0x355ab0,_0x2ffd52._0x360878,0x14c,0x141)],'tool_input':_0x4967da[_0x294e89(_0x2ffd52._0x4f58e0,_0x2ffd52._0x1f8c86,_0x2ffd52._0x47b7c4,_0x2ffd52._0x43b08b)],'session_id':_0x3c0af5},_0x414b68=await _0x4f4fab(_0x2a81b9['command'],_0xfa2963,_0x2a81b9[_0x294e89(0xd8,0xc5,0xb6,0xc6)],_0x4c8c98),_0x4567bc=_0x414b68[_0x221014(0x13a,0x122,_0x2ffd52._0x48222b,_0x2ffd52._0x54e064)]?.['hookSpecificOutput']?.['permissionDecision'];if(_0x4567bc===_0x294e89(_0x2ffd52._0x203fe6,0xcd,_0x2ffd52._0x1017ca,_0x2ffd52._0x598a38))break;if(_0x4567bc==='deny')return{'action':_0x294e89(_0x2ffd52._0x368be0,_0x2ffd52._0xfc6e1d,_0x2ffd52._0x423d3c,0xe0),'reason':_0x414b68[_0x221014(_0x2ffd52._0x2b0efe,0x12a,0x143,0x132)]?.[_0x294e89(0x9b,0xae,0xb6,_0x2ffd52._0x1e35ad)]?.['permissionDecisionReason']||_0x294e89(0xdd,_0x2ffd52._0x203fe6,_0x2ffd52._0x287a81,0xe7)+_0x4967da[_0x294e89(_0x2ffd52._0x2a8ec6,0xf4,0xde,0xd7)]};if(_0x414b68['status']===_0x294e89(0xa9,_0x2ffd52._0x1f3ffb,_0x2ffd52._0x17dde2,_0x2ffd52._0x3ba9ad)||_0x414b68[_0x221014(0x139,0x11d,0x13e,0x132)]?.[_0x294e89(0xc7,_0x2ffd52._0xc3931d,_0x2ffd52._0xf77a1,0xb5)]===_0x294e89(0xb7,_0x2ffd52._0x2c21ad,0xa8,_0x2ffd52._0x2858bf))return{'action':_0x221014(_0x2ffd52._0x364828,0x147,_0x2ffd52._0x108631,_0x2ffd52._0x55db18),'reason':_0x414b68['output']?.[_0x221014(_0x2ffd52._0x432c7a,0x129,0x107,_0x2ffd52._0x29f672)]||'Blocked\x20by\x20PreToolUse\x20hook\x20for\x20'+_0x4967da[_0x221014(0x129,0x123,0x131,_0x2ffd52._0x51376e)]};}function _0x294e89(_0x4ac35d,_0x47342b,_0x48350f,_0x1568c8){return _0x4834(_0x1568c8- -_0x544a6f._0x3b83d4,_0x4ac35d);}return _0x47bcce(_0x4967da,_0x2b12b3);};}var DEFAULT_TIMEOUT_S2=0x3c;function createHookRegistry(_0xc9e0c9){const _0x5df5b2={_0x2cfb15:0x14f,_0x3a5e22:0x13f,_0x1450d6:0x135,_0x29a8d3:0x441,_0x308a73:0x45e,_0x3fe0cb:0x16f,_0x55b163:0x157,_0x11a9a3:0x450,_0x5a046e:0x465,_0x5e8a91:0x456,_0x3c78c5:0x116,_0x302990:0x131,_0x101964:0x169,_0x4132d3:0x45a,_0x3aad9b:0x448},_0x130e03={_0x47e26e:0x419};return{'hasHooks'(_0x52b7cb){function _0x79c157(_0x3adb32,_0x56e1ca,_0x20e425,_0x1d29d3){return _0x4834(_0x3adb32-0x313,_0x20e425);}return(_0xc9e0c9[_0x52b7cb]?.[_0x79c157(0x427,0x446,_0x130e03._0x47e26e,0x43d)]??0x0)>0x0;},'getHooks'(_0x3bb76e,_0x4edae8){const _0x5c6287=_0xc9e0c9[_0x3bb76e];function _0xa27aec(_0x430a91,_0x3269c2,_0xa3f8d8,_0x5a9859){return _0x4834(_0x5a9859- -0x265,_0x430a91);}function _0x718ffc(_0x19bab6,_0x31a3b1,_0x8189f0,_0xb7a9eb){return _0x4834(_0x19bab6-0x319,_0x31a3b1);}if(!_0x5c6287)return[];const _0x49ead2=[];for(const _0x317598 of _0x5c6287){if(!_0x317598[_0xa27aec(-_0x5df5b2._0x2cfb15,-_0x5df5b2._0x3a5e22,-_0x5df5b2._0x1450d6,-0x134)]||_0x317598[_0x718ffc(0x44a,_0x5df5b2._0x29a8d3,_0x5df5b2._0x308a73,0x43e)]==='*'){_0x49ead2[_0xa27aec(-0x16c,-0x163,-_0x5df5b2._0x3fe0cb,-_0x5df5b2._0x55b163)](..._0x317598['hooks']['map'](_0x57aa55=>({'command':_0x57aa55[_0x718ffc(0x440,0x434,0x447,0x45d)],'timeout':_0x57aa55['timeout']??DEFAULT_TIMEOUT_S2})));continue;}if(_0x4edae8===void 0x0)continue;const _0x4de12b=new RegExp(_0x718ffc(_0x5df5b2._0x11a9a3,_0x5df5b2._0x5a046e,0x45e,_0x5df5b2._0x5e8a91)+_0x317598[_0xa27aec(-_0x5df5b2._0x3c78c5,-_0x5df5b2._0x302990,-0x11c,-0x134)]+')$');_0x4de12b['test'](_0x4edae8)&&_0x49ead2[_0xa27aec(-0x162,-_0x5df5b2._0x101964,-0x15a,-_0x5df5b2._0x55b163)](..._0x317598['hooks'][_0x718ffc(0x446,0x444,_0x5df5b2._0x4132d3,_0x5df5b2._0x3aad9b)](_0x146eb8=>({'command':_0x146eb8[_0x718ffc(0x440,0x424,0x459,0x42e)],'timeout':_0x146eb8['timeout']??DEFAULT_TIMEOUT_S2})));}return _0x49ead2;}};}export{createHookExtensions,createHookOnToolCallMiddleware,createHookRegistry,executeCommandHook};function _0x3fb6(){const _0x2a6952=['y2XVC2u','Ag9VA1nWzwnPzMLJt3v0Chv0','BM93','yMXVy2S','mtiWwe1HzfPv','A2LSBa','zxjYB3i','nJuXmtC0rxvpC2fg','uhjLvg9VBfvZzq','Aw5WDxq','Ag9VAZPoB3rPzMLJyxrPB24','sg9VAYb0Aw1LzcbVDxqGywz0zxiG','CgfZCW','mJu1ntK4r1bcrezs','DgLTzw91Da','mti2BuX6zhzQ','B3v0Chv0','y29TBwfUza','C3rHDgu','ndy3ndm1me5xq0PAzW','C3rYAw5NAwz5','D3jPDgu','Dg9VBe5HBwu','BwfW','B2jZzxj2zxi','zgf0yq','C3rKzxjY','Bwf0y2HLCG','CgLWzq','y29Kzq','u3rVCa','BMfTzq','nJyYnJDkA0jpuve','xIG/oG','mtaWmJe1mJbvs0XOtLG','CgfYC2u','zw5Kx3r1CM4','mZqWnJiYmgPerfDRqW','yMvMB3jLrMLUywXpDxrWDxq','y3DK','CMvQzwn0','C3rHDhvZ','mtH0rwnuEwi','ug9ZDfrVB2XvC2u','AgfZsg9VA3m','mtqYnJrICgH1Bhq','C2vZC2LVBKLK','ugvYBwLZC2LVBIbKzw5PzwqGzM9Yia','Dg9tDhjPBMC','BwvZC2fNzq','qwDLBNqGzMLUAxnOzwqGCMvZCg9UzgLUzW','DhjPBq','C3rKB3v0','z2v0sg9VA3m','tM90AwzPy2f0Aw9U','ChvZAa','CMvHC29U','rvbjueu','ywz0zxjuDxjUq29TCgXLDgu','Ag9VAZPqB3n0vg9VBfvZzq','zgvJAxnPB24','BgvUz3rO','ywXSB3C'];_0x3fb6=function(){return _0x2a6952;};return _0x3fb6();}
@@ -1 +1 @@
1
- (function(_0x28cbd1,_0x28a9a1){var _0x42c361={_0x46904e:0xd2,_0x59c7a3:0xce,_0x241176:0xca,_0x18f52d:0xd0,_0x2b9255:0xcb,_0x1572ac:0xcd,_0x333128:0xc8,_0x33f1e0:0x55f,_0x4020db:0x564,_0xa0c9b3:0x569,_0x5b9910:0x55d,_0x5bfa89:0x55e,_0x354359:0x564,_0x24e12e:0xd4,_0x14fbe6:0xd9,_0x4835e2:0x56a,_0x50b7a5:0x568,_0x212bbb:0xd1,_0x228806:0xcd},_0x17575b=_0x28cbd1();function _0x4a7f48(_0x4c1d20,_0x57f0a0,_0x4d919a,_0x353a54){return _0x2632(_0x57f0a0-0x39f,_0x4d919a);}function _0x2dce1f(_0xf69505,_0x1c8810,_0x30b95a,_0xf5854b){return _0x2632(_0xf69505- -0x294,_0x1c8810);}while(!![]){try{var _0x1e6085=parseInt(_0x2dce1f(-_0x42c361._0x46904e,-0xd5,-0xce,-0xce))/0x1+parseInt(_0x2dce1f(-_0x42c361._0x59c7a3,-_0x42c361._0x46904e,-_0x42c361._0x241176,-0xcb))/0x2*(parseInt(_0x2dce1f(-_0x42c361._0x18f52d,-0xcd,-0xd5,-0xcf))/0x3)+parseInt(_0x2dce1f(-_0x42c361._0x2b9255,-0xc7,-0xc7,-_0x42c361._0x241176))/0x4*(-parseInt(_0x2dce1f(-0xcd,-_0x42c361._0x1572ac,-_0x42c361._0x333128,-0xc8))/0x5)+parseInt(_0x4a7f48(_0x42c361._0x33f1e0,_0x42c361._0x4020db,0x561,_0x42c361._0xa0c9b3))/0x6+parseInt(_0x4a7f48(_0x42c361._0x5b9910,0x560,_0x42c361._0x5bfa89,_0x42c361._0x354359))/0x7+-parseInt(_0x2dce1f(-0xd4,-_0x42c361._0x18f52d,-_0x42c361._0x24e12e,-_0x42c361._0x14fbe6))/0x8*(parseInt(_0x4a7f48(_0x42c361._0x4835e2,0x567,_0x42c361._0x50b7a5,0x568))/0x9)+parseInt(_0x2dce1f(-_0x42c361._0x212bbb,-0xd5,-0xcf,-_0x42c361._0x228806))/0xa;if(_0x1e6085===_0x28a9a1)break;else _0x17575b['push'](_0x17575b['shift']());}catch(_0x3c94f2){_0x17575b['push'](_0x17575b['shift']());}}}(_0x586d,0x7f19f));import{IsolateLimitError,IsolationUnavailableError,classifyIsolateError,loadIsolatedVm}from'../chunk-EQGBU73Q.js';function _0x2632(_0x41fa23,_0x46b2d0){_0x41fa23=_0x41fa23-0x1c0;var _0x586dfe=_0x586d();var _0x2632c1=_0x586dfe[_0x41fa23];if(_0x2632['PLrfBh']===undefined){var _0x42a691=function(_0x527384){var _0x4899f0='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x2c9300='',_0x3471c4='';for(var _0x4cb24b=0x0,_0x82d17c,_0x3486aa,_0x43ebd0=0x0;_0x3486aa=_0x527384['charAt'](_0x43ebd0++);~_0x3486aa&&(_0x82d17c=_0x4cb24b%0x4?_0x82d17c*0x40+_0x3486aa:_0x3486aa,_0x4cb24b++%0x4)?_0x2c9300+=String['fromCharCode'](0xff&_0x82d17c>>(-0x2*_0x4cb24b&0x6)):0x0){_0x3486aa=_0x4899f0['indexOf'](_0x3486aa);}for(var _0x223fd6=0x0,_0x6732f7=_0x2c9300['length'];_0x223fd6<_0x6732f7;_0x223fd6++){_0x3471c4+='%'+('00'+_0x2c9300['charCodeAt'](_0x223fd6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3471c4);};_0x2632['Pojzqz']=_0x42a691,_0x2632['PqpUVS']={},_0x2632['PLrfBh']=!![];}var _0x12ae55=_0x586dfe[0x0],_0x4a7105=_0x41fa23+_0x12ae55,_0x4be879=_0x2632['PqpUVS'][_0x4a7105];return!_0x4be879?(_0x2632c1=_0x2632['Pojzqz'](_0x2632c1),_0x2632['PqpUVS'][_0x4a7105]=_0x2632c1):_0x2632c1=_0x4be879,_0x2632c1;}function _0x586d(){var _0x28a458=['mZKYmtqXme5RwLnZuG','nteZnJnIq2rgzKi','nJmZodu4AuTlAKvi','nZrmEhf6ug4','mtu3mhLOt25YwG','nZeZodH1DurUwg4','mta5otj1rKP6Agu','mJK2yufst0Pj','mZa5mJG5nhDdtuDSwG','mtaZodyWB1vUAfPZ'];_0x586d=function(){return _0x28a458;};return _0x586d();}export{IsolateLimitError,IsolationUnavailableError,classifyIsolateError,loadIsolatedVm};
1
+ function _0x47b2(){var _0x1376ec=['mJqYu0HgrgDM','mtHsBxP5s1y','mtyYmdCWmKjIvwPVsW','mJi4ndCWngjtueLbBa','mJG3ntC2nfrkCwD4Eq','mJy3oda4nujuuKjvra','mJyWnJaZn1vTshzuCq','nte5mdiXs3DSt1Ls','mZm0mM5rsMTTta'];_0x47b2=function(){return _0x1376ec;};return _0x47b2();}(function(_0x467b50,_0x3d5de3){var _0x54b9bf={_0x368b77:0x1eb,_0x170565:0x1e7,_0x25c4eb:0xa9,_0xdc6cbf:0xa6,_0x53322f:0xa7,_0xf323af:0x1ee,_0x185c82:0x1f2,_0x1eddf1:0x1ee,_0x4c8113:0x1ed,_0x541189:0x1e7,_0x57a90a:0x1e3,_0x36c889:0x1eb,_0x263f2a:0x1ea,_0x127092:0x1e8},_0x5abdd0={_0xccd3ed:0x155};function _0x2795a0(_0x451ebd,_0x3edf86,_0x4ebaf1,_0x45ce47){return _0x518f(_0x4ebaf1- -_0x5abdd0._0xccd3ed,_0x451ebd);}function _0x10e77a(_0x433264,_0x33d103,_0x30d79b,_0x5ea585){return _0x518f(_0x433264- -0x298,_0x33d103);}var _0x152cec=_0x467b50();while(!![]){try{var _0x9c33f5=-parseInt(_0x10e77a(-_0x54b9bf._0x368b77,-0x1eb,-_0x54b9bf._0x170565,-0x1eb))/0x1+-parseInt(_0x2795a0(-_0x54b9bf._0x25c4eb,-0xa8,-_0x54b9bf._0xdc6cbf,-0xa2))/0x2*(parseInt(_0x2795a0(-0xa3,-_0x54b9bf._0xdc6cbf,-_0x54b9bf._0x53322f,-0xa8))/0x3)+-parseInt(_0x10e77a(-_0x54b9bf._0xf323af,-_0x54b9bf._0x185c82,-0x1f0,-_0x54b9bf._0x1eddf1))/0x4+parseInt(_0x10e77a(-_0x54b9bf._0x4c8113,-0x1e8,-_0x54b9bf._0x4c8113,-0x1f2))/0x5+parseInt(_0x10e77a(-_0x54b9bf._0x170565,-_0x54b9bf._0x541189,-_0x54b9bf._0x57a90a,-_0x54b9bf._0x368b77))/0x6+parseInt(_0x10e77a(-0x1ec,-_0x54b9bf._0x36c889,-0x1ea,-_0x54b9bf._0x263f2a))/0x7+-parseInt(_0x10e77a(-0x1e6,-0x1eb,-0x1e9,-_0x54b9bf._0x127092))/0x8*(-parseInt(_0x2795a0(-0xa6,-0xa1,-0xa5,-0xa2))/0x9);if(_0x9c33f5===_0x3d5de3)break;else _0x152cec['push'](_0x152cec['shift']());}catch(_0x4a2dd5){_0x152cec['push'](_0x152cec['shift']());}}}(_0x47b2,0x5be7d));function _0x518f(_0x358a85,_0x2ad4c8){_0x358a85=_0x358a85-0xaa;var _0x47b20c=_0x47b2();var _0x518fc1=_0x47b20c[_0x358a85];if(_0x518f['Eaczwl']===undefined){var _0x386450=function(_0xbec08c){var _0x293821='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x1d4cbd='',_0xed1ec6='';for(var _0x2726fc=0x0,_0x228d52,_0x519ba3,_0x40cb5f=0x0;_0x519ba3=_0xbec08c['charAt'](_0x40cb5f++);~_0x519ba3&&(_0x228d52=_0x2726fc%0x4?_0x228d52*0x40+_0x519ba3:_0x519ba3,_0x2726fc++%0x4)?_0x1d4cbd+=String['fromCharCode'](0xff&_0x228d52>>(-0x2*_0x2726fc&0x6)):0x0){_0x519ba3=_0x293821['indexOf'](_0x519ba3);}for(var _0x4743cd=0x0,_0x13b896=_0x1d4cbd['length'];_0x4743cd<_0x13b896;_0x4743cd++){_0xed1ec6+='%'+('00'+_0x1d4cbd['charCodeAt'](_0x4743cd)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xed1ec6);};_0x518f['bCzzBF']=_0x386450,_0x518f['ZWZWuW']={},_0x518f['Eaczwl']=!![];}var _0x537639=_0x47b20c[0x0],_0x1fec94=_0x358a85+_0x537639,_0x50dbf5=_0x518f['ZWZWuW'][_0x1fec94];return!_0x50dbf5?(_0x518fc1=_0x518f['bCzzBF'](_0x518fc1),_0x518f['ZWZWuW'][_0x1fec94]=_0x518fc1):_0x518fc1=_0x50dbf5,_0x518fc1;}import{IsolateLimitError,IsolationUnavailableError,classifyIsolateError,loadIsolatedVm}from'../chunk-EQGBU73Q.js';export{IsolateLimitError,IsolationUnavailableError,classifyIsolateError,loadIsolatedVm};