@nuvin/agent-core 0.2.0-rc.1 → 0.2.0-rc.2
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.
- package/dist/VERSION +2 -2
- package/dist/agent/index.js +1 -1
- package/dist/agent/metrics.d.ts +8 -0
- package/dist/chunk-D5IVWJHX.js +1 -1
- package/dist/chunk-FFIZ6TKW.js +1 -1
- package/dist/chunk-JQLCZGQ7.js +1 -0
- package/dist/chunk-NYZR4XKO.js +1 -1
- package/dist/chunk-WDPOWIJR.js +1 -0
- package/dist/chunk-X7VAACWY.js +1 -1
- package/dist/chunk-YNOIG4FD.js +1 -0
- package/dist/formats/index.js +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/models/chat-model.d.ts +1 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +1 -1
- package/dist/models/mock-model.d.ts +2 -0
- package/dist/models/model-cost.d.ts +5 -0
- package/dist/models/model-pricing-generator.d.ts +9 -0
- package/dist/models/model-pricing-products.d.ts +45 -0
- package/dist/models/model-pricing-types.d.ts +33 -0
- package/dist/models/model-pricing.d.ts +13 -0
- package/dist/models/model-pricing.generated.d.ts +23147 -0
- package/dist/models/openai-surfaces.d.ts +3 -0
- package/dist/models/routed-model.d.ts +3 -0
- package/dist/shared/index.js +1 -1
- package/dist/shared/types.d.ts +34 -7
- package/dist/tools/index.js +1 -1
- package/dist/tools/mcp-server-manager.d.ts +9 -4
- package/dist/tools/mcp-tool-adapter.d.ts +6 -1
- package/dist/tools/runtime-manager-tools.d.ts +11 -0
- package/dist/tools/tools.d.ts +4 -1
- package/package.json +2 -2
- package/dist/chunk-E4R6CEFK.js +0 -1
- package/dist/chunk-RABU4RC2.js +0 -1
- package/dist/chunk-RTDLM6FU.js +0 -1
package/dist/tools/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x84a7be,_0xe8ac2b){const _0x21592c={_0x2a8dd1:0x14e,_0x3f65e1:0x114,_0x2998d2:0xd5,_0x54c0b5:0x56d,_0x4ad9bc:0x616,_0x180314:0x4bd,_0x5161e4:0x794,_0x436e61:0x600,_0x5ad009:0x5ae,_0x10ea44:0xe5,_0x1cfa19:0x23f,_0x4bb3aa:0x2df,_0x101728:0x65e,_0x193308:0x78c,_0x25d634:0x5bd,_0x466736:0x751,_0x4b7f8a:0x277,_0x576e74:0x3af,_0x1f5d59:0x28a,_0x10c40e:0x108,_0x3fce1d:0x1f5,_0x1f3838:0x20e,_0x71882a:0x95,_0x251844:0xd8,_0x336612:0x843},_0x2a492f={_0x1a1282:0x3e3},_0x5a3930=_0x84a7be();function _0x1b58e0(_0x2002c1,_0x34b7bd,_0x2385fd,_0x383ef5){return _0x4ff3(_0x34b7bd- -0x17b,_0x2385fd);}function _0xb077b8(_0x31dbaf,_0x46f595,_0x12b061,_0x39edf5){return _0x4ff3(_0x46f595-_0x2a492f._0x1a1282,_0x12b061);}while(!![]){try{const _0x4a8375=-parseInt(_0x1b58e0(-_0x21592c._0x2a8dd1,-0x1e,_0x21592c._0x3f65e1,-_0x21592c._0x2998d2))/0x1*(-parseInt(_0xb077b8(_0x21592c._0x54c0b5,_0x21592c._0x4ad9bc,_0x21592c._0x180314,0x77c))/0x2)+parseInt(_0xb077b8(0x86b,0x7d0,0x890,_0x21592c._0x5161e4))/0x3*(parseInt(_0xb077b8(_0x21592c._0x436e61,0x646,_0x21592c._0x5ad009,0x56e))/0x4)+-parseInt(_0x1b58e0(_0x21592c._0x10ea44,0x25b,_0x21592c._0x1cfa19,_0x21592c._0x4bb3aa))/0x5*(-parseInt(_0xb077b8(0x65e,_0x21592c._0x101728,_0x21592c._0x193308,0x691))/0x6)+parseInt(_0xb077b8(_0x21592c._0x25d634,0x611,0x5e3,_0x21592c._0x466736))/0x7*(-parseInt(_0x1b58e0(_0x21592c._0x4b7f8a,0x270,0x18d,_0x21592c._0x576e74))/0x8)+-parseInt(_0x1b58e0(_0x21592c._0x1f5d59,_0x21592c._0x10c40e,_0x21592c._0x3fce1d,_0x21592c._0x1f3838))/0x9*(-parseInt(_0x1b58e0(0xb5,0xd7,-_0x21592c._0x71882a,_0x21592c._0x251844))/0xa)+parseInt(_0x1b58e0(0x145,0x4d,0x56,-0x89))/0xb+-parseInt(_0xb077b8(0x6b8,0x79f,_0x21592c._0x336612,0x72c))/0xc;if(_0x4a8375===_0xe8ac2b)break;else _0x5a3930['push'](_0x5a3930['shift']());}catch(_0x2687c3){_0x5a3930['push'](_0x5a3930['shift']());}}}(_0x4425,0x55c60));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,validateToolInput}from'../chunk-RTDLM6FU.js';import{getTextFromMessage}from'../chunk-RABU4RC2.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 _0x289e4e from'path';var EXTENSION_TO_LANGUAGE={'.ts':'typescript','.tsx':_0x42babe(0x2e1,0x182,0x3f3,0x204),'.js':'javascript','.jsx':_0x42babe(0x1bd,0x314,0x7c,0x20c),'.mjs':_0x42babe(0x202,0x201,0x14b,0x388),'.cjs':'javascript','.mts':'typescript','.cts':_0x41c53b(0x524,0x5d9,0x5ba,0x6d5),'.json':'json','.jsonc':_0x42babe(0x3d0,0x484,0x398,0x24b)};function getLanguageId(_0x14ee6b){const _0x436248={_0x410ba7:0x1f4,_0x2bf283:0x90,_0x3682d8:0x42};function _0x5a8d80(_0x5d9c2e,_0x3b3e11,_0x312298,_0x47fc48){return _0x42babe(_0x3b3e11- -0x31e,_0x3b3e11-0xa,_0x312298,_0x47fc48-0x6d);}return EXTENSION_TO_LANGUAGE[_0x289e4e[_0x5a8d80(-_0x436248._0x410ba7,-_0x436248._0x2bf283,_0x436248._0x3682d8,-0xaa)](_0x14ee6b)['toLowerCase']()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8;function uriForPath(_0x4234e8){return pathToFileURL(_0x4234e8)['toString']();}function textDocumentPosition(_0x3f0b30){const _0x147765={_0x5706c1:0x55,_0x3b9e02:0x230,_0x5f42b9:0x52,_0x274b15:0x101,_0x213b0b:0x139},_0x4865ee={_0x480b01:0x1aa,_0x395b7c:0x50},_0x4048c7={_0xf69915:0x4d,_0xcffa8f:0xf5,_0x5ee4fb:0x1ab};function _0x3238c7(_0x1526d1,_0x4dc998,_0x15d7bb,_0x34f116){return _0x41c53b(_0x1526d1-_0x4048c7._0xf69915,_0x34f116-_0x4048c7._0xcffa8f,_0x4dc998,_0x34f116-_0x4048c7._0x5ee4fb);}function _0x5ed671(_0x3d18f9,_0x2d912f,_0x6fd306,_0x80f18a){return _0x42babe(_0x6fd306- -0x2a6,_0x2d912f-_0x4865ee._0x480b01,_0x80f18a,_0x80f18a-_0x4865ee._0x395b7c);}return{'textDocument':{'uri':uriForPath(_0x3f0b30['file'])},'position':{'line':_0x3f0b30[_0x5ed671(_0x147765._0x5706c1,0x35,0x133,0xb8)],'character':_0x3f0b30[_0x5ed671(_0x147765._0x3b9e02,_0x147765._0x5f42b9,_0x147765._0x274b15,_0x147765._0x213b0b)]}};}function _0x42babe(_0x56ffa3,_0x2cd294,_0x22c068,_0x469f7e){const _0x54e9ce={_0x1fb4f5:0x60};return _0x4ff3(_0x56ffa3- -_0x54e9ce._0x1fb4f5,_0x22c068);}function normalizeLocations(_0x22c975){const _0x3d18eb={_0x3a074f:0x2c0,_0x269735:0x2a3,_0x26538b:0x30d},_0x54da56={_0x57aa96:0x7d,_0x2c71be:0x171};if(!_0x22c975)return[];function _0x38bfa8(_0x34c25a,_0x6bf91,_0x327e9e,_0x23bbff){return _0x42babe(_0x34c25a-_0x54da56._0x57aa96,_0x6bf91-_0x54da56._0x2c71be,_0x6bf91,_0x23bbff-0x14e);}return Array[_0x38bfa8(_0x3d18eb._0x3a074f,_0x3d18eb._0x269735,0x226,_0x3d18eb._0x26538b)](_0x22c975)?_0x22c975:[_0x22c975];}async function createLspClient(_0x282ee7){const _0x1c4571={_0x4a5064:0xdc,_0x3f0010:0x1e8,_0x84ad0e:0x2ee,_0x273bda:0x2cf,_0x40c49e:0x13d,_0x2cf95f:0x1b2,_0x176a64:0x167,_0x1b1b66:0x4b7,_0xae6d6f:0x4a2,_0x32d1cc:0x23a,_0x113637:0x19c,_0x40b6c8:0x7b,_0xe27e72:0x1b3,_0x109479:0x180,_0x3c2647:0x542,_0x264ba7:0x47a,_0x4fc556:0x5dd,_0x24ba7b:0x2be,_0x3a4461:0x3f4,_0x34d2d2:0x41b,_0x25c913:0x3db,_0x5110ba:0x31b,_0x1d1ef3:0x46d,_0x14e6de:0x662,_0x3b2dc0:0x686,_0x15b744:0x703,_0x24c49a:0x7c7,_0xbb8cf6:0x6d3,_0x2d96fc:0x5d4,_0xbd1291:0x4f1,_0x3bf8bc:0x68a,_0x2f7483:0x592,_0x2b91ad:0x6d1,_0x35c025:0x6ab,_0x4a4fbd:0x5c2,_0x3860e8:0x63f,_0x423484:0x590},_0x20e8c2={_0x2948e4:0x8a,_0x49e6c2:0x47,_0x127aa6:0xc7,_0x151508:0x121,_0x1d4058:0x180,_0x3769f2:0x13f,_0x44e963:0x192,_0x4fed47:0x1fe,_0xb3bcc0:0x26d,_0x5864fc:0x24c,_0x36b117:0x280,_0x23923f:0x94,_0xf852b1:0x34,_0x34072b:0xd1,_0x28ffb2:0x14e},_0x3d66e0={_0x41df4b:0x4ed,_0x2e62c6:0x412},_0x575f5d={_0x48b5d2:0x4e6},_0x301ec4={_0x1e89e4:0x412,_0xbdfd8a:0x252,_0x3739fb:0x113},_0x4092d5={_0x5d0dd0:0x484,_0x4ce5fa:0x16f},_0x1f8904={_0x1432b6:0x5ab,_0x25c1fb:0x684,_0x465101:0x64d,_0x34156b:0x73e,_0x242cb4:0x6e5,_0x165acd:0x564},_0x47281e={_0x276bc8:0x2f},_0xa5415d={_0x343f98:0x183,_0x42f308:0xfe,_0x4aab3b:0x27c,_0x58126f:0x17e},_0x5d6593={_0x402200:0x453,_0x2f6e5b:0x2dc,_0xadbc54:0x24a},_0x24f65f={_0x3d639a:0x797,_0x589be2:0x595,_0x44a3d8:0x6f7},_0x105959={_0x4ef928:0x626,_0x5243b3:0x687,_0x8719df:0x184,_0x2fcc7b:0x2a3},_0x1c8cca={_0x10edd3:0xa1,_0x3814c1:0xf6},_0xe07828={_0x44bfad:0x5d},_0x2c17ab={_0x313918:0x4c,_0x4b7650:0x6f},_0x1f1591={_0x5b8a42:0x35e,_0x85d5be:0xd8,_0x3b323d:0x192},_0x4f9acf={_0xf6ebb9:0x43,_0x526bfc:0x16b},_0xcf8c39={_0x19ae73:0x15f,_0xe97d0:0x94},_0x2992df={_0x276121:0x79,_0x3e4108:0x5b,_0x2896e0:0x247,_0x4728a4:0x211},_0x4675b3={_0x25dc35:0x59a,_0x2fc0a9:0x3e5,_0x3cf7dc:0x4cd,_0x22bf98:0x4a6,_0x14b3ad:0x744,_0x104428:0x68b,_0x3695a5:0x657},_0x2fe68c={_0x18266e:0x134,_0x3bd64f:0x21,_0x6f133e:0x7,_0x31c178:0x52d,_0x2ab0b9:0x65b,_0x578f61:0x639,_0x1f9c3d:0x3b,_0x1b91fc:0x26,_0x2c676d:0x519,_0xa5a954:0x694},_0x48a621={_0x21ea26:0xdf},_0x236dc9={_0xc8bc0d:0x1d9};function _0x4b5583(_0x33cee5,_0x3deac5,_0x3dadb6,_0x266205){return _0x42babe(_0x3deac5-0x2e6,_0x3deac5-0x6b,_0x33cee5,_0x266205-_0x236dc9._0xc8bc0d);}const _0x11afd0=_0x282ee7['handle'][_0x2483b7(_0x1c4571._0x4a5064,0x1bf,_0x1c4571._0x3f0010,0x251)][_0x4b5583(0x4a3,0x42f,_0x1c4571._0x84ad0e,_0x1c4571._0x273bda)],_0x5d298e=_0x282ee7[_0x2483b7(_0x1c4571._0x40c49e,_0x1c4571._0x2cf95f,0x181,_0x1c4571._0x176a64)]['process'][_0x4b5583(_0x1c4571._0x1b1b66,0x627,0x794,_0x1c4571._0xae6d6f)];if(!_0x11afd0||!_0x5d298e)throw new Error(_0x2483b7(_0x1c4571._0x32d1cc,_0x1c4571._0x113637,0x2e1,0x360));const _0x2e8a74=createMessageConnection(new StreamMessageReader(_0x11afd0),new StreamMessageWriter(_0x5d298e)),_0x528605=new Map(),_0x225bdc=new Map();function _0x2483b7(_0x1aa942,_0x30511a,_0x51d793,_0x1f1716){return _0x42babe(_0x51d793- -0x6,_0x30511a-0x13,_0x1aa942,_0x1f1716-_0x48a621._0x21ea26);}let _0x44e908=![];_0x2e8a74[_0x2483b7(0xb4,0x222,0x13a,0x2b3)]('textDocument/publishDiagnostics',_0x434c63=>{const _0x2a45ff={_0x4c0152:0x72};_0x528605[_0x5d3734(_0x2fe68c._0x18266e,_0x2fe68c._0x3bd64f,-_0x2fe68c._0x6f133e,-0x1f)](_0x434c63['uri'],_0x434c63['diagnostics']);const _0x1a2f6e=_0x225bdc[_0x6852fa(0x54b,_0x2fe68c._0x31c178,_0x2fe68c._0x2ab0b9,_0x2fe68c._0x578f61)](_0x434c63['uri']);if(!_0x1a2f6e)return;function _0x5d3734(_0x45cf0b,_0x18263f,_0x5552f0,_0x1bbfbb){return _0x2483b7(_0x18263f,_0x18263f-0x13c,_0x45cf0b- -0x2ba,_0x1bbfbb-_0x2a45ff._0x4c0152);}function _0x6852fa(_0x3c7af3,_0x5a354a,_0x3879f2,_0x1ea3be){return _0x4b5583(_0x5a354a,_0x1ea3be-0xa7,_0x3879f2-0xf1,_0x1ea3be-0xdc);}_0x225bdc[_0x5d3734(-0x134,-_0x2fe68c._0x1f9c3d,-_0x2fe68c._0x1b91fc,-0x144)](_0x434c63[_0x6852fa(0x5aa,_0x2fe68c._0x2c676d,0x606,_0x2fe68c._0xa5a954)]);for(const _0x8dbf8 of _0x1a2f6e)_0x8dbf8();}),_0x2e8a74[_0x2483b7(_0x1c4571._0x40b6c8,_0x1c4571._0xe27e72,0x104,_0x1c4571._0x109479)]();const _0x653fb5=await _0x2e8a74[_0x4b5583(0x608,0x5c6,0x553,0x509)](_0x4b5583(_0x1c4571._0x3c2647,_0x1c4571._0x264ba7,0x51f,_0x1c4571._0x4fc556),{'processId':process['pid'],'rootUri':uriForPath(_0x282ee7[_0x2483b7(0x3d0,0x2af,0x2d6,_0x1c4571._0x24ba7b)]),'workspaceFolders':[{'uri':uriForPath(_0x282ee7[_0x2483b7(0x377,_0x1c4571._0x273bda,0x2d6,_0x1c4571._0x3a4461)]),'name':_0x282ee7[_0x4b5583(0x2a1,_0x1c4571._0x34d2d2,_0x1c4571._0x25c913,_0x1c4571._0x5110ba)]['id']}],'initializationOptions':_0x282ee7[_0x4b5583(0x4ff,_0x1c4571._0x1d1ef3,0x319,0x31e)][_0x4b5583(0x6e4,0x59b,0x631,_0x1c4571._0x14e6de)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0x4b5583(0x5c3,_0x1c4571._0x3b2dc0,0x50e,_0x1c4571._0x15b744),_0x4b5583(_0x1c4571._0x24c49a,_0x1c4571._0xbb8cf6,0x564,0x748)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});_0x2e8a74[_0x4b5583(0x57a,0x4a5,_0x1c4571._0x2d96fc,_0x1c4571._0xbd1291)](_0x4b5583(_0x1c4571._0x3bf8bc,0x6ba,_0x1c4571._0x2f7483,_0x1c4571._0x2b91ad),{});const _0x454df7={'serverId':_0x282ee7[_0x4b5583(0x3c9,_0x1c4571._0x34d2d2,0x333,0x55a)]['id'],'root':_0x282ee7[_0x4b5583(_0x1c4571._0x35c025,_0x1c4571._0x4a4fbd,_0x1c4571._0x3860e8,_0x1c4571._0x423484)],'connection':_0x2e8a74,'diagnostics':_0x528605,'capabilities':_0x653fb5['capabilities']??{},'notify':{async 'open'({path:_0x43bfe2}){const _0x4bed6e={_0x34970f:0x1,_0xa025b:0x48},_0x15b740=await readFile(_0x43bfe2,_0x38a3d9(0x715,0x621,0x46e,_0x4675b3._0x25dc35));function _0x4e5ce4(_0x1266bc,_0x4ad0f9,_0x3460f5,_0x564acc){return _0x2483b7(_0x564acc,_0x4ad0f9-0x45,_0x3460f5-0x141,_0x564acc-0x1e1);}function _0x38a3d9(_0x3b9ff1,_0x24013,_0x56d253,_0x1bf55d){return _0x4b5583(_0x56d253,_0x1bf55d-_0x4bed6e._0x34970f,_0x56d253-0xdb,_0x1bf55d-_0x4bed6e._0xa025b);}_0x2e8a74[_0x38a3d9(_0x4675b3._0x2fc0a9,_0x4675b3._0x3cf7dc,0x347,_0x4675b3._0x22bf98)](_0x38a3d9(0x62e,_0x4675b3._0x14b3ad,_0x4675b3._0x104428,0x5f9),{'textDocument':{'uri':uriForPath(_0x43bfe2),'languageId':getLanguageId(_0x43bfe2)??_0x38a3d9(_0x4675b3._0x3695a5,0x7f5,0x6cb,0x6d4),'version':0x1,'text':_0x15b740}});},async 'change'({path:_0x165f1b,version:_0x31dd05}){const _0x58b772={_0x256bea:0x1bf},_0x483c78={_0x163ea8:0x140},_0x59b37c=await readFile(_0x165f1b,'utf8');function _0x198e10(_0x3ba2d5,_0x5e6db1,_0x275958,_0x11363e){return _0x2483b7(_0x3ba2d5,_0x5e6db1-0x100,_0x5e6db1- -_0x483c78._0x163ea8,_0x11363e-0x134);}function _0x369176(_0xd7910b,_0x2aa7c0,_0x35659e,_0x2da9c4){return _0x2483b7(_0xd7910b,_0x2aa7c0-0x148,_0x2aa7c0-0x7c,_0x2da9c4-_0x58b772._0x256bea);}_0x2e8a74[_0x198e10(-0x29,_0x2992df._0x276121,-0x21,-_0x2992df._0x3e4108)](_0x369176(0xee,_0x2992df._0x2896e0,0x2ed,_0x2992df._0x4728a4),{'textDocument':{'uri':uriForPath(_0x165f1b),'version':_0x31dd05},'contentChanges':[{'text':_0x59b37c}]});},async 'close'({path:_0x327b15}){function _0x22d2e5(_0x178237,_0x1bb151,_0x199127,_0x3e3c40){return _0x4b5583(_0x178237,_0x3e3c40- -0x34c,_0x199127-_0xcf8c39._0x19ae73,_0x3e3c40-_0xcf8c39._0xe97d0);}_0x2e8a74['sendNotification'](_0x22d2e5(0x198,0x28c,-0x3,0x165),{'textDocument':{'uri':uriForPath(_0x327b15)}});}},'request':{async 'definition'(_0x19de41){const _0x50c0ce={_0x321ca2:0x19b};function _0x24cc66(_0x23484c,_0x15f6e5,_0xb63b27,_0x4a5c82){return _0x2483b7(_0x23484c,_0x15f6e5-_0x4f9acf._0xf6ebb9,_0x4a5c82-0x1af,_0x4a5c82-_0x4f9acf._0x526bfc);}function _0x2a37f8(_0x558ed9,_0x39a453,_0x34121a,_0x1927e5){return _0x2483b7(_0x1927e5,_0x39a453-0x13c,_0x558ed9- -_0x50c0ce._0x321ca2,_0x1927e5-0xef);}return normalizeLocations(await _0x2e8a74[_0x24cc66(0x51f,0x4ed,_0x1f1591._0x5b8a42,0x489)](_0x2a37f8(0x15d,_0x1f1591._0x85d5be,_0x1f1591._0x3b323d,0x13c),textDocumentPosition(_0x19de41)));},async 'references'(_0x2f925e){const _0x5df41b={_0x2f28eb:0x159};function _0x2829c0(_0x3b97c3,_0x2d255f,_0xa6703e,_0x5cbc06){return _0x2483b7(_0xa6703e,_0x2d255f-0x96,_0x3b97c3- -_0x5df41b._0x2f28eb,_0x5cbc06-0x50);}return normalizeLocations(await _0x2e8a74[_0x2829c0(0x181,_0x2c17ab._0x313918,_0x2c17ab._0x4b7650,0x1a7)]('textDocument/references',{...textDocumentPosition(_0x2f925e),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x4f5e34){function _0x403040(_0xfe8715,_0x4bf82f,_0x16574d,_0x3201a3){return _0x4b5583(_0x16574d,_0x3201a3-0xc1,_0x16574d-0x18f,_0x3201a3-_0xe07828._0x44bfad);}function _0x3d8819(_0x410a82,_0x2175bb,_0x1dd7a6,_0x498112){return _0x2483b7(_0x498112,_0x2175bb-_0x1c8cca._0x10edd3,_0x1dd7a6- -0x137,_0x498112-_0x1c8cca._0x3814c1);}return await _0x2e8a74[_0x403040(0x60c,_0x105959._0x4ef928,0x615,_0x105959._0x5243b3)](_0x3d8819(0x35e,_0x105959._0x8719df,0x275,_0x105959._0x2fcc7b),textDocumentPosition(_0x4f5e34))??null;},async 'documentSymbol'(_0x2e58f1){function _0x2fc50d(_0x4c2ce5,_0x349827,_0x3e704f,_0x5b95ac){return _0x2483b7(_0x4c2ce5,_0x349827-0x8b,_0x5b95ac-0x41e,_0x5b95ac-0x195);}return await _0x2e8a74['sendRequest'](_0x2fc50d(0x6d5,_0x24f65f._0x3d639a,_0x24f65f._0x589be2,_0x24f65f._0x44a3d8),{'textDocument':{'uri':uriForPath(_0x2e58f1)}})??[];},async 'workspaceSymbol'(_0x47a2cb){const _0x33043a={_0x52dc34:0x37,_0x5012d3:0xfd},_0x5165d3={_0x507714:0x5,_0x4cae2b:0xd};function _0x468265(_0x29fe69,_0x3fb24b,_0x468b3e,_0x295d7a){return _0x2483b7(_0x468b3e,_0x3fb24b-_0x5165d3._0x507714,_0x295d7a-_0x5165d3._0x4cae2b,_0x295d7a-0x1ef);}function _0x39f157(_0x427494,_0x16436a,_0x270ca5,_0x540410){return _0x4b5583(_0x427494,_0x16436a- -0x24c,_0x270ca5-_0x33043a._0x52dc34,_0x540410-_0x33043a._0x5012d3);}return await _0x2e8a74[_0x468265(_0x5d6593._0x402200,0x342,_0x5d6593._0x2f6e5b,0x2e7)](_0x39f157(_0x5d6593._0xadbc54,0x2da,0x2ca,0x1d9),{'query':_0x47a2cb})??[];},async 'implementation'(_0x5f3a95){const _0x13cf9b={_0x41d991:0x157},_0x294f29={_0x1b2d84:0x52,_0x4676f2:0x34};function _0x20b23c(_0x3f29a5,_0x24ca0c,_0x45622d,_0x250175){return _0x4b5583(_0x24ca0c,_0x45622d- -_0x294f29._0x1b2d84,_0x45622d-_0x294f29._0x4676f2,_0x250175-0x1c9);}function _0x4af57f(_0x250948,_0x322835,_0x593c77,_0x545672){return _0x2483b7(_0x545672,_0x322835-0x178,_0x250948- -_0x13cf9b._0x41d991,_0x545672-0x15f);}return normalizeLocations(await _0x2e8a74[_0x4af57f(_0xa5415d._0x343f98,_0xa5415d._0x42f308,_0xa5415d._0x4aab3b,0x1e3)](_0x4af57f(_0xa5415d._0x58126f,0x116,0x6e,0x9a),textDocumentPosition(_0x5f3a95)));},async 'prepareCallHierarchy'(_0x41688f){return await _0x2e8a74['sendRequest']('textDocument/prepareCallHierarchy',textDocumentPosition(_0x41688f))??[];},async 'incomingCalls'(_0x5e0425){const _0x223188={_0x3f49a7:0x87,_0x592f54:0xd2};function _0x615e4(_0x1e1c5f,_0x555744,_0x509ff6,_0xc2b09e){return _0x4b5583(_0x555744,_0x1e1c5f- -0x60c,_0x509ff6-_0x47281e._0x276bc8,_0xc2b09e-0x2b);}function _0x297b2d(_0xd7be8a,_0x3a6a26,_0x2784ed,_0x3a8217){return _0x4b5583(_0x3a6a26,_0x2784ed-_0x223188._0x3f49a7,_0x2784ed-0x5d,_0x3a8217-_0x223188._0x592f54);}return await _0x2e8a74[_0x297b2d(_0x1f8904._0x1432b6,_0x1f8904._0x25c1fb,_0x1f8904._0x465101,0x613)](_0x297b2d(_0x1f8904._0x34156b,0x6f4,_0x1f8904._0x242cb4,_0x1f8904._0x165acd),{'item':_0x5e0425})??[];},async 'outgoingCalls'(_0x2fd21e){const _0x196b2b={_0xc9c135:0x316,_0x2a6366:0x157};function _0x3e88c0(_0x4c4763,_0x49ff0f,_0x496b2b,_0x2ebe5f){return _0x4b5583(_0x49ff0f,_0x2ebe5f- -_0x196b2b._0xc9c135,_0x496b2b-_0x196b2b._0x2a6366,_0x2ebe5f-0x122);}function _0x37491b(_0xbd0968,_0x266fde,_0x117103,_0x1afe25){return _0x4b5583(_0x117103,_0x266fde- -_0x4092d5._0x5d0dd0,_0x117103-_0x4092d5._0x4ce5fa,_0x1afe25-0x24);}return await _0x2e8a74[_0x3e88c0(0x37a,_0x301ec4._0x1e89e4,0x1b7,0x2b0)](_0x37491b(0x2d9,0x1af,_0x301ec4._0xbdfd8a,_0x301ec4._0x3739fb),{'item':_0x2fd21e})??[];}},'waitForDiagnostics'({path:_0x4b2063,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x42a178={_0x5b8264:0x128,_0x4ed9e2:0x1e3,_0x385b2b:0x278},_0x1e0ea4={_0x471ec0:0x179,_0x3761cf:0x12d};function _0x34db66(_0x2e1a61,_0x14b7d9,_0x12d08d,_0x2dea4e){return _0x4b5583(_0x14b7d9,_0x2dea4e- -_0x1e0ea4._0x471ec0,_0x12d08d-0x161,_0x2dea4e-_0x1e0ea4._0x3761cf);}const _0x1445c1=uriForPath(_0x4b2063);if(_0x528605['has'](_0x1445c1))return Promise[_0x34db66(0x529,_0x3d66e0._0x41df4b,_0x3d66e0._0x2e62c6,0x3d7)]();return new Promise(_0x532eb1=>{const _0xd0b41f={_0x2f96f8:0x69,_0x335f0a:0x8a},_0x18a9da={_0xbbb0c6:0xe1},_0x3230cf=setTimeout(()=>{function _0xb6c15c(_0x2a8379,_0x477eb2,_0x18d0ec,_0x1e5975){return _0x4ff3(_0x18d0ec- -_0x18a9da._0xbbb0c6,_0x1e5975);}function _0x86e801(_0x545100,_0x11097e,_0x94255c,_0x142ff8){return _0x4ff3(_0x142ff8- -0x97,_0x11097e);}const _0x512710=_0x225bdc['get'](_0x1445c1);_0x512710?.[_0x86e801(0xb3,0x1f3,_0x42a178._0x5b8264,0x155)](_0x54442f);if(_0x512710?.[_0xb6c15c(0x226,_0x42a178._0x4ed9e2,0x2fa,_0x42a178._0x385b2b)]===0x0)_0x225bdc['delete'](_0x1445c1);_0x532eb1();},timeoutMs),_0x54442f=()=>{clearTimeout(_0x3230cf),_0x532eb1();};function _0x1cc897(_0x3e593d,_0x2837d5,_0x3a5a5e,_0x3be22d){return _0x34db66(_0x3e593d-_0xd0b41f._0x2f96f8,_0x2837d5,_0x3a5a5e-_0xd0b41f._0x335f0a,_0x3be22d- -0xf2);}const _0x3c67dd=_0x225bdc['get'](_0x1445c1)??new Set();_0x3c67dd[_0x1cc897(0x27a,0x420,_0x575f5d._0x48b5d2,0x3cd)](_0x54442f),_0x225bdc['set'](_0x1445c1,_0x3c67dd);});},async 'shutdown'(){const _0x45010a={_0x394681:0xab},_0x4ef22d={_0x7edec2:0x1c8,_0x24d6c2:0xa9};function _0x8fbbd6(_0x523f2c,_0x49dd71,_0x593326,_0x3fd961){return _0x2483b7(_0x593326,_0x49dd71-0x34,_0x523f2c- -_0x4ef22d._0x7edec2,_0x3fd961-_0x4ef22d._0x24d6c2);}function _0x316a18(_0x4e8178,_0x45a284,_0x739b9e,_0x55b2ce){return _0x2483b7(_0x739b9e,_0x45a284-_0x45010a._0x394681,_0x45a284- -0x321,_0x55b2ce-0x1ab);}if(_0x44e908)return;_0x44e908=!![];try{await _0x2e8a74[_0x316a18(_0x20e8c2._0x2948e4,-_0x20e8c2._0x49e6c2,-_0x20e8c2._0x127aa6,-_0x20e8c2._0x151508)](_0x8fbbd6(0x1ed,_0x20e8c2._0x1d4058,0x12c,0x1b1),null),_0x2e8a74[_0x8fbbd6(-0xf,0x63,0xcc,-_0x20e8c2._0x3769f2)](_0x8fbbd6(_0x20e8c2._0x44e963,_0x20e8c2._0x4fed47,_0x20e8c2._0xb3bcc0,0xab));}catch{}finally{_0x2e8a74[_0x8fbbd6(0x225,_0x20e8c2._0x5864fc,0xf0,_0x20e8c2._0x36b117)](),_0x282ee7[_0x8fbbd6(-0x47,-_0x20e8c2._0x23923f,-0x49,-0x2e)][_0x8fbbd6(0x20,-_0x20e8c2._0xf852b1,_0x20e8c2._0x34072b,-_0x20e8c2._0x28ffb2)]['kill']();}}};return _0x454df7;}import{spawn as _0x55bd52}from'child_process';import{access as _0x425a8d}from'fs/promises';import _0x317338 from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x31f54c from'os';import _0x11ea2e from'path';import _0x41c082 from'which';var installPromises=new Map();function sanitizePackageName(_0x5015a2){const _0x652dd3={_0x22966f:0x4f3,_0x3fa4b9:0x39b,_0x397d02:0x4d0};function _0x2f95d7(_0x54da1f,_0x30fd80,_0x14c4d3,_0x48a296){return _0x41c53b(_0x54da1f-0x6d,_0x48a296-0xd3,_0x30fd80,_0x48a296-0x18);}return _0x5015a2['replace'](/^@/,'')[_0x2f95d7(0x4c4,_0x652dd3._0x22966f,_0x652dd3._0x3fa4b9,_0x652dd3._0x397d02)](/[/]/g,'__');}function binaryNameForPlatform(_0x11e8e8){const _0x33c14={_0x5182c0:0x532,_0x329bca:0x54d,_0xc682f0:0x151,_0x4e2c57:0x28a,_0x5014e8:0x1c1,_0x366280:0xf7},_0x27fd8f={_0x250e7d:0xaf},_0x1db2ff={_0x2cfa39:0x2e,_0x1c6085:0x97};function _0x4ed581(_0x1360e7,_0xe0aa32,_0x13491f,_0x2d78ca){return _0x42babe(_0x2d78ca-_0x1db2ff._0x2cfa39,_0xe0aa32-_0x1db2ff._0x1c6085,_0x1360e7,_0x2d78ca-0x1a);}function _0x18e2db(_0x409f85,_0x4074c8,_0x4fb91f,_0x5a2578){return _0x42babe(_0x4074c8- -0xaf,_0x4074c8-_0x27fd8f._0x250e7d,_0x5a2578,_0x5a2578-0x171);}return process[_0x4ed581(_0x33c14._0x5182c0,_0x33c14._0x329bca,0x321,0x435)]===_0x18e2db(_0x33c14._0xc682f0,0x18a,0x172,0xfe)?_0x11e8e8+_0x18e2db(_0x33c14._0x4e2c57,_0x33c14._0x5014e8,0x150,_0x33c14._0x366280):_0x11e8e8;}async function exists(_0xbb89dc){try{return await access(_0xbb89dc),!![];}catch{return![];}}function runNpmInstall(_0x534685,_0x2df19c,_0xc65ff){const _0x1d7af7={_0x472eae:0x2e3,_0x57052c:0x54f,_0x11279a:0x5c6,_0x3a92e4:0x5a3,_0x120913:0x496,_0xb496e:0x5e2,_0x5ef08a:0x405,_0x257aa3:0x3ae,_0x31e69a:0x1c2};return new Promise(_0x5d0d72=>{const _0x35224c={_0x19a093:0x8c},_0x5e3e73=spawn(_0x3681bd(0x4c1,0x408,_0x1d7af7._0x472eae,_0x1d7af7._0x57052c),[_0x3681bd(_0x1d7af7._0x11279a,_0x1d7af7._0x3a92e4,_0x1d7af7._0x120913,_0x1d7af7._0xb496e),'--prefix',_0x534685,_0x2df19c],{'env':_0xc65ff,'stdio':_0x3fb0b9(0x4fd,_0x1d7af7._0x5ef08a,0x44d,_0x1d7af7._0x257aa3)});function _0x3fb0b9(_0x842c2a,_0x546472,_0x367e22,_0x37a07a){return _0x4ff3(_0x37a07a-_0x35224c._0x19a093,_0x546472);}_0x5e3e73['on']('error',()=>_0x5d0d72(![]));function _0x3681bd(_0x4ccaf2,_0x40689e,_0x394c54,_0x20f4a3){return _0x4ff3(_0x40689e-0x225,_0x4ccaf2);}_0x5e3e73['on'](_0x3fb0b9(_0x1d7af7._0x31e69a,0x2b0,0x218,0x220),_0x589002=>_0x5d0d72(_0x589002===0x0));});}function shouldDisableLspDownload(_0xf2e2a7=process['env']){const _0xed9d04={_0x33c658:0x7fc,_0x527dde:0x757,_0x10bf86:0x78c,_0x5e4093:0x801,_0x24b11f:0x1b7,_0x15ceea:0x2f5},_0x3d1703={_0x380375:0x1ab},_0x241da0={_0x169e51:0x406,_0x2c9c13:0x29};function _0x9a184b(_0x4d2dee,_0x55e796,_0x5b3d00,_0x374bdc){return _0x42babe(_0x5b3d00-_0x241da0._0x169e51,_0x55e796-_0x241da0._0x2c9c13,_0x55e796,_0x374bdc-0x187);}function _0x140c84(_0x550fa7,_0x2b6e68,_0x50d68b,_0x17e636){return _0x41c53b(_0x550fa7-0x142,_0x550fa7- -0x24f,_0x17e636,_0x17e636-_0x3d1703._0x380375);}const _0x23b08c=_0xf2e2a7[_0x9a184b(0x8c0,_0xed9d04._0x33c658,0x7af,_0xed9d04._0x527dde)]?.[_0x140c84(0x2ff,0x402,0x40f,0x1b5)]();return _0x23b08c===_0x9a184b(0x6e1,0x6c7,_0xed9d04._0x10bf86,_0xed9d04._0x5e4093)||_0x23b08c==='1'||_0x23b08c===_0x140c84(0x284,_0xed9d04._0x24b11f,0x2cc,_0xed9d04._0x15ceea)||_0x23b08c==='on';}function getLspPackageDir(_0x478c39){const _0x3662fc={_0x12f7a8:0x18c,_0x5d632f:0x1c4,_0x1e67c4:0x25},_0x12dc5b={_0x37888e:0x189,_0x2736ee:0xe8,_0x349910:0x74},_0x317ec1={_0x549a2d:0xd6,_0x98632c:0x41a};function _0x50df67(_0xe3d6dd,_0x1675b3,_0x1a41e9,_0x3cc798){return _0x41c53b(_0xe3d6dd-_0x317ec1._0x549a2d,_0x3cc798- -_0x317ec1._0x98632c,_0xe3d6dd,_0x3cc798-0x1a2);}function _0x2386f2(_0x210f4d,_0x310276,_0x5ef6f6,_0x1f9cb5){return _0x42babe(_0x210f4d-_0x12dc5b._0x37888e,_0x310276-_0x12dc5b._0x2736ee,_0x310276,_0x1f9cb5-_0x12dc5b._0x349910);}return _0x11ea2e['join'](_0x31f54c['homedir'](),_0x50df67(-0x17,0x1,-_0x3662fc._0x12f7a8,-0x7f),_0x50df67(0x3db,0x29e,_0x3662fc._0x5d632f,0x258),_0x50df67(-0x3a,0x53,_0x3662fc._0x1e67c4,0xfb),sanitizePackageName(_0x478c39));}function getLspBinDir(_0x240096){const _0x5b7061={_0x20e5dc:0x42e,_0x1165d8:0x32e,_0x50a76c:0x79},_0x561d22={_0x328baf:0x172,_0x654c73:0x53f,_0x1282f9:0x197},_0x46fce4={_0x36cd14:0x85};function _0x15b28b(_0x18d4f1,_0x47a912,_0xc67d2f,_0x5b48c4){return _0x41c53b(_0x18d4f1-_0x46fce4._0x36cd14,_0x18d4f1- -0x13d,_0x47a912,_0x5b48c4-0x26);}function _0x5f0c41(_0x517ee8,_0x41dcca,_0x2a1ed2,_0x195b0d){return _0x41c53b(_0x517ee8-_0x561d22._0x328baf,_0x517ee8- -_0x561d22._0x654c73,_0x195b0d,_0x195b0d-_0x561d22._0x1282f9);}return _0x11ea2e[_0x15b28b(_0x5b7061._0x20e5dc,0x4db,_0x5b7061._0x1165d8,0x3ea)](getLspPackageDir(_0x240096),_0x5f0c41(-0x15d,-0xbb,-_0x5b7061._0x50a76c,-0x2ab),'.bin');}async function findPackageBinary(_0x1a5113,_0x4e2a94){const _0x3b011b={_0x361c2d:0x15f,_0x58eaf2:0x142,_0x33a481:0x97,_0x48ee29:0x9a,_0x4ab489:0x194},_0xa732b={_0x39344f:0x7d,_0x3c8887:0x60},_0x4139df={_0x23076c:0x4a,_0x4af60c:0x107};let _0x28df57=_0x11ea2e[_0x13397b(0x72,0xd9,_0x3b011b._0x361c2d,_0x3b011b._0x58eaf2)](_0x4e2a94);function _0x13397b(_0x1f1b46,_0x4d724c,_0x2342cf,_0x2e5454){return _0x41c53b(_0x1f1b46-_0x4139df._0x23076c,_0x1f1b46- -0x468,_0x2342cf,_0x2e5454-_0x4139df._0x4af60c);}const _0x2d7a9f=binaryNameForPlatform(_0x1a5113);function _0x365a6f(_0x2bc143,_0xd1512e,_0x2d1a00,_0x5e6324){return _0x41c53b(_0x2bc143-0x9e,_0x5e6324- -_0xa732b._0x39344f,_0x2bc143,_0x5e6324-_0xa732b._0x3c8887);}while(!![]){const _0x8d63eb=_0x11ea2e['join'](_0x28df57,_0x13397b(-0x86,-0x17c,_0x3b011b._0x33a481,0x8c),'.bin',_0x2d7a9f);if(await exists(_0x8d63eb))return _0x8d63eb;const _0x48a9d9=_0x11ea2e[_0x13397b(-0xf3,-_0x3b011b._0x48ee29,-0x21d,-_0x3b011b._0x4ab489)](_0x28df57);if(_0x48a9d9===_0x28df57)return void 0x0;_0x28df57=_0x48a9d9;}}async function findPathBinary(_0x3ab781,_0xbf5c0a){const _0x11b4d6={_0x2a1fde:0x106,_0x121775:0x22b,_0x181df0:0x11e,_0x594b09:0x195,_0x4bdbd:0x274,_0xed170d:0x5f,_0x113cef:0x6c,_0x30d7b4:0xfd,_0x4641c5:0xbe,_0x385855:0x96,_0x4731d6:0x146},_0x1a03d1={_0x52b8ec:0x129},_0x37e9b0={_0x19eb77:0x175},_0x78c804=getLspBinDir(_0xbf5c0a),_0x3dd329=[_0x78c804,process[_0xebecd1(0x79,0x154,_0x11b4d6._0x2a1fde,_0x11b4d6._0x121775)][_0x43001f(_0x11b4d6._0x181df0,0x1e2,0x108,_0x11b4d6._0x594b09)]][_0xebecd1(_0x11b4d6._0x4bdbd,0xfb,_0x11b4d6._0xed170d,0xb5)](Boolean)[_0x43001f(-_0x11b4d6._0x113cef,0x112,0x16,0x70)](_0x11ea2e[_0xebecd1(-_0x11b4d6._0x30d7b4,-_0x11b4d6._0x4641c5,_0x11b4d6._0x385855,-_0x11b4d6._0x4731d6)]);function _0x43001f(_0x485ce9,_0x1982e9,_0xededdc,_0x1a5cc6){return _0x42babe(_0x1982e9- -0x1e9,_0x1982e9-_0x37e9b0._0x19eb77,_0x1a5cc6,_0x1a5cc6-0x136);}function _0xebecd1(_0x556ab8,_0x10830e,_0x11b2fe,_0x37b97e){return _0x42babe(_0x10830e- -0x1d0,_0x10830e-_0x1a03d1._0x52b8ec,_0x11b2fe,_0x37b97e-0x52);}try{return await _0x41c082(_0x3ab781,{'path':_0x3dd329});}catch{return void 0x0;}}async function resolvePackageBinary(_0x333f52){const _0x41ce14={_0x3fad6a:0x22b,_0x394bf8:0x2ef,_0x1f3575:0x94,_0x419781:0x12f,_0x508ca1:0x10c,_0x311400:0x42,_0x4a0937:0x167,_0x5275f4:0x304,_0xb274d7:0x463,_0x4b9b50:0x360,_0x326f9f:0x3c0,_0x9531db:0x1e9,_0x410751:0x207,_0x5f16af:0x224,_0x47d59d:0x223,_0x56f361:0x194,_0x41dc59:0x102},_0x21216d={_0x440a9b:0x1eb},_0x99af70={_0x356398:0x654,_0x1e8990:0x5b5,_0x2a3bc7:0x44f,_0x51a45b:0x498,_0x489976:0x51c,_0x214dfc:0x43f,_0x324fe2:0x5b5,_0x1fad54:0x544,_0x1619ad:0x5e4},_0x120bc9={_0x31e4a3:0x241},_0x3ffc3b={_0x13ffaa:0x1d7},_0x4c377c=_0x333f52[_0x1d5aae(0x238,_0x41ce14._0x3fad6a,0x157,0x134)]??_0x333f52[_0x3b1fdd(0xa8,0x1a9,_0x41ce14._0x394bf8,0x19f)],_0x30d04b=await findPackageBinary(_0x4c377c,_0x333f52[_0x3b1fdd(0x23,_0x41ce14._0x1f3575,_0x41ce14._0x419781,_0x41ce14._0x508ca1)]);if(_0x30d04b)return _0x30d04b;const _0x3fc93c=await findPathBinary(_0x4c377c,_0x333f52[_0x3b1fdd(_0x41ce14._0x311400,0x1a9,0xe0,_0x41ce14._0x4a0937)]);function _0x1d5aae(_0x2bd304,_0x42a2c9,_0x52c970,_0x516c15){return _0x42babe(_0x2bd304- -0x20,_0x42a2c9-_0x3ffc3b._0x13ffaa,_0x516c15,_0x516c15-0xc7);}if(_0x3fc93c)return _0x3fc93c;const _0x40a58c=_0x333f52[_0x1d5aae(_0x41ce14._0x5275f4,_0x41ce14._0xb274d7,_0x41ce14._0x4b9b50,0x1da)]??process[_0x1d5aae(0x304,0x3a6,_0x41ce14._0x326f9f,_0x41ce14._0x9531db)];if(shouldDisableLspDownload(_0x40a58c))return void 0x0;const _0x26335a=getLspPackageDir(_0x333f52[_0x1d5aae(0x374,_0x41ce14._0x410751,_0x41ce14._0x5f16af,_0x41ce14._0x47d59d)]),_0x37eff8=_0x333f52[_0x3b1fdd(0x123,0x1a9,0xb7,_0x41ce14._0x56f361)]+':'+_0x4c377c;let _0x471eee=installPromises[_0x3b1fdd(_0x41ce14._0x41dc59,0xc1,-0x2a,0x110)](_0x37eff8);!_0x471eee&&(_0x471eee=((async()=>{const _0x329e42={_0x1df2df:0xb4,_0x1ec7b5:0x43};await mkdir(_0x26335a,{'recursive':!![]});function _0x58c705(_0x500014,_0x5a94a1,_0x5d96db,_0x5a56e6){return _0x3b1fdd(_0x500014-_0x329e42._0x1df2df,_0x500014-0x5f7,_0x5d96db-_0x329e42._0x1ec7b5,_0x5d96db);}const _0x2a802e=await runNpmInstall(_0x26335a,_0x333f52[_0x5a6963(_0x99af70._0x356398,_0x99af70._0x1e8990,_0x99af70._0x2a3bc7,0x6a8)],_0x40a58c);if(!_0x2a802e)return void 0x0;function _0x5a6963(_0x14a684,_0x10e463,_0x37c04a,_0x259b84){return _0x1d5aae(_0x10e463-_0x120bc9._0x31e4a3,_0x10e463-0x88,_0x37c04a-0x158,_0x14a684);}const _0xc0f5cc=_0x11ea2e[_0x5a6963(_0x99af70._0x51a45b,_0x99af70._0x489976,0x4cc,0x585)](getLspBinDir(_0x333f52[_0x5a6963(_0x99af70._0x214dfc,_0x99af70._0x324fe2,_0x99af70._0x1fad54,_0x99af70._0x1619ad)]),binaryNameForPlatform(_0x4c377c));return await exists(_0xc0f5cc)?_0xc0f5cc:void 0x0;})()),installPromises['set'](_0x37eff8,_0x471eee));function _0x3b1fdd(_0x2a3c55,_0x3f8d36,_0x14a608,_0x1c322f){return _0x42babe(_0x3f8d36- -_0x21216d._0x440a9b,_0x3f8d36-0xb1,_0x1c322f,_0x1c322f-0x195);}try{return await _0x471eee;}catch{return void 0x0;}finally{installPromises['delete'](_0x37eff8);}}var TYPESCRIPT_EXTENSIONS=['.ts',_0x42babe(0x3c3,0x51b,0x24d,0x36f),_0x41c53b(0x5c8,0x44b,0x31b,0x3ba),_0x41c53b(0x2ee,0x43f,0x2c8,0x493),_0x42babe(0x28a,0x1b3,0x1e6,0x3d8),_0x41c53b(0x5a0,0x541,0x452,0x656),_0x42babe(0x265,0x10d,0x34a,0x3cc),_0x42babe(0x113,0x1b3,0x28d,0x128)],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x42babe(0x100,0x7b,0x164,0xaa),_0x42babe(0x2b0,0x245,0x393,0x177)],TYPESCRIPT_ROOT_MARKERS=[_0x42babe(0x2d9,0x159,0x271,0x432),_0x41c53b(0x330,0x3b5,0x26d,0x4e7),_0x41c53b(0x749,0x679,0x70d,0x7bf),_0x42babe(0x3dd,0x4dc,0x47c,0x398),_0x42babe(0x366,0x228,0x327,0x226),_0x41c53b(0x2fb,0x469,0x3de,0x58a),_0x41c53b(0x4d5,0x4e3,0x4be,0x3e2),_0x41c53b(0x6ca,0x57b,0x4f9,0x6cb)],BIOME_ROOT_MARKERS=[_0x42babe(0x350,0x4a0,0x38c,0x2d8),'biome.jsonc',_0x42babe(0x2d9,0x379,0x3df,0x31f),'bun.lockb','bun.lock',_0x42babe(0x3dd,0x2e4,0x2ca,0x507),_0x41c53b(0x5e4,0x5d6,0x758,0x4ce),_0x42babe(0x30b,0x1d0,0x342,0x392)];async function exists2(_0x237943){try{return await _0x425a8d(_0x237943),!![];}catch{return![];}}async function findUp(_0x2855eb,_0x583b91){const _0x965008={_0x34d113:0x2d0,_0x1be0f3:0x373,_0x5ec4d8:0x60,_0x13680a:0x220},_0x5d31ed={_0x1a21ec:0x42,_0x2a28ae:0xd2,_0x4a3e90:0x3},_0x52dde3={_0xae2f4d:0x4c};let _0x1a92dd=_0x317338['resolve'](_0x2855eb);function _0x51357f(_0x3e8c10,_0x5e2186,_0x18c778,_0x5b438b){return _0x42babe(_0x5e2186- -0x35b,_0x5e2186-_0x52dde3._0xae2f4d,_0x5b438b,_0x5b438b-0x106);}const _0x287958=_0x317338[_0x5e70f7(_0x965008._0x34d113,0x322,0x2f7,_0x965008._0x1be0f3)](_0x1a92dd);function _0x5e70f7(_0x2fedf0,_0x45c9f5,_0x55453d,_0x21002f){return _0x42babe(_0x2fedf0-_0x5d31ed._0x1a21ec,_0x45c9f5-_0x5d31ed._0x2a28ae,_0x55453d,_0x21002f-_0x5d31ed._0x4a3e90);}if(_0x287958)_0x1a92dd=_0x317338['dirname'](_0x1a92dd);while(!![]){for(const _0x3e53cc of _0x583b91){if(await exists2(_0x317338[_0x51357f(-0x126,-_0x965008._0x5ec4d8,0x114,0x90)](_0x1a92dd,_0x3e53cc)))return _0x1a92dd;}const _0x3d373b=_0x317338[_0x51357f(-_0x965008._0x13680a,-0x256,-0x37e,-0x213)](_0x1a92dd);if(_0x3d373b===_0x1a92dd)return void 0x0;_0x1a92dd=_0x3d373b;}}async function hasDenoRoot(_0x18fa65){const _0x31adba={_0x24999d:0x4c9,_0x8615fa:0x5a5},_0x2b9f76={_0x56adb0:0xd3,_0x58687d:0x1da},_0x1bdcb0={_0x2795a3:0x320,_0x1087da:0xa7};function _0x3eebfc(_0x3c1e29,_0x561a51,_0x338216,_0x4bdbd6){return _0x42babe(_0x3c1e29-_0x1bdcb0._0x2795a3,_0x561a51-0x153,_0x4bdbd6,_0x4bdbd6-_0x1bdcb0._0x1087da);}function _0x4befb7(_0x212585,_0x1ac23b,_0x2a21bf,_0x2313a5){return _0x41c53b(_0x212585-0x170,_0x2313a5-_0x2b9f76._0x56adb0,_0x1ac23b,_0x2313a5-_0x2b9f76._0x58687d);}return await exists2(_0x317338[_0x3eebfc(0x61b,0x611,0x691,_0x31adba._0x24999d)](_0x18fa65,'deno.json'))||await exists2(_0x317338[_0x4befb7(0x4c0,0x77d,_0x31adba._0x8615fa,0x63e)](_0x18fa65,'deno.jsonc'));}async function resolveTsserverPath(_0x56c5a2){const _0x106cc3={_0x114d86:0x501,_0x209978:0x43c,_0x58723e:0x364,_0x119bbb:0x46a,_0x14e54b:0x4cd,_0x19b554:0x204,_0x4a7760:0x60e,_0x2b5638:0x5b4,_0x4fa1a1:0x6b8,_0x2c8719:0x5c5,_0x38bd49:0x562,_0xc74c52:0x4be,_0x6b80f1:0x445,_0xb9655e:0x361,_0x35d1bd:0x4d3,_0x2f7be1:0x469,_0x38bf39:0x3fa},_0x21eb3d={_0xed25:0x1d2},_0x2e609d={_0x57b942:0x25c,_0x2b1eb7:0x11a};let _0x550e20=_0x317338[_0x47538b(0x4e6,_0x106cc3._0x114d86,0x4fc,_0x106cc3._0x209978)](_0x56c5a2);function _0xbee290(_0x1913b1,_0xaab9fc,_0xb2d55d,_0x3131b4){return _0x42babe(_0x3131b4-_0x2e609d._0x57b942,_0xaab9fc-0x19f,_0xb2d55d,_0x3131b4-_0x2e609d._0x2b1eb7);}while(!![]){const _0x220ce5=_0x317338[_0x47538b(0x355,_0x106cc3._0x58723e,_0x106cc3._0x119bbb,_0x106cc3._0x14e54b)](_0x550e20,'node_modules','typescript','lib','tsserver.js');if(await exists2(_0x220ce5))return _0x220ce5;const _0x11e373=_0x317338[_0x47538b(_0x106cc3._0x19b554,0x2ef,0x15e,0x2d7)](_0x550e20);if(_0x11e373===_0x550e20)break;_0x550e20=_0x11e373;}const _0x6c70e6=getLspPackageDir('typescript'),_0x218c49=await resolvePackageBinary({'packageName':_0xbee290(_0x106cc3._0x4a7760,_0x106cc3._0x2b5638,_0x106cc3._0x4fa1a1,_0x106cc3._0x2c8719),'binaryName':_0xbee290(_0x106cc3._0x38bd49,0x5a9,0x563,_0x106cc3._0xc74c52),'startDir':_0x56c5a2});if(!_0x218c49)return void 0x0;function _0x47538b(_0x129061,_0x276584,_0x4e3767,_0x15ed4f){return _0x42babe(_0x15ed4f-_0x21eb3d._0xed25,_0x276584-0xbc,_0x4e3767,_0x15ed4f-0x1c5);}const _0x4d48b3=_0x317338[_0x47538b(_0x106cc3._0x6b80f1,0x348,_0x106cc3._0xb9655e,0x4cd)](_0x6c70e6,_0xbee290(_0x106cc3._0x35d1bd,0x403,_0x106cc3._0x2f7be1,0x3ce),_0xbee290(0x4a2,0x56b,0x6d6,_0x106cc3._0x2c8719),_0x47538b(_0x106cc3._0x38bf39,0x4a0,0x2a8,0x3a2),'tsserver.js');return await exists2(_0x4d48b3)?_0x4d48b3:void 0x0;}var TypeScriptServer={'id':_0x41c53b(0x57d,0x5d9,0x6db,0x615),'name':_0x41c53b(0x47b,0x471,0x4e6,0x58e),'extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x32b36a){const _0x301312=await findUp(_0x32b36a,TYPESCRIPT_ROOT_MARKERS);if(!_0x301312)return void 0x0;return await hasDenoRoot(_0x301312)?void 0x0:_0x301312;},async 'spawn'(_0x40a598){const _0x1cefe9={_0x45a84b:0x3da,_0x4c8fa1:0x44f,_0x1c5fa8:0x387,_0x4f4599:0x19c},_0x201c33={_0xac50a5:0x59},_0x5683f5={_0x18b8d9:0xa,_0x4083bc:0xdc},_0x1cbd7b=await resolveTsserverPath(_0x40a598);if(!_0x1cbd7b)return void 0x0;const _0x557ec8=await resolvePackageBinary({'packageName':_0x258451(_0x1cefe9._0x45a84b,0x42c,0x4cb,0x3a8),'binaryName':_0x258451(0x499,_0x1cefe9._0x4c8fa1,_0x1cefe9._0x1c5fa8,0x3a8),'startDir':_0x40a598});function _0x4969b9(_0x3f907f,_0x3147fa,_0x156da7,_0x3024f0){return _0x42babe(_0x3024f0- -0x185,_0x3147fa-_0x5683f5._0x18b8d9,_0x156da7,_0x3024f0-_0x5683f5._0x4083bc);}function _0x258451(_0x47cc54,_0xdefec3,_0x197edb,_0x4650ee){return _0x42babe(_0x4650ee- -_0x201c33._0xac50a5,_0xdefec3-0x150,_0xdefec3,_0x4650ee-0x38);}if(!_0x557ec8)return void 0x0;return{'process':_0x55bd52(_0x557ec8,[_0x258451(0x7d,0x28,0x24d,_0x1cefe9._0x4f4599)],{'cwd':_0x40a598,'stdio':'pipe'}),'initialization':{'tsserver':{'path':_0x1cbd7b}}};}},BiomeServer={'id':_0x42babe(0x1ff,0x37b,0xeb,0x234),'name':_0x41c53b(0x397,0x422,0x2b3,0x3e2),'extensions':BIOME_EXTENSIONS,async 'root'(_0x1ac9b6){return findUp(_0x1ac9b6,BIOME_ROOT_MARKERS);},async 'spawn'(_0x4c7dcf){const _0x43f52c={_0x1350ce:0x25b,_0x5bdcc3:0x24e,_0x15b154:0x182,_0x2a3e6b:0x121,_0x2de527:0x249,_0x9c9f5e:0x39f,_0x77923f:0x125,_0x4a16c5:0x1a1,_0x4d7c77:0x1f6,_0x359d6d:0x57},_0x4f62cc={_0x2afc55:0x152,_0x1dffad:0x153},_0x32e55e={_0x18abac:0x2ad},_0x52b152=await findPackageBinary(_0x1e7a1a(0x1c2,0x10d,0x4f,0x1f6),_0x4c7dcf)??await resolvePackageBinary({'packageName':_0x2e5c82(_0x43f52c._0x1350ce,_0x43f52c._0x5bdcc3,_0x43f52c._0x15b154,_0x43f52c._0x2a3e6b),'binaryName':'biome','startDir':_0x4c7dcf});if(!_0x52b152)return void 0x0;function _0x1e7a1a(_0x34cc45,_0x30c000,_0x40122b,_0x1e7ab3){return _0x41c53b(_0x34cc45-0x15,_0x34cc45- -_0x32e55e._0x18abac,_0x1e7ab3,_0x1e7ab3-0xc6);}function _0x2e5c82(_0x1097ca,_0x17323a,_0x4d5f72,_0x4cde53){return _0x41c53b(_0x1097ca-_0x4f62cc._0x2afc55,_0x4d5f72- -0x2eb,_0x1097ca,_0x4cde53-_0x4f62cc._0x1dffad);}return{'process':_0x55bd52(_0x52b152,[_0x1e7a1a(0x253,_0x43f52c._0x2de527,_0x43f52c._0x9c9f5e,_0x43f52c._0x77923f),_0x1e7a1a(0x1b8,_0x43f52c._0x4a16c5,_0x43f52c._0x4d7c77,_0x43f52c._0x359d6d)],{'cwd':_0x4c7dcf,'stdio':'pipe'})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x2e654c){const _0x4ad936={_0x33dc22:0x1f0,_0x5e85ae:0x76,_0x32ddfd:0x2a0,_0x49d414:0x69},_0x5c26b1={_0x113ec4:0x77},_0xa623a9={_0x29c3c0:0x181,_0x253d2e:0x540,_0x5ac13e:0x55},_0x148836=_0x317338['extname'](_0x2e654c)[_0x1053d2(0x11e,0x12d,_0x4ad936._0x33dc22,_0x4ad936._0x5e85ae)]();function _0x4efb53(_0x30209f,_0x4c0895,_0x527a9c,_0x11e8a3){return _0x41c53b(_0x30209f-_0xa623a9._0x29c3c0,_0x11e8a3- -_0xa623a9._0x253d2e,_0x527a9c,_0x11e8a3-_0xa623a9._0x5ac13e);}function _0x1053d2(_0x5c7ad2,_0x7ec59c,_0x339396,_0x11b350){return _0x41c53b(_0x5c7ad2-0x150,_0x7ec59c- -0x421,_0x5c7ad2,_0x11b350-_0x5c26b1._0x113ec4);}return BUILTIN_LSP_SERVERS[_0x1053d2(0x23,0x11a,_0x4ad936._0x32ddfd,_0x4ad936._0x49d414)](_0x547c2a=>_0x547c2a['extensions'][_0x1053d2(-0xf5,-0x50,-0xb1,-0x18f)](_0x148836));}function stateKey(_0x1fb71c,_0x1e1386){return _0x1e1386+':'+_0x1fb71c['id'];}function diagnosticsKeyToPath(_0x5c9efe){const _0x22ff96={_0x38c64b:0x427,_0x37d21a:0x567,_0x56fdfa:0x5d5,_0x3d9e97:0x54e,_0x49774d:0x3fa},_0x5ba780={_0x2dbf9c:0xf},_0x5a610b={_0x23f7c0:0xde,_0x33dd50:0x114};function _0x5b4433(_0xdb3fcd,_0x4766e7,_0x22e9fc,_0x3b5a78){return _0x42babe(_0x22e9fc- -0x113,_0x4766e7-_0x5a610b._0x23f7c0,_0xdb3fcd,_0x3b5a78-_0x5a610b._0x33dd50);}function _0x725c(_0x275df3,_0x21fbcf,_0x5eff29,_0x21b2c0){return _0x41c53b(_0x275df3-0x144,_0x5eff29-0xeb,_0x21fbcf,_0x21b2c0-_0x5ba780._0x2dbf9c);}if(!_0x5c9efe[_0x725c(0x567,_0x22ff96._0x38c64b,_0x22ff96._0x37d21a,_0x22ff96._0x56fdfa)](_0x725c(_0x22ff96._0x3d9e97,_0x22ff96._0x49774d,0x4d7,0x599)))return _0x5c9efe;return fileURLToPath(_0x5c9efe);}function nextFileVersion(_0x16a123,_0x405199){const _0x242e8c={_0x265ddb:0x9a,_0xfb9db3:0xb8,_0x1f8d37:0x9f,_0x5009cf:0x240,_0x563823:0x1d7,_0x5901e8:0x379,_0x388fae:0x53b,_0x42bab9:0x4b4},_0x2aa1ff={_0x70eb2f:0xd5,_0x1c1122:0x1da},_0x30fbcc={_0x5b9516:0x8d,_0x13c7a4:0xd0};function _0x2e38eb(_0x255acd,_0xb8b38a,_0x2efcb9,_0x451dc1){return _0x41c53b(_0x255acd-_0x30fbcc._0x5b9516,_0x451dc1-_0x30fbcc._0x13c7a4,_0xb8b38a,_0x451dc1-0xc6);}const _0xe73fea=(_0x16a123[_0x23b9ca(-_0x242e8c._0x265ddb,_0x242e8c._0xfb9db3,0x134,_0x242e8c._0x1f8d37)][_0x23b9ca(0x52,0x355,_0x242e8c._0x5009cf,_0x242e8c._0x563823)](_0x405199)??0x1)+0x1;_0x16a123[_0x2e38eb(_0x242e8c._0x5901e8,0x443,_0x242e8c._0x388fae,_0x242e8c._0x42bab9)]['set'](_0x405199,_0xe73fea);function _0x23b9ca(_0x38bca5,_0x563af5,_0x526f03,_0xd87475){return _0x42babe(_0xd87475- -_0x2aa1ff._0x70eb2f,_0x563af5-_0x2aa1ff._0x1c1122,_0x526f03,_0xd87475-0x178);}return _0xe73fea;}async function collectClientResults(_0x3dbd91){const _0x830039={_0x5cebf0:0x60},_0x2d1059={_0x1d78ec:0xf0},_0x4a0dea={_0xdfa21b:0x1d};function _0x4ba39d(_0x2ca708,_0x5a12e3,_0x3e3055,_0x13f590){return _0x42babe(_0x3e3055- -0x32a,_0x5a12e3-0x172,_0x5a12e3,_0x13f590-_0x4a0dea._0xdfa21b);}function _0x48bd51(_0x3c03c5,_0x223ea9,_0x31a24c,_0x41cd15){return _0x42babe(_0x41cd15- -0xce,_0x223ea9-_0x2d1059._0x1d78ec,_0x3c03c5,_0x41cd15-0xe0);}const _0x51162f=await Promise[_0x4ba39d(-0x84,-0x12a,-0x1e2,-_0x830039._0x5cebf0)](_0x3dbd91);return _0x51162f['flatMap'](_0x24ca8c=>_0x24ca8c[_0x48bd51(0x404,0x287,0x191,0x2f0)]==='fulfilled'?_0x24ca8c[_0x4ba39d(-0x183,-0x2a0,-0x205,-0x1a9)]:[]);}function createLspService(_0x3eadbf={}){const _0x1a5d00={_0x46158f:0xc6,_0x1f3a03:0x345,_0x325d3c:0x159,_0x55f99b:0x161,_0xba9d7:0x1ba},_0x5c9bd2={_0x401298:0x496,_0xe48660:0x114,_0x5449ec:0x272,_0x133d94:0x35a,_0x14f0a2:0x423,_0xfb74bb:0x116,_0x3456d0:0x1db,_0x2b5d02:0xb6,_0x35ea86:0x12e,_0x173ec7:0x165,_0x5d35da:0x319,_0x397c3f:0x222,_0x4c3d02:0x96,_0x41e6c8:0x255},_0x5503a6={_0x22752d:0x1cc},_0x1ff712={_0x195cc2:0x1bc,_0x3e7b14:0x38},_0x1fc69a={_0x426974:0x353},_0x2dcd46={_0x593a67:0xfb,_0xfbe099:0x25,_0x459e5c:0xc4},_0x6541e9={_0x4045ff:0xc9,_0x3dd702:0x278},_0x458173={_0x29cd66:0x1ef},_0x2fa6b2={_0x33c94c:0xbf},_0x35030f={_0x4a353f:0x3b5,_0x4fd477:0x489},_0x523079={_0x4a38c2:0x1b3,_0x4c3a19:0x13b},_0x366b30={_0x56b0f9:0x56a,_0x1b5960:0x3c0,_0x47bbb7:0x4a2,_0x35a2dd:0x58e},_0x3d63f4={_0x32e9df:0x2a,_0x5989af:0x378},_0xaf8d0b={_0x291349:0x2dc,_0x3f8a36:0x4ab,_0x24b4a1:0x318},_0x147b57={_0x48df81:0x16f,_0x19df73:0x129,_0x169b73:0x20},_0x37a53e={_0x2d501c:0x3b0,_0x490679:0x3e5,_0x1d44f0:0x33d,_0x38bb03:0x511,_0x5b6a39:0x6bd},_0x352cbe={_0x209ccb:0xac,_0x52aafa:0x1b,_0xeafd55:0x1ab,_0x5da1bc:0x18d,_0x37db84:0x6b4},_0x451f4a={_0x53917c:0x2b,_0x445e81:0x63,_0x2e532f:0x218},_0x1b785a={_0x344071:0x5,_0x5c90ca:0x1e6},_0x2fe374={_0x3b9f56:0x113,_0x493011:0x2ae},_0x1683d8={_0xa5adfe:0x8f,_0x2b48b0:0x33,_0x384cec:0x2b6,_0x5447dd:0x2d9,_0x54d2dc:0xd7,_0x25b7d8:0x1b9},_0x5e6036={_0xb54cd7:0x6c1,_0x926169:0x5be,_0x4efe0e:0x3f8,_0x22346c:0x232,_0x18c714:0x1b2,_0x2f78e6:0x32d,_0x476c97:0x29e,_0x41b80c:0x304,_0x73631c:0x649,_0x3c8eae:0x5fb},_0x3ef5b9={_0x433097:0x1e2,_0xffee3e:0x42f},_0x1358fa={_0x228a96:0x6d,_0x5a596c:0x195},_0xe4b64f={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x3c6367=()=>_0x3eadbf[_0x38a2d6(0x3c7,0x476,0x32c,0x319)]!==![];async function _0x537213(_0x529ef2,_0x160ab1){const _0x2b8825={_0x26293d:0x16c,_0x20084e:0x299,_0x4244e8:0x1ea,_0x4c470b:0x269,_0x2c2b13:0x21e,_0x42a3c1:0x2b1,_0x4d08aa:0x41f,_0x2d40ef:0x46e,_0x3af61a:0x395,_0x452403:0x3a,_0x110443:0x1fb,_0x54a2dd:0x34c,_0x5b6c77:0xe1,_0x3c30d8:0x227,_0x2e44f0:0x4f,_0x39141b:0x18d,_0x4e5b67:0x1be,_0x49e80a:0xca,_0x3affc4:0x19c,_0x3d4188:0x190},_0x363eb0={_0x464116:0x158,_0x3a53c3:0x460},_0x104c1e={_0x3d939b:0x47a},_0x1c583a=stateKey(_0x529ef2,_0x160ab1),_0x4e167a=_0xe4b64f[_0x2b5c3e(0x426,0x52c,0x438,0x55b)][_0x44c4dc(_0x5e6036._0xb54cd7,0x4c8,_0x5e6036._0x926169,0x4c0)](_0x5edadd=>_0x5edadd[_0x44c4dc(0x498,0x616,0x547,0x57c)]===_0x529ef2['id']&&_0x5edadd[_0x2b5c3e(0x5a3,0x431,0x2eb,0x433)]===_0x160ab1);if(_0x4e167a)return _0x4e167a;if(_0xe4b64f['broken'][_0x2b5c3e(0x48d,0x474,0x2a8,_0x5e6036._0x4efe0e)](_0x1c583a))return void 0x0;const _0x2902cc=_0xe4b64f[_0x2b5c3e(_0x5e6036._0x22346c,_0x5e6036._0x18c714,0x2a9,_0x5e6036._0x2f78e6)][_0x44c4dc(0x710,0x5f1,0x69d,0x749)](_0x1c583a);if(_0x2902cc)return _0x2902cc;function _0x2b5c3e(_0x30e6a0,_0x48765b,_0x43d9ea,_0x4a8648){return _0x38a2d6(_0x30e6a0-0x59,_0x48765b-_0x1358fa._0x228a96,_0x48765b,_0x4a8648-_0x1358fa._0x5a596c);}const _0x46bc82=((async()=>{function _0x3691aa(_0x5dcc61,_0x50f431,_0xf5e41a,_0x17371e){return _0x2b5c3e(_0x5dcc61-0x10,_0xf5e41a,_0xf5e41a-0x131,_0x5dcc61- -_0x104c1e._0x3d939b);}function _0x2c7b24(_0x3445ad,_0x395a69,_0x14f606,_0x286d02){return _0x44c4dc(_0x3445ad-_0x363eb0._0x464116,_0x395a69-0xb1,_0x286d02- -_0x363eb0._0x3a53c3,_0x395a69);}try{const _0x44abe6=await _0x529ef2[_0x2c7b24(0x1f2,_0x2b8825._0x26293d,0x411,_0x2b8825._0x20084e)](_0x160ab1);if(!_0x44abe6)return _0xe4b64f[_0x3691aa(-_0x2b8825._0x4244e8,-_0x2b8825._0x4c470b,-_0x2b8825._0x2c2b13,-0x18d)][_0x2c7b24(_0x2b8825._0x42a3c1,_0x2b8825._0x4d08aa,0x39d,0x2e3)](_0x1c583a),void 0x0;const _0x552ff9=await createLspClient({'server':_0x529ef2,'root':_0x160ab1,'handle':_0x44abe6}),_0x4a78f7=_0xe4b64f[_0x2c7b24(0x22d,0x22f,_0x2b8825._0x2d40ef,_0x2b8825._0x3af61a)][_0x3691aa(-0x156,-_0x2b8825._0x452403,-0x284,-0xdc)](_0x3e49c8=>_0x3e49c8[_0x2c7b24(0x16f,-0x96,0x233,0xe7)]===_0x529ef2['id']&&_0x3e49c8[_0x3691aa(-0x47,-0xab,0x9e,-0xf1)]===_0x160ab1);if(_0x4a78f7)return await _0x552ff9[_0x2c7b24(_0x2b8825._0x110443,0x3c8,0x3bc,_0x2b8825._0x54a2dd)](),_0x4a78f7;return _0xe4b64f[_0x3691aa(_0x2b8825._0x5b6c77,_0x2b8825._0x3c30d8,-0x57,-0x5d)][_0x2c7b24(0x36,-_0x2b8825._0x2e44f0,-0xd,0xe2)](_0x552ff9),_0x552ff9;}catch{return _0xe4b64f[_0x2c7b24(0x193,_0x2b8825._0x39141b,_0x2b8825._0x4e5b67,_0x2b8825._0x49e80a)]['add'](_0x1c583a),void 0x0;}finally{_0xe4b64f[_0x2c7b24(_0x2b8825._0x3affc4,_0x2b8825._0x3d4188,0x15f,0x167)]['delete'](_0x1c583a);}})());function _0x44c4dc(_0x4d2fbd,_0x2fa68c,_0x4e68f5,_0x1e6705){return _0x38a2d6(_0x4d2fbd-_0x3ef5b9._0x433097,_0x2fa68c-0x15a,_0x1e6705,_0x4e68f5-_0x3ef5b9._0xffee3e);}return _0xe4b64f[_0x2b5c3e(0x2fc,_0x5e6036._0x476c97,_0x5e6036._0x41b80c,0x32d)][_0x2b5c3e(_0x5e6036._0x73631c,_0x5e6036._0x3c8eae,0x505,0x54b)](_0x1c583a,_0x46bc82),_0x46bc82;}async function _0x6bb13f(_0x375651,_0x57479d){const _0x1c925f={_0x429145:0x1f2};if(!_0x3c6367())return[];const _0x192907=[];function _0x5148b3(_0x1dd578,_0x13beaa,_0x2f0321,_0x35b9d5){return _0x38a2d6(_0x1dd578-0x184,_0x13beaa-0x17b,_0x1dd578,_0x35b9d5-0xa6);}function _0x314a7f(_0x205356,_0x5ed6cd,_0xd68446,_0x3cb0b0){return _0x38a2d6(_0x205356-0xb7,_0x5ed6cd-0x173,_0x205356,_0xd68446- -_0x1c925f._0x429145);}for(const _0x49156d of getServersForFile(_0x375651)){const _0x321389=await _0x49156d[_0x314a7f(_0x1683d8._0xa5adfe,0xa0,0xac,-0xb6)](_0x375651);if(!_0x321389)continue;const _0x5a5efb=stateKey(_0x49156d,_0x321389);if(_0xe4b64f['broken'][_0x5148b3(0x29a,0x1dc,0x3c5,0x309)](_0x5a5efb))continue;const _0x10dfd4=_0xe4b64f['clients'][_0x314a7f(_0x1683d8._0x2b48b0,-0x193,-0x63,-0xa9)](_0x4bed5e=>_0x4bed5e[_0x5148b3(0x1e1,0x1fc,0x2b7,0x1be)]===_0x49156d['id']&&_0x4bed5e[_0x314a7f(-0x3f,0x118,0xac,0xd5)]===_0x321389);if(_0x10dfd4){_0x192907[_0x5148b3(_0x1683d8._0x384cec,_0x1683d8._0x5447dd,0x223,0x1b9)](_0x10dfd4);continue;}if(!_0x57479d)continue;const _0x486ead=await _0x537213(_0x49156d,_0x321389);if(_0x486ead)_0x192907[_0x5148b3(_0x1683d8._0x54d2dc,0x190,0x22b,_0x1683d8._0x25b7d8)](_0x486ead);}return _0x192907;}function _0x38a2d6(_0x4a8ab0,_0x2acda7,_0x19fa75,_0x3c857d){return _0x41c53b(_0x4a8ab0-_0x2fe374._0x3b9f56,_0x3c857d- -_0x2fe374._0x493011,_0x19fa75,_0x3c857d-0x46);}async function _0x5cce8c(_0x334415,_0x517a1a=![]){const _0x4be58b={_0x1ce745:0x51c,_0x5e0150:0x44c,_0x3f372b:0x3dd,_0x451ffa:0x383,_0x512541:0x4e6,_0x18e2d5:0x27e,_0x2e5857:0x3b4,_0x1ca031:0x30b,_0x1f4213:0x4ae,_0x50c64e:0x5ed,_0x2baa69:0x3f1,_0x44cc1c:0x362,_0x22ce00:0x3cc,_0x5d6abd:0x4ce,_0x2235a3:0x32c,_0x36668d:0x28b,_0x494121:0x26d,_0x2d02be:0x729},_0x5dba02={_0x20924d:0x138,_0xb30f4d:0x93},_0x4324a6={_0x145dad:0x482,_0x58e14b:0x9c,_0x6aae9e:0x31};function _0xa31018(_0x23c4c2,_0x3af68e,_0xb54854,_0xa726a8){return _0x38a2d6(_0x23c4c2-_0x1b785a._0x344071,_0x3af68e-0x120,_0xb54854,_0x23c4c2- -_0x1b785a._0x5c90ca);}function _0x2ad8a8(_0x1e4517,_0x179b77,_0x4cff2b,_0x1c2953){return _0x38a2d6(_0x1e4517-_0x451f4a._0x53917c,_0x179b77-_0x451f4a._0x445e81,_0x4cff2b,_0x179b77-_0x451f4a._0x2e532f);}const _0x4d657b=await _0x6bb13f(_0x334415,!![]);await Promise[_0xa31018(_0x352cbe._0x209ccb,-_0x352cbe._0x52aafa,_0x352cbe._0xeafd55,_0x352cbe._0x5da1bc)](_0x4d657b[_0x2ad8a8(0x6e4,0x578,_0x352cbe._0x37db84,0x479)](async _0x564fac=>{!_0xe4b64f[_0x477004(_0x4be58b._0x1ce745,0x5e4,_0x4be58b._0x5e0150,0x441)][_0x477004(0x4ad,_0x4be58b._0x3f372b,0x41d,_0x4be58b._0x451ffa)](_0x564fac[_0xba541e(_0x4be58b._0x512541,0x319,_0x4be58b._0x18e2d5,_0x4be58b._0x2e5857)]+':'+_0x564fac['root']+':'+_0x334415)&&(await _0x564fac[_0xba541e(_0x4be58b._0x1ca031,0x247,_0x4be58b._0x1f4213,0x359)][_0x477004(0x4de,_0x4be58b._0x50c64e,0x4d3,0x5e2)]({'path':_0x334415}),_0xe4b64f['openFiles'][_0x477004(0x55e,0x598,_0x4be58b._0x2baa69,0x4e1)](_0x564fac[_0x477004(_0x4be58b._0x44cc1c,0x371,_0x4be58b._0x22ce00,0x2c6)]+':'+_0x564fac[_0xba541e(0x641,0x628,_0x4be58b._0x5d6abd,0x53a)]+':'+_0x334415));function _0xba541e(_0x2f1c3a,_0x3187aa,_0x2aa716,_0x43b463){return _0xa31018(_0x43b463-_0x4324a6._0x145dad,_0x3187aa-_0x4324a6._0x58e14b,_0x2aa716,_0x43b463-_0x4324a6._0x6aae9e);}await _0x564fac[_0x477004(0x307,_0x4be58b._0x2235a3,_0x4be58b._0x36668d,0x474)][_0x477004(0x395,0x465,_0x4be58b._0x494121,0x300)]({'path':_0x334415,'version':nextFileVersion(_0xe4b64f,_0x334415)});function _0x477004(_0x465aa6,_0x2ebb87,_0x50bfad,_0x209694){return _0x2ad8a8(_0x465aa6-_0x5dba02._0x20924d,_0x465aa6-0x32,_0x2ebb87,_0x209694-_0x5dba02._0xb30f4d);}if(_0x517a1a)await _0x564fac[_0x477004(0x5f3,0x710,_0x4be58b._0x2d02be,0x47e)]({'path':_0x334415});}));}async function _0x344a53(_0x485493){const _0x3c7330={_0x1e253a:0x1cf,_0xfac1ba:0x2ec},_0x2d09a8={_0x5ebc1d:0xec,_0x2ef2b0:0x28};function _0x22b4b6(_0x433ac6,_0x2b7741,_0x343dc8,_0x584d8b){return _0x38a2d6(_0x433ac6-_0x2d09a8._0x5ebc1d,_0x2b7741-0x16e,_0x343dc8,_0x584d8b- -_0x2d09a8._0x2ef2b0);}await _0x5cce8c(_0x485493[_0x22b4b6(_0x37a53e._0x2d501c,_0x37a53e._0x490679,_0x37a53e._0x1d44f0,0x26f)],![]);function _0x26ad59(_0x25cdab,_0x225e36,_0x49839c,_0x11b8f8){return _0x38a2d6(_0x25cdab-_0x3c7330._0x1e253a,_0x225e36-0xf4,_0x49839c,_0x25cdab-_0x3c7330._0xfac1ba);}return _0x6bb13f(_0x485493[_0x26ad59(0x583,_0x37a53e._0x38bb03,_0x37a53e._0x5b6a39,0x4ba)],![]);}async function _0x2297b3(_0x490a0f){const _0x1df519={_0x3f3404:0x196,_0x4361fa:0x1af,_0x3bade8:0x340},_0x4db742={_0x3e4ae6:0x12b,_0x45bb38:0xe6},_0x591f8d=await _0x344a53(_0x490a0f);function _0x43e2ee(_0x1c0fbc,_0x7122e2,_0x23f39c,_0x3a924f){return _0x38a2d6(_0x1c0fbc-0x138,_0x7122e2-_0x4db742._0x3e4ae6,_0x3a924f,_0x1c0fbc- -_0x4db742._0x45bb38);}function _0x1997cc(_0x2d4ae0,_0x2d8d77,_0x241b76,_0x1eda8c){return _0x38a2d6(_0x2d4ae0-_0x1df519._0x3f3404,_0x2d8d77-_0x1df519._0x4361fa,_0x2d4ae0,_0x1eda8c- -_0x1df519._0x3bade8);}return collectClientResults(_0x591f8d[_0x1997cc(_0x147b57._0x48df81,-_0x147b57._0x19df73,-0xa8,_0x147b57._0x169b73)](_0x5c16ad=>_0x5c16ad['request'][_0x1997cc(-0xb1,0x8f,0x115,0x7b)](_0x490a0f)));}return{'isEnabled':_0x3c6367,async 'hasClients'(_0x3cc659){return(await _0x6bb13f(_0x3cc659,![]))['length']>0x0||getServersForFile(_0x3cc659)['length']>0x0;},'touchFile':_0x5cce8c,async 'diagnostics'(){const _0x115060={_0x5254ed:0x64,_0xa21fe1:0xe7,_0x553266:0x72};function _0x2fe931(_0x5cea44,_0x28ded7,_0x2ee8db,_0x548b90){return _0x38a2d6(_0x5cea44-0x60,_0x28ded7-0x16b,_0x5cea44,_0x28ded7-0x345);}const _0x584d11={};function _0x43325a(_0x2e2d8c,_0x4671b8,_0x5b07e5,_0x57cfc5){return _0x38a2d6(_0x2e2d8c-_0x115060._0x5254ed,_0x4671b8-_0x115060._0xa21fe1,_0x4671b8,_0x57cfc5- -_0x115060._0x553266);}for(const _0x229c38 of _0xe4b64f[_0x43325a(_0xaf8d0b._0x291349,0x28c,_0xaf8d0b._0x3f8a36,0x354)]){for(const [_0xceb5c2,_0x19affc]of _0x229c38[_0x43325a(0x1d6,0x31b,0x254,_0xaf8d0b._0x24b4a1)]){_0x584d11[diagnosticsKeyToPath(_0xceb5c2)]=_0x19affc;}}return _0x584d11;},async 'diagnosticsForFile'(_0x3e0387){function _0xbae118(_0x4f0c3e,_0x13b32d,_0x205827,_0x488641){return _0x38a2d6(_0x4f0c3e-0x17a,_0x13b32d-0x182,_0x4f0c3e,_0x13b32d-0x45);}await _0x5cce8c(_0x3e0387,!![]);const _0x3127dd=[];for(const _0x161e15 of await _0x6bb13f(_0x3e0387,![])){for(const [_0xa788d6,_0x5b3570]of _0x161e15[_0xbae118(0x3d8,0x3cf,0x2aa,0x2b0)]){if(diagnosticsKeyToPath(_0xa788d6)===_0x3e0387)_0x3127dd['push'](..._0x5b3570);}}return _0x3127dd;},async 'definition'(_0x939c2d){const _0x359ed7={_0x435de4:0x153,_0x1756e4:0xe8};function _0x5a368d(_0x14501e,_0x4bf925,_0x37ab96,_0x329290){return _0x38a2d6(_0x14501e-0x11d,_0x4bf925-_0x359ed7._0x435de4,_0x37ab96,_0x4bf925- -_0x359ed7._0x1756e4);}return collectClientResults((await _0x344a53(_0x939c2d))['map'](_0x5a76b1=>_0x5a76b1[_0x5a368d(0x47,0x15,-0x7c,-0x3d)]['definition'](_0x939c2d)));},async 'references'(_0xd79cb9){const _0x1f85f6={_0x29c3cc:0x19f,_0x52b9e9:0xc1,_0x463531:0x22b},_0x1ce733={_0x33f44a:0x8f,_0x129bf2:0x37b};function _0x1c47b7(_0x19bbe3,_0x1111c6,_0x5c3c0c,_0x58e0d8){return _0x38a2d6(_0x19bbe3-0x12d,_0x1111c6-_0x1ce733._0x33f44a,_0x58e0d8,_0x5c3c0c-_0x1ce733._0x129bf2);}function _0x3fabbd(_0x2ae69d,_0x2703bb,_0x13b8ce,_0x4ff405){return _0x38a2d6(_0x2ae69d-_0x1f85f6._0x29c3cc,_0x2703bb-_0x1f85f6._0x52b9e9,_0x2ae69d,_0x13b8ce- -_0x1f85f6._0x463531);}return collectClientResults((await _0x344a53(_0xd79cb9))['map'](_0x3ecbd2=>_0x3ecbd2[_0x1c47b7(0x54e,0x4f3,0x478,0x385)][_0x1c47b7(0x3ab,0x407,0x44c,0x542)](_0xd79cb9)));},async 'hover'(_0x868a29){const _0x476483={_0x35f1f1:0xe8,_0x5310a7:0x78};function _0x4b5ada(_0x540ccf,_0x1cfa0e,_0x34fa08,_0x977b7){return _0x38a2d6(_0x540ccf-_0x476483._0x35f1f1,_0x1cfa0e-_0x476483._0x5310a7,_0x540ccf,_0x1cfa0e-0x1b6);}function _0x44a1db(_0x2d6b70,_0x5c9c41,_0xc7a11f,_0x55185f){return _0x38a2d6(_0x2d6b70-0x22,_0x5c9c41-_0x3d63f4._0x32e9df,_0x2d6b70,_0x55185f-_0x3d63f4._0x5989af);}const _0x42b1b9=await Promise[_0x44a1db(_0x366b30._0x56b0f9,0x5a8,_0x366b30._0x1b5960,0x482)]((await _0x344a53(_0x868a29))[_0x4b5ada(_0x366b30._0x47bbb7,0x516,0x460,_0x366b30._0x35a2dd)](_0x392dfb=>_0x392dfb[_0x44a1db(0x5db,0x303,0x4e2,0x475)][_0x44a1db(0x57d,0x624,0x3d5,0x54a)](_0x868a29)));return _0x42b1b9['flatMap'](_0x31a4ae=>_0x31a4ae[_0x44a1db(0x5a9,0x60c,0x7b0,0x6f8)]==='fulfilled'&&_0x31a4ae[_0x44a1db(0x331,0x4df,0x585,0x45f)]?[_0x31a4ae['value']]:[]);},async 'documentSymbol'(_0x2e2508){const _0x2c809d={_0x40cbb9:0xb4,_0x488629:0x5b,_0x5e1ae0:0x2b};await _0x5cce8c(_0x2e2508,![]);function _0x210bed(_0x30a015,_0x1e343a,_0x5c27ce,_0x3fc037){return _0x38a2d6(_0x30a015-_0x2c809d._0x40cbb9,_0x1e343a-_0x2c809d._0x488629,_0x3fc037,_0x30a015-_0x2c809d._0x5e1ae0);}function _0x2c2d9d(_0x213f7c,_0x4e62c5,_0x56eed7,_0x1856ed){return _0x38a2d6(_0x213f7c-0x138,_0x4e62c5-_0x523079._0x4a38c2,_0x4e62c5,_0x213f7c- -_0x523079._0x4c3a19);}return collectClientResults((await _0x6bb13f(_0x2e2508,![]))[_0x210bed(0x38b,_0x35030f._0x4a353f,_0x35030f._0x4fd477,0x48e)](_0x4a85af=>_0x4a85af[_0x2c2d9d(-0x3e,-0x185,-0x57,0xe7)][_0x2c2d9d(0x1be,0x226,0x12a,0xec)](_0x2e2508)));},async 'workspaceSymbol'(_0x1f505d){function _0x4cd8c6(_0x33285f,_0x428c65,_0x3720aa,_0x422118){return _0x38a2d6(_0x33285f-0x18,_0x428c65-0x110,_0x3720aa,_0x33285f-_0x2fa6b2._0x33c94c);}function _0x1d6b4a(_0x1d1a35,_0x124856,_0x5d3618,_0x3ba86c){return _0x38a2d6(_0x1d1a35-_0x458173._0x29cd66,_0x124856-0xc5,_0x3ba86c,_0x124856-0xec);}return collectClientResults(_0xe4b64f['clients']['map'](_0x53dc70=>_0x53dc70[_0x4cd8c6(0x1bc,0x1cb,0x21e,0x2d2)][_0x1d6b4a(0x14f,0x1e1,0x23f,0x15c)](_0x1f505d)));},async 'implementation'(_0x39455f){function _0x3b19b5(_0x43b274,_0x50af95,_0x36756d,_0xbb6b4e){return _0x38a2d6(_0x43b274-_0x6541e9._0x4045ff,_0x50af95-0x136,_0x43b274,_0xbb6b4e- -_0x6541e9._0x3dd702);}return collectClientResults((await _0x344a53(_0x39455f))['map'](_0x4824db=>_0x4824db[_0x3b19b5(-0x8d,-0x253,-0x1bd,-0x17b)]['implementation'](_0x39455f)));},async 'prepareCallHierarchy'(_0x351a03){return _0x2297b3(_0x351a03);},async 'incomingCalls'(_0x56bc8d){function _0x3ec0b3(_0x1d9b04,_0xd3dcb3,_0x2d734f,_0x3039ab){return _0x38a2d6(_0x1d9b04-0x1cc,_0xd3dcb3-0xe9,_0x1d9b04,_0xd3dcb3- -0x251);}function _0xa628a6(_0x4db10e,_0x5b5a3f,_0x5d9614,_0x41f27e){return _0x38a2d6(_0x4db10e-_0x2dcd46._0x593a67,_0x5b5a3f-_0x2dcd46._0xfbe099,_0x4db10e,_0x5d9614-_0x2dcd46._0x459e5c);}const _0x402376=await _0x2297b3(_0x56bc8d),_0x54492f=await _0x344a53(_0x56bc8d);return collectClientResults(_0x54492f[_0xa628a6(_0x1fc69a._0x426974,0x168,0x228,0x38a)](_0x3cea33=>_0x402376['map'](_0xd909b3=>_0x3cea33[_0x3ec0b3(-0x2d,-0x154,-0x8d,-0x267)]['incomingCalls'](_0xd909b3))));},async 'outgoingCalls'(_0x577843){const _0x41479c={_0x3820c7:0xb6,_0x50df99:0x23c},_0x42feb8=await _0x2297b3(_0x577843);function _0x585cb7(_0x52abde,_0x221ec6,_0x43ca5f,_0x48134f){return _0x38a2d6(_0x52abde-_0x1ff712._0x195cc2,_0x221ec6-0x37,_0x52abde,_0x48134f-_0x1ff712._0x3e7b14);}function _0x4f0465(_0xc9825a,_0x4d1319,_0x2a1c03,_0x10e9c8){return _0x38a2d6(_0xc9825a-0x3a,_0x4d1319-_0x41479c._0x3820c7,_0xc9825a,_0x10e9c8- -_0x41479c._0x50df99);}const _0x19f75c=await _0x344a53(_0x577843);return collectClientResults(_0x19f75c[_0x585cb7(0x5d,0x7e,_0x5503a6._0x22752d,0x19c)](_0x52cf60=>_0x42feb8['map'](_0x1101f1=>_0x52cf60['request'][_0x4f0465(0x126,0x29e,0x15f,0x11f)](_0x1101f1))));},async 'shutdown'(){const _0x18ba58={_0x58498a:0x4,_0x1ded3d:0x13f,_0x34e5fe:0xa},_0x137333={_0x47c85b:0xe};if(_0xe4b64f[_0x589f3a(0x25a,0x34b,_0x5c9bd2._0x401298,0x447)])return;_0xe4b64f['shutdownStarted']=!![],await Promise[_0x30550d(0x31,0x267,-0xb,_0x5c9bd2._0xe48660)](_0xe4b64f['clients'][_0x589f3a(0x3d7,0x2f4,_0x5c9bd2._0x5449ec,0x46e)](_0x351def=>_0x351def['shutdown']()));function _0x589f3a(_0x3f7b55,_0x5206dc,_0x432ffc,_0x40c8d9){return _0x38a2d6(_0x3f7b55-0x1c,_0x5206dc-_0x137333._0x47c85b,_0x40c8d9,_0x5206dc- -0x6c);}_0xe4b64f[_0x589f3a(0x2fe,_0x5c9bd2._0x133d94,_0x5c9bd2._0x14f0a2,0x396)]=[];function _0x30550d(_0x83f6e4,_0x56309b,_0x3f5361,_0x20bdb0){return _0x38a2d6(_0x83f6e4-_0x18ba58._0x58498a,_0x56309b-_0x18ba58._0x1ded3d,_0x56309b,_0x20bdb0-_0x18ba58._0x34e5fe);}_0xe4b64f['spawning'][_0x589f3a(_0x5c9bd2._0xfb74bb,0x12e,0x1f2,0x1d1)](),_0xe4b64f[_0x30550d(_0x5c9bd2._0x3456d0,_0x5c9bd2._0x2b5d02,0x21e,0x105)]['clear'](),_0xe4b64f['fileVersions'][_0x589f3a(0x147,_0x5c9bd2._0x35ea86,_0x5c9bd2._0x173ec7,0xc6)](),_0xe4b64f[_0x589f3a(_0x5c9bd2._0x5d35da,0x266,0x1ef,_0x5c9bd2._0x397c3f)][_0x589f3a(_0x5c9bd2._0x4c3d02,0x12e,0x230,_0x5c9bd2._0x41e6c8)]();},'status'(){const _0x2d483f={_0xa3ea3a:0xed,_0x111de3:0x193},_0x102a02={_0xeaef7c:0x95,_0x29468a:0x275};function _0xbadd77(_0x334cc5,_0x488c35,_0x732888,_0x473b19){return _0x38a2d6(_0x334cc5-0xd9,_0x488c35-_0x102a02._0xeaef7c,_0x473b19,_0x334cc5-_0x102a02._0x29468a);}function _0x1bba65(_0x15c926,_0x1e34bf,_0x5195cc,_0x440877){return _0x38a2d6(_0x15c926-_0x2d483f._0xa3ea3a,_0x1e34bf-0x173,_0x1e34bf,_0x5195cc- -_0x2d483f._0x111de3);}return{'connectedClients':_0xe4b64f[_0x1bba65(_0x1a5d00._0x46158f,_0x1a5d00._0x1f3a03,0x233,_0x1a5d00._0x325d3c)][_0x1bba65(0x139,_0x1a5d00._0x55f99b,0x42,_0x1a5d00._0xba9d7)]};}};}function createQuestionId(){const _0x2178cd={_0x793a4a:0x3af,_0x31743b:0x370,_0x91e753:0x218,_0x280c03:0x66c,_0x288db7:0x4fb,_0x2ab974:0x3bf,_0x5c53d:0x27a},_0x560722={_0x5a138d:0x91};function _0x29d294(_0xf7de27,_0x3365c2,_0x3d5f14,_0x12e942){return _0x42babe(_0x3d5f14- -0x6,_0x3365c2-0x116,_0xf7de27,_0x12e942-0xb4);}function _0x1629d7(_0x3d044e,_0x498352,_0x2196c5,_0xccd5da){return _0x41c53b(_0x3d044e-0x197,_0xccd5da- -0x139,_0x3d044e,_0xccd5da-_0x560722._0x5a138d);}return _0x1629d7(_0x2178cd._0x793a4a,_0x2178cd._0x31743b,_0x2178cd._0x91e753,0x295)+Date[_0x1629d7(0x63e,_0x2178cd._0x280c03,0x630,_0x2178cd._0x288db7)]()+'-'+Math['random']()[_0x29d294(_0x2178cd._0x2ab974,0x386,_0x2178cd._0x5c53d,0x296)](0x24)['slice'](0x2,0x9);}function validateInput(_0xf42689){const _0x26cfe6={_0x1fcedc:0x9,_0x4287be:0x122,_0x35dc0a:0x1a3,_0x4b82c9:0x277,_0x24d856:0x14f,_0x4203d2:0x189,_0x501da6:0x253,_0x5590df:0x116,_0x2c4c0e:0x1a3,_0x5f109a:0x119,_0x4c4ec2:0x9,_0x4f95f3:0x2f9,_0x8a53f5:0xb8,_0x407f99:0x73,_0x4a6205:0x4a,_0x1b3c19:0x62,_0x108353:0x8d,_0x17b827:0x179,_0x593aed:0xd6,_0xe9b8ba:0x16d,_0x1db42f:0x5e,_0x418974:0x42,_0x2d842f:0xae,_0x444686:0x21e,_0x56803f:0x23c,_0x2b5596:0x9f,_0x2b05ab:0x167,_0x3c6387:0x72,_0x33abbf:0x21e,_0x5134ee:0xa4,_0x5d51b2:0xad,_0x47551c:0x10f,_0x3ab577:0x166,_0x1cdd7e:0xc3,_0x39b589:0xc,_0x4fb2e4:0x34,_0x5201ab:0x13b,_0x193f98:0x159,_0xf556ab:0x12c,_0x314f1d:0x113,_0x1ee14b:0x1d,_0x536a7b:0x7e,_0x1f2482:0x36,_0x206eb7:0x150,_0x2669e2:0x3c,_0x481f90:0x2c,_0x24d101:0x157,_0x238c87:0x6a,_0x1a3f9b:0x36,_0x4b9c1f:0x8e,_0x339aac:0x1ee,_0x53f3c6:0x10f,_0x285814:0x8a,_0x5c0fd0:0x10,_0x2d15e4:0x87,_0x4a4b7a:0xa,_0x4ab858:0x141,_0x23bd7e:0x1c2,_0x1b689b:0x2c9,_0x227560:0x138,_0x4a2505:0x189,_0x2e2ac1:0x11,_0x5695b1:0x98,_0x1325c1:0x21e},_0x129acd={_0x568fc6:0x24c,_0x5dab31:0x11f},_0x32324d={_0x1764ac:0x1cb,_0x322490:0x19e};if(!Array[_0x339c1e(-_0x26cfe6._0x1fcedc,-0x17d,-0x1e,_0x26cfe6._0x4287be)](_0xf42689[_0x5eaad1(0x1b5,_0x26cfe6._0x35dc0a,_0x26cfe6._0x4b82c9,0x85)])||_0xf42689[_0x339c1e(0x161,_0x26cfe6._0x24d856,_0x26cfe6._0x4203d2,_0x26cfe6._0x501da6)][_0x5eaad1(0xb4,0x9,_0x26cfe6._0x5590df,0xc7)]<0x1||_0xf42689[_0x5eaad1(0x1c5,_0x26cfe6._0x2c4c0e,_0x26cfe6._0x5f109a,0x44)][_0x5eaad1(0x119,_0x26cfe6._0x4c4ec2,0x118,0x13e)]>0xa)throw new ToolExecutionError('Must\x20provide\x201-10\x20questions',{'error':'invalid_questions'});function _0x5eaad1(_0x365e0a,_0x3a4d53,_0x4de605,_0x4c6fbf){return _0x42babe(_0x3a4d53- -0x20a,_0x3a4d53-_0x32324d._0x1764ac,_0x365e0a,_0x4c6fbf-_0x32324d._0x322490);}function _0x339c1e(_0x182a2f,_0x3af390,_0x468943,_0x396a96){return _0x42babe(_0x182a2f- -_0x129acd._0x568fc6,_0x3af390-0x1aa,_0x396a96,_0x396a96-_0x129acd._0x5dab31);}for(let _0x50ad39=0x0;_0x50ad39<_0xf42689[_0x5eaad1(0xe3,0x1a3,_0x26cfe6._0x4f95f3,0x1a1)][_0x5eaad1(-0x1d,0x9,_0x26cfe6._0x8a53f5,0x121)];_0x50ad39+=0x1){const _0x1045e5=_0xf42689[_0x5eaad1(0x9f,0x1a3,_0x26cfe6._0x407f99,0x2ac)][_0x50ad39];if(!_0x1045e5[_0x5eaad1(0x138,-_0x26cfe6._0x4a6205,-_0x26cfe6._0x1b3c19,0xd8)]||typeof _0x1045e5[_0x339c1e(-0x8c,-0x202,-0x153,-_0x26cfe6._0x108353)]!=='string')throw new ToolExecutionError(_0x339c1e(0x61,_0x26cfe6._0x17b827,-_0x26cfe6._0x593aed,_0x26cfe6._0xe9b8ba)+(_0x50ad39+0x1)+_0x5eaad1(-0x2d,-0xad,-0x14c,-0x9e));if(!_0x1045e5[_0x339c1e(0x125,_0x26cfe6._0x1db42f,0x24c,-_0x26cfe6._0x418974)]||typeof _0x1045e5[_0x339c1e(0x125,0x210,0x13b,0xd0)]!==_0x5eaad1(0x1a3,0x140,0x1b6,0x154))throw new ToolExecutionError(_0x5eaad1(0x12,0xa3,_0x26cfe6._0x2d842f,0x140)+(_0x50ad39+0x1)+_0x5eaad1(-_0x26cfe6._0x444686,-0x102,-0x279,-_0x26cfe6._0x56803f));if(_0x1045e5[_0x5eaad1(_0x26cfe6._0x2b5596,_0x26cfe6._0x2b05ab,_0x26cfe6._0x3c6387,_0x26cfe6._0x33abbf)][_0x5eaad1(-0x141,0x9,-0xd9,_0x26cfe6._0x5134ee)]>0x1e)throw new ToolExecutionError('Question\x20'+(_0x50ad39+0x1)+_0x339c1e(-_0x26cfe6._0x5d51b2,0xcf,-0x1a9,-0x1b4)+_0x1045e5[_0x5eaad1(0x26,0x167,_0x26cfe6._0x56803f,_0x26cfe6._0x47551c)][_0x339c1e(-0x39,-0xa8,-_0x26cfe6._0x3ab577,0x31)]);if(!Array[_0x5eaad1(-0x19,0x39,-0x13e,-0x121)](_0x1045e5[_0x5eaad1(-_0x26cfe6._0x1cdd7e,_0x26cfe6._0x39b589,-0x27,-0x49)])||_0x1045e5[_0x339c1e(-0x36,-_0x26cfe6._0x4fb2e4,-0x10c,_0x26cfe6._0x5201ab)]['length']<0x2||_0x1045e5[_0x5eaad1(-0xb7,_0x26cfe6._0x39b589,-0x161,-_0x26cfe6._0x193f98)][_0x339c1e(-0x39,_0x26cfe6._0xf556ab,_0x26cfe6._0x314f1d,0x13)]>0x4)throw new ToolExecutionError('Question\x20'+(_0x50ad39+0x1)+_0x5eaad1(_0x26cfe6._0x593aed,_0x26cfe6._0x1cdd7e,_0x26cfe6._0x1ee14b,_0x26cfe6._0x536a7b));for(let _0x57b960=0x0;_0x57b960<_0x1045e5[_0x339c1e(-_0x26cfe6._0x1f2482,-0xf0,_0x26cfe6._0x206eb7,_0x26cfe6._0x2669e2)][_0x5eaad1(-_0x26cfe6._0x481f90,0x9,_0x26cfe6._0x24d101,-_0x26cfe6._0x238c87)];_0x57b960+=0x1){const _0x3a1866=_0x1045e5[_0x339c1e(-_0x26cfe6._0x1a3f9b,0x110,-0xbb,-_0x26cfe6._0x4b9c1f)][_0x57b960];if(!_0x3a1866[_0x5eaad1(0x135,_0x26cfe6._0x339aac,0x133,0x196)]||!_0x3a1866[_0x339c1e(_0x26cfe6._0x53f3c6,-0x22,0x284,-0xd)])throw new ToolExecutionError(_0x5eaad1(_0x26cfe6._0x285814,0xa3,-_0x26cfe6._0x5c0fd0,0xd8)+(_0x50ad39+0x1)+_0x5eaad1(_0x26cfe6._0x2d15e4,-_0x26cfe6._0x4a4b7a,0xd1,-0x97)+(_0x57b960+0x1)+_0x5eaad1(0x178,_0x26cfe6._0x4ab858,0x95,_0x26cfe6._0x23bd7e));}if(typeof _0x1045e5[_0x339c1e(0x162,_0x26cfe6._0x24d856,0x21,_0x26cfe6._0x1b689b)]!==_0x339c1e(-_0x26cfe6._0x227560,-0x8c,-0x1b6,-0x7f))throw new ToolExecutionError(_0x339c1e(0x61,0xa4,_0x26cfe6._0x4a2505,_0x26cfe6._0x2e2ac1)+(_0x50ad39+0x1)+_0x5eaad1(_0x26cfe6._0x5695b1,0x157,_0x26cfe6._0x1325c1,0x182));}}function buildQuestions(_0x1d36bf){const _0xc62577={_0x4b8deb:0x256,_0x5368e2:0x324,_0x3496f1:0x3bc},_0x516862={_0x512d7a:0x97},_0x1787c9={_0x29e645:0x70,_0x24c23b:0xe6};function _0x1573e9(_0x486124,_0xe434ab,_0x486152,_0x1fc5a8){return _0x42babe(_0x1fc5a8-0x1e,_0xe434ab-_0x1787c9._0x29e645,_0x486152,_0x1fc5a8-_0x1787c9._0x24c23b);}function _0x14c0d0(_0xf533a2,_0x41fb3d,_0x2e2c65,_0x4a761e){return _0x41c53b(_0xf533a2-_0x516862._0x512d7a,_0x2e2c65- -0x54f,_0x41fb3d,_0x4a761e-0x11);}return _0x1d36bf['questions'][_0x1573e9(_0xc62577._0x4b8deb,0x3d5,_0xc62577._0x5368e2,_0xc62577._0x3496f1)]((_0x13de9c,_0x5d64c7)=>({'id':'q'+_0x5d64c7,'question':_0x13de9c[_0x14c0d0(-0x291,-0x227,-0x11f,-0x1cf)],'topic':_0x13de9c['topic'],'options':_0x13de9c['options'],'multiSelect':_0x13de9c['multiSelect']}));}function createResult(_0x1a6cce,_0xaccc12,_0x1742fb){const _0x20ef08={_0x51b0bc:0x2,_0x4de120:0x119,_0x2afc9f:0x16a,_0x1cfc81:0x499,_0x1583fd:0x3d8},_0x29a126={_0x5ea24e:0x111},_0x4ee00f={_0x4b3925:0x16e};function _0x1932f6(_0x361eb9,_0x1442df,_0x3f01a3,_0x421e99){return _0x42babe(_0x3f01a3-_0x4ee00f._0x4b3925,_0x1442df-0xd7,_0x361eb9,_0x421e99-0x3c);}function _0x1b90af(_0x2d785d,_0x28155d,_0x12f7f4,_0x2608a9){return _0x41c53b(_0x2d785d-0x195,_0x2608a9- -0x4fc,_0x12f7f4,_0x2608a9-_0x29a126._0x5ea24e);}const _0x31f502={'questionId':_0x1a6cce,'questionCount':_0xaccc12,'answers':_0x1742fb};return createToolOutput(_0x1b90af(_0x20ef08._0x51b0bc,-_0x20ef08._0x4de120,-0x183,-_0x20ef08._0x2afc9f)+JSON[_0x1932f6(_0x20ef08._0x1cfc81,0x54a,0x519,_0x20ef08._0x1583fd)](_0x1742fb,null,0x2),_0x31f502);}function createAskUserTool(){const _0x46266c={_0x2faee2:0x3e6,_0x2dae6f:0x71e,_0x4214cd:0x6d8,_0x1e066c:0x657,_0x402462:0x63e,_0x3e646e:0x794,_0x8cfec1:0x729,_0x133690:0x760,_0x1995b0:0x4db,_0x547d55:0x5db,_0x451de9:0x5fd,_0x4eca6d:0x502,_0x309c03:0x715,_0x3b758d:0x4b0,_0x444363:0x7c4,_0xfe15f:0x6bc,_0x4ae576:0x77d,_0xad9e1e:0x6d2,_0x26c7a6:0x5f8,_0x327d3b:0x502,_0x21eb11:0x68e,_0x52198f:0x62e,_0x1fd71c:0x500,_0x1231fc:0x4fb,_0x184a57:0x4c9,_0x33e4c9:0x348,_0x26152c:0x79d,_0x3cefc9:0x950,_0x276a73:0x7c9},_0x1b0d8={_0x4c9d08:0xe0,_0x50260e:0x7d5,_0x12eef1:0x6a3,_0x250e9c:0x31,_0x589f90:0x8e,_0x382274:0x95,_0x2d18f0:0x7ef,_0x1bfc15:0x28,_0x4132e3:0x1e9,_0x4a37e8:0x112,_0x5d380e:0x73,_0x42e9f9:0x23f,_0x25d5de:0x1b4,_0x24d03b:0x114,_0x449b58:0x87e,_0x7a68b2:0x6f7,_0x3e432e:0x25a,_0x2c0e0f:0x5c,_0x1f13e9:0x393,_0x5dec4d:0xb2,_0x348f56:0x160,_0x30195e:0x138},_0x5b50c7={_0x1fd279:0xe1,_0x45831b:0x8f},_0x5cef76={_0x597a6c:0x1da,_0x4435e6:0x30},_0x3f171d={_0x4fec6d:0x43,_0x4e018f:0x149},_0x29dad6={_0xb2a5e8:0x196,_0x2e7590:0x1bd};function _0xcca89a(_0x3c491d,_0x5cbfa4,_0x35b119,_0x16da38){return _0x42babe(_0x16da38-0x41b,_0x5cbfa4-_0x29dad6._0xb2a5e8,_0x35b119,_0x16da38-_0x29dad6._0x2e7590);}function _0xe5285d(_0x3c44c7,_0x4affb0,_0x18fde2,_0x2eeb46){return _0x41c53b(_0x3c44c7-0x196,_0x3c44c7-_0x3f171d._0x4fec6d,_0x18fde2,_0x2eeb46-_0x3f171d._0x4e018f);}return defineTool({'name':_0xe5285d(0x448,0x50a,_0x46266c._0x2faee2,0x436),'description':_0xcca89a(0x526,_0x46266c._0x2dae6f,_0x46266c._0x4214cd,_0x46266c._0x1e066c),'inputSchema':{'type':_0xcca89a(_0x46266c._0x402462,_0x46266c._0x3e646e,_0x46266c._0x8cfec1,_0x46266c._0x133690),'properties':{'questions':{'type':_0xe5285d(0x56a,_0x46266c._0x1995b0,_0x46266c._0x547d55,0x611),'items':{'type':'object','properties':{'question':{'type':_0xe5285d(_0x46266c._0x451de9,0x69b,_0x46266c._0x4eca6d,0x5cc)},'topic':{'type':_0xe5285d(_0x46266c._0x451de9,_0x46266c._0x309c03,0x751,_0x46266c._0x3b758d)},'options':{'type':_0xcca89a(_0x46266c._0x444363,_0x46266c._0xfe15f,_0x46266c._0x4ae576,_0x46266c._0xad9e1e),'items':{'type':_0xe5285d(_0x46266c._0x26c7a6,_0x46266c._0x327d3b,0x51d,_0x46266c._0x21eb11),'properties':{'label':{'type':'string'},'description':{'type':'string'}},'required':[_0xe5285d(0x6ab,_0x46266c._0x52198f,0x673,0x7e4),'description']}},'multiSelect':{'type':'boolean'}},'required':[_0xe5285d(0x473,_0x46266c._0x1fd71c,_0x46266c._0x1231fc,0x355),'topic',_0xe5285d(_0x46266c._0x184a57,_0x46266c._0x33e4c9,0x5ec,0x64b),_0xcca89a(_0x46266c._0x26152c,_0x46266c._0x3cefc9,0x8dd,_0x46266c._0x276a73)]}},'answers':{'type':'object','properties':{}}},'required':[_0xe5285d(0x660,0x70d,0x5e0,0x714)]},async *'execute'(_0x1670c3,_0x968514){const _0x5077ab=_0x1670c3;validateInput(_0x5077ab);function _0x49a278(_0x366031,_0x1c2e1c,_0x2db27c,_0x24a30b){return _0xcca89a(_0x366031-_0x5cef76._0x597a6c,_0x1c2e1c-_0x5cef76._0x4435e6,_0x366031,_0x2db27c- -0xe);}const _0x733004=_0x968514[_0x20a4e3(0x14d,0xec,0x78,_0x1b0d8._0x4c9d08)]??createQuestionId();if(_0x5077ab['answers']&&Object[_0x49a278(0x73f,_0x1b0d8._0x50260e,_0x1b0d8._0x12eef1,0x62c)](_0x5077ab[_0x20a4e3(0x1f0,_0x1b0d8._0x250e9c,-_0x1b0d8._0x589f90,_0x1b0d8._0x382274)])['length']>0x0)return createResult(_0x733004,_0x5077ab[_0x49a278(0x647,_0x1b0d8._0x2d18f0,0x7ba,0x6ee)][_0x20a4e3(-_0x1b0d8._0x1bfc15,0x137,_0x1b0d8._0x1bfc15,0x138)],_0x5077ab[_0x20a4e3(_0x1b0d8._0x4132e3,_0x1b0d8._0x4a37e8,_0x1b0d8._0x5d380e,0x95)]);if(!_0x968514[_0x20a4e3(_0x1b0d8._0x42e9f9,_0x1b0d8._0x25d5de,-0x3,_0x1b0d8._0x24d03b)])throw new ToolExecutionError(_0x49a278(_0x1b0d8._0x449b58,0x5a2,_0x1b0d8._0x7a68b2,0x5a7));function _0x20a4e3(_0xd814aa,_0x3b8b7b,_0x4be232,_0x30d670){return _0xcca89a(_0xd814aa-_0x5b50c7._0x1fd279,_0x3b8b7b-_0x5b50c7._0x45831b,_0x4be232,_0x30d670- -0x4f6);}const _0x1edb56=buildQuestions(_0x5077ab),_0x150313=await _0x968514[_0x20a4e3(_0x1b0d8._0x3e432e,0xd2,_0x1b0d8._0x2c0e0f,_0x1b0d8._0x24d03b)]({'questionId':_0x733004,'questions':_0x1edb56});yield createResult(_0x733004,_0x5077ab[_0x20a4e3(0x2a4,_0x1b0d8._0x1f13e9,0x3e2,0x2d2)][_0x20a4e3(0x151,_0x1b0d8._0x5dec4d,_0x1b0d8._0x348f56,_0x1b0d8._0x30195e)],_0x150313);}});}import{randomUUID}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0x54d95a}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException(_0x139d95){return _0x139d95 instanceof Error;}function resolveCarriageReturns(_0x54dd47){const _0x704bf0={_0x63c829:0x10b,_0x179e57:0x6f,_0x5b97ee:0x204},_0x146ca0={_0x1d5b07:0x43,_0x2c209a:0x1bf,_0x2c0533:0x100,_0x254745:0x144},_0x5d728f={_0x3fe7ca:0x1b6,_0x2eea85:0x1a2},_0x94f74d={_0x4008bc:0x20b,_0x5f083d:0x69,_0x8663b6:0x1cc},_0x8fa61f={_0xcb8939:0x52,_0x3b7a77:0x2ea};function _0x160304(_0x5c70b3,_0x2c5a38,_0x1fd994,_0x3752a8){return _0x41c53b(_0x5c70b3-_0x8fa61f._0xcb8939,_0x5c70b3- -_0x8fa61f._0x3b7a77,_0x2c5a38,_0x3752a8-0xf7);}return _0x54dd47[_0x160304(_0x704bf0._0x63c829,-_0x704bf0._0x179e57,0x5,_0x704bf0._0x5b97ee)]('\x0a')['map'](_0x43f4a6=>{function _0xb1dc2b(_0x23b122,_0x595cc6,_0x54f90f,_0x4687fa){return _0x160304(_0x54f90f- -_0x94f74d._0x4008bc,_0x4687fa,_0x54f90f-_0x94f74d._0x5f083d,_0x4687fa-_0x94f74d._0x8663b6);}if(!_0x43f4a6[_0xb1dc2b(_0x146ca0._0x1d5b07,-0x84,-0x124,-0x12a)]('\x0d'))return _0x43f4a6;function _0x18374a(_0x478c6b,_0x3c53c6,_0x4dad0a,_0x39c782){return _0x160304(_0x3c53c6-_0x5d728f._0x3fe7ca,_0x478c6b,_0x4dad0a-0x1f2,_0x39c782-_0x5d728f._0x2eea85);}const _0x5d9e15=_0x43f4a6[_0xb1dc2b(-_0x146ca0._0x2c209a,-0x11f,-_0x146ca0._0x2c0533,-_0x146ca0._0x254745)]('\x0d');return _0x5d9e15[_0x5d9e15['length']-0x1]??'';})['join']('\x0a');}function resolveBackspaces(_0x12b5a7){const _0x18c479={_0x3bb01e:0x2e5,_0x51de3d:0x2cd,_0x12685c:0x45f,_0x10b5a6:0x46b,_0xf7ba11:0x6c,_0x19c613:0x34d,_0x563c69:0x426,_0xe48f4b:0x38b},_0x14ee69={_0x12389d:0x14a},_0xc03cd=[];function _0x5fbd85(_0x411d8b,_0x5ea64d,_0x14c007,_0x273f70){return _0x41c53b(_0x411d8b-_0x14ee69._0x12389d,_0x273f70- -0x1e0,_0x411d8b,_0x273f70-0xc6);}function _0xc7025b(_0x3e1615,_0x2221ab,_0x2831c7,_0x2fc593){return _0x41c53b(_0x3e1615-0x75,_0x2fc593- -0x448,_0x2221ab,_0x2fc593-0xdd);}for(const _0xcfeb78 of Array[_0x5fbd85(_0x18c479._0x3bb01e,_0x18c479._0x51de3d,_0x18c479._0x12685c,0x314)](_0x12b5a7)){_0xcfeb78==='\x08'?_0xc03cd[_0x5fbd85(0x206,0x2cf,_0x18c479._0x10b5a6,0x37b)]():_0xc03cd[_0xc7025b(_0x18c479._0xf7ba11,0xc1,-0x48,-0x87)](_0xcfeb78);}return _0xc03cd[_0x5fbd85(_0x18c479._0x19c613,0x37d,_0x18c479._0x563c69,_0x18c479._0xe48f4b)]('');}function stripAnsiAndControls(_0x3d75ec){const _0x3f7182={_0x434075:0x12a,_0x146033:0x99,_0x2b520d:0x45,_0x37911f:0x8b,_0x15ffb7:0x48,_0x195a45:0x121,_0x534afc:0x3f3,_0x3238b0:0x4ae,_0x5ac5c6:0x48,_0x3d8862:0x41,_0xbc2bce:0xbb,_0x1e49ff:0x414,_0x34a81f:0x482,_0x37ad54:0x546,_0x38a05a:0x350,_0x775464:0x149,_0x2ed9f6:0x70,_0x38eea1:0x133,_0x2745ef:0x16,_0x16c4b5:0x59},_0x3aff08={_0x44984c:0x6d,_0x578ee7:0x85,_0x33250b:0x175};_0x3d75ec=resolveCarriageReturns(_0x3d75ec),_0x3d75ec=resolveBackspaces(_0x3d75ec),_0x3d75ec=stripVTControlCharacters(_0x3d75ec);const _0x3994a4='\x1b';function _0x3d0763(_0x15adef,_0x19dcb1,_0x33e0da,_0x58dcc5){return _0x41c53b(_0x15adef-_0x3aff08._0x44984c,_0x19dcb1-_0x3aff08._0x578ee7,_0x58dcc5,_0x58dcc5-_0x3aff08._0x33250b);}const _0x3ec257='\x07';_0x3d75ec=_0x3d75ec[_0x2ae0f3(0x14f,0x48,0x192,0xf1)](new RegExp(';[^'+_0x3ec257+_0x2ae0f3(_0x3f7182._0x434075,_0x3f7182._0x146033,_0x3f7182._0x2b520d,0x64)+_0x3ec257,'g'),''),_0x3d75ec=_0x3d75ec[_0x2ae0f3(-_0x3f7182._0x37911f,_0x3f7182._0x15ffb7,-_0x3f7182._0x195a45,0xb2)](new RegExp(_0x3d0763(0x2a0,_0x3f7182._0x534afc,_0x3f7182._0x3238b0,0x34b)+_0x3994a4+'\x5c\x5c','g'),'');function _0x2ae0f3(_0xb31324,_0x20495e,_0x1d2126,_0x226c7b){return _0x42babe(_0x20495e- -0x145,_0x20495e-0x8c,_0x1d2126,_0x226c7b-0xda);}return _0x3d75ec=_0x3d75ec['replace'](new RegExp(_0x3ec257,'g'),''),_0x3d75ec=_0x3d75ec[_0x2ae0f3(-0x17,_0x3f7182._0x5ac5c6,0x1ac,-0xd4)](new RegExp(_0x3994a4+_0x2ae0f3(-_0x3f7182._0x3d8862,0x34,-_0x3f7182._0xbc2bce,0xf2)+_0x3994a4+'\x5c\x5c','g'),''),_0x3d75ec=_0x3d75ec[_0x3d0763(_0x3f7182._0x1e49ff,_0x3f7182._0x34a81f,_0x3f7182._0x37ad54,0x479)](new RegExp(_0x3994a4+_0x3d0763(0x43e,0x40d,_0x3f7182._0x38a05a,0x46d),'g'),''),_0x3d75ec=_0x3d75ec[_0x2ae0f3(_0x3f7182._0x775464,0x48,_0x3f7182._0x2ed9f6,_0x3f7182._0x434075)](/[\u0080-\u009F]/g,''),_0x3d75ec=_0x3d75ec[_0x2ae0f3(-_0x3f7182._0x38eea1,0x48,-0x116,-_0x3f7182._0x2745ef)](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x3d75ec=_0x3d75ec[_0x2ae0f3(-_0x3f7182._0x16c4b5,0x48,0x188,0x1)](/[\u23CE\u2424]/g,''),_0x3d75ec;}function killProcessGroup(_0x19d076,_0x17a017,_0x4e9565='SIGKILL'){const _0x4343d4={_0x12f239:0x352,_0x1bdebf:0x221,_0x360e83:0x34c,_0x258f1d:0x2e5,_0x1acea5:0x9a,_0x10c822:0x7e4,_0x552712:0x73b,_0x1e5cc4:0x60b,_0x1a3d87:0x205,_0x1f5613:0xd9,_0x1dfd1a:0x349,_0x539e0d:0x435,_0x33ee6c:0x103,_0x2bb3bf:0x107,_0x14feac:0x42,_0x2bc07d:0x6b},_0x2a3e51={_0x9cc924:0xb8},_0x53012f={_0x1bb8e1:0x120};if(!_0x19d076[_0x3029b2(0x4c6,_0x4343d4._0x12f239,0x285,_0x4343d4._0x1bdebf)])return;if(_0x17a017)try{_0x54d95a(_0x3029b2(0x399,_0x4343d4._0x360e83,0x31f,0x3a9),[_0x3029b2(0x11e,0x1e2,_0x4343d4._0x258f1d,_0x4343d4._0x1acea5),_0x19d076[_0xfc4bf2(_0x4343d4._0x10c822,_0x4343d4._0x552712,0x680,_0x4343d4._0x1e5cc4)][_0x3029b2(0x115,_0x4343d4._0x1a3d87,_0x4343d4._0x1f5613,0x2f4)](),'/T','/F'],{'stdio':'ignore'});return;}catch{_0x19d076[_0xfc4bf2(0x3b8,_0x4343d4._0x1dfd1a,_0x4343d4._0x539e0d,0x3ec)](_0x4e9565);return;}function _0xfc4bf2(_0x123630,_0x33bfad,_0x1ada1f,_0x1acc5e){return _0x42babe(_0x1ada1f-0x2b3,_0x33bfad-_0x53012f._0x1bb8e1,_0x1acc5e,_0x1acc5e-0x11f);}function _0x3029b2(_0x5bf244,_0x1f5023,_0x1b6002,_0x3f2912){return _0x41c53b(_0x5bf244-0x19d,_0x1f5023- -0x2eb,_0x1b6002,_0x3f2912-_0x2a3e51._0x9cc924);}try{process[_0x3029b2(_0x4343d4._0x33ee6c,_0x4343d4._0x2bb3bf,-_0x4343d4._0x14feac,_0x4343d4._0x2bc07d)](-_0x19d076['pid'],_0x4e9565);}catch{_0x19d076['kill'](_0x4e9565);}}var BackgroundProcessRegistry=class{['entries']=new Map();[_0x42babe(0x1fe,0x162,0x274,0x2c0)];[_0x41c53b(0x59e,0x596,0x5ca,0x6f9)];[_0x41c53b(0x424,0x559,0x645,0x571)];[_0x41c53b(0x7c8,0x66a,0x5e4,0x767)]=0x0;constructor(_0x531bea={}){const _0xc9fad3={_0x287119:0x232,_0x303939:0xfc,_0x4ec634:0x26e,_0x4a69e5:0x72e,_0x30fe32:0x646,_0x3c79ab:0x7d7,_0x37b98d:0x76e,_0x5719cd:0x5f4,_0x959ddf:0x76e,_0x52dea4:0x794,_0x5ac538:0x71a,_0x430dde:0x823,_0x36f242:0x842,_0x27432b:0x6f1,_0xabde2b:0x127},_0x11e01c={_0x5963ec:0x173,_0x4ac844:0x372,_0x5e2435:0x19},_0x323bc9={_0x636ee9:0x448,_0x570ded:0xdf};this[_0x724d72(_0xc9fad3._0x287119,0x24b,_0xc9fad3._0x303939,_0xc9fad3._0x4ec634)]=_0x531bea[_0x20ce19(_0xc9fad3._0x4a69e5,_0xc9fad3._0x30fe32,0x750,0x7a1)]??0xa;function _0x20ce19(_0x33a235,_0x4fa76e,_0x248a2f,_0xba123c){return _0x42babe(_0x4fa76e-_0x323bc9._0x636ee9,_0x4fa76e-0x73,_0x248a2f,_0xba123c-_0x323bc9._0x570ded);}function _0x724d72(_0x44cc98,_0x113ebe,_0x42a119,_0x22caac){return _0x41c53b(_0x44cc98-_0x11e01c._0x5963ec,_0x42a119- -_0x11e01c._0x4ac844,_0x113ebe,_0x22caac-_0x11e01c._0x5e2435);}this[_0x20ce19(_0xc9fad3._0x3c79ab,_0xc9fad3._0x37b98d,0x76e,_0xc9fad3._0x5719cd)]=_0x531bea[_0x20ce19(0x75f,_0xc9fad3._0x959ddf,_0xc9fad3._0x52dea4,_0xc9fad3._0x5ac538)]??0x40,this[_0x20ce19(_0xc9fad3._0x430dde,0x731,_0xc9fad3._0x36f242,_0xc9fad3._0x27432b)]=_0x531bea[_0x724d72(_0xc9fad3._0xabde2b,0x169,0x1e7,0x2b2)]??0x100000;}[_0x41c53b(0x577,0x578,0x577,0x67c)](_0x168baa){const _0x50fcbd={_0x32ee04:0x355,_0x1a4d56:0x390,_0x26bb00:0x250,_0x308543:0x303,_0x374b37:0x1a3,_0x55e76d:0x21a,_0x2dc652:0x26b,_0x2190df:0x1f,_0x5d43c3:0xde,_0xa4c23e:0xc2,_0x585cfe:0x2ba,_0x247b69:0x26b,_0x3183b0:0x175,_0x3a4817:0x45d,_0x4c4a3f:0xdc,_0x3dc6ff:0xbd,_0x492e3a:0xfa,_0x5b9a45:0x3ca,_0x37b945:0x574,_0x41e2ed:0x3b,_0x134855:0x2c6,_0x1e6dd9:0xc0,_0x5d605b:0xd4,_0x1bd026:0x10a,_0x2d21d1:0x1c3,_0x35a786:0x1e2,_0x34fb56:0x190,_0x38ed0f:0x41,_0x3ae078:0x346,_0x3f923:0x211,_0x37d062:0x8f,_0x4b6518:0x17a,_0x523563:0xc7,_0x56ab81:0x21d,_0x3dd50f:0x19b,_0x25c29e:0x28,_0x45c3a2:0x23c,_0x303d6c:0x118,_0x2d6fb2:0x251,_0x2a0aef:0x3cd,_0x33b2ea:0x214,_0x5566e0:0x233,_0x27cd26:0x1f4,_0x105221:0x1e8,_0x386445:0x34e,_0x2ebc2e:0x298,_0x52e8aa:0x4d5,_0x4cb8d6:0x40d},_0x12a40e={_0x1441f9:0x53},_0x2997f8={_0x3a7fd2:0x51f,_0x587573:0xd6,_0x12ef01:0x60b,_0x13b1ea:0x734,_0x506ef8:0x213,_0x36ffba:0x265,_0x1d14a6:0x224,_0x457638:0x235},_0x2af4c7={_0x4680ea:0x302,_0x4cdd5c:0x1b6,_0x28df29:0x3f},_0x50d2c6={_0x21c9eb:0x9e,_0xcffc04:0x26f,_0x3c037e:0x1ad,_0x1211b7:0x13,_0x36540e:0x1e3,_0x17b193:0x14,_0x29416f:0xea,_0x5bd853:0xa6,_0x525b35:0xad,_0x477acd:0x29,_0x2a59b6:0x262,_0x430960:0x49,_0x5b8ea9:0x38,_0x1fe5de:0xda,_0x18aed0:0x14a,_0x5934c0:0x2ab,_0x5cbf00:0x1eb,_0x6dae04:0x254,_0x3a44e6:0x431,_0x5eee5a:0x580,_0x1c700f:0x4b4,_0x20891e:0x440,_0x5d3480:0x43e,_0x12bf55:0x386,_0x7614e6:0x3fd,_0x3e75c9:0x82,_0x499483:0x7c},_0x25e291={_0xeaeae0:0x1ba},_0x10a3ff={_0x488e36:0x38},_0x35ac60=[...this[_0x4d53b7(0x3f9,_0x50fcbd._0x32ee04,_0x50fcbd._0x1a4d56,_0x50fcbd._0x26bb00)][_0x4d53b7(_0x50fcbd._0x308543,_0x50fcbd._0x374b37,_0x50fcbd._0x55e76d,0x10e)]()]['filter'](_0x53ab4b=>_0x53ab4b[_0x5e2093(0x211,0xfb,0x26,0x1f3)]==='running')['length'];function _0x5e2093(_0xea6100,_0x46f7fd,_0x517e0d,_0x1f7544){return _0x42babe(_0x46f7fd- -0x2c3,_0x46f7fd-0x194,_0xea6100,_0x1f7544-_0x10a3ff._0x488e36);}if(_0x35ac60>=this[_0x4d53b7(0x314,0x2b9,_0x50fcbd._0x2dc652,0x3a6)])throw new ToolExecutionError(_0x5e2093(_0x50fcbd._0x2190df,_0x50fcbd._0x5d43c3,0x191,0x17c)+this['maxConcurrent']+_0x5e2093(-0x58,-0x1c1,-0x131,-_0x50fcbd._0xa4c23e),{'running':this[_0x4d53b7(0x1ff,_0x50fcbd._0x585cfe,_0x50fcbd._0x247b69,_0x50fcbd._0x3183b0)]});const _0xbf0a9f=_0x4d53b7(0x412,0x427,0x2ef,0x288)+ ++this[_0x4d53b7(0x5d0,_0x50fcbd._0x3a4817,0x467,0x552)]+'-'+randomUUID()[_0x5e2093(_0x50fcbd._0x4c4a3f,_0x50fcbd._0x3dc6ff,_0x50fcbd._0x492e3a,0xac)](0x0,0x8),_0x4cf7f7={'shellId':_0xbf0a9f,'command':_0x168baa[_0x4d53b7(_0x50fcbd._0x5b9a45,0x442,0x469,_0x50fcbd._0x37b945)],'cwd':_0x168baa[_0x5e2093(-_0x50fcbd._0x41e2ed,-0x194,-0x17e,-_0x50fcbd._0x134855)],'pid':_0x168baa[_0x5e2093(0xb1,-0xc7,-0x216,_0x50fcbd._0x1e6dd9)][_0x5e2093(_0x50fcbd._0x5d605b,_0x50fcbd._0x1bd026,0xa5,_0x50fcbd._0x2d21d1)],'status':_0x5e2093(-0x1da,-0x1b7,-0x28a,-0x33e),'exitCode':null,'signal':null,'startedAt':Date['now'](),'child':_0x168baa[_0x4d53b7(_0x50fcbd._0x35a786,0x210,0x269,0x144)],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder('utf8'),'stderrDecoder':new StringDecoder('utf8'),'stripAnsi':_0x168baa[_0x5e2093(-_0x50fcbd._0x34fb56,-0x70,0x2,-_0x50fcbd._0x38ed0f)],'killRequested':![],'processExited':![]};_0x168baa[_0x4d53b7(0x171,_0x50fcbd._0x3ae078,0x269,_0x50fcbd._0x3f923)][_0x5e2093(-_0x50fcbd._0x37d062,-_0x50fcbd._0x4b6518,-_0x50fcbd._0x523563,-0x2b4)]?.['on'](_0x5e2093(_0x50fcbd._0x56ab81,0xf6,_0x50fcbd._0x3dd50f,_0x50fcbd._0x25c29e),_0x29ad9c=>this[_0x4d53b7(0x22b,0x2ac,0x32d,0x474)](_0x4cf7f7,_0x4cf7f7['stdoutDecoder']['write'](_0x29ad9c))),_0x168baa['child']['stderr']?.['on']('data',_0x14b287=>this[_0x5e2093(-0xbd,-0x3,-0x188,0xbb)](_0x4cf7f7,_0x4cf7f7[_0x4d53b7(0xbd,0x209,0x1a9,0x1db)][_0x5e2093(-0x11f,-0x1ae,-0x22b,-0xcb)](_0x14b287))),_0x168baa[_0x5e2093(-_0x50fcbd._0x45c3a2,-0xc7,-_0x50fcbd._0x303d6c,-0x241)]['once'](_0x4d53b7(_0x50fcbd._0x2d6fb2,0x424,_0x50fcbd._0x2a0aef,0x4e4),()=>{_0x4cf7f7['processExited']=!![];}),_0x168baa['child']['once'](_0x5e2093(-_0x50fcbd._0x33b2ea,-0x18f,-_0x50fcbd._0x5566e0,-0x9d),(_0xb2354f,_0x13d5a0)=>{function _0x3ef81f(_0x14bdd5,_0x55d3bc,_0x10bbaf,_0xf1b8b0){return _0x4d53b7(_0x14bdd5,_0x55d3bc-_0x25e291._0xeaeae0,_0xf1b8b0-0xf3,_0xf1b8b0-0x10d);}this[_0xc44cd0(_0x50d2c6._0x21c9eb,0x2c7,_0x50d2c6._0xcffc04,_0x50d2c6._0x3c037e)](_0x4cf7f7,_0x4cf7f7[_0xc44cd0(0xbe,-_0x50d2c6._0x1211b7,0x18b,0x3d)][_0xc44cd0(0x8e,_0x50d2c6._0x36540e,_0x50d2c6._0x17b193,0xda)]()),this['append'](_0x4cf7f7,_0x4cf7f7[_0xc44cd0(_0x50d2c6._0x29416f,_0x50d2c6._0x5bd853,-_0x50d2c6._0x525b35,_0x50d2c6._0x477acd)][_0xc44cd0(_0x50d2c6._0x2a59b6,-_0x50d2c6._0x430960,-_0x50d2c6._0x5b8ea9,_0x50d2c6._0x1fe5de)]()),_0x4cf7f7[_0xc44cd0(0x20c,0x1bf,_0x50d2c6._0x18aed0,_0x50d2c6._0x5934c0)]=_0x4cf7f7[_0xc44cd0(0x11f,_0x50d2c6._0x5cbf00,_0x50d2c6._0x6dae04,0x1f9)]?'killed':'exited',_0x4cf7f7[_0x3ef81f(0x4a2,_0x50d2c6._0x3a44e6,_0x50d2c6._0x5eee5a,_0x50d2c6._0x1c700f)]=_0xb2354f,_0x4cf7f7[_0x3ef81f(_0x50d2c6._0x20891e,_0x50d2c6._0x5d3480,_0x50d2c6._0x12bf55,_0x50d2c6._0x7614e6)]=_0x13d5a0;function _0xc44cd0(_0x7f52cb,_0x2cb605,_0x3c71b1,_0x33c1b8){return _0x5e2093(_0x3c71b1,_0x33c1b8-0x1b0,_0x3c71b1-0x61,_0x33c1b8-0x14d);}_0x4cf7f7[_0xc44cd0(_0x50d2c6._0x3e75c9,-_0x50d2c6._0x499483,0x230,0xe9)]=null;}),_0x168baa['child'][_0x4d53b7(_0x50fcbd._0x27cd26,0xeb,_0x50fcbd._0x105221,0x8b)](_0x4d53b7(0x330,_0x50fcbd._0x386445,0x233,_0x50fcbd._0x2ebc2e),_0x55cfdd=>{const _0x3b4bb5={_0x154df3:0x3d8};function _0x50edef(_0x5ce8ea,_0x50b522,_0x4467cc,_0x56e781){return _0x4d53b7(_0x4467cc,_0x50b522-0x1e9,_0x5ce8ea-_0x3b4bb5._0x154df3,_0x56e781-0xd6);}function _0x2b5bea(_0x51b8ca,_0x101a4d,_0x4221b2,_0x186ac6){return _0x5e2093(_0x101a4d,_0x51b8ca-_0x2af4c7._0x4680ea,_0x4221b2-_0x2af4c7._0x4cdd5c,_0x186ac6-_0x2af4c7._0x28df29);}_0x4cf7f7[_0x2b5bea(0x3fd,_0x2997f8._0x3a7fd2,0x484,0x36d)]=_0x2b5bea(0x205,0x86,0x30a,_0x2997f8._0x587573),_0x4cf7f7[_0x50edef(_0x2997f8._0x12ef01,_0x2997f8._0x13b1ea,0x737,0x70f)]=_0x55cfdd[_0x2b5bea(_0x2997f8._0x506ef8,_0x2997f8._0x36ffba,_0x2997f8._0x1d14a6,_0x2997f8._0x457638)],_0x4cf7f7['child']=null;}),this[_0x4d53b7(0x374,_0x50fcbd._0x52e8aa,0x390,_0x50fcbd._0x4cb8d6)]['set'](_0xbf0a9f,_0x4cf7f7);function _0x4d53b7(_0x4055ea,_0x1964cd,_0x561090,_0x5f189a){return _0x42babe(_0x561090-0x6d,_0x1964cd-0x1d1,_0x4055ea,_0x5f189a-_0x12a40e._0x1441f9);}return this['evictIfNeeded'](),_0x4cf7f7;}['read'](_0x4a3466,_0x31c917){const _0x5b3ca8={_0x3461f4:0x469,_0x253a50:0x50d,_0x21bdb3:0x626,_0x1a9516:0x3e8,_0x1f885c:0x357,_0x365270:0x48f,_0x48dd63:0x291,_0x2cdc74:0x448,_0xa8daca:0x391,_0x43a9da:0x3ea,_0x57bc99:0x31d,_0xc0f0fc:0x478,_0x5803b2:0x2fa,_0x283e1d:0x400,_0x1af5c3:0x12a,_0x20e7d3:0x1f8,_0x192e9e:0x27b,_0x5484a4:0x4ba,_0x397086:0x128,_0x22cb35:0x17e,_0xef62ff:0x3a1,_0x23a609:0x1f8,_0x6d1c68:0x2b9,_0x1c9b04:0x17e,_0x265207:0x2fc,_0x13a716:0x1b3,_0x4f0944:0x3e0,_0x1eaf3c:0x329,_0x41fcbf:0x34c,_0x791dea:0x2eb,_0x5cc278:0x1f8,_0x336f59:0x380,_0x5efde4:0x41e,_0xe97f8f:0x321,_0x346fd1:0x2ea,_0xe4e29f:0x18d,_0x5a5624:0x1d3,_0x4d4e78:0x272,_0x3e5650:0x532,_0x4b8a9d:0x3ec,_0x648de8:0x3e3,_0x3eecb0:0x29b,_0x17e279:0x3c2},_0xb81be={_0x33bc10:0x146};function _0x542e35(_0x4a2e6e,_0x58c654,_0x33720c,_0x22ae45){return _0x42babe(_0x22ae45-0x2e,_0x58c654-0x135,_0x58c654,_0x22ae45-0x104);}const _0x4eb8bc=this[_0x2a7322(_0x5b3ca8._0x3461f4,0x4ea,_0x5b3ca8._0x253a50,0x3cd)]['get'](_0x4a3466);if(!_0x4eb8bc)throw new ToolExecutionError(_0x2a7322(0x4e0,0x48e,0x618,_0x5b3ca8._0x21bdb3)+_0x4a3466,{'shellId':_0x4a3466});const _0x3b74d2=_0x4eb8bc[_0x2a7322(_0x5b3ca8._0x1a9516,_0x5b3ca8._0x1f885c,_0x5b3ca8._0x365270,0x26e)]['join'](''),_0xc2be75=Math['max'](_0x4eb8bc[_0x2a7322(0x310,0x3de,_0x5b3ca8._0x48dd63,_0x5b3ca8._0x2cdc74)],_0x4eb8bc[_0x2a7322(_0x5b3ca8._0xa8daca,0x332,_0x5b3ca8._0x43a9da,_0x5b3ca8._0x57bc99)]);function _0x2a7322(_0x5e2307,_0x5659e8,_0x59fc9d,_0x4cd74e){return _0x42babe(_0x5e2307-_0xb81be._0x33bc10,_0x5659e8-0x22,_0x59fc9d,_0x4cd74e-0x1d);}const _0x1a1fe9=Math[_0x542e35(0x46a,_0x5b3ca8._0xc0f0fc,_0x5b3ca8._0x5803b2,0x30b)](0x0,_0x4eb8bc[_0x2a7322(0x391,0x511,0x3f1,_0x5b3ca8._0x283e1d)]-_0x4eb8bc[_0x542e35(0x2d1,0x12b,_0x5b3ca8._0x1af5c3,_0x5b3ca8._0x20e7d3)]),_0x175bf6=_0x3b74d2[_0x542e35(_0x5b3ca8._0x192e9e,_0x5b3ca8._0x5484a4,0x52c,0x3ae)](_0xc2be75-_0x4eb8bc[_0x542e35(0x348,_0x5b3ca8._0x397086,_0x5b3ca8._0x22cb35,0x279)]),_0x93a73d=_0x4eb8bc[_0x2a7322(0x504,_0x5b3ca8._0xef62ff,0x570,0x498)]!=='running';let _0x4c6dc1;const _0x30b582=_0x31c917?.['regex'];if(!_0x30b582)_0x4c6dc1=_0x175bf6,_0x4eb8bc[_0x542e35(0x18a,0x80,0x123,_0x5b3ca8._0x23a609)]=_0x4eb8bc['totalProduced'];else{let _0x697a6e;try{_0x697a6e=new RegExp(_0x30b582);}catch(_0x5a11e4){throw new ToolExecutionError('Invalid\x20regex:\x20'+_0x5a11e4[_0x2a7322(0x31a,0x238,0x1d0,0x319)],{'shellId':_0x4a3466,'regex':_0x30b582});}let _0x41dd9b=_0x175bf6;if(!_0x93a73d){const _0x43f1e6=_0x175bf6[_0x2a7322(0x42e,0x51d,0x2b4,_0x5b3ca8._0x6d1c68)]('\x0a');_0x41dd9b=_0x43f1e6>=0x0?_0x175bf6['slice'](0x0,_0x43f1e6+0x1):'';}_0x4c6dc1=_0x41dd9b[_0x542e35(_0x5b3ca8._0x1c9b04,_0x5b3ca8._0x265207,0x18d,_0x5b3ca8._0x13a716)]('\x0a')[_0x542e35(0x229,0x3f0,0x2b4,0x2f9)](_0x50dbf9=>_0x697a6e[_0x2a7322(0x35f,0x31c,0x36c,0x220)](_0x50dbf9))[_0x542e35(_0x5b3ca8._0x4f0944,0x3b6,0x1ae,_0x5b3ca8._0x1eaf3c)]('\x0a'),_0x4eb8bc[_0x542e35(_0x5b3ca8._0x41fcbf,0x18b,_0x5b3ca8._0x791dea,_0x5b3ca8._0x5cc278)]=_0xc2be75+_0x41dd9b[_0x2a7322(0x359,0x3b8,0x2e4,_0x5b3ca8._0x336f59)];}const _0x408e34=(_0x1a1fe9>0x0?_0x2a7322(_0x5b3ca8._0x5efde4,0x327,0x33b,_0x5b3ca8._0xe97f8f)+_0x1a1fe9+_0x542e35(_0x5b3ca8._0x346fd1,_0x5b3ca8._0xe4e29f,_0x5b3ca8._0x5a5624,0x1cb):'')+_0x4c6dc1;return{'output':_0x408e34,'status':_0x4eb8bc[_0x542e35(_0x5b3ca8._0x4d4e78,_0x5b3ca8._0x3e5650,0x4c7,_0x5b3ca8._0x4b8a9d)],'exitCode':_0x4eb8bc[_0x2a7322(0x49a,0x381,0x36a,0x55f)],'signal':_0x4eb8bc[_0x2a7322(_0x5b3ca8._0x648de8,_0x5b3ca8._0x3eecb0,0x29a,_0x5b3ca8._0x17e279)],'truncated':_0x1a1fe9>0x0};}[_0x42babe(0x358,0x358,0x3cb,0x35b)](){const _0x1c4971={_0x407821:0xfb,_0x38a70e:0x24b,_0x591778:0x1d5,_0x1dd471:0x1df,_0xa3259d:0x7b,_0x5d4bb2:0x6b,_0x4c2bc4:0x3c},_0x14bcf6={_0x51796f:0xcd,_0x2b9c7c:0x1f},_0x297c69={_0x410694:0x38,_0x2b2760:0xb4};function _0xdf169e(_0x2b72e7,_0x36cbea,_0x187a47,_0x4ea2b2){return _0x42babe(_0x2b72e7-0x406,_0x36cbea-_0x297c69._0x410694,_0x187a47,_0x4ea2b2-_0x297c69._0x2b2760);}function _0x5c14c9(_0x5077d6,_0x592b03,_0x5f2feb,_0x30e56a){return _0x42babe(_0x592b03- -0x228,_0x592b03-_0x14bcf6._0x51796f,_0x5077d6,_0x30e56a-_0x14bcf6._0x2b9c7c);}return[...this[_0x5c14c9(0x124,_0x1c4971._0x407821,_0x1c4971._0x38a70e,_0x1c4971._0x591778)][_0x5c14c9(-_0x1c4971._0x1dd471,-_0x1c4971._0xa3259d,-_0x1c4971._0x5d4bb2,_0x1c4971._0x4c2bc4)]()];}['kill'](_0x4561c4){const _0x54765c={_0x5b6579:0x545,_0x3ff3d2:0x742,_0x137e74:0x660,_0x164cfc:0x6c7,_0x418492:0x564,_0x436b0a:0x1f3,_0x5d8ff2:0x348,_0x57049b:0x534,_0x338aaf:0x489,_0xc98f58:0x2c,_0x4f27d7:0x280,_0x1b3363:0x113,_0x5ac39c:0x49c,_0x17aae9:0x6a0,_0x3da56a:0x55f,_0x1b8928:0x352,_0x23cf20:0x10a,_0x467814:0x5f3,_0x3372e6:0x529,_0x2b489a:0x462,_0x1b3a05:0x31c,_0xb1400b:0x2f6,_0x1da173:0x31e,_0x5e2e27:0x540,_0x41e29e:0x3be,_0x3be77c:0x681,_0x3d6bc5:0x524,_0x479b86:0x49,_0x375b9c:0x1b4},_0x5d9187={_0x2a8c6a:0xe9,_0x3cfced:0x171},_0x5c8431={_0x1e157f:0x32d,_0x46c020:0x137};function _0x7784ef(_0x19e2f4,_0x46ed47,_0x171712,_0x3e5845){return _0x42babe(_0x171712-_0x5c8431._0x1e157f,_0x46ed47-0x162,_0x3e5845,_0x3e5845-_0x5c8431._0x46c020);}const _0x125041=this[_0x588c48(0xfd,0x282,0x28f,0x23a)][_0x7784ef(0x6bf,0x598,0x5d9,_0x54765c._0x5b6579)](_0x4561c4);if(!_0x125041)throw new ToolExecutionError(_0x7784ef(_0x54765c._0x3ff3d2,_0x54765c._0x137e74,_0x54765c._0x164cfc,_0x54765c._0x418492)+_0x4561c4,{'shellId':_0x4561c4});function _0x588c48(_0x3c95ff,_0x5dc1d5,_0x5e6922,_0x4dbe8b){return _0x42babe(_0x4dbe8b- -_0x5d9187._0x2a8c6a,_0x5dc1d5-0xec,_0x5e6922,_0x4dbe8b-_0x5d9187._0x3cfced);}if(_0x125041[_0x588c48(_0x54765c._0x436b0a,_0x54765c._0x5d8ff2,0x446,0x2d5)]===_0x7784ef(0x3a8,_0x54765c._0x57049b,0x439,_0x54765c._0x338aaf)&&_0x125041[_0x588c48(_0x54765c._0xc98f58,0xa8,_0x54765c._0x4f27d7,_0x54765c._0x1b3363)]&&!_0x125041[_0x7784ef(_0x54765c._0x5ac39c,_0x54765c._0x17aae9,_0x54765c._0x3da56a,0x460)]){_0x125041[_0x588c48(0x304,_0x54765c._0x1b8928,_0x54765c._0x23cf20,0x223)]=!![];try{killProcessGroup(_0x125041[_0x7784ef(0x658,_0x54765c._0x467814,_0x54765c._0x3372e6,_0x54765c._0x2b489a)],process[_0x588c48(_0x54765c._0x1b3a05,0x412,_0x54765c._0xb1400b,_0x54765c._0x1da173)]===_0x7784ef(_0x54765c._0x5e2e27,0x4db,0x566,0x6a6));}catch{}}return{'status':_0x125041[_0x588c48(0x420,0x42d,_0x54765c._0x41e29e,0x2d5)],'exitCode':_0x125041[_0x7784ef(0x75d,0x736,_0x54765c._0x3be77c,_0x54765c._0x3d6bc5)],'signal':_0x125041[_0x588c48(0x32f,_0x54765c._0x479b86,0x165,_0x54765c._0x375b9c)]};}async[_0x41c53b(0x351,0x498,0x39d,0x606)](){const _0x24e9a8={_0x5463fa:0x234,_0x3b013e:0xc6,_0x2dfe31:0x9b,_0x5327f2:0x17,_0xe67a51:0x10c,_0x139b49:0x7ae,_0x779df:0x78e,_0x5a4673:0x4fc,_0x155e23:0x6f2,_0x380444:0x6f8,_0x48fbc0:0xc4,_0x4d47cb:0x21,_0x5de775:0x5ec,_0x5302dc:0x6ba,_0x146bb9:0x274,_0x213ab6:0x1bf,_0x429b04:0x1a5,_0x3d1f83:0x565,_0x312de2:0x718,_0x37bff0:0x741},_0x19e74b={_0x3eca1b:0x3f0,_0xec3f5c:0x1};function _0x33f911(_0x3d6d94,_0x275ba8,_0x1f7903,_0x18d991){return _0x42babe(_0x3d6d94-_0x19e74b._0x3eca1b,_0x275ba8-0x9b,_0x275ba8,_0x18d991-_0x19e74b._0xec3f5c);}function _0xe694c2(_0x1f8fcf,_0x23a557,_0x4a54b2,_0x28f3e9){return _0x42babe(_0x23a557- -0x248,_0x23a557-0xc4,_0x4a54b2,_0x28f3e9-0xf);}for(const _0x971481 of this[_0xe694c2(0x85,0xdb,_0x24e9a8._0x5463fa,-0x94)][_0xe694c2(-_0x24e9a8._0x3b013e,-_0x24e9a8._0x2dfe31,_0x24e9a8._0x5327f2,-_0x24e9a8._0xe67a51)]()){if(_0x971481[_0x33f911(_0x24e9a8._0x139b49,0x7fa,_0x24e9a8._0x779df,0x870)]===_0x33f911(_0x24e9a8._0x5a4673,0x654,0x4f0,0x45a)&&_0x971481[_0x33f911(0x5ec,0x63e,_0x24e9a8._0x155e23,_0x24e9a8._0x380444)]&&!_0x971481['processExited']){_0x971481[_0xe694c2(0x15f,_0x24e9a8._0x48fbc0,0x15,_0x24e9a8._0x4d47cb)]=!![];try{killProcessGroup(_0x971481[_0x33f911(_0x24e9a8._0x5de775,_0x24e9a8._0x5302dc,0x520,0x591)],process[_0xe694c2(_0x24e9a8._0x146bb9,_0x24e9a8._0x213ab6,0x314,_0x24e9a8._0x429b04)]===_0x33f911(0x629,_0x24e9a8._0x3d1f83,_0x24e9a8._0x312de2,_0x24e9a8._0x37bff0));}catch{}}}}[_0x42babe(0x2c0,0x1c7,0x405,0x32b)](_0x16593f,_0x5a1a6d){const _0x571380={_0x2b4de1:0x1d5,_0x44cfa6:0x266,_0x123554:0x33e,_0x4492cb:0x2be,_0x303394:0x1c7,_0x2ed382:0x25f,_0x1f7211:0x4f7,_0x1917b8:0x337,_0x1abb70:0x3f5,_0x47303c:0x573,_0x10a1ca:0x257,_0x5290f0:0x45a,_0x540a91:0x27d,_0x4fd61a:0x3ad,_0x7efcf8:0x326,_0x216d3f:0x2df,_0x3e12fb:0x28a,_0x2d50a0:0x484,_0x3fb3cc:0x51b,_0x502bc5:0x3a9,_0x23e630:0x53c,_0x128a03:0x378,_0x10cf72:0x210,_0x501127:0x4a9,_0x5d347f:0x42d,_0x3fb81e:0x38a,_0x429af2:0x504,_0xe3049c:0x484,_0x4e63ab:0x534,_0x4d181d:0x2de,_0x2ea52b:0x2ab,_0x348435:0x540},_0x42ba5c={_0x801003:0x36,_0x3827ff:0x192},_0x3a7181={_0x551032:0x14f},_0x4f52d0=_0x16593f['stripAnsi']?stripAnsiAndControls(_0x5a1a6d):_0x5a1a6d;if(_0x4f52d0['length']===0x0)return;_0x16593f[_0x5d2431(0x2d8,_0x571380._0x2b4de1,_0x571380._0x44cfa6,_0x571380._0x123554)][_0x5d2431(0x187,_0x571380._0x4492cb,_0x571380._0x303394,_0x571380._0x2ed382)](_0x4f52d0);function _0x265ffd(_0x260af5,_0x23eb46,_0x1b4a55,_0x14058a){return _0x42babe(_0x23eb46-0x1e2,_0x23eb46-_0x3a7181._0x551032,_0x1b4a55,_0x14058a-0xda);}_0x16593f[_0x265ffd(0x59a,0x48b,_0x571380._0x1f7211,0x4b8)]+=_0x4f52d0[_0x265ffd(_0x571380._0x1917b8,_0x571380._0x1abb70,0x359,_0x571380._0x47303c)],_0x16593f[_0x5d2431(0x361,0x1fc,_0x571380._0x10a1ca,0x262)]+=_0x4f52d0[_0x265ffd(_0x571380._0x5290f0,0x3f5,_0x571380._0x540a91,0x31f)];function _0x5d2431(_0x5e1d3a,_0x4eb9e3,_0x85691f,_0x166c4f){return _0x42babe(_0x5e1d3a-_0x42ba5c._0x801003,_0x4eb9e3-0x1ab,_0x85691f,_0x166c4f-_0x42ba5c._0x3827ff);}while(_0x16593f['bufferChars']>this[_0x5d2431(0x31f,_0x571380._0x4fd61a,_0x571380._0x7efcf8,0x22c)]){const _0x175a3b=_0x16593f[_0x5d2431(_0x571380._0x216d3f,_0x571380._0x3e12fb,0x35a,0x1a9)]-this['capChars'],_0xf8bdd5=_0x16593f[_0x265ffd(0x4b9,_0x571380._0x2d50a0,0x44b,_0x571380._0x3fb3cc)][0x0];_0xf8bdd5['length']<=_0x175a3b?(_0x16593f[_0x265ffd(_0x571380._0x502bc5,0x484,0x336,_0x571380._0x23e630)][_0x265ffd(0x3e3,_0x571380._0x128a03,_0x571380._0x10cf72,_0x571380._0x501127)](),_0x16593f['bufferChars']-=_0xf8bdd5['length'],_0x16593f[_0x265ffd(0x52c,_0x571380._0x5d347f,_0x571380._0x3fb81e,_0x571380._0x1917b8)]+=_0xf8bdd5['length']):(_0x16593f[_0x265ffd(_0x571380._0x429af2,_0x571380._0xe3049c,_0x571380._0x4e63ab,0x5b6)][0x0]=_0xf8bdd5[_0x5d2431(0x3b6,0x2d7,0x4a9,0x282)](_0x175a3b),_0x16593f[_0x5d2431(0x2df,0x434,0x279,0x1cd)]-=_0x175a3b,_0x16593f[_0x265ffd(_0x571380._0x4d181d,0x42d,_0x571380._0x2ea52b,_0x571380._0x348435)]+=_0x175a3b);}}['evictIfNeeded'](){const _0x543940={_0x3bfda6:0x2c5,_0x3e5f1a:0x3d1,_0x339915:0x34d,_0x34b5ba:0x17c,_0x12e356:0x234,_0x1e668d:0x136,_0x4172f8:0x382,_0x57e7c2:0xe0,_0x2c33d7:0x343,_0x18f095:0x344},_0x2cef03={_0x99d2c9:0x103},_0x7c21f3={_0x5baa40:0x125,_0x1d7053:0x1c2};function _0x3c6992(_0x464c3e,_0x32ab62,_0x29c3a8,_0x21d4f3){return _0x41c53b(_0x464c3e-_0x7c21f3._0x5baa40,_0x29c3a8- -_0x7c21f3._0x1d7053,_0x21d4f3,_0x21d4f3-0x153);}if(this[_0x3c6992(_0x543940._0x3bfda6,0x338,_0x543940._0x3e5f1a,0x4c5)][_0x36b080(0x1af,0x32b,0x2da,0x289)]<=this[_0x36b080(0x1a9,_0x543940._0x339915,_0x543940._0x34b5ba,_0x543940._0x12e356)])return;function _0x36b080(_0x33ef34,_0x249281,_0xcdd5fc,_0x2561ac){return _0x41c53b(_0x33ef34-_0x2cef03._0x99d2c9,_0x2561ac- -0x362,_0xcdd5fc,_0x2561ac-0xc5);}for(const [_0x1ec5aa,_0x4d34da]of this[_0x36b080(_0x543940._0x1e668d,0x294,_0x543940._0x4172f8,0x231)]){if(_0x4d34da['status']!==_0x36b080(_0x543940._0x57e7c2,0x6d,0xb,0x1a)){this['entries'][_0x3c6992(0x182,_0x543940._0x2c33d7,0x23a,_0x543940._0x18f095)](_0x1ec5aa);return;}}}};function createBashOutputTool(_0x4429ee){const _0x39f96b={_0x46ee31:0x9c,_0x3588fc:0xd5,_0x232a3d:0x29c,_0x2d8835:0xff,_0x3b3fec:0x25e,_0x38bda4:0x180,_0x30a27c:0xe,_0x30f349:0x180,_0xd99df5:0x36,_0x1b0e67:0x9e,_0x5c027f:0x14b},_0x45990d={_0x24b14b:0x745,_0x4c8f00:0x5d1,_0x17a96a:0x728,_0x3c73e9:0x69f,_0x1a066f:0x64e,_0x8d3c5e:0x62a,_0x5959a7:0x706,_0x33ff35:0x805,_0x166fff:0x64,_0x59b949:0x77,_0x2bfc08:0x85,_0x1f7e5a:0x611,_0x3620ca:0x559},_0x59dd65={_0x1c419a:0x14a,_0x38a063:0x6f,_0x5ef552:0xa0},_0x5cd2ca={_0x39b12d:0x113},{registry:_0x2489eb}=_0x4429ee;function _0x4b5771(_0x29ead3,_0x34ddc7,_0xf05777,_0x31fb45){return _0x42babe(_0x29ead3- -0x32f,_0x34ddc7-0xee,_0xf05777,_0x31fb45-_0x5cd2ca._0x39b12d);}function _0x45236f(_0x15b034,_0x185c48,_0x54de34,_0x3e4eef){return _0x42babe(_0x185c48- -0x1ca,_0x185c48-0x3,_0x3e4eef,_0x3e4eef-0x9c);}return defineTool({'name':_0x4b5771(-_0x39f96b._0x46ee31,_0x39f96b._0x3588fc,-0xd,-0x11e),'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':_0x45236f(_0x39f96b._0x232a3d,0x17b,0x129,_0x39f96b._0x2d8835),'properties':{'shellId':{'type':_0x45236f(_0x39f96b._0x3b3fec,_0x39f96b._0x38bda4,_0x39f96b._0x30a27c,0x159)},'regex':{'type':_0x45236f(0x1d7,_0x39f96b._0x30f349,0x217,0x20f)}},'required':[_0x4b5771(_0x39f96b._0xd99df5,-_0x39f96b._0x1b0e67,-0x123,-_0x39f96b._0x5c027f)]},async *'execute'(_0x45a481){const _0x31c657={_0x389a70:0x1e1,_0x54f73c:0x1f},_0x51085d=_0x2489eb[_0x3998a1(0x6bc,_0x45990d._0x24b14b,_0x45990d._0x4c8f00,_0x45990d._0x17a96a)](_0x45a481['shellId'],_0x45a481['regex']?{'regex':_0x45a481['regex']}:void 0x0);function _0x406d69(_0x25af2e,_0x127a11,_0x4d57a0,_0x3d27dd){return _0x45236f(_0x25af2e-_0x59dd65._0x1c419a,_0x127a11- -_0x59dd65._0x38a063,_0x4d57a0-_0x59dd65._0x5ef552,_0x4d57a0);}function _0x3998a1(_0x3b2470,_0x24433e,_0x529c10,_0x3eb419){return _0x45236f(_0x3b2470-_0x31c657._0x389a70,_0x24433e-0x5c6,_0x529c10-_0x31c657._0x54f73c,_0x3b2470);}return createToolOutput(_0x51085d['output'],{'shellId':_0x45a481[_0x3998a1(_0x45990d._0x3c73e9,0x761,_0x45990d._0x1a066f,0x6f6)],'status':_0x51085d['status'],'exitCode':_0x51085d[_0x3998a1(_0x45990d._0x8d3c5e,0x750,_0x45990d._0x5959a7,_0x45990d._0x33ff35)],'signal':_0x51085d[_0x406d69(-0x26,_0x45990d._0x166fff,_0x45990d._0x59b949,_0x45990d._0x2bfc08)],'truncated':_0x51085d[_0x3998a1(_0x45990d._0x1f7e5a,0x698,_0x45990d._0x3620ca,0x5c4)]});}});}import{spawn as _0x191853}from'child_process';import{statSync}from'fs';import*as _0x4b7e28 from'os';import*as _0x2123a5 from'path';import{StringDecoder as _0x3462df}from'string_decoder';import{stat}from'fs/promises';import*as _0x113232 from'path';function isPathInside(_0x4917e8,_0xcc18ce){const _0x13aa51={_0x2447a2:0x3d8,_0xd8126f:0x2ad,_0x49c7c8:0x3e9,_0x305e5b:0x520,_0xd1db0c:0x432,_0x27c5d4:0x497},_0x575b9f={_0x430f06:0x101},_0x39b24d={_0x434c47:0x226,_0x142c09:0x8d,_0x57fe59:0x1ca},_0x2f5af1=_0x113232['resolve'](_0x4917e8);function _0x1d57bc(_0x599400,_0x4dde49,_0x140697,_0x584f66){return _0x42babe(_0x584f66-_0x39b24d._0x434c47,_0x4dde49-_0x39b24d._0x142c09,_0x599400,_0x584f66-_0x39b24d._0x57fe59);}function _0x828461(_0x48ac25,_0x3d77b9,_0x460c2d,_0x5a5e03){return _0x42babe(_0x5a5e03-0x121,_0x3d77b9-_0x575b9f._0x430f06,_0x3d77b9,_0x5a5e03-0x133);}const _0x3319bb=_0x113232[_0x1d57bc(0x42e,_0x13aa51._0x2447a2,_0x13aa51._0xd8126f,0x360)](_0x2f5af1,_0xcc18ce);return _0x3319bb===''||!_0x3319bb[_0x1d57bc(_0x13aa51._0x49c7c8,_0x13aa51._0x305e5b,0x508,_0x13aa51._0xd1db0c)]('..')&&!_0x113232[_0x1d57bc(0x567,0x5eb,0x5a1,_0x13aa51._0x27c5d4)](_0x3319bb);}function resolveWorkspacePath(_0x45eda4,_0xffba27){return resolveAllowedPath(_0x45eda4,[],_0xffba27);}function resolveAllowedPath(_0x4846e0,_0x4585bf,_0x5baaee){const _0x34c49b={_0x354bc4:0x5cc,_0x4d3e6a:0x4c0,_0x1a398c:0x607,_0x558ccf:0x673,_0x49c52a:0x424,_0x1e3aaf:0x48e,_0x3be8a6:0x3da},_0x4a3fa2={_0x1c5d03:0x197},_0x589486={_0x2bb773:0x256,_0x57bcae:0x19d},_0x56c972=_0x113232[_0x2e5b59(0x4dc,0x4c0,0x4f2,0x5a8)](_0x4846e0);function _0x2e5b59(_0x32fa02,_0x5ab596,_0x49aa11,_0x56f0fb){return _0x42babe(_0x5ab596-_0x589486._0x2bb773,_0x5ab596-0x14b,_0x32fa02,_0x56f0fb-_0x589486._0x57bcae);}const _0x2d09ca=_0x113232[_0x2e5b59(_0x34c49b._0x354bc4,_0x34c49b._0x4d3e6a,_0x34c49b._0x1a398c,0x3a8)](_0x56c972,_0x5baaee),_0x11f9ea=[_0x56c972,..._0x4585bf[_0x2e5b59(_0x34c49b._0x558ccf,0x5f4,0x53c,0x59a)](_0x38aeba=>_0x113232[_0x2e5b59(0x3f4,0x4c0,0x5ea,0x57e)](_0x38aeba))];if(_0x11f9ea['some'](_0x2cee7b=>isPathInside(_0x2cee7b,_0x2d09ca)))return _0x2d09ca;function _0x21866e(_0x41a356,_0x18c7c4,_0x2baae8,_0xae2718){return _0x41c53b(_0x41a356-_0x4a3fa2._0x1c5d03,_0xae2718- -0x3e7,_0x2baae8,_0xae2718-0x2e);}throw new ToolExecutionError(_0x2e5b59(_0x34c49b._0x49c52a,_0x34c49b._0x1e3aaf,_0x34c49b._0x3be8a6,0x4f6)+_0x5baaee,{'path':_0x5baaee,'rootDir':_0x56c972,'allowedDirs':_0x11f9ea});}async function assertWorkspaceFile(_0x33e6d4){const _0xc0e39e={_0x2751f8:0x6b7,_0x26a345:0x524},_0x55ab88={_0x2c8899:0x165};function _0x40e2b9(_0x1fd5af,_0x51411f,_0x537827,_0x138216){return _0x41c53b(_0x1fd5af-0xeb,_0x537827-0xa1,_0x51411f,_0x138216-_0x55ab88._0x2c8899);}const _0x504034=await stat(_0x33e6d4);if(!_0x504034['isFile']())throw new ToolExecutionError(_0x40e2b9(0x752,_0xc0e39e._0x2751f8,0x67e,_0xc0e39e._0x26a345)+_0x33e6d4,{'path':_0x33e6d4});}function isProbablyBinary(_0x534485){const _0x2a8e95={_0x5e9d21:0x32e,_0x57b7cf:0x250,_0xa632c5:0x112,_0x1a1c21:0x1a6},_0x4e1f1d={_0x48f9de:0x152};function _0x158245(_0x350b22,_0x4ef7ab,_0x1e14ab,_0x1fd4fb){return _0x41c53b(_0x350b22-0xfb,_0x1fd4fb- -0x22b,_0x4ef7ab,_0x1fd4fb-_0x4e1f1d._0x48f9de);}return _0x534485[_0x158245(_0x2a8e95._0x5e9d21,_0x2a8e95._0x57b7cf,_0x2a8e95._0xa632c5,_0x2a8e95._0x1a1c21)](0x0);}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION='Run\x20a\x20non-interactive\x20shell\x20command\x20with\x20timeout\x20protection\x20and\x20capture\x20stdout/stderr.\x20Use\x20FileRead\x20for\x20file\x20contents.\x20Use\x20outputRegex\x20for\x20focused\x20foreground\x20output,\x20ignoreOutput\x20when\x20only\x20the\x20exit\x20status\x20matters,\x20and\x20runInBackground\x20for\x20servers\x20or\x20watchers;\x20follow\x20background\x20runs\x20with\x20BashOutput\x20or\x20KillShell.\x20Provide\x20a\x20concise\x20user-facing\x20purpose\x20in\x20description.\x20Default\x20timeout:\x20'+DEFAULT_TIMEOUT_MS+_0x42babe(0x3df,0x533,0x436,0x2a6);function buildChildEnv(_0x2d5fd7,_0x26f80e){const _0xa0ae4a={_0x54ec0a:0x3f,_0x15e219:0x65,_0xea09b:0x110,_0x322ab7:0x24c,_0x24c640:0x38,_0x3eeed1:0xe8,_0x2b1ea6:0x2aa,_0x32986c:0x46c,_0x1051b0:0x280,_0x5cb330:0x2ec},_0x170221={_0x4d72bb:0x227,_0x5a08e7:0xe8},_0x9efd33={_0x8bd490:0x136};function _0x1f090b(_0x2b8fdb,_0x21d1b2,_0x1c0f63,_0x236281){return _0x41c53b(_0x2b8fdb-0xc7,_0x1c0f63- -0x41e,_0x236281,_0x236281-_0x9efd33._0x8bd490);}function _0x10b274(_0x40871a,_0x4e923e,_0x52efd4,_0x29e0a4){return _0x41c53b(_0x40871a-0x163,_0x52efd4- -_0x170221._0x4d72bb,_0x40871a,_0x29e0a4-_0x170221._0x5a08e7);}const _0x23f0b5={...process[_0x1f090b(0x224,0x8d,0x176,0x9e)],..._0x2d5fd7??{}};if(_0x26f80e[_0x1f090b(-0xc5,_0xa0ae4a._0x54ec0a,_0xa0ae4a._0x15e219,-_0xa0ae4a._0xea09b)]===0x0)return _0x23f0b5;if(_0x4b7e28['platform']()==='win32'){const _0x48195a=new Set(_0x26f80e[_0x1f090b(0x15a,_0xa0ae4a._0x322ab7,0x1f0,0x343)](_0x2cc0c9=>_0x2cc0c9[_0x10b274(0x319,0x1c7,0x327,0x313)]()));for(const _0x302a60 of Object[_0x1f090b(-_0xa0ae4a._0x24c640,0x4,_0xa0ae4a._0x3eeed1,0x4d)](_0x23f0b5)){if(_0x48195a[_0x10b274(0x463,_0xa0ae4a._0x2b1ea6,0x2ea,_0xa0ae4a._0x32986c)](_0x302a60[_0x10b274(_0xa0ae4a._0x1051b0,_0xa0ae4a._0x5cb330,0x327,0x365)]()))delete _0x23f0b5[_0x302a60];}}else{for(const _0x276efd of _0x26f80e)delete _0x23f0b5[_0x276efd];}return _0x23f0b5;}function mapSpawnError(_0x1fecac,_0x55bb6c){const _0xf87ce6={_0x4989ec:0xd,_0x4d8d4a:0xc,_0x339fac:0x44f,_0x43daea:0x289,_0x3e61f9:0x222,_0x34710a:0x35d},_0x171790={_0x2645eb:0x1bb,_0x3a9e97:0x9e};if(isErrnoException(_0x1fecac)&&_0x1fecac[_0x58d23d(0x611,0x4c6,0x591,0x515)]===_0x2df89f(-_0xf87ce6._0x4989ec,0xa7,-0x114,-_0xf87ce6._0x4d8d4a))return new ToolExecutionError(_0x58d23d(_0xf87ce6._0x339fac,_0xf87ce6._0x43daea,_0xf87ce6._0x3e61f9,_0xf87ce6._0x34710a)+_0x55bb6c['shellPath'],_0x55bb6c);function _0x2df89f(_0x103f5b,_0x160a7d,_0x300b29,_0x3e8507){return _0x42babe(_0x3e8507- -0x2e3,_0x160a7d-0x194,_0x300b29,_0x3e8507-0xd7);}function _0x58d23d(_0x5280d4,_0x2807bc,_0x47fc15,_0x39a32e){return _0x41c53b(_0x5280d4-_0x171790._0x2645eb,_0x39a32e- -_0x171790._0x3a9e97,_0x5280d4,_0x39a32e-0x1c2);}return new ToolExecutionError(_0x1fecac instanceof Error?_0x1fecac['message']:String(_0x1fecac),_0x55bb6c);}function shellExists(_0x1a8bb4){try{const _0xa13bd0=statSync(_0x1a8bb4);return _0xa13bd0['isFile']()&&(_0xa13bd0['mode']&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x4a2506){const _0x511ac1={_0x8e247e:0x512,_0x30e0b4:0x618,_0x26a788:0x74d,_0x140989:0x433,_0x4362b8:0x702,_0x10afd3:0x3ef,_0x5e02af:0x521,_0x221e5b:0x7ae,_0x3937f7:0x667,_0x44ec3d:0x681,_0xe7c563:0x75c,_0x5ad043:0x558,_0x301500:0x432,_0xa83eb8:0x66a,_0x40569c:0x63d,_0x1307da:0x465},_0x1d347e={_0x32812c:0x78},_0x1231f1={_0x786323:0x1d};if(_0x4a2506)return _0x4a2506;if(_0x4b7e28['platform']()===_0x46f137(0x666,_0x511ac1._0x8e247e,_0x511ac1._0x30e0b4,_0x511ac1._0x26a788))return process[_0x2b5a8e(0x605,_0x511ac1._0x140989,0x5b1,_0x511ac1._0x4362b8)][_0x2b5a8e(0x3e0,0x363,_0x511ac1._0x10afd3,_0x511ac1._0x5e02af)]||_0x46f137(_0x511ac1._0x221e5b,0x84c,0x8fb,0x7e9);const _0x49c905=['/bin/bash',_0x2b5a8e(0x6f3,_0x511ac1._0x3937f7,0x628,_0x511ac1._0x44ec3d),_0x46f137(0x67f,0x5c7,_0x511ac1._0xe7c563,0x579),_0x2b5a8e(_0x511ac1._0x5ad043,0x51e,_0x511ac1._0x301500,0x33c)];for(const _0x134e43 of _0x49c905){if(shellExists(_0x134e43))return _0x134e43;}const _0x592118=process[_0x46f137(0x751,_0x511ac1._0xa83eb8,0x622,0x6ee)]['SHELL'];function _0x2b5a8e(_0x5cddff,_0x5b07a9,_0x365b3b,_0x3c3736){return _0x41c53b(_0x5cddff-0x181,_0x365b3b-_0x1231f1._0x786323,_0x5cddff,_0x3c3736-0x1d8);}function _0x46f137(_0x537bdb,_0x3471f8,_0x34e417,_0x1d05c6){return _0x42babe(_0x537bdb-0x42d,_0x3471f8-_0x1d347e._0x32812c,_0x34e417,_0x1d05c6-0x1ea);}if(_0x592118&&shellExists(_0x592118))return _0x592118;return _0x46f137(0x543,_0x511ac1._0x40569c,_0x511ac1._0x1307da,0x44c);}function buildShellArgs(_0x5a11d0,_0x1c2aed){const _0x44fd41={_0x39dbe9:0x4ce,_0x15fc03:0x55d,_0xa42fb:0x44,_0x3d9b95:0x15a,_0x2fba28:0xfb,_0x15f6a2:0x74,_0x20fcde:0x2d5,_0x2d57e9:0x39c,_0x4ccac6:0x269,_0x4c3c15:0x1ff,_0x32be19:0x3b,_0x42fcfc:0x166},_0x3e5600={_0x5a2f84:0xfe},_0x25ad88={_0xcf4c4c:0x11e,_0x318ea9:0x17b,_0x2f0f88:0x1c9};function _0x54246b(_0x14ab2e,_0x135629,_0x2016c0,_0x594a8e){return _0x42babe(_0x135629- -_0x25ad88._0xcf4c4c,_0x135629-_0x25ad88._0x318ea9,_0x14ab2e,_0x594a8e-_0x25ad88._0x2f0f88);}function _0x25866f(_0x5d3b87,_0x3208f5,_0x20802e,_0x2961a6){return _0x41c53b(_0x5d3b87-0x1c0,_0x5d3b87- -0x1a9,_0x20802e,_0x2961a6-_0x3e5600._0x5a2f84);}if(_0x4b7e28[_0x25866f(_0x44fd41._0x39dbe9,0x460,0x634,_0x44fd41._0x15fc03)]()===_0x54246b(0x26d,0x11b,-0x44,_0x44fd41._0xa42fb)){const _0x58767e=/cmd(\.exe)?$/i[_0x54246b(_0x44fd41._0x3d9b95,_0x44fd41._0x2fba28,_0x44fd41._0x15f6a2,-0xf)](_0x1c2aed);return _0x58767e?['/d','/s','/c',_0x5a11d0]:[_0x25866f(_0x44fd41._0x20fcde,_0x44fd41._0x2d57e9,_0x44fd41._0x4ccac6,0x2f6),'-NoProfile',_0x54246b(_0x44fd41._0x4c3c15,0x11f,_0x44fd41._0x32be19,_0x44fd41._0x42fcfc),_0x5a11d0];}return['-c',_0x5a11d0];}function resolveWorkingDirectory(_0xef50de,_0x5981f9,_0xc20b72){const _0x3fdbb9={_0x260523:0x141,_0xac3774:0xef,_0x3d6e46:0x20c},_0xd9bb42={_0x1da47a:0x1d0},_0x46c6aa={_0x4f893e:0x180};function _0x2f8ff8(_0x1c9728,_0x5b7927,_0x19c998,_0x2f6ea8){return _0x41c53b(_0x1c9728-_0x46c6aa._0x4f893e,_0x1c9728- -0x4d9,_0x2f6ea8,_0x2f6ea8-0x1bd);}const _0x57e930=resolveAllowedPath(_0x5981f9,_0xc20b72,_0xef50de??'.');function _0x2d4ae2(_0x3141d3,_0x503ba6,_0x5949ed,_0x2a4b7a){return _0x41c53b(_0x3141d3-0x60,_0x503ba6- -0x539,_0x3141d3,_0x2a4b7a-_0xd9bb42._0x1da47a);}try{const _0x3112f7=statSync(_0x57e930);if(!_0x3112f7['isDirectory']())throw new ToolExecutionError(_0x2f8ff8(-_0x3fdbb9._0x260523,-0x2e,-0x39,-0x272)+_0x57e930,{'cwd':_0x57e930});return _0x57e930;}catch(_0x25b857){if(_0x25b857 instanceof ToolExecutionError)throw _0x25b857;throw new ToolExecutionError(_0x2f8ff8(-_0x3fdbb9._0xac3774,-0x67,-_0x3fdbb9._0x3d6e46,-0x232)+_0x57e930,{'cwd':_0x57e930});}}function emitChunk(_0x1574f3,_0x1b5aeb,_0x14ea58,_0x2397f4){const _0x5bb91a={_0x337b4d:0x254,_0x3d1c99:0xef,_0x760df3:0x19c},_0x4a1e2e={_0x3855af:0x1b8,_0x3c5e85:0x95};_0x1574f3[_0x3eb3cb(_0x5bb91a._0x337b4d,_0x5bb91a._0x3d1c99,0x209,_0x5bb91a._0x760df3)](_0x14ea58);function _0x3eb3cb(_0x2475aa,_0x17ddee,_0x4d4919,_0x4c43d1){return _0x41c53b(_0x2475aa-0x1dc,_0x4d4919- -_0x4a1e2e._0x3855af,_0x17ddee,_0x4c43d1-_0x4a1e2e._0x3c5e85);}_0x1b5aeb['push'](_0x14ea58),_0x2397f4();}function appendChunk(_0x10d304,_0x4f8bc4,_0x2234de,_0x4c09ca,_0x45f101,_0x2eaa2b){const _0x35f6a8={_0x3b8531:0x56d,_0x507669:0x5fe,_0x182850:0x3b3,_0x215515:0x4f5,_0x2897c4:0x4d8,_0xf3e1b4:0x49f,_0x1c36f9:0x573,_0x8eb484:0x406,_0x377424:0x660,_0x5a44eb:0x518,_0x444658:0x3b9,_0x272aea:0x479,_0x455a81:0x303,_0xb6303d:0x450,_0x164b27:0x36a,_0x35cf34:0x49b,_0x2aec01:0x614,_0x23e6d4:0x668,_0x5c6e7b:0x602,_0x53a72a:0x6f1,_0x20fae3:0x4c8,_0xba4cfc:0x4a9,_0x23dbc0:0x44a,_0x54f6b2:0x344,_0x55fb77:0x692,_0xe1722e:0x5d6,_0x36fc12:0x745,_0x5f30ef:0x6c4},_0x310628={_0x3c5baa:0x312},_0x5c670c={_0x1c3c8e:0x1e};function _0x1262ff(_0x405c5b,_0x5aa199,_0x3b7baa,_0x34181e){return _0x42babe(_0x405c5b-0x1f3,_0x5aa199-0xe4,_0x34181e,_0x34181e-_0x5c670c._0x1c3c8e);}const _0x44354e=_0x4c09ca?stripAnsiAndControls(_0x2234de):_0x2234de;function _0x3af394(_0x1841d8,_0x24702d,_0x2b70bd,_0x381ebc){return _0x42babe(_0x1841d8-_0x310628._0x3c5baa,_0x24702d-0x42,_0x2b70bd,_0x381ebc-0x9e);}if(_0x44354e[_0x3af394(0x525,_0x35f6a8._0x3b8531,_0x35f6a8._0x507669,_0x35f6a8._0x182850)]===0x0)return;if(!_0x2eaa2b){emitChunk(_0x10d304,_0x4f8bc4,_0x44354e,_0x45f101);return;}let _0x4ad3c5=0x0,_0x3923d0=_0x44354e[_0x1262ff(_0x35f6a8._0x215515,_0x35f6a8._0x2897c4,0x5ed,0x609)]('\x0a');while(_0x3923d0>=0x0){_0x2eaa2b['trailingChunks'][_0x3af394(0x463,0x54e,0x3b5,_0x35f6a8._0xf3e1b4)](_0x44354e[_0x1262ff(_0x35f6a8._0x1c36f9,_0x35f6a8._0x8eb484,_0x35f6a8._0x377424,0x625)](_0x4ad3c5,_0x3923d0));const _0x2c972b=_0x2eaa2b[_0x3af394(_0x35f6a8._0x5a44eb,0x5f7,_0x35f6a8._0x444658,_0x35f6a8._0x272aea)][_0x1262ff(0x4ee,0x5b3,0x460,0x56b)]('');_0x2eaa2b[_0x1262ff(0x3f9,0x2db,0x394,0x410)][_0x1262ff(0x406,_0x35f6a8._0x455a81,0x411,_0x35f6a8._0xb6303d)]=0x0,_0x2eaa2b[_0x1262ff(_0x35f6a8._0x164b27,0x467,0x3e5,_0x35f6a8._0x35cf34)]['test'](_0x2c972b)&&emitChunk(_0x10d304,_0x4f8bc4,_0x2c972b+'\x0a',_0x45f101),_0x4ad3c5=_0x3923d0+0x1,_0x3923d0=_0x44354e[_0x3af394(_0x35f6a8._0x2aec01,_0x35f6a8._0x23e6d4,_0x35f6a8._0x5c6e7b,_0x35f6a8._0x53a72a)]('\x0a',_0x4ad3c5);}_0x4ad3c5<_0x44354e[_0x3af394(0x525,0x5e0,0x5bc,_0x35f6a8._0x20fae3)]&&_0x2eaa2b[_0x3af394(0x518,_0x35f6a8._0xba4cfc,0x3a7,_0x35f6a8._0x23dbc0)][_0x1262ff(_0x35f6a8._0x54f6b2,0x3da,0x3f7,0x408)](_0x44354e[_0x3af394(_0x35f6a8._0x55fb77,_0x35f6a8._0xe1722e,_0x35f6a8._0x36fc12,_0x35f6a8._0x5f30ef)](_0x4ad3c5));}function _0x4ff3(_0xf898d2,_0x22020f){_0xf898d2=_0xf898d2-0x15b;const _0x44255d=_0x4425();let _0x4ff3ab=_0x44255d[_0xf898d2];if(_0x4ff3['XGxpEy']===undefined){var _0x254da3=function(_0x1d14fd){const _0x9ed438='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x289e4e='',_0x55bd52='';for(let _0x425a8d=0x0,_0x317338,_0x31f54c,_0x11ea2e=0x0;_0x31f54c=_0x1d14fd['charAt'](_0x11ea2e++);~_0x31f54c&&(_0x317338=_0x425a8d%0x4?_0x317338*0x40+_0x31f54c:_0x31f54c,_0x425a8d++%0x4)?_0x289e4e+=String['fromCharCode'](0xff&_0x317338>>(-0x2*_0x425a8d&0x6)):0x0){_0x31f54c=_0x9ed438['indexOf'](_0x31f54c);}for(let _0x41c082=0x0,_0x54d95a=_0x289e4e['length'];_0x41c082<_0x54d95a;_0x41c082++){_0x55bd52+='%'+('00'+_0x289e4e['charCodeAt'](_0x41c082)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x55bd52);};_0x4ff3['yoBhwD']=_0x254da3,_0x4ff3['HjzeBW']={},_0x4ff3['XGxpEy']=!![];}const _0x511e53=_0x44255d[0x0],_0x3a7e72=_0xf898d2+_0x511e53,_0x405f85=_0x4ff3['HjzeBW'][_0x3a7e72];return!_0x405f85?(_0x4ff3ab=_0x4ff3['yoBhwD'](_0x4ff3ab),_0x4ff3['HjzeBW'][_0x3a7e72]=_0x4ff3ab):_0x4ff3ab=_0x405f85,_0x4ff3ab;}function flushOutputRegex(_0x382176,_0x5b83ee,_0x4f9388,_0x3c3b68){const _0x497440={_0x10e6d0:0x335,_0x46f2ff:0x3e4,_0x179f8e:0x27e,_0x4f8ef1:0x275,_0x977f6a:0x410,_0x37ba2e:0x2b8,_0x44c375:0x147,_0x430362:0x95,_0x59f7d0:0x1bf,_0x30ae06:0x2be,_0x2dcca9:0x186},_0x1c48af={_0x1f1a59:0xd1},_0x542fa6={_0x501f70:0xa5,_0x255153:0x3b};function _0xb0db4a(_0x34d500,_0x107f2f,_0x3c3c0a,_0x1607cd){return _0x42babe(_0x3c3c0a-_0x542fa6._0x501f70,_0x107f2f-0x1ad,_0x107f2f,_0x1607cd-_0x542fa6._0x255153);}function _0x4daa98(_0x5b9412,_0x9c5f8a,_0x24d763,_0x4d0160){return _0x42babe(_0x4d0160-0x1de,_0x9c5f8a-0x19e,_0x24d763,_0x4d0160-_0x1c48af._0x1f1a59);}if(!_0x4f9388||_0x4f9388['trailingChunks']['length']===0x0)return;const _0xdacfff=_0x4f9388[_0x4daa98(0x2a3,_0x497440._0x10e6d0,0x2ca,_0x497440._0x46f2ff)][_0xb0db4a(0x4d0,0x21d,0x3a0,0x4fa)]('');_0x4f9388[_0x4daa98(_0x497440._0x179f8e,_0x497440._0x4f8ef1,_0x497440._0x977f6a,0x3e4)][_0xb0db4a(0x3eb,0x28d,_0x497440._0x37ba2e,0x2bc)]=0x0,_0x4f9388[_0xb0db4a(_0x497440._0x44c375,0x248,0x21c,_0x497440._0x430362)][_0xb0db4a(_0x497440._0x59f7d0,0x2c2,_0x497440._0x30ae06,_0x497440._0x2dcca9)](_0xdacfff)&&emitChunk(_0x382176,_0x5b83ee,_0xdacfff,_0x3c3b68);}function createBashTool(_0x19441a={}){const _0x320c30={_0x483e82:0x14f,_0x4a1539:0x24c,_0x297efb:0x2d1,_0x4538f2:0x251,_0x3a739c:0x24a,_0x2983d7:0x1e5,_0x280877:0x20c,_0x361c95:0x348,_0xff8a6a:0x457,_0x3eac30:0x319,_0x29380c:0x3bc,_0x15782f:0x339,_0x4df362:0x3c7,_0x5f239e:0x431,_0x4068ff:0x259,_0x42db59:0x4ff,_0x493d8f:0x3b0,_0xf0bbae:0x456,_0x134d4c:0x3c7,_0x3a41f1:0x359,_0x22f2b5:0x354,_0x2a12da:0x471,_0x1e17a1:0x44c,_0x355765:0x52b,_0x4aa80b:0x3b5,_0x115693:0x512,_0x46d98e:0x225,_0x2db5e8:0x253,_0x528276:0x236,_0x282f87:0x4be,_0x4ab058:0x3b5,_0x8a9877:0x20c,_0x42e0d4:0x571,_0x5192bd:0x3c2},_0x39a8dd={_0xec4208:0x2e8,_0x3ab69b:0x4ac,_0x45eca8:0x2a4,_0x3d28ec:0x1fb,_0x423e22:0x277,_0x1a2bb0:0x38e,_0x4a2933:0x4b9,_0x179081:0x2f7,_0x1c8b8c:0x4e7,_0x15a76:0x61d,_0x1254ed:0x4d3,_0x2def24:0x5d4,_0xb7439c:0x508,_0x39f364:0x286,_0x36f1a5:0x113,_0x3ee29b:0x31a,_0x3d56e2:0x5e3,_0x19cc65:0x5a6,_0x416eea:0x4ae,_0xe37127:0x606,_0x578ca8:0x6d7,_0x1992bf:0x4b1,_0x34a194:0x485,_0x257368:0x55a,_0x260abd:0x527,_0x74c932:0x4c8,_0x33de51:0x46d,_0xd92c30:0x558,_0x2c210c:0x62f,_0x3f79fd:0x5c5,_0x5f4add:0x5b6,_0x5947e9:0x232,_0x598df8:0x39c,_0x24edb8:0x2bd,_0x1c39e0:0x2aa,_0x5c5e1d:0x292,_0x128042:0x501,_0x2a8708:0x538,_0x2ade62:0x674,_0x30e5f6:0x524,_0x3375db:0x499,_0x1b8720:0x1b3,_0x1ab560:0x3b7,_0x1ffac9:0x127,_0x52aae1:0x57a,_0x3b2d9f:0x48a,_0x378aff:0x633,_0x737910:0x360,_0x1711cd:0x3a7,_0x2882ab:0x316,_0xf033d0:0x468,_0x334544:0x157,_0x7ecc0a:0x48d,_0x16a1a7:0x42e,_0x17470f:0x4c0,_0x903c52:0x3ed,_0x2b328d:0x35d,_0x5c286c:0x252,_0x588f03:0x203,_0x5b4e82:0x346,_0x185c89:0x2a0,_0x2e68cd:0x2b3,_0x3cd75d:0x42e,_0x22d49f:0x45e,_0x4cb8e9:0x2b5,_0x36edc0:0x3f0,_0xf1bf84:0x2d9,_0x527e4c:0x485,_0x4dcc93:0x38e,_0x472579:0x499,_0x2b3fbb:0x606,_0x2870c3:0x5c3,_0x16bccd:0x6be,_0x1e76dd:0x42d,_0x171e18:0x4da,_0x2e2aec:0x37f,_0x239165:0x2c9,_0x1d9f8c:0x94,_0x5a20b9:0x215,_0x1dda29:0x5da,_0x1f9a33:0x65c,_0x2f3ebd:0x232,_0x35257a:0x229,_0x79f2bf:0x304,_0x422ba6:0x490,_0x189441:0x369,_0x19c010:0x3ef,_0xbdf99d:0x434,_0x331bc7:0x3b4,_0x3079fd:0x411,_0x3e22ae:0x4f1,_0x294243:0x679,_0x3beeda:0x47f,_0x414d85:0x373,_0x569580:0x3fa,_0x48bba5:0x2f5,_0x2cdbbd:0x564,_0x3e85b7:0x533,_0x1d11e0:0x51d,_0x2bc444:0x50c,_0x4fff17:0x447,_0x501d25:0x4e1,_0x49ff30:0x6cd,_0x403d83:0x4a8,_0x4742a6:0x55e,_0x509d1d:0x339,_0x45b75e:0x15b,_0x9b42a0:0x1a3,_0x2d14ac:0x262,_0x33e84b:0x208,_0x505f43:0x234,_0x3d5945:0x215,_0x5de9a0:0x2d5,_0x2a5ae8:0x327,_0x2fb7df:0x323,_0x5cc970:0x445,_0x443030:0x640,_0x5978e6:0x48e},_0x393cb0={_0x3317bb:0x51b,_0x374c6b:0x5d9,_0x4853a6:0x562,_0x15a9b4:0xd3,_0xa6e58e:0xae,_0xad5762:0xd6,_0x255294:0x8b,_0x59c5a3:0x3cc,_0x27329e:0x3bf},_0x4c7b72={_0x18f647:0x155,_0x9c0d08:0x197},_0x1ed03d={_0x51396a:0x1b7,_0x2fda81:0x14e},_0x2a4e02={_0x5440a8:0x189,_0x13c014:0xf4},_0x3e7461={_0x210feb:0x6b,_0x191953:0x10a,_0x5725f6:0x1c8},_0x5a4602={_0x30ffca:0x1c1,_0x1cd74b:0x14e},_0x17f4d5=_0x2123a5[_0x4727b6(0x3e8,0x2b1,_0x320c30._0x483e82,0x2d5)](_0x19441a['defaultCwd']??process[_0x5b8a5d(_0x320c30._0x4a1539,_0x320c30._0x297efb,0x1a2,_0x320c30._0x4538f2)]());function _0x5b8a5d(_0xa1dbd5,_0x5119f6,_0x5bba25,_0x457648){return _0x41c53b(_0xa1dbd5-_0x5a4602._0x30ffca,_0x457648- -_0x5a4602._0x1cd74b,_0x5bba25,_0x457648-0x18f);}const _0x569848=_0x19441a[_0x4727b6(_0x320c30._0x3a739c,0x326,_0x320c30._0x2983d7,0x2c1)]??[],_0x11f26d=_0x19441a['defaultTimeoutMs']??DEFAULT_TIMEOUT_MS,_0x4dfe0d=_0x19441a['stripAnsi']??!![],_0x545809=_0x19441a[_0x5b8a5d(0x368,_0x320c30._0x280877,0x309,_0x320c30._0x361c95)]??_0x5b8a5d(_0x320c30._0xff8a6a,_0x320c30._0x3eac30,_0x320c30._0x29380c,_0x320c30._0x15782f);function _0x4727b6(_0x39ac78,_0xdf8af1,_0x500d9b,_0x476b19){return _0x42babe(_0x476b19-_0x3e7461._0x210feb,_0xdf8af1-_0x3e7461._0x191953,_0x500d9b,_0x476b19-_0x3e7461._0x5725f6);}const _0x5d2e99=_0x19441a['scrubEnvKeys']??[],_0x6786e7=_0x19441a[_0x5b8a5d(0x3e8,0x377,_0x320c30._0x4df362,0x425)];return defineTool({'name':_0x545809,'description':_0x19441a['description']??DEFAULT_DESCRIPTION,'inputSchema':{'type':_0x4727b6(_0x320c30._0x5f239e,_0x320c30._0x4068ff,_0x320c30._0x42db59,_0x320c30._0x493d8f),'properties':{'command':{'type':_0x5b8a5d(0x3be,_0x320c30._0xf0bbae,0x53f,0x46c)},'description':{'type':_0x4727b6(_0x320c30._0x134d4c,_0x320c30._0x3a41f1,0x2b8,0x3b5),'description':_0x5b8a5d(0x3d5,_0x320c30._0x22f2b5,_0x320c30._0x2a12da,_0x320c30._0x1e17a1)},'cwd':{'type':_0x4727b6(0x487,_0x320c30._0x355765,0x4b9,_0x320c30._0x4aa80b)},'timeoutMs':{'type':_0x5b8a5d(0x510,_0x320c30._0x115693,0x3cc,0x43b)},'ignoreOutput':{'type':_0x5b8a5d(_0x320c30._0x4aa80b,_0x320c30._0x46d98e,_0x320c30._0x2db5e8,_0x320c30._0x528276)},'outputRegex':{'type':_0x4727b6(0x265,0x288,_0x320c30._0x282f87,_0x320c30._0x4ab058),'description':'For\x20foreground\x20runs,\x20return\x20only\x20complete\x20stdout/stderr\x20lines\x20matching\x20this\x20regex;\x20exit\x20status\x20is\x20unchanged.'},'runInBackground':{'type':_0x5b8a5d(0x15d,0xf1,_0x320c30._0x8a9877,0x236)}},'required':['command',_0x5b8a5d(0x50a,_0x320c30._0x42e0d4,_0x320c30._0x5192bd,0x47d)]},async *'execute'(_0x1fa45f,_0x455529){const _0x2006ff={_0x274649:0x101},_0x54bd80={_0x230b3f:0x125},_0x5d522a={_0x4c66c8:0x116,_0x1d6fbe:0x22f,_0x375507:0x182,_0x1c806c:0x1f0},_0x44000a={_0x3b1e0a:0x114,_0x24ceb7:0x21f,_0x5e3e98:0x382,_0x22a55f:0x2a2,_0x1518a7:0x389},_0x49f4db={_0x150c2e:0x435,_0x4117f8:0x410},_0x103496={_0x2e98b1:0xda},_0x385017=_0x1fa45f[_0x34ef86(0x318,0x18d,0x3da,0x27b)]??_0x11f26d;if(!Number['isFinite'](_0x385017)||_0x385017<0x1)throw new ToolExecutionError('Invalid\x20timeoutMs:\x20expected\x20a\x20positive\x20number',{'command':_0x1fa45f['command']});throwIfAborted(_0x455529[_0x34ef86(0x20f,_0x39a8dd._0xec4208,_0x39a8dd._0x3ab69b,0x369)]);const _0x14c90e=resolveWorkingDirectory(_0x1fa45f[_0x34ef86(0x26f,0x2f8,_0x39a8dd._0x45eca8,_0x39a8dd._0x3d28ec)],_0x17f4d5,_0x569848),_0x328f11=_0x1fa45f[_0x34ef86(0x411,_0x39a8dd._0x423e22,_0x39a8dd._0x1a2bb0,0x3b1)]??![],_0x5dc480=resolveDefaultShell(_0x19441a[_0x4ab66d(_0x39a8dd._0x4a2933,0x3dd,_0x39a8dd._0x179081,0x46c)]),_0x453ddc=buildShellArgs(_0x1fa45f[_0x4ab66d(_0x39a8dd._0x1c8b8c,_0x39a8dd._0x15a76,0x542,0x506)],_0x5dc480),_0xb465a2=_0x4b7e28[_0x34ef86(0x621,0x485,0x570,_0x39a8dd._0x1254ed)]()===_0x4ab66d(_0x39a8dd._0x2def24,0x45a,0x3bf,_0x39a8dd._0xb7439c);if(_0x1fa45f[_0x4ab66d(_0x39a8dd._0x39f364,0x3d5,0x52f,0x553)]){if(!_0x6786e7)throw new ToolExecutionError(_0x34ef86(_0x39a8dd._0x36f1a5,0x22c,_0x39a8dd._0x3ee29b,0x22f),{'command':_0x1fa45f['command']});throwIfAborted(_0x455529['signal']);let _0x309e19;try{_0x309e19=_0x191853(_0x5dc480,_0x453ddc,{'cwd':_0x14c90e,'env':buildChildEnv(_0x19441a[_0x4ab66d(_0x39a8dd._0x3d56e2,0x545,0x648,0x6cc)],_0x5d2e99),'stdio':[_0x4ab66d(_0x39a8dd._0x19cc65,0x4e3,0x5ff,0x55c),_0x4ab66d(_0x39a8dd._0x416eea,_0x39a8dd._0xe37127,0x599,_0x39a8dd._0x578ca8),_0x34ef86(0x47d,0x59f,0x3d5,_0x39a8dd._0x1992bf)],'shell':![],'windowsHide':!![],'detached':!_0xb465a2});}catch(_0x167b81){throw mapSpawnError(_0x167b81,{'command':_0x1fa45f[_0x34ef86(_0x39a8dd._0x34a194,_0x39a8dd._0x257368,_0x39a8dd._0x260abd,_0x39a8dd._0x74c932)],'cwd':_0x14c90e,'shellPath':_0x5dc480});}let _0xd63475;try{_0xd63475=_0x6786e7[_0x4ab66d(_0x39a8dd._0x33de51,0x529,0x3fd,_0x39a8dd._0xd92c30)]({'child':_0x309e19,'command':_0x1fa45f[_0x34ef86(_0x39a8dd._0x2c210c,_0x39a8dd._0x3f79fd,_0x39a8dd._0x5f4add,0x4c8)],'cwd':_0x14c90e,'stripAnsi':_0x4dfe0d});}catch(_0x475294){_0x309e19[_0x4ab66d(_0x39a8dd._0x5947e9,_0x39a8dd._0x598df8,_0x39a8dd._0x24edb8,_0x39a8dd._0x1c39e0)](_0x34ef86(0x16a,0x2b1,0x21e,_0x39a8dd._0x5c5e1d),()=>{});try{killProcessGroup(_0x309e19,_0xb465a2);}catch{}throw _0x475294;}return createToolOutput(_0x4ab66d(_0x39a8dd._0x128042,_0x39a8dd._0x2a8708,_0x39a8dd._0x74c932,_0x39a8dd._0x2ade62)+_0xd63475['shellId']+'\x20(pid\x20'+(_0xd63475[_0x34ef86(0x3cd,0x372,_0x39a8dd._0x30e5f6,_0x39a8dd._0x3375db)]??'?')+_0x34ef86(_0x39a8dd._0x1b8720,_0x39a8dd._0x1ab560,_0x39a8dd._0x1ffac9,0x230),{'shellId':_0xd63475[_0x4ab66d(0x4c6,0x586,0x4fb,_0x39a8dd._0x52aae1)],'status':_0xd63475[_0x34ef86(0x436,0x342,0x547,_0x39a8dd._0x3b2d9f)],'command':_0xd63475[_0x34ef86(_0x39a8dd._0x378aff,_0x39a8dd._0x737910,_0x39a8dd._0x1711cd,_0x39a8dd._0x74c932)],'description':_0x1fa45f[_0x34ef86(_0x39a8dd._0x2882ab,0x588,_0x39a8dd._0xf033d0,0x427)],'cwd':_0xd63475[_0x34ef86(_0x39a8dd._0x334544,0x10b,0x2de,0x1fb)],'pid':_0xd63475['pid']??null});}let _0x56057d;function _0x34ef86(_0x476990,_0x28f3fd,_0x3b8144,_0x3f8cd4){return _0x4727b6(_0x476990-_0x2a4e02._0x5440a8,_0x28f3fd-_0x2a4e02._0x13c014,_0x476990,_0x3f8cd4-0x61);}let _0x9c59d9;if(_0x1fa45f[_0x4ab66d(_0x39a8dd._0x7ecc0a,_0x39a8dd._0x16a1a7,0x41b,_0x39a8dd._0x17470f)]!==void 0x0)try{const _0x47a13a=new RegExp(_0x1fa45f['outputRegex']);_0x56057d={'regex':_0x47a13a,'trailingChunks':[]},_0x9c59d9={'regex':_0x47a13a,'trailingChunks':[]};}catch(_0x37113c){throw new ToolExecutionError(_0x34ef86(_0x39a8dd._0x1a2bb0,_0x39a8dd._0x903c52,0x39f,_0x39a8dd._0x2b328d)+(_0x37113c instanceof Error?_0x37113c[_0x34ef86(_0x39a8dd._0x5c286c,_0x39a8dd._0x588f03,_0x39a8dd._0x5b4e82,_0x39a8dd._0x185c89)]:String(_0x37113c)),{'command':_0x1fa45f['command'],'outputRegex':_0x1fa45f[_0x4ab66d(_0x39a8dd._0x2e68cd,_0x39a8dd._0x3cd75d,_0x39a8dd._0x22d49f,0x2df)]});}let _0x121ee5;try{_0x121ee5=_0x191853(_0x5dc480,_0x453ddc,{'cwd':_0x14c90e,'env':buildChildEnv(_0x19441a[_0x34ef86(_0x39a8dd._0x4cb8e9,0x2c8,0x30a,_0x39a8dd._0x36edc0)],_0x5d2e99),'stdio':_0x328f11?['ignore','ignore',_0x34ef86(_0x39a8dd._0xf1bf84,_0x39a8dd._0x527e4c,0x38e,_0x39a8dd._0x4dcc93)]:[_0x34ef86(_0x39a8dd._0x472579,0x23b,0x4a8,0x38e),_0x4ab66d(0x61f,_0x39a8dd._0x2b3fbb,_0x39a8dd._0x2870c3,_0x39a8dd._0x16bccd),_0x34ef86(_0x39a8dd._0x1e76dd,0x39b,0x447,_0x39a8dd._0x1992bf)],'shell':![],'windowsHide':!![],'detached':!_0xb465a2});}catch(_0x3c0736){throw mapSpawnError(_0x3c0736,{'command':_0x1fa45f[_0x34ef86(_0x39a8dd._0x171e18,0x612,0x393,_0x39a8dd._0x74c932)],'cwd':_0x14c90e,'shellPath':_0x5dc480});}const _0x494f92=[],_0x1fb256=[],_0x2d78bd=new _0x3462df(_0x34ef86(0x4b5,_0x39a8dd._0x185c89,0x27e,_0x39a8dd._0x2e2aec)),_0x152149=new _0x3462df(_0x34ef86(_0x39a8dd._0x239165,0x2c2,0x385,0x37f));let _0x27e548,_0x321afe=![],_0x24491f;const _0x2489d9=()=>{if(!_0x27e548)return;const _0x1e6fec=_0x27e548;_0x27e548=void 0x0,_0x1e6fec();},_0x492fd6=async()=>{if(_0x1fb256['length']>0x0||_0x321afe)return;await new Promise(_0x153886=>{_0x27e548=_0x153886;});},_0xce59cc=_0x4b45c8=>{const _0x198156={_0x15d017:0x1a,_0x57384d:0x4ed,_0x526d54:0x150};function _0x32356c(_0x27a75a,_0x451fce,_0x5c5acd,_0xf32849){return _0x4ab66d(_0x27a75a-_0x198156._0x15d017,_0x451fce- -_0x198156._0x57384d,_0x5c5acd,_0xf32849-_0x198156._0x526d54);}appendChunk(_0x494f92,_0x1fb256,_0x2d78bd[_0x32356c(-0x279,-_0x1ed03d._0x51396a,-_0x1ed03d._0x2fda81,-0x330)](_0x4b45c8),_0x4dfe0d,_0x2489d9,_0x56057d);},_0x356423=_0x1c5b5e=>{function _0x20a967(_0x4f56a4,_0x5a229c,_0x3e44d7,_0x334ca9){return _0x4ab66d(_0x4f56a4-0x10e,_0x334ca9-_0x103496._0x2e98b1,_0x3e44d7,_0x334ca9-0x6);}appendChunk(_0x494f92,_0x1fb256,_0x152149[_0x20a967(0x348,0x354,_0x49f4db._0x150c2e,_0x49f4db._0x4117f8)](_0x1c5b5e),_0x4dfe0d,_0x2489d9,_0x9c59d9);};_0x121ee5[_0x34ef86(0x2d6,_0x39a8dd._0x1d9f8c,0x1f1,_0x39a8dd._0x5a20b9)]?.['on'](_0x4ab66d(0x522,_0x39a8dd._0x1dda29,_0x39a8dd._0x1f9a33,0x485),_0xce59cc),_0x121ee5[_0x34ef86(_0x39a8dd._0x2f3ebd,_0x39a8dd._0x35257a,_0x39a8dd._0x79f2bf,0x374)]?.['on']('data',_0x356423);let _0x46a0a8=![],_0x1062ab;function _0x4ab66d(_0x3897fc,_0x500f35,_0xc0943f,_0x14afc9){return _0x4727b6(_0x3897fc-_0x4c7b72._0x18f647,_0x500f35-_0x4c7b72._0x9c0d08,_0xc0943f,_0x500f35-0x1b6);}const _0x6b5a53=addAbortListener(_0x455529[_0x34ef86(0x2fc,_0x39a8dd._0x422ba6,0x3cd,_0x39a8dd._0x189441)],()=>{_0x24491f=toAbortError(_0x455529['signal']['reason']),_0x321afe=!![],_0x2489d9();try{killProcessGroup(_0x121ee5,_0xb465a2);}catch{}});try{const _0x256b74=new Promise((_0xd708e4,_0x4a5ad7)=>{const _0x5699ca={_0x3f3027:0x5dd,_0x5aae39:0x684,_0x40f88b:0x570,_0x380304:0x533,_0xf8d3c2:0x39b,_0x22306:0x3ce,_0xaf0197:0x816,_0x5ecd05:0x714,_0xfd6a9b:0x6b5},_0x3f58f3=()=>{const _0x2e5f59={_0x36e1f3:0x1f5},_0x492591={_0x103924:0x98};_0x1062ab&&(clearTimeout(_0x1062ab),_0x1062ab=void 0x0);function _0x539222(_0x397298,_0x4323cc,_0x44b813,_0x5c214a){return _0x4ff3(_0x44b813- -_0x492591._0x103924,_0x397298);}function _0x54e082(_0x422d9b,_0x2e54d8,_0x499788,_0x1cbe87){return _0x4ff3(_0x499788-_0x2e5f59._0x36e1f3,_0x2e54d8);}_0x121ee5[_0x539222(_0x44000a._0x3b1e0a,0x39d,_0x44000a._0x24ceb7,0x196)]('error',_0x187e21),_0x121ee5[_0x539222(0x1c7,0x1fe,0x21f,_0x44000a._0x5e3e98)](_0x54e082(0x48d,_0x44000a._0x22a55f,_0x44000a._0x1518a7,0x37b),_0x3f7f01);},_0x187e21=_0x569c32=>{_0x321afe=!![],_0x2489d9(),_0x3f58f3(),_0x4a5ad7(_0x24491f??_0x569c32);},_0x3f7f01=(_0x168cf4,_0x2263cf)=>{_0x46a0a8=!![],appendChunk(_0x494f92,_0x1fb256,_0x2d78bd[_0x19ae61(_0x5d522a._0x4c66c8,_0x5d522a._0x1d6fbe,_0x5d522a._0x375507,_0x5d522a._0x1c806c)](),_0x4dfe0d,_0x2489d9,_0x56057d),appendChunk(_0x494f92,_0x1fb256,_0x152149['end'](),_0x4dfe0d,_0x2489d9,_0x9c59d9);function _0x19ae61(_0xf879a0,_0x2e2c7b,_0x1486d8,_0x2f825a){return _0x4ff3(_0x2f825a- -0x5d,_0x2e2c7b);}flushOutputRegex(_0x494f92,_0x1fb256,_0x56057d,_0x2489d9),flushOutputRegex(_0x494f92,_0x1fb256,_0x9c59d9,_0x2489d9),_0x321afe=!![],_0x2489d9(),_0x3f58f3();if(_0x24491f){_0x4a5ad7(_0x24491f);return;}_0xd708e4({'code':_0x168cf4,'signal':_0x2263cf});};function _0x1ace77(_0xf586fc,_0x436992,_0x2e32f8,_0x3858ba){return _0x4ab66d(_0xf586fc-_0x54bd80._0x230b3f,_0x436992-0x107,_0xf586fc,_0x3858ba-0x33);}_0x1062ab=setTimeout(()=>{const _0x53f6b0={_0x343434:0x50};_0x321afe=!![],_0x2489d9();function _0x33c0dd(_0x3cf433,_0x4d4882,_0x47e546,_0x3c73da){return _0x4ff3(_0x4d4882- -_0x53f6b0._0x343434,_0x3cf433);}_0x3f58f3();try{killProcessGroup(_0x121ee5,_0xb465a2);}catch{}function _0xe1b1e8(_0x3410f7,_0x3ba408,_0x16c6b5,_0x296afb){return _0x4ff3(_0x296afb-0x259,_0x3410f7);}_0x4a5ad7(new ToolExecutionError(_0xe1b1e8(_0x5699ca._0x3f3027,_0x5699ca._0x5aae39,_0x5699ca._0x40f88b,_0x5699ca._0x380304)+_0x385017+_0xe1b1e8(_0x5699ca._0xf8d3c2,0x583,_0x5699ca._0x22306,0x4fe),{'command':_0x1fa45f[_0xe1b1e8(0x65d,_0x5699ca._0xaf0197,_0x5699ca._0x5ecd05,_0x5699ca._0xfd6a9b)],'cwd':_0x14c90e,'shellPath':_0x5dc480,'timeoutMs':_0x385017,'timedOut':!![]}));},_0x385017);function _0x1891f2(_0x4b4123,_0x1255b3,_0x23afaa,_0x1d6ff8){return _0x4ab66d(_0x4b4123-0x86,_0x1d6ff8- -0x311,_0x4b4123,_0x1d6ff8-_0x2006ff._0x274649);}_0x121ee5[_0x1ace77(_0x393cb0._0x3317bb,0x4a3,_0x393cb0._0x374c6b,_0x393cb0._0x4853a6)](_0x1891f2(_0x393cb0._0x15a9b4,_0x393cb0._0xa6e58e,-0x9b,_0x393cb0._0xad5762),_0x187e21),_0x121ee5[_0x1891f2(-0x2e,-0xc2,0xc1,_0x393cb0._0x255294)](_0x1ace77(_0x393cb0._0x59c5a3,0x45c,_0x393cb0._0x27329e,0x2e6),_0x3f7f01);});while(_0x1fb256['length']>0x0||!_0x321afe){if(_0x1fb256[_0x4ab66d(_0x39a8dd._0x19c010,_0x39a8dd._0xbdf99d,0x4be,_0x39a8dd._0x331bc7)]===0x0){await _0x492fd6();continue;}const _0x444d0d=_0x1fb256['shift']();_0x444d0d!==void 0x0&&(yield _0x444d0d);}const _0x57646e=await _0x256b74,_0xbda2d0=_0x328f11?_0x4ab66d(0x4ea,_0x39a8dd._0x3079fd,_0x39a8dd._0x3e22ae,_0x39a8dd._0x4dcc93)+(_0x57646e[_0x4ab66d(_0x39a8dd._0x294243,0x564,_0x39a8dd._0x3beeda,0x602)]??0x0):_0x494f92['join'](''),_0x4a935a={'command':_0x1fa45f[_0x34ef86(_0x39a8dd._0x378aff,_0x39a8dd._0x414d85,0x62a,0x4c8)],'description':_0x1fa45f[_0x34ef86(_0x39a8dd._0x569580,_0x39a8dd._0x48bba5,0x2ac,0x427)],'cwd':_0x14c90e,'exitCode':_0x57646e[_0x4ab66d(0x6c5,_0x39a8dd._0x2cdbbd,_0x39a8dd._0x3e85b7,_0x39a8dd._0x1d11e0)]??0x0,'signal':_0x57646e[_0x4ab66d(0x460,0x4be,_0x39a8dd._0x2bc444,_0x39a8dd._0x4fff17)],'ignoreOutput':_0x328f11,'outputRegex':_0x1fa45f[_0x4ab66d(0x4b7,0x42e,0x5a7,_0x39a8dd._0x501d25)]??null,'shellPath':_0x5dc480,'timeoutMs':_0x385017};if(_0x57646e[_0x4ab66d(0x589,0x564,0x624,_0x39a8dd._0x49ff30)]!==0x0)throw new ToolExecutionError(_0xbda2d0||'Command\x20exited\x20with\x20code\x20'+(_0x57646e[_0x4ab66d(0x57a,0x564,_0x39a8dd._0x403d83,_0x39a8dd._0x4742a6)]??0x0),_0x4a935a);return createToolOutput(_0xbda2d0,_0x4a935a);}catch(_0x39d934){while(_0x1fb256[_0x34ef86(_0x39a8dd._0x509d1d,0x2e8,0x388,0x2df)]>0x0){const _0x460a81=_0x1fb256[_0x34ef86(_0x39a8dd._0x45b75e,_0x39a8dd._0x9b42a0,0x2c1,_0x39a8dd._0x2d14ac)]();_0x460a81!==void 0x0&&(yield _0x460a81);}if(_0x39d934 instanceof ToolExecutionError)throw _0x39d934;if(_0x24491f)throw _0x24491f;throw mapSpawnError(_0x39d934,{'command':_0x1fa45f['command'],'cwd':_0x14c90e,'shellPath':_0x5dc480});}finally{_0x1062ab&&clearTimeout(_0x1062ab);_0x6b5a53(),_0x121ee5[_0x34ef86(0x382,_0x39a8dd._0x33e84b,_0x39a8dd._0x505f43,_0x39a8dd._0x3d5945)]?.[_0x34ef86(0x2de,0x470,_0x39a8dd._0x5de9a0,0x323)](_0x34ef86(0x491,_0x39a8dd._0x2a5ae8,0x5d7,0x485),_0xce59cc),_0x121ee5[_0x34ef86(0x285,0x2ca,0x485,0x374)]?.[_0x34ef86(0x2fc,0x26d,0x1e8,_0x39a8dd._0x2fb7df)](_0x34ef86(0x41d,0x540,_0x39a8dd._0x5cc970,0x485),_0x356423);if(!_0x46a0a8&&_0x121ee5[_0x4ab66d(_0x39a8dd._0x443030,0x5ee,_0x39a8dd._0x5978e6,0x4e2)]&&!_0x121ee5['killed'])try{killProcessGroup(_0x121ee5,_0xb465a2);}catch{}}}});}function createShellExecTool(_0x2b0c22={}){return createBashTool(_0x2b0c22);}import{readdir,readFile as _0x37e2d1}from'fs/promises';import{extname,join as _0x5ade0b}from'path';import{open}from'fs/promises';import{dirname,isAbsolute as _0x1152b1,join,relative as _0xbe4e8c,resolve as _0x105c68}from'path';import{readdir as _0x219667,readFile as _0x4429d6}from'fs/promises';import{join as _0xe4912c,relative as _0x4361c1,sep}from'path';import{delimiter}from'path';import{mkdir as _0x3544a4,rm,stat as _0x1bdfb1,writeFile}from'fs/promises';import{hostname}from'os';import{dirname as _0x5a4f49}from'path';import{unwatchFile,watchFile}from'fs';import{chmod,readFile as _0x3a9e18,rename,rm as _0x1ad069,stat as _0x1a4c62,writeFile as _0x153688}from'fs/promises';import{homedir as _0x21aac4}from'os';import{dirname as _0x1e8010,isAbsolute as _0xdf07f1,join as _0x15c6cb,resolve as _0x40f007}from'path';import{parse as _0x452b63,stringify as _0x16b25e}from'yaml';import{cp,mkdir as _0x16bae9,readFile as _0x54682e,rm as _0x5cc27b,writeFile as _0xef248}from'fs/promises';import{homedir}from'os';import{join as _0x36b560}from'path';import{parse as _0x5982c8,stringify as _0x5dc9ad}from'yaml';import{z}from'zod';import{readdir as _0x3d0924,readFile as _0x3e00f3}from'fs/promises';import{join as _0x5975b4}from'path';import{randomUUID as _0x454759}from'crypto';import{mkdir as _0x594d25,readdir as _0x77ec3d,readFile as _0x5d7b59,rename as _0x175993,rm as _0x4a4684,writeFile as _0x35043d}from'fs/promises';import{homedir as _0x4ed154}from'os';import{basename,isAbsolute as _0x329560,join as _0x2949bc,relative as _0xebf135,resolve as _0x3873da}from'path';import{parse as _0x1432cb,stringify as _0x580df5}from'yaml';import{delimiter as _0x4f5ca0,resolve as _0x3fdbfb}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0x578c2d){const _0x355fa1={_0x2bbe7e:0x7c,_0x1de439:0x20a,_0x5d9367:0x4f,_0x4f7c52:0xd9,_0x2437cd:0xff,_0x43f895:0x9f,_0x5c7864:0x17a,_0x63f53e:0x223},_0xa94002={_0x4bf68e:0x39,_0x380062:0x8f},_0x1dcadd={_0x56a809:0x25},_0x9f11f6=[];let _0x5c37e9='',_0x20035a=0x0;function _0x3189c9(_0x378684,_0x422aa0,_0x3aaa02,_0x4d924a){return _0x42babe(_0x3aaa02- -0x374,_0x422aa0-0xc9,_0x4d924a,_0x4d924a-_0x1dcadd._0x56a809);}while(_0x20035a<_0x578c2d[_0x3189c9(-0x2d4,-_0x355fa1._0x2bbe7e,-0x161,-_0x355fa1._0x1de439)]){const _0x52e08f=_0x578c2d[_0x20035a];if(_0x52e08f==='\x5c'&&_0x20035a+0x1<_0x578c2d['length'])_0x5c37e9+=_0x578c2d[_0x20035a+0x1],_0x20035a+=0x2;else{if(_0x52e08f==='\x22'||_0x52e08f==='\x27'){const _0x50ce07=_0x52e08f;_0x20035a++;while(_0x20035a<_0x578c2d[_0x3b6d28(_0x355fa1._0x5d9367,_0x355fa1._0x4f7c52,0x12e,0x99)]&&_0x578c2d[_0x20035a]!==_0x50ce07){_0x578c2d[_0x20035a]==='\x5c'&&_0x20035a+0x1<_0x578c2d['length']?(_0x5c37e9+=_0x578c2d[_0x20035a+0x1],_0x20035a+=0x2):(_0x5c37e9+=_0x578c2d[_0x20035a],_0x20035a++);}_0x20035a++;}else _0x52e08f!==void 0x0&&/\s/[_0x3b6d28(0xff,0x5f,_0x355fa1._0x2437cd,_0x355fa1._0x43f895)](_0x52e08f)?(_0x5c37e9&&(_0x9f11f6[_0x3189c9(-0x39a,-_0x355fa1._0x5c7864,-_0x355fa1._0x63f53e,-0x25c)](_0x5c37e9),_0x5c37e9=''),_0x20035a++):(_0x5c37e9+=_0x52e08f,_0x20035a++);}}if(_0x5c37e9)_0x9f11f6[_0x3b6d28(0xe5,0x98,-0xdc,-0x29)](_0x5c37e9);function _0x3b6d28(_0x23528f,_0x52954d,_0x492b75,_0x398af5){return _0x42babe(_0x398af5- -0x17a,_0x52954d-_0xa94002._0x4bf68e,_0x52954d,_0x398af5-_0xa94002._0x380062);}return _0x9f11f6;}function renderCommandInstructions(_0x3ef979){const _0xebe402={_0x30bd59:0x396,_0x45f35f:0x30a,_0x5a4e84:0x3de,_0x3dc2c7:0x3a0,_0x36c7f1:0x1e1,_0x1b13e5:0x2ad,_0x26275b:0xcb,_0x1ac270:0x4a5,_0x3789ec:0x323,_0x1ebdde:0x280,_0x991420:0x3ee,_0x2ac168:0x362,_0x228618:0x1a0,_0x3fb6d1:0x12b,_0xcb2829:0x560,_0x50ecef:0x24c,_0x22480a:0x34f,_0x3102ee:0x2ac,_0x577896:0x347,_0x359ecd:0xff,_0x1ca87f:0x2da,_0xadc95:0x613,_0x3d8f53:0x50d,_0x51fe19:0x456,_0x5b1c69:0x1c3,_0x2204aa:0x18e},_0x77fa47={_0x155407:0x172},_0x2c7286={_0x4d84df:0xa1,_0x1c32e4:0x152};let _0x11ca7d=_0x3ef979[_0x3ff496(_0xebe402._0x30bd59,_0xebe402._0x45f35f,_0xebe402._0x5a4e84,_0xebe402._0x3dc2c7)],_0x59e823=![];const _0x4663da=tokenizeCommandArguments(_0x3ef979[_0x3ff496(0x404,0x53c,0x463,0x3d0)]);_0x11ca7d=_0x11ca7d[_0x3ff496(_0xebe402._0x36c7f1,0x87,_0xebe402._0x1b13e5,_0xebe402._0x26275b)](/\$ARGUMENTS\[(\d+)\]/g,(_0x22da58,_0x4a3581)=>{return _0x59e823=!![],_0x4663da[Number(_0x4a3581)]??'';}),_0x11ca7d=_0x11ca7d[_0x168db3(_0xebe402._0x1ac270,0x3a8,0x37f,_0xebe402._0x3789ec)](/\$ARGUMENTS\b/g,()=>{return _0x59e823=!![],_0x3ef979['argumentsText'];});if(_0x3ef979[_0x3ff496(_0xebe402._0x1ebdde,_0xebe402._0x991420,_0xebe402._0x2ac168,0x3b8)]&&_0x3ef979[_0x3ff496(0x280,_0xebe402._0x228618,_0xebe402._0x3fb6d1,0x392)][_0x168db3(_0xebe402._0xcb2829,0x558,0x405,0x2ac)]>0x0)for(let _0x32242d=0x0;_0x32242d<_0x3ef979[_0x3ff496(0x280,0x34a,0x31c,_0xebe402._0x50ecef)][_0x168db3(_0xebe402._0x22480a,_0xebe402._0x3102ee,0x405,0x309)];_0x32242d++){const _0x3f9dbf=_0x3ef979[_0x3ff496(0x280,0x14e,0x3b6,_0xebe402._0x577896)][_0x32242d];if(_0x3f9dbf){const _0x28e416=new RegExp('\x5c$'+_0x3f9dbf+'\x5cb','g');_0x11ca7d=_0x11ca7d[_0x3ff496(_0xebe402._0x36c7f1,0x7f,_0xebe402._0x359ecd,0x2b4)](_0x28e416,()=>{return _0x59e823=!![],_0x4663da[_0x32242d]??'';});}}_0x11ca7d=_0x11ca7d['replace'](/\$(\d+)\b/g,(_0x51367c,_0x3005b3)=>{return _0x59e823=!![],_0x4663da[Number(_0x3005b3)]??'';});!_0x59e823&&_0x3ef979[_0x3ff496(0x404,_0xebe402._0x1ca87f,_0xebe402._0x1b13e5,0x45d)][_0x168db3(_0xebe402._0xadc95,0x4bf,_0xebe402._0x3d8f53,_0xebe402._0x51fe19)]()&&(_0x11ca7d=_0x11ca7d+_0x3ff496(_0xebe402._0x5b1c69,0x206,0x229,_0xebe402._0x2204aa)+_0x3ef979['argumentsText']);function _0x168db3(_0x29110b,_0x198063,_0x56f583,_0x452c7b){return _0x42babe(_0x56f583-0x1f2,_0x198063-_0x2c7286._0x4d84df,_0x29110b,_0x452c7b-_0x2c7286._0x1c32e4);}function _0x3ff496(_0x4b477c,_0x4ec618,_0x23d65a,_0x8e4362){return _0x41c53b(_0x4b477c-_0x77fa47._0x155407,_0x4b477c- -0x21c,_0x23d65a,_0x8e4362-0x142);}return _0x11ca7d;}var PROVIDER_API_KEY_ENVS=[{'env':'OPENROUTER_API_KEY','provider':_0x41c53b(0x569,0x454,0x392,0x327)},{'env':_0x41c53b(0x558,0x49b,0x4c7,0x491),'provider':_0x41c53b(0x620,0x5b7,0x5ff,0x657)},{'env':_0x41c53b(0x420,0x391,0x39d,0x4e5),'provider':_0x41c53b(0x70d,0x618,0x525,0x6e8)},{'env':_0x41c53b(0x380,0x4ab,0x605,0x50a),'provider':'github'},{'env':_0x41c53b(0x498,0x3bc,0x4d7,0x448),'provider':_0x41c53b(0x3a8,0x403,0x318,0x494)},{'env':_0x42babe(0x364,0x3eb,0x320,0x28f),'provider':_0x42babe(0x309,0x435,0x379,0x37f)},{'env':_0x42babe(0x2e4,0x28e,0x355,0x192),'provider':_0x41c53b(0x42d,0x4c4,0x605,0x5c9)},{'env':_0x41c53b(0x3a8,0x4a1,0x5c8,0x529),'provider':_0x41c53b(0x3a1,0x3d9,0x453,0x286)},{'env':_0x41c53b(0x4d7,0x59d,0x67b,0x5c8),'provider':_0x42babe(0x30d,0x2cf,0x363,0x2db)},{'env':'KIMI_API_KEY','provider':_0x42babe(0x36a,0x361,0x27e,0x3fd)},{'env':_0x41c53b(0x429,0x390,0x40e,0x405),'provider':_0x41c53b(0x4be,0x3c7,0x3bc,0x29a)},{'env':_0x41c53b(0x4dd,0x442,0x48d,0x537),'provider':_0x42babe(0x106,0x10b,0x52,0x3a)},{'env':_0x41c53b(0x570,0x426,0x43e,0x40d),'provider':_0x42babe(0x3fd,0x286,0x410,0x41b)}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0x42babe(0x39e,0x4db,0x29e,0x357)](_0x27b389=>_0x27b389[_0x42babe(0x324,0x3dc,0x42d,0x42c)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,_0x41c53b(0x696,0x63c,0x63c,0x79f),_0x41c53b(0x655,0x4ce,0x60d,0x41e),_0x42babe(0x3b5,0x2ba,0x332,0x41c)],PROTOTYPE_SENSITIVE_NAMES=new Set([...Object[_0x42babe(0x333,0x30f,0x25b,0x45e)](Object[_0x42babe(0x3f1,0x289,0x394,0x550)]),'prototype']);function prototypeSafeRecord(_0x3523f2){const _0x1b95b2={_0x127630:0x74b,_0x11cc55:0x772,_0x560509:0x643,_0x434474:0x76,_0x47fd49:0x265,_0x32443d:0x20c,_0x260d28:0x8b,_0x47de04:0x47,_0x3a9c67:0xf7},_0x409b92={_0x1d99f2:0x789,_0x35d5a8:0x669,_0x403e85:0x479,_0x126be5:0x386,_0x717094:0x344,_0x5fd519:0x4a4,_0x161443:0x3a7,_0x4930cc:0x3d6,_0x1aab9e:0x29d,_0x1e4422:0x339},_0x4c830d={_0x512718:0x253,_0x1186dc:0x1ed},_0x143d0b={_0x1b42d2:0xc};function _0x4fe82b(_0x420f6e,_0x4a8f70,_0x1a487b,_0x53613b){return _0x41c53b(_0x420f6e-_0x143d0b._0x1b42d2,_0x420f6e-0x196,_0x1a487b,_0x53613b-0x8);}function _0x3d83a0(_0x1eade0,_0x56376b,_0x892b37,_0x5be293){return _0x42babe(_0x5be293- -_0x4c830d._0x512718,_0x56376b-0x16d,_0x892b37,_0x5be293-_0x4c830d._0x1186dc);}return z['preprocess'](_0x13ff69=>{const _0x2b566d={_0xc02d54:0x2c4},_0xc5db5b={_0x5d7ecb:0x53};function _0x3f76fd(_0x4c8b37,_0x4117f9,_0x517d4d,_0x8d2f15){return _0x4ff3(_0x4c8b37-_0xc5db5b._0x5d7ecb,_0x4117f9);}if(_0x13ff69===null||typeof _0x13ff69!==_0x22b1c6(_0x409b92._0x1d99f2,0x65e,_0x409b92._0x35d5a8,0x73b)||Array['isArray'](_0x13ff69))return null;const _0xba490=Object[_0x3f76fd(_0x409b92._0x403e85,0x3ed,_0x409b92._0x126be5,_0x409b92._0x717094)](_0x13ff69);function _0x22b1c6(_0x54198a,_0x575c6d,_0x40dfb6,_0x4566af){return _0x4ff3(_0x40dfb6-_0x2b566d._0xc02d54,_0x4566af);}if(_0xba490!==Object[_0x3f76fd(_0x409b92._0x5fd519,_0x409b92._0x161443,0x4fe,0x35f)]&&_0xba490!==null)return null;return{'entries':Object[_0x3f76fd(_0x409b92._0x4930cc,_0x409b92._0x1aab9e,_0x409b92._0x1e4422,0x364)](_0x13ff69)};},z[_0x4fe82b(_0x1b95b2._0x127630,_0x1b95b2._0x11cc55,_0x1b95b2._0x560509,0x847)]({'entries':z['array'](z[_0x3d83a0(-0x82,-_0x1b95b2._0x434474,-_0x1b95b2._0x47fd49,-0x13c)]([z[_0x3d83a0(_0x1b95b2._0x32443d,_0x1b95b2._0x260d28,_0x1b95b2._0x47de04,_0x1b95b2._0x3a9c67)](),_0x3523f2]))}))['transform'](({entries:_0x24d247})=>Object['fromEntries'](_0x24d247));}var chatModelAuthSchemeSchema=z[_0x42babe(0x186,0x201,0x71,0x29)]([_0x42babe(0x1f8,0x203,0x110,0xc3),_0x41c53b(0x324,0x495,0x3ed,0x5ca)]),apiKeyAuthSchema=z[_0x41c53b(0x5a0,0x5b5,0x5a9,0x6d0)]({'type':z[_0x42babe(0x2f8,0x17d,0x386,0x408)](_0x42babe(0x32f,0x451,0x2e5,0x233)),'apiKey':z[_0x41c53b(0x5fe,0x5ba,0x6c1,0x43c)](),'authScheme':chatModelAuthSchemeSchema[_0x42babe(0x1d5,0x1a2,0x183,0xb4)]()})['passthrough'](),oauthAuthSchema=z[_0x42babe(0x345,0x4ac,0x3db,0x280)]({'type':z[_0x42babe(0x2f8,0x3b2,0x41d,0x18c)](_0x42babe(0x190,0xbd,0x2ba,0x1a9)),'access':z[_0x41c53b(0x685,0x5ba,0x465,0x6d7)](),'refresh':z[_0x42babe(0x34a,0x3f3,0x21f,0x1f3)](),'expires':z['number']()[_0x42babe(0x1d5,0x23e,0x279,0x178)](),'authScheme':chatModelAuthSchemeSchema[_0x42babe(0x1d5,0x65,0xe3,0x2c2)]()})[_0x41c53b(0x4d3,0x45c,0x3b2,0x5bb)](),finiteNonNegative=z['number']()['finite']()[_0x42babe(0x3e9,0x292,0x515,0x2dd)](),chatGptAuthSchema=z['object']({'type':z[_0x41c53b(0x63e,0x568,0x5cb,0x6e3)](_0x41c53b(0x46f,0x5cf,0x48f,0x5f0)),'access':z['string']()[_0x42babe(0x20f,0xb6,0x1c1,0x388)](0x1),'refresh':z[_0x41c53b(0x5ff,0x5ba,0x44b,0x4a9)]()[_0x41c53b(0x307,0x47f,0x466,0x4a1)](0x1),'idToken':z[_0x42babe(0x34a,0x427,0x204,0x3d6)]()[_0x41c53b(0x337,0x47f,0x51c,0x403)](0x1),'accountId':z['string']()[_0x42babe(0x20f,0x28e,0x12a,0x13d)](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative[_0x42babe(0x1d5,0x1d2,0x1f2,0x262)]()})[_0x42babe(0x1ec,0xc2,0x171,0x150)](),authMethodSchema=z['union']([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),modelDefinitionSchema=z[_0x42babe(0x345,0x42c,0x474,0x2f3)]({'id':z[_0x42babe(0x34a,0x3aa,0x3b1,0x3dc)](),'name':z[_0x41c53b(0x492,0x5ba,0x6bd,0x4df)]()[_0x41c53b(0x4e3,0x445,0x3f6,0x5ca)]()})[_0x42babe(0x1ec,0x77,0x15c,0x14f)](),modelConfigSchema=z[_0x42babe(0x2a0,0x354,0x338,0x3ec)]([z[_0x41c53b(0x5b8,0x568,0x522,0x431)](![]),z['literal'](!![]),z['string'](),z[_0x42babe(0x2b7,0x138,0x297,0x416)](z['string']()),z[_0x41c53b(0x6a0,0x527,0x62e,0x4aa)](modelDefinitionSchema)]),chatModelSurfaceSchema=z[_0x41c53b(0x2da,0x3f6,0x409,0x4dc)]([_0x41c53b(0x47f,0x3c2,0x487,0x2d5),_0x41c53b(0x540,0x623,0x548,0x7a3),'openai-responses',_0x41c53b(0x481,0x4ba,0x3f6,0x5c5)]),providerConfigSchema=z[_0x41c53b(0x6c7,0x5b5,0x48d,0x497)]({'apiKey':z[_0x41c53b(0x468,0x5ba,0x738,0x61c)]()[_0x41c53b(0x427,0x445,0x4c6,0x5ac)](),'token':z[_0x41c53b(0x494,0x5ba,0x54a,0x71b)]()['optional'](),'defaultModel':z[_0x41c53b(0x504,0x5ba,0x600,0x4a9)]()[_0x42babe(0x1d5,0x30a,0x1c1,0x18a)](),'smallModel':z[_0x42babe(0x34a,0x3ed,0x3c2,0x278)]()['optional'](),'currentAuth':z[_0x41c53b(0x434,0x5ba,0x57b,0x5c0)]()[_0x42babe(0x1d5,0x18a,0x23b,0x2e5)](),'auth':z['array'](authMethodSchema)[_0x41c53b(0x2cc,0x445,0x480,0x385)](),'surface':chatModelSurfaceSchema['optional'](),'baseUrl':z['string']()[_0x42babe(0x1d5,0x330,0x178,0x1e5)](),'models':modelConfigSchema[_0x42babe(0x1d5,0xe5,0xe8,0x87)](),'customHeaders':z['record'](z[_0x42babe(0x34a,0x3c9,0x356,0x31b)](),z[_0x42babe(0x34a,0x2c2,0x351,0x348)]())[_0x42babe(0x1d5,0x300,0x34a,0x31b)]()})[_0x42babe(0x1ec,0xff,0x17d,0x347)](),mcpServerConfigSchema=z[_0x42babe(0x345,0x2f7,0x218,0x449)]({'command':z[_0x41c53b(0x665,0x5ba,0x4ec,0x5d3)]()['optional'](),'args':z['array'](z[_0x41c53b(0x64c,0x5ba,0x672,0x6ce)]())['optional'](),'env':z['record'](z[_0x41c53b(0x51f,0x5ba,0x438,0x548)](),z[_0x42babe(0x34a,0x2b9,0x3fe,0x3d9)]())['optional'](),'transport':z[_0x42babe(0x186,0x184,0x2d1,0x9c)]([_0x41c53b(0x554,0x592,0x696,0x629),_0x41c53b(0x5ce,0x613,0x74b,0x735)])[_0x41c53b(0x4d9,0x445,0x3d4,0x3db)](),'url':z['string']()['optional'](),'headers':z[_0x42babe(0x406,0x27f,0x3e0,0x302)](z[_0x41c53b(0x693,0x5ba,0x59d,0x676)](),z[_0x42babe(0x34a,0x30e,0x2d6,0x436)]())[_0x42babe(0x1d5,0xe2,0x1b7,0x255)](),'prefix':z[_0x42babe(0x34a,0x48d,0x2e7,0x3cb)]()[_0x41c53b(0x543,0x445,0x3b3,0x388)](),'timeoutMs':z[_0x42babe(0x319,0x224,0x41e,0x471)]()[_0x42babe(0x1d5,0x301,0x243,0x283)](),'enabled':z['boolean']()[_0x41c53b(0x5bf,0x445,0x548,0x3b3)](),'auth':z[_0x42babe(0x345,0x2c4,0x499,0x4ba)]({'type':z['enum']([_0x41c53b(0x46b,0x491,0x3af,0x515),'bearer',_0x41c53b(0x3ef,0x400,0x466,0x505)]),'token':z['string']()[_0x42babe(0x1d5,0x1ed,0x315,0x8e)](),'oauth':z[_0x42babe(0x345,0x368,0x3a1,0x1ce)]({'clientId':z[_0x41c53b(0x4d6,0x5ba,0x6fb,0x694)]()['optional'](),'clientMetadataUrl':z[_0x41c53b(0x6d1,0x5ba,0x4ff,0x4d5)]()[_0x42babe(0x1d5,0xd7,0x212,0x161)](),'authorizationServer':z['string']()[_0x42babe(0x1d5,0x1a2,0xb7,0x348)](),'scopes':z[_0x42babe(0x2b7,0x137,0x326,0x1a6)](z[_0x42babe(0x34a,0x45e,0x4d1,0x4c3)]())[_0x41c53b(0x41e,0x445,0x522,0x52f)](),'tokenStorageKey':z[_0x42babe(0x34a,0x400,0x261,0x305)]()[_0x41c53b(0x371,0x445,0x5bf,0x3b3)]()})[_0x41c53b(0x3c5,0x45c,0x43b,0x44e)]()[_0x42babe(0x1d5,0x2e7,0x30b,0x2c7)]()})[_0x41c53b(0x358,0x45c,0x392,0x475)]()[_0x42babe(0x1d5,0x8c,0xce,0x2b1)]()})[_0x41c53b(0x446,0x45c,0x4cb,0x56d)](),mcpSettingsSchema=z[_0x42babe(0x345,0x2c6,0x2df,0x1d5)]({'servers':prototypeSafeRecord(mcpServerConfigSchema)['optional'](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z[_0x41c53b(0x377,0x384,0x277,0x28d)]()))['optional'](),'defaultTimeoutMs':z[_0x42babe(0x319,0x3c1,0x1a3,0x21b)]()[_0x42babe(0x1d5,0x182,0x16d,0xc1)]()})['passthrough'](),skillsSettingsSchema=z[_0x42babe(0x345,0x3f2,0x4cc,0x491)]({'enabled':z[_0x41c53b(0x468,0x384,0x31b,0x480)]()[_0x42babe(0x1d5,0x31d,0x71,0xc4)](),'includeDefaults':z[_0x41c53b(0x25c,0x384,0x2c3,0x3fd)]()[_0x41c53b(0x3cb,0x445,0x561,0x48f)](),'directories':z[_0x41c53b(0x3cb,0x527,0x494,0x635)](z[_0x42babe(0x34a,0x492,0x305,0x1d5)]())['optional'](),'exclude':z[_0x42babe(0x2b7,0x3e9,0x1d0,0x1e3)](z[_0x41c53b(0x6f0,0x5ba,0x4f1,0x632)]())['optional']()})[_0x41c53b(0x3c4,0x45c,0x4d9,0x5bd)](),commandsSettingsSchema=z[_0x41c53b(0x733,0x5b5,0x4dd,0x5dd)]({'enabled':z[_0x41c53b(0x428,0x384,0x471,0x460)]()[_0x41c53b(0x2cf,0x445,0x33d,0x2cc)](),'directories':z[_0x41c53b(0x3ad,0x527,0x48a,0x6aa)](z[_0x42babe(0x34a,0x1ee,0x2c5,0x32b)]())[_0x41c53b(0x406,0x445,0x48e,0x53f)]()})[_0x42babe(0x1ec,0x17c,0x23e,0x6f)](),agentsSettingsSchema=z[_0x41c53b(0x432,0x5b5,0x43c,0x45a)]({'enabled':z[_0x42babe(0x114,0x21e,0x29c,0x1bc)]()['optional'](),'includeDefaults':z[_0x41c53b(0x369,0x384,0x3e4,0x3cc)]()[_0x41c53b(0x545,0x445,0x30f,0x3c2)](),'directories':z[_0x41c53b(0x4eb,0x527,0x61e,0x5f1)](z[_0x42babe(0x34a,0x23c,0x37f,0x2bf)]())[_0x41c53b(0x3c4,0x445,0x452,0x2cd)]()})[_0x42babe(0x1ec,0x13a,0x2d2,0x33f)](),uiThemeSettingsSchema=z[_0x42babe(0x345,0x2a4,0x486,0x31f)]({'mode':z[_0x41c53b(0x401,0x3f6,0x326,0x2d3)]([_0x42babe(0x2b6,0x142,0x209,0x16c),_0x42babe(0x1b3,0x256,0x305,0x8a),_0x41c53b(0x3a7,0x3be,0x24f,0x4c7)])['optional'](),'colorLevel':z['enum']([_0x42babe(0x2b6,0x280,0x23d,0x1ac),_0x41c53b(0x4ed,0x491,0x58a,0x3a6),_0x41c53b(0x499,0x51a,0x3ef,0x52f),_0x41c53b(0x6cc,0x59c,0x6a5,0x45a),'truecolor'])[_0x42babe(0x1d5,0x141,0x1f3,0x1ec)](),'backgrounds':z['enum'](['auto','on',_0x42babe(0x257,0x2d1,0x323,0x23a)])[_0x42babe(0x1d5,0x1ce,0x32a,0xea)](),'messageStyle':z[_0x41c53b(0x3db,0x3f6,0x2f4,0x3e0)](['plain','boxed'])['optional']()})['passthrough'](),statuslineSegmentSchema=z[_0x42babe(0x186,0x8c,0x211,0x1b8)]([_0x41c53b(0x4c9,0x452,0x5d4,0x3bd),_0x42babe(0x3de,0x2fa,0x3dc,0x54b),_0x41c53b(0x682,0x5c9,0x60e,0x633),_0x42babe(0x2e6,0x2ee,0x2c5,0x457),'tokens',_0x42babe(0x2af,0x16c,0x13f,0x3fd),_0x41c53b(0x4e8,0x5a4,0x4ad,0x56a),_0x41c53b(0x554,0x4fb,0x480,0x67e),_0x41c53b(0x4c4,0x53e,0x46d,0x541),'cost',_0x42babe(0x402,0x4ef,0x495,0x49c),_0x42babe(0x2f6,0x25e,0x26f,0x42d),_0x42babe(0x3d8,0x3ba,0x52f,0x2ba),'memory','rss']),statuslineItemSchema=z[_0x41c53b(0x47c,0x510,0x40f,0x60d)]([statuslineSegmentSchema,z[_0x41c53b(0x4a6,0x568,0x5ff,0x4a3)]('|')]),statuslineRowSchema=z[_0x41c53b(0x56a,0x527,0x597,0x58e)](statuslineItemSchema),statuslineConfigSchema=z[_0x42babe(0x345,0x2ff,0x47e,0x25b)]({'rows':z[_0x41c53b(0x219,0x387,0x41d,0x4a1)]([statuslineRowSchema,statuslineRowSchema])[_0x41c53b(0x3e2,0x445,0x554,0x368)]()})[_0x41c53b(0x434,0x45c,0x484,0x418)](),memorySettingsSchema=z[_0x42babe(0x345,0x215,0x1de,0x2a1)]({'version':z[_0x42babe(0x2f8,0x2a5,0x2fd,0x2ef)](0x2)['optional'](),'retrieval':z[_0x41c53b(0x588,0x5b5,0x6d0,0x712)]({'engine':z['literal'](_0x41c53b(0x4f9,0x673,0x6e2,0x547))[_0x42babe(0x1d5,0x32b,0xee,0x17d)](),'candidateLimit':z[_0x41c53b(0x6a1,0x589,0x58b,0x632)]()[_0x42babe(0x1d5,0xcc,0x54,0x17a)](),'activeCandidateLimit':z[_0x41c53b(0x706,0x589,0x4b6,0x674)]()[_0x41c53b(0x5be,0x445,0x4e0,0x4eb)](),'activeEnabled':z['boolean']()['optional'](),'maxQueriesPerTurn':z['number']()[_0x42babe(0x1d5,0x143,0x104,0x69)](),'coreInjectTokenBudget':z[_0x42babe(0x319,0x1cf,0x2df,0x2f6)]()[_0x42babe(0x1d5,0x288,0x144,0x31f)](),'injectTokenBudget':z[_0x42babe(0x319,0x474,0x3b3,0x1c5)]()[_0x42babe(0x1d5,0x2d4,0x104,0xc3)](),'minScore':z['number']()[_0x41c53b(0x42d,0x445,0x381,0x327)](),'freshnessHalfLifeDays':z[_0x42babe(0x319,0x2e5,0x22b,0x2c1)]()[_0x41c53b(0x37c,0x445,0x458,0x593)]()})[_0x41c53b(0x2ef,0x45c,0x397,0x51d)]()[_0x41c53b(0x37f,0x445,0x54f,0x512)](),'extraction':z[_0x41c53b(0x54e,0x5b5,0x4bd,0x4c2)]({'enabled':z[_0x41c53b(0x452,0x384,0x258,0x469)]()[_0x42babe(0x1d5,0x18c,0x27f,0x1bf)](),'provider':z[_0x42babe(0x34a,0x213,0x4c7,0x4b3)]()[_0x42babe(0x1d5,0x20d,0x2df,0xda)](),'model':z[_0x41c53b(0x64d,0x5ba,0x707,0x596)]()[_0x41c53b(0x2fe,0x445,0x581,0x302)](),'sensitiveFilter':z[_0x42babe(0x114,-0x55,0x8b,-0x5e)]()['optional']()})['passthrough']()[_0x41c53b(0x2dd,0x445,0x322,0x3a1)](),'index':z[_0x42babe(0x345,0x445,0x20a,0x38e)]({'persisted':z[_0x41c53b(0x464,0x384,0x45e,0x3ce)]()['optional'](),'flushIntervalMs':z[_0x41c53b(0x614,0x589,0x46d,0x533)]()[_0x42babe(0x1d5,0x20c,0x70,0x1c6)]()})[_0x42babe(0x1ec,0x2cc,0x1e1,0x247)]()[_0x42babe(0x1d5,0x313,0x129,0x1e5)](),'enabled':z[_0x42babe(0x114,0xd9,0xd1,-0x2b)]()[_0x41c53b(0x5b2,0x445,0x499,0x456)](),'saveTool':z['boolean']()[_0x41c53b(0x413,0x445,0x404,0x44a)](),'model':z[_0x42babe(0x34a,0x3e5,0x33d,0x3c7)]()[_0x41c53b(0x506,0x445,0x5a4,0x551)](),'provider':z['string']()['optional'](),'maxInjectionTokens':z[_0x42babe(0x319,0x20c,0x287,0x27f)]()[_0x41c53b(0x563,0x445,0x30b,0x41d)](),'backgroundExtraction':z['boolean']()['optional']()})[_0x41c53b(0x3d5,0x45c,0x57c,0x488)](),recentModelSchema=z[_0x42babe(0x345,0x3e5,0x301,0x4b3)]({'provider':z[_0x42babe(0x34a,0x3d1,0x1c7,0x227)](),'model':z['string'](),'usedAt':z[_0x42babe(0x319,0x387,0x3bc,0x378)]()})['passthrough'](),lspServerEntrySchema=z['object']({'disabled':z[_0x41c53b(0x233,0x384,0x37c,0x3ff)]()[_0x42babe(0x1d5,0x2b5,0x243,0x2f2)](),'command':z['string']()[_0x42babe(0x1d5,0x296,0x328,0x1e5)](),'args':z[_0x42babe(0x2b7,0x34d,0x1d9,0x2d4)](z[_0x41c53b(0x4f1,0x5ba,0x62e,0x4f5)]())['optional'](),'rootMarkers':z['array'](z[_0x41c53b(0x735,0x5ba,0x568,0x6a8)]())[_0x42babe(0x1d5,0x32a,0xfe,0x1aa)]()})[_0x41c53b(0x491,0x45c,0x325,0x30f)](),lspConfigSchema=z[_0x41c53b(0x6bc,0x5b5,0x4b0,0x4f3)]({'enabled':z[_0x41c53b(0x2d3,0x384,0x42d,0x42f)]()[_0x41c53b(0x529,0x445,0x51f,0x3a8)](),'servers':z[_0x41c53b(0x53a,0x676,0x545,0x5f3)](z[_0x42babe(0x34a,0x2f2,0x1c9,0x3e7)](),lspServerEntrySchema)[_0x42babe(0x1d5,0x357,0x1a1,0x2aa)]()})[_0x41c53b(0x491,0x45c,0x4b9,0x4cf)](),serverEndpointSchema=z[_0x41c53b(0x72d,0x5b5,0x6a8,0x6f7)]({'url':z['string'](),'token':z[_0x42babe(0x34a,0x2f9,0x2ea,0x3d8)]()[_0x41c53b(0x318,0x445,0x50f,0x519)]()})['passthrough'](),commandHookConfigSchema=z[_0x42babe(0x345,0x35d,0x239,0x47a)]({'type':z[_0x41c53b(0x4de,0x568,0x4c4,0x50c)](_0x41c53b(0x786,0x66c,0x5c0,0x6d6)),'command':z[_0x41c53b(0x5ba,0x5ba,0x597,0x64c)](),'timeout':z[_0x41c53b(0x4fb,0x589,0x6e4,0x56b)]()[_0x42babe(0x1d5,0x35d,0x2ce,0x1a0)]()}),hookMatcherGroupSchema=z['object']({'matcher':z[_0x41c53b(0x6e3,0x5ba,0x4de,0x692)]()[_0x42babe(0x1d5,0xfd,0x275,0x8f)](),'hooks':z['array'](commandHookConfigSchema)}),hooksConfigSchema=z[_0x41c53b(0x601,0x5b5,0x57f,0x71a)]({'PreToolUse':z[_0x42babe(0x2b7,0x372,0x165,0x1e5)](hookMatcherGroupSchema)[_0x42babe(0x1d5,0x1f1,0x2cc,0xce)](),'PostToolUse':z[_0x42babe(0x2b7,0x1cc,0x3fa,0x337)](hookMatcherGroupSchema)[_0x42babe(0x1d5,0x81,0x28a,0x1e6)](),'UserPromptSubmit':z[_0x42babe(0x2b7,0x1b3,0x355,0x207)](hookMatcherGroupSchema)[_0x42babe(0x1d5,0x95,0x193,0x223)](),'Stop':z['array'](hookMatcherGroupSchema)[_0x42babe(0x1d5,0x1f7,0x26c,0x18e)](),'Notification':z[_0x42babe(0x2b7,0x182,0x1a0,0x3d8)](hookMatcherGroupSchema)[_0x42babe(0x1d5,0x1a2,0x180,0x2bb)](),'ToolApprovalRequest':z[_0x41c53b(0x467,0x527,0x3b6,0x590)](hookMatcherGroupSchema)['optional'](),'SessionStart':z[_0x41c53b(0x4d7,0x527,0x3d2,0x46b)](hookMatcherGroupSchema)['optional'](),'SessionEnd':z[_0x42babe(0x2b7,0x169,0x437,0x1e7)](hookMatcherGroupSchema)[_0x41c53b(0x35e,0x445,0x35a,0x442)]()}),providerNameSchema=z[_0x41c53b(0x732,0x5ba,0x4ba,0x68c)]()[_0x41c53b(0x47b,0x47f,0x4ef,0x37e)](0x1,_0x41c53b(0x749,0x5c5,0x5e4,0x73b))[_0x41c53b(0x749,0x614,0x4ac,0x71e)](_0x1737ef=>!_0x1737ef[_0x42babe(0x161,0x29c,0x2b4,0x21e)](':'),_0x41c53b(0x335,0x41c,0x4e6,0x472)),cliConfigSchema=z[_0x41c53b(0x4c6,0x5b5,0x478,0x543)]({'activeProvider':providerNameSchema[_0x41c53b(0x33b,0x445,0x43c,0x54d)](),'activeModel':z[_0x41c53b(0x5c1,0x5ba,0x571,0x535)]()['optional'](),'apiKey':z[_0x42babe(0x34a,0x282,0x44f,0x2e4)]()['optional'](),'providers':z[_0x41c53b(0x723,0x676,0x73d,0x76c)](providerNameSchema,providerConfigSchema)[_0x42babe(0x1d5,0x2b6,0x196,0xfc)](),'mcp':mcpSettingsSchema['optional'](),'skills':skillsSettingsSchema['optional'](),'agents':agentsSettingsSchema[_0x41c53b(0x4b5,0x445,0x38e,0x5bf)](),'commands':commandsSettingsSchema[_0x41c53b(0x2da,0x445,0x300,0x5ab)](),'skillsEnabled':z['record'](z[_0x42babe(0x34a,0x406,0x43a,0x367)](),z['boolean']())[_0x42babe(0x1d5,0x1af,0x1f2,0x117)](),'allowedDirs':z[_0x41c53b(0x611,0x527,0x509,0x619)](z[_0x41c53b(0x4a3,0x5ba,0x698,0x513)]())['optional'](),'mcpEnabled':prototypeSafeRecord(z[_0x41c53b(0x302,0x384,0x2d5,0x231)]())[_0x41c53b(0x3b4,0x445,0x3d9,0x2c7)](),'commandsEnabled':z['record'](z[_0x42babe(0x34a,0x3fd,0x4c0,0x28e)](),z['boolean']())['optional'](),'memory':memorySettingsSchema[_0x41c53b(0x331,0x445,0x4e3,0x2fa)](),'session':z[_0x42babe(0x345,0x38a,0x39c,0x4bb)]({'memPersist':z[_0x41c53b(0x370,0x384,0x205,0x2dd)]()['optional'](),'persistEventLog':z[_0x42babe(0x114,0x1f9,0x177,0x267)]()[_0x41c53b(0x37d,0x445,0x2da,0x2be)](),'persistHttpLog':z[_0x41c53b(0x309,0x384,0x259,0x321)]()[_0x41c53b(0x32a,0x445,0x48d,0x4ce)]()})['passthrough']()[_0x41c53b(0x37d,0x445,0x5b1,0x406)](),'requireToolApproval':z[_0x41c53b(0x38b,0x384,0x39d,0x244)]()[_0x41c53b(0x2f1,0x445,0x3b4,0x3aa)](),'thinking':z[_0x42babe(0x186,0x28,0x281,0x19a)]([_0x42babe(0x235,0xb2,0xbc,0x312),'LOW',_0x41c53b(0x660,0x5ce,0x55f,0x4cc),_0x42babe(0x3ef,0x31f,0x363,0x2d4)])[_0x42babe(0x1d5,0x314,0x1a7,0x357)](),'streamingChunks':z[_0x41c53b(0x220,0x384,0x2b3,0x32d)]()[_0x42babe(0x1d5,0x193,0x34c,0x318)](),'agentsEnabled':z[_0x41c53b(0x619,0x676,0x703,0x672)](z[_0x41c53b(0x65b,0x5ba,0x534,0x6a6)](),z['boolean']())[_0x41c53b(0x3a6,0x445,0x54f,0x4a4)](),'recentModels':z[_0x41c53b(0x510,0x527,0x496,0x4c6)](recentModelSchema)[_0x41c53b(0x4c8,0x445,0x344,0x510)](),'lsp':lspConfigSchema[_0x42babe(0x1d5,0x17b,0xf0,0x1ee)](),'servers':z['record'](z[_0x42babe(0x34a,0x3bc,0x329,0x316)](),serverEndpointSchema)['optional'](),'ui':z[_0x42babe(0x345,0x43b,0x3c5,0x433)]({'theme':uiThemeSettingsSchema['optional'](),'statusline':statuslineConfigSchema[_0x41c53b(0x444,0x445,0x31b,0x58a)]()})[_0x41c53b(0x523,0x45c,0x50a,0x2f1)]()[_0x42babe(0x1d5,0x203,0x1e0,0x212)](),'tools':z[_0x41c53b(0x626,0x676,0x778,0x719)](z[_0x41c53b(0x59f,0x5ba,0x5fd,0x55f)](),z['unknown']())[_0x42babe(0x1d5,0x22a,0x274,0x126)](),'hooks':hooksConfigSchema[_0x41c53b(0x5b4,0x445,0x453,0x2d1)]()})[_0x42babe(0x1ec,0x30d,0x194,0x335)](),workspaceOverlaySchema=z[_0x41c53b(0x56b,0x5b5,0x6c9,0x48d)]({'root':z[_0x41c53b(0x52b,0x5ba,0x54d,0x6ec)]()[_0x41c53b(0x4c2,0x445,0x43d,0x574)](),'allowedDirs':z[_0x41c53b(0x51d,0x527,0x698,0x537)](z[_0x41c53b(0x57a,0x5ba,0x47d,0x4a8)]())[_0x41c53b(0x514,0x445,0x3e0,0x4f4)](),'activeProvider':providerNameSchema['optional'](),'activeModel':z[_0x42babe(0x34a,0x4bb,0x246,0x49b)]()[_0x42babe(0x1d5,0x177,0x52,0x34c)](),'mcp':mcpSettingsSchema[_0x42babe(0x1d5,0x9c,0xf2,0xf2)](),'skills':skillsSettingsSchema[_0x41c53b(0x48c,0x445,0x30c,0x354)](),'agents':agentsSettingsSchema[_0x42babe(0x1d5,0x30a,0x2f4,0xd9)](),'commands':commandsSettingsSchema['optional'](),'hooks':hooksConfigSchema[_0x41c53b(0x550,0x445,0x321,0x54d)](),'memory':memorySettingsSchema[_0x42babe(0x1d5,0x28a,0x125,0x2cd)](),'mcpEnabled':prototypeSafeRecord(z['boolean']())[_0x41c53b(0x2fb,0x445,0x332,0x59b)](),'skillsEnabled':z[_0x42babe(0x406,0x58e,0x424,0x4dc)](z[_0x42babe(0x34a,0x3cb,0x3d7,0x3de)](),z[_0x41c53b(0x36b,0x384,0x422,0x4c9)]())[_0x41c53b(0x580,0x445,0x4b6,0x315)](),'agentsEnabled':z[_0x42babe(0x406,0x54d,0x38d,0x498)](z[_0x41c53b(0x434,0x5ba,0x665,0x624)](),z[_0x41c53b(0x417,0x384,0x3c3,0x20d)]())[_0x42babe(0x1d5,0x304,0x312,0x14e)](),'commandsEnabled':z['record'](z[_0x42babe(0x34a,0x3f7,0x4c5,0x3e1)](),z[_0x41c53b(0x3cc,0x384,0x4b3,0x505)]())[_0x41c53b(0x56d,0x445,0x587,0x447)]()})[_0x41c53b(0x5ce,0x45c,0x46f,0x50d)](),PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object[_0x42babe(0x333,0x1f2,0x287,0x3c1)](Object[_0x41c53b(0x5c2,0x661,0x682,0x52e)]),_0x42babe(0x3f1,0x2ca,0x293,0x467)]);function buildDescription(_0x41c84c){const _0x1ecb95={_0x52ac4b:0x3ad,_0x3e7b7f:0x3ee,_0x43f129:0x3a1,_0x2765fe:0x470,_0x465bd8:0x48a,_0x151211:0x5fc,_0x447b4f:0x4be,_0x2bf687:0x495,_0x1fee00:0x42a,_0x453d72:0x360,_0x36fd84:0x32b},_0x5531bc={_0x133a70:0x1e,_0x2f9cb9:0x0};if(_0x41c84c[_0x13a032(0x28b,0x2e9,0x277,_0x1ecb95._0x52ac4b)]===0x0)return[_0x13a032(_0x1ecb95._0x3e7b7f,_0x1ecb95._0x43f129,_0x1ecb95._0x2765fe,_0x1ecb95._0x465bd8),'Use\x20this\x20when\x20the\x20user\x27s\x20request\x20matches\x20an\x20available\x20command\x20description,\x20even\x20if\x20the\x20user\x20did\x20not\x20type\x20the\x20slash\x20command\x20explicitly.','No\x20commands\x20are\x20currently\x20available.'][_0x13a032(0x449,_0x1ecb95._0x151211,_0x1ecb95._0x447b4f,_0x1ecb95._0x2bf687)]('\x0a');function _0x13a032(_0x50fe07,_0x5ea194,_0x2634d0,_0x2f8777){return _0x41c53b(_0x50fe07-0x1f2,_0x2f8777- -0xd6,_0x2634d0,_0x2f8777-0x83);}function _0x4c3978(_0x381496,_0x5e9c3f,_0x166366,_0x595af5){return _0x42babe(_0x166366- -_0x5531bc._0x133a70,_0x5e9c3f-0x48,_0x5e9c3f,_0x595af5-_0x5531bc._0x2f9cb9);}const _0x42681c=[_0x13a032(_0x1ecb95._0x1fee00,0x450,_0x1ecb95._0x453d72,0x48a),_0x4c3978(0x1e6,0x2ae,0x328,0x3f3),_0x13a032(0x3f4,0x20b,0x3f6,_0x1ecb95._0x36fd84),..._0x41c84c['map'](_0x75e3ed=>_0x75e3ed['argumentHint']?'-\x20'+_0x75e3ed[_0x4c3978(0x36f,0x298,0x208,0xf0)]+'\x20'+_0x75e3ed[_0x13a032(0x4df,0x41e,0x62f,0x4c8)]+':\x20'+_0x75e3ed[_0x4c3978(0x413,0x233,0x33d,0x207)]:'-\x20'+_0x75e3ed[_0x13a032(0x32b,0x355,0x352,0x3c0)]+':\x20'+_0x75e3ed[_0x4c3978(0x3dd,0x206,0x33d,0x421)])];return _0x42681c['join']('\x0a');}function createInvokeCommandTool(_0x5f4d64){const _0x26c032={_0x3d794c:0x59d,_0x3a1ae0:0x376,_0x932d47:0x32c,_0x4f2ab7:0x28d,_0x4bc1f8:0x14b,_0x47d848:0x49c,_0x85169d:0x3d3},_0x4dbb45={_0x360ed0:0x11f,_0x110fef:0x11b,_0x4107ae:0x421,_0x4d14ff:0x35f,_0x51a14f:0x433,_0x37a6d5:0x3ba,_0x18a73d:0x416,_0x426f5d:0x2cd,_0x107cf9:0x20,_0x42d0c1:0x168,_0x304578:0x24b,_0x421186:0x3be,_0x10d2c5:0x339,_0x674a6e:0x4d1,_0x944c9f:0x470,_0x5a8577:0x422,_0x5e2e16:0x386,_0x1d2913:0xdc,_0x433e87:0x2e,_0x48130b:0x2ec,_0xec97de:0x1b4,_0x2c654b:0x297,_0x1ca3bf:0x44d,_0x3cf300:0x43e},_0xfac9a2={_0x5adcc2:0x9b},_0x2db932={_0x4f4000:0x4f,_0x49c756:0x66};function _0x416caf(_0x301630,_0x4d8605,_0x3b07f0,_0xbdbd12){return _0x42babe(_0x3b07f0-_0x2db932._0x4f4000,_0x4d8605-_0x2db932._0x49c756,_0x4d8605,_0xbdbd12-0x10);}function _0x57576c(_0x43405,_0x5f2ddf,_0xe9f03e,_0xb3c654){return _0x41c53b(_0x43405-0xd2,_0x43405- -0x11e,_0x5f2ddf,_0xb3c654-_0xfac9a2._0x5adcc2);}const _0x191c7c=new Map(_0x5f4d64['commands'][_0x57576c(0x4f0,0x441,_0x26c032._0x3d794c,_0x26c032._0x3a1ae0)](_0x2cc0f0=>[_0x2cc0f0['id'],_0x2cc0f0])),_0x3f93b2=buildDescription(_0x5f4d64[_0x57576c(0x2ac,_0x26c032._0x932d47,_0x26c032._0x4f2ab7,_0x26c032._0x4bc1f8)]);return defineTool({'name':'InvokeCommand','description':_0x3f93b2,'inputSchema':{'type':'object','properties':{'name':{'type':'string'},'args':{'type':_0x57576c(_0x26c032._0x47d848,0x56d,_0x26c032._0x85169d,0x3cd)}},'required':['name']},async *'execute'(_0x2fba1f){const _0x5b9ada={_0x584811:0x358},_0x5c9a51={_0x23bd2b:0x4b,_0x1f3251:0x1aa,_0xfb10e:0xd5},_0x5ad736=_0x191c7c['get'](_0x2fba1f[_0x3acff9(0x20,-_0x4dbb45._0x360ed0,_0x4dbb45._0x110fef,-0x147)]);if(!_0x5ad736){const _0x12978f=Array[_0x1c1e54(_0x4dbb45._0x4107ae,_0x4dbb45._0x4d14ff,0x52e,0x383)](_0x191c7c[_0x1c1e54(_0x4dbb45._0x51a14f,0x3ff,_0x4dbb45._0x37a6d5,_0x4dbb45._0x18a73d)]())['join'](',\x20');throw new ToolExecutionError('Command\x20\x27'+_0x2fba1f[_0x1c1e54(0x3c3,_0x4dbb45._0x426f5d,0x2ae,0x49b)]+'\x27\x20not\x20found.\x20Available\x20commands:\x20'+_0x12978f,{'name':_0x2fba1f[_0x3acff9(_0x4dbb45._0x107cf9,0x1a7,_0x4dbb45._0x42d0c1,-0x10b)]});}function _0x1c1e54(_0x185b03,_0x5b45b0,_0x1631b1,_0x4e6ea3){return _0x57576c(_0x185b03-_0x5c9a51._0x23bd2b,_0x4e6ea3,_0x1631b1-_0x5c9a51._0x1f3251,_0x4e6ea3-_0x5c9a51._0xfb10e);}const _0x55d0e0=await _0x5f4d64[_0x1c1e54(0x345,_0x4dbb45._0x304578,_0x4dbb45._0x421186,_0x4dbb45._0x10d2c5)](_0x5ad736),_0x226a1c=_0x2fba1f['args']??'',_0xc447f=renderCommandInstructions({'instructions':_0x55d0e0[_0x1c1e54(0x4df,_0x4dbb45._0x674a6e,_0x4dbb45._0x944c9f,0x54c)],'argumentsText':_0x226a1c,'argumentNames':_0x55d0e0[_0x1c1e54(_0x4dbb45._0x5a8577,0x3c8,0x340,_0x4dbb45._0x5e2e16)]});function _0x3acff9(_0x1a53d6,_0x48c5da,_0x4eeb41,_0x36e981){return _0x57576c(_0x1a53d6- -_0x5b9ada._0x584811,_0x48c5da,_0x4eeb41-0x77,_0x36e981-0x62);}return yield createToolOutput(_0xc447f,{'id':_0x55d0e0['id'],'name':_0x55d0e0[_0x3acff9(0x20,_0x4dbb45._0x1d2913,_0x4dbb45._0x433e87,0x127)],'path':_0x5ad736[_0x1c1e54(_0x4dbb45._0x48130b,0x1fb,_0x4dbb45._0xec97de,_0x4dbb45._0x2c654b)][_0x1c1e54(0x32f,0x28a,_0x4dbb45._0x1ca3bf,_0x4dbb45._0x3cf300)]}),void 0x0;}});}import{createHash}from'crypto';import{readFile as _0x533459,rename as _0x190a7e,stat as _0x3b0756,writeFile as _0x45803e}from'fs/promises';import*as _0x586550 from'path';function detectEol(_0x47606e){const _0xf6e9ed={_0x2c0729:0x5d3,_0x41daa1:0x471,_0x4b15c0:0x33,_0x29518a:0x43,_0x54785c:0xe,_0x411e80:0x48,_0x55c349:0x10,_0xb9ea1:0x1d9,_0x5bb217:0x4a,_0x42ed72:0x190},_0x2872e0={_0x18a961:0x258,_0xc7c435:0x11a,_0x14a382:0xf5};function _0xb6907d(_0x16af74,_0x53ba1d,_0x34f3e0,_0xb74d67){return _0x42babe(_0x53ba1d-_0x2872e0._0x18a961,_0x53ba1d-_0x2872e0._0xc7c435,_0x16af74,_0xb74d67-_0x2872e0._0x14a382);}function _0x47572a(_0x41eede,_0x223be3,_0x34e4d8,_0x3cf8ff){return _0x42babe(_0x34e4d8- -0x2ad,_0x223be3-0x72,_0x3cf8ff,_0x3cf8ff-0x1db);}return/\r\n/[_0xb6907d(_0xf6e9ed._0x2c0729,_0xf6e9ed._0x41daa1,0x47e,0x355)](_0x47606e[_0x47572a(_0xf6e9ed._0x4b15c0,-_0xf6e9ed._0x29518a,-0x2d,-_0xf6e9ed._0x54785c)](_0x47572a(-_0xf6e9ed._0x411e80,0x4d,0x6,_0xf6e9ed._0x55c349)))?_0x47572a(_0xf6e9ed._0xb9ea1,-_0xf6e9ed._0x5bb217,0x126,_0xf6e9ed._0x42ed72):'lf';}function normalizeToLf(_0x5f50b9){const _0x3efad4={_0x910535:0x1c6,_0x4bda51:0xb0,_0x573b4c:0x1c3},_0x217b83={_0x242a24:0x237,_0x59dcf2:0x51};function _0xfd0e76(_0x262576,_0x19eb34,_0x3194a2,_0x187f6a){return _0x41c53b(_0x262576-0xad,_0x262576- -_0x217b83._0x242a24,_0x19eb34,_0x187f6a-_0x217b83._0x59dcf2);}return _0x5f50b9[_0xfd0e76(_0x3efad4._0x910535,0x12f,_0x3efad4._0x4bda51,_0x3efad4._0x573b4c)](/\r\n/g,'\x0a');}function convertEol(_0x27dfad,_0x170c1b){const _0x3bbf2d={_0x55fbe3:0x3a5,_0x297fba:0x3ae,_0x2f7534:0x3df},_0x24acdc={_0x5b8461:0x221};function _0x1c6369(_0x68417e,_0x2b8779,_0x20f7d1,_0x329c63){return _0x42babe(_0x20f7d1-_0x24acdc._0x5b8461,_0x2b8779-0x1a3,_0x329c63,_0x329c63-0x149);}return _0x170c1b==='crlf'?_0x27dfad[_0x1c6369(0x2af,_0x3bbf2d._0x55fbe3,_0x3bbf2d._0x297fba,_0x3bbf2d._0x2f7534)](/\n/g,'\x0d\x0a'):_0x27dfad;}async function atomicWrite(_0x2adba0,_0x558218){const _0x57374d={_0x3bc69d:0xbe,_0x50a559:0x23a,_0x4835d2:0x96,_0x511b29:0x311,_0x3b729d:0x1c3,_0xa281d1:0x357,_0x7e8db9:0x1ed,_0x50c0fb:0x589,_0x30dc70:0x2cd,_0x5abe7f:0x2ff,_0x1671c3:0x1fa},_0x26c25b={_0x89eae1:0x1ec,_0x7ad6e4:0xe,_0x457cfd:0x12},_0xccfa9a={_0x1f6374:0xd5},_0x1ec258=_0x586550['dirname'](_0x2adba0),_0x3a50cd=_0x586550['join'](_0x1ec258,_0xed9178(_0x57374d._0x3bc69d,_0x57374d._0x50a559,0x5b,_0x57374d._0x4835d2)+_0x586550['basename'](_0x2adba0)+'.'+Date[_0xed9178(_0x57374d._0x511b29,0x35a,0x45f,_0x57374d._0x3b729d)]()+'.'+Math[_0xed9178(_0x57374d._0xa281d1,0x32c,0x3c4,_0x57374d._0x7e8db9)]()[_0x542213(0x366,_0x57374d._0x50c0fb,0x46c,0x51b)](0x24)[_0xed9178(_0x57374d._0x30dc70,0x2fc,_0x57374d._0x5abe7f,_0x57374d._0x1671c3)](0x2));function _0xed9178(_0x1d43cf,_0x2e8975,_0x582925,_0x47549f){return _0x42babe(_0x1d43cf- -0xb3,_0x2e8975-_0xccfa9a._0x1f6374,_0x47549f,_0x47549f-0x1ef);}function _0x542213(_0x3b0e2d,_0x5ebbb3,_0x5880ee,_0x346086){return _0x42babe(_0x5880ee-_0x26c25b._0x89eae1,_0x5ebbb3-_0x26c25b._0x7ad6e4,_0x5ebbb3,_0x346086-_0x26c25b._0x457cfd);}await _0x45803e(_0x3a50cd,_0x558218),await _0x190a7e(_0x3a50cd,_0x2adba0);}function sha256(_0x1c0422){const _0x5967d0={_0x533e4e:0x7da,_0x42c178:0x7e1,_0x293f38:0x6cb,_0x49f311:0x5f6,_0x59aec5:0x4d2,_0x524ec0:0x4ee,_0x4c06c3:0x554},_0x20ea73={_0x34a0cd:0xfa},_0x1f8359={_0x3eb52f:0xa6,_0x31a800:0x1ca};function _0x169481(_0x570eff,_0xf5f152,_0x46534,_0x58de91){return _0x41c53b(_0x570eff-_0x1f8359._0x3eb52f,_0xf5f152-0xd7,_0x570eff,_0x58de91-_0x1f8359._0x31a800);}function _0x4d1141(_0x23ff6f,_0x1caf54,_0x34ac60,_0xea879e){return _0x42babe(_0x34ac60-0x2ef,_0x1caf54-_0x20ea73._0x34a0cd,_0xea879e,_0xea879e-0x171);}return createHash(_0x4d1141(_0x5967d0._0x533e4e,_0x5967d0._0x42c178,_0x5967d0._0x293f38,_0x5967d0._0x49f311))['update'](_0x1c0422)[_0x4d1141(0x680,_0x5967d0._0x59aec5,0x5fe,0x771)](_0x169481(0x530,0x457,_0x5967d0._0x524ec0,_0x5967d0._0x4c06c3));}function countLines(_0xe0e5e7){const _0x4203fc={_0x444cd3:0x168,_0x1487fd:0x1a0,_0x4cf855:0x85,_0x5a9f9c:0xd7,_0x183db3:0x1a8,_0x3288fd:0x279,_0x4085fc:0x11a},_0x1df4b5={_0x22e3d3:0x32d,_0x272102:0x1b5},_0x5aab4b={_0x1520ca:0x19c,_0x184b01:0x43f,_0x1e9178:0x1a4};function _0x20cec2(_0x3b7e96,_0x8f1c9,_0x297cfd,_0x7c31e4){return _0x41c53b(_0x3b7e96-_0x5aab4b._0x1520ca,_0x7c31e4- -_0x5aab4b._0x184b01,_0x8f1c9,_0x7c31e4-_0x5aab4b._0x1e9178);}function _0x1b7f7f(_0x51f471,_0x10d8d7,_0x31f3a2,_0x12c787){return _0x42babe(_0x12c787- -_0x1df4b5._0x22e3d3,_0x10d8d7-_0x1df4b5._0x272102,_0x51f471,_0x12c787-0x1b1);}const _0x2eac01=_0xe0e5e7[_0x1b7f7f(-_0x4203fc._0x444cd3,-0x1b4,-0x190,-_0x4203fc._0x1487fd)](/\n$/,'');return _0x2eac01[_0x20cec2(-0x9d,0xa,0x79,0x44)]===0x0?0x0:_0x2eac01[_0x1b7f7f(-_0x4203fc._0x4cf855,-0x29,-_0x4203fc._0x5a9f9c,-_0x4203fc._0x183db3)]('\x0a')[_0x1b7f7f(-0x2a1,-0xc1,-_0x4203fc._0x3288fd,-_0x4203fc._0x4085fc)];}function calculateLineNumbers(_0x5ea150,_0x542e32,_0x236988,_0x6f9e73){const _0x196492={_0x132e5a:0x35f,_0x32d41b:0x23e,_0x399f3f:0x365},_0x371c70={_0x2102eb:0x291,_0x454b27:0x58},_0x16ff5c={_0xf7a662:0x270,_0x5c08b3:0x29},_0x258e2a=_0x5ea150[_0x5cd8da(0x3c7,0x276,_0x196492._0x132e5a,_0x196492._0x32d41b)](0x0,_0x6f9e73)[_0x51323d(0x448,0x474,0x3f5,_0x196492._0x399f3f)]('\x0a')['length'];function _0x51323d(_0x1a07fe,_0x49d8c7,_0x39bc7a,_0x34135f){return _0x42babe(_0x39bc7a-_0x16ff5c._0xf7a662,_0x49d8c7-_0x16ff5c._0x5c08b3,_0x34135f,_0x34135f-0x77);}const _0xe3a2cd=countLines(_0x542e32);function _0x5cd8da(_0x24fcce,_0x27d465,_0xea5f30,_0xbcadaa){return _0x41c53b(_0x24fcce-0x81,_0xea5f30- -_0x371c70._0x2102eb,_0xbcadaa,_0xbcadaa-_0x371c70._0x454b27);}const _0x230dd9=countLines(_0x236988);return{'oldStartLine':_0x258e2a,'oldEndLine':_0x258e2a+_0xe3a2cd-0x1,'newStartLine':_0x258e2a,'newEndLine':_0x258e2a+_0x230dd9-0x1,'oldLineCount':_0xe3a2cd,'newLineCount':_0x230dd9};}function createFileEditTool(_0x5f0d97={}){const _0x58f7db={_0x367449:0x1d7,_0x25346d:0x273,_0x32ad7a:0xa9,_0x4f55e4:0x2b1,_0x13ed2c:0x33a,_0x21255a:0x2ba,_0x5d8c24:0x1c3,_0x11b174:0x50c,_0x4935d6:0x2df,_0x532cd2:0x42a,_0x5630bd:0x2b7,_0x580162:0x378,_0x1aa846:0x1bf,_0x4e94da:0x54e,_0x5f1431:0x34e,_0x50b081:0x661,_0x45c504:0x57e,_0x58137e:0x1b,_0x4819b8:0x7e,_0x1f408c:0x1b9,_0x4ce9e1:0x16d,_0x291696:0x24f,_0x40dba1:0x5a0,_0x1467f1:0x6d3},_0x4735fb={_0x435447:0x49e,_0x888853:0x51a,_0x308ae2:0x63a,_0x1ee3cc:0x52c,_0x5029c8:0x573,_0x22d489:0x6b8,_0x18f5b4:0x35b,_0x594cb1:0x657,_0x1525ac:0x239,_0x54d4e8:0x11d,_0x1d8de8:0x1f8,_0x34da56:0xed,_0x3e0ccb:0x2c9,_0x2effe9:0x241,_0x22af71:0x3e2,_0x2c0a6f:0x4bf,_0x333c7c:0x359,_0x31891d:0x3ff,_0x21ae83:0x3dd,_0x3cdbaa:0x498,_0xbb727a:0x5db,_0x275957:0x42c,_0x111bc6:0x360,_0x6cae47:0x330,_0x52049e:0x235,_0x639553:0x497,_0x3ca35b:0x425,_0x1767c4:0x29f,_0x584ea5:0x33f,_0x59f591:0x28b,_0x2f6479:0x3bd,_0x116fe7:0x2b0,_0x27e4a0:0x424,_0x333e01:0x306,_0x5ec5eb:0x2f2,_0x2debf1:0x506,_0x80a15f:0x4c0,_0x1e9fc2:0x455,_0xb40148:0x2bf,_0x1974d5:0x299,_0x2507bd:0x4bf},_0x24c2f5={_0x4ad52a:0x158,_0x6138cb:0x98},_0xb8a3c0={_0x3cc278:0x6c,_0x598105:0x84},_0x2070fd={_0x301f00:0x190},_0x5a002e=_0x586550[_0x2fa169(_0x58f7db._0x367449,_0x58f7db._0x25346d,_0x58f7db._0x32ad7a,_0x58f7db._0x4f55e4)](_0x5f0d97['defaultCwd']??process[_0x474a1e(_0x58f7db._0x13ed2c,_0x58f7db._0x21255a,0x333,0x1c3)]()),_0x22db75=_0x5f0d97[_0x2fa169(_0x58f7db._0x5d8c24,0x254,0xff,0xa8)]??[];function _0x2fa169(_0x4fc9db,_0x3c5c49,_0x4c0a35,_0x296946){return _0x42babe(_0x4fc9db- -0x93,_0x3c5c49-0x11e,_0x4c0a35,_0x296946-_0x2070fd._0x301f00);}function _0x474a1e(_0x4f4427,_0x5aa761,_0x19b2f4,_0x589492){return _0x41c53b(_0x4f4427-0x101,_0x19b2f4- -_0xb8a3c0._0x3cc278,_0x5aa761,_0x589492-_0xb8a3c0._0x598105);}const _0x1fbb1a=_0x5f0d97[_0x474a1e(_0x58f7db._0x11b174,_0x58f7db._0x4935d6,_0x58f7db._0x532cd2,0x4cf)]??'FileEdit';return defineTool({'name':_0x1fbb1a,'description':'Edit\x20a\x20UTF-8\x20text\x20file\x20in\x20the\x20workspace\x20or\x20allowed\x20directories\x20by\x20replacing\x20the\x20first\x20exact\x20text\x20segment.','inputSchema':{'type':_0x474a1e(0x696,0x5c9,0x549,0x6cb),'properties':{'filePath':{'type':_0x2fa169(_0x58f7db._0x5630bd,0x1cc,_0x58f7db._0x580162,_0x58f7db._0x1aa846)},'description':{'type':_0x474a1e(0x683,0x4a8,_0x58f7db._0x4e94da,0x48d),'description':_0x474a1e(0x35c,_0x58f7db._0x5f1431,0x37c,0x492)},'oldText':{'type':'string'},'newText':{'type':_0x474a1e(_0x58f7db._0x50b081,_0x58f7db._0x45c504,_0x58f7db._0x4e94da,0x575)},'dryRun':{'type':_0x2fa169(0x81,_0x58f7db._0x58137e,_0x58f7db._0x4819b8,0x12b)}},'required':[_0x2fa169(0x14c,_0x58f7db._0x1f408c,_0x58f7db._0x4ce9e1,_0x58f7db._0x291696),_0x474a1e(0x5b3,_0x58f7db._0x40dba1,0x5ff,_0x58f7db._0x1467f1),'newText']},async *'execute'(_0x25925e){const _0x2be482={_0x4afa69:0xbd};function _0x123e33(_0x29cad8,_0x179a62,_0x136fb5,_0x2956a9){return _0x474a1e(_0x29cad8-_0x2be482._0x4afa69,_0x136fb5,_0x179a62-0xa8,_0x2956a9-0xdc);}const _0x58863a=resolveAllowedPath(_0x5a002e,_0x22db75,_0x25925e[_0x123e33(0x360,0x48b,_0x4735fb._0x435447,0x4bb)]);await assertWorkspaceFile(_0x58863a);const _0x29d87e=await _0x3b0756(_0x58863a),_0x167b30=await _0x533459(_0x58863a),_0x277670=detectEol(_0x167b30),_0x5824d3=normalizeToLf(_0x167b30[_0x123e33(_0x4735fb._0x888853,0x52c,_0x4735fb._0x308ae2,_0x4735fb._0x1ee3cc)]('utf8')),_0x128a85=normalizeToLf(_0x25925e[_0x123e33(_0x4735fb._0x5029c8,0x6a7,_0x4735fb._0x22d489,0x73c)]),_0x48b588=normalizeToLf(_0x25925e['newText']),_0x250e57=_0x5824d3[_0x144234(0x3ae,_0x4735fb._0x18f5b4,0x3ed,0x300)](_0x128a85);if(_0x250e57===-0x1){const _0x29d7aa=_0x128a85[_0x123e33(_0x4735fb._0x594cb1,0x62c,0x73f,0x52c)](0x0,0x64)[_0x144234(_0x4735fb._0x1525ac,_0x4735fb._0x54d4e8,_0x4735fb._0x1d8de8,_0x4735fb._0x34da56)](/\n/g,'\x5cn');throw new ToolExecutionError(_0x144234(_0x4735fb._0x3e0ccb,0x24c,_0x4735fb._0x2effe9,0x39c)+_0x29d7aa+(_0x128a85[_0x123e33(_0x4735fb._0x22af71,_0x4735fb._0x2c0a6f,0x3d3,_0x4735fb._0x333c7c)]>0x64?_0x144234(_0x4735fb._0x31891d,_0x4735fb._0x21ae83,0x342,_0x4735fb._0x3cdbaa):'')+'\x22',{'filePath':_0x25925e[_0x123e33(_0x4735fb._0xbb727a,0x48b,0x511,0x46c)]});}const _0x36d223=_0x5824d3[_0x144234(_0x4735fb._0x275957,_0x4735fb._0x111bc6,0x48b,0x300)](0x0,_0x250e57)+_0x48b588+_0x5824d3['slice'](_0x250e57+_0x128a85['length']),_0x1da356=convertEol(_0x36d223,_0x277670),_0xb78187=Buffer[_0x144234(_0x4735fb._0x6cae47,_0x4735fb._0x52049e,0x398,0x2e3)](_0x1da356,'utf8'),_0x450861=sha256(_0x167b30),_0x27b06a=sha256(_0xb78187),_0x264e1e=_0x450861===_0x27b06a,_0x3bfb02=_0x25925e['dryRun']??![];function _0x144234(_0xd78c21,_0x1e2860,_0x3f54fe,_0x54f78e){return _0x474a1e(_0xd78c21-0x1c8,_0x54f78e,_0xd78c21- -_0x24c2f5._0x4ad52a,_0x54f78e-_0x24c2f5._0x6138cb);}return!_0x3bfb02&&!_0x264e1e&&await atomicWrite(_0x58863a,_0xb78187),yield createToolOutput(_0x264e1e?_0x144234(_0x4735fb._0x639553,0x499,0x617,_0x4735fb._0x3ca35b):_0x3bfb02?'Validated\x20(dry\x20run:\x20no\x20write).':_0x144234(_0x4735fb._0x1767c4,0x334,0x28a,_0x4735fb._0x584ea5),{'filePath':_0x25925e[_0x144234(_0x4735fb._0x59f591,0x298,0x3b7,_0x4735fb._0x2f6479)],'resolvedPath':_0x58863a,'created':_0x29d87e[_0x144234(_0x4735fb._0x116fe7,0x190,0x3b9,_0x4735fb._0x27e4a0)][_0x144234(_0x4735fb._0x333e01,_0x4735fb._0x5ec5eb,0x1e8,0x1c5)](),'modified':_0x29d87e['mtime'][_0x123e33(0x55e,_0x4735fb._0x2debf1,_0x4735fb._0x80a15f,_0x4735fb._0x1e9fc2)](),'size':_0x29d87e['size'],'eol':_0x277670,'oldTextLength':_0x128a85[_0x144234(_0x4735fb._0xb40148,0x3bf,_0x4735fb._0x1974d5,0x441)],'newTextLength':_0x48b588[_0x123e33(0x5de,_0x4735fb._0x2507bd,0x42a,0x5c0)],'bytesWritten':_0x264e1e||_0x3bfb02?0x0:_0xb78187['length'],'beforeSha':_0x450861,'afterSha':_0x27b06a,'dryRun':_0x3bfb02,'noChange':_0x264e1e,'lineNumbers':calculateLineNumbers(_0x5824d3,_0x128a85,_0x48b588,_0x250e57)}),void 0x0;}});}import{mkdir as _0x1b3673,rename as _0x383595,stat as _0x45af38,writeFile as _0xa5f456}from'fs/promises';import*as _0x5b77b2 from'path';async function atomicWrite2(_0xa9c6d,_0x5ddf8b){const _0x36fc1e={_0x5eec93:0x80,_0x1c2ae5:0x3e,_0x2fc18a:0xae,_0xb15870:0x25,_0x11a608:0x2e,_0x98398:0x2a,_0x2d426a:0x34f,_0x5cecee:0x466,_0x2d6e0f:0x446,_0x597541:0x4d2,_0x170571:0x209,_0x519750:0x39,_0x287808:0xc1,_0x1a75e8:0x240,_0x49f911:0x23d,_0x54748f:0x1d5},_0x50da39={_0x199413:0xc9,_0x2c504d:0x3b3,_0x4e81ce:0x26},_0x3f70b2={_0x109116:0x156,_0x31af8e:0x214,_0x4c39ab:0x10f},_0x58dc18=_0x5b77b2[_0x1b106f(_0x36fc1e._0x5eec93,-0x141,-_0x36fc1e._0x1c2ae5,-0x120)](_0xa9c6d);await _0x1b3673(_0x58dc18,{'recursive':!![]});function _0x1e12ab(_0x3ba698,_0x12230a,_0x2aa97f,_0x268887){return _0x41c53b(_0x3ba698-_0x3f70b2._0x109116,_0x12230a- -_0x3f70b2._0x31af8e,_0x268887,_0x268887-_0x3f70b2._0x4c39ab);}const _0x38463c=_0x5b77b2['join'](_0x58dc18,_0x1b106f(_0x36fc1e._0x2fc18a,_0x36fc1e._0xb15870,_0x36fc1e._0x11a608,-_0x36fc1e._0x98398)+_0x5b77b2['basename'](_0xa9c6d)+'.'+Date[_0x1e12ab(0x515,0x420,0x46a,_0x36fc1e._0x2d426a)]()+'.'+Math[_0x1e12ab(0x3e3,_0x36fc1e._0x5cecee,_0x36fc1e._0x2d6e0f,_0x36fc1e._0x597541)]()[_0x1b106f(_0x36fc1e._0x170571,_0x36fc1e._0x519750,0x13d,_0x36fc1e._0x287808)](0x24)[_0x1b106f(0x3ba,_0x36fc1e._0x1a75e8,_0x36fc1e._0x49f911,_0x36fc1e._0x54748f)](0x2));await _0xa5f456(_0x38463c,_0x5ddf8b);function _0x1b106f(_0x3eb681,_0x34e806,_0xdfcc4a,_0x2f47fa){return _0x41c53b(_0x3eb681-_0x50da39._0x199413,_0xdfcc4a- -_0x50da39._0x2c504d,_0x34e806,_0x2f47fa-_0x50da39._0x4e81ce);}await _0x383595(_0x38463c,_0xa9c6d);}function createFileNewTool(_0x4004cc={}){const _0x1d7b67={_0x3f30ea:0x1c7,_0x5b987b:0x15d,_0x46cdb7:0x74,_0x409357:0x1f0,_0x443d32:0x19,_0x1b9575:0xc,_0x4d4ead:0x6c,_0x2ad4d9:0x63,_0x1dfb90:0x7b,_0x190875:0x57b,_0x2ac177:0x6e2,_0x5d2814:0x61,_0x50022f:0xeb,_0x3a0f44:0x25d,_0x9bb753:0x117},_0x573337={_0x20fcb0:0x472,_0x25acaa:0x733,_0x40f692:0x5d3,_0x3dee06:0x484,_0x27082b:0x4b1,_0x345633:0x4e3,_0x367e47:0x55d,_0x44202f:0x65e,_0x19a6cb:0x428,_0x3202fc:0x48f,_0x2bbff5:0x3a3,_0x2a59a1:0x335,_0x1306e8:0x3c8,_0x581a89:0x562,_0x358cfa:0x570,_0x506818:0x5be,_0x2d0c3f:0x5ca,_0x11039c:0x53b,_0x585fce:0x3fc,_0x52f0c7:0x615,_0x463991:0x5a1,_0x3cf10f:0x4ae},_0x37d40b={_0x45dcbd:0xdb},_0xc320da={_0x417176:0x86},_0x35aae2={_0x14f36e:0x6a},_0x1cb760=_0x5b77b2[_0x1be0fa(-_0x1d7b67._0x3f30ea,0x101,-0x60,0x8)](_0x4004cc['defaultCwd']??process['cwd']());function _0x1be0fa(_0x5321e0,_0x1c8a69,_0x37b4f1,_0x3c4880){return _0x41c53b(_0x5321e0-_0x35aae2._0x14f36e,_0x37b4f1- -0x53a,_0x5321e0,_0x3c4880-0x175);}const _0x3ad811=_0x4004cc[_0x1be0fa(-0x1f6,-_0x1d7b67._0x5b987b,-_0x1d7b67._0x46cdb7,-_0x1d7b67._0x409357)]??[],_0x3b0a1a=_0x4004cc[_0x1be0fa(0x1,-0x153,-0xa4,_0x1d7b67._0x443d32)]??'FileNew';function _0x3d47fd(_0x645f52,_0x491bc1,_0x4648b3,_0x1cdf06){return _0x41c53b(_0x645f52-_0xc320da._0x417176,_0x645f52- -0x3f,_0x491bc1,_0x1cdf06-0xb4);}return defineTool({'name':_0x3b0a1a,'description':_0x1be0fa(-0xcb,0x53,_0x1d7b67._0x1b9575,0x72),'inputSchema':{'type':_0x1be0fa(_0x1d7b67._0x4d4ead,-_0x1d7b67._0x2ad4d9,_0x1d7b67._0x1dfb90,0x1c2),'properties':{'filePath':{'type':_0x3d47fd(_0x1d7b67._0x190875,0x53b,0x5ba,0x63e)},'content':{'type':_0x3d47fd(_0x1d7b67._0x190875,_0x1d7b67._0x2ac177,0x5ec,0x5a3)}},'required':[_0x1be0fa(_0x1d7b67._0x5d2814,-0x190,-_0x1d7b67._0x50022f,-_0x1d7b67._0x3a0f44),_0x1be0fa(0x23b,0x1bb,_0x1d7b67._0x9bb753,0x195)]},async *'execute'(_0x41998f){const _0x3bbf05={_0x2bc165:0x124,_0x42b65f:0x51e},_0x7d6930=resolveAllowedPath(_0x1cb760,_0x3ad811,_0x41998f['filePath']);function _0x54ee1d(_0x40337a,_0x255923,_0x4ebbb2,_0x481ee2){return _0x1be0fa(_0x255923,_0x255923-_0x3bbf05._0x2bc165,_0x4ebbb2-_0x3bbf05._0x42b65f,_0x481ee2-0x89);}const _0x4fee2a=await _0x45af38(_0x7d6930)[_0x54ee1d(_0x573337._0x20fcb0,_0x573337._0x25acaa,0x5e0,0x4cf)](()=>!![])[_0x4be313(_0x573337._0x40f692,0x559,0x526,_0x573337._0x3dee06)](()=>![]),_0x51e6f6=Buffer[_0x54ee1d(_0x573337._0x27082b,0x356,0x4d8,0x480)](_0x41998f['content'],_0x4be313(0x569,_0x573337._0x345633,0x5d4,0x49c));await atomicWrite2(_0x7d6930,_0x51e6f6),yield createToolOutput(_0x54ee1d(_0x573337._0x367e47,0x62b,0x54b,_0x573337._0x44202f)+_0x41998f[_0x54ee1d(_0x573337._0x19a6cb,0x374,0x433,_0x573337._0x3202fc)]+'.',{'filePath':_0x41998f[_0x4be313(_0x573337._0x2bbff5,_0x573337._0x2a59a1,0x257,_0x573337._0x1306e8)],'resolvedPath':_0x7d6930,'bytes':_0x51e6f6[_0x4be313(0x51c,_0x573337._0x581a89,_0x573337._0x358cfa,0x3fc)],'lines':_0x41998f[_0x4be313(_0x573337._0x506818,0x695,0x5c3,_0x573337._0x2d0c3f)][_0x4be313(0x440,0x235,0x412,0x36e)](/\r?\n/)[_0x4be313(0x2ca,_0x573337._0x11039c,0x4a1,_0x573337._0x585fce)],'created':new Date()[_0x54ee1d(_0x573337._0x52f0c7,_0x573337._0x463991,_0x573337._0x3cf10f,0x48a)](),'overwritten':_0x4fee2a});function _0x4be313(_0x52cc50,_0x2e816c,_0x495b13,_0x3e8f9){return _0x3d47fd(_0x3e8f9- -0x48,_0x52cc50,_0x495b13-_0x37d40b._0x45dcbd,_0x3e8f9-0x101);}return void 0x0;}});}import{readFile as _0x494382,stat as _0x530466}from'fs/promises';import*as _0x4a642f from'path';function stripUtfBom(_0x55e6fc){const _0x2aa20d={_0x10f2d4:0x9d,_0x1b94fb:0x14,_0x4d4d56:0x293},_0x90e4fb={_0x276203:0x366,_0x5010f8:0x151};function _0x3d523e(_0x23f16f,_0x21112b,_0x4b3f37,_0x225238){return _0x42babe(_0x225238- -_0x90e4fb._0x276203,_0x21112b-0xd,_0x23f16f,_0x225238-_0x90e4fb._0x5010f8);}return _0x55e6fc[_0x3d523e(-_0x2aa20d._0x10f2d4,-_0x2aa20d._0x1b94fb,-_0x2aa20d._0x4d4d56,-0x18a)](0x0)===0xfeff?_0x55e6fc['slice'](0x1):_0x55e6fc;}function clampLine(_0x3e0e23,_0x23efe2){const _0x1cb771={_0x55a3f4:0x244,_0x47b2f1:0xda,_0x4c6e27:0x1d6,_0x23f927:0x195,_0xde1c4a:0xf3},_0x329f0c={_0x327adb:0x302},_0x22720a={_0x21c3d8:0xbe};function _0x4245f4(_0x52e635,_0x555577,_0x5f3e39,_0xa22810){return _0x41c53b(_0x52e635-0x61,_0x52e635- -_0x22720a._0x21c3d8,_0x555577,_0xa22810-0x133);}function _0x2519cf(_0x1ffe79,_0x2e0118,_0x497f0b,_0x22b480){return _0x42babe(_0x497f0b- -_0x329f0c._0x327adb,_0x2e0118-0x5e,_0x1ffe79,_0x22b480-0xf1);}if(!Number[_0x2519cf(-_0x1cb771._0x55a3f4,-_0x1cb771._0x47b2f1,-_0x1cb771._0x4c6e27,-_0x1cb771._0x23f927)](_0x3e0e23))return 0x1;return Math['max'](0x1,Math[_0x2519cf(-0x4a,-0xad,-_0x1cb771._0xde1c4a,-0x245)](Math['trunc'](_0x3e0e23),_0x23efe2));}function createFileReadTool(_0x52f256={}){const _0x105038={_0x5ac7d0:0x635,_0x54e3c7:0x546,_0x5c78dd:0x45e,_0x2eb7ca:0x4f0,_0x5891fe:0x3f7,_0x36c6c1:0x411,_0x1ed991:0x2fd,_0x257464:0x491,_0x5048a2:0x5d2,_0x5a9a66:0x51c,_0x55cdc6:0x58b,_0x263281:0x3f0,_0x14de48:0x7b9,_0x5c00cd:0x52a,_0x3c75c0:0x4ce,_0x2f7e99:0x504,_0x2e642b:0x5a1,_0x195350:0x5f8},_0x40b635={_0x561d7d:0xaf,_0x382a9b:0x260,_0x543fda:0xcb,_0x120c45:0x126,_0x432e38:0x42,_0x589369:0x1a6,_0x2e06e2:0x33,_0xcf6558:0x184,_0x4f11a5:0x62,_0x5b6cd3:0x126,_0x57247e:0xa2,_0x1440f3:0x10a,_0x518684:0x35,_0x4dca53:0x1d,_0x286257:0xf8,_0x5c76d9:0x156,_0x4f5915:0x11e,_0x7ca2ef:0x28,_0x2ec0c3:0x15c,_0x15acdf:0x24,_0x321e5e:0x76,_0x2868e7:0x10a,_0x21fedc:0x31,_0x321513:0x20b,_0x15644e:0x2c1,_0x5190e3:0xa9,_0x5221de:0xab,_0x2cca00:0x1c,_0x1ee652:0xb2,_0x2d206e:0x246,_0x265e65:0xde,_0xe95ab8:0xba,_0x595b48:0x8f,_0x450b29:0x6b,_0x3e8e49:0x64,_0x23e63e:0x23,_0x5da0c6:0x77,_0x36e817:0x4,_0x14c232:0x77,_0x307c58:0x18a,_0x4bbaab:0x302,_0x2d71f5:0x24e,_0x2ea62a:0x195},_0x52b523={_0x34fb98:0x132,_0xc848c5:0xdc,_0x466d66:0x60b},_0x39b73a={_0x516240:0x5f},_0x9bea54={_0x4af54f:0x1eb,_0x59bbda:0x10},_0x557fea={_0x58782c:0x1d8,_0x150390:0xb9};function _0x16aac8(_0x58245c,_0x164963,_0x2c9187,_0x20a6f3){return _0x42babe(_0x2c9187-0x38d,_0x164963-_0x557fea._0x58782c,_0x20a6f3,_0x20a6f3-_0x557fea._0x150390);}const _0x1455ad=_0x4a642f[_0x16aac8(0x59f,_0x105038._0x5ac7d0,0x5f7,_0x105038._0x54e3c7)](_0x52f256[_0x5e30af(0x47f,_0x105038._0x5c78dd,0x536,0x5f2)]??process[_0x16aac8(_0x105038._0x2eb7ca,0x493,0x4bc,_0x105038._0x5891fe)]());function _0x5e30af(_0x5b3df5,_0x749db,_0x3f4377,_0x1243a1){return _0x42babe(_0x5b3df5-_0x9bea54._0x4af54f,_0x749db-_0x9bea54._0x59bbda,_0x1243a1,_0x1243a1-0xfe);}const _0x4b29f8=_0x52f256['allowedDirs']??[],_0x48c245=_0x52f256[_0x5e30af(_0x105038._0x36c6c1,0x575,0x512,_0x105038._0x1ed991)]??_0x16aac8(_0x105038._0x257464,0x5cb,0x53e,0x6a9);return defineTool({'name':_0x48c245,'description':'Read\x20files\x20from\x20workspace.\x20Optionally\x20specify\x20line\x20ranges\x20(lineStart,\x20lineEnd).','inputSchema':{'type':_0x5e30af(0x530,_0x105038._0x5048a2,_0x105038._0x5a9a66,0x4c4),'properties':{'path':{'type':_0x5e30af(0x535,_0x105038._0x55cdc6,_0x105038._0x263281,0x4be)},'lineStart':{'type':_0x16aac8(_0x105038._0x14de48,0x65b,0x6a6,_0x105038._0x5c00cd),'description':_0x5e30af(0x36b,0x45a,_0x105038._0x3c75c0,0x320)},'lineEnd':{'type':_0x5e30af(_0x105038._0x2f7e99,0x5c2,_0x105038._0x2e642b,_0x105038._0x195350),'description':'Stop\x20reading\x20at\x20this\x20line\x20number\x20(1-based)'}},'required':['path']},async *'execute'(_0x3e6737){const _0x1073f8=resolveAllowedPath(_0x1455ad,_0x4b29f8,_0x3e6737[_0x1b8d6b(-_0x40b635._0x561d7d,-_0x40b635._0x382a9b,-0xec,-0x56)]);await assertWorkspaceFile(_0x1073f8);const _0x27ffc2=await _0x530466(_0x1073f8),_0x7ae5c0=await _0x494382(_0x1073f8);if(isProbablyBinary(_0x7ae5c0))throw new ToolExecutionError(_0xa957ad(0x17a,0x1a5,0x320,0x51)+_0x3e6737[_0xa957ad(0x1f,0x42,_0x40b635._0x543fda,0x17d)],{'path':_0x3e6737[_0xa957ad(_0x40b635._0x120c45,_0x40b635._0x432e38,-0x9,_0x40b635._0x589369)]});function _0xa957ad(_0x45acbe,_0xe35d90,_0x5b4ae2,_0x544e67){return _0x5e30af(_0xe35d90- -0x33b,_0xe35d90-_0x39b73a._0x516240,_0x5b4ae2-0x1bc,_0x5b4ae2);}let _0x1d2484=_0x7ae5c0[_0x1b8d6b(_0x40b635._0x2e06e2,_0x40b635._0xcf6558,0x2,-0x12d)](_0xa957ad(_0x40b635._0x4f11a5,0x163,0x38,_0x40b635._0x5b6cd3));const _0x4e02c2=_0x1d2484[_0x1b8d6b(0xd6,0x12,-_0x40b635._0x57247e,-_0x40b635._0x1440f3)](0x0)===0xfeff;_0x1d2484=stripUtfBom(_0x1d2484);function _0x1b8d6b(_0x3f92f1,_0x51c21b,_0x1e7ce3,_0x3af398){return _0x16aac8(_0x3f92f1-_0x52b523._0x34fb98,_0x51c21b-_0x52b523._0xc848c5,_0x1e7ce3- -_0x52b523._0x466d66,_0x3f92f1);}const _0x59ba9e=_0x1d2484[_0xa957ad(0xc2,_0x40b635._0x518684,0x2f,-_0x40b635._0x4dca53)](/\r?\n/),_0x43db70={'path':_0x3e6737[_0x1b8d6b(-_0x40b635._0x286257,-0x1f8,-0xec,-_0x40b635._0x5c76d9)],'resolvedPath':_0x1073f8,'created':_0x27ffc2[_0xa957ad(_0x40b635._0x4f5915,0xb4,_0x40b635._0x7ca2ef,0x9c)][_0x1b8d6b(-_0x40b635._0x2ec0c3,0xfa,-_0x40b635._0x15acdf,_0x40b635._0x4f5915)](),'modified':_0x27ffc2['mtime'][_0xa957ad(-_0x40b635._0x321e5e,_0x40b635._0x2868e7,_0x40b635._0x21fedc,_0x40b635._0x321513)](),'size':_0x27ffc2[_0xa957ad(0x3b0,0x22b,_0x40b635._0x15644e,_0x40b635._0x5190e3)],'encoding':_0xa957ad(_0x40b635._0x5221de,0x163,0x2e2,0x19a),'bomStripped':_0x4e02c2,'truncated':![],'totalLines':_0x59ba9e[_0xa957ad(0xd4,0xc3,-_0x40b635._0x2cca00,0x1cd)]};if(_0x3e6737['lineStart']!==void 0x0||_0x3e6737['lineEnd']!==void 0x0){const _0x59df3a=clampLine(_0x3e6737[_0x1b8d6b(-_0x40b635._0x1ee652,-_0x40b635._0x2d206e,-0x14d,-_0x40b635._0x265e65)]??0x1,_0x59ba9e['length']),_0x5978be=clampLine(_0x3e6737['lineEnd']??_0x59ba9e[_0x1b8d6b(-_0x40b635._0xe95ab8,0x112,-0x6b,-0x1c0)],_0x59ba9e[_0x1b8d6b(0x33,_0x40b635._0x595b48,-_0x40b635._0x450b29,_0x40b635._0x3e8e49)]),_0x4b9712=Math['min'](_0x59df3a,_0x5978be),_0x3e8120=Math[_0x1b8d6b(-_0x40b635._0x23e63e,0x101,0x5f,_0x40b635._0x5da0c6)](_0x59df3a,_0x5978be),_0x1201bb=_0x59ba9e[_0x1b8d6b(_0x40b635._0x36e817,-_0x40b635._0x14c232,0x102,_0x40b635._0x307c58)](_0x4b9712-0x1,_0x3e8120)[_0xa957ad(_0x40b635._0x4bbaab,_0x40b635._0x2d71f5,0x173,_0x40b635._0x2ea62a)]((_0x693e12,_0xb635e3)=>_0x4b9712+_0xb635e3+'|'+_0x693e12)['join']('\x0a');return yield createToolOutput(_0x1201bb,{..._0x43db70,'lineRange':{'lineStart':_0x4b9712,'lineEnd':_0x3e8120,'linesTotal':_0x59ba9e[_0x1b8d6b(-0xc7,-0xd5,-0x6b,-0xbe)]}}),void 0x0;}return yield createToolOutput(_0x1d2484,_0x43db70),void 0x0;}});}import{stat as _0x4ec85d}from'fs/promises';import*as _0x464d49 from'path';import{execSync,spawn as _0x32539d}from'child_process';import{existsSync}from'fs';import{stat as _0x170386}from'fs/promises';import*as _0x8552c6 from'os';import*as _0x3cf000 from'path';import{rgPath as _0x3ef620}from'@vscode/ripgrep';function _0x4425(){const _0x1c4450=['AgvHzgvY','D29YA3nWywnLl3n5BwjVBa','BwnFzwLK','ls1YzwDLEha','AxnbCNjHEq','zMLYC3q','ig1Z','Aw50zwDLCG','BxrPBwvnCW','lMPWzwC','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','B3bLBMfPlxjLC3bVBNnLCY13CW','Dg90ywXeCM9WCgvK','Bwf0y2HLCW','ls1MB2XSB3C','B3jPz2LUywW','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','y2HHCMfJDgvYig11C3qGyMuGysbWB3nPDgL2zsbPBNrLz2vY','ugfJA2fNzxm','l3vZCI9IAw4VyMfZAa','C3rYAxbbBNnP','EMfP','AhrTBfnUAxbWzxq','ywXSB3DLzerPCNm','B2zM','yMLUyxj5tMfTzq','igzYB20G','Dg9ju09tDhjPBMC','mJqWlJaUmc4W','cGOTls0kcG','l3bPza','r09pr0Xfx0ntrv9lrvK','Aw1Hz2u','Dg9VBa','Aw5JB21PBMDdywXSCW','DhnJ','EwvZ','y2fSBgjHy2TvCMW','lM10CW','te9dquXbufbeqvrb','CMvZDwX0','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3j5igzPBguGy29UDgvUDhmU','z29Vz2XLq3nLs2v5','CMvZB2X2zq','BwnWxW','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','B25szwrPCMvJDa','ihDHCYbHyM9YDgvKlG','u2vHCMnOihrOzsb3zwiGyw5KihjLDhvYBIbYyw5RzwqGCMvZDwX0CY4','lMnTza','AxnbyNnVBhv0zq','zw5NAw5L','ANnJB25MAwCUANnVBG','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','BwnFy2LK','oIbJB250zw50ihjLCxvPCMvK','y3jLyxrLzef0','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','mJi0lJaUmc4W','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','C2nVCgvZ','Dg9KB3m','y2vPBa','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','C3rHCNreAxi','Dg9tDhjPBMC','r3jLCa','yMCT','rMv0y2GGDgLTzwqGB3v0','zNjVBq','yxjNDw1LBNrZ','Cgf0DgvYBIbPCYbYzxf1AxjLza','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','ls1NBg9IpseUz2L0lYO','DhLWzq','lM1QCW','CMvXDwvZDhm','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','Aw52ywXPzf90B2rVx3n0yxr1CW','zxH0BMfTzq','Ag9ZDa','BhnWlxbYB3H5','sw52ywXPzcbVDxrWDxrszwDLEdOG','Dg9Rzw5Z','qMfZAe91Dhb1Da','zgvMyxvSDen3za','CgfNzw1HCa','A2v5CW','zw5NAw5LCW','ywrKrxzLBNrmAxn0zw5LCG','Aw5FChjVz3jLC3m','A2LUza','y2f0y2G','Dhj1BMnHDgvK','C2LNBMfS','s2LSBgvKia','u2v0igeGy29Uy2LZzsaZltyGD29YzcbUB3vUlxbOCMfZzsbZzxnZAw9UihrVCgLJihDOzw4GDgHLig1HAw4GC3vIAMvJDcbIzwnVBwvZignSzwfYig9Yig1HDgvYAwfSBhKGy2HHBMDLCY4Gu2TPCcbTAw5VCIb0yw5Nzw50CY4GuhjLzMvYicjezwj1zYbuuYbNzw5LCMLJCYbLCNjVCIi7igf2B2LKigz1BgWGC2vUDgvUy2vZig9YihzHz3vLigXHyMvSCYbZDwnOigfZicjJB2rPBMCIlG','Dw5PB24','AgfZ','yNvMzMvY','Dw5RBM93BG','mtaUmc4WlJa','CgfJA2fNzxm','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','Aw5WDxrty2HLBwe','C3rKzxjY','yNvMzMvYq2HHCNm','yw5ZAte2','zMv0y2HjBxbS','z2v0','uxvLC3rPB24G','y29UBMvJDgvK','y29UDgv4Da','lMPZB25J','y2XPzw50','CMvMCMvZAf90B2TLBG','DxrMoa','ue9tva','Aw5PDgLHBgL6yxrPB24','yxv0BW','yxjYyxK','Axnoyu4','y29UBMvJDa','C3jJl3rVB2XZl21Vy2STDg9VBc1YDw50Aw1LlNrZ','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','AhjLzG','tM8GC3LTyM9SCYbMB3vUza','Bg9JywXLq29TCgfYzq','mti3lJaUmc4W','yxbWzw5K','Cgf0Ag5HBwu','AwDUB3jL','Bwv0yq','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','BxrPBwu','l3vZCI9SB2nHBc9IAw4VCMC','DgLTzvTKyxrLDgLTzv0','B3bLCMf0Aw9U','Bwv0yxrHz3m','DxrTx2nHBxbHAwDU','zMLSDgvY','C25PChbLDa','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','Dg9VBhm','lMPWzW','ywXS','lMnQCW','B3bLBG','AxrLBxm','CMvZDwX0CW','zMLSzq','q3jLyxrLig9Yig92zxj3CML0zsbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmU','ru5pru5u','w291Dhb1Dcb0CNvUy2f0zwq6ia','CgfJA2fNzs1SB2nRlMPZB24','tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','Dgv4DerVy3vTzw50l2LTCgXLBwvUDgf0Aw9U','CM9VDa','Bwf4','Dg9mB3DLCKnHC2u','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','C2vUzfjLCxvLC3q','DhLWzxnJCMLWDhjLywn0','uhjVz3jHBuzPBgvZkhG4nIK','Cgf0DgvYBG','wKfjx0fqsv9lrvK','AwDUB3jLt3v0Chv0','C3vKBW','tfnqihnLCNzLCIbWCM9JzxnZig11C3qGzxHWB3nLihn0zg91DcbHBMqGC3rKAw4GC3rYzwfTCW','BgfZDeLUzgv4t2y','y2fWq2HHCNm','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','Cg9W','s2LSBfnOzwXS','qwXSia','ihjLCxvPCMvZie9bDxrOignVBM5Ly3rPB24GB3b0Aw9UCW','rgLHz25VC3rPyW','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','DxrTx21LzgL1Bq','z2v0u3rHDhm','D2HLCMuGCMC','tg9HzfnRAwXS','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','z2L0qNjHBMnO','rMLSzsb3CML0DgvUigf0ia','BgL0zxjHBa','CMLWz3jLCa','BwvKAxvT','AM9PBG','C2vSzwn0Aw9UuMfUz2u','cMbGya','Dgv4DerVy3vTzw50l2rLzMLUAxrPB24','vg9KBYa','DxrTx3nVDxjJzq','v2vIu2vHCMnO','Aw5KzxHpzG','yMfJA2DYB3vUzfjLz2LZDhj5','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','ywjVCNrLza','ls1NBg9I','DxjP','C3bHD24','zgvLCgLUzNjH','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','CgfJA2fNzs5QC29U','A2LSBfjLCxvLC3rLza','BwLUAw1HEa','v2fYBMLUzW','zgLNzxn0','B3bLBKzPBgvZ','tNv2Aw4','Dgv4DerVy3vTzw50l2rPze9Wzw4','sgLUDa','BgfUz18','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','Dgv4Da','u3rHCNrLzcbIywnRz3jVDw5KihbYB2nLC3mG','C2vZC2LVBKLK','BNvTyMvY','Aw52ywXPzf90B2rVx3bYAw9YAxr5','DhjPBq','B3v0Chv0','lNDLyNa','Aw5ZDgfSBa','CgfYzw50u2vZC2LVBKLK','Aw1Hz2uVCg5N','vMLLD2vKigLTywDLigzPBgu6ia','C3rKAw8','zw50CMLLCW','zw52','Dg9VBfjLC3vSDhm','Bwf4rw50CMLLCW','CxvLCNK','C2v2zxjPDhK','mtKYlJe2oc4WlJa','vxnLCI1MywnPBMCGChvYCg9ZztOGD2HHDcb0AguGy29TBwfUzcbKB2vZigfUzcb0AguGz29HBcbPDcbHzhzHBMnLCYWGzs5NlIaNuNvUigf1DgGGDgvZDhmGDg8GDMvYAwz5ihrOzsbYzwzYzxnOigzPEcCU','Dg90ywXqCM9KDwnLza','yw5ZAti1nG','tuLosu1bwf9bueLFs0vz','yxjNDw1LBNriAw50','yxbPs2v5','vg9KB1DYAxrL','CMvTB3zL','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','z2v0t3DUuhjVCgvYDhLoyw1LCW','y2fJAgvK','C2v0vg9KB3m','rMLUzcb3B3jRC3bHy2uGB3iGywXSB3DLzcbKAxjLy3rVCNKGzMLSzxmGBwf0y2HPBMCGysbNBg9IihbHDhrLCM4U','zg9JDw1LBNrtEw1IB2W','y29UzMLN','ls1OAwrKzw4','CgfYC2u','u2L6ztOG','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','mtK4lJe4lJaUma','Bg9JyxrPB24','zgLYzwn0B3j5','sw5MB3jTyxrPB24','C3rKAw4','Aw5ZDhj1y3rPB25Z','y29Kzq','DxjS','B2jQzwn0','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','yw50AhjVCgLJ','ls1NBg9Ipq','CMvHza','C3rYAw5N','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','tgLUzsa','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','AxnfBMfIBgvK','DhjHBNnMB3jTCW','yMLVBwuUANnVBG','y29UC3rYDwn0B3i','ywrK','lI4U','zxHPDenVzgu','uhjVDMLKzxiGBMfTzsbJyw5UB3qGyMuGzw1WDhK','B2zMC2v0','zw5HyMXLza','BgLZDa','DgHPBMTPBMC','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','zgvZy3jPChrPB24','mtuYnJq4mJHbt2PoufO','A2v5','tuvesvvn','y2HHDgDWDa','zxHPDa','oIaIBxvSDgLtzwXLy3qIig11C3qGyMuGysbIB29SzwfU','AgLNAa','y2XPzw50twv0ywrHDgfvCMW','revfueLorLjbx0fqsv9lrvK','C2HLBgXjza','EwfYBI5SB2nR','C2vHCMnOugfYyw1Z','Aw5JBhvKzq','DhLWzxnJCMLWDa','A2LTAq','l3vZCI9IAw4VCMC','y29UDgvUDhm','ugf0AcbPCYbUB3qGysbMAwXLoIa','BNv2Aw4','z2XVyG','oIbPBNzHBgLKihn0yxr1CW','Dg9WAwm','Bg93','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','z2nSAwq','Ag9ZDg5HBwu','mZi0nda2mgPsrNzfvW','Dg9VBe5HBwu','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','B3rOzxi','y29TCgXLDgvK','C2L6zq','ChjVDg9JB2W','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','B2XSyw1H','C2XPy2u','y21KlMv4zq','BMf2','y29KzvzLCMLMAwvY','ANnVBG','Dg90ywW','Dhj1zq','lMDPzG','yMfZzty0','DMvYAwzPzxi','z29Vz2XLq3nLq3G','mtmZnMfPwMLvza','DgHLBG','ndKZndflEfbkvKG','BgfUzW','Bwf4uMvKAxjLy3rZ','vxnLiezPBgvszwfKihDPDgGGBgLUzvn0yxj0l2XPBMvfBMqGDg8GAw5ZCgvJDcbZCgvJAwzPyYbZzwn0Aw9UCYbVzIb0AguGzNvSBcbVDxrWDxqU','twfPBNrHAw4GysbJB25JAxnLihrHC2SGBgLZDcb3AgvUihzPC2LIBguGChjVz3jLC3mGDhjHy2TPBMCGywrKCYbJB29YzgLUyxrPB24GDMfSDwuUcGPvC2uGvg9KB1DYAxrLihDOzw4GDgHLihvZzxiGzxHWBgLJAxrSEsbYzxf1zxn0CYbHihrVzg8Vy2HLy2TSAxn0lcbVCIb3AgvUihDVCMSGAgfZihnLDMvYywWGBwvHBMLUz2z1BcbWAgfZzxmSigrLCgvUzgvUy2LLCYWGB3iGy2HLy2TWB2LUDhmUifnRAxaGAxqGzM9YignVBNzLCNnHDgLVBMfSihf1zxn0Aw9UCYWGysbZAw5NBguGC3rYywLNAhrMB3j3yxjKihrHC2SSig9YigeGC2HVCNqGzMXHDcbZzxf1zw5JzsbVzIb0CML2AwfSigfJDgLVBNmUieXPC3qGBwvHBMLUz2z1BcbVDxrJB21LCYbYyxrOzxiGDgHHBIbPBMrPDMLKDwfSihrVB2WGy2fSBhmUcGPvC2uGC3rHDhvZzxmGCgvUzgLUzYWGAw5FChjVz3jLC3mSigfUzcbJB21WBgv0zwqSihDPDgGGyxqGBw9ZDcbVBMuGAxrLBsbPBL9WCM9NCMvZCY4Gq3jLyxrLihrOzsbSAxn0ig9Uy2uGyMvMB3jLihn0yxj0Aw5NihrYywnRzwqGD29YAY4GvgHLBIb1CgrHDguGAxqGB25SEsbHDcbTzwfUAw5NzNvSig1PBgvZDg9Uzxm6cI0GqMf0y2GGC3rHDhvZignOyw5NzxmGAw4GB25LignHBgW6ig1HCMSGywXSig5LD2X5igzPBMLZAgvKigL0zw1ZignVBxbSzxrLzcbHBMqGC2v0ihrOzsbUzxH0ig1PBgvZDg9UzsbPBL9WCM9NCMvZCYb0B2DLDgHLCI4klsbeBYbUB3qGy2fSBcbuB2rVv3jPDguGywz0zxiGzxzLCNKGDg9VBcbJywXSlcbTAw5VCIbZDwjZDgvWlcbVCIbWCM9NCMvZCYbTzxnZywDLlIbbDM9PzcbIywnRlxrVlwjHy2SGvg9KB1DYAxrLignHBgXZihDPDgHVDxqGC3vIC3rHBNrPDMuGD29YAYbIzxr3zwvUihrOzw0UcI0Gs2vLCcb0AguGy3vYCMvUDcbPDgvTigLUx3bYB2DYzxnZihDOzw4GyMXVy2TLzcWGAw1WBgvTzw50yxrPB24GAxmGCgfYDgLHBcWGB3iGDMvYAwzPy2f0Aw9UigzHAwXZlIbbzgqGB3iGCMv2AxnLigL0zw1Zig9UBhKGD2HLBIb0AguGCgXHBIbTyxrLCMLHBgX5ignOyw5NzxmUcI0GuhjLC2vYDMuGAxrLBsbjrhmGyw5KigLUy2X1zguGDgHLigz1BgWGy3vYCMvUDcbSAxn0igLUigv2zxj5ihvWzgf0zs4klsbbzNrLCIbPBxbSzw1LBNrHDgLVBIbHBMqGDMvYAwzPy2f0Aw9UigzPBMLZAcWGC2vUzcbVBMuGzMLUywWGDxbKyxrLihrOyxqGBwfYA3mGywXSignVBxbSzxrLzcb3B3jRigfJy3vYyxrLBhKU','C3jJl2v4yw1WBgvZl2rLBw8UDhm','CMvNAw9U','CgfJA2fNzu5HBwu','C2fMzq','DxnLCM5HBwu','sw5ZCgvJDcbHifborYWGsLbfrYWGv2vIucWGB3iGr0LgigLTywDLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlIbvC2uGrMLSzvjLywqGzM9YihrLEhqU','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','B3v0z29PBMDdywXSCW','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','l2jPBI9ZAa','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','Aw1Hz2uVz2LM','BwfW','Ahr0CdO','BwfYA2rVD24','vg9Vig1HBNKGyMfJA2DYB3vUzcbWCM9JzxnZzxmGCNvUBMLUzYaO','BgLTAxq','Ahr0Ca','CMvMAw5L','BhmGlwXH','zgf0zxrPBwu','y2HHCMfJDgvY','z2L0AhvI','tLvwsu5FreLtqujmrv9mu1bFre9xtKXpquq','Aw5qCM9NCMvZCW','C3rYAw5NAwz5','D29YA3nWywnLu3LTyM9SihjLCxvPCMvZigeGBM9UlwvTChr5ihf1zxj5','CxvLC3rPB25Z','BxvSDgLtzwXLy3q','zMLUzfjLzMvYzw5Jzxm','yxjNDw1LBNrZvgv4Da','pc9ZExn0zw0TCMvTAw5Kzxi+','Dgv4DerVy3vTzw50l2HVDMvY','B3bLBMfPlwnOyxqTy29TCgXLDgLVBNm','BhnWu2vYDMLJzq','r09pr0Xfx0ntrv9dwa','ywDLBNrjza','icHZDgf0Dxm6ia','Aw1Hz2uVD2vICa','zgf0yq','CMvTB3zLrxzLBNrmAxn0zw5LCG','C2H1DgrVD24','ihjLCxvPCMvZihvYBcbMB3iGAhr0Ccb0CMfUC3bVCNq','Dg9WAwmGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','C3rHDhvZ','igzHAwXLzc4','BM9Zy3jPChq','y291BNq','tM8GAg92zxiGAw5MB3jTyxrPB24','lNrZEa','BM93','mtKYlJaUmc4W','z2v0uhjVDg90ExbLt2y','DgfZA2TPBgW','zgLHz25VC3rPy3m','r0LgodLH','CgvUzgLUzW','uefusa','qvbjx0Tfwq','CgLK','Dgf2AwX5','D2HPy2GGCMC','ANnVBMm','y29UBMvJDgLVBG','C29Tzq','y3jSzG','Aw5PDgLHBgL6zwq','AxnjBNrLz2vY','l29WDc9OB21LyNjLDY9IAw4VCMC','CNvUswq','A2v5yMLUzgLUz3m','BgLUzq','Aw52ywXPzf90B2rVCW','C3rHCNq','C2HHmJu2','Cg5WBs1SB2nRlNLHBwW','C2vZC2LVBG','BxmU','DxrTx3rLCM0','y29UDgvUDa','sfruuca','AxntEw1IB2XPy0XPBMS','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','CgLWzq','y2fSBfrVB2W','D2fPDezVCKrPywDUB3n0AwnZ','BwfUDwfS','BM9UBMvNyxrPDMu','w01duca','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','Dhj1BMm','CgXHAw50zxH0','ChvIBgLZAgvKqxq','seLhsa','Dgv4Dc9ODg1S','ChjVDg90ExbL','Dgf2AwX5qxbPs2v5','zgLZCg9Zzq','C2v0','C2H1DgrVD25tDgfYDgvK','yMfZzw5HBwu','zMXVB3i','BgfIzwW','ChjLCgfYzunHBgXiAwvYyxjJAhK','y291BNrLCG','B2XKvgv4Da','y29TBwfUza','B3bLBMnVzguTz28','Aw5JBhvKzv9KB21HAw5Z','C3rVCMfNzurPCG','C3vIyxjYyxK','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','BhnW','yM0Ynq','y2XPzw50CW','q291BgqGBM90ihjLC29SDMuGAg9ZDa','CMvJB3jK','CgXHDgzVCM0','ksbB','yNvUlMXVy2S','CMfUzg9T','BM90Awz5','Dg9Rzw5tDg9YywDLs2v5','ntC0mJzzswPiq0C','o1TExg5DkJ8','yNL0zuXLBMD0Aa','lMPZB24','C2L0ztO','ks4Gs2LSBcbVBMuGD2L0AcblAwXSu2HLBgWGyMvMB3jLihn0yxj0Aw5NigfUB3rOzxiU','yxr0CG','CgfYC2vjBNq','zgLYBMfTzq','zgvLChnLzwS','t25SEsbODhrWoI8VigfUzcbODhrWCZOVlYbvuKXZigfYzsbZDxbWB3j0zwq','oIaIDg9WAwmIigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','Aw1Hz2vZ','BgLZDgvU','B3jPz2LUvg9VBenHBgXjza','CNvUBMLUzW','qxzHAwXHyMXLihnRAwXSCYaOC2TPBgXFBMfTztOGzgvZy3jPChrPB24PoG','z2vUzxjHBa','CMvMzxjLBMnLCW','Agv4','igj5DgvZks4','zgvSAw1PDgvY','lMn0CW','yM9VBgvHBG','D3jPDgu','l2jPBI9IyxnO','DhvWBgu','wZ0+nY04kcLD','C2vHCMnOvhLWzq','uKLgrG','zg5Zl3bYB21PC2vZ','B25LCNjVCG','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxi6ihf1zxj5','tunqihrVB2WG','Bg9HzfnRAwXS','t1bftKfjx0fqsv9lrvK','r0Lusfvcx0fdq0vtu19ut0TftG','vxnLCIbYzxnWB25ZzxmGCMvJzwL2zwq6ia','qwDLBNqGCNvUia','Bg9VA3vW','DMfSDwu','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','ywjVCNq','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','C2vYDMvYtMfTzq','BNvT','lM51DMLU','AxngAw5PDgu','Aw1Hz2uVANbLzW','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','y3DK','DhjHBNnWB3j0','BgLUzvn0yxj0','yxbWBgLJyxrPB24VANnVBG','D29YA3nWywnLu3LTyM9S','y2XVC2u','C2vYDMvY','ls1JB2X1Bw4','C3rHDhvZvgv4Da','AwzYyw1L','yNjVA2vU','CMvSyxrPDMu','CMvXDwvZDa','C3rKzxjYrgvJB2rLCG','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','ygbGANnVBGO','Aw52ywXPzf90B2rVx2nVBNrLBNq','B25oB3rPzMLJyxrPB24','rM91BMqG','zgf0zvjLC3rYAwn0','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','zxzLCNK','yNvUlMXVy2TI','vg9WAwmGC2v0ihrVici','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','ywXSu2v0DgXLza','C3rKB3v0','DxrTx2nVBNrLBNq','yxv0Ag9YAxPHDgLVBL9JB2rL','wefjx0fqsv9lrvK','igj5DgvZ','BgLNAhq','C291CMnL','C3rKB3v0rgvJB2rLCG','ChvZAa','yw50AhjVCgLJlw1LC3nHz2vZ','D2vI','zgLZy292zxj5u3rHDgu','igj5DgvZicHVCMLNAw5HBdOG','C2vYDMvYswq','B3bLBMfP','tunqihnLCNzLCIa','Dg9KB3ncEvnLC3nPB24','y29TBwfUzhm','zgLZywjSzwq','zxf1ywXZ','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','CxvLC3rPB24T','vMLLD0zPBgu','CMvJzw5JEurHExm','Aw5JBhvKzxm','q29Tu3bLyW','qMfJA2DYB3vUzcbLEgvJDxrPB24GAxmGBM90igf2ywLSywjSzsbPBIb0AgLZignVBNrLEhqU','ks4GvxnLiejHC2HpDxrWDxqGDg8GCMvHzcbPDhmGB3v0Chv0igfUzcblAwXSu2HLBgWGDg8GC3rVCcbPDc4','zMLUywXnzxnZywDL','BgLUAW','DgL0Bgu','ndK2mtq0meH1tvrSwq','Bw9VBNnOB3q','rxjYB3i','ugf0AcbUB3qGzM91BMq6ia','CMvXDwLYzwq','C3rHDgu','zMLUywXnzxnZywDLvgv4Da','cGPbuKDvtuvovfm6ia','yw5ZD2vYCW','lNrTCc4','BM9Kzv9TB2r1BgvZ','yxv0Aa','zMLSzvzLCNnPB25Z','BgLUA1TYzwW9j2nHBM9UAwnHBcDD','CMfUz2u','CMvNzxG','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','w1bFxL1BxhnCu10QpW','v29YA2LUzYbKAxjLy3rVCNKGBM90igzVDw5KoIa','B25Jzq','zMLSztOVlW','mtaWlJy0lJaUma','vg9Vig1HBNKGCMvKAxjLy3rZ','CMvHC29U','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','A2LSBa','BNbT','yxnZAwDU','C3bSAxq','zw51Bq','AgfUzgXL','BgLUzu51Bq','y2HHBMDL','C3jJl2fNzw50l2fNzw50lNrZ','u2HLBgWGBM90igzVDw5KoIa','zgvSzxrL','CMvWBgfJzq','twLJCM9ZB2z0','ygbG','B2f1DgG','qxzHAwXHyMXLignVBw1HBMrZoG','Cgf0Aa','z3jVAW','Aw5PDgLHBgL6zq','qxnRvxnLCLrVB2W','C2HPzNq','z29Vz2XLlwnZzq','y2XPzw50sw5MB3jTyxrPB24','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','zgLZy292zxj5','zM9VDgvY','vw50AxrSzwq','ignOyxjZigrYB3bWzwrDcG','z2v0vg9KB3m','oIaIDg9WAwmIig11C3qGyMuGBwf4idmWignOyxjHy3rLCNmSigDVDca','zgv0ywLS','qxnZAwDUvgfZAW','zMXHDe1HCa','CMLWz3jLCcbMywLSzwq6ia','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','l3vZCI9IAw4VC2G','yxv0AfjLCxvPCMvK','rgv0ywLSoIa','Bg9HzenVBw1HBMq','ls1MAwvSzc1JB250zxH0lxnLCgfYyxrVCJ18','v2LUr2v0','xsb0CMfUC3bVCNqGzxjYB3i6','uhjVDMLKzxiGBMfTzsbJyw5UB3qGy29UDgfPBIaNoIC','DMfSDwvZ','AxneAxjLy3rVCNK','DgLTzw91De1Z','ugfYyw1LDgvYicj0B2rVCYiGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','rMLSzvjLywq','qMLVBwuGtgfUz3vHz2uGu2vYDMvY','zgfYAW','CNvUsw5cywnRz3jVDw5K','ie9sia','t1bftKnprevFqvbjx0Tfwq','C2TPBgXZ','BgLZDfrVB2XZ','qxv0Ag9YAxPHDgLVBG','ywDLBNrZ','Dg9VBenHBgXjza','C2HLBgXqyxrO','AMf2yxnJCMLWDhjLywn0','zg9TywLUCW','C2vUze5VDgLMAwnHDgLVBG','CxvLC3rPB24','l2jPBI9YzW','z29uB0rLzMLUAxrPB24','zgLHz25VC3rPy3ngB3jgAwXL','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','yxjNCW','zxjYB3i','jYbUB3qGzM91BMqUief2ywLSywjSzsbZA2LSBhm6ia','C3LTBgLUAW','z29uB0LTCgXLBwvUDgf0Aw9U','CMvHzen1CNnVCG','Dgv4DerVy3vTzw50l2rPzenSB3nL','Dg9VBc1VDxrWDxqTB2zMBg9Hza','zMLUza','mJq2odLeD2Hzwxq','lMPZEa','BgLI','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','revfufnfruTFqvbjx0Tfwq','mJj2zxr0s00','BwvZC2fNzq','B3b0Aw9UywW','C3bHD25PBMC','ChjVCgvYDgLLCW','y2XLyxi','y2XLyw51Ca','zMfPBgvK','lMPZ','y2HHCKnVzgvbDa','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzceGqxnRigfIB3v0ig5LEhqGC3rLChmUienVBxbSzxrLzcbSAxn0oGO','xg5DkJ8','zMLSzvbHDgG','qMvHCMvYia','tg9HzgvKigzYB206ia','Bw9KzwW','mc4WlJaUma','B3bLBNjVDxrLCG','mty5lJi1nc4WlJa','ienHDxnLoIa','AxngAwXL','ChjLzML4','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','C3jJl3nOyxjLzc90ExbLCY50CW','yMfZAwm','CgfZC3rOCM91z2G','zw5K','ChjVy2vZCW','yxnRvxnLCG','zxHPDcbJB2rLia','zxjYB3jZ','mteYmJuWDxjbwKDQ','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','tM8GC3vJAcbMAwXLoIaN','ls1ZDgrPBW','mc4WlJa','zxjYB3jnzxnZywDL','yMvHCMvY','DhnJB25MAwCUANnVBG','DgfZAW','C2vYDMvYCW','y2HPBgq','qgjPB21LANmVyMLVBwu','Bwf4q29Uy3vYCMvUDa','yMLVBwu','lcbpChrPB24G','vhLWzvnJCMLWDcbmyw5NDwfNzsbtzxj2zxi','AMf2yxnJCMLWDa','nZzWBLrxr2S','yMLYDgH0Aw1L','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','DhjHAwXPBMDdAhvUA3m','zMLSBa','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','BgLUzxm','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','AgvHzgvYCW','C3rHCNrZv2L0Aa','B3v0Chv0uMvNzxG','lu5Vtg9NBW','BwLU','Ag92zxi','ignVBxbSzxrLzc4','CMCUzxHL','BgvUz3rO','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','lNbUzW','B3b0Aw9UCW','qMfZAa','ChjPB3jPDhK','DgvZDa','C29YDa','nKXNBg9Qtq','CMfUAW','B2XKvgv4DcbUB3qGzM91BMqGAw4GzMLSzs4GtwfRzsbZDxjLigL0ig1HDgnOzxmGzxHHy3rSEsbPBMnSDwrPBMCGD2HPDgvZCgfJzs4Gu2vHCMnOAw5NigzVCJOGiG','Bwf4qNL0zxm','Bwv0yvTWCM9Wzxj0Et0NB2C6zgvZy3jPChrPB24Nxq','vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','BM9Uzq','yxr4','mtm1A3vty2Pp','DhvYBMrVD24','Ec1HCgKTA2v5','BMfTzq','AhLKCMf0zu1LDge','y2XVC2vbBgW','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','ls1MAwvSzc1TyxrJAc1ZzxbHCMf0B3i9Fa','qu5usfjpueLdx0fqsv9lrvK','yxjNDw1LBNroyw1LCW','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','BgLUzvrLEhq','BgfUz3vHz2u','tu9ptLnit1rFqvbjx0Tfwq','ChjVy2vZC0v4AxrLza','y29UDgv4DeXPBMS','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','t0zg','yxnJAwK','u3rHCNrLzcbHz2vUDcbYDw4G','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','D2LUmZi','ywXSB3DLzfrVB2XZ','r0Lusfvcx1rps0vo','qxnRig9UzsbVCIbTB3jLig11BhrPCgXLlwnOB2LJzsbXDwvZDgLVBNmGD2HLBIbWCMvMzxjLBMnLCYWGyw1IAwD1Axr5lcbVCIbHigrLy2LZAw9UigjSB2nRCYbWCM9NCMvZCY4GrxzLCNKGCxvLC3rPB24GC3vWCg9YDhmGiK90AgvYiI4Gu2v0ig11BhrPu2vSzwn0ihrVigfSBg93ig11BhrPCgXLigfUC3DLCNmUifb1Dcb0AguGCMvJB21Tzw5KzwqGB3b0Aw9UigzPCNn0igfUzcbZDwzMAxGGAxrZigXHyMvSihDPDgGGiIHszwnVBw1LBMrLzcKIlG','lunVBw1HBMq','Dg9VBhmVy2fSBa'];_0x4425=function(){return _0x1c4450;};return _0x4425();}var cachedRgPath=null;function findSystemRipgrep(){const _0x5f465d={_0x1729ac:0x1eb,_0xb71533:0x265,_0x317c95:0x97,_0x9a4e29:0x12f,_0x44bcf0:0x5b,_0x250241:0x16b,_0x29f59c:0x17,_0x519425:0xa7,_0x1e2954:0x85,_0x5b8524:0xb0,_0x838e89:0x17f,_0x2bcb99:0xba,_0x4f7831:0x159,_0x48884f:0x164,_0x2397ed:0xc9,_0x11856a:0x12,_0x554663:0x105,_0x175563:0x66,_0x21ee8c:0xe5,_0xc76c4d:0xa0,_0x103f2c:0xf2,_0x95c619:0x16a,_0x21b5ce:0xe9,_0x35a53a:0x70,_0x43e9ff:0x31,_0x919ad0:0x2c4,_0x590045:0x2aa,_0x1cac3a:0xdc,_0x42d573:0x16e,_0x1f2501:0x5e,_0x3efe86:0x48,_0xa4cd4a:0x47,_0x5b7756:0x2a3,_0x2e5fc6:0x45,_0x513366:0x22d,_0x1fdd27:0xb4,_0x248a8c:0x106,_0x1bbb16:0x5,_0x15d86a:0xd8,_0x18ce74:0x64,_0x3dfa24:0x98,_0x48da91:0x5b,_0x50877b:0x179,_0xdfe0e9:0x222,_0x5ce99e:0x275},_0xd6219={_0x118df8:0x62},_0x3324e4=_0x8552c6[_0x38754b(_0x5f465d._0x1729ac,_0x5f465d._0xb71533,0x332,0x1fa)]()===_0x38754b(0x1e6,_0x5f465d._0x317c95,-0x36,_0x5f465d._0x9a4e29),_0x6e58f6=_0x3324e4?[_0x3cf000[_0x38754b(_0x5f465d._0x44bcf0,0x159,0xa3,_0x5f465d._0x250241)](process[_0xaaa454(_0x5f465d._0x29f59c,-0x3d,0x18d,-0xff)][_0xaaa454(-_0x5f465d._0x519425,-_0x5f465d._0x1e2954,_0x5f465d._0x5b8524,-0x1f1)]||'',_0xaaa454(-_0x5f465d._0x838e89,-_0x5f465d._0x2bcb99,-0x219,-0x2b5),_0xaaa454(-0x163,-0x9e,-0x19c,-0x5),_0xaaa454(-0xbc,-0xef,-0x14c,-0xc)),_0x3cf000[_0x38754b(0x284,_0x5f465d._0x4f7831,0x14b,0x36)](process[_0x38754b(0x1a6,0x182,0xff,0x83)]['ProgramFiles']||'',_0xaaa454(-0x14,-_0x5f465d._0x48884f,-0x5a,0x72),_0x38754b(0xbb,0x70,-_0x5f465d._0x2397ed,0xd9)),_0x3cf000[_0xaaa454(-_0x5f465d._0x11856a,0x48,-_0x5f465d._0x554663,-_0x5f465d._0x175563)](process[_0xaaa454(0x17,_0x5f465d._0x21ee8c,_0x5f465d._0xc76c4d,_0x5f465d._0x103f2c)][_0x38754b(0x24b,0x140,0x17,0x10)]||'',_0x38754b(0x97,0x157,_0x5f465d._0x95c619,_0x5f465d._0x21b5ce),_0x38754b(_0x5f465d._0x29f59c,_0x5f465d._0x35a53a,_0x5f465d._0x43e9ff,0x23))]:[_0x38754b(_0x5f465d._0x919ad0,0x234,_0x5f465d._0x590045,0x18f),_0xaaa454(-0x47,_0x5f465d._0x1cac3a,-_0x5f465d._0x42d573,-0xca),_0xaaa454(_0x5f465d._0x1f2501,-_0x5f465d._0x3efe86,-0xaf,-_0x5f465d._0xa4cd4a),_0xaaa454(-0x14c,-0x159,-0x66,-_0x5f465d._0x5b7756)];for(const _0x1a3008 of _0x6e58f6){if(existsSync(_0x1a3008))return _0x1a3008;}try{const _0x3397bf=_0x3324e4?_0xaaa454(-0x1a,-0x26,-_0x5f465d._0x2e5fc6,-0xbd):_0x38754b(0x262,_0x5f465d._0x513366,_0x5f465d._0x1fdd27,_0x5f465d._0x248a8c),_0x7bb432=execSync(_0x3397bf,{'encoding':_0xaaa454(-0x5a,-0x16c,-_0x5f465d._0x1bbb16,0x96),'stdio':[_0xaaa454(_0x5f465d._0x15d86a,0x1e2,_0x5f465d._0x18ce74,-_0x5f465d._0x3dfa24),'pipe',_0xaaa454(-0x4b,-0xec,-0xe1,-_0x5f465d._0x48da91)]})[_0x38754b(0x184,_0x5f465d._0x50877b,_0x5f465d._0xdfe0e9,0x233)]()[_0xaaa454(-0x188,-0xc0,-_0x5f465d._0x5ce99e,-0x284)](/\r?\n/)[0x0];if(_0x7bb432&&existsSync(_0x7bb432))return _0x7bb432;}catch{return null;}function _0xaaa454(_0x4c40bf,_0x2b80d3,_0x49e1d4,_0xc5acc8){return _0x41c53b(_0x4c40bf-0x54,_0x4c40bf- -0x57d,_0xc5acc8,_0xc5acc8-_0xd6219._0x118df8);}function _0x38754b(_0x542e42,_0x4079d4,_0x7f0d9d,_0x50cd0){return _0x41c53b(_0x542e42-0x1a3,_0x4079d4- -0x412,_0x542e42,_0x50cd0-0x175);}return null;}async function filepath(){const _0x12539e={_0x3583b7:0x293,_0x3d9a5b:0x258,_0xf511a2:0x22b,_0x54648:0x2b8},_0x54cfd5={_0x4f06b2:0xdf,_0x1063a4:0x2be};if(cachedRgPath)return cachedRgPath;if(_0x3ef620&&existsSync(_0x3ef620))return cachedRgPath=_0x3ef620,_0x3ef620;const _0x2485f4=findSystemRipgrep();function _0x4982c6(_0x4ad1b4,_0x1ba44f,_0x5a9c26,_0x59ddcd){return _0x41c53b(_0x4ad1b4-_0x54cfd5._0x4f06b2,_0x1ba44f- -_0x54cfd5._0x1063a4,_0x4ad1b4,_0x59ddcd-0x17d);}if(!_0x2485f4)throw new Error(_0x4982c6(_0x12539e._0x3583b7,_0x12539e._0x3d9a5b,_0x12539e._0xf511a2,_0x12539e._0x54648));return cachedRgPath=_0x2485f4,_0x2485f4;}async function*files(_0x1e8759){const _0x237b43={_0x2a276f:0x26f,_0x69e95d:0x153,_0xb69d68:0x80,_0x258227:0x101,_0x463a3c:0x11,_0x3e6fd9:0x3b,_0x1de5d8:0x97,_0x1d3390:0xa,_0x388299:0x8b,_0x569be1:0xf3,_0x5353bf:0x32,_0x540c76:0x3f4,_0x4d4215:0x312,_0xc89d03:0x479,_0x13b52d:0x6d,_0x4c9838:0x5ac,_0x2fe7e6:0x4af,_0x5378a8:0x1fa,_0x3f421f:0x291,_0x55b513:0x24b,_0x2896e7:0xec,_0x1ee657:0x44,_0x241473:0xa7,_0x2341a5:0x57c,_0x575f68:0x525,_0x5198a9:0x45f,_0x3f2254:0x2cb,_0x498d70:0x289,_0x3b27e:0x268,_0x1f166f:0x100,_0xdaf438:0xa1,_0xed6b2d:0x44a,_0x5b5a35:0x295,_0x504dc7:0xe,_0x46af4d:0xd0,_0x2b572b:0x5,_0x4fd2de:0x252,_0x40c1dc:0x276,_0x109baa:0x353,_0x5ecd73:0x409,_0x270440:0x1e0,_0x3e577a:0x100,_0x4ea0a6:0x202,_0xe7303e:0x484,_0x10702c:0x310,_0x43304c:0x444},_0x3fd1b0={_0x22dd5f:0x140,_0x4a46db:0xc1},_0x57dca2=await filepath(),_0x5758b5=await _0x170386(_0x1e8759[_0x149ae9(0x33b,0x1f2,_0x237b43._0x2a276f,0x23b)])[_0x49ad94(_0x237b43._0x69e95d,_0x237b43._0xb69d68,-_0x237b43._0x258227,-0xa2)](()=>null);if(!_0x5758b5?.[_0x49ad94(_0x237b43._0x463a3c,-0x6d,-0x159,-0x1de)]())throw Object[_0x49ad94(_0x237b43._0x3e6fd9,-_0x237b43._0x1de5d8,-_0x237b43._0x1d3390,_0x237b43._0x388299)](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0x1e8759['cwd']+'\x27'),{'code':'ENOENT'});function _0x149ae9(_0x4a8c7f,_0x15dd87,_0x5cdeb4,_0x3cd194){return _0x42babe(_0x5cdeb4-_0x3fd1b0._0x22dd5f,_0x15dd87-_0x3fd1b0._0x4a46db,_0x3cd194,_0x3cd194-0x73);}const _0x4bb4b2=['--files',_0x49ad94(-_0x237b43._0x569be1,_0x237b43._0x5353bf,0xf1,0x135),_0x149ae9(_0x237b43._0x540c76,_0x237b43._0x4d4215,_0x237b43._0xc89d03,0x321),_0x49ad94(-0x44,_0x237b43._0x13b52d,0xd5,0x156)];function _0x49ad94(_0x135b74,_0x5800aa,_0x259772,_0x3eedf2){return _0x42babe(_0x5800aa- -0x21b,_0x5800aa-0xe2,_0x3eedf2,_0x3eedf2-0xc2);}for(const _0x232a4e of _0x1e8759[_0x149ae9(_0x237b43._0x4c9838,0x4a8,_0x237b43._0x2fe7e6,0x421)]??[]){_0x4bb4b2[_0x149ae9(_0x237b43._0x5378a8,0x2d8,_0x237b43._0x3f421f,0x3d8)](_0x49ad94(0x187,0x12d,0x100,0x63)+_0x232a4e);}const _0xf9d396=_0x32539d(_0x57dca2,_0x4bb4b2,{'cwd':_0x1e8759[_0x49ad94(-_0x237b43._0x55b513,-_0x237b43._0x2896e7,-0x24e,-0x12)],'stdio':[_0x49ad94(-_0x237b43._0x1ee657,_0x237b43._0x241473,-0x46,-0x94),_0x149ae9(0x64e,0x573,0x525,0x503),_0x149ae9(_0x237b43._0x2341a5,0x59e,_0x237b43._0x575f68,_0x237b43._0x5198a9)]});let _0x240c0d='';for await(const _0x3cade1 of _0xf9d396[_0x149ae9(_0x237b43._0x3f2254,0x25e,_0x237b43._0x498d70,_0x237b43._0x3b27e)]??[]){_0x240c0d+=_0x3cade1[_0x49ad94(0xbb,0x65,_0x237b43._0x1f166f,-_0x237b43._0xdaf438)]();const _0x2d437a=_0x240c0d[_0x149ae9(0x1cc,_0x237b43._0xed6b2d,0x2c5,_0x237b43._0x5b5a35)](/\r?\n/);_0x240c0d=_0x2d437a[_0x49ad94(-_0x237b43._0x504dc7,_0x237b43._0x46af4d,-_0x237b43._0x2b572b,0x134)]()??'';for(const _0x2fdfaf of _0x2d437a){if(_0x2fdfaf[_0x149ae9(_0x237b43._0x4fd2de,_0x237b43._0x40c1dc,_0x237b43._0x109baa,_0x237b43._0x5ecd73)]>0x0)yield _0x2fdfaf;}}_0x240c0d[_0x49ad94(_0x237b43._0x270440,_0x237b43._0x3e577a,_0x237b43._0x4ea0a6,0x163)]()[_0x49ad94(0x14f,-0x8,-0x64,-0x98)]>0x0&&(yield _0x240c0d[_0x149ae9(_0x237b43._0xe7303e,_0x237b43._0x10702c,0x45b,_0x237b43._0x43304c)]());}function parseMatchLine(_0x414b06,_0x95c153){const _0xfba314={_0x20a6cb:0x529,_0x8be61f:0x493,_0x44f31e:0x3b3,_0x2198e5:0x2ee,_0x383fd1:0x37a,_0x49758f:0x484,_0x9e5d60:0x4dd,_0x5ef34e:0x384,_0xe65e38:0x235,_0x222542:0x4b5,_0x48f516:0x463,_0x8b3f45:0x4d0,_0x2d6541:0x722,_0x52f2be:0x68e,_0x38ea6e:0x4f6,_0x2a842f:0x628,_0x16879f:0x535,_0x28b02b:0x3aa,_0x57537f:0x42d,_0x219dff:0x419,_0x3a24:0x4e9,_0x3f6623:0x4b4,_0x4ce968:0x6aa,_0x1849d4:0x5ba},_0x2c2a89={_0x2f7019:0x11,_0x4556c9:0x36,_0x62ffd9:0x115};function _0x1324ee(_0x5e3d35,_0x4800ee,_0x4daca7,_0x5335da){return _0x41c53b(_0x5e3d35-0x131,_0x4daca7-0x10,_0x5e3d35,_0x5335da-0xec);}if(!_0x414b06||_0x414b06==='--')return null;const _0x2b1de7=_0x414b06['split']('|');if(_0x95c153&&_0x2b1de7[_0x1324ee(_0xfba314._0x20a6cb,0x53d,_0xfba314._0x8be61f,_0xfba314._0x44f31e)]>=0x4&&Number[_0x539b18(_0xfba314._0x2198e5,0x215,0x272,0x366)](Number[_0x1324ee(_0xfba314._0x383fd1,0x2ce,0x384,0x43e)](_0x2b1de7[0x2]??'',0xa))){const _0x3dda39=Number[_0x1324ee(_0xfba314._0x49758f,_0xfba314._0x9e5d60,_0xfba314._0x5ef34e,_0xfba314._0xe65e38)](_0x2b1de7[0x1]??'',0xa);if(!Number[_0x539b18(_0xfba314._0x222542,0x42d,_0xfba314._0x48f516,0x366)](_0x3dda39)||!_0x2b1de7[0x0])return null;return{'filePath':_0x2b1de7[0x0],'lineNum':_0x3dda39,'lineText':_0x2b1de7[_0x539b18(_0xfba314._0x8b3f45,0x63b,_0xfba314._0x2d6541,0x5ba)](0x3)[_0x539b18(_0xfba314._0x52f2be,_0xfba314._0x38ea6e,_0xfba314._0x2a842f,_0xfba314._0x16879f)]('|')};}function _0x539b18(_0x51b0ea,_0x4e988c,_0xea6d82,_0xa37f70){return _0x41c53b(_0x51b0ea-_0x2c2a89._0x2f7019,_0xa37f70- -_0x2c2a89._0x4556c9,_0x4e988c,_0xa37f70-_0x2c2a89._0x62ffd9);}if(_0x2b1de7['length']>=0x3){const _0x1db4c1=Number[_0x1324ee(_0xfba314._0x28b02b,0x4b2,0x384,0x268)](_0x2b1de7[0x1]??'',0xa);if(!Number[_0x1324ee(_0xfba314._0x57537f,_0xfba314._0x49758f,0x3ac,_0xfba314._0x219dff)](_0x1db4c1)||!_0x2b1de7[0x0])return null;return{'filePath':_0x2b1de7[0x0],'lineNum':_0x1db4c1,'lineText':_0x2b1de7[_0x539b18(_0xfba314._0x3a24,_0xfba314._0x3f6623,_0xfba314._0x4ce968,_0xfba314._0x1849d4)](0x2)['join']('|'),..._0x95c153?{'isContext':!![]}:{}};}return null;}async function search(_0x17bfa9){const _0x2286c0={_0x3dd095:0x17,_0x3391f8:0xa9,_0x1aeb67:0x24,_0x4fc45b:0x81,_0x1f449f:0x9,_0x406da4:0x1f7,_0x26a990:0x187,_0x387c5c:0x2ea,_0x211dc1:0x78,_0x54176a:0xa4,_0x1aa760:0xd2,_0x66308:0x24c,_0x4948c7:0x181,_0xf265d:0x275,_0x59e820:0x377,_0x2275fa:0x28,_0x32b24d:0x13,_0x3f7609:0x94,_0x1eb3f8:0x49,_0x1b8d74:0x38,_0x3fbd21:0x10f,_0x3d2f29:0x31,_0x1d2dd5:0x1d8,_0x2882d7:0x151,_0x55ee6c:0xe3,_0xd7bcd:0x32a,_0x229ab0:0x69,_0x303cec:0x1,_0x242313:0x86,_0x9ba3fb:0x9f,_0x51ee69:0x13f,_0x24ba3f:0x62,_0x5ef2a5:0x34,_0x921302:0xcc,_0x525a2e:0x1b9,_0xa0a578:0x4d,_0x4486f3:0x1f0,_0x56107e:0x245,_0x4c7cdb:0x1c0,_0x4ce2db:0x1d0,_0x79faba:0x112,_0x4ee3d1:0x163,_0x50f6ea:0x27e,_0x40d774:0x18d,_0x4cd42d:0x18e,_0x4c22c8:0x101,_0x28f023:0x10c,_0x39879d:0x2e,_0x28a030:0x12d,_0x45b8f8:0x68,_0x12434e:0x75,_0x2ff2e0:0x22,_0x57c9f4:0x268,_0x1727ce:0x12e,_0x54f023:0x176,_0x5759da:0x65,_0x244aae:0x93},_0x53157d={_0x4a9925:0x515,_0x5e6bc8:0x65a,_0x34ec02:0x5ac,_0x29800f:0x4a1,_0x5a86e4:0x4db,_0x4c2c66:0x6a3,_0x1abf0e:0x1fb,_0x50a4c1:0x1ee,_0x56fb3e:0x2c8,_0x4d92b1:0x2d7},_0xfc56e9=await filepath();if(_0x17bfa9['file']){const _0x47d1a2=await _0x170386(_0x17bfa9[_0x2eaba2(0x78,-_0x2286c0._0x3dd095,-_0x2286c0._0x3391f8,_0x2286c0._0x1aeb67)])[_0x2eaba2(0x3e,-_0x2286c0._0x4fc45b,_0x2286c0._0x1f449f,-0x128)](()=>null);if(!_0x47d1a2?.['isFile']())throw Object[_0xd3b643(-_0x2286c0._0x406da4,-0x1e3,-0x9e,-0x19d)](new Error(_0xd3b643(-_0x2286c0._0x26a990,-0xa8,-0xfc,-_0x2286c0._0x387c5c)+_0x17bfa9[_0x2eaba2(_0x2286c0._0x211dc1,0x190,0x17d,0x12b)]+'\x27'),{'code':_0xd3b643(-_0x2286c0._0x54176a,-0x199,-0x43,_0x2286c0._0x1aa760)});}else{const _0x4d302b=await _0x170386(_0x17bfa9[_0xd3b643(-_0x2286c0._0x66308,-_0x2286c0._0x4948c7,-_0x2286c0._0xf265d,-_0x2286c0._0x59e820)])[_0xd3b643(-0xe0,0x6d,-0x1e0,_0x2286c0._0x2275fa)](()=>null);if(!_0x4d302b?.[_0x2eaba2(-0xaf,-_0x2286c0._0x32b24d,-0x1e2,-_0x2286c0._0x3f7609)]())throw Object['assign'](new Error(_0x2eaba2(-_0x2286c0._0x1eb3f8,-0x1aa,_0x2286c0._0x1f449f,-0xe6)+_0x17bfa9[_0x2eaba2(-0x12e,_0x2286c0._0x1b8d74,-0xfb,0x1f)]+'\x27'),{'code':_0xd3b643(-_0x2286c0._0x54176a,-_0x2286c0._0x3fbd21,_0x2286c0._0x3d2f29,-_0x2286c0._0x1d2dd5)});}function _0x2eaba2(_0x38b45b,_0x9d1d0b,_0x1dfafd,_0x58f0ec){return _0x41c53b(_0x38b45b-0xe3,_0x38b45b- -0x4cd,_0x1dfafd,_0x58f0ec-0x156);}const _0x5e02ed=['-nH',_0xd3b643(-_0x2286c0._0x2882d7,-_0x2286c0._0x55ee6c,-0x145,-0x18f),_0xd3b643(-0x1d2,-0x186,-_0x2286c0._0xd7bcd,-0x2f0),_0x2eaba2(-0x1b,-_0x2286c0._0x229ab0,-0xd7,-_0x2286c0._0x303cec),_0x17bfa9[_0x2eaba2(_0x2286c0._0x242313,0xab,_0x2286c0._0x9ba3fb,_0x2286c0._0x51ee69)]],_0x5c65b6=typeof _0x17bfa9[_0xd3b643(-0xcc,-0x225,-0xcb,-0x188)]===_0xd3b643(-_0x2286c0._0x24ba3f,_0x2286c0._0x5ef2a5,0xa6,-0x18c)&&_0x17bfa9[_0xd3b643(-_0x2286c0._0x921302,-_0x2286c0._0x525a2e,-0x114,-0x9f)]>0x0;_0x5c65b6&&_0x5e02ed['push']('-C',String(_0x17bfa9[_0xd3b643(-_0x2286c0._0x921302,-0x193,-_0x2286c0._0xa0a578,-_0x2286c0._0x4486f3)]),_0xd3b643(-_0x2286c0._0x56107e,-_0x2286c0._0x4c7cdb,-_0x2286c0._0x4ce2db,-0x150));_0x17bfa9[_0x2eaba2(_0x2286c0._0x79faba,_0x2286c0._0x4ee3d1,_0x2286c0._0x50f6ea,_0x2286c0._0x40d774)]&&!_0x17bfa9[_0xd3b643(-0xa6,-0x139,-_0x2286c0._0x4cd42d,-_0x2286c0._0x4c22c8)]&&_0x5e02ed[_0x2eaba2(-_0x2286c0._0x28f023,-0x11e,_0x2286c0._0x39879d,-_0x2286c0._0x28a030)](_0xd3b643(-0x75,-0x1d7,0x8c,-_0x2286c0._0x45b8f8),_0x17bfa9[_0xd3b643(-0xc,_0x2286c0._0x12434e,0x15b,-0xa3)]);_0x5e02ed[_0x2eaba2(-_0x2286c0._0x28f023,_0x2286c0._0x2ff2e0,-0x1f,-_0x2286c0._0x57c9f4)](_0x17bfa9['file']??_0x17bfa9[_0x2eaba2(-_0x2286c0._0x1727ce,-_0x2286c0._0x54f023,-_0x2286c0._0x5759da,-_0x2286c0._0x244aae)]);function _0xd3b643(_0x349e49,_0x1bdcf1,_0x2d26aa,_0x1204d3){return _0x41c53b(_0x349e49-0x1a6,_0x349e49- -0x5eb,_0x1bdcf1,_0x1204d3-0xf);}return await new Promise((_0x1236df,_0x364c3d)=>{const _0x16d198={_0x530fc3:0x239,_0xc9414d:0x1f1,_0x2bb27d:0x3b9,_0xad11a0:0x25c},_0x42fc81={_0x12dd68:0x4,_0x3006cf:0x14b},_0x3d2dc5={_0x13be2a:0x5c,_0x13c0c9:0x1ca},_0x48649b={_0x4632fd:0x50f,_0xfc2720:0x1e1,_0x2c73b1:0xd7},_0x57d23e={_0x2dbe1d:0x5f6,_0x3b7f33:0x115,_0x15856a:0xe1};function _0x4af89a(_0x416350,_0xe46d7f,_0x16bcd2,_0x1c1cad){return _0xd3b643(_0x416350-_0x57d23e._0x2dbe1d,_0xe46d7f,_0x16bcd2-_0x57d23e._0x3b7f33,_0x1c1cad-_0x57d23e._0x15856a);}function _0x10f8cc(_0xd15178,_0xd238f0,_0x58cacf,_0x4e5975){return _0xd3b643(_0x58cacf-_0x48649b._0x4632fd,_0xd15178,_0x58cacf-_0x48649b._0xfc2720,_0x4e5975-_0x48649b._0x2c73b1);}const _0x9099f2=_0x32539d(_0xfc56e9,_0x5e02ed,{'cwd':_0x17bfa9['cwd'],'stdio':['ignore',_0x10f8cc(_0x53157d._0x4a9925,0x585,0x579,_0x53157d._0x5e6bc8),_0x10f8cc(0x697,0x434,0x579,_0x53157d._0x34ec02)]});let _0x2190ee='',_0x1a4511='';_0x9099f2['stdout']?.['on']('data',_0xe88a0f=>{_0x2190ee+=_0xe88a0f['toString']();}),_0x9099f2[_0x4af89a(0x523,_0x53157d._0x29800f,_0x53157d._0x5a86e4,_0x53157d._0x4c2c66)]?.['on']('data',_0x36587e=>{const _0x3ce29d={_0x2f2090:0x331,_0x2dea24:0x7e};function _0x580ab3(_0x41d94e,_0x1e90fe,_0x21418d,_0x3a9ebc){return _0x4af89a(_0x3a9ebc- -_0x3ce29d._0x2f2090,_0x41d94e,_0x21418d-_0x3ce29d._0x2dea24,_0x3a9ebc-0xc4);}_0x1a4511+=_0x36587e[_0x580ab3(0x31b,_0x3d2dc5._0x13be2a,0x256,_0x3d2dc5._0x13c0c9)]();}),_0x9099f2['on'](_0x10f8cc(_0x53157d._0x1abf0e,_0x53157d._0x50a4c1,_0x53157d._0x56fb3e,0x38a),_0x105661=>{if(_0x105661===0x1&&_0x2190ee===''){_0x1236df([]);return;}function _0x2be5d9(_0x56e287,_0x44746e,_0x804eec,_0x302574){return _0x10f8cc(_0x804eec,_0x44746e-0x15e,_0x44746e-0x33,_0x302574-0x1d9);}function _0x1411cd(_0x33f28c,_0x23b5fd,_0x5334eb,_0x104143){return _0x10f8cc(_0x23b5fd,_0x23b5fd-_0x42fc81._0x12dd68,_0x104143- -_0x42fc81._0x3006cf,_0x104143-0xff);}if(_0x105661!==0x0&&_0x105661!==0x1){_0x364c3d(new Error(_0x2be5d9(0x285,0x36a,_0x16d198._0x530fc3,_0x16d198._0xc9414d)+_0x1a4511));return;}const _0x50342f=_0x17bfa9['limit']??0x64,_0x32db28=[];for(const _0x3ae572 of _0x2190ee['split'](/\r?\n/)){if(_0x32db28[_0x1411cd(0x3b4,_0x16d198._0x2bb27d,0x1b3,_0x16d198._0xad11a0)]>=_0x50342f)break;const _0x2056b5=parseMatchLine(_0x3ae572,_0x5c65b6);if(_0x2056b5)_0x32db28['push'](_0x2056b5);}_0x1236df(_0x32db28);}),_0x9099f2['on'](_0x4af89a(0x441,0x4cb,_0x53157d._0x4d92b1,0x5ad),_0x364c3d);});}function createGlobTool(_0x5535e1={}){const _0x24a77a={_0x492d9e:0x3f4,_0x4555b1:0x304,_0x3b9227:0x2ce,_0x5999a0:0x450,_0x247850:0x392,_0x430639:0x5a5,_0x22b5c1:0x543,_0x124714:0x2c,_0x1c7d3e:0xf2,_0x5222ea:0x8c,_0x713bdb:0x4da,_0x1b2ad3:0x8f,_0x525284:0xf1,_0x385552:0x4d4,_0x1de3d5:0x38f,_0x53d33e:0x5be,_0x43a44d:0x3b,_0x36daa3:0xde},_0x1b952d={_0x1b4814:0x650,_0x4f1d3a:0x6a6,_0x574c8f:0x580,_0x24f0e4:0x4ff,_0xf7519c:0x3a9,_0x437e8c:0x82,_0x29923c:0x6f,_0x2fc88c:0x19d,_0x1ab897:0x370,_0x474bdf:0x263,_0x55dc0d:0x151,_0x58d208:0x1dd,_0x27af31:0x1fa,_0x3be265:0x3d5,_0x3f3d13:0x2ad,_0x473c80:0x650,_0x52ec0f:0x67f,_0x42f5e4:0x32e,_0x5ac34d:0x212,_0x4a6fb3:0x1bc,_0x5a3ba3:0x777,_0x246846:0x586,_0x32099e:0x4be,_0x238c3e:0x405,_0x19122a:0x219,_0x2981e4:0x6ff,_0x3f6e19:0x587,_0x37f2ad:0x317,_0x38abd3:0x586,_0x24057c:0x6dc,_0x2bc9ca:0x624,_0x5eafcb:0x1d,_0x2ed9bb:0xc6,_0x53957b:0x4a7,_0xf1cd00:0x3c4,_0x1fde8f:0x5cf,_0xcde750:0x4c7},_0x4d5e98={_0x315a0c:0xd7,_0x2ae777:0x61f},_0x13a92f={_0x4320a1:0x1d1,_0x29f552:0x31},_0x34d9bc={_0x5961b1:0xd6},_0x5e5979={_0x3d0d7b:0x2b2,_0x9b99f:0x28};function _0xc171(_0x33ce99,_0x3d72ab,_0x393f39,_0x581db8){return _0x42babe(_0x581db8- -_0x5e5979._0x3d0d7b,_0x3d72ab-0x111,_0x393f39,_0x581db8-_0x5e5979._0x9b99f);}const _0x540a3f=_0x464d49[_0x23b501(_0x24a77a._0x492d9e,_0x24a77a._0x4555b1,0x524,_0x24a77a._0x3b9227)](_0x5535e1[_0x23b501(0x41e,0x31a,_0x24a77a._0x5999a0,_0x24a77a._0x247850)]??process['cwd']()),_0x8da13c=_0x5535e1['allowedDirs']??[],_0x5f18f6=_0x5535e1[_0x23b501(0x52c,_0x24a77a._0x430639,0x4fb,_0x24a77a._0x22b5c1)]??0x64,_0x34f038=_0x5535e1[_0xc171(-_0x24a77a._0x124714,-_0x24a77a._0x1c7d3e,0x9a,-_0x24a77a._0x5222ea)]??'Glob';function _0x23b501(_0x4088b1,_0x3db348,_0x35bc6d,_0x3b7272){return _0x42babe(_0x4088b1-0x18a,_0x3db348-0xd3,_0x35bc6d,_0x3b7272-_0x34d9bc._0x5961b1);}return defineTool({'name':_0x34f038,'description':_0x23b501(0x4c0,0x544,_0x24a77a._0x713bdb,0x47d),'inputSchema':{'type':_0xc171(-0xd5,-_0x24a77a._0x1b2ad3,-_0x24a77a._0x525284,0x93),'properties':{'pattern':{'type':'string'},'path':{'type':_0x23b501(_0x24a77a._0x385552,_0x24a77a._0x1de3d5,_0x24a77a._0x53d33e,0x3bd)},'limit':{'type':_0xc171(-_0x24a77a._0x43a44d,0x1b1,-0xf1,0x67)}},'required':[_0xc171(0x186,-0x10a,-_0x24a77a._0x36daa3,0x31)]},async *'execute'(_0x1aee00){if(_0x1aee00[_0x37c9e4(0x55c,_0x1b952d._0x1b4814,_0x1b952d._0x4f1d3a,0x4f6)]['trim']()[_0x37c9e4(0x48d,_0x1b952d._0x574c8f,0x62d,0x59b)]===0x0)throw new ToolExecutionError('pattern\x20is\x20required',{});const _0x2a58af=resolveAllowedPath(_0x540a3f,_0x8da13c,_0x1aee00[_0x37c9e4(0x564,_0x1b952d._0x24f0e4,0x5a1,_0x1b952d._0xf7519c)]??'.');function _0x19e63e(_0x5cc110,_0x12fff2,_0x4b6370,_0x26b122){return _0xc171(_0x5cc110-_0x13a92f._0x4320a1,_0x12fff2-_0x13a92f._0x29f552,_0x12fff2,_0x26b122-0x173);}const _0x3ea4e5=await _0x4ec85d(_0x2a58af)['catch'](()=>null);if(!_0x3ea4e5?.[_0x19e63e(-0x7,_0x1b952d._0x437e8c,-0x2c,_0x1b952d._0x29923c)]())throw new ToolExecutionError('Directory\x20not\x20found:\x20'+(_0x1aee00[_0x37c9e4(0x39e,0x4ff,0x54b,0x4bc)]??'.'),{'path':_0x1aee00['path']??'.'});function _0x37c9e4(_0x1b98d6,_0x1dcbd2,_0x3af4f7,_0x5ca44a){return _0xc171(_0x1b98d6-0x1a,_0x1dcbd2-_0x4d5e98._0x315a0c,_0x3af4f7,_0x1dcbd2-_0x4d5e98._0x2ae777);}const _0x303456=_0x1aee00[_0x19e63e(_0x1b952d._0x2fc88c,0x399,_0x1b952d._0x1ab897,_0x1b952d._0x474bdf)]??_0x5f18f6,_0x4bc97d=Math[_0x19e63e(_0x1b952d._0x55dc0d,0xbe,0x1fa,0x19e)](0x1,Math[_0x19e63e(_0x1b952d._0x58d208,_0x1b952d._0x27af31,_0x1b952d._0x3be265,_0x1b952d._0x3f3d13)](_0x303456)),_0x1317f1=[];let _0x478f8c=![];for await(const _0x402409 of files({'cwd':_0x2a58af,'glob':[_0x1aee00[_0x37c9e4(0x525,_0x1b952d._0x473c80,0x5bc,_0x1b952d._0x52ec0f)]]})){if(_0x1317f1['length']>=_0x4bc97d){_0x478f8c=!![];break;}const _0x50bbf8=await _0x4ec85d(_0x464d49[_0x19e63e(0xaa,_0x1b952d._0x42f5e4,_0x1b952d._0x5ac34d,_0x1b952d._0x4a6fb3)](_0x2a58af,_0x402409))[_0x37c9e4(0x648,0x608,_0x1b952d._0x5a3ba3,0x694)](()=>null);_0x1317f1[_0x37c9e4(_0x1b952d._0x246846,_0x1b952d._0x32099e,_0x1b952d._0x238c3e,0x411)]({'path':_0x402409,'mtime':_0x50bbf8?.[_0x19e63e(0x63,0x17a,_0x1b952d._0x19122a,0x108)]??0x0});}_0x1317f1[_0x37c9e4(_0x1b952d._0x2981e4,_0x1b952d._0x3f6e19,0x601,0x5f4)]((_0x5c110a,_0x357b06)=>_0x357b06[_0x37c9e4(0x693,0x632,0x53d,0x791)]-_0x5c110a[_0x37c9e4(0x5d9,0x632,0x4fd,0x608)]);const _0x28f0b1=_0x1317f1[_0x19e63e(_0x1b952d._0x37f2ad,0x365,0x20a,0x25f)](_0x5a7211=>_0x5a7211[_0x37c9e4(0x685,0x4ff,0x3bd,0x626)]),_0x436261=_0x28f0b1['length']===0x0?_0x37c9e4(0x573,0x671,0x77e,0x56f)+_0x1aee00[_0x37c9e4(_0x1b952d._0x38abd3,0x650,_0x1b952d._0x24057c,_0x1b952d._0x2bc9ca)]:''+_0x28f0b1['join']('\x0a')+(_0x478f8c?_0x19e63e(0x1f0,0xc2,-_0x1b952d._0x5eafcb,_0x1b952d._0x2ed9bb):'');return yield createToolOutput(_0x436261,{'pattern':_0x1aee00['pattern'],'searchPath':_0x464d49[_0x37c9e4(0x3b4,_0x1b952d._0x53957b,0x441,_0x1b952d._0xf1cd00)](_0x540a3f,_0x2a58af)||'.','matches':_0x28f0b1,'count':_0x28f0b1[_0x37c9e4(0x433,_0x1b952d._0x574c8f,_0x1b952d._0x1fde8f,_0x1b952d._0xcde750)],'truncated':_0x478f8c}),void 0x0;}});}import{stat as _0x17eed0}from'fs/promises';import*as _0x58d2e4 from'path';var MAX_LINE_LENGTH=0x7d0;function createGrepTool(_0x45f417={}){const _0x1b23ea={_0x5c6de9:0xb9,_0x5627a:0x214,_0xc5eac4:0x207,_0x48134a:0x171,_0x35034b:0x52,_0x5723ee:0x22a,_0x406a00:0x1cb,_0x34d8bb:0x249,_0x4c6751:0x218,_0x1de91e:0x199,_0x189127:0x222,_0x4828a0:0x60,_0x559c5b:0x13,_0x123cfd:0xd8,_0x3e27ad:0x1c6,_0x5bee3a:0x3e1,_0x6a0422:0x2bd,_0x337d7a:0xc4,_0x1487c7:0x49,_0x1164e2:0x21,_0x46a4b3:0x1c7,_0x4427e1:0x28c,_0x3967c3:0x14b,_0x5613bc:0x170,_0x3c352a:0x256,_0x19eac6:0x3c2},_0x4522f0={_0x124f2a:0x50b,_0x58472e:0x5e9,_0x62734b:0x510,_0x3daf61:0x4a2,_0x4c5eca:0x426,_0x4fe845:0x37c,_0x2f0f19:0x45a,_0x26f2b6:0x380,_0x530d4e:0x100,_0x55ce39:0x391,_0x4c9ce3:0x3e6,_0x39f573:0x384,_0x3b32bd:0x2a4,_0x5a61b3:0x325,_0x459ce9:0x1f5,_0x459468:0x2bb,_0x5d0f84:0x410,_0x35d9dd:0x460,_0x1cd954:0x288,_0x20e6b2:0x164,_0x469b87:0x5dd,_0xde7417:0x582,_0x4e98e4:0x4c5,_0xd3a4db:0x553,_0x443f1d:0x423,_0x55f16b:0x5ab,_0x1f6fa4:0x67b,_0x3887a2:0x63f,_0x12d9ee:0x6c8,_0x39600a:0x6ba,_0x48d6cc:0x51b,_0x531e36:0x697,_0x12e926:0x480,_0x168a1f:0x5b0,_0x5577be:0x60a,_0x3fb1ff:0x636,_0x2d17b7:0x3a5,_0x3a72bd:0x471,_0x45f7c0:0x4e3,_0x8810e3:0x569,_0x97e158:0x46c,_0x1b1e54:0x3c7,_0x553346:0x584,_0x6cba8:0x4ad,_0x258f44:0x4ea,_0x154e58:0x5cc,_0x568bbb:0x2d5,_0x3ebe3a:0x376,_0x4b7971:0x5b9,_0x33780e:0x515,_0x230bad:0x6e4,_0x36e252:0x57a,_0x33c8e2:0x3e3,_0x55ae9f:0x628,_0x33e8c9:0x382,_0x4b5fbc:0x239,_0x1fbe43:0x310,_0x3d13b0:0x603,_0x35fbb7:0x447,_0x454174:0x4e1,_0x4d40f3:0x3ba,_0xdfc2a0:0x45b,_0x3e2d6a:0x4d8,_0x5e3185:0x590,_0x2b4c17:0x5b1,_0x57d8ff:0xc1,_0x3103c6:0x1c2,_0x502b57:0x3ef,_0x1f65de:0x369,_0x1ddd7b:0x3fc,_0x5c65a2:0x408,_0xfc2b6e:0x355,_0x2837cf:0x309,_0x2542fc:0x414,_0xbca71:0x32e,_0x1e36e8:0x5ab,_0x83fd1d:0x604,_0x47af70:0x546,_0x57939b:0x4d4,_0x4bd5d4:0x6f1,_0x169b14:0x76c,_0x25967a:0x442,_0x1dd2e5:0x460,_0x2b35fd:0x525,_0xedb700:0x3d2,_0x27e037:0x406,_0x1db819:0x38f,_0x5a49c8:0x49d,_0x2843a9:0x58f,_0x2ef378:0x51e,_0x476b2b:0x734,_0x3626b8:0x47f,_0xc35b4b:0x45e,_0x407461:0x58a,_0x5ede3a:0x37f,_0x4b322e:0x51d},_0x5338b2={_0x35ccb5:0x1eb,_0x3cb96c:0x34b,_0x428281:0x4f},_0x7450de={_0x6fdb65:0x255,_0x8cc49e:0xe8},_0x3b5c09={_0x530f01:0x8d},_0x49ab9c=_0x58d2e4[_0x544084(_0x1b23ea._0x5c6de9,_0x1b23ea._0x5627a,0x1dd,0x157)](_0x45f417[_0x544084(0x192,0xc3,_0x1b23ea._0xc5eac4,_0x1b23ea._0x48134a)]??process[_0x44c0aa(_0x1b23ea._0x35034b,-0x126,-_0x1b23ea._0x5723ee,-0x26d)]()),_0x394b5f=_0x45f417[_0x544084(0x19d,_0x1b23ea._0x406a00,0x1c9,_0x1b23ea._0x34d8bb)]??[];function _0x544084(_0x4807d1,_0x89f8ba,_0xca5c3e,_0x1bda26){return _0x42babe(_0xca5c3e- -_0x3b5c09._0x530f01,_0x89f8ba-0x150,_0x1bda26,_0x1bda26-0x28);}function _0x44c0aa(_0x529613,_0x103fa9,_0x1ac974,_0x1ebb16){return _0x42babe(_0x103fa9- -_0x7450de._0x6fdb65,_0x103fa9-_0x7450de._0x8cc49e,_0x1ebb16,_0x1ebb16-0x48);}const _0x2eb8eb=_0x45f417[_0x544084(0x240,0x360,0x315,0x256)]??0x64,_0x36ee3b=_0x45f417[_0x544084(0x2b4,_0x1b23ea._0x4c6751,_0x1b23ea._0x1de91e,_0x1b23ea._0x189127)]??_0x44c0aa(0x4f,0x2c,-0x135,-_0x1b23ea._0x4828a0);return defineTool({'name':_0x36ee3b,'description':_0x44c0aa(-0x4,_0x1b23ea._0x559c5b,-0xe4,-_0x1b23ea._0x123cfd),'inputSchema':{'type':'object','properties':{'pattern':{'type':_0x544084(0x351,_0x1b23ea._0x3e27ad,0x2bd,0x3eb)},'path':{'type':_0x544084(0x3a1,_0x1b23ea._0x5bee3a,_0x1b23ea._0x6a0422,0x3cc)},'include':{'type':'string'},'limit':{'type':_0x44c0aa(0x56,_0x1b23ea._0x337d7a,_0x1b23ea._0x1487c7,-_0x1b23ea._0x1164e2)},'context':{'type':_0x544084(_0x1b23ea._0x46a4b3,0x215,_0x1b23ea._0x4427e1,_0x1b23ea._0x3967c3)}},'required':[_0x544084(_0x1b23ea._0x5613bc,0x2ee,_0x1b23ea._0x3c352a,_0x1b23ea._0x19eac6)]},async *'execute'(_0x3fbd7c){if(_0x3fbd7c['pattern'][_0x59161a(0x717,_0x4522f0._0x124f2a,0x4e9,_0x4522f0._0x58472e)]()[_0x59161a(_0x4522f0._0x62734b,_0x4522f0._0x3daf61,_0x4522f0._0x4c5eca,0x4e1)]===0x0)throw new ToolExecutionError(_0x275296(_0x4522f0._0x4fe845,0x354,_0x4522f0._0x2f0f19,0x310),{});const _0x518947=resolveAllowedPath(_0x49ab9c,_0x394b5f,_0x3fbd7c[_0x275296(0x288,0x1c5,_0x4522f0._0x26f2b6,_0x4522f0._0x530d4e)]??'.'),_0x126ef9=await _0x17eed0(_0x518947)[_0x275296(_0x4522f0._0x55ce39,0x34a,_0x4522f0._0x4c9ce3,_0x4522f0._0x39f573)](()=>null),_0xb4becb=_0x126ef9?.['isFile']()??![],_0x37817b=_0x126ef9?.[_0x275296(_0x4522f0._0x3b32bd,_0x4522f0._0x5a61b3,0x3b9,_0x4522f0._0x459ce9)]()??![];if(!_0xb4becb&&!_0x37817b)throw new ToolExecutionError(_0x275296(0x261,0x387,_0x4522f0._0x459468,0xe3)+(_0x3fbd7c[_0x59161a(0x351,0x4cd,_0x4522f0._0x5d0f84,_0x4522f0._0x35d9dd)]??'.'),{'path':_0x3fbd7c[_0x275296(_0x4522f0._0x1cd954,0x28d,0x273,_0x4522f0._0x20e6b2)]??'.'});const _0x1f407c=_0x3fbd7c[_0x275296(0x498,_0x4522f0._0x469b87,_0x4522f0._0xde7417,0x3d9)]??_0x2eb8eb,_0x1936bb=Math[_0x59161a(_0x4522f0._0x4e98e4,_0x4522f0._0xd3a4db,_0x4522f0._0x443f1d,_0x4522f0._0x55f16b)](0x1,Math[_0x59161a(_0x4522f0._0x1f6fa4,_0x4522f0._0x3887a2,_0x4522f0._0x12d9ee,_0x4522f0._0x39600a)](_0x1f407c)),_0x553cf9=await search({'cwd':_0x37817b?_0x518947:_0x58d2e4[_0x59161a(0x528,_0x4522f0._0x48d6cc,0x3ef,0x3d3)](_0x518947),'pattern':_0x3fbd7c[_0x59161a(_0x4522f0._0x531e36,_0x4522f0._0x12e926,_0x4522f0._0x168a1f,0x5b1)],'glob':_0x37817b?_0x3fbd7c[_0x59161a(_0x4522f0._0x5577be,0x4ec,0x5e4,_0x4522f0._0x3fb1ff)]:void 0x0,'limit':_0x1936bb,'file':_0xb4becb?_0x518947:void 0x0,'context':_0x3fbd7c[_0x275296(_0x4522f0._0x2d17b7,_0x4522f0._0x3a72bd,_0x4522f0._0x45f7c0,0x3c8)]}),_0x49e431=new Map();for(const _0x442f42 of _0x553cf9){if(!_0x49e431['has'](_0x442f42[_0x59161a(0x43c,_0x4522f0._0x8810e3,0x403,0x4ad)])){const _0x2fc950=await _0x17eed0(_0x442f42[_0x59161a(_0x4522f0._0x97e158,_0x4522f0._0x1b1e54,_0x4522f0._0x553346,_0x4522f0._0x6cba8)])['catch'](()=>null);_0x49e431[_0x275296(_0x4522f0._0x258f44,0x56a,0x5c0,_0x4522f0._0x154e58)](_0x442f42[_0x275296(_0x4522f0._0x568bbb,_0x4522f0._0x3ebe3a,_0x4522f0._0x443f1d,0x167)],{'matches':[],'mtime':_0x2fc950?.[_0x59161a(_0x4522f0._0x4b7971,0x457,_0x4522f0._0x48d6cc,_0x4522f0._0x33780e)]??0x0});}_0x49e431[_0x59161a(0x5af,_0x4522f0._0x230bad,0x4dd,_0x4522f0._0x36e252)](_0x442f42['filePath'])?.[_0x59161a(_0x4522f0._0x33c8e2,_0x4522f0._0x55ae9f,0x514,0x51a)][_0x275296(0x247,_0x4522f0._0x33e8c9,0x33a,_0x4522f0._0x4b5fbc)](_0x442f42);}const _0x771eee=[..._0x49e431['entries']()][_0x275296(_0x4522f0._0x1fbe43,0x261,0x1c8,0x2a8)]((_0x5e96c9,_0x4d3699)=>_0x4d3699[0x1][_0x275296(0x3bb,0x382,0x391,0x2ce)]-_0x5e96c9[0x1][_0x59161a(0x4cd,0x53c,0x4ec,0x593)]),_0x561e6a=_0x553cf9[_0x59161a(0x68c,_0x4522f0._0x3d13b0,0x50a,0x599)](_0x5f5818=>!_0x5f5818['isContext'])['length'],_0x423366=_0x553cf9[_0x59161a(0x50d,0x411,0x5af,0x4e1)]>=_0x1936bb;function _0x275296(_0x2a36de,_0x2ead0d,_0x1c4b43,_0x5022c2){return _0x44c0aa(_0x2a36de-_0x5338b2._0x35ccb5,_0x2a36de-_0x5338b2._0x3cb96c,_0x1c4b43-_0x5338b2._0x428281,_0x5022c2);}const _0x8aa27a=_0xb4becb?_0x58d2e4['dirname'](_0x518947):_0x518947;let _0x37c52d='';function _0x59161a(_0x6c1aeb,_0x195528,_0x173370,_0x4d0d41){return _0x544084(_0x6c1aeb-0x197,_0x195528-0x1a8,_0x4d0d41-0x35b,_0x6c1aeb);}if(_0x553cf9[_0x59161a(_0x4522f0._0x35fbb7,0x590,0x411,_0x4522f0._0x454174)]===0x0)_0x37c52d=_0x59161a(_0x4522f0._0x4d40f3,0x65c,_0x4522f0._0xdfc2a0,_0x4522f0._0x3e2d6a)+_0x3fbd7c[_0x59161a(0x507,0x492,_0x4522f0._0x5e3185,_0x4522f0._0x2b4c17)];else{_0x37c52d=_0x275296(0x237,_0x4522f0._0x57d8ff,_0x4522f0._0x3103c6,0x18b)+_0x561e6a+'\x20match'+(_0x561e6a===0x1?'':'es')+'\x0a';for(const [_0x5c96a6,_0x52d93e]of _0x771eee){const _0x274228=_0xb4becb?_0x58d2e4[_0x275296(0x4ec,0x594,_0x4522f0._0x502b57,_0x4522f0._0x1f65de)](_0x5c96a6):_0x58d2e4[_0x59161a(0x288,_0x4522f0._0x1ddd7b,0x526,_0x4522f0._0x5c65a2)](_0x8aa27a,_0x5c96a6);_0x37c52d+='\x0a'+_0x274228+':\x0a';for(const _0x338bcc of _0x52d93e[_0x275296(0x342,0x226,_0x4522f0._0xfc2b6e,0x309)]){const _0x5ddea8=_0x338bcc['lineText'][_0x275296(_0x4522f0._0x2837cf,_0x4522f0._0x2542fc,_0x4522f0._0xbca71,0x23e)]>MAX_LINE_LENGTH?_0x338bcc[_0x59161a(_0x4522f0._0x1e36e8,_0x4522f0._0x83fd1d,0x64b,0x4fd)][_0x59161a(0x58c,_0x4522f0._0x47af70,_0x4522f0._0x57939b,0x64e)](0x0,MAX_LINE_LENGTH)+_0x59161a(_0x4522f0._0x4bd5d4,_0x4522f0._0x169b14,0x53d,0x621):_0x338bcc['lineText'],_0x3559dc=_0x338bcc['isContext']?'\x20\x20':'>\x20';_0x37c52d+=_0x3559dc+_0x275296(_0x4522f0._0x25967a,_0x4522f0._0x1dd2e5,0x48f,_0x4522f0._0x2b35fd)+_0x338bcc[_0x275296(0x27e,_0x4522f0._0xedb700,0x28e,_0x4522f0._0x27e037)]+':\x20'+_0x5ddea8+'\x0a';}}_0x423366&&(_0x37c52d+=_0x59161a(_0x4522f0._0x1db819,0x443,_0x4522f0._0x5a49c8,0x4d3));}const _0x4de817={'searchPath':_0x58d2e4[_0x59161a(_0x4522f0._0x2843a9,_0x4522f0._0x2ef378,0x465,_0x4522f0._0x5c65a2)](_0x49ab9c,_0x518947)||'.','pattern':_0x3fbd7c[_0x59161a(_0x4522f0._0x476b2b,0x4cd,0x610,0x5b1)],'matchCount':_0x561e6a,'fileCount':_0x49e431[_0x275296(0x471,_0x4522f0._0x1ddd7b,0x3b2,_0x4522f0._0x3626b8)],'truncated':_0x423366};return _0x37817b&&_0x3fbd7c['include']!==void 0x0&&(_0x4de817['include']=_0x3fbd7c[_0x275296(_0x4522f0._0xc35b4b,_0x4522f0._0x407461,_0x4522f0._0x5ede3a,_0x4522f0._0x4b322e)]),yield createToolOutput(_0x37c52d['trim'](),_0x4de817),void 0x0;}});}function createKillShellTool(_0x3ccbd1){const _0xc53106={_0x51ad70:0x4d8,_0x1e3388:0x366,_0xedacf2:0x45d,_0x43e2a9:0x681,_0x406355:0x7f6,_0x3e978b:0x695},_0x3c6333={_0x1e1599:0x3d9,_0x3ff950:0x64d,_0x231ef4:0xee,_0x49750c:0x28,_0x2720b9:0x200,_0xaa4530:0x2e6,_0x2006d3:0x258,_0x321e27:0x2de,_0xdf1da1:0xcf,_0x139da2:0x12c,_0x44e63e:0x13d,_0x3c368f:0x6d2,_0x4458c4:0x5c0,_0x1f92b3:0x6a2,_0x132130:0x74b},_0x1a1d8e={_0xb00f2c:0x1a4,_0x472dde:0x4f,_0x30d1bc:0x2cf},_0x3b8839={_0x4fef28:0x117,_0x19c756:0x15b},_0x54245d={_0x2f99b6:0x171,_0x593c04:0x90};function _0xd99548(_0x4b78f2,_0x4218b7,_0x2c7773,_0x5f2e27){return _0x42babe(_0x5f2e27-_0x54245d._0x2f99b6,_0x4218b7-0x94,_0x2c7773,_0x5f2e27-_0x54245d._0x593c04);}function _0x57ccf0(_0x4d5c2c,_0x543df4,_0x32e360,_0x501e53){return _0x42babe(_0x501e53-0x34b,_0x543df4-_0x3b8839._0x4fef28,_0x4d5c2c,_0x501e53-_0x3b8839._0x19c756);}const {registry:_0x23a241}=_0x3ccbd1;return defineTool({'name':_0xd99548(_0xc53106._0x51ad70,_0xc53106._0x1e3388,0x476,_0xc53106._0xedacf2),'description':'Terminate\x20a\x20background\x20process\x20started\x20with\x20Bash(runInBackground:true),\x20identified\x20by\x20its\x20shellId.','inputSchema':{'type':_0x57ccf0(0x605,0x70f,_0xc53106._0x43e2a9,0x690),'properties':{'shellId':{'type':_0x57ccf0(0x5b3,0x763,_0xc53106._0x406355,_0xc53106._0x3e978b)}},'required':['shellId']},async *'execute'(_0x34cfbd){function _0x5babbb(_0x4ef39d,_0x4a42c1,_0x43b6fd,_0x7f3932){return _0xd99548(_0x4ef39d-_0x1a1d8e._0xb00f2c,_0x4a42c1-_0x1a1d8e._0x472dde,_0x4a42c1,_0x4ef39d- -_0x1a1d8e._0x30d1bc);}const _0x2bb3f4=_0x23a241[_0x563bef(0x5dc,_0x3c6333._0x1e1599,0x4d0,_0x3c6333._0x3ff950)](_0x34cfbd[_0x5babbb(0x207,_0x3c6333._0x231ef4,0x2a4,0x22e)]);function _0x563bef(_0x1b934a,_0x380739,_0x1bd624,_0x519796){return _0x57ccf0(_0x380739,_0x380739-0x4d,_0x1bd624-0x1a0,_0x1bd624-0x3);}return createToolOutput(_0x5babbb(0x140,_0x3c6333._0x49750c,_0x3c6333._0x2720b9,0x1a2)+_0x34cfbd['shellId']+_0x5babbb(0x259,0x3be,_0x3c6333._0xaa4530,_0x3c6333._0x2006d3)+_0x2bb3f4[_0x5babbb(0x260,_0x3c6333._0x321e27,0x1ff,0x2a2)]+').',{'shellId':_0x34cfbd[_0x5babbb(0x207,0x1ba,0x2ae,_0x3c6333._0xdf1da1)],'status':_0x2bb3f4[_0x5babbb(0x260,_0x3c6333._0x139da2,0x301,_0x3c6333._0x44e63e)],'exitCode':_0x2bb3f4[_0x563bef(_0x3c6333._0x3c368f,_0x3c6333._0x4458c4,_0x3c6333._0x1f92b3,_0x3c6333._0x132130)],'signal':_0x2bb3f4[_0x5babbb(0x13f,0x22b,0x233,0x29c)]});}});}import{readdir as _0xd73560,readFile as _0x210701,stat as _0x62c746}from'fs/promises';import*as _0x55accf from'path';import*as _0x533442 from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x23ed38,_0x441379){const _0x325f15={_0x22bedd:0x27f,_0x3faf98:0x15a,_0x1bdaee:0x69,_0x2ac84b:0x1cb,_0x108c13:0x123},_0x27cfff={_0x36b786:0x44};function _0x412ff1(_0x443505,_0x374f9f,_0x29b92d,_0x2d5606){return _0x42babe(_0x29b92d-0x266,_0x374f9f-0xf7,_0x374f9f,_0x2d5606-_0x27cfff._0x36b786);}if(_0x441379>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;function _0xf9c15(_0xc6aae,_0x379135,_0x5ed724,_0x1e328a){return _0x41c53b(_0xc6aae-0x6b,_0xc6aae- -0x5f4,_0x1e328a,_0x1e328a-0x109);}const _0xa5c49a=await _0x210701(_0x23ed38)['catch'](()=>null);if(!_0xa5c49a||isProbablyBinary(_0xa5c49a))return void 0x0;return _0xa5c49a[_0xf9c15(-0x104,-_0x325f15._0x22bedd,-0x277,-0x1e3)](_0xf9c15(-0xd1,0x92,-_0x325f15._0x3faf98,_0x325f15._0x1bdaee))['split'](/\r?\n/)[_0xf9c15(-0x171,-0x1a4,-_0x325f15._0x2ac84b,-_0x325f15._0x108c13)];}function createLsTool(_0x4cdc63={}){const _0x1ee980={_0x59fd6e:0x86,_0xa00929:0x99,_0x3960e1:0x10,_0x35e1b7:0xc3,_0x26c8e8:0x1a8,_0x2e05fa:0x155,_0x37653d:0xa6,_0x5d8fca:0x68,_0x1838b5:0xb1,_0x43e074:0x154,_0x3f9fbf:0x147,_0xf13952:0x10d,_0x5b98b9:0x1f0,_0x5392d5:0x18d,_0x13dbe2:0x29,_0x3da056:0x214,_0x5d627f:0x8f},_0x3fbd9e={_0x130859:0xd0,_0xa58bb2:0x17e,_0x55fa8f:0x4a,_0x4a01ee:0x5ae,_0x560a1d:0x70b,_0x57eb59:0x6ac,_0x515f95:0x57e,_0x38ffd5:0x6eb,_0x9799:0x49a,_0x5124f7:0x594,_0x4b27ec:0x5fa,_0x4923f0:0x75b,_0x37badc:0x101,_0x440038:0x26a,_0x34fa67:0x753,_0x34dd47:0x834,_0x56a86a:0x76b,_0x539d08:0xa2,_0x133203:0x15f,_0x548dcb:0x11f,_0x380ecc:0x686,_0x22ba9b:0x804,_0x47842f:0x103,_0x208a5d:0x19d,_0x54f37b:0xd4,_0x9fda26:0x601,_0xad6723:0x750,_0xaf5366:0x9e,_0x5403a6:0xfc,_0x2df74d:0x46,_0x16b2b6:0x29e,_0x6503f9:0xe7,_0x371855:0x163,_0x1b65e9:0xd6,_0x2573e3:0x11c,_0x4c0881:0x766,_0x145963:0xce,_0x27d42e:0x6b,_0x4d1512:0x6c0,_0x368362:0x800,_0x3f31a8:0x19f,_0x23b0c4:0x109,_0x4a1973:0x5f4,_0x46b273:0x5a2,_0x4d2b8d:0x11,_0x461e0a:0xb9,_0xf3e5c:0x75,_0x1e6d26:0x37,_0x3beb48:0x129,_0x4f4eec:0xf7,_0xba9a22:0x37,_0x35bad2:0x670,_0x2ea8f6:0x5e3},_0x3b6189={_0xecb52e:0x5},_0x1ba6cc={_0x54d12d:0x23d,_0x4ceaf3:0x195,_0x471d71:0x7},_0x1c6c56={_0x4264b3:0x284,_0x57f7f2:0xa5,_0x27e8be:0x10e},_0x489329=_0x55accf[_0x1732a4(0x2d,-_0x1ee980._0x59fd6e,-0x54,_0x1ee980._0xa00929)](_0x4cdc63[_0x1dcbd9(-0xb1,0xa2,_0x1ee980._0x3960e1,_0x1ee980._0x35e1b7)]??process[_0x1dcbd9(-0x1c1,-_0x1ee980._0x26c8e8,-_0x1ee980._0x2e05fa,-0x1b3)]()),_0x436987=_0x4cdc63['allowedDirs']??[];function _0x1dcbd9(_0x54f1f2,_0x36fa20,_0x11790f,_0x5b086e){return _0x42babe(_0x11790f- -_0x1c6c56._0x4264b3,_0x36fa20-_0x1c6c56._0x57f7f2,_0x36fa20,_0x5b086e-_0x1c6c56._0x27e8be);}function _0x1732a4(_0x5cdac0,_0x195450,_0x1e0569,_0x3eaf80){return _0x42babe(_0x5cdac0- -_0x1ba6cc._0x54d12d,_0x195450-_0x1ba6cc._0x4ceaf3,_0x1e0569,_0x3eaf80-_0x1ba6cc._0x471d71);}const _0x45309a=_0x4cdc63[_0x1732a4(-0x17,-_0x1ee980._0x37653d,0x51,-_0x1ee980._0x5d8fca)]??'Ls';return defineTool({'name':_0x45309a,'description':_0x1dcbd9(-_0x1ee980._0x1838b5,-_0x1ee980._0x43e074,-_0x1ee980._0x3f9fbf,-0x298),'inputSchema':{'type':'object','properties':{'path':{'type':_0x1732a4(_0x1ee980._0xf13952,_0x1ee980._0x5b98b9,0x11f,_0x1ee980._0x5392d5)},'limit':{'type':_0x1732a4(0xdc,-_0x1ee980._0x13dbe2,_0x1ee980._0x3da056,_0x1ee980._0x5d627f)}}},async *'execute'(_0x2ecf49){const _0x5a9fb8=_0x2ecf49[_0xa37bb4(_0x3fbd9e._0x130859,-_0x3fbd9e._0xa58bb2,-_0x3fbd9e._0x55fa8f,-0x1b1)]??'.',_0x194696=resolveAllowedPath(_0x489329,_0x436987,_0x5a9fb8);function _0xa37bb4(_0x102a5c,_0x44da5d,_0x2445c6,_0x43f692){return _0x1732a4(_0x2445c6-0x61,_0x44da5d-0x95,_0x44da5d,_0x43f692-0x1ef);}const _0x4b2840=await _0x62c746(_0x194696)[_0x2c2e06(_0x3fbd9e._0x4a01ee,_0x3fbd9e._0x560a1d,0x686,_0x3fbd9e._0x57eb59)](()=>null);if(!_0x4b2840?.['isDirectory']())throw new ToolExecutionError(_0x2c2e06(_0x3fbd9e._0x515f95,_0x3fbd9e._0x38ffd5,0x61f,_0x3fbd9e._0x9799)+_0x5a9fb8,{'path':_0x5a9fb8});const _0x13afdd=_0x2ecf49['limit']??0x3e8,_0x4f4da8=Math[_0x2c2e06(0x6dc,_0x3fbd9e._0x5124f7,_0x3fbd9e._0x4b27ec,_0x3fbd9e._0x4923f0)](Math[_0xa37bb4(0x11d,-0x4,_0x3fbd9e._0x37badc,0x23a)](Math[_0xa37bb4(_0x3fbd9e._0x440038,0x188,0x210,0x1e6)](_0x13afdd),0x1),0x2710),_0x48967f=await _0xd73560(_0x194696),_0x4bb526=[];function _0x2c2e06(_0x54876a,_0x46f8ed,_0x28fcfe,_0x3f0620){return _0x1dcbd9(_0x54876a-0x184,_0x46f8ed,_0x28fcfe-0x66f,_0x3f0620-_0x3b6189._0xecb52e);}for(const _0x5ba9b2 of _0x48967f[_0x2c2e06(_0x3fbd9e._0x34fa67,_0x3fbd9e._0x34dd47,_0x3fbd9e._0x56a86a,0x6a9)](0x0,_0x4f4da8)){const _0x4ae7a2=_0x55accf[_0xa37bb4(_0x3fbd9e._0x539d08,_0x3fbd9e._0x133203,_0x3fbd9e._0x548dcb,0xb9)](_0x194696,_0x5ba9b2),_0x45c497=await _0x62c746(_0x4ae7a2)[_0x2c2e06(0x7da,0x515,_0x3fbd9e._0x380ecc,_0x3fbd9e._0x22ba9b)](()=>null);if(!_0x45c497)continue;let _0x28bc41=_0xa37bb4(_0x3fbd9e._0x47842f,0x6c,_0x3fbd9e._0x208a5d,_0x3fbd9e._0x54f37b);if(_0x45c497[_0x2c2e06(_0x3fbd9e._0x9fda26,0x73a,0x5d2,0x54e)]())_0x28bc41=_0x2c2e06(0x774,0x548,0x6c0,_0x3fbd9e._0xad6723);else{if(_0x45c497[_0xa37bb4(_0x3fbd9e._0xaf5366,_0x3fbd9e._0x5403a6,-0x2e,-_0x3fbd9e._0x2df74d)]())_0x28bc41=_0xa37bb4(_0x3fbd9e._0x16b2b6,_0x3fbd9e._0x6503f9,_0x3fbd9e._0x371855,_0x3fbd9e._0x1b65e9);else{if(_0x45c497[_0x2c2e06(0x6db,0x8c4,0x7ce,0x901)]())_0x28bc41=_0xa37bb4(-0x70,-_0x3fbd9e._0x2573e3,-0x14,-0x148);}}const _0x471c4f={'name':_0x5ba9b2,'type':_0x28bc41,'size':_0x45c497[_0x2c2e06(0x8da,0x77a,_0x3fbd9e._0x4c0881,0x7c0)],'mtime':_0x45c497[_0xa37bb4(_0x3fbd9e._0x145963,-0xcd,_0x3fbd9e._0x27d42e,0x139)],'mode':_0x45c497['mode']},_0x2b1640=_0x28bc41===_0x2c2e06(0x6bb,0x59d,_0x3fbd9e._0x4d1512,_0x3fbd9e._0x368362)?await countTextLines(_0x4ae7a2,_0x45c497[_0xa37bb4(0x124,0x110,_0x3fbd9e._0x3f31a8,_0x3fbd9e._0x23b0c4)]):void 0x0;if(_0x2b1640!==void 0x0)_0x471c4f[_0x2c2e06(0x4d4,0x66c,_0x3fbd9e._0x4a1973,_0x3fbd9e._0x46b273)]=_0x2b1640;_0x4bb526[_0xa37bb4(-0xab,-0x155,-0x8b,-_0x3fbd9e._0x4d2b8d)](_0x471c4f);}_0x4bb526['sort']((_0x4eb2d9,_0x3692a9)=>_0x4eb2d9['name'][_0xa37bb4(0x10a,0x199,0xe2,0x19b)](_0x3692a9['name']));const _0x26a9c0={'path':_0x5a9fb8,'total':_0x4bb526['length'],'truncated':_0x48967f[_0xa37bb4(_0x3fbd9e._0x461e0a,_0x3fbd9e._0xf3e5c,_0x3fbd9e._0x1e6d26,_0x3fbd9e._0x3beb48)]>_0x4f4da8,'entries':_0x4bb526};return yield createToolOutput(_0x533442['stringify'](_0x26a9c0,{'indent':0x2,'lineWidth':0x0})['trimEnd'](),{'path':_0x5a9fb8,'total':_0x4bb526[_0xa37bb4(-_0x3fbd9e._0x4f4eec,0xee,_0x3fbd9e._0xba9a22,0x13f)],'truncated':_0x48967f[_0x2c2e06(0x699,_0x3fbd9e._0x35bad2,0x5fe,_0x3fbd9e._0x2ea8f6)]>_0x4f4da8,'limit':_0x4f4da8,'entries':_0x4bb526}),void 0x0;}});}import{stat as _0x98d81c}from'fs/promises';function _0x41c53b(_0x26f057,_0x1e58ad,_0x56f19a,_0x2a83dd){return _0x4ff3(_0x1e58ad-0x210,_0x56f19a);}import _0x14bef9 from'path';import{fileURLToPath as _0x48b8e2}from'url';function severityName(_0x1d55c5){const _0x40d314={_0x5184fb:0x177,_0xaff626:0x129,_0x21c9a4:0x291,_0x1491f9:0x63,_0x146e32:0x141,_0x356d2f:0x31,_0x12be44:0x11d,_0x4aa713:0x14f,_0x8f7560:0x59,_0x32e888:0x6d4,_0x51bf81:0x7ac,_0x9b6b69:0x7c2,_0x141018:0x6b0,_0x524a47:0x736,_0x386c26:0x70b},_0x5885c0={_0x84a627:0x5e};function _0x42abe7(_0x1aea44,_0x20c313,_0x2748ca,_0x1ee57d){return _0x41c53b(_0x1aea44-0x8b,_0x1aea44- -0x5e1,_0x2748ca,_0x1ee57d-_0x5885c0._0x84a627);}function _0x20f943(_0x3a91ef,_0x23ea16,_0x8e2d62,_0x3b3839){return _0x41c53b(_0x3a91ef-0x14c,_0x3a91ef-0x151,_0x8e2d62,_0x3b3839-0xd);}switch(_0x1d55c5){case 0x1:return _0x42abe7(-0x207,-_0x40d314._0x5184fb,-_0x40d314._0xaff626,-_0x40d314._0x21c9a4);case 0x2:return _0x42abe7(-_0x40d314._0x1491f9,-0x1bd,-0x137,-_0x40d314._0x146e32);case 0x3:return _0x42abe7(-_0x40d314._0x356d2f,_0x40d314._0x12be44,-_0x40d314._0x4aa713,-_0x40d314._0x8f7560);case 0x4:return _0x20f943(_0x40d314._0x32e888,0x5d3,_0x40d314._0x51bf81,_0x40d314._0x9b6b69);default:return _0x20f943(_0x40d314._0x141018,_0x40d314._0x524a47,0x6ba,_0x40d314._0x386c26);}}function formatSingleHover(_0x3197c0){const _0x17819c={_0x1847aa:0x2a4,_0x5ec431:0x381,_0x118bb6:0x201,_0x33a959:0x310,_0x559b64:0x35e,_0x58953e:0x126,_0x20d4fd:0x255,_0x5ad707:0x2b0,_0x266baf:0x527,_0x51c967:0x3ef,_0x77b37f:0x438,_0x44dfb9:0x351,_0xc17a70:0x447,_0x3ef669:0x45e,_0x6cdeae:0x361,_0x266ca1:0x135,_0x23ea20:0x57,_0x176534:0x45c,_0x416e88:0x4f,_0x4e2670:0x24,_0x14f637:0x172,_0x4e307c:0xa4},_0x567d4e={_0x25b873:0x15},_0x5a711f={_0x3d8f09:0x22c,_0x46db76:0x12c},_0x54f63b=_0x3197c0[_0x395b2c(0x598,0x4c1,0x53b,0x56e)];if(typeof _0x54f63b===_0x1eb26b(_0x17819c._0x1847aa,_0x17819c._0x5ec431,0xda,_0x17819c._0x118bb6))return _0x54f63b;if(Array['isArray'](_0x54f63b))return _0x54f63b[_0x1eb26b(_0x17819c._0x33a959,_0x17819c._0x559b64,_0x17819c._0x58953e,_0x17819c._0x20d4fd)](_0x338eff=>typeof _0x338eff===_0x395b2c(0x576,0x51f,0x6ce,0x6cb)?_0x338eff:_0x338eff[_0x395b2c(0x351,0x1f4,0x49d,0x26f)])[_0x1eb26b(_0x17819c._0x5ad707,0xfb,0x2b6,0x182)](Boolean)[_0x395b2c(_0x17819c._0x266baf,_0x17819c._0x51c967,0x5f3,_0x17819c._0x77b37f)]('\x0a\x0a');if('kind'in _0x54f63b)return _0x54f63b[_0x395b2c(_0x17819c._0x44dfb9,_0x17819c._0xc17a70,_0x17819c._0x3ef669,_0x17819c._0x6cdeae)];function _0x395b2c(_0x48a2c6,_0x411595,_0x3d5c0a,_0x87835e){return _0x42babe(_0x48a2c6-_0x5a711f._0x3d8f09,_0x411595-_0x5a711f._0x46db76,_0x87835e,_0x87835e-0x1b2);}function _0x1eb26b(_0x4b96f5,_0x1171f4,_0x5bce13,_0x214a25){return _0x42babe(_0x214a25- -0x149,_0x1171f4-_0x567d4e._0x25b873,_0x5bce13,_0x214a25-0x135);}return _0x54f63b['language']?_0x1eb26b(-_0x17819c._0x266ca1,-_0x17819c._0x23ea20,0x10d,0x46)+_0x54f63b[_0x395b2c(_0x17819c._0x176534,0x50a,0x5c1,0x34e)]+'\x0a'+_0x54f63b[_0x1eb26b(-0x189,0x14b,-_0x17819c._0x416e88,-_0x17819c._0x4e2670)]+_0x1eb26b(0x306,_0x17819c._0x14f637,0x26e,0x1b4):_0x54f63b[_0x1eb26b(-_0x17819c._0x4e307c,-0x29,-0xb9,-0x24)];}function formatHover(_0xdd25a1){const _0x26a4fd={_0x3e3aff:0x110,_0x489c15:0xd8,_0x505062:0x7c,_0x50eadc:0x10,_0x5386c3:0x6f0,_0x5af1e1:0x5b6,_0x137138:0x65e,_0xee8f28:0x68b,_0x31be85:0x651,_0x3269b1:0x4f2,_0x59bcc5:0x761},_0x4319a8={_0x3d92b1:0x22},_0x4d0d6a={_0x4f5cf4:0x49};if(_0xdd25a1['length']===0x0)return _0x12048a(0x20,0x141,0x4d,_0x26a4fd._0x3e3aff);function _0x1007f7(_0x493e47,_0x57f977,_0x5a6040,_0x4fc9c6){return _0x41c53b(_0x493e47-0x1a1,_0x493e47-0x185,_0x5a6040,_0x4fc9c6-_0x4d0d6a._0x4f5cf4);}function _0x12048a(_0x2e7ba1,_0x534ea0,_0x23ef13,_0x2a5b64){return _0x42babe(_0x23ef13- -0x375,_0x534ea0-_0x4319a8._0x3d92b1,_0x2e7ba1,_0x2a5b64-0x16);}return _0xdd25a1[_0x12048a(-_0x26a4fd._0x489c15,-_0x26a4fd._0x505062,0x29,-_0x26a4fd._0x50eadc)](formatSingleHover)[_0x1007f7(_0x26a4fd._0x5386c3,_0x26a4fd._0x5af1e1,_0x26a4fd._0x137138,_0x26a4fd._0xee8f28)](_0x1007f7(_0x26a4fd._0x31be85,_0x26a4fd._0x3269b1,_0x26a4fd._0x59bcc5,0x6ee));}function locationPath(_0x193357){if(!_0x193357['startsWith']('file://'))return _0x193357;return _0x48b8e2(_0x193357);}function formatLocations(_0x3720ff){const _0x2eb024={_0x4f3597:0xb0,_0x581340:0x202,_0x2c941b:0x285,_0x269f60:0x2cf,_0x474bae:0x514,_0x4a3f96:0x417},_0x327904={_0x4d8d5d:0x15f,_0x2efb97:0x247,_0x1d2973:0x412,_0x2b6c7c:0x3a0,_0xa2491a:0x5e1,_0x198492:0x36d,_0xf4d3eb:0x2be,_0x529f4a:0x20d,_0x5abcde:0x58e},_0x231446={_0xb9241:0x60,_0x325111:0xe2},_0x61c7ec={_0xbf8f90:0x11c,_0x5b55c3:0x104},_0x3c4c21={_0x258735:0x6f,_0x1a2a6d:0x128};function _0x1ad784(_0x13bfe7,_0x30b8f8,_0x30cec2,_0x2aedfb){return _0x41c53b(_0x13bfe7-_0x3c4c21._0x258735,_0x2aedfb- -0x281,_0x30cec2,_0x2aedfb-_0x3c4c21._0x1a2a6d);}if(_0x3720ff[_0x1ad784(0x29d,0x37b,_0x2eb024._0x4f3597,_0x2eb024._0x581340)]===0x0)return'No\x20locations\x20found';function _0x7be657(_0xebb89b,_0xac81ab,_0x11f16b,_0x1f3422){return _0x42babe(_0x1f3422-_0x61c7ec._0xbf8f90,_0xac81ab-0xe2,_0xac81ab,_0x1f3422-_0x61c7ec._0x5b55c3);}return _0x3720ff[_0x1ad784(_0x2eb024._0x2c941b,0x492,_0x2eb024._0x269f60,0x38d)](_0x19eac7=>{const _0x3686b3=_0x19eac7[_0x105798(_0x327904._0x4d8d5d,_0x327904._0x2efb97,0xeb,0x1e2)][_0x105798(_0x327904._0x1d2973,0x4ac,_0x327904._0x2b6c7c,_0x327904._0xa2491a)];function _0x105798(_0x31feb0,_0x1320ac,_0x5d49f7,_0xbe75d1){return _0x1ad784(_0x31feb0-0x18f,_0x1320ac-_0x231446._0xb9241,_0x31feb0,_0x1320ac-_0x231446._0x325111);}function _0x561c06(_0x29a1bd,_0x6e5cd5,_0x4f63ee,_0x4d38ac){return _0x1ad784(_0x29a1bd-0xd1,_0x6e5cd5-0x5,_0x29a1bd,_0x6e5cd5-0x77);}return locationPath(_0x19eac7[_0x561c06(0x48f,_0x327904._0x198492,_0x327904._0xf4d3eb,_0x327904._0x529f4a)])+':'+(_0x3686b3[_0x105798(_0x327904._0x5abcde,0x4aa,0x37d,0x48e)]+0x1)+':'+(_0x3686b3['character']+0x1);})[_0x7be657(0x578,0x383,_0x2eb024._0x474bae,_0x2eb024._0x4a3f96)]('\x0a');}function isDocumentSymbol(_0x30d8e7){const _0x33809a={_0x14238c:0x177,_0x424dbc:0x1cd,_0x1a36da:0x2c5,_0x114411:0x25e,_0x316fc6:0x384},_0x422a3f={_0x2069df:0xe4,_0x6cb083:0xa7},_0x27df6e={_0x4828fd:0x1e6,_0x5e6e97:0x17};function _0x485109(_0x44cd4e,_0x5bb72e,_0x5ccfc8,_0xca9cfc){return _0x42babe(_0x5ccfc8-0x387,_0x5bb72e-_0x27df6e._0x4828fd,_0x44cd4e,_0xca9cfc-_0x27df6e._0x5e6e97);}function _0xc2b13f(_0xe2016,_0x7ec373,_0x15f1ca,_0xe06a8e){return _0x41c53b(_0xe2016-_0x422a3f._0x2069df,_0x7ec373- -0x2a7,_0xe2016,_0xe06a8e-_0x422a3f._0x6cb083);}return _0xc2b13f(_0x33809a._0x14238c,0x13f,0x66,_0x33809a._0x424dbc)in _0x30d8e7&&_0xc2b13f(0x228,_0x33809a._0x1a36da,_0x33809a._0x114411,_0x33809a._0x316fc6)in _0x30d8e7;}function formatSymbols(_0x45c93f){const _0x730fd7={_0x4a7498:0x350,_0x51f0b2:0x4ba,_0xf5389:0x1ff,_0x491332:0x3fa,_0x2c3434:0x3d7,_0x1be19d:0x53b,_0x20a36a:0x249,_0x4c1609:0x155},_0x143832={_0x45c3bc:0x64c,_0x2f02c0:0x60c,_0x3c389b:0x32d,_0x40f96c:0x40f,_0x3f4954:0x2b2,_0x418a77:0x3e2,_0x19571f:0x398,_0x47807b:0x4f0,_0x21420b:0x508,_0x4e5410:0x4f1,_0x5e8034:0x3a5,_0x21c44f:0x295,_0x4806de:0x3b5,_0x5a2ad4:0x617,_0x21bf9a:0x456,_0xac4165:0x573,_0x4f75f6:0x607,_0xde6eb0:0x51f,_0x3f7d4f:0x25e,_0x4b5525:0x4f7,_0x459ada:0x645,_0x25befc:0x2f2,_0x2a7f0a:0x479,_0x569246:0x76a,_0x288d7f:0x377},_0x97ea8f={_0x265ccc:0x136},_0x573ae4={_0x2ba45c:0xa3,_0x3e192a:0x322,_0x3fb367:0x9d},_0x1cc6b6={_0x2d2059:0x133};function _0x1294db(_0x2ea5d8,_0x7768d,_0x487069,_0x16969c){return _0x41c53b(_0x2ea5d8-0x1d8,_0x2ea5d8- -_0x1cc6b6._0x2d2059,_0x16969c,_0x16969c-0x11d);}if(_0x45c93f[_0x1294db(_0x730fd7._0x4a7498,_0x730fd7._0x51f0b2,_0x730fd7._0xf5389,0x3d3)]===0x0)return _0x1294db(_0x730fd7._0x491332,_0x730fd7._0x2c3434,0x4a9,0x41b);function _0x402070(_0x500c2c,_0x380815,_0x738e29,_0x41154e){return _0x41c53b(_0x500c2c-_0x573ae4._0x2ba45c,_0x500c2c- -_0x573ae4._0x3e192a,_0x41154e,_0x41154e-_0x573ae4._0x3fb367);}return _0x45c93f[_0x1294db(0x4db,_0x730fd7._0x1be19d,0x462,0x519)](_0x5775d3=>{const _0x2a4a60={_0x12ae50:0x31e,_0x37ab31:0xb9};function _0x51f646(_0x11eba9,_0x19588f,_0x58fc4a,_0x4b446e){return _0x402070(_0x58fc4a-_0x2a4a60._0x12ae50,_0x19588f-_0x2a4a60._0x37ab31,_0x58fc4a-0x1c9,_0x11eba9);}if(isDocumentSymbol(_0x5775d3))return _0x5775d3[_0x190b7c(0x1f6,0x22d,0x3ad,0x13a)]+'\x20('+_0x5775d3[_0x51f646(0x5a6,_0x143832._0x45c3bc,0x506,_0x143832._0x2f02c0)]+_0x190b7c(_0x143832._0x3c389b,_0x143832._0x40f96c,0x2b6,0x2f6)+(_0x5775d3[_0x51f646(_0x143832._0x3f4954,0x506,_0x143832._0x418a77,0x4f7)][_0x190b7c(0x3cc,0x3e2,0x3a4,0x2b2)][_0x190b7c(0x4fc,0x3e0,_0x143832._0x19571f,_0x143832._0x47807b)]+0x1)+':'+(_0x5775d3['range'][_0x190b7c(_0x143832._0x21420b,0x3e2,_0x143832._0x4e5410,0x270)][_0x190b7c(_0x143832._0x5e8034,0x3ae,_0x143832._0x21c44f,_0x143832._0x4806de)]+0x1)+']';function _0x190b7c(_0x553806,_0x2c711a,_0x2330d0,_0x2b22d3){return _0x1294db(_0x2c711a- -_0x97ea8f._0x265ccc,_0x2c711a-0x119,_0x2330d0-0x1ad,_0x553806);}return _0x5775d3['name']+'\x20('+_0x5775d3[_0x190b7c(0x39c,0x2a1,0x3fe,0x181)]+')\x20'+locationPath(_0x5775d3['location'][_0x51f646(_0x143832._0x5a2ad4,_0x143832._0x21bf9a,_0x143832._0xac4165,_0x143832._0x4f75f6)])+':'+(_0x5775d3[_0x51f646(0x5f9,0x6c8,0x5aa,0x58e)]['range'][_0x190b7c(_0x143832._0xde6eb0,0x3e2,_0x143832._0x3f7d4f,_0x143832._0x4b5525)][_0x51f646(0x595,0x6f9,_0x143832._0x459ada,0x6bd)]+0x1)+':'+(_0x5775d3[_0x190b7c(0x1e9,0x345,_0x143832._0x25befc,_0x143832._0x2a7f0a)]['range'][_0x51f646(_0x143832._0x569246,0x715,0x647,0x75f)][_0x190b7c(_0x143832._0x288d7f,0x3ae,0x511,0x507)]+0x1);})[_0x402070(_0x730fd7._0x20a36a,0x325,0x321,_0x730fd7._0x4c1609)]('\x0a');}function formatDiagnostics(_0x32fa49){const _0x2dc465={_0x41f12a:0x576,_0x15cb92:0x544},_0x19e6b7={_0xd65da4:0x6df,_0x4c509f:0x93f,_0x1519e4:0x614,_0x59ae0d:0x737,_0x4d0a38:0x6e0,_0x3f7fbd:0x456,_0x48e59f:0x4fc,_0x2d6236:0x3df,_0x4569a7:0x563,_0x25ac37:0x251,_0x56be19:0x2da},_0xd4c183={_0x59ec4d:0x1d},_0x39b3f6={_0x5bf08b:0x362,_0x4e1151:0x1ee};if(_0x32fa49['length']===0x0)return'No\x20diagnostics';function _0x3809e3(_0x498cfb,_0x219bb9,_0x416c42,_0x5b99e5){return _0x42babe(_0x416c42-_0x39b3f6._0x5bf08b,_0x219bb9-0xcb,_0x5b99e5,_0x5b99e5-_0x39b3f6._0x4e1151);}return _0x32fa49['map'](_0x4ff213=>{const _0x5da84e={_0x367460:0x3af};function _0x5053ef(_0x1ae5d0,_0x3f62db,_0x33114a,_0x1986ac){return _0x4ff3(_0x1ae5d0-_0xd4c183._0x59ec4d,_0x1986ac);}const _0x59c54b=_0x4ff213['range'][_0x43fa37(_0x19e6b7._0xd65da4,0x7ea,0x710,_0x19e6b7._0x4c509f)];function _0x43fa37(_0x470d59,_0xb5dff,_0x1bdedd,_0x2fdc9f){return _0x4ff3(_0xb5dff-_0x5da84e._0x367460,_0x1bdedd);}return severityName(_0x4ff213[_0x43fa37(_0x19e6b7._0x1519e4,_0x19e6b7._0x59ae0d,_0x19e6b7._0x4d0a38,0x67a)])+'\x20['+(_0x59c54b[_0x5053ef(_0x19e6b7._0x3f7fbd,0x5da,_0x19e6b7._0x48e59f,_0x19e6b7._0x2d6236)]+0x1)+':'+(_0x59c54b[_0x5053ef(0x424,0x3c9,_0x19e6b7._0x4569a7,0x5a9)]+0x1)+']\x20'+_0x4ff213[_0x5053ef(_0x19e6b7._0x25ac37,0x18e,0x1c4,_0x19e6b7._0x56be19)];})[_0x3809e3(0x6e9,_0x2dc465._0x41f12a,0x65d,_0x2dc465._0x15cb92)]('\x0a');}function formatIncomingCalls(_0x422954){const _0x4f8bd5={_0xd0616a:0x76,_0x3784c0:0x28a,_0x2f063a:0x120,_0x29aee9:0x248,_0x531f9a:0x144,_0x583b26:0x6d,_0x5378cc:0x7d,_0x21c297:0x1b5},_0x3c71af={_0x2db5b4:0x7a,_0x347bdc:0xd1,_0x403ac8:0xdc},_0x37b76e={_0xc16834:0x27e,_0x20e373:0x1b1};function _0x58d178(_0x3cb336,_0x2ca496,_0x3a74eb,_0x54e7fb){return _0x42babe(_0x3a74eb- -_0x37b76e._0xc16834,_0x2ca496-0xc5,_0x54e7fb,_0x54e7fb-_0x37b76e._0x20e373);}function _0x135764(_0x32a42a,_0x185cf2,_0x31a03d,_0x1af58b){return _0x41c53b(_0x32a42a-_0x3c71af._0x2db5b4,_0x185cf2-_0x3c71af._0x347bdc,_0x31a03d,_0x1af58b-_0x3c71af._0x403ac8);}if(_0x422954['length']===0x0)return _0x58d178(-0x72,0xcb,-_0x4f8bd5._0xd0616a,0x111);return _0x422954[_0x58d178(_0x4f8bd5._0x3784c0,-0x4,_0x4f8bd5._0x2f063a,_0x4f8bd5._0x29aee9)](_0x13798f=>_0x13798f['from']['name'])[_0x58d178(_0x4f8bd5._0x531f9a,-_0x4f8bd5._0x583b26,_0x4f8bd5._0x5378cc,_0x4f8bd5._0x21c297)]('\x0a');}function formatOutgoingCalls(_0x14ad10){const _0x5f4d3d={_0x3b0fa9:0x5a6,_0x292537:0x4a7,_0x4c3178:0x5a0,_0x5bf4eb:0x17a},_0x2f5d98={_0x5bd7f6:0x393,_0x5d2a17:0x8d},_0xe4faf2={_0x586f97:0x183,_0x5acb97:0x33};if(_0x14ad10[_0x152544(_0x5f4d3d._0x3b0fa9,0x6f8,_0x5f4d3d._0x292537,_0x5f4d3d._0x4c3178)]===0x0)return'No\x20call\x20hierarchy\x20results';function _0x1586a4(_0xff3ab8,_0x209220,_0x3d5a0b,_0x279aa9){return _0x41c53b(_0xff3ab8-_0xe4faf2._0x586f97,_0x3d5a0b- -0x273,_0xff3ab8,_0x279aa9-_0xe4faf2._0x5acb97);}function _0x152544(_0x227916,_0x58f962,_0x1b1009,_0x29651b){return _0x42babe(_0x227916-_0x2f5d98._0x5bd7f6,_0x58f962-0x1d,_0x58f962,_0x29651b-_0x2f5d98._0x5d2a17);}return _0x14ad10['map'](_0x171fdc=>_0x171fdc['to'][_0x152544(0x5b9,0x5ec,0x5e2,0x5fb)])[_0x1586a4(0x2af,_0x5f4d3d._0x5bf4eb,0x2f8,0x30a)]('\x0a');}function toStructured(_0x502b7c){const _0xe3b379={_0x9ecbdd:0x6b9,_0x45f377:0x607,_0x2d35cf:0xc6},_0xc90c55={_0x4a3ab9:0x37f},_0x5940b7={_0x5b6750:0x14a,_0x485f6b:0x32};function _0x3717e0(_0x125137,_0x523727,_0x410194,_0x137a23){return _0x42babe(_0x137a23- -0x353,_0x523727-_0x5940b7._0x5b6750,_0x410194,_0x137a23-_0x5940b7._0x485f6b);}function _0x1e8ba8(_0x3b538e,_0x5ec3c9,_0x14da18,_0xba2a5f){return _0x42babe(_0x5ec3c9-_0xc90c55._0x4a3ab9,_0x5ec3c9-0x1d1,_0x14da18,_0xba2a5f-0xca);}return JSON[_0x1e8ba8(0x5f7,_0xe3b379._0x9ecbdd,_0xe3b379._0x45f377,0x7fd)](JSON[_0x3717e0(0x151,0x2d,-_0xe3b379._0x2d35cf,0x58)](_0x502b7c));}async function assertFile(_0x5a12fc){const _0x2b236b={_0x4ae49b:0x771},_0x2f1683={_0x5ddf00:0xca,_0x5be6b4:0x73};function _0x14acc5(_0xbee797,_0x1be1b6,_0x21c6f1,_0x397b1c){return _0x41c53b(_0xbee797-_0x2f1683._0x5ddf00,_0x397b1c-0x8c,_0xbee797,_0x397b1c-_0x2f1683._0x5be6b4);}const _0x5157db=await _0x98d81c(_0x5a12fc);if(!_0x5157db['isFile']())throw new ToolExecutionError(_0x14acc5(0x62c,0x5de,_0x2b236b._0x4ae49b,0x669)+_0x5a12fc,{'path':_0x5a12fc});}function validatePosition(_0x1b6457,_0x4ffb72){const _0x2c63b8={_0x4f86d9:0x1ac,_0xe01ffe:0xb4,_0x484999:0x208,_0x593810:0xd1},_0x550377={_0x5e5af4:0x1d7},_0x1fbeb9={_0x3cc307:0xf9,_0x3fa080:0xa2};function _0x4a3791(_0x17a353,_0x4e0ce9,_0x422d65,_0x1d2da7){return _0x41c53b(_0x17a353-_0x1fbeb9._0x3cc307,_0x1d2da7- -0x581,_0x17a353,_0x1d2da7-_0x1fbeb9._0x3fa080);}if(!Number[_0x42b853(0xd8,0x1f9,_0x2c63b8._0x4f86d9,_0x2c63b8._0xe01ffe)](_0x1b6457)||_0x1b6457<0x1)throw new ToolExecutionError(_0x42b853(0xa0,0x1d2,-0x90,0xc3),{'line':_0x1b6457});function _0x42b853(_0x2883f9,_0x1cde90,_0x49a9c2,_0x5c23aa){return _0x42babe(_0x5c23aa- -0x321,_0x1cde90-0x185,_0x2883f9,_0x5c23aa-_0x550377._0x5e5af4);}if(!Number['isInteger'](_0x4ffb72)||_0x4ffb72<0x1)throw new ToolExecutionError(_0x42b853(-0x125,-0x153,-_0x2c63b8._0x484999,-_0x2c63b8._0x593810),{'character':_0x4ffb72});}function createLspTool(_0x178ce2={}){const _0x1f3734={_0x2fe7c7:0xe4,_0x532d32:0x56,_0x3129e7:0x13c,_0x373c6a:0xba,_0x323758:0x220,_0x5979d8:0x59a,_0x2def7b:0x3f0,_0x8a45c1:0x7e5,_0x10dae5:0x68b,_0x4dc98a:0x4e9,_0x2d7e4f:0x6fe,_0x46e658:0x9,_0x36d954:0x156,_0x1b872:0x16b,_0x295e56:0x6f9,_0x1228f9:0x815,_0x30ff66:0x56f,_0x196e2d:0x55a,_0x47e099:0x47,_0x348c6d:0xad,_0x1620aa:0x34,_0x23575b:0x13e,_0x46aded:0x278,_0x45568c:0x17,_0x5eb604:0x708,_0x4d26fa:0x620,_0x23fc6a:0x7b3,_0x10e9d3:0xed,_0x517b26:0x153,_0x23abf3:0x4b,_0x5097bf:0x7a,_0x3a101a:0x69d,_0x39e0bc:0x35,_0x1d3764:0xa0,_0x339cb2:0x11c,_0x25d15b:0x16f,_0x55c69e:0x184,_0x4be059:0x8b,_0x23ac79:0x1db,_0xf8c595:0xc9,_0x4d1240:0x1c6,_0x1fba37:0x7ef},_0x1fcafb={_0x40e935:0x1d0,_0x18b42a:0x5d,_0x260637:0x6a7,_0x19e393:0x6b9,_0x475102:0x794,_0xae41bf:0x540,_0x203e01:0x9,_0x2b9f29:0x1,_0x30ac13:0x5f5,_0x1877be:0x564,_0x22f995:0x605,_0x53a680:0x4fb,_0x5025a4:0x71c,_0x488c46:0xf9,_0x33c461:0x7ba,_0x4d5e6f:0x577,_0xe9dcc2:0x46e,_0x2edf2b:0x47a,_0x34f626:0x382,_0x198e16:0x672,_0x44bfaa:0x717,_0x2721b6:0x75d,_0x28e3b4:0x238,_0x555d43:0x368,_0x57f071:0x3c,_0x3840d9:0x124,_0x181e33:0x662,_0x15dc7d:0x642,_0x33bd08:0x5e6,_0x36dbc0:0x4c1,_0x3ed36c:0x41,_0x28a001:0x156,_0x580507:0x681,_0x334b10:0x6e2,_0x294c2a:0x71b,_0xe5efab:0x147,_0x594be7:0x2c8,_0x576faa:0x194,_0x41faf4:0x265,_0x2b97c5:0x195,_0x538495:0x1d6,_0x2cc2c3:0x58,_0x54d0cb:0x1b7,_0x459c88:0x44a,_0x3838a5:0x4b9,_0x2fb94e:0x588,_0x8f62b3:0x18e,_0xcfc44a:0x9e,_0x14507c:0x2ef,_0x137e7c:0x672,_0x46c0ee:0x6ec,_0x2f3ff6:0x4eb,_0x5db6a6:0x159,_0x2ebf08:0x99,_0x3a4f75:0x77c,_0xde3c01:0x5f1,_0x134b1b:0x183,_0x47e561:0xa2,_0x13a66d:0x98,_0x353b8d:0x554,_0xeb79cd:0x6f1,_0x1e6084:0x843,_0xa143e3:0x770,_0x5a08e1:0x6d4,_0x259884:0x841},_0x555f9f={_0x4d1b8a:0xfd,_0x4611cb:0x5be,_0x22b8ab:0x1d1},_0x598f6f=_0x14bef9[_0xd253a6(-_0x1f3734._0x2fe7c7,-_0x1f3734._0x532d32,-_0x1f3734._0x3129e7,0x83)](_0x178ce2[_0xd253a6(-_0x1f3734._0x373c6a,-0x1c5,-0x1fb,-_0x1f3734._0x323758)]??process[_0x2c5ae5(_0x1f3734._0x5979d8,0x564,_0x1f3734._0x2def7b,0x505)]());function _0xd253a6(_0x316116,_0x1faf08,_0x2b5c7a,_0x57f599){return _0x41c53b(_0x316116-_0x555f9f._0x4d1b8a,_0x316116- -_0x555f9f._0x4611cb,_0x1faf08,_0x57f599-_0x555f9f._0x22b8ab);}function _0x2c5ae5(_0x23eb7b,_0x4bd38e,_0x4fd364,_0x58ffbd){return _0x42babe(_0x4bd38e-0x435,_0x4bd38e-0x150,_0x23eb7b,_0x58ffbd-0x34);}const _0x37cd44=_0x178ce2[_0x2c5ae5(_0x1f3734._0x8a45c1,_0x1f3734._0x10dae5,0x59c,0x5e7)]??[],_0x495fc6=_0x178ce2[_0x2c5ae5(_0x1f3734._0x4dc98a,0x65b,_0x1f3734._0x2d7e4f,0x5c8)]??'Lsp';return defineTool({'name':_0x495fc6,'description':'Query\x20Language\x20Server\x20Protocol\x20code\x20intelligence\x20for\x20workspace\x20files:\x20definitions,\x20references,\x20hover,\x20symbols,\x20call\x20hierarchy,\x20and\x20diagnostics.','inputSchema':{'type':_0xd253a6(-_0x1f3734._0x46e658,-_0x1f3734._0x36d954,_0x1f3734._0x1b872,-0x19),'properties':{'operation':{'type':_0x2c5ae5(_0x1f3734._0x295e56,0x77f,0x901,_0x1f3734._0x1228f9),'enum':[_0x2c5ae5(_0x1f3734._0x30ff66,0x5f7,_0x1f3734._0x196e2d,0x4a6),_0xd253a6(0x61,-_0x1f3734._0x47e099,_0x1f3734._0x348c6d,_0x1f3734._0x1620aa),_0xd253a6(-_0x1f3734._0x23575b,-_0x1f3734._0x46aded,-0xc2,-0xba),_0xd253a6(-_0x1f3734._0x45568c,-0x21,-0xcf,0x11d),_0x2c5ae5(0x4f0,0x568,0x671,0x4f3),_0x2c5ae5(0x620,0x5fe,_0x1f3734._0x5eb604,_0x1f3734._0x4d26fa),_0x2c5ae5(0x81c,0x82e,_0x1f3734._0x23fc6a,0x6ae),_0xd253a6(-_0x1f3734._0x10e9d3,-_0x1f3734._0x517b26,-0x22a,-0x1be),_0xd253a6(_0x1f3734._0x23abf3,0x24,-0xa0,0x127),_0xd253a6(_0x1f3734._0x5097bf,0x2,0x66,0x2d)]},'filePath':{'type':'string'},'line':{'type':_0x2c5ae5(0x62c,0x74e,_0x1f3734._0x3a101a,0x852)},'character':{'type':_0xd253a6(-_0x1f3734._0x39e0bc,-_0x1f3734._0x1d3764,-_0x1f3734._0x339cb2,-0x15a)},'query':{'type':'string'}},'required':['operation',_0xd253a6(-_0x1f3734._0x25d15b,-0xdb,-_0x1f3734._0x55c69e,-0xc0),_0xd253a6(_0x1f3734._0x4be059,_0x1f3734._0x23ac79,-_0x1f3734._0xf8c595,_0x1f3734._0x4d1240),_0x2c5ae5(0x892,0x7dc,0x67a,_0x1f3734._0x1fba37)]},async *'execute'(_0x72c217){const _0x3943f2={_0x4dc2f2:0x9},_0x42673a={_0x461654:0x122},_0x3cbb5b=_0x178ce2[_0x57371f(_0x1fcafb._0x40e935,_0x1fcafb._0x18b42a,0xd5,-0xbd)];if(!_0x3cbb5b)throw new ToolExecutionError(_0x4a6ec4(_0x1fcafb._0x260637,_0x1fcafb._0x19e393,_0x1fcafb._0x475102,_0x1fcafb._0xae41bf));if(!_0x3cbb5b[_0x57371f(0x8a,-_0x1fcafb._0x203e01,0x53,-_0x1fcafb._0x2b9f29)]())throw new ToolExecutionError(_0x4a6ec4(_0x1fcafb._0x30ac13,_0x1fcafb._0x1877be,_0x1fcafb._0x22f995,_0x1fcafb._0x53a680));const _0x5ac01e=_0x72c217[_0x4a6ec4(_0x1fcafb._0x5025a4,0x603,0x5b8,0x658)];validatePosition(_0x72c217[_0x57371f(0x192,0x82,_0x1fcafb._0x488c46,-0x54)],_0x72c217[_0x4a6ec4(0x844,0x6e2,_0x1fcafb._0x33c461,0x852)]);if(_0x5ac01e===_0x4a6ec4(_0x1fcafb._0x4d5e6f,_0x1fcafb._0xe9dcc2,_0x1fcafb._0x2edf2b,_0x1fcafb._0x34f626)){if(!_0x72c217['query']?.[_0x4a6ec4(0x6f8,0x656,_0x1fcafb._0x198e16,_0x1fcafb._0x44bfaa)]())throw new ToolExecutionError(_0x4a6ec4(0x6f4,0x6e7,_0x1fcafb._0x2721b6,0x70d));const _0x35f8d8=await _0x3cbb5b[_0x57371f(-0x217,-0x224,-_0x1fcafb._0x28e3b4,-_0x1fcafb._0x555d43)](_0x72c217['query'][_0x57371f(0xfd,-_0x1fcafb._0x57f071,-0x10a,_0x1fcafb._0x3840d9)]());return yield createToolOutput(formatSymbols(_0x35f8d8),{'operation':_0x5ac01e,'query':_0x72c217[_0x4a6ec4(0x4dc,_0x1fcafb._0x181e33,_0x1fcafb._0x15dc7d,0x6c7)],'symbols':_0x35f8d8}),void 0x0;}function _0x4a6ec4(_0x67100e,_0x211150,_0x34f2ec,_0x412196){return _0xd253a6(_0x211150-0x689,_0x412196,_0x34f2ec-_0x42673a._0x461654,_0x412196-0xf3);}const _0x17c51b=resolveAllowedPath(_0x598f6f,_0x37cd44,_0x72c217['filePath']);await assertFile(_0x17c51b);function _0x57371f(_0x58910e,_0xa22bab,_0x5c840e,_0x25c9bd){return _0xd253a6(_0xa22bab- -_0x3943f2._0x4dc2f2,_0x58910e,_0x5c840e-0x116,_0x25c9bd-0x16b);}if(!await _0x3cbb5b['hasClients'](_0x17c51b))throw new ToolExecutionError(_0x57371f(-0x15d,-0x7d,-0x120,-0xa0)+_0x72c217['filePath'],{'filePath':_0x72c217[_0x4a6ec4(0x60a,0x51a,_0x1fcafb._0x33bd08,_0x1fcafb._0x36dbc0)]});await _0x3cbb5b['touchFile'](_0x17c51b,!![]);const _0x4ecf92={'file':_0x17c51b,'line':_0x72c217[_0x57371f(-_0x1fcafb._0x3ed36c,0x82,-0xc7,_0x1fcafb._0x28a001)]-0x1,'character':_0x72c217[_0x4a6ec4(_0x1fcafb._0x580507,_0x1fcafb._0x334b10,_0x1fcafb._0x294c2a,0x855)]-0x1};switch(_0x5ac01e){case _0x57371f(-0x293,-_0x1fcafb._0xe5efab,-_0x1fcafb._0x594be7,-0xa3):{const _0x4e3675=await _0x3cbb5b['hover'](_0x4ecf92);return yield createToolOutput(formatHover(_0x4e3675),{'operation':_0x5ac01e,'filePath':_0x17c51b,'hover':_0x4e3675}),void 0x0;}case'diagnostics':{const _0x44326d=await _0x3cbb5b[_0x57371f(-0x9d,-_0x1fcafb._0x576faa,-_0x1fcafb._0x41faf4,-0xd4)](_0x17c51b);return yield createToolOutput(formatDiagnostics(_0x44326d),{'operation':_0x5ac01e,'filePath':_0x17c51b,'diagnostics':_0x44326d}),void 0x0;}case _0x57371f(-0x132,-_0x1fcafb._0x2b97c5,-_0x1fcafb._0x538495,-0x2e8):{const _0x13f6f2=await _0x3cbb5b['definition'](_0x4ecf92);return yield createToolOutput(formatLocations(_0x13f6f2),{'operation':_0x5ac01e,'filePath':_0x17c51b,'locations':_0x13f6f2}),void 0x0;}case _0x57371f(0x9f,_0x1fcafb._0x2cc2c3,-0x8e,_0x1fcafb._0x54d0cb):{const _0x2887bc=await _0x3cbb5b[_0x4a6ec4(0x37c,_0x1fcafb._0x459c88,_0x1fcafb._0x3838a5,_0x1fcafb._0x2fb94e)](_0x4ecf92);return yield createToolOutput(formatLocations(_0x2887bc),{'operation':_0x5ac01e,'filePath':_0x17c51b,'locations':_0x2887bc}),void 0x0;}case _0x57371f(-0x86,-_0x1fcafb._0x8f62b3,-_0x1fcafb._0xcfc44a,-_0x1fcafb._0x14507c):{const _0x346cb0=await _0x3cbb5b['implementation'](_0x4ecf92);return yield createToolOutput(formatLocations(_0x346cb0),{'operation':_0x5ac01e,'filePath':_0x17c51b,'locations':_0x346cb0}),void 0x0;}case _0x4a6ec4(0x4f5,_0x1fcafb._0x137e7c,_0x1fcafb._0x46c0ee,_0x1fcafb._0x2f3ff6):{const _0x4963d6=await _0x3cbb5b[_0x57371f(_0x1fcafb._0x5db6a6,-0x20,_0x1fcafb._0x2ebf08,-0x7)](_0x17c51b);return yield createToolOutput(formatSymbols(_0x4963d6),{'operation':_0x5ac01e,'filePath':_0x17c51b,'symbols':_0x4963d6}),void 0x0;}case _0x4a6ec4(_0x1fcafb._0x3a4f75,0x734,0x7a7,_0x1fcafb._0xde3c01):{const _0x41b605=await _0x3cbb5b[_0x57371f(_0x1fcafb._0x134b1b,_0x1fcafb._0x47e561,-_0x1fcafb._0x13a66d,0x12f)](_0x4ecf92);return yield createToolOutput(formatSymbols(_0x41b605),{'operation':_0x5ac01e,'filePath':_0x17c51b,'symbols':toStructured(_0x41b605)}),void 0x0;}case _0x4a6ec4(_0x1fcafb._0x353b8d,0x59c,0x5ce,0x5dd):{const _0x4f4ae1=await _0x3cbb5b[_0x57371f(-0x15b,-0xf6,-0x274,-0x101)](_0x4ecf92);return yield createToolOutput(formatIncomingCalls(_0x4f4ae1),{'operation':_0x5ac01e,'filePath':_0x17c51b,'calls':toStructured(_0x4f4ae1)}),void 0x0;}case _0x4a6ec4(0x711,0x6d4,_0x1fcafb._0xeb79cd,_0x1fcafb._0x1e6084):{const _0x283d64=await _0x3cbb5b[_0x4a6ec4(_0x1fcafb._0xa143e3,_0x1fcafb._0x5a08e1,_0x1fcafb._0x259884,0x643)](_0x4ecf92);return yield createToolOutput(formatOutgoingCalls(_0x283d64),{'operation':_0x5ac01e,'filePath':_0x17c51b,'calls':toStructured(_0x283d64)}),void 0x0;}}}});}import{randomUUID as _0xe9f2b4}from'crypto';import{mkdir as _0x1e4f1a,readFile as _0x20c0eb,writeFile as _0x2f1efd}from'fs/promises';import{join as _0x4cb2da}from'path';function sanitizeStorageKey(_0x2f5994){const _0x3312c8={_0x2e858e:0x34,_0x41ec10:0x1bf,_0x33b685:0x77,_0x520ad0:0x83},_0x4c5c6c={_0x37854a:0x319,_0x2bd5cf:0x117},_0x5019f5={_0x26e3db:0x14a};function _0x51f634(_0x5c2a33,_0x23aca1,_0x1718e9,_0x49c65c){return _0x41c53b(_0x5c2a33-0x10f,_0x5c2a33- -0x474,_0x23aca1,_0x49c65c-_0x5019f5._0x26e3db);}function _0x83f42b(_0x368beb,_0x2dd439,_0x48995f,_0x27da93){return _0x41c53b(_0x368beb-0xe1,_0x2dd439- -_0x4c5c6c._0x37854a,_0x27da93,_0x27da93-_0x4c5c6c._0x2bd5cf);}return _0x2f5994[_0x83f42b(_0x3312c8._0x2e858e,0xe4,0x23c,_0x3312c8._0x41ec10)](/[^a-zA-Z0-9_]+/g,'_')[_0x51f634(-_0x3312c8._0x33b685,0xbf,0x101,_0x3312c8._0x520ad0)](/^_+|_+$/g,'')||'server';}function storagePath(_0x3e7095){const _0x31e977={_0x241305:0x15e,_0x353a7a:0xd7,_0x133718:0x1ff,_0x2b837c:0xd0,_0x24c07d:0xaf,_0x2c677d:0x2f,_0x3c4f23:0x13e,_0x34af8c:0x1fc,_0x4eba91:0x198,_0x1041d8:0x364,_0x3b7c90:0x34a,_0x46479d:0x5bf,_0x3bcb97:0x489},_0x4cd18c={_0x4371a5:0x4d7,_0x125c89:0x130},_0x3cc057={_0x2936e4:0x119};function _0xafb9a6(_0xdad24e,_0x547877,_0x5434c6,_0x3764b3){return _0x41c53b(_0xdad24e-0x1a,_0x3764b3-_0x3cc057._0x2936e4,_0x547877,_0x3764b3-0x1aa);}function _0x1958cb(_0x259e24,_0x779117,_0x429705,_0x44c1fd){return _0x41c53b(_0x259e24-0x1f0,_0x429705- -_0x4cd18c._0x4371a5,_0x44c1fd,_0x44c1fd-_0x4cd18c._0x125c89);}const _0x40e9c9=sanitizeStorageKey(_0x3e7095['config'][_0x1958cb(-0x1,-_0x31e977._0x241305,-_0x31e977._0x353a7a,-_0x31e977._0x133718)]?.[_0x1958cb(-_0x31e977._0x2b837c,-_0x31e977._0x24c07d,-0x16b,-0x282)]??_0x3e7095[_0x1958cb(-0x1f1,-_0x31e977._0x2c677d,-_0x31e977._0x3c4f23,-0xf7)]);return _0x4cb2da(_0x3e7095[_0x1958cb(0xfe,_0x31e977._0x34af8c,_0x31e977._0x4eba91,0xd6)],_0x40e9c9+_0xafb9a6(_0x31e977._0x1041d8,_0x31e977._0x3b7c90,_0x31e977._0x46479d,_0x31e977._0x3bcb97));}async function readStore(_0x356ac0){const _0xbd2283={_0x5e566d:0x39d,_0x123467:0x143,_0x5e61cd:0x295,_0x242be4:0x229,_0x11a19c:0x1a3},_0x3474d7={_0x5eeab5:0xa,_0x2de62d:0x17a,_0x51ba38:0x52},_0x4613a6={_0x400764:0x1d1,_0x4e9091:0x35};function _0x3508a3(_0xbf9209,_0x14fee6,_0x3d4e95,_0x5077e7){return _0x41c53b(_0xbf9209-_0x4613a6._0x400764,_0x3d4e95- -0x31e,_0x5077e7,_0x5077e7-_0x4613a6._0x4e9091);}function _0x3ed361(_0x55729d,_0x279cf8,_0x44b87c,_0x4d906c){return _0x42babe(_0x44b87c- -_0x3474d7._0x5eeab5,_0x279cf8-_0x3474d7._0x2de62d,_0x279cf8,_0x4d906c-_0x3474d7._0x51ba38);}try{return JSON[_0x3508a3(0x38c,0x3e9,0x28c,0x1d9)](await _0x20c0eb(_0x356ac0,'utf8'));}catch(_0x5e86e7){if(_0x5e86e7 instanceof Error&&'code'in _0x5e86e7&&_0x5e86e7[_0x3508a3(_0xbd2283._0x5e566d,_0xbd2283._0x123467,_0xbd2283._0x5e61cd,0x2ed)]===_0x3508a3(0x2b2,0xc0,_0xbd2283._0x242be4,_0xbd2283._0x11a19c))return{};throw _0x5e86e7;}}async function writeStore(_0x14dc58,_0x5335ce){const _0x13e4ba={_0x48ecb9:0x48f,_0x33ab06:0x615},_0x29dc07={_0x2d6af2:0xe4,_0x1d1563:0x17f};function _0x4db4e2(_0x533afc,_0x30a30b,_0x43d17a,_0x5266de){return _0x42babe(_0x533afc-_0x29dc07._0x2d6af2,_0x30a30b-_0x29dc07._0x1d1563,_0x43d17a,_0x5266de-0x14c);}await _0x1e4f1a(_0x4cb2da(_0x14dc58,'..'),{'recursive':!![]}),await _0x2f1efd(_0x14dc58,JSON[_0x4db4e2(_0x13e4ba._0x48ecb9,0x355,0x443,_0x13e4ba._0x33ab06)](_0x5335ce,null,0x2),'utf8');}async function updateStore(_0x1ec896,_0x475000){const _0x49a6ba=await readStore(_0x1ec896);_0x475000(_0x49a6ba),await writeStore(_0x1ec896,_0x49a6ba);}function createMcpOAuthProvider(_0x3edbdf){const _0x57b15b={_0x43a0d7:0x168,_0x1814ed:0x12b,_0x3fd130:0x1d,_0x5ce57a:0x141,_0xb3e781:0x1c4,_0x22e087:0xed,_0x210d99:0x329,_0x2250ca:0x3e3,_0x9b3210:0x39b,_0x4b323e:0x2ca,_0x59c161:0x112,_0x203b95:0x220,_0x2846af:0x40,_0x5588fb:0x179,_0x4dc127:0x1c6,_0x41c39d:0x551},_0x4814fa={_0x28469f:0x42a,_0x306060:0x24f},_0x3e8712={_0x567b64:0x48,_0xcaa3cc:0x199,_0x3c4b99:0xc9,_0x31bb23:0x132,_0xe07352:0xd1,_0xfabf70:0x34,_0x51e6c6:0xfb,_0x2cd2dd:0x69,_0x18f388:0x100,_0x4eea5c:0xd,_0x4ba9fc:0x8a,_0x490503:0x48,_0x43b680:0x124,_0x29c962:0x33,_0x31cca6:0xc},_0x5530b5={_0x116058:0x3da,_0x3fc2bb:0x31c},_0x11a8da={_0x203ba0:0x2e6,_0x386145:0x36a,_0x14ba1d:0x2f7},_0x52464e={_0x16baaf:0x4f2},_0x2e57d5={_0x2bd211:0x451,_0x4134a0:0x15d,_0x295f40:0x193},_0x2c68ed={_0x327246:0x171,_0x2c62e3:0x26a,_0x463446:0x12e},_0x5f2394={_0x58e82a:0x692,_0x375030:0x56d},_0x34b1a0={_0x273714:0xd9,_0x502336:0x1b4},_0x16fe99={_0x28c2a4:0x50c,_0x22b232:0x455,_0x337437:0x5a3,_0x3f7dc4:0x540},_0x471af4={_0x2fba6e:0x1b7,_0x40542f:0x1a5,_0x3da317:0xee},_0x182f96={_0x575ce6:0xb5,_0x458494:0xcd,_0x3b6353:0xa6,_0x44ec78:0x41},_0x47221d={_0x3c7dd1:0x17f,_0x583a3b:0x1b,_0x1c44b9:0x14d},_0x354aee={_0x516018:0x440},_0x5954d6=storagePath(_0x3edbdf);function _0x3c7424(_0x49a3ba,_0x4404ab,_0x46aa94,_0x10ae66){return _0x41c53b(_0x49a3ba-0x3f,_0x49a3ba- -_0x354aee._0x516018,_0x4404ab,_0x10ae66-0xcf);}function _0x14c996(_0x5295d0,_0x1d1a2a,_0x1821b3,_0xcfb77e){return _0x42babe(_0x1d1a2a-_0x47221d._0x3c7dd1,_0x1d1a2a-_0x47221d._0x583a3b,_0x5295d0,_0xcfb77e-_0x47221d._0x1c44b9);}const _0x3b1241=_0x3edbdf[_0x3c7424(_0x57b15b._0x43a0d7,0x71,0x17e,0x2d1)]['oauth']?.[_0x3c7424(0xab,-0xce,0x1d5,-0x5f)]?.[_0x3c7424(_0x57b15b._0x1814ed,0xd7,0x12d,_0x57b15b._0x3fd130)]('\x20'),_0x4fbd27={'client_name':_0x3c7424(_0x57b15b._0x5ce57a,0x1fc,_0x57b15b._0xb3e781,_0x57b15b._0x22e087),'redirect_uris':[_0x3edbdf[_0x14c996(_0x57b15b._0x210d99,_0x57b15b._0x2250ca,_0x57b15b._0x9b3210,0x3aa)]],'grant_types':[_0x14c996(0x1df,_0x57b15b._0x4b323e,0x39b,0x1a3),_0x3c7424(0xe2,-0x41,0x173,_0x57b15b._0x59c161)],'response_types':[_0x3c7424(0x173,0x35,0xc6,_0x57b15b._0x203b95)],'token_endpoint_auth_method':'client_secret_post',..._0x3b1241?{'scope':_0x3b1241}:{}};return{'clientMetadataUrl':_0x3edbdf['config'][_0x3c7424(-_0x57b15b._0x2846af,-_0x57b15b._0x5588fb,-_0x57b15b._0x4dc127,-0x141)]?.[_0x14c996(0x566,0x4e2,_0x57b15b._0x41c39d,0x397)],get 'redirectUrl'(){const _0xf17937={_0x3a0af0:0x316,_0x570f3e:0xa3};function _0xb665b2(_0x3e16bd,_0x1a26ed,_0x4b08f2,_0x2f752e){return _0x14c996(_0x2f752e,_0x1a26ed- -_0xf17937._0x3a0af0,_0x4b08f2-0x1c1,_0x2f752e-_0xf17937._0x570f3e);}return _0x3edbdf[_0xb665b2(_0x182f96._0x575ce6,_0x182f96._0x458494,-_0x182f96._0x3b6353,_0x182f96._0x44ec78)];},get 'clientMetadata'(){return _0x4fbd27;},async 'state'(){const _0x172cd7={_0x489e21:0xd7,_0xbe6d25:0x154},_0x319412={_0x5600d6:0x14},_0x5b9c8d={_0x1b5854:0x1ab,_0x5c4620:0x1ed};function _0x2eb605(_0x18cf2d,_0x1c2d20,_0x17b4b6,_0x1f8f0b){return _0x14c996(_0x17b4b6,_0x18cf2d-0x220,_0x17b4b6-_0x5b9c8d._0x1b5854,_0x1f8f0b-_0x5b9c8d._0x5c4620);}function _0x24a59a(_0x3b43ba,_0x5ccbdd,_0x23ffe5,_0x163b37){return _0x3c7424(_0x3b43ba-_0x471af4._0x2fba6e,_0x5ccbdd,_0x23ffe5-_0x471af4._0x40542f,_0x163b37-_0x471af4._0x3da317);}const _0xfe1972=await readStore(_0x5954d6);if(_0xfe1972[_0x2eb605(_0x16fe99._0x28c2a4,_0x16fe99._0x22b232,0x51b,_0x16fe99._0x337437)])return _0xfe1972[_0x2eb605(0x50c,_0x16fe99._0x3f7dc4,0x55d,0x477)];const _0x595640=_0xe9f2b4();return await updateStore(_0x5954d6,_0x57e3bd=>{function _0x45b15(_0x3f7518,_0x400cb8,_0x145d84,_0x39ac6f){return _0x24a59a(_0x39ac6f- -0x262,_0x3f7518,_0x145d84-_0x319412._0x5600d6,_0x39ac6f-0x11);}_0x57e3bd[_0x45b15(-_0x172cd7._0x489e21,-0x281,-_0x172cd7._0xbe6d25,-0x10e)]=_0x595640;}),_0x595640;},async 'clientInformation'(){return(await readStore(_0x5954d6))['clientInformation'];},async 'saveClientInformation'(_0x441860){await updateStore(_0x5954d6,_0x4047ff=>{function _0x401fbe(_0x24b9b3,_0x263f99,_0x455877,_0x573e1e){return _0x4ff3(_0x263f99-0x5a,_0x24b9b3);}_0x4047ff[_0x401fbe(_0x34b1a0._0x273714,0x252,0x15c,_0x34b1a0._0x502336)]=_0x441860;});},async 'tokens'(){const _0xc7c780={_0x1980b6:0x5bb};function _0x18c7a5(_0x3a671e,_0xde9d9,_0x437a3d,_0x12f6b9){return _0x3c7424(_0x12f6b9-_0xc7c780._0x1980b6,_0xde9d9,_0x437a3d-0xdc,_0x12f6b9-0x5b);}return(await readStore(_0x5954d6))[_0x18c7a5(0x5a1,_0x5f2394._0x58e82a,_0x5f2394._0x375030,0x67d)];},async 'saveTokens'(_0x5391a7){const _0x4b00ca={_0x1df0e8:0x1a2};await updateStore(_0x5954d6,_0x3359c2=>{function _0x189b09(_0x2941ed,_0x9b3248,_0x27d4a7,_0x337f7e){return _0x4ff3(_0x27d4a7- -_0x4b00ca._0x1df0e8,_0x2941ed);}_0x3359c2[_0x189b09(_0x2c68ed._0x327246,_0x2c68ed._0x2c62e3,0x150,_0x2c68ed._0x463446)]=_0x5391a7;});},async 'redirectToAuthorization'(_0x3dd741){function _0x11c510(_0x472182,_0x1c11d1,_0x146122,_0x1048dd){return _0x3c7424(_0x1c11d1-_0x2e57d5._0x2bd211,_0x472182,_0x146122-_0x2e57d5._0x4134a0,_0x1048dd-_0x2e57d5._0x295f40);}await _0x3edbdf[_0x11c510(_0x52464e._0x16baaf,0x4ee,0x660,0x3e5)](_0x3dd741);},async 'saveCodeVerifier'(_0x574021){const _0x21a676={_0x599bef:0x1e};await updateStore(_0x5954d6,_0x4ad096=>{function _0xc52632(_0x484a62,_0x353e00,_0x108ad5,_0x5edcfd){return _0x4ff3(_0x484a62- -_0x21a676._0x599bef,_0x353e00);}_0x4ad096[_0xc52632(0x3c5,_0x11a8da._0x203ba0,_0x11a8da._0x386145,_0x11a8da._0x14ba1d)]=_0x574021;});},async 'codeVerifier'(){const _0x307ed9={_0x251cde:0x1e0,_0x32d5e2:0x152},_0x52a7de=(await readStore(_0x5954d6))[_0x28dab1(0x2ef,_0x5530b5._0x116058,_0x5530b5._0x3fc2bb,0x275)];function _0x28dab1(_0xb4e3cf,_0xbf939c,_0x45c780,_0x28103c){return _0x14c996(_0x28103c,_0xbf939c- -0x128,_0x45c780-_0x307ed9._0x251cde,_0x28103c-_0x307ed9._0x32d5e2);}if(!_0x52a7de)throw new Error('No\x20MCP\x20OAuth\x20code\x20verifier\x20saved');return _0x52a7de;},async 'invalidateCredentials'(_0x7c21b4){const _0x4d9ef8={_0x353050:0x1c0},_0x268212={_0x81092:0x2e8};await updateStore(_0x5954d6,_0x4d7f61=>{(_0x7c21b4===_0x5e925e(0x59,0x25,_0x3e8712._0x567b64,-0xc8)||_0x7c21b4==='client')&&(_0x4d7f61[_0x34b931(0x13c,0x38,-0xdb,0x67)]=void 0x0);function _0x5e925e(_0x6496b5,_0x130692,_0x485a9e,_0x2e9e43){return _0x4ff3(_0x485a9e- -_0x268212._0x81092,_0x130692);}(_0x7c21b4===_0x34b931(0x14c,0x170,_0x3e8712._0xcaa3cc,0x215)||_0x7c21b4===_0x34b931(_0x3e8712._0x3c4b99,_0x3e8712._0x31bb23,0x248,0x29c))&&(_0x4d7f61[_0x34b931(0x191,_0x3e8712._0x31bb23,0x1f9,0xb8)]=void 0x0);(_0x7c21b4==='all'||_0x7c21b4===_0x5e925e(0x1bb,0x137,0x101,0x12f))&&(_0x4d7f61[_0x5e925e(_0x3e8712._0xe07352,-_0x3e8712._0xfabf70,_0x3e8712._0x51e6c6,-_0x3e8712._0x2cd2dd)]=void 0x0,_0x4d7f61[_0x34b931(_0x3e8712._0x18f388,_0x3e8712._0x4eea5c,0x119,_0x3e8712._0x4ba9fc)]=void 0x0);function _0x34b931(_0x42b0d4,_0xa6497c,_0x164e3a,_0x48692d){return _0x4ff3(_0xa6497c- -_0x4d9ef8._0x353050,_0x164e3a);}(_0x7c21b4===_0x5e925e(-0xee,0x4d,_0x3e8712._0x490503,-_0x3e8712._0x43b680)||_0x7c21b4===_0x5e925e(_0x3e8712._0x29c962,-0x87,-0xee,-_0x3e8712._0x31cca6))&&(_0x4d7f61['discoveryState']=void 0x0);});},async 'saveDiscoveryState'(_0x3f1125){await updateStore(_0x5954d6,_0x57621e=>{const _0x41d5cd={_0x4b5743:0x15f};function _0x226c2e(_0x87efde,_0x46bf3c,_0x77988b,_0xd611f2){return _0x4ff3(_0x87efde-_0x41d5cd._0x4b5743,_0xd611f2);}_0x57621e[_0x226c2e(0x313,0x25a,_0x4814fa._0x28469f,_0x4814fa._0x306060)]=_0x3f1125;});},async 'discoveryState'(){return(await readStore(_0x5954d6))['discoveryState'];}};}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(_0x31426b,_0x1f6160){const _0x1c0ab9={_0x1e79a7:0x3f6},_0x18fa06={_0xafab85:0x303},_0x1f1269={_0x216acb:0x19b,_0x5317bf:0x73};function _0x1c7412(_0x140d46,_0x2e4c99,_0x20eb46,_0x438b57){return _0x41c53b(_0x140d46-0x1ed,_0x2e4c99- -_0x1f1269._0x216acb,_0x438b57,_0x438b57-_0x1f1269._0x5317bf);}const _0x549ce6=_0x5ba15f=>_0x5ba15f[_0x1c7412(0x185,0x262,0x389,0x287)](/[^a-zA-Z0-9_]+/g,'_')[_0x4ba250(0x85,0x109,0xfa,0x280)](/^_+|_+$/g,'');function _0x4ba250(_0x5148d8,_0x5c838b,_0x179ae6,_0x520680){return _0x41c53b(_0x5148d8-0x8a,_0x179ae6- -_0x18fa06._0xafab85,_0x5c838b,_0x520680-0xeb);}return _0x1c7412(0x33c,0x340,0x21f,_0x1c0ab9._0x1e79a7)+_0x549ce6(_0x31426b)+'_'+_0x549ce6(_0x1f6160);}function isObject(_0x346a59){const _0x14e316={_0x253639:0x17a,_0x20c54b:0x377,_0x38236d:0x29c,_0x128102:0x245,_0x35a238:0x2bb},_0x340b0b={_0x3cc416:0x92},_0xcef3f4={_0x400284:0x1a8};function _0x46bbdf(_0x5d7ec9,_0x565892,_0x2f518e,_0x4338c0){return _0x41c53b(_0x5d7ec9-0x1ef,_0x4338c0- -0xf0,_0x565892,_0x4338c0-_0xcef3f4._0x400284);}function _0x476c3b(_0x34b254,_0x21bafd,_0x2f9344,_0x5d9c02){return _0x41c53b(_0x34b254-0x27,_0x21bafd- -0x355,_0x2f9344,_0x5d9c02-_0x340b0b._0x3cc416);}return typeof _0x346a59===_0x476c3b(_0x14e316._0x253639,0x260,0x33b,_0x14e316._0x20c54b)&&_0x346a59!==null&&!Array[_0x476c3b(_0x14e316._0x38236d,0x15e,_0x14e316._0x128102,_0x14e316._0x35a238)](_0x346a59);}function toSupportedSchema(_0x173a28){const _0x506f85={_0x423ddb:0x239,_0x429bff:0x2de,_0x59358b:0x1c4,_0x2de68d:0x0,_0x5a42ff:0x10d,_0x2fda5c:0x38d,_0x115afd:0x1e9,_0x4c096a:0x41,_0x1db2f1:0x173,_0x120bac:0x11f,_0x4396a8:0xf8,_0x2cd03f:0x63,_0x2ed928:0x7d,_0x131838:0x3e,_0x10a02c:0xc9,_0xdd2670:0xab,_0x4cc913:0x99,_0x11272c:0x3db,_0x3e11b8:0x525,_0x4f5c25:0x39f,_0x1d975b:0xa8,_0x4d3e7a:0x6d,_0x4e02b4:0x17e},_0x573d47={_0x1e4685:0x1af},_0x4982fe={_0x556861:0x55,_0x5773a8:0x144,_0x42c1a0:0x1d2};if(!isObject(_0x173a28))return void 0x0;if(_0x173a28[_0x2af7e4(0x295,_0x506f85._0x423ddb,0x27a,_0x506f85._0x429bff)]===_0x27e8b5(0x22f,-0x42,0x21e,0x13e))return{'type':'string'};function _0x2af7e4(_0x92ffce,_0x5e28c9,_0x47ac30,_0x8fb592){return _0x42babe(_0x8fb592-_0x4982fe._0x556861,_0x5e28c9-_0x4982fe._0x5773a8,_0x47ac30,_0x8fb592-_0x4982fe._0x42c1a0);}if(_0x173a28['type']===_0x27e8b5(_0x506f85._0x59358b,_0x506f85._0x2de68d,0x1be,_0x506f85._0x5a42ff)||_0x173a28['type']===_0x2af7e4(0x134,0x328,_0x506f85._0x2fda5c,0x29b))return{'type':_0x27e8b5(0x259,0x202,0x232,0x10d)};if(_0x173a28[_0x27e8b5(0x119,_0x506f85._0x115afd,_0x506f85._0x4c096a,0x7d)]===_0x27e8b5(-_0x506f85._0x1db2f1,-0x1d,-0x1bd,-0xf8))return{'type':_0x27e8b5(-0x25f,-0x45,-_0x506f85._0x120bac,-_0x506f85._0x4396a8)};if(_0x173a28[_0x27e8b5(-_0x506f85._0x2cd03f,0x9e,0x3e,_0x506f85._0x2ed928)]==='array')return{'type':_0x27e8b5(-_0x506f85._0x131838,-_0x506f85._0x10a02c,0x6b,_0x506f85._0xdd2670),'items':toSupportedSchema(_0x173a28[_0x27e8b5(0x164,0x34,_0x506f85._0x4cc913,0xc7)])??{'type':_0x2af7e4(_0x506f85._0x11272c,_0x506f85._0x3e11b8,0x36f,_0x506f85._0x4f5c25)}};if(_0x173a28['type']===_0x27e8b5(_0x506f85._0x1d975b,_0x506f85._0x4d3e7a,_0x506f85._0x4e02b4,0x139))return toNuvinToolSchema(_0x173a28);function _0x27e8b5(_0x5b5d6d,_0x13de49,_0x45118c,_0x599d42){return _0x42babe(_0x599d42- -0x20c,_0x13de49-0x1b1,_0x5b5d6d,_0x599d42-_0x573d47._0x1e4685);}return void 0x0;}function toNuvinToolSchema(_0x6ed9ce){const _0x2511cd={_0x54403d:0x5ef,_0x16ef0a:0x636,_0xf775c9:0x36d,_0x38dd4f:0x3d4,_0x3971c4:0x4bd,_0x56a0b5:0x43c,_0x546e51:0x3c7,_0x2013c1:0x4db,_0x28be8e:0x1fd,_0x7f8cdc:0x1af,_0x46e4c8:0x10d,_0x3323d3:0x1bb,_0x5c792d:0x2fa,_0xb61928:0x54d,_0x1e590f:0x4ab,_0x4e9045:0x59e,_0x3b55a3:0x5dd},_0x51a1df={_0x4a80fe:0x48};if(!isObject(_0x6ed9ce)||_0x6ed9ce[_0x2c7e68(0x45a,_0x2511cd._0x54403d,0x4f8,0x521)]!==_0x2c7e68(_0x2511cd._0x16ef0a,0x494,0x63e,0x5dd))return{'type':_0x57049a(_0x2511cd._0xf775c9,0x2e6,0x20b,0x2e6),'properties':{}};const _0x1977dc={},_0x2e52da=isObject(_0x6ed9ce['properties'])?_0x6ed9ce[_0x2c7e68(0x2ef,_0x2511cd._0x38dd4f,_0x2511cd._0x3971c4,0x46f)]:{};function _0x57049a(_0x349c13,_0x3aa359,_0x1c6335,_0x4417c3){return _0x41c53b(_0x349c13-_0x51a1df._0x4a80fe,_0x4417c3- -0x2cf,_0x349c13,_0x4417c3-0x131);}for(const [_0x277c10,_0x5027f9]of Object[_0x57049a(_0x2511cd._0x56a0b5,0x33f,0x185,0x2c4)](_0x2e52da)){const _0x1e2a92=toSupportedSchema(_0x5027f9);if(_0x1e2a92)_0x1977dc[_0x277c10]=_0x1e2a92;}const _0x324cb0=Array[_0x2c7e68(0x539,_0x2511cd._0x546e51,0x65e,_0x2511cd._0x2013c1)](_0x6ed9ce[_0x57049a(_0x2511cd._0x28be8e,_0x2511cd._0x7f8cdc,0x16b,0x10d)])?_0x6ed9ce['required'][_0x57049a(_0x2511cd._0x46e4c8,_0x2511cd._0x3323d3,_0x2511cd._0x5c792d,0x26c)](_0x3a44f8=>typeof _0x3a44f8===_0x57049a(0x2ca,0x31b,0x33a,0x2eb)):void 0x0;function _0x2c7e68(_0x117e31,_0xddc136,_0x5f2778,_0x451967){return _0x41c53b(_0x117e31-0xec,_0x451967-0x28,_0x5f2778,_0x451967-0x141);}return _0x324cb0?.[_0x2c7e68(0x387,0x3aa,_0x2511cd._0xb61928,_0x2511cd._0x1e590f)]?{'type':'object','properties':_0x1977dc,'required':_0x324cb0}:{'type':_0x2c7e68(0x673,0x58d,_0x2511cd._0x4e9045,_0x2511cd._0x3b55a3),'properties':_0x1977dc};}function isJsonObject(_0x36a8ed){const _0xdb02f9={_0x8d8b0f:0x569,_0x3b5e20:0x42b,_0x25ed65:0x5d7},_0x5bdd89={_0x28bb22:0x7c,_0x52dc27:0x56},_0x11f5d8={_0x2ed57f:0x176,_0x1097a6:0x4d};function _0x5b1485(_0x1f5d63,_0xeac77,_0x3052b6,_0x7765ee){return _0x41c53b(_0x1f5d63-0x93,_0xeac77- -_0x11f5d8._0x2ed57f,_0x1f5d63,_0x7765ee-_0x11f5d8._0x1097a6);}function _0x3558d6(_0x4a21db,_0x2a47a7,_0x2baa74,_0x83e088){return _0x41c53b(_0x4a21db-_0x5bdd89._0x28bb22,_0x83e088- -0x9,_0x2a47a7,_0x83e088-_0x5bdd89._0x52dc27);}return typeof _0x36a8ed===_0x3558d6(_0xdb02f9._0x8d8b0f,0x5a7,0x651,0x5ac)&&_0x36a8ed!==null&&!Array[_0x3558d6(_0xdb02f9._0x3b5e20,_0xdb02f9._0x25ed65,0x4aa,0x4aa)](_0x36a8ed);}function formatMcpContent(_0x413668){const _0x39da0a={_0xff6c57:0x134,_0x2a3319:0xf3,_0x3e0fad:0xd,_0x329004:0xc0,_0x41310b:0x196,_0x2e07f2:0x1cd,_0x190be4:0xa8,_0x3d5dcc:0x191,_0x438f27:0x3c,_0x18b424:0xb0,_0x51e570:0x61,_0xbb92d:0xf0},_0x3c010a={_0x1b72d3:0x181,_0x3308c9:0x4bb},_0x301e24={_0x47cb8d:0x95},_0x5e593c={_0x1c2920:0x6f7,_0x549bce:0xec,_0x17fa9d:0x189,_0x54e2ba:0x5e6,_0x5afa50:0x6d8,_0x32f626:0x348,_0x46a2fe:0x222},_0x5d0e09=Array[_0x170d91(0xdf,_0x39da0a._0xff6c57,-_0x39da0a._0x2a3319,-_0x39da0a._0x3e0fad)](_0x413668[_0x57c886(_0x39da0a._0x329004,_0x39da0a._0x41310b,0x29f,_0x39da0a._0x2e07f2)])?_0x413668[_0x170d91(0x2f4,0x1b6,_0x39da0a._0x190be4,_0x39da0a._0x3d5dcc)]:[],_0x28b200=_0x5d0e09['map'](_0x2b7ec9=>{const _0x1f73f4={_0x11a269:0x173},_0x5bae5d={_0x25fa7c:0x118};if(!isObject(_0x2b7ec9))return'';function _0x5938fd(_0x5def3d,_0x8c96eb,_0x39b8c3,_0x2eefed){return _0x57c886(_0x5def3d-0x10d,_0x2eefed-0xbe,_0x39b8c3-_0x5bae5d._0x25fa7c,_0x5def3d);}if(_0x2b7ec9['type']===_0x479953(_0x5e593c._0x1c2920,0x4f1,0x5e6,0x634)&&typeof _0x2b7ec9[_0x5938fd(0x27,0x1c5,_0x5e593c._0x549bce,_0x5e593c._0x17fa9d)]==='string')return _0x2b7ec9[_0x479953(0x762,0x4ec,_0x5e593c._0x54e2ba,_0x5e593c._0x5afa50)];function _0x479953(_0x357df6,_0x3d9249,_0x31b856,_0x227434){return _0x57c886(_0x357df6-0x92,_0x31b856-0x51b,_0x31b856-_0x1f73f4._0x11a269,_0x357df6);}return JSON[_0x5938fd(_0x5e593c._0x32f626,_0x5e593c._0x46a2fe,0x2de,0x21e)](_0x2b7ec9);})['filter'](_0x53a26b=>_0x53a26b['length']>0x0)[_0x57c886(-_0x39da0a._0x438f27,_0x39da0a._0x18b424,-_0x39da0a._0x51e570,-0xb8)]('\x0a');function _0x170d91(_0x1b6303,_0x22c7ad,_0x56c401,_0x81cde0){return _0x42babe(_0x81cde0- -0x250,_0x22c7ad-_0x301e24._0x47cb8d,_0x22c7ad,_0x81cde0-0x164);}if(_0x28b200[_0x170d91(-_0x39da0a._0xbb92d,-0xeb,-0x102,-0x3d)]>0x0)return _0x28b200;function _0x57c886(_0x1bfdcb,_0x18f7fd,_0x5d1812,_0x1e4151){return _0x41c53b(_0x1bfdcb-_0x3c010a._0x1b72d3,_0x18f7fd- -_0x3c010a._0x3308c9,_0x1e4151,_0x1e4151-0x1b0);}return JSON['stringify'](_0x413668,null,0x2);}function createMcpTool(_0x3aa8e8){const _0x5ce968={_0x12819a:0x540,_0x87e739:0x41d,_0x5be2a1:0x31d,_0x8c8d8a:0x3f1,_0x3a2e39:0x525,_0x338c9a:0x606,_0x4afa7b:0x32f,_0x8e85d9:0x252,_0x36601e:0x3d8,_0x10dabd:0x38e,_0x499c8b:0x285,_0x1d9c93:0x3c9,_0x18b696:0x248,_0x3333e1:0x3bd,_0x5d6546:0x3ab,_0x2bc814:0x4d1,_0x5f0833:0x239,_0x3febf8:0x17f,_0xbbba6a:0x263,_0x532877:0x3d4,_0x5a6cb2:0x42f,_0x3382ed:0x5b3,_0x635301:0x69c,_0xac8286:0x552,_0x131eef:0x63a},_0x266738={_0xe7389b:0xf3,_0x170e45:0x43,_0x36b5f7:0x250,_0xce68fb:0x122,_0x101df8:0x238,_0xe18387:0x5a,_0x47662b:0x16a,_0x4928e4:0x1d8,_0x8453cc:0x14b,_0x573ce5:0x1fb,_0x10e0e3:0x259,_0x47726e:0x289,_0x38e678:0x20e,_0x37b8db:0x15c,_0xb58b0a:0x26f,_0x4bca24:0x2c8},_0x3953b7={_0x5002fc:0x14c},_0x11df40={_0x340174:0x3b,_0x4fb893:0x17};function _0xb43433(_0x3d64b7,_0x52609b,_0x4eb5d9,_0x9b5b04){return _0x41c53b(_0x3d64b7-_0x11df40._0x340174,_0x4eb5d9-0x3b,_0x3d64b7,_0x9b5b04-_0x11df40._0x4fb893);}const _0x112f29=createMcpToolName(_0x3aa8e8[_0xb43433(_0x5ce968._0x12819a,_0x5ce968._0x87e739,0x3d4,_0x5ce968._0x5be2a1)],_0x3aa8e8[_0xb43433(_0x5ce968._0x8c8d8a,0x446,0x50b,_0x5ce968._0x3a2e39)][_0xb43433(0x427,_0x5ce968._0x338c9a,0x4d1,0x5ae)]);function _0x1fd800(_0x3ef360,_0x245040,_0x34e5c6,_0x2d2ebe){return _0x41c53b(_0x3ef360-0x5a,_0x34e5c6- -0x2fa,_0x3ef360,_0x2d2ebe-0x78);}return defineTool({'name':_0x112f29,'description':_0x3aa8e8[_0x1fd800(0x64,_0x5ce968._0x4afa7b,0x1d6,_0x5ce968._0x8e85d9)][_0x1fd800(_0x5ce968._0x36601e,0x2a3,0x2d1,_0x5ce968._0x10dabd)]??_0xb43433(0x4ad,_0x5ce968._0x499c8b,_0x5ce968._0x1d9c93,_0x5ce968._0x18b696)+_0x3aa8e8[_0xb43433(_0x5ce968._0x3333e1,0x5a9,0x50b,0x3db)][_0xb43433(0x64f,_0x5ce968._0x5d6546,_0x5ce968._0x2bc814,0x548)]+_0x1fd800(_0x5ce968._0x5f0833,_0x5ce968._0x3febf8,0x1cf,_0x5ce968._0xbbba6a)+_0x3aa8e8[_0xb43433(0x2f0,0x298,_0x5ce968._0x532877,_0x5ce968._0x5a6cb2)],'inputSchema':toNuvinToolSchema(_0x3aa8e8['tool'][_0xb43433(_0x5ce968._0x3382ed,_0x5ce968._0x635301,_0x5ce968._0xac8286,_0x5ce968._0x131eef)]),async *'execute'(_0x49bced){const _0x3b7337={_0x38d272:0x2f8},_0x412eae=await _0x3aa8e8[_0x37e6da(0x28b,0x389,0x34f,0x4ef)][_0x5eda75(0x3d,0x64,_0x266738._0xe7389b,-_0x266738._0x170e45)]({'name':_0x3aa8e8[_0x5eda75(-_0x266738._0x36b5f7,-_0x266738._0xce68fb,-_0x266738._0x101df8,-_0x266738._0xe18387)][_0x5eda75(-_0x266738._0x47662b,-0x15c,-0xe,-0x1b3)],'arguments':isJsonObject(_0x49bced)?_0x49bced:{}});function _0x5eda75(_0x36fc9b,_0x34ecdc,_0x41999a,_0x555689){return _0x1fd800(_0x36fc9b,_0x34ecdc-0x19a,_0x34ecdc- -_0x3b7337._0x38d272,_0x555689-0xd);}if(_0x412eae['isError'])throw new ToolExecutionError(formatMcpContent(_0x412eae),{'serverName':_0x3aa8e8['serverName'],'toolName':_0x3aa8e8['tool'][_0x5eda75(-_0x266738._0x4928e4,-0x15c,-_0x266738._0x8453cc,-_0x266738._0x573ce5)]});yield createToolOutput(formatMcpContent(_0x412eae),{'serverName':_0x3aa8e8[_0x5eda75(-0x30e,-_0x266738._0x10e0e3,-_0x266738._0x47726e,-0x283)],'toolName':_0x3aa8e8['tool'][_0x5eda75(-_0x266738._0x38e678,-_0x266738._0x37b8db,-_0x266738._0xb58b0a,-_0x266738._0x4bca24)],'result':_0x412eae});function _0x37e6da(_0x2516f0,_0xab0f13,_0x1dcd53,_0x43e982){return _0xb43433(_0x1dcd53,_0xab0f13-0xca,_0xab0f13- -0x1d3,_0x43e982-_0x3953b7._0x5002fc);}return void 0x0;}});}function resolvePrefix(_0xb06c03,_0x5a6d18){const _0x37e5b3={_0x2604ca:0x2ac,_0x2d11dc:0x3b1,_0x2e4a48:0x22a},_0x1605db={_0x55b97c:0x74,_0x3a85fa:0xc6};function _0x378e1e(_0x433bae,_0x8a8ed8,_0x30c765,_0x6dc8fd){return _0x42babe(_0x30c765-_0x1605db._0x55b97c,_0x8a8ed8-0x1e2,_0x433bae,_0x6dc8fd-_0x1605db._0x3a85fa);}return _0x5a6d18[_0x378e1e(_0x37e5b3._0x2604ca,_0x37e5b3._0x2d11dc,0x25c,_0x37e5b3._0x2e4a48)]??_0xb06c03;}function buildMcpHttpHeaders(_0x4d4ec7){const _0x44de98={_0x500261:0x74,_0x8c9f20:0x34,_0x379da4:0x49,_0x4d1722:0x406,_0x5877d6:0x401,_0x370ef4:0x55e,_0x345516:0x49a,_0x5bb35d:0x2a3,_0x426df7:0x2de,_0x6261d0:0x2f0,_0x13003d:0x435,_0x445a95:0xc6,_0x5c737f:0x92,_0x20cf06:0x1f5,_0x38030f:0x413,_0x27a348:0x343,_0x4d5596:0x390,_0x10cc18:0x378},_0xd16010={_0x2cd31f:0x4a},_0x30984f={_0x232797:0x17d,_0x2c1a31:0x1d1},_0x235574={..._0x4d4ec7[_0x423671(-_0x44de98._0x500261,_0x44de98._0x8c9f20,0xc5,_0x44de98._0x379da4)]??{}};function _0x1f1f7c(_0x154c19,_0x5619bd,_0x40efef,_0xba1829){return _0x42babe(_0x154c19-_0x30984f._0x232797,_0x5619bd-_0x30984f._0x2c1a31,_0xba1829,_0xba1829-0x135);}function _0x423671(_0x555881,_0x4ddfe3,_0xbaabe8,_0xcb6f2){return _0x42babe(_0x555881- -0x27f,_0x4ddfe3-_0xd16010._0x2cd31f,_0x4ddfe3,_0xcb6f2-0xf);}return _0x4d4ec7['auth']?.[_0x1f1f7c(_0x44de98._0x4d1722,0x375,_0x44de98._0x5877d6,_0x44de98._0x370ef4)]===_0x1f1f7c(0x375,_0x44de98._0x345516,_0x44de98._0x5bb35d,_0x44de98._0x426df7)&&_0x4d4ec7[_0x1f1f7c(_0x44de98._0x6261d0,_0x44de98._0x13003d,0x20a,0x3c9)]['token']&&_0x235574[_0x423671(-_0x44de98._0x445a95,-0x120,-0xbd,-_0x44de98._0x5c737f)]===void 0x0&&(_0x235574['Authorization']=_0x423671(-0x9f,0x4c,-0x4a,-_0x44de98._0x20cf06)+_0x4d4ec7['auth']['token']),Object[_0x1f1f7c(_0x44de98._0x38030f,_0x44de98._0x27a348,0x52a,0x332)](_0x235574)[_0x1f1f7c(_0x44de98._0x4d5596,0x3c0,0x3de,_0x44de98._0x10cc18)]>0x0?_0x235574:void 0x0;}function getErrorMessage(_0x2b26a6){return _0x2b26a6 instanceof Error?_0x2b26a6['message']:String(_0x2b26a6);}function isUnauthorizedError(_0x582c44){const _0x2cf5fc={_0x1f9a30:0x2a1,_0x4bc31b:0x12b,_0x486323:0x1bf,_0x5ad0f8:0x8e,_0x5218ab:0x134,_0x5a0940:0x94};function _0x5eee78(_0x5a19d8,_0x232484,_0x1fb824,_0x233093){return _0x41c53b(_0x5a19d8-0x1ab,_0x233093- -0x402,_0x232484,_0x233093-0x1ea);}function _0x3cad6d(_0xe02206,_0x5ccb42,_0x3632e2,_0x3ce443){return _0x42babe(_0xe02206- -0x1e0,_0x5ccb42-0x8d,_0x3632e2,_0x3ce443-0x38);}return _0x582c44 instanceof Error&&_0x582c44[_0x5eee78(_0x2cf5fc._0x1f9a30,_0x2cf5fc._0x4bc31b,0x2b5,_0x2cf5fc._0x486323)][_0x5eee78(0x1b3,_0x2cf5fc._0x5ad0f8,_0x2cf5fc._0x5218ab,_0x2cf5fc._0x5a0940)]==='UnauthorizedError';}async function connectMcpServer(_0x3d13f4,_0x130d01,_0x19cd1c){const _0x5a7199={_0x57caf1:0x96,_0x28db9f:0x1ed,_0x3fff9d:0x39d,_0x256e63:0xd0,_0x4f22d5:0x33e,_0x3aac54:0x292,_0xa05e98:0x5d,_0x586525:0x155,_0x58a962:0xc0,_0x1e7e2b:0xcb,_0xb40a71:0x84,_0x104265:0xe4,_0x32651f:0x2e5,_0x3dd5b8:0xb7,_0x3f8419:0x14f,_0x9ea220:0x148,_0x15becd:0x22d,_0x37acf9:0x21b,_0x49b2e1:0x1b5,_0x15cb9f:0x17c,_0x1b673:0x7,_0x48dc89:0x1a3,_0x646ba8:0x165,_0x8a098f:0xf5,_0x3b6e6d:0x4f,_0x3c2462:0x21d,_0x18e086:0x224,_0x57d4fd:0x2f2,_0xad83c9:0x3c6,_0x2b4411:0x386,_0x286882:0x2be,_0x20693a:0x6d,_0x5e3739:0x148,_0x4ac84d:0x20f,_0xc66d41:0xa0,_0x1f9f5e:0xa,_0x2d6954:0x127,_0x1fb74b:0xc7,_0x4097ee:0x55e,_0x4461e9:0x172,_0x28fde6:0x2b,_0x420c8e:0x49a,_0x2a8009:0x30,_0x8dfe40:0x47,_0x31ce01:0x486,_0x4bc5af:0x547,_0x7617e8:0x384,_0x2d24f7:0x41b},_0x354988={_0x54a6c8:0x1bd,_0x2e4e44:0x1ae},_0x1d5bcd={_0x423a41:0x2b0},_0x5a13ac={_0x11d90f:0x517,_0x302e55:0x3eb,_0x211aff:0x697,_0x38287b:0x59e},_0x43878e={_0x96ab46:0x1fd,_0x57854d:0xdb},_0x50899e={_0x3d3b5f:0x37f,_0x28cac2:0x45b,_0x5af969:0x3ba,_0xfacbe:0x4d1,_0x5879ac:0x67f,_0x52a43e:0x7aa,_0x5ca235:0x5af,_0x3bf7fb:0x40a,_0xc1a8c0:0x5d,_0x12ee06:0x1},_0x232cf2={_0x427361:0x105},_0x5a310a={_0x2d6b37:0x133},_0x4c87b5={_0xbade47:0x162,_0x5576aa:0x1c2},_0x10270c={_0x279104:0x14f};function _0x4ae504(_0x403305,_0x2d4056,_0x561e05,_0x2ebd33){return _0x42babe(_0x2ebd33- -0x2d8,_0x2d4056-_0x10270c._0x279104,_0x561e05,_0x2ebd33-0xc6);}const _0x295309=new Client({'name':_0x4ae504(0xb5,0x7b,0x85,_0x5a7199._0x57caf1),'version':_0x2847c4(0x423,0x358,_0x5a7199._0x28db9f,_0x5a7199._0x3fff9d)});function _0x2847c4(_0x38d19c,_0x5a3374,_0x17db0b,_0x46971d){return _0x42babe(_0x5a3374-_0x4c87b5._0xbade47,_0x5a3374-_0x4c87b5._0x5576aa,_0x46971d,_0x46971d-0x13c);}_0x295309[_0x4ae504(-_0x5a7199._0x256e63,-0x169,-_0x5a7199._0x4f22d5,-0x1bc)]=_0x1b64d0=>{function _0x3ff129(_0x35406e,_0x430a5c,_0x514dc5,_0x15fc6c){return _0x2847c4(_0x35406e-0x91,_0x430a5c-_0x5a310a._0x2d6b37,_0x514dc5-0x180,_0x514dc5);}function _0x2a3016(_0x2668a1,_0x490ed3,_0x5997b8,_0x2103c8){return _0x4ae504(_0x2668a1-0x154,_0x490ed3-0x13c,_0x2668a1,_0x5997b8-_0x232cf2._0x427361);}console[_0x3ff129(_0x50899e._0x3d3b5f,_0x50899e._0x28cac2,_0x50899e._0x5af969,_0x50899e._0xfacbe)](_0x3ff129(0x795,_0x50899e._0x5879ac,0x51b,_0x50899e._0x52a43e)+_0x3d13f4+_0x3ff129(_0x50899e._0x5ca235,0x440,_0x50899e._0x3bf7fb,0x486),_0x1b64d0[_0x2a3016(_0x50899e._0xc1a8c0,0x103,_0x50899e._0x12ee06,-0x15f)]);};if(_0x130d01[_0x2847c4(0x35d,_0x5a7199._0x3aac54,0x330,0x336)]===_0x4ae504(_0x5a7199._0xa05e98,_0x5a7199._0x586525,_0x5a7199._0x58a962,_0x5a7199._0x1e7e2b)||_0x130d01['url']){if(!_0x130d01[_0x2847c4(0x5bd,0x4a6,0x555,0x565)])throw new Error(_0x4ae504(-0x245,-_0x5a7199._0xb40a71,-0x1ab,-0x180)+_0x3d13f4+_0x4ae504(0x156,0x1f0,0x1e6,_0x5a7199._0x104265));if(_0x130d01[_0x4ae504(-0x24,-_0x5a7199._0x32651f,-0x163,-0x165)]?.[_0x4ae504(_0x5a7199._0x3dd5b8,0xb7,-_0x5a7199._0x3f8419,-0x4f)]===_0x4ae504(-0x2b7,-0x15e,-0xb5,-_0x5a7199._0x9ea220)&&!_0x19cd1c?.[_0x2847c4(0x22a,0x2f2,0x30b,_0x5a7199._0x15becd)])throw new Error(_0x4ae504(-0x171,-_0x5a7199._0x37acf9,-_0x5a7199._0x49b2e1,-0x180)+_0x3d13f4+_0x4ae504(-0x137,_0x5a7199._0x15cb9f,_0x5a7199._0x1b673,0x16));const _0x598d22=buildMcpHttpHeaders(_0x130d01),_0x3ce1a6=_0x130d01[_0x4ae504(-_0x5a7199._0x48dc89,-0x195,-0x62,-_0x5a7199._0x646ba8)]?.[_0x4ae504(-0xb,_0x5a7199._0x8a098f,-0x1b0,-_0x5a7199._0x3b6e6d)]===_0x2847c4(_0x5a7199._0x3c2462,0x2f2,_0x5a7199._0x18e086,0x18c)&&_0x19cd1c?.[_0x2847c4(0x270,_0x5a7199._0x57d4fd,0x388,0x2eb)]?createMcpOAuthProvider({'serverName':_0x3d13f4,'callbackUrl':_0x19cd1c['oauth'][_0x2847c4(0x265,_0x5a7199._0xad83c9,_0x5a7199._0x2b4411,_0x5a7199._0x286882)],'storageDir':_0x19cd1c[_0x4ae504(-_0x5a7199._0x20693a,-0x261,-0xd0,-_0x5a7199._0x5e3739)][_0x4ae504(_0x5a7199._0x4ac84d,_0x5a7199._0xc66d41,_0x5a7199._0x1f9f5e,_0x5a7199._0x2d6954)],'config':_0x130d01['auth'],'onRedirect':_0x13f28e=>_0x19cd1c[_0x4ae504(-0x110,0x39,-0x263,-0x148)]?.['onRedirect'](_0x3d13f4,_0x13f28e)}):void 0x0,_0x59baf2=new StreamableHTTPClientTransport(new URL(_0x130d01['url']),{'authProvider':_0x3ce1a6,'requestInit':_0x598d22?{'headers':_0x598d22}:void 0x0});await _0x295309[_0x4ae504(-_0x5a7199._0x1fb74b,0x7c,-0xc4,-0x1f)](_0x59baf2);}else{if(!_0x130d01[_0x2847c4(0x53f,_0x5a7199._0x4097ee,0x66a,0x664)])throw new Error('MCP\x20server\x20'+_0x3d13f4+_0x4ae504(_0x5a7199._0x4461e9,-_0x5a7199._0x28fde6,-0xcb,0x3d));const _0x2f3fe3=new StdioClientTransport({'command':_0x130d01[_0x2847c4(0x473,0x55e,_0x5a7199._0x420c8e,0x57b)],'args':_0x130d01[_0x4ae504(-_0x5a7199._0x2a8009,_0x5a7199._0x8dfe40,-0x1d3,-0x113)]??[],'env':_0x130d01[_0x2847c4(0x524,_0x5a7199._0x31ce01,0x54d,0x334)],'stderr':_0x2847c4(0x5a0,_0x5a7199._0x4bc5af,0x49a,0x603)});await _0x295309[_0x2847c4(_0x5a7199._0x7617e8,_0x5a7199._0x2d24f7,0x465,0x406)](_0x2f3fe3);}return{async 'listTools'(){function _0x5831c0(_0x426746,_0x438932,_0xf231da,_0x5da1c9){return _0x2847c4(_0x426746-0x42,_0x426746-_0x43878e._0x96ab46,_0xf231da-_0x43878e._0x57854d,_0x5da1c9);}return await _0x295309[_0x5831c0(_0x5a13ac._0x11d90f,_0x5a13ac._0x302e55,_0x5a13ac._0x211aff,_0x5a13ac._0x38287b)]();},async 'callTool'(_0x1f220d){function _0x5711ef(_0xe5637,_0x293874,_0x1b7184,_0x222799){return _0x2847c4(_0xe5637-0x8f,_0x222799- -0x227,_0x1b7184-0xd3,_0x293874);}return await _0x295309['request']({'method':_0x5711ef(0x49,0x13b,_0x1d5bcd._0x423a41,0x179),'params':_0x1f220d},CallToolResultSchema);},async 'close'(){const _0x5c59b9={_0x4cb872:0xff,_0x3e8df2:0x130};function _0x44b1ed(_0x3cb829,_0x19ab52,_0x25b113,_0x32b911){return _0x2847c4(_0x3cb829-_0x5c59b9._0x4cb872,_0x19ab52- -0x2d1,_0x25b113-_0x5c59b9._0x3e8df2,_0x25b113);}await _0x295309[_0x44b1ed(-_0x354988._0x54a6c8,-0x3b,0x96,-_0x354988._0x2e4e44)]();}};}async function createMcpToolsFromServers(_0xf91828){const _0x2a0dc5={_0x5a6e41:0x67d,_0x42f18e:0x6c4,_0x3a9c60:0x6c7,_0xf2c76:0x690,_0x4720c3:0x252,_0x596629:0x1e1,_0x514fd3:0x198,_0x3ed780:0x41,_0x555b4d:0xb9,_0xca8bd8:0x18b,_0x1e9882:0x603,_0x416a8d:0x765,_0x155e24:0x647,_0x51e3dd:0x93,_0x4813b4:0xb6,_0x1d9c35:0x19,_0x4ac23d:0x55f,_0x4db9ae:0x48,_0x3b0bc7:0x18,_0x1b92af:0x228,_0x438512:0x37,_0x51a87c:0xf,_0x1e0ab3:0x557,_0x5137c6:0x19d,_0x349d2c:0x1fb,_0x1dd847:0x219,_0x5c9647:0x793,_0x5e1d5c:0x1df,_0x13435e:0x165,_0x1347fc:0x4ea,_0x27915b:0x55f,_0xa60653:0x3c,_0x3b4f03:0x97},_0xfafaf3={_0x4616fc:0xe6,_0x56db4b:0xcd},_0x2b2049={_0x4e5b38:0x142,_0x351c3c:0x12a,_0x312462:0x130},_0x348d1c={_0x3aa7a5:0x5c,_0x49a4d0:0x19e},_0x5824bf=_0xf91828[_0x31f293(_0x2a0dc5._0x5a6e41,_0x2a0dc5._0x42f18e,_0x2a0dc5._0x3a9c60,_0x2a0dc5._0xf2c76)]??connectMcpServer,_0x176fb2=[],_0x35c608={},_0x3988bb={};function _0x31f293(_0x106fdb,_0x3cb274,_0x47ea55,_0xe1a101){return _0x41c53b(_0x106fdb-_0x348d1c._0x3aa7a5,_0x47ea55-_0x348d1c._0x49a4d0,_0x106fdb,_0xe1a101-0x14d);}const _0x1a4e5c=[];function _0x3c4997(_0x4c7a0d,_0x14def9,_0x32bdb7,_0x593549){return _0x42babe(_0x32bdb7- -_0x2b2049._0x4e5b38,_0x14def9-_0x2b2049._0x351c3c,_0x14def9,_0x593549-_0x2b2049._0x312462);}for(const [_0x276d5c,_0x425b8b]of Object[_0x3c4997(_0x2a0dc5._0x4720c3,0x314,_0x2a0dc5._0x596629,_0x2a0dc5._0x514fd3)](_0xf91828[_0x3c4997(_0x2a0dc5._0x3ed780,0xb,_0x2a0dc5._0x555b4d,_0x2a0dc5._0xca8bd8)]??{})){if(_0x425b8b[_0x31f293(_0x2a0dc5._0x1e9882,0x728,_0x2a0dc5._0x416a8d,_0x2a0dc5._0x155e24)]===![]){_0x35c608[_0x276d5c]={'status':_0x3c4997(-_0x2a0dc5._0x51e3dd,-_0x2a0dc5._0x4813b4,_0x2a0dc5._0x1d9c35,0x5)};continue;}try{const _0x1868c8=await _0x5824bf(_0x276d5c,_0x425b8b,_0xf91828[_0x3c4997(0x334,0x215,0x28f,0x3cb)]);_0x176fb2[_0x31f293(0x548,0x606,_0x2a0dc5._0x4ac23d,0x63d)](_0x1868c8);const _0x10ae9e=await _0x1868c8[_0x3c4997(-0x6f,-_0x2a0dc5._0x4db9ae,0x76,0x106)]();let _0x18cb41=0x0;const _0x5572d3=[];for(const _0x2d4a94 of _0x10ae9e['tools']){const _0xc68cc0=_0xf91828[_0x3c4997(_0x2a0dc5._0x3b0bc7,_0x2a0dc5._0x1b92af,0xf8,_0x2a0dc5._0x438512)]?.[_0x276d5c]?.[_0x2d4a94['name']];_0x5572d3[_0x3c4997(-0xde,0x6c,_0x2a0dc5._0x51a87c,0x1)]({'name':_0x2d4a94[_0x31f293(_0x2a0dc5._0x1e0ab3,0x7a4,0x634,0x770)],..._0x2d4a94[_0x3c4997(_0x2a0dc5._0x5137c6,_0x2a0dc5._0x349d2c,_0x2a0dc5._0x1dd847,0xba)]!==void 0x0?{'description':_0x2d4a94[_0x31f293(_0x2a0dc5._0x5c9647,0x670,0x769,0x6c8)]}:{},..._0x2d4a94['inputSchema']!==void 0x0?{'inputSchema':_0x2d4a94[_0x3c4997(_0x2a0dc5._0x5e1d5c,0xfe,_0x2a0dc5._0x13435e,0xe)]}:{}});if(_0xc68cc0===![])continue;_0x18cb41+=0x1,_0x1a4e5c[_0x31f293(_0x2a0dc5._0x1347fc,0x3eb,_0x2a0dc5._0x27915b,0x6af)](createMcpTool({'serverName':resolvePrefix(_0x276d5c,_0x425b8b),'tool':_0x2d4a94,'client':_0x1868c8}));}_0x3988bb[_0x276d5c]=_0x5572d3,_0x35c608[_0x276d5c]={'status':_0x3c4997(0xc0,0xa,0x16c,0x11e),'toolCount':_0x18cb41};}catch(_0x1572d2){_0x35c608[_0x276d5c]=isUnauthorizedError(_0x1572d2)?{'status':_0x3c4997(-_0x2a0dc5._0xa60653,0x27,0x64,_0x2a0dc5._0x3b4f03),'message':getErrorMessage(_0x1572d2)}:{'status':'error','message':getErrorMessage(_0x1572d2)};}}return{'tools':_0x1a4e5c,'servers':_0x35c608,'serverTools':_0x3988bb,async 'close'(){const _0xc26943={_0x5ec36b:0x23d};function _0x362aac(_0x5cd4c2,_0x28cb0c,_0x28b848,_0x53e2d5){return _0x3c4997(_0x5cd4c2-0x111,_0x5cd4c2,_0x28cb0c- -_0xc26943._0x5ec36b,_0x53e2d5-0x6);}await Promise['all'](_0x176fb2[_0x362aac(-0x6d,0x1f,-_0xfafaf3._0x4616fc,-_0xfafaf3._0x56db4b)](_0x260e2f=>_0x260e2f['close']()));}};}function getCommand(_0x53a8ab){const _0x15a5de={_0x4b2864:0x274,_0x32df8b:0x10a,_0x4de874:0x5c2,_0x1a0e9:0x4b4,_0x58e711:0x74f,_0x53173b:0x141},_0x5430e8={_0x54aef4:0x1be},_0x197a39={_0x497087:0x3cd,_0x21a4c9:0x1d6};if(_0x53a8ab&&typeof _0x53a8ab===_0x49237a(0x211,_0x15a5de._0x4b2864,0x24a,_0x15a5de._0x32df8b)&&!Array[_0x124960(_0x15a5de._0x4de874,0x610,_0x15a5de._0x1a0e9,0x639)](_0x53a8ab)&&typeof _0x53a8ab[_0x124960(0x7be,0x7c9,_0x15a5de._0x58e711,0x764)]===_0x49237a(0x100,0x250,0x24f,_0x15a5de._0x53173b))return _0x53a8ab['command'];function _0x124960(_0x17af76,_0xd270f7,_0x29290f,_0x5925c7){return _0x42babe(_0xd270f7-_0x197a39._0x497087,_0xd270f7-0x24,_0x5925c7,_0x5925c7-_0x197a39._0x21a4c9);}function _0x49237a(_0x341bc8,_0x571cc2,_0xe5fd1,_0x39f904){return _0x41c53b(_0x341bc8-_0x5430e8._0x54aef4,_0xe5fd1- -0x36b,_0x341bc8,_0x39f904-0x130);}return _0x124960(0x8a5,0x772,0x8ac,0x6d2);}var MOCK_WORKSPACE_LISTING=['docs/plans/2026-04-16-agent-loop-core-design.md',_0x41c53b(0x311,0x414,0x4d8,0x3f4),_0x41c53b(0x4c4,0x3b7,0x3ed,0x509),_0x42babe(0x30b,0x32f,0x2a6,0x1af),_0x42babe(0x18a,0x2ce,0x2,0x185),_0x42babe(0x22d,0x31e,0x277,0xc8),_0x42babe(0x392,0x259,0x473,0x235),_0x42babe(0x35a,0x3f4,0x38a,0x21d),_0x41c53b(0x51d,0x39e,0x29b,0x25f),_0x41c53b(0x494,0x52a,0x50e,0x628),_0x42babe(0x332,0x499,0x260,0x474),_0x41c53b(0x4ca,0x57a,0x4fb,0x654),_0x42babe(0x1ea,0x109,0x1dc,0x6a),'src/agent/agent.test.ts',_0x41c53b(0x43e,0x4f7,0x3a5,0x538),'src/formats/provider-adapters.test.ts',_0x42babe(0x24f,0x15e,0x1dc,0x34e)][_0x41c53b(0x5ac,0x56b,0x3e6,0x46e)]('\x0a'),SHELL_EXEC_TOOL={'name':_0x42babe(0x217,0x353,0x259,0x2d3),'description':_0x41c53b(0x5aa,0x60c,0x629,0x5e8),'input_schema':{'type':'object','properties':{'command':{'type':'string'}},'required':[_0x42babe(0x3fc,0x3bd,0x426,0x535)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x3dc8aa){return{'output':_0x3dc8aa,'structured':{'value':_0x3dc8aa}};}function createUnknownToolResult(_0x5dbf94){const _0x2346c2={_0x3ba43c:0x12d,_0x814e66:0x165,_0x434ce4:0x9f,_0x5abd67:0x11,_0x3a5233:0x28d,_0x2de697:0x225,_0x1ce72f:0x191},_0x50431d={_0x25fcee:0x95,_0x3512a8:0x1f3},_0x54ca28={_0x4fc5e7:0x350};function _0x2b1309(_0x5a41a6,_0x5db428,_0x1bb87c,_0x58ff97){return _0x41c53b(_0x5a41a6-0x10a,_0x58ff97- -_0x54ca28._0x4fc5e7,_0x1bb87c,_0x58ff97-0x197);}function _0xee426d(_0x518179,_0x46d6eb,_0x4eab6b,_0x21e0f6){return _0x42babe(_0x4eab6b- -_0x50431d._0x25fcee,_0x46d6eb-0x1a7,_0x21e0f6,_0x21e0f6-_0x50431d._0x3512a8);}return{'callId':_0x5dbf94['id'],'toolName':_0x5dbf94[_0xee426d(_0x2346c2._0x3ba43c,0x101,0x191,_0x2346c2._0x814e66)],'status':_0x2b1309(0x1e5,_0x2346c2._0x434ce4,_0x2346c2._0x5abd67,0xe6),'output':'Unknown\x20tool:\x20'+_0x5dbf94[_0xee426d(_0x2346c2._0x3a5233,_0x2346c2._0x2de697,_0x2346c2._0x1ce72f,0x4f)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x47be56,_0x327c51){const _0x41a3e2={_0x59d7bc:0x670,_0x4e31fd:0x691};function _0x183cb6(_0x553f31,_0xf9a2ad,_0x3cb620,_0x32f588){return _0x42babe(_0x32f588-0x3a0,_0xf9a2ad-0x1eb,_0x3cb620,_0x32f588-0x163);}return{'callId':_0x47be56['id'],'toolName':_0x47be56[_0x183cb6(_0x41a3e2._0x59d7bc,0x610,_0x41a3e2._0x4e31fd,0x5c6)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x47be56['input']),'exitCode':0x0},'chunks':[_0x327c51],'meta':createMeta()};}function createMockToolRuntime(){const _0x5c89fd={_0x401735:0x506,_0x8edda4:0x598,_0x2223a2:0x44e},_0x53e21e={_0x26c5ae:0x208},_0x29fe3e={_0x3ec04b:0x2d4,_0x77ed4a:0x16e,_0x21a098:0x15f},_0x17c047=async(_0x3d118f,_0x13fbff)=>{function _0x2b5178(_0x51085c,_0x537a9f,_0x5a5dca,_0x4890d6){return _0x4ff3(_0x51085c-0x53,_0x5a5dca);}if(_0x3d118f[_0x4a1564(0x290,_0x29fe3e._0x3ec04b,0x2c9,_0x29fe3e._0x77ed4a)]!==_0x4a1564(0x186,-0x1d,0x152,_0x29fe3e._0x21a098))return createUnknownToolResult(_0x3d118f);const _0xf01c73=createOutputChunk(MOCK_WORKSPACE_LISTING);function _0x4a1564(_0x4a3744,_0x21a359,_0x5e7868,_0x41bf75){return _0x4ff3(_0x41bf75- -0x118,_0x5e7868);}return createSuccessToolResult(_0x3d118f,_0xf01c73);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x161a79,_0x3d10fa){function _0x4bcd89(_0x96fb61,_0x5e2d38,_0x1a8440,_0x421f50){return _0x4ff3(_0x5e2d38- -0x128,_0x421f50);}function _0xc45f73(_0x246092,_0x133815,_0x2f7899,_0x294671){return _0x4ff3(_0x2f7899-_0x53e21e._0x26c5ae,_0x294671);}return await Promise[_0xc45f73(0x611,_0x5c89fd._0x401735,0x538,_0x5c89fd._0x8edda4)](_0x161a79[_0x4bcd89(0x19b,0x2d6,_0x5c89fd._0x2223a2,0x15c)](async _0xedb4f8=>{return await _0x17c047(_0xedb4f8,_0x3d10fa);}));},async 'execute'(_0x4fbf5e,_0x67ecd8){return await _0x17c047(_0x4fbf5e,_0x67ecd8);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){return delegatedRunCounter+=0x1,'delegated-run-'+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x5aa7b7,_0x38de05){return typeof _0x5aa7b7==='function'?await _0x5aa7b7(_0x38de05):_0x5aa7b7;}function getDelegatedAgentDefinition(_0x14d5da,_0x469859){const _0x3c9be2={_0x42c2c7:0x369},_0x50e041={_0x5a2285:0x5,_0x2a1b0d:0x1f};function _0x57431e(_0x3df317,_0x125202,_0x2d20aa,_0xce01c6){return _0x42babe(_0x2d20aa-0x314,_0x125202-_0x50e041._0x5a2285,_0xce01c6,_0xce01c6-_0x50e041._0x2a1b0d);}return _0x14d5da[_0x57431e(0x620,_0x3c9be2._0x42c2c7,0x4ce,0x5e8)]?.[_0x469859];}function createRunSummary(_0x411d71){const _0x7a902={_0x366efc:0x771,_0x4eb729:0x83c,_0x51ffe8:0x670,_0x29e0d4:0x701,_0x294c46:0x647,_0x4e29c6:0x6b9,_0x1c7068:0x826,_0x3adc4c:0x559,_0x50726a:0x5bc,_0x3766c0:0x456,_0x241f7b:0x4dd,_0x437292:0x4e4,_0x19ee3d:0x542,_0x481e04:0x67b,_0x3872a7:0x5db,_0x2b84fd:0x3f8,_0x92ac73:0x601,_0x9ef891:0x4b2,_0x1b7408:0x4ff,_0x40f182:0x483};function _0x4156c6(_0x1cdbd9,_0x5ecf77,_0x3a3eb0,_0x45e20e){return _0x41c53b(_0x1cdbd9-0x1a2,_0x3a3eb0-0xdb,_0x45e20e,_0x45e20e-0x1d8);}function _0x1f2e17(_0xa53c23,_0x570ad4,_0x1225e7,_0x31b3ec){return _0x42babe(_0x570ad4-0x39a,_0x570ad4-0xba,_0x31b3ec,_0x31b3ec-0xd3);}return{'runId':_0x411d71[_0x1f2e17(0x819,_0x7a902._0x366efc,0x7ab,_0x7a902._0x4eb729)],'agentId':_0x411d71[_0x4156c6(_0x7a902._0x51ffe8,0x70c,_0x7a902._0x29e0d4,_0x7a902._0x294c46)],'sessionId':_0x411d71['sessionId'],'status':_0x411d71[_0x1f2e17(0x6fc,0x758,0x7d2,0x8cb)],'parentSessionId':_0x411d71[_0x1f2e17(0x5d9,_0x7a902._0x4e29c6,_0x7a902._0x1c7068,_0x7a902._0x3adc4c)],..._0x411d71[_0x4156c6(_0x7a902._0x50726a,0x368,_0x7a902._0x3766c0,_0x7a902._0x241f7b)]!==void 0x0?{'originToolCallId':_0x411d71['originToolCallId']}:{},..._0x411d71[_0x4156c6(0x58f,_0x7a902._0x437292,0x542,0x607)]!==void 0x0?{'errorMessage':_0x411d71[_0x4156c6(0x663,0x4a9,_0x7a902._0x19ee3d,_0x7a902._0x481e04)]}:{},..._0x411d71['result']?.[_0x1f2e17(_0x7a902._0x3872a7,0x4ff,_0x7a902._0x2b84fd,0x3c4)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x411d71[_0x1f2e17(0x71e,_0x7a902._0x92ac73,0x48c,0x5fe)][_0x1f2e17(_0x7a902._0x9ef891,_0x7a902._0x1b7408,0x3e7,_0x7a902._0x40f182)])}:{}};}function createRunSummaryOutput(_0x38f790,_0x4a46af){const _0x1066d9={_0x416bc9:0x186,_0x11c212:0x1fe,_0x362e6a:0x5b7,_0x5d2ed9:0x672,_0x41dfa1:0x5cc,_0x533b93:0x4a8},_0x48a608={_0x5beaed:0x149,_0x403163:0x8e},_0x2cf022={_0x32043a:0xf9};function _0x505bf4(_0x43d246,_0x8e5646,_0x58d7de,_0x490148){return _0x42babe(_0x490148- -0x36c,_0x8e5646-_0x2cf022._0x32043a,_0x58d7de,_0x490148-0x4b);}const _0x9c4ebe=createRunSummary(_0x38f790),_0x552afc=_0x9c4ebe[_0x505bf4(-0x30a,-_0x1066d9._0x416bc9,-0xca,-_0x1066d9._0x11c212)];function _0x2d84dd(_0x508857,_0x32049e,_0x163452,_0x5aef7d){return _0x41c53b(_0x508857-0xfb,_0x163452-_0x48a608._0x5beaed,_0x5aef7d,_0x5aef7d-_0x48a608._0x403163);}return createToolOutput(typeof _0x552afc==='string'&&_0x552afc[_0x2d84dd(_0x1066d9._0x362e6a,_0x1066d9._0x5d2ed9,_0x1066d9._0x41dfa1,_0x1066d9._0x533b93)]>0x0?_0x552afc:_0x4a46af,_0x9c4ebe);}function getRunTerminalErrorMessage(_0x676a51){const _0x33b854={_0x352665:0x1c8,_0x2a22c5:0x164,_0x64ffa:0x3c6,_0x4a7950:0x2be,_0x5e3219:0x3c0,_0xc9e8d8:0x5ba,_0xdcca74:0x51c,_0x1cab1c:0x2b2,_0x40b401:0x137,_0x29d1fa:0x47d,_0x15540e:0x563,_0x13ee0f:0x5cd},_0x1567e1={_0x218318:0x118,_0x1e738e:0x3d},_0x43bd80={_0x9bccb:0x1c7};function _0x2387a2(_0x468643,_0x37f710,_0x443fcb,_0x271720){return _0x41c53b(_0x468643-0x177,_0x37f710- -0x10f,_0x443fcb,_0x271720-_0x43bd80._0x9bccb);}const _0x5b74b9=_0x676a51?.[_0x2387a2(0x29c,0x2ce,_0x33b854._0x352665,_0x33b854._0x2a22c5)][_0x37c4ac(_0x33b854._0x64ffa,0x4e4,_0x33b854._0x4a7950,_0x33b854._0x5e3219)]['at'](-0x1);function _0x37c4ac(_0x2dedbc,_0x3b9d7c,_0x511407,_0x126c62){return _0x41c53b(_0x2dedbc-_0x1567e1._0x218318,_0x126c62- -0x1d5,_0x3b9d7c,_0x126c62-_0x1567e1._0x1e738e);}if(_0x5b74b9?.[_0x37c4ac(0x446,_0x33b854._0xc9e8d8,0x4db,0x459)]==='error'&&_0x5b74b9[_0x2387a2(0x3ed,0x47d,0x524,0x417)][_0x2387a2(_0x33b854._0xdcca74,0x47c,0x4e7,0x594)]()[_0x37c4ac(_0x33b854._0x1cab1c,_0x33b854._0x40b401,0x41d,0x2ae)]>0x0)return _0x5b74b9[_0x2387a2(0x489,_0x33b854._0x29d1fa,_0x33b854._0x15540e,_0x33b854._0x13ee0f)];return void 0x0;}function formatAbortedRunMessage(_0x1a8c75,_0x3286ad){const _0x3adee6={_0xc61b8a:0x39d,_0x4a9e56:0x22b,_0x5c4ddc:0x1bb,_0x13b401:0x98,_0x23c34c:0x2d},_0x25d3e4={_0x7f0472:0x36},_0x4e9dca='Agent\x20run\x20'+_0x1a8c75+_0x268d20(_0x3adee6._0xc61b8a,_0x3adee6._0x4a9e56,0x38e,_0x3adee6._0x5c4ddc);function _0x268d20(_0x20eb07,_0x521fe7,_0x18bba2,_0x167f34){return _0x41c53b(_0x20eb07-0x19b,_0x521fe7- -0x2b3,_0x18bba2,_0x167f34-0x3d);}function _0x2e6255(_0x160b50,_0x120522,_0x192469,_0x451256){return _0x41c53b(_0x160b50-0x80,_0x451256- -0x4cd,_0x120522,_0x451256-_0x25d3e4._0x7f0472);}if(!_0x3286ad||_0x3286ad['trim']()[_0x268d20(0x20d,0x1d0,0x11c,_0x3adee6._0x13b401)]===0x0||_0x3286ad===_0x4e9dca)return _0x4e9dca;return _0x4e9dca+_0x2e6255(0x53,_0x3adee6._0x23c34c,0xb,-0x77)+_0x3286ad;}function createAssignTaskTool(_0x386142){const _0xafc3e9={_0xc7f82a:0x18a,_0x5ea4c1:0x209,_0xca824a:0x9e,_0x5a179d:0x135,_0xa17d17:0x1a,_0x5f095e:0x1f,_0x3dd292:0xe8,_0x38e6bc:0xb7,_0x2b3fd6:0x82,_0xd55642:0x128,_0x5d104c:0x92,_0x564a66:0x2,_0x43aab2:0x6a,_0x4579db:0xd8,_0x16bec8:0x1b9,_0x19de18:0x8e,_0x537add:0xae,_0x1a2e08:0x1b1},_0x214971={_0x4e22e0:0x4f1,_0x686dc2:0x15,_0x1d2723:0x195,_0x4953ac:0x170,_0x4e874f:0x376,_0x3fe881:0x3d8,_0x2bae11:0x3b9,_0x548062:0x3f7,_0x57bada:0x235,_0x5a32a9:0x289,_0x5761b9:0x41a,_0x24ed98:0x313,_0xfe6667:0x368,_0x2f8d3b:0x2de,_0xd2e4d9:0x2cd,_0x27ecc0:0x1ea,_0x28ac52:0x1d6,_0x35e8be:0x3b2,_0xbeea8a:0x31b,_0x2ce753:0x2f3,_0x391224:0x1be,_0x393ec2:0x2bd,_0x2acb09:0x313,_0x388a95:0xe4,_0x4bc2c8:0x1ec,_0x29f2a5:0x3da,_0x137ad4:0x32f,_0x4415a9:0x36b,_0x1a69c6:0x370,_0x579767:0x48e,_0x21ea30:0x3c1,_0x2ca36d:0xd5,_0x2f940c:0x19f,_0x1ed370:0x6f,_0x29dc32:0x1af,_0x483ea8:0x428,_0x590ab2:0x44a,_0x386290:0x3d4,_0x4e9768:0x32f,_0x17338e:0x263,_0x2dd769:0x38c,_0x12829c:0x57,_0x38c9f2:0xab,_0x230150:0x1d0,_0x24d66a:0x1ee,_0x328351:0x2ba,_0x5e000a:0x33d,_0x252e7e:0x247,_0x51f968:0x189,_0x2081cb:0x1ad,_0x1fedf2:0x4ee,_0x1d8f20:0x317,_0x39ec4f:0x20a},_0x186308={_0xa9e3e8:0xc4,_0xca8cb8:0x518,_0x46e388:0x5c},_0x13667d={_0x26d6b0:0x32b,_0x22074f:0x191};function _0x55c600(_0x25f2a5,_0x16c0f1,_0x1b64f2,_0x3ed7d8){return _0x42babe(_0x1b64f2- -_0x13667d._0x26d6b0,_0x16c0f1-0x12f,_0x3ed7d8,_0x3ed7d8-_0x13667d._0x22074f);}function _0x592a40(_0x125daf,_0x8ffbbc,_0x48f326,_0x52fd60){return _0x41c53b(_0x125daf-_0x186308._0xa9e3e8,_0x48f326- -_0x186308._0xca8cb8,_0x52fd60,_0x52fd60-_0x186308._0x46e388);}return defineTool({'name':_0x55c600(-0x2c9,-0x86,-_0xafc3e9._0xc7f82a,-_0xafc3e9._0x5ea4c1),'description':'Delegates\x20a\x20task\x20to\x20another\x20agent\x20and\x20waits\x20for\x20completion','inputSchema':{'type':_0x55c600(_0xafc3e9._0xca824a,_0xafc3e9._0x5a179d,_0xafc3e9._0xa17d17,0x12a),'properties':{'agentId':{'type':_0x55c600(-0x158,-0x1e,_0xafc3e9._0x5f095e,0xca)},'description':{'type':_0x592a40(0x90,0x222,0xa2,0x19e)},'nickname':{'type':_0x55c600(-_0xafc3e9._0x3dd292,0x15c,0x1f,0x176)},'task':{'type':_0x55c600(-_0xafc3e9._0x38e6bc,-_0xafc3e9._0x2b3fd6,0x1f,-0xb5)}},'required':[_0x55c600(_0xafc3e9._0xd55642,_0xafc3e9._0x5d104c,0x8b,-_0xafc3e9._0x564a66),_0x55c600(0x18c,_0xafc3e9._0x43aab2,0x30,_0xafc3e9._0x4579db),_0x592a40(-_0xafc3e9._0x16bec8,_0xafc3e9._0x19de18,-_0xafc3e9._0x537add,-_0xafc3e9._0x1a2e08)]},async *'execute'(_0x529509,_0x3ab9f2){const _0x119ab5={_0x23b1a8:0x1e7,_0x1b8c08:0x163,_0x43554c:0x1b,_0x19c89e:0x2cc,_0x21d71c:0x1a8,_0x16bba7:0xa2,_0x408578:0x16e},_0x3205b6={_0xcaf93b:0x72,_0x463d6d:0x72},_0x3f0627={_0x5e3be5:0x52,_0x142745:0x2ab},_0x2551e1=createDelegatedRunId();function _0x55fba0(_0x104e82,_0x39f4df,_0x396881,_0x2cb773){return _0x55c600(_0x104e82-0x158,_0x39f4df-0x190,_0x2cb773-0x2e0,_0x39f4df);}const _0x3ad77c={'agentId':_0x529509[_0x2ff7bc(_0x214971._0x4e22e0,0x3fd,0x2d4,0x3b9)],'parentSessionId':_0x3ab9f2['sessionId'],'runId':_0x2551e1,..._0x3ab9f2['toolCallId']!==void 0x0?{'toolCallId':_0x3ab9f2[_0x55fba0(-_0x214971._0x686dc2,0xfe,_0x214971._0x1d2723,_0x214971._0x4953ac)]}:{}},_0x264379=getDelegatedAgentDefinition(_0x386142,_0x529509[_0x2ff7bc(_0x214971._0x4e874f,_0x214971._0x3fe881,0x306,_0x214971._0x2bae11)]);if(!_0x264379)throw new ToolExecutionError(_0x2ff7bc(_0x214971._0x548062,_0x214971._0x57bada,_0x214971._0x5a32a9,0x281)+_0x529509['agentId'],{'agentId':_0x529509[_0x2ff7bc(_0x214971._0x5761b9,_0x214971._0x24ed98,0x300,0x3b9)]});const _0x78549f=new Agent(await resolveDelegatedAgentOptions(_0x264379,_0x3ad77c));function _0x2ff7bc(_0x30c6ee,_0x2da8b8,_0x27ab0b,_0xddffef){return _0x592a40(_0x30c6ee-0xe1,_0x2da8b8-_0x3f0627._0x5e3be5,_0xddffef-_0x3f0627._0x142745,_0x27ab0b);}let _0x207eb8={'runId':_0x2551e1,'agentId':_0x529509['agentId'],'sessionId':_0x78549f[_0x55fba0(_0x214971._0xfe6667,_0x214971._0x2f8d3b,0x2c3,_0x214971._0xd2e4d9)],'status':_0x55fba0(_0x214971._0x27ecc0,0x217,_0x214971._0x28ac52,0xc1),'parentSessionId':_0x3ab9f2[_0x2ff7bc(0x46d,_0x214971._0x35e8be,0x49b,_0x214971._0xbeea8a)],..._0x3ab9f2[_0x2ff7bc(0x3b,_0x214971._0x2ce753,0x297,_0x214971._0x391224)]!==void 0x0?{'originToolCallId':_0x3ab9f2[_0x2ff7bc(0x275,_0x214971._0x393ec2,_0x214971._0x2acb09,_0x214971._0x391224)]}:{}};const _0x53d96e=new AbortController(),_0x494f18=addAbortListener(_0x3ab9f2[_0x55fba0(0x382,0x1c5,_0x214971._0x388a95,0x252)],()=>{const _0x51bd4d={_0x378a19:0x116,_0x149349:0x26};function _0x13681a(_0x5ec67e,_0x27b5df,_0xc4fdd3,_0x12da88){return _0x2ff7bc(_0x5ec67e-_0x51bd4d._0x378a19,_0x27b5df-0x1ed,_0xc4fdd3,_0x27b5df-_0x51bd4d._0x149349);}function _0x601d08(_0x35297a,_0x35ab81,_0x36f713,_0x120f70){return _0x2ff7bc(_0x35297a-0x1b3,_0x35ab81-_0x3205b6._0xcaf93b,_0x36f713,_0x35ab81- -_0x3205b6._0x463d6d);}_0x53d96e[_0x601d08(_0x119ab5._0x23b1a8,0xb8,_0x119ab5._0x1b8c08,_0x119ab5._0x43554c)](_0x3ab9f2['signal']?.[_0x13681a(_0x119ab5._0x19c89e,_0x119ab5._0x21d71c,_0x119ab5._0x16bba7,_0x119ab5._0x408578)]);});yield createToolOutput(_0x55fba0(0x244,0x369,0x8c,_0x214971._0x4bc2c8)+_0x207eb8['runId']+'.',{'runId':_0x207eb8[_0x2ff7bc(0x339,0x27f,0x53b,_0x214971._0x29f2a5)],'agentId':_0x207eb8[_0x55fba0(0x319,_0x214971._0x137ad4,0x322,_0x214971._0x4415a9)],'sessionId':_0x207eb8[_0x2ff7bc(0x1a1,0x368,_0x214971._0x1a69c6,0x31b)],'status':_0x207eb8[_0x2ff7bc(_0x214971._0x579767,0x539,0x499,_0x214971._0x21ea30)]});try{const _0x5638bd=await _0x78549f['send'](_0x529509[_0x55fba0(_0x214971._0x2ca36d,_0x214971._0x2f940c,_0x214971._0x1ed370,_0x214971._0x29dc32)],{'streaming':!![],'signal':_0x53d96e[_0x2ff7bc(_0x214971._0x483ea8,0x3da,0x3d0,0x2a0)]});_0x207eb8={..._0x207eb8,'status':_0x5638bd['status'],'result':_0x5638bd};if(_0x5638bd['status']!==_0x55fba0(0x3b4,_0x214971._0x590ab2,_0x214971._0x386290,_0x214971._0x4e9768)){const _0x582c62=getRunTerminalErrorMessage(_0x5638bd),_0x46949f=formatAbortedRunMessage(_0x207eb8[_0x55fba0(0x217,_0x214971._0x17338e,0x507,_0x214971._0x2dd769)],_0x582c62);throw new ToolExecutionError(_0x46949f,{...createRunSummary(_0x207eb8),'aborted':!![],'errorMessage':_0x46949f});}return createRunSummaryOutput(_0x207eb8,_0x55fba0(0x31,_0x214971._0x12829c,0x61,0xd8)+_0x207eb8['runId']+_0x2ff7bc(_0x214971._0x38c9f2,0x25e,_0x214971._0x230150,0x214));}catch(_0x3a8d3d){if(_0x3a8d3d instanceof ToolExecutionError)throw _0x3a8d3d;if(isAbortError(_0x3a8d3d)||_0x53d96e['signal'][_0x55fba0(0x412,0x3ee,0x1cd,0x2ba)]||_0x3ab9f2[_0x55fba0(0x2d0,_0x214971._0x24d66a,0x3b4,0x252)][_0x55fba0(0x33c,0x2d9,0x3a2,_0x214971._0x328351)]){const _0x5bcb01=getRunTerminalErrorMessage(_0x207eb8['result'])??(_0x3a8d3d instanceof Error?_0x3a8d3d['message']:String(_0x3a8d3d)),_0x385519=formatAbortedRunMessage(_0x207eb8[_0x2ff7bc(0x358,0x40a,0x2d3,0x3da)],_0x5bcb01);_0x207eb8={..._0x207eb8,'status':'aborted','errorMessage':_0x385519};throw new ToolExecutionError(_0x385519,{...createRunSummary(_0x207eb8),'aborted':!![],'errorMessage':_0x385519});}const _0x512e93=getRunTerminalErrorMessage(_0x207eb8[_0x2ff7bc(0x125,0x150,_0x214971._0x5e000a,0x26a)])??(_0x3a8d3d instanceof Error?_0x3a8d3d[_0x55fba0(_0x214971._0x252e7e,0x1ff,0x1c8,_0x214971._0x51f968)]:String(_0x3a8d3d))??_0x2ff7bc(0x201,_0x214971._0x2081cb,0x1f6,0x126)+_0x207eb8['runId']+_0x55fba0(_0x214971._0x1fedf2,_0x214971._0x1d8f20,0x3e4,0x374);_0x207eb8={..._0x207eb8,'status':_0x55fba0(0x311,_0x214971._0x39ec4f,0x1d3,0x18f),'errorMessage':_0x512e93};throw new ToolExecutionError(_0x512e93,{...createRunSummary(_0x207eb8),'errorMessage':_0x512e93});}finally{_0x494f18();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x195358){return[createAssignTaskTool(_0x195358)];}import*as _0xe2fae4 from'path';function buildDescription2(_0x1e9ee5){const _0x533665={_0x39d7e3:0x152,_0x14ffcb:0xa5,_0x2ae24c:0x16d,_0x333473:0x256,_0x3ceeda:0x139,_0x1f8931:0x707,_0x32d343:0x7bd,_0x24302e:0x61e,_0x30103c:0x1cd,_0x286e74:0x2de,_0x53b246:0x1d5,_0x3cb1bf:0x2a8,_0x42ae2d:0x7c3},_0x427728={_0xf06c5b:0x1b5,_0x3f5561:0x169};function _0x257f26(_0x4755db,_0x4b6587,_0xee3290,_0x21a3ae){return _0x41c53b(_0x4755db-0x119,_0xee3290- -0x552,_0x21a3ae,_0x21a3ae-0x1e4);}if(_0x1e9ee5[_0x257f26(-_0x533665._0x39d7e3,-_0x533665._0x14ffcb,-0xcf,-_0x533665._0x2ae24c)]===0x0)return _0x257f26(-_0x533665._0x333473,0x33,-0x11e,-_0x533665._0x3ceeda);function _0x30da2c(_0x3208fc,_0x5df013,_0x19e0ed,_0x5cc027){return _0x41c53b(_0x3208fc-0xd9,_0x19e0ed-_0x427728._0xf06c5b,_0x3208fc,_0x5cc027-_0x427728._0x3f5561);}const _0x269e12=['Load\x20a\x20skill\x20to\x20get\x20detailed\x20instructions\x20for\x20a\x20specific\x20task.',_0x30da2c(_0x533665._0x1f8931,0x927,_0x533665._0x32d343,0x677),_0x30da2c(0x5ed,0x67b,0x54b,_0x533665._0x24302e),_0x257f26(-_0x533665._0x30103c,-_0x533665._0x286e74,-_0x533665._0x53b246,-_0x533665._0x3cb1bf),..._0x1e9ee5[_0x30da2c(0x689,0x7a4,_0x533665._0x42ae2d,0x6ea)](_0x1256f2=>'-\x20'+_0x1256f2[_0x257f26(0x49,-0x176,-0xbc,0x63)]+':\x20'+_0x1256f2[_0x30da2c(0x8cd,0x8e6,0x780,0x6cb)])];return _0x269e12['join']('\x0a');}function createLoadSkillTool(_0x223f97){const _0x2b3efb={_0x358f1e:0x3f4,_0x48422f:0x549,_0x1246aa:0x798,_0x5f5ccb:0x5b6,_0x5aa576:0x471,_0x3a2ec7:0x333,_0xf799c6:0x2ca},_0x445b31={_0x41bf13:0x1c0,_0x29e259:0x111,_0x30f557:0x5,_0x1ce4c1:0x34,_0x366cbc:0xb4,_0x4cdf9c:0x3c,_0x36da77:0x1ca,_0x42add7:0x151,_0x232249:0x22,_0x50cce9:0xa4,_0x4b6ad7:0xf6,_0x3dbbf2:0x85,_0x2fc854:0xc,_0x29bbbe:0x129,_0x161230:0xd4,_0x16f5ec:0x156,_0x1fcccb:0xf7,_0x25f195:0x43,_0x47a2f8:0xe9,_0x4037e7:0x56,_0x90f34f:0x11f,_0x5ac4d7:0x18f,_0x7d45c5:0x51,_0xad519c:0x144,_0x35db91:0x20a,_0x1223bd:0x2d,_0x4d68c2:0xf9,_0x4cff9d:0x91,_0x7a1df8:0x11,_0x2bf70b:0x194,_0x44344e:0x8a,_0x33d976:0xf0,_0x3b9fa0:0xb6},_0x3e47bc={_0x578a47:0x92},_0x26c68f={_0x4ce4ff:0x1a4},_0x1e887f={_0x39afb0:0x1d1},_0x583190={_0x555dfa:0x144};function _0x4fb0ec(_0x2e7579,_0x4748a9,_0x4b9158,_0x295995){return _0x41c53b(_0x2e7579-0x4b,_0x295995-0x4a,_0x4b9158,_0x295995-_0x583190._0x555dfa);}function _0x4e4e63(_0x500dc9,_0x2261c6,_0x1ef332,_0xca094f){return _0x42babe(_0x500dc9- -0xb4,_0x2261c6-0x1d6,_0x2261c6,_0xca094f-_0x1e887f._0x39afb0);}const _0x249d2f=new Map(_0x223f97[_0x4fb0ec(0x315,0x5b0,_0x2b3efb._0x358f1e,0x471)][_0x4fb0ec(0x5e5,_0x2b3efb._0x48422f,_0x2b3efb._0x1246aa,0x658)](_0x8aaaaa=>[_0x8aaaaa[_0x4e4e63(0x172,0x6,0xb1,0x299)],_0x8aaaaa])),_0x7f9c0f=buildDescription2(_0x223f97[_0x4fb0ec(_0x2b3efb._0x5f5ccb,0x4b9,0x4d5,_0x2b3efb._0x5aa576)]);return defineTool({'name':_0x4e4e63(0x240,_0x2b3efb._0x3a2ec7,_0x2b3efb._0xf799c6,0x133),'description':_0x7f9c0f,'inputSchema':{'type':_0x4e4e63(0x291,0x1da,0x31c,0x3e8),'properties':{'name':{'type':'string'}},'required':['name']},async *'execute'(_0x3f6aed){const _0x1b8f9f=_0x249d2f[_0x46536f(-0x6a,0x89,_0x445b31._0x41bf13,_0x445b31._0x29e259)](_0x3f6aed[_0x46abea(_0x445b31._0x30f557,_0x445b31._0x1ce4c1,0xc1,-0x22)]);if(!_0x1b8f9f){const _0x14cca4=Array[_0x46abea(0xcb,_0x445b31._0x366cbc,-0xa1,_0x445b31._0x4cdf9c)](_0x249d2f['keys']())[_0x46536f(0x136,0xd8,0x6a,_0x445b31._0x36da77)](',\x20');throw new ToolExecutionError('Skill\x20\x27'+_0x3f6aed[_0x46abea(_0x445b31._0x42add7,-0x4e,-0xbd,-_0x445b31._0x232249)]+_0x46536f(-0xb8,-0x5c,_0x445b31._0x50cce9,-_0x445b31._0x4b6ad7)+_0x14cca4,{'name':_0x3f6aed[_0x46abea(_0x445b31._0x3dbbf2,-0x4f,_0x445b31._0x2fc854,-0x22)]});}const _0x402705=await _0x223f97[_0x46abea(-0x26d,-0x93,-0x2af,-_0x445b31._0x29bbbe)](_0x1b8f9f),_0x41179e=_0x1b8f9f[_0x46536f(-0x154,-_0x445b31._0x161230,-0x191,-_0x445b31._0x16f5ec)][_0x46abea(-0x85,0x12b,0x257,_0x445b31._0x1fcccb)]??_0xe2fae4['dirname'](_0x1b8f9f[_0x46536f(-0x250,-0xd4,_0x445b31._0x25f195,0x59)][_0x46536f(-_0x445b31._0x47a2f8,-0x91,0x24,-_0x445b31._0x161230)]),_0x5187a3=['##\x20Skill:\x20'+_0x402705['name'],'',_0x402705[_0x46536f(_0x445b31._0x4037e7,_0x445b31._0x90f34f,0x101,_0x445b31._0x5ac4d7)],'','---',_0x46536f(-0x6f,-0x42,-_0x445b31._0x7d45c5,_0x445b31._0xad519c)+_0x1b8f9f[_0x46abea(-_0x445b31._0x35db91,_0x445b31._0x1223bd,-0x27a,-_0x445b31._0x4d68c2)][_0x46536f(-0x128,-_0x445b31._0x4cff9d,_0x445b31._0x7a1df8,-0x147)],'Base\x20directory:\x20'+_0x41179e][_0x46536f(0x1d3,0xd8,0xa1,-0x86)]('\x0a');yield createToolOutput(_0x5187a3,{'id':_0x402705['id'],'name':_0x402705[_0x46abea(-_0x445b31._0x2bf70b,0xc6,-0x46,-0x22)],'path':_0x1b8f9f['source'][_0x46abea(0x87,_0x445b31._0x44344e,-_0x445b31._0x33d976,-_0x445b31._0x3b9fa0)],'baseDirectory':_0x41179e});function _0x46abea(_0xa3e2ab,_0x283aaa,_0x510d13,_0x414c36){return _0x4e4e63(_0x414c36- -0x194,_0x510d13,_0x510d13-_0x26c68f._0x4ce4ff,_0x414c36-0x1d0);}function _0x46536f(_0x45dfb0,_0x262012,_0x5f29ab,_0x1c9919){return _0x4e4e63(_0x262012- -0x16f,_0x1c9919,_0x5f29ab-0x12a,_0x1c9919-_0x3e47bc._0x578a47);}return void 0x0;}});}var TODO_STATUSES=new Set([_0x41c53b(0x530,0x63a,0x7bf,0x6dd),_0x41c53b(0x661,0x509,0x628,0x4a4),_0x42babe(0x37a,0x3c4,0x2fe,0x322)]),TODO_PRIORITIES=new Set([_0x41c53b(0x497,0x5d2,0x6c3,0x594),_0x42babe(0x2fa,0x475,0x3e3,0x1bd),_0x41c53b(0x5af,0x5e2,0x704,0x4ed)]);function isTodoStatus(_0x2ec1d){const _0x383b46={_0x5eaece:0x49d,_0x102183:0x326,_0x3bc025:0x292,_0x5e6e7d:0x2dc,_0x596d8d:0x27c,_0x22df2e:0x27d,_0x14e2f6:0x33e},_0x20a03b={_0x52c2db:0x577},_0x458b9a={_0x26e105:0xaf};function _0x331468(_0x36aac2,_0xd05b1b,_0x5af3ca,_0x1bc39f){return _0x42babe(_0x5af3ca- -0x24,_0xd05b1b-0x13b,_0xd05b1b,_0x1bc39f-_0x458b9a._0x26e105);}function _0x397027(_0x215b57,_0x5d0906,_0x5a816b,_0x32a38e){return _0x41c53b(_0x215b57-0x2d,_0x5a816b- -_0x20a03b._0x52c2db,_0x215b57,_0x32a38e-0x25);}return typeof _0x2ec1d===_0x331468(0x3df,_0x383b46._0x5eaece,_0x383b46._0x102183,_0x383b46._0x3bc025)&&TODO_STATUSES[_0x331468(_0x383b46._0x5e6e7d,_0x383b46._0x596d8d,_0x383b46._0x22df2e,_0x383b46._0x14e2f6)](_0x2ec1d);}function isTodoPriority(_0x24feb8){const _0x530c49={_0x1126e8:0x12a,_0x56f308:0x18e,_0x4946ae:0xab,_0x3b8ff0:0xfe},_0x24fbc0={_0x85ef3:0x1a3,_0x8f089f:0x9,_0x43ce61:0x17f};function _0x16c23d(_0x3aa69d,_0x176857,_0x398333,_0x5cacc7){return _0x42babe(_0x5cacc7- -_0x24fbc0._0x85ef3,_0x176857-_0x24fbc0._0x8f089f,_0x176857,_0x5cacc7-_0x24fbc0._0x43ce61);}return typeof _0x24feb8==='string'&&TODO_PRIORITIES[_0x16c23d(_0x530c49._0x1126e8,_0x530c49._0x56f308,_0x530c49._0x4946ae,_0x530c49._0x3b8ff0)](_0x24feb8);}var TodoStore=class{[_0x41c53b(0x540,0x3c9,0x3f9,0x2d3)]=new Map();[_0x42babe(0x19e,0xb5,0x112,0x241)](_0x2bbad9){const _0x2c8f8f={_0x4a5eac:0x295,_0x29fee0:0x1e0,_0x289363:0xf6},_0x5dc110={_0x3047d7:0x43};function _0xc30f66(_0x460c60,_0x566d49,_0x2b1562,_0x71e8dc){return _0x41c53b(_0x460c60-0x1f3,_0x566d49- -0x5a9,_0x71e8dc,_0x71e8dc-_0x5dc110._0x3047d7);}return this[_0xc30f66(-_0x2c8f8f._0x4a5eac,-_0x2c8f8f._0x29fee0,-0x34c,-_0x2c8f8f._0x289363)]['get'](_0x2bbad9)??[];}[_0x41c53b(0x4c5,0x5a5,0x4d7,0x672)](_0x235785,_0x566b4b){const _0x76f6ac={_0x3a6970:0x49,_0x372d89:0x62a,_0x24d851:0x5a3},_0x59e3eb={_0x38b484:0x1af,_0x24b75a:0xcc};function _0x5dec89(_0x10a9fa,_0x58a8d9,_0x44a833,_0x3b8a6b){return _0x42babe(_0x44a833-_0x59e3eb._0x38b484,_0x58a8d9-_0x59e3eb._0x24b75a,_0x10a9fa,_0x3b8a6b-0x87);}function _0x55b144(_0x48a02a,_0x4bcd63,_0x5aceb8,_0x2c6d63){return _0x42babe(_0x2c6d63- -0x88,_0x4bcd63-0x9a,_0x48a02a,_0x2c6d63-0x1cf);}this[_0x55b144(-0x12,0xe8,-_0x76f6ac._0x3a6970,0xd1)][_0x5dec89(0x591,_0x76f6ac._0x372d89,_0x76f6ac._0x24d851,0x65a)](_0x235785,_0x566b4b);}[_0x41c53b(0x558,0x562,0x672,0x6c5)](_0x20c4e8){const _0x2c5434={_0xb05472:0xb,_0x1e5ce4:0xf,_0x536c2a:0x284,_0x162d2b:0xc5,_0x1102b8:0xe5,_0x1c401c:0x114,_0xd7dc23:0x3e,_0x1e4b41:0x4c,_0x3b2f07:0x155,_0x4503b0:0x15c},_0x325985={_0x3c5f28:0x177,_0x1f8255:0x5ce};function _0x1990ea(_0x86b75b,_0x1b94bb,_0x2ac3a1,_0x563d97){return _0x41c53b(_0x86b75b-_0x325985._0x3c5f28,_0x2ac3a1- -_0x325985._0x1f8255,_0x1b94bb,_0x563d97-0x160);}const _0x3ff277=this['getTodos'](_0x20c4e8);function _0x1359df(_0x1d1aec,_0xda557f,_0x4783fe,_0x59bd9c){return _0x42babe(_0xda557f- -0x21e,_0xda557f-0x71,_0x59bd9c,_0x59bd9c-0x1a2);}const _0x7e793e={'total':_0x3ff277[_0x1359df(0x124,-_0x2c5434._0xb05472,_0x2c5434._0x1e5ce4,-0x111)],'pending':0x0,'inProgress':0x0,'completed':0x0};for(const _0x511667 of _0x3ff277){if(_0x511667[_0x1359df(_0x2c5434._0x536c2a,0x1a0,_0x2c5434._0x162d2b,0x117)]===_0x1990ea(0x143,-_0x2c5434._0x1102b8,0x6c,_0x2c5434._0x1c401c))_0x7e793e['pending']+=0x1;else{if(_0x511667['status']===_0x1990ea(_0x2c5434._0xd7dc23,-0x247,-_0x2c5434._0x162d2b,-0x1fb))_0x7e793e[_0x1990ea(-0xd9,-0xf7,_0x2c5434._0x1e4b41,-0x89)]+=0x1;else _0x7e793e[_0x1990ea(-0x1,_0x2c5434._0x3b2f07,0x1c,-_0x2c5434._0x4503b0)]+=0x1;}}return _0x7e793e;}};function validateTodos(_0x114b3d){const _0x347ae6={_0x2e9166:0x49b,_0x494508:0x660,_0x4dc0c8:0x61a,_0x224668:0x6fd,_0x418b6a:0x5a8,_0x139baf:0x191,_0x38525b:0x18b,_0x694bb1:0x46,_0x4989bb:0x57e,_0x37fd3e:0x432,_0x2b2ebe:0x4e3,_0x3307b7:0x587,_0x3bb50e:0x22b,_0x2f1653:0x37c,_0x2554a1:0x301,_0x33f5bb:0x522,_0x3b3cad:0x4d4,_0x4b0256:0x537,_0x5d856b:0x5ea,_0x9f393b:0xf0,_0x129e07:0x1a3,_0x2edc5a:0x596,_0x2c9764:0x29e,_0x592b5d:0x33d,_0x4cba15:0x1eb,_0x42a3a8:0x875,_0xb49e4:0x796,_0x3e12c9:0x721,_0x4ed653:0x10c,_0x29ed56:0x13a,_0x11aaa8:0x7c5,_0x319e0c:0x6d6,_0x3026bd:0x490,_0x35c679:0x311,_0x42574f:0x308,_0x13d6f4:0x387,_0x4b825c:0x2d2,_0x574257:0x334,_0x4e30d9:0x438,_0x1dcaa1:0x516,_0x5c0187:0x1f0,_0x5640ca:0x45c,_0x442fef:0x217,_0x18551:0x226,_0xf48b0:0x7b7,_0x3d219d:0x655,_0x2f4aff:0x747,_0x1a9e84:0xa9,_0x7f2db3:0xb2,_0x2fd1fa:0x7b5,_0x4ed998:0x777,_0x4e052e:0x6f1,_0x5385a2:0x7f2,_0x2390df:0x62f,_0x24b3c2:0x775,_0x47e683:0x19f,_0x38f6c0:0x2a2,_0xdd4b2c:0x201,_0x4bbdcd:0x394,_0x59c055:0x2fc},_0x1f90b3={_0x19da11:0x16d,_0xecaa07:0x167,_0x516f79:0x1aa},_0x5a15c7={_0x532632:0xd9,_0x4f612d:0x1db,_0x180787:0x24};if(!Array[_0x46f6c6(0x6bf,_0x347ae6._0x2e9166,_0x347ae6._0x494508,_0x347ae6._0x4dc0c8)](_0x114b3d[_0x46f6c6(_0x347ae6._0x224668,0x5a4,_0x347ae6._0x418b6a,0x653)])||_0x114b3d[_0x46f34d(_0x347ae6._0x139baf,_0x347ae6._0x38525b,_0x347ae6._0x694bb1,0x1a3)][_0x46f6c6(_0x347ae6._0x4989bb,0x6d8,0x4bf,0x5ea)]===0x0)throw new ToolExecutionError(_0x46f6c6(_0x347ae6._0x37fd3e,_0x347ae6._0x2b2ebe,0x479,_0x347ae6._0x3307b7),{'error':_0x46f34d(_0x347ae6._0x3bb50e,_0x347ae6._0x2f1653,0x24f,_0x347ae6._0x2554a1)});for(let _0x5db5a7=0x0;_0x5db5a7<_0x114b3d['todos'][_0x46f6c6(_0x347ae6._0x33f5bb,_0x347ae6._0x3b3cad,_0x347ae6._0x4b0256,_0x347ae6._0x5d856b)];_0x5db5a7+=0x1){const _0x14f3db=_0x114b3d[_0x46f34d(0x243,_0x347ae6._0x9f393b,0xca,_0x347ae6._0x129e07)][_0x5db5a7];if(!_0x14f3db||typeof _0x14f3db!==_0x46f6c6(0x76f,0x648,_0x347ae6._0x2edc5a,0x71c))throw new ToolExecutionError('Todo\x20'+(_0x5db5a7+0x1)+_0x46f34d(0xc3,_0x347ae6._0x2c9764,_0x347ae6._0x592b5d,_0x347ae6._0x4cba15),{'error':'invalid_todo_item'});if(typeof _0x14f3db['id']!==_0x46f6c6(_0x347ae6._0x42a3a8,_0x347ae6._0xb49e4,0x887,_0x347ae6._0x3e12c9)||_0x14f3db['id']['trim']()[_0x46f34d(_0x347ae6._0x4ed653,0x2a5,0x246,_0x347ae6._0x29ed56)]===0x0)throw new ToolExecutionError(_0x46f6c6(_0x347ae6._0x11aaa8,0x58e,0x715,_0x347ae6._0x319e0c)+(_0x5db5a7+0x1)+':\x20id\x20required',{'error':'invalid_todo_id'});if(typeof _0x14f3db[_0x46f34d(_0x347ae6._0x3026bd,0x20c,0x368,0x308)]!=='string'||_0x14f3db[_0x46f34d(_0x347ae6._0x35c679,0x1a6,0x2c5,_0x347ae6._0x42574f)][_0x46f34d(0x21e,0x1b9,_0x347ae6._0x13d6f4,0x242)]()['length']===0x0)throw new ToolExecutionError(_0x46f34d(0x255,_0x347ae6._0x4b825c,_0x347ae6._0x574257,0x226)+(_0x5db5a7+0x1)+_0x46f34d(0x1f1,0xcf,0x77,0x19d),{'error':_0x46f6c6(_0x347ae6._0x4e30d9,0x475,0x644,_0x347ae6._0x1dcaa1)});if(!isTodoStatus(_0x14f3db[_0x46f34d(_0x347ae6._0x5c0187,_0x347ae6._0x5640ca,0x375,0x2e5)]))throw new ToolExecutionError(_0x46f34d(_0x347ae6._0x442fef,0x1ed,0x2d3,_0x347ae6._0x18551)+(_0x5db5a7+0x1)+_0x46f6c6(0x8c3,_0x347ae6._0xf48b0,_0x347ae6._0x3d219d,_0x347ae6._0x2f4aff),{'error':_0x46f34d(0x309,0x270,0x186,0x1b4)});if(!isTodoPriority(_0x14f3db[_0x46f34d(_0x347ae6._0x1a9e84,0x25,0x1e8,0x13f)]))throw new ToolExecutionError(_0x46f34d(_0x347ae6._0x7f2db3,0x281,0x217,_0x347ae6._0x18551)+(_0x5db5a7+0x1)+':\x20invalid\x20priority',{'error':_0x46f6c6(_0x347ae6._0x2fd1fa,_0x347ae6._0x4ed998,0x579,_0x347ae6._0x4e052e)});}const _0x9181c6=_0x114b3d['todos'][_0x46f6c6(_0x347ae6._0x5385a2,0x68b,_0x347ae6._0x2390df,_0x347ae6._0x24b3c2)](_0x3459ce=>_0x3459ce['id']);function _0x46f34d(_0x5107cd,_0x40968f,_0x190eb0,_0x1227e6){return _0x42babe(_0x1227e6- -_0x5a15c7._0x532632,_0x40968f-_0x5a15c7._0x4f612d,_0x190eb0,_0x1227e6-_0x5a15c7._0x180787);}function _0x46f6c6(_0x34f666,_0x1096f0,_0x2b100f,_0x322d8b){return _0x41c53b(_0x34f666-_0x1f90b3._0x19da11,_0x322d8b-_0x1f90b3._0xecaa07,_0x2b100f,_0x322d8b-_0x1f90b3._0x516f79);}if(new Set(_0x9181c6)[_0x46f34d(0x1e7,0x2c2,_0x347ae6._0x47e683,_0x347ae6._0x38f6c0)]!==_0x9181c6[_0x46f34d(0x18c,0x45,0x30,_0x347ae6._0x29ed56)])throw new ToolExecutionError(_0x46f34d(_0x347ae6._0xdd4b2c,_0x347ae6._0x4bbdcd,_0x347ae6._0x59c055,0x29a),{'error':'duplicate_todo_ids'});}function createStatsProgress(_0x12e253){const _0x5e2d58={_0x2bad1a:0x5bd,_0x380136:0x4ef,_0x4363a9:0x6ad},_0x909e4d={_0x19896e:0x1d6,_0x2c3b44:0x13f,_0x21ec39:0x1c0};function _0x5ba267(_0x117808,_0x5b4692,_0x3ef71d,_0x5d5f69){return _0x42babe(_0x117808-_0x909e4d._0x19896e,_0x5b4692-_0x909e4d._0x2c3b44,_0x3ef71d,_0x5d5f69-_0x909e4d._0x21ec39);}function _0x498ffe(_0x47cd51,_0x2a8303,_0xd14ad,_0xe04942){return _0x41c53b(_0x47cd51-0x17b,_0x47cd51-0x13b,_0x2a8303,_0xe04942-0x15b);}return _0x12e253['total']>0x0?Math['round'](_0x12e253[_0x5ba267(0x550,_0x5e2d58._0x2bad1a,0x493,0x43e)]/_0x12e253[_0x5ba267(0x55b,_0x5e2d58._0x380136,0x6e1,_0x5e2d58._0x4363a9)]*0x64)+'%':'0%';}function createReminderItems(_0x2547b3){const _0x22fc20={_0x165d36:0x1f0,_0x47c433:0x203},_0x1c0c17={_0x1d6c33:0x101,_0x55be02:0x7e},_0x358ba0={_0x1e77e2:0x72,_0x4df132:0x40b,_0x282976:0x88};function _0x3be937(_0x366527,_0x3b0ef2,_0x47c9d8,_0x1c8823){return _0x41c53b(_0x366527-_0x358ba0._0x1e77e2,_0x1c8823- -_0x358ba0._0x4df132,_0x3b0ef2,_0x1c8823-_0x358ba0._0x282976);}function _0x175374(_0x47a8b3,_0x188a09,_0x542e6f,_0x4b9b34){return _0x41c53b(_0x47a8b3-0x17c,_0x188a09- -_0x1c0c17._0x1d6c33,_0x47a8b3,_0x4b9b34-_0x1c0c17._0x55be02);}return _0x2547b3[_0x3be937(0x239,_0x22fc20._0x165d36,0x383,_0x22fc20._0x47c433)](_0x341e94=>({'content':_0x341e94[_0x3be937(0x348,0x301,0x258,0x246)],'status':_0x341e94[_0x3be937(0x10a,0x12e,0x9e,0x223)],'id':_0x341e94['id']}));}function createStructuredResult(_0x27e191,_0x43606a,_0xd27c84,_0x3c5772){const _0x169fd3={_0x5e9764:0x3b,_0x4f0c12:0x12f};function _0x26abf8(_0x16622c,_0x2ab21c,_0x227854,_0x3aa605){return _0x42babe(_0x16622c- -0x24b,_0x2ab21c-_0x169fd3._0x5e9764,_0x227854,_0x3aa605-_0x169fd3._0x4f0c12);}function _0x2dda93(_0x471f46,_0xac48c3,_0x2ef44d,_0x29de8a){return _0x42babe(_0xac48c3- -0x337,_0xac48c3-0x193,_0x29de8a,_0x29de8a-0xd6);}return{'allCompleted':_0x3c5772,'items':_0x43606a['map'](_0x5bb42a=>({'id':_0x5bb42a['id'],'content':_0x5bb42a[_0x2dda93(0x1da,0xaa,0x53,0xd7)],'status':_0x5bb42a[_0x26abf8(0x173,0x20,0x1b1,0x2a6)],'priority':_0x5bb42a[_0x2dda93(-0x1d9,-0x11f,-0x1c5,0x14)],'createdAt':_0x5bb42a[_0x26abf8(0x2c,-0x68,0x114,0xc2)]})),'progress':createStatsProgress(_0xd27c84),'recentChanges':!![],'sessionId':_0x27e191,'stats':_0xd27c84,'todosWritten':_0x43606a['length']};}function createOutputText(_0x37ca55,_0x1c3cce){const _0x4488d1={_0xa049e3:0x4df,_0x4bb239:0x4c8,_0xb661b6:0x280,_0x3f93ac:0x30,_0x375576:0x11c,_0x16b025:0x181,_0x4c28c2:0x96,_0x1615d1:0xb},_0x36b444={_0x46c94e:0x11d,_0x51ee22:0x195},_0x3148c9={_0x1febe9:0x1bb};function _0x59f687(_0x47de6b,_0x2f8d92,_0x24ac08,_0x3b7a88){return _0x42babe(_0x47de6b- -_0x3148c9._0x1febe9,_0x2f8d92-0x149,_0x24ac08,_0x3b7a88-0x18c);}const _0x1f7888=JSON[_0x524345(0x4b3,_0x4488d1._0xa049e3,0x5ba,_0x4488d1._0x4bb239)](createReminderItems(_0x37ca55));function _0x524345(_0x2ad9cd,_0x1a878b,_0x3e73d9,_0xf5630b){return _0x42babe(_0xf5630b-_0x36b444._0x46c94e,_0x1a878b-_0x36b444._0x51ee22,_0x2ad9cd,_0xf5630b-0xd0);}if(_0x1c3cce)return _0x524345(0x56d,0x493,0x4ae,0x40a)+_0x37ca55[_0x524345(0x3af,0x407,_0x4488d1._0xb661b6,0x330)]+_0x59f687(0x22,_0x4488d1._0x3f93ac,-0x55,_0x4488d1._0x375576)+_0x1f7888+'.\x0a</system-reminder>';return _0x59f687(_0x4488d1._0x16b025,_0x4488d1._0x4c28c2,_0x4488d1._0x1615d1,0x170)+_0x1f7888+'.\x0a</system-reminder>';}function createTodoWriteTool(_0xf643c8=new TodoStore()){const _0x4ebaf5={_0x7cd77:0x407,_0x52f4fc:0x470,_0x579c9c:0x520,_0x2eaedd:0x4f5,_0x5afc48:0x581,_0x580678:0x5e2,_0x2329da:0x48f,_0x506179:0x45e,_0x89da18:0x415,_0x356b1e:0x510,_0x5aa9cb:0x3f4,_0x37d90d:0x4e0,_0x180b87:0x535,_0x35f469:0x3c7,_0x57a029:0x55a,_0x1dd5e4:0x3e6,_0x5edb15:0x53a,_0x331bb6:0x3ba,_0x1e28c3:0x500,_0x5149fa:0x46e,_0x5e3e3a:0x337,_0x45a6ff:0x3d6},_0x3d2756={_0x10fcab:0x54b,_0xf2e3bc:0x6b4,_0xa79fcf:0x573,_0xc2b9b4:0xf7,_0x362fe7:0x8f,_0x2fbb39:0x1e,_0x11819d:0x67f,_0x1d0eaf:0x94,_0x509a52:0x223,_0x4761d6:0x37},_0x4fc5ae={_0x4d5246:0x4b7},_0x15f44b={_0x31db3c:0xda},_0x11fb33={_0x258abe:0x17};function _0x423e79(_0x211dac,_0x48f357,_0x54d7da,_0x59606e){return _0x41c53b(_0x211dac-0xcd,_0x59606e- -_0x11fb33._0x258abe,_0x211dac,_0x59606e-0xa5);}function _0x18449d(_0x4f193f,_0x27294d,_0x2a226f,_0x4dfc03){return _0x42babe(_0x2a226f-0x1f0,_0x27294d-_0x15f44b._0x31db3c,_0x4f193f,_0x4dfc03-0x1e9);}return defineTool({'name':_0x18449d(_0x4ebaf5._0x7cd77,_0x4ebaf5._0x52f4fc,_0x4ebaf5._0x579c9c,_0x4ebaf5._0x2eaedd),'description':_0x18449d(0x5c9,0x527,_0x4ebaf5._0x5afc48,0x61d),'inputSchema':{'type':_0x18449d(_0x4ebaf5._0x580678,_0x4ebaf5._0x2329da,0x535,0x5d2),'properties':{'todos':{'type':_0x423e79(_0x4ebaf5._0x506179,0x624,_0x4ebaf5._0x89da18,_0x4ebaf5._0x356b1e),'items':{'type':_0x18449d(_0x4ebaf5._0x5aa9cb,_0x4ebaf5._0x37d90d,_0x4ebaf5._0x180b87,_0x4ebaf5._0x35f469),'properties':{'content':{'type':_0x423e79(0x5f8,_0x4ebaf5._0x57a029,0x597,0x5a3)},'status':{'type':_0x423e79(0x530,0x540,0x644,0x5a3)},'priority':{'type':'string'},'id':{'type':_0x18449d(_0x4ebaf5._0x1dd5e4,0x652,_0x4ebaf5._0x5edb15,0x545)},'createdAt':{'type':_0x18449d(0x4de,0x6bd,0x53a,_0x4ebaf5._0x331bb6)}},'required':['content',_0x18449d(_0x4ebaf5._0x1e28c3,0x45c,0x5ae,_0x4ebaf5._0x5149fa),_0x423e79(_0x4ebaf5._0x5e3e3a,_0x4ebaf5._0x45a6ff,0x596,0x471),'id']}}},'required':['todos']},async *'execute'(_0x15943d,_0xc0abc){const _0x459858={_0x5a9d79:0xde,_0x5d595a:0xd8};function _0x1848c0(_0xec165e,_0x20b8db,_0x10ef15,_0x5d0e80){return _0x423e79(_0x20b8db,_0x20b8db-0x3f,_0x10ef15-0xf5,_0xec165e- -_0x4fc5ae._0x4d5246);}const _0x3122ab=_0x15943d;function _0x432858(_0x8161c6,_0x1beaea,_0xa06308,_0x1c454a){return _0x18449d(_0xa06308,_0x1beaea-_0x459858._0x5a9d79,_0x1beaea-_0x459858._0x5d595a,_0x1c454a-0x47);}validateTodos(_0x3122ab);const _0x2b3fa7=_0xc0abc[_0x432858(_0x3d2756._0x10fcab,0x5e0,_0x3d2756._0xf2e3bc,_0x3d2756._0xa79fcf)]||'default',_0x4fc23f=new Date()[_0x1848c0(-0x4,_0x3d2756._0xc2b9b4,-_0x3d2756._0x362fe7,-0x61)](),_0x47f2d3=_0x3122ab[_0x1848c0(_0x3d2756._0x2fbb39,0x2f,0x1a,0x168)][_0x1848c0(0x140,0x111,0xd7,0x2c1)](_0x27fe22=>({'id':_0x27fe22['id'],'content':_0x27fe22[_0x1848c0(0x183,0xaf,0x59,0x1d2)],'status':_0x27fe22[_0x1848c0(0x160,0x177,0x103,0x4c)],'priority':_0x27fe22[_0x1848c0(-0x46,-0xd3,-0xc7,-0x19c)],'sessionId':_0x2b3fa7,'createdAt':_0x27fe22[_0x1848c0(0x19,0x11b,-0x11d,-0xc0)]||_0x4fc23f,'updatedAt':_0x4fc23f}));_0xf643c8[_0x432858(0x651,0x5fd,0x552,_0x3d2756._0x11819d)](_0x2b3fa7,_0x47f2d3);const _0x12f98b=_0xf643c8[_0x1848c0(_0x3d2756._0x1d0eaf,0x11a,0x5a,0x187)](_0x2b3fa7),_0x481f81=_0x47f2d3['length']>0x0&&_0x47f2d3[_0x1848c0(-0x11a,-_0x3d2756._0x509a52,-0xa3,_0x3d2756._0x4761d6)](_0x324e00=>_0x324e00[_0x1848c0(0x160,0x8f,0x295,0x15d)]===_0x432858(0x5ec,0x642,0x53c,0x565));return createToolOutput(createOutputText(_0x47f2d3,_0x481f81),createStructuredResult(_0x2b3fa7,_0x47f2d3,_0x12f98b,_0x481f81));}});}import{mkdir as _0x430b2c,writeFile as _0x23ffa0}from'fs/promises';import*as _0x1ee628 from'path';function sanitizeFileName(_0x28352d){const _0x14f156={_0x5443c4:0xcf,_0x4f506a:0x1e1,_0x549089:0xd6},_0x3875e6={_0x27e2c1:0xb7,_0x250ca9:0x1c5};function _0x4736fc(_0x2bdb2,_0x5dc209,_0x122cda,_0x33d4eb){return _0x42babe(_0x122cda- -_0x3875e6._0x27e2c1,_0x5dc209-0x193,_0x2bdb2,_0x33d4eb-_0x3875e6._0x250ca9);}return _0x28352d[_0x4736fc(_0x14f156._0x5443c4,_0x14f156._0x4f506a,_0x14f156._0x549089,-0x48)](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x1e90f7,_0x4c3a4f){const _0x2f0b8c={_0x53ed0b:0x6a,_0x3c7d5b:0x171,_0x4b6dab:0xad,_0x20cb34:0x100,_0x1c27b3:0x63,_0x24cbba:0x46c,_0x11b539:0x5d,_0x5a74e9:0x20,_0x56e292:0x4d6,_0x373740:0x11,_0x4c6d6a:0x190,_0x547d2f:0x114,_0x95fa63:0x11,_0x410d42:0x683,_0x5358b2:0x1c6,_0x4714a1:0xe6,_0x4fefa2:0x19b,_0x3cdba2:0x504,_0x39ecdd:0x5f5,_0x19b4e3:0x5fc,_0xb4eb57:0x11d,_0x5ba8f2:0xc,_0x119051:0x1,_0x343fa4:0x69b,_0x1f30bc:0x5ca,_0x200520:0x6c6,_0x15e5a1:0x519,_0x594dc7:0x67b,_0x17c8ab:0x53c,_0x36c5bf:0x3d,_0x248181:0x131,_0x56b415:0x317,_0x1fbda9:0x88,_0x793ac0:0x1a1,_0x1b80dd:0x1d2,_0x47dabc:0x203,_0x82d315:0x101,_0x117224:0x86,_0x5ce908:0x49,_0x46edf9:0xc5,_0x202792:0x7c,_0x32d9dc:0x11,_0x3c226d:0x1e4,_0x460023:0x9d,_0x3d9fee:0x605,_0x3b16f6:0x65c},_0x2f10b4={_0xd91eb5:0x2b2,_0x2af664:0x1c6},_0x1f2e71={_0x4d2be9:0x70},{maxBytes:_0x2905d2,sessionDir:_0xde3ed1}=_0x4c3a4f;if(!_0x1e90f7[_0x42c196(-0x5a,0x72,0xe2,_0x2f0b8c._0x53ed0b)]||Buffer[_0x42c196(-_0x2f0b8c._0x3c7d5b,-0x2f3,-_0x2f0b8c._0x4b6dab,-0x1b3)](_0x1e90f7['output'],_0x42c196(-_0x2f0b8c._0x20cb34,-0x6e,0x9c,0x1))<=_0x2905d2)return _0x1e90f7;function _0x217705(_0x122909,_0x3c70a1,_0x3a2bdc,_0x585d95){return _0x42babe(_0x122909-0x31b,_0x3c70a1-_0x1f2e71._0x4d2be9,_0x585d95,_0x585d95-0xac);}const _0x1c15fc=Buffer['byteLength'](_0x1e90f7[_0x42c196(0x195,_0x2f0b8c._0x1c27b3,-0x39,0x6a)],_0x217705(0x5ce,0x6d9,_0x2f0b8c._0x24cbba,0x711));if(!_0xde3ed1){const _0x114fa8=_0x1e90f7['output'][_0x42c196(_0x2f0b8c._0x11b539,0x250,_0x2f0b8c._0x5a74e9,0xce)](0x0,_0x2905d2);return{..._0x1e90f7,'output':_0x114fa8+(_0x42c196(0x45,-0x21,-0x7f,-0x69)+_0x2905d2+_0x217705(0x470,_0x2f0b8c._0x56e292,0x5dc,0x4b4)+_0x1c15fc+'\x20bytes).\x20No\x20session\x20directory\x20available\x20for\x20file\x20offload.\x0a</system-reminder>'),'meta':{..._0x1e90f7[_0x42c196(-0x3c,-0xe7,-0xd4,_0x2f0b8c._0x373740)],'truncated':!![],'originalBytes':_0x1c15fc,'transforms':[..._0x1e90f7[_0x42c196(_0x2f0b8c._0x4c6d6a,_0x2f0b8c._0x547d2f,0xb9,_0x2f0b8c._0x95fa63)][_0x217705(0x66a,0x72a,0x5e2,_0x2f0b8c._0x410d42)],_0x42c196(0x5c,-0x180,-_0x2f0b8c._0x5358b2,-_0x2f0b8c._0x4714a1)]}};}const _0x407489=_0x1e90f7[_0x42c196(0x246,_0x2f0b8c._0x4fefa2,0x1ee,0xc5)]+'_'+sanitizeFileName(_0x1e90f7['callId'])+'.log',_0x7288df=_0x1ee628[_0x217705(0x616,_0x2f0b8c._0x3cdba2,_0x2f0b8c._0x39ecdd,_0x2f0b8c._0x19b4e3)](_0xde3ed1,_0x407489);function _0x42c196(_0x2aae4e,_0x16955b,_0xa9700c,_0x39bc96){return _0x42babe(_0x39bc96- -_0x2f10b4._0xd91eb5,_0x16955b-_0x2f10b4._0x2af664,_0x2aae4e,_0x39bc96-0x199);}await _0x430b2c(_0xde3ed1,{'recursive':!![]}),await _0x23ffa0(_0x7288df,_0x1e90f7[_0x42c196(_0x2f0b8c._0xb4eb57,-0x79,0x28,0x6a)],_0x42c196(0x106,_0x2f0b8c._0x5ba8f2,0x183,_0x2f0b8c._0x119051));let _0x50eb6a=_0x1e90f7['output'][_0x217705(_0x2f0b8c._0x343fa4,_0x2f0b8c._0x1f30bc,0x52d,0x5cf)](0x0,_0x2905d2);const _0x28bcf4=_0x50eb6a[_0x217705(0x603,0x5f1,_0x2f0b8c._0x200520,_0x2f0b8c._0x15e5a1)]('\x0a');_0x28bcf4>_0x2905d2*0.5&&(_0x50eb6a=_0x50eb6a[_0x217705(0x69b,_0x2f0b8c._0x594dc7,_0x2f0b8c._0x17c8ab,0x5f4)](0x0,_0x28bcf4));const _0x2dcea5=['','<system-reminder>',_0x42c196(_0x2f0b8c._0x36c5bf,-0x30,-0x210,-_0x2f0b8c._0x248181)+_0x2905d2+'\x20bytes\x20(total:\x20'+_0x1c15fc+_0x42c196(-_0x2f0b8c._0x56b415,-0x203,-_0x2f0b8c._0x1fbda9,-_0x2f0b8c._0x793ac0),'Full\x20output\x20saved\x20to:\x20'+_0x7288df,_0x42c196(0x155,_0x2f0b8c._0x1b80dd,_0x2f0b8c._0x47dabc,0xde),_0x42c196(0xcb,_0x2f0b8c._0x82d315,_0x2f0b8c._0x117224,0xff)][_0x42c196(-0x13a,0x127,-0xad,_0x2f0b8c._0x5ce908)]('\x0a');return{..._0x1e90f7,'output':_0x50eb6a+_0x2dcea5,'meta':{..._0x1e90f7[_0x42c196(_0x2f0b8c._0x46edf9,_0x2f0b8c._0x202792,0x12b,_0x2f0b8c._0x32d9dc)],'truncated':!![],'originalBytes':_0x1c15fc,'transforms':[..._0x1e90f7['meta'][_0x42c196(0x1bd,_0x2f0b8c._0x3c226d,0xf3,_0x2f0b8c._0x460023)],_0x217705(0x4e7,_0x2f0b8c._0x3d9fee,_0x2f0b8c._0x3b16f6,0x536)]}};}function createUpdateTopicTool(){const _0xdf44b={_0x26988e:0x134,_0x242f78:0x4d,_0x470b0c:0x111,_0x406fa8:0x38,_0x4689d9:0x1d8,_0x30467e:0x215,_0x75f4ac:0x8d,_0x3533ee:0x13d,_0x1ae9f9:0x297},_0x91c4cd={_0x42fcd2:0x564,_0xc30312:0x27a,_0x358254:0x395,_0x53ccd0:0xfb,_0x517bc5:0x172,_0x228273:0x450,_0xb67266:0x22e,_0x1880c5:0x224,_0x6fb2ab:0x257},_0x425605={_0x1ccc13:0x517},_0x1024e3={_0x158400:0xfa,_0x3890b6:0x4a4};function _0x11f221(_0x33df4e,_0x1b7632,_0xfacb48,_0x3e1a48){return _0x41c53b(_0x33df4e-_0x1024e3._0x158400,_0x33df4e- -_0x1024e3._0x3890b6,_0x3e1a48,_0x3e1a48-0x27);}function _0x1a1bfa(_0x417add,_0x15493c,_0x3d9496,_0x8418d){return _0x41c53b(_0x417add-0x9f,_0x3d9496- -_0x425605._0x1ccc13,_0x8418d,_0x8418d-0x1bb);}return defineTool({'name':'UpdateTopic','description':_0x1a1bfa(_0xdf44b._0x26988e,-_0xdf44b._0x242f78,-0x8,0xf0),'inputSchema':{'type':_0x11f221(_0xdf44b._0x470b0c,-0x48,-_0xdf44b._0x406fa8,_0xdf44b._0x4689d9),'properties':{'topic':{'type':_0x1a1bfa(_0xdf44b._0x30467e,-0x73,0xa3,_0xdf44b._0x75f4ac)}},'required':[_0x11f221(_0xdf44b._0x3533ee,0x224,_0xdf44b._0x1ae9f9,0x235)]},async *'execute'(_0x170f2e,_0x485e4e){const _0x5a3f20={_0x2ce88b:0x193,_0x5d7a95:0x1af,_0x3c1f18:0x58},_0x3400dd={_0x1d2fce:0x44e,_0x2dbe90:0x1b1};function _0x234f77(_0x280b93,_0x287371,_0xfd7fce,_0x3392f6){return _0x11f221(_0x280b93-_0x3400dd._0x1d2fce,_0x287371-0x12d,_0xfd7fce-_0x3400dd._0x2dbe90,_0x3392f6);}const {topic:_0xb8af61}=_0x170f2e;if(typeof _0xb8af61!==_0x234f77(_0x91c4cd._0x42fcd2,0x4af,0x5c1,0x3dd)||_0xb8af61[_0xbddc74(_0x91c4cd._0xc30312,_0x91c4cd._0x358254,0x211,_0x91c4cd._0x53ccd0)]()[_0xbddc74(_0x91c4cd._0x517bc5,0xfd,0x84,0xa6)]===0x0)throw new ToolExecutionError(_0x234f77(0x5d7,0x592,0x656,_0x91c4cd._0x228273),{'error':'invalid_topic'});function _0xbddc74(_0x5d4b08,_0x1db3e9,_0x173016,_0x3725e4){return _0x11f221(_0x5d4b08-_0x5a3f20._0x2ce88b,_0x1db3e9-_0x5a3f20._0x5d7a95,_0x173016-_0x5a3f20._0x3c1f18,_0x3725e4);}const _0x148bea=_0xb8af61[_0xbddc74(0x27a,0x1e3,_0x91c4cd._0xb67266,0x1d5)]();return _0x485e4e['setTopic']?.(_0x148bea),yield createToolOutput(_0x234f77(0x360,_0x91c4cd._0x1880c5,_0x91c4cd._0x6fb2ab,0x336)+_0x148bea+'\x22',{'topic':_0x148bea}),void 0x0;}});}import{readFile as _0xef8d21,stat as _0x2869e9}from'fs/promises';import*as _0x391652 from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x42babe(0x2b6,0x15e,0x225,0x31a),_0x42babe(0x362,0x39c,0x2ff,0x49f),_0x41c53b(0x60d,0x5e2,0x6e2,0x4c6),_0x41c53b(0x602,0x4be,0x49f,0x516)]),PNG_SIGNATURE=Buffer[_0x42babe(0x284,0x3ed,0x1f0,0x172)]([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x56fc98,_0x1bd522){const _0x4c768b={_0x2e9bc2:0x161,_0x22f676:0xef,_0x2fe62e:0x28a,_0x3bd15b:0x162,_0x1c8c15:0x5b,_0x21895a:0x181,_0x4dcbae:0x46c,_0x1fb3b9:0x405,_0x354ec6:0x3ce,_0x42f87b:0x2ec,_0x384386:0x3f1,_0x5114a5:0x310,_0x40a196:0x1ca,_0x223fc1:0x2a1,_0x1c976a:0xdb,_0x10fcc0:0x88,_0x535b4a:0x1a3,_0x5327ae:0x186,_0x29248a:0xa2,_0x259d40:0x38b,_0xfd3cb9:0x4d2,_0x34b59c:0x385,_0x1c3f90:0x16c,_0x341cd1:0x438,_0x4dff0d:0x2a2,_0x312fba:0x196,_0x15e011:0x32c,_0x17761e:0x2ed,_0x56bdfd:0x11d,_0x3344a8:0x1b8,_0xf7227d:0x16b,_0x58f73c:0x127,_0x534f56:0x281,_0x12b98b:0x26e,_0x1dc1a1:0x1c5,_0x23d306:0x1c4,_0xd9cf68:0x62,_0x4939cc:0xdd,_0x223d77:0x168,_0x92785b:0x11,_0x2ce0b9:0x3,_0x4161b2:0x76,_0x295404:0x199,_0x17e123:0xd4,_0x10ded2:0x1db,_0x81fe12:0x4e2,_0x345364:0x549,_0x28b28b:0x356,_0x43fb3e:0x6e},_0x160e2b={_0x123db8:0xb3},_0x3dffa6={_0xfe7011:0xb7,_0x2c552e:0x1ec};if(_0x56fc98[_0x57c065(0x1c7,0x142,_0x4c768b._0x2e9bc2,_0x4c768b._0x22f676)](0x0,0x8)[_0x57c065(-_0x4c768b._0x2fe62e,-_0x4c768b._0x3bd15b,-0xa3,-0xe8)](PNG_SIGNATURE))return'image/png';if(_0x56fc98[0x0]===0xff&&_0x56fc98[0x1]===0xd8&&_0x56fc98[0x2]===0xff)return _0x57c065(-0x223,-0x191,-_0x4c768b._0x1c8c15,-_0x4c768b._0x21895a);const _0x1deca1=_0x56fc98[_0x76ee66(_0x4c768b._0x4dcbae,0x49d,_0x4c768b._0x1fb3b9,_0x4c768b._0x354ec6)](0x0,0x6)[_0x76ee66(_0x4c768b._0x42f87b,0x334,0x2ae,_0x4c768b._0x384386)]('ascii');function _0x57c065(_0x2b4962,_0x205f16,_0x27c5a2,_0x44fb42){return _0x42babe(_0x205f16- -0x2be,_0x205f16-_0x3dffa6._0xfe7011,_0x2b4962,_0x44fb42-_0x3dffa6._0x2c552e);}if(_0x1deca1==='GIF87a'||_0x1deca1===_0x76ee66(0x435,0x4b5,0x3b0,0x522))return'image/gif';if(_0x56fc98[_0x76ee66(0x46c,0x4d4,_0x4c768b._0x5114a5,0x41a)](0x0,0x4)[_0x76ee66(_0x4c768b._0x42f87b,_0x4c768b._0x40a196,_0x4c768b._0x223fc1,0x22a)](_0x57c065(_0x4c768b._0x1c976a,-_0x4c768b._0x10fcc0,-_0x4c768b._0x535b4a,0x28))===_0x76ee66(_0x4c768b._0x5327ae,0x19b,_0x4c768b._0x29248a,0xad)&&_0x56fc98[_0x76ee66(_0x4c768b._0x4dcbae,_0x4c768b._0x259d40,_0x4c768b._0xfd3cb9,_0x4c768b._0x34b59c)](0x8,0xc)[_0x76ee66(_0x4c768b._0x42f87b,_0x4c768b._0x1c3f90,0x26c,_0x4c768b._0x341cd1)](_0x76ee66(_0x4c768b._0x4dff0d,_0x4c768b._0x312fba,0x2f7,_0x4c768b._0x15e011))==='WEBP')return _0x76ee66(0x424,_0x4c768b._0x17761e,0x336,0x4e8);function _0x76ee66(_0x51a799,_0x2a93de,_0x20bd4e,_0x2d029a){return _0x42babe(_0x51a799-0x6c,_0x2a93de-_0x160e2b._0x123db8,_0x20bd4e,_0x2d029a-0xe8);}const _0x199268=_0x391652[_0x57c065(-_0x4c768b._0x56bdfd,-0x30,-_0x4c768b._0x3344a8,0xd2)](_0x1bd522)[_0x57c065(_0x4c768b._0xf7227d,0x20,_0x4c768b._0x58f73c,-0x21)]();if(_0x199268===_0x76ee66(_0x4c768b._0x534f56,_0x4c768b._0x12b98b,_0x4c768b._0x1dc1a1,_0x4c768b._0x23d306))return _0x57c065(0xe6,_0x4c768b._0xd9cf68,_0x4c768b._0x4939cc,_0x4c768b._0x223d77);if(_0x199268===_0x57c065(0x189,_0x4c768b._0x92785b,0xbe,_0x4c768b._0x2ce0b9)||_0x199268===_0x57c065(-0x13b,-_0x4c768b._0x4161b2,0xe1,0x6))return _0x76ee66(_0x4c768b._0x295404,_0x4c768b._0x17e123,_0x4c768b._0x10ded2,0x22e);if(_0x199268==='.gif')return _0x76ee66(0x409,_0x4c768b._0x81fe12,_0x4c768b._0x345364,_0x4c768b._0x28b28b);if(_0x199268===_0x57c065(-0x110,0x5f,0x1ae,-_0x4c768b._0x43fb3e))return'image/webp';return void 0x0;}function normalizeDetail(_0x31c847){const _0x3c58f1={_0x22062a:0x5c9,_0x38e4db:0x4f9,_0x1b10d7:0x47f,_0x5acb08:0x4c6,_0x56bf9c:0x566,_0x2b1c9a:0x37e,_0x514f1b:0x47,_0x28b2e8:0xe0,_0x24e904:0x93},_0x4fbc8f={_0x503d01:0x2e0,_0x21f202:0xf1,_0x39b774:0x9a},_0x2250f5={_0x5a5555:0x1de,_0x374895:0x126};function _0x3d006e(_0x5bdbc4,_0x2c8eb2,_0x21d593,_0x29505b){return _0x42babe(_0x2c8eb2-_0x2250f5._0x5a5555,_0x2c8eb2-0xed,_0x29505b,_0x29505b-_0x2250f5._0x374895);}if(_0x31c847===void 0x0)return void 0x0;const _0x5335b0=_0x31c847[_0x3d006e(_0x3c58f1._0x22062a,_0x3c58f1._0x38e4db,_0x3c58f1._0x1b10d7,_0x3c58f1._0x5acb08)]()['toLowerCase']();if(!SUPPORTED_DETAILS[_0x3d006e(0x4b2,_0x3c58f1._0x1b10d7,_0x3c58f1._0x56bf9c,_0x3c58f1._0x2b1c9a)](_0x5335b0))throw new ToolExecutionError(_0x5544c7(_0x3c58f1._0x514f1b,-0x54,-_0x3c58f1._0x28b2e8,-_0x3c58f1._0x24e904)+_0x31c847,{'detail':_0x31c847});function _0x5544c7(_0x512516,_0x56297c,_0xe7b247,_0x8ddb21){return _0x42babe(_0x56297c- -_0x4fbc8f._0x503d01,_0x56297c-_0x4fbc8f._0x21f202,_0x8ddb21,_0x8ddb21-_0x4fbc8f._0x39b774);}return _0x5335b0;}function createViewFileTool(_0x1cd540={}){const _0xdeb694={_0x7142d2:0x68,_0x3bfd41:0x281,_0x2c1364:0x3ec,_0x327f79:0x101,_0x4c3a1f:0x359,_0x3887fa:0x15b,_0x5b8145:0x209,_0x1b4c12:0x243,_0x270055:0x1da,_0x6c4a1e:0x20e,_0x242d6e:0x53,_0x1e0da0:0x29,_0x5ceaf0:0x5e,_0x9588a4:0x11a,_0x2491d9:0x70,_0x170315:0x112,_0x547e9b:0x22a,_0x24db82:0x384,_0x5f2853:0x3d2,_0x142bea:0x12a},_0x581f20={_0x14f4d6:0x85,_0x12d96f:0x7e,_0x13b0ad:0x19b,_0x40d477:0x77,_0x466f2a:0x2d7,_0x14355f:0x150,_0x35efd3:0x3a,_0x199e69:0x8e,_0x392388:0x133,_0x3c77ba:0x16,_0x456ad5:0xa5,_0xf22695:0x17,_0x4293ac:0xa,_0x397981:0x1cf,_0x58bc2b:0x9a,_0x52453c:0xe7,_0x1f7b12:0x59,_0x4ae002:0x231,_0x4d65a4:0xcd,_0x2897ed:0x175,_0x511755:0x23b,_0x57262f:0xfd,_0x267998:0x128,_0x9192fa:0x142,_0x19b6cd:0xa1,_0x1431c6:0x249,_0x34fed7:0x13e,_0x445c9f:0x24e,_0x18eba6:0x101,_0x6be55e:0x19a,_0x72e5ad:0x89,_0x759408:0x247,_0x9acab8:0x11b,_0x1da98c:0x97,_0x274423:0x263,_0x570ba5:0x15b,_0x110e5b:0x23a,_0x4fb13c:0x195,_0x554542:0x187,_0x386f9d:0x1c9,_0x333d60:0x13b,_0x18ea42:0x222,_0x417beb:0x192,_0x11fe5e:0x4a,_0xb7e75c:0x3f,_0x56b37b:0x11a,_0x210bc1:0x84,_0x2a2ba6:0xa6,_0xd97f34:0x52,_0x14889d:0x6f,_0x2dc62f:0x10f,_0x1d11c2:0xf6,_0x17ed43:0x159,_0x2bc829:0x150,_0x4d325b:0x1c,_0x30e16e:0x19,_0x5c7563:0x1ae,_0x23d35a:0x1a,_0x53c891:0x278,_0x58f617:0x2a1},_0x5171a6={_0x3bcc3a:0x2a,_0x82d6e3:0x1da},_0x28d268={_0x329323:0x1e9},_0x556e76={_0x545a5d:0x44},_0x52ad82=_0x391652[_0x45c9cd(-0x18,-0x10,_0xdeb694._0x7142d2,-0xce)](_0x1cd540[_0x13efcb(_0xdeb694._0x3bfd41,_0xdeb694._0x2c1364,_0xdeb694._0x327f79,0x241)]??process[_0x45c9cd(-_0xdeb694._0x4c3a1f,-_0xdeb694._0x3887fa,-0x385,-_0xdeb694._0x5b8145)]()),_0x158a57=_0x1cd540[_0x13efcb(_0xdeb694._0x1b4c12,_0xdeb694._0x270055,_0xdeb694._0x6c4a1e,0x2cf)]??[];function _0x45c9cd(_0x474a42,_0x11a8e4,_0x3fa3a9,_0x85d780){return _0x41c53b(_0x474a42-_0x556e76._0x545a5d,_0x85d780- -0x5a8,_0x11a8e4,_0x85d780-0x18e);}function _0x13efcb(_0x59ac26,_0x2aa768,_0x5e36db,_0x3aa8d7){return _0x42babe(_0x59ac26- -0x13,_0x2aa768-_0x28d268._0x329323,_0x3aa8d7,_0x3aa8d7-0x1b2);}const _0x343dd6=_0x1cd540[_0x45c9cd(_0xdeb694._0x242d6e,_0xdeb694._0x1e0da0,_0xdeb694._0x5ceaf0,-_0xdeb694._0x9588a4)]??DEFAULT_MAX_BYTES,_0x193874=_0x1cd540[_0x45c9cd(-_0xdeb694._0x2491d9,-0x1ed,-0x46,-_0xdeb694._0x170315)]??_0x13efcb(0x14c,_0xdeb694._0x547e9b,0x210,0x86);return defineTool({'name':_0x193874,'description':_0x13efcb(_0xdeb694._0x24db82,0x2a1,0x3ea,0x25f),'inputSchema':{'type':_0x13efcb(0x332,0x1f6,_0xdeb694._0x5f2853,0x288),'properties':{'path':{'type':'string'},'detail':{'type':_0x45c9cd(-_0xdeb694._0x142bea,0x61,-0x160,0x12)}},'required':[_0x13efcb(0x17f,0x49,0x12c,0x5a)]},async *'execute'(_0x11be94){const _0x3ecdde={_0x292fdb:0x1b1},_0x5738c8=resolveAllowedPath(_0x52ad82,_0x158a57,_0x11be94['path']);function _0x1b03ca(_0x9c44bb,_0x4f86af,_0x294e6b,_0x3a0c2d){return _0x45c9cd(_0x9c44bb-_0x5171a6._0x3bcc3a,_0x4f86af,_0x294e6b-_0x5171a6._0x82d6e3,_0x294e6b-0x56);}await assertWorkspaceFile(_0x5738c8);const _0x3a5c70=await _0x2869e9(_0x5738c8);if(_0x3a5c70['size']>_0x343dd6)throw new ToolExecutionError('Image\x20file\x20is\x20too\x20large:\x20'+_0x11be94[_0x47406b(-_0x581f20._0x14f4d6,_0x581f20._0x12d96f,-_0x581f20._0x13b0ad,-0x8e)],{'path':_0x11be94['path'],'maxBytes':_0x343dd6,'size':_0x3a5c70['size']});const _0x10cefd=await _0xef8d21(_0x5738c8),_0x2f4d24=detectImageMediaType(_0x10cefd,_0x5738c8);if(!_0x2f4d24)throw new ToolExecutionError(_0x47406b(-0x11d,-_0x581f20._0x40d477,-0x37,0x0)+_0x11be94[_0x1b03ca(-0x125,-_0x581f20._0x466f2a,-_0x581f20._0x14355f,-_0x581f20._0x35efd3)],{'path':_0x11be94[_0x47406b(0xc1,-0x4a,-0x1b6,-_0x581f20._0x199e69)],'supported':[_0x1b03ca(_0x581f20._0x392388,_0x581f20._0x3c77ba,_0x581f20._0x456ad5,-_0x581f20._0xf22695),_0x1b03ca(_0x581f20._0x4293ac,-_0x581f20._0x397981,-_0x581f20._0x58bc2b,-_0x581f20._0x52453c),'.jpg',_0x1b03ca(-_0x581f20._0x1f7b12,-_0x581f20._0x4ae002,-_0x581f20._0x4d65a4,-0xb),_0x47406b(_0x581f20._0x2897ed,_0x581f20._0x511755,0x64,_0x581f20._0x57262f)]});const _0x3c09cd=normalizeDetail(_0x11be94[_0x1b03ca(-_0x581f20._0x267998,-0x9d,-_0x581f20._0x9192fa,-_0x581f20._0x19b6cd)]),_0x376f78=[_0x47406b(_0x581f20._0x1431c6,_0x581f20._0x34fed7,_0x581f20._0x445c9f,_0x581f20._0x18eba6)+_0x11be94[_0x47406b(-0x142,0x30,0x7f,-_0x581f20._0x199e69)],'MIME:\x20'+_0x2f4d24,_0x47406b(_0x581f20._0x6be55e,_0x581f20._0x72e5ad,_0x581f20._0x759408,_0x581f20._0x9acab8)+_0x3a5c70[_0x47406b(_0x581f20._0x1da98c,_0x581f20._0x274423,0xd3,_0x581f20._0x570ba5)]+_0x1b03ca(-_0x581f20._0x110e5b,-0x127,-_0x581f20._0x4fb13c,-_0x581f20._0x554542)]['concat'](_0x3c09cd?[_0x1b03ca(-_0x581f20._0x386f9d,-0x202,-_0x581f20._0x333d60,-_0x581f20._0x18ea42)+_0x3c09cd]:[])['join']('\x0a'),_0x5dc2e6=[{'type':_0x47406b(_0x581f20._0x417beb,-_0x581f20._0x11fe5e,-0x68,_0x581f20._0xb7e75c),'source':{'type':'base64','media_type':_0x2f4d24,'data':_0x10cefd[_0x1b03ca(0xd1,-_0x581f20._0x52453c,-0x62,-_0x581f20._0x56b37b)](_0x1b03ca(-0x29,-_0x581f20._0x210bc1,_0x581f20._0x2a2ba6,-_0x581f20._0xd97f34))}},{'type':_0x47406b(-0x6,_0x581f20._0x14889d,_0x581f20._0x2dc62f,_0x581f20._0x1d11c2),'text':_0x376f78}];function _0x47406b(_0x39ac60,_0xaeb1c4,_0x3d93ce,_0x539dcf){return _0x45c9cd(_0x39ac60-0x2a,_0x3d93ce,_0x3d93ce-_0x3ecdde._0x292fdb,_0x539dcf-0x118);}return yield createToolOutput(_0x376f78,{'path':_0x11be94[_0x1b03ca(-0x11,-_0x581f20._0x17ed43,-_0x581f20._0x2bc829,-0x5)],'resolvedPath':_0x5738c8,'created':_0x3a5c70[_0x47406b(0x2c,-0x106,-0xf4,-_0x581f20._0x4d325b)][_0x47406b(-0x109,_0x581f20._0x30e16e,0x197,0x3a)](),'modified':_0x3a5c70[_0x47406b(_0x581f20._0x5c7563,-0xbf,0x31,0xa5)][_0x47406b(-_0x581f20._0x23d35a,0x81,0x43,_0x581f20._0x35efd3)](),'size':_0x3a5c70[_0x47406b(_0x581f20._0x53c891,_0x581f20._0x58f617,0x12d,0x15b)],'mimeType':_0x2f4d24,'encoding':'base64',..._0x3c09cd?{'detail':_0x3c09cd}:{}},_0x5dc2e6),void 0x0;}});}import _0x311ff3 from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0xde3ef9=>{const _0xe502e9={_0x4f4e06:0xad},_0x2faadc={_0x29e593:0x111,_0x2a77ed:0x43},{lookup:_0x2610b9}=await import(_0x52add8(0xdf,0x22c,_0xe502e9._0x4f4e06,0x2f5));function _0x52add8(_0x3b60af,_0x44576d,_0x222ee4,_0xe89b83){return _0x42babe(_0x44576d-_0x2faadc._0x29e593,_0x44576d-0xc2,_0x3b60af,_0xe89b83-_0x2faadc._0x2a77ed);}return _0x2610b9(_0xde3ef9,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x192942){const _0x38a2f8={_0x48ce28:0xad},_0x21bbb4=_0x192942['split']('.');if(_0x21bbb4[_0x33fb7d(0x1d1,0x66,0x1e4,-_0x38a2f8._0x48ce28)]!==0x4)return null;let _0x5397a3=0x0;for(const _0x1ac062 of _0x21bbb4){if(!/^\d{1,3}$/['test'](_0x1ac062))return null;const _0x4c01c3=Number(_0x1ac062);if(_0x4c01c3>0xff)return null;_0x5397a3=_0x5397a3*0x100+_0x4c01c3;}function _0x33fb7d(_0x48dfa3,_0x439f34,_0x1f0847,_0x2c2e62){return _0x41c53b(_0x48dfa3-0x1ae,_0x439f34- -0x41d,_0x48dfa3,_0x2c2e62-0xe9);}return _0x5397a3>>>0x0;}function isBlockedIpv4(_0x4cdc46){const _0x584f5f={_0x3d3b73:0x55f,_0x121a40:0x436,_0x5815d6:0x596,_0x58f505:0x7e,_0x1191c7:0xc2,_0x16c229:0x42f,_0x4b405c:0x4bd,_0xb766db:0x38d,_0xc9a4ff:0x4a1,_0x5c92ea:0x6f6,_0x2943e9:0xdb,_0x234b81:0x5e,_0x83ef4d:0x590,_0x36f808:0x4f0,_0x258581:0x61e,_0x1855b4:0x4e4,_0x169b2b:0x4cc,_0x14ae35:0x649,_0x1fbe17:0x101,_0x4e7038:0x25,_0x5c40aa:0x70},_0x1781a5={_0x595d0c:0x253,_0x1b9a0b:0xc5},_0x1e5c1d={_0x5123ec:0x2cb,_0x23d870:0xfd,_0x322dbb:0x136},_0x1ce793=ipv4ToInt(_0x4cdc46);if(_0x1ce793===null)return!![];function _0x3dcc13(_0xfb3083,_0x5cddf2,_0x3f317d,_0x1adcb7){return _0x42babe(_0x3f317d- -_0x1e5c1d._0x5123ec,_0x5cddf2-_0x1e5c1d._0x23d870,_0x5cddf2,_0x1adcb7-_0x1e5c1d._0x322dbb);}const _0x5aebc4=(_0x2abb60,_0x483393)=>{const _0x12b4c0=ipv4ToInt(_0x2abb60);if(_0x12b4c0===null)return![];const _0x85e4ce=_0x483393===0x0?0x0:0xffffffff<<0x20-_0x483393>>>0x0;return(_0x1ce793&_0x85e4ce)===(_0x12b4c0&_0x85e4ce);};function _0x510129(_0x5994a3,_0x14f374,_0x1f75a7,_0x31ab85){return _0x42babe(_0x1f75a7-_0x1781a5._0x595d0c,_0x14f374-0x163,_0x31ab85,_0x31ab85-_0x1781a5._0x1b9a0b);}return _0x5aebc4(_0x510129(_0x584f5f._0x3d3b73,0x566,_0x584f5f._0x121a40,_0x584f5f._0x5815d6),0x8)||_0x5aebc4(_0x3dcc13(_0x584f5f._0x58f505,-_0x584f5f._0x1191c7,-0x27,0xb3),0x8)||_0x5aebc4(_0x510129(_0x584f5f._0x16c229,0x495,0x3d0,0x412),0xa)||_0x5aebc4(_0x510129(_0x584f5f._0x4b405c,0x491,0x512,0x42e),0x8)||_0x5aebc4(_0x510129(0x3a7,_0x584f5f._0xb766db,0x438,0x454),0x10)||_0x5aebc4('172.16.0.0',0xc)||_0x5aebc4(_0x510129(_0x584f5f._0xc9a4ff,0x731,0x618,_0x584f5f._0x5c92ea),0x18)||_0x5aebc4(_0x3dcc13(-0x11c,_0x584f5f._0x2943e9,_0x584f5f._0x234b81,0x73),0x10)||_0x5aebc4(_0x510129(0x5f6,0x6dc,_0x584f5f._0x83ef4d,_0x584f5f._0x36f808),0xf)||_0x5aebc4(_0x510129(_0x584f5f._0x258581,_0x584f5f._0x1855b4,_0x584f5f._0x169b2b,_0x584f5f._0x14ae35),0x4)||_0x5aebc4(_0x3dcc13(-_0x584f5f._0x1fbe17,-_0x584f5f._0x4e7038,-_0x584f5f._0x5c40aa,-0x11d),0x4);}function expandIpv6(_0x63fa7a){const _0x2664a6={_0x2d1e1f:0xa2,_0x3341f0:0xec,_0x183cb0:0xef,_0x1dd920:0x228,_0x2ebba3:0x1c4,_0x585f6a:0x30e,_0x4e19a7:0x6a,_0x48efe9:0x19e,_0x453c10:0x9f,_0x2ed0f1:0x68,_0x308614:0x1ac,_0x36ebe1:0x1a1,_0x2ac5be:0x11,_0x2b139c:0x188,_0x49f5d0:0x20,_0x339f2a:0xca,_0x12d356:0x11,_0x2a09d9:0xa,_0x2836c2:0x77,_0x4121e4:0x96,_0x51aafc:0x11,_0x2b0d1a:0x135,_0x30b329:0x74,_0xd37972:0x84,_0x227ebe:0xf9,_0x2a80bc:0x31d},_0x486d0d={_0x272322:0x72,_0x2ac283:0x1d5,_0x50b208:0x1eb},_0x396af2={_0x32c506:0x6a,_0x7051bb:0xd9};let _0x473965=_0x63fa7a,_0x5a2193;const _0x38a5b2=_0x473965['lastIndexOf'](':');_0x473965['slice'](_0x38a5b2+0x1)[_0x323552(_0x2664a6._0x2d1e1f,_0x2664a6._0x3341f0,0x6c,_0x2664a6._0x183cb0)]('.')&&(_0x5a2193=_0x473965['slice'](_0x38a5b2+0x1),_0x473965=_0x473965[_0x323552(_0x2664a6._0x1dd920,0x334,_0x2664a6._0x2ebba3,_0x2664a6._0x585f6a)](0x0,_0x38a5b2+0x1));const _0x485490=_0x473965[_0x1d8cc0(-0x7d,-_0x2664a6._0x4e19a7,-_0x2664a6._0x48efe9,-_0x2664a6._0x453c10)]('::');if(_0x485490[_0x1d8cc0(0x11,-0x103,0x72,-_0x2664a6._0x2ed0f1)]>0x2)return null;const _0x2dc86d=_0x58d022=>_0x58d022['split'](':')[_0x1d8cc0(0xc9,0x248,0x1a0,0x2)](_0x2a112c=>_0x2a112c[_0x1d8cc0(0x11,0x4,-0x95,-0x144)]>0x0)[_0x1d8cc0(0x19c,0x16e,0x1a7,0x57)](_0x43841c=>Number[_0x323552(0x60,-0x92,0xe2,0x92)](_0x43841c,0x10)),_0x4e559d=_0x485490[0x0]?_0x2dc86d(_0x485490[0x0]):[],_0x5dc817=_0x485490[_0x323552(0x17f,_0x2664a6._0x308614,0x180,_0x2664a6._0x36ebe1)]===0x2&&_0x485490[0x1]?_0x2dc86d(_0x485490[0x1]):[];function _0x1d8cc0(_0x61968c,_0x4e8b4e,_0x4aefb6,_0x457ca1){return _0x42babe(_0x61968c- -0x202,_0x4e8b4e-_0x396af2._0x32c506,_0x457ca1,_0x457ca1-_0x396af2._0x7051bb);}const _0x2b4a21=[];if(_0x5a2193){const _0x419871=ipv4ToInt(_0x5a2193);if(_0x419871===null)return null;_0x2b4a21[_0x1d8cc0(-0xb1,-0x1f6,0x2e,-0x139)](_0x419871>>>0x10&0xffff,_0x419871&0xffff);}const _0x151da2=[..._0x5dc817,..._0x2b4a21],_0x179285=0x8-_0x4e559d[_0x1d8cc0(_0x2664a6._0x2ac5be,_0x2664a6._0x2b139c,-_0x2664a6._0x49f5d0,-_0x2664a6._0x339f2a)]-_0x151da2[_0x1d8cc0(_0x2664a6._0x12d356,-_0x2664a6._0x2a09d9,_0x2664a6._0x2836c2,0x12a)];function _0x323552(_0x134271,_0x448bac,_0x69ce74,_0x33df0b){return _0x42babe(_0x33df0b- -_0x486d0d._0x272322,_0x448bac-_0x486d0d._0x2ac283,_0x134271,_0x33df0b-_0x486d0d._0x50b208);}if(_0x485490['length']===0x1)return _0x4e559d[_0x1d8cc0(0x11,0xfb,-_0x2664a6._0x4121e4,0x13e)]+_0x151da2[_0x1d8cc0(_0x2664a6._0x51aafc,_0x2664a6._0x2b0d1a,0x0,_0x2664a6._0x30b329)]===0x8?[..._0x4e559d,..._0x151da2]:null;if(_0x179285<0x0)return null;return[..._0x4e559d,...new Array(_0x179285)[_0x323552(_0x2664a6._0xd37972,_0x2664a6._0x227ebe,_0x2664a6._0x2a80bc,0x195)](0x0),..._0x151da2];}function isBlockedIpv6(_0x38b979){const _0x5af717={_0x490e4f:0x478,_0x397855:0x37e,_0x2456ef:0x14e,_0x428cf6:0x174,_0x46134a:0x1c3,_0x3802ab:0x2c,_0x40d2e0:0x26d,_0x8e88da:0x2a5,_0x1a6c42:0x45c,_0x47bab8:0x3ca,_0x141e2e:0x2b1},_0x34efbc={_0x1e6813:0x1e2},_0x8f6958={_0x2fc256:0x175,_0x147a7c:0x19b},_0xd5a600=expandIpv6(_0x38b979);if(!_0xd5a600||_0xd5a600[_0x3b154a(0x3dc,0x279,0x40c,_0x5af717._0x490e4f)](_0x5c1c20=>Number[_0x4643b1(0x2cd,0x3f9,0x419,0x3c6)](_0x5c1c20)))return!![];const _0x43d565=_0xd5a600[_0x3b154a(0x38a,_0x5af717._0x397855,0x47d,0x2f6)](0x0,0x7)[_0x3b154a(_0x5af717._0x2456ef,_0x5af717._0x428cf6,_0x5af717._0x46134a,-_0x5af717._0x3802ab)](_0x1a98dd=>_0x1a98dd===0x0);if(_0x43d565&&(_0xd5a600[0x7]===0x0||_0xd5a600[0x7]===0x1))return!![];function _0x4643b1(_0x5b39fa,_0x377225,_0x4352db,_0x4dd48e){return _0x42babe(_0x4352db-0x161,_0x377225-_0x8f6958._0x2fc256,_0x377225,_0x4dd48e-_0x8f6958._0x147a7c);}if(_0xd5a600[_0x3b154a(0x38a,0x46e,0x2dd,0x275)](0x0,0x5)[_0x4643b1(_0x5af717._0x40d2e0,0x163,_0x5af717._0x8e88da,0x2db)](_0x3ca245=>_0x3ca245===0x0)&&(_0xd5a600[0x5]===0xffff||_0xd5a600[0x5]===0x0)){const _0x4ae2d7=(_0xd5a600[0x6]<<0x10|_0xd5a600[0x7])>>>0x0,_0x3852a1=[_0x4ae2d7>>>0x18&0xff,_0x4ae2d7>>>0x10&0xff,_0x4ae2d7>>>0x8&0xff,_0x4ae2d7&0xff][_0x3b154a(0x305,_0x5af717._0x1a6c42,_0x5af717._0x47bab8,_0x5af717._0x141e2e)]('.');return isBlockedIpv4(_0x3852a1);}const _0xdfc75b=_0xd5a600[0x0];if((_0xdfc75b&0xff00)===0xfc00||(_0xdfc75b&0xfe00)===0xfc00)return!![];function _0x3b154a(_0x1cff1d,_0x375a85,_0x417052,_0x2766bd){return _0x41c53b(_0x1cff1d-_0x34efbc._0x1e6813,_0x1cff1d- -0x266,_0x2766bd,_0x2766bd-0x1a7);}if((_0xdfc75b&0xffc0)===0xfe80)return!![];if((_0xdfc75b&0xff00)===0xff00)return!![];return![];}function isBlockedAddress(_0x4f5a11){const _0x15780b=isIP(_0x4f5a11);if(_0x15780b===0x4)return isBlockedIpv4(_0x4f5a11);if(_0x15780b===0x6)return isBlockedIpv6(_0x4f5a11);return!![];}async function assertPublicUrl(_0x2625e5,_0x234135={}){const _0x112cee={_0x3f8126:0x12c,_0x422b72:0x9e,_0x21bb06:0x16b,_0x49b940:0x119,_0x3074eb:0x49,_0x377499:0x18e,_0x3cba41:0x272,_0x19b7ec:0x517,_0x355bcd:0x2a2,_0x5d7041:0x18d,_0x2206be:0x185,_0x201476:0x259,_0x220b3c:0x2de,_0x1a80cf:0x440,_0x2429da:0x687,_0x22dc80:0x9d,_0x5e31b7:0x86,_0x25e4bc:0x510,_0x1b26e4:0x508,_0x2114d7:0x4d4,_0x259cf5:0x38e,_0x3b0d63:0x16b,_0x337936:0x1f1,_0x1a8bac:0xb0,_0x5e36d9:0x400,_0x508593:0x1fb,_0x20b21d:0x178,_0x574388:0x3e,_0x45556b:0x96,_0x208bcc:0x46,_0x3ae406:0x233,_0x1f7d19:0x1f4,_0x87daf7:0xbd,_0x513fd9:0x456,_0x1e7059:0x4ae},_0x8391b9={_0x53050f:0xa8,_0x40bf0c:0x481},_0x155dfe={_0x58dd0e:0x2};let _0x309145;function _0x56eb13(_0x47d12d,_0x5569a0,_0x38fb04,_0x2b7cb4){return _0x42babe(_0x47d12d-0x19b,_0x5569a0-0x8e,_0x38fb04,_0x2b7cb4-_0x155dfe._0x58dd0e);}try{_0x309145=new URL(_0x2625e5);}catch{throw new ToolExecutionError('Invalid\x20URL\x20parameter',{'url':_0x2625e5});}function _0x24b639(_0x17ba59,_0x4f6e36,_0xabd8d4,_0x171a32){return _0x41c53b(_0x17ba59-_0x8391b9._0x53050f,_0xabd8d4- -_0x8391b9._0x40bf0c,_0x4f6e36,_0x171a32-0x7e);}if(_0x309145[_0x24b639(_0x112cee._0x3f8126,_0x112cee._0x422b72,_0x112cee._0x21bb06,0x12e)]!==_0x24b639(_0x112cee._0x49b940,_0x112cee._0x3074eb,_0x112cee._0x377499,_0x112cee._0x3cba41)&&_0x309145[_0x56eb13(_0x112cee._0x19b7ec,0x64a,0x4fa,0x5fc)]!=='https:')throw new ToolExecutionError(_0x56eb13(_0x112cee._0x355bcd,0x209,0x2e4,_0x112cee._0x5d7041),{'url':_0x2625e5});if(_0x309145[_0x24b639(0x267,0x2d6,_0x112cee._0x2206be,_0x112cee._0x201476)]||_0x309145['password'])throw new ToolExecutionError(_0x56eb13(_0x112cee._0x220b3c,_0x112cee._0x1a80cf,0x156,0x3f8),{'url':_0x309145[_0x56eb13(0x517,0x3fd,_0x112cee._0x2429da,0x4f4)]+'//'+_0x309145[_0x24b639(-_0x112cee._0x22dc80,-_0x112cee._0x5e31b7,0x7e,-0xa)]+_0x309145['pathname']});const _0x1ab018=_0x309145[_0x56eb13(_0x112cee._0x25e4bc,_0x112cee._0x1b26e4,_0x112cee._0x2114d7,_0x112cee._0x259cf5)]['replace'](/^\[|\]$/g,''),_0x22f253=_0x309145[_0x24b639(0xfa,0xf2,_0x112cee._0x3b0d63,0x188)]+'//'+_0x309145['host']+_0x309145[_0x24b639(_0x112cee._0x337936,0x1ca,_0x112cee._0x1a8bac,-0x2e)];if(isIP(_0x1ab018)){if(isBlockedAddress(_0x1ab018))throw new ToolExecutionError(_0x56eb13(0x384,0x331,_0x112cee._0x5e36d9,0x3c4),{'url':_0x22f253});return _0x309145;}const _0x4ddb79=_0x234135[_0x24b639(-_0x112cee._0x508593,-_0x112cee._0x20b21d,-0xed,_0x112cee._0x574388)]??defaultLookup;let _0x1c7ebc;try{_0x1c7ebc=await _0x4ddb79(_0x1ab018);}catch{throw new ToolExecutionError('Could\x20not\x20resolve\x20host',{'url':_0x22f253});}if(_0x1c7ebc[_0x24b639(_0x112cee._0x45556b,-0x9c,0x2,-_0x112cee._0x208bcc)]===0x0)throw new ToolExecutionError(_0x24b639(0x172,_0x112cee._0x3ae406,_0x112cee._0x1f7d19,_0x112cee._0x87daf7),{'url':_0x22f253});for(const {address:_0x11de8b}of _0x1c7ebc){if(isBlockedAddress(_0x11de8b))throw new ToolExecutionError(_0x56eb13(_0x112cee._0x513fd9,_0x112cee._0x1e7059,0x58e,0x476),{'url':_0x22f253});}return _0x309145;}async function safeFetch(_0x5aaf44,_0x4e8fe2={},_0x12497e={}){const _0x1ad93b={_0x89faeb:0x4e0,_0xde0531:0x50c,_0x184090:0x67b,_0x53ad1b:0x629,_0x398892:0x60e,_0x100ecc:0x42f,_0x4db355:0x135,_0xa0ecca:0x353,_0x4a7581:0x15c,_0x22f39d:0x218,_0x3403ec:0x294,_0x7e4440:0x361,_0x17c023:0x2fb,_0xc5d222:0x22c,_0x4967db:0x32f,_0x3d86b6:0x442,_0x33b858:0x3fd,_0x1f81fb:0x10},_0x510108={_0x3cedb2:0x1b7,_0xe7f16:0x35},_0x3a8c82={_0xb07be6:0x17d};function _0x473047(_0x2c25d5,_0x39ed6f,_0x39b9a1,_0x40965e){return _0x42babe(_0x39b9a1-_0x3a8c82._0xb07be6,_0x39ed6f-0x14,_0x2c25d5,_0x40965e-0x1a9);}const _0x5594b5=_0x12497e[_0x2ee22a(0x49,-0x67,0x124,0x1ca)]??fetch,_0x4d5904=_0x12497e[_0x473047(0x3ef,_0x1ad93b._0x89faeb,_0x1ad93b._0xde0531,_0x1ad93b._0x184090)]??DEFAULT_MAX_REDIRECTS;function _0x2ee22a(_0x4b02d2,_0x5e69c8,_0x2014c9,_0x22bfb1){return _0x42babe(_0x4b02d2- -0x262,_0x5e69c8-_0x510108._0x3cedb2,_0x5e69c8,_0x22bfb1-_0x510108._0xe7f16);}let _0x23d246=_0x5aaf44;for(let _0x643806=0x0;;_0x643806+=0x1){const _0x27031b=await assertPublicUrl(_0x23d246,_0x12497e),_0x1fd0f6=await _0x5594b5(_0x27031b['toString'](),{..._0x4e8fe2,'redirect':_0x473047(_0x1ad93b._0x53ad1b,_0x1ad93b._0x398892,0x565,_0x1ad93b._0x100ecc)}),_0x1aab1d=_0x1fd0f6['headers'][_0x2ee22a(0x4a,0x24,0x178,_0x1ad93b._0x4db355)](_0x473047(0x3b2,_0x1ad93b._0xa0ecca,0x4bb,0x5b2));if(!REDIRECT_STATUSES['has'](_0x1fd0f6[_0x2ee22a(_0x1ad93b._0x4a7581,0x22f,0x14b,_0x1ad93b._0x22f39d)])||!_0x1aab1d)return _0x1fd0f6;if(_0x643806>=_0x4d5904)throw new ToolExecutionError(_0x473047(_0x1ad93b._0x3403ec,_0x1ad93b._0x7e4440,_0x1ad93b._0x17c023,_0x1ad93b._0xc5d222),{'url':_0x27031b[_0x473047(_0x1ad93b._0x4967db,_0x1ad93b._0x3d86b6,_0x1ad93b._0x33b858,0x526)]()});_0x23d246=new URL(_0x1aab1d,_0x27031b)[_0x2ee22a(0x1e,0x43,-0x69,-_0x1ad93b._0x1f81fb)]();}}var USER_AGENT='Mozilla/5.0\x20(Macintosh;\x20Intel\x20Mac\x20OS\x20X\x2010_15_7)\x20AppleWebKit/537.36\x20NuvinBot/1.0',DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x5b687c,_0x550852){const _0x123725={_0x25a2e0:0x230,_0x294dbc:0x220,_0x10018e:0x314,_0x47fbfc:0x38a,_0xe6624e:0x344,_0x13c186:0x104,_0xdf4304:0x64,_0xdabae1:0xd9},_0xba0758={_0x3cc426:0xab,_0x5514ef:0x194,_0x22ddae:0xf5,_0x16acf5:0x17f,_0x362096:0x19e},_0x128b58={_0x65981:0xea,_0x14401f:0x136},_0x2a5064={_0x3adc8e:0x64,_0x482d4b:0xa1},_0x385906=new AbortController(),_0x550e4f=setTimeout(()=>_0x385906[_0x45ae89(0x383,0x2ea,0x2e0,0x237)](new Error(_0x3de67a(-0x4b,0x44,0x90,0x169))),_0x550852);function _0x45ae89(_0x5a7d03,_0x11eeec,_0x43f11f,_0x51342c){return _0x42babe(_0x43f11f-0x1b9,_0x11eeec-_0x2a5064._0x3adc8e,_0x11eeec,_0x51342c-_0x2a5064._0x482d4b);}const _0x430e81=()=>_0x385906[_0x3de67a(0x6f,-0x118,-0x89,-0x1cd)](_0x5b687c[_0x3de67a(-0x11c,-0xc0,-0xce,-0x51)]);function _0x3de67a(_0x42b51c,_0x198598,_0x542129,_0x3e8837){return _0x41c53b(_0x42b51c-_0x128b58._0x65981,_0x198598- -0x4af,_0x542129,_0x3e8837-_0x128b58._0x14401f);}return _0x5b687c['aborted']?_0x385906[_0x3de67a(-_0x123725._0x25a2e0,-0x118,-0x5a,-_0x123725._0x294dbc)](_0x5b687c[_0x45ae89(_0x123725._0x10018e,0x3d4,0x338,0x1fc)]):_0x5b687c[_0x45ae89(_0x123725._0x47fbfc,_0x123725._0xe6624e,0x451,0x400)](_0x3de67a(-_0x123725._0x13c186,-0x118,-0x1fa,-0x197),_0x430e81,{'once':!![]}),{'signal':_0x385906[_0x3de67a(-_0x123725._0xdf4304,0x5e,_0x123725._0xdabae1,0x163)],'cleanup':()=>{const _0x239ea8={_0x45bf65:0x97},_0x17a64e={_0x23df21:0x1d0};function _0x4dbb40(_0x4a4463,_0x39eeeb,_0x12a820,_0x2ae41e){return _0x3de67a(_0x4a4463-_0x17a64e._0x23df21,_0x2ae41e- -0x86,_0x4a4463,_0x2ae41e-0x91);}clearTimeout(_0x550e4f);function _0x1a04fe(_0x39d5b8,_0x3f683d,_0x1b6616,_0x287d68){return _0x45ae89(_0x39d5b8-_0x239ea8._0x45bf65,_0x287d68,_0x1b6616- -0x57,_0x287d68-0x186);}_0x5b687c[_0x4dbb40(_0xba0758._0x3cc426,_0xba0758._0x5514ef,0x160,_0xba0758._0x22ddae)](_0x4dbb40(-0x126,-0x2b3,-_0xba0758._0x16acf5,-_0xba0758._0x362096),_0x430e81);}};}function createWebFetchTool(_0x420188={}){const _0x44d5e2={_0x31d2ea:0x5d4,_0x4c8c6b:0x4ca,_0x2eafac:0x334,_0x4a6682:0x1c5,_0x549dbe:0x5c3,_0x17c440:0x53d,_0x4ebe7e:0x4c5,_0x378246:0x64c,_0x1bcbda:0x5e3,_0x3b8b69:0x24,_0x30a64c:0xd7,_0x15b3cd:0x9b,_0x29aade:0x1d4,_0x2129f3:0x29f,_0x4dcebc:0x14e,_0x18b64d:0x55a,_0x1087be:0x155,_0x4a10eb:0x5c,_0x2a7a54:0x65f},_0x5c0c97={_0x20e7e5:0xf2,_0x4263bc:0x99,_0x15d749:0x79,_0x545e2d:0x44,_0x215005:0xec,_0xfecc22:0x52,_0x42e5b7:0x4b,_0x57d757:0x139,_0x4000fa:0x9c,_0x30791e:0x78,_0x1eeecd:0x16c,_0x4f8e37:0x251,_0x4c3d9d:0xa1,_0x3e4a34:0x114,_0xfb8f73:0x28,_0x92d00f:0x45,_0x288f26:0x166,_0x4c0139:0xd7,_0x3daf9b:0x1af,_0x5db66f:0x103,_0x53104f:0x237,_0x397057:0x8,_0x608f05:0x123,_0x481622:0x20,_0x1667d3:0x17b,_0x54d29c:0x160,_0x5d0307:0x2,_0x1c537f:0x17e,_0x459cd3:0x1b9,_0xe13855:0xb2,_0x136173:0x1ef,_0x276ba5:0x1ce,_0xb427c:0xea,_0xaede0a:0x14,_0x3d5b0a:0x12,_0x30038c:0x27,_0x1cc602:0x4a,_0x4cbc2d:0x2b2,_0x5ef7eb:0x184,_0x473c92:0xc4,_0x30d657:0x142,_0x2f1f65:0x176,_0x7f57ab:0x3f,_0x5ae4bd:0x71},_0x191769={_0xfaef6a:0x559,_0xc882ed:0x197},_0x10ef40={_0x534cde:0x101},_0x568193=_0x420188['name']??'WebFetch';function _0x486467(_0x1b3fad,_0x1837ee,_0x161346,_0xb158ca){return _0x42babe(_0x1837ee-0x31b,_0x1837ee-0xc9,_0xb158ca,_0xb158ca-_0x10ef40._0x534cde);}const _0x18f3c4=_0x420188[_0x486467(_0x44d5e2._0x31d2ea,_0x44d5e2._0x4c8c6b,0x498,0x4a0)]??DEFAULT_TIMEOUT_MS2,_0x4228d3=_0x420188[_0x489203(-0x1b9,-_0x44d5e2._0x2eafac,-0x2fe,-_0x44d5e2._0x4a6682)],_0x1806c5=new _0x311ff3({'headingStyle':_0x486467(_0x44d5e2._0x549dbe,_0x44d5e2._0x17c440,0x3d0,0x680),'codeBlockStyle':'fenced','bulletListMarker':'-'});_0x1806c5[_0x486467(_0x44d5e2._0x4ebe7e,_0x44d5e2._0x378246,_0x44d5e2._0x1bcbda,0x7c2)](['script','style',_0x489203(_0x44d5e2._0x3b8b69,0xb0,_0x44d5e2._0x3b8b69,_0x44d5e2._0x30a64c),_0x489203(-0x2a8,-0x163,-0x1a7,-0x1b1),_0x489203(0x161,0x147,-0xa2,0x99),_0x489203(-_0x44d5e2._0x15b3cd,-_0x44d5e2._0x29aade,-_0x44d5e2._0x2129f3,-_0x44d5e2._0x4dcebc),_0x486467(0x5bf,_0x44d5e2._0x18b64d,0x49e,0x4d7),'aside']);function _0x489203(_0x14b06c,_0x134523,_0x19ec36,_0x314876){return _0x41c53b(_0x14b06c-0xf2,_0x314876- -_0x191769._0xfaef6a,_0x19ec36,_0x314876-_0x191769._0xc882ed);}return defineTool({'name':_0x568193,'description':'Fetch\x20web\x20page\x20content\x20and\x20convert\x20to\x20Markdown\x20format','inputSchema':{'type':_0x489203(_0x44d5e2._0x1087be,-0x114,-0x3b,_0x44d5e2._0x4a10eb),'properties':{'description':{'type':'string'},'url':{'type':_0x489203(-0x9e,0x14d,-0x72,0x61)}},'required':[_0x486467(0x602,_0x44d5e2._0x2a7a54,0x7de,0x69f)]},async *'execute'(_0xeb6628,_0x80c26f){const _0x20fc33={_0x307743:0x55,_0x5624b8:0x566},_0x2156d6={_0x5eac20:0x77,_0x2b3b54:0x97};function _0x45a9d3(_0x5eacc4,_0x1e3b39,_0x1535b4,_0x48811a){return _0x489203(_0x5eacc4-0x1b6,_0x1e3b39-_0x2156d6._0x5eac20,_0x48811a,_0x5eacc4-_0x2156d6._0x2b3b54);}const _0x413c69=(await assertPublicUrl(_0xeb6628[_0x45a9d3(_0x5c0c97._0x20e7e5,0x186,_0x5c0c97._0x4263bc,0xb6)],{'lookup':_0x4228d3}))[_0x45a9d3(0x2e,-0x42,_0x5c0c97._0x15d749,-_0x5c0c97._0x545e2d)]();if(_0x80c26f[_0x3bd60a(_0x5c0c97._0x215005,_0x5c0c97._0xfecc22,-0x60,-0x4b)]['aborted'])throw new ToolExecutionError('Fetch\x20aborted\x20by\x20user',{'url':_0x413c69});const _0x120fc5=createTimeoutSignal(_0x80c26f[_0x45a9d3(_0x5c0c97._0x42e5b7,0x1be,_0x5c0c97._0x57d757,_0x5c0c97._0x4000fa)],_0x18f3c4);let _0x123438='',_0x3ecc07=0x0,_0xba1fbb;try{const _0x452f54=await safeFetch(_0x413c69,{'headers':{'User-Agent':USER_AGENT},'signal':_0x120fc5['signal']},{'lookup':_0x4228d3});if(!_0x452f54['ok'])throw new ToolExecutionError(_0x3bd60a(0xac,0x197,_0x5c0c97._0x30791e,0x1a0)+_0x452f54[_0x45a9d3(_0x5c0c97._0x1eeecd,_0x5c0c97._0x4f8e37,_0x5c0c97._0x4c3d9d,0x159)]+'\x20'+_0x452f54[_0x3bd60a(-0x1d9,-_0x5c0c97._0x3e4a34,-0x234,_0x5c0c97._0xfb8f73)],{'url':_0x413c69,'statusCode':_0x452f54[_0x45a9d3(0x16c,0x35,0x226,0x180)]});_0x123438=_0x452f54[_0x45a9d3(-0x47,-0x1c3,_0x5c0c97._0x92d00f,-_0x5c0c97._0x288f26)][_0x3bd60a(-0x118,0x61,-_0x5c0c97._0x4c0139,_0x5c0c97._0x3daf9b)]('content-type')??'',_0x3ecc07=_0x452f54[_0x45a9d3(0x16c,_0x5c0c97._0x5db66f,0x23b,_0x5c0c97._0x53104f)],_0xba1fbb=await _0x452f54['text']();}catch(_0x3fa964){if(_0x3fa964 instanceof ToolExecutionError)throw _0x3fa964;const _0x17b1d1=_0x3fa964 instanceof Error?_0x3fa964['message']:String(_0x3fa964);throw new ToolExecutionError(_0x17b1d1,{'url':_0x413c69});}finally{_0x120fc5[_0x45a9d3(-0x79,-0x1ff,0x86,0x106)]();}function _0x3bd60a(_0x319fac,_0x1a04fa,_0x14a4cc,_0x1cc751){return _0x486467(_0x319fac-_0x20fc33._0x307743,_0x1a04fa- -_0x20fc33._0x5624b8,_0x14a4cc-0x1e8,_0x14a4cc);}const _0x5a8227=new Date()[_0x45a9d3(_0x5c0c97._0x397057,-_0x5c0c97._0x608f05,-0x67,0x6f)]();let _0x334ba0,_0x3c594a;if(_0x123438[_0x45a9d3(-0xf1,-_0x5c0c97._0x481622,-0x1ed,-_0x5c0c97._0x1667d3)](_0x45a9d3(-0x120,-_0x5c0c97._0x54d29c,-0x205,-_0x5c0c97._0x5d0307)))_0x334ba0=_0x3bd60a(-_0x5c0c97._0x1c537f,-0x10d,-0x11a,-0x5a)+_0xba1fbb+_0x3bd60a(_0x5c0c97._0x459cd3,_0x5c0c97._0xe13855,-0x2,0x7c),_0x3c594a=_0x45a9d3(0x132,0x24c,_0x5c0c97._0x136173,_0x5c0c97._0x276ba5);else _0x123438[_0x3bd60a(-0x1f6,-_0x5c0c97._0xb427c,-0x1a1,-_0x5c0c97._0xaede0a)]('text/html')?(_0x334ba0=_0x1806c5[_0x3bd60a(_0x5c0c97._0x3d5b0a,-_0x5c0c97._0x30038c,0x4a,_0x5c0c97._0x1cc602)](_0xba1fbb),_0x3c594a=_0x45a9d3(0x14e,_0x5c0c97._0x4cbc2d,_0x5c0c97._0x5ef7eb,0x1da)):(_0x334ba0=_0xba1fbb,_0x3c594a=_0x45a9d3(_0x5c0c97._0x473c92,0x163,_0x5c0c97._0x30d657,_0x5c0c97._0x2f1f65));return yield createToolOutput(_0x334ba0,{'url':_0x413c69,'contentType':_0x123438,'statusCode':_0x3ecc07,'format':_0x3c594a,'size':_0xba1fbb[_0x45a9d3(-_0x5c0c97._0x7f57ab,-_0x5c0c97._0x5ae4bd,-0x31,-0x1b8)],'fetchedAt':_0x5a8227}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0x41c53b(0x55a,0x409,0x419,0x33c);function normalizeUrl(_0x171c46){const _0x396830={_0x41170b:0x4a7,_0x276f9d:0x386,_0x43c091:0x38b,_0x59a602:0x334,_0x2a5c72:0xff,_0xd314eb:0x104,_0x302423:0x215,_0x13f9b5:0x98,_0x4b6627:0x8d,_0x4f585a:0x67,_0x41d651:0x1f,_0x4ed765:0x3f7,_0xb7656d:0x8b,_0x22747c:0x42,_0x4a74d4:0x342,_0x32788b:0x248,_0x4b2c98:0x436},_0x1886ed={_0x18c89c:0x1b6},_0x572c13={_0x4c3ffe:0x54c};function _0x34c11a(_0x2fe75a,_0x31fd13,_0x455d26,_0x13f981){return _0x41c53b(_0x2fe75a-0xaa,_0x31fd13- -_0x572c13._0x4c3ffe,_0x2fe75a,_0x13f981-0x153);}function _0x23616f(_0x53d0ec,_0xe3b7a6,_0x47222a,_0x43aa89){return _0x42babe(_0x53d0ec-_0x1886ed._0x18c89c,_0xe3b7a6-0x137,_0xe3b7a6,_0x43aa89-0x1d9);}try{const _0x49da43=new URL(_0x171c46);for(const _0x25f3a5 of[_0x34c11a(0x106,0x24,0x87,0x2a),_0x23616f(_0x396830._0x41170b,_0x396830._0x276f9d,_0x396830._0x43c091,0x480),_0x23616f(0x480,0x420,_0x396830._0x59a602,0x57f),_0x34c11a(_0x396830._0x2a5c72,_0x396830._0xd314eb,-0x3f,_0x396830._0x302423),_0x34c11a(-0x173,-0x192,-0x6f,-0x281),_0x34c11a(-0x42,_0x396830._0x13f9b5,0xd5,-0x32),'fbclid',_0x34c11a(-_0x396830._0x4b6627,-_0x396830._0x4f585a,-0x4b,_0x396830._0x41d651),_0x23616f(_0x396830._0x4ed765,0x482,0x556,0x317)]){_0x49da43[_0x34c11a(0xa4,_0x396830._0xb7656d,0x14e,_0x396830._0x22747c)][_0x23616f(_0x396830._0x4a74d4,0x462,0x238,_0x396830._0x32788b)](_0x25f3a5);}return _0x49da43[_0x23616f(_0x396830._0x4b2c98,0x486,0x343,0x4e4)]();}catch{return _0x171c46;}}function cseDateRestrict(_0x4249d8){const _0x26a648={_0x226dca:0x64b,_0x31533d:0x5e7,_0x76982a:0x57f,_0x46d5d8:0x7e7,_0x115a1a:0x701,_0xb3db00:0x587,_0x5da0e2:0x6d8},_0x12cbea={_0x905dd9:0xee,_0x2244b3:0xb6},_0x54695b={_0x372c21:0xab};if(_0x4249d8<=0x0)return void 0x0;if(_0x4249d8<=0x1e)return'd'+Math[_0x40af24(0x724,_0x26a648._0x226dca,0x6fe,_0x26a648._0x31533d)](0x1,Math[_0x40af24(_0x26a648._0x76982a,_0x26a648._0x46d5d8,0x848,_0x26a648._0x115a1a)](_0x4249d8));function _0x22ab12(_0x2fc948,_0x593b7f,_0x344d62,_0x51de7c){return _0x41c53b(_0x2fc948-0xd8,_0x51de7c-_0x54695b._0x372c21,_0x593b7f,_0x51de7c-0x19a);}if(_0x4249d8<=0x16d)return'm'+Math[_0x40af24(0x5e4,0x52e,0x657,_0x26a648._0xb3db00)](_0x4249d8/0x1e);function _0x40af24(_0x4c7f00,_0x3ffff2,_0x35b93d,_0x5870d0){return _0x41c53b(_0x4c7f00-_0x12cbea._0x905dd9,_0x5870d0-0x9a,_0x3ffff2,_0x5870d0-_0x12cbea._0x2244b3);}return'y'+Math[_0x22ab12(0x51b,0x57b,_0x26a648._0x5da0e2,0x598)](_0x4249d8/0x16d);}function addSiteFilters(_0x4535bb,_0x5b7eaf){const _0x88e49f={_0x49e697:0x50c,_0x5d3780:0x5f4,_0x42064c:0x508,_0x5ee4bd:0x4b2,_0xf5fbf4:0x3da},_0x5b73bf={_0x3b02fa:0x48},_0x504fcf={_0xeb494f:0x94,_0x134fb8:0x194};function _0x176c00(_0x578ae5,_0x488a27,_0x33a2ff,_0x44d67d){return _0x41c53b(_0x578ae5-0xd0,_0x33a2ff-_0x504fcf._0xeb494f,_0x578ae5,_0x44d67d-_0x504fcf._0x134fb8);}if(_0x5b7eaf[_0x674bf2(_0x88e49f._0x49e697,0x403,0x46a,0x605)]===0x0)return _0x4535bb['trim']();function _0x674bf2(_0x2e26fb,_0x5073b9,_0x18902a,_0x49059d){return _0x41c53b(_0x2e26fb-0xe4,_0x2e26fb-0x89,_0x18902a,_0x49059d-_0x5b73bf._0x3b02fa);}return(_0x4535bb+'\x20('+_0x5b7eaf['map'](_0x4fab4a=>_0x176c00(0x533,0x53e,0x405,0x46d)+_0x4fab4a)[_0x674bf2(_0x88e49f._0x5d3780,0x517,_0x88e49f._0x42064c,0x570)](_0x176c00(_0x88e49f._0x5ee4bd,_0x88e49f._0xf5fbf4,0x4b9,0x3e4))+')')['trim']();}function normalizeType(_0x2faf5f){const _0x255327={_0x48c099:0x82,_0x310f19:0x156,_0x30ad11:0x1cc,_0x1ed8ea:0x12f},_0x3b221c={_0x2e4230:0x3d,_0x5cdea8:0x294,_0x36eb0c:0x167},_0x5f3acc={_0x21c99c:0x117,_0x3fee8d:0x71};function _0x18a2f3(_0x7cfdd0,_0xdbb365,_0xe3aac1,_0x1bad38){return _0x42babe(_0x1bad38-_0x5f3acc._0x21c99c,_0xdbb365-_0x5f3acc._0x3fee8d,_0x7cfdd0,_0x1bad38-0xba);}function _0x57990c(_0x2dba3b,_0x6ee707,_0x4dad09,_0x3df8bc){return _0x41c53b(_0x2dba3b-_0x3b221c._0x2e4230,_0x3df8bc- -_0x3b221c._0x5cdea8,_0x4dad09,_0x3df8bc-_0x3b221c._0x36eb0c);}return _0x2faf5f==='images'?_0x57990c(-_0x255327._0x48c099,_0x255327._0x310f19,-0xf,0xe5):_0x57990c(_0x255327._0x30ad11,0x31,0x1fc,_0x255327._0x1ed8ea);}async function fetchJson(_0x44c2d8,_0x315960,_0x57cbed){const _0x3b03b9={_0x3c04a1:0x18b,_0x141181:0xe0,_0x4d7e3e:0x49,_0x2575da:0x22e,_0x30f149:0xc2,_0x538edc:0x7c,_0x28ae63:0x1e5,_0x3bd781:0xe5,_0x41ff5b:0x15e,_0x5dc52b:0xf6,_0x3aaf97:0x1bd,_0x51aa82:0x5b,_0x4c288d:0x109,_0x1bd496:0x87,_0x1bc32d:0xdc,_0x2e2d0c:0x27,_0x4669f6:0x13d,_0x54a525:0x1df,_0x89754e:0x2af,_0x1ff9c2:0x22,_0x2a9d4c:0x11e,_0xfb4007:0x88,_0x1c640a:0x11,_0x3f4911:0x20,_0x475d26:0x19a,_0x4c911d:0x252},_0x525257=await fetch(_0x44c2d8,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x5ed7a1(-_0x3b03b9._0x3c04a1,-0x66,0x4a,-0x123),..._0x57cbed?.[_0x249a02(-_0x3b03b9._0x141181,-0xe,-_0x3b03b9._0x4d7e3e,0x11e)]},'signal':_0x315960,..._0x57cbed});function _0x5ed7a1(_0x27cca1,_0x2f43f1,_0x57447b,_0x13c537){return _0x41c53b(_0x27cca1-0x1da,_0x13c537- -0x4c5,_0x2f43f1,_0x13c537-0xab);}if(!_0x525257['ok']){let _0x54d9b5,_0x1d3870;try{_0x54d9b5=await _0x525257[_0x249a02(-0x5e,_0x3b03b9._0x2575da,_0x3b03b9._0x30f149,-0x54)]();const _0xc624c9=JSON[_0x5ed7a1(-_0x3b03b9._0x538edc,0xab,_0x3b03b9._0x28ae63,_0x3b03b9._0x3bd781)](_0x54d9b5),_0x238885=typeof _0xc624c9[_0x249a02(-0x86,-0x2c,-0xb4,-0x1ed)]===_0x5ed7a1(_0x3b03b9._0x41ff5b,_0x3b03b9._0x5dc52b,_0x3b03b9._0x3aaf97,0xf0)?_0xc624c9['detail'][_0x249a02(-0x131,-0x210,-0x8e,-0x1d9)]:void 0x0;_0x1d3870=_0xc624c9[_0x5ed7a1(_0x3b03b9._0x51aa82,-0xe6,-0xfb,-0x8f)]?.[_0x5ed7a1(-0xb1,-_0x3b03b9._0x4c288d,0xb2,-0x81)]??_0xc624c9[_0x249a02(-_0x3b03b9._0x1bd496,-0x122,-0x8e,-_0x3b03b9._0x1bc32d)]?.[_0x5ed7a1(_0x3b03b9._0x2e2d0c,0xa4,0x35,-0x64)]?.[0x0]?.['message']??_0x238885;}catch{}const _0x4ff7f1=_0x1d3870?'HTTP\x20'+_0x525257[_0x249a02(0x252,_0x3b03b9._0x4669f6,0x16a,_0x3b03b9._0x54a525)]+':\x20'+_0x1d3870:_0x5ed7a1(0x96,0x2dc,0x1f1,0x18d)+_0x525257[_0x249a02(_0x3b03b9._0x89754e,0x2b7,0x16a,0x29a)]+'\x20'+_0x525257[_0x5ed7a1(-0xa,-_0x3b03b9._0x1ff9c2,0x22,-_0x3b03b9._0x2a9d4c)];throw new ToolExecutionError(_0x4ff7f1,{'statusCode':_0x525257[_0x5ed7a1(_0x3b03b9._0xfb4007,0x20b,-_0x3b03b9._0x1c640a,0x169)],..._0x54d9b5?{'body':_0x54d9b5}:{}});}function _0x249a02(_0x30b176,_0x2da130,_0x36b672,_0x3e8c97){return _0x42babe(_0x36b672- -0x254,_0x2da130-0x109,_0x30b176,_0x3e8c97-0x151);}return await _0x525257[_0x5ed7a1(_0x3b03b9._0x3f4911,_0x3b03b9._0x475d26,_0x3b03b9._0x4c911d,0x12f)]();}async function hydrateResults(_0x5199be,_0xd3df44,_0x2408b9,_0x316ce5){const _0x3e89f8={_0x345118:0x53d,_0x58fc35:0x673,_0x4b6295:0x6b8,_0x271a04:0x572,_0x580fa9:0x6b0,_0x5d3478:0x6d6,_0x59c2b3:0x7ec},_0x16ac99={_0x133603:0x1f4,_0x422f4b:0xc8},_0x46d690={_0x2a0795:0x15d},_0x227a45={_0x513a4e:0x14e,_0x2c47b6:0x155,_0x20ee0f:0x4fd,_0x190b75:0x39c,_0x4f4def:0x3cc,_0xf637cb:0x11,_0x5c80ca:0x117,_0x1797e6:0x2b,_0x80ac6:0x19,_0x3ee49d:0x136,_0x5c7b35:0x34,_0x5221ac:0x43e,_0x25822e:0x414,_0x363130:0xc4,_0x23dfa7:0xa8,_0x44786c:0x480,_0x5c5a36:0x354,_0x24860c:0x2bb,_0x51d935:0x1f5,_0x469f5b:0x302,_0x48c46c:0x261,_0x3c52a8:0xf8,_0x56ba08:0x248,_0x1106fa:0x2d5,_0x56d291:0xa8,_0x140db9:0x90,_0x1629dd:0x30,_0x580a31:0x9b,_0x1e6755:0xec,_0x1886cc:0x2a0,_0x1f23a5:0x13f,_0x4f615f:0x29f,_0x3ff565:0x2fa,_0x351e46:0x1e9,_0x3c6aaf:0x12d,_0x23f63d:0x2b,_0x295a85:0x136,_0x237482:0x2c3,_0x4f1bbe:0x359,_0x5170c4:0x561,_0x4b4861:0x34d,_0x226204:0x14a,_0xd0e71a:0x1b,_0x28c05d:0x185,_0x48d3bf:0x107,_0x165373:0x99,_0x3b8d3b:0xcd,_0x4769f7:0xb4,_0x54ad72:0x2bd,_0x172886:0x19a,_0x48bca0:0xdc,_0x259316:0x91},_0x2b9d8c=await Promise[_0x1d192d(0x5cc,0x608,_0x3e89f8._0x345118,0x73d)](_0x5199be[_0x1d192d(_0x3e89f8._0x58fc35,_0x3e89f8._0x4b6295,0x6fd,_0x3e89f8._0x271a04)](0x0,0xa)['map'](async _0x40441b=>{const _0x310122={_0x52aeac:0x1b9,_0x12520e:0xd0},_0x57e587={_0x3e6b55:0x16c,_0x3a5991:0x527};function _0x23ee7b(_0x1359d7,_0x26ea4d,_0x45c8e7,_0x488118){return _0x1d192d(_0x1359d7-_0x57e587._0x3e6b55,_0x45c8e7- -_0x57e587._0x3a5991,_0x45c8e7-0x1bb,_0x488118);}function _0x2770c8(_0x1a76b6,_0x2aa1cc,_0x37abb9,_0x1fc450){return _0xc78871(_0x37abb9-0x4d,_0x2aa1cc-_0x310122._0x52aeac,_0x37abb9-_0x310122._0x12520e,_0x2aa1cc);}try{const _0x51d569=await safeFetch(_0x40441b[_0x23ee7b(_0x227a45._0x513a4e,0x1b9,_0x227a45._0x2c47b6,0x12f)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0xd3df44,'Accept':_0x2770c8(_0x227a45._0x20ee0f,_0x227a45._0x190b75,0x423,_0x227a45._0x4f4def)},'signal':_0x2408b9},{'lookup':_0x316ce5});if(!_0x51d569['ok'])return _0x40441b;const _0x5e8809=await _0x51d569[_0x23ee7b(_0x227a45._0xf637cb,_0x227a45._0x5c80ca,0x127,-_0x227a45._0x1797e6)](),_0x26b813=load(_0x5e8809),_0x2ea35e=_0x26b813('meta[property=\x27og:title\x27]')[_0x2770c8(0x6d,-_0x227a45._0x80ac6,_0x227a45._0x3ee49d,_0x227a45._0x5c7b35)](_0x2770c8(_0x227a45._0x5221ac,0x485,_0x227a45._0x25822e,0x4d7))||_0x26b813('title')[_0x23ee7b(-0x75,_0x227a45._0x363130,0x55,_0x227a45._0x23dfa7)]()[_0x2770c8(_0x227a45._0x44786c,_0x227a45._0x5c5a36,0x349,0x2d6)]()[_0x2770c8(_0x227a45._0x24860c,0x34f,0x34e,_0x227a45._0x51d935)](),_0xb9557a=_0x26b813(_0x2770c8(_0x227a45._0x469f5b,0x13f,_0x227a45._0x48c46c,_0x227a45._0x3c52a8))[_0x23ee7b(-0x98,0x4,-0xec,-0x18b)](_0x23ee7b(_0x227a45._0x56ba08,0x2c2,0x1f2,_0x227a45._0x1106fa))||_0x26b813(_0x23ee7b(-_0x227a45._0x56d291,-_0x227a45._0x140db9,_0x227a45._0x1629dd,-0x23))[_0x23ee7b(-_0x227a45._0x580a31,-0x1de,-_0x227a45._0x1e6755,-0x203)]('content')||_0x40441b['snippet'],_0x1de6c4=_0x26b813(_0x2770c8(_0x227a45._0x1886cc,_0x227a45._0x1f23a5,_0x227a45._0x4f615f,0x2fe))[_0x2770c8(0x151,-0x29,0x136,0x1a5)]('content')||_0x26b813(_0x2770c8(0x254,0x3c8,_0x227a45._0x3ff565,_0x227a45._0x351e46))[_0x2770c8(_0x227a45._0x3c6aaf,_0x227a45._0x23f63d,_0x227a45._0x295a85,0x23e)](_0x2770c8(_0x227a45._0x237482,_0x227a45._0x4f1bbe,0x3d9,0x3d7))||_0x40441b[_0x2770c8(_0x227a45._0x5170c4,0x2a0,0x421,_0x227a45._0x4b4861)],_0x56612f=_0x26b813(_0x23ee7b(-_0x227a45._0x226204,_0x227a45._0xd0e71a,-0x7a,0x10c))[_0x2770c8(_0x227a45._0x28c05d,0x196,0x136,_0x227a45._0x48d3bf)](_0x23ee7b(-0x42,-_0x227a45._0x165373,_0x227a45._0x3b8d3b,-_0x227a45._0x4769f7));return{..._0x40441b,'title':_0x2ea35e||_0x40441b[_0x2770c8(_0x227a45._0x54ad72,0x316,_0x227a45._0x172886,_0x227a45._0x48bca0)],'snippet':_0xb9557a,'url':_0x56612f?normalizeUrl(new URL(_0x56612f,_0x40441b['url'])[_0x23ee7b(_0x227a45._0x140db9,0x189,_0x227a45._0x259316,0x1ee)]()):_0x40441b['url'],'publishedAt':_0x1de6c4};}catch{return _0x40441b;}})),_0x6ba6e3=new Map(_0x5199be['slice'](0x0,0xa)['map']((_0x109a25,_0x32eca9)=>[_0x109a25[_0x1d192d(0x5a0,0x67c,0x5b1,0x6a6)],_0x2b9d8c[_0x32eca9]]));function _0xc78871(_0x1c7bd4,_0x29db76,_0x1ec02c,_0x112469){return _0x42babe(_0x1c7bd4- -0x1a,_0x29db76-_0x46d690._0x2a0795,_0x112469,_0x112469-0x168);}function _0x1d192d(_0x3a4570,_0x4df7fb,_0x225acd,_0x2ef462){return _0x41c53b(_0x3a4570-_0x16ac99._0x133603,_0x4df7fb-_0x16ac99._0x422f4b,_0x2ef462,_0x2ef462-0x169);}return _0x5199be[_0x1d192d(_0x3e89f8._0x580fa9,_0x3e89f8._0x5d3478,_0x3e89f8._0x59c2b3,0x667)](_0x32dc68=>_0x6ba6e3[_0xc78871(0x292,0x21f,0x169,0x3cd)](_0x32dc68['url'])??_0x32dc68);}function formatResults(_0x101b36){const _0x1ce9ee={_0x569fa2:0x6ef,_0x44c4c3:0x3eb,_0x55b287:0x31c,_0x4ac7e:0x4c7,_0x10b40d:0x661,_0x3fd39e:0x6a3,_0x316bfc:0x6d2},_0x2340bb={_0x1d31b9:0xdf,_0x2c348b:0x200,_0x212b27:0x161,_0x20fc70:0x23,_0x21d784:0x137,_0xa1b87:0xe1,_0x7a75bd:0x92,_0x2a6be9:0xb6,_0x4c96a2:0x1ba,_0x346bb6:0x25b,_0x35aad4:0x321,_0x3f9cd6:0x301,_0x259973:0x2cc,_0x4e0fc7:0x154,_0x2cc75f:0xe1,_0xe0bbe1:0x209,_0x62be3:0xd3,_0x5aa2ee:0x2b6,_0x47d499:0x1f5},_0x807983={_0x450eb9:0xbd},_0x5841dc={_0x253db4:0xd7};if(_0x101b36[_0x38428f(0x5fc,_0x1ce9ee._0x569fa2,0x5bb,0x6f2)]===0x0)return'No\x20results\x20found.';function _0x17af12(_0x55f447,_0x3d59fb,_0x4c27cf,_0x3e4795){return _0x41c53b(_0x55f447-_0x5841dc._0x253db4,_0x55f447- -0x223,_0x3d59fb,_0x3e4795-0x1bf);}function _0x38428f(_0x6f7344,_0x3a7503,_0x3ac04a,_0x5ac8ae){return _0x41c53b(_0x6f7344-0x25,_0x3ac04a-0x138,_0x3a7503,_0x5ac8ae-0x4d);}return _0x101b36[_0x17af12(_0x1ce9ee._0x44c4c3,0x37a,_0x1ce9ee._0x55b287,_0x1ce9ee._0x4ac7e)](_0x322355=>{const _0x24f7f7={_0x118ca7:0x3f,_0x5bfdfb:0x5a1},_0x13ef69=[_0x322355[_0x44f44a(0x168,_0x2340bb._0x1d31b9,0x1cb,_0x2340bb._0x2c348b)][_0xbc352e(-_0x2340bb._0x212b27,_0x2340bb._0x20fc70,_0x2340bb._0x21d784,_0x2340bb._0xa1b87)]+'.\x20'+_0x322355[_0xbc352e(-0x109,-_0x2340bb._0x7a75bd,-_0x2340bb._0x2a6be9,-_0x2340bb._0x4c96a2)],_0x322355[_0x44f44a(_0x2340bb._0x346bb6,0x2d4,_0x2340bb._0x35aad4,_0x2340bb._0x3f9cd6)]];if(_0x322355[_0x44f44a(_0x2340bb._0x259973,0x25c,0x24d,0x1c5)])_0x13ef69[_0x44f44a(_0x2340bb._0x4e0fc7,_0x2340bb._0x2cc75f,0x107,_0x2340bb._0xe0bbe1)](_0x322355[_0xbc352e(0x5d,_0x2340bb._0x62be3,-0x63,0xe5)]);function _0xbc352e(_0x1aefc3,_0x3e30f6,_0x24e7f3,_0x48d616){return _0x38428f(_0x1aefc3-_0x24f7f7._0x118ca7,_0x1aefc3,_0x3e30f6- -_0x24f7f7._0x5bfdfb,_0x48d616-0x5f);}if(_0x322355[_0xbc352e(_0x2340bb._0x5aa2ee,_0x2340bb._0x47d499,0x2f8,0x25e)])_0x13ef69['push']('Published:\x20'+_0x322355['publishedAt']);function _0x44f44a(_0x3458a7,_0x527fa7,_0x58e151,_0x284f08){return _0x17af12(_0x527fa7- -_0x807983._0x450eb9,_0x58e151,_0x58e151-0x1ec,_0x284f08-0x1ac);}return _0x13ef69[_0x44f44a(0x275,0x28b,0x3a1,0x223)]('\x0a');})[_0x38428f(0x67d,_0x1ce9ee._0x10b40d,_0x1ce9ee._0x3fd39e,_0x1ce9ee._0x316bfc)]('\x0a\x0a');}async function searchOllama(_0x233198,_0x7bca20,_0x295deb){const _0x27750f={_0x5d452d:0x13e,_0x553596:0xb4,_0x4bf7a9:0x5b9,_0x28b366:0x448,_0x83545b:0x566,_0x2b2157:0x307,_0xf931ea:0x26a,_0x1fb0da:0x328,_0x5e7df9:0x2d2,_0x1688d0:0x543,_0x5f575b:0x4ad,_0x480936:0x4ff,_0x340b72:0x20c,_0x5e14ee:0x3,_0x39c243:0xc4,_0x3907de:0x31c,_0x2dc005:0x24b,_0x2a710b:0x81,_0x3f21fd:0x1ba},_0x328b1b={_0x147746:0x1bd,_0x2a5aa5:0x40f,_0x350bdc:0xdb},_0xa9e021={_0x3e0981:0x20e,_0x13d0a1:0x19c,_0x37c8aa:0x23e,_0x509aa4:0x256,_0x42029d:0x46c,_0x2ecf82:0x3e5,_0x42150e:0xc,_0x3211bb:0x2d5},_0x1def1c={_0x354671:0x9,_0x437435:0x2b},_0x22b934={_0x5bc090:0x18a,_0x34cfe3:0xac},_0x3828e5={_0x27d90b:0x239,_0x45e5c1:0x52},_0x45a02e=Math[_0x5b840e(_0x27750f._0x5d452d,0x84,0x77,_0x27750f._0x553596)](0x1,Math[_0x3d5d5e(0x3f1,_0x27750f._0x4bf7a9,_0x27750f._0x28b366,_0x27750f._0x83545b)](0xa,_0x7bca20[_0x5b840e(0x222,0x1d0,_0x27750f._0x2b2157,_0x27750f._0xf931ea)])),_0x3cffe2=addSiteFilters(_0x7bca20['query'],_0x7bca20[_0x3d5d5e(_0x27750f._0x1fb0da,0x336,0x3f7,_0x27750f._0x5e7df9)]),_0x2062f8=await fetchJson(_0x3d5d5e(_0x27750f._0x1688d0,0x54f,_0x27750f._0x5f575b,_0x27750f._0x480936),_0x295deb,{'method':'POST','headers':{'Authorization':'Bearer\x20'+_0x233198['apiKey']},'body':JSON[_0x5b840e(_0x27750f._0x340b72,0x87,0xab,0x301)]({'query':_0x3cffe2,'max_results':_0x45a02e})});function _0x3d5d5e(_0x12c45b,_0xcd9df1,_0x28f1fd,_0x3be627){return _0x42babe(_0x28f1fd-_0x3828e5._0x27d90b,_0xcd9df1-_0x3828e5._0x45e5c1,_0xcd9df1,_0x3be627-0xa5);}const _0x38577=_0x2062f8[_0x5b840e(0x135,0x4b,0x1c5,_0x27750f._0x5e14ee)]??[],_0x4742e4=_0x38577['map']((_0x3ce1cb,_0x1204d0)=>{const _0x2554ad=_0x3ce1cb[_0xaa8219(_0xa9e021._0x3e0981,_0xa9e021._0x13d0a1,_0xa9e021._0x37c8aa,_0xa9e021._0x509aa4)]||'';let _0x3cdd67;function _0x4e1556(_0x249dc2,_0x543c9d,_0x1a9ca9,_0x26f59b){return _0x5b840e(_0x26f59b-0x41d,_0x543c9d-_0x22b934._0x5bc090,_0x543c9d,_0x26f59b-_0x22b934._0x34cfe3);}function _0xaa8219(_0x31e8a8,_0x3a90e8,_0x9a1c7c,_0x2a6d17){return _0x5b840e(_0x3a90e8- -_0x1def1c._0x354671,_0x3a90e8-_0x1def1c._0x437435,_0x31e8a8,_0x2a6d17-0x173);}try{_0x3cdd67=new URL(_0x2554ad)[_0x4e1556(0x5a6,0x582,0x481,0x50d)];}catch{_0x3cdd67=null;}return{'title':_0x3ce1cb[_0x4e1556(0x289,_0xa9e021._0x42029d,0x4ba,_0xa9e021._0x2ecf82)]||_0xaa8219(-0x24,-_0xa9e021._0x42150e,0x144,-0x63),'url':normalizeUrl(_0x2554ad),'snippet':_0x3ce1cb[_0xaa8219(0x16a,0x239,0x28d,_0xa9e021._0x3211bb)]??null,'displayUrl':_0x3cdd67,'favicon':null,'publishedAt':null,'source':{'engine':'ollama','rank':_0x1204d0+0x1}};});function _0x5b840e(_0x49bef1,_0x2beaf5,_0x4d541c,_0x42db7d){return _0x41c53b(_0x49bef1-_0x328b1b._0x147746,_0x49bef1- -_0x328b1b._0x2a5aa5,_0x4d541c,_0x42db7d-_0x328b1b._0x350bdc);}return{'items':_0x4742e4[_0x5b840e(0x1e1,_0x27750f._0x39c243,_0x27750f._0x3907de,_0x27750f._0x2dc005)](0x0,_0x45a02e),'engine':_0x5b840e(0x1e0,_0x27750f._0x2a710b,0x2a4,_0x27750f._0x3f21fd)};}async function searchTavily(_0x4f4e1e,_0x5ec473,_0x2af5aa){const _0x556dd1={_0x12b6bb:0x71d,_0x5db614:0x5fb,_0x38c0c9:0x3b1,_0x2f23dc:0x367,_0x5a3d0c:0x47f,_0x2c0f78:0x367,_0x526c4b:0x58d,_0x144bf9:0x565,_0x181d04:0x598,_0x334a94:0x617,_0x176c12:0x6ed,_0x450067:0x6eb,_0x463c00:0x714,_0x53d3a1:0x49d,_0x3e4029:0x420,_0x50cb84:0x3c6,_0x5db229:0x4d8,_0x4a57c7:0x538,_0x19b112:0x5cb,_0x61af59:0x665,_0x39a9e8:0x460,_0x3b73d6:0x778,_0x54769b:0x842,_0x28acdf:0x603,_0x4b8a47:0x538,_0x480080:0x614,_0x3ecc75:0x4e7,_0x482340:0x5a2,_0x1e42ed:0x463,_0x1b15b2:0x5b1,_0x31629d:0x5d5,_0x2b3f2a:0x3d8,_0x56cb46:0x5c0,_0x2927ce:0x6f9,_0x531916:0x4fe,_0x45fabb:0x448},_0x33e013={_0x446dd4:0x1d9,_0x4f8ab8:0x93,_0x2fad79:0x13,_0x5cd228:0xb0,_0x3b6489:0x3d4,_0x2139e4:0x28a,_0x5cb737:0x264,_0x1bd4cb:0x1f0},_0x9ce514={_0x449f73:0xdf,_0x48c275:0x2c2},_0x28a822={_0x5157b1:0x3d7},_0x4494ae={_0x5485b2:0x1d0,_0x552341:0x118},_0x10b1cd=Math[_0x3a9332(_0x556dd1._0x12b6bb,0x77c,0x657,_0x556dd1._0x5db614)](0x1,Math[_0x1eb9ad(0x29f,_0x556dd1._0x38c0c9,_0x556dd1._0x2f23dc,0x4ea)](0x14,_0x5ec473['count']));function _0x3a9332(_0xac4e94,_0x2f057b,_0x2e0122,_0x344142){return _0x41c53b(_0xac4e94-0x110,_0x2e0122-0x10a,_0x344142,_0x344142-0x6b);}const _0x2ff59a={'query':_0x5ec473[_0x1eb9ad(0x52d,0x527,_0x556dd1._0x5a3d0c,_0x556dd1._0x2c0f78)],'max_results':_0x10b1cd,'search_depth':_0x4f4e1e['searchDepth']??_0x3a9332(0x6ab,_0x556dd1._0x526c4b,_0x556dd1._0x144bf9,_0x556dd1._0x181d04),'topic':_0x4f4e1e[_0x3a9332(_0x556dd1._0x334a94,_0x556dd1._0x176c12,_0x556dd1._0x450067,_0x556dd1._0x463c00)]??_0x3a9332(_0x556dd1._0x53d3a1,_0x556dd1._0x3e4029,0x488,_0x556dd1._0x50cb84)};if(_0x5ec473[_0x3a9332(_0x556dd1._0x5db229,0x4b5,_0x556dd1._0x4a57c7,_0x556dd1._0x19b112)][_0x3a9332(0x457,_0x556dd1._0x61af59,_0x556dd1._0x526c4b,_0x556dd1._0x39a9e8)]>0x0)_0x2ff59a[_0x3a9332(0x64f,0x646,_0x556dd1._0x3b73d6,_0x556dd1._0x54769b)]=_0x5ec473[_0x3a9332(0x449,_0x556dd1._0x28acdf,_0x556dd1._0x4b8a47,0x4b7)];const _0x4ba50c=await fetchJson('https://api.tavily.com/search',_0x2af5aa,{'method':_0x3a9332(0x6ff,_0x556dd1._0x480080,0x62e,0x6ec),'headers':{'Authorization':_0x3a9332(_0x556dd1._0x3ecc75,0x3d9,0x55a,_0x556dd1._0x482340)+_0x4f4e1e[_0x1eb9ad(_0x556dd1._0x1e42ed,0x435,0x54a,_0x556dd1._0x1b15b2)],'Content-Type':_0x3a9332(0x5f2,_0x556dd1._0x31629d,0x4ac,_0x556dd1._0x2b3f2a)},'body':JSON[_0x3a9332(_0x556dd1._0x56cb46,_0x556dd1._0x2927ce,0x725,0x7e5)](_0x2ff59a)}),_0x12d57b=_0x4ba50c[_0x1eb9ad(0x2be,0x551,0x42c,0x453)]??[];function _0x1eb9ad(_0x1e8c18,_0x31618b,_0x188aea,_0xa30038){return _0x41c53b(_0x1e8c18-_0x4494ae._0x5485b2,_0x188aea- -_0x4494ae._0x552341,_0xa30038,_0xa30038-0x193);}const _0x64268b=_0x12d57b['map']((_0x1b4622,_0x352d75)=>{const _0x503c00=_0x1b4622[_0x350425(0x274,0x2e7,0x394,_0x33e013._0x446dd4)]||'';function _0x350425(_0x5c9af7,_0x311e92,_0x545005,_0x3b8571){return _0x3a9332(_0x5c9af7-0x1d1,_0x311e92-0x126,_0x311e92- -_0x28a822._0x5157b1,_0x5c9af7);}let _0x515dd8;try{_0x515dd8=new URL(_0x503c00)[_0x59cd8f(0x125,0x74,0xfb,0xcb)];}catch{_0x515dd8=null;}function _0x59cd8f(_0x1fbaff,_0x37750f,_0x3075bf,_0x4a282c){return _0x1eb9ad(_0x1fbaff-_0x9ce514._0x449f73,_0x37750f-0x1b0,_0x1fbaff- -_0x9ce514._0x48c275,_0x3075bf);}return{'title':_0x1b4622[_0x350425(_0x33e013._0x4f8ab8,0x10a,0x121,-_0x33e013._0x2fad79)]||_0x350425(_0x33e013._0x5cd228,0x13f,-0x36,0x3c),'url':normalizeUrl(_0x503c00),'snippet':_0x1b4622[_0x59cd8f(0x277,0x2d8,_0x33e013._0x3b6489,_0x33e013._0x2139e4)]??null,'displayUrl':_0x515dd8,'favicon':null,'publishedAt':null,'source':{'engine':_0x59cd8f(_0x33e013._0x5cb737,0x3b9,_0x33e013._0x1bd4cb,0x3e6),'rank':_0x352d75+0x1}};});return{'items':_0x64268b['slice'](0x0,_0x10b1cd),'engine':_0x1eb9ad(_0x556dd1._0x531916,_0x556dd1._0x45fabb,0x526,0x643)};}async function searchGoogleCse(_0x335ba7,_0x33ad95,_0x26ae03){const _0x5f4811={_0x3cedaa:0x378,_0x464c64:0x2d4,_0x8885a1:0x201,_0x37e9aa:0x616,_0x5670c1:0x6a8,_0x3cec50:0x30e,_0x2800f3:0x4ae,_0x49a5b7:0x31c,_0x2a6230:0x36f,_0x2a675e:0x6f8,_0x4b556f:0x644,_0x33c3e7:0x4ce,_0x2b1de6:0x152,_0x2a2586:0x5c0,_0x435507:0x6d,_0x2e5ba3:0x24a,_0x4f6551:0x1b0,_0x5f44c6:0x16e,_0xacdaaa:0x644,_0x5f30b:0x51c,_0x171a13:0x375,_0x4dae53:0x68e,_0x20eee8:0x407,_0x364865:0x457,_0x43d6aa:0x6e2,_0x190460:0x5b7,_0x4791e1:0x299,_0x52e1b0:0x25d,_0x848fa:0x21c,_0xd78ba9:0x271,_0x5f37d2:0x222,_0x49a9be:0x359,_0x327a15:0x789,_0x49866f:0x726,_0x353305:0x1d3,_0x41763b:0x507,_0x43b82e:0x552,_0x281328:0x799,_0x25c62c:0x655,_0x52eed1:0x58e,_0x97ab5e:0x4d4,_0x96c8a9:0x5c1,_0x3b0f3e:0x5ef,_0x410c74:0x37e,_0x132ff4:0x247,_0x5d1265:0x446,_0x4515d9:0x3b3,_0x11d3a4:0x683,_0x1d2233:0x66f,_0x2c69dd:0x5d7,_0x37bd8a:0x72b,_0x2a29ee:0x335,_0x831b41:0x3f8,_0x28ff2b:0x628,_0xfe6b9f:0x5b1,_0x1d45db:0x5e2,_0x24cccb:0x540,_0x2c2fbb:0x62c,_0x1b6512:0x2bb,_0xf7eda8:0x75c,_0x4a0e55:0x67c,_0x290719:0x6db,_0x328cea:0x687,_0x55e5df:0x623,_0x424bfe:0x242,_0x4ff288:0x4dc,_0x46e16a:0x2a1,_0x224192:0x4bd,_0x463655:0x385,_0x1ffea3:0x10,_0x3f9a36:0xfb,_0x238939:0xd6,_0x1ec872:0x208,_0xc7e6f6:0x727,_0xe4d9ba:0x483,_0x18547e:0x21f,_0x3eb30f:0x251,_0x4fd146:0x134,_0x12a385:0x2e7,_0x3e9941:0x59d,_0x83653a:0x301,_0x452ebb:0x4bc,_0x1524dd:0x47b,_0x9d52aa:0x5a4,_0x479527:0x314,_0x4ea147:0x379,_0x199e2a:0x159,_0x492f46:0x18a,_0x504e00:0x48a,_0x5336ac:0x440,_0x18cfa5:0x346,_0x143dfa:0x140,_0x42cc8c:0x1ec,_0x43d1cc:0x247,_0x4ee8fe:0xa3,_0x63ae9a:0x342,_0x3acc78:0x356,_0x2cafaa:0x423,_0x25cd76:0x2bb,_0x3d704c:0x3d3,_0x3ea3ee:0x149,_0x494a67:0x1ff,_0x2ba089:0x1c9,_0x14aa95:0x501,_0x281dd8:0x37f,_0x283cbc:0x19d,_0x129df8:0x205,_0x117be0:0x205,_0x1f6277:0x504},_0x2549cb={_0x499713:0x2ee,_0x43f586:0x60},_0x264dfa=Math['max'](0x1,Math[_0xb23fd4(_0x5f4811._0x3cedaa,_0x5f4811._0x464c64,_0x5f4811._0x8885a1,0x319)](0x32,_0x33ad95[_0x558ff8(_0x5f4811._0x37e9aa,0x6af,_0x5f4811._0x5670c1,0x7db)]));function _0xb23fd4(_0x3f0a87,_0x361792,_0x78a695,_0x202bad){return _0x41c53b(_0x3f0a87-0x15a,_0x78a695- -0x27e,_0x202bad,_0x202bad-0x83);}if(_0x33ad95[_0xb23fd4(_0x5f4811._0x3cec50,_0x5f4811._0x2800f3,0x348,0x258)]+_0x264dfa>0x64)throw new ToolExecutionError(_0xb23fd4(0x28d,_0x5f4811._0x49a5b7,_0x5f4811._0x2a6230,0x1ef),{'offset':_0x33ad95[_0x558ff8(_0x5f4811._0x2a675e,_0x5f4811._0x4b556f,_0x5f4811._0x33c3e7,0x7cb)],'count':_0x264dfa,'maxResults':0x64});const _0xba2c4f=cseDateRestrict(_0x33ad95[_0xb23fd4(0xae,0xfc,_0x5f4811._0x2b1de6,0x1c3)]),_0x2f46b2=addSiteFilters(_0x33ad95[_0x558ff8(_0x5f4811._0x2a2586,0x615,0x5df,0x69a)],_0x33ad95[_0xb23fd4(_0x5f4811._0x435507,_0x5f4811._0x2e5ba3,_0x5f4811._0x4f6551,_0x5f4811._0x5f44c6)]);let _0x267082=0x0,_0x20a750=_0x33ad95[_0x558ff8(0x6d2,_0x5f4811._0xacdaaa,0x614,_0x5f4811._0x5f30b)]+0x1;const _0x4808c4=[];function _0x558ff8(_0x3d4da3,_0x6a52e8,_0x409821,_0x388f3f){return _0x42babe(_0x6a52e8-_0x2549cb._0x499713,_0x6a52e8-_0x2549cb._0x43f586,_0x409821,_0x388f3f-0x93);}while(_0x267082<_0x264dfa){const _0x349a59=Math[_0xb23fd4(0xa7,_0x5f4811._0x171a13,0x201,0x11e)](0xa,_0x264dfa-_0x267082),_0x4a2876=new URL(_0x558ff8(_0x5f4811._0x4dae53,0x566,0x631,0x5b6));_0x4a2876[_0xb23fd4(0x3e8,_0x5f4811._0x20eee8,0x359,_0x5f4811._0x364865)][_0x558ff8(0x672,_0x5f4811._0x43d6aa,_0x5f4811._0x190460,0x6ff)](_0xb23fd4(0x3a6,_0x5f4811._0x4791e1,0x34f,_0x5f4811._0x52e1b0),_0x335ba7[_0xb23fd4(_0x5f4811._0x848fa,0x155,0x25b,_0x5f4811._0xd78ba9)]),_0x4a2876[_0xb23fd4(_0x5f4811._0x5f37d2,0x373,_0x5f4811._0x49a9be,0x400)]['set']('cx',_0x335ba7[_0x558ff8(_0x5f4811._0x327a15,0x678,_0x5f4811._0x49866f,0x6b9)]),_0x4a2876[_0xb23fd4(_0x5f4811._0x353305,0x1fd,0x359,0x27f)][_0xb23fd4(_0x5f4811._0x41763b,_0x5f4811._0x43b82e,0x3e6,0x555)]('q',_0x2f46b2),_0x4a2876[_0x558ff8(_0x5f4811._0x281328,_0x5f4811._0x25c62c,_0x5f4811._0x52eed1,_0x5f4811._0x97ab5e)]['set'](_0xb23fd4(0x86,-0x61,0x11c,-0x3f),String(_0x349a59)),_0x4a2876[_0x558ff8(_0x5f4811._0x96c8a9,0x655,0x6cc,_0x5f4811._0x3b0f3e)]['set'](_0xb23fd4(_0x5f4811._0x410c74,0x299,0x3cd,_0x5f4811._0x132ff4),String(_0x20a750)),_0x4a2876[_0xb23fd4(0x34c,0x421,0x359,_0x5f4811._0x5d1265)][_0xb23fd4(0x2a6,0x3f9,0x3e6,_0x5f4811._0x4515d9)](_0x558ff8(0x60a,_0x5f4811._0x11d3a4,0x71a,_0x5f4811._0x1d2233),_0x33ad95[_0x558ff8(_0x5f4811._0x2c69dd,_0x5f4811._0x11d3a4,0x655,_0x5f4811._0x37bd8a)]?'active':_0xb23fd4(0x3ae,0x2aa,0x249,_0x5f4811._0x2a29ee));_0x33ad95['lang']&&(_0x4a2876[_0xb23fd4(0x355,_0x5f4811._0x831b41,0x359,0x1eb)][_0x558ff8(_0x5f4811._0x28ff2b,0x6e2,_0x5f4811._0xfe6b9f,_0x5f4811._0x1d45db)]('hl',_0x33ad95['lang']),_0x4a2876[_0x558ff8(0x5b8,_0x5f4811._0x25c62c,_0x5f4811._0x24cccb,_0x5f4811._0x2c2fbb)]['set']('lr',_0xb23fd4(0x1df,0x3f9,0x306,_0x5f4811._0x1b6512)+_0x33ad95[_0x558ff8(_0x5f4811._0xf7eda8,_0x5f4811._0x4a0e55,_0x5f4811._0x290719,0x624)]));if(_0x33ad95[_0x558ff8(0x7cb,0x681,_0x5f4811._0x328cea,_0x5f4811._0x55e5df)])_0x4a2876[_0xb23fd4(_0x5f4811._0x424bfe,_0x5f4811._0x4ff288,_0x5f4811._0x49a9be,0x264)][_0xb23fd4(_0x5f4811._0x46e16a,_0x5f4811._0x224192,0x3e6,0x403)]('gl',_0x33ad95[_0xb23fd4(0x3ca,0x324,_0x5f4811._0x463655,0x37f)]['toUpperCase']());if(_0x33ad95['type']===_0xb23fd4(-_0x5f4811._0x1ffea3,0x19b,_0x5f4811._0x3f9a36,_0x5f4811._0x238939))_0x4a2876[_0xb23fd4(_0x5f4811._0x1ec872,0x42d,0x359,0x490)][_0x558ff8(0x5bc,0x6e2,_0x5f4811._0xc7e6f6,0x6f6)](_0x558ff8(_0x5f4811._0xe4d9ba,_0x5f4811._0x20eee8,0x3ba,0x437),_0xb23fd4(0x3b9,_0x5f4811._0x18547e,_0x5f4811._0x3eb30f,0xdc));if(_0xba2c4f)_0x4a2876['searchParams']['set'](_0xb23fd4(0x24d,0xf9,_0x5f4811._0x4fd146,0x203),_0xba2c4f);const _0x386c12=await fetchJson(_0x4a2876['toString'](),_0x26ae03),_0x27c886=_0x386c12['items']??[];if(_0x27c886[_0xb23fd4(0x23a,0x83,0x205,_0x5f4811._0x12a385)]===0x0)break;const _0x3210a7=_0x267082;for(let _0x431ead=0x0;_0x431ead<_0x27c886[_0x558ff8(0x59f,0x501,0x640,_0x5f4811._0x3e9941)];_0x431ead++){const _0x3ed6c5=_0x27c886[_0x431ead];if(!_0x3ed6c5)continue;const _0x4431de=_0x3ed6c5[_0x558ff8(0x34e,0x454,0x577,0x592)]||_0x3ed6c5[_0xb23fd4(_0x5f4811._0x83653a,0x3ab,0x251,0x14b)]?.[_0x558ff8(_0x5f4811._0x452ebb,0x521,_0x5f4811._0x1524dd,0x3e1)]||'',_0x27a6fc=_0x3ed6c5[_0x558ff8(_0x5f4811._0x9d52aa,0x455,_0x5f4811._0x479527,_0x5f4811._0x4ea147)]||_0x3ed6c5['image']?.[_0xb23fd4(0x37,0x288,_0x5f4811._0x199e2a,_0x5f4811._0x492f46)]||_0x558ff8(0x33a,_0x5f4811._0x504e00,0x48c,_0x5f4811._0x5336ac),_0x2752b4=_0x3ed6c5[_0xb23fd4(_0x5f4811._0x18cfa5,0x246,0x2be,0x1a0)]||_0x3ed6c5[_0xb23fd4(_0x5f4811._0x143dfa,_0x5f4811._0x42cc8c,_0x5f4811._0x43d1cc,0x33a)]?.[_0xb23fd4(0xbf,0x121,0x17f,_0x5f4811._0x4ee8fe)](/<[^>]+>/g,''),_0x48f8c6=_0x3ed6c5[_0xb23fd4(_0x5f4811._0x63ae9a,_0x5f4811._0x3acc78,0x287,0x110)]?.[_0xb23fd4(0x1ad,_0x5f4811._0x2cafaa,_0x5f4811._0x25cd76,_0x5f4811._0x3d704c)]?.[0x0]??{};let _0x163524;try{_0x163524=new URL(_0x4431de)[_0xb23fd4(0x1fd,_0x5f4811._0x3ea3ee,0x281,0x225)];}catch{_0x163524=null;}_0x4808c4[_0xb23fd4(0x110,0x140,0x143,0x2bf)]({'title':_0x27a6fc,'url':normalizeUrl(_0x4431de),'snippet':_0x2752b4??null,'displayUrl':_0x163524,'favicon':null,'publishedAt':_0x48f8c6['article:published_time']||_0x48f8c6['og:updated_time']||null,'source':{'engine':_0xb23fd4(_0x5f4811._0x494a67,_0x5f4811._0x2ba089,0x189,0xdc),'rank':_0x3210a7+_0x431ead+0x1}});}_0x267082+=_0x27c886[_0x558ff8(0x3a7,_0x5f4811._0x14aa95,0x383,_0x5f4811._0x281dd8)],_0x20a750+=_0x27c886[_0xb23fd4(_0x5f4811._0x283cbc,0x130,_0x5f4811._0x129df8,0x381)];if(_0x27c886[_0xb23fd4(0x1cb,0x341,_0x5f4811._0x117be0,0x385)]<_0x349a59)break;}return _0x4808c4[_0x558ff8(0x6da,0x66e,_0x5f4811._0x1f6277,0x613)](0x0,_0x264dfa);}function isGoogleCseEngine(_0x18fac2){const _0x597879={_0xbfd652:0x33d,_0x2032f9:0x479};function _0x50bf75(_0x3e3457,_0x42c496,_0x527d81,_0x2b79bf){return _0x41c53b(_0x3e3457-0x1b3,_0x527d81- -0x60,_0x2b79bf,_0x2b79bf-0xd7);}return _0x50bf75(0x4bf,_0x597879._0xbfd652,_0x597879._0x2032f9,0x303)in _0x18fac2;}function isOllamaEngine(_0x5756a3){return'apiKey'in _0x5756a3;}function isTavilyEngine(_0x17871f){const _0x53756f={_0x15b2f7:0x4d9};function _0x1fa0d4(_0x201cbb,_0x4a7820,_0x5c6df5,_0x16eb27){return _0x42babe(_0x5c6df5-0x58,_0x4a7820-0x12b,_0x16eb27,_0x16eb27-0x1d7);}return _0x1fa0d4(0x439,_0x53756f._0x15b2f7,0x44a,0x46d)in _0x17871f;}function createWebSearchTool(_0x581595){const _0x5da213={_0x57dc90:0x4,_0x497491:0xe8,_0x38cadd:0x73,_0x400267:0x105,_0x4658aa:0x179,_0x262b76:0x187,_0x571622:0x2f2,_0x9a91ef:0x21,_0x81f461:0x23,_0x43ad9b:0xe,_0xbedf02:0x13,_0x18c9ef:0xb5,_0x25c6d0:0xd1,_0x60d0cf:0x10,_0x27615e:0x6e,_0x4e574c:0xba,_0x5dc3bb:0x1b0,_0x4b464f:0x69,_0x118da2:0x1e1,_0x2e579e:0x121,_0x2ef4fe:0x17f,_0x4a2291:0x86,_0x258da6:0x191,_0x389e2d:0xca,_0x2af3bb:0x108,_0x4bd272:0xa1,_0x49a1ab:0x36,_0x467d9c:0x11b,_0x23331c:0xea,_0x286a52:0x7f},_0x3936f1={_0x1bfc7b:0x554,_0x1057c5:0x5f0,_0xf23714:0x509,_0x2c2a82:0x4a3,_0x18213e:0x1ed,_0x38c7e2:0x2c7,_0x125783:0x5c2,_0x307e36:0x6a7,_0x6499c0:0x776,_0x3affb8:0x7e6,_0x47af57:0x6d3,_0xac12ce:0x5c6,_0x5b821e:0x72,_0xb56bcb:0x1e3,_0x5149fe:0x3da,_0x15c2c4:0x9d,_0x329ac5:0x16a,_0x323bb5:0x66,_0x1ff795:0x72e,_0x14ad4f:0x6b2,_0x4f2c23:0x2f4,_0x478277:0x312,_0x57e753:0x1d0,_0x20769f:0x29b,_0x4db369:0x76,_0x13c1e3:0x12b,_0x241a2e:0x1de,_0x39bd31:0x65,_0x42e27d:0x282,_0x56d503:0x65,_0x514cca:0x565,_0x538d7c:0x83,_0x194dc2:0x1fd,_0x48c52d:0x1a3,_0x1c9ffb:0x75b,_0x14661d:0x2f9,_0x27d7d7:0x1f,_0x13ea72:0x178,_0x19d5ee:0x7c,_0x3719ab:0x160,_0x280691:0x777,_0x15ad79:0x11e,_0x1c69b5:0x319,_0x2bcd2c:0x19d,_0x251e88:0x298,_0x5595ae:0x288,_0x88ef6e:0x12d,_0x5da011:0x231,_0x52dd81:0x12f,_0x211950:0x6e,_0x671205:0x1d1,_0x4ee5a1:0x23b,_0x5db1c2:0x16c,_0x19d56b:0x2a4,_0x5033f7:0x4c8,_0x5dc62a:0x524,_0xb257a1:0x628,_0x5d7eb8:0x75,_0x692345:0xbe,_0x1b2988:0x167,_0x569e25:0x128,_0x3bf4c6:0x396,_0x400fdb:0x299,_0x51bb3b:0x170,_0x9d177a:0x761,_0x350ca2:0x6a3,_0x4ab2da:0x4a0,_0x2789f9:0x583,_0x282e74:0x5f,_0x541dd5:0xf7,_0x27d0d8:0x152,_0x3880ab:0x724,_0x11a822:0x6e4,_0x214b54:0x626,_0x5e3aef:0x15d,_0x1ed210:0xcf,_0x3e456f:0x12d},_0x3eb509={_0x19c465:0xa2,_0x34e0fb:0xea,_0x8a8712:0xd8,_0x5928d9:0xbc,_0x1b427d:0x35,_0x273c44:0xb4,_0x1b328b:0x17,_0x8e9398:0xe6,_0x15b8a3:0x8c},_0x473a52={_0x161cd3:0x290,_0x2cc454:0x39},_0x59c468={_0x144f7b:0x503};if(!_0x581595[_0x20246e(-0xcc,-0xf3,_0x5da213._0x57dc90,-0x15c)]||_0x581595[_0x1073b7(0x7,-_0x5da213._0x497491,-0xa7,-_0x5da213._0x38cadd)][_0x20246e(-0x14e,0x2d,-0x80,_0x5da213._0x400267)]===0x0)throw new Error('WebSearch\x20requires\x20at\x20least\x20one\x20search\x20engine\x20configured');const _0x2f29b7=_0x581595[_0x1073b7(-0x6a,-_0x5da213._0x4658aa,-_0x5da213._0x262b76,-0x6b)]??_0x1073b7(0x71,0x70,0x9d,-0x52);function _0x20246e(_0x3cfb0d,_0x18163e,_0x2f42f1,_0x53f5a8){return _0x41c53b(_0x3cfb0d-0xc1,_0x2f42f1- -_0x59c468._0x144f7b,_0x18163e,_0x53f5a8-0x1cb);}const _0x7c85ee=_0x581595[_0x1073b7(-0x16c,-0x258,-0x227,-_0x5da213._0x571622)];function _0x1073b7(_0x314379,_0x3867b8,_0x26b0e4,_0x5bdc54){return _0x42babe(_0x314379- -_0x473a52._0x161cd3,_0x3867b8-_0x473a52._0x2cc454,_0x26b0e4,_0x5bdc54-0x65);}return defineTool({'name':_0x2f29b7,'description':_0x1073b7(-_0x5da213._0x9a91ef,-_0x5da213._0x81f461,_0x5da213._0x43ad9b,_0x5da213._0xbedf02),'inputSchema':{'type':_0x1073b7(_0x5da213._0x18c9ef,-_0x5da213._0x25c6d0,-_0x5da213._0x60d0cf,-_0x5da213._0x27615e),'properties':{'description':{'type':_0x1073b7(_0x5da213._0x4e574c,_0x5da213._0x5dc3bb,0x11,_0x5da213._0x4b464f)},'query':{'type':_0x20246e(0x139,_0x5da213._0x118da2,0xb7,0x107)},'count':{'type':_0x1073b7(0x89,_0x5da213._0x2e579e,_0x5da213._0x2ef4fe,0x6)},'offset':{'type':'number'},'domains':{'type':'array','items':{'type':'string'}},'recencyDays':{'type':_0x20246e(0x4a,0xc4,_0x5da213._0x4a2291,_0x5da213._0x258da6)},'lang':{'type':_0x20246e(_0x5da213._0x389e2d,-0xab,0xb7,_0x5da213._0x2af3bb)},'region':{'type':_0x20246e(0x18b,_0x5da213._0x4bd272,0xb7,0x1ad)},'safe':{'type':_0x20246e(-0x1b8,-_0x5da213._0x49a1ab,-_0x5da213._0x2ef4fe,-_0x5da213._0x467d9c)},'type':{'type':_0x1073b7(0xba,0x168,0x56,_0x5da213._0x23331c)},'hydrateMeta':{'type':_0x20246e(-0x276,-_0x5da213._0x23331c,-0x17f,-0x170)}},'required':[_0x1073b7(0x97,0x26,_0x5da213._0x286a52,0x1bf)]},async *'execute'(_0x16d81b,_0x47e5ad){const _0x37f2d4={_0x272a19:0x661,_0x15005a:0x12d},_0x305436={_0x1d0efa:0xc3},_0x2f528a=_0x16d81b['query']['trim']();if(!_0x2f528a)throw new ToolExecutionError(_0x38e6af(0x4eb,0x431,_0x3936f1._0x1bfc7b,_0x3936f1._0x1057c5));const _0x22a5aa={'query':_0x2f528a,'count':Math['max'](0x1,Math[_0x38e6af(0x5dd,_0x3936f1._0xf23714,0x4ab,_0x3936f1._0x2c2a82)](0x32,Math['trunc'](_0x16d81b[_0x5e0077(0x16f,0x2f5,_0x3936f1._0x18213e,_0x3936f1._0x38c7e2)]??0xa))),'offset':Math[_0x38e6af(0x6ab,0x758,_0x3936f1._0x125783,_0x3936f1._0x307e36)](0x0,Math[_0x38e6af(0x7ba,_0x3936f1._0x6499c0,0x705,_0x3936f1._0x3affb8)](_0x16d81b['offset']??0x0)),'domains':_0x16d81b[_0x38e6af(0x58c,0x691,_0x3936f1._0x47af57,_0x3936f1._0xac12ce)]??[],'recencyDays':Math[_0x5e0077(_0x3936f1._0x5b821e,0x356,0x2e8,_0x3936f1._0xb56bcb)](0x0,Math[_0x5e0077(_0x3936f1._0x5149fe,0x334,0x2e8,0x2f2)](_0x16d81b[_0x5e0077(-_0x3936f1._0x15c2c4,0x69,_0x3936f1._0x329ac5,_0x3936f1._0x323bb5)]??0x0)),'lang':_0x16d81b['lang']??'en','region':_0x16d81b[_0x38e6af(0x761,0x7ad,_0x3936f1._0x1ff795,_0x3936f1._0x14ad4f)]??'','safe':_0x16d81b[_0x5e0077(_0x3936f1._0x4f2c23,_0x3936f1._0x478277,_0x3936f1._0x57e753,_0x3936f1._0x20769f)]??!![],'type':normalizeType(_0x16d81b['type']),'hydrateMeta':_0x16d81b[_0x5e0077(-0x2f,_0x3936f1._0x4db369,0x230,0x12d)]??![]};let _0x22c996=[],_0x30b08a=_0x5e0077(_0x3936f1._0x13c1e3,_0x3936f1._0x241a2e,_0x3936f1._0x39bd31,0x1a9);for(const _0x19cd8a of _0x581595['engines']){try{if(isGoogleCseEngine(_0x19cd8a))_0x22c996=await searchGoogleCse(_0x19cd8a,_0x22a5aa,_0x47e5ad[_0x5e0077(0x1f6,_0x3936f1._0x42e27d,_0x3936f1._0x56d503,0x1a3)]),_0x30b08a=_0x38e6af(_0x3936f1._0x514cca,0x69e,0x420,0x6a0);else{if(isOllamaEngine(_0x19cd8a)){const _0x18416d=await searchOllama(_0x19cd8a,_0x22a5aa,_0x47e5ad[_0x5e0077(_0x3936f1._0x538d7c,0x51,_0x3936f1._0x194dc2,_0x3936f1._0x48c52d)]);_0x22c996=_0x18416d[_0x38e6af(0x6a1,_0x3936f1._0x1c9ffb,0x674,0x5c5)],_0x30b08a=_0x18416d[_0x5e0077(_0x3936f1._0x14661d,_0x3936f1._0x27d7d7,0x12f,_0x3936f1._0x13ea72)];}else{if(isTavilyEngine(_0x19cd8a)){const _0x2145bd=await searchTavily(_0x19cd8a,_0x22a5aa,_0x47e5ad['signal']);_0x22c996=_0x2145bd['items'],_0x30b08a=_0x2145bd['engine'];}}}if(_0x22c996[_0x5e0077(0x50,_0x3936f1._0x19d5ee,_0x3936f1._0x3719ab,0x119)]>0x0)break;}catch(_0x52e267){if(_0x19cd8a===_0x581595[_0x38e6af(0x665,0x730,0x5af,_0x3936f1._0x280691)][_0x581595[_0x5e0077(_0x3936f1._0x15ad79,_0x3936f1._0x1c69b5,0xbb,_0x3936f1._0x2bcd2c)]['length']-0x1])throw _0x52e267;}}_0x22a5aa[_0x5e0077(_0x3936f1._0x251e88,-0x51,_0x3936f1._0x5595ae,_0x3936f1._0x88ef6e)]&&_0x22c996[_0x5e0077(_0x3936f1._0x5da011,0x58,_0x3936f1._0x52dd81,0x119)]>0x0&&(_0x22c996=await hydrateResults(_0x22c996,_0x22a5aa[_0x5e0077(0x12e,0x297,0x25a,0x294)],_0x47e5ad['signal'],_0x7c85ee));const _0x2ae61f=new Set();_0x22c996=_0x22c996[_0x5e0077(_0x3936f1._0x211950,0x2e6,_0x3936f1._0x19d5ee,_0x3936f1._0x671205)](_0x3e09d1=>{const _0x4f6082={_0x1ebaca:0x63a,_0x1a1cf9:0x107,_0x4deeda:0x1b0},_0x4d32a1=_0x3e09d1[_0x468ddf(_0x3eb509._0x19c465,_0x3eb509._0x34e0fb,_0x3eb509._0x8a8712,-0x4a)]['toLowerCase']();function _0x46038a(_0x3829d7,_0x85bfd7,_0x18441a,_0x5f174a){return _0x38e6af(_0x3829d7- -0x506,_0x85bfd7-0x14f,_0x5f174a,_0x5f174a-_0x305436._0x1d0efa);}if(!_0x4d32a1||_0x2ae61f[_0x468ddf(0xf1,_0x3eb509._0x5928d9,_0x3eb509._0x1b427d,-_0x3eb509._0x273c44)](_0x4d32a1))return![];_0x2ae61f[_0x468ddf(-_0x3eb509._0x1b328b,0x50,_0x3eb509._0x8e9398,_0x3eb509._0x15b8a3)](_0x4d32a1);function _0x468ddf(_0x292059,_0x38e7ed,_0x31c0f7,_0x42d162){return _0x38e6af(_0x31c0f7- -_0x4f6082._0x1ebaca,_0x38e7ed-_0x4f6082._0x1a1cf9,_0x292059,_0x42d162-_0x4f6082._0x4deeda);}return!![];}),_0x22c996=_0x22c996[_0x5e0077(0x3f1,_0x3936f1._0x4ee5a1,_0x3936f1._0x5db1c2,_0x3936f1._0x19d56b)]((_0x5a2447,_0x1d005e)=>({..._0x5a2447,'source':{..._0x5a2447['source'],'rank':_0x1d005e+0x1}}));const _0x420fda={};function _0x38e6af(_0x1dd96,_0x295579,_0x4657fe,_0x3b5d5b){return _0x20246e(_0x1dd96-0x74,_0x4657fe,_0x1dd96-_0x37f2d4._0x272a19,_0x3b5d5b-_0x37f2d4._0x15005a);}if(_0x22a5aa[_0x38e6af(0x58c,0x5db,0x69c,0x412)][_0x38e6af(0x5e1,_0x3936f1._0x5033f7,_0x3936f1._0x5dc62a,_0x3936f1._0xb257a1)]>0x0)_0x420fda['domains']=_0x22a5aa[_0x5e0077(_0x3936f1._0x5d7eb8,-0x2d,_0x3936f1._0x692345,0xc4)];if(_0x22a5aa['recencyDays']>0x0)_0x420fda['recencyDays']=_0x22a5aa[_0x5e0077(-0xe9,_0x3936f1._0x1b2988,_0x3936f1._0x569e25,_0x3936f1._0x323bb5)];if(_0x22a5aa['lang']!=='en')_0x420fda['lang']=_0x22a5aa['lang'];if(_0x22a5aa[_0x5e0077(0x37e,0x2dd,_0x3936f1._0x3bf4c6,_0x3936f1._0x400fdb)])_0x420fda[_0x5e0077(_0x3936f1._0x51bb3b,0x1af,0x328,0x299)]=_0x22a5aa[_0x38e6af(_0x3936f1._0x9d177a,0x650,0x60d,_0x3936f1._0x350ca2)];yield createToolOutput(formatResults(_0x22c996),{'engine':_0x30b08a,'count':_0x22c996[_0x38e6af(0x5e1,_0x3936f1._0x4ab2da,0x4d1,_0x3936f1._0x2789f9)],'items':_0x22c996,'query':_0x22a5aa['query'],...Object['keys'](_0x420fda)[_0x5e0077(-_0x3936f1._0x282e74,_0x3936f1._0x541dd5,_0x3936f1._0x27d0d8,0x119)]>0x0?{'appliedFilters':_0x420fda}:{},'offset':_0x22a5aa[_0x38e6af(_0x3936f1._0x3880ab,_0x3936f1._0x11a822,0x7d7,_0x3936f1._0x214b54)],'totalRequested':_0x22a5aa['count'],'hydrated':_0x22a5aa[_0x5e0077(_0x3936f1._0x5e3aef,_0x3936f1._0x1ed210,0x3,_0x3936f1._0x3e456f)]});function _0x5e0077(_0xae879a,_0x4dcd5b,_0x3c363a,_0x3ecb7a){return _0x1073b7(_0x3ecb7a-0x196,_0x4dcd5b-0x6a,_0xae879a,_0x3ecb7a-0x169);}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(_0x63ecbe,_0x2c8a9d){const _0x40ce67={_0x404021:0xa3,_0x41cb79:0x33,_0x400ebb:0x3bf,_0x1fa107:0x453,_0x44e92e:0x4a5,_0x5c53ef:0x649,_0x31370c:0x4dc,_0x3cc951:0x55f,_0xcedca:0x2f8,_0x30e78e:0x491,_0x277a19:0x5ed,_0x231a9a:0x743,_0x51ba58:0x499,_0x120e1c:0x557,_0x2610ef:0x4b2,_0x12bfce:0x402,_0x45c67a:0x32d,_0x489cf3:0x393,_0x4ee1aa:0x2d8,_0x1119fe:0x1ec,_0x246e56:0x203,_0x2a307b:0x116,_0x448767:0x198,_0x5061a3:0x275,_0x5dc5f4:0x3d0,_0x1fe5fb:0x4bc},_0x218e62={_0x4e10c1:0x2ce};function _0x50520b(_0x282f12,_0x382f7b,_0x3b0765,_0x135579){return _0x29c8(_0x3b0765- -0x6e,_0x282f12);}function _0x35db20(_0xdc707b,_0x3894a9,_0x132c3b,_0x7e5bc9){return _0x29c8(_0x132c3b-_0x218e62._0x4e10c1,_0x3894a9);}const _0x7addbc=_0x63ecbe();while(!![]){try{const _0x59f513=parseInt(_0x50520b(_0x40ce67._0x404021,_0x40ce67._0x41cb79,0xc9,0x1f4))/0x1*(-parseInt(_0x35db20(_0x40ce67._0x400ebb,_0x40ce67._0x1fa107,_0x40ce67._0x44e92e,0x541))/0x2)+-parseInt(_0x35db20(0x608,0x535,_0x40ce67._0x5c53ef,_0x40ce67._0x31370c))/0x3+-parseInt(_0x35db20(_0x40ce67._0x3cc951,0x347,0x3d8,_0x40ce67._0xcedca))/0x4+parseInt(_0x35db20(_0x40ce67._0x30e78e,0x6bc,_0x40ce67._0x277a19,_0x40ce67._0x231a9a))/0x5*(parseInt(_0x35db20(_0x40ce67._0x51ba58,_0x40ce67._0x120e1c,_0x40ce67._0x2610ef,0x46a))/0x6)+-parseInt(_0x35db20(_0x40ce67._0x12bfce,0x2de,0x3e6,0x455))/0x7+parseInt(_0x50520b(0x1ca,0x301,_0x40ce67._0x45c67a,_0x40ce67._0x489cf3))/0x8*(parseInt(_0x50520b(_0x40ce67._0x4ee1aa,_0x40ce67._0x1119fe,0x17e,_0x40ce67._0x246e56))/0x9)+parseInt(_0x50520b(-0x1,0x20a,_0x40ce67._0x2a307b,_0x40ce67._0x448767))/0xa*(parseInt(_0x35db20(_0x40ce67._0x5061a3,0x2c9,_0x40ce67._0x5dc5f4,_0x40ce67._0x1fe5fb))/0xb);if(_0x59f513===_0x2c8a9d)break;else _0x7addbc['push'](_0x7addbc['shift']());}catch(_0x1919b9){_0x7addbc['push'](_0x7addbc['shift']());}}}(_0x46e5,0xa6e24));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,resolveToolPermissionClass,validateToolInput}from'../chunk-WDPOWIJR.js';import{getTextFromMessage}from'../chunk-YNOIG4FD.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 _0x5e6c0d from'path';var EXTENSION_TO_LANGUAGE={'.ts':'typescript','.tsx':_0x38eb01(0x11a,-0xd,0x142,-0x91),'.js':_0x2cc51b(0x598,0x646,0x680,0x581),'.jsx':'javascriptreact','.mjs':_0x2cc51b(0x567,0x46d,0x4ca,0x581),'.cjs':_0x38eb01(0x10f,0x75,0xc4,-0xf),'.mts':'typescript','.cts':_0x38eb01(-0x10d,-0x5,-0x34,-0x11b),'.json':'json','.jsonc':_0x2cc51b(0x41b,0x4a3,0x38c,0x445)};function getLanguageId(_0x2a5a8a){const _0x3bd9ad={_0x14ad3c:0x234,_0x3f98c1:0x1},_0x37f2c7={_0x369d37:0x158},_0x453dc2={_0x3414f6:0x177,_0x3276f2:0x38,_0xf3c928:0x338};function _0x37444d(_0x3c495f,_0x4abd1e,_0x58fdfd,_0xc61a9d){return _0x2cc51b(_0x58fdfd,_0x4abd1e-_0x453dc2._0x3414f6,_0x58fdfd-_0x453dc2._0x3276f2,_0xc61a9d- -_0x453dc2._0xf3c928);}function _0x511b3e(_0x5e7bdb,_0x2657d1,_0x1a4d0a,_0x2252d3){return _0x38eb01(_0x2252d3,_0x5e7bdb-_0x37f2c7._0x369d37,_0x1a4d0a-0xf2,_0x2252d3-0x1d4);}return EXTENSION_TO_LANGUAGE[_0x5e6c0d[_0x37444d(_0x3bd9ad._0x14ad3c,0xc4,0x14e,0x138)](_0x2a5a8a)[_0x511b3e(0x4d,_0x3bd9ad._0x3f98c1,0x78,-0xf8)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8;function uriForPath(_0x475240){const _0x2e700f={_0x25b3e2:0x556};function _0x166306(_0x1c8990,_0x368896,_0x4df85f,_0x360606){return _0x2cc51b(_0x1c8990,_0x368896-0x8a,_0x4df85f-0x74,_0x360606- -_0x2e700f._0x25b3e2);}return pathToFileURL(_0x475240)[_0x166306(-0x2ce,-0x104,-0xb0,-0x145)]();}function textDocumentPosition(_0x1347af){const _0x56749a={_0x3e04b4:0x60c,_0x5a5447:0x64a,_0x143460:0x5cc,_0x1ecb08:0x1da,_0x5b5d2a:0x414},_0x404c06={_0x29fe26:0x45b,_0x514513:0x1de},_0xe0f5e={_0x1c326:0x1e0};function _0x3e45bc(_0x13a259,_0x50e229,_0x3f2a51,_0x4349c9){return _0x2cc51b(_0x50e229,_0x50e229-0x1ac,_0x3f2a51-_0xe0f5e._0x1c326,_0x4349c9-0x74);}function _0xe365d4(_0x1558ea,_0x5ed90a,_0x342184,_0x12e98b){return _0x38eb01(_0x342184,_0x12e98b-_0x404c06._0x29fe26,_0x342184-_0x404c06._0x514513,_0x12e98b-0x15);}return{'textDocument':{'uri':uriForPath(_0x1347af[_0x3e45bc(_0x56749a._0x3e04b4,_0x56749a._0x5a5447,_0x56749a._0x143460,0x521)])},'position':{'line':_0x1347af['line'],'character':_0x1347af[_0x3e45bc(_0x56749a._0x1ecb08,_0x56749a._0x5b5d2a,0x2f6,0x33d)]}};}function normalizeLocations(_0x477608){const _0x2e8d3f={_0x18f9dc:0x124,_0x483b30:0x9f},_0xf8cc3b={_0x26c030:0x12f,_0x25a815:0x22};function _0x1ccf9c(_0x1c3508,_0xf52c32,_0x47b6fc,_0x29c199){return _0x2cc51b(_0x29c199,_0xf52c32-_0xf8cc3b._0x26c030,_0x47b6fc-_0xf8cc3b._0x25a815,_0x1c3508- -0x51b);}if(!_0x477608)return[];return Array[_0x1ccf9c(-_0x2e8d3f._0x18f9dc,-_0x2e8d3f._0x483b30,-0x147,0x46)](_0x477608)?_0x477608:[_0x477608];}async function createLspClient(_0x268663){const _0x2a03e0={_0x547c89:0x2c7,_0x3a6e55:0x1ff,_0x55b4b3:0x155,_0x5cafc5:0x251,_0x3a332e:0x267,_0x4920ef:0x1cd,_0x96d123:0x26c,_0x2e6446:0x170,_0x3e8871:0x1d8,_0x41061f:0x25a,_0x2dcd7a:0xc1,_0x1f47ca:0x339,_0x56eaa7:0x2f3,_0x58cdce:0x20b,_0x5322c6:0x284,_0x412f43:0x31c,_0x4c1366:0x29f,_0x327220:0x411,_0x5b799a:0x215,_0x203199:0x304,_0x2be58a:0x226,_0x31f5c2:0x198,_0x544c1d:0x1c7,_0x4f785a:0x2c8,_0x8346bc:0x2c5,_0x299840:0x217,_0x5a928e:0x38e,_0x43455c:0x427,_0x2d9f4b:0x303,_0x5d4712:0x1be,_0x456f6f:0x300,_0x4397ec:0x15d,_0x3bd4c4:0x30b,_0x4dac04:0x1af,_0x5063fc:0x455,_0x592d3a:0x309,_0x1dca78:0x244,_0xa855b1:0x1df,_0x3ec136:0x487,_0x653d6c:0x447,_0x28071b:0x24d,_0x1b091c:0xd6,_0x112c50:0x277,_0x3dbe86:0x1b8,_0xbc346c:0x32b},_0x40b055={_0x3f6fa1:0x3d5,_0x78f460:0x618,_0x5b5670:0x563,_0x4965e9:0x64c,_0x247e06:0x303,_0x3679e0:0x355,_0xd0a6f3:0x3dd,_0x1a1522:0x32c,_0x3e964e:0x4ac,_0x428cac:0x3f8,_0x423169:0x409,_0xc98165:0x42a,_0x57b9dd:0x3c3,_0x4f6131:0x433},_0x384ffa={_0x4816e1:0x197,_0x57ed9b:0xea},_0x541616={_0xff2f8:0x41,_0x3ebf81:0x53,_0x471010:0xd8},_0xeb8817={_0x5c5c03:0x20c,_0x8284d8:0x226,_0x43889a:0x54,_0x437c52:0x168},_0x91e91a={_0x3c9531:0x8d,_0x78a75e:0xcc},_0xeb4f56={_0x2be1d2:0x1a7,_0x541ba6:0x90,_0x69900e:0xec},_0x2fcdaf={_0x32769c:0x410,_0x1542a0:0x39b},_0x123707={_0x5ee174:0x228,_0x203d8e:0x4e,_0x44c757:0x45},_0x3f0f81={_0x2b856e:0x2aa,_0x26f865:0x6c,_0x400c63:0x19d},_0x2712d3={_0xada565:0x1ad},_0x692791={_0x475a13:0xd5},_0x47487f={_0x15a94d:0x63,_0x112f79:0x123,_0xcc4d7c:0x1f9,_0x49e132:0x29b,_0x422ca9:0x1e8},_0x423d3e={_0x153603:0x2b8,_0x372d53:0xda},_0x502b35={_0x36698e:0x17a},_0x484d4f={_0x39d724:0x1d6,_0x415c15:0x45},_0x18dbd9={_0x56d70b:0x239},_0x4df739={_0x4c5738:0x5ba,_0x58bdad:0x64e,_0x5028e6:0x6f7,_0x2a9fff:0xe1},_0x4d70c4={_0x5a08e3:0x126,_0x37a82e:0xb6},_0x6caa93={_0x5cbfc6:0x6a8,_0x24e140:0x5de,_0x25c6bf:0x562},_0xd90abe={_0x340d1b:0x21d,_0x1da055:0x258,_0x17c5b3:0x362,_0xf6655b:0x3fd,_0x1fa447:0x29b,_0x5592ff:0x3d2},_0x439621={_0x31cdb9:0x389,_0x1bea80:0x160,_0x3cc428:0x240},_0x462f7c={_0x134fa6:0x1ca},_0x404ea6={_0x2a3ffa:0xe8},_0x30a0e2={_0xbec577:0xdd,_0xa24d13:0x5d,_0x27a098:0xa0,_0x25c4d1:0x2e0,_0x132e6b:0x337,_0x410569:0x36d,_0xf72a8f:0x43d,_0x8eeef5:0x3ac,_0xd13f09:0x5b0,_0x1bd0cd:0x354,_0x4214fa:0x4b1},_0x3b6d46={_0x17ef66:0x155};function _0xa4a5ac(_0x669590,_0x92e9ec,_0x1dc539,_0x2e74e5){return _0x2cc51b(_0x1dc539,_0x92e9ec-0x5e,_0x1dc539-0xde,_0x669590- -_0x3b6d46._0x17ef66);}const _0x2bbf03=_0x268663['handle'][_0x568c5a(0x2a0,_0x2a03e0._0x547c89,_0x2a03e0._0x3a6e55,_0x2a03e0._0x55b4b3)][_0xa4a5ac(_0x2a03e0._0x5cafc5,0x107,0x252,_0x2a03e0._0x3a332e)],_0x2d0350=_0x268663[_0xa4a5ac(0x1be,_0x2a03e0._0x4920ef,0x274,_0x2a03e0._0x96d123)][_0x568c5a(0x2a0,0x3a6,_0x2a03e0._0x2e6446,0x3e0)][_0xa4a5ac(_0x2a03e0._0x3e8871,0x93,_0x2a03e0._0x41061f,_0x2a03e0._0x2dcd7a)];if(!_0x2bbf03||!_0x2d0350)throw new Error('LSP\x20server\x20process\x20must\x20expose\x20stdout\x20and\x20stdin\x20streams');const _0x323eda=createMessageConnection(new StreamMessageReader(_0x2bbf03),new StreamMessageWriter(_0x2d0350)),_0x1c3052=new Map(),_0x1fc090=new Map();let _0x19122d=![];_0x323eda[_0x568c5a(_0x2a03e0._0x1f47ca,0x1fb,0x22e,0x492)]('textDocument/publishDiagnostics',_0x24b025=>{const _0x373764={_0x1513fe:0x3d3,_0x17bdb4:0x9a,_0x15f3a0:0x17d},_0x26fcc4={_0x32d50c:0x15a};_0x1c3052['set'](_0x24b025[_0x500306(-_0x30a0e2._0xbec577,-0x227,_0x30a0e2._0xa24d13,-_0x30a0e2._0x27a098)],_0x24b025['diagnostics']);const _0xdef83a=_0x1fc090[_0x2cb184(0x508,_0x30a0e2._0x25c4d1,_0x30a0e2._0x132e6b,0x3d2)](_0x24b025[_0x2cb184(_0x30a0e2._0x410569,_0x30a0e2._0xf72a8f,_0x30a0e2._0x8eeef5,0x451)]);function _0x2cb184(_0x3b2e9d,_0x5a4f59,_0x43a599,_0x1d2483){return _0x568c5a(_0x1d2483-0x10d,_0x5a4f59-_0x26fcc4._0x32d50c,_0x43a599-0xc8,_0x43a599);}function _0x500306(_0x13f7ed,_0x40bf23,_0x1b529f,_0x38b1f2){return _0xa4a5ac(_0x13f7ed- -_0x373764._0x1513fe,_0x40bf23-_0x373764._0x17bdb4,_0x40bf23,_0x38b1f2-_0x373764._0x15f3a0);}if(!_0xdef83a)return;_0x1fc090[_0x2cb184(0x484,_0x30a0e2._0xd13f09,_0x30a0e2._0x1bd0cd,_0x30a0e2._0x4214fa)](_0x24b025['uri']);for(const _0x1d1791 of _0xdef83a)_0x1d1791();}),_0x323eda[_0xa4a5ac(_0x2a03e0._0x56eaa7,_0x2a03e0._0x58cdce,_0x2a03e0._0x5322c6,_0x2a03e0._0x412f43)]();function _0x568c5a(_0xeb9fbc,_0x157ec1,_0x157010,_0x13f070){return _0x2cc51b(_0x13f070,_0x157ec1-0x10,_0x157010-0x52,_0xeb9fbc- -0x107);}const _0x253af9=await _0x323eda[_0xa4a5ac(_0x2a03e0._0x4c1366,_0x2a03e0._0x327220,0x1f0,0x3e1)](_0x568c5a(_0x2a03e0._0x5b799a,0x230,_0x2a03e0._0x203199,_0x2a03e0._0x2be58a),{'processId':process[_0x568c5a(_0x2a03e0._0x31f5c2,_0x2a03e0._0x544c1d,0x2ca,_0x2a03e0._0x4f785a)],'rootUri':uriForPath(_0x268663[_0x568c5a(0x307,0x2e3,_0x2a03e0._0x8346bc,0x3fa)]),'workspaceFolders':[{'uri':uriForPath(_0x268663[_0xa4a5ac(0x2b9,0x244,_0x2a03e0._0x299840,0x363)]),'name':_0x268663[_0x568c5a(_0x2a03e0._0x5a928e,0x2c1,_0x2a03e0._0x43455c,_0x2a03e0._0x2d9f4b)]['id']}],'initializationOptions':_0x268663[_0xa4a5ac(_0x2a03e0._0x5d4712,_0x2a03e0._0x456f6f,_0x2a03e0._0x4397ec,0x42)][_0x568c5a(_0x2a03e0._0x3bd4c4,_0x2a03e0._0x4dac04,0x458,_0x2a03e0._0x5063fc)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':['markdown',_0xa4a5ac(_0x2a03e0._0x592d3a,0x1e4,_0x2a03e0._0x1dca78,_0x2a03e0._0xa855b1)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});_0x323eda[_0x568c5a(_0x2a03e0._0x3ec136,_0x2a03e0._0x653d6c,0x359,0x607)](_0x568c5a(_0x2a03e0._0x28071b,_0x2a03e0._0x1b091c,_0x2a03e0._0x112c50,0x2ae),{});const _0x149186={'serverId':_0x268663[_0xa4a5ac(0x340,0x4a7,0x264,_0x2a03e0._0x3dbe86)]['id'],'root':_0x268663['root'],'connection':_0x323eda,'diagnostics':_0x1c3052,'capabilities':_0x253af9[_0x568c5a(0x1a6,0x316,_0x2a03e0._0xbc346c,0x166)]??{},'notify':{async 'open'({path:_0x3ac829}){function _0x47cd09(_0x26f708,_0x5aa694,_0x1c24be,_0x2559fc){return _0x568c5a(_0x1c24be- -0xfe,_0x5aa694-0x14c,_0x1c24be-_0x404ea6._0x2a3ffa,_0x5aa694);}const _0x54eacc=await readFile(_0x3ac829,'utf8');function _0x5f02a4(_0x711ab0,_0x28ae7c,_0x104f8d,_0x8c8683){return _0xa4a5ac(_0x711ab0- -0x367,_0x28ae7c-0x1eb,_0x8c8683,_0x8c8683-_0x462f7c._0x134fa6);}_0x323eda[_0x47cd09(0x338,0x48f,_0x439621._0x31cdb9,0x38e)](_0x5f02a4(-0xf3,-_0x439621._0x1bea80,-0x4f,-_0x439621._0x3cc428),{'textDocument':{'uri':uriForPath(_0x3ac829),'languageId':getLanguageId(_0x3ac829)??'plaintext','version':0x1,'text':_0x54eacc}});},async 'change'({path:_0x4fe8b8,version:_0xbb144c}){function _0x1833ad(_0x276ef1,_0x53faf0,_0x208eb4,_0x5c500b){return _0x568c5a(_0x208eb4- -0x8a,_0x53faf0-0x2d,_0x208eb4-0x10,_0x276ef1);}function _0xbfcff7(_0x5eb8b4,_0x2355a6,_0x4723f5,_0x135a8c){return _0xa4a5ac(_0x5eb8b4-0x23b,_0x2355a6-0x102,_0x4723f5,_0x135a8c-0x166);}const _0x592bf9=await readFile(_0x4fe8b8,_0x1833ad(0xe1,_0xd90abe._0x340d1b,_0xd90abe._0x1da055,0x369));_0x323eda[_0x1833ad(0x321,_0xd90abe._0x17c5b3,_0xd90abe._0xf6655b,0x4e8)](_0x1833ad(_0xd90abe._0x1fa447,0x39b,0x2f3,_0xd90abe._0x5592ff),{'textDocument':{'uri':uriForPath(_0x4fe8b8),'version':_0xbb144c},'contentChanges':[{'text':_0x592bf9}]});},async 'close'({path:_0x3aa58f}){const _0x9625d6={_0x33612c:0x1bb,_0x3e3c06:0x126,_0x5d3650:0x1be};function _0x5cbf1a(_0x9b2356,_0x12210a,_0x273fb1,_0x5535d4){return _0xa4a5ac(_0x5535d4-_0x9625d6._0x33612c,_0x12210a-_0x9625d6._0x3e3c06,_0x9b2356,_0x5535d4-_0x9625d6._0x5d3650);}_0x323eda[_0x5cbf1a(_0x6caa93._0x5cbfc6,_0x6caa93._0x24e140,_0x6caa93._0x25c6bf,0x5f4)]('textDocument/didClose',{'textDocument':{'uri':uriForPath(_0x3aa58f)}});}},'request':{async 'definition'(_0x489c2d){return normalizeLocations(await _0x323eda['sendRequest']('textDocument/definition',textDocumentPosition(_0x489c2d)));},async 'references'(_0x35128e){function _0xe6d6d0(_0x21950a,_0x290bd5,_0x5a1093,_0x30a1f1){return _0x568c5a(_0x21950a-0x2cd,_0x290bd5-0x8f,_0x5a1093-0xe1,_0x290bd5);}function _0x52c10a(_0x87a71d,_0x4b3f2a,_0x4c649e,_0x4696ff){return _0xa4a5ac(_0x87a71d- -0x30c,_0x4b3f2a-_0x4d70c4._0x5a08e3,_0x4b3f2a,_0x4696ff-_0x4d70c4._0x37a82e);}return normalizeLocations(await _0x323eda[_0xe6d6d0(_0x4df739._0x4c5738,_0x4df739._0x58bdad,_0x4df739._0x5028e6,0x648)](_0x52c10a(_0x4df739._0x2a9fff,0x1e,0x177,0x251),{...textDocumentPosition(_0x35128e),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x2c7c84){const _0x1945ed={_0x25622e:0x23,_0x579e3b:0x165};function _0x3a16b0(_0x459177,_0x54406b,_0x430f66,_0x1c0782){return _0xa4a5ac(_0x430f66- -0xf5,_0x54406b-_0x1945ed._0x25622e,_0x54406b,_0x1c0782-_0x1945ed._0x579e3b);}return await _0x323eda[_0x3a16b0(_0x18dbd9._0x56d70b,0x1bc,0x1aa,0x124)]('textDocument/hover',textDocumentPosition(_0x2c7c84))??null;},async 'documentSymbol'(_0x4f7f7b){const _0x2b4e26={_0x3c1178:0xc9};function _0x195df2(_0x254df1,_0x443571,_0x216463,_0x832050){return _0xa4a5ac(_0x832050- -_0x2b4e26._0x3c1178,_0x443571-0xb1,_0x254df1,_0x832050-0x124);}function _0x485894(_0x1810a8,_0x4b969f,_0x316e55,_0x27903a){return _0x568c5a(_0x4b969f-0x282,_0x4b969f-0x1ea,_0x316e55-0x69,_0x27903a);}return await _0x323eda[_0x195df2(0x112,0xa9,0x1d5,_0x484d4f._0x39d724)](_0x195df2(0x83,0x197,-_0x484d4f._0x415c15,0x131),{'textDocument':{'uri':uriForPath(_0x4f7f7b)}})??[];},async 'workspaceSymbol'(_0x1c532c){function _0x271517(_0x51744f,_0x20eb1a,_0xa5e2b1,_0x4e8f50){return _0xa4a5ac(_0x51744f- -0x23,_0x20eb1a-0x70,_0xa5e2b1,_0x4e8f50-_0x502b35._0x36698e);}function _0x5b68ac(_0x2fc7d6,_0x69bfd0,_0x1a18ad,_0x36592d){return _0xa4a5ac(_0x69bfd0- -_0x423d3e._0x153603,_0x69bfd0-0x1d3,_0x1a18ad,_0x36592d-_0x423d3e._0x372d53);}return await _0x323eda[_0x5b68ac(_0x47487f._0x15a94d,-0x19,-0x171,0x0)](_0x271517(_0x47487f._0x112f79,_0x47487f._0xcc4d7c,_0x47487f._0x49e132,_0x47487f._0x422ca9),{'query':_0x1c532c})??[];},async 'implementation'(_0x2d12e0){const _0xc1158f={_0x2c8184:0x13a};function _0x2e8d0a(_0x4c313d,_0x5599ab,_0x4d28af,_0x53d471){return _0xa4a5ac(_0x53d471- -0x374,_0x5599ab-0x1dd,_0x5599ab,_0x53d471-_0xc1158f._0x2c8184);}return normalizeLocations(await _0x323eda[_0x2e8d0a(-0xdb,-0x172,-0x1bc,-_0x692791._0x475a13)]('textDocument/implementation',textDocumentPosition(_0x2d12e0)));},async 'prepareCallHierarchy'(_0x3ae3c0){const _0x4c5d7a={_0x283ec4:0x14f,_0x25adbf:0x176};function _0x46687b(_0x81d842,_0x1971eb,_0x485636,_0x59216f){return _0x568c5a(_0x81d842- -_0x4c5d7a._0x283ec4,_0x1971eb-0x54,_0x485636-_0x4c5d7a._0x25adbf,_0x485636);}return await _0x323eda['sendRequest'](_0x46687b(0x147,0x77,_0x2712d3._0xada565,0x2ac),textDocumentPosition(_0x3ae3c0))??[];},async 'incomingCalls'(_0x569acb){function _0x366b7e(_0x312915,_0x275c30,_0x3e4b9f,_0x43931f){return _0x568c5a(_0x312915-_0x3f0f81._0x2b856e,_0x275c30-_0x3f0f81._0x26f865,_0x3e4b9f-_0x3f0f81._0x400c63,_0x43931f);}function _0x5b39be(_0x24ea9b,_0x389698,_0x2c976c,_0x43a561){return _0xa4a5ac(_0x2c976c-_0x123707._0x5ee174,_0x389698-_0x123707._0x203d8e,_0x24ea9b,_0x43a561-_0x123707._0x44c757);}return await _0x323eda[_0x5b39be(0x3ff,0x406,0x4c7,0x58c)](_0x5b39be(0x496,_0x2fcdaf._0x32769c,_0x2fcdaf._0x1542a0,0x43b),{'item':_0x569acb})??[];},async 'outgoingCalls'(_0x326259){const _0xf43f2c={_0x4e8df3:0x38e,_0x2dee3d:0x53};function _0xfcbafa(_0x47b2d1,_0x5235f1,_0x3af2e5,_0xb8ded7){return _0x568c5a(_0x47b2d1- -_0xf43f2c._0x4e8df3,_0x5235f1-0x11a,_0x3af2e5-_0xf43f2c._0x2dee3d,_0x3af2e5);}return await _0x323eda[_0xfcbafa(-0xa1,-_0xeb4f56._0x2be1d2,_0xeb4f56._0x541ba6,-_0xeb4f56._0x69900e)]('callHierarchy/outgoingCalls',{'item':_0x326259})??[];}},'waitForDiagnostics'({path:_0x4f883d,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0xf281da={_0x43b69f:0xc0,_0x31f93b:0x24d,_0x2a16ba:0x1d4},_0xd01d5e={_0x11caca:0x4c1,_0x473403:0x47d,_0x1d40a1:0x4a4,_0x4bbe31:0x405,_0x5639d6:0x4c1,_0x558e83:0x699,_0x27c058:0x75c,_0x32caf1:0x6b3,_0x2f0f1a:0x650},_0x55efa9={_0x332b8d:0x4a};function _0x2fdfe7(_0x4ef42e,_0xd4c5dc,_0x7dc474,_0x1261c7){return _0xa4a5ac(_0x7dc474- -0x29e,_0xd4c5dc-_0x55efa9._0x332b8d,_0xd4c5dc,_0x1261c7-0x1e5);}function _0x351921(_0x3cf958,_0x215e7b,_0x327af4,_0x4ef739){return _0xa4a5ac(_0x3cf958-0x12f,_0x215e7b-_0x91e91a._0x3c9531,_0x215e7b,_0x4ef739-_0x91e91a._0x78a75e);}const _0x234a13=uriForPath(_0x4f883d);if(_0x1c3052[_0x2fdfe7(_0x541616._0xff2f8,0x54,_0x541616._0x3ebf81,0x162)](_0x234a13))return Promise[_0x2fdfe7(-0x181,-_0x541616._0x471010,-0xff,-0x75)]();return new Promise(_0x2a1d2a=>{const _0x181de6={_0x220252:0x8b,_0x1ac4b2:0x79,_0x2e19ee:0x85},_0x183f9d=setTimeout(()=>{const _0x28ce98={_0x125f8f:0x3d9},_0x401c77=_0x1fc090[_0x59a1e4(_0xd01d5e._0x11caca,0x583,_0xd01d5e._0x473403,_0xd01d5e._0x1d40a1)](_0x234a13);_0x401c77?.[_0x59a1e4(_0xd01d5e._0x4bbe31,_0xd01d5e._0x5639d6,0x451,0x583)](_0x9ca55a);function _0x19ff0d(_0x52876b,_0x2cb6d4,_0x32661b,_0x5083b2){return _0x29c8(_0x2cb6d4-_0x28ce98._0x125f8f,_0x32661b);}function _0x59a1e4(_0x2ea46a,_0x40af0b,_0x12a77e,_0x3e35c3){return _0x29c8(_0x3e35c3-0x2a9,_0x2ea46a);}if(_0x401c77?.[_0x19ff0d(0x765,0x636,_0xd01d5e._0x558e83,_0xd01d5e._0x27c058)]===0x0)_0x1fc090[_0x19ff0d(0x586,_0xd01d5e._0x32caf1,0x706,_0xd01d5e._0x2f0f1a)](_0x234a13);_0x2a1d2a();},timeoutMs);function _0xdc4d00(_0x56aa9b,_0x476521,_0x247499,_0x5451b0){return _0x2fdfe7(_0x56aa9b-_0xf281da._0x43b69f,_0x56aa9b,_0x5451b0-_0xf281da._0x31f93b,_0x5451b0-_0xf281da._0x2a16ba);}const _0x9ca55a=()=>{clearTimeout(_0x183f9d),_0x2a1d2a();},_0x71e501=_0x1fc090[_0xdc4d00(0x39c,0x14d,_0xeb8817._0x5c5c03,_0xeb8817._0x8284d8)](_0x234a13)??new Set();_0x71e501[_0x5e8050(-_0xeb8817._0x43889a,-_0xeb8817._0x437c52,-0x4b,0x50)](_0x9ca55a);function _0x5e8050(_0x26d5a7,_0x2a3eaa,_0x1a797b,_0x24df8f){return _0x2fdfe7(_0x26d5a7-_0x181de6._0x220252,_0x24df8f,_0x1a797b- -_0x181de6._0x1ac4b2,_0x24df8f-_0x181de6._0x2e19ee);}_0x1fc090['set'](_0x234a13,_0x71e501);});},async 'shutdown'(){const _0x27d9df={_0x2abd95:0x285,_0x3367d4:0x7a};function _0x51c908(_0xff711d,_0x2efc7e,_0x44f8ef,_0x882244){return _0x568c5a(_0x44f8ef-0x1fd,_0x2efc7e-_0x384ffa._0x4816e1,_0x44f8ef-_0x384ffa._0x57ed9b,_0xff711d);}function _0x15a197(_0x5e2e15,_0x238866,_0x1c0cdc,_0x2f8e18){return _0xa4a5ac(_0x1c0cdc-_0x27d9df._0x2abd95,_0x238866-0x5a,_0x238866,_0x2f8e18-_0x27d9df._0x3367d4);}if(_0x19122d)return;_0x19122d=!![];try{await _0x323eda[_0x51c908(0x543,_0x40b055._0x3f6fa1,0x4ea,_0x40b055._0x78f460)](_0x15a197(0x4f9,_0x40b055._0x5b5670,_0x40b055._0x4965e9,0x7bc),null),_0x323eda['sendNotification'](_0x51c908(_0x40b055._0x247e06,_0x40b055._0x3679e0,_0x40b055._0xd0a6f3,0x464));}catch{}finally{_0x323eda[_0x51c908(_0x40b055._0x1a1522,0x47f,0x45b,_0x40b055._0x3e964e)](),_0x268663[_0x51c908(_0x40b055._0x428cac,0x3bd,_0x40b055._0x423169,0x4d4)]['process'][_0x51c908(_0x40b055._0xc98165,0x41c,_0x40b055._0x57b9dd,_0x40b055._0x4f6131)]();}}};return _0x149186;}import{spawn as _0x2d5f7e}from'child_process';import{access as _0x3aa1fd}from'fs/promises';import _0x40ac33 from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x36b8cb from'os';import _0x34a5ed from'path';import _0x46cf98 from'which';var installPromises=new Map();function sanitizePackageName(_0x3da389){const _0x41ff61={_0x231f9e:0x176},_0x704e27={_0x48f043:0xb3};function _0x39d73a(_0x392064,_0x48aaff,_0x5f6a5f,_0x31a003){return _0x38eb01(_0x392064,_0x48aaff-0xd5,_0x5f6a5f-_0x704e27._0x48f043,_0x31a003-0x179);}return _0x3da389[_0x39d73a(-_0x41ff61._0x231f9e,-0x1ab,-0x29b,-0xaf)](/^@/,'')['replace'](/[/]/g,'__');}function binaryNameForPlatform(_0x14f76b){const _0x9c2199={_0xee26cd:0x6f,_0x5fb9e2:0x82,_0x52e66d:0xd5},_0x59a225={_0x3c65eb:0x1c8,_0x4cc75b:0x15b};function _0x5764b9(_0x4fbf8a,_0x5c6e45,_0x31b33e,_0xf16806){return _0x2cc51b(_0xf16806,_0x5c6e45-0xce,_0x31b33e-0x39,_0x31b33e- -0x4bc);}function _0x115518(_0x41f7c2,_0x1cc7a9,_0x483383,_0x3b4f9a){return _0x38eb01(_0x41f7c2,_0x3b4f9a-_0x59a225._0x3c65eb,_0x483383-_0x59a225._0x4cc75b,_0x3b4f9a-0xe5);}return process[_0x5764b9(-0xfa,-_0x9c2199._0xee26cd,-_0x9c2199._0x5fb9e2,_0x9c2199._0x52e66d)]===_0x115518(0x298,0x2b4,0x2e0,0x159)?_0x14f76b+'.cmd':_0x14f76b;}async function exists(_0x5a3763){try{return await access(_0x5a3763),!![];}catch{return![];}}function runNpmInstall(_0x48f642,_0x40d96a,_0xfac47b){const _0x202e44={_0x43abce:0x2c5,_0x3cc575:0x4cb,_0x2e5f2f:0x28a,_0x17db67:0xa0,_0x53f285:0xd5,_0x16b314:0xba,_0x2f57dd:0x13,_0x28fbf2:0x105,_0x2e3668:0x56,_0x103480:0xf,_0x4c70b4:0x31,_0x442d9e:0xc1};return new Promise(_0x3bdfdd=>{const _0x172854={_0x264e96:0x136},_0x17ce53={_0x3548f0:0x18d},_0x215cc9=spawn(_0x5a5301(_0x202e44._0x43abce,_0x202e44._0x3cc575,0x3da,_0x202e44._0x2e5f2f),[_0xaa9cbf(0x1b7,0x9d,0xfc,_0x202e44._0x17db67),_0xaa9cbf(-_0x202e44._0x53f285,-0x36,_0x202e44._0x16b314,-_0x202e44._0x2f57dd),_0x48f642,_0x40d96a],{'env':_0xfac47b,'stdio':_0xaa9cbf(0x175,_0x202e44._0x28fbf2,-_0x202e44._0x2e3668,-_0x202e44._0x103480)});function _0xaa9cbf(_0x369012,_0xb616ef,_0x292b69,_0xd07a8b){return _0x29c8(_0xb616ef- -_0x17ce53._0x3548f0,_0xd07a8b);}_0x215cc9['on']('error',()=>_0x3bdfdd(![]));function _0x5a5301(_0x3c54ae,_0x1ff715,_0x2a1782,_0x446cbb){return _0x29c8(_0x2a1782-_0x172854._0x264e96,_0x3c54ae);}_0x215cc9['on'](_0xaa9cbf(0xff,_0x202e44._0x4c70b4,_0x202e44._0x442d9e,0x6e),_0x5b362a=>_0x3bdfdd(_0x5b362a===0x0));});}function shouldDisableLspDownload(_0x2c5bd8=process[_0x2cc51b(0x595,0x5d5,0x403,0x4bf)]){const _0x258cc7={_0x43596b:0x561,_0x47dafa:0x4fc,_0x27e304:0x671},_0x5b7e67={_0x391bbc:0x81};function _0x86677(_0x317f7d,_0x2fe790,_0x53de43,_0x3b6c86){return _0x2cc51b(_0x3b6c86,_0x2fe790-0x97,_0x53de43-0x148,_0x317f7d-_0x5b7e67._0x391bbc);}const _0x43c3e5=_0x2c5bd8['NUVIN_DISABLE_LSP_DOWNLOAD']?.['toLowerCase']();return _0x43c3e5===_0x86677(_0x258cc7._0x43596b,_0x258cc7._0x47dafa,_0x258cc7._0x27e304,0x67f)||_0x43c3e5==='1'||_0x43c3e5==='yes'||_0x43c3e5==='on';}function getLspPackageDir(_0xb68b6d){const _0x28c941={_0x15982f:0x261,_0x1b8abe:0x6d1,_0x2dc9c2:0x6fd,_0x4d9b67:0x42a,_0x4d6f0d:0x4f5,_0x445fb8:0x475,_0x4eb017:0x320,_0x1588b4:0x42a,_0x57d694:0x206},_0x5d2f3c={_0x43bef0:0xd8},_0xecc7ae={_0x534f7a:0x2b,_0x4916a1:0x15e};function _0x5d5dce(_0x43157d,_0x3e8539,_0xa414d2,_0x5b9eae){return _0x38eb01(_0x5b9eae,_0x43157d-0x695,_0xa414d2-_0xecc7ae._0x534f7a,_0x5b9eae-_0xecc7ae._0x4916a1);}function _0x4526c6(_0x3b4d9e,_0x221474,_0x36f46b,_0x40796a){return _0x2cc51b(_0x3b4d9e,_0x221474-0xc3,_0x36f46b-_0x5d2f3c._0x43bef0,_0x221474- -0x596);}return _0x34a5ed[_0x4526c6(-0x1a6,-_0x28c941._0x15982f,-0x133,-0x3ac)](_0x36b8cb[_0x5d5dce(0x6b9,_0x28c941._0x1b8abe,0x7e5,_0x28c941._0x2dc9c2)](),_0x5d5dce(_0x28c941._0x4d9b67,_0x28c941._0x4d6f0d,0x558,0x464),_0x5d5dce(_0x28c941._0x445fb8,_0x28c941._0x4eb017,0x31a,_0x28c941._0x1588b4),_0x4526c6(-_0x28c941._0x57d694,-0x26a,-0x229,-0x327),sanitizePackageName(_0xb68b6d));}function getLspBinDir(_0xf4af38){const _0x1594cb={_0x3e050c:0x24c,_0x330f89:0x16e,_0x26cb1f:0x3ca,_0x7e117e:0x5,_0x3756ff:0xfd},_0x39f02b={_0x184ffe:0x3},_0x51e897={_0x47fe43:0x1b2,_0x3e9670:0x383};function _0x32aa49(_0x484c75,_0x2b7910,_0x5e6e6c,_0x2e69f5){return _0x2cc51b(_0x2e69f5,_0x2b7910-0x37,_0x5e6e6c-_0x51e897._0x47fe43,_0x484c75- -_0x51e897._0x3e9670);}function _0x845cc6(_0x4595da,_0x415082,_0x3709fe,_0x40c630){return _0x38eb01(_0x40c630,_0x4595da-0x1e6,_0x3709fe-_0x39f02b._0x184ffe,_0x40c630-0x4b);}return _0x34a5ed['join'](getLspPackageDir(_0xf4af38),_0x845cc6(_0x1594cb._0x3e050c,_0x1594cb._0x330f89,0x20d,_0x1594cb._0x26cb1f),_0x32aa49(-_0x1594cb._0x7e117e,-0xfa,-0xfb,_0x1594cb._0x3756ff));}async function findPackageBinary(_0x7ef2fa,_0xf25cf9){const _0x5ef355={_0x40fe15:0x16e,_0x306896:0xbf,_0x2e4aa0:0x123,_0x2f388d:0xe5,_0x1a4df9:0x62d,_0x19cadb:0x6cb,_0x111105:0x118,_0x4d9f13:0x288,_0x3f8ca6:0x12e},_0x17cb3d={_0x162ab5:0x1a0,_0x18b7c0:0x106,_0x5dbde6:0x250},_0x2341a4={_0xd9b144:0x91,_0x1a67f9:0x88};let _0x4b26a9=_0x34a5ed['resolve'](_0xf25cf9);function _0x52c7b9(_0x4a34be,_0x59e63e,_0x49f245,_0x2320d3){return _0x38eb01(_0x49f245,_0x4a34be-0x6d5,_0x49f245-_0x2341a4._0xd9b144,_0x2320d3-_0x2341a4._0x1a67f9);}const _0x3efd8f=binaryNameForPlatform(_0x7ef2fa);function _0x1ab0b9(_0x1cda0c,_0x3cae01,_0x56acf4,_0x276e81){return _0x2cc51b(_0x1cda0c,_0x3cae01-_0x17cb3d._0x162ab5,_0x56acf4-_0x17cb3d._0x18b7c0,_0x276e81- -_0x17cb3d._0x5dbde6);}while(!![]){const _0x17ff4c=_0x34a5ed[_0x1ab0b9(_0x5ef355._0x40fe15,_0x5ef355._0x306896,_0x5ef355._0x2e4aa0,_0x5ef355._0x2f388d)](_0x4b26a9,_0x52c7b9(0x73b,_0x5ef355._0x1a4df9,_0x5ef355._0x19cadb,0x748),_0x1ab0b9(_0x5ef355._0x111105,_0x5ef355._0x4d9f13,0x288,_0x5ef355._0x3f8ca6),_0x3efd8f);if(await exists(_0x17ff4c))return _0x17ff4c;const _0x590a42=_0x34a5ed['dirname'](_0x4b26a9);if(_0x590a42===_0x4b26a9)return void 0x0;_0x4b26a9=_0x590a42;}}async function findPathBinary(_0x1bede5,_0x2cd73c){const _0x1c0235={_0x5bee6f:0x35e,_0xcdc39b:0x368,_0x2ac6e2:0x1ef,_0x2ce5cc:0x2c2,_0x2f59f4:0x2a7,_0x43881e:0x2ba,_0x2552dd:0x228,_0x37bd84:0x1b4,_0x1f387b:0x186,_0x57369b:0x197,_0x27fb1e:0x12c,_0x1d02bd:0x1d6,_0x2bd2e3:0x2cf,_0x19b2e5:0x26b},_0x3ae78f={_0x467dd7:0xff,_0x5c74d1:0x116},_0x5b442c={_0xf48188:0x1dc,_0x1e1e77:0x84,_0x322de3:0x10b};function _0x5d0485(_0x4abe0a,_0x545bd9,_0xb45efe,_0x27233a){return _0x2cc51b(_0x4abe0a,_0x545bd9-_0x5b442c._0xf48188,_0xb45efe-_0x5b442c._0x1e1e77,_0x27233a- -_0x5b442c._0x322de3);}const _0x2f3ac3=getLspBinDir(_0x2cd73c),_0x36ed56=[_0x2f3ac3,process[_0x5d0485(0x296,_0x1c0235._0x5bee6f,0x2f0,0x3b4)][_0x29a7c7(_0x1c0235._0xcdc39b,_0x1c0235._0x2ac6e2,_0x1c0235._0x2ce5cc,_0x1c0235._0x2f59f4)]][_0x29a7c7(_0x1c0235._0x43881e,_0x1c0235._0x2552dd,0x392,_0x1c0235._0x37bd84)](Boolean)[_0x29a7c7(_0x1c0235._0x1f387b,0x6f,_0x1c0235._0x57369b,-0x7c)](_0x34a5ed[_0x5d0485(_0x1c0235._0x27fb1e,_0x1c0235._0x1d02bd,_0x1c0235._0x2bd2e3,_0x1c0235._0x19b2e5)]);function _0x29a7c7(_0x434a2f,_0x4d0b34,_0x538b9d,_0x1c2e83){return _0x38eb01(_0x1c2e83,_0x4d0b34-0x246,_0x538b9d-_0x3ae78f._0x467dd7,_0x1c2e83-_0x3ae78f._0x5c74d1);}try{return await _0x46cf98(_0x1bede5,{'path':_0x36ed56});}catch{return void 0x0;}}function _0x29c8(_0x1af71a,_0x5b0cf0){_0x1af71a=_0x1af71a-0xb5;const _0x46e59e=_0x46e5();let _0x29c8b7=_0x46e59e[_0x1af71a];if(_0x29c8['IttyQv']===undefined){var _0x36fd57=function(_0x5ef056){const _0x5bb1a1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5e6c0d='',_0x2d5f7e='';for(let _0x3aa1fd=0x0,_0x40ac33,_0x36b8cb,_0x34a5ed=0x0;_0x36b8cb=_0x5ef056['charAt'](_0x34a5ed++);~_0x36b8cb&&(_0x40ac33=_0x3aa1fd%0x4?_0x40ac33*0x40+_0x36b8cb:_0x36b8cb,_0x3aa1fd++%0x4)?_0x5e6c0d+=String['fromCharCode'](0xff&_0x40ac33>>(-0x2*_0x3aa1fd&0x6)):0x0){_0x36b8cb=_0x5bb1a1['indexOf'](_0x36b8cb);}for(let _0x46cf98=0x0,_0x582171=_0x5e6c0d['length'];_0x46cf98<_0x582171;_0x46cf98++){_0x2d5f7e+='%'+('00'+_0x5e6c0d['charCodeAt'](_0x46cf98)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2d5f7e);};_0x29c8['ekVCKZ']=_0x36fd57,_0x29c8['VOocFq']={},_0x29c8['IttyQv']=!![];}const _0x5e6e55=_0x46e59e[0x0],_0x463bd4=_0x1af71a+_0x5e6e55,_0x2b3b59=_0x29c8['VOocFq'][_0x463bd4];return!_0x2b3b59?(_0x29c8b7=_0x29c8['ekVCKZ'](_0x29c8b7),_0x29c8['VOocFq'][_0x463bd4]=_0x29c8b7):_0x29c8b7=_0x2b3b59,_0x29c8b7;}async function resolvePackageBinary(_0x235223){const _0x4aea3e={_0x15dd92:0x553,_0x4302ed:0x6c9,_0x20b064:0x5d5,_0x427f9a:0x328,_0x4eda0a:0x2f5,_0x2f592c:0x1b5,_0x586b99:0x27b,_0x3b99ea:0x1e1,_0x303783:0x29c,_0xa01153:0x25f,_0x53db86:0x2c2,_0x2839a7:0x7b5,_0x2e2fb0:0x5dd},_0x451f1c={_0x4561d0:0x345,_0x4ddf4d:0x253},_0x20be44={_0xf2394d:0x72},_0x1af746={_0x1fdf9a:0x1cc},_0x48a881={_0x237f67:0xd3},_0x663f4c=_0x235223[_0x2ef840(_0x4aea3e._0x15dd92,_0x4aea3e._0x4302ed,_0x4aea3e._0x20b064,0x56f)]??_0x235223[_0x1e048d(_0x4aea3e._0x427f9a,0x258,0x457,_0x4aea3e._0x4eda0a)],_0x1f2eaa=await findPackageBinary(_0x663f4c,_0x235223['startDir']);if(_0x1f2eaa)return _0x1f2eaa;const _0x48a696=await findPathBinary(_0x663f4c,_0x235223[_0x1e048d(0x22f,0x240,_0x4aea3e._0x2f592c,0x2f5)]);if(_0x48a696)return _0x48a696;const _0x488eb0=_0x235223['env']??process['env'];if(shouldDisableLspDownload(_0x488eb0))return void 0x0;const _0x552d89=getLspPackageDir(_0x235223[_0x1e048d(_0x4aea3e._0x586b99,_0x4aea3e._0x3b99ea,_0x4aea3e._0x303783,0x2f5)]);function _0x1e048d(_0x177654,_0x5ae93e,_0xf91559,_0x50164b){return _0x38eb01(_0x177654,_0x50164b-0x41c,_0xf91559-0x6c,_0x50164b-_0x48a881._0x237f67);}const _0x13f690=_0x235223['packageName']+':'+_0x663f4c;function _0x2ef840(_0xddd7ad,_0x4cd2e5,_0xe90cbf,_0x4d17b6){return _0x2cc51b(_0x4cd2e5,_0x4cd2e5-0x1db,_0xe90cbf-0x12c,_0xddd7ad-_0x1af746._0x1fdf9a);}let _0x4cc41b=installPromises['get'](_0x13f690);!_0x4cc41b&&(_0x4cc41b=((async()=>{const _0x37dd67={_0x2bad31:0x1d7,_0x474321:0x175};await mkdir(_0x552d89,{'recursive':!![]});function _0x1f9f3a(_0x4b67f8,_0x3dac76,_0xd6a34f,_0xc67205){return _0x1e048d(_0xc67205,_0x3dac76-_0x37dd67._0x2bad31,_0xd6a34f-_0x37dd67._0x474321,_0x4b67f8-0x50);}const _0x4c43f9=await runNpmInstall(_0x552d89,_0x235223[_0x1f9f3a(_0x451f1c._0x4561d0,_0x451f1c._0x4ddf4d,0x49c,0x366)],_0x488eb0);if(!_0x4c43f9)return void 0x0;function _0x158802(_0x5d89db,_0x581787,_0x4b6974,_0x1552b2){return _0x1e048d(_0x1552b2,_0x581787-_0x20be44._0xf2394d,_0x4b6974-0xb3,_0x4b6974- -0x35);}const _0x353729=_0x34a5ed['join'](getLspBinDir(_0x235223[_0x158802(0x325,0x1d7,0x2c0,0x324)]),binaryNameForPlatform(_0x663f4c));return await exists(_0x353729)?_0x353729:void 0x0;})()),installPromises[_0x1e048d(0x23a,_0x4aea3e._0xa01153,_0x4aea3e._0x53db86,0x374)](_0x13f690,_0x4cc41b));try{return await _0x4cc41b;}catch{return void 0x0;}finally{installPromises[_0x2ef840(0x677,0x738,_0x4aea3e._0x2839a7,_0x4aea3e._0x2e2fb0)](_0x13f690);}}var TYPESCRIPT_EXTENSIONS=[_0x2cc51b(0x467,0x2cd,0x35b,0x455),'.tsx',_0x2cc51b(0x3d8,0x51f,0x47c,0x3d4),_0x38eb01(-0x80,-0x1ee,-0x29e,-0x20d),_0x2cc51b(0x3fe,0x258,0x1de,0x2fa),_0x2cc51b(0x4eb,0x6a0,0x567,0x598),_0x2cc51b(0x46c,0x453,0x1ee,0x35c),'.cts'],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x38eb01(-0x109,-0xd7,-0x1d4,0x68),'.jsonc'],TYPESCRIPT_ROOT_MARKERS=[_0x2cc51b(0x498,0x413,0x52a,0x424),_0x38eb01(-0x32e,-0x236,-0x124,-0x28b),'bun.lock',_0x2cc51b(0x3ce,0x4ce,0x4c0,0x4db),_0x2cc51b(0x4e7,0x4d5,0x3e5,0x3c1),_0x38eb01(0x26,-0x5c,-0x177,-0x1db),_0x2cc51b(0x58f,0x5d3,0x489,0x4c0),_0x38eb01(0xad,0x84,-0xb8,0x190)],BIOME_ROOT_MARKERS=[_0x2cc51b(0x536,0x367,0x277,0x3ea),_0x2cc51b(0x5d4,0x370,0x396,0x4ef),_0x2cc51b(0x3f6,0x49c,0x597,0x424),_0x2cc51b(0x303,0x27a,0x1ee,0x2d6),'bun.lock',_0x38eb01(0x138,-0x31,0xbc,-0xf2),_0x2cc51b(0x402,0x4d5,0x313,0x3c1),'package.json'];async function exists2(_0x54719e){try{return await _0x3aa1fd(_0x54719e),!![];}catch{return![];}}async function findUp(_0x11865f,_0x4bc419){const _0x2a249b={_0x398faf:0x2b2,_0xc25c86:0x439,_0x507606:0x74,_0x510ba4:0x100,_0x3ce829:0x76,_0x4171b2:0x78,_0x10cacc:0xfa},_0x32ddad={_0x17bac3:0x9a,_0x3b024d:0x1d9},_0x56758c={_0x505669:0x0,_0x13f75c:0x1d1};function _0x4fa86d(_0x174b8f,_0x144bf9,_0xba9481,_0x328c27){return _0x38eb01(_0x174b8f,_0xba9481-0x283,_0xba9481-_0x56758c._0x505669,_0x328c27-_0x56758c._0x13f75c);}let _0x4ac927=_0x40ac33[_0x1fe539(-_0x2a249b._0x398faf,-0x37d,-0x39e,-_0x2a249b._0xc25c86)](_0x11865f);const _0x258ab1=_0x40ac33[_0x1fe539(-0x136,-_0x2a249b._0x507606,0x2,-0x2ba)](_0x4ac927);function _0x1fe539(_0x11e344,_0x5d876a,_0xe65b9d,_0x2e73a9){return _0x38eb01(_0x2e73a9,_0x11e344- -_0x32ddad._0x17bac3,_0xe65b9d-0xe4,_0x2e73a9-_0x32ddad._0x3b024d);}if(_0x258ab1)_0x4ac927=_0x40ac33['dirname'](_0x4ac927);while(!![]){for(const _0x2822b9 of _0x4bc419){if(await exists2(_0x40ac33[_0x4fa86d(0x175,_0x2a249b._0x510ba4,0xac,-_0x2a249b._0x3ce829)](_0x4ac927,_0x2822b9)))return _0x4ac927;}const _0x139f5e=_0x40ac33[_0x4fa86d(_0x2a249b._0x4171b2,0xf6,_0x2a249b._0x10cacc,0x32)](_0x4ac927);if(_0x139f5e===_0x4ac927)return void 0x0;_0x4ac927=_0x139f5e;}}async function hasDenoRoot(_0x4c9735){const _0x2b1fe5={_0x5d9f97:0x27,_0x293d54:0x1f1,_0x222ab0:0x370,_0x5c90af:0x35e,_0x3b1ca1:0x4a8},_0x34f34e={_0x9f10a1:0x4e},_0x2482b5={_0x4bb959:0x474,_0xe8d84d:0xe0,_0x7a44e3:0x194};function _0xc4113d(_0x3a4c24,_0x47f42f,_0x89c084,_0x2d4487){return _0x38eb01(_0x2d4487,_0x3a4c24-_0x2482b5._0x4bb959,_0x89c084-_0x2482b5._0xe8d84d,_0x2d4487-_0x2482b5._0x7a44e3);}function _0x1751f6(_0x3478a5,_0x5a2713,_0x66c128,_0x33f911){return _0x38eb01(_0x66c128,_0x3478a5-0x37e,_0x66c128-_0x34f34e._0x9f10a1,_0x33f911-0x1f2);}return await exists2(_0x40ac33[_0x1751f6(0x1a7,_0x2b1fe5._0x5d9f97,_0x2b1fe5._0x293d54,0x2fc)](_0x4c9735,_0xc4113d(_0x2b1fe5._0x222ab0,0x4b6,_0x2b1fe5._0x5c90af,_0x2b1fe5._0x3b1ca1)))||await exists2(_0x40ac33[_0x1751f6(0x1a7,0x225,0xb9,0x133)](_0x4c9735,'deno.jsonc'));}async function resolveTsserverPath(_0x2de8cb){const _0x1d0728={_0x1b56f2:0x2bf,_0x5eedce:0x520,_0x30c702:0x183,_0x41c9f7:0x292,_0x4ef24b:0x444,_0x13841c:0x9d,_0x5c7636:0xb6,_0x2cf319:0xf0,_0x1852e4:0x435,_0x42dcad:0x4ff,_0x3333b5:0x118,_0x72fd0c:0x138,_0x302321:0x140,_0x4591ff:0x624,_0x466394:0xf7,_0x295159:0x24e,_0x12ffbc:0x509,_0x378842:0x4e4},_0x5023e7={_0x344fae:0xb2},_0x166cdc={_0x83d26c:0x3ef};let _0x2c3fb9=_0x40ac33['resolve'](_0x2de8cb);while(!![]){const _0x201086=_0x40ac33[_0x47b165(0x31d,0x3e7,_0x1d0728._0x1b56f2,_0x1d0728._0x5eedce)](_0x2c3fb9,_0x345c1f(_0x1d0728._0x30c702,0x2a1,_0x1d0728._0x41c9f7,0x6b),'typescript',_0x47b165(0x4c9,0x5b7,_0x1d0728._0x4ef24b,0x5fe),_0x345c1f(_0x1d0728._0x13841c,0x146,-_0x1d0728._0x5c7636,_0x1d0728._0x2cf319));if(await exists2(_0x201086))return _0x201086;const _0x206544=_0x40ac33[_0x47b165(0x375,_0x1d0728._0x1852e4,_0x1d0728._0x42dcad,0x3f7)](_0x2c3fb9);if(_0x206544===_0x2c3fb9)break;_0x2c3fb9=_0x206544;}function _0x345c1f(_0x50ff15,_0x3b3fa2,_0x2bfc91,_0x137372){return _0x2cc51b(_0x3b3fa2,_0x3b3fa2-0x1d3,_0x2bfc91-0x157,_0x50ff15- -_0x166cdc._0x83d26c);}function _0x47b165(_0x5d4c6c,_0x53d5b6,_0x1d7b13,_0x53bf79){return _0x2cc51b(_0x53bf79,_0x53d5b6-0x14e,_0x1d7b13-0x145,_0x53d5b6-_0x5023e7._0x344fae);}const _0x178a98=getLspPackageDir(_0x345c1f(_0x1d0728._0x3333b5,-0x66,_0x1d0728._0x72fd0c,0x124)),_0x415876=await resolvePackageBinary({'packageName':'typescript','binaryName':_0x47b165(0x565,0x597,0x491,0x624),'startDir':_0x2de8cb});if(!_0x415876)return void 0x0;const _0x9b65f7=_0x40ac33[_0x345c1f(-0xba,-_0x1d0728._0x302321,-0x22e,0x7f)](_0x178a98,_0x47b165(0x6b9,_0x1d0728._0x4591ff,0x49f,0x76e),'typescript',_0x345c1f(0x116,-0x3e,_0x1d0728._0x466394,_0x1d0728._0x295159),_0x47b165(0x5fb,0x53e,_0x1d0728._0x12ffbc,_0x1d0728._0x378842));return await exists2(_0x9b65f7)?_0x9b65f7:void 0x0;}var TypeScriptServer={'id':_0x2cc51b(0x50c,0x601,0x535,0x507),'name':_0x38eb01(-0x2f0,-0x1a3,-0x154,-0x2e0),'extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x45b819){const _0x518be8=await findUp(_0x45b819,TYPESCRIPT_ROOT_MARKERS);if(!_0x518be8)return void 0x0;return await hasDenoRoot(_0x518be8)?void 0x0:_0x518be8;},async 'spawn'(_0xefd661){const _0x457b1f={_0x1078d1:0x91,_0x31f933:0x6a,_0x417cc8:0x110,_0x250526:0x11d,_0x1489bd:0x77,_0x2ea433:0x134},_0x2cb7cc={_0x48c378:0x2c7,_0x54a851:0x14c,_0x4316b8:0x1e6},_0x35fb26=await resolveTsserverPath(_0xefd661);if(!_0x35fb26)return void 0x0;function _0x2457f7(_0x43c0cc,_0x55df66,_0x2b3536,_0x48cf8e){return _0x38eb01(_0x48cf8e,_0x43c0cc-_0x2cb7cc._0x48c378,_0x2b3536-_0x2cb7cc._0x54a851,_0x48cf8e-_0x2cb7cc._0x4316b8);}const _0x45ce4d=await resolvePackageBinary({'packageName':_0x2457f7(0x188,0xf5,_0x457b1f._0x1078d1,0x169),'binaryName':_0x3704e5(_0x457b1f._0x31f933,-0xf0,-_0x457b1f._0x417cc8,-0xa5),'startDir':_0xefd661});if(!_0x45ce4d)return void 0x0;function _0x3704e5(_0x32370d,_0x2032e1,_0x46585e,_0x473968){return _0x2cc51b(_0x473968,_0x2032e1-0x117,_0x46585e-0xac,_0x2032e1- -0x4bd);}return{'process':_0x2d5f7e(_0x45ce4d,[_0x3704e5(-0x226,-_0x457b1f._0x250526,-0xd0,0x51)],{'cwd':_0xefd661,'stdio':_0x3704e5(0x24,0xc0,_0x457b1f._0x1489bd,_0x457b1f._0x2ea433)}),'initialization':{'tsserver':{'path':_0x35fb26}}};}},BiomeServer={'id':'biome','name':_0x2cc51b(0x3a5,0x3f9,0x31e,0x4a0),'extensions':BIOME_EXTENSIONS,async 'root'(_0x5328ef){return findUp(_0x5328ef,BIOME_ROOT_MARKERS);},async 'spawn'(_0x3141bd){const _0x10ac64={_0x404c0f:0x1ca,_0x4595af:0xfe,_0x34087a:0xfb,_0x12cbf6:0xe8,_0x40a416:0x25,_0x18f3cf:0x1bf},_0x5a64ac={_0x46b3e5:0xd5,_0x3b5b5d:0x6f,_0x5800f1:0xd},_0x20ad18={_0x4d2a30:0x8,_0xc7d3a9:0x3e8};function _0x509e19(_0x4035da,_0x3b8e37,_0x556e8d,_0xd12a35){return _0x2cc51b(_0x4035da,_0x3b8e37-0x1d0,_0x556e8d-_0x20ad18._0x4d2a30,_0xd12a35- -_0x20ad18._0xc7d3a9);}function _0x1521f8(_0x345312,_0x23e268,_0x522442,_0x12b9ba){return _0x2cc51b(_0x23e268,_0x23e268-_0x5a64ac._0x46b3e5,_0x522442-_0x5a64ac._0x3b5b5d,_0x522442-_0x5a64ac._0x5800f1);}const _0xf745d6=await findPackageBinary('biome',_0x3141bd)??await resolvePackageBinary({'packageName':_0x509e19(-0xc8,-_0x10ac64._0x404c0f,-_0x10ac64._0x4595af,-_0x10ac64._0x34087a),'binaryName':_0x509e19(0xec,-0x63,0x1c9,_0x10ac64._0x12cbf6),'startDir':_0x3141bd});if(!_0xf745d6)return void 0x0;return{'process':_0x2d5f7e(_0xf745d6,[_0x509e19(-0x19e,-_0x10ac64._0x40a416,-_0x10ac64._0x18f3cf,-0xdf),'--stdio'],{'cwd':_0x3141bd,'stdio':'pipe'})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x2962d2){const _0x363070={_0x21d35b:0x49d,_0x391ced:0x3f7,_0x360c08:0x3d6},_0x5267c8={_0x582177:0x19d,_0x5623e3:0x13c,_0x5f25ee:0x2d},_0x53738d=_0x40ac33[_0x1c7317(0x55d,0x522,_0x363070._0x21d35b,_0x363070._0x391ced)](_0x2962d2)[_0x11c4c7(0x613,0x48e,_0x363070._0x360c08,0x3ee)]();function _0x11c4c7(_0x452d6d,_0x34c91b,_0x18cef0,_0x44303b){return _0x38eb01(_0x44303b,_0x34c91b-0x599,_0x18cef0-0xb1,_0x44303b-0xb4);}function _0x1c7317(_0x12a071,_0x4d4937,_0x18438d,_0x5ba265){return _0x2cc51b(_0x4d4937,_0x4d4937-_0x5267c8._0x582177,_0x18438d-_0x5267c8._0x5623e3,_0x18438d-_0x5267c8._0x5f25ee);}return BUILTIN_LSP_SERVERS[_0x1c7317(0x69c,0x42d,0x51b,0x4a5)](_0x774d08=>_0x774d08['extensions'][_0x1c7317(0x275,0x1b9,0x2d2,0x43c)](_0x53738d));}function stateKey(_0x221305,_0x5ca678){return _0x5ca678+':'+_0x221305['id'];}function diagnosticsKeyToPath(_0x31713b){const _0x1168da={_0x34bd64:0x60a,_0x219e5f:0x6c6,_0x5b6479:0x539,_0x13bd60:0x3c9,_0x1b60e0:0x427},_0xfda5e0={_0x3d5c60:0x494,_0x1d84d1:0x10e},_0x11d3a1={_0x52bbcb:0x6cd,_0x21f164:0xce,_0x88095a:0xe2};function _0x12ab7c(_0x18ac2c,_0x3a67e5,_0xd09755,_0x1cd243){return _0x38eb01(_0x18ac2c,_0x3a67e5-_0x11d3a1._0x52bbcb,_0xd09755-_0x11d3a1._0x21f164,_0x1cd243-_0x11d3a1._0x88095a);}if(!_0x31713b[_0x12ab7c(0x705,_0x1168da._0x34bd64,_0x1168da._0x219e5f,_0x1168da._0x5b6479)](_0x12ab7c(0x578,0x546,_0x1168da._0x13bd60,_0x1168da._0x1b60e0)))return _0x31713b;function _0x26fa35(_0x2e9089,_0x7f7c58,_0x3e13e4,_0x580f6f){return _0x38eb01(_0x3e13e4,_0x7f7c58-_0xfda5e0._0x3d5c60,_0x3e13e4-_0xfda5e0._0x1d84d1,_0x580f6f-0x1a4);}return fileURLToPath(_0x31713b);}function nextFileVersion(_0x2710f2,_0xbc56f){const _0x1e044d={_0x48df70:0x21a,_0x4664f8:0xb2,_0x17c409:0x1cb,_0x29cb86:0x179,_0x4d71e6:0x3cf,_0x3e25d1:0x1de,_0x2e18b4:0x37e,_0x1f9e75:0x286,_0x2cb0e8:0x2cc},_0x17dd51={_0x3c2b5d:0x73},_0x55a9a8={_0x88b293:0x1a4,_0x47c3f9:0x161};function _0x14ddf8(_0x126c6f,_0x796744,_0x5bfe68,_0x4c9088){return _0x2cc51b(_0x796744,_0x796744-_0x55a9a8._0x88b293,_0x5bfe68-_0x55a9a8._0x47c3f9,_0x5bfe68- -0x1de);}const _0x53dca8=(_0x2710f2[_0x46d474(_0x1e044d._0x48df70,_0x1e044d._0x4664f8,_0x1e044d._0x17c409,_0x1e044d._0x29cb86)][_0x46d474(0x351,_0x1e044d._0x4d71e6,0x23a,_0x1e044d._0x3e25d1)](_0xbc56f)??0x1)+0x1;function _0x46d474(_0x13562a,_0x5a2f45,_0x314446,_0x29d253){return _0x38eb01(_0x314446,_0x13562a-0x491,_0x314446-_0x17dd51._0x3c2b5d,_0x29d253-0x1b1);}return _0x2710f2[_0x46d474(0x21a,0x15a,0x103,_0x1e044d._0x2e18b4)][_0x14ddf8(0x387,0x214,_0x1e044d._0x1f9e75,_0x1e044d._0x2cb0e8)](_0xbc56f,_0x53dca8),_0x53dca8;}async function collectClientResults(_0x4256b8){const _0x351ae2={_0x5e9d0f:0x2cc,_0x571310:0x3dc},_0x2b52bc={_0x4a1df5:0x2a,_0x3e8003:0x139},_0x22d03e={_0xa16c07:0x6,_0x40b63b:0x15,_0x523a2c:0x2a};function _0xf76496(_0x137bc2,_0x2302d3,_0x5a2590,_0x959e8){return _0x2cc51b(_0x137bc2,_0x2302d3-_0x22d03e._0xa16c07,_0x5a2590-_0x22d03e._0x40b63b,_0x2302d3- -_0x22d03e._0x523a2c);}const _0x159324=await Promise[_0xf76496(0x33e,0x344,_0x351ae2._0x5e9d0f,_0x351ae2._0x571310)](_0x4256b8);function _0x573086(_0x416c02,_0x51d0f7,_0x34e759,_0x1a96e1){return _0x38eb01(_0x51d0f7,_0x416c02- -_0x2b52bc._0x4a1df5,_0x34e759-0x1cc,_0x1a96e1-_0x2b52bc._0x3e8003);}return _0x159324['flatMap'](_0x471f99=>_0x471f99[_0x573086(-0x11b,-0x186,-0xb7,-0x140)]===_0xf76496(0x5d9,0x54d,0x46c,0x58b)?_0x471f99[_0xf76496(0x412,0x2e7,0x3c2,0x338)]:[]);}function createLspService(_0x1973f0={}){const _0xc5a80d={_0x5d83f6:0x405,_0xe41054:0x352},_0x55823d={_0x4c5946:0x358,_0x3816cd:0x3a2,_0x272758:0x2f7,_0x5d76fe:0x430,_0x30e23b:0x41a,_0x40ea88:0x581,_0x210372:0x331,_0x394c52:0x7ca,_0x36d21a:0x5b7,_0x388df0:0x509,_0x134903:0x1c5,_0x53fbbe:0x3f8,_0x46f09f:0x4a8,_0x78764:0x2bc,_0x3e43aa:0x2f1,_0x5d3ba9:0x5c8,_0x4b97aa:0x5b3,_0x2ca915:0x1e7},_0x60796e={_0x5d3694:0x79,_0x43c8e0:0x217},_0x44489e={_0x74e9ac:0x18d},_0xd32d32={_0x17e46a:0x1d4,_0x59ddda:0x133},_0x4f975a={_0x5817a9:0x18b},_0x5c46c3={_0xc9d545:0xfc,_0x76c8a6:0x59},_0x48a5d4={_0x26d0b5:0x4fc},_0x10a934={_0x455a70:0x21,_0x5a2429:0x129},_0x330f41={_0x960bbd:0x184},_0x3cbbf7={_0x5f0ddd:0x2eb,_0xbf32b4:0x39d,_0x251f23:0x18a},_0x2ade6b={_0x34c77b:0x42c,_0x1ec217:0x6d6,_0x21a698:0x5e5,_0x166f90:0x5df},_0x1ff2a3={_0x27582c:0xf,_0x40b869:0x58},_0x2a205d={_0x44ab4d:0x290,_0x454e6f:0xe0},_0x33f3b5={_0x1124f3:0x6f},_0x353603={_0x128586:0xa6,_0x59aa26:0x14e,_0x44117d:0x14b,_0x297985:0x17b,_0x2f30fe:0xa,_0x8e29dd:0x17d},_0x1378a0={_0x4967ba:0x9b,_0x48b757:0x1d5},_0x45ba56={_0x27ed11:0x541,_0x337745:0x4b1,_0x4c56a9:0x358},_0x5960d1={_0x19e937:0x87},_0x14e5fa={_0xd2b4b2:0xf4,_0x27fff0:0x178,_0x54d7f8:0x1cf,_0x2b29b:0xf5,_0xce7144:0x88},_0x1cf67d={_0x5706a7:0x735},_0x452abb={_0x34a28f:0x189,_0x51e9e7:0x67},_0x232100={_0x826cc8:0x34c,_0x5cf966:0x25b},_0x2d5f3d={_0x2de367:0xe8,_0x133911:0xfe,_0x3ace4b:0x5c,_0x472c5c:0x144,_0x1e1219:0x76,_0x54a4d6:0x202,_0x12e529:0xdc,_0x166b89:0xb2,_0x5268d0:0x29a,_0x416d1c:0x1b3,_0x306967:0x4e,_0x28cfc3:0xc1,_0x3f7a5f:0x242,_0x145f96:0x239,_0x12a2ff:0x76,_0x363423:0xa4,_0x42a126:0x1aa,_0x299a2f:0x14a,_0x5632a8:0xc9,_0x34cc1c:0xdc,_0x5674cc:0x162,_0x103104:0x1ec,_0xbf6129:0x9f,_0x408196:0x47,_0x53b009:0x71,_0x2ea6eb:0x7f},_0x5a4f27={_0x1e35f3:0x5f9,_0x2a48f7:0x4ab,_0x7008a4:0x15,_0x4a2f61:0x50,_0x1bc3c1:0x30,_0x276b1e:0x6ad,_0x197d52:0x446},_0x1c19a6={_0x50574f:0x48,_0x31089c:0x1c3,_0x3f381e:0x32d},_0x119647={_0x20fa09:0xdb,_0x3f93fb:0x105},_0x4a6073={_0x30dca9:0xdd,_0x5b7ff5:0x23,_0x172b6a:0x133,_0x4e720d:0x272,_0x471582:0x56,_0x2dc718:0x77,_0x17f0dd:0x60f,_0x2a700e:0x4bc,_0x32ebed:0x1df,_0x4f0ec4:0x637,_0x1c8dcf:0x3ac,_0x4e472b:0x226,_0x3c083a:0x163},_0xb58186={_0x5ae716:0x19},_0x20455c={_0x2fdec9:0x1c9},_0x4d899d={_0x4b7c34:0x25},_0x25124c={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x4d964a=()=>_0x1973f0[_0x346443(0x1d1,0x1a0,0x384,0x2d6)]!==![];function _0x346443(_0x4c11c3,_0x182367,_0x1630af,_0x530f79){return _0x2cc51b(_0x182367,_0x182367-_0x4d899d._0x4b7c34,_0x1630af-0x197,_0x530f79- -0x251);}async function _0x346a79(_0x172953,_0x2065cf){const _0x4d63e3={_0x3deeb4:0x3e1,_0x305ff1:0x1a4,_0x458afd:0x427,_0x13b003:0x42f,_0x593b4f:0x337,_0x4c57cd:0x268,_0x547d78:0xf8,_0x4ad992:0x289,_0x21f614:0x15d,_0x3a82ec:0x1cc,_0x76dba:0xff,_0x911880:0x1dc,_0x56f811:0x337,_0xb6ecdc:0x18c,_0x1e65c2:0x2e3,_0x334376:0x1f4,_0x5d4f0d:0x222},_0x2f09db={_0x11e27f:0x2d8,_0x565441:0xde},_0xc9b0ac=stateKey(_0x172953,_0x2065cf),_0x47055c=_0x25124c[_0x4c2aa8(0x282,_0x4a6073._0x30dca9,-_0x4a6073._0x5b7ff5,_0x4a6073._0x172b6a)][_0x4c2aa8(_0x4a6073._0x4e720d,_0x4a6073._0x471582,_0x4a6073._0x2dc718,0x1ab)](_0x26848e=>_0x26848e[_0x4c2aa8(-0xa1,0x1fb,0x99,0xcc)]===_0x172953['id']&&_0x26848e[_0x4c2aa8(0x113,0x9d,0x259,0x1d6)]===_0x2065cf);if(_0x47055c)return _0x47055c;function _0x5b5d8b(_0xda077d,_0x4f2da0,_0x2895b7,_0x3acd82){return _0x346443(_0xda077d-0x5c,_0x4f2da0,_0x2895b7-_0x20455c._0x2fdec9,_0xda077d-0x382);}if(_0x25124c[_0x5b5d8b(_0x4a6073._0x17f0dd,0x729,_0x4a6073._0x2a700e,0x5bb)]['has'](_0xc9b0ac))return void 0x0;const _0xe3e6f4=_0x25124c[_0x4c2aa8(_0x4a6073._0x32ebed,0x1ce,0x252,0x270)][_0x5b5d8b(0x4fd,_0x4a6073._0x4f0ec4,0x3a5,_0x4a6073._0x1c8dcf)](_0xc9b0ac);if(_0xe3e6f4)return _0xe3e6f4;function _0x4c2aa8(_0x350758,_0x50694f,_0x520769,_0x56468e){return _0x346443(_0x350758-0x102,_0x520769,_0x520769-0x1a0,_0x56468e-_0xb58186._0x5ae716);}const _0x121bfe=((async()=>{const _0x50ac0e={_0x9a16c5:0x12c,_0x586184:0xb1,_0x98627d:0x4e};function _0x1cd5a6(_0x2cf6a9,_0x303357,_0xed17f9,_0x284850){return _0x4c2aa8(_0x2cf6a9-_0x50ac0e._0x9a16c5,_0x303357-_0x50ac0e._0x586184,_0x2cf6a9,_0xed17f9- -_0x50ac0e._0x98627d);}function _0x5d043c(_0x3fa32b,_0x5bd88e,_0xdcf034,_0x303120){return _0x5b5d8b(_0xdcf034- -_0x2f09db._0x11e27f,_0x3fa32b,_0xdcf034-_0x2f09db._0x565441,_0x303120-0x136);}try{const _0x4dcd00=await _0x172953[_0x1cd5a6(0x330,_0x4d63e3._0x3deeb4,0x2d5,_0x4d63e3._0x305ff1)](_0x2065cf);if(!_0x4dcd00)return _0x25124c[_0x5d043c(_0x4d63e3._0x458afd,_0x4d63e3._0x13b003,_0x4d63e3._0x593b4f,_0x4d63e3._0x4c57cd)][_0x1cd5a6(_0x4d63e3._0x547d78,0x100,0x19b,_0x4d63e3._0x4ad992)](_0xc9b0ac),void 0x0;const _0x3673f9=await createLspClient({'server':_0x172953,'root':_0x2065cf,'handle':_0x4dcd00}),_0x236178=_0x25124c['clients'][_0x1cd5a6(0x18a,0x18c,_0x4d63e3._0x21f614,_0x4d63e3._0x3a82ec)](_0x5b6ae0=>_0x5b6ae0['serverId']===_0x172953['id']&&_0x5b6ae0['root']===_0x2065cf);if(_0x236178)return await _0x3673f9['shutdown'](),_0x236178;return _0x25124c[_0x1cd5a6(0x250,_0x4d63e3._0x76dba,0xe5,_0x4d63e3._0x911880)]['push'](_0x3673f9),_0x3673f9;}catch{return _0x25124c[_0x5d043c(0x1fa,0x1e8,_0x4d63e3._0x56f811,0x1dc)][_0x5d043c(0x165,_0x4d63e3._0xb6ecdc,0x27a,_0x4d63e3._0x1e65c2)](_0xc9b0ac),void 0x0;}finally{_0x25124c[_0x1cd5a6(_0x4d63e3._0x334376,0x1e1,_0x4d63e3._0x5d4f0d,0x227)]['delete'](_0xc9b0ac);}})());return _0x25124c[_0x4c2aa8(_0x4a6073._0x4e472b,0x294,0x15b,0x270)][_0x4c2aa8(0x26f,_0x4a6073._0x3c083a,0x3ac,0x22c)](_0xc9b0ac,_0x121bfe),_0x121bfe;}async function _0x2ceddd(_0x22f557,_0x32535a){function _0x413bb5(_0x2c0e29,_0x25924b,_0x1df651,_0x355226){return _0x346443(_0x2c0e29-0x7c,_0x1df651,_0x1df651-_0x119647._0x20fa09,_0x355226- -_0x119647._0x3f93fb);}function _0x2ef292(_0x172ff0,_0xf582ac,_0x22f803,_0x343ca9){return _0x346443(_0x172ff0-_0x1c19a6._0x50574f,_0x22f803,_0x22f803-_0x1c19a6._0x31089c,_0x172ff0-_0x1c19a6._0x3f381e);}if(!_0x4d964a())return[];const _0x479f8a=[];for(const _0x52f3a7 of getServersForFile(_0x22f557)){const _0x3780df=await _0x52f3a7['root'](_0x22f557);if(!_0x3780df)continue;const _0x735fc0=stateKey(_0x52f3a7,_0x3780df);if(_0x25124c[_0x2ef292(0x5ba,0x628,0x69d,_0x5a4f27._0x1e35f3)][_0x2ef292(0x522,0x3b1,0x3d1,_0x5a4f27._0x2a48f7)](_0x735fc0))continue;const _0x4ee562=_0x25124c[_0x413bb5(0x7b,-0xa3,-0xdb,_0x5a4f27._0x7008a4)]['find'](_0x1b6166=>_0x1b6166[_0x2ef292(0x3e0,0x2d7,0x343,0x28b)]===_0x52f3a7['id']&&_0x1b6166[_0x413bb5(0xc6,0x42,-0x63,0xb8)]===_0x3780df);if(_0x4ee562){_0x479f8a[_0x413bb5(_0x5a4f27._0x4a2f61,0x7f,-_0x5a4f27._0x1bc3c1,0x10f)](_0x4ee562);continue;}if(!_0x32535a)continue;const _0x1b73a0=await _0x346a79(_0x52f3a7,_0x3780df);if(_0x1b73a0)_0x479f8a[_0x2ef292(0x541,0x42e,_0x5a4f27._0x276b1e,_0x5a4f27._0x197d52)](_0x1b73a0);}return _0x479f8a;}async function _0x32d1bc(_0x5cb9c7,_0x4ddec8=![]){const _0x2e80d5=await _0x2ceddd(_0x5cb9c7,!![]);await Promise['all'](_0x2e80d5['map'](async _0x5494f5=>{const _0x1f900e={_0x149bac:0x1a9};!_0x25124c[_0x2abd81(_0x2d5f3d._0x2de367,0xce,_0x2d5f3d._0x133911,-_0x2d5f3d._0x3ace4b)]['has'](_0x5494f5[_0x146945(-_0x2d5f3d._0x472c5c,-_0x2d5f3d._0x1e1219,-0xda,-0x1c5)]+':'+_0x5494f5[_0x2abd81(-0x10,0x5f,0x275,0xf9)]+':'+_0x5cb9c7)&&(await _0x5494f5[_0x146945(_0x2d5f3d._0x54a4d6,_0x2d5f3d._0x12e529,0x76,0x1d5)][_0x2abd81(_0x2d5f3d._0x166b89,_0x2d5f3d._0x5268d0,0x178,_0x2d5f3d._0x416d1c)]({'path':_0x5cb9c7}),_0x25124c[_0x146945(-_0x2d5f3d._0x306967,-_0x2d5f3d._0x28cfc3,-0x133,0x59)][_0x2abd81(_0x2d5f3d._0x3f7a5f,_0x2d5f3d._0x145f96,0x8d,0x10c)](_0x5494f5[_0x146945(-0x53,-_0x2d5f3d._0x12a2ff,-_0x2d5f3d._0x363423,-0xca)]+':'+_0x5494f5[_0x146945(_0x2d5f3d._0x42a126,0x94,0x7,_0x2d5f3d._0x299a2f)]+':'+_0x5cb9c7));function _0x146945(_0x54ed9a,_0x4a605a,_0x1a3ced,_0x39068e){return _0x29c8(_0x4a605a- -_0x1f900e._0x149bac,_0x39068e);}await _0x5494f5[_0x146945(_0x2d5f3d._0x5632a8,_0x2d5f3d._0x34cc1c,_0x2d5f3d._0x5674cc,_0x2d5f3d._0x103104)][_0x2abd81(_0x2d5f3d._0xbf6129,-_0x2d5f3d._0x408196,-0xac,-_0x2d5f3d._0x53b009)]({'path':_0x5cb9c7,'version':nextFileVersion(_0x25124c,_0x5cb9c7)});function _0x2abd81(_0x4d86b4,_0x4f4aeb,_0x5e95f8,_0x38ba6e){return _0x29c8(_0x38ba6e- -0x144,_0x4d86b4);}if(_0x4ddec8)await _0x5494f5[_0x146945(_0x2d5f3d._0x2ea6eb,0x17c,0xe3,0x1d5)]({'path':_0x5cb9c7});}));}async function _0xdaa918(_0x2c246c){function _0x3ee5b7(_0x4a6528,_0x4dcf4e,_0x483761,_0x30837d){return _0x346443(_0x4a6528-0xda,_0x30837d,_0x483761-0x4,_0x4a6528-0xf0);}return await _0x32d1bc(_0x2c246c['file'],![]),_0x2ceddd(_0x2c246c[_0x3ee5b7(_0x232100._0x826cc8,0x3f6,0x211,_0x232100._0x5cf966)],![]);}async function _0x4d765f(_0x3e191f){const _0x4adade={_0x4302b1:0x1c8,_0x3658a0:0x17e,_0x384308:0x3e7};function _0x10cfb(_0x526af5,_0x5cc0e0,_0x48f6a9,_0x205214){return _0x346443(_0x526af5-0x52,_0x5cc0e0,_0x48f6a9-_0x452abb._0x34a28f,_0x48f6a9-_0x452abb._0x51e9e7);}const _0x53cf55=await _0xdaa918(_0x3e191f);function _0x1a8b0a(_0x3d1f92,_0x5492dd,_0x53585d,_0x225fc3){return _0x346443(_0x3d1f92-_0x4adade._0x4302b1,_0x53585d,_0x53585d-_0x4adade._0x3658a0,_0x5492dd-_0x4adade._0x384308);}return collectClientResults(_0x53cf55[_0x1a8b0a(_0x1cf67d._0x5706a7,0x64f,0x6e6,0x4db)](_0x2fb9e8=>_0x2fb9e8[_0x10cfb(0x353,0x1ad,0x280,0x370)][_0x1a8b0a(0x508,0x55e,0x62d,0x6ae)](_0x3e191f)));}return{'isEnabled':_0x4d964a,async 'hasClients'(_0x1f649d){const _0x108e43={_0x5b197c:0xd7,_0x4ca396:0x111,_0x3053bf:0x12c},_0x1fdae4={_0x5dc3b4:0x110};function _0x2bab6c(_0xf5da56,_0x40f507,_0x56e11c,_0x117dab){return _0x346443(_0xf5da56-0x1c0,_0xf5da56,_0x56e11c-0xbd,_0x117dab-_0x1fdae4._0x5dc3b4);}function _0x3fab23(_0x4407d8,_0x528091,_0x1545b4,_0x55674a){return _0x346443(_0x4407d8-_0x108e43._0x5b197c,_0x4407d8,_0x1545b4-_0x108e43._0x4ca396,_0x55674a- -_0x108e43._0x3053bf);}return(await _0x2ceddd(_0x1f649d,![]))[_0x3fab23(_0x14e5fa._0xd2b4b2,_0x14e5fa._0x27fff0,0x5a,0x88)]>0x0||getServersForFile(_0x1f649d)[_0x3fab23(0x143,_0x14e5fa._0x54d7f8,-_0x14e5fa._0x2b29b,_0x14e5fa._0xce7144)]>0x0;},'touchFile':_0x32d1bc,async 'diagnostics'(){const _0x5d74bf={};function _0x25c23f(_0x5658f7,_0x6865f,_0x157c71,_0x239fba){return _0x346443(_0x5658f7-_0x5960d1._0x19e937,_0x6865f,_0x157c71-0x59,_0x157c71-0x2ee);}for(const _0x144255 of _0x25124c['clients']){for(const [_0x215f9f,_0x223966]of _0x144255[_0x25c23f(0x453,_0x45ba56._0x27ed11,_0x45ba56._0x337745,_0x45ba56._0x4c56a9)]){_0x5d74bf[diagnosticsKeyToPath(_0x215f9f)]=_0x223966;}}return _0x5d74bf;},async 'diagnosticsForFile'(_0xb85590){const _0x3b82c9={_0xd4d834:0x11a};await _0x32d1bc(_0xb85590,!![]);const _0x4efafc=[];for(const _0x18c1e1 of await _0x2ceddd(_0xb85590,![])){for(const [_0x12d175,_0x485509]of _0x18c1e1[_0x3a5aaf(0x140,_0x353603._0x128586,_0x353603._0x59aa26,_0x353603._0x44117d)]){if(diagnosticsKeyToPath(_0x12d175)===_0xb85590)_0x4efafc[_0x3a5aaf(_0x353603._0x297985,0xf7,_0x353603._0x2f30fe,_0x353603._0x8e29dd)](..._0x485509);}}function _0x3a5aaf(_0x2045b8,_0x330e6a,_0x2b098f,_0x86b44e){return _0x346443(_0x2045b8-_0x3b82c9._0xd4d834,_0x2045b8,_0x2b098f-0x1a6,_0x330e6a- -0x11d);}function _0x38e32d(_0x2a93c4,_0xb30c98,_0x50fb3f,_0x43ab6f){return _0x346443(_0x2a93c4-_0x1378a0._0x4967ba,_0x43ab6f,_0x50fb3f-_0x1378a0._0x48b757,_0xb30c98-0x1e0);}return _0x4efafc;},async 'definition'(_0x95307a){const _0x16ca0d={_0x2ec9b3:0xbc,_0x3ec7ed:0x183,_0x501d81:0x154};function _0x2e484c(_0x36b8bf,_0x2f811c,_0x1b0912,_0x500531){return _0x346443(_0x36b8bf-_0x16ca0d._0x2ec9b3,_0x2f811c,_0x1b0912-_0x16ca0d._0x3ec7ed,_0x500531-_0x16ca0d._0x501d81);}function _0x55aed3(_0x597d1b,_0x4c506d,_0x32d86b,_0x4d33be){return _0x346443(_0x597d1b-0x155,_0x4c506d,_0x32d86b-_0x33f3b5._0x1124f3,_0x32d86b-0x38d);}return collectClientResults((await _0xdaa918(_0x95307a))['map'](_0x205184=>_0x205184[_0x55aed3(0x4bc,0x6cc,0x5a6,0x550)][_0x55aed3(0x546,0x4ae,0x3f7,0x4b0)](_0x95307a)));},async 'references'(_0x279be5){const _0x4d3a60={_0x2e81a7:0x1d4};function _0x50bcb4(_0xe41c22,_0x412de7,_0x17405b,_0x595b2c){return _0x346443(_0xe41c22-_0x4d3a60._0x2e81a7,_0x412de7,_0x17405b-0xe4,_0x17405b- -0x244);}function _0x417a3b(_0x49b824,_0x507c9f,_0x4229a4,_0x17edb0){return _0x346443(_0x49b824-0x12b,_0x4229a4,_0x4229a4-0x1b2,_0x17edb0- -0xf9);}return collectClientResults((await _0xdaa918(_0x279be5))[_0x417a3b(0x143,_0x2a205d._0x44ab4d,_0x2a205d._0x454e6f,0x16f)](_0x131f74=>_0x131f74[_0x417a3b(0x27,0xe,-0x1,0x120)][_0x50bcb4(-0x14a,-0x1b5,-0xce,-0x2c)](_0x279be5)));},async 'hover'(_0x2847a1){const _0x17894f={_0x5a28a0:0x97},_0xa9b227=await Promise[_0x494d58(_0x2ade6b._0x34c77b,0x49e,0x381,0x4ec)]((await _0xdaa918(_0x2847a1))[_0x318826(_0x2ade6b._0x1ec217,_0x2ade6b._0x21a698,0x539,_0x2ade6b._0x166f90)](_0x51dae8=>_0x51dae8[_0x494d58(0x677,0x59a,0x548,0x549)][_0x318826(0x4ff,0x639,0x59f,0x4f4)](_0x2847a1)));function _0x318826(_0x3c5d0b,_0x5c8ac2,_0xa3703,_0x1da6f7){return _0x346443(_0x3c5d0b-0x13,_0xa3703,_0xa3703-_0x17894f._0x5a28a0,_0x5c8ac2-0x37d);}function _0x494d58(_0x46c28e,_0x220917,_0x5bb4db,_0x529e56){return _0x346443(_0x46c28e-_0x1ff2a3._0x27582c,_0x529e56,_0x5bb4db-_0x1ff2a3._0x40b869,_0x220917-0x381);}return _0xa9b227[_0x494d58(0x433,0x48d,0x615,0x466)](_0x332aea=>_0x332aea[_0x494d58(0x534,0x54b,0x5f9,0x641)]===_0x494d58(0x5c7,0x6a7,0x59b,0x544)&&_0x332aea[_0x494d58(0x369,0x441,0x552,0x306)]?[_0x332aea[_0x494d58(0x590,0x441,0x52f,0x448)]]:[]);},async 'documentSymbol'(_0x2d3d65){const _0x34d7f0={_0x4cf280:0x13b};function _0x211e8d(_0x4695e2,_0x5cd021,_0x411d72,_0x5ab1f0){return _0x346443(_0x4695e2-_0x34d7f0._0x4cf280,_0x4695e2,_0x411d72-0xcc,_0x5cd021-0x83);}return await _0x32d1bc(_0x2d3d65,![]),collectClientResults((await _0x2ceddd(_0x2d3d65,![]))[_0x211e8d(0x3bb,_0x3cbbf7._0x5f0ddd,_0x3cbbf7._0xbf32b4,_0x3cbbf7._0x251f23)](_0x3c3050=>_0x3c3050['request']['documentSymbol'](_0x2d3d65)));},async 'workspaceSymbol'(_0x3327c3){function _0xdaa236(_0x15cfbb,_0x4e4040,_0x5155b0,_0x174a91){return _0x346443(_0x15cfbb-0x124,_0x15cfbb,_0x5155b0-0xfc,_0x174a91- -0x2fe);}function _0x4d41a8(_0x352fbd,_0x4da2e2,_0x4d473a,_0x1b7fe7){return _0x346443(_0x352fbd-0x13f,_0x4da2e2,_0x4d473a-_0x330f41._0x960bbd,_0x4d473a-0x26c);}return collectClientResults(_0x25124c[_0x4d41a8(0x3ff,0x375,0x386,0x3cc)]['map'](_0x3ace62=>_0x3ace62[_0x4d41a8(0x33c,0x3e1,0x485,0x351)][_0xdaa236(0x5c,0x50,-0x119,-0xdd)](_0x3327c3)));},async 'implementation'(_0x4388fe){const _0x5cff7e={_0x1e16b:0x44,_0x3c59c8:0x24};function _0x2f565a(_0x5b7b17,_0x60bd59,_0x32542d,_0x2d7382){return _0x346443(_0x5b7b17-0x11d,_0x5b7b17,_0x32542d-_0x5cff7e._0x1e16b,_0x2d7382- -_0x5cff7e._0x3c59c8);}function _0x86485b(_0x3d8770,_0x5677dd,_0x20fe4d,_0x2c2b7a){return _0x346443(_0x3d8770-_0x10a934._0x455a70,_0x3d8770,_0x20fe4d-0x161,_0x2c2b7a-_0x10a934._0x5a2429);}return collectClientResults((await _0xdaa918(_0x4388fe))[_0x86485b(_0x48a5d4._0x26d0b5,0x36c,0x500,0x391)](_0xaf869e=>_0xaf869e[_0x2f565a(0x253,0x326,0x31e,0x1f5)][_0x2f565a(-0x37,0xcf,0x1d4,0xd2)](_0x4388fe)));},async 'prepareCallHierarchy'(_0x43ed0e){return _0x4d765f(_0x43ed0e);},async 'incomingCalls'(_0x5d06be){const _0x4db96f={_0x318fd6:0x3d},_0x24a2f8={_0xd05a46:0x8d,_0x4f37f1:0xec};function _0x292e1d(_0x511bec,_0x3aaf02,_0x3a57fa,_0x11ee18){return _0x346443(_0x511bec-_0x24a2f8._0xd05a46,_0x11ee18,_0x3a57fa-_0x24a2f8._0x4f37f1,_0x511bec- -0x10);}function _0x40ea61(_0x341653,_0x15ba3a,_0x101985,_0x410fc3){return _0x346443(_0x341653-0x117,_0x101985,_0x101985-0x11c,_0x410fc3- -_0x4db96f._0x318fd6);}const _0x4ff586=await _0x4d765f(_0x5d06be),_0x3fb2c=await _0xdaa918(_0x5d06be);return collectClientResults(_0x3fb2c[_0x292e1d(_0x5c46c3._0xc9d545,_0x5c46c3._0x76c8a6,0x256,-0x7b)](_0x14c028=>_0x4ff586['map'](_0xafc45=>_0x14c028[_0x40ea61(0x282,0x2a6,0x19d,0x1dc)][_0x40ea61(0x222,0x173,0x166,0xee)](_0xafc45))));},async 'outgoingCalls'(_0x4f6e1f){const _0x1facbb=await _0x4d765f(_0x4f6e1f);function _0x1e5eb9(_0x47667b,_0x91b6ef,_0xbc2dcf,_0x270439){return _0x346443(_0x47667b-_0x4f975a._0x5817a9,_0x270439,_0xbc2dcf-0x38,_0x47667b-0x122);}const _0x34e573=await _0xdaa918(_0x4f6e1f);function _0x58f82b(_0x5233fa,_0x128fd4,_0xab7f46,_0x412ec1){return _0x346443(_0x5233fa-_0xd32d32._0x17e46a,_0x128fd4,_0xab7f46-_0xd32d32._0x59ddda,_0x5233fa-0x463);}return collectClientResults(_0x34e573[_0x1e5eb9(0x22e,0x398,0x15f,_0x44489e._0x74e9ac)](_0x1dc397=>_0x1facbb[_0x1e5eb9(0x38a,0x501,0x3cc,0x235)](_0x2e1b79=>_0x1dc397[_0x1e5eb9(0x33b,0x411,0x312,0x3d7)][_0x58f82b(0x61b,0x63d,0x795,0x768)](_0x2e1b79))));},async 'shutdown'(){const _0x4f00ef={_0x4badc7:0x1c1};function _0x27cddc(_0x54c241,_0x9e66d3,_0x29d29b,_0x3eb85d){return _0x346443(_0x54c241-_0x4f00ef._0x4badc7,_0x54c241,_0x29d29b-0x83,_0x3eb85d-0x464);}if(_0x25124c['shutdownStarted'])return;_0x25124c[_0x287b5a(_0x55823d._0x4c5946,0x4d8,_0x55823d._0x3816cd,_0x55823d._0x272758)]=!![],await Promise[_0x27cddc(_0x55823d._0x5d76fe,0x621,_0x55823d._0x30e23b,_0x55823d._0x40ea88)](_0x25124c[_0x287b5a(_0x55823d._0x210372,0x218,0x28a,0x3d5)][_0x27cddc(0x6c3,0x62a,_0x55823d._0x394c52,0x6cc)](_0x1a2ec6=>_0x1a2ec6[_0x27cddc(0x6b1,0x862,0x6b0,0x72f)]())),_0x25124c['clients']=[];function _0x287b5a(_0x509377,_0x433034,_0x250b8c,_0x5c4619){return _0x346443(_0x509377-0x1e8,_0x5c4619,_0x250b8c-_0x60796e._0x5d3694,_0x509377-_0x60796e._0x43c8e0);}_0x25124c[_0x287b5a(0x46e,_0x55823d._0x36d21a,0x4ba,0x440)][_0x27cddc(0x5a2,0x49e,0x5c8,_0x55823d._0x388df0)](),_0x25124c['broken'][_0x287b5a(0x2bc,_0x55823d._0x134903,0x2aa,0x328)](),_0x25124c[_0x27cddc(0x3f5,0x463,_0x55823d._0x53fbbe,_0x55823d._0x46f09f)][_0x287b5a(_0x55823d._0x78764,_0x55823d._0x3e43aa,0x321,0x3e5)](),_0x25124c[_0x27cddc(_0x55823d._0x5d3ba9,_0x55823d._0x4b97aa,0x348,0x4cc)][_0x287b5a(0x2bc,_0x55823d._0x2ca915,0x247,0x1f8)]();},'status'(){const _0x3bb318={_0x2a4b2e:0x9d};function _0x29d62f(_0x4b865f,_0x4370af,_0x1d77aa,_0x597766){return _0x346443(_0x4b865f-_0x3bb318._0x2a4b2e,_0x4370af,_0x1d77aa-0x9,_0x597766-0x11c);}return{'connectedClients':_0x25124c['clients'][_0x29d62f(_0xc5a80d._0x5d83f6,_0xc5a80d._0xe41054,0x2f1,0x2d0)]};}};}function createQuestionId(){const _0x55a167={_0x2327c0:0x342,_0x3c37c2:0x106,_0xdb5d8:0x22a,_0x56bc3f:0x366,_0x1d4d14:0x458,_0x1e3fd9:0xa1,_0xb11f10:0x5c1,_0x148ff0:0x58b,_0x4f45b0:0x4a8};function _0x5f250c(_0x1007a0,_0x4aaf47,_0x41c808,_0x5dd869){return _0x38eb01(_0x1007a0,_0x5dd869-0x33,_0x41c808-0x2b,_0x5dd869-0x14d);}function _0x5b204a(_0x2ac514,_0x4bce4c,_0x31d287,_0x5ae483){return _0x38eb01(_0x5ae483,_0x2ac514-0x55c,_0x31d287-0x96,_0x5ae483-0x177);}return _0x5f250c(-_0x55a167._0x2327c0,-_0x55a167._0x3c37c2,-_0x55a167._0xdb5d8,-0x22e)+Date[_0x5b204a(0x350,_0x55a167._0x56bc3f,0x2cf,_0x55a167._0x1d4d14)]()+'-'+Math['random']()[_0x5f250c(-0xa,-_0x55a167._0x1e3fd9,-0xa,-0xc8)](0x24)[_0x5b204a(_0x55a167._0xb11f10,0x703,_0x55a167._0x148ff0,_0x55a167._0x4f45b0)](0x2,0x9);}function validateInput(_0x146041){const _0x5c6432={_0x3993c3:0x25f,_0x152d03:0x40c,_0x2db74d:0x42b,_0x49e6d0:0x2cd,_0x411b46:0x3c8,_0x575f66:0x3d5,_0x3869f4:0x34a,_0x18cb2a:0x425,_0x2a49ae:0x263,_0x5d1bd3:0x3b1,_0x49f537:0x402,_0x10c291:0x4f5,_0x5611b6:0x528,_0x568f2a:0x38d,_0xd91d49:0x4c0,_0x25aa19:0x400,_0x2c6bbc:0x523,_0x4e899f:0x4e0,_0x58a4dc:0x497,_0x5e65e4:0x56e,_0x431e9d:0x524,_0x59e3ef:0x4c2,_0x397aa6:0x34f,_0x5add48:0x35f,_0x37c005:0x492,_0x1d4087:0x475,_0x3d7feb:0x5d5,_0x5751bb:0x457,_0x1dfcea:0x4cd,_0x45c565:0x2e9,_0x54be9e:0x3d9,_0x344810:0x32a,_0x3b07d2:0x24e,_0x5a2252:0x401,_0x226d2f:0x479,_0x4cbb4c:0x5aa,_0x38a463:0x59f,_0x4cc20e:0x404,_0x4975f5:0x3c8,_0x48b49e:0x2fb,_0x59c789:0x294,_0x34e4f8:0x44e,_0x30c55c:0x3a3,_0xea56c8:0x311,_0x5207fd:0x2cc,_0x228737:0x3fd,_0x474a18:0x3bb,_0x1a8a6b:0x324,_0x368b64:0x403,_0x3ab25f:0x43f,_0x5b9b28:0x57e,_0x286978:0x2f8,_0x4f2130:0x2cc,_0x4d07eb:0x1e7,_0x5c021f:0x3ef,_0x4f67ee:0x182,_0x1dae3c:0x3c9,_0x22ef2f:0x337,_0x2c7620:0x393,_0x35550a:0x415,_0x41e320:0x307,_0x29eebb:0x386,_0x5446e9:0x335,_0x47360c:0x462,_0x17fc18:0x504,_0x42c115:0x117},_0x141b12={_0x2c3f14:0x4cf},_0x43baae={_0x408dc2:0x50a,_0xeee21a:0x1ad};function _0x34c941(_0x579f2e,_0x46e363,_0x3eab64,_0x5d2460){return _0x38eb01(_0x579f2e,_0x3eab64-_0x43baae._0x408dc2,_0x3eab64-0x95,_0x5d2460-_0x43baae._0xeee21a);}function _0x1a4c16(_0x3f758d,_0x5d4177,_0x4ff2e8,_0x221a1c){return _0x38eb01(_0x3f758d,_0x5d4177-_0x141b12._0x2c3f14,_0x4ff2e8-0xfe,_0x221a1c-0xb);}if(!Array['isArray'](_0x146041['questions'])||_0x146041['questions'][_0x1a4c16(_0x5c6432._0x3993c3,0x3c8,_0x5c6432._0x152d03,_0x5c6432._0x2db74d)]<0x1||_0x146041['questions'][_0x1a4c16(_0x5c6432._0x49e6d0,_0x5c6432._0x411b46,_0x5c6432._0x575f66,_0x5c6432._0x3869f4)]>0xa)throw new ToolExecutionError(_0x34c941(_0x5c6432._0x18cb2a,0x2c3,0x361,_0x5c6432._0x2a49ae),{'error':_0x1a4c16(0x2fa,_0x5c6432._0x5d1bd3,0x4e6,0x514)});for(let _0x31ea06=0x0;_0x31ea06<_0x146041[_0x34c941(_0x5c6432._0x49f537,0x625,0x4d1,_0x5c6432._0x10c291)]['length'];_0x31ea06+=0x1){const _0x2c899e=_0x146041[_0x1a4c16(_0x5c6432._0x5611b6,0x496,_0x5c6432._0x568f2a,_0x5c6432._0xd91d49)][_0x31ea06];if(!_0x2c899e[_0x34c941(0x3ac,_0x5c6432._0x25aa19,_0x5c6432._0x2c6bbc,0x3aa)]||typeof _0x2c899e[_0x1a4c16(0x572,0x4e8,_0x5c6432._0x4e899f,_0x5c6432._0x58a4dc)]!==_0x34c941(0x551,0x634,_0x5c6432._0x5e65e4,_0x5c6432._0x431e9d))throw new ToolExecutionError('Question\x20'+(_0x31ea06+0x1)+_0x1a4c16(0x47a,0x364,_0x5c6432._0x59e3ef,_0x5c6432._0x397aa6));if(!_0x2c899e[_0x34c941(_0x5c6432._0x5add48,0x3a2,_0x5c6432._0x37c005,_0x5c6432._0x1d4087)]||typeof _0x2c899e[_0x1a4c16(_0x5c6432._0x3d7feb,_0x5c6432._0x5751bb,0x4d2,0x357)]!=='string')throw new ToolExecutionError('Question\x20'+(_0x31ea06+0x1)+':\x20\x22topic\x22\x20field\x20is\x20required\x20and\x20must\x20be\x20a\x20string');if(_0x2c899e[_0x1a4c16(_0x5c6432._0x1dfcea,_0x5c6432._0x5751bb,_0x5c6432._0x45c565,_0x5c6432._0x54be9e)][_0x1a4c16(_0x5c6432._0x344810,0x3c8,_0x5c6432._0x3b07d2,0x393)]>0x1e)throw new ToolExecutionError(_0x34c941(0x388,0x237,0x308,_0x5c6432._0x5a2252)+(_0x31ea06+0x1)+_0x34c941(0x385,_0x5c6432._0x226d2f,0x3a7,0x2fb)+_0x2c899e[_0x1a4c16(0x318,0x457,_0x5c6432._0x4cbb4c,_0x5c6432._0x38a463)][_0x1a4c16(_0x5c6432._0x4cc20e,_0x5c6432._0x4975f5,0x400,0x3e9)]);if(!Array[_0x34c941(_0x5c6432._0x48b49e,_0x5c6432._0x59c789,0x3f5,_0x5c6432._0x34e4f8)](_0x2c899e[_0x34c941(_0x5c6432._0x30c55c,_0x5c6432._0xea56c8,_0x5c6432._0x5207fd,0x2bd)])||_0x2c899e['options'][_0x1a4c16(0x328,0x3c8,0x40a,_0x5c6432._0x228737)]<0x2||_0x2c899e[_0x1a4c16(_0x5c6432._0x474a18,0x291,0x1e6,_0x5c6432._0x1a8a6b)][_0x34c941(0x428,0x285,_0x5c6432._0x368b64,0x390)]>0x4)throw new ToolExecutionError('Question\x20'+(_0x31ea06+0x1)+_0x1a4c16(0x57f,_0x5c6432._0x431e9d,_0x5c6432._0x3ab25f,_0x5c6432._0x5b9b28));for(let _0x1ebacd=0x0;_0x1ebacd<_0x2c899e[_0x34c941(0x27e,_0x5c6432._0x286978,_0x5c6432._0x4f2130,_0x5c6432._0x4d07eb)]['length'];_0x1ebacd+=0x1){const _0xffae08=_0x2c899e[_0x34c941(_0x5c6432._0x5c021f,_0x5c6432._0x4f67ee,0x2cc,0x272)][_0x1ebacd];if(!_0xffae08[_0x1a4c16(0x2ee,_0x5c6432._0x1dae3c,0x331,_0x5c6432._0x2db74d)]||!_0xffae08[_0x1a4c16(_0x5c6432._0x22ef2f,_0x5c6432._0x2c7620,_0x5c6432._0x35550a,0x385)])throw new ToolExecutionError('Question\x20'+(_0x31ea06+0x1)+',\x20Option\x20'+(_0x1ebacd+0x1)+_0x1a4c16(0x354,_0x5c6432._0x41e320,_0x5c6432._0x29eebb,_0x5c6432._0x5446e9));}if(typeof _0x2c899e['multiSelect']!==_0x1a4c16(_0x5c6432._0x47360c,_0x5c6432._0x17fc18,0x4a2,0x62c))throw new ToolExecutionError(_0x34c941(0x465,0x438,0x308,0x485)+(_0x31ea06+0x1)+_0x1a4c16(_0x5c6432._0x42c115,0x25c,0x32a,0x232));}}function buildQuestions(_0x5a784c){const _0x358339={_0x269269:0x2d1,_0x1c7630:0x2b7,_0x25abc1:0x1a0,_0x4f739d:0x22f},_0xe529d8={_0xb5cdeb:0x1c7};function _0x2c2c94(_0x31a26a,_0x4f7bd8,_0x398974,_0xb588a6){return _0x2cc51b(_0x4f7bd8,_0x4f7bd8-0x1b,_0x398974-0x92,_0x31a26a- -0x202);}function _0x55f07c(_0x182914,_0x5c49f6,_0x584184,_0x3a3c7a){return _0x38eb01(_0x182914,_0x584184-0x594,_0x584184-_0xe529d8._0xb5cdeb,_0x3a3c7a-0xda);}return _0x5a784c[_0x2c2c94(_0x358339._0x269269,0x369,0x3d5,0x170)][_0x2c2c94(_0x358339._0x1c7630,_0x358339._0x25abc1,_0x358339._0x4f739d,0x3fa)]((_0x165c0a,_0x2727c8)=>({'id':'q'+_0x2727c8,'question':_0x165c0a[_0x55f07c(0x4a4,0x599,0x5ad,0x447)],'topic':_0x165c0a[_0x55f07c(0x687,0x49d,0x51c,0x3eb)],'options':_0x165c0a['options'],'multiSelect':_0x165c0a[_0x55f07c(0x498,0x55d,0x50f,0x616)]}));}function createResult(_0x515190,_0x492817,_0xf9f898){const _0x194bcb={_0x4f30de:0x287,_0x47d301:0x143},_0x2bafe0={_0x401775:0x8c};function _0x25b7ee(_0x2a4764,_0x1965f7,_0x27145d,_0x4c28d2){return _0x2cc51b(_0x1965f7,_0x1965f7-0x1ca,_0x27145d-_0x2bafe0._0x401775,_0x27145d- -0x475);}const _0x47f8f3={'questionId':_0x515190,'questionCount':_0x492817,'answers':_0xf9f898};return createToolOutput(_0x25b7ee(-_0x194bcb._0x4f30de,-0xb5,-_0x194bcb._0x47d301,-0x143)+JSON['stringify'](_0xf9f898,null,0x2),_0x47f8f3);}function createAskUserTool(){const _0x5e5730={_0x491d5e:0x495,_0x34c419:0x10e,_0x3f49a3:0x2b1,_0x221b78:0x1e3,_0x4bd132:0x173,_0x3dc6dd:0x237,_0x456d95:0x21b,_0x1737e6:0x236,_0x2346f:0x4bc,_0x99f153:0x51a,_0x1d8190:0x1c4,_0x5cc50c:0x34c,_0x102db1:0x42a,_0x1f2466:0x391,_0x6eebd6:0x394,_0x1a0888:0x47d},_0x5a4a28={_0x5d9832:0x3db,_0x16ff93:0x6ed,_0x1a5c9e:0x2ab,_0x3e315b:0x479,_0x525262:0x6f8,_0x46efe3:0x575,_0x2dee61:0x717,_0x432078:0x415,_0x305049:0x33e,_0x9b4dbe:0x6eb,_0x18e611:0x482},_0x33b50c={_0x3f6425:0x96,_0xed4ac2:0x125,_0x45cee9:0xca},_0x59109c={_0x2058fd:0x114,_0x4d1326:0x4b},_0xdf42fb={_0x1008e6:0xca};function _0x4440fd(_0x4cf2b4,_0x13f18f,_0x2d4887,_0x1b90d5){return _0x2cc51b(_0x13f18f,_0x13f18f-0x19c,_0x2d4887-_0xdf42fb._0x1008e6,_0x1b90d5- -0x242);}function _0x475e49(_0x2dffe8,_0xcfb7b0,_0x2049da,_0x166f06){return _0x2cc51b(_0x166f06,_0xcfb7b0-_0x59109c._0x2058fd,_0x2049da-_0x59109c._0x4d1326,_0x2049da- -0x56);}return defineTool({'name':_0x475e49(_0x5e5730._0x491d5e,0x489,0x4d6,0x5f6),'permissionClass':_0x4440fd(_0x5e5730._0x34c419,0x2ce,_0x5e5730._0x3f49a3,_0x5e5730._0x221b78),'description':_0x475e49(0x268,_0x5e5730._0x4bd132,_0x5e5730._0x3dc6dd,0xd0),'inputSchema':{'type':_0x4440fd(0x178,_0x5e5730._0x456d95,0x2d0,0x236),'properties':{'questions':{'type':_0x475e49(0x5c2,0x3d0,0x50c,0x66b),'items':{'type':_0x4440fd(0x331,0x303,0x146,_0x5e5730._0x1737e6),'properties':{'question':{'type':'string'},'topic':{'type':_0x4440fd(0x2a5,0x2bf,0x3d0,0x32e)},'options':{'type':'array','items':{'type':'object','properties':{'label':{'type':'string'},'description':{'type':_0x475e49(_0x5e5730._0x2346f,0x630,_0x5e5730._0x99f153,0x443)}},'required':[_0x4440fd(0x303,0xe0,0xbb,_0x5e5730._0x1d8190),_0x475e49(_0x5e5730._0x5cc50c,_0x5e5730._0x102db1,0x37a,0x29f)]}},'multiSelect':{'type':'boolean'}},'required':[_0x4440fd(0x3da,0x377,_0x5e5730._0x1f2466,0x2e3),'topic','options','multiSelect']}},'answers':{'type':_0x475e49(0x3dc,0x53f,0x422,_0x5e5730._0x6eebd6),'properties':{}}},'required':[_0x475e49(0x46f,0x48f,_0x5e5730._0x1a0888,0x38a)]},async *'execute'(_0x557436,_0x19499c){const _0x5789a6={_0x44ea98:0x89,_0xd19f3d:0x1f0},_0x37ad49=_0x557436;validateInput(_0x37ad49);const _0x1d9d71=_0x19499c[_0x578bb6(0x4d9,0x410,_0x5a4a28._0x5d9832,0x46c)]??createQuestionId();if(_0x37ad49[_0x578bb6(_0x5a4a28._0x16ff93,0x6c8,0x634,0x7bf)]&&Object[_0xa41181(0x45d,_0x5a4a28._0x1a5c9e,0x437,0x397)](_0x37ad49[_0xa41181(0x5a2,0x4f2,0x415,0x594)])['length']>0x0)return createResult(_0x1d9d71,_0x37ad49['questions'][_0xa41181(0x395,0x47c,0x5a4,_0x5a4a28._0x3e315b)],_0x37ad49[_0x578bb6(_0x5a4a28._0x16ff93,0x7d9,_0x5a4a28._0x525262,0x579)]);if(!_0x19499c[_0x578bb6(0x608,0x4f3,_0x5a4a28._0x46efe3,_0x5a4a28._0x2dee61)])throw new ToolExecutionError(_0xa41181(_0x5a4a28._0x432078,0x31d,_0x5a4a28._0x305049,0x497));function _0x578bb6(_0x325564,_0x1ec1b3,_0x278f96,_0x1a6557){return _0x475e49(_0x325564-_0x5789a6._0x44ea98,_0x1ec1b3-_0x5789a6._0xd19f3d,_0x325564-0x223,_0x1a6557);}function _0xa41181(_0x2e21ba,_0x3166d7,_0x426920,_0x2876b2){return _0x475e49(_0x2e21ba-_0x33b50c._0x3f6425,_0x3166d7-_0x33b50c._0xed4ac2,_0x2876b2-_0x33b50c._0x45cee9,_0x2e21ba);}const _0x128df4=buildQuestions(_0x37ad49),_0x2625ac=await _0x19499c[_0x578bb6(0x608,_0x5a4a28._0x9b4dbe,0x74a,_0x5a4a28._0x18e611)]({'questionId':_0x1d9d71,'questions':_0x128df4});yield createResult(_0x1d9d71,_0x37ad49['questions']['length'],_0x2625ac);}});}import{randomUUID}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0x582171}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException(_0x222c7b){return _0x222c7b instanceof Error;}function resolveCarriageReturns(_0x3bd66c){const _0x338ef1={_0x1b33a7:0x596,_0x299e59:0x72d,_0x38254a:0x7ac,_0x3c2844:0x4bf,_0xa20b9f:0x2da,_0x3968a4:0x3bf,_0x2c628c:0x1ae},_0x4ded69={_0x1d9f13:0x1a2,_0x2a87c9:0x2f4,_0x15663f:0x3ee,_0x249bfc:0x4cf,_0x558ce9:0x3c0},_0x52c3a6={_0x1b2120:0x155};function _0x8fe913(_0x13a3b3,_0x47687e,_0x2cd35d,_0x483a1c){return _0x2cc51b(_0x483a1c,_0x47687e-0x1ba,_0x2cd35d-0x1f2,_0x13a3b3-_0x52c3a6._0x1b2120);}function _0x3e0938(_0xa8fddd,_0x1558cd,_0x1e6f5b,_0x2ec4fc){return _0x38eb01(_0x1558cd,_0xa8fddd-0x4b1,_0x1e6f5b-0x101,_0x2ec4fc-0x9b);}return _0x3bd66c[_0x8fe913(0x66e,_0x338ef1._0x1b33a7,_0x338ef1._0x299e59,_0x338ef1._0x38254a)]('\x0a')[_0x3e0938(0x45e,_0x338ef1._0x3c2844,0x52a,0x367)](_0x4aa379=>{const _0x560b7e={_0x408d3d:0x125,_0x649be6:0x168},_0xc3d24={_0x2ecb2f:0x41};if(!_0x4aa379[_0x51fb3a(0x1c6,0x1c8,_0x4ded69._0x1d9f13,_0x4ded69._0x2a87c9)]('\x0d'))return _0x4aa379;function _0x51fb3a(_0x276f04,_0x26c22d,_0x565816,_0x5db133){return _0x3e0938(_0x276f04- -0x84,_0x5db133,_0x565816-0x44,_0x5db133-_0xc3d24._0x2ecb2f);}function _0x68003a(_0x3bce29,_0x201bda,_0x203386,_0x1d70a2){return _0x8fe913(_0x3bce29- -_0x560b7e._0x408d3d,_0x201bda-0x19f,_0x203386-_0x560b7e._0x649be6,_0x1d70a2);}const _0x2481ea=_0x4aa379[_0x51fb3a(0x43a,_0x4ded69._0x15663f,0x37d,_0x4ded69._0x249bfc)]('\x0d');return _0x2481ea[_0x2481ea[_0x68003a(0x435,_0x4ded69._0x558ce9,0x2f8,0x428)]-0x1]??'';})[_0x3e0938(_0x338ef1._0xa20b9f,0x421,_0x338ef1._0x3968a4,_0x338ef1._0x2c628c)]('\x0a');}function resolveBackspaces(_0x5ab37d){const _0x2c451d={_0xe6ab78:0xab},_0x5936d0={_0x9cb2ed:0x14b},_0x5dfc7d=[];for(const _0x3e5114 of Array['from'](_0x5ab37d)){_0x3e5114==='\x08'?_0x5dfc7d['pop']():_0x5dfc7d['push'](_0x3e5114);}function _0x474344(_0x268ef6,_0x2b10b5,_0x4d762b,_0x48dc8a){return _0x38eb01(_0x4d762b,_0x48dc8a-0x282,_0x4d762b-_0x5936d0._0x9cb2ed,_0x48dc8a-0x141);}return _0x5dfc7d[_0x474344(0x19a,0xc2,0xf8,_0x2c451d._0xe6ab78)]('');}function stripAnsiAndControls(_0x290244){const _0x539867={_0x132aa1:0x1c2,_0x39c2ee:0xac,_0x51fa10:0x159,_0x346b47:0x211,_0x383bf6:0x3ea,_0x1dfa4a:0x313,_0x4d38e7:0x2db,_0x5b5526:0x71,_0xd232f7:0x2a6,_0x547f00:0x201,_0x2f8a63:0x157,_0x1c705d:0x111,_0xd37cc:0xbe,_0x34f062:0x70,_0x2f9602:0x372,_0x49824a:0x45d,_0x22aab1:0x27d},_0x435e92={_0x4a170f:0x89,_0x94e3a8:0x17c,_0x4b2c3b:0x567},_0x2210f4={_0xcdbb19:0xcb,_0x52d7bd:0x217};_0x290244=resolveCarriageReturns(_0x290244),_0x290244=resolveBackspaces(_0x290244);function _0x15ea5d(_0x96afd2,_0x1a3563,_0x33d104,_0x195cd2){return _0x2cc51b(_0x1a3563,_0x1a3563-_0x2210f4._0xcdbb19,_0x33d104-0xe9,_0x96afd2- -_0x2210f4._0x52d7bd);}_0x290244=stripVTControlCharacters(_0x290244);const _0x31cf6c='\x1b',_0x42d99b='\x07';_0x290244=_0x290244[_0x15ea5d(0x75,-0xf7,_0x539867._0x132aa1,_0x539867._0x39c2ee)](new RegExp(_0x218fe8(-0x176,-_0x539867._0x51fa10,-_0x539867._0x346b47,-0x1ae)+_0x42d99b+'\x5cn]*?'+_0x42d99b,'g'),''),_0x290244=_0x290244[_0x218fe8(-_0x539867._0x383bf6,-0x332,-_0x539867._0x1dfa4a,-_0x539867._0x4d38e7)](new RegExp(_0x218fe8(-_0x539867._0x5b5526,-_0x539867._0xd232f7,-_0x539867._0x547f00,-_0x539867._0x2f8a63)+_0x31cf6c+'\x5c\x5c','g'),''),_0x290244=_0x290244[_0x15ea5d(0x75,-_0x539867._0x1c705d,-0x9,-_0x539867._0xd37cc)](new RegExp(_0x42d99b,'g'),'');function _0x218fe8(_0x5e387f,_0x1861fe,_0x5a6803,_0x20d7b4){return _0x2cc51b(_0x1861fe,_0x1861fe-_0x435e92._0x4a170f,_0x5a6803-_0x435e92._0x94e3a8,_0x20d7b4- -_0x435e92._0x4b2c3b);}return _0x290244=_0x290244['replace'](new RegExp(_0x31cf6c+_0x218fe8(0xc7,-0xfa,-_0x539867._0x34f062,-0x3d)+_0x31cf6c+'\x5c\x5c','g'),''),_0x290244=_0x290244[_0x218fe8(-0x37e,-0x3e1,-0x454,-0x2db)](new RegExp(_0x31cf6c+_0x15ea5d(_0x539867._0x2f9602,_0x539867._0x49824a,0x27d,_0x539867._0x22aab1),'g'),''),_0x290244=_0x290244['replace'](/[\u0080-\u009F]/g,''),_0x290244=_0x290244['replace'](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x290244=_0x290244[_0x218fe8(-0x261,-0x1ec,-0x1b4,-0x2db)](/[\u23CE\u2424]/g,''),_0x290244;}function killProcessGroup(_0x116faa,_0x992907,_0x134531='SIGKILL'){const _0x48761b={_0x422d96:0x234,_0x6808bb:0x45,_0xf4d927:0x13c,_0x5916d6:0x109,_0x1c31d8:0x409,_0x3a8de2:0x45d,_0x2a1ebe:0x75,_0x3c4886:0x57e,_0x91cbed:0x48b,_0x4ed7af:0x2a5,_0x30bcc2:0x121},_0x3a49d7={_0x61ad0a:0x1e6,_0x54a483:0x1aa},_0x2dd54e={_0x48106d:0x1be};if(!_0x116faa['pid'])return;function _0x3bf782(_0x4bc126,_0x12a488,_0x231810,_0x343368){return _0x2cc51b(_0x231810,_0x12a488-0x152,_0x231810-0xd0,_0x343368-_0x2dd54e._0x48106d);}if(_0x992907)try{_0x582171(_0xea2688(_0x48761b._0x422d96,_0x48761b._0x6808bb,0x25c,0x11a),[_0xea2688(0x49,-_0x48761b._0xf4d927,-_0x48761b._0x5916d6,-0x40),_0x116faa[_0x3bf782(0x3d4,0x597,_0x48761b._0x1c31d8,_0x48761b._0x3a8de2)][_0xea2688(0x197,0xde,-0xbd,0x23)](),'/T','/F'],{'stdio':_0xea2688(-0x33,-0x6b,-0xe0,_0x48761b._0x2a1ebe)});return;}catch{_0x116faa[_0x3bf782(_0x48761b._0x3c4886,0x3be,0x524,_0x48761b._0x91cbed)](_0x134531);return;}function _0xea2688(_0x866ae1,_0x32dc11,_0x4c7011,_0x566b88){return _0x2cc51b(_0x4c7011,_0x32dc11-_0x3a49d7._0x61ad0a,_0x4c7011-_0x3a49d7._0x54a483,_0x566b88- -0x3ee);}try{process[_0xea2688(-0xcb,-_0x48761b._0x4ed7af,-0xf0,-_0x48761b._0x30bcc2)](-_0x116faa[_0x3bf782(0x50a,0x504,0x560,0x45d)],_0x134531);}catch{_0x116faa['kill'](_0x134531);}}var BackgroundProcessRegistry=class{[_0x2cc51b(0x457,0x486,0x25a,0x373)]=new Map();[_0x38eb01(-0x130,-0x27a,-0x278,-0x1a4)];[_0x38eb01(-0x6c,-0x6b,-0x28,0x118)];[_0x38eb01(-0x300,-0x17e,-0xac,-0x1ee)];['counter']=0x0;constructor(_0x31417f={}){const _0x21d263={_0x15c582:0x6b,_0x41a2c8:0x15c,_0x395618:0x47,_0x276e3f:0x71,_0xb89af1:0x99,_0x1627c5:0xcc},_0x511504={_0x386e5e:0x2c},_0x4a2cfd={_0x92dd23:0x45a};function _0x18288f(_0x15e6c5,_0x3ff7bc,_0xd0f762,_0x363dfe){return _0x2cc51b(_0x15e6c5,_0x3ff7bc-0x157,_0xd0f762-0x133,_0x3ff7bc- -_0x4a2cfd._0x92dd23);}this[_0x355d65(-0x2e,0x1a7,0xd4,_0x21d263._0x15c582)]=_0x31417f['maxConcurrent']??0xa;function _0x355d65(_0x1fddbc,_0x3ea70d,_0x3879d8,_0x346364){return _0x38eb01(_0x3879d8,_0x346364-0x2e5,_0x3879d8-0x1a4,_0x346364-_0x511504._0x386e5e);}this[_0x18288f(_0x21d263._0x41a2c8,_0x21d263._0x395618,-_0x21d263._0x276e3f,0xe2)]=_0x31417f[_0x18288f(-0x15,_0x21d263._0x395618,-_0x21d263._0xb89af1,-0x129)]??0x40,this['capChars']=_0x31417f[_0x18288f(-0x28,-_0x21d263._0x1627c5,-0x4,0x5e)]??0x100000;}[_0x2cc51b(0x598,0x60f,0x532,0x55b)](_0x5e97ee){const _0x2916c0={_0x5a6b3d:0x2a4,_0x2a032e:0x6a1,_0x1114c2:0x33b,_0x419b67:0x44d,_0x2d813e:0x60e,_0x1f0f65:0x2d1,_0x1e24f7:0x408,_0x581edc:0x382,_0x1725b5:0x579,_0x1c7d31:0x4a2,_0x54565d:0x57c,_0x5d5ec0:0x3e5,_0x317484:0x4f6,_0x55b251:0x495,_0x58dbca:0x35f,_0x25f6f5:0x40a,_0xe315ca:0x419,_0x1b106f:0x52a,_0x4bd94a:0x459,_0x208b9c:0x352,_0x528451:0x324,_0x15ae8a:0x54f,_0x30cc52:0x47b,_0x29e5ad:0x3a5,_0x263e9a:0x2d1,_0x5038e8:0x67b,_0x2b53d9:0x757,_0x26dc36:0x5bb,_0x527a52:0x484,_0x53224e:0x258,_0x288bab:0x45e,_0x210106:0x252,_0x5ecf2d:0x47d,_0x9c270:0x4bc,_0x26ddbd:0x519,_0x4b79d4:0x574,_0x283ac6:0x496,_0x53a46b:0x475,_0x2ef34a:0x397,_0x4976f8:0x466,_0x454909:0x41a,_0x20a7e4:0x6c6,_0x254cab:0x653,_0x3015ca:0x4b7,_0x21352e:0x3f2,_0x104a7d:0x3ec,_0x26eba7:0x512,_0x14a82d:0x54d,_0x148c7e:0x33f,_0x4eb632:0x364,_0x494a57:0x428,_0x4808c1:0x51d,_0x16f6d1:0x463,_0x4c5293:0x674,_0xe6cf93:0x4b1},_0xcf741a={_0x1e8388:0x3d,_0x5080c6:0xe3,_0x562e9f:0x78,_0x21b516:0x18,_0x1903e4:0x166,_0x4c4a1e:0x157,_0x317823:0x35,_0x26c414:0x8b,_0xc72007:0x15e,_0xa6cbdd:0x32a,_0x126889:0x302},_0x31cb00={_0x3fc259:0xef,_0x1061f9:0xdc},_0x12cca5={_0x55ba2f:0x190,_0x5d10b0:0xcf},_0x4a38dc={_0x223c5c:0x5fc},_0x392446={_0x1e1ec6:0x18,_0x9232b8:0x57b,_0x3a40f4:0x604,_0x1c55e2:0x61f,_0xad78f8:0x637,_0x238d7b:0x52f,_0x3c1b13:0x73e,_0x49a056:0x453,_0x10fc64:0x574,_0x5546e4:0xbe,_0x294749:0x21,_0x1d9c3a:0x627,_0x5306be:0x767,_0x125e1f:0x3ff,_0x382be0:0x31a},_0x5be578={_0x289d26:0x3f,_0x177d5c:0x11f,_0x39cc56:0x101},_0x1b0900=[...this[_0x431ac8(0x1f0,0x30b,_0x2916c0._0x5a6b3d,0x2fe)][_0x42f89f(_0x2916c0._0x2a032e,0x540,0x466,0x40e)]()][_0x431ac8(0x388,0x47a,0x41f,_0x2916c0._0x1114c2)](_0x29a1cd=>_0x29a1cd[_0x431ac8(0x1e5,0x276,0x34c,0x2e7)]===_0x431ac8(0x223,0x224,0x2bc,0x30f))[_0x42f89f(_0x2916c0._0x419b67,0x4f5,0x559,_0x2916c0._0x2d813e)];if(_0x1b0900>=this[_0x42f89f(0x3d6,0x382,0x37b,_0x2916c0._0x1f0f65)])throw new ToolExecutionError('Too\x20many\x20background\x20processes\x20running\x20('+this[_0x42f89f(_0x2916c0._0x1e24f7,_0x2916c0._0x581edc,0x282,0x388)]+_0x42f89f(_0x2916c0._0x1725b5,_0x2916c0._0x1c7d31,_0x2916c0._0x54565d,0x61b),{'running':this[_0x42f89f(_0x2916c0._0x5d5ec0,0x382,_0x2916c0._0x317484,_0x2916c0._0x55b251)]});const _0x40d73f=_0x431ac8(_0x2916c0._0x58dbca,0x46a,0x49a,_0x2916c0._0x25f6f5)+ ++this[_0x42f89f(0x495,_0x2916c0._0xe315ca,_0x2916c0._0x1b106f,0x420)]+'-'+randomUUID()['slice'](0x0,0x8),_0x3b436c={'shellId':_0x40d73f,'command':_0x5e97ee['command'],'cwd':_0x5e97ee[_0x431ac8(0x4c4,0x24b,0x399,_0x2916c0._0x4bd94a)],'pid':_0x5e97ee['child'][_0x431ac8(0x24c,_0x2916c0._0x208b9c,0x1d0,_0x2916c0._0x528451)],'status':_0x42f89f(_0x2916c0._0x15ae8a,_0x2916c0._0x30cc52,0x569,_0x2916c0._0x29e5ad),'exitCode':null,'signal':null,'startedAt':Date[_0x42f89f(0x4d9,0x3f0,_0x2916c0._0x263e9a,0x3ff)](),'child':_0x5e97ee[_0x42f89f(0x4f2,_0x2916c0._0x5038e8,_0x2916c0._0x2b53d9,_0x2916c0._0x26dc36)],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder('utf8'),'stderrDecoder':new StringDecoder(_0x431ac8(_0x2916c0._0x527a52,_0x2916c0._0x53224e,0x31a,0x378)),'stripAnsi':_0x5e97ee[_0x431ac8(_0x2916c0._0x288bab,0x2ee,0x30b,_0x2916c0._0x210106)],'killRequested':![],'processExited':![]};_0x5e97ee[_0x431ac8(0x549,_0x2916c0._0x5ecf2d,_0x2916c0._0x9c270,0x622)][_0x42f89f(_0x2916c0._0x26ddbd,0x496,0x3db,_0x2916c0._0x4b79d4)]?.['on'](_0x431ac8(_0x2916c0._0x283ac6,_0x2916c0._0x53a46b,_0x2916c0._0x2ef34a,_0x2916c0._0x4976f8),_0x2c2fea=>this[_0x42f89f(0x673,0x62b,0x61d,0x6ad)](_0x3b436c,_0x3b436c['stdoutDecoder'][_0x42f89f(0x581,0x654,0x693,0x58e)](_0x2c2fea))),_0x5e97ee[_0x431ac8(0x399,_0x2916c0._0x454909,_0x2916c0._0x9c270,0x40a)]['stderr']?.['on'](_0x42f89f(_0x2916c0._0x20a7e4,0x556,0x653,_0x2916c0._0x254cab),_0x5cf244=>this[_0x431ac8(0x5af,0x3fb,0x46c,0x5da)](_0x3b436c,_0x3b436c[_0x431ac8(0x324,0x4c7,0x481,0x594)][_0x431ac8(0x51c,0x5db,0x495,0x614)](_0x5cf244))),_0x5e97ee['child'][_0x431ac8(_0x2916c0._0x3015ca,_0x2916c0._0x21352e,0x42d,_0x2916c0._0x104a7d)]('exit',()=>{_0x3b436c['processExited']=!![];}),_0x5e97ee[_0x431ac8(_0x2916c0._0x26eba7,0x339,0x4bc,0x42c)][_0x431ac8(0x321,_0x2916c0._0x14a82d,0x42d,0x3f0)]('close',(_0x3a71c6,_0x5e1b8c)=>{const _0x2d5ea1={_0x27e8a2:0x5fe,_0x3e2feb:0xf9,_0x180771:0x99};this[_0x1b3649(-_0x392446._0x1e1ec6,0x48,-0xbe,0x2d)](_0x3b436c,_0x3b436c[_0x121410(0x507,0x55b,0x52d,0x57b)]['end']()),this[_0x121410(_0x392446._0x9232b8,_0x392446._0x3a40f4,0x66a,_0x392446._0x1c55e2)](_0x3b436c,_0x3b436c[_0x121410(_0x392446._0xad78f8,_0x392446._0x238d7b,0x67f,_0x392446._0x3c1b13)]['end']());function _0x121410(_0xde552e,_0x2fb8e7,_0x45c8d0,_0x46221b){return _0x42f89f(_0x2fb8e7,_0x45c8d0-_0x5be578._0x289d26,_0x45c8d0-_0x5be578._0x177d5c,_0x46221b-_0x5be578._0x39cc56);}_0x3b436c[_0x121410(_0x392446._0x49a056,0x4f1,0x54a,_0x392446._0x10fc64)]=_0x3b436c[_0x1b3649(_0x392446._0x5546e4,-0x123,-_0x392446._0x294749,0x49)]?'killed':_0x121410(0x398,0x57c,0x48d,0x487),_0x3b436c[_0x121410(0x65c,_0x392446._0x1d9c3a,0x5e5,_0x392446._0x5306be)]=_0x3a71c6;function _0x1b3649(_0x2504f3,_0xce731e,_0x23dccb,_0x218a86){return _0x42f89f(_0x23dccb,_0x218a86- -_0x2d5ea1._0x27e8a2,_0x23dccb-_0x2d5ea1._0x3e2feb,_0x218a86-_0x2d5ea1._0x180771);}_0x3b436c[_0x121410(_0x392446._0x125e1f,_0x392446._0x382be0,0x491,0x405)]=_0x5e1b8c,_0x3b436c['child']=null;});function _0x42f89f(_0x4a485b,_0x4c3ed1,_0x441700,_0x3aaea3){return _0x38eb01(_0x4a485b,_0x4c3ed1-_0x4a38dc._0x223c5c,_0x441700-0x14c,_0x3aaea3-0x28);}function _0x431ac8(_0xcabc0a,_0x281977,_0x1898b8,_0x30b54b){return _0x2cc51b(_0x30b54b,_0x281977-_0x12cca5._0x55ba2f,_0x1898b8-0x14c,_0x1898b8- -_0x12cca5._0x5d10b0);}return _0x5e97ee[_0x431ac8(0x5bc,_0x2916c0._0x148c7e,0x4bc,0x34b)]['once'](_0x42f89f(_0x2916c0._0x4eb632,_0x2916c0._0x494a57,_0x2916c0._0x4808c1,0x328),_0x4d73de=>{const _0x5862d2={_0x12d67f:0x1f0};function _0x26b9b9(_0x5917e3,_0xf1dcd1,_0x3afa32,_0x35d32f){return _0x42f89f(_0x3afa32,_0xf1dcd1- -0x2ea,_0x3afa32-_0x31cb00._0x3fc259,_0x35d32f-_0x31cb00._0x1061f9);}_0x3b436c[_0x459034(-_0xcf741a._0x1e8388,_0xcf741a._0x5080c6,_0xcf741a._0x562e9f,0xfb)]=_0x459034(-_0xcf741a._0x21b516,0x13c,_0xcf741a._0x1903e4,0x18);function _0x459034(_0x11f00d,_0x36a77f,_0x1cb4d3,_0x43addc){return _0x431ac8(_0x11f00d-0x23,_0x36a77f-_0x5862d2._0x12d67f,_0x43addc- -0x251,_0x36a77f);}_0x3b436c[_0x459034(-_0xcf741a._0x4c4a1e,-0x172,-_0xcf741a._0x317823,0x18)]=_0x4d73de[_0x459034(0x15f,_0xcf741a._0x26c414,0x2bc,_0xcf741a._0xc72007)],_0x3b436c[_0x459034(_0xcf741a._0xa6cbdd,0x137,_0xcf741a._0x126889,0x26b)]=null;}),this[_0x42f89f(0x547,_0x2916c0._0x16f6d1,0x491,0x483)][_0x42f89f(0x517,0x554,_0x2916c0._0x4c5293,0x481)](_0x40d73f,_0x3b436c),this[_0x42f89f(0x58b,0x5e2,_0x2916c0._0xe6cf93,0x6fc)](),_0x3b436c;}[_0x2cc51b(0x406,0x38f,0x3f4,0x425)](_0x98ae0b,_0x4141c2){const _0x47f5d1={_0x2d7cd3:0x142,_0x293064:0x1ba,_0x253796:0x2d0,_0x34d25e:0x266,_0x2270e5:0x25b,_0xb3e61c:0xa0,_0x364c2e:0x1ab,_0x4321fd:0x1b,_0x28b6d8:0x138,_0x26086a:0x10e,_0x4a4563:0x103,_0x4a2c2f:0x5f,_0x376a09:0xe8,_0x259198:0x11d,_0x5a1765:0x1a4,_0x44846b:0xc8,_0xbdbf36:0x41,_0x3e91cd:0xaa,_0x42859b:0x48,_0xbc2d71:0xcf,_0x46db3c:0x18b,_0x49eb82:0xe5,_0x599a8d:0x245,_0x4bfedd:0xf3,_0x89f2bd:0x8e,_0x564515:0x27c,_0x472861:0x183,_0x3730a8:0x1de,_0x1beb7d:0x125,_0x50d49f:0x126,_0x4d283f:0x1ff,_0xe5f613:0x1c1,_0x533312:0x33a,_0x23f1bb:0x135,_0x46fc98:0x200,_0x3a8247:0x2f2,_0x2c7ea3:0x2b4,_0x384039:0x394,_0x593106:0x86,_0x2e31bd:0x20,_0x374f76:0xfa,_0x21b97e:0x96,_0x412d8e:0x1bd,_0x933038:0x1a0,_0x24a7c2:0x2ca,_0x5ba768:0x3e0,_0x3007d4:0x325,_0x3bb782:0x249,_0x3eb329:0x243,_0x2cabb9:0xae,_0x4e94a4:0x15b,_0x2f2f1d:0x200,_0x417708:0x293,_0x59fb82:0xa5,_0x1af841:0xc},_0x3ccd13={_0x12114c:0x9a},_0x1c92a2={_0xaf026f:0x24f,_0x241c1e:0x57,_0x470b58:0x8f},_0x5df83c=this[_0x17d5b9(0xb6,0x100,0x40,0xdd)][_0x45e37a(0x7,-_0x47f5d1._0x2d7cd3,-_0x47f5d1._0x293064,-0x1e6)](_0x98ae0b);if(!_0x5df83c)throw new ToolExecutionError(_0x17d5b9(_0x47f5d1._0x253796,_0x47f5d1._0x34d25e,0x448,_0x47f5d1._0x2270e5)+_0x98ae0b,{'shellId':_0x98ae0b});const _0x55f397=_0x5df83c['buffer'][_0x45e37a(-0x302,-0x1d9,-_0x47f5d1._0xb3e61c,-_0x47f5d1._0x364c2e)](''),_0x5fb157=Math[_0x45e37a(-0x18e,-_0x47f5d1._0x4321fd,-0x162,-_0x47f5d1._0x28b6d8)](_0x5df83c[_0x45e37a(0x3e,-0x41,-_0x47f5d1._0x26086a,0x41)],_0x5df83c[_0x45e37a(_0x47f5d1._0x4a4563,_0x47f5d1._0x4a2c2f,-_0x47f5d1._0x376a09,_0x47f5d1._0x259198)]),_0x1e500b=Math['max'](0x0,_0x5df83c[_0x17d5b9(0x2b0,_0x47f5d1._0x5a1765,0x3a9,0x14b)]-_0x5df83c[_0x45e37a(-_0x47f5d1._0x44846b,-_0x47f5d1._0xbdbf36,-_0x47f5d1._0x3e91cd,-_0x47f5d1._0x42859b)]),_0x1ec828=_0x55f397[_0x45e37a(-_0x47f5d1._0xbc2d71,0x63,_0x47f5d1._0x46db3c,0xc6)](_0x5fb157-_0x5df83c[_0x45e37a(0x165,_0x47f5d1._0x4a2c2f,_0x47f5d1._0x49eb82,-0xf)]),_0x15c10f=_0x5df83c[_0x45e37a(-_0x47f5d1._0x599a8d,-_0x47f5d1._0x4bfedd,-0x12d,-_0x47f5d1._0x89f2bd)]!==_0x45e37a(-_0x47f5d1._0x564515,-_0x47f5d1._0x472861,-_0x47f5d1._0x3730a8,-_0x47f5d1._0x5a1765);let _0x25cac8;const _0x14a83c=_0x4141c2?.[_0x17d5b9(-0x1f,0x6a,_0x47f5d1._0x1beb7d,_0x47f5d1._0x50d49f)];function _0x17d5b9(_0x1bcc68,_0x2e01fe,_0x4271b8,_0x4564c9){return _0x38eb01(_0x4564c9,_0x1bcc68-_0x1c92a2._0xaf026f,_0x4271b8-_0x1c92a2._0x241c1e,_0x4564c9-_0x1c92a2._0x470b58);}if(!_0x14a83c)_0x25cac8=_0x1ec828,_0x5df83c['readCursor']=_0x5df83c[_0x17d5b9(_0x47f5d1._0x49eb82,0xf3,_0x47f5d1._0x4d283f,0xfa)];else{let _0x303efa;try{_0x303efa=new RegExp(_0x14a83c);}catch(_0x309f92){throw new ToolExecutionError('Invalid\x20regex:\x20'+_0x309f92[_0x17d5b9(_0x47f5d1._0xe5f613,0x1c0,_0x47f5d1._0x533312,_0x47f5d1._0x23f1bb)],{'shellId':_0x98ae0b,'regex':_0x14a83c});}let _0x13245f=_0x1ec828;if(!_0x15c10f){const _0x37f100=_0x1ec828[_0x17d5b9(_0x47f5d1._0x46fc98,0xea,0x207,_0x47f5d1._0x3a8247)]('\x0a');_0x13245f=_0x37f100>=0x0?_0x1ec828[_0x17d5b9(_0x47f5d1._0x2c7ea3,0x1df,0x12c,_0x47f5d1._0x384039)](0x0,_0x37f100+0x1):'';}_0x25cac8=_0x13245f['split']('\x0a')[_0x45e37a(-_0x47f5d1._0x593106,-_0x47f5d1._0x2e31bd,-0x139,-_0x47f5d1._0x374f76)](_0x595955=>_0x303efa[_0x45e37a(-0x229,-0x150,-0xd4,-0x25b)](_0x595955))[_0x17d5b9(0x78,-_0x47f5d1._0x21b97e,_0x47f5d1._0x412d8e,0x117)]('\x0a'),_0x5df83c['readCursor']=_0x5fb157+_0x13245f[_0x17d5b9(0x148,-0xe,_0x47f5d1._0x933038,_0x47f5d1._0x24a7c2)];}const _0x3c9dd5=(_0x1e500b>0x0?_0x17d5b9(_0x47f5d1._0x564515,_0x47f5d1._0x5ba768,0x3c1,_0x47f5d1._0x3007d4)+_0x1e500b+_0x45e37a(-_0x47f5d1._0x3bb782,-0x153,-0xd8,-0x28a):'')+_0x25cac8;function _0x45e37a(_0x8d751c,_0x28d732,_0x1089e2,_0x5cb7dc){return _0x2cc51b(_0x5cb7dc,_0x28d732-0x166,_0x1089e2-_0x3ccd13._0x12114c,_0x28d732- -0x50e);}return{'output':_0x3c9dd5,'status':_0x5df83c[_0x17d5b9(0x15e,_0x47f5d1._0x3eb329,_0x47f5d1._0x2cabb9,_0x47f5d1._0x4e94a4)],'exitCode':_0x5df83c[_0x17d5b9(0x1f9,0x371,_0x47f5d1._0x2f2f1d,_0x47f5d1._0x417708)],'signal':_0x5df83c[_0x17d5b9(_0x47f5d1._0x59fb82,0x1b0,0x1a7,_0x47f5d1._0x1af841)],'truncated':_0x1e500b>0x0};}[_0x2cc51b(0x3f8,0x3f7,0x662,0x535)](){const _0x16b3a1={_0x4c4c45:0x14b};function _0x4361a1(_0x4b6f6f,_0x440903,_0x2824e7,_0x12bd61){return _0x2cc51b(_0x440903,_0x440903-0xa4,_0x2824e7-0x1d2,_0x12bd61- -0x226);}return[...this[_0x4361a1(_0x16b3a1._0x4c4c45,0x18,0x109,0x14d)]['values']()];}['kill'](_0x6a8460){const _0x5d7e34={_0x1d540b:0xfd,_0x586d90:0x274,_0x2c0cea:0x396,_0xab79a3:0x38c,_0x1e6093:0x325,_0x13917d:0x1c9,_0x4acfaf:0x270,_0x1025e1:0x261,_0x2827e3:0x296,_0x28b040:0x413,_0x20abb8:0x344,_0xc6a7d4:0x2dd,_0x467814:0x45d,_0xaed9e4:0x4ce,_0x4508a1:0x30f,_0x1f3b58:0x3c0,_0x5c81a5:0xfe,_0x4c1c5b:0x150,_0x56d21b:0x3b5},_0x148e35={_0xbd3909:0x10b},_0x27eb12={_0x485f4a:0x11a};function _0x362007(_0x294d06,_0x97bede,_0x293a0b,_0x20a323){return _0x38eb01(_0x293a0b,_0x20a323-0x416,_0x293a0b-_0x27eb12._0x485f4a,_0x20a323-0x72);}const _0x5df157=this['entries']['get'](_0x6a8460);if(!_0x5df157)throw new ToolExecutionError(_0x126575(_0x5d7e34._0x1d540b,_0x5d7e34._0x586d90,_0x5d7e34._0x2c0cea,0x375)+_0x6a8460,{'shellId':_0x6a8460});if(_0x5df157[_0x362007(0x26e,_0x5d7e34._0xab79a3,0x1a5,_0x5d7e34._0x1e6093)]==='running'&&_0x5df157['child']&&!_0x5df157[_0x362007(_0x5d7e34._0x13917d,_0x5d7e34._0x4acfaf,0x1c9,_0x5d7e34._0x1025e1)]){_0x5df157['killRequested']=!![];try{killProcessGroup(_0x5df157[_0x126575(0x37f,0x272,_0x5d7e34._0x2827e3,0x395)],process[_0x362007(0x233,_0x5d7e34._0x28b040,0x2f0,_0x5d7e34._0x20abb8)]===_0x362007(_0x5d7e34._0xc6a7d4,0x51b,0x303,0x3a7));}catch{}}function _0x126575(_0x1c6b09,_0x504589,_0x2b8220,_0x3d5349){return _0x2cc51b(_0x3d5349,_0x504589-0xc8,_0x2b8220-_0x148e35._0xbd3909,_0x504589- -0x319);}return{'status':_0x5df157[_0x126575(0x235,0x102,0x13a,-0x40)],'exitCode':_0x5df157[_0x362007(_0x5d7e34._0x467814,_0x5d7e34._0xaed9e4,_0x5d7e34._0x4508a1,_0x5d7e34._0x1f3b58)],'signal':_0x5df157[_0x362007(_0x5d7e34._0x5c81a5,_0x5d7e34._0x4c1c5b,_0x5d7e34._0x56d21b,0x26c)]};}async[_0x2cc51b(0x473,0x309,0x50f,0x43e)](){const _0x16f9d4={_0x4ac172:0x517,_0x19503a:0x5cc,_0x1fe996:0x507,_0x8d92d2:0x56b,_0x4e85ba:0x126,_0x527cb1:0x19e,_0x4a2e7b:0x57,_0x1bf632:0x73d,_0x54f118:0x5bb,_0x76afdf:0x61,_0x192eea:0xc2,_0x49e77c:0xc5,_0x488920:0x261,_0x19e119:0x132,_0x189092:0x1e1,_0x4a6443:0x5de,_0x51d63e:0x5e1,_0x3d10fc:0x746,_0x2ec02c:0x4d2,_0x35e921:0x641,_0x3c87e6:0x66e,_0x80e016:0x6b8,_0x15e943:0x5e6},_0x42916f={_0x4b78ec:0x1e2,_0x53e61d:0x94},_0x4497bf={_0x1646d8:0x6b0,_0x2c9224:0xf2};function _0x2b5338(_0x2a7f4f,_0x438f51,_0x2e0842,_0x535b50){return _0x38eb01(_0x535b50,_0x2a7f4f-_0x4497bf._0x1646d8,_0x2e0842-_0x4497bf._0x2c9224,_0x535b50-0x13b);}function _0x8c014c(_0x1eeac9,_0x2c4cd6,_0x57c58d,_0x1c3f23){return _0x38eb01(_0x57c58d,_0x1eeac9-_0x42916f._0x4b78ec,_0x57c58d-_0x42916f._0x53e61d,_0x1c3f23-0xf3);}for(const _0x1b339b of this[_0x2b5338(_0x16f9d4._0x4ac172,_0x16f9d4._0x19503a,_0x16f9d4._0x1fe996,_0x16f9d4._0x8d92d2)][_0x8c014c(_0x16f9d4._0x4e85ba,0x0,_0x16f9d4._0x527cb1,-_0x16f9d4._0x4a2e7b)]()){if(_0x1b339b[_0x2b5338(0x5bf,_0x16f9d4._0x1bf632,0x451,_0x16f9d4._0x54f118)]===_0x8c014c(_0x16f9d4._0x76afdf,-0xf1,-_0x16f9d4._0x192eea,-_0x16f9d4._0x49e77c)&&_0x1b339b['child']&&!_0x1b339b[_0x8c014c(0x2d,0x46,0x1b3,0x13c)]){_0x1b339b['killRequested']=!![];try{killProcessGroup(_0x1b339b[_0x8c014c(_0x16f9d4._0x488920,_0x16f9d4._0x19e119,_0x16f9d4._0x189092,0x311)],process[_0x2b5338(_0x16f9d4._0x4a6443,_0x16f9d4._0x51d63e,_0x16f9d4._0x3d10fc,_0x16f9d4._0x2ec02c)]===_0x2b5338(_0x16f9d4._0x35e921,_0x16f9d4._0x3c87e6,_0x16f9d4._0x80e016,_0x16f9d4._0x15e943));}catch{}}}}['append'](_0xbdc600,_0x2c75b8){const _0x3f0121={_0x357459:0x15b,_0x388375:0x2d,_0x3753f:0x10a,_0x4f83bc:0x73,_0x3e9197:0x291,_0x1fb91b:0x72,_0x50295b:0x293,_0x44fadf:0x22f,_0x298e00:0x2c8,_0x5168f:0x356,_0x28bf88:0x2d,_0x3cfff2:0x135,_0x4b3805:0x9a,_0x43a624:0x10d,_0xec27b1:0x112,_0x4a95b1:0x104,_0x5acacb:0x4b5,_0x49af2e:0x1c8,_0x588d23:0x1c3,_0xe64458:0x3d4,_0x4dae68:0x56,_0x38ec75:0x15e,_0x77105d:0x212,_0x40b634:0x3e2,_0x365f98:0x181,_0x17b91c:0x2ae,_0x13decd:0x2db,_0x2bdf71:0x33b,_0x4a2202:0x2a8,_0x220038:0xc1,_0xdb12fd:0x1c1,_0x515dc5:0x56a,_0x117c8d:0x427,_0x2da4c2:0x479,_0x567daa:0x10a,_0x49a21d:0x199,_0x1bc938:0x279},_0x39ebec={_0x4ecb56:0xff},_0x13eb0b={_0x1baaac:0x16d,_0x17d1e6:0x3d8},_0x481806=_0xbdc600['stripAnsi']?stripAnsiAndControls(_0x2c75b8):_0x2c75b8;function _0x4157cd(_0x42f057,_0x160ba0,_0x2d32fe,_0x49a9eb){return _0x2cc51b(_0x2d32fe,_0x160ba0-0x8f,_0x2d32fe-_0x13eb0b._0x1baaac,_0x160ba0- -_0x13eb0b._0x17d1e6);}if(_0x481806[_0x4157cd(-_0x3f0121._0x357459,_0x3f0121._0x388375,-_0x3f0121._0x3753f,-_0x3f0121._0x4f83bc)]===0x0)return;_0xbdc600[_0x3351ed(_0x3f0121._0x3e9197,_0x3f0121._0x1fb91b,_0x3f0121._0x50295b,0x1c1)][_0x3351ed(_0x3f0121._0x44fadf,_0x3f0121._0x298e00,0x440,_0x3f0121._0x5168f)](_0x481806),_0xbdc600['bufferChars']+=_0x481806[_0x4157cd(-0x56,_0x3f0121._0x28bf88,-_0x3f0121._0x3cfff2,-_0x3f0121._0x4b3805)];function _0x3351ed(_0x32e3d9,_0x3f56e5,_0x4a674d,_0x347bc5){return _0x38eb01(_0x3f56e5,_0x347bc5-0x3fd,_0x4a674d-_0x39ebec._0x4ecb56,_0x347bc5-0x59);}_0xbdc600[_0x3351ed(_0x3f0121._0x43a624,_0x3f0121._0xec27b1,0x133,0x293)]+=_0x481806[_0x4157cd(-0x65,0x2d,-_0x3f0121._0x4a95b1,-0xa6)];while(_0xbdc600[_0x3351ed(0x5a6,_0x3f0121._0x5acacb,0x4c0,0x427)]>this[_0x3351ed(_0x3f0121._0x49af2e,_0x3f0121._0x588d23,_0x3f0121._0xe64458,0x27f)]){const _0x291f3a=_0xbdc600[_0x4157cd(_0x3f0121._0x4dae68,_0x3f0121._0x38ec75,_0x3f0121._0x77105d,0x58)]-this[_0x3351ed(_0x3f0121._0x40b634,0x107,0x316,0x27f)],_0x2b665c=_0xbdc600['buffer'][0x0];_0x2b665c[_0x3351ed(_0x3f0121._0x365f98,_0x3f0121._0x17b91c,_0x3f0121._0x13decd,0x2f6)]<=_0x291f3a?(_0xbdc600[_0x3351ed(_0x3f0121._0x2bdf71,_0x3f0121._0x4a2202,_0x3f0121._0x220038,_0x3f0121._0xdb12fd)]['shift'](),_0xbdc600[_0x3351ed(_0x3f0121._0x515dc5,0x341,0x4df,_0x3f0121._0x117c8d)]-=_0x2b665c['length'],_0xbdc600[_0x3351ed(0x586,0x409,_0x3f0121._0x2da4c2,0x45e)]+=_0x2b665c['length']):(_0xbdc600[_0x3351ed(0xd5,0x34a,_0x3f0121._0x567daa,_0x3f0121._0xdb12fd)][0x0]=_0x2b665c[_0x4157cd(0x300,_0x3f0121._0x49a21d,_0x3f0121._0x1bc938,0x264)](_0x291f3a),_0xbdc600['bufferChars']-=_0x291f3a,_0xbdc600['totalDropped']+=_0x291f3a);}}['evictIfNeeded'](){const _0x217e52={_0x3cb49e:0x21f,_0x45d724:0x33e,_0x49d6af:0xd9,_0x428d18:0x34,_0x31b28f:0x14c,_0x1b9937:0x15a,_0xa6ade9:0x1ca,_0x55c791:0x221,_0x591392:0x281,_0x4dda26:0x20f,_0x57c666:0x1ad,_0x561492:0x15,_0x1b8299:0x1e,_0x6362dd:0x3e,_0x5dc970:0xe7,_0x29fd15:0x1ee},_0x17ec4c={_0x44006b:0x86,_0x9eac81:0x94},_0x5bb3a2={_0x527583:0x1b7,_0x3faa86:0x10a,_0x157c44:0x1b8};function _0x1a33a6(_0x1b47b8,_0x2797e3,_0x50a9fc,_0x4bd716){return _0x38eb01(_0x2797e3,_0x1b47b8-_0x5bb3a2._0x527583,_0x50a9fc-_0x5bb3a2._0x3faa86,_0x4bd716-_0x5bb3a2._0x157c44);}if(this[_0x1daf89(-_0x217e52._0x3cb49e,-0x23c,-_0x217e52._0x45d724,-0x15f)][_0x1a33a6(_0x217e52._0x49d6af,0x5e,-0x5b,-_0x217e52._0x428d18)]<=this[_0x1a33a6(_0x217e52._0x31b28f,_0x217e52._0x1b9937,_0x217e52._0xa6ade9,_0x217e52._0x55c791)])return;function _0x1daf89(_0x1be847,_0x498821,_0x3980da,_0x264546){return _0x38eb01(_0x498821,_0x1be847- -_0x17ec4c._0x44006b,_0x3980da-0x4e,_0x264546-_0x17ec4c._0x9eac81);}for(const [_0x424d3a,_0x3116c7]of this[_0x1daf89(-0x21f,-0x22d,-_0x217e52._0x591392,-_0x217e52._0x4dda26)]){if(_0x3116c7[_0x1daf89(-0x177,-0x3a,-0xa9,-_0x217e52._0x57c666)]!==_0x1a33a6(0x36,0xb0,0xe6,-_0x217e52._0x561492)){this[_0x1a33a6(_0x217e52._0x1b8299,_0x217e52._0x6362dd,0x157,-0x30)][_0x1daf89(-_0x217e52._0x5dc970,-0x5c,-0x193,-_0x217e52._0x29fd15)](_0x424d3a);return;}}}};function createBashOutputTool(_0x1a2f70){const _0x1c7c7a={_0x5d539d:0xfb,_0x509740:0x1e4,_0xa15a3d:0x2f4},_0x392b82={_0x1f153a:0x597,_0x2f72fc:0x50a,_0x140b08:0x60a,_0x22c468:0x527,_0x68d9ae:0xb0,_0x4104b6:0x36,_0x1b4dc7:0x7fa,_0x3456df:0x6df,_0x5bf971:0x385,_0x3c961d:0x5b9,_0xe1fcec:0x786,_0x976743:0x731,_0x6bc472:0x61d,_0x55971d:0x564,_0x180999:0x4b4,_0x319fb0:0x53e},_0x11e633={_0xbba3a1:0x4e2,_0x28d613:0x1c8,_0x13fc7c:0x55},_0x521de8={_0x2f5561:0x53},_0x42660e={_0x482712:0x2e};function _0x5cc7c1(_0x543543,_0x36b8f3,_0x740e5a,_0x43693e){return _0x2cc51b(_0x43693e,_0x36b8f3-_0x42660e._0x482712,_0x740e5a-0x142,_0x543543- -0x2e0);}const {registry:_0x254bdd}=_0x1a2f70;function _0x58d5cd(_0x2727a7,_0x26ed80,_0x4fcf47,_0x47bb9e){return _0x2cc51b(_0x26ed80,_0x26ed80-0x1d0,_0x4fcf47-_0x521de8._0x2f5561,_0x2727a7-0x34);}return defineTool({'name':_0x5cc7c1(_0x1c7c7a._0x5d539d,0x1c,0x9a,_0x1c7c7a._0x509740),'permissionClass':'always-confirm','description':_0x58d5cd(0x44c,0x352,0x529,0x4af),'inputSchema':{'type':'object','properties':{'shellId':{'type':_0x58d5cd(0x5a4,0x6d6,0x6b0,0x4a5)},'regex':{'type':_0x58d5cd(0x5a4,0x6fd,0x505,0x72b)}},'required':[_0x58d5cd(_0x1c7c7a._0xa15a3d,0x426,0x463,0x33f)]},async *'execute'(_0x32ef62){const _0x40e0c5={_0x422ef3:0x1bd};function _0x5d5e5f(_0x4f1fd6,_0x2a8faf,_0x2b9b37,_0x5d2392){return _0x5cc7c1(_0x2a8faf- -0x6e,_0x2a8faf-0x16a,_0x2b9b37-_0x40e0c5._0x422ef3,_0x2b9b37);}function _0x326a21(_0x5c2740,_0x429fa9,_0x1d0922,_0x130c5b){return _0x5cc7c1(_0x130c5b-_0x11e633._0xbba3a1,_0x429fa9-_0x11e633._0x28d613,_0x1d0922-_0x11e633._0x13fc7c,_0x429fa9);}const _0x15b881=_0x254bdd['read'](_0x32ef62[_0x326a21(_0x392b82._0x1f153a,_0x392b82._0x2f72fc,_0x392b82._0x140b08,0x4c2)],_0x32ef62[_0x326a21(0x45e,0x44d,_0x392b82._0x22c468,0x4a0)]?{'regex':_0x32ef62[_0x5d5e5f(-0x1b,-_0x392b82._0x68d9ae,_0x392b82._0x4104b6,-0x164)]}:void 0x0);return createToolOutput(_0x15b881[_0x326a21(_0x392b82._0x1b4dc7,0x577,0x7b8,_0x392b82._0x3456df)],{'shellId':_0x32ef62[_0x326a21(_0x392b82._0x5bf971,0x53c,0x5a7,0x4c2)],'status':_0x15b881[_0x326a21(_0x392b82._0x3c961d,_0x392b82._0xe1fcec,_0x392b82._0x976743,_0x392b82._0x6bc472)],'exitCode':_0x15b881[_0x5d5e5f(0x17f,0x168,0x276,0x1f6)],'signal':_0x15b881[_0x326a21(0x5ab,0x503,0x40d,_0x392b82._0x55971d)],'truncated':_0x15b881[_0x326a21(_0x392b82._0x180999,0x430,0x4f0,_0x392b82._0x319fb0)]});}});}import{spawn as _0x2c41b2}from'child_process';import{statSync}from'fs';import*as _0x5dad60 from'os';import*as _0x18471d from'path';import{StringDecoder as _0x3c5a53}from'string_decoder';import{stat}from'fs/promises';import*as _0x4dfbe5 from'path';function isPathInside(_0x559a8e,_0x5332bb){const _0x543b7a={_0x132fde:0xfb,_0x58dc11:0x17},_0xa346e9={_0x32f41a:0x1be},_0x5df604={_0x58c0da:0x9d};function _0x136e61(_0x49314e,_0x48db5c,_0x2b3875,_0x24f86a){return _0x38eb01(_0x2b3875,_0x49314e-0x5c0,_0x2b3875-0xc,_0x24f86a-_0x5df604._0x58c0da);}const _0x294915=_0x4dfbe5['resolve'](_0x559a8e),_0x3ceeae=_0x4dfbe5[_0x472fee(-0x2eb,-0x1dc,-0x372,-0x302)](_0x294915,_0x5332bb);function _0x472fee(_0x49f467,_0x3f0df8,_0x2dd6f8,_0x2f2c26){return _0x2cc51b(_0x49f467,_0x3f0df8-0xfe,_0x2dd6f8-_0xa346e9._0x32f41a,_0x2f2c26- -0x58d);}return _0x3ceeae===''||!_0x3ceeae[_0x472fee(-_0x543b7a._0x132fde,-0x263,-_0x543b7a._0x58dc11,-0x144)]('..')&&!_0x4dfbe5['isAbsolute'](_0x3ceeae);}function resolveWorkspacePath(_0x47d636,_0xb01c14){return resolveAllowedPath(_0x47d636,[],_0xb01c14);}function resolveAllowedPath(_0xd7cae,_0x1179e3,_0x1e82c8){const _0x1ebc10={_0x42f9f4:0x3b5,_0x321bb3:0x156,_0x293b08:0x13,_0x52f59d:0x57a,_0x38794b:0x602,_0x36ab4d:0x24d,_0x293af6:0x121},_0x258639={_0x41a198:0xaf,_0x12e793:0xc1},_0x589303={_0x10d08c:0x11f,_0x2bb605:0x31b};function _0x35ba5f(_0x251a03,_0x335cd3,_0x35f4d7,_0x2140b0){return _0x2cc51b(_0x35f4d7,_0x335cd3-0x5d,_0x35f4d7-_0x589303._0x10d08c,_0x251a03- -_0x589303._0x2bb605);}const _0x5281c5=_0x4dfbe5[_0x335d17(_0x1ebc10._0x42f9f4,0x42b,0x4be,0x3fd)](_0xd7cae),_0x1be7d3=_0x4dfbe5[_0x35ba5f(-0x27,-0x10c,-_0x1ebc10._0x321bb3,_0x1ebc10._0x293b08)](_0x5281c5,_0x1e82c8),_0xf3be2d=[_0x5281c5,..._0x1179e3[_0x335d17(_0x1ebc10._0x52f59d,_0x1ebc10._0x38794b,0x4cc,0x6be)](_0x232377=>_0x4dfbe5[_0x35ba5f(-0x27,-0x73,0xfb,0xfd)](_0x232377))];if(_0xf3be2d['some'](_0x3f718b=>isPathInside(_0x3f718b,_0x1be7d3)))return _0x1be7d3;function _0x335d17(_0x3dda1e,_0x1be71,_0x1dc04a,_0x23b223){return _0x2cc51b(_0x1be71,_0x1be71-_0x258639._0x41a198,_0x1dc04a-0xb7,_0x3dda1e-_0x258639._0x12e793);}throw new ToolExecutionError(_0x35ba5f(_0x1ebc10._0x36ab4d,_0x1ebc10._0x293af6,0x327,0x289)+_0x1e82c8,{'path':_0x1e82c8,'rootDir':_0x5281c5,'allowedDirs':_0xf3be2d});}async function assertWorkspaceFile(_0x2886bc){const _0x19251e={_0x1d60e7:0x296,_0x3e34c2:0x39a,_0x3f7ee7:0x3b1,_0x84a458:0x226,_0x552cc7:0xf8},_0x327c17={_0x56c4df:0x9e,_0x385bde:0x1ad},_0x402f5b={_0x52b3c0:0x2e7},_0x21369a=await stat(_0x2886bc);function _0xce5756(_0x5cf64b,_0x64310f,_0x1f7ad3,_0xa274d7){return _0x38eb01(_0x64310f,_0x5cf64b-_0x402f5b._0x52b3c0,_0x1f7ad3-0x1f2,_0xa274d7-0xe6);}function _0x22a779(_0x353a88,_0x2e66b4,_0x3ec30c,_0x50a9ff){return _0x2cc51b(_0x353a88,_0x2e66b4-_0x327c17._0x56c4df,_0x3ec30c-_0x327c17._0x385bde,_0x2e66b4-0x5b);}if(!_0x21369a[_0xce5756(_0x19251e._0x1d60e7,_0x19251e._0x3e34c2,0x243,_0x19251e._0x3f7ee7)]())throw new ToolExecutionError(_0xce5756(0xf5,_0x19251e._0x84a458,0x25c,_0x19251e._0x552cc7)+_0x2886bc,{'path':_0x2886bc});}function isProbablyBinary(_0x3d1bf9){return _0x3d1bf9['includes'](0x0);}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION=_0x2cc51b(0x411,0x674,0x5a3,0x588)+DEFAULT_TIMEOUT_MS+'ms.';function buildChildEnv(_0x10968b,_0xc3ad11){const _0xe9855f={_0x1720e9:0x2ea,_0xfab644:0x255,_0x1066fa:0x202,_0x3f1fe9:0x28a,_0x1fbab6:0x29e,_0x3412cd:0x1c1,_0x5daf00:0x2ed,_0x367c37:0x550,_0x5ed4a9:0x5b2,_0x1e5763:0x396,_0x50c1c9:0x383,_0x350bb3:0x41c,_0x4e8cb1:0x4b8,_0x2ce581:0x630,_0x330174:0x3de,_0x145a12:0x251},_0x5ecc4e={_0x35aa20:0x605,_0x15e005:0x140,_0x3f28f5:0x1c},_0xf15c2f={_0x5a3662:0x35c,_0x290832:0x150},_0x10cc26={...process['env'],..._0x10968b??{}};function _0x4dfa91(_0x1a90d7,_0x32e94c,_0x596efb,_0x487dad){return _0x38eb01(_0x1a90d7,_0x487dad-_0xf15c2f._0x5a3662,_0x596efb-0x7e,_0x487dad-_0xf15c2f._0x290832);}if(_0xc3ad11[_0x4dfa91(_0xe9855f._0x1720e9,0x1d5,0x1c7,_0xe9855f._0xfab644)]===0x0)return _0x10cc26;if(_0x5dad60[_0x4dfa91(0x372,_0xe9855f._0x1066fa,0x112,_0xe9855f._0x3f1fe9)]()===_0x4dfa91(_0xe9855f._0x1fbab6,0x2dd,_0xe9855f._0x3412cd,_0xe9855f._0x5daf00)){const _0x20c7de=new Set(_0xc3ad11[_0x468dc5(0x615,_0xe9855f._0x367c37,_0xe9855f._0x5ed4a9,0x64c)](_0xa95411=>_0xa95411[_0x4dfa91(0x291,0x2cd,0x39a,0x251)]()));for(const _0x25016f of Object[_0x468dc5(_0xe9855f._0x1e5763,_0xe9855f._0x50c1c9,_0xe9855f._0x350bb3,_0xe9855f._0x4e8cb1)](_0x10cc26)){if(_0x20c7de[_0x468dc5(_0xe9855f._0x2ce581,_0xe9855f._0x330174,0x53f,0x4e8)](_0x25016f[_0x4dfa91(0x204,0x26c,0x254,_0xe9855f._0x145a12)]()))delete _0x10cc26[_0x25016f];}}else{for(const _0x3dd166 of _0xc3ad11)delete _0x10cc26[_0x3dd166];}function _0x468dc5(_0x41d0df,_0x5efa5e,_0x2dbf67,_0x128e96){return _0x38eb01(_0x5efa5e,_0x2dbf67-_0x5ecc4e._0x35aa20,_0x2dbf67-_0x5ecc4e._0x15e005,_0x128e96-_0x5ecc4e._0x3f28f5);}return _0x10cc26;}function mapSpawnError(_0x25ca13,_0x4d149c){const _0x20dcbf={_0x4457f8:0x2f4,_0x54478d:0x3c6,_0x46c26f:0x620,_0x15bdbb:0x555,_0x446078:0x689,_0x137da3:0x14e,_0x390bf3:0x142,_0x369a71:0x72e,_0x376b7c:0x60b,_0x7de67d:0x679,_0x5568b2:0x56b,_0x4b36e4:0x459,_0x1c2e59:0x579},_0x361865={_0x5b16ca:0x607,_0x9f4a66:0xe4,_0x17fd25:0x135},_0xe10294={_0x2a6129:0x63};function _0xce334c(_0x137789,_0x2be8e2,_0x182dc7,_0x1ab771){return _0x2cc51b(_0x182dc7,_0x2be8e2-0x1a8,_0x182dc7-_0xe10294._0x2a6129,_0x2be8e2- -0x51a);}if(isErrnoException(_0x25ca13)&&_0x25ca13[_0x4a9222(0x281,_0x20dcbf._0x4457f8,_0x20dcbf._0x54478d,0x379)]===_0x4a9222(_0x20dcbf._0x46c26f,_0x20dcbf._0x15bdbb,0x62f,_0x20dcbf._0x446078))return new ToolExecutionError(_0xce334c(0xb9,-0x6b,-_0x20dcbf._0x137da3,-_0x20dcbf._0x390bf3)+_0x4d149c[_0x4a9222(_0x20dcbf._0x369a71,_0x20dcbf._0x376b7c,_0x20dcbf._0x7de67d,0x783)],_0x4d149c);function _0x4a9222(_0x91df17,_0x31b9de,_0x5ee93e,_0x1d6fc6){return _0x38eb01(_0x91df17,_0x5ee93e-_0x361865._0x5b16ca,_0x5ee93e-_0x361865._0x9f4a66,_0x1d6fc6-_0x361865._0x17fd25);}return new ToolExecutionError(_0x25ca13 instanceof Error?_0x25ca13[_0x4a9222(_0x20dcbf._0x5568b2,_0x20dcbf._0x4b36e4,_0x20dcbf._0x1c2e59,0x6ed)]:String(_0x25ca13),_0x4d149c);}function shellExists(_0x477929){const _0x26dc2d={_0xc5578c:0x63d,_0x14bb0a:0x1de,_0x436345:0x1b1,_0x51e484:0xf4},_0x30cfe9={_0x43d169:0x129,_0x294b62:0x37};function _0x9a6c71(_0x25ed94,_0x400e45,_0xa8dd9d,_0x3ad96a){return _0x2cc51b(_0xa8dd9d,_0x400e45-_0x30cfe9._0x43d169,_0xa8dd9d-_0x30cfe9._0x294b62,_0x400e45- -0x133);}function _0xbc0966(_0x16f372,_0x24b0c2,_0x548982,_0x4f950c){return _0x38eb01(_0x16f372,_0x4f950c-0x50b,_0x548982-0xf5,_0x4f950c-0xd1);}try{const _0x1a46fe=statSync(_0x477929);return _0x1a46fe[_0xbc0966(_0x26dc2d._0xc5578c,0x5f0,0x625,0x4ba)]()&&(_0x1a46fe[_0x9a6c71(_0x26dc2d._0x14bb0a,_0x26dc2d._0x436345,_0x26dc2d._0x51e484,0x2b)]&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x3cced8){const _0x39d58d={_0x3ab6d5:0x1c8,_0x13773f:0x27c,_0x49e922:0x3f,_0x4ed898:0xae,_0x208d4f:0x1e2,_0x398081:0xa6,_0x464bd2:0x21,_0x266afc:0x5e,_0x3d8cca:0x166,_0x1ad67f:0x12,_0x278d86:0xbf,_0x487b1d:0x298,_0x3bf60d:0x76,_0x57af9c:0x164,_0x100bfd:0xc4,_0x18da88:0x19},_0x3baa10={_0x411429:0x34e,_0x4254d6:0x6d},_0x3f0541={_0x145a74:0xd5};if(_0x3cced8)return _0x3cced8;if(_0x5dad60[_0x3fa706(0x26e,0x3dd,_0x39d58d._0x3ab6d5,_0x39d58d._0x13773f)]()==='win32')return process[_0x47891f(_0x39d58d._0x49e922,_0x39d58d._0x4ed898,-0xab,-0x3b)][_0x3fa706(_0x39d58d._0x208d4f,0x3c5,0x14d,0x2c3)]||_0x47891f(_0x39d58d._0x398081,_0x39d58d._0x464bd2,-0x6d,_0x39d58d._0x266afc);const _0x19bc98=[_0x3fa706(0x137,_0x39d58d._0x3d8cca,0x3be,0x291),_0x47891f(-0x109,-0x32c,-0xe6,-0x270),_0x3fa706(0x157,0x5b,0x270,0x108),_0x3fa706(0x28d,0x201,0x14c,0x1cc)];for(const _0x3cfca7 of _0x19bc98){if(shellExists(_0x3cfca7))return _0x3cfca7;}const _0x4c9f66=process[_0x47891f(_0x39d58d._0x1ad67f,-0x71,_0x39d58d._0x278d86,-0x3b)][_0x3fa706(_0x39d58d._0x487b1d,_0x39d58d._0x3bf60d,0x256,_0x39d58d._0x57af9c)];function _0x47891f(_0xc4b2e7,_0x4ad497,_0x594f04,_0x227dfc){return _0x2cc51b(_0x594f04,_0x4ad497-_0x3f0541._0x145a74,_0x594f04-0xb6,_0x227dfc- -0x4fa);}function _0x3fa706(_0x45bfb5,_0x3283a4,_0x140ac3,_0x1972d4){return _0x38eb01(_0x3283a4,_0x1972d4-_0x3baa10._0x411429,_0x140ac3-0x4,_0x1972d4-_0x3baa10._0x4254d6);}if(_0x4c9f66&&shellExists(_0x4c9f66))return _0x4c9f66;return _0x47891f(-0x1f,-_0x39d58d._0x100bfd,-_0x39d58d._0x18da88,-0xab);}function buildShellArgs(_0x36c01e,_0x4790b0){const _0x1ef515={_0x2824b1:0x49d,_0x25cb8f:0x269,_0x3a0b4a:0x509,_0x5c5847:0x322,_0x5713bd:0x54a,_0x166ecf:0x379,_0x788528:0x52d,_0x3e205e:0x4c0,_0x13afee:0x4a4,_0x202d43:0x393},_0x11dca7={_0x2d06bb:0x1c2},_0x380374={_0x5416f0:0x1e3};function _0x23463f(_0x593c59,_0x5c971c,_0x11fccb,_0xffc7f){return _0x2cc51b(_0x11fccb,_0x5c971c-_0x380374._0x5416f0,_0x11fccb-0x1d8,_0x593c59- -0x45);}function _0xac1809(_0x309072,_0x239640,_0x4f8347,_0x5e5a1b){return _0x2cc51b(_0x5e5a1b,_0x239640-0x1f0,_0x4f8347-_0x11dca7._0x2d06bb,_0x4f8347- -0x55);}if(_0x5dad60[_0xac1809(_0x1ef515._0x2824b1,_0x1ef515._0x25cb8f,0x3e5,_0x1ef515._0x3a0b4a)]()===_0xac1809(_0x1ef515._0x5c5847,0x508,0x448,_0x1ef515._0x5713bd)){const _0x37eb2a=/cmd(\.exe)?$/i[_0x23463f(_0x1ef515._0x166ecf,0x4c4,0x2b6,0x298)](_0x4790b0);return _0x37eb2a?['/d','/s','/c',_0x36c01e]:['-NoLogo',_0xac1809(0x4cf,0x62a,_0x1ef515._0x788528,_0x1ef515._0x3e205e),_0xac1809(0x2a8,_0x1ef515._0x13afee,_0x1ef515._0x202d43,0x382),_0x36c01e];}return['-c',_0x36c01e];}function resolveWorkingDirectory(_0x5ed270,_0x23910c,_0x5cf1cb){const _0x3df566={_0x25bdc1:0x43,_0x518712:0x16,_0x3163c3:0x45},_0x3ba00e={_0x486973:0x1dd};function _0x164740(_0x1f8f50,_0xff5dcd,_0x5c2b4d,_0x1b55a6){return _0x2cc51b(_0x1b55a6,_0xff5dcd-0x10c,_0x5c2b4d-_0x3ba00e._0x486973,_0xff5dcd- -0x57b);}const _0x512beb=resolveAllowedPath(_0x23910c,_0x5cf1cb,_0x5ed270??'.');function _0x1e1075(_0x2ef059,_0x751ac,_0x52ad50,_0x4ea550){return _0x38eb01(_0x4ea550,_0x52ad50-0x221,_0x52ad50-0x19d,_0x4ea550-0x135);}try{const _0x890ffa=statSync(_0x512beb);if(!_0x890ffa[_0x1e1075(0x10d,0x82,0xba,_0x3df566._0x25bdc1)]())throw new ToolExecutionError(_0x164740(-0x84,-_0x3df566._0x518712,0xca,_0x3df566._0x3163c3)+_0x512beb,{'cwd':_0x512beb});return _0x512beb;}catch(_0x15b8c7){if(_0x15b8c7 instanceof ToolExecutionError)throw _0x15b8c7;throw new ToolExecutionError('Working\x20directory\x20not\x20found:\x20'+_0x512beb,{'cwd':_0x512beb});}}function emitChunk(_0x31760d,_0x1732b5,_0xc56557,_0x9af390){const _0x141d21={_0x2cc8ca:0xe2,_0x48d12f:0x14d,_0x3db486:0x29b,_0x4edf50:0x166},_0x2227ce={_0x4b0db7:0x61},_0x379092={_0xe331fd:0x124};function _0x554759(_0x5e0565,_0x55ad36,_0x2ba4a5,_0x4e42e3){return _0x2cc51b(_0x5e0565,_0x55ad36-0xaf,_0x2ba4a5-_0x379092._0xe331fd,_0x55ad36-0x147);}_0x31760d[_0x21ce3f(_0x141d21._0x2cc8ca,_0x141d21._0x48d12f,_0x141d21._0x3db486,_0x141d21._0x4edf50)](_0xc56557),_0x1732b5[_0x554759(0x57c,0x5ac,0x43a,0x4c9)](_0xc56557);function _0x21ce3f(_0x354e30,_0x12115d,_0x5b314d,_0x4f853f){return _0x38eb01(_0x4f853f,_0x12115d-0x1f4,_0x5b314d-_0x2227ce._0x4b0db7,_0x4f853f-0x13);}_0x9af390();}function appendChunk(_0x5aca96,_0xde9063,_0x28286f,_0x3593ab,_0x5f0d19,_0x230d1e){const _0x401b57={_0x76012e:0x4d9,_0x530739:0x337,_0x51e7f6:0x2f9,_0x4ceaef:0x3cf,_0x23bb2c:0x524,_0x37e444:0x3c2,_0x2cd4f6:0x463,_0x332614:0x44a,_0x2454ad:0x407,_0x4ecc7f:0x31f,_0x1009c1:0x2d5,_0x2acebe:0x300,_0x20c7a7:0x2b0,_0x30bb84:0x158,_0xe59194:0x225,_0x5db7d8:0x32e,_0x523c80:0x4bc,_0x1102a4:0x45b,_0xfc366c:0x544,_0x18f2e5:0x28e,_0x53ea90:0x41c,_0x854ca4:0x45c,_0x13528e:0x357,_0x5ed21f:0x2be},_0x550a31={_0x540d77:0x4c},_0x4b399a={_0x490ad9:0xb4};function _0x524852(_0xd89109,_0x17bcae,_0x4cb5a8,_0x1c6c79){return _0x38eb01(_0xd89109,_0x17bcae-0x3fe,_0x4cb5a8-0x195,_0x1c6c79-_0x4b399a._0x490ad9);}function _0x2ac640(_0x5dcfc0,_0x399251,_0x574593,_0x1c86b2){return _0x2cc51b(_0x1c86b2,_0x399251-_0x550a31._0x540d77,_0x574593-0x24,_0x5dcfc0-0x37);}const _0x4e7af5=_0x3593ab?stripAnsiAndControls(_0x28286f):_0x28286f;if(_0x4e7af5[_0x2ac640(0x43c,_0x401b57._0x76012e,0x560,0x4e3)]===0x0)return;if(!_0x230d1e){emitChunk(_0x5aca96,_0xde9063,_0x4e7af5,_0x5f0d19);return;}let _0x4fe7a5=0x0,_0x441796=_0x4e7af5[_0x2ac640(0x36a,0x49f,_0x401b57._0x530739,0x3ff)]('\x0a');while(_0x441796>=0x0){_0x230d1e[_0x2ac640(0x3e2,_0x401b57._0x51e7f6,_0x401b57._0x4ceaef,0x348)][_0x2ac640(0x49c,0x468,_0x401b57._0x23bb2c,0x500)](_0x4e7af5[_0x524852(_0x401b57._0x37e444,_0x401b57._0x2cd4f6,0x3cd,_0x401b57._0x332614)](_0x4fe7a5,_0x441796));const _0x4f324b=_0x230d1e[_0x2ac640(0x3e2,_0x401b57._0x2454ad,_0x401b57._0x4ecc7f,0x3e0)]['join']('');_0x230d1e['trailingChunks']['length']=0x0,_0x230d1e[_0x2ac640(_0x401b57._0x1009c1,0x235,0x1d5,_0x401b57._0x2acebe)][_0x524852(0x18c,_0x401b57._0x20c7a7,0x22a,_0x401b57._0x30bb84)](_0x4f324b)&&emitChunk(_0x5aca96,_0xde9063,_0x4f324b+'\x0a',_0x5f0d19),_0x4fe7a5=_0x441796+0x1,_0x441796=_0x4e7af5[_0x524852(0x30a,_0x401b57._0xe59194,0x334,_0x401b57._0x5db7d8)]('\x0a',_0x4fe7a5);}_0x4fe7a5<_0x4e7af5[_0x2ac640(0x43c,_0x401b57._0x523c80,_0x401b57._0x1102a4,_0x401b57._0xfc366c)]&&_0x230d1e[_0x524852(0x22d,0x29d,_0x401b57._0x18f2e5,_0x401b57._0x53ea90)][_0x524852(_0x401b57._0x854ca4,_0x401b57._0x13528e,_0x401b57._0x5ed21f,0x273)](_0x4e7af5[_0x524852(0x40a,_0x401b57._0x2cd4f6,0x31c,0x40a)](_0x4fe7a5));}function flushOutputRegex(_0x5c186d,_0x131c74,_0x152ba8,_0x577c11){const _0x107500={_0x493426:0x18f,_0x1b8f20:0x20b,_0x2d5606:0x1a2,_0x3d5fb8:0xb1,_0x2290da:0x9b,_0x3fea45:0x1e2,_0x1d6cae:0x3d8,_0x285cc0:0x408,_0x2ce8b1:0x1be,_0x49014f:0x182,_0x3e9351:0x22},_0x3441d7={_0x46fb8d:0x10,_0x29d227:0x45c},_0x548cff={_0xbf45d2:0x2b,_0x5d39b6:0x4a,_0x4e5c36:0x2d};function _0xd11477(_0xe8dd44,_0x4d484f,_0x361c7d,_0x4d231a){return _0x2cc51b(_0x361c7d,_0x4d484f-_0x548cff._0xbf45d2,_0x361c7d-_0x548cff._0x5d39b6,_0x4d484f- -_0x548cff._0x4e5c36);}function _0x357fb2(_0x3a0049,_0xe7519f,_0x19b4cb,_0x537da0){return _0x2cc51b(_0x19b4cb,_0xe7519f-_0x3441d7._0x46fb8d,_0x19b4cb-0x14e,_0x3a0049- -_0x3441d7._0x29d227);}if(!_0x152ba8||_0x152ba8[_0x357fb2(-0xb1,0x51,-0x1f6,-_0x107500._0x493426)]['length']===0x0)return;const _0x3ea3e8=_0x152ba8[_0x357fb2(-0xb1,-_0x107500._0x1b8f20,-_0x107500._0x2d5606,-0x11c)]['join']('');_0x152ba8[_0x357fb2(-_0x107500._0x3d5fb8,0x9,_0x107500._0x2290da,-_0x107500._0x3fea45)][_0xd11477(0x394,_0x107500._0x1d6cae,0x292,_0x107500._0x285cc0)]=0x0,_0x152ba8[_0x357fb2(-_0x107500._0x2ce8b1,-0x304,-0x1af,-_0x107500._0x49014f)][_0x357fb2(-0x9e,-0x1d0,0x26,_0x107500._0x3e9351)](_0x3ea3e8)&&emitChunk(_0x5c186d,_0x131c74,_0x3ea3e8,_0x577c11);}function createBashTool(_0x405f9d={}){const _0x207eae={_0xea5880:0x53f,_0x564c37:0x446,_0x36421c:0x3cc,_0xa65f40:0x5bc,_0x1cc133:0x2bc,_0x28f11d:0x2ef,_0x17f35b:0x77d,_0x46d493:0x51d,_0x3545ab:0x526,_0xfb5fb2:0x35,_0x3adbf4:0x135,_0x2131bf:0x16c,_0x2dc087:0x275,_0x323bfd:0x51a,_0x1ea13a:0x634,_0x42036a:0x1f8,_0x559360:0x439,_0x49093b:0x2ff,_0x373db0:0x5bd,_0x32f715:0x6ba,_0x46b689:0x361,_0xa76d0b:0x450,_0x2e6b78:0x41d,_0x115e41:0x5cd,_0x1206f3:0x5e4,_0x3daa69:0x68e,_0x3049f7:0x684,_0x111cdc:0x68b,_0x4ae44d:0x48e,_0x3b81a4:0x362,_0x3d13e3:0x4db,_0x46b1bf:0x543,_0x550fbf:0x451,_0x52336d:0x7d7},_0x281681={_0x52d88f:0x18f,_0x3bc6d3:0x228,_0x1f9cca:0xaa,_0xf27b26:0xc8,_0x3ed24e:0x185,_0x36c7f6:0x149,_0x588daa:0x137,_0x365659:0x70,_0x140994:0x35,_0x2f9020:0x58e,_0x1a7c25:0x4e3,_0x1b104a:0x2bf,_0x6baee9:0x22a,_0x2106ec:0x149,_0x10407c:0x7,_0x39f7e7:0x21,_0x3692bf:0x20,_0x2be6fc:0xf1,_0x1916ca:0x654,_0x48da25:0x80,_0x40d4f9:0xe1,_0x33bc4a:0x21,_0xec0576:0x58c,_0x44684f:0x797,_0x18dd1d:0x5af,_0x2be7f2:0x7e6,_0x2f8ae5:0x7cd,_0x387b65:0x5d5,_0x1da45c:0x6b0,_0x542ad4:0xc2,_0x45f09c:0xa8,_0xf69057:0x57e,_0x4d48ae:0x5fb,_0x25d66d:0x14a,_0x134454:0x16,_0x415ac1:0x45,_0x5b60ff:0xe1,_0x3d0498:0x8f,_0x2accc0:0x5b0,_0x3eecba:0x499,_0x1595dd:0x5fd,_0x322b94:0x6a7,_0x361cc3:0x4c7,_0x185dbc:0x26c,_0x41ff9e:0x624,_0x51c2d6:0x6b9,_0x2f4fb5:0xf5,_0x46ffb8:0x2c,_0x4c4781:0xa,_0x11d507:0x4da,_0x10bcb8:0x654,_0x9efaae:0x577,_0xf95ea7:0x538,_0x57cc7f:0x4e0,_0x5bacb2:0xd0,_0x4a630e:0xe1,_0x3d33cb:0x6a,_0x57b4af:0x8d,_0x110113:0x23c,_0x268e16:0x12d,_0x2c4fd0:0x5f8,_0x2b16d8:0x51e,_0x3e6688:0x253,_0x530c04:0x169,_0xd23291:0x712,_0x4b3a91:0x5c7,_0xe49e01:0x60b,_0xe6ac1b:0x57e,_0x34fbee:0xaf,_0x1c3c6a:0xe4,_0x588d5d:0x79,_0x1c962e:0x5bb,_0x3026fb:0x6b1,_0x496cf4:0x6ef,_0x37f38f:0x73a,_0x2a5c82:0x5b4,_0x1461fc:0x655,_0x3133aa:0x59a,_0x44943f:0x580,_0x546be4:0x5f,_0x4db814:0x83,_0x238e1d:0x68,_0x1dad1c:0x460,_0x5d4ef5:0x4d,_0x43b0ce:0xae,_0x2c3e06:0x149,_0x19dfd7:0x178,_0x32c61a:0x1ba,_0x5b4620:0x565,_0x538c62:0x6d4,_0x3a8df8:0x4f7,_0x296bec:0x5f2,_0x41e4e4:0x4c7,_0x5f1633:0x6cd,_0x320e14:0x81d,_0x66972a:0xb7,_0x56ec21:0xbe,_0x3d8441:0x660,_0x54ca51:0x4de,_0x33b6d8:0x650,_0x3dd2e6:0x168,_0x2beb85:0x24,_0xf488c4:0x19b,_0x39cfaa:0x459,_0x488a19:0x571,_0x525fb8:0x4d5,_0x58b6f6:0x46a,_0x41d350:0x1a2,_0x5df660:0xe4,_0x5dccc5:0x25,_0x128c95:0x5c,_0x8ec9a9:0xe3,_0x7ac3cd:0x158,_0x475dd6:0x2f,_0x159514:0x1d1,_0x5250fb:0xef},_0x468c15={_0x57f4bb:0x27,_0xf616d3:0x5,_0x30a746:0x114,_0x2e8051:0x269,_0x458746:0x144,_0x207007:0xd1,_0x65fd9b:0x1e6},_0x24710e={_0x5cd82e:0x4f,_0x6f9c42:0x1b1},_0x35988a={_0x40cbba:0x399,_0x2ef47a:0x22f},_0x3786b2={_0x507dc6:0x1bc,_0xe0e924:0x179},_0xf092ef=_0x18471d[_0x33a7e6(_0x207eae._0xea5880,0x43e,0x2ce,0x55f)](_0x405f9d[_0x33a7e6(0x4b8,_0x207eae._0x564c37,_0x207eae._0x36421c,_0x207eae._0xa65f40)]??process[_0x20b923(0x3c0,0x1f9,_0x207eae._0x1cc133,_0x207eae._0x28f11d)]()),_0x3d0386=_0x405f9d[_0x33a7e6(_0x207eae._0x17f35b,0x655,0x6f1,0x62d)]??[],_0x5da2a7=_0x405f9d[_0x33a7e6(0x3b0,_0x207eae._0x46d493,_0x207eae._0x3545ab,0x569)]??DEFAULT_TIMEOUT_MS,_0x29b831=_0x405f9d['stripAnsi']??!![],_0x1675fa=_0x405f9d[_0x20b923(_0x207eae._0xfb5fb2,0x60,0xc9,_0x207eae._0x3adbf4)]??_0x33a7e6(0x652,0x4fd,0x4e3,0x615);function _0x33a7e6(_0x30628b,_0x188ea3,_0x5814d6,_0x13bdf5){return _0x2cc51b(_0x5814d6,_0x188ea3-0x17c,_0x5814d6-0x4d,_0x188ea3-0x14a);}const _0x5e8fee=_0x405f9d['scrubEnvKeys']??[];function _0x20b923(_0x41a473,_0x11bc5e,_0x427191,_0x29a14b){return _0x2cc51b(_0x11bc5e,_0x11bc5e-_0x3786b2._0x507dc6,_0x427191-0x11d,_0x29a14b- -_0x3786b2._0xe0e924);}const _0x4f642d=_0x405f9d['backgroundRegistry'];return defineTool({'name':_0x1675fa,'permissionClass':_0x20b923(0xfb,_0x207eae._0x2131bf,_0x207eae._0x2dc087,0x236),'description':_0x405f9d[_0x33a7e6(0x528,_0x207eae._0x323bfd,0x3ba,_0x207eae._0x1ea13a)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':_0x20b923(_0x207eae._0x42036a,0x208,_0x207eae._0x559360,_0x207eae._0x49093b),'properties':{'command':{'type':_0x33a7e6(0x75d,0x6ba,0x5d4,_0x207eae._0x373db0)},'description':{'type':_0x33a7e6(0x557,_0x207eae._0x32f715,0x561,0x5df),'description':_0x20b923(0x545,_0x207eae._0x46b689,_0x207eae._0xa76d0b,_0x207eae._0x2e6b78)},'cwd':{'type':'string'},'timeoutMs':{'type':_0x33a7e6(_0x207eae._0x115e41,_0x207eae._0x1206f3,_0x207eae._0x3daa69,_0x207eae._0x115e41)},'ignoreOutput':{'type':_0x33a7e6(_0x207eae._0x3049f7,_0x207eae._0x111cdc,0x61f,0x51c)},'outputRegex':{'type':_0x20b923(0x30a,_0x207eae._0x4ae44d,_0x207eae._0x3b81a4,0x3f7),'description':_0x33a7e6(_0x207eae._0xa76d0b,_0x207eae._0x3d13e3,_0x207eae._0x46b1bf,_0x207eae._0x550fbf)},'runInBackground':{'type':_0x33a7e6(0x733,0x68b,0x6a1,_0x207eae._0x52336d)}},'required':['command','description']},async *'execute'(_0x18f650,_0x2479e3){const _0x3258e9={_0xc27b13:0x51f},_0x1bc431={_0x595521:0x3e3,_0x31c743:0x4e},_0x379dcb={_0x2455c0:0x548},_0x470241={_0x1c5d61:0xf3,_0x3a5aeb:0x30e},_0x132807={_0x1514cd:0x183,_0x35cbb2:0x4cc,_0x1c70e4:0x94};function _0x36e7f8(_0x3aed0d,_0x62f20c,_0x211dd6,_0x115275){return _0x33a7e6(_0x3aed0d-_0x132807._0x1514cd,_0x62f20c- -_0x132807._0x35cbb2,_0x3aed0d,_0x115275-_0x132807._0x1c70e4);}const _0x4d060=_0x18f650[_0x36e7f8(0x275,_0x281681._0x52d88f,_0x281681._0x3bc6d3,0x309)]??_0x5da2a7;if(!Number[_0x36e7f8(0x22e,_0x281681._0x1f9cca,0x14,-_0x281681._0xf27b26)](_0x4d060)||_0x4d060<0x1)throw new ToolExecutionError('Invalid\x20timeoutMs:\x20expected\x20a\x20positive\x20number',{'command':_0x18f650[_0x36e7f8(_0x281681._0x3ed24e,_0x281681._0x36c7f6,_0x281681._0x588daa,0x66)]});throwIfAborted(_0x2479e3[_0x36e7f8(_0x281681._0x365659,-0x20,0x60,-_0x281681._0x140994)]);const _0x5b01e0=resolveWorkingDirectory(_0x18f650['cwd'],_0xf092ef,_0x3d0386),_0x1b423d=_0x18f650[_0x101c19(0x5c2,_0x281681._0x2f9020,_0x281681._0x1a7c25,0x484)]??![],_0x401189=resolveDefaultShell(_0x405f9d['shellPath']);function _0x101c19(_0x5344e1,_0x41f67b,_0x500325,_0x46f42b){return _0x20b923(_0x5344e1-_0x470241._0x1c5d61,_0x41f67b,_0x500325-0x15b,_0x5344e1-_0x470241._0x3a5aeb);}const _0x9605eb=buildShellArgs(_0x18f650[_0x36e7f8(0x1c5,0x149,0x17d,_0x281681._0x1b104a)],_0x401189),_0x49fd66=_0x5dad60['platform']()==='win32';if(_0x18f650['runInBackground']){if(!_0x4f642d)throw new ToolExecutionError('Background\x20execution\x20is\x20not\x20available\x20in\x20this\x20context.',{'command':_0x18f650[_0x36e7f8(_0x281681._0x6baee9,_0x281681._0x2106ec,-_0x281681._0x10407c,0xce)]});throwIfAborted(_0x2479e3[_0x36e7f8(-_0x281681._0x39f7e7,-_0x281681._0x3692bf,0x6c,_0x281681._0x2be6fc)]);let _0x16a89f;try{_0x16a89f=_0x2c41b2(_0x401189,_0x9605eb,{'cwd':_0x5b01e0,'env':buildChildEnv(_0x405f9d[_0x101c19(_0x281681._0x1916ca,0x686,0x71f,0x6f5)],_0x5e8fee),'stdio':[_0x36e7f8(-_0x281681._0x48da25,_0x281681._0x40d4f9,0x14b,_0x281681._0x33bc4a),'pipe','pipe'],'shell':![],'windowsHide':!![],'detached':!_0x49fd66});}catch(_0x265203){throw mapSpawnError(_0x265203,{'command':_0x18f650[_0x101c19(0x660,_0x281681._0xec0576,_0x281681._0x44684f,_0x281681._0x18dd1d)],'cwd':_0x5b01e0,'shellPath':_0x401189});}let _0x24879b;try{_0x24879b=_0x4f642d['spawn']({'child':_0x16a89f,'command':_0x18f650['command'],'cwd':_0x5b01e0,'stripAnsi':_0x29b831});}catch(_0x119966){_0x16a89f[_0x101c19(0x691,_0x281681._0x2be7f2,0x5f4,_0x281681._0x2f8ae5)](_0x101c19(0x4cd,_0x281681._0x387b65,0x3f3,0x4b0),()=>{});try{killProcessGroup(_0x16a89f,_0x49fd66);}catch{}throw _0x119966;}return createToolOutput(_0x101c19(_0x281681._0x1da45c,0x644,0x770,0x785)+_0x24879b[_0x36e7f8(-0x14a,-_0x281681._0x542ad4,_0x281681._0x45f09c,-0x19)]+_0x101c19(0x643,_0x281681._0xf69057,0x6ce,_0x281681._0x4d48ae)+(_0x24879b[_0x36e7f8(-0x10e,-0xe3,-_0x281681._0x25d66d,_0x281681._0x134454)]??'?')+_0x36e7f8(_0x281681._0x415ac1,-0x6a,-_0x281681._0x5b60ff,-_0x281681._0x3d0498),{'shellId':_0x24879b['shellId'],'status':_0x24879b[_0x101c19(_0x281681._0x2accc0,0x5a0,_0x281681._0x3eecba,0x60b)],'command':_0x24879b['command'],'description':_0x18f650['description'],'cwd':_0x24879b[_0x101c19(_0x281681._0x1595dd,_0x281681._0x322b94,_0x281681._0x361cc3,0x4bf)],'pid':_0x24879b[_0x36e7f8(-0x221,-0xe3,-_0x281681._0x185dbc,-0x21c)]??null});}let _0x497ecd,_0xc2b2cd;if(_0x18f650[_0x101c19(_0x281681._0x41ff9e,_0x281681._0x51c2d6,0x4dc,0x55a)]!==void 0x0)try{const _0x40d8a3=new RegExp(_0x18f650['outputRegex']);_0x497ecd={'regex':_0x40d8a3,'trailingChunks':[]},_0xc2b2cd={'regex':_0x40d8a3,'trailingChunks':[]};}catch(_0x433d74){throw new ToolExecutionError(_0x36e7f8(0x72,-0xa8,0x8c,-0x5b)+(_0x433d74 instanceof Error?_0x433d74[_0x36e7f8(_0x281681._0x2f4fb5,0xfc,_0x281681._0x46ffb8,-_0x281681._0x4c4781)]:String(_0x433d74)),{'command':_0x18f650['command'],'outputRegex':_0x18f650[_0x101c19(0x624,0x688,0x608,_0x281681._0x11d507)]});}let _0x184c56;try{_0x184c56=_0x2c41b2(_0x401189,_0x9605eb,{'cwd':_0x5b01e0,'env':buildChildEnv(_0x405f9d[_0x101c19(_0x281681._0x10bcb8,_0x281681._0x9efaae,_0x281681._0xf95ea7,_0x281681._0x57cc7f)],_0x5e8fee),'stdio':_0x1b423d?[_0x36e7f8(_0x281681._0x5bacb2,_0x281681._0x4a630e,0x2f,-_0x281681._0x3d33cb),_0x36e7f8(_0x281681._0x57b4af,0xe1,_0x281681._0x110113,_0x281681._0x268e16),_0x101c19(_0x281681._0x2c4fd0,0x6b0,_0x281681._0x2b16d8,0x6a0)]:[_0x36e7f8(0x132,_0x281681._0x40d4f9,_0x281681._0x3e6688,0x6d),_0x36e7f8(_0x281681._0x530c04,0x1fb,0x381,0x28e),_0x101c19(_0x281681._0xd23291,_0x281681._0x4b3a91,0x6cd,_0x281681._0xe49e01)],'shell':![],'windowsHide':!![],'detached':!_0x49fd66});}catch(_0x40de24){throw mapSpawnError(_0x40de24,{'command':_0x18f650['command'],'cwd':_0x5b01e0,'shellPath':_0x401189});}const _0x50e234=[],_0x4699ff=[],_0xe03f6=new _0x3c5a53('utf8'),_0x376a05=new _0x3c5a53(_0x101c19(_0x281681._0xe6ac1b,0x650,0x6cb,0x449));let _0x372e55,_0x54703b=![],_0x3649a1;const _0x578407=()=>{if(!_0x372e55)return;const _0x19fb85=_0x372e55;_0x372e55=void 0x0,_0x19fb85();},_0x43302f=async()=>{const _0x5f462f={_0x2766eb:0x197,_0x5ca5fb:0x1c3};if(_0x4699ff[_0x138c74(0x30e,0x4b5,_0x35988a._0x40cbba,_0x35988a._0x2ef47a)]>0x0||_0x54703b)return;function _0x138c74(_0x3fb73d,_0x2c322d,_0x549132,_0x39cd16){return _0x36e7f8(_0x39cd16,_0x549132-0x316,_0x549132-_0x5f462f._0x2766eb,_0x39cd16-_0x5f462f._0x5ca5fb);}await new Promise(_0x34a13f=>{_0x372e55=_0x34a13f;});},_0xc380b4=_0x45c594=>{function _0x3e603(_0x5d1f5e,_0x4a0a1b,_0x2f5bb8,_0x155f9a){return _0x101c19(_0x2f5bb8- -_0x379dcb._0x2455c0,_0x5d1f5e,_0x2f5bb8-0x150,_0x155f9a-0x18d);}appendChunk(_0x50e234,_0x4699ff,_0xe03f6[_0x3e603(_0x24710e._0x5cd82e,0xce,_0x24710e._0x6f9c42,0xcb)](_0x45c594),_0x29b831,_0x578407,_0x497ecd);},_0x55b350=_0x7e864=>{appendChunk(_0x50e234,_0x4699ff,_0x376a05['write'](_0x7e864),_0x29b831,_0x578407,_0xc2b2cd);};_0x184c56['stdout']?.['on'](_0x36e7f8(_0x281681._0x34fbee,_0x281681._0x1c3c6a,0x19f,-_0x281681._0x588d5d),_0xc380b4),_0x184c56[_0x101c19(_0x281681._0x1c962e,0x625,0x43c,_0x281681._0x3026fb)]?.['on'](_0x101c19(_0x281681._0x4d48ae,_0x281681._0x496cf4,0x782,_0x281681._0x37f38f),_0x55b350);let _0x138b61=![],_0x56fe09;const _0x477235=addAbortListener(_0x2479e3[_0x101c19(0x4f7,_0x281681._0x2a5c82,_0x281681._0x1461fc,0x37a)],()=>{_0x3649a1=toAbortError(_0x2479e3['signal']['reason']),_0x54703b=!![],_0x578407();try{killProcessGroup(_0x184c56,_0x49fd66);}catch{}});try{const _0x10a2eb=new Promise((_0x898464,_0x19c586)=>{const _0x172f74={_0x47202b:0x27f,_0x742766:0x156,_0x317b10:0x2f7,_0x46520e:0x6,_0x1d3168:0x16e},_0x37421b={_0x590d26:0x71,_0x3f9235:0x1eb,_0x64fd05:0xca},_0x1e490b={_0x1cb404:0x200,_0xd06287:0x2b1,_0x2a6498:0x328,_0x2ff2b3:0x1d8,_0x204903:0x284,_0x28b50f:0x3fc,_0x13f1c6:0xc6},_0x2987ae=()=>{const _0x343bc6={_0x1e39f9:0x197};function _0x17c261(_0x5d7253,_0x291e10,_0x708879,_0x584150){return _0x29c8(_0x584150- -_0x343bc6._0x1e39f9,_0x291e10);}_0x56fe09&&(clearTimeout(_0x56fe09),_0x56fe09=void 0x0);function _0x2c7d18(_0x9f9a44,_0x14689d,_0x275ff6,_0x20598f){return _0x29c8(_0x275ff6-0x11d,_0x14689d);}_0x184c56[_0x2c7d18(_0x1e490b._0x1cb404,_0x1e490b._0xd06287,_0x1e490b._0x2a6498,_0x1e490b._0x2ff2b3)](_0x2c7d18(0x3ce,0x2b9,_0x1e490b._0x204903,_0x1e490b._0x28b50f),_0x2e301d),_0x184c56[_0x17c261(_0x1e490b._0x13f1c6,0xc4,-0x101,0x74)](_0x17c261(0x135,-0xab,0x3e,0x27),_0x44f301);},_0x2e301d=_0x47b128=>{_0x54703b=!![],_0x578407(),_0x2987ae(),_0x19c586(_0x3649a1??_0x47b128);};function _0x5a333d(_0x4ec0f7,_0x203513,_0x22668e,_0x55c3da){return _0x36e7f8(_0x203513,_0x4ec0f7-_0x37421b._0x590d26,_0x22668e-_0x37421b._0x3f9235,_0x55c3da-_0x37421b._0x64fd05);}function _0x1fa3c6(_0x35ecbb,_0x1f5474,_0x48ca39,_0x27f958){return _0x101c19(_0x48ca39- -_0x1bc431._0x595521,_0x27f958,_0x48ca39-0x170,_0x27f958-_0x1bc431._0x31c743);}const _0x44f301=(_0x232385,_0x5a2265)=>{const _0x5bbf0c={_0x12aee3:0x1d5};_0x138b61=!![];function _0x56d11c(_0x3b1150,_0x434b12,_0x25a5da,_0x3b3f1f){return _0x29c8(_0x3b1150- -0xc4,_0x3b3f1f);}appendChunk(_0x50e234,_0x4699ff,_0xe03f6[_0x56d11c(_0x172f74._0x47202b,_0x172f74._0x742766,_0x172f74._0x317b10,0x2f9)](),_0x29b831,_0x578407,_0x497ecd),appendChunk(_0x50e234,_0x4699ff,_0x376a05[_0x1ab949(0x20d,0x129,-_0x172f74._0x46520e,_0x172f74._0x1d3168)](),_0x29b831,_0x578407,_0xc2b2cd),flushOutputRegex(_0x50e234,_0x4699ff,_0x497ecd,_0x578407),flushOutputRegex(_0x50e234,_0x4699ff,_0xc2b2cd,_0x578407),_0x54703b=!![];function _0x1ab949(_0x2781a1,_0x436cb3,_0x533814,_0xff5e86){return _0x29c8(_0xff5e86- -_0x5bbf0c._0x12aee3,_0x533814);}_0x578407(),_0x2987ae();if(_0x3649a1){_0x19c586(_0x3649a1);return;}_0x898464({'code':_0x232385,'signal':_0x5a2265});};_0x56fe09=setTimeout(()=>{function _0x163402(_0x55d70d,_0x5edc41,_0x8e569a,_0x27ab2c){return _0x29c8(_0x55d70d-0x2c5,_0x5edc41);}_0x54703b=!![],_0x578407(),_0x2987ae();try{killProcessGroup(_0x184c56,_0x49fd66);}catch{}_0x19c586(new ToolExecutionError(_0x163402(_0x3258e9._0xc27b13,0x67f,0x49a,0x3f8)+_0x4d060+'\x20ms',{'command':_0x18f650['command'],'cwd':_0x5b01e0,'shellPath':_0x401189,'timeoutMs':_0x4d060,'timedOut':!![]}));},_0x4d060),_0x184c56['once'](_0x5a333d(_0x468c15._0x57f4bb,0xfa,_0x468c15._0xf616d3,-_0x468c15._0x30a746),_0x2e301d),_0x184c56[_0x5a333d(0x1eb,0x2fb,_0x468c15._0x2e8051,_0x468c15._0x458746)](_0x5a333d(0x7e,-_0x468c15._0x207007,_0x468c15._0x65fd9b,0x1b0),_0x44f301);});while(_0x4699ff[_0x101c19(_0x281681._0x3133aa,0x699,_0x281681._0x44943f,0x6e8)]>0x0||!_0x54703b){if(_0x4699ff[_0x36e7f8(-_0x281681._0x546be4,_0x281681._0x4db814,0x87,-_0x281681._0x238e1d)]===0x0){await _0x43302f();continue;}const _0x267ed1=_0x4699ff['shift']();_0x267ed1!==void 0x0&&(yield _0x267ed1);}const _0x485d90=await _0x10a2eb,_0x170110=_0x1b423d?_0x101c19(0x4aa,0x50b,0x499,0x584)+(_0x485d90[_0x101c19(_0x281681._0x1dad1c,0x361,0x5c0,0x303)]??0x0):_0x50e234[_0x36e7f8(-0xc7,-_0x281681._0x5d4ef5,-0x103,0xdf)](''),_0x21966f={'command':_0x18f650[_0x36e7f8(_0x281681._0x43b0ce,_0x281681._0x2c3e06,_0x281681._0x19dfd7,_0x281681._0x32c61a)],'description':_0x18f650[_0x101c19(_0x281681._0x5b4620,0x49d,0x6d6,_0x281681._0x538c62)],'cwd':_0x5b01e0,'exitCode':_0x485d90['code']??0x0,'signal':_0x485d90[_0x101c19(_0x281681._0x3a8df8,0x37f,_0x281681._0x296bec,_0x281681._0x41e4e4)],'ignoreOutput':_0x1b423d,'outputRegex':_0x18f650['outputRegex']??null,'shellPath':_0x401189,'timeoutMs':_0x4d060};if(_0x485d90['code']!==0x0)throw new ToolExecutionError(_0x170110||_0x101c19(_0x281681._0x5f1633,0x6f8,0x807,_0x281681._0x320e14)+(_0x485d90[_0x36e7f8(0x66,-_0x281681._0x66972a,_0x281681._0x56ec21,-0x71)]??0x0),_0x21966f);return createToolOutput(_0x170110,_0x21966f);}catch(_0x4029aa){while(_0x4699ff['length']>0x0){const _0x346623=_0x4699ff['shift']();_0x346623!==void 0x0&&(yield _0x346623);}if(_0x4029aa instanceof ToolExecutionError)throw _0x4029aa;if(_0x3649a1)throw _0x3649a1;throw mapSpawnError(_0x4029aa,{'command':_0x18f650[_0x101c19(_0x281681._0x3d8441,0x560,_0x281681._0x54ca51,_0x281681._0x33b6d8)],'cwd':_0x5b01e0,'shellPath':_0x401189});}finally{_0x56fe09&&clearTimeout(_0x56fe09);_0x477235(),_0x184c56[_0x36e7f8(_0x281681._0x3dd2e6,_0x281681._0x2beb85,-0x133,_0x281681._0x415ac1)]?.[_0x36e7f8(_0x281681._0xf488c4,0x5a,-0x58,-0xc0)]('data',_0xc380b4),_0x184c56[_0x101c19(_0x281681._0x1c962e,0x56e,_0x281681._0x39cfaa,_0x281681._0x488a19)]?.[_0x101c19(_0x281681._0x488a19,0x579,_0x281681._0x525fb8,_0x281681._0x58b6f6)](_0x36e7f8(_0x281681._0x41d350,_0x281681._0x5df660,_0x281681._0x5dccc5,_0x281681._0x128c95),_0x55b350);if(!_0x138b61&&_0x184c56[_0x36e7f8(-0x10f,-_0x281681._0x8ec9a9,-_0x281681._0x7ac3cd,-_0x281681._0x475dd6)]&&!_0x184c56[_0x36e7f8(-_0x281681._0x159514,-_0x281681._0x5250fb,-0x2e,_0x281681._0x140994)])try{killProcessGroup(_0x184c56,_0x49fd66);}catch{}}}});}function createShellExecTool(_0x1e7c5e={}){return createBashTool(_0x1e7c5e);}import{readdir,readFile as _0x183501}from'fs/promises';import{extname,join as _0xf24a70}from'path';import{open}from'fs/promises';import{dirname,isAbsolute as _0x296cb9,join,relative as _0x382600,resolve as _0x5899b5}from'path';import{readdir as _0x510827,readFile as _0x4a408d}from'fs/promises';import{join as _0x359707,relative as _0x53c117,sep}from'path';import{delimiter}from'path';import{mkdir as _0x13f9cf,rm,stat as _0x3a0874,writeFile}from'fs/promises';import{hostname}from'os';import{dirname as _0x5d78dc}from'path';import{unwatchFile,watchFile}from'fs';import{chmod,readFile as _0x5e917b,rename,rm as _0x6e407e,stat as _0x150503,writeFile as _0xeb0fa3}from'fs/promises';import{homedir as _0x3c5c89}from'os';import{dirname as _0x3ffc51,isAbsolute as _0x371452,join as _0x3bec22,resolve as _0x46d9a4}from'path';import{parse as _0xfb9d74,stringify as _0x9846fc}from'yaml';import{cp,mkdir as _0x49621b,readFile as _0x39e1b5,rm as _0x15bddb,writeFile as _0x8c49fb}from'fs/promises';import{homedir}from'os';import{join as _0xd87bcf}from'path';import{parse as _0x55cbb0,stringify as _0x22041a}from'yaml';import{z}from'zod';import{readdir as _0x8530d2,readFile as _0x32244c}from'fs/promises';import{join as _0x10ac77}from'path';import{randomUUID as _0x5568b1}from'crypto';import{mkdir as _0x2b04a8,readdir as _0x5cf573,readFile as _0x183a2d,rename as _0x292856,rm as _0x4269a0,writeFile as _0x2a3dbf}from'fs/promises';import{homedir as _0x1320b4}from'os';import{basename,isAbsolute as _0x5007fc,join as _0x1546be,relative as _0x3e7d53,resolve as _0x1a517f}from'path';import{parse as _0xbb35ce,stringify as _0x33c83a}from'yaml';import{delimiter as _0x383e24,resolve as _0x163c74}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0x44e7a0){const _0x569e77={_0x2ede5b:0xd1,_0x2d8a04:0xb4,_0x2c39b0:0x36,_0x19dc53:0x88,_0x548cc9:0xf5,_0x4d9f4f:0x13e,_0x32d898:0x10f,_0x56d556:0xf5,_0x1e0776:0x2a},_0x49ffb1={_0x43638d:0xc9},_0x5ec454={_0x121b1c:0xab,_0x5763e2:0x84};function _0x7013f(_0x8daac0,_0x39b4cc,_0x520131,_0x4aefbc){return _0x38eb01(_0x39b4cc,_0x4aefbc-0xd1,_0x520131-_0x5ec454._0x121b1c,_0x4aefbc-_0x5ec454._0x5763e2);}const _0x359a7f=[];let _0x205dc6='',_0x48432c=0x0;function _0x3d257b(_0x310c59,_0xd29642,_0x190a52,_0xe19c90){return _0x38eb01(_0xd29642,_0x310c59-_0x49ffb1._0x43638d,_0x190a52-0xcd,_0xe19c90-0x181);}while(_0x48432c<_0x44e7a0[_0x7013f(0x55,_0x569e77._0x2ede5b,-0x7e,-0x36)]){const _0x12cfed=_0x44e7a0[_0x48432c];if(_0x12cfed==='\x5c'&&_0x48432c+0x1<_0x44e7a0[_0x7013f(-0x14f,0xd5,_0x569e77._0x2d8a04,-_0x569e77._0x2c39b0)])_0x205dc6+=_0x44e7a0[_0x48432c+0x1],_0x48432c+=0x2;else{if(_0x12cfed==='\x22'||_0x12cfed==='\x27'){const _0x256fcc=_0x12cfed;_0x48432c++;while(_0x48432c<_0x44e7a0[_0x7013f(_0x569e77._0x19dc53,0x19,-0xb4,-0x36)]&&_0x44e7a0[_0x48432c]!==_0x256fcc){_0x44e7a0[_0x48432c]==='\x5c'&&_0x48432c+0x1<_0x44e7a0[_0x3d257b(-0x3e,-0x130,-0x19d,-_0x569e77._0x548cc9)]?(_0x205dc6+=_0x44e7a0[_0x48432c+0x1],_0x48432c+=0x2):(_0x205dc6+=_0x44e7a0[_0x48432c],_0x48432c++);}_0x48432c++;}else _0x12cfed!==void 0x0&&/\s/[_0x7013f(-0x9b,0x22,-_0x569e77._0x4d9f4f,-0x7d)](_0x12cfed)?(_0x205dc6&&(_0x359a7f[_0x7013f(-0x61,0x155,_0x569e77._0x32d898,0x2a)](_0x205dc6),_0x205dc6=''),_0x48432c++):(_0x205dc6+=_0x12cfed,_0x48432c++);}}if(_0x205dc6)_0x359a7f[_0x7013f(_0x569e77._0x56d556,0x12d,0xae,_0x569e77._0x1e0776)](_0x205dc6);return _0x359a7f;}function renderCommandInstructions(_0x27dc37){const _0x3af5a8={_0x10d08d:0x13d,_0x541581:0x2ff,_0xcb8d22:0x2f7,_0x428ba3:0x97,_0x509aa5:0x352,_0x528418:0x1fe,_0x4d9aeb:0x172,_0x19c2a4:0x178,_0x8af7d7:0x1fe,_0x2a5c56:0x227,_0x33ff03:0x1fe,_0x7bc287:0x1fe,_0x272e33:0x34a,_0x51782e:0xa0,_0x2bf218:0x69,_0x4aa742:0x89,_0x28cd77:0xc2},_0x30a103={_0xa18b58:0x5,_0xe6c70:0xfd},_0x57da5d={_0x327c91:0x19},_0x1ee083={_0x4d8674:0x148,_0x814ec8:0x14d};let _0x57659a=_0x27dc37[_0x14eebc(-_0x3af5a8._0x10d08d,-0x204,-0x1b3,-0x248)];function _0x3ea515(_0x1fa303,_0x46d1b1,_0x21eae2,_0x171951){return _0x2cc51b(_0x1fa303,_0x46d1b1-_0x1ee083._0x4d8674,_0x21eae2-_0x1ee083._0x814ec8,_0x21eae2- -0x58b);}let _0x5b0124=![];const _0x4e279a=tokenizeCommandArguments(_0x27dc37['argumentsText']);function _0x14eebc(_0x2d5627,_0x2ac6fe,_0x2f99ba,_0x339bee){return _0x2cc51b(_0x2d5627,_0x2ac6fe-0x9f,_0x2f99ba-0x180,_0x2f99ba- -0x494);}_0x57659a=_0x57659a[_0x3ea515(-0x41c,-0x36a,-_0x3af5a8._0x541581,-_0x3af5a8._0xcb8d22)](/\$ARGUMENTS\[(\d+)\]/g,(_0x4571cc,_0x260edb)=>{return _0x5b0124=!![],_0x4e279a[Number(_0x260edb)]??'';}),_0x57659a=_0x57659a['replace'](/\$ARGUMENTS\b/g,()=>{_0x5b0124=!![];function _0x565606(_0x41d655,_0x1c83d8,_0x554691,_0x1353e1){return _0x14eebc(_0x554691,_0x1c83d8-0xf,_0x1c83d8- -_0x57da5d._0x327c91,_0x1353e1-0x141);}return _0x27dc37[_0x565606(_0x30a103._0xa18b58,0x50,_0x30a103._0xe6c70,-0xd4)];});if(_0x27dc37[_0x3ea515(-_0x3af5a8._0x428ba3,-_0x3af5a8._0x509aa5,-_0x3af5a8._0x528418,-_0x3af5a8._0x4d9aeb)]&&_0x27dc37[_0x3ea515(-0x245,-_0x3af5a8._0x19c2a4,-_0x3af5a8._0x8af7d7,-0x101)]['length']>0x0)for(let _0x13d035=0x0;_0x13d035<_0x27dc37['argumentNames']['length'];_0x13d035++){const _0x74b77d=_0x27dc37[_0x3ea515(-_0x3af5a8._0x2a5c56,-0x123,-_0x3af5a8._0x33ff03,-0x31f)][_0x13d035];if(_0x74b77d){const _0x1b8be9=new RegExp('\x5c$'+_0x74b77d+'\x5cb','g');_0x57659a=_0x57659a['replace'](_0x1b8be9,()=>{return _0x5b0124=!![],_0x4e279a[_0x13d035]??'';});}}return _0x57659a=_0x57659a[_0x14eebc(-_0x3af5a8._0x7bc287,-_0x3af5a8._0x272e33,-0x208,-0x244)](/\$(\d+)\b/g,(_0x307746,_0x2ab249)=>{return _0x5b0124=!![],_0x4e279a[Number(_0x2ab249)]??'';}),!_0x5b0124&&_0x27dc37[_0x14eebc(-_0x3af5a8._0x51782e,0x21,_0x3af5a8._0x2bf218,-0x10)][_0x3ea515(-0xbb,-_0x3af5a8._0x4aa742,-0x6e,-_0x3af5a8._0x28cd77)]()&&(_0x57659a=_0x57659a+'\x0a\x0aARGUMENTS:\x20'+_0x27dc37['argumentsText']),_0x57659a;}var PROVIDER_API_KEY_ENVS=[{'env':_0x38eb01(-0xd7,-0xbe,-0x23c,0x4c),'provider':'openrouter'},{'env':_0x2cc51b(0x39b,0x4eb,0x2fb,0x3f9),'provider':_0x2cc51b(0x3ae,0x3a4,0x20d,0x35b)},{'env':'GITHUB_ACCESS_TOKEN','provider':_0x38eb01(-0x8f,-0x96,0xc9,-0x1ca)},{'env':_0x38eb01(-0x22e,-0x264,-0x287,-0x238),'provider':_0x2cc51b(0x401,0x4b1,0x4db,0x476)},{'env':_0x38eb01(-0x228,-0x1ff,-0x323,-0x288),'provider':_0x2cc51b(0x36d,0x3c7,0x3a0,0x3fd)},{'env':_0x38eb01(-0x35c,-0x26f,-0x2fb,-0x383),'provider':'deepinfra'},{'env':_0x2cc51b(0x4fe,0x30e,0x294,0x3bc),'provider':_0x38eb01(-0x12b,0x33,0x1b1,0x148)},{'env':'MOONSHOT_API_KEY','provider':_0x2cc51b(0x411,0x289,0x519,0x396)},{'env':_0x38eb01(-0x1f0,-0x1c2,-0x340,-0x14e),'provider':_0x2cc51b(0x46b,0x26d,0x324,0x3f3)},{'env':'KIMI_API_KEY','provider':'kimi'},{'env':_0x38eb01(-0x27a,-0x12d,-0x2af,-0x226),'provider':'openai'},{'env':_0x2cc51b(0x1ee,0x401,0x346,0x32b),'provider':'deepseek'},{'env':'OPENCODE_API_KEY','provider':_0x2cc51b(0x480,0x513,0x337,0x43c)}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS['map'](_0x2ee576=>_0x2ee576[_0x38eb01(-0xaa,-0x4d,-0xd5,-0x71)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,_0x38eb01(-0x277,-0x101,-0xa5,-0x14d),_0x38eb01(-0x41,-0xac,-0x100,-0x9),_0x2cc51b(0x2cc,0x232,0x21b,0x294)],PROTOTYPE_SENSITIVE_NAMES=new Set([...Object[_0x38eb01(0x52,-0xc2,-0x248,-0x1b0)](Object['prototype']),_0x2cc51b(0x36a,0x548,0x440,0x420)]);function prototypeSafeRecord(_0x4a02f9){const _0x5ef0c3={_0x136c54:0x3dc,_0x377dfe:0x1fe,_0x2846cf:0x2e2,_0x8d5340:0x27e,_0x581ef3:0x465,_0x5df2c6:0x3da,_0x2e6429:0x474,_0x2ac7c6:0xff,_0x479256:0x1de},_0x558145={_0xeeaa48:0x382,_0xb1ab22:0x1f4},_0x23233c={_0x53bc4b:0x178,_0x23fba4:0x193,_0x1c8e2a:0x37},_0x3008cc={_0x3991bc:0x1d9,_0x477700:0x192},_0x359e5d={_0x393eb5:0x6c,_0x53988c:0x184,_0x36303d:0x246};function _0x22a8b9(_0x211a6f,_0x2fe93d,_0x4b4f4c,_0x49dc92){return _0x2cc51b(_0x49dc92,_0x2fe93d-_0x359e5d._0x393eb5,_0x4b4f4c-_0x359e5d._0x53988c,_0x4b4f4c- -_0x359e5d._0x36303d);}function _0x27c21a(_0xabe93d,_0x1d0972,_0x593100,_0x1879f1){return _0x38eb01(_0x1879f1,_0xabe93d-0x376,_0x593100-_0x3008cc._0x3991bc,_0x1879f1-_0x3008cc._0x477700);}return z[_0x22a8b9(_0x5ef0c3._0x136c54,0x43c,0x33a,_0x5ef0c3._0x377dfe)](_0x22c877=>{function _0x2f33eb(_0x496c1d,_0x26d3d1,_0xd18397,_0x2a9061){return _0x22a8b9(_0x496c1d-_0x23233c._0x53bc4b,_0x26d3d1-_0x23233c._0x23fba4,_0x2a9061-_0x23233c._0x1c8e2a,_0x26d3d1);}if(_0x22c877===null||typeof _0x22c877!==_0x1d4e21(_0x558145._0xeeaa48,0x275,0x10c,0x1ff)||Array[_0x1d4e21(0x6f,_0x558145._0xb1ab22,0xfc,0x6a)](_0x22c877))return null;function _0x1d4e21(_0xe03ff7,_0x526731,_0xdf9ba7,_0x2045a8){return _0x22a8b9(_0xe03ff7-0x37,_0x526731-0x61,_0x526731-0x43,_0xdf9ba7);}const _0x3c9789=Object['getPrototypeOf'](_0x22c877);if(_0x3c9789!==Object['prototype']&&_0x3c9789!==null)return null;return{'entries':Object['entries'](_0x22c877)};},z[_0x27c21a(_0x5ef0c3._0x2846cf,_0x5ef0c3._0x8d5340,_0x5ef0c3._0x581ef3,0x25f)]({'entries':z['array'](z['tuple']([z[_0x27c21a(_0x5ef0c3._0x5df2c6,0x547,0x4d8,_0x5ef0c3._0x2e6429)](),_0x4a02f9]))}))[_0x22a8b9(0x196,0x20e,_0x5ef0c3._0x2ac7c6,_0x5ef0c3._0x479256)](({entries:_0x2e2379})=>Object['fromEntries'](_0x2e2379));}var chatModelAuthSchemeSchema=z[_0x2cc51b(0x339,0x3dc,0x2a3,0x36a)](['bearer',_0x38eb01(-0xd0,-0x197,-0x157,-0xbd)]),apiKeyAuthSchema=z['object']({'type':z[_0x2cc51b(0x3c0,0x310,0x20d,0x2ba)](_0x38eb01(0xd9,-0x3a,-0x16,-0x11a)),'apiKey':z[_0x2cc51b(0x5a0,0x5af,0x570,0x570)](),'authScheme':chatModelAuthSchemeSchema[_0x2cc51b(0x424,0x180,0x215,0x2d8)]()})[_0x2cc51b(0x601,0x488,0x4d5,0x4e1)](),oauthAuthSchema=z['object']({'type':z[_0x2cc51b(0x3f3,0x359,0x2a7,0x2ba)]('oauth'),'access':z['string'](),'refresh':z[_0x38eb01(0x102,0x64,0xee,-0x123)](),'expires':z[_0x38eb01(-0x84,-0x72,-0xa,-0x13b)]()['optional'](),'authScheme':chatModelAuthSchemeSchema[_0x2cc51b(0x370,0x262,0x45d,0x2d8)]()})[_0x2cc51b(0x63d,0x4f0,0x58a,0x4e1)](),finiteNonNegative=z[_0x38eb01(-0x78,-0x72,-0xc,-0x1d9)]()['finite']()[_0x38eb01(-0x93,-0x30,-0xd1,0x61)](),chatGptAuthSchema=z['object']({'type':z['literal'](_0x2cc51b(0x433,0x6c1,0x577,0x554)),'access':z[_0x38eb01(0x197,0x64,0x3,-0xb1)]()[_0x2cc51b(0x3d2,0x284,0x3d3,0x331)](0x1),'refresh':z[_0x38eb01(0x91,0x64,0x32,0x152)]()[_0x38eb01(-0x1d1,-0x1db,-0xb6,-0x7c)](0x1),'idToken':z[_0x38eb01(-0x66,0x64,0x1d6,0x186)]()['min'](0x1),'accountId':z[_0x2cc51b(0x423,0x4cc,0x60f,0x570)]()[_0x38eb01(-0x1e5,-0x1db,-0x1d9,-0x77)](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative[_0x38eb01(-0x222,-0x234,-0x26c,-0x30c)]()})['passthrough'](),authMethodSchema=z[_0x38eb01(0x99,0x0,-0x12f,0x85)]([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),modelDefinitionSchema=z[_0x2cc51b(0x4ea,0x35e,0x3fc,0x478)]({'id':z[_0x2cc51b(0x463,0x49e,0x5ad,0x570)](),'name':z['string']()[_0x2cc51b(0x1b8,0x433,0x39b,0x2d8)]()})['passthrough'](),modelConfigSchema=z['union']([z[_0x38eb01(-0x138,-0x252,-0x295,-0x219)](![]),z[_0x2cc51b(0x22b,0x38c,0x3c9,0x2ba)](!![]),z[_0x2cc51b(0x3f4,0x5f6,0x518,0x570)](),z[_0x2cc51b(0x403,0x502,0x433,0x562)](z[_0x2cc51b(0x5c6,0x59c,0x4e9,0x570)]()),z[_0x38eb01(0x8c,0x56,-0x126,0x14b)](modelDefinitionSchema)]),chatModelSurfaceSchema=z[_0x38eb01(-0x27a,-0x1a2,-0x227,-0x2e3)]([_0x38eb01(-0x47,-0xf9,-0x7d,-0x1b4),_0x38eb01(-0xf0,-0x24e,-0x2c4,-0x20d),_0x38eb01(-0x8b,-0x68,0xce,-0xb6),'openai-responses-ws']),providerConfigSchema=z[_0x2cc51b(0x333,0x32c,0x3fa,0x478)]({'apiKey':z[_0x38eb01(-0xc6,0x64,-0xf,0xb6)]()[_0x2cc51b(0x3d9,0x35f,0x2f3,0x2d8)](),'token':z['string']()['optional'](),'defaultModel':z['string']()['optional'](),'smallModel':z[_0x38eb01(0x4f,0x64,0x33,0xa7)]()['optional'](),'currentAuth':z[_0x2cc51b(0x6a9,0x4b7,0x49f,0x570)]()['optional'](),'auth':z[_0x2cc51b(0x518,0x493,0x5c9,0x562)](authMethodSchema)[_0x38eb01(-0x1e6,-0x234,-0x28a,-0x368)](),'surface':chatModelSurfaceSchema[_0x2cc51b(0x414,0x31f,0x21d,0x2d8)](),'baseUrl':z[_0x2cc51b(0x573,0x5dd,0x669,0x570)]()[_0x38eb01(-0x1ca,-0x234,-0x212,-0x2f1)](),'models':modelConfigSchema[_0x38eb01(-0x1f7,-0x234,-0x39b,-0x316)](),'customHeaders':z[_0x2cc51b(0x41a,0x36d,0x36c,0x4a9)](z[_0x38eb01(0x8f,0x64,0x6a,-0xb8)](),z[_0x2cc51b(0x6e7,0x4ca,0x5a7,0x570)]())['optional']()})[_0x38eb01(-0x144,-0x2b,0x157,-0x153)](),mcpServerConfigSchema=z[_0x38eb01(0x14,-0x94,-0x187,0x60)]({'command':z['string']()[_0x2cc51b(0x201,0x232,0x41f,0x2d8)](),'args':z['array'](z[_0x2cc51b(0x593,0x5d1,0x4ac,0x570)]())['optional'](),'env':z[_0x38eb01(-0x53,-0x63,-0x8d,0xdd)](z[_0x2cc51b(0x5db,0x456,0x4ed,0x570)](),z['string']())['optional'](),'transport':z[_0x38eb01(-0x1bc,-0x1a2,-0xae,-0x27f)]([_0x38eb01(0xf1,-0x3,-0x51,0x136),_0x2cc51b(0x67a,0x4eb,0x41b,0x548)])['optional'](),'url':z[_0x2cc51b(0x4b6,0x581,0x431,0x570)]()[_0x2cc51b(0x200,0x3d2,0x29b,0x2d8)](),'headers':z[_0x38eb01(-0x95,-0x63,-0x8,0x2d)](z[_0x38eb01(0xc5,0x64,0xd8,0x5)](),z['string']())[_0x2cc51b(0x2e1,0x183,0x326,0x2d8)](),'prefix':z[_0x2cc51b(0x4de,0x41c,0x436,0x570)]()[_0x38eb01(-0x319,-0x234,-0x30c,-0x33f)](),'timeoutMs':z[_0x38eb01(-0x1d0,-0x72,-0xe5,-0x1c0)]()[_0x2cc51b(0x319,0x1d0,0x352,0x2d8)](),'enabled':z[_0x38eb01(-0xd4,0x35,-0xde,0x17d)]()[_0x38eb01(-0x252,-0x234,-0xd8,-0x3b5)](),'auth':z['object']({'type':z[_0x38eb01(-0x2db,-0x1a2,-0x176,-0x233)]([_0x38eb01(0x5,-0x155,-0x19b,-0x193),'bearer','oauth']),'token':z[_0x2cc51b(0x440,0x5c4,0x583,0x570)]()[_0x2cc51b(0x249,0x35d,0x2d3,0x2d8)](),'oauth':z[_0x38eb01(-0xa5,-0x94,-0xf1,-0x54)]({'clientId':z['string']()[_0x2cc51b(0x3a8,0x3ce,0x203,0x2d8)](),'clientMetadataUrl':z[_0x2cc51b(0x54a,0x5b4,0x693,0x570)]()['optional'](),'authorizationServer':z[_0x38eb01(-0x1c,0x64,0xe4,-0x115)]()['optional'](),'scopes':z[_0x2cc51b(0x58a,0x5c9,0x45f,0x562)](z[_0x2cc51b(0x6dd,0x4e7,0x535,0x570)]())[_0x2cc51b(0x3f8,0x42b,0x2a5,0x2d8)](),'tokenStorageKey':z['string']()[_0x38eb01(-0x267,-0x234,-0xcd,-0x290)]()})['passthrough']()[_0x2cc51b(0x37b,0x326,0x3e1,0x2d8)]()})['passthrough']()[_0x2cc51b(0x338,0x44d,0x196,0x2d8)]()})[_0x38eb01(0x8,-0x2b,0x14,0xeb)](),mcpToolPermissionClassSchema=z[_0x38eb01(-0x9e,-0x1a2,-0x6a,-0x26c)](['read','write',_0x38eb01(-0x2b1,-0x15d,-0x2c2,-0x29e)]),mcpSettingsSchema=z[_0x38eb01(-0x20e,-0x94,-0x9,-0x8c)]({'servers':prototypeSafeRecord(mcpServerConfigSchema)[_0x38eb01(-0x387,-0x234,-0x30a,-0x2eb)](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z[_0x38eb01(-0xf8,0x35,0xa2,-0x90)]()))[_0x38eb01(-0x1d3,-0x234,-0x2e4,-0x2ff)](),'toolPermissions':prototypeSafeRecord(prototypeSafeRecord(mcpToolPermissionClassSchema))[_0x38eb01(-0x246,-0x234,-0x383,-0x18b)](),'defaultTimeoutMs':z[_0x38eb01(0x43,-0x72,-0x1d,-0xad)]()[_0x38eb01(-0x1c0,-0x234,-0x2ae,-0x1bb)]()})[_0x38eb01(0xe9,-0x2b,-0xe4,0x3a)](),skillsSettingsSchema=z[_0x38eb01(-0xf0,-0x94,-0x185,-0xe2)]({'enabled':z[_0x38eb01(0xd7,0x35,-0xc,0x178)]()[_0x2cc51b(0x237,0x19d,0x335,0x2d8)](),'includeDefaults':z[_0x2cc51b(0x435,0x682,0x480,0x541)]()[_0x2cc51b(0x267,0x3c8,0x2fc,0x2d8)](),'directories':z[_0x38eb01(-0x69,0x56,-0xc,0x14d)](z[_0x2cc51b(0x5c7,0x515,0x4a2,0x570)]())[_0x2cc51b(0x3e7,0x3b9,0x1bd,0x2d8)](),'exclude':z['array'](z[_0x2cc51b(0x561,0x610,0x4cc,0x570)]())[_0x38eb01(-0xec,-0x234,-0x366,-0x365)]()})['passthrough'](),commandsSettingsSchema=z[_0x2cc51b(0x31c,0x5d1,0x343,0x478)]({'enabled':z['boolean']()[_0x2cc51b(0x186,0x3b3,0x1ba,0x2d8)](),'directories':z['array'](z[_0x2cc51b(0x6ec,0x456,0x613,0x570)]())[_0x2cc51b(0x29d,0x1be,0x421,0x2d8)]()})[_0x38eb01(-0x1a4,-0x2b,-0x16d,0xb)](),agentsSettingsSchema=z[_0x2cc51b(0x4ae,0x562,0x510,0x478)]({'enabled':z[_0x2cc51b(0x4ae,0x581,0x4ef,0x541)]()[_0x38eb01(-0x1fe,-0x234,-0x21c,-0x1fa)](),'includeDefaults':z[_0x38eb01(0xc7,0x35,-0x35,0x79)]()[_0x2cc51b(0x2e4,0x38c,0x20d,0x2d8)](),'directories':z[_0x38eb01(-0x92,0x56,-0x11a,-0x4a)](z['string']())['optional']()})[_0x38eb01(0x116,-0x2b,0x147,-0x92)](),uiThemeSettingsSchema=z[_0x38eb01(-0x16d,-0x94,-0x66,-0x203)]({'mode':z[_0x38eb01(-0x1e4,-0x1a2,-0x1c3,-0x173)]([_0x2cc51b(0x297,0x419,0x2b5,0x390),_0x38eb01(-0x15b,-0xad,-0x46,-0x78),_0x2cc51b(0x5dc,0x57b,0x34d,0x480)])['optional'](),'colorLevel':z['enum'](['auto','none',_0x38eb01(-0x352,-0x263,-0x24d,-0x3e8),_0x38eb01(0x119,0x4d,0xd7,0x174),_0x38eb01(-0x1ad,-0x188,-0x2ec,-0x117)])[_0x38eb01(-0x24d,-0x234,-0xc1,-0x2c0)](),'backgrounds':z[_0x2cc51b(0x35d,0x2a2,0x21e,0x36a)]([_0x38eb01(-0x1df,-0x17c,-0x13b,-0x1dd),'on','off'])[_0x38eb01(-0x224,-0x234,-0xb6,-0x1e5)](),'messageStyle':z[_0x2cc51b(0x3b7,0x4ee,0x3c7,0x36a)]([_0x38eb01(0x162,0x38,0xba,-0x143),_0x38eb01(-0x2a6,-0x283,-0x1bc,-0x2b8)])[_0x38eb01(-0x299,-0x234,-0x319,-0xc0)]()})[_0x2cc51b(0x543,0x5c2,0x4dd,0x4e1)](),statuslineSegmentSchema=z[_0x2cc51b(0x326,0x2a9,0x1fc,0x36a)]([_0x2cc51b(0x2f3,0x337,0x33c,0x457),_0x2cc51b(0x4a9,0x4e5,0x50c,0x4ca),_0x2cc51b(0x263,0x3cd,0x418,0x349),_0x38eb01(-0x22d,-0x23a,-0x262,-0x2e8),_0x2cc51b(0x2b8,0x412,0x36d,0x296),_0x2cc51b(0x542,0x600,0x48d,0x48b),_0x38eb01(-0x12c,-0x13,-0x37,0xdf),_0x2cc51b(0x3de,0x652,0x3e9,0x55e),_0x38eb01(0x166,-0x15,0xbf,0xb9),_0x2cc51b(0x617,0x424,0x5ae,0x4cc),_0x38eb01(-0x21c,-0x220,-0x10c,-0x266),'gitBranch',_0x38eb01(-0x54,-0x102,-0x1d3,-0x286),'memory','rss']),statuslineItemSchema=z[_0x38eb01(0x15b,0x0,-0x5c,-0x19)]([statuslineSegmentSchema,z['literal']('|')]),statuslineRowSchema=z['array'](statuslineItemSchema),statuslineConfigSchema=z[_0x38eb01(-0x177,-0x94,-0xa2,-0x206)]({'rows':z['tuple']([statuslineRowSchema,statuslineRowSchema])[_0x2cc51b(0x2b6,0x328,0x168,0x2d8)]()})[_0x2cc51b(0x55e,0x428,0x5e2,0x4e1)](),memorySettingsSchema=z['object']({'version':z[_0x38eb01(-0x3a3,-0x252,-0x362,-0x15d)](0x2)['optional'](),'retrieval':z['object']({'engine':z[_0x38eb01(-0x171,-0x252,-0x101,-0x34b)](_0x38eb01(-0xc8,-0x20b,-0x114,-0x223))[_0x38eb01(-0xcd,-0x234,-0x1ed,-0x126)](),'candidateLimit':z[_0x2cc51b(0x54a,0x377,0x4c8,0x49a)]()[_0x38eb01(-0x314,-0x234,-0x390,-0x294)](),'activeCandidateLimit':z['number']()['optional'](),'activeEnabled':z[_0x2cc51b(0x5b4,0x5f4,0x5c5,0x541)]()[_0x38eb01(-0x342,-0x234,-0x248,-0x39e)](),'maxQueriesPerTurn':z[_0x38eb01(-0x52,-0x72,-0x95,0x99)]()[_0x38eb01(-0x2ef,-0x234,-0x22d,-0x1a0)](),'coreInjectTokenBudget':z['number']()[_0x38eb01(-0xd3,-0x234,-0x28c,-0x18c)](),'injectTokenBudget':z['number']()['optional'](),'minScore':z[_0x38eb01(0x86,-0x72,-0x16,-0x20)]()[_0x2cc51b(0x239,0x323,0x1cc,0x2d8)](),'freshnessHalfLifeDays':z[_0x38eb01(0x8f,-0x72,0x8,0x85)]()[_0x2cc51b(0x30c,0x289,0x153,0x2d8)]()})[_0x2cc51b(0x5af,0x5d4,0x499,0x4e1)]()['optional'](),'extraction':z[_0x2cc51b(0x536,0x389,0x465,0x478)]({'enabled':z[_0x38eb01(0x81,0x35,0x146,0x164)]()[_0x38eb01(-0x1de,-0x234,-0x3b1,-0x1e2)](),'provider':z['string']()[_0x2cc51b(0x308,0x1ed,0x460,0x2d8)](),'model':z[_0x38eb01(0xd5,0x64,0x48,-0xe3)]()[_0x38eb01(-0xd1,-0x234,-0x25b,-0x1c9)](),'sensitiveFilter':z[_0x2cc51b(0x59d,0x3e7,0x45c,0x541)]()['optional']()})['passthrough']()[_0x2cc51b(0x37e,0x3fc,0x363,0x2d8)](),'index':z[_0x38eb01(-0xa9,-0x94,-0xf0,0xb4)]({'persisted':z[_0x2cc51b(0x564,0x3c7,0x65c,0x541)]()[_0x38eb01(-0xc1,-0x234,-0xe9,-0xca)](),'flushIntervalMs':z[_0x38eb01(0x73,-0x72,-0xe3,0x64)]()[_0x2cc51b(0x259,0x412,0x15a,0x2d8)]()})[_0x38eb01(-0x1a2,-0x2b,0x6a,0x149)]()[_0x38eb01(-0x2d8,-0x234,-0x2fb,-0x1e1)](),'enabled':z[_0x2cc51b(0x6b3,0x619,0x53b,0x541)]()[_0x2cc51b(0x232,0x255,0x20f,0x2d8)](),'saveTool':z[_0x2cc51b(0x5dc,0x575,0x5e3,0x541)]()[_0x2cc51b(0x434,0x1f0,0x415,0x2d8)](),'model':z['string']()[_0x38eb01(-0x190,-0x234,-0x1d3,-0x106)](),'provider':z['string']()[_0x38eb01(-0x39a,-0x234,-0x279,-0x304)](),'maxInjectionTokens':z[_0x2cc51b(0x4c6,0x335,0x5f0,0x49a)]()[_0x2cc51b(0x251,0x1a3,0x288,0x2d8)](),'backgroundExtraction':z['boolean']()['optional']()})[_0x38eb01(0x133,-0x2b,-0x160,0xb0)](),recentModelSchema=z[_0x2cc51b(0x358,0x3d0,0x521,0x478)]({'provider':z[_0x2cc51b(0x42a,0x583,0x69c,0x570)](),'model':z[_0x2cc51b(0x646,0x6ae,0x4b8,0x570)](),'usedAt':z['number']()})['passthrough'](),lspServerEntrySchema=z[_0x2cc51b(0x3dc,0x42c,0x3fa,0x478)]({'disabled':z[_0x2cc51b(0x55b,0x586,0x4a7,0x541)]()[_0x38eb01(-0x162,-0x234,-0x33f,-0x340)](),'command':z[_0x38eb01(0x178,0x64,0xd9,0x5f)]()[_0x2cc51b(0x36b,0x3f8,0x2c5,0x2d8)](),'args':z['array'](z[_0x38eb01(0x12d,0x64,0x34,-0xc2)]())[_0x2cc51b(0x3a1,0x2fd,0x3bb,0x2d8)](),'rootMarkers':z['array'](z[_0x2cc51b(0x602,0x557,0x4fe,0x570)]())[_0x38eb01(-0x14d,-0x234,-0xcb,-0x392)]()})[_0x2cc51b(0x3b1,0x595,0x40d,0x4e1)](),lspConfigSchema=z[_0x2cc51b(0x39a,0x442,0x58e,0x478)]({'enabled':z['boolean']()['optional'](),'servers':z[_0x2cc51b(0x38f,0x61c,0x600,0x4a9)](z[_0x2cc51b(0x402,0x597,0x59d,0x570)](),lspServerEntrySchema)[_0x2cc51b(0x259,0x230,0x2ed,0x2d8)]()})[_0x2cc51b(0x567,0x5d1,0x533,0x4e1)](),serverEndpointSchema=z[_0x2cc51b(0x563,0x5e1,0x300,0x478)]({'url':z[_0x2cc51b(0x653,0x62a,0x4aa,0x570)](),'token':z[_0x38eb01(0x1c1,0x64,-0x100,-0xd4)]()['optional']()})[_0x38eb01(-0x14f,-0x2b,-0x98,-0x156)](),commandHookConfigSchema=z['object']({'type':z['literal']('command'),'command':z['string'](),'timeout':z[_0x2cc51b(0x3e0,0x608,0x36e,0x49a)]()[_0x2cc51b(0x1a3,0x2de,0x195,0x2d8)]()}),hookMatcherGroupSchema=z[_0x2cc51b(0x30a,0x419,0x3ca,0x478)]({'matcher':z[_0x2cc51b(0x66a,0x565,0x68a,0x570)]()[_0x2cc51b(0x40f,0x36b,0x277,0x2d8)](),'hooks':z[_0x2cc51b(0x403,0x691,0x61d,0x562)](commandHookConfigSchema)}),hooksConfigSchema=z[_0x38eb01(0xef,-0x94,-0xc8,-0xaf)]({'PreToolUse':z[_0x2cc51b(0x5ba,0x546,0x668,0x562)](hookMatcherGroupSchema)[_0x38eb01(-0x37a,-0x234,-0x287,-0x2c8)](),'PostToolUse':z['array'](hookMatcherGroupSchema)[_0x2cc51b(0x414,0x2c8,0x3af,0x2d8)](),'UserPromptSubmit':z[_0x2cc51b(0x69b,0x62a,0x514,0x562)](hookMatcherGroupSchema)[_0x2cc51b(0x1fc,0x421,0x38c,0x2d8)](),'Stop':z[_0x2cc51b(0x4f9,0x421,0x461,0x562)](hookMatcherGroupSchema)[_0x2cc51b(0x1f7,0x24a,0x1d5,0x2d8)](),'Notification':z[_0x2cc51b(0x4e4,0x594,0x421,0x562)](hookMatcherGroupSchema)[_0x2cc51b(0x34f,0x298,0x2d6,0x2d8)](),'ToolApprovalRequest':z['array'](hookMatcherGroupSchema)[_0x2cc51b(0x422,0x35d,0x300,0x2d8)](),'SessionStart':z[_0x2cc51b(0x435,0x523,0x63b,0x562)](hookMatcherGroupSchema)['optional'](),'SessionEnd':z[_0x2cc51b(0x5fe,0x6c5,0x421,0x562)](hookMatcherGroupSchema)[_0x38eb01(-0x33a,-0x234,-0x15e,-0x1e7)]()}),providerNameSchema=z['string']()[_0x38eb01(-0x134,-0x1db,-0x129,-0xc8)](0x1,'Provider\x20name\x20cannot\x20be\x20empty')[_0x38eb01(-0x14a,-0x24b,-0x2dd,-0x340)](_0x204901=>!_0x204901[_0x38eb01(-0x234,-0x267,-0x291,-0x328)](':'),'Provider\x20name\x20cannot\x20contain\x20\x27:\x27'),cliConfigSchema=z[_0x2cc51b(0x389,0x3f1,0x3ac,0x478)]({'activeProvider':providerNameSchema['optional'](),'activeModel':z[_0x38eb01(0x2e,0x64,0xf9,-0x50)]()[_0x2cc51b(0x1fb,0x34d,0x2dd,0x2d8)](),'apiKey':z[_0x38eb01(0x119,0x64,0x132,0x17c)]()[_0x38eb01(-0x39c,-0x234,-0x2a3,-0xac)](),'providers':z['record'](providerNameSchema,providerConfigSchema)[_0x2cc51b(0x3e5,0x28a,0x2f6,0x2d8)](),'mcp':mcpSettingsSchema['optional'](),'skills':skillsSettingsSchema[_0x2cc51b(0x1e0,0x30b,0x166,0x2d8)](),'agents':agentsSettingsSchema[_0x38eb01(-0x1fd,-0x234,-0x19f,-0x208)](),'commands':commandsSettingsSchema['optional'](),'skillsEnabled':z[_0x38eb01(0x80,-0x63,0xc7,0xfe)](z[_0x38eb01(0x3,0x64,0x134,-0x80)](),z[_0x2cc51b(0x687,0x3bf,0x44d,0x541)]())[_0x2cc51b(0x435,0x29b,0x20b,0x2d8)](),'allowedDirs':z[_0x2cc51b(0x438,0x632,0x6bb,0x562)](z[_0x38eb01(0xe5,0x64,0x1bc,-0x16)]())[_0x38eb01(-0x1ad,-0x234,-0x114,-0x250)](),'mcpEnabled':prototypeSafeRecord(z[_0x2cc51b(0x3c7,0x613,0x54b,0x541)]())['optional'](),'commandsEnabled':z['record'](z[_0x38eb01(-0x55,0x64,0x28,0xc7)](),z[_0x2cc51b(0x5b6,0x69e,0x4d6,0x541)]())[_0x38eb01(-0x2ff,-0x234,-0x3b3,-0x15c)](),'memory':memorySettingsSchema[_0x2cc51b(0x17a,0x33c,0x2f2,0x2d8)](),'session':z[_0x2cc51b(0x310,0x398,0x5ee,0x478)]({'memPersist':z['boolean']()[_0x38eb01(-0x162,-0x234,-0xd5,-0x349)](),'persistEventLog':z[_0x2cc51b(0x5fd,0x52e,0x662,0x541)]()[_0x2cc51b(0x412,0x1c7,0x37c,0x2d8)](),'persistHttpLog':z['boolean']()[_0x38eb01(-0xac,-0x234,-0xdf,-0x1ff)]()})['passthrough']()['optional'](),'requireToolApproval':z[_0x2cc51b(0x4e9,0x4df,0x555,0x541)]()['optional'](),'thinking':z[_0x2cc51b(0x48c,0x253,0x28a,0x36a)]([_0x38eb01(-0x125,-0x5a,-0x23,-0xd4),_0x38eb01(-0x356,-0x250,-0x281,-0x1b5),'MEDIUM',_0x2cc51b(0x4d2,0x63e,0x667,0x510)])[_0x2cc51b(0x178,0x18a,0x1fb,0x2d8)](),'streamingChunks':z[_0x2cc51b(0x437,0x6a7,0x4b6,0x541)]()[_0x2cc51b(0x28b,0x236,0x27a,0x2d8)](),'agentsEnabled':z[_0x2cc51b(0x495,0x5ad,0x5a5,0x4a9)](z[_0x38eb01(0x14,0x64,-0x53,-0x97)](),z['boolean']())['optional'](),'recentModels':z[_0x2cc51b(0x5b6,0x4b4,0x438,0x562)](recentModelSchema)[_0x2cc51b(0x344,0x433,0x36e,0x2d8)](),'lsp':lspConfigSchema[_0x38eb01(-0x361,-0x234,-0x34e,-0x323)](),'servers':z[_0x2cc51b(0x493,0x361,0x3c8,0x4a9)](z[_0x2cc51b(0x497,0x68a,0x4bb,0x570)](),serverEndpointSchema)['optional'](),'ui':z[_0x38eb01(-0x210,-0x94,-0xfb,-0x1ff)]({'theme':uiThemeSettingsSchema[_0x38eb01(-0x171,-0x234,-0x270,-0x1fa)](),'statusline':statuslineConfigSchema['optional']()})['passthrough']()[_0x2cc51b(0x29c,0x32d,0x240,0x2d8)](),'tools':z[_0x38eb01(-0x1d9,-0x63,0x57,-0xe5)](z['string'](),z[_0x38eb01(-0xa3,-0x16e,-0x2e7,-0x23d)]())['optional'](),'hooks':hooksConfigSchema[_0x38eb01(-0x263,-0x234,-0x104,-0x239)]()})[_0x2cc51b(0x380,0x430,0x4d9,0x4e1)](),workspaceOverlaySchema=z[_0x38eb01(-0x5b,-0x94,-0x6a,0x3d)]({'root':z['string']()[_0x2cc51b(0x3ac,0x314,0x31b,0x2d8)](),'allowedDirs':z[_0x38eb01(0x12f,0x56,0x1cd,0x114)](z[_0x38eb01(0x1ec,0x64,-0x1e,0x22)]())['optional'](),'activeProvider':providerNameSchema[_0x38eb01(-0x11d,-0x234,-0x1e3,-0x2ac)](),'activeModel':z[_0x38eb01(0x1e6,0x64,0x1a8,0x59)]()[_0x38eb01(-0x33e,-0x234,-0x143,-0x2cc)](),'mcp':mcpSettingsSchema[_0x2cc51b(0x1b9,0x344,0x34d,0x2d8)](),'skills':skillsSettingsSchema[_0x2cc51b(0x184,0x1a4,0x348,0x2d8)](),'agents':agentsSettingsSchema['optional'](),'commands':commandsSettingsSchema[_0x2cc51b(0x2d8,0x255,0x31a,0x2d8)](),'hooks':hooksConfigSchema[_0x2cc51b(0x2b3,0x3c1,0x2bb,0x2d8)](),'memory':memorySettingsSchema[_0x38eb01(-0x195,-0x234,-0x220,-0x1b2)](),'mcpEnabled':prototypeSafeRecord(z['boolean']())['optional'](),'skillsEnabled':z['record'](z['string'](),z['boolean']())[_0x2cc51b(0x410,0x1da,0x1fb,0x2d8)](),'agentsEnabled':z[_0x2cc51b(0x491,0x3cb,0x4ba,0x4a9)](z[_0x38eb01(0x3e,0x64,0x1d9,0x46)](),z['boolean']())[_0x2cc51b(0x2a8,0x23c,0x2dc,0x2d8)](),'commandsEnabled':z[_0x38eb01(-0xf,-0x63,-0x114,-0x7b)](z[_0x2cc51b(0x51b,0x4c6,0x489,0x570)](),z['boolean']())['optional']()})[_0x38eb01(-0x109,-0x2b,0xa7,0x117)](),PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object[_0x2cc51b(0x2cb,0x30f,0x37a,0x44a)](Object[_0x2cc51b(0x477,0x3a5,0x47c,0x420)]),_0x2cc51b(0x370,0x42e,0x3ae,0x420)]);function buildDescription(_0x163efc){const _0x31b460={_0x5ed479:0x3cf,_0x12d094:0x2a2,_0x3514b0:0x425,_0x26e0dd:0x3de,_0x3b8148:0x2dd,_0x42dfc0:0x22d,_0x4d6d79:0x1cb,_0x1588f3:0x3e7,_0x254ca6:0x295,_0x15ddcf:0x425,_0x506804:0x3a3,_0x69fe65:0x382,_0xb42029:0x3be,_0x3b8dc4:0x345,_0x56fce1:0x45c,_0x2c2f2f:0x1e0,_0x44ef26:0x258,_0x55e78e:0x3fa,_0x2f2ea8:0x507,_0x61a1cb:0x3ab,_0x41269e:0x2ff,_0x189376:0x197,_0x66bb1d:0x1a9},_0x55cd02={_0x510228:0xd6,_0x319951:0x36};function _0x67989c(_0x16bc29,_0x327972,_0x4e7eab,_0x24c757){return _0x38eb01(_0x327972,_0x24c757- -0x77,_0x4e7eab-0x2d,_0x24c757-0x58);}if(_0x163efc[_0x2ddaa8(_0x31b460._0x5ed479,_0x31b460._0x12d094,0x29d,0x486)]===0x0)return[_0x2ddaa8(_0x31b460._0x3514b0,_0x31b460._0x26e0dd,_0x31b460._0x3b8148,0x2f3),_0x67989c(-_0x31b460._0x42dfc0,-0xd0,-0x10f,-_0x31b460._0x4d6d79),_0x67989c(-0x3e3,-_0x31b460._0x1588f3,-0x1a9,-_0x31b460._0x254ca6)]['join']('\x0a');function _0x2ddaa8(_0x2bab90,_0x22dd2f,_0x2e0eb0,_0x548b85){return _0x2cc51b(_0x2e0eb0,_0x22dd2f-_0x55cd02._0x510228,_0x2e0eb0-0x15d,_0x2bab90- -_0x55cd02._0x319951);}const _0x4f76f6=[_0x2ddaa8(_0x31b460._0x15ddcf,0x348,0x4b4,_0x31b460._0x506804),_0x2ddaa8(_0x31b460._0x69fe65,0x219,_0x31b460._0xb42029,0x2a7),_0x2ddaa8(_0x31b460._0x3b8dc4,_0x31b460._0x56fce1,_0x31b460._0x2c2f2f,_0x31b460._0x44ef26),..._0x163efc[_0x2ddaa8(0x483,_0x31b460._0x55e78e,_0x31b460._0x2f2ea8,_0x31b460._0x61a1cb)](_0x46b011=>_0x46b011[_0x2ddaa8(0x299,0x3dd,0x230,0x3d6)]?'-\x20'+_0x46b011[_0x67989c(-0x41c,-0x19f,-0x3e4,-0x2d5)]+'\x20'+_0x46b011[_0x2ddaa8(0x299,0x1be,0x218,0x3d4)]+':\x20'+_0x46b011[_0x67989c(-0x170,-0x2e1,-0x76,-0x1b3)]:'-\x20'+_0x46b011[_0x2ddaa8(0x278,0x23e,0x260,0x2fa)]+':\x20'+_0x46b011[_0x2ddaa8(0x39a,0x3ad,0x3ce,0x329)])];return _0x4f76f6[_0x2ddaa8(_0x31b460._0x41269e,0x365,_0x31b460._0x189376,_0x31b460._0x66bb1d)]('\x0a');}function createInvokeCommandTool(_0x1a9fe4){const _0x4b339c={_0x5942ad:0x6d,_0x2da392:0x1d,_0x41a6b6:0x148,_0x2e4f38:0x1a6,_0x68ef84:0x185,_0x231182:0xd0,_0x92a983:0x42,_0x5af9f9:0xa3,_0x33c190:0x4b,_0x34c203:0x176,_0xd63c2a:0x25a,_0x554c19:0x14c,_0x274719:0x24d},_0x3beb01={_0x2215ba:0x521,_0x510590:0x4aa,_0x5b2531:0x5c6,_0x3ad03a:0x4ac,_0x4383d9:0x1dc,_0x32231a:0x6c,_0x2b35b6:0x520,_0x61c2fa:0x57e,_0x238074:0x403,_0x26572f:0xfa,_0x18fbb1:0x41,_0x39fb6b:0x56,_0x27f917:0x69,_0x2e7a98:0x10e,_0x5024d9:0x88,_0x1cbc32:0x2f6,_0x31d819:0x745,_0x456990:0x623,_0x14f39a:0x89,_0x5e79d8:0xea,_0xa61900:0x147,_0x49bc68:0x17e,_0xd8db49:0x7c,_0x585137:0x122},_0x2773bb={_0x2bf656:0x16f,_0x319e60:0x1a2,_0x43f208:0x86},_0x2efa77={_0x37ab42:0xbb},_0x2dd129={_0x194cfe:0x109},_0x5e6aea=new Map(_0x1a9fe4[_0x2bb172(0xf3,_0x4b339c._0x5942ad,_0x4b339c._0x2da392,0xa3)][_0x158a1d(0x196,0x242,0x2df,0x1cc)](_0x37caf5=>[_0x37caf5['id'],_0x37caf5])),_0x38673e=buildDescription(_0x1a9fe4[_0x2bb172(-0x49,_0x4b339c._0x41a6b6,0x1d,_0x4b339c._0x2e4f38)]);function _0x2bb172(_0x24eae5,_0x343079,_0xe6bb51,_0x824420){return _0x2cc51b(_0x343079,_0x343079-_0x2dd129._0x194cfe,_0xe6bb51-0x18f,_0xe6bb51- -0x3fa);}function _0x158a1d(_0x58a9f7,_0x1bc8f7,_0x403653,_0x54b97c){return _0x2cc51b(_0x58a9f7,_0x1bc8f7-_0x2efa77._0x37ab42,_0x403653-0xf5,_0x1bc8f7- -0x277);}return defineTool({'name':_0x2bb172(_0x4b339c._0x68ef84,_0x4b339c._0x231182,0x8,_0x4b339c._0x92a983),'permissionClass':_0x2bb172(-_0x4b339c._0x5af9f9,-0xf9,-_0x4b339c._0x33c190,-0x197),'description':_0x38673e,'inputSchema':{'type':'object','properties':{'name':{'type':_0x2bb172(0x29c,0x1c7,_0x4b339c._0x34c203,0x242)},'args':{'type':_0x158a1d(0x262,0x2f9,0x1f6,_0x4b339c._0xd63c2a)}},'required':[_0x2bb172(-0x125,-0xad,-_0x4b339c._0x554c19,-_0x4b339c._0x274719)]},async *'execute'(_0x58a6d3){const _0x421840={_0x141a93:0x4da,_0x374423:0x90},_0x3a944c=_0x5e6aea[_0xaa0467(_0x3beb01._0x2215ba,_0x3beb01._0x510590,_0x3beb01._0x5b2531,_0x3beb01._0x3ad03a)](_0x58a6d3['name']);if(!_0x3a944c){const _0x52c292=Array[_0x54c03a(_0x3beb01._0x4383d9,_0x3beb01._0x32231a,0xca,0xa8)](_0x5e6aea[_0xaa0467(_0x3beb01._0x2b35b6,0x481,_0x3beb01._0x61c2fa,_0x3beb01._0x238074)]())['join'](',\x20');throw new ToolExecutionError(_0x54c03a(0x125,_0x3beb01._0x26572f,-_0x3beb01._0x18fbb1,0x149)+_0x58a6d3[_0xaa0467(0x30c,0x42b,0x4f0,0x38e)]+'\x27\x20not\x20found.\x20Available\x20commands:\x20'+_0x52c292,{'name':_0x58a6d3[_0x54c03a(_0x3beb01._0x39fb6b,_0x3beb01._0x27f917,_0x3beb01._0x2e7a98,-_0x3beb01._0x5024d9)]});}const _0x4961c4=await _0x1a9fe4[_0x54c03a(0x26a,_0x3beb01._0x1cbc32,0x37a,0x200)](_0x3a944c);function _0x54c03a(_0x253c35,_0x191621,_0x16bbee,_0x139d69){return _0x2bb172(_0x253c35-_0x2773bb._0x2bf656,_0x16bbee,_0x253c35-_0x2773bb._0x319e60,_0x139d69-_0x2773bb._0x43f208);}function _0xaa0467(_0x3aa1de,_0x1ac804,_0x37e7a3,_0x1469a2){return _0x2bb172(_0x3aa1de-0x143,_0x37e7a3,_0x1469a2-_0x421840._0x141a93,_0x1469a2-_0x421840._0x374423);}const _0x559f2b=_0x58a6d3[_0xaa0467(_0x3beb01._0x31d819,0x4e7,0x735,_0x3beb01._0x456990)]??'',_0x4161dd=renderCommandInstructions({'instructions':_0x4961c4[_0x54c03a(_0x3beb01._0x14f39a,-0x71,-0xd0,-_0x3beb01._0x5e79d8)],'argumentsText':_0x559f2b,'argumentNames':_0x4961c4[_0x54c03a(0x38,_0x3beb01._0xa61900,-0x66,_0x3beb01._0x49bc68)]});return yield createToolOutput(_0x4161dd,{'id':_0x4961c4['id'],'name':_0x4961c4[_0x54c03a(0x56,_0x3beb01._0xd8db49,0x3f,_0x3beb01._0x585137)],'path':_0x3a944c[_0xaa0467(0x5a3,0x46b,0x4c8,0x569)]['path']}),void 0x0;}});}import{createHash}from'crypto';import{readFile as _0x134ef0,rename as _0x761c8c,stat as _0x1c9c2b,writeFile as _0x5b5155}from'fs/promises';import*as _0x1bf948 from'path';function detectEol(_0x42a887){const _0x39924b={_0x2aed1e:0x167,_0x51f983:0x5bc},_0x9f24c={_0xab4290:0x128},_0x3140bd={_0x2fbb57:0x1d3};function _0x1a4c3f(_0x597f61,_0x469197,_0x514a8f,_0x4d5d17){return _0x38eb01(_0x514a8f,_0x469197-0x505,_0x514a8f-0x1d7,_0x4d5d17-_0x3140bd._0x2fbb57);}function _0x47f7e8(_0x3543ed,_0x7a8cb6,_0x2c4e65,_0x48b99d){return _0x2cc51b(_0x3543ed,_0x7a8cb6-0x1db,_0x2c4e65-_0x9f24c._0xab4290,_0x48b99d- -0x1bc);}return/\r\n/['test'](_0x42a887[_0x47f7e8(_0x39924b._0x2aed1e,0x2f2,0x2c9,0x255)](_0x1a4c3f(0x4c0,0x3e2,0x53f,0x35e)))?_0x1a4c3f(_0x39924b._0x51f983,0x43b,0x301,0x4e9):'lf';}function normalizeToLf(_0x32b6cc){const _0x4985bf={_0x352359:0x16f},_0x54d8de={_0x10291e:0x133};function _0x3e1b51(_0x3ffc10,_0x4969e8,_0x4e57f1,_0x5b8ae5){return _0x2cc51b(_0x3ffc10,_0x4969e8-_0x54d8de._0x10291e,_0x4e57f1-0x35,_0x4e57f1- -0x43c);}return _0x32b6cc[_0x3e1b51(-0xc4,-_0x4985bf._0x352359,-0x1b0,-0x1de)](/\r\n/g,'\x0a');}function convertEol(_0x48ee95,_0x246802){return _0x246802==='crlf'?_0x48ee95['replace'](/\n/g,'\x0d\x0a'):_0x48ee95;}async function atomicWrite(_0x4be3b1,_0x137b0b){const _0x52aef4={_0x10a1b4:0x1ba,_0x471112:0xfd,_0x330b31:0x17f,_0x4a82a0:0x52d,_0x5a700c:0x558,_0x27cd7c:0x53a,_0x4b5f3c:0x1b8,_0xde2f75:0x168,_0x4a81c5:0x3c4,_0x9ad6dc:0x3b5,_0x3a7434:0x225,_0x4cffb7:0x3aa,_0xfe31fc:0x30e,_0x489410:0x353},_0x4fa370={_0x105dab:0x19},_0x32cfe4=_0x1bf948[_0x393d49(0x219,_0x52aef4._0x10a1b4,_0x52aef4._0x471112,_0x52aef4._0x330b31)](_0x4be3b1),_0x2f00a6=_0x1bf948['join'](_0x32cfe4,_0x52717f(_0x52aef4._0x4a82a0,0x4fc,_0x52aef4._0x5a700c,_0x52aef4._0x27cd7c)+_0x1bf948[_0x393d49(_0x52aef4._0x4b5f3c,_0x52aef4._0xde2f75,0x28d,0x223)](_0x4be3b1)+'.'+Date[_0x52717f(0x318,_0x52aef4._0x4a81c5,_0x52aef4._0x9ad6dc,0x317)]()+'.'+Math[_0x52717f(_0x52aef4._0x3a7434,0x234,_0x52aef4._0x4cffb7,_0x52aef4._0xfe31fc)]()[_0x52717f(_0x52aef4._0x489410,0x362,0x442,0x428)](0x24)['slice'](0x2));await _0x5b5155(_0x2f00a6,_0x137b0b);function _0x393d49(_0x3ae7ab,_0x5e2479,_0x3e8a5d,_0xd79f32){return _0x38eb01(_0xd79f32,_0x3e8a5d-0x286,_0x3e8a5d-_0x4fa370._0x105dab,_0xd79f32-0x34);}function _0x52717f(_0x363a28,_0x18eccb,_0x8d20d4,_0x536a6f){return _0x38eb01(_0x18eccb,_0x536a6f-0x523,_0x8d20d4-0x8d,_0x536a6f-0x1b);}await _0x761c8c(_0x2f00a6,_0x4be3b1);}function sha256(_0x595a05){const _0x5ae8ec={_0x33d289:0x5bf,_0x2b6d6b:0x3cc,_0x1c75bb:0x382,_0x2f8d49:0x796,_0x3fde4f:0x5c8},_0x47ff80={_0x5720e8:0x1aa,_0x57ddcf:0xd0},_0x4c58a7={_0x52328d:0x146,_0x3d15bd:0x192};function _0x3f63e6(_0x466949,_0x5b837f,_0x2dc563,_0xebf1d5){return _0x2cc51b(_0xebf1d5,_0x5b837f-_0x4c58a7._0x52328d,_0x2dc563-_0x4c58a7._0x3d15bd,_0x2dc563-0x1a3);}function _0x4d67da(_0x3ba8d5,_0x143c07,_0x3f6aff,_0x122b0c){return _0x2cc51b(_0x143c07,_0x143c07-_0x47ff80._0x5720e8,_0x3f6aff-0x7,_0x122b0c-_0x47ff80._0x57ddcf);}return createHash(_0x3f63e6(_0x5ae8ec._0x33d289,0x5ad,0x502,_0x5ae8ec._0x2b6d6b))[_0x4d67da(0x35e,0x44f,0x1fd,_0x5ae8ec._0x1c75bb)](_0x595a05)[_0x3f63e6(0x4d7,0x4db,0x4b3,0x4bf)](_0x3f63e6(0x79b,_0x5ae8ec._0x2f8d49,0x6b2,_0x5ae8ec._0x3fde4f));}function countLines(_0x1c33f7){const _0x2a098d={_0x5223c4:0x17,_0x521fea:0x83,_0x29d767:0xe0,_0x373b00:0x5ee,_0xd272a:0x785,_0x482d0d:0x6d1,_0x42c0eb:0x3e,_0x1b38c9:0x202},_0x367c56={_0x4d1226:0x1e7,_0x6e9068:0x72,_0x150090:0x2e},_0x592899=_0x1c33f7['replace'](/\n$/,'');function _0x505ff5(_0x3a33f8,_0x2acedc,_0x372742,_0x4a8f2d){return _0x38eb01(_0x4a8f2d,_0x372742-_0x367c56._0x4d1226,_0x372742-_0x367c56._0x6e9068,_0x4a8f2d-_0x367c56._0x150090);}function _0x379da8(_0x3c7af9,_0x3a3ee8,_0x241c99,_0x1933c5){return _0x2cc51b(_0x241c99,_0x3a3ee8-0x42,_0x241c99-0x1d7,_0x1933c5-0x1b8);}return _0x592899[_0x505ff5(-_0x2a098d._0x5223c4,-_0x2a098d._0x521fea,_0x2a098d._0x29d767,0x1de)]===0x0?0x0:_0x592899[_0x379da8(_0x2a098d._0x373b00,_0x2a098d._0xd272a,0x824,_0x2a098d._0x482d0d)]('\x0a')[_0x505ff5(0x1aa,_0x2a098d._0x42c0eb,0xe0,_0x2a098d._0x1b38c9)];}function calculateLineNumbers(_0x30d0a6,_0x2fed18,_0x197440,_0x1d9ed0){const _0x3e3bfb={_0x4ed955:0x199,_0x5a172f:0x240,_0x4a9b1b:0x339},_0xe3700c={_0x211360:0x347,_0x6450fc:0x132},_0x52dd6a={_0x590afd:0x599};function _0x151e6c(_0x5061a4,_0x3a49df,_0x269c34,_0x2cc6b1){return _0x2cc51b(_0x5061a4,_0x3a49df-0xae,_0x269c34-0x177,_0x2cc6b1- -_0x52dd6a._0x590afd);}const _0x431575=_0x30d0a6[_0x151e6c(-_0x3e3bfb._0x4ed955,0xc0,-0xbd,-0x28)](0x0,_0x1d9ed0)['split']('\x0a')[_0x50f138(_0x3e3bfb._0x5a172f,_0x3e3bfb._0x4a9b1b,0x172,0x1bf)];function _0x50f138(_0x3e1821,_0x18b01e,_0x52d64c,_0x33cdc2){return _0x38eb01(_0x18b01e,_0x3e1821-_0xe3700c._0x211360,_0x52d64c-0x42,_0x33cdc2-_0xe3700c._0x6450fc);}const _0x9f2dcb=countLines(_0x2fed18),_0x5d906c=countLines(_0x197440);return{'oldStartLine':_0x431575,'oldEndLine':_0x431575+_0x9f2dcb-0x1,'newStartLine':_0x431575,'newEndLine':_0x431575+_0x5d906c-0x1,'oldLineCount':_0x9f2dcb,'newLineCount':_0x5d906c};}function createFileEditTool(_0x43d3a2={}){const _0x4df1af={_0x216323:0x2a6,_0xb724e:0x163,_0x2857be:0x36a,_0x1be62b:0x4cf,_0x9c8065:0x5ae,_0x109678:0x754,_0x2b84cb:0x67b,_0x236146:0x651,_0x26d0a3:0x127,_0x29c919:0x211,_0x2110b7:0x5fe,_0x1b6e47:0x6aa,_0x331003:0x2a7,_0x1f3d51:0x462,_0x399f70:0x458,_0x2904c7:0x2bf,_0x3e8789:0x48a,_0x4e0916:0x5f9,_0x3f67de:0x39c,_0x115609:0x3dd,_0x498e98:0x47b,_0x2fdb4f:0x3d2,_0x40d6eb:0x4e6,_0x3c7f24:0x4d3,_0x4f2c4c:0x3ca,_0x5c9b0d:0x3e6,_0xdfa458:0x4f0,_0x170b2a:0x358,_0x4d3dcc:0x578},_0x15abfd={_0x5da13e:0xaf,_0x562348:0x18a,_0x6949b6:0x1a3,_0x314b44:0x67,_0x34914d:0x45,_0x265dc3:0x210,_0x3f9eac:0x7f,_0x5bed50:0x9b,_0x129f77:0x1b5,_0x4e210e:0x266,_0x3f4b3a:0x395,_0x7dc135:0x2a6,_0x57f515:0xed,_0x5ae988:0xa,_0x3a0a77:0x1af,_0x2dc57f:0xa1,_0x245e04:0x7d,_0x41527f:0x7f,_0x3855b6:0x37,_0x1ffada:0x68,_0x399c36:0x25,_0x3be558:0xd1,_0x3b5507:0x1d1,_0x1464fa:0x54,_0x1bb6e6:0x34,_0x1a150d:0x89,_0x5cac46:0xd7,_0x1bd035:0x103,_0x11fef7:0x19c,_0xcaa46f:0xf3,_0x3312cb:0x317,_0x183c55:0x25f,_0x375737:0x14c,_0x2c41ff:0x14b,_0xfcdaac:0x55,_0x407fcf:0x6f,_0x3afd6b:0x1a,_0x1c6dad:0x3c,_0x348d41:0x5,_0x5792d8:0x73,_0x4b200b:0xad,_0x48a484:0x30,_0x1fd3b0:0x256,_0x2665f9:0x235,_0xfd2830:0x1d4,_0x5aa4fa:0xf1},_0x2d6353={_0x534cc8:0x181,_0x4db591:0x638},_0x4b1c7c={_0x34b3e8:0x1d1,_0x2a8fc0:0x26},_0x392cec={_0xe76ab3:0x46f},_0x9579bb={_0x512886:0x186,_0x2d1d9f:0xb8};function _0x58ff6e(_0x370d19,_0x2560b5,_0x5d28d8,_0xa68895){return _0x38eb01(_0x370d19,_0xa68895-0x652,_0x5d28d8-_0x9579bb._0x512886,_0xa68895-_0x9579bb._0x2d1d9f);}const _0x1c4645=_0x1bf948['resolve'](_0x43d3a2[_0x210055(_0x4df1af._0x216323,_0x4df1af._0xb724e,_0x4df1af._0x2857be,0x25f)]??process[_0x58ff6e(0x4aa,0x436,_0x4df1af._0x1be62b,_0x4df1af._0x9c8065)]()),_0xb9be64=_0x43d3a2[_0x58ff6e(0x6eb,_0x4df1af._0x109678,_0x4df1af._0x2b84cb,_0x4df1af._0x236146)]??[];function _0x210055(_0x4fa898,_0x40067f,_0x5c0a1c,_0xce3333){return _0x38eb01(_0x40067f,_0xce3333-_0x392cec._0xe76ab3,_0x5c0a1c-0xcb,_0xce3333-0x131);}const _0x303cf3=_0x43d3a2[_0x210055(_0x4df1af._0x26d0a3,0x13a,0x18e,_0x4df1af._0x29c919)]??'FileEdit';return defineTool({'name':_0x303cf3,'permissionClass':_0x58ff6e(0x635,_0x4df1af._0x2110b7,0x653,_0x4df1af._0x1b6e47),'description':_0x210055(_0x4df1af._0x331003,0x336,0x2b5,0x381),'inputSchema':{'type':_0x210055(_0x4df1af._0x1f3d51,_0x4df1af._0x399f70,_0x4df1af._0x2904c7,0x3db),'properties':{'filePath':{'type':_0x210055(_0x4df1af._0x3e8789,_0x4df1af._0x4e0916,0x41c,0x4d3)},'description':{'type':_0x210055(_0x4df1af._0x3f67de,0x5f6,_0x4df1af._0x115609,0x4d3),'description':_0x210055(_0x4df1af._0x498e98,_0x4df1af._0x2fdb4f,0x424,0x454)},'oldText':{'type':_0x210055(0x404,_0x4df1af._0x40d6eb,0x3a1,_0x4df1af._0x3c7f24)},'newText':{'type':_0x210055(_0x4df1af._0x4f2c4c,_0x4df1af._0x5c9b0d,0x592,0x4d3)},'dryRun':{'type':'boolean'}},'required':['filePath',_0x210055(0x2bf,_0x4df1af._0xdfa458,0x3cb,0x432),_0x58ff6e(_0x4df1af._0x170b2a,_0x4df1af._0x4d3dcc,0x46a,0x428)]},async *'execute'(_0x1f2d99){const _0xf03c3a=resolveAllowedPath(_0x1c4645,_0xb9be64,_0x1f2d99['filePath']);function _0x1d08ce(_0x2e0f12,_0x38c945,_0x17cae2,_0x3d2b4f){return _0x58ff6e(_0x17cae2,_0x38c945-_0x4b1c7c._0x34b3e8,_0x17cae2-_0x4b1c7c._0x2a8fc0,_0x38c945- -0x64b);}await assertWorkspaceFile(_0xf03c3a);const _0x407f29=await _0x1c9c2b(_0xf03c3a),_0x3c5f6f=await _0x134ef0(_0xf03c3a),_0x258a02=detectEol(_0x3c5f6f);function _0x512147(_0x421be1,_0x54e3d2,_0xea9cb,_0x389c9c){return _0x58ff6e(_0x54e3d2,_0x54e3d2-_0x2d6353._0x534cc8,_0xea9cb-0xe7,_0x421be1- -_0x2d6353._0x4db591);}const _0x7e3bb7=normalizeToLf(_0x3c5f6f[_0x512147(-0xe1,-0x151,-_0x15abfd._0x5da13e,-_0x15abfd._0x562348)](_0x512147(-0x109,-_0x15abfd._0x6949b6,-0x177,-0x179))),_0x4f113f=normalizeToLf(_0x1f2d99[_0x1d08ce(_0x15abfd._0x314b44,-0x36,_0x15abfd._0x34914d,-0x56)]),_0x49f29f=normalizeToLf(_0x1f2d99[_0x512147(-_0x15abfd._0x265dc3,-0x11e,-0x2f5,-0x292)]),_0x39d89d=_0x7e3bb7['indexOf'](_0x4f113f);if(_0x39d89d===-0x1){const _0x283f74=_0x4f113f[_0x512147(_0x15abfd._0x3f9eac,-_0x15abfd._0x5bed50,0x1ca,_0x15abfd._0x129f77)](0x0,0x64)[_0x512147(-_0x15abfd._0x4e210e,-_0x15abfd._0x3f4b3a,-_0x15abfd._0x7dc135,-0x1d8)](/\n/g,'\x5cn');throw new ToolExecutionError('oldText\x20not\x20found\x20in\x20file.\x20Make\x20sure\x20it\x20matches\x20exactly\x20including\x20whitespace.\x20Searching\x20for:\x20\x22'+_0x283f74+(_0x4f113f[_0x512147(-_0x15abfd._0x57f515,-0x119,-_0x15abfd._0x5ae988,-0xea)]>0x64?'...':'')+'\x22',{'filePath':_0x1f2d99[_0x1d08ce(-0x16a,-_0x15abfd._0x3a0a77,-0x2fb,-_0x15abfd._0x2dc57f)]});}const _0x312874=_0x7e3bb7[_0x512147(0x7f,0x9e,-_0x15abfd._0x245e04,0x105)](0x0,_0x39d89d)+_0x49f29f+_0x7e3bb7[_0x512147(_0x15abfd._0x41527f,0x90,0x18e,0x14)](_0x39d89d+_0x4f113f[_0x512147(-0xed,0x53,_0x15abfd._0x3855b6,-_0x15abfd._0x1ffada)]),_0x109cc2=convertEol(_0x312874,_0x258a02),_0x4ec193=Buffer[_0x1d08ce(_0x15abfd._0x399c36,-_0x15abfd._0x3be558,-_0x15abfd._0x3b5507,-0x166)](_0x109cc2,'utf8'),_0x3824e5=sha256(_0x3c5f6f),_0x568ff7=sha256(_0x4ec193),_0x5b9d76=_0x3824e5===_0x568ff7,_0xe2fd62=_0x1f2d99['dryRun']??![];return!_0xe2fd62&&!_0x5b9d76&&await atomicWrite(_0xf03c3a,_0x4ec193),yield createToolOutput(_0x5b9d76?_0x1d08ce(_0x15abfd._0x1464fa,-0xe3,-0xef,_0x15abfd._0x1bb6e6):_0xe2fd62?_0x1d08ce(0x19a,0x8d,_0x15abfd._0x1a150d,_0x15abfd._0x5cac46):_0x1d08ce(-0x9c,-0x67,0x9b,-_0x15abfd._0x1bd035),{'filePath':_0x1f2d99[_0x512147(-_0x15abfd._0x11fef7,-_0x15abfd._0xcaa46f,-_0x15abfd._0x3312cb,-0x123)],'resolvedPath':_0xf03c3a,'created':_0x407f29[_0x1d08ce(-0x30c,-_0x15abfd._0x183c55,-_0x15abfd._0x375737,-_0x15abfd._0x2c41ff)][_0x1d08ce(-_0x15abfd._0xfcdaac,-0x73,_0x15abfd._0x407fcf,-0x27)](),'modified':_0x407f29[_0x512147(-_0x15abfd._0x3afd6b,_0x15abfd._0x1c6dad,0x3,0x3e)][_0x1d08ce(_0x15abfd._0x348d41,-_0x15abfd._0x5792d8,_0x15abfd._0x4b200b,_0x15abfd._0x48a484)](),'size':_0x407f29[_0x1d08ce(0x4,-0xd7,0x1a,-0xf9)],'eol':_0x258a02,'oldTextLength':_0x4f113f['length'],'newTextLength':_0x49f29f[_0x512147(-0xed,-_0x15abfd._0x1fd3b0,0x56,-_0x15abfd._0x2665f9)],'bytesWritten':_0x5b9d76||_0xe2fd62?0x0:_0x4ec193[_0x512147(-0xed,-0x154,-_0x15abfd._0xfd2830,-_0x15abfd._0x5aa4fa)],'beforeSha':_0x3824e5,'afterSha':_0x568ff7,'dryRun':_0xe2fd62,'noChange':_0x5b9d76,'lineNumbers':calculateLineNumbers(_0x7e3bb7,_0x4f113f,_0x49f29f,_0x39d89d)}),void 0x0;}});}import{mkdir as _0x294ca6,rename as _0x138e5a,stat as _0x582b3a,writeFile as _0x248af7}from'fs/promises';import*as _0x379f68 from'path';async function atomicWrite2(_0x5206c5,_0x242c31){const _0xbd3f02={_0x2961dc:0x181,_0x48b853:0x13e,_0xce8f43:0x2e9,_0x2918de:0x503,_0x5d0655:0x4fd,_0x5a4935:0x1f9,_0x5d3d71:0x361,_0x21ed86:0x1f0,_0x750f1b:0x15e,_0x4276ff:0x10f,_0xf9d349:0x30a,_0x46ba0b:0x37d,_0xa39759:0x18b},_0x4f3248={_0x3c42f9:0xb5},_0x101919=_0x379f68[_0x3551ad(0x27c,0x287,_0xbd3f02._0x2961dc,_0xbd3f02._0x48b853)](_0x5206c5);await _0x294ca6(_0x101919,{'recursive':!![]});function _0x3551ad(_0x4597d6,_0x471911,_0x142aa4,_0x323bdf){return _0x38eb01(_0x323bdf,_0x4597d6-0x405,_0x142aa4-0x11d,_0x323bdf-0xc0);}function _0xbc68a7(_0x4ebc83,_0x7a1ce0,_0x4b478d,_0xa84f26){return _0x38eb01(_0x4ebc83,_0x4b478d-0x4c0,_0x4b478d-0xfe,_0xa84f26-_0x4f3248._0x3c42f9);}const _0x45d8c4=_0x379f68[_0xbc68a7(0x376,0x3fa,_0xbd3f02._0xce8f43,0x32f)](_0x101919,_0xbc68a7(_0xbd3f02._0x2918de,_0xbd3f02._0x5d0655,0x4d7,0x469)+_0x379f68['basename'](_0x5206c5)+'.'+Date[_0x3551ad(_0xbd3f02._0x5a4935,0x344,_0xbd3f02._0x5d3d71,0x2b7)]()+'.'+Math[_0x3551ad(_0xbd3f02._0x21ed86,_0xbd3f02._0x750f1b,_0xbd3f02._0x4276ff,0x27e)]()[_0x3551ad(_0xbd3f02._0xf9d349,0x465,_0xbd3f02._0x46ba0b,_0xbd3f02._0xa39759)](0x24)['slice'](0x2));await _0x248af7(_0x45d8c4,_0x242c31),await _0x138e5a(_0x45d8c4,_0x5206c5);}function createFileNewTool(_0x114bb3={}){const _0x4e30c1={_0x400b61:0x53,_0x10fb36:0xc3,_0x309506:0x88,_0x28e1aa:0x8a,_0x1edfdb:0x1c7,_0x54d0b6:0x1e4,_0xebe599:0x1aa,_0x56c7da:0x23e,_0x4ae57a:0x134,_0xf6d22f:0x2a,_0x168c7f:0x7d,_0x53f95e:0x110,_0x366658:0xc5,_0xddc9e9:0x3e3,_0x20885a:0x1d7,_0x3a8773:0x1b2,_0x4b312d:0x297,_0x23067e:0x3f6,_0x505ac1:0x278,_0x5e328c:0x3cd,_0x53c1fc:0x246},_0x32301f={_0x4a60a4:0x242,_0x268284:0x2cc,_0x242561:0x22,_0x5efb21:0x164,_0x284065:0x42,_0x260178:0x57b,_0x10ccb3:0x56f,_0x3be9cf:0x3f4,_0x47fd21:0x472,_0x4365b9:0x5cc,_0x20c17d:0xfc,_0x13dcc2:0x8b,_0xd70190:0x1fa,_0x5e6c22:0x141,_0x1999ce:0x8f,_0x47f8b6:0x186,_0xc6e27b:0x174,_0x1beedc:0x193,_0x4d7e16:0x17,_0x5cfbeb:0x624,_0x36d6b1:0x501,_0x3279d4:0x76d,_0x49a778:0x5b1},_0x550227={_0x117cc2:0x19,_0x347e19:0xdd},_0xe9d8ee={_0x530ab8:0x17a},_0x1da1ef={_0x2d8988:0x26b},_0xb55b29=_0x379f68[_0x311e7e(_0x4e30c1._0x400b61,-_0x4e30c1._0x10fb36,_0x4e30c1._0x309506,_0x4e30c1._0x28e1aa)](_0x114bb3['defaultCwd']??process[_0x311e7e(_0x4e30c1._0x1edfdb,_0x4e30c1._0x54d0b6,0x127,0x99)]()),_0x272cf2=_0x114bb3[_0x311e7e(0x26a,_0x4e30c1._0xebe599,0x1a3,_0x4e30c1._0x56c7da)]??[],_0x4ab577=_0x114bb3[_0xbf8327(_0x4e30c1._0x4ae57a,0x26d,_0x4e30c1._0xf6d22f,_0x4e30c1._0x168c7f)]??_0x311e7e(_0x4e30c1._0x53f95e,0x266,0xb6,_0x4e30c1._0x366658);function _0x311e7e(_0x38fe48,_0x314bd3,_0x583693,_0xa86e26){return _0x38eb01(_0x314bd3,_0x38fe48-_0x1da1ef._0x2d8988,_0x583693-0x13e,_0xa86e26-0x147);}function _0xbf8327(_0x58ba6b,_0x1001b5,_0x809c72,_0x36b38c){return _0x2cc51b(_0x1001b5,_0x1001b5-0x13b,_0x809c72-0x39,_0x58ba6b- -_0xe9d8ee._0x530ab8);}return defineTool({'name':_0x4ab577,'permissionClass':'write','description':_0x311e7e(0x25d,0x196,0x1bd,_0x4e30c1._0xddc9e9),'inputSchema':{'type':_0x311e7e(_0x4e30c1._0x20885a,_0x4e30c1._0x3a8773,_0x4e30c1._0x4b312d,0x64),'properties':{'filePath':{'type':'string'},'content':{'type':_0xbf8327(_0x4e30c1._0x23067e,0x38d,0x2aa,0x2d4)}},'required':['filePath',_0xbf8327(_0x4e30c1._0x505ac1,_0x4e30c1._0x5e328c,0x3c5,_0x4e30c1._0x53c1fc)]},async *'execute'(_0x931287){const _0x323e2b={_0x1dbf61:0x433,_0x337a50:0x3d,_0x1d3b28:0x116},_0x1d50c9=resolveAllowedPath(_0xb55b29,_0x272cf2,_0x931287[_0x46d423(-0x2d9,-0x129,-_0x32301f._0x4a60a4,-_0x32301f._0x268284)]);function _0x23e34e(_0x2f15ca,_0x53dc15,_0x4ee164,_0x292668){return _0x311e7e(_0x2f15ca-_0x323e2b._0x1dbf61,_0x53dc15,_0x4ee164-_0x323e2b._0x337a50,_0x292668-_0x323e2b._0x1d3b28);}const _0x2398b0=await _0x582b3a(_0x1d50c9)['then'](()=>!![])['catch'](()=>![]),_0x4a1ee0=Buffer[_0x46d423(-_0x32301f._0x242561,-0x26d,-_0x32301f._0x5efb21,-_0x32301f._0x284065)](_0x931287['content'],_0x23e34e(_0x32301f._0x260178,_0x32301f._0x10ccb3,0x5b5,_0x32301f._0x3be9cf));await atomicWrite2(_0x1d50c9,_0x4a1ee0);function _0x46d423(_0x2e252b,_0x14b17d,_0x2a6d0e,_0x466941){return _0x311e7e(_0x2a6d0e- -0x2f7,_0x466941,_0x2a6d0e-_0x550227._0x117cc2,_0x466941-_0x550227._0x347e19);}return yield createToolOutput(_0x23e34e(0x4dd,0x3fa,0x470,_0x32301f._0x47fd21)+_0x931287['filePath']+'.',{'filePath':_0x931287[_0x23e34e(0x4e8,0x622,_0x32301f._0x4365b9,0x4f5)],'resolvedPath':_0x1d50c9,'bytes':_0x4a1ee0[_0x46d423(-_0x32301f._0x20c17d,-_0x32301f._0x13dcc2,-0x193,-0xef)],'lines':_0x931287[_0x46d423(-_0x32301f._0xd70190,-_0x32301f._0x5e6c22,-0x1a6,-0x2c2)][_0x46d423(-0x43,0x1d,-0x7f,_0x32301f._0x1999ce)](/\r?\n/)[_0x46d423(-_0x32301f._0x47f8b6,-_0x32301f._0xc6e27b,-_0x32301f._0x1beedc,-_0x32301f._0x4d7e16)],'created':new Date()[_0x23e34e(_0x32301f._0x5cfbeb,_0x32301f._0x36d6b1,_0x32301f._0x3279d4,_0x32301f._0x49a778)](),'overwritten':_0x2398b0}),void 0x0;}});}import{readFile as _0x119f1d,stat as _0x5d2be0}from'fs/promises';import*as _0x44be22 from'path';function stripUtfBom(_0x313089){const _0x32a91a={_0x2abc47:0x559,_0x2b2a2c:0x549,_0x14edd6:0x580},_0x4a13b4={_0x34ab19:0xa5,_0x58f39d:0x1be,_0xf4ca5e:0x195};function _0x18d65f(_0x1d8707,_0x44eb52,_0x14ff5e,_0x1dc29a){return _0x2cc51b(_0x44eb52,_0x44eb52-_0x4a13b4._0x34ab19,_0x14ff5e-_0x4a13b4._0x58f39d,_0x14ff5e-_0x4a13b4._0xf4ca5e);}return _0x313089[_0x18d65f(_0x32a91a._0x2abc47,0x694,_0x32a91a._0x2b2a2c,_0x32a91a._0x14edd6)](0x0)===0xfeff?_0x313089['slice'](0x1):_0x313089;}function clampLine(_0x5d0d80,_0xd54470){const _0x2f6775={_0x5dce19:0x277,_0x44f0d9:0x244,_0x1d7c80:0x1c2,_0x3fa877:0x361,_0x2952b9:0x1c5},_0x28cdc9={_0x432df7:0x2a2,_0x57dafc:0x4a};if(!Number[_0x55aac6(_0x2f6775._0x5dce19,_0x2f6775._0x44f0d9,_0x2f6775._0x1d7c80,0x145)](_0x5d0d80))return 0x1;function _0x4f5ed9(_0xbab8aa,_0x1b02e3,_0x470bb5,_0x44a4ad){return _0x2cc51b(_0x470bb5,_0x1b02e3-0x6e,_0x470bb5-0x10d,_0x1b02e3- -0x5ae);}function _0x55aac6(_0x26e608,_0x280bdc,_0xaab4b9,_0x533795){return _0x38eb01(_0x533795,_0xaab4b9-_0x28cdc9._0x432df7,_0xaab4b9-_0x28cdc9._0x57dafc,_0x533795-0xdf);}return Math[_0x55aac6(0x210,_0x2f6775._0x3fa877,0x289,0x37b)](0x1,Math[_0x4f5ed9(-_0x2f6775._0x2952b9,-0x27d,-0x259,-0x18b)](Math[_0x55aac6(0x28e,0x1d0,0x108,-0x2)](_0x5d0d80),_0xd54470));}function createFileReadTool(_0x2b7f98={}){const _0x59d4e9={_0x51dda5:0xd0,_0x3efec3:0x218,_0x350a15:0x332,_0x3f9da7:0x394,_0x5aa4d2:0x210,_0x514a51:0x2f2,_0x23b55d:0x25e,_0x20b573:0x184,_0x5e6f84:0x73,_0x1d020c:0xee,_0x3b6947:0x4a,_0x5e9e0e:0x240,_0xdaaf4:0xd1,_0x41508f:0x94,_0x4886bd:0xa7,_0x50f140:0xa9,_0x705f5:0x11c,_0x49fd7a:0x72,_0x30982c:0x1a1,_0x9831ee:0x1b9,_0x4c104c:0x8b,_0x344b5f:0x163,_0xa6d98a:0x10f,_0x22b258:0x2fb,_0x5e6534:0xd6},_0xb4b2e7={_0x55d983:0x421,_0x26eb22:0x458,_0x2e96b6:0x4a4,_0x43579b:0x2da,_0x41f8dc:0x223,_0x3e7951:0x2f4,_0x5c33a8:0x34d,_0x44f44e:0x396,_0x51939e:0x4c4,_0x463d74:0x45e,_0x4f6cc6:0x3ff,_0x566d31:0x4c6,_0x4f1d62:0x475,_0x3d13c2:0x3c9,_0x36267c:0x4af,_0xbe2a17:0x497,_0x35c09d:0x34d,_0x99315:0x37a,_0x287bef:0x2d0,_0x5d67ae:0x1,_0x54bea2:0x17f,_0x22eeed:0x159,_0x433123:0x1fb,_0x12e614:0x3a8,_0x7a8d0c:0x401,_0x5eed01:0x362,_0x3a129b:0x307,_0x20b5fa:0x3fc,_0x42ea37:0x294,_0x297ad3:0x228,_0xb1e010:0x1b3,_0x3b989e:0x48c,_0x5a2fc1:0x23d,_0xff22ee:0x400,_0x291502:0x4de,_0x3d10e3:0x447,_0x986eb2:0x391,_0x2f8ae9:0x3d4,_0x218411:0x4dc,_0x6b8eda:0x389,_0x2b4af4:0x32c,_0x2c61f7:0x4b4,_0x4c2708:0x32e,_0x38415a:0x2de,_0x541a9c:0x3d4,_0x10b4ce:0x2a8,_0x54806a:0x280,_0x474ad3:0x3f2,_0x5a4dfd:0x248,_0xf9e929:0x51e,_0x47e0a3:0x4f5,_0x5949fe:0x466,_0x5acf73:0x5a9,_0x45c892:0x215,_0x697276:0xed,_0x10a2a2:0x386,_0x3b941c:0x1e8},_0x47e6ef={_0x2d28f2:0x3ec},_0x502f0e={_0x397e95:0x0,_0x1d078a:0x189};function _0x5d7577(_0x1e99ff,_0x40aabe,_0x337146,_0x8b7f93){return _0x38eb01(_0x1e99ff,_0x40aabe-_0x502f0e._0x397e95,_0x337146-0xe2,_0x8b7f93-_0x502f0e._0x1d078a);}function _0x38284b(_0x407c13,_0x8fc002,_0x3ed665,_0xf6e56e){return _0x38eb01(_0x407c13,_0x8fc002- -0x7,_0x3ed665-0x11b,_0xf6e56e-0x3f);}const _0x11d370=_0x44be22[_0x5d7577(-_0x59d4e9._0x51dda5,-_0x59d4e9._0x3efec3,-_0x59d4e9._0x350a15,-0x37d)](_0x2b7f98[_0x5d7577(-_0x59d4e9._0x3f9da7,-_0x59d4e9._0x5aa4d2,-0x2ab,-0x253)]??process['cwd']()),_0x22001f=_0x2b7f98['allowedDirs']??[],_0x2fa5f7=_0x2b7f98[_0x5d7577(-_0x59d4e9._0x514a51,-_0x59d4e9._0x23b55d,-_0x59d4e9._0x20b573,-0x107)]??'FileRead';return defineTool({'name':_0x2fa5f7,'permissionClass':_0x38284b(_0x59d4e9._0x5e6f84,-_0x59d4e9._0x1d020c,_0x59d4e9._0x3b6947,-_0x59d4e9._0x5e9e0e),'description':'Read\x20files\x20from\x20workspace.\x20Optionally\x20specify\x20line\x20ranges\x20(lineStart,\x20lineEnd).','inputSchema':{'type':_0x5d7577(_0x59d4e9._0xdaaf4,-_0x59d4e9._0x41508f,-0xc6,_0x59d4e9._0x4886bd),'properties':{'path':{'type':_0x5d7577(-_0x59d4e9._0x50f140,0x64,-_0x59d4e9._0x705f5,0x1b1)},'lineStart':{'type':_0x5d7577(-0x41,-_0x59d4e9._0x49fd7a,0x7,-_0x59d4e9._0x30982c),'description':_0x38284b(-0xd7,-_0x59d4e9._0x9831ee,-_0x59d4e9._0x4c104c,-_0x59d4e9._0x344b5f)},'lineEnd':{'type':_0x38284b(-_0x59d4e9._0xa6d98a,-0x79,0x5f,-0x198),'description':_0x5d7577(-0x241,-0x1cd,-0x11c,-_0x59d4e9._0x22b258)}},'required':[_0x5d7577(-0x1ae,-0x98,-0x112,-_0x59d4e9._0x5e6534)]},async *'execute'(_0xd28bfd){const _0x24ffad={_0xc0c40e:0x85},_0x5f43c8=resolveAllowedPath(_0x11d370,_0x22001f,_0xd28bfd[_0x5a0f8b(_0xb4b2e7._0x55d983,_0xb4b2e7._0x26eb22,_0xb4b2e7._0x2e96b6,0x438)]);await assertWorkspaceFile(_0x5f43c8);const _0x351be4=await _0x5d2be0(_0x5f43c8),_0x5233e6=await _0x119f1d(_0x5f43c8);if(isProbablyBinary(_0x5233e6))throw new ToolExecutionError(_0x5a0f8b(0x313,_0xb4b2e7._0x43579b,_0xb4b2e7._0x41f8dc,0x323)+_0xd28bfd[_0x1f5599(_0xb4b2e7._0x3e7951,_0xb4b2e7._0x5c33a8,0x44e,0x3af)],{'path':_0xd28bfd['path']});function _0x5a0f8b(_0x32d1f9,_0x191efb,_0x10fe62,_0x389780){return _0x38284b(_0x389780,_0x32d1f9-0x4c0,_0x10fe62-_0x24ffad._0xc0c40e,_0x389780-0x115);}let _0x179a38=_0x5233e6['toString'](_0x5a0f8b(_0xb4b2e7._0x44f44e,_0xb4b2e7._0x51939e,_0xb4b2e7._0x463d74,0x3ee));const _0x5ac900=_0x179a38[_0x5a0f8b(0x361,_0xb4b2e7._0x4f6cc6,0x48b,0x41e)](0x0)===0xfeff;function _0x1f5599(_0x20c4a3,_0x3faef3,_0x9b6606,_0x413831){return _0x38284b(_0x20c4a3,_0x3faef3-_0x47e6ef._0x2d28f2,_0x9b6606-0xd8,_0x413831-0x11c);}_0x179a38=stripUtfBom(_0x179a38);const _0x55f259=_0x179a38[_0x5a0f8b(_0xb4b2e7._0x566d31,_0xb4b2e7._0x4f1d62,_0xb4b2e7._0x3d13c2,_0xb4b2e7._0x36267c)](/\r?\n/),_0x25bf83={'path':_0xd28bfd[_0x1f5599(_0xb4b2e7._0xbe2a17,_0xb4b2e7._0x35c09d,_0xb4b2e7._0x99315,_0xb4b2e7._0x287bef)],'resolvedPath':_0x5f43c8,'created':_0x351be4[_0x1f5599(-_0xb4b2e7._0x5d67ae,_0xb4b2e7._0x54bea2,_0xb4b2e7._0x22eeed,_0xb4b2e7._0x433123)]['toISOString'](),'modified':_0x351be4[_0x1f5599(0x233,0x3b1,_0xb4b2e7._0x12e614,0x3fe)][_0x5a0f8b(0x43f,0x51c,_0xb4b2e7._0x7a8d0c,_0xb4b2e7._0x5eed01)](),'size':_0x351be4[_0x1f5599(0x3b9,_0xb4b2e7._0x3a129b,0x18a,_0xb4b2e7._0x20b5fa)],'encoding':_0x1f5599(_0xb4b2e7._0x42ea37,0x2c2,_0xb4b2e7._0x297ad3,_0xb4b2e7._0xb1e010),'bomStripped':_0x5ac900,'truncated':![],'totalLines':_0x55f259[_0x5a0f8b(0x3b2,_0xb4b2e7._0x3b989e,0x3db,_0xb4b2e7._0x5a2fc1)]};if(_0xd28bfd[_0x5a0f8b(_0xb4b2e7._0xff22ee,0x310,_0xb4b2e7._0x291502,_0xb4b2e7._0x3d10e3)]!==void 0x0||_0xd28bfd[_0x1f5599(_0xb4b2e7._0x986eb2,_0xb4b2e7._0x2f8ae9,_0xb4b2e7._0x218411,_0xb4b2e7._0x6b8eda)]!==void 0x0){const _0x103951=clampLine(_0xd28bfd[_0x1f5599(0x2fd,_0xb4b2e7._0x2b4af4,0x209,_0xb4b2e7._0x2c61f7)]??0x1,_0x55f259[_0x1f5599(_0xb4b2e7._0x4c2708,_0xb4b2e7._0x38415a,0x2f7,0x1c2)]),_0x559826=clampLine(_0xd28bfd[_0x1f5599(0x419,_0xb4b2e7._0x541a9c,0x412,0x46a)]??_0x55f259['length'],_0x55f259[_0x1f5599(_0xb4b2e7._0x10b4ce,0x2de,0x260,_0xb4b2e7._0x54806a)]),_0x2c65a4=Math[_0x5a0f8b(0x2de,0x341,_0xb4b2e7._0x474ad3,0x2cb)](_0x103951,_0x559826),_0x26b7ad=Math[_0x1f5599(0x263,0x3cc,_0xb4b2e7._0x5a4dfd,0x522)](_0x103951,_0x559826),_0x16a7cf=_0x55f259[_0x5a0f8b(_0xb4b2e7._0xf9e929,_0xb4b2e7._0x47e0a3,0x413,0x473)](_0x2c65a4-0x1,_0x26b7ad)[_0x5a0f8b(_0xb4b2e7._0x5949fe,0x3d3,0x33c,_0xb4b2e7._0x5acf73)]((_0x5e180f,_0x32d8b7)=>_0x2c65a4+_0x32d8b7+'|'+_0x5e180f)[_0x1f5599(0x188,0x20e,_0xb4b2e7._0x45c892,_0xb4b2e7._0x697276)]('\x0a');return yield createToolOutput(_0x16a7cf,{..._0x25bf83,'lineRange':{'lineStart':_0x2c65a4,'lineEnd':_0x26b7ad,'linesTotal':_0x55f259[_0x1f5599(_0xb4b2e7._0x10a2a2,0x2de,0x35f,_0xb4b2e7._0x3b941c)]}}),void 0x0;}return yield createToolOutput(_0x179a38,_0x25bf83),void 0x0;}});}import{stat as _0x437a30}from'fs/promises';import*as _0x4567bd from'path';import{execSync,spawn as _0x50af7c}from'child_process';import{existsSync}from'fs';import{stat as _0x53cbd0}from'fs/promises';import*as _0x343a7b from'os';import*as _0xf6daf1 from'path';import{rgPath as _0x346aba}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x63c37e={_0x35894e:0x57e,_0x538190:0x519,_0x18c7c0:0x51d,_0x11605b:0x615,_0x452263:0x5ac,_0x250f77:0x6f0,_0x5a6600:0x532,_0x49de3c:0x440,_0x3e51f5:0x432,_0x1524bc:0x403,_0x4388e8:0x483,_0x24582f:0x530,_0x557b5f:0x5c4,_0xf171b0:0x603,_0x1bb6dc:0x4e6,_0x4c5897:0x288,_0x32d94b:0x3ee,_0x27d48b:0x4e5,_0x31e2f2:0x4e8,_0x4562a0:0x507,_0x3b3a7b:0x464,_0x2a66a7:0x467,_0x5c5f64:0x437,_0x50afcd:0x483,_0x52098c:0x622,_0x4e86b0:0x603,_0x1916d8:0x519,_0x2f9523:0x690,_0x13ab7e:0x335,_0x2324b8:0x54d,_0x55248f:0x52f,_0x45a2d8:0x5ef,_0x56d442:0x5e9,_0xe2770:0x517,_0xd3f110:0x316,_0x231d46:0x4ac,_0xb00d75:0x589,_0x2cefdb:0x450,_0x25ae60:0x3e9,_0x6789a4:0x47e,_0x197036:0x4aa,_0x1258da:0x550,_0x46b1cf:0x6ab,_0x4fc9f2:0x6cb,_0x111396:0x59d,_0x581178:0x6ff,_0x5833e1:0x65f,_0x362162:0x779,_0x23d494:0x7ed,_0x2b7c47:0x6c1,_0x2ae84c:0x5f3,_0x534431:0x5a6,_0x4d0428:0x642,_0x49bd5a:0x661},_0xd51700={_0x11a529:0xb4,_0x18b287:0x1c4,_0x108835:0x144},_0x17bd7c={_0x4baf90:0x65a,_0x512f67:0x1f2},_0xefa188=_0x343a7b[_0x33301a(0x61b,0x445,_0x63c37e._0x35894e,_0x63c37e._0x538190)]()===_0x33301a(0x48e,0x5ef,0x5e1,_0x63c37e._0x18c7c0),_0x20440c=_0xefa188?[_0xf6daf1[_0x54a4ee(0x483,0x550,0x380,0x53d)](process['env'][_0x54a4ee(_0x63c37e._0x11605b,0x5cf,_0x63c37e._0x452263,_0x63c37e._0x250f77)]||'',_0x54a4ee(0x6a8,0x52d,_0x63c37e._0x5a6600,0x56b),_0x54a4ee(0x43d,_0x63c37e._0x49de3c,_0x63c37e._0x3e51f5,0x2f0),_0x33301a(0x44b,0x527,_0x63c37e._0x1524bc,0x3c9)),_0xf6daf1[_0x54a4ee(_0x63c37e._0x4388e8,_0x63c37e._0x24582f,_0x63c37e._0x557b5f,0x518)](process[_0x33301a(0x61e,0x593,_0x63c37e._0xf171b0,_0x63c37e._0x1bb6dc)][_0x33301a(0x3b1,_0x63c37e._0x4c5897,_0x63c37e._0x32d94b,_0x63c37e._0x27d48b)]||'',_0x54a4ee(0x467,_0x63c37e._0x31e2f2,_0x63c37e._0x4562a0,_0x63c37e._0x3b3a7b),_0x54a4ee(0x539,_0x63c37e._0x2a66a7,0x62c,_0x63c37e._0x5c5f64)),_0xf6daf1[_0x54a4ee(_0x63c37e._0x50afcd,0x52f,0x3f1,0x46d)](process[_0x33301a(0x53d,_0x63c37e._0x52098c,_0x63c37e._0x4e86b0,0x4e7)][_0x54a4ee(_0x63c37e._0x1916d8,0x5df,_0x63c37e._0x2f9523,0x3c4)]||'',_0x33301a(0x542,0x2eb,0x45d,_0x63c37e._0x13ab7e),_0x33301a(0x52d,_0x63c37e._0x2324b8,_0x63c37e._0x55248f,0x6a7))]:[_0x33301a(0x6f4,_0x63c37e._0x45a2d8,_0x63c37e._0x56d442,0x46b),_0x54a4ee(0x3f0,_0x63c37e._0xe2770,0x472,_0x63c37e._0xd3f110),_0x33301a(_0x63c37e._0x231d46,_0x63c37e._0xb00d75,_0x63c37e._0x31e2f2,_0x63c37e._0x2cefdb),_0x33301a(0x483,_0x63c37e._0x25ae60,_0x63c37e._0x6789a4,0x308)];for(const _0x40309f of _0x20440c){if(existsSync(_0x40309f))return _0x40309f;}function _0x54a4ee(_0x2fad77,_0x456858,_0x308f8f,_0x17e8ef){return _0x38eb01(_0x456858,_0x2fad77-_0x17bd7c._0x4baf90,_0x308f8f-0x14a,_0x17e8ef-_0x17bd7c._0x512f67);}function _0x33301a(_0x418a9c,_0x497225,_0x2cc92c,_0x4c7b02){return _0x2cc51b(_0x497225,_0x497225-_0xd51700._0x11a529,_0x2cc92c-_0xd51700._0x18b287,_0x2cc92c-_0xd51700._0x108835);}try{const _0x59c5a0=_0xefa188?_0x33301a(_0x63c37e._0x197036,0x568,_0x63c37e._0x1258da,_0x63c37e._0x46b1cf):'which\x20rg',_0x30e146=execSync(_0x59c5a0,{'encoding':'utf8','stdio':[_0x54a4ee(_0x63c37e._0x4fc9f2,_0x63c37e._0x111396,_0x63c37e._0x581178,_0x63c37e._0x5833e1),_0x33301a(_0x63c37e._0x362162,_0x63c37e._0x23d494,_0x63c37e._0x2b7c47,0x63b),_0x33301a(_0x63c37e._0x2ae84c,_0x63c37e._0x534431,0x5a7,_0x63c37e._0x4d0428)]})[_0x33301a(0x72d,0x58b,_0x63c37e._0x49bd5a,0x731)]()['split'](/\r?\n/)[0x0];if(_0x30e146&&existsSync(_0x30e146))return _0x30e146;}catch{return null;}return null;}async function filepath(){const _0x4c1fe1={_0x4cedb2:0x260,_0x433508:0x3bd},_0x2fb178={_0xe9e250:0x1a7,_0x3bf9f5:0x97};if(cachedRgPath)return cachedRgPath;function _0x2bb278(_0x1af1e5,_0x3f6893,_0x20a2e5,_0x423a9b){return _0x2cc51b(_0x423a9b,_0x3f6893-0x64,_0x20a2e5-_0x2fb178._0xe9e250,_0x20a2e5- -_0x2fb178._0x3bf9f5);}if(_0x346aba&&existsSync(_0x346aba))return cachedRgPath=_0x346aba,_0x346aba;const _0x1cc9f7=findSystemRipgrep();if(!_0x1cc9f7)throw new Error(_0x2bb278(0x455,_0x4c1fe1._0x4cedb2,_0x4c1fe1._0x433508,0x465));return cachedRgPath=_0x1cc9f7,_0x1cc9f7;}async function*files(_0x2d5caa){const _0x5d525a={_0x4f98ae:0x50b,_0x313ede:0x611,_0x3f9ced:0x4c8,_0x34e271:0x4b6,_0x3db7f4:0x550,_0x3fdf20:0x673,_0x3aca32:0x6c2,_0x4acc76:0x480,_0x22fc56:0x76a,_0x42dff9:0x62f,_0x81a6c5:0x567,_0x2e7889:0x493,_0xa424ca:0x4fc,_0x2eec7d:0x4ba,_0x2aa738:0x505,_0x505a99:0x5be,_0x49ac38:0x69f,_0x104747:0x5ac,_0xdda0f2:0x48b,_0x1b98a0:0x503,_0x3d799b:0x690,_0x19e5ae:0x691,_0x1b407d:0x4a7,_0x5b1001:0x672,_0x259670:0x68d,_0x13941b:0x7dc},_0x58bcbf={_0x5c0b22:0xc0},_0x39521f={_0x3c941d:0x206},_0x393586=await filepath(),_0xc851da=await _0x53cbd0(_0x2d5caa[_0x2441b7(_0x5d525a._0x4f98ae,0x66e,0x56c,0x51b)])['catch'](()=>null);function _0x2441b7(_0x2cc333,_0x2ac98b,_0xcacc5e,_0x3da6fc){return _0x2cc51b(_0x3da6fc,_0x2ac98b-0x75,_0xcacc5e-0x11c,_0x2ac98b-_0x39521f._0x3c941d);}if(!_0xc851da?.['isDirectory']())throw Object['assign'](new Error(_0x411ee9(_0x5d525a._0x313ede,_0x5d525a._0x3f9ced,_0x5d525a._0x34e271,0x513)+_0x2d5caa['cwd']+'\x27'),{'code':_0x411ee9(0x68f,_0x5d525a._0x3db7f4,0x6a4,0x5de)});const _0x4d2a3a=[_0x2441b7(0x52a,_0x5d525a._0x3fdf20,0x51b,_0x5d525a._0x3aca32),'--follow',_0x411ee9(0x5d6,0x39f,0x46e,_0x5d525a._0x4acc76),'--glob=!.git/*'];for(const _0x89834d of _0x2d5caa[_0x2441b7(_0x5d525a._0x22fc56,_0x5d525a._0x42dff9,0x595,0x520)]??[]){_0x4d2a3a[_0x411ee9(0x68c,_0x5d525a._0x81a6c5,0x5d5,_0x5d525a._0x2e7889)](_0x2441b7(_0x5d525a._0xa424ca,_0x5d525a._0x2eec7d,0x509,_0x5d525a._0x2aa738)+_0x89834d);}function _0x411ee9(_0x51ad6e,_0x3681de,_0xcc4b9f,_0x19b1cb){return _0x38eb01(_0x3681de,_0xcc4b9f-0x67c,_0xcc4b9f-_0x58bcbf._0x5c0b22,_0x19b1cb-0x11);}const _0xe5aaf9=_0x50af7c(_0x393586,_0x4d2a3a,{'cwd':_0x2d5caa['cwd'],'stdio':[_0x2441b7(0x757,0x669,0x613,_0x5d525a._0x505a99),_0x2441b7(0x672,0x783,_0x5d525a._0x49ac38,0x7e6),'pipe']});let _0x2b8118='';for await(const _0x1b994f of _0xe5aaf9[_0x2441b7(0x68e,_0x5d525a._0x104747,_0x5d525a._0xdda0f2,_0x5d525a._0x1b98a0)]??[]){_0x2b8118+=_0x1b994f['toString']();const _0x7f9254=_0x2b8118[_0x2441b7(0x7dc,0x71f,0x62c,0x5d1)](/\r?\n/);_0x2b8118=_0x7f9254[_0x2441b7(0x6e2,0x5c5,0x508,_0x5d525a._0x3d799b)]()??'';for(const _0x11dfe3 of _0x7f9254){if(_0x11dfe3['length']>0x0)yield _0x11dfe3;}}_0x2b8118['trim']()[_0x2441b7(_0x5d525a._0x19e5ae,0x60b,0x5bd,_0x5d525a._0x1b407d)]>0x0&&(yield _0x2b8118[_0x411ee9(0x656,_0x5d525a._0x5b1001,_0x5d525a._0x259670,_0x5d525a._0x13941b)]());}function parseMatchLine(_0x303114,_0xddfde8){const _0x182fb7={_0x3ccab4:0x210,_0xf0ea8b:0x2f2,_0x49718a:0x214,_0x326eaa:0x101,_0x5cc990:0x269,_0x2c48af:0xde,_0x358b66:0x250,_0x14ca2e:0x1ec,_0x44c4fd:0x188,_0x5a8a3f:0x53,_0x142625:0x18,_0x2c7234:0x1c0,_0x512a90:0x18d,_0x507f45:0x1c0,_0x20f083:0xcf,_0x385ee7:0x86,_0x466ee3:0x359,_0x53e24f:0x2bd,_0x5e70f7:0x66,_0x111ec8:0x90,_0x22d983:0x11d},_0x3ec59c={_0x272f22:0x77},_0x2eb757={_0x3b097b:0x123,_0x185fc2:0xb8};if(!_0x303114||_0x303114==='--')return null;const _0x43be39=_0x303114['split']('|');function _0x150e53(_0x41e051,_0x1899c4,_0x2c55ed,_0x34062f){return _0x38eb01(_0x2c55ed,_0x1899c4-_0x2eb757._0x3b097b,_0x2c55ed-0x147,_0x34062f-_0x2eb757._0x185fc2);}if(_0xddfde8&&_0x43be39[_0x150e53(0xbd,0x1c,0x191,0x5d)]>=0x4&&Number[_0x331c12(_0x182fb7._0x3ccab4,_0x182fb7._0xf0ea8b,_0x182fb7._0x49718a,_0x182fb7._0x326eaa)](Number[_0x331c12(0x132,0x197,0x219,_0x182fb7._0x5cc990)](_0x43be39[0x2]??'',0xa))){const _0x103bc5=Number[_0x331c12(0x1f1,_0x182fb7._0x2c48af,0x219,_0x182fb7._0x358b66)](_0x43be39[0x1]??'',0xa);if(!Number['isFinite'](_0x103bc5)||!_0x43be39[0x0])return null;return{'filePath':_0x43be39[0x0],'lineNum':_0x103bc5,'lineText':_0x43be39[_0x150e53(_0x182fb7._0x14ca2e,_0x182fb7._0x44c4fd,_0x182fb7._0x5a8a3f,_0x182fb7._0x142625)](0x3)[_0x150e53(-_0x182fb7._0x2c7234,-0xb4,-0x168,-_0x182fb7._0x512a90)]('|')};}function _0x331c12(_0x400fc9,_0x53ffa4,_0x185251,_0x1c4d64){return _0x38eb01(_0x1c4d64,_0x185251-0x2f4,_0x185251-0x8c,_0x1c4d64-_0x3ec59c._0x272f22);}if(_0x43be39[_0x331c12(0x296,_0x182fb7._0x507f45,0x1ed,0xb7)]>=0x3){const _0x3eebaa=Number['parseInt'](_0x43be39[0x1]??'',0xa);if(!Number[_0x150e53(-_0x182fb7._0x20f083,0x43,-_0x182fb7._0x385ee7,0x139)](_0x3eebaa)||!_0x43be39[0x0])return null;return{'filePath':_0x43be39[0x0],'lineNum':_0x3eebaa,'lineText':_0x43be39[_0x331c12(0x2d7,0x2b3,_0x182fb7._0x466ee3,_0x182fb7._0x53e24f)](0x2)[_0x331c12(-_0x182fb7._0x5e70f7,_0x182fb7._0x111ec8,_0x182fb7._0x22d983,0x16d)]('|'),..._0xddfde8?{'isContext':!![]}:{}};}return null;}async function search(_0x2809d2){const _0x42864b={_0x4f1e2a:0x177,_0x34b83:0x247,_0x52353b:0x1ac,_0x21a9fe:0x22b,_0x3c01e7:0x299,_0x121a67:0x1f8,_0x2b3f02:0x273,_0x3f50cd:0xca,_0x1f413f:0x9f,_0x4fdc24:0x121,_0x1514a8:0xc6,_0x39914a:0x3b,_0xee3065:0x137,_0x2a8a7b:0x132,_0x401a7e:0xcf,_0x4ad7dc:0xa6,_0x4b9aba:0x9d,_0x339f21:0x72,_0x26ce26:0x69,_0x21aa9b:0x52,_0x442fdd:0x5c,_0x1a184b:0x40,_0x56957b:0x1e6,_0xea3f2f:0x111,_0x3e90ff:0x22a,_0x2d747a:0x18c,_0x18ba35:0x19c,_0x2592ca:0x78,_0x5504d3:0x13a,_0x251af4:0x12f,_0x45f493:0x28d,_0x2f7ad5:0xd4,_0x352c29:0x74,_0x5f43da:0xd6,_0x406757:0xba,_0x391130:0x177,_0x12b2d9:0x26c,_0x5aea54:0x277,_0x9fff91:0x240,_0x10a8c2:0x304,_0x21e158:0x207,_0xbe4bf7:0x26b,_0x2997d3:0xf3,_0x346583:0x52,_0xf7a167:0x14b,_0x58b2d1:0xe2,_0x509285:0x19a,_0x48cc27:0xad,_0x93d0a5:0x55,_0x57c67b:0x14d},_0x5d93bd={_0x1efdfb:0xf1,_0x3acb78:0x1e3,_0x4f360e:0x246,_0x13d57a:0x134,_0x26d6a1:0xf6,_0x163354:0x104,_0x12b49d:0x12b,_0x37dc8e:0x56c,_0x5a1f5d:0x694,_0x425975:0x2b0,_0x42ba32:0x308,_0x58889d:0x2c7,_0x5c3653:0x34f,_0x1350e7:0x47f,_0x473be6:0x307,_0x25bb62:0x10,_0x3b143a:0x355,_0x387a38:0x425,_0x2dff9a:0x2f2,_0x109e00:0x221},_0x427c9c={_0x9c1afa:0x6e,_0x1ba3b9:0x155,_0x2818b8:0x3,_0x14b810:0x22,_0x146f8a:0x37,_0x2b9591:0x1c2,_0x57cd9e:0x127,_0x1a1d4e:0xa1,_0x2d4975:0x174},_0x44d5fd={_0x53201b:0xfd,_0x2574e3:0x34f,_0x24fd05:0xe4},_0x4e85b6={_0x150b4b:0x413},_0x2da98b=await filepath();if(_0x2809d2[_0x314026(0xa,_0x42864b._0x4f1e2a,_0x42864b._0x34b83,0xd7)]){const _0x144e6a=await _0x53cbd0(_0x2809d2['file'])[_0x314026(0x35,_0x42864b._0x52353b,_0x42864b._0x21a9fe,_0x42864b._0x3c01e7)](()=>null);if(!_0x144e6a?.[_0x314026(_0x42864b._0x121a67,0x185,_0x42864b._0x2b3f02,_0x42864b._0x3f50cd)]())throw Object[_0x538ffa(-_0x42864b._0x1f413f,-0xcb,-0x13d,-0x15f)](new Error(_0x538ffa(-0xd2,0x35,-0x1fc,-0xdc)+_0x2809d2['file']+'\x27'),{'code':_0x538ffa(_0x42864b._0x4fdc24,_0x42864b._0x1514a8,0xb5,-_0x42864b._0x39914a)});}else{const _0x52b28d=await _0x53cbd0(_0x2809d2[_0x314026(_0x42864b._0xee3065,_0x42864b._0x2a8a7b,0x1b,0x33)])[_0x538ffa(_0x42864b._0x401a7e,0xf7,0x1bb,_0x42864b._0x4ad7dc)](()=>null);if(!_0x52b28d?.['isDirectory']())throw Object['assign'](new Error(_0x538ffa(-0xcd,-0x19c,_0x42864b._0x4b9aba,0x7b)+_0x2809d2[_0x538ffa(0x55,-0xc0,-_0x42864b._0x339f21,-0x4f)]+'\x27'),{'code':'ENOENT'});}function _0x538ffa(_0x47295a,_0x5df111,_0x357302,_0x1db1ad){return _0x2cc51b(_0x5df111,_0x5df111-0x141,_0x357302-0x169,_0x47295a- -_0x4e85b6._0x150b4b);}function _0x314026(_0xccf1a2,_0x4a188f,_0x5d66b5,_0x54d2ef){return _0x38eb01(_0x54d2ef,_0x4a188f-0x1d6,_0x5d66b5-0x27,_0x54d2ef-0x1cd);}const _0x8eacea=[_0x314026(0x19a,_0x42864b._0x26ce26,0x2d,_0x42864b._0x21aa9b),_0x538ffa(_0x42864b._0x442fdd,-_0x42864b._0x1a184b,0x174,_0x42864b._0x56957b),_0x314026(_0x42864b._0xea3f2f,_0x42864b._0x3e90ff,0x20f,0xa6),'--regexp',_0x2809d2['pattern']],_0x3cd0af=typeof _0x2809d2[_0x314026(0x142,0x155,0x27,_0x42864b._0x2d747a)]===_0x538ffa(0x87,-0x8d,0x1fc,_0x42864b._0x18ba35)&&_0x2809d2[_0x538ffa(_0x42864b._0x2592ca,0x165,0x1a9,_0x42864b._0x5504d3)]>0x0;return _0x3cd0af&&_0x8eacea[_0x314026(0x24d,_0x42864b._0x251af4,0xa7,_0x42864b._0x45f493)]('-C',String(_0x2809d2[_0x314026(0x297,0x155,0x17e,0x15a)]),_0x314026(-_0x42864b._0x2f7ad5,_0x42864b._0x352c29,_0x42864b._0x5f43da,0x1ea)),_0x2809d2['glob']&&!_0x2809d2[_0x314026(_0x42864b._0x406757,_0x42864b._0x391130,_0x42864b._0x12b2d9,_0x42864b._0x391130)]&&_0x8eacea[_0x314026(0x121,0x12f,_0x42864b._0x5aea54,_0x42864b._0x9fff91)](_0x314026(_0x42864b._0x10a8c2,_0x42864b._0x21e158,_0x42864b._0xbe4bf7,0x38f),_0x2809d2[_0x314026(0x6,_0x42864b._0x2997d3,0x1bd,-0x20)]),_0x8eacea[_0x538ffa(_0x42864b._0x346583,0x77,0xc0,_0x42864b._0xf7a167)](_0x2809d2[_0x538ffa(0x9a,_0x42864b._0x58b2d1,_0x42864b._0x509285,-_0x42864b._0x48cc27)]??_0x2809d2[_0x538ffa(_0x42864b._0x93d0a5,_0x42864b._0x57c67b,0x1a,-0xd0)]),await new Promise((_0x1ac6b4,_0x5a1978)=>{const _0xa9ba1c={_0x57fdaf:0x223,_0x1776cb:0x2f},_0x2bf91d={_0x4f49b2:0xc2,_0x5b5046:0x195},_0xd57e29={_0x38736b:0x180},_0xfe6c07={_0x5e6e4e:0x93,_0x1de52d:0xeb},_0xa79ba6=_0x50af7c(_0x2da98b,_0x8eacea,{'cwd':_0x2809d2[_0x2c42df(-0x204,0x74,-0xa,-_0x5d93bd._0x1efdfb)],'stdio':[_0x2c42df(-_0x5d93bd._0x3acb78,-_0x5d93bd._0x4f360e,-_0x5d93bd._0x13d57a,-_0x5d93bd._0x26d6a1),_0x2c42df(_0x5d93bd._0x163354,-0xaf,_0x5d93bd._0x12b49d,0x24),_0x5d1d3a(_0x5d93bd._0x37dc8e,_0x5d93bd._0x5a1f5d,0x596,0x421)]});let _0x133b06='',_0x1f28ef='';function _0x5d1d3a(_0x3b8bc6,_0x9343ec,_0x53de76,_0x3945eb){return _0x314026(_0x3b8bc6-_0x44d5fd._0x53201b,_0x53de76-_0x44d5fd._0x2574e3,_0x53de76-_0x44d5fd._0x24fd05,_0x3945eb);}_0xa79ba6[_0x5d1d3a(_0x5d93bd._0x425975,_0x5d93bd._0x42ba32,0x3bf,_0x5d93bd._0x58889d)]?.['on'](_0x5d1d3a(0x525,_0x5d93bd._0x5c3653,_0x5d93bd._0x1350e7,_0x5d93bd._0x473be6),_0x5ea48a=>{function _0x55fe01(_0x23e03e,_0x38a8ec,_0x1b7310,_0x536d02){return _0x2c42df(_0x536d02,_0x38a8ec-0x111,_0x1b7310-0x1d1,_0x23e03e-0x1db);}_0x133b06+=_0x5ea48a[_0x55fe01(_0xfe6c07._0x5e6e4e,0x12a,-0x60,-_0xfe6c07._0x1de52d)]();}),_0xa79ba6[_0x2c42df(-0x56,-0xc1,-_0x5d93bd._0x25bb62,-0x133)]?.['on'](_0x5d1d3a(_0x5d93bd._0x3b143a,0x361,0x47f,_0x5d93bd._0x387a38),_0x28704c=>{const _0xe230d6={_0x1a8fb0:0x186,_0x36e0d0:0x12c};function _0x1c48b6(_0x408f62,_0x89690f,_0x2a3853,_0x33a1a5){return _0x2c42df(_0x2a3853,_0x89690f-_0xe230d6._0x1a8fb0,_0x2a3853-_0xe230d6._0x36e0d0,_0x89690f-0x1f3);}_0x1f28ef+=_0x28704c[_0x1c48b6(0x224,0xab,0x70,-0xc9)]();}),_0xa79ba6['on']('close',_0x24ce92=>{if(_0x24ce92===0x1&&_0x133b06===''){_0x1ac6b4([]);return;}if(_0x24ce92!==0x0&&_0x24ce92!==0x1){_0x5a1978(new Error('ripgrep\x20failed:\x20'+_0x1f28ef));return;}function _0x459c35(_0x3cffb1,_0x3ffe01,_0x17f73e,_0x47cf6d){return _0x5d1d3a(_0x3cffb1-_0xd57e29._0x38736b,_0x3ffe01-0x4e,_0x3cffb1-0x11a,_0x47cf6d);}const _0x119046=_0x2809d2['limit']??0x64;function _0x4c0bfe(_0x2ae4e3,_0x21dec0,_0x341d77,_0x42abf2){return _0x2c42df(_0x2ae4e3,_0x21dec0-0xc5,_0x341d77-_0x2bf91d._0x4f49b2,_0x341d77-_0x2bf91d._0x5b5046);}const _0x3bf2eb=[];for(const _0x40c102 of _0x133b06[_0x4c0bfe(_0x427c9c._0x9c1afa,0x207,_0x427c9c._0x1ba3b9,_0x427c9c._0x2818b8)](/\r?\n/)){if(_0x3bf2eb[_0x4c0bfe(-_0x427c9c._0x14b810,0xba,0x41,_0x427c9c._0x146f8a)]>=_0x119046)break;const _0x598ca4=parseMatchLine(_0x40c102,_0x3cd0af);if(_0x598ca4)_0x3bf2eb[_0x4c0bfe(_0x427c9c._0x2b9591,_0x427c9c._0x57cd9e,_0x427c9c._0x1a1d4e,_0x427c9c._0x2d4975)](_0x598ca4);}_0x1ac6b4(_0x3bf2eb);});function _0x2c42df(_0x1a2f79,_0x34a128,_0x43e706,_0x4483c0){return _0x314026(_0x1a2f79-0x14c,_0x4483c0- -_0xa9ba1c._0x57fdaf,_0x43e706-_0xa9ba1c._0x1776cb,_0x1a2f79);}_0xa79ba6['on'](_0x2c42df(-_0x5d93bd._0x2dff9a,-0x2c5,-0x102,-_0x5d93bd._0x109e00),_0x5a1978);});}function createGlobTool(_0x48dc5e={}){const _0x5dbb27={_0x4bd390:0x56a,_0x215794:0x53e,_0x1c1158:0x4be,_0x47c906:0x347,_0x37b4f6:0x4b9,_0x55d7ca:0x35a,_0xb1e77:0x3fc,_0x511987:0x400,_0x36462f:0x53d,_0x1d1e87:0x4b2,_0x568a39:0x4dc,_0x1f247f:0x3a0,_0x2bd77d:0x39a,_0x5a5baa:0x2d1,_0x2eac14:0x3f2,_0x1bb65f:0x50e,_0x16ebc3:0x506,_0x5d54d6:0x63e,_0x134a28:0x44d,_0x2829b8:0x3df,_0x19c1bc:0x512,_0x5ca8b4:0x58b},_0x507873={_0xd25708:0x246,_0x467352:0x350,_0x26b30c:0x298,_0x2a022f:0xaa,_0x1a1e59:0x204,_0x51a6f4:0x1a1,_0x4a474d:0x470,_0x5692be:0x644,_0x3970b1:0x3e5,_0x4a5c52:0x41b,_0x308042:0x309,_0x15c6c7:0x285,_0x12258e:0x4d9,_0x26ae8:0x4ea,_0x42193a:0x4f5,_0x4ad02a:0x514,_0xcbabf1:0x569,_0x2be723:0x185,_0x3e8ab6:0x6c,_0x34bf04:0x616,_0x1405c2:0x58c,_0x543dbb:0x582,_0x3e236d:0x34,_0x3ca484:0x24d,_0x3bc2ac:0x43f,_0x2f01cd:0x558,_0x492dc3:0x20,_0x520e37:0x14c,_0x39e47d:0x424,_0x35553f:0x499,_0x3a88dd:0x47b,_0x1ba85a:0x526,_0x2fa933:0x2ca,_0x19262a:0x2fc,_0x1f3657:0xc8,_0x135f0f:0x1f5,_0x19a452:0x301,_0xedbb62:0x2b1,_0x30fcaa:0x56d,_0x37a325:0x39c},_0x8bc493={_0x44f244:0x130,_0x332f17:0x453,_0x788130:0xa3},_0x512845=_0x4567bd['resolve'](_0x48dc5e['defaultCwd']??process[_0x279487(_0x5dbb27._0x4bd390,0x5a2,_0x5dbb27._0x215794,0x67a)]()),_0x597927=_0x48dc5e[_0x41de3c(_0x5dbb27._0x1c1158,_0x5dbb27._0x47c906,0x56c,0x52e)]??[];function _0x41de3c(_0x2056e6,_0x71682e,_0x3995fd,_0x2812d4){return _0x2cc51b(_0x2812d4,_0x71682e-0xda,_0x3995fd-0x194,_0x2056e6- -0x4d);}const _0x2a6a2f=_0x48dc5e[_0x279487(0x38b,0x4f4,0x64f,0x432)]??0x64;function _0x279487(_0x584fdc,_0x1c1cb9,_0xb57b2a,_0x972fa8){return _0x38eb01(_0xb57b2a,_0x1c1cb9-0x646,_0xb57b2a-0x134,_0x972fa8-0x120);}const _0x39e0d8=_0x48dc5e['name']??_0x41de3c(_0x5dbb27._0x37b4f6,_0x5dbb27._0x55d7ca,_0x5dbb27._0xb1e77,_0x5dbb27._0x511987);return defineTool({'name':_0x39e0d8,'permissionClass':_0x279487(_0x5dbb27._0x36462f,0x55f,_0x5dbb27._0x1d1e87,_0x5dbb27._0x568a39),'description':_0x41de3c(_0x5dbb27._0x1f247f,_0x5dbb27._0x2bd77d,_0x5dbb27._0x5a5baa,0x3b2),'inputSchema':{'type':_0x41de3c(0x42b,_0x5dbb27._0x2eac14,_0x5dbb27._0x1bb65f,0x2f9),'properties':{'pattern':{'type':_0x41de3c(0x523,_0x5dbb27._0x16ebc3,_0x5dbb27._0x5d54d6,0x655)},'path':{'type':'string'},'limit':{'type':_0x41de3c(_0x5dbb27._0x134a28,0x547,0x39f,_0x5dbb27._0x2829b8)}},'required':[_0x41de3c(_0x5dbb27._0x19c1bc,_0x5dbb27._0x5ca8b4,0x618,0x5c0)]},async *'execute'(_0x30fa47){const _0xedfc57={_0x205f83:0x14b,_0x4d065e:0xc4};if(_0x30fa47[_0x34cf9e(0x1ad,0x3a7,_0x507873._0xd25708,_0x507873._0x467352)][_0x34cf9e(_0x507873._0x26b30c,_0x507873._0x2a022f,_0x507873._0x1a1e59,_0x507873._0x51a6f4)]()['length']===0x0)throw new ToolExecutionError('pattern\x20is\x20required',{});function _0x49f93b(_0x1f4c28,_0x8be1c1,_0x4d5ae5,_0xdcd09a){return _0x279487(_0x1f4c28-_0xedfc57._0x205f83,_0x8be1c1- -_0xedfc57._0x4d065e,_0x1f4c28,_0xdcd09a-0x1a8);}const _0x46eb79=resolveAllowedPath(_0x512845,_0x597927,_0x30fa47[_0x49f93b(_0x507873._0x4a474d,0x4ea,_0x507873._0x5692be,_0x507873._0x3970b1)]??'.'),_0x4f268b=await _0x437a30(_0x46eb79)['catch'](()=>null);if(!_0x4f268b?.[_0x49f93b(0x445,_0x507873._0x4a5c52,_0x507873._0x308042,0x4e0)]())throw new ToolExecutionError(_0x34cf9e(0xec,0x359,0x206,_0x507873._0x15c6c7)+(_0x30fa47['path']??'.'),{'path':_0x30fa47[_0x49f93b(_0x507873._0x12258e,_0x507873._0x26ae8,_0x507873._0x42193a,_0x507873._0x4ad02a)]??'.'});const _0x23dddc=_0x30fa47['limit']??_0x2a6a2f,_0x58bf96=Math[_0x49f93b(0x62d,0x569,_0x507873._0xcbabf1,0x448)](0x1,Math[_0x34cf9e(_0x507873._0x2be723,-_0x507873._0x3e8ab6,0x59,0x1b3)](_0x23dddc)),_0x217190=[];let _0x4dcc02=![];for await(const _0x34ddd1 of files({'cwd':_0x46eb79,'glob':[_0x30fa47[_0x49f93b(_0x507873._0x34bf04,0x5d5,_0x507873._0x1405c2,_0x507873._0x543dbb)]]})){if(_0x217190[_0x34cf9e(0x1e,-_0x507873._0x3e236d,0xec,_0x507873._0x3ca484)]>=_0x58bf96){_0x4dcc02=!![];break;}const _0x5f103d=await _0x437a30(_0x4567bd[_0x34cf9e(0xfe,0x3c,0x1c,0x3c)](_0x46eb79,_0x34ddd1))[_0x49f93b(_0x507873._0x3bc2ac,_0x507873._0x2f01cd,0x481,0x5b3)](()=>null);_0x217190[_0x34cf9e(-_0x507873._0x492dc3,0x1f4,_0x507873._0x520e37,0x2ab)]({'path':_0x34ddd1,'mtime':_0x5f103d?.['mtimeMs']??0x0});}_0x217190['sort']((_0x46e299,_0x54769d)=>_0x54769d[_0x49f93b(0x3f8,0x54e,0x52c,0x4eb)]-_0x46e299[_0x49f93b(0x481,0x54e,0x6b8,0x4d1)]);const _0xb95979=_0x217190[_0x49f93b(_0x507873._0x39e47d,0x52f,0x4ec,0x5bc)](_0xd72e85=>_0xd72e85['path']),_0x13e330=_0xb95979[_0x49f93b(_0x507873._0x35553f,_0x507873._0x3a88dd,0x432,_0x507873._0x1ba85a)]===0x0?'No\x20files\x20found\x20matching\x20pattern:\x20'+_0x30fa47['pattern']:''+_0xb95979[_0x49f93b(_0x507873._0x2fa933,0x3ab,0x3bf,_0x507873._0x19262a)]('\x0a')+(_0x4dcc02?_0x34cf9e(_0x507873._0x1f3657,0x294,_0x507873._0x135f0f,0x9d):'');function _0x34cf9e(_0x207580,_0x5debc8,_0x378d71,_0x44bc69){return _0x279487(_0x207580-_0x8bc493._0x44f244,_0x378d71- -_0x8bc493._0x332f17,_0x207580,_0x44bc69-_0x8bc493._0x788130);}return yield createToolOutput(_0x13e330,{'pattern':_0x30fa47['pattern'],'searchPath':_0x4567bd[_0x49f93b(0x31e,_0x507873._0x19a452,_0x507873._0xedbb62,0x34c)](_0x512845,_0x46eb79)||'.','matches':_0xb95979,'count':_0xb95979[_0x49f93b(_0x507873._0x30fcaa,0x47b,_0x507873._0x37a325,0x5ec)],'truncated':_0x4dcc02}),void 0x0;}});}import{stat as _0x2942dd}from'fs/promises';import*as _0x235570 from'path';var MAX_LINE_LENGTH=0x7d0;function createGrepTool(_0x2c07a6={}){const _0x496b43={_0x118dc7:0x10f,_0x17dd25:0x2a5,_0x54239c:0x1cd,_0x4b39d2:0x1b4,_0x2d825:0x49,_0x3688cb:0x16f,_0x3396cd:0x4ea,_0x38f5f6:0x41a,_0x4308c2:0x4d2,_0xa551f3:0x506,_0x446a9e:0x2d0,_0x597223:0x24e,_0x21ba10:0x62,_0x306638:0x1df,_0x1cb099:0x95,_0xe1db5a:0x6c6,_0x1d8da5:0x6b1},_0x303f3e={_0x4380ef:0x321,_0x24fe7a:0x3da,_0x3573f9:0x2df,_0x56dd41:0x3ee,_0x1a6304:0x2f5,_0x56ca35:0x227,_0x4c8dd6:0xbc,_0x2fc57b:0x4e,_0x499c1b:0x35a,_0x41188d:0x27d,_0x4d6070:0x36e,_0x53db5d:0x288,_0x1a9e35:0x106,_0x30274d:0x167,_0x4cc36c:0x245,_0x4e71b8:0x360,_0x5db48c:0x349,_0x4529ac:0x327,_0xa3c6f7:0x129,_0x1f748b:0x236,_0x3b250e:0xfa,_0x317de1:0x216,_0x148a5f:0x2b5,_0x24586b:0x139,_0x5b96d6:0x93,_0x438f5c:0x16,_0x38373a:0x82,_0x1d6f39:0x11e,_0x5a3bc0:0xc,_0x3e618f:0x15a,_0x1f0faa:0x15,_0x53e5bf:0x41,_0x40518e:0x1a2,_0x3fd0a0:0xaf,_0xebc98a:0x28,_0x1b8823:0x6d,_0xe3e536:0xaf,_0x5724cc:0x1e3,_0x1b50c4:0xb6,_0x41b765:0xb,_0x52812a:0x119,_0x26d67e:0x185,_0x1e5ff9:0x217,_0x181181:0x3c,_0x3791de:0xa2,_0xaa2da1:0x120,_0x1a36e2:0x2a7,_0xd92091:0x60,_0x2a05e9:0x11e,_0x506f61:0x27,_0x25ed51:0x92,_0x5d16fb:0x41,_0x1baede:0x69,_0x5a93b5:0x101,_0xbbb4f7:0xe9,_0x1053c8:0x3e,_0x51d26e:0x1c7,_0x4aa341:0x310,_0x17b129:0x1c7,_0x347de6:0x1e1,_0x22bf82:0x1c7,_0x306361:0x17,_0xf3d0a4:0xfc,_0x1e134f:0x1ae,_0x5c3545:0x1c5,_0x25e278:0x39a,_0x1efdc0:0x165,_0x1f7e58:0x1c8,_0x318bd2:0x10e,_0x41ddc1:0x1c1,_0x2e2475:0xf9,_0x3484c1:0xa7,_0x2a14b7:0xe2,_0x172cfc:0x1d7,_0xa36dd5:0x302,_0x18b918:0x3fa,_0x5b00e6:0x413,_0x4d4da1:0x33b,_0xe9a326:0x2aa,_0x472098:0x1da,_0x5bf099:0x3e2,_0xb6899c:0xe3,_0x31b413:0x9,_0x54a709:0xe1,_0x48deee:0x244,_0x61810f:0xc1,_0x1cf0f9:0x336,_0x552370:0x328,_0x96bf62:0x3f0,_0x1f421c:0x451,_0x351028:0x4d,_0x50e864:0x43,_0x4f38bb:0x72,_0xdb35a6:0x172,_0x50f075:0x7a,_0x4dad54:0x2c0,_0x5c7aa2:0x1d5,_0x295475:0x106,_0x187869:0x59,_0x42a969:0xb5,_0xccac8d:0xee,_0x467955:0x1dc},_0x133379={_0x55faf5:0x109,_0x43a930:0x29,_0x54f425:0x1af},_0x54410b={_0x14313a:0x106};function _0x495191(_0x33c069,_0xa7d296,_0x4568d3,_0x4d7610){return _0x38eb01(_0x33c069,_0x4568d3-0x566,_0x4568d3-0x27,_0x4d7610-_0x54410b._0x14313a);}function _0x50fe37(_0x1955b1,_0x46db52,_0xf2457e,_0x4052d8){return _0x38eb01(_0x46db52,_0xf2457e-_0x133379._0x55faf5,_0xf2457e-_0x133379._0x43a930,_0x4052d8-_0x133379._0x54f425);}const _0x576eb3=_0x235570[_0x50fe37(-0x28e,-0x83,-_0x496b43._0x118dc7,-0x209)](_0x2c07a6[_0x495191(0x3b5,0x42f,0x356,_0x496b43._0x17dd25)]??process['cwd']()),_0x108387=_0x2c07a6['allowedDirs']??[],_0x1d31da=_0x2c07a6[_0x50fe37(-_0x496b43._0x54239c,-_0x496b43._0x4b39d2,-_0x496b43._0x2d825,-_0x496b43._0x3688cb)]??0x64,_0x2c0716=_0x2c07a6['name']??_0x495191(_0x496b43._0x3396cd,0x352,0x4d1,_0x496b43._0x38f5f6);return defineTool({'name':_0x2c0716,'permissionClass':'read','description':'Search\x20for\x20a\x20regex\x20pattern\x20in\x20workspace\x20or\x20allowed\x20directory\x20file\x20contents.','inputSchema':{'type':_0x495191(0x547,0x606,_0x496b43._0x4308c2,_0x496b43._0xa551f3),'properties':{'pattern':{'type':_0x50fe37(_0x496b43._0x446a9e,_0x496b43._0x597223,0x16d,0x17b)},'path':{'type':'string'},'include':{'type':_0x50fe37(_0x496b43._0x21ba10,0x171,0x16d,0x200)},'limit':{'type':'number'},'context':{'type':_0x50fe37(_0x496b43._0x306638,0x171,0x97,_0x496b43._0x1cb099)}},'required':[_0x495191(0x6f8,_0x496b43._0xe1db5a,0x5b9,_0x496b43._0x1d8da5)]},async *'execute'(_0x5b8c26){const _0x38f1b2={_0x1cb92a:0x1ab,_0x6626ee:0x19f};if(_0x5b8c26[_0x57bfa4(0x357,0x37a,_0x303f3e._0x4380ef,_0x303f3e._0x24fe7a)][_0x57bfa4(0x433,0x19d,_0x303f3e._0x3573f9,_0x303f3e._0x56dd41)]()[_0x57bfa4(0x17b,0x1a8,0x1c7,_0x303f3e._0x1a6304)]===0x0)throw new ToolExecutionError(_0x36d7ad(_0x303f3e._0x56ca35,_0x303f3e._0x4c8dd6,-_0x303f3e._0x2fc57b,0x10a),{});const _0x32c204=resolveAllowedPath(_0x576eb3,_0x108387,_0x5b8c26['path']??'.'),_0x1fb50d=await _0x2942dd(_0x32c204)[_0x57bfa4(0x253,0x2e9,0x2a4,0x411)](()=>null),_0x3459be=_0x1fb50d?.[_0x57bfa4(0x34c,_0x303f3e._0x499c1b,_0x303f3e._0x41188d,_0x303f3e._0x4d6070)]()??![];function _0x57bfa4(_0x1ea8e1,_0x45bf29,_0x3589fa,_0x496aae){return _0x50fe37(_0x1ea8e1-0x102,_0x496aae,_0x3589fa-0x1c5,_0x496aae-0xfe);}const _0x538e5d=_0x1fb50d?.[_0x57bfa4(_0x303f3e._0x53db5d,_0x303f3e._0x1a9e35,_0x303f3e._0x30274d,_0x303f3e._0x4cc36c)]()??![];if(!_0x3459be&&!_0x538e5d)throw new ToolExecutionError(_0x57bfa4(0x3b1,0x2f8,0x310,_0x303f3e._0x4e71b8)+(_0x5b8c26[_0x57bfa4(_0x303f3e._0x5db48c,_0x303f3e._0x4529ac,0x236,_0x303f3e._0xa3c6f7)]??'.'),{'path':_0x5b8c26[_0x57bfa4(0x156,0x11b,_0x303f3e._0x1f748b,0x313)]??'.'});function _0x36d7ad(_0x12fbbc,_0x590a73,_0x51b3a7,_0x410977){return _0x495191(_0x51b3a7,_0x590a73-_0x38f1b2._0x1cb92a,_0x590a73- -0x45f,_0x410977-_0x38f1b2._0x6626ee);}const _0x325a1f=_0x5b8c26[_0x57bfa4(_0x303f3e._0x3b250e,0x2bb,0x17c,0x70)]??_0x1d31da,_0x179e1d=Math[_0x57bfa4(_0x303f3e._0x317de1,0x3d7,_0x303f3e._0x148a5f,_0x303f3e._0x24586b)](0x1,Math[_0x36d7ad(-0x3e,-_0x303f3e._0x5b96d6,-0x1a9,_0x303f3e._0x438f5c)](_0x325a1f)),_0x5c040=await search({'cwd':_0x538e5d?_0x32c204:_0x235570[_0x36d7ad(0x16,-_0x303f3e._0x38373a,-_0x303f3e._0x1d6f39,-_0x303f3e._0x5a3bc0)](_0x32c204),'pattern':_0x5b8c26[_0x36d7ad(0x20c,_0x303f3e._0x3e618f,0x180,_0x303f3e._0x1f0faa)],'glob':_0x538e5d?_0x5b8c26['include']:void 0x0,'limit':_0x179e1d,'file':_0x3459be?_0x32c204:void 0x0,'context':_0x5b8c26['context']}),_0x48c8f2=new Map();for(const _0xef5882 of _0x5c040){if(!_0x48c8f2[_0x36d7ad(0x147,_0x303f3e._0x53e5bf,0xe1,-0xd8)](_0xef5882[_0x36d7ad(-_0x303f3e._0x40518e,-_0x303f3e._0x3fd0a0,-0xfa,_0x303f3e._0xebc98a)])){const _0x58aad1=await _0x2942dd(_0xef5882[_0x36d7ad(_0x303f3e._0x1b8823,-_0x303f3e._0xe3e536,-_0x303f3e._0x5724cc,-0x1fd)])['catch'](()=>null);_0x48c8f2['set'](_0xef5882[_0x57bfa4(0xe9,_0x303f3e._0x1b50c4,0x118,-_0x303f3e._0x41b765)],{'matches':[],'mtime':_0x58aad1?.[_0x36d7ad(-0x21a,-0x106,-_0x303f3e._0x52812a,-_0x303f3e._0x26d67e)]??0x0});}_0x48c8f2['get'](_0xef5882[_0x36d7ad(-_0x303f3e._0x1e5ff9,-_0x303f3e._0xe3e536,0x6d,-_0x303f3e._0x181181)])?.[_0x36d7ad(-_0x303f3e._0x3791de,-_0x303f3e._0xaa2da1,-_0x303f3e._0x1a36e2,0x3c)][_0x36d7ad(-0x7e,_0x303f3e._0xd92091,_0x303f3e._0x2a05e9,-_0x303f3e._0x506f61)](_0xef5882);}const _0xd8c40e=[..._0x48c8f2[_0x36d7ad(-0x60,-_0x303f3e._0x25ed51,-_0x303f3e._0x5d16fb,0xc5)]()][_0x36d7ad(-0x5c,-_0x303f3e._0x1baede,_0x303f3e._0xd92091,-_0x303f3e._0x5a93b5)]((_0x3c455a,_0x59eced)=>_0x59eced[0x1][_0x36d7ad(0x23f,0xd3,0x21,0x108)]-_0x3c455a[0x1]['mtime']),_0xd5a41c=_0x5c040[_0x36d7ad(0x184,_0x303f3e._0xbbb4f7,-_0x303f3e._0x5b96d6,0x65)](_0x2c8066=>!_0x2c8066[_0x57bfa4(-0x81,0x23e,0xe1,-0x4c)])[_0x57bfa4(_0x303f3e._0x1053c8,0x1f1,_0x303f3e._0x51d26e,0x1fb)],_0x105438=_0x5c040[_0x57bfa4(_0x303f3e._0x4aa341,0x333,_0x303f3e._0x17b129,_0x303f3e._0x347de6)]>=_0x179e1d,_0x291fba=_0x3459be?_0x235570['dirname'](_0x32c204):_0x32c204;let _0x2448fd='';if(_0x5c040[_0x57bfa4(0x1c0,0x2e5,_0x303f3e._0x22bf82,0x51)]===0x0)_0x2448fd=_0x57bfa4(_0x303f3e._0x306361,0xeb,0x11a,_0x303f3e._0xf3d0a4)+_0x5b8c26[_0x57bfa4(_0x303f3e._0x1e134f,_0x303f3e._0x5c3545,0x321,_0x303f3e._0x25e278)];else{_0x2448fd=_0x36d7ad(0x1d,-0xfe,-_0x303f3e._0x1efdc0,-0xc3)+_0xd5a41c+'\x20match'+(_0xd5a41c===0x1?'':'es')+'\x0a';for(const [_0x72d239,_0x557278]of _0xd8c40e){const _0x3c1e10=_0x3459be?_0x235570[_0x36d7ad(_0x303f3e._0x1f7e58,_0x303f3e._0x318bd2,-0x4b,0x31)](_0x72d239):_0x235570[_0x57bfa4(_0x303f3e._0x41ddc1,0x8b,0x4d,-0xe3)](_0x291fba,_0x72d239);_0x2448fd+='\x0a'+_0x3c1e10+':\x0a';for(const _0x303876 of _0x557278[_0x57bfa4(_0x303f3e._0x2e2475,0x176,_0x303f3e._0x3484c1,-_0x303f3e._0x2a14b7)]){const _0x574730=_0x303876[_0x57bfa4(_0x303f3e._0x172cfc,_0x303f3e._0xa36dd5,0x2aa,_0x303f3e._0x18b918)]['length']>MAX_LINE_LENGTH?_0x303876[_0x57bfa4(_0x303f3e._0x5b00e6,_0x303f3e._0x4d4da1,_0x303f3e._0xe9a326,0x1c4)][_0x57bfa4(_0x303f3e._0x472098,_0x303f3e._0x5bf099,0x333,0x349)](0x0,MAX_LINE_LENGTH)+_0x36d7ad(0x133,0x5c,-0x122,0x11a):_0x303876[_0x36d7ad(-0x4a,_0x303f3e._0xb6899c,0x1ed,-_0x303f3e._0x31b413)],_0x1c8e55=_0x303876[_0x57bfa4(-0x3f,0x1e5,_0x303f3e._0x54a709,0xcc)]?'\x20\x20':'>\x20';_0x2448fd+=_0x1c8e55+_0x36d7ad(_0x303f3e._0x48deee,_0x303f3e._0x61810f,0xba,-0x7d)+_0x303876[_0x57bfa4(0x248,0x252,_0x303f3e._0x1cf0f9,0x367)]+':\x20'+_0x574730+'\x0a';}}_0x105438&&(_0x2448fd+=_0x57bfa4(_0x303f3e._0x552370,_0x303f3e._0x96bf62,0x2d0,_0x303f3e._0x1f421c));}const _0x2b80b4={'searchPath':_0x235570[_0x57bfa4(0xed,-0x95,_0x303f3e._0x351028,-0x127)](_0x576eb3,_0x32c204)||'.','pattern':_0x5b8c26[_0x36d7ad(_0x303f3e._0x50e864,0x15a,0x33,0x20e)],'matchCount':_0xd5a41c,'fileCount':_0x48c8f2[_0x57bfa4(0x266,_0x303f3e._0x4f38bb,0x1f0,_0x303f3e._0xdb35a6)],'truncated':_0x105438};return _0x538e5d&&_0x5b8c26[_0x57bfa4(_0x303f3e._0x50f075,_0x303f3e._0x4dad54,0x1d7,0xae)]!==void 0x0&&(_0x2b80b4[_0x57bfa4(0x244,_0x303f3e._0x56ca35,_0x303f3e._0x172cfc,_0x303f3e._0x5c7aa2)]=_0x5b8c26[_0x36d7ad(_0x303f3e._0x295475,0x10,-_0x303f3e._0x187869,-0x136)]),yield createToolOutput(_0x2448fd[_0x36d7ad(_0x303f3e._0x42a969,0x118,_0x303f3e._0xccac8d,_0x303f3e._0x467955)](),_0x2b80b4),void 0x0;}});}function createKillShellTool(_0x2334e5){const _0x4a7161={_0x4e9d8c:0x44b,_0xde76eb:0x4f8,_0x16ffb1:0x320,_0x4e87a5:0x430,_0x289592:0x2e3,_0x5d2a42:0x50b,_0x27326b:0x593,_0x5986db:0x45e},_0x362afa={_0x4f355c:0x42f,_0xa4fab3:0x5d1,_0x97b0de:0x490,_0x48d279:0x12b,_0x5bc845:0x156,_0x4af19d:0x4b,_0x38ab05:0xc9,_0x5d7f72:0x59,_0x7c36be:0xba,_0x3754c0:0x15c,_0x4dff08:0x1e,_0x30fb2a:0x1c2,_0xaa5e6:0x133,_0x3ca5c4:0x121,_0x5507a0:0x19,_0x57b5a4:0x5b7,_0x9effb5:0x6f1,_0x349fc9:0x49a,_0x25faba:0xab,_0x337d1b:0xdd},_0x1aa5d6={_0x5b0c7e:0x9d},_0x4df987={_0x1d5ff8:0xbd,_0xb61600:0x110,_0x38898a:0x81};function _0x3d1c48(_0x2b6a4e,_0x3991a8,_0x578388,_0x3bd0aa){return _0x2cc51b(_0x3991a8,_0x3991a8-_0x4df987._0x1d5ff8,_0x578388-_0x4df987._0xb61600,_0x3bd0aa-_0x4df987._0x38898a);}const {registry:_0x37d5b3}=_0x2334e5;function _0x51e6c0(_0x486b0d,_0x54ba73,_0x1a16b3,_0x1d4d71){return _0x2cc51b(_0x54ba73,_0x54ba73-0x1af,_0x1a16b3-0x15f,_0x1d4d71-_0x1aa5d6._0x5b0c7e);}return defineTool({'name':'KillShell','permissionClass':_0x3d1c48(_0x4a7161._0x4e9d8c,_0x4a7161._0xde76eb,_0x4a7161._0x16ffb1,_0x4a7161._0x4e87a5),'description':_0x51e6c0(_0x4a7161._0x289592,_0x4a7161._0x5d2a42,0x36c,0x3da),'inputSchema':{'type':_0x3d1c48(0x52b,_0x4a7161._0x27326b,0x3f5,0x4f9),'properties':{'shellId':{'type':_0x51e6c0(0x509,0x748,0x70c,0x60d)}},'required':[_0x51e6c0(_0x4a7161._0x5986db,0x399,0x26e,0x35d)]},async *'execute'(_0x15531a){const _0x38c389={_0x2a9ab1:0xd3},_0x398464={_0x570147:0x0};function _0x194ca6(_0x193795,_0x2dbfa4,_0xa59f8c,_0x47cfaa){return _0x51e6c0(_0x193795-0x71,_0x47cfaa,_0xa59f8c-_0x398464._0x570147,_0xa59f8c-0x126);}const _0x5148ca=_0x37d5b3[_0x194ca6(_0x362afa._0x4f355c,_0x362afa._0xa4fab3,_0x362afa._0x97b0de,0x56d)](_0x15531a['shellId']);function _0x472cbd(_0x1315fb,_0x4384f4,_0x13bb1d,_0x149572){return _0x3d1c48(_0x1315fb-_0x38c389._0x2a9ab1,_0x13bb1d,_0x13bb1d-0xbc,_0x149572- -0x43a);}return createToolOutput(_0x472cbd(_0x362afa._0x48d279,-0xc1,_0x362afa._0x5bc845,_0x362afa._0x4af19d)+_0x15531a[_0x472cbd(0x41,-_0x362afa._0x38ab05,-0xbd,-0xf9)]+_0x472cbd(_0x362afa._0x5d7f72,_0x362afa._0x7c36be,_0x362afa._0x3754c0,-_0x362afa._0x4dff08)+_0x5148ca[_0x472cbd(_0x362afa._0x30fb2a,_0x362afa._0xaa5e6,0x18c,0x62)]+').',{'shellId':_0x15531a[_0x472cbd(-0x210,-_0x362afa._0x3ca5c4,-_0x362afa._0x5507a0,-0xf9)],'status':_0x5148ca[_0x194ca6(_0x362afa._0x57b5a4,_0x362afa._0x9effb5,0x5de,_0x362afa._0x349fc9)],'exitCode':_0x5148ca['exitCode'],'signal':_0x5148ca[_0x472cbd(_0x362afa._0x25faba,0x100,-_0x362afa._0x337d1b,-0x57)]});}});}import{readdir as _0x16394a,readFile as _0xcf47cc,stat as _0x5e287e}from'fs/promises';import*as _0x4bb443 from'path';import*as _0x106f65 from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x19d41c,_0x1fe6e7){const _0x5fa319={_0x1e0dac:0x69b,_0x4c2455:0x482,_0x1e5bb2:0x6a2,_0x8d54e0:0x6c7,_0x44e81e:0x58e,_0x3c8aba:0x483},_0x167ef5={_0x32782c:0x15e,_0x4bebb7:0x1c1},_0x33d058={_0x7ac629:0x140};function _0x5eb921(_0x42c3db,_0x5a88dc,_0x47faa4,_0x462e97){return _0x2cc51b(_0x47faa4,_0x5a88dc-0x1a2,_0x47faa4-_0x33d058._0x7ac629,_0x5a88dc-0x189);}if(_0x1fe6e7>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;const _0x2b265c=await _0xcf47cc(_0x19d41c)['catch'](()=>null);function _0x15d608(_0x3852c2,_0x48aba7,_0x18d43c,_0x50bcdb){return _0x38eb01(_0x18d43c,_0x48aba7-0x688,_0x18d43c-_0x167ef5._0x32782c,_0x50bcdb-_0x167ef5._0x4bebb7);}if(!_0x2b265c||isProbablyBinary(_0x2b265c))return void 0x0;return _0x2b265c['toString'](_0x5eb921(_0x5fa319._0x1e0dac,0x572,0x55a,_0x5fa319._0x4c2455))[_0x5eb921(0x775,_0x5fa319._0x1e5bb2,_0x5fa319._0x8d54e0,0x63a)](/\r?\n/)[_0x5eb921(0x4e3,_0x5fa319._0x44e81e,0x49b,_0x5fa319._0x3c8aba)];}function createLsTool(_0x361650={}){const _0x321e0b={_0x2d2ff2:0x1c0,_0x54ec99:0x3,_0x2d9c1e:0x129,_0x51c5dc:0x22e,_0x49d7fc:0xf2,_0x17400f:0x86,_0x4e2d48:0xef,_0x312572:0x8a,_0x20ec25:0x24,_0x23775b:0x1eb,_0x1bc794:0xc,_0x37ad2e:0x33},_0x5f3f28={_0x25737c:0x3bd,_0x3d95c7:0x1e5,_0x14765e:0x3b2,_0x4635b7:0x28c,_0x3b5d70:0x289,_0x5a68fe:0x364,_0x3940b1:0x211,_0x15518c:0x257,_0x591197:0x59b,_0x4354bb:0x315,_0x4ecfd3:0x1bf,_0x18f575:0x8e,_0x56129a:0x23f,_0x3834f3:0x502,_0x66008:0x568,_0x5a08df:0x490,_0x2bb178:0x3d1,_0x20271e:0x201,_0x2bdb4f:0x2b2,_0x33d233:0x251,_0x58bb09:0x148,_0x53531e:0x37e,_0x430f39:0x12b,_0x3b0fd8:0x22d,_0x4b4523:0x30c,_0xf52adc:0x41b,_0x42720e:0x3dc,_0x1c2c8f:0x367,_0x2b9dfe:0x24e,_0x111a65:0x1a4,_0x33916e:0x2fd,_0x3e0b65:0x3ba,_0x5efc12:0x1d5,_0x172def:0x469,_0x49f79f:0x11b,_0xe2c69:0xd8,_0x2caf68:0x298,_0x520814:0xf,_0x169d89:0x1b3,_0xbdc90e:0x337,_0x492af1:0x32e,_0x2ae25a:0x261,_0x4b57e4:0x360,_0x3e490f:0x3a5,_0x16314c:0x427,_0x7c8bf5:0x485,_0x305789:0x2eb,_0x2b774d:0x39e,_0x4183e1:0x14f,_0x9c2930:0x28f,_0x42b348:0x35a,_0x55f530:0x3f2,_0x4c4cda:0x5,_0x4791c3:0x4c2,_0x64c03a:0x357,_0x372ab4:0x24b},_0x589c76={_0x4e46e3:0x86,_0x3f5bb2:0x41b},_0x3f7ac0={_0x37262e:0x34},_0x336755={_0x304061:0x173},_0x26df4a=_0x4bb443[_0x15fe19(0xe0,0xe5,-0x44,-_0x321e0b._0x2d2ff2)](_0x361650['defaultCwd']??process[_0x4ea6ed(-0x1bd,-_0x321e0b._0x54ec99,-_0x321e0b._0x2d9c1e,-_0x321e0b._0x51c5dc)]()),_0x5158e7=_0x361650[_0x4ea6ed(-0x1be,-_0x321e0b._0x49d7fc,-_0x321e0b._0x17400f,-0x1b0)]??[];function _0x15fe19(_0x2fb392,_0x13bfc9,_0x44da11,_0x395184){return _0x2cc51b(_0x13bfc9,_0x13bfc9-0x14b,_0x44da11-_0x336755._0x304061,_0x44da11- -0x338);}function _0x4ea6ed(_0x2423ac,_0x2f0894,_0x2fe433,_0x1d2f69){return _0x38eb01(_0x1d2f69,_0x2fe433- -0x85,_0x2fe433-0x3f,_0x1d2f69-_0x3f7ac0._0x37262e);}const _0x49309f=_0x361650[_0x15fe19(-_0x321e0b._0x4e2d48,0xf7,-_0x321e0b._0x312572,-0x1b)]??'Ls';return defineTool({'name':_0x49309f,'permissionClass':_0x15fe19(-_0x321e0b._0x20ec25,_0x321e0b._0x23775b,0xed,0x1b1),'description':'List\x20files\x20and\x20directories\x20in\x20the\x20workspace\x20or\x20allowed\x20directories.','inputSchema':{'type':_0x4ea6ed(-0x28a,_0x321e0b._0x1bc794,-0x119,-_0x321e0b._0x37ad2e),'properties':{'path':{'type':'string'},'limit':{'type':'number'}}},async *'execute'(_0x37a124){const _0x4ef5f2={_0x4343a2:0x460},_0x3cf8d4=_0x37a124[_0x17b428(0x343,_0x5f3f28._0x25737c,0x412,0x2ee)]??'.',_0x318bf1=resolveAllowedPath(_0x26df4a,_0x5158e7,_0x3cf8d4),_0x12a81f=await _0x5e287e(_0x318bf1)['catch'](()=>null);function _0x5e025e(_0x4e3dad,_0x1f294e,_0x1ba8b0,_0x116cd6){return _0x4ea6ed(_0x4e3dad-_0x589c76._0x4e46e3,_0x1f294e-0x62,_0x1f294e-_0x589c76._0x3f5bb2,_0x116cd6);}if(!_0x12a81f?.[_0x5e025e(_0x5f3f28._0x3d95c7,0x22f,_0x5f3f28._0x14765e,0x26d)]())throw new ToolExecutionError(_0x5e025e(0x279,0x3a9,_0x5f3f28._0x4635b7,0x4c1)+_0x3cf8d4,{'path':_0x3cf8d4});const _0x6afda6=_0x37a124[_0x17b428(_0x5f3f28._0x3b5d70,0x3fe,0x1e7,0x2bd)]??0x3e8,_0x5c4c0a=Math[_0x17b428(0x200,0x232,0x349,0xd4)](Math[_0x17b428(0x3c2,0x43f,_0x5f3f28._0x5a68fe,0x2c7)](Math[_0x5e025e(0x35d,0x1fc,_0x5f3f28._0x3940b1,_0x5f3f28._0x15518c)](_0x6afda6),0x1),0x2710),_0x23e224=await _0x16394a(_0x318bf1),_0x52ceeb=[];function _0x17b428(_0x3f1bd,_0x4efd07,_0x5f4bbf,_0x5585ea){return _0x4ea6ed(_0x3f1bd-0xae,_0x4efd07-0x5e,_0x3f1bd-_0x4ef5f2._0x4343a2,_0x5f4bbf);}for(const _0x400b67 of _0x23e224[_0x17b428(0x440,0x506,_0x5f3f28._0x591197,0x481)](0x0,_0x5c4c0a)){const _0x283b82=_0x4bb443[_0x5e025e(_0x5f3f28._0x4354bb,_0x5f3f28._0x4ecfd3,_0x5f3f28._0x18f575,_0x5f3f28._0x56129a)](_0x318bf1,_0x400b67),_0xab7efe=await _0x5e287e(_0x283b82)[_0x17b428(0x3b1,0x4f3,_0x5f3f28._0x3834f3,0x342)](()=>null);if(!_0xab7efe)continue;let _0x3ea07f=_0x5e025e(0x49d,0x402,_0x5f3f28._0x66008,0x3d7);if(_0xab7efe[_0x5e025e(_0x5f3f28._0x5a08df,0x345,0x396,_0x5f3f28._0x2bb178)]())_0x3ea07f=_0x5e025e(_0x5f3f28._0x20271e,0x337,0x401,_0x5f3f28._0x2bdb4f);else{if(_0xab7efe[_0x5e025e(_0x5f3f28._0x33d233,0x22f,_0x5f3f28._0x58bb09,0x25e)]())_0x3ea07f=_0x5e025e(_0x5f3f28._0x53531e,0x28d,_0x5f3f28._0x430f39,_0x5f3f28._0x3b0fd8);else{if(_0xab7efe[_0x5e025e(_0x5f3f28._0x4b4523,_0x5f3f28._0xf52adc,_0x5f3f28._0x42720e,0x3b8)]())_0x3ea07f=_0x5e025e(_0x5f3f28._0x1c2c8f,_0x5f3f28._0x2b9dfe,_0x5f3f28._0x111a65,0x273);}}const _0x53fc1d={'name':_0x400b67,'type':_0x3ea07f,'size':_0xab7efe[_0x17b428(_0x5f3f28._0x33916e,_0x5f3f28._0x3e0b65,_0x5f3f28._0x5efc12,_0x5f3f28._0x172def)],'mtime':_0xab7efe[_0x17b428(0x1ce,_0x5f3f28._0x49f79f,_0x5f3f28._0xe2c69,0x2c9)],'mode':_0xab7efe[_0x5e025e(_0x5f3f28._0x2caf68,0x16e,_0x5f3f28._0x520814,_0x5f3f28._0x169d89)]},_0x1ad233=_0x3ea07f===_0x5e025e(0x1b8,_0x5f3f28._0xbdc90e,_0x5f3f28._0x492af1,0x3ec)?await countTextLines(_0x283b82,_0xab7efe[_0x17b428(_0x5f3f28._0x33916e,0x2b6,_0x5f3f28._0x2ae25a,_0x5f3f28._0x4b57e4)]):void 0x0;if(_0x1ad233!==void 0x0)_0x53fc1d[_0x5e025e(_0x5f3f28._0x3e490f,0x3f8,0x38b,_0x5f3f28._0x16314c)]=_0x1ad233;_0x52ceeb[_0x17b428(0x334,_0x5f3f28._0x7c8bf5,_0x5f3f28._0x305789,0x463)](_0x53fc1d);}_0x52ceeb['sort']((_0x4a645a,_0x48edcb)=>_0x4a645a[_0x17b428(0x17d,0x5f,0x94,0x22d)][_0x5e025e(0x46d,0x34d,0x29d,0x3f4)](_0x48edcb[_0x17b428(0x17d,0x259,0x67,0x1c9)]));const _0x304dc1={'path':_0x3cf8d4,'total':_0x52ceeb[_0x5e025e(0x371,0x28f,_0x5f3f28._0x2b774d,0x349)],'truncated':_0x23e224[_0x5e025e(_0x5f3f28._0x4183e1,_0x5f3f28._0x9c2930,_0x5f3f28._0x42b348,_0x5f3f28._0x55f530)]>_0x5c4c0a,'entries':_0x52ceeb};return yield createToolOutput(_0x106f65[_0x5e025e(0x59,0x14f,-_0x5f3f28._0x4c4cda,-0x2d)](_0x304dc1,{'indent':0x2,'lineWidth':0x0})[_0x17b428(0x3bb,_0x5f3f28._0x4791c3,_0x5f3f28._0x64c03a,0x544)](),{'path':_0x3cf8d4,'total':_0x52ceeb[_0x5e025e(0x1ea,0x28f,_0x5f3f28._0x372ab4,0x1dc)],'truncated':_0x23e224['length']>_0x5c4c0a,'limit':_0x5c4c0a,'entries':_0x52ceeb}),void 0x0;}});}import{stat as _0x5dd2ef}from'fs/promises';import _0x18362a from'path';import{fileURLToPath as _0xbf45f6}from'url';function severityName(_0xb283a9){const _0x3a777e={_0x3f7269:0x459,_0x52c4b8:0x5df,_0x3a6a3b:0x521,_0x2aef47:0x64c,_0x1869e8:0x489,_0x32b9ed:0x4b1},_0x2cdd7d={_0x54ea33:0x5df},_0x3f2584={_0x3b8bb4:0x93};function _0x2c8b3c(_0x46d55b,_0x1d8c14,_0x2f700d,_0x881cba){return _0x2cc51b(_0x881cba,_0x1d8c14-_0x3f2584._0x3b8bb4,_0x2f700d-0xad,_0x1d8c14-0xe1);}function _0x37afed(_0x2cbda6,_0xaa6f72,_0x280102,_0x43966c){return _0x38eb01(_0x280102,_0xaa6f72-_0x2cdd7d._0x54ea33,_0x280102-0x1c3,_0x43966c-0x146);}switch(_0xb283a9){case 0x1:return'Error';case 0x2:return _0x2c8b3c(0x593,_0x3a777e._0x3f7269,_0x3a777e._0x52c4b8,0x346);case 0x3:return _0x37afed(_0x3a777e._0x3a6a3b,_0x3a777e._0x2aef47,0x772,0x645);case 0x4:return _0x37afed(_0x3a777e._0x1869e8,_0x3a777e._0x32b9ed,0x5bb,0x481);default:return'Diagnostic';}}function formatSingleHover(_0x51faad){const _0xbfa016={_0x1236b2:0x2b1,_0xd950f4:0x2e4,_0xb104f5:0x36a,_0x5c27a2:0x640,_0x1e384d:0x581,_0x728bae:0x599,_0x54bd9d:0x619,_0x589431:0x750,_0x340fb2:0x2e8,_0x2a66bc:0x4a5,_0x572b4c:0x4d7,_0x52a5ca:0x2a3,_0x4f6bae:0x148,_0x11f529:0x8c,_0x48d232:0x5c,_0x44e7fd:0x1f8,_0x3ce0b2:0x10b,_0x3dd345:0x37e,_0x3b11e9:0x246,_0x3fb0a7:0x175,_0x530759:0xd4,_0x1eb048:0x6f4,_0x58feab:0x51b,_0x73af02:0x5ee,_0x44b0ff:0x634,_0x42614c:0x473,_0x1c53d7:0x4dd,_0xe065fa:0x4c3},_0x3d3cfb={_0x54d78c:0x10a,_0x36fac4:0x1a2},_0x3cf4a5={_0x89aa06:0x206};function _0x11ab6c(_0x175c1,_0xc213e7,_0x5941cb,_0x2e73cf){return _0x2cc51b(_0x5941cb,_0xc213e7-0x109,_0x5941cb-0x115,_0x2e73cf- -_0x3cf4a5._0x89aa06);}const _0x1e6761=_0x51faad[_0x11ab6c(0x20f,0x234,_0xbfa016._0x1236b2,0x213)];function _0x26c2db(_0x53c3e5,_0x308980,_0x3e1144,_0x4a7652){return _0x2cc51b(_0x53c3e5,_0x308980-_0x3d3cfb._0x54d78c,_0x3e1144-0x66,_0x4a7652-_0x3d3cfb._0x36fac4);}if(typeof _0x1e6761===_0x11ab6c(_0xbfa016._0xd950f4,0x3a8,0x268,_0xbfa016._0xb104f5))return _0x1e6761;if(Array[_0x26c2db(0x463,_0xbfa016._0x5c27a2,_0xbfa016._0x1e384d,_0xbfa016._0x728bae)](_0x1e6761))return _0x1e6761[_0x26c2db(0x66d,_0xbfa016._0x54bd9d,_0xbfa016._0x589431,0x65b)](_0x3f3a49=>typeof _0x3f3a49===_0x11ab6c(0x24d,0x306,0x2d9,0x36a)?_0x3f3a49:_0x3f3a49[_0x26c2db(0x3bf,0x615,0x4f2,0x4b3)])[_0x11ab6c(0x3be,0x1a7,0x45b,_0xbfa016._0x340fb2)](Boolean)[_0x26c2db(0x62f,_0xbfa016._0x2a66bc,0x571,_0xbfa016._0x572b4c)]('\x0a\x0a');if(_0x11ab6c(_0xbfa016._0x52a5ca,0x16a,0x111,_0xbfa016._0x4f6bae)in _0x1e6761)return _0x1e6761[_0x11ab6c(_0xbfa016._0x11f529,_0xbfa016._0x48d232,_0xbfa016._0x44e7fd,_0xbfa016._0x3ce0b2)];return _0x1e6761[_0x11ab6c(_0xbfa016._0x3dd345,0x1c4,0x1eb,_0xbfa016._0x3b11e9)]?_0x11ab6c(0x26f,_0xbfa016._0x3fb0a7,_0xbfa016._0x530759,0x17a)+_0x1e6761[_0x26c2db(_0xbfa016._0x1eb048,_0xbfa016._0x58feab,0x4a0,_0xbfa016._0x73af02)]+'\x0a'+_0x1e6761[_0x26c2db(_0xbfa016._0x44b0ff,0x45d,_0xbfa016._0x42614c,0x4b3)]+_0x26c2db(_0xbfa016._0x1c53d7,0x40f,0x52a,_0xbfa016._0xe065fa):_0x1e6761['value'];}function formatHover(_0x3132d5){const _0x2b697a={_0x59d411:0x3c6,_0x4b484a:0x2bf,_0x364541:0x171,_0x1d68f9:0x251,_0x38725a:0x1c5,_0x385d49:0x281},_0x11bbb1={_0x4c3b47:0x5b6},_0x3694b6={_0x18a71b:0xe9};if(_0x3132d5[_0x4aa7d8(0x1d0,0x64,0x41,0x19d)]===0x0)return _0x938e1c(-_0x2b697a._0x59d411,-0x1e5,-0x196,-0x245);function _0x4aa7d8(_0x5246ba,_0x499bde,_0xedb98a,_0x2537d7){return _0x2cc51b(_0x5246ba,_0x499bde-_0x3694b6._0x18a71b,_0xedb98a-0x190,_0x2537d7- -0x268);}function _0x938e1c(_0x5c5b9f,_0x32b1f5,_0xa97e67,_0x3a9fdf){return _0x2cc51b(_0x5c5b9f,_0x32b1f5-0x1b5,_0xa97e67-0x1dd,_0x3a9fdf- -_0x11bbb1._0x4c3b47);}return _0x3132d5[_0x4aa7d8(_0x2b697a._0x4b484a,_0x2b697a._0x364541,0x398,_0x2b697a._0x1d68f9)](formatSingleHover)[_0x938e1c(-0x112,-_0x2b697a._0x38725a,-0x14c,-_0x2b697a._0x385d49)]('\x0a\x0a---\x0a\x0a');}function locationPath(_0x3fb392){const _0xd51897={_0xdb55a0:0x1b9,_0x2a2b87:0x302,_0x1cf1ed:0xf5,_0x413345:0x138},_0x16d343={_0x4da322:0xad,_0x34b250:0x183,_0x24a16a:0x3ce},_0x26add5={_0x34f6a5:0x146,_0x48480b:0x290};function _0x5b17d4(_0x56551a,_0x456436,_0x1b1fa7,_0x39d969){return _0x2cc51b(_0x39d969,_0x456436-0x92,_0x1b1fa7-_0x26add5._0x34f6a5,_0x456436- -_0x26add5._0x48480b);}function _0x2b16d4(_0x5cd828,_0x710a4d,_0x2b1e54,_0xf9de54){return _0x2cc51b(_0x5cd828,_0x710a4d-_0x16d343._0x4da322,_0x2b1e54-_0x16d343._0x34b250,_0xf9de54- -_0x16d343._0x24a16a);}if(!_0x3fb392[_0x5b17d4(0x11b,_0xd51897._0xdb55a0,0x130,_0xd51897._0x2a2b87)](_0x5b17d4(-0x7d,_0xd51897._0x1cf1ed,_0xd51897._0x413345,0x265)))return _0x3fb392;return _0xbf45f6(_0x3fb392);}function formatLocations(_0x2f1837){const _0x40b611={_0x3e4c49:0x60e},_0x51a3db={_0x4704c1:0xf9,_0x754efb:0x18c,_0x50c2b3:0x78,_0x518ec9:0x43f,_0x73401b:0x3db,_0x4bdc13:0x44b,_0xa77859:0x189},_0x10f7d1={_0x1f6b19:0x123},_0x16c531={_0x3be500:0x155};if(_0x2f1837['length']===0x0)return'No\x20locations\x20found';function _0x12937b(_0x13e001,_0xcb1437,_0x5fb7a4,_0x45c801){return _0x2cc51b(_0x45c801,_0xcb1437-0xe3,_0x5fb7a4-0xa7,_0xcb1437-_0x16c531._0x3be500);}return _0x2f1837[_0x12937b(0x518,_0x40b611._0x3e4c49,0x744,0x657)](_0x319e47=>{const _0x4a908d={_0x301713:0x169,_0x4b2a40:0x135,_0x187594:0x115};function _0x449cc7(_0xd5b7e1,_0x9db3da,_0x170579,_0x6f26cc){return _0x12937b(_0xd5b7e1-_0x4a908d._0x301713,_0x6f26cc- -_0x4a908d._0x4b2a40,_0x170579-_0x4a908d._0x187594,_0xd5b7e1);}const _0x4791df=_0x319e47[_0x449cc7(0x62b,0x553,0x436,0x55a)][_0x25ae4a(_0x51a3db._0x4704c1,0x185,_0x51a3db._0x754efb,_0x51a3db._0x50c2b3)];function _0x25ae4a(_0x4256bc,_0x10f184,_0x228353,_0x34152e){return _0x12937b(_0x4256bc-_0x10f7d1._0x1f6b19,_0x34152e- -0x5c0,_0x228353-0x17d,_0x10f184);}return locationPath(_0x319e47[_0x25ae4a(-0x52,-0x8a,-0x6b,-0x20)])+':'+(_0x4791df[_0x449cc7(0x298,_0x51a3db._0x518ec9,_0x51a3db._0x73401b,0x410)]+0x1)+':'+(_0x4791df[_0x449cc7(0x394,_0x51a3db._0x4bdc13,_0x51a3db._0xa77859,0x2e9)]+0x1);})['join']('\x0a');}function isDocumentSymbol(_0x1da5b2){const _0x5dbc1e={_0x35b7b8:0x557,_0x2866e0:0x691,_0xfb97dc:0x4df,_0x340724:0x323,_0x1f6999:0x3c4},_0x1289a5={_0x318d29:0x38f,_0x5ce0ef:0x18e,_0x25729f:0x1cb},_0x291483={_0x3a8feb:0x15a};function _0x4e05a1(_0x221dcb,_0x523626,_0x396277,_0x1447b6){return _0x2cc51b(_0x221dcb,_0x523626-_0x291483._0x3a8feb,_0x396277-0x1c5,_0x396277-0x74);}function _0x25bbb2(_0x220d20,_0x5a92db,_0x30b420,_0xc082e2){return _0x38eb01(_0xc082e2,_0x220d20-_0x1289a5._0x318d29,_0x30b420-_0x1289a5._0x5ce0ef,_0xc082e2-_0x1289a5._0x25729f);}return _0x4e05a1(_0x5dbc1e._0x35b7b8,0x583,0x5ae,_0x5dbc1e._0x2866e0)in _0x1da5b2&&_0x4e05a1(_0x5dbc1e._0xfb97dc,_0x5dbc1e._0x340724,_0x5dbc1e._0x1f6999,0x3a6)in _0x1da5b2;}function formatSymbols(_0x497c0e){const _0x485759={_0x141a76:0x51a,_0x286837:0x3ab,_0xa7805e:0x18d,_0x3dec43:0x103,_0x1c8aca:0x14},_0x543023={_0x5bad8d:0x487,_0x12aa2b:0x547,_0x5b20a0:0x53b,_0x45f6e7:0x701,_0xac2177:0x5f4,_0x1f597d:0x733,_0x210cf2:0x75f,_0x44c9a6:0x5e9,_0x4da9df:0x3ea,_0x2a17f2:0x3b4,_0x13a3f2:0x2f4,_0x436fd4:0x372,_0x306b5b:0x393,_0x4f657b:0x344,_0x5339e9:0x3f1,_0x276639:0x31,_0x2cd433:0x13f,_0x533b6d:0x60a,_0x24e817:0x3df,_0x18dc56:0x5c4,_0x14accb:0x688,_0x4269e5:0x689,_0x12f5ea:0x7fb,_0x590521:0x340,_0x4653f5:0x41e,_0x4be5ab:0x327,_0x2f2dd1:0x72e,_0x34fd29:0x7b9,_0x5075bb:0x737,_0x137b07:0x810,_0x152dac:0x633,_0x41d499:0x279,_0x56bd91:0x230,_0x5bf7ea:0x3ea,_0x288cc3:0x40c,_0x1feef1:0x4ec,_0x22f374:0x211},_0x4b1e04={_0xefe7a9:0x1d1,_0x54e0f7:0xdb,_0xe0a803:0x129},_0x42bd01={_0x276938:0x9a,_0x2173c8:0x321},_0xc603f5={_0xe42a0a:0x1c9,_0x5a2f08:0xda,_0x176f79:0x6c};if(_0x497c0e[_0x559cf0(0x502,0x40d,_0x485759._0x141a76,0x471)]===0x0)return _0x559cf0(0x2e6,0x26b,_0x485759._0x286837,0x3a0);function _0x559cf0(_0xc47087,_0x2bd71c,_0x5bf441,_0x4034a5){return _0x2cc51b(_0xc47087,_0x2bd71c-_0xc603f5._0xe42a0a,_0x5bf441-_0xc603f5._0x5a2f08,_0x4034a5-_0xc603f5._0x176f79);}function _0x4cd4c8(_0xc29060,_0x369335,_0x9cf076,_0x555d68){return _0x2cc51b(_0xc29060,_0x369335-0x4b,_0x9cf076-_0x42bd01._0x276938,_0x369335- -_0x42bd01._0x2173c8);}return _0x497c0e[_0x4cd4c8(_0x485759._0xa7805e,0x198,0xe6,_0x485759._0x3dec43)](_0xf90d94=>{const _0x4a4fc3={_0x359d44:0x73,_0x38c809:0x1b0,_0x207c52:0x18d};if(isDocumentSymbol(_0xf90d94))return _0xf90d94['name']+'\x20('+_0xf90d94[_0x5e1de6(0x5af,_0x543023._0x5bad8d,_0x543023._0x12aa2b,_0x543023._0x5b20a0)]+')\x20['+(_0xf90d94[_0x5e1de6(_0x543023._0x45f6e7,_0x543023._0xac2177,_0x543023._0x1f597d,_0x543023._0x210cf2)]['start'][_0x5e1de6(0x5bf,0x4bb,_0x543023._0x44c9a6,0x714)]+0x1)+':'+(_0xf90d94[_0xd4f22(0x2d9,_0x543023._0x4da9df,_0x543023._0x2a17f2,_0x543023._0x13a3f2)][_0xd4f22(_0x543023._0x436fd4,_0x543023._0x306b5b,_0x543023._0x4f657b,_0x543023._0x5339e9)][_0xd4f22(_0x543023._0x276639,0x179,_0x543023._0x2cd433,0x0)]+0x1)+']';function _0x5e1de6(_0xfb0cbc,_0x26de22,_0x37dc7c,_0x434cfb){return _0x559cf0(_0xfb0cbc,_0x26de22-_0x4a4fc3._0x359d44,_0x37dc7c-_0x4a4fc3._0x38c809,_0x37dc7c-_0x4a4fc3._0x207c52);}function _0xd4f22(_0xe31056,_0xfa661a,_0x7a20ca,_0x3110ec){return _0x4cd4c8(_0x7a20ca,_0xfa661a-_0x4b1e04._0xefe7a9,_0x7a20ca-_0x4b1e04._0x54e0f7,_0x3110ec-_0x4b1e04._0xe0a803);}return _0xf90d94[_0x5e1de6(_0x543023._0x533b6d,_0x543023._0x24e817,0x4a7,0x53c)]+'\x20('+_0xf90d94[_0x5e1de6(_0x543023._0x18dc56,0x44f,0x547,_0x543023._0x14accb)]+')\x20'+locationPath(_0xf90d94[_0x5e1de6(0x65b,0x6b1,_0x543023._0x4269e5,_0x543023._0x12f5ea)][_0x5e1de6(0x7b1,0x770,0x644,0x682)])+':'+(_0xf90d94[_0xd4f22(0x3a3,_0x543023._0x590521,_0x543023._0x4653f5,_0x543023._0x4be5ab)][_0x5e1de6(_0x543023._0x2f2dd1,0x5f7,0x733,_0x543023._0x34fd29)][_0x5e1de6(_0x543023._0x5075bb,_0x543023._0x137b07,0x6dc,_0x543023._0x152dac)]['line']+0x1)+':'+(_0xf90d94[_0xd4f22(_0x543023._0x41d499,0x340,_0x543023._0x56bd91,0x29d)][_0xd4f22(0x564,_0x543023._0x5bf7ea,_0x543023._0x288cc3,_0x543023._0x1feef1)][_0xd4f22(0x4b5,0x393,_0x543023._0x22f374,0x2ac)]['character']+0x1);})[_0x4cd4c8(0x129,_0x485759._0x1c8aca,-0x11c,-0xa1)]('\x0a');}function formatDiagnostics(_0x51815a){const _0x43ab88={_0x15bbd3:0x239,_0x5f1fc3:0x20c,_0x52096a:0x368,_0x35af01:0x1a8},_0x79e66d={_0x47beda:0x126,_0xf559dd:0x8e,_0xcba783:0x4eb,_0x275d32:0x16e,_0x518612:0x10,_0x14f187:0xd,_0x2cd4fd:0x146,_0x202647:0x185,_0x2e7cf2:0x2d1,_0x157dd0:0x2be,_0x21dedc:0x464,_0x41b063:0x4b7},_0x2d9ab6={_0x1dfc06:0x76,_0x3e322d:0x38c},_0x87a6eb={_0x57e0dd:0x15,_0x29083e:0x1ea},_0x174ed3={_0x2f53d0:0x534},_0x5e4518={_0x3fd4bc:0x17,_0x4b9d88:0xf4};function _0x132988(_0x154275,_0x198cc7,_0x33c4c3,_0x5a7543){return _0x38eb01(_0x5a7543,_0x198cc7-0x311,_0x33c4c3-_0x5e4518._0x3fd4bc,_0x5a7543-_0x5e4518._0x4b9d88);}if(_0x51815a['length']===0x0)return _0x1ed2a3(-0x168,-_0x43ab88._0x15bbd3,-_0x43ab88._0x5f1fc3,-_0x43ab88._0x52096a);function _0x1ed2a3(_0x4b6814,_0x142f7d,_0x2a8d99,_0x41b767){return _0x2cc51b(_0x4b6814,_0x142f7d-0x10e,_0x2a8d99-0xac,_0x142f7d- -_0x174ed3._0x2f53d0);}return _0x51815a[_0x1ed2a3(-0x33,-0x7b,-0x1ea,0xd)](_0x29605a=>{const _0x28d5d7=_0x29605a[_0xdc65dd(-_0x79e66d._0x47beda,-_0x79e66d._0xf559dd,0xc5,-0x4d)][_0xd913a5(0x372,0x560,0x41c,_0x79e66d._0xcba783)];function _0xd913a5(_0x4670d7,_0x343897,_0x4d286f,_0x5d531e){return _0x1ed2a3(_0x4670d7,_0x4d286f-0x46d,_0x4d286f-_0x87a6eb._0x57e0dd,_0x5d531e-_0x87a6eb._0x29083e);}function _0xdc65dd(_0x5cbfb2,_0x32531c,_0x237547,_0x4a63f8){return _0x132988(_0x5cbfb2-_0x2d9ab6._0x1dfc06,_0x4a63f8- -_0x2d9ab6._0x3e322d,_0x237547-0x12,_0x237547);}return severityName(_0x29605a[_0xdc65dd(-_0x79e66d._0x275d32,-_0x79e66d._0x518612,0x11e,_0x79e66d._0x14f187)])+'\x20['+(_0x28d5d7[_0xdc65dd(-_0x79e66d._0x2cd4fd,-_0x79e66d._0x202647,-_0x79e66d._0x2e7cf2,-0x197)]+0x1)+':'+(_0x28d5d7[_0xdc65dd(-0x212,-0x184,-0x2b8,-_0x79e66d._0x157dd0)]+0x1)+']\x20'+_0x29605a[_0xd913a5(_0x79e66d._0x21dedc,0x37a,0x3b7,_0x79e66d._0x41b063)];})[_0x132988(0x20c,0x13a,0x289,_0x43ab88._0x35af01)]('\x0a');}function formatIncomingCalls(_0x503e08){const _0x3f2cec={_0x487ed9:0x2ac,_0x32dc8b:0x245,_0x1bbf5b:0x1b6,_0x1b89dd:0x321,_0x3c9654:0x3b7,_0x294200:0x284,_0xbfe18b:0x3ae,_0x1b6634:0x284,_0xfcfccc:0x2f1,_0x3e9e36:0x251},_0x21f4e5={_0x3eb63e:0xc6},_0x53a31d={_0x462aab:0x3d2,_0x31c5c4:0x1d6};function _0x2038f3(_0x14e9bd,_0x410f90,_0x382a48,_0x13e4f7){return _0x38eb01(_0x14e9bd,_0x13e4f7-_0x53a31d._0x462aab,_0x382a48-_0x53a31d._0x31c5c4,_0x13e4f7-0x1ea);}if(_0x503e08[_0x4e22cc(_0x3f2cec._0x487ed9,_0x3f2cec._0x32dc8b,_0x3f2cec._0x1bbf5b,_0x3f2cec._0x1b89dd)]===0x0)return'No\x20call\x20hierarchy\x20results';function _0x4e22cc(_0x1e546,_0x46d73a,_0x3f0048,_0x27ec00){return _0x38eb01(_0x46d73a,_0x27ec00-0x428,_0x3f0048-_0x21f4e5._0x3eb63e,_0x27ec00-0xad);}return _0x503e08[_0x4e22cc(_0x3f2cec._0x3c9654,_0x3f2cec._0x294200,_0x3f2cec._0xbfe18b,0x3d5)](_0x10563c=>_0x10563c[_0x4e22cc(0x456,0x3b4,0x47b,0x350)][_0x2038f3(0x4d,0x29c,0xd1,0x174)])[_0x4e22cc(0x175,_0x3f2cec._0x1b6634,_0x3f2cec._0xfcfccc,_0x3f2cec._0x3e9e36)]('\x0a');}function formatOutgoingCalls(_0x427db0){const _0x379d03={_0x238c4a:0x646,_0x42e000:0x3f4,_0x40f92e:0x307},_0x1a0838={_0x570c20:0x1e3};function _0x3d26a7(_0x23c38d,_0x41831b,_0x2502fd,_0x10cc8b){return _0x38eb01(_0x23c38d,_0x2502fd-0x5b8,_0x2502fd-_0x1a0838._0x570c20,_0x10cc8b-0x2e);}if(_0x427db0['length']===0x0)return _0x49c665(0x495,0x337,0x550,0x4c4);function _0x49c665(_0x1a5637,_0x209eab,_0x5cc71f,_0x5c7f0){return _0x38eb01(_0x5c7f0,_0x1a5637-0x5de,_0x5cc71f-0x103,_0x5c7f0-0x1cc);}return _0x427db0[_0x3d26a7(0x4f1,0x61d,0x565,_0x379d03._0x238c4a)](_0x55e3d4=>_0x55e3d4['to'][_0x49c665(0x380,0x46d,0x382,0x2cb)])[_0x49c665(0x407,_0x379d03._0x42e000,_0x379d03._0x40f92e,0x28e)]('\x0a');}function toStructured(_0x402e60){const _0x54d210={_0x45f9b7:0x273,_0x2e9007:0x39f,_0x5267a3:0x25f},_0x35aeac={_0x38e79c:0x1c9,_0x3b169b:0x8};function _0x2ee99a(_0x295cb7,_0x4cd9d5,_0x4c8a77,_0x29ead8){return _0x2cc51b(_0x4c8a77,_0x4cd9d5-_0x35aeac._0x38e79c,_0x4c8a77-_0x35aeac._0x3b169b,_0x29ead8- -0x66);}return JSON['parse'](JSON[_0x2ee99a(_0x54d210._0x45f9b7,0x269,_0x54d210._0x2e9007,_0x54d210._0x5267a3)](_0x402e60));}async function assertFile(_0x935d47){const _0x1c314f={_0x59dfe2:0x3e6,_0x5662dc:0x3a8,_0x4f8214:0x31e},_0x394925={_0x31d493:0x510,_0x56b845:0xca};function _0x5b90bd(_0x3a9dbe,_0x56b9a0,_0x1f6927,_0x30a7ef){return _0x38eb01(_0x3a9dbe,_0x30a7ef-_0x394925._0x31d493,_0x1f6927-0x8,_0x30a7ef-_0x394925._0x56b845);}const _0x391ff7=await _0x5dd2ef(_0x935d47);if(!_0x391ff7['isFile']())throw new ToolExecutionError(_0x5b90bd(_0x1c314f._0x59dfe2,0x222,_0x1c314f._0x5662dc,_0x1c314f._0x4f8214)+_0x935d47,{'path':_0x935d47});}function validatePosition(_0x2d06d2,_0x3ff221){const _0x5a00de={_0x303b44:0x43d,_0x21e794:0x641},_0x398fae={_0x4568b4:0x13b};function _0x4de64b(_0x2db17b,_0x4f995b,_0x3eb8c4,_0x480108){return _0x38eb01(_0x3eb8c4,_0x480108-0x721,_0x3eb8c4-_0x398fae._0x4568b4,_0x480108-0x1ea);}if(!Number['isInteger'](_0x2d06d2)||_0x2d06d2<0x1)throw new ToolExecutionError(_0x4de64b(_0x5a00de._0x303b44,0x44f,_0x5a00de._0x21e794,0x567),{'line':_0x2d06d2});if(!Number['isInteger'](_0x3ff221)||_0x3ff221<0x1)throw new ToolExecutionError('character\x20must\x20be\x20a\x20positive\x20integer',{'character':_0x3ff221});}function createLspTool(_0x4de5b3={}){const _0x2ede82={_0x57e498:0x207,_0x45767f:0x301,_0x33601e:0x361,_0x454691:0x309,_0x31e75d:0x424,_0x4175a3:0x46d,_0xa6b645:0x2c,_0x3bc570:0xfd,_0x4d660a:0x231,_0x405d9e:0x172,_0x1d5478:0x3a,_0x52d74b:0x177,_0x68503c:0x7,_0x21593e:0xfa,_0x485dbe:0x65,_0x2d472b:0x4d6,_0x58c45b:0x361,_0x146929:0x4b0,_0x3c7ace:0x491,_0x5822d3:0x59d,_0x16ce94:0x477,_0x332aeb:0x42f,_0x24d52c:0x279,_0x375746:0x3cd,_0x5c1059:0x353,_0x3ab84e:0x163,_0x16c9e8:0x88,_0x14610a:0xd6,_0x578acf:0x198,_0x53168b:0xcb,_0x11dd19:0x90,_0x50a58f:0x45,_0x4478ba:0x43,_0x517330:0x119,_0x232c86:0xcd,_0x5a86ab:0x415,_0xca5976:0x178,_0x3a6db9:0x107,_0x2ba1f4:0x189,_0x2904a0:0x2db,_0x317b32:0x211,_0x2f8df3:0x1c9,_0xad196:0x2ce},_0x2b1bcd={_0x13be7e:0x19,_0x147a3b:0xfa,_0x92d602:0xd2,_0x291c0f:0x122,_0x45c96e:0x259,_0x2a8f65:0x204,_0x47e739:0x7e,_0x51eaeb:0x1d3,_0xdb5f2c:0xed,_0x61126e:0x259,_0x11f8af:0xa9,_0x9f2dd4:0x1dc,_0x144373:0x1e2,_0x4fcc8c:0x81,_0x292626:0xbb,_0x5bb423:0x671,_0x39067a:0x703,_0x10e5f0:0x1d,_0x1269b7:0x26,_0x288a1b:0x20,_0x4f4283:0x716,_0x10d665:0x7ff,_0x3884cd:0x1ba,_0x26a353:0xda,_0x3acc65:0xa,_0x410fb8:0x785,_0x2537d0:0x1c,_0x2d9952:0x593,_0x3987ba:0x4f8,_0x4de3e6:0x5e9,_0x356284:0x5da,_0x20216d:0x5b,_0xefbd4:0x71,_0xb3de4e:0x1c9,_0xdd667:0xb3,_0x2a4259:0x60,_0x49fa7f:0x1a,_0x35d1e0:0x507,_0x3ce1b3:0x3d7,_0xee74a9:0x5fe,_0x17c416:0x592,_0x2c941d:0x1e1,_0x4a9567:0xdb,_0x27c13d:0x120,_0x228b1b:0xd5,_0x469bfa:0xa0,_0x1e4cbb:0x6b7,_0x4c1fe3:0x588,_0x36d14a:0x5d6,_0x51eb13:0x99,_0x568c17:0x6e7,_0x390e04:0x5cb,_0x2e7b6f:0x689,_0x4cf11a:0x6df,_0x2ea8b4:0x48d,_0x18dfc2:0x6cf,_0x5d89c4:0x5bf,_0x25856d:0x4de,_0x3cee1d:0x6db,_0x8c8c68:0x575,_0x1ed880:0x210,_0x4c90b7:0x41,_0x2e3130:0x14f},_0x385500={_0x1d4e2d:0xdc},_0x4b5f67={_0x51019b:0x511,_0x1be470:0x1c9},_0x59030f={_0x257e05:0x145};function _0x112a8d(_0x46a5ef,_0x5b479e,_0x4c73f5,_0x19bf94){return _0x2cc51b(_0x5b479e,_0x5b479e-0x10a,_0x4c73f5-_0x59030f._0x257e05,_0x46a5ef- -0x4df);}const _0x43012b=_0x18362a[_0x112a8d(-0x1eb,-0x2f1,-0x125,-0xbf)](_0x4de5b3[_0x2d5a1b(_0x2ede82._0x57e498,0x328,_0x2ede82._0x45767f,_0x2ede82._0x33601e)]??process[_0x2d5a1b(_0x2ede82._0x454691,_0x2ede82._0x31e75d,_0x2ede82._0x4175a3,0x3be)]()),_0x37ff83=_0x4de5b3[_0x112a8d(_0x2ede82._0xa6b645,-0x47,_0x2ede82._0x3bc570,0xc)]??[];function _0x2d5a1b(_0x20cd47,_0x4a78b2,_0xe2b4b8,_0x58d4ab){return _0x38eb01(_0x20cd47,_0xe2b4b8-_0x4b5f67._0x51019b,_0xe2b4b8-_0x4b5f67._0x1be470,_0x58d4ab-0x143);}const _0x137398=_0x4de5b3[_0x112a8d(-_0x2ede82._0x4d660a,-0x128,-0x128,-_0x2ede82._0x405d9e)]??_0x112a8d(0x5,-_0x2ede82._0x1d5478,-_0x2ede82._0x52d74b,-0x141);return defineTool({'name':_0x137398,'permissionClass':'read','description':'Query\x20Language\x20Server\x20Protocol\x20code\x20intelligence\x20for\x20workspace\x20files:\x20definitions,\x20references,\x20hover,\x20symbols,\x20call\x20hierarchy,\x20and\x20diagnostics.','inputSchema':{'type':_0x112a8d(-0x67,_0x2ede82._0x68503c,_0x2ede82._0x21593e,_0x2ede82._0x485dbe),'properties':{'operation':{'type':'string','enum':[_0x2d5a1b(_0x2ede82._0x2d472b,_0x2ede82._0x58c45b,0x471,0x318),'findReferences','hover',_0x2d5a1b(_0x2ede82._0x146929,_0x2ede82._0x3c7ace,0x3d7,0x434),_0x2d5a1b(_0x2ede82._0x5822d3,0x492,_0x2ede82._0x16ce94,_0x2ede82._0x332aeb),'goToImplementation',_0x2d5a1b(_0x2ede82._0x24d52c,0x4e4,_0x2ede82._0x375746,_0x2ede82._0x5c1059),_0x112a8d(-_0x2ede82._0x3ab84e,-0x24e,-_0x2ede82._0x16c9e8,-0x111),_0x112a8d(-_0x2ede82._0x14610a,0x35,-0x153,-_0x2ede82._0x578acf),_0x112a8d(-_0x2ede82._0x53168b,0x5,-_0x2ede82._0x11dd19,-0xe0)]},'filePath':{'type':'string'},'line':{'type':_0x112a8d(-_0x2ede82._0x50a58f,-_0x2ede82._0x4478ba,-_0x2ede82._0x517330,-_0x2ede82._0x232c86)},'character':{'type':_0x2d5a1b(0x33c,_0x2ede82._0x5a86ab,0x49f,0x327)},'query':{'type':'string'}},'required':[_0x112a8d(0x3b,_0x2ede82._0xca5976,-_0x2ede82._0x3a6db9,0x13d),_0x112a8d(-_0x2ede82._0x2ba1f4,-0x132,-_0x2ede82._0x2904a0,-0x147),'line',_0x2d5a1b(_0x2ede82._0x317b32,_0x2ede82._0x2f8df3,_0x2ede82._0xad196,0x33e)]},async *'execute'(_0x3148e3){const _0x126534=_0x4de5b3['lspService'];function _0xefb2e4(_0x3f7e75,_0x11cded,_0x49646a,_0x230c24){return _0x112a8d(_0x49646a-0x6d8,_0x230c24,_0x49646a-0xba,_0x230c24-_0x385500._0x1d4e2d);}if(!_0x126534)throw new ToolExecutionError(_0x15bf67(-0x19d,-_0x2b1bcd._0x13be7e,-_0x2b1bcd._0x147a3b,-0x70));if(!_0x126534[_0x15bf67(-_0x2b1bcd._0x92d602,-_0x2b1bcd._0x291c0f,-0x143,-0x109)]())throw new ToolExecutionError(_0x15bf67(-0x1d5,-0x13c,-_0x2b1bcd._0x45c96e,-_0x2b1bcd._0x2a8f65));const _0x46033a=_0x3148e3[_0x15bf67(0x22,_0x2b1bcd._0x47e739,-0xd8,0x1ff)];validatePosition(_0x3148e3['line'],_0x3148e3[_0x15bf67(-0x119,-_0x2b1bcd._0x51eaeb,-_0x2b1bcd._0xdb5f2c,-0x192)]);if(_0x46033a==='workspaceSymbol'){if(!_0x3148e3[_0x15bf67(_0x2b1bcd._0x61126e,0xe0,_0x2b1bcd._0x11f8af,_0x2b1bcd._0x9f2dd4)]?.[_0x15bf67(_0x2b1bcd._0x144373,_0x2b1bcd._0x4fcc8c,_0x2b1bcd._0x292626,0xd8)]())throw new ToolExecutionError('workspaceSymbol\x20requires\x20a\x20non-empty\x20query');const _0x5d2a7f=await _0x126534[_0xefb2e4(_0x2b1bcd._0x5bb423,_0x2b1bcd._0x39067a,0x66b,0x711)](_0x3148e3[_0x15bf67(_0x2b1bcd._0x10e5f0,0xe0,_0x2b1bcd._0x1269b7,_0x2b1bcd._0x288a1b)][_0xefb2e4(0x600,0x6af,_0x2b1bcd._0x4f4283,_0x2b1bcd._0x10d665)]());return yield createToolOutput(formatSymbols(_0x5d2a7f),{'operation':_0x46033a,'query':_0x3148e3['query'],'symbols':_0x5d2a7f}),void 0x0;}const _0x15217b=resolveAllowedPath(_0x43012b,_0x37ff83,_0x3148e3['filePath']);function _0x15bf67(_0x46bbaa,_0xa13035,_0x2a89ca,_0x6c23ea){return _0x112a8d(_0xa13035-0x43,_0x46bbaa,_0x2a89ca-0x8e,_0x6c23ea-0x168);}await assertFile(_0x15217b);if(!await _0x126534[_0x15bf67(_0x2b1bcd._0x3884cd,_0x2b1bcd._0x26a353,0x5f,-_0x2b1bcd._0x3acc65)](_0x15217b))throw new ToolExecutionError(_0xefb2e4(0x8ed,0x7d3,_0x2b1bcd._0x410fb8,0x70b)+_0x3148e3[_0x15bf67(-0x12d,-0x146,-_0x2b1bcd._0x2537d0,-0x1c)],{'filePath':_0x3148e3['filePath']});await _0x126534[_0xefb2e4(0x475,_0x2b1bcd._0x2d9952,0x5b9,_0x2b1bcd._0x3987ba)](_0x15217b,!![]);const _0x21af62={'file':_0x15217b,'line':_0x3148e3[_0xefb2e4(0x61d,0x59b,_0x2b1bcd._0x4de3e6,0x5b0)]-0x1,'character':_0x3148e3[_0xefb2e4(_0x2b1bcd._0x356284,0x3f2,0x4c2,0x450)]-0x1};switch(_0x46033a){case _0x15bf67(_0x2b1bcd._0x20216d,_0x2b1bcd._0xefbd4,0x116,_0x2b1bcd._0xb3de4e):{const _0x3df142=await _0x126534['hover'](_0x21af62);return yield createToolOutput(formatHover(_0x3df142),{'operation':_0x46033a,'filePath':_0x15217b,'hover':_0x3df142}),void 0x0;}case _0x15bf67(_0x2b1bcd._0xdd667,-0x88,-_0x2b1bcd._0x2a4259,_0x2b1bcd._0x49fa7f):{const _0x5ed3a9=await _0x126534[_0xefb2e4(0x4d4,0x67a,_0x2b1bcd._0x35d1e0,_0x2b1bcd._0x3ce1b3)](_0x15217b);return yield createToolOutput(formatDiagnostics(_0x5ed3a9),{'operation':_0x46033a,'filePath':_0x15217b,'diagnostics':_0x5ed3a9}),void 0x0;}case _0xefb2e4(_0x2b1bcd._0xee74a9,_0x2b1bcd._0x17c416,0x665,0x7e7):{const _0x83c70d=await _0x126534[_0x15bf67(-0x238,-_0x2b1bcd._0x2c941d,-0x81,-_0x2b1bcd._0x4a9567)](_0x21af62);return yield createToolOutput(formatLocations(_0x83c70d),{'operation':_0x46033a,'filePath':_0x15217b,'locations':_0x83c70d}),void 0x0;}case _0x15bf67(_0x2b1bcd._0x92d602,-0xf,-0x93,-_0x2b1bcd._0x27c13d):{const _0x3c2da4=await _0x126534[_0x15bf67(0x30,-_0x2b1bcd._0x228b1b,_0x2b1bcd._0x469bfa,0x4b)](_0x21af62);return yield createToolOutput(formatLocations(_0x3c2da4),{'operation':_0x46033a,'filePath':_0x15217b,'locations':_0x3c2da4}),void 0x0;}case _0xefb2e4(_0x2b1bcd._0x1e4cbb,_0x2b1bcd._0x4c1fe3,_0x2b1bcd._0x36d14a,0x666):{const _0x575389=await _0x126534[_0x15bf67(-0x286,-0x155,-0x2db,-_0x2b1bcd._0x51eb13)](_0x21af62);return yield createToolOutput(formatLocations(_0x575389),{'operation':_0x46033a,'filePath':_0x15217b,'locations':_0x575389}),void 0x0;}case _0xefb2e4(0x555,_0x2b1bcd._0x568c17,_0x2b1bcd._0x390e04,_0x2b1bcd._0x2e7b6f):{const _0x5f4cbe=await _0x126534[_0x15bf67(-0x204,-0xca,-0x17,0xa2)](_0x15217b);return yield createToolOutput(formatSymbols(_0x5f4cbe),{'operation':_0x46033a,'filePath':_0x15217b,'symbols':_0x5f4cbe}),void 0x0;}case _0xefb2e4(_0x2b1bcd._0x4cf11a,_0x2b1bcd._0x2ea8b4,0x5c1,_0x2b1bcd._0x18dfc2):{const _0x5382ec=await _0x126534['prepareCallHierarchy'](_0x21af62);return yield createToolOutput(formatSymbols(_0x5382ec),{'operation':_0x46033a,'filePath':_0x15217b,'symbols':toStructured(_0x5382ec)}),void 0x0;}case _0xefb2e4(0x638,_0x2b1bcd._0x5d89c4,0x575,_0x2b1bcd._0x25856d):{const _0x4414da=await _0x126534[_0xefb2e4(_0x2b1bcd._0x3cee1d,0x512,_0x2b1bcd._0x8c8c68,0x494)](_0x21af62);return yield createToolOutput(formatIncomingCalls(_0x4414da),{'operation':_0x46033a,'filePath':_0x15217b,'calls':toStructured(_0x4414da)}),void 0x0;}case _0x15bf67(-_0x2b1bcd._0x1ed880,-0x93,-_0x2b1bcd._0x4c90b7,-_0x2b1bcd._0x2e3130):{const _0x139dc6=await _0x126534['outgoingCalls'](_0x21af62);return yield createToolOutput(formatOutgoingCalls(_0x139dc6),{'operation':_0x46033a,'filePath':_0x15217b,'calls':toStructured(_0x139dc6)}),void 0x0;}}}});}import{randomUUID as _0x209918}from'crypto';import{mkdir as _0x14881c,readFile as _0x14a416,writeFile as _0x2d8983}from'fs/promises';import{join as _0x5c9f43}from'path';function sanitizeStorageKey(_0x1c14f4){const _0xcda9dc={_0x8cf345:0x387,_0x2f0b73:0xb6},_0x514c09={_0x53b346:0x4eb},_0x1be998={_0x7940e0:0x10f,_0x150545:0x14a};function _0x1cdd20(_0x2728cc,_0x20b28a,_0x147198,_0x5350e5){return _0x38eb01(_0x5350e5,_0x147198-_0x1be998._0x7940e0,_0x147198-_0x1be998._0x150545,_0x5350e5-0x50);}function _0x2a659f(_0x202f67,_0x5db8db,_0x4f466e,_0x42cdf9){return _0x38eb01(_0x42cdf9,_0x202f67-_0x514c09._0x53b346,_0x4f466e-0x19b,_0x42cdf9-0x1c7);}return _0x1c14f4[_0x2a659f(0x26b,0x18a,0x21a,_0xcda9dc._0x8cf345)](/[^a-zA-Z0-9_]+/g,'_')['replace'](/^_+|_+$/g,'')||_0x1cdd20(0xb3,0x19f,0x98,_0xcda9dc._0x2f0b73);}function storagePath(_0x579455){const _0x3400e1={_0x55cb93:0x3f5,_0x33f126:0x249,_0x54cf14:0x338,_0x222018:0x36c,_0x3ff010:0x310,_0x28826d:0x2d9,_0x229743:0x2b5,_0x433b90:0x1a4,_0x4f3da9:0x295,_0x3fc6bf:0x2ba,_0x277ee4:0x1da,_0x22704d:0x2a2},_0x418def={_0x21f0ed:0x17b},_0x127ac9={_0x3ffbfa:0x10b,_0x9648ee:0x13d,_0x2f640b:0x1a8},_0x44ac81=sanitizeStorageKey(_0x579455[_0xe089e7(_0x3400e1._0x55cb93,0x3cf,0x2b4,_0x3400e1._0x33f126)][_0xe089e7(_0x3400e1._0x54cf14,_0x3400e1._0x222018,_0x3400e1._0x3ff010,0x3df)]?.['tokenStorageKey']??_0x579455[_0x30e8ac(0x25a,0x4f4,0x387,_0x3400e1._0x28826d)]);function _0x30e8ac(_0x3ab8b8,_0x5154c9,_0x1fc780,_0x2f5a1a){return _0x2cc51b(_0x3ab8b8,_0x5154c9-_0x127ac9._0x3ffbfa,_0x1fc780-_0x127ac9._0x9648ee,_0x1fc780- -_0x127ac9._0x2f640b);}function _0xe089e7(_0x2036c1,_0x2bc2f1,_0x56b09b,_0xb09e18){return _0x2cc51b(_0x56b09b,_0x2bc2f1-0x89,_0x56b09b-0x1e6,_0x2bc2f1- -_0x418def._0x21f0ed);}return _0x5c9f43(_0x579455[_0xe089e7(0x1c7,_0x3400e1._0x229743,_0x3400e1._0x433b90,_0x3400e1._0x4f3da9)],_0x44ac81+_0xe089e7(0x36f,_0x3400e1._0x3fc6bf,_0x3400e1._0x277ee4,_0x3400e1._0x22704d));}async function readStore(_0x3f0814){const _0x19d7db={_0x3587b6:0x165,_0x56afa0:0x148,_0x420baa:0x145,_0x2e2bee:0xa4,_0x49741d:0xdc,_0xbc4472:0x131},_0x41595c={_0x34df8e:0x1d9,_0x5e15b6:0x36f},_0x582888={_0x26903c:0x10b,_0x182c57:0x1d3};function _0x148075(_0x180f5d,_0x443220,_0x291ed1,_0x215a91){return _0x2cc51b(_0x291ed1,_0x443220-_0x582888._0x26903c,_0x291ed1-_0x582888._0x182c57,_0x443220- -0x4e0);}function _0x452dad(_0x4ab3b0,_0x17803e,_0x203591,_0x460015){return _0x2cc51b(_0x203591,_0x17803e-0x1f,_0x203591-_0x41595c._0x34df8e,_0x4ab3b0- -_0x41595c._0x5e15b6);}try{return JSON['parse'](await _0x14a416(_0x3f0814,'utf8'));}catch(_0x54a9fe){if(_0x54a9fe instanceof Error&&_0x148075(-_0x19d7db._0x3587b6,-0x215,-_0x19d7db._0x56afa0,-_0x19d7db._0x420baa)in _0x54a9fe&&_0x54a9fe[_0x452dad(-_0x19d7db._0x2e2bee,-0x11,-_0x19d7db._0x49741d,-_0x19d7db._0xbc4472)]==='ENOENT')return{};throw _0x54a9fe;}}async function writeStore(_0x277706,_0x49db78){const _0x54f5a2={_0x1ac070:0x36,_0x58eac1:0x15,_0x2d9fe4:0x35,_0x4741b4:0x123,_0x541899:0xa0,_0x148821:0x47},_0x31f0db={_0x5c46f2:0x19d,_0x3c6974:0x57,_0x2f041d:0x2da},_0xc2db5={_0x405bc1:0x105};function _0x51c372(_0x330077,_0x5ec12a,_0xcd9bed,_0x40e087){return _0x2cc51b(_0x330077,_0x5ec12a-0x30,_0xcd9bed-_0xc2db5._0x405bc1,_0x5ec12a- -0x4d6);}await _0x14881c(_0x5c9f43(_0x277706,'..'),{'recursive':!![]});function _0x2f6424(_0xa94699,_0xa17334,_0x33e61e,_0xeea50d){return _0x2cc51b(_0xa94699,_0xa17334-_0x31f0db._0x5c46f2,_0x33e61e-_0x31f0db._0x3c6974,_0xa17334- -_0x31f0db._0x2f041d);}await _0x2d8983(_0x277706,JSON[_0x2f6424(_0x54f5a2._0x1ac070,-_0x54f5a2._0x58eac1,-0x181,_0x54f5a2._0x2d9fe4)](_0x49db78,null,0x2),_0x51c372(-_0x54f5a2._0x4741b4,-0xed,-_0x54f5a2._0x541899,-_0x54f5a2._0x148821));}async function updateStore(_0x21fab9,_0x1c297a){const _0xb5064=await readStore(_0x21fab9);_0x1c297a(_0xb5064),await writeStore(_0x21fab9,_0xb5064);}function createMcpOAuthProvider(_0xeb39ca){const _0x29a005={_0x54dee0:0x7a,_0x448286:0x128,_0x50ade9:0x58,_0x260610:0x5d,_0x3baedd:0xb,_0x598ab7:0xbb,_0x848eea:0xed,_0x1ab4c1:0x26d,_0x15a001:0x21b,_0xbe139:0x2ce,_0x1a01aa:0x477,_0x1364a1:0x5d5,_0x3541f7:0x4e4,_0x20b636:0x59f,_0x2ea6b3:0x3fd,_0x15e976:0x29e},_0x36b8fc={_0x36a5aa:0x3bd,_0x4dbc47:0x475},_0x567e4f={_0x235359:0x151},_0x4779f5={_0xbfdbf7:0xe9,_0x17ed81:0xfd,_0x134c35:0x177},_0x26e951={_0x17a9c8:0x518,_0x302b17:0x240},_0x183b63={_0x45cf6d:0xbf,_0x1af283:0x6,_0x4c516e:0x191},_0x4f5a00={_0x449944:0x82,_0x54fcbd:0x24f,_0x22b9e0:0xca},_0x91fa6f={_0x480429:0x6f,_0x5e29ac:0x1f,_0x50ea2e:0xc},_0x2c4bea={_0x4b784a:0x529},_0x596ffa={_0x21de26:0x151};function _0x47dd36(_0x2a79b1,_0x398751,_0xe84979,_0x478f6c){return _0x38eb01(_0x2a79b1,_0x478f6c- -0x96,_0xe84979-_0x596ffa._0x21de26,_0x478f6c-0xf);}function _0x1cb06e(_0x4c9902,_0x5403e0,_0x20b4cb,_0xb8264a){return _0x2cc51b(_0x4c9902,_0x5403e0-0x10f,_0x20b4cb-0x17a,_0x20b4cb- -0x32);}const _0x1ec832=storagePath(_0xeb39ca),_0x4d24de=_0xeb39ca[_0x47dd36(0x36,-_0x29a005._0x54dee0,-_0x29a005._0x448286,-_0x29a005._0x50ade9)][_0x47dd36(_0x29a005._0x260610,-0x1ac,-_0x29a005._0x3baedd,-_0x29a005._0x598ab7)]?.['scopes']?.[_0x47dd36(-_0x29a005._0x848eea,-0x270,-0x206,-_0x29a005._0x1ab4c1)]('\x20'),_0x5bd941={'client_name':_0x1cb06e(0x2b7,0x331,0x34f,0x233),'redirect_uris':[_0xeb39ca['callbackUrl']],'grant_types':[_0x47dd36(-_0x29a005._0x15a001,-0x43e,-0x379,-_0x29a005._0xbe139),_0x1cb06e(_0x29a005._0x1a01aa,_0x29a005._0x1364a1,_0x29a005._0x3541f7,_0x29a005._0x20b636)],'response_types':['code'],'token_endpoint_auth_method':_0x1cb06e(_0x29a005._0x2ea6b3,_0x29a005._0x15e976,0x2f2,0x2c1),..._0x4d24de?{'scope':_0x4d24de}:{}};return{'clientMetadataUrl':_0xeb39ca['config']['oauth']?.['clientMetadataUrl'],get 'redirectUrl'(){const _0x124a6d={_0x42b308:0x1a7};function _0x3b2bb6(_0x173ace,_0x534a2c,_0x33752c,_0x40c794){return _0x1cb06e(_0x33752c,_0x534a2c-_0x124a6d._0x42b308,_0x173ace-0x1bb,_0x40c794-0xcd);}return _0xeb39ca[_0x3b2bb6(0x4d6,0x57e,_0x2c4bea._0x4b784a,0x65b)];},get 'clientMetadata'(){return _0x5bd941;},async 'state'(){const _0x1b60a4={_0x2ebacc:0x75,_0x4a90d4:0x5c,_0x185ad8:0xc2},_0x24235f=await readStore(_0x1ec832);if(_0x24235f['state'])return _0x24235f[_0x4445ac(_0x91fa6f._0x480429,_0x91fa6f._0x5e29ac,-_0x91fa6f._0x50ea2e,-0x29)];const _0x57ab75=_0x209918();await updateStore(_0x1ec832,_0x40b421=>{function _0x14eb8d(_0x151271,_0x18eee6,_0x5bfea8,_0x3376e2){return _0x4445ac(_0x151271-0x133,_0x18eee6-0x107,_0x18eee6,_0x3376e2-0xeb);}_0x40b421[_0x14eb8d(_0x1b60a4._0x2ebacc,-_0x1b60a4._0x4a90d4,0x1ce,_0x1b60a4._0x185ad8)]=_0x57ab75;});function _0x4445ac(_0x2e72e6,_0x4d2c73,_0x53031a,_0x23d4a5){return _0x1cb06e(_0x53031a,_0x4d2c73-0x143,_0x23d4a5- -0x50c,_0x23d4a5-0x2b);}return _0x57ab75;},async 'clientInformation'(){return(await readStore(_0x1ec832))['clientInformation'];},async 'saveClientInformation'(_0x34dc74){await updateStore(_0x1ec832,_0x59cadd=>{function _0x15f9c8(_0x1e9e26,_0x1b9654,_0x41f6f1,_0x56a4c1){return _0x29c8(_0x56a4c1-0xc,_0x1b9654);}_0x59cadd[_0x15f9c8(_0x4f5a00._0x449944,_0x4f5a00._0x54fcbd,_0x4f5a00._0x22b9e0,0x1aa)]=_0x34dc74;});},async 'tokens'(){const _0x4bb969={_0x366ab8:0xf4,_0x2b823a:0x144,_0x126eac:0x1c8};function _0x2305c5(_0x1b4a29,_0x197cc8,_0x35aa51,_0x22a67c){return _0x1cb06e(_0x35aa51,_0x197cc8-_0x4bb969._0x366ab8,_0x22a67c- -_0x4bb969._0x2b823a,_0x22a67c-_0x4bb969._0x126eac);}return(await readStore(_0x1ec832))[_0x2305c5(_0x183b63._0x45cf6d,_0x183b63._0x1af283,_0x183b63._0x4c516e,0x120)];},async 'saveTokens'(_0x3d0ab7){await updateStore(_0x1ec832,_0x26aedf=>{function _0x588fad(_0x3314c0,_0x261233,_0x34a86c,_0x19f4a5){return _0x29c8(_0x34a86c-0x2f3,_0x19f4a5);}_0x26aedf[_0x588fad(_0x26e951._0x17a9c8,_0x26e951._0x302b17,0x3b8,0x25f)]=_0x3d0ab7;});},async 'redirectToAuthorization'(_0x2d79b1){function _0x4e5128(_0x4151d9,_0x5e7511,_0x1b0ccc,_0x4675e8){return _0x1cb06e(_0x4675e8,_0x5e7511-_0x4779f5._0xbfdbf7,_0x4151d9-_0x4779f5._0x17ed81,_0x4675e8-_0x4779f5._0x134c35);}await _0xeb39ca[_0x4e5128(0x5bf,0x62f,0x668,0x577)](_0x2d79b1);},async 'saveCodeVerifier'(_0x407ae2){const _0x2027cd={_0x272b1d:0xfa,_0x2d3f71:0x86};await updateStore(_0x1ec832,_0x335525=>{function _0x1ae5a3(_0x52b47a,_0x55ac0e,_0x52a08c,_0x4935bc){return _0x29c8(_0x52b47a- -0x134,_0x4935bc);}_0x335525[_0x1ae5a3(_0x2027cd._0x272b1d,-_0x2027cd._0x2d3f71,0x165,0x106)]=_0x407ae2;});},async 'codeVerifier'(){const _0x25d5cd=(await readStore(_0x1ec832))['codeVerifier'];if(!_0x25d5cd)throw new Error(_0x49d76a(_0x36b8fc._0x36a5aa,_0x36b8fc._0x4dbc47,0x4a6,0x470));function _0x49d76a(_0x16ea83,_0x4ac04e,_0x8c1dbb,_0x44d1c6){return _0x1cb06e(_0x8c1dbb,_0x4ac04e-0x18d,_0x44d1c6- -0x89,_0x44d1c6-_0x567e4f._0x235359);}return _0x25d5cd;},async 'invalidateCredentials'(_0x2e48d2){const _0x2fff52={_0x79b628:0xb,_0x5aad89:0xd0,_0x4df9b0:0x109,_0x39d49a:0x1e9,_0x2eb647:0xdc,_0x2a3372:0x4b,_0x1f9718:0x2cb,_0x4adbfe:0x3f1,_0x957289:0x469,_0x1acd3b:0x121,_0x49f4ed:0x55,_0x1dc508:0x6ec,_0x11ca4a:0x602,_0x47c2ba:0x606,_0x9fb20f:0x544,_0x3feecc:0x542,_0x1025d4:0x685,_0x1d7a93:0x87,_0x4237bf:0x411,_0x75b94e:0x406},_0x374e67={_0x2a40ac:0xc2};await updateStore(_0x1ec832,_0x4d3753=>{(_0x2e48d2==='all'||_0x2e48d2===_0x38f01f(0xfb,-_0x2fff52._0x79b628,-_0x2fff52._0x5aad89,_0x2fff52._0x4df9b0))&&(_0x4d3753[_0x38f01f(_0x2fff52._0x39d49a,_0x2fff52._0x2eb647,0xee,_0x2fff52._0x2a3372)]=void 0x0);(_0x2e48d2===_0x5b037e(_0x2fff52._0x1f9718,_0x2fff52._0x4adbfe,_0x2fff52._0x957289,0x44a)||_0x2e48d2==='tokens')&&(_0x4d3753['tokens']=void 0x0);(_0x2e48d2===_0x38f01f(-_0x2fff52._0x1acd3b,0x24,0x26,_0x2fff52._0x49f4ed)||_0x2e48d2===_0x5b037e(0x495,0x5ee,_0x2fff52._0x1dc508,_0x2fff52._0x11ca4a))&&(_0x4d3753[_0x5b037e(0x544,0x539,_0x2fff52._0x47c2ba,_0x2fff52._0x9fb20f)]=void 0x0,_0x4d3753[_0x5b037e(_0x2fff52._0x3feecc,0x64f,0x564,_0x2fff52._0x1025d4)]=void 0x0);function _0x5b037e(_0x2473ed,_0x3e640e,_0x55f6ef,_0x3a55e9){return _0x29c8(_0x3e640e-0x30b,_0x2473ed);}function _0x38f01f(_0x342369,_0x44e13e,_0x43001e,_0x38374c){return _0x29c8(_0x44e13e- -_0x374e67._0x2a40ac,_0x342369);}(_0x2e48d2===_0x38f01f(-_0x2fff52._0x1d7a93,0x24,0x169,-0x35)||_0x2e48d2===_0x38f01f(0x21b,0x2b6,_0x2fff52._0x4237bf,_0x2fff52._0x75b94e))&&(_0x4d3753['discoveryState']=void 0x0);});},async 'saveDiscoveryState'(_0x149c65){const _0x464cef={_0x56d3a1:0x641,_0x49ed3a:0x667,_0x39a179:0x7d7};await updateStore(_0x1ec832,_0x459218=>{function _0x383f78(_0x338e16,_0x543159,_0x381b6a,_0x1026c1){return _0x29c8(_0x381b6a-0x37c,_0x543159);}_0x459218[_0x383f78(_0x464cef._0x56d3a1,0x7df,_0x464cef._0x49ed3a,_0x464cef._0x39a179)]=_0x149c65;});},async 'discoveryState'(){return(await readStore(_0x1ec832))['discoveryState'];}};}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(_0x37aa80,_0x15a66a){const _0x27b6c4={_0x21f2fc:0xb9},_0x23adb2={_0x23864b:0x17e};function _0x57d292(_0x158e1f,_0x2e9130,_0x389e48,_0x299218){return _0x38eb01(_0x389e48,_0x2e9130-0x1f,_0x389e48-0x57,_0x299218-0x7f);}function _0x2f9928(_0x17ba55,_0x1444dc,_0x22e2e5,_0x479462){return _0x2cc51b(_0x479462,_0x1444dc-0x170,_0x22e2e5-0x6c,_0x22e2e5- -_0x23adb2._0x23864b);}const _0x820909=_0x3ca833=>_0x3ca833[_0x2f9928(0x1f1,0xb0,0x10e,0x26)](/[^a-zA-Z0-9_]+/g,'_')[_0x2f9928(0x11d,0xd8,0x10e,0xf2)](/^_+|_+$/g,'');return _0x57d292(_0x27b6c4._0x21f2fc,0x45,-0x5f,0x103)+_0x820909(_0x37aa80)+'_'+_0x820909(_0x15a66a);}function isObject(_0x1d7939){const _0x400262={_0x4024ff:0x1b1,_0x44143b:0x1ba},_0x43c7f4={_0x1ffdab:0x4c};function _0xb53e6e(_0x34bb6b,_0x15c3c1,_0x2ec59a,_0x3cddf8){return _0x38eb01(_0x34bb6b,_0x2ec59a-0x2fe,_0x2ec59a-0xb9,_0x3cddf8-_0x43c7f4._0x1ffdab);}return typeof _0x1d7939==='object'&&_0x1d7939!==null&&!Array[_0xb53e6e(0x9e,_0x400262._0x4024ff,0x1e9,_0x400262._0x44143b)](_0x1d7939);}function toSupportedSchema(_0xe25e66){const _0x5ebc12={_0x2b2c1e:0xf2,_0x4cc82a:0x14c,_0x4e9eb1:0x12d,_0x6eeb36:0x1b,_0x16470c:0x60,_0x47f4c7:0x237,_0x2ed144:0x6f9,_0x410c01:0x4f0,_0x482a5b:0x23e,_0x2aad8f:0x2e1,_0x4d399a:0x122,_0x20ea18:0xe8,_0x5515de:0xf2,_0x3fe81a:0x5f,_0x4f76c2:0x1db,_0xedaf60:0x327,_0x11cf10:0x367,_0x23824c:0x3f6,_0x1bcbb0:0x3be,_0x5e610f:0x28e,_0xddc1c0:0x687,_0x26572d:0xfe,_0x52378a:0x381,_0x1388c7:0x1de,_0x4f7fda:0x578,_0x80b318:0x55c,_0x1da454:0x6b7,_0x43c41a:0x69f,_0x2a60a3:0x53e,_0xf68c67:0x6c7,_0x98e9c7:0x3b5,_0x2505e2:0x206,_0x369cec:0x56e,_0x29aeea:0x35c,_0x521ff2:0x4a4},_0xe52b0d={_0x502d05:0x64},_0x5d628d={_0x55c8ca:0xc9,_0x45e2bf:0x25,_0xc0837b:0x5f};if(!isObject(_0xe25e66))return void 0x0;if(_0xe25e66[_0x555123(-_0x5ebc12._0x2b2c1e,-0x7c,-_0x5ebc12._0x4cc82a,-0x27a)]===_0x555123(_0x5ebc12._0x4e9eb1,-_0x5ebc12._0x6eeb36,_0x5ebc12._0x16470c,_0x5ebc12._0x47f4c7))return{'type':_0x47c5c9(0x586,0x4f6,_0x5ebc12._0x2ed144,_0x5ebc12._0x410c01)};if(_0xe25e66[_0x47c5c9(0x367,0x431,_0x5ebc12._0x482a5b,_0x5ebc12._0x2aad8f)]===_0x555123(0x57,_0x5ebc12._0x4d399a,-_0x5ebc12._0x20ea18,0x153)||_0xe25e66[_0x555123(-_0x5ebc12._0x5515de,-0x240,_0x5ebc12._0x3fe81a,-_0x5ebc12._0x4f76c2)]===_0x47c5c9(0x489,0x473,_0x5ebc12._0xedaf60,0x42c))return{'type':'number'};if(_0xe25e66[_0x47c5c9(_0x5ebc12._0x11cf10,_0x5ebc12._0x23824c,_0x5ebc12._0x1bcbb0,_0x5ebc12._0x5e610f)]===_0x47c5c9(0x557,0x58b,_0x5ebc12._0xddc1c0,0x5da))return{'type':_0x555123(_0x5ebc12._0x26572d,0x26,0x12e,-0x70)};function _0x555123(_0x5db943,_0x560052,_0x30c739,_0x598239){return _0x38eb01(_0x598239,_0x5db943-_0x5d628d._0x55c8ca,_0x30c739-_0x5d628d._0x45e2bf,_0x598239-_0x5d628d._0xc0837b);}function _0x47c5c9(_0x51689f,_0x4c8541,_0x1acf36,_0x337cd2){return _0x2cc51b(_0x1acf36,_0x4c8541-_0xe52b0d._0x502d05,_0x1acf36-0x81,_0x51689f-0x16);}if(_0xe25e66[_0x47c5c9(0x367,_0x5ebc12._0x52378a,0x4ce,_0x5ebc12._0x1388c7)]===_0x47c5c9(_0x5ebc12._0x4f7fda,0x683,0x554,_0x5ebc12._0x80b318))return{'type':_0x47c5c9(_0x5ebc12._0x4f7fda,_0x5ebc12._0x1da454,_0x5ebc12._0x43c41a,0x4ba),'items':toSupportedSchema(_0xe25e66[_0x47c5c9(_0x5ebc12._0x2a60a3,_0x5ebc12._0xf68c67,_0x5ebc12._0x98e9c7,0x63e)])??{'type':'string'}};if(_0xe25e66[_0x555123(-_0x5ebc12._0x2b2c1e,-_0x5ebc12._0x2505e2,-0x1cd,-0xd0)]===_0x47c5c9(0x48e,_0x5ebc12._0x369cec,_0x5ebc12._0x29aeea,_0x5ebc12._0x521ff2))return toNuvinToolSchema(_0xe25e66);return void 0x0;}function toNuvinToolSchema(_0x3a2693){const _0x45147a={_0x318461:0x33a,_0x5e009b:0x426,_0xb8fa14:0x3bf,_0x2a223f:0x461,_0x5bbfc6:0x32b,_0x59312d:0x2b,_0x209705:0x23e,_0x5f02ec:0x208,_0x5f48cc:0x11f,_0x429613:0x1af,_0x17c588:0x407,_0x127ed2:0x35c,_0x39a8b9:0x286,_0x321b3b:0x4ab,_0x30e987:0x3e0,_0x27c41b:0x469,_0x39fe2a:0x454,_0x570fb2:0xb3,_0xededa7:0xb6,_0x5b2a7e:0x2ce,_0x4d35cb:0x14f,_0x247f78:0xd9},_0x5d5a99={_0x132113:0x55},_0x456d8f={_0x4beaa7:0x1c0,_0x237554:0x91,_0x428b10:0x39f};if(!isObject(_0x3a2693)||_0x3a2693[_0x5a0cfd(_0x45147a._0x318461,0x35e,_0x45147a._0x5e009b,_0x45147a._0xb8fa14)]!==_0x5a0cfd(_0x45147a._0x2a223f,0x3a8,_0x45147a._0x5bbfc6,0x557))return{'type':_0x53d866(0x23,_0x45147a._0x59312d,0xd9,_0x45147a._0x209705),'properties':{}};const _0x4cc50f={},_0x5a9b51=isObject(_0x3a2693[_0x53d866(-_0x45147a._0x5f02ec,0x1e,-0xdc,-_0x45147a._0x5f48cc)])?_0x3a2693[_0x5a0cfd(0x2ac,_0x45147a._0x429613,0x282,_0x45147a._0x17c588)]:{};for(const [_0xb8ab5a,_0x914538]of Object[_0x5a0cfd(_0x45147a._0x127ed2,_0x45147a._0x39a8b9,0x46b,_0x45147a._0x321b3b)](_0x5a9b51)){const _0x5c4af6=toSupportedSchema(_0x914538);if(_0x5c4af6)_0x4cc50f[_0xb8ab5a]=_0x5c4af6;}function _0x53d866(_0x4ced04,_0x1dcadf,_0x565180,_0x37ec1b){return _0x2cc51b(_0x4ced04,_0x1dcadf-_0x456d8f._0x4beaa7,_0x565180-_0x456d8f._0x237554,_0x565180- -_0x456d8f._0x428b10);}const _0x3340eb=Array[_0x5a0cfd(_0x45147a._0x30e987,0x4b7,_0x45147a._0x27c41b,0x4f3)](_0x3a2693[_0x5a0cfd(0x3de,0x323,0x2b5,_0x45147a._0x39fe2a)])?_0x3a2693[_0x53d866(_0x45147a._0x570fb2,0xdf,0x56,_0x45147a._0xededa7)][_0x53d866(0x7f,_0x45147a._0x5b2a7e,_0x45147a._0x4d35cb,0x1e9)](_0x4906c4=>typeof _0x4906c4==='string'):void 0x0;function _0x5a0cfd(_0xb07850,_0x428f3e,_0x455f19,_0x3340c5){return _0x2cc51b(_0x428f3e,_0x428f3e-0x3d,_0x455f19-_0x5d5a99._0x132113,_0xb07850- -0x17);}return _0x3340eb?.['length']?{'type':_0x53d866(0x8c,-0x62,_0x45147a._0x247f78,0x1b7),'properties':_0x4cc50f,'required':_0x3340eb}:{'type':_0x5a0cfd(_0x45147a._0x2a223f,0x307,0x45e,0x4ac),'properties':_0x4cc50f};}function isJsonObject(_0x5c3739){const _0x30e076={_0x5cef2e:0x2a0,_0x4e16e6:0xb0,_0x20de9c:0x14c,_0x30a4ff:0x12e},_0x59d487={_0x45bcf1:0x1c2,_0x194df9:0xec};function _0x120328(_0x20612e,_0x48e138,_0x134ec4,_0x2c68c7){return _0x38eb01(_0x20612e,_0x2c68c7-_0x59d487._0x45bcf1,_0x134ec4-_0x59d487._0x194df9,_0x2c68c7-0xd8);}return typeof _0x5c3739===_0x120328(_0x30e076._0x5cef2e,_0x30e076._0x4e16e6,_0x30e076._0x20de9c,_0x30e076._0x30a4ff)&&_0x5c3739!==null&&!Array['isArray'](_0x5c3739);}function formatMcpContent(_0x3b0545){const _0x4dd5e8={_0x102742:0x1e1,_0x26cb33:0x62,_0x5b0773:0xd,_0x441693:0x4b,_0x3a6677:0x28,_0x3b2524:0x175,_0x4a5f53:0x30,_0x173dcf:0x47,_0x3df638:0xc1,_0x477128:0x1c,_0x54d4d5:0x23,_0x1f43c4:0x150},_0x31488b={_0x42257b:0xc0,_0x49d053:0x5f,_0x2bceb7:0x415},_0xba2343={_0x343069:0xb4,_0x1ad587:0x280,_0x303b20:0x313,_0x2a566a:0x3c7,_0x3db6e0:0x478,_0x2e66f8:0x424,_0x56e4fb:0x355,_0x163143:0x456,_0x526e5c:0x42f},_0x2798e3={_0x5cfce0:0x140},_0x137fcb={_0x7578a6:0x46,_0xe2305a:0xc2,_0x3c4649:0x37},_0xb5456e=Array['isArray'](_0x3b0545[_0x410318(-0x212,-0xd4,0x5,-_0x4dd5e8._0x102742)])?_0x3b0545['content']:[];function _0x410318(_0x34247c,_0x2a234d,_0x2b9be5,_0x172790){return _0x38eb01(_0x172790,_0x2a234d-_0x137fcb._0x7578a6,_0x2b9be5-_0x137fcb._0xe2305a,_0x172790-_0x137fcb._0x3c4649);}const _0x1d1758=_0xb5456e[_0x410318(-_0x4dd5e8._0x26cb33,-_0x4dd5e8._0x5b0773,-_0x4dd5e8._0x441693,-0x2e)](_0x442dc0=>{function _0xb585d7(_0x366ee4,_0x34cf03,_0x8f1a9d,_0x125fe0){return _0x1846e5(_0x366ee4-0x125,_0x125fe0,_0x366ee4- -0xfb,_0x125fe0-0x62);}if(!isObject(_0x442dc0))return'';if(_0x442dc0[_0xb585d7(-0x1bf,-_0xba2343._0x343069,-0x13a,-0x164)]===_0x190b89(_0xba2343._0x1ad587,_0xba2343._0x303b20,_0xba2343._0x2a566a,_0xba2343._0x3db6e0)&&typeof _0x442dc0[_0x190b89(_0xba2343._0x2e66f8,_0xba2343._0x56e4fb,_0xba2343._0x2a566a,_0xba2343._0x163143)]==='string')return _0x442dc0[_0x190b89(_0xba2343._0x526e5c,0x4d9,0x3c7,0x494)];function _0x190b89(_0x2c2b72,_0x534f75,_0x2c950f,_0x571885){return _0x1846e5(_0x2c2b72-0x1be,_0x571885,_0x2c950f-0x526,_0x571885-_0x2798e3._0x5cfce0);}return JSON['stringify'](_0x442dc0);})[_0x410318(0x5f,_0x4dd5e8._0x3a6677,0x1f,_0x4dd5e8._0x3b2524)](_0x13dd9f=>_0x13dd9f[_0x1846e5(0x85,-0x76,-0x10,0x13a)]>0x0)[_0x1846e5(_0x4dd5e8._0x4a5f53,-_0x4dd5e8._0x173dcf,-0xe0,-0x102)]('\x0a');if(_0x1d1758[_0x410318(-0x233,-_0x4dd5e8._0x3df638,_0x4dd5e8._0x477128,-_0x4dd5e8._0x54d4d5)]>0x0)return _0x1d1758;function _0x1846e5(_0x45ab1f,_0x5d69c9,_0x44bb76,_0x33210c){return _0x2cc51b(_0x5d69c9,_0x5d69c9-_0x31488b._0x42257b,_0x44bb76-_0x31488b._0x49d053,_0x44bb76- -_0x31488b._0x2bceb7);}return JSON[_0x1846e5(-0x70,-0x218,-_0x4dd5e8._0x1f43c4,-0x1c1)](_0x3b0545,null,0x2);}function createMcpTool(_0xed5b49){const _0x9234b9={_0x3cea8b:0x522,_0xe94868:0x452,_0x2ecf3a:0x45a,_0x2567c1:0x176,_0xa3f02b:0x12c,_0x16f8fa:0x43a,_0x5c9142:0x5ae,_0x3fc0b6:0x3d0,_0x3605ff:0x2fe,_0x1b4542:0x58b,_0x248aea:0x60b},_0x40f08c={_0x5033c8:0xea,_0x227982:0x96,_0x4d7095:0x201,_0x17cd44:0x40,_0x2983b5:0x110,_0x50b9e0:0x3e,_0x4c8768:0x27d,_0x4f00c2:0x26a,_0x20426b:0x168,_0x50f404:0x1f2,_0x3509ac:0x247,_0x532419:0x7a,_0x5a8c7c:0x138,_0x5b60cc:0x25f},_0x3bb6b6={_0x3a9054:0x40e,_0x135c27:0x63},_0x4951f7={_0x533750:0x4ff},_0x4eede1={_0xc7c48d:0x720,_0x477e74:0x87,_0x47a75b:0x9f};function _0xaeeca0(_0x26b61b,_0x32bf45,_0x106043,_0x2aef14){return _0x38eb01(_0x2aef14,_0x32bf45-_0x4eede1._0xc7c48d,_0x106043-_0x4eede1._0x477e74,_0x2aef14-_0x4eede1._0x47a75b);}function _0x40415c(_0x48b835,_0x59d616,_0x6c46ce,_0x2a3009){return _0x38eb01(_0x2a3009,_0x48b835-_0x4951f7._0x533750,_0x6c46ce-0xcf,_0x2a3009-0x8c);}const _0x21f46c=createMcpToolName(_0xed5b49[_0x40415c(_0x9234b9._0x3cea8b,_0x9234b9._0xe94868,_0x9234b9._0x2ecf3a,0x52e)],_0xed5b49[_0x40415c(0x2fe,0x203,0x45e,0x33d)][_0x40415c(0x2a1,_0x9234b9._0x2567c1,_0x9234b9._0xa3f02b,0x303)]);return defineTool({'name':_0x21f46c,'permissionClass':_0xed5b49[_0x40415c(_0x9234b9._0x16f8fa,_0x9234b9._0x5c9142,0x4a8,0x559)],..._0xed5b49['internalLifecycle']!==void 0x0?{'internalLifecycle':_0xed5b49['internalLifecycle']}:{},'description':_0xed5b49[_0x40415c(0x2fe,0x2b9,0x219,0x24b)][_0x40415c(0x3c3,0x50e,_0x9234b9._0x3fc0b6,0x511)]??'MCP\x20tool\x20'+_0xed5b49[_0x40415c(_0x9234b9._0x3605ff,0x319,0x1c5,0x3f1)][_0xaeeca0(0x54b,0x4c2,_0x9234b9._0x1b4542,_0x9234b9._0x248aea)]+'\x20from\x20'+_0xed5b49['serverName'],'inputSchema':toNuvinToolSchema(_0xed5b49['tool']['inputSchema']),async *'execute'(_0x4b2d78){const _0x4bdded={_0x3a8389:0x1cf,_0x348dcd:0x1e3};function _0x36c0c7(_0x541058,_0x3ef860,_0x31e743,_0x1163e9){return _0x40415c(_0x3ef860- -_0x3bb6b6._0x3a9054,_0x3ef860-0xaf,_0x31e743-_0x3bb6b6._0x135c27,_0x541058);}const _0x453021=await _0xed5b49['client'][_0x56e950(_0x40f08c._0x5033c8,_0x40f08c._0x227982,_0x40f08c._0x4d7095,-_0x40f08c._0x17cd44)]({'name':_0xed5b49[_0x36c0c7(-0x12a,-_0x40f08c._0x2983b5,0x39,-_0x40f08c._0x50b9e0)]['name'],'arguments':isJsonObject(_0x4b2d78)?_0x4b2d78:{}});function _0x56e950(_0x5e08a1,_0x13578d,_0xf32557,_0x3f8f0b){return _0xaeeca0(_0x5e08a1-_0x4bdded._0x3a8389,_0x5e08a1- -0x687,_0xf32557-_0x4bdded._0x348dcd,_0xf32557);}if(_0x453021['isError'])throw new ToolExecutionError(formatMcpContent(_0x453021),{'serverName':_0xed5b49[_0x36c0c7(-0x66,0x114,_0x40f08c._0x4c8768,_0x40f08c._0x4f00c2)],'toolName':_0xed5b49[_0x56e950(-_0x40f08c._0x20426b,-_0x40f08c._0x50f404,-0x22c,-0x130)]['name']});return yield createToolOutput(formatMcpContent(_0x453021),{'serverName':_0xed5b49['serverName'],'toolName':_0xed5b49[_0x36c0c7(-_0x40f08c._0x3509ac,-_0x40f08c._0x2983b5,_0x40f08c._0x532419,0x15)][_0x36c0c7(-0x19c,-0x16d,-_0x40f08c._0x5a8c7c,-_0x40f08c._0x5b60cc)],'result':_0x453021}),void 0x0;}});}function resolvePrefix(_0x144f6f,_0x57c31f){return _0x57c31f['prefix']??_0x144f6f;}function isToolPermissionClass(_0x5f446a){const _0x52f1ee={_0x2f401f:0x3e,_0x50458a:0x118,_0xf5e60:0x379,_0x3ff9c7:0x33c,_0x5b18da:0x40a},_0x1e128b={_0x3499f1:0x35,_0xad3652:0x76},_0x2ece7a={_0x486f3a:0x83};function _0x1a61a6(_0xdc4ac3,_0x1005e8,_0x491ecd,_0x12aea6){return _0x38eb01(_0x1005e8,_0xdc4ac3-0x125,_0x491ecd-_0x2ece7a._0x486f3a,_0x12aea6-0xc2);}function _0x3ac228(_0x374d50,_0x4de101,_0x2ff8f9,_0x511969){return _0x2cc51b(_0x511969,_0x4de101-_0x1e128b._0x3499f1,_0x2ff8f9-_0x1e128b._0xad3652,_0x374d50- -0x36);}return _0x5f446a===_0x1a61a6(_0x52f1ee._0x2f401f,-0x10c,_0x52f1ee._0x50458a,-0xf9)||_0x5f446a==='write'||_0x5f446a===_0x3ac228(_0x52f1ee._0xf5e60,0x316,_0x52f1ee._0x3ff9c7,_0x52f1ee._0x5b18da);}function ownValue(_0x2d0cb1,_0xc3abf7){const _0x3cbb4e={_0xbba0f4:0x2f1,_0x5e63d5:0x2e5},_0x54c04c={_0xbcaf44:0x1bd,_0x78f46c:0x2a5};function _0x3441f7(_0x209a0d,_0x4c56a0,_0x1b5b56,_0x1df53f){return _0x2cc51b(_0x209a0d,_0x4c56a0-0xe0,_0x1b5b56-_0x54c04c._0xbcaf44,_0x1b5b56- -_0x54c04c._0x78f46c);}return _0x2d0cb1&&Object[_0x3441f7(_0x3cbb4e._0xbba0f4,0x1e9,_0x3cbb4e._0x5e63d5,0x37c)](_0x2d0cb1,_0xc3abf7)?_0x2d0cb1[_0xc3abf7]:void 0x0;}function suggestedPermissionClass(_0x39bf5d){const _0x506981={_0x2b0deb:0x4,_0x56cb07:0x14a,_0x55c062:0x410,_0x5ededa:0x53f,_0x3cfc7a:0x58},_0x22506a={_0x4d6d4f:0x196},_0x4d03cb={_0x223820:0x1f1,_0x563968:0x90};function _0x4aac8f(_0x5205ef,_0x57bd39,_0x49b2bf,_0x535b45){return _0x2cc51b(_0x5205ef,_0x57bd39-_0x4d03cb._0x223820,_0x49b2bf-_0x4d03cb._0x563968,_0x57bd39- -0x485);}function _0x2011ae(_0x4a0159,_0x20d204,_0x28daec,_0x331128){return _0x38eb01(_0x331128,_0x28daec-0x626,_0x28daec-_0x22506a._0x4d6d4f,_0x331128-0x117);}const _0x1a5e93=_0x39bf5d['annotations']?.[_0x4aac8f(_0x506981._0x2b0deb,-_0x506981._0x56cb07,-0x188,-0x298)];if(_0x1a5e93===!![])return _0x2011ae(_0x506981._0x55c062,0x4bb,_0x506981._0x5ededa,0x5a0);if(_0x1a5e93===![])return _0x4aac8f(-0x93,0xdf,0x260,_0x506981._0x3cfc7a);return void 0x0;}function createMcpBundleLifecycle(_0x3ab166){const _0x4cc71b={_0x1c7618:0x3b,_0x4fbde4:0xba},_0x3f98e2={_0x175af7:0x29b,_0xf0c2c1:0x183,_0x268c8e:0x3df,_0x1ffa64:0x372,_0x42755d:0x36d,_0x3e1764:0x29e,_0x4a7e56:0x2d3,_0xefdc1f:0x319};let _0x333e60=0x0,_0x83ca2b=![],_0x20c7f4=![],_0x34b5e4,_0x3ccc4b,_0x22d814;const _0x4788a3=()=>{if(!_0x83ca2b||_0x333e60!==0x0||_0x20c7f4)return;_0x20c7f4=!![];function _0x30d662(_0x4dcfea,_0x21ac15,_0x459268,_0x271a47){return _0x29c8(_0x4dcfea-0x178,_0x459268);}function _0x26c016(_0x483dbb,_0x3a29fd,_0x337470,_0x562031){return _0x29c8(_0x562031-0x342,_0x337470);}void Promise[_0x30d662(_0x3f98e2._0x175af7,_0x3f98e2._0xf0c2c1,_0x3f98e2._0x268c8e,_0x3f98e2._0x1ffa64)]()[_0x30d662(_0x3f98e2._0x42755d,_0x3f98e2._0x3e1764,_0x3f98e2._0x4a7e56,_0x3f98e2._0xefdc1f)](_0x3ab166)['then'](_0x3ccc4b,_0x22d814);};return{'acquire'(){if(_0x83ca2b)throw new Error(_0x2b6e41(-_0x4cc71b._0x1c7618,_0x4cc71b._0x4fbde4,-0x14,-0x71));_0x333e60+=0x1;function _0x2b6e41(_0x1dfb30,_0x7c871f,_0x2018f8,_0x38ebe4){return _0x29c8(_0x38ebe4- -0x374,_0x7c871f);}let _0x77ac56=![];return()=>{if(_0x77ac56)return;_0x77ac56=!![],_0x333e60-=0x1,_0x4788a3();};},'retire'(){return!_0x34b5e4&&(_0x34b5e4=new Promise((_0x41ee87,_0x3f47bd)=>{_0x3ccc4b=_0x41ee87,_0x22d814=_0x3f47bd;})),_0x83ca2b=!![],_0x4788a3(),_0x34b5e4;}};}function buildMcpHttpHeaders(_0x54e6b7){const _0x10e9a3={_0x394009:0x2df,_0x124f66:0x6a,_0x2bdcd3:0x21b,_0x45760a:0xc4,_0xe30e94:0xd,_0x5e1e5f:0x2a,_0x5a1a6e:0xdb,_0x2c5578:0x338,_0x300ea6:0x262,_0x4a5ddf:0x146,_0xad7c4b:0x88,_0x40ed00:0x479,_0xb274ce:0x358,_0x5221b9:0x3c6,_0x228670:0x42c,_0x9250c3:0x3ec,_0x5746a8:0x2e3,_0x57a267:0xee,_0x527bd2:0xb7,_0x3f6b55:0xa6},_0x9136a4={_0xfdfd9e:0xe3,_0xfe6a82:0x190},_0x50a162={_0x1c0832:0xcd};function _0x1b61db(_0x2b1716,_0x187a17,_0xd79bc4,_0x38518a){return _0x38eb01(_0x2b1716,_0xd79bc4-0x77,_0xd79bc4-_0x50a162._0x1c0832,_0x38518a-0x109);}function _0x3be51a(_0x316371,_0x435c11,_0x41c199,_0x5c7e95){return _0x2cc51b(_0x41c199,_0x435c11-_0x9136a4._0xfdfd9e,_0x41c199-_0x9136a4._0xfe6a82,_0x435c11- -0x1ef);}const _0x3322e6={..._0x54e6b7[_0x3be51a(0x384,0x263,_0x10e9a3._0x394009,0x206)]??{}};return _0x54e6b7[_0x1b61db(_0x10e9a3._0x124f66,-_0x10e9a3._0x2bdcd3,-_0x10e9a3._0x45760a,0xc)]?.[_0x3be51a(_0x10e9a3._0xe30e94,0x162,_0x10e9a3._0x5e1e5f,0xfb)]==='bearer'&&_0x54e6b7[_0x3be51a(0x9e,0x1e2,0xe2,_0x10e9a3._0x5a1a6e)][_0x3be51a(_0x10e9a3._0x2c5578,_0x10e9a3._0x300ea6,0x233,_0x10e9a3._0x4a5ddf)]&&_0x3322e6[_0x1b61db(-0x13,0x97,0xb2,-_0x10e9a3._0xad7c4b)]===void 0x0&&(_0x3322e6[_0x3be51a(_0x10e9a3._0x40ed00,_0x10e9a3._0xb274ce,_0x10e9a3._0x5221b9,_0x10e9a3._0x228670)]=_0x3be51a(_0x10e9a3._0x9250c3,0x3a0,0x257,0x4f7)+_0x54e6b7['auth'][_0x3be51a(_0x10e9a3._0x5746a8,0x262,0x342,_0x10e9a3._0x57a267)]),Object['keys'](_0x3322e6)[_0x1b61db(_0x10e9a3._0x527bd2,-0x79,-0x90,-_0x10e9a3._0x3f6b55)]>0x0?_0x3322e6:void 0x0;}function getErrorMessage(_0x2db275){const _0x5bfff7={_0x2e2b9d:0xfd},_0x405233={_0x4e8ea1:0x6,_0x37bdb8:0x436};function _0x2d1659(_0x45bb7f,_0x5074b1,_0x25498a,_0x59e051){return _0x2cc51b(_0x25498a,_0x5074b1-_0x405233._0x4e8ea1,_0x25498a-0x61,_0x59e051- -_0x405233._0x37bdb8);}return _0x2db275 instanceof Error?_0x2db275[_0x2d1659(0x1b9,-0x10b,_0x5bfff7._0x2e2b9d,0x48)]:String(_0x2db275);}function isUnauthorizedError(_0x53b197){const _0x23777a={_0x235341:0x4c,_0x5d94b9:0x82,_0x1ddc37:0x1ef,_0x569839:0x1bb,_0x443b3e:0x7c,_0x7d2c5e:0x56,_0x589579:0x1be},_0x18c6a8={_0x2afe75:0x1b0,_0x31d681:0xd6,_0x11169f:0x4c1},_0x2eb10d={_0x22a847:0x3c,_0x346ec4:0x193};function _0xa700fb(_0x15424f,_0x5c0b21,_0x57ef87,_0x36d0a0){return _0x38eb01(_0x36d0a0,_0x57ef87-_0x2eb10d._0x22a847,_0x57ef87-0x4e,_0x36d0a0-_0x2eb10d._0x346ec4);}function _0x43786d(_0x516b57,_0x51ac58,_0x22e1d5,_0x909cf9){return _0x2cc51b(_0x516b57,_0x51ac58-_0x18c6a8._0x2afe75,_0x22e1d5-_0x18c6a8._0x31d681,_0x22e1d5- -_0x18c6a8._0x11169f);}return _0x53b197 instanceof Error&&_0x53b197[_0xa700fb(-_0x23777a._0x235341,0xe6,_0x23777a._0x5d94b9,0x18b)][_0x43786d(-0x2aa,-_0x23777a._0x1ddc37,-0x213,-_0x23777a._0x569839)]===_0x43786d(-_0x23777a._0x443b3e,-0x18,_0x23777a._0x7d2c5e,_0x23777a._0x589579);}async function connectMcpServer(_0x223d44,_0x5941b0,_0x3c6619){const _0x683aaf={_0x2ef1df:0x1c8,_0x3e1778:0x2c3,_0x392c42:0x1eb,_0x20ca75:0x1ef,_0x4373fc:0x126,_0x97d545:0x2b3,_0x122442:0x2b5,_0x24caa3:0x33f,_0x2ceff9:0x1b8,_0x35c809:0x19a,_0x68d1f4:0x1eb,_0x28867a:0x262,_0x2d6002:0x296,_0x2f45a7:0x319,_0x4a1f89:0x462,_0x1174c5:0x3b4,_0x3b38b9:0x17d,_0x10e6bb:0x376,_0x298ea7:0x389,_0x1cfc9b:0x133,_0x20bb48:0x247,_0x1d7f7c:0x1c3,_0x5f4320:0x2a6,_0xcdb676:0x1c7,_0x2928c4:0x3b6,_0x118073:0xa5,_0x354e2f:0x22f,_0x254e7e:0x23b,_0x41f970:0x2fc,_0x38587f:0x35d,_0x46377a:0x231,_0x57b2c3:0x302,_0x5ada79:0x3d1,_0x3dd16a:0x3a6,_0x43fe40:0x3da,_0x4f59b5:0x4c8,_0x1b23dc:0x431,_0x2312a1:0x2ea,_0x2065f7:0x3c6,_0x2f679f:0x35d,_0x18a44b:0x1ac,_0x25e2e5:0x372,_0x50c20f:0x21d,_0x397ae9:0x22a,_0x2d5af5:0x77,_0x17c349:0x223,_0x5088af:0x25e,_0x1263d0:0x339,_0x35d1d3:0x1e2,_0x265924:0x2f1,_0x121a22:0x3a2,_0x14832e:0x3f3,_0x1faee9:0x2f,_0x518d35:0x7d,_0x13d681:0x52,_0x5cf08f:0x107},_0x31f39b={_0x28f13e:0x35f,_0x1a36bd:0x3cf,_0x369522:0x45e},_0x278041={_0x52a5d8:0x1d6},_0x33cad8={_0x30834f:0x254,_0x23872c:0x127},_0x434504={_0x48a83b:0x665},_0x537a01={_0x363b15:0x130,_0x2206dc:0x18a},_0x59a61a=new Client({'name':_0x39e17b(_0x683aaf._0x2ef1df,_0x683aaf._0x3e1778,_0x683aaf._0x392c42,0x29b),'version':_0x7b0ee9(_0x683aaf._0x20ca75,0x46,0x82,_0x683aaf._0x4373fc)});function _0x7b0ee9(_0x2e6c60,_0x1be75a,_0x5be21c,_0x457564){return _0x2cc51b(_0x1be75a,_0x1be75a-_0x537a01._0x363b15,_0x5be21c-0x176,_0x457564- -_0x537a01._0x2206dc);}_0x59a61a[_0x7b0ee9(0x449,_0x683aaf._0x97d545,_0x683aaf._0x122442,_0x683aaf._0x24caa3)]=_0x3bbad1=>{const _0x228a9a={_0x43a4ba:0x27c};function _0x504505(_0x22bfed,_0x55817c,_0x257d5b,_0x47511e){return _0x7b0ee9(_0x22bfed-0xf1,_0x47511e,_0x257d5b-0x190,_0x257d5b-_0x228a9a._0x43a4ba);}console['error'](_0x504505(_0x434504._0x48a83b,0x5c2,0x571,0x592)+_0x223d44+']\x20transport\x20error:',_0x3bbad1['message']);};if(_0x5941b0['transport']==='http'||_0x5941b0[_0x39e17b(_0x683aaf._0x2ceff9,_0x683aaf._0x35c809,0x180,_0x683aaf._0x68d1f4)]){if(!_0x5941b0[_0x7b0ee9(_0x683aaf._0x28867a,0x333,_0x683aaf._0x2d6002,_0x683aaf._0x2f45a7)])throw new Error(_0x7b0ee9(0x4e3,0x295,_0x683aaf._0x4a1f89,_0x683aaf._0x1174c5)+_0x223d44+_0x39e17b(0xc3,_0x683aaf._0x3b38b9,-0x6e,0x8a));if(_0x5941b0[_0x7b0ee9(_0x683aaf._0x10e6bb,_0x683aaf._0x298ea7,_0x683aaf._0x1cfc9b,_0x683aaf._0x20bb48)]?.[_0x7b0ee9(_0x683aaf._0x1d7f7c,_0x683aaf._0x5f4320,0xe3,_0x683aaf._0xcdb676)]===_0x39e17b(_0x683aaf._0x2928c4,0x39a,_0x683aaf._0x118073,_0x683aaf._0x354e2f)&&!_0x3c6619?.[_0x7b0ee9(_0x683aaf._0x254e7e,_0x683aaf._0x41f970,0x308,_0x683aaf._0x38587f)])throw new Error(_0x7b0ee9(_0x683aaf._0x46377a,_0x683aaf._0x57b2c3,_0x683aaf._0x5ada79,0x3b4)+_0x223d44+_0x7b0ee9(_0x683aaf._0x3dd16a,_0x683aaf._0x43fe40,_0x683aaf._0x4f59b5,0x3bb));const _0x1882c8=buildMcpHttpHeaders(_0x5941b0),_0x3e0118=_0x5941b0['auth']?.['type']===_0x7b0ee9(_0x683aaf._0x1b23dc,_0x683aaf._0x2312a1,0x2ca,_0x683aaf._0x38587f)&&_0x3c6619?.[_0x7b0ee9(_0x683aaf._0x2065f7,0x4d9,0x4a4,_0x683aaf._0x2f679f)]?createMcpOAuthProvider({'serverName':_0x223d44,'callbackUrl':_0x3c6619['oauth'][_0x7b0ee9(0x24c,0x18b,_0x683aaf._0x18a44b,0x1c3)],'storageDir':_0x3c6619['oauth'][_0x7b0ee9(0x333,0x224,_0x683aaf._0x25e2e5,0x2a6)],'config':_0x5941b0[_0x7b0ee9(0x2a2,0xc8,0x307,0x247)],'onRedirect':_0x589e48=>_0x3c6619[_0x39e17b(0x394,0x3af,0x218,0x22f)]?.[_0x7b0ee9(0x3ed,0x303,0x471,0x36a)](_0x223d44,_0x589e48)}):void 0x0,_0x2739f9=new StreamableHTTPClientTransport(new URL(_0x5941b0['url']),{'authProvider':_0x3e0118,'requestInit':_0x1882c8?{'headers':_0x1882c8}:void 0x0});await _0x59a61a[_0x7b0ee9(_0x683aaf._0x50c20f,_0x683aaf._0x397ae9,-_0x683aaf._0x2d5af5,0x107)](_0x2739f9);}else{if(!_0x5941b0['command'])throw new Error('MCP\x20server\x20'+_0x223d44+'\x20requires\x20command\x20for\x20stdio\x20transport');const _0x349cf0=new StdioClientTransport({'command':_0x5941b0[_0x7b0ee9(_0x683aaf._0x17c349,0x342,_0x683aaf._0x5088af,0x341)],'args':_0x5941b0[_0x39e17b(_0x683aaf._0x1263d0,0x14c,_0x683aaf._0x35d1d3,0x28b)]??[],'env':_0x5941b0[_0x39e17b(0x35f,_0x683aaf._0x265924,0x1c8,0x207)],'stderr':_0x7b0ee9(0x3f6,_0x683aaf._0x121a22,0x26a,_0x683aaf._0x14832e)});await _0x59a61a[_0x7b0ee9(-_0x683aaf._0x1faee9,_0x683aaf._0x518d35,_0x683aaf._0x13d681,_0x683aaf._0x5cf08f)](_0x349cf0);}function _0x39e17b(_0x378f6e,_0x2eff41,_0x230ea9,_0x5eaa0e){return _0x38eb01(_0x378f6e,_0x5eaa0e-_0x33cad8._0x30834f,_0x230ea9-0x139,_0x5eaa0e-_0x33cad8._0x23872c);}return{async 'listTools'(){return await _0x59a61a['listTools']();},async 'callTool'(_0x33c589){const _0x57c63b={_0x1cefbd:0x1e0,_0x367de6:0x172};function _0x44048b(_0x30e2af,_0x483a66,_0x5bc2d5,_0x210a62){return _0x7b0ee9(_0x30e2af-0xa9,_0x5bc2d5,_0x5bc2d5-_0x57c63b._0x1cefbd,_0x30e2af-_0x57c63b._0x367de6);}function _0x3cb3b3(_0x494a71,_0x149807,_0x4d2cd4,_0x70ca55){return _0x39e17b(_0x70ca55,_0x149807-_0x278041._0x52a5d8,_0x4d2cd4-0xa6,_0x149807-0x272);}return await _0x59a61a[_0x3cb3b3(_0x31f39b._0x28f13e,0x424,_0x31f39b._0x1a36bd,_0x31f39b._0x369522)]({'method':_0x44048b(0x361,0x2f9,0x4b7,0x2e5),'params':_0x33c589},CallToolResultSchema);},async 'close'(){await _0x59a61a['close']();}};}async function createMcpToolsFromServers(_0x2ec813){const _0x56de26={_0x41cea8:0x1bf,_0x5854df:0x117,_0x5359f2:0x2ee,_0x548dca:0xfd,_0x17e5f0:0xfa,_0x352c1f:0x55,_0x152ae7:0x10,_0x4b749a:0xd5,_0xfe8064:0x3ff,_0xcdca4d:0x2fb,_0x44e8c4:0x2a0,_0x34d229:0x40c,_0x467214:0x8e,_0x5eadc1:0xdc,_0x5c3111:0xb2,_0x2e6a5b:0x8f,_0x46d8b8:0xfa,_0x3a846c:0x25b,_0x12aa61:0x40c,_0x5743eb:0x1c2,_0x3423a4:0x2ce,_0x22f0b2:0x11d,_0x405026:0x15f,_0x3b1f1d:0x14d,_0x2dc120:0x95,_0x2b5c2a:0x63,_0x49caec:0x5e,_0x1080a5:0x14b,_0x35c73b:0x77,_0x48ced2:0x253,_0x3a10bc:0x2cc,_0x2463fd:0x25c,_0x3eb5e6:0x104,_0x4969f2:0xfc,_0x4002db:0x8c,_0x2fc71c:0x179,_0x534ed9:0x215,_0x45c890:0x299,_0x73eb25:0xe8,_0x5a02ee:0x238,_0x5f1d06:0x60,_0x30bef0:0xd,_0x463ff1:0x8a,_0x5d1741:0x115,_0x43ef39:0xed,_0x2128ac:0x217},_0x372344={_0x5b3168:0x25},_0x35de16={_0x5e9032:0x286},_0x4ce2ae={_0x4b2a91:0x70,_0x296ca7:0x4d,_0x396b50:0xf8},_0x2f6415=_0x2ec813['connect']??connectMcpServer;function _0x58ad54(_0x119a97,_0x3bf200,_0x4d8d50,_0x46fdaf){return _0x38eb01(_0x3bf200,_0x4d8d50- -_0x4ce2ae._0x4b2a91,_0x4d8d50-_0x4ce2ae._0x296ca7,_0x46fdaf-_0x4ce2ae._0x396b50);}const _0x214609=[],_0x26af2c=[],_0x3c847a=[],_0x34fde6=[],_0x336c24=createMcpBundleLifecycle(async()=>{const _0x59d533={_0x27c223:0xf7};function _0x1f8a89(_0x40ff12,_0x4f68c3,_0x559324,_0x442ce2){return _0x29c8(_0x4f68c3-0x123,_0x442ce2);}function _0x22d043(_0xf9ff30,_0x39f753,_0x43b26c,_0x82cd75){return _0x29c8(_0xf9ff30-_0x59d533._0x27c223,_0x43b26c);}await Promise[_0x1f8a89(0xe7,0x209,_0x35de16._0x5e9032,0x34b)](_0x214609['map'](_0x157bcb=>_0x157bcb[_0x22d043(0x2b5,0x3e4,0x3bb,0x250)]()));});function _0x39e465(_0xd9e17,_0x515460,_0x383312,_0x26b211){return _0x2cc51b(_0x383312,_0x515460-0x1db,_0x383312-_0x372344._0x5b3168,_0xd9e17- -0x250);}for(const [_0x184212,_0x14a8a7]of Object['entries'](_0x2ec813[_0x39e465(_0x56de26._0x41cea8,_0x56de26._0x5854df,_0x56de26._0x5359f2,_0x56de26._0x548dca)]??{})){if(_0x14a8a7[_0x58ad54(-0xa3,-_0x56de26._0x17e5f0,-_0x56de26._0x352c1f,-_0x56de26._0x152ae7)]===![]){_0x26af2c[_0x58ad54(-_0x56de26._0x4b749a,-0x1cf,-_0x56de26._0x5854df,0x4d)]([_0x184212,{'status':_0x58ad54(-_0x56de26._0xfe8064,-_0x56de26._0xcdca4d,-_0x56de26._0x44e8c4,-_0x56de26._0x34d229)}]);continue;}try{const _0x57ae4c=await _0x2f6415(_0x184212,_0x14a8a7,_0x2ec813[_0x39e465(_0x56de26._0x467214,-0x50,_0x56de26._0x5eadc1,0x33)]);_0x214609['push'](_0x57ae4c);const _0x21312d=await _0x57ae4c['listTools']();let _0x14333f=0x0;const _0x7fb3e2=[],_0x329ce5=ownValue(_0x2ec813[_0x39e465(_0x56de26._0x5c3111,0x31,0x160,0x1e0)],_0x184212),_0x51609c=ownValue(_0x2ec813[_0x58ad54(-_0x56de26._0x2e6a5b,0x31,-_0x56de26._0x46d8b8,0x26)],_0x184212);for(const _0x55a75e of _0x21312d[_0x39e465(0x2a7,_0x56de26._0x3a846c,_0x56de26._0x12aa61,0x24b)]){const _0x55d4fc=ownValue(_0x329ce5,_0x55a75e[_0x58ad54(-0x1bd,-_0x56de26._0x5743eb,-_0x56de26._0x3423a4,-0x3b0)]),_0x242f9a=ownValue(_0x51609c,_0x55a75e[_0x39e465(0x5e,0xa1,-_0x56de26._0x22f0b2,0x95)]),_0x312442=isToolPermissionClass(_0x242f9a)?_0x242f9a:void 0x0,_0x250a7a=_0x312442??_0x39e465(_0x56de26._0x405026,0x16a,_0x56de26._0x3b1f1d,_0x56de26._0x2dc120),_0xb0f8a0=suggestedPermissionClass(_0x55a75e);_0x7fb3e2[_0x58ad54(_0x56de26._0x2b5c2a,-0x204,-0x117,-0x219)]({'name':_0x55a75e[_0x39e465(_0x56de26._0x49caec,_0x56de26._0x1080a5,0x94,-_0x56de26._0x35c73b)],..._0x55a75e[_0x39e465(0x180,0x1a2,_0x56de26._0x48ced2,0x16c)]!==void 0x0?{'description':_0x55a75e['description']}:{},..._0x55a75e[_0x58ad54(-_0x56de26._0x3a10bc,-_0x56de26._0x2463fd,-0x279,-0x3da)]!==void 0x0?{'inputSchema':_0x55a75e['inputSchema']}:{},'permissionClass':_0x250a7a,'permissionConfigured':_0x312442!==void 0x0,..._0xb0f8a0!==void 0x0?{'suggestedPermissionClass':_0xb0f8a0}:{}});if(_0x55d4fc===![])continue;_0x14333f+=0x1,_0x34fde6[_0x58ad54(-0x1dd,-0x28a,-_0x56de26._0x5854df,-_0x56de26._0x3eb5e6)](createMcpTool({'serverName':resolvePrefix(_0x184212,_0x14a8a7),'tool':_0x55a75e,'client':_0x57ae4c,'permissionClass':_0x250a7a,'internalLifecycle':_0x336c24}));}_0x3c847a['push']([_0x184212,_0x7fb3e2]),_0x26af2c['push']([_0x184212,{'status':_0x39e465(_0x56de26._0x4969f2,0x5,-_0x56de26._0x4002db,_0x56de26._0x2fc71c),'toolCount':_0x14333f}]);}catch(_0x58e4cd){_0x26af2c[_0x39e465(_0x56de26._0x534ed9,0x39c,0xf6,0x32c)]([_0x184212,isUnauthorizedError(_0x58e4cd)?{'status':_0x58ad54(-0x2fc,-0x2d3,-_0x56de26._0x45c890,-0x22f),'message':getErrorMessage(_0x58e4cd)}:{'status':_0x39e465(_0x56de26._0x73eb25,_0x56de26._0x5a02ee,-_0x56de26._0x5f1d06,_0x56de26._0x30bef0),'message':getErrorMessage(_0x58e4cd)}]);}}return{'tools':_0x34fde6,'servers':Object[_0x58ad54(-0x7a,-_0x56de26._0x463ff1,-_0x56de26._0x5d1741,-_0x56de26._0x43ef39)](_0x26af2c),'serverTools':Object[_0x39e465(_0x56de26._0x2128ac,0x16d,0x23f,0x151)](_0x3c847a),async 'close'(){await _0x336c24['retire']();}};}function getCommand(_0x458543){const _0xbdbaae={_0x520e13:0x5b8,_0x42faa5:0x44c,_0x2e0000:0x50d,_0x5e4ea4:0x537,_0x2698d1:0x625,_0x19fb7a:0x60b,_0x3cb22f:0x4db},_0x1bdac0={_0x20cb60:0x23c,_0x2de5eb:0x18d,_0x404624:0xa2},_0x612b94={_0x4098a9:0x140};function _0x1a7f38(_0xdfaf6f,_0x23c2ac,_0x369ced,_0x5a66c3){return _0x2cc51b(_0x5a66c3,_0x23c2ac-0x171,_0x369ced-0x8d,_0x23c2ac-_0x612b94._0x4098a9);}if(_0x458543&&typeof _0x458543===_0x1a7f38(0x72d,_0xbdbaae._0x520e13,_0xbdbaae._0x42faa5,_0xbdbaae._0x2e0000)&&!Array[_0x1a7f38(0x680,_0xbdbaae._0x5e4ea4,0x5d0,_0xbdbaae._0x2698d1)](_0x458543)&&typeof _0x458543['command']==='string')return _0x458543[_0x1a7f38(0x788,_0xbdbaae._0x19fb7a,_0xbdbaae._0x3cb22f,0x5bd)];function _0x4f68a8(_0x531a21,_0x4c22df,_0x16d136,_0x461325){return _0x38eb01(_0x16d136,_0x4c22df-_0x1bdac0._0x20cb60,_0x16d136-_0x1bdac0._0x2de5eb,_0x461325-_0x1bdac0._0x404624);}return'ls\x20-la';}var MOCK_WORKSPACE_LISTING=[_0x2cc51b(0x5af,0x602,0x4e4,0x4b8),'docs/plans/2026-04-16-mock-agent-loop-implementation.md',_0x2cc51b(0x432,0x4ce,0x55b,0x3e1),'package.json',_0x2cc51b(0x587,0x33e,0x3f5,0x497),_0x2cc51b(0x2d7,0x356,0x1ef,0x361),'src/examples/demo.ts','src/agent/extension-registry.ts',_0x38eb01(0x5b,-0xa1,0xc3,0x27),_0x38eb01(0xb7,-0x2,-0x16c,-0x139),_0x38eb01(-0x42,0x41,-0x57,-0x21),'src/agent/turn-engine.ts',_0x2cc51b(0x190,0x305,0x286,0x312),_0x2cc51b(0x3f0,0x344,0x455,0x43d),_0x38eb01(0x4f,-0x11d,-0x1ae,-0x2e),_0x38eb01(-0x122,-0xb0,-0xe3,-0x1cd),_0x38eb01(0x7c,-0x3b,0xaf,-0x15d)]['join']('\x0a'),SHELL_EXEC_TOOL={'name':_0x38eb01(0x22,-0x159,-0x242,-0x157),'description':_0x38eb01(0x111,0x3a,-0xcc,0x18),'input_schema':{'type':_0x2cc51b(0x5c8,0x3c0,0x343,0x478),'properties':{'command':{'type':_0x38eb01(0x17f,0x64,0x3e,-0x22)}},'required':[_0x2cc51b(0x5f9,0x40f,0x343,0x4cb)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x12f8db){return{'output':_0x12f8db,'structured':{'value':_0x12f8db}};}function createUnknownToolResult(_0x510f31){const _0x42e147={_0x4e5be3:0x3cf,_0x251669:0x305,_0x4d55e7:0x296,_0x176d69:0x38e,_0x268448:0x439},_0x247df9={_0x260c6b:0x17d,_0x3c4bfe:0x19b};function _0x2c4af6(_0x54ae1a,_0x1f5655,_0x23006c,_0x2b3d0b){return _0x2cc51b(_0x1f5655,_0x1f5655-_0x247df9._0x260c6b,_0x23006c-_0x247df9._0x3c4bfe,_0x2b3d0b- -0x18);}function _0x4912c0(_0x2ada63,_0x1fb760,_0x338df4,_0x4d41fd){return _0x38eb01(_0x2ada63,_0x1fb760-0x183,_0x338df4-0xe9,_0x4d41fd-0x55);}return{'callId':_0x510f31['id'],'toolName':_0x510f31[_0x2c4af6(0x2d0,_0x42e147._0x4e5be3,_0x42e147._0x251669,_0x42e147._0x4d55e7)],'status':'error','output':_0x2c4af6(_0x42e147._0x176d69,0x51c,_0x42e147._0x268448,0x4bd)+_0x510f31[_0x4912c0(-0xaa,-0xdb,-0x143,-0x185)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x452327,_0x3261e7){const _0x5b9841={_0x52929c:0x25c,_0x2c5bc8:0x390,_0x1ece20:0x2b6},_0x544deb={_0xde6c9e:0x4ba},_0x590b66={_0x4e4572:0x141};function _0x14e022(_0x232fe9,_0x50bc3b,_0x59d884,_0xd57cd3){return _0x38eb01(_0x50bc3b,_0xd57cd3-0x26f,_0x59d884-0x160,_0xd57cd3-_0x590b66._0x4e4572);}function _0x27cdff(_0x276b6c,_0x22830b,_0x48ea49,_0x50facc){return _0x38eb01(_0x276b6c,_0x48ea49-_0x544deb._0xde6c9e,_0x48ea49-0x176,_0x50facc-0x1c0);}return{'callId':_0x452327['id'],'toolName':_0x452327[_0x27cdff(0x170,0x28d,_0x5b9841._0x52929c,_0x5b9841._0x2c5bc8)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x452327[_0x27cdff(0x1b8,0x1f6,0x2e4,_0x5b9841._0x1ece20)]),'exitCode':0x0},'chunks':[_0x3261e7],'meta':createMeta()};}function createMockToolRuntime(){const _0x331177={_0x37886f:0x142,_0x554d22:0xb2,_0x190887:0x38a,_0x362ed6:0x344,_0x9f4405:0x35e},_0x10f7dc={_0x192ba9:0x5c},_0x2bf805={_0x2ed466:0x140,_0x3c4917:0x21f,_0x52e589:0x425,_0x3e8715:0x34d,_0x652592:0x4c9},_0x5876bc=async(_0x29a770,_0x96695b)=>{const _0x1ebe32={_0x2b0203:0x2e7};function _0x50b120(_0xa8bd1a,_0x2be850,_0x5c2163,_0x410e0c){return _0x29c8(_0x410e0c-0x171,_0xa8bd1a);}if(_0x29a770[_0x50b120(0x197,_0x2bf805._0x2ed466,_0x2bf805._0x3c4917,0x24e)]!==_0x32e7d7(_0x2bf805._0x52e589,_0x2bf805._0x3e8715,0x601,_0x2bf805._0x652592))return createUnknownToolResult(_0x29a770);const _0x352850=createOutputChunk(MOCK_WORKSPACE_LISTING);function _0x32e7d7(_0xe72967,_0x3263b3,_0x177809,_0xd96f8f){return _0x29c8(_0xd96f8f-_0x1ebe32._0x2b0203,_0x3263b3);}return createSuccessToolResult(_0x29a770,_0x352850);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x1fff52,_0x1131c0){const _0x3520a4={_0x287d38:0x22a};function _0x41d974(_0x3ce040,_0x5c051b,_0x457702,_0x388ff8){return _0x29c8(_0x388ff8-_0x3520a4._0x287d38,_0x457702);}function _0x3eb781(_0xf9e6a8,_0x252a83,_0xbc4fcb,_0x547ad4){return _0x29c8(_0x252a83-_0x10f7dc._0x192ba9,_0x547ad4);}return await Promise[_0x3eb781(0x87,_0x331177._0x37886f,_0x331177._0x554d22,0xd)](_0x1fff52[_0x3eb781(_0x331177._0x190887,_0x331177._0x362ed6,_0x331177._0x9f4405,0x29e)](async _0x379078=>{return await _0x5876bc(_0x379078,_0x1131c0);}));},async 'execute'(_0xd8c0c9,_0x43ce99){return await _0x5876bc(_0xd8c0c9,_0x43ce99);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0x5180cc={_0x10cf4b:0x251,_0x4ae71d:0x1bc},_0x40a101={_0x32d2ac:0x188,_0x4cbc2a:0x11b};delegatedRunCounter+=0x1;function _0xeaf640(_0x30b3ef,_0x432f72,_0x570709,_0x15b006){return _0x38eb01(_0x432f72,_0x570709- -0x9c,_0x570709-_0x40a101._0x32d2ac,_0x15b006-_0x40a101._0x4cbc2a);}return _0xeaf640(-0x257,-_0x5180cc._0x10cf4b,-0x2c0,-_0x5180cc._0x4ae71d)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x12b182,_0x2c3535){const _0x48fa74={_0x9b6bd6:0x4f6,_0x31d06d:0x625,_0x520eeb:0x4df},_0x55f40c={_0xfc8816:0x1cd,_0x2af3a2:0x103};function _0x26a81c(_0x4ddd33,_0x8fdc6e,_0x8eaaa2,_0x4f5a0b){return _0x2cc51b(_0x8eaaa2,_0x8fdc6e-_0x55f40c._0xfc8816,_0x8eaaa2-_0x55f40c._0x2af3a2,_0x4ddd33-0x3c);}return typeof _0x12b182===_0x26a81c(0x525,_0x48fa74._0x9b6bd6,_0x48fa74._0x31d06d,_0x48fa74._0x520eeb)?await _0x12b182(_0x2c3535):_0x12b182;}function getDelegatedAgentDefinition(_0x329fc1,_0x5ca18e){return _0x329fc1['agents']?.[_0x5ca18e];}function createRunSummary(_0x5443a5){const _0x5c5802={_0x5259cf:0x65e,_0x52753d:0x6ec,_0x136fb4:0x50a,_0xcf01cd:0x598,_0x4f8476:0x758,_0x14eecc:0x58a,_0x36cf4b:0x4ac,_0x1c6601:0x4e3,_0x21f12d:0x3d1,_0x3e0e9f:0x557,_0x1d949a:0x6ba,_0xf56ab2:0x6cc,_0x398b48:0x3ab,_0x18f142:0x2e8,_0x5e546d:0xe1,_0xe60d8d:0x16d,_0x55599a:0x47a,_0x2f280a:0x374,_0x4c5d8d:0x333,_0x2d21ee:0x36c,_0x2facc2:0x1eb,_0x229262:0x59e,_0xee4315:0x4c3,_0x5d4afb:0x50c,_0x35a0c3:0x549,_0x3a8874:0x3bf},_0xe1b22a={_0x3d0eab:0x648,_0x4d903f:0x1a7},_0x431c42={_0x24417b:0x13f};function _0x18821e(_0x18e4d8,_0x54524d,_0x4c4c78,_0x438640){return _0x2cc51b(_0x438640,_0x54524d-0x1d6,_0x4c4c78-0x129,_0x4c4c78- -_0x431c42._0x24417b);}function _0x23f816(_0x37c681,_0x1e8f21,_0x1c1aae,_0x32bf83){return _0x38eb01(_0x32bf83,_0x37c681-_0xe1b22a._0x3d0eab,_0x1c1aae-_0xe1b22a._0x4d903f,_0x32bf83-0x2e);}return{'runId':_0x5443a5[_0x23f816(_0x5c5802._0x5259cf,_0x5c5802._0x52753d,_0x5c5802._0x136fb4,_0x5c5802._0xcf01cd)],'agentId':_0x5443a5[_0x23f816(0x687,_0x5c5802._0x4f8476,0x5e7,_0x5c5802._0x14eecc)],'sessionId':_0x5443a5[_0x23f816(_0x5c5802._0x36cf4b,_0x5c5802._0x1c6601,0x38e,_0x5c5802._0x21f12d)],'status':_0x5443a5[_0x23f816(_0x5c5802._0x3e0e9f,0x56e,_0x5c5802._0x1d949a,_0x5c5802._0xf56ab2)],'parentSessionId':_0x5443a5[_0x18821e(_0x5c5802._0x398b48,0x321,_0x5c5802._0x18f142,0x1ca)],..._0x5443a5[_0x18821e(0x1bf,_0x5c5802._0x5e546d,_0x5c5802._0xe60d8d,0x15)]!==void 0x0?{'originToolCallId':_0x5443a5[_0x23f816(0x3e8,0x34a,_0x5c5802._0x55599a,_0x5c5802._0x2f280a)]}:{},..._0x5443a5[_0x18821e(0x2c5,0x3e,0x1ba,0x2fe)]!==void 0x0?{'errorMessage':_0x5443a5['errorMessage']}:{},..._0x5443a5[_0x18821e(_0x5c5802._0x4c5d8d,0x2df,0x323,0x43a)]?.[_0x18821e(_0x5c5802._0x2d21ee,0x221,0x2ce,_0x5c5802._0x2facc2)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x5443a5[_0x23f816(_0x5c5802._0x229262,_0x5c5802._0xee4315,0x53c,_0x5c5802._0x5d4afb)][_0x23f816(_0x5c5802._0x35a0c3,0x47e,0x50e,_0x5c5802._0x3a8874)])}:{}};}function createRunSummaryOutput(_0x52734f,_0x266e22){const _0x2b6b6a={_0x254623:0x1bc,_0x5dd638:0x29e,_0x3f6b67:0x2a8,_0x51acad:0x321,_0x2933b8:0x38},_0x4df4e3={_0x554eb5:0x107,_0x5cdbc9:0x149},_0x26fcfe={_0x8e22ad:0x23a,_0x5421f8:0x28};function _0x1b47e6(_0x47b75c,_0x244538,_0x55b8ff,_0x242856){return _0x38eb01(_0x55b8ff,_0x47b75c-_0x26fcfe._0x8e22ad,_0x55b8ff-_0x26fcfe._0x5421f8,_0x242856-0x15c);}const _0x2a49e9=createRunSummary(_0x52734f);function _0x599cfd(_0x115c0a,_0xb3f00c,_0x4890ef,_0xa194c0){return _0x2cc51b(_0x115c0a,_0xb3f00c-_0x4df4e3._0x554eb5,_0x4890ef-0x183,_0x4890ef-_0x4df4e3._0x5cdbc9);}const _0x872d71=_0x2a49e9[_0x1b47e6(0x12a,0x16d,0x97,_0x2b6b6a._0x254623)];return createToolOutput(typeof _0x872d71===_0x1b47e6(_0x2b6b6a._0x5dd638,0x298,_0x2b6b6a._0x3f6b67,_0x2b6b6a._0x51acad)&&_0x872d71[_0x1b47e6(0x133,0x183,-0x4e,_0x2b6b6a._0x2933b8)]>0x0?_0x872d71:_0x266e22,_0x2a49e9);}function getRunTerminalErrorMessage(_0x245e92){const _0x43bd4b={_0x14f482:0x1a8,_0x50829d:0x75,_0x1f76e3:0x1a1,_0x5ed13b:0x21a,_0x31d145:0x486,_0x2ebbe5:0x43c,_0x185c5a:0x460,_0x1dbb9d:0x358,_0x2dc6b7:0x2b4,_0x5bc8c7:0x203},_0x364300={_0xb66217:0x68,_0x5bed8c:0x1f6},_0xdbf43f={_0x44067f:0x1c2,_0x583c21:0x5b};function _0x56c2b4(_0x922e07,_0x501c32,_0x2821ef,_0x566301){return _0x2cc51b(_0x566301,_0x501c32-_0xdbf43f._0x44067f,_0x2821ef-0x13b,_0x2821ef-_0xdbf43f._0x583c21);}function _0x242abf(_0x451409,_0x227d70,_0x30cb8d,_0x3e61c6){return _0x2cc51b(_0x30cb8d,_0x227d70-0x10,_0x30cb8d-_0x364300._0xb66217,_0x3e61c6- -_0x364300._0x5bed8c);}const _0x3fd7e9=_0x245e92?.['state']['toolResults']['at'](-0x1);if(_0x3fd7e9?.[_0x242abf(0x371,_0x43bd4b._0x14f482,0xc4,0x225)]===_0x242abf(_0x43bd4b._0x50829d,_0x43bd4b._0x1f76e3,_0x43bd4b._0x5ed13b,0x142)&&_0x3fd7e9['output']['trim']()[_0x56c2b4(_0x43bd4b._0x31d145,_0x43bd4b._0x2ebbe5,_0x43bd4b._0x185c5a,_0x43bd4b._0x1dbb9d)]>0x0)return _0x3fd7e9[_0x242abf(_0x43bd4b._0x2dc6b7,_0x43bd4b._0x5bc8c7,0x2a2,0x2e7)];return void 0x0;}function formatAbortedRunMessage(_0x41ae6e,_0x1adec2){const _0x418262={_0x5dbcad:0x49d,_0x4615e5:0x435,_0x1fb45e:0x526,_0x3d87df:0x1d4,_0x55fedb:0xe4,_0x3e8446:0xb9},_0x1839ea={_0x146d6b:0x15a};function _0x16edff(_0x220105,_0x40383f,_0x133d97,_0x1d7a36){return _0x2cc51b(_0x133d97,_0x40383f-0xca,_0x133d97-_0x1839ea._0x146d6b,_0x1d7a36-0xe5);}function _0x1076f4(_0x15403b,_0x21de49,_0x366df2,_0x41dd30){return _0x38eb01(_0x366df2,_0x21de49-0x20c,_0x366df2-0x13e,_0x41dd30-0x1ea);}const _0x219e3c=_0x16edff(_0x418262._0x5dbcad,_0x418262._0x4615e5,0x63a,_0x418262._0x1fb45e)+_0x41ae6e+_0x1076f4(-0x82,0x82,-0xcb,_0x418262._0x3d87df);if(!_0x1adec2||_0x1adec2['trim']()[_0x1076f4(0x256,0x105,_0x418262._0x55fedb,_0x418262._0x3e8446)]===0x0||_0x1adec2===_0x219e3c)return _0x219e3c;return _0x219e3c+'\x20Cause:\x20'+_0x1adec2;}function createAssignTaskTool(_0x15659){const _0x1a67e8={_0x323a51:0x587,_0x3cc03b:0x640,_0x3cd583:0x608,_0x485416:0x51a,_0x46ea2a:0x687,_0x319cab:0x556,_0x3c2ed5:0x518,_0x33e925:0x563,_0x36a1ce:0x667,_0x1c6e1f:0x7a1,_0x328188:0x6cd,_0xd44d85:0x6db,_0x5473dc:0x648,_0x26f939:0x5dd,_0x5a8f3a:0x376,_0x2b152c:0x43d,_0x145196:0x7ef,_0x1004ea:0x670,_0x2b404c:0x556,_0x16b17e:0x341},_0x5d1ef1={_0x30daae:0x26f,_0x31f215:0x4e3,_0x30dd46:0x650,_0x370cf5:0x8,_0x504b72:0x1ba,_0x431198:0x1db,_0x18c1e3:0xb4,_0xa31d9f:0x670,_0x23d3cf:0x72c,_0x2ce53a:0x540,_0x1d5de6:0x54a,_0x15fc13:0x1a,_0x1ad746:0xbd,_0x50dbb7:0x5ad,_0xb0eb9f:0x52d,_0x448253:0x67c,_0x1f3146:0x722,_0x8acfb3:0x6d4,_0x2ae647:0x739,_0x2f9c1f:0x5b8,_0x197faf:0x547,_0x1d80a5:0x53f,_0x4f3332:0x5a3,_0x2ba35a:0x52b,_0x431965:0x650,_0x59a41f:0x182,_0x53ef41:0x7a,_0x20d31d:0x1c4,_0x320398:0xcc,_0x2700f5:0x539,_0x39e077:0x4a9,_0x38739f:0x62f,_0x1bd5b5:0xac,_0x24727d:0x1ea,_0x11e88d:0x94,_0x243245:0x44,_0x5d6b15:0x190,_0x334279:0x5c2,_0x1eb37d:0x617,_0x58daf9:0x114,_0x5206f1:0x4c,_0xa43b8c:0x6e,_0x33ccb4:0x5af,_0x2d99ba:0x5f2,_0x8ab911:0x486,_0x25aca3:0x599,_0x51fc8f:0x55a,_0x485167:0x636,_0x5922ff:0x12c,_0x249bac:0x41,_0x34fa9a:0x20b,_0x2cd279:0x15,_0x28c6da:0x1f6,_0x266916:0x13,_0x4648fe:0x11b,_0x5d4248:0x151,_0x110ac4:0x6f9,_0xe5f65d:0x6e7,_0x1c7ce6:0x7b7,_0x41e48a:0x4d,_0xb68f70:0xa0,_0x339fdc:0x1,_0x5128df:0x616,_0x1e9a5f:0x746,_0x173ff9:0x5f6,_0x644b53:0x73e,_0x467e3f:0x71a,_0x1b6c88:0x649,_0x113de9:0x12e,_0x5b4ee0:0x94,_0x6f8ccf:0xa5,_0x18c2dc:0x0,_0x4c7cf9:0x10,_0x4c2943:0x16a,_0x26a879:0x618,_0xf62d4f:0x498,_0x4f8e07:0x760,_0x559565:0x7e0,_0x2e7234:0x46f,_0x1bfaaf:0x16f,_0x4ff8ee:0x56},_0x3a6500={_0x3d24b3:0x2df,_0x1bcae8:0x4f,_0x161b86:0x170,_0x36f736:0x2f5,_0x53a707:0x495,_0x1e2f50:0x468},_0x3e9416={_0x19324c:0x99};function _0x5d3261(_0x704762,_0x1af861,_0x34bbd2,_0x3d79c7){return _0x2cc51b(_0x1af861,_0x1af861-_0x3e9416._0x19324c,_0x34bbd2-0xb1,_0x3d79c7-0x15d);}function _0x2b940b(_0x3941f8,_0xa92969,_0x338c3b,_0x545e71){return _0x38eb01(_0x338c3b,_0x3941f8-0x677,_0x338c3b-0x70,_0x545e71-0x1e4);}return defineTool({'name':_0x2b940b(_0x1a67e8._0x323a51,_0x1a67e8._0x3cc03b,0x52f,_0x1a67e8._0x3cd583),'permissionClass':_0x2b940b(_0x1a67e8._0x485416,_0x1a67e8._0x46ea2a,_0x1a67e8._0x319cab,_0x1a67e8._0x3c2ed5),'description':_0x2b940b(_0x1a67e8._0x33e925,_0x1a67e8._0x36a1ce,0x5bc,0x4e7),'inputSchema':{'type':_0x5d3261(0x687,0x66b,0x666,0x5d5),'properties':{'agentId':{'type':_0x5d3261(0x6fd,0x69e,_0x1a67e8._0x1c6e1f,_0x1a67e8._0x328188),'description':'ID\x20of\x20the\x20agent\x20to\x20invoke,\x20chosen\x20from\x20the\x20available\x20specialist\x20agents.'},'description':{'type':_0x2b940b(_0x1a67e8._0xd44d85,0x613,0x57f,0x747),'description':_0x5d3261(0x4fd,0x56e,0x6b6,_0x1a67e8._0x5473dc)},'nickname':{'type':_0x2b940b(0x6db,0x618,_0x1a67e8._0x26f939,0x5ba),'description':_0x2b940b(0x540,0x4fc,0x4e2,0x60b)},'task':{'type':'string','description':_0x5d3261(0x3ea,_0x1a67e8._0x5a8f3a,0x410,_0x1a67e8._0x2b152c)}},'required':[_0x2b940b(0x6b6,0x5ac,_0x1a67e8._0x145196,_0x1a67e8._0x1004ea),'description',_0x2b940b(0x49a,_0x1a67e8._0x2b404c,_0x1a67e8._0x16b17e,0x5f0)]},async *'execute'(_0x173f6d,_0x107726){const _0x5d21a8={_0x32be59:0x1f},_0x3d3998={_0x31d2f8:0x316,_0x36e2b9:0xc},_0x3cc92f={_0x266157:0x626,_0x2de721:0x181},_0x3d6c26={_0x245fa0:0x6e,_0x50f566:0x5eb},_0x53e497=createDelegatedRunId(),_0x41ee92={'agentId':_0x173f6d[_0x262297(0x722,0x673,0x776,0x68a)],'parentSessionId':_0x107726[_0x56ab1a(-0x11e,-_0x5d1ef1._0x30daae,-0x97,-0x3f)],'runId':_0x53e497,..._0x107726[_0x262297(_0x5d1ef1._0x31f215,0x412,_0x5d1ef1._0x30dd46,0x614)]!==void 0x0?{'toolCallId':_0x107726[_0x56ab1a(-0x182,_0x5d1ef1._0x370cf5,-0x1e2,-_0x5d1ef1._0x504b72)]}:{}},_0x2df14c=getDelegatedAgentDefinition(_0x15659,_0x173f6d[_0x56ab1a(0xbd,_0x5d1ef1._0x431198,0x1b8,_0x5d1ef1._0x18c1e3)]);if(!_0x2df14c)throw new ToolExecutionError(_0x262297(_0x5d1ef1._0xa31d9f,_0x5d1ef1._0x23d3cf,_0x5d1ef1._0x2ce53a,_0x5d1ef1._0x1d5de6)+_0x173f6d[_0x56ab1a(0xbd,-_0x5d1ef1._0x15fc13,0x7d,0x19c)],{'agentId':_0x173f6d[_0x56ab1a(_0x5d1ef1._0x1ad746,0x171,0x193,0x124)]});const _0x1c19d9=new Agent(await resolveDelegatedAgentOptions(_0x2df14c,_0x41ee92)),_0x5e9251=_0x15659[_0x262297(0x4f7,_0x5d1ef1._0x50dbb7,_0x5d1ef1._0xb0eb9f,_0x5d1ef1._0x448253)]?.(_0x1c19d9)??(()=>{});let _0x506035={'runId':_0x53e497,'agentId':_0x173f6d[_0x262297(_0x5d1ef1._0x1f3146,_0x5d1ef1._0x8acfb3,_0x5d1ef1._0x2ae647,_0x5d1ef1._0x2f9c1f)],'sessionId':_0x1c19d9[_0x262297(_0x5d1ef1._0x197faf,_0x5d1ef1._0x1d80a5,0x51d,_0x5d1ef1._0x4f3332)],'status':_0x262297(0x562,_0x5d1ef1._0x2ba35a,0x486,_0x5d1ef1._0x431965),'parentSessionId':_0x107726['sessionId'],..._0x107726[_0x56ab1a(-_0x5d1ef1._0x59a41f,-0x254,-0x23,-_0x5d1ef1._0x53ef41)]!==void 0x0?{'originToolCallId':_0x107726[_0x56ab1a(-0x182,-_0x5d1ef1._0x20d31d,-_0x5d1ef1._0x320398,-0x5a)]}:{}};function _0x56ab1a(_0x192095,_0x5553da,_0x43e30f,_0x5ece34){return _0x5d3261(_0x192095-0x47,_0x5ece34,_0x43e30f-_0x3d6c26._0x245fa0,_0x192095- -_0x3d6c26._0x50f566);}const _0x2d35b5=new AbortController(),_0x5bcfb8=addAbortListener(_0x107726[_0x262297(_0x5d1ef1._0x2700f5,_0x5d1ef1._0x39e077,0x41d,_0x5d1ef1._0x38739f)],()=>{function _0x4085d9(_0x156c6b,_0x4e2ed5,_0x14ee6e,_0x4b65db){return _0x262297(_0x156c6b- -_0x3cc92f._0x266157,_0x14ee6e,_0x14ee6e-_0x3cc92f._0x2de721,_0x4b65db-0x31);}function _0x92cfaf(_0x58e7df,_0x59641c,_0x265bd3,_0x2486e2){return _0x262297(_0x2486e2- -_0x3d3998._0x31d2f8,_0x58e7df,_0x265bd3-0x17b,_0x2486e2-_0x3d3998._0x36e2b9);}_0x2d35b5[_0x92cfaf(_0x3a6500._0x3d24b3,_0x3a6500._0x1bcae8,0x1fa,_0x3a6500._0x161b86)](_0x107726[_0x92cfaf(0xa3,_0x3a6500._0x36f736,0x164,0x223)]?.[_0x92cfaf(_0x3a6500._0x53a707,0x3b2,_0x3a6500._0x1e2f50,0x32f)]);});function _0x262297(_0x50ad4f,_0x11ae48,_0x326e6b,_0x272215){return _0x2b940b(_0x50ad4f-0x6c,_0x11ae48-_0x5d21a8._0x32be59,_0x11ae48,_0x272215-0x9a);}try{yield createToolOutput(_0x56ab1a(-_0x5d1ef1._0x1bd5b5,-0x101,0x4b,-_0x5d1ef1._0x24727d)+_0x506035[_0x56ab1a(_0x5d1ef1._0x11e88d,-0xf5,-_0x5d1ef1._0x243245,_0x5d1ef1._0x5d6b15)]+'.',{'runId':_0x506035[_0x262297(0x6f9,_0x5d1ef1._0x334279,_0x5d1ef1._0x1eb37d,0x7a5)],'agentId':_0x506035[_0x56ab1a(_0x5d1ef1._0x1ad746,_0x5d1ef1._0x58daf9,_0x5d1ef1._0x5206f1,-_0x5d1ef1._0xa43b8c)],'sessionId':_0x506035[_0x262297(_0x5d1ef1._0x197faf,0x3d7,0x3fa,_0x5d1ef1._0x33ccb4)],'status':_0x506035[_0x262297(_0x5d1ef1._0x2d99ba,0x5ab,_0x5d1ef1._0x8ab911,0x60a)]});const _0x3c48d1=await _0x1c19d9[_0x262297(0x60e,_0x5d1ef1._0x25aca3,_0x5d1ef1._0x51fc8f,_0x5d1ef1._0x485167)](_0x173f6d['task'],{'streaming':!![],'signal':_0x2d35b5[_0x56ab1a(-_0x5d1ef1._0x5922ff,-_0x5d1ef1._0x249bac,-_0x5d1ef1._0x34fa9a,-_0x5d1ef1._0x2cd279)]});_0x506035={..._0x506035,'status':_0x3c48d1[_0x56ab1a(-0x73,-0x4d,-_0x5d1ef1._0x28c6da,_0x5d1ef1._0x266916)],'result':_0x3c48d1};if(_0x3c48d1[_0x56ab1a(-0x73,0xc9,-_0x5d1ef1._0x4648fe,-_0x5d1ef1._0x5d4248)]!==_0x56ab1a(0xe,-0xe9,-0x13b,0x13a)){const _0x376895=getRunTerminalErrorMessage(_0x3c48d1),_0x1d330c=formatAbortedRunMessage(_0x506035[_0x262297(_0x5d1ef1._0x110ac4,0x75b,_0x5d1ef1._0xe5f65d,_0x5d1ef1._0x1c7ce6)],_0x376895);throw new ToolExecutionError(_0x1d330c,{...createRunSummary(_0x506035),'aborted':!![],'errorMessage':_0x1d330c});}return createRunSummaryOutput(_0x506035,_0x56ab1a(-_0x5d1ef1._0x41e48a,_0x5d1ef1._0xb68f70,-_0x5d1ef1._0x339fdc,-0x103)+_0x506035['runId']+_0x262297(_0x5d1ef1._0x5128df,_0x5d1ef1._0x1e9a5f,_0x5d1ef1._0x173ff9,0x4a8));}catch(_0x4b515f){if(_0x4b515f instanceof ToolExecutionError)throw _0x4b515f;if(isAbortError(_0x4b515f)||_0x2d35b5['signal'][_0x262297(_0x5d1ef1._0x644b53,0x69e,0x7ea,_0x5d1ef1._0x467e3f)]||_0x107726['signal']['aborted']){const _0x7a5495=getRunTerminalErrorMessage(_0x506035[_0x262297(0x639,_0x5d1ef1._0x1b6c88,0x5a4,0x68c)])??(_0x4b515f instanceof Error?_0x4b515f[_0x56ab1a(-0x10,-0x144,-0x124,-_0x5d1ef1._0x113de9)]:String(_0x4b515f)),_0x5b4194=formatAbortedRunMessage(_0x506035[_0x56ab1a(_0x5d1ef1._0x5b4ee0,-_0x5d1ef1._0x5206f1,0x7a,_0x5d1ef1._0x6f8ccf)],_0x7a5495);_0x506035={..._0x506035,'status':_0x56ab1a(0xd9,_0x5d1ef1._0x18c2dc,0x68,-0x8e),'errorMessage':_0x5b4194};throw new ToolExecutionError(_0x5b4194,{...createRunSummary(_0x506035),'aborted':!![],'errorMessage':_0x5b4194});}const _0x4270f4=getRunTerminalErrorMessage(_0x506035['result'])??(_0x4b515f instanceof Error?_0x4b515f[_0x56ab1a(-_0x5d1ef1._0x4c7cf9,-_0x5d1ef1._0x4c2943,-0x159,-0x194)]:String(_0x4b515f))??_0x262297(_0x5d1ef1._0x26a879,0x570,_0x5d1ef1._0xf62d4f,0x4e7)+_0x506035[_0x262297(0x6f9,_0x5d1ef1._0x4f8e07,0x7da,_0x5d1ef1._0x559565)]+_0x262297(_0x5d1ef1._0x2e7234,0x3b3,0x412,0x44b);_0x506035={..._0x506035,'status':_0x56ab1a(0x5f,-0x62,_0x5d1ef1._0x1bfaaf,-_0x5d1ef1._0x4ff8ee),'errorMessage':_0x4270f4};throw new ToolExecutionError(_0x4270f4,{...createRunSummary(_0x506035),'errorMessage':_0x4270f4});}finally{_0x5bcfb8(),_0x5e9251();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x5b30e5){return[createAssignTaskTool(_0x5b30e5)];}import*as _0x422353 from'path';function buildDescription2(_0xe261c6){const _0x558dc9={_0x43e83e:0x10d,_0x5d32a3:0x31d,_0xeab1e3:0x23a,_0x16f7e9:0x2ab,_0x32690a:0xff,_0x3e8861:0x340,_0xf7c0fc:0x342,_0x427603:0xd7,_0x34aa07:0x115,_0x47fabd:0x239,_0x5d6129:0x9d,_0x2ae017:0x22e},_0x125049={_0x2ac9db:0x19e,_0x5f205f:0x1fc},_0xa6f472={_0x59825f:0x12a,_0x418dde:0x24};function _0x2085b9(_0x4f6bdf,_0x31fd88,_0x2dfd98,_0x36f63a){return _0x38eb01(_0x2dfd98,_0x4f6bdf-_0xa6f472._0x59825f,_0x2dfd98-_0xa6f472._0x418dde,_0x36f63a-0x1ab);}function _0x19c2f0(_0x159e3d,_0x49f2c9,_0x807d27,_0x128dc5){return _0x2cc51b(_0x128dc5,_0x49f2c9-_0x125049._0x2ac9db,_0x807d27-0x1b8,_0x159e3d- -_0x125049._0x5f205f);}if(_0xe261c6[_0x19c2f0(0x209,_0x558dc9._0x43e83e,0xb1,_0x558dc9._0x5d32a3)]===0x0)return _0x19c2f0(0x35a,0x22c,_0x558dc9._0xeab1e3,0x2ae);const _0x6518f6=[_0x19c2f0(0x15d,_0x558dc9._0x16f7e9,0x1aa,_0x558dc9._0x32690a),_0x19c2f0(_0x558dc9._0x3e8861,0x485,0x1ef,_0x558dc9._0xf7c0fc),'Use\x20this\x20when\x20a\x20task\x20matches\x20an\x20available\x20skill\x20description.',_0x2085b9(0xf5,-0x76,0x173,0x236),..._0xe261c6[_0x2085b9(_0x558dc9._0x427603,0x23b,_0x558dc9._0x34aa07,_0x558dc9._0x47fabd)](_0x16023c=>'-\x20'+_0x16023c['name']+':\x20'+_0x16023c[_0x2085b9(-0x12,0x103,-0x27,-0x11c)])];return _0x6518f6[_0x2085b9(-0xad,0xa2,-_0x558dc9._0x5d6129,-_0x558dc9._0x2ae017)]('\x0a');}function createLoadSkillTool(_0x29f88d){const _0x4a3b3c={_0x1bd0eb:0x41b,_0xf4fa4c:0x56c,_0x37902e:0x449,_0x24db67:0x55d,_0x1b6fee:0x27f,_0xfac358:0x284},_0xa1a157={_0x5c36e8:0xaf,_0xc83142:0x275,_0x2f75a0:0x2f1,_0xeb3c6b:0x14,_0x1dd3dd:0x126,_0x3a335c:0x2f,_0x10b087:0x136,_0x40433f:0x52c,_0x1c253a:0x4cc,_0x1514a4:0x52d,_0x773668:0x4ff,_0x305528:0x1eb,_0xfd8a05:0x8b,_0x314073:0x1ac,_0x274764:0x198,_0x356b90:0x126,_0x3c9e85:0x6,_0x4fd225:0x13f,_0x581afc:0xa6,_0x8275e4:0xd7,_0x723709:0xdd,_0x1a6295:0x12,_0x158b2d:0x160,_0x61ca54:0x32a,_0x4546c2:0x1b6,_0x319694:0x273,_0x1dcb11:0x513,_0x438f28:0x4ce,_0x38c58f:0x340,_0x5328f9:0x542,_0x271605:0x374,_0x33b4b4:0x12c,_0x3c6ce7:0xbe,_0x5cb963:0x2a2},_0x1e5117={_0x532f4e:0x1dc,_0x375b76:0x7d},_0x47ee30={_0x470660:0x2ac,_0x46824b:0x193,_0x1014c3:0x32},_0x47868f={_0x112c14:0x143,_0x2ee194:0x1a0},_0x109865=new Map(_0x29f88d['skills']['map'](_0x5317eb=>[_0x5317eb[_0x553041(0x2d3,0x27f,0x167,0x33b)],_0x5317eb]));function _0x553041(_0x133a04,_0x3bde69,_0x4b50a9,_0x446149){return _0x38eb01(_0x133a04,_0x3bde69-0x4dd,_0x4b50a9-_0x47868f._0x112c14,_0x446149-_0x47868f._0x2ee194);}const _0x5c472e=buildDescription2(_0x29f88d['skills']);function _0x2c3e84(_0x52d101,_0x113bbe,_0x437236,_0xe9e8eb){return _0x38eb01(_0x113bbe,_0xe9e8eb-_0x47ee30._0x470660,_0x437236-_0x47ee30._0x46824b,_0xe9e8eb-_0x47ee30._0x1014c3);}return defineTool({'name':_0x553041(0x504,0x393,_0x4a3b3c._0x1bd0eb,0x4b6),'permissionClass':'read','description':_0x5c472e,'inputSchema':{'type':_0x553041(_0x4a3b3c._0xf4fa4c,_0x4a3b3c._0x37902e,0x51a,_0x4a3b3c._0x24db67),'properties':{'name':{'type':'string'}},'required':[_0x553041(0x343,_0x4a3b3c._0x1b6fee,_0x4a3b3c._0xfac358,0x185)]},async *'execute'(_0x42a50){const _0xd02bf7=_0x109865['get'](_0x42a50['name']);function _0x7ed489(_0x2bb967,_0x44f739,_0x2277a7,_0xfe05ee){return _0x2c3e84(_0x2bb967-0x8c,_0x44f739,_0x2277a7-_0x1e5117._0x532f4e,_0x2277a7- -_0x1e5117._0x375b76);}if(!_0xd02bf7){const _0x20da8a=Array['from'](_0x109865[_0x7ed489(0x2c,-_0xa1a157._0x5c36e8,0x46,0x90)]())['join'](',\x20');throw new ToolExecutionError(_0x45aa44(0x2aa,_0xa1a157._0xc83142,_0xa1a157._0x2f75a0,0x43d)+_0x42a50[_0x7ed489(-_0xa1a157._0xeb3c6b,-_0xa1a157._0x1dd3dd,-_0xa1a157._0x3a335c,_0xa1a157._0x10b087)]+_0x45aa44(_0xa1a157._0x40433f,0x4e6,_0xa1a157._0x1c253a,_0xa1a157._0x1514a4)+_0x20da8a,{'name':_0x42a50['name']});}const _0x2f3119=await _0x29f88d[_0x45aa44(_0xa1a157._0x773668,0x2a1,0x3c6,0x4f0)](_0xd02bf7),_0x936644=_0xd02bf7[_0x7ed489(_0xa1a157._0x305528,_0xa1a157._0xfd8a05,_0xa1a157._0x314073,_0xa1a157._0x274764)][_0x7ed489(0x290,0xd9,_0xa1a157._0x356b90,_0xa1a157._0x3c9e85)]??_0x422353[_0x7ed489(0x83,_0xa1a157._0x4fd225,_0xa1a157._0x581afc,0x1c3)](_0xd02bf7['source'][_0x45aa44(0x5bc,0x38c,0x440,0x589)]),_0x298020=['##\x20Skill:\x20'+_0x2f3119[_0x7ed489(_0xa1a157._0x8275e4,-0x16d,-_0xa1a157._0x3a335c,-0x1a9)],'',_0x2f3119[_0x7ed489(_0xa1a157._0x723709,_0xa1a157._0x1a6295,0x4,-_0xa1a157._0x158b2d)],'',_0x7ed489(0xf0,_0xa1a157._0x61ca54,_0xa1a157._0x4546c2,0x273),_0x45aa44(_0xa1a157._0x319694,_0xa1a157._0x1dcb11,0x3bd,_0xa1a157._0x438f28)+_0xd02bf7['source'][_0x45aa44(_0xa1a157._0x38c58f,0x59c,0x440,_0xa1a157._0x5328f9)],_0x7ed489(0x3f4,_0xa1a157._0x271605,0x2ba,0x3b9)+_0x936644]['join']('\x0a');function _0x45aa44(_0x5f5779,_0x21a502,_0x2c5804,_0x3ad0fb){return _0x2c3e84(_0x5f5779-0x179,_0x21a502,_0x2c5804-0xd,_0x2c5804-0x22c);}return yield createToolOutput(_0x298020,{'id':_0x2f3119['id'],'name':_0x2f3119[_0x7ed489(-0x146,-0x5e,-0x2f,_0xa1a157._0x33b4b4)],'path':_0xd02bf7[_0x7ed489(0x2d,0x9b,_0xa1a157._0x314073,0xaf)][_0x7ed489(_0xa1a157._0x3c6ce7,0x26e,0x197,_0xa1a157._0x5cb963)],'baseDirectory':_0x936644}),void 0x0;}});}var TODO_STATUSES=new Set([_0x2cc51b(0x36d,0x425,0x1c9,0x330),_0x2cc51b(0x392,0x3db,0x592,0x4d6),'completed']),TODO_PRIORITIES=new Set([_0x2cc51b(0x5fd,0x337,0x44c,0x4a7),_0x38eb01(-0x30c,-0x222,-0x12a,-0x2e5),'low']);function isTodoStatus(_0x107f54){const _0x467f4b={_0x4a1c07:0x6a0,_0x83fa60:0x4fa,_0x5d7293:0x3f5},_0x524231={_0xf938d9:0x1a,_0x1a326b:0x121},_0xe3d915={_0x33ecb2:0xdd,_0x2e10b0:0xb4};function _0xe032e8(_0x5dc3c2,_0x120af0,_0x507b26,_0x3ce562){return _0x2cc51b(_0x120af0,_0x120af0-_0xe3d915._0x33ecb2,_0x507b26-0x1af,_0x507b26-_0xe3d915._0x2e10b0);}function _0x31097d(_0x6a457,_0x2af69c,_0x1d6fd5,_0x33b0b4){return _0x38eb01(_0x6a457,_0x1d6fd5-0x5b9,_0x1d6fd5-_0x524231._0xf938d9,_0x33b0b4-_0x524231._0x1a326b);}return typeof _0x107f54===_0xe032e8(0x4a7,_0x467f4b._0x4a1c07,0x624,0x523)&&TODO_STATUSES[_0xe032e8(0x3fc,0x5e8,_0x467f4b._0x83fa60,_0x467f4b._0x5d7293)](_0x107f54);}function isTodoPriority(_0x3ade12){function _0x27257a(_0x53dc36,_0xd4707e,_0x48faa6,_0x247684){return _0x2cc51b(_0x48faa6,_0xd4707e-0xd6,_0x48faa6-0x198,_0xd4707e- -0x161);}return typeof _0x3ade12==='string'&&TODO_PRIORITIES[_0x27257a(0x2f0,0x2e5,0x291,0x2c5)](_0x3ade12);}var TodoStore=class{[_0x2cc51b(0x5f6,0x48b,0x449,0x479)]=new Map();['getTodos'](_0x23225c){const _0x1a452a={_0x176809:0xc0,_0x4c89c7:0x77,_0xa9df47:0x135},_0x469406={_0xf1087:0xe3,_0x37ae87:0x501},_0x3dbb07={_0x1ee1c1:0x33};function _0x27d8a9(_0x1c6934,_0x38b18f,_0x237e4e,_0x10d9eb){return _0x38eb01(_0x10d9eb,_0x38b18f-0x5cd,_0x237e4e-_0x3dbb07._0x1ee1c1,_0x10d9eb-0x176);}function _0x2c3d27(_0x442a34,_0x502ae0,_0x43651e,_0x328896){return _0x2cc51b(_0x502ae0,_0x502ae0-_0x469406._0xf1087,_0x43651e-0x14,_0x328896- -_0x469406._0x37ae87);}return this[_0x2c3d27(-0x14f,-0x29,0x9d,-0x88)][_0x2c3d27(-_0x1a452a._0x176809,-_0x1a452a._0x4c89c7,-0x24c,-_0x1a452a._0xa9df47)](_0x23225c)??[];}[_0x2cc51b(0x291,0x36a,0x2e0,0x316)](_0x331573,_0x3878c9){const _0x377efc={_0x173ae2:0x28a,_0x4c1282:0x39c,_0x4b8159:0x3e8},_0x594d6d={_0x459a48:0x14d};function _0x46d029(_0x331321,_0x33abfd,_0x26ed7f,_0xdee09f){return _0x2cc51b(_0xdee09f,_0x33abfd-0xd4,_0x26ed7f-_0x594d6d._0x459a48,_0x331321- -0x98);}this[_0x46d029(0x3e1,_0x377efc._0x173ae2,_0x377efc._0x4c1282,_0x377efc._0x4b8159)]['set'](_0x331573,_0x3878c9);}[_0x2cc51b(0x622,0x48b,0x53b,0x56b)](_0x11044c){const _0x133504={_0x4d1a7f:0x112,_0x8880b1:0x1b0,_0x5879ed:0x375,_0x483dba:0x3ab,_0x4ac8bd:0x74,_0xfa43cb:0x1d6,_0x2bacf4:0x21f,_0x2982de:0x1ef},_0x5a986c={_0xbe0d88:0x162,_0x3234df:0x13a};function _0x5329db(_0x4fe7ba,_0x5ca74d,_0x3f3040,_0x44c03d){return _0x2cc51b(_0x4fe7ba,_0x5ca74d-_0x5a986c._0xbe0d88,_0x3f3040-_0x5a986c._0x3234df,_0x3f3040- -0x2ad);}const _0x405aca=this[_0x5329db(_0x133504._0x4d1a7f,_0x133504._0x8880b1,0x20a,_0x133504._0x5879ed)](_0x11044c);function _0x1f9b0f(_0x355169,_0x1d0a76,_0x42d642,_0x33189e){return _0x2cc51b(_0x1d0a76,_0x1d0a76-0xab,_0x42d642-0xc8,_0x355169- -0x5a);}const _0x4595cf={'total':_0x405aca[_0x1f9b0f(_0x133504._0x483dba,0x2d3,0x4f0,0x238)],'pending':0x0,'inProgress':0x0,'completed':0x0};for(const _0x2ede78 of _0x405aca){if(_0x2ede78['status']==='pending')_0x4595cf[_0x5329db(-_0x133504._0x4ac8bd,0xe4,0x83,0x99)]+=0x1;else{if(_0x2ede78['status']==='in_progress')_0x4595cf['inProgress']+=0x1;else _0x4595cf[_0x5329db(_0x133504._0xfa43cb,_0x133504._0x2bacf4,_0x133504._0x2982de,0xa8)]+=0x1;}}return _0x4595cf;}};function validateTodos(_0x2d86ca){const _0x19796f={_0x54862a:0x64c,_0x3b5003:0x4b9,_0x53004b:0x4da,_0x49d2ad:0x2f,_0x3de1ab:0xf4,_0x2ea149:0x47b,_0x281dd4:0x180,_0x480e12:0x1a3,_0x1f24e9:0x3c2,_0x5db594:0x34f,_0x20ecb3:0x89,_0x107b21:0x190,_0x3541f9:0x4f9,_0x2850db:0x91,_0x456c5e:0xec,_0x1c8d7e:0x406,_0x140983:0x42b,_0x577faa:0x569,_0x1a37c1:0x6a5,_0x562716:0x5ad,_0x4b5785:0x653,_0x5dcee3:0x552,_0xf2b0e6:0x5fc,_0x36c585:0x600,_0x420bbb:0x57a,_0x444ab7:0xcf,_0x49a823:0x7c,_0x3b1306:0xd6,_0x323c39:0x5e,_0x6c7f42:0x23b,_0xf0a800:0x142,_0xc4c60a:0x168,_0x187ae4:0x266,_0x235c40:0x22e,_0x1644af:0x258,_0x5b81aa:0x26d,_0x303611:0xf6,_0xd83ff0:0x1d,_0x57e3c7:0x2,_0x582f37:0x478,_0x25b6ac:0x4dd,_0x4462fe:0x31a,_0x8b70a3:0x128,_0x58b9e3:0x16b,_0x2e868f:0x235,_0x27361e:0x10,_0x28317b:0x18d,_0x369980:0x118,_0x5240b7:0x16c,_0x57eef6:0x154,_0x59d3c9:0x9c,_0x249bca:0xf1,_0x17d36a:0x163},_0x1bfb62={_0x35a964:0xb9},_0x3f42aa={_0x5c46c4:0x16f,_0x21070c:0xe5};if(!Array[_0x4961c2(_0x19796f._0x54862a,_0x19796f._0x3b5003,_0x19796f._0x53004b,0x41a)](_0x2d86ca[_0x173c8c(-_0x19796f._0x49d2ad,_0x19796f._0x3de1ab,0x2f,0xdb)])||_0x2d86ca['todos']['length']===0x0)throw new ToolExecutionError(_0x4961c2(0x592,0x408,_0x19796f._0x2ea149,0x556),{'error':_0x173c8c(0x2fe,_0x19796f._0x281dd4,0x2d3,_0x19796f._0x480e12)});for(let _0x8532ff=0x0;_0x8532ff<_0x2d86ca[_0x4961c2(0x319,0x2a5,_0x19796f._0x1f24e9,_0x19796f._0x5db594)]['length'];_0x8532ff+=0x1){const _0x33b088=_0x2d86ca[_0x173c8c(0xae,_0x19796f._0x20ecb3,_0x19796f._0x49d2ad,_0x19796f._0x107b21)][_0x8532ff];if(!_0x33b088||typeof _0x33b088!==_0x4961c2(0x45f,0x6e3,0x55b,_0x19796f._0x3541f9))throw new ToolExecutionError(_0x173c8c(_0x19796f._0x2850db,0x1,0xd6,_0x19796f._0x456c5e)+(_0x8532ff+0x1)+_0x4961c2(0x4c7,0x3bc,0x396,0x2fd),{'error':_0x4961c2(0x46a,_0x19796f._0x1c8d7e,_0x19796f._0x140983,_0x19796f._0x577faa)});if(typeof _0x33b088['id']!==_0x4961c2(_0x19796f._0x1a37c1,_0x19796f._0x562716,_0x19796f._0x4b5785,0x7bc)||_0x33b088['id'][_0x4961c2(_0x19796f._0x5dcee3,_0x19796f._0xf2b0e6,_0x19796f._0x36c585,_0x19796f._0x420bbb)]()[_0x173c8c(_0x19796f._0x444ab7,0x21d,0x155,0x241)]===0x0)throw new ToolExecutionError(_0x173c8c(-_0x19796f._0x49a823,0x1d2,_0x19796f._0x3b1306,0x1f4)+(_0x8532ff+0x1)+':\x20id\x20required',{'error':_0x173c8c(0x1f7,0x18f,0xea,0x127)});if(typeof _0x33b088[_0x173c8c(_0x19796f._0x323c39,_0x19796f._0x6c7f42,_0x19796f._0xf0a800,_0x19796f._0xc4c60a)]!=='string'||_0x33b088[_0x173c8c(_0x19796f._0x187ae4,0x143,0x142,_0x19796f._0x235c40)][_0x173c8c(_0x19796f._0x1644af,0x2ea,_0x19796f._0x5b81aa,_0x19796f._0x303611)]()[_0x4961c2(0x42a,0x3c9,0x4e8,0x446)]===0x0)throw new ToolExecutionError(_0x173c8c(0x2a,-_0x19796f._0xd83ff0,0xd6,_0x19796f._0x57e3c7)+(_0x8532ff+0x1)+_0x4961c2(_0x19796f._0x582f37,_0x19796f._0x25b6ac,0x44b,_0x19796f._0x4462fe),{'error':_0x173c8c(0xc9,0x1e5,0x248,0xe2)});if(!isTodoStatus(_0x33b088[_0x173c8c(0x229,_0x19796f._0x8b70a3,_0x19796f._0x58b9e3,_0x19796f._0x2e868f)]))throw new ToolExecutionError(_0x173c8c(_0x19796f._0x27361e,_0x19796f._0x28317b,0xd6,_0x19796f._0x369980)+(_0x8532ff+0x1)+':\x20invalid\x20status',{'error':'invalid_todo_status'});if(!isTodoPriority(_0x33b088[_0x173c8c(_0x19796f._0x5240b7,0x1fa,0x90,_0x19796f._0x57eef6)]))throw new ToolExecutionError(_0x4961c2(0x481,0x3e2,0x469,0x39b)+(_0x8532ff+0x1)+':\x20invalid\x20priority',{'error':'invalid_todo_priority'});}function _0x173c8c(_0x43e8e5,_0x348aba,_0x34e2dd,_0x1a9265){return _0x2cc51b(_0x348aba,_0x348aba-_0x3f42aa._0x5c46c4,_0x34e2dd-_0x3f42aa._0x21070c,_0x34e2dd- -0x2b0);}function _0x4961c2(_0x3f0bcb,_0x2ada43,_0x59c0c8,_0x5ab8f7){return _0x2cc51b(_0x5ab8f7,_0x2ada43-_0x1bfb62._0x35a964,_0x59c0c8-0x1a7,_0x59c0c8-0xe3);}const _0x1da673=_0x2d86ca[_0x173c8c(-_0x19796f._0x59d3c9,_0x19796f._0x249bca,_0x19796f._0x49d2ad,_0x19796f._0x17d36a)]['map'](_0x5c88d3=>_0x5c88d3['id']);if(new Set(_0x1da673)['size']!==_0x1da673['length'])throw new ToolExecutionError('Todo\x20items\x20must\x20have\x20unique\x20IDs',{'error':'duplicate_todo_ids'});}function createStatsProgress(_0x551c9a){const _0x2cb02f={_0x19aa12:0x1a3,_0x15071c:0x16f,_0x13f62f:0x3e,_0x33ccb7:0x79,_0x23675d:0xce,_0x4467cf:0x20b,_0x3aaa56:0x15b,_0x1c72a1:0x2eb},_0x4de53e={_0x3221dc:0x3e},_0x1b117c={_0x7c7564:0x14d};function _0x874ac4(_0x571776,_0x2ae7ac,_0x38ec9e,_0x1a2bf6){return _0x38eb01(_0x571776,_0x38ec9e-0x4db,_0x38ec9e-0xe6,_0x1a2bf6-_0x1b117c._0x7c7564);}function _0x3d2e7f(_0x534694,_0x254459,_0x2ebd28,_0x29d510){return _0x2cc51b(_0x254459,_0x254459-0x7f,_0x2ebd28-_0x4de53e._0x3221dc,_0x534694- -0x542);}return _0x551c9a[_0x3d2e7f(-0x20b,-_0x2cb02f._0x19aa12,-_0x2cb02f._0x15071c,-0x212)]>0x0?Math[_0x3d2e7f(-_0x2cb02f._0x13f62f,0xcf,_0x2cb02f._0x33ccb7,_0x2cb02f._0x23675d)](_0x551c9a['completed']/_0x551c9a[_0x3d2e7f(-_0x2cb02f._0x4467cf,-_0x2cb02f._0x3aaa56,-0xd3,-_0x2cb02f._0x1c72a1)]*0x64)+'%':'0%';}function createReminderItems(_0x4a99bf){const _0xa1c805={_0xd3c129:0x4fb};function _0x1c58df(_0x20d7cc,_0x5f2cc6,_0x1f37cc,_0x4e03b1){return _0x2cc51b(_0x1f37cc,_0x5f2cc6-0x19f,_0x1f37cc-0x2d,_0x5f2cc6- -_0xa1c805._0xd3c129);}return _0x4a99bf['map'](_0x4c4866=>({'content':_0x4c4866[_0x1c58df(-0x112,-0x109,-0x21c,-0x19d)],'status':_0x4c4866['status'],'id':_0x4c4866['id']}));}function createStructuredResult(_0x5a043b,_0x5b5873,_0x1f2404,_0x3b77c2){const _0xc71578={_0xe3290c:0x5a,_0x346b51:0xb7},_0x414230={_0x3c682b:0x17},_0x1f0b2e={_0x31dcb9:0x48e,_0x2b0cc7:0x44};function _0x4d190c(_0x58e828,_0x4bf3e3,_0xd72856,_0xaa50b4){return _0x38eb01(_0x4bf3e3,_0x58e828-_0x1f0b2e._0x31dcb9,_0xd72856-_0x1f0b2e._0x2b0cc7,_0xaa50b4-0x175);}function _0x28fbb1(_0x4d5cd7,_0x2fd5f8,_0x516ba4,_0x204754){return _0x38eb01(_0x2fd5f8,_0x4d5cd7-_0x414230._0x3c682b,_0x516ba4-0xf,_0x204754-0x1a7);}return{'allCompleted':_0x3b77c2,'items':_0x5b5873[_0x28fbb1(-0x3c,0x59,_0xc71578._0xe3290c,_0xc71578._0x346b51)](_0x52daff=>({'id':_0x52daff['id'],'content':_0x52daff[_0x4d190c(0x374,0x476,0x4c5,0x2ac)],'status':_0x52daff[_0x28fbb1(-0xda,-0x5a,0x7b,-0x101)],'priority':_0x52daff['priority'],'createdAt':_0x52daff[_0x4d190c(0x257,0x20e,0x247,0x2c3)]})),'progress':createStatsProgress(_0x1f2404),'recentChanges':!![],'sessionId':_0x5a043b,'stats':_0x1f2404,'todosWritten':_0x5b5873['length']};}function createOutputText(_0x5141a0,_0x23e39b){const _0x6aa539={_0x4e3c16:0x1b2,_0x3bff8d:0x1e3,_0x3030ff:0x474,_0x17c8b7:0x517,_0xe6042c:0x186,_0x2f782a:0xa9,_0x3b0bd7:0x1d7,_0x5b6624:0x2d0,_0x110229:0x99,_0x5303a8:0xbf,_0x21b631:0x3b7,_0x3af4bc:0x509,_0x16586e:0x24e},_0x47a4c3={_0x56bdd5:0x39,_0x22fdf9:0x4a},_0x11e416={_0x4a8568:0x1f,_0x48bc63:0xb1},_0x5b8658=JSON[_0x40153a(_0x6aa539._0x4e3c16,0x30f,_0x6aa539._0x3bff8d,0x355)](createReminderItems(_0x5141a0));function _0x573ac4(_0x2db16e,_0x47377a,_0x3fa9ee,_0x39f5e3){return _0x38eb01(_0x39f5e3,_0x47377a- -_0x11e416._0x4a8568,_0x3fa9ee-_0x11e416._0x48bc63,_0x39f5e3-0x35);}function _0x40153a(_0x547a02,_0x3914d9,_0x2d61cb,_0x3aa242){return _0x2cc51b(_0x3aa242,_0x3914d9-0x1b6,_0x2d61cb-_0x47a4c3._0x56bdd5,_0x3914d9-_0x47a4c3._0x22fdf9);}if(_0x23e39b)return _0x40153a(0x40f,_0x6aa539._0x3030ff,_0x6aa539._0x17c8b7,0x467)+_0x5141a0[_0x573ac4(-_0x6aa539._0xe6042c,-0x126,-_0x6aa539._0x2f782a,-0x18d)]+_0x573ac4(-0xd1,-0x226,-_0x6aa539._0x3b0bd7,-_0x6aa539._0x5b6624)+_0x5b8658+_0x573ac4(-_0x6aa539._0x110229,-0x31,-_0x6aa539._0x5303a8,-0x14a);return _0x40153a(0x442,_0x6aa539._0x21b631,_0x6aa539._0x3af4bc,_0x6aa539._0x16586e)+_0x5b8658+'.\x0a</system-reminder>';}function createTodoWriteTool(_0x32a0a3=new TodoStore()){const _0x2a9220={_0x5033e1:0x331,_0x505c5a:0x32c,_0x340b4d:0x2be,_0x95ca2a:0x6d1,_0x5c6fc0:0x52b,_0x26ba4d:0x644,_0x5f1831:0x77b,_0x4947f9:0x69e,_0x5f13d9:0x65d,_0x2d44f3:0x56b,_0x3f5072:0x1e3,_0x5f419a:0x366,_0x3b0e94:0x2ca,_0x1751a4:0x123,_0x18c955:0x30e,_0x43d9ec:0x607,_0x46fdb6:0x65f,_0x192ca8:0x220,_0x21b606:0x1cb,_0x17eea0:0x3b,_0x522aaf:0xd5,_0x36df90:0x24},_0x4f5e24={_0x5e2cf3:0x432,_0x2a243f:0x5a4,_0x3c4418:0x350,_0xcd1404:0x2d8,_0xd5094d:0x2b9,_0x1a2040:0x433,_0x36642b:0x27c,_0x379ce0:0x3c6,_0x271861:0x5a2,_0x3d6bfb:0x331,_0x5f2d7b:0x295,_0x11a501:0x671,_0x3a0d7f:0x4e2,_0x47b7f9:0x4e3,_0x3234ad:0x4f4,_0x222db8:0x617,_0x5721cd:0x46d,_0x48fcdb:0x489},_0x2657e2={_0x40313f:0xd,_0x252b20:0xab,_0x1e98cd:0x20a},_0x38aed8={_0x4aeb60:0x63a,_0x10d88a:0x1ec};function _0x293846(_0xb4ab29,_0x552d50,_0x54260d,_0x4e6d5a){return _0x38eb01(_0xb4ab29,_0x552d50-_0x38aed8._0x4aeb60,_0x54260d-0x179,_0x4e6d5a-_0x38aed8._0x10d88a);}function _0x7dede1(_0x15881c,_0x33daaa,_0x40db77,_0x1c2dc4){return _0x2cc51b(_0x1c2dc4,_0x33daaa-_0x2657e2._0x40313f,_0x40db77-_0x2657e2._0x252b20,_0x40db77- -_0x2657e2._0x1e98cd);}return defineTool({'name':'TodoWrite','permissionClass':'read','description':_0x7dede1(_0x2a9220._0x5033e1,0x2f9,0x284,_0x2a9220._0x505c5a),'inputSchema':{'type':_0x7dede1(0x147,_0x2a9220._0x340b4d,0x26e,0x1eb),'properties':{'todos':{'type':_0x293846(_0x2a9220._0x95ca2a,0x690,0x6ac,0x5f9),'items':{'type':_0x293846(_0x2a9220._0x5c6fc0,0x5a6,_0x2a9220._0x26ba4d,0x5c8),'properties':{'content':{'type':'string'},'status':{'type':_0x293846(_0x2a9220._0x5f1831,0x69e,0x60c,0x7bd)},'priority':{'type':_0x293846(0x670,_0x2a9220._0x4947f9,_0x2a9220._0x5f13d9,_0x2a9220._0x2d44f3)},'id':{'type':'string'},'createdAt':{'type':_0x7dede1(_0x2a9220._0x3f5072,0x27f,_0x2a9220._0x5f419a,_0x2a9220._0x3b0e94)}},'required':[_0x7dede1(_0x2a9220._0x1751a4,_0x2a9220._0x18c955,0x1e8,0x244),_0x293846(_0x2a9220._0x43d9ec,0x549,_0x2a9220._0x46fdb6,0x546),_0x7dede1(-0x8,_0x2a9220._0x192ca8,0x136,_0x2a9220._0x21b606),'id']}}},'required':[_0x7dede1(_0x2a9220._0x17eea0,-0x51,_0x2a9220._0x522aaf,-_0x2a9220._0x36df90)]},async *'execute'(_0x1d6b21,_0x4b5160){const _0x4b50a1={_0x1e3b0a:0x51},_0x4a2751={_0x5e1aae:0xc0},_0x3405c4=_0x1d6b21;validateTodos(_0x3405c4);function _0x5a0f26(_0x3091c0,_0x2cbf9a,_0x5aa860,_0x40c744){return _0x293846(_0x5aa860,_0x2cbf9a- -0x113,_0x5aa860-0x42,_0x40c744-_0x4a2751._0x5e1aae);}const _0x781d2d=_0x4b5160[_0x417fde(0x44d,0x48e,_0x4f5e24._0x5e2cf3,_0x4f5e24._0x2a243f)]||_0x5a0f26(_0x4f5e24._0x3c4418,_0x4f5e24._0xcd1404,0x365,0x437),_0x137225=new Date()['toISOString']();function _0x417fde(_0x5c0b53,_0x38e8b9,_0x67ee60,_0x43f211){return _0x293846(_0x67ee60,_0x5c0b53- -0x51,_0x67ee60-0xc7,_0x43f211-_0x4b50a1._0x1e3b0a);}const _0xb23e37=_0x3405c4[_0x5a0f26(_0x4f5e24._0xd5094d,0x2fa,_0x4f5e24._0x1a2040,_0x4f5e24._0x36642b)][_0x5a0f26(_0x4f5e24._0x379ce0,0x4d4,_0x4f5e24._0x271861,0x43f)](_0x5b3212=>({'id':_0x5b3212['id'],'content':_0x5b3212[_0x5a0f26(0x4e0,0x40d,0x4b1,0x2a9)],'status':_0x5b3212[_0x5a0f26(0x31b,0x436,0x498,0x58f)],'priority':_0x5b3212[_0x417fde(0x41d,0x37e,0x39f,0x44d)],'sessionId':_0x781d2d,'createdAt':_0x5b3212[_0x417fde(0x3b2,0x263,0x4ba,0x36c)]||_0x137225,'updatedAt':_0x137225}));_0x32a0a3[_0x5a0f26(0x3b2,_0x4f5e24._0x3d6bfb,0x47f,_0x4f5e24._0x5f2d7b)](_0x781d2d,_0xb23e37);const _0x4fa230=_0x32a0a3[_0x5a0f26(0x43d,0x586,_0x4f5e24._0x11a501,0x4e3)](_0x781d2d),_0x7d6f0e=_0xb23e37[_0x417fde(_0x4f5e24._0x3a0d7f,_0x4f5e24._0x47b7f9,_0x4f5e24._0x3234ad,_0x4f5e24._0x222db8)]>0x0&&_0xb23e37[_0x417fde(0x4a2,_0x4f5e24._0x5721cd,_0x4f5e24._0x48fcdb,_0x4f5e24._0x3a0d7f)](_0x2aa5b9=>_0x2aa5b9[_0x417fde(0x4f8,0x5d1,0x379,0x52c)]===_0x5a0f26(0x43f,0x4b7,0x458,0x348));return createToolOutput(createOutputText(_0xb23e37,_0x7d6f0e),createStructuredResult(_0x781d2d,_0xb23e37,_0x4fa230,_0x7d6f0e));}});}import{mkdir as _0x42ea57,writeFile as _0x29869d}from'fs/promises';import*as _0x2aa88f from'path';function sanitizeFileName(_0x243d8b){const _0xf8cde8={_0x27f0b3:0xe7},_0x136500={_0x1f414d:0x30a,_0x922a36:0x164};function _0x273f32(_0x412f0d,_0x2522c7,_0x558465,_0x5131b3){return _0x38eb01(_0x558465,_0x412f0d-_0x136500._0x1f414d,_0x558465-0x75,_0x5131b3-_0x136500._0x922a36);}return _0x243d8b[_0x273f32(0x8a,-_0xf8cde8._0x27f0b3,0xc8,-0x5a)](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x4b1cd7,_0x44258b){const _0x276ff4={_0xb7f2c5:0x5c7,_0x28f859:0x5fc,_0x5147c9:0x572,_0x21c3b5:0x3b3,_0x4d98b4:0x56a,_0x2e21c9:0x4ca,_0x1b1953:0x57d,_0x34c477:0x56b,_0x1e44bd:0x30b,_0x581d31:0x366,_0x2f4da2:0x549,_0x14fe93:0x5d2,_0x4ab8a8:0x32e,_0x3d46d5:0x5aa,_0x511174:0x578,_0x43ba08:0x562,_0x4f74c8:0x47c,_0x1651d8:0x271,_0x2643b8:0x486,_0x3c5cbb:0x314,_0x319e3b:0x4e2,_0x1374fa:0x5da,_0x460735:0x4ba,_0x53d0f6:0x36f,_0x242481:0x3ec,_0x5f1c83:0x553,_0x44cf70:0x53e,_0x28c714:0x360,_0x2d93df:0x316,_0x58f5e5:0x2f3,_0x563039:0x44a,_0x382888:0x4b3,_0x5d476c:0x533,_0x5f0ad5:0x51e,_0x11b509:0x4e3,_0x3966b4:0x40e,_0x361159:0x56d,_0x5c608f:0x2e8,_0x42f251:0x353,_0x40a0ab:0x3da,_0x221867:0x395,_0x2c2322:0x4b8,_0x455380:0x57f,_0x289c91:0x548,_0x39e8c9:0x280,_0x2abad6:0x32a,_0x5e1456:0x408,_0x4b11c0:0x30d,_0x536c64:0x335,_0x3c7533:0x1c6,_0x33b60b:0x47c,_0x6d5fb2:0x48a,_0x47a99d:0x211,_0x1ab020:0x375},_0x2885b8={_0x1c6345:0x56d,_0x37a09b:0x15a},_0xbbed52={_0x53fd57:0x147},{maxBytes:_0x4b22c5,sessionDir:_0xe32927}=_0x44258b;if(!_0x4b1cd7[_0x5d90fa(_0x276ff4._0xb7f2c5,_0x276ff4._0x28f859,0x3b9,0x53e)]||Buffer[_0x5d90fa(_0x276ff4._0x5147c9,_0x276ff4._0x21c3b5,_0x276ff4._0x4d98b4,_0x276ff4._0x2e21c9)](_0x4b1cd7[_0x5d90fa(0x6ac,_0x276ff4._0x1b1953,0x4c3,0x53e)],'utf8')<=_0x4b22c5)return _0x4b1cd7;const _0x2fc872=Buffer[_0x107c36(0x5c6,_0x276ff4._0x34c477,0x469,0x46e)](_0x4b1cd7['output'],_0x5d90fa(0x540,_0x276ff4._0x1e44bd,_0x276ff4._0x581d31,0x44a));if(!_0xe32927){const _0x375c2f=_0x4b1cd7['output'][_0x5d90fa(0x578,_0x276ff4._0x2f4da2,0x472,_0x276ff4._0x14fe93)](0x0,_0x4b22c5);return{..._0x4b1cd7,'output':_0x375c2f+(_0x107c36(0x388,0x321,_0x276ff4._0x4ab8a8,0x48a)+_0x4b22c5+_0x5d90fa(0x300,0x1d0,0x27a,0x2e7)+_0x2fc872+_0x107c36(_0x276ff4._0x3d46d5,_0x276ff4._0x511174,0x4ac,_0x276ff4._0x43ba08)),'meta':{..._0x4b1cd7['meta'],'truncated':!![],'originalBytes':_0x2fc872,'transforms':[..._0x4b1cd7['meta'][_0x107c36(0x300,0x359,_0x276ff4._0x4f74c8,0x399)],_0x107c36(_0x276ff4._0x1651d8,_0x276ff4._0x2643b8,_0x276ff4._0x3c5cbb,0x348)]}};}function _0x107c36(_0x2bcf6e,_0x1c027d,_0x9b18f4,_0xdb0aa){return _0x2cc51b(_0xdb0aa,_0x1c027d-_0xbbed52._0x53fd57,_0x9b18f4-0x1c7,_0x9b18f4-0x0);}const _0x4d24d3=_0x4b1cd7['toolName']+'_'+sanitizeFileName(_0x4b1cd7[_0x5d90fa(0x43e,_0x276ff4._0x319e3b,0x3a9,0x4ba)])+_0x107c36(0x623,_0x276ff4._0x1374fa,_0x276ff4._0x460735,_0x276ff4._0x53d0f6),_0x44dae2=_0x2aa88f['join'](_0xe32927,_0x4d24d3);await _0x42ea57(_0xe32927,{'recursive':!![]}),await _0x29869d(_0x44dae2,_0x4b1cd7[_0x5d90fa(0x6a4,_0x276ff4._0x242481,_0x276ff4._0x5f1c83,_0x276ff4._0x44cf70)],_0x5d90fa(_0x276ff4._0x28c714,_0x276ff4._0x2d93df,_0x276ff4._0x58f5e5,_0x276ff4._0x563039));let _0x10214=_0x4b1cd7['output'][_0x5d90fa(0x6ec,0x4dd,0x48f,0x5d2)](0x0,_0x4b22c5);function _0x5d90fa(_0x39e6f8,_0x4cf406,_0xabcba5,_0x4ed5a1){return _0x38eb01(_0x39e6f8,_0x4ed5a1-_0x2885b8._0x1c6345,_0xabcba5-0x19,_0x4ed5a1-_0x2885b8._0x37a09b);}const _0x44fd43=_0x10214[_0x5d90fa(_0x276ff4._0x382888,_0x276ff4._0x5d476c,0x685,_0x276ff4._0x5f0ad5)]('\x0a');_0x44fd43>_0x4b22c5*0.5&&(_0x10214=_0x10214['slice'](0x0,_0x44fd43));const _0x51167b=['',_0x5d90fa(_0x276ff4._0x11b509,0x2ae,0x473,_0x276ff4._0x3966b4),_0x107c36(0x2bd,_0x276ff4._0x361159,0x428,0x4d6)+_0x4b22c5+_0x5d90fa(0x3ef,0x451,0x201,_0x276ff4._0x5c608f)+_0x2fc872+_0x107c36(_0x276ff4._0x42f251,_0x276ff4._0x40a0ab,_0x276ff4._0x221867,0x2e3),_0x107c36(_0x276ff4._0x2c2322,0x446,_0x276ff4._0x455380,_0x276ff4._0x289c91)+_0x44dae2,'Use\x20FileRead\x20with\x20lineStart/lineEnd\x20to\x20inspect\x20specific\x20sections\x20of\x20the\x20full\x20output.',_0x107c36(_0x276ff4._0x39e8c9,0x25b,_0x276ff4._0x2abad6,_0x276ff4._0x5e1456)][_0x107c36(_0x276ff4._0x4b11c0,0x2fc,_0x276ff4._0x536c64,_0x276ff4._0x3c7533)]('\x0a');return{..._0x4b1cd7,'output':_0x10214+_0x51167b,'meta':{..._0x4b1cd7['meta'],'truncated':!![],'originalBytes':_0x2fc872,'transforms':[..._0x4b1cd7[_0x107c36(_0x276ff4._0x33b60b,0x377,_0x276ff4._0x6d5fb2,0x4c3)][_0x107c36(0x385,0x3bb,0x47c,0x3d6)],_0x5d90fa(0x266,0x229,_0x276ff4._0x47a99d,_0x276ff4._0x1ab020)]}};}function createUpdateTopicTool(){const _0x27d4e1={_0x5f4c12:0x337,_0x45d245:0x1b6,_0x39e10f:0x355,_0xab9576:0x413,_0x34a03d:0x580,_0x15fc25:0x488,_0x3d1ca2:0x421},_0x509f5b={_0x198d4d:0x24,_0x43b574:0x1cc,_0x2cdef5:0x91,_0x3fff6d:0xc5,_0x553bab:0xf8,_0x17f233:0x49,_0x207ff6:0x98,_0x17341f:0x4c,_0x261e03:0x24a,_0x1df911:0xcd},_0x582b1a={_0x598f7b:0x3bf,_0x559c6c:0x77},_0x132773={_0x121644:0x104};function _0x265c29(_0x2cfd7a,_0x4e82aa,_0x318236,_0x1841a2){return _0x38eb01(_0x318236,_0x2cfd7a-0x51c,_0x318236-_0x132773._0x121644,_0x1841a2-0x1c6);}function _0x31da26(_0x8a6ecb,_0x3780a3,_0x21f16c,_0x375481){return _0x38eb01(_0x21f16c,_0x3780a3-_0x582b1a._0x598f7b,_0x21f16c-_0x582b1a._0x559c6c,_0x375481-0x195);}return defineTool({'name':'UpdateTopic','permissionClass':'read','description':_0x265c29(_0x27d4e1._0x5f4c12,_0x27d4e1._0x45d245,_0x27d4e1._0x39e10f,0x363),'inputSchema':{'type':_0x31da26(_0x27d4e1._0xab9576,0x32b,0x3c6,0x4b0),'properties':{'topic':{'type':_0x265c29(_0x27d4e1._0x34a03d,_0x27d4e1._0x15fc25,0x6b9,_0x27d4e1._0x3d1ca2)}},'required':[_0x31da26(0x338,0x347,0x29d,0x2d4)]},async *'execute'(_0x5722e3,_0x591170){const _0x3d24a5={_0x47101e:0x37,_0xab761b:0x2b,_0x3f698e:0xd9},_0x842b6e={_0x486553:0x4fc,_0x896e3e:0x1e,_0x40625f:0x72};function _0x327f98(_0x597da6,_0x46eaa8,_0x4f27f5,_0x3d46d7){return _0x265c29(_0x4f27f5- -_0x842b6e._0x486553,_0x46eaa8-_0x842b6e._0x896e3e,_0x46eaa8,_0x3d46d7-_0x842b6e._0x40625f);}const {topic:_0xb58eba}=_0x5722e3;if(typeof _0xb58eba!=='string'||_0xb58eba['trim']()[_0x327f98(-_0x509f5b._0x198d4d,-0xa3,-0xe7,-_0x509f5b._0x43b574)]===0x0)throw new ToolExecutionError(_0x327f98(_0x509f5b._0x2cdef5,-_0x509f5b._0x3fff6d,-0xf6,-_0x509f5b._0x553bab),{'error':'invalid_topic'});function _0x20995c(_0x48aa96,_0x542e86,_0x1107ca,_0x460c86){return _0x31da26(_0x48aa96-_0x3d24a5._0x47101e,_0x48aa96-_0x3d24a5._0xab761b,_0x460c86,_0x460c86-_0x3d24a5._0x3f698e);}const _0x5bf6cc=_0xb58eba[_0x20995c(0x3fb,0x443,0x31a,0x527)]();return _0x591170[_0x327f98(-0x2a,_0x509f5b._0x17f233,_0x509f5b._0x207ff6,-_0x509f5b._0x17341f)]?.(_0x5bf6cc),yield createToolOutput(_0x327f98(-0x13a,-_0x509f5b._0x261e03,-_0x509f5b._0x1df911,-0xab)+_0x5bf6cc+'\x22',{'topic':_0x5bf6cc}),void 0x0;}});}import{readFile as _0x17dd6a,stat as _0x98f64a}from'fs/promises';import*as _0x3f2835 from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x38eb01(-0x119,-0x17c,-0x1be,-0x18e),'high','low',_0x2cc51b(0x5d2,0x432,0x5f2,0x4c4)]),PNG_SIGNATURE=Buffer[_0x2cc51b(0x48b,0x307,0x3d0,0x434)]([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x464857,_0x4e8a67){const _0x2d3638={_0x4f7780:0x250,_0x51d343:0x14e,_0x43ea25:0xcf,_0x123b83:0x34,_0x1d8268:0x7d,_0x411cb5:0x8c,_0x4a968c:0x29,_0xb040c8:0xea,_0x28a763:0x242,_0x3e1010:0x2b,_0x2b5402:0x134,_0x2253ab:0x1c,_0x37f7ad:0x1fe,_0x5548fc:0x156,_0x52588a:0x1b2,_0x47fdf8:0x5a,_0x1d54cd:0x2e2,_0x386a56:0x38a,_0x329a43:0x267,_0x56d01a:0x37c,_0x425196:0x27a,_0x43a711:0x102,_0x5c8ef0:0x242,_0x494fa3:0x2a7,_0x2f1301:0x4e,_0x2a3461:0x265,_0x33e02d:0x2ce,_0x433629:0x20e,_0x47c754:0x2db,_0x3c856d:0x1bb,_0x510015:0x233,_0x1baf12:0x224,_0x262c15:0xdf,_0x3fd1c7:0x14e,_0x4f7dab:0x61,_0xdd4ae4:0x75,_0x2d715a:0x2d,_0x10fe8c:0xf7,_0x4cc941:0xf2,_0x3315e4:0x20d,_0x260bdb:0x364,_0x567b59:0x442,_0x24c841:0x23c,_0x46988f:0x2bc,_0x3b980e:0x208,_0x57b095:0x423,_0x2b38f7:0x3c0,_0x33376f:0x2ae,_0x1d0d65:0x15e},_0x4c5b4d={_0x147da9:0x5b,_0x1f7f49:0x22},_0x432fe9={_0x1e8341:0x19b,_0x100be3:0x1cf};if(_0x464857[_0x441c99(_0x2d3638._0x4f7780,_0x2d3638._0x51d343,0xf7,0x20)](0x0,0x8)['equals'](PNG_SIGNATURE))return _0x179f03(-0x4f,-0x131,_0x2d3638._0x43ea25,-_0x2d3638._0x123b83);if(_0x464857[0x0]===0xff&&_0x464857[0x1]===0xd8&&_0x464857[0x2]===0xff)return _0x179f03(_0x2d3638._0x1d8268,-_0x2d3638._0x411cb5,-_0x2d3638._0x4a968c,-_0x2d3638._0xb040c8);const _0x1a50bb=_0x464857[_0x441c99(_0x2d3638._0x28a763,0x14e,-_0x2d3638._0x3e1010,0x1)](0x0,0x6)[_0x179f03(-_0x2d3638._0x2b5402,-_0x2d3638._0x2253ab,-_0x2d3638._0x37f7ad,-_0x2d3638._0x5548fc)](_0x179f03(-_0x2d3638._0x52588a,-_0x2d3638._0x47fdf8,0x7d,-0xdf));function _0x441c99(_0x5a79e9,_0x39595d,_0x1ce0d3,_0x14aef8){return _0x2cc51b(_0x5a79e9,_0x39595d-_0x432fe9._0x1e8341,_0x1ce0d3-0xd2,_0x39595d- -_0x432fe9._0x100be3);}if(_0x1a50bb===_0x441c99(0x45f,_0x2d3638._0x1d54cd,_0x2d3638._0x386a56,0x2a2)||_0x1a50bb===_0x441c99(0x123,_0x2d3638._0x329a43,0x39e,_0x2d3638._0x56d01a))return'image/gif';if(_0x464857[_0x179f03(-0x179,-_0x2d3638._0x425196,-_0x2d3638._0x43a711,-0x24a)](0x0,0x4)[_0x441c99(0x2b5,_0x2d3638._0x5c8ef0,_0x2d3638._0x494fa3,0x175)]('ascii')===_0x441c99(0x245,0x195,0x282,_0x2d3638._0x2f1301)&&_0x464857[_0x441c99(_0x2d3638._0x2a3461,0x14e,_0x2d3638._0x33e02d,_0x2d3638._0x433629)](0x8,0xc)[_0x441c99(_0x2d3638._0x47c754,0x242,_0x2d3638._0x3c856d,0xc1)](_0x179f03(-0x194,-_0x2d3638._0x510015,-_0x2d3638._0x1baf12,-_0x2d3638._0x262c15))==='WEBP')return _0x441c99(0x236,0x269,_0x2d3638._0x3fd1c7,0x25b);const _0x5f172a=_0x3f2835[_0x179f03(_0x2d3638._0x4f7dab,_0x2d3638._0xdd4ae4,-_0x2d3638._0x2d715a,-_0x2d3638._0x10fe8c)](_0x4e8a67)['toLowerCase']();if(_0x5f172a===_0x441c99(0x28f,0x21d,0xfc,_0x2d3638._0x4cc941))return _0x441c99(_0x2d3638._0x3315e4,_0x2d3638._0x260bdb,_0x2d3638._0x567b59,_0x2d3638._0x24c841);if(_0x5f172a===_0x441c99(_0x2d3638._0x46988f,_0x2d3638._0x3b980e,0x17b,_0x2d3638._0x4f7780)||_0x5f172a===_0x441c99(_0x2d3638._0x57b095,0x2c9,0x1b2,_0x2d3638._0x2b38f7))return _0x441c99(0x188,_0x2d3638._0x33376f,0x408,0x2a9);function _0x179f03(_0x5471db,_0x2caac6,_0x44c8bb,_0x2ed2d6){return _0x38eb01(_0x2caac6,_0x2ed2d6- -_0x4c5b4d._0x147da9,_0x44c8bb-_0x4c5b4d._0x1f7f49,_0x2ed2d6-0x1a);}if(_0x5f172a===_0x179f03(0x10c,_0x2d3638._0x1d0d65,0x75,-0x27))return'image/gif';if(_0x5f172a==='.webp')return'image/webp';return void 0x0;}function _0x46e5(){const _0x10bfad=['vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','y29TCgXLDgvK','D2LUmZi','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','rgv0ywLSoIa','qMLVBwuGtgfUz3vHz2uGu2vYDMvY','Bwf4rw50CMLLCW','rMv0y2GGywjVCNrLzcbIEsb1C2vY','DxjS','B3bLBMfPlxjLC3bVBNnLCW','l29WDc9OB21LyNjLDY9IAw4VCMC','yxnPzgu','AgLNAa','C3bHD25PBMC','CMvJB3jK','tuLnrtOG','zgvSzxrL','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','zMLSzq','icHWAwqG','u2HLBgWGBM90igzVDw5KoIa','DhnJB25MAwCUANnVBG','r0LgodDH','t0zg','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','DMvYAwzPzxi','uefusa','zxHPDenVzgu','z2v0vg9KB3m','zg9JCY9WBgfUCY8Ymdi2lta0lte2lwfNzw50lwXVB3aTy29Yzs1KzxnPz24UBwq','BwfW','lMXVzW','AxngAwXL','zgLZy292zxj5u3rHDgu','BgfZDeLUzgv4t2y','CMfUAW','zw52','ANnJB25MAwCUANnVBG','Cgf0DgvYBIbPCYbYzxf1AxjLza','Bg9HzenVBw1HBMq','Bg9JywXLq29TCgfYzq','B3jPz2LUywW','zw5NAw5L','tgLUzsa','te9dquXbufbeqvrb','B3bLBG','B25LCNjVCG','C2vZC2LVBG','y29TBwfUza','y29ZDa','CMvHzen1CNnVCG','ue9tva','B2XKvgv4Da','yMLVBwu','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','yxbPs2v5','CxvLC3rPB25Z','q2fUBM90igfJCxvPCMuGysbYzxrPCMvKie1ducb0B29Sigj1BMrSzq','vw5RBM93BIb0B29SoIa','Aw5FChjVz3jLC3m','qxzHAwXHyMXLihnRAwXSCYaOC2TPBgXFBMfTztOGzgvZy3jPChrPB24PoG','BxrPBwu','Dgf2AwX5','sw5ZCgvJDcbHifborYWGsLbfrYWGv2vIucWGB3iGr0LgigLTywDLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlIbvC2uGrMLSzvjLywqGzM9YihrLEhqU','Cg5WBs1SB2nRlNLHBwW','BM9UBMvNyxrPDMu','B3v0Chv0','yNjVA2vU','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','Dhj1zq','CgfZC3rOCM91z2G','y2f0y2G','C3rHCNq','thnW','DhnJ','Bwv0yxrHz3m','B2f1DgG','BgLUzvrLEhq','zNvUy3rPB24','DxrTx2nVBNrLBNq','u2HVCNqGDxnLCI1MywnPBMCGC3vTBwfYEsbVzIb0AguGzgvSzwDHDgvKihDVCMSUifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','DhjPBuvUza','zMfPBgvK','zMLSDgvY','yMLVBwuUANnVBMm','mtbtEgHPq1i','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','zxzPy3rjzK5LzwrLza','Bwf4','B25szwrPCMvJDa','y2vPBa','D2fPDezVCKrPywDUB3n0AwnZ','Dg9VBhm','Aw52ywXPzf90B2rVx2nVBNrLBNq','y2fJAgvK','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','BgLUzuvUza','B25Jzq','yxjNDw1LBNrZvgv4Da','q3jLyxrLig9Yig92zxj3CML0zsbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmU','DhLWzxnJCMLWDhjLywn0','jYbUB3qGzM91BMqUief2ywLSywjSzsbZA2LSBhm6ia','zM9VDgvY','u2L6ztOG','u2vHCMnOihrOzsb3zwiGyw5KihjLDhvYBIbYyw5RzwqGCMvZDwX0CY4','CM91BMq','BgLI','r2XVyG','DhLWzxnJCMLWDa','DgfZA2TPBgW','C3rKAw8','C3jJl3rVB2XZl21Vy2STDg9VBc1YDw50Aw1LlNrZ','ywXSB3DLzerPCNm','Dw5PB24','Ag92zxi','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','Agv4','seLhsa','DgLTzw91De1Z','Dg9vChbLCKnHC2u','yMfZzw5HBwu','zw5K','C3rHDgu','CMvMCMvZAf90B2TLBG','vw5HDxrOB3jPEMvKrxjYB3i','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxi6ihf1zxj5','C3bSAxq','B3bLCMf0Aw9U','u3rHCNrLzcbIywnRz3jVDw5KihbYB2nLC3mG','C2H1DgrVD24','DhjPBq','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','yw5ZD2vYCW','C3rHDhvZvgv4Da','CNvUswq','lNrTCc4','C2vHCMnOrgvWDgG','CxvLC3rPB24','q291BgqGBM90ihjLC29SDMuGAg9ZDa','zw5HyMXLza','AxrLBxm','ywrKrxzLBNrmAxn0zw5LCG','w1bFxL1BxhnCu10QpW','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','qxnRvxnLCLrVB2W','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','rMv0y2GGD2vIihbHz2uGy29UDgvUDcbHBMqGy29UDMvYDcb0BYbnyxjRzg93BIbMB3jTyxq','C2vYDMvYtMfTzq','Ag9TzwrPCG','ChvIBgLZAgvKqxq','BwnWxW','Aw1Hz2uVCg5N','ru5pru5u','BgLZDa','yNvMzMvYq2HHCNm','mJqWlJaUmc4W','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','w291Dhb1Dcb0CNvUy2f0zwq6ia','CMfUz2u','yxbWzw5K','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','ls1NBg9I','tunqihnLCNzLCIa','EMfP','lMDPzG','yM9VBgvHBG','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','yxjNCW','CgXHAw4','ihjLCxvPCMvZie9bDxrOignVBM5Ly3rPB24GB3b0Aw9UCW','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','qxv0Ag9YAxPHDgLVBG','Ahr0Ca','zgLZy292zxj5','y29UzMLN','ywDLBNrjza','mZuWnJG0mxrJrvrztW','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','ugf0AcbUB3qGzM91BMq6ia','Cgf0Ag5HBwu','C3rKzxjYrgvJB2rLCG','BgfUz18','y29UC3rYDwn0B3i','BNv2Aw4','y2HHDgDWDa','z29Vz2XLq3nLq3G','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','A2LSBfjLCxvLC3rLza','y21KlMv4zq','yw5ZAti1nG','twLJCM9ZB2z0','C3bHD24','Dgv4Dc9ODg1S','y2fSBfrVB2W','CMvXDwvZDhm','Cgf0DgvYBG','ls1MAwvSzc1JB250zxH0lxnLCgfYyxrVCJ18','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','yxjYyxK','AhjLzG','D3jPDgu','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','z2nSAwq','ywjVCNrLza','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','yMCT','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','z2v0u3rHDhm','ndbnre9LBNC','Dg90ywXeCM9WCgvK','BgLUzxm','sw52ywXPzcbvuKWGCgfYyw1LDgvY','C3rYAw5N','C2XPy2u','BM9Kzv9TB2r1BgvZ','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','BgLUzu51Bq','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','AgfZq2XPzw50CW','zNvSzMLSBgvK','B3rOzxi','sw5MB3jTyxrPB24','mtKYlJe2oc4WlJa','yxr4','CxvLCNK','CgLWzq','C2HLBgXqyxrO','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','ChjLChjVy2vZCW','AMf2yxnJCMLWDa','lu5VuhjVzMLSzq','Aw52ywXPzf90B2rVCW','C2v0vg9WAwm','C2vHCMnOugfYyw1Z','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','DxrTx3nVDxjJzq','uNvUigeGBM9UlwLUDgvYywn0AxzLihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24Gyw5KignHChr1CMuGC3rKB3v0l3n0zgvYCI4GvxnLiezPBgvszwfKigzVCIbMAwXLignVBNrLBNrZlIbvC2uGB3v0Chv0uMvNzxGGzM9YigzVy3vZzwqGzM9YzwDYB3vUzcbVDxrWDxqSigLNBM9Yzu91Dhb1Dcb3AgvUig9UBhKGDgHLigv4AxqGC3rHDhvZig1HDhrLCNmSigfUzcbYDw5jBKjHy2TNCM91BMqGzM9YihnLCNzLCNmGB3iGD2f0y2HLCNm7igzVBgXVDYbIywnRz3jVDw5Kihj1BNmGD2L0AcbcyxnOt3v0Chv0ig9YieTPBgXtAgvSBc4GuhjVDMLKzsbHignVBMnPC2uGDxnLCI1MywnPBMCGChvYCg9ZzsbPBIbKzxnJCMLWDgLVBI4GrgvMyxvSDcb0Aw1LB3v0oIa','wZ0+nY04kcLD','AgfZt3DU','y2HPBgq','tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','C2vUze5VDgLMAwnHDgLVBG','qMvHCMvYia','CgfJA2fNzs5QC29U','AxntEw1IB2XPy0XPBMS','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','C2v2zxjPDhK','ygbGANnVBGO','vxnLCI1MywnPBMCGChvYCg9ZztOGD2HHDcb0AguGy29TBwfUzcbKB2vZigfUzcb0AguGz29HBcbPDcbHzhzHBMnLCYWGzs5NlIaNuNvUigf1DgGGDgvZDhmGDg8GDMvYAwz5ihrOzsbYzwzYzxnOigzPEcCU','qMfZzsbKAxjLy3rVCNK6ia','lMnQCW','igj5DgvZicHVCMLNAw5HBdOG','igj5DgvZicH0B3rHBdOG','y2XPzw50','yM94zwq','l2jPBI9ZAa','CMvSyxrPDMu','CMvWBgfJzq','qxnRig9UzsbVCIbTB3jLig11BhrPCgXLlwnOB2LJzsbXDwvZDgLVBNmGD2HLBIbWCMvMzxjLBMnLCYWGyw1IAwD1Axr5lcbVCIbHigrLy2LZAw9UigjSB2nRCYbWCM9NCMvZCY4GrxzLCNKGCxvLC3rPB24GC3vWCg9YDhmGiK90AgvYiI4Gu2v0ig11BhrPu2vSzwn0ihrVigfSBg93ig11BhrPCgXLigfUC3DLCNmUifb1Dcb0AguGCMvJB21Tzw5KzwqGB3b0Aw9UigzPCNn0igfUzcbZDwzMAxGGAxrZigXHyMvSihDPDgGGiIHszwnVBw1LBMrLzcKIlG','zw5NAw5LCW','zxjYB3jZ','yxjNDw1LBNrZ','y29UBMvJDa','Bwf4q29Uy3vYCMvUDa','A2LSBgvK','r09pr0Xfx0ntrv9dwa','zMLSzvzLCNnPB25Z','Dg9Rzw5Z','uhvIBgLZAgvKoIa','igzHAwXLzc4','oIaIBxvSDgLtzwXLy3qIig11C3qGyMuGysbIB29SzwfU','sfruuca','D29YA3nWywnLl3n5BwjVBa','BgLUAW','revfueLorLjbx0fqsv9lrvK','CMvNzxG','CgLK','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','lM51DMLU','l3vZCI9SB2nHBc9IAw4VCMC','yxbWBgLJyxrPB24VANnVBG','y2HHBMDL','Aw5JBhvKzxm','yMLYDgH0Aw1L','BNvT','r0Lusfvcx1rps0vo','yw5ZAte2','uhjVz3jHBuzPBgvZ','CxvLC3rPB24T','B3jPz2LUvg9VBenHBgXjza','y2fWywjPBgL0AwvZ','BMfTzq','ywjVCNq','mc4WlJa','v2vIrMv0y2G','DxbKyxrL','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','ls1NBg9Ipq','CMvJzw5JEurHExm','Dgv4Da','ywXS','yxr0CG','B3bLBKzPBgvZ','BgL0zxjHBa','zgvMAw5PDgLVBG','te9x','zgvMyxvSDa','B3bLBMfPlwnOyxqTy29TCgXLDgLVBNm','ugfJA2fNzxm','C2HLBgXjza','CMvMAw5L','DxrTx2nHBxbHAwDU','ChjVCgvYDgLLCW','DhvYBMrVD24','C3rYAw5NAwz5','l3vZCI9IAw4VyMfZAa','DgL0Bgu','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','y2HHCMfJDgvY','zMvUy2vK','y29Kzq','DxrTx3rLCM0','A2LSBa','B3b0Aw9UCW','yxjNDw1LBNriAw50','yNvMzMvY','mtK4lJe4lJaUma','C3vKBW','otLPBfrNq0e','yxv0Ag9YAxPHDgLVBL9JB2rL','y3jLyxrLzef0','yNvUlMXVy2TI','zg9TywLUCW','B3b0Aw9UywW','C29Tzq','sw52ywXPzcbVDxrWDxrszwDLEdOG','mtmYoda0wvr5wLne','zgLZywjSzwq','vMLLD0zPBgu','y29UBMvJDgLVBG','Dg9KB3m','q29TCgXLDguSihnLBgyTy29UDgfPBMvKigLUC3rYDwn0Aw9UCYbZzw50ihzLCMjHDgLTihrVihrOzsbKzwXLz2f0zwqGywDLBNqUieLUy2X1zguGCMvSzxzHBNqGy29UDgv4DcWGC2nVCguSignVBNn0CMfPBNrZlcbHBMqGzxHWzwn0zwqGB3v0Chv0lG','Aw5ZDhj1y3rPB25Z','BMv3vgv4Da','yxv0AfjLCxvPCMvK','Bw9Kzq','Bwf0y2HLCW','zMLSBa','zxHPDa','zgvSzwDHDgvKlxj1BI0','otq1odqWC1HrwKLp','BwvKAxvT','lNDLyNa','BhnW','qgjPB21LANmVyMLVBwu','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','v2LUr2v0','mtaUmc4WlJa','Ag9ZDg5HBwu','mc4WlJaUma','CMvTB3zL','CMvZB2X2zq','y29UDgv4DeXPBMS','y2XLyxi','CMfUzg9T','ywn0AxzL','zxjYB3jnzxnZywDL','lM1QCW','tM8GzgLHz25VC3rPy3m','zgvMyxvSDen3za','C2L0ztO','ls1OAwrKzw4','BxrPBwvnCW','BM93','yM0Ynq','ywXSB3DLzfrVB2XZ','Aw5WDxrty2HLBwe','C2vYDMvYswq','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzceGqxnRigfIB3v0ig5LEhqGC3rLChmUienVBxbSzxrLzcbSAxn0oGO','mtaWlJy0lJaUma','rM91BMqG','mtv4tMPgALm','BhnWlxbYB3H5','uxvLC3rPB24G','Dg9VBa','Dg9VBenHBgXjza','wefjx0fqsv9lrvK','zgLHz25VC3rPy3ngB3jgAwXL','Ahr0Chm6','zgLNzxn0','DMfSDwu','C3jJl3nOyxjLzc90ExbLCY50CW','AgfUzgXL','Dg9VBc1VDxrWDxqTB2zMBg9Hza','zxHPDcbJB2rLia','C2v0vg9KB3m','v2vIu2vHCMnOihjLCxvPCMvZigf0igXLyxn0ig9UzsbZzwfYy2GGzw5NAw5LignVBMzPz3vYzwq','ks4GvxnLiejHC2HpDxrWDxqGDg8GCMvHzcbPDhmGB3v0Chv0igfUzcblAwXSu2HLBgWGDg8GC3rVCcbPDc4','CMLWz3jLCa','ugf0AcbPCYbUB3qGysbMAwXLoIa','Ahr0Chm6lY9HCgKUDgf2AwX5lMnVBs9ZzwfYy2G','Aw5PDgLHBgL6zq','C3vIyxjYyxK','lMPZEa','AxndB250zxH0','CMvNAxn0zxjby3rPDMvbz2vUDa','cMbGya','u0HfteW','A2v5CW','y2XPzw50x3nLy3jLDf9WB3n0','u2TPBgWGjW','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','u2v0igeGy29Uy2LZzsaZltyGD29YzcbUB3vUlxbOCMfZzsbZzxnZAw9UihrVCgLJihDOzw4GDgHLig1HAw4GC3vIAMvJDcbIzwnVBwvZignSzwfYig9Yig1HDgvYAwfSBhKGy2HHBMDLCY4Gu2TPCcbTAw5VCIb0yw5Nzw50CY4GuhjLzMvYicjezwj1zYbuuYbNzw5LCMLJCYbLCNjVCIi7igf2B2LKigz1BgWGC2vUDgvUy2vZig9YihzHz3vLigXHyMvSCYbZDwnOigfZicjJB2rPBMCIlG','ls1WCMvMAxG','y291BNrLCG','pc9ZExn0zw0TCMvTAw5Kzxi+','revfufnfruTFqvbjx0Tfwq','CgfJA2fNzxm','C3rKAw4','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','DgfZAW','CgvUzgLUzW','BwLU','vxnLCIbYzxnWB25ZzxmGCMvJzwL2zwq6ia','Aw5KzxHpzG','tM8GC3LTyM9SCYbMB3vUza','AM9PBG','Aw5WDxq','Dg90ywW','zxjYB3i','Bwf4qNL0zxm','l2jPBI9YzW','CMvHze9UBhLiAw50','Dhj1BMnHDgvK','vgvYBwLUyxrLigeGyMfJA2DYB3vUzcbWCM9JzxnZihn0yxj0zwqGD2L0AcbcyxnOkhj1BKLUqMfJA2DYB3vUzdP0CNvLksWGAwrLBNrPzMLLzcbIEsbPDhmGC2HLBgXjzc4','yMfZzty0','u3rVCcbYzwfKAw5Nigf0ihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','ChjPB3jPDhK','tM8GC3vJAcbMAwXLoIaN','ihjLCxvPCMvZihvYBcbMB3iGAhr0Ccb0CMfUC3bVCNq','AwzYyw1L','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','DhjHBNnMB3jT','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','Aw1WBgvTzw50yxrPB24','Aw52ywXPzf90B2rVx2L0zw0','DgHPBMTPBMC','tuLosu1bwf9bueLFs0vz','rMLSzsb3CML0DgvUigf0ia','y29UBMvJDgvK','y2fSBgjHy2TvCMW','A2LUza','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','C2vSzwn0Aw9UuMfUz2u','DhLWzq','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','Ag9ZDa','Aw5PDgLHBgL6zwq','odm1nZuWte9sDKvP','zMLSzvbHDgG','ChjVy2vZC0v4AxrLza','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','tg9HzcbHihnRAwXSihrVigDLDcbKzxrHAwXLzcbPBNn0CNvJDgLVBNmGzM9YigeGC3bLy2LMAwmGDgfZAY4','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','yw50AhjVCgLJ','lM10CW','zMXHDe1HCa','zxHPDgvK','C2HHmJu2','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','C2LNBMfS','txvZDcbWCM92AwrLideTmtaGCxvLC3rPB25Z','uKLgrG','zgLZCg9Zzq','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','CgfNzw1HCa','oIbJB250zw50ihjLCxvPCMvK','vhLWzvnJCMLWDcbmyw5NDwfNzsbtzxj2zxi','zw51Bq','y2XPzw50CW','B2zMC2v0','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','ywXSu2v0DgXLza','y2XPzw50sw5MB3jTyxrPB24','C2vZC2LVBKLK','tM8GAg92zxiGAw5MB3jTyxrPB24','Dhj1BMm','zw50CMLLCW','yxnZAwDU','Ec1HCgKTA2v5','zgvSAw1PDgvY','zMjJBgLK','v2fYBMLUzW','Dg9VBhmVy2fSBa','AxnfBMfIBgvK','qxzHAwXHyMXLignVBw1HBMrZoG','Aw5JB21PBMDdywXSCW','q29TBwfUzcaN','lMjPBG','mti3lJaUmc4W','ygbG','tNv2Aw4','ihDHCYbHyM9YDgvKlG','zgLYBMfTzq','Dhj1zwnVBg9Y','zMLSztOVlW','vg9KBYa','yMLUyxj5tMfTzq','AhLKCMf0zu1LDge','CMvNAw9U','l3vZCI9IAw4VC2G','CNvUBMLUzW','ChjVDg9JB2W','yxjNDw1LBNroyw1LCW','y2fWq2HHCNm','y2XVC2u','yxv0BW','rM9YigzVCMvNCM91BMqGCNvUCYWGCMv0DxjUig9UBhKGy29TCgXLDguGC3rKB3v0l3n0zgvYCIbSAw5LCYbTyxrJAgLUzYb0AgLZihjLz2v4oYbLEgL0ihn0yxr1CYbPCYb1BMnOyw5NzwqU','C2H1DgrVD25tDgfYDgvK','BwnFzwLK','DxrTx21LzgL1Bq','igj5DgvZks4','Bw9VBNnOB3q','mJi0lJaUmc4W','ugfYyw1LDgvYicj0B2rVCYiGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','Bwf4uMvKAxjLy3rZ','Aw52ywXPzf90B2rVx2LK','icHZDgf0Dxm6ia','C29YDa','Dgv4DerVy3vTzw50l3bYzxbHCMvdywXSsgLLCMfYy2H5','Dw5RBM93BG','lw5i','ls1ZDgrPBW','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','Dg90ywXqCM9KDwnLza','Ahr0CdO','l3vZCI9IAw4VCMC','AxneAxjLy3rVCNK','C3rKB3v0','ChjVy2vZCW','nJyWnZHsDvLLve8','oIaIDg9WAwmIig11C3qGyMuGBwf4idmWignOyxjHy3rLCNmSigDVDca','ls1JB2X1Bw4','DhjHAwXPBMDdAhvUA3m','AgvHzgvY','phn5C3rLBs1Yzw1PBMrLCJ4','l3bPza','ywX3yxLZlwnVBMzPCM0','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','rMLSzu5LDW','ks4Gs2LSBcbVBMuGD2L0AcblAwXSu2HLBgWGyMvMB3jLihn0yxj0Aw5NigfUB3rOzxiU','qMfZAa','y2HHCKnVzgvbDa','mJC5mJuZmKXgz1fZAW','zgf0zxrPBwu','BM9Uzq','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','o1TE','BgLTAxq','ignOyxjZigrYB3bWzwrDcG','wKfjx0fqsv9lrvK','mtuWmdeWmM9bA1n1vq','DgvZDa','Cg9W','Dg91y2HgAwXL','EwfYBI5SB2nR','tg9HzfnRAwXS','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','C3LTBgLUAW','zxzLCNK','DgHLBG','CMvMzxjLBMnLCW','ChjLCgfYzunHBgXiAwvYyxjJAhK','Dgv4DerVy3vTzw50l2rPze9Wzw4','y2XLyw51Ca','uhjVz3jHBuzPBgvZkhG4nIK','z2v0','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','DgLTzvTKyxrLDgLTzv0','Dgf2AwX5qxbPs2v5','zgvZy3jPChrPB24','yxv0Aa','zg9JDw1LBNrtEw1IB2W','zgvMyxvSDfrPBwvVDxrnCW','lMPZ','t3b0Aw9UywWGC2HVCNqGzgLZCgXHEsbUyw1LigzVCIb0AgLZigrLBgvNyxrLzcbYDw4UifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','Bg9VA3vW','lMPWzW','t25SEsbODhrWoI8VigfUzcbODhrWCZOVlYbvuKXZigfYzsbZDxbWB3j0zwq','C25PChbLDa','C3rYAxbbBNnP','qMfZAe91Dhb1Da','B2zM','z29uB0LTCgXLBwvUDgf0Aw9U','sgLUDa','t1bftKfjx0fqsv9lrvK','zgf0zvjLC3rYAwn0','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','u3rHCNrLzcbHz2vUDcbYDw4G','zMLUza','z2vUzxjHBa','CgfJA2fNzu5HBwu','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','zMv0y2HjBxbS','lunVBw1HBMq','DxrMoa','yMLVBwuUANnVBG','CMCUzxHL','lNbUzW','rMLUzcb3B3jRC3bHy2uGB3iGywXSB3DLzcbKAxjLy3rVCNKGzMLSzxmGBwf0y2HPBMCGysbNBg9IihbHDhrLCM4U','Aw52ywXPzf9XDwvZDgLVBNm','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','BgLUzq','tg9HzgvKigzYB206ia','y29UDgvUDa','BwLUAw1HEa','C2vUzfjLCxvLC3q','CMvXDwLYzwq','Dg9WAwmGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','AxnbCNjHEq','rgvSzwDHDgvZigeGDgfZAYb0BYbHBM90AgvYigfNzw50igfUzcb3ywL0CYbMB3iGy29TCgXLDgLVBI4GygrLC2nYAxb0Aw9UycbPCYbHihnOB3j0ifvjigXHyMvSoYbGDgfZA2aGAxmGDgHLignVBxbSzxrLigLUC3rYDwn0Aw9UihnLBNqGDg8GDgHLigfNzw50lG','qu5usfjpueLdx0fqsv9lrvK','Bg9HzfnRAwXS','Aw5ZDgfSBa','zMLUywXnzxnZywDLvgv4Da','z3jVAW','C3rKB3v0rgvJB2rLCG','y29KzvzLCMLMAwvY','vg9Vig1HBNKGCMvKAxjLy3rZ','Dg9mB3DLCKnHC2u','sw52B2TLq29TBwfUza','zgLYzwn0B3j5','s2LSBgvKia','BgvUz3rO','BgfIzwW','BMf2','zgvUBY5QC29U','B3v0z29PBMDdywXSCW','A2v5yMLUzgLUz3m','qvbjx0Tfwq','D2HLCMuGCMC','zMLUywXnzxnZywDL','CM9VDa','C2vYDMvYCW','o1TExg5DkJ8','Dg9tDhjPBMC','Aw5PDgLHBgL6yxrPB24','yw50AhjVCgLJlw1LC3nHz2vZ','zgLHz25VC3rPy3m','Aw5JBhvKzq','Aw1Hz2u','y29TBwfUzhm','uMvHzcbUzxCGB3v0Chv0igzYB20GysbIywnRz3jVDw5KihbYB2nLC3mGC3rHCNrLzcb3AxrOiejHC2GOCNvUsw5cywnRz3jVDw5KoNrYDwuPlIbszxr1CM5Zig91Dhb1DcbWCM9KDwnLzcbZAw5Jzsb0AguGBgfZDcbYzwfKoYbVChrPB25HBgX5igzPBhrLCIbSAw5LCYbIEsbHihjLz2v4lG','y29UDgvUDhm','yMfZAwm','C3rHDhvZ','qxnZAwDUvgfZAW','Aw5JBhvKzv9KB21HAw5Z','rwrPDcbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmGyNKGCMvWBgfJAw5NihrOzsbMAxjZDcbLEgfJDcb0zxH0ihnLz21LBNqU','vg9WAwmGC2v0ihrVici','ChjVDg90ExbL','ywrK','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','CgfJA2fNzs1SB2nRlMPZB24','CMvHza','C3rKzxjY','CgfYzw50u2vZC2LVBKLK','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','z2XVyG','qwXSia','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','AxngAw5PDgu','AwDUB3jLt3v0Chv0','C2L6zq','BgfUzW','C3rVCMfNzurPCG','CgfYC2vjBNq','zgv0ywLS','C2fMzq','zNjVBq','lMPZB24','r0LgodLH','C2vUza','Aw1Hz2uVD2vICa','mtKYlJaUmc4W','CgXHDgzVCM0','yxnRvxnLCG','B3bLBMnVzguTz28','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','y2XVC2vbBgW','ignVBxbSzxrLzc4','B25oB3rPzMLJyxrPB24','qwDLBNqGCNvUia','y3jSzG','ANnVBG','y291BNq','ANnVBMm','AgfZ','CgvYBwLZC2LVBKnSyxnZ','BgLZDgvU','C3rHCNrZv2L0Aa','z2v0t3DUuhjVCgvYDhLoyw1LCW','DxjP','BgfUz3vHz2u','vw50AxrSzwq','t1bftLjpvvrfuL9bueLFs0vz','l2jPBI9IyxnO','DMfSDwvZ','Dg9Rzw4','AgvHzgvYCW','BgLUzvn0yxj0','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','lNrZ','BM90Awz5','Bw9KzwW','Aw1Hz2vZ','y2fSBeLK','C2vHCMnOvhLWzq','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDgvZDc50CW','DxnLCM5HBwu','CgXHAw50zxH0','zgfYAW','r09pr0Xfx0ntrv9lrvK','lI4U','CMvZDwX0','AwDUB3jL','C2v0','ChvZAa','zgf0yq','zNjVBuvUDhjPzxm','y3DK','yNL0zuXLBMD0Aa','CMvXDwvZDa','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','z29uB0rLzMLUAxrPB24','ls1MAwXLCW','CMvHC29U','ls1MAwvSzc1TyxrJAc1ZzxbHCMf0B3i9Fa','zxH0BMfTzq','vMLLD2vKigLTywDLigzPBgu6ia','D29YA3nWywnLu3LTyM9S','Aw50zwDLCG','Cgf0Aa','BNbT','z2L0AhvI','r3jLCa','B2jQzwn0','Dg9KB3ncEvnLC3nPB24','A2v5','CMvZDwX0CW','DhjHBNnMB3jTCW','Aw1Hz2uVANbLzW','BwvZC2fNzq','w01duca','BgLNAhq','q29Tu3bLyW','Dg9VBfbLCM1PC3nPB25Z','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','tM8GCMvZDwX0CYbMB3vUzc4','BM9Zy3jPChq','BxvSDgLtzwXLy3q','yxnJAwK','C291CMnL','Bwv0yq','y29UDgv4Da','DhnZzxj2zxiUANm','zMLUzfjLzMvYzw5Jzxm','twfPBNrHAw4GysbJB25JAxnLihrHC2SGBgLZDcb3AgvUihzPC2LIBguGChjVz3jLC3mGDhjHy2TPBMCGywrKCYbJB29YzgLUyxrPB24GDMfSDwuUcGPvC2uGvg9KB1DYAxrLihDOzw4GDgHLihvZzxiGzxHWBgLJAxrSEsbYzxf1zxn0CYbHihrVzg8Vy2HLy2TSAxn0lcbVCIb3AgvUihDVCMSGAgfZihnLDMvYywWGBwvHBMLUz2z1BcbWAgfZzxmSigrLCgvUzgvUy2LLCYWGB3iGy2HLy2TWB2LUDhmUifnRAxaGAxqGzM9YignVBNzLCNnHDgLVBMfSihf1zxn0Aw9UCYWGysbZAw5NBguGC3rYywLNAhrMB3j3yxjKihrHC2SSig9YigeGC2HVCNqGzMXHDcbZzxf1zw5JzsbVzIb0CML2AwfSigfJDgLVBNmUieXPC3qGBwvHBMLUz2z1BcbVDxrJB21LCYbYyxrOzxiGDgHHBIbPBMrPDMLKDwfSihrVB2WGy2fSBhmUcGPvC2uGC3rHDhvZzxmGCgvUzgLUzYWGAw5FChjVz3jLC3mSigfUzcbJB21WBgv0zwqSihDPDgGGyxqGBw9ZDcbVBMuGAxrLBsbPBL9WCM9NCMvZCY4Gq3jLyxrLihrOzsbSAxn0ig9Uy2uGyMvMB3jLihn0yxj0Aw5NihrYywnRzwqGD29YAY4GvgHLBIb1CgrHDguGAxqGB25SEsbHDcbTzwfUAw5NzNvSig1PBgvZDg9Uzxm6cI0GqMf0y2GGC3rHDhvZignOyw5NzxmGAw4GB25LignHBgW6ig1HCMSGywXSig5LD2X5igzPBMLZAgvKigL0zw1ZignVBxbSzxrLzcbHBMqGC2v0ihrOzsbUzxH0ig1PBgvZDg9UzsbPBL9WCM9NCMvZCYb0B2DLDgHLCI4klsbeBYbUB3qGy2fSBcbuB2rVv3jPDguGywz0zxiGzxzLCNKGDg9VBcbJywXSlcbTAw5VCIbZDwjZDgvWlcbVCIbWCM9NCMvZCYbTzxnZywDLlIbbDM9PzcbIywnRlxrVlwjHy2SGvg9KB1DYAxrLignHBgXZihDPDgHVDxqGC3vIC3rHBNrPDMuGD29YAYbIzxr3zwvUihrOzw0UcI0Gs2vLCcb0AguGy3vYCMvUDcbPDgvTigLUx3bYB2DYzxnZihDOzw4GyMXVy2TLzcWGAw1WBgvTzw50yxrPB24GAxmGCgfYDgLHBcWGB3iGDMvYAwzPy2f0Aw9UigzHAwXZlIbbzgqGB3iGCMv2AxnLigL0zw1Zig9UBhKGD2HLBIb0AguGCgXHBIbTyxrLCMLHBgX5ignOyw5NzxmUcI0GuhjLC2vYDMuGAxrLBsbjrhmGyw5KigLUy2X1zguGDgHLigz1BgWGy3vYCMvUDcbSAxn0igLUigv2zxj5ihvWzgf0zs4klsbbzNrLCIbPBxbSzw1LBNrHDgLVBIbHBMqGDMvYAwzPy2f0Aw9UigzPBMLZAcWGC2vUzcbVBMuGzMLUywWGDxbKyxrLihrOyxqGBwfYA3mGywXSignVBxbSzxrLzcb3B3jRigfJy3vYyxrLBhKU','B3v0Chv0uMvNzxG','Bg9JyxrPB24','AhrTBfnUAxbWzxq','Dg9ju09tDhjPBMC','ls0T','Dg9WAwm','C2vYDMvY','BgLUA1TYzwW9j2nHBM9UAwnHBcDD','C3jJl2fNzw50l2fNzw50lNrZ','lMPWzwC','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','BNvTyMvY'];_0x46e5=function(){return _0x10bfad;};return _0x46e5();}function normalizeDetail(_0x221f5b){const _0xbcdac3={_0x832e7a:0x380,_0x3ff15e:0x4ce,_0x5993f1:0x263,_0x3eade1:0x365,_0x2cdc14:0x41c,_0x103d8c:0x309,_0x354a4e:0x49f,_0x5d4446:0x488},_0x3675ec={_0x4836f1:0x2a},_0x445e7f={_0x361f03:0x19f,_0x4f9f48:0xc};function _0x251771(_0x1800c8,_0x55a4d6,_0x13f662,_0x227e8b){return _0x38eb01(_0x1800c8,_0x13f662-0x4bd,_0x13f662-_0x445e7f._0x361f03,_0x227e8b-_0x445e7f._0x4f9f48);}if(_0x221f5b===void 0x0)return void 0x0;const _0x543c72=_0x221f5b[_0x251771(_0xbcdac3._0x832e7a,0x530,_0xbcdac3._0x3ff15e,0x3d3)]()[_0x251ff9(0x3d7,_0xbcdac3._0x5993f1,0x4fd,_0xbcdac3._0x3eade1)]();if(!SUPPORTED_DETAILS[_0x251ff9(_0xbcdac3._0x2cdc14,0x325,_0xbcdac3._0x103d8c,0x3a5)](_0x543c72))throw new ToolExecutionError(_0x251ff9(0x549,_0xbcdac3._0x354a4e,_0xbcdac3._0x5d4446,0x685)+_0x221f5b,{'detail':_0x221f5b});function _0x251ff9(_0xee1591,_0x5014f6,_0x4b9b3b,_0x1e490f){return _0x2cc51b(_0x4b9b3b,_0x5014f6-0x4b,_0x4b9b3b-0xc5,_0xee1591- -_0x3675ec._0x4836f1);}return _0x543c72;}function createViewFileTool(_0x4d5eeb={}){const _0x4d4ed4={_0x4f3b60:0x231,_0x30753f:0x20a,_0x249228:0x2a8,_0x42cb7e:0x1ed,_0x369353:0x6e,_0x44b8d5:0x71,_0x1d79d1:0x60,_0x290ea4:0x8b,_0x220c77:0xfc,_0x342553:0x27,_0x70bb28:0xcd,_0x201dad:0x24,_0x925e57:0x130,_0x499538:0x43b,_0x19899f:0x3e5,_0x30b780:0x1c6,_0x430fa8:0x137,_0x1ffc3b:0xef,_0x1e88ca:0x6d7},_0x29ce46={_0x5674f0:0x451,_0x2adeda:0x128,_0x9f26fc:0x1e4,_0xeae33f:0x1c2,_0x2db32c:0x3e9,_0x364b8f:0x3b3,_0x18157b:0x46d,_0x1d1ece:0x2e0,_0x21daf6:0x1a2,_0x20cdba:0x2cd,_0x4b30f4:0xac,_0x18cece:0x309,_0x397281:0x30c,_0x4e462e:0x1d9,_0x11453f:0x314,_0x4c508d:0x2c4,_0x1d99a5:0x316,_0x55c41:0x14f,_0x598a2f:0x71,_0x21bc47:0x51d,_0x20fccb:0x486,_0x125711:0x4ee,_0x58736c:0x475,_0x1e1e70:0x510,_0x32024a:0x379,_0x4b4d2e:0x3b4,_0x398621:0x22f,_0x5936d5:0x452,_0x19c348:0x3d0,_0x475dde:0x250,_0x1dcc28:0x2c8,_0x2967dd:0x19f,_0x44e88b:0x98,_0x286b12:0x70,_0x1b80b4:0x117,_0x105db3:0x320,_0x111748:0x4df,_0x3c4ee4:0x5bc,_0xeb006a:0x47c,_0x56a7b2:0x322,_0x527f37:0x63,_0x347f02:0x72,_0x577d82:0x21e,_0x46e13c:0x4b,_0x5641a1:0x302,_0x207855:0x161,_0x4b3a44:0x2fb,_0x5a0344:0x23a,_0x172829:0x1ed,_0x3a8663:0x2c,_0x86cefe:0x5b1,_0x41bae9:0x46f,_0x3d0256:0x3b0,_0x46f408:0x308,_0x56e855:0x535,_0x91b965:0x1c0,_0x10b993:0x256,_0x2df08e:0x391,_0x53aaf6:0x485,_0x2be012:0x31b,_0x18bf77:0x455},_0x10a085={_0x2360fe:0x98,_0x9d603c:0x65},_0x308492={_0x175fbe:0x19b,_0xb304c7:0xbc,_0x253cb4:0x11a},_0x2fab37={_0x4ca808:0x603},_0x32c10b={_0x136659:0x118};function _0x13d37f(_0x3550f5,_0x109b08,_0x3988e6,_0x34937e){return _0x38eb01(_0x3988e6,_0x109b08-0x162,_0x3988e6-0xea,_0x34937e-_0x32c10b._0x136659);}const _0x17a429=_0x3f2835['resolve'](_0x4d5eeb[_0x13d37f(0x95,-0xae,-_0x4d4ed4._0x4f3b60,-_0x4d4ed4._0x30753f)]??process['cwd']()),_0x1de05f=_0x4d5eeb[_0x13d37f(_0x4d4ed4._0x249228,0x161,_0x4d4ed4._0x42cb7e,0x204)]??[];function _0x1b9b91(_0x4d68bb,_0x39f932,_0x5b69ae,_0xda9827){return _0x38eb01(_0x5b69ae,_0xda9827-_0x2fab37._0x4ca808,_0x5b69ae-0x1d5,_0xda9827-0x1);}const _0x4ada41=_0x4d5eeb[_0x13d37f(-_0x4d4ed4._0x369353,-_0x4d4ed4._0x44b8d5,-0x1e2,-_0x4d4ed4._0x1d79d1)]??DEFAULT_MAX_BYTES,_0x298925=_0x4d5eeb[_0x13d37f(-_0x4d4ed4._0x290ea4,-_0x4d4ed4._0x220c77,_0x4d4ed4._0x342553,-0xa7)]??_0x13d37f(-0x103,-_0x4d4ed4._0x70bb28,_0x4d4ed4._0x201dad,-0x1d3);return defineTool({'name':_0x298925,'permissionClass':'read','description':_0x13d37f(-0x3e,_0x4d4ed4._0x925e57,0x1b5,_0x4d4ed4._0x342553),'inputSchema':{'type':_0x1b9b91(_0x4d4ed4._0x499538,_0x4d4ed4._0x19899f,0x662,0x56f),'properties':{'path':{'type':'string'},'detail':{'type':_0x13d37f(0xd2,_0x4d4ed4._0x30b780,_0x4d4ed4._0x430fa8,_0x4d4ed4._0x1ffc3b)}},'required':[_0x1b9b91(0x406,_0x4d4ed4._0x1e88ca,0x5fc,0x56b)]},async *'execute'(_0x14c71d){const _0x3e50f6=resolveAllowedPath(_0x17a429,_0x1de05f,_0x14c71d[_0x37a04a(0x34a,_0x29ce46._0x5674f0,0x2c7,0x534)]);await assertWorkspaceFile(_0x3e50f6);const _0x2de9ea=await _0x98f64a(_0x3e50f6);if(_0x2de9ea[_0x78c742(0x15c,_0x29ce46._0x2adeda,_0x29ce46._0x9f26fc,_0x29ce46._0xeae33f)]>_0x4ada41)throw new ToolExecutionError(_0x78c742(0x298,_0x29ce46._0x2db32c,_0x29ce46._0x364b8f,0x39c)+_0x14c71d[_0x37a04a(0x3b2,0x451,_0x29ce46._0x18157b,_0x29ce46._0x1d1ece)],{'path':_0x14c71d[_0x78c742(_0x29ce46._0x21daf6,_0x29ce46._0x20cdba,0x122,_0x29ce46._0x4b30f4)],'maxBytes':_0x4ada41,'size':_0x2de9ea[_0x37a04a(_0x29ce46._0x18cece,0x40b,0x343,0x41e)]});const _0x471c8a=await _0x17dd6a(_0x3e50f6),_0x1fb921=detectImageMediaType(_0x471c8a,_0x3e50f6);if(!_0x1fb921)throw new ToolExecutionError(_0x78c742(0x1c9,_0x29ce46._0x397281,_0x29ce46._0x4e462e,_0x29ce46._0x11453f)+_0x14c71d[_0x78c742(0x1a2,0x87,0x188,_0x29ce46._0x4c508d)],{'path':_0x14c71d[_0x78c742(0x1a2,_0x29ce46._0x1d99a5,_0x29ce46._0x55c41,_0x29ce46._0x598a2f)],'supported':[_0x37a04a(0x51d,_0x29ce46._0x21bc47,_0x29ce46._0x20fccb,0x492),_0x37a04a(_0x29ce46._0x125711,_0x29ce46._0x58736c,_0x29ce46._0x1e1e70,_0x29ce46._0x32024a),_0x37a04a(0x3aa,_0x29ce46._0x4b4d2e,_0x29ce46._0x398621,_0x29ce46._0x5936d5),_0x37a04a(_0x29ce46._0x19c348,0x3c9,0x325,_0x29ce46._0x475dde),_0x37a04a(0x334,_0x29ce46._0x1dcc28,0x421,0x229)]});const _0x5cf7cd=normalizeDetail(_0x14c71d['detail']),_0x548e0b=[_0x78c742(_0x29ce46._0x2967dd,_0x29ce46._0x44e88b,0x1a,_0x29ce46._0x286b12)+_0x14c71d['path'],_0x78c742(0x1d8,0x2f8,_0x29ce46._0x1b80b4,_0x29ce46._0x105db3)+_0x1fb921,_0x37a04a(0x54b,_0x29ce46._0x111748,0x368,_0x29ce46._0x3c4ee4)+_0x2de9ea['size']+'\x20bytes']['concat'](_0x5cf7cd?[_0x37a04a(0x5fe,_0x29ce46._0xeb006a,_0x29ce46._0x56a7b2,0x478)+_0x5cf7cd]:[])[_0x78c742(_0x29ce46._0x527f37,_0x29ce46._0x347f02,0x48,0x82)]('\x0a'),_0x1f940e=[{'type':'image','source':{'type':_0x37a04a(_0x29ce46._0x577d82,0x31b,_0x29ce46._0x5674f0,0x248),'media_type':_0x1fb921,'data':_0x471c8a[_0x78c742(0x13f,0x134,_0x29ce46._0x46e13c,0x19c)](_0x37a04a(_0x29ce46._0x5641a1,0x31b,0x40f,0x390))}},{'type':_0x37a04a(_0x29ce46._0x207855,0x293,_0x29ce46._0x4b3a44,_0x29ce46._0x5a0344),'text':_0x548e0b}];function _0x37a04a(_0x5cca4a,_0x3723e7,_0x1acc53,_0x245398){return _0x1b9b91(_0x5cca4a-_0x308492._0x175fbe,_0x3723e7-_0x308492._0xb304c7,_0x245398,_0x3723e7- -_0x308492._0x253cb4);}function _0x78c742(_0x225382,_0xe2767c,_0x15fa97,_0x55cf0e){return _0x13d37f(_0x225382-_0x10a085._0x2360fe,_0x225382-0xd8,_0x15fa97,_0x55cf0e-_0x10a085._0x9d603c);}return yield createToolOutput(_0x548e0b,{'path':_0x14c71d[_0x78c742(_0x29ce46._0x21daf6,0x2a6,_0x29ce46._0x172829,0xe0)],'resolvedPath':_0x3e50f6,'created':_0x2de9ea[_0x78c742(-_0x29ce46._0x3a8663,-0x8a,0x3f,0x55)][_0x37a04a(_0x29ce46._0x86cefe,_0x29ce46._0x41bae9,_0x29ce46._0x3d0256,_0x29ce46._0x46f408)](),'modified':_0x2de9ea[_0x37a04a(0x5b3,0x4b5,0x506,_0x29ce46._0x56e855)][_0x78c742(_0x29ce46._0x91b965,_0x29ce46._0x10b993,0x115,0x1da)](),'size':_0x2de9ea[_0x37a04a(_0x29ce46._0x2df08e,0x40b,_0x29ce46._0x53aaf6,0x55a)],'mimeType':_0x1fb921,'encoding':_0x37a04a(0x2ee,_0x29ce46._0x2be012,0x273,_0x29ce46._0x18bf77),..._0x5cf7cd?{'detail':_0x5cf7cd}:{}},_0x1f940e),void 0x0;}});}import _0xff2ce5 from'turndown';import{isIP}from'net';function _0x38eb01(_0x319495,_0x5374d8,_0x411d1f,_0x3d1e8c){const _0x290a56={_0x3a17bb:0x33b};return _0x29c8(_0x5374d8- -_0x290a56._0x3a17bb,_0x319495);}var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x157015=>{const {lookup:_0x20702f}=await import('dns/promises');return _0x20702f(_0x157015,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x39fe40){const _0x1904f1={_0x588b33:0x440,_0x2ad350:0x3d5,_0x56a8c9:0x42c,_0x657599:0x55d,_0x6f551a:0x2a5,_0x673853:0x425,_0x6a57b3:0x25e,_0x25e887:0x2a7,_0x4dd7be:0x371},_0x58afc4={_0x44de1c:0xbd},_0x1ed742={_0x5f45b0:0xc},_0x1537b3=_0x39fe40[_0x242b56(_0x1904f1._0x588b33,_0x1904f1._0x2ad350,_0x1904f1._0x56a8c9,_0x1904f1._0x657599)]('.');if(_0x1537b3[_0x40efdf(_0x1904f1._0x6f551a,0x1ca,0x366,_0x1904f1._0x673853)]!==0x4)return null;let _0x57b24d=0x0;for(const _0x2927a7 of _0x1537b3){if(!/^\d{1,3}$/[_0x40efdf(_0x1904f1._0x6a57b3,0x102,_0x1904f1._0x25e887,_0x1904f1._0x4dd7be)](_0x2927a7))return null;const _0x508f42=Number(_0x2927a7);if(_0x508f42>0xff)return null;_0x57b24d=_0x57b24d*0x100+_0x508f42;}function _0x242b56(_0x28c297,_0x571126,_0x20c083,_0x3f8700){return _0x38eb01(_0x28c297,_0x571126-0x3c8,_0x20c083-0x188,_0x3f8700-_0x1ed742._0x5f45b0);}function _0x40efdf(_0x6f68c9,_0xc6f2f7,_0x44081f,_0x5c7606){return _0x38eb01(_0xc6f2f7,_0x6f68c9-0x3ac,_0x44081f-_0x58afc4._0x44de1c,_0x5c7606-0x1ad);}return _0x57b24d>>>0x0;}function isBlockedIpv4(_0x89d879){const _0x403dbb={_0x39c6d4:0x246,_0x11ad5a:0x282,_0x191d3c:0x34f,_0x3e16ae:0x189,_0x171805:0x191,_0x5170cf:0x35a,_0x78d775:0x37b,_0x52e4fb:0x3a6,_0x177a61:0x200,_0x868aa5:0x27d,_0x3a7155:0x11f,_0x3a3325:0x647,_0x14f174:0x6c1,_0x2b8c90:0x714,_0x223d9f:0x61a,_0x3521cb:0x45a,_0x181fcd:0x437,_0x55a6d0:0x541},_0x344cc2={_0x15cb1c:0xec,_0x3de4d6:0xe2},_0x16ace4={_0x1a0ce2:0x13d,_0x1f01a5:0x96},_0x360669=ipv4ToInt(_0x89d879);function _0x4c4f8e(_0x36eb78,_0x5f27ba,_0x1feeb3,_0x4eb55d){return _0x38eb01(_0x4eb55d,_0x1feeb3-0x5ac,_0x1feeb3-_0x16ace4._0x1a0ce2,_0x4eb55d-_0x16ace4._0x1f01a5);}if(_0x360669===null)return!![];const _0x26d704=(_0x48a998,_0xf630c7)=>{const _0x47fb95=ipv4ToInt(_0x48a998);if(_0x47fb95===null)return![];const _0x27c5ef=_0xf630c7===0x0?0x0:0xffffffff<<0x20-_0xf630c7>>>0x0;return(_0x360669&_0x27c5ef)===(_0x47fb95&_0x27c5ef);};function _0x50e508(_0x941898,_0xfd62b2,_0x11129c,_0x3d9d61){return _0x38eb01(_0xfd62b2,_0x941898- -0x73,_0x11129c-_0x344cc2._0x15cb1c,_0x3d9d61-_0x344cc2._0x3de4d6);}return _0x26d704(_0x50e508(-0x28d,-_0x403dbb._0x39c6d4,-_0x403dbb._0x11ad5a,-_0x403dbb._0x191d3c),0x8)||_0x26d704(_0x50e508(-0x28f,-0x2d2,-_0x403dbb._0x3e16ae,-_0x403dbb._0x171805),0x8)||_0x26d704(_0x4c4f8e(_0x403dbb._0x5170cf,_0x403dbb._0x78d775,_0x403dbb._0x52e4fb,0x45b),0xa)||_0x26d704(_0x50e508(-_0x403dbb._0x177a61,-_0x403dbb._0x868aa5,-0x19a,-_0x403dbb._0x3a7155),0x8)||_0x26d704('169.254.0.0',0x10)||_0x26d704('172.16.0.0',0xc)||_0x26d704(_0x4c4f8e(0x556,_0x403dbb._0x3a3325,0x4d9,0x46d),0x18)||_0x26d704(_0x4c4f8e(_0x403dbb._0x14f174,_0x403dbb._0x2b8c90,_0x403dbb._0x223d9f,0x50b),0x10)||_0x26d704(_0x4c4f8e(0x42d,_0x403dbb._0x3521cb,0x371,0x359),0xf)||_0x26d704(_0x4c4f8e(0x551,0x4f0,_0x403dbb._0x181fcd,0x368),0x4)||_0x26d704(_0x4c4f8e(_0x403dbb._0x55a6d0,0x55c,0x5d7,0x5b1),0x4);}function expandIpv6(_0x7a4bc2){const _0x487c38={_0x579bdd:0x276,_0x2d33ed:0x3c1,_0x297294:0x29c,_0x2afe7c:0x301,_0x55d041:0x35e,_0x35bb06:0x2f2,_0x217a9d:0x15b,_0x49dc70:0x7,_0x49be65:0x9a,_0x3134d7:0x124,_0x2b8ecb:0x72,_0x2431f4:0x283,_0x3b5a0b:0x66,_0x19207a:0x205,_0x10382a:0x266,_0x417bfe:0x122,_0xb3f36:0x252,_0x18eae3:0x1df,_0x354a53:0x2b0,_0x1be98b:0x18e,_0x573fd5:0x1f2,_0x385247:0x118,_0x4ece45:0x62,_0x506729:0x1e1,_0x3b1d93:0x7f,_0x46c02a:0x2b9,_0x588fe5:0x306,_0xcee280:0x10d,_0x5b791e:0xc1,_0x29ccd1:0x196},_0x2b4c69={_0x4614c4:0x213},_0x4aef25={_0x5c6fe7:0x6,_0x37dc41:0xa2};let _0x52e837=_0x7a4bc2,_0x4a71ce;function _0x40a970(_0x312692,_0x1a3f85,_0x5920f5,_0x228d68){return _0x38eb01(_0x1a3f85,_0x312692- -_0x4aef25._0x5c6fe7,_0x5920f5-0x184,_0x228d68-_0x4aef25._0x37dc41);}const _0x2b1c33=_0x52e837[_0x3366d7(_0x487c38._0x579bdd,0x174,_0x487c38._0x2d33ed,0x2aa)](':');_0x52e837[_0x3366d7(_0x487c38._0x297294,0x26d,_0x487c38._0x2afe7c,_0x487c38._0x55d041)](_0x2b1c33+0x1)[_0x40a970(-0x26d,-_0x487c38._0x35bb06,-_0x487c38._0x217a9d,-0x39b)]('.')&&(_0x4a71ce=_0x52e837['slice'](_0x2b1c33+0x1),_0x52e837=_0x52e837['slice'](0x0,_0x2b1c33+0x1));const _0x447073=_0x52e837[_0x40a970(_0x487c38._0x49dc70,0x1f,-_0x487c38._0x49be65,_0x487c38._0x3134d7)]('::');function _0x3366d7(_0x406231,_0x33c1c5,_0x5821a5,_0xde6354){return _0x2cc51b(_0x5821a5,_0x33c1c5-0x6b,_0x5821a5-0x3,_0xde6354- -_0x2b4c69._0x4614c4);}if(_0x447073[_0x40a970(-0x10d,_0x487c38._0x2b8ecb,-_0x487c38._0x2431f4,-_0x487c38._0x3b5a0b)]>0x2)return null;const _0x10dcb7=_0x30f70e=>_0x30f70e[_0x3366d7(0x1bb,0x363,0x30c,0x306)](':')[_0x3366d7(0x3e2,0x264,0x334,0x2db)](_0x3585f2=>_0x3585f2[_0x3366d7(0x1c2,0x354,0x307,0x1f2)]>0x0)[_0x3366d7(0x2f2,0x3d7,0x2b5,0x2a6)](_0x369390=>Number['parseInt'](_0x369390,0x10)),_0x168768=_0x447073[0x0]?_0x10dcb7(_0x447073[0x0]):[],_0x564dce=_0x447073[_0x3366d7(0x2ff,0x337,_0x487c38._0x19207a,0x1f2)]===0x2&&_0x447073[0x1]?_0x10dcb7(_0x447073[0x1]):[],_0x5db352=[];if(_0x4a71ce){const _0x417097=ipv4ToInt(_0x4a71ce);if(_0x417097===null)return null;_0x5db352[_0x3366d7(_0x487c38._0x10382a,0x261,_0x487c38._0x417bfe,_0x487c38._0xb3f36)](_0x417097>>>0x10&0xffff,_0x417097&0xffff);}const _0x36ecee=[..._0x564dce,..._0x5db352],_0x86fe=0x8-_0x168768[_0x3366d7(_0x487c38._0x18eae3,_0x487c38._0x354a53,_0x487c38._0x1be98b,_0x487c38._0x573fd5)]-_0x36ecee[_0x40a970(-0x10d,-0x8,-_0x487c38._0x385247,_0x487c38._0x4ece45)];if(_0x447073[_0x3366d7(0xe5,_0x487c38._0x506729,_0x487c38._0x3b1d93,0x1f2)]===0x1)return _0x168768[_0x3366d7(_0x487c38._0x46c02a,0x2d8,_0x487c38._0x588fe5,0x1f2)]+_0x36ecee[_0x40a970(-_0x487c38._0xcee280,-0x41,-0x39,-_0x487c38._0x5b791e)]===0x8?[..._0x168768,..._0x36ecee]:null;if(_0x86fe<0x0)return null;return[..._0x168768,...new Array(_0x86fe)[_0x40a970(-0x22c,-0x12e,-0x201,-_0x487c38._0x29ccd1)](0x0),..._0x36ecee];}function _0x2cc51b(_0x2d2146,_0x184c04,_0x347a05,_0x4e40ca){const _0x2e867d={_0x106fc3:0x1d1};return _0x29c8(_0x4e40ca-_0x2e867d._0x106fc3,_0x2d2146);}function isBlockedIpv6(_0x5d79d1){const _0x537379={_0x4d91c8:0x1fd,_0x41f88c:0x67a,_0x4bd4b8:0x597,_0x1855ea:0x8de,_0x5e7639:0x6c},_0x2c465f={_0x59de5a:0x6ff,_0x30f3dc:0x1db},_0x4546db=expandIpv6(_0x5d79d1);function _0x5a8bc5(_0x1f6475,_0x2105ed,_0x5226a2,_0xb0c613){return _0x2cc51b(_0x1f6475,_0x2105ed-0xa6,_0x5226a2-0x18f,_0x5226a2- -0x4d6);}if(!_0x4546db||_0x4546db[_0x5a8bc5(-0x248,-0xcd,-_0x537379._0x4d91c8,-0x384)](_0x4c3e6e=>Number['isNaN'](_0x4c3e6e)))return!![];function _0xf717a6(_0x395812,_0x927bb9,_0x54f93f,_0x3cb2e7){return _0x38eb01(_0x395812,_0x54f93f-_0x2c465f._0x59de5a,_0x54f93f-_0x2c465f._0x30f3dc,_0x3cb2e7-0x1ba);}const _0x31564c=_0x4546db['slice'](0x0,0x7)[_0xf717a6(0x59b,_0x537379._0x41f88c,0x5b8,_0x537379._0x4bd4b8)](_0x18133e=>_0x18133e===0x0);if(_0x31564c&&(_0x4546db[0x7]===0x0||_0x4546db[0x7]===0x1))return!![];if(_0x4546db[_0xf717a6(_0x537379._0x1855ea,0x63c,0x764,0x7a0)](0x0,0x5)['every'](_0x280a09=>_0x280a09===0x0)&&(_0x4546db[0x5]===0xffff||_0x4546db[0x5]===0x0)){const _0x46aa8a=(_0x4546db[0x6]<<0x10|_0x4546db[0x7])>>>0x0,_0x10aed5=[_0x46aa8a>>>0x18&0xff,_0x46aa8a>>>0x10&0xff,_0x46aa8a>>>0x8&0xff,_0x46aa8a&0xff][_0x5a8bc5(-_0x537379._0x5e7639,-0x279,-0x1a1,-0x53)]('.');return isBlockedIpv4(_0x10aed5);}const _0x165332=_0x4546db[0x0];if((_0x165332&0xff00)===0xfc00||(_0x165332&0xfe00)===0xfc00)return!![];if((_0x165332&0xffc0)===0xfe80)return!![];if((_0x165332&0xff00)===0xff00)return!![];return![];}function isBlockedAddress(_0x312cc0){const _0x15318d=isIP(_0x312cc0);if(_0x15318d===0x4)return isBlockedIpv4(_0x312cc0);if(_0x15318d===0x6)return isBlockedIpv6(_0x312cc0);return!![];}async function assertPublicUrl(_0x450661,_0x2aaa3e={}){const _0x362cc3={_0x340c1f:0x533,_0x34f633:0x691,_0x32cccd:0x5b6,_0x4ec9ba:0x21b,_0x421b55:0x193,_0x99d023:0x113,_0x246265:0x1bb,_0x1c7985:0x2e5,_0x522256:0x2d0,_0xcc349f:0x20a,_0x581bda:0x147,_0x4d4d78:0x151,_0x121f55:0xc2,_0x521763:0xa3,_0x4de6df:0x82,_0xb6977a:0x271,_0x275687:0x169,_0x5b3aa7:0x25c,_0x574eba:0x273,_0xee7b66:0x27d,_0x472533:0x466,_0x9bf17b:0x57f,_0x2fd410:0x2b8,_0x59fccd:0x32a,_0x1ecc01:0x1e9,_0x4d282a:0x440,_0x4948ec:0x225,_0x558ec1:0x135,_0x5a4861:0x23b,_0x1216bd:0xf9,_0x1ecf84:0x534,_0x66203d:0x646,_0x744c2d:0x19a,_0x5c7c94:0x299,_0x5396b7:0x2d0,_0x3477d7:0x2e7,_0x21669d:0x315,_0x1eefbb:0x432,_0x831333:0x41d,_0x5a0aff:0x13f,_0x46c9c2:0x5c,_0x20a978:0x106,_0x3d1474:0x5a6,_0x551361:0x56d,_0x360072:0x284},_0x3a7f6d={_0x46c5ad:0x10a},_0x377e31={_0x495c3a:0x13};let _0x4c6c76;try{_0x4c6c76=new URL(_0x450661);}catch{throw new ToolExecutionError(_0x11b5b6(_0x362cc3._0x340c1f,_0x362cc3._0x34f633,0x639,_0x362cc3._0x32cccd),{'url':_0x450661});}if(_0x4c6c76[_0xbe4c0a(-_0x362cc3._0x4ec9ba,-0x143,-_0x362cc3._0x421b55,-_0x362cc3._0x99d023)]!==_0xbe4c0a(-0x1dc,-_0x362cc3._0x246265,-0x17c,-_0x362cc3._0x1c7985)&&_0x4c6c76['protocol']!==_0x11b5b6(_0x362cc3._0x522256,0x324,0x338,0x356))throw new ToolExecutionError(_0xbe4c0a(-_0x362cc3._0xcc349f,-0x24e,-_0x362cc3._0x581bda,-_0x362cc3._0x4d4d78),{'url':_0x450661});if(_0x4c6c76[_0xbe4c0a(0x84,-0x33,-_0x362cc3._0x121f55,-_0x362cc3._0x521763)]||_0x4c6c76['password'])throw new ToolExecutionError(_0xbe4c0a(-_0x362cc3._0x4de6df,-_0x362cc3._0xb6977a,-0x1f9,-0x128),{'url':_0x4c6c76[_0xbe4c0a(-0x2c0,-_0x362cc3._0x275687,-0x193,-_0x362cc3._0x5b3aa7)]+'//'+_0x4c6c76[_0x11b5b6(_0x362cc3._0x574eba,_0x362cc3._0xee7b66,0x405,0x39a)]+_0x4c6c76[_0x11b5b6(_0x362cc3._0x472533,0x603,_0x362cc3._0x9bf17b,0x596)]});const _0x501a11=_0x4c6c76[_0x11b5b6(_0x362cc3._0x2fd410,_0x362cc3._0x59fccd,_0x362cc3._0x1ecc01,0x338)][_0x11b5b6(0x2cd,_0x362cc3._0x4d282a,_0x362cc3._0x4948ec,0x2d3)](/^\[|\]$/g,'');function _0xbe4c0a(_0x523628,_0x4f3469,_0x3abf7a,_0x20d863){return _0x38eb01(_0x4f3469,_0x3abf7a- -_0x377e31._0x495c3a,_0x3abf7a-0x29,_0x20d863-0x55);}function _0x11b5b6(_0x557c6e,_0x59a89d,_0x1842fe,_0x2f0067){return _0x38eb01(_0x59a89d,_0x2f0067-0x553,_0x1842fe-0x1cb,_0x2f0067-_0x3a7f6d._0x46c5ad);}const _0x2dc35c=_0x4c6c76[_0xbe4c0a(-_0x362cc3._0x558ec1,-_0x362cc3._0x5a4861,-_0x362cc3._0x421b55,-_0x362cc3._0x1216bd)]+'//'+_0x4c6c76['host']+_0x4c6c76[_0x11b5b6(_0x362cc3._0x1ecf84,0x51b,_0x362cc3._0x66203d,0x596)];if(isIP(_0x501a11)){if(isBlockedAddress(_0x501a11))throw new ToolExecutionError(_0x11b5b6(_0x362cc3._0x744c2d,_0x362cc3._0x5c7c94,_0x362cc3._0x5396b7,_0x362cc3._0x3477d7),{'url':_0x2dc35c});return _0x4c6c76;}const _0x2c3f00=_0x2aaa3e[_0x11b5b6(_0x362cc3._0x21669d,0x3e0,_0x362cc3._0x1eefbb,_0x362cc3._0x831333)]??defaultLookup;let _0x532cb5;try{_0x532cb5=await _0x2c3f00(_0x501a11);}catch{throw new ToolExecutionError(_0xbe4c0a(_0x362cc3._0x5a0aff,-_0x362cc3._0x46c9c2,0x7,-_0x362cc3._0x20a978),{'url':_0x2dc35c});}if(_0x532cb5['length']===0x0)throw new ToolExecutionError(_0x11b5b6(0x465,_0x362cc3._0x3d1474,0x5b3,_0x362cc3._0x551361),{'url':_0x2dc35c});for(const {address:_0x29d3c8}of _0x532cb5){if(isBlockedAddress(_0x29d3c8))throw new ToolExecutionError(_0xbe4c0a(-0x2ea,-0x30,-0x16f,-_0x362cc3._0x360072),{'url':_0x2dc35c});}return _0x4c6c76;}async function safeFetch(_0x414772,_0x1ca03c={},_0x86e90d={}){const _0x36dd87={_0x22fb64:0x5f,_0x16da14:0xbd,_0x4e1cfb:0x12e,_0x4f9b36:0x99,_0x8989b8:0x15,_0x10c800:0x109,_0xcc91a5:0x159,_0x5ccdeb:0xc2,_0x53fa16:0x83,_0x20c31d:0x10b,_0x52b83d:0x80,_0x218235:0x1f3,_0x409db9:0x35,_0x115615:0x7,_0x35924f:0x29,_0x4cc1b0:0xaa,_0x2cca5f:0xff,_0x4af5b6:0xb7,_0x496ee0:0x238,_0x171db9:0xa5,_0x3b1efd:0x58},_0x9d3ee5={_0x4f2fbf:0x102,_0x2a5b3e:0x349},_0x3f26c0={_0x59c52c:0x187,_0x3e654c:0xb7},_0x182131=_0x86e90d[_0x27eceb(-_0x36dd87._0x22fb64,-0x123,0x62,-_0x36dd87._0x16da14)]??fetch;function _0x27eceb(_0x3332af,_0x51efa3,_0x3d5124,_0x1ae247){return _0x38eb01(_0x51efa3,_0x3d5124-_0x3f26c0._0x59c52c,_0x3d5124-_0x3f26c0._0x3e654c,_0x1ae247-0x1cd);}const _0x336115=_0x86e90d[_0x27eceb(-_0x36dd87._0x4e1cfb,_0x36dd87._0x4f9b36,0x14,-0x6e)]??DEFAULT_MAX_REDIRECTS;function _0x12ed2c(_0x12d98a,_0x4a7c36,_0x3cdca2,_0x57eb8d){return _0x2cc51b(_0x4a7c36,_0x4a7c36-_0x9d3ee5._0x4f2fbf,_0x3cdca2-0x149,_0x57eb8d- -_0x9d3ee5._0x2a5b3e);}let _0x2e836a=_0x414772;for(let _0x22f409=0x0;;_0x22f409+=0x1){const _0x49edb3=await assertPublicUrl(_0x2e836a,_0x86e90d),_0x275847=await _0x182131(_0x49edb3[_0x12ed2c(0x104,0x109,0x250,0xc8)](),{..._0x1ca03c,'redirect':'manual'}),_0x3672f4=_0x275847[_0x12ed2c(0x253,_0x36dd87._0x8989b8,0xb,_0x36dd87._0x10c800)][_0x12ed2c(_0x36dd87._0xcc91a5,_0x36dd87._0x5ccdeb,0x189,_0x36dd87._0x53fa16)](_0x27eceb(-0x42,0x25d,_0x36dd87._0x20c31d,_0x36dd87._0x52b83d));if(!REDIRECT_STATUSES[_0x27eceb(_0x36dd87._0x218235,-_0x36dd87._0x409db9,0xc1,_0x36dd87._0x115615)](_0x275847[_0x12ed2c(-0x29,-0x7b,-_0x36dd87._0x35924f,0xd2)])||!_0x3672f4)return _0x275847;if(_0x22f409>=_0x336115)throw new ToolExecutionError(_0x12ed2c(_0x36dd87._0x4cc1b0,_0x36dd87._0x2cca5f,0x1da,_0x36dd87._0x4af5b6),{'url':_0x49edb3[_0x12ed2c(_0x36dd87._0x496ee0,0x19a,0x10,0xc8)]()});_0x2e836a=new URL(_0x3672f4,_0x49edb3)[_0x27eceb(-0x8d,_0x36dd87._0x171db9,0x8c,_0x36dd87._0x3b1efd)]();}}var USER_AGENT=_0x2cc51b(0x41c,0x4e2,0x46e,0x575),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x4b70a6,_0x1a3efe){const _0xbf926b={_0x91e7d8:0x4af,_0x4531c0:0x4d9,_0x58980f:0x529,_0x1941ac:0x3e9,_0x304151:0x344,_0x114ef6:0x49b,_0x3e535e:0x154,_0x599aac:0x3a2,_0x3822e4:0x2d4,_0x58f053:0x24d},_0x58435a={_0x3e86f8:0x8e,_0x1a3072:0xae},_0x4d7b80={_0x17a3e0:0xd0,_0x121e2:0x2af},_0x27fff2={_0x16eba2:0x47e,_0x1e4785:0x154},_0x2fffba={_0x5a6536:0x124};function _0x361c4a(_0x2bf340,_0x32bf67,_0xe413f9,_0x3974db){return _0x2cc51b(_0x3974db,_0x32bf67-0xc9,_0xe413f9-_0x2fffba._0x5a6536,_0x32bf67- -0x4ef);}const _0x583b8c=new AbortController(),_0xef70f7=setTimeout(()=>_0x583b8c[_0x41a471(0x261,0x166,0x221,0x15d)](new Error('Fetch\x20timed\x20out')),_0x1a3efe),_0xe9fa80=()=>_0x583b8c[_0x41a471(0x29a,0x158,0x221,0x308)](_0x4b70a6[_0x361c4a(-0x66,-0x81,-0x183,-0x79)]);function _0x41a471(_0x7b6af5,_0x24951e,_0x1b20ad,_0x40664a){return _0x38eb01(_0x24951e,_0x1b20ad-_0x27fff2._0x16eba2,_0x1b20ad-_0x27fff2._0x1e4785,_0x40664a-0x64);}return _0x4b70a6[_0x41a471(0x5d5,_0xbf926b._0x91e7d8,_0xbf926b._0x4531c0,_0xbf926b._0x58980f)]?_0x583b8c[_0x361c4a(-0x37f,-0x240,-0x2d6,-0x16d)](_0x4b70a6[_0x41a471(0x395,0x270,0x3e0,_0xbf926b._0x1941ac)]):_0x4b70a6[_0x41a471(0x432,_0xbf926b._0x304151,_0xbf926b._0x114ef6,0x415)](_0x41a471(0x343,0x338,0x221,_0xbf926b._0x3e535e),_0xe9fa80,{'once':!![]}),{'signal':_0x583b8c[_0x41a471(_0xbf926b._0x599aac,0x455,_0xbf926b._0x3822e4,_0xbf926b._0x58f053)],'cleanup':()=>{function _0x263028(_0x3f763a,_0x3d2805,_0x585f9b,_0x2e8376){return _0x41a471(_0x3f763a-_0x4d7b80._0x17a3e0,_0x3f763a,_0x585f9b- -_0x4d7b80._0x121e2,_0x2e8376-0xe2);}clearTimeout(_0xef70f7),_0x4b70a6['removeEventListener'](_0x263028(-0x123,-0x9c,-_0x58435a._0x3e86f8,_0x58435a._0x1a3072),_0xe9fa80);}};}function createWebFetchTool(_0x820f97={}){const _0x3f4b7b={_0x210bd1:0x12f,_0x5816fa:0x17b,_0x1192b7:0x209,_0x46ac27:0xc0,_0x42df2f:0x1f5,_0x4fd41e:0x1c8,_0x590765:0x331,_0x109350:0x3b2,_0x2238b1:0x4a7,_0x2265b1:0x368,_0x4e176a:0x2aa,_0x314549:0x3e1,_0x4802e4:0x24f,_0x25f924:0x172,_0x10e057:0x48a,_0x288f6f:0x45c,_0xb8d5dd:0x1c9,_0x341a97:0x241,_0x555d3b:0x1db,_0x1f294b:0x36e,_0x4689f8:0x4dc,_0x163285:0x489,_0x2a9c8a:0x395,_0x3a05e6:0x46a,_0x2a1203:0x287,_0x3b5ca4:0x39f,_0x490e6e:0x416,_0x112257:0x39f,_0x59c105:0x3fe,_0xcff8d7:0x325},_0x3ea1ed={_0x377f2d:0x46d,_0x12b73f:0x5bf,_0x142ad3:0x126,_0x1d82eb:0x10c,_0x34a1e7:0xe5,_0x516b07:0x87,_0x596ba4:0x44,_0x597edf:0xcf,_0x2aacde:0x604,_0x13f265:0x358,_0x371b35:0x1fd,_0x366164:0x32e,_0x70b389:0x258,_0x2cb3bf:0x1fc,_0x46e770:0x1ec,_0x40c08b:0x1b,_0x4fedee:0x242,_0x22e5d9:0x40,_0x54d095:0x17a,_0x56ed8a:0x1ab,_0x22df6a:0x1d5,_0x3d2c2a:0x260,_0x92767:0x174,_0x550edb:0x2a,_0x1251dd:0x7d,_0x3ed3bd:0x158,_0x594f74:0x4f,_0x164e52:0x396,_0x21fdcd:0x32c,_0x3f6b5f:0x479,_0x51b70f:0x13e,_0x2ef105:0x138,_0x5a72ca:0x44,_0x9328cd:0x9f,_0x24031d:0x60,_0x13fe6b:0x13b,_0x1a5f4f:0x5c},_0x3dd7de={_0x217a7:0x44},_0x5e681b={_0x473d78:0x467,_0x43cb1c:0x81};function _0x3ed439(_0x167bf5,_0x4b2feb,_0x271389,_0x234261){return _0x38eb01(_0x4b2feb,_0x271389-_0x5e681b._0x473d78,_0x271389-_0x5e681b._0x43cb1c,_0x234261-0xe3);}const _0x34a615=_0x820f97[_0x3ed439(_0x3f4b7b._0x210bd1,_0x3f4b7b._0x5816fa,_0x3f4b7b._0x1192b7,0x1aa)]??_0x3ed439(_0x3f4b7b._0x46ac27,0xc5,0x20c,_0x3f4b7b._0x42df2f),_0x584960=_0x820f97['timeoutMs']??DEFAULT_TIMEOUT_MS2,_0x22c73c=_0x820f97[_0x3ed439(0x439,_0x3f4b7b._0x4fd41e,_0x3f4b7b._0x590765,_0x3f4b7b._0x109350)];function _0x5aed00(_0x39b817,_0x2334cc,_0x5a0938,_0x2fb997){return _0x2cc51b(_0x39b817,_0x2334cc-0x122,_0x5a0938-0x15,_0x2fb997- -0x1d1);}const _0x1baae3=new _0xff2ce5({'headingStyle':_0x5aed00(_0x3f4b7b._0x2238b1,_0x3f4b7b._0x2265b1,0x51d,0x3aa),'codeBlockStyle':_0x3ed439(0xf9,0x300,0x225,0x242),'bulletListMarker':'-'});return _0x1baae3[_0x5aed00(_0x3f4b7b._0x4e176a,0x8c,0xaf,0x122)](['script','style',_0x3ed439(0x417,0x305,_0x3f4b7b._0x314549,0x4b1),_0x5aed00(0x2f3,_0x3f4b7b._0x4802e4,0x2c3,_0x3f4b7b._0x25f924),_0x3ed439(0x2bd,0x42d,0x362,0x476),_0x3ed439(_0x3f4b7b._0x10e057,0x3fe,_0x3f4b7b._0x288f6f,0x582),_0x5aed00(0x32f,_0x3f4b7b._0xb8d5dd,_0x3f4b7b._0x341a97,_0x3f4b7b._0x555d3b),_0x3ed439(0x383,0x4ab,0x401,_0x3f4b7b._0x1f294b)]),defineTool({'name':_0x34a615,'permissionClass':_0x3ed439(0x2c7,0x30b,0x380,0x209),'description':_0x3ed439(0x4c3,_0x3f4b7b._0x4689f8,_0x3f4b7b._0x163285,_0x3f4b7b._0x2a9c8a),'inputSchema':{'type':_0x3ed439(_0x3f4b7b._0x3a05e6,0x4e5,0x3d3,_0x3f4b7b._0x2a1203),'properties':{'description':{'type':_0x5aed00(0x383,0x383,0x43b,_0x3f4b7b._0x3b5ca4)},'url':{'type':_0x5aed00(_0x3f4b7b._0x490e6e,0x465,0x269,_0x3f4b7b._0x112257)}},'required':[_0x3ed439(0x291,0x2ca,_0x3f4b7b._0x59c105,_0x3f4b7b._0xcff8d7)]},async *'execute'(_0x2f2f85,_0x4198ad){const _0x15d669={_0x30310f:0x1c2,_0xe7a9b1:0x246},_0x6735b0=(await assertPublicUrl(_0x2f2f85['url'],{'lookup':_0x22c73c}))['toString']();if(_0x4198ad[_0x409227(0x4ee,0x3d7,0x2be,_0x3ea1ed._0x377f2d)]['aborted'])throw new ToolExecutionError(_0x409227(0x643,0x517,_0x3ea1ed._0x12b73f,0x431),{'url':_0x6735b0});function _0xdf2262(_0x4b753e,_0x1231b3,_0x2dd5a5,_0x19e7d6){return _0x3ed439(_0x4b753e-0xf3,_0x19e7d6,_0x2dd5a5- -0x1b1,_0x19e7d6-_0x3dd7de._0x217a7);}const _0x3dc76c=createTimeoutSignal(_0x4198ad[_0xdf2262(_0x3ea1ed._0x142ad3,0xde,_0x3ea1ed._0x1d82eb,-0x62)],_0x584960);let _0x529d5c='',_0x245f3c=0x0,_0x260b60;try{const _0x1ed866=await safeFetch(_0x6735b0,{'headers':{'User-Agent':USER_AGENT},'signal':_0x3dc76c[_0xdf2262(_0x3ea1ed._0x34a1e7,_0x3ea1ed._0x516b07,_0x3ea1ed._0x1d82eb,0x13c)]},{'lookup':_0x22c73c});if(!_0x1ed866['ok'])throw new ToolExecutionError(_0xdf2262(-0x8d,-0x69,_0x3ea1ed._0x596ba4,_0x3ea1ed._0x597edf)+_0x1ed866[_0x409227(_0x3ea1ed._0x2aacde,0x490,_0x3ea1ed._0x13f265,0x453)]+'\x20'+_0x1ed866[_0xdf2262(0x228,_0x3ea1ed._0x371b35,0x2cb,0x430)],{'url':_0x6735b0,'statusCode':_0x1ed866[_0xdf2262(0xbe,0x276,0x1c5,0x1ed)]});_0x529d5c=_0x1ed866[_0xdf2262(_0x3ea1ed._0x366164,_0x3ea1ed._0x70b389,_0x3ea1ed._0x2cb3bf,0xb5)][_0xdf2262(_0x3ea1ed._0x46e770,_0x3ea1ed._0x40c08b,0x176,_0x3ea1ed._0x4fedee)]('content-type')??'',_0x245f3c=_0x1ed866['status'],_0x260b60=await _0x1ed866[_0xdf2262(0x172,-0x73,0x60,-_0x3ea1ed._0x22e5d9)]();}catch(_0x53e6c8){if(_0x53e6c8 instanceof ToolExecutionError)throw _0x53e6c8;const _0x538054=_0x53e6c8 instanceof Error?_0x53e6c8[_0xdf2262(_0x3ea1ed._0x54d095,_0x3ea1ed._0x56ed8a,0x228,0x2b3)]:String(_0x53e6c8);throw new ToolExecutionError(_0x538054,{'url':_0x6735b0});}finally{_0x3dc76c[_0xdf2262(_0x3ea1ed._0x22df6a,_0x3ea1ed._0x3d2c2a,_0x3ea1ed._0x92767,_0x3ea1ed._0x550edb)]();}const _0x6159bd=new Date()['toISOString']();let _0x34ea1c,_0x1f9731;function _0x409227(_0x1947ef,_0x7679cc,_0x4630ba,_0x2e06d3){return _0x5aed00(_0x1947ef,_0x7679cc-_0x15d669._0x30310f,_0x4630ba-0x92,_0x7679cc-_0x15d669._0xe7a9b1);}if(_0x529d5c[_0xdf2262(-_0x3ea1ed._0x1251dd,_0x3ea1ed._0x3ed3bd,_0x3ea1ed._0x594f74,0xa3)]('application/json'))_0x34ea1c=_0xdf2262(0x3d0,0x3d4,0x33f,0x376)+_0x260b60+_0x409227(0x46e,_0x3ea1ed._0x164e52,0x3f8,0x359),_0x1f9731='json';else _0x529d5c[_0x409227(0x209,0x31a,0x39d,_0x3ea1ed._0x21fdcd)](_0x409227(0x56e,0x5d1,0x46c,_0x3ea1ed._0x3f6b5f))?(_0x34ea1c=_0x1baae3[_0xdf2262(_0x3ea1ed._0x51b70f,_0x3ea1ed._0x2ef105,0x6e,-_0x3ea1ed._0x5a72ca)](_0x260b60),_0x1f9731='markdown'):(_0x34ea1c=_0x260b60,_0x1f9731=_0xdf2262(0x43,-_0x3ea1ed._0x9328cd,_0x3ea1ed._0x24031d,_0x3ea1ed._0x13fe6b));return yield createToolOutput(_0x34ea1c,{'url':_0x6735b0,'contentType':_0x529d5c,'statusCode':_0x245f3c,'format':_0x1f9731,'size':_0x260b60[_0xdf2262(_0x3ea1ed._0x1a5f4f,0x310,0x1af,0x1f8)],'fetchedAt':_0x6159bd}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0x38eb01(-0x15,0x87,0x1a7,0x11);function normalizeUrl(_0x39a719){const _0x5f1613={_0x3ad389:0x231,_0x43e9c2:0x20a,_0x21a62d:0x124,_0x5ec871:0xe3,_0x521dbf:0x83,_0x91a0d1:0x8,_0x2a430c:0xc9,_0x20efb9:0x20d,_0x2ed3f7:0x194,_0x58ca78:0x130,_0x25de37:0x1d,_0x431397:0x15c,_0x3d8297:0xb8,_0x423537:0x1,_0x5778d1:0x14d,_0x45a6b2:0x103,_0x478785:0xbb,_0x597c85:0x96,_0xd6189c:0x19f},_0x315c41={_0x38929b:0x19b},_0x400bb5={_0x27907e:0x178};function _0x2e0df4(_0x3c4eda,_0x3fe4a8,_0xf7235d,_0x60eff8){return _0x38eb01(_0x3c4eda,_0xf7235d-_0x400bb5._0x27907e,_0xf7235d-0xf8,_0x60eff8-0x14f);}function _0x8942bf(_0x957d77,_0x11d37b,_0x115b08,_0x3ddfa9){return _0x2cc51b(_0x115b08,_0x11d37b-_0x315c41._0x38929b,_0x115b08-0xcd,_0x957d77- -0x356);}try{const _0xe6a18a=new URL(_0x39a719);for(const _0x3575b1 of[_0x8942bf(_0x5f1613._0x3ad389,_0x5f1613._0x43e9c2,0x1e8,_0x5f1613._0x21a62d),_0x8942bf(0x3e,0x18a,_0x5f1613._0x5ec871,-0x10e),_0x8942bf(-0x94,-_0x5f1613._0x521dbf,-_0x5f1613._0x91a0d1,-0x150),_0x2e0df4(-0x1f1,-_0x5f1613._0x2a430c,-0xc8,-_0x5f1613._0x20efb9),_0x8942bf(_0x5f1613._0x2ed3f7,0x109,0x9c,0xf8),_0x8942bf(0x210,0x1fd,0xd4,0x197),_0x2e0df4(-0x159,-_0x5f1613._0x58ca78,-_0x5f1613._0x25de37,_0x5f1613._0x431397),'mc_cid',_0x2e0df4(_0x5f1613._0x3d8297,-0x186,-_0x5f1613._0x423537,_0x5f1613._0x5778d1)]){_0xe6a18a['searchParams'][_0x2e0df4(_0x5f1613._0x45a6b2,0x189,0x117,0x96)](_0x3575b1);}return _0xe6a18a[_0x8942bf(_0x5f1613._0x478785,_0x5f1613._0x597c85,_0x5f1613._0xd6189c,0xa4)]();}catch{return _0x39a719;}}function cseDateRestrict(_0x103afb){const _0x48b6c3={_0x9baae:0x460,_0xf1769b:0x1e1},_0x4d7e36={_0xca21f7:0x203,_0x4f88a6:0xab,_0x5b555c:0xa5},_0x2ec0e0={_0x386c42:0x303,_0xdb1f1b:0x1cc};function _0x90235f(_0x44fc16,_0x90f8,_0x397b45,_0x5df8a8){return _0x38eb01(_0x90f8,_0x44fc16-_0x2ec0e0._0x386c42,_0x397b45-_0x2ec0e0._0xdb1f1b,_0x5df8a8-0x19c);}function _0x29af30(_0x1aa2c4,_0x526815,_0x490b0c,_0x5cefa4){return _0x38eb01(_0x1aa2c4,_0x526815-_0x4d7e36._0xca21f7,_0x490b0c-_0x4d7e36._0x4f88a6,_0x5cefa4-_0x4d7e36._0x5b555c);}if(_0x103afb<=0x0)return void 0x0;if(_0x103afb<=0x1e)return'd'+Math[_0x90235f(0x2ea,_0x48b6c3._0x9baae,0x2f5,_0x48b6c3._0xf1769b)](0x1,Math['floor'](_0x103afb));if(_0x103afb<=0x16d)return'm'+Math[_0x29af30(0x276,0x1ec,0x255,0x2ec)](_0x103afb/0x1e);return'y'+Math['ceil'](_0x103afb/0x16d);}function addSiteFilters(_0x37649a,_0x4a38a6){const _0x303f8b={_0x5cee17:0x54f,_0x2506ea:0x3f3,_0x2d45a0:0x6ce,_0x4e0eec:0x77e,_0x4e9e03:0xde,_0x1438a7:0x384,_0x173529:0x439},_0x19ee9e={_0x1420a8:0x1a5,_0x3413a9:0x7},_0x45af7d={_0xa6380:0x656};function _0x2d2c8f(_0x426ad5,_0x9187d6,_0xee6a0b,_0x283f67){return _0x38eb01(_0x426ad5,_0xee6a0b-_0x45af7d._0xa6380,_0xee6a0b-0x1f0,_0x283f67-0x1ab);}if(_0x4a38a6[_0x2d2c8f(0x446,0x408,_0x303f8b._0x5cee17,_0x303f8b._0x2506ea)]===0x0)return _0x37649a['trim']();function _0x546ca6(_0x5f231d,_0x46de86,_0x3e8f44,_0x541eef){return _0x38eb01(_0x46de86,_0x541eef-0x428,_0x3e8f44-_0x19ee9e._0x1420a8,_0x541eef-_0x19ee9e._0x3413a9);}return(_0x37649a+'\x20('+_0x4a38a6[_0x2d2c8f(_0x303f8b._0x2d45a0,_0x303f8b._0x4e0eec,0x603,0x683)](_0x7a3fef=>_0x546ca6(0xf3,0x29b,0x231,0x219)+_0x7a3fef)[_0x546ca6(_0x303f8b._0x4e9e03,_0x303f8b._0x1438a7,0x391,0x251)]('\x20OR\x20')+')')[_0x546ca6(0x5a5,0x336,0x5a2,_0x303f8b._0x173529)]();}function normalizeType(_0x1e9aaa){const _0x105f17={_0x4fcf09:0x144,_0x2f4ee7:0x25,_0x186e5e:0x8f,_0x5881a9:0x12,_0x293cb1:0x24},_0x48047f={_0x5cf3c2:0x1cb},_0x13334b={_0x53f498:0x47d};function _0x15ef1a(_0xccf792,_0x2fd814,_0x2f2f5b,_0x41f111){return _0x2cc51b(_0x2f2f5b,_0x2fd814-0x36,_0x2f2f5b-0x19b,_0x41f111- -_0x13334b._0x53f498);}function _0x429850(_0x399af5,_0x5627df,_0x1f8a69,_0x18471c){return _0x38eb01(_0x399af5,_0x5627df-0x25,_0x1f8a69-0x123,_0x18471c-_0x48047f._0x5cf3c2);}return _0x1e9aaa===_0x15ef1a(0x12a,-0xd9,_0x105f17._0x4fcf09,-_0x105f17._0x2f4ee7)?_0x429850(-0x140,-_0x105f17._0x186e5e,_0x105f17._0x5881a9,_0x105f17._0x293cb1):'web';}async function fetchJson(_0x35759d,_0x29e63f,_0x178f27){const _0x296b08={_0x37f2ca:0x2a3,_0x23fd84:0x1ab,_0x258a10:0x130,_0x5001cc:0x18d,_0xd4ce38:0x25,_0x298013:0x49,_0x2d3142:0x7e,_0x4bb297:0x579,_0x346528:0x2f6,_0x4f99af:0x30e,_0x4fafec:0x465,_0x2caade:0x514,_0x43245d:0x41f,_0xf7f3fd:0x22f,_0x40501c:0x10,_0x40befb:0x3f8,_0x5e7763:0x46b,_0x34e4c9:0x485,_0x21fe72:0x27c,_0x27d9a:0x124,_0xfd8cca:0x23d,_0x134dbb:0x1a5,_0xf7a076:0x35c,_0x1b0f08:0x408,_0x218ef2:0x463,_0x119b7c:0xc1,_0xa95fa0:0x440,_0x39b1ff:0x512,_0x30f34c:0x596,_0x5ccb0c:0x518,_0x50d4a9:0x50e,_0x792053:0x564,_0x1de01f:0x557,_0x529b27:0x143,_0x14ef5d:0x9e},_0x51e188=await fetch(_0x35759d,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x10a7e4(-_0x296b08._0x37f2ca,-_0x296b08._0x23fd84,-0x192,-0x19c),..._0x178f27?.[_0x10a7e4(_0x296b08._0x258a10,_0x296b08._0x5001cc,_0x296b08._0xd4ce38,0x13)]},'signal':_0x29e63f,..._0x178f27});if(!_0x51e188['ok']){let _0x26c0a4,_0x53c8a9;try{_0x26c0a4=await _0x51e188[_0x10a7e4(-_0x296b08._0x298013,-_0x296b08._0x2d3142,-0x1eb,-0x189)]();const _0x47dbcc=JSON['parse'](_0x26c0a4),_0x269d2f=typeof _0x47dbcc[_0x457c90(_0x296b08._0x4bb297,_0x296b08._0x346528,0x41f,_0x296b08._0x4f99af)]===_0x457c90(0x30f,0x3f8,_0x296b08._0x4fafec,0x489)?_0x47dbcc[_0x457c90(_0x296b08._0x2caade,0x2ae,_0x296b08._0x43245d,0x32e)][_0x10a7e4(-_0x296b08._0xf7f3fd,_0x296b08._0x40501c,-0x5b,-0x107)]:void 0x0;_0x53c8a9=_0x47dbcc['error']?.[_0x457c90(0x358,_0x296b08._0x40befb,_0x296b08._0x5e7763,_0x296b08._0x34e4c9)]??_0x47dbcc['error']?.[_0x457c90(0x259,0x3e1,_0x296b08._0x21fe72,0x267)]?.[0x0]?.['message']??_0x269d2f;}catch{}const _0x2b6fa0=_0x53c8a9?_0x10a7e4(-_0x296b08._0x27d9a,-_0x296b08._0xfd8cca,-0x1b5,-_0x296b08._0x134dbb)+_0x51e188[_0x457c90(_0x296b08._0xf7a076,0x360,_0x296b08._0x1b0f08,_0x296b08._0x218ef2)]+':\x20'+_0x53c8a9:_0x10a7e4(-0xeb,-_0x296b08._0x119b7c,-0xba,-_0x296b08._0x134dbb)+_0x51e188[_0x457c90(_0x296b08._0xa95fa0,_0x296b08._0x39b1ff,0x408,0x538)]+'\x20'+_0x51e188[_0x457c90(_0x296b08._0x30f34c,_0x296b08._0x5ccb0c,_0x296b08._0x50d4a9,_0x296b08._0x792053)];throw new ToolExecutionError(_0x2b6fa0,{'statusCode':_0x51e188[_0x457c90(0x306,_0x296b08._0x1de01f,0x408,0x4af)],..._0x26c0a4?{'body':_0x26c0a4}:{}});}function _0x457c90(_0x1127d8,_0x4186c9,_0x5b4c95,_0x286592){return _0x2cc51b(_0x4186c9,_0x4186c9-0x9b,_0x5b4c95-0xe4,_0x5b4c95- -0x13);}function _0x10a7e4(_0x2e8b81,_0x14ee21,_0x25a5a1,_0x431ff6){return _0x2cc51b(_0x14ee21,_0x14ee21-0x3d,_0x25a5a1-0x156,_0x431ff6- -0x43f);}return await _0x51e188[_0x10a7e4(-_0x296b08._0x529b27,0xd,-_0x296b08._0x14ef5d,0x4)]();}async function hydrateResults(_0x1e03cb,_0x31afaf,_0x1e83f8,_0x42c97a){const _0x49a5a6={_0x5e02a9:0x67,_0x390e5d:0x63,_0x8ceb73:0x90,_0x36865b:0x11b,_0x582cd0:0x33b,_0x3a9188:0xd1,_0xeb88c:0xbf,_0x5c54a1:0x52},_0x3fbbe2={_0x6b775a:0x112,_0x5e5bc5:0xc3},_0x2a523e={_0x2e1aa2:0xb2,_0x4ef1a1:0x1,_0x5c59fd:0x1a5,_0x182d35:0x74,_0x5119d8:0xe,_0x1434e1:0x26c,_0x146270:0x16e,_0xeacb95:0x1e8,_0x3a8f98:0x72,_0x2dfeb2:0x184,_0x30698c:0x236,_0x5e833c:0x19c,_0x3ee790:0x10b,_0x2fdee2:0xed,_0x3a977a:0xc8,_0x57bfa5:0x98,_0x46f2cc:0xd7,_0xd1de8f:0x205,_0x5605ea:0x106,_0x38b979:0x70,_0x317b44:0x236,_0x27d073:0x334,_0x3ecc00:0x12d,_0x3b17e2:0x91,_0x203a16:0x176,_0x12a58d:0x30,_0x34225c:0xe2,_0x1bbaef:0x56,_0x15330d:0x1b3,_0x44f9ef:0x16c,_0x543449:0x92,_0x331c16:0x196,_0x54f24e:0xbe,_0x4d4549:0x43,_0x48d11f:0x134,_0x2fba25:0x55,_0xd344f5:0x72,_0x31ce99:0x6,_0x12ae35:0x2d0,_0x1fc2d7:0x2,_0x56750a:0x1f6,_0x5068f3:0x390,_0x211f46:0x227,_0x50e075:0x283,_0x43d59e:0x83},_0x448028={_0x10b67e:0x19a,_0x21fe23:0x31a};function _0xb482cb(_0x54ea7a,_0x230e6a,_0x5d8e2a,_0x3df289){return _0x2cc51b(_0x230e6a,_0x230e6a-_0x448028._0x10b67e,_0x5d8e2a-0x8c,_0x5d8e2a- -_0x448028._0x21fe23);}const _0x49cfd9=await Promise[_0xb482cb(-0xe5,_0x49a5a6._0x5e02a9,-_0x49a5a6._0x390e5d,-_0x49a5a6._0x8ceb73)](_0x1e03cb[_0xb482cb(0x233,_0x49a5a6._0x36865b,0x257,_0x49a5a6._0x582cd0)](0x0,0xa)[_0x4aa417(0xbf,_0x49a5a6._0x3a9188,0x59,0x13a)](async _0x302ff4=>{const _0x41ef0a={_0x2acc0c:0x1c0},_0x476150={_0x547507:0xf4,_0xa8cb55:0x161};function _0x58e77a(_0x503bfe,_0x534035,_0x2c2ee1,_0x105a5b){return _0x4aa417(_0x534035- -_0x476150._0x547507,_0x105a5b,_0x2c2ee1-_0x476150._0xa8cb55,_0x105a5b-0x16e);}function _0x1da5f7(_0x1abcc4,_0x1a736,_0x5161f7,_0x13f4da){return _0x4aa417(_0x5161f7- -0x2a,_0x13f4da,_0x5161f7-0xbd,_0x13f4da-_0x41ef0a._0x2acc0c);}try{const _0x3bffa4=await safeFetch(_0x302ff4[_0x58e77a(-0x1b0,-0x4b,_0x2a523e._0x2e1aa2,_0x2a523e._0x4ef1a1)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x31afaf,'Accept':_0x58e77a(_0x2a523e._0x5c59fd,0x6e,-_0x2a523e._0x182d35,-_0x2a523e._0x5119d8)},'signal':_0x1e83f8},{'lookup':_0x42c97a});if(!_0x3bffa4['ok'])return _0x302ff4;const _0xb26590=await _0x3bffa4[_0x1da5f7(-_0x2a523e._0x1434e1,-0x8a,-_0x2a523e._0x146270,-0x63)](),_0x582ec0=load(_0xb26590),_0xe2fe5e=_0x582ec0(_0x1da5f7(_0x2a523e._0xeacb95,0xfb,0x109,_0x2a523e._0x3a8f98))[_0x58e77a(-_0x2a523e._0x2dfeb2,-_0x2a523e._0x30698c,-_0x2a523e._0x5e833c,-_0x2a523e._0x3ee790)](_0x58e77a(-0x1fd,-0xfc,-0xc9,-0x5a))||_0x582ec0(_0x58e77a(-_0x2a523e._0x2fdee2,-0x227,-0x361,-0x120))['first']()['text']()['trim'](),_0x51036=_0x582ec0(_0x58e77a(-_0x2a523e._0x3a977a,_0x2a523e._0x57bfa5,-0xc9,-_0x2a523e._0x46f2cc))[_0x1da5f7(-_0x2a523e._0xd1de8f,-_0x2a523e._0x5605ea,-0x16c,-0xed)](_0x58e77a(-0xa5,-0xfc,_0x2a523e._0x38b979,-0x180))||_0x582ec0('meta[property=\x27og:description\x27]')[_0x58e77a(-0xb9,-_0x2a523e._0x317b44,-0x28a,-_0x2a523e._0x27d073)](_0x1da5f7(-_0x2a523e._0x3ecc00,_0x2a523e._0x3b17e2,-0x32,-0xf1))||_0x302ff4['snippet'],_0x49a125=_0x582ec0('meta[property=\x27article:published_time\x27]')['attr'](_0x58e77a(-_0x2a523e._0x203a16,-0xfc,0x48,_0x2a523e._0x12a58d))||_0x582ec0(_0x1da5f7(_0x2a523e._0x34225c,0x81,-_0x2a523e._0x1bbaef,-_0x2a523e._0x15330d))[_0x1da5f7(-0x2cd,-0x1b9,-_0x2a523e._0x44f9ef,-0x70)](_0x1da5f7(_0x2a523e._0x543449,-0x11f,-0x6e,-_0x2a523e._0x331c16))||_0x302ff4[_0x58e77a(_0x2a523e._0x54f24e,_0x2a523e._0x4d4549,_0x2a523e._0x48d11f,-_0x2a523e._0x2fba25)],_0x3a26ad=_0x582ec0(_0x1da5f7(-0x13,0x120,_0x2a523e._0xd344f5,-_0x2a523e._0x31ce99))[_0x1da5f7(-_0x2a523e._0x12ae35,-_0x2a523e._0x1fc2d7,-_0x2a523e._0x44f9ef,-0x1b8)](_0x58e77a(-0xb7,0x75,_0x2a523e._0x56750a,0x48));return{..._0x302ff4,'title':_0xe2fe5e||_0x302ff4[_0x58e77a(-_0x2a523e._0x5068f3,-_0x2a523e._0x211f46,-_0x2a523e._0x50e075,-0x2a9)],'snippet':_0x51036,'url':_0x3a26ad?normalizeUrl(new URL(_0x3a26ad,_0x302ff4['url'])['toString']()):_0x302ff4[_0x1da5f7(-_0x2a523e._0x43d59e,-0x8f,0x7f,0x1b6)],'publishedAt':_0x49a125};}catch{return _0x302ff4;}}));function _0x4aa417(_0x5c4435,_0x391fdf,_0x4563f6,_0x5a6f79){return _0x38eb01(_0x391fdf,_0x5c4435-_0x3fbbe2._0x6b775a,_0x4563f6-_0x3fbbe2._0x5e5bc5,_0x5a6f79-0x8e);}const _0x13ada8=new Map(_0x1e03cb[_0xb482cb(0x2ff,0x148,0x257,0x1fb)](0x0,0xa)[_0x4aa417(_0x49a5a6._0xeb88c,0x227,0x2,_0x49a5a6._0x5c54a1)]((_0x4a708e,_0x49ded5)=>[_0x4a708e[_0x4aa417(0xa9,0x61,0x22e,0x1ce)],_0x49cfd9[_0x49ded5]]));return _0x1e03cb['map'](_0x52e5ee=>_0x13ada8['get'](_0x52e5ee[_0x4aa417(0xa9,0x152,0x150,0x1cd)])??_0x52e5ee);}function formatResults(_0x156779){const _0x1e03bc={_0x3532a8:0x169,_0x4e2989:0x1fc,_0x4bcff4:0x1d6},_0x269e85={_0x1a7492:0x12d,_0x13fde4:0x157,_0x4f1353:0x11a,_0x3d2ff0:0xdd,_0x575b9e:0x29,_0x3bf604:0x130,_0x2d373f:0x87,_0x1cca39:0xb8,_0x4b4705:0x21,_0x337d22:0x1de,_0x4e7a64:0x15a,_0x3006b6:0x1b6,_0x5e1fdf:0x2c,_0x271763:0x5e,_0xa0db8f:0x1f,_0x1c08b6:0x86,_0xf8cf6d:0x21a},_0x39c6fd={_0x537311:0xb6},_0x1c8e38={_0x3c27d3:0x303,_0x1c4f5c:0x39};function _0x8e0f48(_0x2e0952,_0x3ede55,_0x27d354,_0x1815d0){return _0x38eb01(_0x3ede55,_0x27d354-_0x1c8e38._0x3c27d3,_0x27d354-0xf4,_0x1815d0-_0x1c8e38._0x1c4f5c);}if(_0x156779[_0x8e0f48(0x2be,_0x1e03bc._0x3532a8,_0x1e03bc._0x4e2989,0x81)]===0x0)return _0x1144aa(0x341,_0x1e03bc._0x4bcff4,0x2f4,0x23f);function _0x1144aa(_0x511182,_0x58a65f,_0xbb5dda,_0x2800f2){return _0x38eb01(_0x2800f2,_0x58a65f-0x25d,_0xbb5dda-0x93,_0x2800f2-_0x39c6fd._0x537311);}return _0x156779['map'](_0x572ab4=>{const _0x7981a9=[_0x572ab4[_0x83a88e(_0x269e85._0x1a7492,-0x8,0x5,-_0x269e85._0x13fde4)][_0x2f7016(_0x269e85._0x4f1353,-0x1d,-0x48,0x252)]+'.\x20'+_0x572ab4[_0x2f7016(-_0x269e85._0x3d2ff0,-0x1ff,-0x6f,_0x269e85._0x575b9e)],_0x572ab4[_0x83a88e(-0xce,0x12,_0x269e85._0x3bf604,0x14e)]];function _0x2f7016(_0x308fbb,_0x23bed6,_0x198c1c,_0x3d7eae){return _0x8e0f48(_0x308fbb-0x118,_0x198c1c,_0x308fbb- -0x19b,_0x3d7eae-0x9c);}if(_0x572ab4[_0x83a88e(-_0x269e85._0x2d373f,-_0x269e85._0x1cca39,_0x269e85._0x4b4705,-0x239)])_0x7981a9['push'](_0x572ab4[_0x83a88e(0x91,-_0x269e85._0x1cca39,-0xcf,-_0x269e85._0x337d22)]);function _0x83a88e(_0x4b4db1,_0x4d7204,_0x524a66,_0x433349){return _0x1144aa(_0x4b4db1-0x4c,_0x4d7204- -0x1e2,_0x524a66-0x16e,_0x524a66);}if(_0x572ab4[_0x2f7016(0x18d,_0x269e85._0x4e7a64,0x2de,0x7b)])_0x7981a9[_0x83a88e(-_0x269e85._0x3006b6,-_0x269e85._0x5e1fdf,_0x269e85._0x271763,-_0x269e85._0xa0db8f)](_0x2f7016(-0x10d,-0x22a,-_0x269e85._0x1c08b6,-_0x269e85._0xf8cf6d)+_0x572ab4['publishedAt']);return _0x7981a9['join']('\x0a');})['join']('\x0a\x0a');}async function searchOllama(_0x22d8bc,_0x5ced35,_0x48fe11){const _0x5615e7={_0x2feb07:0x42f,_0x57e2fe:0x5ec,_0x4bf9a0:0x568,_0x5cadaf:0x57e,_0x2c2d34:0x35b,_0x36018f:0x3ac,_0x113b6e:0x4c3,_0x3a4331:0x6bf,_0x24c930:0x5f2,_0x2b69dd:0x4d7,_0x5092c3:0x46e,_0x41da47:0x435,_0x49b7e1:0x756,_0x5f4eb5:0x5e5,_0x43fc55:0x56b,_0x3f1064:0x695,_0xee312b:0x759},_0x5f54c4={_0x8b2949:0x1e2,_0x341726:0x28},_0x2d19bc={_0x11ff53:0x645,_0xd52cd9:0x3c2,_0x35d327:0x4e8,_0x30cee4:0x573,_0x5571e2:0x314,_0x4b57a4:0x5b6,_0x48ac4e:0x443,_0x557efa:0x6ba},_0x12fea2={_0x969a17:0x3e},_0x6c34f1={_0x24b984:0x1f2,_0x891fad:0x1c},_0x4de6c4=Math['max'](0x1,Math[_0x114d0c(0x483,_0x5615e7._0x2feb07,0x315,0x3bb)](0xa,_0x5ced35[_0x4b862b(_0x5615e7._0x57e2fe,_0x5615e7._0x4bf9a0,0x5fa,0x67a)])),_0x225deb=addSiteFilters(_0x5ced35[_0x114d0c(0x693,_0x5615e7._0x5cadaf,0x560,0x4e0)],_0x5ced35[_0x114d0c(_0x5615e7._0x2c2d34,0x35d,0x2bb,_0x5615e7._0x36018f)]);function _0x114d0c(_0x1c1c42,_0x3987df,_0x303b78,_0x2b6e30){return _0x2cc51b(_0x2b6e30,_0x3987df-0x1c1,_0x303b78-_0x6c34f1._0x24b984,_0x303b78- -_0x6c34f1._0x891fad);}const _0x583b25=await fetchJson(_0x114d0c(_0x5615e7._0x2feb07,0x3be,_0x5615e7._0x113b6e,0x5b9),_0x48fe11,{'method':_0x4b862b(_0x5615e7._0x3a4331,_0x5615e7._0x24c930,_0x5615e7._0x2b69dd,0x604),'headers':{'Authorization':'Bearer\x20'+_0x22d8bc['apiKey']},'body':JSON[_0x4b862b(0x2d7,0x3e9,_0x5615e7._0x5092c3,_0x5615e7._0x41da47)]({'query':_0x225deb,'max_results':_0x4de6c4})}),_0x3698a7=_0x583b25['results']??[],_0x14b97f=_0x3698a7[_0x4b862b(0x5a7,0x5dd,_0x5615e7._0x49b7e1,_0x5615e7._0x5f4eb5)]((_0x2ef4c2,_0x331f03)=>{function _0x5b1472(_0x1cdae8,_0x209330,_0x3b6531,_0x3a29f0){return _0x4b862b(_0x1cdae8-0xa8,_0x1cdae8-0x4c,_0x3b6531-0x27,_0x3a29f0);}const _0x98397f=_0x2ef4c2[_0x1bb81a(0x656,0x5f7,0x638,_0x2d19bc._0x11ff53)]||'';let _0x181212;try{_0x181212=new URL(_0x98397f)[_0x1bb81a(0x5b3,_0x2d19bc._0xd52cd9,_0x2d19bc._0x35d327,_0x2d19bc._0x30cee4)];}catch{_0x181212=null;}function _0x1bb81a(_0x275bf6,_0x24cbae,_0x5dca2d,_0x5caef2){return _0x4b862b(_0x275bf6-0x1c6,_0x5dca2d-0x71,_0x5dca2d-_0x12fea2._0x969a17,_0x24cbae);}return{'title':_0x2ef4c2[_0x1bb81a(_0x2d19bc._0x5571e2,0x39e,0x45c,_0x2d19bc._0x4b57a4)]||'Untitled','url':normalizeUrl(_0x98397f),'snippet':_0x2ef4c2[_0x1bb81a(_0x2d19bc._0x48ac4e,0x6f6,0x587,_0x2d19bc._0x557efa)]??null,'displayUrl':_0x181212,'favicon':null,'publishedAt':null,'source':{'engine':'ollama','rank':_0x331f03+0x1}};});function _0x4b862b(_0x5e39f0,_0x4a4e80,_0x2af913,_0xd354e5){return _0x2cc51b(_0xd354e5,_0x4a4e80-_0x5f54c4._0x8b2949,_0x2af913-_0x5f54c4._0x341726,_0x4a4e80-0x124);}return{'items':_0x14b97f[_0x4b862b(_0x5615e7._0x43fc55,_0x5615e7._0x3f1064,_0x5615e7._0xee312b,0x6e1)](0x0,_0x4de6c4),'engine':'ollama'};}async function searchTavily(_0x3364c1,_0x274093,_0x43f0cd){const _0x31418b={_0x55628c:0xd1,_0x4c0397:0xe5,_0x28ee10:0xaa,_0x25a63f:0x199,_0x4115e9:0x381,_0x5f5897:0x8e,_0x348dbe:0xdb,_0x224afd:0x19c,_0x3fe51f:0x1a,_0x395dbe:0x42,_0x3a9585:0x35,_0x5aeecd:0x72,_0x1c7340:0x9d,_0x7b903:0x1f3,_0x404daf:0x2a6,_0x5580b7:0x292,_0x3279d0:0x2bf,_0xc77643:0x28f,_0x66af89:0x2c8,_0x22d3ab:0x168,_0xcadd33:0x17b,_0x228936:0xb4,_0x19f49f:0xc9,_0x356a96:0x81,_0x6f84f9:0x4e,_0x745b42:0x57,_0x1ec2e9:0x7,_0x1d4fae:0xb8,_0x20a69b:0x26,_0x473a7e:0x223,_0x293156:0x2d1,_0x4b8e5b:0x148,_0x3a2929:0x1bd,_0x800c5f:0xdd,_0x340f01:0x11,_0x49c3ed:0x25,_0x275a0d:0xb2,_0x38772e:0xbd},_0x173221={_0x1a8e93:0x68},_0x3902af={_0x5bae05:0x34a,_0x51682e:0x50a,_0x19106a:0x1bc,_0x4218c1:0x38e,_0x4c7976:0x26d,_0x2cb69d:0x3fa,_0x5c2ef6:0x30c,_0x1b0e9d:0x5e2,_0x3cee12:0x3c8},_0x4642ba={_0x268cb0:0x3f},_0x87d5e8={_0x10d2b1:0x76};function _0x43b170(_0x37c69d,_0x358e57,_0x2059b0,_0x22e422){return _0x38eb01(_0x37c69d,_0x2059b0-0x1a3,_0x2059b0-_0x87d5e8._0x10d2b1,_0x22e422-0x15d);}const _0x2e582f=Math[_0x43b170(_0x31418b._0x55628c,_0x31418b._0x4c0397,0x18a,_0x31418b._0x28ee10)](0x1,Math[_0x477d6c(-_0x31418b._0x25a63f,-0x265,-0x21b,-_0x31418b._0x4115e9)](0x14,_0x274093[_0x43b170(-_0x31418b._0x5f5897,0x1f0,_0x31418b._0x348dbe,0x22a)])),_0x346299={'query':_0x274093[_0x477d6c(-_0x31418b._0x224afd,-_0x31418b._0x3fe51f,_0x31418b._0x395dbe,-0x8e)],'max_results':_0x2e582f,'search_depth':_0x3364c1[_0x477d6c(_0x31418b._0x3a9585,-_0x31418b._0x5aeecd,-_0x31418b._0x1c7340,-_0x31418b._0x7b903)]??_0x43b170(0x17d,0x39,0xb1,0x79),'topic':_0x3364c1['topic']??_0x477d6c(-_0x31418b._0x404daf,-0x1b2,-0x74,-0x1b5)};if(_0x274093[_0x477d6c(-_0x31418b._0x5580b7,-_0x31418b._0x3279d0,-_0x31418b._0xc77643,-_0x31418b._0x66af89)]['length']>0x0)_0x346299[_0x43b170(_0x31418b._0x22d3ab,_0x31418b._0xcadd33,_0x31418b._0x228936,_0x31418b._0x19f49f)]=_0x274093['domains'];const _0x54f966=await fetchJson(_0x43b170(0x4f,_0x31418b._0x356a96,-_0x31418b._0x6f84f9,_0x31418b._0x745b42),_0x43f0cd,{'method':'POST','headers':{'Authorization':_0x477d6c(0x102,-_0x31418b._0x1ec2e9,0xaa,-_0x31418b._0x1d4fae)+_0x3364c1[_0x43b170(0x19b,0x7a,0x66,_0x31418b._0x20a69b)],'Content-Type':'application/json'},'body':JSON[_0x477d6c(-_0x31418b._0x473a7e,-_0x31418b._0x293156,-_0x31418b._0x4b8e5b,-0x2a0)](_0x346299)}),_0x3b59a1=_0x54f966[_0x477d6c(-0x291,-0x11b,-_0x31418b._0x3a2929,-0x23)]??[],_0x1b4dba=_0x3b59a1[_0x477d6c(0x93,-_0x31418b._0x800c5f,-0x10f,0x96)]((_0x5eb426,_0x4c2160)=>{const _0x395961={_0x362824:0x283},_0x486fff=_0x5eb426[_0x2db03c(_0x3902af._0x5bae05,0x3dd,_0x3902af._0x51682e,0x3bd)]||'';function _0x2db03c(_0x461a34,_0x4fc71a,_0x5ed3b7,_0xc65ea2){return _0x43b170(_0x4fc71a,_0x4fc71a-0x185,_0xc65ea2-_0x395961._0x362824,_0xc65ea2-0x62);}let _0x5dac92;function _0x17ef12(_0x22c26f,_0x793115,_0x3b36e5,_0x23a6d8){return _0x43b170(_0x3b36e5,_0x793115-_0x4642ba._0x268cb0,_0x23a6d8-0x313,_0x23a6d8-0xdb);}try{_0x5dac92=new URL(_0x486fff)[_0x2db03c(0x1a0,_0x3902af._0x19106a,_0x3902af._0x4218c1,_0x3902af._0x4c7976)];}catch{_0x5dac92=null;}return{'title':_0x5eb426[_0x17ef12(0x340,_0x3902af._0x2cb69d,0x38a,0x271)]||'Untitled','url':normalizeUrl(_0x486fff),'snippet':_0x5eb426[_0x2db03c(0x45f,0x223,0x29f,_0x3902af._0x5c2ef6)]??null,'displayUrl':_0x5dac92,'favicon':null,'publishedAt':null,'source':{'engine':_0x17ef12(0x44a,_0x3902af._0x1b0e9d,_0x3902af._0x3cee12,0x483),'rank':_0x4c2160+0x1}};});function _0x477d6c(_0x4b356a,_0xd3256a,_0x49e4dd,_0x440ce5){return _0x38eb01(_0x440ce5,_0xd3256a- -0x8a,_0x49e4dd-0x21,_0x440ce5-_0x173221._0x1a8e93);}return{'items':_0x1b4dba[_0x477d6c(-_0x31418b._0x340f01,-_0x31418b._0x49c3ed,0xf9,_0x31418b._0x275a0d)](0x0,_0x2e582f),'engine':_0x477d6c(-0xda,-_0x31418b._0x38772e,0x5a,0x33)};}async function searchGoogleCse(_0x150f7c,_0xefa7e7,_0x22bdce){const _0x4ed57b={_0x354f65:0x219,_0x4f76a6:0x299,_0x4c1a08:0x1d2,_0x3b6a99:0xb3,_0x30adcd:0x37,_0xb31561:0x10,_0xf1d9a7:0x56,_0x334d8c:0x18b,_0x227ea6:0x13a,_0x4a217a:0xd5,_0x469e95:0x17,_0x158ed3:0x13c,_0x529901:0x106,_0x460fa2:0x1ef,_0x590b22:0x1e7,_0x3da736:0x1,_0x538f7e:0xc6,_0xc4b334:0xa0,_0x2517b9:0x100,_0x3377dc:0xf5,_0x5cbf9c:0x68,_0x171277:0x366,_0x1b1389:0x234,_0x369611:0x2bc,_0xdbfd75:0x25b,_0x26321c:0x2b,_0x5d552a:0x9a,_0x2cb0ee:0x30,_0x3db310:0x287,_0xd2cc73:0x377,_0xa836cb:0x294,_0x12a606:0x18f,_0x1631c3:0x26f,_0x5f4dff:0x2d2,_0xe39db6:0x20f,_0x3841b7:0x134,_0xc700f7:0x1e3,_0xb76212:0x264,_0x1972f7:0x394,_0x23e4fd:0x2ba,_0x183b0d:0x1cd,_0x321b42:0x216,_0x483652:0x2e6,_0x49e18a:0x206,_0x621482:0x1b2,_0x1e3c2c:0x1d4,_0x34c7d6:0x143,_0x1cac0c:0x1d8,_0x51b730:0x10e,_0x3ac0a6:0x3af,_0x4dd45d:0x291,_0x6a9474:0x18e,_0xf46b77:0xb7,_0x109f9d:0xe,_0x3b3b21:0x54,_0x5c0e8a:0x1ba,_0x6e7c6c:0x246,_0x5396e7:0x12f,_0x33088f:0x2c5,_0x2eec5a:0x1a4,_0x30670a:0x143,_0x44c810:0x182,_0xf21c1e:0x378,_0x2ec84b:0x73,_0xd18996:0x10e,_0x457af9:0x20e,_0x54a5fc:0x1d4,_0x3df404:0x1dd,_0x56b1ed:0x31a,_0x52afb4:0x2b0,_0x307ddc:0xf2,_0x4f1b32:0x12,_0x4bba6c:0x17a,_0x1b78a6:0x37e,_0x313b1f:0x16b,_0x32e042:0x216,_0x36f154:0x118,_0xe7b01b:0x23e,_0x3bb9d1:0x137,_0x361057:0x28b,_0x1b1845:0x3e0,_0x1a6724:0x314,_0x55ad39:0x1cd,_0x173246:0x152,_0x2d6ae6:0x51,_0x4c719f:0x1c3,_0x798c3e:0xa7,_0x28afb9:0x248,_0x49956a:0xc2,_0x71376:0x28f,_0x911b00:0x3c0,_0x517c33:0x42b,_0x39d8fa:0x35c,_0xc595fb:0x2dc,_0x58d6f0:0x1cd,_0x43abfe:0x2c2,_0x3ab6a1:0x1da,_0x1fe078:0xd9,_0x48669f:0x1d3,_0x57b278:0xfe,_0x36c751:0x2a8,_0x2e9ec9:0xc0,_0x41196b:0x207,_0x58ee00:0x37,_0x59be93:0x14a,_0x364892:0x5,_0x52e268:0x7,_0x2ac6ac:0xbd,_0x1731e2:0xd8,_0x456b54:0x116,_0x3d95bf:0xfa,_0x558493:0x268,_0x1cfa87:0x4c,_0x294d12:0x1a5,_0x23ec55:0x57,_0x161b76:0x12a,_0x9bba8d:0x5a,_0x3d9853:0x234,_0x55dfd5:0x9,_0x33dfc2:0x70,_0x3a54ae:0x326,_0x3bebf1:0x1d9,_0x4cd0c2:0xd0,_0x42e888:0x21d,_0x39fb18:0x1c5,_0x365948:0x89,_0x44b522:0x85,_0x537ac8:0x40,_0x13deeb:0x144,_0x1f26c7:0xad,_0x11b2fb:0x194,_0x4a28ac:0x1df,_0x132b16:0x1bc,_0x281278:0x242,_0x2d658e:0x2da,_0x4812b9:0x248},_0x3a39a6={_0x1d4fd7:0x1e7},_0x2510ba={_0x48584c:0xb3},_0x468026=Math[_0x118f18(_0x4ed57b._0x354f65,0x14b,_0x4ed57b._0x4f76a6,_0x4ed57b._0x4c1a08)](0x1,Math[_0x118f18(-_0x4ed57b._0x3b6a99,-_0x4ed57b._0x30adcd,0xdb,_0x4ed57b._0xb31561)](0x32,_0xefa7e7[_0x8011f(_0x4ed57b._0xf1d9a7,0x1ad,0x23e,_0x4ed57b._0x334d8c)]));if(_0xefa7e7[_0x8011f(_0x4ed57b._0x227ea6,_0x4ed57b._0x4a217a,-_0x4ed57b._0x469e95,_0x4ed57b._0x158ed3)]+_0x468026>0x64)throw new ToolExecutionError(_0x118f18(_0x4ed57b._0x529901,_0x4ed57b._0x460fa2,_0x4ed57b._0x590b22,0x192),{'offset':_0xefa7e7[_0x8011f(_0x4ed57b._0x3da736,0xd5,_0x4ed57b._0x538f7e,-_0x4ed57b._0xc4b334)],'count':_0x468026,'maxResults':0x64});const _0x118a2e=cseDateRestrict(_0xefa7e7[_0x8011f(-_0x4ed57b._0x2517b9,0x1e,-_0x4ed57b._0x3377dc,-_0x4ed57b._0x5cbf9c)]);function _0x118f18(_0x760d18,_0x339dc5,_0x4cf2ea,_0x2c9fb9){return _0x2cc51b(_0x339dc5,_0x339dc5-_0x2510ba._0x48584c,_0x4cf2ea-0x5d,_0x2c9fb9- -0x321);}const _0x38c4b4=addSiteFilters(_0xefa7e7[_0x118f18(_0x4ed57b._0x171277,_0x4ed57b._0x1b1389,_0x4ed57b._0x369611,_0x4ed57b._0xdbfd75)],_0xefa7e7['domains']);let _0xa41f49=0x0,_0x4cb0e3=_0xefa7e7[_0x8011f(-_0x4ed57b._0x26321c,0xd5,0x2c,-0x8c)]+0x1;const _0x4de913=[];while(_0xa41f49<_0x468026){const _0xbb7d73=Math[_0x8011f(0x163,_0x4ed57b._0x5d552a,0x14e,_0x4ed57b._0x2cb0ee)](0xa,_0x468026-_0xa41f49),_0x58c8c7=new URL(_0x8011f(0x25e,_0x4ed57b._0x3db310,0x229,_0x4ed57b._0xd2cc73));_0x58c8c7[_0x118f18(_0x4ed57b._0xa836cb,_0x4ed57b._0x12a606,_0x4ed57b._0x1631c3,0x264)][_0x8011f(0x284,0x1cd,_0x4ed57b._0x5f4dff,_0x4ed57b._0xe39db6)](_0x8011f(_0x4ed57b._0x3841b7,_0x4ed57b._0xc700f7,0x2d3,0x104),_0x150f7c['googleCseKey']),_0x58c8c7[_0x118f18(0x280,0x35e,0x24f,_0x4ed57b._0xb76212)]['set']('cx',_0x150f7c[_0x8011f(_0x4ed57b._0x1972f7,0x2be,_0x4ed57b._0x23e4fd,0x2cf)]),_0x58c8c7[_0x118f18(0x1e9,0x2fc,0x290,0x264)][_0x8011f(0x266,_0x4ed57b._0x183b0d,_0x4ed57b._0x321b42,_0x4ed57b._0x483652)]('q',_0x38c4b4),_0x58c8c7[_0x118f18(0x32f,_0x4ed57b._0x49e18a,0x268,_0x4ed57b._0xb76212)][_0x118f18(_0x4ed57b._0x621482,0x1b8,_0x4ed57b._0x1e3c2c,_0x4ed57b._0x34c7d6)](_0x118f18(-_0x4ed57b._0x1cac0c,0x41,_0x4ed57b._0x51b730,-0x7a),String(_0xbb7d73)),_0x58c8c7[_0x118f18(0x2b7,0x3b8,_0x4ed57b._0x3ac0a6,_0x4ed57b._0xb76212)][_0x8011f(_0x4ed57b._0x4dd45d,0x1cd,0x274,0x1a8)](_0x118f18(0x30c,0x249,0x19c,0x1c2),String(_0x4cb0e3)),_0x58c8c7['searchParams'][_0x118f18(0x213,0x1f5,0x236,0x143)](_0x118f18(_0x4ed57b._0x6a9474,_0x4ed57b._0xf46b77,_0x4ed57b._0x109f9d,0x112),_0xefa7e7[_0x8011f(0xed,0x19c,0x3a,_0x4ed57b._0x3b3b21)]?_0x8011f(0xa8,0x61,_0x4ed57b._0x5c0e8a,0x13):'off');_0xefa7e7['lang']&&(_0x58c8c7['searchParams'][_0x118f18(0x1c4,0x2b5,0x287,0x143)]('hl',_0xefa7e7[_0x118f18(0x285,_0x4ed57b._0x6e7c6c,_0x4ed57b._0x5396e7,0x10e)]),_0x58c8c7[_0x118f18(0x249,0x381,_0x4ed57b._0x33088f,0x264)][_0x118f18(0x16b,_0x4ed57b._0x2eec5a,0x262,_0x4ed57b._0x30670a)]('lr',_0x8011f(0x300,0x2ba,_0x4ed57b._0x44c810,_0x4ed57b._0xf21c1e)+_0xefa7e7[_0x118f18(_0x4ed57b._0x2ec84b,-0x5,0x138,_0x4ed57b._0xd18996)]));if(_0xefa7e7['region'])_0x58c8c7[_0x8011f(_0x4ed57b._0x457af9,0x2ee,_0x4ed57b._0x54a5fc,_0x4ed57b._0x3df404)][_0x8011f(0x320,_0x4ed57b._0x183b0d,_0x4ed57b._0x56b1ed,_0x4ed57b._0x52afb4)]('gl',_0xefa7e7[_0x8011f(0x1dc,_0x4ed57b._0x307ddc,-_0x4ed57b._0x4f1b32,-0x44)][_0x8011f(0x141,0x27b,_0x4ed57b._0x4bba6c,_0x4ed57b._0x1b78a6)]());if(_0xefa7e7[_0x8011f(_0x4ed57b._0x313b1f,0xba,_0x4ed57b._0x32e042,_0x4ed57b._0x36f154)]===_0x118f18(_0x4ed57b._0xe7b01b,0x97,0x14e,_0x4ed57b._0x3bb9d1))_0x58c8c7[_0x118f18(_0x4ed57b._0x361057,_0x4ed57b._0x1b1845,_0x4ed57b._0x1a6724,0x264)][_0x8011f(0x26e,_0x4ed57b._0x55ad39,_0x4ed57b._0x173246,_0x4ed57b._0x2d6ae6)](_0x8011f(0x117,_0x4ed57b._0x4c719f,_0x4ed57b._0x798c3e,0xb0),_0x8011f(_0x4ed57b._0x28afb9,0x17f,_0x4ed57b._0x49956a,_0x4ed57b._0x71376));if(_0x118a2e)_0x58c8c7[_0x8011f(_0x4ed57b._0x911b00,0x2ee,_0x4ed57b._0x517c33,_0x4ed57b._0x39d8fa)][_0x8011f(_0x4ed57b._0xc595fb,_0x4ed57b._0x58d6f0,0x34e,_0x4ed57b._0x43abfe)](_0x118f18(0x216,-0x63,_0x4ed57b._0x3ab6a1,0xbf),_0x118a2e);const _0x509f03=await fetchJson(_0x58c8c7[_0x118f18(_0x4ed57b._0x1fe078,0x1e0,_0x4ed57b._0x48669f,0xf0)](),_0x22bdce),_0x11ecae=_0x509f03[_0x118f18(_0x4ed57b._0x57b278,_0x4ed57b._0x36c751,_0x4ed57b._0x2e9ec9,_0x4ed57b._0x41196b)]??[];if(_0x11ecae[_0x8011f(_0x4ed57b._0x54a5fc,0x16e,0x0,_0x4ed57b._0x58ee00)]===0x0)break;const _0x1405e4=_0xa41f49;for(let _0x27bffc=0x0;_0x27bffc<_0x11ecae['length'];_0x27bffc++){const _0x2bb14a=_0x11ecae[_0x27bffc];if(!_0x2bb14a)continue;const _0x16e2f8=_0x2bb14a[_0x8011f(_0x4ed57b._0x59be93,_0x4ed57b._0x364892,-_0x4ed57b._0x52e268,-_0x4ed57b._0x2ac6ac)]||_0x2bb14a[_0x8011f(_0x4ed57b._0x1731e2,0x17f,0xa3,0xf2)]?.[_0x118f18(-_0x4ed57b._0x456b54,-_0x4ed57b._0x3d95bf,0x135,-0x2c)]||'',_0x46dd4c=_0x2bb14a['title']||_0x2bb14a[_0x118f18(_0x4ed57b._0x558493,0x13b,-_0x4ed57b._0x1cfa87,0xf5)]?.[_0x118f18(-_0x4ed57b._0x294d12,-_0x4ed57b._0x23ec55,_0x4ed57b._0x161b76,-_0x4ed57b._0x9bba8d)]||_0x8011f(0x65,0x1b6,0x2aa,0x262),_0x2bbb80=_0x2bb14a[_0x8011f(_0x4ed57b._0x3d9853,0x142,_0x4ed57b._0x55dfd5,_0x4ed57b._0x33dfc2)]||_0x2bb14a[_0x8011f(0x2c9,0x1fa,_0x4ed57b._0x3a54ae,0x11e)]?.['replace'](/<[^>]+>/g,''),_0x47019d=_0x2bb14a[_0x8011f(_0x4ed57b._0x3bebf1,_0x4ed57b._0x4cd0c2,_0x4ed57b._0x42e888,-0xe)]?.[_0x118f18(0x259,0x298,0xa7,_0x4ed57b._0x39fb18)]?.[0x0]??{};let _0x5c1170;try{_0x5c1170=new URL(_0x16e2f8)[_0x8011f(0x57,0xbc,-_0x4ed57b._0x365948,-_0x4ed57b._0x44b522)];}catch{_0x5c1170=null;}_0x4de913[_0x118f18(0x290,_0x4ed57b._0x537ac8,0x4f,_0x4ed57b._0x13deeb)]({'title':_0x46dd4c,'url':normalizeUrl(_0x16e2f8),'snippet':_0x2bbb80??null,'displayUrl':_0x5c1170,'favicon':null,'publishedAt':_0x47019d[_0x118f18(-0x6e,-_0x4ed57b._0x1f26c7,_0x4ed57b._0x11b2fb,0xc5)]||_0x47019d['og:updated_time']||null,'source':{'engine':'google-cse','rank':_0x1405e4+_0x27bffc+0x1}});}_0xa41f49+=_0x11ecae[_0x8011f(0x1e,0x16e,0x185,_0x4ed57b._0x4a28ac)],_0x4cb0e3+=_0x11ecae['length'];if(_0x11ecae[_0x8011f(0x2e5,0x16e,_0x4ed57b._0x132b16,0x18b)]<_0xbb7d73)break;}function _0x8011f(_0x145c36,_0x3b4221,_0x1cad88,_0x3d3eba){return _0x2cc51b(_0x3d3eba,_0x3b4221-_0x3a39a6._0x1d4fd7,_0x1cad88-0xa6,_0x3b4221- -0x297);}return _0x4de913[_0x8011f(_0x4ed57b._0x281278,_0x4ed57b._0x2d658e,_0x4ed57b._0x4812b9,0x209)](0x0,_0x468026);}function isGoogleCseEngine(_0x16b8ed){return'googleCseKey'in _0x16b8ed;}function isOllamaEngine(_0x4cd02b){const _0x1e4b93={_0x10369b:0x289,_0x2675c4:0x3d0,_0x5bbe3a:0x285},_0x4c6fbd={_0x2b0469:0x40a,_0x96c209:0x1e8};function _0x2e1247(_0x5d6d96,_0x51fb6e,_0x2434c3,_0x1efb55){return _0x38eb01(_0x51fb6e,_0x2434c3-_0x4c6fbd._0x2b0469,_0x2434c3-_0x4c6fbd._0x96c209,_0x1efb55-0x1ba);}return _0x2e1247(0x2c8,_0x1e4b93._0x10369b,_0x1e4b93._0x2675c4,_0x1e4b93._0x5bbe3a)in _0x4cd02b;}function isTavilyEngine(_0x5e1190){const _0x3d83df={_0xbc675c:0x50e,_0x4461a2:0x56c,_0x366c1c:0x4fa},_0xb92809={_0x5b3f38:0x64b,_0x5c6417:0xcc};function _0x2a6cb5(_0x51d34f,_0x1431bb,_0x3e7836,_0x35127a){return _0x38eb01(_0x35127a,_0x51d34f-_0xb92809._0x5b3f38,_0x3e7836-0x1c6,_0x35127a-_0xb92809._0x5c6417);}return _0x2a6cb5(_0x3d83df._0xbc675c,0x45f,_0x3d83df._0x4461a2,_0x3d83df._0x366c1c)in _0x5e1190;}function createWebSearchTool(_0x40d6c1){const _0x30c0a1={_0x3afc37:0x372,_0x3a8ec5:0x335,_0x1b187a:0x279,_0x233712:0x194,_0x41589c:0x118,_0x2163a9:0x250,_0x492e4f:0x231,_0x165ccf:0x485,_0x3899a0:0x4ba,_0x40cd85:0x4bd,_0x4c2562:0x2a8,_0x331ef6:0x65b,_0x39aa60:0x78c,_0x32c518:0x47b,_0x332f1a:0x45c,_0x508e91:0x56d,_0x4763a3:0x48a,_0x288513:0x505,_0x3adefa:0x5b8,_0x4773ca:0x5df,_0x519e17:0x654,_0x6ffda7:0x503,_0x45e865:0x625,_0x53af84:0x32d,_0x37aab1:0x3e7,_0x15f159:0x3c1,_0x26e961:0x45b,_0x2b0ffb:0x5b9,_0x14de2d:0x660,_0x427353:0x6c8},_0x25a53d={_0x48e6b9:0x355,_0x46bcf5:0x257,_0x224433:0x3dc,_0x54df43:0x291,_0xdd88fa:0x461,_0x21b193:0x1f9,_0x14f4b4:0x42b,_0x22f8f9:0x357,_0x10477a:0x378,_0x382264:0x313,_0x76a45b:0x353,_0x3f6589:0xe8,_0x1a740d:0x1d2,_0x40fd27:0x105,_0x5e2830:0x67,_0x4604e1:0x105,_0x583d8a:0xa,_0x57a349:0x1c8,_0x37377c:0x264,_0x4e6806:0x36e,_0x273755:0x29d,_0x14852b:0x1e9,_0x21fa2d:0xf4,_0x2d104d:0x28e,_0x54a218:0x359,_0x38773e:0x1e8,_0x1ed355:0x33f,_0x4b760e:0x241,_0x5375f1:0x1fe,_0x25889a:0x305,_0x399175:0xfb,_0x13fe35:0x49,_0x198d30:0x5a,_0x55ae5f:0x274,_0x1cc461:0x44c,_0x2b24cb:0x325,_0x2bac60:0x19e,_0x21364c:0xc5,_0x1da22e:0x27,_0x301020:0x100,_0x12f642:0xaa,_0x5ecc9e:0x265,_0x1cb16d:0x66,_0x35a27e:0x424,_0xf76278:0x109,_0x5872a4:0x248,_0x43d0f5:0x265,_0xad75c9:0x13a,_0x1d8a4a:0xde,_0xa3a14:0x4e,_0x434029:0x1b9,_0x5c8b5d:0xc7,_0x15810b:0x1c8,_0x228429:0xcc,_0x14b750:0x184,_0xbb2a1c:0x330,_0x302ab3:0x28f,_0x394d4b:0x2ab,_0x1cf2d3:0x1f4,_0x31078d:0x5,_0x2c8a26:0x88,_0x1488b6:0x122,_0x32ea4b:0x1fe,_0x37d80d:0x239,_0x11c7f8:0x19e,_0x39fbef:0x30a,_0x3b4034:0x27e,_0x119c4e:0x399,_0x1dbd76:0x183,_0xb58e0a:0x125,_0x34ef45:0x2d0,_0x33d46d:0x1dd,_0x32628e:0x27f,_0x69e69a:0x1c2,_0xdee8c0:0x2e2},_0x35382c={_0x56ba4b:0x284},_0xafe0d0={_0x38e19b:0x9d},_0x3c1988={_0x4d2830:0x31,_0xdef146:0x2};if(!_0x40d6c1[_0x3560e3(0x390,0x273,_0x30c0a1._0x3afc37,_0x30c0a1._0x3a8ec5)]||_0x40d6c1[_0x1574fe(_0x30c0a1._0x1b187a,_0x30c0a1._0x233712,0xf7,0x1a8)]['length']===0x0)throw new Error(_0x1574fe(0x275,_0x30c0a1._0x41589c,_0x30c0a1._0x2163a9,_0x30c0a1._0x492e4f));function _0x3560e3(_0x50c43d,_0x3eb4db,_0x26d8ff,_0x35350e){return _0x38eb01(_0x3eb4db,_0x26d8ff-0x5f0,_0x26d8ff-_0x3c1988._0x4d2830,_0x35350e-_0x3c1988._0xdef146);}const _0x3bf496=_0x40d6c1[_0x1574fe(0x31b,0xfe,0x1b1,0x1c8)]??'WebSearch',_0x4d7cd6=_0x40d6c1[_0x3560e3(_0x30c0a1._0x165ccf,0x418,_0x30c0a1._0x3899a0,_0x30c0a1._0x40cd85)];function _0x1574fe(_0x1257e0,_0x30d892,_0xa6d367,_0x127f9d){return _0x38eb01(_0xa6d367,_0x127f9d-0x426,_0xa6d367-0xa9,_0x127f9d-_0xafe0d0._0x38e19b);}return defineTool({'name':_0x3bf496,'permissionClass':'read','description':_0x1574fe(0x345,0x43b,0x30a,0x41d),'inputSchema':{'type':_0x1574fe(0x50f,_0x30c0a1._0x4c2562,0x249,0x392),'properties':{'description':{'type':_0x3560e3(_0x30c0a1._0x331ef6,0x4f0,0x654,_0x30c0a1._0x39aa60)},'query':{'type':_0x1574fe(_0x30c0a1._0x32c518,_0x30c0a1._0x332f1a,_0x30c0a1._0x508e91,_0x30c0a1._0x4763a3)},'count':{'type':'number'},'offset':{'type':'number'},'domains':{'type':'array','items':{'type':'string'}},'recencyDays':{'type':_0x1574fe(_0x30c0a1._0x288513,0x505,_0x30c0a1._0x288513,0x3b4)},'lang':{'type':_0x3560e3(_0x30c0a1._0x3adefa,_0x30c0a1._0x4773ca,_0x30c0a1._0x519e17,0x697)},'region':{'type':'string'},'safe':{'type':_0x3560e3(0x6f5,_0x30c0a1._0x6ffda7,_0x30c0a1._0x45e865,0x655)},'type':{'type':_0x1574fe(_0x30c0a1._0x53af84,0x5d8,_0x30c0a1._0x37aab1,0x48a)},'hydrateMeta':{'type':_0x1574fe(0x3f3,0x4f6,_0x30c0a1._0x15f159,_0x30c0a1._0x26e961)}},'required':[_0x3560e3(_0x30c0a1._0x2b0ffb,0x629,_0x30c0a1._0x14de2d,_0x30c0a1._0x427353)]},async *'execute'(_0x5dc9dd,_0x566fa0){const _0x89262c={_0x5e6d0c:0x80,_0x210602:0x60,_0x1cd2c4:0xd,_0x256b61:0x22a,_0xd167e4:0x102,_0x1401fb:0xfe},_0x9c8ce4={_0x7bc882:0xc9},_0x3dab9a=_0x5dc9dd[_0x350d5c(_0x25a53d._0x48e6b9,_0x25a53d._0x46bcf5,_0x25a53d._0x224433,_0x25a53d._0x54df43)][_0x350d5c(_0x25a53d._0xdd88fa,0x477,0x37d,_0x25a53d._0x21b193)]();if(!_0x3dab9a)throw new ToolExecutionError(_0x350d5c(_0x25a53d._0x14f4b4,_0x25a53d._0x22f8f9,_0x25a53d._0x10477a,0x3f9));const _0x502ec4={'query':_0x3dab9a,'count':Math[_0x350d5c(_0x25a53d._0x382264,0x220,_0x25a53d._0x76a45b,0x231)](0x1,Math[_0x117323(0xca,0x19c,_0x25a53d._0x3f6589,0x91)](0x32,Math[_0x350d5c(0x101,0x1f0,_0x25a53d._0x1a740d,_0x25a53d._0x40fd27)](_0x5dc9dd[_0x350d5c(0x3d2,0x245,0x2a4,0x353)]??0xa))),'offset':Math['max'](0x0,Math[_0x117323(0x10b,0x1e0,_0x25a53d._0x5e2830,0x17b)](_0x5dc9dd[_0x117323(_0x25a53d._0x4604e1,-0xa,0x1f7,0x100)]??0x0)),'domains':_0x5dc9dd[_0x350d5c(_0x25a53d._0x583d8a,0x179,0x137,0xf6)]??[],'recencyDays':Math['max'](0x0,Math['trunc'](_0x5dc9dd['recencyDays']??0x0)),'lang':_0x5dc9dd[_0x117323(_0x25a53d._0x57a349,0x140,_0x25a53d._0x37377c,0xc3)]??'en','region':_0x5dc9dd[_0x350d5c(_0x25a53d._0x4e6806,_0x25a53d._0x273755,_0x25a53d._0x14852b,_0x25a53d._0x21fa2d)]??'','safe':_0x5dc9dd[_0x117323(0x1cc,0x2bf,0x32e,_0x25a53d._0x2d104d)]??!![],'type':normalizeType(_0x5dc9dd['type']),'hydrateMeta':_0x5dc9dd[_0x350d5c(0x164,_0x25a53d._0x54a218,_0x25a53d._0x38773e,0xcc)]??![]};function _0x117323(_0x476e81,_0x175e00,_0x27d238,_0x3bcd47){return _0x3560e3(_0x476e81-0x173,_0x3bcd47,_0x476e81- -0x34b,_0x3bcd47-_0x9c8ce4._0x7bc882);}let _0x2825fd=[],_0x4d0245=_0x350d5c(_0x25a53d._0x1ed355,_0x25a53d._0x4b760e,_0x25a53d._0x5375f1,_0x25a53d._0x25889a);for(const _0x327cc9 of _0x40d6c1['engines']){try{if(isGoogleCseEngine(_0x327cc9))_0x2825fd=await searchGoogleCse(_0x327cc9,_0x502ec4,_0x566fa0['signal']),_0x4d0245='google-cse';else{if(isOllamaEngine(_0x327cc9)){const _0x23c5f5=await searchOllama(_0x327cc9,_0x502ec4,_0x566fa0['signal']);_0x2825fd=_0x23c5f5['items'],_0x4d0245=_0x23c5f5['engine'];}else{if(isTavilyEngine(_0x327cc9)){const _0x218939=await searchTavily(_0x327cc9,_0x502ec4,_0x566fa0[_0x117323(_0x25a53d._0x399175,-_0x25a53d._0x13fe35,0x218,-_0x25a53d._0x198d30)]);_0x2825fd=_0x218939['items'],_0x4d0245=_0x218939[_0x350d5c(_0x25a53d._0x55ae5f,_0x25a53d._0x1cc461,_0x25a53d._0x2b24cb,0x382)];}}}if(_0x2825fd[_0x117323(_0x25a53d._0x2bac60,0x4f,_0x25a53d._0x21364c,0x1d2)]>0x0)break;}catch(_0x5b6fbb){if(_0x327cc9===_0x40d6c1[_0x117323(_0x25a53d._0x1da22e,-0x118,-_0x25a53d._0x301020,-0x14f)][_0x40d6c1[_0x350d5c(_0x25a53d._0x12f642,0x138,0xee,-0xf)][_0x350d5c(0x21e,0x183,_0x25a53d._0x5ecc9e,_0x25a53d._0x382264)]-0x1])throw _0x5b6fbb;}}_0x502ec4['hydrateMeta']&&_0x2825fd['length']>0x0&&(_0x2825fd=await hydrateResults(_0x2825fd,_0x502ec4['lang'],_0x566fa0[_0x117323(0xfb,0x17,0x86,-_0x25a53d._0x1cb16d)],_0x4d7cd6));const _0x2e2542=new Set();_0x2825fd=_0x2825fd['filter'](_0x27b454=>{const _0x5b1ad2={_0x44216b:0x20,_0xc9532d:0x363,_0x27a8c3:0x10c},_0x490e5f={_0xca52be:0x1f9},_0x5d3e80=_0x27b454[_0xa7517d(-0x16b,-0x1c8,-_0x89262c._0x5e6d0c,-_0x89262c._0x210602)][_0xa7517d(-_0x89262c._0x1cd2c4,-0x253,-_0x89262c._0x256b61,-_0x89262c._0xd167e4)]();if(!_0x5d3e80||_0x2e2542['has'](_0x5d3e80))return![];function _0x358ca9(_0x4fd411,_0x44c4f7,_0x1cadd0,_0x3374dd){return _0x350d5c(_0x4fd411-0x114,_0x44c4f7,_0x4fd411- -_0x490e5f._0xca52be,_0x3374dd-0x10d);}_0x2e2542[_0x358ca9(0x88,0xc7,0x1e4,_0x89262c._0x1401fb)](_0x5d3e80);function _0xa7517d(_0x11baed,_0x50297b,_0x17d4bd,_0x43e4df){return _0x350d5c(_0x11baed-_0x5b1ad2._0x44216b,_0x11baed,_0x43e4df- -_0x5b1ad2._0xc9532d,_0x43e4df-_0x5b1ad2._0x27a8c3);}return!![];}),_0x2825fd=_0x2825fd[_0x350d5c(0x232,0x232,0x319,_0x25a53d._0x35a27e)]((_0xd2ce06,_0xa5dad6)=>({..._0xd2ce06,'source':{..._0xd2ce06[_0x117323(0x222,0x17d,0x175,0x175)],'rank':_0xa5dad6+0x1}}));const _0x3b8ed5={};if(_0x502ec4[_0x350d5c(0x23f,0x42,0x137,_0x25a53d._0xf76278)][_0x350d5c(0x390,_0x25a53d._0x5872a4,_0x25a53d._0x43d0f5,0x1c1)]>0x0)_0x3b8ed5['domains']=_0x502ec4[_0x117323(0x70,_0x25a53d._0xad75c9,-_0x25a53d._0x1d8a4a,0x133)];if(_0x502ec4[_0x117323(_0x25a53d._0xa3a14,_0x25a53d._0x434029,0xbe,-_0x25a53d._0x5c8b5d)]>0x0)_0x3b8ed5[_0x117323(0x4e,0xe8,-0x6a,0x51)]=_0x502ec4['recencyDays'];if(_0x502ec4[_0x117323(_0x25a53d._0x15810b,0x281,0x188,_0x25a53d._0x228429)]!=='en')_0x3b8ed5[_0x350d5c(_0x25a53d._0x14b750,_0x25a53d._0xbb2a1c,_0x25a53d._0x302ab3,_0x25a53d._0x394d4b)]=_0x502ec4[_0x117323(_0x25a53d._0x57a349,0x237,_0x25a53d._0x1cf2d3,0x23c)];if(_0x502ec4[_0x117323(0x122,0x1f,-_0x25a53d._0x31078d,_0x25a53d._0x2c8a26)])_0x3b8ed5[_0x117323(_0x25a53d._0x1488b6,0x22e,-0x59,_0x25a53d._0x32ea4b)]=_0x502ec4[_0x350d5c(0x35f,0x347,0x1e9,_0x25a53d._0x37d80d)];yield createToolOutput(formatResults(_0x2825fd),{'engine':_0x4d0245,'count':_0x2825fd[_0x117323(_0x25a53d._0x11c7f8,0x31f,_0x25a53d._0x2b24cb,_0x25a53d._0x39fbef)],'items':_0x2825fd,'query':_0x502ec4[_0x350d5c(0x352,_0x25a53d._0x3b4034,0x3dc,_0x25a53d._0x119c4e)],...Object[_0x350d5c(0x10,0x28,_0x25a53d._0x1dbd76,0x40)](_0x3b8ed5)[_0x117323(_0x25a53d._0x11c7f8,0x14c,_0x25a53d._0xb58e0a,_0x25a53d._0x34ef45)]>0x0?{'appliedFilters':_0x3b8ed5}:{},'offset':_0x502ec4['offset'],'totalRequested':_0x502ec4[_0x117323(_0x25a53d._0x33d46d,0xa4,_0x25a53d._0x32628e,0xf9)],'hydrated':_0x502ec4[_0x350d5c(0x2fd,_0x25a53d._0x69e69a,0x1e8,_0x25a53d._0xdee8c0)]});function _0x350d5c(_0x1b6640,_0x240570,_0x35bfd2,_0x3cdf60){return _0x3560e3(_0x1b6640-0xeb,_0x240570,_0x35bfd2- -_0x35382c._0x56ba4b,_0x3cdf60-0x1a4);}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,resolveToolPermissionClass,resolveWorkspacePath,search,toNuvinToolSchema,truncateToolOutput,validateToolInput};
|