@nuvin/agent-core 0.1.0-rc.3 → 0.1.0-rc.4

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(_0x15240c,_0x33fbef){const _0x4bcab2={_0x3843e5:0x3b7,_0x571773:0x52,_0x42feca:0x178,_0x57d112:0x1ff,_0x1bc734:0x40,_0x574202:0xab,_0x58442e:0xd1,_0x5c4f7e:0x6d5,_0x290f1b:0x32,_0x1fbbdf:0x188,_0x22d718:0x1a6,_0x3a43f7:0x3e,_0x5d3907:0x11,_0x45be50:0xd7,_0x27a9a3:0xd8,_0x297e7a:0x624,_0x15bd28:0x6e8,_0x54afc2:0x6e5,_0x245023:0x2bc,_0x3fa872:0x259},_0x3ca60f={_0x578567:0x1b8};function _0x354562(_0x4d3a42,_0xae4aaf,_0x3bf4b6,_0x3a0b13){return _0x1df5(_0x3a0b13-0x2f4,_0xae4aaf);}const _0x2b8ebf=_0x15240c();function _0x439b33(_0x196a5d,_0xacd0dd,_0x5b2623,_0x4d281e){return _0x1df5(_0xacd0dd- -_0x3ca60f._0x578567,_0x196a5d);}while(!![]){try{const _0x37e55a=-parseInt(_0x354562(0x3e2,0x497,_0x4bcab2._0x3843e5,0x523))/0x1+parseInt(_0x439b33(_0x4bcab2._0x571773,0xc5,_0x4bcab2._0x42feca,_0x4bcab2._0x57d112))/0x2*(parseInt(_0x439b33(0x32,0x99,0x96,-_0x4bcab2._0x1bc734))/0x3)+parseInt(_0x439b33(-_0x4bcab2._0x574202,0x12,_0x4bcab2._0x58442e,0xba))/0x4+-parseInt(_0x354562(0x695,_0x4bcab2._0x5c4f7e,0x6e5,0x602))/0x5*(parseInt(_0x439b33(_0x4bcab2._0x290f1b,_0x4bcab2._0x1fbbdf,0x159,0x72))/0x6)+parseInt(_0x439b33(-_0x4bcab2._0x22d718,-_0x4bcab2._0x3a43f7,-0x1a3,0xb9))/0x7+-parseInt(_0x439b33(-0x95,-_0x4bcab2._0x5d3907,_0x4bcab2._0x45be50,-_0x4bcab2._0x27a9a3))/0x8+-parseInt(_0x354562(_0x4bcab2._0x297e7a,0x696,_0x4bcab2._0x15bd28,_0x4bcab2._0x54afc2))/0x9*(-parseInt(_0x439b33(_0x4bcab2._0x245023,0x14c,_0x4bcab2._0x3fa872,0x119))/0xa);if(_0x37e55a===_0x33fbef)break;else _0x2b8ebf['push'](_0x2b8ebf['shift']());}catch(_0x4152a4){_0x2b8ebf['push'](_0x2b8ebf['shift']());}}}(_0x2ed3,0x28633));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,validateToolInput}from'../chunk-FKZ3QQWZ.js';import{getTextFromMessage}from'../chunk-QDOE7NWO.js';import'../chunk-FFIZ6TKW.js';import{addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';import{fileURLToPath}from'url';import{readFile}from'fs/promises';import{pathToFileURL}from'url';import{createMessageConnection,StreamMessageReader,StreamMessageWriter}from'vscode-jsonrpc/node.js';import _0x27768c from'path';var EXTENSION_TO_LANGUAGE={'.ts':_0x257320(0x48c,0x67a,0x57a,0x4aa),'.tsx':_0x257320(0x568,0x4e5,0x50c,0x5ed),'.js':_0x3342ed(0x304,0x303,0x337,0x3c5),'.jsx':_0x3342ed(0x121,0x153,0x233,0x3a7),'.mjs':_0x3342ed(0x416,0x3e8,0x337,0x2e2),'.cjs':_0x257320(0x462,0x3f5,0x3c3,0x481),'.mts':'typescript','.cts':'typescript','.json':_0x257320(0x29a,0x262,0x39e,0x3ad),'.jsonc':_0x257320(0x48d,0x318,0x482,0x36a)};function getLanguageId(_0x43b0c7){return EXTENSION_TO_LANGUAGE[_0x27768c['extname'](_0x43b0c7)['toLowerCase']()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8;function uriForPath(_0x4e50ef){return pathToFileURL(_0x4e50ef)['toString']();}function textDocumentPosition(_0x3e32f4){const _0x31c52a={_0x5b9164:0x186,_0x72a12:0x4f6,_0x34b786:0x38e,_0x357f1a:0x5ea},_0x2708fd={_0x3ddbd2:0x58,_0x56ae75:0x4a},_0x32588b={_0x470c4c:0x6c,_0x5e6de4:0x39d,_0x1dc5ce:0x5b};function _0x5baa32(_0x41a0c0,_0x22f197,_0x4d96e3,_0x881ab4){return _0x3342ed(_0x41a0c0-_0x32588b._0x470c4c,_0x22f197,_0x41a0c0- -_0x32588b._0x5e6de4,_0x881ab4-_0x32588b._0x1dc5ce);}function _0x1f971b(_0xa3d6fc,_0x35db2d,_0x241236,_0x16aaa4){return _0x3342ed(_0xa3d6fc-0xd6,_0x16aaa4,_0xa3d6fc-_0x2708fd._0x3ddbd2,_0x16aaa4-_0x2708fd._0x56ae75);}return{'textDocument':{'uri':uriForPath(_0x3e32f4[_0x5baa32(-_0x31c52a._0x5b9164,-0x265,-0x9b,-0xcf)])},'position':{'line':_0x3e32f4['line'],'character':_0x3e32f4[_0x1f971b(_0x31c52a._0x72a12,_0x31c52a._0x34b786,0x4c3,_0x31c52a._0x357f1a)]}};}function normalizeLocations(_0x7ce39e){const _0x2b6816={_0x30f0b8:0x1bd,_0x3b5cd3:0x170,_0x270269:0x1b3},_0x20a548={_0x3177dc:0x1b5,_0x2c7aff:0x189,_0x34ff71:0x207};if(!_0x7ce39e)return[];function _0x13db82(_0x14a3f9,_0x445afd,_0x50295e,_0xee9951){return _0x257320(_0x14a3f9-_0x20a548._0x3177dc,_0x445afd-_0x20a548._0x2c7aff,_0xee9951- -_0x20a548._0x34ff71,_0x14a3f9);}return Array[_0x13db82(_0x2b6816._0x30f0b8,0x170,_0x2b6816._0x3b5cd3,_0x2b6816._0x270269)](_0x7ce39e)?_0x7ce39e:[_0x7ce39e];}async function createLspClient(_0x5cb4dc){const _0x5e7702={_0x2bc54f:0x72a,_0x2b846d:0x6ea,_0x4d3b7c:0x6b4,_0x41a521:0x626,_0x59643d:0x407,_0x4f4e81:0x4c0,_0xb428bc:0x3d9,_0x3b1165:0x525,_0x242d76:0x5fe,_0x2f86ca:0x647,_0x27122d:0x437,_0x91ce68:0x415,_0x2ba204:0x422,_0x1eecc0:0x4e3,_0x1d4660:0x600,_0x28fbea:0x7fc,_0x456d2b:0x6f5,_0x3534f5:0x716,_0x1d89ed:0x5a0,_0xdedc4:0x3dc,_0x448c7e:0x4ab,_0x49cd32:0x498,_0x4428fb:0x721,_0x509e66:0x64c,_0x470159:0x6f9,_0x3c031e:0x6a3,_0x3659c0:0x3e2,_0x1435c8:0x3fe,_0x257bab:0x544,_0x288f26:0x3e2,_0x589c4c:0x66c,_0x3b6fe5:0x504,_0x33e9fd:0x3ad,_0x4eb9cf:0x40c,_0x4eb63d:0x37e,_0x368ee4:0x4a9,_0x208275:0x317,_0x1ecf04:0x3c8,_0x47e537:0x5c2,_0x111997:0x706,_0x5c09f3:0x557,_0x10e34e:0x42b,_0x56e765:0x367,_0x5df298:0x433},_0x1f554d={_0x17f385:0x8e},_0x5d1fe0={_0x4fc703:0x23a,_0x788275:0x2a8,_0x401396:0x789,_0x5d0bf9:0x71a,_0x27dafa:0x6d2,_0x1c4c47:0x33e,_0x83f2a:0x24e,_0x11fb31:0x2c1,_0x28c35f:0x123,_0x47e777:0x7ac,_0x27b92b:0x32d,_0x531099:0x651,_0x171dfa:0x699,_0x10867d:0x7d9},_0x40a87c={_0x3ae5a1:0x19,_0x33366c:0x3b3,_0x584358:0x15d},_0x104eda={_0x2a1159:0x251},_0x4ab700={_0x5e0cf2:0x511,_0x137bb1:0x451,_0x3c772a:0x5b8,_0x3aa397:0x487},_0x252aa3={_0x3f43b9:0x68f,_0x2c8374:0x75b,_0x4480a2:0x7ac,_0x499d71:0x55a},_0x321c4e={_0x27e9eb:0xef},_0x104aa7={_0x427832:0x18d,_0x12ab4c:0x500,_0x4cdde7:0x520},_0x3fab73={_0x430dc7:0xe4,_0x336b6d:0x4d1,_0x2f29fe:0x95},_0x6b76b0={_0x1125df:0x5b,_0x4477a2:0x1cf},_0x3c2dbd={_0x257001:0x1d8,_0x32f852:0x530},_0x2073ac={_0x5b162b:0x68a},_0x4a48f3={_0x3b97e7:0x16,_0x10c6bc:0x23,_0x27045f:0x10d,_0x50d29c:0x50,_0x2e90a0:0xb4},_0x14d36e={_0x5ec0cc:0x171,_0x1d867a:0x634},_0x7d6cab={_0x3c7853:0x851,_0x5e122f:0x74c,_0x514bdc:0x6ea,_0x213f3e:0x898,_0x4d2f1f:0x1ed,_0x35ab0f:0x278,_0x266a6d:0x170},_0x21bf89={_0x7cc268:0x38b,_0x35112c:0x1de},_0x4de099={_0x33f86c:0x4ad,_0x3aff7e:0x49d,_0x1fe4a4:0x542,_0x1db9c5:0x360,_0x2fc373:0x3e9},_0x5002d9={_0x44cd0f:0x20},_0x4f6f59={_0x283151:0x39b,_0x38c93:0x57a,_0x21a487:0x3d9,_0x5a574f:0x122},_0x214ef6={_0x4c6733:0x53,_0x35e1aa:0x145},_0x3bd19e={_0x35f74f:0x7,_0x4efccf:0xd5,_0x24f497:0x5fb,_0x3622c1:0x6c1,_0x4e2018:0x76b,_0xb50f07:0x645},_0x25388f={_0x2e0ea4:0x1d9,_0x102538:0xeb},_0x5eefa8={_0x49d240:0x360,_0x3f58ed:0x314,_0x3b0f98:0x3bd,_0x3cc0b0:0x2d4,_0x42adb9:0x5ef,_0xd3b535:0x3ca,_0x345f11:0x4f5,_0x19bae0:0x4a5},_0x2121e7={_0x5ab121:0x2c9,_0x4471b5:0x24a,_0x3826ab:0x7af,_0x1347c9:0x573,_0x4d651a:0x537,_0x5f047b:0x3de,_0x53f61d:0xec,_0x19b3a6:0xf9},_0x51ddf0={_0x529414:0x5b,_0x4014a1:0x136,_0x1eade5:0x8e,_0x520632:0x186,_0x28da81:0x1,_0x215913:0x13,_0x3ac192:0x53c,_0x3a0877:0x535,_0x1668dc:0x557,_0x4be162:0x6d7,_0x464504:0x5c7},_0x2fa8b9={_0x4120d5:0x18c},_0x1992fe={_0xa51f87:0x4,_0x8bb324:0xcf},_0x2633d5=_0x5cb4dc[_0x36a7a4(0x640,0x5c0,_0x5e7702._0x2bc54f,_0x5e7702._0x2b846d)][_0x36a7a4(_0x5e7702._0x4d3b7c,0x5b5,0x5e3,_0x5e7702._0x41a521)][_0x36a7a4(0x3e4,_0x5e7702._0x59643d,_0x5e7702._0x4f4e81,0x529)],_0x1edb66=_0x5cb4dc['handle'][_0x3a8938(_0x5e7702._0xb428bc,_0x5e7702._0x3b1165,_0x5e7702._0x242d76,_0x5e7702._0x2f86ca)]['stdin'];function _0x3a8938(_0x3d4a90,_0x2781d8,_0x11aa08,_0x176e9a){return _0x257320(_0x3d4a90-_0x1992fe._0xa51f87,_0x2781d8-_0x1992fe._0x8bb324,_0x2781d8-0xe2,_0x11aa08);}if(!_0x2633d5||!_0x1edb66)throw new Error(_0x3a8938(0x5c2,0x44c,_0x5e7702._0x27122d,_0x5e7702._0x91ce68));const _0x5e8f52=createMessageConnection(new StreamMessageReader(_0x2633d5),new StreamMessageWriter(_0x1edb66)),_0x442c22=new Map(),_0x2fadda=new Map();let _0x5b7a7b=![];_0x5e8f52[_0x36a7a4(_0x5e7702._0x2ba204,0x388,_0x5e7702._0x1eecc0,0x4bc)]('textDocument/publishDiagnostics',_0x293835=>{const _0xedcdf={_0x5ef02e:0x1e0};function _0x4204e5(_0x566359,_0x167d81,_0x1b6d8a,_0x3d3bdf){return _0x36a7a4(_0x3d3bdf,_0x167d81-_0xedcdf._0x5ef02e,_0x1b6d8a- -0x63,_0x3d3bdf-0x198);}function _0x984fcd(_0x595ea4,_0x20c81a,_0x42d9cc,_0x5b6653){return _0x36a7a4(_0x20c81a,_0x20c81a-_0x2fa8b9._0x4120d5,_0x5b6653- -0x583,_0x5b6653-0x159);}_0x442c22[_0x984fcd(-_0x51ddf0._0x529414,0x1,-0x181,-_0x51ddf0._0x4014a1)](_0x293835[_0x984fcd(-_0x51ddf0._0x1eade5,0x67,-0xa3,0xa7)],_0x293835[_0x984fcd(0x5a,_0x51ddf0._0x520632,_0x51ddf0._0x28da81,_0x51ddf0._0x215913)]);const _0x250a0f=_0x2fadda[_0x4204e5(0x5aa,_0x51ddf0._0x3ac192,0x546,_0x51ddf0._0x3a0877)](_0x293835[_0x4204e5(_0x51ddf0._0x1668dc,_0x51ddf0._0x4be162,_0x51ddf0._0x464504,0x686)]);if(!_0x250a0f)return;_0x2fadda[_0x4204e5(0x600,0x6c4,0x5b4,0x5d1)](_0x293835['uri']);for(const _0x5c343f of _0x250a0f)_0x5c343f();}),_0x5e8f52[_0x36a7a4(_0x5e7702._0x1d4660,_0x5e7702._0x28fbea,_0x5e7702._0x456d2b,0x7e0)]();const _0x487f8b=await _0x5e8f52[_0x3a8938(_0x5e7702._0x3534f5,_0x5e7702._0x1d89ed,0x702,0x6c2)](_0x3a8938(_0x5e7702._0xdedc4,_0x5e7702._0x448c7e,0x4dc,_0x5e7702._0x49cd32),{'processId':process[_0x3a8938(_0x5e7702._0x4428fb,_0x5e7702._0x509e66,_0x5e7702._0x470159,_0x5e7702._0x3c031e)],'rootUri':uriForPath(_0x5cb4dc[_0x3a8938(0x389,_0x5e7702._0x3659c0,0x3a6,_0x5e7702._0x1435c8)]),'workspaceFolders':[{'uri':uriForPath(_0x5cb4dc[_0x3a8938(_0x5e7702._0x257bab,_0x5e7702._0x288f26,0x2bc,0x3ba)]),'name':_0x5cb4dc['server']['id']}],'initializationOptions':_0x5cb4dc[_0x3a8938(0x6df,_0x5e7702._0x589c4c,0x69e,_0x5e7702._0x3b6fe5)][_0x3a8938(_0x5e7702._0x33e9fd,_0x5e7702._0x4eb9cf,0x3c8,_0x5e7702._0x4eb63d)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0x36a7a4(0x491,0x536,_0x5e7702._0x368ee4,0x505),_0x36a7a4(_0x5e7702._0x208275,0x5b2,0x457,_0x5e7702._0x1ecf04)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});_0x5e8f52['sendNotification'](_0x3a8938(0x53d,_0x5e7702._0x47e537,0x703,_0x5e7702._0x111997),{});const _0x58316b={'serverId':_0x5cb4dc[_0x3a8938(0x610,0x4b6,_0x5e7702._0x5c09f3,_0x5e7702._0x10e34e)]['id'],'root':_0x5cb4dc[_0x3a8938(_0x5e7702._0x56e765,_0x5e7702._0x288f26,0x552,_0x5e7702._0x5df298)],'connection':_0x5e8f52,'diagnostics':_0x442c22,'capabilities':_0x487f8b[_0x3a8938(0x527,0x567,0x5e3,0x46c)]??{},'notify':{async 'open'({path:_0x368972}){const _0x2454a4={_0x2a5711:0xd9,_0x16c28f:0x1c6};function _0x240da5(_0x4ef30a,_0x2e287c,_0x2ec253,_0x5bd882){return _0x36a7a4(_0x4ef30a,_0x2e287c-0xe7,_0x5bd882- -0x550,_0x5bd882-0x107);}function _0x4f8b47(_0x5f074c,_0x30d762,_0x19f270,_0x270841){return _0x36a7a4(_0x30d762,_0x30d762-_0x2454a4._0x2a5711,_0x19f270-0xbb,_0x270841-_0x2454a4._0x16c28f);}const _0x319764=await readFile(_0x368972,_0x240da5(0x8d,_0x2121e7._0x5ab121,_0x2121e7._0x4471b5,0x194));_0x5e8f52[_0x4f8b47(0x8ac,0x8d0,_0x2121e7._0x3826ab,0x6f1)](_0x4f8b47(_0x2121e7._0x1347c9,0x50e,_0x2121e7._0x4d651a,_0x2121e7._0x5f047b),{'textDocument':{'uri':uriForPath(_0x368972),'languageId':getLanguageId(_0x368972)??_0x240da5(-_0x2121e7._0x53f61d,-0x140,-0x18b,-_0x2121e7._0x19b3a6),'version':0x1,'text':_0x319764}});},async 'change'({path:_0x2b9fed,version:_0x2e0daa}){const _0x30906d={_0x4df8c6:0x57,_0x5bc1c1:0x19d};function _0x487116(_0x11c60f,_0x283a5d,_0x19fc0a,_0x40b160){return _0x36a7a4(_0x19fc0a,_0x283a5d-0xda,_0x283a5d- -0x3d0,_0x40b160-0x159);}function _0x44ba51(_0x49069c,_0x117eef,_0x1a7191,_0x1eecab){return _0x36a7a4(_0x49069c,_0x117eef-_0x30906d._0x4df8c6,_0x1a7191- -_0x30906d._0x5bc1c1,_0x1eecab-0xe1);}const _0x58e573=await readFile(_0x2b9fed,_0x487116(_0x5eefa8._0x49d240,_0x5eefa8._0x3f58ed,_0x5eefa8._0x3b0f98,_0x5eefa8._0x3cc0b0));_0x5e8f52['sendNotification'](_0x44ba51(_0x5eefa8._0x42adb9,_0x5eefa8._0xd3b535,_0x5eefa8._0x345f11,_0x5eefa8._0x19bae0),{'textDocument':{'uri':uriForPath(_0x2b9fed),'version':_0x2e0daa},'contentChanges':[{'text':_0x58e573}]});},async 'close'({path:_0x19dbb1}){const _0x9d18f7={_0x5d769f:0x1ef};function _0x1c899c(_0x42a688,_0x50fea0,_0x48b158,_0x19d0ab){return _0x3a8938(_0x42a688-0x4d,_0x42a688-0x93,_0x19d0ab,_0x19d0ab-_0x9d18f7._0x5d769f);}function _0x302f27(_0x1934e0,_0x557ea5,_0x547b6c,_0x2b3d31){return _0x36a7a4(_0x1934e0,_0x557ea5-_0x25388f._0x2e0ea4,_0x547b6c- -0x67d,_0x2b3d31-_0x25388f._0x102538);}_0x5e8f52[_0x302f27(_0x3bd19e._0x35f74f,_0x3bd19e._0x4efccf,0x77,-0x3b)](_0x1c899c(_0x3bd19e._0x24f497,_0x3bd19e._0x3622c1,_0x3bd19e._0x4e2018,_0x3bd19e._0xb50f07),{'textDocument':{'uri':uriForPath(_0x19dbb1)}});}},'request':{async 'definition'(_0x296c87){function _0x233145(_0x5bc29c,_0x2cda04,_0x31aa03,_0x38ac0a){return _0x36a7a4(_0x5bc29c,_0x2cda04-_0x214ef6._0x4c6733,_0x2cda04- -0x232,_0x38ac0a-_0x214ef6._0x35e1aa);}function _0x18a838(_0x2105e1,_0x3a2ee5,_0x27ef8a,_0xe5ba67){return _0x36a7a4(_0x2105e1,_0x3a2ee5-0x19f,_0x3a2ee5- -0x4ed,_0xe5ba67-0x1b0);}return normalizeLocations(await _0x5e8f52[_0x233145(_0x4f6f59._0x283151,0x42c,_0x4f6f59._0x38c93,_0x4f6f59._0x21a487)](_0x18a838(-0x152,-0xa7,-_0x4f6f59._0x5a574f,-0x20f),textDocumentPosition(_0x296c87)));},async 'references'(_0x420f34){function _0x43650f(_0x9158e1,_0x48476b,_0xa3c230,_0xe26f16){return _0x36a7a4(_0xe26f16,_0x48476b-0x143,_0x9158e1- -0x600,_0xe26f16-0x1f);}return normalizeLocations(await _0x5e8f52['sendRequest'](_0x43650f(-0xaa,-0x100,_0x5002d9._0x44cd0f,-0x6f),{...textDocumentPosition(_0x420f34),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x1e9329){const _0x1fe708={_0x198222:0x179};function _0x5ce17e(_0x17c01b,_0x2440cc,_0x4ad264,_0x2ca09e){return _0x36a7a4(_0x4ad264,_0x2440cc-0x137,_0x2ca09e- -_0x1fe708._0x198222,_0x2ca09e-0x25);}function _0x264bd6(_0x4f0a2f,_0x487383,_0x347191,_0x33d42a){return _0x3a8938(_0x4f0a2f-0xa4,_0x33d42a- -0x4da,_0x347191,_0x33d42a-0x1d7);}return await _0x5e8f52[_0x5ce17e(_0x4de099._0x33f86c,_0x4de099._0x3aff7e,0x405,0x4e5)](_0x5ce17e(0x44f,_0x4de099._0x1fe4a4,_0x4de099._0x1db9c5,_0x4de099._0x2fc373),textDocumentPosition(_0x1e9329))??null;},async 'documentSymbol'(_0x3909fe){const _0x169100={_0x559ac5:0x54};function _0x2dbcba(_0xddbca5,_0x4547f3,_0x549b4d,_0x4fe039){return _0x3a8938(_0xddbca5-0x1ee,_0x4547f3-0x1ac,_0xddbca5,_0x4fe039-_0x169100._0x559ac5);}function _0x2394cf(_0x5e3fe3,_0x38073c,_0x3158e3,_0x4848ea){return _0x36a7a4(_0x5e3fe3,_0x38073c-0x81,_0x3158e3- -_0x21bf89._0x7cc268,_0x4848ea-_0x21bf89._0x35112c);}return await _0x5e8f52[_0x2dbcba(_0x7d6cab._0x3c7853,_0x7d6cab._0x5e122f,_0x7d6cab._0x514bdc,_0x7d6cab._0x213f3e)](_0x2394cf(0x189,_0x7d6cab._0x4d2f1f,_0x7d6cab._0x35ab0f,_0x7d6cab._0x266a6d),{'textDocument':{'uri':uriForPath(_0x3909fe)}})??[];},async 'workspaceSymbol'(_0x2490e7){const _0x31b8fe={_0x1ebddf:0x94,_0x3e6e3a:0x63b,_0x2285f2:0x71};function _0x1824b0(_0x4359b8,_0x4bb018,_0x13b2e2,_0x100b5b){return _0x36a7a4(_0x4359b8,_0x4bb018-_0x14d36e._0x5ec0cc,_0x13b2e2- -_0x14d36e._0x1d867a,_0x100b5b-0x1ce);}function _0x49c463(_0x217df7,_0x5182fb,_0x2976bf,_0x2caab4){return _0x36a7a4(_0x5182fb,_0x5182fb-_0x31b8fe._0x1ebddf,_0x2976bf- -_0x31b8fe._0x3e6e3a,_0x2caab4-_0x31b8fe._0x2285f2);}return await _0x5e8f52[_0x49c463(0x19,_0x4a48f3._0x3b97e7,_0x4a48f3._0x10c6bc,_0x4a48f3._0x27045f)](_0x49c463(_0x4a48f3._0x50d29c,0x19f,0x37,_0x4a48f3._0x2e90a0),{'query':_0x2490e7})??[];},async 'implementation'(_0x433b62){const _0x35a660={_0x2970b0:0x74,_0x489477:0x158};function _0x4cbfd4(_0x36797b,_0x39cf7a,_0x52d6c6,_0x4c0aa0){return _0x3a8938(_0x36797b-0x66,_0x52d6c6-_0x35a660._0x2970b0,_0x39cf7a,_0x4c0aa0-_0x35a660._0x489477);}return normalizeLocations(await _0x5e8f52['sendRequest'](_0x4cbfd4(0x58d,0x7b9,_0x2073ac._0x5b162b,0x616),textDocumentPosition(_0x433b62)));},async 'prepareCallHierarchy'(_0xbbc271){function _0x1d0858(_0x337d88,_0x5c367e,_0x4c8548,_0x55d1d0){return _0x3a8938(_0x337d88-_0x3c2dbd._0x257001,_0x337d88- -_0x3c2dbd._0x32f852,_0x4c8548,_0x55d1d0-0xd9);}return await _0x5e8f52['sendRequest'](_0x1d0858(-_0x6b76b0._0x1125df,-0x36,-_0x6b76b0._0x4477a2,0xa1),textDocumentPosition(_0xbbc271))??[];},async 'incomingCalls'(_0xccd4e9){const _0x103b20={_0x3bc944:0x4a,_0x3cb2e7:0x1ef};function _0x410dfe(_0x352387,_0x220490,_0xb55900,_0x7c422c){return _0x36a7a4(_0x220490,_0x220490-_0x3fab73._0x430dc7,_0xb55900- -_0x3fab73._0x336b6d,_0x7c422c-_0x3fab73._0x2f29fe);}function _0x291b20(_0x479f18,_0x3b64a3,_0x532d03,_0xb71a5f){return _0x36a7a4(_0x479f18,_0x3b64a3-0x179,_0x532d03- -_0x103b20._0x3bc944,_0xb71a5f-_0x103b20._0x3cb2e7);}return await _0x5e8f52[_0x410dfe(0x193,0x1e6,_0x104aa7._0x427832,0xad)](_0x291b20(0x597,0x5d6,_0x104aa7._0x12ab4c,_0x104aa7._0x4cdde7),{'item':_0xccd4e9})??[];},async 'outgoingCalls'(_0xef9334){const _0x468fd3={_0x2df479:0x1af};function _0x8e6cbe(_0x14c5e6,_0x456eb1,_0xa76e3f,_0x4dd3e5){return _0x36a7a4(_0x14c5e6,_0x456eb1-0x17a,_0x4dd3e5- -0x5e8,_0x4dd3e5-_0x468fd3._0x2df479);}function _0x5e5c8f(_0x13809e,_0x4086e1,_0x28aa00,_0x41311c){return _0x3a8938(_0x13809e-0x9e,_0x4086e1-_0x321c4e._0x27e9eb,_0x13809e,_0x41311c-0x172);}return await _0x5e8f52[_0x5e5c8f(0x674,_0x252aa3._0x3f43b9,_0x252aa3._0x2c8374,_0x252aa3._0x4480a2)](_0x5e5c8f(0x5ca,0x582,0x431,_0x252aa3._0x499d71),{'item':_0xef9334})??[];}},'waitForDiagnostics'({path:_0x3a6df4,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x2655a5={_0x3dbae6:0x21},_0x36c510={_0x577591:0x2ac},_0x30edde=uriForPath(_0x3a6df4);if(_0x442c22['has'](_0x30edde))return Promise[_0x4a7317(0x1c0,0x134,_0x104eda._0x2a1159,0x282)]();function _0x4a7317(_0x46d866,_0x1e31a5,_0x1ecf48,_0x2e4a04){return _0x36a7a4(_0x2e4a04,_0x1e31a5-0x111,_0x1ecf48- -_0x36c510._0x577591,_0x2e4a04-0x1dd);}return new Promise(_0x4c7c96=>{const _0x4e5691={_0x1840a6:0x418,_0x59b1ac:0x31b,_0x31377e:0x200,_0x543519:0x320,_0x4cb2f1:0x408};function _0x193999(_0x171979,_0x240660,_0x43ce08,_0x43d113){return _0x4a7317(_0x171979-0x77,_0x240660-0x18f,_0x43d113-_0x2655a5._0x3dbae6,_0x240660);}const _0x5e6fcd=setTimeout(()=>{const _0x1e2bb3={_0x193e63:0xd};function _0x483fa5(_0x1e2375,_0x3b2ea3,_0x540a8a,_0x5442ad){return _0x1df5(_0x1e2375-_0x1e2bb3._0x193e63,_0x540a8a);}function _0x204dc3(_0x4db626,_0x13d5a3,_0x1bcaa9,_0x393803){return _0x1df5(_0x13d5a3-0x142,_0x1bcaa9);}const _0x2ffc94=_0x2fadda[_0x483fa5(0x2c5,_0x4e5691._0x1840a6,0x283,_0x4e5691._0x59b1ac)](_0x30edde);_0x2ffc94?.[_0x483fa5(0x333,0x3dc,_0x4e5691._0x31377e,_0x4e5691._0x543519)](_0x657806);if(_0x2ffc94?.[_0x204dc3(0x404,0x4f0,0x394,0x398)]===0x0)_0x2fadda[_0x204dc3(_0x4e5691._0x4cb2f1,0x468,0x59c,0x3b9)](_0x30edde);_0x4c7c96();},timeoutMs),_0x657806=()=>{clearTimeout(_0x5e6fcd),_0x4c7c96();},_0x132d51=_0x2fadda[_0x568a41(_0x4ab700._0x5e0cf2,0x557,0x547,_0x4ab700._0x137bb1)](_0x30edde)??new Set();function _0x568a41(_0x52f374,_0x22d879,_0x1071ee,_0x263244){return _0x4a7317(_0x52f374-0x18,_0x22d879-0x1bb,_0x22d879-0x25a,_0x52f374);}_0x132d51[_0x193999(0x45f,0x537,_0x4ab700._0x3c772a,_0x4ab700._0x3aa397)](_0x657806),_0x2fadda['set'](_0x30edde,_0x132d51);});},async 'shutdown'(){const _0x6b388e={_0x323fb3:0xb6};if(_0x5b7a7b)return;function _0x18dac8(_0x58424b,_0x3955f8,_0x3134ec,_0x5e3f67){return _0x36a7a4(_0x5e3f67,_0x3955f8-_0x40a87c._0x3ae5a1,_0x58424b- -_0x40a87c._0x33366c,_0x5e3f67-_0x40a87c._0x584358);}_0x5b7a7b=!![];function _0x1be627(_0x588880,_0x195614,_0x8be5bb,_0xc3b5ff){return _0x36a7a4(_0x588880,_0x195614-0xd1,_0x8be5bb-_0x6b388e._0x323fb3,_0xc3b5ff-0xe8);}try{await _0x5e8f52[_0x18dac8(0x2ab,0x34c,_0x5d1fe0._0x4fc703,_0x5d1fe0._0x788275)](_0x1be627(_0x5d1fe0._0x401396,0x6d6,_0x5d1fe0._0x5d0bf9,_0x5d1fe0._0x27dafa),null),_0x5e8f52[_0x18dac8(0x341,0x226,_0x5d1fe0._0x1c4c47,0x499)](_0x18dac8(_0x5d1fe0._0x83f2a,0x376,_0x5d1fe0._0x11fb31,_0x5d1fe0._0x28c35f));}catch{}finally{_0x5e8f52[_0x1be627(_0x5d1fe0._0x47e777,0x65a,0x7a4,0x876)](),_0x5cb4dc[_0x18dac8(0x377,0x44b,_0x5d1fe0._0x27b92b,0x339)][_0x1be627(0x634,_0x5d1fe0._0x531099,_0x5d1fe0._0x171dfa,_0x5d1fe0._0x10867d)]['kill']();}}};function _0x36a7a4(_0x8fece9,_0x492427,_0x39bc0e,_0x4c8e51){return _0x3342ed(_0x8fece9-0x127,_0x8fece9,_0x39bc0e-0x22c,_0x4c8e51-_0x1f554d._0x17f385);}return _0x58316b;}import{spawn as _0x115e81}from'child_process';import{access as _0x54360a}from'fs/promises';import _0x140bbb from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x50ee3c from'os';import _0x141f16 from'path';import _0xd6a36b from'which';var installPromises=new Map();function sanitizePackageName(_0x49ab8a){const _0x4e9738={_0x2da8c1:0x2ad,_0x455076:0x28f,_0x1bb962:0x3aa,_0x1d66e4:0x458,_0x74ceda:0x354},_0x3d9ad5={_0x9b86f:0x1a,_0x155969:0x21a};function _0x2e0f1a(_0x277a59,_0x193341,_0x407567,_0x2dfecc){return _0x3342ed(_0x277a59-0xe7,_0x407567,_0x2dfecc- -0x15a,_0x2dfecc-0x6c);}function _0x3a31c5(_0x31c517,_0xedb5ab,_0x10f063,_0x44e17e){return _0x3342ed(_0x31c517-_0x3d9ad5._0x9b86f,_0x44e17e,_0x10f063- -_0x3d9ad5._0x155969,_0x44e17e-0x49);}return _0x49ab8a[_0x2e0f1a(_0x4e9738._0x2da8c1,0x299,_0x4e9738._0x455076,_0x4e9738._0x1bb962)](/^@/,'')[_0x2e0f1a(_0x4e9738._0x1d66e4,_0x4e9738._0x74ceda,0x4eb,_0x4e9738._0x1bb962)](/[/]/g,'__');}function binaryNameForPlatform(_0x3abecd){const _0x35363c={_0x403985:0x2c6,_0x40dcd2:0x18b,_0x196b2a:0x1ec,_0x1ecb64:0x2be,_0x5258fa:0xaf,_0x3f5e5a:0x1ed,_0x433809:0x159,_0x42d030:0xb4},_0x5cec76={_0x4c02d0:0x8};function _0x3e1fc0(_0x15d060,_0x9611e,_0x4bb66d,_0x57d4e5){return _0x3342ed(_0x15d060-0x65,_0x15d060,_0x57d4e5-_0x5cec76._0x4c02d0,_0x57d4e5-0xf3);}function _0x463d6c(_0x2c809b,_0x5dab10,_0x48d624,_0x20ed67){return _0x3342ed(_0x2c809b-0x1b9,_0x20ed67,_0x48d624- -0x17b,_0x20ed67-0x19a);}return process[_0x463d6c(_0x35363c._0x403985,0x2e8,_0x35363c._0x40dcd2,0x1f9)]===_0x3e1fc0(_0x35363c._0x196b2a,0x249,0x38e,_0x35363c._0x1ecb64)?_0x3abecd+_0x463d6c(_0x35363c._0x5258fa,_0x35363c._0x3f5e5a,_0x35363c._0x433809,_0x35363c._0x42d030):_0x3abecd;}async function exists(_0x3f5e76){try{return await access(_0x3f5e76),!![];}catch{return![];}}function runNpmInstall(_0x5c6e17,_0x566511,_0x3fbed8){const _0x337dd8={_0xc21aa:0x12e,_0x264935:0x47,_0x23b572:0x7c,_0x5d44cf:0xb0,_0x3d2ad9:0x48,_0x2a9551:0x30,_0x420844:0x110,_0x26fc59:0x2be,_0x5b6e6a:0x1ae,_0x1cc5be:0x65,_0x3516ef:0x1d6,_0x447482:0x9a,_0x3a1060:0x1c4,_0x382f73:0x17e,_0x3d60f6:0x6e},_0xd53bd={_0x3b6e6f:0x311};return new Promise(_0x45e926=>{const _0x9d55ef={_0x10e26f:0x275},_0x3c013c=spawn(_0xad9158(-0xed,-_0x337dd8._0xc21aa,0x42,-_0x337dd8._0x264935),[_0xad9158(-0x11a,-0x141,-_0x337dd8._0x23b572,-_0x337dd8._0x5d44cf),_0x45ddaf(-_0x337dd8._0x3d2ad9,-_0x337dd8._0x2a9551,-_0x337dd8._0x420844,0x5e),_0x5c6e17,_0x566511],{'env':_0x3fbed8,'stdio':_0x45ddaf(0x282,0x2cb,_0x337dd8._0x26fc59,_0x337dd8._0x5b6e6a)});function _0xad9158(_0x2487d0,_0x3890ca,_0x5d5f54,_0x5f5109){return _0x1df5(_0x3890ca- -_0xd53bd._0x3b6e6f,_0x2487d0);}_0x3c013c['on'](_0x45ddaf(-_0x337dd8._0x1cc5be,0xc7,_0x337dd8._0x3516ef,_0x337dd8._0x447482),()=>_0x45e926(![]));function _0x45ddaf(_0x41be0e,_0x2bbf78,_0x3d3623,_0x213296){return _0x1df5(_0x213296- -_0x9d55ef._0x10e26f,_0x41be0e);}_0x3c013c['on'](_0x45ddaf(0xf5,-_0x337dd8._0x3a1060,-_0x337dd8._0x382f73,-_0x337dd8._0x3d60f6),_0x4beac3=>_0x45e926(_0x4beac3===0x0));});}function shouldDisableLspDownload(_0x493e57=process[_0x257320(0x495,0x401,0x3a7,0x306)]){const _0x72987f={_0x12227b:0x1a6,_0x28ae0f:0x1aa,_0x38540f:0x4d},_0x229d46={_0x407a2b:0x63,_0x186f81:0x464};function _0x471d30(_0x1096c8,_0x42b9c5,_0x12be8d,_0x4bfeaf){return _0x3342ed(_0x1096c8-_0x229d46._0x407a2b,_0x1096c8,_0x4bfeaf- -_0x229d46._0x186f81,_0x4bfeaf-0x194);}const _0x55ccb3=_0x493e57[_0x471d30(0xa0,-_0x72987f._0x12227b,-_0x72987f._0x28ae0f,-_0x72987f._0x38540f)]?.['toLowerCase']();return _0x55ccb3==='true'||_0x55ccb3==='1'||_0x55ccb3==='yes'||_0x55ccb3==='on';}function getLspPackageDir(_0x4c5112){const _0x27b2f7={_0x249df4:0x72d,_0x2514ba:0x10c,_0x4e6975:0x1ea,_0x26ad9e:0x5f0,_0x42462f:0x5e3,_0x1c456b:0x50b},_0x3b988b={_0x3e62e6:0x9f};function _0x1816eb(_0x4c12ec,_0x54556e,_0x498727,_0x23b58b){return _0x257320(_0x4c12ec-0x15c,_0x54556e-_0x3b988b._0x3e62e6,_0x498727-0x1dc,_0x23b58b);}function _0x4ba32c(_0xf12b84,_0x6942ae,_0x72897d,_0x35a4f0){return _0x3342ed(_0xf12b84-0x1e8,_0x72897d,_0x6942ae- -0x1e8,_0x35a4f0-0x1af);}return _0x141f16[_0x1816eb(0x6bf,0x712,0x69e,0x743)](_0x50ee3c[_0x1816eb(0x604,0x6bc,_0x27b2f7._0x249df4,0x84d)](),_0x4ba32c(_0x27b2f7._0x2514ba,_0x27b2f7._0x4e6975,0x34f,0x193),'lsp',_0x1816eb(0x6ce,_0x27b2f7._0x26ad9e,_0x27b2f7._0x42462f,_0x27b2f7._0x1c456b),sanitizePackageName(_0x4c5112));}function getLspBinDir(_0x3f348b){const _0x4e98da={_0x5efcb5:0xd0},_0x47d032={_0x4e41b7:0xaf,_0x27f200:0x1a8};function _0x40d802(_0x386b25,_0x57b0be,_0x1c21a6,_0x226f8f){return _0x3342ed(_0x386b25-_0x47d032._0x4e41b7,_0x386b25,_0x226f8f- -0x365,_0x226f8f-_0x47d032._0x27f200);}return _0x141f16['join'](getLspPackageDir(_0x3f348b),'node_modules',_0x40d802(0x122,0x25d,_0x4e98da._0x5efcb5,0x129));}async function findPackageBinary(_0x19a997,_0x21ece5){const _0x25357f={_0x206e92:0x126,_0xa779cf:0x36d,_0x29d40f:0x4ed,_0x168c09:0x591,_0x1b7944:0x432};let _0x560fc5=_0x141f16[_0x10dd8e(0x1f6,_0x25357f._0x206e92,_0x25357f._0xa779cf,0x22d)](_0x21ece5);function _0x187988(_0x3bc577,_0x119b86,_0x1444d0,_0x44e241){return _0x3342ed(_0x3bc577-0x1bc,_0x3bc577,_0x44e241- -0x25b,_0x44e241-0x1e6);}function _0x10dd8e(_0x3f1501,_0x5d4cc6,_0x44711b,_0x214e82){return _0x257320(_0x3f1501-0x1ea,_0x5d4cc6-0x1a6,_0x214e82- -0x130,_0x44711b);}const _0x3ade04=binaryNameForPlatform(_0x19a997);while(!![]){const _0x42ecb9=_0x141f16['join'](_0x560fc5,'node_modules','.bin',_0x3ade04);if(await exists(_0x42ecb9))return _0x42ecb9;const _0xad1d7=_0x141f16[_0x10dd8e(_0x25357f._0x29d40f,0x2d2,_0x25357f._0x168c09,_0x25357f._0x1b7944)](_0x560fc5);if(_0xad1d7===_0x560fc5)return void 0x0;_0x560fc5=_0xad1d7;}}async function findPathBinary(_0x4f7315,_0x273c83){const _0x3d3807={_0x2de373:0x55e,_0x16500f:0x3ec,_0x3e8038:0x36e,_0x5194e2:0x2d0,_0x5d2963:0x43e,_0x7a1dc3:0x3f3,_0x2e79fe:0x494,_0x18c8ca:0x507,_0x4e2eb2:0x5c2,_0x475872:0x6fa,_0x5965c7:0x868,_0x961f58:0x5ff},_0x5326fe={_0x3e0027:0x255,_0x32e5a5:0x1bb};function _0xfaaf04(_0x4347e0,_0x14dcb6,_0x288287,_0x2a09e1){return _0x257320(_0x4347e0-0x1d1,_0x14dcb6-0x18b,_0x288287-0x45,_0x4347e0);}const _0x1ae0fc=getLspBinDir(_0x273c83),_0x2a787e=[_0x1ae0fc,process[_0xfaaf04(_0x3d3807._0x2de373,0x3d5,_0x3d3807._0x16500f,_0x3d3807._0x3e8038)][_0xfaaf04(_0x3d3807._0x5194e2,0x5b3,_0x3d3807._0x5d2963,_0x3d3807._0x7a1dc3)]]['filter'](Boolean)[_0xfaaf04(0x558,_0x3d3807._0x2e79fe,_0x3d3807._0x18c8ca,_0x3d3807._0x4e2eb2)](_0x141f16[_0xa6602a(0x844,_0x3d3807._0x475872,_0x3d3807._0x5965c7,_0x3d3807._0x961f58)]);function _0xa6602a(_0x1ad725,_0xb52e12,_0x365bf3,_0x51f783){return _0x3342ed(_0x1ad725-0x15e,_0x1ad725,_0xb52e12-_0x5326fe._0x3e0027,_0x51f783-_0x5326fe._0x32e5a5);}try{return await _0xd6a36b(_0x4f7315,{'path':_0x2a787e});}catch{return void 0x0;}}async function resolvePackageBinary(_0x52da10){const _0x5a8d3d={_0x3954c8:0x66a,_0x3bc393:0x3a1,_0x3b9dd0:0x266,_0xb1fdd0:0x854,_0x20603d:0xf5,_0x2b5563:0x2bc,_0x2e3326:0x172,_0x42dd2a:0x233,_0x3f0703:0x25b,_0x394a3e:0x233,_0x4d7895:0x263,_0x17e321:0x39f,_0x5f3811:0x2e3,_0x101f93:0x745,_0x2f2af9:0x69e,_0x1e3330:0x779},_0x520acb={_0x2b7935:0x10f},_0x33c2fa={_0x485174:0x31,_0x35da7d:0x71,_0x13d7b1:0x9c,_0x37a046:0x7f,_0x43051e:0x90,_0x49eb25:0x116,_0x1c19b7:0x30},_0x294619={_0x2c2e71:0x127},_0x25f3f7={_0x1d66f2:0x109,_0x5e0157:0x2b3},_0x310094=_0x52da10[_0x20d99d(0x681,_0x5a8d3d._0x3954c8,0x6aa,0x631)]??_0x52da10[_0x551cc9(_0x5a8d3d._0x3bc393,_0x5a8d3d._0x3b9dd0,0x2c5,0x2e3)],_0x491839=await findPackageBinary(_0x310094,_0x52da10[_0x20d99d(0x629,0x773,0x79d,_0x5a8d3d._0xb1fdd0)]);if(_0x491839)return _0x491839;const _0x74227e=await findPathBinary(_0x310094,_0x52da10['packageName']);if(_0x74227e)return _0x74227e;const _0x23e2b4=_0x52da10[_0x551cc9(_0x5a8d3d._0x20603d,_0x5a8d3d._0x2b5563,_0x5a8d3d._0x2e3326,_0x5a8d3d._0x42dd2a)]??process[_0x551cc9(0x289,_0x5a8d3d._0x3f0703,0x2ff,_0x5a8d3d._0x394a3e)];function _0x20d99d(_0x2168d6,_0x436e2f,_0x56af4a,_0x25d28b){return _0x3342ed(_0x2168d6-_0x25f3f7._0x1d66f2,_0x436e2f,_0x56af4a-_0x25f3f7._0x5e0157,_0x25d28b-0x9e);}if(shouldDisableLspDownload(_0x23e2b4))return void 0x0;const _0x509d2b=getLspPackageDir(_0x52da10['packageName']),_0x6277a2=_0x52da10[_0x551cc9(0x3f1,_0x5a8d3d._0x4d7895,_0x5a8d3d._0x17e321,_0x5a8d3d._0x5f3811)]+':'+_0x310094;let _0x9392f4=installPromises[_0x551cc9(0x221,0x2c2,0x1aa,0x295)](_0x6277a2);!_0x9392f4&&(_0x9392f4=((async()=>{const _0x5e8365={_0x516797:0x1e4,_0x1a4b92:0xf1};function _0x112c69(_0x6b49ca,_0x398350,_0x154887,_0x2b839a){return _0x551cc9(_0x6b49ca-0x95,_0x398350-_0x5e8365._0x516797,_0x2b839a,_0x154887-_0x5e8365._0x1a4b92);}await mkdir(_0x509d2b,{'recursive':!![]});const _0x397580=await runNpmInstall(_0x509d2b,_0x52da10[_0x1ad686(0x6e,_0x33c2fa._0x485174,-0x11,-_0x33c2fa._0x35da7d)],_0x23e2b4);function _0x1ad686(_0x1d9381,_0xb83098,_0x2fbe23,_0x83c39a){return _0x551cc9(_0x1d9381-0x123,_0xb83098-_0x294619._0x2c2e71,_0x2fbe23,_0xb83098- -0x2b2);}if(!_0x397580)return void 0x0;const _0x10c63b=_0x141f16[_0x1ad686(0xa1,_0x33c2fa._0x13d7b1,-_0x33c2fa._0x37a046,_0x33c2fa._0x43051e)](getLspBinDir(_0x52da10[_0x1ad686(-_0x33c2fa._0x49eb25,_0x33c2fa._0x485174,-_0x33c2fa._0x1c19b7,0x183)]),binaryNameForPlatform(_0x310094));return await exists(_0x10c63b)?_0x10c63b:void 0x0;})()),installPromises['set'](_0x6277a2,_0x9392f4));function _0x551cc9(_0x1002e7,_0x217bd0,_0x22ebeb,_0x385e6d){return _0x3342ed(_0x1002e7-_0x520acb._0x2b7935,_0x22ebeb,_0x385e6d- -0xe8,_0x385e6d-0xc7);}try{return await _0x9392f4;}catch{return void 0x0;}finally{installPromises[_0x20d99d(0x75c,_0x5a8d3d._0x101f93,_0x5a8d3d._0x2f2af9,_0x5a8d3d._0x1e3330)](_0x6277a2);}}var TYPESCRIPT_EXTENSIONS=[_0x257320(0x579,0x4d0,0x4ed,0x5a6),_0x3342ed(0x297,0x20b,0x23a,0x1db),_0x3342ed(0x445,0x2fb,0x358,0x22d),_0x3342ed(0x337,0x372,0x2f8,0x1ce),'.mjs',_0x3342ed(0x38b,0x133,0x252,0x183),_0x257320(0x354,0x2a9,0x39c,0x3ab),'.cts'],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x257320(0x206,0x42b,0x34c,0x3ba),'.jsonc'],TYPESCRIPT_ROOT_MARKERS=['package-lock.json',_0x3342ed(0x43b,0x456,0x4d2,0x4d7),_0x257320(0x5c4,0x4b1,0x4a0,0x34b),_0x257320(0x610,0x3c7,0x4b7,0x46f),_0x257320(0x3be,0x464,0x32d,0x343),_0x257320(0x3cc,0x28a,0x389,0x226),_0x257320(0x2e4,0x3aa,0x31a,0x3c6),_0x3342ed(0x203,0x337,0x24a,0x325)],BIOME_ROOT_MARKERS=[_0x3342ed(0x2e9,0x299,0x289,0x157),_0x3342ed(0x342,0x311,0x450,0x5c3),_0x257320(0x2d8,0x1be,0x2b3,0x23f),_0x257320(0x525,0x3fc,0x55e,0x54d),_0x3342ed(0x30b,0x554,0x414,0x35b),_0x3342ed(0x4c9,0x464,0x42b,0x54e),_0x3342ed(0x1ae,0x2fd,0x2a1,0x1fe),_0x3342ed(0x35a,0x280,0x24a,0x13c)];async function exists2(_0x263e82){try{return await _0x54360a(_0x263e82),!![];}catch{return![];}}async function findUp(_0x39c163,_0x13b3cc){const _0x121120={_0x26a53a:0x30,_0x23ac84:0x1bf,_0x2bd9fb:0x376,_0x37a405:0x188},_0x51d362={_0x48ff29:0x1f2};function _0x105522(_0x2e428c,_0x385a70,_0x12993d,_0x50e312){return _0x3342ed(_0x2e428c-0x1d8,_0x2e428c,_0x50e312- -0x219,_0x50e312-0x2d);}let _0xfafd65=_0x140bbb[_0x105522(-0x8b,-_0x121120._0x26a53a,_0x121120._0x23ac84,0xb8)](_0x39c163);const _0x5096bf=_0x140bbb[_0x105522(_0x121120._0x2bd9fb,_0x121120._0x37a405,0x185,0x28d)](_0xfafd65);if(_0x5096bf)_0xfafd65=_0x140bbb['dirname'](_0xfafd65);function _0xc1a6d(_0x59a65a,_0x5c9a9d,_0x14b830,_0x5196ae){return _0x257320(_0x59a65a-0x11a,_0x5c9a9d-0x40,_0x59a65a- -_0x51d362._0x48ff29,_0x14b830);}while(!![]){for(const _0x1fd28a of _0x13b3cc){if(await exists2(_0x140bbb['join'](_0xfafd65,_0x1fd28a)))return _0xfafd65;}const _0x37884d=_0x140bbb['dirname'](_0xfafd65);if(_0x37884d===_0xfafd65)return void 0x0;_0xfafd65=_0x37884d;}}async function hasDenoRoot(_0x12e06a){const _0x33f340={_0x59e726:0x472},_0x4572a6={_0x37c6a9:0x123,_0x1a4d90:0xf0,_0x642efc:0x91},_0x24feb6={_0x1b7942:0xab,_0x2b4de2:0x331};function _0x7e7293(_0x50a48b,_0x57e618,_0x550dd1,_0x105358){return _0x3342ed(_0x50a48b-_0x24feb6._0x1b7942,_0x57e618,_0x105358- -_0x24feb6._0x2b4de2,_0x105358-0x14e);}function _0x4b3a3e(_0x595f84,_0x433c15,_0x4ca9ef,_0x31083c){return _0x257320(_0x595f84-_0x4572a6._0x37c6a9,_0x433c15-_0x4572a6._0x1a4d90,_0x4ca9ef-_0x4572a6._0x642efc,_0x433c15);}return await exists2(_0x140bbb['join'](_0x12e06a,_0x4b3a3e(0x4f3,0x4f4,_0x33f340._0x59e726,0x326)))||await exists2(_0x140bbb[_0x7e7293(-0x2f,0x1fd,0x6e,0x105)](_0x12e06a,'deno.jsonc'));}async function resolveTsserverPath(_0xe914a6){const _0xd17e32={_0x1f36b2:0x1b3,_0x4474be:0x41,_0x2941af:0x7f,_0x855b6e:0x168,_0x22826e:0x2e6,_0x121a80:0x1e1,_0x2dd59f:0x113,_0x4a54bc:0x1c4,_0x675f4e:0x2d4,_0x2b80d1:0x1dc,_0x26dae0:0x156,_0x48ae07:0x727,_0x5c6871:0x635,_0x149e2c:0x81d,_0x478d10:0x1dd,_0x3817e2:0x66,_0x32a0b7:0xbb,_0x3500c6:0x768,_0x5d5825:0x6d7,_0x3c086e:0x265,_0x3c78ef:0x18e},_0x39334c={_0x113295:0x199,_0x52c1c3:0x39e},_0x39917e={_0x38c5ea:0x1ee};let _0x5db5ae=_0x140bbb[_0x4214bc(-_0xd17e32._0x1f36b2,-_0xd17e32._0x4474be,-0xdf,_0xd17e32._0x2941af)](_0xe914a6);function _0x59ac10(_0x381e0f,_0x23a5cb,_0x4333fa,_0x2dc197){return _0x257320(_0x381e0f-0xfd,_0x23a5cb-0x51,_0x4333fa-_0x39917e._0x38c5ea,_0x23a5cb);}while(!![]){const _0x355cd4=_0x140bbb[_0x4214bc(0x39,0x124,0x6,_0xd17e32._0x855b6e)](_0x5db5ae,'node_modules','typescript','lib',_0x4214bc(0xbd,0x1ad,_0xd17e32._0x22826e,_0xd17e32._0x121a80));if(await exists2(_0x355cd4))return _0x355cd4;const _0xb07c8b=_0x140bbb[_0x4214bc(_0xd17e32._0x2dd59f,_0xd17e32._0x4a54bc,0x83,_0xd17e32._0x675f4e)](_0x5db5ae);if(_0xb07c8b===_0x5db5ae)break;_0x5db5ae=_0xb07c8b;}const _0x4b49ac=getLspPackageDir(_0x4214bc(0x1b9,_0xd17e32._0x2b80d1,0x101,_0xd17e32._0x26dae0)),_0x5495cc=await resolvePackageBinary({'packageName':_0x59ac10(_0xd17e32._0x48ae07,0x8db,0x768,_0xd17e32._0x5c6871),'binaryName':_0x59ac10(0x76a,_0xd17e32._0x149e2c,0x77b,0x866),'startDir':_0xe914a6});if(!_0x5495cc)return void 0x0;const _0x591295=_0x140bbb['join'](_0x4b49ac,_0x4214bc(-_0xd17e32._0x478d10,-0x85,_0xd17e32._0x3817e2,_0xd17e32._0x32a0b7),_0x59ac10(0x76d,0x78a,_0xd17e32._0x3500c6,0x7a1),_0x59ac10(0x6cf,0x74c,0x683,_0xd17e32._0x5d5825),_0x4214bc(_0xd17e32._0x3c086e,0x1ad,_0xd17e32._0x3c78ef,0x11d));function _0x4214bc(_0x2a46ad,_0x384910,_0x5740ad,_0x391257){return _0x257320(_0x2a46ad-_0x39334c._0x113295,_0x384910-0x14d,_0x384910- -_0x39334c._0x52c1c3,_0x5740ad);}return await exists2(_0x591295)?_0x591295:void 0x0;}var TypeScriptServer={'id':'typescript','name':'TypeScript\x20Language\x20Server','extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x527f8b){const _0x2a2530=await findUp(_0x527f8b,TYPESCRIPT_ROOT_MARKERS);if(!_0x2a2530)return void 0x0;return await hasDenoRoot(_0x2a2530)?void 0x0:_0x2a2530;},async 'spawn'(_0x4e7054){const _0x549c4e={_0x57c9f2:0x166,_0x57249e:0x16e,_0x34417a:0xdf,_0x52ba0b:0xa0,_0x5089c9:0x141,_0x12c2cc:0x1a8,_0x16f295:0x2b4,_0x314c37:0x299},_0x6ae680={_0x458d93:0x2d3},_0x29d5e1={_0x51496e:0xcb,_0x1f44d7:0x30e},_0x2b5cb4=await resolveTsserverPath(_0x4e7054);if(!_0x2b5cb4)return void 0x0;const _0x16e6fd=await resolvePackageBinary({'packageName':_0x20f946(0x127,_0x549c4e._0x57c9f2,_0x549c4e._0x57249e,0xb),'binaryName':'typescript-language-server','startDir':_0x4e7054});function _0x324d73(_0x3bc1f3,_0x489d66,_0x3abf85,_0x527d91){return _0x257320(_0x3bc1f3-0xf4,_0x489d66-_0x29d5e1._0x51496e,_0x527d91- -_0x29d5e1._0x1f44d7,_0x3abf85);}if(!_0x16e6fd)return void 0x0;function _0x20f946(_0x54ac6b,_0x4a3620,_0x1406ea,_0x1c8cd2){return _0x257320(_0x54ac6b-0x57,_0x4a3620-0xf8,_0x54ac6b- -_0x6ae680._0x458d93,_0x1c8cd2);}return{'process':_0x115e81(_0x16e6fd,[_0x324d73(-0x64,0x1da,_0x549c4e._0x34417a,_0x549c4e._0x52ba0b)],{'cwd':_0x4e7054,'stdio':_0x20f946(_0x549c4e._0x5089c9,_0x549c4e._0x12c2cc,_0x549c4e._0x16f295,_0x549c4e._0x314c37)}),'initialization':{'tsserver':{'path':_0x2b5cb4}}};}},BiomeServer={'id':_0x3342ed(0x58a,0x322,0x42d,0x3b1),'name':'Biome\x20Language\x20Server','extensions':BIOME_EXTENSIONS,async 'root'(_0x542cd1){return findUp(_0x542cd1,BIOME_ROOT_MARKERS);},async 'spawn'(_0x224f72){const _0x5267e4={_0x441c10:0x322,_0x4886cd:0x1f8,_0x34d839:0x281,_0x2cda99:0x369,_0x273aad:0x27,_0x5b925f:0xad,_0xb30e74:0x91,_0x2aecc5:0x113,_0x17d3a2:0x222,_0x245a22:0x125},_0x59f809={_0x227147:0x188,_0x324f9a:0x199},_0x5bdab4={_0x4872d8:0x1f1};function _0x57bd16(_0x37435e,_0x2ec061,_0x51304b,_0x39ec94){return _0x3342ed(_0x37435e-_0x5bdab4._0x4872d8,_0x37435e,_0x2ec061- -0x275,_0x39ec94-0x48);}function _0x5d1212(_0x536926,_0x1e88d0,_0x48acdb,_0x1f329f){return _0x3342ed(_0x536926-0x8d,_0x536926,_0x48acdb- -_0x59f809._0x227147,_0x1f329f-_0x59f809._0x324f9a);}const _0x559144=await findPackageBinary('biome',_0x224f72)??await resolvePackageBinary({'packageName':'@biomejs/biome','binaryName':_0x57bd16(_0x5267e4._0x441c10,0x1b8,_0x5267e4._0x4886cd,0x189),'startDir':_0x224f72});if(!_0x559144)return void 0x0;return{'process':_0x115e81(_0x559144,[_0x5d1212(0x336,_0x5267e4._0x34d839,_0x5267e4._0x2cda99,0x254),_0x57bd16(_0x5267e4._0x273aad,_0x5267e4._0x5b925f,_0x5267e4._0xb30e74,0x28)],{'cwd':_0x224f72,'stdio':_0x57bd16(-0x66,_0x5267e4._0x2aecc5,_0x5267e4._0x17d3a2,_0x5267e4._0x245a22)})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x562712){const _0x531f17={_0x27d8df:0x7d4,_0x10099f:0x798,_0x1f37dd:0x8cd,_0xe3cb4:0x41e},_0x1e7cc1={_0x437f63:0x11c,_0x15199c:0x1bd,_0x222ea8:0xae},_0x1621a2={_0x16731f:0xf2,_0x9b8e5d:0x278},_0x361786=_0x140bbb[_0x45cfda(_0x531f17._0x27d8df,0x7aa,_0x531f17._0x10099f,_0x531f17._0x1f37dd)](_0x562712)[_0x38d022(0x3a3,0x3fb,_0x531f17._0xe3cb4,0x565)]();function _0x45cfda(_0x10c7fd,_0x410a35,_0x55f77f,_0x4fa463){return _0x257320(_0x10c7fd-0xa0,_0x410a35-_0x1621a2._0x16731f,_0x410a35-_0x1621a2._0x9b8e5d,_0x4fa463);}function _0x38d022(_0x58e5c7,_0x5b230d,_0xbb509,_0x48c15f){return _0x257320(_0x58e5c7-_0x1e7cc1._0x437f63,_0x5b230d-_0x1e7cc1._0x15199c,_0x5b230d-_0x1e7cc1._0x222ea8,_0x48c15f);}return BUILTIN_LSP_SERVERS[_0x45cfda(0x544,0x5e7,0x4b6,0x52f)](_0x44cb78=>_0x44cb78[_0x38d022(0x3cd,0x411,0x4ac,0x2c3)][_0x38d022(0x71a,0x5ef,0x754,0x649)](_0x361786));}function stateKey(_0x2596f9,_0x26581a){return _0x26581a+':'+_0x2596f9['id'];}function diagnosticsKeyToPath(_0xec5267){const _0x29a61d={_0x178e26:0x572,_0x5e337d:0x515,_0x267d23:0x581,_0x1279d4:0x400},_0x375d57={_0x3c4661:0xe,_0x53e600:0x1b7,_0xc7bfa:0x35},_0x409741={_0x2cee10:0x7f,_0x3416ae:0xee};function _0x2df0d3(_0xc5cc45,_0x48f1a2,_0x6c7f9a,_0x5b83f9){return _0x257320(_0xc5cc45-_0x409741._0x2cee10,_0x48f1a2-_0x409741._0x3416ae,_0x6c7f9a-0xd6,_0x48f1a2);}function _0x271c63(_0x46d9c9,_0x513285,_0x48c594,_0x343ed0){return _0x3342ed(_0x46d9c9-_0x375d57._0x3c4661,_0x46d9c9,_0x48c594- -_0x375d57._0x53e600,_0x343ed0-_0x375d57._0xc7bfa);}if(!_0xec5267[_0x2df0d3(_0x29a61d._0x178e26,_0x29a61d._0x5e337d,0x59b,_0x29a61d._0x267d23)](_0x2df0d3(_0x29a61d._0x1279d4,0x3f1,0x54b,0x50b)))return _0xec5267;return fileURLToPath(_0xec5267);}function nextFileVersion(_0x23ea66,_0x2fede8){const _0x79d968={_0x149a84:0x46,_0x3f23d3:0x494,_0x38878c:0x58f,_0xd99c9b:0xf7,_0x3fa657:0x4},_0x4d0411={_0x53e63b:0x1f2,_0x26dad4:0x29a},_0x2ccaa1={_0x3129cd:0x8b},_0x1e2d45=(_0x23ea66[_0x306a26(-_0x79d968._0x149a84,0xb5,0x1f,0x16f)][_0x5c2e68(0x45f,_0x79d968._0x3f23d3,0x4b5,_0x79d968._0x38878c)](_0x2fede8)??0x1)+0x1;_0x23ea66[_0x306a26(-_0x79d968._0xd99c9b,-0x107,0x1f,_0x79d968._0x3fa657)]['set'](_0x2fede8,_0x1e2d45);function _0x5c2e68(_0x33216e,_0x18ca71,_0x386ebc,_0x883516){return _0x257320(_0x33216e-0x83,_0x18ca71-0x5e,_0x18ca71-_0x2ccaa1._0x3129cd,_0x386ebc);}function _0x306a26(_0x2ebc8f,_0x2029c3,_0x462d6f,_0x183114){return _0x257320(_0x2ebc8f-0x177,_0x2029c3-_0x4d0411._0x53e63b,_0x462d6f- -_0x4d0411._0x26dad4,_0x2ebc8f);}return _0x1e2d45;}async function collectClientResults(_0x114780){const _0x3df080={_0x5a044c:0x35f,_0x4c6491:0x3ea,_0x169e07:0x1fa,_0x3ba362:0x119},_0x52b6b1={_0x4c829e:0x166,_0x93b7de:0x30f},_0x3faeda={_0x4a4667:0xb0},_0x1006f9=await Promise[_0x1bde9d(0x3ce,_0x3df080._0x5a044c,0x4c8,_0x3df080._0x4c6491)](_0x114780);function _0x1bde9d(_0x5b2b41,_0xda101c,_0x50d34c,_0x33609c){return _0x3342ed(_0x5b2b41-0x183,_0x50d34c,_0x5b2b41-0x9b,_0x33609c-_0x3faeda._0x4a4667);}function _0xe6e8ea(_0x220590,_0x3207e0,_0x1aa43c,_0x1ac636){return _0x257320(_0x220590-0x9c,_0x3207e0-_0x52b6b1._0x4c829e,_0x220590- -_0x52b6b1._0x93b7de,_0x3207e0);}return _0x1006f9[_0xe6e8ea(_0x3df080._0x169e07,0x29a,0x2e6,_0x3df080._0x3ba362)](_0x1b55c7=>_0x1b55c7['status']==='fulfilled'?_0x1b55c7['value']:[]);}function createLspService(_0x326ac7={}){const _0x57ba34={_0x2985d2:0x895,_0x51243:0x689},_0x5f4880={_0x10c67d:0x55c,_0xfb363:0x5dc,_0x21f853:0x246,_0x529e37:0xf6,_0xfa254b:0x186,_0x3cb264:0x54b,_0x1876e6:0x6a3,_0x9d8a9:0x6bb,_0x5c32fd:0x1fb,_0x445aad:0x181,_0x13019d:0xb1,_0xd8b6d7:0x11,_0x248b40:0x196,_0x5b7d89:0x146,_0x277b38:0x20f,_0x17ad60:0x1c6,_0x123a88:0xa5,_0x42e42f:0xac,_0x329086:0x1ae,_0x49a1d3:0x1b9,_0xc47549:0x146,_0x4f4582:0x12e,_0x256a2e:0x3c,_0x1dcf02:0x4cf,_0xcf9a34:0x49d,_0x2c2148:0x3f6,_0x45c8e7:0x47a,_0x1f9d3e:0x4dc},_0x27c5e4={_0x15f8ef:0x492,_0x439803:0x13c,_0x46f58e:0x1db},_0x43f071={_0x3cb3d1:0x394,_0x4f3121:0x378},_0x3c49d5={_0x17e084:0x46,_0x20f9f7:0x18,_0x478b65:0x104},_0x324b51={_0x465a81:0x5d5,_0x51f18b:0x4d4},_0x1aafc5={_0x53cce2:0x10e},_0x5692d4={_0x1b154c:0x31f,_0x11362c:0x3cd,_0x235aeb:0x4b5},_0x16ac95={_0x1603f7:0xae},_0x548961={_0x5ecda1:0xd1,_0x1820f3:0x1f4},_0x15a345={_0x2a77b8:0x168,_0x2cc21e:0x160},_0x2de638={_0x16ec0a:0x20e,_0x5c8c13:0x33e,_0x2519ba:0x3cc,_0x559027:0x4e5,_0x28bb75:0x41f},_0x4c5661={_0x251daa:0x127,_0xce2ca0:0x115,_0x5a29ba:0xb0},_0x5060d3={_0x53f7c5:0xcc,_0x23455a:0x94},_0x37d9e0={_0x1ac251:0x54c},_0xad8094={_0x20a595:0x4f},_0x2d297c={_0x1a7340:0xab,_0x1768d2:0xb7},_0x14855a={_0x4074a2:0x896,_0x4da713:0x7a3,_0x19b55e:0x62d},_0x3c8c6e={_0x43d169:0x1d8},_0x56adf0={_0x52bd30:0x1f7,_0x3fcb35:0x1b4,_0x54f444:0x248,_0x105633:0x237,_0x1e4195:0x18a},_0x1c4dde={_0x180946:0xd0},_0x1eeca9={_0xc5fa79:0xf3,_0x5d4e5c:0xca,_0xef391f:0x332,_0x429cd5:0x214,_0xd4e1ef:0x21b,_0x5666d4:0x21b,_0x3fc9fe:0x7d,_0x45e04f:0xc3,_0x37852b:0x451,_0x2379d4:0xb4,_0x5eb178:0xc1,_0xc85f7c:0x28e,_0x4336d8:0x10c,_0x4fd810:0x55},_0x1032e9={_0x1eb190:0x39f,_0x5620cf:0x31e,_0x27ea40:0x264,_0x152b9d:0x541,_0x221841:0x581,_0x3c6387:0x547,_0x535e37:0x564,_0xc3441d:0x486,_0x465abb:0x61f,_0x248c9f:0x4fa},_0x2792d9={_0x70f331:0x651,_0x4efeb7:0x762,_0x14bb58:0x71e,_0x38b74d:0x657,_0x5a8697:0x5b1,_0x296d57:0x652,_0x367715:0x59c,_0x3a433a:0x458,_0x9f714:0x5b0,_0x3f2ff0:0x48f,_0x1c3117:0x3e3,_0x17511b:0x47e,_0x203887:0x3b7,_0x2cddf5:0x693,_0xcd7e8b:0x551,_0x2c475f:0x3f5},_0x18875d={_0x297fcd:0x3ac,_0x5ba70a:0x13f},_0x1cbd05={_0x39982b:0x382},_0x347990={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x364790=()=>_0x326ac7[_0x3bdbbe(0x2a,0x75,0x1de,0x1bf)]!==![];async function _0x4216da(_0x2e7b15,_0x986f41){const _0x41cd56={_0x526935:0x3c2,_0x5b1543:0x3db,_0x474102:0x55e,_0x36a226:0x5c1,_0x123a89:0x4e7,_0x2638e9:0x5ec,_0x584c6a:0x66b,_0x205146:0x5da,_0x20da67:0x724,_0x5141b4:0x6d1,_0x53937b:0x672,_0x386e15:0x58f,_0x5d097b:0x622,_0x521019:0x481,_0x4808eb:0x436,_0x1cdbbe:0x42c,_0x4a9f43:0x455,_0x34779e:0x2e8,_0x16b873:0x219,_0x4a23eb:0x264,_0x23adf4:0x35a,_0x2d379e:0x1e5,_0x4d69e3:0x21c},_0x238b81={_0x3abb2c:0x23b,_0x28951a:0x188},_0x38f817={_0x3e6393:0x7d},_0x5f4702=stateKey(_0x2e7b15,_0x986f41),_0x35dfc0=_0x347990[_0x18d136(0x5d8,_0x2792d9._0x70f331,_0x2792d9._0x4efeb7,0x76c)][_0x279166(0x722,_0x2792d9._0x14bb58,_0x2792d9._0x38b74d,0x6dd)](_0x583a99=>_0x583a99[_0x279166(0x622,0x494,0x4fa,0x46b)]===_0x2e7b15['id']&&_0x583a99['root']===_0x986f41);if(_0x35dfc0)return _0x35dfc0;function _0x18d136(_0x28af85,_0x32edd5,_0x2130b7,_0x2ebaa3){return _0x3bdbbe(_0x2130b7,_0x32edd5-_0x1cbd05._0x39982b,_0x2130b7-0x66,_0x2ebaa3-0xc);}function _0x279166(_0x37ab0d,_0x27f2e7,_0x118cad,_0x1cf2b0){return _0x3bdbbe(_0x37ab0d,_0x118cad-_0x18875d._0x297fcd,_0x118cad-_0x18875d._0x5ba70a,_0x1cf2b0-0x81);}if(_0x347990[_0x18d136(0x5a3,_0x2792d9._0x5a8697,_0x2792d9._0x296d57,_0x2792d9._0x367715)][_0x18d136(_0x2792d9._0x3a433a,0x510,0x635,_0x2792d9._0x9f714)](_0x5f4702))return void 0x0;const _0x333dc9=_0x347990[_0x279166(_0x2792d9._0x3f2ff0,_0x2792d9._0x1c3117,_0x2792d9._0x17511b,_0x2792d9._0x203887)][_0x279166(_0x2792d9._0x2cddf5,0x52b,_0x2792d9._0xcd7e8b,0x649)](_0x5f4702);if(_0x333dc9)return _0x333dc9;const _0x455a12=((async()=>{function _0x815c60(_0x634d94,_0x41048d,_0x210c65,_0x4fddeb){return _0x279166(_0x4fddeb,_0x41048d-0x75,_0x210c65- -_0x38f817._0x3e6393,_0x4fddeb-0x65);}function _0x3a4f5f(_0x2287ce,_0x341c3c,_0xe61567,_0x31029f){return _0x18d136(_0x2287ce-0x152,_0x341c3c- -_0x238b81._0x3abb2c,_0x31029f,_0x31029f-_0x238b81._0x28951a);}try{const _0x59dfb3=await _0x2e7b15[_0x3a4f5f(0x387,_0x41cd56._0x526935,_0x41cd56._0x5b1543,0x38f)](_0x986f41);if(!_0x59dfb3)return _0x347990[_0x815c60(0x3f0,0x4ae,_0x41cd56._0x474102,_0x41cd56._0x36a226)][_0x815c60(0x77b,_0x41cd56._0x123a89,0x63d,_0x41cd56._0x2638e9)](_0x5f4702),void 0x0;const _0x788f71=await createLspClient({'server':_0x2e7b15,'root':_0x986f41,'handle':_0x59dfb3}),_0x55094e=_0x347990['clients'][_0x815c60(_0x41cd56._0x584c6a,0x624,_0x41cd56._0x205146,_0x41cd56._0x20da67)](_0x1d9a4e=>_0x1d9a4e['serverId']===_0x2e7b15['id']&&_0x1d9a4e[_0x3a4f5f(0x228,0x1e3,0x108,0xb7)]===_0x986f41);if(_0x55094e)return await _0x788f71[_0x815c60(_0x41cd56._0x5141b4,_0x41cd56._0x53937b,_0x41cd56._0x386e15,_0x41cd56._0x5d097b)](),_0x55094e;return _0x347990[_0x3a4f5f(_0x41cd56._0x521019,0x416,0x3ab,0x345)][_0x815c60(0x2e2,0x303,_0x41cd56._0x4808eb,_0x41cd56._0x1cdbbe)](_0x788f71),_0x788f71;}catch{return _0x347990['broken'][_0x3a4f5f(0x38d,_0x41cd56._0x4a9f43,0x539,0x569)](_0x5f4702),void 0x0;}finally{_0x347990[_0x3a4f5f(_0x41cd56._0x34779e,_0x41cd56._0x16b873,0x350,0x371)][_0x3a4f5f(_0x41cd56._0x4a23eb,_0x41cd56._0x23adf4,_0x41cd56._0x2d379e,_0x41cd56._0x4d69e3)](_0x5f4702);}})());return _0x347990['spawning'][_0x279166(0x418,0x31f,_0x2792d9._0x2c475f,0x333)](_0x5f4702,_0x455a12),_0x455a12;}async function _0x484172(_0x4fb3d0,_0x3dab5b){const _0x58bbe0={_0x2c5995:0x1c8};if(!_0x364790())return[];function _0x388aab(_0x55bba2,_0x44cc6d,_0x2b4636,_0x40ff45){return _0x3bdbbe(_0x55bba2,_0x40ff45-_0x58bbe0._0x2c5995,_0x2b4636-0x84,_0x40ff45-0x14e);}const _0x4be19a=[];for(const _0x4603af of getServersForFile(_0x4fb3d0)){const _0x1454f8=await _0x4603af[_0x388aab(_0x1032e9._0x1eb190,_0x1032e9._0x5620cf,0x1b2,_0x1032e9._0x27ea40)](_0x4fb3d0);if(!_0x1454f8)continue;const _0x5075c1=stateKey(_0x4603af,_0x1454f8);if(_0x347990['broken'][_0x34476f(0x4e4,0x512,_0x1032e9._0x152b9d,_0x1032e9._0x221841)](_0x5075c1))continue;const _0x54a275=_0x347990['clients'][_0x34476f(_0x1032e9._0x3c6387,0x7b2,0x752,0x69e)](_0x4e618f=>_0x4e618f['serverId']===_0x4603af['id']&&_0x4e618f['root']===_0x1454f8);if(_0x54a275){_0x4be19a['push'](_0x54a275);continue;}if(!_0x3dab5b)continue;const _0x8b8e10=await _0x4216da(_0x4603af,_0x1454f8);if(_0x8b8e10)_0x4be19a[_0x34476f(_0x1032e9._0x535e37,_0x1032e9._0xc3441d,_0x1032e9._0x465abb,_0x1032e9._0x248c9f)](_0x8b8e10);}function _0x34476f(_0x2b44d5,_0x1193c6,_0x257a67,_0x30fc88){return _0x3bdbbe(_0x257a67,_0x30fc88-0x3f3,_0x257a67-0xd1,_0x30fc88-0xd9);}return _0x4be19a;}async function _0x178914(_0x387198,_0x17a703=![]){const _0x206ace={_0x52dcd8:0x122,_0x118130:0x1a9,_0x48dda2:0x35a},_0x33c51b={_0x58abbc:0x189,_0x43f110:0x52};function _0x286b07(_0x559d61,_0x1172bb,_0x6751c3,_0x2fefc4){return _0x3bdbbe(_0x6751c3,_0x2fefc4- -_0x33c51b._0x58abbc,_0x6751c3-_0x33c51b._0x43f110,_0x2fefc4-0x5a);}const _0x2082ae=await _0x484172(_0x387198,!![]);await Promise['all'](_0x2082ae[_0x286b07(-_0x1c4dde._0x180946,-0xf9,-0x215,-_0x1c4dde._0x180946)](async _0x13ed68=>{const _0x4c7d45={_0x2770aa:0x108,_0x2c3210:0x33};function _0x39396d(_0x3fc003,_0x423db2,_0x257a59,_0x219f45){return _0x286b07(_0x3fc003-_0x4c7d45._0x2770aa,_0x423db2-_0x4c7d45._0x2c3210,_0x423db2,_0x3fc003- -0x79);}!_0x347990[_0x39396d(-0x57,-_0x1eeca9._0xc5fa79,_0x1eeca9._0x5d4e5c,0x50)]['has'](_0x13ed68['serverId']+':'+_0x13ed68[_0x25f09a(_0x1eeca9._0xef391f,0x15d,_0x1eeca9._0x429cd5,0x26d)]+':'+_0x387198)&&(await _0x13ed68[_0x25f09a(0x205,_0x1eeca9._0xd4e1ef,0xe6,_0x1eeca9._0x5666d4)][_0x39396d(_0x1eeca9._0x3fc9fe,0xa,-_0x1eeca9._0x45e04f,0x1a5)]({'path':_0x387198}),_0x347990[_0x25f09a(0x4e7,_0x1eeca9._0x37852b,0x2b7,0x37c)]['add'](_0x13ed68[_0x39396d(-_0x1eeca9._0x2379d4,-0x22b,_0x1eeca9._0x5eb178,0x39)]+':'+_0x13ed68['root']+':'+_0x387198));function _0x25f09a(_0x4949db,_0x1fe927,_0x481569,_0x1e293a){return _0x286b07(_0x4949db-_0x206ace._0x52dcd8,_0x1fe927-_0x206ace._0x118130,_0x1fe927,_0x1e293a-_0x206ace._0x48dda2);}await _0x13ed68[_0x25f09a(_0x1eeca9._0xc85f7c,_0x1eeca9._0x4336d8,0x2ca,0x21b)][_0x39396d(-_0x1eeca9._0x4fd810,0x2c,-0x11b,0x33)]({'path':_0x387198,'version':nextFileVersion(_0x347990,_0x387198)});if(_0x17a703)await _0x13ed68['waitForDiagnostics']({'path':_0x387198});}));}async function _0x18bb10(_0x1cfe82){const _0x5e119f={_0x53cb74:0x209};await _0x178914(_0x1cfe82[_0x6264d1(_0x56adf0._0x52bd30,_0x56adf0._0x3fcb35,_0x56adf0._0x54f444,_0x56adf0._0x105633)],![]);function _0x6264d1(_0x4bed75,_0x32c008,_0x4e22ce,_0x2cc1b1){return _0x3bdbbe(_0x32c008,_0x4e22ce-_0x5e119f._0x53cb74,_0x4e22ce-0x95,_0x2cc1b1-0x163);}function _0x411c8e(_0x3c69bf,_0x3b7ec4,_0x5ef62e,_0xd56f2a){return _0x3bdbbe(_0x3c69bf,_0x3b7ec4-0x14b,_0x5ef62e-0x13b,_0xd56f2a-0x1ad);}return _0x484172(_0x1cfe82[_0x411c8e(0x20e,_0x56adf0._0x1e4195,0x2f3,0x122)],![]);}function _0x3bdbbe(_0x34c932,_0x23cd5e,_0x58fc97,_0x45a780){return _0x3342ed(_0x34c932-0xa6,_0x34c932,_0x23cd5e- -_0x3c8c6e._0x43d169,_0x45a780-0x3f);}async function _0x38f7aa(_0x2bf033){function _0x3ba768(_0x5b86e1,_0x1e6dc9,_0x51f131,_0x3ceb30){return _0x3bdbbe(_0x3ceb30,_0x51f131- -0x29d,_0x51f131-0x108,_0x3ceb30-0x34);}const _0x40b3fa=await _0x18bb10(_0x2bf033);return collectClientResults(_0x40b3fa['map'](_0x480572=>_0x480572[_0x3ba768(-0x111,-0x1d8,-0xbd,-0x11c)]['prepareCallHierarchy'](_0x2bf033)));}return{'isEnabled':_0x364790,async 'hasClients'(_0x5b5abf){const _0x41f531={_0x3fe87f:0x4e6,_0x3badf4:0x1};function _0x3338dd(_0x58db45,_0x4ed261,_0x5cecdd,_0x574808){return _0x3bdbbe(_0x574808,_0x5cecdd-_0x41f531._0x3fe87f,_0x5cecdd-0x2,_0x574808-_0x41f531._0x3badf4);}return(await _0x484172(_0x5b5abf,![]))[_0x3338dd(0x62a,_0x14855a._0x4074a2,_0x14855a._0x4da713,_0x14855a._0x19b55e)]>0x0||getServersForFile(_0x5b5abf)['length']>0x0;},'touchFile':_0x178914,async 'diagnostics'(){function _0xfbf477(_0x3b83e1,_0x689053,_0x2645ba,_0x2f838e){return _0x3bdbbe(_0x3b83e1,_0x689053- -0x218,_0x2645ba-0x19b,_0x2f838e-0x13b);}const _0x3e2c84={};for(const _0x384cc8 of _0x347990[_0xfbf477(-_0x2d297c._0x1a7340,_0x2d297c._0x1768d2,-0x96,0xa8)]){for(const [_0x3c82ec,_0x10ef15]of _0x384cc8['diagnostics']){_0x3e2c84[diagnosticsKeyToPath(_0x3c82ec)]=_0x10ef15;}}return _0x3e2c84;},async 'diagnosticsForFile'(_0x1c31a3){const _0x1417a2={_0x3f1442:0x227};function _0x48129c(_0x352642,_0x2a4e71,_0xdef442,_0x10f798){return _0x3bdbbe(_0x352642,_0x10f798- -_0x1417a2._0x3f1442,_0xdef442-0x149,_0x10f798-0x76);}await _0x178914(_0x1c31a3,!![]);const _0xcc3a59=[];for(const _0x6ead28 of await _0x484172(_0x1c31a3,![])){for(const [_0x6e4040,_0x37e215]of _0x6ead28[_0x48129c(0x9b,-0xba,_0xad8094._0x20a595,-0x95)]){if(diagnosticsKeyToPath(_0x6e4040)===_0x1c31a3)_0xcc3a59['push'](..._0x37e215);}}return _0xcc3a59;},async 'definition'(_0x2ee190){function _0x5901fe(_0x194fe0,_0x2263f1,_0x390ec4,_0x50c1be){return _0x3bdbbe(_0x390ec4,_0x50c1be- -0x1e2,_0x390ec4-0xa0,_0x50c1be-0x12f);}return collectClientResults((await _0x18bb10(_0x2ee190))['map'](_0xf715bf=>_0xf715bf['request'][_0x5901fe(0x5d,-0x159,-0x7d,-0xc3)](_0x2ee190)));},async 'references'(_0x45b506){const _0x3d6f84={_0x5169ba:0xd8,_0x2fadd1:0x1f};function _0x3c17bb(_0xa50d98,_0x8a4e39,_0x2029ff,_0x11db50){return _0x3bdbbe(_0x11db50,_0x2029ff-0x493,_0x2029ff-_0x3d6f84._0x5169ba,_0x11db50-_0x3d6f84._0x2fadd1);}function _0x32f713(_0xeb48e4,_0x561842,_0xd0de31,_0x29daf4){return _0x3bdbbe(_0x561842,_0xd0de31-0x2c3,_0xd0de31-0x20,_0x29daf4-0x1a2);}return collectClientResults((await _0x18bb10(_0x45b506))[_0x3c17bb(0x59f,0x4ec,_0x37d9e0._0x1ac251,0x49d)](_0x18272b=>_0x18272b[_0x3c17bb(0x655,0x662,0x673,0x585)][_0x32f713(0x385,0x389,0x326,0x472)](_0x45b506)));},async 'hover'(_0x2a2e8b){function _0x201e46(_0x2e1399,_0x434aba,_0x2ce7b3,_0x3d57bd){return _0x3bdbbe(_0x2e1399,_0x3d57bd- -0x113,_0x2ce7b3-_0x5060d3._0x53f7c5,_0x3d57bd-_0x5060d3._0x23455a);}const _0x319f3b=await Promise[_0x1746d7(0x371,0x282,0x14d,0x320)]((await _0x18bb10(_0x2a2e8b))[_0x1746d7(0x1fc,0x1e0,_0x2de638._0x16ec0a,_0x2de638._0x5c8c13)](_0x56eb1a=>_0x56eb1a[_0x1746d7(0x381,0x307,0x3ee,0x30a)][_0x1746d7(0x379,0x22b,0x1d8,0xfe)](_0x2a2e8b)));function _0x1746d7(_0x46b85d,_0x367f9e,_0x1f5266,_0x59a565){return _0x3bdbbe(_0x46b85d,_0x367f9e-_0x4c5661._0x251daa,_0x1f5266-_0x4c5661._0xce2ca0,_0x59a565-_0x4c5661._0x5a29ba);}return _0x319f3b[_0x1746d7(0x541,_0x2de638._0x2519ba,_0x2de638._0x559027,_0x2de638._0x28bb75)](_0x1aa50d=>_0x1aa50d['status']==='fulfilled'&&_0x1aa50d[_0x1746d7(0x372,0x221,0x2a8,0x1c1)]?[_0x1aa50d[_0x1746d7(0xbd,0x221,0x14b,0x1fc)]]:[]);},async 'documentSymbol'(_0x31305f){const _0x2e6e29={_0x2dbb7f:0x143};await _0x178914(_0x31305f,![]);function _0x5c3095(_0x3f3d1c,_0x3397c4,_0x189de2,_0x4636f8){return _0x3bdbbe(_0x3f3d1c,_0x189de2-0x41,_0x189de2-0xf,_0x4636f8-_0x2e6e29._0x2dbb7f);}function _0x1c2f8d(_0x554484,_0x2b3b24,_0x3f3da9,_0x30b8d7){return _0x3bdbbe(_0x2b3b24,_0x3f3da9- -0x2af,_0x3f3da9-_0x15a345._0x2a77b8,_0x30b8d7-_0x15a345._0x2cc21e);}return collectClientResults((await _0x484172(_0x31305f,![]))[_0x5c3095(_0x548961._0x5ecda1,0x22,0xfa,_0x548961._0x1820f3)](_0xdbc9b0=>_0xdbc9b0[_0x5c3095(0x15a,0x166,0x221,0x2f7)][_0x5c3095(0xc3,0x1c0,0x1e7,0x315)](_0x31305f)));},async 'workspaceSymbol'(_0x3b93e4){const _0x45b2d8={_0x1a3c90:0x1ad};function _0x368e97(_0x154281,_0x8634b1,_0x3deccc,_0x2e7a57){return _0x3bdbbe(_0x154281,_0x3deccc-_0x45b2d8._0x1a3c90,_0x3deccc-0xaf,_0x2e7a57-0x18e);}function _0x50f493(_0xcbfbb0,_0x5de613,_0xeddc19,_0x1245b2){return _0x3bdbbe(_0xcbfbb0,_0xeddc19-0x314,_0xeddc19-0x1af,_0x1245b2-_0x16ac95._0x1603f7);}return collectClientResults(_0x347990['clients'][_0x50f493(_0x5692d4._0x1b154c,0x32f,_0x5692d4._0x11362c,_0x5692d4._0x235aeb)](_0x538879=>_0x538879[_0x50f493(0x602,0x449,0x4f4,0x39b)]['workspaceSymbol'](_0x3b93e4)));},async 'implementation'(_0x2c0172){const _0xbcda1b={_0x514e1a:0x355,_0x533452:0x12b,_0x44f3da:0x90},_0x309cb7={_0x5a8827:0x77,_0x217e6f:0xe};function _0xa70992(_0x12b356,_0x4601eb,_0x4dd8dd,_0x66ba2a){return _0x3bdbbe(_0x66ba2a,_0x4601eb-0x48,_0x4dd8dd-_0x309cb7._0x5a8827,_0x66ba2a-_0x309cb7._0x217e6f);}function _0x765495(_0x46c640,_0x65bee,_0x1a0184,_0x1e7807){return _0x3bdbbe(_0x46c640,_0x1a0184-_0xbcda1b._0x514e1a,_0x1a0184-_0xbcda1b._0x533452,_0x1e7807-_0xbcda1b._0x44f3da);}return collectClientResults((await _0x18bb10(_0x2c0172))[_0xa70992(0x212,0x101,0xa4,-0x16)](_0x16e017=>_0x16e017[_0x765495(0x4aa,0x609,0x535,0x4e9)][_0x765495(0x3d1,0x4b7,0x3c2,0x2ad)](_0x2c0172)));},async 'prepareCallHierarchy'(_0x4a7339){return _0x38f7aa(_0x4a7339);},async 'incomingCalls'(_0x5c666c){const _0x243889={_0x55356c:0x168},_0x5aa2ff=await _0x38f7aa(_0x5c666c);function _0x52e702(_0xe5ffb8,_0x1e3351,_0x29e295,_0x341e72){return _0x3bdbbe(_0x341e72,_0x29e295-0x1d6,_0x29e295-0x64,_0x341e72-_0x1aafc5._0x53cce2);}const _0x36f125=await _0x18bb10(_0x5c666c);function _0x138a22(_0x37b2a0,_0x4f8bb5,_0xb738d4,_0x187283){return _0x3bdbbe(_0x37b2a0,_0xb738d4-0x330,_0xb738d4-_0x243889._0x55356c,_0x187283-0x71);}return collectClientResults(_0x36f125[_0x138a22(0x70e,0x734,_0x324b51._0x465a81,_0x324b51._0x51f18b)](_0x3693eb=>_0x5aa2ff[_0x138a22(0x444,0x3c4,0x3e9,0x542)](_0x1f2dda=>_0x3693eb[_0x138a22(0x448,0x5bd,0x510,0x5de)][_0x138a22(0x708,0x52d,0x655,0x544)](_0x1f2dda))));},async 'outgoingCalls'(_0x414140){const _0x2c992e={_0x2ad22d:0x75},_0x4d24d5=await _0x38f7aa(_0x414140),_0x1c25b9=await _0x18bb10(_0x414140);function _0x5423a1(_0x372654,_0x48ed13,_0x5eb2c5,_0x4bfc9c){return _0x3bdbbe(_0x372654,_0x48ed13- -_0x3c49d5._0x17e084,_0x5eb2c5-_0x3c49d5._0x20f9f7,_0x4bfc9c-_0x3c49d5._0x478b65);}function _0x384567(_0x2d2bdf,_0x429496,_0x4187f9,_0x1f1b10){return _0x3bdbbe(_0x2d2bdf,_0x1f1b10-0x40,_0x4187f9-0x1de,_0x1f1b10-_0x2c992e._0x2ad22d);}return collectClientResults(_0x1c25b9[_0x384567(_0x43f071._0x3cb3d1,0x44d,_0x43f071._0x4f3121,0x2e5)](_0x4205ea=>_0x4d24d5[_0x5423a1(0x114,0x73,0x39,-0xda)](_0x138ec4=>_0x4205ea[_0x384567(0x2ee,0xc5,0x18a,0x220)]['outgoingCalls'](_0x138ec4))));},async 'shutdown'(){const _0x30bba1={_0x4221d4:0x183,_0x291358:0x172};if(_0x347990[_0xc41a58(0x51f,_0x5f4880._0x10c67d,_0x5f4880._0xfb363,0x48d)])return;_0x347990[_0x1b61ba(-_0x5f4880._0x21f853,-0x164,-_0x5f4880._0x529e37,-_0x5f4880._0xfa254b)]=!![],await Promise['allSettled'](_0x347990['clients'][_0xc41a58(_0x5f4880._0x3cb264,_0x5f4880._0x1876e6,_0x5f4880._0x9d8a9,0x671)](_0x5dd023=>_0x5dd023[_0xc41a58(0x6f2,0x5df,0x80c,0x760)]())),_0x347990['clients']=[],_0x347990[_0x1b61ba(-_0x5f4880._0x5c32fd,-_0x5f4880._0x445aad,-_0x5f4880._0x13019d,_0x5f4880._0xd8b6d7)][_0x1b61ba(-_0x5f4880._0x248b40,-0x22f,-_0x5f4880._0x5b7d89,-_0x5f4880._0x277b38)](),_0x347990[_0x1b61ba(_0x5f4880._0x17ad60,-_0x5f4880._0x123a88,_0x5f4880._0x42e42f,_0x5f4880._0x329086)][_0x1b61ba(-0x1c6,-_0x5f4880._0x49a1d3,-_0x5f4880._0xc47549,-0x1c1)]();function _0x1b61ba(_0x5760a8,_0x293720,_0x85cc5f,_0x2ccfe0){return _0x3bdbbe(_0x2ccfe0,_0x85cc5f- -_0x30bba1._0x4221d4,_0x85cc5f-_0x30bba1._0x291358,_0x2ccfe0-0xe2);}_0x347990[_0x1b61ba(-0x109,-0x1ba,-_0x5f4880._0x4f4582,_0x5f4880._0x256a2e)][_0xc41a58(_0x5f4880._0x1dcf02,_0x5f4880._0xcf9a34,_0x5f4880._0x2c2148,_0x5f4880._0x45c8e7)]();function _0xc41a58(_0x52e957,_0x317937,_0x220af0,_0x197327){return _0x3bdbbe(_0x220af0,_0x52e957-_0x27c5e4._0x15f8ef,_0x220af0-_0x27c5e4._0x439803,_0x197327-_0x27c5e4._0x46f58e);}_0x347990['openFiles'][_0xc41a58(0x4cf,0x405,0x38d,_0x5f4880._0x1f9d3e)]();},'status'(){const _0x75e14d={_0x34dd7c:0x4bb,_0x5844fc:0x1b8};function _0x13194f(_0x52a747,_0x5c1a4f,_0x1a17f2,_0x5ea4c5){return _0x3bdbbe(_0x5c1a4f,_0x52a747-_0x75e14d._0x34dd7c,_0x1a17f2-0xb7,_0x5ea4c5-_0x75e14d._0x5844fc);}return{'connectedClients':_0x347990['clients'][_0x13194f(0x778,0x761,_0x57ba34._0x2985d2,_0x57ba34._0x51243)]};}};}function createQuestionId(){const _0x37f78e={_0x22a8ef:0x50d,_0x46f336:0x471,_0x48b84d:0x430,_0x67183:0x3a7,_0x3d0e21:0x693,_0x361c5d:0x5d1,_0x89d07a:0x304,_0x2dac11:0x490},_0x5cbf3b={_0x1c2e5b:0x12d};function _0x50df02(_0x482cea,_0x3bc0d8,_0x5b5f39,_0x5de329){return _0x257320(_0x482cea-_0x5cbf3b._0x1c2e5b,_0x3bc0d8-0x146,_0x482cea-0xcb,_0x5de329);}function _0x179332(_0x29b61c,_0x12ce94,_0x489241,_0x250926){return _0x3342ed(_0x29b61c-0x69,_0x29b61c,_0x250926-0x164,_0x250926-0x80);}return _0x179332(0x34e,_0x37f78e._0x22a8ef,0x3c8,_0x37f78e._0x46f336)+Date[_0x179332(_0x37f78e._0x48b84d,0x291,0x4ed,_0x37f78e._0x67183)]()+'-'+Math[_0x179332(0x6f2,0x62d,_0x37f78e._0x3d0e21,_0x37f78e._0x361c5d)]()[_0x50df02(0x438,_0x37f78e._0x89d07a,0x43c,_0x37f78e._0x2dac11)](0x24)['slice'](0x2,0x9);}function validateInput(_0x4b3270){const _0x32e703={_0x44584d:0x362,_0x1e18f7:0x3ba,_0xc8760b:0x6e7,_0x3d6f3e:0x586,_0x2a1b4b:0x2e5,_0x4d4db4:0x2f3,_0x439188:0x273,_0x16bb71:0x33e,_0x188ac5:0x466,_0x129e2f:0x19b,_0x3f3884:0x1bd,_0x280e13:0x1ea,_0x6a5ed:0x2b3,_0x571205:0x261,_0x3387bc:0x47d,_0x15b531:0x58d,_0x802b9c:0x373,_0x4c71c5:0x31e,_0x3dbd6b:0x42c,_0x346f0e:0x4e1,_0x2bcd29:0x55,_0x3e1a42:0x4f5,_0x420570:0x612,_0xe5a64b:0x58a,_0x50c792:0x628,_0x55fc07:0x570,_0x34e117:0x199,_0x497a35:0x256,_0x5b33d8:0x350,_0x2066d2:0x42c,_0x10900b:0x2f0,_0x25a7ee:0x2f3,_0x5dc792:0x377,_0x233072:0x3a4,_0x3f19e4:0x41f,_0x5a7ee8:0x3fb,_0x442e32:0x37d,_0x3076e0:0x3e7,_0x2e8580:0x4ef,_0x37a857:0x428,_0x55c911:0x4b5,_0x5732b7:0x3f3,_0x461793:0x52e,_0x1d3052:0x5e2,_0x169f36:0x18c,_0x10a5c3:0x240,_0x57b561:0x426,_0x52084c:0x6c,_0x2900e0:0x154,_0x119e75:0x14f,_0x4b5e4a:0x34d,_0xcc33d9:0x1ee,_0x25483e:0x2fe,_0x5f3790:0x394,_0x15ffb4:0x309,_0x51e9b5:0x31d,_0xea2473:0x4cb,_0x86c03f:0x3ca,_0x51d713:0x1ba,_0x3fb4d8:0x20c,_0x47f64e:0x297,_0x3cb80b:0x253,_0x2117c9:0x131,_0xc30144:0x3c3},_0x3b42df={_0x831a2b:0x1a9,_0x8a46e7:0x7b},_0x239466={_0x181919:0x14,_0x47255c:0x32};function _0x44b7ba(_0x352dc4,_0x10bdff,_0x5de3ea,_0x2dd4a5){return _0x3342ed(_0x352dc4-_0x239466._0x181919,_0x352dc4,_0x5de3ea-0xf1,_0x2dd4a5-_0x239466._0x47255c);}function _0x5d1926(_0xbb58ba,_0x658a82,_0x1a9f68,_0x230e49){return _0x257320(_0xbb58ba-_0x3b42df._0x831a2b,_0x658a82-_0x3b42df._0x8a46e7,_0x658a82- -0x22e,_0x230e49);}if(!Array['isArray'](_0x4b3270[_0x44b7ba(0x32e,0x28b,_0x32e703._0x44584d,0x29b)])||_0x4b3270[_0x44b7ba(0x245,0x2e2,0x362,_0x32e703._0x1e18f7)][_0x44b7ba(_0x32e703._0xc8760b,0x613,_0x32e703._0x3d6f3e,0x671)]<0x1||_0x4b3270[_0x44b7ba(0x2f2,0x24a,0x362,0x268)][_0x5d1926(_0x32e703._0x2a1b4b,_0x32e703._0x4d4db4,0x374,_0x32e703._0x439188)]>0xa)throw new ToolExecutionError(_0x5d1926(_0x32e703._0x16bb71,0x30a,0x21d,_0x32e703._0x188ac5),{'error':_0x5d1926(_0x32e703._0x129e2f,0x2f2,_0x32e703._0x3f3884,_0x32e703._0x280e13)});for(let _0x2f41d7=0x0;_0x2f41d7<_0x4b3270[_0x44b7ba(_0x32e703._0x6a5ed,_0x32e703._0x571205,0x362,_0x32e703._0x3387bc)][_0x5d1926(0x36f,_0x32e703._0x4d4db4,0x19d,0x2d8)];_0x2f41d7+=0x1){const _0x5d611b=_0x4b3270['questions'][_0x2f41d7];if(!_0x5d611b[_0x44b7ba(0x71d,0x655,0x5b1,_0x32e703._0x15b531)]||typeof _0x5d611b[_0x5d1926(_0x32e703._0x802b9c,_0x32e703._0x4c71c5,0x28a,0x21f)]!==_0x44b7ba(0x583,0x619,0x57d,0x607))throw new ToolExecutionError('Question\x20'+(_0x2f41d7+0x1)+_0x44b7ba(0x314,0x4bb,0x36b,0x229));if(!_0x5d611b[_0x44b7ba(0x51e,0x36a,_0x32e703._0x3dbd6b,_0x32e703._0x346f0e)]||typeof _0x5d611b[_0x5d1926(0x16e,0x199,_0x32e703._0x2bcd29,0x219)]!==_0x5d1926(0x310,0x2ea,0x2cd,0x3ee))throw new ToolExecutionError(_0x44b7ba(_0x32e703._0x3e1a42,0x522,0x49f,_0x32e703._0x420570)+(_0x2f41d7+0x1)+_0x44b7ba(_0x32e703._0xe5a64b,_0x32e703._0x50c792,_0x32e703._0x55fc07,0x515));if(_0x5d611b[_0x5d1926(0x2ab,_0x32e703._0x34e117,0x39,_0x32e703._0x497a35)][_0x5d1926(0x37e,0x2f3,0x2a8,0x338)]>0x1e)throw new ToolExecutionError('Question\x20'+(_0x2f41d7+0x1)+_0x44b7ba(0x4b5,0x277,_0x32e703._0x5b33d8,0x2b2)+_0x5d611b[_0x44b7ba(0x365,0x39b,_0x32e703._0x2066d2,_0x32e703._0x10900b)][_0x5d1926(0x2d8,_0x32e703._0x25a7ee,_0x32e703._0x5dc792,_0x32e703._0x233072)]);if(!Array[_0x44b7ba(0x331,0x434,_0x32e703._0x3f19e4,_0x32e703._0x5a7ee8)](_0x5d611b[_0x44b7ba(_0x32e703._0x442e32,0x313,_0x32e703._0x3076e0,_0x32e703._0x2e8580)])||_0x5d611b['options']['length']<0x2||_0x5d611b[_0x44b7ba(0x431,0x292,0x3e7,_0x32e703._0x37a857)][_0x44b7ba(0x6ef,0x4f0,0x586,_0x32e703._0x55c911)]>0x4)throw new ToolExecutionError('Question\x20'+(_0x2f41d7+0x1)+_0x44b7ba(_0x32e703._0x5732b7,0x526,_0x32e703._0x461793,_0x32e703._0x1d3052));for(let _0x304dc7=0x0;_0x304dc7<_0x5d611b[_0x5d1926(_0x32e703._0x169f36,0x154,_0x32e703._0x10a5c3,0x1aa)][_0x44b7ba(_0x32e703._0x57b561,0x699,_0x32e703._0x3d6f3e,0x6e0)];_0x304dc7+=0x1){const _0xe61aa2=_0x5d611b[_0x5d1926(_0x32e703._0x52084c,_0x32e703._0x2900e0,0x258,_0x32e703._0x119e75)][_0x304dc7];if(!_0xe61aa2['label']||!_0xe61aa2[_0x5d1926(0x240,0x1f3,_0x32e703._0x4b5e4a,0x2aa)])throw new ToolExecutionError('Question\x20'+(_0x2f41d7+0x1)+_0x5d1926(0x1aa,_0x32e703._0xcc33d9,_0x32e703._0x25483e,0x338)+(_0x304dc7+0x1)+':\x20both\x20\x22label\x22\x20and\x20\x22description\x22\x20are\x20required');}if(typeof _0x5d611b[_0x5d1926(_0x32e703._0x5f3790,_0x32e703._0x15ffb4,0x3a3,0x1b6)]!==_0x44b7ba(_0x32e703._0x51e9b5,_0x32e703._0xea2473,_0x32e703._0x86c03f,0x493))throw new ToolExecutionError(_0x5d1926(_0x32e703._0x51d713,_0x32e703._0x3fb4d8,_0x32e703._0x47f64e,0x19c)+(_0x2f41d7+0x1)+_0x5d1926(0x1b9,_0x32e703._0x3cb80b,_0x32e703._0x2117c9,_0x32e703._0xc30144));}}function buildQuestions(_0x5942f4){const _0x51c3d1={_0x4ebf8a:0x75},_0x2acf1e={_0x1e85ae:0x9f,_0x486564:0x2e6},_0xd8878c={_0x625691:0x179};function _0xb47c5d(_0x3c2afe,_0xc1fa1b,_0x4d86e9,_0xe0e71){return _0x257320(_0x3c2afe-0x9d,_0xc1fa1b-0x8f,_0xe0e71-_0xd8878c._0x625691,_0x4d86e9);}function _0x29367e(_0x270f53,_0x487a74,_0x1b914c,_0x256b5a){return _0x3342ed(_0x270f53-_0x2acf1e._0x1e85ae,_0x256b5a,_0x487a74- -_0x2acf1e._0x486564,_0x256b5a-0x21);}return _0x5942f4[_0x29367e(-0x41,-_0x51c3d1._0x4ebf8a,-0x7d,0xb7)]['map']((_0x86a3b2,_0x191dc9)=>({'id':'q'+_0x191dc9,'question':_0x86a3b2[_0xb47c5d(0x65c,0x66b,0x6a4,0x6c5)],'topic':_0x86a3b2[_0x29367e(-0x63,0x55,0x31,0xde)],'options':_0x86a3b2[_0x29367e(0x184,0x10,-0x5d,0x12e)],'multiSelect':_0x86a3b2[_0x29367e(0x8f,0x1c5,0xea,0x99)]}));}function createResult(_0x5db83e,_0x3ed777,_0x5784c2){const _0xfed794={_0x376f53:0xda,_0x43ffc6:0x24};function _0x20ac94(_0x2de390,_0x1a3fca,_0x36ae29,_0x58e2b3){return _0x257320(_0x2de390-0x13f,_0x1a3fca-0x63,_0x36ae29- -0x386,_0x1a3fca);}const _0x1a2a70={'questionId':_0x5db83e,'questionCount':_0x3ed777,'answers':_0x5784c2};return createToolOutput('User\x20responses\x20received:\x20'+JSON[_0x20ac94(0xab,-_0xfed794._0x376f53,0x79,-_0xfed794._0x43ffc6)](_0x5784c2,null,0x2),_0x1a2a70);}function createAskUserTool(){const _0x280b4d={_0x35d385:0x123,_0x423760:0xeb,_0x3fcfd3:0x17,_0x487d26:0x10,_0x4011e5:0xb8,_0x30abb8:0x275,_0x2632a4:0x30f,_0x46d5d5:0xf3,_0x209a0c:0x19c,_0x402db9:0x43,_0xc9fe2b:0x135,_0x5d7e0b:0x1ac,_0x1bd414:0x31f,_0x2c5c2b:0x272,_0x5ac9e7:0x24a,_0x589d58:0xd5,_0x762cb4:0x3a,_0x4bbe44:0x199,_0xc1ee4b:0x1a1,_0x470ab8:0x80,_0x22b4ed:0x82,_0x2231d8:0x66,_0xd08027:0x4c},_0x20ed4a={_0x3776a1:0x280,_0x2752ca:0xf1,_0x49724a:0x126,_0xf36b63:0x4df,_0x566c67:0x585,_0x14f4be:0x36b,_0x551fb3:0x465,_0x242be6:0x382,_0x4dbe87:0x5a2,_0xeea97b:0x5fd,_0x547a89:0x52a,_0x2f5e50:0x3bf,_0x7d8b2:0x28b,_0x1b1e60:0x2d4,_0x48124f:0xe,_0x98bbd6:0x155,_0x365843:0x8e,_0x36b746:0x117,_0x55ecb8:0x2aa,_0x29c996:0x33b},_0x23bbd5={_0x47c198:0xd7,_0x4467ad:0x105},_0x1c19b2={_0x203716:0x35,_0xaf77b4:0x2c7},_0x328f83={_0x119039:0x1b,_0x123341:0x169,_0x2527d3:0x31c},_0x1fd69e={_0x879a2a:0x135,_0x4a9cd8:0x3e3};function _0x1a4506(_0x46a20d,_0x4544b9,_0x277d08,_0xc6c5b3){return _0x257320(_0x46a20d-0xb2,_0x4544b9-_0x1fd69e._0x879a2a,_0x277d08- -_0x1fd69e._0x4a9cd8,_0x4544b9);}function _0x33fa83(_0x49355f,_0x385c72,_0x2591ae,_0x1d143d){return _0x257320(_0x49355f-_0x328f83._0x119039,_0x385c72-_0x328f83._0x123341,_0x2591ae- -_0x328f83._0x2527d3,_0x385c72);}return defineTool({'name':_0x33fa83(0x1d1,_0x280b4d._0x35d385,0x63,_0x280b4d._0x423760),'description':_0x1a4506(-_0x280b4d._0x3fcfd3,-0x4a,0xeb,0x1b8),'inputSchema':{'type':_0x1a4506(_0x280b4d._0x487d26,-_0x280b4d._0x4011e5,-0xf3,-0x58),'properties':{'questions':{'type':_0x33fa83(0x13e,0x278,_0x280b4d._0x30abb8,_0x280b4d._0x2632a4),'items':{'type':_0x1a4506(_0x280b4d._0x3fcfd3,0x35,-_0x280b4d._0x46d5d5,-0x262),'properties':{'question':{'type':_0x1a4506(_0x280b4d._0x209a0c,_0x280b4d._0x402db9,_0x280b4d._0xc9fe2b,_0x280b4d._0x5d7e0b)},'topic':{'type':'string'},'options':{'type':_0x33fa83(_0x280b4d._0x1bd414,0x1d3,0x275,0x2e0),'items':{'type':'object','properties':{'label':{'type':_0x1a4506(0x17,0x37,0x135,_0x280b4d._0x2c5c2b)},'description':{'type':_0x1a4506(_0x280b4d._0x5ac9e7,0x16,0x135,0x24a)}},'required':['label',_0x33fa83(0x186,_0x280b4d._0x589d58,0x105,0x6c)]}},'multiSelect':{'type':_0x1a4506(-_0x280b4d._0x762cb4,-_0x280b4d._0x4bbe44,-0x7e,-_0x280b4d._0xc1ee4b)}},'required':['question',_0x33fa83(0x2d,-_0x280b4d._0x470ab8,0xab,-0x3f),_0x33fa83(-_0x280b4d._0x22b4ed,0x2e,_0x280b4d._0x2231d8,0x6),'multiSelect']}},'answers':{'type':_0x33fa83(-0x4b,-0xce,-0x2c,-_0x280b4d._0xd08027),'properties':{}}},'required':[_0x33fa83(0x103,-0x17b,-0x1f,-0x177)]},async *'execute'(_0xdc1bcd,_0x21762e){const _0x26f1ca=_0xdc1bcd;validateInput(_0x26f1ca);const _0x9cee04=_0x21762e[_0x24c8b1(0x27d,_0x20ed4a._0x3776a1,_0x20ed4a._0x2752ca,_0x20ed4a._0x49724a)]??createQuestionId();function _0x5ee48d(_0x4ae9da,_0x1b7a87,_0x453356,_0x2134e4){return _0x33fa83(_0x4ae9da-_0x1c19b2._0x203716,_0x1b7a87,_0x453356-_0x1c19b2._0xaf77b4,_0x2134e4-0x11e);}if(_0x26f1ca[_0x5ee48d(0x5a4,_0x20ed4a._0xf36b63,0x465,_0x20ed4a._0x566c67)]&&Object[_0x24c8b1(0x23f,0x15c,-0x45,0x12a)](_0x26f1ca[_0x5ee48d(0x346,_0x20ed4a._0x14f4be,_0x20ed4a._0x551fb3,0x4b0)])[_0x5ee48d(_0x20ed4a._0x242be6,0x627,0x4cc,_0x20ed4a._0x4dbe87)]>0x0)return createResult(_0x9cee04,_0x26f1ca['questions'][_0x5ee48d(_0x20ed4a._0xeea97b,_0x20ed4a._0x547a89,0x4cc,_0x20ed4a._0x2f5e50)],_0x26f1ca[_0x24c8b1(0x35e,_0x20ed4a._0x7d8b2,0x43e,_0x20ed4a._0x1b1e60)]);if(!_0x21762e['askUser'])throw new ToolExecutionError('Context\x20does\x20not\x20support\x20user\x20questions');const _0x463491=buildQuestions(_0x26f1ca),_0x55c945=await _0x21762e['askUser']({'questionId':_0x9cee04,'questions':_0x463491});function _0x24c8b1(_0x1a8894,_0x3e8f63,_0x315412,_0x5400e1){return _0x1a4506(_0x1a8894-_0x23bbd5._0x47c198,_0x3e8f63,_0x5400e1-0x1fd,_0x5400e1-_0x23bbd5._0x4467ad);}yield createResult(_0x9cee04,_0x26f1ca[_0x24c8b1(_0x20ed4a._0x48124f,_0x20ed4a._0x98bbd6,_0x20ed4a._0x365843,_0x20ed4a._0x36b746)][_0x24c8b1(_0x20ed4a._0x55ecb8,0x1e5,0x45e,_0x20ed4a._0x29c996)],_0x55c945);}});}import{randomUUID}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0x2eef70}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException(_0x187d3d){return _0x187d3d instanceof Error;}function resolveCarriageReturns(_0x37463a){const _0x336290={_0x30bf00:0x1bf,_0x1959ee:0x1de,_0x4139b6:0xd8},_0x3f097d={_0x2c6b9b:0x4e1,_0x26ac50:0x3ff},_0x9f05df={_0x2d1cf8:0x658,_0x512209:0xb8},_0x459f67={_0x336bcb:0x146,_0x45d4cf:0x115,_0x3bf573:0x39c},_0x47ed65={_0x4a33b8:0x166};function _0x63da42(_0x8b9058,_0x21ff99,_0x4c18ae,_0x526317){return _0x257320(_0x8b9058-0x1a0,_0x21ff99-_0x47ed65._0x4a33b8,_0x8b9058- -0x4ee,_0x21ff99);}function _0x507e6a(_0x59dae5,_0x453a97,_0xdd5702,_0x2e4fcd){return _0x257320(_0x59dae5-_0x459f67._0x336bcb,_0x453a97-_0x459f67._0x45d4cf,_0x59dae5- -_0x459f67._0x3bf573,_0xdd5702);}return _0x37463a[_0x507e6a(0x1cd,_0x336290._0x30bf00,_0x336290._0x1959ee,0x129)]('\x0a')[_0x63da42(-0x1d1,-0x23d,-_0x336290._0x4139b6,-0xd2)](_0x1e0d68=>{const _0x1ac447={_0x1a84af:0x14};function _0x398b1b(_0x33bf22,_0x5c8a70,_0x5595b1,_0x497e7d){return _0x507e6a(_0x5c8a70-0x314,_0x5c8a70-0x195,_0x5595b1,_0x497e7d-_0x1ac447._0x1a84af);}if(!_0x1e0d68['includes']('\x0d'))return _0x1e0d68;const _0x41cc1c=_0x1e0d68[_0x398b1b(0x605,_0x3f097d._0x2c6b9b,_0x3f097d._0x26ac50,0x56f)]('\x0d');function _0x2a951e(_0xe1a5f0,_0xc9b61f,_0x2db5b5,_0x53ac46){return _0x63da42(_0xe1a5f0-_0x9f05df._0x2d1cf8,_0x53ac46,_0x2db5b5-_0x9f05df._0x512209,_0x53ac46-0x112);}return _0x41cc1c[_0x41cc1c[_0x398b1b(0x3b3,0x499,0x41b,0x37b)]-0x1]??'';})[_0x63da42(-0x2c,0xca,-0xb0,-0x2a)]('\x0a');}function resolveBackspaces(_0x5f0ebc){const _0xb3003c={_0x1924b0:0x651,_0x5e979f:0x539,_0x160651:0x3a4,_0x217adb:0x587},_0x3d6713={_0x2ec50f:0xe0},_0x294ddf={_0x2b0050:0x186,_0x17712b:0x1ef},_0x2310fb=[];for(const _0x572c78 of Array[_0x2c954c(_0xb3003c._0x1924b0,0x491,0x683,_0xb3003c._0x5e979f)](_0x5f0ebc)){_0x572c78==='\x08'?_0x2310fb['pop']():_0x2310fb[_0x2c954c(_0xb3003c._0x160651,0x42d,0x5a5,0x430)](_0x572c78);}function _0x5de263(_0x2c6b7d,_0x49a410,_0x26f509,_0x52dd84){return _0x257320(_0x2c6b7d-_0x294ddf._0x2b0050,_0x49a410-_0x294ddf._0x17712b,_0x2c6b7d- -0x37c,_0x26f509);}function _0x2c954c(_0x3118d1,_0x3a189f,_0x445311,_0x491cc7){return _0x3342ed(_0x3118d1-_0x3d6713._0x2ec50f,_0x3118d1,_0x491cc7-0x151,_0x491cc7-0x43);}return _0x2310fb[_0x2c954c(0x4b7,0x526,0x63d,_0xb3003c._0x217adb)]('');}function stripAnsiAndControls(_0x5d0352){const _0x41ed9b={_0x10f9c9:0x56,_0xd7f042:0x40,_0x17692b:0x1d1,_0x44aca6:0x2fc,_0x5812ca:0x34c,_0xb3101:0x10,_0x52d52a:0x132,_0x2658ec:0x2e,_0x200d4a:0x1b2,_0x4bada2:0x3d0,_0x198d35:0x3ed,_0xbd20d7:0x379,_0x23ee99:0x3d0,_0x193915:0x4e5,_0x5b87ca:0x95},_0x4563a2={_0x4e269a:0x165,_0x588bb:0x134},_0x271306={_0x3eb940:0x120,_0x259418:0x112,_0x266798:0x3bf};_0x5d0352=resolveCarriageReturns(_0x5d0352),_0x5d0352=resolveBackspaces(_0x5d0352),_0x5d0352=stripVTControlCharacters(_0x5d0352);const _0x4b7597='\x1b',_0x3795ea='\x07';_0x5d0352=_0x5d0352['replace'](new RegExp(_0x28093d(-0x8,-_0x41ed9b._0x10f9c9,0x134,_0x41ed9b._0xd7f042)+_0x3795ea+'\x5cn]*?'+_0x3795ea,'g'),''),_0x5d0352=_0x5d0352[_0x28093d(_0x41ed9b._0x17692b,_0x41ed9b._0x44aca6,0x182,0x316)](new RegExp(_0x28093d(-0x4e,0xd2,-0x178,-0x182)+_0x4b7597+'\x5c\x5c','g'),''),_0x5d0352=_0x5d0352[_0x450aab(0x4cc,0x3d0,_0x41ed9b._0x5812ca,0x4e3)](new RegExp(_0x3795ea,'g'),''),_0x5d0352=_0x5d0352['replace'](new RegExp(_0x4b7597+_0x28093d(_0x41ed9b._0xb3101,-0x53,-_0x41ed9b._0x52d52a,_0x41ed9b._0x2658ec)+_0x4b7597+'\x5c\x5c','g'),''),_0x5d0352=_0x5d0352[_0x28093d(0x1d1,0x20f,0x17b,0x27b)](new RegExp(_0x4b7597+_0x28093d(0x164,0x25a,_0x41ed9b._0x200d4a,0x16b),'g'),''),_0x5d0352=_0x5d0352[_0x450aab(0x3b7,_0x41ed9b._0x4bada2,0x283,_0x41ed9b._0x198d35)](/[\u0080-\u009F]/g,''),_0x5d0352=_0x5d0352[_0x450aab(_0x41ed9b._0xbd20d7,_0x41ed9b._0x23ee99,0x543,_0x41ed9b._0x193915)](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x5d0352=_0x5d0352[_0x28093d(0x1d1,_0x41ed9b._0x5b87ca,0x323,0x263)](/[\u23CE\u2424]/g,'');function _0x28093d(_0x5048f0,_0x58b164,_0x36740e,_0x3f2bc1){return _0x257320(_0x5048f0-_0x271306._0x3eb940,_0x58b164-_0x271306._0x259418,_0x5048f0- -_0x271306._0x266798,_0x58b164);}function _0x450aab(_0x29a8cd,_0x4e1c69,_0x3505ad,_0x47b48a){return _0x3342ed(_0x29a8cd-_0x4563a2._0x4e269a,_0x47b48a,_0x4e1c69- -_0x4563a2._0x588bb,_0x47b48a-0x193);}return _0x5d0352;}function killProcessGroup(_0x266fb8,_0x5e45c0,_0x92be1f=_0x257320(0x2c3,0x3b3,0x2f4,0x35f)){const _0x39e438={_0x136d2f:0xb7,_0x4581bc:0xec,_0x385d08:0x178,_0x28abdc:0xb6,_0x4d6ce8:0xa8,_0x3bc642:0x344,_0x5eb765:0x1db,_0x2b0467:0x30a,_0x40bed7:0x64},_0x5c02f3={_0x560608:0x332,_0x182781:0x1b1},_0xeb444f={_0x43e487:0xb,_0x2d857f:0x1a8,_0x5ad2ef:0x260};if(!_0x266fb8[_0x48c795(_0x39e438._0x136d2f,0x1ac,_0x39e438._0x4581bc,0x314)])return;function _0x23d226(_0x1fe61c,_0x27cc14,_0x1c4b13,_0x473aaf){return _0x257320(_0x1fe61c-_0xeb444f._0x43e487,_0x27cc14-_0xeb444f._0x2d857f,_0x473aaf- -_0xeb444f._0x5ad2ef,_0x1fe61c);}if(_0x5e45c0)try{_0x2eef70('taskkill',[_0x48c795(0x2,-0x3d,-0xc6,0x10e),_0x266fb8['pid']['toString'](),'/T','/F'],{'stdio':'ignore'});return;}catch{_0x266fb8[_0x23d226(_0x39e438._0x385d08,0x208,0x1af,_0x39e438._0x28abdc)](_0x92be1f);return;}function _0x48c795(_0x2b9f31,_0x59e7ee,_0x2cf18a,_0x3a0cc5){return _0x3342ed(_0x2b9f31-0xff,_0x2b9f31,_0x59e7ee- -_0x5c02f3._0x560608,_0x3a0cc5-_0x5c02f3._0x182781);}try{process[_0x48c795(-0xce,-_0x39e438._0x4d6ce8,-0xb0,0x67)](-_0x266fb8[_0x23d226(0x3bb,_0x39e438._0x3bc642,_0x39e438._0x5eb765,_0x39e438._0x2b0467)],_0x92be1f);}catch{_0x266fb8[_0x48c795(-_0x39e438._0x40bed7,-_0x39e438._0x4d6ce8,-0x87,-0x5f)](_0x92be1f);}}var BackgroundProcessRegistry=class{[_0x3342ed(0x49e,0x3c6,0x356,0x2fb)]=new Map();[_0x3342ed(0x55c,0x505,0x4ef,0x5b5)];['maxEntries'];[_0x257320(0x414,0x49a,0x559,0x550)];[_0x257320(0x483,0x3b1,0x3d2,0x480)]=0x0;constructor(_0x1b0aa9={}){const _0x3a4881={_0x34941d:0x5ca,_0x18046a:0x7f0,_0x4af98a:0x402,_0x20cb6a:0x47c,_0x8c101d:0x482,_0xdc427d:0x5b1,_0x3be368:0x7cc,_0x1a2efd:0x6ca,_0x2acde2:0x59d},_0x3d9e75={_0x25d823:0xcb,_0x2e3e4b:0x171};this[_0x33a23d(_0x3a4881._0x34941d,0x681,_0x3a4881._0x18046a,0x6e2)]=_0x1b0aa9['maxConcurrent']??0xa;function _0x26f43c(_0x253ec6,_0x15d00d,_0x222281,_0x347356){return _0x257320(_0x253ec6-0xe2,_0x15d00d-_0x3d9e75._0x25d823,_0x15d00d-_0x3d9e75._0x2e3e4b,_0x347356);}function _0x33a23d(_0x3c4fe2,_0x5af944,_0x516ea7,_0x23f938){return _0x3342ed(_0x3c4fe2-0x165,_0x516ea7,_0x5af944-0x192,_0x23f938-0x8b);}this[_0x33a23d(0x589,0x482,0x333,_0x3a4881._0x4af98a)]=_0x1b0aa9[_0x33a23d(_0x3a4881._0x20cb6a,_0x3a4881._0x8c101d,0x490,_0x3a4881._0xdc427d)]??0x40,this['capChars']=_0x1b0aa9[_0x26f43c(_0x3a4881._0x3be368,_0x3a4881._0x1a2efd,0x71b,_0x3a4881._0x2acde2)]??0x100000;}[_0x257320(0x4c6,0x62f,0x4df,0x616)](_0x3cee31){const _0x28ba1b={_0x410c51:0x1db,_0x1ecfef:0x19e,_0x5122f0:0x9a,_0x5b70c7:0x95,_0x492015:0xa,_0x8a389b:0x16a,_0x5da9a7:0x26,_0x2cfbc7:0x19,_0x264ddf:0xca,_0x3696b4:0x230,_0x347297:0x153,_0x5484a9:0x124,_0x2832a3:0x85,_0x318f78:0x2d0,_0x470a78:0x56,_0xcbcc4:0xc8,_0x464b48:0x261,_0x4fe64a:0xa7,_0x226eea:0xd0,_0x104069:0x363,_0x223a0c:0x200,_0x3b7f3d:0x188,_0x5dc6fd:0x151,_0x6ee46a:0x2f,_0x4f88d0:0xf8,_0x54812b:0x155,_0x2c86e1:0xe,_0x403061:0x251,_0x329b04:0xdc,_0xb01ce1:0x2b,_0x857abe:0x50,_0x11b61a:0x309,_0x3dc083:0x17b,_0x2bd049:0x358,_0x4e5f05:0x205,_0x346da8:0xce,_0x3dcade:0x2ac,_0x55945c:0x103,_0x4cf7bc:0xc6,_0x3617a9:0x1ca,_0x316772:0x8e,_0x3a0434:0x156,_0x187cdb:0x57,_0x277377:0x8b,_0x375ada:0x317,_0x4d9a3a:0x126,_0x1b2468:0x69,_0x1060ad:0x122},_0x44ed32={_0x49d461:0x141,_0x33e873:0x18,_0x43136c:0x8e,_0x16b329:0x71,_0x2d1908:0x125,_0x3e2bb9:0xca,_0x384d50:0xc5,_0x331abd:0x77e},_0x33a243={_0x4eea47:0x13e,_0x49e86e:0x7a,_0x559f8a:0x7a},_0x578fb8={_0x2e5454:0x156},_0x3e77f7={_0x5a3f6e:0x5ad,_0x42b4e1:0x476,_0x25e888:0x49a,_0x3cf8c5:0x61d,_0x3690f9:0x49d,_0x2f10a0:0x4d9,_0x6a96ad:0x57a,_0x3663af:0x4c0,_0x47540e:0x544,_0x3a3493:0x2ce,_0x35976d:0x2df,_0x20d7e1:0x4b9,_0x4621cd:0x43f,_0x31bd19:0x577,_0x123844:0x2ee,_0x235b20:0x6f1,_0x3596d0:0x5fb,_0xb0b91:0x427},_0x241b52={_0x2f50c8:0x82,_0xf8a883:0x19d},_0x4a43bd={_0x4425c4:0x75},_0x5f5a07={_0x26cbd2:0xa9,_0x13495b:0x61},_0x3408a8={_0x11fe81:0x1cd,_0x643454:0x17},_0x55e3c7={_0xa13167:0x244},_0x23f4af=[...this[_0x384056(_0x28ba1b._0x410c51,_0x28ba1b._0x1ecfef,0x107,0xb5)][_0x22339a(-_0x28ba1b._0x5122f0,-_0x28ba1b._0x5b70c7,_0x28ba1b._0x492015,-0x7a)]()][_0x22339a(-0x139,-_0x28ba1b._0x8a389b,-0x1c5,-0xe8)](_0x2c1cf3=>_0x2c1cf3['status']===_0x22339a(0x19c,0xe3,0x2b,0xb6))[_0x22339a(-_0x28ba1b._0x5da9a7,_0x28ba1b._0x2cfbc7,0xcf,_0x28ba1b._0x264ddf)];if(_0x23f4af>=this[_0x384056(0x2fc,0x337,0x48e,_0x28ba1b._0x3696b4)])throw new ToolExecutionError('Too\x20many\x20background\x20processes\x20running\x20('+this[_0x22339a(_0x28ba1b._0x347297,0x133,0x20d,_0x28ba1b._0x5484a9)]+').\x20Kill\x20one\x20with\x20KillShell\x20before\x20starting\x20another.',{'running':this['maxConcurrent']});const _0x4bc452='bg-'+ ++this[_0x22339a(-0x160,-0x1c1,-0x1d8,-_0x28ba1b._0x2832a3)]+'-'+randomUUID()[_0x384056(0x167,_0x28ba1b._0x318f78,0x339,0x3f4)](0x0,0x8),_0x4b633b={'shellId':_0x4bc452,'command':_0x3cee31[_0x22339a(-_0x28ba1b._0x470a78,-0x2a,0x81,-_0x28ba1b._0xcbcc4)],'cwd':_0x3cee31['cwd'],'pid':_0x3cee31[_0x384056(_0x28ba1b._0x464b48,0x205,_0x28ba1b._0x4fe64a,_0x28ba1b._0x226eea)][_0x384056(0x2dd,0x326,0x244,_0x28ba1b._0x104069)],'status':_0x384056(0x3c7,0x2c9,0x31f,0x373),'exitCode':null,'signal':null,'startedAt':Date[_0x22339a(-0x235,-0x220,-_0x28ba1b._0x223a0c,-_0x28ba1b._0x3b7f3d)](),'child':_0x3cee31[_0x384056(0x361,0x205,_0x28ba1b._0x5dc6fd,0x31e)],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder('utf8'),'stderrDecoder':new StringDecoder(_0x22339a(_0x28ba1b._0x6ee46a,0x13d,-0x6a,0xed)),'stripAnsi':_0x3cee31[_0x384056(0x2f0,0x256,_0x28ba1b._0x4f88d0,0x1bd)],'killRequested':![],'processExited':![]};_0x3cee31[_0x22339a(-0x107,-0x9f,-_0x28ba1b._0x54812b,-_0x28ba1b._0x2c86e1)][_0x384056(_0x28ba1b._0x403061,_0x28ba1b._0x329b04,-_0x28ba1b._0xb01ce1,-_0x28ba1b._0x857abe)]?.['on'](_0x22339a(0xa6,0x144,0x92,0x73),_0x2ce2ff=>this[_0x22339a(0x135,-0xb8,-0x160,-0x2d)](_0x4b633b,_0x4b633b[_0x22339a(0x35,-0xf,0x163,0x111)][_0x22339a(0x108,0x113,0x1cb,0x9f)](_0x2ce2ff)));function _0x22339a(_0x4fe28b,_0x24422c,_0x3de2a1,_0x28b6e4){return _0x257320(_0x4fe28b-0x184,_0x24422c-0x145,_0x28b6e4- -0x457,_0x3de2a1);}_0x3cee31['child'][_0x384056(0x272,0x20a,0x1c0,_0x28ba1b._0x11b61a)]?.['on'](_0x22339a(-0x26,_0x28ba1b._0x3dc083,0xe5,0x73),_0x52210c=>this[_0x22339a(-0x30,0x137,0x2a,-0x2d)](_0x4b633b,_0x4b633b[_0x22339a(0xa0,-0x6f,-0xcd,0x7f)]['write'](_0x52210c)));function _0x384056(_0x5c5577,_0x52f7b0,_0x1741d4,_0x1a5b78){return _0x257320(_0x5c5577-0x64,_0x52f7b0-0x1b2,_0x52f7b0- -_0x55e3c7._0xa13167,_0x5c5577);}return _0x3cee31[_0x384056(_0x28ba1b._0x2bd049,_0x28ba1b._0x4e5f05,_0x28ba1b._0x346da8,_0x28ba1b._0x3dcade)][_0x22339a(-0x111,-0x1c0,-0x1f3,-0x8b)](_0x22339a(_0x28ba1b._0x55945c,_0x28ba1b._0x4cf7bc,0x14e,_0x28ba1b._0x492015),()=>{function _0x2403e5(_0xd1f092,_0x5f1f8c,_0x2d5cf8,_0x46c33d){return _0x22339a(_0xd1f092-0x6,_0x5f1f8c-_0x3408a8._0x11fe81,_0xd1f092,_0x2d5cf8- -_0x3408a8._0x643454);}_0x4b633b[_0x2403e5(-0x179,-0x208,-_0x5f5a07._0x26cbd2,-_0x5f5a07._0x13495b)]=!![];}),_0x3cee31[_0x384056(0x2bc,0x205,_0x28ba1b._0x3617a9,_0x28ba1b._0x316772)][_0x22339a(-_0x28ba1b._0x3a0434,-0x136,-_0x28ba1b._0x187cdb,-_0x28ba1b._0x277377)]('close',(_0x3e3fd3,_0x3951c9)=>{this[_0x38bef8(0x4a3,_0x3e77f7._0x5a3f6e,_0x3e77f7._0x42b4e1,_0x3e77f7._0x25e888)](_0x4b633b,_0x4b633b[_0x38bef8(0x556,_0x3e77f7._0x3cf8c5,0x6b5,0x5d8)][_0x1bc140(_0x3e77f7._0x3690f9,_0x3e77f7._0x2f10a0,_0x3e77f7._0x6a96ad,0x555)]()),this['append'](_0x4b633b,_0x4b633b['stderrDecoder'][_0x38bef8(_0x3e77f7._0x3663af,_0x3e77f7._0x47540e,0x3ee,0x49d)]()),_0x4b633b[_0x38bef8(_0x3e77f7._0x3a3493,0x2fc,_0x3e77f7._0x35976d,0x400)]=_0x4b633b[_0x1bc140(_0x3e77f7._0x20d7e1,0x524,_0x3e77f7._0x4621cd,_0x3e77f7._0x31bd19)]?_0x38bef8(0x3e6,_0x3e77f7._0x123844,0x5c3,0x460):_0x38bef8(_0x3e77f7._0x235b20,0x692,0x762,_0x3e77f7._0x3596d0);function _0x1bc140(_0x317ec4,_0x491978,_0x53bf71,_0x26d3a6){return _0x22339a(_0x317ec4-_0x4a43bd._0x4425c4,_0x491978-0x21,_0x26d3a6,_0x491978-0x503);}_0x4b633b[_0x38bef8(0x40c,0x4cb,0x425,0x4e6)]=_0x3e3fd3,_0x4b633b[_0x1bc140(0x5bf,0x4e3,0x3b2,_0x3e77f7._0xb0b91)]=_0x3951c9;function _0x38bef8(_0x57380a,_0xe0a377,_0x28828c,_0x5287ee){return _0x22339a(_0x57380a-_0x241b52._0x2f50c8,_0xe0a377-_0x241b52._0xf8a883,_0xe0a377,_0x5287ee-0x4c7);}_0x4b633b['child']=null;}),_0x3cee31[_0x384056(0x16c,_0x28ba1b._0x4e5f05,_0x28ba1b._0x375ada,_0x28ba1b._0x4d9a3a)]['once']('error',_0x31a409=>{function _0x2318e6(_0x133359,_0x5c26a1,_0x589a3a,_0x543c20){return _0x384056(_0x543c20,_0x5c26a1-0x4a1,_0x589a3a-0x1f0,_0x543c20-_0x578fb8._0x2e5454);}_0x4b633b[_0x33b5ca(-0x3b,-_0x44ed32._0x49d461,_0x44ed32._0x33e873,0x1b)]=_0x33b5ca(_0x44ed32._0x43136c,-_0x44ed32._0x16b329,-_0x44ed32._0x2d1908,-0x3c);function _0x33b5ca(_0x3528eb,_0x1d1cef,_0x513836,_0x5ac173){return _0x22339a(_0x3528eb-_0x33a243._0x4eea47,_0x1d1cef-_0x33a243._0x49e86e,_0x5ac173,_0x1d1cef- -_0x33a243._0x559f8a);}_0x4b633b['error']=_0x31a409[_0x33b5ca(-0x9a,0x94,-_0x44ed32._0x3e2bb9,-_0x44ed32._0x384d50)],_0x4b633b[_0x2318e6(0x639,0x6a6,0x667,_0x44ed32._0x331abd)]=null;}),this[_0x384056(0x152,0x19e,0x2c,0x196)][_0x384056(-_0x28ba1b._0x4f88d0,_0x28ba1b._0x1b2468,0xc3,_0x28ba1b._0x1060ad)](_0x4bc452,_0x4b633b),this['evictIfNeeded'](),_0x4b633b;}[_0x257320(0x329,0x3cc,0x46a,0x507)](_0x56fce2,_0x4817bb){const _0x454725={_0x23daca:0x59c,_0x170407:0x4f4,_0xf587de:0x51a,_0x2bb798:0x609,_0x5033a6:0x4d4,_0x4d8941:0x600,_0x1099a9:0x6d3,_0x497472:0x461,_0x535b62:0x3dd,_0x5c520b:0x6a4,_0x170201:0x7af,_0x12ec2f:0xfc,_0x1134d0:0x11e,_0x263168:0x7ea,_0x3eb6c2:0x5f4,_0x5d6e25:0x590,_0x37e5bc:0x467,_0x175e23:0x5b5,_0x4a1247:0x838,_0x3f2e43:0x92,_0x40e8a5:0x871,_0x51396f:0x77b,_0x22f285:0x5f7,_0x47c53c:0x62e,_0x47f77e:0x605,_0x86bc46:0x69b,_0x255962:0x155,_0x392be9:0x3e,_0x568f99:0xcb,_0x3636e7:0x1e4,_0x554edd:0x66e,_0x183e49:0x647,_0x4ecce5:0x71b,_0x4b5911:0x512,_0x5aae90:0x5d8},_0x509dfc={_0x1d0031:0x110},_0x5bef88={_0xb5f90d:0xc3,_0x21e43:0x200},_0x408160=this[_0x2ddc8b(0x578,_0x454725._0x23daca,0x5e2,_0x454725._0x170407)][_0x2ddc8b(_0x454725._0xf587de,0x6f6,_0x454725._0x2bb798,_0x454725._0x5033a6)](_0x56fce2);if(!_0x408160)throw new ToolExecutionError(_0x2ddc8b(0x719,_0x454725._0x4d8941,_0x454725._0x1099a9,0x824)+_0x56fce2,{'shellId':_0x56fce2});function _0x2ddc8b(_0x53f06e,_0x498a8e,_0x2255d1,_0x329bae){return _0x257320(_0x53f06e-0x74,_0x498a8e-_0x5bef88._0xb5f90d,_0x2255d1-_0x5bef88._0x21e43,_0x498a8e);}const _0xd96731=_0x408160[_0x2ddc8b(_0x454725._0x497472,_0x454725._0x535b62,0x4b4,0x43c)][_0x2ddc8b(_0x454725._0x5c520b,_0x454725._0x170201,0x6c2,0x73b)](''),_0x175a91=Math[_0x1c05d1(-0x259,-0x146,-0x197,-0x77)](_0x408160['readCursor'],_0x408160[_0x1c05d1(0x2a3,0x12c,0x72,0xe9)]),_0x4e35b6=Math['max'](0x0,_0x408160['totalDropped']-_0x408160[_0x1c05d1(_0x454725._0x12ec2f,0x155,_0x454725._0x1134d0,0x90)]);function _0x1c05d1(_0x2d4bff,_0x155e76,_0x2fa0d4,_0xfc45e1){return _0x3342ed(_0x2d4bff-_0x509dfc._0x1d0031,_0xfc45e1,_0x155e76- -0x39e,_0xfc45e1-0x11c);}const _0x4c9ff3=_0xd96731[_0x2ddc8b(0x5b6,0x7c4,0x714,_0x454725._0x263168)](_0x175a91-_0x408160['totalDropped']),_0x4d9626=_0x408160[_0x2ddc8b(_0x454725._0x3eb6c2,0x679,_0x454725._0x5d6e25,_0x454725._0x37e5bc)]!==_0x2ddc8b(0x6f1,_0x454725._0x175e23,0x70d,_0x454725._0x4a1247);let _0x326d91;const _0x2295a9=_0x4817bb?.['regex'];if(!_0x2295a9)_0x326d91=_0x4c9ff3,_0x408160[_0x2ddc8b(0x6d8,0x764,0x77f,0x733)]=_0x408160[_0x1c05d1(-0xa0,_0x454725._0x3f2e43,0x1d6,-0x86)];else{let _0xccf3f3;try{_0xccf3f3=new RegExp(_0x2295a9);}catch(_0x1e5c10){throw new ToolExecutionError('Invalid\x20regex:\x20'+_0x1e5c10[_0x2ddc8b(_0x454725._0x40e8a5,0x7bf,0x765,_0x454725._0x51396f)],{'shellId':_0x56fce2,'regex':_0x2295a9});}let _0xc31e1c=_0x4c9ff3;if(!_0x4d9626){const _0xa6010d=_0x4c9ff3[_0x2ddc8b(0x34b,0x42b,0x4ba,0x50f)]('\x0a');_0xc31e1c=_0xa6010d>=0x0?_0x4c9ff3['slice'](0x0,_0xa6010d+0x1):'';}_0x326d91=_0xc31e1c[_0x2ddc8b(_0x454725._0x22f285,0x6ec,0x769,0x72f)]('\x0a')[_0x2ddc8b(_0x454725._0x47c53c,_0x454725._0x47f77e,0x56f,_0x454725._0x86bc46)](_0x114081=>_0xccf3f3[_0x2ddc8b(0x522,0x70e,0x680,0x571)](_0x114081))['join']('\x0a'),_0x408160[_0x1c05d1(0x1a4,_0x454725._0x255962,0x5,0x23b)]=_0x175a91+_0xc31e1c['length'];}const _0x5b62b6=(_0x4e35b6>0x0?_0x1c05d1(_0x454725._0x392be9,-0x71,_0x454725._0x568f99,-_0x454725._0x3636e7)+_0x4e35b6+_0x2ddc8b(0x4e3,_0x454725._0x554edd,_0x454725._0x183e49,_0x454725._0x4ecce5):'')+_0x326d91;return{'output':_0x5b62b6,'status':_0x408160[_0x2ddc8b(0x44f,_0x454725._0x4b5911,0x590,_0x454725._0x5aae90)],'exitCode':_0x408160['exitCode'],'signal':_0x408160['signal'],'truncated':_0x4e35b6>0x0};}['list'](){const _0x4bdd97={_0x14726d:0x4c7,_0x571888:0x597,_0x4a4830:0x63b},_0x5ca897={_0x325a67:0x171,_0x111015:0x1c4},_0x39ec1d={_0x4d765a:0x5e,_0xa059a6:0x1ae,_0x2f1123:0x25e};function _0x4a3ca1(_0x21279e,_0x1bd6c8,_0x5a1971,_0x44881e){return _0x257320(_0x21279e-_0x39ec1d._0x4d765a,_0x1bd6c8-_0x39ec1d._0xa059a6,_0x44881e-_0x39ec1d._0x2f1123,_0x5a1971);}function _0x142be5(_0x1f8af9,_0xd75cd1,_0x280cae,_0x2de6b7){return _0x3342ed(_0x1f8af9-0x88,_0x1f8af9,_0x2de6b7-_0x5ca897._0x325a67,_0x2de6b7-_0x5ca897._0x111015);}return[...this[_0x142be5(0x49f,0x595,0x62b,_0x4bdd97._0x14726d)][_0x4a3ca1(0x724,_0x4bdd97._0x571888,0x76e,_0x4bdd97._0x4a4830)]()];}[_0x257320(0x22c,0x2cb,0x316,0x280)](_0x1329ab){const _0x29ab5d={_0x138924:0x3ea,_0xf988af:0x594,_0x356ff5:0x2cb,_0x3f2cac:0x2b4,_0x87e70:0x226,_0x144ab0:0x394,_0x1dc33b:0x38f,_0x5e7402:0x4d4,_0x5a36f1:0x351,_0x1eb84e:0x450,_0x40795f:0x259,_0x21321d:0x274,_0x53b029:0x2f4,_0x1a5f13:0x22a,_0x2d7db4:0x250,_0x119eb1:0x2bd,_0x265c9d:0x401,_0x28e772:0x2fd,_0x3f53b8:0x41d,_0xb8e07b:0x4e5,_0x116692:0x41b,_0x64073b:0x257,_0x3b64e3:0x25e,_0x537c41:0x59d,_0x35d33d:0x478,_0x5e2021:0x470,_0x3b572e:0x4c2},_0x16d291={_0x3b1bda:0x17b,_0x334bdc:0x13b},_0xeae19={_0x59bef4:0x193,_0x5ed543:0x1de};function _0x36072c(_0x411eef,_0x3c02ce,_0x248f05,_0x4c66cb){return _0x3342ed(_0x411eef-0x1c7,_0x4c66cb,_0x3c02ce- -_0xeae19._0x59bef4,_0x4c66cb-_0xeae19._0x5ed543);}function _0x5aba6d(_0x983dc4,_0x3f0f05,_0x21a806,_0x311f4b){return _0x257320(_0x983dc4-_0x16d291._0x3b1bda,_0x3f0f05-_0x16d291._0x334bdc,_0x311f4b-0x8b,_0x983dc4);}const _0x3f729a=this[_0x5aba6d(0x335,_0x29ab5d._0x138924,_0x29ab5d._0xf988af,0x46d)]['get'](_0x1329ab);if(!_0x3f729a)throw new ToolExecutionError(_0x36072c(_0x29ab5d._0x356ff5,_0x29ab5d._0x3f2cac,0x30c,_0x29ab5d._0x87e70)+_0x1329ab,{'shellId':_0x1329ab});if(_0x3f729a['status']==='running'&&_0x3f729a[_0x5aba6d(_0x29ab5d._0x144ab0,_0x29ab5d._0x1dc33b,0x388,_0x29ab5d._0x5e7402)]&&!_0x3f729a[_0x5aba6d(0x53e,_0x29ab5d._0x5a36f1,0x5a9,_0x29ab5d._0x1eb84e)]){_0x3f729a[_0x36072c(0xec,_0x29ab5d._0x40795f,0x3c8,_0x29ab5d._0x21321d)]=!![];try{killProcessGroup(_0x3f729a[_0x36072c(_0x29ab5d._0x53b029,_0x29ab5d._0x1a5f13,0x1f0,_0x29ab5d._0x2d7db4)],process[_0x5aba6d(_0x29ab5d._0x119eb1,_0x29ab5d._0x265c9d,_0x29ab5d._0x28e772,_0x29ab5d._0x3f53b8)]==='win32');}catch{}}return{'status':_0x3f729a[_0x5aba6d(_0x29ab5d._0xb8e07b,0x2f4,0x57b,_0x29ab5d._0x116692)],'exitCode':_0x3f729a[_0x36072c(0x368,_0x29ab5d._0x64073b,0x17f,_0x29ab5d._0x3b64e3)],'signal':_0x3f729a[_0x5aba6d(_0x29ab5d._0x537c41,_0x29ab5d._0x35d33d,_0x29ab5d._0x5e2021,_0x29ab5d._0x3b572e)]};}async['closeAll'](){const _0x4c40dc={_0xa9c38f:0x53e,_0x697359:0x62,_0x3a16c6:0x228,_0x17480f:0x79b,_0x452c3c:0x622,_0x4bff49:0x6a9,_0x2e3fbd:0x1f2,_0x819369:0x1fd,_0xd340e6:0x113,_0x252c6d:0x70a,_0x190ebd:0x5d2,_0x1453ac:0x675,_0x52b995:0x624,_0x4f1711:0x730},_0x47bf64={_0x4dd481:0xdb,_0x32408d:0x14e},_0x16bbcf={_0x3fc0d0:0x1ba,_0x35e774:0x138};function _0x51b109(_0x13dbb8,_0xd966af,_0x3b94fe,_0x4fc8da){return _0x257320(_0x13dbb8-_0x16bbcf._0x3fc0d0,_0xd966af-_0x16bbcf._0x35e774,_0x3b94fe-0x292,_0x4fc8da);}function _0x95072e(_0x522579,_0x46a7da,_0x29f547,_0x216847){return _0x3342ed(_0x522579-_0x47bf64._0x4dd481,_0x522579,_0x46a7da- -0x28f,_0x216847-_0x47bf64._0x32408d);}for(const _0x2056e9 of this[_0x51b109(0x64a,0x730,0x674,_0x4c40dc._0xa9c38f)][_0x95072e(_0x4c40dc._0x697359,0xc2,_0x4c40dc._0x3a16c6,-0x73)]()){if(_0x2056e9[_0x51b109(_0x4c40dc._0x17480f,0x5ec,_0x4c40dc._0x452c3c,_0x4c40dc._0x4bff49)]===_0x95072e(0x347,_0x4c40dc._0x2e3fbd,_0x4c40dc._0x819369,_0x4c40dc._0xd340e6)&&_0x2056e9[_0x95072e(0x20c,0x12e,0x143,0x11a)]&&!_0x2056e9['processExited']){_0x2056e9[_0x51b109(0x5a0,0x824,_0x4c40dc._0x252c6d,_0x4c40dc._0x190ebd)]=!![];try{killProcessGroup(_0x2056e9['child'],process[_0x51b109(0x754,_0x4c40dc._0x1453ac,_0x4c40dc._0x52b995,0x581)]===_0x51b109(0x51b,_0x4c40dc._0x4f1711,0x5d4,0x57a));}catch{}}}}[_0x3342ed(0x2e4,0x3bc,0x39e,0x40a)](_0x185919,_0x243f22){const _0x5d90e1={_0x3e2d96:0x71b,_0x405e29:0x770,_0x4baaf6:0x7ca,_0x2a545d:0x72b,_0xdfa246:0x47,_0x21f2f2:0x177,_0x3d290d:0x3,_0x3ad70a:0x55,_0x2f98d8:0x77c,_0x55c765:0x851,_0x4279ab:0x2d8,_0x1cfe9d:0x1b9,_0x582cbd:0x154,_0x1f8ed8:0x63b,_0x8e1954:0x75f,_0x555e75:0x716,_0x47539e:0x81b,_0x4e62f0:0x758,_0x30cc0b:0x212,_0x523048:0x1f1,_0x42c0aa:0x535,_0x4ed7a6:0x6a6,_0x3fe85b:0x478,_0x3f517a:0x826,_0x54ca98:0x5df,_0x16111c:0x1d7,_0xed7d33:0x35,_0x53913d:0x115,_0x409267:0x16a,_0x53196b:0x193,_0x4633c:0x204,_0x3c31b1:0x7a2,_0x30628d:0x90a,_0x5a22c7:0x7ce,_0x3a83ef:0x1d4,_0x1e6ffa:0x535,_0x2280ed:0x67d,_0x9ae1a8:0x4bc,_0x2d5f59:0x61e,_0x361243:0x65c,_0x302e39:0x61d,_0x23c09c:0x8a1,_0x3b8bf:0x1de},_0x586d87={_0x5d0ba6:0x46,_0x1dae79:0x368},_0x7c565c={_0x20b9c6:0x281},_0x4df86d=_0x185919[_0x3dab75(_0x5d90e1._0x3e2d96,_0x5d90e1._0x405e29,0x857,0x5ea)]?stripAnsiAndControls(_0x243f22):_0x243f22;if(_0x4df86d[_0x3dab75(0x7a2,0x83e,_0x5d90e1._0x4baaf6,_0x5d90e1._0x2a545d)]===0x0)return;_0x185919[_0x3183d8(-0x1ac,-_0x5d90e1._0xdfa246,-0xb4,-_0x5d90e1._0x21f2f2)][_0x3183d8(0xf9,0x5a,_0x5d90e1._0x3d290d,-_0x5d90e1._0x3ad70a)](_0x4df86d),_0x185919[_0x3dab75(_0x5d90e1._0x2f98d8,0x656,_0x5d90e1._0x55c765,0x6e0)]+=_0x4df86d[_0x3183d8(0x8e,_0x5d90e1._0x4279ab,_0x5d90e1._0x1cfe9d,0x1ed)];function _0x3dab75(_0x2d91b1,_0x4d1d6a,_0x126f05,_0x155a6f){return _0x257320(_0x2d91b1-0x8a,_0x4d1d6a-0x115,_0x2d91b1-_0x7c565c._0x20b9c6,_0x126f05);}function _0x3183d8(_0x57de23,_0x12a0e9,_0x456fcb,_0x39f9b4){return _0x257320(_0x57de23-_0x586d87._0x5d0ba6,_0x12a0e9-0xa4,_0x456fcb- -_0x586d87._0x1dae79,_0x57de23);}_0x185919[_0x3183d8(0x1d6,0x29d,_0x5d90e1._0x582cbd,0x51)]+=_0x4df86d['length'];while(_0x185919[_0x3dab75(0x77c,0x65d,_0x5d90e1._0x1f8ed8,_0x5d90e1._0x8e1954)]>this['capChars']){const _0x24fd2a=_0x185919[_0x3dab75(0x77c,_0x5d90e1._0x555e75,_0x5d90e1._0x47539e,_0x5d90e1._0x4e62f0)]-this[_0x3183d8(0x314,_0x5d90e1._0x30cc0b,_0x5d90e1._0x523048,0x1ed)],_0x40faa7=_0x185919[_0x3dab75(_0x5d90e1._0x42c0aa,0x691,_0x5d90e1._0x4ed7a6,_0x5d90e1._0x3fe85b)][0x0];_0x40faa7[_0x3dab75(0x7a2,0x8a7,0x8f8,_0x5d90e1._0x3f517a)]<=_0x24fd2a?(_0x185919[_0x3dab75(0x535,_0x5d90e1._0x54ca98,0x533,0x472)][_0x3183d8(_0x5d90e1._0x16111c,-_0x5d90e1._0xed7d33,_0x5d90e1._0x53913d,_0x5d90e1._0x409267)](),_0x185919[_0x3183d8(0x2d5,0x1b,_0x5d90e1._0x53196b,_0x5d90e1._0x4633c)]-=_0x40faa7[_0x3dab75(_0x5d90e1._0x3c31b1,_0x5d90e1._0x30628d,0x789,_0x5d90e1._0x5a22c7)],_0x185919[_0x3183d8(_0x5d90e1._0x3a83ef,0x1c5,0x1ee,0x26e)]+=_0x40faa7['length']):(_0x185919[_0x3dab75(_0x5d90e1._0x1e6ffa,_0x5d90e1._0x2280ed,_0x5d90e1._0x9ae1a8,_0x5d90e1._0x2d5f59)][0x0]=_0x40faa7[_0x3dab75(0x795,0x804,_0x5d90e1._0x361243,_0x5d90e1._0x302e39)](_0x24fd2a),_0x185919[_0x3dab75(_0x5d90e1._0x2f98d8,0x62b,_0x5d90e1._0x23c09c,0x8df)]-=_0x24fd2a,_0x185919[_0x3183d8(0x290,0x257,0x1ee,_0x5d90e1._0x3b8bf)]+=_0x24fd2a);}}[_0x257320(0x281,0x41e,0x2e3,0x351)](){const _0x3c653c={_0x1cb84d:0xea,_0x4a3045:0x184,_0x3504e5:0x140,_0x3acb7e:0x5ae,_0x473e81:0x6a1,_0x3bb105:0x73f,_0x3a0b82:0x614,_0x11662c:0x74e,_0xeb7f4e:0x784,_0x522213:0x6a9,_0x1cf1fc:0x734,_0x190ae4:0x6c4},_0x399299={_0x3d1669:0xd4,_0x12639b:0x333,_0x4b4ec5:0x1d4},_0x43a0c5={_0xe39719:0x2be,_0x51cdc8:0x4f};function _0x32e0b5(_0x5b2561,_0x194d26,_0x121049,_0x3636ba){return _0x3342ed(_0x5b2561-0x59,_0x121049,_0x5b2561-_0x43a0c5._0xe39719,_0x3636ba-_0x43a0c5._0x51cdc8);}if(this[_0x25f5a0(-0x125,-_0x3c653c._0x1cb84d,0x197,0x23)][_0x25f5a0(0x22e,0x133,_0x3c653c._0x4a3045,_0x3c653c._0x3504e5)]<=this[_0x32e0b5(_0x3c653c._0x3acb7e,0x650,0x4b2,_0x3c653c._0x473e81)])return;function _0x25f5a0(_0x2ce607,_0x1d7182,_0x3df929,_0x1ca2b8){return _0x3342ed(_0x2ce607-_0x399299._0x3d1669,_0x3df929,_0x1ca2b8- -_0x399299._0x12639b,_0x1ca2b8-_0x399299._0x4b4ec5);}for(const [_0x17a5f5,_0x242b46]of this['entries']){if(_0x242b46['status']!==_0x32e0b5(_0x3c653c._0x3bb105,0x68a,0x88a,0x81e)){this[_0x32e0b5(_0x3c653c._0x3a0b82,_0x3c653c._0x11662c,0x766,_0x3c653c._0xeb7f4e)][_0x32e0b5(_0x3c653c._0x522213,_0x3c653c._0x1cf1fc,0x678,_0x3c653c._0x190ae4)](_0x17a5f5);return;}}}};function createBashOutputTool(_0x213ea3){const _0x1a4436={_0x174df8:0x1dc,_0x1c680b:0x29c,_0x3976b8:0x2bd,_0x13860b:0x505,_0x549d89:0x624,_0x386ea9:0x624,_0xbe3799:0x722,_0x381d7f:0x3},_0x1b63c8={_0x2a68b1:0x54e,_0x4d4f84:0x6a5,_0x2e4522:0x258,_0x527999:0x2cc,_0x529f6a:0x273,_0x547b20:0x279,_0x2b96e9:0x2d9,_0xf9e55:0x1fe,_0x55cf89:0x122,_0x25b030:0x91,_0x45fb2a:0x1,_0x3a8c98:0x5,_0x463679:0x766,_0x118f27:0x792,_0x13f284:0x810,_0x4130f4:0x157,_0x5a0489:0x192,_0x922332:0x2b0,_0x3d2259:0x19,_0x15f906:0x166},_0x288545={_0x482825:0x1e1,_0x2aac52:0x12f,_0x543184:0x19},_0x1cf849={_0x15ba17:0x14a},_0x2f03ac={_0x55eb83:0x10c};function _0x2ffd88(_0x1b0e27,_0x1d956b,_0x4b23a8,_0x25b2d5){return _0x257320(_0x1b0e27-0x4b,_0x1d956b-0xe8,_0x4b23a8-_0x2f03ac._0x55eb83,_0x1d956b);}function _0xe0dcfd(_0x1fe283,_0x1b6388,_0x401082,_0x1caaf2){return _0x257320(_0x1fe283-0x174,_0x1b6388-0xca,_0x1caaf2- -0x4c2,_0x1fe283);}const {registry:_0x47651f}=_0x213ea3;return defineTool({'name':_0xe0dcfd(-_0x1a4436._0x174df8,-_0x1a4436._0x1c680b,-_0x1a4436._0x3976b8,-_0x1a4436._0x174df8),'description':'Read\x20new\x20output\x20from\x20a\x20background\x20process\x20started\x20with\x20Bash(runInBackground:true).\x20Returns\x20output\x20produced\x20since\x20the\x20last\x20read;\x20optionally\x20filter\x20lines\x20by\x20a\x20regex.','inputSchema':{'type':'object','properties':{'shellId':{'type':_0x2ffd88(0x4c2,_0x1a4436._0x13860b,_0x1a4436._0x549d89,0x5a3)},'regex':{'type':_0x2ffd88(0x518,0x599,_0x1a4436._0x386ea9,_0x1a4436._0xbe3799)}},'required':[_0xe0dcfd(0x81,0x9b,_0x1a4436._0x381d7f,0x95)]},async *'execute'(_0x48b699){const _0x3475a5=_0x47651f[_0x4ca90d(_0x1b63c8._0x2a68b1,_0x1b63c8._0x4d4f84,0x5b3,0x714)](_0x48b699[_0x57e926(_0x1b63c8._0x2e4522,_0x1b63c8._0x527999,_0x1b63c8._0x529f6a,_0x1b63c8._0x547b20)],_0x48b699[_0x57e926(0x108,_0x1b63c8._0x2b96e9,_0x1b63c8._0xf9e55,0x1c2)]?{'regex':_0x48b699['regex']}:void 0x0);function _0x57e926(_0x249212,_0x497e6b,_0xfb12eb,_0x98ef97){return _0xe0dcfd(_0x98ef97,_0x497e6b-0x3,_0xfb12eb-_0x1cf849._0x15ba17,_0xfb12eb-0x1de);}function _0x4ca90d(_0x57844f,_0x115026,_0x480b5b,_0x584688){return _0x2ffd88(_0x57844f-_0x288545._0x482825,_0x584688,_0x115026-_0x288545._0x2aac52,_0x584688-_0x288545._0x543184);}return createToolOutput(_0x3475a5[_0x57e926(_0x1b63c8._0x55cf89,_0x1b63c8._0x25b030,_0x1b63c8._0x45fb2a,-_0x1b63c8._0x3a8c98)],{'shellId':_0x48b699[_0x4ca90d(_0x1b63c8._0x463679,_0x1b63c8._0x118f27,0x8cc,_0x1b63c8._0x13f284)],'status':_0x3475a5[_0x4ca90d(0x4c9,0x5cb,0x59b,0x543)],'exitCode':_0x3475a5[_0x57e926(_0x1b63c8._0x4130f4,0xb1,_0x1b63c8._0x5a0489,_0x1b63c8._0x922332)],'signal':_0x3475a5[_0x57e926(-_0x1b63c8._0x3d2259,0x2a6,0x153,_0x1b63c8._0x15f906)],'truncated':_0x3475a5[_0x57e926(0x32,0x22c,0xc0,0x12a)]});}});}import{spawn as _0x3f73df}from'child_process';import{statSync}from'fs';import*as _0x1fe5ec from'os';import*as _0x49093b from'path';import{StringDecoder as _0x1628c2}from'string_decoder';import{stat}from'fs/promises';import*as _0x1f1bb2 from'path';function isPathInside(_0x3677a9,_0x35a4b7){const _0x3a0d0e={_0x1cb8a6:0x201,_0x1fe8aa:0xc1,_0x579b25:0x95,_0x18f340:0xb2},_0x1078a5={_0x3d2768:0x88,_0x52e08f:0x15c},_0x388b18={_0x1cdebf:0xf6,_0x5a32d8:0xea,_0x544dc1:0x24b};function _0x7405ac(_0x147799,_0x3ca87a,_0x4f9fce,_0x38ae67){return _0x257320(_0x147799-_0x388b18._0x1cdebf,_0x3ca87a-_0x388b18._0x5a32d8,_0x4f9fce- -_0x388b18._0x544dc1,_0x38ae67);}const _0x23d071=_0x1f1bb2[_0x888b5c(0x2f7,0xfb,_0x3a0d0e._0x1cb8a6,0x2e2)](_0x3677a9),_0x22d6dd=_0x1f1bb2[_0x7405ac(-0x12,_0x3a0d0e._0x1fe8aa,_0x3a0d0e._0x579b25,_0x3a0d0e._0x18f340)](_0x23d071,_0x35a4b7);function _0x888b5c(_0x216c7e,_0xd5e1d3,_0x273ac3,_0xb7ce65){return _0x257320(_0x216c7e-_0x1078a5._0x3d2768,_0xd5e1d3-0x118,_0x273ac3- -_0x1078a5._0x52e08f,_0xd5e1d3);}return _0x22d6dd===''||!_0x22d6dd['startsWith']('..')&&!_0x1f1bb2['isAbsolute'](_0x22d6dd);}function resolveWorkspacePath(_0x1963ed,_0x1ae901){return resolveAllowedPath(_0x1963ed,[],_0x1ae901);}function resolveAllowedPath(_0x474ba2,_0x502c4b,_0x237eac){const _0x5bebea={_0x44fd04:0x2a3,_0x558df6:0x2a9,_0x5e430a:0x154,_0x157f4b:0x495},_0x458b25={_0xf7ef23:0xe5},_0x7409ff={_0x1aa614:0xc8,_0x2d2eed:0x2e,_0x34c58d:0x17};function _0x502c3c(_0x4ec566,_0x37d0ab,_0x27ec40,_0xdadc2f){return _0x3342ed(_0x4ec566-_0x7409ff._0x1aa614,_0x27ec40,_0x4ec566- -_0x7409ff._0x2d2eed,_0xdadc2f-_0x7409ff._0x34c58d);}const _0x220b1b=_0x1f1bb2['resolve'](_0x474ba2);function _0x51ee5a(_0x4e72d1,_0x259055,_0x339573,_0x4e82e7){return _0x257320(_0x4e72d1-0x97,_0x259055-0x104,_0x259055-_0x458b25._0xf7ef23,_0x4e82e7);}const _0x3dec44=_0x1f1bb2[_0x502c3c(_0x5bebea._0x44fd04,_0x5bebea._0x558df6,0x3b2,_0x5bebea._0x5e430a)](_0x220b1b,_0x237eac),_0x2b5b0e=[_0x220b1b,..._0x502c4b['map'](_0x5cb87a=>_0x1f1bb2[_0x51ee5a(0x36a,0x442,0x5ab,0x4cb)](_0x5cb87a))];if(_0x2b5b0e[_0x51ee5a(0x32d,0x498,0x55b,_0x5bebea._0x157f4b)](_0x2fa673=>isPathInside(_0x2fa673,_0x3dec44)))return _0x3dec44;throw new ToolExecutionError(_0x502c3c(0x395,0x336,0x3e8,0x2cb)+_0x237eac,{'path':_0x237eac,'rootDir':_0x220b1b,'allowedDirs':_0x2b5b0e});}async function assertWorkspaceFile(_0x59ac9d){const _0x5be558={_0x19e30e:0x3fd,_0x132212:0x695,_0xe11e91:0x558},_0xb6ee55={_0x4a558b:0x5,_0x3343e5:0x8f},_0xf7f370={_0x2292a7:0x3d},_0x3d4502=await stat(_0x59ac9d);function _0x147ca9(_0x1c3347,_0x541775,_0x398c61,_0x106d0c){return _0x257320(_0x1c3347-0x40,_0x541775-0x1cb,_0x541775- -_0xf7f370._0x2292a7,_0x1c3347);}function _0x4b68ef(_0x1c98e2,_0x3e4123,_0x2a0a5c,_0x259921){return _0x257320(_0x1c98e2-_0xb6ee55._0x4a558b,_0x3e4123-0xa3,_0x2a0a5c-_0xb6ee55._0x3343e5,_0x3e4123);}if(!_0x3d4502[_0x4b68ef(0x523,0x3e9,_0x5be558._0x19e30e,0x4b1)]())throw new ToolExecutionError(_0x4b68ef(_0x5be558._0x132212,_0x5be558._0xe11e91,0x5c5,0x599)+_0x59ac9d,{'path':_0x59ac9d});}function isProbablyBinary(_0x59d05a){return _0x59d05a['includes'](0x0);}var DEFAULT_DESCRIPTION=_0x3342ed(0x1f3,0x3c6,0x26b,0x384),DEFAULT_TIMEOUT_MS=0x7530;function buildChildEnv(_0x1fac6c,_0x34e124){const _0x3b35cc={_0x1ecc31:0x103,_0x13c81a:0x139,_0x24b804:0x211,_0x4f4e03:0x29,_0x26ec4b:0x123,_0x58bcc6:0x125,_0xc5f1d1:0xa,_0x497aec:0x2,_0x103509:0x70},_0x20f541={_0x57cb08:0x3b6,_0x3cea7e:0x78},_0x457e78={_0x2ee758:0x8c,_0x50423c:0x1ac,_0x513451:0x3e8},_0x4eb1c9={...process['env'],..._0x1fac6c??{}};function _0x53f754(_0x2004e3,_0xf2516d,_0x130417,_0x1dd3e2){return _0x257320(_0x2004e3-_0x457e78._0x2ee758,_0xf2516d-_0x457e78._0x50423c,_0xf2516d- -_0x457e78._0x513451,_0x130417);}if(_0x34e124[_0x53f754(_0x3b35cc._0x1ecc31,_0x3b35cc._0x13c81a,_0x3b35cc._0x24b804,0x82)]===0x0)return _0x4eb1c9;if(_0x1fe5ec[_0x5a9487(-0x1c2,-0x72,_0x3b35cc._0x4f4e03,-0xb0)]()==='win32'){const _0x447e84=new Set(_0x34e124[_0x5a9487(-0x24d,-0xc3,-_0x3b35cc._0x26ec4b,-_0x3b35cc._0x58bcc6)](_0x54a0d8=>_0x54a0d8['toLowerCase']()));for(const _0xdd0a3d of Object['keys'](_0x4eb1c9)){if(_0x447e84[_0x53f754(0xf,_0x3b35cc._0xc5f1d1,_0x3b35cc._0x497aec,_0x3b35cc._0x103509)](_0xdd0a3d['toLowerCase']()))delete _0x4eb1c9[_0xdd0a3d];}}else{for(const _0x10e4ff of _0x34e124)delete _0x4eb1c9[_0x10e4ff];}function _0x5a9487(_0x2ba68a,_0x552793,_0x5c6c03,_0x54381f){return _0x3342ed(_0x2ba68a-0x173,_0x2ba68a,_0x54381f- -_0x20f541._0x57cb08,_0x54381f-_0x20f541._0x3cea7e);}return _0x4eb1c9;}function mapSpawnError(_0x4899fd,_0x15c6b5){const _0x5cb139={_0x4baabf:0x113,_0x3ec599:0xaf,_0x154fce:0x294,_0x625483:0x28b,_0x1b673b:0x220,_0x317d6c:0xcb,_0x156415:0x4de,_0xcbf4c6:0x466,_0x2e2a0a:0x1d8,_0x519d0e:0x10e},_0x7ce2f3={_0x476dbd:0x13,_0x832314:0x1ef,_0xa4a37d:0x2f2};function _0x3fd704(_0x20e510,_0x1e2c9d,_0x67ef8d,_0xba3630){return _0x3342ed(_0x20e510-0x9,_0xba3630,_0x67ef8d- -0x11,_0xba3630-0x1d6);}if(isErrnoException(_0x4899fd)&&_0x4899fd[_0x4e4268(_0x5cb139._0x4baabf,_0x5cb139._0x3ec599,0x14c,-0x3c)]===_0x4e4268(_0x5cb139._0x154fce,_0x5cb139._0x625483,0x3a6,0x346))return new ToolExecutionError(_0x4e4268(_0x5cb139._0x1b673b,0x1ab,_0x5cb139._0x317d6c,0x236)+_0x15c6b5[_0x3fd704(_0x5cb139._0x156415,0x4bf,_0x5cb139._0xcbf4c6,0x555)],_0x15c6b5);function _0x4e4268(_0x6425cc,_0x1ef672,_0x5c27f3,_0x1ad37f){return _0x257320(_0x6425cc-_0x7ce2f3._0x476dbd,_0x1ef672-_0x7ce2f3._0x832314,_0x6425cc- -_0x7ce2f3._0xa4a37d,_0x5c27f3);}return new ToolExecutionError(_0x4899fd instanceof Error?_0x4899fd[_0x4e4268(0x273,0x15c,_0x5cb139._0x2e2a0a,_0x5cb139._0x519d0e)]:String(_0x4899fd),_0x15c6b5);}function shellExists(_0x54849b){const _0x4f91a6={_0x303418:0xa5,_0xdfaece:0x127,_0x2c31ee:0x144,_0x511e7d:0x25d,_0x310554:0x2df,_0x4f4ba8:0x38a},_0x274eb8={_0x178525:0x2,_0x51a757:0x2c9},_0x5f04af={_0x1fb02b:0x49,_0x52e75b:0x1df};function _0x1e6c02(_0x283547,_0x35e5a5,_0x582d73,_0x5be32f){return _0x3342ed(_0x283547-_0x5f04af._0x1fb02b,_0x5be32f,_0x35e5a5- -_0x5f04af._0x52e75b,_0x5be32f-0x127);}function _0x33e0c4(_0xf7e987,_0x50b772,_0xf2fd29,_0x4e373c){return _0x257320(_0xf7e987-0x38,_0x50b772-_0x274eb8._0x178525,_0xf2fd29- -_0x274eb8._0x51a757,_0x50b772);}try{const _0x4ea88d=statSync(_0x54849b);return _0x4ea88d[_0x33e0c4(0x5e,0x1f9,_0x4f91a6._0x303418,_0x4f91a6._0xdfaece)]()&&(_0x4ea88d[_0x1e6c02(_0x4f91a6._0x2c31ee,_0x4f91a6._0x511e7d,_0x4f91a6._0x310554,_0x4f91a6._0x4f4ba8)]&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x4e70a0){const _0x2988d5={_0x25a7d7:0xf8,_0x5511fc:0xb1,_0xffc473:0x202,_0x309840:0x99,_0x274593:0xea,_0x532571:0xf6,_0x438a48:0x29,_0x3b661d:0x25a,_0x49f4a7:0x774,_0x33b5a2:0x68d,_0x1f5137:0x6ab,_0x5702e6:0x61c,_0x5d23ff:0x644,_0x30869d:0x618,_0x1abaf7:0x565,_0x20a3d4:0x615,_0x555591:0x146,_0x386f16:0x10a},_0x4a7181={_0x1b5e1f:0xd5};if(_0x4e70a0)return _0x4e70a0;if(_0x1fe5ec[_0x570367(-0x61,-_0x2988d5._0x25a7d7,0x7,0x27)]()===_0x570367(-_0x2988d5._0x5511fc,-0x10b,-_0x2988d5._0xffc473,-0x25))return process[_0x570367(-0x4c,-0x41,-_0x2988d5._0x309840,-_0x2988d5._0x274593)][_0x570367(_0x2988d5._0x532571,0xa,_0x2988d5._0x438a48,_0x2988d5._0x3b661d)]||_0x5bbe16(0x7aa,_0x2988d5._0x49f4a7,_0x2988d5._0x33b5a2,0x66e);const _0x1efdfd=[_0x5bbe16(0x5e2,_0x2988d5._0x1f5137,0x721,_0x2988d5._0x5702e6),_0x5bbe16(_0x2988d5._0x5d23ff,_0x2988d5._0x30869d,_0x2988d5._0x1abaf7,0x6ba),'/usr/bin/bash',_0x5bbe16(0x5a3,0x41b,_0x2988d5._0x20a3d4,0x52e)];function _0x570367(_0x1e2b34,_0x36ca9a,_0x4401ba,_0xb7dfb8){return _0x3342ed(_0x1e2b34-0xdd,_0xb7dfb8,_0x1e2b34- -0x367,_0xb7dfb8-0x5b);}for(const _0x27a185 of _0x1efdfd){if(shellExists(_0x27a185))return _0x27a185;}const _0x12dacd=process[_0x5bbe16(0x5f7,0x6b2,0x6c6,0x5e7)][_0x570367(0x17b,0x2c4,_0x2988d5._0x555591,_0x2988d5._0x386f16)];if(_0x12dacd&&shellExists(_0x12dacd))return _0x12dacd;function _0x5bbe16(_0x276ddd,_0x242b71,_0x1b0885,_0x53fc97){return _0x257320(_0x276ddd-_0x4a7181._0x1b5e1f,_0x242b71-0xb5,_0x53fc97-0x240,_0x276ddd);}return'/bin/bash';}function buildShellArgs(_0x1d0a38,_0xb9c6fe){const _0x208d31={_0x412081:0x6b,_0xfa8573:0xa,_0x114166:0x34,_0x5511a0:0x1a0,_0x3df8ce:0x318,_0x237214:0x332,_0x45f2e0:0x443,_0x37d3ee:0x273,_0x384931:0x32e,_0x56ade5:0x276,_0x5e65c1:0x23f},_0x185c15={_0x178ea2:0x3fd},_0x106c77={_0xee7762:0x1b9,_0x43e2df:0x14a,_0x3340f1:0x16a};if(_0x1fe5ec[_0x46c387(-_0x208d31._0x412081,-_0x208d31._0xfa8573,-0x35,-_0x208d31._0x114166)]()===_0x219219(_0x208d31._0x5511a0,_0x208d31._0x3df8ce,0x1d8,_0x208d31._0x237214)){const _0x3f0221=/cmd(\.exe)?$/i[_0x219219(0x2a6,0x25d,0x316,_0x208d31._0x45f2e0)](_0xb9c6fe);return _0x3f0221?['/d','/s','/c',_0x1d0a38]:['-NoLogo','-NoProfile',_0x219219(_0x208d31._0x37d3ee,_0x208d31._0x384931,_0x208d31._0x56ade5,_0x208d31._0x5e65c1),_0x1d0a38];}function _0x219219(_0x2f9128,_0x2175d7,_0x3364e0,_0x32a577){return _0x257320(_0x2f9128-_0x106c77._0xee7762,_0x2175d7-_0x106c77._0x43e2df,_0x3364e0- -_0x106c77._0x3340f1,_0x2f9128);}function _0x46c387(_0x2dce18,_0x229026,_0x2b9af6,_0x2d9e22){return _0x257320(_0x2dce18-0x9a,_0x229026-0x1f4,_0x2dce18- -_0x185c15._0x178ea2,_0x229026);}return['-c',_0x1d0a38];}function resolveWorkingDirectory(_0x319ba3,_0x1c6902,_0x2811a6){const _0x48ced5={_0x4408d5:0x33a,_0x3fdcae:0x2cd,_0x1d767f:0x2f4,_0x21f5d5:0x3c8,_0xb89094:0x3fe},_0x26620b={_0x32c166:0x63,_0x12a6b4:0x1f2},_0x1d25e9={_0x537709:0x96,_0x4d42cc:0xeb};function _0x342b58(_0xdac080,_0x3bdb7f,_0x79d39f,_0x594eac){return _0x257320(_0xdac080-0x9e,_0x3bdb7f-_0x1d25e9._0x537709,_0x594eac- -_0x1d25e9._0x4d42cc,_0x3bdb7f);}function _0x35b53f(_0x557eca,_0x4511b9,_0x5517a4,_0x122202){return _0x257320(_0x557eca-_0x26620b._0x32c166,_0x4511b9-_0x26620b._0x12a6b4,_0x4511b9- -0x534,_0x5517a4);}const _0x2b8f3e=resolveAllowedPath(_0x1c6902,_0x2811a6,_0x319ba3??'.');try{const _0x49b456=statSync(_0x2b8f3e);if(!_0x49b456[_0x342b58(_0x48ced5._0x4408d5,0x3ac,0x4ec,0x385)]())throw new ToolExecutionError(_0x342b58(0x31e,_0x48ced5._0x3fdcae,_0x48ced5._0x1d767f,0x370)+_0x2b8f3e,{'cwd':_0x2b8f3e});return _0x2b8f3e;}catch(_0x25c27f){if(_0x25c27f instanceof ToolExecutionError)throw _0x25c27f;throw new ToolExecutionError(_0x342b58(0x38a,_0x48ced5._0x21f5d5,_0x48ced5._0xb89094,0x367)+_0x2b8f3e,{'cwd':_0x2b8f3e});}}function appendChunk(_0x40627e,_0x47dee6,_0x44b2e5,_0x558a73,_0x5478f2){const _0x3a4afa={_0xdbac3:0x21e,_0x2482b4:0x18f,_0x33e9c6:0x309},_0xd6f431={_0x3f6231:0x46e},_0x55793d={_0x3d8169:0xd4,_0x4665d2:0x4f};function _0x1798f7(_0x48bf13,_0x48e1c7,_0x414724,_0x315da6){return _0x257320(_0x48bf13-_0x55793d._0x3d8169,_0x48e1c7-_0x55793d._0x4665d2,_0x48e1c7- -0x189,_0x48bf13);}const _0x212d87=_0x558a73?stripAnsiAndControls(_0x44b2e5):_0x44b2e5;if(_0x212d87['length']===0x0)return;function _0x1b8817(_0x3bc373,_0x19b62d,_0x53cc44,_0x278b87){return _0x3342ed(_0x3bc373-0xe6,_0x53cc44,_0x278b87- -_0xd6f431._0x3f6231,_0x278b87-0x1c1);}_0x40627e[_0x1b8817(-_0x3a4afa._0xdbac3,-0x6a,-0x115,-_0x3a4afa._0x2482b4)](_0x212d87),_0x47dee6[_0x1798f7(0xf2,0x1e2,0x131,_0x3a4afa._0x33e9c6)](_0x212d87),_0x5478f2();}function createBashTool(_0x3af924={}){const _0x314ddf={_0x111c52:0x8c,_0x5b0a82:0x5f,_0x1bec0d:0xab,_0x1892f6:0x76,_0x182eaf:0xfe,_0x55fcab:0xbc,_0x2bf8fd:0x11a,_0x41ce87:0x13,_0xd343cd:0x2bd,_0xb39aac:0x1db,_0x27e196:0x1ee,_0x5afc38:0x8e,_0x5c3b53:0x7f,_0x472d31:0xc2,_0x23ec1d:0x16b,_0x128ccb:0x1e6,_0x1f913a:0x21d,_0x5d39d0:0x20a,_0x2678a7:0xc8,_0x3ab9cf:0xf2,_0x450315:0x1d7,_0x46d662:0x161,_0x449300:0x22,_0x2d5109:0x117,_0x2c4f07:0x18f,_0x2c6b3b:0x341,_0x5c2248:0x20e,_0x322ab0:0x2e5,_0x4a6a82:0x143,_0x562b87:0xcc,_0x54165a:0xa9,_0x172529:0x105,_0x10944e:0x88,_0x154fe4:0x5b,_0xcdd2f8:0xe2,_0x59739c:0x178,_0x8f0dac:0xe4},_0x582457={_0x14df60:0x1d1,_0x2e92d7:0x2df,_0x4aae8a:0x2c6,_0x1f8140:0x26d,_0x25ce93:0x58,_0xca6ce1:0x1b3,_0x1a3695:0x1ae,_0x5bc1c9:0xd8,_0x3f5813:0x40b,_0x122a82:0x2cc,_0x2254c3:0xcf,_0x5b188d:0x12b,_0xe67219:0x1a1,_0xa44b0e:0x11f,_0x240aa4:0x291,_0x60a488:0x282,_0x28e7a9:0xa4,_0x6edba:0x215,_0x1a5d86:0x12e,_0x4ac376:0xc,_0x979f39:0x116,_0x4b3a78:0xbf,_0x1e2e0e:0xa5,_0x42f126:0x1d8,_0x424135:0x157,_0x2c5459:0x2be,_0x21e355:0x271,_0x152c85:0x22f,_0x453e1f:0x240,_0x224768:0x238,_0x446853:0x3d9,_0x1e121d:0x461,_0x417002:0x334,_0x1d9f49:0xcf,_0x43b484:0x2,_0x397a5c:0x136,_0x23211e:0x84,_0x15e863:0x199,_0x2bb136:0x8d,_0x2a3ac3:0xd7,_0x31965c:0x9a,_0x2a8e2f:0x25,_0x19b707:0x12e,_0x23435e:0x16f,_0x2a20ff:0x120,_0xa18d1d:0x92,_0x49c714:0x9c,_0x5be6ec:0x1e5,_0x3d88f7:0x57,_0x2951bd:0x37,_0x5f28bc:0x91,_0x58ff08:0xaf,_0x49bacd:0xad,_0x4fa914:0x284,_0x15b480:0x8b,_0x89a4e:0x458,_0x16e477:0x204,_0x1b1523:0x298,_0x4fd816:0x4ac,_0x66e1a4:0x351,_0x5d843d:0x26f,_0x1f4aa3:0x4ab,_0x161298:0x1e,_0x23e99d:0xb7,_0x5f408d:0x313,_0x5d9974:0x1f1,_0x1309c5:0x31e,_0x56d919:0xa9,_0x45e14d:0x69,_0x431c50:0x2e2,_0x323c27:0x1b4,_0x1a25be:0x321,_0x61dda:0x365,_0x3246cf:0x404,_0x5328db:0x170,_0x2d06b8:0xc1,_0x375a53:0x126,_0x21339e:0xac,_0x57d1bc:0x224,_0x1d6bac:0x22b,_0x13d82d:0x49,_0x495b92:0xd,_0x2a6feb:0xe7,_0x361be6:0xe5,_0x145e5c:0x1b,_0xc4c37f:0xd6,_0x3aa7e8:0x2d3,_0x428bdf:0x189,_0x5c3826:0x50,_0x15c06e:0x34,_0x42de7a:0x59,_0x4133ad:0xb8,_0x480cc5:0x15e,_0x1d019a:0x89,_0x1454d0:0x2a9,_0x40921b:0x203,_0xd68754:0x170,_0x486368:0x1c0,_0x2cbd48:0x1ef,_0x5bf336:0x214,_0x3816c2:0x8e,_0x3d2d56:0x94,_0x18b34a:0x1ad,_0x109218:0xc9,_0x19f685:0x1c8,_0xa2eda:0x1e2,_0x40970b:0x40,_0x12272f:0x21c,_0x3a8abc:0x2b,_0x68071c:0x12e,_0x3ff171:0x1a5,_0x20d108:0x19d,_0x2d0989:0x1a1,_0x5efdae:0x48,_0x255378:0xd,_0x2ef841:0x1c6,_0x2f7b90:0x2d6,_0x1992cd:0x213,_0x5a49f8:0x3ee,_0x1f5b41:0x36c,_0x4211a4:0x37c,_0x8ced5e:0x23a,_0x55d08c:0x347,_0xef8588:0x1fb,_0x1eb021:0x85,_0x58157c:0xcd},_0xf5f6e9={_0x484cfd:0xdc,_0x318b52:0xe7},_0x5843bf={_0x5becd9:0x27e,_0x139246:0x1f},_0x358dc6={_0x28c058:0x40b,_0x1142c7:0x12c};function _0x2cab09(_0x1841bd,_0x1bf91e,_0x400b94,_0x26f35f){return _0x3342ed(_0x1841bd-0x1b8,_0x1bf91e,_0x1841bd- -_0x358dc6._0x28c058,_0x26f35f-_0x358dc6._0x1142c7);}const _0xfb75e1=_0x49093b['resolve'](_0x3af924[_0x2cab09(-_0x314ddf._0x111c52,-0x153,0xb2,-_0x314ddf._0x5b0a82)]??process[_0x2cab09(-0xb2,-_0x314ddf._0x1bec0d,-_0x314ddf._0x1892f6,0x89)]()),_0x1a7dba=(_0x3af924[_0x41f962(_0x314ddf._0x182eaf,0x18,-0x23,-_0x314ddf._0x55fcab)]??[])[_0x41f962(-0x6a,-_0x314ddf._0x2bf8fd,_0x314ddf._0x41ce87,-0xf)](_0x5b06b2=>_0x49093b[_0x2cab09(-0x13a,-0x148,0x39,-0x1e4)](_0x5b06b2)),_0x5ebf3d=_0x3af924[_0x41f962(_0x314ddf._0xd343cd,_0x314ddf._0xb39aac,_0x314ddf._0x27e196,0x16f)]??DEFAULT_TIMEOUT_MS,_0xcb88=_0x3af924[_0x41f962(_0x314ddf._0x5afc38,_0x314ddf._0x5c3b53,0x190,_0x314ddf._0x472d31)]??!![],_0x471317=_0x3af924[_0x2cab09(-_0x314ddf._0x23ec1d,-_0x314ddf._0x128ccb,-0x72,-0xfc)]??'Bash',_0x2b8b68=_0x3af924[_0x41f962(0x2dd,0x2e8,_0x314ddf._0x1f913a,_0x314ddf._0x5d39d0)]??[],_0xbe8ec5=_0x3af924[_0x2cab09(_0x314ddf._0x2678a7,-0x88,_0x314ddf._0x3ab9cf,_0x314ddf._0x450315)];function _0x41f962(_0x19c7c6,_0x43fe1c,_0x57fb5b,_0x9f76ba){return _0x3342ed(_0x19c7c6-0x18d,_0x19c7c6,_0x57fb5b- -_0x5843bf._0x5becd9,_0x9f76ba-_0x5843bf._0x139246);}return defineTool({'name':_0x471317,'description':_0x3af924[_0x41f962(_0x314ddf._0x46d662,-_0x314ddf._0x449300,_0x314ddf._0x2d5109,_0x314ddf._0x2c4f07)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':'object','properties':{'command':{'type':'string'},'description':{'type':_0x41f962(0xd6,_0x314ddf._0x2c6b3b,_0x314ddf._0x5c2248,_0x314ddf._0x322ab0),'description':_0x2cab09(0xe5,_0x314ddf._0x4a6a82,0x6d,0x1e7)},'cwd':{'type':'string'},'timeoutMs':{'type':_0x41f962(0xc4,_0x314ddf._0x562b87,0xb4,_0x314ddf._0x54165a)},'ignoreOutput':{'type':'boolean'},'runInBackground':{'type':_0x41f962(-_0x314ddf._0x172529,-_0x314ddf._0x10944e,_0x314ddf._0x154fe4,_0x314ddf._0xcdd2f8)}},'required':[_0x41f962(_0x314ddf._0x59739c,-0x1d,0x85,_0x314ddf._0x8f0dac),_0x2cab09(-0x76,-0x1a9,-0xc0,0x30)]},async *'execute'(_0x9707e7,_0x5611a2){const _0x53e2f3={_0x37db44:0x386,_0x4cd1be:0x26f,_0x29cce:0x616,_0x36e9dc:0x64c,_0x135870:0x587,_0x4b0b5d:0x6c5,_0x874cc9:0x1f4},_0x49ba47={_0x58cba7:0x440,_0x45cfa1:0x308},_0x320c85={_0x54a9ab:0x6a9},_0x4104dc={_0x15c7cf:0x14b,_0x4ccec5:0x261,_0x5851d9:0x2bc,_0x45aae9:0x477,_0x1d2d69:0xeb,_0x493b37:0x2bd,_0x272e16:0x2c2,_0x35407b:0x296,_0x2f68fa:0x2f5},_0x355e83={_0x584d34:0x10,_0xa737b1:0x9e,_0x2c73b1:0x9b},_0x41362b={_0x2445bd:0x100,_0x4efe46:0x62},_0x4af4c4={_0x21baaa:0x8c9,_0x166e10:0x79e},_0x475f1b={_0x5b4aca:0x3b},_0x26fed8={_0x3a5ba0:0x1d9},_0x6855b3=_0x9707e7[_0x25bdac(-0x1af,-_0x582457._0x14df60,-_0x582457._0x2e92d7,-0x1e3)]??_0x5ebf3d;if(!Number[_0x4c9008(0x3c0,_0x582457._0x4aae8a,0x20d,_0x582457._0x1f8140)](_0x6855b3)||_0x6855b3<0x1)throw new ToolExecutionError('Invalid\x20timeoutMs:\x20expected\x20a\x20positive\x20number',{'command':_0x9707e7['command']});throwIfAborted(_0x5611a2[_0x25bdac(0x8f,0xc0,_0x582457._0x25ce93,-0x86)]);const _0x3d9b5d=resolveWorkingDirectory(_0x9707e7[_0x25bdac(-_0x582457._0xca6ce1,-_0x582457._0x1a3695,0xf,-_0x582457._0x5bc1c9)],_0xfb75e1,_0x1a7dba),_0x31d81a=_0x9707e7[_0x4c9008(0x158,_0x582457._0x3f5813,0x417,_0x582457._0x122a82)]??![];function _0x4c9008(_0xdbdc52,_0x585f79,_0x5680d3,_0x54aa73){return _0x41f962(_0xdbdc52,_0x585f79-_0xf5f6e9._0x484cfd,_0x54aa73-_0xf5f6e9._0x318b52,_0x54aa73-0x1ba);}const _0x1fbfd7=resolveDefaultShell(_0x3af924['shellPath']);function _0x25bdac(_0x5e64e0,_0x19a08d,_0x3ad647,_0x4b3d6a){return _0x2cab09(_0x4b3d6a- -0x26,_0x5e64e0,_0x3ad647-0x17,_0x4b3d6a-_0x26fed8._0x3a5ba0);}const _0x2cf4f0=buildShellArgs(_0x9707e7['command'],_0x1fbfd7),_0x12f36b=_0x1fe5ec[_0x25bdac(-0x23a,-0x150,-_0x582457._0x2254c3,-_0x582457._0x5b188d)]()===_0x4c9008(0x1a7,_0x582457._0xe67219,0x247,_0x582457._0xa44b0e);if(_0x9707e7[_0x25bdac(-0x2e9,-_0x582457._0x240aa4,-_0x582457._0x60a488,-0x1ca)]){if(!_0xbe8ec5)throw new ToolExecutionError('Background\x20execution\x20is\x20not\x20available\x20in\x20this\x20context.',{'command':_0x9707e7[_0x25bdac(-0x169,-_0x582457._0x28e7a9,-_0x582457._0x6edba,-_0x582457._0x1a5d86)]});throwIfAborted(_0x5611a2['signal']);let _0x1ab4e2;try{_0x1ab4e2=_0x3f73df(_0x1fbfd7,_0x2cf4f0,{'cwd':_0x3d9b5d,'env':buildChildEnv(_0x3af924[_0x25bdac(-0x4b,-0x250,-_0x582457._0x4ac376,-_0x582457._0x979f39)],_0x2b8b68),'stdio':[_0x25bdac(-0x19,-_0x582457._0x4b3a78,-_0x582457._0x1e2e0e,0xb7),_0x4c9008(_0x582457._0x42f126,_0x582457._0x424135,_0x582457._0x2c5459,0x1f1),'pipe'],'shell':![],'windowsHide':!![],'detached':!_0x12f36b});}catch(_0x247779){throw mapSpawnError(_0x247779,{'command':_0x9707e7[_0x25bdac(-_0x582457._0x21e355,-_0x582457._0x152c85,-0x188,-0x12e)],'cwd':_0x3d9b5d,'shellPath':_0x1fbfd7});}let _0x1b4c81;try{_0x1b4c81=_0xbe8ec5[_0x25bdac(-0x114,0xe,-0x88,0x22)]({'child':_0x1ab4e2,'command':_0x9707e7['command'],'cwd':_0x3d9b5d,'stripAnsi':_0xcb88});}catch(_0x101b39){_0x1ab4e2[_0x25bdac(0x13,-_0x582457._0x453e1f,-_0x582457._0x224768,-0xf1)]('error',()=>{});try{killProcessGroup(_0x1ab4e2,_0x12f36b);}catch{}throw _0x101b39;}return createToolOutput('Started\x20background\x20process\x20'+_0x1b4c81[_0x4c9008(_0x582457._0x446853,_0x582457._0x1e121d,0x369,_0x582457._0x417002)]+_0x25bdac(-_0x582457._0x1d9f49,0x2,0xb0,_0x582457._0x43b484)+(_0x1b4c81[_0x25bdac(_0x582457._0x397a5c,0x1a5,-_0x582457._0x23211e,0xad)]??'?')+_0x25bdac(-_0x582457._0x15e863,-0x2ec,-0x37,-0x183),{'shellId':_0x1b4c81[_0x25bdac(-_0x582457._0x2bb136,_0x582457._0x2a3ac3,-0x66,_0x582457._0x31965c)],'status':_0x1b4c81['status'],'command':_0x1b4c81[_0x25bdac(-0x1b6,0x26,_0x582457._0x2a8e2f,-_0x582457._0x19b707)],'description':_0x9707e7[_0x25bdac(-_0x582457._0x23435e,-_0x582457._0x2a20ff,_0x582457._0xa18d1d,-_0x582457._0x49c714)],'cwd':_0x1b4c81[_0x25bdac(-_0x582457._0x5be6ec,-_0x582457._0x3d88f7,-0x56,-0xd8)],'pid':_0x1b4c81[_0x25bdac(-_0x582457._0x2951bd,-_0x582457._0x5f28bc,-_0x582457._0x58ff08,_0x582457._0x49bacd)]??null});}let _0x51c5ca;try{_0x51c5ca=_0x3f73df(_0x1fbfd7,_0x2cf4f0,{'cwd':_0x3d9b5d,'env':buildChildEnv(_0x3af924[_0x25bdac(-_0x582457._0x4fa914,-_0x582457._0x15b480,-0x23f,-_0x582457._0x979f39)],_0x2b8b68),'stdio':_0x31d81a?[_0x4c9008(0x231,_0x582457._0x89a4e,_0x582457._0x16e477,0x351),_0x4c9008(_0x582457._0x1b1523,0x421,_0x582457._0x4fd816,_0x582457._0x66e1a4),_0x4c9008(_0x582457._0x5d843d,_0x582457._0x1f4aa3,0x27e,0x351)]:[_0x25bdac(0x211,_0x582457._0x161298,0x14,_0x582457._0x23e99d),_0x4c9008(0xc6,_0x582457._0x5f408d,0x304,_0x582457._0x5d9974),_0x4c9008(0x1b5,_0x582457._0x1309c5,0x97,_0x582457._0x5d9974)],'shell':![],'windowsHide':!![],'detached':!_0x12f36b});}catch(_0x2c9050){throw mapSpawnError(_0x2c9050,{'command':_0x9707e7[_0x25bdac(-0x1c1,-_0x582457._0x56d919,-_0x582457._0x45e14d,-0x12e)],'cwd':_0x3d9b5d,'shellPath':_0x1fbfd7});}const _0x156c19=[],_0x923d4d=[],_0x10243d=new _0x1628c2(_0x4c9008(0x22f,_0x582457._0x431c50,_0x582457._0x323c27,_0x582457._0x1a25be)),_0x44e8fb=new _0x1628c2(_0x4c9008(_0x582457._0x61dda,0x350,_0x582457._0x3246cf,0x321));let _0x18fcef,_0x32818c=![],_0x30606c;const _0xf557f7=()=>{if(!_0x18fcef)return;const _0x94c46b=_0x18fcef;_0x18fcef=void 0x0,_0x94c46b();},_0x5bd3ee=async()=>{if(_0x923d4d['length']>0x0||_0x32818c)return;await new Promise(_0x6e5d7b=>{_0x18fcef=_0x6e5d7b;});},_0x1deae7=_0x51cec8=>{function _0x225d5a(_0x3bb97b,_0x176713,_0xb3180f,_0xb497de){return _0x25bdac(_0x3bb97b,_0x176713-_0x475f1b._0x5b4aca,_0xb3180f-0x1ec,_0x176713-0x41f);}appendChunk(_0x156c19,_0x923d4d,_0x10243d[_0x225d5a(0x52e,0x458,0x2eb,0x3e3)](_0x51cec8),_0xcb88,_0xf557f7);},_0x3b1fd8=_0x20b472=>{function _0x444cad(_0x3e0e45,_0x275efc,_0xe25100,_0x164980){return _0x25bdac(_0x3e0e45,_0x275efc-0x1db,_0xe25100-0x6d,_0xe25100-0x737);}appendChunk(_0x156c19,_0x923d4d,_0x44e8fb[_0x444cad(_0x4af4c4._0x21baaa,_0x4af4c4._0x166e10,0x770,0x68f)](_0x20b472),_0xcb88,_0xf557f7);};_0x51c5ca[_0x25bdac(-0x2f5,-0x185,-_0x582457._0x5328db,-0x19d)]?.['on'](_0x25bdac(_0x582457._0x2d06b8,_0x582457._0x375a53,_0x582457._0x21339e,0xd),_0x1deae7),_0x51c5ca[_0x4c9008(0x2c9,_0x582457._0x453e1f,_0x582457._0x57d1bc,_0x582457._0x1d6bac)]?.['on'](_0x25bdac(-0x39,_0x582457._0x13d82d,0x159,_0x582457._0x495b92),_0x3b1fd8);let _0x1d6810=![],_0x1cd668;const _0x3a9faf=addAbortListener(_0x5611a2[_0x25bdac(-_0x582457._0x2a6feb,-_0x582457._0x361be6,0xb8,-0x86)],()=>{_0x30606c=toAbortError(_0x5611a2[_0x292f4d(_0x355e83._0x584d34,-0x6b,_0x355e83._0xa737b1,-_0x355e83._0x2c73b1)]['reason']);function _0x292f4d(_0x417d95,_0x41c259,_0x586d10,_0x1104fa){return _0x4c9008(_0x1104fa,_0x41c259-_0x41362b._0x2445bd,_0x586d10-_0x41362b._0x4efe46,_0x41c259- -0x27f);}_0x32818c=!![],_0xf557f7();try{killProcessGroup(_0x51c5ca,_0x12f36b);}catch{}});try{const _0x42a749=new Promise((_0x547689,_0x40541c)=>{const _0x5091b9={_0x142585:0x37d,_0x302dab:0x242},_0x403789={_0xf2cc97:0xa1},_0x212876=()=>{const _0x130853={_0xfa73ea:0x3ad};_0x1cd668&&(clearTimeout(_0x1cd668),_0x1cd668=void 0x0);function _0x2ce50b(_0x37f140,_0x23afa3,_0x154bd6,_0x397ca9){return _0x1df5(_0x23afa3- -0xe,_0x397ca9);}function _0xf3f228(_0x31b483,_0x680de,_0x418359,_0x42201e){return _0x1df5(_0x680de- -_0x130853._0xfa73ea,_0x418359);}_0x51c5ca[_0x2ce50b(0x181,_0x4104dc._0x15c7cf,_0x4104dc._0x4ccec5,_0x4104dc._0x5851d9)](_0x2ce50b(0x206,0x301,0x45d,_0x4104dc._0x45aae9),_0x470e83),_0x51c5ca[_0x2ce50b(_0x4104dc._0x1d2d69,_0x4104dc._0x15c7cf,_0x4104dc._0x493b37,_0x4104dc._0x272e16)](_0xf3f228(-_0x4104dc._0x35407b,-0x1a6,-_0x4104dc._0x2f68fa,-0x180),_0x2e67b1);},_0x470e83=_0x4c01b5=>{_0x32818c=!![],_0xf557f7(),_0x212876(),_0x40541c(_0x30606c??_0x4c01b5);};function _0x1391f0(_0x1c4845,_0x4a54ae,_0x447974,_0xd1b944){return _0x25bdac(_0x1c4845,_0x4a54ae-0x108,_0x447974-0x1f1,_0x447974-_0x320c85._0x54a9ab);}function _0x82dd50(_0x3bf369,_0x46a35b,_0x1578ec,_0x45d4f6){return _0x25bdac(_0x46a35b,_0x46a35b-0x195,_0x1578ec-0x7c,_0x1578ec-0x359);}const _0x2e67b1=(_0x25d6a5,_0x3752c8)=>{_0x1d6810=!![];function _0xa026db(_0x5bb466,_0x2ef14e,_0x48caa1,_0x31bb4c){return _0x1df5(_0x2ef14e-_0x403789._0xf2cc97,_0x5bb466);}appendChunk(_0x156c19,_0x923d4d,_0x10243d['end'](),_0xcb88,_0xf557f7),appendChunk(_0x156c19,_0x923d4d,_0x44e8fb[_0xa026db(0x33d,_0x5091b9._0x142585,0x4de,_0x5091b9._0x302dab)](),_0xcb88,_0xf557f7),_0x32818c=!![],_0xf557f7(),_0x212876();if(_0x30606c){_0x40541c(_0x30606c);return;}_0x547689({'code':_0x25d6a5,'signal':_0x3752c8});};_0x1cd668=setTimeout(()=>{function _0x6590ef(_0x54dde5,_0x214216,_0x1f3f3f,_0x145b3d){return _0x1df5(_0x54dde5-0xd3,_0x1f3f3f);}_0x32818c=!![],_0xf557f7();function _0x5773ce(_0x1b5386,_0x9f3f41,_0x27914d,_0xd546e6){return _0x1df5(_0x27914d- -0x49,_0x1b5386);}_0x212876();try{killProcessGroup(_0x51c5ca,_0x12f36b);}catch{}_0x40541c(new ToolExecutionError(_0x6590ef(0x331,0x1fe,0x1e5,_0x49ba47._0x58cba7)+_0x6855b3+'\x20ms',{'command':_0x9707e7[_0x5773ce(0x1b1,0x120,0x1f5,_0x49ba47._0x45cfa1)],'cwd':_0x3d9b5d,'shellPath':_0x1fbfd7,'timeoutMs':_0x6855b3,'timedOut':!![]}));},_0x6855b3),_0x51c5ca[_0x82dd50(0x1d2,_0x53e2f3._0x37db44,0x268,_0x53e2f3._0x4cd1be)](_0x1391f0(0x76f,_0x53e2f3._0x29cce,_0x53e2f3._0x36e9dc,0x6d3),_0x470e83),_0x51c5ca[_0x1391f0(_0x53e2f3._0x135870,_0x53e2f3._0x4b0b5d,0x5b8,0x44e)](_0x82dd50(0x9e,0x348,_0x53e2f3._0x874cc9,0x98),_0x2e67b1);});while(_0x923d4d['length']>0x0||!_0x32818c){if(_0x923d4d['length']===0x0){await _0x5bd3ee();continue;}const _0x37d50e=_0x923d4d[_0x25bdac(_0x582457._0x145e5c,-0x134,-_0x582457._0xc4c37f,-0x40)]();_0x37d50e!==void 0x0&&(yield _0x37d50e);}const _0x43fac2=await _0x42a749,_0x5acb2e=_0x31d81a?_0x4c9008(0x271,_0x582457._0x3aa7e8,0x1e0,_0x582457._0x428bdf)+(_0x43fac2[_0x25bdac(_0x582457._0x5c3826,_0x582457._0x15c06e,_0x582457._0x42de7a,-_0x582457._0x4133ad)]??0x0):_0x156c19[_0x25bdac(-_0x582457._0x480cc5,-0xc1,_0x582457._0x1d019a,0x5)](''),_0x20b087={'command':_0x9707e7[_0x4c9008(_0x582457._0x1454d0,0x29e,0xe3,0x16c)],'description':_0x9707e7['description'],'cwd':_0x3d9b5d,'exitCode':_0x43fac2[_0x25bdac(-_0x582457._0x40921b,-_0x582457._0xd68754,-_0x582457._0x486368,-0xb8)]??0x0,'signal':_0x43fac2[_0x4c9008(0x289,0x334,_0x582457._0x2cbd48,_0x582457._0x5bf336)],'ignoreOutput':_0x31d81a,'shellPath':_0x1fbfd7,'timeoutMs':_0x6855b3};if(_0x43fac2['code']!==0x0)throw new ToolExecutionError(_0x5acb2e||_0x25bdac(-_0x582457._0x3816c2,0xe0,-0x97,-_0x582457._0x3d2d56)+(_0x43fac2[_0x4c9008(_0x582457._0x18b34a,_0x582457._0x109218,_0x582457._0x19f685,_0x582457._0xa2eda)]??0x0),_0x20b087);return createToolOutput(_0x5acb2e,_0x20b087);}catch(_0xf9ae72){while(_0x923d4d[_0x25bdac(-0x72,_0x582457._0x161298,0x1d9,0x64)]>0x0){const _0x423538=_0x923d4d[_0x25bdac(-0xeb,0x102,0xd8,-_0x582457._0x40970b)]();_0x423538!==void 0x0&&(yield _0x423538);}if(_0xf9ae72 instanceof ToolExecutionError)throw _0xf9ae72;if(_0x30606c)throw _0x30606c;throw mapSpawnError(_0xf9ae72,{'command':_0x9707e7[_0x25bdac(-_0x582457._0x12272f,-_0x582457._0x3a8abc,-0x6d,-_0x582457._0x68071c)],'cwd':_0x3d9b5d,'shellPath':_0x1fbfd7});}finally{_0x1cd668&&clearTimeout(_0x1cd668);_0x3a9faf(),_0x51c5ca[_0x25bdac(-0x2f4,-_0x582457._0x3ff171,-0x2f4,-_0x582457._0x20d108)]?.[_0x4c9008(0x136,_0x582457._0x2d0989,-0x43,0x87)](_0x25bdac(-_0x582457._0x5efdae,0xd2,0x81,_0x582457._0x255378),_0x1deae7),_0x51c5ca[_0x4c9008(0x16f,0x193,_0x582457._0x2ef841,0x22b)]?.[_0x25bdac(-0x204,-_0x582457._0x2f7b90,-0x206,-_0x582457._0x1992cd)](_0x4c9008(_0x582457._0x5a49f8,_0x582457._0x1f5b41,_0x582457._0x4211a4,0x2a7),_0x3b1fd8);if(!_0x1d6810&&_0x51c5ca[_0x4c9008(0x266,0x2dc,_0x582457._0x8ced5e,_0x582457._0x55d08c)]&&!_0x51c5ca[_0x25bdac(-_0x582457._0xef8588,-_0x582457._0x1eb021,-0x37,-_0x582457._0x58157c)])try{killProcessGroup(_0x51c5ca,_0x12f36b);}catch{}}}});}function createShellExecTool(_0x421cf6={}){return createBashTool(_0x421cf6);}import{readdir,readFile as _0x2c135d}from'fs/promises';import{extname,join as _0x5cf888}from'path';import{open}from'fs/promises';import{dirname,isAbsolute as _0x28c688,join,relative as _0x8d0282,resolve as _0x27e096}from'path';import{readdir as _0x190b01,readFile as _0x21f55d}from'fs/promises';import{join as _0x4a3a0a,relative as _0xf6b7c2,sep}from'path';import{delimiter}from'path';import{mkdir as _0x41ff22,rm,stat as _0x3a14d5,writeFile}from'fs/promises';import{hostname}from'os';import{dirname as _0x40aefb}from'path';import{unwatchFile,watchFile}from'fs';import{readFile as _0x3cb12c,rename,writeFile as _0x111999}from'fs/promises';import{homedir as _0x4ba8ff}from'os';import{dirname as _0x3df55c,isAbsolute as _0x51d4f3,join as _0xc8900f,resolve as _0x267582}from'path';import{parse as _0x4215e6,stringify as _0x42951b}from'yaml';import{cp,mkdir as _0x5389f8,readFile as _0x13c19e,rm as _0x43f075,writeFile as _0x3b298e}from'fs/promises';import{homedir}from'os';import{join as _0x54c24a}from'path';import{parse as _0x548b3a,stringify as _0x4f27f3}from'yaml';import{z}from'zod';import{readdir as _0x5b146b,readFile as _0x4f9186}from'fs/promises';import{join as _0xd682d7}from'path';import{mkdir as _0x133d15,readFile as _0x3279a1,rm as _0x184c5b,writeFile as _0x4e699f}from'fs/promises';import{homedir as _0x2788df}from'os';import{basename,isAbsolute as _0x42a362,join as _0xc76d2d,relative as _0x5c66c1,resolve as _0x2a877c}from'path';import{parse as _0x52ae06,stringify as _0x217171}from'yaml';import{delimiter as _0x5a4132,resolve as _0x2dc4d8}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0x363d65){const _0x7a49d9={_0x2c251d:0xba,_0x16c615:0x739,_0x28025f:0x7a4,_0x26c6fc:0x7cb,_0x23ec50:0x8b2,_0x44572a:0x88c,_0x5c2772:0x175,_0x49f4a2:0x1b8,_0x4fb4a3:0x10,_0x3b400e:0x93,_0xd1e964:0x60},_0x26237b={_0x3838f4:0x283},_0x3f30ae={_0x23f20e:0x26},_0x52b0b9=[];let _0x4a5c67='';function _0x106419(_0x47cadf,_0x1f95de,_0x10db98,_0x5e5a68){return _0x257320(_0x47cadf-_0x3f30ae._0x23f20e,_0x1f95de-0x1be,_0x1f95de- -0x30b,_0x10db98);}let _0x52d29d=0x0;while(_0x52d29d<_0x363d65[_0x106419(0x374,0x216,0x338,_0x7a49d9._0x2c251d)]){const _0x4b44d6=_0x363d65[_0x52d29d];if(_0x4b44d6==='\x5c'&&_0x52d29d+0x1<_0x363d65[_0x12599c(0x894,_0x7a49d9._0x16c615,_0x7a49d9._0x28025f,_0x7a49d9._0x26c6fc)])_0x4a5c67+=_0x363d65[_0x52d29d+0x1],_0x52d29d+=0x2;else{if(_0x4b44d6==='\x22'||_0x4b44d6==='\x27'){const _0x39daea=_0x4b44d6;_0x52d29d++;while(_0x52d29d<_0x363d65[_0x12599c(0x648,0x84b,0x7a4,_0x7a49d9._0x23ec50)]&&_0x363d65[_0x52d29d]!==_0x39daea){_0x363d65[_0x52d29d]==='\x5c'&&_0x52d29d+0x1<_0x363d65[_0x12599c(_0x7a49d9._0x44572a,0x6b0,0x7a4,0x8fd)]?(_0x4a5c67+=_0x363d65[_0x52d29d+0x1],_0x52d29d+=0x2):(_0x4a5c67+=_0x363d65[_0x52d29d],_0x52d29d++);}_0x52d29d++;}else _0x4b44d6!==void 0x0&&/\s/[_0x106419(0x247,_0x7a49d9._0x5c2772,_0x7a49d9._0x49f4a2,_0x7a49d9._0x4fb4a3)](_0x4b44d6)?(_0x4a5c67&&(_0x52b0b9[_0x106419(0xb9,0x60,-_0x7a49d9._0x3b400e,-0x1d)](_0x4a5c67),_0x4a5c67=''),_0x52d29d++):(_0x4a5c67+=_0x4b44d6,_0x52d29d++);}}function _0x12599c(_0x1b6a02,_0x5e9ae0,_0x427564,_0x2bfbd6){return _0x257320(_0x1b6a02-0x185,_0x5e9ae0-0x109,_0x427564-_0x26237b._0x3838f4,_0x2bfbd6);}if(_0x4a5c67)_0x52b0b9[_0x106419(0x189,_0x7a49d9._0xd1e964,-0x7,0x87)](_0x4a5c67);return _0x52b0b9;}function renderCommandInstructions(_0x3a885b){const _0x3f032b={_0x3e981e:0x527,_0x1e097d:0x4fa,_0x5edb30:0x496,_0x2b4de3:0x51b,_0x2265e4:0x344,_0x331425:0x403,_0x4d9333:0x1f9,_0x331fdc:0x1d5,_0x4c80e4:0x411,_0x55df8f:0x3ab,_0xfe8da3:0x394,_0x308be5:0x337,_0x51ebea:0x1cb,_0x140a9c:0x1d5,_0x18143b:0x628,_0x536ee9:0x5ae,_0x5b6989:0x352,_0x8f42c4:0x19f,_0x57d423:0xb6,_0x2afa84:0x136,_0x4f5180:0x33f,_0x586198:0x2ee,_0x1575fc:0x1d8,_0x1533fa:0x2c0},_0xc8a11e={_0x2b33e1:0xf},_0xfb090a={_0x205370:0x407,_0x3bebd1:0x40f,_0x5c03ed:0x2f7},_0x3baf75={_0xcfaae1:0x18d};let _0x416a12=_0x3a885b[_0x2c8c2f(0x226,0x30,0x2c4,0x1a2)],_0x5b18b2=![];const _0x7adcdd=tokenizeCommandArguments(_0x3a885b[_0x2c8285(_0x3f032b._0x3e981e,_0x3f032b._0x1e097d,0x5a2,_0x3f032b._0x5edb30)]);function _0x2c8c2f(_0xc0c8e5,_0x3808a7,_0x32a626,_0x359d2a){return _0x257320(_0xc0c8e5-0x43,_0x3808a7-0x1e4,_0x359d2a- -_0x3baf75._0xcfaae1,_0x32a626);}_0x416a12=_0x416a12[_0x2c8c2f(0x516,0x2fb,_0x3f032b._0x2b4de3,0x403)](/\$ARGUMENTS\[(\d+)\]/g,(_0x48c732,_0x493eb8)=>{return _0x5b18b2=!![],_0x7adcdd[Number(_0x493eb8)]??'';}),_0x416a12=_0x416a12[_0x2c8c2f(0x320,0x2e3,_0x3f032b._0x2265e4,_0x3f032b._0x331425)](/\$ARGUMENTS\b/g,()=>{const _0x272ab1={_0x246ba6:0x191,_0xd1b40b:0x87};function _0x37324c(_0x1a8af4,_0x1f4333,_0x106774,_0x484a1a){return _0x2c8285(_0x1a8af4-_0x272ab1._0x246ba6,_0x1f4333-0x6f,_0x1a8af4,_0x106774- -_0x272ab1._0xd1b40b);}return _0x5b18b2=!![],_0x3a885b[_0x37324c(_0xfb090a._0x205370,0x2fc,_0xfb090a._0x3bebd1,_0xfb090a._0x5c03ed)];});if(_0x3a885b[_0x2c8c2f(0x243,_0x3f032b._0x4d9333,0x2cb,_0x3f032b._0x331fdc)]&&_0x3a885b[_0x2c8285(0x267,0x45d,0x500,0x3ab)]['length']>0x0)for(let _0x2a77ad=0x0;_0x2a77ad<_0x3a885b[_0x2c8285(0x43c,0x3f4,_0x3f032b._0x4c80e4,_0x3f032b._0x55df8f)][_0x2c8c2f(0x37e,_0x3f032b._0xfe8da3,0x463,0x394)];_0x2a77ad++){const _0x35362d=_0x3a885b[_0x2c8c2f(_0x3f032b._0x308be5,_0x3f032b._0x51ebea,0x1b1,_0x3f032b._0x140a9c)][_0x2a77ad];if(_0x35362d){const _0x58a4f7=new RegExp('\x5c$'+_0x35362d+'\x5cb','g');_0x416a12=_0x416a12[_0x2c8285(0x536,_0x3f032b._0x18143b,0x4bb,0x5d9)](_0x58a4f7,()=>{return _0x5b18b2=!![],_0x7adcdd[_0x2a77ad]??'';});}}function _0x2c8285(_0xafb58,_0x300c75,_0x539d9d,_0x442083){return _0x257320(_0xafb58-_0xc8a11e._0x2b33e1,_0x300c75-0xb5,_0x442083-0x49,_0x539d9d);}return _0x416a12=_0x416a12[_0x2c8c2f(0x553,0x3b8,0x3e0,_0x3f032b._0x331425)](/\$(\d+)\b/g,(_0xa1a57,_0x40ff49)=>{return _0x5b18b2=!![],_0x7adcdd[Number(_0x40ff49)]??'';}),!_0x5b18b2&&_0x3a885b[_0x2c8285(_0x3f032b._0x536ee9,0x5f8,_0x3f032b._0x5b6989,_0x3f032b._0x5edb30)][_0x2c8c2f(_0x3f032b._0x8f42c4,_0x3f032b._0x57d423,0x74,_0x3f032b._0x2afa84)]()&&(_0x416a12=_0x416a12+_0x2c8285(0x3e5,0x2b5,_0x3f032b._0x4f5180,_0x3f032b._0x586198)+_0x3a885b[_0x2c8c2f(0x2f8,0x25b,_0x3f032b._0x1575fc,_0x3f032b._0x1533fa)]),_0x416a12;}var PROVIDER_API_KEY_ENVS=[{'env':_0x3342ed(0x419,0x2af,0x38b,0x466),'provider':_0x257320(0x476,0x246,0x388,0x3d4)},{'env':'ANTHROPIC_API_KEY','provider':_0x257320(0x4ea,0x491,0x528,0x63c)},{'env':_0x3342ed(0x5dd,0x4cd,0x4c7,0x410),'provider':_0x257320(0x3b6,0x213,0x2c1,0x386)},{'env':'GITHUB_TOKEN','provider':_0x3342ed(0x29e,0x37d,0x235,0x35c)},{'env':_0x257320(0x38b,0x327,0x464,0x305),'provider':'deepinfra'},{'env':'ZAI_API_KEY','provider':_0x3342ed(0x458,0x43c,0x431,0x573)},{'env':_0x257320(0x4e2,0x4ab,0x3a1,0x4d8),'provider':_0x3342ed(0x455,0x2cd,0x396,0x2e2)},{'env':_0x257320(0x357,0x353,0x325,0x20d),'provider':_0x3342ed(0x2e9,0x1c2,0x335,0x463)},{'env':'KIMI_API_KEY','provider':'kimi'},{'env':'OPENAI_API_KEY','provider':_0x257320(0x445,0x4ad,0x529,0x56f)},{'env':'DEEPSEEK_API_KEY','provider':'deepseek'}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0x257320(0x1e9,0x255,0x31d,0x1f6)](_0x131cf9=>_0x131cf9[_0x257320(0x235,0x369,0x3a7,0x4bc)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,_0x257320(0x3a9,0x209,0x2b2,0x409),_0x3342ed(0x2ad,0x377,0x275,0x14a),_0x3342ed(0x491,0x404,0x4b2,0x453)];function _0x3342ed(_0xe1e24c,_0x1841e0,_0x35a439,_0x59b1e9){return _0x1df5(_0x35a439-0xc5,_0x1841e0);}var chatModelAuthSchemeSchema=z[_0x3342ed(0x28e,0x445,0x3ef,0x2c2)]([_0x3342ed(0x2ce,0x37b,0x3d0,0x358),'x-api-key']),apiKeyAuthSchema=z[_0x3342ed(0x109,0x385,0x264,0x3a2)]({'type':z[_0x3342ed(0x43e,0x24c,0x392,0x4b7)](_0x257320(0x414,0x3b6,0x2c2,0x3a6)),'apiKey':z[_0x257320(0x495,0x609,0x518,0x4e1)](),'authScheme':chatModelAuthSchemeSchema['optional']()})[_0x257320(0x543,0x40f,0x47e,0x4bd)](),oauthAuthSchema=z[_0x3342ed(0x289,0x1df,0x264,0x2d6)]({'type':z[_0x257320(0x46a,0x535,0x41e,0x3b7)](_0x257320(0x61e,0x638,0x56b,0x54f)),'access':z[_0x257320(0x4c7,0x3ba,0x518,0x55e)](),'refresh':z[_0x3342ed(0x5b3,0x5ab,0x48c,0x536)](),'expires':z[_0x3342ed(0x2d2,0x217,0x332,0x34f)]()['optional'](),'authScheme':chatModelAuthSchemeSchema[_0x257320(0x3d6,0x344,0x48b,0x4ec)]()})['passthrough'](),authMethodSchema=z[_0x257320(0x4e3,0x466,0x3c4,0x298)]([apiKeyAuthSchema,oauthAuthSchema]),modelDefinitionSchema=z['object']({'id':z['string'](),'name':z[_0x3342ed(0x4e9,0x3fc,0x48c,0x38f)]()[_0x257320(0x530,0x533,0x48b,0x4b2)]()})['passthrough'](),modelConfigSchema=z['union']([z['literal'](![]),z['literal'](!![]),z[_0x3342ed(0x37b,0x598,0x48c,0x3a8)](),z['array'](z[_0x3342ed(0x39f,0x5de,0x48c,0x446)]()),z[_0x257320(0x451,0x544,0x591,0x460)](modelDefinitionSchema)]),chatModelSurfaceSchema=z[_0x3342ed(0x357,0x311,0x3ef,0x4e2)]([_0x3342ed(0x421,0x5cc,0x4bc,0x5a5),_0x257320(0x30b,0x424,0x402,0x308),_0x3342ed(0x218,0x265,0x377,0x429),_0x257320(0x415,0x675,0x52c,0x67f)]),providerConfigSchema=z[_0x3342ed(0x1d8,0x290,0x264,0x3ab)]({'apiKey':z['string']()[_0x257320(0x5c6,0x57f,0x48b,0x3b9)](),'token':z[_0x257320(0x540,0x49f,0x518,0x431)]()[_0x257320(0x4b5,0x491,0x48b,0x45b)](),'defaultModel':z[_0x3342ed(0x352,0x3d8,0x48c,0x5a4)]()['optional'](),'smallModel':z[_0x3342ed(0x4e3,0x5d3,0x48c,0x415)]()[_0x257320(0x58d,0x536,0x48b,0x554)](),'currentAuth':z[_0x257320(0x404,0x51b,0x518,0x466)]()['optional'](),'auth':z[_0x257320(0x671,0x4d0,0x591,0x45d)](authMethodSchema)[_0x257320(0x477,0x5aa,0x48b,0x539)](),'surface':chatModelSurfaceSchema[_0x3342ed(0x55f,0x303,0x3ff,0x42e)](),'baseUrl':z['string']()[_0x257320(0x41e,0x31f,0x48b,0x312)](),'models':modelConfigSchema['optional'](),'customHeaders':z[_0x3342ed(0x467,0x4f4,0x410,0x4f3)](z[_0x257320(0x461,0x624,0x518,0x50a)](),z['string']())['optional']()})[_0x257320(0x4b5,0x559,0x47e,0x34d)](),mcpServerConfigSchema=z[_0x3342ed(0x2cf,0x14e,0x264,0x1c0)]({'command':z[_0x3342ed(0x488,0x5a1,0x48c,0x578)]()[_0x257320(0x5eb,0x4c4,0x48b,0x4b7)](),'args':z[_0x3342ed(0x3ac,0x5ee,0x505,0x477)](z[_0x257320(0x652,0x5d8,0x518,0x658)]())[_0x257320(0x42c,0x5a6,0x48b,0x5be)](),'env':z[_0x257320(0x50b,0x577,0x49c,0x4ce)](z['string'](),z[_0x3342ed(0x591,0x4c9,0x48c,0x580)]())['optional'](),'transport':z['enum']([_0x3342ed(0x1b0,0x16e,0x256,0x1e1),_0x257320(0x5b8,0x516,0x575,0x677)])['optional'](),'url':z[_0x257320(0x662,0x50b,0x518,0x4f6)]()[_0x257320(0x446,0x3b2,0x48b,0x5c7)](),'headers':z[_0x257320(0x580,0x571,0x49c,0x5e8)](z[_0x257320(0x602,0x411,0x518,0x62e)](),z[_0x3342ed(0x339,0x459,0x48c,0x334)]())[_0x3342ed(0x471,0x4d3,0x3ff,0x3ca)](),'prefix':z[_0x257320(0x639,0x591,0x518,0x4e5)]()['optional'](),'timeoutMs':z[_0x257320(0x37b,0x28f,0x3be,0x2a4)]()['optional'](),'enabled':z[_0x257320(0x35e,0x2f6,0x365,0x391)]()[_0x3342ed(0x2bd,0x3cc,0x3ff,0x40f)](),'auth':z[_0x3342ed(0xed,0x267,0x264,0x361)]({'type':z[_0x3342ed(0x4e3,0x337,0x3ef,0x325)]([_0x257320(0x39e,0x491,0x370,0x2ee),'bearer',_0x3342ed(0x657,0x595,0x4df,0x3d2)]),'token':z[_0x257320(0x529,0x4c8,0x518,0x65a)]()[_0x3342ed(0x3a4,0x3ad,0x3ff,0x3e4)](),'oauth':z[_0x257320(0x43b,0x18a,0x2f0,0x2bf)]({'clientId':z[_0x3342ed(0x381,0x407,0x48c,0x578)]()[_0x3342ed(0x3cc,0x3ed,0x3ff,0x34f)](),'clientMetadataUrl':z['string']()[_0x257320(0x424,0x4e6,0x48b,0x528)](),'authorizationServer':z['string']()[_0x3342ed(0x525,0x288,0x3ff,0x3b5)](),'scopes':z['array'](z[_0x257320(0x3a9,0x487,0x518,0x433)]())['optional'](),'tokenStorageKey':z[_0x3342ed(0x49f,0x543,0x48c,0x5b7)]()['optional']()})[_0x3342ed(0x50a,0x453,0x3f2,0x50c)]()[_0x3342ed(0x41f,0x48c,0x3ff,0x387)]()})[_0x3342ed(0x2b6,0x489,0x3f2,0x2b2)]()[_0x257320(0x457,0x3f7,0x48b,0x4fa)]()})[_0x3342ed(0x34d,0x550,0x3f2,0x4c3)](),mcpSettingsSchema=z['object']({'servers':z[_0x257320(0x5ee,0x509,0x49c,0x540)](z[_0x3342ed(0x4c6,0x410,0x48c,0x4b6)](),mcpServerConfigSchema)[_0x3342ed(0x303,0x454,0x3ff,0x4bf)](),'allowedTools':z[_0x257320(0x451,0x48f,0x49c,0x4e7)](z[_0x3342ed(0x43d,0x5f5,0x48c,0x424)](),z['record'](z[_0x3342ed(0x59c,0x532,0x48c,0x448)](),z[_0x3342ed(0x1e5,0x203,0x2d9,0x37a)]()))[_0x3342ed(0x522,0x531,0x3ff,0x43b)](),'defaultTimeoutMs':z[_0x257320(0x363,0x47d,0x3be,0x492)]()['optional']()})[_0x257320(0x4d4,0x309,0x47e,0x590)](),skillsSettingsSchema=z[_0x3342ed(0x390,0x1b9,0x264,0x1c5)]({'enabled':z['boolean']()[_0x257320(0x5ba,0x3d0,0x48b,0x354)](),'includeDefaults':z['boolean']()[_0x3342ed(0x44f,0x3f1,0x3ff,0x3c2)](),'directories':z[_0x257320(0x69a,0x4c4,0x591,0x50c)](z[_0x257320(0x4fb,0x570,0x518,0x620)]())['optional'](),'exclude':z[_0x3342ed(0x4b9,0x4ec,0x505,0x45d)](z[_0x3342ed(0x327,0x5b2,0x48c,0x58a)]())[_0x257320(0x3b7,0x54b,0x48b,0x39b)]()})['passthrough'](),commandsSettingsSchema=z[_0x3342ed(0x1c0,0x150,0x264,0x32f)]({'enabled':z[_0x3342ed(0x2c5,0x235,0x2d9,0x267)]()[_0x257320(0x340,0x566,0x48b,0x4e2)](),'directories':z[_0x3342ed(0x422,0x664,0x505,0x64f)](z[_0x3342ed(0x517,0x44a,0x48c,0x5f8)]())['optional']()})[_0x3342ed(0x339,0x492,0x3f2,0x4d2)](),agentsSettingsSchema=z['object']({'enabled':z['boolean']()[_0x3342ed(0x4ca,0x336,0x3ff,0x4c6)](),'includeDefaults':z[_0x257320(0x4d0,0x2aa,0x365,0x426)]()['optional'](),'directories':z[_0x3342ed(0x5fc,0x4f6,0x505,0x5d3)](z[_0x3342ed(0x40c,0x332,0x48c,0x343)]())['optional']()})[_0x3342ed(0x490,0x390,0x3f2,0x559)](),uiThemeSettingsSchema=z[_0x3342ed(0x363,0x176,0x264,0x35a)]({'mode':z[_0x257320(0x44d,0x430,0x47b,0x30f)]([_0x3342ed(0x2cf,0x30f,0x384,0x358),_0x3342ed(0x431,0x416,0x41e,0x342),_0x3342ed(0x23c,0x3c7,0x25e,0x2d0)])[_0x3342ed(0x3e2,0x337,0x3ff,0x3a3)](),'colorLevel':z['enum']([_0x3342ed(0x3b3,0x2c1,0x384,0x3dc),'none',_0x3342ed(0x307,0x17f,0x2ce,0x1b2),_0x3342ed(0x363,0x26f,0x22f,0x15f),_0x257320(0x32e,0x587,0x47c,0x3a7)])[_0x3342ed(0x28c,0x320,0x3ff,0x31b)](),'backgrounds':z[_0x257320(0x4de,0x562,0x47b,0x402)]([_0x257320(0x337,0x4ab,0x410,0x450),'on',_0x257320(0x391,0x2c3,0x2aa,0x366)])[_0x3342ed(0x379,0x2c5,0x3ff,0x3cb)](),'messageStyle':z[_0x3342ed(0x4e7,0x2c6,0x3ef,0x4fb)]([_0x257320(0x490,0x489,0x515,0x3fb),'boxed'])[_0x257320(0x573,0x4f0,0x48b,0x4a5)]()})['passthrough'](),statuslineSegmentSchema=z[_0x3342ed(0x2e2,0x32a,0x3ef,0x2f2)](['model','session',_0x3342ed(0x1ee,0x2ce,0x363,0x375),_0x257320(0x485,0x4fe,0x3a6,0x32a),_0x257320(0x5f3,0x599,0x540,0x41f),_0x3342ed(0x34f,0x59b,0x476,0x4f4),_0x3342ed(0x3cd,0x244,0x2b8,0x351),'requests',_0x3342ed(0x244,0x4b0,0x35a,0x3d7),_0x3342ed(0x589,0x5bf,0x4ba,0x525),_0x257320(0x46b,0x2a6,0x3a8,0x2c6),_0x257320(0x362,0x23a,0x2bc,0x3a8),_0x257320(0x3e0,0x4a2,0x508,0x42b),'memory',_0x257320(0x481,0x31f,0x39f,0x3e3)]),statuslineItemSchema=z[_0x257320(0x532,0x26f,0x3c4,0x25c)]([statuslineSegmentSchema,z['literal']('|')]),statuslineRowSchema=z[_0x257320(0x665,0x57b,0x591,0x709)](statuslineItemSchema);function _0x257320(_0x49fac8,_0x3b91d4,_0x29729b,_0xc6658c){return _0x1df5(_0x29729b-0x151,_0xc6658c);}var statuslineConfigSchema=z['object']({'rows':z['tuple']([statuslineRowSchema,statuslineRowSchema])[_0x3342ed(0x542,0x570,0x3ff,0x2d0)]()})[_0x3342ed(0x429,0x3af,0x3f2,0x4be)](),memorySettingsSchema=z[_0x257320(0x2ce,0x17c,0x2f0,0x3a8)]({'version':z[_0x257320(0x34c,0x4ac,0x41e,0x564)](0x2)[_0x257320(0x430,0x56c,0x48b,0x52c)](),'retrieval':z[_0x3342ed(0x24c,0x23e,0x264,0x207)]({'engine':z[_0x257320(0x436,0x509,0x41e,0x344)](_0x3342ed(0x446,0x353,0x39c,0x44f))[_0x257320(0x574,0x4f3,0x48b,0x50d)](),'candidateLimit':z[_0x3342ed(0x3b6,0x36f,0x332,0x21a)]()[_0x257320(0x5bb,0x3c3,0x48b,0x509)](),'activeCandidateLimit':z['number']()['optional'](),'activeEnabled':z[_0x257320(0x1f4,0x434,0x365,0x49a)]()['optional'](),'maxQueriesPerTurn':z[_0x3342ed(0x290,0x2da,0x332,0x3e4)]()[_0x3342ed(0x470,0x30a,0x3ff,0x2a5)](),'coreInjectTokenBudget':z[_0x3342ed(0x1d4,0x42b,0x332,0x460)]()[_0x3342ed(0x457,0x359,0x3ff,0x48b)](),'injectTokenBudget':z[_0x3342ed(0x306,0x3b4,0x332,0x3ec)]()[_0x3342ed(0x518,0x3d0,0x3ff,0x512)](),'minScore':z[_0x3342ed(0x4a7,0x47c,0x332,0x210)]()[_0x257320(0x43f,0x518,0x48b,0x336)](),'freshnessHalfLifeDays':z[_0x3342ed(0x376,0x20d,0x332,0x33b)]()[_0x257320(0x5ce,0x3a2,0x48b,0x448)]()})[_0x257320(0x4fc,0x362,0x47e,0x4bc)]()[_0x3342ed(0x362,0x2bc,0x3ff,0x4cd)](),'extraction':z[_0x3342ed(0x22f,0x331,0x264,0x1f9)]({'enabled':z[_0x3342ed(0x248,0x266,0x2d9,0x345)]()[_0x3342ed(0x308,0x42b,0x3ff,0x3ae)](),'provider':z[_0x257320(0x446,0x5da,0x518,0x5a5)]()[_0x3342ed(0x563,0x440,0x3ff,0x570)](),'model':z[_0x257320(0x488,0x5c7,0x518,0x40d)]()[_0x3342ed(0x289,0x2e7,0x3ff,0x2de)](),'sensitiveFilter':z['boolean']()[_0x257320(0x3d2,0x3a8,0x48b,0x371)]()})[_0x257320(0x5c1,0x4b3,0x47e,0x50e)]()['optional'](),'index':z[_0x3342ed(0x2aa,0x2b6,0x264,0x3d0)]({'persisted':z[_0x257320(0x2db,0x275,0x365,0x2aa)]()[_0x3342ed(0x30b,0x2bd,0x3ff,0x2b8)](),'flushIntervalMs':z[_0x3342ed(0x453,0x2ec,0x332,0x1eb)]()[_0x257320(0x556,0x39a,0x48b,0x519)]()})[_0x3342ed(0x2c7,0x45d,0x3f2,0x27f)]()[_0x257320(0x5de,0x45c,0x48b,0x56b)](),'enabled':z[_0x3342ed(0x3a5,0x177,0x2d9,0x340)]()[_0x257320(0x59b,0x3d4,0x48b,0x3d4)](),'saveTool':z[_0x3342ed(0x34d,0x3b3,0x2d9,0x31d)]()[_0x257320(0x341,0x560,0x48b,0x524)](),'model':z['string']()['optional'](),'provider':z[_0x257320(0x42a,0x3df,0x518,0x552)]()[_0x257320(0x532,0x314,0x48b,0x56f)](),'maxInjectionTokens':z[_0x257320(0x35d,0x436,0x3be,0x4ae)]()['optional'](),'backgroundExtraction':z['boolean']()[_0x3342ed(0x47c,0x322,0x3ff,0x383)]()})[_0x3342ed(0x505,0x2ae,0x3f2,0x33d)](),recentModelSchema=z[_0x257320(0x36c,0x38c,0x2f0,0x325)]({'provider':z[_0x257320(0x460,0x5af,0x518,0x3e9)](),'model':z[_0x257320(0x5c2,0x642,0x518,0x67a)](),'usedAt':z[_0x257320(0x4cb,0x35c,0x3be,0x333)]()})[_0x257320(0x525,0x571,0x47e,0x4fa)](),lspServerEntrySchema=z[_0x257320(0x3d9,0x206,0x2f0,0x3a4)]({'disabled':z[_0x257320(0x308,0x282,0x365,0x4d2)]()[_0x3342ed(0x2b4,0x46f,0x3ff,0x39d)](),'command':z['string']()[_0x257320(0x39d,0x51a,0x48b,0x425)](),'args':z['array'](z[_0x257320(0x567,0x425,0x518,0x5a7)]())[_0x3342ed(0x452,0x562,0x3ff,0x2ca)](),'rootMarkers':z[_0x3342ed(0x50e,0x623,0x505,0x3df)](z[_0x257320(0x4b1,0x5e7,0x518,0x62c)]())[_0x3342ed(0x3f8,0x496,0x3ff,0x54d)]()})[_0x257320(0x369,0x46a,0x47e,0x412)](),lspConfigSchema=z['object']({'enabled':z[_0x257320(0x2fd,0x4ce,0x365,0x493)]()[_0x257320(0x4c1,0x4c6,0x48b,0x429)](),'servers':z[_0x257320(0x504,0x4e4,0x49c,0x414)](z[_0x3342ed(0x3ce,0x590,0x48c,0x447)](),lspServerEntrySchema)[_0x257320(0x467,0x39c,0x48b,0x4d9)]()})[_0x257320(0x3e6,0x44f,0x47e,0x51e)](),serverEndpointSchema=z[_0x257320(0x2e3,0x364,0x2f0,0x1df)]({'url':z['string'](),'token':z[_0x257320(0x5fa,0x547,0x518,0x3ce)]()['optional']()})['passthrough'](),commandHookConfigSchema=z[_0x257320(0x1cc,0x42b,0x2f0,0x466)]({'type':z['literal']('command'),'command':z['string'](),'timeout':z['number']()[_0x257320(0x3a8,0x33b,0x48b,0x32d)]()}),hookMatcherGroupSchema=z[_0x257320(0x33a,0x1e0,0x2f0,0x408)]({'matcher':z['string']()[_0x3342ed(0x43f,0x43d,0x3ff,0x3e1)](),'hooks':z['array'](commandHookConfigSchema)}),hooksConfigSchema=z['object']({'PreToolUse':z[_0x257320(0x61d,0x65c,0x591,0x454)](hookMatcherGroupSchema)['optional'](),'PostToolUse':z[_0x257320(0x65d,0x447,0x591,0x59e)](hookMatcherGroupSchema)['optional'](),'UserPromptSubmit':z[_0x3342ed(0x43a,0x4fc,0x505,0x465)](hookMatcherGroupSchema)['optional'](),'Stop':z[_0x257320(0x46f,0x568,0x591,0x543)](hookMatcherGroupSchema)[_0x257320(0x436,0x430,0x48b,0x4f5)](),'Notification':z[_0x3342ed(0x40b,0x5f5,0x505,0x5b7)](hookMatcherGroupSchema)[_0x257320(0x47a,0x58a,0x48b,0x46d)](),'ToolApprovalRequest':z[_0x3342ed(0x52b,0x557,0x505,0x4a5)](hookMatcherGroupSchema)[_0x3342ed(0x499,0x55c,0x3ff,0x415)](),'SessionStart':z[_0x3342ed(0x48c,0x5ee,0x505,0x581)](hookMatcherGroupSchema)[_0x257320(0x44e,0x3b6,0x48b,0x3a4)](),'SessionEnd':z[_0x3342ed(0x608,0x423,0x505,0x517)](hookMatcherGroupSchema)[_0x3342ed(0x2d0,0x344,0x3ff,0x43f)]()}),cliConfigSchema=z[_0x3342ed(0x1c8,0x307,0x264,0x3a2)]({'activeProvider':z[_0x3342ed(0x443,0x4e8,0x48c,0x39f)]()[_0x3342ed(0x522,0x35b,0x3ff,0x48d)](),'activeModel':z[_0x257320(0x3d4,0x691,0x518,0x455)]()['optional'](),'apiKey':z[_0x257320(0x558,0x5a2,0x518,0x52a)]()['optional'](),'providers':z[_0x257320(0x5f6,0x3f7,0x49c,0x3c4)](z[_0x3342ed(0x582,0x325,0x48c,0x4a7)](),providerConfigSchema)['optional'](),'mcp':mcpSettingsSchema[_0x3342ed(0x555,0x2bf,0x3ff,0x55f)](),'skills':skillsSettingsSchema[_0x3342ed(0x2f2,0x2d2,0x3ff,0x514)](),'agents':agentsSettingsSchema['optional'](),'commands':commandsSettingsSchema[_0x257320(0x483,0x401,0x48b,0x5ca)](),'skillsEnabled':z[_0x3342ed(0x461,0x312,0x410,0x40d)](z['string'](),z[_0x3342ed(0x2c9,0x380,0x2d9,0x2f9)]())[_0x3342ed(0x578,0x45e,0x3ff,0x32c)](),'allowedDirs':z[_0x3342ed(0x3df,0x5de,0x505,0x601)](z[_0x3342ed(0x510,0x38a,0x48c,0x499)]())[_0x257320(0x5f8,0x5f8,0x48b,0x470)](),'mcpEnabled':z[_0x3342ed(0x33e,0x453,0x410,0x4cc)](z[_0x3342ed(0x396,0x40e,0x48c,0x4d1)](),z[_0x3342ed(0x3e5,0x328,0x2d9,0x1fd)]())['optional'](),'commandsEnabled':z[_0x3342ed(0x2bb,0x43c,0x410,0x395)](z[_0x3342ed(0x503,0x446,0x48c,0x410)](),z[_0x3342ed(0x426,0x305,0x2d9,0x229)]())['optional'](),'memory':memorySettingsSchema[_0x257320(0x455,0x31c,0x48b,0x600)](),'session':z[_0x257320(0x184,0x467,0x2f0,0x1dd)]({'memPersist':z[_0x3342ed(0x28b,0x36e,0x2d9,0x2ea)]()['optional'](),'persistEventLog':z['boolean']()['optional'](),'persistHttpLog':z['boolean']()[_0x3342ed(0x2b1,0x3b7,0x3ff,0x365)]()})[_0x257320(0x3d8,0x5be,0x47e,0x3d5)]()['optional'](),'requireToolApproval':z[_0x257320(0x39c,0x35d,0x365,0x3d6)]()[_0x3342ed(0x524,0x3c7,0x3ff,0x506)](),'thinking':z['enum'](['OFF',_0x257320(0x3cc,0x645,0x52d,0x3d1),_0x257320(0x4da,0x5a9,0x501,0x4db),_0x257320(0x5a0,0x4a5,0x579,0x55c)])[_0x3342ed(0x419,0x4c4,0x3ff,0x44a)](),'streamingChunks':z[_0x3342ed(0x1ef,0x346,0x2d9,0x42f)]()[_0x3342ed(0x539,0x3a8,0x3ff,0x351)](),'agentsEnabled':z['record'](z[_0x3342ed(0x40f,0x49e,0x48c,0x5f8)](),z['boolean']())[_0x3342ed(0x46b,0x28a,0x3ff,0x34d)](),'recentModels':z['array'](recentModelSchema)[_0x3342ed(0x383,0x38b,0x3ff,0x502)](),'lsp':lspConfigSchema[_0x3342ed(0x472,0x2f8,0x3ff,0x475)](),'servers':z['record'](z[_0x3342ed(0x4b6,0x5b8,0x48c,0x4b5)](),serverEndpointSchema)[_0x257320(0x521,0x374,0x48b,0x41c)](),'ui':z[_0x257320(0x225,0x3d3,0x2f0,0x20c)]({'theme':uiThemeSettingsSchema[_0x257320(0x42f,0x394,0x48b,0x3c5)](),'statusline':statuslineConfigSchema[_0x3342ed(0x2eb,0x3c2,0x3ff,0x4b0)]()})[_0x3342ed(0x303,0x4f5,0x3f2,0x4a6)]()[_0x257320(0x550,0x4fd,0x48b,0x37d)](),'tools':z[_0x3342ed(0x37d,0x538,0x410,0x35c)](z[_0x257320(0x4c6,0x40f,0x518,0x5cc)](),z['unknown']())[_0x3342ed(0x3f5,0x542,0x3ff,0x48b)](),'hooks':hooksConfigSchema[_0x3342ed(0x2d1,0x3a5,0x3ff,0x388)]()})[_0x257320(0x51a,0x4bc,0x47e,0x438)](),workspaceOverlaySchema=z[_0x3342ed(0x310,0x1d1,0x264,0x1d2)]({'root':z[_0x3342ed(0x38c,0x436,0x48c,0x51d)]()[_0x3342ed(0x2ea,0x521,0x3ff,0x333)](),'allowedDirs':z['array'](z[_0x3342ed(0x32d,0x40d,0x48c,0x421)]())[_0x3342ed(0x400,0x4c8,0x3ff,0x4cb)](),'activeProvider':z[_0x257320(0x4af,0x44f,0x518,0x3d5)]()[_0x257320(0x4fa,0x4bd,0x48b,0x495)](),'activeModel':z[_0x3342ed(0x351,0x389,0x48c,0x5b1)]()[_0x3342ed(0x4d4,0x4d0,0x3ff,0x47a)](),'mcp':mcpSettingsSchema['optional'](),'skills':skillsSettingsSchema['optional'](),'agents':agentsSettingsSchema[_0x3342ed(0x37a,0x34c,0x3ff,0x38a)](),'commands':commandsSettingsSchema[_0x257320(0x525,0x4db,0x48b,0x3c8)](),'hooks':hooksConfigSchema[_0x257320(0x3e0,0x4d8,0x48b,0x479)](),'memory':memorySettingsSchema[_0x3342ed(0x28b,0x330,0x3ff,0x434)](),'mcpEnabled':z[_0x257320(0x5b8,0x576,0x49c,0x556)](z['string'](),z[_0x3342ed(0x40e,0x2ee,0x2d9,0x338)]())[_0x257320(0x497,0x5a8,0x48b,0x4ae)](),'skillsEnabled':z[_0x3342ed(0x3eb,0x509,0x410,0x498)](z[_0x257320(0x4c0,0x5b5,0x518,0x520)](),z[_0x3342ed(0x17f,0x1a8,0x2d9,0x3a4)]())[_0x3342ed(0x3d7,0x3b8,0x3ff,0x3bd)](),'agentsEnabled':z[_0x257320(0x3b3,0x5b2,0x49c,0x3a5)](z[_0x3342ed(0x44f,0x5fb,0x48c,0x537)](),z[_0x3342ed(0x1b7,0x35b,0x2d9,0x2b6)]())[_0x3342ed(0x4ee,0x362,0x3ff,0x42d)](),'commandsEnabled':z['record'](z['string'](),z[_0x257320(0x300,0x33c,0x365,0x373)]())[_0x257320(0x397,0x544,0x48b,0x5b1)]()})['passthrough']();function buildDescription(_0x167b36){const _0x1e4538={_0x42dc89:0x33f,_0x822214:0x49c,_0x5da20b:0x684,_0xfff746:0x6a2,_0x3a48bb:0x2be,_0x9dd5fb:0x4b7,_0x338cc8:0x3aa,_0x243fef:0x52b,_0xf1648:0x655,_0x12876a:0x4cc,_0x569fdd:0x27d,_0x30fe09:0x3af,_0x956a19:0x4d0,_0x45bc4f:0x396,_0xce3896:0x274},_0x4f2937={_0x34b9b0:0xee,_0x15b82b:0x133};if(_0x167b36[_0x249d95(0x2b8,_0x1e4538._0x42dc89,0x3ee,_0x1e4538._0x822214)]===0x0)return[_0x961cec(_0x1e4538._0x5da20b,0x52b,_0x1e4538._0xfff746,0x5c3),_0x961cec(0x3f7,0x3ec,0x4b7,_0x1e4538._0x3a48bb),'No\x20commands\x20are\x20currently\x20available.'][_0x249d95(0x3ea,_0x1e4538._0x9dd5fb,0x38f,_0x1e4538._0x338cc8)]('\x0a');function _0x249d95(_0x398e1a,_0x425732,_0x316119,_0x572dfe){return _0x257320(_0x398e1a-0x80,_0x425732-_0x4f2937._0x34b9b0,_0x316119- -_0x4f2937._0x15b82b,_0x425732);}function _0x961cec(_0x29cd8e,_0x356c6b,_0x5c2a25,_0x4ed802){return _0x257320(_0x29cd8e-0x16f,_0x356c6b-0x177,_0x356c6b-0x79,_0x29cd8e);}const _0x9cb3c9=[_0x961cec(0x448,_0x1e4538._0x243fef,_0x1e4538._0xf1648,_0x1e4538._0x12876a),_0x249d95(_0x1e4538._0x569fdd,_0x1e4538._0x30fe09,0x240,0x39d),'Available\x20commands:',..._0x167b36[_0x961cec(_0x1e4538._0x956a19,_0x1e4538._0x45bc4f,0x239,_0x1e4538._0xce3896)](_0x31ede6=>_0x31ede6[_0x249d95(0x244,0x294,0x338,0x23c)]?'-\x20'+_0x31ede6[_0x249d95(0x2b6,0x1cb,0x1f9,0x345)]+'\x20'+_0x31ede6[_0x249d95(0x3a7,0x2a4,0x338,0x2be)]+':\x20'+_0x31ede6[_0x961cec(0x37f,0x49a,0x48e,0x35a)]:'-\x20'+_0x31ede6[_0x249d95(0x331,0x329,0x1f9,0x230)]+':\x20'+_0x31ede6['description'])];return _0x9cb3c9['join']('\x0a');}function createInvokeCommandTool(_0xa7bf95){const _0x5d591d={_0x1a62c2:0x15e,_0x195c06:0x204,_0x3524bf:0x75,_0x41c851:0x12d,_0x5200ac:0x6,_0x6b497f:0xff,_0x689023:0x180,_0x187caf:0x1f9,_0xa96474:0x3db,_0x4afca3:0x560,_0x207e7b:0x4b2,_0x30985a:0x61b,_0x2b4176:0x3da},_0x52f113={_0x1b8b30:0x51f,_0xcc87d:0x15d,_0x221c98:0x215,_0x321c00:0x153,_0x114cf9:0x698,_0x413f3a:0x3b7,_0x1f12a0:0x558,_0x2fb94a:0x38f,_0x566fe3:0x22b,_0x132b47:0x14b,_0x546a14:0x380,_0x2c801:0x21a,_0x35525e:0x53e,_0x90fce6:0x52c,_0x3f4a7d:0x2da,_0x575c1e:0x94,_0xef71b6:0x20d,_0x588eed:0x54a,_0x47353d:0x648,_0x3e190a:0x4a0},_0x2a3834={_0x3b57b3:0x33,_0x10f1d7:0x12,_0x6c7f05:0x6},_0x17b3de={_0x557bea:0x1d5},_0x4dfc7f=new Map(_0xa7bf95[_0x57fe2f(_0x5d591d._0x1a62c2,0x162,0x1f7,_0x5d591d._0x195c06)][_0x57fe2f(_0x5d591d._0x3524bf,-_0x5d591d._0x41c851,0x43,_0x5d591d._0x5200ac)](_0x2b753e=>[_0x2b753e['id'],_0x2b753e])),_0x361a32=buildDescription(_0xa7bf95[_0x57fe2f(0xd6,0x144,_0x5d591d._0x6b497f,0x204)]);function _0x57fe2f(_0x430302,_0x541e8a,_0xf16e9,_0x40d9fa){return _0x3342ed(_0x430302-0x8a,_0x430302,_0x40d9fa- -0x28b,_0x40d9fa-0x37);}function _0x36aa38(_0x57b98b,_0x3c3911,_0xf1aae5,_0x1e6e2a){return _0x257320(_0x57b98b-0x11d,_0x3c3911-0x85,_0x57b98b-_0x17b3de._0x557bea,_0x1e6e2a);}return defineTool({'name':_0x57fe2f(0x10d,_0x5d591d._0x689023,0x2b9,_0x5d591d._0x187caf),'description':_0x361a32,'inputSchema':{'type':_0x36aa38(0x4c5,0x5e5,_0x5d591d._0xa96474,_0x5d591d._0x4afca3),'properties':{'name':{'type':_0x57fe2f(0x155,0x350,0x36b,0x201)},'args':{'type':'string'}},'required':[_0x36aa38(0x501,_0x5d591d._0x207e7b,_0x5d591d._0x30985a,_0x5d591d._0x2b4176)]},async *'execute'(_0xf6f098){function _0x50d454(_0xabbda8,_0x2aaa89,_0x637837,_0x2b8ef1){return _0x57fe2f(_0x2aaa89,_0x2aaa89-0x7f,_0x637837-0x14,_0xabbda8-0x15a);}const _0x84de86=_0x4dfc7f['get'](_0xf6f098[_0x314fee(0x3a6,0x4ce,_0x52f113._0x1b8b30,0x453)]);if(!_0x84de86){const _0x405d14=Array[_0x50d454(0x2b7,_0x52f113._0xcc87d,_0x52f113._0x221c98,0x358)](_0x4dfc7f[_0x50d454(_0x52f113._0x321c00,0x138,0x105,0x18e)]())[_0x314fee(_0x52f113._0x114cf9,0x664,0x7c8,0x7b5)](',\x20');throw new ToolExecutionError('Command\x20\x27'+_0xf6f098['name']+_0x314fee(0x444,0x481,_0x52f113._0x413f3a,_0x52f113._0x1f12a0)+_0x405d14,{'name':_0xf6f098[_0x314fee(_0x52f113._0x2fb94a,0x4ce,0x4f2,0x3e2)]});}const _0x4d0280=await _0xa7bf95[_0x50d454(_0x52f113._0x566fe3,_0x52f113._0x132b47,0x398,0x127)](_0x84de86),_0x37f139=_0xf6f098[_0x50d454(0x22f,0x1d9,_0x52f113._0x546a14,0x139)]??'';function _0x314fee(_0x4a3089,_0x3302c9,_0x3663e7,_0x1e0c93){return _0x36aa38(_0x3302c9- -_0x2a3834._0x3b57b3,_0x3302c9-_0x2a3834._0x10f1d7,_0x3663e7-_0x2a3834._0x6c7f05,_0x3663e7);}const _0x3434ef=renderCommandInstructions({'instructions':_0x4d0280[_0x50d454(0x172,0x23c,0x1c7,_0x52f113._0x2c801)],'argumentsText':_0x37f139,'argumentNames':_0x4d0280[_0x314fee(_0x52f113._0x35525e,_0x52f113._0x90fce6,0x61a,0x465)]});return yield createToolOutput(_0x3434ef,{'id':_0x4d0280['id'],'name':_0x4d0280[_0x50d454(0x16f,_0x52f113._0x3f4a7d,_0x52f113._0x575c1e,0xf5)],'path':_0x84de86[_0x50d454(_0x52f113._0xef71b6,0x274,0x1fa,0x363)][_0x314fee(_0x52f113._0x588eed,0x5c7,_0x52f113._0x47353d,_0x52f113._0x3e190a)]}),void 0x0;}});}import{createHash}from'crypto';import{readFile as _0x111af8,rename as _0x1424a8,stat as _0x23c1a2,writeFile as _0x5b5f37}from'fs/promises';import*as _0x593784 from'path';function detectEol(_0xa6a918){const _0x47fcc0={_0x1286d9:0x4a9,_0x1af478:0x3af,_0x58940a:0x484,_0x1d11ae:0x81f,_0x15c7e2:0x658},_0x3bc6a8={_0x177bc9:0x125,_0x5dd41d:0x3c5,_0x1d8509:0x34},_0x5813ed={_0x42052e:0x52,_0x2389ce:0x4e};function _0xe3d093(_0x3ad963,_0x1a49eb,_0x168f9a,_0x6fe8b4){return _0x3342ed(_0x3ad963-_0x5813ed._0x42052e,_0x1a49eb,_0x3ad963-0x1c8,_0x6fe8b4-_0x5813ed._0x2389ce);}function _0x466186(_0x47d936,_0xa364a1,_0x3a1713,_0x131b91){return _0x3342ed(_0x47d936-_0x3bc6a8._0x177bc9,_0x47d936,_0xa364a1- -_0x3bc6a8._0x5dd41d,_0x131b91-_0x3bc6a8._0x1d8509);}return/\r\n/['test'](_0xa6a918[_0xe3d093(_0x47fcc0._0x1286d9,0x3c0,_0x47fcc0._0x1af478,_0x47fcc0._0x58940a)]('utf8'))?_0xe3d093(0x6be,_0x47fcc0._0x1d11ae,_0x47fcc0._0x15c7e2,0x751):'lf';}function normalizeToLf(_0x4b452e){const _0x270dd6={_0x1500c8:0x13c,_0x446bed:0xc5},_0x34ac68={_0x50c67e:0x190};function _0x582584(_0x282125,_0x4c4130,_0x22dde8,_0x34c5fb){return _0x3342ed(_0x282125-_0x34ac68._0x50c67e,_0x4c4130,_0x282125- -0x3c8,_0x34c5fb-0x4a);}return _0x4b452e[_0x582584(_0x270dd6._0x1500c8,0x268,0x169,_0x270dd6._0x446bed)](/\r\n/g,'\x0a');}function convertEol(_0x46890e,_0x4979f0){const _0x2b068b={_0xba5ac6:0xf8,_0x562a48:0x434,_0x477425:0x55d},_0x771e1b={_0x36aa49:0x2ff,_0x2c1c7b:0x2b},_0x4d4b60={_0x4bc790:0x6e};function _0x5d6550(_0x37ef57,_0x5765cb,_0x40239b,_0x37f6dc){return _0x257320(_0x37ef57-_0x4d4b60._0x4bc790,_0x5765cb-0xc2,_0x37ef57- -0x94,_0x5765cb);}function _0x3f87c3(_0x2756a2,_0x1c3c3f,_0xcc28c2,_0x220812){return _0x3342ed(_0x2756a2-0x1db,_0x2756a2,_0xcc28c2- -_0x771e1b._0x36aa49,_0x220812-_0x771e1b._0x2c1c7b);}return _0x4979f0===_0x3f87c3(_0x2b068b._0xba5ac6,0x26c,0x1f7,0x321)?_0x46890e[_0x5d6550(0x4fc,0x55d,_0x2b068b._0x562a48,_0x2b068b._0x477425)](/\n/g,'\x0d\x0a'):_0x46890e;}async function atomicWrite(_0x461047,_0xa86cec){const _0x3dff9c={_0x3f6e54:0x7be,_0x3aaa26:0x7b0,_0x27d6b5:0x6f5,_0x30a5dc:0x626,_0x7eeffe:0x66e,_0x9ba7f2:0x561,_0x207eb4:0x615,_0xe60039:0x762,_0x1aaa25:0x642,_0x49412d:0x755,_0x1ddd6c:0x5de,_0x547bf7:0x5c9,_0x323aaf:0x63b},_0x50962f={_0x4fb59a:0x1e,_0x404808:0x2e8,_0x34fad0:0x12d},_0x1b9920={_0x53e1c1:0x75,_0x37e181:0x1f2},_0x54ca1d=_0x593784[_0x3e1a02(_0x3dff9c._0x3f6e54,0x75e,0x714,_0x3dff9c._0x3aaa26)](_0x461047),_0x533615=_0x593784[_0x302a71(0x629,0x573,_0x3dff9c._0x27d6b5,0x6b4)](_0x54ca1d,_0x302a71(_0x3dff9c._0x30a5dc,_0x3dff9c._0x7eeffe,_0x3dff9c._0x9ba7f2,_0x3dff9c._0x207eb4)+_0x593784[_0x302a71(0x4ec,_0x3dff9c._0xe60039,0x674,_0x3dff9c._0x1aaa25)](_0x461047)+'.'+Date[_0x3e1a02(0x52b,0x5c3,0x4e3,0x47b)]()+'.'+Math[_0x3e1a02(_0x3dff9c._0x49412d,_0x3dff9c._0x1ddd6c,0x61c,0x6c3)]()[_0x3e1a02(_0x3dff9c._0x547bf7,0x677,0x5f5,_0x3dff9c._0x323aaf)](0x24)['slice'](0x2));await _0x5b5f37(_0x533615,_0xa86cec);function _0x302a71(_0x59e7e4,_0x2ba90e,_0x3a470a,_0x18df07){return _0x257320(_0x59e7e4-_0x1b9920._0x53e1c1,_0x2ba90e-0x9c,_0x18df07-_0x1b9920._0x37e181,_0x2ba90e);}function _0x3e1a02(_0x191f23,_0x54add8,_0x57ff74,_0x50883e){return _0x3342ed(_0x191f23-_0x50962f._0x4fb59a,_0x57ff74,_0x191f23-_0x50962f._0x404808,_0x50883e-_0x50962f._0x34fad0);}await _0x1424a8(_0x533615,_0x461047);}function sha256(_0x5a24fd){const _0x26c65e={_0x3d5bd8:0x26f,_0x273489:0x1b0,_0x216f22:0xdd,_0x173fa7:0x38e,_0x38aeda:0x1b3,_0x279d5d:0xb1},_0x34092b={_0x504cd1:0x1a6,_0xc69d55:0xd0};function _0x5d51f9(_0x21233e,_0x51e91b,_0x5793ed,_0x277caa){return _0x257320(_0x21233e-_0x34092b._0x504cd1,_0x51e91b-_0x34092b._0xc69d55,_0x21233e- -0x2ef,_0x51e91b);}function _0x4c7bc4(_0xc288b4,_0x48fda7,_0x2cef76,_0x43635f){return _0x257320(_0xc288b4-0x19f,_0x48fda7-0x2e,_0x48fda7- -0x24b,_0x43635f);}return createHash(_0x5d51f9(0x1a8,0x222,0x2ac,_0x26c65e._0x3d5bd8))[_0x4c7bc4(-0x93,0x61,_0x26c65e._0x273489,_0x26c65e._0x216f22)](_0x5a24fd)[_0x5d51f9(0x280,0x3b4,_0x26c65e._0x173fa7,0x16d)](_0x5d51f9(0xa7,_0x26c65e._0x38aeda,0x186,-_0x26c65e._0x279d5d));}function countLines(_0x3011b4){const _0x2a6dd9={_0x13399b:0x324,_0x131c1d:0x38d,_0x149b93:0x263,_0x55c48f:0x394,_0x1b1578:0x430,_0x12d7ba:0x34a,_0x509604:0x46c},_0x1dd7e8={_0x1107ab:0x7c};function _0x2aa342(_0x1100fa,_0x300a52,_0x22192c,_0x29d0c2){return _0x257320(_0x1100fa-_0x1dd7e8._0x1107ab,_0x300a52-0x1d1,_0x300a52- -0x1d7,_0x22192c);}const _0x34f9da=_0x3011b4['replace'](/\n$/,'');function _0x2808e0(_0x501dec,_0x225ff4,_0x4d894d,_0x5736e5){return _0x257320(_0x501dec-0xd5,_0x225ff4-0x14b,_0x501dec- -0x1dc,_0x5736e5);}return _0x34f9da[_0x2808e0(0x345,_0x2a6dd9._0x13399b,0x479,0x1e6)]===0x0?0x0:_0x34f9da[_0x2808e0(_0x2a6dd9._0x131c1d,_0x2a6dd9._0x149b93,_0x2a6dd9._0x55c48f,_0x2a6dd9._0x1b1578)]('\x0a')[_0x2aa342(0x3b8,_0x2a6dd9._0x12d7ba,_0x2a6dd9._0x509604,0x27c)];}function calculateLineNumbers(_0x303101,_0x109529,_0x2cfb96,_0x4bada4){const _0x240365={_0x2c9eec:0x1fc,_0x4a5d1f:0x27e,_0x114383:0xef,_0x1dc702:0x1a5},_0x18aa10={_0x46d9f2:0x4d},_0x135c49={_0x67a4fb:0x2f0,_0x3ee49e:0x128},_0x1c382f=_0x303101[_0x48f06c(_0x240365._0x2c9eec,0x2c7,_0x240365._0x4a5d1f,0x198)](0x0,_0x4bada4)['split']('\x0a')[_0x48f06c(0x261,0x6d,_0x240365._0x114383,_0x240365._0x1dc702)],_0x5574af=countLines(_0x109529);function _0x48f06c(_0x2d0040,_0x3e5f73,_0x5f43e2,_0x127cef){return _0x3342ed(_0x2d0040-0x165,_0x3e5f73,_0x127cef- -_0x135c49._0x67a4fb,_0x127cef-_0x135c49._0x3ee49e);}const _0x1773cf=countLines(_0x2cfb96);function _0xe1a861(_0x4cc4d7,_0x47fdf0,_0x544d98,_0x5c05f0){return _0x3342ed(_0x4cc4d7-_0x18aa10._0x46d9f2,_0x47fdf0,_0x4cc4d7- -0x2e6,_0x5c05f0-0xa);}return{'oldStartLine':_0x1c382f,'oldEndLine':_0x1c382f+_0x5574af-0x1,'newStartLine':_0x1c382f,'newEndLine':_0x1c382f+_0x1773cf-0x1,'oldLineCount':_0x5574af,'newLineCount':_0x1773cf};}function createFileEditTool(_0x58f1e8={}){const _0x2f36b0={_0x3f2145:0x112,_0x1024e5:0x11,_0x4446fb:0x2c0,_0x2f3fcb:0x2,_0x2a4626:0x1ed,_0x3cab09:0x23,_0x4a4862:0x142,_0x254ac1:0x280,_0x4ab72b:0x21a,_0xd29073:0x1dc,_0x40ef02:0x252,_0x541625:0x326,_0x20bb37:0x309,_0x52254c:0x1bb,_0x4e7b15:0x75,_0x1d550c:0x3fc,_0x2cc96f:0x3cd,_0x440894:0x3a2,_0x31efcb:0x20a,_0x74987b:0x283,_0x472d3e:0x8,_0x4702cf:0x67,_0x188f1a:0x17d,_0x31cb66:0x31f,_0x486236:0x2b9,_0x21f26f:0x29a,_0x279601:0x263,_0x238e8a:0x2ad,_0x24d8bc:0x2c9,_0x356f91:0xdd},_0x1c0a42={_0xb33f4f:0x4a9,_0x224783:0x491,_0x3d1f37:0x48d,_0x369b63:0x5d5,_0x31cf2e:0x5bc,_0x3a3e17:0x616,_0x255543:0x5c5,_0x468793:0x44e,_0x45858c:0x521,_0x314c9d:0x4fb,_0x208e6d:0x76f,_0xe9f17f:0x7bd,_0x4e7fae:0x6cf,_0x594c1a:0x4e4,_0x2af048:0x5b9,_0x2a210d:0x7bc,_0x1cd34a:0x673,_0x6802d:0x839,_0x5819d1:0x580,_0x15548f:0x4ea,_0x1527b3:0x6f6,_0x3de5fa:0x641,_0x2c3fe7:0x4b2,_0x5b4dc6:0x421,_0x124147:0x594,_0xc0de83:0x667,_0x44c15c:0x786,_0x28d41f:0x56e,_0x1ab066:0x57c,_0x2caafe:0x4ec,_0x4e7289:0x554,_0x1ac8f6:0x48a,_0x26e60e:0x384,_0x3b5a00:0x4f9,_0x363132:0x468,_0x263e58:0x5e5,_0x2c124b:0x58a,_0x3d3e5c:0x613,_0x323eed:0x6a0,_0x3b0e6d:0x7c1,_0x29977f:0x641,_0x3cd330:0x6f6},_0x5178f8={_0x567f5b:0x1eb,_0x4d1138:0x48},_0x298eec={_0x256c98:0x68};function _0xa6e697(_0x279f7d,_0x1ba7ef,_0x2481ff,_0x78f73){return _0x3342ed(_0x279f7d-_0x298eec._0x256c98,_0x2481ff,_0x1ba7ef- -0x238,_0x78f73-0x7a);}const _0x485014=_0x593784[_0xa6e697(_0x2f36b0._0x3f2145,0x99,-_0x2f36b0._0x1024e5,0x9f)](_0x58f1e8[_0x1b6fb9(0x192,_0x2f36b0._0x4446fb,0x2d6,0x445)]??process[_0xa6e697(0x27b,0x121,-_0x2f36b0._0x2f3fcb,_0x2f36b0._0x2a4626)]()),_0x37ec26=(_0x58f1e8[_0xa6e697(-0x89,_0x2f36b0._0x3cab09,0x12b,-0xed)]??[])['map'](_0x56587f=>_0x593784['resolve'](_0x56587f));function _0x1b6fb9(_0x4f04ab,_0x4d889d,_0x2f1478,_0x70234){return _0x257320(_0x4f04ab-_0x5178f8._0x567f5b,_0x4d889d-_0x5178f8._0x4d1138,_0x2f1478- -0x135,_0x4d889d);}const _0x3aa56e=_0x58f1e8[_0x1b6fb9(0x1b8,_0x2f36b0._0x4a4862,0x1f7,0x16b)]??_0x1b6fb9(_0x2f36b0._0x254ac1,_0x2f36b0._0x4ab72b,_0x2f36b0._0xd29073,_0x2f36b0._0x40ef02);return defineTool({'name':_0x3aa56e,'description':_0x1b6fb9(_0x2f36b0._0x541625,0x31f,0x2ae,_0x2f36b0._0x20bb37),'inputSchema':{'type':_0x1b6fb9(0xba,0x22d,_0x2f36b0._0x52254c,_0x2f36b0._0x4e7b15),'properties':{'filePath':{'type':'string'},'description':{'type':'string','description':_0x1b6fb9(_0x2f36b0._0x1d550c,0x4e6,0x42e,_0x2f36b0._0x2cc96f)},'oldText':{'type':_0xa6e697(0x2c9,0x254,0x221,0x11f)},'newText':{'type':_0xa6e697(_0x2f36b0._0x440894,0x254,_0x2f36b0._0x31efcb,_0x2f36b0._0x74987b)},'dryRun':{'type':_0xa6e697(_0x2f36b0._0x472d3e,0xa1,-_0x2f36b0._0x4702cf,_0x2f36b0._0x188f1a)}},'required':[_0x1b6fb9(_0x2f36b0._0x31cb66,_0x2f36b0._0x486236,0x364,_0x2f36b0._0x21f26f),_0xa6e697(_0x2f36b0._0x279601,_0x2f36b0._0x238e8a,0x32f,_0x2f36b0._0x24d8bc),_0x1b6fb9(0x1b5,0x15a,0x1d2,_0x2f36b0._0x356f91)]},async *'execute'(_0x1e0262){const _0x52bf97={_0x20da40:0x188,_0xc5fbf4:0x472},_0x5df825={_0x30975d:0xa4,_0x5da200:0x2c},_0x30b850=resolveAllowedPath(_0x485014,_0x37ec26,_0x1e0262[_0x564e75(0x5e9,0x522,_0x1c0a42._0xb33f4f,0x5b9)]);await assertWorkspaceFile(_0x30b850);const _0x3a8bf4=await _0x23c1a2(_0x30b850),_0xa287f2=await _0x111af8(_0x30b850),_0x2c3b72=detectEol(_0xa287f2),_0x58b6c9=normalizeToLf(_0xa287f2[_0x564e75(0x35f,_0x1c0a42._0x224783,0x3d1,_0x1c0a42._0x3d1f37)](_0x564e75(_0x1c0a42._0x369b63,0x7b2,_0x1c0a42._0x31cf2e,0x664))),_0x870b49=normalizeToLf(_0x1e0262[_0x564e75(_0x1c0a42._0x3a3e17,_0x1c0a42._0x255543,0x626,0x691)]),_0x4fae23=normalizeToLf(_0x1e0262['newText']),_0x37abc4=_0x58b6c9[_0x564e75(_0x1c0a42._0x468793,0x673,_0x1c0a42._0x45858c,_0x1c0a42._0x314c9d)](_0x870b49);if(_0x37abc4===-0x1){const _0x22c17a=_0x870b49[_0x564e75(0x6c9,0x6aa,0x4ce,0x634)](0x0,0x64)['replace'](/\n/g,'\x5cn');throw new ToolExecutionError('oldText\x20not\x20found\x20in\x20file.\x20Make\x20sure\x20it\x20matches\x20exactly\x20including\x20whitespace.\x20Searching\x20for:\x20\x22'+_0x22c17a+(_0x870b49[_0x3ab157(_0x1c0a42._0x208e6d,0x801,_0x1c0a42._0xe9f17f,_0x1c0a42._0x4e7fae)]>0x64?'...':'')+'\x22',{'filePath':_0x1e0262[_0x564e75(0x4ce,0x512,_0x1c0a42._0x594c1a,_0x1c0a42._0x2af048)]});}const _0x56caa4=_0x58b6c9[_0x3ab157(_0x1c0a42._0x2a210d,0x75d,_0x1c0a42._0x1cd34a,0x6c2)](0x0,_0x37abc4)+_0x4fae23+_0x58b6c9[_0x3ab157(_0x1c0a42._0x6802d,0x5cb,_0x1c0a42._0x5819d1,0x6c2)](_0x37abc4+_0x870b49[_0x564e75(_0x1c0a42._0x15548f,_0x1c0a42._0x1527b3,0x637,_0x1c0a42._0x3de5fa)]),_0x2de802=convertEol(_0x56caa4,_0x2c3b72),_0x3e02c8=Buffer[_0x564e75(0x680,_0x1c0a42._0x2c3fe7,_0x1c0a42._0x5b4dc6,_0x1c0a42._0x124147)](_0x2de802,_0x564e75(_0x1c0a42._0xc0de83,_0x1c0a42._0x44c15c,_0x1c0a42._0x28d41f,0x664)),_0x2d40c4=sha256(_0xa287f2);function _0x564e75(_0x45d02e,_0x54a028,_0x41eec0,_0x245989){return _0x1b6fb9(_0x45d02e-_0x5df825._0x30975d,_0x45d02e,_0x245989-0x255,_0x245989-_0x5df825._0x5da200);}const _0x32672c=sha256(_0x3e02c8),_0x326828=_0x2d40c4===_0x32672c,_0x3bb3b1=_0x1e0262[_0x3ab157(0x3c1,0x3d3,_0x1c0a42._0x1ab066,_0x1c0a42._0x2caafe)]??![];function _0x3ab157(_0x18f806,_0x31fe3d,_0x2c7925,_0x1b926b){return _0xa6e697(_0x18f806-_0x52bf97._0x20da40,_0x1b926b-_0x52bf97._0xc5fbf4,_0x31fe3d,_0x1b926b-0x165);}return!_0x3bb3b1&&!_0x326828&&await atomicWrite(_0x30b850,_0x3e02c8),yield createToolOutput(_0x326828?_0x564e75(0x582,0x547,0x4b2,_0x1c0a42._0x4e7289):_0x3bb3b1?_0x3ab157(_0x1c0a42._0x1ac8f6,_0x1c0a42._0x26e60e,0x3b0,_0x1c0a42._0x3b5a00):'Edit\x20applied\x20successfully.',{'filePath':_0x1e0262[_0x3ab157(0x4fb,0x750,0x67b,0x647)],'resolvedPath':_0x30b850,'created':_0x3a8bf4['birthtime'][_0x3ab157(_0x1c0a42._0x363132,_0x1c0a42._0x263e58,0x502,0x5da)](),'modified':_0x3a8bf4[_0x564e75(_0x1c0a42._0x2c124b,0x55b,0x53a,_0x1c0a42._0x3d3e5c)][_0x564e75(0x4e8,_0x1c0a42._0x323eed,0x435,0x54c)](),'size':_0x3a8bf4[_0x3ab157(0x760,0x63b,_0x1c0a42._0x3b0e6d,0x6ad)],'eol':_0x2c3b72,'oldTextLength':_0x870b49[_0x564e75(0x769,0x533,0x4df,0x641)],'newTextLength':_0x4fae23[_0x564e75(0x53d,0x54a,0x6bc,_0x1c0a42._0x29977f)],'bytesWritten':_0x326828||_0x3bb3b1?0x0:_0x3e02c8[_0x564e75(_0x1c0a42._0x3cd330,0x740,0x6e1,_0x1c0a42._0x29977f)],'beforeSha':_0x2d40c4,'afterSha':_0x32672c,'dryRun':_0x3bb3b1,'noChange':_0x326828,'lineNumbers':calculateLineNumbers(_0x58b6c9,_0x870b49,_0x4fae23,_0x37abc4)}),void 0x0;}});}import{mkdir as _0xad1c5b,rename as _0x4c91f5,stat as _0x56b005,writeFile as _0x5e8206}from'fs/promises';import*as _0x12c7fd from'path';async function atomicWrite2(_0x5a72b9,_0x482213){const _0x82f41b={_0x176d36:0x3dd,_0x388d8a:0x306,_0x5356a4:0x29c,_0x349180:0x365,_0x1865d8:0x2ef,_0x53fe87:0x20,_0xd36608:0x170,_0x184e3f:0x245,_0x20a7c8:0x26a,_0xab5a4f:0x3b3,_0x3dfe78:0x257},_0x1d441f={_0x4dd5dc:0xae},_0x9ab93a={_0x3273bc:0x14,_0x212239:0x90},_0x64e1aa=_0x12c7fd[_0x19c8f3(_0x82f41b._0x176d36,0x401,_0x82f41b._0x388d8a,_0x82f41b._0x5356a4)](_0x5a72b9);await _0xad1c5b(_0x64e1aa,{'recursive':!![]});function _0x1046d2(_0x4bdd35,_0x3def2a,_0x528fbb,_0x463c4c){return _0x257320(_0x4bdd35-_0x9ab93a._0x3273bc,_0x3def2a-_0x9ab93a._0x212239,_0x528fbb- -0x2b4,_0x463c4c);}const _0x580ee2=_0x12c7fd['join'](_0x64e1aa,'.tmp.'+_0x12c7fd[_0x19c8f3(_0x82f41b._0x349180,_0x82f41b._0x1865d8,0x39c,0x428)](_0x5a72b9)+'.'+Date[_0x1046d2(0x174,0xff,0x1b,-_0x82f41b._0x53fe87)]()+'.'+Math[_0x1046d2(_0x82f41b._0xd36608,0x1ef,_0x82f41b._0x184e3f,0x141)]()['toString'](0x24)[_0x19c8f3(_0x82f41b._0x20a7c8,_0x82f41b._0xab5a4f,0x4d5,_0x82f41b._0x3dfe78)](0x2));function _0x19c8f3(_0x59a48a,_0x22ff43,_0x400842,_0x2383ce){return _0x257320(_0x59a48a-_0x1d441f._0x4dd5dc,_0x22ff43-0xdc,_0x22ff43- -0x161,_0x59a48a);}await _0x5e8206(_0x580ee2,_0x482213),await _0x4c91f5(_0x580ee2,_0x5a72b9);}function createFileNewTool(_0x41af6f={}){const _0x2ac1ef={_0x5e38a7:0xd6,_0xe0a99f:0x31,_0x4e9154:0x101,_0x3153f0:0x156,_0x565f7c:0x7,_0x2dcad8:0x4bd,_0x80d2f4:0x421,_0x4ddd03:0x18f,_0x1efa54:0x54,_0x268fc0:0x311,_0x51c152:0x362,_0xa22924:0x369,_0x402c98:0x42c,_0x3c3dda:0x667,_0x5ea0e4:0x591,_0x556e20:0x3b9,_0xe29f91:0x512,_0x4e66d1:0x51f,_0x208bbe:0x52c,_0x358fbd:0x576},_0x37f80e={_0x4dbeb3:0x8e,_0x3bfeca:0xd3,_0x5a87f6:0x3d3,_0x4b364f:0x471,_0x5b35ea:0x4c0,_0x3c36a9:0x5bc,_0x28a530:0x5a7,_0x214b85:0x434,_0x2d327c:0x541,_0x5e75f7:0x4ad,_0x5339a7:0x7a,_0x3c75f9:0x69,_0xc8a807:0x1b8,_0x2a7c1c:0x1c3,_0x140de8:0x10c,_0xae882d:0x191,_0x1ddbce:0xe8,_0x2e8b48:0xf9,_0x1189ef:0x40c,_0x53c941:0x2d,_0x383814:0x281},_0x4d10b1={_0x1f430b:0x190,_0x5db381:0x48e},_0x20990b={_0x58ec5a:0x284,_0x47d9c0:0x9},_0x59457c=_0x12c7fd[_0x3a197d(_0x2ac1ef._0x5e38a7,_0x2ac1ef._0xe0a99f,0x65,_0x2ac1ef._0x4e9154)](_0x41af6f['defaultCwd']??process[_0x3a197d(0x15e,-0x5,_0x2ac1ef._0x3153f0,_0x2ac1ef._0x565f7c)]());function _0x3a197d(_0x2a3310,_0x26cbdf,_0x35fef4,_0x440215){return _0x3342ed(_0x2a3310-0x1cb,_0x440215,_0x2a3310- -0x1fb,_0x440215-0x1e);}const _0x1aa3a2=(_0x41af6f[_0x34ad14(0x4ac,_0x2ac1ef._0x2dcad8,_0x2ac1ef._0x80d2f4,0x360)]??[])[_0x3a197d(0x96,_0x2ac1ef._0x4ddd03,-0x2e,0x22)](_0x2371c4=>_0x12c7fd[_0x34ad14(0x2ee,0x364,0x2fe,0x3d6)](_0x2371c4)),_0x2c718d=_0x41af6f['name']??'FileNew';function _0x34ad14(_0x498a3e,_0x2c3607,_0x29558,_0x4233e3){return _0x257320(_0x498a3e-0xe3,_0x2c3607-0x150,_0x4233e3-0x79,_0x29558);}return defineTool({'name':_0x2c718d,'description':_0x3a197d(0xac,-_0x2ac1ef._0x1efa54,-0x39,-0xa5),'inputSchema':{'type':_0x34ad14(_0x2ac1ef._0x268fc0,0x205,_0x2ac1ef._0x51c152,_0x2ac1ef._0xa22924),'properties':{'filePath':{'type':_0x3a197d(0x291,0x38e,0x1f6,0x1d8)},'content':{'type':_0x34ad14(_0x2ac1ef._0x402c98,_0x2ac1ef._0x3c3dda,0x6e4,_0x2ac1ef._0x5ea0e4)}},'required':[_0x34ad14(0x5a3,0x4ae,_0x2ac1ef._0x556e20,_0x2ac1ef._0xe29f91),_0x34ad14(_0x2ac1ef._0x4e66d1,0x5a5,_0x2ac1ef._0x208bbe,_0x2ac1ef._0x358fbd)]},async *'execute'(_0x5d7ea1){const _0x1d9ecf=resolveAllowedPath(_0x59457c,_0x1aa3a2,_0x5d7ea1[_0x43981f(-_0x37f80e._0x4dbeb3,-_0x37f80e._0x3bfeca,0x84,0x118)]),_0x2c8b06=await _0x56b005(_0x1d9ecf)['then'](()=>!![])['catch'](()=>![]),_0x38c66b=Buffer[_0x34fb42(0x411,_0x37f80e._0x5a87f6,_0x37f80e._0x4b364f,0x4d7)](_0x5d7ea1[_0x34fb42(_0x37f80e._0x5b35ea,0x662,0x4fa,_0x37f80e._0x3c36a9)],_0x34fb42(_0x37f80e._0x28a530,_0x37f80e._0x214b85,_0x37f80e._0x2d327c,_0x37f80e._0x5e75f7));await atomicWrite2(_0x1d9ecf,_0x38c66b);function _0x34fb42(_0x457011,_0x1ed0d1,_0x8f65b7,_0xb14d7e){return _0x3a197d(_0x8f65b7-_0x20990b._0x58ec5a,_0x1ed0d1-_0x20990b._0x47d9c0,_0x8f65b7-0x16e,_0xb14d7e);}function _0x43981f(_0x351bba,_0x25fb52,_0x557d94,_0x3f43d6){return _0x34ad14(_0x351bba-0x1e5,_0x25fb52-_0x4d10b1._0x1f430b,_0x3f43d6,_0x557d94- -_0x4d10b1._0x5db381);}return yield createToolOutput(_0x43981f(_0x37f80e._0x5339a7,_0x37f80e._0x3c75f9,-0x11,0x90)+_0x5d7ea1['filePath']+'.',{'filePath':_0x5d7ea1[_0x43981f(_0x37f80e._0xc8a807,_0x37f80e._0x2a7c1c,0x84,0x148)],'resolvedPath':_0x1d9ecf,'bytes':_0x38c66b[_0x43981f(0x199,0xaf,_0x37f80e._0x140de8,_0x37f80e._0xae882d)],'lines':_0x5d7ea1[_0x43981f(0x166,0x100,_0x37f80e._0x1ddbce,_0x37f80e._0x2e8b48)][_0x34fb42(_0x37f80e._0x1189ef,0x667,0x566,0x65e)](/\r?\n/)[_0x43981f(-_0x37f80e._0x53c941,_0x37f80e._0x383814,0x10c,0x1e5)],'created':new Date()['toISOString'](),'overwritten':_0x2c8b06}),void 0x0;}});}import{readFile as _0x58d741,stat as _0x4df592}from'fs/promises';import*as _0x2c4be6 from'path';function stripUtfBom(_0x3a5740){const _0x2c1928={_0x4649cf:0x332,_0x2e09e5:0x26b,_0x23a8d2:0x77a,_0xeba65f:0x764,_0x3f9f09:0x6d4},_0x588ea9={_0x1c973e:0x266};function _0x34bd6b(_0x4c5058,_0xa8aff3,_0x3c6c5c,_0xba11aa){return _0x3342ed(_0x4c5058-0x56,_0xba11aa,_0x4c5058-0x117,_0xba11aa-0x16f);}function _0x310dda(_0x31a179,_0xb4fe7f,_0xd42bb,_0x1af39c){return _0x257320(_0x31a179-0x2d,_0xb4fe7f-0x1b2,_0x31a179-_0x588ea9._0x1c973e,_0xd42bb);}return _0x3a5740[_0x34bd6b(_0x2c1928._0x4649cf,0x1c6,0x23c,_0x2c1928._0x2e09e5)](0x0)===0xfeff?_0x3a5740[_0x310dda(_0x2c1928._0x23a8d2,_0x2c1928._0xeba65f,0x795,_0x2c1928._0x3f9f09)](0x1):_0x3a5740;}function clampLine(_0x1b8b75,_0x51b5bc){const _0x5c94fa={_0x2b3d1b:0x37,_0x5cdbcb:0x159,_0x582768:0x1bf,_0x58e2a4:0x151,_0x179f41:0x9b,_0x2680fa:0xee,_0x421b97:0xed,_0x1d33f4:0xc5,_0x467d7f:0x279,_0x185466:0x26c,_0x270fdd:0xd9},_0x39ede2={_0x53f012:0x178,_0x326654:0x20,_0x575114:0x337},_0x302a21={_0x872774:0x168,_0x16efb2:0x17d};if(!Number[_0x103574(_0x5c94fa._0x2b3d1b,_0x5c94fa._0x5cdbcb,_0x5c94fa._0x582768,_0x5c94fa._0x58e2a4)](_0x1b8b75))return 0x1;function _0x11c103(_0x309894,_0x46bc93,_0x459af8,_0x496e73){return _0x3342ed(_0x309894-_0x302a21._0x872774,_0x496e73,_0x46bc93- -_0x302a21._0x16efb2,_0x496e73-0x19f);}function _0x103574(_0xcbd0fd,_0x24851c,_0x2fcb11,_0x19a82f){return _0x257320(_0xcbd0fd-_0x39ede2._0x53f012,_0x24851c-_0x39ede2._0x326654,_0x24851c- -_0x39ede2._0x575114,_0xcbd0fd);}return Math[_0x103574(_0x5c94fa._0x179f41,-0x53,_0x5c94fa._0x2680fa,-_0x5c94fa._0x421b97)](0x1,Math[_0x103574(_0x5c94fa._0x1d33f4,0x12f,_0x5c94fa._0x467d7f,_0x5c94fa._0x185466)](Math[_0x11c103(_0x5c94fa._0x270fdd,0x122,0x5d,-0x3a)](_0x1b8b75),_0x51b5bc));}function createFileReadTool(_0x2d92ec={}){const _0x3ff673={_0x385800:0x19f,_0x25ab83:0x5e,_0x41351f:0xe9,_0x373837:0x103,_0x44358a:0xdc,_0x543be9:0xe0,_0x2c33a3:0xd8,_0x3a9b64:0x1,_0x2e5beb:0x10d,_0x3085d9:0xc,_0x254ed6:0x6d5,_0x2a3439:0x5de,_0x33757b:0x6c3,_0x58a212:0x239,_0xddd759:0x74,_0x2a4d4c:0xc2,_0x2a9fe4:0x11b,_0x4bb537:0x45c,_0x43d179:0x57b},_0x6d0ef7={_0x4f258b:0x2e,_0xbbb0a9:0x1d9,_0x187366:0x54a,_0x232e57:0x3a8,_0x32e7f9:0x61e,_0x4e3b38:0x6d8,_0x12ce8f:0x62a,_0x4c9371:0x4f,_0x54faa1:0x10f,_0x3aa1dd:0x158,_0x881494:0x9e,_0x4b7b31:0x75,_0x3f2731:0x36,_0x44d566:0xad,_0x3f910c:0x307,_0x20da79:0x1a9,_0xbcb67c:0x7a3,_0x207b49:0x516,_0x2f73f7:0x62d,_0x1586a0:0x46,_0x2a94e2:0x53,_0x334e6e:0x3c,_0x5d98c0:0x243,_0x117840:0xed,_0x391982:0x7a,_0x224f0c:0x765,_0x3a9eba:0x6a7,_0x50d563:0xe6,_0x4dae40:0x6aa,_0x4a3e31:0x597,_0x4dd137:0x721,_0x4909ab:0x41c,_0xed6a1f:0x2a2,_0x4a1b31:0x1ea,_0xb80914:0x118,_0x44e65b:0xec,_0x4cf8b9:0x3e,_0x1147c0:0x765,_0x294ecd:0x7f8},_0x156621={_0x5cc00d:0x1ec,_0x7cf815:0xd4},_0x5b3ab1={_0x83721e:0x19f,_0x346f2d:0x12e},_0x2b8c41=_0x2c4be6[_0x1b3797(0xae,0x123,-0xe0,0x61)](_0x2d92ec['defaultCwd']??process[_0x1b3797(_0x3ff673._0x385800,-_0x3ff673._0x25ab83,0x147,_0x3ff673._0x41351f)]()),_0x526c0d=(_0x2d92ec[_0x1b3797(-_0x3ff673._0x373837,-0x93,_0x3ff673._0x44358a,-0x15)]??[])[_0x1b3797(-_0x3ff673._0x543be9,0x175,-0x13e,0x21)](_0x4c7678=>_0x2c4be6['resolve'](_0x4c7678));function _0x1b3797(_0x2dc06d,_0x51dcfd,_0x177387,_0x24977e){return _0x3342ed(_0x2dc06d-_0x5b3ab1._0x83721e,_0x2dc06d,_0x24977e- -0x270,_0x24977e-_0x5b3ab1._0x346f2d);}const _0x3d4bf5=_0x2d92ec[_0x1b3797(0xb1,-0xc9,-0xab,0x30)]??_0x1b3797(0x16d,0xa2,0x7b,0x104);function _0x6d3915(_0x25f849,_0x37ffdd,_0x4ec985,_0xbd9e35){return _0x257320(_0x25f849-_0x156621._0x5cc00d,_0x37ffdd-_0x156621._0x7cf815,_0x37ffdd-0x1bd,_0x4ec985);}return defineTool({'name':_0x3d4bf5,'description':_0x1b3797(-_0x3ff673._0x2c33a3,-0x162,0x7,-_0x3ff673._0x3a9b64),'inputSchema':{'type':_0x1b3797(0x88,-0x13,-_0x3ff673._0x2e5beb,-_0x3ff673._0x3085d9),'properties':{'path':{'type':_0x6d3915(0x71a,_0x3ff673._0x254ed6,_0x3ff673._0x2a3439,_0x3ff673._0x33757b)},'lineStart':{'type':_0x1b3797(_0x3ff673._0x58a212,0xe2,-_0x3ff673._0xddd759,_0x3ff673._0x2a4d4c),'description':_0x1b3797(0xba,-_0x3ff673._0x2a9fe4,-0x1f,0x44)},'lineEnd':{'type':_0x6d3915(_0x3ff673._0x4bb537,_0x3ff673._0x43d179,0x6a3,0x4a2),'description':_0x6d3915(0x575,0x6bb,0x5e8,0x6c4)}},'required':['path']},async *'execute'(_0x556214){const _0x4f83c0={_0x4986fc:0x21,_0x252bb5:0x184,_0x31bd3f:0x540},_0x1eb25b=resolveAllowedPath(_0x2b8c41,_0x526c0d,_0x556214['path']);await assertWorkspaceFile(_0x1eb25b);const _0x1039ab=await _0x4df592(_0x1eb25b),_0x3497ad=await _0x58d741(_0x1eb25b);if(isProbablyBinary(_0x3497ad))throw new ToolExecutionError('File\x20appears\x20to\x20be\x20binary:\x20'+_0x556214['path'],{'path':_0x556214['path']});let _0x5b0327=_0x3497ad[_0xd1805b(0xa3,-0x13f,-0x23,-_0x6d0ef7._0x4f258b)](_0xd1805b(0x148,0x212,_0x6d0ef7._0xbbb0a9,0x1a9));const _0xf1c8e0=_0x5b0327[_0x48697b(0x4eb,_0x6d0ef7._0x187366,_0x6d0ef7._0x232e57,0x443)](0x0)===0xfeff;function _0xd1805b(_0x5ab748,_0x1c918f,_0x24d5eb,_0xf713fd){return _0x6d3915(_0x5ab748-0x103,_0xf713fd- -0x558,_0x1c918f,_0xf713fd-0x1ad);}_0x5b0327=stripUtfBom(_0x5b0327);const _0xfdc18b=_0x5b0327['split'](/\r?\n/),_0x5c183e={'path':_0x556214['path'],'resolvedPath':_0x1eb25b,'created':_0x1039ab[_0x48697b(_0x6d0ef7._0x32e7f9,_0x6d0ef7._0x4e3b38,_0x6d0ef7._0x12ce8f,0x586)]['toISOString'](),'modified':_0x1039ab[_0xd1805b(_0x6d0ef7._0x4c9371,_0x6d0ef7._0x54faa1,0x256,_0x6d0ef7._0x3aa1dd)][_0xd1805b(0x1ab,_0x6d0ef7._0x881494,0xb3,0x91)](),'size':_0x1039ab[_0xd1805b(_0x6d0ef7._0x4b7b31,0x18b,0x152,0x164)],'encoding':_0xd1805b(_0x6d0ef7._0x3f2731,_0x6d0ef7._0x44d566,_0x6d0ef7._0x3f910c,_0x6d0ef7._0x20da79),'bomStripped':_0xf1c8e0,'truncated':![],'totalLines':_0xfdc18b[_0x48697b(0x765,_0x6d0ef7._0xbcb67c,0x703,0x68e)]};if(_0x556214[_0x48697b(_0x6d0ef7._0x207b49,0x5d6,_0x6d0ef7._0x2f73f7,0x4b1)]!==void 0x0||_0x556214[_0xd1805b(-0x25,-_0x6d0ef7._0x1586a0,0x160,_0x6d0ef7._0x2a94e2)]!==void 0x0){const _0x2d0e86=clampLine(_0x556214[_0xd1805b(-0x1d0,-0x5f,-_0x6d0ef7._0x334e6e,-0xc9)]??0x1,_0xfdc18b[_0xd1805b(0x1a3,0x274,_0x6d0ef7._0x5d98c0,0x186)]),_0x1205ef=clampLine(_0x556214[_0xd1805b(-_0x6d0ef7._0x117840,0x111,-_0x6d0ef7._0x391982,_0x6d0ef7._0x2a94e2)]??_0xfdc18b[_0x48697b(_0x6d0ef7._0x224f0c,0x88b,0x8a6,_0x6d0ef7._0x3a9eba)],_0xfdc18b[_0xd1805b(_0x6d0ef7._0x50d563,0x24e,0x266,0x186)]),_0x2b3f82=Math[_0x48697b(_0x6d0ef7._0x4dae40,0x5ff,_0x6d0ef7._0x4a3e31,_0x6d0ef7._0x4dd137)](_0x2d0e86,_0x1205ef),_0x4d6e8a=Math[_0x48697b(0x528,_0x6d0ef7._0x4a3e31,0x44f,_0x6d0ef7._0x4909ab)](_0x2d0e86,_0x1205ef),_0x4c15fb=_0xfdc18b[_0xd1805b(_0x6d0ef7._0xed6a1f,_0x6d0ef7._0x4a1b31,_0x6d0ef7._0xb80914,0x179)](_0x2b3f82-0x1,_0x4d6e8a)[_0xd1805b(-_0x6d0ef7._0x44e65b,-0x179,-_0x6d0ef7._0x4cf8b9,-0x7e)]((_0x34b12e,_0x519253)=>_0x2b3f82+_0x519253+'|'+_0x34b12e)[_0x48697b(0x706,0x5e7,0x65b,0x74a)]('\x0a');return yield createToolOutput(_0x4c15fb,{..._0x5c183e,'lineRange':{'lineStart':_0x2b3f82,'lineEnd':_0x4d6e8a,'linesTotal':_0xfdc18b[_0x48697b(_0x6d0ef7._0x1147c0,0x851,_0x6d0ef7._0x294ecd,0x8af)]}}),void 0x0;}yield createToolOutput(_0x5b0327,_0x5c183e);function _0x48697b(_0x8cec11,_0x5f13c0,_0x42fd64,_0x506639){return _0x1b3797(_0x506639,_0x5f13c0-_0x4f83c0._0x4986fc,_0x42fd64-_0x4f83c0._0x252bb5,_0x8cec11-_0x4f83c0._0x31bd3f);}return void 0x0;}});}import{stat as _0x1c2177}from'fs/promises';import*as _0xdf96a5 from'path';import{execSync,spawn as _0x2fc64f}from'child_process';import{existsSync}from'fs';import{stat as _0x4d84ee}from'fs/promises';import*as _0x3c7073 from'os';import*as _0x17f052 from'path';import{rgPath as _0x21f6f4}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x10f95a={_0x2e1cb5:0x1cf,_0x1174a6:0x78,_0x3e7d75:0x191,_0x2c25d2:0x16e,_0x81b414:0x200,_0x55736b:0x155,_0x15a1c1:0x4cf,_0x54ccc7:0x2ff,_0x2fa278:0x275,_0x3bae6c:0x14e,_0x4d3a4b:0x111,_0x55fedc:0x160,_0xbff854:0x120,_0x584851:0x1d0,_0x17c184:0xee,_0x455d1a:0x2ff,_0x110a98:0x445,_0x49000d:0x15d,_0xf55108:0x23c,_0x5751cf:0x4c1,_0x32b4c4:0x316,_0xe2dd80:0x1f2,_0x2dd2bd:0xf9,_0x373a61:0x10d,_0x49d99d:0x184,_0x3f50ca:0x28b,_0x5d40eb:0x289,_0x1de807:0x291,_0x213578:0x376,_0x285858:0xc8,_0x110ae8:0xa7,_0x57f334:0x91,_0x3d5b92:0x5d,_0x59d46c:0x14f,_0x1ec962:0x163,_0x408494:0xb,_0x2d6d07:0x5f,_0x5c62bf:0x3b1,_0x406714:0x4cc},_0x166687={_0x249960:0x1bb,_0x50f356:0x489,_0x1466fa:0x1c3},_0x4d325c={_0xd72fe2:0xfc,_0x48c423:0x1c3},_0x52bf25=_0x3c7073[_0x30d02e(_0x10f95a._0x2e1cb5,0x71,0x1a7,0x335)]()==='win32',_0x1b59eb=_0x52bf25?[_0x17f052[_0x132612(0x11b,-0x53,0xf7,-0x11f)](process[_0x30d02e(0x1e4,0x112,_0x10f95a._0x1174a6,0x334)][_0x132612(-_0x10f95a._0x3e7d75,-0x19b,-0x24,-0x48)]||'',_0x30d02e(_0x10f95a._0x2c25d2,_0x10f95a._0x81b414,_0x10f95a._0x55736b,0x271),_0x30d02e(0x368,0x4b2,0x362,_0x10f95a._0x15a1c1),'Packages'),_0x17f052[_0x30d02e(_0x10f95a._0x54ccc7,_0x10f95a._0x2fa278,0x291,0x30b)](process[_0x30d02e(0x1e4,_0x10f95a._0x3bae6c,0x183,0x186)][_0x30d02e(_0x10f95a._0x4d3a4b,0x6e,0x1bd,0xf7)]||'','ripgrep',_0x30d02e(_0x10f95a._0x55fedc,_0x10f95a._0xbff854,_0x10f95a._0x584851,_0x10f95a._0x17c184)),_0x17f052[_0x30d02e(_0x10f95a._0x455d1a,0x443,_0x10f95a._0x110a98,0x3fe)](process[_0x132612(-_0x10f95a._0x49000d,-_0x10f95a._0x2c25d2,-_0x10f95a._0xf55108,-0x180)]['ProgramFiles(x86)']||'',_0x30d02e(0x36d,0x423,_0x10f95a._0x5751cf,_0x10f95a._0x32b4c4),_0x132612(-0x193,-_0x10f95a._0xe2dd80,-_0x10f95a._0x2dd2bd,-_0x10f95a._0x373a61))]:[_0x30d02e(_0x10f95a._0x49d99d,0xe6,0x187,_0x10f95a._0x3f50ca),_0x30d02e(0x191,0x27d,_0x10f95a._0x5d40eb,0x7d),_0x30d02e(_0x10f95a._0x1de807,0x26d,_0x10f95a._0x213578,0x124),'/bin/rg'];for(const _0x3b8468 of _0x1b59eb){if(existsSync(_0x3b8468))return _0x3b8468;}function _0x30d02e(_0x115a38,_0x1c347c,_0x984c5a,_0x59daf7){return _0x257320(_0x115a38-0x6e,_0x1c347c-_0x4d325c._0xd72fe2,_0x115a38- -_0x4d325c._0x48c423,_0x984c5a);}try{const _0x184937=_0x52bf25?_0x132612(_0x10f95a._0x285858,-_0x10f95a._0x110ae8,_0x10f95a._0x57f334,_0x10f95a._0x3d5b92):_0x30d02e(0x1ed,0x106,_0x10f95a._0x59d46c,0x160),_0x4aa60c=execSync(_0x184937,{'encoding':_0x30d02e(0x381,0x48e,0x31c,0x2bb),'stdio':[_0x132612(-_0x10f95a._0x1ec962,-0x101,_0x10f95a._0x408494,_0x10f95a._0x2d6d07),'pipe',_0x30d02e(_0x10f95a._0x5c62bf,_0x10f95a._0x406714,0x407,0x50b)]})['trim']()['split'](/\r?\n/)[0x0];if(_0x4aa60c&&existsSync(_0x4aa60c))return _0x4aa60c;}catch{return null;}function _0x132612(_0x2f8b81,_0x4d1670,_0x4b656c,_0x186815){return _0x3342ed(_0x2f8b81-_0x166687._0x249960,_0x2f8b81,_0x4d1670- -_0x166687._0x50f356,_0x186815-_0x166687._0x1466fa);}return null;}async function filepath(){const _0x3e5410={_0x3c33b6:0x2d7};if(cachedRgPath)return cachedRgPath;if(_0x21f6f4&&existsSync(_0x21f6f4))return cachedRgPath=_0x21f6f4,_0x21f6f4;const _0x9765f2=findSystemRipgrep();if(!_0x9765f2)throw new Error(_0x3d1a8b(0x1dd,0x300,0x2a1,_0x3e5410._0x3c33b6));function _0x3d1a8b(_0x1fa710,_0xfac906,_0x445197,_0x49409f){return _0x257320(_0x1fa710-0x169,_0xfac906-0x56,_0xfac906- -0xa9,_0x1fa710);}return cachedRgPath=_0x9765f2,_0x9765f2;}async function*files(_0x2cebaf){const _0x36f5a9={_0x5acf06:0x100,_0x5a45a8:0xf1,_0x1cedad:0x24c,_0x5b25d2:0x16e,_0x3b9871:0x9,_0x1ad465:0x222,_0x5724ae:0x63,_0x295e80:0xb0,_0x394e62:0x59,_0x42e092:0x6f9,_0x2251a8:0x795,_0x201e10:0x3cd,_0x43e0da:0x3f8,_0x2faa26:0x508,_0x18febd:0x206,_0x17ad84:0x1c6,_0x422f02:0x133,_0x143b7f:0x237,_0x4e26f4:0x13b,_0x3fa025:0x17b,_0xf871fb:0x131,_0x594a72:0x1fc,_0x47dcf7:0xaf,_0xfccd31:0x177,_0x382a01:0x223,_0x3268d4:0x14c,_0x4c9949:0x1b3,_0x536bd6:0x61a,_0x3a61ae:0x518,_0x513506:0x23,_0x22c6ee:0x55,_0x34d931:0x12a,_0x17b448:0x8a,_0x30c4dd:0x104,_0x5510ae:0x4b,_0x2db5bb:0x707,_0x105cca:0x4d7,_0x51ead8:0x49e,_0x5852be:0x5d3,_0x89a959:0x47c,_0x137ec9:0x4e1,_0x290a26:0x52c,_0x510560:0x309,_0x926d47:0x4a,_0x4462ea:0x44,_0x554f9c:0x83,_0x56b767:0x638,_0x2d7ed6:0x574,_0x346d1c:0x6e0,_0x154683:0x77,_0x36d2b3:0x1d1,_0x170382:0x193,_0x4465c5:0x55c,_0x2c102e:0x491,_0x3324ff:0x482},_0x49811f={_0x6f726c:0x334},_0x212e45=await filepath(),_0x27d197=await _0x4d84ee(_0x2cebaf[_0x9ddfb5(0x95,_0x36f5a9._0x5acf06,0x25,-0x7b)])[_0x9ddfb5(_0x36f5a9._0x5a45a8,_0x36f5a9._0x1cedad,_0x36f5a9._0x5b25d2,_0x36f5a9._0x3b9871)](()=>null);function _0x185f91(_0x521055,_0x19710e,_0xed1ee0,_0x11a6e3){return _0x257320(_0x521055-0x8d,_0x19710e-0x1d8,_0x11a6e3-0x1bf,_0x19710e);}if(!_0x27d197?.[_0x9ddfb5(_0x36f5a9._0x1ad465,_0x36f5a9._0x5724ae,_0x36f5a9._0x295e80,-_0x36f5a9._0x394e62)]())throw Object[_0x185f91(_0x36f5a9._0x42e092,0x702,_0x36f5a9._0x2251a8,0x6a7)](new Error(_0x185f91(_0x36f5a9._0x201e10,_0x36f5a9._0x43e0da,0x474,_0x36f5a9._0x2faa26)+_0x2cebaf[_0x185f91(0x5b8,0x4ef,0x5ce,0x5a4)]+'\x27'),{'code':_0x9ddfb5(_0x36f5a9._0x18febd,0x223,_0x36f5a9._0x17ad84,_0x36f5a9._0x422f02)});const _0x374108=[_0x9ddfb5(_0x36f5a9._0x143b7f,_0x36f5a9._0x4e26f4,_0x36f5a9._0x3fa025,0x222),_0x9ddfb5(_0x36f5a9._0xf871fb,_0x36f5a9._0x594a72,_0x36f5a9._0x47dcf7,_0x36f5a9._0xfccd31),_0x9ddfb5(_0x36f5a9._0x382a01,_0x36f5a9._0x3268d4,_0x36f5a9._0x4c9949,0xf2),_0x185f91(_0x36f5a9._0x536bd6,0x6b5,_0x36f5a9._0x3a61ae,0x661)];for(const _0x26563a of _0x2cebaf['glob']??[]){_0x374108[_0x9ddfb5(-_0x36f5a9._0x513506,-0x97,-_0x36f5a9._0x22c6ee,-_0x36f5a9._0x34d931)](_0x9ddfb5(_0x36f5a9._0x17b448,_0x36f5a9._0x30c4dd,-_0x36f5a9._0x5510ae,-0x1c4)+_0x26563a);}const _0xe5f661=_0x2fc64f(_0x212e45,_0x374108,{'cwd':_0x2cebaf[_0x185f91(0x651,_0x36f5a9._0x2db5bb,_0x36f5a9._0x105cca,0x5a4)],'stdio':['ignore','pipe',_0x185f91(0x5ad,_0x36f5a9._0x51ead8,0x55b,_0x36f5a9._0x5852be)]});let _0x5b0c9f='';function _0x9ddfb5(_0x148363,_0x2d7d42,_0x50e88b,_0x5bdc7c){return _0x3342ed(_0x148363-0x199,_0x5bdc7c,_0x50e88b- -_0x49811f._0x6f726c,_0x5bdc7c-0x3f);}for await(const _0x353e5a of _0xe5f661['stdout']??[]){_0x5b0c9f+=_0x353e5a[_0x185f91(0x562,_0x36f5a9._0x89a959,_0x36f5a9._0x137ec9,_0x36f5a9._0x290a26)]();const _0x4174eb=_0x5b0c9f[_0x9ddfb5(_0x36f5a9._0x510560,0x3c,0x1a9,0x30a)](/\r?\n/);_0x5b0c9f=_0x4174eb[_0x9ddfb5(_0x36f5a9._0x926d47,-_0x36f5a9._0x4462ea,-_0x36f5a9._0x554f9c,-0x115)]()??'';for(const _0x1574a4 of _0x4174eb){if(_0x1574a4[_0x185f91(_0x36f5a9._0x56b767,_0x36f5a9._0x2d7ed6,0x7e2,_0x36f5a9._0x346d1c)]>0x0)yield _0x1574a4;}}_0x5b0c9f[_0x9ddfb5(_0x36f5a9._0x154683,-0x1fa,-0xfd,-0x188)]()[_0x9ddfb5(0x40,_0x36f5a9._0x36d2b3,0x161,_0x36f5a9._0x170382)]>0x0&&(yield _0x5b0c9f[_0x185f91(_0x36f5a9._0x4465c5,_0x36f5a9._0x2c102e,0x384,_0x36f5a9._0x3324ff)]());}function parseMatchLine(_0x6fc68b,_0x383a86){const _0x5aa530={_0x3017f8:0xb,_0x31ef40:0x4,_0x4c6997:0x170,_0x306d25:0x5dc,_0x247ed2:0x805,_0x1f3a52:0x6c7,_0xcad7a9:0x5ef,_0x2cedf3:0x503,_0xb7595a:0x10b,_0x454f9d:0x1db,_0x1990b9:0x5ff,_0x29ab51:0x171,_0x2fb015:0x770,_0x4cbae5:0x6f5,_0x11c69b:0x81b,_0x48e6c3:0x6c7,_0x48a34b:0x79e,_0x39c1e6:0x6a9,_0xb648d9:0x624,_0x2b266c:0x75,_0x31e511:0xb2,_0x5d3277:0x20},_0x44eb13={_0x27c091:0x2c3,_0xf8051e:0x1e2};if(!_0x6fc68b||_0x6fc68b==='--')return null;const _0x465967=_0x6fc68b[_0x4b1da5(0x160,-_0x5aa530._0x3017f8,0x60,_0x5aa530._0x31ef40)]('|');function _0x203a05(_0x4206fb,_0x375e6a,_0x31f574,_0x45f953){return _0x3342ed(_0x4206fb-0x167,_0x31f574,_0x45f953-_0x44eb13._0x27c091,_0x45f953-_0x44eb13._0xf8051e);}if(_0x383a86&&_0x465967[_0x4b1da5(0x118,0x271,0x145,_0x5aa530._0x4c6997)]>=0x4&&Number[_0x203a05(_0x5aa530._0x306d25,0x5ae,_0x5aa530._0x247ed2,_0x5aa530._0x1f3a52)](Number[_0x203a05(0x5e0,0x3bd,_0x5aa530._0xcad7a9,_0x5aa530._0x2cedf3)](_0x465967[0x2]??'',0xa))){const _0xf6a3ac=Number['parseInt'](_0x465967[0x1]??'',0xa);if(!Number['isFinite'](_0xf6a3ac)||!_0x465967[0x0])return null;return{'filePath':_0x465967[0x0],'lineNum':_0xf6a3ac,'lineText':_0x465967[_0x4b1da5(_0x5aa530._0xb7595a,0x2c,0x113,_0x5aa530._0x454f9d)](0x3)['join']('|')};}function _0x4b1da5(_0x57751f,_0x57a91f,_0x79f454,_0x526c98){return _0x257320(_0x57751f-0x100,_0x57a91f-0x125,_0x57751f- -0x409,_0x526c98);}if(_0x465967[_0x203a05(0x88c,0x836,_0x5aa530._0x1990b9,0x758)]>=0x3){const _0x3eca48=Number[_0x4b1da5(-0x13d,-0x63,-_0x5aa530._0x29ab51,-0x260)](_0x465967[0x1]??'',0xa);if(!Number[_0x203a05(_0x5aa530._0x2fb015,_0x5aa530._0x4cbae5,_0x5aa530._0x11c69b,_0x5aa530._0x48e6c3)](_0x3eca48)||!_0x465967[0x0])return null;return{'filePath':_0x465967[0x0],'lineNum':_0x3eca48,'lineText':_0x465967[_0x203a05(_0x5aa530._0x48a34b,_0x5aa530._0x39c1e6,_0x5aa530._0xb648d9,0x74b)](0x2)[_0x4b1da5(0xb9,_0x5aa530._0x2b266c,_0x5aa530._0x31e511,_0x5aa530._0x5d3277)]('|'),..._0x383a86?{'isContext':!![]}:{}};}return null;}async function search(_0xc4485d){const _0x56d316={_0x3f24fc:0x3e,_0x130ab9:0xdc,_0x28c53c:0xcb,_0x39dc0e:0x7b0,_0x2cf055:0x706,_0x895b55:0x479,_0x31ba97:0x58a,_0x393202:0x343,_0x4415a3:0x1cd,_0x50c20e:0x157,_0x303c24:0xa0,_0x519d0f:0x153,_0x11ae55:0x112,_0x5d770b:0x50e,_0x9a33aa:0x4f0,_0x379974:0x1ce,_0x488636:0x27d,_0x38be88:0x57b,_0x1cf4d7:0x6a9,_0x165c94:0x207,_0x440639:0xb6,_0x3e58e1:0x5,_0x2fd1f6:0x2ad,_0x54d650:0x2a5,_0x339389:0x39a,_0x4b27d5:0x1d4,_0x395d68:0x46a,_0x43eb14:0x4dc,_0x52b9c8:0x4b3,_0x599381:0x8,_0xe1b9e7:0xb,_0x3f9262:0xd7,_0x25caf6:0xb9,_0x1f3b6e:0xe5,_0x594a24:0x91,_0x1f5551:0x380,_0x3e1dfa:0x221,_0x337920:0x1ca,_0x4e8042:0x384,_0x13dc3d:0x129,_0x8e3af4:0x1fb,_0xc80cbb:0x60d,_0x5a9ae3:0x94,_0x5611dd:0x8a,_0x3243ca:0xc9,_0x365a74:0x5df,_0x2e496b:0xda,_0x1e446f:0x232,_0x3f5d5e:0x39d,_0x2e5f34:0x373,_0x312ec5:0x22,_0x20809c:0x104,_0x4de644:0x1cb},_0x11a495={_0x3868a9:0x472,_0x3bcd9a:0x262,_0x52f312:0x391,_0x55fd37:0x345,_0x34de5f:0x5,_0x3f31ea:0x264,_0x54aab2:0x144,_0x52435c:0x242,_0xa8f4ad:0xce,_0xec4c76:0x131,_0x1d2bac:0x2be,_0x5a1136:0x24f,_0x41f131:0x2bc,_0x4c39c2:0x5c,_0xbdf524:0x17c,_0x49a125:0x20d,_0x3749af:0x325,_0x369a62:0x154},_0xb6fe6a={_0x4de9bd:0x305,_0x53ed5f:0x243,_0x49e223:0x37e,_0x11fa1d:0x4cc,_0x43451c:0x57d,_0x1ec909:0x5e1,_0x16ad2c:0x696,_0x171be1:0xf9},_0x1da0a6={_0x570d2a:0x291,_0x1badfb:0x2ba},_0x570b75={_0x509d12:0xd5},_0x48b376={_0x218973:0xfb,_0x24aa27:0x2e1},_0x4e1e56={_0x2cd76b:0xa0,_0x2bcbf2:0x10b},_0x58d21c=await filepath();if(_0xc4485d['file']){const _0x3fae5c=await _0x4d84ee(_0xc4485d[_0x157cb9(0x80,-_0x56d316._0x3f24fc,_0x56d316._0x130ab9,-_0x56d316._0x28c53c)])[_0xd230d3(_0x56d316._0x39dc0e,_0x56d316._0x2cf055,0x639,0x4e1)](()=>null);if(!_0x3fae5c?.[_0xd230d3(0x3f0,0x5b6,_0x56d316._0x895b55,_0x56d316._0x31ba97)]())throw Object[_0x157cb9(_0x56d316._0x393202,0x207,_0x56d316._0x4415a3,0xb9)](new Error(_0x157cb9(_0x56d316._0x50c20e,0x1d7,0x16d,0x227)+_0xc4485d[_0x157cb9(_0x56d316._0x303c24,-_0x56d316._0x3f24fc,-_0x56d316._0x519d0f,-_0x56d316._0x11ae55)]+'\x27'),{'code':_0xd230d3(0x68d,0x661,0x691,0x680)});}else{const _0x26c422=await _0x4d84ee(_0xc4485d[_0xd230d3(_0x56d316._0x5d770b,0x559,_0x56d316._0x9a33aa,0x44b)])[_0x157cb9(_0x56d316._0x379974,0x24d,0x2cd,_0x56d316._0x488636)](()=>null);if(!_0x26c422?.[_0xd230d3(0x5fa,0x49f,_0x56d316._0x38be88,_0x56d316._0x1cf4d7)]())throw Object[_0x157cb9(0x152,_0x56d316._0x165c94,0x201,0x98)](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0xc4485d[_0x157cb9(_0x56d316._0x440639,0x104,-_0x56d316._0x3e58e1,-0x1a)]+'\x27'),{'code':_0x157cb9(_0x56d316._0x2fd1f6,_0x56d316._0x54d650,_0x56d316._0x339389,_0x56d316._0x4b27d5)});}const _0x25737f=[_0xd230d3(0x42b,0x5b9,0x59a,0x63c),'--field-match-separator=|',_0xd230d3(0x46c,_0x56d316._0x395d68,_0x56d316._0x43eb14,_0x56d316._0x52b9c8),_0x157cb9(_0x56d316._0x599381,_0x56d316._0xe1b9e7,_0x56d316._0x3f9262,0x7e),_0xc4485d[_0x157cb9(_0x56d316._0x25caf6,_0x56d316._0x1f3b6e,_0x56d316._0x594a24,-0x24)]],_0x28dee7=typeof _0xc4485d[_0x157cb9(_0x56d316._0x1f5551,_0x56d316._0x3e1dfa,_0x56d316._0x337920,_0x56d316._0x4e8042)]===_0x157cb9(_0x56d316._0x13dc3d,0xdd,0x112,_0x56d316._0x8e3af4)&&_0xc4485d[_0xd230d3(0x6d7,0x70c,_0x56d316._0xc80cbb,0x587)]>0x0;_0x28dee7&&_0x25737f[_0x157cb9(-_0x56d316._0x5a9ae3,_0x56d316._0x5611dd,-0xa,-_0x56d316._0x3243ca)]('-C',String(_0xc4485d['context']),'--column');function _0xd230d3(_0x1bf12c,_0x36fb11,_0x29964d,_0x3e7157){return _0x257320(_0x1bf12c-0x177,_0x36fb11-_0x4e1e56._0x2cd76b,_0x29964d-_0x4e1e56._0x2bcbf2,_0x36fb11);}_0xc4485d['glob']&&!_0xc4485d['file']&&_0x25737f['push'](_0xd230d3(0x441,_0x56d316._0x365a74,0x486,0x4fc),_0xc4485d[_0x157cb9(_0x56d316._0x2e496b,_0x56d316._0x1e446f,_0x56d316._0x3f5d5e,0xb9)]);_0x25737f[_0xd230d3(0x36f,_0x56d316._0x2e5f34,0x476,0x34b)](_0xc4485d[_0x157cb9(-0x2,-0x3e,-_0x56d316._0x312ec5,0x45)]??_0xc4485d[_0x157cb9(0x115,_0x56d316._0x20809c,0x43,_0x56d316._0x4de644)]);function _0x157cb9(_0x516882,_0x4fec56,_0xe919c2,_0x4a4713){return _0x257320(_0x516882-0x6b,_0x4fec56-_0x48b376._0x218973,_0x4fec56- -_0x48b376._0x24aa27,_0xe919c2);}return await new Promise((_0x33b15c,_0x122053)=>{const _0x38ae4e={_0x54fd37:0x99,_0x2aef12:0x29c},_0x122485={_0x3c4c47:0x3e,_0xe408a3:0x58,_0x38cd95:0x16},_0x59ed71={_0x3327d0:0xd3,_0x1f2cfe:0x130},_0x5b0a22={_0xe9e8e8:0x105,_0x10389e:0xa4},_0xce2d70={_0x5d82a0:0x14,_0x138e5a:0x114},_0x227828={_0x4d0449:0x143};function _0x2674d5(_0xf95754,_0x1f7496,_0x47c2b9,_0xa0568b){return _0x157cb9(_0xf95754-0x1d4,_0x1f7496-_0x570b75._0x509d12,_0x47c2b9,_0xa0568b-0xbe);}const _0x55b60e=_0x2fc64f(_0x58d21c,_0x25737f,{'cwd':_0xc4485d['cwd'],'stdio':[_0x2674d5(_0x11a495._0x3868a9,0x368,0x282,0x1f5),_0x2e4486(_0x11a495._0x3bcd9a,_0x11a495._0x52f312,_0x11a495._0x55fd37,0x238),'pipe']});let _0x9a7df8='',_0x1178da='';_0x55b60e[_0x2e4486(_0x11a495._0x34de5f,_0x11a495._0x3f31ea,0x261,_0x11a495._0x54aab2)]?.['on']('data',_0x2f75cb=>{function _0x342991(_0x44fa40,_0x20d9d9,_0x5cae6b,_0x50db7c){return _0x2674d5(_0x44fa40-0x4a,_0x44fa40- -_0x227828._0x4d0449,_0x20d9d9,_0x50db7c-0x4);}_0x9a7df8+=_0x2f75cb[_0x342991(0x1e,-0x4b,-_0xce2d70._0x5d82a0,_0xce2d70._0x138e5a)]();});function _0x2e4486(_0x367b5f,_0xa95e9c,_0x572295,_0x855910){return _0x157cb9(_0x367b5f-0x9c,_0x855910-_0x5b0a22._0xe9e8e8,_0x367b5f,_0x855910-_0x5b0a22._0x10389e);}_0x55b60e[_0x2674d5(0x16f,_0x11a495._0x52435c,_0x11a495._0xa8f4ad,_0x11a495._0xec4c76)]?.['on'](_0x2674d5(0x21d,_0x11a495._0x1d2bac,_0x11a495._0x5a1136,_0x11a495._0x41f131),_0x546659=>{function _0x18cfc1(_0x15df1d,_0x3b51ce,_0x31e227,_0x462296){return _0x2674d5(_0x15df1d-_0x59ed71._0x3327d0,_0x3b51ce-_0x59ed71._0x1f2cfe,_0x15df1d,_0x462296-0x11f);}_0x1178da+=_0x546659[_0x18cfc1(0x2f9,_0x1da0a6._0x570d2a,0x3cd,_0x1da0a6._0x1badfb)]();}),_0x55b60e['on'](_0x2e4486(_0x11a495._0x4c39c2,0x140,0x1c3,_0x11a495._0xbdf524),_0x43e795=>{if(_0x43e795===0x1&&_0x9a7df8===''){_0x33b15c([]);return;}if(_0x43e795!==0x0&&_0x43e795!==0x1){_0x122053(new Error(_0x59f88d(0x295,_0xb6fe6a._0x4de9bd,_0xb6fe6a._0x53ed5f,0x114)+_0x1178da));return;}const _0x4cfda2=_0xc4485d[_0x28d39f(0x3a9,_0xb6fe6a._0x49e223,0x4a5,_0xb6fe6a._0x11fa1d)]??0x64,_0x1d684a=[];for(const _0x2fafba of _0x9a7df8[_0x28d39f(_0xb6fe6a._0x43451c,0x629,0x55d,0x79e)](/\r?\n/)){if(_0x1d684a[_0x28d39f(0x46d,_0xb6fe6a._0x1ec909,0x5e2,_0xb6fe6a._0x16ad2c)]>=_0x4cfda2)break;const _0x1a1bd8=parseMatchLine(_0x2fafba,_0x28dee7);if(_0x1a1bd8)_0x1d684a[_0x59f88d(0x24a,0x140,0x1b7,_0xb6fe6a._0x171be1)](_0x1a1bd8);}function _0x59f88d(_0x50252a,_0x2bbbe0,_0x19fa4a,_0x10db4f){return _0x2674d5(_0x50252a-_0x122485._0x3c4c47,_0x19fa4a-_0x122485._0xe408a3,_0x50252a,_0x10db4f-_0x122485._0x38cd95);}function _0x28d39f(_0x128a4e,_0x33c1f3,_0x1d46dc,_0x187625){return _0x2e4486(_0x1d46dc,_0x33c1f3-0x4c,_0x1d46dc-_0x38ae4e._0x54fd37,_0x33c1f3-_0x38ae4e._0x2aef12);}_0x33b15c(_0x1d684a);}),_0x55b60e['on'](_0x2674d5(_0x11a495._0x49a125,0x254,_0x11a495._0x3749af,_0x11a495._0x369a62),_0x122053);});}function createGlobTool(_0x5cc335={}){const _0x95363f={_0x36a054:0x3a4,_0x26eb75:0x3ef,_0xbdb520:0x62a,_0x58f03d:0x588,_0x177283:0x3b8,_0x551789:0x42c,_0x190bcf:0x316,_0x2e6933:0x305,_0x517307:0x454,_0x89ce39:0x52b,_0x4b46d5:0x665,_0x12e992:0x52d,_0x4120ab:0x489,_0xc55cb9:0x69d,_0x53b738:0x603,_0x524d0f:0x848,_0xc26df3:0x55f,_0x34b4fa:0x6be,_0x35fa2f:0x66e,_0x4aa6ab:0x4a6},_0x23a9de={_0x335092:0x3c7,_0x3f0ecd:0x47a,_0x18b02a:0x38c,_0x39de89:0x487,_0x2a198e:0x46e,_0x38a03d:0x5ec,_0x1e641c:0x3c9,_0x217b38:0x53a,_0x2344bc:0x31b,_0xf7ceea:0x3e5,_0x4461dc:0x501,_0x270972:0x32f,_0x587f64:0x44e,_0x3b14c9:0x42f,_0xc72b88:0x618,_0x25c73a:0x58d,_0x132d8f:0x557,_0x563c43:0x4fd,_0xa0d114:0x628,_0x13e9a1:0x333,_0x90ff4a:0x47c,_0x2a5e53:0x41b,_0x4da23a:0x310,_0x2a5581:0x3eb,_0x1a6ac2:0x5cb,_0x5f2918:0x5b7,_0x4da38d:0x5a9,_0x1a8d31:0x827,_0x552cc7:0x733,_0x239a56:0x4b0,_0x13388d:0x4ac,_0x1ac342:0x39b,_0x56f43e:0x72c,_0x50ee12:0x763,_0x5a24d4:0x31f,_0x51d94e:0x1ff,_0x18c9df:0x318,_0x359599:0x290},_0x1fdef1={_0x163d1c:0xa,_0x3036be:0x2c6,_0x5a8036:0x18f},_0xacd1da={_0x2bb9cc:0x12b,_0xfde031:0x1cd,_0x539b6f:0x47},_0x1ca09a={_0x16d5a6:0x29,_0x4c984e:0x2ab},_0x2a954e=_0xdf96a5[_0x102e9d(0x4e7,_0x95363f._0x36a054,_0x95363f._0x26eb75,0x3ab)](_0x5cc335[_0xf57930(0x668,0x619,_0x95363f._0xbdb520,_0x95363f._0x58f03d)]??process[_0x102e9d(_0x95363f._0x177283,_0x95363f._0x551789,0x35b,0x34c)]());function _0xf57930(_0x63800a,_0xdb1d97,_0x35e58d,_0x4513ec){return _0x3342ed(_0x63800a-_0x1ca09a._0x16d5a6,_0xdb1d97,_0x35e58d-_0x1ca09a._0x4c984e,_0x4513ec-0xa9);}function _0x102e9d(_0x21d53a,_0x15829d,_0x4a647f,_0x4dc283){return _0x257320(_0x21d53a-_0xacd1da._0x2bb9cc,_0x15829d-_0xacd1da._0xfde031,_0x15829d-_0xacd1da._0x539b6f,_0x21d53a);}const _0x3d9438=(_0x5cc335['allowedDirs']??[])['map'](_0x355a28=>_0xdf96a5[_0x102e9d(0x516,0x3a4,0x386,0x2fb)](_0x355a28)),_0x40ee07=_0x5cc335[_0x102e9d(_0x95363f._0x190bcf,_0x95363f._0x2e6933,0x251,0x215)]??0x64,_0x10715c=_0x5cc335['name']??_0x102e9d(_0x95363f._0x517307,0x51f,_0x95363f._0x89ce39,0x523);return defineTool({'name':_0x10715c,'description':_0xf57930(0x669,_0x95363f._0x4b46d5,_0x95363f._0x12e992,_0x95363f._0x4120ab),'inputSchema':{'type':'object','properties':{'pattern':{'type':_0xf57930(_0x95363f._0xc55cb9,_0x95363f._0x53b738,0x737,_0x95363f._0x524d0f)},'path':{'type':_0x102e9d(0x670,_0x95363f._0xc26df3,_0x95363f._0x34b4fa,0x4dc)},'limit':{'type':'number'}},'required':[_0xf57930(0x588,_0x95363f._0x35fa2f,0x5e5,_0x95363f._0x4aa6ab)]},async *'execute'(_0x4d2dbc){const _0x1778f7={_0x491295:0x1f7};if(_0x4d2dbc['pattern'][_0x31e4a1(0x4db,0x3c3,_0x23a9de._0x335092,0x501)]()[_0x4814a6(_0x23a9de._0x3f0ecd,0x441,0x4d7,_0x23a9de._0x18b02a)]===0x0)throw new ToolExecutionError('pattern\x20is\x20required',{});const _0x11b372=resolveAllowedPath(_0x2a954e,_0x3d9438,_0x4d2dbc['path']??'.'),_0x51cd2d=await _0x1c2177(_0x11b372)[_0x4814a6(_0x23a9de._0x39de89,_0x23a9de._0x2a198e,_0x23a9de._0x38a03d,0x41f)](()=>null);if(!_0x51cd2d?.[_0x4814a6(_0x23a9de._0x1e641c,_0x23a9de._0x217b38,0x48f,_0x23a9de._0x2344bc)]())throw new ToolExecutionError(_0x4814a6(_0x23a9de._0xf7ceea,_0x23a9de._0x4461dc,_0x23a9de._0x270972,0x3bc)+(_0x4d2dbc[_0x4814a6(0x37e,_0x23a9de._0x587f64,_0x23a9de._0x3b14c9,0x441)]??'.'),{'path':_0x4d2dbc[_0x31e4a1(0x5b1,0x747,_0x23a9de._0xc72b88,0x663)]??'.'});const _0xe3afd0=_0x4d2dbc[_0x31e4a1(_0x23a9de._0x25c73a,_0x23a9de._0x132d8f,_0x23a9de._0x563c43,0x4fc)]??_0x40ee07,_0x279180=Math[_0x31e4a1(0x3b6,0x3b3,_0x23a9de._0xa0d114,0x522)](0x1,Math['trunc'](_0xe3afd0)),_0x50c7fb=[];let _0x591afb=![];for await(const _0x2db1a7 of files({'cwd':_0x11b372,'glob':[_0x4d2dbc[_0x4814a6(0x31f,_0x23a9de._0x13e9a1,_0x23a9de._0x90ff4a,0x2aa)]]})){if(_0x50c7fb['length']>=_0x279180){_0x591afb=!![];break;}const _0x39ba41=await _0x1c2177(_0xdf96a5[_0x4814a6(_0x23a9de._0x2a5e53,_0x23a9de._0x4da23a,_0x23a9de._0x2a5581,0x4e5)](_0x11b372,_0x2db1a7))[_0x4814a6(0x487,0x582,0x5c7,_0x23a9de._0x1a6ac2)](()=>null);_0x50c7fb[_0x31e4a1(0x4b0,_0x23a9de._0x5f2918,0x58a,_0x23a9de._0x4da38d)]({'path':_0x2db1a7,'mtime':_0x39ba41?.[_0x31e4a1(0x694,_0x23a9de._0x1a8d31,0x787,_0x23a9de._0x552cc7)]??0x0});}_0x50c7fb['sort']((_0x278a7b,_0x1aba7e)=>_0x1aba7e[_0x31e4a1(0x5be,0x78c,0x82f,0x731)]-_0x278a7b['mtime']);const _0x22eeb8=_0x50c7fb[_0x4814a6(0x276,0x282,0x3c5,0x174)](_0x2cc4ee=>_0x2cc4ee['path']),_0x48f70c=_0x22eeb8[_0x4814a6(0x47a,_0x23a9de._0x239a56,_0x23a9de._0x13388d,_0x23a9de._0x1ac342)]===0x0?_0x31e4a1(0x8c3,_0x23a9de._0x56f43e,0x817,_0x23a9de._0x50ee12)+_0x4d2dbc['pattern']:''+_0x22eeb8['join']('\x0a')+(_0x591afb?'\x0a(Results\x20are\x20truncated.\x20Consider\x20using\x20a\x20more\x20specific\x20path\x20or\x20pattern.)':'');function _0x31e4a1(_0x1a1277,_0x5eaa27,_0x536f79,_0x6791a8){return _0x102e9d(_0x536f79,_0x6791a8-_0x1778f7._0x491295,_0x536f79-0xc9,_0x6791a8-0x15f);}yield createToolOutput(_0x48f70c,{'pattern':_0x4d2dbc[_0x4814a6(_0x23a9de._0x5a24d4,_0x23a9de._0x51d94e,_0x23a9de._0x18c9df,0x42d)],'searchPath':_0xdf96a5[_0x4814a6(0x239,0x159,0x134,_0x23a9de._0x359599)](_0x2a954e,_0x11b372)||'.','matches':_0x22eeb8,'count':_0x22eeb8['length'],'truncated':_0x591afb});function _0x4814a6(_0x2bb247,_0x12d21d,_0xdbed1,_0x264418){return _0xf57930(_0x2bb247-_0x1fdef1._0x163d1c,_0x264418,_0x2bb247- -_0x1fdef1._0x3036be,_0x264418-_0x1fdef1._0x5a8036);}return void 0x0;}});}import{stat as _0x5d84c1}from'fs/promises';function _0x1df5(_0x5acbc8,_0x56fe4c){_0x5acbc8=_0x5acbc8-0x150;const _0x2ed325=_0x2ed3();let _0x1df5c2=_0x2ed325[_0x5acbc8];if(_0x1df5['IsZWuU']===undefined){var _0x13f255=function(_0x354724){const _0x47c954='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x27768c='',_0x115e81='';for(let _0x54360a=0x0,_0x140bbb,_0x50ee3c,_0x141f16=0x0;_0x50ee3c=_0x354724['charAt'](_0x141f16++);~_0x50ee3c&&(_0x140bbb=_0x54360a%0x4?_0x140bbb*0x40+_0x50ee3c:_0x50ee3c,_0x54360a++%0x4)?_0x27768c+=String['fromCharCode'](0xff&_0x140bbb>>(-0x2*_0x54360a&0x6)):0x0){_0x50ee3c=_0x47c954['indexOf'](_0x50ee3c);}for(let _0xd6a36b=0x0,_0x2eef70=_0x27768c['length'];_0xd6a36b<_0x2eef70;_0xd6a36b++){_0x115e81+='%'+('00'+_0x27768c['charCodeAt'](_0xd6a36b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x115e81);};_0x1df5['RDKcHh']=_0x13f255,_0x1df5['DayjMX']={},_0x1df5['IsZWuU']=!![];}const _0xe088cc=_0x2ed325[0x0],_0x3df834=_0x5acbc8+_0xe088cc,_0x514857=_0x1df5['DayjMX'][_0x3df834];return!_0x514857?(_0x1df5c2=_0x1df5['RDKcHh'](_0x1df5c2),_0x1df5['DayjMX'][_0x3df834]=_0x1df5c2):_0x1df5c2=_0x514857,_0x1df5c2;}import*as _0x549bc6 from'path';var MAX_LINE_LENGTH=0x7d0;function createGrepTool(_0x3a248a={}){const _0x1e85d0={_0x3c2044:0x2d3,_0x1bc3c3:0x340,_0x5dc76d:0x16a,_0x59b3bf:0x2f,_0x36f0ce:0xcd,_0x1c9876:0xd4,_0x57aa33:0x137,_0xa6baec:0x25d,_0x3935c6:0x1ca,_0x52a449:0x1d6,_0x1fb6d1:0x326,_0x17f028:0x38d,_0x91ea3e:0x2a6,_0x5b4b15:0x88,_0xe21231:0x1e8,_0xf1de63:0xdf,_0x496402:0x101,_0x5762be:0xf3,_0x1f6527:0xb6,_0x3004bf:0x265,_0x5f579a:0x334,_0xda21d8:0x2c4,_0xd96816:0x1fc,_0x55da4c:0x329,_0x48bb50:0x27c,_0x5ed655:0x48c},_0x1d8781={_0x1ce5b0:0x132,_0x114303:0x17f,_0x2174ba:0x56d,_0x4fe5ae:0x4b9,_0x3af5c3:0x4d3,_0x40b9bb:0x348,_0x197d88:0x135,_0x4a4107:0x6b,_0x190daf:0x192,_0x9ed967:0x84,_0x4cfbf4:0x18c,_0x5e14cb:0x14a,_0x1bef1e:0x95,_0x5671bf:0x1d4,_0x491585:0x7d,_0x5a9459:0x58c,_0x57d149:0x75c,_0x52856a:0x4a6,_0x297134:0xee,_0x458e39:0x4da,_0x250507:0x5ed,_0x22f56c:0xc1,_0x4b34ca:0x1c1,_0x4ca5e0:0x4c5,_0x3d4ee6:0x6aa,_0x2aca75:0x770,_0x3403c1:0x6fa,_0x24a3e3:0x6f8,_0x197913:0x818,_0x303a59:0x63a,_0x489aa4:0x708,_0x23cab4:0x5ad,_0x5c9e20:0xad,_0x1daf8f:0x1e8,_0x1736b4:0x3c,_0x24f942:0x90,_0x48122d:0x876,_0x3fbe64:0x554,_0x40af74:0xc3,_0x286480:0x13,_0x28af2e:0x6eb,_0x51caab:0x615,_0x29572e:0x5fb,_0x25da8c:0x595,_0x290f01:0x5a5,_0x73b1c5:0x561,_0xc41d65:0x135,_0x263a8f:0x277,_0x202528:0x2c,_0x453d31:0x23,_0x29671d:0x732,_0x503901:0x5b5,_0x78aef9:0x5f6,_0x2a9fa3:0x4d6,_0x2b9cf1:0x6e6,_0x3f9811:0x597,_0x56ea3f:0x73f,_0x5066c4:0x707,_0x2fa59e:0x5b6,_0x42143e:0x5f5,_0x6db10c:0xf8,_0x265d51:0x9f,_0x169f99:0x596,_0x3b2bf2:0x46a,_0x2a79a4:0x13f,_0x1eecd5:0x2e,_0x36b0ff:0x7a,_0x230a6f:0x26,_0x3f5f44:0xcc,_0x53a16d:0x113,_0x3034b9:0xec,_0x348e90:0x5a4,_0x5c7e88:0x118,_0x12145c:0x1a8,_0x325cf5:0x66,_0x7d752d:0x83c,_0x32c304:0x580,_0x5e0147:0x4b9,_0xda339b:0x545,_0x868ea1:0x62a},_0x16ce41={_0x41b35e:0x280,_0x597d0a:0x174},_0x469670={_0x257295:0x44c,_0x1f0f90:0x19a},_0x57e30f={_0x134fbb:0x114};function _0x33c059(_0x4d7530,_0x457674,_0x583bee,_0x1f5376){return _0x3342ed(_0x4d7530-_0x57e30f._0x134fbb,_0x4d7530,_0x457674-0x2,_0x1f5376-0xe5);}const _0x264915=_0x549bc6[_0x33c059(0x25f,_0x1e85d0._0x3c2044,_0x1e85d0._0x1bc3c3,0x2da)](_0x3a248a[_0xdecf56(-_0x1e85d0._0x5dc76d,_0x1e85d0._0x59b3bf,-_0x1e85d0._0x36f0ce,-_0x1e85d0._0x1c9876)]??process['cwd']());function _0xdecf56(_0x4dd83c,_0x29439a,_0x3e7bd0,_0x24afb5){return _0x3342ed(_0x4dd83c-0xe2,_0x29439a,_0x3e7bd0- -_0x469670._0x257295,_0x24afb5-_0x469670._0x1f0f90);}const _0xd75250=(_0x3a248a[_0x33c059(_0x1e85d0._0x57aa33,_0x1e85d0._0xa6baec,0x164,0x326)]??[])['map'](_0x399d8d=>_0x549bc6[_0xdecf56(-0x206,-0x2a7,-0x17b,-0x286)](_0x399d8d)),_0x3f78b7=_0x3a248a['limit']??0x64,_0x28a511=_0x3a248a[_0x33c059(_0x1e85d0._0x3935c6,0x2a2,_0x1e85d0._0x52a449,0x337)]??_0xdecf56(-_0x1e85d0._0x1fb6d1,-_0x1e85d0._0x17f028,-0x222,-0x2f4);return defineTool({'name':_0x28a511,'description':_0x33c059(_0x1e85d0._0x91ea3e,0x2a8,0x25b,_0x1e85d0._0x52a449),'inputSchema':{'type':_0xdecf56(-0x33f,-_0x1e85d0._0x5b4b15,-_0x1e85d0._0xe21231,-_0x1e85d0._0xf1de63),'properties':{'pattern':{'type':_0xdecf56(0x14e,0x1a6,0x40,_0x1e85d0._0x496402)},'path':{'type':_0xdecf56(-_0x1e85d0._0x5762be,0x197,0x40,_0x1e85d0._0x1f6527)},'include':{'type':'string'},'limit':{'type':_0x33c059(_0x1e85d0._0x3004bf,_0x1e85d0._0x5f579a,_0x1e85d0._0xda21d8,0x275)},'context':{'type':_0x33c059(_0x1e85d0._0xd96816,0x334,_0x1e85d0._0x55da4c,0x40d)}},'required':[_0x33c059(_0x1e85d0._0x48bb50,0x33c,_0x1e85d0._0x5ed655,0x25f)]},async *'execute'(_0x5932f8){const _0x4ff79e={_0x18be89:0x12a,_0x1e8c4c:0xec};if(_0x5932f8[_0x310721(-0x26,_0x1d8781._0x1ce5b0,-0x72,-_0x1d8781._0x114303)][_0x4c1007(_0x1d8781._0x2174ba,_0x1d8781._0x4fe5ae,_0x1d8781._0x3af5c3,_0x1d8781._0x40b9bb)]()[_0x310721(_0x1d8781._0x197d88,0x174,_0x1d8781._0x4a4107,_0x1d8781._0x190daf)]===0x0)throw new ToolExecutionError('pattern\x20is\x20required',{});const _0x5e86dd=resolveAllowedPath(_0x264915,_0xd75250,_0x5932f8['path']??'.');function _0x4c1007(_0x13e410,_0x4e1135,_0x86ce9f,_0x1e423d){return _0x33c059(_0x13e410,_0x4e1135-_0x16ce41._0x41b35e,_0x86ce9f-0x16d,_0x1e423d-_0x16ce41._0x597d0a);}const _0x4a5a9b=await _0x5d84c1(_0x5e86dd)[_0x4c1007(0x5b2,0x724,0x84d,0x886)](()=>null),_0x1e6907=_0x4a5a9b?.['isFile']()??![],_0x43526f=_0x4a5a9b?.[_0x310721(_0x1d8781._0x9ed967,0x190,_0x1d8781._0x4cfbf4,_0x1d8781._0x5e14cb)]()??![];if(!_0x1e6907&&!_0x43526f)throw new ToolExecutionError(_0x310721(-_0x1d8781._0x1bef1e,0x20,-_0x1d8781._0x5671bf,-_0x1d8781._0x491585)+(_0x5932f8[_0x4c1007(_0x1d8781._0x5a9459,0x61b,0x740,_0x1d8781._0x57d149)]??'.'),{'path':_0x5932f8[_0x4c1007(_0x1d8781._0x52856a,0x61b,0x76c,0x673)]??'.'});const _0x5d6279=_0x5932f8[_0x310721(-0x12e,-0x20e,-_0x1d8781._0x297134,-0x1a8)]??_0x3f78b7,_0x36c294=Math[_0x4c1007(0x53b,_0x1d8781._0x458e39,_0x1d8781._0x250507,0x4a2)](0x1,Math[_0x310721(-_0x1d8781._0x22f56c,-0xf,-0x210,-_0x1d8781._0x4b34ca)](_0x5d6279)),_0x566631=await search({'cwd':_0x43526f?_0x5e86dd:_0x549bc6['dirname'](_0x5e86dd),'pattern':_0x5932f8[_0x4c1007(0x5f8,0x5bc,_0x1d8781._0x4ca5e0,0x58c)],'glob':_0x43526f?_0x5932f8[_0x4c1007(0x74d,0x6fa,_0x1d8781._0x3d4ee6,_0x1d8781._0x2aca75)]:void 0x0,'limit':_0x36c294,'file':_0x1e6907?_0x5e86dd:void 0x0,'context':_0x5932f8[_0x4c1007(_0x1d8781._0x3403c1,_0x1d8781._0x24a3e3,_0x1d8781._0x197913,_0x1d8781._0x303a59)]}),_0x8b85bc=new Map();for(const _0x4de930 of _0x566631){if(!_0x8b85bc[_0x4c1007(0x6b3,0x5e8,_0x1d8781._0x489aa4,_0x1d8781._0x23cab4)](_0x4de930[_0x310721(0xad,0x52,-0x33,-0x8d)])){const _0x1e8304=await _0x5d84c1(_0x4de930[_0x310721(_0x1d8781._0x5c9e20,_0x1d8781._0x1daf8f,_0x1d8781._0x1736b4,-_0x1d8781._0x24f942)])[_0x4c1007(0x5c6,0x724,0x802,_0x1d8781._0x48122d)](()=>null);_0x8b85bc[_0x4c1007(0x4f6,0x4a3,0x530,_0x1d8781._0x3fbe64)](_0x4de930[_0x310721(0xad,_0x1d8781._0x40af74,_0x1d8781._0x286480,0x2)],{'matches':[],'mtime':_0x1e8304?.[_0x4c1007(0x5b1,_0x1d8781._0x28af2e,_0x1d8781._0x51caab,0x7f9)]??0x0});}_0x8b85bc['get'](_0x4de930['filePath'])?.[_0x4c1007(_0x1d8781._0x29572e,0x555,_0x1d8781._0x25da8c,_0x1d8781._0x290f01)][_0x4c1007(0x575,0x561,0x4ca,_0x1d8781._0x73b1c5)](_0x4de930);}const _0x25fd1d=[..._0x8b85bc[_0x4c1007(0x629,0x5d8,0x60f,0x47e)]()][_0x310721(0x10,0x129,-0x15,-0x15d)]((_0x2343c4,_0x1d01fd)=>_0x1d01fd[0x1]['mtime']-_0x2343c4[0x1]['mtime']),_0x194232=_0x566631[_0x4c1007(0x446,0x565,0x634,0x62f)](_0x45a682=>!_0x45a682[_0x310721(-0x61,0x73,-0x15a,-0x2c)])[_0x310721(_0x1d8781._0x197d88,-0x2f,0x142,0x16b)],_0x1d95fa=_0x566631['length']>=_0x36c294,_0x820175=_0x1e6907?_0x549bc6['dirname'](_0x5e86dd):_0x5e86dd;let _0xde4079='';if(_0x566631[_0x310721(_0x1d8781._0xc41d65,0xef,_0x1d8781._0x263a8f,-_0x1d8781._0x202528)]===0x0)_0xde4079=_0x310721(0x149,-0x1d,-_0x1d8781._0x453d31,0x10c)+_0x5932f8[_0x4c1007(0x5ec,0x5bc,0x59c,0x6af)];else{_0xde4079=_0x4c1007(0x843,0x774,0x760,0x6da)+_0x194232+'\x20match'+(_0x194232===0x1?'':'es')+'\x0a';for(const [_0x574283,_0x4a71fd]of _0x25fd1d){const _0x202c63=_0x1e6907?_0x549bc6[_0x4c1007(_0x1d8781._0x29671d,0x646,_0x1d8781._0x503901,_0x1d8781._0x78aef9)](_0x574283):_0x549bc6[_0x4c1007(0x539,_0x1d8781._0x2a9fa3,0x4ae,0x4ac)](_0x820175,_0x574283);_0xde4079+='\x0a'+_0x202c63+':\x0a';for(const _0x46f388 of _0x4a71fd['matches']){const _0x5278e5=_0x46f388[_0x4c1007(0x588,0x6da,0x5bd,_0x1d8781._0x2b9cf1)]['length']>MAX_LINE_LENGTH?_0x46f388['lineText'][_0x4c1007(_0x1d8781._0x3f9811,0x70a,_0x1d8781._0x56ea3f,0x60e)](0x0,MAX_LINE_LENGTH)+_0x4c1007(0x6c0,_0x1d8781._0x5066c4,_0x1d8781._0x2fa59e,_0x1d8781._0x42143e):_0x46f388[_0x310721(_0x1d8781._0x6db10c,_0x1d8781._0x265d51,-0x7a,0x1d7)],_0x1f8d63=_0x46f388[_0x4c1007(_0x1d8781._0x169f99,0x581,0x6a4,_0x1d8781._0x3b2bf2)]?'\x20\x20':'>\x20';_0xde4079+=_0x1f8d63+'Line\x20'+_0x46f388[_0x310721(_0x1d8781._0x297134,0x156,_0x1d8781._0x2a79a4,-0x44)]+':\x20'+_0x5278e5+'\x0a';}}_0x1d95fa&&(_0xde4079+='\x0a(Results\x20are\x20truncated.\x20Consider\x20using\x20a\x20more\x20specific\x20path\x20or\x20pattern.)');}function _0x310721(_0x80b225,_0x27dee1,_0x34649f,_0x3034d7){return _0xdecf56(_0x80b225-_0x4ff79e._0x18be89,_0x34649f,_0x80b225-_0x4ff79e._0x1e8c4c,_0x3034d7-0x155);}const _0x5a194d={'searchPath':_0x549bc6[_0x310721(-0x10c,0x5f,-_0x1d8781._0x1eecd5,-_0x1d8781._0x36b0ff)](_0x264915,_0x5e86dd)||'.','pattern':_0x5932f8[_0x310721(-_0x1d8781._0x230a6f,0x64,0xf0,_0x1d8781._0x3f5f44)],'matchCount':_0x194232,'fileCount':_0x8b85bc[_0x310721(_0x1d8781._0x53a16d,0x144,-0x37,_0x1d8781._0x3034b9)],'truncated':_0x1d95fa};return _0x43526f&&_0x5932f8[_0x4c1007(_0x1d8781._0x348e90,0x6fa,0x6e4,_0x1d8781._0x489aa4)]!==void 0x0&&(_0x5a194d[_0x310721(_0x1d8781._0x5c7e88,_0x1d8781._0x12145c,0xa9,_0x1d8781._0x325cf5)]=_0x5932f8[_0x4c1007(0x84d,0x6fa,_0x1d8781._0x7d752d,0x5d9)]),yield createToolOutput(_0xde4079[_0x4c1007(_0x1d8781._0x32c304,_0x1d8781._0x5e0147,_0x1d8781._0xda339b,_0x1d8781._0x868ea1)](),_0x5a194d),void 0x0;}});}function createKillShellTool(_0x32ce75){const _0x408e8e={_0x536165:0x123,_0x353441:0x2cb,_0x52bbc5:0xf5,_0x4f9998:0x33e,_0x1ec4fa:0x27d,_0x553f32:0x275,_0x3833d7:0xfb,_0x4ec18f:0x35a,_0x55cf0a:0x1b,_0x5333f2:0x23},_0x193e73={_0x45192c:0x59f,_0x17c616:0x65c,_0x4e443b:0x8b9,_0x21c7fb:0x7fc,_0x1db145:0x6db,_0x4f3b7c:0x7bf,_0x4977a1:0x71d,_0x6e58a7:0x273,_0x27231d:0x1c5,_0x16fc1d:0x6b6,_0x439f26:0x6da,_0x4b1668:0x847,_0x1839a4:0x166,_0x4de054:0x25,_0x4b59de:0x24c,_0x38faf0:0x31e,_0x217651:0x6c0,_0x38eca9:0x7f7,_0x4113bb:0x5b3},_0x2daa92={_0x5be013:0x4a8,_0x2cf17:0x2c},_0x43ac46={_0x115260:0xf2},{registry:_0x57f925}=_0x32ce75;function _0x382bd0(_0x33d3de,_0x756f25,_0x3723e5,_0x52fbbe){return _0x257320(_0x33d3de-0x1dc,_0x756f25-0x138,_0x3723e5- -_0x43ac46._0x115260,_0x33d3de);}function _0x5ef644(_0x4e9e71,_0x280ac4,_0x233e1e,_0x4725bc){return _0x3342ed(_0x4e9e71-0xc0,_0x4e9e71,_0x233e1e- -_0x2daa92._0x5be013,_0x4725bc-_0x2daa92._0x2cf17);}return defineTool({'name':_0x5ef644(-_0x408e8e._0x536165,-_0x408e8e._0x353441,-0x25c,-_0x408e8e._0x52bbc5),'description':_0x382bd0(_0x408e8e._0x4f9998,_0x408e8e._0x1ec4fa,_0x408e8e._0x553f32,0x323),'inputSchema':{'type':_0x382bd0(0x204,_0x408e8e._0x3833d7,0x1fe,_0x408e8e._0x4ec18f),'properties':{'shellId':{'type':'string'}},'required':[_0x5ef644(_0x408e8e._0x55cf0a,-0x64,_0x408e8e._0x5333f2,0x85)]},async *'execute'(_0x391c74){const _0x19b150={_0x5061c8:0x7bd,_0x42efb2:0x143},_0x47e2c8={_0x540a9f:0x30a};function _0x1adb27(_0x1585ba,_0x468fb0,_0x52e7b7,_0xc96e0d){return _0x5ef644(_0x1585ba,_0x468fb0-0x46,_0x468fb0-_0x47e2c8._0x540a9f,_0xc96e0d-0x13e);}function _0x50e65a(_0xa2aa83,_0x4c0212,_0x53b257,_0x2bcec8){return _0x5ef644(_0x53b257,_0x4c0212-0x129,_0x4c0212-_0x19b150._0x5061c8,_0x2bcec8-_0x19b150._0x42efb2);}const _0xfb7121=_0x57f925[_0x50e65a(0x6e2,_0x193e73._0x45192c,_0x193e73._0x17c616,0x692)](_0x391c74[_0x50e65a(_0x193e73._0x4e443b,0x7e0,_0x193e73._0x21c7fb,_0x193e73._0x1db145)]);return createToolOutput(_0x50e65a(_0x193e73._0x4f3b7c,_0x193e73._0x4977a1,0x654,0x80d)+_0x391c74[_0x1adb27(_0x193e73._0x6e58a7,0x32d,0x2f7,_0x193e73._0x27231d)]+_0x50e65a(_0x193e73._0x16fc1d,_0x193e73._0x439f26,0x7b2,_0x193e73._0x4b1668)+_0xfb7121[_0x1adb27(0x6b,_0x193e73._0x1839a4,_0x193e73._0x4de054,0xdf)]+').',{'shellId':_0x391c74['shellId'],'status':_0xfb7121[_0x1adb27(0x1a7,0x166,0x16e,0xea)],'exitCode':_0xfb7121[_0x1adb27(0x36b,_0x193e73._0x4b59de,_0x193e73._0x38faf0,0x281)],'signal':_0xfb7121[_0x50e65a(0x7a0,_0x193e73._0x217651,_0x193e73._0x38eca9,_0x193e73._0x4113bb)]});}});}import{readdir as _0x541d19,readFile as _0x2e7044,stat as _0x3b5142}from'fs/promises';import*as _0x42b099 from'path';import*as _0x237b9f from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x3de631,_0x141e8a){const _0x4a6fa5={_0x4e6b6b:0x212,_0x522c66:0x24,_0x2b4401:0x180,_0x525f69:0x28f,_0x24b316:0xa0,_0x31f3a5:0x41,_0x266d5d:0x2df,_0x5ca0ba:0x1a3,_0x20b7d4:0x17c,_0xde7f30:0x24c,_0x3b38e0:0x184},_0x5d5c5c={_0x383ba4:0x8d},_0x24263c={_0x5e9ef4:0x109,_0x59d1ca:0x198};function _0x3828f3(_0x124633,_0x57ce11,_0x2584f9,_0x141a8c){return _0x3342ed(_0x124633-_0x24263c._0x5e9ef4,_0x2584f9,_0x57ce11- -0x272,_0x141a8c-_0x24263c._0x59d1ca);}function _0x8e99cd(_0x25d04e,_0x353fbc,_0xf3d3b1,_0x2655fa){return _0x257320(_0x25d04e-_0x5d5c5c._0x383ba4,_0x353fbc-0x67,_0xf3d3b1- -0x3ae,_0x2655fa);}if(_0x141e8a>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;const _0x5772fb=await _0x2e7044(_0x3de631)[_0x8e99cd(_0x4a6fa5._0x4e6b6b,_0x4a6fa5._0x522c66,_0x4a6fa5._0x2b4401,_0x4a6fa5._0x525f69)](()=>null);if(!_0x5772fb||isProbablyBinary(_0x5772fb))return void 0x0;return _0x5772fb[_0x8e99cd(-_0x4a6fa5._0x24b316,-0x3c,-_0x4a6fa5._0x31f3a5,-0x59)](_0x3828f3(_0x4a6fa5._0x266d5d,0x246,_0x4a6fa5._0x5ca0ba,0x302))[_0x3828f3(0x2df,0x26b,0x12e,_0x4a6fa5._0x20b7d4)](/\r?\n/)[_0x8e99cd(_0x4a6fa5._0xde7f30,0x218,0x173,_0x4a6fa5._0x3b38e0)];}function createLsTool(_0x17ddf6={}){const _0x2bbc79={_0x5d9d39:0x2a1,_0x29aa6a:0x1a2,_0x5d9601:0x42,_0x2f6613:0x4b,_0x555c12:0x113,_0x182a9e:0x11a,_0x142f85:0x11f,_0x54acb2:0xe2,_0x1b068e:0x1af,_0x1bd919:0x2e0,_0x2f5546:0x1e2,_0x438d84:0x25e,_0xbc9d14:0x63,_0x20807d:0x123,_0x444d62:0x193,_0x180a1b:0x141,_0x30dfbe:0x94},_0x42f96d={_0x4f6f56:0x284,_0x5e59a0:0x1df,_0xabff8c:0x91,_0xafd864:0x1fb,_0x3a2265:0x345,_0x50e3ff:0x335,_0x21a519:0x1fd,_0xcb6ffd:0x53,_0x249264:0x17,_0x72b3a9:0x231,_0x5e3af1:0x2bd,_0xb9b983:0x173,_0x59f017:0x16d,_0x27fb93:0x27c,_0x57f8a8:0x12,_0xf88c88:0x28,_0x1cc50f:0x49a,_0x18bbca:0x3e9,_0x5b561a:0x401,_0x46bbb6:0x27e,_0x4f2a7d:0x3d7,_0x5dee0d:0x306,_0x18ed8d:0x446,_0x44ab65:0x26e,_0x4cb7cc:0x2ec,_0x4fbcfd:0x5d,_0x10c7a0:0x12f,_0x11dd6b:0x271,_0x2a8a93:0x3a2,_0x5bceb0:0x422,_0x55537a:0x398,_0x6e0661:0x24c,_0x2c4a42:0x25e,_0x1a5189:0x126},_0x1b32f7={_0x1bb41e:0x3d2,_0x57b683:0x5e},_0x23e139={_0x4ddca2:0x26e,_0x4e42d8:0xd9},_0x2149dc={_0xadaa33:0x1db},_0xa965b={_0x58ec64:0x4ff},_0x362889=_0x42b099[_0x2bf421(-_0x2bbc79._0x5d9d39,-_0x2bbc79._0x29aa6a,-0x293,-0x51)](_0x17ddf6[_0x1c26a5(-0xf8,_0x2bbc79._0x5d9601,_0x2bbc79._0x2f6613,-_0x2bbc79._0x555c12)]??process[_0x2bf421(-0x16f,-_0x2bbc79._0x182a9e,-0x16b,-_0x2bbc79._0x142f85)]()),_0x3fe6c3=(_0x17ddf6[_0x1c26a5(-0x1d9,-_0x2bbc79._0x54acb2,-_0x2bbc79._0x1b068e,-0x175)]??[])[_0x2bf421(-_0x2bbc79._0x1bd919,-_0x2bbc79._0x2f5546,-_0x2bbc79._0x438d84,-0x1a8)](_0x2fb4b9=>_0x42b099[_0x1c26a5(-0x2e,-0x6c,-0xea,0x36)](_0x2fb4b9));function _0x2bf421(_0x5a0bd5,_0x24dc1e,_0x138b2f,_0x509e53){return _0x257320(_0x5a0bd5-0x30,_0x24dc1e-0x92,_0x24dc1e- -_0xa965b._0x58ec64,_0x5a0bd5);}function _0x1c26a5(_0x2934d9,_0x1f5a0f,_0x4ddc8a,_0x23d3b6){return _0x257320(_0x2934d9-0x136,_0x1f5a0f-_0x2149dc._0xadaa33,_0x1f5a0f- -0x3c9,_0x23d3b6);}const _0x118713=_0x17ddf6['name']??'Ls';return defineTool({'name':_0x118713,'description':_0x1c26a5(-_0x2bbc79._0xbc9d14,-0xd4,-0x15e,-_0x2bbc79._0x20807d),'inputSchema':{'type':'object','properties':{'path':{'type':'string'},'limit':{'type':_0x2bf421(-_0x2bbc79._0x444d62,-_0x2bbc79._0x180a1b,-_0x2bbc79._0x30dfbe,-0x244)}}},async *'execute'(_0x3a1767){function _0x2f8043(_0x2dc55d,_0x3f4038,_0x1fde31,_0x5c682d){return _0x2bf421(_0x1fde31,_0x2dc55d-_0x23e139._0x4ddca2,_0x1fde31-_0x23e139._0x4e42d8,_0x5c682d-0x172);}const _0x2f6882=_0x3a1767[_0x273e04(0x2f8,0x441,_0x42f96d._0x4f6f56,0x40b)]??'.',_0xfb28=resolveAllowedPath(_0x362889,_0x3fe6c3,_0x2f6882),_0x3f22ae=await _0x3b5142(_0xfb28)['catch'](()=>null);if(!_0x3f22ae?.[_0x2f8043(_0x42f96d._0x5e59a0,_0x42f96d._0xabff8c,0x2ea,0x127)]())throw new ToolExecutionError(_0x2f8043(_0x42f96d._0xafd864,0x10b,_0x42f96d._0x3a2265,0x30f)+_0x2f6882,{'path':_0x2f6882});const _0x4745da=_0x3a1767['limit']??0x3e8,_0x3bc6e6=Math[_0x273e04(0x339,_0x42f96d._0x50e3ff,0x3d4,_0x42f96d._0x21a519)](Math[_0x2f8043(_0x42f96d._0xcb6ffd,0x17d,-_0x42f96d._0x249264,-0xcf)](Math['trunc'](_0x4745da),0x1),0x2710),_0x3c1a30=await _0x541d19(_0xfb28),_0x421c1d=[];for(const _0x238cea of _0x3c1a30['slice'](0x0,_0x3bc6e6)){const _0x26fb65=_0x42b099[_0x2f8043(_0x42f96d._0x72b3a9,_0x42f96d._0x5e3af1,_0x42f96d._0xb9b983,0x2b5)](_0xfb28,_0x238cea),_0x9d30dd=await _0x3b5142(_0x26fb65)['catch'](()=>null);if(!_0x9d30dd)continue;let _0x42ed0a=_0x2f8043(0x21c,_0x42f96d._0x59f017,_0x42f96d._0x27fb93,0x121);if(_0x9d30dd['isFile']())_0x42ed0a=_0x2f8043(_0x42f96d._0x57f8a8,0x16f,_0x42f96d._0xf88c88,0x18);else{if(_0x9d30dd[_0x273e04(0x343,0x37d,0x3db,_0x42f96d._0x1cc50f)]())_0x42ed0a='directory';else{if(_0x9d30dd['isSymbolicLink']())_0x42ed0a=_0x2f8043(0x28c,_0x42f96d._0x18bbca,_0x42f96d._0x5b561a,0x2d6);}}const _0x3db875={'name':_0x238cea,'type':_0x42ed0a,'size':_0x9d30dd[_0x273e04(0x3d2,_0x42f96d._0x46bbb6,0x280,_0x42f96d._0x4f2a7d)],'mtime':_0x9d30dd[_0x273e04(0x3c8,_0x42f96d._0x5dee0d,_0x42f96d._0x18ed8d,0x2dc)],'mode':_0x9d30dd['mode']},_0x2a3ceb=_0x42ed0a==='file'?await countTextLines(_0x26fb65,_0x9d30dd[_0x2f8043(_0x42f96d._0x44ab65,0x3d1,_0x42f96d._0x4cb7cc,0x1ca)]):void 0x0;if(_0x2a3ceb!==void 0x0)_0x3db875['lines']=_0x2a3ceb;_0x421c1d[_0x2f8043(0xda,_0x42f96d._0x4fbcfd,_0x42f96d._0x10c7a0,-0x2e)](_0x3db875);}function _0x273e04(_0x4b04b8,_0x477b68,_0x451c41,_0x48e63e){return _0x2bf421(_0x451c41,_0x4b04b8-_0x1b32f7._0x1bb41e,_0x451c41-_0x1b32f7._0x57b683,_0x48e63e-0x124);}_0x421c1d[_0x2f8043(0x16b,0x22d,0x213,_0x42f96d._0x11dd6b)]((_0x27d509,_0x236ebd)=>_0x27d509[_0x2f8043(0x9b,0xf4,0x169,-0x8d)][_0x273e04(0x3a8,0x51f,0x263,0x336)](_0x236ebd[_0x273e04(0x1ff,0x1e1,0x174,0x226)]));const _0x2a05d3={'path':_0x2f6882,'total':_0x421c1d['length'],'truncated':_0x3c1a30[_0x273e04(0x3f4,0x547,_0x42f96d._0x2a8a93,_0x42f96d._0x5bceb0)]>_0x3bc6e6,'entries':_0x421c1d};return yield createToolOutput(_0x237b9f[_0x273e04(0x2d2,0x160,0x432,_0x42f96d._0x55537a)](_0x2a05d3,{'indent':0x2,'lineWidth':0x0})[_0x2f8043(_0x42f96d._0x6e0661,_0x42f96d._0x2c4a42,0x389,_0x42f96d._0x1a5189)](),{'path':_0x2f6882,'total':_0x421c1d['length'],'truncated':_0x3c1a30['length']>_0x3bc6e6,'limit':_0x3bc6e6,'entries':_0x421c1d}),void 0x0;}});}import{stat as _0x2d8392}from'fs/promises';import _0x49e6d7 from'path';import{fileURLToPath as _0x5a2085}from'url';function severityName(_0x343629){const _0x7a19cf={_0x4be0c5:0x295,_0x562307:0x159,_0x51f24c:0x1e,_0x25a3a3:0x29,_0x5f2084:0x37,_0x503582:0x10f,_0x20446c:0x244,_0x2dbd3c:0x2a0,_0xd97ea2:0x11c,_0x3975fe:0x133},_0x3aeca1={_0x1c5c8e:0x62,_0x6b781a:0x18a,_0x128635:0x48d};function _0xbe3fbf(_0x254378,_0x1c7493,_0x361da3,_0x1cd19b){return _0x257320(_0x254378-_0x3aeca1._0x1c5c8e,_0x1c7493-_0x3aeca1._0x6b781a,_0x361da3- -_0x3aeca1._0x128635,_0x1cd19b);}function _0x3582a2(_0x5b25af,_0x5ab132,_0xb97dfa,_0x528d45){return _0x257320(_0x5b25af-0x13d,_0x5ab132-0x1c2,_0x5b25af- -0x245,_0x528d45);}switch(_0x343629){case 0x1:return _0x3582a2(0x26e,_0x7a19cf._0x4be0c5,0x313,0x17e);case 0x2:return _0xbe3fbf(-_0x7a19cf._0x562307,0xa9,_0x7a19cf._0x51f24c,_0x7a19cf._0x25a3a3);case 0x3:return _0xbe3fbf(-_0x7a19cf._0x5f2084,0x1b,-_0x7a19cf._0x503582,-0x2a);case 0x4:return _0x3582a2(_0x7a19cf._0x20446c,_0x7a19cf._0x2dbd3c,_0x7a19cf._0xd97ea2,_0x7a19cf._0x3975fe);default:return'Diagnostic';}}function formatSingleHover(_0x1613ae){const _0x2df000={_0x109e7d:0x136,_0x645dc3:0x50,_0x135f08:0xc6,_0x4b5858:0x232,_0xd83255:0x276,_0x1496bd:0xe0,_0x1ba4ec:0x20b,_0x30fb8e:0x22e,_0xefe7d4:0xcc,_0x5bf806:0x13c,_0xbdd5ef:0xa6,_0x6f72d:0x85,_0x130276:0x125,_0x4e3477:0x287,_0xbd031b:0x11b,_0x297864:0x84,_0x244de7:0xe6,_0xd1ebfb:0x5b,_0x2c0060:0xb4,_0x53a4bc:0x8d,_0x5b622d:0x121,_0x2eeac6:0x265},_0x24c9d2={_0x5474d2:0x356,_0x13b22d:0x1c4},_0x5cc3da={_0x302b24:0x18a,_0x5a861a:0x79};function _0x20a9ba(_0x203bd8,_0x32fdd5,_0x91b2b7,_0x556108){return _0x257320(_0x203bd8-_0x5cc3da._0x302b24,_0x32fdd5-_0x5cc3da._0x5a861a,_0x32fdd5- -0xf9,_0x91b2b7);}const _0x463a3d=_0x1613ae['contents'];if(typeof _0x463a3d===_0x1b56f4(0x14f,_0x2df000._0x109e7d,0x21e,_0x2df000._0x645dc3))return _0x463a3d;if(Array[_0x1b56f4(-_0x2df000._0x135f08,-0x28,-0x5,0x45)](_0x463a3d))return _0x463a3d['map'](_0x49b71b=>typeof _0x49b71b===_0x20a9ba(0x43f,0x41f,0x57c,0x3cd)?_0x49b71b:_0x49b71b[_0x1b56f4(-0x4d,-0x84,-0x136,0x15)])[_0x20a9ba(_0x2df000._0x4b5858,_0x2df000._0xd83255,0x3dd,0x3ee)](Boolean)[_0x1b56f4(-0x52,_0x2df000._0x1496bd,_0x2df000._0x1ba4ec,_0x2df000._0x30fb8e)]('\x0a\x0a');function _0x1b56f4(_0x169cf1,_0x9e9ae1,_0x340312,_0x38b292){return _0x3342ed(_0x169cf1-0x12c,_0x340312,_0x9e9ae1- -_0x24c9d2._0x5474d2,_0x38b292-_0x24c9d2._0x13b22d);}if('kind'in _0x463a3d)return _0x463a3d[_0x1b56f4(-0x1cf,-0x84,_0x2df000._0xefe7d4,-_0x2df000._0x5bf806)];return _0x463a3d[_0x1b56f4(_0x2df000._0xbdd5ef,-0x6c,-0xb8,0x6f)]?_0x1b56f4(_0x2df000._0x6f72d,_0x2df000._0x130276,_0x2df000._0x4e3477,0xc2)+_0x463a3d[_0x1b56f4(0x13,-0x6c,-0x105,-_0x2df000._0xbd031b)]+'\x0a'+_0x463a3d[_0x1b56f4(-0x19c,-_0x2df000._0x297864,0x44,-_0x2df000._0x244de7)]+_0x1b56f4(-_0x2df000._0xd1ebfb,-_0x2df000._0x2c0060,-_0x2df000._0x53a4bc,-_0x2df000._0x5b622d):_0x463a3d[_0x20a9ba(0x209,_0x2df000._0x2eeac6,0x32a,0x186)];}function formatHover(_0x56992c){const _0x5bcffa={_0x1da837:0x42e,_0x5bba11:0x4d6,_0x534adb:0x420,_0x3e2c6c:0xe1,_0x17bca4:0x174,_0x138b57:0xfc,_0x2f108a:0x207,_0x55294e:0x25b,_0x3cd1e1:0x2c,_0x2c0323:0x88},_0x1d5572={_0x130818:0x112,_0x2bf795:0xbe},_0x12683e={_0x5a2474:0x1a7};function _0x505bfa(_0x2bc994,_0x19fc08,_0x279806,_0x2d1cba){return _0x257320(_0x2bc994-0xc9,_0x19fc08-0x44,_0x19fc08- -_0x12683e._0x5a2474,_0x279806);}function _0x4596d0(_0x707384,_0x5c7680,_0xb946ff,_0x2a7f47){return _0x3342ed(_0x707384-_0x1d5572._0x130818,_0xb946ff,_0x707384- -0x2c2,_0x2a7f47-_0x1d5572._0x2bf795);}if(_0x56992c[_0x505bfa(_0x5bcffa._0x1da837,0x37a,_0x5bcffa._0x5bba11,0x245)]===0x0)return _0x505bfa(_0x5bcffa._0x534adb,0x324,0x3e5,0x2f9);return _0x56992c[_0x4596d0(-0x31,0xe2,-_0x5bcffa._0x3e2c6c,-_0x5bcffa._0x3e2c6c)](formatSingleHover)[_0x4596d0(_0x5bcffa._0x17bca4,_0x5bcffa._0x138b57,_0x5bcffa._0x2f108a,_0x5bcffa._0x55294e)](_0x4596d0(0x9b,_0x5bcffa._0x3cd1e1,0x16c,-_0x5bcffa._0x2c0323));}function locationPath(_0x7f45d1){const _0x43365c={_0x3a16ac:0x138,_0x38eed7:0x30c,_0x5f40e0:0x1c3},_0x2d625e={_0x1929b0:0x174,_0x328984:0x29},_0x1f36a9={_0x1b046e:0x10d,_0x13fe5e:0x2b2};function _0xdd4afd(_0x208727,_0x450791,_0x3fe9ee,_0x2fb780){return _0x257320(_0x208727-_0x1f36a9._0x1b046e,_0x450791-0x8,_0x208727- -_0x1f36a9._0x13fe5e,_0x450791);}if(!_0x7f45d1[_0xdd4afd(0x213,_0x43365c._0x3a16ac,_0x43365c._0x38eed7,0x357)](_0xdd4afd(_0x43365c._0x5f40e0,0x99,0x154,0x218)))return _0x7f45d1;function _0x3bd282(_0x37cd9a,_0x1a2b95,_0x22f5cf,_0x25857c){return _0x3342ed(_0x37cd9a-0x1e0,_0x1a2b95,_0x22f5cf-_0x2d625e._0x1929b0,_0x25857c-_0x2d625e._0x328984);}return _0x5a2085(_0x7f45d1);}function formatLocations(_0x3f31b9){const _0x1b5a98={_0x2004b9:0x14c,_0x374d3a:0x14c,_0x433b1f:0x263,_0xe72bc7:0x93,_0x14d0fb:0x1d1,_0x270099:0xbe,_0x4dcb4e:0x62,_0x46cfe5:0x240},_0x21d6d7={_0x358b9f:0x31,_0x3af87a:0x100,_0x42db9a:0x92,_0xc121ac:0xaa,_0x337cd5:0x63,_0x3a28bd:0x4f0,_0x5cea8c:0x567,_0x145a56:0x764,_0x9c0f7d:0x77a},_0x3cc347={_0x2d77ef:0x169,_0x41d0df:0x101},_0x17a696={_0x19b999:0x2a,_0x21286a:0x186},_0x343860={_0x426e5b:0x1be,_0x6f9094:0x341},_0x52e716={_0x464a9d:0x9b,_0x2242fd:0xc0};function _0x37e7b2(_0x5ccbc1,_0x4607b6,_0xda7694,_0x2ab26c){return _0x3342ed(_0x5ccbc1-_0x52e716._0x464a9d,_0xda7694,_0x2ab26c- -0x2f3,_0x2ab26c-_0x52e716._0x2242fd);}function _0x357b55(_0x131d4d,_0x5ec658,_0x1f3286,_0x53a77b){return _0x257320(_0x131d4d-0xac,_0x5ec658-_0x343860._0x426e5b,_0x53a77b- -_0x343860._0x6f9094,_0x1f3286);}if(_0x3f31b9[_0x357b55(_0x1b5a98._0x2004b9,_0x1b5a98._0x374d3a,_0x1b5a98._0x433b1f,0x1e0)]===0x0)return'No\x20locations\x20found';return _0x3f31b9[_0x37e7b2(_0x1b5a98._0xe72bc7,-_0x1b5a98._0x14d0fb,-_0x1b5a98._0x270099,-_0x1b5a98._0x4dcb4e)](_0x5b7332=>{function _0x52c574(_0x128134,_0x36a9ce,_0x21664e,_0x5eed2a){return _0x37e7b2(_0x128134-_0x17a696._0x19b999,_0x36a9ce-_0x17a696._0x21286a,_0x128134,_0x36a9ce-0x4cf);}const _0x4f3c64=_0x5b7332[_0x301ca3(0x56,-_0x21d6d7._0x358b9f,_0x21d6d7._0x3af87a,-_0x21d6d7._0x42db9a)]['start'];function _0x301ca3(_0x4f8635,_0x14862c,_0x4cd781,_0x36d0b5){return _0x357b55(_0x4f8635-0xea,_0x14862c-_0x3cc347._0x2d77ef,_0x4cd781,_0x4f8635- -_0x3cc347._0x41d0df);}return locationPath(_0x5b7332[_0x301ca3(0x48,_0x21d6d7._0xc121ac,_0x21d6d7._0x337cd5,-0xaf)])+':'+(_0x4f3c64[_0x52c574(_0x21d6d7._0x3a28bd,0x58b,0x4c2,0x6dc)]+0x1)+':'+(_0x4f3c64[_0x52c574(_0x21d6d7._0x5cea8c,0x67a,_0x21d6d7._0x145a56,_0x21d6d7._0x9c0f7d)]+0x1);})[_0x357b55(0x294,0x101,_0x1b5a98._0x46cfe5,0x181)]('\x0a');}function isDocumentSymbol(_0x2ac10f){const _0xd20c2f={_0x56c4d3:0x126,_0x1c471a:0x596,_0x4f50a8:0x6d6,_0x1dca9f:0x591},_0x35161a={_0x47cde2:0x121,_0x465d14:0x1af},_0xd8cd51={_0xb413c3:0x282,_0x12c6ab:0x1a2};function _0x5a62a3(_0x2c5839,_0x35c508,_0x1f4252,_0x1c75d2){return _0x3342ed(_0x2c5839-0xe2,_0x2c5839,_0x1f4252-_0xd8cd51._0xb413c3,_0x1c75d2-_0xd8cd51._0x12c6ab);}function _0x56b914(_0x573709,_0x987dea,_0x2fe341,_0x343e86){return _0x3342ed(_0x573709-_0x35161a._0x47cde2,_0x987dea,_0x343e86- -_0x35161a._0x465d14,_0x343e86-0x170);}return _0x56b914(0x345,0x3b6,_0xd20c2f._0x56c4d3,0x25d)in _0x2ac10f&&_0x5a62a3(_0xd20c2f._0x1c471a,_0xd20c2f._0x4f50a8,_0xd20c2f._0x1dca9f,0x549)in _0x2ac10f;}function formatSymbols(_0x85090d){const _0xe7df5d={_0x4822a2:0x5cc,_0x3ca2e8:0x504,_0x1c4736:0x353,_0x34679c:0x2ee,_0x50979d:0x4f0},_0x160ee6={_0xa2ae23:0x675,_0x50802a:0x642,_0xd5d0d0:0x566,_0x402b54:0xc7,_0x250d1a:0xf,_0x1c9387:0x12b,_0xa26f24:0x5a0,_0x25304f:0x672,_0xb372e2:0x5f3,_0x30d49a:0x551,_0x330402:0x6df,_0x43e98a:0x6dc,_0x446b8b:0x40,_0x4a21d7:0xd7,_0x30c527:0x1e,_0x27def6:0x4d4,_0x1c391d:0x4e6,_0x56eb3d:0x59b,_0x458ce6:0x637,_0x228cf2:0x802,_0x307e4e:0x5fa,_0x31125e:0x52d,_0x57d589:0x675,_0xdb7b12:0x4e,_0x57d815:0x2b,_0x412011:0x103,_0x3cce1c:0x1cd},_0x1448f9={_0x2dda5d:0x10f,_0x3a4ecc:0x1ff,_0x2b6295:0xf1},_0x5be8c6={_0x1835c2:0x177},_0x5b38e5={_0x9a0f9d:0x2f};if(_0x85090d['length']===0x0)return _0x2370e8(_0xe7df5d._0x4822a2,0x48e,0x5ad,_0xe7df5d._0x3ca2e8);function _0x5a6e29(_0x4b5d7f,_0x159b9c,_0x4022c5,_0x2f360e){return _0x257320(_0x4b5d7f-0x1f1,_0x159b9c-0x1db,_0x159b9c- -_0x5b38e5._0x9a0f9d,_0x4022c5);}function _0x2370e8(_0xebd940,_0x221c90,_0x42bdb2,_0x3398e8){return _0x257320(_0xebd940-0x1c1,_0x221c90-_0x5be8c6._0x1835c2,_0x221c90-0x3b,_0x42bdb2);}return _0x85090d[_0x5a6e29(_0xe7df5d._0x1c4736,_0xe7df5d._0x34679c,0x363,0x295)](_0x24e623=>{const _0x16b5c6={_0x445fce:0xe7};function _0x38a015(_0x217792,_0x182399,_0x2aa043,_0x1e7d6d){return _0x5a6e29(_0x217792-_0x16b5c6._0x445fce,_0x217792- -0x41b,_0x1e7d6d,_0x1e7d6d-0xd8);}function _0xa2ffe1(_0x45c1b6,_0x46cbdb,_0x2b6f77,_0x37d4f6){return _0x2370e8(_0x45c1b6-_0x1448f9._0x2dda5d,_0x37d4f6-_0x1448f9._0x3a4ecc,_0x45c1b6,_0x37d4f6-_0x1448f9._0x2b6295);}if(isDocumentSymbol(_0x24e623))return _0x24e623[_0xa2ffe1(_0x160ee6._0xa2ae23,0x5d9,_0x160ee6._0x50802a,_0x160ee6._0xd5d0d0)]+'\x20('+_0x24e623['kind']+')\x20['+(_0x24e623[_0x38a015(0x4e,-_0x160ee6._0x402b54,0x187,0x8b)]['start'][_0x38a015(-_0x160ee6._0x250d1a,-_0x160ee6._0x1c9387,0x153,0x14c)]+0x1)+':'+(_0x24e623['range'][_0xa2ffe1(_0x160ee6._0xa26f24,0x766,0x7ce,_0x160ee6._0x25304f)]['character']+0x1)+']';return _0x24e623[_0xa2ffe1(0x545,0x640,_0x160ee6._0xb372e2,0x566)]+'\x20('+_0x24e623['kind']+')\x20'+locationPath(_0x24e623[_0xa2ffe1(_0x160ee6._0x30d49a,_0x160ee6._0x330402,_0x160ee6._0x43e98a,0x59b)][_0x38a015(_0x160ee6._0x446b8b,0x163,-_0x160ee6._0x4a21d7,-_0x160ee6._0x30c527)])+':'+(_0x24e623[_0xa2ffe1(_0x160ee6._0x27def6,_0x160ee6._0x1c391d,0x681,_0x160ee6._0x56eb3d)][_0xa2ffe1(_0x160ee6._0x458ce6,_0x160ee6._0x228cf2,_0x160ee6._0x307e4e,0x6d2)][_0xa2ffe1(_0x160ee6._0x31125e,0x776,0x67c,0x672)][_0xa2ffe1(0x648,_0x160ee6._0x50802a,0x582,_0x160ee6._0x57d589)]+0x1)+':'+(_0x24e623[_0x38a015(-0xe9,0x26,-0x105,-0x229)][_0x38a015(_0x160ee6._0xdb7b12,_0x160ee6._0x57d815,0x1bd,-_0x160ee6._0x412011)]['start'][_0x38a015(0xe0,_0x160ee6._0x3cce1c,0x128,0x38)]+0x1);})[_0x2370e8(_0xe7df5d._0x50979d,0x4fd,0x60e,0x637)]('\x0a');}function formatDiagnostics(_0x290076){const _0x4b1fb8={_0x288e4f:0x3bd,_0x154e04:0x51e,_0x807aa5:0x271,_0x3219e3:0x15e,_0x3b7eb0:0x2bc,_0x4c4816:0x302,_0x5a347f:0x343,_0x405aa1:0x2a3},_0x539d3e={_0x45bf18:0x381,_0x402e14:0x56e,_0x2c1322:0x6f8,_0x4896c9:0x6a7,_0x215a03:0x6ca},_0x422dba={_0x362e0d:0x39},_0xccad01={_0x63575c:0xd8};function _0x45ebad(_0x276dd7,_0x1e7031,_0x41e98b,_0x33012d){return _0x3342ed(_0x276dd7-0x9a,_0x1e7031,_0x276dd7- -_0xccad01._0x63575c,_0x33012d-0x196);}function _0x45780d(_0x26fcb7,_0x5c2153,_0x14b472,_0x1958f4){return _0x257320(_0x26fcb7-_0x422dba._0x362e0d,_0x5c2153-0x6d,_0x26fcb7- -0x9a,_0x1958f4);}if(_0x290076[_0x45ebad(_0x4b1fb8._0x288e4f,0x2e3,0x40f,_0x4b1fb8._0x154e04)]===0x0)return _0x45780d(0x2ae,0x213,_0x4b1fb8._0x807aa5,_0x4b1fb8._0x3219e3);return _0x290076[_0x45ebad(0x1b9,0x120,_0x4b1fb8._0x3b7eb0,_0x4b1fb8._0x4c4816)](_0x25e3c8=>{const _0x533c2f={_0x29838c:0x136,_0x46ee34:0x3c};function _0x3020af(_0x1b2d7d,_0x410fb2,_0xb6cbf5,_0x5aa3b9){return _0x45780d(_0x1b2d7d-0xa,_0x410fb2-0x199,_0xb6cbf5-0xff,_0x5aa3b9);}const _0x2a1e0d=_0x25e3c8[_0x3020af(0x408,_0x539d3e._0x45bf18,_0x539d3e._0x402e14,0x2b0)][_0x16b5a3(0x636,0x57a,0x5b5,0x43d)];function _0x16b5a3(_0x5c93bf,_0x694f67,_0x161153,_0x4eea34){return _0x45780d(_0x694f67-0x1dc,_0x694f67-_0x533c2f._0x29838c,_0x161153-_0x533c2f._0x46ee34,_0x161153);}return severityName(_0x25e3c8['severity'])+'\x20['+(_0x2a1e0d['line']+0x1)+':'+(_0x2a1e0d[_0x16b5a3(0x757,0x66c,0x79c,0x50d)]+0x1)+']\x20'+_0x25e3c8[_0x16b5a3(_0x539d3e._0x2c1322,_0x539d3e._0x4896c9,_0x539d3e._0x215a03,0x704)];})[_0x45ebad(0x35e,0x2da,_0x4b1fb8._0x5a347f,_0x4b1fb8._0x405aa1)]('\x0a');}function formatIncomingCalls(_0x1df1de){const _0x40fde0={_0x5ad79b:0x6b0,_0x3aa514:0x683,_0x4832da:0x42,_0x3cc2cd:0x229,_0x538990:0x1b3,_0x29e796:0x31c,_0x426f1a:0x3f8,_0xd61eaf:0x129},_0x4c5c45={_0x78fdc8:0x220},_0xaa36d2={_0xb58382:0x1f};function _0x37412c(_0x36d38d,_0xc12b62,_0x1ca923,_0x464845){return _0x257320(_0x36d38d-_0xaa36d2._0xb58382,_0xc12b62-0xe7,_0x1ca923-0xc3,_0x464845);}if(_0x1df1de[_0x37412c(_0x40fde0._0x5ad79b,0x5f1,0x5e4,_0x40fde0._0x3aa514)]===0x0)return'No\x20call\x20hierarchy\x20results';function _0x325e86(_0x5f0c03,_0x440714,_0x3ab57a,_0x423668){return _0x257320(_0x5f0c03-0xe0,_0x440714-0x15d,_0x440714- -_0x4c5c45._0x78fdc8,_0x3ab57a);}return _0x1df1de[_0x325e86(-_0x40fde0._0x4832da,0xfd,_0x40fde0._0x3cc2cd,_0x40fde0._0x538990)](_0x3f8ccd=>_0x3f8ccd[_0x325e86(0x356,0x254,0x1ee,0x2da)][_0x325e86(0x143,0x10c,0x132,0x5a)])[_0x325e86(_0x40fde0._0x29e796,0x2a2,_0x40fde0._0x426f1a,_0x40fde0._0xd61eaf)]('\x0a');}function formatOutgoingCalls(_0x4ba54d){const _0x4517bf={_0x3332e8:0x1c,_0x24fb38:0xa3,_0x1d2530:0x1dd,_0x3a445c:0x15a,_0x52e1da:0xac,_0x54316b:0xda},_0x20d9e9={_0x32e7e8:0x124,_0x402594:0x265},_0x57bf93={_0x1cb5f2:0x18c,_0x310af4:0x1ac,_0x49a8f7:0x416};function _0xd5061f(_0x5939d7,_0x5b583f,_0x36a489,_0x186354){return _0x257320(_0x5939d7-_0x57bf93._0x1cb5f2,_0x5b583f-_0x57bf93._0x310af4,_0x5b583f- -_0x57bf93._0x49a8f7,_0x186354);}function _0x41d239(_0x359772,_0x4d49ac,_0xbfa4b4,_0x3dffa9){return _0x257320(_0x359772-_0x20d9e9._0x32e7e8,_0x4d49ac-0x45,_0x4d49ac- -_0x20d9e9._0x402594,_0x3dffa9);}if(_0x4ba54d['length']===0x0)return _0xd5061f(_0x4517bf._0x3332e8,0xad,_0x4517bf._0x24fb38,0x150);return _0x4ba54d[_0x41d239(-0xa2,0xb8,_0x4517bf._0x1d2530,_0x4517bf._0x3a445c)](_0x2d8299=>_0x2d8299['to']['name'])[_0xd5061f(0x191,_0x4517bf._0x52e1da,_0x4517bf._0x54316b,0x117)]('\x0a');}function toStructured(_0x2ce2fa){const _0x20bdd0={_0x5bc715:0x6f3,_0x5a3559:0x6f9},_0x19bd2a={_0x1efca7:0x1e7,_0x5f4691:0xb2,_0x15dcc8:0x263};function _0x3943cd(_0x139951,_0x2f5008,_0x16067d,_0x4f043a){return _0x257320(_0x139951-_0x19bd2a._0x1efca7,_0x2f5008-_0x19bd2a._0x5f4691,_0x16067d-_0x19bd2a._0x15dcc8,_0x4f043a);}return JSON[_0x3943cd(0x798,_0x20bdd0._0x5bc715,_0x20bdd0._0x5a3559,0x5dd)](JSON['stringify'](_0x2ce2fa));}async function assertFile(_0x9e38c5){const _0x9c81ac={_0x4e0da0:0x1e0},_0xaa9f42={_0xc1d3ae:0x32};function _0x4e0469(_0x3334c3,_0x25f7dd,_0x10b8a2,_0x59f587){return _0x3342ed(_0x3334c3-_0xaa9f42._0xc1d3ae,_0x10b8a2,_0x25f7dd- -0x102,_0x59f587-0xeb);}const _0xb7e4eb=await _0x2d8392(_0x9e38c5);if(!_0xb7e4eb[_0x4e0469(0x179,_0x9c81ac._0x4e0da0,0x1a2,0x1e3)]())throw new ToolExecutionError('Path\x20is\x20not\x20a\x20file:\x20'+_0x9e38c5,{'path':_0x9e38c5});}function validatePosition(_0x2f62c2,_0x3ca3ec){const _0x457f9c={_0x4bdfb6:0x23f,_0x4ad0f6:0x2d5,_0x5078d9:0x320,_0x145e70:0x1b6,_0x4a9a6d:0x4a5,_0x5a3716:0x560,_0x3b71a3:0x574,_0x50071c:0x61f},_0x4704e7={_0x5e2542:0x121,_0x4d1570:0x6b};function _0x405f7a(_0x55b4f7,_0x29ec52,_0x2b312e,_0x416963){return _0x3342ed(_0x55b4f7-_0x4704e7._0x5e2542,_0x416963,_0x2b312e-_0x4704e7._0x4d1570,_0x416963-0x19e);}if(!Number['isInteger'](_0x2f62c2)||_0x2f62c2<0x1)throw new ToolExecutionError(_0x405f7a(0x24f,0x3fe,0x35c,_0x457f9c._0x4bdfb6),{'line':_0x2f62c2});function _0x541505(_0x4b9702,_0x433242,_0xd908e3,_0x14f68f){return _0x257320(_0x4b9702-0x23,_0x433242-0x134,_0xd908e3-0x168,_0x433242);}if(!Number[_0x405f7a(_0x457f9c._0x4ad0f6,0x3e6,_0x457f9c._0x5078d9,_0x457f9c._0x145e70)](_0x3ca3ec)||_0x3ca3ec<0x1)throw new ToolExecutionError(_0x541505(_0x457f9c._0x4a9a6d,_0x457f9c._0x5a3716,_0x457f9c._0x3b71a3,_0x457f9c._0x50071c),{'character':_0x3ca3ec});}function createLspTool(_0x1ecd2={}){const _0x21f43f={_0x1cb61c:0xeb,_0x55c955:0x1ff,_0xcb98ad:0x16b,_0x215168:0x12d,_0x1efeb7:0xa3,_0x40bc82:0x7,_0x1c2e94:0x1bd,_0x55d891:0xb2,_0x4c26d0:0xc2,_0x30e20d:0x2d0,_0x6ed990:0x234,_0x15cf8c:0x199,_0x2fd793:0xf7,_0x401d2b:0x223,_0x2102f1:0x144,_0x5e6143:0x1bf,_0x303845:0x2e4,_0x38d61e:0x4a,_0x4c2c76:0x27b,_0x510a95:0x31b,_0x5ca398:0x34b,_0x4bd5f0:0x34a,_0x33598e:0x24a,_0x29afdd:0x141,_0x19bb75:0x40,_0xbe80e5:0x360,_0x438027:0x292,_0x5dbc7d:0x346,_0x2fd8e6:0x227,_0x559679:0x2d6,_0x57adcc:0x144,_0x424feb:0x213,_0xd5a098:0x99,_0xa198e9:0x1c,_0x3a1de8:0x3e6,_0x2908c4:0x2b3,_0x4e2c1d:0x275,_0x1644f3:0x13f,_0x3c33ef:0x107,_0x401d88:0x170,_0x4852a6:0x20f,_0x413a6f:0x2ce,_0x3335bb:0x362},_0x294b11={_0x514a57:0x566,_0x365957:0x27e,_0x5b8aa1:0x2d2,_0x8836cb:0x434,_0x256ae7:0x3a6,_0x1d81d3:0x460,_0x1d5d98:0x3a2,_0x22099e:0x4e2,_0x2503ea:0xf4,_0x2dc792:0x253,_0x59e0e6:0x356,_0x3173b1:0x637,_0x182d2f:0x4f8,_0x2c393e:0x4ec,_0x4c1bcf:0x207,_0x85d0dd:0x343,_0x1be352:0x4ac,_0x57eddf:0x539,_0x260429:0x3c6,_0x1e05e1:0x610,_0x342258:0x606,_0x251898:0x63f,_0x5544ae:0x166,_0x3b104b:0x19b,_0x1f2ce0:0x4cc,_0x18b590:0x198,_0x2c773d:0x406,_0x1548b7:0x68f,_0x4e5065:0x68c,_0x5c486f:0x53b,_0x183462:0x560,_0x1393e4:0x321,_0x4a60a2:0x4bd,_0x190cae:0x43c,_0x118110:0x1ae,_0x4f06b5:0xe8,_0x25148a:0x449,_0x4fd341:0x571,_0x50bf6f:0x4c0,_0x4c2cea:0x34,_0x42162a:0x398,_0x435846:0x245,_0x4b46c3:0x116,_0x7f3385:0x1d6,_0x286360:0x1ef,_0x1464d0:0x562,_0xa268e9:0x4d1,_0x212f2a:0x5e1,_0x10645d:0x4e9,_0x4c6888:0x2e4,_0x1497b6:0x350,_0x417d7a:0x4cc,_0x24d8d4:0x650},_0x2ef068={_0x91da55:0x1eb},_0x5d970c={_0x193cea:0xbd},_0x5cd631={_0x536812:0x153,_0xe60047:0x30,_0x114dad:0x27a};function _0x287b02(_0x4432f1,_0xb622f8,_0xbd9e38,_0x5cdaf1){return _0x257320(_0x4432f1-_0x5cd631._0x536812,_0xb622f8-_0x5cd631._0xe60047,_0x4432f1- -_0x5cd631._0x114dad,_0xbd9e38);}const _0x4bdeb4=_0x49e6d7[_0x879dfc(0x176,0x139,_0x21f43f._0x1cb61c,_0x21f43f._0x55c955)](_0x1ecd2['defaultCwd']??process[_0x287b02(_0x21f43f._0xcb98ad,0x59,_0x21f43f._0x215168,0x2df)]());function _0x879dfc(_0x518f2d,_0x3c39c0,_0x39385d,_0x494fad){return _0x257320(_0x518f2d-_0x5d970c._0x193cea,_0x3c39c0-0x17c,_0x3c39c0- -0x224,_0x494fad);}const _0xac7838=(_0x1ecd2['allowedDirs']??[])[_0x287b02(_0x21f43f._0x1efeb7,-_0x21f43f._0x40bc82,-0x8d,_0x21f43f._0x1c2e94)](_0x457cec=>_0x49e6d7[_0x287b02(0xe3,0xde,0xa0,0x198)](_0x457cec)),_0x4e0568=_0x1ecd2[_0x287b02(_0x21f43f._0x55d891,0x147,0x19d,-_0x21f43f._0x4c26d0)]??_0x879dfc(0x25a,_0x21f43f._0x30e20d,0x2b7,_0x21f43f._0x6ed990);return defineTool({'name':_0x4e0568,'description':'Query\x20Language\x20Server\x20Protocol\x20code\x20intelligence\x20for\x20workspace\x20files:\x20definitions,\x20references,\x20hover,\x20symbols,\x20call\x20hierarchy,\x20and\x20diagnostics.','inputSchema':{'type':'object','properties':{'operation':{'type':'string','enum':['goToDefinition',_0x287b02(_0x21f43f._0x15cf8c,_0x21f43f._0x2fd793,_0x21f43f._0x401d2b,0x27a),_0x879dfc(0x266,_0x21f43f._0x2102f1,0x37,_0x21f43f._0x5e6143),_0x287b02(0x190,_0x21f43f._0x303845,_0x21f43f._0x38d61e,0x1fa),_0x879dfc(_0x21f43f._0x4c2c76,_0x21f43f._0x510a95,_0x21f43f._0x5ca398,_0x21f43f._0x4bd5f0),_0x879dfc(_0x21f43f._0x33598e,0x114,_0x21f43f._0x29afdd,_0x21f43f._0x19bb75),_0x879dfc(0x3d3,_0x21f43f._0xbe80e5,_0x21f43f._0x438027,0x328),_0x879dfc(0x3ac,0x365,_0x21f43f._0x5dbc7d,0x214),'outgoingCalls','diagnostics']},'filePath':{'type':_0x287b02(0x29e,0x1aa,0x3a9,0x37a)},'line':{'type':_0x879dfc(_0x21f43f._0x2fd8e6,0x19a,0x2cc,_0x21f43f._0x559679)},'character':{'type':_0x287b02(_0x21f43f._0x57adcc,_0x21f43f._0x424feb,_0x21f43f._0xd5a098,_0x21f43f._0xa198e9)},'query':{'type':_0x879dfc(0x2e0,0x2f4,_0x21f43f._0x3a1de8,0x379)}},'required':[_0x287b02(0x1b7,0x296,_0x21f43f._0x2908c4,0x1e3),_0x879dfc(0x2ad,_0x21f43f._0x4e2c1d,_0x21f43f._0x1644f3,_0x21f43f._0x3c33ef),_0x879dfc(0x279,0x217,_0x21f43f._0x401d88,_0x21f43f._0x4852a6),_0x879dfc(0x3ee,0x306,_0x21f43f._0x413a6f,_0x21f43f._0x3335bb)]},async *'execute'(_0x76fbb8){const _0x3e565d={_0x43931f:0x2eb};function _0x4bd948(_0x21e11b,_0x3c5938,_0x536b92,_0x1d174c){return _0x879dfc(_0x21e11b-0xa5,_0x3c5938-_0x3e565d._0x43931f,_0x536b92-0x1d2,_0x1d174c);}const _0x3592c1=_0x1ecd2[_0x4bd948(0x5db,0x622,_0x294b11._0x514a57,0x71b)];if(!_0x3592c1)throw new ToolExecutionError(_0x6c9c86(_0x294b11._0x365957,_0x294b11._0x5b8aa1,_0x294b11._0x8836cb,_0x294b11._0x256ae7));function _0x6c9c86(_0x5302dd,_0x19cfa0,_0x709743,_0x42229e){return _0x287b02(_0x19cfa0-0x46,_0x19cfa0-0xa6,_0x42229e,_0x42229e-_0x2ef068._0x91da55);}if(!_0x3592c1[_0x4bd948(_0x294b11._0x1d81d3,_0x294b11._0x1d5d98,0x3a9,_0x294b11._0x22099e)]())throw new ToolExecutionError(_0x6c9c86(_0x294b11._0x2503ea,_0x294b11._0x2dc792,0x2ea,_0x294b11._0x59e0e6));const _0x12180d=_0x76fbb8[_0x4bd948(_0x294b11._0x3173b1,_0x294b11._0x182d2f,0x5e9,_0x294b11._0x2c393e)];validatePosition(_0x76fbb8[_0x6c9c86(0x178,_0x294b11._0x4c1bcf,0x125,_0x294b11._0x85d0dd)],_0x76fbb8['character']);if(_0x12180d==='workspaceSymbol'){if(!_0x76fbb8[_0x4bd948(_0x294b11._0x1be352,0x4bb,0x47b,_0x294b11._0x57eddf)]?.['trim']())throw new ToolExecutionError(_0x6c9c86(0x21e,0x26a,0x12d,_0x294b11._0x260429));const _0x23f62a=await _0x3592c1[_0x4bd948(_0x294b11._0x1e05e1,_0x294b11._0x342258,0x6e5,_0x294b11._0x251898)](_0x76fbb8['query'][_0x6c9c86(_0x294b11._0x5544ae,0x8f,_0x294b11._0x3b104b,-0x59)]());return yield createToolOutput(formatSymbols(_0x23f62a),{'operation':_0x12180d,'query':_0x76fbb8['query'],'symbols':_0x23f62a}),void 0x0;}const _0x377db0=resolveAllowedPath(_0x4bdeb4,_0xac7838,_0x76fbb8['filePath']);await assertFile(_0x377db0);if(!await _0x3592c1[_0x4bd948(0x32a,0x3ee,0x29e,_0x294b11._0x1f2ce0)](_0x377db0))throw new ToolExecutionError(_0x6c9c86(0x255,0x1f2,_0x294b11._0x18b590,0x22e)+_0x76fbb8[_0x4bd948(_0x294b11._0x2c773d,0x560,_0x294b11._0x1548b7,_0x294b11._0x4e5065)],{'filePath':_0x76fbb8[_0x4bd948(_0x294b11._0x5c486f,_0x294b11._0x183462,0x474,0x5c3)]});await _0x3592c1['touchFile'](_0x377db0,!![]);const _0xf4c5b1={'file':_0x377db0,'line':_0x76fbb8[_0x6c9c86(_0x294b11._0x1393e4,0x207,0x22b,0x1bf)]-0x1,'character':_0x76fbb8[_0x6c9c86(0x40f,0x2f6,0x3f3,0x350)]-0x1};switch(_0x12180d){case _0x4bd948(0x35f,0x42f,0x324,0x3db):{const _0x27490f=await _0x3592c1['hover'](_0xf4c5b1);return yield createToolOutput(formatHover(_0x27490f),{'operation':_0x12180d,'filePath':_0x377db0,'hover':_0x27490f}),void 0x0;}case _0x4bd948(0x4f0,_0x294b11._0x4a60a2,0x511,_0x294b11._0x190cae):{const _0x429c73=await _0x3592c1[_0x6c9c86(_0x294b11._0x118110,0xee,_0x294b11._0x4f06b5,-0x46)](_0x377db0);return yield createToolOutput(formatDiagnostics(_0x429c73),{'operation':_0x12180d,'filePath':_0x377db0,'diagnostics':_0x429c73}),void 0x0;}case _0x4bd948(_0x294b11._0x25148a,0x4cf,_0x294b11._0x4fd341,0x35c):{const _0x1ecbfe=await _0x3592c1['definition'](_0xf4c5b1);return yield createToolOutput(formatLocations(_0x1ecbfe),{'operation':_0x12180d,'filePath':_0x377db0,'locations':_0x1ecbfe}),void 0x0;}case _0x4bd948(0x5ac,0x4da,0x502,_0x294b11._0x50bf6f):{const _0x271e5f=await _0x3592c1['references'](_0xf4c5b1);return yield createToolOutput(formatLocations(_0x271e5f),{'operation':_0x12180d,'filePath':_0x377db0,'locations':_0x271e5f}),void 0x0;}case _0x6c9c86(0x19f,0x104,0x172,_0x294b11._0x4c2cea):{const _0x84f99=await _0x3592c1[_0x4bd948(0x37e,_0x294b11._0x42162a,_0x294b11._0x435846,0x30d)](_0xf4c5b1);return yield createToolOutput(formatLocations(_0x84f99),{'operation':_0x12180d,'filePath':_0x377db0,'locations':_0x84f99}),void 0x0;}case _0x6c9c86(_0x294b11._0x4b46c3,_0x294b11._0x7f3385,_0x294b11._0x286360,0x25c):{const _0x4b4996=await _0x3592c1[_0x4bd948(_0x294b11._0x1464d0,_0x294b11._0xa268e9,_0x294b11._0x212f2a,_0x294b11._0x10645d)](_0x377db0);return yield createToolOutput(formatSymbols(_0x4b4996),{'operation':_0x12180d,'filePath':_0x377db0,'symbols':_0x4b4996}),void 0x0;}case _0x6c9c86(_0x294b11._0x4c6888,_0x294b11._0x1497b6,0x459,0x3a6):{const _0x581095=await _0x3592c1['prepareCallHierarchy'](_0xf4c5b1);return yield createToolOutput(formatSymbols(_0x581095),{'operation':_0x12180d,'filePath':_0x377db0,'symbols':toStructured(_0x581095)}),void 0x0;}case _0x6c9c86(_0x294b11._0x417d7a,0x355,0x286,0x435):{const _0x2d8a5b=await _0x3592c1[_0x4bd948(0x504,_0x294b11._0x24d8d4,0x56a,_0x294b11._0x5c486f)](_0xf4c5b1);return yield createToolOutput(formatIncomingCalls(_0x2d8a5b),{'operation':_0x12180d,'filePath':_0x377db0,'calls':toStructured(_0x2d8a5b)}),void 0x0;}case'outgoingCalls':{const _0x22134b=await _0x3592c1['outgoingCalls'](_0xf4c5b1);return yield createToolOutput(formatOutgoingCalls(_0x22134b),{'operation':_0x12180d,'filePath':_0x377db0,'calls':toStructured(_0x22134b)}),void 0x0;}}}});}import{randomUUID as _0xea56d}from'crypto';import{mkdir as _0x4e0516,readFile as _0x2a17ea,writeFile as _0x3f5c78}from'fs/promises';import{join as _0x37c59e}from'path';function sanitizeStorageKey(_0x4de050){const _0x2330a0={_0x107484:0x483,_0x1e3669:0x578,_0x188d9f:0x47e,_0x3ee29e:0x15d},_0x9b9e17={_0x5de775:0x1df,_0x175a00:0xc3},_0xeeb0cf={_0x4c2a0a:0x129,_0x5863f1:0x10f};function _0x5a5228(_0x39ffc8,_0x2ba528,_0x4da765,_0x1f9553){return _0x257320(_0x39ffc8-0x135,_0x2ba528-_0xeeb0cf._0x4c2a0a,_0x39ffc8- -_0xeeb0cf._0x5863f1,_0x2ba528);}function _0x2a3078(_0x5ee666,_0x6b40cd,_0x2dc926,_0x583d48){return _0x3342ed(_0x5ee666-0x19b,_0x5ee666,_0x583d48-_0x9b9e17._0x5de775,_0x583d48-_0x9b9e17._0x175a00);}return _0x4de050[_0x5a5228(0x481,_0x2330a0._0x107484,_0x2330a0._0x1e3669,0x331)](/[^a-zA-Z0-9_]+/g,'_')[_0x5a5228(0x481,0x426,0x596,_0x2330a0._0x188d9f)](/^_+|_+$/g,'')||_0x5a5228(0x2c5,0x298,0x417,_0x2330a0._0x3ee29e);}function storagePath(_0x4e56b1){const _0x16ab53={_0x2dcc54:0x406,_0x3d28d5:0x57c,_0x3d4e1d:0x274,_0x29dcdd:0x223,_0x16b71c:0x461,_0x4edf2a:0x49d,_0xfe72dd:0x54,_0x404f54:0x52,_0x50fc20:0x3b3},_0x1b694f={_0x4d5ff8:0x120},_0x47cc55={_0x1521fe:0x1ad,_0x38b937:0x2f4};function _0x3388c8(_0xc32af6,_0x2d34a4,_0x204f5d,_0x586d95){return _0x257320(_0xc32af6-0x32,_0x2d34a4-_0x47cc55._0x1521fe,_0x586d95- -_0x47cc55._0x38b937,_0x204f5d);}function _0xd91af6(_0x44deed,_0x6c670b,_0x138084,_0x3677ed){return _0x3342ed(_0x44deed-_0x1b694f._0x4d5ff8,_0x6c670b,_0x44deed-0x9d,_0x3677ed-0x45);}const _0x1196a7=sanitizeStorageKey(_0x4e56b1[_0xd91af6(_0x16ab53._0x2dcc54,0x34c,0x415,0x410)][_0xd91af6(_0x16ab53._0x3d28d5,0x61e,0x51b,0x6ed)]?.[_0x3388c8(_0x16ab53._0x3d4e1d,0x343,0x208,_0x16ab53._0x29dcdd)]??_0x4e56b1[_0xd91af6(0x357,0x2df,_0x16ab53._0x16b71c,_0x16ab53._0x4edf2a)]);return _0x37c59e(_0x4e56b1[_0x3388c8(-_0x16ab53._0xfe72dd,0xb7,-_0x16ab53._0x404f54,0x8)],_0x1196a7+_0xd91af6(0x35d,_0x16ab53._0x50fc20,0x464,0x1e9));}async function readStore(_0x5f0035){const _0x39effb={_0x28795b:0x323,_0x43a0f5:0xe5,_0x42179e:0x64c,_0x41c2eb:0x6a1},_0x29ae50={_0x284c5a:0x51,_0x13271e:0x247},_0x15452a={_0x2a1236:0x19};function _0x6e8e21(_0x1d59db,_0x2941a8,_0x4f2cee,_0x5aba08){return _0x257320(_0x1d59db-0x113,_0x2941a8-_0x15452a._0x2a1236,_0x4f2cee- -0x2bb,_0x5aba08);}function _0x1bc864(_0x161ac6,_0x42bb88,_0x1d79de,_0x47dcf4){return _0x257320(_0x161ac6-0x187,_0x42bb88-_0x29ae50._0x284c5a,_0x42bb88-_0x29ae50._0x13271e,_0x161ac6);}try{return JSON['parse'](await _0x2a17ea(_0x5f0035,_0x6e8e21(_0x39effb._0x28795b,0x22e,0x289,0x172)));}catch(_0x39f4bb){if(_0x39f4bb instanceof Error&&_0x6e8e21(-0x10,_0x39effb._0x43a0f5,0x14a,0x1d5)in _0x39f4bb&&_0x39f4bb[_0x1bc864(0x6ec,_0x39effb._0x42179e,0x58c,0x6e8)]===_0x1bc864(0x7b6,0x7cd,0x7e6,_0x39effb._0x41c2eb))return{};throw _0x39f4bb;}}async function writeStore(_0x3aeec7,_0x1e0cfe){const _0x10554e={_0x4cf38a:0x1a3,_0x3db0a1:0x2f8},_0x4479c5={_0x1c7092:0x3b};function _0x3344c0(_0xd01101,_0x3235ff,_0x25b3a5,_0x50b5ca){return _0x3342ed(_0xd01101-0x1d3,_0x3235ff,_0x50b5ca- -0x1c0,_0x50b5ca-_0x4479c5._0x1c7092);}await _0x4e0516(_0x37c59e(_0x3aeec7,'..'),{'recursive':!![]}),await _0x3f5c78(_0x3aeec7,JSON['stringify'](_0x1e0cfe,null,0x2),_0x3344c0(0x35c,_0x10554e._0x4cf38a,0x337,_0x10554e._0x3db0a1));}async function updateStore(_0x213b7f,_0x43d0ae){const _0xd2fa02=await readStore(_0x213b7f);_0x43d0ae(_0xd2fa02),await writeStore(_0x213b7f,_0xd2fa02);}function createMcpOAuthProvider(_0x6e7c1f){const _0xb8fcf0={_0x5e9392:0x60b,_0xb50138:0x69a,_0x5b1398:0x84c,_0x2091e4:0x212,_0x428762:0x35a,_0x1b1300:0x49e,_0x41136c:0x3f9,_0x433e83:0x7c8,_0x2d1210:0x700,_0x276559:0x579,_0x20a49e:0x29b,_0x73b2f2:0x2e6,_0x48dda0:0x6dd,_0x10c4ee:0x5f5,_0x466924:0x7c1,_0x456738:0x754,_0x5448eb:0x3eb,_0x5a245c:0x462,_0x163475:0x4e0,_0x103ae6:0x3be,_0x3bdeb3:0x3a5,_0x279e62:0x3db,_0x1507bf:0x28a,_0x4674fa:0x382,_0x31ecf2:0x3cd,_0x2784d1:0x4de},_0x4b079e={_0x1dbbfb:0x367,_0x2da268:0x430},_0x4bdd39={_0x19645a:0x2b5,_0xd1fca5:0x3b4,_0x4a7698:0x2c7},_0x2eed8b={_0x4bc107:0x15,_0x33e901:0x120,_0x17be76:0xd2},_0x4b3024={_0xb5f822:0x1ab},_0x536c8c={_0x222999:0x44f,_0x3cfee5:0x33},_0x5899c5={_0x82a56a:0x516,_0x12a980:0x606,_0x481410:0x46c,_0xc4a420:0x41a},_0x371c3e={_0x220710:0x79},_0x1598d8={_0x5c42ee:0x176,_0x2c92a3:0x37c},_0x27d8fd={_0x564ca8:0x53},_0x5c4676={_0x170a68:0x112,_0x1d4151:0x72};function _0x4f755f(_0x13ec5a,_0x12403f,_0x255855,_0x85f4dd){return _0x3342ed(_0x13ec5a-_0x5c4676._0x170a68,_0x13ec5a,_0x12403f-_0x5c4676._0x1d4151,_0x85f4dd-0x55);}const _0x34cff3=storagePath(_0x6e7c1f),_0x5cda22=_0x6e7c1f[_0x5493e6(0x525,0x7a0,0x633,_0xb8fcf0._0x5e9392)][_0x5493e6(_0xb8fcf0._0xb50138,_0xb8fcf0._0x5b1398,0x7a9,0x895)]?.[_0x4f755f(_0xb8fcf0._0x2091e4,_0xb8fcf0._0x428762,_0xb8fcf0._0x1b1300,_0xb8fcf0._0x41136c)]?.[_0x5493e6(0x6d6,_0xb8fcf0._0x433e83,_0xb8fcf0._0x2d1210,0x68d)]('\x20'),_0x4167ce={'client_name':_0x5493e6(0x58c,0x5bb,_0xb8fcf0._0x276559,0x613),'redirect_uris':[_0x6e7c1f[_0x4f755f(0x2ba,_0xb8fcf0._0x20a49e,_0xb8fcf0._0x73b2f2,0x223)]],'grant_types':[_0x5493e6(0x5c5,0x567,_0xb8fcf0._0x48dda0,_0xb8fcf0._0x10c4ee),_0x5493e6(0x6a3,_0xb8fcf0._0x466924,_0xb8fcf0._0x456738,0x7bc)],'response_types':[_0x4f755f(0x316,_0xb8fcf0._0x5448eb,_0xb8fcf0._0x5a245c,0x2f6)],'token_endpoint_auth_method':_0x4f755f(0x485,_0xb8fcf0._0x163475,_0xb8fcf0._0x103ae6,0x4cd),..._0x5cda22?{'scope':_0x5cda22}:{}};function _0x5493e6(_0xdbedd1,_0x3decd9,_0x30b0de,_0x979995){return _0x3342ed(_0xdbedd1-_0x27d8fd._0x564ca8,_0x979995,_0x30b0de-0x2ca,_0x979995-0x73);}return{'clientMetadataUrl':_0x6e7c1f[_0x4f755f(_0xb8fcf0._0x3bdeb3,_0xb8fcf0._0x279e62,_0xb8fcf0._0x1507bf,_0xb8fcf0._0x4674fa)]['oauth']?.[_0x4f755f(0x26f,0x37d,_0xb8fcf0._0x31ecf2,_0xb8fcf0._0x2784d1)],get 'redirectUrl'(){const _0x3aab1d={_0x2a1939:0x4d8,_0x424243:0x11};function _0x44fe02(_0x130355,_0x547b34,_0x18d396,_0x3c8873){return _0x4f755f(_0x18d396,_0x547b34- -_0x3aab1d._0x2a1939,_0x18d396-_0x3aab1d._0x424243,_0x3c8873-0x1a6);}return _0x6e7c1f[_0x44fe02(-_0x1598d8._0x5c42ee,-0x23d,-0x398,-_0x1598d8._0x2c92a3)];},get 'clientMetadata'(){return _0x4167ce;},async 'state'(){const _0x2d9180=await readStore(_0x34cff3);if(_0x2d9180[_0x3a3c8e(_0x5899c5._0x82a56a,_0x5899c5._0x12a980,_0x5899c5._0x481410,_0x5899c5._0xc4a420)])return _0x2d9180['state'];const _0x2ad362=_0xea56d();function _0x3a3c8e(_0x51140e,_0x933e97,_0x1b8df9,_0x12f860){return _0x4f755f(_0x12f860,_0x51140e- -0x53,_0x1b8df9-_0x371c3e._0x220710,_0x12f860-0x1e);}return await updateStore(_0x34cff3,_0xe8237d=>{function _0x519b1e(_0x185f93,_0xfeaa65,_0x3d0882,_0x2894a1){return _0x3a3c8e(_0x3d0882- -0xe2,_0xfeaa65-0x199,_0x3d0882-0x17c,_0xfeaa65);}_0xe8237d[_0x519b1e(0x421,0x40f,0x434,0x45b)]=_0x2ad362;}),_0x2ad362;},async 'clientInformation'(){function _0x4ec36e(_0x49f435,_0x323f98,_0x6c5eb5,_0x3689af){return _0x4f755f(_0x6c5eb5,_0x3689af- -_0x536c8c._0x222999,_0x6c5eb5-_0x536c8c._0x3cfee5,_0x3689af-0x8);}return(await readStore(_0x34cff3))[_0x4ec36e(0x80,-0x7c,-0x2d,-0xae)];},async 'saveClientInformation'(_0x20b3fd){const _0x2349d7={_0xf95788:0x143,_0x4bc69d:0x14c},_0x1f7862={_0xb50349:0x5b};await updateStore(_0x34cff3,_0x31f79b=>{function _0x289d13(_0x3a7d42,_0x237599,_0x43be92,_0x136227){return _0x1df5(_0x3a7d42- -_0x1f7862._0xb50349,_0x43be92);}_0x31f79b[_0x289d13(0x20f,_0x2349d7._0xf95788,_0x2349d7._0x4bc69d,0x291)]=_0x20b3fd;});},async 'tokens'(){function _0x12a613(_0x33479d,_0x11bb41,_0x2bc01b,_0x382d5b){return _0x4f755f(_0x11bb41,_0x33479d- -0x486,_0x2bc01b-0x1a4,_0x382d5b-_0x4b3024._0xb5f822);}return(await readStore(_0x34cff3))[_0x12a613(0xa0,-_0x2eed8b._0x4bc107,_0x2eed8b._0x33e901,-_0x2eed8b._0x17be76)];},async 'saveTokens'(_0x546673){await updateStore(_0x34cff3,_0x4f2f90=>{function _0x13c48d(_0x57e6cd,_0x4ba999,_0x56d5d7,_0x407bb8){return _0x1df5(_0x4ba999-0x215,_0x56d5d7);}_0x4f2f90[_0x13c48d(0x6d9,0x604,0x68a,0x661)]=_0x546673;});},async 'redirectToAuthorization'(_0x2b182e){await _0x6e7c1f['onRedirect'](_0x2b182e);},async 'saveCodeVerifier'(_0xdd44ea){const _0x1458d8={_0x5aa933:0x569,_0x496a3e:0x60e};await updateStore(_0x34cff3,_0x34f485=>{function _0x16ce59(_0x226b9c,_0x3dfea3,_0x210ac8,_0x4e790e){return _0x1df5(_0x4e790e-0x2bb,_0x226b9c);}_0x34f485[_0x16ce59(0x6ce,0x58c,_0x1458d8._0x5aa933,_0x1458d8._0x496a3e)]=_0xdd44ea;});},async 'codeVerifier'(){const _0x98bf35=(await readStore(_0x34cff3))['codeVerifier'];if(!_0x98bf35)throw new Error(_0x2be58e(_0x4bdd39._0x19645a,_0x4bdd39._0xd1fca5,_0x4bdd39._0x4a7698,0x486));function _0x2be58e(_0x7a0975,_0x1bb441,_0x5d0a80,_0x20d5b5){return _0x5493e6(_0x7a0975-0x160,_0x1bb441-0x13,_0x1bb441- -0x1d8,_0x5d0a80);}return _0x98bf35;},async 'invalidateCredentials'(_0x450a37){const _0x3facd7={_0x26b3ac:0x13c,_0x1a1fb4:0x1f5,_0x53d7d3:0x28b,_0x4adf2a:0x3dd,_0x157829:0x24d,_0x50dec2:0xb0,_0x138a91:0x1cd,_0x565f5c:0x2ce,_0x14d774:0x28e,_0x3a0b97:0x5d};await updateStore(_0x34cff3,_0x2aa3ea=>{const _0x2fff7e={_0x435074:0x75},_0x210a8f={_0x1f723e:0x2da};(_0x450a37===_0x45f8d7(_0x3facd7._0x26b3ac,0x14a,0xae,0x138)||_0x450a37==='client')&&(_0x2aa3ea[_0x45f8d7(_0x3facd7._0x1a1fb4,0x2bb,_0x3facd7._0x53d7d3,0x246)]=void 0x0);function _0x4de577(_0x136cfc,_0x24ba44,_0x53eba0,_0x11e564){return _0x1df5(_0x11e564- -_0x210a8f._0x1f723e,_0x24ba44);}(_0x450a37==='all'||_0x450a37===_0x45f8d7(0x37a,0x3d0,0x4c4,_0x3facd7._0x4adf2a))&&(_0x2aa3ea[_0x4de577(_0x3facd7._0x157829,0x16e,_0x3facd7._0x50dec2,0x115)]=void 0x0);(_0x450a37==='all'||_0x450a37===_0x4de577(-0x1a2,-_0x3facd7._0x138a91,0xae,-0x9f))&&(_0x2aa3ea['codeVerifier']=void 0x0,_0x2aa3ea[_0x4de577(_0x3facd7._0x565f5c,_0x3facd7._0x14d774,_0x3facd7._0x3a0b97,0x158)]=void 0x0);function _0x45f8d7(_0x555f98,_0xf44fb2,_0x116546,_0x270409){return _0x1df5(_0x555f98- -_0x2fff7e._0x435074,_0x116546);}(_0x450a37==='all'||_0x450a37==='discovery')&&(_0x2aa3ea['discoveryState']=void 0x0);});},async 'saveDiscoveryState'(_0x2ec96f){const _0x4f9617={_0x1d793f:0x3a0,_0x19f9af:0x4d8,_0x181cfe:0x41c};await updateStore(_0x34cff3,_0x14f23c=>{const _0x3c4179={_0x2a3e:0x8f};function _0x2868db(_0x544cd9,_0x592db9,_0x1dc342,_0x4b5af7){return _0x1df5(_0x592db9-_0x3c4179._0x2a3e,_0x4b5af7);}_0x14f23c[_0x2868db(0x3db,_0x4f9617._0x1d793f,_0x4f9617._0x19f9af,_0x4f9617._0x181cfe)]=_0x2ec96f;});},async 'discoveryState'(){function _0x393b28(_0x5c2a31,_0x6b7e2c,_0x1b5583,_0x168874){return _0x5493e6(_0x5c2a31-0xd8,_0x6b7e2c-0x131,_0x6b7e2c- -0x342,_0x5c2a31);}return(await readStore(_0x34cff3))[_0x393b28(0x2e3,0x35e,_0x4b079e._0x1dbbfb,_0x4b079e._0x2da268)];}};}import{Client}from'@modelcontextprotocol/sdk/client/index.js';import{StdioClientTransport}from'@modelcontextprotocol/sdk/client/stdio.js';import{StreamableHTTPClientTransport}from'@modelcontextprotocol/sdk/client/streamableHttp.js';import{CallToolResultSchema}from'@modelcontextprotocol/sdk/types.js';function createMcpToolName(_0x1367a3,_0x36b9d8){const _0x45ca95={_0x5cc995:0x170,_0x4bc48b:0x65},_0xa6b2e5=_0x13e39=>_0x13e39['replace'](/[^a-zA-Z0-9_]+/g,'_')[_0x17529f(0x442,0x6a2,0x5b4,0x4ef)](/^_+|_+$/g,'');function _0x17529f(_0xe59e72,_0xec0e7f,_0x195d67,_0x40c436){return _0x257320(_0xe59e72-_0x45ca95._0x5cc995,_0xec0e7f-_0x45ca95._0x4bc48b,_0x195d67-0x24,_0x40c436);}return'mcp_'+_0xa6b2e5(_0x1367a3)+'_'+_0xa6b2e5(_0x36b9d8);}function isObject(_0x72e03d){const _0x52354c={_0x871712:0x42b,_0x302f60:0x4b0,_0x570dd5:0x54e,_0x6c4845:0x4ab,_0x5639d9:0x19d},_0x280745={_0x51680d:0x1f};function _0x278159(_0x380e51,_0x27defc,_0x245240,_0x8292e3){return _0x3342ed(_0x380e51-0xa6,_0x245240,_0x380e51- -0xbc,_0x8292e3-0x57);}function _0x302ee4(_0x8ed867,_0x2d3f1a,_0x503a33,_0x467da7){return _0x257320(_0x8ed867-_0x280745._0x51680d,_0x2d3f1a-0x25,_0x8ed867-0x13b,_0x467da7);}return typeof _0x72e03d===_0x302ee4(_0x52354c._0x871712,_0x52354c._0x302f60,_0x52354c._0x570dd5,_0x52354c._0x6c4845)&&_0x72e03d!==null&&!Array[_0x278159(0x272,0x14a,0x10d,_0x52354c._0x5639d9)](_0x72e03d);}function toSupportedSchema(_0x7d6b3a){const _0x221d9a={_0x7665cf:0x3df,_0x50c5bd:0x587,_0x165d7d:0x5f2,_0xe6e12:0x1e1,_0x2ac452:0x317,_0x1cb6cb:0x37e,_0x6b747f:0x355,_0x571d5a:0x188,_0x50fedc:0x9,_0x29a0c3:0x2a,_0xdaa2ee:0xa8,_0x4c2572:0xd3,_0x535bfc:0x25f,_0x2cacb9:0x385,_0x4e6eda:0x508,_0x10cbac:0x43f,_0x3e4ca9:0x55d,_0x1d7141:0x1ef,_0xaead30:0x2cd,_0x787dc0:0x3a1,_0x2656f9:0x255,_0x2a2f1e:0xb0,_0x4c52cc:0x6c8,_0x1a9115:0x6a0,_0x209c2a:0x4b7},_0x154315={_0x4e4a0f:0x17a,_0xb8ff6:0x166,_0x3af80f:0xcb},_0x4dc7c2={_0x1f39d8:0x8e,_0x506ae0:0x1aa,_0x2d13b7:0x17d};if(!isObject(_0x7d6b3a))return void 0x0;if(_0x7d6b3a[_0x11640e(0x277,0x385,0x34a,_0x221d9a._0x7665cf)]===_0x11640e(_0x221d9a._0x50c5bd,_0x221d9a._0x165d7d,0x6f2,0x50d))return{'type':_0x28a526(_0x221d9a._0xe6e12,0x2e2,_0x221d9a._0x2ac452,_0x221d9a._0x1cb6cb)};if(_0x7d6b3a[_0x11640e(0x307,0x385,_0x221d9a._0x6b747f,0x2eb)]===_0x28a526(0x22e,_0x221d9a._0x571d5a,0x19a,0x17e)||_0x7d6b3a[_0x28a526(_0x221d9a._0x50fedc,0x75,-_0x221d9a._0x29a0c3,0x18a)]==='integer')return{'type':_0x28a526(_0x221d9a._0xdaa2ee,0x188,_0x221d9a._0x4c2572,_0x221d9a._0x535bfc)};function _0x28a526(_0x44e63d,_0xec30c7,_0x3778b5,_0x51f5bf){return _0x3342ed(_0x44e63d-_0x4dc7c2._0x1f39d8,_0x3778b5,_0xec30c7- -_0x4dc7c2._0x506ae0,_0x51f5bf-_0x4dc7c2._0x2d13b7);}if(_0x7d6b3a[_0x11640e(0x39c,_0x221d9a._0x2cacb9,0x35f,0x305)]==='boolean')return{'type':_0x11640e(_0x221d9a._0x4e6eda,_0x221d9a._0x10cbac,_0x221d9a._0x3e4ca9,0x317)};if(_0x7d6b3a['type']===_0x28a526(_0x221d9a._0x1d7141,0x35b,_0x221d9a._0xaead30,0x4ba))return{'type':_0x28a526(0x41d,0x35b,_0x221d9a._0x787dc0,0x475),'items':toSupportedSchema(_0x7d6b3a[_0x28a526(_0x221d9a._0x2656f9,0x212,_0x221d9a._0x2a2f1e,0x34a)])??{'type':_0x11640e(_0x221d9a._0x4c52cc,0x5f2,_0x221d9a._0x1a9115,_0x221d9a._0x209c2a)}};if(_0x7d6b3a['type']==='object')return toNuvinToolSchema(_0x7d6b3a);function _0x11640e(_0x140a58,_0x3dc11f,_0x3289c7,_0x545d72){return _0x3342ed(_0x140a58-_0x154315._0x4e4a0f,_0x140a58,_0x3dc11f-_0x154315._0xb8ff6,_0x545d72-_0x154315._0x3af80f);}return void 0x0;}function toNuvinToolSchema(_0x5c554b){const _0x668e1c={_0x51dbb6:0x201,_0x3cc2aa:0x12c,_0x2406ac:0x17f,_0x2d2819:0x283,_0x564f49:0x2f1,_0x352f0a:0x28d,_0x24008c:0x2c1,_0x498088:0x275,_0x5cf273:0x370,_0x4a872b:0x3b6,_0x1463ed:0x243,_0x2637bd:0x2a4,_0x29b12f:0x2f1,_0xce2ebb:0x328},_0x100f86={_0x3fab6f:0xf3};function _0x455b62(_0x9a6d08,_0x4e049a,_0x41b0aa,_0x508dcc){return _0x3342ed(_0x9a6d08-0x7f,_0x9a6d08,_0x41b0aa-0x8d,_0x508dcc-0xb7);}if(!isObject(_0x5c554b)||_0x5c554b[_0x4058c3(_0x668e1c._0x51dbb6,0x203,_0x668e1c._0x3cc2aa,_0x668e1c._0x2406ac)]!==_0x455b62(0x179,_0x668e1c._0x2d2819,_0x668e1c._0x564f49,_0x668e1c._0x352f0a))return{'type':'object','properties':{}};function _0x4058c3(_0x482ec1,_0x17977a,_0x6a4d3c,_0x45d7d3){return _0x3342ed(_0x482ec1-0x3,_0x17977a,_0x6a4d3c- -_0x100f86._0x3fab6f,_0x45d7d3-0x3f);}const _0x4402e8={},_0x1a40b4=isObject(_0x5c554b['properties'])?_0x5c554b['properties']:{};for(const [_0x121feb,_0x2167bd]of Object[_0x455b62(_0x668e1c._0x24008c,_0x668e1c._0x498088,0x3e3,0x2a1)](_0x1a40b4)){const _0x24e5ae=toSupportedSchema(_0x2167bd);if(_0x24e5ae)_0x4402e8[_0x121feb]=_0x24e5ae;}const _0xd40ff2=Array['isArray'](_0x5c554b['required'])?_0x5c554b['required'][_0x455b62(0x291,0x3d9,_0x668e1c._0x5cf273,_0x668e1c._0x4a872b)](_0x29aed4=>typeof _0x29aed4==='string'):void 0x0;return _0xd40ff2?.['length']?{'type':'object','properties':_0x4402e8,'required':_0xd40ff2}:{'type':_0x455b62(_0x668e1c._0x1463ed,_0x668e1c._0x2637bd,_0x668e1c._0x29b12f,_0x668e1c._0xce2ebb),'properties':_0x4402e8};}function isJsonObject(_0x388e1f){const _0x1a4f61={_0x2ef464:0xc9,_0x518065:0x197,_0x4c33d9:0xc9,_0x4d13d9:0x7d},_0x4755b2={_0x10af7b:0x30,_0x39749a:0x189},_0x12dda7={_0x41beea:0x1a};function _0x3f1dfd(_0x482789,_0x52785a,_0x3e2d9d,_0x4bfe20){return _0x257320(_0x482789-0x35,_0x52785a-_0x12dda7._0x41beea,_0x4bfe20- -0x450,_0x3e2d9d);}function _0x2a14e2(_0x1df48e,_0x38d704,_0x572b9d,_0x2df4d3){return _0x3342ed(_0x1df48e-_0x4755b2._0x10af7b,_0x2df4d3,_0x572b9d- -0x3fb,_0x2df4d3-_0x4755b2._0x39749a);}return typeof _0x388e1f===_0x2a14e2(-_0x1a4f61._0x2ef464,-0x244,-_0x1a4f61._0x518065,-0x128)&&_0x388e1f!==null&&!Array[_0x3f1dfd(-_0x1a4f61._0x4c33d9,-_0x1a4f61._0x4d13d9,-0x1c2,-0x96)](_0x388e1f);}function formatMcpContent(_0x513abd){const _0x419eee={_0x36ff52:0x4fa,_0x67f52b:0x673,_0x5d4621:0x3d3,_0x35d85c:0x341,_0x6c240f:0x354,_0x28e79b:0x457,_0x23551c:0x4fc,_0x4a63f5:0x5d1,_0x27acba:0x5f1,_0x5f4be7:0x3e2,_0x54ec84:0x4b5,_0x13b681:0x49b},_0x3e49bc={_0x12b6e8:0x1be,_0x2f173f:0x1e5,_0x14eb99:0x452,_0x2f86d1:0x58b,_0xc1f2c4:0x563},_0x2c855f={_0x3fd122:0xd,_0x535dfd:0x142};function _0x957fb5(_0x53829e,_0x19e232,_0x239f91,_0x5e2174){return _0x3342ed(_0x53829e-_0x2c855f._0x3fd122,_0x5e2174,_0x19e232-_0x2c855f._0x535dfd,_0x5e2174-0x29);}const _0x2283ac=Array['isArray'](_0x513abd['content'])?_0x513abd[_0x957fb5(_0x419eee._0x36ff52,0x5b3,0x539,_0x419eee._0x67f52b)]:[];function _0x840224(_0x499a87,_0x468d29,_0xf70ebe,_0x4726b4){return _0x3342ed(_0x499a87-0x18a,_0x468d29,_0x499a87-0xc6,_0x4726b4-0x32);}const _0x177654=_0x2283ac[_0x957fb5(0x364,_0x419eee._0x5d4621,_0x419eee._0x35d85c,0x2e1)](_0x346a3a=>{const _0x5aa524={_0x59383e:0x62};function _0x54e6f8(_0x1b6b04,_0x4f8d1c,_0x219128,_0x530be9){return _0x840224(_0x219128- -0x55,_0x4f8d1c,_0x219128-_0x5aa524._0x59383e,_0x530be9-0xd9);}if(!isObject(_0x346a3a))return'';function _0x25341c(_0x5714bf,_0x2d9c33,_0x57aa2d,_0x24d780){return _0x957fb5(_0x5714bf-0x1ac,_0x57aa2d- -0x6b,_0x57aa2d-0x16e,_0x24d780);}if(_0x346a3a[_0x54e6f8(_0x3e49bc._0x12b6e8,0x2cc,0x290,_0x3e49bc._0x2f173f)]==='text'&&typeof _0x346a3a[_0x54e6f8(0x41f,0x359,0x426,0x2fc)]===_0x25341c(_0x3e49bc._0x14eb99,_0x3e49bc._0x2f86d1,_0x3e49bc._0xc1f2c4,0x4d2))return _0x346a3a['text'];return JSON['stringify'](_0x346a3a);})[_0x957fb5(0x40d,0x425,_0x419eee._0x6c240f,_0x419eee._0x28e79b)](_0x23d2d5=>_0x23d2d5[_0x957fb5(0x532,0x5d7,0x567,0x499)]>0x0)[_0x840224(_0x419eee._0x23551c,_0x419eee._0x4a63f5,_0x419eee._0x27acba,0x40d)]('\x0a');if(_0x177654['length']>0x0)return _0x177654;return JSON[_0x957fb5(_0x419eee._0x5f4be7,_0x419eee._0x54ec84,_0x419eee._0x13b681,0x5cb)](_0x513abd,null,0x2);}function createMcpTool(_0x1b9fb6){const _0x116b3e={_0xde7431:0x21,_0x29ed0c:0xde,_0x539ac6:0x1b,_0x2e4462:0x3b,_0x18b180:0x19,_0x4853fe:0x36,_0x58e363:0x1a1,_0x23a7f6:0x398,_0x5a7c93:0x49a,_0x507e8f:0x453,_0x4deae7:0x114,_0x2ab5bc:0x7a},_0x15f598={_0x23b47f:0x231,_0x5eb8f5:0x1ea,_0x97181c:0x12e,_0x44f61e:0x261,_0x33e242:0x8c,_0x308cf2:0x49,_0x1d6343:0x210,_0xc11aa9:0x2a8,_0x5f2940:0xfd,_0x1cd8e0:0xb2,_0x5f1eb1:0x28d,_0x46e55f:0x1c9,_0x1a09c1:0xa6,_0x31f3eb:0x68,_0x3419e2:0xd3,_0x8f696d:0xfd,_0x5f44da:0x86,_0x240b9f:0x67},_0x442bae={_0x16106d:0x24,_0x2c0698:0x18f};function _0x275420(_0x492296,_0x1967e8,_0x4d1c94,_0x56a5e9){return _0x3342ed(_0x492296-0x1e0,_0x56a5e9,_0x492296- -0x2db,_0x56a5e9-0x175);}const _0x4346c5=createMcpToolName(_0x1b9fb6[_0x275420(-_0x116b3e._0xde7431,-_0x116b3e._0x29ed0c,-_0x116b3e._0x539ac6,-0xa6)],_0x1b9fb6['tool'][_0x275420(-_0x116b3e._0x2e4462,0x130,-0x188,_0x116b3e._0x18b180)]);function _0x721fed(_0x1b6eb4,_0x5762aa,_0x423ab0,_0x17b4d5){return _0x3342ed(_0x1b6eb4-_0x442bae._0x16106d,_0x423ab0,_0x5762aa-0x8f,_0x17b4d5-_0x442bae._0x2c0698);}return defineTool({'name':_0x4346c5,'description':_0x1b9fb6[_0x275420(_0x116b3e._0x4853fe,0xa,_0x116b3e._0x58e363,0xb1)][_0x721fed(_0x116b3e._0x23a7f6,0x424,_0x116b3e._0x5a7c93,_0x116b3e._0x507e8f)]??'MCP\x20tool\x20'+_0x1b9fb6['tool'][_0x275420(-_0x116b3e._0x2e4462,-_0x116b3e._0x4deae7,-_0x116b3e._0x2ab5bc,-0xe1)]+'\x20from\x20'+_0x1b9fb6['serverName'],'inputSchema':toNuvinToolSchema(_0x1b9fb6[_0x721fed(0x2fa,0x3a0,0x4fe,0x346)]['inputSchema']),async *'execute'(_0x34a1e0){const _0x488552={_0x35d532:0x5c,_0x20f876:0x2a3,_0x304191:0x1cc};function _0x153493(_0x6edc4c,_0x3cde21,_0x529ba2,_0x546df5){return _0x275420(_0x6edc4c-0x2c8,_0x3cde21-0x176,_0x529ba2-0x153,_0x3cde21);}const _0x426217=await _0x1b9fb6[_0x153493(_0x15f598._0x23b47f,_0x15f598._0x5eb8f5,0x1e3,_0x15f598._0x97181c)]['callTool']({'name':_0x1b9fb6[_0x153493(0x2fe,0x379,_0x15f598._0x44f61e,0x3b2)][_0x1bd97a(0x1d2,0xec,_0x15f598._0x33e242,-_0x15f598._0x308cf2)],'arguments':isJsonObject(_0x34a1e0)?_0x34a1e0:{}});if(_0x426217['isError'])throw new ToolExecutionError(formatMcpContent(_0x426217),{'serverName':_0x1b9fb6[_0x153493(0x2a7,_0x15f598._0x1d6343,0x263,_0x15f598._0xc11aa9)],'toolName':_0x1b9fb6[_0x1bd97a(-0x43,0x1d0,_0x15f598._0x5f2940,_0x15f598._0x1cd8e0)][_0x153493(_0x15f598._0x5f1eb1,0x139,0x14c,0x340)]});yield createToolOutput(formatMcpContent(_0x426217),{'serverName':_0x1b9fb6[_0x1bd97a(_0x15f598._0x46e55f,0x6e,_0x15f598._0x1a09c1,-_0x15f598._0x31f3eb)],'toolName':_0x1b9fb6[_0x1bd97a(0x1ef,_0x15f598._0x3419e2,_0x15f598._0x8f696d,0x72)][_0x1bd97a(0x0,-_0x15f598._0x5f44da,0x8c,-_0x15f598._0x240b9f)],'result':_0x426217});function _0x1bd97a(_0x3f6556,_0x1502bf,_0x15ec8b,_0x1f1646){return _0x721fed(_0x3f6556-_0x488552._0x35d532,_0x15ec8b- -_0x488552._0x20f876,_0x3f6556,_0x1f1646-_0x488552._0x304191);}return void 0x0;}});}function resolvePrefix(_0x979aa5,_0x172677){const _0x519311={_0x36f463:0x225,_0x3c11d8:0x8c,_0x5396dd:0x188,_0x38ea03:0x1af},_0x351fc8={_0x91b224:0x8c};function _0x67dbc(_0x384f42,_0x2c629d,_0x59ac1c,_0x1cd903){return _0x257320(_0x384f42-0x33,_0x2c629d-_0x351fc8._0x91b224,_0x1cd903- -0x196,_0x59ac1c);}return _0x172677[_0x67dbc(_0x519311._0x36f463,_0x519311._0x3c11d8,_0x519311._0x5396dd,_0x519311._0x38ea03)]??_0x979aa5;}function buildMcpHttpHeaders(_0x37ea16){const _0x48df43={_0x16fa5d:0x1f,_0x475ca7:0x6cf,_0x57613c:0x526,_0x5ee7a3:0x3f1,_0x2be99a:0x40f,_0x36827c:0x2da,_0x1cf0b6:0x1b3,_0x5f3d35:0x18a,_0x335657:0x656,_0x48ce39:0x64a,_0x2f6809:0x469,_0x19d2fa:0x5a8,_0x3dbaca:0x43d,_0x16c933:0x221,_0x2d1c5e:0x1bc,_0xcfc051:0x26a,_0x37785b:0x20e,_0x328944:0x324,_0x5e293f:0x3fd,_0x3eefd7:0x1c8,_0x2d50c0:0xad,_0x3f77de:0x154,_0x4aa3ed:0x2d6,_0x251fad:0x20},_0x18db5d={_0x1a9495:0x26,_0x51ee1a:0x291,_0x1327ad:0x117},_0x38d550={..._0x37ea16[_0x542fac(0x17d,0x229,_0x48df43._0x16fa5d,0x2b3)]??{}};_0x37ea16[_0xf6c91e(0x63b,_0x48df43._0x475ca7,0x684,_0x48df43._0x57613c)]?.[_0xf6c91e(_0x48df43._0x5ee7a3,_0x48df43._0x2be99a,0x4b0,0x5e2)]===_0x542fac(_0x48df43._0x36827c,0x293,0x273,0x423)&&_0x37ea16[_0x542fac(0x2fd,_0x48df43._0x1cf0b6,0x311,_0x48df43._0x5f3d35)][_0xf6c91e(_0x48df43._0x335657,0x508,0x54f,_0x48df43._0x48ce39)]&&_0x38d550[_0xf6c91e(0x58a,_0x48df43._0x2f6809,_0x48df43._0x19d2fa,_0x48df43._0x3dbaca)]===void 0x0&&(_0x38d550[_0x542fac(_0x48df43._0x16c933,0x368,0x27a,0xe8)]=_0x542fac(0x32e,_0x48df43._0x2d1c5e,0x370,_0x48df43._0xcfc051)+_0x37ea16[_0x542fac(0x2fd,_0x48df43._0x37785b,_0x48df43._0x328944,_0x48df43._0x5e293f)][_0x542fac(_0x48df43._0x3eefd7,_0x48df43._0x2d50c0,0xf9,_0x48df43._0x3f77de)]);function _0x542fac(_0x2aa30e,_0x2cb716,_0x3914e9,_0x5c1fc6){return _0x257320(_0x2aa30e-0x139,_0x2cb716-0x73,_0x2aa30e- -0x182,_0x2cb716);}function _0xf6c91e(_0x26e01,_0x14e833,_0xaaa26d,_0x94fefb){return _0x3342ed(_0x26e01-_0x18db5d._0x1a9495,_0x94fefb,_0xaaa26d-_0x18db5d._0x51ee1a,_0x94fefb-_0x18db5d._0x1327ad);}return Object[_0x542fac(0x18e,_0x48df43._0x4aa3ed,0x65,_0x48df43._0x251fad)](_0x38d550)['length']>0x0?_0x38d550:void 0x0;}function getErrorMessage(_0x1fdded){const _0x128e6a={_0x4b5f93:0x79d},_0x106b49={_0x440baa:0xd,_0x5ae2a0:0x182};function _0x360bcf(_0x30f46e,_0x3c0b8c,_0x461988,_0x2e5089){return _0x257320(_0x30f46e-_0x106b49._0x440baa,_0x3c0b8c-0x12,_0x2e5089-_0x106b49._0x5ae2a0,_0x461988);}return _0x1fdded instanceof Error?_0x1fdded[_0x360bcf(0x77b,_0x128e6a._0x4b5f93,0x613,0x6e7)]:String(_0x1fdded);}function isUnauthorizedError(_0x34395a){const _0xb4519e={_0x5c0edd:0x42a,_0x559aa3:0x44e,_0x483a4f:0x2d0,_0x1396d5:0x32a,_0x4e2fcf:0x351,_0x35ba0c:0x4bb},_0x5bf519={_0x26a9ff:0x187,_0x4e4244:0xa9,_0x463794:0x21},_0x3eec41={_0x495a26:0x473,_0x1f79cf:0xb0};function _0x563ef1(_0x47dad2,_0x1fd4b2,_0x21e0c2,_0x4fcf97){return _0x3342ed(_0x47dad2-0x1d0,_0x1fd4b2,_0x47dad2- -_0x3eec41._0x495a26,_0x4fcf97-_0x3eec41._0x1f79cf);}function _0x3a71b5(_0x3cd647,_0x4b6b13,_0x4d3805,_0x1d9c76){return _0x257320(_0x3cd647-_0x5bf519._0x26a9ff,_0x4b6b13-_0x5bf519._0x4e4244,_0x4b6b13-_0x5bf519._0x463794,_0x3cd647);}return _0x34395a instanceof Error&&_0x34395a[_0x3a71b5(_0xb4519e._0x5c0edd,0x46c,_0xb4519e._0x559aa3,0x3d6)][_0x563ef1(-0x1d3,-0x278,-_0xb4519e._0x483a4f,-0x186)]===_0x3a71b5(_0xb4519e._0x1396d5,_0xb4519e._0x4e2fcf,_0xb4519e._0x35ba0c,0x231);}async function connectMcpServer(_0x24f4ee,_0x54d2cf,_0x1e696b){const _0x55cf50={_0x3d5be3:0x2da,_0x51f31e:0x4cd,_0x5ff3a7:0x455,_0x1c6e2b:0x41f,_0x509405:0x48a,_0x58a17c:0x472,_0x2878d3:0x403,_0x34be9d:0x443,_0x485c6e:0x91,_0x11baf7:0x2a3,_0x26076f:0x361,_0xef916:0x145,_0x121266:0x2a3,_0x2f067e:0x2e,_0x5cf75c:0xf5,_0x32b9a3:0x3af,_0x49d2f1:0x311,_0x498598:0x377,_0x30e7cd:0x2ca,_0x589905:0x25a,_0x4334df:0x21e,_0x575cfa:0x24c,_0x2ede9f:0x26e,_0x26386e:0x1b7,_0x41eafb:0x193,_0x50cde6:0x527,_0x34d3d7:0x375,_0x4d4813:0x513,_0x486524:0x449,_0x59c2b7:0xc7,_0x9cab9d:0x8a,_0x4a5c9e:0x403,_0x71a077:0x578,_0x58115f:0x3bd,_0x553590:0x2ed,_0xe62084:0x228,_0x32d20f:0x3d5,_0x3f7397:0x46d,_0xf246d1:0x36c,_0x565a1f:0x3a3,_0x33aef1:0x2f9},_0x3e7578={_0xab5e43:0x2e},_0x5dee87={_0x4c5bf8:0x4e1},_0x26108e={_0x49287a:0x138,_0x515d79:0x7c},_0x489743={_0x51341d:0x5a7,_0x3a8f3a:0x58e},_0x1a8f8f={_0x5dec05:0x400,_0x3def13:0x3cd,_0x3a9e8a:0x463,_0x55b935:0x371,_0x1d2f0e:0x399,_0x37af15:0x7c2,_0x45adc7:0x749,_0x27bc20:0x867},_0x4f856b={_0x124d8c:0x1d9,_0x3b23e7:0x1c0},_0x364925={_0x4898c3:0x71,_0x10c6af:0x23c,_0x3c280c:0xcd},_0x533a93={_0x1ebf83:0x133,_0x4b2968:0xd2};function _0x294687(_0x167476,_0x422606,_0x19627d,_0x490bbe){return _0x3342ed(_0x167476-_0x533a93._0x1ebf83,_0x19627d,_0x167476-_0x533a93._0x4b2968,_0x490bbe-0x106);}function _0x249e98(_0x2462ff,_0x4c8e90,_0x394e0e,_0x227584){return _0x3342ed(_0x2462ff-_0x364925._0x4898c3,_0x227584,_0x4c8e90- -_0x364925._0x10c6af,_0x227584-_0x364925._0x3c280c);}const _0x515c31=new Client({'name':_0x249e98(_0x55cf50._0x3d5be3,0x1b1,0x2e3,0x1c5),'version':_0x249e98(-0x149,-0x17,-0x186,-0x121)});_0x515c31[_0x294687(0x45e,_0x55cf50._0x51f31e,_0x55cf50._0x5ff3a7,0x46f)]=_0x3f2074=>{function _0x151bd8(_0x25681b,_0x10a322,_0x5ac251,_0x2b1901){return _0x294687(_0x5ac251-0x231,_0x10a322-0x1b1,_0x25681b,_0x2b1901-0x160);}function _0x304458(_0x176702,_0xce2ba5,_0x5d6f24,_0x2165eb){return _0x249e98(_0x176702-0x162,_0x2165eb-_0x4f856b._0x124d8c,_0x5d6f24-_0x4f856b._0x3b23e7,_0x5d6f24);}console[_0x304458(_0x1a8f8f._0x5dec05,_0x1a8f8f._0x3def13,_0x1a8f8f._0x3a9e8a,_0x1a8f8f._0x55b935)](_0x304458(_0x1a8f8f._0x3a9e8a,0x2e5,_0x1a8f8f._0x1d2f0e,0x378)+_0x24f4ee+_0x151bd8(_0x1a8f8f._0x37af15,_0x1a8f8f._0x45adc7,0x7ef,_0x1a8f8f._0x27bc20),_0x3f2074['message']);};if(_0x54d2cf['transport']===_0x249e98(0x1d8,0x2ad,0x2c8,0x1ca)||_0x54d2cf[_0x294687(_0x55cf50._0x1c6e2b,_0x55cf50._0x509405,0x2a7,0x4ab)]){if(!_0x54d2cf[_0x294687(0x41f,_0x55cf50._0x58a17c,0x48b,0x4ca)])throw new Error(_0x294687(_0x55cf50._0x2878d3,_0x55cf50._0x34be9d,0x32a,0x3be)+_0x24f4ee+'\x20requires\x20url\x20for\x20http\x20transport');if(_0x54d2cf[_0x249e98(0x2bc,0x1b7,0x22a,_0x55cf50._0x485c6e)]?.['type']===_0x249e98(0x323,_0x55cf50._0x11baf7,0x21a,_0x55cf50._0x26076f)&&!_0x1e696b?.[_0x249e98(_0x55cf50._0xef916,_0x55cf50._0x121266,0x175,0x3d0)])throw new Error(_0x249e98(-_0x55cf50._0x2f067e,_0x55cf50._0x5cf75c,0x205,0x12e)+_0x24f4ee+_0x294687(_0x55cf50._0x32b9a3,_0x55cf50._0x49d2f1,0x3af,0x240));const _0x59a0c2=buildMcpHttpHeaders(_0x54d2cf),_0x5dbe70=_0x54d2cf['auth']?.['type']===_0x249e98(_0x55cf50._0x498598,0x2a3,0x198,_0x55cf50._0x30e7cd)&&_0x1e696b?.['oauth']?createMcpOAuthProvider({'serverName':_0x24f4ee,'callbackUrl':_0x1e696b[_0x249e98(_0x55cf50._0x589905,0x2a3,0x3ed,0x3d5)]['callbackUrl'],'storageDir':_0x1e696b[_0x249e98(_0x55cf50._0x4334df,0x2a3,_0x55cf50._0x575cfa,_0x55cf50._0x2ede9f)]['storageDir'],'config':_0x54d2cf[_0x249e98(0xd9,_0x55cf50._0x26386e,_0x55cf50._0x41eafb,0x20e)],'onRedirect':_0x210571=>_0x1e696b[_0x249e98(0x2a5,0x2a3,0x40f,0x362)]?.['onRedirect'](_0x24f4ee,_0x210571)}):void 0x0,_0x22b392=new StreamableHTTPClientTransport(new URL(_0x54d2cf[_0x294687(_0x55cf50._0x1c6e2b,_0x55cf50._0x50cde6,0x3e0,_0x55cf50._0x34d3d7)]),{'authProvider':_0x5dbe70,'requestInit':_0x59a0c2?{'headers':_0x59a0c2}:void 0x0});await _0x515c31[_0x294687(_0x55cf50._0x4d4813,_0x55cf50._0x486524,0x5a3,0x3f7)](_0x22b392);}else{if(!_0x54d2cf[_0x249e98(-0x1b,_0x55cf50._0x59c2b7,0x1ee,-_0x55cf50._0x9cab9d)])throw new Error(_0x294687(_0x55cf50._0x4a5c9e,_0x55cf50._0x71a077,_0x55cf50._0x58115f,0x4ec)+_0x24f4ee+_0x249e98(_0x55cf50._0x553590,_0x55cf50._0xe62084,0xe0,0x23b));const _0x49b84b=new StdioClientTransport({'command':_0x54d2cf[_0x294687(_0x55cf50._0x32d20f,_0x55cf50._0x3f7397,_0x55cf50._0xf246d1,_0x55cf50._0x565a1f)],'args':_0x54d2cf[_0x249e98(0x47,0x124,0x4a,0x29a)]??[],'env':_0x54d2cf[_0x294687(0x3ed,_0x55cf50._0x33aef1,0x3f7,0x553)],'stderr':'pipe'});await _0x515c31['connect'](_0x49b84b);}return{async 'listTools'(){function _0x4e48e9(_0x552198,_0x4573ba,_0x34efb3,_0x2855d6){return _0x249e98(_0x552198-0x8,_0x552198-0x485,_0x34efb3-0x1f1,_0x34efb3);}return await _0x515c31[_0x4e48e9(0x6b9,0x5b4,_0x489743._0x51341d,_0x489743._0x3a8f3a)]();},async 'callTool'(_0x4cf4f6){function _0x1b0286(_0x19e0b0,_0x274d4c,_0x449bbf,_0x3452c9){return _0x294687(_0x449bbf-_0x26108e._0x49287a,_0x274d4c-0x15,_0x19e0b0,_0x3452c9-_0x26108e._0x515d79);}return await _0x515c31[_0x1b0286(0x5d1,0x61c,0x5c2,_0x5dee87._0x4c5bf8)]({'method':'tools/call','params':_0x4cf4f6},CallToolResultSchema);},async 'close'(){const _0x299b8d={_0x3ccd9c:0x1c5};function _0x46df8b(_0x40dc3c,_0x249c5e,_0x40b626,_0x28b840){return _0x249e98(_0x40dc3c-0x108,_0x28b840- -0x1a,_0x40b626-_0x299b8d._0x3ccd9c,_0x40b626);}await _0x515c31[_0x46df8b(0x145,-0xca,-_0x3e7578._0xab5e43,0x76)]();}};}async function createMcpToolsFromServers(_0x3e300d){const _0x4263fb={_0x2617af:0x53e,_0x801d16:0x522,_0x378483:0x5b3,_0x5c9038:0x6b4,_0x218ed4:0x3bf,_0x3eaf25:0x371,_0x572732:0x4c8,_0x5326b3:0x38b,_0x2829a3:0x4f8,_0x4cc659:0x4eb,_0x58c2de:0x28a,_0x325240:0x3a1,_0x5c7b50:0x4a0,_0x224ca0:0x451,_0x4aea97:0x727,_0xa8c9d3:0x5e2,_0x498d9c:0x4ea,_0x493e7:0x4da,_0x2e9403:0x3bb,_0xbaf3a:0x46e,_0x1292ea:0x4a3,_0x3331d5:0x501,_0x55b4e9:0x5aa,_0x513f0e:0x398,_0x2e4004:0x651},_0x414bb4={_0x66db3d:0x364,_0x308711:0x303,_0x5cd26c:0x28d},_0x114439={_0x45accd:0x165,_0x537ee8:0x89,_0x560e47:0x4f},_0x15818b=_0x3e300d[_0x33b52d(_0x4263fb._0x2617af,_0x4263fb._0x801d16,_0x4263fb._0x378483,_0x4263fb._0x5c9038)]??connectMcpServer;function _0x39a778(_0x459a8d,_0x25bfad,_0xbdad7c,_0x3010df){return _0x257320(_0x459a8d-_0x114439._0x45accd,_0x25bfad-_0x114439._0x537ee8,_0x459a8d- -_0x114439._0x560e47,_0xbdad7c);}const _0x473447=[],_0x2d2102={},_0x586d5a=[];function _0x33b52d(_0x4133b3,_0x274912,_0x13f108,_0xea3c64){return _0x257320(_0x4133b3-0x4a,_0x274912-0xa3,_0x13f108-0xe6,_0x274912);}for(const [_0x31ea91,_0x5d9054]of Object[_0x33b52d(_0x4263fb._0x218ed4,_0x4263fb._0x3eaf25,_0x4263fb._0x572732,_0x4263fb._0x5326b3)](_0x3e300d[_0x39a778(_0x4263fb._0x2829a3,_0x4263fb._0x4cc659,0x528,0x401)]??{})){if(_0x5d9054[_0x39a778(_0x4263fb._0x58c2de,0x255,0x1ae,_0x4263fb._0x325240)]===![]){_0x2d2102[_0x31ea91]={'status':'disabled'};continue;}try{const _0x229722=await _0x15818b(_0x31ea91,_0x5d9054,_0x3e300d['connection']);_0x473447[_0x33b52d(0x414,_0x4263fb._0x5c7b50,_0x4263fb._0x224ca0,0x338)](_0x229722);const _0x53f977=await _0x229722[_0x33b52d(_0x4263fb._0x4aea97,0x644,_0x4263fb._0xa8c9d3,_0x4263fb._0x498d9c)]();let _0x522303=0x0;for(const _0x1f393c of _0x53f977[_0x33b52d(_0x4263fb._0x493e7,_0x4263fb._0x2e9403,0x4cc,_0x4263fb._0xbaf3a)]){const _0x13855a=_0x3e300d[_0x39a778(0x4f4,_0x4263fb._0x1292ea,0x4e1,_0x4263fb._0x3331d5)]?.[_0x31ea91]?.[_0x1f393c['name']];if(_0x13855a===![])continue;_0x522303+=0x1,_0x586d5a[_0x33b52d(0x532,0x4c1,_0x4263fb._0x224ca0,_0x4263fb._0x55b4e9)](createMcpTool({'serverName':resolvePrefix(_0x31ea91,_0x5d9054),'tool':_0x1f393c,'client':_0x229722}));}_0x2d2102[_0x31ea91]={'status':'connected','toolCount':_0x522303};}catch(_0x309fe7){_0x2d2102[_0x31ea91]=isUnauthorizedError(_0x309fe7)?{'status':_0x39a778(_0x4263fb._0x513f0e,0x36d,0x3a9,0x2e8),'message':getErrorMessage(_0x309fe7)}:{'status':_0x33b52d(0x533,0x4eb,0x546,_0x4263fb._0x2e4004),'message':getErrorMessage(_0x309fe7)};}}return{'tools':_0x586d5a,'servers':_0x2d2102,async 'close'(){const _0x2a0a4f={_0x260931:0x404},_0x2e18d6={_0x1babee:0x10b};function _0x460dc0(_0x627a29,_0x17e549,_0x28f4c0,_0x59ed17){return _0x39a778(_0x28f4c0- -0x4c4,_0x17e549-_0x2e18d6._0x1babee,_0x627a29,_0x59ed17-0xcc);}function _0x54f4ec(_0x8e217b,_0x373543,_0x3b497c,_0x465fd5){return _0x33b52d(_0x8e217b-0x88,_0x8e217b,_0x3b497c- -_0x2a0a4f._0x260931,_0x465fd5-0x1e0);}await Promise[_0x460dc0(-0x21f,-_0x414bb4._0x66db3d,-0x211,-0x1e3)](_0x473447[_0x460dc0(-_0x414bb4._0x308711,-_0x414bb4._0x5cd26c,-0x1f6,-0xaf)](_0x5ee201=>_0x5ee201[_0x460dc0(-0x1f9,-0x247,-0x1bb,-0x1fe)]()));}};}function getCommand(_0x4cf8b4){const _0x89e342={_0x5d43cc:0x33,_0x58863f:0x54,_0x3d126c:0x29,_0x3c7961:0x9e,_0x2b675a:0x168,_0x230bc3:0x404,_0x4e53c7:0x3ba,_0x472c80:0x4d1,_0x2e47f0:0x349},_0x28c1ce={_0x5107a3:0x125,_0x4941dc:0x2b},_0x3bdb13={_0x4ee99a:0x8b};function _0x1c544b(_0x18edec,_0x175300,_0x47c918,_0x2c0dd8){return _0x3342ed(_0x18edec-0xfe,_0x18edec,_0x2c0dd8- -0x1c6,_0x2c0dd8-_0x3bdb13._0x4ee99a);}function _0xf71274(_0x3cd8a1,_0x3cc640,_0x5a8f4b,_0x5519cc){return _0x257320(_0x3cd8a1-0x3a,_0x3cc640-_0x28c1ce._0x5107a3,_0x5519cc-_0x28c1ce._0x4941dc,_0x5a8f4b);}if(_0x4cf8b4&&typeof _0x4cf8b4===_0x1c544b(-_0x89e342._0x5d43cc,_0x89e342._0x58863f,_0x89e342._0x3d126c,_0x89e342._0x3c7961)&&!Array[_0x1c544b(0x84,0x14a,0xe8,_0x89e342._0x2b675a)](_0x4cf8b4)&&typeof _0x4cf8b4[_0xf71274(_0x89e342._0x230bc3,0x249,0x510,_0x89e342._0x4e53c7)]==='string')return _0x4cf8b4[_0xf71274(0x473,_0x89e342._0x472c80,0x45e,0x3ba)];return _0xf71274(0x376,_0x89e342._0x2e47f0,0x463,0x302);}var MOCK_WORKSPACE_LISTING=['docs/plans/2026-04-16-agent-loop-core-design.md',_0x257320(0x3f6,0x43b,0x472,0x378),_0x257320(0x337,0x2a6,0x304,0x3de),_0x3342ed(0x255,0x219,0x24a,0x279),_0x3342ed(0x394,0x466,0x4d8,0x43a),_0x257320(0x46b,0x5aa,0x539,0x4bd),_0x3342ed(0x524,0x424,0x45e,0x2f9),_0x3342ed(0x32d,0x35f,0x39b,0x504),_0x257320(0x5bf,0x506,0x4e6,0x62a),_0x257320(0x57d,0x37e,0x4eb,0x583),'src/formats/provider-adapters.ts',_0x3342ed(0x1cc,0x138,0x25c,0x261),_0x257320(0x527,0x622,0x53d,0x428),_0x3342ed(0x2ff,0x38f,0x3a9,0x3f1),_0x3342ed(0x279,0x1a2,0x22c,0xf6),'src/formats/provider-adapters.test.ts',_0x257320(0x2e3,0x273,0x2ca,0x37f)][_0x257320(0x559,0x507,0x4c2,0x4ea)]('\x0a'),SHELL_EXEC_TOOL={'name':'Bash','description':_0x257320(0x561,0x3df,0x3fd,0x4f5),'input_schema':{'type':'object','properties':{'command':{'type':_0x257320(0x3a0,0x605,0x518,0x50d)}},'required':[_0x257320(0x43a,0x33d,0x38f,0x48b)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x22a242){return{'output':_0x22a242,'structured':{'value':_0x22a242}};}function createUnknownToolResult(_0x5a5ffa){const _0xfd4dde={_0x124be2:0x1f6,_0x4a8e14:0x308,_0x379415:0x340,_0x59783a:0x32a,_0x5d695d:0x478,_0x4f6e0e:0x229,_0x31cbd3:0x3e3},_0x5efea9={_0x2c8ee5:0x89,_0x511708:0x17a},_0x3c83b9={_0x5e6cb2:0x14,_0x498fd9:0x136};function _0x12b2f7(_0x5514fd,_0x49ad96,_0x4ee028,_0x1faea9){return _0x257320(_0x5514fd-0x114,_0x49ad96-_0x3c83b9._0x5e6cb2,_0x5514fd- -_0x3c83b9._0x498fd9,_0x4ee028);}function _0x2768a9(_0x2feaf5,_0x519d29,_0x24b5fc,_0x35896e){return _0x3342ed(_0x2feaf5-_0x5efea9._0x2c8ee5,_0x519d29,_0x2feaf5-0x276,_0x35896e-_0x5efea9._0x511708);}return{'callId':_0x5a5ffa['id'],'toolName':_0x5a5ffa[_0x12b2f7(_0xfd4dde._0x124be2,0x247,_0xfd4dde._0x4a8e14,_0xfd4dde._0x379415)],'status':_0x12b2f7(_0xfd4dde._0x59783a,_0xfd4dde._0x5d695d,_0xfd4dde._0x4f6e0e,_0xfd4dde._0x31cbd3),'output':_0x12b2f7(0x379,0x4d0,0x47d,0x40b)+_0x5a5ffa['name'],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x3cc7b2,_0x531ce8){const _0x4c3b84={_0x2ca2fb:0x486},_0x45a49b={_0x1f7b4e:0x1dc};function _0x33f2a2(_0x49d2bd,_0x338206,_0x5e54fa,_0x5e5fbc){return _0x3342ed(_0x49d2bd-0x58,_0x49d2bd,_0x5e5fbc-_0x45a49b._0x1f7b4e,_0x5e5fbc-0xa4);}return{'callId':_0x3cc7b2['id'],'toolName':_0x3cc7b2[_0x33f2a2(0x386,_0x4c3b84._0x2ca2fb,0x40f,0x47c)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x3cc7b2['input']),'exitCode':0x0},'chunks':[_0x531ce8],'meta':createMeta()};}function createMockToolRuntime(){const _0x5ea0b8={_0x34e029:0x427},_0x1a222a={_0x13eb53:0x25b},_0xce6a80={_0x2639ee:0x404,_0x107c21:0x4f0,_0x2eaaed:0x4b3,_0x2dbde9:0x576},_0x475ea6={_0x6618af:0x1ab},_0x327d12=async(_0x185094,_0x412117)=>{function _0x3fa7bf(_0x386477,_0x2cff03,_0x348966,_0x152654){return _0x1df5(_0x152654- -0x3bd,_0x348966);}if(_0x185094[_0xecd5f0(0x3d4,_0xce6a80._0x2639ee,_0xce6a80._0x107c21,0x386)]!==_0xecd5f0(0x664,0x5fe,_0xce6a80._0x2eaaed,_0xce6a80._0x2dbde9))return createUnknownToolResult(_0x185094);const _0x3bcc54=createOutputChunk(MOCK_WORKSPACE_LISTING);function _0xecd5f0(_0x5b54bd,_0x540dad,_0x2a5bfd,_0x30fb16){return _0x1df5(_0x30fb16-_0x475ea6._0x6618af,_0x540dad);}return createSuccessToolResult(_0x185094,_0x3bcc54);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x2b5ece,_0x5b384d){function _0x5377f9(_0xdd3a3c,_0x3f2ad6,_0x3d641e,_0x42a9a5){return _0x1df5(_0x3d641e-_0x1a222a._0x13eb53,_0x42a9a5);}return await Promise['all'](_0x2b5ece[_0x5377f9(0x574,0x3c6,_0x5ea0b8._0x34e029,0x36e)](async _0x1641ac=>{return await _0x327d12(_0x1641ac,_0x5b384d);}));},async 'execute'(_0x2b8b03,_0x279a7b){return await _0x327d12(_0x2b8b03,_0x279a7b);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0x15d9a2={_0x286d24:0x8f},_0x2f6e16={_0x3e830c:0x1bc,_0x3066b3:0x40a,_0x35df89:0xfd};delegatedRunCounter+=0x1;function _0x5b9f42(_0x14fed8,_0x5a9ec8,_0x17dab9,_0x288e2d){return _0x3342ed(_0x14fed8-_0x2f6e16._0x3e830c,_0x14fed8,_0x288e2d- -_0x2f6e16._0x3066b3,_0x288e2d-_0x2f6e16._0x35df89);}return _0x5b9f42(0x45,-_0x15d9a2._0x286d24,-0x189,-0x29)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x38a2b0,_0x34045f){const _0x5d894c={_0x43cbff:0x3f,_0xa3cc61:0x188,_0xf46ace:0x36},_0x14e6af={_0x544897:0xf7};function _0x589fe8(_0xe6c5b,_0x225808,_0x56ef8e,_0x538161){return _0x257320(_0xe6c5b-0x1c1,_0x225808-_0x14e6af._0x544897,_0x538161- -0x4c1,_0x56ef8e);}return typeof _0x38a2b0===_0x589fe8(_0x5d894c._0x43cbff,_0x5d894c._0xa3cc61,-0xa2,_0x5d894c._0xf46ace)?await _0x38a2b0(_0x34045f):_0x38a2b0;}function getDelegatedAgentDefinition(_0x501943,_0x574b22){const _0x454e9c={_0x1db7bc:0x181};function _0x3d89c8(_0x537206,_0x16a39a,_0x4237ce,_0x11678c){return _0x3342ed(_0x537206-0xec,_0x11678c,_0x16a39a- -0x1c9,_0x11678c-0x143);}return _0x501943[_0x3d89c8(0x1cc,_0x454e9c._0x1db7bc,0xa7,0x39)]?.[_0x574b22];}function _0x2ed3(){const _0x38a3a2=['C2fMzq','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','ignVBxbSzxrLzc4','zNjVBq','zMLSztOVlW','zxHPDenVzgu','zgvSzxrL','A2LSBfjLCxvLC3rLza','BNv2Aw4','l2jPBI9ZAa','zw51Bq','Dhj1zwnVBg9Y','C2HPzNq','CgfZC3rOCM91z2G','yxv0Aa','DgvZDa','oIaIBxvSDgLtzwXLy3qIig11C3qGyMuGysbIB29SzwfU','ANnVBMm','yMLUyxj5tMfTzq','vxbKyxrLihrOzsbZzxnZAw9UihrVCgLJihrVigeGy29Uy2LZzsaZltyGD29YzcbUB3vUihbOCMfZzsb0Agf0ignHChr1CMvZihrOzsbJDxjYzw50ihn1yMPLy3qUcGPdywXSihrOAxmGDg9VBcb3AgvUihrOzsbZzxnZAw9Uj3mGC3vIAMvJDcbIzwnVBwvZignSzwfYig9YihnOAwz0CYb0BYbZB21LDgHPBMCGy2XLyxjSEsbKAwzMzxjLBNqG4Ocuig5VDcbMB3iGBwLUB3iGDgfUz2vUDhmGB3iGy2XHCMLMEwLUzYbZDwiTCxvLC3rPB25ZlIbjzIbUB3rOAw5NigHHCYbTzwfUAw5NzNvSBhKGy2HHBMDLzcWGzg8GBM90ignHBgWGAxqUcGPhB29KihrVCgLJicHUB3vUihbOCMfZzsWGmY02ihDVCMrZktOkicaIrgvIDwCGvfmGz2vUzxjPy3mGzxjYB3iIcIaGiLjLzMfJDg9Yigf1DgGGBwLKzgXLD2fYzsikicaIqwrKifn0CMLWzsb3zwjOB29RigHHBMrSzxiIcGPcywqGDg9WAwmGkgz1BgWGC2vUDgvUy2uGB3iGDMfNDwuPoGOGicjuAguGDxnLCIb3yw50CYb0BYbKzwj1zYbHifr5Cgvty3jPChqGz2vUzxjPy3mGzxjYB3iGAw4GDgHLAxiGChjVAMvJDcikicaIy29KAw5NiG','y2fWywjPBgL0AwvZ','Dgv4DerVy3vTzw50l2rPzenSB3nL','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','lMPWzW','sgLUDa','DxjP','B3b0Aw9UywW','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','zgLYzwn0B3j5','v2vIu2vHCMnOihjLCxvPCMvZigf0igXLyxn0ig9UzsbZzwfYy2GGzw5NAw5LignVBMzPz3vYzwq','lw5i','AxngAw5PDgu','ndG2mZb3qKrRDfm','ihDHCYbHyM9YDgvKlG','yNjVA2vU','s2LSBgvKia','BgLI','CgfYC2u','C2HHmJu2','CMfUz2u','zMLSzvbHDgG','C3rYAxbbBNnP','A2v5','CMvJB3jK','CMvNAw9U','D29YA3nWywnLu3LTyM9SihjLCxvPCMvZigeGBM9UlwvTChr5ihf1zxj5','yxv0Ag9YAxPHDgLVBL9JB2rL','yNvUlMXVy2S','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','ls1NBg9IpseUz2L0lYO','tLvwsu5FreLtqujmrv9mu1bFre9xtKXpquq','y29KzvzLCMLMAwvY','Aw1Hz2uVANbLzW','y291BNq','ie9sia','z2v0vg9KB3m','ls0T','zgfYAW','v2fYBMLUzW','AwzYyw1L','B3rOzxi','vMLLD2vKigLTywDLigzPBgu6ia','vw5RBM93BIb0B29SoIa','qMvHCMvYia','yMfZAwm','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','rxjYB3i','C2vHCMnOrgvWDgG','vg9KB1DYAxrL','CgfYzw50u2vZC2LVBKLK','Cg5WBs1SB2nRlNLHBwW','tM8GC3vJAcbMAwXLoIaN','yMLVBwu','yw5ZD2vYCW','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','Dg90ywXqCM9KDwnLza','EMfP','C2vUzfjLCxvLC3q','icHWAwqG','Cgf0Ag5HBwu','oIbPBNzHBgLKihbYAw9YAxr5','AM9PBG','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','C2H1DgrVD24','C3rHCNrZv2L0Aa','y29Uy2f0','vw50AxrSzwq','Bw9Kzq','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','zgf0yq','tM8GAg92zxiGAw5MB3jTyxrPB24','mtaUmc4WlJa','y29UBMvJDa','vxnLihrOAxmGDg9VBcb3AgvUihLVDsbUzwvKihrVigfZAYb0AguGDxnLCIbXDwvZDgLVBNmGzhvYAw5Nigv4zwn1DgLVBI4GvgHPCYbHBgXVD3mGEw91ihrVoGOXlIbhyxrOzxiGDxnLCIbWCMvMzxjLBMnLCYbVCIbYzxf1AxjLBwvUDhmkmI4Gq2XHCMLMEsbHBwjPz3vVDxmGAw5ZDhj1y3rPB25ZcJmUieDLDcbKzwnPC2LVBNmGB24GAw1WBgvTzw50yxrPB24Gy2HVAwnLCYbHCYb5B3uGD29YAWO0lIbpzMzLCIbJAg9Py2vZihrVihrOzsb1C2vYigfIB3v0ihDOyxqGzgLYzwn0Aw9UihrVihrHA2uUcGPvC2fNzsbUB3rLCZOklsbvC2vYCYb3AwXSigfSD2f5CYbIzsbHyMXLihrVihnLBgvJDcaIt3rOzxiIihrVihbYB3zPzguGy3vZDg9TihrLEhqGAw5WDxqklsbvC2uGBxvSDgLtzwXLy3q6ihrYDwuGDg8GywXSB3CGBxvSDgLWBguGyw5ZD2vYCYb0BYbIzsbZzwXLy3rLzcbMB3iGysbXDwvZDgLVBGOTieLMihLVDsbYzwnVBw1LBMqGysbZCgvJAwzPyYbVChrPB24Sig1HA2uGDgHHDcb0AguGzMLYC3qGB3b0Aw9UigLUihrOzsbSAxn0igfUzcbHzgqGiIHszwnVBw1LBMrLzcKIigf0ihrOzsbLBMqGB2yGDgHLigXHyMvS','Bwf4uMvKAxjLy3rZ','mJi0lJaUmc4W','Ag9ZDg5HBwu','D29YA3nWywnLl3n5BwjVBa','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','zMLSBa','Bg9JywXLq29TCgfYzq','C3rKzxjYrgvJB2rLCG','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','r2XVyG','ChvIBgLZAgvKqxq','BgLUzu51Bq','tg9HzfnRAwXS','yMLVBwuUANnVBMm','DhjPBuvUza','zxjYB3jZ','C3bHD24','Aw5PDgLHBgL6zwq','zgvMyxvSDa','CMvNzxG','B3bLBG','BgLUzvrLEhq','zMfPBgvK','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','yxnZAwDU','q29Tu3bLyW','C3jJl2v4yw1WBgvZl2rLBw8UDhm','C3jJl3rVB2XZl21Vy2STDg9VBc1YDw50Aw1LlNrZ','AhrTBfnUAxbWzxq','lNrZ','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','AwDUB3jLt3v0Chv0','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','CMvHC29U','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','BxrPBwu','thnW','BxrPBwvnCW','D3jPDgu','zNvUy3rPB24','zgvMyxvSDfrPBwvVDxrnCW','CMfUzg9T','y2XPzw50x3nLy3jLDf9WB3n0','yNvMzMvYq2HHCNm','BgLZDfrVB2XZ','y29UDgvUDa','u3rVCcbYzwfKAw5Nigf0ihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','C2L6zq','zw5NAw5LCW','tuvesvvn','y29UDgv4Da','C2HLBgXqyxrO','Aw5JBhvKzq','igzHAwXLzc4','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','ygbG','A2v5yMLUzgLUz3m','zMXHDe1HCa','DhvYBMrVD24','oIaIDg9WAwmIigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','DhLWzxnJCMLWDhjLywn0','CNvUBMLUzW','Dg9WAwmGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','zMLUza','sw52B2TLq29TBwfUza','lI4U','u2HLBgWGBM90igzVDw5KoIa','z2XVyG','C2XPy2u','CgXHAw4','CMvMCMvZAf90B2TLBG','Dg9Rzw5tDg9YywDLs2v5','C3rYAw5N','zMLUywXnzxnZywDLvgv4Da','lMjPBG','y29TBwfUzhm','qMfZAa','C3LTBgLUAW','DxrTx21LzgL1Bq','zgv0ywLS','Aw52ywXPzf9XDwvZDgLVBNm','BgvUz3rO','CMvZDwX0','wZ0+nY04kcLD','BM9Zy3jPChq','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','BMf2','C2nYDwjfBNzlzxLZ','yw50AhjVCgLJ','B3bLBMfP','y2HHCMfJDgvY','v2LUr2v0','B3bLBMfPlxjLC3bVBNnLCY13CW','te9x','y2f0y2G','Dg9vChbLCKnHC2u','CMLWz3jLCa','zgvSAw1PDgvY','zxH0BMfTzq','y2XPzw50CW','Dgv4DerVy3vTzw50l2LTCgXLBwvUDgf0Aw9U','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','ugf0AcbPCYbUB3qGysbMAwXLoIa','BxvSDgLtzwXLy3q','txvZDcbWCM92AwrLideTmtaGCxvLC3rPB25Z','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','vg9Vig1HBNKGCMvKAxjLy3rZ','ls1MAwXLCW','vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','C3jJl3nOyxjLzc90ExbLCY50CW','r09pr0Xfx0ntrv9dwa','D29YA3nWywnLu3LTyM9S','Dg9Rzw5Z','Aw5JBhvKzxm','ode5nZy1rM9vrg14','ywXSB3DLzfrVB2XZ','DxrMoa','ChjVDg9JB2W','y29ZDa','C2vYDMvYCW','yw50AhjVCgLJlw1LC3nHz2vZ','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','vxnLihrOAxmGDg9VBcb0BYbJCMvHDguGyw5Kig1HBMfNzsbHihn0CNvJDhvYzwqGDgfZAYbSAxn0igzVCIb5B3vYign1CNjLBNqGy29KAw5NihnLC3nPB24UifrOAxmGAgvSChmGEw91ihrYywnRihbYB2DYzxnZlcbVCMDHBML6zsbJB21WBgv4ihrHC2TZlcbHBMqGzgvTB25ZDhjHDguGDgHVCM91z2HUzxnZihrVihrOzsb1C2vYlGPjDcbHBhnVigHLBhbZihrOzsb1C2vYihvUzgvYC3rHBMqGDgHLihbYB2DYzxnZig9MihrOzsb0yxnRigfUzcbVDMvYywXSihbYB2DYzxnZig9MihrOzwLYihjLCxvLC3rZlGOkiYmGv2HLBIb0BYbvC2uGvgHPCYbuB29ScLvZzsb0AgLZihrVB2WGChjVywn0AxzLBhKGAw4GDgHLC2uGC2nLBMfYAw9ZoGOkms4Gq29TCgXLEcbTDwX0As1ZDgvWihrHC2TZic0Gv2HLBIbHihrHC2SGCMvXDwLYzxmGmYbVCIbTB3jLigrPC3rPBMn0ihn0zxbZig9YigfJDgLVBNmkmI4GtM9UlxrYAxzPywWGyw5KignVBxbSzxGGDgfZA3mGlsbuyxnRCYb0Agf0ihjLCxvPCMuGy2fYzwz1BcbWBgfUBMLUzYbVCIbTDwX0AxbSzsbVCgvYyxrPB25ZcJmUifvZzxiGzxHWBgLJAxrSEsbYzxf1zxn0CYb0B2rVigXPC3qGlsbxAgvUihrOzsb1C2vYigrPCMvJDgX5igfZA3mGEw91ihrVihvZzsb0AguGDg9KBYbSAxn0cJqUifvZzxiGChjVDMLKzxmGBxvSDgLWBguGDgfZA3mGlsbxAgvUihvZzxjZihbYB3zPzguGysbSAxn0ig9MihrOAw5NCYb0BYbIzsbKB25LicHUDw1IzxjLzcbVCIbJB21Tys1ZzxbHCMf0zwqPcJuUiefMDgvYihjLy2vPDMLUzYbUzxCGAw5ZDhj1y3rPB25Zic0Gsw1TzwrPyxrLBhKGy2fWDhvYzsb1C2vYihjLCxvPCMvTzw50CYbHCYb0B2rVCWO2lIbxAgvUihLVDsbZDgfYDcb3B3jRAw5Nig9UigeGDgfZAYaTie1HCMSGAxqGyxmGAw5FChjVz3jLC3mGqKvgt1jfigjLz2LUBMLUzYb3B3jRlIbjzgvHBgX5ihLVDsbZAg91BgqGB25SEsbOyxzLig9Uzsb0B2rVigfZigLUx3bYB2DYzxnZigf0igeGDgLTzqO3lIbbzNrLCIbJB21WBgv0Aw5NigeGDgfZAYaTie1HCMSGAxqGyxmGy29TCgXLDgvKigfUzcbHzgqGyw55ig5LDYbMB2XSB3CTDxaGDgfZA3mGzgLZy292zxjLzcbKDxjPBMCGAw1WBgvTzw50yxrPB24kcImJifDOzw4GtK9uihrVifvZzsbuAgLZifrVB2WkcLnRAxaGDxnPBMCGDgHPCYb0B29SihDOzw46cJeUifrOzxjLigLZig9UBhKGysbZAw5NBguSihn0CMfPz2H0zM9YD2fYzcb0yxnRcJiUifrOzsb0yxnRigLZihrYAxzPywWGyw5KihrYywnRAw5NigL0ihbYB3zPzgvZig5Vig9Yz2fUAxPHDgLVBMfSigjLBMvMAxqkmY4GvgHLihrHC2SGy2fUigjLignVBxbSzxrLzcbPBIbSzxnZihrOyw4GmYb0CML2AwfSihn0zxbZcJqUifrOzsb0yxnRigLZihb1CMvSEsbJB252zxjZyxrPB25HBcbVCIbPBMzVCM1HDgLVBMfScGPot1rfihrOyxqGEw91ihnOB3vSzcbUB3qGDxnLihrOAxmGDg9VBcbPzIb0AgvYzsbPCYbVBMX5ig9Uzsb0CML2AwfSihrHC2SGDg8Gzg8UieLUihrOAxmGy2fZzsb5B3uGyxjLigjLDhrLCIbVzMyGANvZDcbKB2LUzYb0AguGDgfZAYbKAxjLy3rSEs4kcImJifrHC2SGu3rHDgvZigfUzcbnyw5Hz2vTzw50cGOXlIaQkLrHC2SGu3rHDgvZkIO6ifvZzsb0AgvZzsbZDgf0zxmGDg8GDhjHy2SGChjVz3jLC3m6cI0GCgvUzgLUzZOGvgfZAYbUB3qGEwv0ihn0yxj0zwqklsbPBL9WCM9NCMvZCZOGq3vYCMvUDgX5ihDVCMTPBMCGB24GkgXPBwL0ihrVie9orsb0yxnRigf0igeGDgLTzsKklsbJB21WBgv0zwq6ifrHC2SGzMLUAxnOzwqGC3vJy2vZC2z1BgX5cGOYlIaQkLrHC2SGtwfUywDLBwvUDcOQoGOTifvWzgf0zsb0yxnRihn0yxr1CYbPBIbYzwfSlxrPBwuGyxmGEw91ihDVCMSklsbnyxjRihrHC2TZignVBxbSzxrLieLntuvesufuruXzigfMDgvYigzPBMLZAgLUzYaOzg9Uj3qGyMf0y2GGy29TCgXLDgLVBNmPcI0Gt25SEsbOyxzLie9orsb0yxnRigLUx3bYB2DYzxnZigf0igfUEsb0Aw1LcI0Gq29TCgXLDguGy3vYCMvUDcb0yxnRCYbIzwzVCMuGC3rHCNrPBMCGBMv3ig9Uzxmklsbszw1VDMuGDgfZA3mGDgHHDcbHCMuGBM8GBg9Uz2vYihjLBgv2yw50igzYB20GDgHLigXPC3qGzw50AxjLBhKkcJmUicOQvgfZAYbdB21WBgv0Aw9UifjLCxvPCMvTzw50CYOQoGOTie9otfKGBwfYAYbHihrHC2SGyxmGy29TCgXLDgvKihDOzw4GEw91igHHDMuGrLvmtfKGywnJB21WBgLZAgvKigL0cI0GswyGEw91igvUy291BNrLCIbLCNjVCNmSigjSB2nRzxjZlcbVCIbJyw5UB3qGzMLUAxnOlcbRzwvWihrOzsb0yxnRigfZigLUx3bYB2DYzxnZcI0Gv2HLBIbIBg9JA2vKlcbJCMvHDguGysbUzxCGDgfZAYbKzxnJCMLIAw5NihDOyxqGBMvLzhmGDg8GyMuGCMvZB2X2zwqklsbozxzLCIbTyxjRigeGDgfZAYbHCYbJB21WBgv0zwqGAwy6cI0GvgvZDhmGyxjLigzHAwXPBMCklsbjBxbSzw1LBNrHDgLVBIbPCYbWyxj0AwfScI0Gww91igvUy291BNrLCMvKihvUCMvZB2X2zwqGzxjYB3jZcI0Gww91ignVDwXKBID0igzPBMqGBMvJzxnZyxj5igzPBgvZig9YigrLCgvUzgvUy2LLCWOknc4GkIPuyxnRiejYzwfRzg93BIOQoGOTienYzwf0zsbZCgvJAwzPyYWGywn0Aw9UywjSzsbPDgvTCWOTiejYzwfRignVBxbSzxGGDgfZA3mGAw50BYbZBwfSBgvYlcbTyw5Hz2vHyMXLihn0zxbZcI0GvxnLignSzwfYlcbKzxnJCMLWDgL2zsb0yxnRig5HBwvZcGPxAgvUigLUigrVDwj0lcb1C2uGDgHPCYb0B29SlIbczwLUzYbWCM9Hy3rPDMuGD2L0Acb0yxnRig1HBMfNzw1LBNqGzgvTB25ZDhjHDgvZigf0DgvUDgL2zw5LC3mGyw5KigvUC3vYzxmGEw91ignVBxbSzxrLigfSBcbYzxf1AxjLBwvUDhmGC3vJy2vZC2z1BgX5lG','DhnZzxj2zxiUANm','CxvLC3rPB24','Bg93','zgLZCg9Zzq','phn5C3rLBs1Yzw1PBMrLCJ4','B2zMC2v0','Ag9TzwrPCG','DgfZAW','r0Lusfvcx0fdq0vtu19ut0TftG','C2vUze5VDgLMAwnHDgLVBG','BgLZDgvU','Dg90ywXeCM9WCgvK','C2HLBgXjza','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','y2fWq2HHCNm','v2vIrMv0y2G','BhnWu2vYDMLJzq','tM8GCMvZDwX0CYbMB3vUzc4','CNvUswq','yNvUlMXVy2TI','yMfJA2DYB3vUzfjLz2LZDhj5','vMLLDYbHBIbPBwfNzsbMAwXLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZihnVihrOzsbTB2rLBcbJyw4GAw5ZCgvJDcbPDhmGDMLZDwfSignVBNrLBNqUifn1ChbVCNrZifborYWGsLbfrYWGv2vIucWGyw5KieDjrIbPBwfNzxmUifvZzsb0AgLZigzVCIbZy3jLzw5ZAg90CYWGzgLHz3jHBxmSihbOB3rVCYWGyw5Kig90AgvYigLTywDLigzPBgvZoYb1C2uGrMLSzvjLywqGzM9YihrLEhqGzMLSzxmU','mJqWlJaUmc4W','zgLYBMfTzq','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','C3jJl2fNzw50l2fNzw50lNrZ','BwvZC2fNzq','Ahr0Chm6lY9HCgKUDgf2AwX5lMnVBs9ZzwfYy2G','zgf0zxrPBwu','C3rKB3v0rgvJB2rLCG','C3bSAxq','CgLK','B2f1DgG','DxrTx3rLCM0','yxr4','u0HfteW','zgLNzxn0','sfruuca','B2XKvgv4Da','ywrK','ls1OAwrKzw4','AwDUB3jL','Ahr0Ca','C3rHCNreAxi','CMvZDwX0CW','xsb0CMfUC3bVCNqGzxjYB3i6','seLhsa','DhLWzxnJCMLWDa','Bwf4q29Uy3vYCMvUDa','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbJB21Tyw5KigrVzxmGyw5KihDOEsb5B3uGyxjLihj1BM5PBMCGAxqG4OcuihrOzsbNB2fSigL0igfKDMfUy2vZlIbtAg93BIb0BYb0AguGDxnLCIbIzwzVCMuGzxHLy3v0Aw9UlIbczsbZCgvJAwzPyYWGzs5NlIaNuNvUihrOzsbHDxrOihrLC3rZihrVihzLCMLMEsb0AguGDg9Rzw4TCMvMCMvZAcbMAxGNihjHDgHLCIb0AgfUicDYDw4GDgvZDhmNlG','BhnWlxbYB3H5','rM91BMqG','CMvHzen1CNnVCG','Aw1Hz2vZ','z29Vz2XLlwnZzq','y3jSzG','C3rHDgu','ChjLCgfYzunHBgXiAwvYyxjJAhK','CMvJzw5JEurHExm','ru5pru5u','igj5DgvZicHVCMLNAw5HBdOG','ywjVCNrLza','Aw5JB21PBMDdywXSCW','AgfUzgXL','zxHPDgvK','mc4WlJaUma','DhnJ','qxnZAwDUvgfZAW','Aw52ywXPzf90B2rVx2L0zw0','CMvWBgfJzq','yxjYyxK','B2XSyw1H','y2XLyxi','yNL0zuXLBMD0Aa','zMLSzq','zw5NAw5L','cGPbuKDvtuvovfm6ia','Dgv4DerVy3vTzw50l2rLzMLUAxrPB24','y2HHCKnVzgvbDa','uhvIBgLZAgvKoIa','Bg9VA3vW','B2zM','DhLWzq','DxbKyxrL','C2v0','BM90Awz5','AhLKCMf0zu1LDge','BgfUzW','mc4WlJa','qvbjx0Tfwq','CgfJA2fNzs1SB2nRlMPZB24','yNvMzMvY','y2fSBgjHy2TvCMW','r3jLCa','CgXHAw50zxH0','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','zMLSzvzLCNnPB25Z','BgfZDeLUzgv4t2y','yw5ZAti1nG','z2L0qNjHBMnO','C2vUza','BgLTAxq','AMf2yxnJCMLWDhjLywn0','Dg9KB3m','z2L0AhvI','yxbPs2v5','DhjPBq','z2v0u3rHDhm','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','lNrZEa','CMvMzxjLBMnLCW','Aw1Hz2uVD2vICa','y2vPBa','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','mJa5mZuWnej4r2rArW','CgfYC2vjBNq','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxi6ihf1zxj5','BM93','y2XPzw50','Aw1WBgvTzw50yxrPB24','BgLUzvn0yxj0','vg9KBYa','uhjVz3jHBuzPBgvZ','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','CgfJA2fNzs5QC29U','BhmGlwXH','s2LSBfnOzwXS','zw5HyMXLza','DgLTzw91De1Z','AxnfBMfIBgvK','Dgv4DerVy3vTzw50l2rPze9Wzw4','C2vZC2LVBKLK','lMnQCW','jYbUB3qGzM91BMqUief2ywLSywjSzsbJB21Tyw5KCZOG','CMvSyxrPDMu','y29UDgvUDc10ExbL','C3rKAw8','zxzPy3rjzK5LzwrLza','Bwf4','B3v0Chv0','qMfZAe91Dhb1Da','ywXSB3DLzerPCNm','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','Aw52ywXPzf90B2rVx3bYAw9YAxr5','BgLNAhq','oIaIDg9WAwmIig11C3qGyMuGBwf4idmWignOyxjHy3rLCNmSigDVDca','ls1YzwDLEha','DgL0Bgu','l3vZCI9IAw4VC2G','mtKYlJaUmc4W','B2jQzwn0','C2H1DgrVD25tDgfYDgvK','yxbWBgLJyxrPB24VANnVBG','CNvUsw5cywnRz3jVDw5K','u0Lhs0Lmta','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','z29Vz2XLq3nLs2v5','rxHLy3v0zsbHihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24UienHChr1CMvZihn0zg91DcbHBMqGC3rKzxjYlIbeBYbUB3qGDxnLigzVCIbPBNrLCMfJDgL2zsbJB21Tyw5KCYb0Agf0ihjLCxvPCMuGDxnLCIbPBNb1Dc4Grg8GBM90ihvZzsbMB3iGCMvHzgLUzYbMAwXLCYaODxnLiezPBgvszwfKigLUC3rLywqPlIbtzxqGCNvUsw5cywnRz3jVDw5KoNrYDwuGzM9YigXVBMCTCNvUBMLUzYbJB21Tyw5KCYaOC2vYDMvYCYWGD2f0y2HLCNmPoIbPDcbYzxr1CM5ZigeGC2HLBgXjzcbPBw1LzgLHDgvSEsdIGjqGCMvHzcbVDxrWDxqGD2L0AcbcyxnOt3v0Chv0igfUzcbZDg9WigL0ihDPDgGGs2LSBfnOzwXSlIbetYbot1qGvvnfiejbu0GGve9ptcbMB3iGCMvHzcbMAwXLihvZzsbgAwXLuMvHzc4Gww91ie1vu1qGChjVDMLKzsbHignVBMnPC2uGygrLC2nYAxb0Aw9UycbLEhbSywLUAw5NihDOyxqGDgHLignVBw1HBMqGzg9LCYbHBMqGD2H5ihLVDsbHCMuGCNvUBMLUzYbPDcaODgHLigDVywWGAxqGywr2yw5JzxmPiokaLcbPDcbPCYbZAg93BIb0BYb0AguGDxnLCIbMB3iGDhjHBNnWyxjLBMn5igjLzM9YzsbLEgvJDxrPB24U','mtmZnZq0mfzxt3fRtq','Bwv0yq','CgfNzw1HCa','uMvHzcbMAwXLCYbMCM9TihDVCMTZCgfJzs4Gt3b0Aw9UywXSEsbZCgvJAwz5igXPBMuGCMfUz2vZicHSAw5Lu3rHCNqSigXPBMvfBMqPlG','C3rVCMfNzurPCG','CxvLC3rPB25Z','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','AgvHzgvYCW','CM9VDa','r09pr0Xfx0ntrv9lrvK','ywXS','ywn0AxzL','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','BMv3vgv4Da','mtKYlJe2oc4WlJa','BwfYA2rVD24','u2vHCMnOihrOzsb3zwiGyw5KihjLDhvYBIbYyw5RzwqGCMvZDwX0CY4','BwfUDwfS','Dg9VBenHBgXjza','zxjYB3jnzxnZywDL','rMLUzcb3B3jRC3bHy2uGB3iGywXSB3DLzcbKAxjLy3rVCNKGzMLSzxmGBwf0y2HPBMCGysbNBg9IihbHDhrLCM4U','lMPWzwC','A2v5CW','rMLSzuvKAxq','pc9ZExn0zw0TCMvTAw5Kzxi+','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','Bwf4qNL0zxm','yMLVBwuUANnVBG','A2LSBa','zMv0y2HjBxbS','qwXSia','BM9Kzv9TB2r1BgvZ','ANnJB25MAwCUANnVBG','ndu5mJa4AeTfCuj3','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','BwfW','y2XLyw51Ca','mtCYlJe2lJaUma','C3rKB3v0','Aw5ZDgfSBa','zgLHz25VC3rPy3ngB3jgAwXL','CMCUzxHL','CMvTB3zL','tuLosu1bwf9bueLFs0vz','BwvKAxvT','AgfZq2XPzw50CW','CMfUAW','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','Aw5PDgLHBgL6yxrPB24','Dhj1BMm','BMfTzq','EwfYBI5SB2nR','cMbGya','Aw5ZDhj1y3rPB25Z','vw5HDxrOB3jPEMvKrxjYB3i','twLJCM9ZB2z0','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3j5igzPBguGy29UDgvUDhmU','q3jLyxrLig9Yig92zxj3CML0zsbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmU','BNbT','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','C3bHD25PBMC','yMfZzty0','z29uB0LTCgXLBwvUDgf0Aw9U','ugfYyw1LDgvYicj0B2rVCYiGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','ks4GvxnLiejHC2HpDxrWDxqGDg8GCMvHzcbPDhmGB3v0Chv0igfUzcblAwXSu2HLBgWGDg8GC3rVCcbPDc4','tNv2Aw4','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','Cg9W','zhj5uNvU','ywjVCNq','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','AxnjBNrLz2vY','D2LUmZi','B25oB3rPzMLJyxrPB24','y2fJAgvK','ChjLzML4','C2vYDMvYtMfTzq','l29WDc9OB21LyNjLDY9IAw4VCMC','tM8GzgLHz25VC3rPy3m','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','Dg9Rzw4','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','lMPZB24','Dg9mB3DLCKnHC2u','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','uKLgrG','vMLLD0zPBgu','D2vI','zMLYC3q','Dg9KB3ncEvnLC3nPB24','l3vZCI9SB2nHBc9IAw4VCMC','yxr0CG','rMv0y2GGDgLTzwqGB3v0','ugf0AcbUB3qGzM91BMq6ia','y2XVC2u','lNDLyNa','yw5ZAte2','Aw52ywXPzf90B2rVx2nVBNrLBNq','Dg90ywW','CMvZB2X2zq','DMfSDwu','Bwf0y2HLCW','lMnTza','Bg9JyxrPB24','yxjNDw1LBNroyw1LCW','zxH0zw5ZAw9UCW','Dg9VBc1VDxrWDxqTB2zMBg9Hza','yM9VBgvHBG','zg5Zl3bYB21PC2vZ','vgvYBwLUyxrLigeGyMfJA2DYB3vUzcbWCM9JzxnZihn0yxj0zwqGD2L0AcbcyxnOkhj1BKLUqMfJA2DYB3vUzdP0CNvLksWGAwrLBNrPzMLLzcbIEsbPDhmGC2HLBgXjzc4','Ag92zxi','ihjLCxvPCMvZie9bDxrOignVBM5Ly3rPB24GB3b0Aw9UCW','tfnqihnLCNzLCIbWCM9JzxnZig11C3qGzxHWB3nLihn0zg91DcbHBMqGC3rKAw4GC3rYzwfTCW','ChvZAa','DhjHBNnMB3jTCW','Dg9tDhjPBMC','AxngAwXL','zMLSDgvY','BM9Uzq','o1TExg5DkJ8','C2vHCMnOugfYyw1Z','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','C2nVCgvZ','ls1NBg9Ipq','BgfUz3vHz2u','v0vcua','oIbJB250zw50ihjLCxvPCMvK','igj5DgvZicH0B3rHBdOG','te9dquXbufbeqvrb','ls1NBg9I','Bwf4rw50CMLLCW','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','sw5MB3jTyxrPB24','qxnRvxnLCLrVB2W','mJG4mZaYqMnNwLbS','l3bPza','B3b0Aw9UCW','zgvMAw5PDgLVBG','lMPZEa','z2vUzxjHBa','u3rHCNrLzcbHz2vUDcbYDw4G','Axnoyu4','B3bLBNjVDxrLCG','DhnJB25MAwCUANnVBG','yxjNDw1LBNrZ','AxndB250zxH0','DMvYAwzPzxi','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','Dgf2AwX5','y29TBwfUza','C3rHDhvZ','Bg9HzfnRAwXS','CgXHDgzVCM0','Aw1Hz2u','Dgf2AwX5qxbPs2v5','u2TPBgWGjW','Agv4','y2XPzw50twv0ywrHDgfvCMW','Ahr0CdO','CxvLC3rPB24T','ywDLBNrjza','C2vSzwn0Aw9UuMfUz2u','lM10CW','Dg9VBa','ANnVBG','CNnZ','qwDLBNqGCNvUia','tu9ptLnit1rFqvbjx0Tfwq','mZm5otbtz0TizxK','qxv0Ag9YAxPHDgLVBG','Dhj1BMnHDgvK','ChjPB3jPDhK','C3vKBW','zw52','BhnW','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','v2vIu2vHCMnO','zxHPDcbJB2rLia','rMv0y2GGywjVCNrLzcbIEsb1C2vY','ls1ZDgrPBW','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','D2HPy2GGCMC','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','C2vYDMvYswq','C29Tzq','ienHDxnLoIa','rgv0ywLSoIa','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','o1TE','CgfZC3DVCMq','w291Dhb1Dcb0CNvUy2f0zwq6ia','AxnbCNjHEq','y2XPzw50sw5MB3jTyxrPB24','B3jPz2LUvg9VBenHBgXjza','tunqihnLCNzLCIa','BNvTyMvY','ywXSu2v0DgXLza','DgLTzvTKyxrLDgLTzv0','BwLUAw1HEa','Dgv4DerVy3vTzw50l2HVDMvY','AMf2yxnJCMLWDa','Dw5PB24','ChjVy2vZC0v4AxrLza','Cgf0DgvYBG','Dg9WAwm','Aw52ywXPzf90B2rVx2LK','Aw5PDgLHBgL6zq','C291CMnL','C3rHDhvZvgv4Da','B25Jzq','Ag9ZDa','oeDVsxfetq','w1bFxL1BxhnCu10QpW','C2TPBgXZ','ls1MAwvSzc1JB250zxH0lxnLCgfYyxrVCJ18','y291BNrLCG','zMXVB3i','C2vYDMvY','Dgv4Dc9ODg1S','ywDLBNrZ','y29UDgv4DeXPBMS','iYmGu2TPBgW6ia','DxjS','yMLYDgH0Aw1L','Aw5KzxHpzG','l2jPBI9IyxnO','DMfSDwvZ','q291BgqGBM90ihjLC29SDMuGAg9ZDa','y29TCgXLDgvK','lunVBw1HBMq','zgvUBY5QC29U','zw50CMLLCW','rwrPDcbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmGyNKGCMvWBgfJAw5NihrOzsbMAxjZDcbLEgfJDcb0zxH0ihnLz21LBNqU','lMPZ','y3DK','Dg9VBhm','yxv0AfjLCxvPCMvK','Bg9HzenVBw1HBMq','cGOTls0kcG','qxzHAwXHyMXLihnRAwXSCYaOC2TPBgXFBMfTztOGzgvZy3jPChrPB24PoG','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','yxjNCW','mtK4lJe4lJaUma','BgLUzuvUza','DgHPBMTPBMC','A2LSBgvK','ue9tva','AgfZ','Dgv4DerVy3vTzw50l3bYzxbHCMvdywXSsgLLCMfYy2H5','CxvLCNK','y29UzMLN','zgLHz25VC3rPy3m','CMLWz3jLCcbMywLSzwq6ia','Bwv0yvTWCM9Wzxj0Et0NB2C6zgvZy3jPChrPB24Nxq','uefusa','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','C29YDa','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','Dg9VBe5HBwu','C3rYAw5NAwz5','rMLSzvjLywq','Aw5FChjVz3jLC3m','B3bLBMfPlwnOyxqTy29TCgXLDgLVBNm','B3bLBMfPlxjLC3bVBNnLCW','rMLSzsb3CML0DgvUigf0ia','y29Kzq','AgLNAa','CgfJA2fNzxm','z29uB0rLzMLUAxrPB24','z2v0','zg9JDw1LBNrtEw1IB2W','zgvMyxvSDen3za','y2HHCMfJDgvYig11C3qGyMuGysbWB3nPDgL2zsbPBNrLz2vY','lNbUzW','yxnPzgu','B3bLBKzPBgvZ','yxv0BW','y2HHBMDL','Aw1Hz2uVz2LM','zMLUzfjLzMvYzw5Jzxm','CgLWzq','Aw5JBhvKzv9KB21HAw5Z','zgf0zvjLC3rYAwn0','t1bftLjpvvrfuL9bueLFs0vz','B25LCNjVCG','BgLUA1TYzwW9j2nHBM9UAwnHBcDD','Dg9VBfjLC3vSDhm','oIbPzcbYzxf1AxjLza','lcbpChrPB24G','r0LgodLH','BgL0zxjHBa','BgLUAW','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','zgvZy3jPChrPB24','Bw9VBNnOB3q','lNrTCc4','ls1WCMvMAxG','Cgf0Aa','tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','yM0Ynq','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','yxbWzw5K','tg9HzgvKigzYB206ia','Dg9ju09tDhjPBMC','zw5K','y21KlMv4zq','rgvSzwDHDgvZigeGDgfZAYb0BYbHBM90AgvYigfNzw50igfUzcb3ywL0CYbMB3iGy29TCgXLDgLVBG','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','B3bLCMf0Aw9U','Dw5RBM93BG','C2v0vg9KB3m','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzceGqxnRigfIB3v0ig5LEhqGC3rLChmUienVBxbSzxrLzcbSAxn0oGO','C2LNBMfS','C3rHCNq','C3vIyxjYyxK','uxvLC3rPB24G','BgLUzq','C2L0ztO','vg9WAwmGC2v0ihrVici','u2L6ztOG','C25PChbLDa','zxzLCNK','Dgv4Da','zg9TywLUCW','ChjVy2vZCW','CMvXDwvZDa','yxnJAwK','Aw52ywXPzf90B2rVx3n0yxr1CW','ignOyxjZigrYB3bWzwrDcG','AxrLBxm','y2HPBgq','DxrTx2nVBNrLBNq','y29UC3rYDwn0B3i','DxnLCM5HBwu','yxjNDw1LBNrZvgv4Da','C3rKzxjY','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','yMfZzw5HBwu','icHZDgf0Dxm6ia','v29YA2LUzYbKAxjLy3rVCNKGBM90igzVDw5KoIa','tM8GC3LTyM9SCYbMB3vUza','l3vZCI9IAw4VCMC','ndbbseHYrxO','z2nSAwq','CgfJA2fNzu5HBwu','CgvUzgLUzW','mty5lJi1nc4WlJa','t25SEsbODhrWoI8VigfUzcbODhrWCZOVlYbvuKXZigfYzsbZDxbWB3j0zwq','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','yMvHCMvY','B2C6DxbKyxrLzf90Aw1L','lM51DMLU','mti1tKjYC1vN','zxjYB3i','zxHPDa','zgLZy292zxj5u3rHDgu','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','revfueLorLjbx0fqsv9lrvK','tuLnrtOG','BwLU','w01duca','Aw1Hz2uVCg5N','zM9VDgvY','CMvHza','yxjNDw1LBNriAw50','zMLUywXnzxnZywDL','zgvSzwDHDgvKlxj1BI0','D2HLCMuGCMC','ls1MB2XSB3C','AxneAxjLy3rVCNK'];_0x2ed3=function(){return _0x38a3a2;};return _0x2ed3();}function createRunSummary(_0x203c48){const _0x4129f9={_0x376317:0x5e,_0x4384cf:0x61,_0x3cc8b6:0x40a,_0x272e06:0x535,_0x21181e:0x526,_0x115848:0x1b3,_0x2d69ec:0x1b0,_0x253f9e:0x27e,_0x270d25:0x21b,_0x30b7b9:0x14e,_0x504e20:0x5c,_0x3eacd1:0x12f,_0x26314b:0x162,_0x4cc451:0x510,_0x36afd0:0x516},_0x295fd9={_0x159390:0x192},_0x2bab25={_0x3c8299:0x52,_0xe736af:0x70};function _0x53f8e1(_0x485fb0,_0x4ac112,_0x115015,_0xa6bfed){return _0x257320(_0x485fb0-_0x2bab25._0x3c8299,_0x4ac112-0x111,_0x485fb0-_0x2bab25._0xe736af,_0x115015);}function _0xf4886e(_0x348409,_0x409e7a,_0x461eec,_0x1fd42a){return _0x257320(_0x348409-_0x295fd9._0x159390,_0x409e7a-0x41,_0x348409- -0x4ff,_0x1fd42a);}return{'runId':_0x203c48[_0xf4886e(_0x4129f9._0x376317,0xad,_0x4129f9._0x4384cf,0x78)],'agentId':_0x203c48[_0x53f8e1(_0x4129f9._0x3cc8b6,0x394,0x2aa,_0x4129f9._0x272e06)],'sessionId':_0x203c48[_0x53f8e1(0x34d,0x3fb,0x48d,0x481)],'status':_0x203c48['status'],'parentSessionId':_0x203c48[_0x53f8e1(_0x4129f9._0x21181e,0x4a6,0x4b8,0x64e)],..._0x203c48[_0xf4886e(-0x143,-0x4b,-_0x4129f9._0x115848,-_0x4129f9._0x2d69ec)]!==void 0x0?{'originToolCallId':_0x203c48['originToolCallId']}:{},..._0x203c48[_0xf4886e(-0x1f2,-0x1f5,-_0x4129f9._0x253f9e,-_0x4129f9._0x270d25)]!==void 0x0?{'errorMessage':_0x203c48[_0x53f8e1(0x37d,0x22f,0x37d,0x425)]}:{},..._0x203c48[_0xf4886e(0x23,0x184,_0x4129f9._0x30b7b9,-_0x4129f9._0x504e20)]?.[_0xf4886e(-0x93,-_0x4129f9._0x3eacd1,0x1,-_0x4129f9._0x26314b)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x203c48['result'][_0x53f8e1(0x4dc,_0x4129f9._0x4cc451,_0x4129f9._0x36afd0,0x388)])}:{}};}function createRunSummaryOutput(_0x36a0ad,_0x294a28){const _0xe2cfb7={_0x1b6fc5:0x14e,_0x5a7824:0x20c,_0x568262:0x26f,_0x1c46c9:0x14d,_0x39e83b:0x2c3,_0x4ef0cf:0x3e1,_0x45d5a4:0x14a},_0x418cd4={_0x266653:0x91,_0x3cb621:0x1a6};function _0x5bac04(_0x303472,_0x3ecdb7,_0x2751a1,_0x376dd6){return _0x257320(_0x303472-0x123,_0x3ecdb7-0x1a2,_0x2751a1- -0x3cb,_0x3ecdb7);}function _0x126e02(_0x4a7488,_0x2d8bed,_0x1594ac,_0x59a74b){return _0x3342ed(_0x4a7488-_0x418cd4._0x266653,_0x2d8bed,_0x4a7488- -0x1d2,_0x59a74b-_0x418cd4._0x3cb621);}const _0x21f2bd=createRunSummary(_0x36a0ad),_0x420942=_0x21f2bd[_0x5bac04(0x22,0x268,_0xe2cfb7._0x1b6fc5,_0xe2cfb7._0x5a7824)];return createToolOutput(typeof _0x420942===_0x5bac04(0x22b,_0xe2cfb7._0x568262,_0xe2cfb7._0x1c46c9,0x29)&&_0x420942[_0x126e02(_0xe2cfb7._0x39e83b,_0xe2cfb7._0x4ef0cf,_0xe2cfb7._0x45d5a4,0x2ca)]>0x0?_0x420942:_0x294a28,_0x21f2bd);}function getRunTerminalErrorMessage(_0x57baf7){const _0x5a7588={_0x27af91:0x427,_0x52ea29:0x108,_0x5aa768:0x344,_0x249d4a:0xb5},_0x451bef={_0x284260:0x14d},_0x3f501d={_0x42ae7f:0xa1};function _0x4c49a7(_0x350566,_0x251a03,_0x1a0473,_0x4c4211){return _0x257320(_0x350566-0x151,_0x251a03-_0x3f501d._0x42ae7f,_0x4c4211- -0xdb,_0x251a03);}const _0x4eaffc=_0x57baf7?.['state'][_0x4c49a7(0x2dc,0x233,_0x5a7588._0x27af91,0x33f)]['at'](-0x1);if(_0x4eaffc?.['status']===_0x5b619c(0x3b7,0x298,0x1a5,0x283)&&_0x4eaffc[_0x5b619c(0x4b,0x271,0xca,_0x5a7588._0x52ea29)]['trim']()[_0x5b619c(0x21a,0x413,0x215,_0x5a7588._0x5aa768)]>0x0)return _0x4eaffc[_0x4c49a7(0x11b,0xd0,_0x5a7588._0x249d4a,0x20a)];function _0x5b619c(_0x487655,_0xa79ade,_0x3bebd0,_0x5ae02c){return _0x3342ed(_0x487655-0xba,_0x487655,_0x5ae02c- -0x151,_0x5ae02c-_0x451bef._0x284260);}return void 0x0;}function formatAbortedRunMessage(_0x5b1da3,_0x17cd33){const _0x5168db={_0x493e30:0x4b2,_0x2562d3:0x68c,_0xb5a8ae:0x57b,_0x187c58:0x24e,_0x43bb96:0xc9,_0x47bd6b:0x2a9,_0x282ca5:0x3fb,_0x12ca76:0x19b,_0x3294f8:0x2ce},_0x1f4328={_0x488d17:0x197,_0x18c6f7:0x18d},_0x30d599={_0x4a9446:0x3c},_0x2690de=_0x28c6c2(_0x5168db._0x493e30,_0x5168db._0x2562d3,_0x5168db._0xb5a8ae,0x6e3)+_0x5b1da3+_0x342584(0x363,0x279,_0x5168db._0x187c58,0x3ae);if(!_0x17cd33||_0x17cd33[_0x342584(_0x5168db._0x43bb96,0xaa,-0x14,0xb7)]()[_0x342584(0x34d,0x308,_0x5168db._0x47bd6b,_0x5168db._0x282ca5)]===0x0||_0x17cd33===_0x2690de)return _0x2690de;function _0x28c6c2(_0x10d925,_0x34bdf1,_0xd4bf7e,_0x3b39fe){return _0x257320(_0x10d925-0x11d,_0x34bdf1-_0x30d599._0x4a9446,_0xd4bf7e-0x1db,_0x34bdf1);}function _0x342584(_0x1a54da,_0x52065d,_0x32aeff,_0x1c1c59){return _0x3342ed(_0x1a54da-_0x1f4328._0x488d17,_0x32aeff,_0x52065d- -_0x1f4328._0x18c6f7,_0x1c1c59-0x41);}return _0x2690de+_0x342584(0x7e,_0x5168db._0x12ca76,_0x5168db._0x3294f8,0x2d3)+_0x17cd33;}function createAssignTaskTool(_0x470130){const _0x2637a6={_0x10d0f2:0x5b7,_0xc6743:0x47c,_0x38fe45:0x47f,_0x11855d:0x3f0,_0x181e64:0x209,_0x42b87b:0xe1,_0x39ef80:0x14,_0x5b4a1e:0x1b3,_0x2ff099:0xe6,_0x34fcef:0x406,_0x2b5f61:0x31e,_0x238955:0x4e6,_0x22e4ec:0x288,_0x33d4ab:0x28d,_0x4f5fcc:0x30f,_0x2b586b:0x3fa,_0x29d0c8:0xf1},_0x42e1f4={_0x525acf:0x5c,_0x202f85:0x3d,_0x11a580:0x15,_0x2137d4:0x34a,_0x582350:0x3cc,_0x520ace:0x3fb,_0xe85414:0x3c7,_0x5eb9d7:0x45d,_0x33c33f:0x203,_0xedd309:0x151,_0x1c6d51:0x11b,_0x5c4900:0x3f3,_0x252166:0x94,_0x5c544a:0xdc,_0x37ada4:0xfd,_0x2f72ef:0x42,_0x1be2d7:0x7f,_0xe161be:0x5f6,_0xeafc48:0x489,_0x1f71f2:0x393,_0xdf0956:0x354,_0x221f8e:0x2cd,_0x287865:0x15e,_0x21ff4a:0x494,_0x2aee84:0x3fb,_0x1a427b:0x525,_0x37eaa0:0x315,_0x3ff695:0x434,_0x2da4b7:0x526,_0x167882:0x540,_0x341c04:0x645,_0x573026:0x6f,_0x21df51:0x29,_0x3b286a:0x147,_0x306ad0:0x64c,_0xee694f:0x553,_0x2bd8c3:0x3e9,_0x54cfba:0x367,_0x150825:0x3e4,_0x35e81b:0x35,_0x56b5dc:0x4df,_0x4c200f:0x47f,_0x19e03e:0x53d,_0x11f1e9:0x9,_0x108a4a:0x10b,_0x232246:0x2d2,_0x2e060f:0x39,_0x3f9447:0x1b,_0x2aa206:0x1f,_0x1c15cc:0x14b,_0x539298:0x1f,_0x2092af:0x501,_0x1873ad:0x48f,_0x34bb49:0x128,_0x21d4dd:0x240,_0x6a0a93:0x5cd,_0x246cb4:0x4e0,_0x5c2690:0x5e3,_0x18feb8:0x173,_0x5bea96:0x1c7,_0x28caed:0x1d9,_0x2278f4:0xbc,_0x35d052:0x1bc,_0x5f05d3:0x21e,_0x5e6f89:0x1b6,_0x43b75d:0x266,_0x4f9f58:0x1ae,_0x87809c:0xdd,_0x48a6df:0x2b1,_0x4500ba:0x1a4,_0x49b0fe:0x284,_0x276716:0x128,_0x1d0907:0x99,_0x210cde:0xf,_0x3d798b:0x5de,_0x28fae3:0x725,_0x25aa49:0x5f4,_0x3b3eec:0x502},_0x47d533={_0x4bf4b8:0x79,_0x4e6ebe:0x29d},_0x184842={_0x2c564b:0x86,_0x38d6c1:0xb1};function _0x4ecb8a(_0x3ba551,_0x4c4ebc,_0x31dbfb,_0x391833){return _0x3342ed(_0x3ba551-0xf2,_0x31dbfb,_0x4c4ebc- -_0x184842._0x2c564b,_0x391833-_0x184842._0x38d6c1);}function _0x3da8cd(_0x4a9458,_0x3b3099,_0x766ca5,_0x5922cc){return _0x257320(_0x4a9458-0xb9,_0x3b3099-0x1d0,_0x5922cc- -0x3d6,_0x4a9458);}return defineTool({'name':_0x4ecb8a(_0x2637a6._0x10d0f2,_0x2637a6._0xc6743,_0x2637a6._0x38fe45,_0x2637a6._0x11855d),'description':_0x4ecb8a(_0x2637a6._0x181e64,0x31d,0x439,0x42e),'inputSchema':{'type':_0x3da8cd(-_0x2637a6._0x42b87b,-_0x2637a6._0x39ef80,-_0x2637a6._0x5b4a1e,-_0x2637a6._0x2ff099),'properties':{'agentId':{'type':'string'},'description':{'type':'string'},'nickname':{'type':_0x4ecb8a(0x3b7,_0x2637a6._0x34fcef,_0x2637a6._0x2b5f61,_0x2637a6._0x238955)},'task':{'type':_0x3da8cd(0x181,0x22a,0x15e,0x142)}},'required':[_0x4ecb8a(0x1cc,_0x2637a6._0x22e4ec,_0x2637a6._0x33d4ab,0x2a4),_0x4ecb8a(0x2cd,_0x2637a6._0x4f5fcc,0x2a1,_0x2637a6._0x2b586b),_0x3da8cd(_0x2637a6._0x29d0c8,0x26b,0x8,0x17c)]},async *'execute'(_0x3958a1,_0x283d1a){const _0x1676bf={_0x4f9b5d:0x122,_0x3277f6:0x1ad,_0x45db6f:0x33,_0x146414:0x42,_0x5104a4:0xa3,_0x427607:0x20b,_0xe44714:0xb7,_0x32f20a:0x14b},_0x1e57ad={_0x3a604b:0x1ac,_0x3a2f6f:0xd6},_0x3392d8={_0x307262:0xce},_0x46764c={_0x3d3bb6:0xbc},_0x202a1c=createDelegatedRunId(),_0x4129c0={'agentId':_0x3958a1[_0x17b033(0x9e,-_0x42e1f4._0x525acf,-_0x42e1f4._0x202f85,-_0x42e1f4._0x11a580)],'parentSessionId':_0x283d1a[_0x3fb9aa(_0x42e1f4._0x2137d4,_0x42e1f4._0x582350,0x544,0x290)],'runId':_0x202a1c,..._0x283d1a[_0x3fb9aa(0x40e,_0x42e1f4._0x520ace,_0x42e1f4._0xe85414,_0x42e1f4._0x5eb9d7)]!==void 0x0?{'toolCallId':_0x283d1a[_0x17b033(-_0x42e1f4._0x33c33f,-_0x42e1f4._0xedd309,-_0x42e1f4._0x1c6d51,-0xa3)]}:{}};function _0x17b033(_0x3c1ad8,_0x2b7531,_0x575680,_0x2e27cc){return _0x4ecb8a(_0x3c1ad8-_0x47d533._0x4bf4b8,_0x2e27cc- -_0x47d533._0x4e6ebe,_0x3c1ad8,_0x2e27cc-0x1ee);}const _0x48f691=getDelegatedAgentDefinition(_0x470130,_0x3958a1[_0x3fb9aa(0x3ba,0x489,_0x42e1f4._0x5c4900,0x4fd)]);if(!_0x48f691)throw new ToolExecutionError(_0x17b033(_0x42e1f4._0x252166,_0x42e1f4._0x5c544a,-0x73,0x81)+_0x3958a1[_0x17b033(_0x42e1f4._0x37ada4,-_0x42e1f4._0x2f72ef,-_0x42e1f4._0x1be2d7,-0x15)],{'agentId':_0x3958a1[_0x3fb9aa(_0x42e1f4._0xe161be,_0x42e1f4._0xeafc48,0x51d,_0x42e1f4._0x1f71f2)]});const _0x2eb64f=new Agent(await resolveDelegatedAgentOptions(_0x48f691,_0x4129c0));let _0x3a914d={'runId':_0x202a1c,'agentId':_0x3958a1[_0x3fb9aa(0x5b5,0x489,0x438,_0x42e1f4._0xdf0956)],'sessionId':_0x2eb64f[_0x3fb9aa(0x31e,0x3cc,0x4d9,_0x42e1f4._0x221f8e)],'status':_0x17b033(0x1c1,0x2c3,0x1d9,_0x42e1f4._0x287865),'parentSessionId':_0x283d1a['sessionId'],..._0x283d1a[_0x3fb9aa(_0x42e1f4._0x21ff4a,_0x42e1f4._0x2aee84,0x2d8,0x3d7)]!==void 0x0?{'originToolCallId':_0x283d1a[_0x3fb9aa(_0x42e1f4._0x1a427b,0x3fb,_0x42e1f4._0x37eaa0,_0x42e1f4._0x3ff695)]}:{}};const _0x5e7e8b=new AbortController();function _0x3fb9aa(_0x4988a4,_0x5e7044,_0x28e5ef,_0x351dc1){return _0x4ecb8a(_0x4988a4-_0x46764c._0x3d3bb6,_0x5e7044-0x201,_0x28e5ef,_0x351dc1-0xfd);}const _0x2ac7dc=addAbortListener(_0x283d1a[_0x3fb9aa(0x4ea,_0x42e1f4._0x2da4b7,_0x42e1f4._0x167882,_0x42e1f4._0x341c04)],()=>{function _0x100137(_0x217f6b,_0x1ed32f,_0x363b58,_0x435849){return _0x17b033(_0x435849,_0x1ed32f-0xdf,_0x363b58-_0x3392d8._0x307262,_0x217f6b- -0xb2);}function _0xcb2815(_0x5077da,_0x5b8803,_0x5ef7c6,_0x70ec7){return _0x17b033(_0x5077da,_0x5b8803-_0x1e57ad._0x3a604b,_0x5ef7c6-_0x1e57ad._0x3a2f6f,_0x5b8803- -0x8b);}_0x5e7e8b[_0x100137(-_0x1676bf._0x4f9b5d,-0x47,-0xed,-_0x1676bf._0x3277f6)](_0x283d1a[_0x100137(-0x2a,-_0x1676bf._0x45db6f,-_0x1676bf._0x146414,_0x1676bf._0x5104a4)]?.[_0xcb2815(_0x1676bf._0x427607,_0x1676bf._0xe44714,_0x1676bf._0x32f20a,0x179)]);});yield createToolOutput(_0x17b033(_0x42e1f4._0x573026,_0x42e1f4._0x573026,-0x121,-_0x42e1f4._0x21df51)+_0x3a914d[_0x17b033(0x1d5,_0x42e1f4._0x3b286a,0x227,0x1ae)]+'.',{'runId':_0x3a914d[_0x3fb9aa(0x56d,_0x42e1f4._0x306ad0,_0x42e1f4._0xee694f,0x533)],'agentId':_0x3a914d[_0x3fb9aa(_0x42e1f4._0x2bd8c3,0x489,_0x42e1f4._0x54cfba,_0x42e1f4._0x150825)],'sessionId':_0x3a914d[_0x17b033(-0x15d,_0x42e1f4._0x35e81b,0x38,-0xd2)],'status':_0x3a914d[_0x3fb9aa(_0x42e1f4._0x56b5dc,_0x42e1f4._0x4c200f,_0x42e1f4._0x19e03e,0x358)]});try{const _0x2c1b2b=await _0x2eb64f[_0x17b033(0x2c,_0x42e1f4._0x11f1e9,-_0x42e1f4._0x108a4a,-0xf2)](_0x3958a1[_0x17b033(_0x42e1f4._0x232246,0x2fa,0xda,0x1a3)],{'signal':_0x5e7e8b['signal']});_0x3a914d={..._0x3a914d,'status':_0x2c1b2b[_0x17b033(_0x42e1f4._0x2e060f,-0x162,_0x42e1f4._0x3f9447,-_0x42e1f4._0x2aa206)],'result':_0x2c1b2b};if(_0x2c1b2b[_0x17b033(-0x3e,-0x57,-_0x42e1f4._0x1c15cc,-_0x42e1f4._0x539298)]!=='completed'){const _0x56c297=getRunTerminalErrorMessage(_0x2c1b2b),_0x137526=formatAbortedRunMessage(_0x3a914d[_0x3fb9aa(0x791,0x64c,0x5b2,0x734)],_0x56c297);throw new ToolExecutionError(_0x137526,{...createRunSummary(_0x3a914d),'aborted':!![],'errorMessage':_0x137526});}return createRunSummaryOutput(_0x3a914d,_0x3fb9aa(_0x42e1f4._0x2092af,_0x42e1f4._0x1873ad,0x371,0x5a5)+_0x3a914d[_0x17b033(0x1ff,_0x42e1f4._0x34bb49,_0x42e1f4._0x21d4dd,0x1ae)]+_0x3fb9aa(_0x42e1f4._0x6a0a93,0x562,_0x42e1f4._0x246cb4,_0x42e1f4._0x5c2690));}catch(_0xab99e9){if(_0xab99e9 instanceof ToolExecutionError)throw _0xab99e9;if(isAbortError(_0xab99e9)||_0x5e7e8b['signal'][_0x17b033(_0x42e1f4._0x18feb8,_0x42e1f4._0x5bea96,0x335,_0x42e1f4._0x28caed)]||_0x283d1a['signal'][_0x17b033(0x16c,0x103,0x317,_0x42e1f4._0x28caed)]){const _0x5e5a95=getRunTerminalErrorMessage(_0x3a914d['result'])??(_0xab99e9 instanceof Error?_0xab99e9[_0x17b033(_0x42e1f4._0x2278f4,_0x42e1f4._0x35d052,_0x42e1f4._0x5f05d3,_0x42e1f4._0x5e6f89)]:String(_0xab99e9)),_0x30d4f3=formatAbortedRunMessage(_0x3a914d[_0x17b033(0x27c,0x86,_0x42e1f4._0x43b75d,_0x42e1f4._0x4f9f58)],_0x5e5a95);_0x3a914d={..._0x3a914d,'status':'aborted','errorMessage':_0x30d4f3};throw new ToolExecutionError(_0x30d4f3,{...createRunSummary(_0x3a914d),'aborted':!![],'errorMessage':_0x30d4f3});}const _0x264b2f=getRunTerminalErrorMessage(_0x3a914d[_0x17b033(0x37,_0x42e1f4._0x87809c,_0x42e1f4._0x48a6df,0x173)])??(_0xab99e9 instanceof Error?_0xab99e9[_0x17b033(_0x42e1f4._0x4500ba,0x2cb,_0x42e1f4._0x49b0fe,0x1b6)]:String(_0xab99e9))??_0x17b033(-_0x42e1f4._0x276716,-_0x42e1f4._0x1d0907,0x134,-_0x42e1f4._0x210cde)+_0x3a914d[_0x3fb9aa(_0x42e1f4._0x3d798b,_0x42e1f4._0x306ad0,0x675,_0x42e1f4._0x28fae3)]+_0x3fb9aa(0x605,_0x42e1f4._0x25aa49,_0x42e1f4._0x3b3eec,0x728);_0x3a914d={..._0x3a914d,'status':_0x3fb9aa(0x4c6,0x5d4,0x5a1,0x565),'errorMessage':_0x264b2f};throw new ToolExecutionError(_0x264b2f,{...createRunSummary(_0x3a914d),'errorMessage':_0x264b2f});}finally{_0x2ac7dc();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x2bb304){return[createAssignTaskTool(_0x2bb304)];}import*as _0x558871 from'path';function buildDescription2(_0x1bb8b9){const _0x3f6712={_0x1a1b83:0x3a,_0x331b7d:0x231,_0x56046c:0x200,_0x36d1da:0x146,_0x4848cf:0x117,_0x556ef2:0x83,_0x4edcb6:0x78,_0x5a5a80:0x15,_0x42cc75:0x261,_0x5e2199:0x145,_0x13f9d2:0x284,_0x4a3d78:0x2a2,_0x18f43e:0x2f3,_0x42030d:0x1f5},_0x438d61={_0x558336:0x1d1,_0x1b720d:0x116,_0x1f8468:0x345};function _0x423563(_0xbfa310,_0x9246c8,_0x27d092,_0x5bb63b){return _0x257320(_0xbfa310-0x10a,_0x9246c8-0x66,_0x27d092- -0x462,_0x9246c8);}function _0x1e2f5e(_0x4d6e21,_0xcee53a,_0xdf1cc6,_0x32387c){return _0x257320(_0x4d6e21-_0x438d61._0x558336,_0xcee53a-_0x438d61._0x1b720d,_0xcee53a- -_0x438d61._0x1f8468,_0xdf1cc6);}if(_0x1bb8b9[_0x423563(0x203,-_0x3f6712._0x1a1b83,0xbf,_0x3f6712._0x331b7d)]===0x0)return'Load\x20a\x20skill\x20by\x20name\x20to\x20get\x20detailed\x20task\x20instructions.\x20No\x20skills\x20are\x20currently\x20available.';const _0x5a008a=['Load\x20a\x20skill\x20to\x20get\x20detailed\x20instructions\x20for\x20a\x20specific\x20task.',_0x423563(-0x255,-_0x3f6712._0x56046c,-_0x3f6712._0x36d1da,-0xb4),_0x1e2f5e(-0x150,-0x47,_0x3f6712._0x4848cf,_0x3f6712._0x556ef2),_0x423563(-0x1c1,-0x10,-_0x3f6712._0x4edcb6,_0x3f6712._0x5a5a80),..._0x1bb8b9[_0x423563(-0x1e3,-_0x3f6712._0x42cc75,-_0x3f6712._0x5e2199,-_0x3f6712._0x13f9d2)](_0x45124e=>'-\x20'+_0x45124e['name']+':\x20'+_0x45124e[_0x423563(0xa9,-0x48,-0x41,0xde)])];return _0x5a008a[_0x1e2f5e(_0x3f6712._0x4a3d78,0x17d,_0x3f6712._0x18f43e,_0x3f6712._0x42030d)]('\x0a');}function createLoadSkillTool(_0x31b20f){const _0x41f370={_0xa0e37f:0xea,_0x235196:0x7f,_0x9a2764:0xa7,_0x35504d:0x1c3,_0xdfa4da:0x16,_0x52263f:0x20b,_0x392e2c:0x126,_0xa834a4:0x5,_0x4fb5b5:0x94,_0x3205f9:0x348,_0x125bba:0x1f0,_0x5d575a:0x2c1,_0x31cf80:0x232,_0x43e774:0x68,_0x51ba6e:0x2f8},_0x23cb39={_0x3859d2:0x618,_0x366335:0x3ac,_0x2d4d57:0x4de,_0xd7d98b:0x6ea,_0x466316:0x463,_0x43b098:0x63b,_0x46a8b6:0x514,_0x129935:0x59e,_0x43bfa8:0x640,_0x1f6cc3:0x711,_0x74c137:0x724,_0x5b7484:0x6f3,_0x5a7f25:0x563,_0x4e8756:0x5ba,_0x5d7700:0x71c,_0x61518f:0x43b,_0x27fec8:0x84a,_0x326cf8:0x7f0,_0x2f905b:0x659,_0x5a2aed:0x58d,_0x41a9f5:0x64b,_0x46faf8:0x6b3,_0x3b0393:0x7c2,_0x2f5da7:0x70d,_0x515704:0x580,_0x342933:0x666,_0x54528c:0x3aa,_0x4a1780:0x40f,_0x494504:0x507,_0x53d782:0x60b,_0x5319d5:0x56c,_0x109ea2:0x50e,_0x1d9baf:0x64d,_0x900cd8:0x5c1,_0x10b6a5:0x4ad,_0x3e5e87:0x701,_0x37787b:0x70a,_0x2bea27:0x87a,_0x5aa2b3:0x303,_0x5bd247:0x55c},_0xb518d4={_0x5a65f4:0x182},_0x234681={_0x2c40e2:0x1c,_0x3cb0ad:0x2e6},_0x1f0952={_0x54ab7e:0x91},_0x3b5799=new Map(_0x31b20f[_0x4c0d41(0x25e,-0x19,_0x41f370._0xa0e37f,-_0x41f370._0x235196)][_0x2cd2fc(-0x2b9,-0x109,-_0x41f370._0x9a2764,-_0x41f370._0x35504d)](_0x911749=>[_0x911749['name'],_0x911749])),_0x475190=buildDescription2(_0x31b20f[_0x4c0d41(0x98,_0x41f370._0xdfa4da,0xea,_0x41f370._0x52263f)]);function _0x2cd2fc(_0x44b217,_0x37ed7d,_0x5a6688,_0x8f8495){return _0x3342ed(_0x44b217-0xa4,_0x44b217,_0x8f8495- -0x454,_0x8f8495-_0x1f0952._0x54ab7e);}function _0x4c0d41(_0x2d3efc,_0xef2eed,_0x23564d,_0x1b5438){return _0x257320(_0x2d3efc-_0x234681._0x2c40e2,_0xef2eed-0x122,_0x23564d- -_0x234681._0x3cb0ad,_0xef2eed);}return defineTool({'name':_0x2cd2fc(0xff,-0xb4,-_0x41f370._0x392e2c,-_0x41f370._0xa834a4),'description':_0x475190,'inputSchema':{'type':_0x2cd2fc(-_0x41f370._0x4fb5b5,-0x2c9,-_0x41f370._0x3205f9,-_0x41f370._0x125bba),'properties':{'name':{'type':_0x4c0d41(0x110,_0x41f370._0x5d575a,_0x41f370._0x31cf80,0x261)}},'required':[_0x2cd2fc(-_0x41f370._0x43e774,-0x1bf,-_0x41f370._0x51ba6e,-0x1b4)]},async *'execute'(_0x31ac72){const _0xf3c770={_0x274300:0x69,_0x417f85:0x574},_0x1cf032=_0x3b5799[_0x20972d(_0x23cb39._0x3859d2,0x473,0x4ec,_0x23cb39._0x366335)](_0x31ac72[_0x6e59e3(_0x23cb39._0x2d4d57,0x71c,_0x23cb39._0xd7d98b,0x5ba)]);if(!_0x1cf032){const _0x49f49e=Array[_0x20972d(0x6c6,0x4f7,0x557,_0x23cb39._0x466316)](_0x3b5799[_0x6e59e3(0x5f6,_0x23cb39._0x43b098,_0x23cb39._0x46a8b6,_0x23cb39._0x129935)]())[_0x6e59e3(0x7e8,_0x23cb39._0x43bfa8,0x7dd,0x750)](',\x20');throw new ToolExecutionError(_0x6e59e3(0x78e,_0x23cb39._0x1f6cc3,_0x23cb39._0x74c137,0x623)+_0x31ac72[_0x6e59e3(_0x23cb39._0x5b7484,_0x23cb39._0x5a7f25,0x5e8,_0x23cb39._0x4e8756)]+'\x27\x20not\x20found.\x20Available\x20skills:\x20'+_0x49f49e,{'name':_0x31ac72['name']});}const _0x1b6748=await _0x31b20f[_0x6e59e3(0x501,0x749,0x64f,0x61f)](_0x1cf032);function _0x6e59e3(_0x3e954e,_0x8bd2bd,_0x29240a,_0x15f8e7){return _0x4c0d41(_0x3e954e-_0xf3c770._0x274300,_0x3e954e,_0x15f8e7-_0xf3c770._0x417f85,_0x15f8e7-0x14d);}const _0x5dde39=_0x1cf032[_0x6e59e3(0x5c0,_0x23cb39._0x5d7700,0x5e1,0x658)][_0x20972d(_0x23cb39._0x61518f,0x409,0x570,0x473)]??_0x558871[_0x6e59e3(_0x23cb39._0x27fec8,0x7c1,0x7dc,_0x23cb39._0x326cf8)](_0x1cf032[_0x6e59e3(_0x23cb39._0x2f905b,0x5e7,0x711,0x658)][_0x6e59e3(_0x23cb39._0x5a2aed,0x619,_0x23cb39._0x41a9f5,_0x23cb39._0x46faf8)]),_0xab3d58=[_0x6e59e3(_0x23cb39._0x3b0393,_0x23cb39._0x2f5da7,_0x23cb39._0x515704,_0x23cb39._0x342933)+_0x1b6748[_0x20972d(0x361,_0x23cb39._0x54528c,_0x23cb39._0x4a1780,_0x23cb39._0x494504)],'',_0x1b6748['instructions'],'',_0x6e59e3(0x7d2,0x6a0,_0x23cb39._0x53d782,0x737),_0x20972d(0x43b,_0x23cb39._0x5319d5,_0x23cb39._0x109ea2,_0x23cb39._0x1d9baf)+_0x1cf032[_0x20972d(0x4e1,_0x23cb39._0x900cd8,_0x23cb39._0x10b6a5,0x4e9)][_0x6e59e3(_0x23cb39._0x3e5e87,0x699,_0x23cb39._0x37787b,0x6b3)],'Base\x20directory:\x20'+_0x5dde39][_0x6e59e3(_0x23cb39._0x2bea27,0x639,0x67d,0x750)]('\x0a');yield createToolOutput(_0xab3d58,{'id':_0x1b6748['id'],'name':_0x1b6748[_0x20972d(_0x23cb39._0x5aa2b3,0x519,0x40f,_0x23cb39._0x5bd247)],'path':_0x1cf032['source']['path'],'baseDirectory':_0x5dde39});function _0x20972d(_0x3fe179,_0x2895ff,_0x3032b3,_0x430917){return _0x4c0d41(_0x3fe179-_0xb518d4._0x5a65f4,_0x3fe179,_0x3032b3-0x3c9,_0x430917-0x15c);}return void 0x0;}});}var TODO_STATUSES=new Set([_0x3342ed(0x50c,0x4ef,0x3cc,0x25f),_0x257320(0x4ee,0x32a,0x401,0x444),_0x257320(0x4ec,0x4a5,0x3df,0x4b3)]),TODO_PRIORITIES=new Set([_0x3342ed(0x41b,0x266,0x37a,0x443),_0x257320(0x403,0x1e1,0x326,0x336),_0x3342ed(0x634,0x580,0x4c1,0x5bc)]);function isTodoStatus(_0x114061){const _0x24ec01={_0x4c2051:0x2ca,_0x430f2a:0x402,_0x35c291:0x428,_0x1a3ea1:0x58e,_0x1765d6:0x399},_0x256993={_0x385405:0x1c2};function _0x135943(_0x2539d6,_0x33ad46,_0xfcea13,_0x2a3eb6){return _0x257320(_0x2539d6-0x1ad,_0x33ad46-0x12e,_0xfcea13-0x118,_0x2539d6);}function _0x5e7ba0(_0x1d3860,_0x4e2fac,_0x56f4c1,_0x522880){return _0x3342ed(_0x1d3860-0x13f,_0x56f4c1,_0x4e2fac- -_0x256993._0x385405,_0x522880-0x47);}return typeof _0x114061===_0x5e7ba0(0x231,_0x24ec01._0x4c2051,_0x24ec01._0x430f2a,0x191)&&TODO_STATUSES[_0x135943(_0x24ec01._0x35c291,_0x24ec01._0x1a3ea1,0x50a,_0x24ec01._0x1765d6)](_0x114061);}function isTodoPriority(_0x4bca48){return typeof _0x4bca48==='string'&&TODO_PRIORITIES['has'](_0x4bca48);}var TodoStore=class{['todosBySession']=new Map();[_0x257320(0x46f,0x586,0x4a8,0x4fc)](_0xaa640d){const _0x15a77e={_0x2008bf:0x194,_0x4302e7:0x217};function _0x1b7ad6(_0x577268,_0x59bb6c,_0x482377,_0x57af3f){return _0x257320(_0x577268-0x197,_0x59bb6c-_0x15a77e._0x2008bf,_0x482377- -_0x15a77e._0x4302e7,_0x577268);}return this['todosBySession'][_0x1b7ad6(0x112,0x254,0x1f2,0x1f5)](_0xaa640d)??[];}[_0x257320(0x38b,0x4ed,0x433,0x344)](_0x593ce1,_0x435397){const _0x1f79c7={_0x2214b0:0x12e,_0x1135c4:0x8f,_0x4a69e1:0x8e,_0x5eb458:0x131},_0x1adbff={_0x514086:0x1b9,_0x3cb575:0x23d},_0x56ec37={_0x487062:0x1a4};function _0x298d46(_0x28562c,_0x58d8c1,_0x505377,_0x1c1eb3){return _0x3342ed(_0x28562c-_0x56ec37._0x487062,_0x1c1eb3,_0x505377- -0x352,_0x1c1eb3-0x15a);}function _0x20bf06(_0x247da5,_0x48c85f,_0x1f9fa5,_0x3e4c41){return _0x257320(_0x247da5-_0x1adbff._0x514086,_0x48c85f-0x50,_0x3e4c41- -_0x1adbff._0x3cb575,_0x247da5);}this[_0x20bf06(_0x1f79c7._0x2214b0,_0x1f79c7._0x1135c4,0x139,0x116)][_0x298d46(-0xfb,-_0x1f79c7._0x4a69e1,-_0x1f79c7._0x5eb458,-0x13a)](_0x593ce1,_0x435397);}[_0x3342ed(0x34c,0x392,0x238,0x390)](_0x39617c){const _0x111624={_0x1d762c:0xeb,_0x1d9f11:0x124,_0x3d0f67:0x117,_0x264727:0x204,_0x244708:0xdf,_0x106202:0x181,_0x29200b:0x3d,_0x5a22ad:0x105,_0x5c9686:0x4a,_0x44a506:0x85,_0x4053e5:0x13d,_0x48e170:0xb6},_0x47f7ce={_0x17f15b:0x6},_0x37e09a={_0x50b286:0x1c3},_0x257321=this[_0x86f67a(_0x111624._0x1d762c,_0x111624._0x1d9f11,0x13,-0x51)](_0x39617c);function _0x2b265f(_0x219933,_0x34017b,_0x6c2bb6,_0x783eff){return _0x3342ed(_0x219933-_0x37e09a._0x50b286,_0x219933,_0x6c2bb6- -0x2d1,_0x783eff-0xed);}function _0x86f67a(_0x4a7ff7,_0x4a78ea,_0x49b996,_0x1e650){return _0x257320(_0x4a7ff7-0x15,_0x4a78ea-_0x47f7ce._0x17f15b,_0x49b996- -0x495,_0x1e650);}const _0x507961={'total':_0x257321['length'],'pending':0x0,'inProgress':0x0,'completed':0x0};for(const _0x34f0c5 of _0x257321){if(_0x34f0c5[_0x86f67a(-_0x111624._0x3d0f67,-_0x111624._0x264727,-0x105,-0x215)]==='pending')_0x507961[_0x86f67a(-_0x111624._0x244708,-_0x111624._0x106202,-_0x111624._0x29200b,-0x7c)]+=0x1;else{if(_0x34f0c5[_0x86f67a(-0x209,-0xc3,-_0x111624._0x5a22ad,-0x1d9)]===_0x86f67a(_0x111624._0x5c9686,-_0x111624._0x44a506,-0x94,-0x52))_0x507961['inProgress']+=0x1;else _0x507961[_0x86f67a(-0x6e,-_0x111624._0x4053e5,-_0x111624._0x48e170,0x7c)]+=0x1;}}return _0x507961;}};function validateTodos(_0x385e53){const _0x173561={_0x2713d5:0x4b9,_0x239d41:0x4ee,_0x167c55:0x614,_0x2b8221:0x739,_0x3c0d75:0x71d,_0x468547:0x3d8,_0x2eec79:0x412,_0x1b8da2:0x35f,_0x466773:0x2b3,_0x1ba374:0x5c0,_0x23f596:0x64a,_0x52cdfd:0x570,_0x5315b0:0x1e6,_0xad58cc:0x705,_0x56d7c9:0x68c,_0x1ab917:0x62e,_0x28c501:0x707,_0x2c37b8:0x4df,_0x41b743:0x5b7,_0x49ee9b:0x535,_0x57c583:0x528,_0x10a133:0x4c9,_0x85ec2e:0x63e,_0x4c3862:0x83e,_0x5f02ac:0x372,_0x2b926c:0x3b3,_0xb3bf0a:0x4ba,_0x3680a7:0x4d6,_0x3ed2d2:0x667,_0xbbd5f0:0x641,_0x56690d:0x5f6,_0x10a0b1:0x54d,_0x23fcf8:0x51d,_0x1f210a:0x505,_0x51dae4:0x6c5,_0x383d15:0x41f,_0x53165c:0x417,_0x20e62d:0x32f,_0x5e46d9:0x41d,_0x2ed338:0x56b,_0x2d35b9:0x49e,_0x3a32c2:0x482,_0x2bacbf:0x562,_0xd62ebd:0x372,_0xa79889:0x2f3,_0xd2320b:0x322,_0x2d2048:0x560,_0x22778a:0x4d1,_0x322618:0x61c,_0x17369c:0x517,_0x363b28:0x412,_0x5ed057:0x493,_0x128f42:0x3ef,_0xe71c37:0x24d,_0x24dd7d:0x5e1,_0xbb3e7:0x72d,_0x57295f:0x791,_0x2c4be0:0x6d1,_0x49a9cb:0x557,_0x305ac4:0x4e2},_0x3d24fe={_0x2565fb:0x87,_0x28f537:0xf1},_0x27dc44={_0x47d4c9:0x34};if(!Array['isArray'](_0x385e53[_0x26464d(_0x173561._0x2713d5,_0x173561._0x239d41,0x3cd,_0x173561._0x167c55)])||_0x385e53['todos'][_0x26464d(_0x173561._0x2b8221,0x74f,0x83b,_0x173561._0x3c0d75)]===0x0)throw new ToolExecutionError(_0x573d18(_0x173561._0x468547,0x293,0x320,_0x173561._0x2eec79),{'error':'invalid_todos'});function _0x573d18(_0x1f5351,_0x3ed124,_0x49c279,_0x49454e){return _0x3342ed(_0x1f5351-0x25,_0x49454e,_0x1f5351-0x12b,_0x49454e-_0x27dc44._0x47d4c9);}for(let _0x47567c=0x0;_0x47567c<_0x385e53[_0x573d18(_0x173561._0x1b8da2,0x391,0x340,_0x173561._0x466773)][_0x573d18(_0x173561._0x1ba374,_0x173561._0x23f596,0x50e,_0x173561._0x52cdfd)];_0x47567c+=0x1){const _0x2f6018=_0x385e53[_0x573d18(_0x173561._0x1b8da2,0x496,0x410,_0x173561._0x5315b0)][_0x47567c];if(!_0x2f6018||typeof _0x2f6018!=='object')throw new ToolExecutionError('Todo\x20'+(_0x47567c+0x1)+_0x26464d(0x7bb,_0x173561._0xad58cc,_0x173561._0x56d7c9,0x76d),{'error':_0x573d18(_0x173561._0x1ab917,_0x173561._0x28c501,_0x173561._0x2c37b8,0x558)});if(typeof _0x2f6018['id']!==_0x573d18(_0x173561._0x41b743,0x492,_0x173561._0x49ee9b,_0x173561._0x57c583)||_0x2f6018['id'][_0x26464d(_0x173561._0x10a133,0x4f1,0x609,_0x173561._0x85ec2e)]()[_0x26464d(0x858,0x74f,_0x173561._0x4c3862,0x7ed)]===0x0)throw new ToolExecutionError(_0x573d18(_0x173561._0x5f02ac,_0x173561._0x2b926c,_0x173561._0xb3bf0a,0x221)+(_0x47567c+0x1)+_0x26464d(_0x173561._0x3680a7,0x649,0x685,_0x173561._0x3ed2d2),{'error':_0x26464d(_0x173561._0xbbd5f0,_0x173561._0x56690d,0x743,_0x173561._0x10a0b1)});if(typeof _0x2f6018[_0x573d18(0x59c,_0x173561._0x23fcf8,0x566,_0x173561._0x1f210a)]!==_0x573d18(_0x173561._0x41b743,0x5c5,0x5fb,0x493)||_0x2f6018['content']['trim']()[_0x26464d(_0x173561._0x51dae4,0x74f,0x6b6,0x667)]===0x0)throw new ToolExecutionError(_0x26464d(0x60f,0x501,_0x173561._0x383d15,0x3ef)+(_0x47567c+0x1)+_0x573d18(_0x173561._0x53165c,0x4e5,0x2c2,_0x173561._0x20e62d),{'error':_0x573d18(0x3fa,0x468,_0x173561._0x5e46d9,0x375)});if(!isTodoStatus(_0x2f6018[_0x26464d(0x448,0x5be,_0x173561._0x2ed338,_0x173561._0x2d35b9)]))throw new ToolExecutionError(_0x573d18(_0x173561._0x5f02ac,0x256,0x434,_0x173561._0x3a32c2)+(_0x47567c+0x1)+':\x20invalid\x20status',{'error':_0x26464d(0x5a0,0x674,_0x173561._0x2bacbf,0x61a)});if(!isTodoPriority(_0x2f6018[_0x573d18(0x444,0x328,0x30c,0x343)]))throw new ToolExecutionError(_0x573d18(_0x173561._0xd62ebd,0x245,_0x173561._0xa79889,_0x173561._0xd2320b)+(_0x47567c+0x1)+_0x573d18(_0x173561._0x2d2048,_0x173561._0x22778a,0x56a,0x5cd),{'error':_0x26464d(_0x173561._0x322618,_0x173561._0x17369c,_0x173561._0x363b28,_0x173561._0x5ed057)});}function _0x26464d(_0x2d4078,_0x4a6999,_0x236c09,_0x320877){return _0x257320(_0x2d4078-_0x3d24fe._0x2565fb,_0x4a6999-_0x3d24fe._0x28f537,_0x4a6999-0x22e,_0x236c09);}const _0x4c8dee=_0x385e53[_0x573d18(_0x173561._0x1b8da2,0x3e8,_0x173561._0x128f42,_0x173561._0xe71c37)][_0x26464d(0x584,0x54b,_0x173561._0x24dd7d,0x4f8)](_0x13d53d=>_0x13d53d['id']);if(new Set(_0x4c8dee)[_0x26464d(0x78d,_0x173561._0xbb3e7,_0x173561._0x57295f,_0x173561._0x2c4be0)]!==_0x4c8dee['length'])throw new ToolExecutionError(_0x26464d(0x655,_0x173561._0x49a9cb,_0x173561._0x305ac4,0x612),{'error':'duplicate_todo_ids'});}function createStatsProgress(_0x51046e){const _0x563570={_0x17b968:0x1e1,_0x373cbc:0x494,_0x4a8ba1:0x3f0,_0x508e76:0x3c6,_0x50f03b:0x343,_0x343418:0x45a},_0x1d36a7={_0xf0b19f:0x5e},_0x1b8da7={_0x29a626:0x1a,_0x538387:0x162};function _0x3073e5(_0x329d28,_0x35510d,_0x361f0,_0x238afd){return _0x257320(_0x329d28-0xe0,_0x35510d-_0x1b8da7._0x29a626,_0x329d28-_0x1b8da7._0x538387,_0x238afd);}function _0x5f12f7(_0xeb064a,_0x5537c3,_0x2d4c20,_0x3646a6){return _0x3342ed(_0xeb064a-0x1ac,_0x5537c3,_0x2d4c20-0x73,_0x3646a6-_0x1d36a7._0xf0b19f);}return _0x51046e[_0x5f12f7(0x2a6,_0x563570._0x17b968,0x343,_0x563570._0x373cbc)]>0x0?Math['round'](_0x51046e[_0x5f12f7(0x292,_0x563570._0x4a8ba1,_0x563570._0x508e76,0x3da)]/_0x51046e[_0x5f12f7(0x1df,0x47e,_0x563570._0x50f03b,_0x563570._0x343418)]*0x64)+'%':'0%';}function createReminderItems(_0x3be10c){const _0x492acb={_0x3ccefb:0x3},_0x4d759e={_0x280982:0x11,_0x40171f:0x1be};function _0x5d799e(_0x4a3ad9,_0xb5f847,_0x36379a,_0x1981bd){return _0x257320(_0x4a3ad9-_0x4d759e._0x280982,_0xb5f847-0x13c,_0x36379a- -_0x4d759e._0x40171f,_0xb5f847);}function _0x3864dc(_0x166078,_0x5aeb0d,_0x1a37cf,_0x2854f4){return _0x257320(_0x166078-0x83,_0x5aeb0d-_0x492acb._0x3ccefb,_0x166078- -0x37c,_0x5aeb0d);}return _0x3be10c['map'](_0x5d0430=>({'content':_0x5d0430[_0x5d799e(0x3f3,0x1f3,0x33f,0x233)],'status':_0x5d0430[_0x3864dc(0x14,-0x133,0x18,0x113)],'id':_0x5d0430['id']}));}function createStructuredResult(_0xc749e,_0x1a3994,_0x1d2856,_0x226f4d){const _0x20a54e={_0x1ca1ad:0x2e7,_0x1e0760:0x395,_0x5808be:0x646,_0x3a6026:0x4eb,_0x140a18:0x564},_0x2235c5={_0x26c15a:0x2c4},_0x39a266={_0x4722a8:0x56};function _0x38fd39(_0x3ca0ab,_0x3a5089,_0x1939c8,_0x28160c){return _0x3342ed(_0x3ca0ab-0x37,_0x28160c,_0x3a5089-_0x39a266._0x4722a8,_0x28160c-0x1);}function _0x22f9a0(_0x298c51,_0x35784a,_0x34ddb5,_0x1dbf92){return _0x3342ed(_0x298c51-0x102,_0x35784a,_0x1dbf92-_0x2235c5._0x26c15a,_0x1dbf92-0x82);}return{'allCompleted':_0x226f4d,'items':_0x1a3994[_0x38fd39(0x1ae,_0x20a54e._0x1ca1ad,0x350,_0x20a54e._0x1e0760)](_0x5d0e26=>({'id':_0x5d0e26['id'],'content':_0x5d0e26['content'],'status':_0x5d0e26[_0x38fd39(0x330,0x35a,0x252,0x329)],'priority':_0x5d0e26[_0x38fd39(0x366,0x36f,0x2d7,0x37b)],'createdAt':_0x5d0e26['createdAt']})),'progress':createStatsProgress(_0x1d2856),'recentChanges':!![],'sessionId':_0xc749e,'stats':_0x1d2856,'todosWritten':_0x1a3994[_0x38fd39(_0x20a54e._0x5808be,_0x20a54e._0x3a6026,_0x20a54e._0x140a18,0x599)]};}function createOutputText(_0x39e48c,_0x4702ab){const _0x45bd70={_0x56d440:0x24f,_0x4e8fd6:0xd0,_0x3b0980:0x115,_0x3ae949:0xe,_0x3ec6fa:0x2c5,_0x151e7e:0x33c,_0x3406c4:0x1ca,_0x34e052:0xe7,_0x4fa870:0x59,_0x4673d7:0xaa,_0xb0989c:0x223},_0x4dd26e={_0x1d4910:0x326},_0x5b9f99=JSON[_0x576b24(0xa9,0x12c,0xd9,_0x45bd70._0x56d440)](createReminderItems(_0x39e48c));function _0x576b24(_0x32af8e,_0x24965d,_0x461995,_0x56d877){return _0x257320(_0x32af8e-0x1e0,_0x24965d-0x12a,_0x461995- -_0x4dd26e._0x1d4910,_0x32af8e);}if(_0x4702ab)return _0x576b24(-_0x45bd70._0x4e8fd6,_0x45bd70._0x3b0980,-_0x45bd70._0x3ae949,-0x180)+_0x39e48c[_0x5bc631(0x1d0,_0x45bd70._0x3ec6fa,0x372,0x2b5)]+_0x5bc631(0x16d,0x1c8,_0x45bd70._0x151e7e,_0x45bd70._0x3406c4)+_0x5b9f99+_0x576b24(_0x45bd70._0x34e052,-0x77,-_0x45bd70._0x4fa870,_0x45bd70._0x4673d7);function _0x5bc631(_0x2b5c33,_0x5bd0ca,_0x76e127,_0x19decc){return _0x3342ed(_0x2b5c33-0x8e,_0x5bd0ca,_0x19decc- -0x1e0,_0x19decc-0x166);}return _0x576b24(0xdf,0x145,_0x45bd70._0xb0989c,0x391)+_0x5b9f99+'.\x0a</system-reminder>';}function createTodoWriteTool(_0x502e81=new TodoStore()){const _0xa7c212={_0x4d0d24:0x342,_0x2ee872:0x43f,_0x5b4f5a:0x3f3,_0x224307:0x337,_0x4f0d95:0x4d0,_0xdc5edf:0x47d,_0x3cef08:0x8cf,_0x1b4dbc:0x75e,_0x2b1b40:0x631,_0x50b413:0x70b,_0x11363a:0x869,_0x5dc3a7:0x747,_0x562dd2:0x6f9,_0x118f15:0x5d6,_0xccc3c0:0xf4,_0x2c290d:0x8b,_0x3933fe:0xfe,_0x11c7c8:0x9d,_0x3e6f27:0xad},_0x525dc8={_0x47afd2:0x39b,_0x42669e:0x3c9,_0x4ab926:0x360,_0x4180b5:0x59f,_0x5c17f4:0x654,_0x3fde0b:0x102,_0x6aa88f:0x37e,_0x2fb54f:0x327,_0xa16e70:0x24e,_0x244b64:0x4f1,_0x38458b:0x50c,_0x1117bb:0x591,_0x283e5d:0x10b,_0x3f1df7:0x4fe,_0x26d446:0x50b,_0x3b6780:0x526},_0x3df715={_0x42d2fd:0x31b},_0x5c9aaf={_0x36f0cb:0x84,_0x1181dd:0x187};function _0x47a34e(_0x42b957,_0x5c2356,_0xfea24f,_0x54cb2c){return _0x3342ed(_0x42b957-0x5e,_0x42b957,_0x54cb2c-0x2d2,_0x54cb2c-0xfa);}function _0x356985(_0x53aad5,_0x263f7a,_0x2290fa,_0x4486ae){return _0x3342ed(_0x53aad5-_0x5c9aaf._0x36f0cb,_0x53aad5,_0x2290fa- -_0x5c9aaf._0x1181dd,_0x4486ae-0x6a);}return defineTool({'name':_0x356985(0x29b,_0xa7c212._0x4d0d24,0x2a2,0x34f),'description':_0x356985(_0xa7c212._0x2ee872,_0xa7c212._0x5b4f5a,_0xa7c212._0x224307,0x38b),'inputSchema':{'type':'object','properties':{'todos':{'type':'array','items':{'type':_0x47a34e(_0xa7c212._0x4f0d95,0x3e5,_0xa7c212._0xdc5edf,0x536),'properties':{'content':{'type':_0x47a34e(0x795,0x795,_0xa7c212._0x3cef08,_0xa7c212._0x1b4dbc)},'status':{'type':'string'},'priority':{'type':_0x47a34e(_0xa7c212._0x2b1b40,0x7f9,_0xa7c212._0x50b413,0x75e)},'id':{'type':'string'},'createdAt':{'type':'string'}},'required':[_0x47a34e(0x80e,_0xa7c212._0x11363a,0x76a,0x743),_0x47a34e(_0xa7c212._0x5dc3a7,_0xa7c212._0x562dd2,0x55b,_0xa7c212._0x118f15),_0x356985(0x2b7,_0xa7c212._0xccc3c0,0x192,_0xa7c212._0x2c290d),'id']}}},'required':[_0x356985(_0xa7c212._0x3933fe,-_0xa7c212._0x11c7c8,_0xa7c212._0x3e6f27,0x16f)]},async *'execute'(_0x5578ec,_0x15712a){const _0x288fd6={_0xad1a9a:0x7b,_0xe7f6d7:0xc0};function _0x334439(_0x5f0cf6,_0x36846a,_0x424e1e,_0x4096e6){return _0x356985(_0x4096e6,_0x36846a-0x85,_0x36846a- -_0x3df715._0x42d2fd,_0x4096e6-0x177);}function _0x2f8067(_0x14fb43,_0x5d5db4,_0x2c3a98,_0x2e3287){return _0x47a34e(_0x5d5db4,_0x5d5db4-_0x288fd6._0xad1a9a,_0x2c3a98-_0x288fd6._0xe7f6d7,_0x14fb43- -0x188);}const _0x599c75=_0x5578ec;validateTodos(_0x599c75);const _0x5470c1=_0x15712a[_0x2f8067(_0x525dc8._0x47afd2,_0x525dc8._0x42669e,_0x525dc8._0x4ab926,0x341)]||_0x2f8067(_0x525dc8._0x4180b5,0x475,_0x525dc8._0x5c17f4,0x6b9),_0x2cab01=new Date()[_0x334439(-0x67,-_0x525dc8._0x3fde0b,-0x97,-0x17d)](),_0x204562=_0x599c75[_0x2f8067(_0x525dc8._0x6aa88f,_0x525dc8._0x2fb54f,_0x525dc8._0xa16e70,0x2f4)]['map'](_0x1d53c1=>({'id':_0x1d53c1['id'],'content':_0x1d53c1[_0x2f8067(0x5bb,0x556,0x4b1,0x728)],'status':_0x1d53c1['status'],'priority':_0x1d53c1['priority'],'sessionId':_0x5470c1,'createdAt':_0x1d53c1['createdAt']||_0x2cab01,'updatedAt':_0x2cab01}));_0x502e81[_0x2f8067(_0x525dc8._0x244b64,_0x525dc8._0x38458b,_0x525dc8._0x1117bb,0x594)](_0x5470c1,_0x204562);const _0x5b35b2=_0x502e81[_0x334439(-0x2c1,-0x26a,-0x358,-_0x525dc8._0x283e5d)](_0x5470c1),_0x4b1d02=_0x204562['length']>0x0&&_0x204562[_0x2f8067(_0x525dc8._0x3f1df7,_0x525dc8._0x26d446,0x446,_0x525dc8._0x3b6780)](_0x48338f=>_0x48338f[_0x2f8067(0x44e,0x521,0x5c4,0x3d7)]===_0x2f8067(0x49d,0x615,0x532,0x60d));return createToolOutput(createOutputText(_0x204562,_0x4b1d02),createStructuredResult(_0x5470c1,_0x204562,_0x5b35b2,_0x4b1d02));}});}import{mkdir as _0x5c1398,writeFile as _0xab4737}from'fs/promises';import*as _0xa4fdd2 from'path';function sanitizeFileName(_0x1e6333){return _0x1e6333['replace'](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x2f59a8,_0x72cefb){const _0x52f1d1={_0x1ea881:0x23,_0x58ab22:0xb,_0x416b99:0x8a,_0x10aaf0:0x10e,_0x4d409b:0x28a,_0x4f7db8:0x2a2,_0x14650b:0x63,_0x49aa37:0x139,_0x13d291:0x17,_0x2a8a69:0xcc,_0x44ec14:0x94,_0x1c7ead:0x109,_0x37f45c:0x48,_0x27a442:0x101,_0x289be4:0x335,_0x2b9b73:0x2b9,_0x4c8273:0x1bf,_0x431c15:0x107,_0x9f9c63:0x128,_0x47895e:0x144,_0x5d643b:0x170,_0x6839f7:0x173,_0x42abca:0x72,_0x1f7028:0x92,_0x45c480:0x8d,_0x16a65f:0x8a,_0x2eef13:0x32,_0x48b2b6:0x2c,_0x24381c:0x10,_0x2110ba:0xc6,_0xea1a8d:0x32,_0x20703c:0x22f,_0x42a44a:0x126,_0x39fdc5:0x109,_0x5c2af6:0x20,_0x1f536f:0xb3,_0x598b64:0x73,_0x45e20c:0x3a,_0x3fd4c4:0x345,_0x426119:0x275,_0x542ae1:0x342,_0x17ec97:0x15f,_0x57505a:0xb2,_0x5760f8:0xa5,_0x539862:0x2,_0x2bd85e:0x1b6,_0xd777b1:0xa5,_0xb67f37:0x19f,_0x2ce09b:0xf9,_0x3d5652:0x24c,_0x31e76e:0x361,_0x53b156:0x31f,_0x5a98dd:0x112,_0x5383d8:0x245,_0x3ecdf5:0xe4,_0x46efcb:0x1f,_0x5200ab:0xf2,_0x2da865:0x3d,_0x345154:0xbf,_0x1a3add:0x70},_0x3b52ad={_0x15290b:0x24e},_0x4b6e50={_0x4a4408:0x1d1,_0x12efbc:0x37f},{maxBytes:_0xbbeac5,sessionDir:_0x5d6115}=_0x72cefb;function _0x4b254b(_0x1b1191,_0x144270,_0x53f7ad,_0x405649){return _0x3342ed(_0x1b1191-_0x4b6e50._0x4a4408,_0x144270,_0x53f7ad- -_0x4b6e50._0x12efbc,_0x405649-0x1e4);}if(!_0x2f59a8[_0x186150(-_0x52f1d1._0x1ea881,_0x52f1d1._0x58ab22,0x9b,_0x52f1d1._0x416b99)]||Buffer[_0x186150(0x6c,-0x38,-0x185,_0x52f1d1._0x10aaf0)](_0x2f59a8[_0x4b254b(-0xaf,-0x253,-0x126,-0x242)],_0x186150(0x10f,0x26a,0x1ac,_0x52f1d1._0x4d409b))<=_0xbbeac5)return _0x2f59a8;function _0x186150(_0xe31233,_0x1976ab,_0x3630ea,_0x17e895){return _0x3342ed(_0xe31233-0x51,_0x17e895,_0x1976ab- -_0x3b52ad._0x15290b,_0x17e895-0x1a4);}const _0x56d1e7=Buffer['byteLength'](_0x2f59a8['output'],_0x4b254b(_0x52f1d1._0x4f7db8,_0x52f1d1._0x14650b,_0x52f1d1._0x49aa37,-_0x52f1d1._0x13d291));if(!_0x5d6115){const _0x157d69=_0x2f59a8['output'][_0x4b254b(_0x52f1d1._0x2a8a69,_0x52f1d1._0x44ec14,_0x52f1d1._0x1c7ead,0x223)](0x0,_0xbbeac5);return{..._0x2f59a8,'output':_0x157d69+(_0x4b254b(0xf3,_0x52f1d1._0x37f45c,0x14d,_0x52f1d1._0x27a442)+_0xbbeac5+_0x186150(_0x52f1d1._0x289be4,0x2ad,_0x52f1d1._0x2b9b73,_0x52f1d1._0x4c8273)+_0x56d1e7+_0x4b254b(-_0x52f1d1._0x431c15,-_0x52f1d1._0x9f9c63,0x15,_0x52f1d1._0x47895e)),'meta':{..._0x2f59a8['meta'],'truncated':!![],'originalBytes':_0x56d1e7,'transforms':[..._0x2f59a8[_0x4b254b(-_0x52f1d1._0x5d643b,-_0x52f1d1._0x6839f7,-0x112,-_0x52f1d1._0x42abca)][_0x186150(-0xe3,_0x52f1d1._0x1f7028,-_0x52f1d1._0x45c480,0x1d)],_0x186150(-0x9e,_0x52f1d1._0x16a65f,0x1e0,_0x52f1d1._0x2eef13)]}};}const _0x84828b=_0x2f59a8[_0x186150(-_0x52f1d1._0x48b2b6,0x124,_0x52f1d1._0x24381c,-0x50)]+'_'+sanitizeFileName(_0x2f59a8['callId'])+'.log',_0x15ee99=_0xa4fdd2['join'](_0x5d6115,_0x84828b);await _0x5c1398(_0x5d6115,{'recursive':!![]}),await _0xab4737(_0x15ee99,_0x2f59a8[_0x4b254b(-0x68,-_0x52f1d1._0x2110ba,-0x126,_0x52f1d1._0xea1a8d)],'utf8');let _0x51ef86=_0x2f59a8[_0x4b254b(-0x15,-_0x52f1d1._0x20703c,-_0x52f1d1._0x42a44a,-0x98)][_0x4b254b(0x1c2,0xc0,_0x52f1d1._0x39fdc5,0x93)](0x0,_0xbbeac5);const _0x8d1b79=_0x51ef86[_0x186150(-0x160,-_0x52f1d1._0x5c2af6,0x12b,_0x52f1d1._0x1f536f)]('\x0a');_0x8d1b79>_0xbbeac5*0.5&&(_0x51ef86=_0x51ef86[_0x4b254b(_0x52f1d1._0x598b64,_0x52f1d1._0x45e20c,0x109,0x1a)](0x0,_0x8d1b79));const _0x5de94b=['',_0x186150(_0x52f1d1._0x3fd4c4,_0x52f1d1._0x426119,_0x52f1d1._0x542ae1,0x321),_0x4b254b(-_0x52f1d1._0x17ec97,-_0x52f1d1._0x57505a,-0x146,-0x17)+_0xbbeac5+_0x4b254b(_0x52f1d1._0x5760f8,-0xe,-0x92,-_0x52f1d1._0x539862)+_0x56d1e7+'\x20bytes).',_0x4b254b(-0x87,-_0x52f1d1._0x2bd85e,-0x106,-_0x52f1d1._0xd777b1)+_0x15ee99,'Use\x20FileRead\x20with\x20lineStart/lineEnd\x20to\x20inspect\x20specific\x20sections\x20of\x20the\x20full\x20output.',_0x4b254b(-_0x52f1d1._0xb67f37,-0x5e,-_0x52f1d1._0x2ce09b,-0xb6)][_0x186150(_0x52f1d1._0x3d5652,0x1e8,_0x52f1d1._0x31e76e,_0x52f1d1._0x53b156)]('\x0a');return{..._0x2f59a8,'output':_0x51ef86+_0x5de94b,'meta':{..._0x2f59a8[_0x4b254b(0x10,0x5b,-_0x52f1d1._0x5a98dd,-_0x52f1d1._0x5383d8)],'truncated':!![],'originalBytes':_0x56d1e7,'transforms':[..._0x2f59a8[_0x186150(-_0x52f1d1._0x3ecdf5,_0x52f1d1._0x46efcb,-0xc3,-_0x52f1d1._0x5200ab)][_0x186150(_0x52f1d1._0x2da865,0x92,-0x33,0x1bb)],_0x4b254b(_0x52f1d1._0x345154,-0x12c,-0xa7,-_0x52f1d1._0x1a3add)]}};}function createUpdateTopicTool(){const _0x58de35={_0x54d9a8:0x1f4,_0x58ce9f:0x8e,_0x2c59e3:0xdb,_0x89ef7c:0x2a8,_0x2c63dc:0x39d,_0x470594:0x393,_0x49e0b5:0x48f,_0x5f2b71:0x4d0,_0x19c596:0x471,_0x2070c6:0x37f,_0x3eb088:0x21c,_0x164b9a:0x49b},_0x3e5c34={_0x47951e:0x736,_0x4111b2:0x685,_0x58be14:0x649,_0x976f39:0x43a,_0x166be8:0x2c4,_0x1c13fb:0x5b4,_0xd58b24:0x6de},_0x58ae43={_0x4dfc3b:0x1d1,_0x66000b:0xf8},_0x59a7f9={_0x33da61:0x11e};function _0x2ac2f8(_0x588c31,_0x18cb32,_0x1d3ce0,_0x428862){return _0x3342ed(_0x588c31-0xdd,_0x428862,_0x1d3ce0- -0x36a,_0x428862-_0x59a7f9._0x33da61);}function _0x14e6a4(_0x4d1439,_0x357337,_0x25e488,_0x58b200){return _0x257320(_0x4d1439-_0x58ae43._0x4dfc3b,_0x357337-_0x58ae43._0x66000b,_0x357337- -0x48,_0x25e488);}return defineTool({'name':'updateTopic','description':_0x2ac2f8(_0x58de35._0x54d9a8,0x9a,_0x58de35._0x58ce9f,_0x58de35._0x2c59e3),'inputSchema':{'type':_0x14e6a4(0x2b7,_0x58de35._0x89ef7c,_0x58de35._0x2c63dc,_0x58de35._0x470594),'properties':{'topic':{'type':_0x14e6a4(_0x58de35._0x49e0b5,_0x58de35._0x5f2b71,0x3f3,_0x58de35._0x19c596)}},'required':[_0x14e6a4(0x475,_0x58de35._0x2070c6,_0x58de35._0x3eb088,_0x58de35._0x164b9a)]},async *'execute'(_0xbf3293,_0x4a34e0){const _0x1f2063={_0x342fc2:0xde},_0x16cffa={_0x37d6c1:0x1af,_0x96e29f:0x87},{topic:_0x3f2d28}=_0xbf3293;if(typeof _0x3f2d28!==_0x5c3e07(0x68f,0x7c9,0x6ef,_0x3e5c34._0x47951e)||_0x3f2d28[_0x5c3e07(0x43a,0x455,0x32e,0x31d)]()[_0x199dd4(0x18f,-0xd,0xa4,0x140)]===0x0)throw new ToolExecutionError(_0x5c3e07(_0x3e5c34._0x4111b2,0x6f4,0x757,_0x3e5c34._0x58be14),{'error':'invalid_topic'});const _0x40f524=_0x3f2d28[_0x5c3e07(_0x3e5c34._0x976f39,_0x3e5c34._0x166be8,0x47b,0x2f3)]();function _0x199dd4(_0x399493,_0x26a2a9,_0x39e0f3,_0x5974fb){return _0x2ac2f8(_0x399493-0x40,_0x26a2a9-_0x16cffa._0x37d6c1,_0x39e0f3- -_0x16cffa._0x96e29f,_0x26a2a9);}_0x4a34e0['setTopic']?.(_0x40f524),yield createToolOutput(_0x5c3e07(_0x3e5c34._0x1c13fb,0x49e,_0x3e5c34._0xd58b24,0x505)+_0x40f524+'\x22',{'topic':_0x40f524});function _0x5c3e07(_0x440c75,_0x5886a1,_0x2ecddb,_0x14ec39){return _0x14e6a4(_0x440c75-_0x1f2063._0x342fc2,_0x440c75-0x1bf,_0x5886a1,_0x14ec39-0x1de);}return void 0x0;}});}import{readFile as _0x3cc086,stat as _0x4f5e4c}from'fs/promises';import*as _0x2ad153 from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x257320(0x4df,0x52d,0x410,0x4e7),_0x257320(0x431,0x392,0x406,0x436),_0x257320(0x44f,0x59b,0x54d,0x405),'original']),PNG_SIGNATURE=Buffer['from']([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x351438,_0x9294ac){const _0x2f79b1={_0x419e4e:0x545,_0x2bd9f6:0x450,_0x22ad43:0x593,_0x43909b:0x5d0,_0x2279e:0x55f,_0x1117f0:0x58d,_0x55889e:0x55a,_0x1f3679:0x536,_0x3d948f:0x5f2,_0x260d53:0x398,_0x1619f4:0x3a9,_0xdeae38:0x560,_0x3d84ad:0x4ac,_0x1ef728:0x548,_0x310078:0x480,_0x21467e:0x61f,_0x88ae8:0x587,_0x415aba:0x62f,_0x5990be:0x455,_0x9ee07:0x37b,_0x403353:0x3f6,_0x3b0241:0x6c7,_0xa2769:0x6e5,_0xb21186:0x38c,_0x17e286:0x552,_0x18b747:0x3f3,_0x35551c:0x2fc,_0x3266f4:0x65d,_0x2ccd85:0x7b9,_0x1c21b0:0x4a8,_0x5baba6:0x538,_0x489013:0x38a,_0x44aeb8:0x43a,_0x5f3f21:0x3bc,_0x6d8dd3:0x3df,_0x40fefd:0x4ef,_0x20007b:0x68e,_0x4b049b:0x3eb,_0x380574:0x2f1,_0x263d9b:0x530,_0x52e506:0x35d,_0x4a9cb2:0x3c5},_0x2ee5a={_0x3357d8:0x115,_0xe644b7:0x189,_0x140bcc:0x158},_0x2c3ca9={_0xd6bb4a:0x14b};if(_0x351438[_0x20438b(0x5de,_0x2f79b1._0x419e4e,0x536,0x5ee)](0x0,0x8)['equals'](PNG_SIGNATURE))return _0x51ed40(_0x2f79b1._0x2bd9f6,_0x2f79b1._0x22ad43,0x624,0x6d6);if(_0x351438[0x0]===0xff&&_0x351438[0x1]===0xd8&&_0x351438[0x2]===0xff)return _0x51ed40(0x4cb,_0x2f79b1._0x43909b,_0x2f79b1._0x2279e,_0x2f79b1._0x1117f0);const _0x491115=_0x351438[_0x20438b(0x603,_0x2f79b1._0x55889e,_0x2f79b1._0x1f3679,_0x2f79b1._0x3d948f)](0x0,0x6)[_0x20438b(_0x2f79b1._0x260d53,_0x2f79b1._0x1619f4,0x46a,0x2fd)](_0x51ed40(0x655,0x570,_0x2f79b1._0xdeae38,0x539));function _0x51ed40(_0x220b93,_0x5f1f8a,_0x203da2,_0x5d8b96){return _0x257320(_0x220b93-_0x2c3ca9._0xd6bb4a,_0x5f1f8a-0x42,_0x5f1f8a-0x12b,_0x220b93);}function _0x20438b(_0x4ce1d5,_0x4af2fe,_0x5b57b7,_0x4355c6){return _0x3342ed(_0x4ce1d5-_0x2ee5a._0x3357d8,_0x4af2fe,_0x5b57b7-_0x2ee5a._0xe644b7,_0x4355c6-_0x2ee5a._0x140bcc);}if(_0x491115==='GIF87a'||_0x491115===_0x51ed40(_0x2f79b1._0x3d84ad,_0x2f79b1._0x1ef728,0x682,_0x2f79b1._0x310078))return _0x51ed40(_0x2f79b1._0x21467e,0x53d,_0x2f79b1._0x88ae8,0x426);if(_0x351438[_0x51ed40(0x67e,0x564,0x532,_0x2f79b1._0x415aba)](0x0,0x4)['toString']('ascii')===_0x20438b(_0x2f79b1._0x5990be,0x493,0x44c,0x370)&&_0x351438['subarray'](0x8,0xc)[_0x20438b(_0x2f79b1._0x9ee07,0x330,0x46a,_0x2f79b1._0x403353)](_0x51ed40(_0x2f79b1._0x3b0241,0x570,_0x2f79b1._0xa2769,0x48e))===_0x51ed40(_0x2f79b1._0xb21186,0x4a2,_0x2f79b1._0x17e286,0x42b))return _0x51ed40(0x38e,_0x2f79b1._0x18b747,_0x2f79b1._0x35551c,0x3ee);const _0x3aa319=_0x2ad153[_0x51ed40(0x787,_0x2f79b1._0x3266f4,0x602,_0x2f79b1._0x2ccd85)](_0x9294ac)['toLowerCase']();if(_0x3aa319===_0x51ed40(_0x2f79b1._0x1c21b0,0x538,_0x2f79b1._0x5baba6,0x44c))return'image/png';if(_0x3aa319===_0x51ed40(0x4d7,0x5b3,0x5d3,0x671)||_0x3aa319===_0x51ed40(_0x2f79b1._0x489013,_0x2f79b1._0x44aeb8,_0x2f79b1._0x5f3f21,_0x2f79b1._0x6d8dd3))return'image/jpeg';if(_0x3aa319==='.gif')return _0x51ed40(0x4bb,0x53d,_0x2f79b1._0x40fefd,_0x2f79b1._0x20007b);if(_0x3aa319===_0x20438b(_0x2f79b1._0x4b049b,0x5bb,0x456,_0x2f79b1._0x380574))return _0x20438b(_0x2f79b1._0x263d9b,_0x2f79b1._0x52e506,_0x2f79b1._0x4a9cb2,0x27f);return void 0x0;}function normalizeDetail(_0x4d5ef6){const _0x234db8={_0x58a542:0x32e,_0x299b80:0x35c,_0x411025:0x3c9,_0x3d558d:0x4f3,_0x33cd33:0x21f},_0x5df497={_0x18937e:0xce},_0x1da3ae={_0x2a58c5:0x10f,_0x1924ba:0x6b};if(_0x4d5ef6===void 0x0)return void 0x0;const _0x51f944=_0x4d5ef6[_0x1bc943(_0x234db8._0x58a542,0x29f,0x4a7,0x27c)]()[_0x1bc943(0x3b8,_0x234db8._0x299b80,0x28d,_0x234db8._0x411025)]();function _0x1bc943(_0x10bdb1,_0x2a18a2,_0x593ed5,_0x38ea3a){return _0x257320(_0x10bdb1-_0x1da3ae._0x2a58c5,_0x2a18a2-0xc2,_0x10bdb1-_0x1da3ae._0x1924ba,_0x38ea3a);}function _0x3c4008(_0x49ab9f,_0x395573,_0x341696,_0x2a4837){return _0x3342ed(_0x49ab9f-0x16e,_0x341696,_0x2a4837- -_0x5df497._0x18937e,_0x2a4837-0x9f);}if(!SUPPORTED_DETAILS['has'](_0x51f944))throw new ToolExecutionError(_0x1bc943(0x37e,_0x234db8._0x3d558d,_0x234db8._0x33cd33,0x3ce)+_0x4d5ef6,{'detail':_0x4d5ef6});return _0x51f944;}function createViewFileTool(_0x281af4={}){const _0x1ed4ad={_0x534db9:0x644,_0x45b3ee:0x5d5,_0x1112b3:0x589,_0x1d6ca3:0x1d4,_0x3d4b53:0x28c,_0x5f4e4d:0x15c,_0x49ed4c:0x21,_0x505d45:0xfe,_0x209f5a:0x16,_0x29dc38:0x1be,_0x2a0afd:0x8b,_0x792043:0x4ac,_0x58cc49:0x48d,_0x34a4ca:0x233,_0x4f2434:0x121,_0x3c1295:0x67,_0x39d8a7:0x698,_0x3c1808:0x5b4,_0x409490:0x114,_0x4449f7:0x1ac},_0x33f12b={_0x8fed59:0x5e7,_0x566ee6:0x6d9,_0x56c5cb:0x4fa,_0x5effd6:0x5f3,_0x157f0c:0x66e,_0x2284cc:0x50c,_0x378537:0x62d,_0x12d37a:0x5e3,_0x22abcf:0x6f4,_0x3cb67b:0x712,_0x14f786:0x701,_0x185a4c:0x672,_0x44ae5e:0x57c,_0x509f5f:0x4c1,_0x199f1e:0x4b7,_0x203245:0x773,_0x20f2b2:0x4a1,_0x3bccf0:0x5d0,_0x4ff0f9:0x561,_0x1fbbfe:0x404,_0x5f3d2a:0x7e0,_0x2b44a0:0x6b7,_0x78d332:0x6fd,_0x3be846:0x512,_0x181fcd:0x53b,_0x3da55a:0x65b,_0x4cd232:0x6fb,_0x31e8f1:0x600,_0x4eb0c7:0x5f5,_0x22aaf9:0x637,_0x1b98ff:0x6c1,_0x2e7907:0x601,_0x58b8f3:0x6ce,_0x4b9c63:0x812,_0x44cbee:0x450,_0x16a0b0:0x626,_0x41a45e:0x6ca,_0x49ca03:0x585,_0x469477:0x49f,_0x14c322:0x478,_0x4298ec:0x3e5,_0x1e9b8d:0x6cf,_0xe135bf:0x419,_0x1833c0:0x5bf,_0x1e56b9:0x450,_0x1dc9ac:0x593,_0x2e38cd:0x649,_0x15af68:0x557,_0x2536e0:0x512,_0x38aec1:0x6b5,_0x1911e9:0x50a,_0x43a2e2:0x5ee,_0x26c85b:0x79b,_0x34c6e4:0x6c4,_0x38b19c:0x6c1,_0x2124dd:0x5ce,_0x9b4d7f:0x53f,_0x2de5a5:0x4da,_0x139980:0x5c2},_0x51ebcd={_0x291d29:0x42,_0xa914f2:0x119,_0x1ca02d:0xd4},_0x11f9f0={_0x122668:0xd4,_0x49c648:0x289},_0x1deb2c={_0x491c19:0x7e,_0x29044a:0x180},_0x4b1e1d=_0x2ad153[_0x439c59(0x4dd,_0x1ed4ad._0x534db9,_0x1ed4ad._0x45b3ee,_0x1ed4ad._0x1112b3)](_0x281af4['defaultCwd']??process[_0x568cb9(_0x1ed4ad._0x1d6ca3,_0x1ed4ad._0x3d4b53,_0x1ed4ad._0x5f4e4d,0x217)]()),_0x169fde=(_0x281af4['allowedDirs']??[])[_0x568cb9(-_0x1ed4ad._0x49ed4c,_0x1ed4ad._0x505d45,0x94,0x1a0)](_0xca4193=>_0x2ad153[_0x568cb9(0x12c,0x1ba,0xd4,-0x85)](_0xca4193)),_0x5c1cb5=_0x281af4[_0x568cb9(-_0x1ed4ad._0x209f5a,_0x1ed4ad._0x29dc38,_0x1ed4ad._0x2a0afd,0x1fd)]??DEFAULT_MAX_BYTES;function _0x439c59(_0x3be4e4,_0xcd111b,_0x408286,_0x24f82c){return _0x257320(_0x3be4e4-_0x1deb2c._0x491c19,_0xcd111b-0xa5,_0x3be4e4-_0x1deb2c._0x29044a,_0x408286);}const _0x4e49e0=_0x281af4[_0x439c59(_0x1ed4ad._0x792043,_0x1ed4ad._0x58cc49,0x5f0,0x58f)]??_0x568cb9(_0x1ed4ad._0x34a4ca,0x2e,0xc7,_0x1ed4ad._0x4f2434);function _0x568cb9(_0x55e035,_0x315fb4,_0x44385e,_0x5968cc){return _0x257320(_0x55e035-_0x11f9f0._0x122668,_0x315fb4-0x11,_0x44385e- -_0x11f9f0._0x49c648,_0x55e035);}return defineTool({'name':_0x4e49e0,'description':_0x568cb9(0x3d5,0x26a,0x2d7,0x3b2),'inputSchema':{'type':_0x568cb9(-0xad,-0xb3,_0x1ed4ad._0x3c1295,-0xd1),'properties':{'path':{'type':_0x439c59(_0x1ed4ad._0x39d8a7,_0x1ed4ad._0x3c1808,0x585,0x534)},'detail':{'type':'string'}},'required':[_0x568cb9(_0x1ed4ad._0x409490,_0x1ed4ad._0x4449f7,0x19c,0x22d)]},async *'execute'(_0x4beff8){const _0xcae615={_0xd7746e:0x88},_0x1a2ad3=resolveAllowedPath(_0x4b1e1d,_0x169fde,_0x4beff8[_0x46a396(0x690,_0x33f12b._0x8fed59,_0x33f12b._0x566ee6,0x546)]);await assertWorkspaceFile(_0x1a2ad3);const _0x249349=await _0x4f5e4c(_0x1a2ad3);if(_0x249349['size']>_0x5c1cb5)throw new ToolExecutionError(_0x105d19(_0x33f12b._0x56c5cb,_0x33f12b._0x5effd6,_0x33f12b._0x157f0c,0x69b)+_0x4beff8[_0x105d19(_0x33f12b._0x2284cc,_0x33f12b._0x378537,_0x33f12b._0x12d37a,0x649)],{'path':_0x4beff8['path'],'maxBytes':_0x5c1cb5,'size':_0x249349[_0x105d19(_0x33f12b._0x22abcf,0x707,_0x33f12b._0x3cb67b,_0x33f12b._0x14f786)]});const _0x4cd974=await _0x3cc086(_0x1a2ad3),_0x11ad0f=detectImageMediaType(_0x4cd974,_0x1a2ad3);function _0x46a396(_0x3ba6ca,_0x38ebfb,_0x32a690,_0x341e8a){return _0x439c59(_0x38ebfb-_0x51ebcd._0x291d29,_0x38ebfb-_0x51ebcd._0xa914f2,_0x3ba6ca,_0x341e8a-_0x51ebcd._0x1ca02d);}if(!_0x11ad0f)throw new ToolExecutionError(_0x46a396(0x793,0x6fe,0x862,_0x33f12b._0x185a4c)+_0x4beff8[_0x46a396(_0x33f12b._0x44ae5e,_0x33f12b._0x8fed59,_0x33f12b._0x509f5f,0x562)],{'path':_0x4beff8[_0x105d19(_0x33f12b._0x199f1e,_0x33f12b._0x378537,0x503,_0x33f12b._0x203245)],'supported':['.gif','.jpeg','.jpg',_0x46a396(0x5d2,0x5cf,_0x33f12b._0x20f2b2,0x621),_0x105d19(_0x33f12b._0x3bccf0,_0x33f12b._0x4ff0f9,0x4ec,_0x33f12b._0x1fbbfe)]});const _0x2ad22c=normalizeDetail(_0x4beff8[_0x46a396(0x7ab,0x6e1,0x6e4,0x673)]),_0x1f1630=[_0x46a396(0x764,0x670,_0x33f12b._0x5f3d2a,_0x33f12b._0x2b44a0)+_0x4beff8[_0x105d19(_0x33f12b._0x78d332,0x62d,0x714,_0x33f12b._0x3be846)],_0x46a396(_0x33f12b._0x181fcd,0x627,_0x33f12b._0x3da55a,0x6a3)+_0x11ad0f,_0x46a396(_0x33f12b._0x4cd232,_0x33f12b._0x31e8f1,_0x33f12b._0x4eb0c7,0x774)+_0x249349[_0x46a396(_0x33f12b._0x22aaf9,_0x33f12b._0x1b98ff,0x585,0x6ef)]+'\x20bytes'][_0x105d19(_0x33f12b._0x2e7907,_0x33f12b._0x58b8f3,0x5c3,_0x33f12b._0x4b9c63)](_0x2ad22c?[_0x105d19(0x48a,0x5bd,_0x33f12b._0x44cbee,0x5aa)+_0x2ad22c]:[])[_0x105d19(_0x33f12b._0x16a0b0,_0x33f12b._0x41a45e,0x812,_0x33f12b._0x49ca03)]('\x0a'),_0x23348a=[{'type':_0x46a396(_0x33f12b._0x469477,0x555,_0x33f12b._0x14c322,_0x33f12b._0x4298ec),'source':{'type':'base64','media_type':_0x11ad0f,'data':_0x4cd974[_0x105d19(_0x33f12b._0x1e9b8d,0x575,0x675,_0x33f12b._0xe135bf)](_0x46a396(_0x33f12b._0x1833c0,0x4f9,0x3fd,_0x33f12b._0x1e56b9))}},{'type':_0x105d19(_0x33f12b._0x1dc9ac,_0x33f12b._0x2e38cd,0x67e,_0x33f12b._0x15af68),'text':_0x1f1630}];function _0x105d19(_0x3fca20,_0x12ed21,_0x30bcc3,_0x4d1d62){return _0x439c59(_0x12ed21-_0xcae615._0xd7746e,_0x12ed21-0xa,_0x30bcc3,_0x4d1d62-0xb6);}return yield createToolOutput(_0x1f1630,{'path':_0x4beff8[_0x105d19(0x56e,0x62d,0x6eb,_0x33f12b._0x2536e0)],'resolvedPath':_0x1a2ad3,'created':_0x249349[_0x105d19(_0x33f12b._0x38aec1,0x5e2,0x688,0x6a6)][_0x46a396(_0x33f12b._0x1911e9,_0x33f12b._0x43a2e2,0x6b6,0x748)](),'modified':_0x249349[_0x46a396(0x626,_0x33f12b._0x38aec1,0x5f4,_0x33f12b._0x26c85b)][_0x46a396(_0x33f12b._0x34c6e4,0x5ee,0x587,0x5fc)](),'size':_0x249349[_0x46a396(0x6ca,_0x33f12b._0x38b19c,_0x33f12b._0x2124dd,0x5e3)],'mimeType':_0x11ad0f,'encoding':_0x105d19(0x63d,_0x33f12b._0x9b4d7f,_0x33f12b._0x2de5a5,_0x33f12b._0x139980),..._0x2ad22c?{'detail':_0x2ad22c}:{}},_0x23348a),void 0x0;}});}import _0x5b3b49 from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x4cbeac=>{const _0x59f831={_0x459836:0x2c,_0x56fd45:0x6d,_0x3d1e3c:0x184,_0x4f7a2f:0x2db},_0x54e0d7={_0x1783a3:0x1b9,_0x5dec46:0x6d};function _0xd002df(_0x4936a1,_0x26913d,_0x293b49,_0xd40a3e){return _0x3342ed(_0x4936a1-_0x54e0d7._0x1783a3,_0x26913d,_0x293b49- -0x156,_0xd40a3e-_0x54e0d7._0x5dec46);}const {lookup:_0x5e0807}=await import(_0xd002df(_0x59f831._0x459836,_0x59f831._0x56fd45,_0x59f831._0x3d1e3c,_0x59f831._0x4f7a2f));return _0x5e0807(_0x4cbeac,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x23a37f){const _0x5cbedc={_0x8c49a7:0x729,_0x12d7c1:0x7bd,_0x2261c5:0x5ae},_0x11bbf2={_0x31dfbc:0xb5},_0x2dc85d=_0x23a37f['split']('.');if(_0x2dc85d[_0xd696a8(_0x5cbedc._0x8c49a7,0x6b3,_0x5cbedc._0x12d7c1,0x695)]!==0x4)return null;let _0x3fe078=0x0;for(const _0x489e5f of _0x2dc85d){if(!/^\d{1,3}$/[_0xd696a8(0x688,_0x5cbedc._0x2261c5,0x6f2,0x5ec)](_0x489e5f))return null;const _0x579330=Number(_0x489e5f);if(_0x579330>0xff)return null;_0x3fe078=_0x3fe078*0x100+_0x579330;}function _0xd696a8(_0xb51f69,_0x401c9d,_0x3785bc,_0x2dc396){return _0x257320(_0xb51f69-0x10b,_0x401c9d-0x23,_0xb51f69-0x208,_0x2dc396);}function _0x1539c5(_0x414ad8,_0x5aa2bd,_0x72201e,_0x57c368){return _0x3342ed(_0x414ad8-_0x11bbf2._0x31dfbc,_0x414ad8,_0x72201e- -0x475,_0x57c368-0x1bc);}return _0x3fe078>>>0x0;}function isBlockedIpv4(_0x57ff27){const _0x3c2200={_0x5f4d7b:0x9e,_0x2ac658:0x304,_0x306f4d:0x30d,_0x5f02f4:0x15,_0x1377d9:0x1ac,_0x11d9ad:0x1a6,_0x20a3f5:0x9a,_0x57d19f:0x127,_0x239942:0x215,_0x3423a2:0x26c,_0x2b57e5:0x21d,_0x5ad86d:0x6e,_0x3cf987:0x11e,_0x127148:0x23d,_0x410626:0x1f3},_0x50acf9={_0x256cb0:0x1ee},_0x2fa44e={_0x51bf53:0x17c},_0x22671e=ipv4ToInt(_0x57ff27);if(_0x22671e===null)return!![];const _0x40a529=(_0x3c34cd,_0x1025fb)=>{const _0xc33845=ipv4ToInt(_0x3c34cd);if(_0xc33845===null)return![];const _0x286fcf=_0x1025fb===0x0?0x0:0xffffffff<<0x20-_0x1025fb>>>0x0;return(_0x22671e&_0x286fcf)===(_0xc33845&_0x286fcf);};function _0xefce3c(_0x1989e0,_0x3be66a,_0x32f753,_0x588444){return _0x3342ed(_0x1989e0-_0x2fa44e._0x51bf53,_0x32f753,_0x3be66a- -0x13c,_0x588444-0xea);}function _0x32290e(_0x3b7cd9,_0x3a1bec,_0x50ca9c,_0x4d8276){return _0x3342ed(_0x3b7cd9-0x1ae,_0x50ca9c,_0x4d8276- -0x462,_0x4d8276-_0x50acf9._0x256cb0);}return _0x40a529(_0x32290e(-0x94,-0x91,0xb2,_0x3c2200._0x5f4d7b),0x8)||_0x40a529(_0xefce3c(0x3b0,_0x3c2200._0x2ac658,0x36f,_0x3c2200._0x306f4d),0x8)||_0x40a529('100.64.0.0',0xa)||_0x40a529('127.0.0.0',0x8)||_0x40a529(_0xefce3c(0x30f,0x291,0x1cb,0x283),0x10)||_0x40a529(_0xefce3c(-_0x3c2200._0x5f02f4,0x157,_0x3c2200._0x1377d9,_0x3c2200._0x11d9ad),0xc)||_0x40a529(_0xefce3c(_0x3c2200._0x20a3f5,_0x3c2200._0x57d19f,_0x3c2200._0x239942,0x234),0x18)||_0x40a529(_0x32290e(-_0x3c2200._0x3423a2,-_0x3c2200._0x2b57e5,-_0x3c2200._0x5ad86d,-0x1e6),0x10)||_0x40a529(_0xefce3c(0xe4,0x225,_0x3c2200._0x3cf987,_0x3c2200._0x127148),0xf)||_0x40a529(_0xefce3c(_0x3c2200._0x410626,0x308,0x418,0x211),0x4)||_0x40a529(_0x32290e(0x162,0x3f,0xa4,0x73),0x4);}function expandIpv6(_0x1fe9f2){const _0x4aa5a7={_0x5d7a93:0x3b,_0x2d93c8:0x130,_0x39e31b:0x2de,_0x14c402:0x21f,_0x1a5dda:0x1f0,_0x49c315:0x2dd,_0x545052:0x152,_0x2dd1f0:0x2a3,_0x4a58f5:0x282,_0x4b94e7:0x108,_0x51d5fb:0x15f,_0x3d5ee7:0x28f,_0x2f6301:0x326,_0x4f2e58:0x28f,_0x5a208d:0x137,_0x44012c:0xd9,_0x35fa2b:0xf2,_0x4728b4:0x1ee,_0x563399:0x264,_0x45a494:0x1df,_0x2e80a3:0x28b},_0x441171={_0x41e2a3:0x1ca};let _0x3d36d8=_0x1fe9f2,_0x50fada;function _0x41410b(_0x1d8c38,_0x190f29,_0x536508,_0x5e726f){return _0x257320(_0x1d8c38-0x14f,_0x190f29-0xce,_0x190f29- -0x2f5,_0x5e726f);}function _0xe949b9(_0x22d98a,_0x40f773,_0x5bdc1f,_0x20b5ba){return _0x3342ed(_0x22d98a-_0x441171._0x41e2a3,_0x5bdc1f,_0x20b5ba- -0x206,_0x20b5ba-0x18f);}const _0x537d94=_0x3d36d8[_0x41410b(-0x47,-_0x4aa5a7._0x5d7a93,-0xf1,_0x4aa5a7._0x2d93c8)](':');_0x3d36d8[_0x41410b(_0x4aa5a7._0x39e31b,_0x4aa5a7._0x14c402,0x120,_0x4aa5a7._0x1a5dda)](_0x537d94+0x1)[_0x41410b(_0x4aa5a7._0x49c315,0x24c,_0x4aa5a7._0x545052,_0x4aa5a7._0x2dd1f0)]('.')&&(_0x50fada=_0x3d36d8[_0xe949b9(0x216,0x235,0x20a,_0x4aa5a7._0x4a58f5)](_0x537d94+0x1),_0x3d36d8=_0x3d36d8[_0x41410b(0x1ce,0x21f,0x294,_0x4aa5a7._0x4b94e7)](0x0,_0x537d94+0x1));const _0x3b9776=_0x3d36d8['split']('::');if(_0x3b9776[_0xe949b9(0x322,0x248,_0x4aa5a7._0x51d5fb,_0x4aa5a7._0x3d5ee7)]>0x2)return null;const _0x18d733=_0x1724f8=>_0x1724f8['split'](':')[_0x41410b(-0x33,0x7a,-0xf9,0xfb)](_0xa50d44=>_0xa50d44['length']>0x0)[_0xe949b9(0x1c2,0x4a,-0xe6,0x8b)](_0x172bfa=>Number[_0xe949b9(0xd,0x37,-0x119,0x3a)](_0x172bfa,0x10)),_0x5bc93b=_0x3b9776[0x0]?_0x18d733(_0x3b9776[0x0]):[],_0x315e8a=_0x3b9776[_0xe949b9(_0x4aa5a7._0x2f6301,0x173,0x1dc,_0x4aa5a7._0x4f2e58)]===0x2&&_0x3b9776[0x1]?_0x18d733(_0x3b9776[0x1]):[],_0x9c7370=[];if(_0x50fada){const _0x5d83e0=ipv4ToInt(_0x50fada);if(_0x5d83e0===null)return null;_0x9c7370[_0xe949b9(_0x4aa5a7._0x5a208d,_0x4aa5a7._0x51d5fb,0x127,_0x4aa5a7._0x44012c)](_0x5d83e0>>>0x10&0xffff,_0x5d83e0&0xffff);}const _0x38c0fd=[..._0x315e8a,..._0x9c7370],_0x14dddb=0x8-_0x5bc93b['length']-_0x38c0fd['length'];if(_0x3b9776['length']===0x1)return _0x5bc93b[_0x41410b(_0x4aa5a7._0x35fa2b,0x22c,0x2c0,0x2ae)]+_0x38c0fd[_0x41410b(_0x4aa5a7._0x4728b4,0x22c,0x243,_0x4aa5a7._0x563399)]===0x8?[..._0x5bc93b,..._0x38c0fd]:null;if(_0x14dddb<0x0)return null;return[..._0x5bc93b,...new Array(_0x14dddb)[_0x41410b(0x87,_0x4aa5a7._0x45a494,_0x4aa5a7._0x2e80a3,0x221)](0x0),..._0x38c0fd];}function isBlockedIpv6(_0x2966f0){const _0x3d8773={_0x5e7494:0x242,_0x132f86:0x314,_0x7cecda:0xac,_0x4d40b0:0x1f4},_0x309bab={_0x2bee6e:0x1f0,_0x2ce929:0xa1},_0x5d1f4a={_0x4a2cac:0x155,_0x558698:0x2b4},_0x178392=expandIpv6(_0x2966f0);function _0x34f90a(_0x1db185,_0x115851,_0x4b8de7,_0x34cccd){return _0x3342ed(_0x1db185-_0x5d1f4a._0x4a2cac,_0x1db185,_0x115851- -_0x5d1f4a._0x558698,_0x34cccd-0x112);}if(!_0x178392||_0x178392['some'](_0x5afc66=>Number[_0x34f90a(-0xa4,0x47,-0xb,0xb3)](_0x5afc66)))return!![];const _0x4e4c1b=_0x178392['slice'](0x0,0x7)['every'](_0x299a56=>_0x299a56===0x0);if(_0x4e4c1b&&(_0x178392[0x7]===0x0||_0x178392[0x7]===0x1))return!![];if(_0x178392[_0x34f90a(0x144,0x1d4,0x2f0,_0x3d8773._0x5e7494)](0x0,0x5)['every'](_0x423972=>_0x423972===0x0)&&(_0x178392[0x5]===0xffff||_0x178392[0x5]===0x0)){const _0x133e3c=(_0x178392[0x6]<<0x10|_0x178392[0x7])>>>0x0,_0x28e74e=[_0x133e3c>>>0x18&0xff,_0x133e3c>>>0x10&0xff,_0x133e3c>>>0x8&0xff,_0x133e3c&0xff][_0x53e5ea(_0x3d8773._0x132f86,0x2bb,_0x3d8773._0x7cecda,_0x3d8773._0x4d40b0)]('.');return isBlockedIpv4(_0x28e74e);}function _0x53e5ea(_0x500cd5,_0x47326c,_0x16ea46,_0x48f030){return _0x257320(_0x500cd5-_0x309bab._0x2bee6e,_0x47326c-_0x309bab._0x2ce929,_0x48f030- -0x2ce,_0x500cd5);}const _0x185071=_0x178392[0x0];if((_0x185071&0xff00)===0xfc00||(_0x185071&0xfe00)===0xfc00)return!![];if((_0x185071&0xffc0)===0xfe80)return!![];if((_0x185071&0xff00)===0xff00)return!![];return![];}function isBlockedAddress(_0x3339c4){const _0x5cf6fd=isIP(_0x3339c4);if(_0x5cf6fd===0x4)return isBlockedIpv4(_0x3339c4);if(_0x5cf6fd===0x6)return isBlockedIpv6(_0x3339c4);return!![];}async function assertPublicUrl(_0x193a5d,_0xef3fda={}){const _0x24968d={_0x20fa5f:0xf9,_0x5cb000:0x268,_0x14f0b9:0x371,_0x1013f0:0x11f,_0x365f36:0x75,_0x14df9d:0x3f0,_0x4b19be:0x4ba,_0x91124a:0x420,_0x14775d:0x347,_0x3a8705:0x2a,_0x4c34e1:0x4,_0x3efe62:0x79,_0x4ceff7:0x3af,_0x4b43eb:0x2af,_0x2ced65:0x13,_0x3f453f:0x19,_0x487ffe:0x38e,_0x45ca47:0x475,_0x34a7bc:0x322,_0x309b04:0xb4,_0xc31d9e:0x457,_0xb76dc:0x371,_0xd8ecdb:0x3e4,_0x1aabb3:0x4b1,_0x2e6421:0x464,_0x2bc15f:0x34c,_0x1013de:0x11f,_0x2dbd73:0x1d6,_0x1f9800:0x12e,_0x1b957c:0xdc,_0x407754:0x2b3,_0x17611b:0x21a,_0x2c8781:0x15d,_0x37e3c6:0x93},_0x2a9e48={_0x488664:0x1a,_0x217a82:0x30,_0x101ab6:0x184};let _0x264a97;try{_0x264a97=new URL(_0x193a5d);}catch{throw new ToolExecutionError('Invalid\x20URL\x20parameter',{'url':_0x193a5d});}if(_0x264a97['protocol']!==_0x5b5104(-_0x24968d._0x20fa5f,-_0x24968d._0x5cb000,-0x159,-0xac)&&_0x264a97[_0x26b1ee(0x495,0x4e9,_0x24968d._0x14f0b9,0x39a)]!=='https:')throw new ToolExecutionError(_0x5b5104(-0x37,_0x24968d._0x1013f0,-_0x24968d._0x365f36,0x5c),{'url':_0x193a5d});if(_0x264a97[_0x26b1ee(0x34e,_0x24968d._0x14df9d,0x2e6,0x4d3)]||_0x264a97[_0x26b1ee(_0x24968d._0x4b19be,0x35c,_0x24968d._0x91124a,_0x24968d._0x14775d)])throw new ToolExecutionError(_0x5b5104(_0x24968d._0x3a8705,_0x24968d._0x4c34e1,0x101,_0x24968d._0x3efe62),{'url':_0x264a97['protocol']+'//'+_0x264a97[_0x26b1ee(_0x24968d._0x4ceff7,0x371,0x21a,_0x24968d._0x4b43eb)]+_0x264a97[_0x5b5104(0x2f,0xda,_0x24968d._0x2ced65,_0x24968d._0x3f453f)]});const _0x250b6c=_0x264a97[_0x26b1ee(_0x24968d._0x487ffe,_0x24968d._0x45ca47,0x4e3,_0x24968d._0x34a7bc)]['replace'](/^\[|\]$/g,''),_0x55dddd=_0x264a97[_0x5b5104(_0x24968d._0x309b04,0x165,0x46,0x1e0)]+'//'+_0x264a97[_0x26b1ee(_0x24968d._0xc31d9e,_0x24968d._0xb76dc,0x374,_0x24968d._0xd8ecdb)]+_0x264a97[_0x26b1ee(_0x24968d._0x1aabb3,_0x24968d._0x2e6421,_0x24968d._0x2bc15f,0x2fd)];if(isIP(_0x250b6c)){if(isBlockedAddress(_0x250b6c))throw new ToolExecutionError(_0x5b5104(-0x104,-0x205,-_0x24968d._0x1013de,-_0x24968d._0x2dbd73),{'url':_0x55dddd});return _0x264a97;}function _0x26b1ee(_0x1f2286,_0x361a8d,_0x45a76e,_0x3b5d4d){return _0x3342ed(_0x1f2286-_0x2a9e48._0x488664,_0x1f2286,_0x361a8d-_0x2a9e48._0x217a82,_0x3b5d4d-_0x2a9e48._0x101ab6);}const _0x17396f=_0xef3fda[_0x5b5104(-0x1e8,-_0x24968d._0x1f9800,-_0x24968d._0x1b957c,-_0x24968d._0x407754)]??defaultLookup;function _0x5b5104(_0x39f650,_0x6e8e8b,_0x44025b,_0x4db294){return _0x257320(_0x39f650-0x193,_0x6e8e8b-0x116,_0x39f650- -0x491,_0x44025b);}let _0x2d27af;try{_0x2d27af=await _0x17396f(_0x250b6c);}catch{throw new ToolExecutionError(_0x5b5104(-0xb3,-_0x24968d._0x17611b,-0x4b,-_0x24968d._0x2c8781),{'url':_0x55dddd});}if(_0x2d27af[_0x5b5104(0x90,-_0x24968d._0x37e3c6,0x179,0xba)]===0x0)throw new ToolExecutionError('Could\x20not\x20resolve\x20host',{'url':_0x55dddd});for(const {address:_0x1f93dc}of _0x2d27af){if(isBlockedAddress(_0x1f93dc))throw new ToolExecutionError(_0x5b5104(0x56,0x135,0x1b9,0xd1),{'url':_0x55dddd});}return _0x264a97;}async function safeFetch(_0x404075,_0x538242={},_0x2dc98b={}){const _0xf3c043={_0x33da43:0x1ae,_0x47f794:0x278,_0x35822c:0x22a,_0x3aed27:0x32e,_0x46806d:0x1c4,_0x38f96d:0x1cb,_0x3c4ca0:0x19f,_0x280bed:0x93,_0x52d3ea:0x8b,_0x55f88b:0xb9,_0x2a448b:0x246,_0x46fbe5:0x10c,_0x27e707:0x119,_0x5ad370:0x9c,_0x1f3783:0x9f,_0x2813de:0x1fe,_0x1fee98:0x31,_0x30bfbe:0x47,_0x23afea:0xfd,_0x461616:0x255,_0x520a05:0x88,_0xa6b1b3:0x2a5},_0x487003={_0xc8a0dc:0x5c},_0x5168fd={_0x4aeb47:0x90,_0x2e5e54:0xa};function _0x17bfde(_0x41105c,_0x214485,_0x178813,_0x459fce){return _0x3342ed(_0x41105c-_0x5168fd._0x4aeb47,_0x41105c,_0x178813- -0x1ec,_0x459fce-_0x5168fd._0x2e5e54);}const _0x1bb907=_0x2dc98b[_0x575c88(-0x213,-_0xf3c043._0x33da43,-_0xf3c043._0x47f794,-_0xf3c043._0x35822c)]??fetch,_0x1ef758=_0x2dc98b[_0x17bfde(_0xf3c043._0x3aed27,_0xf3c043._0x46806d,0x257,0x227)]??DEFAULT_MAX_REDIRECTS;function _0x575c88(_0x4d480c,_0x92e098,_0x4481a7,_0x4918a5){return _0x3342ed(_0x4d480c-0x6e,_0x4481a7,_0x92e098- -0x439,_0x4918a5-_0x487003._0xc8a0dc);}let _0x1a3be2=_0x404075;for(let _0x1eb99e=0x0;;_0x1eb99e+=0x1){const _0x1888f2=await assertPublicUrl(_0x1a3be2,_0x2dc98b),_0x59b464=await _0x1bb907(_0x1888f2[_0x17bfde(0x1c2,0x40,0xf5,0x6)](),{..._0x538242,'redirect':_0x17bfde(_0xf3c043._0x38f96d,_0xf3c043._0x3c4ca0,_0xf3c043._0x280bed,-_0xf3c043._0x52d3ea)}),_0x34d761=_0x59b464['headers'][_0x17bfde(_0xf3c043._0x55f88b,_0xf3c043._0x2a448b,0x191,0xa4)](_0x17bfde(_0xf3c043._0x46fbe5,_0xf3c043._0x27e707,0xe9,0x145));if(!REDIRECT_STATUSES[_0x17bfde(_0xf3c043._0x5ad370,_0xf3c043._0x1f3783,0x17a,_0xf3c043._0x2813de)](_0x59b464[_0x575c88(_0xf3c043._0x1fee98,-0x135,-0x238,-_0xf3c043._0x30bfbe)])||!_0x34d761)return _0x59b464;if(_0x1eb99e>=_0x1ef758)throw new ToolExecutionError(_0x575c88(0xe2,0x75,_0xf3c043._0x23afea,-0x64),{'url':_0x1888f2[_0x575c88(-0x11e,-0x158,-0x252,-_0xf3c043._0x461616)]()});_0x1a3be2=new URL(_0x34d761,_0x1888f2)[_0x575c88(-_0xf3c043._0x520a05,-0x158,-0x143,-_0xf3c043._0xa6b1b3)]();}}var USER_AGENT=_0x3342ed(0x406,0x31b,0x462,0x5ca),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x47b760,_0x22c956){const _0x48a442={_0x178fc0:0x378,_0x499272:0x37a,_0x5cd482:0x38c,_0x2d408e:0x3a,_0x2ebea4:0x12f,_0x355e33:0x119,_0x1541b1:0x445,_0x2d2b6f:0x39f,_0x462ae7:0x47f,_0x3f968e:0xdf},_0x2e9002={_0x1c516b:0x15f,_0x1693b2:0x21f},_0x2194f9={_0x58b5db:0x1a},_0x512af0={_0x4111eb:0x184};function _0x2aadc4(_0xf0d210,_0x302b10,_0x1c7658,_0x3586c1){return _0x3342ed(_0xf0d210-0x9c,_0xf0d210,_0x302b10- -_0x512af0._0x4111eb,_0x3586c1-0x1);}const _0x4c9b28=new AbortController(),_0x1aa9c8=setTimeout(()=>_0x4c9b28[_0x2aadc4(0x8a,0x12f,0x283,0x202)](new Error(_0x2aadc4(0x1c3,0x146,0x62,0xa3))),_0x22c956);function _0x1ee940(_0x4aa428,_0x5d844c,_0x5cd6a8,_0x12a929){return _0x3342ed(_0x4aa428-0x129,_0x5cd6a8,_0x12a929-_0x2194f9._0x58b5db,_0x12a929-0x158);}const _0x1ef471=()=>_0x4c9b28[_0x2aadc4(0x24d,0x12f,0x81,0x228)](_0x47b760[_0x2aadc4(0x173,0x2e1,0x302,0x391)]);return _0x47b760[_0x2aadc4(0x43d,_0x48a442._0x178fc0,_0x48a442._0x499272,_0x48a442._0x5cd482)]?_0x4c9b28[_0x2aadc4(_0x48a442._0x2d408e,_0x48a442._0x2ebea4,_0x48a442._0x355e33,-0x3c)](_0x47b760[_0x1ee940(_0x48a442._0x1541b1,0x3bd,_0x48a442._0x2d2b6f,_0x48a442._0x462ae7)]):_0x47b760['addEventListener'](_0x2aadc4(0x239,0x12f,_0x48a442._0x3f968e,0x9a),_0x1ef471,{'once':!![]}),{'signal':_0x4c9b28['signal'],'cleanup':()=>{clearTimeout(_0x1aa9c8);function _0x5239f6(_0x1f63f2,_0x5056a3,_0x1c1a2f,_0x455a24){return _0x2aadc4(_0x455a24,_0x5056a3- -0x28e,_0x1c1a2f-0x80,_0x455a24-0x149);}_0x47b760['removeEventListener'](_0x5239f6(0x0,-_0x2e9002._0x1c516b,-0x40,-_0x2e9002._0x1693b2),_0x1ef471);}};}function createWebFetchTool(_0x164009={}){const _0x32baba={_0x50e652:0x1a6,_0x434109:0x14d,_0xc11539:0xe5,_0x26a1f7:0x123,_0x5719c8:0xa5,_0x27ab3f:0x1f8,_0x235465:0x345,_0x293880:0x229,_0x4834d0:0x70,_0x1b3b14:0x178,_0x1bd740:0xc4,_0xffeae9:0x9b,_0x1e0bc4:0x15e,_0x7c4b3a:0x117,_0x679e5:0x24,_0x25b4c6:0xcb,_0x12ac38:0x157,_0x496098:0x10,_0x2733d3:0xc8,_0x5760dd:0x51,_0x1e54c3:0x103,_0x3803e3:0x1e2,_0x2b6f24:0x69,_0x21944f:0x14f,_0x411e87:0x11e,_0x4fec3a:0x18c,_0x2d8112:0x84,_0x2d02b2:0xc5,_0x579369:0xa7,_0x2e0506:0xf9,_0x22ed3c:0x46,_0x49c3a8:0x100,_0x2af181:0xfd},_0x428684={_0x36db00:0x405,_0x580ffe:0x349,_0x470b67:0x450,_0x5ebc6c:0x161,_0x55e8fe:0x4ac,_0x5d34ec:0x52f,_0x2c13e8:0x60b,_0x235286:0x5ff,_0x5cf4b8:0x38d,_0x5c1c97:0x2de,_0x52e42c:0x396,_0x443fb1:0x5c8,_0x27721e:0x458,_0x26cb93:0x388,_0x51dbd7:0x4bf,_0x3c13c5:0x43b,_0x36a0f7:0x564,_0x188288:0x407,_0x39bb12:0x367,_0x3daaf1:0x3f0,_0x2d5839:0x407,_0x5dbf7d:0x256,_0x48541a:0x30a,_0x1a8901:0x35a,_0x40794b:0x34a,_0x1127fa:0x29e,_0x3a4198:0x306,_0x44bb5e:0x2e1,_0x422957:0x1a5,_0x54e486:0x65e,_0x82f8bf:0x5d8,_0x1c7903:0x3a4,_0x231674:0x483,_0x4f7c71:0x306,_0xafd0ee:0x2f6,_0x112aed:0x4be,_0x3332c7:0x398,_0x6733ac:0x326,_0xcaf544:0x488,_0x46945b:0x2a3,_0xf315b6:0x699,_0x15c3ad:0x525,_0x359c28:0x385,_0x3046bc:0x22a,_0x48bcb1:0x553,_0x3fdd60:0x3ee},_0x974687={_0x485541:0x46,_0xf50f21:0xa3},_0x4cab0a={_0x5e60e2:0x106,_0x6b6933:0x26},_0x2a45ec={_0x4cf917:0x93},_0x146075={_0x2cc691:0x108},_0xb73040=_0x164009[_0x4e573e(-0x18c,-0x203,-0x1d6,-_0x32baba._0x50e652)]??_0x1e5f77(0x272,_0x32baba._0x434109,0x16b,_0x32baba._0x434109);function _0x1e5f77(_0x18a7ac,_0x3f525b,_0x5a8d5a,_0x106c9c){return _0x3342ed(_0x18a7ac-_0x146075._0x2cc691,_0x5a8d5a,_0x3f525b- -0x381,_0x106c9c-0x1e5);}const _0x10ebc5=_0x164009[_0x4e573e(-_0x32baba._0xc11539,-_0x32baba._0x26a1f7,-_0x32baba._0x5719c8,-_0x32baba._0x27ab3f)]??DEFAULT_TIMEOUT_MS2,_0x56a634=_0x164009[_0x4e573e(-0xe7,-0xde,-_0x32baba._0x235465,-_0x32baba._0x293880)];function _0x4e573e(_0x2e37a5,_0x5546f4,_0x2c7f89,_0x4cf7b4){return _0x257320(_0x2e37a5-_0x2a45ec._0x4cf917,_0x5546f4-0xb,_0x4cf7b4- -0x4d2,_0x2e37a5);}const _0x32b0c8=new _0x5b3b49({'headingStyle':_0x4e573e(_0x32baba._0x4834d0,_0x32baba._0x1b3b14,-_0x32baba._0x1bd740,_0x32baba._0xffeae9),'codeBlockStyle':'fenced','bulletListMarker':'-'});return _0x32b0c8[_0x1e5f77(-0x1d3,-0xe9,-_0x32baba._0x1e0bc4,-0x74)](['script','style',_0x1e5f77(0x19b,_0x32baba._0x7c4b3a,-_0x32baba._0x679e5,0xe3),_0x4e573e(-_0x32baba._0x25b4c6,-_0x32baba._0x12ac38,_0x32baba._0x496098,-0x26),_0x4e573e(-_0x32baba._0x2733d3,-0x11a,_0x32baba._0x5760dd,0x54),_0x4e573e(0xcf,-_0x32baba._0x1e54c3,-_0x32baba._0x3803e3,-_0x32baba._0x2b6f24),'header',_0x1e5f77(-0x75,0x1,-_0x32baba._0x21944f,-_0x32baba._0x411e87)]),defineTool({'name':_0xb73040,'description':'Fetch\x20web\x20page\x20content\x20and\x20convert\x20to\x20Markdown\x20format','inputSchema':{'type':'object','properties':{'description':{'type':_0x1e5f77(_0x32baba._0x4fec3a,0x10b,_0x32baba._0x2d8112,0x22d)},'url':{'type':_0x4e573e(_0x32baba._0x2d02b2,_0x32baba._0x579369,-_0x32baba._0x2e0506,_0x32baba._0x22ed3c)}},'required':[_0x4e573e(-_0x32baba._0x49c3a8,-0x25d,-_0x32baba._0x2af181,-0xf9)]},async *'execute'(_0x2b126a,_0xabccbd){function _0x27f6ae(_0xf1b754,_0x1e752c,_0x39ab00,_0x28db35){return _0x4e573e(_0x1e752c,_0x1e752c-_0x4cab0a._0x5e60e2,_0x39ab00-_0x4cab0a._0x6b6933,_0x28db35-0x549);}const _0x3c2568=(await assertPublicUrl(_0x2b126a[_0x27f6ae(_0x428684._0x36db00,0x449,_0x428684._0x580ffe,_0x428684._0x470b67)],{'lookup':_0x56a634}))[_0x1bb0bb(0x340,0x2be,0x219,_0x428684._0x5ebc6c)]();if(_0xabccbd['signal'][_0x27f6ae(_0x428684._0x55e8fe,_0x428684._0x5d34ec,_0x428684._0x2c13e8,_0x428684._0x235286)])throw new ToolExecutionError(_0x27f6ae(0x4df,_0x428684._0x5cf4b8,_0x428684._0x5c1c97,0x424),{'url':_0x3c2568});const _0x518838=createTimeoutSignal(_0xabccbd[_0x27f6ae(_0x428684._0x52e42c,_0x428684._0x443fb1,0x394,0x4ae)],_0x10ebc5);let _0x22f81a='',_0x3ee7b4=0x0,_0x31dded;try{const _0x1a1e71=await safeFetch(_0x3c2568,{'headers':{'User-Agent':USER_AGENT},'signal':_0x518838[_0x1bb0bb(_0x428684._0x27721e,_0x428684._0x26cb93,_0x428684._0x51dbd7,_0x428684._0x3c13c5)]},{'lookup':_0x56a634});if(!_0x1a1e71['ok'])throw new ToolExecutionError('HTTP\x20'+_0x1a1e71[_0x27f6ae(_0x428684._0x36a0f7,0x51a,0x2af,_0x428684._0x188288)]+'\x20'+_0x1a1e71[_0x1bb0bb(0x291,0x31c,_0x428684._0x39bb12,0x3d8)],{'url':_0x3c2568,'statusCode':_0x1a1e71[_0x27f6ae(0x293,0x557,_0x428684._0x3daaf1,_0x428684._0x2d5839)]});_0x22f81a=_0x1a1e71[_0x1bb0bb(0x3c6,0x250,_0x428684._0x5dbf7d,0x1e0)][_0x1bb0bb(_0x428684._0x48541a,_0x428684._0x1a8901,_0x428684._0x40794b,_0x428684._0x1127fa)](_0x27f6ae(0x203,_0x428684._0x3a4198,0x320,0x358))??'',_0x3ee7b4=_0x1a1e71[_0x1bb0bb(0x1dc,_0x428684._0x44bb5e,_0x428684._0x422957,0x1c9)],_0x31dded=await _0x1a1e71[_0x1bb0bb(0x4f0,0x392,0x31c,0x46e)]();}catch(_0x2130a5){if(_0x2130a5 instanceof ToolExecutionError)throw _0x2130a5;const _0x3cfe80=_0x2130a5 instanceof Error?_0x2130a5[_0x27f6ae(0x569,_0x428684._0x54e486,_0x428684._0x82f8bf,0x5dc)]:String(_0x2130a5);throw new ToolExecutionError(_0x3cfe80,{'url':_0x3c2568});}finally{_0x518838[_0x27f6ae(0x374,0x37b,_0x428684._0x1c7903,0x395)]();}const _0x4527df=new Date()[_0x1bb0bb(_0x428684._0x1a8901,0x37d,0x4be,_0x428684._0x231674)]();let _0x367f23;function _0x1bb0bb(_0x142c7e,_0x28d162,_0x4692ca,_0x15b5c0){return _0x4e573e(_0x15b5c0,_0x28d162-_0x974687._0x485541,_0x4692ca-_0x974687._0xf50f21,_0x28d162-0x423);}let _0x178263;if(_0x22f81a['includes']('application/json'))_0x367f23='```json\x0a'+_0x31dded+_0x1bb0bb(0x370,0x27f,0x2ef,_0x428684._0x4f7c71),_0x178263=_0x1bb0bb(0x35d,0x2ef,_0x428684._0xafd0ee,0x285);else _0x22f81a[_0x1bb0bb(_0x428684._0x112aed,0x492,0x330,_0x428684._0x3332c7)](_0x1bb0bb(0x434,_0x428684._0x6733ac,_0x428684._0xcaf544,_0x428684._0x46945b))?(_0x367f23=_0x32b0c8[_0x27f6ae(_0x428684._0xf315b6,_0x428684._0x15c3ad,0x524,0x581)](_0x31dded),_0x178263='markdown'):(_0x367f23=_0x31dded,_0x178263=_0x1bb0bb(0x348,0x392,_0x428684._0x359c28,_0x428684._0x3046bc));return yield createToolOutput(_0x367f23,{'url':_0x3c2568,'contentType':_0x22f81a,'statusCode':_0x3ee7b4,'format':_0x178263,'size':_0x31dded[_0x1bb0bb(_0x428684._0x48bcb1,0x472,0x5cf,_0x428684._0x3fdd60)],'fetchedAt':_0x4527df}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2='Mozilla/5.0\x20(Windows\x20NT\x2010.0;\x20Win64;\x20x64)\x20AppleWebKit/537.36\x20Chrome/123.0.0.0\x20Safari/537.36\x20NuvinBot/1.0';function normalizeUrl(_0x431e8a){const _0x4b46c6={_0x44ef38:0x570,_0xc6a88a:0x535,_0x5b7002:0x632,_0x3307ae:0x4e2,_0x1daef6:0x643,_0x5a3a2c:0x4b,_0x1594f0:0x4d1},_0x582a0c={_0x1d23b8:0x102,_0x4fc59b:0x4a4},_0x4c9c80={_0x5edbe5:0x1,_0x37389f:0xa3,_0x911e6a:0x17d};function _0x51ba9d(_0x6f49d8,_0x587886,_0x171095,_0x302fef){return _0x3342ed(_0x6f49d8-_0x4c9c80._0x5edbe5,_0x6f49d8,_0x171095-_0x4c9c80._0x37389f,_0x302fef-_0x4c9c80._0x911e6a);}function _0x3fb126(_0x28f9d7,_0x50b236,_0x31f47c,_0x45c08d){return _0x257320(_0x28f9d7-_0x582a0c._0x1d23b8,_0x50b236-0x13,_0x45c08d- -_0x582a0c._0x4fc59b,_0x50b236);}try{const _0x62e904=new URL(_0x431e8a);for(const _0x3a0024 of['utm_source',_0x51ba9d(_0x4b46c6._0x44ef38,0x3f4,_0x4b46c6._0xc6a88a,_0x4b46c6._0x5b7002),'utm_campaign',_0x51ba9d(0x47b,_0x4b46c6._0x3307ae,0x583,_0x4b46c6._0x1daef6),_0x3fb126(0xcd,-_0x4b46c6._0x5a3a2c,-0x1c2,-0x5a),_0x51ba9d(0x44f,0x356,0x46d,_0x4b46c6._0x1594f0),'fbclid','mc_cid','mc_eid']){_0x62e904['searchParams'][_0x3fb126(0xd2,0x88,-0x32,-0x2d)](_0x3a0024);}return _0x62e904['toString']();}catch{return _0x431e8a;}}function cseDateRestrict(_0x58ec7f){const _0x1780aa={_0x5891a6:0xd7,_0x460c1b:0x20,_0x40a54a:0x22e,_0x47acc6:0x1c6,_0x1f919e:0x207,_0x352083:0x263,_0x3e88c0:0x142,_0x2ed28c:0x1f,_0x539044:0x3a,_0x23285c:0x5d9,_0x4a5cc8:0x4e0,_0x1375d7:0x464},_0x4ef3e3={_0x1c7877:0xd0},_0x155186={_0x58581a:0x191};if(_0x58ec7f<=0x0)return void 0x0;function _0x50a5e2(_0x3ba897,_0x4fc28e,_0x25bcf6,_0x3608c2){return _0x3342ed(_0x3ba897-_0x155186._0x58581a,_0x25bcf6,_0x3ba897- -0x181,_0x3608c2-0x11f);}function _0x453564(_0x5d7f97,_0x2d5daf,_0x28360b,_0x213a82){return _0x257320(_0x5d7f97-0x59,_0x2d5daf-_0x4ef3e3._0x1c7877,_0x28360b-0x217,_0x213a82);}if(_0x58ec7f<=0x1e)return'd'+Math[_0x50a5e2(_0x1780aa._0x5891a6,-0x21,_0x1780aa._0x460c1b,_0x1780aa._0x40a54a)](0x1,Math[_0x50a5e2(_0x1780aa._0x47acc6,_0x1780aa._0x1f919e,_0x1780aa._0x352083,0x116)](_0x58ec7f));if(_0x58ec7f<=0x16d)return'm'+Math[_0x50a5e2(0xbc,_0x1780aa._0x3e88c0,-_0x1780aa._0x2ed28c,-_0x1780aa._0x539044)](_0x58ec7f/0x1e);return'y'+Math[_0x453564(_0x1780aa._0x23285c,0x4e2,_0x1780aa._0x4a5cc8,_0x1780aa._0x1375d7)](_0x58ec7f/0x16d);}function addSiteFilters(_0x251902,_0x29c461){const _0x1a8eb9={_0x2b3e39:0x5d6,_0x2b783d:0x66e,_0x45fc64:0x154,_0x53767d:0x4fa,_0x33bd65:0x49a,_0x5b4774:0x381,_0x3e2dad:0x406,_0x12a14c:0x4e8,_0x14c994:0x197},_0x515dc7={_0x1505e1:0x10f};function _0x3253c6(_0xc4b277,_0x2611d0,_0x1a2228,_0x4548b6){return _0x3342ed(_0xc4b277-0x90,_0x2611d0,_0x1a2228-0xc4,_0x4548b6-0x1eb);}function _0x46f304(_0x5b7d4e,_0x3c247b,_0x4d16b4,_0x3fa72a){return _0x3342ed(_0x5b7d4e-_0x515dc7._0x1505e1,_0x3fa72a,_0x4d16b4- -0x184,_0x3fa72a-0x11b);}if(_0x29c461[_0x3253c6(_0x1a8eb9._0x2b3e39,0x57f,0x559,_0x1a8eb9._0x2b783d)]===0x0)return _0x251902[_0x46f304(-0x5b,0x74,0xb3,_0x1a8eb9._0x45fc64)]();return(_0x251902+'\x20('+_0x29c461['map'](_0x545b46=>_0x46f304(0x181,0x213,0x22c,0x169)+_0x545b46)[_0x3253c6(0x5b6,0x3aa,_0x1a8eb9._0x53767d,_0x1a8eb9._0x33bd65)](_0x3253c6(_0x1a8eb9._0x5b4774,_0x1a8eb9._0x3e2dad,0x4df,_0x1a8eb9._0x12a14c))+')')[_0x3253c6(0x430,0x41c,0x2fb,_0x1a8eb9._0x14c994)]();}function normalizeType(_0x20562a){const _0x20eb93={_0x23f832:0x762,_0x168fdf:0x837,_0x340170:0x762,_0x52aaf3:0x863,_0x5bd4f6:0x650,_0x2095b8:0x14b},_0x53ccc2={_0x47f4e2:0x10c,_0x122b13:0x206},_0x3617c7={_0x458c49:0x143,_0x1812a6:0x1e2};function _0xa50fc7(_0x5c3362,_0x5b8752,_0x34694e,_0x17d030){return _0x257320(_0x5c3362-0xde,_0x5b8752-_0x3617c7._0x458c49,_0x5c3362-_0x3617c7._0x1812a6,_0x5b8752);}function _0xbd5247(_0x3f2021,_0x32f002,_0xe35f9f,_0x290abf){return _0x257320(_0x3f2021-0xfe,_0x32f002-_0x53ccc2._0x47f4e2,_0x290abf- -_0x53ccc2._0x122b13,_0xe35f9f);}return _0x20562a===_0xa50fc7(_0x20eb93._0x23f832,0x731,_0x20eb93._0x168fdf,0x898)?_0xa50fc7(_0x20eb93._0x340170,_0x20eb93._0x52aaf3,_0x20eb93._0x5bd4f6,0x5f0):_0xbd5247(-0x13,0x24c,0x25c,_0x20eb93._0x2095b8);}async function fetchJson(_0x238780,_0xdc2185,_0x4a5f10){const _0x591778={_0x5b76e0:0x3bc,_0x1f1bfe:0x271,_0x2c7a61:0x47a,_0x39e480:0x3c9,_0xd350a2:0x3fc,_0x184fef:0x50b,_0x5b6613:0x684,_0x5daa19:0x61b,_0x156249:0x3d4,_0x5e8ee5:0x560,_0x52f040:0x53f,_0x309632:0x3b3,_0x25b913:0x3a1,_0x30e45d:0x5e9,_0x136533:0x506,_0x287229:0x5ac,_0x247589:0x5a9,_0xa4075f:0x29d,_0x17b6df:0x2e2,_0x8ea1c4:0x62f,_0x23987a:0x4ed,_0x211165:0x6eb,_0x55b049:0x52a,_0x31a41c:0x57e,_0x395716:0x3ca,_0x3698d2:0x528,_0x229283:0x4c8,_0x59ca28:0x2b1,_0x34a1f8:0x3e7,_0x1079c9:0x415,_0x479405:0x24a,_0x5834eb:0x212,_0x5496b0:0x5b6,_0x125816:0x368,_0x3b390e:0x495,_0x4c7c32:0x4a4,_0x543408:0x404,_0x471212:0x1b6,_0x3208cb:0xa1},_0x398135={_0x350282:0x18d},_0x490f6d={_0x1671d1:0xb5},_0x3afd38=await fetch(_0x238780,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x16c92f(_0x591778._0x5b76e0,_0x591778._0x1f1bfe,_0x591778._0x2c7a61,0x3ae),..._0x4a5f10?.[_0x16c92f(_0x591778._0x39e480,_0x591778._0xd350a2,0x51c,0x35d)]},'signal':_0xdc2185,..._0x4a5f10});if(!_0x3afd38['ok']){let _0x5e0cfd,_0x42e6d2;try{_0x5e0cfd=await _0x3afd38[_0x16c92f(_0x591778._0x184fef,_0x591778._0x5b6613,_0x591778._0x5daa19,_0x591778._0x156249)]();const _0x5b02e0=JSON[_0x16c92f(_0x591778._0x5e8ee5,_0x591778._0x52f040,0x68c,0x4a5)](_0x5e0cfd),_0x24685a=typeof _0x5b02e0[_0x3b36e9(_0x591778._0x309632,0x460,_0x591778._0x25b913,0x300)]==='object'?_0x5b02e0[_0x16c92f(_0x591778._0x30e45d,_0x591778._0x136533,_0x591778._0x287229,_0x591778._0x247589)]['error']:void 0x0;_0x42e6d2=_0x5b02e0[_0x3b36e9(_0x591778._0xa4075f,0x206,_0x591778._0x17b6df,0x28d)]?.[_0x16c92f(_0x591778._0x8ea1c4,_0x591778._0x23987a,_0x591778._0x211165,0x589)]??_0x5b02e0[_0x16c92f(_0x591778._0x55b049,_0x591778._0x31a41c,_0x591778._0x395716,0x582)]?.[_0x16c92f(0x5a8,_0x591778._0x3698d2,0x55a,_0x591778._0x229283)]?.[0x0]?.[_0x3b36e9(_0x591778._0x59ca28,0x545,_0x591778._0x34a1f8,_0x591778._0x1079c9)]??_0x24685a;}catch{}const _0x279740=_0x42e6d2?'HTTP\x20'+_0x3afd38[_0x3b36e9(_0x591778._0x479405,0x2b9,_0x591778._0x5834eb,0x333)]+':\x20'+_0x42e6d2:_0x16c92f(0x63a,0x76f,_0x591778._0x5496b0,0x66f)+_0x3afd38[_0x16c92f(0x45a,0x427,0x3f0,_0x591778._0x125816)]+'\x20'+_0x3afd38[_0x16c92f(_0x591778._0x3b390e,0x538,_0x591778._0x4c7c32,_0x591778._0x543408)];throw new ToolExecutionError(_0x279740,{'statusCode':_0x3afd38[_0x3b36e9(_0x591778._0x471212,_0x591778._0x3208cb,_0x591778._0x5834eb,0x152)],..._0x5e0cfd?{'body':_0x5e0cfd}:{}});}function _0x3b36e9(_0x5686e9,_0x9bb7b6,_0x3565c3,_0x222b27){return _0x257320(_0x5686e9-0x90,_0x9bb7b6-_0x490f6d._0x1671d1,_0x3565c3- -0x17e,_0x222b27);}function _0x16c92f(_0x1adf9a,_0x2ba145,_0x2d41e9,_0x3a0c7f){return _0x257320(_0x1adf9a-_0x398135._0x350282,_0x2ba145-0x4f,_0x1adf9a-0xca,_0x2ba145);}return await _0x3afd38['json']();}async function hydrateResults(_0x845ecb,_0x445fe2,_0x5c8741,_0x2ea1c6){const _0xa9c940={_0x52387b:0x12,_0x2bd72c:0x137,_0x18fd8b:0x93,_0x14c1ac:0x6cd},_0xf98e0f={_0x3c6160:0x11d,_0x39defd:0x32a},_0x49759f={_0x48cc0c:0x799,_0x2d28fc:0x721,_0x4732f3:0x4f7,_0x388521:0x78a,_0x53da1a:0x73c,_0x4a2fac:0x2c8,_0x211910:0x3fd,_0x4738b9:0x341,_0x40b395:0x1f7,_0x4a4cfc:0x2a1,_0x3cc18d:0x1f8,_0x364771:0x29d,_0x382e8c:0x3a3,_0x36a00b:0x4a8,_0x6b47a7:0x54b,_0x4d5431:0x598,_0x5e7905:0x5b0,_0xf39624:0x47b,_0x421adf:0x412,_0x51b16c:0x549,_0xe5b3ff:0x4ad,_0x2af356:0x521,_0x558550:0x53f,_0x2bc612:0x1e7,_0x459849:0x2ad,_0x59371a:0x331,_0x38a9df:0x2c3,_0x3265a9:0xea,_0x30b841:0x61a,_0x2256ac:0x75b,_0x550d36:0x774,_0x400dfa:0x266,_0xe2089a:0x2f9,_0x1ed485:0x1b1,_0x6430b0:0x6fb,_0x24c1b0:0x663,_0x36bfb1:0x5b3,_0x1ae993:0x48a,_0x43041b:0x6c9,_0x4a12de:0x872,_0x4f7eef:0x7c5,_0xb7470:0x6f2,_0x112ddd:0x2bf,_0x18dd61:0x16c,_0x34f032:0x368,_0x38dd9c:0x643,_0x2a447e:0x5c2,_0x58a701:0x472,_0x605820:0x4a2,_0x396189:0x14d,_0x4f48d4:0x225,_0xe6f2a3:0x35c,_0x27e118:0x15a,_0x2f3db1:0x213,_0x1501b4:0x669},_0x1742ff={_0x4751e2:0x1a2,_0x1cbcff:0x1bf,_0xa5398f:0x81};function _0x4a0c6f(_0x4828b7,_0x3e1403,_0x32a9f7,_0x2e269a){return _0x3342ed(_0x4828b7-_0x1742ff._0x4751e2,_0x2e269a,_0x32a9f7-_0x1742ff._0x1cbcff,_0x2e269a-_0x1742ff._0xa5398f);}const _0x326586=await Promise[_0x5673ed(-0xd3,-_0xa9c940._0x52387b,0x84,-0x28)](_0x845ecb[_0x5673ed(_0xa9c940._0x2bd72c,_0xa9c940._0x18fd8b,0x229,0x1ea)](0x0,0xa)['map'](async _0x5861e7=>{const _0x2fefac={_0x4e248d:0x1d9,_0x3b1029:0x7a},_0x549a36={_0x458c21:0x18f,_0x250b36:0x28d};function _0x137062(_0x5765cf,_0x1e8bd8,_0x14e872,_0x437ef2){return _0x4a0c6f(_0x5765cf-_0x549a36._0x458c21,_0x1e8bd8-0x194,_0x1e8bd8- -_0x549a36._0x250b36,_0x14e872);}function _0x38c959(_0x275d5c,_0x121bcc,_0xba25a6,_0x19fde0){return _0x4a0c6f(_0x275d5c-_0x2fefac._0x4e248d,_0x121bcc-_0x2fefac._0x3b1029,_0xba25a6-0x12b,_0x19fde0);}try{const _0xcf546f=await safeFetch(_0x5861e7[_0x38c959(_0x49759f._0x48cc0c,_0x49759f._0x2d28fc,0x637,_0x49759f._0x4732f3)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x445fe2,'Accept':_0x38c959(_0x49759f._0x388521,_0x49759f._0x53da1a,0x633,0x4e7)},'signal':_0x5c8741},{'lookup':_0x2ea1c6});if(!_0xcf546f['ok'])return _0x5861e7;const _0x2c1494=await _0xcf546f[_0x137062(_0x49759f._0x4a2fac,0x2e7,_0x49759f._0x211910,_0x49759f._0x4738b9)](),_0x1eeddf=load(_0x2c1494),_0x2fff0c=_0x1eeddf(_0x137062(_0x49759f._0x40b395,_0x49759f._0x4a4cfc,_0x49759f._0x3cc18d,_0x49759f._0x364771))['attr'](_0x137062(0x2b1,_0x49759f._0x382e8c,0x4aa,0x457))||_0x1eeddf(_0x38c959(_0x49759f._0x36a00b,0x553,_0x49759f._0x6b47a7,_0x49759f._0x4d5431))[_0x38c959(0x4c0,0x687,_0x49759f._0x5e7905,_0x49759f._0xf39624)]()[_0x137062(0x312,0x2e7,_0x49759f._0x421adf,0x313)]()[_0x38c959(_0x49759f._0x51b16c,_0x49759f._0xe5b3ff,_0x49759f._0x2af356,0x64b)](),_0x1b9ae0=_0x1eeddf(_0x38c959(_0x49759f._0x558550,0x5e4,0x593,0x42c))['attr']('content')||_0x1eeddf(_0x137062(_0x49759f._0x2bc612,0x29e,0x252,_0x49759f._0x459849))[_0x137062(0x30d,0x1fb,0x20d,_0x49759f._0x59371a)]('content')||_0x5861e7[_0x137062(0x32d,0x2e5,0x1bb,_0x49759f._0x38a9df)],_0x44232b=_0x1eeddf(_0x137062(_0x49759f._0x3265a9,0x1e2,0x8a,0xf8))[_0x137062(0xd5,0x1fb,0xde,0x93)](_0x38c959(0x87a,_0x49759f._0x30b841,_0x49759f._0x2256ac,_0x49759f._0x550d36))||_0x1eeddf(_0x137062(0x29d,_0x49759f._0x400dfa,_0x49759f._0xe2089a,_0x49759f._0x1ed485))[_0x38c959(_0x49759f._0x6430b0,_0x49759f._0x24c1b0,_0x49759f._0x36bfb1,_0x49759f._0x1ae993)](_0x38c959(_0x49759f._0x43041b,_0x49759f._0x4a12de,_0x49759f._0x4f7eef,0x74e))||_0x5861e7[_0x38c959(0x8a9,0x680,0x737,_0x49759f._0xb7470)],_0x304fc6=_0x1eeddf(_0x137062(0x37e,_0x49759f._0x112ddd,_0x49759f._0x18dd61,_0x49759f._0x34f032))[_0x38c959(_0x49759f._0x38dd9c,_0x49759f._0x2a447e,0x5b3,0x710)]('href');return{..._0x5861e7,'title':_0x2fff0c||_0x5861e7[_0x38c959(_0x49759f._0x58a701,0x535,_0x49759f._0x6b47a7,_0x49759f._0x605820)],'snippet':_0x1b9ae0,'url':_0x304fc6?normalizeUrl(new URL(_0x304fc6,_0x5861e7[_0x137062(_0x49759f._0x396189,0x27f,_0x49759f._0x4f48d4,_0x49759f._0xe6f2a3)])[_0x137062(_0x49759f._0x27e118,_0x49759f._0x2f3db1,0x1a0,0x1e6)]()):_0x5861e7[_0x38c959(0x54b,0x656,0x637,_0x49759f._0x1501b4)],'publishedAt':_0x44232b};}catch{return _0x5861e7;}})),_0x3bd441=new Map(_0x845ecb[_0x4a0c6f(0x5be,0x5af,0x647,_0xa9c940._0x14c1ac)](0x0,0xa)['map']((_0x12c0c,_0x28bf89)=>[_0x12c0c['url'],_0x326586[_0x28bf89]]));function _0x5673ed(_0x46b3aa,_0x284886,_0xb6420,_0x36b18e){return _0x257320(_0x46b3aa-_0xf98e0f._0x3c6160,_0x284886-0x18,_0x36b18e- -_0xf98e0f._0x39defd,_0x284886);}return _0x845ecb[_0x5673ed(0x6a,-0xd4,-0x16,-0xd)](_0x18a086=>_0x3bd441[_0x5673ed(0x103,0x53,0x179,0xdf)](_0x18a086[_0x5673ed(-0x4d,0x111,0x191,0xaf)])??_0x18a086);}function formatResults(_0x5511d5){const _0x1519c3={_0x26e27d:0x3dd,_0x3c5e50:0x440,_0x384457:0x4a4,_0x5b5d2e:0x5cd},_0x828e0f={_0x594fc1:0x53a,_0x274fca:0x346,_0x4ab00a:0x498,_0x4d52aa:0x3e5,_0x43cb32:0x4c9,_0x1f104a:0x38a,_0x364ac5:0x206,_0x5548eb:0x206,_0x475119:0x331,_0x46ac1a:0x29d,_0x5d0b3c:0x16e,_0x3a6561:0x5a9,_0x3107b0:0x256,_0x3459d0:0x4c9},_0x55b052={_0x449c6e:0x1d9,_0x4970ff:0x27b},_0x56eff4={_0x147ad5:0x24,_0x11e4c7:0x55,_0x385289:0x40},_0x4f2869={_0x5a873c:0x1d0,_0x418605:0x5c};function _0x287fe4(_0x2d5f9a,_0x1a141c,_0x577fa4,_0x367703){return _0x3342ed(_0x2d5f9a-0x18e,_0x577fa4,_0x1a141c-_0x4f2869._0x5a873c,_0x367703-_0x4f2869._0x418605);}if(_0x5511d5[_0x74ac9b(0x51a,_0x1519c3._0x26e27d,0x4d1,_0x1519c3._0x3c5e50)]===0x0)return _0x74ac9b(_0x1519c3._0x384457,0x5b1,_0x1519c3._0x5b5d2e,0x47b);function _0x74ac9b(_0x394fd0,_0x96df26,_0x45a0ce,_0x1e611c){return _0x3342ed(_0x394fd0-_0x56eff4._0x147ad5,_0x96df26,_0x1e611c- -_0x56eff4._0x11e4c7,_0x1e611c-_0x56eff4._0x385289);}return _0x5511d5['map'](_0x3c5921=>{const _0x3fcf47={_0x42d72:0x17f},_0xb35555=[_0x3c5921[_0x2dda45(0x5d8,_0x828e0f._0x594fc1,0x675,0x575)][_0x2dda45(_0x828e0f._0x274fca,_0x828e0f._0x4ab00a,_0x828e0f._0x4d52aa,_0x828e0f._0x43cb32)]+'.\x20'+_0x3c5921['title'],_0x3c5921[_0x504a1e(_0x828e0f._0x1f104a,0x2a2,0x179,_0x828e0f._0x364ac5)]];function _0x504a1e(_0x991092,_0x9cb05e,_0x5bad11,_0x1dbcca){return _0x287fe4(_0x991092-_0x55b052._0x449c6e,_0x9cb05e- -_0x55b052._0x4970ff,_0x991092,_0x1dbcca-0xff);}function _0x2dda45(_0x5d5de2,_0x484add,_0xaf89b9,_0x251092){return _0x74ac9b(_0x5d5de2-0x1b9,_0x5d5de2,_0xaf89b9-_0x3fcf47._0x42d72,_0x484add-0x251);}if(_0x3c5921['snippet'])_0xb35555[_0x504a1e(_0x828e0f._0x5548eb,0x234,0x223,_0x828e0f._0x475119)](_0x3c5921['snippet']);if(_0x3c5921['publishedAt'])_0xb35555['push'](_0x504a1e(_0x828e0f._0x46ac1a,0x171,0x130,_0x828e0f._0x5d0b3c)+_0x3c5921[_0x2dda45(0x6ce,0x649,_0x828e0f._0x3a6561,0x65f)]);return _0xb35555[_0x504a1e(_0x828e0f._0x3107b0,0x38b,0x21f,_0x828e0f._0x3459d0)]('\x0a');})['join']('\x0a\x0a');}async function searchOllama(_0x35f35d,_0x32b6e3,_0x4c8958){const _0x50ae26={_0x2b0205:0x23,_0x14048d:0x79,_0x334658:0x1b4,_0x1dae7e:0x1f7,_0x453d04:0x2c6,_0x5b1f35:0x150,_0xa42ba0:0xb4,_0x5ab12c:0xbe,_0x2931b3:0x55,_0xfdfce4:0xea,_0x1dae5:0x63,_0xa1ce8e:0x27,_0xb3ed06:0xc3,_0x2b1b33:0x1e,_0x421fa0:0x46,_0x431945:0x15b,_0x2b7911:0xa9,_0x2440d5:0x18a,_0x198047:0x22a,_0x18c41c:0x128,_0x536178:0x194,_0x415252:0x2ee,_0xbb03ba:0x24a},_0x542895={_0x1967e3:0x4da,_0x3064ec:0x4a0,_0x5a49a0:0x5cc,_0xed4ce3:0x651,_0x238bb1:0x3f8,_0x52ad8f:0x600,_0x2c1c69:0x5f0},_0x2141be={_0xffd3a5:0x15a},_0x234381={_0x473cf1:0x218,_0x354b4c:0x133},_0x2fc2df=Math['max'](0x1,Math[_0x3442c8(-_0x50ae26._0x2b0205,_0x50ae26._0x14048d,-0xb0,_0x50ae26._0x334658)](0xa,_0x32b6e3[_0x3442c8(0x42,0xb9,_0x50ae26._0x1dae7e,0x74)])),_0x802419=addSiteFilters(_0x32b6e3[_0x110b69(_0x50ae26._0x453d04,_0x50ae26._0x5b1f35,0x144,_0x50ae26._0xa42ba0)],_0x32b6e3[_0x3442c8(_0x50ae26._0x5ab12c,_0x50ae26._0x2931b3,_0x50ae26._0xfdfce4,-0x99)]);function _0x110b69(_0x138a27,_0x44c47e,_0x2900f6,_0xf0e115){return _0x3342ed(_0x138a27-0x88,_0x2900f6,_0x44c47e- -_0x234381._0x473cf1,_0xf0e115-_0x234381._0x354b4c);}function _0x3442c8(_0x13a63a,_0xaa518,_0x492d27,_0x508706){return _0x257320(_0x13a63a-0x12b,_0xaa518-_0x2141be._0xffd3a5,_0xaa518- -0x3ed,_0x508706);}const _0x75ec22=await fetchJson(_0x3442c8(_0x50ae26._0x1dae5,0xb4,0x1e,0x19d),_0x4c8958,{'method':_0x3442c8(0x11d,0x4,-0x4b,0x166),'headers':{'Authorization':_0x3442c8(_0x50ae26._0xa1ce8e,_0x50ae26._0xb3ed06,0x14c,0xc0)+_0x35f35d[_0x110b69(0xfe,_0x50ae26._0x2b1b33,-0x126,_0x50ae26._0x421fa0)]},'body':JSON[_0x110b69(0x123,_0x50ae26._0x431945,_0x50ae26._0x2b7911,0x256)]({'query':_0x802419,'max_results':_0x2fc2df})}),_0x597764=_0x75ec22[_0x3442c8(0x10f,_0x50ae26._0x2440d5,_0x50ae26._0x198047,0x51)]??[],_0x7a841=_0x597764[_0x3442c8(-_0x50ae26._0x18c41c,-0xd0,_0x50ae26._0x2931b3,-0x1e7)]((_0x4b174c,_0x548e8c)=>{const _0xed418c={_0xe77b8d:0x291},_0x172127={_0x45acae:0x1bb,_0x36162e:0x11d};function _0x5f0de7(_0x5dbfcb,_0x64456a,_0x464c8e,_0x328c2c){return _0x110b69(_0x5dbfcb-_0x172127._0x45acae,_0x328c2c-0x43d,_0x5dbfcb,_0x328c2c-_0x172127._0x36162e);}const _0x3ee984=_0x4b174c[_0x2ab322(_0x542895._0x1967e3,0x2b7,_0x542895._0x3064ec,0x3c6)]||'';let _0x51a9be;try{_0x51a9be=new URL(_0x3ee984)[_0x5f0de7(_0x542895._0x5a49a0,0x442,_0x542895._0xed4ce3,0x566)];}catch{_0x51a9be=null;}function _0x2ab322(_0x6883c3,_0xd5597c,_0x438cf2,_0x3a8ccc){return _0x110b69(_0x6883c3-0x143,_0x3a8ccc-_0xed418c._0xe77b8d,_0xd5597c,_0x3a8ccc-0x19a);}return{'title':_0x4b174c[_0x5f0de7(_0x542895._0x238bb1,0x5ac,0x464,0x486)]||_0x2ab322(0x591,0x5a1,_0x542895._0x52ad8f,0x4b4),'url':normalizeUrl(_0x3ee984),'snippet':_0x4b174c['content']??null,'displayUrl':_0x51a9be,'favicon':null,'publishedAt':null,'source':{'engine':_0x5f0de7(_0x542895._0x2c1c69,0x5d1,0x6ad,0x72b),'rank':_0x548e8c+0x1}};});return{'items':_0x7a841['slice'](0x0,_0x2fc2df),'engine':_0x110b69(_0x50ae26._0x536178,_0x50ae26._0x415252,_0x50ae26._0xbb03ba,0x37d)};}async function searchTavily(_0x540997,_0x12f582,_0x139b80){const _0x105dd2={_0x546e96:0x226,_0x47fd85:0x48f,_0x5cda67:0x11a,_0x30bce7:0x6f,_0x5a56b4:0x4d,_0x31d9ee:0x1d4,_0x38670e:0x3cf,_0x2939f2:0x329,_0x1693c7:0x144,_0xfd10ec:0x19e,_0x4b4b9d:0xd8,_0x2f201c:0x12c,_0x214c7a:0x114,_0xaea9ff:0x16e,_0x470c86:0x15c,_0x4a41c2:0x35d,_0x78a858:0x354,_0x294f9c:0x444,_0xc9ba89:0x497,_0x3e4ad4:0x43c,_0x4fb7e3:0x2e0,_0x4fb1fc:0x3a7,_0xc02542:0x1fe,_0x80e992:0x8a,_0x3c68f2:0xb1,_0xd95a9e:0x12,_0x4bafe5:0x102,_0x1605df:0xfb,_0x158f06:0x16,_0x49a2a6:0x25b,_0x37e0e3:0x10a,_0x1de729:0x31a,_0x54dd95:0x3ef,_0x10545d:0x1ed},_0xed0a2c={_0x5ec921:0x66c,_0x2ae3f6:0x573,_0x2994f2:0x545,_0x502bfe:0x5b6,_0xe2921a:0x3a8,_0x42a5b5:0x4b6,_0x53889a:0x549,_0x1bd881:0x53d,_0xbded04:0x734,_0x31daa9:0x669,_0x4993c5:0x548,_0x4cdf1c:0x2bb,_0xf33965:0x314},_0x5bb28b={_0x4aa366:0xe8,_0x4ef8ef:0x1ad,_0x4cc16f:0x4f3},_0x90d310=Math[_0xaac4b9(0x1ff,0x2ac,0x1d2,0x1bd)](0x1,Math[_0xaac4b9(0x381,_0x105dd2._0x546e96,0x305,_0x105dd2._0x47fd85)](0x14,_0x12f582[_0x28521c(-_0x105dd2._0x5cda67,_0x105dd2._0x30bce7,-_0x105dd2._0x5a56b4,0x4)])),_0x1b9c6e={'query':_0x12f582[_0xaac4b9(0x30f,_0x105dd2._0x31d9ee,0x264,0x26d)],'max_results':_0x90d310,'search_depth':_0x540997[_0xaac4b9(_0x105dd2._0x38670e,0x28e,_0x105dd2._0x2939f2,0x524)]??_0x28521c(-0x1ab,-_0x105dd2._0x1693c7,-0x42,-_0x105dd2._0xfd10ec),'topic':_0x540997[_0x28521c(-_0x105dd2._0x4b4b9d,-0x264,-_0x105dd2._0x2f201c,-_0x105dd2._0x214c7a)]??_0x28521c(-0x114,-0xaa,-_0x105dd2._0xaea9ff,-_0x105dd2._0x470c86)};function _0x28521c(_0x19ff70,_0x334bb3,_0x44a1b3,_0x43fe02){return _0x257320(_0x19ff70-_0x5bb28b._0x4aa366,_0x334bb3-_0x5bb28b._0x4ef8ef,_0x44a1b3- -_0x5bb28b._0x4cc16f,_0x43fe02);}if(_0x12f582[_0xaac4b9(_0x105dd2._0x4a41c2,_0x105dd2._0x78a858,_0x105dd2._0x294f9c,_0x105dd2._0xc9ba89)][_0xaac4b9(_0x105dd2._0x3e4ad4,_0x105dd2._0x4fb7e3,_0x105dd2._0x4fb1fc,0x52a)]>0x0)_0x1b9c6e[_0x28521c(-0x1a2,-0xf4,-0xde,-_0x105dd2._0xc02542)]=_0x12f582[_0x28521c(-0xe4,-_0x105dd2._0x80e992,-_0x105dd2._0x3c68f2,-0xdf)];const _0x5aae2e=await fetchJson(_0xaac4b9(0x481,0x314,0x34b,0x4d3),_0x139b80,{'method':_0x28521c(-_0x105dd2._0xd95a9e,-0x1f1,-_0x105dd2._0x4bafe5,-_0x105dd2._0x1605df),'headers':{'Authorization':_0x28521c(-0x10f,-_0x105dd2._0x158f06,-0x43,-0x3c)+_0x540997['tavilyApiKey'],'Content-Type':_0xaac4b9(0x20d,_0x105dd2._0x49a2a6,_0x105dd2._0x37e0e3,0x244)},'body':JSON[_0xaac4b9(_0x105dd2._0x1de729,0x3a0,_0x105dd2._0x54dd95,_0x105dd2._0x10545d)](_0x1b9c6e)});function _0xaac4b9(_0x3c4a48,_0x403fe9,_0x35a008,_0x48f2d9){return _0x257320(_0x3c4a48-0xd6,_0x403fe9-0x5,_0x3c4a48- -0xe5,_0x35a008);}const _0x46d613=_0x5aae2e['results']??[],_0x315f9a=_0x46d613['map']((_0x3ed79a,_0x2029ef)=>{const _0x5da367={_0x24fa76:0x1c3},_0x1dd3e1={_0xc108d0:0x1c2,_0x26c33e:0x569},_0xc08e22=_0x3ed79a[_0x5ea5be(_0xed0a2c._0x5ec921,_0xed0a2c._0x2ae3f6,_0xed0a2c._0x2994f2,_0xed0a2c._0x502bfe)]||'';function _0x241d39(_0x5a87df,_0x168b40,_0x3d8999,_0x29ec56){return _0x28521c(_0x5a87df-_0x1dd3e1._0xc108d0,_0x168b40-0xa1,_0x29ec56-_0x1dd3e1._0x26c33e,_0x168b40);}function _0x5ea5be(_0x2b350c,_0x256d19,_0x317854,_0x334a3c){return _0x28521c(_0x2b350c-_0x5da367._0x24fa76,_0x256d19-0x128,_0x317854-0x65f,_0x2b350c);}let _0x5bd826;try{_0x5bd826=new URL(_0xc08e22)['host'];}catch{_0x5bd826=null;}return{'title':_0x3ed79a[_0x241d39(0x342,_0xed0a2c._0xe2921a,0x4a9,0x363)]||_0x241d39(_0xed0a2c._0x42a5b5,0x5ad,_0xed0a2c._0x53889a,_0xed0a2c._0x1bd881),'url':normalizeUrl(_0xc08e22),'snippet':_0x3ed79a[_0x5ea5be(_0xed0a2c._0xbded04,0x78b,_0xed0a2c._0x31daa9,_0xed0a2c._0x4993c5)]??null,'displayUrl':_0x5bd826,'favicon':null,'publishedAt':null,'source':{'engine':_0x241d39(0x2c5,_0xed0a2c._0x4cdf1c,_0xed0a2c._0xf33965,0x404),'rank':_0x2029ef+0x1}};});return{'items':_0x315f9a['slice'](0x0,_0x90d310),'engine':_0x28521c(-0x27c,-0x266,-0x165,-0x252)};}async function searchGoogleCse(_0x5233e9,_0x1262a1,_0x2c874b){const _0x146fa3={_0x20d193:0x39e,_0x1dabfe:0x3b6,_0x18b279:0x364,_0x214050:0x409,_0x4f036d:0x6bd,_0x46d709:0x696,_0x4f4d57:0x5cb,_0x4b2a32:0x37f,_0xa33631:0x2cb,_0x4255ed:0x5ce,_0x10b644:0x567,_0x3931e5:0x46a,_0x48c05d:0x6c1,_0x385900:0x448,_0x2fac43:0x179,_0x3b18b1:0x1a2,_0x4c8b6e:0x8c,_0x5218cd:0x3b5,_0x598fdf:0x338,_0x6f1937:0x3d2,_0xa3213b:0x50,_0xff60d5:0x34e,_0x3362cf:0x379,_0x1969e6:0x497,_0x320a21:0x280,_0x355751:0x33a,_0x453817:0x37e,_0x44be0e:0x246,_0x56a71c:0x269,_0x1bb93d:0x22f,_0x10a82c:0x170,_0x1c7716:0x19f,_0x5ec052:0x179,_0x2dbdf0:0x1d8,_0x1f3b11:0x26b,_0x3a04c5:0x245,_0x3462be:0x4d6,_0x16105c:0x5ad,_0x5763c8:0x5f0,_0x107c41:0x343,_0x3bfe01:0x23e,_0x2de5b7:0x132,_0x22ae70:0x2ff,_0x13ac4b:0x590,_0x2cd4c1:0xfc,_0x2d5d97:0x4e7,_0x538528:0x60,_0x2d9034:0x179,_0x590e24:0xe9,_0x5e869e:0x59,_0x5e1426:0x387,_0x31a0c7:0x3a4,_0x34e096:0x322,_0x2635b0:0x3d5,_0x1062b5:0x7e,_0x23714e:0x3d0,_0x15ae63:0x4f7,_0x56965d:0xa8,_0x960d95:0x44,_0x529048:0x16e,_0x9467fa:0x1a8,_0x1d9abf:0x240,_0x57083e:0x1b9,_0x3cf47a:0x2d3,_0x891614:0x179,_0x419d11:0x25,_0x52dfb0:0x3d3,_0x16c4bb:0x2ae,_0x1c4a03:0x143,_0x4a84fa:0x74,_0x1c3a45:0x1a0,_0x406ae5:0x363,_0x38c541:0x219,_0x260539:0x4a,_0x7317e4:0x4d1,_0x5395df:0x492,_0x21d80d:0x9b,_0xfd7314:0x1e,_0x3a8ce3:0x36,_0x2e60f4:0x5a2,_0x4d82a9:0x544,_0xd78196:0x63b,_0x38f4c9:0x3f5,_0x2e9816:0x3b0,_0xa8a7bc:0x158,_0x5c44cf:0x144,_0x49ebea:0x19d,_0x2ee7b8:0x6da,_0x3e7ab5:0x6cf,_0x39ff9b:0x611,_0x53f274:0x5d3,_0x521ecf:0x6ad,_0x25d031:0x2c2,_0x3c2718:0x289,_0x4ace9d:0xa6,_0x73ee94:0x615,_0x1a925f:0x74b,_0x3a008e:0x543,_0x13d287:0x65,_0x3cca74:0xe4,_0x115aad:0x53,_0x51f187:0x16,_0x3796b6:0xb9,_0x27d2bd:0x29,_0x556248:0x196,_0x36becb:0x100},_0x529cb6={_0x2b4665:0x1b1,_0x493ce3:0x160},_0x353048={_0x105145:0x11f,_0x983f7f:0x45f},_0x3f02a4=Math[_0x4bf6ab(_0x146fa3._0x20d193,_0x146fa3._0x1dabfe,_0x146fa3._0x18b279,_0x146fa3._0x214050)](0x1,Math['min'](0x32,_0x1262a1[_0x4bf6ab(0x572,_0x146fa3._0x4f036d,_0x146fa3._0x46d709,_0x146fa3._0x4f4d57)]));function _0x1b3830(_0x1542ca,_0x1172e5,_0x155700,_0x13e728){return _0x3342ed(_0x1542ca-_0x353048._0x105145,_0x155700,_0x1172e5- -_0x353048._0x983f7f,_0x13e728-0xc2);}if(_0x1262a1['offset']+_0x3f02a4>0x64)throw new ToolExecutionError(_0x1b3830(-0x1ac,-0x216,-_0x146fa3._0x4b2a32,-_0x146fa3._0xa33631),{'offset':_0x1262a1['offset'],'count':_0x3f02a4,'maxResults':0x64});const _0x53f187=cseDateRestrict(_0x1262a1['recencyDays']),_0x350128=addSiteFilters(_0x1262a1['query'],_0x1262a1[_0x4bf6ab(0x45a,_0x146fa3._0x4255ed,0x65b,_0x146fa3._0x10b644)]);let _0x426ee7=0x0,_0x2611f9=_0x1262a1['offset']+0x1;const _0xdddb37=[];while(_0x426ee7<_0x3f02a4){const _0x5d7ec1=Math[_0x4bf6ab(_0x146fa3._0x3931e5,_0x146fa3._0x48c05d,_0x146fa3._0x385900,0x58b)](0xa,_0x3f02a4-_0x426ee7),_0x3e9d7c=new URL('https://www.googleapis.com/customsearch/v1');_0x3e9d7c[_0x1b3830(-0x83,-_0x146fa3._0x2fac43,-_0x146fa3._0x3b18b1,-_0x146fa3._0x4c8b6e)][_0x4bf6ab(0x373,_0x146fa3._0x5218cd,_0x146fa3._0x598fdf,_0x146fa3._0x6f1937)](_0x1b3830(0xd0,-_0x146fa3._0xa3213b,-0x60,-0x1c),_0x5233e9[_0x4bf6ab(0x549,0x576,_0x146fa3._0xff60d5,0x41b)]),_0x3e9d7c[_0x4bf6ab(0x587,_0x146fa3._0x3362cf,0x5ac,_0x146fa3._0x1969e6)][_0x4bf6ab(_0x146fa3._0x320a21,_0x146fa3._0x355751,_0x146fa3._0x453817,_0x146fa3._0x6f1937)]('cx',_0x5233e9['googleCseCx']),_0x3e9d7c[_0x1b3830(-_0x146fa3._0x44be0e,-_0x146fa3._0x2fac43,-0x191,-_0x146fa3._0x56a71c)][_0x1b3830(-_0x146fa3._0x1bb93d,-0x23e,-_0x146fa3._0x10a82c,-_0x146fa3._0x1c7716)]('q',_0x350128),_0x3e9d7c[_0x1b3830(-0x2a9,-_0x146fa3._0x5ec052,-0xac,-0x38)][_0x1b3830(-_0x146fa3._0x2dbdf0,-0x23e,-_0x146fa3._0x1f3b11,-_0x146fa3._0x3a04c5)]('num',String(_0x5d7ec1)),_0x3e9d7c[_0x4bf6ab(0x512,_0x146fa3._0x3462be,_0x146fa3._0x16105c,0x497)]['set']('start',String(_0x2611f9)),_0x3e9d7c[_0x4bf6ab(_0x146fa3._0x5763c8,_0x146fa3._0x107c41,0x50f,0x497)][_0x1b3830(-0x1fa,-_0x146fa3._0x3bfe01,-_0x146fa3._0x2de5b7,-_0x146fa3._0x22ae70)](_0x4bf6ab(_0x146fa3._0x13ac4b,0x684,0x55d,0x596),_0x1262a1[_0x1b3830(-0x180,-0x7a,0x60,-_0x146fa3._0x2cd4c1)]?_0x1b3830(-0x18f,-0x1e8,-0x13f,-0x21e):'off');_0x1262a1[_0x1b3830(-0x1c2,-0x23b,-0x271,-0xc5)]&&(_0x3e9d7c[_0x4bf6ab(0x425,_0x146fa3._0x2d5d97,0x5f1,_0x146fa3._0x1969e6)]['set']('hl',_0x1262a1['lang']),_0x3e9d7c[_0x1b3830(-_0x146fa3._0x538528,-_0x146fa3._0x2d9034,-_0x146fa3._0x590e24,-_0x146fa3._0x5e869e)][_0x1b3830(-0x2fe,-_0x146fa3._0x3bfe01,-0x1fd,-_0x146fa3._0x5e1426)]('lr','lang_'+_0x1262a1[_0x4bf6ab(0x485,_0x146fa3._0x31a0c7,_0x146fa3._0x34e096,_0x146fa3._0x2635b0)]));if(_0x1262a1['region'])_0x3e9d7c[_0x1b3830(-0x88,-_0x146fa3._0x2d9034,-_0x146fa3._0x1062b5,-0x12e)][_0x4bf6ab(_0x146fa3._0x23714e,0x3ee,_0x146fa3._0x15ae63,0x3d2)]('gl',_0x1262a1['region'][_0x1b3830(-_0x146fa3._0x56965d,_0x146fa3._0x960d95,_0x146fa3._0x529048,_0x146fa3._0x9467fa)]());if(_0x1262a1[_0x1b3830(-0x28d,-_0x146fa3._0x1d9abf,-_0x146fa3._0x57083e,-0x384)]==='images')_0x3e9d7c[_0x1b3830(-_0x146fa3._0x3cf47a,-_0x146fa3._0x891614,-_0x146fa3._0x419d11,-0x25a)][_0x4bf6ab(0x4bc,_0x146fa3._0x52dfb0,_0x146fa3._0x16c4bb,0x3d2)]('searchType',_0x1b3830(-_0x146fa3._0x1c4a03,-0x158,-_0x146fa3._0x4a84fa,-0x28));if(_0x53f187)_0x3e9d7c['searchParams'][_0x1b3830(-_0x146fa3._0x1c3a45,-0x23e,-_0x146fa3._0x406ae5,-_0x146fa3._0x38c541)](_0x1b3830(-0x59,-0xd5,0x92,-_0x146fa3._0x260539),_0x53f187);const _0x56af5e=await fetchJson(_0x3e9d7c[_0x4bf6ab(0x4f6,0x4f8,_0x146fa3._0x7317e4,_0x146fa3._0x5395df)](),_0x2c874b),_0x495654=_0x56af5e[_0x1b3830(-0x1cc,-0xa3,-0x100,_0x146fa3._0x21d80d)]??[];if(_0x495654['length']===0x0)break;const _0xd7ae25=_0x426ee7;for(let _0x287d0e=0x0;_0x287d0e<_0x495654[_0x1b3830(-_0x146fa3._0xfd7314,_0x146fa3._0x3a8ce3,0x14b,-0x68)];_0x287d0e++){const _0x1a596e=_0x495654[_0x287d0e];if(!_0x1a596e)continue;const _0x440f41=_0x1a596e[_0x4bf6ab(0x645,_0x146fa3._0x2e60f4,0x564,_0x146fa3._0x4d82a9)]||_0x1a596e['image']?.[_0x4bf6ab(_0x146fa3._0xd78196,_0x146fa3._0x38f4c9,_0x146fa3._0x2e9816,0x4fc)]||'',_0x16567c=_0x1a596e['title']||_0x1a596e[_0x1b3830(-0x24,-_0x146fa3._0xa8a7bc,-_0x146fa3._0x5c44cf,-0x12a)]?.[_0x1b3830(-_0x146fa3._0x49ebea,-0x1fe,-0x335,-0x2f4)]||'Untitled',_0x3f9a00=_0x1a596e[_0x1b3830(-0x214,-0xac,-_0x146fa3._0x9467fa,-0x98)]||_0x1a596e[_0x4bf6ab(_0x146fa3._0x2ee7b8,_0x146fa3._0x3e7ab5,0x60f,_0x146fa3._0x39ff9b)]?.[_0x4bf6ab(0x5f2,_0x146fa3._0x53f274,_0x146fa3._0x521ecf,0x6b5)](/<[^>]+>/g,''),_0x481194=_0x1a596e[_0x1b3830(-0x1ec,-0x1f1,-_0x146fa3._0x25d031,-_0x146fa3._0x3c2718)]?.['metatags']?.[0x0]??{};let _0x12f14e;try{_0x12f14e=new URL(_0x440f41)['host'];}catch{_0x12f14e=null;}_0xdddb37['push']({'title':_0x16567c,'url':normalizeUrl(_0x440f41),'snippet':_0x3f9a00??null,'displayUrl':_0x12f14e,'favicon':null,'publishedAt':_0x481194['article:published_time']||_0x481194[_0x1b3830(_0x146fa3._0x4ace9d,-0x8e,-0x1cf,-0xba)]||null,'source':{'engine':_0x4bf6ab(0x7be,_0x146fa3._0x73ee94,0x773,0x6a6),'rank':_0xd7ae25+_0x287d0e+0x1}});}_0x426ee7+=_0x495654[_0x4bf6ab(_0x146fa3._0x1a925f,_0x146fa3._0x3a008e,0x78d,0x646)],_0x2611f9+=_0x495654[_0x1b3830(-_0x146fa3._0x13d287,_0x146fa3._0x3a8ce3,-0x2c,_0x146fa3._0x3cca74)];if(_0x495654[_0x1b3830(-0x106,_0x146fa3._0x3a8ce3,_0x146fa3._0x115aad,-_0x146fa3._0x51f187)]<_0x5d7ec1)break;}function _0x4bf6ab(_0x119efb,_0x5d9aba,_0x10e482,_0x30a0db){return _0x3342ed(_0x119efb-0x162,_0x10e482,_0x30a0db-_0x529cb6._0x2b4665,_0x30a0db-_0x529cb6._0x493ce3);}return _0xdddb37[_0x1b3830(_0x146fa3._0x3796b6,_0x146fa3._0x27d2bd,_0x146fa3._0x556248,-_0x146fa3._0x36becb)](0x0,_0x3f02a4);}function isGoogleCseEngine(_0x12a526){const _0x9d002a={_0x3fe732:0x141,_0x54cf2f:0x18b};function _0x4e41e3(_0x505439,_0x5509bc,_0x25e007,_0xfc4e25){return _0x3342ed(_0x505439-_0x9d002a._0x3fe732,_0xfc4e25,_0x5509bc-0x304,_0xfc4e25-_0x9d002a._0x54cf2f);}return _0x4e41e3(0x460,0x56e,0x539,0x6ab)in _0x12a526;}function isOllamaEngine(_0xd1af88){const _0x2c4010={_0x16e453:0x9d},_0x30db01={_0x713cf7:0x199};function _0xabf615(_0x304535,_0xbd6ad7,_0x115c7f,_0x2857b6){return _0x3342ed(_0x304535-0x12f,_0x304535,_0xbd6ad7- -_0x30db01._0x713cf7,_0x2857b6-0x14e);}return _0xabf615(0x15,_0x2c4010._0x16e453,-0x13,0x48)in _0xd1af88;}function isTavilyEngine(_0x5c97ca){const _0x247120={_0x4e6d92:0x45a,_0x146bb7:0x493},_0x43a561={_0x342c51:0x1d0,_0x2de173:0xc6};function _0x2a4510(_0x3c7540,_0x38251e,_0x22f91c,_0x411dd4){return _0x257320(_0x3c7540-_0x43a561._0x342c51,_0x38251e-0x145,_0x38251e-_0x43a561._0x2de173,_0x3c7540);}return _0x2a4510(0x45e,_0x247120._0x4e6d92,_0x247120._0x146bb7,0x5ba)in _0x5c97ca;}function createWebSearchTool(_0x346250){const _0x5d06a5={_0x537cb2:0x3be,_0x13b495:0x27d,_0x271f66:0x1f0,_0x5d872f:0x391,_0x22b6db:0x57,_0x192176:0x8e,_0x5042c7:0x2e1,_0x5adeed:0x28e,_0x3aa0d1:0xec,_0x4de44e:0x207,_0x4319ff:0x199,_0x4e0355:0x3b7,_0x17faab:0x27c,_0x2d4e79:0x212,_0x401504:0x273,_0x28f636:0x240,_0x36ea1a:0x12e,_0x4740f7:0x312,_0x2803d6:0x10,_0x464aa6:0x81,_0x1d94c2:0x40e,_0x7e605b:0x333,_0x1a5e8f:0x3ae,_0x38947c:0x3d6,_0x23a37c:0x1a,_0x48622a:0x105,_0x2bd755:0xc5,_0x6f2418:0x85,_0x1c9d78:0x12b,_0x2a1f87:0x38,_0xc4a363:0x384,_0x3a70ea:0x3bf},_0x29b175={_0x49a530:0x1d,_0x27e0f1:0x16b,_0x26da1a:0x110,_0x25271f:0x1d4,_0xfb2002:0x2af,_0x511b7b:0x98,_0x5627cf:0x6d,_0x1fa765:0x127,_0x2ad45e:0x44,_0x2e1ba0:0xe0,_0x4a32d0:0x65,_0x57f432:0x83,_0x1c6376:0x73,_0x428ffc:0x15a,_0x23e102:0xff,_0x156856:0x110,_0x41471b:0xdf,_0x462805:0x8d,_0x3d4ed9:0x1c6,_0x16ef27:0x15b,_0x41dfcf:0x1b6,_0x2ed770:0x1d6,_0x286359:0x25a,_0x33e584:0x4a,_0x3e4d46:0x79,_0x29c91a:0x7a,_0x728333:0x30,_0xd36efb:0x33,_0x1e6887:0x1bd,_0x4e4ba5:0x1c2,_0x25a6e1:0x3ad,_0x2da58f:0x2af,_0x23896e:0x239,_0x958398:0xb9,_0x569055:0xf5,_0x530f6d:0x7f,_0x1c62fb:0x23d,_0x1f091d:0x96,_0x28882c:0x9f,_0x7a7562:0x1da,_0x21ee34:0x12,_0x4989db:0x8e,_0x31be69:0x14f,_0x33ba56:0x32b,_0x2b3c20:0x25b,_0x1eb8ec:0x2c,_0x25a28f:0xd8,_0x1a094a:0x3d,_0x1ab415:0x4e,_0x437b99:0x144,_0x42ac43:0x190,_0x3473a6:0x90,_0x38fd98:0x116,_0x13a9d1:0x24,_0x26586f:0x29e,_0x89fd22:0x31a,_0xf9bdb2:0x2c,_0x349dfc:0x124,_0x5b03d4:0x2a,_0x1c9b2c:0x140,_0x595af2:0x140,_0x58da0d:0x8a,_0x4ce398:0xee,_0x21311a:0x37,_0x5a6ae9:0x2,_0x3f1cec:0x9a,_0x7c5878:0xd3,_0xa1cc89:0x1f1,_0x411e15:0x9a,_0x472bd2:0x1fb,_0xce4499:0xd6,_0x239a37:0x2a1,_0x1d66c7:0x244,_0x14c38f:0x15b,_0xc5a915:0x24d,_0x5d8f20:0x16f,_0x4e01c0:0x1e3,_0x4626f4:0x92,_0x13796e:0x10e,_0x23864c:0x13c,_0x189ac8:0x36,_0x5dcf10:0xf7,_0x363085:0x3e,_0x3a95ad:0x116,_0x8bda7e:0x185,_0x294bcb:0x23c},_0x371922={_0x170511:0x234,_0x2708f9:0x15d,_0x4f9e26:0x1b,_0x487573:0x11a,_0x476aa6:0x244,_0x1856ac:0x416,_0x4afb2d:0x41e},_0x5d1c4b={_0xa9c129:0x43,_0x5aef9e:0x6,_0x48f780:0x142},_0x445411={_0x25a99f:0x121,_0x57fe:0x2f3,_0x1c1ebc:0x5};if(!_0x346250['engines']||_0x346250[_0x106f7a(0x29e,0x3c7,0x501,_0x5d06a5._0x537cb2)][_0x4f5d3c(_0x5d06a5._0x13b495,0x1a2,0x267,0xff)]===0x0)throw new Error(_0x106f7a(0x406,_0x5d06a5._0x271f66,_0x5d06a5._0x5d872f,0x34c));const _0x2d543d=_0x346250['name']??_0x4f5d3c(-_0x5d06a5._0x22b6db,0x2c,0xa3,_0x5d06a5._0x192176),_0x4e333c=_0x346250['lookup'];function _0x4f5d3c(_0x13b58e,_0x34ed4b,_0x13f55c,_0x2e5f1d){return _0x3342ed(_0x13b58e-_0x445411._0x25a99f,_0x13b58e,_0x34ed4b- -_0x445411._0x57fe,_0x2e5f1d-_0x445411._0x1c1ebc);}function _0x106f7a(_0x4da876,_0x85864a,_0x1a9847,_0x2d1ed5){return _0x257320(_0x4da876-_0x5d1c4b._0xa9c129,_0x85864a-_0x5d1c4b._0x5aef9e,_0x2d1ed5- -_0x5d1c4b._0x48f780,_0x1a9847);}return defineTool({'name':_0x2d543d,'description':_0x106f7a(_0x5d06a5._0x5042c7,0x220,_0x5d06a5._0x5adeed,0x1c8),'inputSchema':{'type':_0x4f5d3c(-_0x5d06a5._0x3aa0d1,-0x8f,-_0x5d06a5._0x4de44e,-0xf3),'properties':{'description':{'type':_0x4f5d3c(0x2ab,_0x5d06a5._0x4319ff,0x6a,0x265)},'query':{'type':'string'},'count':{'type':_0x106f7a(0x1e1,_0x5d06a5._0x4e0355,0x372,_0x5d06a5._0x17faab)},'offset':{'type':'number'},'domains':{'type':_0x4f5d3c(0x14d,_0x5d06a5._0x2d4e79,_0x5d06a5._0x401504,0x1aa),'items':{'type':_0x4f5d3c(_0x5d06a5._0x28f636,_0x5d06a5._0x4319ff,_0x5d06a5._0x36ea1a,_0x5d06a5._0x4740f7)}},'recencyDays':{'type':_0x4f5d3c(0x5a,0x3f,-_0x5d06a5._0x2803d6,-_0x5d06a5._0x464aa6)},'lang':{'type':_0x106f7a(_0x5d06a5._0x1d94c2,_0x5d06a5._0x7e605b,_0x5d06a5._0x1a5e8f,_0x5d06a5._0x38947c)},'region':{'type':'string'},'safe':{'type':_0x4f5d3c(0x5f,-_0x5d06a5._0x23a37c,_0x5d06a5._0x48622a,-_0x5d06a5._0x2bd755)},'type':{'type':_0x4f5d3c(_0x5d06a5._0x6f2418,0x199,_0x5d06a5._0x1c9d78,_0x5d06a5._0x2a1f87)},'hydrateMeta':{'type':'boolean'}},'required':[_0x106f7a(_0x5d06a5._0xc4a363,0x168,_0x5d06a5._0x3a70ea,0x2b2)]},async *'execute'(_0x36f4f6,_0x197175){const _0x52a31d={_0x5a7581:0x18f},_0x340ce6={_0x33e1b6:0xdc},_0x345251=_0x36f4f6['query']['trim']();if(!_0x345251)throw new ToolExecutionError(_0x28b00b(-0x13d,-0x1cc,-_0x29b175._0x49a530,-0x19a));const _0x33848a={'query':_0x345251,'count':Math[_0x28b00b(-0x127,-_0x29b175._0x27e0f1,-0x279,-_0x29b175._0x26da1a)](0x1,Math['min'](0x32,Math[_0x8fea5d(-0x1c0,-0x2df,-_0x29b175._0x25271f,-_0x29b175._0xfb2002)](_0x36f4f6[_0x8fea5d(-0x45,-_0x29b175._0x511b7b,-0x1bc,-_0x29b175._0x5627cf)]??0xa))),'offset':Math[_0x28b00b(-_0x29b175._0x1fa765,-0x1f9,0x4d,-_0x29b175._0x2ad45e)](0x0,Math[_0x28b00b(-_0x29b175._0x2e1ba0,-0x1e4,-0x1d7,-0x71)](_0x36f4f6[_0x8fea5d(_0x29b175._0x4a32d0,_0x29b175._0x57f432,_0x29b175._0x1c6376,-0xa1)]??0x0)),'domains':_0x36f4f6[_0x8fea5d(-0xa9,-0x5b,-0x1ff,-_0x29b175._0x428ffc)]??[],'recencyDays':Math[_0x28b00b(-0x127,-_0x29b175._0x23e102,-0xad,-_0x29b175._0x156856)](0x0,Math['trunc'](_0x36f4f6[_0x8fea5d(0x9a,_0x29b175._0x41471b,-_0x29b175._0x462805,_0x29b175._0x3d4ed9)]??0x0)),'lang':_0x36f4f6[_0x28b00b(-_0x29b175._0x16ef27,-_0x29b175._0x41dfcf,-_0x29b175._0x2ed770,-_0x29b175._0x286359)]??'en','region':_0x36f4f6[_0x28b00b(0x92,0x1ee,_0x29b175._0x33e584,_0x29b175._0x3e4d46)]??'','safe':_0x36f4f6[_0x8fea5d(-_0x29b175._0x29c91a,_0x29b175._0x728333,_0x29b175._0xd36efb,-_0x29b175._0x1e6887)]??!![],'type':normalizeType(_0x36f4f6[_0x8fea5d(-0x240,-0xf0,-_0x29b175._0x4e4ba5,-0x326)]),'hydrateMeta':_0x36f4f6[_0x8fea5d(-0x23c,-_0x29b175._0x25a6e1,-_0x29b175._0x2da58f,-_0x29b175._0x23896e)]??![]};let _0x10cd4f=[],_0x23441f=_0x8fea5d(-_0x29b175._0x958398,-0x84,-0x1b9,-0x9e);function _0x8fea5d(_0x319773,_0x4e9abc,_0x44615e,_0x288775){return _0x106f7a(_0x319773-0x9a,_0x4e9abc-_0x340ce6._0x33e1b6,_0x44615e,_0x319773- -0x3a9);}for(const _0x17fb66 of _0x346250[_0x28b00b(_0x29b175._0x569055,_0x29b175._0x530f6d,_0x29b175._0x1c62fb,0x162)]){try{if(isGoogleCseEngine(_0x17fb66))_0x10cd4f=await searchGoogleCse(_0x17fb66,_0x33848a,_0x197175['signal']),_0x23441f=_0x8fea5d(_0x29b175._0x1f091d,_0x29b175._0x28882c,_0x29b175._0x7a7562,-_0x29b175._0x21ee34);else{if(isOllamaEngine(_0x17fb66)){const _0x46fc6e=await searchOllama(_0x17fb66,_0x33848a,_0x197175[_0x8fea5d(-0xb4,-0x2,_0x29b175._0x4989db,-_0x29b175._0x31be69)]);_0x10cd4f=_0x46fc6e[_0x28b00b(0x3d,-0x78,0x142,0x10a)],_0x23441f=_0x46fc6e[_0x8fea5d(-0x247,-0x25c,-_0x29b175._0x33ba56,-_0x29b175._0x2b3c20)];}else{if(isTavilyEngine(_0x17fb66)){const _0x3b5565=await searchTavily(_0x17fb66,_0x33848a,_0x197175[_0x28b00b(_0x29b175._0x1eb8ec,-0x2e,-0xc2,-_0x29b175._0x25a28f)]);_0x10cd4f=_0x3b5565[_0x28b00b(_0x29b175._0x1a094a,-0x13b,-_0x29b175._0x1ab415,_0x29b175._0x437b99)],_0x23441f=_0x3b5565[_0x28b00b(-0x167,-_0x29b175._0x42ac43,-_0x29b175._0x3473a6,-0x17)];}}}if(_0x10cd4f[_0x8fea5d(0x36,0x3,0xef,0x14a)]>0x0)break;}catch(_0x490d16){if(_0x17fb66===_0x346250['engines'][_0x346250['engines'][_0x28b00b(_0x29b175._0x38fd98,0x242,_0x29b175._0x462805,_0x29b175._0x13a9d1)]-0x1])throw _0x490d16;}}_0x33848a['hydrateMeta']&&_0x10cd4f[_0x8fea5d(0x36,0x50,0x160,0xc)]>0x0&&(_0x10cd4f=await hydrateResults(_0x10cd4f,_0x33848a[_0x8fea5d(-0x23b,-0x195,-_0x29b175._0x26586f,-_0x29b175._0x89fd22)],_0x197175[_0x28b00b(_0x29b175._0xf9bdb2,_0x29b175._0x349dfc,-_0x29b175._0x5b03d4,-_0x29b175._0x1c9b2c)],_0x4e333c));const _0x2a495f=new Set();_0x10cd4f=_0x10cd4f[_0x28b00b(-0x9c,0x4c,-_0x29b175._0x595af2,_0x29b175._0x58da0d)](_0x20b4d9=>{const _0xf6730b={_0x3fc07c:0x3f,_0x2f43d8:0x114},_0x55a12e={_0x4160a3:0x22c},_0x246b5b=_0x20b4d9[_0x1abdbe(_0x371922._0x170511,_0x371922._0x2708f9,_0x371922._0x4f9e26,_0x371922._0x487573)]['toLowerCase']();function _0x1abdbe(_0xd2d2d7,_0xf7823,_0x1f8c50,_0x500d57){return _0x8fea5d(_0x500d57-_0x55a12e._0x4160a3,_0xf7823-0x14,_0xf7823,_0x500d57-0x36);}if(!_0x246b5b||_0x2a495f['has'](_0x246b5b))return![];_0x2a495f[_0x1abdbe(_0x371922._0x476aa6,_0x371922._0x1856ac,_0x371922._0x4afb2d,0x2b3)](_0x246b5b);function _0x48d844(_0x19c215,_0x5e7518,_0x1c6158,_0x43dfc2){return _0x8fea5d(_0x19c215-0x25a,_0x5e7518-_0xf6730b._0x3fc07c,_0x1c6158,_0x43dfc2-_0xf6730b._0x2f43d8);}return!![];}),_0x10cd4f=_0x10cd4f[_0x28b00b(-_0x29b175._0x4ce398,-0x7b,0x36,-0xfc)]((_0x53505e,_0x33d54e)=>({..._0x53505e,'source':{..._0x53505e[_0x8fea5d(-0x121,0x31,-0x1c9,-0x18b)],'rank':_0x33d54e+0x1}}));const _0x3444a0={};if(_0x33848a[_0x28b00b(_0x29b175._0x21311a,_0x29b175._0x5a6ae9,-0xb6,0xa0)][_0x28b00b(0x116,0xc7,0x143,0x51)]>0x0)_0x3444a0['domains']=_0x33848a['domains'];if(_0x33848a[_0x8fea5d(_0x29b175._0x3f1cec,-0x1b,-_0x29b175._0x7c5878,_0x29b175._0xa1cc89)]>0x0)_0x3444a0[_0x8fea5d(_0x29b175._0x411e15,_0x29b175._0x472bd2,-0x8b,-_0x29b175._0xce4499)]=_0x33848a[_0x28b00b(0x17a,_0x29b175._0x239a37,0x126,_0x29b175._0x1d66c7)];if(_0x33848a[_0x28b00b(-_0x29b175._0x14c38f,-0x262,-0x1e4,-_0x29b175._0xc5a915)]!=='en')_0x3444a0[_0x8fea5d(-0x23b,-_0x29b175._0x5d8f20,-0x167,-0x279)]=_0x33848a[_0x8fea5d(-0x23b,-0x1f3,-0x382,-_0x29b175._0x4e01c0)];if(_0x33848a[_0x28b00b(0x92,0xab,0x1c1,0x1f)])_0x3444a0[_0x28b00b(_0x29b175._0x4626f4,-0x2b,_0x29b175._0x13796e,0xe)]=_0x33848a[_0x28b00b(_0x29b175._0x4626f4,-0x4c,0x10d,_0x29b175._0x23864c)];yield createToolOutput(formatResults(_0x10cd4f),{'engine':_0x23441f,'count':_0x10cd4f[_0x8fea5d(_0x29b175._0x189ac8,_0x29b175._0x511b7b,-0x79,0x1)],'items':_0x10cd4f,'query':_0x33848a[_0x8fea5d(-_0x29b175._0x5dcf10,-0xcc,_0x29b175._0x363085,-0x9a)],...Object[_0x28b00b(-0xfb,-0x53,-0x83,-0xfb)](_0x3444a0)[_0x28b00b(_0x29b175._0x3a95ad,-0xc,_0x29b175._0x8bda7e,0xda)]>0x0?{'appliedFilters':_0x3444a0}:{},'offset':_0x33848a['offset'],'totalRequested':_0x33848a['count'],'hydrated':_0x33848a[_0x8fea5d(-_0x29b175._0x294bcb,-0x15c,-0x279,-_0x29b175._0x2e1ba0)]});function _0x28b00b(_0x27af3a,_0x51a4fd,_0x59c7d3,_0x3ed54b){return _0x106f7a(_0x27af3a-_0x52a31d._0x5a7581,_0x51a4fd-0x10f,_0x51a4fd,_0x27af3a- -0x2c9);}return void 0x0;}});}export{BackgroundProcessRegistry,ToolExecutionError,ToolRegistry,assertWorkspaceFile,buildMcpHttpHeaders,connectMcpServer,createAskUserTool,createAssignTaskTool,createBashOutputTool,createBashTool,createDelegateToAgentTool,createDelegationTools,createFileEditTool,createFileNewTool,createFileReadTool,createGlobTool,createGrepTool,createInternalToolRuntime,createInvokeCommandTool,createKillShellTool,createLoadSkillTool,createLsTool,createLspService,createLspTool,createMcpOAuthProvider,createMcpTool,createMcpToolName,createMcpToolsFromServers,createMockToolRuntime,createShellExecTool,createTodoWriteTool,createToolOutput,createUpdateTopicTool,createViewFileTool,createWebFetchTool,createWebSearchTool,defineTool,deriveFinalToolOutput,filepath,files,isProbablyBinary,normalizeToolOutputValue,resolveAllowedPath,resolveDelegatedAgentOptions,resolveWorkspacePath,search,toNuvinToolSchema,truncateToolOutput,validateToolInput};
1
+ (function(_0xeb9a45,_0xc02a2){const _0x3b6652={_0x442f5f:0xd0,_0xb3ea3f:0x39,_0x19be2f:0x25e,_0x4842f8:0x1ab,_0x5276d4:0x279,_0x11d2c3:0xa3,_0xd7cdf9:0x18c,_0x512a4c:0xcf,_0x434f13:0x11b,_0x4c3c8a:0x8,_0x2eb39f:0x117,_0x5756ec:0x11f,_0x1d71dc:0x16,_0x1b0d51:0x33,_0x540543:0x65,_0x5393bf:0x160},_0x2bbb07={_0x140ad0:0x135},_0x49af15={_0x4f8a31:0x3ae};function _0x36fbc4(_0x42c977,_0x4ad417,_0x2a42b7,_0x150b1a){return _0x1b39(_0x42c977- -_0x49af15._0x4f8a31,_0x2a42b7);}const _0x3453a8=_0xeb9a45();function _0x43e434(_0x27079a,_0x45737f,_0x5c29af,_0x40a640){return _0x1b39(_0x40a640- -_0x2bbb07._0x140ad0,_0x5c29af);}while(!![]){try{const _0x5aff78=-parseInt(_0x43e434(0xe9,-0x9c,-0x4a,_0x3b6652._0x442f5f))/0x1+parseInt(_0x43e434(0x3a,0x234,_0x3b6652._0xb3ea3f,0xf3))/0x2+parseInt(_0x36fbc4(-0x207,-0x237,-_0x3b6652._0x19be2f,-0x275))/0x3+-parseInt(_0x36fbc4(-0x1b8,-_0x3b6652._0x4842f8,-_0x3b6652._0x5276d4,-_0x3b6652._0x11d2c3))/0x4*(-parseInt(_0x36fbc4(-_0x3b6652._0xd7cdf9,-0x2df,-0x1bc,-0x33))/0x5)+parseInt(_0x43e434(-_0x3b6652._0x512a4c,-_0x3b6652._0x434f13,-0xf6,0x2a))/0x6+parseInt(_0x43e434(-_0x3b6652._0x4c3c8a,_0x3b6652._0x2eb39f,_0x3b6652._0x5756ec,-_0x3b6652._0x1d71dc))/0x7+-parseInt(_0x36fbc4(-_0x3b6652._0x1b0d51,-_0x3b6652._0x540543,0x18,-_0x3b6652._0x5393bf))/0x8;if(_0x5aff78===_0xc02a2)break;else _0x3453a8['push'](_0x3453a8['shift']());}catch(_0x575d1b){_0x3453a8['push'](_0x3453a8['shift']());}}}(_0x2430,0xd51a8));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,validateToolInput}from'../chunk-FKZ3QQWZ.js';import{getTextFromMessage}from'../chunk-QDOE7NWO.js';import'../chunk-FFIZ6TKW.js';import{addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';import{fileURLToPath}from'url';import{readFile}from'fs/promises';import{pathToFileURL}from'url';import{createMessageConnection,StreamMessageReader,StreamMessageWriter}from'vscode-jsonrpc/node.js';import _0x5dde50 from'path';var EXTENSION_TO_LANGUAGE={'.ts':_0x4d9604(0x247,0x42c,0x2f2,0x340),'.tsx':_0x2853b9(0x68d,0x62e,0x5d2,0x6db),'.js':'javascript','.jsx':_0x4d9604(0x2ff,0x1da,0x250,0x382),'.mjs':_0x2853b9(0x4b2,0x572,0x49f,0x3d4),'.cjs':_0x4d9604(0x11a,0x280,0x195,0x258),'.mts':_0x4d9604(0x3ed,0x18f,0x2f2,0x2c1),'.cts':_0x2853b9(0x5fe,0x63b,0x5fc,0x571),'.json':'json','.jsonc':_0x4d9604(-0x24,-0x92,0x85,0x1bd)};function getLanguageId(_0xb2b03b){const _0x1cd28d={_0x227302:0xb3};function _0x3bdeab(_0x55d02e,_0x1ccae3,_0x5d8d6e,_0x1fd5de){return _0x2853b9(_0x55d02e-0x69,_0x1ccae3-0x134,_0x1fd5de- -0x2e3,_0x1ccae3);}return EXTENSION_TO_LANGUAGE[_0x5dde50['extname'](_0xb2b03b)[_0x3bdeab(0xfd,0x10b,_0x1cd28d._0x227302,0xb2)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8;function uriForPath(_0x459eb8){const _0x32a54b={_0x303db5:0x5},_0x4bfbe3={_0x4e498b:0x174};function _0x4630c0(_0x5530cd,_0x256da7,_0x13a99e,_0x313670){return _0x4d9604(_0x5530cd-_0x4bfbe3._0x4e498b,_0x13a99e,_0x313670- -0x3a,_0x313670-0x14);}return pathToFileURL(_0x459eb8)[_0x4630c0(0x22f,-_0x32a54b._0x303db5,0x17d,0x154)]();}function textDocumentPosition(_0xe3fdf2){const _0x4215b5={_0x163db1:0x403,_0x3ad564:0x4bf,_0x316a86:0x55d},_0xed5537={_0x563f14:0x128},_0x29b16a={_0x880b81:0xd0,_0x45bc91:0x592};function _0x2f5d9b(_0x3bcfb6,_0x48796c,_0x3979bd,_0x4b0380){return _0x2853b9(_0x3bcfb6-0x15f,_0x48796c-_0x29b16a._0x880b81,_0x4b0380- -_0x29b16a._0x45bc91,_0x48796c);}function _0x2a3464(_0x10f183,_0x16ad8c,_0x4041e5,_0x119fa4){return _0x2853b9(_0x10f183-_0xed5537._0x563f14,_0x16ad8c-0x81,_0x10f183- -0x123,_0x16ad8c);}return{'textDocument':{'uri':uriForPath(_0xe3fdf2[_0x2f5d9b(0x18,-0x64,-0xd5,0xb)])},'position':{'line':_0xe3fdf2[_0x2a3464(0x4db,_0x4215b5._0x163db1,_0x4215b5._0x3ad564,_0x4215b5._0x316a86)],'character':_0xe3fdf2['character']}};}function normalizeLocations(_0x274d02){if(!_0x274d02)return[];return Array['isArray'](_0x274d02)?_0x274d02:[_0x274d02];}async function createLspClient(_0x1e1e63){const _0x55fca3={_0x2d5014:0x10d,_0x3a22a2:0x5a,_0x19ae75:0xe1,_0x3270ef:0x4ac,_0x4d6d2f:0x3eb,_0x43ee14:0x9f,_0x4243f9:0x3f6,_0x39a576:0x13b,_0x2ec37d:0x99,_0x5750d0:0x1f7,_0x4efe0c:0xd4,_0xe8e8a4:0x1bd,_0x70f4f:0x51,_0x49f095:0x12e,_0x256178:0x96,_0x3bd4e4:0x3e8,_0x334241:0x498,_0x3abc5d:0x285,_0x388606:0x2e,_0x49cb86:0x104,_0x2020d8:0xe8,_0x1d1f27:0x210,_0x2722d3:0x527,_0x27a578:0x3de,_0x25acac:0xf,_0x2292ca:0x147,_0x42257b:0x143,_0x51ce79:0xce,_0x5f5b0c:0x113,_0x48cb67:0xa6},_0x4e3c8c={_0x54ba20:0x1b4,_0x3772cd:0x1f0,_0x10b1c0:0xbe,_0x401c7d:0x1c7,_0x3409f3:0xac,_0x31f6e1:0x53,_0x49cbd3:0x71,_0x57f265:0x9e,_0xcc7238:0x9a,_0x597d46:0x1ca,_0x4490bd:0x12d,_0x2c680d:0xf0,_0x211b73:0x1ea,_0x53a0fe:0x56},_0x42437b={_0x27a27a:0xd5,_0x1421e8:0xde},_0x225df4={_0x5c640f:0xa9},_0x4f00cb={_0x1bddfe:0x5ac,_0x26aa50:0x5e2,_0x146cf9:0x6f2},_0xf1142b={_0x335716:0x117,_0x29f825:0x7c,_0x14df59:0x72},_0x1ed162={_0x4a4187:0xf5},_0x248e03={_0x1f207e:0x403,_0x2bd721:0x3e5,_0x6e731f:0x348,_0x403b4f:0x2a4},_0x5efa57={_0x156cc5:0x12,_0x443f8f:0x126},_0x30609b={_0x1d0590:0x574,_0x3b7757:0x1e0},_0x18da11={_0x1e3b19:0xb,_0x3048a4:0xd0,_0x518985:0xe3},_0x5c3b24={_0x4b2f2f:0xcf,_0x5533a3:0x11d,_0x1d8290:0x8c},_0x5dc8e2={_0x4506ce:0x3ef},_0x1c769c={_0x477c55:0x114},_0x5c4c72={_0x465b72:0x126,_0x37b359:0x1ca},_0x1171cb={_0xab68ee:0x31,_0x32a21b:0x13e,_0x3d4883:0x1dd},_0x401f2f={_0x762580:0x8d},_0x157173={_0x3ef142:0x424,_0x4858de:0x41c,_0x181cc2:0x3c3},_0x384ff3={_0x217368:0x5d,_0x8f2338:0xf8,_0x514c25:0x49},_0x306d98={_0x36d6f6:0x3f1,_0x1374b7:0x3d7,_0x2bb6ab:0x2f4,_0x50c9d7:0x36e,_0x21adb0:0x65b,_0x1ece9c:0x746,_0xfcea69:0x776,_0x411e8b:0x580,_0x4daba1:0x5d2,_0x311c75:0x605},_0x4850bd={_0x9fccf:0x25d,_0x5e818b:0x734,_0x12e13d:0x66b,_0xe95e2a:0x3bb,_0x5719ba:0x13a,_0xf9b1ad:0x145},_0x102d21={_0x2de319:0xf1},_0x955630={_0x5ec0f0:0x619,_0x3e543c:0x274,_0x150752:0x1d1,_0x3a7e35:0x6d,_0x364302:0x6f,_0x3b25dc:0x2b,_0x20e5b:0xfd,_0x5bc8d3:0x120,_0x26c0d5:0xcb,_0x43e4c6:0x68,_0x22f18b:0xde},_0x7caa61={_0x4eaaba:0x3e5,_0x1b5f7f:0x194},_0x6a25d7={_0xc24c66:0x1ca,_0x42d4b:0x485},_0x14a1e5={_0x88e8f0:0xd3,_0x42519d:0x7f};function _0x4cba34(_0x1935cd,_0x5b2e69,_0x4c006a,_0x134771){return _0x4d9604(_0x1935cd-_0x14a1e5._0x88e8f0,_0x134771,_0x1935cd-0x1d4,_0x134771-_0x14a1e5._0x42519d);}const _0x390079=_0x1e1e63['handle'][_0x2d7b55(0x1d4,_0x55fca3._0x2d5014,-_0x55fca3._0x3a22a2,_0x55fca3._0x19ae75)][_0x4cba34(0x4f0,0x57d,_0x55fca3._0x3270ef,0x3c9)];function _0x2d7b55(_0x2a94b5,_0x4308bc,_0x28541b,_0x36e891){return _0x2853b9(_0x2a94b5-_0x6a25d7._0xc24c66,_0x4308bc-0x26,_0x4308bc- -_0x6a25d7._0x42d4b,_0x28541b);}const _0x18294c=_0x1e1e63[_0x4cba34(0x33c,0x3d6,0x2ca,_0x55fca3._0x4d6d2f)]['process'][_0x2d7b55(-_0x55fca3._0x43ee14,0x24,0x22,0x117)];if(!_0x390079||!_0x18294c)throw new Error('LSP\x20server\x20process\x20must\x20expose\x20stdout\x20and\x20stdin\x20streams');const _0x96958f=createMessageConnection(new StreamMessageReader(_0x390079),new StreamMessageWriter(_0x18294c)),_0x4865ac=new Map(),_0x1dbe61=new Map();let _0x34fbc5=![];_0x96958f['onNotification'](_0x4cba34(0x286,_0x55fca3._0x4243f9,0x21d,0x181),_0x149280=>{const _0x234a61={_0x57f3eb:0x136};_0x4865ac['set'](_0x149280[_0x4400a4(0x5b2,_0x955630._0x5ec0f0,0x5eb,0x4e1)],_0x149280[_0x27bd39(-0x39,-_0x955630._0x3e543c,-0x173,-_0x955630._0x150752)]);const _0x38325c=_0x1dbe61[_0x27bd39(-0x36,-0x101,-_0x955630._0x3a7e35,-0x6e)](_0x149280[_0x27bd39(_0x955630._0x364302,-_0x955630._0x3b25dc,0xc3,_0x955630._0x20e5b)]);if(!_0x38325c)return;function _0x27bd39(_0x574d2a,_0x50122b,_0x4071cb,_0x1fbefd){return _0x4cba34(_0x4071cb- -_0x7caa61._0x4eaaba,_0x50122b-0x27,_0x4071cb-_0x7caa61._0x1b5f7f,_0x1fbefd);}_0x1dbe61[_0x27bd39(-_0x955630._0x5bc8d3,_0x955630._0x26c0d5,-_0x955630._0x43e4c6,_0x955630._0x22f18b)](_0x149280['uri']);function _0x4400a4(_0x5795a3,_0xb0a321,_0x1ac9ff,_0x5d0538){return _0x2d7b55(_0x5795a3-_0x234a61._0x57f3eb,_0x1ac9ff-0x492,_0xb0a321,_0x5d0538-0xc9);}for(const _0xd6b2a of _0x38325c)_0xd6b2a();}),_0x96958f[_0x2d7b55(_0x55fca3._0x39a576,_0x55fca3._0x2ec37d,0xd,_0x55fca3._0x5750d0)]();const _0x32a2f1=await _0x96958f[_0x2d7b55(_0x55fca3._0x4efe0c,_0x55fca3._0xe8e8a4,0x2fe,_0x55fca3._0x4efe0c)](_0x2d7b55(_0x55fca3._0x70f4f,0x6d,_0x55fca3._0x49f095,_0x55fca3._0x256178),{'processId':process[_0x2d7b55(-0x15c,-0x54,-0x67,0x3)],'rootUri':uriForPath(_0x1e1e63['root']),'workspaceFolders':[{'uri':uriForPath(_0x1e1e63[_0x4cba34(0x38b,_0x55fca3._0x3bd4e4,_0x55fca3._0x334241,_0x55fca3._0x3abc5d)]),'name':_0x1e1e63[_0x2d7b55(0x58,-_0x55fca3._0x2ec37d,-0x14c,-_0x55fca3._0x388606)]['id']}],'initializationOptions':_0x1e1e63['handle'][_0x2d7b55(-_0x55fca3._0x49cb86,-_0x55fca3._0x2020d8,-_0x55fca3._0x1d1f27,-0x31)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':['markdown','plaintext']},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});_0x96958f[_0x4cba34(0x4f4,_0x55fca3._0x2722d3,_0x55fca3._0x27a578,0x598)]('initialized',{});const _0xc6c74a={'serverId':_0x1e1e63[_0x2d7b55(-_0x55fca3._0x25acac,-_0x55fca3._0x2ec37d,-0x178,0x3e)]['id'],'root':_0x1e1e63[_0x2d7b55(_0x55fca3._0x2292ca,0x3c,0x19b,_0x55fca3._0x2ec37d)],'connection':_0x96958f,'diagnostics':_0x4865ac,'capabilities':_0x32a2f1[_0x2d7b55(-_0x55fca3._0x42257b,-_0x55fca3._0x51ce79,-_0x55fca3._0x5f5b0c,-_0x55fca3._0x48cb67)]??{},'notify':{async 'open'({path:_0x2260c2}){const _0x21fff3={_0x4963b1:0xc3};function _0x5e0121(_0x121a69,_0x202b42,_0x4307df,_0x230881){return _0x4cba34(_0x121a69- -0x4cc,_0x202b42-0x14c,_0x4307df-_0x102d21._0x2de319,_0x202b42);}const _0x564d9f=await readFile(_0x2260c2,_0x5e0121(-_0x4850bd._0x9fccf,-0x39f,-0x2d2,-0x2de));function _0x42dd4e(_0x5a0548,_0x4de05b,_0x11f672,_0x48ef97){return _0x2d7b55(_0x5a0548-_0x21fff3._0x4963b1,_0x11f672-0x4c6,_0x48ef97,_0x48ef97-0xe5);}_0x96958f[_0x42dd4e(_0x4850bd._0x5e818b,0x664,_0x4850bd._0x12e13d,0x6e1)](_0x42dd4e(0x2ba,_0x4850bd._0xe95e2a,0x405,0x2aa),{'textDocument':{'uri':uriForPath(_0x2260c2),'languageId':getLanguageId(_0x2260c2)??_0x5e0121(-_0x4850bd._0x5719ba,-0x117,-0x1e7,-_0x4850bd._0xf9b1ad),'version':0x1,'text':_0x564d9f}});},async 'change'({path:_0x4c4968,version:_0x1704fb}){const _0x503473={_0x45f387:0xc4};function _0x2a8084(_0x3fa7db,_0x5956f4,_0x1f652a,_0x5dd4e6){return _0x2d7b55(_0x3fa7db-0x9,_0x3fa7db-0x4b6,_0x1f652a,_0x5dd4e6-0x43);}function _0x1a56b0(_0x286af4,_0x1fc493,_0x5f173c,_0x411713){return _0x4cba34(_0x5f173c- -0x563,_0x1fc493-_0x503473._0x45f387,_0x5f173c-0x27,_0x1fc493);}const _0x423a8f=await readFile(_0x4c4968,_0x1a56b0(-_0x306d98._0x36d6f6,-_0x306d98._0x1374b7,-_0x306d98._0x2bb6ab,-_0x306d98._0x50c9d7));_0x96958f[_0x2a8084(_0x306d98._0x21adb0,_0x306d98._0x1ece9c,_0x306d98._0xfcea69,0x5c9)](_0x2a8084(_0x306d98._0x411e8b,_0x306d98._0x4daba1,_0x306d98._0x311c75,0x4d1),{'textDocument':{'uri':uriForPath(_0x4c4968),'version':_0x1704fb},'contentChanges':[{'text':_0x423a8f}]});},async 'close'({path:_0x172869}){function _0x103056(_0x58adf1,_0x2a81f3,_0x58a8df,_0x5cf802){return _0x4cba34(_0x2a81f3-_0x384ff3._0x217368,_0x2a81f3-_0x384ff3._0x8f2338,_0x58a8df-_0x384ff3._0x514c25,_0x58a8df);}function _0x28cf4e(_0xe60757,_0x335c47,_0x376d6c,_0x321fc7){return _0x2d7b55(_0xe60757-0x16e,_0xe60757-0x2d8,_0x376d6c,_0x321fc7-0x1e4);}_0x96958f[_0x28cf4e(0x47d,0x370,_0x157173._0x3ef142,_0x157173._0x4858de)](_0x103056(0x3ab,_0x157173._0x181cc2,0x36c,0x2bc),{'textDocument':{'uri':uriForPath(_0x172869)}});}},'request':{async 'definition'(_0xf38789){const _0x483194={_0x5c4b24:0x1bd,_0x10e757:0x1ce};function _0x2de729(_0x29d3d7,_0x714a66,_0x447e6b,_0x322d3b){return _0x2d7b55(_0x29d3d7-_0x483194._0x5c4b24,_0x714a66-0x19e,_0x447e6b,_0x322d3b-_0x483194._0x10e757);}return normalizeLocations(await _0x96958f['sendRequest'](_0x2de729(0x28e,0x2b5,0x249,0x410),textDocumentPosition(_0xf38789)));},async 'references'(_0x1d9e47){function _0x495665(_0x3244e1,_0x3fe9ce,_0x5e2693,_0x1644bc){return _0x2d7b55(_0x3244e1-_0x401f2f._0x762580,_0x3244e1- -0x1ee,_0x3fe9ce,_0x1644bc-0x183);}function _0x2ade2a(_0x52b671,_0x4f35f5,_0xf46211,_0x1cce98){return _0x4cba34(_0x1cce98- -0x14d,_0x4f35f5-0x19f,_0xf46211-0x85,_0x52b671);}return normalizeLocations(await _0x96958f[_0x495665(-_0x1171cb._0xab68ee,_0x1171cb._0x32a21b,-0x136,0x121)](_0x2ade2a(0x2d4,_0x1171cb._0x3d4883,0x189,0x1e3),{...textDocumentPosition(_0x1d9e47),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x4f7b3c){const _0x24aca8={_0x909c49:0x15c,_0x4324c0:0x11b};function _0x53fe08(_0xad513f,_0x11b5fb,_0x417eb7,_0x2b58df){return _0x4cba34(_0xad513f-_0x5c4c72._0x465b72,_0x11b5fb-0x185,_0x417eb7-_0x5c4c72._0x37b359,_0x2b58df);}function _0x5171bd(_0x5c470a,_0x4f224e,_0x313f2e,_0x2cf5d1){return _0x4cba34(_0x313f2e- -0x4ee,_0x4f224e-_0x24aca8._0x909c49,_0x313f2e-_0x24aca8._0x4324c0,_0x4f224e);}return await _0x96958f[_0x5171bd(-0x2f,0x18a,0x1e,0x8e)](_0x53fe08(0x49a,0x344,0x49f,0x40f),textDocumentPosition(_0x4f7b3c))??null;},async 'documentSymbol'(_0x7e4b67){const _0x422c11={_0x4e8c6d:0x126,_0x35994f:0x1db};function _0x47a95e(_0x45f24e,_0x347460,_0x11ae99,_0x35a1ea){return _0x2d7b55(_0x45f24e-_0x422c11._0x4e8c6d,_0x35a1ea-0xc,_0x347460,_0x35a1ea-_0x422c11._0x35994f);}return await _0x96958f['sendRequest'](_0x47a95e(0x15a,_0x1c769c._0x477c55,0x104,0xc9),{'textDocument':{'uri':uriForPath(_0x7e4b67)}})??[];},async 'workspaceSymbol'(_0xd95302){function _0x4fc9c5(_0x3ab826,_0x44b105,_0x1953d2,_0x262aee){return _0x4cba34(_0x44b105- -_0x5dc8e2._0x4506ce,_0x44b105-0xe9,_0x1953d2-0x1d,_0x3ab826);}return await _0x96958f[_0x4fc9c5(_0x5c3b24._0x4b2f2f,_0x5c3b24._0x5533a3,_0x5c3b24._0x1d8290,0x38)]('workspace/symbol',{'query':_0xd95302})??[];},async 'implementation'(_0x2e1cb6){const _0x3bcbca={_0x3e9751:0x1c8},_0x6ab5c={_0x5f08df:0x410};function _0x29f752(_0xadaa12,_0x4e208f,_0x8ad24e,_0x324549){return _0x4cba34(_0xadaa12- -_0x6ab5c._0x5f08df,_0x4e208f-0x1e7,_0x8ad24e-0x1a8,_0x324549);}function _0x52709d(_0x102ed4,_0xe82894,_0xaed9f0,_0xf8a63c){return _0x2d7b55(_0x102ed4-0x6b,_0xaed9f0- -_0x3bcbca._0x3e9751,_0x102ed4,_0xf8a63c-0x1d2);}return normalizeLocations(await _0x96958f[_0x52709d(0x8a,-0x128,-_0x18da11._0x1e3b19,-_0x18da11._0x3048a4)](_0x52709d(0x119,0x37,-0x10,-_0x18da11._0x518985),textDocumentPosition(_0x2e1cb6)));},async 'prepareCallHierarchy'(_0x371746){return await _0x96958f['sendRequest']('textDocument/prepareCallHierarchy',textDocumentPosition(_0x371746))??[];},async 'incomingCalls'(_0x4f4810){function _0x407a97(_0x38d8b1,_0x269baf,_0xff5eb4,_0x5f20d5){return _0x2d7b55(_0x38d8b1-0x18,_0x269baf- -0x121,_0x38d8b1,_0x5f20d5-0x1a1);}function _0x2cec71(_0x3c3b72,_0x4899a3,_0x212e81,_0x359aa4){return _0x4cba34(_0x359aa4- -_0x30609b._0x1d0590,_0x4899a3-_0x30609b._0x3b7757,_0x212e81-0x30,_0x3c3b72);}return await _0x96958f[_0x2cec71(_0x5efa57._0x156cc5,-0x1b1,-0x171,-0x68)](_0x2cec71(-0xc0,-_0x5efa57._0x443f8f,0x41,-0xa6),{'item':_0x4f4810})??[];},async 'outgoingCalls'(_0x351125){function _0x41b870(_0x4657c1,_0x2f7608,_0x352425,_0x8b5287){return _0x2d7b55(_0x4657c1-0x11b,_0x352425-0x32b,_0x4657c1,_0x8b5287-0x92);}return await _0x96958f['sendRequest'](_0x41b870(_0x248e03._0x1f207e,_0x248e03._0x2bd721,_0x248e03._0x6e731f,_0x248e03._0x403b4f),{'item':_0x351125})??[];}},'waitForDiagnostics'({path:_0x1b9ef4,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x514ff6={_0x37ac4f:0x117,_0x2b6935:0x4},_0x5ce738={_0x59af82:0x42a,_0x1a6776:0x3fe,_0x5c774c:0x45d,_0x3a2b62:0x450,_0x32d034:0x4d3,_0x1f79ce:0x372,_0x3b5034:0x9f},_0x269cae={_0x500473:0x4c5,_0x4e2a74:0x15b},_0x533e27=uriForPath(_0x1b9ef4);function _0x3971e3(_0x479743,_0x308b9b,_0x41a02f,_0x558f1a){return _0x4cba34(_0x308b9b-_0x1ed162._0x4a4187,_0x308b9b-0xc9,_0x41a02f-0x8c,_0x558f1a);}function _0x1684cc(_0x519a80,_0x4e330e,_0x5ba445,_0x146954){return _0x2d7b55(_0x519a80-0x1a9,_0x519a80-_0x269cae._0x500473,_0x4e330e,_0x146954-_0x269cae._0x4e2a74);}if(_0x4865ac[_0x3971e3(0x57a,_0x4f00cb._0x1bddfe,0x685,_0x4f00cb._0x26aa50)](_0x533e27))return Promise[_0x1684cc(0x5f4,0x5ac,_0x4f00cb._0x146cf9,0x61e)]();return new Promise(_0xb53171=>{const _0x4318da={_0x4d12fd:0x150};function _0x4b3a10(_0x2dba58,_0x397f42,_0x592044,_0x499448){return _0x1684cc(_0x2dba58- -0x4fb,_0x499448,_0x592044-0x118,_0x499448-0xdb);}const _0x4db5f4=setTimeout(()=>{const _0x1f894b={_0x4900f6:0x261},_0x263a74=_0x1dbe61[_0x37b640(0x44b,_0x5ce738._0x59af82,_0x5ce738._0x1a6776,_0x5ce738._0x5c774c)](_0x533e27);_0x263a74?.[_0x37b640(_0x5ce738._0x3a2b62,_0x5ce738._0x32d034,0x4de,_0x5ce738._0x1f79ce)](_0x1af7df);function _0x37b640(_0x4eac24,_0x521913,_0x918419,_0x136983){return _0x1b39(_0x4eac24-_0x1f894b._0x4900f6,_0x521913);}if(_0x263a74?.['size']===0x0)_0x1dbe61[_0x4eb88b(0xad,-0x66,_0x5ce738._0x3b5034,0xe1)](_0x533e27);function _0x4eb88b(_0x2d673e,_0x3ebf82,_0x5a3200,_0x5ccd32){return _0x1b39(_0x5a3200- -_0x4318da._0x4d12fd,_0x3ebf82);}_0xb53171();},timeoutMs),_0x1af7df=()=>{clearTimeout(_0x4db5f4),_0xb53171();},_0x3cca92=_0x1dbe61[_0x4b3a10(-0xd,0x11f,-0x60,_0xf1142b._0x335716)](_0x533e27)??new Set();_0x3cca92[_0x21631f(-0x7a,-0x6a,_0xf1142b._0x29f825,-_0xf1142b._0x14df59)](_0x1af7df);function _0x21631f(_0x14eaa4,_0x424783,_0x3be053,_0x335b17){return _0x1684cc(_0x424783- -0x5fd,_0x335b17,_0x3be053-_0x514ff6._0x37ac4f,_0x335b17-_0x514ff6._0x2b6935);}_0x1dbe61['set'](_0x533e27,_0x3cca92);});},async 'shutdown'(){function _0x344713(_0xb327f5,_0x4c03cb,_0x3c410f,_0x2fe63d){return _0x2d7b55(_0xb327f5-0x15a,_0x3c410f-_0x225df4._0x5c640f,_0x2fe63d,_0x2fe63d-0x126);}if(_0x34fbc5)return;function _0xf606d6(_0x24c8ce,_0x3ee149,_0x1e30cb,_0x19ff39){return _0x4cba34(_0x3ee149-_0x42437b._0x27a27a,_0x3ee149-_0x42437b._0x1421e8,_0x1e30cb-0x14d,_0x1e30cb);}_0x34fbc5=!![];try{await _0x96958f[_0x344713(_0x4e3c8c._0x54ba20,0x175,0x266,0x2a2)](_0x344713(_0x4e3c8c._0x3772cd,-_0x4e3c8c._0x10b1c0,0xb2,_0x4e3c8c._0x401c7d),null),_0x96958f['sendNotification'](_0x344713(-0xa0,_0x4e3c8c._0x3409f3,_0x4e3c8c._0x31f6e1,-_0x4e3c8c._0x49cbd3));}catch{}finally{_0x96958f[_0x344713(-_0x4e3c8c._0x57f265,-_0x4e3c8c._0xcc7238,-0x50,-0x15)](),_0x1e1e63[_0x344713(_0x4e3c8c._0x597d46,_0x4e3c8c._0x4490bd,0x96,0xde)][_0x344713(0x1bb,_0x4e3c8c._0x2c680d,0x1b6,0x21e)][_0x344713(_0x4e3c8c._0x211b73,0x10e,0x1bf,_0x4e3c8c._0x53a0fe)]();}}};return _0xc6c74a;}import{spawn as _0x5ec2c5}from'child_process';import{access as _0x1f2023}from'fs/promises';import _0x12a25a from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x11554b from'os';import _0x35db9b from'path';import _0x59534b from'which';var installPromises=new Map();function sanitizePackageName(_0x29fb39){const _0x455dda={_0x427bcb:0x69},_0x3d3931={_0x3713c8:0x5d,_0x445f4d:0x4cf};function _0x57b5ee(_0x2622bf,_0x584628,_0x57b809,_0x9e777){return _0x2853b9(_0x2622bf-0xd6,_0x584628-_0x3d3931._0x3713c8,_0x9e777- -_0x3d3931._0x445f4d,_0x2622bf);}return _0x29fb39[_0x57b5ee(-0x9d,-0xba,-_0x455dda._0x427bcb,-0xc0)](/^@/,'')['replace'](/[/]/g,'__');}function binaryNameForPlatform(_0x1a2e7c){const _0xae2656={_0x550d4a:0x5a4,_0x1ecb40:0x593,_0x536756:0x96,_0x2fb769:0x1cf},_0x79c455={_0x27df6c:0x5c},_0x3cd150={_0x1dbfc6:0x1f4};function _0x5600cd(_0x1c5699,_0x498bba,_0xf8b99e,_0x150c1d){return _0x4d9604(_0x1c5699-_0x3cd150._0x1dbfc6,_0x1c5699,_0x498bba-0x33a,_0x150c1d-0x145);}function _0x235cb5(_0x5c854c,_0x2770f4,_0x1e1960,_0x27656a){return _0x4d9604(_0x5c854c-0x1f2,_0x27656a,_0x1e1960- -0x16,_0x27656a-_0x79c455._0x27df6c);}return process[_0x235cb5(0x199,0x74,0x6b,0xa6)]===_0x5600cd(_0xae2656._0x550d4a,0x633,_0xae2656._0x1ecb40,0x514)?_0x1a2e7c+_0x235cb5(0x118,0x199,_0xae2656._0x536756,_0xae2656._0x2fb769):_0x1a2e7c;}async function exists(_0x4a4454){try{return await access(_0x4a4454),!![];}catch{return![];}}function runNpmInstall(_0x1b7e72,_0x417534,_0x215a3c){const _0x17c41c={_0x46d83c:0x1f6,_0x43694c:0x3fc,_0x33bf0b:0x462,_0x212ea9:0x38d,_0x14427c:0x332,_0x84c1bf:0x247,_0x5d80d5:0x3cc,_0x577438:0x4e6},_0x26d7fe={_0x7e7e16:0x37c};return new Promise(_0x126966=>{function _0x48edb5(_0x2bbbe9,_0x3b027f,_0x3346c8,_0x410265){return _0x1b39(_0x3346c8- -_0x26d7fe._0x7e7e16,_0x410265);}const _0x537fee=spawn(_0x48edb5(-0x2cd,-0xb8,-_0x17c41c._0x46d83c,-0x353),[_0x34c128(_0x17c41c._0x43694c,_0x17c41c._0x33bf0b,0x45a,_0x17c41c._0x212ea9),_0x48edb5(-_0x17c41c._0x14427c,-_0x17c41c._0x84c1bf,-0x2c0,-0x339),_0x1b7e72,_0x417534],{'env':_0x215a3c,'stdio':'ignore'});function _0x34c128(_0xb5222f,_0xca65f3,_0x1a0bd4,_0x16c54c){return _0x1b39(_0x1a0bd4-0x173,_0x16c54c);}_0x537fee['on'](_0x34c128(0x241,0x40c,0x2cf,0x252),()=>_0x126966(![])),_0x537fee['on'](_0x34c128(0x4ca,_0x17c41c._0x5d80d5,0x3a4,_0x17c41c._0x577438),_0x1886dd=>_0x126966(_0x1886dd===0x0));});}function shouldDisableLspDownload(_0x3ce6ed=process['env']){const _0x50cf86={_0x2b23b9:0x1a5,_0x128262:0x1f1,_0x2a8cf8:0xbc,_0x42fd73:0xf7,_0x3c2286:0x10c,_0x185e3b:0x258},_0x9472be={_0x33b089:0x11a},_0x5a5300={_0x318e67:0xaf,_0x2ae11f:0xf9},_0x951f4b=_0x3ce6ed[_0x1442a5(0x273,0x7f,0x1a6,0x1d6)]?.[_0x4ed4e7(_0x50cf86._0x2b23b9,0x210,_0x50cf86._0x128262,0x51)]();function _0x1442a5(_0x87efb3,_0x66a029,_0x40afa0,_0x5bbd9f){return _0x4d9604(_0x87efb3-_0x5a5300._0x318e67,_0x87efb3,_0x40afa0- -_0x5a5300._0x2ae11f,_0x5bbd9f-0x1a4);}function _0x4ed4e7(_0x3e78ad,_0x3bf43d,_0x14b773,_0x6712f9){return _0x4d9604(_0x3e78ad-0x1be,_0x3bf43d,_0x3e78ad-_0x9472be._0x33b089,_0x6712f9-0x87);}return _0x951f4b===_0x1442a5(_0x50cf86._0x2a8cf8,0xd8,_0x50cf86._0x42fd73,_0x50cf86._0x3c2286)||_0x951f4b==='1'||_0x951f4b===_0x1442a5(0x148,_0x50cf86._0x185e3b,0x1f6,0x314)||_0x951f4b==='on';}function getLspPackageDir(_0x2327cf){const _0x2b6044={_0x186706:0x2a8,_0x24a1b7:0x386,_0x583fef:0x481,_0xddbd8a:0x485,_0x3f8b8e:0x598},_0x142d61={_0x275bdf:0x1a7,_0x440d00:0x1ab},_0x1f1f11={_0x11c06a:0x135,_0x4cd280:0x307};function _0xab458a(_0x590caf,_0x6c106a,_0x50363e,_0x28f4cd){return _0x4d9604(_0x590caf-_0x1f1f11._0x11c06a,_0x6c106a,_0x50363e- -_0x1f1f11._0x4cd280,_0x28f4cd-0x1c9);}function _0x108486(_0xe6c2a3,_0x368bbd,_0x1961e7,_0x25f0b8){return _0x2853b9(_0xe6c2a3-_0x142d61._0x275bdf,_0x368bbd-0xba,_0x368bbd- -_0x142d61._0x440d00,_0x25f0b8);}return _0x35db9b[_0x108486(_0x2b6044._0x186706,_0x2b6044._0x24a1b7,0x36e,0x2b2)](_0x11554b['homedir'](),'.nuvin',_0x108486(_0x2b6044._0x583fef,_0x2b6044._0xddbd8a,0x370,_0x2b6044._0x3f8b8e),'packages',sanitizePackageName(_0x2327cf));}function getLspBinDir(_0x122490){const _0xbb09d7={_0x2501bb:0x22,_0x2809aa:0xf5,_0x495f11:0x13d,_0x2bcc94:0x153},_0x234c44={_0x4206bc:0x197},_0x2e1ee1={_0x43e37b:0xea,_0x4df356:0x1ab};function _0x2deec0(_0x5637e9,_0x1dc9a1,_0x47e277,_0x29b76c){return _0x4d9604(_0x5637e9-_0x2e1ee1._0x43e37b,_0x5637e9,_0x29b76c- -_0x2e1ee1._0x4df356,_0x29b76c-0x102);}function _0x21404e(_0xf6416,_0xf24822,_0x389696,_0x4a9e12){return _0x4d9604(_0xf6416-_0x234c44._0x4206bc,_0x389696,_0x4a9e12- -0x377,_0x4a9e12-0xff);}return _0x35db9b[_0x2deec0(_0xbb09d7._0x2501bb,_0xbb09d7._0x2809aa,0x1ab,0x7c)](getLspPackageDir(_0x122490),_0x2deec0(0x53,_0xbb09d7._0x495f11,0x71,_0xbb09d7._0x2bcc94),_0x21404e(-0x3a7,-0x36c,-0x36d,-0x2db));}async function findPackageBinary(_0x4bda63,_0x4d2f85){const _0x133a40={_0x5f24bb:0x48f,_0x533db1:0x362,_0x4c6122:0xe0,_0x248532:0x213,_0x19c316:0x4d5,_0x51a20f:0x2d1,_0x3e6338:0x38c},_0x1d3308={_0x1f12ee:0xea};let _0x5246d3=_0x35db9b['resolve'](_0x4d2f85);function _0x32062e(_0x42f285,_0x50a61b,_0x3bb8b9,_0x5d13d2){return _0x4d9604(_0x42f285-0x134,_0x42f285,_0x5d13d2-0xff,_0x5d13d2-0x1cd);}const _0x3f8f0f=binaryNameForPlatform(_0x4bda63);function _0x1ad7d2(_0x3c24eb,_0x2fd52c,_0x58b48b,_0x5d88fb){return _0x2853b9(_0x3c24eb-_0x1d3308._0x1f12ee,_0x2fd52c-0x1c8,_0x5d88fb- -0x193,_0x58b48b);}while(!![]){const _0x5a8b19=_0x35db9b['join'](_0x5246d3,_0x32062e(_0x133a40._0x5f24bb,0x2c5,0x381,0x3fd),_0x1ad7d2(_0x133a40._0x533db1,0x18d,_0x133a40._0x4c6122,_0x133a40._0x248532),_0x3f8f0f);if(await exists(_0x5a8b19))return _0x5a8b19;const _0x2adfd1=_0x35db9b[_0x32062e(_0x133a40._0x19c316,_0x133a40._0x51a20f,_0x133a40._0x3e6338,0x3d0)](_0x5246d3);if(_0x2adfd1===_0x5246d3)return void 0x0;_0x5246d3=_0x2adfd1;}}async function findPathBinary(_0x190870,_0x1953b5){const _0x162457={_0x740866:0x106,_0x49c15a:0xb6,_0x5d19cb:0x95,_0x3053fd:0xa7},_0x2f85fc={_0x586bc0:0x1e2,_0x3eab4f:0x192,_0x20d16d:0x54},_0x48c8d3={_0x42a43e:0x63},_0x79f27f=getLspBinDir(_0x1953b5);function _0xcd05ea(_0x5f4570,_0x4defff,_0x5db7de,_0x3f9e70){return _0x2853b9(_0x5f4570-0x96,_0x4defff-_0x48c8d3._0x42a43e,_0x5f4570- -0x37c,_0x3f9e70);}function _0x3cddd7(_0x238cc7,_0x5509fc,_0x5932bb,_0x3d3064){return _0x4d9604(_0x238cc7-_0x2f85fc._0x586bc0,_0x3d3064,_0x5509fc- -_0x2f85fc._0x3eab4f,_0x3d3064-_0x2f85fc._0x20d16d);}const _0x160b21=[_0x79f27f,process[_0xcd05ea(0x23,-_0x162457._0x740866,-0xfb,-0x1a)]['PATH']]['filter'](Boolean)[_0x3cddd7(-_0x162457._0x49c15a,_0x162457._0x5d19cb,-_0x162457._0x3053fd,-0x36)](_0x35db9b['delimiter']);try{return await _0x59534b(_0x190870,{'path':_0x160b21});}catch{return void 0x0;}}async function resolvePackageBinary(_0x290ebf){const _0x41ab99={_0xc22832:0x54a,_0x15ecc5:0x431,_0x21b2ed:0x2cf,_0x4d1c59:0x481,_0x3ecdb3:0x2d7,_0x24d7c7:0x286,_0x447759:0x431,_0x2ad638:0x535,_0x3d3986:0x41b,_0x9e1592:0x335,_0x2ead5e:0x3a4,_0x460373:0x3dc,_0x549240:0x3be},_0x28e655={_0x19a19f:0x509,_0x2b5123:0x271,_0x51eeb6:0x243,_0x201555:0x487},_0x32f498={_0x565700:0x54,_0x834a97:0x215},_0xea307c={_0x1832e3:0x29,_0xccc187:0xa,_0x3c4c58:0x230},_0x2b1009=_0x290ebf['binaryName']??_0x290ebf[_0x47c05b(_0x41ab99._0xc22832,_0x41ab99._0x15ecc5,_0x41ab99._0x21b2ed,0x53e)];function _0x358464(_0x1d5163,_0xb42ecf,_0x1dc652,_0x3c0ced){return _0x2853b9(_0x1d5163-_0xea307c._0x1832e3,_0xb42ecf-_0xea307c._0xccc187,_0x1dc652- -_0xea307c._0x3c4c58,_0x1d5163);}const _0x36127b=await findPackageBinary(_0x2b1009,_0x290ebf[_0x47c05b(0x5de,_0x41ab99._0x4d1c59,0x3d9,0x442)]);if(_0x36127b)return _0x36127b;const _0x4fd65f=await findPathBinary(_0x2b1009,_0x290ebf[_0x47c05b(0x40c,0x431,0x412,0x43f)]);function _0x47c05b(_0xfa8090,_0x5312ad,_0x46bd41,_0x10a676){return _0x4d9604(_0xfa8090-_0x32f498._0x565700,_0xfa8090,_0x5312ad-_0x32f498._0x834a97,_0x10a676-0x11f);}if(_0x4fd65f)return _0x4fd65f;const _0x23bdbf=_0x290ebf[_0x358464(0x1bf,0x5,0x16f,0x1d6)]??process[_0x358464(_0x41ab99._0x3ecdb3,_0x41ab99._0x24d7c7,0x16f,0x265)];if(shouldDisableLspDownload(_0x23bdbf))return void 0x0;const _0x5f2904=getLspPackageDir(_0x290ebf['packageName']),_0x406d42=_0x290ebf[_0x47c05b(0x48a,_0x41ab99._0x447759,0x4eb,_0x41ab99._0x2ad638)]+':'+_0x2b1009;let _0xba38ce=installPromises['get'](_0x406d42);!_0xba38ce&&(_0xba38ce=((async()=>{const _0x1bbf0a={_0x294f6e:0x1f9,_0x51a75f:0x49},_0xaf8963={_0x2f1a3f:0x1f4};await mkdir(_0x5f2904,{'recursive':!![]});function _0x41d9a9(_0x69ba7,_0x369cb5,_0x5f4df8,_0x94a737){return _0x358464(_0x369cb5,_0x369cb5-_0xaf8963._0x2f1a3f,_0x5f4df8-0x191,_0x94a737-0x147);}const _0x501162=await runNpmInstall(_0x5f2904,_0x290ebf[_0x41d9a9(_0x28e655._0x19a19f,0x5f1,0x487,0x31e)],_0x23bdbf);if(!_0x501162)return void 0x0;function _0x58422c(_0x145e32,_0x482e78,_0x440aa8,_0x36a0c9){return _0x47c05b(_0x145e32,_0x440aa8- -_0x1bbf0a._0x294f6e,_0x440aa8-0x156,_0x36a0c9-_0x1bbf0a._0x51a75f);}const _0x4623d4=_0x35db9b[_0x58422c(0x15b,_0x28e655._0x2b5123,_0x28e655._0x51eeb6,0xe8)](getLspBinDir(_0x290ebf[_0x41d9a9(0x510,0x3fa,_0x28e655._0x201555,0x51b)]),binaryNameForPlatform(_0x2b1009));return await exists(_0x4623d4)?_0x4623d4:void 0x0;})()),installPromises[_0x47c05b(_0x41ab99._0x3d3986,_0x41ab99._0x9e1592,_0x41ab99._0x2ead5e,0x3af)](_0x406d42,_0xba38ce));try{return await _0xba38ce;}catch{return void 0x0;}finally{installPromises[_0x47c05b(_0x41ab99._0x460373,_0x41ab99._0x549240,0x399,0x264)](_0x406d42);}}function _0x1b39(_0x6238e4,_0x5e8cf0){_0x6238e4=_0x6238e4-0xae;const _0x243024=_0x2430();let _0x1b39d1=_0x243024[_0x6238e4];if(_0x1b39['TsOGiJ']===undefined){var _0x2b6930=function(_0x3368b6){const _0x425ef3='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5dde50='',_0x5ec2c5='';for(let _0x1f2023=0x0,_0x12a25a,_0x11554b,_0x35db9b=0x0;_0x11554b=_0x3368b6['charAt'](_0x35db9b++);~_0x11554b&&(_0x12a25a=_0x1f2023%0x4?_0x12a25a*0x40+_0x11554b:_0x11554b,_0x1f2023++%0x4)?_0x5dde50+=String['fromCharCode'](0xff&_0x12a25a>>(-0x2*_0x1f2023&0x6)):0x0){_0x11554b=_0x425ef3['indexOf'](_0x11554b);}for(let _0x59534b=0x0,_0x572d36=_0x5dde50['length'];_0x59534b<_0x572d36;_0x59534b++){_0x5ec2c5+='%'+('00'+_0x5dde50['charCodeAt'](_0x59534b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5ec2c5);};_0x1b39['flxbDB']=_0x2b6930,_0x1b39['hnzuoL']={},_0x1b39['TsOGiJ']=!![];}const _0x5aa2de=_0x243024[0x0],_0x3cd350=_0x6238e4+_0x5aa2de,_0x3ea709=_0x1b39['hnzuoL'][_0x3cd350];return!_0x3ea709?(_0x1b39d1=_0x1b39['flxbDB'](_0x1b39d1),_0x1b39['hnzuoL'][_0x3cd350]=_0x1b39d1):_0x1b39d1=_0x3ea709,_0x1b39d1;}var TYPESCRIPT_EXTENSIONS=['.ts','.tsx',_0x2853b9(0x4b8,0x4de,0x478,0x4c6),_0x4d9604(0x404,0x39b,0x2d7,0x1fa),'.mjs','.cjs',_0x2853b9(0x627,0x586,0x4d5,0x4e1),_0x2853b9(0x486,0x55a,0x4dc,0x627)],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x4d9604(0xcf,0x2c2,0x215,0x171),_0x4d9604(0xd3,0x209,0x169,0x1d1)],TYPESCRIPT_ROOT_MARKERS=[_0x2853b9(0x4c7,0x31d,0x399,0x3db),_0x4d9604(0xd1,0xdb,0xa1,0x17d),'bun.lock','pnpm-lock.yaml',_0x2853b9(0x329,0x59b,0x457,0x3f3),_0x4d9604(-0x82,0x1d0,0xb3,0xd2),'jsconfig.json',_0x2853b9(0x2bd,0x3bf,0x3a9,0x4b5)],BIOME_ROOT_MARKERS=['biome.json',_0x4d9604(0x217,0x14e,0xc8,0xb5),'package-lock.json',_0x2853b9(0x513,0x3fa,0x3ab,0x365),_0x2853b9(0x457,0x50c,0x499,0x3d0),'pnpm-lock.yaml',_0x2853b9(0x528,0x38f,0x457,0x53c),_0x2853b9(0x2f2,0x3c2,0x3a9,0x405)];async function exists2(_0x4cf8b1){try{return await _0x1f2023(_0x4cf8b1),!![];}catch{return![];}}async function findUp(_0x6f59a3,_0x5d74ca){const _0x32d80d={_0x3ecf3b:0x5ee,_0x500b46:0x776,_0x4890fb:0x6a1,_0x3be87e:0x705,_0x19e50a:0x539,_0x1ee2eb:0x6fa,_0x3e9163:0x73d,_0x5a510f:0x60a},_0x232674={_0x2c0d1b:0xc8,_0x501243:0x158},_0x23bbd5={_0x4c9926:0xb7};let _0x377ec3=_0x12a25a[_0x1add21(0x67a,_0x32d80d._0x3ecf3b,0x52e,_0x32d80d._0x500b46)](_0x6f59a3);const _0x18d58d=_0x12a25a['extname'](_0x377ec3);if(_0x18d58d)_0x377ec3=_0x12a25a[_0x1add21(_0x32d80d._0x4890fb,0x7c4,_0x32d80d._0x3be87e,_0x32d80d._0x19e50a)](_0x377ec3);function _0x4af862(_0x1b32a7,_0xd72ac7,_0x30fee0,_0x40ce82){return _0x2853b9(_0x1b32a7-_0x23bbd5._0x4c9926,_0xd72ac7-0xe2,_0x40ce82-0x117,_0x1b32a7);}function _0x1add21(_0x17ad03,_0x2e80fd,_0x1e9f6e,_0x317496){return _0x2853b9(_0x17ad03-_0x232674._0x2c0d1b,_0x2e80fd-_0x232674._0x501243,_0x17ad03-0xc6,_0x2e80fd);}while(!![]){for(const _0x1a525d of _0x5d74ca){if(await exists2(_0x12a25a['join'](_0x377ec3,_0x1a525d)))return _0x377ec3;}const _0x5399e6=_0x12a25a[_0x4af862(_0x32d80d._0x1ee2eb,_0x32d80d._0x3e9163,_0x32d80d._0x5a510f,0x6f2)](_0x377ec3);if(_0x5399e6===_0x377ec3)return void 0x0;_0x377ec3=_0x5399e6;}}async function hasDenoRoot(_0x59e98d){const _0x44e65a={_0xeafd13:0x38,_0x427144:0x105};function _0xcdf0c7(_0x201bcc,_0x2f3bd7,_0x87c339,_0x5bd87c){return _0x2853b9(_0x201bcc-0x103,_0x2f3bd7-0x86,_0x5bd87c- -0x636,_0x87c339);}return await exists2(_0x12a25a['join'](_0x59e98d,'deno.json'))||await exists2(_0x12a25a[_0xcdf0c7(-0x15b,-0x90,-_0x44e65a._0xeafd13,-_0x44e65a._0x427144)](_0x59e98d,'deno.jsonc'));}async function resolveTsserverPath(_0x4e7418){const _0xecc298={_0x1f281c:0x5ec,_0x514c3f:0x415,_0x114b00:0x450,_0x48269d:0x3a7,_0x188d84:0x218,_0x3d300d:0x2ed,_0x16096e:0x5aa,_0x85fce8:0x546,_0x16467b:0x5c4,_0x5443b6:0x2ad,_0x4a1a0f:0x404,_0x2ff5f0:0x40e,_0x7295c:0x308,_0x39c3ad:0x21c,_0x58f929:0x1db},_0x1b5858={_0x2b4940:0x1b0},_0x27b4c9={_0x50d0d5:0xda,_0x3092e1:0x54};let _0x577944=_0x12a25a['resolve'](_0x4e7418);function _0x31275c(_0x2df82c,_0x4ba5ac,_0x53364e,_0x3c5ad3){return _0x2853b9(_0x2df82c-_0x27b4c9._0x50d0d5,_0x4ba5ac-0x15f,_0x3c5ad3- -_0x27b4c9._0x3092e1,_0x53364e);}while(!![]){const _0x12f13c=_0x12a25a['join'](_0x577944,_0x31275c(0x6f9,0x718,_0xecc298._0x1f281c,0x5b4),_0x3f51cd(_0xecc298._0x514c3f,0x404,0x3b0,_0xecc298._0x114b00),_0x31275c(0x449,_0xecc298._0x48269d,0x66e,0x4fd),_0x3f51cd(_0xecc298._0x188d84,0x1db,_0xecc298._0x3d300d,0x21e));if(await exists2(_0x12f13c))return _0x12f13c;const _0x3fc629=_0x12a25a['dirname'](_0x577944);if(_0x3fc629===_0x577944)break;_0x577944=_0x3fc629;}const _0xf2858d=getLspPackageDir(_0x31275c(0x480,0x54d,0x705,0x5a8));function _0x3f51cd(_0x312c93,_0x39a91f,_0x2b81e5,_0x50f420){return _0x4d9604(_0x312c93-0xa4,_0x312c93,_0x39a91f-0x112,_0x50f420-_0x1b5858._0x2b4940);}const _0x157306=await resolvePackageBinary({'packageName':'typescript','binaryName':_0x3f51cd(0x3d0,0x3ee,0x3f5,0x3f4),'startDir':_0x4e7418});if(!_0x157306)return void 0x0;const _0x294ff3=_0x12a25a[_0x31275c(_0xecc298._0x16096e,0x627,_0xecc298._0x85fce8,0x4dd)](_0xf2858d,_0x31275c(_0xecc298._0x16467b,0x5ed,0x6b8,0x5b4),_0x3f51cd(_0xecc298._0x5443b6,_0xecc298._0x4a1a0f,0x378,_0xecc298._0x2ff5f0),_0x3f51cd(0x280,0x359,_0xecc298._0x7295c,_0xecc298._0x39c3ad),_0x3f51cd(0x2a8,_0xecc298._0x58f929,0x85,0x26b));return await exists2(_0x294ff3)?_0x294ff3:void 0x0;}var TypeScriptServer={'id':_0x4d9604(0x35e,0x232,0x2f2,0x3ff),'name':_0x2853b9(0x4ae,0x56e,0x4df,0x479),'extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x449f79){const _0x1fb2ed=await findUp(_0x449f79,TYPESCRIPT_ROOT_MARKERS);if(!_0x1fb2ed)return void 0x0;return await hasDenoRoot(_0x1fb2ed)?void 0x0:_0x1fb2ed;},async 'spawn'(_0x5e876b){const _0x408de5={_0x4aaced:0x42c,_0x29ec6f:0x103,_0x18526d:0x274,_0x353c12:0x4af,_0x360169:0x625},_0x59c5dd={_0x5e8a27:0x43},_0x26f0c6={_0x1ceb5d:0x56};function _0x82cea(_0x3af99a,_0x517d1e,_0x3472d6,_0x4f83f3){return _0x2853b9(_0x3af99a-0xdb,_0x517d1e-_0x26f0c6._0x1ceb5d,_0x4f83f3-0x50,_0x517d1e);}const _0x3453e9=await resolveTsserverPath(_0x5e876b);if(!_0x3453e9)return void 0x0;const _0x4e1f16=await resolvePackageBinary({'packageName':_0x82cea(0x5f6,0x5c4,_0x408de5._0x4aaced,0x4c7),'binaryName':'typescript-language-server','startDir':_0x5e876b});function _0x362acf(_0x5612fd,_0x21efbe,_0x4bc684,_0x2e3e41){return _0x4d9604(_0x5612fd-0x92,_0x5612fd,_0x4bc684- -0xaf,_0x2e3e41-_0x59c5dd._0x5e8a27);}if(!_0x4e1f16)return void 0x0;return{'process':_0x5ec2c5(_0x4e1f16,[_0x362acf(-0x34,0x74,_0x408de5._0x29ec6f,_0x408de5._0x18526d)],{'cwd':_0x5e876b,'stdio':_0x82cea(_0x408de5._0x353c12,_0x408de5._0x360169,0x549,0x547)}),'initialization':{'tsserver':{'path':_0x3453e9}}};}},BiomeServer={'id':'biome','name':_0x2853b9(0x4ab,0x43d,0x3e7,0x427),'extensions':BIOME_EXTENSIONS,async 'root'(_0x1a1e3a){return findUp(_0x1a1e3a,BIOME_ROOT_MARKERS);},async 'spawn'(_0x50d293){const _0x1f573c={_0x2e3ccd:0x2aa,_0x5050a4:0x2f6,_0x4338b3:0x3d0,_0x296a4a:0x26b,_0x2fc8fe:0x492,_0x49fd38:0x40c,_0x5003bf:0x379},_0x2de18b={_0x209cea:0x1d8,_0x30674c:0x278},_0x3fc202={_0x53d136:0x1b0},_0x77b1d=await findPackageBinary(_0x4466cf(_0x1f573c._0x2e3ccd,0x1a3,0x2f4,0x277),_0x50d293)??await resolvePackageBinary({'packageName':'@biomejs/biome','binaryName':_0x2065d6(_0x1f573c._0x5050a4,_0x1f573c._0x4338b3,0x28d,_0x1f573c._0x296a4a),'startDir':_0x50d293});function _0x2065d6(_0x1b1ff3,_0x90d089,_0x49c0d7,_0x24c853){return _0x2853b9(_0x1b1ff3-0x1ce,_0x90d089-0x1cf,_0x24c853- -_0x3fc202._0x53d136,_0x49c0d7);}function _0x4466cf(_0x2ada07,_0x5d503,_0x25e198,_0x624621){return _0x2853b9(_0x2ada07-0x1e0,_0x5d503-_0x2de18b._0x209cea,_0x5d503- -_0x2de18b._0x30674c,_0x624621);}if(!_0x77b1d)return void 0x0;return{'process':_0x5ec2c5(_0x77b1d,[_0x2065d6(_0x1f573c._0x2fc8fe,0x596,_0x1f573c._0x49fd38,0x457),_0x4466cf(0xee,0x244,_0x1f573c._0x5003bf,0x24d)],{'cwd':_0x50d293,'stdio':'pipe'})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x538b5d){const _0x22136e={_0x6c1068:0x251,_0x5d618b:0x1ec,_0x2337c1:0x27a},_0x382b8f={_0xf281b5:0x275},_0x2da568={_0x4b6680:0xa8,_0x4de6d5:0x2dc};function _0x39f2e9(_0x50e067,_0x37351d,_0x263d18,_0x11a066){return _0x4d9604(_0x50e067-_0x2da568._0x4b6680,_0x11a066,_0x37351d- -_0x2da568._0x4de6d5,_0x11a066-0xb2);}const _0xf6e335=_0x12a25a[_0x564c49(_0x22136e._0x6c1068,0x2a2,0x315,_0x22136e._0x5d618b)](_0x538b5d)[_0x39f2e9(-0x1ce,-0x251,-0x36d,-_0x22136e._0x2337c1)]();function _0x564c49(_0x321eae,_0x97d903,_0x280dfc,_0x34f4f2){return _0x2853b9(_0x321eae-0x81,_0x97d903-0x166,_0x321eae- -_0x382b8f._0xf281b5,_0x97d903);}return BUILTIN_LSP_SERVERS['filter'](_0x5c069d=>_0x5c069d[_0x564c49(0x3b7,0x275,0x519,0x390)]['includes'](_0xf6e335));}function stateKey(_0x5b0409,_0x3fd957){return _0x3fd957+':'+_0x5b0409['id'];}function diagnosticsKeyToPath(_0x501e3f){const _0x57165a={_0x2bdb1b:0x314,_0x3b01dc:0x2e9},_0x4e8290={_0x3f93dd:0xf8,_0xd4fa86:0x22c,_0xa9b387:0x14f};if(!_0x501e3f['startsWith'](_0x2cba3d(0x439,0x26a,_0x57165a._0x2bdb1b,_0x57165a._0x3b01dc)))return _0x501e3f;function _0x2cba3d(_0x571adf,_0x527cc9,_0x47cb81,_0x2ede5a){return _0x4d9604(_0x571adf-_0x4e8290._0x3f93dd,_0x571adf,_0x47cb81-_0x4e8290._0xd4fa86,_0x2ede5a-_0x4e8290._0xa9b387);}return fileURLToPath(_0x501e3f);}function nextFileVersion(_0x59d10d,_0x51194a){const _0x3b0d48={_0x462bbe:0xa0,_0x4542fb:0x57,_0x13cf0f:0x1f3,_0x27d8c9:0x198,_0x3005fc:0x3bc,_0xb55c82:0x2e9,_0x32c468:0x303},_0x578682={_0x29e2cc:0xa1,_0x513a0e:0x6a1},_0x5a801c={_0x232d59:0x3,_0x42833d:0x490};function _0xb29628(_0x19154d,_0x431aef,_0x13751b,_0x5e9ef6){return _0x2853b9(_0x19154d-0x50,_0x431aef-_0x5a801c._0x232d59,_0x19154d- -_0x5a801c._0x42833d,_0x13751b);}function _0x375444(_0x3ba58c,_0x1ac080,_0x2bbd8c,_0x32694e){return _0x2853b9(_0x3ba58c-0x1cb,_0x1ac080-_0x578682._0x29e2cc,_0x2bbd8c- -_0x578682._0x513a0e,_0x1ac080);}const _0x420030=(_0x59d10d[_0xb29628(0x79,_0x3b0d48._0x462bbe,0x1a0,-_0x3b0d48._0x4542fb)][_0x375444(-0x2cc,-0xed,-_0x3b0d48._0x13cf0f,-0x27a)](_0x51194a)??0x1)+0x1;return _0x59d10d[_0x375444(-0x18e,-0x83,-_0x3b0d48._0x27d8c9,-0xdd)][_0x375444(-_0x3b0d48._0x3005fc,-_0x3b0d48._0xb55c82,-0x277,-_0x3b0d48._0x32c468)](_0x51194a,_0x420030),_0x420030;}async function collectClientResults(_0x32e3a0){const _0x4a0881={_0x11817b:0x14,_0x4b98a9:0x4,_0x1e90b2:0x11,_0x2398b9:0x97,_0x3d5ad7:0x99,_0x5259bd:0xd3},_0x1570e0={_0x199b1f:0xfd,_0xfdd6c:0x65},_0x71068b={_0xdea17:0x1b5};function _0x799032(_0x5103d1,_0xddb154,_0x3a0725,_0x3402ba){return _0x4d9604(_0x5103d1-_0x71068b._0xdea17,_0x3a0725,_0xddb154- -0x45,_0x3402ba-0x11e);}const _0x22aefd=await Promise[_0x799032(_0x4a0881._0x11817b,0x39,-_0x4a0881._0x4b98a9,_0x4a0881._0x1e90b2)](_0x32e3a0);function _0x109112(_0x22bdf5,_0x38575b,_0x1a4570,_0x217226){return _0x4d9604(_0x22bdf5-0x46,_0x22bdf5,_0x217226-_0x1570e0._0x199b1f,_0x217226-_0x1570e0._0xfdd6c);}return _0x22aefd[_0x799032(-_0x4a0881._0x2398b9,0x62,-_0x4a0881._0x3d5ad7,-_0x4a0881._0x5259bd)](_0x5ccb94=>_0x5ccb94[_0x109112(0x3b0,0x224,0x1d0,0x2b8)]==='fulfilled'?_0x5ccb94[_0x109112(0x292,0x164,0x108,0x225)]:[]);}function createLspService(_0x5c232a={}){const _0x4a03ff={_0x2a0371:0x47f,_0x19a8cb:0x2fb,_0x4ff4cc:0x306,_0x3dd234:0x394},_0x2e7be7={_0x4677ba:0x75},_0x515fac={_0x46747e:0x19,_0x2418f9:0x134,_0x3d557a:0x10e,_0x4b6458:0x22a,_0x541b3b:0x26,_0x195b6b:0xe,_0x12bd18:0x2e,_0x1bdca0:0x3f4,_0x44f530:0x3c0,_0x2236e2:0x301,_0x10dc28:0xb5,_0x35ab0b:0x1d2,_0x21d6ab:0x50,_0x2477df:0xc2,_0x3dbb27:0x1ef,_0x451305:0x25e,_0x1129cb:0x1b2,_0x4fa9a6:0x268,_0x236588:0x17e,_0x5bce86:0x7c,_0x23d69c:0x80},_0x57f4d5={_0x3ab4f5:0x172,_0x26e81b:0x164},_0x205705={_0x1d7653:0x35e},_0x5b0d6a={_0x3a2245:0x3da},_0x3162b7={_0x142f47:0x11,_0x5c2edf:0xe5,_0x3dae61:0xad},_0x4dc741={_0x3091d4:0x215},_0x2b54f3={_0x4e8204:0x1c5,_0x103f18:0x32d,_0x5afdca:0x23f},_0x4da3a6={_0x113a21:0xb8},_0x3eafcc={_0x478eca:0x159,_0x4a16e6:0x1e},_0x5615e9={_0x480a89:0x309},_0x1a7481={_0x20545d:0x250,_0x1316d5:0x333},_0x31829f={_0x4fa6d2:0x14d},_0x45c50c={_0x4df636:0x422,_0x9f04bc:0x37b,_0x305507:0x4b8,_0x522206:0x1e7,_0x2f5cb4:0x166,_0x3a28aa:0x22c},_0x506725={_0x443869:0x42b,_0x245da8:0x4eb,_0x5b2d9c:0x4de},_0xbb7368={_0x1d3821:0x32f},_0x3dc42f={_0x2fa156:0x66a,_0x1d8363:0x5fe,_0x2d5d97:0xeb,_0x27d8d4:0xe6},_0x4deb1={_0x2debc6:0x5d8,_0x6e5158:0x4ce,_0x4ab2e0:0x597,_0x1ede14:0x59b,_0x553427:0x48b,_0x321d7a:0x52e},_0x53fa15={_0x1cae3e:0x2fe},_0xff2f02={_0x42fa23:0x450,_0x4ee745:0x476,_0x444e79:0x449,_0x488708:0x5cd,_0xdb6b5c:0x6ba,_0x41e63d:0x635,_0x1793f6:0xb1,_0x539b2b:0x22,_0x33b937:0xb0,_0x311194:0x4c7,_0x5ab3d7:0x3cd,_0x293456:0x15b},_0x1b5e08={_0x5f5a40:0x17a,_0x480cfe:0xa3,_0x244d67:0xfc,_0x4a8d49:0x2f9,_0x755334:0x459,_0x58d871:0x446,_0x247cf8:0xb4,_0xed0e1c:0x4,_0x282380:0x361,_0x49bb58:0x34c,_0x23047a:0x25e,_0x1057a0:0x283},_0x4634f4={_0x348e41:0x11d},_0x2523b1={_0x54b998:0x461,_0x55e0ba:0x668,_0x2d8c4a:0x1a,_0x11c095:0x146,_0x33738f:0xaa,_0x576790:0xbb,_0x1341cc:0x388,_0x2bf5e2:0x36,_0x5f59fc:0x47,_0x2b5f0a:0xaa,_0x2e71d7:0x89,_0xfb765:0x178,_0xba0fc7:0x2fe,_0x42e633:0x432,_0x53415d:0x4c2,_0xe2bcb6:0x1a,_0x57dfb9:0x1f9,_0x405822:0x1cf,_0x5b9b35:0x86},_0x131c5a={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x58426c=()=>_0x5c232a['enabled']!==![];async function _0x47d53e(_0x1655f4,_0x526192){const _0x5189b7={_0x313baf:0x14,_0x81cffe:0x327},_0x52e1e4={_0x4e299b:0x1a5};function _0x30dc0d(_0x358945,_0x2fd2aa,_0x5d4f98,_0x43b651){return _0x1b39(_0x43b651- -_0x52e1e4._0x4e299b,_0x358945);}const _0x336de8=stateKey(_0x1655f4,_0x526192),_0x58e53b=_0x131c5a[_0x30dc0d(0x205,0x1c,0x217,_0x1b5e08._0x5f5a40)]['find'](_0xb0699f=>_0xb0699f['serverId']===_0x1655f4['id']&&_0xb0699f[_0x30dc0d(0x4c,0x124,0x19e,0x58)]===_0x526192);if(_0x58e53b)return _0x58e53b;if(_0x131c5a[_0x30dc0d(_0x1b5e08._0x480cfe,0x2db,_0x1b5e08._0x244d67,0x1d5)][_0x3cc47d(0x421,_0x1b5e08._0x4a8d49,_0x1b5e08._0x755334,_0x1b5e08._0x58d871)](_0x336de8))return void 0x0;const _0x1580cc=_0x131c5a[_0x30dc0d(0x5c,-_0x1b5e08._0x247cf8,-0x4c,_0x1b5e08._0xed0e1c)]['get'](_0x336de8);if(_0x1580cc)return _0x1580cc;const _0x243605=((async()=>{const _0x8b454c={_0x50e4a4:0x12a};function _0xd97462(_0x26e8fe,_0x398a28,_0x2e69ae,_0x3fa8db){return _0x30dc0d(_0x3fa8db,_0x398a28-0x113,_0x2e69ae-_0x5189b7._0x313baf,_0x26e8fe-_0x5189b7._0x81cffe);}function _0x1cab64(_0xaf5b25,_0x2a9d53,_0x2a3a82,_0x8fda15){return _0x3cc47d(_0xaf5b25-_0x8b454c._0x50e4a4,_0x2a9d53-0x1ea,_0x8fda15,_0x2a9d53- -0x392);}try{const _0x40386d=await _0x1655f4[_0xd97462(0x4de,0x491,0x638,_0x2523b1._0x54b998)](_0x526192);if(!_0x40386d)return _0x131c5a[_0xd97462(0x4fc,0x669,_0x2523b1._0x55e0ba,0x437)][_0x1cab64(0x98,_0x2523b1._0x2d8c4a,_0x2523b1._0x11c095,0xaa)](_0x336de8),void 0x0;const _0xf0d797=await createLspClient({'server':_0x1655f4,'root':_0x526192,'handle':_0x40386d}),_0x1828e8=_0x131c5a[_0x1cab64(0x213,_0x2523b1._0x33738f,_0x2523b1._0x576790,-0xc9)][_0xd97462(0x3de,0x467,_0x2523b1._0x1341cc,0x351)](_0x5bf433=>_0x5bf433[_0x1cab64(0xfb,-0x11,0x6d,0x83)]===_0x1655f4['id']&&_0x5bf433['root']===_0x526192);if(_0x1828e8)return await _0xf0d797[_0x1cab64(-_0x2523b1._0x2bf5e2,-0xab,_0x2523b1._0x5f59fc,-0xdd)](),_0x1828e8;return _0x131c5a[_0x1cab64(0xc1,_0x2523b1._0x2b5f0a,_0x2523b1._0x2e71d7,_0x2523b1._0xfb765)][_0xd97462(_0x2523b1._0xba0fc7,0x1fb,0x2d7,0x227)](_0xf0d797),_0xf0d797;}catch{return _0x131c5a[_0xd97462(0x4fc,0x510,_0x2523b1._0x42e633,_0x2523b1._0x53415d)][_0x1cab64(-0x10e,_0x2523b1._0xe2bcb6,0x60,0x86)](_0x336de8),void 0x0;}finally{_0x131c5a[_0x1cab64(-_0x2523b1._0x57dfb9,-0xcc,-0x180,-0x129)][_0x1cab64(-_0x2523b1._0x405822,-_0x2523b1._0x5b9b35,-0xa9,-0x5e)](_0x336de8);}})());_0x131c5a[_0x3cc47d(0x2f6,0x18b,_0x1b5e08._0x282380,0x2c6)][_0x3cc47d(0x372,_0x1b5e08._0x49bb58,_0x1b5e08._0x23047a,_0x1b5e08._0x1057a0)](_0x336de8,_0x243605);function _0x3cc47d(_0x7b15e4,_0x589875,_0x26b854,_0x57367f){return _0x1b39(_0x57367f-_0x4634f4._0x348e41,_0x26b854);}return _0x243605;}async function _0x4329ce(_0x3c59f2,_0x19b262){const _0x1f04d5={_0x132974:0x2fd};if(!_0x58426c())return[];const _0x52bd1e=[];function _0x426be5(_0xeba7f5,_0x5553a1,_0x440868,_0x1749f6){return _0x1b39(_0xeba7f5-0x253,_0x5553a1);}function _0x2811c5(_0x468ee8,_0x5c881f,_0x2e50b6,_0x48aab4){return _0x1b39(_0x5c881f- -_0x1f04d5._0x132974,_0x48aab4);}for(const _0x832fe of getServersForFile(_0x3c59f2)){const _0x204946=await _0x832fe[_0x426be5(_0xff2f02._0x42fa23,0x504,_0xff2f02._0x4ee745,_0xff2f02._0x444e79)](_0x3c59f2);if(!_0x204946)continue;const _0x170159=stateKey(_0x832fe,_0x204946);if(_0x131c5a[_0x426be5(_0xff2f02._0x488708,_0xff2f02._0xdb6b5c,0x514,_0xff2f02._0x41e63d)][_0x426be5(0x57c,0x4f8,0x6c1,0x57d)](_0x170159))continue;const _0x435107=_0x131c5a[_0x2811c5(-_0xff2f02._0x1793f6,_0xff2f02._0x539b2b,-_0xff2f02._0x33b937,0x66)]['find'](_0x189829=>_0x189829[_0x2811c5(-0x11d,-0x99,-0x123,0x19)]===_0x832fe['id']&&_0x189829[_0x426be5(0x450,0x3f6,0x454,0x486)]===_0x204946);if(_0x435107){_0x52bd1e[_0x426be5(0x3cf,0x282,_0xff2f02._0x311194,_0xff2f02._0x5ab3d7)](_0x435107);continue;}if(!_0x19b262)continue;const _0x2f8057=await _0x47d53e(_0x832fe,_0x204946);if(_0x2f8057)_0x52bd1e[_0x2811c5(-0x204,-0x181,-_0xff2f02._0x293456,-0xf5)](_0x2f8057);}return _0x52bd1e;}async function _0x24e0e4(_0x30b627,_0xce12b5=![]){const _0x4b11f0={_0x72953e:0x2cb,_0x585b92:0x3bb,_0x1fb19f:0x409,_0x4ce069:0x9,_0x23a0e5:0xa0,_0x746a6d:0x23,_0x30f5c9:0x3a,_0x46d565:0x1c6,_0x13afaf:0x107,_0x19d9d5:0xe4,_0x8878c1:0x221,_0x34ffe9:0xa,_0x3c1fca:0x348,_0x2f7d69:0x20d,_0x4c18c3:0x1ba,_0x449bda:0x76,_0x538773:0x144,_0x1bb7b6:0x22c,_0x2d09d8:0x286},_0x4ce62d={_0x3f0d53:0x174},_0x179c5c={_0x27f584:0x1c9};function _0x3418c8(_0x33fb19,_0x2b4bc8,_0x2d7c31,_0x2f364e){return _0x1b39(_0x2f364e-0xea,_0x2d7c31);}const _0x528e89=await _0x4329ce(_0x30b627,!![]);function _0x45510a(_0x2b0764,_0x5f47b3,_0x2051d9,_0x20cc50){return _0x1b39(_0x20cc50-_0x53fa15._0x1cae3e,_0x2051d9);}await Promise[_0x45510a(_0x4deb1._0x2debc6,_0x4deb1._0x6e5158,_0x4deb1._0x4ab2e0,_0x4deb1._0x1ede14)](_0x528e89[_0x45510a(_0x4deb1._0x553427,0x466,0x4b1,_0x4deb1._0x321d7a)](async _0x175ee9=>{function _0x2e52b2(_0xe18b8d,_0x228cb0,_0x1e13be,_0x2b62a4){return _0x3418c8(_0xe18b8d-0x1e1,_0x228cb0-_0x179c5c._0x27f584,_0xe18b8d,_0x228cb0- -0x3ee);}!_0x131c5a['openFiles'][_0xbea65f(_0x4b11f0._0x72953e,0x44b,_0x4b11f0._0x585b92,_0x4b11f0._0x1fb19f)](_0x175ee9[_0x2e52b2(_0x4b11f0._0x4ce069,-_0x4b11f0._0x23a0e5,-_0x4b11f0._0x746a6d,_0x4b11f0._0x30f5c9)]+':'+_0x175ee9[_0x2e52b2(-_0x4b11f0._0x46d565,-_0x4b11f0._0x13afaf,-0x106,0x32)]+':'+_0x30b627)&&(await _0x175ee9[_0x2e52b2(-0x1e2,-_0x4b11f0._0x19d9d5,-_0x4b11f0._0x8878c1,-_0x4b11f0._0x34ffe9)]['open']({'path':_0x30b627}),_0x131c5a['openFiles'][_0xbea65f(_0x4b11f0._0x3c1fca,0x401,_0x4b11f0._0x2f7d69,0x36f)](_0x175ee9['serverId']+':'+_0x175ee9[_0x2e52b2(-_0x4b11f0._0x4c18c3,-0x107,-_0x4b11f0._0x449bda,-0xd3)]+':'+_0x30b627));await _0x175ee9[_0xbea65f(0x465,0x38b,0x381,0x300)]['change']({'path':_0x30b627,'version':nextFileVersion(_0x131c5a,_0x30b627)});function _0xbea65f(_0x298b43,_0x2edc30,_0x23e0dd,_0x519d01){return _0x45510a(_0x298b43-0xbc,_0x2edc30-_0x4ce62d._0x3f0d53,_0x23e0dd,_0x519d01- -0x21e);}if(_0xce12b5)await _0x175ee9[_0xbea65f(0x326,_0x4b11f0._0x538773,_0x4b11f0._0x1bb7b6,_0x4b11f0._0x2d09d8)]({'path':_0x30b627});}));}async function _0x5770e5(_0x18a876){const _0x79ab96={_0x3c6eb0:0x1f3};function _0x4be071(_0x1fdb9f,_0xb8636a,_0x5052ba,_0x58c971){return _0x1b39(_0xb8636a-0x391,_0x1fdb9f);}function _0x1d644b(_0x31847d,_0x5d1207,_0x2daedd,_0x1707e7){return _0x1b39(_0x1707e7- -_0x79ab96._0x3c6eb0,_0x5d1207);}return await _0x24e0e4(_0x18a876[_0x4be071(0x651,_0x3dc42f._0x2fa156,0x761,_0x3dc42f._0x1d8363)],![]),_0x4329ce(_0x18a876[_0x1d644b(0x72,-0x80,_0x3dc42f._0x2d5d97,_0x3dc42f._0x27d8d4)],![]);}async function _0x543c7e(_0x45e0de){const _0x2b727e={_0x3385f0:0x1b0};function _0x423d11(_0x259d5f,_0x417ae4,_0x185c3e,_0x5f9ed){return _0x1b39(_0x417ae4- -0x26,_0x5f9ed);}const _0x42a433=await _0x5770e5(_0x45e0de);function _0x28b877(_0x1db8f6,_0x25127e,_0x330798,_0x4153b1){return _0x1b39(_0x330798-_0x2b727e._0x3385f0,_0x25127e);}return collectClientResults(_0x42a433[_0x28b877(0x26c,0x3f5,0x3e0,_0xbb7368._0x1d3821)](_0x1f7a57=>_0x1f7a57[_0x423d11(0x165,0x292,0x32b,0x16f)]['prepareCallHierarchy'](_0x45e0de)));}return{'isEnabled':_0x58426c,async 'hasClients'(_0x5993b6){function _0xb44db2(_0x3f18d1,_0x126923,_0x582924,_0x4f94f5){return _0x1b39(_0x4f94f5-0x2ba,_0x582924);}return(await _0x4329ce(_0x5993b6,![]))['length']>0x0||getServersForFile(_0x5993b6)[_0xb44db2(_0x506725._0x443869,_0x506725._0x245da8,0x512,_0x506725._0x5b2d9c)]>0x0;},'touchFile':_0x24e0e4,async 'diagnostics'(){const _0x20b1f9={};function _0x14d91c(_0x518a2c,_0x22c237,_0x1e2873,_0x489710){return _0x1b39(_0x489710-0x208,_0x1e2873);}for(const _0x4f5bed of _0x131c5a[_0x5249bd(_0x45c50c._0x4df636,_0x45c50c._0x9f04bc,_0x45c50c._0x305507,0x3db)]){for(const [_0x4d0b94,_0x339672]of _0x4f5bed[_0x5249bd(_0x45c50c._0x522206,0x1c2,_0x45c50c._0x2f5cb4,_0x45c50c._0x3a28aa)]){_0x20b1f9[diagnosticsKeyToPath(_0x4d0b94)]=_0x339672;}}function _0x5249bd(_0x3ea829,_0x4ef8e3,_0x38ef3a,_0x4623f3){return _0x1b39(_0x3ea829-0x103,_0x38ef3a);}return _0x20b1f9;},async 'diagnosticsForFile'(_0x3e568e){await _0x24e0e4(_0x3e568e,!![]);const _0x450657=[];for(const _0x1c6efa of await _0x4329ce(_0x3e568e,![])){for(const [_0x5a81e9,_0x23af4b]of _0x1c6efa[_0x3f3f4a(0x231,0x352,_0x1a7481._0x20545d,_0x1a7481._0x1316d5)]){if(diagnosticsKeyToPath(_0x5a81e9)===_0x3e568e)_0x450657['push'](..._0x23af4b);}}function _0x3f3f4a(_0x12a69f,_0x23186c,_0x3d0a22,_0x24e448){return _0x1b39(_0x12a69f-_0x31829f._0x4fa6d2,_0x24e448);}return _0x450657;},async 'definition'(_0x56b0dc){function _0x572291(_0x22c66c,_0xca7aa6,_0x14c4f1,_0x37b230){return _0x1b39(_0x22c66c-0x2f7,_0xca7aa6);}return collectClientResults((await _0x5770e5(_0x56b0dc))['map'](_0x406ffe=>_0x406ffe['request'][_0x572291(0x49b,0x4ec,0x34d,0x4fd)](_0x56b0dc)));},async 'references'(_0x1905ac){function _0x59bb65(_0x245787,_0x581772,_0x131f9f,_0x1b42c1){return _0x1b39(_0x1b42c1-0x1bc,_0x581772);}function _0x412e60(_0x3864a0,_0x3e49be,_0x30e594,_0x73ab5c){return _0x1b39(_0x3864a0- -_0x5615e9._0x480a89,_0x73ab5c);}return collectClientResults((await _0x5770e5(_0x1905ac))[_0x412e60(-0xd9,-_0x3eafcc._0x478eca,-0xd8,_0x3eafcc._0x4a16e6)](_0x2a137b=>_0x2a137b[_0x412e60(-0x51,-0x16a,0x61,-0x9a)][_0x412e60(-0x193,-0x114,-0x308,-0x1bb)](_0x1905ac)));},async 'hover'(_0x538b12){function _0xc42877(_0x3d8b8d,_0x4d2ee8,_0x14d266,_0x7d4550){return _0x1b39(_0x7d4550- -_0x4da3a6._0x113a21,_0x14d266);}function _0x4167c7(_0x47b6f6,_0x3dee60,_0x1e1bdb,_0x12921d){return _0x1b39(_0x3dee60- -0x30b,_0x47b6f6);}const _0x47b70c=await Promise[_0x4167c7(-0x388,-0x247,-0x10e,-_0x2b54f3._0x4e8204)]((await _0x5770e5(_0x538b12))['map'](_0x38645d=>_0x38645d[_0xc42877(0x2f2,0x23f,0x207,0x200)]['hover'](_0x538b12)));return _0x47b70c[_0x4167c7(-_0x2b54f3._0x103f18,-0x21e,-_0x2b54f3._0x5afdca,-0x2cd)](_0x49e9f6=>_0x49e9f6[_0xc42877(0x1c1,0x5,0x74,0x149)]===_0x4167c7(0x73,-0xba,-0x1f5,-0x1e0)&&_0x49e9f6[_0xc42877(-0x4b,0x121,0x1df,0xb6)]?[_0x49e9f6[_0xc42877(0x52,0xbb,-0xa,0xb6)]]:[]);},async 'documentSymbol'(_0x359fe2){await _0x24e0e4(_0x359fe2,![]);function _0x7cb6d(_0x113358,_0x301e3c,_0x2cbff4,_0x5a66c5){return _0x1b39(_0x301e3c- -_0x4dc741._0x3091d4,_0x113358);}function _0x48acd9(_0x350fb9,_0x4dd41f,_0x5aed8d,_0x59a744){return _0x1b39(_0x5aed8d- -0x1dd,_0x59a744);}return collectClientResults((await _0x4329ce(_0x359fe2,![]))[_0x7cb6d(_0x3162b7._0x142f47,0x1b,_0x3162b7._0x5c2edf,-_0x3162b7._0x3dae61)](_0x5d1c88=>_0x5d1c88[_0x48acd9(-0xa,0x58,0xdb,0x174)][_0x48acd9(-0x205,-0x1e4,-0x12e,-0xf1)](_0x359fe2)));},async 'workspaceSymbol'(_0x10a8c){function _0x420e3b(_0x426429,_0x257f2e,_0x3d15c4,_0x21eb57){return _0x1b39(_0x3d15c4- -0x24b,_0x21eb57);}function _0x1b589e(_0x487339,_0x1b1818,_0x10f957,_0x346619){return _0x1b39(_0x10f957-_0x5b0d6a._0x3a2245,_0x346619);}return collectClientResults(_0x131c5a['clients'][_0x1b589e(0x58e,0x4ca,0x60a,0x4d1)](_0x6554a6=>_0x6554a6[_0x420e3b(0x93,-0x89,0x6d,-0x2c)][_0x420e3b(0x42,-0x13d,-0x109,-0x7c)](_0x10a8c)));},async 'implementation'(_0xf77b62){function _0x2ab82e(_0x1f4c82,_0x4fa7be,_0xe3e0f6,_0x230623){return _0x1b39(_0x4fa7be-_0x205705._0x1d7653,_0xe3e0f6);}return collectClientResults((await _0x5770e5(_0xf77b62))['map'](_0x305577=>_0x305577[_0x2ab82e(0x666,0x616,0x67c,0x679)]['implementation'](_0xf77b62)));},async 'prepareCallHierarchy'(_0x4cf5c5){return _0x543c7e(_0x4cf5c5);},async 'incomingCalls'(_0x3cd230){const _0x5c2d1c={_0x318466:0x172};function _0x2b7f28(_0x1208de,_0x4b22f3,_0x4dc225,_0x4dcd19){return _0x1b39(_0x4b22f3- -_0x5c2d1c._0x318466,_0x4dc225);}const _0x566aaf=await _0x543c7e(_0x3cd230);function _0x1e8f59(_0x407549,_0x5c8dbb,_0x49ae2c,_0x3b137a){return _0x1b39(_0x407549-0x93,_0x5c8dbb);}const _0x24df0e=await _0x5770e5(_0x3cd230);return collectClientResults(_0x24df0e[_0x1e8f59(0x180,0x13,0x19,0x14)](_0x293201=>_0x566aaf[_0x1e8f59(0x2c3,0x3f4,0x3e2,0x285)](_0x289b62=>_0x293201[_0x1e8f59(0x34b,0x20e,0x314,0x38e)][_0x2b7f28(-0x77,-0xbe,-0xb6,-0x213)](_0x289b62))));},async 'outgoingCalls'(_0x56409d){const _0x35e4eb={_0x45b20b:0x7f},_0x2611d4=await _0x543c7e(_0x56409d),_0x42ca0a=await _0x5770e5(_0x56409d);function _0x1b9e03(_0x2e64a0,_0x417798,_0x344a54,_0x955a33){return _0x1b39(_0x417798-_0x35e4eb._0x45b20b,_0x2e64a0);}function _0x228dbb(_0x50c353,_0x56fd02,_0x446ab8,_0x53c56c){return _0x1b39(_0x50c353- -0x362,_0x56fd02);}return collectClientResults(_0x42ca0a[_0x228dbb(-0x275,-0x32d,-_0x57f4d5._0x3ab4f5,-_0x57f4d5._0x26e81b)](_0x120a03=>_0x2611d4[_0x228dbb(-0x132,0x11,-0x164,-0x187)](_0x1db1f1=>_0x120a03[_0x1b9e03(0x3f4,0x337,0x2a1,0x259)][_0x1b9e03(0x4da,0x3e4,0x53e,0x4fc)](_0x1db1f1))));},async 'shutdown'(){const _0x3a5662={_0x52042c:0x1e};if(_0x131c5a['shutdownStarted'])return;_0x131c5a[_0x34eb5b(-_0x515fac._0x46747e,0x7e,-0x2b,0x70)]=!![],await Promise[_0x34eb5b(-0x279,-0x19a,-_0x515fac._0x2418f9,-_0x515fac._0x3d557a)](_0x131c5a[_0x34eb5b(_0x515fac._0x4b6458,0xc1,-_0x515fac._0x541b3b,_0x515fac._0x195b6b)][_0x34eb5b(0x59,-_0x515fac._0x12bd18,-0x137,-0x185)](_0x1fdde5=>_0x1fdde5[_0x34eb5b(-0xcb,-0x94,-0x199,-0xec)]())),_0x131c5a[_0x5789da(_0x515fac._0x1bdca0,_0x515fac._0x44f530,0x3ab,_0x515fac._0x2236e2)]=[],_0x131c5a[_0x34eb5b(-0x116,-_0x515fac._0x10dc28,-_0x515fac._0x35ab0b,-0xb3)][_0x34eb5b(-_0x515fac._0x21d6ab,-_0x515fac._0x2477df,-0x87,-_0x515fac._0x3dbb27)](),_0x131c5a['broken'][_0x5789da(0x2b0,_0x515fac._0x451305,_0x515fac._0x1129cb,0x17e)]();function _0x5789da(_0x5b5100,_0x518c98,_0x72dc7f,_0x4a6fd1){return _0x1b39(_0x4a6fd1- -_0x3a5662._0x52042c,_0x518c98);}function _0x34eb5b(_0x15ac34,_0x34d7f9,_0x4f8671,_0x37be88){return _0x1b39(_0x34d7f9- -0x25e,_0x15ac34);}_0x131c5a['fileVersions'][_0x5789da(_0x515fac._0x4fa9a6,0x1a4,0x134,_0x515fac._0x236588)](),_0x131c5a['openFiles'][_0x34eb5b(-_0x515fac._0x5bce86,-_0x515fac._0x2477df,-0x200,_0x515fac._0x23d69c)]();},'status'(){function _0x5efb8c(_0x3c45c5,_0x34fcb7,_0xd0f774,_0x41a809){return _0x1b39(_0x41a809-_0x2e7be7._0x4677ba,_0x3c45c5);}return{'connectedClients':_0x131c5a[_0x5efb8c(_0x4a03ff._0x2a0371,_0x4a03ff._0x19a8cb,_0x4a03ff._0x4ff4cc,_0x4a03ff._0x3dd234)]['length']};}};}function createQuestionId(){const _0x16f1d2={_0x3f11ae:0x187,_0x58a9c1:0x17a,_0xdb1a9d:0x6b,_0x5a39da:0x2e4,_0x245f1c:0xd4,_0x5227db:0xe6},_0x428955={_0x2edc15:0x8f},_0x323f5c={_0x2ca551:0x44,_0x302e68:0x34b,_0x1d45fb:0xc3};function _0x3fef80(_0x2bac60,_0xeee4ec,_0x210bbf,_0x191d42){return _0x4d9604(_0x2bac60-_0x323f5c._0x2ca551,_0x191d42,_0x2bac60- -_0x323f5c._0x302e68,_0x191d42-_0x323f5c._0x1d45fb);}function _0x4f2899(_0x1ef758,_0x2e8446,_0x3c9e25,_0x204868){return _0x2853b9(_0x1ef758-0x1f,_0x2e8446-_0x428955._0x2edc15,_0x2e8446- -0x38d,_0x3c9e25);}return _0x4f2899(0x219,_0x16f1d2._0x3f11ae,0x19e,0x100)+Date[_0x3fef80(-_0x16f1d2._0x58a9c1,-_0x16f1d2._0xdb1a9d,-_0x16f1d2._0x5a39da,-0x10d)]()+'-'+Math[_0x4f2899(_0x16f1d2._0x245f1c,0xb2,-0x6c,-0x6)]()['toString'](0x24)[_0x3fef80(-_0x16f1d2._0x5227db,-0x153,-0x11a,-0xa3)](0x2,0x9);}function validateInput(_0x11fa11){const _0x4c1f21={_0x41abdc:0x21e,_0x3b03ef:0x17e,_0x26a1aa:0x31c,_0xb2c753:0x21e,_0x56a8d9:0x153,_0x30109b:0x158,_0x1a5975:0xf0,_0x40a14b:0x9b,_0x3f5001:0x24,_0x2448cb:0xaf,_0x28c1d4:0x13d,_0x52b8d9:0x1a8,_0x22fefd:0xfd,_0x13e046:0x4a,_0x13171d:0x42,_0x5ea5f6:0x8c,_0x252dbf:0x1d2,_0xa50b1:0x2c4,_0x232e13:0xeb,_0x1cc6c7:0x72,_0x25b888:0x14,_0x468a78:0x4a,_0x50b042:0x2f2,_0x17ee42:0x19b,_0x146cb6:0x180,_0x4860f2:0x54,_0x5da1a4:0x111,_0x257f3c:0x4d,_0xa4c5c9:0xc8,_0x282f23:0x1f,_0x145728:0xd2,_0x4c3b42:0x133,_0x41522c:0x13,_0x4a4f17:0xa5,_0x2db7ca:0x1e,_0x232722:0x251,_0x1306b9:0x1b,_0x333b41:0x155,_0x1d60c1:0x1f,_0x1fa556:0x12c,_0x50374:0x39,_0x5a0d39:0xfe,_0x342b67:0x83,_0x4395d1:0xaf,_0x2482e0:0xc0,_0x496189:0x1f6,_0x27b41e:0xa0,_0x3ed4c2:0x16,_0x199ec8:0x13b,_0x5e7c61:0x7,_0x36d143:0x61,_0x29faa7:0x91,_0x25531d:0xd6,_0x376914:0x4a,_0x1496f8:0xc6,_0x265fd6:0x9c,_0x2dee70:0x94,_0x4a52e9:0x5b,_0x45b7c1:0xac,_0x964b37:0x5b,_0x1928cd:0x1a4,_0x277169:0x1f5,_0x34e8e9:0x3a,_0x40f9e1:0xd2,_0x4618df:0xfc,_0x3a1c6f:0x88,_0x54c558:0x109,_0x2df532:0xaf,_0x5ed487:0x1bd,_0x3c1f6e:0x4f,_0xab07a6:0x184,_0x3e5d43:0x156,_0x48d8b5:0x2a,_0x2debe5:0x104,_0x586fd5:0xff,_0x11ab4f:0xe2,_0x4a9767:0x247,_0x43a3b9:0x9,_0x28fb87:0x143,_0x415f0b:0x48,_0x57dd6c:0x8a,_0x1e72ea:0x155,_0x3635b9:0x23a,_0x43626e:0x148,_0x46082d:0x32,_0x4ecb15:0x2,_0x4a7380:0x42},_0x280ff4={_0x4e153a:0x2b,_0x265fe4:0x11e},_0x43e26b={_0x4551dd:0x194,_0x48f6a4:0x5f};if(!Array['isArray'](_0x11fa11[_0x335cf2(_0x4c1f21._0x41abdc,_0x4c1f21._0x3b03ef,_0x4c1f21._0x26a1aa,0x2b7)])||_0x11fa11[_0x335cf2(_0x4c1f21._0xb2c753,_0x4c1f21._0x56a8d9,_0x4c1f21._0x30109b,_0x4c1f21._0x1a5975)][_0x535fdb(_0x4c1f21._0x40a14b,_0x4c1f21._0x3f5001,0x4a,-_0x4c1f21._0x2448cb)]<0x1||_0x11fa11[_0x535fdb(0x178,_0x4c1f21._0x28c1d4,_0x4c1f21._0x52b8d9,0x211)][_0x535fdb(-_0x4c1f21._0x22fefd,-0x52,_0x4c1f21._0x13e046,0x121)]>0xa)throw new ToolExecutionError(_0x535fdb(-0x24b,_0x4c1f21._0x13171d,-0xfd,0x5e),{'error':_0x335cf2(0x1c,-0x10,0xa8,_0x4c1f21._0x5ea5f6)});function _0x535fdb(_0x42e4a5,_0xe70ad6,_0x551e76,_0x17d43e){return _0x4d9604(_0x42e4a5-0xea,_0xe70ad6,_0x551e76- -_0x43e26b._0x4551dd,_0x17d43e-_0x43e26b._0x48f6a4);}function _0x335cf2(_0x1ea443,_0x4622a4,_0x18a8f6,_0xd71e3a){return _0x4d9604(_0x1ea443-_0x280ff4._0x4e153a,_0xd71e3a,_0x1ea443- -_0x280ff4._0x265fe4,_0xd71e3a-0x29);}for(let _0x14409d=0x0;_0x14409d<_0x11fa11[_0x335cf2(0x21e,_0x4c1f21._0x252dbf,_0x4c1f21._0xa50b1,_0x4c1f21._0x232e13)][_0x535fdb(-_0x4c1f21._0x1cc6c7,_0x4c1f21._0x25b888,_0x4c1f21._0x468a78,-0x29)];_0x14409d+=0x1){const _0x3c6057=_0x11fa11[_0x335cf2(_0x4c1f21._0xb2c753,_0x4c1f21._0x50b042,_0x4c1f21._0x17ee42,_0x4c1f21._0x146cb6)][_0x14409d];if(!_0x3c6057[_0x335cf2(_0x4c1f21._0x4860f2,_0x4c1f21._0x5da1a4,-_0x4c1f21._0x257f3c,0x189)]||typeof _0x3c6057[_0x535fdb(-0x22,-0x196,-0x22,_0x4c1f21._0xa4c5c9)]!==_0x335cf2(_0x4c1f21._0x282f23,-_0x4c1f21._0x145728,_0x4c1f21._0x4c3b42,0x3a))throw new ToolExecutionError(_0x535fdb(-0x1ea,-_0x4c1f21._0x41522c,-0xa0,_0x4c1f21._0x4a4f17)+(_0x14409d+0x1)+_0x335cf2(0xeb,_0x4c1f21._0x2db7ca,0x6a,_0x4c1f21._0x232722));if(!_0x3c6057[_0x535fdb(-_0x4c1f21._0x282f23,0x2b,_0x4c1f21._0x1306b9,_0x4c1f21._0x333b41)]||typeof _0x3c6057['topic']!==_0x335cf2(_0x4c1f21._0x1d60c1,-0x127,_0x4c1f21._0x1fa556,-_0x4c1f21._0x50374))throw new ToolExecutionError('Question\x20'+(_0x14409d+0x1)+':\x20\x22topic\x22\x20field\x20is\x20required\x20and\x20must\x20be\x20a\x20string');if(_0x3c6057[_0x535fdb(-_0x4c1f21._0x5a0d39,-_0x4c1f21._0x342b67,_0x4c1f21._0x1306b9,_0x4c1f21._0x4395d1)][_0x335cf2(_0x4c1f21._0x2482e0,_0x4c1f21._0x496189,0x17f,-0x3b)]>0x1e)throw new ToolExecutionError(_0x535fdb(-0x1bc,0x72,-_0x4c1f21._0x27b41e,_0x4c1f21._0x3ed4c2)+(_0x14409d+0x1)+_0x335cf2(_0x4c1f21._0x199ec8,-_0x4c1f21._0x5e7c61,_0x4c1f21._0x36d143,0x17b)+_0x3c6057[_0x335cf2(_0x4c1f21._0x29faa7,-_0x4c1f21._0x5ea5f6,0x1c,-0x4d)][_0x535fdb(_0x4c1f21._0x25531d,0x196,_0x4c1f21._0x376914,_0x4c1f21._0x1496f8)]);if(!Array['isArray'](_0x3c6057[_0x335cf2(-0x5b,-0x12,_0x4c1f21._0x265fd6,_0x4c1f21._0x2dee70)])||_0x3c6057[_0x335cf2(-_0x4c1f21._0x4a52e9,-0x191,_0x4c1f21._0x45b7c1,0xd6)][_0x535fdb(-0x10d,0x1bd,0x4a,0x72)]<0x2||_0x3c6057[_0x335cf2(-_0x4c1f21._0x964b37,-0x41,-0xb8,-_0x4c1f21._0x1928cd)][_0x335cf2(0xc0,-0x15,_0x4c1f21._0x277169,0x6f)]>0x4)throw new ToolExecutionError(_0x335cf2(-0x2a,_0x4c1f21._0x34e8e9,-_0x4c1f21._0x40f9e1,0x142)+(_0x14409d+0x1)+_0x335cf2(-0xa9,-0xdd,-_0x4c1f21._0x4618df,-0x12d));for(let _0x320ec7=0x0;_0x320ec7<_0x3c6057[_0x335cf2(-_0x4c1f21._0x4a52e9,-0xe3,-_0x4c1f21._0x3a1c6f,-_0x4c1f21._0x54c558)][_0x535fdb(_0x4c1f21._0x2df532,_0x4c1f21._0x5ed487,0x4a,0x144)];_0x320ec7+=0x1){const _0x397bdf=_0x3c6057[_0x335cf2(-0x5b,0x52,_0x4c1f21._0x3c1f6e,-0x31)][_0x320ec7];if(!_0x397bdf[_0x335cf2(-0x15,-0x11d,-_0x4c1f21._0xab07a6,0x3f)]||!_0x397bdf[_0x535fdb(0x1a4,0x105,_0x4c1f21._0x3e5d43,0x2a1)])throw new ToolExecutionError(_0x335cf2(-_0x4c1f21._0x48d8b5,-0x14b,_0x4c1f21._0x2debe5,_0x4c1f21._0x586fd5)+(_0x14409d+0x1)+_0x335cf2(_0x4c1f21._0x11ab4f,0xdb,0x60,_0x4c1f21._0x4a9767)+(_0x320ec7+0x1)+_0x335cf2(0xe9,0x24a,-_0x4c1f21._0x43a3b9,_0x4c1f21._0x28fb87));}if(typeof _0x3c6057[_0x535fdb(_0x4c1f21._0x415f0b,_0x4c1f21._0x57dd6c,_0x4c1f21._0x1e72ea,_0x4c1f21._0x3635b9)]!==_0x335cf2(0xe7,0x1b7,_0x4c1f21._0x43626e,0x194))throw new ToolExecutionError(_0x535fdb(_0x4c1f21._0x46082d,_0x4c1f21._0x4ecb15,-_0x4c1f21._0x27b41e,-0x19a)+(_0x14409d+0x1)+_0x535fdb(-0xce,0x30,-0x128,_0x4c1f21._0x4a7380));}}function buildQuestions(_0x3df95c){const _0x23abf8={_0x838a6:0x467,_0x4d8a2f:0x4a0},_0x17ec28={_0x2612a5:0x19a,_0x3062ef:0x42a},_0x18b2a0={_0x486905:0x30};function _0x499c70(_0x143445,_0x3fbb9b,_0x399527,_0x15d7e2){return _0x2853b9(_0x143445-_0x18b2a0._0x486905,_0x3fbb9b-0xe3,_0x15d7e2- -0x54,_0x3fbb9b);}function _0x21fe80(_0x2ac175,_0x4a8ed2,_0x5dc4af,_0x432dcb){return _0x2853b9(_0x2ac175-_0x17ec28._0x2612a5,_0x4a8ed2-0x1d4,_0x2ac175- -_0x17ec28._0x3062ef,_0x4a8ed2);}return _0x3df95c['questions'][_0x499c70(0x3d2,_0x23abf8._0x838a6,0x5c4,_0x23abf8._0x4d8a2f)]((_0xd992bd,_0x454905)=>({'id':'q'+_0x454905,'question':_0xd992bd[_0x499c70(0x3f9,0x469,0x321,0x428)],'topic':_0xd992bd[_0x499c70(0x42e,0x3ca,0x55f,0x465)],'options':_0xd992bd[_0x499c70(0x2e5,0x2ec,0x2eb,0x379)],'multiSelect':_0xd992bd[_0x21fe80(0x1c9,0xdd,0x2f1,0x7a)]}));}function createResult(_0x515793,_0x5cded5,_0x381cee){const _0x549a15={_0x3b64d1:0x18d,_0x300d78:0x57,_0x4b012e:0x18b},_0xc61550={_0x3dd50a:0x1af},_0x45ed24={'questionId':_0x515793,'questionCount':_0x5cded5,'answers':_0x381cee};function _0x24f750(_0x541a43,_0x403b82,_0x1d6d01,_0x34aae7){return _0x2853b9(_0x541a43-0x1db,_0x403b82-_0xc61550._0x3dd50a,_0x34aae7- -0x63e,_0x541a43);}return createToolOutput('User\x20responses\x20received:\x20'+JSON[_0x24f750(-_0x549a15._0x3b64d1,-_0x549a15._0x300d78,-_0x549a15._0x4b012e,-0x189)](_0x381cee,null,0x2),_0x45ed24);}function createAskUserTool(){const _0x2088c8={_0x2eb305:0x1d7,_0x2fc164:0x2e7,_0x15dead:0x246,_0x340732:0x170,_0x4e4a82:0x19c,_0x2687df:0x2c2,_0x120a87:0x23f,_0x2558cd:0x159,_0x2c58b8:0x342,_0x2a6092:0x23f,_0x4839be:0x20d,_0x53902d:0x1a2,_0x332b6e:0x39f,_0x490233:0x210,_0x2b8cd6:0x14b,_0x14d0f6:0x1ac,_0x1c53b8:0x18a,_0x449312:0x2fa,_0x107314:0x57b,_0xd94f3d:0xae,_0x133d97:0x284,_0x1e3245:0x2e9,_0x32444a:0x450,_0x7ab7dd:0x1ca,_0x49c3cc:0x1df,_0x11c81d:0x14,_0x5d6164:0x145,_0x337290:0x39},_0x10b864={_0x331635:0x211,_0x20f6cb:0x17f,_0x176971:0x9d,_0x579e4c:0x34,_0x226e83:0x7b,_0x1dff49:0x97,_0x357f27:0xcf,_0x31efa4:0xa3,_0x570312:0x17,_0x35b789:0x28c,_0x155dae:0x1e8,_0x45e7df:0xa9,_0x224370:0x2f,_0x2d03d8:0x18f,_0x436c26:0xc,_0x4e70ac:0x3e,_0x33af34:0x4d,_0xb3de91:0xaf,_0x23656b:0x1cc,_0x41fbd7:0xe8,_0x1b4828:0x1d1,_0x52a8ae:0x1c6},_0x4efbde={_0x2da70c:0x13c,_0x3e15d1:0x13a,_0x547c62:0x4f},_0x3d89be={_0x4e402d:0x41,_0x127de0:0x5df};function _0xeb6589(_0x16ff72,_0x36b202,_0x4df086,_0x412c98){return _0x2853b9(_0x16ff72-_0x3d89be._0x4e402d,_0x36b202-0x50,_0x16ff72- -_0x3d89be._0x127de0,_0x412c98);}function _0xc10551(_0xc52783,_0x251016,_0x1fd33d,_0x1a282b){return _0x4d9604(_0xc52783-_0x4efbde._0x2da70c,_0x1a282b,_0xc52783-_0x4efbde._0x3e15d1,_0x1a282b-_0x4efbde._0x547c62);}return defineTool({'name':_0xc10551(_0x2088c8._0x2eb305,_0x2088c8._0x2fc164,_0x2088c8._0x15dead,_0x2088c8._0x340732),'description':_0xeb6589(-_0x2088c8._0x4e4a82,-_0x2088c8._0x2687df,-0x170,-0x135),'inputSchema':{'type':_0xeb6589(-_0x2088c8._0x120a87,-_0x2088c8._0x2558cd,-_0x2088c8._0x2c58b8,-0x117),'properties':{'questions':{'type':'array','items':{'type':_0xeb6589(-_0x2088c8._0x2a6092,-_0x2088c8._0x4839be,-_0x2088c8._0x53902d,-_0x2088c8._0x332b6e),'properties':{'question':{'type':_0xeb6589(-0x198,-0x165,-0x179,-_0x2088c8._0x490233)},'topic':{'type':_0xeb6589(-0x198,-0x26,-0x111,-_0x2088c8._0x2b8cd6)},'options':{'type':'array','items':{'type':'object','properties':{'label':{'type':'string'},'description':{'type':_0xeb6589(-0x198,-_0x2088c8._0x14d0f6,-0xbf,-_0x2088c8._0x1c53b8)}},'required':[_0xc10551(0x243,0x218,_0x2088c8._0x449312,0x189),_0xc10551(0x424,0x4e5,_0x2088c8._0x107314,0x4ac)]}},'multiSelect':{'type':'boolean'}},'required':[_0xeb6589(-0x163,-_0x2088c8._0xd94f3d,-_0x2088c8._0x133d97,-0x279),_0xc10551(_0x2088c8._0x1e3245,_0x2088c8._0x32444a,0x315,_0x2088c8._0x7ab7dd),_0xeb6589(-0x212,-_0x2088c8._0x49c3cc,-0x1fb,-0x377),_0xeb6589(_0x2088c8._0x11c81d,-0xc2,_0x2088c8._0x5d6164,0x3c)]}},'answers':{'type':_0xc10551(0x1d0,0xb9,0xbb,0xec),'properties':{}}},'required':[_0xeb6589(0x67,-0x107,0x49,_0x2088c8._0x337290)]},async *'execute'(_0xaafb38,_0xbb3690){const _0x5c2992={_0x4721d0:0x14},_0x59cca8={_0x1c804e:0x476},_0x13689c=_0xaafb38;validateInput(_0x13689c);const _0x5dbeee=_0xbb3690[_0x4079ad(-0xb0,-_0x10b864._0x331635,-_0x10b864._0x20f6cb,-0x40)]??createQuestionId();if(_0x13689c[_0x4079ad(_0x10b864._0x176971,0x128,_0x10b864._0x579e4c,-0x3)]&&Object[_0x4079ad(_0x10b864._0x226e83,-_0x10b864._0x1dff49,-0x78,-_0x10b864._0x357f27)](_0x13689c[_0x4079ad(-_0x10b864._0x31efa4,-0x5b,_0x10b864._0x579e4c,-_0x10b864._0x570312)])[_0x465b55(-0x15e,-_0x10b864._0x35b789,-_0x10b864._0x155dae,-0x180)]>0x0)return createResult(_0x5dbeee,_0x13689c[_0x465b55(0x0,_0x10b864._0x45e7df,0x44,-0x144)]['length'],_0x13689c[_0x465b55(-0xa4,-0xec,_0x10b864._0x224370,-_0x10b864._0x2d03d8)]);function _0x465b55(_0x5dec3d,_0x8b82f9,_0x123ab1,_0x3d203f){return _0xc10551(_0x5dec3d- -_0x59cca8._0x1c804e,_0x8b82f9-0x1,_0x123ab1-0x11,_0x8b82f9);}if(!_0xbb3690[_0x465b55(-0xea,0x58,_0x10b864._0x436c26,-0x10e)])throw new ToolExecutionError(_0x4079ad(0xb,-0x118,0x51,_0x10b864._0x4e70ac));function _0x4079ad(_0x47b00a,_0x192467,_0xdab830,_0x57fcbf){return _0xc10551(_0xdab830- -0x39e,_0x192467-_0x5c2992._0x4721d0,_0xdab830-0x2d,_0x192467);}const _0x330811=buildQuestions(_0x13689c),_0xe1b729=await _0xbb3690[_0x4079ad(_0x10b864._0x33af34,-0x14,-0x12,-_0x10b864._0xb3de91)]({'questionId':_0x5dbeee,'questions':_0x330811});yield createResult(_0x5dbeee,_0x13689c[_0x4079ad(_0x10b864._0x23656b,0x65,0xd8,_0x10b864._0x41fbd7)][_0x4079ad(-_0x10b864._0x1b4828,-_0x10b864._0x52a8ae,-0x86,0x5c)],_0xe1b729);}});}import{randomUUID}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0x572d36}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException(_0x172e5f){return _0x172e5f instanceof Error;}function resolveCarriageReturns(_0x20ca93){const _0x5c7a9e={_0x4337e6:0xf9,_0x258dd4:0x12e,_0x40308b:0x336,_0x45a488:0x23d,_0x3ffaa9:0x17d,_0x3a9213:0x37a,_0x1c7197:0x27a},_0x2e7b47={_0x30c626:0x726,_0x2519ea:0x5c9,_0x40b304:0x574},_0x16fb9b={_0x465508:0xf8},_0x20b35d={_0x575f24:0x118};function _0x78dc15(_0x456cd5,_0x5bc119,_0x4161c0,_0x48e302){return _0x2853b9(_0x456cd5-_0x20b35d._0x575f24,_0x5bc119-0xf4,_0x5bc119- -0x537,_0x48e302);}function _0x21513a(_0x5ef0b0,_0x8c5512,_0x40e866,_0x1307f7){return _0x2853b9(_0x5ef0b0-0x17f,_0x8c5512-_0x16fb9b._0x465508,_0x40e866- -0x2b7,_0x1307f7);}return _0x20ca93[_0x78dc15(-_0x5c7a9e._0x4337e6,-_0x5c7a9e._0x258dd4,-0x231,0x28)]('\x0a')[_0x21513a(0x30f,_0x5c7a9e._0x40308b,_0x5c7a9e._0x45a488,0xd6)](_0x31cec7=>{const _0x18c58c={_0x2a1833:0x52b};if(!_0x31cec7[_0x352601(_0x2e7b47._0x30c626,0x509,_0x2e7b47._0x2519ea,_0x2e7b47._0x40b304)]('\x0d'))return _0x31cec7;const _0x5a80e3=_0x31cec7['split']('\x0d');function _0x352601(_0x833f53,_0x3f8923,_0x29491a,_0xb4bcdf){return _0x78dc15(_0x833f53-0x7f,_0x29491a-_0x18c58c._0x2a1833,_0x29491a-0x194,_0x3f8923);}return _0x5a80e3[_0x5a80e3['length']-0x1]??'';})[_0x21513a(_0x5c7a9e._0x3ffaa9,_0x5c7a9e._0x3a9213,_0x5c7a9e._0x1c7197,0x1c1)]('\x0a');}function resolveBackspaces(_0x3b0f9b){const _0x2c2b84={_0xa3615c:0x16a,_0x2df0a9:0x106,_0x65b34f:0x11,_0x38c82f:0x8,_0x26abf3:0x14f,_0x4aa14c:0x50,_0x219483:0x3b},_0x35534c={_0x9f00ae:0x167},_0x1cfdbd={_0x438200:0x25,_0x1e999e:0x10b,_0x1b61af:0x490},_0x3933cf=[];for(const _0x389811 of Array[_0x298b4d(-_0x2c2b84._0xa3615c,_0x2c2b84._0x2df0a9,0x12f,-0xd)](_0x3b0f9b)){_0x389811==='\x08'?_0x3933cf[_0x35ca30(-0x57,_0x2c2b84._0x65b34f,_0x2c2b84._0x38c82f,-_0x2c2b84._0x26abf3)]():_0x3933cf[_0x35ca30(-0x168,-_0x2c2b84._0x4aa14c,_0x2c2b84._0x219483,-0x114)](_0x389811);}function _0x35ca30(_0x9dc7f8,_0x1a0423,_0x40ee37,_0x9d95af){return _0x2853b9(_0x9dc7f8-_0x1cfdbd._0x438200,_0x1a0423-_0x1cfdbd._0x1e999e,_0x1a0423- -_0x1cfdbd._0x1b61af,_0x40ee37);}function _0x298b4d(_0xc48958,_0x30ee0a,_0x1398ad,_0x3055f0){return _0x2853b9(_0xc48958-0x1a5,_0x30ee0a-_0x35534c._0x9f00ae,_0x3055f0- -0x3fa,_0x30ee0a);}return _0x3933cf['join']('');}function stripAnsiAndControls(_0x134ad2){const _0x413003={_0x50cefd:0x29c,_0x3ec2e1:0x18a,_0x3e7517:0x2e4,_0x46c8aa:0x323,_0x314b7c:0x447,_0x2cb2b4:0x497,_0x4a676a:0x695,_0x38d66d:0x56d,_0x410387:0x49d,_0x36d059:0x5b2,_0x315ccd:0x25e,_0x21292b:0x21b,_0x1eee5e:0x2b5,_0x17d0ca:0x28b,_0x3e0f7a:0x2ab,_0x1bf6e6:0x18a,_0x2c2f65:0x2cd,_0x3006ba:0x81},_0x4d6aab={_0x50a612:0x13a,_0x2d7946:0x6d,_0x4f327e:0xb5},_0xfd51dd={_0x754d9b:0x13f};_0x134ad2=resolveCarriageReturns(_0x134ad2);function _0x136bf6(_0x1d86ff,_0x5acd20,_0x4084c2,_0x58d0c7){return _0x4d9604(_0x1d86ff-_0xfd51dd._0x754d9b,_0x1d86ff,_0x5acd20-0x85,_0x58d0c7-0x1bf);}_0x134ad2=resolveBackspaces(_0x134ad2),_0x134ad2=stripVTControlCharacters(_0x134ad2);const _0x3933ef='\x1b',_0x5ed314='\x07';_0x134ad2=_0x134ad2[_0x136bf6(_0x413003._0x50cefd,_0x413003._0x3ec2e1,0x204,_0x413003._0x3e7517)](new RegExp(_0x60ed01(0x327,0x463,_0x413003._0x46c8aa,_0x413003._0x314b7c)+_0x5ed314+_0x60ed01(0x417,_0x413003._0x2cb2b4,0x373,0x5a7)+_0x5ed314,'g'),''),_0x134ad2=_0x134ad2[_0x136bf6(0x2e5,0x18a,0xb1,0x159)](new RegExp(_0x60ed01(_0x413003._0x4a676a,_0x413003._0x38d66d,_0x413003._0x410387,_0x413003._0x36d059)+_0x3933ef+'\x5c\x5c','g'),'');function _0x60ed01(_0x491d6a,_0x327245,_0x18fae7,_0x324f1e){return _0x2853b9(_0x491d6a-_0x4d6aab._0x50a612,_0x327245-_0x4d6aab._0x2d7946,_0x327245- -_0x4d6aab._0x4f327e,_0x491d6a);}return _0x134ad2=_0x134ad2[_0x136bf6(0x28a,0x18a,0x222,_0x413003._0x315ccd)](new RegExp(_0x5ed314,'g'),''),_0x134ad2=_0x134ad2[_0x136bf6(0x1e0,_0x413003._0x3ec2e1,_0x413003._0x21292b,0xd2)](new RegExp(_0x3933ef+_0x136bf6(0xe4,0xff,0x171,-0x6c)+_0x3933ef+'\x5c\x5c','g'),''),_0x134ad2=_0x134ad2[_0x60ed01(_0x413003._0x1eee5e,0x35a,_0x413003._0x17d0ca,0x4c1)](new RegExp(_0x3933ef+'[=>7-8()]','g'),''),_0x134ad2=_0x134ad2[_0x136bf6(_0x413003._0x3e0f7a,_0x413003._0x1bf6e6,0xd7,_0x413003._0x2c2f65)](/[\u0080-\u009F]/g,''),_0x134ad2=_0x134ad2[_0x136bf6(_0x413003._0x3006ba,0x18a,0x2e4,0x10e)](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x134ad2=_0x134ad2['replace'](/[\u23CE\u2424]/g,''),_0x134ad2;}function killProcessGroup(_0x4da7c7,_0x6f7667,_0x41c2b2=_0x4d9604(-0x2,0x167,0xd8,-0x1f)){const _0x57bf4a={_0x6b6189:0xec,_0x1c8127:0xc1,_0x2b86da:0x75,_0x1f78cc:0x148,_0x9f780a:0x31,_0x21c440:0x449,_0x5376f4:0x191,_0xe739ce:0x2f3,_0x2c6936:0x31e,_0x4f581d:0x35c,_0x42696b:0x283,_0x2b586c:0x256},_0x351989={_0x2b8864:0x17f,_0x17023c:0x345},_0x56dbf0={_0x3f58c4:0x1e2,_0x3f6120:0x16a,_0x5bd4f8:0x1a0};function _0x3cb0db(_0x5508f3,_0x5120d5,_0x16c0b4,_0x4de2db){return _0x2853b9(_0x5508f3-_0x56dbf0._0x3f58c4,_0x5120d5-_0x56dbf0._0x3f6120,_0x4de2db- -_0x56dbf0._0x5bd4f8,_0x16c0b4);}if(!_0x4da7c7[_0x1c99f6(0xef,-0x6f,_0x57bf4a._0x6b6189,0x3)])return;if(_0x6f7667)try{_0x572d36('taskkill',[_0x1c99f6(-0x25,-_0x57bf4a._0x1c8127,_0x57bf4a._0x2b86da,0x14c),_0x4da7c7[_0x1c99f6(0x248,_0x57bf4a._0x1f78cc,0xec,-_0x57bf4a._0x9f780a)][_0x3cb0db(_0x57bf4a._0x21c440,0x292,_0x57bf4a._0x5376f4,0x2f8)](),'/T','/F'],{'stdio':'ignore'});return;}catch{_0x4da7c7[_0x1c99f6(_0x57bf4a._0xe739ce,_0x57bf4a._0x2c6936,0x256,0x387)](_0x41c2b2);return;}function _0x1c99f6(_0x5a6728,_0x3f7b70,_0x4482e3,_0x112ff8){return _0x2853b9(_0x5a6728-_0x351989._0x2b8864,_0x3f7b70-0x145,_0x4482e3- -_0x351989._0x17023c,_0x112ff8);}try{process[_0x1c99f6(_0x57bf4a._0x4f581d,_0x57bf4a._0x42696b,_0x57bf4a._0x2b586c,0x24c)](-_0x4da7c7['pid'],_0x41c2b2);}catch{_0x4da7c7['kill'](_0x41c2b2);}}var BackgroundProcessRegistry=class{[_0x4d9604(0x199,0xc4,0x221,0x18d)]=new Map();[_0x2853b9(0x479,0x6a9,0x593,0x663)];[_0x4d9604(0x274,0x4ba,0x34a,0x35e)];['capChars'];[_0x4d9604(0xbc,-0xb,0x147,0x24)]=0x0;constructor(_0x3eabce={}){const _0x56df48={_0xfb60a0:0x41b,_0x3e4024:0x458,_0x139adf:0x320,_0x1baf59:0x1b5,_0x2fe1d0:0x64c,_0x5dac4a:0x522,_0x62e81c:0x169,_0x28119f:0x19e},_0x8b721d={_0x24ddaa:0xbb},_0x1cd395={_0x1fce3c:0x19e};this[_0x531b9a(_0x56df48._0xfb60a0,_0x56df48._0x3e4024,_0x56df48._0x139adf,0x411)]=_0x3eabce[_0x2650d1(_0x56df48._0x1baf59,0x1cb,0x1d9,0x1ce)]??0xa;function _0x531b9a(_0x4cf42d,_0x2521e1,_0x12b4ae,_0x5a0093){return _0x2853b9(_0x4cf42d-0x73,_0x2521e1-_0x1cd395._0x1fce3c,_0x2521e1- -0x13b,_0x12b4ae);}this[_0x531b9a(0x477,0x519,_0x56df48._0x2fe1d0,0x681)]=_0x3eabce['maxEntries']??0x40;function _0x2650d1(_0x2ca76c,_0x72b26,_0x2c667c,_0x2060a6){return _0x4d9604(_0x2ca76c-0x154,_0x2ca76c,_0x2060a6- -_0x8b721d._0x24ddaa,_0x2060a6-0x1e9);}this[_0x531b9a(_0x56df48._0x5dac4a,0x45f,0x3f6,0x32f)]=_0x3eabce[_0x2650d1(_0x56df48._0x62e81c,_0x56df48._0x28119f,0x1cb,0x1d5)]??0x100000;}[_0x2853b9(0x74e,0x72d,0x620,0x71d)](_0x38fdfc){const _0x2038d0={_0x6bbe1f:0x84,_0x5bd5bb:0x5c,_0xf4864d:0x1ba,_0x238cc3:0x786,_0x8c5f55:0x635,_0x3f6004:0x638,_0x41f4e5:0x5a8,_0x486ecd:0x72b,_0x53c5bf:0x653,_0x503d07:0xec,_0x3098ab:0x1d,_0x253986:0x1f2,_0x42dbfb:0x706,_0x37239d:0x667,_0x33e723:0x21,_0x35843b:0xa9,_0x394429:0xca,_0x147914:0x2a1,_0x29b157:0x1eb,_0x1de35e:0xd3,_0x42560c:0x6f5,_0xfc53b9:0x641,_0x146a0a:0x531,_0x457b23:0x5fc,_0x4524bb:0x5fd,_0x375424:0x57e,_0x5663f6:0x5ec,_0x4eb574:0x2ce,_0x24b1ef:0x36a,_0x1b906f:0x2b6,_0x307fc8:0x3ba,_0x255dfc:0x22d,_0x372155:0x4c6,_0x56a100:0x5b5,_0x45d153:0x54c,_0x50a49f:0x52,_0x3e34c2:0x110,_0x10c452:0x6f8,_0x3430ca:0x6cc,_0xed1eff:0x64,_0x27e1d4:0xbc,_0x1fac6b:0x520,_0x46099d:0x590,_0x385258:0x732,_0x30967c:0x7b1,_0x4a8f21:0x626,_0x4c1868:0x4d4,_0x188a5b:0x5ec,_0x50da2a:0x63c,_0x5eb5fd:0x3e,_0x3d4921:0x21c,_0x49e7d8:0x2a4,_0xb5f6f8:0x229,_0x12cba0:0xa4,_0x493dc5:0x111,_0x3dee67:0x278,_0x403db4:0x61c,_0x51dd2d:0x56c,_0x39feed:0x4ea,_0x113e9b:0x462,_0x1c661e:0x654,_0x253189:0x548},_0x11016f={_0x357c0f:0x90,_0x3d633d:0x77},_0x1bf151={_0x1ee7b7:0x188,_0x52dd8b:0x180,_0x42f1b5:0x188,_0x1a55c5:0x267,_0x21490c:0x351},_0x245251={_0x1c1872:0xad,_0x545ef5:0x301,_0xc1e3ec:0x225,_0x1e376d:0xe,_0x35c930:0x226,_0xd7803e:0x32d,_0x274d85:0x1e8,_0x3bd310:0x24b,_0xa73b1d:0x1ac,_0x38f40f:0x151,_0x3a83ff:0x184,_0x155c6b:0x8b,_0x542d54:0x15,_0x35a14a:0xca,_0x20796f:0x85},_0x1ececc={_0x5c46fb:0x37},_0x279338={_0x1edbbc:0x4a7,_0x12b8f0:0x46c,_0x9dd566:0x5d6},_0x48b97a={_0x2ec03b:0x332,_0x27879b:0x1c3},_0xa97c7c=[...this[_0x1e4d76(-_0x2038d0._0x6bbe1f,-0x111,-0xe5,-_0x2038d0._0x5bd5bb)][_0x1e4d76(-0xab,-0x66,-0x13f,-_0x2038d0._0xf4864d)]()][_0x1d514d(_0x2038d0._0x238cc3,0x56e,0x4e3,_0x2038d0._0x8c5f55)](_0x5e5b37=>_0x5e5b37['status']===_0x1e4d76(-0x274,-0x281,-0x19d,-0x12c))[_0x1d514d(0x48d,0x684,_0x2038d0._0x3f6004,_0x2038d0._0x41f4e5)];if(_0xa97c7c>=this[_0x1d514d(0x4f4,_0x2038d0._0x486ecd,0x79f,_0x2038d0._0x53c5bf)])throw new ToolExecutionError(_0x1e4d76(-0x153,-_0x2038d0._0x503d07,_0x2038d0._0x3098ab,-_0x2038d0._0x253986)+this[_0x1e4d76(-0x11c,-0xa9,-0x17b,-0xe2)]+_0x1d514d(_0x2038d0._0x42dbfb,0x5fc,0x66c,_0x2038d0._0x37239d),{'running':this[_0x1e4d76(_0x2038d0._0x33e723,-_0x2038d0._0x35843b,-0x18c,-_0x2038d0._0x394429)]});const _0x526dc3='bg-'+ ++this[_0x1e4d76(-_0x2038d0._0x147914,-_0x2038d0._0x29b157,-_0x2038d0._0x1de35e,-0x1b0)]+'-'+randomUUID()[_0x1d514d(_0x2038d0._0x42560c,0x62e,0x5eb,0x62f)](0x0,0x8),_0x2a4d07={'shellId':_0x526dc3,'command':_0x38fdfc['command'],'cwd':_0x38fdfc[_0x1d514d(_0x2038d0._0xfc53b9,0x4a4,_0x2038d0._0x146a0a,_0x2038d0._0x457b23)],'pid':_0x38fdfc[_0x1d514d(0x679,_0x2038d0._0x4524bb,_0x2038d0._0x375424,_0x2038d0._0x5663f6)][_0x1e4d76(-_0x2038d0._0x4eb574,-0x20b,-_0x2038d0._0x24b1ef,-0x281)],'status':_0x1e4d76(-_0x2038d0._0x1b906f,-0x281,-_0x2038d0._0x307fc8,-_0x2038d0._0x255dfc),'exitCode':null,'signal':null,'startedAt':Date[_0x1d514d(0x5d5,0x655,_0x2038d0._0x372155,0x59b)](),'child':_0x38fdfc['child'],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder(_0x1d514d(_0x2038d0._0x56a100,0x2fd,_0x2038d0._0x45d153,0x465)),'stderrDecoder':new StringDecoder('utf8'),'stripAnsi':_0x38fdfc['stripAnsi'],'killRequested':![],'processExited':![]};_0x38fdfc[_0x1e4d76(-_0x2038d0._0x50a49f,-_0x2038d0._0x3e34c2,-0x1a4,-0x1b7)]['stdout']?.['on'](_0x1d514d(0x76a,0x758,0x780,_0x2038d0._0x10c452),_0xfd88c8=>this['append'](_0x2a4d07,_0x2a4d07['stdoutDecoder'][_0x1e4d76(-0x105,-0x13b,-0x1,-0x1ad)](_0xfd88c8))),_0x38fdfc[_0x1d514d(0x5b7,0x69f,0x63b,0x5ec)][_0x1d514d(_0x2038d0._0x3430ca,0x614,0x5ed,0x560)]?.['on'](_0x1e4d76(-_0x2038d0._0xed1eff,-0x4,-0xa0,-_0x2038d0._0x27e1d4),_0xee8569=>this[_0x1e4d76(-0x6f,-0xc1,0x46,-0xa5)](_0x2a4d07,_0x2a4d07[_0x1d514d(0x7ae,0x746,0x6b8,0x6cd)][_0x1e4d76(-0x3f,-0x13b,-0x181,-0x62)](_0xee8569)));function _0x1e4d76(_0x5ba417,_0x2533ad,_0x46b6e6,_0x23f62a){return _0x4d9604(_0x5ba417-0x4a,_0x5ba417,_0x2533ad- -_0x48b97a._0x2ec03b,_0x23f62a-_0x48b97a._0x27879b);}_0x38fdfc[_0x1d514d(0x577,_0x2038d0._0x1fac6b,_0x2038d0._0x46099d,0x5ec)][_0x1d514d(_0x2038d0._0x385258,0x573,_0x2038d0._0x30967c,0x682)](_0x1d514d(0x4a6,0x5f5,0x5c7,0x4ef),()=>{const _0x518295={_0x4577dc:0x5e};function _0x4eb29f(_0x35d734,_0x4da58e,_0x5e2781,_0x350a84){return _0x1d514d(_0x5e2781,_0x4da58e-0x8b,_0x5e2781-0x14f,_0x350a84- -_0x518295._0x4577dc);}_0x2a4d07[_0x4eb29f(0x6d4,_0x279338._0x1edbbc,_0x279338._0x12b8f0,_0x279338._0x9dd566)]=!![];}),_0x38fdfc[_0x1d514d(0x4ec,_0x2038d0._0x4a8f21,_0x2038d0._0x4c1868,_0x2038d0._0x188a5b)]['once'](_0x1d514d(0x5a9,0x652,_0x2038d0._0x50da2a,0x5b5),(_0x3f456f,_0x92097d)=>{const _0x43f9be={_0xe6d7e2:0xe6,_0x1adf70:0xa6,_0x10687a:0x37};this['append'](_0x2a4d07,_0x2a4d07[_0x18c32d(0x17b,0x63,0x8c,_0x245251._0x1c1872)][_0x31cf6f(0xd4,_0x245251._0x545ef5,0x1aa,_0x245251._0xc1e3ec)]()),this['append'](_0x2a4d07,_0x2a4d07[_0x18c32d(-_0x245251._0x1e376d,0xb7,_0x245251._0x35c930,0x1c8)]['end']()),_0x2a4d07[_0x31cf6f(0x2d3,_0x245251._0xd7803e,0x292,0x15f)]=_0x2a4d07[_0x31cf6f(0x2bb,_0x245251._0x274d85,_0x245251._0x3bd310,0xee)]?_0x18c32d(-_0x245251._0xa73b1d,-_0x245251._0x38f40f,-_0x245251._0x3a83ff,-0xb4):_0x18c32d(-_0x245251._0x155c6b,_0x245251._0x542d54,-_0x245251._0x35a14a,-_0x245251._0x20796f),_0x2a4d07['exitCode']=_0x3f456f;function _0x18c32d(_0x367939,_0x4da264,_0x3a691a,_0xa0ff41){return _0x1e4d76(_0x3a691a,_0x4da264-_0x43f9be._0xe6d7e2,_0x3a691a-_0x43f9be._0x1adf70,_0xa0ff41-_0x43f9be._0x10687a);}function _0x31cf6f(_0x4b5e75,_0xad1044,_0x31ef12,_0x42751d){return _0x1d514d(_0xad1044,_0xad1044-_0x1ececc._0x5c46fb,_0x31ef12-0x1d3,_0x31ef12- -0x2f3);}_0x2a4d07['signal']=_0x92097d,_0x2a4d07['child']=null;}),_0x38fdfc[_0x1e4d76(-0x20d,-_0x2038d0._0x3e34c2,_0x2038d0._0x5eb5fd,-0x1cc)]['once'](_0x1e4d76(-0x31c,-_0x2038d0._0x3d4921,-_0x2038d0._0x49e7d8,-_0x2038d0._0xb5f6f8),_0x324f7c=>{const _0x117f90={_0x46576d:0xfb};_0x2a4d07[_0x1914cc(0x236,0x271,0x28b,0x14a)]=_0x1ed009(0x139,_0x1bf151._0x1ee7b7,0x2bb,_0x1bf151._0x52dd8b),_0x2a4d07[_0x1ed009(0x282,_0x1bf151._0x42f1b5,0x15c,0x8e)]=_0x324f7c[_0x1ed009(_0x1bf151._0x1a55c5,_0x1bf151._0x21490c,0x41b,0x460)];function _0x1914cc(_0x237182,_0x3ae94c,_0x338459,_0x300692){return _0x1d514d(_0x300692,_0x3ae94c-0x141,_0x338459-_0x117f90._0x46576d,_0x3ae94c- -0x314);}function _0x1ed009(_0x1ccadb,_0x3781ad,_0x4c70f8,_0x3d91b3){return _0x1e4d76(_0x1ccadb,_0x3781ad-0x3a4,_0x4c70f8-0x198,_0x3d91b3-0x14);}_0x2a4d07['child']=null;});function _0x1d514d(_0x2b654f,_0x1c0d3d,_0x579255,_0x4ed4b5){return _0x4d9604(_0x2b654f-_0x11016f._0x357c0f,_0x2b654f,_0x4ed4b5-0x3ca,_0x4ed4b5-_0x11016f._0x3d633d);}return this[_0x1e4d76(-_0x2038d0._0x12cba0,-_0x2038d0._0x493dc5,-0x52,-_0x2038d0._0x3dee67)][_0x1d514d(_0x2038d0._0x403db4,_0x2038d0._0x51dd2d,0x5c5,_0x2038d0._0x39feed)](_0x526dc3,_0x2a4d07),this[_0x1d514d(_0x2038d0._0x113e9b,_0x2038d0._0x1c661e,0x44f,_0x2038d0._0x253189)](),_0x2a4d07;}['read'](_0x205a5a,_0x21a21e){const _0x407a13={_0xe7d5d0:0x4db,_0x1a5a88:0x5bb,_0x5d0ced:0x5d4,_0x137a1d:0x5e3,_0x129e4e:0xc8,_0x521380:0x5d,_0x36bd35:0x544,_0x8cefb3:0x581,_0x5d0100:0x7,_0x4eceeb:0x9d,_0x199312:0x191,_0xbff2c6:0x2b,_0x584f8b:0x50,_0x36c860:0x1a9,_0x4e83d3:0x79,_0x127f66:0x31,_0x48615e:0x4cf,_0x348fc:0x2c1,_0x3cb783:0x37,_0x2d88bf:0x5bc,_0x254de4:0x10,_0x498845:0xa2,_0x2bca3e:0x47e,_0x3c84a4:0x633,_0x35e537:0x567,_0x438aab:0x4ba,_0x4a7036:0xb1,_0x3e1879:0x2f1,_0x51571b:0x44d,_0x459778:0x419,_0xb52f5d:0x653,_0x51101b:0x23c,_0x37bd3b:0x10d,_0x440db7:0x1be,_0x40ab50:0x13a,_0x3b0179:0x240},_0x95fc02={_0x3c3856:0x2dc,_0x253d88:0x147},_0x50c969={_0x2d3b7d:0x2ef,_0x5d8fe9:0x1a0},_0xec30c8=this['entries']['get'](_0x205a5a);if(!_0xec30c8)throw new ToolExecutionError('No\x20background\x20process\x20with\x20id\x20'+_0x205a5a,{'shellId':_0x205a5a});const _0xaf0906=_0xec30c8[_0x15ca8b(_0x407a13._0xe7d5d0,_0x407a13._0x1a5a88,_0x407a13._0x5d0ced,_0x407a13._0x137a1d)][_0x36ae6b(0x6f,-_0x407a13._0x129e4e,-_0x407a13._0x521380,-0x5d)](''),_0x528bcb=Math['max'](_0xec30c8[_0x15ca8b(0x567,0x49e,_0x407a13._0x36bd35,0x44c)],_0xec30c8[_0x15ca8b(0x59e,_0x407a13._0x8cefb3,0x552,0x582)]),_0x3386f0=Math['max'](0x0,_0xec30c8[_0x36ae6b(-_0x407a13._0x5d0100,-0x79,_0x407a13._0x4eceeb,-_0x407a13._0x199312)]-_0xec30c8[_0x36ae6b(-0x1d,-0x87,_0x407a13._0xbff2c6,_0x407a13._0x584f8b)]);function _0x36ae6b(_0x43c983,_0x5a2c64,_0x4749b5,_0x48da6d){return _0x4d9604(_0x43c983-0xf5,_0x48da6d,_0x5a2c64- -_0x50c969._0x2d3b7d,_0x48da6d-_0x50c969._0x5d8fe9);}const _0x9c031c=_0xaf0906[_0x36ae6b(-_0x407a13._0x36c860,-0x8a,-0x46,-0x1eb)](_0x528bcb-_0xec30c8[_0x36ae6b(0xb5,-_0x407a13._0x4e83d3,_0x407a13._0x127f66,-0x8f)]),_0x17d2b2=_0xec30c8['status']!==_0x15ca8b(_0x407a13._0x48615e,0x2b5,0x38d,_0x407a13._0x348fc);let _0x2cc294;const _0x33218e=_0x21a21e?.[_0x36ae6b(_0x407a13._0x3cb783,-0x93,-0xda,-0x12b)];if(!_0x33218e)_0x2cc294=_0x9c031c,_0xec30c8['readCursor']=_0xec30c8[_0x15ca8b(0x53c,0x5d6,0x528,0x4b8)];else{let _0x5978b1;try{_0x5978b1=new RegExp(_0x33218e);}catch(_0x335a61){throw new ToolExecutionError(_0x15ca8b(_0x407a13._0x2d88bf,0x6d9,0x5ca,0x4ed)+_0x335a61[_0x36ae6b(-0xf7,-_0x407a13._0x254de4,-_0x407a13._0x498845,0xe6)],{'shellId':_0x205a5a,'regex':_0x33218e});}let _0x541c6f=_0x9c031c;if(!_0x17d2b2){const _0x364d33=_0x9c031c[_0x15ca8b(_0x407a13._0x2bca3e,_0x407a13._0x3c84a4,_0x407a13._0x35e537,_0x407a13._0x438aab)]('\x0a');_0x541c6f=_0x364d33>=0x0?_0x9c031c['slice'](0x0,_0x364d33+0x1):'';}_0x2cc294=_0x541c6f[_0x36ae6b(-_0x407a13._0x4a7036,-0x1f0,-_0x407a13._0x3e1879,-0x352)]('\x0a')[_0x15ca8b(0x573,0x525,0x547,0x3fb)](_0xd11b9f=>_0x5978b1[_0x15ca8b(0x515,0x446,0x501,0x409)](_0xd11b9f))['join']('\x0a'),_0xec30c8[_0x15ca8b(_0x407a13._0x51571b,_0x407a13._0x459778,0x544,_0x407a13._0xb52f5d)]=_0x528bcb+_0x541c6f[_0x36ae6b(-0x24a,-0x111,-0x12c,-_0x407a13._0x51101b)];}function _0x15ca8b(_0x192635,_0x1dcffd,_0x42e0b3,_0x58f139){return _0x4d9604(_0x192635-0x15e,_0x58f139,_0x42e0b3-_0x95fc02._0x3c3856,_0x58f139-_0x95fc02._0x253d88);}const _0x759630=(_0x3386f0>0x0?'[output\x20truncated:\x20'+_0x3386f0+'\x20chars\x20dropped]\x0a':'')+_0x2cc294;return{'output':_0x759630,'status':_0xec30c8[_0x36ae6b(-_0x407a13._0x37bd3b,-0x134,-_0x407a13._0x440db7,-0xc)],'exitCode':_0xec30c8['exitCode'],'signal':_0xec30c8[_0x36ae6b(-_0x407a13._0x40ab50,-_0x407a13._0x3b0179,-0x28c,-0x16e)],'truncated':_0x3386f0>0x0};}['list'](){const _0x457f00={_0x300afb:0x5a4,_0x4a1f43:0x469,_0x49700e:0x46f,_0x4ddd09:0x5cd,_0x5e5926:0x64f,_0x2fa369:0x50b},_0xe1abb5={_0x5f2961:0x85},_0x27a82c={_0x46b61e:0x1c6,_0x25d8d9:0x57,_0x38f7e6:0x41d};function _0x3a36bd(_0x4ec0eb,_0x151b4a,_0x26e4f9,_0x1e31a8){return _0x2853b9(_0x4ec0eb-_0x27a82c._0x46b61e,_0x151b4a-_0x27a82c._0x25d8d9,_0x1e31a8- -_0x27a82c._0x38f7e6,_0x4ec0eb);}function _0xd00108(_0x3b9b36,_0x58d3a8,_0x4322f5,_0x2678cf){return _0x4d9604(_0x3b9b36-_0xe1abb5._0x5f2961,_0x2678cf,_0x3b9b36-0x383,_0x2678cf-0x1ef);}return[...this[_0xd00108(_0x457f00._0x300afb,_0x457f00._0x4a1f43,_0x457f00._0x49700e,_0x457f00._0x4ddd09)][_0xd00108(_0x457f00._0x5e5926,0x504,_0x457f00._0x2fa369,0x7b3)]()];}[_0x2853b9(0x56a,0x46f,0x59b,0x52f)](_0x402e25){const _0xf9e94c={_0x3a8020:0x24b,_0x13bf2e:0x21f,_0x58c54e:0x296,_0x215750:0x5e,_0x243eb9:0x5,_0x407320:0x242,_0x4d867c:0x1fb,_0x3cab23:0x28c,_0x5b094d:0x1b8,_0x31ffd1:0x183,_0x4e92d2:0xe2,_0x4baeda:0x153,_0x3a31ee:0x240,_0x14fc70:0x297,_0x16a4b3:0x1f5,_0x31da4e:0x166,_0x4a6b9d:0x1e9,_0x36badb:0xe8,_0x4fb2be:0x20c,_0x121dc3:0x209,_0x1bd275:0x38,_0x2c0462:0x22c,_0x2ce0b6:0x18,_0x383d2b:0x192,_0x2fe274:0x178,_0x46f52d:0x1cc,_0x1bf612:0x75,_0xfcd63e:0x12b,_0x3fcbc9:0x65,_0x51f8c5:0x5,_0x38a9ec:0x177,_0x430704:0x198},_0xdc4462={_0x2bf440:0x151,_0x2749dd:0x85,_0x348f90:0x295},_0x3c57ed={_0x3af58e:0xa3,_0x4ec272:0x16b};function _0x16faf1(_0x412b2a,_0x113202,_0x1939da,_0x348db5){return _0x4d9604(_0x412b2a-_0x3c57ed._0x3af58e,_0x1939da,_0x412b2a- -0x146,_0x348db5-_0x3c57ed._0x4ec272);}const _0x40ceef=this[_0x100a9b(_0xf9e94c._0x3a8020,_0xf9e94c._0x13bf2e,_0xf9e94c._0x58c54e,0x237)][_0x16faf1(_0xf9e94c._0x215750,0x105,-_0xf9e94c._0x243eb9,0x8c)](_0x402e25);function _0x100a9b(_0x1cb33e,_0x1928e4,_0x551794,_0x350c9a){return _0x2853b9(_0x1cb33e-_0xdc4462._0x2bf440,_0x1928e4-_0xdc4462._0x2749dd,_0x551794- -_0xdc4462._0x348f90,_0x350c9a);}if(!_0x40ceef)throw new ToolExecutionError(_0x100a9b(_0xf9e94c._0x407320,_0xf9e94c._0x4d867c,_0xf9e94c._0x3cab23,_0xf9e94c._0x5b094d)+_0x402e25,{'shellId':_0x402e25});if(_0x40ceef[_0x100a9b(_0xf9e94c._0x31ffd1,0x1b5,0x230,_0xf9e94c._0x4e92d2)]===_0x100a9b(0x94,-0x4c,0x126,0x263)&&_0x40ceef[_0x100a9b(_0xf9e94c._0x4baeda,_0xf9e94c._0x3a31ee,_0xf9e94c._0x14fc70,0x1c4)]&&!_0x40ceef['processExited']){_0x40ceef[_0x100a9b(_0xf9e94c._0x16a4b3,_0xf9e94c._0x31da4e,_0xf9e94c._0x4a6b9d,0x2c7)]=!![];try{killProcessGroup(_0x40ceef[_0x16faf1(0xdc,_0xf9e94c._0x36badb,_0xf9e94c._0x4fb2be,_0xf9e94c._0x121dc3)],process[_0x100a9b(_0xf9e94c._0x1bd275,_0xf9e94c._0x2c0462,0xf6,-_0xf9e94c._0x2ce0b6)]===_0x16faf1(0x1b3,_0xf9e94c._0x383d2b,_0xf9e94c._0x2fe274,_0xf9e94c._0x46f52d));}catch{}}return{'status':_0x40ceef[_0x16faf1(_0xf9e94c._0x1bf612,_0xf9e94c._0xfcd63e,_0xf9e94c._0x3fcbc9,_0xf9e94c._0x51f8c5)],'exitCode':_0x40ceef['exitCode'],'signal':_0x40ceef[_0x100a9b(_0xf9e94c._0x38a9ec,_0xf9e94c._0x430704,0x124,0xcd)]};}async[_0x4d9604(0x29e,0x40f,0x32c,0x2c8)](){const _0x47ff82={_0x185243:0x1c8,_0x476895:0x48,_0x239d93:0x1d3,_0x448ad9:0x82,_0x575b1c:0x8a,_0x3034e7:0x8,_0x341d26:0x25,_0x27ea34:0x24,_0x436bc9:0x61,_0x5969d4:0x3,_0x1b759d:0x15a,_0x288228:0x1a3,_0x501cc3:0x55,_0x1ff774:0x2cd},_0x40bb10={_0x40ee1b:0xda,_0x5625d1:0x336};function _0x58d890(_0x5c5eda,_0x2425bc,_0x42f266,_0x12c473){return _0x2853b9(_0x5c5eda-0x1eb,_0x2425bc-_0x40bb10._0x40ee1b,_0x42f266- -_0x40bb10._0x5625d1,_0x2425bc);}function _0x32deb5(_0x4a55fd,_0x480646,_0x1bea4a,_0x3e0a3f){return _0x2853b9(_0x4a55fd-0x6f,_0x480646-0x132,_0x4a55fd- -0x508,_0x1bea4a);}for(const _0x379b79 of this['entries'][_0x32deb5(0xce,0x192,_0x47ff82._0x185243,-0x16)]()){if(_0x379b79['status']==='running'&&_0x379b79['child']&&!_0x379b79[_0x32deb5(0x6c,-_0x47ff82._0x476895,_0x47ff82._0x239d93,_0x47ff82._0x448ad9)]){_0x379b79[_0x32deb5(-_0x47ff82._0x575b1c,0xc5,_0x47ff82._0x3034e7,-_0x47ff82._0x341d26)]=!![];try{killProcessGroup(_0x379b79[_0x32deb5(_0x47ff82._0x27ea34,-_0x47ff82._0x436bc9,_0x47ff82._0x5969d4,_0x47ff82._0x1b759d)],process[_0x58d890(0x141,_0x47ff82._0x288228,_0x47ff82._0x501cc3,0x1ae)]===_0x58d890(0x22d,0x2f0,_0x47ff82._0x1ff774,0x3e2));}catch{}}}}[_0x2853b9(0x60e,0x641,0x57b,0x5f1)](_0x55ddc6,_0x12ce48){const _0x38293b={_0x3201bb:0x428,_0x47edcb:0x360,_0x29f17b:0x22c,_0x210b39:0x142,_0x1ba0ea:0x52a,_0xf339e7:0x3d8,_0x89538d:0xee,_0x1408f4:0x92,_0x3c0d7c:0x3d8,_0x5c290b:0x2ac,_0x5a79d4:0x41d,_0x102b36:0x1ac,_0x43adcd:0x354,_0x3eda18:0x279,_0x2e7e08:0x180,_0x1932a6:0x29e,_0x40e199:0x522,_0x271437:0x3bf,_0x20b7e3:0x39a,_0x22d4a1:0x299,_0xc50b67:0x33a,_0x12eed5:0x130,_0x3a8188:0xaa,_0x12dd3b:0x59,_0x24fe5a:0x92,_0x31b228:0x30d,_0x32682c:0x2a9,_0xc313f9:0x38b,_0x3f2ded:0x436,_0x230c8c:0x331},_0x1f4187={_0x19185d:0x156},_0x3c3042={_0x287a77:0x88,_0x41a711:0x1a6,_0x315dc1:0x24f},_0x5cc7a1=_0x55ddc6[_0x2d1f2b(_0x38293b._0x3201bb,_0x38293b._0x47edcb,0x33a,_0x38293b._0x29f17b)]?stripAnsiAndControls(_0x12ce48):_0x12ce48;if(_0x5cc7a1[_0x51d160(-0x8d,-0xaa,0xae,0x92)]===0x0)return;_0x55ddc6[_0x2d1f2b(0x4df,0x2b0,0x3b3,0x3f2)][_0x51d160(-0x119,_0x38293b._0x210b39,-0xa9,-0x16)](_0x5cc7a1),_0x55ddc6[_0x2d1f2b(_0x38293b._0x1ba0ea,0x3b6,_0x38293b._0xf339e7,0x510)]+=_0x5cc7a1[_0x51d160(0x1a2,0x120,_0x38293b._0x89538d,_0x38293b._0x1408f4)],_0x55ddc6[_0x2d1f2b(0x3b9,0x378,0x307,0x3b4)]+=_0x5cc7a1['length'];function _0x2d1f2b(_0xca29cd,_0x178d68,_0x558279,_0x46b6e7){return _0x2853b9(_0xca29cd-_0x3c3042._0x287a77,_0x178d68-_0x3c3042._0x41a711,_0x558279- -_0x3c3042._0x315dc1,_0xca29cd);}function _0x51d160(_0x4296f7,_0x1f2ae5,_0x13945e,_0x1968ca){return _0x4d9604(_0x4296f7-_0x1f4187._0x19185d,_0x4296f7,_0x1968ca- -0x14c,_0x1968ca-0x47);}while(_0x55ddc6[_0x2d1f2b(0x29e,0x531,_0x38293b._0x3c0d7c,_0x38293b._0x5c290b)]>this['capChars']){const _0x464a6e=_0x55ddc6['bufferChars']-this[_0x2d1f2b(0x325,0x3f1,0x34b,_0x38293b._0x5a79d4)],_0x4e803f=_0x55ddc6[_0x51d160(0xec,0x207,0x41,_0x38293b._0x102b36)][0x0];_0x4e803f[_0x2d1f2b(_0x38293b._0x43adcd,0x336,0x299,_0x38293b._0x3eda18)]<=_0x464a6e?(_0x55ddc6[_0x51d160(_0x38293b._0x2e7e08,0xcd,_0x38293b._0x1932a6,_0x38293b._0x102b36)]['shift'](),_0x55ddc6[_0x2d1f2b(_0x38293b._0x40e199,0x51d,0x3d8,_0x38293b._0x271437)]-=_0x4e803f[_0x2d1f2b(_0x38293b._0x20b7e3,0x344,_0x38293b._0x22d4a1,_0x38293b._0xc50b67)],_0x55ddc6[_0x51d160(_0x38293b._0x12eed5,0x19,_0x38293b._0x3a8188,0x12a)]+=_0x4e803f[_0x51d160(-_0x38293b._0x12dd3b,0x15d,0xa3,_0x38293b._0x24fe5a)]):(_0x55ddc6[_0x2d1f2b(_0x38293b._0x31b228,0x253,0x3b3,0x434)][0x0]=_0x4e803f['slice'](_0x464a6e),_0x55ddc6[_0x2d1f2b(_0x38293b._0x32682c,0x27b,_0x38293b._0xf339e7,_0x38293b._0xc313f9)]-=_0x464a6e,_0x55ddc6[_0x2d1f2b(_0x38293b._0x3f2ded,0x329,_0x38293b._0x230c8c,0x3a5)]+=_0x464a6e);}}[_0x4d9604(0xe8,0x1fd,0x17e,0x1aa)](){const _0xece2e1={_0xfed5c2:0x238,_0xbe4ca0:0x32d,_0x2f02cd:0x102,_0x25b1b2:0x137,_0x20dc1b:0x4e5,_0x511fb5:0x38a,_0x132046:0x19b,_0x472236:0x193,_0x13f212:0x365,_0x3d294d:0x25a,_0x98ee8e:0x261,_0x589137:0x121,_0x380e12:0x1d8,_0x450973:0x3e,_0xf3e08f:0xe7},_0x90b446={_0x7d7492:0x80},_0x1a0600={_0x224f86:0xd8,_0x94d7a0:0x68};if(this[_0x57ad17(_0xece2e1._0xfed5c2,_0xece2e1._0xbe4ca0,0x261,0xff)][_0x57ad17(_0xece2e1._0x2f02cd,_0xece2e1._0x25b1b2,_0xece2e1._0x2f02cd,-0x69)]<=this[_0x57ad17(_0xece2e1._0x20dc1b,0x30f,_0xece2e1._0x511fb5,0x352)])return;function _0x3a35da(_0x1da5fb,_0x471db6,_0x355c78,_0x187722){return _0x4d9604(_0x1da5fb-_0x1a0600._0x224f86,_0x471db6,_0x187722- -0xc2,_0x187722-_0x1a0600._0x94d7a0);}function _0x57ad17(_0x243c15,_0x236ba1,_0x44b31f,_0x411ec8){return _0x2853b9(_0x243c15-_0x90b446._0x7d7492,_0x236ba1-0x11,_0x44b31f- -0x2ca,_0x411ec8);}for(const [_0x55d56a,_0x1ecd14]of this[_0x3a35da(_0xece2e1._0x132046,_0xece2e1._0x472236,0x18e,0x15f)]){if(_0x1ecd14[_0x57ad17(_0xece2e1._0x13f212,_0xece2e1._0x3d294d,0x1fb,0x2c5)]!=='running'){this[_0x57ad17(0x2a2,0x2a3,_0xece2e1._0x98ee8e,0x1e2)][_0x3a35da(_0xece2e1._0x589137,_0xece2e1._0x380e12,-_0xece2e1._0x450973,_0xece2e1._0xf3e08f)](_0x55d56a);return;}}}};function createBashOutputTool(_0x499d2a){const _0xb01f70={_0x20c49a:0x414,_0x3306d4:0x274,_0x39ac17:0x35,_0x2cbc4f:0x94,_0x4385ca:0x13c,_0x422b28:0x1b7,_0x38d00b:0x30a,_0x25b0bd:0xfd,_0x2d4fac:0x27a,_0x114c4d:0x151},_0x5cd7f8={_0x2b6e7c:0x4e4,_0x25061e:0x616,_0x4b2eb2:0x37a,_0x4c180b:0x4d8,_0x142bab:0x4e0,_0x4051c9:0x6e1,_0x2c7ebf:0x4fc,_0x3c5e4b:0x6fc,_0x4398fc:0x66a,_0x3c9161:0x5be,_0x40f0ea:0x4b4,_0x492352:0x4d8,_0x1455d3:0x3a8,_0x469fc1:0x5bc,_0x4e4031:0x708,_0x3f4b90:0x56a,_0x4d05af:0x509,_0x2849d7:0x54a,_0x4faff1:0x37e,_0x38f233:0x3e3,_0x16b1bf:0x6ed,_0x1bb190:0x7ad,_0x4ac429:0x625},_0x444ba2={_0x2bf97a:0xec,_0x2252c0:0xc9},_0x54faa9={_0x52a109:0x56,_0x3c36c4:0x7a,_0x3a5465:0x15e},_0x58edc5={_0x4b93a6:0x7a};function _0x4324f8(_0x9a2822,_0x2adadb,_0x4d966d,_0x15c9a6){return _0x2853b9(_0x9a2822-0x185,_0x2adadb-_0x58edc5._0x4b93a6,_0x2adadb- -0x65c,_0x4d966d);}const {registry:_0x17bff2}=_0x499d2a;function _0x3426a2(_0x501b3b,_0x1f84e2,_0x563007,_0x1f0477){return _0x4d9604(_0x501b3b-_0x54faa9._0x52a109,_0x1f84e2,_0x563007-_0x54faa9._0x3c36c4,_0x1f0477-_0x54faa9._0x3a5465);}return defineTool({'name':_0x3426a2(_0xb01f70._0x20c49a,_0xb01f70._0x3306d4,0x34d,0x36d),'description':_0x4324f8(_0xb01f70._0x39ac17,-_0xb01f70._0x2cbc4f,0x61,-0x16),'inputSchema':{'type':_0x3426a2(-0x5f,0x21d,0x110,0x76),'properties':{'shellId':{'type':_0x3426a2(_0xb01f70._0x4385ca,0x297,_0xb01f70._0x422b28,_0xb01f70._0x38d00b)},'regex':{'type':_0x3426a2(_0xb01f70._0x25b0bd,0x1c0,0x1b7,0x8b)}},'required':[_0x3426a2(0xba,_0xb01f70._0x2d4fac,_0xb01f70._0x114c4d,0x237)]},async *'execute'(_0x5148f7){const _0x2ed19d={_0x561984:0x17c};function _0x14119d(_0x38452f,_0x58ccb3,_0x3b9dce,_0x5c4176){return _0x4324f8(_0x38452f-_0x444ba2._0x2bf97a,_0x3b9dce-0x753,_0x38452f,_0x5c4176-_0x444ba2._0x2252c0);}function _0x4e0098(_0x5c3dff,_0x383604,_0x49d5f2,_0x4fdcf3){return _0x4324f8(_0x5c3dff-_0x2ed19d._0x561984,_0x49d5f2-0x6b4,_0x383604,_0x4fdcf3-0x1ac);}const _0x45476f=_0x17bff2[_0x4e0098(0x588,0x3e9,_0x5cd7f8._0x2b6e7c,_0x5cd7f8._0x25061e)](_0x5148f7[_0x14119d(0x574,_0x5cd7f8._0x4b2eb2,_0x5cd7f8._0x4c180b,_0x5cd7f8._0x142bab)],_0x5148f7[_0x4e0098(_0x5cd7f8._0x4051c9,_0x5cd7f8._0x2c7ebf,0x5be,_0x5cd7f8._0x3c5e4b)]?{'regex':_0x5148f7[_0x4e0098(0x5b1,_0x5cd7f8._0x4398fc,_0x5cd7f8._0x3c9161,_0x5cd7f8._0x40f0ea)]}:void 0x0);return createToolOutput(_0x45476f[_0x4e0098(0x60b,0x70f,0x66d,0x77a)],{'shellId':_0x5148f7[_0x14119d(0x4f4,0x440,_0x5cd7f8._0x492352,_0x5cd7f8._0x1455d3)],'status':_0x45476f[_0x14119d(0x4c3,0x59f,_0x5cd7f8._0x469fc1,_0x5cd7f8._0x4e4031)],'exitCode':_0x45476f[_0x4e0098(0x603,0x564,_0x5cd7f8._0x3f4b90,_0x5cd7f8._0x4d05af)],'signal':_0x45476f[_0x14119d(_0x5cd7f8._0x2849d7,_0x5cd7f8._0x4faff1,0x4b0,_0x5cd7f8._0x38f233)],'truncated':_0x45476f[_0x14119d(_0x5cd7f8._0x16b1bf,_0x5cd7f8._0x1bb190,0x6a9,_0x5cd7f8._0x4ac429)]});}});}import{spawn as _0x5e2ced}from'child_process';import{statSync}from'fs';import*as _0x271d10 from'os';import*as _0x4ba7bc from'path';import{StringDecoder as _0x1c6786}from'string_decoder';import{stat}from'fs/promises';import*as _0x624999 from'path';function isPathInside(_0x1954c3,_0x401373){const _0x37b5cd={_0x42c7fa:0x2ed,_0x132bf3:0x3ca,_0x2e0f4b:0x23d,_0x3ccee6:0x331,_0x4797d3:0x427},_0x96c4d2={_0x175b87:0x356},_0x5c9acd={_0x5aa013:0x187,_0xc627a8:0x231},_0x52052b=_0x624999[_0x5c027d(0x398,0x383,_0x37b5cd._0x42c7fa,_0x37b5cd._0x132bf3)](_0x1954c3),_0x3d744d=_0x624999[_0x5c027d(0x2d0,_0x37b5cd._0x2e0f4b,_0x37b5cd._0x3ccee6,0x1a7)](_0x52052b,_0x401373);function _0x5c027d(_0x2cd49f,_0x1044b0,_0x12e942,_0x1fbfd0){return _0x2853b9(_0x2cd49f-0x150,_0x1044b0-_0x5c9acd._0x5aa013,_0x1044b0- -_0x5c9acd._0xc627a8,_0x12e942);}function _0x9d35ef(_0x87c181,_0x333ff1,_0x1281fa,_0x52abdf){return _0x4d9604(_0x87c181-0x13f,_0x52abdf,_0x1281fa-_0x96c4d2._0x175b87,_0x52abdf-0x1b);}return _0x3d744d===''||!_0x3d744d[_0x9d35ef(0x36d,0x34e,_0x37b5cd._0x4797d3,0x58b)]('..')&&!_0x624999['isAbsolute'](_0x3d744d);}function resolveWorkspacePath(_0xdbb418,_0x1bb81e){return resolveAllowedPath(_0xdbb418,[],_0x1bb81e);}function resolveAllowedPath(_0x3459c1,_0x3c4681,_0x61e0){const _0x5bdbda={_0x3f0995:0xb4,_0x4ea822:0x1a2,_0x3e98c4:0x590,_0x39f791:0x57e,_0xb7fb67:0x3f,_0x4b0eb6:0x4b,_0x2b3807:0x172,_0x485dcd:0x3d8,_0x4d8b7d:0x213,_0x589d57:0x365,_0x5a7cec:0x48b,_0x3bc007:0x54d},_0x2d8000={_0x5dc6e9:0x187},_0x501817={_0x261205:0x37,_0xf9edf7:0x131};function _0x19c8c3(_0x45fc27,_0x42a24f,_0x3ee84c,_0x1e7901){return _0x4d9604(_0x45fc27-_0x501817._0x261205,_0x45fc27,_0x3ee84c- -0x235,_0x1e7901-_0x501817._0xf9edf7);}function _0x500115(_0x63e490,_0x1afe81,_0x142794,_0xfc4c5e){return _0x2853b9(_0x63e490-0x176,_0x1afe81-0x1ce,_0x1afe81- -_0x2d8000._0x5dc6e9,_0x63e490);}const _0x587c3a=_0x624999[_0x19c8c3(0x1a6,-_0x5bdbda._0x3f0995,0x75,_0x5bdbda._0x4ea822)](_0x3459c1),_0x13ec05=_0x624999[_0x500115(_0x5bdbda._0x3e98c4,0x42d,_0x5bdbda._0x39f791,0x4f0)](_0x587c3a,_0x61e0),_0x59feec=[_0x587c3a,..._0x3c4681[_0x19c8c3(0xd,-_0x5bdbda._0xb7fb67,-_0x5bdbda._0x4b0eb6,0x8f)](_0x50a2c7=>_0x624999['resolve'](_0x50a2c7))];if(_0x59feec[_0x500115(_0x5bdbda._0x2b3807,0x26f,_0x5bdbda._0x485dcd,_0x5bdbda._0x4d8b7d)](_0xb07c69=>isPathInside(_0xb07c69,_0x13ec05)))return _0x13ec05;throw new ToolExecutionError(_0x500115(_0x5bdbda._0x589d57,_0x5bdbda._0x5a7cec,0x46c,_0x5bdbda._0x3bc007)+_0x61e0,{'path':_0x61e0,'rootDir':_0x587c3a,'allowedDirs':_0x59feec});}async function assertWorkspaceFile(_0x5cfa20){const _0x1909bf={_0x2be197:0x2b1,_0x449647:0x298,_0x3878d9:0x37f},_0x1040af={_0x4f5ca7:0x146,_0x2e95fb:0x1e},_0x79f9a=await stat(_0x5cfa20);function _0x337d0b(_0x4b4033,_0x137846,_0x1a9e30,_0x121052){return _0x2853b9(_0x4b4033-_0x1040af._0x4f5ca7,_0x137846-_0x1040af._0x2e95fb,_0x137846- -0x159,_0x121052);}if(!_0x79f9a['isFile']())throw new ToolExecutionError(_0x337d0b(_0x1909bf._0x2be197,_0x1909bf._0x449647,_0x1909bf._0x3878d9,0x385)+_0x5cfa20,{'path':_0x5cfa20});}function isProbablyBinary(_0xe19c48){const _0x4831ee={_0x2452e7:0x58b,_0xbe4b6e:0x533},_0x272269={_0x4776b:0xd8,_0x16d39b:0x268,_0x30dafc:0x54};function _0x3787e3(_0x57ded3,_0x19b3fe,_0x29ce16,_0x56b212){return _0x4d9604(_0x57ded3-_0x272269._0x4776b,_0x57ded3,_0x29ce16-_0x272269._0x16d39b,_0x56b212-_0x272269._0x30dafc);}return _0xe19c48[_0x3787e3(_0x4831ee._0x2452e7,0x406,_0x4831ee._0xbe4b6e,0x531)](0x0);}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION=_0x2853b9(0x32e,0x4e2,0x496,0x39d)+DEFAULT_TIMEOUT_MS+'ms';function buildChildEnv(_0x3cf1b2,_0xf0cc5c){const _0x719208={_0x4db2a9:0x120,_0x46f0a7:0x13b,_0x474c51:0x124,_0x5c73d0:0x2f,_0x1b6b6e:0x14f,_0x166b9b:0x185,_0x4f31de:0xea,_0x24995f:0x108,_0x5a02da:0x18e,_0x3c6f8b:0x246,_0x5cb9d9:0x17f},_0x4778ba={_0x22a46e:0x91,_0x5ec2d1:0xd,_0x36b815:0x472},_0x1e9e7c={_0x164289:0x1d0,_0x32c525:0x79},_0x18533={...process[_0x228c10(-_0x719208._0x4db2a9,-0x28d,-_0x719208._0x46f0a7,-0x29c)],..._0x3cf1b2??{}};function _0x228c10(_0x2dab77,_0xc321c6,_0x6fd1d1,_0x41f121){return _0x4d9604(_0x2dab77-0x121,_0xc321c6,_0x6fd1d1- -_0x1e9e7c._0x164289,_0x41f121-_0x1e9e7c._0x32c525);}function _0x2dbe91(_0x53a1a6,_0x1015a0,_0x1b49b6,_0x1821e2){return _0x2853b9(_0x53a1a6-_0x4778ba._0x22a46e,_0x1015a0-_0x4778ba._0x5ec2d1,_0x1821e2- -_0x4778ba._0x36b815,_0x53a1a6);}if(_0xf0cc5c[_0x228c10(-_0x719208._0x474c51,0x154,0xe,-_0x719208._0x5c73d0)]===0x0)return _0x18533;if(_0x271d10[_0x228c10(-0x19d,0x23,-_0x719208._0x1b6b6e,-0x92)]()===_0x2dbe91(0x63,0x183,_0x719208._0x166b9b,0x191)){const _0x2c0129=new Set(_0xf0cc5c[_0x2dbe91(_0x719208._0x4f31de,0x146,_0x719208._0x24995f,0x82)](_0x149d54=>_0x149d54[_0x2dbe91(-0xbc,-0x18,-0x167,-0xdd)]()));for(const _0x1c2aba of Object['keys'](_0x18533)){if(_0x2c0129['has'](_0x1c2aba[_0x2dbe91(-_0x719208._0x5a02da,-_0x719208._0x3c6f8b,-_0x719208._0x5cb9d9,-0xdd)]()))delete _0x18533[_0x1c2aba];}}else{for(const _0x249d71 of _0xf0cc5c)delete _0x18533[_0x249d71];}return _0x18533;}function mapSpawnError(_0x220c6a,_0x556a02){const _0x51361={_0x4f41f6:0x2ea,_0x1a2dc1:0x1e3,_0x5713c8:0x48b,_0x44e481:0x270,_0x49557d:0x416,_0x228b1:0x3d3,_0x3a2514:0x157},_0x2cdda6={_0x8cf2d6:0x9,_0x1b4540:0x16d};function _0x2996ce(_0x3ba3bf,_0x306fa4,_0xc25024,_0x56fa0e){return _0x2853b9(_0x3ba3bf-0x3d,_0x306fa4-_0x2cdda6._0x8cf2d6,_0x306fa4- -_0x2cdda6._0x1b4540,_0xc25024);}if(isErrnoException(_0x220c6a)&&_0x220c6a[_0x17c211(-_0x51361._0x4f41f6,-0x231,-0x291,-_0x51361._0x1a2dc1)]===_0x2996ce(_0x51361._0x5713c8,0x370,0x3d1,_0x51361._0x44e481))return new ToolExecutionError(_0x2996ce(0x3c3,_0x51361._0x49557d,0x458,0x2d7)+_0x556a02[_0x2996ce(_0x51361._0x228b1,0x4ad,0x425,0x530)],_0x556a02);function _0x17c211(_0x540144,_0x36f97c,_0xb9ac48,_0x4e0ca2){return _0x2853b9(_0x540144-0x4e,_0x36f97c-0x1,_0x36f97c- -0x5cc,_0xb9ac48);}return new ToolExecutionError(_0x220c6a instanceof Error?_0x220c6a[_0x17c211(-0x4b,0x1d,-0xb9,_0x51361._0x3a2514)]:String(_0x220c6a),_0x556a02);}function shellExists(_0x1d2ad4){const _0x56d000={_0x3b6dce:0x289},_0x47ef66={_0x18aa3e:0x1e6};function _0xb3c54f(_0x4eb7c0,_0x5e7941,_0x7fe2e7,_0x5b86e1){return _0x2853b9(_0x4eb7c0-0x2c,_0x5e7941-_0x47ef66._0x18aa3e,_0x7fe2e7- -0x1a5,_0x4eb7c0);}try{const _0x58b784=statSync(_0x1d2ad4);return _0x58b784['isFile']()&&(_0x58b784[_0xb3c54f(0x3c4,0x140,_0x56d000._0x3b6dce,0x319)]&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x58e0b2){const _0x112ce7={_0x4368f3:0x1ef,_0x21c7f5:0x1e7,_0x2474e4:0x9c,_0x467805:0x27d,_0x209be7:0x16c,_0x2a24c8:0x1a,_0x1aa36b:0x8c,_0x4ef854:0x152,_0x561ac2:0x6a,_0x205d37:0x13e,_0x385060:0xfe,_0x5d71a7:0xb3,_0x4d24ee:0x76,_0x243c1:0xb2,_0x5ce509:0x39,_0x1ae534:0x18,_0x39b160:0x103,_0x238054:0xed,_0x2d0991:0x234,_0x365df5:0x32,_0x41e236:0x19,_0x293deb:0x12,_0x3665bf:0x1aa,_0x2a5d7c:0x16d,_0x5738e3:0x193},_0x209b10={_0x2094fc:0x55,_0x123407:0x7c},_0x4a9a80={_0x181819:0x19b,_0x5964b9:0x30,_0x560cc7:0x572};if(_0x58e0b2)return _0x58e0b2;if(_0x271d10[_0x5b3acd(-_0x112ce7._0x4368f3,-_0x112ce7._0x21c7f5,-0x34b,-_0x112ce7._0x2474e4)]()===_0x5c54be(0x3f1,_0x112ce7._0x467805,0x396,_0x112ce7._0x209be7))return process[_0x5c54be(-_0x112ce7._0x2a24c8,0x19,-_0x112ce7._0x1aa36b,-_0x112ce7._0x4ef854)][_0x5b3acd(0x81,-_0x112ce7._0x561ac2,-_0x112ce7._0x205d37,-0x98)]||_0x5b3acd(0xd,-_0x112ce7._0x385060,-0xab,-0x21c);const _0x32ec24=['/bin/bash',_0x5c54be(_0x112ce7._0x5d71a7,_0x112ce7._0x4d24ee,-_0x112ce7._0x243c1,0x14e),_0x5b3acd(0x47,-_0x112ce7._0x5ce509,-0x14e,0x12),_0x5c54be(_0x112ce7._0x1ae534,_0x112ce7._0x39b160,_0x112ce7._0x238054,_0x112ce7._0x2d0991)];function _0x5b3acd(_0x32e447,_0xd59482,_0x2e3ae0,_0x4565e0){return _0x2853b9(_0x32e447-_0x4a9a80._0x181819,_0xd59482-_0x4a9a80._0x5964b9,_0xd59482- -_0x4a9a80._0x560cc7,_0x4565e0);}for(const _0x5c61a4 of _0x32ec24){if(shellExists(_0x5c61a4))return _0x5c61a4;}const _0x351939=process[_0x5c54be(-_0x112ce7._0x365df5,_0x112ce7._0x41e236,_0x112ce7._0x293deb,-0x6a)][_0x5c54be(0x1da,0x152,0xc6,_0x112ce7._0x3665bf)];function _0x5c54be(_0x9d0335,_0x7f2c11,_0x2c6995,_0x568595){return _0x4d9604(_0x9d0335-_0x209b10._0x2094fc,_0x2c6995,_0x7f2c11- -_0x209b10._0x123407,_0x568595-0x150);}if(_0x351939&&shellExists(_0x351939))return _0x351939;return _0x5b3acd(-_0x112ce7._0x2a5d7c,-_0x112ce7._0x5738e3,-0xd7,-0xf0);}function buildShellArgs(_0x1416b7,_0x1adfb4){const _0x1d8d32={_0x1e5c74:0x85,_0x4560f4:0x45,_0x3339f7:0xbe,_0x37821e:0xa7,_0x2d7578:0x611,_0x45ec5e:0x539,_0x3db7cf:0x4b0,_0x4921db:0x15f,_0x2f5509:0x1fd,_0x26f13c:0x80},_0x3e78a7={_0x4e5abf:0x175,_0x1945da:0x410};function _0x1d6f83(_0xa897a4,_0x4e5fd5,_0x7d7d82,_0x58288f){return _0x4d9604(_0xa897a4-0x0,_0x58288f,_0xa897a4-0x318,_0x58288f-0x11);}if(_0x271d10[_0x4e4ed7(-_0x1d8d32._0x1e5c74,-_0x1d8d32._0x4560f4,_0x1d8d32._0x3339f7,-_0x1d8d32._0x37821e)]()===_0x1d6f83(_0x1d8d32._0x2d7578,_0x1d8d32._0x45ec5e,0x557,0x75c)){const _0x17f1b0=/cmd(\.exe)?$/i[_0x1d6f83(0x53d,0x475,0x59d,_0x1d8d32._0x3db7cf)](_0x1adfb4);return _0x17f1b0?['/d','/s','/c',_0x1416b7]:[_0x4e4ed7(0x17a,_0x1d8d32._0x4921db,_0x1d8d32._0x2f5509,_0x1d8d32._0x26f13c),'-NoProfile','-Command',_0x1416b7];}function _0x4e4ed7(_0x2d3f5f,_0x8d9d70,_0x3739f8,_0x498f0d){return _0x2853b9(_0x2d3f5f-0x7d,_0x8d9d70-_0x3e78a7._0x4e5abf,_0x2d3f5f- -_0x3e78a7._0x1945da,_0x3739f8);}return['-c',_0x1416b7];}function resolveWorkingDirectory(_0x57ab2c,_0x258154,_0x434c00){const _0x3ce4f5={_0x53fdc0:0x7e,_0x240be4:0x16a,_0x5345e5:0x244,_0x21ce50:0xe8,_0x418e08:0x219},_0x2841c0={_0x25b0b9:0x62,_0x5599f7:0x10e},_0x481551={_0x4c2e12:0x147,_0x4d631c:0x60},_0x122225=resolveAllowedPath(_0x258154,_0x434c00,_0x57ab2c??'.');function _0x50613f(_0x4dcf1b,_0xdd1fb3,_0x5c57bc,_0xa9a42){return _0x4d9604(_0x4dcf1b-_0x481551._0x4c2e12,_0x4dcf1b,_0xdd1fb3- -0x21d,_0xa9a42-_0x481551._0x4d631c);}function _0x2f7e50(_0x1846d4,_0x429f42,_0x255a10,_0x505e22){return _0x4d9604(_0x1846d4-0x99,_0x1846d4,_0x429f42- -_0x2841c0._0x25b0b9,_0x505e22-_0x2841c0._0x5599f7);}try{const _0x3451c7=statSync(_0x122225);if(!_0x3451c7[_0x2f7e50(0x1c9,_0x3ce4f5._0x53fdc0,0xbc,_0x3ce4f5._0x240be4)]())throw new ToolExecutionError(_0x50613f(-_0x3ce4f5._0x5345e5,-0xe6,-0x1ba,0x55)+_0x122225,{'cwd':_0x122225});return _0x122225;}catch(_0xd6bce7){if(_0xd6bce7 instanceof ToolExecutionError)throw _0xd6bce7;throw new ToolExecutionError(_0x2f7e50(-0x7c,_0x3ce4f5._0x21ce50,_0x3ce4f5._0x418e08,0x89)+_0x122225,{'cwd':_0x122225});}}function appendChunk(_0xdb3947,_0x544ab1,_0xe1b2c,_0x297c08,_0x1a109d){const _0x18f05b={_0xbfced1:0x2ea,_0x5dcf0a:0x35b,_0x5a90b4:0x251,_0x190875:0x242,_0x1ba981:0x140,_0x4e8769:0x2dd,_0x3726c0:0x332},_0x40990c={_0x44faee:0x1db};function _0x396f5b(_0x421aee,_0x16d700,_0x3f84c9,_0xa342ee){return _0x4d9604(_0x421aee-_0x40990c._0x44faee,_0x421aee,_0x16d700-0x10c,_0xa342ee-0x1cf);}const _0xe9bebf=_0x297c08?stripAnsiAndControls(_0xe1b2c):_0xe1b2c;function _0x433495(_0x4e24d5,_0x3e26f6,_0x9b3d65,_0x5a6344){return _0x4d9604(_0x4e24d5-0x9d,_0x4e24d5,_0x9b3d65-0x4b,_0x5a6344-0x6b);}if(_0xe9bebf[_0x396f5b(0x253,_0x18f05b._0xbfced1,_0x18f05b._0x5dcf0a,0x332)]===0x0)return;_0xdb3947[_0x396f5b(_0x18f05b._0x5a90b4,_0x18f05b._0x190875,0x1a1,0x2ff)](_0xe9bebf),_0x544ab1[_0x396f5b(_0x18f05b._0x1ba981,0x242,_0x18f05b._0x4e8769,_0x18f05b._0x3726c0)](_0xe9bebf),_0x1a109d();}function createBashTool(_0x2065f1={}){const _0xa6da98={_0x2d285f:0x2f9,_0x3b4739:0x271,_0x3c84c0:0x197,_0x49f10c:0x3d8,_0x210a02:0x3cc,_0x308633:0x42d,_0x174180:0x421,_0x3c2d15:0x3af,_0x57aac4:0x2ca,_0x1b69cc:0x140,_0x6735f1:0x121,_0x58c39a:0x90,_0x2975d6:0x1e3,_0x30eb88:0x173,_0x97a80d:0x1d6,_0x4469af:0x33,_0x204daa:0x3d4,_0x8be28c:0xae,_0x49be0b:0x6,_0x57c1c7:0x9d,_0x8bb8eb:0x90},_0x445e6a={_0x1910b7:0x78,_0x41b58e:0x48,_0x4796d9:0x180,_0x1bbfac:0x1d4,_0xbf0db4:0x89,_0x115813:0x250,_0x2b3d52:0x33e,_0x59551a:0x3b5,_0x397a7e:0x46a,_0x370dc6:0x1ec,_0x5ad283:0x47d,_0x173ac5:0x44c,_0x19041b:0x599,_0x2d235a:0x58e,_0x1bf6e8:0x4ed,_0x1ec371:0x128,_0x195bfb:0xe5,_0x5ac2b8:0x65,_0x991f76:0x3cb,_0x43bb38:0x597,_0x406ddb:0x3b5,_0x264ed4:0x425,_0x4ffd4d:0x4f2,_0x8a6dde:0x189,_0x51e9b2:0x61e,_0x256ce6:0x575,_0x219910:0x39,_0x5fc99f:0x9,_0x5caa24:0x21,_0x1a54f5:0x26,_0x4c7444:0x5e,_0x5d3ec5:0x28,_0x2a7a04:0x74,_0x5648a4:0x147,_0x329f5f:0xeb,_0x36e137:0xc4,_0x29169c:0x1a,_0x5a15d1:0x5c,_0x1e0659:0x459,_0x27bddd:0x39d,_0x48d8e3:0x394,_0xddb3df:0x2f6,_0x1a2d73:0x4ab,_0x696223:0x461,_0x3939e5:0x577,_0x2d3279:0x5a7,_0x591169:0x6ed,_0x3bb554:0x709,_0x483387:0x158,_0x92eeb8:0x1bb,_0x1c99f1:0x3e4,_0x47ea58:0x281,_0x40f630:0x4ff,_0x19b46d:0x51e,_0x568047:0x53b,_0x24cbae:0x66b,_0x3ff7bb:0x42c,_0x3e77c2:0x171,_0x4e9949:0x94,_0x2c32ec:0xf8,_0x1d7d24:0x376,_0x107b70:0x4aa,_0x16d2bd:0x5e1,_0x5474fe:0x462,_0x5e4d14:0x434,_0x3b8fbe:0x460,_0x2753f3:0x438,_0x3b27f1:0x246,_0x2139d2:0x5eb,_0x4047c3:0x412,_0x21c543:0x50d,_0x4141ca:0x5eb,_0x5e9aa4:0x74f,_0x5ad53f:0x2b3,_0x267a4e:0x36c,_0x48b900:0x40b,_0x1a6c2a:0x357,_0x427101:0xfe,_0x425e99:0x2c,_0x42e0b9:0x5f5,_0x28dc54:0x5a7,_0x35a7cd:0x7c,_0x5703cf:0x62,_0x5f540a:0x1aa,_0x5188a4:0x211,_0x183ca0:0x83,_0x1bb969:0x36c,_0x50aaf9:0x9d,_0x4a8ac4:0xd,_0x398b76:0xc1,_0xb64bdb:0x17,_0x3f496e:0x214,_0x177240:0x478,_0x3b283e:0x6f4,_0x35e3db:0x5a4,_0x1b5def:0x62a,_0x19f198:0x221,_0x255366:0xbb,_0x409354:0x3f,_0x29eb01:0x248,_0x3be61b:0x308,_0x310310:0x5df,_0x49c25b:0x9b,_0xfe82b0:0x360},_0x4034fe={_0x276bb5:0x256},_0x4a95cd={_0x5bc9a0:0x47b},_0x45aff6={_0x268a9f:0x115,_0x3e94c7:0x9b},_0x1798e0={_0x1fee3d:0x137,_0x1f3ad2:0x564},_0x4e6487=_0x4ba7bc['resolve'](_0x2065f1[_0x218222(_0xa6da98._0x2d285f,_0xa6da98._0x3b4739,_0xa6da98._0x3c84c0,0x186)]??process['cwd']());function _0x5ec6bd(_0x5a5e96,_0xb8d1ae,_0x5b838e,_0x31d8c9){return _0x2853b9(_0x5a5e96-0x1ed,_0xb8d1ae-_0x1798e0._0x1fee3d,_0x31d8c9- -_0x1798e0._0x1f3ad2,_0xb8d1ae);}const _0xb16b88=(_0x2065f1['allowedDirs']??[])['map'](_0x3552cf=>_0x4ba7bc[_0x218222(0x3f7,0x31b,0x381,0x390)](_0x3552cf)),_0x460692=_0x2065f1[_0x218222(0x44c,0x491,0x502,_0xa6da98._0x49f10c)]??DEFAULT_TIMEOUT_MS,_0x100a6f=_0x2065f1[_0x218222(_0xa6da98._0x210a02,_0xa6da98._0x308633,_0xa6da98._0x174180,0x3c6)]??!![];function _0x218222(_0x342ef5,_0x1a8191,_0x299d23,_0x2e017e){return _0x4d9604(_0x342ef5-_0x45aff6._0x268a9f,_0x299d23,_0x342ef5-0x14d,_0x2e017e-_0x45aff6._0x3e94c7);}const _0x59f643=_0x2065f1[_0x218222(0x23b,_0xa6da98._0x3c2d15,0x2d1,_0xa6da98._0x57aac4)]??'Bash',_0x359156=_0x2065f1[_0x218222(0x2a8,0x244,0x1de,0x3e4)]??[],_0x261f9a=_0x2065f1['backgroundRegistry'];return defineTool({'name':_0x59f643,'description':_0x2065f1[_0x5ec6bd(0xb1,_0xa6da98._0x1b69cc,_0xa6da98._0x6735f1,_0xa6da98._0x58c39a)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':_0x218222(_0xa6da98._0x2975d6,0x94,0x239,_0xa6da98._0x30eb88),'properties':{'command':{'type':_0x218222(0x28a,0x1be,0x232,_0xa6da98._0x97a80d)},'description':{'type':'string','description':_0x5ec6bd(-0x5d,-0x9c,-_0xa6da98._0x4469af,-0x105)},'cwd':{'type':'string'},'timeoutMs':{'type':'number'},'ignoreOutput':{'type':'boolean'},'runInBackground':{'type':_0x218222(0x352,0x28f,_0xa6da98._0x204daa,0x3d1)}},'required':['command',_0x5ec6bd(_0xa6da98._0x8be28c,-_0xa6da98._0x49be0b,-_0xa6da98._0x57c1c7,_0xa6da98._0x8bb8eb)]},async *'execute'(_0x4977f5,_0x331162){const _0x31055e={_0x24db1f:0x585,_0x50f4e1:0x525,_0x41b486:0xb2,_0x15a7b9:0x5e,_0x2b3e42:0x2c,_0x509973:0xd5},_0x285c55={_0x500e43:0x31,_0x625b46:0x2d1,_0x26e4c8:0x58,_0x4daaf8:0xc7,_0x2aefee:0x1b2,_0x5c63c9:0x123,_0x1d59b3:0x280},_0xc051b7={_0x273c0d:0x2eb,_0x923d83:0x2a2},_0x2566cf={_0x1ddf92:0x1b,_0x26c955:0x11a},_0x12ca2a={_0x37a6de:0x324,_0x2529bb:0x180},_0x112c1f={_0x11494c:0x201,_0x4eb39e:0x12f},_0x90b219={_0x282963:0x39,_0x4b5b65:0x11},_0x2c1354={_0x2e139e:0x135,_0x3ad26a:0x148},_0x2a4adc={_0x4ac744:0x14d},_0x43cc44={_0x4dbf4a:0xb7},_0x285a11=_0x4977f5[_0x93b08(0x9f,_0x445e6a._0x1910b7,0x6d,0x37)]??_0x460692;if(!Number[_0x93b08(-0x155,0x7,-0x97,-0xf7)](_0x285a11)||_0x285a11<0x1)throw new ToolExecutionError('Invalid\x20timeoutMs:\x20expected\x20a\x20positive\x20number',{'command':_0x4977f5['command']});throwIfAborted(_0x331162[_0x93b08(_0x445e6a._0x41b58e,-0x5e,-0x53,0x3)]);const _0x6b63d=resolveWorkingDirectory(_0x4977f5['cwd'],_0x4e6487,_0xb16b88);function _0x28eed4(_0x2758a4,_0x274393,_0x59f8ac,_0xcf2d45){return _0x5ec6bd(_0x2758a4-_0x43cc44._0x4dbf4a,_0x2758a4,_0x59f8ac-0x31,_0x274393-0x517);}const _0x10fe2e=_0x4977f5[_0x93b08(_0x445e6a._0x4796d9,_0x445e6a._0x1bbfac,0x276,_0x445e6a._0xbf0db4)]??![],_0x67cad3=resolveDefaultShell(_0x2065f1[_0x93b08(0x2f7,0x203,_0x445e6a._0x115813,0x135)]),_0x38469a=buildShellArgs(_0x4977f5['command'],_0x67cad3),_0x2c9dc3=_0x271d10[_0x28eed4(0x3f9,_0x445e6a._0x2b3d52,_0x445e6a._0x59551a,_0x445e6a._0x397a7e)]()===_0x93b08(0x1cd,_0x445e6a._0x370dc6,0x12d,0x193);if(_0x4977f5[_0x28eed4(0x5e3,0x5bf,_0x445e6a._0x5ad283,_0x445e6a._0x173ac5)]){if(!_0x261f9a)throw new ToolExecutionError(_0x28eed4(_0x445e6a._0x19041b,0x4ca,_0x445e6a._0x2d235a,_0x445e6a._0x1bf6e8),{'command':_0x4977f5[_0x93b08(0x43,_0x445e6a._0x1ec371,0x1f2,0x22c)]});throwIfAborted(_0x331162['signal']);let _0x338197;try{_0x338197=_0x5e2ced(_0x67cad3,_0x38469a,{'cwd':_0x6b63d,'env':buildChildEnv(_0x2065f1[_0x93b08(0x4f,-0x78,_0x445e6a._0x195bfb,-_0x445e6a._0x5ac2b8)],_0x359156),'stdio':[_0x28eed4(0x64d,0x53b,0x5e2,_0x445e6a._0x991f76),_0x28eed4(_0x445e6a._0x43bb38,0x4aa,_0x445e6a._0x406ddb,_0x445e6a._0x264ed4),_0x28eed4(0x4d5,0x4aa,0x4f3,0x608)],'shell':![],'windowsHide':!![],'detached':!_0x2c9dc3});}catch(_0x54ae27){throw mapSpawnError(_0x54ae27,{'command':_0x4977f5[_0x28eed4(0x61b,_0x445e6a._0x4ffd4d,0x5e6,0x4ed)],'cwd':_0x6b63d,'shellPath':_0x67cad3});}let _0x5bdb3d;try{_0x5bdb3d=_0x261f9a['spawn']({'child':_0x338197,'command':_0x4977f5[_0x93b08(-0x46,0x128,_0x445e6a._0x8a6dde,0x1f)],'cwd':_0x6b63d,'stripAnsi':_0x100a6f});}catch(_0x5cee7c){_0x338197[_0x28eed4(_0x445e6a._0x51e9b2,_0x445e6a._0x256ce6,0x5be,0x5b9)](_0x93b08(_0x445e6a._0x219910,_0x445e6a._0x5fc99f,-_0x445e6a._0x5caa24,0x14),()=>{});try{killProcessGroup(_0x338197,_0x2c9dc3);}catch{}throw _0x5cee7c;}return createToolOutput(_0x93b08(-0x67,_0x445e6a._0x1a54f5,_0x445e6a._0x4c7444,0x18e)+_0x5bdb3d['shellId']+_0x93b08(-_0x445e6a._0x5d3ec5,_0x445e6a._0x2a7a04,_0x445e6a._0x5648a4,_0x445e6a._0x329f5f)+(_0x5bdb3d[_0x93b08(_0x445e6a._0x36e137,_0x445e6a._0x29169c,-_0x445e6a._0x5a15d1,-0xd5)]??'?')+_0x28eed4(0x3c2,_0x445e6a._0x1e0659,0x304,_0x445e6a._0x27bddd),{'shellId':_0x5bdb3d[_0x28eed4(0x443,_0x445e6a._0x48d8e3,_0x445e6a._0xddb3df,0x260)],'status':_0x5bdb3d[_0x28eed4(0x5d7,0x478,_0x445e6a._0x1a2d73,0x422)],'command':_0x5bdb3d[_0x28eed4(0x415,_0x445e6a._0x4ffd4d,0x397,_0x445e6a._0x696223)],'description':_0x4977f5[_0x28eed4(_0x445e6a._0x3939e5,_0x445e6a._0x2d3279,_0x445e6a._0x591169,_0x445e6a._0x3bb554)],'cwd':_0x5bdb3d[_0x93b08(_0x445e6a._0x483387,0x125,0x256,_0x445e6a._0x92eeb8)],'pid':_0x5bdb3d[_0x28eed4(0x453,_0x445e6a._0x1c99f1,_0x445e6a._0x47ea58,_0x445e6a._0x40f630)]??null});}function _0x93b08(_0x46f2b,_0x10c852,_0xc2bd7a,_0x24f5f6){return _0x5ec6bd(_0x46f2b-0x55,_0xc2bd7a,_0xc2bd7a-0x2e,_0x10c852-_0x2a4adc._0x4ac744);}let _0x5ca2a7;try{_0x5ca2a7=_0x5e2ced(_0x67cad3,_0x38469a,{'cwd':_0x6b63d,'env':buildChildEnv(_0x2065f1['env'],_0x359156),'stdio':_0x10fe2e?[_0x28eed4(_0x445e6a._0x19b46d,_0x445e6a._0x568047,_0x445e6a._0x24cbae,_0x445e6a._0x3ff7bb),'ignore','ignore']:[_0x93b08(0x209,_0x445e6a._0x3e77c2,_0x445e6a._0x4e9949,_0x445e6a._0x2c32ec),_0x28eed4(_0x445e6a._0x1d7d24,_0x445e6a._0x107b70,0x347,_0x445e6a._0x16d2bd),_0x28eed4(0x524,0x4aa,_0x445e6a._0x5474fe,_0x445e6a._0x5e4d14)],'shell':![],'windowsHide':!![],'detached':!_0x2c9dc3});}catch(_0xb67b5e){throw mapSpawnError(_0xb67b5e,{'command':_0x4977f5['command'],'cwd':_0x6b63d,'shellPath':_0x67cad3});}const _0x37aecb=[],_0x1600c1=[],_0xb09f4c=new _0x1c6786('utf8'),_0x22a2ef=new _0x1c6786(_0x28eed4(_0x445e6a._0x3b8fbe,0x358,0x3c7,_0x445e6a._0x2753f3));let _0x556c61,_0x438ae1=![],_0x35f175;const _0x45b415=()=>{if(!_0x556c61)return;const _0x47966c=_0x556c61;_0x556c61=void 0x0,_0x47966c();},_0x220ff4=async()=>{function _0x3305b2(_0x3c20e6,_0x3f3489,_0x51c03f,_0x349aee){return _0x28eed4(_0x349aee,_0x3f3489- -0x55a,_0x51c03f-0x5a,_0x349aee-0xd3);}if(_0x1600c1[_0x3305b2(0x61,-0xbf,-_0x2c1354._0x2e139e,-_0x2c1354._0x3ad26a)]>0x0||_0x438ae1)return;await new Promise(_0x561c9d=>{_0x556c61=_0x561c9d;});},_0x44c56b=_0x20bbcc=>{function _0xb60dac(_0xe0c117,_0x38fe1a,_0x40e325,_0x26ffee){return _0x28eed4(_0x40e325,_0x38fe1a- -_0x90b219._0x282963,_0x40e325-0x108,_0x26ffee-_0x90b219._0x4b5b65);}appendChunk(_0x37aecb,_0x1600c1,_0xb09f4c[_0xb60dac(0x373,_0x4a95cd._0x5bc9a0,0x33a,0x597)](_0x20bbcc),_0x100a6f,_0x45b415);},_0x146d90=_0x5a64f5=>{function _0x1762ef(_0x45f2a7,_0x3a41a4,_0x3a7667,_0x402001){return _0x28eed4(_0x3a7667,_0x45f2a7- -_0x112c1f._0x11494c,_0x3a7667-0xc9,_0x402001-_0x112c1f._0x4eb39e);}appendChunk(_0x37aecb,_0x1600c1,_0x22a2ef[_0x1762ef(0x2b3,_0x12ca2a._0x37a6de,_0x12ca2a._0x2529bb,0x355)](_0x5a64f5),_0x100a6f,_0x45b415);};_0x5ca2a7[_0x93b08(0x2cd,0x20f,0x2a0,_0x445e6a._0x3b27f1)]?.['on'](_0x28eed4(0x5f3,_0x445e6a._0x2139d2,0x756,0x578),_0x44c56b),_0x5ca2a7[_0x28eed4(0x3e1,0x453,0x443,_0x445e6a._0x4047c3)]?.['on'](_0x28eed4(_0x445e6a._0x21c543,_0x445e6a._0x4141ca,_0x445e6a._0x5e9aa4,0x724),_0x146d90);let _0x1c69b6=![],_0x5b646c;const _0xfd96b=addAbortListener(_0x331162[_0x28eed4(_0x445e6a._0x5ad53f,_0x445e6a._0x267a4e,_0x445e6a._0x48b900,0x1fb)],()=>{const _0x7e09b8={_0x1e9db5:0x188};function _0x52f334(_0x303eca,_0x212854,_0x4e1c1f,_0xa2c6ce){return _0x93b08(_0x303eca-_0x7e09b8._0x1e9db5,_0x303eca-0x106,_0x4e1c1f,_0xa2c6ce-0x66);}_0x35f175=toAbortError(_0x331162['signal'][_0x52f334(_0x4034fe._0x276bb5,0x246,0x146,0x148)]),_0x438ae1=!![],_0x45b415();try{killProcessGroup(_0x5ca2a7,_0x2c9dc3);}catch{}});try{const _0x4e7546=new Promise((_0x2b3075,_0x527677)=>{const _0x571f45={_0x2932c6:0x9d},_0x1a701b={_0xfcc110:0x65f,_0x4a883d:0xd3,_0x106840:0x9,_0x3c1858:0xf6},_0x556e9c=()=>{const _0x4b6b03={_0x3b61ca:0x228};_0x5b646c&&(clearTimeout(_0x5b646c),_0x5b646c=void 0x0);_0x5ca2a7[_0x57f279(0x3b8,_0x1a701b._0xfcc110,0x510,0x413)]('error',_0x370e5b);function _0x3a54ab(_0x285e70,_0x423f88,_0x26a7f4,_0x24d67e){return _0x1b39(_0x285e70- -_0x4b6b03._0x3b61ca,_0x24d67e);}function _0x57f279(_0x21bc96,_0x1876aa,_0x34c490,_0x17b2f0){return _0x1b39(_0x34c490-0x1e3,_0x17b2f0);}_0x5ca2a7[_0x3a54ab(0x105,0x125,_0x1a701b._0x4a883d,0x1de)](_0x3a54ab(_0x1a701b._0x106840,0x10c,-_0x1a701b._0x3c1858,0x4b),_0x1e5835);};function _0x224b9a(_0x476c49,_0x11a3a1,_0x42a268,_0x54f837){return _0x28eed4(_0x42a268,_0x11a3a1- -0x517,_0x42a268-_0x2566cf._0x1ddf92,_0x54f837-_0x2566cf._0x26c955);}function _0x437602(_0x4dbd74,_0x4002f0,_0x34255,_0x35277c){return _0x93b08(_0x4dbd74-_0x571f45._0x2932c6,_0x34255-0x51f,_0x35277c,_0x35277c-0x119);}const _0x370e5b=_0x28ebbe=>{_0x438ae1=!![],_0x45b415(),_0x556e9c(),_0x527677(_0x35f175??_0x28ebbe);},_0x1e5835=(_0x5405d5,_0x212054)=>{const _0xfbd8fe={_0x2bc9e7:0x285};_0x1c69b6=!![],appendChunk(_0x37aecb,_0x1600c1,_0xb09f4c[_0x38b922(0x29a,0x274,_0xc051b7._0x273c0d,0x16d)](),_0x100a6f,_0x45b415);function _0x38b922(_0x5e6ebf,_0x6b1a37,_0x4ae08f,_0x24721a){return _0x1b39(_0x6b1a37-0x15b,_0x24721a);}appendChunk(_0x37aecb,_0x1600c1,_0x22a2ef[_0x38b922(0x284,0x274,_0xc051b7._0x923d83,0x1b6)](),_0x100a6f,_0x45b415),_0x438ae1=!![],_0x45b415(),_0x556e9c();function _0x3ea512(_0x3a66b1,_0x26f76d,_0x43d2d0,_0x9f4752){return _0x1b39(_0x9f4752-_0xfbd8fe._0x2bc9e7,_0x26f76d);}if(_0x35f175){_0x527677(_0x35f175);return;}_0x2b3075({'code':_0x5405d5,'signal':_0x212054});};_0x5b646c=setTimeout(()=>{const _0x1a5276={_0x510852:0x1e2};_0x438ae1=!![];function _0x29b688(_0x165bd1,_0x1e3616,_0x1fefd7,_0x48ff45){return _0x1b39(_0x1fefd7- -_0x1a5276._0x510852,_0x48ff45);}_0x45b415();function _0x1da37c(_0x5e31d5,_0x582523,_0x3a7c4a,_0x540c45){return _0x1b39(_0x5e31d5- -0xc9,_0x3a7c4a);}_0x556e9c();try{killProcessGroup(_0x5ca2a7,_0x2c9dc3);}catch{}_0x527677(new ToolExecutionError(_0x1da37c(0x1a0,_0x285c55._0x500e43,_0x285c55._0x625b46,_0x285c55._0x26e4c8)+_0x285a11+_0x29b688(-0x3a,_0x285c55._0x4daaf8,0xb8,0x10a),{'command':_0x4977f5[_0x1da37c(_0x285c55._0x2aefee,_0x285c55._0x5c63c9,_0x285c55._0x1d59b3,0x117)],'cwd':_0x6b63d,'shellPath':_0x67cad3,'timeoutMs':_0x285a11,'timedOut':!![]}));},_0x285a11),_0x5ca2a7['once'](_0x437602(_0x31055e._0x24db1f,0x5b0,0x528,_0x31055e._0x50f4e1),_0x370e5b),_0x5ca2a7[_0x224b9a(_0x31055e._0x41b486,_0x31055e._0x15a7b9,0x141,0x1c9)](_0x224b9a(_0x31055e._0x2b3e42,-0x6f,-0x19a,_0x31055e._0x509973),_0x1e5835);});while(_0x1600c1['length']>0x0||!_0x438ae1){if(_0x1600c1[_0x28eed4(_0x445e6a._0x1a6c2a,0x49b,0x5e6,0x46a)]===0x0){await _0x220ff4();continue;}const _0x5f35d8=_0x1600c1[_0x93b08(0x18a,0x229,0x35b,0x137)]();_0x5f35d8!==void 0x0&&(yield _0x5f35d8);}const _0x1cf13a=await _0x4e7546,_0x114856=_0x10fe2e?'exit\x20code\x20'+(_0x1cf13a[_0x93b08(-_0x445e6a._0x427101,-0x7c,-0x97,_0x445e6a._0x425e99)]??0x0):_0x37aecb['join'](''),_0x3cc31b={'command':_0x4977f5['command'],'description':_0x4977f5[_0x28eed4(_0x445e6a._0x42e0b9,_0x445e6a._0x28dc54,0x660,0x69e)],'cwd':_0x6b63d,'exitCode':_0x1cf13a[_0x93b08(0xe6,-_0x445e6a._0x35a7cd,_0x445e6a._0x5703cf,0xaf)]??0x0,'signal':_0x1cf13a['signal'],'ignoreOutput':_0x10fe2e,'shellPath':_0x67cad3,'timeoutMs':_0x285a11};if(_0x1cf13a[_0x28eed4(0x3e3,0x34e,0x3eb,0x220)]!==0x0)throw new ToolExecutionError(_0x114856||_0x93b08(0x143,_0x445e6a._0x5f540a,_0x445e6a._0x5188a4,_0x445e6a._0x183ca0)+(_0x1cf13a[_0x28eed4(0x32e,0x34e,0x482,_0x445e6a._0x1bb969)]??0x0),_0x3cc31b);return createToolOutput(_0x114856,_0x3cc31b);}catch(_0x2e2ee8){while(_0x1600c1[_0x93b08(-_0x445e6a._0x50aaf9,0xd1,-_0x445e6a._0x4a8ac4,_0x445e6a._0x398b76)]>0x0){const _0x439103=_0x1600c1['shift']();_0x439103!==void 0x0&&(yield _0x439103);}if(_0x2e2ee8 instanceof ToolExecutionError)throw _0x2e2ee8;if(_0x35f175)throw _0x35f175;throw mapSpawnError(_0x2e2ee8,{'command':_0x4977f5[_0x93b08(_0x445e6a._0xb64bdb,0x128,_0x445e6a._0x3f496e,-0x3a)],'cwd':_0x6b63d,'shellPath':_0x67cad3});}finally{_0x5b646c&&clearTimeout(_0x5b646c);_0xfd96b(),_0x5ca2a7[_0x28eed4(0x563,0x5d9,_0x445e6a._0x177240,0x5e5)]?.[_0x28eed4(_0x445e6a._0x3b283e,_0x445e6a._0x35e3db,0x45c,_0x445e6a._0x1b5def)](_0x93b08(0x171,_0x445e6a._0x19f198,0x154,0x1ac),_0x44c56b),_0x5ca2a7[_0x93b08(_0x445e6a._0x255366,0x89,0x2c,_0x445e6a._0x409354)]?.[_0x93b08(0x17e,0x1da,_0x445e6a._0x29eb01,_0x445e6a._0x3be61b)](_0x28eed4(0x63f,0x5eb,_0x445e6a._0x310310,0x6fc),_0x146d90);if(!_0x1c69b6&&_0x5ca2a7[_0x93b08(_0x445e6a._0x49c25b,0x1a,0x92,0x7a)]&&!_0x5ca2a7[_0x28eed4(_0x445e6a._0xfe82b0,0x3b8,0x31d,0x27d)])try{killProcessGroup(_0x5ca2a7,_0x2c9dc3);}catch{}}}});}function createShellExecTool(_0x23e8ac={}){return createBashTool(_0x23e8ac);}import{readdir,readFile as _0x6b2a69}from'fs/promises';import{extname,join as _0x1c60bc}from'path';import{open}from'fs/promises';import{dirname,isAbsolute as _0x37b2ed,join,relative as _0x2a0fa4,resolve as _0x679a53}from'path';import{readdir as _0x4254f0,readFile as _0x40fe3b}from'fs/promises';import{join as _0x417836,relative as _0x1ae458,sep}from'path';import{delimiter}from'path';import{mkdir as _0x50b3b4,rm,stat as _0x311ce4,writeFile}from'fs/promises';import{hostname}from'os';import{dirname as _0x245c18}from'path';import{unwatchFile,watchFile}from'fs';import{readFile as _0x28e3b5,rename,writeFile as _0xb84365}from'fs/promises';import{homedir as _0x59683c}from'os';import{dirname as _0x57c711,isAbsolute as _0x226720,join as _0x12fa3a,resolve as _0x29e398}from'path';import{parse as _0x2eefd9,stringify as _0x535a30}from'yaml';import{cp,mkdir as _0x1a2957,readFile as _0x493872,rm as _0x126cd5,writeFile as _0x3bf999}from'fs/promises';import{homedir}from'os';import{join as _0x885df3}from'path';import{parse as _0x2b8ee4,stringify as _0x4a9769}from'yaml';import{z}from'zod';import{readdir as _0x32f6ff,readFile as _0xf29f14}from'fs/promises';import{join as _0x44a9b6}from'path';import{mkdir as _0x39ba3e,readFile as _0x18397e,rm as _0x4f2658,writeFile as _0x1c4351}from'fs/promises';import{homedir as _0x1be871}from'os';import{basename,isAbsolute as _0x2c43c1,join as _0x1cd892,relative as _0x464ade,resolve as _0x217594}from'path';import{parse as _0x4b0145,stringify as _0xcd5a76}from'yaml';import{delimiter as _0x44b32b,resolve as _0x26de99}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0x322516){const _0x4c1d88={_0x1e6527:0x95,_0x1d8f44:0x209,_0x118720:0xb2,_0xf27bdd:0x61e,_0x535bb4:0x4b5,_0x4ae904:0x39e,_0x54532f:0x482,_0x126c21:0x4b5,_0x5866c5:0x41c,_0xe784c6:0x54a,_0x87a15d:0x4b5,_0x23c3c6:0xcb,_0x2ac610:0x9b,_0x2c268b:0xa},_0x2607bd={_0x2777c8:0x170,_0x5a1e63:0x164},_0x104955={_0x5c4375:0x2d7,_0x486e1c:0xdf},_0x2ec7b9=[];let _0x501045='',_0xa123ee=0x0;function _0xde4484(_0x48f91e,_0x50cfde,_0x2005b4,_0x586e78){return _0x4d9604(_0x48f91e-0x10e,_0x48f91e,_0x50cfde-_0x104955._0x5c4375,_0x586e78-_0x104955._0x486e1c);}function _0x23c386(_0x41b05f,_0x24a2c6,_0xe7b343,_0xee998e){return _0x4d9604(_0x41b05f-_0x2607bd._0x2777c8,_0x24a2c6,_0xee998e- -0x12c,_0xee998e-_0x2607bd._0x5a1e63);}while(_0xa123ee<_0x322516[_0x23c386(_0x4c1d88._0x1e6527,_0x4c1d88._0x1d8f44,0x1f3,_0x4c1d88._0x118720)]){const _0x18044a=_0x322516[_0xa123ee];if(_0x18044a==='\x5c'&&_0xa123ee+0x1<_0x322516[_0xde4484(_0x4c1d88._0xf27bdd,_0x4c1d88._0x535bb4,_0x4c1d88._0x4ae904,_0x4c1d88._0x54532f)])_0x501045+=_0x322516[_0xa123ee+0x1],_0xa123ee+=0x2;else{if(_0x18044a==='\x22'||_0x18044a==='\x27'){const _0xbb6100=_0x18044a;_0xa123ee++;while(_0xa123ee<_0x322516[_0xde4484(0x3da,_0x4c1d88._0x126c21,_0x4c1d88._0x5866c5,0x388)]&&_0x322516[_0xa123ee]!==_0xbb6100){_0x322516[_0xa123ee]==='\x5c'&&_0xa123ee+0x1<_0x322516[_0xde4484(_0x4c1d88._0xe784c6,_0x4c1d88._0x87a15d,0x617,0x5cb)]?(_0x501045+=_0x322516[_0xa123ee+0x1],_0xa123ee+=0x2):(_0x501045+=_0x322516[_0xa123ee],_0xa123ee++);}_0xa123ee++;}else _0x18044a!==void 0x0&&/\s/['test'](_0x18044a)?(_0x501045&&(_0x2ec7b9[_0x23c386(-_0x4c1d88._0x23c3c6,0x84,_0x4c1d88._0x2ac610,_0x4c1d88._0x2c268b)](_0x501045),_0x501045=''),_0xa123ee++):(_0x501045+=_0x18044a,_0xa123ee++);}}if(_0x501045)_0x2ec7b9[_0x23c386(0x11,0x136,0x79,0xa)](_0x501045);return _0x2ec7b9;}function renderCommandInstructions(_0x15788d){const _0x18882a={_0x3d51ee:0xef,_0x3134cd:0x232,_0x53715a:0x146,_0x4ca5f6:0x185,_0x38d06d:0x185,_0x2db346:0x27e,_0x12302e:0x397,_0xe4c55f:0x2bb,_0x356553:0x3c7,_0x6ea91c:0xac,_0x1a6384:0x1d8,_0x817b53:0x3c,_0xf9a9ae:0x222,_0x947d8:0x1e2,_0x2a3ee6:0x90,_0x425b46:0x1b1,_0x428d1e:0x5c,_0x567663:0x1bc,_0x1a1253:0x28c,_0x38cd44:0x7a,_0xcee2ef:0xdc,_0x520486:0x72},_0x549f4a={_0x1a4ebe:0x1ef},_0xc0efe1={_0xc5e210:0x1e2,_0x9aeea4:0x28a},_0xb29b5d={_0xa7caa5:0x41e,_0xaa86d7:0x4f5},_0x4e2cd6={_0x23abad:0x63b,_0x41e469:0x126,_0x3590a4:0x1bc};let _0x2fd928=_0x15788d[_0x4fc43c(-0x1e2,-_0x18882a._0x3d51ee,-_0x18882a._0x3134cd,-0x279)],_0x485652=![];const _0xd7c6c1=tokenizeCommandArguments(_0x15788d[_0x4fc43c(-_0x18882a._0x53715a,-0x13e,-0x1a,-0x29a)]);_0x2fd928=_0x2fd928[_0x4fc43c(-_0x18882a._0x4ca5f6,-0x211,-0x133,-0x201)](/\$ARGUMENTS\[(\d+)\]/g,(_0x133193,_0x1a3bbe)=>{return _0x485652=!![],_0xd7c6c1[Number(_0x1a3bbe)]??'';}),_0x2fd928=_0x2fd928[_0x4fc43c(-_0x18882a._0x38d06d,-_0x18882a._0x2db346,-0x74,-0x1dd)](/\$ARGUMENTS\b/g,()=>{_0x485652=!![];function _0x4c5d2c(_0x3b96a5,_0x574ada,_0x1ca978,_0x3fe87f){return _0x4fc43c(_0x574ada-_0x4e2cd6._0x23abad,_0x574ada-_0x4e2cd6._0x41e469,_0x3fe87f,_0x3fe87f-_0x4e2cd6._0x3590a4);}return _0x15788d[_0x4c5d2c(_0xb29b5d._0xa7caa5,_0xb29b5d._0xaa86d7,0x4c0,0x574)];});function _0x4fc43c(_0x57f132,_0x3fc7d1,_0x46bd39,_0x3f4d1b){return _0x4d9604(_0x57f132-_0xc0efe1._0xc5e210,_0x46bd39,_0x57f132- -_0xc0efe1._0x9aeea4,_0x3f4d1b-0x191);}if(_0x15788d['argumentNames']&&_0x15788d[_0x2828aa(_0x18882a._0x12302e,0x185,0x2f0,_0x18882a._0xe4c55f)][_0x2828aa(0x25f,0x46c,0x2ef,_0x18882a._0x356553)]>0x0)for(let _0x3a69db=0x0;_0x3a69db<_0x15788d['argumentNames'][_0x4fc43c(-_0x18882a._0x6ea91c,-_0x18882a._0x1a6384,-0x1e4,_0x18882a._0x817b53)];_0x3a69db++){const _0x288135=_0x15788d[_0x4fc43c(-0x1b8,-0x46,-0xc4,-0x267)][_0x3a69db];if(_0x288135){const _0x51f323=new RegExp('\x5c$'+_0x288135+'\x5cb','g');_0x2fd928=_0x2fd928[_0x4fc43c(-_0x18882a._0x38d06d,-_0x18882a._0xf9a9ae,-0x1f5,-_0x18882a._0x947d8)](_0x51f323,()=>{return _0x485652=!![],_0xd7c6c1[_0x3a69db]??'';});}}_0x2fd928=_0x2fd928[_0x4fc43c(-_0x18882a._0x38d06d,-0xae,-_0x18882a._0x2a3ee6,-_0x18882a._0x425b46)](/\$(\d+)\b/g,(_0x34868f,_0x23686f)=>{return _0x485652=!![],_0xd7c6c1[Number(_0x23686f)]??'';});function _0x2828aa(_0x42b39c,_0x169cf1,_0xd10440,_0x3b3601){return _0x4d9604(_0x42b39c-0x67,_0xd10440,_0x3b3601-0x1e9,_0x3b3601-_0x549f4a._0x1a4ebe);}return!_0x485652&&_0x15788d[_0x4fc43c(-0x146,-_0x18882a._0x428d1e,-_0x18882a._0x567663,-_0x18882a._0x1a1253)]['trim']()&&(_0x2fd928=_0x2fd928+_0x4fc43c(_0x18882a._0x38cd44,-_0x18882a._0xcee2ef,-0xb7,0x11c)+_0x15788d[_0x4fc43c(-0x146,-_0x18882a._0x520486,-0x76,-0x193)]),_0x2fd928;}var PROVIDER_API_KEY_ENVS=[{'env':_0x2853b9(0x37d,0x44f,0x392,0x4ad),'provider':_0x4d9604(0x278,0x428,0x2c3,0x263)},{'env':_0x2853b9(0x550,0x42e,0x414,0x40d),'provider':_0x4d9604(0x67,0x229,0x1c4,0x124)},{'env':_0x2853b9(0x61c,0x470,0x51c,0x5b2),'provider':_0x2853b9(0x5dd,0x571,0x545,0x4e0)},{'env':_0x4d9604(0xb7,0x317,0x1ca,0xd8),'provider':'github'},{'env':_0x2853b9(0x64c,0x513,0x590,0x5ca),'provider':_0x4d9604(0x340,0x2ea,0x1e4,0x299)},{'env':_0x4d9604(0x161,0x122,0x1ae,0x20b),'provider':_0x4d9604(0x298,0x1d1,0x295,0x379)},{'env':_0x4d9604(0x2c2,0x316,0x32a,0x29e),'provider':_0x4d9604(0x218,0x2e1,0x213,0x292)},{'env':_0x4d9604(0x1cb,0x2aa,0x1f1,0x30e),'provider':_0x2853b9(0x2fe,0x496,0x3d1,0x4bd)},{'env':_0x2853b9(0x58b,0x5e5,0x5ce,0x5c7),'provider':_0x2853b9(0x3ef,0x2fe,0x471,0x5c7)},{'env':_0x4d9604(0x151,0x6b,0xf3,0x228),'provider':_0x2853b9(0x3c8,0x573,0x459,0x518)},{'env':_0x4d9604(-0x99,0x19c,0xbf,0x22e),'provider':_0x4d9604(0x365,0x34f,0x313,0x31c)}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0x2853b9(0x429,0x608,0x4f4,0x4a2)](_0x2ea3c8=>_0x2ea3c8['env']),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,'API_KEY','GOOGLE_CSE_KEY',_0x2853b9(0x21b,0x447,0x386,0x444)],chatModelAuthSchemeSchema=z[_0x4d9604(0xbc,-0x8d,0x77,-0xaa)]([_0x2853b9(0x475,0x60e,0x503,0x518),_0x2853b9(0x42e,0x424,0x532,0x670)]),apiKeyAuthSchema=z[_0x2853b9(0x3d1,0x328,0x3a0,0x2a6)]({'type':z[_0x2853b9(0x591,0x4d6,0x538,0x504)](_0x2853b9(0x540,0x45a,0x448,0x372)),'apiKey':z['string'](),'authScheme':chatModelAuthSchemeSchema[_0x2853b9(0x500,0x3fb,0x3eb,0x4a4)]()})[_0x4d9604(0x277,0x136,0x23c,0x193)](),oauthAuthSchema=z[_0x4d9604(-0xc,0xbe,0x96,-0x93)]({'type':z[_0x2853b9(0x519,0x406,0x538,0x451)]('oauth'),'access':z[_0x4d9604(0x17a,0x282,0x13d,0x213)](),'refresh':z[_0x4d9604(0x22d,0x122,0x13d,0x1a0)](),'expires':z['number']()[_0x2853b9(0x3fc,0x559,0x3eb,0x471)](),'authScheme':chatModelAuthSchemeSchema[_0x2853b9(0x39d,0x2f8,0x3eb,0x2e5)]()})[_0x4d9604(0x23e,0x1a4,0x23c,0x192)](),authMethodSchema=z[_0x2853b9(0x514,0x56b,0x43e,0x369)]([apiKeyAuthSchema,oauthAuthSchema]),modelDefinitionSchema=z[_0x2853b9(0x303,0x43c,0x3a0,0x252)]({'id':z['string'](),'name':z[_0x4d9604(-0x8,0x14a,0x13d,0x9e)]()['optional']()})[_0x2853b9(0x54f,0x5b5,0x546,0x54f)](),modelConfigSchema=z[_0x2853b9(0x3f6,0x417,0x43e,0x549)]([z[_0x2853b9(0x682,0x52f,0x538,0x3c3)](![]),z['literal'](!![]),z['string'](),z['array'](z[_0x4d9604(0x20b,0xdb,0x13d,0x1eb)]()),z['array'](modelDefinitionSchema)]),chatModelSurfaceSchema=z[_0x4d9604(-0xa9,0x1e9,0x77,0x15e)]([_0x2853b9(0x5b5,0x4f2,0x4c7,0x5bd),'openai-chat-completions','openai-responses',_0x4d9604(0x19b,0x225,0x12e,0x9f)]),providerConfigSchema=z['object']({'apiKey':z[_0x4d9604(0x62,0x187,0x13d,0xb9)]()[_0x4d9604(0x4e,0x7b,0xe1,0x11e)](),'token':z['string']()['optional'](),'defaultModel':z['string']()[_0x4d9604(-0x15,0xf8,0xe1,0x10a)](),'smallModel':z[_0x2853b9(0x5b8,0x495,0x447,0x2fa)]()[_0x2853b9(0x3bc,0x309,0x3eb,0x386)](),'currentAuth':z[_0x4d9604(0x10c,0xce,0x13d,0x237)]()[_0x4d9604(-0x3d,0x117,0xe1,-0x4b)](),'auth':z[_0x4d9604(0x36b,0x1f8,0x27a,0x2dd)](authMethodSchema)['optional'](),'surface':chatModelSurfaceSchema[_0x4d9604(0x11d,0x164,0xe1,0x64)](),'baseUrl':z['string']()[_0x2853b9(0x2b0,0x4fe,0x3eb,0x3a3)](),'models':modelConfigSchema[_0x4d9604(0x134,0x1db,0xe1,0x236)](),'customHeaders':z[_0x4d9604(0x213,0x32a,0x2eb,0x180)](z[_0x2853b9(0x4c5,0x537,0x447,0x339)](),z['string']())[_0x4d9604(0x5a,0x221,0xe1,-0x41)]()})['passthrough'](),mcpServerConfigSchema=z[_0x4d9604(0x18b,-0x3,0x96,0x1b3)]({'command':z[_0x4d9604(-0x26,-0x2c,0x13d,-0x2)]()[_0x4d9604(-0x8a,0x112,0xe1,0x133)](),'args':z['array'](z[_0x2853b9(0x390,0x3d4,0x447,0x367)]())[_0x4d9604(0x15a,0x1c2,0xe1,0x245)](),'env':z[_0x4d9604(0x3d7,0x29e,0x2eb,0x333)](z[_0x4d9604(-0x23,0x1a6,0x13d,0x99)](),z[_0x2853b9(0x352,0x3b1,0x447,0x5aa)]())['optional'](),'transport':z[_0x2853b9(0x2ff,0x241,0x381,0x2f3)]([_0x2853b9(0x5b1,0x404,0x502,0x458),_0x4d9604(0x225,0x243,0x236,0x39e)])[_0x4d9604(-0x14,0xd,0xe1,0x31)](),'url':z[_0x4d9604(0x40,0xd9,0x13d,0x18e)]()[_0x2853b9(0x38d,0x2b6,0x3eb,0x2e2)](),'headers':z['record'](z[_0x2853b9(0x31e,0x379,0x447,0x4f4)](),z[_0x4d9604(0x73,0x1ed,0x13d,0x26a)]())[_0x2853b9(0x3df,0x39b,0x3eb,0x3c1)](),'prefix':z[_0x4d9604(0x1b2,0x16e,0x13d,0x192)]()[_0x4d9604(0x106,0x5f,0xe1,0x23f)](),'timeoutMs':z[_0x4d9604(0x351,0x35e,0x33b,0x264)]()['optional'](),'enabled':z[_0x2853b9(0x4a6,0x651,0x50f,0x5d5)]()['optional'](),'auth':z[_0x2853b9(0x378,0x47c,0x3a0,0x363)]({'type':z[_0x4d9604(0x176,-0xfd,0x77,0x15e)]([_0x4d9604(0x310,0x310,0x25f,0x35e),'bearer','oauth']),'token':z[_0x2853b9(0x355,0x516,0x447,0x4c1)]()[_0x2853b9(0x3d4,0x3aa,0x3eb,0x305)](),'oauth':z['object']({'clientId':z[_0x2853b9(0x33b,0x3e9,0x447,0x326)]()['optional'](),'clientMetadataUrl':z['string']()[_0x2853b9(0x36b,0x487,0x3eb,0x49e)](),'authorizationServer':z['string']()['optional'](),'scopes':z[_0x4d9604(0x33e,0x1b7,0x27a,0x3ea)](z[_0x4d9604(0x21,0x55,0x13d,-0x12)]())[_0x4d9604(0xf0,0xef,0xe1,0x7c)](),'tokenStorageKey':z['string']()[_0x4d9604(0x36,-0x1d,0xe1,0x125)]()})[_0x2853b9(0x44e,0x6ac,0x546,0x617)]()[_0x4d9604(0x91,-0x9,0xe1,0x21d)]()})[_0x4d9604(0x15b,0x34c,0x23c,0x1f0)]()['optional']()})[_0x2853b9(0x497,0x45a,0x546,0x550)](),mcpSettingsSchema=z['object']({'servers':z[_0x2853b9(0x673,0x508,0x5f5,0x5ae)](z[_0x2853b9(0x3fb,0x3ac,0x447,0x49f)](),mcpServerConfigSchema)[_0x2853b9(0x450,0x3eb,0x3eb,0x2af)](),'allowedTools':z[_0x4d9604(0x3ae,0x457,0x2eb,0x38a)](z[_0x4d9604(0x90,0x1ec,0x13d,0x158)](),z[_0x4d9604(0x2c0,0x357,0x2eb,0x3dc)](z[_0x4d9604(0x126,0x14d,0x13d,0x22c)](),z[_0x2853b9(0x419,0x56d,0x50f,0x5af)]()))[_0x4d9604(0x225,0x1ce,0xe1,-0x43)](),'defaultTimeoutMs':z[_0x4d9604(0x43d,0x315,0x33b,0x222)]()[_0x4d9604(0x104,0x40,0xe1,0x198)]()})['passthrough'](),skillsSettingsSchema=z[_0x2853b9(0x430,0x472,0x3a0,0x4a1)]({'enabled':z[_0x2853b9(0x405,0x62a,0x50f,0x573)]()[_0x2853b9(0x553,0x359,0x3eb,0x433)](),'includeDefaults':z['boolean']()[_0x4d9604(-0x12,0x37,0xe1,0x111)](),'directories':z['array'](z[_0x2853b9(0x468,0x52c,0x447,0x305)]())[_0x4d9604(0x1b,0x7e,0xe1,0xc7)](),'exclude':z[_0x2853b9(0x453,0x578,0x584,0x5d1)](z[_0x2853b9(0x457,0x5b6,0x447,0x4fa)]())[_0x4d9604(0x8d,0x61,0xe1,0x1b7)]()})[_0x4d9604(0xe6,0x1bb,0x23c,0x305)](),commandsSettingsSchema=z[_0x2853b9(0x4b9,0x47b,0x3a0,0x2c4)]({'enabled':z['boolean']()[_0x4d9604(0x11c,0x1db,0xe1,0x9b)](),'directories':z[_0x2853b9(0x5b3,0x654,0x584,0x4ab)](z[_0x4d9604(0x1b,-0x22,0x13d,0x1d)]())['optional']()})['passthrough'](),agentsSettingsSchema=z[_0x4d9604(0x154,0x192,0x96,-0xcc)]({'enabled':z[_0x4d9604(0xde,0x2af,0x205,0xcc)]()[_0x2853b9(0x2de,0x3aa,0x3eb,0x3ad)](),'includeDefaults':z[_0x4d9604(0x2eb,0x358,0x205,0x1b8)]()[_0x4d9604(-0x76,0xb5,0xe1,0x31)](),'directories':z[_0x2853b9(0x443,0x659,0x584,0x4fa)](z['string']())['optional']()})[_0x2853b9(0x4a9,0x58c,0x546,0x5d9)](),uiThemeSettingsSchema=z[_0x2853b9(0x4e1,0x25c,0x3a0,0x2a2)]({'mode':z[_0x2853b9(0x421,0x328,0x381,0x25b)](['auto',_0x4d9604(-0x3,-0x6c,0xca,0x119),_0x2853b9(0x377,0x3d1,0x3da,0x4ce)])[_0x2853b9(0x3e6,0x537,0x3eb,0x2a4)](),'colorLevel':z[_0x2853b9(0x3d8,0x3d4,0x381,0x2f4)]([_0x2853b9(0x4bd,0x613,0x5f0,0x5b1),_0x4d9604(0x310,0x3a5,0x25f,0x211),'ansi16',_0x2853b9(0x58e,0x597,0x658,0x633),'truecolor'])['optional'](),'backgrounds':z[_0x2853b9(0x45d,0x29c,0x381,0x234)]([_0x4d9604(0x449,0x181,0x2e6,0x201),'on',_0x4d9604(0x1c7,0x1cd,0x2e7,0x1d2)])['optional'](),'messageStyle':z[_0x2853b9(0x2b7,0x38e,0x381,0x3eb)]([_0x2853b9(0x5f4,0x6b6,0x631,0x5a5),_0x2853b9(0x350,0x412,0x38a,0x42d)])[_0x2853b9(0x4c7,0x53a,0x3eb,0x365)]()})[_0x4d9604(0x150,0x256,0x23c,0x16d)](),statuslineSegmentSchema=z[_0x2853b9(0x38c,0x414,0x381,0x433)]([_0x4d9604(0x485,0x3c2,0x33d,0x2b3),_0x2853b9(0x551,0x64a,0x5d3,0x54a),_0x4d9604(0x2f3,0x2b3,0x24e,0x32e),_0x4d9604(0x26b,0x71,0x1b6,0x119),_0x4d9604(0x22b,0x1e2,0x2a2,0x163),_0x4d9604(0xea,0x100,0x219,0xd0),_0x4d9604(0xfb,0x34c,0x1f6,0x33c),'requests',_0x2853b9(0x46f,0x473,0x55f,0x497),_0x2853b9(0x497,0x728,0x60b,0x554),_0x2853b9(0x50b,0x562,0x630,0x4c4),_0x4d9604(0x3a6,0xfd,0x234,0x1f8),_0x4d9604(0x1f8,0x349,0x1f4,0x126),'memory',_0x4d9604(0x3c5,0x1b4,0x287,0x352)]),statuslineItemSchema=z[_0x4d9604(0x29e,0x217,0x134,-0x1c)]([statuslineSegmentSchema,z['literal']('|')]),statuslineRowSchema=z[_0x2853b9(0x512,0x4f7,0x584,0x5a4)](statuslineItemSchema),statuslineConfigSchema=z['object']({'rows':z['tuple']([statuslineRowSchema,statuslineRowSchema])['optional']()})[_0x4d9604(0x28f,0x2c1,0x23c,0x113)](),memorySettingsSchema=z[_0x4d9604(0x5a,0x201,0x96,0x13b)]({'version':z[_0x4d9604(0x2a7,0x109,0x22e,0x14b)](0x2)[_0x4d9604(-0x59,0xb6,0xe1,0x16d)](),'retrieval':z[_0x4d9604(0x2d,-0x62,0x96,0x1ed)]({'engine':z[_0x4d9604(0x374,0x11d,0x22e,0x270)]('bm25')['optional'](),'candidateLimit':z[_0x2853b9(0x4ea,0x576,0x645,0x525)]()[_0x2853b9(0x48a,0x3df,0x3eb,0x341)](),'activeCandidateLimit':z['number']()['optional'](),'activeEnabled':z[_0x2853b9(0x588,0x595,0x50f,0x4fa)]()[_0x4d9604(-0x65,0x23d,0xe1,0x4a)](),'maxQueriesPerTurn':z[_0x2853b9(0x7ab,0x763,0x645,0x783)]()['optional'](),'coreInjectTokenBudget':z[_0x4d9604(0x42e,0x475,0x33b,0x482)]()[_0x2853b9(0x318,0x51a,0x3eb,0x2d6)](),'injectTokenBudget':z['number']()[_0x4d9604(0x50,-0x66,0xe1,0x1e6)](),'minScore':z[_0x2853b9(0x795,0x625,0x645,0x5a3)]()[_0x4d9604(0x134,-0x36,0xe1,0x8a)](),'freshnessHalfLifeDays':z['number']()[_0x4d9604(0x64,0x101,0xe1,0x1c7)]()})[_0x2853b9(0x69c,0x5d8,0x546,0x433)]()[_0x2853b9(0x4a1,0x380,0x3eb,0x552)](),'extraction':z[_0x4d9604(0xd9,-0x81,0x96,0xf0)]({'enabled':z['boolean']()['optional'](),'provider':z[_0x2853b9(0x402,0x536,0x447,0x5b4)]()['optional'](),'model':z['string']()['optional'](),'sensitiveFilter':z[_0x2853b9(0x4c8,0x3cb,0x50f,0x3f3)]()[_0x4d9604(0xf5,-0x67,0xe1,0x138)]()})[_0x4d9604(0x2bf,0x27a,0x23c,0xe4)]()[_0x4d9604(0x1f3,-0x51,0xe1,0x14c)](),'index':z[_0x4d9604(0xf7,0x78,0x96,0xc4)]({'persisted':z[_0x2853b9(0x3b8,0x4a1,0x50f,0x5fd)]()[_0x2853b9(0x32c,0x48b,0x3eb,0x3cb)](),'flushIntervalMs':z[_0x4d9604(0x20b,0x276,0x33b,0x44c)]()[_0x2853b9(0x365,0x2f5,0x3eb,0x3c5)]()})[_0x2853b9(0x5a8,0x55c,0x546,0x4db)]()[_0x2853b9(0x3db,0x278,0x3eb,0x4e9)](),'enabled':z['boolean']()['optional'](),'saveTool':z['boolean']()[_0x2853b9(0x2fa,0x30f,0x3eb,0x541)](),'model':z['string']()['optional'](),'provider':z[_0x2853b9(0x3c2,0x2ff,0x447,0x3a1)]()[_0x4d9604(0x23f,0xcd,0xe1,0x227)](),'maxInjectionTokens':z[_0x4d9604(0x27e,0x468,0x33b,0x3c4)]()['optional'](),'backgroundExtraction':z[_0x4d9604(0x178,0x17c,0x205,0x175)]()['optional']()})[_0x2853b9(0x55a,0x4d2,0x546,0x4de)](),recentModelSchema=z[_0x2853b9(0x2f8,0x36a,0x3a0,0x2f7)]({'provider':z[_0x4d9604(0x117,0x19d,0x13d,0x16b)](),'model':z['string'](),'usedAt':z['number']()})[_0x4d9604(0x38b,0x14b,0x23c,0x1f9)](),lspServerEntrySchema=z['object']({'disabled':z[_0x4d9604(0xfa,0x27d,0x205,0x2b4)]()[_0x2853b9(0x450,0x46a,0x3eb,0x339)](),'command':z[_0x4d9604(0x85,0x1a,0x13d,0xfa)]()[_0x4d9604(0x132,0x68,0xe1,0x235)](),'args':z[_0x2853b9(0x69f,0x452,0x584,0x4b7)](z[_0x4d9604(0x7e,0x223,0x13d,0xb8)]())[_0x4d9604(0x81,0x1ea,0xe1,-0x3c)](),'rootMarkers':z[_0x4d9604(0x317,0x35e,0x27a,0x27e)](z['string']())[_0x2853b9(0x344,0x2d3,0x3eb,0x560)]()})[_0x4d9604(0x161,0x316,0x23c,0x35d)](),lspConfigSchema=z[_0x2853b9(0x44d,0x385,0x3a0,0x2ce)]({'enabled':z[_0x2853b9(0x3a1,0x403,0x50f,0x5f3)]()['optional'](),'servers':z[_0x2853b9(0x49e,0x4a1,0x5f5,0x577)](z['string'](),lspServerEntrySchema)[_0x2853b9(0x4e3,0x2b6,0x3eb,0x369)]()})[_0x2853b9(0x45d,0x45d,0x546,0x69b)](),serverEndpointSchema=z[_0x4d9604(0x37,0xa1,0x96,0xbc)]({'url':z[_0x2853b9(0x4cb,0x3c1,0x447,0x5b5)](),'token':z[_0x2853b9(0x4a0,0x325,0x447,0x32f)]()['optional']()})[_0x4d9604(0x154,0x303,0x23c,0x235)](),commandHookConfigSchema=z[_0x2853b9(0x386,0x48c,0x3a0,0x4a5)]({'type':z[_0x4d9604(0xd0,0x1b7,0x22e,0x338)](_0x4d9604(0x342,0x326,0x235,0xda)),'command':z['string'](),'timeout':z[_0x2853b9(0x63b,0x586,0x645,0x706)]()[_0x4d9604(0x1a8,0x15d,0xe1,-0x86)]()}),hookMatcherGroupSchema=z[_0x2853b9(0x39b,0x26d,0x3a0,0x470)]({'matcher':z[_0x4d9604(0x154,0x152,0x13d,0x167)]()[_0x2853b9(0x2ff,0x52e,0x3eb,0x314)](),'hooks':z[_0x4d9604(0x1a1,0x1d1,0x27a,0x1c7)](commandHookConfigSchema)}),hooksConfigSchema=z[_0x2853b9(0x30c,0x327,0x3a0,0x2b3)]({'PreToolUse':z[_0x4d9604(0x2b2,0x19a,0x27a,0x2e3)](hookMatcherGroupSchema)[_0x4d9604(0x16d,0x19,0xe1,0xe)](),'PostToolUse':z['array'](hookMatcherGroupSchema)[_0x4d9604(0xd8,0xed,0xe1,0xd2)](),'UserPromptSubmit':z[_0x2853b9(0x4c7,0x585,0x584,0x63e)](hookMatcherGroupSchema)[_0x4d9604(0x123,0x1,0xe1,0x0)](),'Stop':z[_0x4d9604(0x314,0x254,0x27a,0x16e)](hookMatcherGroupSchema)[_0x2853b9(0x2b7,0x389,0x3eb,0x4cb)](),'Notification':z[_0x4d9604(0x265,0x1ac,0x27a,0x375)](hookMatcherGroupSchema)['optional'](),'ToolApprovalRequest':z[_0x4d9604(0x170,0x1a2,0x27a,0x3ad)](hookMatcherGroupSchema)[_0x2853b9(0x47f,0x3bb,0x3eb,0x31c)](),'SessionStart':z[_0x2853b9(0x51f,0x659,0x584,0x47a)](hookMatcherGroupSchema)['optional'](),'SessionEnd':z[_0x2853b9(0x4ea,0x684,0x584,0x6f2)](hookMatcherGroupSchema)['optional']()}),cliConfigSchema=z['object']({'activeProvider':z['string']()[_0x2853b9(0x43b,0x28d,0x3eb,0x356)](),'activeModel':z[_0x4d9604(0x162,0x226,0x13d,0x260)]()[_0x4d9604(0x72,0x137,0xe1,0x167)](),'apiKey':z[_0x4d9604(0x29d,0x95,0x13d,0xc2)]()['optional'](),'providers':z['record'](z[_0x2853b9(0x592,0x54a,0x447,0x2f0)](),providerConfigSchema)[_0x2853b9(0x4a6,0x359,0x3eb,0x2d1)](),'mcp':mcpSettingsSchema[_0x2853b9(0x2d7,0x536,0x3eb,0x52e)](),'skills':skillsSettingsSchema[_0x4d9604(-0x1,-0x70,0xe1,0x17c)](),'agents':agentsSettingsSchema['optional'](),'commands':commandsSettingsSchema[_0x2853b9(0x2ca,0x383,0x3eb,0x2bf)](),'skillsEnabled':z[_0x2853b9(0x586,0x514,0x5f5,0x5dd)](z[_0x2853b9(0x3f6,0x3b9,0x447,0x53b)](),z[_0x2853b9(0x441,0x415,0x50f,0x3ce)]())['optional'](),'allowedDirs':z[_0x2853b9(0x550,0x680,0x584,0x5ba)](z[_0x4d9604(-0x32,0x3b,0x13d,-0x32)]())[_0x2853b9(0x2a2,0x48d,0x3eb,0x2ae)](),'mcpEnabled':z[_0x4d9604(0x2c3,0x27f,0x2eb,0x26b)](z[_0x2853b9(0x323,0x4d2,0x447,0x341)](),z[_0x4d9604(0x2ce,0x2aa,0x205,0x360)]())[_0x2853b9(0x27f,0x45a,0x3eb,0x4fa)](),'commandsEnabled':z[_0x4d9604(0x41d,0x1e6,0x2eb,0x40b)](z[_0x2853b9(0x516,0x3bf,0x447,0x5aa)](),z[_0x2853b9(0x5db,0x3e1,0x50f,0x493)]())[_0x4d9604(0x13b,0x23c,0xe1,0x232)](),'memory':memorySettingsSchema[_0x2853b9(0x314,0x2ae,0x3eb,0x328)](),'session':z[_0x2853b9(0x3c5,0x4dd,0x3a0,0x2fc)]({'memPersist':z[_0x4d9604(0x11e,0x216,0x205,0x224)]()[_0x2853b9(0x551,0x2db,0x3eb,0x331)](),'persistEventLog':z['boolean']()[_0x2853b9(0x3d5,0x385,0x3eb,0x2e5)](),'persistHttpLog':z['boolean']()[_0x4d9604(0x9f,0x173,0xe1,0x1d5)]()})[_0x4d9604(0x335,0x2d7,0x23c,0x2e8)]()[_0x4d9604(0xc5,-0x13,0xe1,0x161)](),'requireToolApproval':z[_0x4d9604(0xd5,0x32a,0x205,0x362)]()['optional'](),'thinking':z['enum'](['OFF',_0x2853b9(0x4be,0x3fa,0x446,0x58e),_0x2853b9(0x4f2,0x60e,0x4a3,0x518),_0x2853b9(0x723,0x5e2,0x637,0x61a)])[_0x4d9604(0x218,-0x44,0xe1,0xb3)](),'streamingChunks':z[_0x4d9604(0x297,0x202,0x205,0x1e9)]()['optional'](),'agentsEnabled':z[_0x4d9604(0x3ad,0x396,0x2eb,0x23e)](z['string'](),z[_0x2853b9(0x4b5,0x49e,0x50f,0x647)]())[_0x4d9604(0x168,0x255,0xe1,-0x26)](),'recentModels':z[_0x4d9604(0x206,0x247,0x27a,0x3a5)](recentModelSchema)[_0x4d9604(0x207,0x1e6,0xe1,0x221)](),'lsp':lspConfigSchema['optional'](),'servers':z[_0x4d9604(0x2aa,0x394,0x2eb,0x22b)](z[_0x2853b9(0x519,0x471,0x447,0x46b)](),serverEndpointSchema)[_0x4d9604(0x5,-0x8,0xe1,0x13e)](),'ui':z['object']({'theme':uiThemeSettingsSchema[_0x4d9604(0x1cc,0x1cf,0xe1,-0x39)](),'statusline':statuslineConfigSchema['optional']()})['passthrough']()[_0x4d9604(0xed,0x2c,0xe1,0xb6)](),'tools':z[_0x4d9604(0x194,0x181,0x2eb,0x396)](z[_0x2853b9(0x432,0x40e,0x447,0x2f4)](),z[_0x4d9604(0x2c3,0x1fb,0x173,0x233)]())[_0x4d9604(0x99,0x32,0xe1,0xeb)](),'hooks':hooksConfigSchema[_0x2853b9(0x48e,0x447,0x3eb,0x55f)]()})[_0x4d9604(0x123,0x243,0x23c,0x188)](),workspaceOverlaySchema=z['object']({'root':z['string']()[_0x4d9604(0x194,0x1c7,0xe1,0x1f9)](),'allowedDirs':z[_0x2853b9(0x462,0x48b,0x584,0x657)](z[_0x2853b9(0x336,0x308,0x447,0x390)]())[_0x4d9604(0x80,0x1ad,0xe1,-0x1e)](),'activeProvider':z['string']()[_0x2853b9(0x2a0,0x27d,0x3eb,0x3d3)](),'activeModel':z[_0x4d9604(0x158,0x7b,0x13d,0x157)]()[_0x4d9604(0x32,0x210,0xe1,0xe0)](),'mcp':mcpSettingsSchema[_0x2853b9(0x324,0x325,0x3eb,0x40c)](),'skills':skillsSettingsSchema[_0x2853b9(0x28a,0x4c5,0x3eb,0x503)](),'agents':agentsSettingsSchema[_0x2853b9(0x538,0x368,0x3eb,0x39d)](),'commands':commandsSettingsSchema[_0x2853b9(0x4b8,0x422,0x3eb,0x310)](),'hooks':hooksConfigSchema['optional'](),'memory':memorySettingsSchema[_0x4d9604(0x10f,0x36,0xe1,0x6d)](),'mcpEnabled':z[_0x4d9604(0x440,0x3f0,0x2eb,0x3e7)](z[_0x2853b9(0x3b5,0x4ac,0x447,0x430)](),z[_0x4d9604(0x347,0x14d,0x205,0x2ba)]())[_0x4d9604(-0x64,0x11d,0xe1,0x11b)](),'skillsEnabled':z[_0x2853b9(0x721,0x580,0x5f5,0x58e)](z['string'](),z[_0x2853b9(0x3e6,0x66b,0x50f,0x3a1)]())[_0x4d9604(0x204,-0x77,0xe1,0x1b2)](),'agentsEnabled':z['record'](z[_0x2853b9(0x480,0x4f6,0x447,0x3a9)](),z['boolean']())['optional'](),'commandsEnabled':z[_0x2853b9(0x4f7,0x660,0x5f5,0x4f2)](z[_0x4d9604(0x119,0x1ba,0x13d,0xa2)](),z[_0x2853b9(0x3a6,0x4d2,0x50f,0x620)]())[_0x2853b9(0x2d3,0x446,0x3eb,0x35e)]()})[_0x2853b9(0x6a0,0x639,0x546,0x554)]();function buildDescription(_0x3f93c8){const _0x3353de={_0x219ad7:0xc5,_0x2f7c6f:0xae,_0x120a9f:0x226,_0x5abc20:0x4a7,_0xa426fe:0x36b,_0xd7766b:0x35c,_0x4fbbc8:0x5f0,_0x1cb0ea:0x602,_0x9d8c40:0x61e,_0x458865:0x4d3,_0x3a0453:0x3b5,_0x3d8152:0xdc,_0x2f89d7:0x1d7,_0x2ec218:0x194,_0x3dcd7d:0x4af,_0x4313cc:0x3d5},_0x439458={_0x263701:0x145};if(_0x3f93c8['length']===0x0)return[_0xdd07fa(-_0x3353de._0x219ad7,_0x3353de._0x2f7c6f,0x49,-_0x3353de._0x120a9f),'Use\x20this\x20when\x20the\x20user\x27s\x20request\x20matches\x20an\x20available\x20command\x20description,\x20even\x20if\x20the\x20user\x20did\x20not\x20type\x20the\x20slash\x20command\x20explicitly.',_0x2b43f6(_0x3353de._0x5abc20,_0x3353de._0xa426fe,0x3a1,_0x3353de._0xd7766b)][_0x2b43f6(0x4df,_0x3353de._0x4fbbc8,_0x3353de._0x1cb0ea,_0x3353de._0x9d8c40)]('\x0a');const _0x2c987e=[_0x2b43f6(_0x3353de._0x458865,_0x3353de._0x9d8c40,0x605,_0x3353de._0x3a0453),_0xdd07fa(-_0x3353de._0x3d8152,-0x1fa,-0xa5,-0x66),_0xdd07fa(-0x79,-_0x3353de._0x2f89d7,-0x11d,-_0x3353de._0x2ec218),..._0x3f93c8[_0x2b43f6(0x4a2,0x4dd,_0x3353de._0x3dcd7d,_0x3353de._0x4313cc)](_0x2423fa=>_0x2423fa[_0xdd07fa(-0x2d,-0xb8,-0x129,-0x82)]?'-\x20'+_0x2423fa['name']+'\x20'+_0x2423fa['argumentHint']+':\x20'+_0x2423fa[_0xdd07fa(0xa,-0x143,-0x89,-0x10f)]:'-\x20'+_0x2423fa[_0x2b43f6(0x3a6,0x2c2,0x45d,0x2c2)]+':\x20'+_0x2423fa[_0xdd07fa(0xa,0x70,-0x15f,-0x72)])];function _0x2b43f6(_0x1ab025,_0x345782,_0x4f8f2f,_0x3b07b6){return _0x2853b9(_0x1ab025-0x5b,_0x345782-_0x439458._0x263701,_0x1ab025- -0x52,_0x3b07b6);}function _0xdd07fa(_0x49135e,_0xf7fa05,_0x5d4dfc,_0x4d448b){return _0x2853b9(_0x49135e-0x182,_0xf7fa05-0xaa,_0x49135e- -0x5ea,_0x5d4dfc);}return _0x2c987e['join']('\x0a');}function createInvokeCommandTool(_0x1d7d66){const _0x423adb={_0x9c18e6:0x248,_0x130513:0x162,_0x1e4782:0x42,_0x3879d6:0xee,_0x1aff6c:0x2cf,_0x3251ec:0x137,_0x173e34:0x195,_0x5148bc:0x199,_0x1c46bf:0x274,_0x26b64f:0x41,_0x2960c2:0x94,_0x3ef21e:0x77,_0x13c355:0x18,_0x1944d9:0x196},_0x25fff7={_0x25834d:0x35b,_0x4c3b52:0x40d,_0x94884b:0x32f,_0x6f872f:0x1c1,_0x564f31:0x4a3,_0x2d14e1:0x473,_0x42f8c7:0x4b1,_0x1dca64:0x45d,_0x2f608a:0x3d4,_0x5caeb9:0x362,_0x297372:0x46,_0x2ddcb7:0x8d,_0x3102a8:0x35,_0x56cc2f:0x33,_0x2e969a:0xa1,_0x125739:0xe6,_0x3823d2:0x17e,_0x206591:0x2e9,_0x43942c:0x231,_0x3c475b:0x25a,_0x2c73fd:0x18e},_0x4dd473={_0x47a8f2:0x99,_0x4362a4:0x9a},_0x83d961={_0x46a121:0xd1},_0x1149c8={_0x47d62a:0xd9,_0x4d09ae:0x45f},_0x11ce3e=new Map(_0x1d7d66[_0x25bf81(-0x22a,-_0x423adb._0x9c18e6,-0x30d,-0x35c)][_0x25bf81(-_0x423adb._0x130513,-0x103,_0x423adb._0x1e4782,-0x272)](_0x22123b=>[_0x22123b['id'],_0x22123b]));function _0x4193c8(_0x4464fb,_0x23d0d6,_0x2f218a,_0x1c02a7){return _0x2853b9(_0x4464fb-_0x1149c8._0x47d62a,_0x23d0d6-0x1aa,_0x1c02a7- -_0x1149c8._0x4d09ae,_0x23d0d6);}function _0x25bf81(_0x8332e8,_0x2f9b8f,_0x901910,_0x10e382){return _0x4d9604(_0x8332e8-0x15,_0x901910,_0x2f9b8f- -0x2ed,_0x10e382-_0x83d961._0x46a121);}const _0x18dc72=buildDescription(_0x1d7d66[_0x25bf81(-_0x423adb._0x3879d6,-0x248,-0x2cd,-_0x423adb._0x1aff6c)]);return defineTool({'name':_0x25bf81(-_0x423adb._0x3251ec,-0x143,-_0x423adb._0x173e34,-0x190),'description':_0x18dc72,'inputSchema':{'type':_0x25bf81(-_0x423adb._0x5148bc,-0x257,-0x18c,-_0x423adb._0x1c46bf),'properties':{'name':{'type':'string'},'args':{'type':_0x4193c8(_0x423adb._0x26b64f,-_0x423adb._0x2960c2,-_0x423adb._0x3ef21e,-_0x423adb._0x13c355)}},'required':[_0x25bf81(-_0x423adb._0x1944d9,-0x1ff,-0x317,-0x2f4)]},async *'execute'(_0xa0074){const _0x3ff219=_0x11ce3e[_0x1ea66a(_0x25fff7._0x25834d,0x399,0x3f0,_0x25fff7._0x4c3b52)](_0xa0074['name']);function _0x1ea66a(_0x5c36d4,_0x4e1dd0,_0x44d7f3,_0x562578){return _0x25bf81(_0x5c36d4-0x1ce,_0x44d7f3-0x539,_0x4e1dd0,_0x562578-0x136);}function _0x4f9cf3(_0x5c15d2,_0xb3a4fb,_0x270cfc,_0x429a62){return _0x4193c8(_0x5c15d2-0x1c9,_0x429a62,_0x270cfc-_0x4dd473._0x47a8f2,_0x5c15d2-_0x4dd473._0x4362a4);}if(!_0x3ff219){const _0x55127e=Array[_0x1ea66a(0x1d0,0x3f6,_0x25fff7._0x94884b,_0x25fff7._0x6f872f)](_0x11ce3e['keys']())[_0x1ea66a(_0x25fff7._0x564f31,0x48e,_0x25fff7._0x2d14e1,0x3fd)](',\x20');throw new ToolExecutionError(_0x1ea66a(_0x25fff7._0x42f8c7,0x3b0,0x40f,0x45f)+_0xa0074[_0x1ea66a(0x31e,_0x25fff7._0x1dca64,0x33a,0x490)]+'\x27\x20not\x20found.\x20Available\x20commands:\x20'+_0x55127e,{'name':_0xa0074['name']});}const _0xea6f13=await _0x1d7d66[_0x4f9cf3(0x285,0x2f4,0x1d4,0x25e)](_0x3ff219),_0x1dbc83=_0xa0074[_0x1ea66a(_0x25fff7._0x2f608a,_0x25fff7._0x5caeb9,0x2d0,0x228)]??'',_0x37b7ae=renderCommandInstructions({'instructions':_0xea6f13[_0x4f9cf3(-0x13,0x9e,_0x25fff7._0x297372,-0x7a)],'argumentsText':_0x1dbc83,'argumentNames':_0xea6f13[_0x4f9cf3(_0x25fff7._0x2ddcb7,_0x25fff7._0x3102a8,0x12a,0xcd)]});return yield createToolOutput(_0x37b7ae,{'id':_0xea6f13['id'],'name':_0xea6f13[_0x4f9cf3(_0x25fff7._0x56cc2f,-_0x25fff7._0x2e969a,-_0x25fff7._0x125739,0x17c)],'path':_0x3ff219[_0x4f9cf3(_0x25fff7._0x3823d2,_0x25fff7._0x206591,0x84,_0x25fff7._0x43942c)][_0x4f9cf3(_0x25fff7._0x3c475b,0xf5,0x385,_0x25fff7._0x2c73fd)]}),void 0x0;}});}import{createHash}from'crypto';import{readFile as _0x4133a5,rename as _0x139a80,stat as _0x20874b,writeFile as _0x1f12dc}from'fs/promises';import*as _0x887575 from'path';function detectEol(_0x2a2397){const _0x1e828c={_0x3be5c9:0x4a9,_0x3f0ab3:0x534,_0x4cc30a:0x439},_0x58e0e5={_0x13b963:0x19e},_0x4c72d8={_0x48a42b:0x1cc};function _0x4470d0(_0x10ba2f,_0x3bb57b,_0x2b0f48,_0x46dd3b){return _0x4d9604(_0x10ba2f-0x139,_0x2b0f48,_0x10ba2f-0x36f,_0x46dd3b-_0x4c72d8._0x48a42b);}function _0x4f07f6(_0x492da9,_0x43abf2,_0xe3375,_0xa24933){return _0x4d9604(_0x492da9-_0x58e0e5._0x13b963,_0xe3375,_0xa24933- -0x38e,_0xa24933-0x17a);}return/\r\n/['test'](_0x2a2397[_0x4f07f6(-0x2e3,-0x8f,-0x126,-0x200)](_0x4470d0(0x40a,_0x1e828c._0x3be5c9,0x507,0x500)))?_0x4470d0(_0x1e828c._0x3f0ab3,0x577,_0x1e828c._0x4cc30a,0x636):'lf';}function normalizeToLf(_0xde851){const _0x1f8916={_0x4f8c85:0x502},_0x81050d={_0x2af75e:0x9e};function _0x553657(_0x26bef2,_0x90bce5,_0x11032b,_0x5a3719){return _0x4d9604(_0x26bef2-0xf8,_0x26bef2,_0x90bce5-0x2a4,_0x5a3719-_0x81050d._0x2af75e);}return _0xde851[_0x553657(_0x1f8916._0x4f8c85,0x3a9,0x25a,0x2e8)](/\r\n/g,'\x0a');}function convertEol(_0x4b055d,_0x21ebf4){const _0x1d5624={_0x333e39:0x1a1,_0xff0fa0:0x7,_0x5c595f:0x9f},_0x2f7a47={_0x47ca9e:0x1d2},_0x33c31a={_0x379b6f:0x97,_0x40fa38:0x12a};function _0x2cf699(_0x34ea21,_0x2cd0c7,_0x225a5c,_0xe8f9a6){return _0x4d9604(_0x34ea21-_0x33c31a._0x379b6f,_0x225a5c,_0xe8f9a6-0x13b,_0xe8f9a6-_0x33c31a._0x40fa38);}function _0x4f9286(_0x24727d,_0x157e30,_0x2079d1,_0x245bbf){return _0x2853b9(_0x24727d-0xd5,_0x157e30-_0x2f7a47._0x47ca9e,_0x2079d1- -0x3ef,_0x157e30);}return _0x21ebf4===_0x4f9286(_0x1d5624._0x333e39,0x144,0xe0,0xaf)?_0x4b055d[_0x4f9286(-_0x1d5624._0xff0fa0,0x33,0x20,-_0x1d5624._0x5c595f)](/\n/g,'\x0d\x0a'):_0x4b055d;}async function atomicWrite(_0x3fc40d,_0x506a3e){const _0x17bfa6={_0x56efa3:0x1e4,_0x48fd69:0x19f,_0x23cffb:0x159,_0x9d5ed7:0xfb,_0x52804c:0x3ee,_0x44a244:0x266,_0x5d83ab:0x50,_0x491a8f:0x110,_0x1c3007:0x548,_0x13f993:0x512},_0x3c3892={_0x293ca0:0x35,_0x82e1e8:0xe5,_0x475f50:0x10c},_0x244e13=_0x887575[_0x317f8c(0x1fe,_0x17bfa6._0x56efa3,0x128,_0x17bfa6._0x48fd69)](_0x3fc40d),_0x1f806c=_0x887575['join'](_0x244e13,'.tmp.'+_0x887575[_0x317f8c(_0x17bfa6._0x23cffb,_0x17bfa6._0x9d5ed7,-0x16,0x2bf)](_0x3fc40d)+'.'+Date[_0x279f8d(_0x17bfa6._0x52804c,0x3cf,_0x17bfa6._0x44a244,0x4d9)]()+'.'+Math[_0x317f8c(0x62,0x1a6,-_0x17bfa6._0x5d83ab,-_0x17bfa6._0x491a8f)]()['toString'](0x24)[_0x279f8d(_0x17bfa6._0x1c3007,0x463,_0x17bfa6._0x13f993,0x380)](0x2));await _0x1f12dc(_0x1f806c,_0x506a3e);function _0x317f8c(_0x5020d6,_0x5c1459,_0x40c0dc,_0x3b69ec){return _0x2853b9(_0x5020d6-0x1db,_0x5c1459-0x1ab,_0x5020d6- -0x3dd,_0x5c1459);}function _0x279f8d(_0x37d7ea,_0x2e584e,_0x12a8e8,_0x1ca745){return _0x2853b9(_0x37d7ea-_0x3c3892._0x293ca0,_0x2e584e-_0x3c3892._0x82e1e8,_0x2e584e- -_0x3c3892._0x475f50,_0x12a8e8);}await _0x139a80(_0x1f806c,_0x3fc40d);}function sha256(_0x5f2725){const _0x50cdf9={_0xfe34a4:0x9,_0x2d1e44:0xdb,_0x4e3c8a:0xcd,_0x58932c:0x155,_0x23d7dd:0x170,_0x22e734:0x9a},_0x2ae513={_0x1dd1c4:0x1df,_0x34df50:0x20a},_0x471fca={_0xb150c7:0x1d2};function _0x4170be(_0x35498e,_0x156369,_0x1e314d,_0x5b2e9f){return _0x2853b9(_0x35498e-_0x471fca._0xb150c7,_0x156369-0x141,_0x5b2e9f- -0x3ac,_0x35498e);}function _0x3c375b(_0x163b5d,_0x377c0f,_0x4359b7,_0x12491d){return _0x4d9604(_0x163b5d-_0x2ae513._0x1dd1c4,_0x163b5d,_0x4359b7- -_0x2ae513._0x34df50,_0x12491d-0x17a);}return createHash(_0x3c375b(0x11,_0x50cdf9._0xfe34a4,_0x50cdf9._0x2d1e44,0x1ef))['update'](_0x5f2725)[_0x4170be(_0x50cdf9._0x4e3c8a,0x18d,0x169,0x103)](_0x4170be(_0x50cdf9._0x58932c,_0x50cdf9._0x23d7dd,_0x50cdf9._0x22e734,0x19f));}function countLines(_0x45f40b){const _0x19ac1c={_0x6a50d7:0x491,_0x470892:0x56b,_0x33a7fb:0x472},_0x55cc7d={_0x5d4063:0x8a},_0xd06572={_0x5d5367:0xfb};function _0x3f743e(_0x2534c4,_0x491287,_0x569620,_0x17d76a){return _0x2853b9(_0x2534c4-0x27,_0x491287-0xb7,_0x17d76a-_0xd06572._0x5d5367,_0x569620);}function _0x9280f7(_0x453db7,_0x267370,_0x144e0b,_0x379d8c){return _0x2853b9(_0x453db7-0x18c,_0x267370-_0x55cc7d._0x5d4063,_0x379d8c-0x69,_0x453db7);}const _0x4198ad=_0x45f40b[_0x3f743e(_0x19ac1c._0x6a50d7,_0x19ac1c._0x470892,0x482,0x50a)](/\n$/,'');return _0x4198ad['length']===0x0?0x0:_0x4198ad[_0x9280f7(0x481,0x3fd,0x3f5,_0x19ac1c._0x33a7fb)]('\x0a')['length'];}function _0x2430(){const _0x4d7eb6=['Bwf0y2HLCW','Dg9VBhmVy2fSBa','z29uB0rLzMLUAxrPB24','BgLUAW','yxbWzw5K','CMvXDwvZDa','Aw1Hz2uVz2LM','sfruuca','r3jLCa','Dg90ywXeCM9WCgvK','Dg90ywW','zgLZywjSzwq','u2HLBgWGBM90igzVDw5KoIa','yxjYyxK','zxzLCNK','B25szwrPCMvJDa','ygbGANnVBGO','AwDUB3jL','C3rYAxbbBNnP','lu5Vtg9NBW','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','oIbJB250zw50ihjLCxvPCMvK','CgfYC2u','AxnfBMfIBgvK','yxv0AfjLCxvPCMvK','revfueLorLjbx0fqsv9lrvK','CNnZ','ChjVy2vZCW','Bwf4q29Uy3vYCMvUDa','BxrPBwvnCW','BgfZDeLUzgv4t2y','igj5DgvZicHVCMLNAw5HBdOG','lMPWzW','rMLSzu5LDW','lNrTCc4','y2fWq2HHCNm','A2LSBa','Dgv4DerVy3vTzw50l2rLzMLUAxrPB24','zMLSzq','Dg91y2HgAwXL','EMfP','C2H1DgrVD25tDgfYDgvK','Aw1WBgvTzw50yxrPB24','yw5ZD2vYCW','qMfZAa','tNv2Aw4','B2XKvgv4Da','Aw52ywXPzf90B2rVx2LK','ks4Gs2LSBcbVBMuGD2L0AcblAwXSu2HLBgWGyMvMB3jLihn0yxj0Aw5NigfUB3rOzxiU','r0LgodDH','tLvwsu5FreLtqujmrv9mu1bFre9xtKXpquq','AxnfCNjVCG','Aw5ZDgfSBa','Dg9Rzw5Z','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','C2TPBgXZ','DgHLBG','vg9Vig1HBNKGCMvKAxjLy3rZ','DgLTzvTKyxrLDgLTzv0','Dhj1BMnHDgvK','mty5lJi1nc4WlJa','CMvZB2X2zq','y29KzvzLCMLMAwvY','mtKYlJaUmc4W','AhrTBfnUAxbWzxq','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','C3rKB3v0rgvJB2rLCG','zNvUy3rPB24','AwzYyw1L','uhjVz3jHBuzPBgvZkhG4nIK','yxjNDw1LBNriAw50','y2HHCMfJDgvY','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','zxjYB3jnzxnZywDL','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','B25Jzq','ChjPB3jPDhK','y29Uy2f0','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','BgfUzW','y291BNq','uMvHzcbUzxCGB3v0Chv0igzYB20GysbIywnRz3jVDw5KihbYB2nLC3mGC3rHCNrLzcb3AxrOiejHC2GOCNvUsw5cywnRz3jVDw5KoNrYDwuPlIbszxr1CM5Zig91Dhb1DcbWCM9KDwnLzcbZAw5Jzsb0AguGBgfZDcbYzwfKoYbVChrPB25HBgX5igzPBhrLCIbSAw5LCYbIEsbHihjLz2v4lG','Aw1Hz2uVD2vICa','ls1MB2XSB3C','vxbKyxrLvg9WAwm','Dg9Rzw4','B3bLBNjVDxrLCG','s0Lnsv9bueLFs0vz','zgvMyxvSDa','ls1OAwrKzw4','rwrPDcbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmGyNKGCMvWBgfJAw5NihrOzsbMAxjZDcbLEgfJDcb0zxH0ihnLz21LBNqU','DhLWzxnJCMLWDhjLywn0','C2vZC2LVBG','C2vHCMnOrgvWDgG','Aw5JBhvKzxm','DMfSDwvZ','yxr0CG','tM8GC3LTyM9SCYbMB3vUza','Bwv0yvTWCM9Wzxj0Et0NB2C6zgvZy3jPChrPB24Nxq','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3j5igzPBguGy29UDgvUDhmU','zgLYBMfTzq','zMLSzvbHDgG','qMfZAe91Dhb1Da','DxjP','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','Ahr0CdO','lMPZEa','ChjVCgvYDgLLCW','y2XPzw50CW','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','ywjVCNq','DhnJ','CgfZC3DVCMq','vg9KBYa','BwvZC2fNzq','C3rHDgu','AwDUB3jLt3v0Chv0','rgv0ywLSoIa','AgfZ','yxbWBgLJyxrPB24VANnVBG','C2HHmJu2','yxv0BW','B2zM','mJi0lJaUmc4W','BxvSDgLtzwXLy3q','zgvZy3jPChrPB24','CMvJB3jK','y29UDgvUDa','icHZDgf0Dxm6ia','sw52ywXPzcbYzwDLEdOG','EwvZ','A2LUza','vg9KB1DYAxrL','DhLWzxnJCMLWDa','rMLSzsb3CML0DgvUigf0ia','BgLUzq','Cgf0DgvYBG','D2HPy2GGCMC','z2vUzxjHBa','yNvMzMvY','D2LUmZi','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','AxntEw1IB2XPy0XPBMS','zhvWBgLJyxrLx3rVzg9FAwrZ','BhnWlxbYB3H5','BM9Kzv9TB2r1BgvZ','zgvMyxvSDfrPBwvVDxrnCW','lw5i','y29ZDa','CNvUsw5cywnRz3jVDw5K','C3rKzxjYrgvJB2rLCG','cGPbuKDvtuvovfm6ia','BMf2','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','BgLUzu51Bq','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','y2f0y2G','C3rHCNq','B3v0Chv0','ls1MAwvSzc1JB250zxH0lxnLCgfYyxrVCJ18','DxrTx21LzgL1Bq','tunqihrVB2WG','DMvYAwzPzxi','C2HLBgXqyxrO','D2HLCMuGCMC','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','zgvLChnLzwS','ls1JB2X1Bw4','Cgf0Aa','C3bHD24','zMfPBgvK','o1TExg5DkJ8','yMfZzty0','ywXSB3DLzerPCNm','B3rOzxi','C3rKB3v0','yNvMzMvYq2HHCNm','B2f1DgG','B3v0z29PBMDdywXSCW','C2vUze5VDgLMAwnHDgLVBG','Dg9WAwmGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','zxH0zw5ZAw9UCW','q291BgqGBM90ihjLC29SDMuGAg9ZDa','zM9VDgvY','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','BhnW','CgXHAw4','ywDLBNrjza','y3jLyxrLzef0','tu9ptLnit1rFqvbjx0Tfwq','zgLYzwn0B3j5','y2XVC2vbBgW','seLhsa','zgf0yq','u3rHCNrLzcbHz2vUDcbYDw4G','z2nSAwq','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','Bwf4qNL0zxm','Dgv4DerVy3vTzw50l2LTCgXLBwvUDgf0Aw9U','yNjVA2vU','mtm3nZy2mdHXB21nDKK','C2HPzNq','uhjVz3jHBuzPBgvZ','C2vUzfjLCxvLC3q','yMfZAwm','te9dquXbufbeqvrb','BNvTyMvY','CxvLC3rPB25Z','Bw9KzwW','DhjPBq','t25SEsbODhrWoI8VigfUzcbODhrWCZOVlYbvuKXZigfYzsbZDxbWB3j0zwq','Bg9HzenVBw1HBMq','l29WDc9OB21LyNjLDY9IAw4VCMC','BhmGlwXH','zMXVB3i','DxnLCM5HBwu','lMXVzW','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxi6ihf1zxj5','mc4WlJaUma','z29uB0LTCgXLBwvUDgf0Aw9U','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','Bwf4rw50CMLLCW','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','C2fMzq','yw5ZAti1nG','lMPWzwC','CMfUAW','DgfZAW','zg9JDw1LBNrtEw1IB2W','y2fSBeLK','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','oIaIBxvSDgLtzwXLy3qIig11C3qGyMuGysbIB29SzwfU','zMLUywXnzxnZywDL','Aw5JB21PBMDdywXSCW','B2XSyw1H','uhvIBgLZAgvKoIa','y29UBMvJDa','vxnLihrOAxmGDg9VBcb0BYbJCMvHDguGyw5Kig1HBMfNzsbHihn0CNvJDhvYzwqGDgfZAYbSAxn0igzVCIb5B3vYign1CNjLBNqGy29KAw5NihnLC3nPB24UifrOAxmGAgvSChmGEw91ihrYywnRihbYB2DYzxnZlcbVCMDHBML6zsbJB21WBgv4ihrHC2TZlcbHBMqGzgvTB25ZDhjHDguGDgHVCM91z2HUzxnZihrVihrOzsb1C2vYlGPjDcbHBhnVigHLBhbZihrOzsb1C2vYihvUzgvYC3rHBMqGDgHLihbYB2DYzxnZig9MihrOzsb0yxnRigfUzcbVDMvYywXSihbYB2DYzxnZig9MihrOzwLYihjLCxvLC3rZlGOkiYmGv2HLBIb0BYbvC2uGvgHPCYbuB29ScLvZzsb0AgLZihrVB2WGChjVywn0AxzLBhKGAw4GDgHLC2uGC2nLBMfYAw9ZoGOkms4Gq29TCgXLEcbTDwX0As1ZDgvWihrHC2TZic0Gv2HLBIbHihrHC2SGCMvXDwLYzxmGmYbVCIbTB3jLigrPC3rPBMn0ihn0zxbZig9YigfJDgLVBNmkmI4GtM9UlxrYAxzPywWGyw5KignVBxbSzxGGDgfZA3mGlsbuyxnRCYb0Agf0ihjLCxvPCMuGy2fYzwz1BcbWBgfUBMLUzYbVCIbTDwX0AxbSzsbVCgvYyxrPB25ZcJmUifvZzxiGzxHWBgLJAxrSEsbYzxf1zxn0CYb0B2rVigXPC3qGlsbxAgvUihrOzsb1C2vYigrPCMvJDgX5igfZA3mGEw91ihrVihvZzsb0AguGDg9KBYbSAxn0cJqUifvZzxiGChjVDMLKzxmGBxvSDgLWBguGDgfZA3mGlsbxAgvUihvZzxjZihbYB3zPzguGysbSAxn0ig9MihrOAw5NCYb0BYbIzsbKB25LicHUDw1IzxjLzcbVCIbJB21Tys1ZzxbHCMf0zwqPcJuUiefMDgvYihjLy2vPDMLUzYbUzxCGAw5ZDhj1y3rPB25Zic0Gsw1TzwrPyxrLBhKGy2fWDhvYzsb1C2vYihjLCxvPCMvTzw50CYbHCYb0B2rVCWO2lIbxAgvUihLVDsbZDgfYDcb3B3jRAw5Nig9UigeGDgfZAYaTie1HCMSGAxqGyxmGAw5FChjVz3jLC3mGqKvgt1jfigjLz2LUBMLUzYb3B3jRlIbjzgvHBgX5ihLVDsbZAg91BgqGB25SEsbOyxzLig9Uzsb0B2rVigfZigLUx3bYB2DYzxnZigf0igeGDgLTzqO3lIbbzNrLCIbJB21WBgv0Aw5NigeGDgfZAYaTie1HCMSGAxqGyxmGy29TCgXLDgvKigfUzcbHzgqGyw55ig5LDYbMB2XSB3CTDxaGDgfZA3mGzgLZy292zxjLzcbKDxjPBMCGAw1WBgvTzw50yxrPB24kcImJifDOzw4GtK9uihrVifvZzsbuAgLZifrVB2WkcLnRAxaGDxnPBMCGDgHPCYb0B29SihDOzw46cJeUifrOzxjLigLZig9UBhKGysbZAw5NBguSihn0CMfPz2H0zM9YD2fYzcb0yxnRcJiUifrOzsb0yxnRigLZihrYAxzPywWGyw5KihrYywnRAw5NigL0ihbYB3zPzgvZig5Vig9Yz2fUAxPHDgLVBMfSigjLBMvMAxqkmY4GvgHLihrHC2SGy2fUigjLignVBxbSzxrLzcbPBIbSzxnZihrOyw4GmYb0CML2AwfSihn0zxbZcJqUifrOzsb0yxnRigLZihb1CMvSEsbJB252zxjZyxrPB25HBcbVCIbPBMzVCM1HDgLVBMfScGPot1rfihrOyxqGEw91ihnOB3vSzcbUB3qGDxnLihrOAxmGDg9VBcbPzIb0AgvYzsbPCYbVBMX5ig9Uzsb0CML2AwfSihrHC2SGDg8Gzg8UieLUihrOAxmGy2fZzsb5B3uGyxjLigjLDhrLCIbVzMyGANvZDcbKB2LUzYb0AguGDgfZAYbKAxjLy3rSEs4kcImJifrHC2SGu3rHDgvZigfUzcbnyw5Hz2vTzw50cGOXlIaQkLrHC2SGu3rHDgvZkIO6ifvZzsb0AgvZzsbZDgf0zxmGDg8GDhjHy2SGChjVz3jLC3m6cI0GCgvUzgLUzZOGvgfZAYbUB3qGEwv0ihn0yxj0zwqklsbPBL9WCM9NCMvZCZOGq3vYCMvUDgX5ihDVCMTPBMCGB24GkgXPBwL0ihrVie9orsb0yxnRigf0igeGDgLTzsKklsbJB21WBgv0zwq6ifrHC2SGzMLUAxnOzwqGC3vJy2vZC2z1BgX5cGOYlIaQkLrHC2SGtwfUywDLBwvUDcOQoGOTifvWzgf0zsb0yxnRihn0yxr1CYbPBIbYzwfSlxrPBwuGyxmGEw91ihDVCMSklsbnyxjRihrHC2TZignVBxbSzxrLieLntuvesufuruXzigfMDgvYigzPBMLZAgLUzYaOzg9Uj3qGyMf0y2GGy29TCgXLDgLVBNmPcI0Gt25SEsbOyxzLie9orsb0yxnRigLUx3bYB2DYzxnZigf0igfUEsb0Aw1LcI0Gq29TCgXLDguGy3vYCMvUDcb0yxnRCYbIzwzVCMuGC3rHCNrPBMCGBMv3ig9Uzxmklsbszw1VDMuGDgfZA3mGDgHHDcbHCMuGBM8GBg9Uz2vYihjLBgv2yw50igzYB20GDgHLigXPC3qGzw50AxjLBhKkcJmUicOQvgfZAYbdB21WBgv0Aw9UifjLCxvPCMvTzw50CYOQoGOTie9otfKGBwfYAYbHihrHC2SGyxmGy29TCgXLDgvKihDOzw4GEw91igHHDMuGrLvmtfKGywnJB21WBgLZAgvKigL0cI0GswyGEw91igvUy291BNrLCIbLCNjVCNmSigjSB2nRzxjZlcbVCIbJyw5UB3qGzMLUAxnOlcbRzwvWihrOzsb0yxnRigfZigLUx3bYB2DYzxnZcI0Gv2HLBIbIBg9JA2vKlcbJCMvHDguGysbUzxCGDgfZAYbKzxnJCMLIAw5NihDOyxqGBMvLzhmGDg8GyMuGCMvZB2X2zwqklsbozxzLCIbTyxjRigeGDgfZAYbHCYbJB21WBgv0zwqGAwy6cI0GvgvZDhmGyxjLigzHAwXPBMCklsbjBxbSzw1LBNrHDgLVBIbPCYbWyxj0AwfScI0Gww91igvUy291BNrLCMvKihvUCMvZB2X2zwqGzxjYB3jZcI0Gww91ignVDwXKBID0igzPBMqGBMvJzxnZyxj5igzPBgvZig9YigrLCgvUzgvUy2LLCWOknc4GkIPuyxnRiejYzwfRzg93BIOQoGOTienYzwf0zsbZCgvJAwzPyYWGywn0Aw9UywjSzsbPDgvTCWOTiejYzwfRignVBxbSzxGGDgfZA3mGAw50BYbZBwfSBgvYlcbTyw5Hz2vHyMXLihn0zxbZcI0GvxnLignSzwfYlcbKzxnJCMLWDgL2zsb0yxnRig5HBwvZcGPxAgvUigLUigrVDwj0lcb1C2uGDgHPCYb0B29SlIbczwLUzYbWCM9Hy3rPDMuGD2L0Acb0yxnRig1HBMfNzw1LBNqGzgvTB25ZDhjHDgvZigf0DgvUDgL2zw5LC3mGyw5KigvUC3vYzxmGEw91ignVBxbSzxrLigfSBcbYzxf1AxjLBwvUDhmGC3vJy2vZC2z1BgX5lG','zg9JCY9WBgfUCY8Ymdi2lta0lte2lwfNzw50lwXVB3aTy29Yzs1KzxnPz24UBwq','qxzHAwXHyMXLihnRAwXSCYaOC2TPBgXFBMfTztOGzgvZy3jPChrPB24PoG','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','ls1WCMvMAxG','zw51Bq','Aw5JBhvKzv9KB21HAw5Z','C3r5Bgu','w1bFxL1BxhnCu10QpW','vw5HDxrOB3jPEMvKrxjYB3i','r09pr0Xfx0ntrv9dwa','C3LTBgLUAW','ywXSu2v0DgXLza','ugf0AcbUB3qGzM91BMq6ia','yM94zwq','CgXHDgzVCM0','zgLZCg9Zzq','l2jPBI9YzW','yxjNCW','ANnVBMm','BwnWxW','qxv0Ag9YAxPHDgLVBG','t1bftLjpvvrfuL9bueLFs0vz','cGOTls0kcG','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','Dg9mB3DLCKnHC2u','DgL0Bgu','qwXSia','C3vIyxjYyxK','CgfJA2fNzs1SB2nRlMPZB24','Axnoyu4','y29Kzq','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDgvZDc50CW','Aw5PDgLHBgL6yxrPB24','y2XPzw50','zw52','B2jQzwn0','txvZDcbWCM92AwrLideTmtaGCxvLC3rPB25Z','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','sgLUDa','AgLNAa','DxrMoa','lMjPBG','qxnRvxnLCLrVB2W','zgLHz25VC3rPy3m','CgfJA2fNzs5QC29U','BNvT','yNvUlMXVy2TI','s2LSBfnOzwXS','C25PChbLDa','ihjLCxvPCMvZie9bDxrOignVBM5Ly3rPB24GB3b0Aw9UCW','y29TBwfUzhm','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','zMXHDe1HCa','Aw5ZDhj1y3rPB25Z','CMvNAw9U','Bwf4','BgLUzvrLEhq','lMnTza','y2fWywjPBgL0AwvZ','Dg9VBfjLC3vSDhm','C2LNBMfS','l3bPza','CNvUBMLUzW','Dgv4DerVy3vTzw50l3b1yMXPC2HeAwfNBM9ZDgLJCW','DhnJB25MAwCUANnVBG','igj5DgvZ','v0vcua','r2XVyG','AxngAwXL','Bwv0yq','mtKYlJe2oc4WlJa','Dgv4DerVy3vTzw50l2rPze9Wzw4','D29YA3nWywnLu3LTyM9SihjLCxvPCMvZigeGBM9UlwvTChr5ihf1zxj5','Aw1Hz2u','Dgf2AwX5qxbPs2v5','rMv0y2GGD2vIihbHz2uGy29UDgvUDcbHBMqGy29UDMvYDcb0BYbnyxjRzg93BIbMB3jTyxq','revfufnfruTFqvbjx0Tfwq','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','rMv0y2GGDgLTzwqGB3v0','C2L6zq','B3b0Aw9UCW','Aw5FChjVz3jLC3m','cMbGya','Dgv4Dc9ODg1S','BwLUAw1HEa','yMLVBwuUANnVBMm','DhnZzxj2zxiUANm','zgfYAW','zxf1ywXZ','lNDLyNa','u2L6ztOG','CxvLCNK','tM8GBg9JyxrPB25ZigzVDw5K','BgLNAhq','C3rHCNrZv2L0Aa','yxjNDw1LBNroyw1LCW','zw5K','qMfZzsbKAxjLy3rVCNK6ia','l2jPBI9IyxnO','C2vZC2LVBKLK','C2HLBgXjza','u0Lhs0Lmta','mZGWmZu5mgn0uuTivq','CMCUzxHL','ChvIBgLZAgvKqxq','BgfUz18','qMLVBwuGtgfUz3vHz2uGu2vYDMvY','v2fYBMLUzW','Aw50zwDLCG','AxneAxjLy3rVCNK','B3b0Aw9UywW','C2vYDMvY','zNjVBq','q3jLyxrLig9Yig92zxj3CML0zsbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmU','Dg9VBenHBgXjza','Dgf2AwX5','ugf0AcbPCYbUB3qGysbMAwXLoIa','zMLSztOVlW','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','AxnbCNjHEq','yxv0Ag9YAxPHDgLVBL9JB2rL','C29Tzq','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','BMfTzq','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','C3jJl3rVB2XZl21Vy2STDg9VBc1YDw50Aw1LlNrZ','Aw52ywXPzf90B2rVx2L0zw0','l2jPBI9ZAa','t1bftKfjx0fqsv9lrvK','uxvLC3rPB24G','yMLYDgH0Aw1L','Ag9ZDa','B2XKvgv4DcbUB3qGzM91BMqGAw4GzMLSzs4GtwfRzsbZDxjLigL0ig1HDgnOzxmGzxHHy3rSEsbPBMnSDwrPBMCGD2HPDgvZCgfJzs4Gu2vHCMnOAw5NigzVCJOGiG','AgvHzgvYCW','AxrLBxm','ie9sia','A2LSBgvK','D29YA3nWywnLu3LTyM9S','vxnLiezPBgvszwfKihDPDgGGBgLUzvn0yxj0l2XPBMvfBMqGDg8GAw5ZCgvJDcbZCgvJAwzPyYbZzwn0Aw9UCYbVzIb0AguGzNvSBcbVDxrWDxqU','DxrTx3nVDxjJzq','C3bSAxq','DhLWzq','rM91BMqG','ChjVDg9JB2W','Bwf4uMvKAxjLy3rZ','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','CMvWBgfJzq','y2fSBfrVB2W','y2vPBa','CMvTB3zLrxzLBNrmAxn0zw5LCG','BgfIzwW','qu5usfjpueLdx0fqsv9lrvK','B2zMC2v0','yxnZAwDU','u2TPBgWGjW','C2vYDMvYCW','Dg9KB3ncEvnLC3nPB24','z29Vz2XLq3nLq3G','yMLVBwu','xsb0CMfUC3bVCNqGzxjYB3i6','C2vSzwn0Aw9UuMfUz2u','AxngAw5PDgu','vMLLDYbHBIbPBwfNzsbMAwXLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZihnVihrOzsbTB2rLBcbJyw4GAw5ZCgvJDcbPDhmGDMLZDwfSignVBNrLBNqUifn1ChbVCNrZifborYWGsLbfrYWGv2vIucWGyw5KieDjrIbPBwfNzxmUifvZzsb0AgLZigzVCIbZy3jLzw5ZAg90CYWGzgLHz3jHBxmSihbOB3rVCYWGyw5Kig90AgvYigLTywDLigzPBgvZoYb1C2uGrMLSzvjLywqGzM9YihrLEhqGzMLSzxmU','zxjYB3i','Aw1Hz2uVCg5N','Aw5WDxq','nJa1odi2nLvLqMvPwG','z2v0u3rHDhm','vgvYBwLUyxrLigeGyMfJA2DYB3vUzcbWCM9JzxnZihn0yxj0zwqGD2L0AcbcyxnOkhj1BKLUqMfJA2DYB3vUzdP0CNvLksWGAwrLBNrPzMLLzcbIEsbPDhmGC2HLBgXjzc4','y2fSBgjHy2TvCMW','zMLSBa','y29UC3rYDwn0B3i','igj5DgvZicH0B3rHBdOG','C2v0','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','BMv3vgv4Da','AhLKCMf0zu1LDge','Bw9Kzq','zxHPDa','y29UDgv4DeXPBMS','CgLK','DMfSDwu','BgLZDfrVB2XZ','Dhj1BMm','zxjYB3jZ','DhjHBNnMB3jTCW','rMLSzuvKAxq','B3bLBMfPlxjLC3bVBNnLCY13CW','zw5NAw5L','CMvMzxjLBMnLCW','C2v2zxjPDhK','vw50AxrSzwq','u3rHCNrLzcbIywnRz3jVDw5KihbYB2nLC3mG','Dw5PB24','CMfUzg9T','ChvZAa','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','lNbUzW','vxnLihrOAxmGDg9VBcb3AgvUihLVDsbUzwvKihrVigfZAYb0AguGDxnLCIbXDwvZDgLVBNmGzhvYAw5Nigv4zwn1DgLVBI4GvgHPCYbHBgXVD3mGEw91ihrVoGOXlIbhyxrOzxiGDxnLCIbWCMvMzxjLBMnLCYbVCIbYzxf1AxjLBwvUDhmkmI4Gq2XHCMLMEsbHBwjPz3vVDxmGAw5ZDhj1y3rPB25ZcJmUieDLDcbKzwnPC2LVBNmGB24GAw1WBgvTzw50yxrPB24Gy2HVAwnLCYbHCYb5B3uGD29YAWO0lIbpzMzLCIbJAg9Py2vZihrVihrOzsb1C2vYigfIB3v0ihDOyxqGzgLYzwn0Aw9UihrVihrHA2uUcGPvC2fNzsbUB3rLCZOklsbvC2vYCYb3AwXSigfSD2f5CYbIzsbHyMXLihrVihnLBgvJDcaIt3rOzxiIihrVihbYB3zPzguGy3vZDg9TihrLEhqGAw5WDxqklsbvC2uGBxvSDgLtzwXLy3q6ihrYDwuGDg8GywXSB3CGBxvSDgLWBguGyw5ZD2vYCYb0BYbIzsbZzwXLy3rLzcbMB3iGysbXDwvZDgLVBGOTieLMihLVDsbYzwnVBw1LBMqGysbZCgvJAwzPyYbVChrPB24Sig1HA2uGDgHHDcb0AguGzMLYC3qGB3b0Aw9UigLUihrOzsbSAxn0igfUzcbHzgqGiIHszwnVBw1LBMrLzcKIigf0ihrOzsbLBMqGB2yGDgHLigXHyMvS','Aw52ywXPzf9XDwvZDgLVBNm','y29UBMvJDgvK','te9x','C3rYAw5N','yxbPs2v5','BM9Zy3jPChq','BNbT','AxnjBNrLz2vY','DxrTx2nVBNrLBNq','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','yxjNDw1LBNrZvgv4Da','BgLTAxq','Dgv4Da','y291BNrLCG','yxjNDw1LBNrZ','vxbKyxrLihrOzsbZzxnZAw9UihrVCgLJihrVigeGy29Uy2LZzsaZltyGD29YzcbUB3vUihbOCMfZzsb0Agf0ignHChr1CMvZihrOzsbJDxjYzw50ihn1yMPLy3qUcGPdywXSihrOAxmGDg9VBcb3AgvUihrOzsbZzxnZAw9Uj3mGC3vIAMvJDcbIzwnVBwvZignSzwfYig9YihnOAwz0CYb0BYbZB21LDgHPBMCGy2XLyxjSEsbKAwzMzxjLBNqG4Ocuig5VDcbMB3iGBwLUB3iGDgfUz2vUDhmGB3iGy2XHCMLMEwLUzYbZDwiTCxvLC3rPB25ZlIbjzIbUB3rOAw5NigHHCYbTzwfUAw5NzNvSBhKGy2HHBMDLzcWGzg8GBM90ignHBgWGAxqUcGPhB29KihrVCgLJicHUB3vUihbOCMfZzsWGmY02ihDVCMrZktOkicaIrgvIDwCGvfmGz2vUzxjPy3mGzxjYB3iIcIaGiLjLzMfJDg9Yigf1DgGGBwLKzgXLD2fYzsikicaIqwrKifn0CMLWzsb3zwjOB29RigHHBMrSzxiIcGPcywqGDg9WAwmGkgz1BgWGC2vUDgvUy2uGB3iGDMfNDwuPoGOGicjuAguGDxnLCIb3yw50CYb0BYbKzwj1zYbHifr5Cgvty3jPChqGz2vUzxjPy3mGzxjYB3iGAw4GDgHLAxiGChjVAMvJDcikicaIy29KAw5NiG','v29YA2LUzYbKAxjLy3rVCNKGBM90igzVDw5KoIa','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','ue9tva','EwfYBI5SB2nR','Ahr0Chm6lY9HCgKUDgf2AwX5lMnVBs9ZzwfYy2G','B3bLBMfP','jYbUB3qGzM91BMqUief2ywLSywjSzsbZA2LSBhm6ia','w01duca','zMvUy2vK','z2v0vg9KB3m','BwnFy2LK','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbJB21Tyw5KigrVzxmGyw5KihDOEsb5B3uGyxjLihj1BM5PBMCGAxqG4OcuihrOzsbNB2fSigL0igfKDMfUy2vZlIbtAg93BIb0BYb0AguGDxnLCIbIzwzVCMuGzxHLy3v0Aw9UlIbczsbZCgvJAwzPyYWGzs5NlIaNuNvUihrOzsbHDxrOihrLC3rZihrVihzLCMLMEsb0AguGDg9Rzw4TCMvMCMvZAcbMAxGNihjHDgHLCIb0AgfUicDYDw4GDgvZDhmNlG','y2XLyxi','B3jPz2LUvg9VBenHBgXjza','ls1NBg9I','DxjS','zMLUzfjLzMvYzw5Jzxm','C2nYDwjfBNzlzxLZ','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','yxv0Aa','zgvMAw5PDgLVBG','ls0T','D2fPDezVCKrPywDUB3n0AwnZ','mJeZntmWn1vsEwvxsG','mJqWlJaUmc4W','C3bHD25PBMC','CMvSyxrPDMu','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','BgfUz3vHz2u','A2LTAq','AgfUzgXL','lMPZB25J','y21KlMv4zq','B2C6DxbKyxrLzf90Aw1L','v2vIu2vHCMnO','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','lMPZ','zgLZy292zxj5u3rHDgu','ls1MAwvSzc1TyxrJAc1ZzxbHCMf0B3i9Fa','ywn0AxzL','CxvLC3rPB24','Dw5RBM93BG','A2LSBfjLCxvLC3rLza','yNL0zuXLBMD0Aa','BxrPBwu','zgf0zxrPBwu','y2XPzw50sw5MB3jTyxrPB24','Aw5qCM9NCMvZCW','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','Dg9VBc1VDxrWDxqTB2zMBg9Hza','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzceGqxnRigfIB3v0ig5LEhqGC3rLChmUienVBxbSzxrLzcbSAxn0oGO','zxzPy3rjzK5LzwrLza','l3vZCI9IAw4VC2G','mtCYlJe2lJaUma','icHWAwqG','CMvHza','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','C2H1DgrVD24','DgLTzw91De1Z','tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','qMvHCMvYia','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','D2vI','C29YDa','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','rxHLy3v0zsbHihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24UienHChr1CMvZihn0zg91DcbHBMqGC3rKzxjYlIbeBYbUB3qGDxnLigzVCIbPBNrLCMfJDgL2zsbJB21Tyw5KCYb0Agf0ihjLCxvPCMuGDxnLCIbPBNb1Dc4Grg8GBM90ihvZzsbMB3iGCMvHzgLUzYbMAwXLCYaODxnLiezPBgvszwfKigLUC3rLywqPlIbtzxqGCNvUsw5cywnRz3jVDw5KoNrYDwuGzM9YigXVBMCTCNvUBMLUzYbJB21Tyw5KCYaOC2vYDMvYCYWGD2f0y2HLCNmPoIbPDcbYzxr1CM5ZigeGC2HLBgXjzcbPBw1LzgLHDgvSEsdIGjqGCMvHzcbVDxrWDxqGD2L0AcbcyxnOt3v0Chv0igfUzcbZDg9WigL0ihDPDgGGs2LSBfnOzwXSlIbetYbot1qGvvnfiejbu0GGve9ptcbMB3iGCMvHzcbMAwXLihvZzsbgAwXLuMvHzc4Gww91ie1vu1qGChjVDMLKzsbHignVBMnPC2uGygrLC2nYAxb0Aw9UycbLEhbSywLUAw5NihDOyxqGDgHLignVBw1HBMqGzg9LCYbHBMqGD2H5ihLVDsbHCMuGCNvUBMLUzYbPDcaODgHLigDVywWGAxqGywr2yw5JzxmPiokaLcbPDcbPCYbZAg93BIb0BYb0AguGDxnLCIbMB3iGDhjHBNnWyxjLBMn5igjLzM9YzsbLEgvJDxrPB24UifrOzsbKzwzHDwX0ihrPBwvVDxqGAxmG','ANnVBG','Dg9tDhjPBMC','yNvUlMXVy2S','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','z29Vz2XLlwnZzq','Dgv4DerVy3vTzw50l2rPzenSB3nL','lMDPzG','Cgf0DgvYBIbPCYbYzxf1AxjLza','AMf2yxnJCMLWDa','C3rKzxjY','Cg9W','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','tuvesvvn','C3rHDhvZvgv4Da','CMvZDwX0CW','ks4GvxnLiejHC2HpDxrWDxqGDg8GCMvHzcbPDhmGB3v0Chv0igfUzcblAwXSu2HLBgWGDg8GC3rVCcbPDc4','C2v0vg9WAwm','Bwv0yxrHz3m','C3rKAw4','Dgv4DerVy3vTzw50l2HVDMvY','vMLLD2vKigLTywDLigzPBgu6ia','Bg9JywXLq29TCgfYzq','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','z2v0','zgLNzxn0','B25LCNjVCG','C2vHCMnOugfYyw1Z','zMjJBgLK','zgvSzxrL','sw52B2TLq29TBwfUza','C3rYAw5NAwz5','zgvMyxvSDen3za','Aw52ywXPzf90B2rVCW','wKfjx0fqsv9lrvK','Dg9WAwm','mtCYv1bZDgDm','v2LUr2v0','ls1ZDgrPBW','uKLgrG','C2v0vg9KB3m','iYmGu2TPBgW6ia','C3vKBW','CM9VDa','tM8GCMvZDwX0CYbMB3vUzc4','AgvHzgvY','igzHAwXLzc4','C3rHDhvZ','zxH0BMfTzq','yw50AhjVCgLJlw1LC3nHz2vZ','CgXHAw50zxH0','nJuWndqYBLjJuxj0','Bg9JyxrPB24','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','zMv0y2HjBxbS','q29TBwfUzcaN','yw50AhjVCgLJ','y3jSzG','CMfUz2u','uMvHzcbMAwXLCYbMCM9TihDVCMTZCgfJzs4Gt3b0Aw9UywXSEsbZCgvJAwz5igXPBMuGCMfUz2vZicHSAw5Lu3rHCNqSigXPBMvfBMqPlG','qwDLBNqGCNvUia','oIbPzcbYzxf1AxjLza','r0Lusfvcx1rps0vo','lM10CW','Aw1Hz2vZ','BwLU','u0HfteW','rgvSzwDHDgvZigeGDgfZAYb0BYbHBM90AgvYigfNzw50igfUzcb3ywL0CYbMB3iGy29TCgXLDgLVBG','z29Vz2XLq3nLs2v5','BM93','lMn0CW','ru5pru5u','zgv0ywLS','vhLWzvnJCMLWDcbmyw5NDwfNzsbtzxj2zxi','ugfYyw1LDgvYicj0B2rVCYiGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','CMvXDwLYzwq','thnW','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','BM90Awz5','zgLHz25VC3rPy3ngB3jgAwXL','nZu0mtbcz0rlEuK','DhjHBNnWB3j0','BgvUz3rO','Aw1Hz2uVANbLzW','igzYB20G','tM8GC3vJAcbMAwXLoIaN','nJy0mdi4D0H5Axvc','ygbG','zgvLCgLUzNjH','CNvUswq','y2XPzw50twv0ywrHDgfvCMW','Dg9ju09tDhjPBMC','Aw5PDgLHBgL6zq','Aw5JBhvKzq','BwfW','y2XVC2u','A2v5CW','CgLWzq','v2vIu2vHCMnOihjLCxvPCMvZigf0igXLyxn0ig9UzsbZzwfYy2GGzw5NAw5LignVBMzPz3vYzwq','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','Dhj1zq','tuLosu1bwf9bueLFs0vz','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','mtaUmc4WlJa','A2v5yMLUzgLUz3m','l3vZCI9SB2nHBc9IAw4VCMC','y2fJAgvK','D3jPDgu','C3rKAw8','yMvHCMvY','tg9HzgvKigzYB206ia','C3jJl3nOyxjLzc90ExbLCY50CW','y2HHCMfJDgvYig11C3qGyMuGysbWB3nPDgL2zsbPBNrLz2vY','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','q29Tu3bLyW','zMLSzvzLCNnPB25Z','lcbpChrPB24G','CM91BMq','Aw5WDxrty2HLBwe','Dg9Rzw5tDg9YywDLs2v5','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','yM9VBgvHBG','lI4U','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','zxHPDenVzgu','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','CxvLC3rPB24T','zNvSzMLSBgvK','Bg9VA3vW','qMfJA2DYB3vUzcbLEgvJDxrPB24GAxmGBM90igf2ywLSywjSzsbPBIb0AgLZignVBNrLEhqU','o1TE','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','CMLWz3jLCa','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','r0Lusfvcx0fdq0vtu19ut0TftG','Bw9VBNnOB3q','BgLZDgvU','lMPZB24','zMLUza','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','zg9TywLUCW','y29UDgv4Da','zw5NAw5LCW','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','CgfJA2fNzu5HBwu','phn5C3rLBs1Yzw1PBMrLCJ4','C2vYDMvYswq','Dg9KB3m','ChjLCgfYzunHBgXiAwvYyxjJAhK','zw50CMLLCW','y2HPBgq','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','y29UzMLN','DgvZDa','zMLYC3q','AM9PBG','Ec1HCgKTA2v5','vMLLD0zPBgu','zgvSzwDHDgvKlxj1BI0','mti3lJaUmc4W','yMfZzw5HBwu','Ag92zxi','BgL0zxjHBa','l3vZCI9IAw4VyMfZAa','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','y29TCgXLDgvK','y3DK','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','z2L0qNjHBMnO','y29TBwfUza','Ahr0Ca','y29UDgvUDhm','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','C291CMnL','CMvJzw5JEurHExm','z2L0AhvI','CgfZC3rOCM91z2G','ig1HDgnO','DhvYBMrVD24','z2XVyG','BgLUzuvUza','Agv4','xg5DkJ8','zhj5uNvU','BwnFzwLK','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','vg9Vig1HBNKGyMfJA2DYB3vUzcbWCM9JzxnZzxmGCNvUBMLUzYaO','BgLI','Cgf0Ag5HBwu','ywrK','Ag9ZDg5HBwu','AxndB250zxH0','Dg90ywXqCM9KDwnLza','yxnJAwK','DgHPBMTPBMC','ignVBxbSzxrLzc4','AMf2yxnJCMLWDhjLywn0','Dg9VBa','yxnRvxnLCG','pc9ZExn0zw0TCMvTAw5Kzxi+','ig1Z','Dg9VBhm','CgvUzgLUzW','ywXS','CgfYC2vjBNq','oIaIDg9WAwmIig11C3qGyMuGBwf4idmWignOyxjHy3rLCNmSigDVDca','Bg93','CMvZDwX0','CMvNzxG','CMvHC29U','y2HHCKnVzgvbDa','BM9Uzq','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','zxHPDgvK','BwfUDwfS','B3bLCMf0Aw9U','ywjVCNrLza','C2XPy2u','C2vYDMvYtMfTzq','qxzHAwXHyMXLignVBw1HBMrZoG','CMvHzen1CNnVCG','Aw52ywXPzf90B2rVx3n0yxr1CW','ChjVy2vZC0v4AxrLza','zMLSDgvY','C3rHCNreAxi'];_0x2430=function(){return _0x4d7eb6;};return _0x2430();}function calculateLineNumbers(_0x4e82a9,_0x413cf4,_0xbe6e26,_0x2e1244){const _0x261b9e={_0x411ab0:0x193,_0x376d2c:0x1d,_0x47d03c:0x331,_0x3ce5cf:0x168,_0xf10a5c:0x2d9},_0x5d4506={_0x44b43e:0x1bc},_0x2136e6={_0xba1b46:0x16e,_0x104813:0x5ed},_0x388229=_0x4e82a9[_0x57ec9d(-0x7e,-_0x261b9e._0x411ab0,-_0x261b9e._0x376d2c,-0x179)](0x0,_0x2e1244)[_0x2719ea(_0x261b9e._0x47d03c,0x1e3,_0x261b9e._0x3ce5cf,_0x261b9e._0xf10a5c)]('\x0a')['length'];function _0x57ec9d(_0x3a1f62,_0x132c23,_0x3ffd36,_0x1c9567){return _0x2853b9(_0x3a1f62-_0x2136e6._0xba1b46,_0x132c23-0xe6,_0x3a1f62- -_0x2136e6._0x104813,_0x1c9567);}const _0x5dbab0=countLines(_0x413cf4),_0xfe6c3e=countLines(_0xbe6e26);function _0x2719ea(_0x406709,_0x22f467,_0x1676db,_0x124446){return _0x4d9604(_0x406709-0x70,_0x406709,_0x124446-0x1da,_0x124446-_0x5d4506._0x44b43e);}return{'oldStartLine':_0x388229,'oldEndLine':_0x388229+_0x5dbab0-0x1,'newStartLine':_0x388229,'newEndLine':_0x388229+_0xfe6c3e-0x1,'oldLineCount':_0x5dbab0,'newLineCount':_0xfe6c3e};}function createFileEditTool(_0x174a81={}){const _0x4b02a9={_0x2536ca:0x90,_0xf58a29:0x122,_0x5658a5:0xd8,_0xcc7ccc:0xcb,_0x2c6904:0x18f,_0x2fd19d:0x1c7,_0x19e658:0x1fc,_0x869645:0x424,_0x2c5ec6:0x165,_0x538061:0x74,_0x255074:0x79,_0x4ebd9d:0x17f,_0x5b0b75:0x15,_0x2dce8f:0x178,_0x35d95c:0x7e,_0x7d200d:0x20,_0x291dbd:0xec,_0x42e926:0x114,_0x3eb380:0x16d,_0x2bb617:0xb0,_0x632f59:0x1a,_0x53c3f2:0x94,_0x5bd3ef:0x193,_0x1c77e2:0xd1},_0x3add72={_0x3a51b5:0x46b,_0xe09bfe:0x48f,_0x381f22:0x417,_0x4b42b7:0x564,_0x1b1a6c:0x57c,_0x50d016:0x404,_0x3c5d3d:0x50e,_0xf8e3af:0x2f6,_0x506570:0x3f6,_0x5ad431:0x2de,_0x2b872a:0x372,_0x46ea71:0x4dd,_0x4517e5:0x4d7,_0x22dcbd:0x480,_0x52abc2:0x3d6,_0x32beda:0x57f,_0x5297cd:0x52f,_0x152ac9:0x3d7,_0x17c61b:0x483,_0x440f23:0x36a,_0x4d2339:0x276,_0x1c4225:0x4c0,_0x1cef86:0x4da,_0x587498:0x36b,_0x15e376:0x3e2,_0x54dc78:0x438,_0xf1593d:0x27e,_0x5bc3b3:0x348,_0x2ab667:0x219,_0x4a577e:0x4b2,_0xb294d1:0x314,_0x16ec9d:0x37b,_0x4ed071:0x2f7,_0x4f2084:0x269,_0x528702:0x197,_0x1c50ec:0x463,_0x4bc2c9:0x3db,_0x17e598:0x4e9,_0x5ef70c:0x43c,_0x4920b0:0x426,_0x70adad:0x2ec,_0x622971:0x27b,_0x333f2e:0x1f3,_0xc02990:0x2ec,_0x44c45c:0x253,_0x281b7d:0x5a9,_0x46ae65:0x3fd,_0x41eff8:0x273},_0x18babc={_0x5cc8b5:0x63,_0x45d720:0x10f},_0x131dde={_0x3512e7:0x2b5},_0x4cea47=_0x887575['resolve'](_0x174a81[_0x524ca5(0x27b,0x24e,0x121,0x2f3)]??process[_0x45b336(-0x83,_0x4b02a9._0x2536ca,-_0x4b02a9._0xf58a29,-_0x4b02a9._0x5658a5)]()),_0x51ad8f=(_0x174a81['allowedDirs']??[])[_0x45b336(-_0x4b02a9._0xcc7ccc,-_0x4b02a9._0x2c6904,0x30,-0xfe)](_0x42a0f4=>_0x887575[_0x45b336(-0xb,-0x4b,-0xdb,-0x149)](_0x42a0f4));function _0x524ca5(_0x2173e3,_0x4707a5,_0x5a3cfb,_0x5a9240){return _0x4d9604(_0x2173e3-0x11a,_0x4707a5,_0x2173e3-0xcf,_0x5a9240-0x11);}const _0x1b7472=_0x174a81[_0x45b336(-_0x4b02a9._0x2fd19d,-0xee,-0x211,-0x262)]??_0x524ca5(_0x4b02a9._0x19e658,0x1a3,0x247,0x9c);function _0x45b336(_0xdc3370,_0xeb2000,_0x5a6147,_0x45a415){return _0x4d9604(_0xdc3370-0x1e,_0x5a6147,_0xdc3370- -_0x131dde._0x3512e7,_0x45a415-0x145);}return defineTool({'name':_0x1b7472,'description':_0x524ca5(0x396,0x49e,_0x4b02a9._0x869645,0x4e5),'inputSchema':{'type':_0x524ca5(_0x4b02a9._0x2c5ec6,_0x4b02a9._0x538061,-0xe,_0x4b02a9._0x255074),'properties':{'filePath':{'type':_0x45b336(-0x178,-_0x4b02a9._0x4ebd9d,-_0x4b02a9._0x5b0b75,-0xa2)},'description':{'type':_0x45b336(-_0x4b02a9._0x2dce8f,-0x2d5,-0x39,-_0x4b02a9._0x35d95c),'description':_0x45b336(_0x4b02a9._0x7d200d,-_0x4b02a9._0x291dbd,_0x4b02a9._0x42e926,0x8c)},'oldText':{'type':_0x45b336(-_0x4b02a9._0x2dce8f,-0x5,-_0x4b02a9._0x3eb380,-0x150)},'newText':{'type':_0x45b336(-_0x4b02a9._0x2dce8f,-0x2ea,-0x11e,-0x5)},'dryRun':{'type':_0x45b336(-_0x4b02a9._0x2bb617,-0x160,-0x47,-0x1e8)}},'required':['filePath',_0x45b336(-_0x4b02a9._0x632f59,0x89,-_0x4b02a9._0x53c3f2,-0xdb),_0x45b336(-_0x4b02a9._0x5bd3ef,-_0x4b02a9._0x1c77e2,-0x193,-0x1c3)]},async *'execute'(_0x286475){const _0x16e237=resolveAllowedPath(_0x4cea47,_0x51ad8f,_0x286475[_0x34f454(0x4ea,0x3d7,0x3d9,0x446)]);await assertWorkspaceFile(_0x16e237);const _0x7563d2=await _0x20874b(_0x16e237);function _0x34f454(_0x481dc4,_0x38d058,_0x29c996,_0x4bfcc3){return _0x45b336(_0x38d058-0x3ba,_0x38d058-0x1ef,_0x29c996,_0x4bfcc3-0x143);}const _0x4ce62a=await _0x4133a5(_0x16e237);function _0x15efd4(_0x31b4ec,_0x2e5cbc,_0x2d682c,_0x1787c1){return _0x524ca5(_0x2e5cbc-0x230,_0x2d682c,_0x2d682c-_0x18babc._0x5cc8b5,_0x1787c1-_0x18babc._0x45d720);}const _0x5a9177=detectEol(_0x4ce62a),_0x35cc96=normalizeToLf(_0x4ce62a['toString'](_0x15efd4(0x44b,0x39a,_0x3add72._0x3a51b5,_0x3add72._0xe09bfe))),_0x309a2d=normalizeToLf(_0x286475['oldText']),_0xadb5ab=normalizeToLf(_0x286475['newText']),_0x5d6bf2=_0x35cc96['indexOf'](_0x309a2d);if(_0x5d6bf2===-0x1){const _0x1b9cc7=_0x309a2d[_0x15efd4(_0x3add72._0x381f22,_0x3add72._0x4b42b7,_0x3add72._0x1b1a6c,0x56d)](0x0,0x64)[_0x15efd4(0x2f7,_0x3add72._0x50d016,0x548,_0x3add72._0x3c5d3d)](/\n/g,'\x5cn');throw new ToolExecutionError(_0x15efd4(_0x3add72._0xf8e3af,_0x3add72._0x506570,_0x3add72._0x5ad431,0x360)+_0x1b9cc7+(_0x309a2d[_0x15efd4(_0x3add72._0x2b872a,_0x3add72._0x46ea71,0x578,_0x3add72._0x4517e5)]>0x64?_0x15efd4(_0x3add72._0x22dcbd,0x505,_0x3add72._0x52abc2,_0x3add72._0x32beda):'')+'\x22',{'filePath':_0x286475[_0x34f454(_0x3add72._0x5297cd,_0x3add72._0x152ac9,_0x3add72._0x17c61b,0x283)]});}const _0xc42ad8=_0x35cc96[_0x34f454(0x3dd,_0x3add72._0x440f23,_0x3add72._0x4d2339,0x340)](0x0,_0x5d6bf2)+_0xadb5ab+_0x35cc96['slice'](_0x5d6bf2+_0x309a2d[_0x15efd4(_0x3add72._0x1c4225,_0x3add72._0x46ea71,0x47d,_0x3add72._0x1cef86)]),_0x3d39e2=convertEol(_0xc42ad8,_0x5a9177),_0x3c4224=Buffer[_0x15efd4(_0x3add72._0x587498,_0x3add72._0x15e376,_0x3add72._0x54dc78,0x3dc)](_0x3d39e2,'utf8'),_0x15bfe6=sha256(_0x4ce62a),_0x5155c6=sha256(_0x3c4224),_0x3f4fa8=_0x15bfe6===_0x5155c6,_0xb0936=_0x286475[_0x34f454(_0x3add72._0xf1593d,_0x3add72._0x5bc3b3,_0x3add72._0x2ab667,_0x3add72._0x4a577e)]??![];return!_0xb0936&&!_0x3f4fa8&&await atomicWrite(_0x16e237,_0x3c4224),yield createToolOutput(_0x3f4fa8?_0x34f454(0x186,0x1c5,_0x3add72._0xb294d1,0x7d):_0xb0936?_0x34f454(_0x3add72._0x16ec9d,0x295,0x2ce,0x32c):_0x34f454(0x310,_0x3add72._0x4ed071,_0x3add72._0x4f2084,_0x3add72._0x528702),{'filePath':_0x286475[_0x34f454(0x51d,0x3d7,_0x3add72._0x1c50ec,_0x3add72._0x4bc2c9)],'resolvedPath':_0x16e237,'created':_0x7563d2[_0x15efd4(_0x3add72._0x17e598,0x3f4,0x4f4,_0x3add72._0x5ef70c)][_0x34f454(_0x3add72._0x4920b0,_0x3add72._0x70adad,0x45f,0x3fa)](),'modified':_0x7563d2[_0x34f454(0x222,_0x3add72._0x622971,0x2f3,_0x3add72._0x333f2e)][_0x34f454(0x3e6,_0x3add72._0xc02990,0x3d4,_0x3add72._0x44c45c)](),'size':_0x7563d2['size'],'eol':_0x5a9177,'oldTextLength':_0x309a2d[_0x15efd4(0x4d4,0x4dd,_0x3add72._0x281b7d,0x603)],'newTextLength':_0xadb5ab[_0x34f454(0x2ab,0x2e3,_0x3add72._0x46ae65,0x17e)],'bytesWritten':_0x3f4fa8||_0xb0936?0x0:_0x3c4224[_0x34f454(0x426,0x2e3,0x298,_0x3add72._0x41eff8)],'beforeSha':_0x15bfe6,'afterSha':_0x5155c6,'dryRun':_0xb0936,'noChange':_0x3f4fa8,'lineNumbers':calculateLineNumbers(_0x35cc96,_0x309a2d,_0xadb5ab,_0x5d6bf2)}),void 0x0;}});}import{mkdir as _0x5e4bf3,rename as _0x23c645,stat as _0x54cf17,writeFile as _0x52421f}from'fs/promises';import*as _0x582161 from'path';async function atomicWrite2(_0x3ae320,_0x2361bd){const _0x1ba75d={_0x3bc021:0x436,_0x3ce69b:0x31e,_0x143505:0x2ef,_0x4277f2:0x2d,_0x2aea61:0x159,_0x1ff49c:0x18d,_0x5c3eec:0x337,_0x210c91:0x1f7,_0x263988:0x1c7,_0x4c3ec8:0x1c6,_0x5a5ee1:0x433,_0x579fb1:0x32d},_0x45dc61={_0x24cb25:0x242},_0x46bdfd={_0x2d1371:0x1a5},_0x5da14f=_0x582161[_0x5a2b0e(-0x182,-0xb4,0x51,-0x1b6)](_0x3ae320);function _0x5a2b0e(_0x137e83,_0x55c32c,_0x228b6f,_0x5b77c0){return _0x2853b9(_0x137e83-0x177,_0x55c32c-_0x46bdfd._0x2d1371,_0x55c32c- -0x68f,_0x228b6f);}await _0x5e4bf3(_0x5da14f,{'recursive':!![]});const _0x4cd921=_0x582161[_0x1f75b5(_0x1ba75d._0x3bc021,_0x1ba75d._0x3ce69b,0x28e,_0x1ba75d._0x143505)](_0x5da14f,_0x5a2b0e(-0x18d,-0xf6,-0xb7,-_0x1ba75d._0x4277f2)+_0x582161[_0x5a2b0e(-0x243,-_0x1ba75d._0x2aea61,-_0x1ba75d._0x1ff49c,-0x193)](_0x3ae320)+'.'+Date['now']()+'.'+Math['random']()[_0x5a2b0e(-_0x1ba75d._0x5c3eec,-_0x1ba75d._0x210c91,-_0x1ba75d._0x263988,-0x26a)](0x24)[_0x1f75b5(0x2aa,_0x1ba75d._0x4c3ec8,_0x1ba75d._0x5a5ee1,_0x1ba75d._0x579fb1)](0x2));function _0x1f75b5(_0x2bbb20,_0x5bc6f9,_0x431c5c,_0xffba1a){return _0x2853b9(_0x2bbb20-0x178,_0x5bc6f9-0x1e0,_0xffba1a- -_0x45dc61._0x24cb25,_0x431c5c);}await _0x52421f(_0x4cd921,_0x2361bd),await _0x23c645(_0x4cd921,_0x3ae320);}function createFileNewTool(_0x4e7ad2={}){const _0x3cc238={_0x496ee0:0x10e,_0x54e247:0x5a,_0x13f6b2:0x443,_0x5d238d:0x43d,_0xc7242d:0x5a9,_0x372822:0x474,_0x4043eb:0x501,_0x4456d3:0x3f5,_0x4239c9:0x2ff,_0x390cdc:0x2f9,_0x36ba11:0x1ab,_0x2f3dc9:0x50a,_0x42b08f:0x26e,_0x73a9ae:0x2ef,_0x5adcb3:0x1ec,_0x4bb9e3:0x180,_0x16583c:0x1b,_0x4618d3:0x92,_0x2d7ad0:0xcc,_0x3049c4:0xe6,_0x384df7:0x166},_0x5c5212={_0xce198a:0x19f,_0x22e3b6:0x67,_0x2d0949:0xa4,_0xa821f1:0xb9,_0x133a19:0x8f,_0x4007b7:0xa7,_0x56b71f:0x96,_0xb40d77:0x1ac,_0x1ad3cb:0x27b,_0x5e930e:0x31f,_0x598000:0xeb,_0xc290e0:0xd5,_0x10497a:0x6b,_0x186fca:0x7c,_0x352f2f:0x323,_0xe29af1:0x166,_0x57ace4:0x72,_0x5c33ec:0xe1,_0x2656e1:0x2d,_0x46b34d:0x140,_0x14e1bc:0x2ab,_0x485878:0x2f0,_0x7c08be:0x177,_0x54dc3d:0x5},_0x3fcf9a={_0x9bab37:0x194,_0x1f9571:0x58,_0x51e8b9:0x569},_0x5d23d5={_0x32b1c0:0x63,_0x38e9e0:0xf6,_0x15a3af:0xbb},_0x11fd03={_0x2da75b:0x6,_0x4547ee:0x510},_0x34fd7b={_0x47dffe:0xe,_0x23bc74:0x20b,_0x11f915:0x68};function _0x5c7f7f(_0x113458,_0x988020,_0x55d7c2,_0x15dc45){return _0x4d9604(_0x113458-_0x34fd7b._0x47dffe,_0x15dc45,_0x55d7c2-_0x34fd7b._0x23bc74,_0x15dc45-_0x34fd7b._0x11f915);}const _0x507d67=_0x582161['resolve'](_0x4e7ad2[_0x56cd80(-0x1a3,_0x3cc238._0x496ee0,-_0x3cc238._0x54e247,-0x18e)]??process[_0x5c7f7f(_0x3cc238._0x13f6b2,0x4c6,_0x3cc238._0x5d238d,_0x3cc238._0xc7242d)]()),_0x233e38=(_0x4e7ad2[_0x5c7f7f(0x5dd,_0x3cc238._0x372822,0x525,_0x3cc238._0x4043eb)]??[])[_0x5c7f7f(0x54d,0x517,_0x3cc238._0x4456d3,_0x3cc238._0x4239c9)](_0x500f80=>_0x582161['resolve'](_0x500f80)),_0x4f00e7=_0x4e7ad2[_0x5c7f7f(0x3f2,0x413,_0x3cc238._0x390cdc,_0x3cc238._0x36ba11)]??_0x5c7f7f(_0x3cc238._0x2f3dc9,0x369,0x499,0x341);function _0x56cd80(_0x150543,_0x10601c,_0x4ba407,_0x190461){return _0x2853b9(_0x150543-_0x11fd03._0x2da75b,_0x10601c-0x136,_0x4ba407- -_0x11fd03._0x4547ee,_0x10601c);}return defineTool({'name':_0x4f00e7,'description':_0x5c7f7f(0x32d,_0x3cc238._0x42b08f,_0x3cc238._0x73a9ae,0x261),'inputSchema':{'type':_0x5c7f7f(_0x3cc238._0x5adcb3,0x2eb,0x2a1,0x256),'properties':{'filePath':{'type':_0x56cd80(-0xae,-0x1ef,-0xc9,-_0x3cc238._0x4bb9e3)},'content':{'type':'string'}},'required':[_0x56cd80(-_0x3cc238._0x16583c,_0x3cc238._0x4618d3,_0x3cc238._0x2d7ad0,0x46),_0x56cd80(0x21d,0x32,_0x3cc238._0x3049c4,_0x3cc238._0x384df7)]},async *'execute'(_0x1684b2){const _0x19e8f7=resolveAllowedPath(_0x507d67,_0x233e38,_0x1684b2[_0x2f5959(-_0x5c5212._0xce198a,-0x8c,_0x5c5212._0x22e3b6,_0x5c5212._0x2d0949)]),_0x2abd17=await _0x54cf17(_0x19e8f7)[_0x2f5959(-0xb3,-_0x5c5212._0xa821f1,-_0x5c5212._0x133a19,-_0x5c5212._0x4007b7)](()=>!![])[_0x2f5959(-_0x5c5212._0x56b71f,-0x55,0xc5,-_0x5c5212._0xb40d77)](()=>![]),_0x5b0a31=Buffer[_0x2f5959(-0x34f,-_0x5c5212._0x1ad3cb,-0x19b,-0x27c)](_0x1684b2['content'],_0x5aa6bb(_0x5c5212._0x5e930e,0x1eb,0x1aa,_0x5c5212._0x598000));function _0x5aa6bb(_0x4490b2,_0x2d8cba,_0x191bac,_0x4704aa){return _0x5c7f7f(_0x4490b2-_0x5d23d5._0x32b1c0,_0x2d8cba-_0x5d23d5._0x38e9e0,_0x2d8cba- -_0x5d23d5._0x15a3af,_0x4490b2);}await atomicWrite2(_0x19e8f7,_0x5b0a31),yield createToolOutput(_0x2f5959(_0x5c5212._0xc290e0,-_0x5c5212._0x10497a,-_0x5c5212._0x186fca,0xae)+_0x1684b2['filePath']+'.',{'filePath':_0x1684b2[_0x2f5959(-0x41,-0x8c,-0xcb,-0x1b6)],'resolvedPath':_0x19e8f7,'bytes':_0x5b0a31[_0x5aa6bb(0x338,0x32e,_0x5c5212._0x352f2f,0x233)],'lines':_0x1684b2[_0x2f5959(-_0x5c5212._0xe29af1,-_0x5c5212._0x57ace4,_0x5c5212._0x5c33ec,_0x5c5212._0x2656e1)][_0x5aa6bb(0x298,0x24f,_0x5c5212._0x46b34d,0x134)](/\r?\n/)[_0x2f5959(-0x155,-0x180,-_0x5c5212._0x14e1bc,-_0x5c5212._0x485878)],'created':new Date()[_0x2f5959(-0x1b1,-_0x5c5212._0x7c08be,-0x277,-_0x5c5212._0x54dc3d)](),'overwritten':_0x2abd17});function _0x2f5959(_0x1d2884,_0x47b307,_0xb0676a,_0x7d14f1){return _0x5c7f7f(_0x1d2884-_0x3fcf9a._0x9bab37,_0x47b307-_0x3fcf9a._0x1f9571,_0x47b307- -_0x3fcf9a._0x51e8b9,_0x7d14f1);}return void 0x0;}});}import{readFile as _0x30a638,stat as _0x95508b}from'fs/promises';import*as _0x3ae4e5 from'path';function stripUtfBom(_0x10ca68){const _0xd4c638={_0x3cd996:0x60f},_0x2e109b={_0x59d944:0x61};function _0x28d21c(_0x3649d5,_0x27fef0,_0x38ca75,_0x2dfa8d){return _0x2853b9(_0x3649d5-_0x2e109b._0x59d944,_0x27fef0-0x1b2,_0x38ca75-0x94,_0x27fef0);}return _0x10ca68[_0x28d21c(0x48b,0x6c4,0x5fc,_0xd4c638._0x3cd996)](0x0)===0xfeff?_0x10ca68['slice'](0x1):_0x10ca68;}function clampLine(_0x51ec31,_0x155472){const _0x3d925e={_0x202293:0x2b,_0x518952:0x32,_0x4a97a5:0x1d0,_0x2a6d62:0x33b,_0x470b46:0xfa,_0x25878b:0x162,_0xfe6af6:0x36},_0x3168f7={_0x5cf3db:0xbb};function _0xdf5cab(_0x49bae2,_0x3f3663,_0x7150d9,_0x46763f){return _0x4d9604(_0x49bae2-0xaf,_0x49bae2,_0x3f3663- -0xe9,_0x46763f-0xed);}function _0xe44304(_0x31f706,_0x3c1efa,_0x488275,_0x609671){return _0x4d9604(_0x31f706-_0x3168f7._0x5cf3db,_0x609671,_0x3c1efa- -0x27a,_0x609671-0xc2);}if(!Number[_0xdf5cab(-0x5d,_0x3d925e._0x202293,0x152,-_0x3d925e._0x518952)](_0x51ec31))return 0x1;return Math[_0xe44304(-0x262,-_0x3d925e._0x4a97a5,-_0x3d925e._0x2a6d62,-0x5f)](0x1,Math[_0xdf5cab(_0x3d925e._0x470b46,0xe4,_0x3d925e._0x25878b,_0x3d925e._0xfe6af6)](Math['trunc'](_0x51ec31),_0x155472));}function createFileReadTool(_0x5ae048={}){const _0xdf7e63={_0x2710bd:0x57,_0x3c340c:0x82,_0x76780a:0xad,_0x2eb143:0x164,_0x2052c1:0x2e9,_0x8cf291:0x2e2,_0x2b0df3:0x204,_0x223c45:0x15,_0x253ae0:0x59,_0x2cbecb:0xe2,_0x385324:0x4b,_0x48d977:0x173,_0x11e3fa:0x1,_0xc19c07:0xce,_0x99be5a:0x264,_0x1e16a5:0x1e1},_0x3a511f={_0x120d85:0x2e2,_0x30751f:0x57c,_0x3baec2:0x688,_0xf2fdbf:0x768,_0x4c0a77:0x3de,_0x4c3f13:0x2e2,_0x3cda03:0x55a,_0xccd9e0:0x470,_0x360a34:0x1a,_0x4ce019:0x57,_0x44018c:0x57,_0x244c2d:0x34b,_0x58d57f:0x344,_0x2f3e7f:0x261,_0x52279d:0x4c1,_0x5bb046:0x50b,_0x438d60:0x13,_0x4aad91:0x143,_0x4e454f:0x2e5,_0x1acc22:0x1b4,_0x1259b6:0x122,_0x59d4e5:0x176,_0x3cf1f9:0x149,_0x34670a:0xfd,_0x581bed:0x5aa,_0xa87574:0x6cb,_0x58a059:0x67d,_0x111606:0x60e,_0x333a01:0x4c4,_0x34718d:0x6e8,_0xe3bbea:0x484,_0x21e351:0x2ad,_0x5af2c8:0x1ab,_0x45f3f9:0x2d1,_0x11126a:0x5da,_0x17c55b:0x561,_0x3e30b8:0x1e5,_0x331dd1:0x111,_0x4095b8:0x77,_0x227c10:0x62,_0x5a0067:0x2e9,_0x6fa6d2:0x5f3,_0x1f6d09:0x12f,_0x1534a5:0x1ab},_0x3442da={_0x5d83ce:0x1f1,_0x351bcb:0x1aa},_0x53953e={_0x5ef567:0xb0};function _0x20bdb2(_0x98577d,_0xd05c08,_0x4c450e,_0x4f8267){return _0x4d9604(_0x98577d-0xd7,_0xd05c08,_0x4c450e- -0x134,_0x4f8267-_0x53953e._0x5ef567);}const _0x541963=_0x3ae4e5[_0x40e3ca(-_0xdf7e63._0x2710bd,0x74,_0xdf7e63._0x3c340c,0xdb)](_0x5ae048[_0x20bdb2(0x186,-_0xdf7e63._0x76780a,0x78,0x155)]??process[_0x40e3ca(_0xdf7e63._0x2eb143,0x128,-0x10,0x63)]());function _0x40e3ca(_0x2cd20c,_0x655590,_0x75f7f3,_0x580c94){return _0x2853b9(_0x2cd20c-0x184,_0x655590-0x2,_0x580c94- -0x4d9,_0x655590);}const _0xdb033e=(_0x5ae048[_0x20bdb2(_0xdf7e63._0x2052c1,_0xdf7e63._0x8cf291,0x1e6,_0xdf7e63._0x2b0df3)]??[])[_0x40e3ca(-0x32,-0x3f,_0xdf7e63._0x223c45,0x1b)](_0x2a7d1a=>_0x3ae4e5[_0x40e3ca(-0xe,0x1de,-0x1d,0xdb)](_0x2a7d1a)),_0x255f42=_0x5ae048[_0x20bdb2(_0xdf7e63._0x253ae0,-0xf1,-0x46,_0xdf7e63._0x2cbecb)]??'FileRead';return defineTool({'name':_0x255f42,'description':_0x40e3ca(-_0xdf7e63._0x385324,-_0xdf7e63._0x48d977,0xd6,-0x8),'inputSchema':{'type':_0x40e3ca(-0x16c,-0x5,-0x113,-0x139),'properties':{'path':{'type':_0x20bdb2(-0xd9,-0x112,0x9,-0x130)},'lineStart':{'type':_0x40e3ca(0x2e1,_0xdf7e63._0x11e3fa,0x51,0x16c),'description':_0x20bdb2(_0xdf7e63._0xc19c07,-0x4c,0x17,0x161)},'lineEnd':{'type':_0x40e3ca(0x19,0x242,0x19e,0x16c),'description':'Stop\x20reading\x20at\x20this\x20line\x20number\x20(1-based)'}},'required':[_0x20bdb2(_0xdf7e63._0x99be5a,0x268,_0xdf7e63._0x1e16a5,0x327)]},async *'execute'(_0x27473e){const _0x138681={_0x3cc115:0x46,_0x40eb53:0x162},_0x4d7b18=resolveAllowedPath(_0x541963,_0xdb033e,_0x27473e[_0x3d4166(0x30c,0x2ac,_0x3a511f._0x120d85,0x315)]);await assertWorkspaceFile(_0x4d7b18);const _0x584c8d=await _0x95508b(_0x4d7b18),_0x502252=await _0x30a638(_0x4d7b18);function _0x47f025(_0x13f6f1,_0x56d12b,_0x3eb569,_0xcbf3e1){return _0x40e3ca(_0x13f6f1-_0x3442da._0x5d83ce,_0xcbf3e1,_0x3eb569-_0x3442da._0x351bcb,_0x56d12b-0x59b);}if(isProbablyBinary(_0x502252))throw new ToolExecutionError(_0x47f025(0x7d4,0x6d2,0x664,0x66f)+_0x27473e[_0x47f025(_0x3a511f._0x30751f,0x6e1,_0x3a511f._0x3baec2,_0x3a511f._0xf2fdbf)],{'path':_0x27473e[_0x3d4166(_0x3a511f._0x4c0a77,0x27e,_0x3a511f._0x4c3f13,0x205)]});let _0x150c77=_0x502252[_0x47f025(0x3e7,_0x3a511f._0x3cda03,_0x3a511f._0xccd9e0,0x678)]('utf8');const _0x119bac=_0x150c77['charCodeAt'](0x0)===0xfeff;_0x150c77=stripUtfBom(_0x150c77);const _0x1b5c2b=_0x150c77[_0x3d4166(_0x3a511f._0x360a34,_0x3a511f._0x4ce019,0xcc,-_0x3a511f._0x44018c)](/\r?\n/),_0x254519={'path':_0x27473e[_0x3d4166(_0x3a511f._0x244c2d,_0x3a511f._0x58d57f,_0x3a511f._0x4c3f13,_0x3a511f._0x2f3e7f)],'resolvedPath':_0x4d7b18,'created':_0x584c8d[_0x47f025(0x5ae,_0x3a511f._0x52279d,0x483,_0x3a511f._0x5bb046)]['toISOString'](),'modified':_0x584c8d[_0x3d4166(_0x3a511f._0x438d60,0x29d,_0x3a511f._0x4aad91,0x40)][_0x3d4166(0x108,_0x3a511f._0x4e454f,_0x3a511f._0x1acc22,0x209)](),'size':_0x584c8d[_0x3d4166(_0x3a511f._0x1259b6,0xbd,0x8f,_0x3a511f._0x59d4e5)],'encoding':'utf8','bomStripped':_0x119bac,'truncated':![],'totalLines':_0x1b5c2b['length']};if(_0x27473e['lineStart']!==void 0x0||_0x27473e[_0x3d4166(_0x3a511f._0x3cf1f9,_0x3a511f._0x34670a,0x20d,0x2de)]!==void 0x0){const _0x1b3d5e=clampLine(_0x27473e['lineStart']??0x1,_0x1b5c2b[_0x47f025(0x58b,_0x3a511f._0x581bed,_0x3a511f._0xa87574,_0x3a511f._0x58a059)]),_0x38b3db=clampLine(_0x27473e[_0x47f025(_0x3a511f._0x111606,0x60c,0x676,_0x3a511f._0x333a01)]??_0x1b5c2b[_0x47f025(0x699,0x5aa,_0x3a511f._0x34718d,_0x3a511f._0xe3bbea)],_0x1b5c2b[_0x3d4166(0x161,_0x3a511f._0x21e351,_0x3a511f._0x5af2c8,_0x3a511f._0x45f3f9)]),_0x10c574=Math[_0x47f025(_0x3a511f._0x11126a,0x599,0x52d,_0x3a511f._0x17c55b)](_0x1b3d5e,_0x38b3db),_0x34c705=Math[_0x3d4166(_0x3a511f._0x3e30b8,_0x3a511f._0x331dd1,_0x3a511f._0x4095b8,_0x3a511f._0x227c10)](_0x1b3d5e,_0x38b3db),_0x51c22a=_0x1b5c2b[_0x3d4166(0xe4,0x25e,0x232,_0x3a511f._0x5a0067)](_0x10c574-0x1,_0x34c705)['map']((_0x4b1ce3,_0x18e3e1)=>_0x10c574+_0x18e3e1+'|'+_0x4b1ce3)[_0x47f025(0x4d4,_0x3a511f._0x6fa6d2,0x5c2,0x4fe)]('\x0a');return yield createToolOutput(_0x51c22a,{..._0x254519,'lineRange':{'lineStart':_0x10c574,'lineEnd':_0x34c705,'linesTotal':_0x1b5c2b[_0x3d4166(_0x3a511f._0x1f6d09,0xf7,_0x3a511f._0x1534a5,0x86)]}}),void 0x0;}yield createToolOutput(_0x150c77,_0x254519);function _0x3d4166(_0x890549,_0x190fa2,_0x532158,_0x20107b){return _0x20bdb2(_0x890549-_0x138681._0x3cc115,_0x190fa2,_0x532158-0x101,_0x20107b-_0x138681._0x40eb53);}return void 0x0;}});}import{stat as _0x886211}from'fs/promises';import*as _0x4e8b43 from'path';import{execSync,spawn as _0x365dcf}from'child_process';import{existsSync}from'fs';import{stat as _0x50cbdc}from'fs/promises';import*as _0x4e4f77 from'os';import*as _0x3f3dce from'path';import{rgPath as _0x3ad665}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x2e3515={_0x70117d:0x55,_0x25feab:0x1b1,_0x4a091f:0x315,_0x184a4a:0x420,_0x5533ae:0x245,_0x811206:0xd,_0x42d691:0x10a,_0x39ecbe:0x29f,_0x15993c:0x20c,_0x58ac75:0xdb,_0x523ea7:0x162,_0x553eb6:0x37c,_0x17c652:0x558,_0x25caf7:0x45b,_0x34987d:0xb4,_0x454768:0xf,_0x5b5ca5:0x1f9,_0x2e0634:0x99,_0x49aa79:0x7b,_0x268e78:0x19,_0x50fdea:0x124,_0x5c4d3e:0x19f,_0x2c593d:0x20e,_0x12567d:0x1ef,_0x15ff36:0x192,_0x2d0243:0x85,_0x575120:0x9e,_0xb56ac:0xf8,_0x10c738:0x2e3,_0x28f09c:0x2f8,_0x5a12ca:0x171,_0x2762de:0x50,_0x229708:0x3ff,_0x3dce83:0x4d5,_0x3566e5:0x4c5,_0x5270dc:0x247,_0xf141ef:0xee,_0x311273:0x4ae},_0x2bef9b={_0x188c87:0x21c},_0x25b510={_0x15d8d1:0x8b,_0x4348e4:0x18e};function _0x158fe2(_0x149ebf,_0x5e8279,_0x5103dd,_0x5b672d){return _0x4d9604(_0x149ebf-_0x25b510._0x15d8d1,_0x5103dd,_0x149ebf- -_0x25b510._0x4348e4,_0x5b672d-0xab);}const _0x88fe99=_0x4e4f77[_0x158fe2(-0x10d,_0x2e3515._0x70117d,-0x12,-_0x2e3515._0x25feab)]()==='win32',_0x49c8cd=_0x88fe99?[_0x3f3dce[_0x230534(_0x2e3515._0x4a091f,_0x2e3515._0x184a4a,_0x2e3515._0x5533ae,0x2d2)](process[_0x158fe2(-0xf9,-_0x2e3515._0x811206,-_0x2e3515._0x42d691,-0x15e)][_0x158fe2(0x1ac,0x75,0x1e9,0x13e)]||'','Microsoft',_0x230534(_0x2e3515._0x39ecbe,0x234,0x186,_0x2e3515._0x15993c),'Packages'),_0x3f3dce[_0x158fe2(0x99,0x7e,0x1c2,-_0x2e3515._0x70117d)](process[_0x230534(0x183,_0x2e3515._0x58ac75,0x22a,_0x2e3515._0x523ea7)][_0x230534(0x425,_0x2e3515._0x553eb6,0x2eb,_0x2e3515._0x17c652)]||'',_0x230534(0x2fe,0x214,_0x2e3515._0x25caf7,0x269),_0x158fe2(-_0x2e3515._0x34987d,_0x2e3515._0x454768,-_0x2e3515._0x5b5ca5,-0x17b)),_0x3f3dce[_0x158fe2(_0x2e3515._0x2e0634,_0x2e3515._0x49aa79,-0x75,-0x15)](process[_0x158fe2(-0xf9,0x39,_0x2e3515._0x268e78,-0x72)][_0x158fe2(_0x2e3515._0x50fdea,0x119,_0x2e3515._0x5c4d3e,0x43)]||'',_0x230534(0x2fe,_0x2e3515._0x2c593d,0x1e9,0x302),_0x158fe2(-0xb4,-_0x2e3515._0x12567d,-_0x2e3515._0x15ff36,0x9))]:[_0x158fe2(0x1b3,_0x2e3515._0x2d0243,_0x2e3515._0x575120,_0x2e3515._0xb56ac),_0x230534(_0x2e3515._0x10c738,0x31b,0x2f5,_0x2e3515._0x28f09c),'/usr/bin/rg',_0x230534(_0x2e3515._0x5a12ca,0x288,_0x2e3515._0x2762de,0xae)];for(const _0x4f67cc of _0x49c8cd){if(existsSync(_0x4f67cc))return _0x4f67cc;}try{const _0x1b1e0c=_0x88fe99?_0x230534(_0x2e3515._0x229708,_0x2e3515._0x3dce83,_0x2e3515._0x28f09c,_0x2e3515._0x3566e5):_0x158fe2(0x168,-0x6,_0x2e3515._0x5270dc,0x0),_0x5c0db5=execSync(_0x1b1e0c,{'encoding':'utf8','stdio':[_0x230534(0x2db,0x18f,0x3b8,0x251),_0x158fe2(0x5f,-_0x2e3515._0xf141ef,-0x86,-0x82),_0x230534(0x36c,0x455,_0x2e3515._0x311273,0x303)]})['trim']()['split'](/\r?\n/)[0x0];if(_0x5c0db5&&existsSync(_0x5c0db5))return _0x5c0db5;}catch{return null;}function _0x230534(_0x1b3115,_0x3e95ba,_0x29d5c3,_0x890851){return _0x2853b9(_0x1b3115-0xf3,_0x3e95ba-0x1e5,_0x1b3115- -_0x2bef9b._0x188c87,_0x890851);}return null;}async function filepath(){const _0x5786d7={_0x9f68b6:0x3cf},_0x18ef3e={_0x492737:0x16e};if(cachedRgPath)return cachedRgPath;if(_0x3ad665&&existsSync(_0x3ad665))return cachedRgPath=_0x3ad665,_0x3ad665;const _0x36eb9b=findSystemRipgrep();if(!_0x36eb9b)throw new Error(_0x40d0ec(0x439,0x364,_0x5786d7._0x9f68b6,0x347));cachedRgPath=_0x36eb9b;function _0x40d0ec(_0x43a80a,_0x4f0f70,_0x52c8b7,_0xedf832){return _0x4d9604(_0x43a80a-0x4f,_0x52c8b7,_0xedf832-_0x18ef3e._0x492737,_0xedf832-0x10a);}return _0x36eb9b;}async function*files(_0x38fa0b){const _0x12a22f={_0x4f7b16:0x1fd,_0x21e773:0x3f3,_0x589845:0x44b,_0xfb8a11:0x252,_0x2237ec:0x200,_0x24d68f:0x212,_0x557f56:0x3e7,_0x2dfd2c:0x546,_0x22c376:0x402,_0x4c17b5:0x291,_0x4c167b:0x64,_0x29886a:0xab,_0x478688:0x26b,_0xb3b2d9:0x25f,_0x3b1382:0x3e5,_0x54ed3a:0x374,_0x46d185:0x49e,_0x17633a:0xc7,_0x425bfe:0x231,_0x2929f5:0x28f,_0x2b983f:0x310,_0x1e2892:0x2b6,_0x5097ba:0x241,_0x427c77:0x2eb,_0x5121e7:0x1da,_0x2bd7bc:0x4a6,_0x11abaf:0x366,_0x53e560:0x480,_0x16185:0x390},_0x4a9f0d={_0x3e9e3f:0x9a,_0x3a0309:0xcb,_0x390350:0x67b},_0x1d4211={_0x1cc110:0x28},_0x1739ec=await filepath();function _0x1b66d3(_0x2ec06d,_0x492321,_0x4ec7c1,_0x49ea38){return _0x2853b9(_0x2ec06d-0xcb,_0x492321-_0x1d4211._0x1cc110,_0x492321- -0x1c8,_0x49ea38);}const _0x1813d4=await _0x50cbdc(_0x38fa0b[_0x5758d7(-0x102,-0x1a,-_0x12a22f._0x4f7b16,-0x13f)])[_0x1b66d3(_0x12a22f._0x21e773,_0x12a22f._0x589845,0x473,0x38a)](()=>null);function _0x5758d7(_0x350121,_0x392cc0,_0x2953a6,_0x4e2f87){return _0x2853b9(_0x350121-_0x4a9f0d._0x3e9e3f,_0x392cc0-_0x4a9f0d._0x3a0309,_0x4e2f87- -_0x4a9f0d._0x390350,_0x350121);}if(!_0x1813d4?.[_0x5758d7(-0x283,-0x174,-_0x12a22f._0xfb8a11,-0x291)]())throw Object[_0x1b66d3(_0x12a22f._0x2237ec,0x24e,_0x12a22f._0x24d68f,0x264)](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0x38fa0b[_0x1b66d3(0x3be,0x374,_0x12a22f._0x557f56,0x3db)]+'\x27'),{'code':'ENOENT'});const _0x284542=['--files',_0x1b66d3(_0x12a22f._0x2dfd2c,_0x12a22f._0x22c376,_0x12a22f._0x4c17b5,0x56a),_0x5758d7(-0x1dc,-0xb0,_0x12a22f._0x4c167b,-_0x12a22f._0x29886a),'--glob=!.git/*'];for(const _0xec4e9b of _0x38fa0b[_0x1b66d3(0x3c6,0x381,0x471,_0x12a22f._0x478688)]??[]){_0x284542[_0x5758d7(-0x19d,-0xf8,-_0x12a22f._0xb3b2d9,-0x23b)]('--glob='+_0xec4e9b);}const _0x274093=_0x365dcf(_0x1739ec,_0x284542,{'cwd':_0x38fa0b[_0x1b66d3(_0x12a22f._0x3b1382,_0x12a22f._0x54ed3a,_0x12a22f._0x46d185,0x47d)],'stdio':[_0x5758d7(-_0x12a22f._0x17633a,-_0x12a22f._0x425bfe,-0x234,-0xf3),'pipe',_0x5758d7(-0x1ac,-_0x12a22f._0x2929f5,-0x28a,-0x184)]});let _0x4293c8='';for await(const _0x502ba8 of _0x274093[_0x1b66d3(_0x12a22f._0x2b983f,0x45e,0x397,0x54b)]??[]){_0x4293c8+=_0x502ba8[_0x5758d7(-0x135,-0x117,-_0x12a22f._0x1e2892,-0x1e3)]();const _0x10fdc4=_0x4293c8[_0x1b66d3(0x339,_0x12a22f._0x5097ba,_0x12a22f._0x427c77,0x125)](/\r?\n/);_0x4293c8=_0x10fdc4[_0x5758d7(-0x128,-0x289,-0x2c4,-_0x12a22f._0x5121e7)]()??'';for(const _0x1b414a of _0x10fdc4){if(_0x1b414a['length']>0x0)yield _0x1b414a;}}_0x4293c8[_0x1b66d3(0x450,0x480,_0x12a22f._0x2bd7bc,_0x12a22f._0x11abaf)]()['length']>0x0&&(yield _0x4293c8[_0x1b66d3(0x534,_0x12a22f._0x53e560,_0x12a22f._0x16185,0x341)]());}function _0x2853b9(_0x483f07,_0x486bb5,_0x25739e,_0x24e601){return _0x1b39(_0x25739e-0x2c4,_0x24e601);}function parseMatchLine(_0x3d7a82,_0x51b5b7){const _0x26b3b4={_0x3dab45:0x168,_0x565041:0x189,_0x53a8a5:0x1f,_0x2e651f:0xb0,_0x59dc18:0x75,_0x19781f:0x12c,_0x311d29:0xcc,_0x11910d:0x76,_0x40f0cd:0xae,_0x2a30ed:0x1f0,_0x3b0359:0x60,_0x49a290:0x12c,_0x156228:0xfc,_0xc6b9d6:0x59,_0x24bfd5:0x3,_0x8315c5:0xab,_0x41c66e:0xd9,_0x337d4b:0x10d,_0x2d61a1:0x16a,_0x2280c5:0x7f},_0x4130fa={_0x1883d5:0x1ce},_0x1088b1={_0x221448:0xfd,_0x15f52a:0x543};if(!_0x3d7a82||_0x3d7a82==='--')return null;const _0x38a50c=_0x3d7a82['split']('|');if(_0x51b5b7&&_0x38a50c[_0x995d28(-_0x26b3b4._0x3dab45,-0xd0,-_0x26b3b4._0x565041,-0x5b)]>=0x4&&Number['isFinite'](Number[_0x995d28(0x3,-0x40,0x8,_0x26b3b4._0x53a8a5)](_0x38a50c[0x2]??'',0xa))){const _0x12fd15=Number['parseInt'](_0x38a50c[0x1]??'',0xa);if(!Number[_0x4c523a(-_0x26b3b4._0x2e651f,-_0x26b3b4._0x59dc18,-_0x26b3b4._0x19781f,-_0x26b3b4._0x311d29)](_0x12fd15)||!_0x38a50c[0x0])return null;return{'filePath':_0x38a50c[0x0],'lineNum':_0x12fd15,'lineText':_0x38a50c[_0x995d28(-0x41,-_0x26b3b4._0x11910d,-_0x26b3b4._0x40f0cd,0x2c)](0x3)[_0x4c523a(_0x26b3b4._0x2a30ed,0x9e,0xbb,0x129)]('|')};}function _0x995d28(_0x478b3a,_0x5aa53b,_0xd0f52b,_0x36a24f){return _0x2853b9(_0x478b3a-0xc5,_0x5aa53b-_0x1088b1._0x221448,_0x36a24f- -_0x1088b1._0x15f52a,_0x478b3a);}function _0x4c523a(_0x7fedd7,_0x26d001,_0x3352fa,_0x170855){return _0x4d9604(_0x7fedd7-_0x4130fa._0x1883d5,_0x170855,_0x26d001- -0x189,_0x170855-0x137);}if(_0x38a50c[_0x4c523a(_0x26b3b4._0x3b0359,0x55,0xc8,_0x26b3b4._0x49a290)]>=0x3){const _0x19f0d3=Number[_0x4c523a(0x1f,0xcf,_0x26b3b4._0x156228,-_0x26b3b4._0xc6b9d6)](_0x38a50c[0x1]??'',0xa);if(!Number[_0x4c523a(_0x26b3b4._0x24bfd5,-0x75,-_0x26b3b4._0x8315c5,_0x26b3b4._0x41c66e)](_0x19f0d3)||!_0x38a50c[0x0])return null;return{'filePath':_0x38a50c[0x0],'lineNum':_0x19f0d3,'lineText':_0x38a50c[_0x4c523a(0x40,0xdc,_0x26b3b4._0x337d4b,-0x61)](0x2)[_0x4c523a(_0x26b3b4._0x2d61a1,0x9e,-_0x26b3b4._0x2280c5,-0x90)]('|'),..._0x51b5b7?{'isContext':!![]}:{}};}return null;}async function search(_0x1538f9){const _0x1378c5={_0x2830bd:0x5c8,_0x199262:0x75c,_0x39fb4a:0x604,_0x47a936:0x389,_0x177e62:0x335,_0x32fd71:0x65b,_0xec4cfa:0x487,_0x322b01:0x3ce,_0x167419:0x48d,_0x222a2e:0x310,_0x3b5978:0x451,_0xd27abf:0x633,_0x380e63:0x4c2,_0x340636:0x6d0,_0x393a43:0x671,_0x149980:0x43a,_0xa96001:0x4eb,_0x581dc5:0x4e1,_0x1fc074:0x532,_0xb305c1:0x664,_0x32817f:0x552,_0x1f2e0c:0x64d,_0x4188d0:0x648,_0x147386:0x5ba,_0x46484c:0x571,_0x4289c3:0x4a7,_0x2fa875:0x759,_0x315918:0x66c,_0x3124b0:0x616,_0x1e41d8:0x50e,_0x4b83ca:0x4ab,_0x57d1cf:0x425,_0x2a4f84:0x4dd,_0x3739e8:0x4b0,_0x1f2aac:0x4ae,_0x1d876e:0x5eb,_0x16e76a:0x504},_0x56a791={_0x5ccd8e:0x632,_0xbe0bc2:0x2f5,_0x33afec:0x5a8,_0x28493d:0x5e9,_0x1a9f64:0x392,_0x39c0d9:0x718,_0x26c30f:0x3c1,_0x36a4ab:0x367,_0x22841d:0x2b5,_0x39da4d:0x262,_0x2e0dd7:0x512},_0x3e1e89={_0x4dad37:0x138,_0x44f2fa:0x242,_0x27b7d1:0x1c8,_0x2b1b32:0x7b,_0x1e1e05:0x2e4,_0x325fc9:0x1be,_0x2346df:0x230,_0x1d34df:0x331},_0x1fbe17={_0x17bfe7:0x96,_0x12e7bd:0x4e},_0x521d0d=await filepath();if(_0x1538f9['file']){const _0x3b4e55=await _0x50cbdc(_0x1538f9[_0x283a3a(_0x1378c5._0x2830bd,_0x1378c5._0x199262,0x55e,_0x1378c5._0x39fb4a)])[_0x18f0f6(0x76d,0x6d3,0x768,0x661)](()=>null);if(!_0x3b4e55?.[_0x283a3a(0x49c,_0x1378c5._0x47a936,_0x1378c5._0x177e62,0x428)]())throw Object['assign'](new Error(_0x283a3a(_0x1378c5._0x32fd71,0x43b,_0x1378c5._0xec4cfa,0x552)+_0x1538f9['file']+'\x27'),{'code':'ENOENT'});}else{const _0x2e166a=await _0x50cbdc(_0x1538f9['cwd'])['catch'](()=>null);if(!_0x2e166a?.[_0x283a3a(_0x1378c5._0x322b01,_0x1378c5._0x167419,_0x1378c5._0x222a2e,_0x1378c5._0x3b5978)]())throw Object['assign'](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0x1538f9[_0x18f0f6(_0x1378c5._0xd27abf,_0x1378c5._0x380e63,0x6b1,0x58a)]+'\x27'),{'code':'ENOENT'});}const _0x29611e=[_0x283a3a(_0x1378c5._0x340636,0x55b,0x65c,_0x1378c5._0x393a43),_0x283a3a(0x4d9,_0x1378c5._0x149980,_0x1378c5._0xa96001,_0x1378c5._0x581dc5),_0x18f0f6(0x51d,0x5a7,_0x1378c5._0x1fc074,_0x1378c5._0xb305c1),'--regexp',_0x1538f9[_0x18f0f6(0x6b7,_0x1378c5._0x32817f,0x700,_0x1378c5._0x1f2e0c)]],_0x14ab30=typeof _0x1538f9['context']===_0x283a3a(0x786,0x6f8,_0x1378c5._0x4188d0,0x6ac)&&_0x1538f9[_0x18f0f6(_0x1378c5._0x147386,0x4a3,0x59c,_0x1378c5._0x46484c)]>0x0;function _0x18f0f6(_0x5f273d,_0x3ffde9,_0x22a70e,_0x5a45a3){return _0x2853b9(_0x5f273d-_0x1fbe17._0x17bfe7,_0x3ffde9-0xed,_0x5a45a3-_0x1fbe17._0x12e7bd,_0x3ffde9);}_0x14ab30&&_0x29611e[_0x283a3a(0x4b8,0x55a,0x4cc,_0x1378c5._0x4289c3)]('-C',String(_0x1538f9['context']),_0x18f0f6(0x573,0x503,_0x1378c5._0x2fa875,_0x1378c5._0x315918));function _0x283a3a(_0x5a6837,_0x4b0d52,_0x203f5e,_0x475fbb){return _0x4d9604(_0x5a6837-0x13c,_0x203f5e,_0x475fbb-0x371,_0x475fbb-0xb5);}return _0x1538f9[_0x18f0f6(0x5d3,0x5e7,_0x1378c5._0x3124b0,0x597)]&&!_0x1538f9[_0x18f0f6(0x738,_0x1378c5._0x1e41d8,_0x1378c5._0x4b83ca,0x5eb)]&&_0x29611e['push'](_0x18f0f6(0x5aa,_0x1378c5._0x57d1cf,_0x1378c5._0x2a4f84,_0x1378c5._0x3739e8),_0x1538f9['glob']),_0x29611e[_0x283a3a(0x38e,0x534,0x3aa,0x4a7)](_0x1538f9[_0x18f0f6(0x608,0x6dc,_0x1378c5._0x1f2aac,_0x1378c5._0x1d876e)]??_0x1538f9[_0x18f0f6(0x47b,_0x1378c5._0x16e76a,0x55f,0x58a)]),await new Promise((_0xbf78ab,_0x16e9b7)=>{const _0x2900ff={_0x5f5294:0x1d4},_0xe60e5={_0x4c9cd0:0x12a,_0xedeb6b:0xa2},_0x52523e={_0x49529c:0x53,_0x162571:0x176},_0x1600a2=_0x365dcf(_0x521d0d,_0x29611e,{'cwd':_0x1538f9[_0x4cbeac(_0x56a791._0x5ccd8e,0x4e8,0x62e,0x4d7)],'stdio':[_0x42f22d(0x57e,0x3fe,0x44f,_0x56a791._0xbe0bc2),_0x4cbeac(0x4ca,_0x56a791._0x33afec,_0x56a791._0x28493d,0x6ee),_0x42f22d(_0x56a791._0x1a9f64,0x3ac,0x3be,0x431)]});let _0x19ba28='';function _0x4cbeac(_0x50029c,_0x13c992,_0x3e6cfb,_0x3d8cb0){return _0x283a3a(_0x50029c-_0x52523e._0x49529c,_0x13c992-_0x52523e._0x162571,_0x50029c,_0x3e6cfb-0x8b);}let _0x31c80a='';function _0x42f22d(_0x32f521,_0x491ebd,_0x477eb1,_0x1bdad0){return _0x283a3a(_0x32f521-_0xe60e5._0x4c9cd0,_0x491ebd-_0xe60e5._0xedeb6b,_0x1bdad0,_0x477eb1- -0x1a0);}_0x1600a2[_0x4cbeac(0x821,0x751,_0x56a791._0x39c0d9,0x855)]?.['on']('data',_0x51ebf6=>{const _0x30d5d6={_0x14ba03:0x14e,_0x5cf47c:0x443};function _0x1ba1b9(_0x4ccb3d,_0x5ce33f,_0x1ab17e,_0x33f3ba){return _0x4cbeac(_0x4ccb3d,_0x5ce33f-_0x30d5d6._0x14ba03,_0x1ab17e- -_0x30d5d6._0x5cf47c,_0x33f3ba-0x32);}_0x19ba28+=_0x51ebf6[_0x1ba1b9(0xf3,0x296,0x147,_0x2900ff._0x5f5294)]();}),_0x1600a2[_0x42f22d(_0x56a791._0x26c30f,0x268,_0x56a791._0x36a4ab,_0x56a791._0x22841d)]?.['on']('data',_0x8508d=>{_0x31c80a+=_0x8508d['toString']();}),_0x1600a2['on'](_0x42f22d(_0x56a791._0x39da4d,0x465,0x3bc,0x35c),_0x361a67=>{const _0x778df9={_0x3de053:0x12a,_0x4c1610:0x302},_0x22d14b={_0x5e03d8:0xe,_0x433352:0x111};if(_0x361a67===0x1&&_0x19ba28===''){_0xbf78ab([]);return;}function _0x445154(_0x215324,_0x33eba6,_0x301371,_0x4c42ec){return _0x4cbeac(_0x215324,_0x33eba6-_0x22d14b._0x5e03d8,_0x33eba6- -0x409,_0x4c42ec-_0x22d14b._0x433352);}if(_0x361a67!==0x0&&_0x361a67!==0x1){_0x16e9b7(new Error('ripgrep\x20failed:\x20'+_0x31c80a));return;}const _0x4411d7=_0x1538f9[_0x445154(0x181,_0x3e1e89._0x4dad37,_0x3e1e89._0x44f2fa,0xc8)]??0x64,_0x399606=[];function _0xc05e55(_0x12f0b8,_0x55c825,_0xe5143b,_0x583810){return _0x4cbeac(_0xe5143b,_0x55c825-_0x778df9._0x3de053,_0x55c825- -_0x778df9._0x4c1610,_0x583810-0xca);}for(const _0x5bd64b of _0x19ba28[_0x445154(_0x3e1e89._0x27b7d1,0xf2,_0x3e1e89._0x2b1b32,0x19a)](/\r?\n/)){if(_0x399606[_0xc05e55(0x164,0x2d8,_0x3e1e89._0x1e1e05,0x1e0)]>=_0x4411d7)break;const _0x4b7c50=parseMatchLine(_0x5bd64b,_0x14ab30);if(_0x4b7c50)_0x399606[_0xc05e55(_0x3e1e89._0x325fc9,_0x3e1e89._0x2346df,_0x3e1e89._0x1d34df,_0x3e1e89._0x27b7d1)](_0x4b7c50);}_0xbf78ab(_0x399606);}),_0x1600a2['on'](_0x4cbeac(0x553,0x5ce,_0x56a791._0x2e0dd7,0x45d),_0x16e9b7);});}function createGlobTool(_0x483a0c={}){const _0x2ce4b5={_0x1f48fc:0x2b7,_0x5a12fd:0x35a,_0x42d2e8:0x423,_0x101cec:0x1e4,_0x53b294:0x302,_0x127e4b:0x180,_0x355415:0x15e,_0x49f27d:0x173,_0x530937:0x218,_0x74f38b:0x21f,_0x59666d:0xad,_0x215eb7:0x2d4,_0x48fcb7:0x393,_0xa8f77d:0xfa,_0x137e28:0x2a1,_0x4002bf:0x1b1,_0x571406:0x253,_0x5d3d2c:0x1d1,_0x41346a:0x22d,_0x1818d3:0x302},_0x2f2e3b={_0x457938:0x4d0,_0x202db4:0x569,_0x3b28e3:0x3cf,_0x3edaa8:0x301,_0x2dc65c:0x4a1,_0x151550:0x45e,_0x31ddc2:0x544,_0x20d99e:0x68b,_0xa9f88b:0x467,_0x3e50e8:0x32e,_0x168e7e:0x320,_0xd07a9e:0x488,_0x24999f:0x2e5,_0x1535e6:0x28d,_0x8e53a1:0x422,_0x4cdf65:0x53f,_0x51651e:0x3b4,_0x2b02fa:0x427,_0x594ff9:0x2fa,_0x5ec6cc:0x5ca,_0x43ac5a:0x3f8,_0x1d6831:0x465,_0x1c2ac4:0x3b8,_0x38eea7:0x309,_0x565c24:0x284,_0x4c2b93:0x3c5,_0x366dc7:0x4a0,_0x4c6a1d:0x48f,_0x5d611f:0x518,_0x5b660d:0x4b1,_0x5edb71:0x3e1,_0x55aef0:0x39c,_0x2fb34e:0x462,_0x327114:0x491,_0xfd353d:0x324,_0x172098:0x452,_0x17aec1:0x35c,_0x227a1c:0x39f,_0x1e3894:0x2eb,_0xc8c3a1:0x419},_0x51b15f={_0x4c7bc9:0x22e,_0x36f97b:0x15b,_0x2c144c:0x4b},_0x2270b1={_0x1367c1:0x13b,_0x264ecf:0xd},_0x589a4d={_0x3d5102:0xff};function _0x15582d(_0x700b2f,_0x538c4b,_0x1105a3,_0x5480b2){return _0x2853b9(_0x700b2f-0x16f,_0x538c4b-_0x589a4d._0x3d5102,_0x538c4b- -0x69a,_0x5480b2);}const _0x35bba2=_0x4e8b43[_0xa2952c(0x2c3,_0x2ce4b5._0x1f48fc,_0x2ce4b5._0x5a12fd,_0x2ce4b5._0x42d2e8)](_0x483a0c[_0x15582d(-0x30c,-_0x2ce4b5._0x101cec,-0x343,-_0x2ce4b5._0x53b294)]??process[_0x15582d(-_0x2ce4b5._0x127e4b,-_0x2ce4b5._0x355415,-_0x2ce4b5._0x49f27d,-_0x2ce4b5._0x530937)]()),_0x427270=(_0x483a0c[_0xa2952c(0x30e,0x327,0x3c9,0x3bd)]??[])[_0x15582d(-0x2cc,-0x1a6,-0x191,-0x1d9)](_0xab5e2e=>_0x4e8b43[_0xa2952c(0x1bc,0x2b7,0x1cf,0x375)](_0xab5e2e)),_0x42d272=_0x483a0c['limit']??0x64,_0x56b267=_0x483a0c[_0x15582d(-0x238,-0x2a2,-0x15e,-_0x2ce4b5._0x74f38b)]??_0xa2952c(0x26,0xc3,_0x2ce4b5._0x59666d,0x160);function _0xa2952c(_0x105d64,_0x4d9b51,_0x56fc19,_0x40649e){return _0x4d9604(_0x105d64-_0x2270b1._0x1367c1,_0x105d64,_0x4d9b51-_0x2270b1._0x264ecf,_0x40649e-0x47);}return defineTool({'name':_0x56b267,'description':'Find\x20workspace\x20or\x20allowed\x20directory\x20files\x20matching\x20a\x20glob\x20pattern.','inputSchema':{'type':_0x15582d(-0x29b,-0x2fa,-_0x2ce4b5._0x215eb7,-_0x2ce4b5._0x48fcb7),'properties':{'pattern':{'type':_0xa2952c(_0x2ce4b5._0xa8f77d,0x14a,_0x2ce4b5._0x137e28,0x204)},'path':{'type':_0x15582d(-_0x2ce4b5._0x4002bf,-_0x2ce4b5._0x571406,-0x363,-_0x2ce4b5._0x5d3d2c)},'limit':{'type':'number'}},'required':[_0xa2952c(_0x2ce4b5._0x41346a,_0x2ce4b5._0x1818d3,0x1db,0x2df)]},async *'execute'(_0x16ed45){if(_0x16ed45[_0x1d0f40(0x3b0,0x596,_0x2f2e3b._0x457938,_0x2f2e3b._0x202db4)]['trim']()['length']===0x0)throw new ToolExecutionError(_0x4a05a8(_0x2f2e3b._0x3b28e3,_0x2f2e3b._0x3edaa8,_0x2f2e3b._0x2dc65c,_0x2f2e3b._0x151550),{});const _0x454aed=resolveAllowedPath(_0x35bba2,_0x427270,_0x16ed45['path']??'.'),_0x43dcd7=await _0x886211(_0x454aed)[_0x4a05a8(_0x2f2e3b._0x31ddc2,0x5bb,_0x2f2e3b._0x20d99e,0x505)](()=>null);if(!_0x43dcd7?.['isDirectory']())throw new ToolExecutionError('Directory\x20not\x20found:\x20'+(_0x16ed45['path']??'.'),{'path':_0x16ed45[_0x1d0f40(0x505,_0x2f2e3b._0xa9f88b,0x4f0,0x3ce)]??'.'});const _0x401db9=_0x16ed45[_0x1d0f40(_0x2f2e3b._0x3e50e8,0x28d,_0x2f2e3b._0x168e7e,_0x2f2e3b._0xd07a9e)]??_0x42d272,_0x2ecc39=Math[_0x4a05a8(_0x2f2e3b._0x24999f,0x42e,_0x2f2e3b._0x1535e6,0x176)](0x1,Math[_0x1d0f40(0x244,_0x2f2e3b._0x8e53a1,0x305,0x357)](_0x401db9)),_0x42ec59=[];let _0x58fd1d=![];for await(const _0x40ed96 of files({'cwd':_0x454aed,'glob':[_0x16ed45[_0x1d0f40(0x582,0x3cd,0x4d0,_0x2f2e3b._0x4cdf65)]]})){if(_0x42ec59[_0x1d0f40(0x4d5,0x45e,0x3b9,_0x2f2e3b._0x51651e)]>=_0x2ecc39){_0x58fd1d=!![];break;}const _0x3484c4=await _0x886211(_0x4e8b43[_0x4a05a8(0x462,0x456,_0x2f2e3b._0x2b02fa,_0x2f2e3b._0x594ff9)](_0x454aed,_0x40ed96))['catch'](()=>null);_0x42ec59[_0x4a05a8(0x371,0x427,0x301,0x26c)]({'path':_0x40ed96,'mtime':_0x3484c4?.[_0x1d0f40(_0x2f2e3b._0x5ec6cc,_0x2f2e3b._0x43ac5a,_0x2f2e3b._0x1d6831,_0x2f2e3b._0x1c2ac4)]??0x0});}_0x42ec59['sort']((_0x34ae6b,_0x1f61ac)=>_0x1f61ac[_0x4a05a8(0x3b1,0x24b,0x3b8,0x430)]-_0x34ae6b[_0x1d0f40(0x46c,0x380,0x351,0x38c)]);const _0x44f18e=_0x42ec59[_0x1d0f40(_0x2f2e3b._0x38eea7,_0x2f2e3b._0x565c24,_0x2f2e3b._0x4c2b93,_0x2f2e3b._0x366dc7)](_0x38c357=>_0x38c357['path']);function _0x4a05a8(_0x5d6390,_0x58e077,_0x5a86cf,_0x5a6677){return _0xa2952c(_0x58e077,_0x5d6390-_0x51b15f._0x4c7bc9,_0x5a86cf-_0x51b15f._0x36f97b,_0x5a6677-_0x51b15f._0x2c144c);}const _0x5de26a=_0x44f18e[_0x1d0f40(_0x2f2e3b._0x4c6a1d,_0x2f2e3b._0x5d611f,0x3b9,0x27c)]===0x0?'No\x20files\x20found\x20matching\x20pattern:\x20'+_0x16ed45[_0x1d0f40(_0x2f2e3b._0x5b660d,_0x2f2e3b._0x5edb71,0x4d0,_0x2f2e3b._0x55aef0)]:''+_0x44f18e[_0x4a05a8(_0x2f2e3b._0x2fb34e,_0x2f2e3b._0x327114,_0x2f2e3b._0xfd353d,_0x2f2e3b._0x172098)]('\x0a')+(_0x58fd1d?'\x0a(Results\x20are\x20truncated.\x20Consider\x20using\x20a\x20more\x20specific\x20path\x20or\x20pattern.)':'');function _0x1d0f40(_0x310066,_0x4d2766,_0x251c95,_0x308e63){return _0xa2952c(_0x310066,_0x251c95-0x1ce,_0x251c95-0x48,_0x308e63-0x60);}return yield createToolOutput(_0x5de26a,{'pattern':_0x16ed45[_0x1d0f40(0x506,0x47b,_0x2f2e3b._0x457938,_0x2f2e3b._0x17aec1)],'searchPath':_0x4e8b43[_0x4a05a8(_0x2f2e3b._0x227a1c,0x291,_0x2f2e3b._0x1e3894,0x460)](_0x35bba2,_0x454aed)||'.','matches':_0x44f18e,'count':_0x44f18e[_0x4a05a8(_0x2f2e3b._0xc8c3a1,0x465,0x2bf,0x414)],'truncated':_0x58fd1d}),void 0x0;}});}import{stat as _0x41fc07}from'fs/promises';import*as _0x43c34e from'path';var MAX_LINE_LENGTH=0x7d0;function createGrepTool(_0x181242={}){const _0xf755ba={_0x56af82:0x5cb,_0x1e0270:0x593,_0x5d36b8:0x542,_0x4c0846:0x5a5,_0x2fbac9:0x164,_0x20e173:0x68,_0xee5dfe:0xa3,_0x1bd85c:0x19c,_0x3c8258:0x85,_0x3018d3:0x6e1,_0x35ac32:0x699,_0x5bd776:0x65c,_0x18f115:0x6e6,_0x40310f:0x10,_0x3d3021:0x6e,_0x41e691:0x87,_0x4870ca:0xb7,_0xd185a4:0x1ff,_0x5b9406:0x3a,_0x1fcdee:0x561,_0x4a532b:0x62a,_0x4d8c9d:0x23a,_0x4fb765:0x25d,_0x5d66d6:0x821,_0x4d7efa:0x106},_0x401db5={_0x5d7244:0x283,_0x3ef85a:0x274,_0xb58b0a:0x330,_0x4e7fc2:0x1d9,_0x27a288:0x2ad,_0x4aa703:0x12d,_0x2bab12:0x200,_0x2c3d84:0x309,_0x5596b1:0x381,_0x139aad:0x23c,_0x2b91ef:0x177,_0x25980f:0x3,_0x577cdb:0x39,_0x53e73a:0x37,_0x36f7a4:0xeb,_0xdf27a2:0x310,_0x1b6ec4:0x3ee,_0x415e68:0x155,_0x4b523c:0x238,_0x269870:0x29e,_0x138003:0x335,_0x3ebaae:0x1e4,_0x31bf4b:0x35e,_0x1d6377:0x331,_0x30e6cd:0x2cd,_0x356cdb:0x3bf,_0x4df0d1:0x36c,_0x115a94:0x345,_0xceaeea:0x272,_0x204b6c:0x3ce,_0x13179b:0x45c,_0x4187cd:0x2f6,_0x1ce68d:0x285,_0x2fb432:0x205,_0x268099:0x33e,_0x257c1c:0x21c,_0x368836:0x273,_0x1265f7:0x1f3,_0x50a321:0x127,_0xdf3074:0x16f,_0x33c82b:0x1d9,_0x4ccd29:0x236,_0x55f5f2:0x365,_0x14ffb1:0x1d9,_0x11c207:0xf5,_0x4ea47f:0x1a6,_0x36fbe2:0x250,_0xa98b0b:0x67,_0x31fc4b:0x204,_0x5e7a4d:0x3ac,_0x29b931:0x298,_0x230bc9:0x2be,_0x4a01d8:0x1ed,_0x1592e1:0x2e1,_0x278a49:0x1d0,_0x4aa32f:0xb8,_0x1d45e9:0x3e0,_0x5decd1:0x244,_0x5c73a1:0x117,_0x448bd4:0x378,_0x6bb8c1:0x334,_0x34ed30:0xde,_0x52c464:0x246,_0x549dfa:0x2bd,_0x28946c:0x2ce,_0x5555c8:0x272,_0x2851b4:0x348,_0x2e7eec:0x429,_0x329c40:0x125,_0xbe28da:0xf9,_0xadeb30:0x361,_0x4fbf72:0x441,_0x456d5c:0x1e4,_0x5f5a94:0x1ef,_0x39559e:0x15b,_0x5283be:0x255,_0x592491:0x104,_0x3cdc09:0x2ea},_0x4b3b1e={_0x22ee7a:0x81,_0x12aae4:0x12e,_0x27ad8f:0x74},_0x366852={_0xead8f7:0x131},_0x359d12={_0x5cff05:0x390},_0x538706=_0x43c34e[_0x283539(0x224,0x103,0x10c,0x150)](_0x181242[_0x2f0587(_0xf755ba._0x56af82,0x5d0,0x623,_0xf755ba._0x1e0270)]??process[_0x2f0587(_0xf755ba._0x5d36b8,0x656,_0xf755ba._0x4c0846,0x524)]());function _0x283539(_0x58a1ae,_0x5d6f46,_0x738343,_0x2ef4a6){return _0x2853b9(_0x58a1ae-0x44,_0x5d6f46-0x9a,_0x58a1ae- -_0x359d12._0x5cff05,_0x2ef4a6);}const _0x63694e=(_0x181242['allowedDirs']??[])[_0x283539(_0xf755ba._0x2fbac9,0x1a2,0x68,0x18a)](_0x138118=>_0x43c34e[_0x2f0587(0x5a7,0x6ce,0x680,0x6e0)](_0x138118));function _0x2f0587(_0x235cd5,_0x5858f1,_0x485445,_0xf7208d){return _0x4d9604(_0x235cd5-0x94,_0xf7208d,_0x5858f1-0x424,_0xf7208d-_0x366852._0xead8f7);}const _0x755563=_0x181242['limit']??0x64,_0x2b365d=_0x181242[_0x283539(_0xf755ba._0x20e173,-_0xf755ba._0xee5dfe,_0xf755ba._0x1bd85c,-_0xf755ba._0x3c8258)]??_0x2f0587(_0xf755ba._0x3018d3,_0xf755ba._0x35ac32,_0xf755ba._0x5bd776,_0xf755ba._0x18f115);return defineTool({'name':_0x2b365d,'description':_0x283539(0x24a,0x376,0xdf,0x366),'inputSchema':{'type':_0x283539(_0xf755ba._0x40310f,0xa7,0x11a,0x136),'properties':{'pattern':{'type':_0x283539(0xb7,0xf8,-_0xf755ba._0x3d3021,_0xf755ba._0x41e691)},'path':{'type':_0x283539(_0xf755ba._0x4870ca,0x1f4,_0xf755ba._0xd185a4,_0xf755ba._0x5b9406)},'include':{'type':_0x2f0587(0x5e8,_0xf755ba._0x1fcdee,0x6c9,_0xf755ba._0x4a532b)},'limit':{'type':_0x283539(0x2b5,0x20c,_0xf755ba._0x4d8c9d,_0xf755ba._0x4fb765)},'context':{'type':_0x2f0587(_0xf755ba._0x5d66d6,0x75f,0x7eb,0x849)}},'required':[_0x283539(0x26f,0x138,_0xf755ba._0x4d7efa,0x302)]},async *'execute'(_0x18a156){const _0x2dedf7={_0x100e59:0x1d,_0x11bdbc:0x3b8,_0x126f49:0x14};if(_0x18a156[_0xb9c8cc(0x241,0x361,_0x401db5._0x5d7244,_0x401db5._0x3ef85a)][_0xb9c8cc(0x2c0,0x3aa,0x3c9,_0x401db5._0xb58b0a)]()[_0x2f7a5b(0xa1,_0x401db5._0x4e7fc2,0x220,_0x401db5._0x27a288)]===0x0)throw new ToolExecutionError(_0xb9c8cc(_0x401db5._0x4aa703,_0x401db5._0x2bab12,0x103,_0x401db5._0x2c3d84),{});const _0x4abc36=resolveAllowedPath(_0x538706,_0x63694e,_0x18a156[_0xb9c8cc(0x43b,_0x401db5._0x5596b1,0x4ce,0x3ea)]??'.'),_0x49987d=await _0x41fc07(_0x4abc36)[_0xb9c8cc(0x4aa,0x375,0x22e,_0x401db5._0x139aad)](()=>null),_0x26fc75=_0x49987d?.[_0x2f7a5b(-0x3c,0xb2,_0x401db5._0x2b91ef,-_0x401db5._0x25980f)]()??![],_0x5f4a19=_0x49987d?.[_0x2f7a5b(-_0x401db5._0x577cdb,0xdb,-0x7e,_0x401db5._0x53e73a)]()??![];if(!_0x26fc75&&!_0x5f4a19)throw new ToolExecutionError(_0xb9c8cc(0x10f,_0x401db5._0x36f7a4,0x222,0x54)+(_0x18a156[_0x2f7a5b(0x295,_0x401db5._0xdf27a2,0x305,_0x401db5._0x1b6ec4)]??'.'),{'path':_0x18a156['path']??'.'});function _0xb9c8cc(_0x325b0c,_0x40cd8f,_0x249c57,_0x147e07){return _0x2f0587(_0x325b0c-_0x2dedf7._0x100e59,_0x40cd8f- -_0x2dedf7._0x11bdbc,_0x249c57-_0x2dedf7._0x126f49,_0x249c57);}const _0x28ae19=_0x18a156[_0xb9c8cc(0x53,0x1b1,_0x401db5._0x415e68,_0x401db5._0x4b523c)]??_0x755563,_0x2c1fc8=Math['max'](0x1,Math['trunc'](_0x28ae19)),_0x250cc3=await search({'cwd':_0x5f4a19?_0x4abc36:_0x43c34e['dirname'](_0x4abc36),'pattern':_0x18a156[_0xb9c8cc(_0x401db5._0x269870,0x361,0x361,0x2d2)],'glob':_0x5f4a19?_0x18a156[_0x2f7a5b(_0x401db5._0x138003,_0x401db5._0x3ebaae,0x231,0x2d5)]:void 0x0,'limit':_0x2c1fc8,'file':_0x26fc75?_0x4abc36:void 0x0,'context':_0x18a156[_0x2f7a5b(0x31c,0x214,0x32b,0x247)]}),_0xde193f=new Map();for(const _0x12f44b of _0x250cc3){if(!_0xde193f[_0xb9c8cc(_0x401db5._0x31bf4b,0x34f,0x2fe,_0x401db5._0x1d6377)](_0x12f44b[_0x2f7a5b(0x1f2,_0x401db5._0x30e6cd,_0x401db5._0x356cdb,0x424)])){const _0xb98bfb=await _0x41fc07(_0x12f44b[_0xb9c8cc(0x41e,0x33e,0x20a,_0x401db5._0x4df0d1)])[_0x2f7a5b(0x3c9,0x304,_0x401db5._0x115a94,0x3c5)](()=>null);_0xde193f[_0x2f7a5b(_0x401db5._0xceaeea,0x11b,0xb6,-0x1f)](_0x12f44b[_0xb9c8cc(0x268,0x33e,_0x401db5._0x204b6c,_0x401db5._0x13179b)],{'matches':[],'mtime':_0xb98bfb?.[_0xb9c8cc(0x2b6,_0x401db5._0x4187cd,_0x401db5._0x1ce68d,0x411)]??0x0});}_0xde193f['get'](_0x12f44b[_0xb9c8cc(_0x401db5._0x2fb432,_0x401db5._0x268099,0x1e7,0x35a)])?.[_0x2f7a5b(_0x401db5._0x257c1c,0x268,_0x401db5._0x368836,_0x401db5._0x1265f7)]['push'](_0x12f44b);}const _0x3562cb=[..._0xde193f['entries']()][_0xb9c8cc(_0x401db5._0x50a321,0x1f6,0x21f,_0x401db5._0xdf3074)]((_0x3f11d3,_0x588283)=>_0x588283[0x1]['mtime']-_0x3f11d3[0x1][_0xb9c8cc(0x11d,0x1e2,0x2fe,0x27c)]),_0x18b903=_0x250cc3['filter'](_0x2766f7=>!_0x2766f7[_0x2f7a5b(0x29f,0x246,0x1e6,0x39f)])[_0x2f7a5b(0x2f1,_0x401db5._0x33c82b,0x2f6,_0x401db5._0x4ccd29)],_0x168bfa=_0x250cc3[_0xb9c8cc(0xeb,0x24a,0x148,_0x401db5._0x55f5f2)]>=_0x2c1fc8,_0x5eae38=_0x26fc75?_0x43c34e['dirname'](_0x4abc36):_0x4abc36;let _0x507290='';if(_0x250cc3[_0x2f7a5b(0x278,_0x401db5._0x14ffb1,0x31a,_0x401db5._0x11c207)]===0x0)_0x507290=_0xb9c8cc(_0x401db5._0x4ea47f,0x30f,_0x401db5._0x36fbe2,0x2ff)+_0x18a156['pattern'];else{_0x507290=_0x2f7a5b(_0x401db5._0xa98b0b,0xfc,0xa7,-0xa)+_0x18b903+_0x2f7a5b(0x28a,0x238,_0x401db5._0x31fc4b,_0x401db5._0x5e7a4d)+(_0x18b903===0x1?'':'es')+'\x0a';for(const [_0x801982,_0x255dff]of _0x3562cb){const _0x1a333e=_0x26fc75?_0x43c34e[_0xb9c8cc(0x263,_0x401db5._0x29b931,_0x401db5._0x230bc9,_0x401db5._0x4a01d8)](_0x801982):_0x43c34e[_0xb9c8cc(_0x401db5._0x1592e1,_0x401db5._0x278a49,_0x401db5._0x4aa32f,0x1c1)](_0x5eae38,_0x801982);_0x507290+='\x0a'+_0x1a333e+':\x0a';for(const _0xa3f047 of _0x255dff[_0xb9c8cc(0x2be,0x2d9,_0x401db5._0x1d45e9,_0x401db5._0x5decd1)]){const _0x2a4f4f=_0xa3f047[_0xb9c8cc(0x1a2,_0x401db5._0x5c73a1,0x1c3,0x165)][_0xb9c8cc(0x240,0x24a,_0x401db5._0x448bd4,_0x401db5._0x6bb8c1)]>MAX_LINE_LENGTH?_0xa3f047[_0xb9c8cc(0x54,0x117,_0x401db5._0x34ed30,0x8f)][_0x2f7a5b(_0x401db5._0x52c464,0x260,_0x401db5._0x549dfa,0x1e2)](0x0,MAX_LINE_LENGTH)+_0xb9c8cc(_0x401db5._0x28946c,_0x401db5._0x5555c8,0x3a5,0x184):_0xa3f047['lineText'],_0x2b5174=_0xa3f047[_0x2f7a5b(0x300,0x246,_0x401db5._0x2851b4,0x3b1)]?'\x20\x20':'>\x20';_0x507290+=_0x2b5174+'Line\x20'+_0xa3f047[_0xb9c8cc(0x350,0x373,_0x401db5._0x2e7eec,0x2db)]+':\x20'+_0x2a4f4f+'\x0a';}}_0x168bfa&&(_0x507290+='\x0a(Results\x20are\x20truncated.\x20Consider\x20using\x20a\x20more\x20specific\x20path\x20or\x20pattern.)');}const _0x1c9d4a={'searchPath':_0x43c34e[_0xb9c8cc(_0x401db5._0x329c40,_0x401db5._0x278a49,_0x401db5._0xbe28da,0x1cf)](_0x538706,_0x4abc36)||'.','pattern':_0x18a156[_0xb9c8cc(0x2ea,_0x401db5._0xadeb30,0x49f,_0x401db5._0x4fbf72)],'matchCount':_0x18b903,'fileCount':_0xde193f['size'],'truncated':_0x168bfa};_0x5f4a19&&_0x18a156[_0x2f7a5b(0x13e,_0x401db5._0x456d5c,_0x401db5._0x5f5a94,0x94)]!==void 0x0&&(_0x1c9d4a[_0xb9c8cc(_0x401db5._0x39559e,_0x401db5._0x5283be,_0x401db5._0x592491,0x1a5)]=_0x18a156[_0x2f7a5b(_0x401db5._0x3cdc09,_0x401db5._0x456d5c,0x196,0x9c)]);function _0x2f7a5b(_0x4ffd5b,_0x3ea0ff,_0x2a570f,_0xee76f6){return _0x283539(_0x3ea0ff-_0x4b3b1e._0x22ee7a,_0x3ea0ff-_0x4b3b1e._0x12aae4,_0x2a570f-_0x4b3b1e._0x27ad8f,_0x2a570f);}return yield createToolOutput(_0x507290[_0xb9c8cc(0x361,0x3aa,0x286,0x494)](),_0x1c9d4a),void 0x0;}});}function createKillShellTool(_0x122daf){const _0x3670ee={_0xcd9894:0x2a1,_0x443d31:0x3c2,_0x5f16a6:0x2c0,_0x1f39b6:0x24a,_0x55a4fc:0xa8,_0x5cb74d:0x363,_0xc6ef5f:0x2e5,_0x102e2e:0x249,_0x5969d6:0x102},_0x1d34ee={_0xacf42f:0x10f,_0x17f59a:0xb7,_0x5dbb42:0x325,_0x2b43f2:0x5f,_0x323810:0xbb,_0x3f995d:0xcc,_0x34c244:0x58,_0x52eebe:0x7d,_0x300414:0xa5,_0x2fa03e:0xe7,_0xc52ef:0x4f},_0x4ffd70={_0x436a38:0x69},_0x282667={_0x24514e:0x27f};function _0x37b963(_0x4b800c,_0x33b9be,_0x1bec31,_0x4230da){return _0x4d9604(_0x4b800c-0xe2,_0x4230da,_0x4b800c- -_0x282667._0x24514e,_0x4230da-0x59);}const {registry:_0x1a554c}=_0x122daf;function _0x3951fe(_0x33cbf0,_0x52f673,_0x43b3e6,_0x531c6b){return _0x2853b9(_0x33cbf0-0x7e,_0x52f673-0x169,_0x43b3e6- -0x66f,_0x33cbf0);}return defineTool({'name':_0x3951fe(-_0x3670ee._0xcd9894,-0x200,-0x2c3,-_0x3670ee._0x443d31),'description':_0x3951fe(-0x24a,-_0x3670ee._0x5f16a6,-_0x3670ee._0x1f39b6,-0x12a),'inputSchema':{'type':_0x37b963(-0x1e9,-0x166,-_0x3670ee._0x55a4fc,-0x1ff),'properties':{'shellId':{'type':_0x3951fe(-_0x3670ee._0x5cb74d,-0x284,-0x228,-_0x3670ee._0xc6ef5f)}},'required':[_0x37b963(-0x1a8,-_0x3670ee._0x102e2e,-0x270,-_0x3670ee._0x5969d6)]},async *'execute'(_0x252fa8){function _0x3551a1(_0x269d47,_0x17291a,_0x4313f9,_0x46c04d){return _0x37b963(_0x269d47-0x2b7,_0x17291a-0x82,_0x4313f9-0x87,_0x4313f9);}function _0x3a2522(_0xc614c,_0x1970f5,_0x4f14f1,_0xcf0e90){return _0x37b963(_0xcf0e90-0x11c,_0x1970f5-_0x4ffd70._0x436a38,_0x4f14f1-0x1f3,_0x1970f5);}const _0x238fa1=_0x1a554c[_0x3a2522(0x8e,0x187,0xd9,0x12e)](_0x252fa8[_0x3551a1(_0x1d34ee._0xacf42f,-0x4c,_0x1d34ee._0x17f59a,0x82)]);return createToolOutput('Killed\x20'+_0x252fa8['shellId']+_0x3551a1(_0x1d34ee._0x5dbb42,0x265,0x21e,0x386)+_0x238fa1['status']+').',{'shellId':_0x252fa8[_0x3a2522(-_0x1d34ee._0x2b43f2,-0x61,-_0x1d34ee._0x323810,-0x8c)],'status':_0x238fa1[_0x3a2522(0x17b,-_0x1d34ee._0x3f995d,-0xae,_0x1d34ee._0x34c244)],'exitCode':_0x238fa1[_0x3a2522(0x184,0x1d,-_0x1d34ee._0x52eebe,_0x1d34ee._0x300414)],'signal':_0x238fa1[_0x3551a1(_0x1d34ee._0x2fa03e,0x1bb,0x11e,-_0x1d34ee._0xc52ef)]});}});}import{readdir as _0x349730,readFile as _0x23f989,stat as _0xf8e5e5}from'fs/promises';import*as _0x4c0065 from'path';import*as _0x5da932 from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x5dbc72,_0xa068bd){const _0x276f2f={_0x5a9fec:0x3f3,_0x4631ca:0x278,_0x422b2a:0x333,_0x5750d9:0x25b,_0x51408a:0x197,_0x5a67ea:0x2d5,_0x2fc214:0x32e},_0x32a7a9={_0x552399:0x1cf,_0x4ad87e:0x220},_0x31813c={_0x1722aa:0x1a2,_0x2de794:0x23a,_0x57433b:0x38};if(_0xa068bd>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;function _0x4023e0(_0x51b8fc,_0x3039a3,_0x29e26a,_0x3ec4ef){return _0x4d9604(_0x51b8fc-_0x31813c._0x1722aa,_0x29e26a,_0x3ec4ef-_0x31813c._0x2de794,_0x3ec4ef-_0x31813c._0x57433b);}function _0x105703(_0x432123,_0x5e1b20,_0x4fe94d,_0x32fd3f){return _0x2853b9(_0x432123-_0x32a7a9._0x552399,_0x5e1b20-0xee,_0x5e1b20- -_0x32a7a9._0x4ad87e,_0x4fe94d);}const _0x11b063=await _0x23f989(_0x5dbc72)[_0x105703(0x3a5,_0x276f2f._0x5a9fec,0x33e,0x4f9)](()=>null);if(!_0x11b063||isProbablyBinary(_0x11b063))return void 0x0;return _0x11b063[_0x105703(0x123,_0x276f2f._0x4631ca,_0x276f2f._0x422b2a,0x2b1)](_0x4023e0(_0x276f2f._0x5750d9,_0x276f2f._0x51408a,0x3a7,_0x276f2f._0x5a67ea))[_0x4023e0(0x211,_0x276f2f._0x2fc214,0x359,0x339)](/\r?\n/)['length'];}function createLsTool(_0x38a635={}){const _0x491c76={_0x202c90:0x62,_0x449482:0x591,_0x55cad8:0x48d,_0x4f0e75:0x681,_0x563aa7:0x549,_0x61454f:0x583,_0x43dcb3:0x4c5,_0x238e47:0x3c4,_0x28f4eb:0x501,_0x11bba9:0x3ad,_0x92fa9f:0x618,_0x441a00:0x5fe},_0x414787={_0x232332:0x21f,_0x1010c6:0x279,_0x3893d3:0x1fc,_0x32647f:0x2ac,_0x230dd:0x378,_0x5bdced:0x1d1,_0x5109de:0xe3,_0x3d3283:0x40,_0x4f33c5:0x29,_0x2778a6:0x125,_0x548d57:0x1b9,_0xa7813:0x5d,_0x9b95b1:0x132,_0x13880a:0x1e1,_0x5c6a4f:0x8e,_0x5778d:0x9f,_0x7c82bb:0x33,_0xd00255:0x195,_0x4b1ffa:0xa,_0x5348ac:0x15f,_0x3d19f1:0x6d,_0x5042d4:0x7d,_0x903d84:0xb7,_0x431315:0x165,_0x534931:0x10d,_0x45c140:0x297,_0x4e3f26:0x2bb,_0x347887:0x39c,_0x1e1a72:0x178,_0x2257ef:0xcf,_0x1d6286:0x186,_0x5cb1e8:0x13a,_0x1d85d8:0x1a9,_0x202fe0:0x2a2,_0x376a09:0x18d,_0x36a17f:0x297,_0x340f03:0x2c0,_0x3cdf43:0x223,_0x4ae65d:0x2d5,_0x120b31:0x1cf,_0x14d2f7:0x131,_0x5327a7:0xb4,_0xdc9112:0x218,_0x199b99:0x86,_0x31c417:0xf7,_0x1906cf:0x100,_0x1f4271:0x1ec},_0x1d5179={_0x5036c8:0x662};function _0x595158(_0x24033a,_0x368b7e,_0x3ab382,_0x271590){return _0x2853b9(_0x24033a-0x156,_0x368b7e-0x70,_0x271590-0xd,_0x3ab382);}const _0x420ba5=_0x4c0065['resolve'](_0x38a635[_0x13bf91(-0x1d6,-_0x491c76._0x202c90,-0x186,-0x1ac)]??process[_0x595158(_0x491c76._0x449482,_0x491c76._0x55cad8,_0x491c76._0x4f0e75,_0x491c76._0x563aa7)]()),_0x10e023=(_0x38a635[_0x595158(0x4c7,_0x491c76._0x61454f,_0x491c76._0x43dcb3,0x631)]??[])[_0x595158(0x537,0x4eb,_0x491c76._0x238e47,_0x491c76._0x28f4eb)](_0x19a1ef=>_0x4c0065[_0x13bf91(-0x1bf,-0xd4,-0x113,-0xae)](_0x19a1ef));function _0x13bf91(_0x4d340d,_0x113b9c,_0x1d52b9,_0x457142){return _0x2853b9(_0x4d340d-0x18b,_0x113b9c-0x81,_0x457142- -_0x1d5179._0x5036c8,_0x113b9c);}const _0x5b5ffa=_0x38a635['name']??'Ls';return defineTool({'name':_0x5b5ffa,'description':'List\x20files\x20and\x20directories\x20in\x20the\x20workspace\x20or\x20allowed\x20directories.','inputSchema':{'type':_0x595158(0x506,0x3c7,0x39a,_0x491c76._0x11bba9),'properties':{'path':{'type':'string'},'limit':{'type':_0x595158(_0x491c76._0x92fa9f,0x57c,_0x491c76._0x441a00,0x652)}}},async *'execute'(_0x1da857){const _0x787d75={_0x10ec1a:0x5},_0x4b611f={_0x1f965a:0x115},_0x4458da=_0x1da857['path']??'.';function _0x330888(_0x458e95,_0x528881,_0x41d1a5,_0x318d72){return _0x595158(_0x458e95-0x9c,_0x528881-_0x4b611f._0x1f965a,_0x318d72,_0x458e95- -0x670);}const _0x4d713d=resolveAllowedPath(_0x420ba5,_0x10e023,_0x4458da);function _0x34e4fa(_0x376d49,_0x2283e9,_0x4a2573,_0x1314ac){return _0x595158(_0x376d49-0xd,_0x2283e9-_0x787d75._0x10ec1a,_0x1314ac,_0x2283e9- -0x401);}const _0x58872c=await _0xf8e5e5(_0x4d713d)[_0x34e4fa(0x24a,_0x414787._0x232332,0x274,0x2b1)](()=>null);if(!_0x58872c?.[_0x330888(-_0x414787._0x1010c6,-_0x414787._0x3893d3,-_0x414787._0x32647f,-_0x414787._0x230dd)]())throw new ToolExecutionError(_0x34e4fa(0x2f1,_0x414787._0x5bdced,0x166,0x88)+_0x4458da,{'path':_0x4458da});const _0x25f5c1=_0x1da857[_0x330888(-0x214,-0x2d1,-0x21a,-0x306)]??0x3e8,_0x139648=Math[_0x34e4fa(-0x5c,_0x414787._0x5109de,0xfd,0x1cc)](Math[_0x34e4fa(0x74,-_0x414787._0x3d3283,0x5f,-_0x414787._0x4f33c5)](Math[_0x34e4fa(_0x414787._0x2778a6,0x40,0x87,-0x12c)](_0x25f5c1),0x1),0x2710),_0x2eb431=await _0x349730(_0x4d713d),_0x1a9e95=[];for(const _0x4c563a of _0x2eb431[_0x330888(-0xf4,-0x1c1,-_0x414787._0x548d57,-_0x414787._0xa7813)](0x0,_0x139648)){const _0x5b269c=_0x4c0065[_0x330888(-_0x414787._0x9b95b1,-0x2e,-_0x414787._0x13880a,-0x95)](_0x4d713d,_0x4c563a),_0x5995cb=await _0xf8e5e5(_0x5b269c)[_0x330888(-0x50,0x10,-0x88,-_0x414787._0x5c6a4f)](()=>null);if(!_0x5995cb)continue;let _0x36c843=_0x34e4fa(0x367,0x231,0x3a0,0xec);if(_0x5995cb[_0x34e4fa(_0x414787._0x5778d,-_0x414787._0x7c82bb,-0xeb,-_0x414787._0xd00255)]())_0x36c843=_0x34e4fa(0x137,0x1a9,0x30b,0x1e6);else{if(_0x5995cb[_0x34e4fa(-0x46,-_0x414787._0x4b1ffa,0xc6,-0x8c)]())_0x36c843=_0x330888(-0x2e,-0xdc,-_0x414787._0x5348ac,0x6f);else{if(_0x5995cb[_0x330888(-0x5e,_0x414787._0x3d19f1,_0x414787._0x5042d4,_0x414787._0x903d84)]())_0x36c843=_0x34e4fa(-_0x414787._0x431315,-0x6d,-0xe4,-_0x414787._0x534931);}}const _0x3cd67b={'name':_0x4c563a,'type':_0x36c843,'size':_0x5995cb[_0x330888(-_0x414787._0x45c140,-_0x414787._0x4e3f26,-_0x414787._0x347887,-_0x414787._0x1e1a72)],'mtime':_0x5995cb[_0x330888(-_0x414787._0x2257ef,-_0x414787._0x1d6286,-_0x414787._0x5cb1e8,-0x35)],'mode':_0x5995cb['mode']},_0x4ccaf5=_0x36c843===_0x34e4fa(0xc8,_0x414787._0x1d85d8,_0x414787._0x202fe0,_0x414787._0x376a09)?await countTextLines(_0x5b269c,_0x5995cb[_0x330888(-_0x414787._0x36a17f,-_0x414787._0x340f03,-0x1a9,-0x2e3)]):void 0x0;if(_0x4ccaf5!==void 0x0)_0x3cd67b['lines']=_0x4ccaf5;_0x1a9e95[_0x330888(-_0x414787._0x3cdf43,-0xec,-_0x414787._0x4ae65d,-0x345)](_0x3cd67b);}_0x1a9e95[_0x330888(-_0x414787._0x120b31,-_0x414787._0x14d2f7,-0xee,-0xe3)]((_0x1b32ee,_0x175a6e)=>_0x1b32ee[_0x34e4fa(-0x13c,0x4,-0x58,-0x10)][_0x34e4fa(0x15f,0xb8,0x146,0x5e)](_0x175a6e[_0x34e4fa(-0x48,0x4,0x19,-0x11)]));const _0x2e4396={'path':_0x4458da,'total':_0x1a9e95[_0x34e4fa(0x4f,0xf4,_0x414787._0x5327a7,_0x414787._0xdc9112)],'truncated':_0x2eb431[_0x330888(-0x17b,-0x1eb,-_0x414787._0x199b99,-_0x414787._0x31c417)]>_0x139648,'entries':_0x1a9e95};return yield createToolOutput(_0x5da932['stringify'](_0x2e4396,{'indent':0x2,'lineWidth':0x0})['trimEnd'](),{'path':_0x4458da,'total':_0x1a9e95[_0x34e4fa(_0x414787._0x1906cf,0xf4,_0x414787._0x1f4271,-0x61)],'truncated':_0x2eb431['length']>_0x139648,'limit':_0x139648,'entries':_0x1a9e95}),void 0x0;}});}import{stat as _0x4e3816}from'fs/promises';import _0x3fb6c3 from'path';import{fileURLToPath as _0x5a3c1d}from'url';function severityName(_0x378da3){const _0x2b04aa={_0x5c374a:0x35c,_0x4322ac:0x431,_0x3c8b0f:0x4cf,_0x5cd11e:0x460,_0x555958:0x37e},_0x3b0620={_0x59f14a:0x1df,_0x1a01b6:0x12a,_0x1ea4f2:0xe7},_0x5c52aa={_0x498f59:0x13f};function _0x3f2ad0(_0x56dd72,_0x428473,_0xbe1155,_0x392053){return _0x2853b9(_0x56dd72-_0x5c52aa._0x498f59,_0x428473-0xe0,_0x428473-0xbd,_0x392053);}function _0x563241(_0x45fb17,_0xa75a8c,_0x3c3416,_0x17adbc){return _0x2853b9(_0x45fb17-_0x3b0620._0x59f14a,_0xa75a8c-_0x3b0620._0x1a01b6,_0x17adbc-_0x3b0620._0x1ea4f2,_0xa75a8c);}switch(_0x378da3){case 0x1:return'Error';case 0x2:return _0x563241(_0x2b04aa._0x5c374a,0x501,_0x2b04aa._0x4322ac,_0x2b04aa._0x3c8b0f);case 0x3:return'Information';case 0x4:return _0x3f2ad0(0x456,_0x2b04aa._0x5cd11e,_0x2b04aa._0x555958,0x30a);default:return'Diagnostic';}}function formatSingleHover(_0x9d2aad){const _0xd59d7f={_0x2e0ce5:0x1f7,_0x590aea:0x3ad,_0x4e9253:0x26e,_0x45d4cf:0x1a2,_0x5be088:0x22c,_0x26c6c1:0x1f1,_0x56d8fa:0x1eb,_0x599238:0x16f,_0x108ba8:0x11d,_0x3da9fc:0x70,_0x39c775:0xaa,_0x176cef:0x101,_0x291727:0x97,_0x562268:0x3f,_0x5c9569:0x15,_0x33826e:0x230,_0x834690:0x17b,_0x170903:0x428,_0x58b86c:0x1a3,_0x4c66e7:0x2b5,_0x5eebe8:0xd7,_0x92074b:0x2f7,_0x458a79:0x1ae,_0x101fec:0x197,_0x369d85:0x1ec},_0x273fc9={_0x3f465f:0x1a0,_0x1a1120:0x2db,_0x1a291e:0x15f},_0x118d2d={_0x9d7a61:0x14,_0x2fe365:0x238};function _0x315d8e(_0x347932,_0x55eabd,_0x2c854a,_0x73ee06){return _0x2853b9(_0x347932-_0x118d2d._0x9d7a61,_0x55eabd-0xe,_0x73ee06- -_0x118d2d._0x2fe365,_0x55eabd);}function _0x39baf1(_0x4b7b93,_0x5973cf,_0x53382b,_0x3a4de5){return _0x4d9604(_0x4b7b93-_0x273fc9._0x3f465f,_0x5973cf,_0x3a4de5- -_0x273fc9._0x1a1120,_0x3a4de5-_0x273fc9._0x1a291e);}const _0x4952eb=_0x9d2aad[_0x315d8e(_0xd59d7f._0x2e0ce5,0x3cb,_0xd59d7f._0x590aea,0x309)];if(typeof _0x4952eb===_0x315d8e(0x155,_0xd59d7f._0x4e9253,0x1ee,0x20f))return _0x4952eb;if(Array[_0x39baf1(-0x205,-_0xd59d7f._0x45d4cf,-_0xd59d7f._0x5be088,-_0xd59d7f._0x26c6c1)](_0x4952eb))return _0x4952eb[_0x315d8e(_0xd59d7f._0x56d8fa,0x26e,_0xd59d7f._0x599238,0x2bc)](_0x599ce8=>typeof _0x599ce8===_0x315d8e(0x2a8,0x118,0x146,0x20f)?_0x599ce8:_0x599ce8['value'])[_0x39baf1(0x71,-_0xd59d7f._0x108ba8,0x7c,-_0xd59d7f._0x3da9fc)](Boolean)[_0x39baf1(-0x71,-_0xd59d7f._0x39c775,-_0xd59d7f._0x176cef,-0xb4)]('\x0a\x0a');if(_0x39baf1(_0xd59d7f._0x291727,-0x7f,-_0xd59d7f._0x562268,_0xd59d7f._0x5c9569)in _0x4952eb)return _0x4952eb[_0x39baf1(-0x2aa,-_0xd59d7f._0x33826e,-_0xd59d7f._0x834690,-0x1b3)];return _0x4952eb['language']?_0x315d8e(0x30d,_0xd59d7f._0x170903,_0xd59d7f._0x58b86c,_0xd59d7f._0x4c66e7)+_0x4952eb[_0x315d8e(0x2d0,_0xd59d7f._0x5eebe8,0x229,0x238)]+'\x0a'+_0x4952eb[_0x39baf1(-0xc0,-0x2c9,-_0xd59d7f._0x92074b,-0x1b3)]+_0x315d8e(0x137,_0xd59d7f._0x458a79,0x229,_0xd59d7f._0x101fec):_0x4952eb[_0x39baf1(-0x1d4,-0x99,-_0xd59d7f._0x369d85,-0x1b3)];}function formatHover(_0x2acdec){const _0x516da2={_0x15b172:0x3d6,_0x46143a:0x2ee,_0x1554f3:0x5fa,_0x118d5c:0x639,_0xb52c89:0x758,_0x4fa94b:0x621,_0x432abf:0x49b,_0xb14cdb:0x3bb,_0x484f61:0x434,_0x37e961:0x5be},_0x5cb99f={_0x2bac76:0xd7,_0x4b717b:0x11e,_0x59749b:0x105},_0x5d6da6={_0x2d9878:0x119};function _0x32025f(_0x453362,_0x16b0bc,_0x4b06e4,_0x676b22){return _0x4d9604(_0x453362-_0x5d6da6._0x2d9878,_0x676b22,_0x453362-0x412,_0x676b22-0x1b3);}if(_0x2acdec[_0x3ad221(0x41c,0x2fc,_0x516da2._0x15b172,_0x516da2._0x46143a)]===0x0)return'No\x20hover\x20information';function _0x3ad221(_0x3c743e,_0x413ad1,_0xc06446,_0x1c4bf6){return _0x4d9604(_0x3c743e-_0x5cb99f._0x2bac76,_0xc06446,_0x413ad1-_0x5cb99f._0x4b717b,_0x1c4bf6-_0x5cb99f._0x59749b);}return _0x2acdec[_0x32025f(0x5fc,0x5d7,0x5f6,_0x516da2._0x1554f3)](formatSingleHover)[_0x32025f(_0x516da2._0x118d5c,_0x516da2._0xb52c89,_0x516da2._0x4fa94b,0x697)](_0x32025f(_0x516da2._0x432abf,_0x516da2._0xb14cdb,_0x516da2._0x484f61,_0x516da2._0x37e961));}function locationPath(_0x24846e){const _0x2d4bbc={_0x19c652:0x4ac,_0x333424:0x3b1},_0x2c070a={_0x287817:0x1db,_0xe387e:0x8a},_0x431dcd={_0x3aa708:0xf0};function _0x18aa45(_0x3bb043,_0x24dc95,_0x556930,_0x23f613){return _0x4d9604(_0x3bb043-0x4b,_0x3bb043,_0x23f613- -0x28,_0x23f613-_0x431dcd._0x3aa708);}if(!_0x24846e[_0x3463aa(_0x2d4bbc._0x19c652,0x5d4,_0x2d4bbc._0x333424,0x465)](_0x3463aa(0x563,0x325,0x461,0x47c)))return _0x24846e;function _0x3463aa(_0x4b2000,_0x244b5c,_0x14b533,_0x540392){return _0x2853b9(_0x4b2000-_0x2c070a._0x287817,_0x244b5c-0x68,_0x540392-_0x2c070a._0xe387e,_0x14b533);}return _0x5a3c1d(_0x24846e);}function formatLocations(_0x5aaac3){const _0x3dafa7={_0x35beea:0xdb,_0x4d71b6:0x157,_0x5cf0c9:0x51,_0xa503f8:0x3b3,_0x4c080e:0x4e5,_0x2eb58b:0x124,_0x243131:0x614},_0x46c237={_0x3a0bad:0x314,_0x284339:0x459,_0x39cea:0xda,_0x240d1c:0x112},_0x2fd075={_0x4f355a:0x4a,_0x4a590f:0x416,_0x2a865e:0x20},_0xda06a3={_0x5d5583:0x145};if(_0x5aaac3[_0x291a5f(_0x3dafa7._0x35beea,0x118,_0x3dafa7._0x4d71b6,_0x3dafa7._0x5cf0c9)]===0x0)return _0x2bb12e(_0x3dafa7._0xa503f8,0x453,_0x3dafa7._0x4c080e,0x388);function _0x291a5f(_0x5172b8,_0x4f6f38,_0x568f40,_0x1feb22){return _0x2853b9(_0x5172b8-0x12c,_0x4f6f38-_0xda06a3._0x5d5583,_0x4f6f38- -0x3d0,_0x568f40);}function _0x2bb12e(_0x488f53,_0x4525b5,_0x33df5a,_0x325de3){return _0x4d9604(_0x488f53-_0x2fd075._0x4f355a,_0x4525b5,_0x33df5a-_0x2fd075._0x4a590f,_0x325de3-_0x2fd075._0x2a865e);}return _0x5aaac3[_0x291a5f(-0x30,_0x3dafa7._0x2eb58b,0x1b,0x250)](_0x3278f5=>{const _0x52688b={_0x49a9ba:0x13b,_0x49f4cd:0x2fd},_0x4c9a1f={_0x41cd34:0x106};function _0x5dfc5e(_0x4dabeb,_0x17fa84,_0x41d654,_0x45a72b){return _0x2bb12e(_0x4dabeb-0x14d,_0x4dabeb,_0x45a72b- -0x69d,_0x45a72b-_0x4c9a1f._0x41cd34);}function _0x42c3c7(_0x4eb1b7,_0x4fbcc3,_0x25db7f,_0xbe6a7e){return _0x2bb12e(_0x4eb1b7-_0x52688b._0x49a9ba,_0x4eb1b7,_0x4fbcc3- -_0x52688b._0x49f4cd,_0xbe6a7e-0x17);}const _0x399ea8=_0x3278f5['range'][_0x42c3c7(_0x46c237._0x3a0bad,0x423,_0x46c237._0x284339,0x335)];return locationPath(_0x3278f5['uri'])+':'+(_0x399ea8['line']+0x1)+':'+(_0x399ea8[_0x5dfc5e(-_0x46c237._0x39cea,_0x46c237._0x240d1c,-0x2a,0x2d)]+0x1);})[_0x2bb12e(0x527,0x75b,0x63d,_0x3dafa7._0x243131)]('\x0a');}function isDocumentSymbol(_0x1f27b3){const _0x23d944={_0x44da62:0x42b,_0x32f067:0x386,_0xc8561f:0x355,_0x489c31:0x22e},_0x5e83dd={_0x4c1dd0:0x12e,_0x5e2a78:0x265,_0x55ba6f:0x61},_0x2c2141={_0x38c1eb:0x1c9,_0x5b7446:0x11b,_0xbd10b1:0x1de};function _0x18406c(_0x3812a8,_0x54e3ae,_0x160c2d,_0x5dde5b){return _0x4d9604(_0x3812a8-_0x2c2141._0x38c1eb,_0x5dde5b,_0x160c2d-_0x2c2141._0x5b7446,_0x5dde5b-_0x2c2141._0xbd10b1);}function _0x2ef0f5(_0x36eeac,_0x23105d,_0x8481f1,_0x509b92){return _0x4d9604(_0x36eeac-_0x5e83dd._0x4c1dd0,_0x8481f1,_0x36eeac-_0x5e83dd._0x5e2a78,_0x509b92-_0x5e83dd._0x55ba6f);}return _0x2ef0f5(_0x23d944._0x44da62,0x3b8,_0x23d944._0x32f067,0x4c9)in _0x1f27b3&&_0x18406c(0x29e,_0x23d944._0xc8561f,_0x23d944._0x489c31,0x218)in _0x1f27b3;}function formatSymbols(_0x5b1b6a){const _0x134dfc={_0x100306:0xfd,_0x5d2b74:0x1c1,_0x3bce90:0x133,_0x546974:0x371,_0x2792c7:0x1a6,_0x340e42:0x148,_0x1509ed:0x145},_0x1b51ab={_0x43f040:0x25f,_0x5ded03:0x5a9,_0x5f4973:0x5e9,_0x13e17f:0x4bf,_0x3f3b1b:0x5a4,_0x36ad6d:0x5b9,_0x21df2a:0x60f,_0x5ee687:0x5c9,_0x5ba41b:0x6c4,_0x1fa685:0x63f,_0x2dfda8:0x5df,_0x22eef2:0x4ac,_0x386608:0x56d,_0xa47f41:0x37d,_0x1cc489:0x4ef,_0x41bcab:0x33e,_0x315021:0x634,_0x217811:0x4c9,_0x317d32:0x5ff,_0x32f0eb:0x6d0,_0x2992d5:0x42f,_0x37e31f:0x536,_0x2158ea:0x585,_0x1b468e:0x4f9,_0x48e53f:0x452,_0x58cd1d:0x670,_0x1f110d:0x5df,_0x3cc0ca:0x535,_0x5f1db7:0x558,_0x5bfce1:0x5cc,_0x5ea3bb:0x589,_0x3f14a1:0x4b2,_0x3bc9a0:0x669,_0x2c8a58:0x6da},_0xc39547={_0x568be4:0x1c4},_0x365ead={_0x1f9009:0xb2};function _0x1393af(_0xacd8e4,_0x395e8a,_0x539265,_0xe76d65){return _0x2853b9(_0xacd8e4-0x96,_0x395e8a-_0x365ead._0x1f9009,_0xe76d65- -0x3ac,_0xacd8e4);}if(_0x5b1b6a[_0x1393af(_0x134dfc._0x100306,0x1c3,_0x134dfc._0x5d2b74,0x13c)]===0x0)return _0x1393af(_0x134dfc._0x3bce90,_0x134dfc._0x546974,0x1f2,0x22c);function _0x30980c(_0x192ad2,_0x323010,_0x28290e,_0x4b7b56){return _0x2853b9(_0x192ad2-0x180,_0x323010-_0xc39547._0x568be4,_0x4b7b56- -0x2fa,_0x192ad2);}return _0x5b1b6a[_0x1393af(0x1f6,0x1a6,_0x134dfc._0x2792c7,_0x134dfc._0x340e42)](_0x35c675=>{const _0x198326={_0x19d95c:0x193,_0x47855b:0x2c5};if(isDocumentSymbol(_0x35c675))return _0x35c675[_0x4da492(0x28a,0x3c3,_0x1b51ab._0x43f040,0x392)]+'\x20('+_0x35c675[_0x2032da(_0x1b51ab._0x5ded03,_0x1b51ab._0x5f4973,0x6eb,0x593)]+')\x20['+(_0x35c675[_0x2032da(0x37f,_0x1b51ab._0x13e17f,_0x1b51ab._0x3f3b1b,_0x1b51ab._0x36ad6d)]['start'][_0x4da492(_0x1b51ab._0x21df2a,_0x1b51ab._0x5ee687,_0x1b51ab._0x5ba41b,0x47c)]+0x1)+':'+(_0x35c675['range'][_0x4da492(_0x1b51ab._0x1fa685,_0x1b51ab._0x2dfda8,_0x1b51ab._0x22eef2,_0x1b51ab._0x386608)]['character']+0x1)+']';function _0x4da492(_0x51ef71,_0x5811df,_0x69b97b,_0x1a7eab){return _0x30980c(_0x51ef71,_0x5811df-0xcd,_0x69b97b-_0x198326._0x19d95c,_0x5811df-_0x198326._0x47855b);}function _0x2032da(_0xef5332,_0x4918e3,_0xc8b191,_0x5bee8e){return _0x30980c(_0x5bee8e,_0x4918e3-0x10c,_0xc8b191-0x13d,_0x4918e3-0x2e9);}return _0x35c675[_0x2032da(_0x1b51ab._0xa47f41,0x3e7,_0x1b51ab._0x1cc489,_0x1b51ab._0x41bcab)]+'\x20('+_0x35c675[_0x2032da(_0x1b51ab._0x315021,0x5e9,_0x1b51ab._0x217811,0x536)]+')\x20'+locationPath(_0x35c675[_0x2032da(_0x1b51ab._0x317d32,0x4b9,0x51b,0x450)][_0x2032da(_0x1b51ab._0x32f0eb,0x5cd,0x5db,0x72c)])+':'+(_0x35c675[_0x4da492(_0x1b51ab._0x2992d5,0x495,_0x1b51ab._0x37e31f,_0x1b51ab._0x2158ea)][_0x4da492(0x53b,0x49b,_0x1b51ab._0x1b468e,_0x1b51ab._0x48e53f)][_0x4da492(_0x1b51ab._0x58cd1d,_0x1b51ab._0x1f110d,0x6b4,_0x1b51ab._0x3cc0ca)][_0x2032da(0x728,0x5ed,_0x1b51ab._0x5f1db7,0x690)]+0x1)+':'+(_0x35c675[_0x2032da(0x61c,0x4b9,_0x1b51ab._0x5bfce1,0x5db)][_0x4da492(_0x1b51ab._0x5ea3bb,0x49b,0x596,_0x1b51ab._0x3f14a1)][_0x2032da(0x712,0x603,0x63d,_0x1b51ab._0x3bc9a0)][_0x2032da(_0x1b51ab._0x2c8a58,0x5ad,0x568,0x6bb)]+0x1);})[_0x1393af(0x1cd,0x19c,_0x134dfc._0x1509ed,0x185)]('\x0a');}function formatDiagnostics(_0x2f9f08){const _0x46ab1c={_0x2c3300:0x150,_0x1f12b7:0x4b,_0xe3413b:0x3f},_0x10bd9f={_0x356190:0x1cc,_0x20c60a:0x44b,_0x424224:0x349,_0x48a587:0x38f,_0x3eb51a:0x122,_0xe64e2:0x1fb,_0x2565fb:0x431},_0x5a7471={_0x5f2988:0x8b},_0x1acb82={_0x2ac174:0x3d},_0x365013={_0x32ef8d:0x140,_0x3b9228:0x32e};function _0x52064e(_0x3e96e1,_0x406b95,_0x1a6595,_0x2959c1){return _0x4d9604(_0x3e96e1-_0x365013._0x32ef8d,_0x1a6595,_0x2959c1- -_0x365013._0x3b9228,_0x2959c1-0x1c6);}if(_0x2f9f08[_0x52064e(-0x55,-0xe3,-0xbd,-_0x46ab1c._0x2c3300)]===0x0)return'No\x20diagnostics';function _0x520ad6(_0x442fff,_0x5d9aa0,_0x2b8692,_0x1468ad){return _0x2853b9(_0x442fff-0x4,_0x5d9aa0-_0x1acb82._0x2ac174,_0x5d9aa0- -0x31b,_0x2b8692);}return _0x2f9f08['map'](_0x81f238=>{const _0xcd6f11={_0x3378a1:0xe3};function _0x47dc06(_0x6e1d77,_0x5bd256,_0x20add1,_0x207055){return _0x52064e(_0x6e1d77-_0x5a7471._0x5f2988,_0x5bd256-0x26,_0x207055,_0x20add1-0x3c9);}const _0x5c4acf=_0x81f238['range']['start'];function _0x56d070(_0x170c57,_0x2a28e3,_0xe3d5dc,_0x3384f8){return _0x52064e(_0x170c57-0x1b7,_0x2a28e3-_0xcd6f11._0x3378a1,_0x2a28e3,_0xe3d5dc-0x10b);}return severityName(_0x81f238[_0x47dc06(0x2c1,0xee,_0x10bd9f._0x356190,0x31f)])+'\x20['+(_0x5c4acf[_0x47dc06(_0x10bd9f._0x20c60a,_0x10bd9f._0x424224,_0x10bd9f._0x48a587,0x238)]+0x1)+':'+(_0x5c4acf[_0x56d070(_0x10bd9f._0x3eb51a,_0x10bd9f._0xe64e2,0x91,0x5b)]+0x1)+']\x20'+_0x81f238[_0x47dc06(0x492,0x2e6,0x37a,_0x10bd9f._0x2565fb)];})[_0x52064e(-_0x46ab1c._0x1f12b7,-_0x46ab1c._0xe3413b,-0x97,-0x107)]('\x0a');}function formatIncomingCalls(_0x52d8df){const _0x32f3bb={_0x1a3916:0x27e,_0x46712f:0x24b,_0x3b2a21:0x3d9,_0x85d1d9:0x148,_0x451673:0x1fd,_0x32b4bd:0x1cc,_0x4a8ed8:0x2a1},_0x4d58f0={_0x2f2689:0x4d,_0xb3a257:0x1ec};if(_0x52d8df['length']===0x0)return _0x9f9621(0x24a,_0x32f3bb._0x1a3916,_0x32f3bb._0x46712f,_0x32f3bb._0x3b2a21);function _0x9f9621(_0x321a04,_0x4cfd79,_0x55d5dd,_0x1f1be5){return _0x2853b9(_0x321a04-0x5e,_0x4cfd79-0x17f,_0x4cfd79- -0x33a,_0x321a04);}function _0x1871b2(_0x269489,_0x2ac947,_0x18a022,_0x4bfe0d){return _0x2853b9(_0x269489-_0x4d58f0._0x2f2689,_0x2ac947-_0x4d58f0._0xb3a257,_0x269489- -0x334,_0x4bfe0d);}return _0x52d8df[_0x1871b2(0x1c0,_0x32f3bb._0x85d1d9,0x215,0x19e)](_0x3b2920=>_0x3b2920[_0x9f9621(-0x7b,0xb3,0x1a,-0x2a)][_0x9f9621(0x112,0xbe,0x11d,0x210)])[_0x1871b2(_0x32f3bb._0x451673,0x267,_0x32f3bb._0x32b4bd,_0x32f3bb._0x4a8ed8)]('\x0a');}function formatOutgoingCalls(_0x9fde86){const _0x146f42={_0x4819ac:0x46d,_0x1489f9:0x3ee,_0xbf8020:0x31f,_0x36d39d:0x1f1,_0x5d51ed:0x2db,_0x3a8526:0x35e,_0x4d6f00:0x3ac,_0x3a761d:0x298},_0x5afb22={_0x15ebbd:0xf7,_0x5f1d9b:0x42b,_0x21a015:0x17a},_0x468da={_0x4de497:0xe4,_0x5ad7f0:0xbd,_0x5d762b:0x299};function _0x498704(_0x3d6763,_0x39e45c,_0x1be332,_0x3518c6){return _0x2853b9(_0x3d6763-_0x468da._0x4de497,_0x39e45c-_0x468da._0x5ad7f0,_0x1be332- -_0x468da._0x5d762b,_0x39e45c);}if(_0x9fde86['length']===0x0)return _0x498704(_0x146f42._0x4819ac,_0x146f42._0x1489f9,_0x146f42._0xbf8020,_0x146f42._0x36d39d);function _0xf297c8(_0x460c7a,_0x3409ce,_0x480adf,_0x88d302){return _0x4d9604(_0x460c7a-_0x5afb22._0x15ebbd,_0x480adf,_0x3409ce-_0x5afb22._0x5f1d9b,_0x88d302-_0x5afb22._0x21a015);}return _0x9fde86[_0x498704(_0x146f42._0x5d51ed,0x286,0x25b,_0x146f42._0x3a8526)](_0x19876e=>_0x19876e['to'][_0x498704(0x28,0xd3,0x15f,0x123)])[_0x498704(0x282,_0x146f42._0x4d6f00,_0x146f42._0x3a761d,0x235)]('\x0a');}function toStructured(_0x97d142){const _0x2cffe9={_0x19a096:0x693,_0x1d8678:0x4a3},_0x2c11e6={_0x35d148:0x5a,_0x4486c4:0x306};function _0x3898e(_0x5196f2,_0x2c1a78,_0x28a25c,_0x1cb301){return _0x4d9604(_0x5196f2-_0x2c11e6._0x35d148,_0x5196f2,_0x2c1a78-_0x2c11e6._0x4486c4,_0x1cb301-0xc3);}return JSON[_0x3898e(_0x2cffe9._0x19a096,0x589,_0x2cffe9._0x1d8678,0x62e)](JSON['stringify'](_0x97d142));}async function assertFile(_0x22e634){const _0x561762={_0x2df01f:0x2b8,_0x6fb818:0x22f},_0x1bbcf1={_0xd61943:0xc9,_0x8decea:0x69},_0x3eb80c=await _0x4e3816(_0x22e634);function _0x2d380c(_0x48f607,_0x5d82fa,_0x2607c9,_0xe97cfd){return _0x4d9604(_0x48f607-0xa7,_0x2607c9,_0xe97cfd-_0x1bbcf1._0xd61943,_0xe97cfd-_0x1bbcf1._0x8decea);}if(!_0x3eb80c[_0x2d380c(_0x561762._0x2df01f,_0x561762._0x6fb818,0x1eb,0x180)]())throw new ToolExecutionError('Path\x20is\x20not\x20a\x20file:\x20'+_0x22e634,{'path':_0x22e634});}function validatePosition(_0x5a3041,_0x4d2cc5){const _0x49a4fb={_0x51489b:0x184,_0x52fdb1:0x25b,_0xd7cf2d:0xf7},_0x18fa95={_0x498bef:0x5d,_0xbcfefb:0x20},_0x61f512={_0x338852:0x34,_0xa9d2e1:0x583};function _0x2165a0(_0x35eb97,_0x315e14,_0x4c0420,_0x388b55){return _0x2853b9(_0x35eb97-0xa4,_0x315e14-_0x61f512._0x338852,_0x35eb97- -_0x61f512._0xa9d2e1,_0x315e14);}function _0x275a79(_0x24dcc3,_0x19aa81,_0x24ca90,_0x5721f0){return _0x4d9604(_0x24dcc3-_0x18fa95._0x498bef,_0x24ca90,_0x24dcc3- -0x306,_0x5721f0-_0x18fa95._0xbcfefb);}if(!Number[_0x2165a0(-0x138,-0x175,-_0x49a4fb._0x51489b,-0x90)](_0x5a3041)||_0x5a3041<0x1)throw new ToolExecutionError('line\x20must\x20be\x20a\x20positive\x20integer',{'line':_0x5a3041});if(!Number[_0x2165a0(-0x138,-0x281,-_0x49a4fb._0x52fdb1,-0x84)](_0x4d2cc5)||_0x4d2cc5<0x1)throw new ToolExecutionError(_0x275a79(-0x10a,-0x1a8,-0x1a4,-_0x49a4fb._0xd7cf2d),{'character':_0x4d2cc5});}function createLspTool(_0x1daf93={}){const _0x52378e={_0x79f81a:0x3e4,_0x1378cc:0x4ec,_0x456db3:0x71,_0x26abf1:0x17b,_0xfeab8f:0x565,_0x2d518f:0x438,_0x530f40:0x686,_0x291630:0x1d4,_0x5cdd53:0x28a,_0x56c243:0xa,_0x21837f:0x325,_0x11e040:0x4fb,_0x574741:0x569,_0x3f3db6:0x2d9,_0x504e7e:0x41a,_0x5d7947:0x335,_0x4815cd:0x1ea,_0x33f162:0x25a,_0x32e17b:0x30b,_0x3db1b6:0x3c6,_0x362e2e:0x3c4,_0x35a0bf:0x46f,_0x4b6380:0x312,_0x3d9040:0x189,_0x2d30c8:0x3f6,_0x3cd725:0x455,_0x3846b2:0x354,_0x337e77:0x2b9,_0x4f97ee:0x355,_0x82938a:0x3b7,_0x5ca274:0x167,_0x5cdd90:0x289,_0x3c0772:0x634,_0x46a7a5:0x525,_0x517fad:0x619,_0x44ff0b:0xef,_0x156767:0x2ea,_0x1984aa:0xd4},_0x51d41d={_0x13d00f:0xa1,_0x3028aa:0x28e,_0x1a2293:0x1a9,_0x16efdb:0x37e,_0x5ab21c:0x3a1,_0x23345b:0x270,_0x5d97f4:0x311,_0x27c867:0x403,_0xede78f:0xff,_0x12c8ac:0x3eb,_0x1a392c:0x2b8,_0x3d1684:0x245,_0x25ef45:0x36b,_0x311020:0x203,_0x148614:0x13b,_0x4f0351:0x1cf,_0x11a8d0:0x150,_0xdcb262:0x81,_0x1048e3:0xc2,_0x2c078e:0x100,_0x200edf:0x22d,_0x5976e0:0x161,_0x596048:0x342,_0x2953ca:0x94,_0x58bee5:0x1d,_0x14df23:0x38,_0x30c115:0x1,_0x37357b:0x1a,_0x563006:0x19,_0x34d65b:0x157,_0x2921f1:0x4,_0x5b3600:0x40a,_0x34c15e:0x298,_0x54f542:0x21e,_0x5458eb:0x385,_0x51faa0:0xa3,_0x36ad10:0x36,_0x41fa41:0x1a5,_0x1944d4:0x321,_0x3a2018:0x233,_0x43c715:0x98,_0x24ad85:0x2f7,_0x3f2369:0x1a1,_0x14f42b:0x62,_0x1f2dc7:0x15b,_0x19c8b6:0xf6,_0x1c0f3b:0xa0,_0x2075e0:0xf6,_0x5632e7:0x145,_0x7ec150:0x30e,_0x4090b4:0x8e,_0x1f83fe:0x3a,_0xfad8ec:0x172,_0x2861c6:0xd1,_0x1f742b:0x42,_0x3c1b5d:0x1fd,_0x2f3576:0xb1,_0x5e4bfc:0xb1,_0x4631d8:0x40,_0x45d654:0x5e,_0x44c745:0x188,_0x22d423:0x76,_0xde65c4:0x136,_0x4e8bd5:0x4b,_0x3a40c9:0x2e5},_0x26a63b={_0x13982c:0x17e},_0x33f90a={_0x1ece78:0xda},_0x2226d2={_0x5b7c58:0x190,_0x12c8a:0x242},_0x52a965=_0x3fb6c3[_0x2e94fc(0x630,_0x52378e._0x79f81a,0x5ac,_0x52378e._0x1378cc)](_0x1daf93[_0x4cbc72(-_0x52378e._0x456db3,-_0x52378e._0x26abf1,-0x1d2,-0xf7)]??process['cwd']());function _0x2e94fc(_0x15c42d,_0x214c36,_0x48d065,_0x28561e){return _0x4d9604(_0x15c42d-_0x2226d2._0x5b7c58,_0x48d065,_0x28561e-_0x2226d2._0x12c8a,_0x28561e-0x36);}const _0xd9f188=(_0x1daf93[_0x2e94fc(_0x52378e._0xfeab8f,_0x52378e._0x2d518f,_0x52378e._0x530f40,0x55c)]??[])[_0x4cbc72(-_0x52378e._0x291630,-0x13d,-_0x52378e._0x5cdd53,-_0x52378e._0x56c243)](_0x24d6c1=>_0x3fb6c3[_0x2e94fc(0x617,0x52b,0x40a,0x4ec)](_0x24d6c1));function _0x4cbc72(_0x5e6152,_0x15d6c9,_0x5a4a7c,_0x37764c){return _0x2853b9(_0x5e6152-_0x33f90a._0x1ece78,_0x15d6c9-0x171,_0x15d6c9- -0x631,_0x5a4a7c);}const _0x5443a8=_0x1daf93[_0x4cbc72(-0x21a,-0x239,-_0x52378e._0x21837f,-0xd6)]??_0x2e94fc(_0x52378e._0x11e040,_0x52378e._0x574741,_0x52378e._0x3f3db6,_0x52378e._0x504e7e);return defineTool({'name':_0x5443a8,'description':'Query\x20Language\x20Server\x20Protocol\x20code\x20intelligence\x20for\x20workspace\x20files:\x20definitions,\x20references,\x20hover,\x20symbols,\x20call\x20hierarchy,\x20and\x20diagnostics.','inputSchema':{'type':'object','properties':{'operation':{'type':_0x4cbc72(-_0x52378e._0x5d7947,-_0x52378e._0x4815cd,-0xbd,-_0x52378e._0x33f162),'enum':['goToDefinition',_0x2e94fc(_0x52378e._0x32e17b,_0x52378e._0x3db1b6,0x401,0x39c),_0x2e94fc(0x3ab,_0x52378e._0x362e2e,0x335,_0x52378e._0x35a0bf),_0x2e94fc(0x3a2,_0x52378e._0x4b6380,_0x52378e._0x3d9040,0x2ab),_0x2e94fc(_0x52378e._0x2d30c8,_0x52378e._0x3cd725,0x2d5,0x33e),_0x4cbc72(0x124,0x21,0xa0,0x152),'prepareCallHierarchy',_0x4cbc72(-_0x52378e._0x3846b2,-_0x52378e._0x337e77,-_0x52378e._0x4f97ee,-_0x52378e._0x82938a),'outgoingCalls',_0x4cbc72(-_0x52378e._0x5ca274,-_0x52378e._0x5cdd90,-0x176,-0x180)]},'filePath':{'type':'string'},'line':{'type':_0x2e94fc(_0x52378e._0x3c0772,_0x52378e._0x46a7a5,_0x52378e._0x517fad,0x57d)},'character':{'type':'number'},'query':{'type':_0x4cbc72(-_0x52378e._0x44ff0b,-_0x52378e._0x4815cd,-_0x52378e._0x156767,-0x270)}},'required':['operation',_0x2e94fc(0x49b,0x409,0x5b3,0x514),_0x4cbc72(0x128,-0x33,0xf8,-_0x52378e._0x1984aa),'character']},async *'execute'(_0x995c42){const _0x132265={_0x2cb393:0x1e7,_0x12d941:0xc4};function _0x1f53c4(_0x18ab17,_0x565363,_0x4b8ee0,_0x3191f5){return _0x4cbc72(_0x18ab17-_0x132265._0x2cb393,_0x4b8ee0-0x2ed,_0x18ab17,_0x3191f5-_0x132265._0x12d941);}const _0x1a5ab0=_0x1daf93['lspService'];if(!_0x1a5ab0)throw new ToolExecutionError(_0x1c0456(-0x299,-0x146,-_0x51d41d._0x13d00f,-0x10b));function _0x1c0456(_0x3413ae,_0x3f5720,_0x4df427,_0x55a5d3){return _0x4cbc72(_0x3413ae-0x52,_0x3f5720-0x56,_0x55a5d3,_0x55a5d3-_0x26a63b._0x13982c);}if(!_0x1a5ab0[_0x1f53c4(_0x51d41d._0x3028aa,_0x51d41d._0x1a2293,0x24a,_0x51d41d._0x16efdb)]())throw new ToolExecutionError(_0x1f53c4(_0x51d41d._0x5ab21c,_0x51d41d._0x23345b,_0x51d41d._0x5d97f4,_0x51d41d._0x27c867));const _0x455f2d=_0x995c42[_0x1c0456(0x21,-0x6e,-0x19d,_0x51d41d._0xede78f)];validatePosition(_0x995c42['line'],_0x995c42[_0x1f53c4(_0x51d41d._0x12c8ac,0x2f5,0x27a,0x304)]);if(_0x455f2d===_0x1c0456(-_0x51d41d._0x1a392c,-0x1d5,-_0x51d41d._0x3d1684,-0x1cb)){if(!_0x995c42[_0x1c0456(-_0x51d41d._0x25ef45,-_0x51d41d._0x311020,-0x152,-0x158)]?.[_0x1c0456(-0xa,0x6d,_0x51d41d._0x148614,0x4e)]())throw new ToolExecutionError(_0x1f53c4(_0x51d41d._0x4f0351,_0x51d41d._0x11a8d0,_0x51d41d._0xdcb262,0x1f));const _0x2c2b28=await _0x1a5ab0[_0x1f53c4(0x1d9,-0x77,_0x51d41d._0x1048e3,_0x51d41d._0x2c078e)](_0x995c42[_0x1c0456(-_0x51d41d._0x200edf,-0x203,-0x182,-_0x51d41d._0x5976e0)][_0x1f53c4(_0x51d41d._0x596048,0x28b,0x304,0x38b)]());return yield createToolOutput(formatSymbols(_0x2c2b28),{'operation':_0x455f2d,'query':_0x995c42[_0x1f53c4(-0x7a,0x16c,_0x51d41d._0x2953ca,-_0x51d41d._0x58bee5)],'symbols':_0x2c2b28}),void 0x0;}const _0x53f00e=resolveAllowedPath(_0x52a965,_0xd9f188,_0x995c42[_0x1c0456(-_0x51d41d._0x14df23,_0x51d41d._0x30c115,-0x20,_0x51d41d._0x37357b)]);await assertFile(_0x53f00e);if(!await _0x1a5ab0['hasClients'](_0x53f00e))throw new ToolExecutionError(_0x1c0456(_0x51d41d._0x563006,-0x14b,-0x101,-0xec)+_0x995c42[_0x1c0456(0x20,0x1,_0x51d41d._0x34d65b,-_0x51d41d._0x2921f1)],{'filePath':_0x995c42[_0x1f53c4(_0x51d41d._0x5b3600,0x3df,_0x51d41d._0x34c15e,_0x51d41d._0x54f542)]});await _0x1a5ab0[_0x1f53c4(0x12f,0x395,0x25a,_0x51d41d._0x5458eb)](_0x53f00e,!![]);const _0x30835a={'file':_0x53f00e,'line':_0x995c42[_0x1c0456(-0xa9,0x23,-0x10d,-0xdc)]-0x1,'character':_0x995c42[_0x1c0456(_0x51d41d._0x51faa0,-0x1d,-0x15b,_0x51d41d._0x36ad10)]-0x1};switch(_0x455f2d){case'hover':{const _0x459180=await _0x1a5ab0[_0x1f53c4(0x172,_0x51d41d._0x41fa41,0x1f3,_0x51d41d._0x1944d4)](_0x30835a);return yield createToolOutput(formatHover(_0x459180),{'operation':_0x455f2d,'filePath':_0x53f00e,'hover':_0x459180}),void 0x0;}case _0x1c0456(-0xf2,-_0x51d41d._0x3a2018,-0x25a,-0x2c7):{const _0x4d8a35=await _0x1a5ab0[_0x1f53c4(_0x51d41d._0x43c715,_0x51d41d._0x24ad85,_0x51d41d._0x3f2369,0x82)](_0x53f00e);return yield createToolOutput(formatDiagnostics(_0x4d8a35),{'operation':_0x455f2d,'filePath':_0x53f00e,'diagnostics':_0x4d8a35}),void 0x0;}case _0x1c0456(0xc0,-_0x51d41d._0x14f42b,-_0x51d41d._0x1f2dc7,-_0x51d41d._0x19c8b6):{const _0x57df5c=await _0x1a5ab0['definition'](_0x30835a);return yield createToolOutput(formatLocations(_0x57df5c),{'operation':_0x455f2d,'filePath':_0x53f00e,'locations':_0x57df5c}),void 0x0;}case'findReferences':{const _0x5c4017=await _0x1a5ab0[_0x1f53c4(_0x51d41d._0x1c0f3b,0x248,_0x51d41d._0x2075e0,_0x51d41d._0x5632e7)](_0x30835a);return yield createToolOutput(formatLocations(_0x5c4017),{'operation':_0x455f2d,'filePath':_0x53f00e,'locations':_0x5c4017}),void 0x0;}case _0x1f53c4(0x253,0x30c,_0x51d41d._0x7ec150,0x313):{const _0x8f9226=await _0x1a5ab0[_0x1c0456(-_0x51d41d._0x4090b4,-_0x51d41d._0x1f83fe,0x69,-0x6f)](_0x30835a);return yield createToolOutput(formatLocations(_0x8f9226),{'operation':_0x455f2d,'filePath':_0x53f00e,'locations':_0x8f9226}),void 0x0;}case _0x1f53c4(-0x2f,0x1a2,0x2f,0xf1):{const _0x11ff16=await _0x1a5ab0[_0x1f53c4(_0x51d41d._0xfad8ec,-_0x51d41d._0x2861c6,0x2f,_0x51d41d._0x1f742b)](_0x53f00e);return yield createToolOutput(formatSymbols(_0x11ff16),{'operation':_0x455f2d,'filePath':_0x53f00e,'symbols':_0x11ff16}),void 0x0;}case _0x1c0456(-_0x51d41d._0x3c1b5d,-_0x51d41d._0x2f3576,0x11,-0x13e):{const _0x1f73c0=await _0x1a5ab0[_0x1c0456(0x26,-_0x51d41d._0x5e4bfc,-_0x51d41d._0x4631d8,_0x51d41d._0x45d654)](_0x30835a);return yield createToolOutput(formatSymbols(_0x1f73c0),{'operation':_0x455f2d,'filePath':_0x53f00e,'symbols':toStructured(_0x1f73c0)}),void 0x0;}case _0x1f53c4(_0x51d41d._0x44c745,_0x51d41d._0x22d423,0x34,0xf2):{const _0x2d3bd0=await _0x1a5ab0[_0x1f53c4(_0x51d41d._0xde65c4,-_0x51d41d._0x4e8bd5,0x34,0x15b)](_0x30835a);return yield createToolOutput(formatIncomingCalls(_0x2d3bd0),{'operation':_0x455f2d,'filePath':_0x53f00e,'calls':toStructured(_0x2d3bd0)}),void 0x0;}case'outgoingCalls':{const _0x47605f=await _0x1a5ab0[_0x1f53c4(0x30d,0x3b8,_0x51d41d._0x3a40c9,0x1d5)](_0x30835a);return yield createToolOutput(formatOutgoingCalls(_0x47605f),{'operation':_0x455f2d,'filePath':_0x53f00e,'calls':toStructured(_0x47605f)}),void 0x0;}}}});}import{randomUUID as _0x2d2c3f}from'crypto';import{mkdir as _0x44de99,readFile as _0x2d59de,writeFile as _0x9706f}from'fs/promises';import{join as _0x380f5a}from'path';function sanitizeStorageKey(_0x3aac4c){const _0x8a72df={_0x4fb493:0x1c0,_0x35b9c0:0x234,_0xb8d14:0x1ee,_0x5c3b63:0x1e6,_0x14b228:0x21e},_0x55b633={_0x81aea1:0x125,_0x583419:0x18a,_0x2806a0:0x2ad},_0x502948={_0x404b9b:0x1e5,_0xd01f7b:0xd7};function _0x7f9fec(_0x341318,_0x223134,_0x4debcc,_0x1fe7f6){return _0x4d9604(_0x341318-0x52,_0x223134,_0x1fe7f6- -_0x502948._0x404b9b,_0x1fe7f6-_0x502948._0xd01f7b);}function _0x55951f(_0x383f17,_0x22c8f5,_0x2455cf,_0x4774d2){return _0x2853b9(_0x383f17-_0x55b633._0x81aea1,_0x22c8f5-_0x55b633._0x583419,_0x4774d2- -_0x55b633._0x2806a0,_0x22c8f5);}return _0x3aac4c[_0x55951f(_0x8a72df._0x4fb493,_0x8a72df._0x35b9c0,0x17b,0x162)](/[^a-zA-Z0-9_]+/g,'_')[_0x7f9fec(-_0x8a72df._0xb8d14,-_0x8a72df._0x5c3b63,-0x123,-0xe0)](/^_+|_+$/g,'')||_0x7f9fec(-0x261,-0xcb,-_0x8a72df._0x14b228,-0x103);}function storagePath(_0x4e1a15){const _0x3f6f17={_0x26adc4:0x26,_0x11061c:0x1bb,_0x170f7a:0x5e,_0xdfb3b5:0x3e,_0x13df20:0x168,_0x363e93:0x25,_0x263ae9:0x8c,_0x55392d:0x1a0,_0x3ec1e3:0xef,_0x37feba:0x147,_0x3cd716:0x107},_0x355f9f={_0x22227d:0x173,_0x93331c:0x154},_0x480d51={_0xf8ceb6:0x144,_0x538b1c:0x35c},_0x5c2763=sanitizeStorageKey(_0x4e1a15[_0x352181(-_0x3f6f17._0x26adc4,0x191,_0x3f6f17._0x11061c,0xad)][_0x5946d4(_0x3f6f17._0x170f7a,-_0x3f6f17._0xdfb3b5,-_0x3f6f17._0x13df20,-0x75)]?.[_0x352181(0xbb,-_0x3f6f17._0x363e93,0x1a5,_0x3f6f17._0x263ae9)]??_0x4e1a15[_0x352181(0x218,0x1e6,_0x3f6f17._0x55392d,_0x3f6f17._0x3ec1e3)]);function _0x5946d4(_0x1eceb0,_0x500a13,_0x142d71,_0x25e6d3){return _0x4d9604(_0x1eceb0-_0x480d51._0xf8ceb6,_0x142d71,_0x500a13- -_0x480d51._0x538b1c,_0x25e6d3-0x126);}function _0x352181(_0x4a3a11,_0x113dd5,_0x4465ac,_0x16637e){return _0x2853b9(_0x4a3a11-_0x355f9f._0x22227d,_0x113dd5-_0x355f9f._0x93331c,_0x16637e- -0x481,_0x113dd5);}return _0x380f5a(_0x4e1a15['storageDir'],_0x5c2763+_0x5946d4(-0x185,-_0x3f6f17._0x37feba,-0x1fe,-_0x3f6f17._0x3cd716));}async function readStore(_0x32e934){const _0x3ba9e2={_0x3e63d3:0x374,_0xa08503:0x1b9,_0x2372a3:0x2c0},_0xac4927={_0x38a980:0xed,_0xcca81d:0x1da};function _0x249a42(_0x438b9e,_0x1a879a,_0x4bbedd,_0x2a1ee5){return _0x4d9604(_0x438b9e-0xa7,_0x438b9e,_0x2a1ee5-_0xac4927._0x38a980,_0x2a1ee5-_0xac4927._0xcca81d);}try{return JSON['parse'](await _0x2d59de(_0x32e934,'utf8'));}catch(_0xd4f306){if(_0xd4f306 instanceof Error&&'code'in _0xd4f306&&_0xd4f306['code']===_0x249a42(_0x3ba9e2._0x3e63d3,0x3fb,_0x3ba9e2._0xa08503,_0x3ba9e2._0x2372a3))return{};throw _0xd4f306;}}async function writeStore(_0x3b8e82,_0x4ba108){const _0x58fdee={_0x4dabfe:0x197},_0x15e459={_0xfe6ee8:0x5d};function _0x70289d(_0x2e4d46,_0x32bf06,_0x20be56,_0x23cbf4){return _0x4d9604(_0x2e4d46-_0x15e459._0xfe6ee8,_0x20be56,_0x32bf06-0x135,_0x23cbf4-0x135);}function _0x524dda(_0x20fe34,_0x44c138,_0x3e3767,_0x7fab00){return _0x4d9604(_0x20fe34-0x1d,_0x3e3767,_0x20fe34-0x1b9,_0x7fab00-_0x58fdee._0x4dabfe);}await _0x44de99(_0x380f5a(_0x3b8e82,'..'),{'recursive':!![]}),await _0x9706f(_0x3b8e82,JSON[_0x70289d(0x418,0x2e0,0x330,0x1a1)](_0x4ba108,null,0x2),_0x70289d(0x162,0x1d0,0x301,0x226));}async function updateStore(_0xf9c216,_0x13650f){const _0x59935a=await readStore(_0xf9c216);_0x13650f(_0x59935a),await writeStore(_0xf9c216,_0x59935a);}function createMcpOAuthProvider(_0x288079){const _0x5d3998={_0x343349:0xb8,_0x31e9f8:0x31,_0x2e65d0:0x213,_0x22ebb1:0x409,_0x38b97f:0x2a0,_0x265a1d:0x5d,_0x4acd02:0x236,_0x531603:0x2d0,_0x2dedbd:0x1b3,_0x4981a9:0x16a,_0x5b6a2c:0x28e,_0x2afd3a:0x2e8,_0x130df2:0x1c4,_0x29dc81:0x335,_0x56531c:0x346,_0x4d1fa3:0x22a,_0x194711:0x2fc,_0x42ca8d:0x281,_0x2ea9e1:0x324,_0x184f71:0x24,_0xab247d:0x6f},_0x525a43={_0x4cf68d:0xb1,_0x52e965:0x111,_0xcd6bdc:0x73},_0x40fa1a={_0x4567fd:0x13c,_0x163398:0xd0},_0x4de347={_0x3c67ec:0x4de,_0x416962:0x6a1},_0x13f967={_0x27972f:0x13e,_0x547899:0x542,_0x41c484:0x5b4,_0x9cb58d:0x5af,_0x5ca4e0:0x633,_0x39768b:0x4f7,_0x219a69:0x478,_0x5194c6:0x51a,_0x1114dc:0xb7,_0x5c1628:0x88,_0x2df195:0xa3,_0x3521ce:0x1e7},_0x3321e9={_0x280252:0x29f,_0x10d71a:0x46},_0x3ab4a2={_0x31e8aa:0xc0},_0x1f8429={_0x1d2f53:0x44f,_0x5726ab:0x6a1},_0x360110={_0x4ad793:0x533,_0x133532:0x4ba,_0x5150c2:0x5a2},_0x5db496={_0x4fac15:0x399,_0x23b2f8:0x251},_0x1fb1ab={_0x5c4496:0x17b},_0x34708b={_0x31acfc:0x6e4,_0x13e534:0x5b8},_0x309424={_0x128bb3:0x2e},_0x2affc2={_0x1095ce:0x12b,_0x8348fa:0x165,_0x551afc:0x185},_0x5cfb8f={_0x38c3e2:0x1e1},_0x31f192={_0x5d9f53:0x1ed,_0x503bdc:0x6};function _0x22a51d(_0x2a4962,_0x1089fb,_0x381c98,_0x2d8f2e){return _0x4d9604(_0x2a4962-_0x31f192._0x5d9f53,_0x1089fb,_0x381c98-0x6,_0x2d8f2e-_0x31f192._0x503bdc);}const _0x3362af=storagePath(_0x288079),_0x58dc1f=_0x288079[_0xc63af2(-_0x5d3998._0x343349,0x70,-0x185,-_0x5d3998._0x31e9f8)][_0x22a51d(0x497,_0x5d3998._0x2e65d0,0x324,0x3dc)]?.['scopes']?.['join']('\x20'),_0x428f3f={'client_name':_0x22a51d(0x207,_0x5d3998._0x22ebb1,_0x5d3998._0x38b97f,0x25f),'redirect_uris':[_0x288079[_0xc63af2(-0x289,-_0x5d3998._0x265a1d,-_0x5d3998._0x4acd02,-0x139)]],'grant_types':[_0xc63af2(-0x237,-_0x5d3998._0x531603,-_0x5d3998._0x2dedbd,-_0x5d3998._0x4981a9),'refresh_token'],'response_types':[_0xc63af2(-_0x5d3998._0x5b6a2c,-0x117,-_0x5d3998._0x2afd3a,-_0x5d3998._0x130df2)],'token_endpoint_auth_method':'client_secret_post',..._0x58dc1f?{'scope':_0x58dc1f}:{}};function _0xc63af2(_0x18a9a7,_0x385dcf,_0x2bf3b0,_0xc9b73b){return _0x2853b9(_0x18a9a7-_0x5cfb8f._0x38c3e2,_0x385dcf-0x18,_0xc9b73b- -0x55f,_0x385dcf);}return{'clientMetadataUrl':_0x288079[_0x22a51d(_0x5d3998._0x29dc81,_0x5d3998._0x56531c,_0x5d3998._0x4d1fa3,0x145)][_0x22a51d(_0x5d3998._0x194711,_0x5d3998._0x42ca8d,_0x5d3998._0x2ea9e1,0x1b9)]?.[_0xc63af2(0xfb,_0x5d3998._0x184f71,-0x1a1,-_0x5d3998._0xab247d)],get 'redirectUrl'(){function _0x21553e(_0x233a4e,_0x2d8ee3,_0x5d67f3,_0x360da7){return _0x22a51d(_0x233a4e-_0x2affc2._0x1095ce,_0x233a4e,_0x5d67f3- -_0x2affc2._0x8348fa,_0x360da7-_0x2affc2._0x551afc);}return _0x288079[_0x21553e(_0x309424._0x128bb3,0x67,-0x43,0x1c)];},get 'clientMetadata'(){return _0x428f3f;},async 'state'(){const _0x508d3b={_0x2500d0:0x6e,_0x13984a:0x1e},_0x449d90={_0x56c8bd:0x12d,_0x445b85:0x58},_0x569769=await readStore(_0x3362af);function _0x271308(_0x2b8368,_0x3aa182,_0x49fe0b,_0x55c214){return _0xc63af2(_0x2b8368-_0x449d90._0x56c8bd,_0x2b8368,_0x49fe0b-_0x449d90._0x445b85,_0x49fe0b-0x657);}if(_0x569769[_0x271308(_0x34708b._0x31acfc,_0x34708b._0x13e534,0x6e2,0x5ef)])return _0x569769['state'];const _0x572230=_0x2d2c3f();return await updateStore(_0x3362af,_0x3febe5=>{const _0x55e0a1={_0x517f2d:0x56,_0x3caa72:0x5b2,_0x3e6f35:0x6e};function _0x355d5c(_0x30351f,_0x544a17,_0x555504,_0x57fb60){return _0x271308(_0x57fb60,_0x544a17-_0x55e0a1._0x517f2d,_0x544a17- -_0x55e0a1._0x3caa72,_0x57fb60-_0x55e0a1._0x3e6f35);}_0x3febe5[_0x355d5c(0x288,0x130,_0x508d3b._0x2500d0,-_0x508d3b._0x13984a)]=_0x572230;}),_0x572230;},async 'clientInformation'(){function _0x33cdaa(_0x395873,_0x48025c,_0x4b0611,_0x53a08f){return _0x22a51d(_0x395873-_0x1fb1ab._0x5c4496,_0x4b0611,_0x53a08f-0xd3,_0x53a08f-0x1f2);}return(await readStore(_0x3362af))[_0x33cdaa(0x10e,_0x5db496._0x4fac15,0x1e7,_0x5db496._0x23b2f8)];},async 'saveClientInformation'(_0x5577eb){await updateStore(_0x3362af,_0x47c016=>{const _0x398106={_0x4ab067:0x298};function _0x3d0fbb(_0x2ece67,_0x4e7a2c,_0x3b69c3,_0x660b92){return _0x1b39(_0x3b69c3- -_0x398106._0x4ab067,_0x2ece67);}_0x47c016[_0x3d0fbb(-0x1fe,-0xfe,-0xda,0x70)]=_0x5577eb;});},async 'tokens'(){const _0x2d3449={_0x2c0ad5:0x6a,_0x3dfe05:0x9f,_0x50b094:0x4e6};function _0xa68f78(_0x43af0e,_0x482b8d,_0x13ffd6,_0x53a58d){return _0xc63af2(_0x43af0e-_0x2d3449._0x2c0ad5,_0x53a58d,_0x13ffd6-_0x2d3449._0x3dfe05,_0x43af0e-_0x2d3449._0x50b094);}return(await readStore(_0x3362af))[_0xa68f78(_0x360110._0x4ad793,_0x360110._0x133532,0x48a,_0x360110._0x5150c2)];},async 'saveTokens'(_0x4d7f91){await updateStore(_0x3362af,_0x35b9b9=>{_0x35b9b9['tokens']=_0x4d7f91;});},async 'redirectToAuthorization'(_0x4c2b34){await _0x288079['onRedirect'](_0x4c2b34);},async 'saveCodeVerifier'(_0x282b80){const _0x22fd0d={_0x393c51:0x290};await updateStore(_0x3362af,_0x1f36c0=>{function _0x498292(_0x3352d4,_0x85ce1a,_0x4463b4,_0x17bc47){return _0x1b39(_0x17bc47-_0x22fd0d._0x393c51,_0x3352d4);}_0x1f36c0[_0x498292(_0x1f8429._0x1d2f53,0x56f,_0x1f8429._0x5726ab,0x581)]=_0x282b80;});},async 'codeVerifier'(){const _0x1a733c=(await readStore(_0x3362af))[_0x42b02e(0x1ec,0x359,0x216,0x2bc)];function _0x42b02e(_0x2ecb10,_0x4fa20b,_0x461d8a,_0x3f09db){return _0xc63af2(_0x2ecb10-0x1d7,_0x2ecb10,_0x461d8a-0x11,_0x3f09db-0x266);}function _0x5188e5(_0x59e3f5,_0x25144b,_0x2aed7f,_0x14c52c){return _0x22a51d(_0x59e3f5-0xd3,_0x14c52c,_0x59e3f5-0xda,_0x14c52c-_0x3ab4a2._0x31e8aa);}if(!_0x1a733c)throw new Error(_0x42b02e(_0x3321e9._0x280252,0xe3,_0x3321e9._0x10d71a,0x199));return _0x1a733c;},async 'invalidateCredentials'(_0x2fba6a){await updateStore(_0x3362af,_0x3ae110=>{(_0x2fba6a===_0x3755c7(-0x1,-_0x13f967._0x27972f,0x16a,-0x131)||_0x2fba6a==='client')&&(_0x3ae110['clientInformation']=void 0x0);function _0x3755c7(_0x34a0c1,_0x5c513b,_0x36d9e3,_0x3630ec){return _0x1b39(_0x34a0c1- -0x29e,_0x36d9e3);}function _0x2d6690(_0x5f4f45,_0x3915fe,_0x38afbe,_0x51de12){return _0x1b39(_0x5f4f45-0x25a,_0x51de12);}(_0x2fba6a==='all'||_0x2fba6a===_0x2d6690(_0x13f967._0x547899,0x5f0,_0x13f967._0x41c484,0x457))&&(_0x3ae110[_0x2d6690(_0x13f967._0x547899,_0x13f967._0x9cb58d,0x57b,_0x13f967._0x5ca4e0)]=void 0x0),(_0x2fba6a===_0x2d6690(_0x13f967._0x39768b,_0x13f967._0x219a69,0x4a6,_0x13f967._0x5194c6)||_0x2fba6a===_0x3755c7(_0x13f967._0x1114dc,0x131,0x2d,0x190))&&(_0x3ae110['codeVerifier']=void 0x0,_0x3ae110[_0x3755c7(_0x13f967._0x5c1628,_0x13f967._0x2df195,-0x92,_0x13f967._0x3521ce)]=void 0x0),(_0x2fba6a==='all'||_0x2fba6a==='discovery')&&(_0x3ae110['discoveryState']=void 0x0);});},async 'saveDiscoveryState'(_0x5a54ef){const _0x551fac={_0x2559b9:0x3c1};await updateStore(_0x3362af,_0x76a84b=>{function _0x4205ee(_0x4f1e0a,_0x4f4294,_0x532b7c,_0xdb1727){return _0x1b39(_0xdb1727-_0x551fac._0x2559b9,_0x532b7c);}_0x76a84b[_0x4205ee(_0x4de347._0x3c67ec,0x6dd,_0x4de347._0x416962,0x576)]=_0x5a54ef;});},async 'discoveryState'(){function _0xff6d1f(_0x59ef11,_0x416479,_0x25eeab,_0x57bd83){return _0xc63af2(_0x59ef11-0x6e,_0x416479,_0x25eeab-_0x40fa1a._0x4567fd,_0x25eeab-_0x40fa1a._0x163398);}return(await readStore(_0x3362af))[_0xff6d1f(-_0x525a43._0x4cf68d,_0x525a43._0x52e965,-0x16,-_0x525a43._0xcd6bdc)];}};}import{Client}from'@modelcontextprotocol/sdk/client/index.js';import{StdioClientTransport}from'@modelcontextprotocol/sdk/client/stdio.js';import{StreamableHTTPClientTransport}from'@modelcontextprotocol/sdk/client/streamableHttp.js';import{CallToolResultSchema}from'@modelcontextprotocol/sdk/types.js';function _0x4d9604(_0xed8b17,_0x42c1a8,_0x49a92d,_0x4818e4){const _0x4e2991={_0x34d2c5:0x46};return _0x1b39(_0x49a92d- -_0x4e2991._0x34d2c5,_0x42c1a8);}function createMcpToolName(_0x486118,_0x5929c0){const _0x1ef33d={_0x541aff:0x111},_0xeaf102={_0x1b4032:0x10};function _0x5c5782(_0x18bc3f,_0x576b03,_0x123bc7,_0x534cdf){return _0x2853b9(_0x18bc3f-0xdc,_0x576b03-0x187,_0x18bc3f- -_0xeaf102._0x1b4032,_0x534cdf);}const _0x176639=_0x462c30=>_0x462c30[_0x5c5782(0x3ff,0x513,0x4d9,0x4a4)](/[^a-zA-Z0-9_]+/g,'_')[_0x5c5782(0x3ff,0x3fd,0x2bd,0x456)](/^_+|_+$/g,'');function _0x3365a3(_0x1aca51,_0x1f2ae6,_0x154eca,_0x22f9f1){return _0x4d9604(_0x1aca51-0x11a,_0x22f9f1,_0x1aca51- -_0x1ef33d._0x541aff,_0x22f9f1-0x12c);}return _0x5c5782(0x380,0x32f,0x257,0x35c)+_0x176639(_0x486118)+'_'+_0x176639(_0x5929c0);}function isObject(_0x1fc06a){const _0x3df109={_0x257c9b:0x495,_0x37ba8c:0x447,_0x2c3167:0x3f6,_0x43172f:0x31b,_0x5b6aba:0x3c9},_0x67edbd={_0x2c5a94:0x188,_0x428b67:0x9e},_0x31f2a7={_0x4b8295:0x4f,_0x1f6e3b:0xf5};function _0x30a6e6(_0xec3c50,_0x37e569,_0x649c33,_0x4e5ee7){return _0x2853b9(_0xec3c50-_0x31f2a7._0x4b8295,_0x37e569-0x13b,_0xec3c50-_0x31f2a7._0x1f6e3b,_0x37e569);}function _0x3f92d0(_0x9b8e7b,_0x5097dd,_0x4855ac,_0x330dd6){return _0x2853b9(_0x9b8e7b-_0x67edbd._0x2c5a94,_0x5097dd-_0x67edbd._0x428b67,_0x4855ac- -0xd9,_0x330dd6);}return typeof _0x1fc06a===_0x30a6e6(_0x3df109._0x257c9b,0x5f3,0x405,0x4e4)&&_0x1fc06a!==null&&!Array[_0x3f92d0(_0x3df109._0x37ba8c,_0x3df109._0x2c3167,_0x3df109._0x43172f,_0x3df109._0x5b6aba)](_0x1fc06a);}function toSupportedSchema(_0x5ea8d8){const _0x3f5696={_0x2adef5:0x24,_0xc0bce8:0x159,_0x5c99cd:0x20,_0x5c0c93:0xd,_0x1d83f4:0x2f6,_0x2eb7a1:0x362,_0x4cd0fe:0x72,_0x26ec21:0x1bb,_0x3b3d33:0x4a,_0x5be5bc:0x144,_0x1d0fc9:0x47,_0x155315:0x3a0,_0x435ffe:0x31c,_0x490042:0x1a,_0x1b7abd:0x193,_0x58727d:0x4a,_0x35255f:0x390,_0x249831:0x26a,_0x40fb62:0x358,_0x3a81a1:0x18a,_0x4c86f4:0x2d3,_0x4f22f9:0x90,_0x6609dd:0xaa,_0x475df1:0x44,_0x3aab71:0x1b7},_0x217e48={_0x3bd5ee:0x454},_0x2e0a9d={_0x18deb8:0x14e,_0x3cebd0:0x65};if(!isObject(_0x5ea8d8))return void 0x0;function _0x228677(_0x5346da,_0x69156,_0x552a95,_0x1452e2){return _0x4d9604(_0x5346da-_0x2e0a9d._0x18deb8,_0x69156,_0x552a95-_0x2e0a9d._0x3cebd0,_0x1452e2-0x1db);}if(_0x5ea8d8[_0x53748e(-0x18f,_0x3f5696._0x2adef5,-_0x3f5696._0xc0bce8,-0x4a)]==='string')return{'type':_0x53748e(-0x10c,-_0x3f5696._0x5c99cd,0x13a,-_0x3f5696._0x5c0c93)};if(_0x5ea8d8[_0x53748e(0x4a,0x46,0xea,-0x4a)]===_0x53748e(0x167,_0x3f5696._0x1d83f4,_0x3f5696._0x2eb7a1,0x1f1)||_0x5ea8d8[_0x53748e(_0x3f5696._0x4cd0fe,-_0x3f5696._0x26ec21,-0x191,-_0x3f5696._0x3b3d33)]===_0x228677(0x16d,0x20b,_0x3f5696._0x5be5bc,_0x3f5696._0x1d0fc9))return{'type':_0x228677(0x47e,0x361,_0x3f5696._0x155315,_0x3f5696._0x435ffe)};if(_0x5ea8d8[_0x53748e(_0x3f5696._0x490042,-_0x3f5696._0x1b7abd,-0x54,-_0x3f5696._0x58727d)]==='boolean')return{'type':_0x228677(0x1ee,_0x3f5696._0x35255f,_0x3f5696._0x249831,_0x3f5696._0x40fb62)};function _0x53748e(_0x24aaec,_0x510cb6,_0x1c0765,_0x8e1c13){return _0x2853b9(_0x24aaec-0x151,_0x510cb6-0x1cf,_0x8e1c13- -_0x217e48._0x3bd5ee,_0x510cb6);}if(_0x5ea8d8['type']==='array')return{'type':_0x228677(_0x3f5696._0x3a81a1,0x25f,0x2df,_0x3f5696._0x4c86f4),'items':toSupportedSchema(_0x5ea8d8[_0x53748e(-0x181,-_0x3f5696._0x4f22f9,-0xc1,-0x51)])??{'type':_0x53748e(0x107,_0x3f5696._0x6609dd,0x15b,-0xd)}};if(_0x5ea8d8['type']===_0x228677(_0x3f5696._0x475df1,-0x13,0xfb,_0x3f5696._0x3aab71))return toNuvinToolSchema(_0x5ea8d8);return void 0x0;}function toNuvinToolSchema(_0x36ae63){const _0xc39444={_0x4d6498:0x79,_0x41bf7d:0x5f,_0x1be105:0x116,_0xb7e713:0x48a,_0x1a6810:0x444,_0x995dcf:0x24f,_0x30a224:0x179,_0x5cc55c:0x125,_0x2e0ee6:0x68,_0x161eb0:0x75,_0x255763:0xce,_0x3ee449:0x2e,_0x4c6f26:0x9f,_0x1e7cd2:0x78,_0x260a92:0x7d,_0x392a03:0x3a,_0x18b18a:0x78,_0x11da48:0x578,_0x30d5fe:0x5b6,_0x36a3f1:0xc9,_0x1c3c88:0xf1,_0x1bbe5d:0x4b},_0x7572e4={_0x361c37:0x1e9,_0x3f2b89:0x97};if(!isObject(_0x36ae63)||_0x36ae63[_0x16e9dc(_0xc39444._0x4d6498,-_0xc39444._0x41bf7d,-_0xc39444._0x1be105,-0xb5)]!==_0x51468f(0x3c1,0x3a3,_0xc39444._0xb7e713,_0xc39444._0x1a6810))return{'type':'object','properties':{}};const _0x524251={};function _0x16e9dc(_0xe4f35d,_0x35884e,_0x5a2309,_0x4ef71b){return _0x4d9604(_0xe4f35d-_0x7572e4._0x361c37,_0x5a2309,_0x35884e- -0x15f,_0x4ef71b-_0x7572e4._0x3f2b89);}function _0x51468f(_0x32613b,_0x505b39,_0x1292c0,_0x384fbb){return _0x2853b9(_0x32613b-0x135,_0x505b39-0x20,_0x505b39-0x3,_0x32613b);}const _0x2acf38=isObject(_0x36ae63[_0x16e9dc(_0xc39444._0x995dcf,_0xc39444._0x30a224,0x261,_0xc39444._0x5cc55c)])?_0x36ae63[_0x16e9dc(0x3b,_0xc39444._0x30a224,0x1de,0x17)]:{};for(const [_0x1889a1,_0x5ece21]of Object['entries'](_0x2acf38)){const _0x44fe40=toSupportedSchema(_0x5ece21);if(_0x44fe40)_0x524251[_0x1889a1]=_0x44fe40;}const _0x1edc73=Array[_0x16e9dc(_0xc39444._0x2e0ee6,-_0xc39444._0x161eb0,-_0xc39444._0x255763,_0xc39444._0x3ee449)](_0x36ae63[_0x16e9dc(-_0xc39444._0x4c6f26,_0xc39444._0x1e7cd2,-0x8d,_0xc39444._0x260a92)])?_0x36ae63[_0x16e9dc(-_0xc39444._0x392a03,_0xc39444._0x18b18a,0x1,0x108)][_0x51468f(0x5eb,_0xc39444._0x11da48,0x412,_0xc39444._0x30d5fe)](_0x278ed3=>typeof _0x278ed3===_0x51468f(0x34f,0x44a,0x48a,0x3ea)):void 0x0;return _0x1edc73?.['length']?{'type':_0x16e9dc(-0x1a1,-_0xc39444._0x36a3f1,-_0xc39444._0x1c3c88,-0x147),'properties':_0x524251,'required':_0x1edc73}:{'type':_0x16e9dc(-0x110,-_0xc39444._0x36a3f1,-_0xc39444._0x1bbe5d,-0xb8),'properties':_0x524251};}function isJsonObject(_0x453f9d){const _0x45aea0={_0x4f40a8:0x76},_0x306b27={_0x53aaf5:0xfa,_0x146df7:0x281};function _0x48ab1f(_0x160e51,_0x41e27b,_0x335522,_0x5042ad){return _0x2853b9(_0x160e51-0x199,_0x41e27b-_0x306b27._0x53aaf5,_0x41e27b- -_0x306b27._0x146df7,_0x5042ad);}return typeof _0x453f9d==='object'&&_0x453f9d!==null&&!Array[_0x48ab1f(0xe6,0x173,_0x45aea0._0x4f40a8,0x8)](_0x453f9d);}function formatMcpContent(_0x14e6b8){const _0x2a1f7a={_0x2c222e:0x1e7,_0x48bec5:0xc1,_0x4a87f5:0x35,_0x1023f4:0x5e,_0x10edb7:0x106,_0x47b009:0xff,_0x4312f3:0x1bb,_0x1f4f00:0x270,_0x544ccd:0x2e2,_0x5c9303:0x26c},_0x30f785={_0x5d488a:0x45f,_0x1d56dc:0x417,_0x4688cf:0x466,_0x4fc4d5:0x64a,_0x52a679:0x60d,_0x43dc84:0x567,_0x243569:0x5b6,_0x415655:0x567,_0x49e6c1:0x413,_0x1ce947:0x8c,_0x1e386c:0x276,_0x182961:0x13b},_0x27848a={_0x5efee3:0x181,_0x246b8f:0x41},_0xf6a5de={_0x57b196:0x23},_0x235381={_0x373aa3:0xcd,_0x11d3e3:0x69a};function _0x4aa525(_0x16d8c2,_0x4b3f25,_0x2ae221,_0x1e8a48){return _0x2853b9(_0x16d8c2-0x11a,_0x4b3f25-_0x235381._0x373aa3,_0x16d8c2- -_0x235381._0x11d3e3,_0x2ae221);}function _0x18fe48(_0x56c452,_0xc33e03,_0x61b2c8,_0x424402){return _0x2853b9(_0x56c452-0x10d,_0xc33e03-_0xf6a5de._0x57b196,_0x56c452- -0x46f,_0x61b2c8);}const _0x34e075=Array[_0x18fe48(-0x7b,-_0x2a1f7a._0x2c222e,0xed,_0x2a1f7a._0x48bec5)](_0x14e6b8['content'])?_0x14e6b8[_0x18fe48(0x187,0x2a2,0x254,0xb6)]:[],_0x2325db=_0x34e075[_0x18fe48(0x85,_0x2a1f7a._0x4a87f5,-0x8d,_0x2a1f7a._0x1023f4)](_0x527230=>{const _0x2b1a47={_0x3f1332:0x158,_0x514884:0x14e};function _0x3f5437(_0xccc5ae,_0x5c7d44,_0x15f118,_0x1be74a){return _0x4aa525(_0x15f118-0x7b1,_0x5c7d44-_0x2b1a47._0x3f1332,_0x5c7d44,_0x1be74a-_0x2b1a47._0x514884);}if(!isObject(_0x527230))return'';function _0x5e0f5b(_0xe98eed,_0x4699d8,_0x4faeae,_0x357b8a){return _0x18fe48(_0x357b8a- -_0x27848a._0x5efee3,_0x4699d8-0x93,_0xe98eed,_0x357b8a-_0x27848a._0x246b8f);}if(_0x527230[_0x3f5437(_0x30f785._0x5d488a,_0x30f785._0x1d56dc,0x521,_0x30f785._0x4688cf)]===_0x3f5437(_0x30f785._0x4fc4d5,_0x30f785._0x52a679,_0x30f785._0x43dc84,_0x30f785._0x243569)&&typeof _0x527230[_0x3f5437(0x5be,0x594,_0x30f785._0x415655,0x4fb)]==='string')return _0x527230[_0x3f5437(_0x30f785._0x49e6c1,0x518,_0x30f785._0x43dc84,0x58d)];return JSON[_0x5e0f5b(-_0x30f785._0x1ce947,-0xbe,-_0x30f785._0x1e386c,-_0x30f785._0x182961)](_0x527230);})[_0x18fe48(_0x2a1f7a._0x10edb7,_0x2a1f7a._0x47b009,-0x61,_0x2a1f7a._0x4312f3)](_0x53007e=>_0x53007e['length']>0x0)[_0x4aa525(-0x169,-0xf8,-0xce,-_0x2a1f7a._0x1f4f00)]('\x0a');if(_0x2325db['length']>0x0)return _0x2325db;return JSON[_0x4aa525(-0x1e5,-_0x2a1f7a._0x544ccd,-0x247,-_0x2a1f7a._0x5c9303)](_0x14e6b8,null,0x2);}function createMcpTool(_0x5c3037){const _0x5c9838={_0x36665d:0x659,_0x416c25:0x524,_0x31c4aa:0x736,_0x34ab8e:0x7fa,_0x404b7d:0x6ac,_0x31fcb2:0x609,_0x3d4aed:0x7cc,_0x3d7a60:0x4ed,_0x3d41ee:0x754,_0x2c0ea5:0x6b4,_0x162b0a:0x6ba,_0x19314a:0x62a,_0x489e5a:0x4c7},_0x13f1a3={_0x4e3ef3:0x35b,_0x50162e:0x155,_0x25a93e:0x3f3,_0x13b2e2:0x380,_0x2bc3fd:0xf1,_0x2414bd:0x2ec,_0x2f9aba:0x368,_0x1393f4:0x24,_0x4ce897:0xb7,_0x4965a6:0xd4,_0x104c9e:0x1a6,_0x27c3b3:0x7a,_0x1585aa:0x23a,_0x4237f4:0x1d0,_0x52db40:0x56,_0x46d7d3:0x364},_0x193c1d={_0x27bce6:0x424},_0x597d96={_0x2086fc:0x1b2,_0x1fae24:0xcf};function _0x2dbfbb(_0xfba1a1,_0xcbbaaa,_0xd9494d,_0x3b50f8){return _0x2853b9(_0xfba1a1-_0x597d96._0x2086fc,_0xcbbaaa-0xe7,_0xcbbaaa-_0x597d96._0x1fae24,_0xd9494d);}function _0x1a5f1d(_0x281917,_0x3c7aa5,_0x20188c,_0x52ee6c){return _0x4d9604(_0x281917-0x108,_0x281917,_0x20188c-_0x193c1d._0x27bce6,_0x52ee6c-0x112);}const _0x5e8d9b=createMcpToolName(_0x5c3037['serverName'],_0x5c3037[_0x2dbfbb(0x505,0x62a,_0x5c9838._0x36665d,_0x5c9838._0x416c25)]['name']);return defineTool({'name':_0x5e8d9b,'description':_0x5c3037[_0x2dbfbb(0x77e,0x62a,_0x5c9838._0x31c4aa,0x607)]['description']??_0x2dbfbb(_0x5c9838._0x34ab8e,0x6e7,0x657,_0x5c9838._0x404b7d)+_0x5c3037[_0x1a5f1d(_0x5c9838._0x31fcb2,_0x5c9838._0x3d4aed,0x675,0x6a9)]['name']+_0x1a5f1d(0x708,_0x5c9838._0x3d7a60,0x604,_0x5c9838._0x3d41ee)+_0x5c3037[_0x2dbfbb(_0x5c9838._0x2c0ea5,0x63f,0x6e6,_0x5c9838._0x162b0a)],'inputSchema':toNuvinToolSchema(_0x5c3037[_0x2dbfbb(0x4f0,_0x5c9838._0x19314a,0x6d1,0x4ff)][_0x1a5f1d(0x743,_0x5c9838._0x489e5a,0x626,0x77d)]),async *'execute'(_0x6a4660){const _0x1e5b1a={_0x18bf29:0x6a4,_0x83e929:0x19c},_0x1471af=await _0x5c3037[_0x2e7f9f(-_0x13f1a3._0x4e3ef3,-0x261,-0x237,-_0x13f1a3._0x50162e)][_0x2534fa(0x2b8,0x3a7,_0x13f1a3._0x25a93e,_0x13f1a3._0x13b2e2)]({'name':_0x5c3037[_0x2e7f9f(0xa0,-0x8e,-0x7a,_0x13f1a3._0x2bc3fd)][_0x2534fa(0x34a,0x3e4,_0x13f1a3._0x2414bd,_0x13f1a3._0x2f9aba)],'arguments':isJsonObject(_0x6a4660)?_0x6a4660:{}});function _0x2534fa(_0x22badd,_0x350cf8,_0x165d5c,_0x503aaf){return _0x2dbfbb(_0x22badd-0x11c,_0x503aaf- -0x15f,_0x165d5c,_0x503aaf-0xce);}function _0x2e7f9f(_0x410a18,_0x9798cb,_0x324ea0,_0x368b9f){return _0x2dbfbb(_0x410a18-0x157,_0x324ea0- -_0x1e5b1a._0x18bf29,_0x9798cb,_0x368b9f-_0x1e5b1a._0x83e929);}if(_0x1471af[_0x2e7f9f(-0xf1,_0x13f1a3._0x1393f4,-0x2b,-_0x13f1a3._0x4ce897)])throw new ToolExecutionError(formatMcpContent(_0x1471af),{'serverName':_0x5c3037[_0x2e7f9f(-_0x13f1a3._0x4965a6,0x4,-0x65,-0x11a)],'toolName':_0x5c3037[_0x2e7f9f(-_0x13f1a3._0x104c9e,0x55,-_0x13f1a3._0x27c3b3,-0xe3)][_0x2e7f9f(-0x149,-_0x13f1a3._0x1585aa,-0x1dd,-_0x13f1a3._0x4237f4)]});return yield createToolOutput(formatMcpContent(_0x1471af),{'serverName':_0x5c3037[_0x2e7f9f(0x2a,0x50,-0x65,_0x13f1a3._0x52db40)],'toolName':_0x5c3037['tool'][_0x2534fa(0x36d,0x213,_0x13f1a3._0x46d7d3,_0x13f1a3._0x2f9aba)],'result':_0x1471af}),void 0x0;}});}function resolvePrefix(_0x5ab71d,_0x1a2451){return _0x1a2451['prefix']??_0x5ab71d;}function buildMcpHttpHeaders(_0x20920d){const _0x21cdd0={_0x2bb65d:0x3b4,_0x334b50:0x258,_0x3c7b03:0x1cd,_0x56334f:0x554,_0x1e72d7:0x420,_0x23d00b:0x2fe,_0x23b231:0x316,_0x137451:0x384,_0x41c817:0x551,_0x199a8c:0x339,_0x1e04ce:0x283,_0x479f6b:0x2ae,_0x52b9b4:0x2e6,_0x228a14:0x355,_0x622774:0x3ae,_0x54197f:0x41e,_0x319709:0x4fc,_0x2c0352:0x65d,_0x1c4956:0x4e7,_0x1368fc:0x426,_0x20d0ed:0x3ef,_0x222dab:0x491},_0x31802c={_0x21ffce:0xd0},_0x535b9c={..._0x20920d['headers']??{}};function _0x5f1e8c(_0x3dcee6,_0x4efd,_0x52acd4,_0x1cbd73){return _0x2853b9(_0x3dcee6-0x13d,_0x4efd-0x174,_0x3dcee6- -_0x31802c._0x21ffce,_0x52acd4);}_0x20920d['auth']?.[_0x1b88a8(_0x21cdd0._0x2bb65d,_0x21cdd0._0x334b50,0x327,_0x21cdd0._0x3c7b03)]===_0x1b88a8(0x45b,_0x21cdd0._0x56334f,_0x21cdd0._0x1e72d7,_0x21cdd0._0x23d00b)&&_0x20920d[_0x1b88a8(_0x21cdd0._0x23b231,0x4b8,_0x21cdd0._0x137451,0x2bc)][_0x5f1e8c(0x4fc,_0x21cdd0._0x41c817,0x4db,0x45d)]&&_0x535b9c[_0x1b88a8(_0x21cdd0._0x199a8c,_0x21cdd0._0x1e04ce,_0x21cdd0._0x479f6b,_0x21cdd0._0x52b9b4)]===void 0x0&&(_0x535b9c['Authorization']=_0x1b88a8(0x518,_0x21cdd0._0x228a14,_0x21cdd0._0x622774,_0x21cdd0._0x54197f)+_0x20920d['auth'][_0x5f1e8c(_0x21cdd0._0x319709,0x431,_0x21cdd0._0x2c0352,_0x21cdd0._0x1c4956)]);function _0x1b88a8(_0x1400a1,_0x2e9685,_0x3af58c,_0x2c0e47){return _0x4d9604(_0x1400a1-0x17,_0x2c0e47,_0x3af58c-0x227,_0x2c0e47-0x13b);}return Object[_0x5f1e8c(_0x21cdd0._0x1368fc,_0x21cdd0._0x20d0ed,0x4c1,_0x21cdd0._0x222dab)](_0x535b9c)['length']>0x0?_0x535b9c:void 0x0;}function getErrorMessage(_0x594ac7){const _0xfe0cef={_0x41054a:0xe3},_0x6e368={_0x4463f2:0x1dc,_0x17c4ce:0x34a};function _0x3eca9d(_0x9ec313,_0x20d4d9,_0x76107d,_0x55ce8f){return _0x4d9604(_0x9ec313-_0x6e368._0x4463f2,_0x9ec313,_0x20d4d9- -_0x6e368._0x17c4ce,_0x55ce8f-0xd8);}return _0x594ac7 instanceof Error?_0x594ac7[_0x3eca9d(-0x11c,-0x6b,-_0xfe0cef._0x41054a,0x76)]:String(_0x594ac7);}function isUnauthorizedError(_0x1e8367){const _0xa150dc={_0x692940:0x182,_0x17f623:0xc5,_0x202a6d:0x157,_0x3f32e3:0x1e1,_0x3c1c84:0x22f},_0x44c471={_0x5bd9f8:0x1ce,_0x51c62d:0x59f};function _0x51f612(_0x2e7188,_0x3d2b3a,_0x59803f,_0x2b9ec3){return _0x2853b9(_0x2e7188-_0x44c471._0x5bd9f8,_0x3d2b3a-0x5b,_0x3d2b3a- -_0x44c471._0x51c62d,_0x2b9ec3);}function _0x44f071(_0x443310,_0x332ee2,_0x3c1789,_0x333947){return _0x2853b9(_0x443310-0x41,_0x332ee2-0x1c5,_0x443310- -0x667,_0x333947);}return _0x1e8367 instanceof Error&&_0x1e8367[_0x51f612(-_0xa150dc._0x692940,-0x177,-_0xa150dc._0x17f623,-_0xa150dc._0x202a6d)]['name']===_0x51f612(-_0xa150dc._0x3f32e3,-0x21a,-0x147,-_0xa150dc._0x3c1c84);}async function connectMcpServer(_0x5cf06c,_0x2119b8,_0x47a360){const _0x498850={_0x11d85e:0x1e9,_0x4c3742:0x153,_0x5f2f09:0x241,_0x1af81d:0x3a9,_0x6b5855:0x35e,_0x12d852:0x226,_0x1cbb77:0x148,_0x5236ef:0x12,_0x5aaaa7:0x23,_0x549799:0x100,_0x56dd17:0x3eb,_0x2d57e2:0x3c7,_0x4be8d3:0x28f,_0x305aeb:0x171,_0x2c84da:0x16e,_0x2f0826:0x8b,_0x4d7f1a:0x399,_0x1b53d1:0x2c3,_0x343f2e:0x3c6,_0x1ebfb4:0x386,_0x211195:0x3ca,_0x186ddd:0x46,_0x23c881:0xc1,_0x10222c:0x14,_0x499d3d:0x31e,_0x19eaa5:0x3eb,_0x205684:0x317,_0x57cb59:0x163,_0x2db31a:0x123,_0x59d3e1:0xfe,_0xd99bd3:0x25b,_0x3ac617:0xe7,_0x3b4ef7:0x1,_0xe05550:0x364,_0x1b405e:0x34e,_0x47685b:0x10e,_0x1219d5:0x455,_0x2baa68:0x2ea,_0x3a5dba:0x13a,_0x2461ee:0x2e5,_0x309f47:0x3f2,_0xfd5b99:0x234,_0x3a8daf:0x23},_0x1913da={_0xc6a250:0x428,_0x2d0d83:0x4f9,_0x3e14ab:0x601,_0x3bf599:0x431},_0x51bebb={_0x463d55:0x25b},_0x13bf72={_0x2d1729:0x2ef,_0x550f83:0x17b,_0x1a8760:0x408},_0x2181da={_0x1d30de:0x30c},_0x146f75={_0x116037:0x25d},_0x491ad0={_0x14699d:0x84,_0x4569ca:0x5b},_0x585ef5={_0xf2e817:0x1ca,_0x4dd6cc:0xcd,_0x2b79a8:0x122};function _0x51abb1(_0x1b5f9c,_0x8c79f3,_0x5c19db,_0x7ba173){return _0x4d9604(_0x1b5f9c-_0x585ef5._0xf2e817,_0x7ba173,_0x8c79f3-_0x585ef5._0x4dd6cc,_0x7ba173-_0x585ef5._0x2b79a8);}function _0x19a2f5(_0x4c1638,_0x14988a,_0xa637ed,_0x5ef225){return _0x4d9604(_0x4c1638-_0x491ad0._0x14699d,_0x4c1638,_0x14988a- -_0x491ad0._0x4569ca,_0x5ef225-0x18c);}const _0x281d37=new Client({'name':'nuvin','version':'0.0.0'});_0x281d37[_0x19a2f5(_0x498850._0x11d85e,0x14b,0x1d2,_0x498850._0x4c3742)]=_0x1bfde0=>{const _0x4bc653={_0x40d986:0x119};function _0x26f0cf(_0x296676,_0x49f77d,_0x4afa46,_0xbd8d7f){return _0x19a2f5(_0x296676,_0xbd8d7f- -_0x146f75._0x116037,_0x4afa46-0xe4,_0xbd8d7f-0x13f);}function _0x4c9323(_0x3ceb8b,_0x2935fc,_0x554c4b,_0x3e1bc7){return _0x19a2f5(_0x554c4b,_0x3ceb8b-0x435,_0x554c4b-0x53,_0x3e1bc7-_0x4bc653._0x40d986);}console['error'](_0x26f0cf(-0x160,-0x18b,-0x195,-0x167)+_0x5cf06c+_0x26f0cf(-_0x2181da._0x1d30de,-0xff,-0x211,-0x1a6),_0x1bfde0['message']);};if(_0x2119b8[_0x51abb1(_0x498850._0x5f2f09,0x2aa,0x403,0x338)]===_0x51abb1(_0x498850._0x1af81d,0x303,0x1cc,0x307)||_0x2119b8[_0x51abb1(_0x498850._0x6b5855,_0x498850._0x12d852,_0x498850._0x1cbb77,0x1e6)]){if(!_0x2119b8[_0x19a2f5(_0x498850._0x5236ef,0xfe,_0x498850._0x5aaaa7,0x3b)])throw new Error('MCP\x20server\x20'+_0x5cf06c+'\x20requires\x20url\x20for\x20http\x20transport');if(_0x2119b8['auth']?.[_0x19a2f5(0xea,0xa5,-0x85,_0x498850._0x549799)]==='oauth'&&!_0x47a360?.[_0x51abb1(0x540,_0x498850._0x56dd17,0x3b6,_0x498850._0x2d57e2)])throw new Error('MCP\x20server\x20'+_0x5cf06c+_0x51abb1(_0x498850._0x4be8d3,_0x498850._0x305aeb,0xa5,0x264));const _0x345835=buildMcpHttpHeaders(_0x2119b8),_0x1ca224=_0x2119b8[_0x19a2f5(_0x498850._0x2c84da,0x102,0x139,_0x498850._0x2f0826)]?.['type']===_0x19a2f5(_0x498850._0x4d7f1a,_0x498850._0x1b53d1,0x201,0x304)&&_0x47a360?.['oauth']?createMcpOAuthProvider({'serverName':_0x5cf06c,'callbackUrl':_0x47a360[_0x19a2f5(_0x498850._0x343f2e,0x2c3,_0x498850._0x1ebfb4,_0x498850._0x211195)][_0x19a2f5(-_0x498850._0x186ddd,_0x498850._0x23c881,-_0x498850._0x10222c,0x211)],'storageDir':_0x47a360[_0x51abb1(_0x498850._0x499d3d,_0x498850._0x19eaa5,_0x498850._0x205684,0x312)]['storageDir'],'config':_0x2119b8[_0x51abb1(0x1a5,0x22a,_0x498850._0x57cb59,0x2fa)],'onRedirect':_0x1a4dd5=>_0x47a360[_0x51abb1(0x4b4,0x3eb,0x434,0x464)]?.[_0x19a2f5(0x313,0x221,0x323,0x114)](_0x5cf06c,_0x1a4dd5)}):void 0x0,_0x65283f=new StreamableHTTPClientTransport(new URL(_0x2119b8[_0x19a2f5(_0x498850._0x2db31a,_0x498850._0x59d3e1,0x14f,_0x498850._0xd99bd3)]),{'authProvider':_0x1ca224,'requestInit':_0x345835?{'headers':_0x345835}:void 0x0});await _0x281d37[_0x19a2f5(-_0x498850._0x3ac617,0x16,-0x33,-_0x498850._0x3b4ef7)](_0x65283f);}else{if(!_0x2119b8[_0x51abb1(0x470,0x302,_0x498850._0xe05550,_0x498850._0x1b405e)])throw new Error('MCP\x20server\x20'+_0x5cf06c+_0x19a2f5(-0x31,0x8e,0x49,_0x498850._0x47685b));const _0x48fc7a=new StdioClientTransport({'command':_0x2119b8[_0x51abb1(_0x498850._0x1219d5,0x302,_0x498850._0x2baa68,0x409)],'args':_0x2119b8[_0x51abb1(0x75,0x151,0x8b,_0x498850._0x3a5dba)]??[],'env':_0x2119b8[_0x51abb1(0xa1,0x162,0x52,0x3f)],'stderr':_0x51abb1(_0x498850._0x2461ee,0x2ba,_0x498850._0x309f47,0x2c2)});await _0x281d37[_0x51abb1(_0x498850._0xfd5b99,0x13e,0x1f3,-_0x498850._0x3a8daf)](_0x48fc7a);}return{async 'listTools'(){const _0x216154={_0x240ced:0x184,_0x4235c4:0xf9};function _0x42c18e(_0x2a0a0c,_0x31af68,_0x173574,_0x3160ef){return _0x51abb1(_0x2a0a0c-_0x216154._0x240ced,_0x31af68-_0x216154._0x4235c4,_0x173574-0x1c4,_0x2a0a0c);}return await _0x281d37[_0x42c18e(0x34e,_0x13bf72._0x2d1729,_0x13bf72._0x550f83,_0x13bf72._0x1a8760)]();},async 'callTool'(_0x2df1ed){const _0x29daba={_0x1cf174:0x2da,_0xb581bd:0x1cf};function _0x5208ce(_0x22bb50,_0x32b719,_0x206945,_0x440e4d){return _0x19a2f5(_0x32b719,_0x206945-_0x51bebb._0x463d55,_0x206945-0x11a,_0x440e4d-0x1ef);}function _0x169d44(_0x4700ce,_0xa13cc0,_0x130327,_0x4cb2c0){return _0x19a2f5(_0x130327,_0x4cb2c0-_0x29daba._0x1cf174,_0x130327-0x3c,_0x4cb2c0-_0x29daba._0xb581bd);}return await _0x281d37[_0x169d44(_0x1913da._0xc6a250,0x588,0x46a,0x4f1)]({'method':_0x169d44(_0x1913da._0x2d0d83,_0x1913da._0x3e14ab,_0x1913da._0x3bf599,0x4ed),'params':_0x2df1ed},CallToolResultSchema);},async 'close'(){await _0x281d37['close']();}};}async function createMcpToolsFromServers(_0x1c943e){const _0x345407={_0x51ab10:0x313,_0x2a2220:0x232,_0x3ed72a:0x1da,_0x4514b5:0x292,_0x3fda54:0x38a,_0x2be2f9:0x318,_0x25300d:0x38c,_0x1a50a6:0x460,_0x135d12:0x368,_0x42a8ec:0x2bd,_0x32bfd1:0x3c4,_0x5c1bb5:0x3a3,_0x4d454c:0x180,_0x200577:0xa3,_0x14d4ff:0xc5,_0x42f599:0x71,_0x332480:0x2d4,_0x10c6dd:0x3ee},_0x7b988c={_0x25b523:0x18c,_0x10308d:0x55,_0xe5926d:0x610},_0x3dbabf={_0x28cff6:0x118,_0x3ebe86:0x1f4};function _0x1ca5af(_0x4b284b,_0x2c6bdd,_0x1c37fa,_0x375300){return _0x2853b9(_0x4b284b-_0x3dbabf._0x28cff6,_0x2c6bdd-_0x3dbabf._0x3ebe86,_0x375300- -0x4b6,_0x4b284b);}const _0x42dd63=_0x1c943e[_0x1e1015(_0x345407._0x51ab10,_0x345407._0x2a2220,_0x345407._0x3ed72a,0x228)]??connectMcpServer,_0x4a3c73=[];function _0x1e1015(_0x1b452d,_0x39e108,_0x3fef07,_0x4c2579){return _0x4d9604(_0x1b452d-0x1d4,_0x4c2579,_0x3fef07-0x169,_0x4c2579-0x129);}const _0x515ada={},_0x52ba25=[];for(const [_0x43c5f4,_0x57f637]of Object[_0x1e1015(_0x345407._0x4514b5,0x3f3,_0x345407._0x3fda54,_0x345407._0x2be2f9)](_0x1c943e[_0x1e1015(0x20c,_0x345407._0x25300d,0x277,0x170)]??{})){if(_0x57f637['enabled']===![]){_0x515ada[_0x43c5f4]={'status':_0x1e1015(_0x345407._0x1a50a6,_0x345407._0x135d12,0x3e1,0x447)};continue;}try{const _0x3be502=await _0x42dd63(_0x43c5f4,_0x57f637,_0x1c943e['connection']);_0x4a3c73[_0x1ca5af(0x8,-0x4b,-0xe6,-0x76)](_0x3be502);const _0x44cac0=await _0x3be502[_0x1e1015(0x1d3,_0x345407._0x42a8ec,0x292,_0x345407._0x32bfd1)]();let _0x547e16=0x0;for(const _0x572bd9 of _0x44cac0[_0x1e1015(_0x345407._0x5c1bb5,0x3f2,0x3be,0x3a7)]){const _0x54a8c1=_0x1c943e['allowedTools']?.[_0x43c5f4]?.[_0x572bd9[_0x1e1015(0x245,0x353,0x257,_0x345407._0x4d454c)]];if(_0x54a8c1===![])continue;_0x547e16+=0x1,_0x52ba25['push'](createMcpTool({'serverName':resolvePrefix(_0x43c5f4,_0x57f637),'tool':_0x572bd9,'client':_0x3be502}));}_0x515ada[_0x43c5f4]={'status':_0x1ca5af(_0x345407._0x200577,-0x1e6,_0x345407._0x14d4ff,-_0x345407._0x42f599),'toolCount':_0x547e16};}catch(_0x4aebee){_0x515ada[_0x43c5f4]=isUnauthorizedError(_0x4aebee)?{'status':_0x1e1015(_0x345407._0x332480,0x3ed,_0x345407._0x10c6dd,0x3a1),'message':getErrorMessage(_0x4aebee)}:{'status':_0x1e1015(0x21e,0x302,0x27f,0x191),'message':getErrorMessage(_0x4aebee)};}}return{'tools':_0x52ba25,'servers':_0x515ada,async 'close'(){const _0x399650={_0x4ad54:0x1a3,_0x419ec5:0x101,_0x4717a9:0x532};function _0x3c8764(_0x54d6f1,_0x2ce2e1,_0x5dcbc7,_0x3e47b2){return _0x1ca5af(_0x3e47b2,_0x2ce2e1-_0x399650._0x4ad54,_0x5dcbc7-_0x399650._0x419ec5,_0x5dcbc7-_0x399650._0x4717a9);}function _0x438df2(_0x237fdf,_0x6c7336,_0x5cf6f4,_0x5c0768){return _0x1e1015(_0x237fdf-0x1,_0x6c7336-0xf9,_0x5c0768- -0x36b,_0x6c7336);}await Promise[_0x438df2(-0x97,-0x2a,_0x7b988c._0x25b523,_0x7b988c._0x10308d)](_0x4a3c73[_0x3c8764(_0x7b988c._0xe5926d,0x60a,0x570,0x6e4)](_0x1529d5=>_0x1529d5[_0x3c8764(0x6c1,0x5ff,0x571,0x664)]()));}};}function getCommand(_0x4133dc){const _0x534273={_0x549c76:0x36e,_0x4b55cc:0x1cb,_0x42c31a:0xd,_0x4880ab:0x35c,_0x3f7fd2:0x4b9,_0x36624e:0x4d1,_0x1bc384:0x57,_0x274ec1:0x114},_0x417a47={_0x52f71b:0xb9,_0x2aba56:0x179};function _0x1fce6e(_0x2be45e,_0x38c3e9,_0x4df737,_0x35ef5d){return _0x2853b9(_0x2be45e-_0x417a47._0x52f71b,_0x38c3e9-_0x417a47._0x2aba56,_0x38c3e9- -0x6a3,_0x4df737);}if(_0x4133dc&&typeof _0x4133dc===_0x1fce6e(-0x3c2,-0x303,-0x304,-0x2fc)&&!Array[_0x24ddf3(_0x534273._0x549c76,0x242,0x472,0x43d)](_0x4133dc)&&typeof _0x4133dc[_0x1fce6e(-_0x534273._0x4b55cc,-0x164,-0x290,-_0x534273._0x42c31a)]===_0x1fce6e(-_0x534273._0x4880ab,-0x25c,-0x343,-0x29b))return _0x4133dc[_0x24ddf3(_0x534273._0x3f7fd2,_0x534273._0x36624e,0x58f,0x51e)];function _0x24ddf3(_0x353833,_0x5b8759,_0x2d44ba,_0x7a4bfc){return _0x2853b9(_0x353833-0x95,_0x5b8759-0x111,_0x353833- -0x86,_0x7a4bfc);}return _0x1fce6e(-0xdd,-_0x534273._0x1bc384,-0xf1,_0x534273._0x274ec1);}var MOCK_WORKSPACE_LISTING=[_0x4d9604(0xb2,0x75,0x73,0x61),_0x4d9604(0x20a,0x1ba,0x98,0x6a),_0x4d9604(0x118,0x129,0xa6,-0x87),_0x4d9604(0xb5,0xa4,0x9f,0x154),'src/agent/agent.ts',_0x4d9604(0x70,0x2a9,0x17b,0x1bd),'src/examples/demo.ts',_0x2853b9(0x506,0x35d,0x484,0x315),_0x2853b9(0x4b2,0x4c6,0x5e4,0x5d4),_0x2853b9(0x45e,0x405,0x3fa,0x3ad),'src/formats/provider-adapters.ts',_0x4d9604(0x1ec,0x264,0x233,0x170),_0x2853b9(0x5de,0x3ef,0x505,0x609),_0x4d9604(0x3a5,0x2a6,0x34c,0x36f),_0x2853b9(0x481,0x38b,0x4ad,0x35d),_0x2853b9(0x238,0x370,0x39c,0x414),'src/agent/turn-engine.test.ts'][_0x4d9604(0x290,0x2d8,0x227,0x2c5)]('\x0a'),SHELL_EXEC_TOOL={'name':_0x4d9604(0x2ab,0x344,0x299,0x1cb),'description':'Executes\x20a\x20shell\x20command','input_schema':{'type':'object','properties':{'command':{'type':_0x2853b9(0x508,0x45d,0x447,0x58f)}},'required':[_0x2853b9(0x68b,0x3e4,0x53f,0x4bb)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x53b3c0){return{'output':_0x53b3c0,'structured':{'value':_0x53b3c0}};}function createUnknownToolResult(_0x16b8f9){const _0x1d1dc2={_0x2b8eff:0x352,_0x2c30e0:0x7,_0x28b655:0x91},_0x640655={_0x590c6c:0xed,_0x23e96d:0x196},_0x4e9ac3={_0x4dcd7b:0x3d,_0x5326b0:0x11d,_0x2a4689:0x14d};function _0x58f2a1(_0x347163,_0x25a933,_0x55bf08,_0x566db8){return _0x4d9604(_0x347163-_0x4e9ac3._0x4dcd7b,_0x25a933,_0x55bf08- -_0x4e9ac3._0x5326b0,_0x566db8-_0x4e9ac3._0x2a4689);}function _0xa4bbf6(_0x5f46a1,_0x18ca90,_0x8986bd,_0x155bed){return _0x2853b9(_0x5f46a1-_0x640655._0x590c6c,_0x18ca90-0x171,_0x155bed- -_0x640655._0x23e96d,_0x5f46a1);}return{'callId':_0x16b8f9['id'],'toolName':_0x16b8f9[_0xa4bbf6(0x18f,0x222,_0x1d1dc2._0x2b8eff,0x262)],'status':_0x58f2a1(0x154,0xb,-_0x1d1dc2._0x2c30e0,-0x172),'output':'Unknown\x20tool:\x20'+_0x16b8f9[_0x58f2a1(-0x129,_0x1d1dc2._0x28b655,-0x2f,-0xfc)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x232929,_0x466590){const _0x4198c5={_0x35027e:0x2eb,_0x4a5a13:0x33,_0x2fb05d:0x51},_0x224237={_0x23e315:0x10a},_0x3765a0={_0x10bbe3:0x16b};function _0x59f164(_0x4da9d5,_0x3ab9f3,_0x409103,_0x48d986){return _0x2853b9(_0x4da9d5-0x19c,_0x3ab9f3-_0x3765a0._0x10bbe3,_0x4da9d5- -0x443,_0x3ab9f3);}function _0x2c19d1(_0xa8eb66,_0x56c380,_0x2383c0,_0x1b8bae){return _0x2853b9(_0xa8eb66-0x184,_0x56c380-_0x224237._0x23e315,_0xa8eb66- -0x10d,_0x1b8bae);}return{'callId':_0x232929['id'],'toolName':_0x232929[_0x2c19d1(_0x4198c5._0x35027e,0x38e,0x2c2,0x27d)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x232929[_0x59f164(-0x21,_0x4198c5._0x4a5a13,_0x4198c5._0x2fb05d,0x81)]),'exitCode':0x0},'chunks':[_0x466590],'meta':createMeta()};}function createMockToolRuntime(){const _0x378632={_0x40dd9c:0x139,_0x4d91f6:0x498,_0x1787a0:0x4e1},_0x2f3608={_0x1623e7:0x27d},_0x57b12a={_0x305ac9:0x3cf},_0x4b7eb4={_0x344109:0x173},_0x5746da=async(_0x65a5a9,_0x3e7b20)=>{function _0x10a76b(_0x2df5ea,_0x807354,_0x4f1ae6,_0x5d80ee){return _0x1b39(_0x807354- -_0x4b7eb4._0x344109,_0x5d80ee);}function _0x56b03e(_0x5e0db5,_0x1a7b07,_0x30fbbe,_0xae8505){return _0x1b39(_0xae8505-_0x57b12a._0x305ac9,_0x1a7b07);}if(_0x65a5a9[_0x56b03e(0x5ea,0x4f1,0x455,0x503)]!==_0x10a76b(_0x2f3608._0x1623e7,0x16c,0x272,0x2b6))return createUnknownToolResult(_0x65a5a9);const _0x3e40e6=createOutputChunk(MOCK_WORKSPACE_LISTING);return createSuccessToolResult(_0x65a5a9,_0x3e40e6);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x5955c8,_0x3d42fe){function _0x3ef3de(_0x10c1ca,_0x37f86d,_0x267849,_0x31055b){return _0x1b39(_0x10c1ca-0x374,_0x37f86d);}function _0x4914a6(_0x379abe,_0x185e91,_0x4209b7,_0x4efaaf){return _0x1b39(_0x379abe- -0x206,_0x4209b7);}return await Promise[_0x4914a6(0x97,_0x378632._0x40dd9c,-0x62,-0x4d)](_0x5955c8[_0x3ef3de(0x5a4,_0x378632._0x4d91f6,0x5ba,_0x378632._0x1787a0)](async _0x417335=>{return await _0x5746da(_0x417335,_0x3d42fe);}));},async 'execute'(_0x174de4,_0x3c67f9){return await _0x5746da(_0x174de4,_0x3c67f9);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0xf6e9={_0x1f80cc:0xc9,_0xab6ea0:0xf,_0x42d661:0x218},_0x162a17={_0x509d2d:0x13d,_0x3ddae5:0x151};function _0x3e8186(_0x4128cf,_0x561274,_0x1e4adb,_0xcdd813){return _0x2853b9(_0x4128cf-_0x162a17._0x509d2d,_0x561274-_0x162a17._0x3ddae5,_0xcdd813- -0x616,_0x4128cf);}return delegatedRunCounter+=0x1,_0x3e8186(-_0xf6e9._0x1f80cc,-_0xf6e9._0xab6ea0,-_0xf6e9._0x42d661,-0xe2)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x370921,_0x5b3426){const _0x5b103a={_0xc5c9bf:0x2db,_0x27da2c:0x292,_0x1a8fab:0x2c5},_0x3cd2d1={_0x290a5d:0x2b};function _0x8d898e(_0x39ac48,_0x37c001,_0x4c14a3,_0x18be41){return _0x4d9604(_0x39ac48-0x10b,_0x39ac48,_0x37c001-_0x3cd2d1._0x290a5d,_0x18be41-0x22);}return typeof _0x370921===_0x8d898e(0x28e,_0x5b103a._0xc5c9bf,_0x5b103a._0x27da2c,_0x5b103a._0x1a8fab)?await _0x370921(_0x5b3426):_0x370921;}function getDelegatedAgentDefinition(_0x2b9496,_0x44aeb6){return _0x2b9496['agents']?.[_0x44aeb6];}function createRunSummary(_0x2a279c){const _0x43094f={_0x56a548:0xea,_0x38acfe:0x6e,_0xfd06ff:0x137,_0x47d442:0xe2,_0x5c1753:0xda,_0x49d5e1:0x111,_0x56fa7f:0x13f,_0xd7eea9:0x43,_0x3a06ec:0x28b,_0x35d2fd:0x1d7,_0x21194c:0x2f5,_0x5eb85:0x13a,_0x5a7e54:0x1de,_0x4011dd:0x1d7},_0x167855={_0x3aa88c:0x177},_0x4963de={_0x3ed522:0x244};function _0x3fa341(_0x8360e,_0x3d0b35,_0x1f0104,_0x3876bf){return _0x4d9604(_0x8360e-0x92,_0x3876bf,_0x3d0b35- -_0x4963de._0x3ed522,_0x3876bf-0x3f);}function _0x992e30(_0x366827,_0x3f3556,_0x547b77,_0x1c59ba){return _0x4d9604(_0x366827-0xc2,_0x3f3556,_0x547b77- -_0x167855._0x3aa88c,_0x1c59ba-0x65);}return{'runId':_0x2a279c[_0x992e30(0xe1,-_0x43094f._0x56a548,_0x43094f._0x38acfe,-0x8f)],'agentId':_0x2a279c['agentId'],'sessionId':_0x2a279c['sessionId'],'status':_0x2a279c[_0x992e30(_0x43094f._0xfd06ff,-0x97,0x44,0x17)],'parentSessionId':_0x2a279c['parentSessionId'],..._0x2a279c[_0x992e30(-_0x43094f._0x47d442,-0x190,-0x20,-_0x43094f._0x5c1753)]!==void 0x0?{'originToolCallId':_0x2a279c['originToolCallId']}:{},..._0x2a279c[_0x992e30(0x108,_0x43094f._0x49d5e1,_0x43094f._0x56fa7f,0xfb)]!==void 0x0?{'errorMessage':_0x2a279c[_0x992e30(0x124,_0x43094f._0xd7eea9,0x13f,_0x43094f._0x3a06ec)]}:{},..._0x2a279c['result']?.[_0x3fa341(-0x330,-_0x43094f._0x35d2fd,-_0x43094f._0x21194c,-0x2d8)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x2a279c[_0x3fa341(-0xf7,0x17,_0x43094f._0x5eb85,-0x149)][_0x3fa341(-_0x43094f._0x5a7e54,-_0x43094f._0x4011dd,-0x2fd,-0x2e1)])}:{}};}function createRunSummaryOutput(_0x1b777f,_0x4b1766){const _0x3445de={_0x40f579:0x31a,_0x50de3b:0x4fb,_0x68e239:0x392,_0x4ce224:0x4df,_0x1f8f0e:0x54b},_0x3f5e16={_0x3bff1b:0x17a},_0x394d9b={_0x259093:0x82};function _0x4d9dca(_0x3962d6,_0x124fb5,_0x4e1e4b,_0x80f74b){return _0x2853b9(_0x3962d6-0x142,_0x124fb5-0x4b,_0x3962d6- -_0x394d9b._0x259093,_0x80f74b);}function _0x55733f(_0xefefa8,_0x15a842,_0xa60c47,_0x3e34cc){return _0x2853b9(_0xefefa8-0x171,_0x15a842-_0x3f5e16._0x3bff1b,_0xa60c47- -0x9,_0xefefa8);}const _0x135c0d=createRunSummary(_0x1b777f),_0x2d640e=_0x135c0d['finalMessageText'];return createToolOutput(typeof _0x2d640e===_0x55733f(_0x3445de._0x40f579,_0x3445de._0x50de3b,0x43e,_0x3445de._0x68e239)&&_0x2d640e[_0x55733f(0x64d,0x5c8,_0x3445de._0x4ce224,_0x3445de._0x1f8f0e)]>0x0?_0x2d640e:_0x4b1766,_0x135c0d);}function getRunTerminalErrorMessage(_0x461607){const _0xf3b977={_0x1b7294:0x3c6,_0x51d82f:0x341,_0x1e0ff8:0x2a2,_0x51022b:0x312,_0x480849:0x1e2,_0x49fbac:0x3a8,_0x373902:0x1f3,_0x1d64ea:0xc8,_0x578481:0x1cb,_0x37cf24:0x2f8,_0x3865a9:0x2ad,_0x4d0aae:0x3d8,_0x260d99:0x318,_0x2ee591:0x3c2},_0x18b4fd={_0x3c42e6:0x123,_0x4cefe1:0xac},_0x48d8f1={_0x5c04f9:0xd};function _0x146bb0(_0x34e553,_0x3fee7f,_0x5ee242,_0xbab846){return _0x4d9604(_0x34e553-0x158,_0x5ee242,_0x3fee7f-_0x48d8f1._0x5c04f9,_0xbab846-0x25);}function _0x131611(_0x1120c1,_0x2096d5,_0x1810f6,_0x119504){return _0x2853b9(_0x1120c1-_0x18b4fd._0x3c42e6,_0x2096d5-_0x18b4fd._0x4cefe1,_0x1810f6- -0x255,_0x119504);}const _0x557001=_0x461607?.[_0x146bb0(0x325,0x2ed,_0xf3b977._0x1b7294,_0xf3b977._0x51d82f)][_0x131611(0xda,_0xf3b977._0x1e0ff8,0x163,0x1ba)]['at'](-0x1);if(_0x557001?.[_0x131611(_0xf3b977._0x51022b,_0xf3b977._0x480849,0x270,_0xf3b977._0x49fbac)]===_0x131611(_0xf3b977._0x373902,_0xf3b977._0x1d64ea,_0xf3b977._0x578481,0x207)&&_0x557001['output'][_0x131611(_0xf3b977._0x37cf24,_0xf3b977._0x3865a9,0x3f3,0x470)]()['length']>0x0)return _0x557001[_0x146bb0(_0xf3b977._0x4d0aae,_0xf3b977._0x260d99,_0xf3b977._0x2ee591,0x45f)];return void 0x0;}function formatAbortedRunMessage(_0x1518bb,_0x5a3ec2){const _0x146c0e={_0x37c525:0x6bd,_0x4ef3fd:0x82f,_0x13f3d5:0x7a1,_0x500185:0x362,_0x204032:0x2fe},_0x1cd987='Agent\x20run\x20'+_0x1518bb+'\x20was\x20aborted.';function _0x5e0cba(_0x1d7dbb,_0x3094d7,_0x5dae64,_0x1f1c09){return _0x2853b9(_0x1d7dbb-0x37,_0x3094d7-0x33,_0x1d7dbb-0x75,_0x1f1c09);}if(!_0x5a3ec2||_0x5a3ec2[_0x5e0cba(_0x146c0e._0x37c525,_0x146c0e._0x4ef3fd,_0x146c0e._0x13f3d5,0x655)]()[_0x109800(_0x146c0e._0x500185,_0x146c0e._0x204032,0x325,0x247)]===0x0||_0x5a3ec2===_0x1cd987)return _0x1cd987;function _0x109800(_0xf83732,_0x1f046a,_0x1fd16b,_0x4928f6){return _0x4d9604(_0xf83732-0x18e,_0x4928f6,_0xf83732-0x184,_0x4928f6-0x1e);}return _0x1cd987+'\x20Cause:\x20'+_0x5a3ec2;}function createAssignTaskTool(_0x1ca643){const _0x4297a5={_0x2d5e19:0x263,_0x1f1731:0x373,_0x468949:0x183,_0x1f952a:0x106,_0x288e3c:0x1d1,_0x2d44be:0x253,_0x295861:0xc0,_0x3fae69:0xe2,_0x125460:0x20f,_0x1ac162:0xf7,_0x51038e:0x13e,_0x4477ac:0x1b2,_0x1e17d5:0x37e,_0x3906c8:0x4cd,_0x58c84f:0x3c9,_0x31dbb7:0x13a,_0x36ef1e:0x274},_0x33c27c={_0x270436:0x6e3,_0x1debfc:0x4d1,_0x51b4cb:0x100,_0x2ea0cd:0x137,_0x201494:0x267,_0x176f78:0x38f,_0x41aba5:0x433,_0x9cd596:0x37a,_0x20dcb3:0x3f8,_0x31931c:0x430,_0x3ea638:0x21f,_0x2ba07c:0x27c,_0x2672cb:0x197,_0x15cad7:0x4bc,_0x5aa497:0x2fd,_0x3f3210:0x254,_0x1b3dbc:0x1e,_0x55bbb7:0x137,_0x5a6b53:0x23d,_0x81e8fd:0x3a7,_0x3878b4:0x488,_0x184288:0x429,_0x3edf35:0x547,_0x4ba562:0x2e7,_0x4e3c13:0x350,_0x5178e4:0x237,_0x4563ce:0x397,_0x53ac4b:0x420,_0x3864e1:0x36e,_0x10ac26:0x125,_0x432114:0xba,_0x5e849c:0x37,_0x1e5c9b:0x61d,_0x2ce14f:0x2e5,_0x49315f:0x20b,_0x413af1:0x283,_0x1773d8:0x230,_0x2ea665:0x498,_0x246f64:0x4bf,_0x50fbcb:0x393,_0x9a0dee:0x46e,_0x57e935:0x3b2,_0x2426f1:0x39a,_0x229c2c:0x342,_0x397761:0x387,_0x20dda0:0x15a,_0x5e11ce:0x41b,_0x43ff25:0x553,_0x47e1da:0x3ba,_0x1fd738:0x3ea,_0x198af1:0x611,_0x9fcadd:0x658,_0x391fcc:0x475,_0x575129:0x55c,_0x3cb24b:0x4e2,_0x4c2e27:0x56d,_0x5c0110:0x5b0,_0x2a78db:0x500,_0x5eb732:0x5d7,_0x50d0af:0x16c,_0x24e501:0x1a5,_0x88152f:0x21a,_0x3741eb:0x4b4,_0x344651:0x4dd,_0x5fd678:0x4d5,_0x125530:0x4ab},_0x203dfe={_0x175c5f:0x264,_0x2a1779:0x23},_0x6f82fe={_0x3121a8:0x83,_0x4e84ac:0x238},_0x518bbb={_0x35b389:0x6f,_0x35e7de:0x276};function _0x47bd1e(_0x549358,_0x24d456,_0x340196,_0x4e8870){return _0x2853b9(_0x549358-_0x518bbb._0x35b389,_0x24d456-0x18d,_0x549358- -_0x518bbb._0x35e7de,_0x4e8870);}function _0x189a23(_0x53d39d,_0x128fd3,_0x204e9c,_0x314598){return _0x2853b9(_0x53d39d-0x17f,_0x128fd3-_0x6f82fe._0x3121a8,_0x128fd3- -_0x6f82fe._0x4e84ac,_0x53d39d);}return defineTool({'name':'AssignTask','description':_0x47bd1e(_0x4297a5._0x2d5e19,0x315,_0x4297a5._0x1f1731,_0x4297a5._0x468949),'inputSchema':{'type':_0x47bd1e(0x12a,0x53,0xa1,_0x4297a5._0x1f952a),'properties':{'agentId':{'type':_0x47bd1e(_0x4297a5._0x288e3c,0x69,_0x4297a5._0x2d44be,0x18b)},'description':{'type':_0x47bd1e(_0x4297a5._0x288e3c,0x2c9,_0x4297a5._0x295861,_0x4297a5._0x3fae69)},'nickname':{'type':_0x189a23(0x181,_0x4297a5._0x125460,_0x4297a5._0x1ac162,_0x4297a5._0x51038e)},'task':{'type':_0x189a23(0x266,_0x4297a5._0x125460,0x320,_0x4297a5._0x4477ac)}},'required':['agentId',_0x47bd1e(_0x4297a5._0x1e17d5,_0x4297a5._0x3906c8,_0x4297a5._0x58c84f,0x383),_0x189a23(0x1b2,_0x4297a5._0x31dbb7,_0x4297a5._0x36ef1e,0x291)]},async *'execute'(_0x234932,_0x48f419){const _0x3b5bfc={_0x18e950:0x3a2,_0x37787a:0x330,_0x2035c5:0x1bd,_0x386c2c:0x104},_0x3abe7c={_0x193656:0x52,_0x1ef59e:0xa3},_0x35b4fd={_0x400bc1:0x2a,_0x4fd082:0x10c,_0x5f0ae3:0x1d1},_0x57faab={_0x530ff4:0x42},_0x5a3b63=createDelegatedRunId(),_0x3a70ee={'agentId':_0x234932[_0x335503(0x6bd,_0x33c27c._0x270436,_0x33c27c._0x1debfc,0x620)],'parentSessionId':_0x48f419['sessionId'],'runId':_0x5a3b63,..._0x48f419[_0x3a47ce(0x22f,_0x33c27c._0x51b4cb,0x135,_0x33c27c._0x2ea0cd)]!==void 0x0?{'toolCallId':_0x48f419['toolCallId']}:{}},_0x3623db=getDelegatedAgentDefinition(_0x1ca643,_0x234932[_0x3a47ce(_0x33c27c._0x201494,0x25d,_0x33c27c._0x176f78,0x37a)]);if(!_0x3623db)throw new ToolExecutionError('Unknown\x20delegated\x20agent:\x20'+_0x234932[_0x3a47ce(0x21c,_0x33c27c._0x41aba5,0x2e4,_0x33c27c._0x9cd596)],{'agentId':_0x234932[_0x3a47ce(0x2f6,_0x33c27c._0x20dcb3,_0x33c27c._0x31931c,_0x33c27c._0x9cd596)]});const _0x13536f=new Agent(await resolveDelegatedAgentOptions(_0x3623db,_0x3a70ee));let _0x37e60c={'runId':_0x5a3b63,'agentId':_0x234932[_0x3a47ce(_0x33c27c._0x3ea638,0x291,_0x33c27c._0x2ba07c,_0x33c27c._0x9cd596)],'sessionId':_0x13536f[_0x335503(0x292,0x51e,0x30a,0x3ce)],'status':_0x3a47ce(0x17c,_0x33c27c._0x2672cb,0x175,0x103),'parentSessionId':_0x48f419['sessionId'],..._0x48f419[_0x335503(_0x33c27c._0x15cad7,_0x33c27c._0x5aa497,0x2fd,0x3dd)]!==void 0x0?{'originToolCallId':_0x48f419[_0x3a47ce(_0x33c27c._0x3f3210,_0x33c27c._0x1b3dbc,0x25b,_0x33c27c._0x55bbb7)]}:{}};const _0x92f96c=new AbortController();function _0x3a47ce(_0x140442,_0x417fe1,_0x1d9a42,_0x1e2405){return _0x47bd1e(_0x1e2405- -_0x57faab._0x530ff4,_0x417fe1-0x59,_0x1d9a42-0xeb,_0x140442);}function _0x335503(_0x2ce989,_0xde37ce,_0x13b30f,_0x3c543b){return _0x47bd1e(_0x3c543b-_0x203dfe._0x175c5f,_0xde37ce-_0x203dfe._0x2a1779,_0x13b30f-0x141,_0x13b30f);}const _0x314f17=addAbortListener(_0x48f419[_0x335503(_0x33c27c._0x5a6b53,0x4d3,0x34a,_0x33c27c._0x81e8fd)],()=>{function _0x5ed38(_0xff9bf7,_0x396b2e,_0x4fde00,_0x3f305b){return _0x3a47ce(_0x4fde00,_0x396b2e-_0x35b4fd._0x400bc1,_0x4fde00-_0x35b4fd._0x4fd082,_0xff9bf7- -_0x35b4fd._0x5f0ae3);}function _0x240fcf(_0x3cfda1,_0x5f1e6e,_0x23826d,_0x4315b7){return _0x3a47ce(_0x3cfda1,_0x5f1e6e-_0x3abe7c._0x193656,_0x23826d-_0x3abe7c._0x1ef59e,_0x5f1e6e-0x3);}_0x92f96c[_0x240fcf(_0x3b5bfc._0x18e950,_0x3b5bfc._0x37787a,0x45c,0x2f3)](_0x48f419[_0x240fcf(_0x3b5bfc._0x2035c5,_0x3b5bfc._0x386c2c,-0x2d,0x71)]?.['reason']);});yield createToolOutput(_0x3a47ce(_0x33c27c._0x3878b4,0x262,_0x33c27c._0x184288,0x381)+_0x37e60c[_0x335503(0x44f,_0x33c27c._0x3edf35,0x649,0x4dd)]+'.',{'runId':_0x37e60c[_0x3a47ce(_0x33c27c._0x4ba562,_0x33c27c._0x4e3c13,0x118,_0x33c27c._0x5178e4)],'agentId':_0x37e60c['agentId'],'sessionId':_0x37e60c[_0x335503(_0x33c27c._0x4563ce,0x2f7,0x2f5,0x3ce)],'status':_0x37e60c[_0x335503(0x5ef,_0x33c27c._0x53ac4b,_0x33c27c._0x3864e1,0x4b3)]});try{const _0x9b7ee9=await _0x13536f['send'](_0x234932[_0x3a47ce(0x16,0x74,_0x33c27c._0x10ac26,_0x33c27c._0x432114)],{'signal':_0x92f96c[_0x3a47ce(-0x32,_0x33c27c._0x5e849c,0x126,0x101)]});_0x37e60c={..._0x37e60c,'status':_0x9b7ee9[_0x335503(0x37e,_0x33c27c._0x1e5c9b,0x4d8,0x4b3)],'result':_0x9b7ee9};if(_0x9b7ee9[_0x335503(0x4ab,0x461,0x577,0x4b3)]!==_0x3a47ce(_0x33c27c._0x2ce14f,_0x33c27c._0x49315f,0x204,_0x33c27c._0x413af1)){const _0x4d51fe=getRunTerminalErrorMessage(_0x9b7ee9),_0x4449f1=formatAbortedRunMessage(_0x37e60c[_0x3a47ce(0x125,_0x33c27c._0x1773d8,0x366,_0x33c27c._0x5178e4)],_0x4d51fe);throw new ToolExecutionError(_0x4449f1,{...createRunSummary(_0x37e60c),'aborted':!![],'errorMessage':_0x4449f1});}return createRunSummaryOutput(_0x37e60c,'Agent\x20run\x20'+_0x37e60c['runId']+_0x335503(0x4bf,_0x33c27c._0x2ea665,_0x33c27c._0x246f64,_0x33c27c._0x3edf35));}catch(_0x5efa52){if(_0x5efa52 instanceof ToolExecutionError)throw _0x5efa52;if(isAbortError(_0x5efa52)||_0x92f96c[_0x335503(_0x33c27c._0x50fbcb,_0x33c27c._0x9a0dee,_0x33c27c._0x57e935,0x3a7)]['aborted']||_0x48f419[_0x335503(_0x33c27c._0x2426f1,0x3ec,_0x33c27c._0x229c2c,0x3a7)][_0x3a47ce(_0x33c27c._0x397761,_0x33c27c._0x20dda0,0x41c,0x2b6)]){const _0x4650e2=getRunTerminalErrorMessage(_0x37e60c[_0x335503(_0x33c27c._0x5e11ce,0x403,0x69c,_0x33c27c._0x43ff25)])??(_0x5efa52 instanceof Error?_0x5efa52[_0x3a47ce(_0x33c27c._0x47e1da,0x327,_0x33c27c._0x1fd738,0x331)]:String(_0x5efa52)),_0x59dd55=formatAbortedRunMessage(_0x37e60c['runId'],_0x4650e2);_0x37e60c={..._0x37e60c,'status':_0x335503(_0x33c27c._0x198af1,_0x33c27c._0x9fcadd,_0x33c27c._0x391fcc,_0x33c27c._0x575129),'errorMessage':_0x59dd55};throw new ToolExecutionError(_0x59dd55,{...createRunSummary(_0x37e60c),'aborted':!![],'errorMessage':_0x59dd55});}const _0x21687f=getRunTerminalErrorMessage(_0x37e60c[_0x335503(0x497,_0x33c27c._0x3cb24b,_0x33c27c._0x4c2e27,0x553)])??(_0x5efa52 instanceof Error?_0x5efa52[_0x335503(_0x33c27c._0x5c0110,_0x33c27c._0x5c0110,_0x33c27c._0x2a78db,_0x33c27c._0x5eb732)]:String(_0x5efa52))??_0x3a47ce(_0x33c27c._0x50d0af,0x1b4,_0x33c27c._0x24e501,_0x33c27c._0x88152f)+_0x37e60c[_0x335503(0x40a,0x37e,_0x33c27c._0x3741eb,_0x33c27c._0x344651)]+_0x335503(0x415,_0x33c27c._0x5fd678,_0x33c27c._0x125530,0x4b2);_0x37e60c={..._0x37e60c,'status':_0x3a47ce(0x38d,0x390,0x2a7,0x369),'errorMessage':_0x21687f};throw new ToolExecutionError(_0x21687f,{...createRunSummary(_0x37e60c),'errorMessage':_0x21687f});}finally{_0x314f17();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x16ce49){return[createAssignTaskTool(_0x16ce49)];}import*as _0x4c6c92 from'path';function buildDescription2(_0x24b4e2){const _0x4b009d={_0x12b60e:0x71,_0x14da14:0x15b,_0x343710:0x406,_0x29d0e3:0x4fc,_0x4c1016:0x2d1,_0x35067d:0x1f8,_0x56559b:0x318,_0x25335e:0x1a3,_0x2974be:0x248,_0x58a495:0x22b,_0x542403:0x28b,_0x88fe08:0x220,_0x39174b:0x1f0,_0x85dccd:0x2b6,_0x34205c:0x199},_0x1963b4={_0x380675:0xa7,_0x24fc63:0x44,_0x5c7b1b:0x5c6};function _0x330bae(_0x176e29,_0x465730,_0x459379,_0x49e2ab){return _0x2853b9(_0x176e29-0xb3,_0x465730-0x121,_0x176e29- -0x269,_0x465730);}if(_0x24b4e2[_0x15e1b9(0x26,-0x1b5,-0xde,0xd)]===0x0)return _0x15e1b9(-_0x4b009d._0x12b60e,-_0x4b009d._0x14da14,-0x1cf,-0x165);const _0xa1aa6e=['Load\x20a\x20skill\x20to\x20get\x20detailed\x20instructions\x20for\x20a\x20specific\x20task.',_0x330bae(0x3c6,_0x4b009d._0x343710,0x292,_0x4b009d._0x29d0e3),_0x330bae(_0x4b009d._0x4c1016,_0x4b009d._0x35067d,_0x4b009d._0x56559b,0x345),_0x15e1b9(-0x1ec,-_0x4b009d._0x25335e,-_0x4b009d._0x2974be,-_0x4b009d._0x58a495),..._0x24b4e2[_0x330bae(_0x4b009d._0x542403,_0x4b009d._0x88fe08,0x314,_0x4b009d._0x39174b)](_0xab2e3=>'-\x20'+_0xab2e3[_0x15e1b9(-0x1ac,-0x110,-0x1ce,-0x1ce)]+':\x20'+_0xab2e3['description'])];function _0x15e1b9(_0x28e7cd,_0x41a911,_0x38e96a,_0x3ea2b3){return _0x2853b9(_0x28e7cd-_0x1963b4._0x380675,_0x41a911-_0x1963b4._0x24fc63,_0x38e96a- -_0x1963b4._0x5c7b1b,_0x28e7cd);}return _0xa1aa6e[_0x330bae(0x2c8,0x35b,_0x4b009d._0x85dccd,_0x4b009d._0x34205c)]('\x0a');}function createLoadSkillTool(_0x4f4307){const _0x1baae2={_0x33b7fe:0x610,_0x47b3ea:0x68d,_0x375b91:0x47a,_0x1d8a49:0x613,_0x1de3ef:0x652,_0xcfa186:0x58e,_0x5e5264:0x73f,_0x5cb07e:0x694,_0x491024:0x5a7},_0x31962d={_0xbc8eb0:0x4ef,_0x55d279:0x42f,_0x517c13:0x403,_0x2641a0:0xaa,_0x24e031:0x450,_0x22517d:0x4e0,_0x154e0d:0x2fb,_0x5a1374:0x481,_0x484979:0x675,_0x3960f7:0x2ef,_0x59c98c:0x5e,_0xbc5910:0x165,_0x14b27e:0x439,_0x38b6e6:0x3b8,_0x479c6a:0x3bf,_0xe9d3c:0x7c,_0x577638:0xca,_0x2b2b98:0x1e2,_0x47bb9a:0x676,_0x432885:0x702,_0x304089:0xac,_0x37c2bf:0x7c,_0x7150de:0x759,_0x1545a0:0x666,_0x1d1dbd:0x52f,_0xb96f9b:0x75,_0x32734e:0x441,_0xbc67f2:0x413,_0xd5b8bc:0x311,_0x357186:0x20d,_0x498689:0x162,_0x3a60f1:0x4aa,_0x13c943:0x407,_0x5d81e5:0xbb,_0x3f74e8:0xd1,_0x23045e:0x439,_0x445942:0x2f2,_0x261daa:0x7c,_0x10d339:0x15,_0x54191e:0x129,_0x39bb5f:0x105,_0x9497d4:0x60,_0xbfa830:0x6e},_0x3d61a4={_0x5ab136:0xc8},_0x4342f5={_0x118e51:0xe,_0x40906e:0x1ba,_0x4fbcde:0xe6},_0xd23da3={_0x2eb9fd:0xb6,_0x2ec858:0x117};function _0x23620e(_0x30a53f,_0xbcb79,_0x5f43a1,_0x2dc7a8){return _0x2853b9(_0x30a53f-_0xd23da3._0x2eb9fd,_0xbcb79-_0xd23da3._0x2ec858,_0x5f43a1-0xdf,_0x30a53f);}function _0x433608(_0x40562b,_0x2c0c10,_0x4f4076,_0x53ac58){return _0x2853b9(_0x40562b-_0x4342f5._0x118e51,_0x2c0c10-_0x4342f5._0x40906e,_0x4f4076-_0x4342f5._0x4fbcde,_0x53ac58);}const _0x23813a=new Map(_0x4f4307[_0x23620e(0x78b,_0x1baae2._0x33b7fe,_0x1baae2._0x47b3ea,0x57b)][_0x23620e(_0x1baae2._0x375b91,_0x1baae2._0x1d8a49,0x5d3,_0x1baae2._0x1de3ef)](_0x177023=>[_0x177023[_0x23620e(0x3fa,0x5f7,0x4d7,0x497)],_0x177023])),_0x3aade3=buildDescription2(_0x4f4307[_0x433608(_0x1baae2._0xcfa186,_0x1baae2._0x5e5264,_0x1baae2._0x5cb07e,0x6be)]);return defineTool({'name':'LoadSkill','description':_0x3aade3,'inputSchema':{'type':'object','properties':{'name':{'type':_0x433608(0x498,_0x1baae2._0x491024,0x52d,0x550)}},'required':['name']},async *'execute'(_0xe35ec0){const _0x2b9b20={_0x177cea:0x1c5,_0x3900cb:0x69e},_0x5a732e=_0x23813a[_0x253cb2(_0x31962d._0xbc8eb0,_0x31962d._0x55d279,0x595,_0x31962d._0x517c13)](_0xe35ec0[_0x1409c8(-0xd2,-0x1c7,-0x8e,-_0x31962d._0x2641a0)]);function _0x253cb2(_0x52c18c,_0x38a9b6,_0x536673,_0x4f90dd){return _0x433608(_0x52c18c-_0x3d61a4._0x5ab136,_0x38a9b6-0x20,_0x52c18c- -0xa5,_0x4f90dd);}function _0x1409c8(_0x231267,_0x347779,_0x34167f,_0x23f582){return _0x23620e(_0x34167f,_0x347779-_0x2b9b20._0x177cea,_0x347779- -_0x2b9b20._0x3900cb,_0x23f582-0xa8);}if(!_0x5a732e){const _0x3bb24e=Array[_0x253cb2(0x42e,_0x31962d._0x24e031,_0x31962d._0x22517d,_0x31962d._0x154e0d)](_0x23813a[_0x253cb2(0x537,_0x31962d._0x5a1374,_0x31962d._0x484979,0x5c9)]())['join'](',\x20');throw new ToolExecutionError(_0x253cb2(0x458,_0x31962d._0x3960f7,0x32e,0x424)+_0xe35ec0[_0x1409c8(-0x328,-0x1c7,-_0x31962d._0x59c98c,-0x244)]+_0x1409c8(-0x17d,-_0x31962d._0xbc5910,-0x215,-0x284)+_0x3bb24e,{'name':_0xe35ec0[_0x253cb2(_0x31962d._0x14b27e,_0x31962d._0x38b6e6,0x5a5,_0x31962d._0x479c6a)]});}const _0x9f583=await _0x4f4307['loadSkill'](_0x5a732e),_0x1e581e=_0x5a732e[_0x1409c8(-0x153,-_0x31962d._0xe9d3c,_0x31962d._0x577638,-_0x31962d._0x2b2b98)][_0x253cb2(_0x31962d._0x47bb9a,0x752,0x631,_0x31962d._0x432885)]??_0x4c6c92['dirname'](_0x5a732e[_0x1409c8(-_0x31962d._0x304089,-_0x31962d._0x37c2bf,-0xba,0xe3)][_0x253cb2(0x660,_0x31962d._0x7150de,_0x31962d._0x1545a0,_0x31962d._0x1d1dbd)]),_0x3d8b04=[_0x1409c8(-0x1a8,-0x100,_0x31962d._0xb96f9b,-0x17a)+_0x9f583[_0x253cb2(0x439,_0x31962d._0x32734e,0x3d8,_0x31962d._0xbc67f2)],'',_0x9f583[_0x1409c8(-_0x31962d._0xd5b8bc,-_0x31962d._0x357186,-_0x31962d._0x498689,-0x1fd)],'',_0x253cb2(_0x31962d._0x3a60f1,0x351,_0x31962d._0x13c943,0x3a7),_0x1409c8(0x5c,-_0x31962d._0x5d81e5,-0xff,-_0x31962d._0x3f74e8)+_0x5a732e['source'][_0x1409c8(0x14d,0x60,-0xda,0xcc)],_0x253cb2(0x41f,0x398,0x536,0x3b7)+_0x1e581e]['join']('\x0a');return yield createToolOutput(_0x3d8b04,{'id':_0x9f583['id'],'name':_0x9f583[_0x253cb2(_0x31962d._0x23045e,0x4c9,_0x31962d._0x445942,0x488)],'path':_0x5a732e[_0x1409c8(0x6e,-_0x31962d._0x261daa,_0x31962d._0x10d339,-_0x31962d._0x54191e)][_0x1409c8(-_0x31962d._0x39bb5f,_0x31962d._0x9497d4,_0x31962d._0xbfa830,-0xe1)],'baseDirectory':_0x1e581e}),void 0x0;}});}var TODO_STATUSES=new Set(['pending',_0x4d9604(-0xc,-0x54,0xc4,-0xa7),_0x4d9604(0x256,0x25f,0x231,0x146)]),TODO_PRIORITIES=new Set([_0x2853b9(0x247,0x27a,0x3a4,0x3f3),'medium',_0x4d9604(0x291,0x1de,0x25a,0x29f)]);function isTodoStatus(_0x1ca41b){return typeof _0x1ca41b==='string'&&TODO_STATUSES['has'](_0x1ca41b);}function isTodoPriority(_0xa7d809){const _0x2df761={_0x4be975:0x254,_0x25020b:0x19c},_0x3d1417={_0x57d319:0x1f3};function _0x17eab8(_0x599368,_0x58e44d,_0x12a977,_0xa6cc2c){return _0x2853b9(_0x599368-0xa2,_0x58e44d-0xb3,_0x58e44d- -_0x3d1417._0x57d319,_0x12a977);}return typeof _0xa7d809===_0x17eab8(0x307,_0x2df761._0x4be975,0x283,_0x2df761._0x25020b)&&TODO_PRIORITIES['has'](_0xa7d809);}var TodoStore=class{[_0x4d9604(0x22a,-0x38,0x10f,-0xd)]=new Map();[_0x4d9604(0xcf,0xb7,0x153,0x79)](_0x2fb4c4){const _0x17a398={_0x2da9af:0x61,_0x58f677:0xd2,_0x301016:0x49},_0x80bf30={_0x2026cc:0xea};function _0x330152(_0x559ecc,_0x47e4c7,_0x304957,_0x3b1abc){return _0x4d9604(_0x559ecc-0x15e,_0x47e4c7,_0x559ecc- -0xae,_0x3b1abc-_0x80bf30._0x2026cc);}return this[_0x330152(_0x17a398._0x2da9af,0x159,_0x17a398._0x58f677,-_0x17a398._0x301016)]['get'](_0x2fb4c4)??[];}[_0x4d9604(0x2df,0x1f0,0x1b4,0x279)](_0x1581f6,_0x2fd38e){const _0x8e5a98={_0x90841:0xd8,_0x2be0cc:0x10d,_0x519f60:0xc4,_0x3d4594:0x7d},_0x524b55={_0x4e7c45:0x43,_0x183eb7:0x45},_0x47aec8={_0x5dd1c7:0x5f8};function _0x578bbb(_0x39812f,_0xb5a7e5,_0x3046f4,_0x47bc48){return _0x2853b9(_0x39812f-0x18f,_0xb5a7e5-0x1b,_0xb5a7e5- -_0x47aec8._0x5dd1c7,_0x47bc48);}function _0x4b9598(_0x32e2e2,_0x3487f4,_0x420931,_0x480f7a){return _0x2853b9(_0x32e2e2-_0x524b55._0x4e7c45,_0x3487f4-_0x524b55._0x183eb7,_0x3487f4- -0x366,_0x32e2e2);}this[_0x578bbb(-0xc3,-0x1df,-0x2de,-_0x8e5a98._0x90841)][_0x4b9598(_0x8e5a98._0x2be0cc,_0x8e5a98._0x519f60,0x1fa,_0x8e5a98._0x3d4594)](_0x1581f6,_0x2fd38e);}[_0x4d9604(0x269,0xc5,0x11a,-0x15)](_0x196efc){const _0x398364={_0xce6ef2:0x64,_0x1603c3:0x65,_0x1a5245:0x52,_0xaed08d:0xf1,_0x31eda6:0x151,_0x39f5be:0x5f,_0x32b4a9:0x367,_0x7520da:0x359,_0x1255d9:0x346,_0x17ca09:0x3b0,_0x492406:0x30a,_0x3a9b8b:0x2ab,_0x427b9d:0x74};function _0x1b844a(_0x4a8d9b,_0x4d598c,_0x1f2d71,_0x413472){return _0x4d9604(_0x4a8d9b-0x122,_0x4a8d9b,_0x413472-0xf0,_0x413472-0xd9);}const _0x202525=this[_0x5e6665(_0x398364._0xce6ef2,0x4e,0x4c,0x172)](_0x196efc);function _0x5e6665(_0x4214b5,_0x46de54,_0x3bb629,_0x557e84){return _0x2853b9(_0x4214b5-0xd,_0x46de54-0x1e6,_0x46de54- -0x40f,_0x4214b5);}const _0x1d5916={'total':_0x202525[_0x5e6665(0x142,0xd9,0xeb,0x16e)],'pending':0x0,'inProgress':0x0,'completed':0x0};for(const _0x54cded of _0x202525){if(_0x54cded[_0x5e6665(-_0x398364._0x1603c3,0xb6,0x12d,_0x398364._0x1a5245)]===_0x5e6665(_0x398364._0xaed08d,_0x398364._0x31eda6,_0x398364._0x39f5be,0x10e))_0x1d5916[_0x1b844a(0x23b,_0x398364._0x32b4a9,_0x398364._0x7520da,_0x398364._0x1255d9)]+=0x1;else{if(_0x54cded[_0x1b844a(_0x398364._0x17ca09,0x29c,_0x398364._0x492406,_0x398364._0x3a9b8b)]==='in_progress')_0x1d5916[_0x5e6665(0x197,_0x398364._0x427b9d,0x13,0x169)]+=0x1;else _0x1d5916['completed']+=0x1;}}return _0x1d5916;}};function validateTodos(_0x2ef28d){const _0x3d872a={_0x2b57fe:0xdb,_0x46c912:0x91,_0x4f5a5f:0xc8,_0x154b4a:0x2b,_0x155672:0x9f,_0x468ebb:0x4e,_0x3bac1b:0xcb,_0x2a45c7:0x7,_0x551450:0x207,_0x2f9281:0x173,_0x4a1246:0xb,_0xb54cd7:0x2e,_0x2564f4:0x224,_0x296333:0x1bf,_0x8d4c86:0xe9,_0x378cb5:0x8c,_0x1bba4c:0x146,_0x33e253:0x8e,_0x183c9a:0x200,_0x39fbc0:0x93,_0x25efc6:0x98,_0x5363bd:0x17c,_0x1dec08:0x232,_0x5690c6:0x23,_0x50e991:0x15e,_0x2e7808:0x1dd,_0x289f6e:0x1dc,_0x37712a:0x1aa,_0x24f5ea:0xd2,_0x585bb7:0xb0,_0x939686:0x1c8,_0x2202d0:0x3d,_0x2b41ce:0xc5,_0x582fda:0x1f6,_0x23065f:0x2e,_0x537a1f:0x1a8,_0x326f98:0x10c,_0x46fb70:0x58,_0x3d2f94:0x1a,_0x212646:0x206,_0x31450f:0xc6,_0x35a6c7:0x18b,_0x5ea6e3:0xd6,_0x487b64:0x1ee,_0x534b4b:0x2c,_0x49adf6:0xd2,_0xea175e:0x81,_0x4fefdc:0xed,_0x5bc06d:0x9f,_0x489420:0x1e7,_0x38d2d3:0xd6,_0x38beed:0x110},_0x97b84e={_0x2fabc7:0x96};function _0x2c5372(_0x4b1373,_0x4b864a,_0x56071d,_0x5f577f){return _0x2853b9(_0x4b1373-_0x97b84e._0x2fabc7,_0x4b864a-0x1b0,_0x56071d- -0x530,_0x4b864a);}if(!Array[_0x184dfb(-0x80,-0x2a0,-0x1c6,-0x111)](_0x2ef28d['todos'])||_0x2ef28d[_0x184dfb(0x5d,-_0x3d872a._0x2b57fe,-_0x3d872a._0x46c912,-_0x3d872a._0x4f5a5f)]['length']===0x0)throw new ToolExecutionError(_0x2c5372(0xbd,-0x19c,-0x50,-_0x3d872a._0x154b4a),{'error':_0x2c5372(_0x3d872a._0x155672,_0x3d872a._0x468ebb,-0x79,0xe1)});for(let _0x1768ff=0x0;_0x1768ff<_0x2ef28d['todos'][_0x2c5372(-_0x3d872a._0x3bac1b,-0xdd,-0x48,-0xd7)];_0x1768ff+=0x1){const _0x2f0b81=_0x2ef28d[_0x2c5372(0x119,-0xe2,-_0x3d872a._0x2a45c7,0x4a)][_0x1768ff];if(!_0x2f0b81||typeof _0x2f0b81!==_0x2c5372(-0xad,-0x206,-0x190,-_0x3d872a._0x551450))throw new ToolExecutionError(_0x184dfb(_0x3d872a._0x2f9281,-_0x3d872a._0x4a1246,_0x3d872a._0xb54cd7,0x6)+(_0x1768ff+0x1)+_0x2c5372(_0x3d872a._0x2564f4,-0x4d,0xec,-0x19),{'error':_0x184dfb(-0x97,-0xaa,-_0x3d872a._0x296333,-0x143)});if(typeof _0x2f0b81['id']!==_0x2c5372(0x8a,-0x26,-_0x3d872a._0x8d4c86,0x4d)||_0x2f0b81['id'][_0x184dfb(-_0x3d872a._0x378cb5,_0x3d872a._0x1bba4c,_0x3d872a._0x33e253,0x1a1)]()['length']===0x0)throw new ToolExecutionError('Todo\x20'+(_0x1768ff+0x1)+_0x184dfb(-0xd8,-0xf0,-0xe7,-_0x3d872a._0x183c9a),{'error':_0x184dfb(-_0x3d872a._0x39fbc0,_0x3d872a._0x25efc6,-0x14,-_0x3d872a._0x5363bd)});if(typeof _0x2f0b81['content']!==_0x2c5372(-_0x3d872a._0x1dec08,-0x1a5,-_0x3d872a._0x8d4c86,-0xa1)||_0x2f0b81[_0x2c5372(-_0x3d872a._0x5690c6,0xfc,0xc6,_0x3d872a._0x50e991)][_0x184dfb(-0x3a,_0x3d872a._0x2e7808,0x8e,_0x3d872a._0x289f6e)]()[_0x184dfb(-_0x3d872a._0x37712a,-0x6a,-_0x3d872a._0x24f5ea,-0x229)]===0x0)throw new ToolExecutionError('Todo\x20'+(_0x1768ff+0x1)+_0x2c5372(0x1b7,-_0x3d872a._0x585bb7,0x5c,_0x3d872a._0x939686),{'error':'invalid_todo_content'});if(!isTodoStatus(_0x2f0b81[_0x184dfb(-_0x3d872a._0x2202d0,-_0x3d872a._0x2b41ce,-0xf5,-_0x3d872a._0x582fda)]))throw new ToolExecutionError(_0x184dfb(0x134,-0x26,_0x3d872a._0x23065f,0x114)+(_0x1768ff+0x1)+':\x20invalid\x20status',{'error':_0x184dfb(-_0x3d872a._0x537a1f,0x5d,-0x47,-_0x3d872a._0x326f98)});if(!isTodoPriority(_0x2f0b81[_0x184dfb(-_0x3d872a._0x46fb70,0x3b,0x9,0x13e)]))throw new ToolExecutionError('Todo\x20'+(_0x1768ff+0x1)+':\x20invalid\x20priority',{'error':'invalid_todo_priority'});}function _0x184dfb(_0x4e1fd3,_0x5bf57a,_0x2014b3,_0x252c9c){return _0x2853b9(_0x4e1fd3-0x26,_0x5bf57a-0x179,_0x2014b3- -0x5ba,_0x252c9c);}const _0x37fdea=_0x2ef28d[_0x184dfb(-0x1a,-0xe5,-_0x3d872a._0x46c912,_0x3d872a._0x3d2f94)][_0x184dfb(-0x1b2,-_0x3d872a._0x212646,-_0x3d872a._0x31450f,-_0x3d872a._0x35a6c7)](_0x1525cb=>_0x1525cb['id']);if(new Set(_0x37fdea)[_0x184dfb(-0x18d,-_0x3d872a._0x5ea6e3,-_0x3d872a._0x487b64,-0x331)]!==_0x37fdea[_0x184dfb(_0x3d872a._0x534b4b,0x1e,-_0x3d872a._0x49adf6,-_0x3d872a._0xea175e)])throw new ToolExecutionError(_0x184dfb(_0x3d872a._0x49adf6,-_0x3d872a._0x4fefdc,-_0x3d872a._0x5bc06d,-_0x3d872a._0x489420),{'error':_0x2c5372(0x228,0x237,_0x3d872a._0x38d2d3,_0x3d872a._0x38beed)});}function createStatsProgress(_0x1e4b4a){const _0x4d678e={_0x50b608:0x645,_0x584269:0x48e,_0x5ecb48:0x5b0,_0x576623:0x428,_0x272b79:0x55f},_0xf6ff47={_0x59642c:0x143,_0x31afb4:0xe7},_0x591b47={_0x1c24ec:0x2e8};function _0x54f3ff(_0x5416a6,_0x241afe,_0x4332f2,_0x1f5b5d){return _0x4d9604(_0x5416a6-0x176,_0x4332f2,_0x1f5b5d-_0x591b47._0x1c24ec,_0x1f5b5d-0x16c);}function _0x566a9c(_0x3502ac,_0x13481a,_0x4cec02,_0x313525){return _0x2853b9(_0x3502ac-_0xf6ff47._0x59642c,_0x13481a-0x27,_0x313525-_0xf6ff47._0x31afb4,_0x4cec02);}return _0x1e4b4a[_0x54f3ff(0x683,0x4a8,_0x4d678e._0x50b608,0x55f)]>0x0?Math[_0x566a9c(_0x4d678e._0x584269,0x487,0x74b,0x5f2)](_0x1e4b4a['completed']/_0x1e4b4a[_0x54f3ff(0x426,_0x4d678e._0x5ecb48,_0x4d678e._0x576623,_0x4d678e._0x272b79)]*0x64)+'%':'0%';}function createReminderItems(_0x3f2216){const _0x146fc6={_0x3eca32:0x667,_0x254c48:0x5b8},_0x590386={_0xc2014e:0x93,_0x271d69:0xc4},_0x2eb224={_0x341a45:0x4a,_0x3314b3:0x136};function _0x4ea797(_0x31b045,_0x14bcf7,_0x35dfed,_0x58efe7){return _0x4d9604(_0x31b045-0x1a0,_0x58efe7,_0x31b045- -_0x2eb224._0x341a45,_0x58efe7-_0x2eb224._0x3314b3);}function _0x818059(_0xc7097c,_0x1c00ae,_0x35a145,_0x329c13){return _0x2853b9(_0xc7097c-0x20,_0x1c00ae-_0x590386._0xc2014e,_0x329c13-_0x590386._0x271d69,_0x1c00ae);}return _0x3f2216[_0x818059(_0x146fc6._0x3eca32,0x4ce,0x53a,_0x146fc6._0x254c48)](_0x1ff580=>({'content':_0x1ff580['content'],'status':_0x1ff580[_0x818059(0x446,0x688,0x5c4,0x589)],'id':_0x1ff580['id']}));}function createStructuredResult(_0x43faf1,_0x216604,_0x1a2f02,_0x280395){const _0x4e80cb={_0x39bdc8:0x117,_0xaea5a7:0x59f},_0x54e0f3={_0xa2d32d:0x18e,_0x5d732b:0xb7};function _0x2e62c2(_0x314958,_0x126f1d,_0x19cb81,_0xc0f21b){return _0x2853b9(_0x314958-0x196,_0x126f1d-0xd8,_0x126f1d- -0x48d,_0xc0f21b);}function _0x554a7a(_0x20299e,_0x4b7120,_0xa854e6,_0xf4b098){return _0x2853b9(_0x20299e-_0x54e0f3._0xa2d32d,_0x4b7120-0x74,_0x20299e-_0x54e0f3._0x5d732b,_0xf4b098);}return{'allCompleted':_0x280395,'items':_0x216604[_0x2e62c2(0x1c5,0x67,0x1ad,_0x4e80cb._0x39bdc8)](_0x3f78ab=>({'id':_0x3f78ab['id'],'content':_0x3f78ab[_0x2e62c2(0x11,0x169,0xf,0x74)],'status':_0x3f78ab[_0x2e62c2(-0xdb,0x38,0x169,-0xab)],'priority':_0x3f78ab['priority'],'createdAt':_0x3f78ab['createdAt']})),'progress':createStatsProgress(_0x1a2f02),'recentChanges':!![],'sessionId':_0x43faf1,'stats':_0x1a2f02,'todosWritten':_0x216604[_0x554a7a(_0x4e80cb._0xaea5a7,0x529,0x61e,0x42e)]};}function createOutputText(_0x542cd3,_0x2c7da2){const _0x111b41={_0x104016:0x580,_0x323f93:0x5a1,_0x40b453:0x1f3,_0x424f8b:0x166,_0x5100c9:0x15d,_0x2f9cb2:0x6b,_0x38f5be:0x25,_0x3b9ff0:0x66,_0x319505:0x4cb,_0x1ded69:0x5b7,_0x457fed:0x159,_0x5cc246:0xc6},_0x32938d={_0x186ea5:0x10b,_0x695ee3:0xec};function _0x58373d(_0x54868f,_0x35bed2,_0x243a3f,_0x2b11f0){return _0x4d9604(_0x54868f-0x11,_0x2b11f0,_0x35bed2- -0x1f3,_0x2b11f0-0x7a);}const _0x22659a=JSON[_0x472ab4(0x67a,_0x111b41._0x104016,_0x111b41._0x323f93,0x4fc)](createReminderItems(_0x542cd3));if(_0x2c7da2)return _0x58373d(-_0x111b41._0x40b453,-_0x111b41._0x424f8b,-_0x111b41._0x5100c9,-0xfb)+_0x542cd3['length']+_0x58373d(-_0x111b41._0x2f9cb2,-0x76,_0x111b41._0x38f5be,_0x111b41._0x3b9ff0)+_0x22659a+_0x472ab4(0x4de,_0x111b41._0x319505,_0x111b41._0x1ded69,0x663);function _0x472ab4(_0x3ef847,_0x19388e,_0x2d8879,_0x37b8e9){return _0x2853b9(_0x3ef847-0x89,_0x19388e-_0x32938d._0x186ea5,_0x2d8879-_0x32938d._0x695ee3,_0x3ef847);}return _0x58373d(-_0x111b41._0x457fed,-0xef,-_0x111b41._0x5cc246,-0x13c)+_0x22659a+'.\x0a</system-reminder>';}function createTodoWriteTool(_0x10ccd1=new TodoStore()){const _0x20ad85={_0x450b10:0x1fe,_0x5f2058:0x211,_0x49bba8:0x31a,_0x470a49:0x128,_0x332524:0x204,_0xcb210b:0xdf,_0x239ca1:0x120,_0x2e4942:0x3a1,_0x524ebf:0x2ab,_0x111d45:0x42e,_0x392eb8:0x480,_0x30b7a8:0x3e6,_0x1fd29d:0x5dd,_0x57cd16:0x47a,_0xe34092:0x5da,_0x1d168d:0x507,_0x1603f3:0x390,_0x2902a6:0x38d,_0x2d5d24:0x38f,_0x49e4fa:0x4e0},_0x21a019={_0x5309b3:0x32d,_0x21a89d:0x281,_0x490571:0x192,_0x140927:0x391,_0x52f6cd:0x32c,_0x2aeeec:0x1d4,_0x48ded4:0x3c4,_0x440346:0x314,_0x5f4348:0x1c9,_0x5dc7e7:0x1aa,_0x70dc56:0x19c,_0x59e542:0x23e,_0x2f459c:0x270,_0x27829e:0x24b},_0x2f91c2={_0x51c8a1:0x2fc,_0x1b65b6:0x197},_0x44c15a={_0x3a82da:0x8c,_0x3ac170:0x99},_0x5777fe={_0x1dc1ea:0xab},_0x1d5885={_0x8e2894:0x36,_0x15b457:0x19c};function _0x8bd02(_0x1d2df7,_0x48017a,_0x42614b,_0x9dd9d7){return _0x2853b9(_0x1d2df7-0x90,_0x48017a-_0x1d5885._0x8e2894,_0x48017a- -_0x1d5885._0x15b457,_0x1d2df7);}function _0x50f830(_0x621b18,_0x2d9541,_0x3c4f78,_0x25edc6){return _0x2853b9(_0x621b18-_0x5777fe._0x1dc1ea,_0x2d9541-0x73,_0x621b18- -0x19,_0x3c4f78);}return defineTool({'name':_0x8bd02(0x520,0x45f,0x543,0x477),'description':_0x50f830(0x363,_0x20ad85._0x450b10,_0x20ad85._0x5f2058,_0x20ad85._0x49bba8),'inputSchema':{'type':_0x8bd02(_0x20ad85._0x470a49,_0x20ad85._0x332524,0x2d9,_0x20ad85._0xcb210b),'properties':{'todos':{'type':'array','items':{'type':_0x8bd02(_0x20ad85._0x239ca1,_0x20ad85._0x332524,0x2f8,0x2c3),'properties':{'content':{'type':'string'},'status':{'type':'string'},'priority':{'type':'string'},'id':{'type':_0x8bd02(_0x20ad85._0x2e4942,_0x20ad85._0x524ebf,0x2e8,0x29e)},'createdAt':{'type':_0x50f830(_0x20ad85._0x111d45,_0x20ad85._0x392eb8,_0x20ad85._0x30b7a8,0x343)}},'required':[_0x50f830(_0x20ad85._0x1fd29d,_0x20ad85._0x57cd16,_0x20ad85._0xe34092,0x4d9),_0x50f830(0x4ac,0x3a4,_0x20ad85._0x1d168d,_0x20ad85._0x1603f3),_0x8bd02(0x2d7,0x427,0x2b4,0x3bc),'id']}}},'required':[_0x8bd02(0x22a,_0x20ad85._0x2902a6,_0x20ad85._0x2d5d24,_0x20ad85._0x49e4fa)]},async *'execute'(_0x5c43a8,_0x3fd6d8){function _0x250a48(_0x41e50c,_0x29e725,_0x2eab0a,_0x21dcc8){return _0x8bd02(_0x21dcc8,_0x29e725-_0x44c15a._0x3a82da,_0x2eab0a-0x55,_0x21dcc8-_0x44c15a._0x3ac170);}const _0xed098b=_0x5c43a8;validateTodos(_0xed098b);const _0x10bd79=_0x3fd6d8[_0x250a48(_0x21a019._0x5309b3,0x2d0,_0x21a019._0x21a89d,_0x21a019._0x490571)]||_0x250a48(0x37e,0x4bf,_0x21a019._0x140927,0x4ec);function _0x41a8f6(_0x3d7be2,_0x4e3b30,_0x3b2829,_0x2afcc6){return _0x50f830(_0x4e3b30- -_0x2f91c2._0x51c8a1,_0x4e3b30-_0x2f91c2._0x1b65b6,_0x2afcc6,_0x2afcc6-0x17b);}const _0x2a3b01=new Date()['toISOString'](),_0x2555b1=_0xed098b['todos'][_0x41a8f6(_0x21a019._0x52f6cd,0x1df,0x349,_0x21a019._0x2aeeec)](_0x5a4314=>({'id':_0x5a4314['id'],'content':_0x5a4314[_0x250a48(0x38a,0x4e6,0x506,0x5ad)],'status':_0x5a4314['status'],'priority':_0x5a4314[_0x250a48(0x57c,0x4b3,0x53b,0x45d)],'sessionId':_0x10bd79,'createdAt':_0x5a4314[_0x41a8f6(0x2df,0x31e,0x3f5,0x414)]||_0x2a3b01,'updatedAt':_0x2a3b01}));_0x10ccd1['setTodos'](_0x10bd79,_0x2555b1);const _0x47bf9d=_0x10ccd1[_0x250a48(_0x21a019._0x48ded4,_0x21a019._0x440346,0x2ea,0x2e8)](_0x10bd79),_0x220a96=_0x2555b1[_0x41a8f6(_0x21a019._0x5f4348,0x1d3,_0x21a019._0x5dc7e7,_0x21a019._0x70dc56)]>0x0&&_0x2555b1[_0x41a8f6(_0x21a019._0x59e542,_0x21a019._0x2f459c,_0x21a019._0x27829e,0x230)](_0x4b16d9=>_0x4b16d9[_0x250a48(0x28d,0x3b5,0x3c8,0x2da)]===_0x41a8f6(0xc1,0x226,0x378,0x20a));return createToolOutput(createOutputText(_0x2555b1,_0x220a96),createStructuredResult(_0x10bd79,_0x2555b1,_0x47bf9d,_0x220a96));}});}import{mkdir as _0xeb179a,writeFile as _0x5631b5}from'fs/promises';import*as _0x2cca94 from'path';function sanitizeFileName(_0x5e86f5){const _0x4fdc41={_0xb34b2c:0x23,_0x52c356:0xd},_0x3beff3={_0x2143e3:0x4df};function _0x3da86e(_0x51d805,_0x3fe7f9,_0x188b6c,_0x3c5b6c){return _0x2853b9(_0x51d805-0x3e,_0x3fe7f9-0x16f,_0x51d805- -_0x3beff3._0x2143e3,_0x3fe7f9);}return _0x5e86f5[_0x3da86e(-0xd0,_0x4fdc41._0xb34b2c,-0x1cb,_0x4fdc41._0x52c356)](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x382812,_0x15949c){const _0x37a9a9={_0x586465:0x6a5,_0x2652ab:0x577,_0x277a24:0x5a4,_0x3cd841:0x543,_0x306bf9:0x4e8,_0x40b06f:0x2c1,_0x298130:0x435,_0x394a61:0x3f0,_0x22437f:0x2e3,_0x5a8852:0x667,_0x13afa3:0x610,_0x3bb6be:0x7a3,_0x20844a:0x5fa,_0x54165c:0x4de,_0x30e0ae:0x626,_0x372824:0x78c,_0x3facff:0x3fd,_0x394fb4:0x382,_0x1499f9:0x44e,_0x381110:0x512,_0x44bf05:0x3b1,_0x1015ad:0x443,_0x21a052:0x309,_0x518b9c:0x29e,_0x4053d1:0x217,_0x104ac4:0x481,_0x56babf:0x35a,_0x55978e:0x37d,_0x481e7d:0x449,_0x580066:0x317,_0x26b32d:0x626,_0xf04aa2:0x6c6,_0x56b663:0x7dc,_0x53bf72:0x5c1,_0x20416e:0x59b,_0x28dd49:0x47d,_0x1440ee:0x500,_0x574d2c:0x618,_0xd0e205:0x66c,_0x1d2125:0x3b5,_0x57ad97:0x505,_0x5b3b14:0x4ad,_0x4fe763:0x50f,_0x872a8a:0x5ff,_0x11d971:0x560,_0xf4ac20:0x507,_0x5920a8:0x4e4,_0x3d9f78:0x4a3,_0x29d70e:0x3da,_0x5aceda:0x309,_0x4fcca1:0x25f,_0x55e08d:0x486,_0x35baa4:0x4cb,_0x452a84:0x497,_0x41d600:0x447,_0x32f9e1:0x58b,_0x53d47f:0x4a4,_0x7c9b6a:0x52f,_0x3dc075:0x4f9,_0x5e03d6:0x578,_0xfd99eb:0x297,_0x54f49b:0x27f,_0x3e9a92:0x385,_0x568cb9:0x3cd,_0x43a3ad:0x263},_0x390f0f={_0xe0af7d:0xc7,_0x36b597:0x90},_0x3f2c55={_0x296d5b:0x17c,_0x1760d7:0xb9},{maxBytes:_0x56006f,sessionDir:_0x2cf84b}=_0x15949c;function _0x5a4182(_0x40b4ff,_0x1e5006,_0x1dd2b0,_0x1cf109){return _0x2853b9(_0x40b4ff-_0x3f2c55._0x296d5b,_0x1e5006-0x1e6,_0x1dd2b0- -_0x3f2c55._0x1760d7,_0x1cf109);}if(!_0x382812[_0x24240e(_0x37a9a9._0x586465,_0x37a9a9._0x2652ab,_0x37a9a9._0x277a24,_0x37a9a9._0x3cd841)]||Buffer[_0x5a4182(_0x37a9a9._0x306bf9,_0x37a9a9._0x40b06f,0x3c6,0x28e)](_0x382812[_0x24240e(_0x37a9a9._0x586465,0x7f1,0x76e,0x77c)],_0x24240e(_0x37a9a9._0x298130,_0x37a9a9._0x394a61,_0x37a9a9._0x22437f,0x463))<=_0x56006f)return _0x382812;const _0x18ff33=Buffer[_0x24240e(0x50f,_0x37a9a9._0x5a8852,0x46f,0x422)](_0x382812['output'],'utf8');if(!_0x2cf84b){const _0x1c9986=_0x382812[_0x24240e(_0x37a9a9._0x586465,0x6e8,_0x37a9a9._0x13afa3,_0x37a9a9._0x3bb6be)]['slice'](0x0,_0x56006f);return{..._0x382812,'output':_0x1c9986+(_0x24240e(_0x37a9a9._0x20844a,_0x37a9a9._0x54165c,0x4ed,0x498)+_0x56006f+_0x24240e(_0x37a9a9._0x30e0ae,_0x37a9a9._0x372824,0x734,0x4fc)+_0x18ff33+_0x5a4182(_0x37a9a9._0x3facff,_0x37a9a9._0x394fb4,_0x37a9a9._0x1499f9,_0x37a9a9._0x381110)),'meta':{..._0x382812[_0x5a4182(_0x37a9a9._0x44bf05,_0x37a9a9._0x1015ad,_0x37a9a9._0x21a052,0x1a2)],'truncated':!![],'originalBytes':_0x18ff33,'transforms':[..._0x382812[_0x5a4182(0x337,_0x37a9a9._0x518b9c,0x309,_0x37a9a9._0x4053d1)][_0x5a4182(_0x37a9a9._0x104ac4,_0x37a9a9._0x56babf,_0x37a9a9._0x55978e,_0x37a9a9._0x481e7d)],_0x5a4182(0x4d7,0x352,0x3cd,_0x37a9a9._0x580066)]}};}const _0x84649f=_0x382812['toolName']+'_'+sanitizeFileName(_0x382812[_0x5a4182(0x40a,0x29d,0x2bb,0x3ac)])+_0x24240e(0x6df,_0x37a9a9._0x26b32d,_0x37a9a9._0xf04aa2,_0x37a9a9._0x56b663),_0x41c911=_0x2cca94[_0x24240e(_0x37a9a9._0x53bf72,_0x37a9a9._0x20416e,_0x37a9a9._0x28dd49,_0x37a9a9._0x1440ee)](_0x2cf84b,_0x84649f);function _0x24240e(_0x824be3,_0x21886b,_0x296449,_0x621b9a){return _0x2853b9(_0x824be3-_0x390f0f._0xe0af7d,_0x21886b-0x1f1,_0x824be3-_0x390f0f._0x36b597,_0x21886b);}await _0xeb179a(_0x2cf84b,{'recursive':!![]}),await _0x5631b5(_0x41c911,_0x382812[_0x24240e(_0x37a9a9._0x586465,_0x37a9a9._0x574d2c,_0x37a9a9._0xd0e205,0x582)],_0x5a4182(0x27c,0x382,0x2ec,_0x37a9a9._0x1d2125));let _0x2dbd9a=_0x382812[_0x5a4182(_0x37a9a9._0x57ad97,_0x37a9a9._0x5b3b14,0x55c,_0x37a9a9._0x4fe763)][_0x24240e(_0x37a9a9._0x872a8a,_0x37a9a9._0x11d971,0x737,0x60d)](0x0,_0x56006f);const _0xb5f00f=_0x2dbd9a[_0x5a4182(0x4aa,0x373,0x4dc,_0x37a9a9._0xf4ac20)]('\x0a');_0xb5f00f>_0x56006f*0.5&&(_0x2dbd9a=_0x2dbd9a[_0x5a4182(0x38a,_0x37a9a9._0x5920a8,0x4b6,0x38d)](0x0,_0xb5f00f));const _0x2e7c5e=['',_0x5a4182(_0x37a9a9._0x3d9f78,_0x37a9a9._0x29d70e,0x46e,_0x37a9a9._0x5aceda),_0x5a4182(0x493,0x447,0x582,0x518)+_0x56006f+_0x5a4182(0x30c,_0x37a9a9._0x4fcca1,0x370,0x440)+_0x18ff33+'\x20bytes).',_0x24240e(0x5a9,_0x37a9a9._0x55e08d,0x571,_0x37a9a9._0x35baa4)+_0x41c911,_0x24240e(_0x37a9a9._0x452a84,0x350,0x556,0x3ab),_0x5a4182(_0x37a9a9._0x41d600,_0x37a9a9._0x32f9e1,_0x37a9a9._0x53d47f,0x3f8)][_0x24240e(_0x37a9a9._0x53bf72,_0x37a9a9._0x7c9b6a,_0x37a9a9._0x3dc075,0x6c7)]('\x0a');return{..._0x382812,'output':_0x2dbd9a+_0x2e7c5e,'meta':{..._0x382812[_0x24240e(0x452,0x389,_0x37a9a9._0x5e03d6,0x3ad)],'truncated':!![],'originalBytes':_0x18ff33,'transforms':[..._0x382812[_0x5a4182(0x2c7,_0x37a9a9._0xfd99eb,0x309,_0x37a9a9._0x54f49b)]['transforms'],_0x5a4182(0x427,_0x37a9a9._0x3e9a92,_0x37a9a9._0x568cb9,_0x37a9a9._0x43a3ad)]}};}function createUpdateTopicTool(){const _0xa471c8={_0x23f0bd:0x683,_0x48141b:0x59a,_0x130ba8:0x50d,_0x379b62:0x681,_0x325f0c:0x50,_0x36bec0:0x54,_0x5779d5:0xe2,_0x2c5bb5:0x3f8,_0x528a0c:0xb6,_0x4e4f38:0x72,_0x44f120:0x31},_0x279cce={_0x331553:0x314,_0x8c1f7e:0x124,_0x3a6229:0x4c,_0x1197f9:0xe9,_0xc2680c:0x118,_0x1b427a:0x87,_0x543c3d:0x12a},_0xf821c1={_0x310447:0x2d9,_0x511313:0x41};function _0xe7a6ce(_0x5431b2,_0x31388f,_0x4613db,_0x573673){return _0x4d9604(_0x5431b2-0x154,_0x573673,_0x31388f-_0xf821c1._0x310447,_0x573673-_0xf821c1._0x511313);}function _0x460f19(_0x5fb411,_0x3ccd7b,_0x2bf28f,_0x269544){return _0x2853b9(_0x5fb411-0x12e,_0x3ccd7b-0x1c,_0x5fb411- -0x403,_0x3ccd7b);}return defineTool({'name':_0xe7a6ce(_0xa471c8._0x23f0bd,_0xa471c8._0x48141b,_0xa471c8._0x130ba8,_0xa471c8._0x379b62),'description':_0x460f19(_0xa471c8._0x325f0c,-_0xa471c8._0x36bec0,-0xd0,_0xa471c8._0x5779d5),'inputSchema':{'type':_0xe7a6ce(_0xa471c8._0x2c5bb5,0x36f,0x2cc,0x31a),'properties':{'topic':{'type':_0x460f19(0x44,0x1a7,-0x95,-0x57)}},'required':[_0x460f19(_0xa471c8._0x528a0c,_0xa471c8._0x4e4f38,-_0xa471c8._0x44f120,-0x52)]},async *'execute'(_0x336e9c,_0x36a2cf){const _0x1e8b32={_0x5cad51:0x129,_0x2d463b:0x5a0},{topic:_0x2bc7b6}=_0x336e9c;if(typeof _0x2bc7b6!==_0x561490(_0x279cce._0x331553,0x2b2,0x1e6,_0x279cce._0x8c1f7e)||_0x2bc7b6[_0x561490(0x30c,0x2d7,0x3e7,0x385)]()[_0xea7e4e(0x6e,-0x1f0,_0x279cce._0x3a6229,-_0x279cce._0x1197f9)]===0x0)throw new ToolExecutionError(_0xea7e4e(0x42,-_0x279cce._0xc2680c,0x148,0x5a),{'error':'invalid_topic'});const _0x4fd0b6=_0x2bc7b6['trim']();function _0xea7e4e(_0x7a6f3d,_0x5d4dc8,_0x4ea1b7,_0x42b0f1){return _0xe7a6ce(_0x7a6f3d-_0x1e8b32._0x5cad51,_0x42b0f1- -_0x1e8b32._0x2d463b,_0x4ea1b7-0x107,_0x7a6f3d);}_0x36a2cf[_0xea7e4e(0xd,-0x216,-_0x279cce._0x1b427a,-_0x279cce._0x543c3d)]?.(_0x4fd0b6),yield createToolOutput('Topic\x20set\x20to\x20\x22'+_0x4fd0b6+'\x22',{'topic':_0x4fd0b6});function _0x561490(_0x538306,_0x8b2545,_0x401b25,_0x1ab71e){return _0xe7a6ce(_0x538306-0xad,_0x401b25- -0x230,_0x401b25-0xf7,_0x8b2545);}return void 0x0;}});}import{readFile as _0x37bb64,stat as _0x4f675f}from'fs/promises';import*as _0x3c5b6f from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x4d9604(0x294,0x209,0x2e6,0x3f5),_0x4d9604(-0x86,0x135,0x9a,0xdb),_0x4d9604(0x1f4,0x189,0x25a,0x24b),'original']),PNG_SIGNATURE=Buffer[_0x2853b9(0x2af,0x2d9,0x3ed,0x53a)]([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x42acb2,_0x5186c9){const _0x140baf={_0x1875ef:0x2ff,_0x4310b2:0x331,_0x488b4f:0x372,_0x9f409:0x272,_0x274de3:0x276,_0x2687d9:0x376,_0x190d52:0x144,_0x5a22fa:0xd5,_0x39c8c2:0x1ff,_0x4c4f30:0x157,_0x1fc6bd:0x1ad,_0x43788e:0x151,_0x50fc6b:0x209,_0x12f070:0x1ce,_0x4efc69:0x61,_0x4cdd20:0x3,_0x296489:0x143,_0x146959:0x89,_0xb60e66:0x4f,_0x5e9294:0x3,_0x4a2952:0x7b,_0x183a5b:0x163,_0x52e9c4:0x3c,_0x43d0de:0x4c,_0x268001:0xe0,_0x4c9ed9:0x17c,_0x484cc4:0x2b,_0x3d5612:0x2de,_0x629270:0x159,_0x5a3b12:0x20e,_0x29e6d9:0x255,_0x1f48e1:0x1f6,_0x561359:0x113,_0x126aaa:0x224,_0x345ff3:0x189,_0x937538:0x12a,_0x5e4833:0x2ac,_0x49f8bc:0x1ec,_0x373385:0x1ae,_0x39f8a9:0x258,_0x3f8cb2:0x11a,_0x2df9e4:0x282,_0x50f370:0x1a9,_0x4be0c3:0xce},_0x4c1c6e={_0x480ca6:0x1de,_0x33a43d:0x46d},_0x3a854d={_0x1add12:0xed,_0x262da6:0x9a,_0x2e50a4:0x697};if(_0x42acb2[_0x1f7f7d(-_0x140baf._0x1875ef,-_0x140baf._0x4310b2,-_0x140baf._0x488b4f,-0x443)](0x0,0x8)[_0x1f7f7d(-0x2c2,-0x3e3,-0x373,-_0x140baf._0x9f409)](PNG_SIGNATURE))return _0x1f7f7d(-_0x140baf._0x274de3,-0x1cf,-_0x140baf._0x2687d9,-0x13b);function _0x1f7f7d(_0x51cc04,_0x182039,_0x5b5568,_0x233e77){return _0x2853b9(_0x51cc04-_0x3a854d._0x1add12,_0x182039-_0x3a854d._0x262da6,_0x51cc04- -_0x3a854d._0x2e50a4,_0x233e77);}if(_0x42acb2[0x0]===0xff&&_0x42acb2[0x1]===0xd8&&_0x42acb2[0x2]===0xff)return'image/jpeg';const _0x2f8bd9=_0x42acb2[_0x36054c(-0x195,-_0x140baf._0x190d52,-0x11b,-_0x140baf._0x5a22fa)](0x0,0x6)[_0x1f7f7d(-_0x140baf._0x39c8c2,-0x310,-_0x140baf._0x4c4f30,-0x1a1)](_0x36054c(_0x140baf._0x1fc6bd,0x1eb,0xfb,0xea));if(_0x2f8bd9===_0x1f7f7d(-0xef,-_0x140baf._0x43788e,-_0x140baf._0x50fc6b,-0x29)||_0x2f8bd9==='GIF89a')return _0x1f7f7d(-0x11a,-_0x140baf._0x12f070,-_0x140baf._0x4efc69,-_0x140baf._0x4cdd20);function _0x36054c(_0x3937be,_0x3313af,_0x21595d,_0x29ffac){return _0x2853b9(_0x3937be-_0x4c1c6e._0x480ca6,_0x3313af-0x122,_0x29ffac- -_0x4c1c6e._0x33a43d,_0x21595d);}if(_0x42acb2[_0x36054c(-0x215,-0x226,-_0x140baf._0x296489,-0xd5)](0x0,0x4)['toString'](_0x36054c(-_0x140baf._0x146959,-_0x140baf._0xb60e66,_0x140baf._0x5e9294,0xea))===_0x36054c(-_0x140baf._0x4a2952,_0x140baf._0x183a5b,0xae,0x50)&&_0x42acb2[_0x36054c(_0x140baf._0x52e9c4,-_0x140baf._0x43d0de,-0xc,-_0x140baf._0x5a22fa)](0x8,0xc)[_0x36054c(0x78,_0x140baf._0x268001,_0x140baf._0x4c9ed9,_0x140baf._0x484cc4)](_0x36054c(0x129,_0x140baf._0x1fc6bd,0x7f,0xea))===_0x36054c(-0xea,-0xab,-0x221,-0xae))return _0x1f7f7d(-0xce,-0x51,-0x77,-0x239);const _0x2d34f2=_0x3c5b6f[_0x1f7f7d(-0x1d1,-_0x140baf._0x3d5612,-0xeb,-0x19a)](_0x5186c9)[_0x36054c(-_0x140baf._0x629270,-_0x140baf._0x5a3b12,-0xb7,-0xd8)]();if(_0x2d34f2===_0x1f7f7d(-_0x140baf._0x29e6d9,-0xf0,-_0x140baf._0x1f48e1,-_0x140baf._0x561359))return'image/png';if(_0x2d34f2===_0x36054c(_0x140baf._0x126aaa,_0x140baf._0x345ff3,0x112,_0x140baf._0x937538)||_0x2d34f2===_0x36054c(0x99,_0x140baf._0x5e4833,0x15d,_0x140baf._0x49f8bc))return _0x1f7f7d(-_0x140baf._0x373385,-0xeb,-_0x140baf._0x39f8a9,-0x279);if(_0x2d34f2==='.gif')return _0x1f7f7d(-_0x140baf._0x3f8cb2,-0x26e,-0x116,-_0x140baf._0x2df9e4);if(_0x2d34f2===_0x36054c(-0xc8,-0x6c,-_0x140baf._0x50f370,-0x97))return _0x1f7f7d(-_0x140baf._0x4be0c3,0x1,_0x140baf._0x4a2952,-0x1c8);return void 0x0;}function normalizeDetail(_0x35e848){const _0x419abb={_0x2f0a26:0x681},_0x295d0f={_0x5ab344:0xa2,_0x45e4c8:0x6d};function _0x3f35a6(_0xd86b7,_0x438d9e,_0x1f03ea,_0x203060){return _0x2853b9(_0xd86b7-_0x295d0f._0x5ab344,_0x438d9e-0x41,_0x1f03ea- -_0x295d0f._0x45e4c8,_0x438d9e);}if(_0x35e848===void 0x0)return void 0x0;const _0x1a250f=_0x35e848[_0x3f35a6(_0x419abb._0x2f0a26,0x468,0x5db,0x514)]()['toLowerCase']();if(!SUPPORTED_DETAILS['has'](_0x1a250f))throw new ToolExecutionError('Unsupported\x20image\x20detail\x20level:\x20'+_0x35e848,{'detail':_0x35e848});return _0x1a250f;}function createViewFileTool(_0x8cc52b={}){const _0x395687={_0x186886:0x21f,_0x3d24e6:0x5c5,_0x4e0c0b:0x71e,_0x174437:0x770,_0x2776c6:0x6c5,_0x51f179:0x24f,_0x32a00b:0x202,_0x218881:0x61,_0x2a8cd2:0xef,_0x13e91b:0xa8,_0x2f509d:0xb,_0x53c9fb:0x8f,_0x59592c:0xc7,_0x3957b5:0x104,_0x2b1d28:0xb2},_0x22ee40={_0x18f188:0x1ad,_0xef2c4f:0x124,_0x77ea32:0x1a2,_0x359ee7:0x480,_0x565c82:0x418,_0x4421b4:0x18b,_0x51e72e:0x73,_0x12aec0:0x195,_0x302aef:0x118,_0x3e1fb6:0x135,_0x469815:0x8d,_0x2d3837:0x1cf,_0x5cfbb9:0x22f,_0x3e198a:0x36d,_0x30c712:0x1d8,_0x421ffc:0x33f,_0x3da37a:0xb5,_0x3116e5:0x1ee,_0x8ab441:0x1cb,_0x467acc:0x1af,_0x44681c:0x54,_0x5bfd4f:0x2ea,_0x263203:0x1d5,_0x5091cd:0x1e8,_0x43ad7b:0x53,_0x4b00e7:0x2d2,_0x43a362:0x2cc,_0x3b5527:0x1ad,_0x1e3a21:0xc8,_0x2db351:0x29f,_0x17989b:0x3f6,_0x4696ae:0x39a,_0x4b7148:0x264,_0x4b17f2:0x391,_0x505b7e:0x69,_0x4a3d1e:0xd6,_0x9a6b50:0x1e6,_0x4d1ac7:0x199,_0x5d52c4:0xe0,_0x29e6bd:0xe,_0x4829ba:0x342,_0x5e8aa0:0x3b1,_0x41542c:0x12f,_0x4218fc:0x125,_0x1f7083:0xd4,_0x3efc63:0x3a,_0x107e61:0x521,_0x2f5f69:0x529,_0x168bf7:0x7d,_0x98ffea:0xc4,_0x1e4fd4:0x1a,_0x5dfe04:0x0,_0x5184e9:0x2e7,_0x39ce3d:0x34a,_0x129d0c:0x3f9},_0x4d5e65={_0x45b165:0x115,_0x9dfcc3:0xf5},_0x2f8c9d={_0x5e19c0:0x2b3,_0xdefab2:0x1bb},_0x495bb8={_0x2f2f46:0x8b},_0x4a7a26={_0x260517:0x89};function _0x39eb5b(_0x1c072c,_0x29fb84,_0x21134d,_0x1bc32b){return _0x2853b9(_0x1c072c-0xca,_0x29fb84-0x115,_0x29fb84-_0x4a7a26._0x260517,_0x1bc32b);}const _0x16edf0=_0x3c5b6f[_0x111adc(0x280,_0x395687._0x186886,0x1dd,0x274)](_0x8cc52b['defaultCwd']??process[_0x39eb5b(0x563,_0x395687._0x3d24e6,_0x395687._0x4e0c0b,0x63a)]()),_0x112f45=(_0x8cc52b['allowedDirs']??[])['map'](_0x32cf92=>_0x3c5b6f[_0x39eb5b(0x5b7,0x63d,0x600,0x604)](_0x32cf92)),_0x51d6cb=_0x8cc52b[_0x39eb5b(_0x395687._0x174437,_0x395687._0x2776c6,0x68f,0x7c2)]??DEFAULT_MAX_BYTES;function _0x111adc(_0x20a449,_0x84c94d,_0x2294f2,_0x5b1432){return _0x4d9604(_0x20a449-0x132,_0x2294f2,_0x84c94d- -_0x495bb8._0x2f2f46,_0x5b1432-0x121);}const _0x20e302=_0x8cc52b['name']??_0x111adc(_0x395687._0x51f179,0x19e,0x286,_0x395687._0x32a00b);return defineTool({'name':_0x20e302,'description':_0x111adc(-_0x395687._0x218881,0x8a,_0x395687._0x2a8cd2,-_0x395687._0x13e91b),'inputSchema':{'type':_0x111adc(0x111,_0x395687._0x2f509d,-_0x395687._0x53c9fb,_0x395687._0x59592c),'properties':{'path':{'type':_0x111adc(_0x395687._0x3957b5,_0x395687._0x2b1d28,0xfb,0x72)},'detail':{'type':'string'}},'required':['path']},async *'execute'(_0x288655){const _0x3ab48d=resolveAllowedPath(_0x16edf0,_0x112f45,_0x288655[_0x33ad88(0x513,0x313,0x533,0x3f5)]);await assertWorkspaceFile(_0x3ab48d);const _0x3b6a85=await _0x4f675f(_0x3ab48d);if(_0x3b6a85[_0x33ad88(_0x22ee40._0x18f188,_0x22ee40._0xef2c4f,0x26e,_0x22ee40._0x77ea32)]>_0x51d6cb)throw new ToolExecutionError('Image\x20file\x20is\x20too\x20large:\x20'+_0x288655[_0x33ad88(0x3ae,_0x22ee40._0x359ee7,_0x22ee40._0x565c82,0x3f5)],{'path':_0x288655['path'],'maxBytes':_0x51d6cb,'size':_0x3b6a85['size']});const _0x283913=await _0x37bb64(_0x3ab48d);function _0x33ad88(_0x17632b,_0x41bc27,_0x506583,_0x4a9093){return _0x39eb5b(_0x17632b-0x147,_0x4a9093- -_0x2f8c9d._0x5e19c0,_0x506583-_0x2f8c9d._0xdefab2,_0x41bc27);}const _0x118591=detectImageMediaType(_0x283913,_0x3ab48d);if(!_0x118591)throw new ToolExecutionError('Unsupported\x20image\x20file:\x20'+_0x288655[_0x1b9e7d(0x59,_0x22ee40._0x4421b4,0x179,0x195)],{'path':_0x288655[_0x1b9e7d(0x23f,_0x22ee40._0x51e72e,0x221,_0x22ee40._0x12aec0)],'supported':[_0x1b9e7d(_0x22ee40._0x302aef,_0x22ee40._0x3e1fb6,0xfe,0x13),_0x1b9e7d(0x22b,_0x22ee40._0x469815,0x86,_0x22ee40._0x2d3837),_0x33ad88(_0x22ee40._0x5cfbb9,0x2fd,0x227,_0x22ee40._0x3e198a),_0x33ad88(0x17d,_0x22ee40._0x30c712,_0x22ee40._0x421ffc,0x218),_0x1b9e7d(-_0x22ee40._0x3da37a,-_0x22ee40._0x3116e5,-_0x22ee40._0x8ab441,-0xb4)]});const _0x2167c0=normalizeDetail(_0x288655[_0x1b9e7d(_0x22ee40._0x467acc,0x47,0x154,_0x22ee40._0x44681c)]),_0x4e1aa4=[_0x33ad88(_0x22ee40._0x5bfd4f,_0x22ee40._0x263203,_0x22ee40._0x5091cd,0x281)+_0x288655[_0x1b9e7d(_0x22ee40._0x43ad7b,0x278,_0x22ee40._0x4b00e7,_0x22ee40._0x12aec0)],'MIME:\x20'+_0x118591,_0x33ad88(0x309,0x158,_0x22ee40._0x43a362,_0x22ee40._0x3b5527)+_0x3b6a85['size']+_0x1b9e7d(0x55,-_0x22ee40._0x1e3a21,-0x36,-0xcc)][_0x33ad88(_0x22ee40._0x2db351,_0x22ee40._0x17989b,0x413,_0x22ee40._0x4696ae)](_0x2167c0?[_0x33ad88(0x443,_0x22ee40._0x4b7148,_0x22ee40._0x4b17f2,0x3c2)+_0x2167c0]:[])[_0x1b9e7d(-_0x22ee40._0x505b7e,0x14e,_0x22ee40._0x4a3d1e,0xa7)]('\x0a'),_0x108a6e=[{'type':'image','source':{'type':_0x1b9e7d(0x1a3,_0x22ee40._0x9a6b50,0x15a,_0x22ee40._0x4d1ac7),'media_type':_0x118591,'data':_0x283913[_0x1b9e7d(-_0x22ee40._0x5d52c4,0x160,-0x136,_0x22ee40._0x29e6bd)](_0x33ad88(_0x22ee40._0x4829ba,0x361,_0x22ee40._0x5e8aa0,0x3f9))}},{'type':_0x1b9e7d(_0x22ee40._0x41542c,_0x22ee40._0x4218fc,_0x22ee40._0x1f7083,-_0x22ee40._0x3efc63),'text':_0x4e1aa4}];yield createToolOutput(_0x4e1aa4,{'path':_0x288655[_0x33ad88(_0x22ee40._0x107e61,_0x22ee40._0x2f5f69,0x34f,0x3f5)],'resolvedPath':_0x3ab48d,'created':_0x3b6a85['birthtime'][_0x1b9e7d(_0x22ee40._0x168bf7,0x1c7,0x58,0x67)](),'modified':_0x3b6a85['mtime'][_0x1b9e7d(-0xda,_0x22ee40._0x98ffea,-_0x22ee40._0x1e4fd4,0x67)](),'size':_0x3b6a85[_0x1b9e7d(-0x133,-0x5f,_0x22ee40._0x5dfe04,-0xbe)],'mimeType':_0x118591,'encoding':_0x33ad88(_0x22ee40._0x5184e9,0x337,_0x22ee40._0x39ce3d,_0x22ee40._0x129d0c),..._0x2167c0?{'detail':_0x2167c0}:{}},_0x108a6e);function _0x1b9e7d(_0x9f40ed,_0x28b45d,_0x5084e7,_0x197f7b){return _0x111adc(_0x9f40ed-_0x4d5e65._0x45b165,_0x197f7b- -_0x4d5e65._0x9dfcc3,_0x9f40ed,_0x197f7b-0xb6);}return void 0x0;}});}import _0x2165be from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x222405=>{const {lookup:_0xcf52ab}=await import('dns/promises');return _0xcf52ab(_0x222405,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x2bbc4e){const _0x170625={_0x299332:0x247,_0x511bb7:0x13e,_0x32c854:0x24e},_0x4aa54a={_0x204085:0x84},_0x3ce321={_0x3a9adf:0xb9},_0x2cf061=_0x2bbc4e['split']('.');if(_0x2cf061[_0x151efe(0x277,_0x170625._0x299332,_0x170625._0x511bb7,0x16b)]!==0x4)return null;function _0x151efe(_0x29737a,_0x4a8b6d,_0x355993,_0x30c64b){return _0x2853b9(_0x29737a-_0x3ce321._0x3a9adf,_0x4a8b6d-0x1cc,_0x29737a- -0x271,_0x4a8b6d);}function _0x1a65a6(_0x40dbc5,_0x82b1a9,_0x1c7a50,_0x5f38f3){return _0x2853b9(_0x40dbc5-_0x4aa54a._0x204085,_0x82b1a9-0x153,_0x5f38f3- -0x44e,_0x1c7a50);}let _0x1441f2=0x0;for(const _0x4830ac of _0x2cf061){if(!/^\d{1,3}$/[_0x1a65a6(0x178,_0x170625._0x32c854,0x22f,0xe1)](_0x4830ac))return null;const _0x6729c6=Number(_0x4830ac);if(_0x6729c6>0xff)return null;_0x1441f2=_0x1441f2*0x100+_0x6729c6;}return _0x1441f2>>>0x0;}function isBlockedIpv4(_0x2f1239){const _0x5a490e={_0x36a617:0x51c,_0x565cc4:0x3b8,_0x517f62:0x100,_0x99c953:0x6e,_0x250e66:0x1bb,_0x1cdce3:0x19a,_0x589e48:0x47a,_0x19f973:0x1ea,_0xe71a03:0x481,_0x22ad61:0x440,_0x427b0f:0xe9,_0x4e1985:0x458,_0x47c6c9:0x609,_0x2c7add:0x6f,_0x483c42:0x60},_0x3eb49a={_0x376fce:0xf6},_0x48e6cf={_0xfe9b9e:0xf3,_0x7a84bd:0x9d};function _0x3ed431(_0x23ec55,_0x3b9c12,_0x2d77fb,_0x591a8e){return _0x4d9604(_0x23ec55-0x1ac,_0x3b9c12,_0x23ec55- -_0x48e6cf._0xfe9b9e,_0x591a8e-_0x48e6cf._0x7a84bd);}const _0x4d2699=ipv4ToInt(_0x2f1239);if(_0x4d2699===null)return!![];const _0x29fe10=(_0x387885,_0x4c8e81)=>{const _0x3ed6ea=ipv4ToInt(_0x387885);if(_0x3ed6ea===null)return![];const _0x5d022a=_0x4c8e81===0x0?0x0:0xffffffff<<0x20-_0x4c8e81>>>0x0;return(_0x4d2699&_0x5d022a)===(_0x3ed6ea&_0x5d022a);};function _0x4339a3(_0x516f0b,_0x54dfe2,_0x21f9bf,_0x58268d){return _0x2853b9(_0x516f0b-0xe6,_0x54dfe2-_0x3eb49a._0x376fce,_0x516f0b- -0x135,_0x54dfe2);}return _0x29fe10(_0x4339a3(_0x5a490e._0x36a617,0x436,0x434,_0x5a490e._0x565cc4),0x8)||_0x29fe10(_0x3ed431(_0x5a490e._0x517f62,_0x5a490e._0x99c953,_0x5a490e._0x250e66,0x15d),0x8)||_0x29fe10('100.64.0.0',0xa)||_0x29fe10(_0x3ed431(0x138,_0x5a490e._0x1cdce3,0xb9,0x140),0x8)||_0x29fe10(_0x4339a3(0x47e,0x3e9,0x4d3,0x562),0x10)||_0x29fe10(_0x4339a3(0x355,_0x5a490e._0x589e48,0x3c8,_0x5a490e._0x19f973),0xc)||_0x29fe10(_0x4339a3(_0x5a490e._0xe71a03,_0x5a490e._0x22ad61,0x4b1,0x439),0x18)||_0x29fe10(_0x3ed431(-0x3a,-0x33,0x9d,_0x5a490e._0x427b0f),0x10)||_0x29fe10('198.18.0.0',0xf)||_0x29fe10(_0x4339a3(0x4bd,_0x5a490e._0x4e1985,_0x5a490e._0x47c6c9,0x5a9),0x4)||_0x29fe10(_0x3ed431(_0x5a490e._0x2c7add,_0x5a490e._0x483c42,-0xd9,0x1c6),0x4);}function expandIpv6(_0x44aa47){const _0xca14b2={_0x5aba27:0x49c,_0x3173df:0x60e,_0x713e2c:0x693,_0x5dd253:0x71b,_0x3fe5dc:0x6b5,_0x4799d0:0x42f,_0x46bf60:0x4b5,_0x3a6ffe:0x595,_0x8ce20e:0x643,_0xcc4845:0x7eb,_0x1ea758:0x260,_0x3c73f1:0x1b9,_0x52db44:0x60c,_0x10620f:0x71b,_0x474ed5:0x72d,_0x3a4c5e:0x533,_0x46efd2:0x772,_0x566c63:0x54b,_0x524c46:0x342,_0x4e5c1c:0x451,_0x302a0f:0x3ac,_0x5ba1e6:0x3ce,_0x340b45:0x2e5,_0x238a89:0x540,_0x466364:0x4b7,_0x2c3fa1:0x60c,_0x16259e:0x49f,_0x2a33ab:0x128},_0xdfea1d={_0xf57df0:0x13f,_0xbe0350:0x164},_0x1d3005={_0x30c9f4:0x124};let _0x46e44b=_0x44aa47,_0x319c42;const _0x5640c7=_0x46e44b[_0x8651d6(0x3ef,0x512,_0xca14b2._0x5aba27,0x457)](':');_0x46e44b[_0x43ae8d(_0xca14b2._0x3173df,_0xca14b2._0x713e2c,_0xca14b2._0x5dd253,_0xca14b2._0x3fe5dc)](_0x5640c7+0x1)[_0x8651d6(_0xca14b2._0x4799d0,_0xca14b2._0x46bf60,0x2ed,_0xca14b2._0x3a6ffe)]('.')&&(_0x319c42=_0x46e44b['slice'](_0x5640c7+0x1),_0x46e44b=_0x46e44b[_0x43ae8d(_0xca14b2._0x8ce20e,0x693,0x576,_0xca14b2._0xcc4845)](0x0,_0x5640c7+0x1));const _0xea3fda=_0x46e44b[_0x8651d6(0x263,_0xca14b2._0x1ea758,0x349,_0xca14b2._0x3c73f1)]('::');if(_0xea3fda[_0x43ae8d(0x518,_0xca14b2._0x52db44,_0xca14b2._0x10620f,_0xca14b2._0x474ed5)]>0x2)return null;const _0x36b010=_0x4f75c0=>_0x4f75c0[_0x8651d6(0x263,0x390,0x1ae,0x3a3)](':')[_0x8651d6(0x3cf,0x4a0,0x4fc,0x4eb)](_0x4dad04=>_0x4dad04[_0x8651d6(0x342,0x1e7,0x210,0x36b)]>0x0)[_0x8651d6(0x34e,0x3c5,0x21c,0x3b4)](_0x6a8804=>Number[_0x43ae8d(0x53d,0x686,0x743,0x6fa)](_0x6a8804,0x10)),_0xa317e7=_0xea3fda[0x0]?_0x36b010(_0xea3fda[0x0]):[],_0x2471f9=_0xea3fda[_0x43ae8d(_0xca14b2._0x3a4c5e,0x60c,_0xca14b2._0x46efd2,0x77b)]===0x2&&_0xea3fda[0x1]?_0x36b010(_0xea3fda[0x1]):[];function _0x43ae8d(_0x539948,_0x4246f7,_0xbdd651,_0x4cca1e){return _0x2853b9(_0x539948-0x17f,_0x4246f7-0x43,_0x4246f7-_0x1d3005._0x30c9f4,_0xbdd651);}const _0x25037e=[];if(_0x319c42){const _0x532ca9=ipv4ToInt(_0x319c42);if(_0x532ca9===null)return null;_0x25037e[_0x43ae8d(0x449,0x564,0x65c,_0xca14b2._0x566c63)](_0x532ca9>>>0x10&0xffff,_0x532ca9&0xffff);}const _0x335a30=[..._0x2471f9,..._0x25037e],_0x2c2752=0x8-_0xa317e7[_0x8651d6(_0xca14b2._0x524c46,_0xca14b2._0x4e5c1c,0x20e,0x221)]-_0x335a30[_0x8651d6(0x342,_0xca14b2._0x302a0f,_0xca14b2._0x5ba1e6,_0xca14b2._0x340b45)];if(_0xea3fda[_0x43ae8d(0x559,_0xca14b2._0x52db44,_0xca14b2._0x238a89,0x6e0)]===0x1)return _0xa317e7[_0x8651d6(0x342,0x444,0x359,0x247)]+_0x335a30[_0x43ae8d(_0xca14b2._0x466364,_0xca14b2._0x2c3fa1,0x61d,_0xca14b2._0x16259e)]===0x8?[..._0xa317e7,..._0x335a30]:null;function _0x8651d6(_0x1293e4,_0x1e889b,_0x20fe79,_0x5cebf8){return _0x4d9604(_0x1293e4-_0xdfea1d._0xf57df0,_0x5cebf8,_0x1293e4-_0xdfea1d._0xbe0350,_0x5cebf8-0x14c);}if(_0x2c2752<0x0)return null;return[..._0xa317e7,...new Array(_0x2c2752)[_0x8651d6(0x281,_0xca14b2._0x2a33ab,0x3ed,0x2c1)](0x0),..._0x335a30];}function isBlockedIpv6(_0x1520e3){const _0x4d38c9={_0x5f130e:0x388,_0xbad8d5:0x4fb,_0x35941f:0x55c,_0x59d880:0x3a3,_0xe9b326:0x4e9,_0x3beadd:0x373,_0x59acc5:0x3cc,_0x18f73d:0x434,_0x575cc3:0x34a},_0x28b6d1={_0x2138e4:0xcc},_0x56ab6f=expandIpv6(_0x1520e3);if(!_0x56ab6f||_0x56ab6f['some'](_0x1552c0=>Number[_0x455dbf(0x15b,0x1eb,0x16b,0x249)](_0x1552c0)))return!![];const _0x295be8=_0x56ab6f[_0x183e89(0x3e0,_0x4d38c9._0x5f130e,0x3fc,_0x4d38c9._0xbad8d5)](0x0,0x7)[_0x455dbf(_0x4d38c9._0x35941f,0x463,0x37c,0x434)](_0x4d4a60=>_0x4d4a60===0x0);if(_0x295be8&&(_0x56ab6f[0x7]===0x0||_0x56ab6f[0x7]===0x1))return!![];if(_0x56ab6f[_0x455dbf(_0x4d38c9._0x59d880,_0x4d38c9._0xe9b326,0x4b9,0x41e)](0x0,0x5)[_0x455dbf(0x334,_0x4d38c9._0x3beadd,_0x4d38c9._0x59acc5,_0x4d38c9._0x18f73d)](_0x13454b=>_0x13454b===0x0)&&(_0x56ab6f[0x5]===0xffff||_0x56ab6f[0x5]===0x0)){const _0x2c9054=(_0x56ab6f[0x6]<<0x10|_0x56ab6f[0x7])>>>0x0,_0x48959d=[_0x2c9054>>>0x18&0xff,_0x2c9054>>>0x10&0xff,_0x2c9054>>>0x8&0xff,_0x2c9054&0xff][_0x183e89(0x25a,_0x4d38c9._0x575cc3,0x231,0x379)]('.');return isBlockedIpv4(_0x48959d);}const _0x5eee41=_0x56ab6f[0x0];function _0x183e89(_0x1393c8,_0x3ff632,_0x572c15,_0x5beccb){return _0x2853b9(_0x1393c8-0x1e1,_0x3ff632-0xde,_0x3ff632- -0x1e7,_0x572c15);}if((_0x5eee41&0xff00)===0xfc00||(_0x5eee41&0xfe00)===0xfc00)return!![];if((_0x5eee41&0xffc0)===0xfe80)return!![];if((_0x5eee41&0xff00)===0xff00)return!![];function _0x455dbf(_0xcff095,_0x444d54,_0x2fc5bf,_0x1ab7ba){return _0x2853b9(_0xcff095-_0x28b6d1._0x2138e4,_0x444d54-0x1a,_0x1ab7ba- -0x151,_0x444d54);}return![];}function isBlockedAddress(_0x162dcc){const _0x5204f1=isIP(_0x162dcc);if(_0x5204f1===0x4)return isBlockedIpv4(_0x162dcc);if(_0x5204f1===0x6)return isBlockedIpv6(_0x162dcc);return!![];}async function assertPublicUrl(_0x167a07,_0x55a5e6={}){const _0xcd926={_0x2f6f32:0x48d,_0x54bc7b:0x3bc,_0x3e9872:0xe5,_0x3b1654:0x91,_0x5a5376:0x42,_0x3b0b75:0x38c,_0x1822f5:0x4f6,_0x3efac2:0x477,_0x197d1e:0xb7,_0x48ab0a:0x14a,_0x28a15b:0x10,_0x49f057:0xea,_0x2a628d:0xbe,_0x387f53:0x56,_0x83cdb1:0x2c5,_0x8e425c:0x2b4,_0x3b8d32:0x189,_0x2ef197:0x237,_0x2a80d0:0x3e8,_0x5405d4:0x2b9,_0x5b3b69:0x147,_0x161962:0x90,_0x47e9b1:0x44,_0x15a540:0xa4,_0x2cae25:0x3b,_0x225574:0x79,_0x49946d:0x2e,_0x5892a2:0x3f,_0x1348de:0x190,_0x29a082:0x1a9,_0x451758:0x1ea,_0x97ed27:0x4b,_0x1bc69a:0xa0,_0x1ab63b:0x516,_0x35b4ab:0x38b,_0x2ee7d3:0x106,_0x2754ac:0xca},_0x553251={_0x2621c3:0x193,_0x551e65:0x66};let _0x38e4d9;function _0x107091(_0x5e35f7,_0xdf347b,_0x3647b0,_0x26316e){return _0x4d9604(_0x5e35f7-0x187,_0x3647b0,_0xdf347b-0x1b7,_0x26316e-0x11a);}try{_0x38e4d9=new URL(_0x167a07);}catch{throw new ToolExecutionError('Invalid\x20URL\x20parameter',{'url':_0x167a07});}if(_0x38e4d9['protocol']!==_0x107091(0x421,_0xcd926._0x2f6f32,_0xcd926._0x54bc7b,0x3f4)&&_0x38e4d9[_0x66a705(-_0xcd926._0x3e9872,-_0xcd926._0x3b1654,_0xcd926._0x5a5376,-0x13e)]!=='https:')throw new ToolExecutionError(_0x107091(_0xcd926._0x3b0b75,_0xcd926._0x1822f5,_0xcd926._0x3efac2,0x42e),{'url':_0x167a07});if(_0x38e4d9[_0x66a705(0x1c4,0x1b1,0x10e,_0xcd926._0x197d1e)]||_0x38e4d9[_0x66a705(0x12a,_0xcd926._0x48ab0a,0x106,0x179)])throw new ToolExecutionError(_0x66a705(-0x4f,-_0xcd926._0x28a15b,0x4,-_0xcd926._0x49f057),{'url':_0x38e4d9[_0x66a705(0x6a,-0x91,_0xcd926._0x2a628d,_0xcd926._0x387f53)]+'//'+_0x38e4d9['host']+_0x38e4d9[_0x107091(0x45d,0x3ff,_0xcd926._0x83cdb1,_0xcd926._0x8e425c)]});const _0x11e0f4=_0x38e4d9[_0x66a705(0x54,_0xcd926._0x197d1e,0x12c,_0xcd926._0x3b8d32)][_0x107091(0x168,0x2bc,_0xcd926._0x2ef197,0x41b)](/^\[|\]$/g,''),_0x4b83fa=_0x38e4d9[_0x107091(_0xcd926._0x2a80d0,_0xcd926._0x5405d4,_0xcd926._0x5b3b69,0x398)]+'//'+_0x38e4d9['host']+_0x38e4d9[_0x66a705(-_0xcd926._0x161962,0xb5,0xb,0x2b)];if(isIP(_0x11e0f4)){if(isBlockedAddress(_0x11e0f4))throw new ToolExecutionError(_0x66a705(-_0xcd926._0x47e9b1,-0xa4,_0xcd926._0x15a540,-_0xcd926._0x2cae25),{'url':_0x4b83fa});return _0x38e4d9;}const _0x29e7c6=_0x55a5e6[_0x66a705(0x1dc,_0xcd926._0x225574,_0xcd926._0x49946d,-0xb6)]??defaultLookup;let _0x8945ad;function _0x66a705(_0x297fcd,_0x347be7,_0x588dad,_0x12278b){return _0x4d9604(_0x297fcd-0x1a,_0x297fcd,_0x347be7- -_0x553251._0x2621c3,_0x12278b-_0x553251._0x551e65);}try{_0x8945ad=await _0x29e7c6(_0x11e0f4);}catch{throw new ToolExecutionError(_0x66a705(_0xcd926._0x5892a2,_0xcd926._0x1348de,_0xcd926._0x29a082,_0xcd926._0x451758),{'url':_0x4b83fa});}if(_0x8945ad[_0x66a705(0x26,_0xcd926._0x97ed27,0xb2,_0xcd926._0x1bc69a)]===0x0)throw new ToolExecutionError(_0x107091(_0xcd926._0x1ab63b,0x4da,_0xcd926._0x35b4ab,0x577),{'url':_0x4b83fa});for(const {address:_0xe65ee3}of _0x8945ad){if(isBlockedAddress(_0xe65ee3))throw new ToolExecutionError(_0x66a705(-_0xcd926._0x2ee7d3,-0x50,-_0xcd926._0x2754ac,0x27),{'url':_0x4b83fa});}return _0x38e4d9;}async function safeFetch(_0x45ac9c,_0x18ecb4={},_0x2533d9={}){const _0x46049e={_0x49632:0x4a8,_0x29fa52:0x274,_0x158dcb:0x3c8,_0x54746f:0x349,_0x8c2a26:0x2ff,_0x3ee66a:0x28b,_0x23c7c4:0x3d3,_0x75e33b:0x203,_0x4d18f5:0x205,_0x53dc91:0x327,_0x114962:0x331,_0x29fc1d:0x3e6,_0x6a145d:0x2a7,_0x42b2de:0x32c,_0x331231:0x2dc,_0x4b000e:0x443,_0x455b97:0x417,_0x13ae84:0x377,_0x557723:0x455,_0x4148a9:0x577,_0x545fad:0x3de,_0x1973ce:0x2b5,_0x103c8f:0x2cd},_0x5710d0={_0x2c8f6:0x10a,_0x7fe626:0xbc,_0x5656f8:0x199},_0x306738={_0x55a151:0x188},_0x4c8b6a=_0x2533d9[_0x2bac41(0x3b4,0x4ad,0x344,_0x46049e._0x49632)]??fetch,_0x5c3222=_0x2533d9[_0xb30a1d(_0x46049e._0x29fa52,_0x46049e._0x158dcb,_0x46049e._0x54746f,0x30c)]??DEFAULT_MAX_REDIRECTS;function _0x2bac41(_0x334006,_0x419132,_0x37fdda,_0x1fcfa7){return _0x2853b9(_0x334006-0xf1,_0x419132-0xac,_0x37fdda- -_0x306738._0x55a151,_0x419132);}let _0x175f40=_0x45ac9c;function _0xb30a1d(_0x4566bc,_0x11ca55,_0x51c8bf,_0x23b6c9){return _0x2853b9(_0x4566bc-_0x5710d0._0x2c8f6,_0x11ca55-_0x5710d0._0x7fe626,_0x4566bc- -_0x5710d0._0x5656f8,_0x11ca55);}for(let _0x1eaa92=0x0;;_0x1eaa92+=0x1){const _0x15d264=await assertPublicUrl(_0x175f40,_0x2533d9),_0x37288a=await _0x4c8b6a(_0x15d264[_0xb30a1d(_0x46049e._0x8c2a26,0x247,_0x46049e._0x3ee66a,0x2bf)](),{..._0x18ecb4,'redirect':_0xb30a1d(_0x46049e._0x23c7c4,0x3f4,0x3a1,0x433)}),_0xdaeb93=_0x37288a['headers'][_0x2bac41(_0x46049e._0x75e33b,_0x46049e._0x4d18f5,0x326,_0x46049e._0x53dc91)](_0xb30a1d(_0x46049e._0x114962,_0x46049e._0x29fc1d,0x39c,_0x46049e._0x6a145d));if(!REDIRECT_STATUSES['has'](_0x37288a[_0xb30a1d(_0x46049e._0x42b2de,_0x46049e._0x331231,0x38a,_0x46049e._0x4b000e)])||!_0xdaeb93)return _0x37288a;if(_0x1eaa92>=_0x5c3222)throw new ToolExecutionError(_0xb30a1d(_0x46049e._0x455b97,_0x46049e._0x13ae84,_0x46049e._0x557723,_0x46049e._0x4148a9),{'url':_0x15d264['toString']()});_0x175f40=new URL(_0xdaeb93,_0x15d264)[_0xb30a1d(0x2ff,_0x46049e._0x545fad,_0x46049e._0x1973ce,_0x46049e._0x103c8f)]();}}var USER_AGENT=_0x2853b9(0x3bc,0x489,0x46f,0x584),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x301bb8,_0x17cad7){const _0x18feed={_0x1272b3:0x597,_0x50ae60:0x680,_0x23f645:0x7c6,_0x3c8cda:0x76b,_0x335cd0:0x7a6,_0xbf18f6:0x668,_0x3c1b2a:0x5c9,_0x9d380e:0x47b,_0xf123db:0x480},_0x12a460={_0x2ae48c:0x184,_0x1a891b:0xca},_0x581929={_0x588e94:0x36},_0x5d2ada={_0x1ad493:0x27a},_0x45b32b={_0x55a584:0x119,_0x49c44a:0x1cd},_0xc31bce={_0x3c2571:0x69,_0x4d6ca2:0x27};function _0x58059a(_0x8d1061,_0x28b418,_0x4aff12,_0xfb23f){return _0x4d9604(_0x8d1061-0x15f,_0x8d1061,_0xfb23f-_0xc31bce._0x3c2571,_0xfb23f-_0xc31bce._0x4d6ca2);}function _0x3a53b5(_0x404329,_0x14ed06,_0xbd28c0,_0x444965){return _0x4d9604(_0x404329-_0x45b32b._0x55a584,_0xbd28c0,_0x14ed06-0x3cc,_0x444965-_0x45b32b._0x49c44a);}const _0x43657=new AbortController(),_0x25e2a4=setTimeout(()=>_0x43657[_0x58059a(0x3c9,0x491,0x3a6,0x344)](new Error(_0x3a53b5(0x425,0x48d,0x5ed,0x53e))),_0x17cad7),_0x447622=()=>_0x43657[_0x3a53b5(0x69a,0x6a7,0x735,0x577)](_0x301bb8[_0x3a53b5(0x776,0x629,0x62a,0x695)]);return _0x301bb8[_0x3a53b5(_0x18feed._0x1272b3,0x630,0x75c,_0x18feed._0x50ae60)]?_0x43657[_0x3a53b5(_0x18feed._0x23f645,0x6a7,_0x18feed._0x3c8cda,_0x18feed._0x335cd0)](_0x301bb8['reason']):_0x301bb8['addEventListener'](_0x3a53b5(0x648,0x6a7,0x811,_0x18feed._0xbf18f6),_0x447622,{'once':!![]}),{'signal':_0x43657[_0x3a53b5(_0x18feed._0x3c1b2a,_0x18feed._0x9d380e,_0x18feed._0xf123db,0x505)],'cleanup':()=>{function _0x261613(_0x3278a7,_0x2dddbe,_0x3184d5,_0x208f15){return _0x58059a(_0x3184d5,_0x2dddbe-0xfd,_0x3184d5-0x59,_0x208f15- -_0x5d2ada._0x1ad493);}clearTimeout(_0x25e2a4);function _0x2b8503(_0x312c82,_0x263591,_0x310125,_0x35c7fd){return _0x58059a(_0x35c7fd,_0x263591-_0x581929._0x588e94,_0x310125-0x14a,_0x263591- -0x181);}_0x301bb8[_0x2b8503(-0x2e,-0x10,-0xd7,0xee)](_0x261613(_0x12a460._0x2ae48c,0x22e,-0x27,_0x12a460._0x1a891b),_0x447622);}};}function createWebFetchTool(_0x579a73={}){const _0x389383={_0x1c4960:0x159,_0x154ca4:0xe4,_0x2432e7:0x3a9,_0x266d3d:0x1a4,_0x3d958f:0x312,_0x592dba:0x1f9,_0x4d5d3e:0x5dc,_0x3af895:0x463,_0x3ea042:0x54a,_0x1f5b27:0x6fb,_0x5e2af1:0x641,_0x3f7bcd:0x4ee,_0x2571a0:0x59e,_0x58e82c:0x67e,_0x27652d:0x5bd,_0x3ba119:0x452,_0x2aadba:0x289,_0x1bec52:0x357,_0x43a41e:0x274,_0x46418d:0x215,_0x59f7e8:0xf1},_0x15a811={_0x91a811:0x19b,_0x520fc3:0x1bd,_0x42ec3c:0xa8,_0x500189:0x1f1,_0xf4e0f5:0xdc,_0x474a36:0xcd,_0x456760:0x2dc,_0x7869e4:0xa9,_0x10b966:0xfb,_0x549772:0x27c,_0x54fc31:0xfe,_0x1153f5:0x19,_0x2cda7e:0x73,_0x59db6b:0xeb,_0x5e2e8f:0x10d,_0x536aa6:0x1a8,_0x31675a:0x72,_0x1206f5:0x22f,_0x5b750b:0x2e6,_0x4cc39d:0x180,_0x99b785:0x3c1,_0x23c608:0x43,_0x5d7599:0x9e,_0x313b4b:0x227,_0x466953:0xde,_0x5c64ad:0xb2,_0x2c3fe6:0x111,_0x12c9aa:0x1a,_0x2ddd46:0x40d,_0x17fcaa:0x476,_0x145742:0x3b7,_0x56ff04:0x3a,_0x184817:0x7c,_0x1fd3ff:0x74,_0x2ea0e6:0x40d,_0x4c105d:0x3d7,_0x2c5db7:0x41f,_0x1952c8:0x32f,_0x51ba78:0x6d,_0x46390d:0x380,_0x76567d:0x51,_0x2537c5:0x59},_0x2f0ba1={_0x171071:0x5b5},_0x55076c=_0x579a73['name']??'WebFetch',_0x5e9017=_0x579a73[_0x215d07(-0x17a,-0x126,-0x228,-0x18b)]??DEFAULT_TIMEOUT_MS2,_0x107f95=_0x579a73['lookup'],_0x54bb4f=new _0x2165be({'headingStyle':'atx','codeBlockStyle':_0x215d07(-0xb7,-_0x389383._0x1c4960,-_0x389383._0x154ca4,-0xe9),'bulletListMarker':'-'});function _0x50abdc(_0x51e9a7,_0x3b708a,_0x36e48e,_0x59a67b){return _0x4d9604(_0x51e9a7-0x9,_0x36e48e,_0x59a67b-0x299,_0x59a67b-0x19a);}function _0x215d07(_0x55ca49,_0x1acdff,_0x5816a0,_0x3ab72d){return _0x2853b9(_0x55ca49-0x17b,_0x1acdff-0x1bb,_0x1acdff- -_0x2f0ba1._0x171071,_0x3ab72d);}return _0x54bb4f['remove'](['script',_0x50abdc(_0x389383._0x2432e7,0x448,_0x389383._0x266d3d,_0x389383._0x3d958f),_0x215d07(-_0x389383._0x592dba,-0x16c,-0x190,-0x130),_0x50abdc(_0x389383._0x4d5d3e,_0x389383._0x3af895,0x638,_0x389383._0x3ea042),_0x50abdc(_0x389383._0x1f5b27,_0x389383._0x5e2af1,_0x389383._0x3f7bcd,_0x389383._0x2571a0),_0x50abdc(0x468,0x448,_0x389383._0x58e82c,_0x389383._0x27652d),_0x50abdc(0x4f4,0x35d,0x4e4,_0x389383._0x3ba119),'aside']),defineTool({'name':_0x55076c,'description':_0x50abdc(0x3e3,0x3c5,_0x389383._0x2aadba,_0x389383._0x1bec52),'inputSchema':{'type':_0x215d07(-_0x389383._0x43a41e,-_0x389383._0x46418d,-_0x389383._0x59f7e8,-0x232),'properties':{'description':{'type':_0x50abdc(0x282,0x3a0,0x502,0x3d6)},'url':{'type':'string'}},'required':['url']},async *'execute'(_0x59d6fd,_0x3d5600){const _0x15dc5a={_0x5a16ca:0x49a},_0x35d5b2=(await assertPublicUrl(_0x59d6fd[_0x5bde53(-0x11b,-_0x15a811._0x91a811,-_0x15a811._0x520fc3,-_0x15a811._0x42ec3c)],{'lookup':_0x107f95}))['toString']();if(_0x3d5600[_0x2e3adb(_0x15a811._0x500189,_0x15a811._0xf4e0f5,0x358,_0x15a811._0x474a36)][_0x5bde53(-0x22,-0x10,0x85,0x63)])throw new ToolExecutionError('Fetch\x20aborted\x20by\x20user',{'url':_0x35d5b2});const _0x5a2803=createTimeoutSignal(_0x3d5600[_0x2e3adb(0x1f1,0x230,_0x15a811._0x456760,0x1bf)],_0x5e9017);let _0x17905b='';function _0x2e3adb(_0x23176e,_0x5227f0,_0x4bae9,_0x17ac7e){return _0x50abdc(_0x23176e-0x196,_0x5227f0-0x1bc,_0x17ac7e,_0x23176e- -0x157);}let _0x413dac=0x0,_0x103bfe;try{const _0x16c047=await safeFetch(_0x35d5b2,{'headers':{'User-Agent':USER_AGENT},'signal':_0x5a2803[_0x2e3adb(0x1f1,_0x15a811._0x7869e4,_0x15a811._0x10b966,_0x15a811._0x549772)]},{'lookup':_0x107f95});if(!_0x16c047['ok'])throw new ToolExecutionError(_0x5bde53(0xee,-_0x15a811._0x54fc31,_0x15a811._0x1153f5,_0x15a811._0x2cda7e)+_0x16c047[_0x5bde53(-0xc3,_0x15a811._0x59db6b,0x52,-0x46)]+'\x20'+_0x16c047[_0x5bde53(_0x15a811._0x5e2e8f,-_0x15a811._0x536aa6,-0x102,-0x67)],{'url':_0x35d5b2,'statusCode':_0x16c047[_0x5bde53(-0x1a9,0x95,_0x15a811._0x31675a,-0x46)]});_0x17905b=_0x16c047[_0x2e3adb(0x23a,0x1d0,0x1f1,_0x15a811._0x1206f5)][_0x2e3adb(_0x15a811._0x5b750b,0x208,_0x15a811._0x4cc39d,_0x15a811._0x99b785)]('content-type')??'',_0x413dac=_0x16c047['status'],_0x103bfe=await _0x16c047['text']();}catch(_0x9c316b){if(_0x9c316b instanceof ToolExecutionError)throw _0x9c316b;const _0x17e6a8=_0x9c316b instanceof Error?_0x9c316b[_0x5bde53(_0x15a811._0x23c608,_0x15a811._0x5d7599,_0x15a811._0x313b4b,_0x15a811._0x466953)]:String(_0x9c316b);throw new ToolExecutionError(_0x17e6a8,{'url':_0x35d5b2});}finally{_0x5a2803['cleanup']();}const _0x292f70=new Date()[_0x5bde53(-_0x15a811._0x5c64ad,-0x3b,-_0x15a811._0x2c3fe6,-_0x15a811._0x12c9aa)]();let _0x3f027c,_0x59685b;if(_0x17905b[_0x2e3adb(_0x15a811._0x2ddd46,_0x15a811._0x17fcaa,0x4c0,_0x15a811._0x145742)](_0x5bde53(_0x15a811._0xf4e0f5,_0x15a811._0x56ff04,-0x81,0xe3)))_0x3f027c=_0x5bde53(-0xc4,-0x62,0xdc,_0x15a811._0x184817)+_0x103bfe+'\x0a```',_0x59685b=_0x5bde53(-0xbb,-0x154,-0x47,-_0x15a811._0x1fd3ff);else _0x17905b[_0x2e3adb(_0x15a811._0x2ea0e6,_0x15a811._0x4c105d,_0x15a811._0x2c5db7,_0x15a811._0x1952c8)](_0x5bde53(-0x1e0,-_0x15a811._0x7869e4,-_0x15a811._0x51ba78,-0x13b))?(_0x3f027c=_0x54bb4f[_0x2e3adb(_0x15a811._0x46390d,0x275,0x435,0x304)](_0x103bfe),_0x59685b='markdown'):(_0x3f027c=_0x103bfe,_0x59685b=_0x5bde53(-_0x15a811._0x76567d,-_0x15a811._0x2537c5,-0x22e,-0xbb));function _0x5bde53(_0x25f898,_0x3abcee,_0x5ce812,_0x2d4f62){return _0x50abdc(_0x25f898-0x75,_0x3abcee-0x117,_0x5ce812,_0x2d4f62- -_0x15dc5a._0x5a16ca);}return yield createToolOutput(_0x3f027c,{'url':_0x35d5b2,'contentType':_0x17905b,'statusCode':_0x413dac,'format':_0x59685b,'size':_0x103bfe[_0x5bde53(0x10c,-0x53,0x2,-0x23)],'fetchedAt':_0x292f70}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0x4d9604(0x237,0x1ef,0x281,0x37d);function normalizeUrl(_0x212101){const _0x304df9={_0x4c9431:0xf8,_0xa05899:0x1b0,_0x166ac2:0x1e1,_0xca06b7:0x128,_0x14bcee:0x12f,_0x4d17ed:0x1f8,_0x202b2e:0x24,_0x35cef4:0x16e,_0x15d63b:0x2d,_0x2a3ead:0x28e,_0x1f48cb:0x21b,_0x59b57d:0x1d7,_0x4219bd:0x77,_0x210da2:0x32f,_0x1bc271:0x2f6,_0x3fa4ed:0x26f,_0x285af2:0x2d2,_0xc07d00:0x259,_0x55f653:0x25b,_0x19f183:0x1b7,_0x59659b:0xb,_0x2d5dae:0x1af,_0x2ca8a8:0x79},_0x4363c5={_0x4e3ab9:0x105};function _0x12618a(_0x318c5b,_0x29bf98,_0x391dbd,_0x2d4605){return _0x2853b9(_0x318c5b-0x166,_0x29bf98-0x9e,_0x2d4605- -0x41f,_0x391dbd);}function _0x537f39(_0x4af9db,_0x412278,_0x3f96e4,_0x4aadc1){return _0x2853b9(_0x4af9db-_0x4363c5._0x4e3ab9,_0x412278-0xd,_0x3f96e4- -0x258,_0x412278);}try{const _0x29264c=new URL(_0x212101);for(const _0x3e7a10 of[_0x537f39(_0x304df9._0x4c9431,0x248,_0x304df9._0xa05899,_0x304df9._0x166ac2),_0x12618a(0x2cd,_0x304df9._0xca06b7,_0x304df9._0x14bcee,_0x304df9._0x4d17ed),'utm_campaign','utm_term',_0x12618a(_0x304df9._0x202b2e,-0x32,_0x304df9._0x35cef4,_0x304df9._0x15d63b),_0x12618a(0x2da,0x105,_0x304df9._0x2a3ead,_0x304df9._0x1f48cb),_0x537f39(0x2c4,_0x304df9._0x59b57d,0x25a,0x1d6),_0x12618a(0xf9,_0x304df9._0x4219bd,-0xb1,0x3f),_0x537f39(0x2dc,_0x304df9._0x210da2,_0x304df9._0x1bc271,_0x304df9._0x3fa4ed)]){_0x29264c[_0x537f39(_0x304df9._0x285af2,0x212,_0x304df9._0xc07d00,0x33c)][_0x537f39(0x38f,0x163,_0x304df9._0x55f653,_0x304df9._0x19f183)](_0x3e7a10);}return _0x29264c[_0x12618a(-_0x304df9._0x59659b,_0x304df9._0x2d5dae,-0x6b,_0x304df9._0x2ca8a8)]();}catch{return _0x212101;}}function cseDateRestrict(_0x233c64){const _0x40233c={_0x9aba67:0x13a,_0x46953e:0x236,_0x16a529:0x147,_0x520a0c:0x665,_0x39a9f6:0x585,_0x50d7ae:0x3f3,_0x5027af:0x458},_0x4e6d73={_0x34b448:0x114,_0x2df435:0x18},_0x109498={_0x169135:0x1e4,_0x168a57:0xc6};if(_0x233c64<=0x0)return void 0x0;function _0x2ee57b(_0x350df7,_0x5321b9,_0x156d42,_0x5e1871){return _0x4d9604(_0x350df7-0x1ba,_0x5e1871,_0x350df7- -_0x109498._0x169135,_0x5e1871-_0x109498._0x168a57);}function _0x3651dc(_0x10fb73,_0x44e4bb,_0x3d17eb,_0x2ae1ce){return _0x2853b9(_0x10fb73-0x120,_0x44e4bb-_0x4e6d73._0x34b448,_0x44e4bb-_0x4e6d73._0x2df435,_0x2ae1ce);}if(_0x233c64<=0x1e)return'd'+Math[_0x2ee57b(-_0x40233c._0x9aba67,-_0x40233c._0x46953e,-_0x40233c._0x16a529,-0x208)](0x1,Math[_0x3651dc(0x5e8,_0x40233c._0x520a0c,0x7d7,_0x40233c._0x39a9f6)](_0x233c64));if(_0x233c64<=0x16d)return'm'+Math['ceil'](_0x233c64/0x1e);return'y'+Math[_0x3651dc(_0x40233c._0x50d7ae,0x429,_0x40233c._0x5027af,0x375)](_0x233c64/0x16d);}function addSiteFilters(_0x683d02,_0x1f658c){const _0xe2d0e4={_0x301f42:0x142,_0x5d1a79:0xb4,_0x5dcd41:0x92,_0x552172:0x18a,_0x20f250:0xa3,_0x4f665a:0xc0,_0x17e624:0xd0,_0x22cb92:0x6b,_0x3e0300:0x34,_0x33b173:0xd2,_0x38af42:0x143,_0x10b0e5:0x1b0,_0x380606:0xf4,_0x238225:0x94},_0x199781={_0x13fb74:0x292},_0x337cef={_0x3f1d93:0xe4,_0x5001f4:0x118};if(_0x1f658c[_0xa04533(-_0xe2d0e4._0x301f42,0x26,-_0xe2d0e4._0x5d1a79,-0x10a)]===0x0)return _0x683d02[_0xa04533(-0x9e,0x11b,0xac,_0xe2d0e4._0x5dcd41)]();function _0x4d19a6(_0x957ff7,_0x78f553,_0x3dc9dc,_0x3e1a90){return _0x4d9604(_0x957ff7-_0x337cef._0x3f1d93,_0x78f553,_0x3e1a90- -0x2aa,_0x3e1a90-_0x337cef._0x5001f4);}function _0xa04533(_0xb1dbb5,_0xa3b0b4,_0x44aaf2,_0x51b782){return _0x4d9604(_0xb1dbb5-0x16b,_0x51b782,_0x44aaf2- -_0x199781._0x13fb74,_0x51b782-0x18f);}return(_0x683d02+'\x20('+_0x1f658c[_0x4d19a6(-_0xe2d0e4._0x552172,_0xe2d0e4._0x20f250,-0x1bf,-_0xe2d0e4._0x4f665a)](_0x19f340=>'site:'+_0x19f340)[_0xa04533(-_0xe2d0e4._0x17e624,-0x91,-_0xe2d0e4._0x22cb92,-_0xe2d0e4._0x3e0300)](_0x4d19a6(-0x2de,-_0xe2d0e4._0x33b173,-_0xe2d0e4._0x38af42,-_0xe2d0e4._0x10b0e5))+')')[_0x4d19a6(_0xe2d0e4._0x380606,-0x8f,0x3a,_0xe2d0e4._0x238225)]();}function normalizeType(_0x193a90){const _0x1ca02d={_0x3178b9:0x439,_0x5e3725:0x43e,_0x4f02d6:0x3f9,_0x8c395b:0x320,_0x150d11:0x46c,_0x219de0:0x503},_0x48f409={_0x5db4c4:0x194,_0x444e94:0x4b},_0x18671f={_0x201e47:0x5c};function _0x346e3c(_0x25f745,_0x3e8854,_0x1f3afb,_0x515470){return _0x4d9604(_0x25f745-_0x18671f._0x201e47,_0x25f745,_0x1f3afb-0x2e3,_0x515470-0x19e);}function _0x54ae2f(_0x25d1a8,_0x3ed667,_0xbeb78e,_0x2d6608){return _0x4d9604(_0x25d1a8-_0x48f409._0x5db4c4,_0xbeb78e,_0x2d6608-0x272,_0x2d6608-_0x48f409._0x444e94);}return _0x193a90===_0x54ae2f(0x49b,0x326,_0x1ca02d._0x3178b9,_0x1ca02d._0x5e3725)?'images':_0x346e3c(_0x1ca02d._0x4f02d6,_0x1ca02d._0x8c395b,_0x1ca02d._0x150d11,_0x1ca02d._0x219de0);}async function fetchJson(_0x24cf7b,_0x3a9052,_0x3f1192){const _0x235238={_0x3abe27:0x2b9,_0x34d6ce:0x50a,_0x449d20:0x3cd,_0xaee39c:0x462,_0x336203:0x239,_0x57d052:0x36c,_0x32fb61:0x83,_0xa5bdfd:0x17f,_0x5f1d5b:0xd2,_0xd183c9:0x335,_0x56fd10:0x4d9,_0x1af7fd:0x56a,_0x28605e:0x461,_0x138af1:0x484,_0x3959b5:0x3c8,_0x19ee0a:0x5fd,_0x5c7958:0x536,_0x5d76b8:0x3eb,_0x401017:0x3db,_0x4f35ee:0x2f1,_0x252674:0x2a4,_0x18f948:0x538,_0xd03117:0x536,_0x427260:0x20c,_0x20ad7a:0x415,_0x2e0e7b:0x1ac,_0x5d18ae:0x396,_0x52f932:0x283,_0x2d8acb:0x1ae},_0x2fe3e9={_0x18d7ec:0xe9},_0x16a62e=await fetch(_0x24cf7b,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x579ab6(_0x235238._0x3abe27,_0x235238._0x34d6ce,0x36d,_0x235238._0x449d20),..._0x3f1192?.['headers']},'signal':_0x3a9052,..._0x3f1192});function _0x579ab6(_0x4bec78,_0x3f2db6,_0x2d194f,_0x1947f9){return _0x4d9604(_0x4bec78-0x125,_0x4bec78,_0x1947f9-_0x2fe3e9._0x18d7ec,_0x1947f9-0xa3);}if(!_0x16a62e['ok']){let _0x1e1b5a,_0x52a516;try{_0x1e1b5a=await _0x16a62e['text']();const _0x50d097=JSON[_0x579ab6(_0x235238._0xaee39c,_0x235238._0x336203,0x4a3,_0x235238._0x57d052)](_0x1e1b5a),_0x7c9244=typeof _0x50d097['detail']===_0x579ab6(_0x235238._0x32fb61,0x18b,0x4a,_0x235238._0xa5bdfd)?_0x50d097['detail']['error']:void 0x0;_0x52a516=_0x50d097[_0x579ab6(_0x235238._0x5f1d5b,0x33d,_0x235238._0xd183c9,0x1ff)]?.[_0x2e9a26(0x714,_0x235238._0x56fd10,0x5a1,_0x235238._0x1af7fd)]??_0x50d097['error']?.[_0x2e9a26(0x52b,0x4f6,0x3ed,_0x235238._0x28605e)]?.[0x0]?.[_0x579ab6(0x263,0x311,_0x235238._0x138af1,_0x235238._0x3959b5)]??_0x7c9244;}catch{}const _0x19fb2f=_0x52a516?_0x2e9a26(0x438,_0x235238._0x19ee0a,_0x235238._0x5c7958,_0x235238._0x5d76b8)+_0x16a62e[_0x579ab6(_0x235238._0x401017,_0x235238._0x3959b5,_0x235238._0x4f35ee,_0x235238._0x252674)]+':\x20'+_0x52a516:_0x2e9a26(_0x235238._0x18f948,0x687,_0x235238._0xd03117,0x45d)+_0x16a62e[_0x579ab6(_0x235238._0x427260,0x324,_0x235238._0x20ad7a,0x2a4)]+'\x20'+_0x16a62e[_0x579ab6(0x227,_0x235238._0x2e0e7b,_0x235238._0x5d18ae,_0x235238._0x52f932)];throw new ToolExecutionError(_0x19fb2f,{'statusCode':_0x16a62e[_0x579ab6(0x364,0x3fa,0x3a4,0x2a4)],..._0x1e1b5a?{'body':_0x1e1b5a}:{}});}function _0x2e9a26(_0x32a513,_0x382afc,_0x6d0582,_0x1a817f){return _0x4d9604(_0x32a513-0x135,_0x32a513,_0x6d0582-0x2c2,_0x1a817f-0x134);}return await _0x16a62e[_0x579ab6(_0x235238._0x2d8acb,0x249,0x38a,0x276)]();}async function hydrateResults(_0x89036d,_0x5e9d46,_0x59f222,_0x442084){const _0x23c347={_0x4c0f8c:0x4e5,_0x385131:0x512,_0x186a1f:0x550,_0x99c411:0x4d6,_0x355de3:0x4c1,_0x49f8e6:0x4e3,_0x104d30:0x4e,_0x1f72a9:0x5d,_0x210be4:0x555,_0x296ce7:0x4e3},_0x1c574b={_0x299c20:0x1aa,_0x415679:0x1d0},_0x34a316={_0x51e0c2:0x178},_0x5e6e95={_0x4fbe48:0x336,_0x2c594f:0x2a2,_0x2afda5:0x160,_0x553de7:0x18b,_0x112262:0x206,_0x311fd9:0x317,_0xa2dd6c:0x144,_0x16c6c4:0x367,_0x17ee3e:0x22c,_0x351730:0x46c,_0x29a496:0x448,_0x1de0d1:0x15b,_0x35d9db:0x37e,_0x31bff2:0x2a2,_0x5925b1:0x3d8,_0x47099b:0x286,_0x3735a2:0x294,_0x3a16b6:0x393,_0x1f94d9:0x29e,_0x29062d:0x2ca,_0x4d8b1e:0x313,_0x42e313:0x357,_0x483fe1:0x1fe,_0x25d606:0x247,_0x4eaf5a:0x124,_0x25daf0:0x37,_0x48970f:0x1a3,_0x20bce0:0x2b5,_0x2b2b7c:0x386,_0x108d74:0x3f5,_0x31afa1:0x403,_0xb60927:0x34d,_0x12a11e:0x3ae,_0x270364:0x2d3,_0x27a1a9:0x23b,_0x1ada5f:0x260,_0x2f75c3:0x15f,_0x2b9c49:0x3d9,_0x204cbf:0x261,_0x570b1a:0x359,_0x57b0ee:0x2ea},_0x3f02a9={_0x1c817b:0x119,_0x5094cb:0x8d},_0x139e42=await Promise[_0x5794d7(_0x23c347._0x4c0f8c,_0x23c347._0x385131,0x48f,_0x23c347._0x186a1f)](_0x89036d[_0x5794d7(0x6bd,0x4ea,0x432,0x55e)](0x0,0xa)[_0x5794d7(_0x23c347._0x99c411,_0x23c347._0x355de3,0x5a1,_0x23c347._0x49f8e6)](async _0xbc1f4f=>{const _0x44b1eb={_0xe0f4c6:0x8a,_0x118d7e:0x10c,_0x5981b7:0x19d};function _0x371bd5(_0x56904a,_0x40805a,_0x30bec8,_0xd550d5){return _0x5794d7(_0x56904a-_0x44b1eb._0xe0f4c6,_0x40805a-_0x44b1eb._0x118d7e,_0x56904a,_0xd550d5- -_0x44b1eb._0x5981b7);}function _0xd97da3(_0x1c289f,_0x3b4f4b,_0xfcfe6,_0x564e45){return _0x5794d7(_0x1c289f-_0x3f02a9._0x1c817b,_0x3b4f4b-_0x3f02a9._0x5094cb,_0x3b4f4b,_0x1c289f- -0x25f);}try{const _0x5a0238=await safeFetch(_0xbc1f4f[_0x371bd5(_0x5e6e95._0x4fbe48,0x1f8,_0x5e6e95._0x2c594f,0x2b5)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x5e9d46,'Accept':_0xd97da3(_0x5e6e95._0x2afda5,_0x5e6e95._0x553de7,0x27d,0x7c)},'signal':_0x59f222},{'lookup':_0x442084});if(!_0x5a0238['ok'])return _0xbc1f4f;const _0x8ebaf3=await _0x5a0238[_0x371bd5(0x2c0,_0x5e6e95._0x112262,_0x5e6e95._0x311fd9,0x2a2)](),_0x66b8bf=load(_0x8ebaf3),_0x1a6a0d=_0x66b8bf(_0xd97da3(0x105,0x3d,0x82,_0x5e6e95._0xa2dd6c))[_0xd97da3(_0x5e6e95._0x16c6c4,0x44e,_0x5e6e95._0x17ee3e,0x45b)](_0x371bd5(0x4a5,0x2e8,_0x5e6e95._0x351730,_0x5e6e95._0x29a496))||_0x66b8bf('title')[_0xd97da3(0x2c0,_0x5e6e95._0x1de0d1,_0x5e6e95._0x35d9db,0x236)]()[_0x371bd5(0x401,0x3b7,0x2bc,_0x5e6e95._0x31bff2)]()[_0xd97da3(_0x5e6e95._0x5925b1,_0x5e6e95._0x47099b,0x2b6,0x373)](),_0x167152=_0x66b8bf('meta[name=\x27description\x27]')[_0xd97da3(_0x5e6e95._0x16c6c4,0x408,_0x5e6e95._0x3735a2,_0x5e6e95._0x3a16b6)]('content')||_0x66b8bf(_0xd97da3(0x369,_0x5e6e95._0x1f94d9,0x268,0x32e))[_0xd97da3(_0x5e6e95._0x16c6c4,_0x5e6e95._0x29062d,_0x5e6e95._0x4d8b1e,0x469)](_0x371bd5(0x533,_0x5e6e95._0x42e313,0x45c,_0x5e6e95._0x29a496))||_0xbc1f4f[_0xd97da3(0x13d,_0x5e6e95._0x483fe1,0x279,_0x5e6e95._0x25d606)],_0x4101a9=_0x66b8bf(_0xd97da3(_0x5e6e95._0x4eaf5a,0x231,-_0x5e6e95._0x25daf0,_0x5e6e95._0x48970f))[_0x371bd5(_0x5e6e95._0x20bce0,0x416,0x44f,0x429)](_0xd97da3(_0x5e6e95._0x2b2b7c,0x341,_0x5e6e95._0x108d74,0x4f6))||_0x66b8bf(_0x371bd5(0x326,0x308,0x2c3,_0x5e6e95._0x31afa1))[_0x371bd5(_0x5e6e95._0xb60927,0x2fb,0x4fc,0x429)](_0x371bd5(0x262,_0x5e6e95._0x12a11e,0x3eb,_0x5e6e95._0x270364))||_0xbc1f4f[_0xd97da3(0x175,_0x5e6e95._0x27a1a9,_0x5e6e95._0x1ada5f,0x1b3)],_0x3b3761=_0x66b8bf('link[rel=\x27canonical\x27]')['attr']('href');return{..._0xbc1f4f,'title':_0x1a6a0d||_0xbc1f4f[_0x371bd5(_0x5e6e95._0x2f75c3,0x203,0x1b6,0x1e8)],'snippet':_0x167152,'url':_0x3b3761?normalizeUrl(new URL(_0x3b3761,_0xbc1f4f['url'])[_0x371bd5(_0x5e6e95._0x2b9c49,_0x5e6e95._0x204cbf,_0x5e6e95._0x570b1a,_0x5e6e95._0x57b0ee)]()):_0xbc1f4f[_0x371bd5(0x41f,0x191,0x1bf,0x2b5)],'publishedAt':_0x4101a9};}catch{return _0xbc1f4f;}}));function _0x5d564d(_0x20cc12,_0x28f27c,_0x547491,_0xaf482c){return _0x2853b9(_0x20cc12-0x54,_0x28f27c-_0x34a316._0x51e0c2,_0x547491- -0x5bd,_0x20cc12);}const _0x1e011a=new Map(_0x89036d[_0x5d564d(0x11,-0x8,-_0x23c347._0x104d30,_0x23c347._0x1f72a9)](0x0,0xa)[_0x5794d7(0x5ef,_0x23c347._0x210be4,0x496,_0x23c347._0x296ce7)]((_0x4fade8,_0x41e5cf)=>[_0x4fade8[_0x5d564d(-0x1ba,-0x8e,-0x15a,-0x85)],_0x139e42[_0x41e5cf]]));function _0x5794d7(_0x1e05bf,_0x3e461e,_0x4e748a,_0xfbb73c){return _0x2853b9(_0x1e05bf-_0x1c574b._0x299c20,_0x3e461e-_0x1c574b._0x415679,_0xfbb73c- -0x11,_0x4e748a);}return _0x89036d['map'](_0x12aa96=>_0x1e011a[_0x5794d7(0x443,0x3cf,0x49c,0x49d)](_0x12aa96[_0x5d564d(-0x155,-0x51,-0x15a,-0x1b6)])??_0x12aa96);}function formatResults(_0x306da2){const _0x4b3b53={_0x83cc00:0x129,_0x3ada8e:0x5d4,_0x313773:0x420,_0x82f058:0x12f,_0xdc48a4:0x0,_0x82c704:0x29,_0x4a6578:0x113},_0x35c1b5={_0x4d4989:0x5d8,_0x1a3cf9:0x511,_0x59fc5b:0x620,_0x5e6b07:0x30c,_0x1639d0:0x2ae,_0x3b45c3:0x339,_0x6a1989:0x3c1,_0x485f61:0x3f7,_0x36d74e:0x426,_0x485301:0x431,_0x5adecd:0x1d2,_0x5bfa1d:0xbf,_0x2a2be8:0x23d,_0x17b20d:0x2e1},_0x311f6e={_0x1195d0:0x19c},_0x4d1ec9={_0x5597e1:0x192,_0xe01e05:0x75,_0x7085d4:0x4f4},_0x4ab93b={_0x40ad1b:0x50};function _0x2a8379(_0x52c85d,_0x28a551,_0x3777c0,_0x9f5fa2){return _0x2853b9(_0x52c85d-0x143,_0x28a551-0x18a,_0x3777c0-_0x4ab93b._0x40ad1b,_0x52c85d);}function _0x45752c(_0x5f09e1,_0x5d50b3,_0x475050,_0x54144b){return _0x2853b9(_0x5f09e1-_0x4d1ec9._0x5597e1,_0x5d50b3-_0x4d1ec9._0xe01e05,_0x54144b- -_0x4d1ec9._0x7085d4,_0x475050);}if(_0x306da2[_0x45752c(-0x140,-_0x4b3b53._0x83cc00,0x12c,-0xc)]===0x0)return _0x2a8379(_0x4b3b53._0x3ada8e,0x62f,0x512,_0x4b3b53._0x313773);return _0x306da2[_0x45752c(0x34,-0x74,_0x4b3b53._0x82f058,_0x4b3b53._0xdc48a4)](_0x33de3a=>{const _0x4fc8c5={_0x19b502:0x186,_0x4ddcb6:0x4ab},_0x3afa83=[_0x33de3a[_0x27f187(0x4fa,0x50f,_0x35c1b5._0x4d4989,_0x35c1b5._0x1a3cf9)][_0x1afaee(_0x35c1b5._0x59fc5b,0x4b2,0x51d,0x4c4)]+'.\x20'+_0x33de3a[_0x1afaee(_0x35c1b5._0x5e6b07,0x1ee,_0x35c1b5._0x1639d0,_0x35c1b5._0x3b45c3)],_0x33de3a[_0x27f187(0x41a,0x582,0x4e8,0x303)]];function _0x1afaee(_0x549946,_0x1014b0,_0x770041,_0x2160fb){return _0x2a8379(_0x2160fb,_0x1014b0-0x1d5,_0x1014b0- -0x1f8,_0x2160fb-_0x311f6e._0x1195d0);}if(_0x33de3a[_0x27f187(0x364,0x253,0x4aa,_0x35c1b5._0x6a1989)])_0x3afa83['push'](_0x33de3a['snippet']);function _0x27f187(_0x422752,_0x213555,_0x299eeb,_0x552602){return _0x45752c(_0x422752-0xa2,_0x213555-_0x4fc8c5._0x19b502,_0x552602,_0x422752-_0x4fc8c5._0x4ddcb6);}if(_0x33de3a['publishedAt'])_0x3afa83[_0x27f187(_0x35c1b5._0x485f61,_0x35c1b5._0x36d74e,_0x35c1b5._0x485301,0x2f1)](_0x1afaee(0x198,_0x35c1b5._0x5adecd,0x22c,_0x35c1b5._0x5bfa1d)+_0x33de3a[_0x1afaee(0x2b6,_0x35c1b5._0x2a2be8,0x16f,0x15d)]);return _0x3afa83[_0x1afaee(0x480,0x389,_0x35c1b5._0x17b20d,0x26b)]('\x0a');})[_0x45752c(-_0x4b3b53._0x82c704,-_0x4b3b53._0x4a6578,-0xcf,0x3d)]('\x0a\x0a');}async function searchOllama(_0x55713f,_0x4536e0,_0xdb0e87){const _0x5bc006={_0x479bf6:0x230,_0x6160cc:0x164,_0x2bc802:0x35c,_0x52d371:0x20,_0x3ce674:0x19a,_0x310ff4:0x1af,_0x3f6e4c:0x14d,_0x3f1f38:0x163,_0xd71477:0x220,_0x82c9b9:0x1a1,_0x1e82a9:0x154,_0x3e571b:0x20e,_0x4106e6:0x276,_0x1fbac5:0xbb,_0x1d7791:0x142,_0x543878:0x1c9},_0x6860c8={_0x2d9572:0x10e,_0x299c0a:0xa4,_0x418238:0x4,_0x480fce:0x178,_0x4377cd:0x51,_0x59f3b2:0x304,_0x15165b:0x274},_0x205f1b={_0x3a02be:0x11f,_0x22d20d:0x1b2},_0x3e4347=Math['max'](0x1,Math[_0x42b7b0(0x165,_0x5bc006._0x479bf6,_0x5bc006._0x6160cc,_0x5bc006._0x2bc802)](0xa,_0x4536e0['count'])),_0x59256a=addSiteFilters(_0x4536e0['query'],_0x4536e0[_0x18f70f(-0x75,-0x16b,-_0x5bc006._0x52d371,-0xb9)]),_0x3d05d2=await fetchJson('https://ollama.com/api/web_search',_0xdb0e87,{'method':_0x42b7b0(_0x5bc006._0x3ce674,_0x5bc006._0x310ff4,_0x5bc006._0x3f6e4c,0xd3),'headers':{'Authorization':_0x42b7b0(_0x5bc006._0x3f1f38,0x1ea,0x12a,0x27c)+_0x55713f[_0x42b7b0(_0x5bc006._0xd71477,_0x5bc006._0x82c9b9,0x295,0x63)]},'body':JSON[_0x42b7b0(_0x5bc006._0x1e82a9,_0x5bc006._0x3e571b,0x23f,_0x5bc006._0x4106e6)]({'query':_0x59256a,'max_results':_0x3e4347})}),_0x301268=_0x3d05d2['results']??[];function _0x42b7b0(_0x2c91a4,_0x1e8765,_0x121d56,_0x51a87e){return _0x2853b9(_0x2c91a4-_0x205f1b._0x3a02be,_0x1e8765-_0x205f1b._0x22d20d,_0x1e8765- -0x2a7,_0x51a87e);}function _0x18f70f(_0x2110fa,_0x354972,_0x4e06ba,_0x2b442d){return _0x2853b9(_0x2110fa-0x40,_0x354972-0x1ad,_0x4e06ba- -0x542,_0x354972);}const _0x2b5e6e=_0x301268['map']((_0x39a5be,_0x54be29)=>{const _0x333def={_0x43ee5a:0xa5,_0x3e94c3:0x10d},_0x5e7ef2=_0x39a5be['url']||'';function _0x39f161(_0x406a7b,_0x34c71e,_0x57e832,_0x25e52b){return _0x42b7b0(_0x406a7b-_0x333def._0x43ee5a,_0x25e52b- -0x28,_0x57e832-_0x333def._0x3e94c3,_0x34c71e);}let _0x1efb00;try{_0x1efb00=new URL(_0x5e7ef2)[_0x3388a2(_0x6860c8._0x2d9572,0x16f,0xbb,0x85)];}catch{_0x1efb00=null;}function _0x3388a2(_0x1d086d,_0x5a364c,_0x562088,_0xf42b59){return _0x42b7b0(_0x1d086d-0x170,_0x1d086d- -0x4b,_0x562088-0x7,_0x562088);}return{'title':_0x39a5be[_0x3388a2(_0x6860c8._0x299c0a,0x17a,_0x6860c8._0x418238,_0x6860c8._0x480fce)]||_0x3388a2(0x14a,_0x6860c8._0x4377cd,0x287,0xd4),'url':normalizeUrl(_0x5e7ef2),'snippet':_0x39a5be[_0x3388a2(_0x6860c8._0x59f3b2,0x1ce,0x44b,_0x6860c8._0x15165b)]??null,'displayUrl':_0x1efb00,'favicon':null,'publishedAt':null,'source':{'engine':'ollama','rank':_0x54be29+0x1}};});return{'items':_0x2b5e6e[_0x18f70f(_0x5bc006._0x1fbac5,0x127,0x2d,-0x69)](0x0,_0x3e4347),'engine':_0x18f70f(-_0x5bc006._0x1d7791,-0x10f,-_0x5bc006._0x543878,-0xd1)};}async function searchTavily(_0xcca97a,_0xda3163,_0x25def6){const _0x29904c={_0x5ac574:0x224,_0x27c4e1:0x35e,_0x53de89:0x23b,_0x1b5581:0x2f9,_0x1d6564:0x4cc,_0x3ba570:0x394,_0x422b64:0x198,_0x320b46:0x114,_0x56d345:0xbc,_0x1646d3:0x98,_0x432363:0x446,_0xc88efe:0x427,_0x389eda:0xc2,_0x101cfb:0x239,_0x1d477c:0x3e1,_0x4318be:0x287,_0x2c4296:0x597,_0x37d0a7:0x4b8,_0x4f20a7:0x44a,_0x58369e:0x1f0,_0x4c1a7d:0x2cc,_0x40fd9b:0x27d,_0x34fbea:0x35b,_0x39b900:0x29e,_0x114bcb:0x24f,_0x4099ca:0x396,_0x17e615:0x2d2,_0x2e789a:0x30a,_0x24bdb3:0x4ba,_0x1a5cd2:0x59e,_0x152435:0x4f3,_0x42a23b:0x497,_0x54c4b5:0x391,_0x592da8:0x2af,_0x51d232:0x50b,_0x4bce70:0x3fc,_0x47a82e:0x295,_0x4f9fdf:0xb,_0x947fbd:0x12a,_0x100ded:0x2e1,_0x4a3ebd:0x220},_0x4c5027={_0x3bacf7:0x22c,_0x5b687b:0x4b3,_0x487729:0x20d,_0xc874d:0x33c,_0x55a8bc:0x22b,_0x5071c6:0x2c2,_0x386d96:0x21b,_0x336c5b:0x566,_0x77c5:0x619,_0x483da4:0x505,_0x2cbe48:0x37f,_0x392ce8:0x42f},_0x4c3ba1={_0x591563:0x18d},_0x4b95f6={_0x3bb556:0xc1,_0x37fd83:0x35},_0x4bc4f9={_0x2d8185:0xfb},_0x5cac68={_0x28dcd9:0x98,_0x37357e:0x86};function _0x4b4c5b(_0x1112a1,_0xe2108,_0x5a955b,_0xa06986){return _0x2853b9(_0x1112a1-_0x5cac68._0x28dcd9,_0xe2108-_0x5cac68._0x37357e,_0x5a955b- -0x699,_0x1112a1);}const _0x28431b=Math[_0x4b7a0f(_0x29904c._0x5ac574,_0x29904c._0x27c4e1,0x3d8,0x2b9)](0x1,Math[_0x4b4c5b(-_0x29904c._0x53de89,-0x2e8,-0x1c2,-_0x29904c._0x1b5581)](0x14,_0xda3163[_0x4b7a0f(0x57b,0x360,0x49d,_0x29904c._0x1d6564)])),_0x552f25={'query':_0xda3163['query'],'max_results':_0x28431b,'search_depth':_0xcca97a[_0x4b7a0f(0x532,_0x29904c._0x3ba570,0x5fb,0x4d9)]??_0x4b4c5b(-_0x29904c._0x422b64,-_0x29904c._0x320b46,-0x56,-_0x29904c._0x56d345),'topic':_0xcca97a['topic']??_0x4b4c5b(0x34,-0x48,-_0x29904c._0x1646d3,-0x154)};if(_0xda3163[_0x4b7a0f(_0x29904c._0x432363,0x393,0x457,_0x29904c._0xc88efe)][_0x4b4c5b(-0x25f,-_0x29904c._0x389eda,-0x1b1,-_0x29904c._0x101cfb)]>0x0)_0x552f25[_0x4b7a0f(0x34f,_0x29904c._0x1d477c,0x37e,_0x29904c._0x4318be)]=_0xda3163[_0x4b7a0f(0x3ea,0x39d,_0x29904c._0x2c4296,0x427)];function _0x4b7a0f(_0x56286a,_0x45bbd7,_0x306b24,_0x239742){return _0x2853b9(_0x56286a-0x193,_0x45bbd7-0x14c,_0x239742- -_0x4bc4f9._0x2d8185,_0x45bbd7);}const _0x3e1c2f=await fetchJson(_0x4b7a0f(0x21e,_0x29904c._0x37d0a7,_0x29904c._0x4f20a7,0x35d),_0x25def6,{'method':_0x4b7a0f(_0x29904c._0x58369e,_0x29904c._0x4c1a7d,_0x29904c._0x40fd9b,_0x29904c._0x34fbea),'headers':{'Authorization':_0x4b7a0f(_0x29904c._0x39b900,0x3aa,_0x29904c._0x114bcb,_0x29904c._0x4099ca)+_0xcca97a[_0x4b4c5b(-0x208,-0x3f2,-_0x29904c._0x17e615,-_0x29904c._0x2e789a)],'Content-Type':_0x4b7a0f(0x39f,_0x29904c._0x24bdb3,_0x29904c._0x1a5cd2,_0x29904c._0x152435)},'body':JSON['stringify'](_0x552f25)}),_0x49b3c9=_0x3e1c2f[_0x4b7a0f(_0x29904c._0x42a23b,_0x29904c._0x54c4b5,_0x29904c._0x592da8,0x3aa)]??[],_0xb2c4eb=_0x49b3c9[_0x4b7a0f(_0x29904c._0x51d232,_0x29904c._0x4bce70,0x3dd,0x3f9)]((_0x221940,_0x138d7a)=>{const _0x26e054=_0x221940[_0x3dd177(_0x4c5027._0x3bacf7,0x255,_0x4c5027._0x5b687b,0x372)]||'';function _0x3dd177(_0x204397,_0x4a4d19,_0x38d137,_0x5da2a8){return _0x4b7a0f(_0x204397-_0x4b95f6._0x3bb556,_0x4a4d19,_0x38d137-_0x4b95f6._0x37fd83,_0x5da2a8-0xa);}function _0x136663(_0x15d452,_0x999029,_0x29d35f,_0x746fd8){return _0x4b4c5b(_0x29d35f,_0x999029-_0x4c3ba1._0x591563,_0x999029-0x63f,_0x746fd8-0x157);}let _0x52eb3c;try{_0x52eb3c=new URL(_0x26e054)['host'];}catch{_0x52eb3c=null;}return{'title':_0x221940[_0x136663(_0x4c5027._0x487729,_0x4c5027._0xc874d,_0x4c5027._0x55a8bc,0x404)]||_0x3dd177(_0x4c5027._0x5071c6,_0x4c5027._0x386d96,0x4a8,0x34b),'url':normalizeUrl(_0x26e054),'snippet':_0x221940[_0x3dd177(0x50a,_0x4c5027._0x336c5b,_0x4c5027._0x77c5,_0x4c5027._0x483da4)]??null,'displayUrl':_0x52eb3c,'favicon':null,'publishedAt':null,'source':{'engine':_0x136663(0x3eb,0x396,_0x4c5027._0x2cbe48,_0x4c5027._0x392ce8),'rank':_0x138d7a+0x1}};});return{'items':_0xb2c4eb[_0x4b4c5b(-_0x29904c._0x47a82e,-_0x29904c._0x4f9fdf,-_0x29904c._0x947fbd,-0x24d)](0x0,_0x28431b),'engine':_0x4b4c5b(-0x14f,-_0x29904c._0x100ded,-0x2a9,-_0x29904c._0x4a3ebd)};}async function searchGoogleCse(_0x2250d5,_0x500a5c,_0x22e1e8){const _0x596e99={_0x443208:0x16d,_0x475766:0xfc,_0x3861c7:0xb4,_0x12581e:0x151,_0x1f3e11:0x2ce,_0x27359e:0x2b7,_0x4a4975:0x167,_0x549710:0x2c7,_0x26ee12:0x2da,_0x4878ca:0x1a4,_0x51cc66:0x16e,_0x38787f:0x285,_0x1439d6:0x261,_0x392e34:0x177,_0x1806f6:0x3b,_0x31e0a0:0x1a3,_0x20a594:0x18b,_0x1996e6:0xda,_0x639e6c:0x118,_0x178be4:0xcb,_0x141b77:0x242,_0x5d9d05:0x264,_0x39e9fb:0xc2,_0x4a14ab:0x134,_0xc00e7a:0x274,_0x1d04b7:0x139,_0x3156c9:0x156,_0x2b7c95:0x10c,_0xb96898:0x248,_0x354b60:0x170,_0x5297e0:0x2b7,_0xd637a:0x198,_0x16d2e2:0x15,_0x235cad:0xd,_0x3cedda:0x72,_0x403fdb:0x152,_0x1189ce:0x294,_0x104fa0:0x1d2,_0x2fbd6a:0x237,_0x27f197:0x7,_0x2f456d:0x4d,_0x264a62:0x98,_0x5f0212:0x17d,_0x2ddea7:0x1dc,_0x1796c5:0x101,_0x28c24e:0x152,_0x18810d:0xf3,_0x5b76bd:0xdb,_0x1e9f70:0xf8,_0x7bf99c:0xdb,_0x3ab8bd:0x127,_0x27584f:0xf6,_0x2dc4a4:0x10b,_0x108847:0x144,_0x5b257b:0x33,_0x361c7b:0x138,_0x4e35d8:0x2ef,_0x454c65:0x357,_0x5a623a:0xcb,_0x4ceab0:0x43,_0xe83f0b:0x1a2,_0x259c10:0x9d,_0x4a4ed4:0x10c,_0x5ce7cc:0x12b,_0x3e19e4:0x36,_0x1e4be2:0x204,_0x533a61:0xd3,_0x1a4d1c:0x2f,_0x1f6e4b:0x10b,_0x1c0a00:0xfb,_0x24ea91:0x17d,_0x445c49:0x25b,_0x43bd46:0xb6,_0x30348b:0xf6,_0x5b73bb:0x27,_0xc9ef26:0x19,_0x199945:0x149,_0x111c7e:0x94,_0xc78ff3:0x52,_0x48a89c:0x197,_0x378456:0x246,_0x3b7890:0x15b,_0x452662:0xfc,_0x20efb7:0x3d,_0x59e70c:0x1c1,_0x4a6fd8:0x62,_0x15462b:0x108,_0x7febb2:0x1d9,_0x57a685:0x25d,_0x5eca4d:0xa1,_0x14145e:0x228,_0x612aed:0x1da,_0x485358:0x262,_0xb48da2:0x174,_0x597639:0x266,_0x47f55a:0x3f,_0x519121:0x9f,_0x4721e5:0xe7,_0x25dc02:0x16a,_0x535474:0x31f,_0x5118d3:0x292,_0x110e09:0x141,_0x3ebff2:0x56,_0x5095f7:0xc1,_0x59fa6a:0x1bc,_0x4a58a7:0x1b2,_0xbaae30:0x3f,_0x49aa05:0xd4,_0x43f61e:0x112},_0x443fbb={_0x5f034c:0xca,_0x5a14f2:0xa7,_0x353391:0x57c},_0x55d93c={_0x7d31bb:0x199};function _0x2ffdbd(_0x32e454,_0x1c9366,_0x56afe9,_0x399a82){return _0x2853b9(_0x32e454-_0x55d93c._0x7d31bb,_0x1c9366-0x35,_0x1c9366- -0x334,_0x56afe9);}const _0x901213=Math['max'](0x1,Math[_0x2ffdbd(0x66,0x1a3,0x37,0xfa)](0x32,_0x500a5c[_0x2ffdbd(0x3a0,0x293,0x285,_0x596e99._0x443208)]));if(_0x500a5c[_0x2ffdbd(0x140,0xe1,0x1e,0x42)]+_0x901213>0x64)throw new ToolExecutionError(_0x53cdaf(-0x293,-_0x596e99._0x475766,-_0x596e99._0x3861c7,-_0x596e99._0x12581e),{'offset':_0x500a5c[_0x53cdaf(-_0x596e99._0x1f3e11,-0x275,-_0x596e99._0x27359e,-_0x596e99._0x4a4975)],'count':_0x901213,'maxResults':0x64});const _0x499bf2=cseDateRestrict(_0x500a5c[_0x2ffdbd(_0x596e99._0x549710,0x210,0x373,0x2cb)]),_0x1660a7=addSiteFilters(_0x500a5c[_0x53cdaf(-_0x596e99._0x26ee12,-0x87,-0x140,-_0x596e99._0x4878ca)],_0x500a5c[_0x2ffdbd(_0x596e99._0x51cc66,0x1ee,_0x596e99._0x38787f,_0x596e99._0x1439d6)]);function _0x53cdaf(_0x43e77d,_0x1da3fc,_0x2cb999,_0x90e1d9){return _0x2853b9(_0x43e77d-_0x443fbb._0x5f034c,_0x1da3fc-_0x443fbb._0x5a14f2,_0x90e1d9- -_0x443fbb._0x353391,_0x2cb999);}let _0x592f8e=0x0,_0x2d2ee4=_0x500a5c[_0x53cdaf(-_0x596e99._0x392e34,-_0x596e99._0x1806f6,-0x190,-_0x596e99._0x4a4975)]+0x1;const _0x4b1f1d=[];while(_0x592f8e<_0x901213){const _0x4f95b8=Math[_0x2ffdbd(0x30f,_0x596e99._0x31e0a0,_0x596e99._0x20a594,0x21d)](0xa,_0x901213-_0x592f8e),_0x3f8408=new URL('https://www.googleapis.com/customsearch/v1');_0x3f8408[_0x53cdaf(-_0x596e99._0x1996e6,-0xcb,-_0x596e99._0x639e6c,-_0x596e99._0x178be4)][_0x2ffdbd(0x245,0xf6,_0x596e99._0x141b77,_0x596e99._0x5d9d05)]('key',_0x2250d5[_0x2ffdbd(_0x596e99._0x39e9fb,0x1a6,_0x596e99._0x4a14ab,0x1a1)]),_0x3f8408[_0x2ffdbd(_0x596e99._0xc00e7a,0x17d,_0x596e99._0x1d04b7,_0x596e99._0x3156c9)][_0x53cdaf(-0x191,-0x110,-_0x596e99._0x2b7c95,-0x152)]('cx',_0x2250d5[_0x2ffdbd(_0x596e99._0xb96898,0xe6,_0x596e99._0x354b60,0x20b)]),_0x3f8408[_0x53cdaf(-0x1f0,-0x1e5,-0x23a,-0xcb)]['set']('q',_0x1660a7),_0x3f8408[_0x2ffdbd(_0x596e99._0x5297e0,0x17d,0x23c,_0x596e99._0xd637a)][_0x53cdaf(_0x596e99._0x16d2e2,-_0x596e99._0x235cad,-_0x596e99._0x3cedda,-_0x596e99._0x403fdb)](_0x53cdaf(-_0x596e99._0x1189ce,-0x274,-0x2d0,-_0x596e99._0x104fa0),String(_0x4f95b8)),_0x3f8408['searchParams'][_0x2ffdbd(_0x596e99._0x2fbd6a,0xf6,0x1ec,-0x5d)](_0x53cdaf(-_0x596e99._0x27f197,_0x596e99._0x2f456d,-0xbb,_0x596e99._0x264a62),String(_0x2d2ee4)),_0x3f8408[_0x2ffdbd(0x1df,_0x596e99._0x5f0212,0x200,_0x596e99._0x2ddea7)][_0x53cdaf(-0x270,-_0x596e99._0x1796c5,-0xfa,-_0x596e99._0x28c24e)](_0x53cdaf(0xeb,_0x596e99._0x18810d,0x1ff,_0x596e99._0x5b76bd),_0x500a5c[_0x53cdaf(0x1bb,_0x596e99._0x1e9f70,0x17a,_0x596e99._0x7bf99c)]?_0x53cdaf(-0x1d5,-_0x596e99._0x3ab8bd,-_0x596e99._0x27584f,-0x101):_0x53cdaf(_0x596e99._0x2dc4a4,_0x596e99._0x108847,-_0x596e99._0x5b257b,0x75));_0x500a5c[_0x53cdaf(0x9a,-0xec,-0xde,0x4a)]&&(_0x3f8408['searchParams'][_0x53cdaf(-_0x596e99._0x361c7b,-0x14e,-0xea,-_0x596e99._0x403fdb)]('hl',_0x500a5c[_0x2ffdbd(0x15d,0x292,_0x596e99._0x4e35d8,_0x596e99._0x454c65)]),_0x3f8408[_0x53cdaf(-0x22,-0x18f,-0x32,-_0x596e99._0x5a623a)][_0x2ffdbd(_0x596e99._0x4ceab0,_0x596e99._0x27584f,_0x596e99._0xe83f0b,_0x596e99._0x259c10)]('lr',_0x2ffdbd(_0x596e99._0x4a4ed4,0xb2,_0x596e99._0x5ce7cc,-0x1a)+_0x500a5c['lang']));if(_0x500a5c[_0x2ffdbd(-0xf4,0x7f,0x1a6,-_0x596e99._0x3e19e4)])_0x3f8408[_0x2ffdbd(_0x596e99._0x1e4be2,_0x596e99._0x5f0212,0x43,0x79)][_0x53cdaf(-0x299,-_0x596e99._0x533a61,-_0x596e99._0x1a4d1c,-0x152)]('gl',_0x500a5c['region']['toUpperCase']());if(_0x500a5c[_0x2ffdbd(_0x596e99._0x1f6e4b,0xd6,-0x33,0x51)]==='images')_0x3f8408[_0x2ffdbd(_0x596e99._0x1c0a00,_0x596e99._0x24ea91,_0x596e99._0x445c49,0x12f)][_0x2ffdbd(_0x596e99._0x43bd46,_0x596e99._0x30348b,-_0x596e99._0x5b73bb,_0x596e99._0xc9ef26)]('searchType',_0x2ffdbd(0xe5,0x92,-0x4a,-0xb9));if(_0x499bf2)_0x3f8408[_0x2ffdbd(0x72,0x17d,0x20f,_0x596e99._0x199945)][_0x53cdaf(-_0x596e99._0x111c7e,-0xca,-_0x596e99._0xc78ff3,-0x152)]('dateRestrict',_0x499bf2);const _0x152112=await fetchJson(_0x3f8408[_0x2ffdbd(-0x6,0x164,0x24c,0x14c)](),_0x22e1e8),_0x114a44=_0x152112['items']??[];if(_0x114a44['length']===0x0)break;const _0x5c5dbe=_0x592f8e;for(let _0x414e0c=0x0;_0x414e0c<_0x114a44[_0x53cdaf(-_0x596e99._0x48a89c,-0xcc,0x83,-_0x596e99._0x111c7e)];_0x414e0c++){const _0x55c308=_0x114a44[_0x414e0c];if(!_0x55c308)continue;const _0x48160e=_0x55c308[_0x2ffdbd(0x26c,_0x596e99._0x378456,_0x596e99._0x3b7890,0x16f)]||_0x55c308['image']?.[_0x2ffdbd(0x195,_0x596e99._0x452662,0xe5,_0x596e99._0x20efb7)]||'',_0x14688f=_0x55c308['title']||_0x55c308[_0x2ffdbd(_0x596e99._0x59e70c,0x92,0x17b,-0xd3)]?.[_0x2ffdbd(0x3d,_0x596e99._0x4a6fd8,0x16e,0x8f)]||_0x2ffdbd(0x231,_0x596e99._0x15462b,0x1d4,_0x596e99._0x7febb2),_0x34e589=_0x55c308['snippet']||_0x55c308[_0x2ffdbd(_0x596e99._0x57a685,0x283,0x35c,0x3e7)]?.[_0x2ffdbd(_0x596e99._0x5eca4d,0xdb,_0x596e99._0x14145e,_0x596e99._0x612aed)](/<[^>]+>/g,''),_0x1698ae=_0x55c308['pagemap']?.[_0x2ffdbd(_0x596e99._0x485358,_0x596e99._0xb48da2,0xfd,_0x596e99._0x597639)]?.[0x0]??{};let _0x2e2ae0;try{_0x2e2ae0=new URL(_0x48160e)[_0x53cdaf(-_0x596e99._0x47f55a,-_0x596e99._0x519121,-_0x596e99._0x4721e5,-0x17c)];}catch{_0x2e2ae0=null;}_0x4b1f1d[_0x53cdaf(-_0x596e99._0x25dc02,-0x95,-0x26e,-0x13c)]({'title':_0x14688f,'url':normalizeUrl(_0x48160e),'snippet':_0x34e589??null,'displayUrl':_0x2e2ae0,'favicon':null,'publishedAt':_0x1698ae[_0x2ffdbd(0x361,_0x596e99._0x535474,0x20f,_0x596e99._0x5118d3)]||_0x1698ae[_0x2ffdbd(0x19c,_0x596e99._0x110e09,_0x596e99._0x3ebff2,0x15d)]||null,'source':{'engine':'google-cse','rank':_0x5c5dbe+_0x414e0c+0x1}});}_0x592f8e+=_0x114a44[_0x53cdaf(_0x596e99._0x5095f7,-_0x596e99._0x59fa6a,-_0x596e99._0x4a58a7,-0x94)],_0x2d2ee4+=_0x114a44[_0x53cdaf(_0x596e99._0xbaae30,0x26,-0x7c,-0x94)];if(_0x114a44[_0x53cdaf(-0x74,-_0x596e99._0x49aa05,-_0x596e99._0x43f61e,-_0x596e99._0x111c7e)]<_0x4f95b8)break;}return _0x4b1f1d['slice'](0x0,_0x901213);}function isGoogleCseEngine(_0x2aa125){const _0x662a22={_0x598b43:0x194,_0x60777e:0x6c},_0x2415b1={_0x3feac0:0x55,_0x8a161:0x11e};function _0x338944(_0x4139b0,_0x47649c,_0x3f831b,_0x51ff8c){return _0x4d9604(_0x4139b0-0xef,_0x3f831b,_0x47649c- -_0x2415b1._0x3feac0,_0x51ff8c-_0x2415b1._0x8a161);}return _0x338944(_0x662a22._0x598b43,0x17b,_0x662a22._0x60777e,0x9a)in _0x2aa125;}function isOllamaEngine(_0x284918){const _0x58f10c={_0x4014de:0x561,_0x2777a0:0x4ca,_0x582c4a:0x63d},_0x53372c={_0x141268:0x423};function _0x4dda00(_0x27ead6,_0x6e5fa3,_0x2e0637,_0x533f48){return _0x4d9604(_0x27ead6-0xd1,_0x2e0637,_0x27ead6-_0x53372c._0x141268,_0x533f48-0x10b);}return _0x4dda00(_0x58f10c._0x4014de,0x630,_0x58f10c._0x2777a0,_0x58f10c._0x582c4a)in _0x284918;}function isTavilyEngine(_0x4eb3d2){return'tavilyApiKey'in _0x4eb3d2;}function createWebSearchTool(_0x115289){const _0x75ddfe={_0x54c99c:0x366,_0x1b7ff7:0x5e,_0x14e1a9:0xac,_0x1da2e0:0xf7,_0xc95668:0x133,_0x8f70f2:0x2f5,_0x1b76cb:0x175,_0x21d666:0x176,_0x256050:0x2d8,_0x207477:0x225,_0x531015:0x149,_0xd3a9dc:0x28d,_0x51d4f3:0x65,_0xaae129:0x1a5,_0x5624e2:0x91,_0x2d1b1f:0x237,_0x33e838:0x19,_0x21dfb4:0x105,_0x5dea3d:0x124,_0x44d79d:0x2a,_0x3f0323:0x3a4,_0x554e2:0x3bb,_0xef42cb:0x52c,_0x5777b5:0x43b,_0x5eed48:0x2fa,_0x24e3eb:0x102,_0x424eaa:0x1d4,_0x397bf5:0x9b,_0xc33f0:0x13c,_0x113efd:0x1e9,_0x4a4229:0x12e,_0x54d466:0x21e,_0x3e1145:0x10c,_0x323fad:0x1d8,_0x11a74d:0x137,_0x1ed799:0x10c,_0xa4a0c5:0x14e},_0x5613ab={_0x464196:0x392,_0x2fc6f7:0x2eb,_0x31eec5:0x4c6,_0x59e3f8:0x507,_0x345d21:0x59e,_0x129d8a:0x4a7,_0x467940:0x3fa,_0x2cafaf:0x3f4,_0x53bc28:0x239,_0x346df0:0x3a3,_0x1ea2f7:0x2f8,_0x251a0e:0x2e0,_0x5ebc68:0x536,_0x2f943f:0x645,_0x4f9816:0x31e,_0x134dbb:0x215,_0x218152:0x31c,_0x51a5df:0x464,_0x59e90a:0x34c,_0x1c5ad3:0x246,_0x4501ec:0x323,_0x1cfc4b:0x43b,_0x2e09b4:0x29d,_0x57c9cd:0x303,_0x1ddb2d:0x2e5,_0x548b24:0x347,_0x4149dd:0x554,_0x2ce84b:0x369,_0x23a33d:0x5d6,_0x4f9625:0x549,_0xda0a09:0x4ba,_0x1b98c8:0x28e,_0x34a367:0x1a6,_0x442afe:0x2ae,_0x5d181a:0x3cd,_0x28cf99:0x322,_0x4561cb:0x3b3,_0xf16868:0x2b4,_0x4e32f0:0x1f8,_0x167cd1:0x266,_0x53f79a:0x225,_0x117ea8:0x299,_0x16955d:0x450,_0x3eaf2d:0x2e9,_0x3d83b8:0x370,_0x1b4ecb:0x437,_0x20c549:0x387,_0x4f99bf:0x493,_0x2aeab7:0x4ae,_0x1e3cd8:0x322,_0x1e2125:0x5f6,_0x433cd2:0x428,_0x58466c:0x4d9,_0x50fe3b:0x3c3,_0x304d15:0x337,_0x5e0e9c:0x463,_0xda4e4e:0x52a,_0x5f4f89:0x31e,_0x4b5208:0x2de,_0x563250:0x475,_0x3e0a22:0x3fb,_0x4809b2:0x435,_0x44fe5f:0x4e8,_0x5997e3:0x334,_0x46cdff:0x587,_0x20808e:0x4c4,_0x275d98:0x3e8,_0x21cee0:0x514,_0x17a472:0x1d3,_0x4b720d:0x2cd,_0x43f916:0x242,_0x48f2ca:0x322,_0x51fcdf:0x42e,_0x1cecc0:0x3bb,_0x140ae0:0x25a,_0x282d67:0x452,_0x3c4446:0x434,_0x1d52fc:0x354,_0x4e14f6:0x219},_0x498590={_0x4f6cce:0x207,_0x201f6f:0x24e,_0x467565:0x40e,_0x2311ad:0x2b4,_0x36c708:0x2e2,_0x278d19:0x436,_0x286127:0x349,_0x246ca4:0x82,_0x2c4486:0x1a7,_0x291cb7:0xc6},_0x574654={_0x10a459:0x80},_0x263fba={_0x5473ea:0x108,_0x48304e:0x311};if(!_0x115289[_0xad5a51(0x213,0x29a,0x335,_0x75ddfe._0x54c99c)]||_0x115289[_0x32adb9(-0x102,_0x75ddfe._0x1b7ff7,-_0x75ddfe._0x14e1a9,-_0x75ddfe._0x1da2e0)][_0x32adb9(-0x157,-0x1b2,-0x5f,-_0x75ddfe._0xc95668)]===0x0)throw new Error(_0xad5a51(_0x75ddfe._0x8f70f2,0x26e,_0x75ddfe._0x1b76cb,0x1a7));const _0x1b9fdb=_0x115289[_0xad5a51(_0x75ddfe._0x21d666,0x16e,_0x75ddfe._0x256050,_0x75ddfe._0x207477)]??_0x32adb9(-_0x75ddfe._0x531015,-_0x75ddfe._0xd3a9dc,-_0x75ddfe._0x51d4f3,-_0x75ddfe._0xaae129),_0x3929d7=_0x115289[_0x32adb9(-_0x75ddfe._0x5624e2,-_0x75ddfe._0x2d1b1f,-_0x75ddfe._0x33e838,-_0x75ddfe._0x21dfb4)];function _0x32adb9(_0x54c290,_0x1c186f,_0x3f6b1c,_0x22c9b0){return _0x4d9604(_0x54c290-_0x263fba._0x5473ea,_0x54c290,_0x22c9b0- -_0x263fba._0x48304e,_0x22c9b0-0xf9);}function _0xad5a51(_0x4f1c8d,_0x5aa736,_0x341176,_0x26aae3){return _0x4d9604(_0x4f1c8d-0x132,_0x341176,_0x5aa736-_0x574654._0x10a459,_0x26aae3-0x121);}return defineTool({'name':_0x1b9fdb,'description':'Search\x20the\x20web\x20and\x20return\x20ranked\x20results.','inputSchema':{'type':'object','properties':{'description':{'type':'string'},'query':{'type':'string'},'count':{'type':_0x32adb9(-_0x75ddfe._0x5dea3d,0xbf,-0x95,_0x75ddfe._0x44d79d)},'offset':{'type':_0xad5a51(_0x75ddfe._0x3f0323,_0x75ddfe._0x554e2,0x335,_0x75ddfe._0xef42cb)},'domains':{'type':_0xad5a51(_0x75ddfe._0x5777b5,_0x75ddfe._0x5eed48,0x2d6,0x408),'items':{'type':_0x32adb9(-_0x75ddfe._0x5dea3d,-_0x75ddfe._0x24e3eb,-0x1e5,-_0x75ddfe._0x424eaa)}},'recencyDays':{'type':_0x32adb9(-_0x75ddfe._0x397bf5,0x11a,0x17e,0x2a)},'lang':{'type':_0xad5a51(0x1e0,0x1bd,_0x75ddfe._0xc33f0,0x9e)},'region':{'type':_0x32adb9(-_0x75ddfe._0x113efd,-_0x75ddfe._0x4a4229,-0x27c,-0x1d4)},'safe':{'type':_0x32adb9(-0x1b0,-0x54,-_0x75ddfe._0x54d466,-_0x75ddfe._0x3e1145)},'type':{'type':'string'},'hydrateMeta':{'type':_0x32adb9(-_0x75ddfe._0x323fad,-_0x75ddfe._0x11a74d,-0xfc,-_0x75ddfe._0x1ed799)}},'required':[_0xad5a51(-0x16,_0x75ddfe._0xa4a0c5,0x70,0x25c)]},async *'execute'(_0x2fb557,_0x14fa0d){const _0x1df130={_0xe0d6c1:0x185},_0x5bf83f={_0x2ab664:0x11b,_0x21594c:0x88},_0x54e3b6=_0x2fb557[_0x425db8(0x2d4,_0x5613ab._0x464196,0x2d8,_0x5613ab._0x2fc6f7)]['trim']();if(!_0x54e3b6)throw new ToolExecutionError(_0x5cb9b6(_0x5613ab._0x31eec5,0x5bf,_0x5613ab._0x59e3f8,_0x5613ab._0x345d21));const _0x3299a8={'query':_0x54e3b6,'count':Math['max'](0x1,Math[_0x425db8(_0x5613ab._0x129d8a,_0x5613ab._0x467940,_0x5613ab._0x2cafaf,0x3ea)](0x32,Math[_0x5cb9b6(_0x5613ab._0x53bc28,_0x5613ab._0x346df0,_0x5613ab._0x1ea2f7,_0x5613ab._0x251a0e)](_0x2fb557[_0x5cb9b6(0x4d9,_0x5613ab._0x5ebc68,_0x5613ab._0x2f943f,0x46e)]??0xa))),'offset':Math[_0x425db8(_0x5613ab._0x4f9816,0x157,_0x5613ab._0x134dbb,0x2c7)](0x0,Math[_0x425db8(_0x5613ab._0x218152,_0x5613ab._0x51a5df,_0x5613ab._0x59e90a,0x347)](_0x2fb557['offset']??0x0)),'domains':_0x2fb557['domains']??[],'recencyDays':Math[_0x5cb9b6(_0x5613ab._0x1c5ad3,_0x5613ab._0x4501ec,_0x5613ab._0x1cfc4b,_0x5613ab._0x2e09b4)](0x0,Math[_0x425db8(_0x5613ab._0x57c9cd,0x4ba,_0x5613ab._0x1ddb2d,_0x5613ab._0x548b24)](_0x2fb557[_0x5cb9b6(_0x5613ab._0x4149dd,0x4b3,0x521,_0x5613ab._0x2ce84b)]??0x0)),'lang':_0x2fb557[_0x5cb9b6(_0x5613ab._0x23a33d,0x535,_0x5613ab._0x4f9625,_0x5613ab._0xda0a09)]??'en','region':_0x2fb557[_0x425db8(_0x5613ab._0x1b98c8,0x2ad,_0x5613ab._0x34a367,0x2c6)]??'','safe':_0x2fb557['safe']??!![],'type':normalizeType(_0x2fb557['type']),'hydrateMeta':_0x2fb557[_0x425db8(0x1e5,0x317,_0x5613ab._0x442afe,0x340)]??![]};let _0x1c24cb=[],_0xbcd5d2='unknown';for(const _0x36906c of _0x115289['engines']){try{if(isGoogleCseEngine(_0x36906c))_0x1c24cb=await searchGoogleCse(_0x36906c,_0x3299a8,_0x14fa0d[_0x425db8(_0x5613ab._0x5d181a,_0x5613ab._0x28cf99,0x2f9,0x2cc)]),_0xbcd5d2=_0x425db8(_0x5613ab._0x4561cb,_0x5613ab._0xf16868,0x4aa,0x3ae);else{if(isOllamaEngine(_0x36906c)){const _0x18ccc8=await searchOllama(_0x36906c,_0x3299a8,_0x14fa0d['signal']);_0x1c24cb=_0x18ccc8['items'],_0xbcd5d2=_0x18ccc8[_0x425db8(_0x5613ab._0x4e32f0,_0x5613ab._0x167cd1,_0x5613ab._0x53f79a,0x34c)];}else{if(isTavilyEngine(_0x36906c)){const _0x5963ac=await searchTavily(_0x36906c,_0x3299a8,_0x14fa0d[_0x425db8(0x20c,0x2d6,0x1e6,0x2cc)]);_0x1c24cb=_0x5963ac[_0x5cb9b6(_0x5613ab._0x117ea8,0x372,_0x5613ab._0x16955d,_0x5613ab._0x3eaf2d)],_0xbcd5d2=_0x5963ac['engine'];}}}if(_0x1c24cb['length']>0x0)break;}catch(_0x3a2c07){if(_0x36906c===_0x115289[_0x425db8(0x450,_0x5613ab._0x3d83b8,0x44e,_0x5613ab._0x1b4ecb)][_0x115289[_0x5cb9b6(_0x5613ab._0x20c549,_0x5613ab._0x4f99bf,0x581,_0x5613ab._0x2aeab7)][_0x425db8(0x28c,0x2bb,_0x5613ab._0x1e3cd8,0x3fb)]-0x1])throw _0x3a2c07;}}_0x3299a8['hydrateMeta']&&_0x1c24cb['length']>0x0&&(_0x1c24cb=await hydrateResults(_0x1c24cb,_0x3299a8[_0x425db8(_0x5613ab._0x1e2125,0x502,_0x5613ab._0x433cd2,_0x5613ab._0x58466c)],_0x14fa0d['signal'],_0x3929d7));function _0x425db8(_0x10e848,_0x406e3e,_0x1034af,_0x2be239){return _0x32adb9(_0x1034af,_0x406e3e-_0x5bf83f._0x2ab664,_0x1034af-_0x5bf83f._0x21594c,_0x2be239-0x52e);}const _0x396865=new Set();_0x1c24cb=_0x1c24cb[_0x5cb9b6(0x531,0x4e4,0x575,_0x5613ab._0x50fe3b)](_0x14b3c6=>{const _0x2e20ed={_0x2419a2:0x29,_0xafcf19:0x27a,_0x37d0b9:0x57},_0x2d6459={_0xda583a:0xd3},_0x5e2220=_0x14b3c6[_0x344548(-0x1b8,-0xac,-_0x498590._0x4f6cce,-_0x498590._0x201f6f)][_0x344548(-0x1d9,-_0x498590._0x467565,-0x2d5,-_0x498590._0x2311ad)]();if(!_0x5e2220||_0x396865[_0x73ed32(_0x498590._0x36c708,_0x498590._0x278d19,_0x498590._0x286127,0x2e2)](_0x5e2220))return![];function _0x344548(_0x142f00,_0x22f0b8,_0x118e52,_0x3dedb1){return _0x425db8(_0x142f00-_0x2d6459._0xda583a,_0x22f0b8-0x12e,_0x142f00,_0x118e52- -0x57d);}function _0x73ed32(_0x5bced0,_0x43eac3,_0x4141d8,_0x3f7168){return _0x5cb9b6(_0x5bced0-_0x2e20ed._0x2419a2,_0x3f7168- -_0x2e20ed._0xafcf19,_0x4141d8-_0x2e20ed._0x37d0b9,_0x4141d8);}return _0x396865[_0x344548(-_0x498590._0x246ca4,-_0x498590._0x2c4486,-0x117,-_0x498590._0x291cb7)](_0x5e2220),!![];});function _0x5cb9b6(_0x46687f,_0x5a7581,_0x274faf,_0xd58382){return _0xad5a51(_0x46687f-_0x1df130._0xe0d6c1,_0x5a7581-0x1f9,_0xd58382,_0xd58382-0xa2);}_0x1c24cb=_0x1c24cb[_0x5cb9b6(_0x5613ab._0x304d15,_0x5613ab._0x5e0e9c,0x42f,_0x5613ab._0xda4e4e)]((_0x1bd2a9,_0x28774a)=>({..._0x1bd2a9,'source':{..._0x1bd2a9['source'],'rank':_0x28774a+0x1}}));const _0x5a8685={};if(_0x3299a8[_0x425db8(0x415,_0x5613ab._0x5f4f89,0x46f,0x435)][_0x425db8(0x39b,_0x5613ab._0x4b5208,_0x5613ab._0x563250,_0x5613ab._0x3e0a22)]>0x0)_0x5a8685[_0x425db8(0x3fc,0x2f4,0x3d4,_0x5613ab._0x4809b2)]=_0x3299a8[_0x425db8(_0x5613ab._0x44fe5f,0x42a,_0x5613ab._0x5997e3,0x435)];if(_0x3299a8['recencyDays']>0x0)_0x5a8685['recencyDays']=_0x3299a8['recencyDays'];if(_0x3299a8[_0x425db8(_0x5613ab._0x46cdff,0x496,_0x5613ab._0x20808e,_0x5613ab._0x58466c)]!=='en')_0x5a8685[_0x425db8(_0x5613ab._0x275d98,_0x5613ab._0x5ebc68,_0x5613ab._0x21cee0,_0x5613ab._0x58466c)]=_0x3299a8['lang'];if(_0x3299a8[_0x425db8(_0x5613ab._0x17a472,0x1d2,_0x5613ab._0x4b720d,0x2c6)])_0x5a8685[_0x5cb9b6(_0x5613ab._0x43f916,_0x5613ab._0x48f2ca,0x305,_0x5613ab._0x51fcdf)]=_0x3299a8['region'];return yield createToolOutput(formatResults(_0x1c24cb),{'engine':_0xbcd5d2,'count':_0x1c24cb[_0x425db8(0x48e,0x51e,0x405,0x3fb)],'items':_0x1c24cb,'query':_0x3299a8[_0x5cb9b6(_0x5613ab._0x1cecc0,0x347,_0x5613ab._0x140ae0,0x326)],...Object['keys'](_0x5a8685)[_0x5cb9b6(_0x5613ab._0x282d67,0x457,0x549,_0x5613ab._0x3c4446)]>0x0?{'appliedFilters':_0x5a8685}:{},'offset':_0x3299a8['offset'],'totalRequested':_0x3299a8[_0x5cb9b6(0x4a5,_0x5613ab._0x5ebc68,0x61e,0x408)],'hydrated':_0x3299a8[_0x425db8(_0x5613ab._0x1d52fc,_0x5613ab._0x4e14f6,0x3db,0x340)]}),void 0x0;}});}export{BackgroundProcessRegistry,ToolExecutionError,ToolRegistry,assertWorkspaceFile,buildMcpHttpHeaders,connectMcpServer,createAskUserTool,createAssignTaskTool,createBashOutputTool,createBashTool,createDelegateToAgentTool,createDelegationTools,createFileEditTool,createFileNewTool,createFileReadTool,createGlobTool,createGrepTool,createInternalToolRuntime,createInvokeCommandTool,createKillShellTool,createLoadSkillTool,createLsTool,createLspService,createLspTool,createMcpOAuthProvider,createMcpTool,createMcpToolName,createMcpToolsFromServers,createMockToolRuntime,createShellExecTool,createTodoWriteTool,createToolOutput,createUpdateTopicTool,createViewFileTool,createWebFetchTool,createWebSearchTool,defineTool,deriveFinalToolOutput,filepath,files,isProbablyBinary,normalizeToolOutputValue,resolveAllowedPath,resolveDelegatedAgentOptions,resolveWorkspacePath,search,toNuvinToolSchema,truncateToolOutput,validateToolInput};