@nuvin/agent-core 0.2.0-rc.2 → 0.2.0-rc.3
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/chunk-D5IVWJHX.js +1 -1
- package/dist/chunk-FFIZ6TKW.js +1 -1
- package/dist/chunk-IUZALP6K.js +1 -0
- package/dist/chunk-LIE76IJA.js +1 -0
- package/dist/chunk-QKOKWD5Y.js +1 -0
- package/dist/chunk-X7VAACWY.js +1 -1
- package/dist/chunk-YNOIG4FD.js +1 -1
- package/dist/formats/index.js +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/models/index.js +1 -1
- package/dist/models/model-registry.d.ts +8 -0
- package/dist/models/openai-surfaces.d.ts +1 -1
- package/dist/shared/index.js +1 -1
- package/dist/shared/reasoning-config.d.ts +3 -4
- package/dist/shared/types.d.ts +15 -10
- package/dist/tools/index.d.ts +3 -0
- package/dist/tools/index.js +1 -1
- package/dist/tools/mcp-connection-generation.d.ts +59 -0
- package/dist/tools/mcp-safe-error-provenance.d.ts +4 -0
- package/dist/tools/mcp-safe-error.d.ts +14 -0
- package/dist/tools/mcp-server-manager.d.ts +3 -52
- package/dist/tools/mcp-tool-adapter.d.ts +21 -1
- package/package.json +2 -2
- package/dist/chunk-JQLCZGQ7.js +0 -1
- package/dist/chunk-NYZR4XKO.js +0 -1
- package/dist/chunk-WDPOWIJR.js +0 -1
package/dist/tools/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
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};
|
|
1
|
+
(function(_0x2062ab,_0x11058d){const _0x17ee1a={_0x4cf248:0x65d,_0x1b5f85:0x6aa,_0x249358:0x698,_0x2f3b84:0x7f9,_0x1f5a9b:0x7ab,_0x138501:0x810,_0x913285:0x387,_0x494403:0x57e,_0x2206ac:0x5e7,_0x1a9fc4:0x644,_0x4cd7f9:0x5b7,_0x45c5fa:0x538,_0x481e20:0x4c3,_0x13ccf9:0x441,_0x3c5ab3:0x3e2,_0x4446b7:0x75a,_0x52505e:0x612,_0x122f83:0x575,_0x3a7754:0x719,_0x18e61b:0x5f5,_0x433867:0x6a4,_0xddffbc:0x51a,_0x3628e9:0x407,_0x39d9bb:0x48a},_0xc57b88={_0x4c9b71:0x395},_0x192cb9=_0x2062ab();function _0x19ddd8(_0x3c43b8,_0x1a4ffb,_0x1e4538,_0x16fa2b){return _0x5504(_0x1a4ffb-0x389,_0x3c43b8);}function _0x39c45a(_0x202e88,_0x5c2e6f,_0x3d7287,_0x39d265){return _0x5504(_0x3d7287-_0xc57b88._0x4c9b71,_0x202e88);}while(!![]){try{const _0x59fb14=parseInt(_0x19ddd8(0x681,0x6e2,_0x17ee1a._0x4cf248,0x60a))/0x1+parseInt(_0x39c45a(_0x17ee1a._0x1b5f85,0x56d,_0x17ee1a._0x249358,_0x17ee1a._0x2f3b84))/0x2*(parseInt(_0x19ddd8(_0x17ee1a._0x1f5a9b,0x721,_0x17ee1a._0x138501,0x82a))/0x3)+-parseInt(_0x19ddd8(_0x17ee1a._0x913285,0x46c,_0x17ee1a._0x494403,_0x17ee1a._0x2206ac))/0x4*(parseInt(_0x39c45a(0x5d3,_0x17ee1a._0x1a9fc4,_0x17ee1a._0x4cd7f9,_0x17ee1a._0x45c5fa))/0x5)+-parseInt(_0x39c45a(0x59e,0x55c,_0x17ee1a._0x481e20,0x481))/0x6+parseInt(_0x39c45a(0x5fb,_0x17ee1a._0x13ccf9,0x568,_0x17ee1a._0x3c5ab3))/0x7*(parseInt(_0x19ddd8(_0x17ee1a._0x4446b7,_0x17ee1a._0x52505e,_0x17ee1a._0x122f83,_0x17ee1a._0x3a7754))/0x8)+-parseInt(_0x39c45a(_0x17ee1a._0x18e61b,0x631,0x5c1,_0x17ee1a._0x433867))/0x9*(-parseInt(_0x39c45a(_0x17ee1a._0xddffbc,0x62a,0x6ab,0x787))/0xa)+-parseInt(_0x39c45a(0x3e3,_0x17ee1a._0x3628e9,_0x17ee1a._0x39d9bb,0x465))/0xb;if(_0x59fb14===_0x11058d)break;else _0x192cb9['push'](_0x192cb9['shift']());}catch(_0x6425){_0x192cb9['push'](_0x192cb9['shift']());}}}(_0x32bb,0xdae39));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,resolveToolPermissionClass,validateToolInput}from'../chunk-QKOKWD5Y.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 _0x213e80 from'path';var EXTENSION_TO_LANGUAGE={'.ts':_0x5b337b(0x41c,0x507,0x47d,0x4c5),'.tsx':_0x5b337b(0x40a,0x36c,0x57e,0x4c9),'.js':_0x125cf4(-0xd2,-0x11e,-0x2a1,0x3d),'.jsx':_0x125cf4(-0x1b8,-0xcf,-0xfa,-0xa7),'.mjs':_0x125cf4(-0x1ea,-0x11e,-0x23b,-0x1bf),'.cjs':_0x5b337b(0x3ee,0x2c3,0x34e,0x2ee),'.mts':_0x125cf4(0x23,-0xf0,-0x5a,-0x7f),'.cts':'typescript','.json':_0x5b337b(0x4a8,0x376,0x4c2,0x338),'.jsonc':_0x5b337b(0x44c,0x2c6,0x49e,0x491)};function getLanguageId(_0x8d98eb){const _0x54bc62={_0x4635a8:0x492,_0x66ebdb:0x5a0,_0x736c9f:0x65e,_0x4f212d:0x5b3,_0x5c3a87:0x87c,_0x41f832:0x77c},_0x34425f={_0x15dce4:0x25a,_0x5c614b:0x15c};function _0x30f0d1(_0x6ff91d,_0x1ab15c,_0xe73ced,_0x5506ee){return _0x5b337b(_0xe73ced- -0x24a,_0x1ab15c,_0xe73ced-0xe0,_0x5506ee-0xcf);}function _0x153d66(_0x1ac7f7,_0x7223c1,_0xf29c96,_0x5a71ee){return _0x5b337b(_0x5a71ee-_0x34425f._0x15dce4,_0x7223c1,_0xf29c96-0xc9,_0x5a71ee-_0x34425f._0x5c614b);}return EXTENSION_TO_LANGUAGE[_0x213e80[_0x153d66(_0x54bc62._0x4635a8,_0x54bc62._0x66ebdb,_0x54bc62._0x736c9f,_0x54bc62._0x4f212d)](_0x8d98eb)[_0x153d66(0x687,_0x54bc62._0x5c3a87,0x75e,_0x54bc62._0x41f832)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8;function uriForPath(_0x46d023){return pathToFileURL(_0x46d023)['toString']();}function textDocumentPosition(_0x2bd7dc){const _0x511368={_0x12962d:0x35c,_0x16ca0f:0x44a,_0x36e7bb:0x40e,_0x1a1a42:0x537},_0x4b10ed={_0x5837f9:0x1c6},_0x18613a={_0x341a02:0xb4};function _0xef175b(_0x36a11a,_0x70b6ce,_0x3862a0,_0x52208b){return _0x5b337b(_0x3862a0-0x222,_0x52208b,_0x3862a0-_0x18613a._0x341a02,_0x52208b-0x132);}function _0x23abb3(_0x47f380,_0x476d59,_0x5ebd9e,_0x2c5269){return _0x5b337b(_0x2c5269- -0x234,_0x476d59,_0x5ebd9e-_0x4b10ed._0x5837f9,_0x2c5269-0xa8);}return{'textDocument':{'uri':uriForPath(_0x2bd7dc[_0x23abb3(0x2b6,0x263,_0x511368._0x12962d,0x224)])},'position':{'line':_0x2bd7dc['line'],'character':_0x2bd7dc[_0xef175b(_0x511368._0x16ca0f,_0x511368._0x36e7bb,_0x511368._0x1a1a42,0x3fb)]}};}function normalizeLocations(_0x5e179c){const _0x2726e9={_0x24a4c7:0x19d,_0x1196de:0x22e,_0x3fde74:0x1dc},_0x45172f={_0x552e2b:0x522,_0x3803f9:0x57};if(!_0x5e179c)return[];function _0xd7736a(_0x32a646,_0x2809cb,_0x4c77fe,_0x280fb6){return _0x5b337b(_0x2809cb- -_0x45172f._0x552e2b,_0x32a646,_0x4c77fe-0x1d9,_0x280fb6-_0x45172f._0x3803f9);}return Array[_0xd7736a(-_0x2726e9._0x24a4c7,-_0x2726e9._0x1196de,-_0x2726e9._0x3fde74,-0xfa)](_0x5e179c)?_0x5e179c:[_0x5e179c];}async function createLspClient(_0x4d829c){const _0x3cfd0c={_0x1a87cb:0x429,_0x48286f:0x44a,_0x5e04d9:0x58b,_0x2b4173:0x424,_0x2f21af:0x3f1,_0x3ba21a:0x344,_0x385c4c:0x25e,_0x78b92a:0x2f4,_0x2e73e7:0x308,_0x760f7:0x47e,_0x365051:0x25b,_0x38b6b9:0x232,_0x5d88a4:0x3cb,_0x3246de:0x34c,_0x9247f7:0x8d,_0x275b3f:0x233,_0x42f0cc:0x279,_0x3ada1f:0x2b5,_0x422298:0x481,_0x47f057:0x378,_0x9963a9:0x346,_0x5d9af2:0x44d,_0x1985ea:0x582,_0x39db38:0x3e0,_0x2ff0ed:0x521,_0x5b4cce:0x3d5,_0x1327c3:0x53e,_0x3f752a:0x637,_0x45445d:0x514,_0x1dd59a:0x657,_0x3181cf:0x246,_0x8409c:0x1dd,_0x2a38cc:0x397,_0xa182fa:0x3dc},_0x5c85e1={_0x216e26:0x321,_0x4b7662:0x3d8,_0x34f5bc:0x526,_0x464e22:0x622,_0x22a837:0x667,_0xe55537:0x288,_0x2a3508:0x32f,_0x5c2eb8:0x557,_0x4523d8:0x643,_0x1b7801:0xe8},_0x17a8c7={_0x57bfb8:0x7c,_0x359647:0x176},_0x3a163e={_0x2be10b:0x462,_0x57704d:0x3fb},_0x51c791={_0x4e4c04:0x147},_0x1c9ac3={_0x1f4e95:0x1a4,_0x578d3e:0x26c,_0x52a7ef:0xb2},_0x2b6be4={_0x2f7628:0x41d,_0x5df552:0x559,_0x563fea:0x46b},_0x14815c={_0x1ba9bb:0x1a2,_0x3dc263:0x1eb},_0x3260dc={_0x36b8bd:0x27b,_0x3729d6:0x35c,_0x5baa2c:0x5a,_0x2c68a6:0x120,_0x3f40b2:0x74},_0x4d1354={_0x2f116d:0x16b,_0x32e49e:0x180},_0x49dbbc={_0x19141a:0x2fe,_0x3d5c14:0x486,_0x19c434:0x42e},_0x2867ea={_0x638164:0x86,_0x9a166c:0x2f,_0x41af69:0x5a,_0x30241f:0x57,_0x158976:0x6c1},_0x32d532={_0x4b8342:0x2b2},_0x31c4b4={_0x321e3c:0xbc,_0x3e5980:0x1d4},_0x2f848a={_0x1c63bd:0x226,_0xceae47:0xcb},_0x1d9f6a={_0x77489b:0x3d,_0x4e7fff:0x78,_0x58c3a1:0x1,_0x25cbbd:0x178},_0x1a938f={_0x19f8f9:0x10e,_0xee7d85:0x17a,_0x5dad7b:0x1b1,_0x57a603:0x23d,_0x3a660b:0x24d},_0xa3c198={_0x11fc8a:0x8d,_0x2e5509:0xb3},_0x4516e5={_0x4f6abe:0x8d,_0x2f9d37:0x1bc,_0x19dc50:0xa1,_0x325fbc:0x9e,_0x2bb030:0xdd},_0x482fa8={_0xe6c1bd:0x6c1,_0x250806:0x60a,_0x37d59d:0x7ba},_0xbf74f1={_0x17526a:0x3af,_0x4f13ce:0x36e,_0x5a90ba:0x2f8,_0x55cff7:0x341,_0x383c69:0x4a4,_0x3b5b0f:0x406,_0x527fba:0x4fd},_0x59c903={_0x5897d7:0x40b,_0x57da17:0x37a,_0x38a986:0x338,_0x431738:0x3b6,_0x369f35:0x1d,_0x376ca6:0xa9,_0x4adf95:0xe0,_0xcbd4b9:0x118,_0x341dcd:0x6d,_0x140dce:0x12b,_0x391b07:0xe0},_0x304c8c={_0xa04935:0x25,_0x568819:0x1e5},_0x366b72=_0x4d829c[_0x4e0b5b(_0x3cfd0c._0x1a87cb,_0x3cfd0c._0x48286f,0x4e6,0x4a3)][_0x4e0b5b(0x4e6,_0x3cfd0c._0x5e04d9,0x552,0x4b5)]['stdout'],_0xcbc653=_0x4d829c[_0x3f6cdb(_0x3cfd0c._0x2b4173,0x2a5,0x378,_0x3cfd0c._0x2f21af)]['process']['stdin'];if(!_0x366b72||!_0xcbc653)throw new Error('LSP\x20server\x20process\x20must\x20expose\x20stdout\x20and\x20stdin\x20streams');const _0x182b09=createMessageConnection(new StreamMessageReader(_0x366b72),new StreamMessageWriter(_0xcbc653)),_0x4874e0=new Map();function _0x4e0b5b(_0x59a2f5,_0x2b3309,_0x34a183,_0x205f51){return _0x5b337b(_0x34a183-_0x304c8c._0xa04935,_0x59a2f5,_0x34a183-_0x304c8c._0x568819,_0x205f51-0x14e);}function _0x3f6cdb(_0x3bbdd3,_0x47b33e,_0x454979,_0x337018){return _0x125cf4(_0x3bbdd3-0xca,_0x3bbdd3-0x46f,_0x454979,_0x337018-0x48);}const _0x27a983=new Map();let _0x42fb8d=![];_0x182b09[_0x4e0b5b(0x2d4,0x3ea,_0x3cfd0c._0x3ba21a,_0x3cfd0c._0x385c4c)](_0x3f6cdb(_0x3cfd0c._0x78b92a,_0x3cfd0c._0x2e73e7,0x382,_0x3cfd0c._0x760f7),_0x398b1c=>{const _0x234016={_0x246e69:0x191,_0x1d8c98:0xb2},_0x322d92={_0x2571eb:0x37d};_0x4874e0['set'](_0x398b1c[_0x4554c3(0x52e,0x4d5,_0x59c903._0x5897d7,0x5e3)],_0x398b1c['diagnostics']);const _0x284343=_0x27a983[_0x4554c3(_0x59c903._0x57da17,_0x59c903._0x38a986,_0x59c903._0x431738,0x306)](_0x398b1c[_0x4eacc0(_0x59c903._0x369f35,0x16c,_0x59c903._0x376ca6,_0x59c903._0x4adf95)]);function _0x4eacc0(_0x4b39c7,_0x34a607,_0xa63a7,_0x712258){return _0x3f6cdb(_0x712258- -_0x322d92._0x2571eb,_0x34a607-0xde,_0x4b39c7,_0x712258-0x1da);}function _0x4554c3(_0x3dd0d2,_0x3e4818,_0x2170c8,_0x4b6250){return _0x4e0b5b(_0x3dd0d2,_0x3e4818-_0x234016._0x246e69,_0x3e4818- -0x4a,_0x4b6250-_0x234016._0x1d8c98);}if(!_0x284343)return;_0x27a983['delete'](_0x398b1c[_0x4eacc0(_0x59c903._0xcbd4b9,-_0x59c903._0x341dcd,_0x59c903._0x140dce,_0x59c903._0x391b07)]);for(const _0xc30ebc of _0x284343)_0xc30ebc();}),_0x182b09[_0x3f6cdb(_0x3cfd0c._0x365051,_0x3cfd0c._0x38b6b9,0x35a,_0x3cfd0c._0x5d88a4)]();const _0x5c6d17=await _0x182b09[_0x3f6cdb(0x1b9,_0x3cfd0c._0x3246de,_0x3cfd0c._0x9247f7,0x202)](_0x4e0b5b(_0x3cfd0c._0x275b3f,0x11f,0x27a,_0x3cfd0c._0x42f0cc),{'processId':process['pid'],'rootUri':uriForPath(_0x4d829c[_0x3f6cdb(0x378,_0x3cfd0c._0x3ada1f,_0x3cfd0c._0x422298,0x29b)]),'workspaceFolders':[{'uri':uriForPath(_0x4d829c[_0x3f6cdb(_0x3cfd0c._0x47f057,0x270,_0x3cfd0c._0x9963a9,_0x3cfd0c._0x5d9af2)]),'name':_0x4d829c['server']['id']}],'initializationOptions':_0x4d829c[_0x4e0b5b(_0x3cfd0c._0x1985ea,0x4ef,0x4e6,0x652)]['initialization']??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':['markdown',_0x3f6cdb(_0x3cfd0c._0x39db38,0x391,_0x3cfd0c._0x2ff0ed,_0x3cfd0c._0x5b4cce)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});_0x182b09[_0x4e0b5b(_0x3cfd0c._0x1327c3,_0x3cfd0c._0x3f752a,_0x3cfd0c._0x45445d,_0x3cfd0c._0x1dd59a)](_0x3f6cdb(0x2c2,_0x3cfd0c._0x3181cf,0x368,_0x3cfd0c._0x8409c),{});const _0xa928d9={'serverId':_0x4d829c[_0x3f6cdb(0x493,0x30d,_0x3cfd0c._0x2a38cc,0x5ba)]['id'],'root':_0x4d829c[_0x4e0b5b(_0x3cfd0c._0xa182fa,0x569,0x43a,0x30c)],'connection':_0x182b09,'diagnostics':_0x4874e0,'capabilities':_0x5c6d17[_0x3f6cdb(0x41e,0x3d4,0x438,0x311)]??{},'notify':{async 'open'({path:_0x519e92}){const _0x34dfb2={_0x2ddb4c:0x48,_0x5b9194:0xe3},_0x201ce3={_0x36a2ed:0x131};function _0x1b863b(_0x362730,_0x460788,_0x12865f,_0x35d5b1){return _0x4e0b5b(_0x362730,_0x460788-0x110,_0x35d5b1- -0x70,_0x35d5b1-_0x201ce3._0x36a2ed);}const _0x2bd948=await readFile(_0x519e92,_0x1b863b(_0xbf74f1._0x17526a,_0xbf74f1._0x4f13ce,_0xbf74f1._0x5a90ba,0x403));function _0xc8ff2(_0x5961e6,_0x4fca45,_0x3b0e54,_0x17c333){return _0x4e0b5b(_0x3b0e54,_0x4fca45-0xc8,_0x4fca45- -_0x34dfb2._0x2ddb4c,_0x17c333-_0x34dfb2._0x5b9194);}_0x182b09[_0x1b863b(0x632,_0xbf74f1._0x55cff7,0x443,_0xbf74f1._0x383c69)]('textDocument/didOpen',{'textDocument':{'uri':uriForPath(_0x519e92),'languageId':getLanguageId(_0x519e92)??_0x1b863b(_0xbf74f1._0x3b5b0f,_0xbf74f1._0x527fba,0x4ca,0x432),'version':0x1,'text':_0x2bd948}});},async 'change'({path:_0x1164ae,version:_0x267f34}){function _0x2f442d(_0x54d0a9,_0x1800de,_0x1cc186,_0x9c3011){return _0x3f6cdb(_0x9c3011-0x224,_0x1800de-0xeb,_0x1cc186,_0x9c3011-0xf5);}const _0x4eed92=await readFile(_0x1164ae,'utf8');_0x182b09[_0x2f442d(_0x482fa8._0xe6c1bd,_0x482fa8._0x250806,_0x482fa8._0x37d59d,0x676)]('textDocument/didChange',{'textDocument':{'uri':uriForPath(_0x1164ae),'version':_0x267f34},'contentChanges':[{'text':_0x4eed92}]});},async 'close'({path:_0x566684}){const _0x30ca67={_0x27b506:0x130,_0x5364c9:0x487,_0x31f075:0x130};function _0x1ab480(_0x75fa2b,_0x243510,_0x33707b,_0x290ec3){return _0x4e0b5b(_0x33707b,_0x243510-_0x30ca67._0x27b506,_0x243510- -_0x30ca67._0x5364c9,_0x290ec3-_0x30ca67._0x31f075);}function _0x36af9e(_0x227c58,_0x2cc56b,_0x3aa1ab,_0x3a7243){return _0x3f6cdb(_0x3a7243- -0xd2,_0x2cc56b-0x1,_0x3aa1ab,_0x3a7243-0x10e);}_0x182b09[_0x1ab480(-0x7,_0x4516e5._0x4f6abe,0x195,_0x4516e5._0x2f9d37)](_0x36af9e(-_0x4516e5._0x19dc50,-_0x4516e5._0x325fbc,_0x4516e5._0x2bb030,0xb7),{'textDocument':{'uri':uriForPath(_0x566684)}});}},'request':{async 'definition'(_0x4c81a7){const _0x3ff00d={_0x48926e:0x1a7};function _0x144e3a(_0x344cf9,_0x43282,_0x2a4950,_0xae1987){return _0x4e0b5b(_0x2a4950,_0x43282-_0xa3c198._0x11fc8a,_0x43282- -0x528,_0xae1987-_0xa3c198._0x2e5509);}function _0x2d161a(_0x4c8361,_0x3fa781,_0x49de3a,_0x39ebd2){return _0x4e0b5b(_0x39ebd2,_0x3fa781-0x6f,_0x49de3a- -0x338,_0x39ebd2-_0x3ff00d._0x48926e);}return normalizeLocations(await _0x182b09[_0x2d161a(-0x1a4,-_0x1a938f._0x19f8f9,-0xbd,-_0x1a938f._0xee7d85)](_0x144e3a(-_0x1a938f._0x5dad7b,-_0x1a938f._0x57a603,-_0x1a938f._0x3a660b,-0x396),textDocumentPosition(_0x4c81a7)));},async 'references'(_0x42f028){const _0xd5094d={_0x2d7d09:0x2e,_0x5ef6cf:0x11e,_0x4e6321:0x2a},_0x4939ea={_0x267c17:0x14b,_0x10dbf5:0x197};function _0x4bd111(_0x478b20,_0x530bc3,_0xb9c364,_0x3ba1de){return _0x3f6cdb(_0x3ba1de- -0x1b8,_0x530bc3-_0x4939ea._0x267c17,_0x478b20,_0x3ba1de-_0x4939ea._0x10dbf5);}function _0x4d6135(_0x399d63,_0x3970f4,_0x2cccca,_0xc374e6){return _0x3f6cdb(_0x3970f4- -_0xd5094d._0x2d7d09,_0x3970f4-_0xd5094d._0x5ef6cf,_0x399d63,_0xc374e6-_0xd5094d._0x4e6321);}return normalizeLocations(await _0x182b09[_0x4bd111(-_0x1d9f6a._0x77489b,-_0x1d9f6a._0x4e7fff,0xa5,_0x1d9f6a._0x58c3a1)](_0x4d6135(0xf4,_0x1d9f6a._0x25cbbd,0x270,0x1b0),{...textDocumentPosition(_0x42f028),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x3fe7cb){const _0x1bf7bf={_0x59bd75:0xee,_0x2f4935:0x132,_0x19f778:0xc9};function _0x1b2f9c(_0x2d45f7,_0xc82055,_0x44106e,_0x7caebb){return _0x3f6cdb(_0x7caebb- -_0x1bf7bf._0x59bd75,_0xc82055-_0x1bf7bf._0x2f4935,_0x44106e,_0x7caebb-_0x1bf7bf._0x19f778);}return await _0x182b09[_0x1b2f9c(0x16b,0x75,_0x2f848a._0x1c63bd,_0x2f848a._0xceae47)]('textDocument/hover',textDocumentPosition(_0x3fe7cb))??null;},async 'documentSymbol'(_0x549697){function _0x2f1ff1(_0x39a43b,_0x5b63be,_0x409647,_0x7edda1){return _0x3f6cdb(_0x409647-_0x31c4b4._0x321e3c,_0x5b63be-0x108,_0x5b63be,_0x7edda1-_0x31c4b4._0x3e5980);}return await _0x182b09[_0x2f1ff1(0x3dc,_0x32d532._0x4b8342,0x275,0x328)]('textDocument/documentSymbol',{'textDocument':{'uri':uriForPath(_0x549697)}})??[];},async 'workspaceSymbol'(_0x278d22){const _0x46d57c={_0x5e125e:0x301,_0x3bb42c:0x63},_0x42bdb0={_0x54d215:0xc7};function _0x590e20(_0xaf4ec,_0x3fd881,_0x4ee600,_0x35f28c){return _0x3f6cdb(_0x3fd881-0x237,_0x3fd881-0x76,_0x4ee600,_0x35f28c-_0x42bdb0._0x54d215);}function _0x4f6c33(_0x26da69,_0x2afb9b,_0x5f2c11,_0x553e14){return _0x4e0b5b(_0x553e14,_0x2afb9b-0x73,_0x26da69- -_0x46d57c._0x5e125e,_0x553e14-_0x46d57c._0x3bb42c);}return await _0x182b09[_0x4f6c33(-_0x2867ea._0x638164,_0x2867ea._0x9a166c,_0x2867ea._0x41af69,_0x2867ea._0x30241f)](_0x590e20(0x741,_0x2867ea._0x158976,0x6ed,0x574),{'query':_0x278d22})??[];},async 'implementation'(_0x2d2a72){const _0x2ce014={_0x2380e0:0xb7};function _0xf6b12f(_0x4b9780,_0x62d895,_0x2d59e1,_0x2d602b){return _0x3f6cdb(_0x62d895- -0x104,_0x62d895-0x1b4,_0x2d59e1,_0x2d602b-0xaf);}function _0x80ac22(_0x272477,_0x166b5f,_0x2a16ee,_0x4e68ac){return _0x3f6cdb(_0x272477-0x9,_0x166b5f-_0x2ce014._0x2380e0,_0x166b5f,_0x4e68ac-0x48);}return normalizeLocations(await _0x182b09[_0x80ac22(0x1c2,_0x49dbbc._0x19141a,0x141,0x13c)](_0x80ac22(_0x49dbbc._0x3d5c14,0x57f,_0x49dbbc._0x19c434,0x5c0),textDocumentPosition(_0x2d2a72)));},async 'prepareCallHierarchy'(_0x278525){const _0x57498d={_0x59bff0:0x143,_0x344f17:0x4f6};function _0x8b03ea(_0x181fff,_0xc89702,_0x518c0c,_0xed8fb){return _0x4e0b5b(_0x181fff,_0xc89702-_0x57498d._0x59bff0,_0xc89702- -_0x57498d._0x344f17,_0xed8fb-0x1);}function _0x240cdb(_0x30d423,_0x42b3d5,_0x570506,_0x546f87){return _0x4e0b5b(_0x42b3d5,_0x42b3d5-_0x4d1354._0x2f116d,_0x30d423- -_0x4d1354._0x32e49e,_0x546f87-0x145);}return await _0x182b09[_0x8b03ea(-0x234,-_0x3260dc._0x36b8bd,-0x2c3,-_0x3260dc._0x3729d6)](_0x8b03ea(_0x3260dc._0x5baa2c,0x3d,-_0x3260dc._0x2c68a6,_0x3260dc._0x3f40b2),textDocumentPosition(_0x278525))??[];},async 'incomingCalls'(_0x5aca7b){const _0xb1d109={_0x4e768f:0xa0};function _0x5a5651(_0x5eee42,_0x2801fd,_0x470766,_0x5d4c91){return _0x3f6cdb(_0x5eee42-0x26d,_0x2801fd-_0xb1d109._0x4e768f,_0x2801fd,_0x5d4c91-0x1f);}function _0x4501de(_0x267464,_0x294900,_0x1f64e9,_0x13de42){return _0x4e0b5b(_0x13de42,_0x294900-0x59,_0x267464-_0x14815c._0x1ba9bb,_0x13de42-_0x14815c._0x3dc263);}return await _0x182b09[_0x4501de(_0x2b6be4._0x2f7628,0x41c,0x330,_0x2b6be4._0x5df552)](_0x5a5651(0x4d8,0x3ea,0x4f3,_0x2b6be4._0x563fea),{'item':_0x5aca7b})??[];},async 'outgoingCalls'(_0xbe3c2e){function _0x21b698(_0x2ca99a,_0x4028de,_0x2b5a4c,_0x5c281b){return _0x4e0b5b(_0x5c281b,_0x4028de-_0x1c9ac3._0x1f4e95,_0x2b5a4c- -_0x1c9ac3._0x578d3e,_0x5c281b-_0x1c9ac3._0x52a7ef);}function _0x72c572(_0x346b91,_0x23034b,_0x2c07f0,_0x47e380){return _0x4e0b5b(_0x23034b,_0x23034b-0x111,_0x346b91-_0x51c791._0x4e4c04,_0x47e380-0x2c);}return await _0x182b09[_0x21b698(-0x38,0xa4,0xf,0x17f)](_0x72c572(_0x3a163e._0x2be10b,_0x3a163e._0x57704d,0x33e,0x5a6),{'item':_0xbe3c2e})??[];}},'waitForDiagnostics'({path:_0xc32de9,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x188489={_0x321387:0x39c,_0x457891:0x3ab,_0x20c212:0x490,_0x4e764b:0x605,_0x4093d8:0x44a,_0x3ee9d1:0x57d},_0x5dd24f={_0x14694e:0x23e},_0x38b874=uriForPath(_0xc32de9);if(_0x4874e0['has'](_0x38b874))return Promise['resolve']();return new Promise(_0x42c5bf=>{const _0x29f138={_0x51f372:0x37c},_0x1ff14e={_0xa3268e:0xbb,_0xccc8e8:0x10f,_0x515f98:0xeb},_0xafdd0c=setTimeout(()=>{const _0x9eeb0c=_0x27a983[_0x14a72c(-_0x1ff14e._0xa3268e,-_0x1ff14e._0xccc8e8,-0xd,-_0x1ff14e._0x515f98)](_0x38b874);function _0x14a72c(_0x407c71,_0x29f2ed,_0x59b080,_0x4ef741){return _0x5504(_0x59b080- -0x1e7,_0x4ef741);}_0x9eeb0c?.['delete'](_0xb50762);if(_0x9eeb0c?.['size']===0x0)_0x27a983['delete'](_0x38b874);_0x42c5bf();},timeoutMs),_0xb50762=()=>{clearTimeout(_0xafdd0c),_0x42c5bf();};function _0x4879c8(_0x4b9d34,_0x57efbb,_0x746d20,_0x5cccfa){return _0x5504(_0x57efbb-_0x29f138._0x51f372,_0x746d20);}const _0x23b61d=_0x27a983[_0x3d4e9d(_0x188489._0x321387,_0x188489._0x457891,_0x188489._0x20c212,0x418)](_0x38b874)??new Set();_0x23b61d['add'](_0xb50762);function _0x3d4e9d(_0x47b889,_0x3d06a3,_0x2b2d79,_0x2ce864){return _0x5504(_0x2ce864-_0x5dd24f._0x14694e,_0x3d06a3);}_0x27a983[_0x3d4e9d(_0x188489._0x4e764b,_0x188489._0x4093d8,_0x188489._0x3ee9d1,0x572)](_0x38b874,_0x23b61d);});},async 'shutdown'(){const _0xc5370b={_0x16c034:0x100};if(_0x42fb8d)return;function _0x184ed7(_0x4551d5,_0x3550c6,_0x3642eb,_0x6a8b12){return _0x4e0b5b(_0x3550c6,_0x3550c6-_0xc5370b._0x16c034,_0x6a8b12-0x15d,_0x6a8b12-0x2f);}_0x42fb8d=!![];function _0x3a753e(_0x1506a8,_0xfbfb20,_0x4fc5ca,_0x1d5a8d){return _0x3f6cdb(_0x4fc5ca-_0x17a8c7._0x57bfb8,_0xfbfb20-0x69,_0x1d5a8d,_0x1d5a8d-_0x17a8c7._0x359647);}try{await _0x182b09[_0x184ed7(_0x5c85e1._0x216e26,0x42b,0x430,_0x5c85e1._0x4b7662)]('shutdown',null),_0x182b09[_0x184ed7(_0x5c85e1._0x34f5bc,_0x5c85e1._0x464e22,_0x5c85e1._0x22a837,0x671)](_0x3a753e(0x1c5,0x3bd,_0x5c85e1._0xe55537,_0x5c85e1._0x2a3508));}catch{}finally{_0x182b09[_0x3a753e(0x37b,0x38f,0x328,0x3ed)](),_0x4d829c[_0x184ed7(_0x5c85e1._0x5c2eb8,0x4e7,0x566,_0x5c85e1._0x4523d8)]['process'][_0x3a753e(_0x5c85e1._0x1b7801,0x96,0x210,0x189)]();}}};return _0xa928d9;}import{spawn as _0x304567}from'child_process';function _0x32bb(){const _0x387321=['B25szwrPCMvJDa','Aw5ZDgfSBa','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','C2TPBgXZ','zgvSzxrL','v0vcua','CMvZDwX0CW','DxrTx2nVBNrLBNq','ugf0AcbPCYbUB3qGysbMAwXLoIa','rhvWBgLJyxrLihjLyxnVBMLUzYbVChrPB24GiG','BwnWlxrYyw5ZCg9YDc1LCNjVCG','AMf2yxnJCMLWDa','qMvHCMvYia','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','y29TBwfUza','w1jfrefdvevexq','Bg93','zgfYAW','C2vUza','zxHPDgvK','C3LTBgLUAW','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','zgvZy3jPChrPB24','Ag92zxi','lMPZB25J','CMLWz3jLCa','vxnLCIbYzxnWB25ZzxmGCMvJzwL2zwq6ia','qxv0Ag9YAxPHDgLVBG','y291BNrLCG','C3bHD24','BwnWlxnKAY1JBgLLBNqTzxjYB3i','D3jPDgu','C3rHDhvZ','Bg9HzfnRAwXS','igzYB20G','yxv0BW','y2XLyw51Ca','yNvMzMvY','mc4WlJa','DhLWzxnJCMLWDhjLywn0','DxnLCM5HBwu','mteYsunHtfHi','igj5DgvZ','y2XLyxi','CMvXDwvZDhm','ChjVy2vZC0v4AxrLza','AwDUB3jLt3v0Chv0','BgfUz3vHz2u','CMLWz3jLCcbMywLSzwq6ia','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','CM9VDa','ihDHCYbHyM9YDgvKlG','BM9Uzq','Aw1Hz2uVz2LM','ue9tva','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','DhLWzxnJCMLWDa','zxH0zw5ZAw9UCW','y29Kzq','Dg9VBfjLC3vSDhm','zMLUza','Cgf0DgvYBG','iYmGu2TPBgW6ia','C3jJl2fNzw50l2fNzw50lNrZ','DhvWBgu','twLJCM9ZB2z0','wZ0+nY04kcLD','B3b0Aw9UCW','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','yNvUlMXVy2S','y29TCgXLDgvK','igj5DgvZks4','u3rHCNrLzcbHz2vUDcbYDw4G','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','DhjPBq','v2vIrMv0y2G','qu5usfjpueLdx0fqsv9lrvK','zgLHz25VC3rPy3ngB3jgAwXL','AxnfBMfIBgvK','CMvWBgfJzq','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','DgHLBG','sw52B2TLq29TBwfUza','ChjPB3jPDhK','l3vZCI9IAw4VyMfZAa','DhjHBNnMB3jT','uhjVDMLKzxiGBMfTzsbJyw5UB3qGy29UDgfPBIaNoIC','tunqihrYyw5ZCg9YDcbJBg9ZzwqGDw5LEhbLy3rLzgX5','AMf2yxnJCMLWDhjLywn0','CgXHDgzVCM0','pc9ZExn0zw0TCMvTAw5Kzxi+','CMvHC29U','y2XPzw50','y291BNq','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','ksbB','C2LNBMfS','z2L0qNjHBMnO','C2vYDMvYtMfTzq','DxjS','Dg90ywW','tunqihrVB2WG','rMLSzuvKAxq','ANnVBMm','y2HHBMDL','DxrMoa','y21KlMv4zq','B3rOzxi','C2XPy2u','yM9VBgvHBG','B3v0z29PBMDdywXSCW','z2XVyG','zw51Bq','z2v0t3DUuhjVCgvYDhLoyw1LCW','ywXSu2v0DgXLza','zMLSzq','Cgf0Ag5HBwu','yw5UB3rHDgLVBNm','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','CgfYC2vjBNq','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','u3rVCcbYzwfKAw5Nigf0ihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','tM8GC3vJAcbMAwXLoIaN','C291CMnL','B2C6DxbKyxrLzf90Aw1L','zMXVB3i','sw5MB3jTyxrPB24','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','BwvTB3j5','vg9Vig1HBNKGyMfJA2DYB3vUzcbWCM9JzxnZzxmGCNvUBMLUzYaO','zxf1ywXZ','zMvUy2vK','DgvZDa','tM8GzgLHz25VC3rPy3m','l29WDc9OB21LyNjLDY9IAw4VCMC','zw52','lNrTCc4','oIaIBxvSDgLtzwXLy3qIig11C3qGyMuGysbIB29SzwfU','CMfUz2u','D2LUmZi','Dgf2AwX5','BgLUAW','BwnFzwLK','zxzLCNK','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','C3rKzxjY','qxnRvxnLCLrVB2W','oIbPBNzHBgLKihn0yxr1CW','CMvZDwX0','s0Lnsv9bueLFs0vz','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','BNbT','CgXHAw50zxH0','zgLZy292zxj5','CMvJzw5JEurHExm','igj5DgvZicHVCMLNAw5HBdOG','Dg9VBenHBgXjza','BgvUz3rO','y29UBMvJDgLVBG','BwfUDwfS','sw5ZCgvJDcbHifborYWGsLbfrYWGv2vIucWGB3iGr0LgigLTywDLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlIbvC2uGrMLSzvjLywqGzM9YihrLEhqU','ogX3zeLeBq','rMv0y2GGywjVCNrLzcbIEsb1C2vY','BgLUzu51Bq','rM91BMqG','CgfJA2fNzu5HBwu','Cg5WBs1SB2nRlNLHBwW','ywXSB3DLzerPCNm','ChjVDg90ExbL','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','ls1WCMvMAxG','B3bLBKzPBgvZ','C3rYAw5N','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','zw5NAw5LCW','l3vZCI9SB2nHBc9IAw4VCMC','zhvWBgLJyxrLx3rVzg9FAwrZ','C3rKB3v0rgvJB2rLCG','ig1HDgnO','D2vI','ndaYmerZAu1zsa','AM9PBG','CMvMCMvZAf90B2TLBG','lNbUzW','BMv3vgv4Da','C3bHD25PBMC','Aw50zwDLCG','BwLUAw1HBa','ywrKsxnZDwu','u2HLBgWGBM90igzVDw5KoIa','DxrTx21LzgL1Bq','Aw5ZDhj1y3rPB25Z','CMvZB2X2zq','zgLZy292zxi','C2HHmJu2','ANnVBG','Aw5WDxq','Aw1Hz2uVANbLzW','DxrTx3nVDxjJzq','zgf0zvjLC3rYAwn0','zxjYB3i','yxjNCW','Aw52ywXPzf90B2rVx3bYAw9YAxr5','B3bLCMf0Aw9U','CgfZC3rOCM91z2G','r09pr0Xfx0ntrv9dwa','B2zM','tuLosu1bwf9bueLFs0vz','AxngAwXL','q291BgqGBM90ihjLC29SDMuGAg9ZDa','C2v0','yMLVBwuUANnVBG','Aw5KzxHpzG','z2v0vg9KB3m','y2fWywjPBgL0AwvZ','q29TCgXLDguSihnLBgyTy29UDgfPBMvKigLUC3rYDwn0Aw9UCYbZzw50ihzLCMjHDgLTihrVihrOzsbKzwXLz2f0zwqGywDLBNqUieLUy2X1zguGCMvSzxzHBNqGy29UDgv4DcWGC2nVCguSignVBNn0CMfPBNrZlcbHBMqGzxHWzwn0zwqGB3v0Chv0lG','CMvNzxG','C2vHCMnOrgvWDgG','y3jLyxrLzef0','DhnJB25MAwCUANnVBG','AgfUzgXL','ywrHChrPDMu','jYbUB3qGzM91BMqUief2ywLSywjSzsbJB21Tyw5KCZOG','sw52ywXPzcbvuKWGCgfYyw1LDgvY','iIbPCYbYzxnLCNzLza','BxrPBwvnCW','C3rHCNreAxi','zMXHDe1HCa','zw5K','tM8GCMvZDwX0CYbMB3vUzc4','lM10CW','t3b0Aw9UywWGC2HVCNqGzgLZCgXHEsbUyw1LigzVCIb0AgLZigrLBgvNyxrLzcbYDw4UifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','yxv0Ag9YAxPHDgLVBL9JB2rL','jYbUB3qGzM91BMqUief2ywLSywjSzsbZA2LSBhm6ia','BwnWxW','B25JBg9Zzq','DgLTzw91DfnVDxjJzq','vxnLCI1MywnPBMCGChvYCg9ZztOGD2HHDcb0AguGy29TBwfUzcbKB2vZigfUzcb0AguGz29HBcbPDcbHzhzHBMnLCYWGzs5NlIaNuNvUigf1DgGGDgvZDhmGDg8GDMvYAwz5ihrOzsbYzwzYzxnOigzPEcCU','ls1ZDgrPBW','DwX0CMe','y2XPzw50CW','lu5Vtg9NBW','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','zNjVBq','sgLUDa','DMfSDwvZ','ywXS','mtuXnZqWmMXdqNnoEq','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','ienHDxnLoIa','zMLUywXnzxnZywDL','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','DgfZAW','Aw1Hz2u','zgvLChnLzwS','mty5lJi1nc4WlJa','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','mti3lJaUmc4W','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','ihrVB2WGzgLZy292zxj5ihrPBwvKig91Da','zMLUAxrL','yNvKz2v0vg9Rzw5Z','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','BgfZDeLUzgv4t2y','B3bLBMfPlxjLC3bVBNnLCY13CW','C2vUze5VDgLMAwnHDgLVBG','z29Vz2XLq3nLq3G','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','oIbPBNzHBgLKihbYAw9YAxr5','yxjNDw1LBNroyw1LCW','BMfTzq','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','z29Vz2XLlwnZzq','ChjLzML4','tLvwsu5FreLtqujmrv9mu1bFre9xtKXpquq','DgfZA2TPBgW','DxjP','yxnPzgu','zgf0zxrPBwu','C2nYDwjfBNzlzxLZ','y2f0y2G','zgvZy3jPChrVCNm','AgLNAa','phn5C3rLBs1Yzw1PBMrLCJ4','C2vHCMnOugfYyw1Z','uMvHC29UAw5Nig9WDgLVBIbYzxf1AxjLCYbTB2rLig9YigvMzM9YDa','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','Dg9KB3ncEvnLC3nPB24','yxnRvxnLCG','lMDPzG','y29UDgv4Da','CMvXDwLYzwq','Axnoyu4','AxnbyNnVBhv0zq','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','A2v5','Dgv4DerVy3vTzw50l3bYzxbHCMvdywXSsgLLCMfYy2H5','B25LCNjVCG','Aw1WBgvTzw50yxrPB24','q29Tu3bLyW','yMfZzty0','Aw5FChjVz3jLC3m','lMPWzW','s2LSBgvKia','ywDLBNrjza','y3DK','lunVBw1HBMq','A2LSBfjLCxvLC3rLza','Dgv4DerVy3vTzw50l2LTCgXLBwvUDgf0Aw9U','mteYnJG2ovPQALvWqG','C2v2zxjPDhK','AxrLBxm','ls1OAwrKzw4','D2HPy2GGCMC','zNvUy3rPB24','zMLSztOVlW','Dg9mB3DLCKnHC2u','ywDLBNrZ','C2vHCMnOvhLWzq','zxzPy3rjzK5LzwrLza','lM51DMLU','D29YA3nWywnLl3n5BwjVBa','CgfJA2fNzs5QC29U','C3rYAw5NAwz5','BgL0zxjHBa','lNrZEa','rMLUzcb3B3jRC3bHy2uGB3iGywXSB3DLzcbKAxjLy3rVCNKGzMLSzxmGBwf0y2HPBMCGysbNBg9IihbHDhrLCM4U','ChjVy2vZCW','C2v0vg9KB3m','Cgf0Aa','C2vYDMvY','t1bftKfjx0fqsv9lrvK','r0Lusfvcx1rps0vo','Dg9vChbLCKnHC2u','Bw9Kzq','yMvHCMvY','yMLVBwu','mtaUmc4WlJa','B3bLBMnVzguTz28','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','BNvT','cMbGya','y2HPBgq','w291Dhb1Dcb0CNvUy2f0zwq6ia','C3rHDhvZvgv4Da','Dg9tDhjPBMC','Bwv0yvTWCM9Wzxj0Et0NB2C6zgvZy3jPChrPB24Nxq','DgL0Bgu','yxbPs2v5','mc4WlJaUma','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','ChvIBgLZAgvKqxq','lw5i','zxHPDcbJB2rLia','CgvUzgLUzW','Dw5PB24','Dgv4DerVy3vTzw50l2rPzenSB3nL','y2fSBgjHy2TvCMW','zMLYC3q','q2fUBM90igfJCxvPCMuGysbYzxrPCMvKie1ducbJB25Uzwn0Aw9UigDLBMvYyxrPB24','ls1YzwDLEha','y29UBMvJDa','C3rHDgu','AgvHzgvY','uNvUigeGBM9UlwLUDgvYywn0AxzLihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24Gyw5KignHChr1CMuGC3rKB3v0l3n0zgvYCI4GvxnLiezPBgvszwfKigzVCIbMAwXLignVBNrLBNrZlIbvC2uGB3v0Chv0uMvNzxGGzM9YigzVy3vZzwqGzM9YzwDYB3vUzcbVDxrWDxqSigLNBM9Yzu91Dhb1Dcb3AgvUig9UBhKGDgHLigv4AxqGC3rHDhvZig1HDhrLCNmSigfUzcbYDw5jBKjHy2TNCM91BMqGzM9YihnLCNzLCNmGB3iGD2f0y2HLCNm7igzVBgXVDYbIywnRz3jVDw5Kihj1BNmGD2L0AcbcyxnOt3v0Chv0ig9YieTPBgXtAgvSBc4GuhjVDMLKzsbHignVBMnPC2uGDxnLCI1MywnPBMCGChvYCg9ZzsbPBIbKzxnJCMLWDgLVBI4GrgvMyxvSDcb0Aw1LB3v0oIa','Dw5RBM93BG','zMLUzfjLzMvYzw5Jzxm','A2LSBa','Dg9VBenHBgW','AxneAxjLy3rVCNK','C29Tzq','B3bLBMfPlxjLC3bVBNnLCW','uhjVz3jHBuzPBgvZkhG4nIK','Aw50','Dg9VBhm','C3vIyxjYyxK','vMLLD0zPBgu','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','mJi0lJaUmc4W','lMPZEa','zg5Zl3bYB21PC2vZ','BgfUz18','Dg9KB3m','qwDLBNqGCNvUia','v2vIu2vHCMnO','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','BwvZC2fNzq','yM0Ynq','rwrPDcbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmGyNKGCMvWBgfJAw5NihrOzsbMAxjZDcbLEgfJDcb0zxH0ihnLz21LBNqU','zMLSzvzLCNnPB25Z','ls0T','DxrTx2nHBxbHAwDU','C25PChbLDa','qxnZAwDUvgfZAW','zNjLzxPL','v2fYBMLUzW','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzceGqxnRigfIB3v0ig5LEhqGC3rLChmUienVBxbSzxrLzcbSAxn0oGO','lI4U','B25Jzq','yNvMzMvYq2HHCNm','CMvNAw9U','tg9HzfnRAwXS','ls1NBg9I','Aw5PDgLHBgL6zq','C2vUzfjLCxvLC3q','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','Bwf4qNL0zxm','C2HPzNq','oIbJB250zw50ihjLCxvPCMvK','B3bLBNjVDxrLCG','z2vUzxjHBa','uefusa','Dg9VBfbLCM1PC3nPB25Z','Bg9VA3vW','C3bSAxq','zxjYB3jnzxnZywDL','Bwf4','EMfP','CgvYBwLZC2LVBKnSyxnZ','zMLSzvbHDgG','mtK1nZe3mKrgBe9Tqq','uMvHC29UAw5Nig9WDgLVBIaI','vxnLiezPBgvszwfKihDPDgGGBgLUzvn0yxj0l2XPBMvfBMqGDg8GAw5ZCgvJDcbZCgvJAwzPyYbZzwn0Aw9UCYbVzIb0AguGzNvSBcbVDxrWDxqU','lNrZ','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','q3jLyxrLig9Yig92zxj3CML0zsbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmU','BgfIzwW','thnW','u2vHCMnOihrOzsb3zwiGyw5KihjLDhvYBIbYyw5RzwqGCMvZDwX0CY4','ls1MAwvSzc1TyxrJAc1ZzxbHCMf0B3i9Fa','DhvYBMrVD24','BhnWlxbYB3H5','B25uzxjTAw5HBevYCM9Y','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','zgvMyxvSDfrPBwvVDxrnCW','ywXSB3DLzfrVB2XZ','ywjVCNq','CMfUAW','mJG4odq4mdfiy2DRr3u','qwXSia','y29UzMLN','rMv0y2GGD2vIihbHz2uGy29UDgvUDcbHBMqGy29UDMvYDcb0BYbnyxjRzg93BIbMB3jTyxq','A2LUza','Ahr0Ca','Aw5JBhvKzq','C2nYAxb0','CgLWzq','zgLYBMfTzq','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','ChjLCgfYzunHBgXiAwvYyxjJAhK','DgLTzw91De1Z','y2XPzw50twv0ywrHDgfvCMW','Ag9ZDa','Dg9Rzw4','yNjVA2vU','y2HHDgDWDa','wKfjx0fqsv9lrvK','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','C2vZC2LVBG','zgLYzwn0B3j5','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','BgLUzq','C3rKAw8','vg9KBYa','C2L6zq','ChjVCgvYDgLLCW','l2jPBI9ZAa','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDgvZDc50CW','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','ihjLCxvPCMvZihvYBcbMB3iGAhr0Ccb0CMfUC3bVCNq','o1TE','AhjLzG','BNvTyMvY','qMLVBwuGtgfUz3vHz2uGu2vYDMvY','yxnJAwK','vxbKyxrLvg9WAwm','ignOyxjZigrYB3bWzwrDcG','qxzHAwXHyMXLignVBw1HBMrZoG','BxmU','y29UDgvUDc10ExbL','Dgv4Dc9ODg1S','DhLWzq','BM9Kzv9TB2r1BgvZ','ygbGANnVBGO','CMvMAw5L','uhjVDMLKzxiGBMfTzsbJyw5UB3qGyMuGzw1WDhK','lMnTza','zxHPDa','Dg9VBe5HBwu','DxrTx3rLCM0','ywX3yxLZlwnVBMzPCM0','Cg9W','xg5DkJ8','CgfJA2fNzxm','yw50AhjVCgLJlw1LC3nHz2vZ','ndqXmJq0mMzvtvrHBW','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','C3rYAxbbBNnP','B3v0Chv0','ywrK','C2vZC2LVBKLK','wefjx0fqsv9lrvK','zgvMyxvSDe9WDgLVBG','Aw52ywXPzf90B2rVx3n0yxr1CW','yxr0CG','q29TBwfUzcaN','vg9KB1DYAxrL','BM93','B3jPz2LUvg9VBenHBgXjza','y2fJAgvK','z2L0AhvI','zw5NAw5L','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','qxzHAwXHyMXLihnRAwXSCYaOC2TPBgXFBMfTztOGzgvZy3jPChrPB24PoG','twfUDwfSihjLyxnVBMLUzYbYzxf1AxjLCYbIDwrNzxruB2TLBNm','mJqWlJaUmc4W','Dgv4DerVy3vTzw50l2rLzMLUAxrPB24','Dhj1BMm','y2fSBeLK','z2v0uhjVDg90ExbLt2y','ChjVDg9JB2W','y2HHCMfJDgvYig11C3qGyMuGysbWB3nPDgL2zsbPBNrLz2vY','BgLZDfrVB2XZ','tunqihnLCNzLCIa','yxnZAwDU','C2HLBgXjza','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','y2XVC2u','w1bFxL1BxhnCu10QpW','uhjVz3jHBuzPBgvZ','BgLNAhq','CMvMzxjLBMnLCW','CMvHzen1CNnVCG','zwzMB3j0','ru5pru5u','uxvLC3rPB24G','AxndB250zxH0','A2v5CW','mtaWlJy0lJaUma','tM8GAg92zxiGAw5MB3jTyxrPB24','ywrKrxzLBNrmAxn0zw5LCG','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','lNDLyNa','CMfUzg9T','zgvSAw1PDgvY','l2jPBI9IyxnO','zg9TywLUCW','o1TExg5DkJ8','lMnQCW','BxrPBwu','B2XSyw1H','CNvUBMLUzW','s2LSBfnOzwXS','DhnZzxj2zxiUANm','D2fYBG','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','twfPBNrHAw4GysbJB25JAxnLihrHC2SGBgLZDcb3AgvUihzPC2LIBguGChjVz3jLC3mGDhjHy2TPBMCGywrKCYbJB29YzgLUyxrPB24GDMfSDwuUcGPvC2uGvg9KB1DYAxrLihDOzw4GDgHLihvZzxiGzxHWBgLJAxrSEsbYzxf1zxn0CYbHihrVzg8Vy2HLy2TSAxn0lcbVCIb3AgvUihDVCMSGAgfZihnLDMvYywWGBwvHBMLUz2z1BcbWAgfZzxmSigrLCgvUzgvUy2LLCYWGB3iGy2HLy2TWB2LUDhmUifnRAxaGAxqGzM9YignVBNzLCNnHDgLVBMfSihf1zxn0Aw9UCYWGysbZAw5NBguGC3rYywLNAhrMB3j3yxjKihrHC2SSig9YigeGC2HVCNqGzMXHDcbZzxf1zw5JzsbVzIb0CML2AwfSigfJDgLVBNmUieXPC3qGBwvHBMLUz2z1BcbVDxrJB21LCYbYyxrOzxiGDgHHBIbPBMrPDMLKDwfSihrVB2WGy2fSBhmUcGPvC2uGC3rHDhvZzxmGCgvUzgLUzYWGAw5FChjVz3jLC3mSigfUzcbJB21WBgv0zwqSihDPDgGGyxqGBw9ZDcbVBMuGAxrLBsbPBL9WCM9NCMvZCY4Gq3jLyxrLihrOzsbSAxn0ig9Uy2uGyMvMB3jLihn0yxj0Aw5NihrYywnRzwqGD29YAY4GvgHLBIb1CgrHDguGAxqGB25SEsbHDcbTzwfUAw5NzNvSig1PBgvZDg9Uzxm6cI0GqMf0y2GGC3rHDhvZignOyw5NzxmGAw4GB25LignHBgW6ig1HCMSGywXSig5LD2X5igzPBMLZAgvKigL0zw1ZignVBxbSzxrLzcbHBMqGC2v0ihrOzsbUzxH0ig1PBgvZDg9UzsbPBL9WCM9NCMvZCYb0B2DLDgHLCI4klsbeBYbUB3qGy2fSBcbuB2rVv3jPDguGywz0zxiGzxzLCNKGDg9VBcbJywXSlcbTAw5VCIbZDwjZDgvWlcbVCIbWCM9NCMvZCYbTzxnZywDLlIbbDM9PzcbIywnRlxrVlwjHy2SGvg9KB1DYAxrLignHBgXZihDPDgHVDxqGC3vIC3rHBNrPDMuGD29YAYbIzxr3zwvUihrOzw0UcI0Gs2vLCcb0AguGy3vYCMvUDcbPDgvTigLUx3bYB2DYzxnZihDOzw4GyMXVy2TLzcWGAw1WBgvTzw50yxrPB24GAxmGCgfYDgLHBcWGB3iGDMvYAwzPy2f0Aw9UigzHAwXZlIbbzgqGB3iGCMv2AxnLigL0zw1Zig9UBhKGD2HLBIb0AguGCgXHBIbTyxrLCMLHBgX5ignOyw5NzxmUcI0GuhjLC2vYDMuGAxrLBsbjrhmGyw5KigLUy2X1zguGDgHLigz1BgWGy3vYCMvUDcbSAxn0igLUigv2zxj5ihvWzgf0zs4klsbbzNrLCIbPBxbSzw1LBNrHDgLVBIbHBMqGDMvYAwzPy2f0Aw9UigzPBMLZAcWGC2vUzcbVBMuGzMLUywWGDxbKyxrLihrOyxqGBwfYA3mGywXSignVBxbSzxrLzcb3B3jRigfJy3vYyxrLBhKU','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','r2XVyG','CMvXDwvZDa','zgvSzwDHDgvKlxj1BI0','qMfZAe91Dhb1Da','AxnbCNjHEq','rgv0ywLSoIa','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','BxvSDgLtzwXLy3q','BgLZDgvU','C3vWzxjszwzPBMu','B2zMC2v0','y2fWq2HHCNm','B2f1DgG','CM91BMq','qxnRig9UzsbVCIbTB3jLig11BhrPCgXLlwnOB2LJzsbXDwvZDgLVBNmGD2HLBIbWCMvMzxjLBMnLCYWGyw1IAwD1Axr5lcbVCIbHigrLy2LZAw9UigjSB2nRCYbWCM9NCMvZCY4GrxzLCNKGCxvLC3rPB24GC3vWCg9YDhmGiK90AgvYiI4Gu2v0ig11BhrPu2vSzwn0ihrVigfSBg93ig11BhrPCgXLigfUC3DLCNmUifb1Dcb0AguGCMvJB21Tzw5KzwqGB3b0Aw9UigzPCNn0igfUzcbZDwzMAxGGAxrZigXHyMvSihDPDgGGiIHszwnVBw1LBMrLzcKIlG','C2HLBgXqyxrO','lM1QCW','Dgf2AwX5qxbPs2v5','t1bftKnprevFqvbjx0Tfwq','CgfJA2fNzs1SB2nRlMPZB24','CgfZC3DVCMq','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','tNv2Aw4','CgfYzw50u2vZC2LVBKLK','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','zMjJBgLK','Bwv0yq','yxbWBgLJyxrPB24VANnVBG','BwnWlxjLCxvLC3qTDgLTzw91Da','yxjNDw1LBNriAw50','revfufnfruTFqvbjx0Tfwq','z3jVAW','BgLUzxm','y29KzvzLCMLMAwvY','CgXHAw4','CxvLC3rPB25Z','C3rKB3v0','y2HHCMfJDgvY','zgvMyxvSDen3za','uMvHC29UAw5NigrLzMf1BhqGiG','C3rKzxjYrgvJB2rLCG','l2jPBI9YzW','CgLK','zNvSzMLSBgvK','BwvKAxvT','BhnW','Ahr0Chm6lY9HCgKUDgf2AwX5lMnVBs9ZzwfYy2G','B25oB3rPzMLJyxrPB24','sfruuca','A2LTAq','tunqifnesYbJBgLLBNqGCMvWB3j0zwqGysbYzwnVDMvYywjSzsbLCNjVCG','C3jJl3rVB2XZl21Vy2STDg9VBc1YDw50Aw1LlNrZ','tg9HzcbHihnRAwXSihrVigDLDcbKzxrHAwXLzcbPBNn0CNvJDgLVBNmGzM9YigeGC3bLy2LMAwmGDgfZAY4','Dg9WAwmGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','C2vYDMvYswq','Bwf4q29Uy3vYCMvUDa','yMfZzw5HBwu','yxjNDw1LBNrZ','Aw5JBhvKzv9KB21HAw5Z','A2v5yMLUzgLUz3m','CxvLCNK','DMvYAwzPzxi','B3jPz2LUywW','Ec1HCgKTA2v5','Dg9ju09tDhjPBMC','DhnJ','qMfJA2DYB3vUzcbLEgvJDxrPB24GAxmGBM90igf2ywLSywjSzsbPBIb0AgLZignVBNrLEhqU','Dg9VBc1VDxrWDxqTB2zMBg9Hza','y29UDgvUDhm','t25SEsbODhrWoI8VigfUzcbODhrWCZOVlYbvuKXZigfYzsbZDxbWB3j0zwq','z2v0u3rHDhm','ignVBxbSzxrLzc4','Dg9WAwm','Aw52ywXPzf90B3bPyW','Aw5WDxrty2HLBwe','BwLUAw1HEa','zgLZy292zxj5u3rHDgu','y29UDgvUDa','zMLUywXnzxnZywDLvgv4Da','Aw5JB21PBMDdywXSCW','CgfYC2u','tM8GC3LTyM9SCYbMB3vUza','BgLUzvrLEhq','zxHPDenVzgu','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','r0LgodDH','C3vKBW','BwLU','zgLZCg9Zzq','oIaIDg9WAwmIigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','CMvHza','B2XKvgv4DcbUB3qGzM91BMqGAw4GzMLSzs4GtwfRzsbZDxjLigL0ig1HDgnOzxmGzxHHy3rSEsbPBMnSDwrPBMCGD2HPDgvZCgfJzs4Gu2vHCMnOAw5NigzVCJOGiG','yNvUlMXVy2TI','Aw5JBhvKzxm','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','AxngAw5PDgu','Bwf4rw50CMLLCW','zMLSDgvY','Dg91y2HgAwXL','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxi6ihf1zxj5','zgvMyxvSDa','nZmWndi5CgTgyxPV','EwfYBI5SB2nR','Dg90ywXeCM9WCgvK','zxH0BMfTzq','ywjVCNrLza','qMfZAa','Bw9KzwW','z2v0','zMLSBa','Aw5PDgLHBgL6zwq','mtKYlJe2oc4WlJa','BgLTAxq','Aw1Hz2vZ','rMLSzsb3CML0DgvUigf0ia','B2XKvgv4Da','z29uB0rLzMLUAxrPB24','z29Vz2XLq3nLs2v5','zgf0yq','vw50AxrSzwq','ks4Gs2LSBcbVBMuGD2L0AcblAwXSu2HLBgWGyMvMB3jLihn0yxj0Aw5NigfUB3rOzxiU','BgfUzW','B3b0Aw9UywW','C29YDa','C2H1DgrVD24','D2fPDezVCKrPywDUB3n0AwnZ','Agv4','lu5VuhjVzMLSzq','yxjYyxK','v2LUr2v0','CMCUzxHL','D29YA3nWywnLu3LTyM9S','Dg9VBa','C3rHCNrZv2L0Aa','y2XPzw50sw5MB3jTyxrPB24','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','y2HHCKnVzgvbDa','y2vPBa','C3jJl2v4yw1WBgvZl2rLBw8UDhm','uKLgrG','CMvNAxn0zxjby3rPDMvbz2vUDa','AwDUB3jL','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','CMv0AxjL','C2fMzq','DMfSDwu','yxv0Aa','zw5HyMXLza','twfUDwfSihjLyxnVBMLUzYbJyw5UB3qGC2v0igvMzM9YDa','AxnjBNrLz2vY','icHWAwqG','t1bftLjpvvrfuL9bueLFs0vz','ignSB3nLihrPBwvKig91Da','DhjHBNnWB3j0','te9dquXbufbeqvrb','yMCT','zgLHz25VC3rPy3m','yMLYDgH0Aw1L','icHZDgf0Dxm6ia','iIbPCYbUB3qGysbKzwnSyxjLzcbVChrPB24','Dgv4DerVy3vTzw50l3b1yMXPC2HeAwfNBM9ZDgLJCW','Ahr0Chm6','CMvQzwn0','ihrVB2WGy2fSBcb0Aw1LzcbVDxq','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','tu9ptLnit1rFqvbjx0Tfwq','tM8GBg9JyxrPB25ZigzVDw5K','DxbKyxrL','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','tuLnrtOG','B3bLBG','BM9Zy3jPChq','vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','C3rHCNq','CMvTB3zLrxzLBNrmAxn0zw5LCG','BM90Awz5','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','DhjHAwXPBMDdAhvUA3m','BwnWlwf1DgGTCMvXDwLYzwq','v2vIu2vHCMnOihjLCxvPCMvZigf0igXLyxn0ig9UzsbZzwfYy2GGzw5NAw5LignVBMzPz3vYzwq','mtvAuxnbDwm','C3rVCMfNzurPCG','CMvJB3jK','Dgv4Da','z29uB0LTCgXLBwvUDgf0Aw9U','mtKYlJaUmc4W','AgfZq2XPzw50CW','y3vZDg9T','BgLI','zgvMAw5PDgLVBG','mJC4nZnMu2fTtum','Dg9Rzw5Z','u2v0igeGy29Uy2LZzsaZltyGD29YzcbUB3vUlxbOCMfZzsbZzxnZAw9UihrVCgLJihDOzw4GDgHLig1HAw4GC3vIAMvJDcbIzwnVBwvZignSzwfYig9Yig1HDgvYAwfSBhKGy2HHBMDLCY4Gu2TPCcbTAw5VCIb0yw5Nzw50CY4GuhjLzMvYicjezwj1zYbuuYbNzw5LCMLJCYbLCNjVCIi7igf2B2LKigz1BgWGC2vUDgvUy2vZig9YihzHz3vLigXHyMvSCYbZDwnOigfZicjJB2rPBMCIlG','BgLUA1TYzwW9j2nHBM9UAwnHBcDD','zNjVBuvUDhjPzxm','yw50AhjVCgLJ','vg9Vig1HBNKGCMvKAxjLy3rZ','vgvYBwLUyxrLigeGyMfJA2DYB3vUzcbWCM9JzxnZihn0yxj0zwqGD2L0AcbcyxnOkhj1BKLUqMfJA2DYB3vUzdP0CNvLksWGAwrLBNrPzMLLzcbIEsbPDhmGC2HLBgXjzc4','yNL0zuXLBMD0Aa','AgfZ','EwvZ','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','Dhj1zwnVBg9Y','zw50CMLLCW','CNvUswq','Bg9JyxrPB24','yxbWzw5K','zg9JDw1LBNrtEw1IB2W','ChvZAa','lMn0CW','CxvLC3rPB24','lMPZB24','lMPZ','BwnWlwnSB3nLlwzHAwXLza','zgv0ywLS','Aw50zxjUywXmAwzLy3LJBgu','BwfW','DhjHBNnMB3jTCW','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','u2HVCNqGDxnLCI1MywnPBMCGC3vTBwfYEsbVzIb0AguGzgvSzwDHDgvKihDVCMSUifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','yNvKz2v0vg9Rzw5ZihjLCxvPCMvZig1HBNvHBcbTB2rL','vg9WAwmGC2v0ihrVici','vw5RBM93BIb0B29SoIa','revfueLorLjbx0fqsv9lrvK','AgvHzgvYCW','CNvUsw5cywnRz3jVDw5K','Dg9Rzw5tDg9YywDLs2v5','u0HfteW','B3v0Chv0uMvNzxG','yw5ZD2vYCW','Dg90ywXqCM9KDwnLza','igzHAwXLzcb0BYbJBg9Zzq','yxjNDw1LBNrZvgv4Da','C3r5Bgu','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','Cgf0DgvYBIbPCYbYzxf1AxjLza','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','CMvSyxrPDMu','ls1JB2X1Bw4','B2jQzwn0','z2nSAwq','CxvLC3rPB24T'];_0x32bb=function(){return _0x387321;};return _0x32bb();}import{access as _0x5dc97f}from'fs/promises';import _0x328c23 from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0xd9204d from'os';import _0x4581e5 from'path';import _0x5cbcde from'which';var installPromises=new Map();function sanitizePackageName(_0x7b6e28){const _0x53e08a={_0x3c160e:0xdd,_0x17288c:0x3f,_0x492adb:0xb0},_0x244596={_0x1b86ff:0x510};function _0x42899b(_0x4007cd,_0x792537,_0xe2c44f,_0x39793f){return _0x5b337b(_0x4007cd- -_0x244596._0x1b86ff,_0x792537,_0xe2c44f-0x112,_0x39793f-0x1f0);}return _0x7b6e28[_0x42899b(-_0x53e08a._0x3c160e,0x76,-_0x53e08a._0x17288c,-_0x53e08a._0x492adb)](/^@/,'')['replace'](/[/]/g,'__');}function binaryNameForPlatform(_0x48b699){const _0x24bb10={_0x530425:0x11b,_0x2436b5:0x274,_0x2e60cb:0x16d,_0xd0115c:0x2c2},_0x722051={_0x1a2d03:0x204,_0x3985c4:0x6a},_0x18cdb={_0x1dee97:0x34,_0x34d7c7:0x2de,_0x17005e:0x5b};function _0x185c99(_0x3f7fd7,_0x5b9ff8,_0x5dc0ae,_0x14937e){return _0x125cf4(_0x3f7fd7-_0x18cdb._0x1dee97,_0x5dc0ae-_0x18cdb._0x34d7c7,_0x3f7fd7,_0x14937e-_0x18cdb._0x17005e);}function _0x20073f(_0x1fd09e,_0x3d0cb5,_0x1c9f2e,_0x263665){return _0x5b337b(_0x1fd09e-_0x722051._0x1a2d03,_0x1c9f2e,_0x1c9f2e-0x80,_0x263665-_0x722051._0x3985c4);}return process[_0x185c99(_0x24bb10._0x530425,_0x24bb10._0x2436b5,0x210,_0x24bb10._0x2e60cb)]===_0x185c99(0x10c,0x1dd,0x242,_0x24bb10._0xd0115c)?_0x48b699+_0x185c99(0x46,0xaa,0x7a,0x20d):_0x48b699;}async function exists(_0x35817){try{return await access(_0x35817),!![];}catch{return![];}}function runNpmInstall(_0x319019,_0x3b573a,_0x2b9990){const _0x2e5cec={_0x3a0e82:0x4dc,_0x214bb8:0x102,_0xc1feda:0x13a,_0x10003b:0x219,_0x401d57:0x291},_0x52a36f={_0x23c804:0x42};return new Promise(_0x22a8b1=>{const _0x1e5a6f=spawn(_0x1f1467(0x1fd,0x40b,0x1ac,0x311),[_0x438fd0(0x317,0x2a3,0x17c,0x1e7),_0x438fd0(0x2d5,0x34e,_0x2e5cec._0x3a0e82,0x222),_0x319019,_0x3b573a],{'env':_0x2b9990,'stdio':_0x438fd0(_0x2e5cec._0x214bb8,0x23d,0x361,0x2ab)});_0x1e5a6f['on']('error',()=>_0x22a8b1(![]));function _0x438fd0(_0x40e709,_0x21d5bc,_0x369dd1,_0x28dc96){return _0x5504(_0x21d5bc-_0x52a36f._0x23c804,_0x28dc96);}function _0x1f1467(_0x4b89b7,_0x2c0591,_0x12b526,_0x406a8c){return _0x5504(_0x406a8c-0x18,_0x12b526);}_0x1e5a6f['on'](_0x1f1467(_0x2e5cec._0xc1feda,_0x2e5cec._0x10003b,_0x2e5cec._0x401d57,0x166),_0x17644e=>_0x22a8b1(_0x17644e===0x0));});}function shouldDisableLspDownload(_0x31d94a=process[_0x125cf4(-0x1aa,-0xa0,0xe7,-0x1f5)]){const _0x34f45e={_0x433807:0x4e0,_0x30223a:0x49c,_0x3c1a5e:0x6af,_0x318135:0x5f2,_0x3daa6a:0x491,_0x4d0be0:0x17f,_0x4bfc8c:0x117},_0x3fa4a1={_0x5bacad:0x59},_0x2e08df={_0x226840:0xbd};function _0xa0812e(_0x3ef7fb,_0x7ae974,_0xed20b1,_0x1bde54){return _0x5b337b(_0x3ef7fb- -0x538,_0x7ae974,_0xed20b1-_0x2e08df._0x226840,_0x1bde54-0x57);}const _0x256058=_0x31d94a[_0x393165(_0x34f45e._0x433807,0x5c8,_0x34f45e._0x30223a,0x43b)]?.[_0x393165(_0x34f45e._0x3c1a5e,_0x34f45e._0x318135,0x534,_0x34f45e._0x3daa6a)]();function _0x393165(_0x32080b,_0x28a4b1,_0x517fec,_0x59fe14){return _0x125cf4(_0x32080b-_0x3fa4a1._0x5bacad,_0x28a4b1-0x5dc,_0x59fe14,_0x59fe14-0x9b);}return _0x256058==='true'||_0x256058==='1'||_0x256058===_0xa0812e(-_0x34f45e._0x4d0be0,-0x15,-0x1e7,-_0x34f45e._0x4bfc8c)||_0x256058==='on';}function getLspPackageDir(_0x27c7e5){const _0x4fca8a={_0x47e59c:0x31f,_0x3bf991:0x448,_0x3fff50:0x49,_0x1b7901:0x1e7,_0x2aa9cd:0x112,_0x2d0bb8:0xb3,_0x484de7:0x113,_0x4341d5:0x1a},_0x55db31={_0x3e46fc:0x193,_0x5018c4:0x102},_0xcb9297={_0x378e4b:0x140,_0x4e4027:0x1b4};function _0x32365b(_0x2be8aa,_0x2a5f0f,_0x8f72f2,_0x1bd7a2){return _0x5b337b(_0x2be8aa- -0x160,_0x1bd7a2,_0x8f72f2-_0xcb9297._0x378e4b,_0x1bd7a2-_0xcb9297._0x4e4027);}function _0x3f4b30(_0x201983,_0x4a6f0d,_0xb29245,_0x2ccf89){return _0x5b337b(_0xb29245- -_0x55db31._0x3e46fc,_0x4a6f0d,_0xb29245-_0x55db31._0x5018c4,_0x2ccf89-0xdc);}return _0x4581e5[_0x32365b(0x33a,_0x4fca8a._0x47e59c,_0x4fca8a._0x3bf991,0x1e6)](_0xd9204d['homedir'](),_0x32365b(0x3c6,0x27e,0x4d0,0x51b),_0x32365b(0x1bd,_0x4fca8a._0x3fff50,_0x4fca8a._0x1b7901,_0x4fca8a._0x2aa9cd),_0x3f4b30(_0x4fca8a._0x2d0bb8,_0x4fca8a._0x484de7,0x11c,-_0x4fca8a._0x4341d5),sanitizePackageName(_0x27c7e5));}function getLspBinDir(_0x5a8196){const _0x4132cc={_0x52f697:0x111,_0x46a819:0xee,_0x2cec17:0x3a},_0x244f0f={_0x8672bd:0x1cc,_0x2c2ee6:0x5cf,_0x356743:0x12},_0x11da6d={_0x251fb9:0x143,_0x5d4c40:0x183,_0x101796:0x1a4};function _0xabaf4f(_0x19bdfc,_0x1e7580,_0x5cc17b,_0x43d795){return _0x125cf4(_0x19bdfc-_0x11da6d._0x251fb9,_0x1e7580-_0x11da6d._0x5d4c40,_0x19bdfc,_0x43d795-_0x11da6d._0x101796);}function _0x49eece(_0x31f02c,_0x30a6f1,_0x2197c6,_0xf92191){return _0x125cf4(_0x31f02c-_0x244f0f._0x8672bd,_0x30a6f1-_0x244f0f._0x2c2ee6,_0x2197c6,_0xf92191-_0x244f0f._0x356743);}return _0x4581e5[_0xabaf4f(0x56,_0x4132cc._0x52f697,-0x1d,0x15a)](getLspPackageDir(_0x5a8196),_0xabaf4f(-0x22a,-0xe5,-_0x4132cc._0x46a819,-_0x4132cc._0x2cec17),'.bin');}async function findPackageBinary(_0x29ec03,_0x48177b){const _0x4d08cc={_0x208ef0:0x30f,_0x140550:0x32e,_0x531b93:0x385,_0x5bcfd4:0x39,_0x3aee76:0x10,_0x5d6885:0x179,_0x13d49d:0x16},_0x187bcd={_0xe7de34:0x18c},_0x25b6c3={_0x5a4821:0x18b};function _0x180398(_0xb63c9d,_0x228edf,_0x2620d4,_0x248668){return _0x5b337b(_0xb63c9d- -_0x25b6c3._0x5a4821,_0x2620d4,_0x2620d4-0x1c9,_0x248668-0xcd);}function _0x5caf75(_0x26ed0c,_0x1c3619,_0x530faf,_0x75257b){return _0x5b337b(_0x530faf- -0x26b,_0x1c3619,_0x530faf-0x17d,_0x75257b-_0x187bcd._0xe7de34);}let _0x238734=_0x4581e5['resolve'](_0x48177b);const _0x37e874=binaryNameForPlatform(_0x29ec03);while(!![]){const _0x400371=_0x4581e5[_0x180398(_0x4d08cc._0x208ef0,_0x4d08cc._0x140550,0x472,_0x4d08cc._0x531b93)](_0x238734,_0x5caf75(0x5,0xb8,_0x4d08cc._0x5bcfd4,-_0x4d08cc._0x3aee76),'.bin',_0x37e874);if(await exists(_0x400371))return _0x400371;const _0x307e91=_0x4581e5[_0x5caf75(0x155,-_0x4d08cc._0x5d6885,_0x4d08cc._0x13d49d,0x1)](_0x238734);if(_0x307e91===_0x238734)return void 0x0;_0x238734=_0x307e91;}}async function findPathBinary(_0x5f2a32,_0x4b284b){const _0x579e9c={_0x3b1d9c:0x266,_0x1e628a:0x294,_0x33cb60:0x1cf,_0x4542b1:0xfa,_0x11ac51:0x149,_0x5063c4:0x94,_0x1dad96:0x196},_0x2031af={_0x2ba13f:0x1cd},_0x165c3f={_0xcfe42e:0x120},_0xba93a6=getLspBinDir(_0x4b284b),_0x57a194=[_0xba93a6,process[_0x346423(_0x579e9c._0x3b1d9c,0x15c,_0x579e9c._0x1e628a,0xcf)][_0x4ae519(0x11e,0xd3,_0x579e9c._0x33cb60,_0x579e9c._0x4542b1)]][_0x346423(0xe7,0x42,_0x579e9c._0x11ac51,0xa2)](Boolean)[_0x346423(0x2f2,0x18a,_0x579e9c._0x5063c4,0x268)](_0x4581e5[_0x346423(0xf7,-0x2e,0x3f,-_0x579e9c._0x1dad96)]);function _0x346423(_0x41fa72,_0x4d87ac,_0x576792,_0x444dcc){return _0x5b337b(_0x4d87ac- -0x310,_0x41fa72,_0x576792-_0x165c3f._0xcfe42e,_0x444dcc-0x1b7);}function _0x4ae519(_0x3c3652,_0x3e4226,_0x7f8394,_0xacbcb6){return _0x125cf4(_0x3c3652-_0x2031af._0x2ba13f,_0x3e4226-0x382,_0xacbcb6,_0xacbcb6-0x59);}try{return await _0x5cbcde(_0x5f2a32,{'path':_0x57a194});}catch{return void 0x0;}}async function resolvePackageBinary(_0x555964){const _0x4f1f6e={_0x3f8a14:0x591,_0x4a3bdc:0x58a,_0x1e76dd:0x6e9,_0x1c265e:0x63e,_0x2a2a1d:0x726,_0x3449f3:0x445,_0x4335ad:0x1b6,_0x37bcbd:0x2a1,_0x305af6:0x2c5,_0x1b0efc:0x282,_0x2a9ab1:0x19c,_0x2d6023:0x6e9,_0x39e9b5:0x6a3,_0x5ed7fd:0x264,_0x1be6d7:0x278,_0x2cff41:0x6d4,_0x48f607:0x660,_0x4b9cb9:0x646},_0x89cfe7={_0x472db1:0x112,_0x13801d:0x23b,_0x342a0c:0x12a},_0x5156b7={_0x210d90:0x175,_0x3c0ae3:0x48},_0x29783d={_0x382645:0x17d},_0x210232={_0xa1d8c1:0x1c0},_0x1cf685=_0x555964['binaryName']??_0x555964[_0x10a873(_0x4f1f6e._0x3f8a14,_0x4f1f6e._0x4a3bdc,_0x4f1f6e._0x1e76dd,0x871)],_0x2ada98=await findPackageBinary(_0x1cf685,_0x555964[_0x10a873(0x777,_0x4f1f6e._0x1c265e,_0x4f1f6e._0x2a2a1d,0x713)]);if(_0x2ada98)return _0x2ada98;const _0x5a212a=await findPathBinary(_0x1cf685,_0x555964[_0x58580d(0x2e3,0x1a2,0x17c,0x380)]);function _0x58580d(_0x1ca58f,_0x21f17c,_0x12ae08,_0x35fb90){return _0x125cf4(_0x1ca58f-0x6d,_0x1ca58f-0x365,_0x35fb90,_0x35fb90-_0x210232._0xa1d8c1);}if(_0x5a212a)return _0x5a212a;const _0x1841ae=_0x555964[_0x58580d(0x2c5,_0x4f1f6e._0x3449f3,_0x4f1f6e._0x4335ad,_0x4f1f6e._0x37bcbd)]??process[_0x58580d(_0x4f1f6e._0x305af6,_0x4f1f6e._0x1b0efc,0x445,_0x4f1f6e._0x2a9ab1)];if(shouldDisableLspDownload(_0x1841ae))return void 0x0;const _0x3a6625=getLspPackageDir(_0x555964['packageName']),_0x3d7cd9=_0x555964[_0x10a873(0x5e0,0x828,_0x4f1f6e._0x2d6023,_0x4f1f6e._0x39e9b5)]+':'+_0x1cf685;let _0x490f15=installPromises[_0x58580d(_0x4f1f6e._0x4335ad,_0x4f1f6e._0x5ed7fd,0x10b,0x1f7)](_0x3d7cd9);function _0x10a873(_0x5965c0,_0x4d478d,_0x1605eb,_0x3d49e1){return _0x125cf4(_0x5965c0-0x123,_0x1605eb-0x76b,_0x3d49e1,_0x3d49e1-_0x29783d._0x382645);}!_0x490f15&&(_0x490f15=((async()=>{const _0x1d82ae={_0x43079a:0x13f};await mkdir(_0x3a6625,{'recursive':!![]});const _0x301f85=await runNpmInstall(_0x3a6625,_0x555964['packageName'],_0x1841ae);if(!_0x301f85)return void 0x0;function _0x539feb(_0x33b107,_0x378874,_0x5d5ff7,_0x106903){return _0x10a873(_0x33b107-_0x5156b7._0x210d90,_0x378874-_0x5156b7._0x3c0ae3,_0x378874- -0x55b,_0x5d5ff7);}function _0x5c034f(_0x3f311d,_0x2796c5,_0x5e8107,_0x51a836){return _0x58580d(_0x51a836- -0xb8,_0x2796c5-0x5f,_0x5e8107-_0x1d82ae._0x43079a,_0x2796c5);}const _0x2506f7=_0x4581e5[_0x5c034f(0x3c2,_0x89cfe7._0x472db1,0x361,_0x89cfe7._0x13801d)](getLspBinDir(_0x555964[_0x539feb(0xb2,0x18e,_0x89cfe7._0x342a0c,0x11b)]),binaryNameForPlatform(_0x1cf685));return await exists(_0x2506f7)?_0x2506f7:void 0x0;})()),installPromises[_0x58580d(0x310,0x2b9,_0x4f1f6e._0x1be6d7,0x46d)](_0x3d7cd9,_0x490f15));try{return await _0x490f15;}catch{return void 0x0;}finally{installPromises[_0x10a873(_0x4f1f6e._0x2cff41,_0x4f1f6e._0x48f607,_0x4f1f6e._0x4b9cb9,0x5bb)](_0x3d7cd9);}}var TYPESCRIPT_EXTENSIONS=[_0x5b337b(0x269,0x2ea,0x152,0x3e5),_0x125cf4(0x21,0x1f,-0x15d,-0x48),_0x5b337b(0x3c5,0x474,0x4c2,0x248),_0x125cf4(-0x28d,-0x2cf,-0x1c3,-0x15b),_0x5b337b(0x300,0x354,0x1ba,0x1f3),_0x5b337b(0x2e6,0x181,0x40d,0x466),_0x125cf4(0x124,-0x41,-0x7f,-0x1a2),_0x5b337b(0x3c2,0x52f,0x28e,0x247)],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x5b337b(0x3c4,0x4e2,0x45e,0x29b),_0x125cf4(0x4c,-0x111,-0x1fa,-0x147)],TYPESCRIPT_ROOT_MARKERS=[_0x125cf4(-0x257,-0x209,-0xa2,-0xa3),'bun.lockb',_0x5b337b(0x429,0x476,0x4cd,0x305),_0x125cf4(-0x9a,-0x81,0xc0,0xf4),_0x5b337b(0x357,0x281,0x389,0x46a),_0x125cf4(-0x99,-0x4c,0xab,-0x18),'jsconfig.json','package.json'],BIOME_ROOT_MARKERS=[_0x5b337b(0x4b8,0x5e3,0x5a5,0x58d),'biome.jsonc',_0x125cf4(-0x27a,-0x209,-0x207,-0x178),_0x5b337b(0x34d,0x251,0x463,0x341),_0x5b337b(0x429,0x407,0x451,0x5ba),_0x5b337b(0x48b,0x3a1,0x3ac,0x481),'yarn.lock',_0x125cf4(-0x11d,0x1c,-0x5e,-0xf4)];async function exists2(_0x910101){try{return await _0x5dc97f(_0x910101),!![];}catch{return![];}}async function findUp(_0x125884,_0x24784d){const _0xa82ee7={_0x1ca8cd:0x8c,_0x5589b8:0x122,_0x42419f:0x136,_0xd17a4c:0xc1,_0x1a3460:0x26,_0x2f41cb:0x95},_0x1eda04={_0x329e22:0x3b7,_0x3bb880:0x3f},_0x1fe28b={_0x4cc326:0x1,_0x135d1b:0x187};let _0x242c8c=_0x328c23[_0x20a740(0xee,_0xa82ee7._0x1ca8cd,_0xa82ee7._0x5589b8,_0xa82ee7._0x42419f)](_0x125884);function _0x526d69(_0x2e89c1,_0x1d125f,_0x698106,_0x315945){return _0x125cf4(_0x2e89c1-_0x1fe28b._0x4cc326,_0x1d125f-0x18d,_0x2e89c1,_0x315945-_0x1fe28b._0x135d1b);}const _0x1eb18c=_0x328c23[_0x526d69(-_0xa82ee7._0xd17a4c,-_0xa82ee7._0x1a3460,_0xa82ee7._0x2f41cb,0x98)](_0x242c8c);function _0x20a740(_0x170afc,_0x10006a,_0x25c8fa,_0x145f90){return _0x5b337b(_0x170afc- -_0x1eda04._0x329e22,_0x145f90,_0x25c8fa-_0x1eda04._0x3bb880,_0x145f90-0x3d);}if(_0x1eb18c)_0x242c8c=_0x328c23['dirname'](_0x242c8c);while(!![]){for(const _0x1bd73d of _0x24784d){if(await exists2(_0x328c23['join'](_0x242c8c,_0x1bd73d)))return _0x242c8c;}const _0x1fbfe0=_0x328c23[_0x20a740(-0x136,-0x1d9,-0x22,0x4c)](_0x242c8c);if(_0x1fbfe0===_0x242c8c)return void 0x0;_0x242c8c=_0x1fbfe0;}}async function hasDenoRoot(_0x7e5ce2){const _0x31c750={_0x410b50:0x60};function _0x2e86f0(_0x80aeaa,_0x46de46,_0x219ed4,_0x23c562){return _0x5b337b(_0x23c562-0x20f,_0x80aeaa,_0x219ed4-0x1bc,_0x23c562-_0x31c750._0x410b50);}return await exists2(_0x328c23['join'](_0x7e5ce2,'deno.json'))||await exists2(_0x328c23[_0x2e86f0(0x69a,0x55d,0x723,0x6a9)](_0x7e5ce2,'deno.jsonc'));}async function resolveTsserverPath(_0x4fe5fc){const _0x16d8a6={_0x3813a9:0x5da,_0x5d771d:0x82c,_0x182fe4:0x674,_0x414f9a:0x58f,_0xd2cdf4:0x683,_0x22b791:0x77c,_0x5db3ea:0x33d,_0x13e4e5:0x4c5,_0x5b6e2a:0x5a5,_0x2b222d:0x5c9,_0x3e597:0x559,_0x25b229:0x38c,_0x4a985d:0x4cc,_0x122cc2:0x523,_0x11217d:0x52e},_0x1332c9={_0x3278ae:0xff},_0x313df7={_0x5c35b1:0x99};function _0x1679b9(_0x4be0a7,_0x1da710,_0x266fe3,_0x4a8d88){return _0x5b337b(_0x266fe3-0x1da,_0x4a8d88,_0x266fe3-_0x313df7._0x5c35b1,_0x4a8d88-0x109);}let _0x3cc694=_0x328c23[_0x519bf3(0x6e2,0x6cd,_0x16d8a6._0x3813a9,_0x16d8a6._0x5d771d)](_0x4fe5fc);while(!![]){const _0x1bba8e=_0x328c23[_0x1679b9(0x653,0x63a,_0x16d8a6._0x182fe4,_0x16d8a6._0x414f9a)](_0x3cc694,_0x519bf3(0x343,0x4cc,0x54f,0x39a),_0x519bf3(0x715,0x644,_0x16d8a6._0xd2cdf4,_0x16d8a6._0x22b791),'lib',_0x1679b9(0x5b3,_0x16d8a6._0x5db3ea,_0x16d8a6._0x13e4e5,0x4ec));if(await exists2(_0x1bba8e))return _0x1bba8e;const _0x5b21e1=_0x328c23[_0x519bf3(_0x16d8a6._0x5b6e2a,0x4a9,0x39d,0x455)](_0x3cc694);if(_0x5b21e1===_0x3cc694)break;_0x3cc694=_0x5b21e1;}const _0x42c0e9=getLspPackageDir('typescript');function _0x519bf3(_0x522fb4,_0x44612f,_0x50e837,_0x4dd127){return _0x5b337b(_0x44612f-0x228,_0x4dd127,_0x50e837-_0x1332c9._0x3278ae,_0x4dd127-0x18f);}const _0xa78248=await resolvePackageBinary({'packageName':_0x519bf3(0x618,0x644,0x5f8,0x719),'binaryName':_0x519bf3(_0x16d8a6._0x2b222d,_0x16d8a6._0x3e597,0x58d,0x4fd),'startDir':_0x4fe5fc});if(!_0xa78248)return void 0x0;const _0x3c46eb=_0x328c23[_0x1679b9(0x634,0x7b4,_0x16d8a6._0x182fe4,0x785)](_0x42c0e9,_0x519bf3(_0x16d8a6._0x25b229,_0x16d8a6._0x4a985d,_0x16d8a6._0x122cc2,_0x16d8a6._0x11217d),'typescript',_0x519bf3(0x6a3,0x5d5,0x52d,0x68a),'tsserver.js');return await exists2(_0x3c46eb)?_0x3c46eb:void 0x0;}var TypeScriptServer={'id':_0x5b337b(0x41c,0x54f,0x587,0x46d),'name':'TypeScript\x20Language\x20Server','extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x54f0d0){const _0x15b509=await findUp(_0x54f0d0,TYPESCRIPT_ROOT_MARKERS);if(!_0x15b509)return void 0x0;return await hasDenoRoot(_0x15b509)?void 0x0:_0x15b509;},async 'spawn'(_0x422b28){const _0x5e44c3={_0x269d54:0x2fb,_0x50d3fd:0x461},_0x1e1d6c={_0x701d8c:0xd5},_0x8c53e1={_0xb76318:0x1c5,_0x355225:0x128,_0x566713:0x169};function _0x4cc036(_0x3e17ba,_0x3f7834,_0x52d66f,_0x26e698){return _0x5b337b(_0x52d66f- -_0x8c53e1._0xb76318,_0x3f7834,_0x52d66f-_0x8c53e1._0x355225,_0x26e698-_0x8c53e1._0x566713);}function _0x420ba0(_0x45d5d5,_0x35b17a,_0x5ce6e2,_0xd2f686){return _0x5b337b(_0xd2f686- -0x4f,_0x5ce6e2,_0x5ce6e2-_0x1e1d6c._0x701d8c,_0xd2f686-0x74);}const _0x35b54b=await resolveTsserverPath(_0x422b28);if(!_0x35b54b)return void 0x0;const _0x2699a7=await resolvePackageBinary({'packageName':'typescript-language-server','binaryName':_0x420ba0(_0x5e44c3._0x269d54,0x223,0x447,0x2f5),'startDir':_0x422b28});if(!_0x2699a7)return void 0x0;return{'process':_0x304567(_0x2699a7,[_0x4cc036(0x357,_0x5e44c3._0x50d3fd,0x30e,0x35a)],{'cwd':_0x422b28,'stdio':_0x420ba0(0x2a3,0x1a5,0x2d2,0x231)}),'initialization':{'tsserver':{'path':_0x35b54b}}};}},BiomeServer={'id':_0x5b337b(0x211,0x21a,0x298,0x8e),'name':_0x125cf4(-0x32e,-0x271,-0x31b,-0x190),'extensions':BIOME_EXTENSIONS,async 'root'(_0x28b98d){return findUp(_0x28b98d,BIOME_ROOT_MARKERS);},async 'spawn'(_0x3fda3a){const _0x44ef96={_0x2f29e3:0x3a9,_0x1e7d0b:0x2f3,_0x380d1:0x510,_0x4f1113:0x455,_0x19e77:0x58f,_0x4df2e6:0x450,_0x2e00b3:0x464},_0x12234c={_0x22b829:0xc4},_0x429d26={_0x10178c:0xd6,_0x6fe5b6:0x5ef,_0x3215e2:0xf2};function _0x363df6(_0x506a9b,_0x28de81,_0xc31d4f,_0x523951){return _0x125cf4(_0x506a9b-_0x429d26._0x10178c,_0x506a9b-_0x429d26._0x6fe5b6,_0x523951,_0x523951-_0x429d26._0x3215e2);}const _0x3a5a2a=await findPackageBinary('biome',_0x3fda3a)??await resolvePackageBinary({'packageName':'@biomejs/biome','binaryName':_0x363df6(0x2f4,0x46c,0x309,_0x44ef96._0x2f29e3),'startDir':_0x3fda3a});function _0xbc417a(_0x1cd0e1,_0x27a8c8,_0x5d2acd,_0x2ddf0e){return _0x5b337b(_0x5d2acd-0x1e4,_0x1cd0e1,_0x5d2acd-_0x12234c._0x22b829,_0x2ddf0e-0x1d1);}if(!_0x3a5a2a)return void 0x0;return{'process':_0x304567(_0x3a5a2a,[_0xbc417a(_0x44ef96._0x1e7d0b,_0x44ef96._0x380d1,_0x44ef96._0x4f1113,0x593),_0xbc417a(0x764,_0x44ef96._0x19e77,0x6b7,0x544)],{'cwd':_0x3fda3a,'stdio':_0xbc417a(0x520,_0x44ef96._0x4df2e6,_0x44ef96._0x2e00b3,0x4ce)})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x142cc9){const _0x23ccb0={_0x2cb0ae:0x1ad,_0xa6fe3:0x1f3,_0x11b64b:0xcf,_0x565223:0x1e8},_0x2d497a={_0x2a56cd:0x53a,_0x88a467:0x142},_0x35e502={_0x4d3352:0xb9,_0x1169dc:0x116};function _0x1eb0c9(_0x55fb89,_0x2379cd,_0x4a5d6a,_0x4c196e){return _0x125cf4(_0x55fb89-0x173,_0x4c196e-_0x35e502._0x4d3352,_0x2379cd,_0x4c196e-_0x35e502._0x1169dc);}const _0x26963e=_0x328c23['extname'](_0x142cc9)[_0x1eb0c9(_0x23ccb0._0x2cb0ae,_0x23ccb0._0xa6fe3,0x1a1,_0x23ccb0._0x11b64b)]();function _0x199af1(_0x5d800d,_0x5a2a86,_0x30ee41,_0x467c97){return _0x5b337b(_0x467c97- -_0x2d497a._0x2a56cd,_0x30ee41,_0x30ee41-0x15c,_0x467c97-_0x2d497a._0x88a467);}return BUILTIN_LSP_SERVERS[_0x199af1(-0x158,-0x12c,-0x2fd,-_0x23ccb0._0x565223)](_0x30ecb5=>_0x30ecb5[_0x1eb0c9(0x14c,-0xf3,0xdd,-0x36)][_0x199af1(-0xbd,-0x16a,-0x19c,-0x1ec)](_0x26963e));}function stateKey(_0x505d43,_0x3911be){return _0x3911be+':'+_0x505d43['id'];}function diagnosticsKeyToPath(_0x556e9a){const _0x13d696={_0x49fa1d:0x596,_0x293178:0x741,_0x5db9c6:0x65b},_0x5e053b={_0x311874:0x72c},_0x488ecc={_0x160a2e:0x1d5,_0x147f48:0x6a};function _0x15d260(_0x5938ca,_0x1a19c5,_0x22b704,_0x10922b){return _0x125cf4(_0x5938ca-_0x488ecc._0x160a2e,_0x10922b-0x717,_0x1a19c5,_0x10922b-_0x488ecc._0x147f48);}function _0x4aa690(_0x2a2ad6,_0x44f713,_0x32268a,_0x55acc1){return _0x125cf4(_0x2a2ad6-0x8e,_0x2a2ad6-_0x5e053b._0x311874,_0x55acc1,_0x55acc1-0x85);}if(!_0x556e9a[_0x4aa690(_0x13d696._0x49fa1d,0x617,0x710,0x6c0)](_0x4aa690(_0x13d696._0x293178,0x6d7,0x72d,_0x13d696._0x5db9c6)))return _0x556e9a;return fileURLToPath(_0x556e9a);}function nextFileVersion(_0x29cd8b,_0x3b3916){const _0x27786e={_0x167284:0x193,_0x480440:0x23b,_0x32e5bd:0x448,_0x2b2e75:0x2b3},_0xcde73e={_0x3759a5:0x285,_0x515039:0x95},_0xac0b3e={_0x21efef:0x458};function _0x32ee28(_0x2784d9,_0x4c7fea,_0x59b853,_0x119187){return _0x125cf4(_0x2784d9-0xa6,_0x4c7fea-_0xac0b3e._0x21efef,_0x119187,_0x119187-0x22);}function _0x37531d(_0x33dda3,_0xb1bb19,_0x4da415,_0xfd87cd){return _0x125cf4(_0x33dda3-0xea,_0x4da415-_0xcde73e._0x3759a5,_0xfd87cd,_0xfd87cd-_0xcde73e._0x515039);}const _0x569ba9=(_0x29cd8b[_0x32ee28(0x179,_0x27786e._0x167284,_0x27786e._0x480440,0x232)]['get'](_0x3b3916)??0x1)+0x1;return _0x29cd8b[_0x37531d(-0x196,0x106,-0x40,-0x9a)][_0x32ee28(_0x27786e._0x32e5bd,0x403,0x32e,_0x27786e._0x2b2e75)](_0x3b3916,_0x569ba9),_0x569ba9;}async function collectClientResults(_0x30cc83){const _0x177bd9={_0x2c25e1:0x207},_0x26293d={_0x517b31:0x93,_0x5993f0:0x6a5},_0xd7ebd=await Promise[_0x59bb16(0xdc,0xad,_0x177bd9._0x2c25e1,0x23d)](_0x30cc83);function _0x21eaba(_0x25127e,_0x1eff87,_0xd0eef2,_0xc9be25){return _0x125cf4(_0x25127e-_0x26293d._0x517b31,_0x1eff87-_0x26293d._0x5993f0,_0xd0eef2,_0xc9be25-0x97);}function _0x59bb16(_0x5968ec,_0x120884,_0x2104b1,_0x2789a7){return _0x125cf4(_0x5968ec-0x1c3,_0x2789a7-0x2f2,_0x2104b1,_0x2789a7-0x11);}return _0xd7ebd['flatMap'](_0x1a3e0c=>_0x1a3e0c[_0x59bb16(0x14c,0x371,0x198,0x1e9)]===_0x21eaba(0x3cd,0x4b4,0x641,0x56c)?_0x1a3e0c[_0x59bb16(0x1e1,0x9f,0x129,0x168)]:[]);}function createLspService(_0x24c263={}){const _0x52470e={_0x5e7b9e:0xa0},_0x29e6ab={_0x46f87e:0x584,_0x4fb0d6:0x416,_0x488a10:0x427,_0x62f3a0:0x625,_0x2e938e:0x570,_0x198b28:0x4c1,_0x231931:0x556,_0x7275b4:0x67c,_0x33391d:0x4b7,_0x2b74a6:0x2c4,_0x1fde11:0x24e,_0x2682d1:0x3cd,_0x386c51:0x319,_0x43437c:0x362,_0x43f308:0x5a6,_0x2a212b:0x2e8,_0x2f5220:0x49b,_0x4b9277:0x613,_0x481f0c:0x61f},_0x42ce36={_0xe00a49:0x152,_0x252734:0x8f},_0x564dfb={_0x1cf923:0x17e,_0x1bb99f:0x200,_0x87d550:0x1b0},_0x79cc72={_0x28d298:0xbc,_0x47ddb0:0x150,_0x9b63ba:0x2b},_0x178545={_0x3da967:0x2f,_0x5cc084:0x114,_0x4b52b3:0x6a},_0x4faa25={_0x3df8be:0xa8,_0x33454e:0x136,_0x2837f3:0x372,_0x3351c7:0x48c,_0x32abf4:0x512,_0x2a0b8b:0x4df},_0x46ef8a={_0x462b48:0x498,_0x262287:0x3e9,_0x115eea:0x471},_0x22dd9={_0x4a4377:0x1d},_0x25b292={_0x28ad5f:0x142,_0x17bfc0:0x69,_0xfc3ac2:0x25a,_0x1ab281:0x44e,_0x474bbe:0x8,_0x1841f6:0x6a},_0x349b5c={_0x589f5c:0x11e,_0x1ec44e:0xda,_0x31b280:0x60},_0x335bb0={_0x6c9677:0x102,_0x481f3e:0x5a},_0x9fe25a={_0x16b464:0x479,_0x23b6d2:0xab,_0x5beeb1:0x5c},_0x1dc842={_0x27efcf:0x12e},_0x30a833={_0x498959:0x119,_0x19aebc:0x58,_0x29267b:0x7c},_0x271300={_0xad1cd3:0x2bf,_0x4a0985:0x260},_0x3b6ab7={_0x295644:0x141,_0x1287a4:0x69},_0x171831={_0x159d9f:0x1ae},_0x4ce87e={_0x58f6ae:0xa9,_0x2d8b21:0x7d},_0x41d485={_0x3ff80c:0xe0,_0x393f54:0xb4,_0x13bf49:0x194},_0x374f05={_0x3b64ae:0x3cd,_0x51de7c:0x11},_0x223d7c={_0x20f7fd:0x300,_0x2ee768:0x442,_0x3f34a2:0x217,_0x2581e2:0x251,_0x431ce7:0x325,_0x3c931f:0x15c},_0x18eb3e={_0x572692:0x5e9,_0x15c294:0x532,_0x714e43:0x13d,_0x2366bc:0x1ae,_0xe8b6ed:0x2d5,_0x18ede6:0x14e,_0x2064b7:0x45f,_0x539b94:0x2c7,_0x287dcb:0x50e,_0x54938a:0x4de,_0x460947:0x523,_0x3f8ef6:0x670,_0x5d3bd9:0x43d},_0x5da638={_0x59c398:0x11c,_0x44e59c:0xe7},_0x1c173f={_0x4b299f:0x1bf,_0xb025fc:0x6a,_0x3f9718:0x1,_0x487fd2:0x225,_0x2e6020:0x19a,_0x17744d:0x12a,_0x4feca4:0x70,_0x5a4a62:0x1d,_0x143b1d:0x5a},_0x360582={_0x52e85a:0xcd},_0x10aaa3={_0x56b4ae:0xcc,_0x412ed8:0x100,_0x40d18c:0x87},_0x2effb0={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x26e02c=()=>_0x24c263[_0xa134b8(-0x94,-0x49,0x70,-0x51)]!==![];async function _0x3c4f14(_0x6daf22,_0x3b6db0){const _0x560351={_0x1fb110:0x46c,_0x56585b:0x4ad,_0x4297fd:0x5b6,_0xed5d30:0x789,_0x241dcc:0x645,_0x159810:0x3c4,_0x312a2d:0x1c4,_0x310d8e:0x254,_0x51d98c:0x5e6,_0x1c3f6d:0x5d,_0x13da3a:0x34,_0x415717:0x76b,_0xe83d6a:0x6c3},_0x3eb437=stateKey(_0x6daf22,_0x3b6db0),_0xf1a815=_0x2effb0['clients'][_0x1d8f33(0x74,0x8b,-0x7a,-_0x1c173f._0x4b299f)](_0x233998=>_0x233998[_0x454e76(-0x1ce,-0x173,0x18,-0x98)]===_0x6daf22['id']&&_0x233998['root']===_0x3b6db0);if(_0xf1a815)return _0xf1a815;if(_0x2effb0['broken']['has'](_0x3eb437))return void 0x0;function _0x454e76(_0x55b55a,_0x499963,_0x5b2bea,_0x489b2e){return _0xa134b8(_0x489b2e,_0x499963- -_0x10aaa3._0x56b4ae,_0x5b2bea-_0x10aaa3._0x412ed8,_0x489b2e-_0x10aaa3._0x40d18c);}function _0x1d8f33(_0x142977,_0x1c9fc3,_0xa48ed3,_0x1af9e1){return _0xa134b8(_0x1c9fc3,_0xa48ed3- -_0x360582._0x52e85a,_0xa48ed3-0x7b,_0x1af9e1-0x11);}const _0x3998e1=_0x2effb0[_0x454e76(0x136,0x5,_0x1c173f._0xb025fc,-_0x1c173f._0x3f9718)][_0x454e76(-_0x1c173f._0x487fd2,-0x13c,-0x2c7,-_0x1c173f._0x2e6020)](_0x3eb437);if(_0x3998e1)return _0x3998e1;const _0x217790=((async()=>{const _0x326346={_0x240824:0x6be,_0x91c169:0x1bc},_0x2f4dec={_0x25decd:0x165,_0x3d22db:0xbc};function _0x24f069(_0x30815b,_0x59166e,_0x1c417c,_0x323dec){return _0x1d8f33(_0x30815b-_0x2f4dec._0x25decd,_0x59166e,_0x323dec-0x219,_0x323dec-_0x2f4dec._0x3d22db);}function _0x246b10(_0x3c54bf,_0xc11a3b,_0x17ee6a,_0x2fa856){return _0x454e76(_0x3c54bf-0x0,_0x2fa856-_0x326346._0x240824,_0x17ee6a-_0x326346._0x91c169,_0xc11a3b);}try{const _0x2db4ee=await _0x6daf22['spawn'](_0x3b6db0);if(!_0x2db4ee)return _0x2effb0[_0x246b10(0x413,0x5d9,_0x560351._0x1fb110,_0x560351._0x56585b)]['add'](_0x3eb437),void 0x0;const _0x515faa=await createLspClient({'server':_0x6daf22,'root':_0x3b6db0,'handle':_0x2db4ee}),_0x2688f0=_0x2effb0['clients'][_0x246b10(0x53e,_0x560351._0x4297fd,_0x560351._0xed5d30,_0x560351._0x241dcc)](_0x509832=>_0x509832[_0x246b10(0x64b,0x5c3,0x549,0x54b)]===_0x6daf22['id']&&_0x509832[_0x24f069(0x24f,0x258,0x186,0x194)]===_0x3b6db0);if(_0x2688f0)return await _0x515faa[_0x24f069(0x10d,0x1df,0x75,0xec)](),_0x2688f0;return _0x2effb0[_0x24f069(0x17a,_0x560351._0x159810,_0x560351._0x312a2d,_0x560351._0x310d8e)][_0x246b10(0x771,0x584,0x4e2,_0x560351._0x51d98c)](_0x515faa),_0x515faa;}catch{return _0x2effb0['broken'][_0x24f069(_0x560351._0x1c3f6d,-0xf4,0x73,_0x560351._0x13da3a)](_0x3eb437),void 0x0;}finally{_0x2effb0[_0x246b10(0x58c,_0x560351._0x415717,0x753,_0x560351._0xe83d6a)]['delete'](_0x3eb437);}})());return _0x2effb0[_0x454e76(-0xf8,0x5,-0x14a,_0x1c173f._0x17744d)][_0x1d8f33(_0x1c173f._0x4feca4,-0x13,_0x1c173f._0x5a4a62,_0x1c173f._0x143b1d)](_0x3eb437,_0x217790),_0x217790;}async function _0x4aff0c(_0x4f613b,_0x4838f4){const _0x84ecb5={_0x3fa6a8:0x4ea,_0x1ebfd3:0x1df};if(!_0x26e02c())return[];function _0x3f8335(_0x5b1589,_0x5e6e31,_0x58d524,_0x15ea51){return _0xa134b8(_0x15ea51,_0x5b1589-0x282,_0x58d524-_0x5da638._0x59c398,_0x15ea51-_0x5da638._0x44e59c);}const _0x1ff159=[];for(const _0x3fc061 of getServersForFile(_0x4f613b)){const _0x29c1ca=await _0x3fc061[_0xa1b561(_0x18eb3e._0x572692,_0x18eb3e._0x15c294,0x53b,0x644)](_0x4f613b);if(!_0x29c1ca)continue;const _0x22c702=stateKey(_0x3fc061,_0x29c1ca);if(_0x2effb0[_0x3f8335(_0x18eb3e._0x714e43,0xfb,_0x18eb3e._0x2366bc,0x1ef)][_0xa1b561(0x5a5,0x4d5,0x584,0x4bd)](_0x22c702))continue;const _0x4bab41=_0x2effb0['clients'][_0x3f8335(_0x18eb3e._0xe8b6ed,_0x18eb3e._0x18ede6,_0x18eb3e._0x2064b7,_0x18eb3e._0x539b94)](_0x35a880=>_0x35a880['serverId']===_0x3fc061['id']&&_0x35a880['root']===_0x29c1ca);if(_0x4bab41){_0x1ff159[_0xa1b561(_0x18eb3e._0x287dcb,_0x18eb3e._0x54938a,_0x18eb3e._0x460947,0x642)](_0x4bab41);continue;}if(!_0x4838f4)continue;const _0x35f0c2=await _0x3c4f14(_0x3fc061,_0x29c1ca);if(_0x35f0c2)_0x1ff159[_0xa1b561(_0x18eb3e._0x3f8ef6,0x4de,_0x18eb3e._0x5d3bd9,0x3fc)](_0x35f0c2);}function _0xa1b561(_0x291994,_0x3ec268,_0x4e55ee,_0x24b385){return _0xa134b8(_0x291994,_0x3ec268-_0x84ecb5._0x3fa6a8,_0x4e55ee-0xd4,_0x24b385-_0x84ecb5._0x1ebfd3);}return _0x1ff159;}async function _0xfdb3c9(_0x175aec,_0x45b990=![]){const _0x1dfdcc={_0x246a54:0xf9,_0x4fa980:0x8f,_0x419004:0xa7,_0x36905f:0xb9,_0x5b2476:0x44,_0x26fddc:0xa1,_0x47dad5:0x49,_0x135668:0x324,_0x3acbec:0x2f3,_0x2a0a15:0x266,_0x1ad811:0x1f,_0x3e6679:0xbe,_0x1a07f8:0x31,_0x2f648c:0x83,_0x12ef2f:0x2d5,_0x32bcdf:0x176,_0x58ea97:0x2d,_0x378582:0x69,_0x14271b:0x6b,_0x1061ff:0x6c,_0x8b98ec:0x76},_0x288650={_0x374d82:0x152},_0x5b9c56={_0x28452f:0x42d},_0x24045c={_0x19c7db:0x255,_0x377df8:0x11f,_0x1dbfe2:0x1c0};function _0x19201b(_0x394fc4,_0x421316,_0x5c92ba,_0x1c9a7d){return _0xa134b8(_0x421316,_0x394fc4-_0x24045c._0x19c7db,_0x5c92ba-_0x24045c._0x377df8,_0x1c9a7d-_0x24045c._0x1dbfe2);}const _0x68d710=await _0x4aff0c(_0x175aec,!![]);function _0x4bc01e(_0x346cbe,_0x304e5d,_0x506fff,_0x4e33a0){return _0xa134b8(_0x506fff,_0x346cbe-_0x5b9c56._0x28452f,_0x506fff-0x48,_0x4e33a0-0x96);}await Promise[_0x19201b(0x363,_0x223d7c._0x20f7fd,_0x223d7c._0x2ee768,_0x223d7c._0x3f34a2)](_0x68d710[_0x19201b(_0x223d7c._0x2581e2,_0x223d7c._0x431ce7,_0x223d7c._0x3c931f,0x3d9)](async _0x5c9e57=>{const _0x2e8ff1={_0x3bc99e:0xa3,_0x14acae:0xca};!_0x2effb0[_0x2628ab(_0x1dfdcc._0x246a54,0xa4,0xac,0xd5)][_0x47ec23(0x5b,0x10b,0x9c,0x18e)](_0x5c9e57[_0x2628ab(-0x1f8,-_0x1dfdcc._0x4fa980,-0xbe,_0x1dfdcc._0x419004)]+':'+_0x5c9e57['root']+':'+_0x175aec)&&(await _0x5c9e57[_0x2628ab(-0x60,-_0x1dfdcc._0x36905f,-_0x1dfdcc._0x5b2476,_0x1dfdcc._0x26fddc)][_0x2628ab(-0x115,-0x128,-_0x1dfdcc._0x47dad5,-0x13e)]({'path':_0x175aec}),_0x2effb0[_0x47ec23(_0x1dfdcc._0x135668,0x233,_0x1dfdcc._0x3acbec,_0x1dfdcc._0x2a0a15)]['add'](_0x5c9e57[_0x2628ab(-0x17a,_0x1dfdcc._0x1ad811,-_0x1dfdcc._0x3e6679,-0xd1)]+':'+_0x5c9e57[_0x2628ab(0x9d,0xe6,_0x1dfdcc._0x1a07f8,0x48)]+':'+_0x175aec));function _0x2628ab(_0x164a03,_0x1e7b9e,_0x58a14e,_0xf124c){return _0x19201b(_0x58a14e- -0x26c,_0x1e7b9e,_0x58a14e-_0x2e8ff1._0x3bc99e,_0xf124c-_0x2e8ff1._0x14acae);}await _0x5c9e57[_0x47ec23(0x2c4,_0x1dfdcc._0x2f648c,_0x1dfdcc._0x12ef2f,_0x1dfdcc._0x32bcdf)][_0x2628ab(-_0x1dfdcc._0x58ea97,0x38,_0x1dfdcc._0x378582,-0x79)]({'path':_0x175aec,'version':nextFileVersion(_0x2effb0,_0x175aec)});function _0x47ec23(_0x31be87,_0x1ec4ce,_0x868b2f,_0x27aa9e){return _0x19201b(_0x27aa9e- -0xb2,_0x868b2f,_0x868b2f-0xf8,_0x27aa9e-_0x288650._0x374d82);}if(_0x45b990)await _0x5c9e57[_0x2628ab(-_0x1dfdcc._0x14271b,-_0x1dfdcc._0x1061ff,-_0x1dfdcc._0x8b98ec,0x59)]({'path':_0x175aec});}));}function _0xa134b8(_0x75ffd7,_0x53dc6c,_0x32c9f6,_0x333820){return _0x5b337b(_0x53dc6c- -_0x374f05._0x3b64ae,_0x75ffd7,_0x32c9f6-0x146,_0x333820-_0x374f05._0x51de7c);}async function _0x248ed7(_0x3d86d8){const _0x1f77e1={_0xd346db:0xae};function _0x2aa3a5(_0x168221,_0x427ad1,_0x440fe7,_0x4d1d07){return _0xa134b8(_0x427ad1,_0x440fe7- -_0x41d485._0x3ff80c,_0x440fe7-_0x41d485._0x393f54,_0x4d1d07-_0x41d485._0x13bf49);}function _0x5a0cff(_0x2afeed,_0x26fa1a,_0x139297,_0x2d063c){return _0xa134b8(_0x2d063c,_0x26fa1a- -0xee,_0x139297-0x169,_0x2d063c-_0x1f77e1._0xd346db);}return await _0xfdb3c9(_0x3d86d8[_0x2aa3a5(0x117,_0x4ce87e._0x58f6ae,-0x55,0xa5)],![]),_0x4aff0c(_0x3d86d8[_0x5a0cff(-0x9e,-0x63,-0x5c,_0x4ce87e._0x2d8b21)],![]);}async function _0x5aa848(_0x1370ed){const _0x442f88=await _0x248ed7(_0x1370ed);function _0x201262(_0x3e98f8,_0x28c3b6,_0x394a78,_0x1f163a){return _0xa134b8(_0x28c3b6,_0x3e98f8-_0x171831._0x159d9f,_0x394a78-0x139,_0x1f163a-0x1db);}function _0x1bd38d(_0x143caa,_0x5c6c16,_0x900f4,_0x5bd247){return _0xa134b8(_0x5c6c16,_0x5bd247-0x5a1,_0x900f4-_0x3b6ab7._0x295644,_0x5bd247-_0x3b6ab7._0x1287a4);}return collectClientResults(_0x442f88[_0x201262(0x1aa,_0x271300._0xad1cd3,_0x271300._0x4a0985,0x13b)](_0x44ae60=>_0x44ae60['request'][_0x1bd38d(0x321,0x443,0x3a4,0x457)](_0x1370ed)));}return{'isEnabled':_0x26e02c,async 'hasClients'(_0x20c643){const _0xa9ff5={_0x18d017:0x14e};function _0x3bf25b(_0x4b989d,_0x3299f2,_0xdc00df,_0x37d643){return _0xa134b8(_0x37d643,_0xdc00df- -0x5d,_0xdc00df-_0xa9ff5._0x18d017,_0x37d643-0xdb);}return(await _0x4aff0c(_0x20c643,![]))['length']>0x0||getServersForFile(_0x20c643)[_0x3bf25b(-0x135,-_0x30a833._0x498959,_0x30a833._0x19aebc,-_0x30a833._0x29267b)]>0x0;},'touchFile':_0xfdb3c9,async 'diagnostics'(){const _0xb1f7a={_0x1bceb1:0x43,_0x27fb73:0xe2},_0x50760b={};for(const _0x5d208e of _0x2effb0[_0x4e8dae(0xd2,-0x98,0x4d,-0xcd)]){for(const [_0x520a3a,_0x59c0a6]of _0x5d208e['diagnostics']){_0x50760b[diagnosticsKeyToPath(_0x520a3a)]=_0x59c0a6;}}function _0x4e8dae(_0x3f9c82,_0x99873c,_0x405196,_0x21aab7){return _0xa134b8(_0x99873c,_0x405196- -0xbb,_0x405196-_0xb1f7a._0x1bceb1,_0x21aab7-_0xb1f7a._0x27fb73);}return _0x50760b;},async 'diagnosticsForFile'(_0x39b515){function _0x18a8bf(_0x2aff7a,_0x1f8c86,_0x2dd6e8,_0x1690d5){return _0xa134b8(_0x1690d5,_0x2dd6e8-0x62f,_0x2dd6e8-0x153,_0x1690d5-0x113);}function _0x3bc27f(_0x4897d4,_0x200158,_0x48a643,_0x43aef6){return _0xa134b8(_0x48a643,_0x43aef6- -0x50,_0x48a643-_0x1dc842._0x27efcf,_0x43aef6-0x12e);}await _0xfdb3c9(_0x39b515,!![]);const _0x5cd7cf=[];for(const _0x3f5d9e of await _0x4aff0c(_0x39b515,![])){for(const [_0x20eff5,_0x4a5a94]of _0x3f5d9e[_0x18a8bf(0x6d4,0x5a5,0x5ef,_0x9fe25a._0x16b464)]){if(diagnosticsKeyToPath(_0x20eff5)===_0x39b515)_0x5cd7cf[_0x3bc27f(-0x126,-_0x9fe25a._0x23b6d2,-0x4,-_0x9fe25a._0x5beeb1)](..._0x4a5a94);}}return _0x5cd7cf;},async 'definition'(_0x20144a){const _0x296959={_0x26e965:0xc6,_0x34a5a3:0xea};function _0xe75931(_0x4f95f5,_0x14736f,_0x5b78e2,_0x44cb46){return _0xa134b8(_0x4f95f5,_0x14736f-0x5c9,_0x5b78e2-_0x296959._0x26e965,_0x44cb46-_0x296959._0x34a5a3);}function _0x235c7b(_0xdfb212,_0x3d1c28,_0xfcc4ef,_0x1549a){return _0xa134b8(_0x1549a,_0xfcc4ef-0x106,_0xfcc4ef-0xe0,_0x1549a-0x8);}return collectClientResults((await _0x248ed7(_0x20144a))[_0x235c7b(-0x35,0x211,_0x335bb0._0x6c9677,-_0x335bb0._0x481f3e)](_0x44eb5a=>_0x44eb5a[_0x235c7b(-0xb,0x114,0x2a,-0x151)][_0xe75931(0x521,0x5aa,0x51e,0x4ef)](_0x20144a)));},async 'references'(_0x299526){const _0x126a38={_0x109719:0xd,_0x2ac6d4:0x150,_0x5a1ccb:0x1eb};function _0x2011ff(_0x533099,_0x4d98fa,_0x166239,_0x1da9c2){return _0xa134b8(_0x533099,_0x1da9c2-_0x349b5c._0x589f5c,_0x166239-_0x349b5c._0x1ec44e,_0x1da9c2-_0x349b5c._0x31b280);}function _0x3b16e2(_0x30684c,_0x1dac1b,_0xc8e666,_0x13f282){return _0xa134b8(_0x30684c,_0xc8e666- -_0x126a38._0x109719,_0xc8e666-_0x126a38._0x2ac6d4,_0x13f282-_0x126a38._0x5a1ccb);}return collectClientResults((await _0x248ed7(_0x299526))['map'](_0x47532f=>_0x47532f[_0x3b16e2(-0x175,-0x143,-0xe9,-0x19)][_0x2011ff(-0x16c,-0x6b,-0x28,0x26)](_0x299526)));},async 'hover'(_0x562313){const _0x271220={_0x4b2ae0:0xa0},_0x51e928={_0x400c14:0xf3};function _0x196422(_0x2c3d05,_0x1bdc7c,_0x4aa7af,_0x5d65a7){return _0xa134b8(_0x5d65a7,_0x4aa7af- -_0x51e928._0x400c14,_0x4aa7af-0x1ab,_0x5d65a7-0x78);}function _0x5babd2(_0x35a14a,_0x4381fc,_0x49216c,_0x4ec857){return _0xa134b8(_0x4381fc,_0x4ec857-0x3ad,_0x49216c-0x107,_0x4ec857-_0x271220._0x4b2ae0);}const _0x4cbec3=await Promise[_0x196422(-0x1d7,-_0x25b292._0x28ad5f,-_0x25b292._0x17bfc0,0xc6)]((await _0x248ed7(_0x562313))[_0x5babd2(_0x25b292._0xfc3ac2,_0x25b292._0x1ab281,0x34c,0x3a9)](_0x5dad99=>_0x5dad99[_0x5babd2(0x401,0x43b,0x2a9,0x2d1)][_0x196422(-0x59,-0x1ef,-0xc6,-0x3c)](_0x562313)));return _0x4cbec3[_0x196422(-0xf3,-0x17c,_0x25b292._0x474bbe,-_0x25b292._0x1841f6)](_0x36e835=>_0x36e835[_0x5babd2(0x277,0x49a,0x295,0x3e3)]===_0x196422(-0x91,-0x2fe,-0x1a5,-0x328)&&_0x36e835['value']?[_0x36e835['value']]:[]);},async 'documentSymbol'(_0x7e3b7c){const _0x5e7f48={_0x3f1364:0x3c};function _0x26a7be(_0x85f603,_0x1780f5,_0x291739,_0x5c0a9c){return _0xa134b8(_0x1780f5,_0x5c0a9c-0x4e8,_0x291739-0x3e,_0x5c0a9c-_0x5e7f48._0x3f1364);}function _0x1b332b(_0x6c07f3,_0x586a78,_0x15ae82,_0x4fd3ca){return _0xa134b8(_0x6c07f3,_0x15ae82-0x7b,_0x15ae82-_0x22dd9._0x4a4377,_0x4fd3ca-0x1e0);}return await _0xfdb3c9(_0x7e3b7c,![]),collectClientResults((await _0x4aff0c(_0x7e3b7c,![]))[_0x26a7be(_0x46ef8a._0x462b48,_0x46ef8a._0x262287,_0x46ef8a._0x115eea,0x4e4)](_0x32dde4=>_0x32dde4[_0x26a7be(0x40c,0x4da,0x31a,0x40c)][_0x1b332b(0x14a,-0x48,0x6e,0xdc)](_0x7e3b7c)));},async 'workspaceSymbol'(_0x463ec7){const _0x19797c={_0x49d25d:0x1f3};function _0x5eff15(_0x395276,_0x5bcac4,_0x597f9e,_0x2fbd44){return _0xa134b8(_0x597f9e,_0x5bcac4-0x490,_0x597f9e-0x110,_0x2fbd44-_0x19797c._0x49d25d);}function _0x4f4a30(_0x49fa9a,_0x11d637,_0x346ae1,_0xe9f074){return _0xa134b8(_0x49fa9a,_0x346ae1- -0xd9,_0x346ae1-0x90,_0xe9f074-0x1d4);}return collectClientResults(_0x2effb0[_0x4f4a30(_0x4faa25._0x3df8be,0x181,0x2f,_0x4faa25._0x33454e)][_0x5eff15(_0x4faa25._0x2837f3,_0x4faa25._0x3351c7,_0x4faa25._0x32abf4,_0x4faa25._0x2a0b8b)](_0x573e5b=>_0x573e5b[_0x5eff15(0x447,0x3b4,0x369,0x2b4)][_0x4f4a30(-0x26e,-0x153,-0x132,-0x151)](_0x463ec7)));},async 'implementation'(_0x442de6){function _0x1a63a8(_0x5b826b,_0x353ecd,_0x47e51f,_0xc291f3){return _0xa134b8(_0xc291f3,_0x5b826b-0x549,_0x47e51f-0x18e,_0xc291f3-0x92);}function _0x28ffe1(_0xd7c8c3,_0x24bad6,_0x324443,_0x4b22f8){return _0xa134b8(_0x24bad6,_0x324443-_0x178545._0x3da967,_0x324443-_0x178545._0x5cc084,_0x4b22f8-_0x178545._0x4b52b3);}return collectClientResults((await _0x248ed7(_0x442de6))[_0x28ffe1(_0x79cc72._0x28d298,_0x79cc72._0x47ddb0,_0x79cc72._0x9b63ba,-0x13d)](_0x3d80fc=>_0x3d80fc['request'][_0x1a63a8(0x68c,0x7c8,0x557,0x7c6)](_0x442de6)));},async 'prepareCallHierarchy'(_0x2b0e11){return _0x5aa848(_0x2b0e11);},async 'incomingCalls'(_0x682d83){const _0x2d1432={_0x69c217:0x557},_0x4290a3={_0x21a050:0x23c},_0x43f9a2=await _0x5aa848(_0x682d83);function _0x4c95e3(_0x14b798,_0x1faa90,_0x45de7b,_0x19712e){return _0xa134b8(_0x19712e,_0x45de7b-_0x4290a3._0x21a050,_0x45de7b-0xf6,_0x19712e-0x2);}const _0x2cf264=await _0x248ed7(_0x682d83);function _0x5e2640(_0x5484b0,_0x4be9ec,_0x2f3c70,_0x14f737){return _0xa134b8(_0x5484b0,_0x14f737-_0x2d1432._0x69c217,_0x2f3c70-0x95,_0x14f737-0x1c5);}return collectClientResults(_0x2cf264['flatMap'](_0x3d4478=>_0x43f9a2[_0x4c95e3(0x2ef,0x246,0x238,0x3b0)](_0x4d648a=>_0x3d4478[_0x5e2640(0x2ed,0x39f,0x52a,0x47b)][_0x5e2640(0x389,0x465,0x5db,0x4c9)](_0x4d648a))));},async 'outgoingCalls'(_0x131126){const _0x18f444={_0xbba468:0xad},_0x9318cf={_0x45800e:0xb5},_0x58d6d1=await _0x5aa848(_0x131126);function _0x3d6401(_0x1672d4,_0x1f3ab1,_0x48b1b7,_0x59536d){return _0xa134b8(_0x1672d4,_0x59536d-_0x9318cf._0x45800e,_0x48b1b7-0x8,_0x59536d-0x7b);}const _0x1fdc25=await _0x248ed7(_0x131126);function _0x10ce4e(_0x4829e8,_0x59444f,_0x3fbf90,_0xccdc82){return _0xa134b8(_0xccdc82,_0x4829e8- -0xec,_0x3fbf90-0x1e5,_0xccdc82-_0x18f444._0xbba468);}return collectClientResults(_0x1fdc25[_0x3d6401(_0x564dfb._0x1cf923,0x80,_0x564dfb._0x1bb99f,_0x564dfb._0x87d550)](_0x43c979=>_0x58d6d1[_0x10ce4e(-0xf0,-0x179,-0x1ce,-0xc7)](_0x475d02=>_0x43c979[_0x10ce4e(-0x1c8,-0x90,-0x1ea,-0x98)][_0x3d6401(0x1ee,0x19d,-0x55,0x13b)](_0x475d02))));},async 'shutdown'(){const _0x590b9e={_0x1febf6:0x1df};if(_0x2effb0['shutdownStarted'])return;_0x2effb0['shutdownStarted']=!![],await Promise[_0x478594(_0x29e6ab._0x46f87e,_0x29e6ab._0x4fb0d6,0x495,_0x29e6ab._0x488a10)](_0x2effb0[_0x1751fe(0x54c,0x669,0x6bd,_0x29e6ab._0x62f3a0)][_0x1751fe(0x42a,_0x29e6ab._0x2e938e,_0x29e6ab._0x198b28,0x519)](_0x408e26=>_0x408e26['shutdown']())),_0x2effb0[_0x1751fe(0x628,_0x29e6ab._0x231931,_0x29e6ab._0x7275b4,_0x29e6ab._0x62f3a0)]=[],_0x2effb0[_0x1751fe(_0x29e6ab._0x33391d,0x55b,0x584,0x5ee)]['clear']();function _0x1751fe(_0x55f24e,_0x2622d3,_0x2f9fbb,_0x327ab8){return _0xa134b8(_0x55f24e,_0x327ab8-0x51d,_0x2f9fbb-_0x590b9e._0x1febf6,_0x327ab8-0x1ac);}_0x2effb0[_0x478594(0x357,0x247,_0x29e6ab._0x2b74a6,0x167)][_0x478594(_0x29e6ab._0x1fde11,_0x29e6ab._0x2682d1,_0x29e6ab._0x386c51,_0x29e6ab._0x43437c)]();function _0x478594(_0xf07c32,_0x508b3d,_0x53c69d,_0x1b9cd9){return _0xa134b8(_0x1b9cd9,_0x508b3d-0x38c,_0x53c69d-_0x42ce36._0xe00a49,_0x1b9cd9-_0x42ce36._0x252734);}_0x2effb0['fileVersions'][_0x1751fe(0x4df,0x6b5,_0x29e6ab._0x43f308,0x55e)](),_0x2effb0[_0x478594(_0x29e6ab._0x2a212b,0x44f,0x595,_0x29e6ab._0x2f5220)][_0x1751fe(0x545,_0x29e6ab._0x4b9277,_0x29e6ab._0x481f0c,0x55e)]();},'status'(){const _0x37a029={_0x4d9af3:0xf2};function _0x5c6744(_0xd20d5c,_0x1cc322,_0x3c0727,_0x324797){return _0xa134b8(_0x3c0727,_0x1cc322- -_0x37a029._0x4d9af3,_0x3c0727-0x8c,_0x324797-0x38);}return{'connectedClients':_0x2effb0[_0x5c6744(0xd4,0x16,_0x52470e._0x5e7b9e,-0x2)]['length']};}};}function createQuestionId(){const _0x1c4758={_0x9eb9f7:0x5f5,_0x94f10:0x63a,_0x2d9901:0x536,_0x415970:0x535,_0x261711:0x3ea,_0x2a7047:0x582,_0x47066f:0x65c},_0x53eb09={_0x280afd:0x23,_0x2dc4b5:0x5e},_0x5d40e1={_0x467def:0xfc,_0x32829d:0x10e};function _0x103c8b(_0x11a672,_0x524fbd,_0x10d0df,_0x4316b7){return _0x125cf4(_0x11a672-_0x5d40e1._0x467def,_0x524fbd-0x760,_0x10d0df,_0x4316b7-_0x5d40e1._0x32829d);}function _0x55a987(_0x55ee8c,_0x1809ce,_0x28df21,_0x598818){return _0x5b337b(_0x55ee8c-0x20b,_0x598818,_0x28df21-_0x53eb09._0x280afd,_0x598818-_0x53eb09._0x2dc4b5);}return _0x103c8b(0x5bf,0x636,0x55c,_0x1c4758._0x9eb9f7)+Date[_0x103c8b(_0x1c4758._0x94f10,0x511,0x514,0x45c)]()+'-'+Math[_0x103c8b(_0x1c4758._0x2d9901,_0x1c4758._0x415970,0x61f,0x3ab)]()[_0x103c8b(0x3a7,0x46e,_0x1c4758._0x261711,_0x1c4758._0x2a7047)](0x24)[_0x55a987(0x65c,0x6cc,_0x1c4758._0x47066f,0x76f)](0x2,0x9);}function validateInput(_0x5e0eaf){const _0x2ec135={_0x23e8e0:0x1f1,_0x26d917:0xda,_0x1e4730:0x27,_0x58f6a2:0xc6,_0x491fb0:0x9f,_0x3f723f:0x3c0,_0x3709af:0x356,_0x326e8d:0x374,_0x54c472:0x249,_0x1094b9:0x1d9,_0x23a146:0x2cd,_0x1f3691:0x271,_0x15220c:0x46b,_0x3b5a49:0x263,_0x5eefb3:0x4e,_0x4f3ec0:0x14b,_0x20e217:0xb4,_0x535b8a:0x16,_0x2d5085:0x133,_0x569ada:0xb8,_0x1d0d73:0xdb,_0x4bf454:0x331,_0x1a9173:0x10e,_0x1a6026:0x164,_0x3c5c62:0xa1,_0x2012f4:0x3f,_0x3694db:0xf1,_0x57b80d:0x83,_0x2582cd:0x2c9,_0xf45702:0x296,_0x58d1b7:0x19b,_0x2b025c:0x209,_0xc59d57:0x1e8,_0x3f5a9f:0x204,_0x38fbaa:0xa9,_0x34fb10:0x1c3,_0x692f88:0x244,_0x2266fe:0x100,_0x3ee837:0x3b9,_0x1662f8:0x22a,_0x2523a7:0x2ff,_0x214b87:0x16f,_0x313cef:0x98,_0x2e006b:0x4e,_0xfdf508:0x12f,_0x2f1d3f:0xcb,_0x1c8df3:0x4af,_0x447992:0x467,_0x1a32e7:0x283,_0x3ab2c5:0x2d2,_0x24de8d:0x2a2,_0x35efaf:0x319,_0x19a048:0x471,_0x36bb21:0x1f2,_0x2fb98a:0x2eb,_0x44f794:0x298,_0xa31378:0x44,_0x52a4ac:0x18,_0x53c611:0x8,_0x199fe1:0x46f,_0xc60208:0x30d,_0x57d249:0x29b,_0x42352a:0x34c,_0x392f24:0x12d,_0x25d996:0x1e9,_0x367177:0x47d,_0x20a8b9:0x26c,_0x3b8147:0x4ba,_0x37a566:0x4dd},_0x4bdc80={_0x1083c0:0x10e,_0x511ccb:0xf7,_0x51393f:0x12d},_0x1ee743={_0x120723:0xdf};function _0x33824b(_0x327e43,_0x4669f4,_0x54f9e7,_0x581780){return _0x5b337b(_0x54f9e7- -0x3d9,_0x4669f4,_0x54f9e7-_0x1ee743._0x120723,_0x581780-0xf1);}function _0x3fb3a0(_0x205b28,_0x42fef0,_0x34680d,_0xf0ded1){return _0x5b337b(_0x34680d- -_0x4bdc80._0x1083c0,_0x42fef0,_0x34680d-_0x4bdc80._0x511ccb,_0xf0ded1-_0x4bdc80._0x51393f);}if(!Array['isArray'](_0x5e0eaf[_0x33824b(-0x153,-_0x2ec135._0x23e8e0,-0xc6,-_0x2ec135._0x26d917)])||_0x5e0eaf[_0x33824b(-0x233,_0x2ec135._0x1e4730,-_0x2ec135._0x58f6a2,_0x2ec135._0x491fb0)][_0x3fb3a0(0x2b0,0x4dd,0x374,_0x2ec135._0x3f723f)]<0x1||_0x5e0eaf[_0x33824b(0xad,-0x146,-0xc6,-0x251)][_0x3fb3a0(0x467,_0x2ec135._0x3709af,_0x2ec135._0x326e8d,_0x2ec135._0x54c472)]>0xa)throw new ToolExecutionError('Must\x20provide\x201-10\x20questions',{'error':'invalid_questions'});for(let _0x40cd21=0x0;_0x40cd21<_0x5e0eaf[_0x3fb3a0(_0x2ec135._0x1094b9,_0x2ec135._0x23a146,0x205,_0x2ec135._0x1f3691)][_0x3fb3a0(0x474,_0x2ec135._0x15220c,_0x2ec135._0x326e8d,_0x2ec135._0x3b5a49)];_0x40cd21+=0x1){const _0x51bc93=_0x5e0eaf['questions'][_0x40cd21];if(!_0x51bc93[_0x33824b(-_0x2ec135._0x5eefb3,_0x2ec135._0x4f3ec0,-0x16,_0x2ec135._0x20e217)]||typeof _0x51bc93[_0x33824b(0x87,0x178,-_0x2ec135._0x535b8a,_0x2ec135._0x2d5085)]!==_0x33824b(0x38,0xa6,_0x2ec135._0x569ada,_0x2ec135._0x1d0d73))throw new ToolExecutionError(_0x3fb3a0(_0x2ec135._0x4bf454,0x1b2,0x1cb,0x137)+(_0x40cd21+0x1)+_0x33824b(-_0x2ec135._0x1a9173,-0x216,-0x14b,-0x172));if(!_0x51bc93[_0x33824b(-_0x2ec135._0x1a6026,0x63,-_0x2ec135._0x3c5c62,-0x1a3)]||typeof _0x51bc93[_0x33824b(_0x2ec135._0x2012f4,_0x2ec135._0x3694db,-0xa1,-0x222)]!==_0x33824b(-_0x2ec135._0x57b80d,-0x9f,0xb8,0x1a8))throw new ToolExecutionError(_0x3fb3a0(_0x2ec135._0x2582cd,_0x2ec135._0xf45702,0x1cb,_0x2ec135._0x58d1b7)+(_0x40cd21+0x1)+_0x33824b(0x0,-_0x2ec135._0x2b025c,-0x8f,-_0x2ec135._0xc59d57));if(_0x51bc93['topic'][_0x33824b(_0x2ec135._0x3f5a9f,0xb7,_0x2ec135._0x38fbaa,_0x2ec135._0x34fb10)]>0x1e)throw new ToolExecutionError(_0x33824b(-_0x2ec135._0x692f88,-0x2d,-_0x2ec135._0x2266fe,0x3e)+(_0x40cd21+0x1)+':\x20\x22topic\x22\x20must\x20be\x20max\x2030\x20characters,\x20got\x20'+_0x51bc93[_0x3fb3a0(0x205,_0x2ec135._0x3ee837,_0x2ec135._0x1662f8,_0x2ec135._0x2523a7)]['length']);if(!Array['isArray'](_0x51bc93[_0x33824b(_0x2ec135._0x214b87,-_0x2ec135._0x313cef,0x4e,_0x2ec135._0x2e006b)])||_0x51bc93[_0x33824b(-_0x2ec135._0x2012f4,-_0x2ec135._0xfdf508,_0x2ec135._0x2e006b,_0x2ec135._0x2f1d3f)][_0x3fb3a0(_0x2ec135._0x1c8df3,0x36e,_0x2ec135._0x326e8d,0x482)]<0x2||_0x51bc93[_0x3fb3a0(_0x2ec135._0x447992,0x1e2,0x319,_0x2ec135._0x1a32e7)]['length']>0x4)throw new ToolExecutionError(_0x3fb3a0(0x25d,0x25c,0x1cb,0x2df)+(_0x40cd21+0x1)+':\x20must\x20have\x202-4\x20options');for(let _0x24669b=0x0;_0x24669b<_0x51bc93[_0x3fb3a0(_0x2ec135._0x3ab2c5,_0x2ec135._0x24de8d,_0x2ec135._0x35efaf,0x32a)][_0x33824b(-0x6b,-0x27,0xa9,0x74)];_0x24669b+=0x1){const _0x449b72=_0x51bc93[_0x3fb3a0(0x27c,0x453,0x319,_0x2ec135._0x19a048)][_0x24669b];if(!_0x449b72[_0x3fb3a0(_0x2ec135._0x36bb21,-0x1c,0x15e,0x51)]||!_0x449b72[_0x3fb3a0(0x459,0x247,_0x2ec135._0x2fb98a,_0x2ec135._0x44f794)])throw new ToolExecutionError(_0x33824b(_0x2ec135._0xa31378,_0x2ec135._0x52a4ac,-0x100,-_0x2ec135._0x53c611)+(_0x40cd21+0x1)+',\x20Option\x20'+(_0x24669b+0x1)+_0x3fb3a0(0x27a,_0x2ec135._0x199fe1,_0x2ec135._0xc60208,_0x2ec135._0x57d249));}if(typeof _0x51bc93[_0x3fb3a0(_0x2ec135._0x42352a,_0x2ec135._0x392f24,_0x2ec135._0x25d996,0x1c9)]!==_0x3fb3a0(0x48f,0x4c0,0x344,_0x2ec135._0x367177))throw new ToolExecutionError(_0x3fb3a0(0xbc,_0x2ec135._0x38fbaa,0x1cb,_0x2ec135._0x20a8b9)+(_0x40cd21+0x1)+_0x3fb3a0(_0x2ec135._0x3b8147,_0x2ec135._0x37a566,0x360,0x348));}}function buildQuestions(_0x1c877a){const _0x3d7f06={_0x54eba6:0x31a,_0x816cc6:0x198,_0x20951c:0x5b},_0x38379c={_0x12d609:0x120,_0x4b8446:0x55},_0x53296f={_0x314970:0x108};function _0x4c0bfb(_0x45feb5,_0x523721,_0x34ce08,_0x677f4a){return _0x125cf4(_0x45feb5-_0x53296f._0x314970,_0x45feb5-0x5fc,_0x523721,_0x677f4a-0x1ad);}function _0x402212(_0x27b7d,_0x41b973,_0x277278,_0x6bdec8){return _0x125cf4(_0x27b7d-_0x38379c._0x12d609,_0x41b973- -_0x38379c._0x4b8446,_0x277278,_0x6bdec8-0x140);}return _0x1c877a[_0x4c0bfb(0x403,0x439,0x481,0x51c)][_0x402212(-_0x3d7f06._0x54eba6,-_0x3d7f06._0x816cc6,-0x1f2,-_0x3d7f06._0x20951c)]((_0x5ec375,_0x359178)=>({'id':'q'+_0x359178,'question':_0x5ec375[_0x402212(-0x152,-0x19e,-0x17d,-0x2e6)],'topic':_0x5ec375['topic'],'options':_0x5ec375['options'],'multiSelect':_0x5ec375[_0x402212(-0x2f4,-0x26a,-0xe3,-0x334)]}));}function createResult(_0xa500d5,_0x261f3c,_0x3ce4ad){const _0x272430={_0x472a2b:0x120,_0x7e2ad1:0x24b},_0x2cd4bf={_0x47eab9:0x17c};function _0x186cab(_0x5c7f4e,_0x5dedff,_0x4cfe6e,_0x25fdff){return _0x5b337b(_0x5dedff- -0x2dd,_0x4cfe6e,_0x4cfe6e-_0x2cd4bf._0x47eab9,_0x25fdff-0x54);}const _0x2aa316={'questionId':_0xa500d5,'questionCount':_0x261f3c,'answers':_0x3ce4ad};return createToolOutput(_0x186cab(0x108,_0x272430._0x472a2b,_0x272430._0x7e2ad1,0x245)+JSON['stringify'](_0x3ce4ad,null,0x2),_0x2aa316);}function createAskUserTool(){const _0x5da697={_0x3f34f2:0xa,_0x461122:0xf9,_0x2f6e7d:0x32,_0x2803e5:0xd0,_0x2176eb:0x220,_0x1057e1:0xfc,_0x2cccfa:0xda,_0x1ff556:0x8f,_0x2543aa:0x24,_0x11ad24:0x75,_0x228665:0x283,_0x60e28d:0x6c,_0x5cd0a1:0x57,_0x3059f3:0x595,_0x48262f:0x16c,_0x206468:0x83,_0x5ee6cd:0x583,_0x3c1b1f:0x4d0,_0x2d7ecc:0x4ed,_0x4a8fa7:0x46,_0xa5c62b:0xc0,_0x297f9b:0xb1,_0x41b765:0x15a},_0x20d644={_0x38c361:0x50b,_0x34a571:0x545,_0x5a7faa:0x56a,_0x17da7a:0x193,_0x34723b:0x88,_0x106050:0x38e,_0x413aed:0x2f0,_0x51d4e7:0x193,_0x49e6fe:0x6db,_0xe02637:0x5ca,_0x43048f:0x647,_0x3be682:0x6aa,_0x8155e4:0x614,_0x25c8c3:0x69d,_0x53be57:0x546,_0x1c5f9f:0x616},_0x29d37d={_0x360be7:0xfb},_0x364794={_0x3cdd35:0x41},_0xea92ac={_0x45aebd:0x1b5,_0x3ede20:0x37};function _0x1f3afe(_0x1b87b2,_0x4077c7,_0x1ebe42,_0xbd3c4f){return _0x5b337b(_0xbd3c4f-_0xea92ac._0x45aebd,_0x1ebe42,_0x1ebe42-0x1bf,_0xbd3c4f-_0xea92ac._0x3ede20);}function _0x4783b0(_0x3ffd0b,_0x271000,_0x337d7c,_0xe3c3b3){return _0x5b337b(_0x3ffd0b- -0x46d,_0x271000,_0x337d7c-0x110,_0xe3c3b3-_0x364794._0x3cdd35);}return defineTool({'name':_0x4783b0(_0x5da697._0x3f34f2,-0xb9,_0x5da697._0x461122,_0x5da697._0x2f6e7d),'permissionClass':'read','description':_0x4783b0(-0x16f,-_0x5da697._0x2803e5,-0x156,-0x57),'inputSchema':{'type':_0x4783b0(-0x8d,-0x210,-0x1d,-_0x5da697._0x2176eb),'properties':{'questions':{'type':_0x4783b0(-_0x5da697._0x1057e1,-_0x5da697._0x2cccfa,-0x14b,-_0x5da697._0x1ff556),'items':{'type':'object','properties':{'question':{'type':_0x4783b0(_0x5da697._0x2543aa,-0x78,-_0x5da697._0x11ad24,-0xee)},'topic':{'type':'string'},'options':{'type':_0x4783b0(-0xfc,-_0x5da697._0x228665,-_0x5da697._0x60e28d,_0x5da697._0x5cd0a1),'items':{'type':_0x1f3afe(0x63f,0x577,0x59a,_0x5da697._0x3059f3),'properties':{'label':{'type':_0x4783b0(0x24,-0xa,-_0x5da697._0x48262f,-_0x5da697._0x206468)},'description':{'type':_0x1f3afe(0x4eb,0x66a,0x708,0x646)}},'required':['label',_0x1f3afe(0x52e,0x691,0x555,0x5ae)]}},'multiSelect':{'type':'boolean'}},'required':['question',_0x1f3afe(_0x5da697._0x5ee6cd,_0x5da697._0x3c1b1f,0x447,_0x5da697._0x2d7ecc),_0x4783b0(-_0x5da697._0x4a8fa7,-0x108,-_0x5da697._0xa5c62b,0x4d),'multiSelect']}},'answers':{'type':_0x4783b0(-0x8d,_0x5da697._0x297f9b,0x8e,-0x46),'properties':{}}},'required':[_0x4783b0(-0x15a,-_0x5da697._0x41b765,-0x103,-0x10a)]},async *'execute'(_0x5e396b,_0x1c313c){const _0x39caaa={_0x216e80:0xfc,_0x404e8f:0x14e},_0x640787=_0x5e396b;validateInput(_0x640787);function _0x4d700b(_0x58c7fa,_0x288ff2,_0x1548c6,_0x1e9596){return _0x4783b0(_0x288ff2- -_0x39caaa._0x216e80,_0x1548c6,_0x1548c6-_0x39caaa._0x404e8f,_0x1e9596-0x76);}const _0x5715e7=_0x1c313c[_0x296011(0x657,_0x20d644._0x38c361,_0x20d644._0x34a571,_0x20d644._0x5a7faa)]??createQuestionId();if(_0x640787[_0x4d700b(-0x1a,-_0x20d644._0x17da7a,-0x285,-_0x20d644._0x34723b)]&&Object[_0x296011(_0x20d644._0x106050,0x33d,0x39f,_0x20d644._0x413aed)](_0x640787[_0x4d700b(-0x6f,-_0x20d644._0x51d4e7,-0x1b3,-0x4a)])['length']>0x0)return createResult(_0x5715e7,_0x640787['questions']['length'],_0x640787['answers']);if(!_0x1c313c[_0x296011(_0x20d644._0x49e6fe,0x6bf,_0x20d644._0xe02637,_0x20d644._0x43048f)])throw new ToolExecutionError('Context\x20does\x20not\x20support\x20user\x20questions');function _0x296011(_0x4493bd,_0x3f5482,_0xd8cdae,_0x3c525e){return _0x4783b0(_0xd8cdae-0x531,_0x3f5482,_0xd8cdae-0x74,_0x3c525e-_0x29d37d._0x360be7);}const _0x10b19b=buildQuestions(_0x640787),_0x419605=await _0x1c313c[_0x296011(_0x20d644._0x3be682,0x465,0x5ca,_0x20d644._0x8155e4)]({'questionId':_0x5715e7,'questions':_0x10b19b});yield createResult(_0x5715e7,_0x640787['questions'][_0x296011(0x572,_0x20d644._0x25c8c3,_0x20d644._0x53be57,_0x20d644._0x1c5f9f)],_0x419605);}});}import{randomUUID}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0xdac375}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException(_0x4d67d5){return _0x4d67d5 instanceof Error;}function resolveCarriageReturns(_0x5f5745){const _0x4e4b0b={_0x3bf44c:0x297,_0x309b92:0x9d,_0x72c37:0xb,_0x19d762:0x13b},_0x1bef0b={_0x407931:0x10f,_0x22d00a:0x100,_0x3ed7f9:0x90,_0x4c1222:0x137,_0x419d8a:0x98,_0x4ddf19:0x1c3,_0x2b526b:0x187,_0x320e5e:0x21e,_0x3ef82c:0x25f},_0x1fbdc8={_0xcd62e2:0x18e,_0x5314dc:0x1b7,_0x89ecee:0x102},_0x5d090f={_0x5132b1:0x142,_0x3d66d3:0x3e},_0x847904={_0x476ebd:0x356};function _0x540811(_0x253ec9,_0x122170,_0x3341d1,_0x162653){return _0x5b337b(_0x253ec9- -_0x847904._0x476ebd,_0x3341d1,_0x3341d1-0x10e,_0x162653-0x193);}function _0x2fa5ec(_0x2a3169,_0x353b31,_0x3669af,_0x513476){return _0x5b337b(_0x2a3169- -0x3be,_0x3669af,_0x3669af-_0x5d090f._0x5132b1,_0x513476-_0x5d090f._0x3d66d3);}return _0x5f5745[_0x2fa5ec(-0x15e,-_0x4e4b0b._0x3bf44c,-_0x4e4b0b._0x309b92,-0x269)]('\x0a')[_0x2fa5ec(_0x4e4b0b._0x72c37,_0x4e4b0b._0x19d762,-0x165,-0x59)](_0x4a93b5=>{const _0x401a8b={_0xff25a:0x5b,_0x319098:0x1cd};function _0x6ed456(_0x100f87,_0x1cc8c5,_0x5c5685,_0x2e81b7){return _0x540811(_0x100f87-_0x401a8b._0xff25a,_0x1cc8c5-0x2f,_0x2e81b7,_0x2e81b7-_0x401a8b._0x319098);}if(!_0x4a93b5[_0x6ed456(0x53,0x180,_0x1bef0b._0x407931,_0x1bef0b._0x22d00a)]('\x0d'))return _0x4a93b5;function _0x1bbc1f(_0x30eecc,_0x2044ce,_0xbd3088,_0x3aea14){return _0x540811(_0xbd3088-_0x1fbdc8._0xcd62e2,_0x2044ce-_0x1fbdc8._0x5314dc,_0x2044ce,_0x3aea14-_0x1fbdc8._0x89ecee);}const _0x3b67ec=_0x4a93b5[_0x1bbc1f(_0x1bef0b._0x3ed7f9,_0x1bef0b._0x4c1222,_0x1bef0b._0x419d8a,_0x1bef0b._0x4ddf19)]('\x0d');return _0x3b67ec[_0x3b67ec[_0x6ed456(_0x1bef0b._0x2b526b,_0x1bef0b._0x320e5e,0x140,_0x1bef0b._0x3ef82c)]-0x1]??'';})['join']('\x0a');}function resolveBackspaces(_0x86612f){const _0xb021fb={_0x273afe:0x3b6,_0x508e21:0x46e,_0xdc64ef:0x233,_0x301988:0x2},_0x5d0d61={_0x1657fe:0x86,_0x310e24:0xfc,_0xbb9d82:0xbd},_0x4b135d=[];function _0x450bb2(_0x2827ab,_0x20d26c,_0x2872bc,_0x35e822){return _0x5b337b(_0x2827ab- -_0x5d0d61._0x1657fe,_0x35e822,_0x2872bc-_0x5d0d61._0x310e24,_0x35e822-_0x5d0d61._0xbb9d82);}for(const _0x2a456f of Array[_0x450bb2(0x452,0x307,_0xb021fb._0x273afe,_0xb021fb._0x508e21)](_0x86612f)){_0x2a456f==='\x08'?_0x4b135d['pop']():_0x4b135d[_0xc44ed3(-0x124,-0x20,-_0xb021fb._0xdc64ef,_0xb021fb._0x301988)](_0x2a456f);}function _0xc44ed3(_0x45fe30,_0x1c9cb8,_0x234729,_0x507ba4){return _0x5b337b(_0x45fe30- -0x4e5,_0x234729,_0x234729-0x62,_0x507ba4-0x1e9);}return _0x4b135d['join']('');}function stripAnsiAndControls(_0x422a2d){const _0x51a79a={_0x499a9f:0x527,_0x5821cf:0x5ab,_0x464907:0x5dc,_0x2012e8:0x140,_0x56041e:0x18b,_0x330437:0x4f8,_0x1bee5a:0x46b,_0x167645:0x426,_0x113a3d:0x42b,_0x4374b1:0x14,_0xdde9cf:0x19,_0x4ef89d:0x1e0,_0x1a1317:0x5b,_0x38e3c8:0x125,_0x3b7bed:0x2c2,_0x56eae3:0x44a,_0x4a339e:0x431,_0x5dfc8b:0x6ac,_0x199ba1:0x59e,_0x2a8722:0x6f8},_0x1b0931={_0x3fe37e:0x134},_0x3dd6af={_0x3828e9:0x178,_0xee9ed:0x140,_0x154a5c:0x1f0};_0x422a2d=resolveCarriageReturns(_0x422a2d),_0x422a2d=resolveBackspaces(_0x422a2d),_0x422a2d=stripVTControlCharacters(_0x422a2d);function _0x53dab5(_0x1f924e,_0x3d8386,_0x136c2a,_0x3a29f0){return _0x5b337b(_0x136c2a-_0x3dd6af._0x3828e9,_0x3d8386,_0x136c2a-_0x3dd6af._0xee9ed,_0x3a29f0-_0x3dd6af._0x154a5c);}const _0x230d21='\x1b',_0x35db4b='\x07';_0x422a2d=_0x422a2d[_0x53dab5(0x614,_0x51a79a._0x499a9f,_0x51a79a._0x5821cf,_0x51a79a._0x464907)](new RegExp(_0x587b91(-_0x51a79a._0x2012e8,-0x142,-0x270,-_0x51a79a._0x56041e)+_0x35db4b+_0x53dab5(_0x51a79a._0x330437,_0x51a79a._0x1bee5a,_0x51a79a._0x167645,0x559)+_0x35db4b,'g'),''),_0x422a2d=_0x422a2d[_0x53dab5(0x4d7,0x5dc,_0x51a79a._0x5821cf,_0x51a79a._0x113a3d)](new RegExp(_0x587b91(-0xf3,-_0x51a79a._0x4374b1,-_0x51a79a._0xdde9cf,-_0x51a79a._0x4ef89d)+_0x230d21+'\x5c\x5c','g'),''),_0x422a2d=_0x422a2d[_0x587b91(_0x51a79a._0x1a1317,_0x51a79a._0x38e3c8,-0xaa,0x42)](new RegExp(_0x35db4b,'g'),''),_0x422a2d=_0x422a2d['replace'](new RegExp(_0x230d21+_0x53dab5(_0x51a79a._0x3b7bed,0x379,_0x51a79a._0x56eae3,_0x51a79a._0x4a339e)+_0x230d21+'\x5c\x5c','g'),''),_0x422a2d=_0x422a2d[_0x53dab5(0x681,0x41a,0x5ab,0x702)](new RegExp(_0x230d21+_0x53dab5(0x505,_0x51a79a._0x5dfc8b,_0x51a79a._0x199ba1,0x69e),'g'),''),_0x422a2d=_0x422a2d[_0x53dab5(0x614,_0x51a79a._0x2a8722,_0x51a79a._0x5821cf,0x624)](/[\u0080-\u009F]/g,''),_0x422a2d=_0x422a2d['replace'](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,'');function _0x587b91(_0x491c19,_0x3b4f15,_0x4e5b8d,_0x2aea4e){return _0x125cf4(_0x491c19-0xcb,_0x491c19-_0x1b0931._0x3fe37e,_0x3b4f15,_0x2aea4e-0x1be);}return _0x422a2d=_0x422a2d['replace'](/[\u23CE\u2424]/g,''),_0x422a2d;}function killProcessGroup(_0x5d673b,_0x5b9b85,_0x3577c1='SIGKILL'){const _0x3c2fea={_0x253c24:0x104,_0x12cbb9:0x1c2,_0x42f623:0xb8,_0x14551d:0x37b,_0x10ad7f:0x255,_0x4e01b0:0x2a3,_0x368e46:0x252,_0x3ef26e:0x6a,_0xeb896c:0x29e,_0x35b438:0x35a,_0x4bffdb:0x367,_0x14e06b:0x159,_0x46f494:0x1b,_0x1e8c15:0x2c3,_0x4ea33e:0x350},_0x30ce12={_0x5b4cff:0x6d,_0x16f175:0x5bc},_0x51edaf={_0x2563e7:0x11d};if(!_0x5d673b[_0x3b4bf8(0x148,_0x3c2fea._0x253c24,_0x3c2fea._0x12cbb9,_0x3c2fea._0x42f623)])return;function _0x3b4bf8(_0x5cda16,_0x28f9cd,_0x125f6c,_0x1eb6f9){return _0x125cf4(_0x5cda16-0x1e2,_0x28f9cd-0x2f6,_0x5cda16,_0x1eb6f9-_0x51edaf._0x2563e7);}if(_0x5b9b85)try{_0xdac375(_0x3b4bf8(_0x3c2fea._0x14551d,0x2e3,_0x3c2fea._0x10ad7f,_0x3c2fea._0x4e01b0),['/pid',_0x5d673b[_0x3b4bf8(-0xa,0x104,_0x3c2fea._0x368e46,-_0x3c2fea._0x3ef26e)][_0x3b4bf8(0xfd,0x4,-0xc,-0x100)](),'/T','/F'],{'stdio':_0x3b1fa4(0x441,0x42e,0x480,_0x3c2fea._0xeb896c)});return;}catch{_0x5d673b[_0x3b1fa4(_0x3c2fea._0x35b438,0x2e1,0x375,_0x3c2fea._0x4bffdb)](_0x3577c1);return;}function _0x3b1fa4(_0x39b070,_0x1a437a,_0x53ea36,_0x1bf93d){return _0x125cf4(_0x39b070-_0x30ce12._0x5b4cff,_0x1a437a-_0x30ce12._0x16f175,_0x1bf93d,_0x1bf93d-0x18f);}try{process[_0x3b4bf8(-_0x3c2fea._0x14e06b,_0x3c2fea._0x46f494,-0x174,0x9d)](-_0x5d673b['pid'],_0x3577c1);}catch{_0x5d673b[_0x3b1fa4(0x22f,0x2e1,_0x3c2fea._0x1e8c15,_0x3c2fea._0x4ea33e)](_0x3577c1);}}var BackgroundProcessRegistry=class{[_0x125cf4(-0x82,-0x150,-0x1b7,-0x1d8)]=new Map();[_0x125cf4(-0x5a,-0x1e5,-0x139,-0x2db)];[_0x5b337b(0x351,0x1d3,0x3c7,0x278)];[_0x5b337b(0x2fb,0x2e8,0x3df,0x2c4)];['counter']=0x0;constructor(_0x564684={}){const _0x566363={_0x34e2e4:0x43e,_0x2e5675:0x329,_0x5cfd7a:0x4fb,_0xa693cc:0x465,_0x392777:0x3a3},_0x19b2fa={_0x5cd7e7:0x4a},_0x358da5={_0xd837d1:0x16a,_0x3db407:0x15c};function _0xb109d(_0x21aa85,_0x363fe1,_0x4a2a9f,_0x5243b3){return _0x5b337b(_0x363fe1-_0x358da5._0xd837d1,_0x5243b3,_0x4a2a9f-0x1c2,_0x5243b3-_0x358da5._0x3db407);}function _0x5efef1(_0x36d86b,_0x5da0f3,_0x5f36cf,_0xfb64b9){return _0x5b337b(_0xfb64b9-0x2,_0x36d86b,_0x5f36cf-0xf,_0xfb64b9-_0x19b2fa._0x5cd7e7);}this[_0x5efef1(0x241,0x23c,_0x566363._0x34e2e4,_0x566363._0x2e5675)]=_0x564684['maxConcurrent']??0xa,this['maxEntries']=_0x564684['maxEntries']??0x40,this['capChars']=_0x564684[_0xb109d(_0x566363._0x5cfd7a,_0x566363._0xa693cc,_0x566363._0x392777,0x395)]??0x100000;}[_0x125cf4(-0x30,-0x10c,0x6,-0x155)](_0x5b1efb){const _0x34adc0={_0x216aca:0x483,_0x18b1d8:0x58a,_0x2d24b3:0x12a,_0x261918:0x2d,_0x2bb1e8:0x4d,_0xeb2615:0x650,_0x4471b9:0x594,_0x39ac78:0x7ae,_0x41044a:0xff,_0x4f6bcc:0x1a4,_0x5e7c2a:0x17,_0x2c858f:0x5db,_0x9770dc:0x79f,_0x24c7b1:0x4f9,_0x25967f:0xff,_0x3c5275:0x34,_0x57845a:0x126,_0x4ac9ee:0x537,_0x57d89f:0x5f2,_0x460978:0x6,_0x34efab:0x4b,_0x3f2b81:0x1cd,_0x1070d1:0xd1,_0x502869:0x1d7,_0x1cbb10:0x14f,_0x3e5d18:0x130,_0x282972:0x70c,_0x5bfc52:0x93,_0x361795:0x8e,_0x115fac:0x2f6,_0x518446:0x2ed,_0x5203e0:0x2f6,_0x1e3d2d:0x95,_0x4a824f:0x57f,_0x472446:0x69a,_0x14b9ce:0x538,_0x1fc33a:0x321,_0x27d077:0x481,_0xc6b90d:0x48d,_0x5cf0b9:0x11,_0x21d778:0x178,_0x146bff:0x362,_0x5d1b6f:0x11,_0x5b78c1:0x13e,_0x2f63b5:0x473,_0x42989a:0x3e5,_0x19494a:0x2d0,_0x4e5e91:0x4f0,_0x12dcf1:0x28,_0x32f282:0x12e,_0x4d32aa:0x5e5,_0x54c12a:0x49f,_0x27471f:0x408,_0x4f4025:0x3fd,_0x598781:0x13a,_0x2f347d:0x67b,_0x3fb64c:0x17f,_0x433246:0x37b,_0x3b66f1:0x2f6},_0x4d2ab7={_0x266535:0x6ba,_0x1c08fd:0x77d,_0x30f72d:0x62a,_0x36af96:0x763,_0x3ff9b1:0x6ba,_0x29b5ef:0x6c2,_0x5936a5:0x726,_0x41173f:0x19e,_0x3b2d2e:0x226,_0x459d25:0x424,_0x291bff:0x414},_0x5321ee={_0x17e62e:0x435,_0x3753b8:0xe8},_0x114fb0={_0x21d3a1:0x5ab,_0x430f40:0x597,_0x21f049:0x53c,_0x5bc95c:0x5aa,_0x545e44:0x5d8,_0x5ebb74:0x667,_0xabca54:0x715,_0x3313cd:0x626,_0x492e1f:0x517,_0x3ea574:0x4d0,_0x2e83b6:0x65d,_0xd8e528:0x553,_0x1ded10:0x69e,_0x33ec1e:0x47c,_0x522f64:0x3e2},_0xc1e672={_0x98357c:0x3e6,_0x298c3e:0x423,_0x3f60a8:0x448},_0x2b42aa={_0x2c38f8:0x228,_0x424854:0x40},_0x378aaa=[...this[_0x35a566(_0x34adc0._0x216aca,_0x34adc0._0x18b1d8,0x430,0x4f0)]['values']()][_0x3407c5(_0x34adc0._0x2d24b3,0x33,-_0x34adc0._0x261918,_0x34adc0._0x2bb1e8)](_0xbc41ec=>_0xbc41ec[_0x3407c5(0x1db,0x26b,0x369,0xe7)]===_0x3407c5(0xc1,0x5d,-0x79,0xc9))[_0x35a566(0x731,_0x34adc0._0xeb2615,_0x34adc0._0x4471b9,_0x34adc0._0x39ac78)];function _0x3407c5(_0x505fe4,_0x2546f5,_0x447bd2,_0x2b5e7f){return _0x5b337b(_0x505fe4- -_0x2b42aa._0x2c38f8,_0x2b5e7f,_0x447bd2-_0x2b42aa._0x424854,_0x2b5e7f-0x144);}if(_0x378aaa>=this[_0x3407c5(_0x34adc0._0x41044a,-0x2f,_0x34adc0._0x4f6bcc,_0x34adc0._0x5e7c2a)])throw new ToolExecutionError(_0x35a566(_0x34adc0._0x2c858f,0x634,_0x34adc0._0x9770dc,_0x34adc0._0x24c7b1)+this[_0x3407c5(_0x34adc0._0x25967f,_0x34adc0._0x3c5275,0x14b,_0x34adc0._0x57845a)]+_0x35a566(0x5ad,_0x34adc0._0x4ac9ee,0x489,_0x34adc0._0x57d89f),{'running':this[_0x3407c5(0xff,_0x34adc0._0x460978,_0x34adc0._0x34efab,_0x34adc0._0x3f2b81)]});const _0x48ee28=_0x3407c5(0x164,_0x34adc0._0x1070d1,0x1d3,0x250)+ ++this[_0x3407c5(_0x34adc0._0x502869,_0x34adc0._0x1cbb10,0x64,_0x34adc0._0x3e5d18)]+'-'+randomUUID()[_0x35a566(_0x34adc0._0x282972,0x61f,0x55f,0x543)](0x0,0x8),_0xa10274={'shellId':_0x48ee28,'command':_0x5b1efb[_0x3407c5(0x1c9,_0x34adc0._0x5bfc52,_0x34adc0._0x361795,_0x34adc0._0x115fac)],'cwd':_0x5b1efb['cwd'],'pid':_0x5b1efb[_0x35a566(_0x34adc0._0x518446,0x3e5,0x4d9,_0x34adc0._0x5203e0)]['pid'],'status':'running','exitCode':null,'signal':null,'startedAt':Date[_0x3407c5(_0x34adc0._0x1e3d2d,0xe3,0xd2,-0xc)](),'child':_0x5b1efb[_0x35a566(0x3d2,0x3e5,0x318,0x36e)],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder(_0x35a566(_0x34adc0._0x4a824f,0x61c,_0x34adc0._0x472446,_0x34adc0._0x14b9ce)),'stderrDecoder':new StringDecoder('utf8'),'stripAnsi':_0x5b1efb[_0x35a566(_0x34adc0._0x1fc33a,_0x34adc0._0x27d077,0x3bb,_0x34adc0._0xc6b90d)],'killRequested':![],'processExited':![]};function _0x35a566(_0x3295bb,_0xad3b5b,_0x6cb037,_0x4606c4){return _0x5b337b(_0xad3b5b-0x1ce,_0x3295bb,_0x6cb037-0x195,_0x4606c4-0x1e8);}return _0x5b1efb[_0x3407c5(-_0x34adc0._0x5cf0b9,-_0x34adc0._0x21d778,-0x145,-0x80)][_0x35a566(0x54f,0x4e2,_0x34adc0._0x146bff,0x35d)]?.['on']('data',_0x5a6eed=>this[_0x3407c5(0x197,0x1a,0x201,0x28)](_0xa10274,_0xa10274['stdoutDecoder'][_0x35a566(0x58d,0x5d0,0x6fb,0x533)](_0x5a6eed))),_0x5b1efb[_0x3407c5(-_0x34adc0._0x5d1b6f,-_0x34adc0._0x5b78c1,-0x149,0x157)][_0x3407c5(0x24e,0x126,0x348,0x2c3)]?.['on'](_0x35a566(0x6c1,0x535,_0x34adc0._0x2f63b5,0x602),_0x11bdad=>this[_0x3407c5(0x197,0x175,0xab,0x2a0)](_0xa10274,_0xa10274[_0x35a566(0x655,0x4e6,0x459,0x5e6)][_0x3407c5(0x1da,0xff,0x189,0x20e)](_0x11bdad))),_0x5b1efb[_0x35a566(0x4f6,_0x34adc0._0x42989a,_0x34adc0._0x19494a,_0x34adc0._0x4e5e91)]['once']('exit',()=>{function _0x33901f(_0x246a02,_0x23febb,_0x566dd1,_0x46a092){return _0x3407c5(_0x46a092-0x260,_0x23febb-0xec,_0x566dd1-0x145,_0x246a02);}_0xa10274[_0x33901f(0x4ca,_0xc1e672._0x98357c,_0xc1e672._0x298c3e,_0xc1e672._0x3f60a8)]=!![];}),_0x5b1efb[_0x35a566(0x2ff,0x3e5,0x470,0x291)][_0x3407c5(_0x34adc0._0x12dcf1,0x12,_0x34adc0._0x32f282,0x49)](_0x35a566(_0x34adc0._0x4d32aa,_0x34adc0._0x54c12a,_0x34adc0._0x27471f,_0x34adc0._0x4f4025),(_0x5ce905,_0x300bc6)=>{const _0xe9dd98={_0x1db47b:0xba,_0x5b20e0:0xc3};function _0x3b46fa(_0x2d8d63,_0x488e37,_0x3757bb,_0x6188f2){return _0x35a566(_0x2d8d63,_0x3757bb- -_0xe9dd98._0x1db47b,_0x3757bb-0x12f,_0x6188f2-_0xe9dd98._0x5b20e0);}this[_0x93dde9(_0x114fb0._0x21d3a1,0x563,_0x114fb0._0x430f40,0x51c)](_0xa10274,_0xa10274[_0x3b46fa(_0x114fb0._0x21f049,0x6b1,_0x114fb0._0x5bc95c,_0x114fb0._0x545e44)][_0x93dde9(0x6b2,_0x114fb0._0x5ebb74,_0x114fb0._0xabca54,_0x114fb0._0x3313cd)]()),this['append'](_0xa10274,_0xa10274['stderrDecoder'][_0x93dde9(0x581,0x796,0x6de,0x626)]());function _0x93dde9(_0x3f8b0e,_0x41b5e7,_0x228bc5,_0xf2dd0d){return _0x3407c5(_0xf2dd0d-0x385,_0x41b5e7-0x1a9,_0x228bc5-0x52,_0x228bc5);}_0xa10274[_0x3b46fa(0x3f1,0x600,_0x114fb0._0x492e1f,0x54d)]=_0xa10274[_0x3b46fa(0x590,0x4be,0x62d,_0x114fb0._0x3ea574)]?'killed':_0x93dde9(0x539,_0x114fb0._0x2e83b6,0x451,_0x114fb0._0xd8e528),_0xa10274['exitCode']=_0x5ce905,_0xa10274[_0x3b46fa(0x5cf,_0x114fb0._0x1ded10,0x559,0x57e)]=_0x300bc6,_0xa10274[_0x3b46fa(_0x114fb0._0x33ec1e,_0x114fb0._0x522f64,0x32b,0x2c2)]=null;}),_0x5b1efb[_0x3407c5(-_0x34adc0._0x5cf0b9,_0x34adc0._0x598781,-0xda,0x40)][_0x35a566(0x2f2,0x41e,0x4ef,0x35b)](_0x35a566(0x5ae,_0x34adc0._0x2f347d,0x56b,0x677),_0x19e96e=>{const _0x1f5c9f={_0x202cae:0xe8,_0x1f5d0a:0x8e};function _0x94393(_0x31d7ea,_0x19e135,_0x434b47,_0xbae863){return _0x3407c5(_0x19e135-_0x1f5c9f._0x202cae,_0x19e135-_0x1f5c9f._0x1f5d0a,_0x434b47-0xd,_0x31d7ea);}_0xa10274['status']=_0x143654(_0x4d2ab7._0x266535,_0x4d2ab7._0x1c08fd,_0x4d2ab7._0x30f72d,_0x4d2ab7._0x36af96);function _0x143654(_0x193437,_0x1666e0,_0x1588f6,_0x3e2882){return _0x3407c5(_0x193437-_0x5321ee._0x17e62e,_0x1666e0-_0x5321ee._0x3753b8,_0x1588f6-0x1d7,_0x1588f6);}_0xa10274[_0x143654(_0x4d2ab7._0x3ff9b1,0x7ce,_0x4d2ab7._0x29b5ef,_0x4d2ab7._0x5936a5)]=_0x19e96e[_0x94393(-0x44,0x104,_0x4d2ab7._0x41173f,_0x4d2ab7._0x3b2d2e)],_0xa10274[_0x143654(_0x4d2ab7._0x459d25,_0x4d2ab7._0x291bff,0x34e,0x470)]=null;}),this[_0x3407c5(0x194,_0x34adc0._0x3fb64c,0x35,0x174)][_0x3407c5(0x28f,_0x34adc0._0x433246,0x38b,_0x34adc0._0x3b66f1)](_0x48ee28,_0xa10274),this['evictIfNeeded'](),_0xa10274;}[_0x5b337b(0x34b,0x1f7,0x252,0x1fe)](_0x1f5548,_0x44db28){const _0x28fa8d={_0x30592a:0x54c,_0x5f6241:0x549,_0xf1971d:0x6b4,_0x22a4ab:0x581,_0x3d7bae:0x557,_0x112500:0x62a,_0x3550f9:0x4e0,_0x272d4a:0x350,_0x5b0199:0x2f7,_0x4d5a14:0x3b9,_0x1544dd:0x2f9,_0xceb85d:0x255,_0x4cfd99:0x469,_0x5b7d74:0x70e,_0x16b07e:0x4e8,_0x27f5b0:0x37b,_0x9ffdac:0x391,_0x28ab1a:0x6ab,_0x395989:0x3ed,_0x27a82d:0x3d7,_0x4608d1:0x64d,_0x191d36:0x5de,_0x314676:0x4b1,_0x305ebb:0x502,_0x237c49:0x6c8,_0x48ada4:0x719,_0x5d5e34:0x5f1,_0x25b29b:0x749,_0x75653b:0x467,_0x4765dd:0x27e,_0x401515:0x403,_0x245d63:0x479,_0x3e0237:0x4e2,_0x4e1441:0x3f8,_0xde1041:0x5e8,_0x54f2b0:0x520,_0x24087b:0x55f,_0x1877c7:0x3da,_0x5e766a:0x2c0,_0x4e09f3:0x6f8,_0x534d68:0x50a,_0xf47133:0x5f5,_0x1f1263:0x3a8,_0x1e9288:0x341,_0x236c25:0x2d8,_0x3489a0:0x593,_0x4881f7:0x50a,_0x50f681:0x371,_0x7d7de3:0x447,_0x5a47ca:0x322,_0x1ba198:0x52c,_0x1a744c:0x5c5},_0x369652={_0x40ca09:0x69c,_0x1f6e1a:0x170},_0x1d8f90={_0x5c2a78:0x13c},_0x3f7412=this[_0x20735a(_0x28fa8d._0x30592a,0x4fc,_0x28fa8d._0x5f6241,_0x28fa8d._0xf1971d)]['get'](_0x1f5548);if(!_0x3f7412)throw new ToolExecutionError(_0x20735a(0x442,_0x28fa8d._0x22a4ab,_0x28fa8d._0x3d7bae,0x3ac)+_0x1f5548,{'shellId':_0x1f5548});const _0xf1540e=_0x3f7412['buffer'][_0x20735a(_0x28fa8d._0x112500,0x66c,0x55b,0x6dd)](''),_0xd20ab0=Math[_0x1eba21(0x4f3,0x1fa,0x366,_0x28fa8d._0x3550f9)](_0x3f7412[_0x20735a(0x466,0x556,_0x28fa8d._0x272d4a,_0x28fa8d._0x5b0199)],_0x3f7412[_0x1eba21(0x37c,0x4ff,0x45c,0x34c)]);function _0x1eba21(_0x552642,_0x48e6c0,_0x107614,_0x239f8f){return _0x125cf4(_0x552642-_0x1d8f90._0x5c2a78,_0x107614-0x610,_0x239f8f,_0x239f8f-0x10c);}const _0x466c66=Math[_0x1eba21(_0x28fa8d._0x4d5a14,_0x28fa8d._0x1544dd,0x366,_0x28fa8d._0xceb85d)](0x0,_0x3f7412['totalDropped']-_0x3f7412[_0x20735a(0x466,_0x28fa8d._0x4cfd99,0x588,0x2e4)]),_0x5e50cc=_0xf1540e[_0x20735a(0x5e1,0x56f,0x545,_0x28fa8d._0x5b7d74)](_0xd20ab0-_0x3f7412[_0x20735a(_0x28fa8d._0x16b07e,0x4b0,_0x28fa8d._0x27f5b0,_0x28fa8d._0x9ffdac)]),_0x10f27e=_0x3f7412[_0x20735a(0x593,0x65c,0x5cb,_0x28fa8d._0x28ab1a)]!==_0x1eba21(0x4ee,0x554,_0x28fa8d._0x395989,_0x28fa8d._0x27a82d);function _0x20735a(_0x10d30f,_0xd57447,_0x4c709a,_0x570a61){return _0x125cf4(_0x10d30f-0x123,_0x10d30f-_0x369652._0x40ca09,_0x4c709a,_0x570a61-_0x369652._0x1f6e1a);}let _0x470ef0;const _0x3c67ac=_0x44db28?.[_0x20735a(_0x28fa8d._0x4608d1,0x7cf,_0x28fa8d._0x191d36,0x5ce)];if(!_0x3c67ac)_0x470ef0=_0x5e50cc,_0x3f7412['readCursor']=_0x3f7412[_0x1eba21(_0x28fa8d._0x314676,0x60c,0x4db,_0x28fa8d._0x305ebb)];else{let _0x383b0a;try{_0x383b0a=new RegExp(_0x3c67ac);}catch(_0x365aaf){throw new ToolExecutionError('Invalid\x20regex:\x20'+_0x365aaf['message'],{'shellId':_0x1f5548,'regex':_0x3c67ac});}let _0x36dc1e=_0x5e50cc;if(!_0x10f27e){const _0x1bcd2d=_0x5e50cc[_0x1eba21(_0x28fa8d._0x237c49,_0x28fa8d._0x48ada4,_0x28fa8d._0x5d5e34,0x5a3)]('\x0a');_0x36dc1e=_0x1bcd2d>=0x0?_0x5e50cc[_0x20735a(0x5e1,_0x28fa8d._0x25b29b,0x67c,_0x28fa8d._0x75653b)](0x0,_0x1bcd2d+0x1):'';}_0x470ef0=_0x36dc1e[_0x20735a(0x3f0,_0x28fa8d._0x4765dd,_0x28fa8d._0x401515,_0x28fa8d._0x245d63)]('\x0a')[_0x20735a(_0x28fa8d._0x3e0237,0x502,_0x28fa8d._0x4e1441,_0x28fa8d._0xde1041)](_0x53be5e=>_0x383b0a['test'](_0x53be5e))[_0x20735a(0x62a,_0x28fa8d._0x54f2b0,0x5bf,_0x28fa8d._0x24087b)]('\x0a'),_0x3f7412[_0x1eba21(0x3e6,0x4fb,_0x28fa8d._0x1877c7,_0x28fa8d._0x5e766a)]=_0xd20ab0+_0x36dc1e[_0x20735a(0x612,_0x28fa8d._0x4e09f3,_0x28fa8d._0x534d68,_0x28fa8d._0xf47133)];}const _0x4f07e4=(_0x466c66>0x0?_0x20735a(_0x28fa8d._0x1f1263,_0x28fa8d._0x1e9288,_0x28fa8d._0x1f1263,_0x28fa8d._0x236c25)+_0x466c66+_0x20735a(0x42e,0x45c,0x357,0x4d6):'')+_0x470ef0;return{'output':_0x4f07e4,'status':_0x3f7412[_0x20735a(_0x28fa8d._0x3489a0,0x560,0x506,_0x28fa8d._0x4881f7)],'exitCode':_0x3f7412[_0x1eba21(0x5d4,_0x28fa8d._0x50f681,_0x28fa8d._0x7d7de3,_0x28fa8d._0x5a47ca)],'signal':_0x3f7412[_0x1eba21(0x532,_0x28fa8d._0x1ba198,_0x28fa8d._0x5f6241,_0x28fa8d._0x1a744c)],'truncated':_0x466c66>0x0};}['list'](){const _0xc9e7cd={_0x17bb87:0x3e6,_0x3be900:0x239,_0x3e511d:0x4f7,_0x8638b5:0x361},_0x5392fe={_0x534195:0x2dc},_0x5d67b8={_0x345582:0x156,_0x3cc0eb:0x150};function _0x31679e(_0x292721,_0x411ee2,_0x5eb79a,_0xa3c6f1){return _0x5b337b(_0xa3c6f1- -0x1f,_0x292721,_0x5eb79a-_0x5d67b8._0x345582,_0xa3c6f1-_0x5d67b8._0x3cc0eb);}function _0x2c528b(_0x5a81c2,_0x3f9247,_0x480995,_0x281a0f){return _0x125cf4(_0x5a81c2-0x50,_0x3f9247-_0x5392fe._0x534195,_0x281a0f,_0x281a0f-0x65);}return[...this[_0x31679e(_0xc9e7cd._0x17bb87,_0xc9e7cd._0x3be900,_0xc9e7cd._0x3e511d,0x39d)][_0x31679e(0x333,0x361,_0xc9e7cd._0x8638b5,0x4bb)]()];}['kill'](_0x29abbb){const _0x160bd4={_0x55b10b:0xde,_0x59ce4a:0x1c9,_0xe0e814:0x1ac,_0x11508e:0x69,_0x5ea178:0x52,_0xd2d83b:0xa,_0x543ea6:0xbd,_0x8fd722:0x25c,_0x3f2759:0x224,_0x4e9974:0x131,_0x15ecea:0x41,_0x4cb2ea:0x2c2,_0x1f2e28:0x343,_0x2e4499:0x362,_0x4d1111:0x265,_0x1982d0:0x20e,_0x2d5b6f:0x14a,_0x268875:0x169,_0x13dadb:0x115,_0x9aa949:0x385,_0x2040a7:0x17f,_0x1f52f8:0x23d,_0x33f39d:0xe2,_0x27bd50:0xb9,_0x31dfe0:0xd8,_0x156f60:0x20},_0x48a050={_0x2a847d:0x425,_0x1f8478:0x78},_0x23ec95={_0x4fa8d2:0x336,_0x55f3ec:0xbd};function _0x3d3358(_0x234e30,_0x5a1f2a,_0x14c4c0,_0x2799b3){return _0x125cf4(_0x234e30-0xc6,_0x2799b3-_0x23ec95._0x4fa8d2,_0x14c4c0,_0x2799b3-_0x23ec95._0x55f3ec);}function _0x1db939(_0x80e6fd,_0x134682,_0x21d10a,_0x2c0180){return _0x5b337b(_0x2c0180- -_0x48a050._0x2a847d,_0x80e6fd,_0x21d10a-0x4c,_0x2c0180-_0x48a050._0x1f8478);}const _0x5293fd=this[_0x1db939(-_0x160bd4._0x55b10b,-_0x160bd4._0x59ce4a,-_0x160bd4._0xe0e814,-_0x160bd4._0x11508e)][_0x1db939(-0xfa,-0x1af,-_0x160bd4._0x5ea178,-0xc8)](_0x29abbb);if(!_0x5293fd)throw new ToolExecutionError(_0x3d3358(_0x160bd4._0xd2d83b,0x3f,_0x160bd4._0x543ea6,0xdc)+_0x29abbb,{'shellId':_0x29abbb});if(_0x5293fd['status']===_0x3d3358(-0x18,_0x160bd4._0x8fd722,_0x160bd4._0x3f2759,0x113)&&_0x5293fd[_0x3d3358(-0x114,-_0x160bd4._0x4e9974,-0xfb,_0x160bd4._0x15ecea)]&&!_0x5293fd[_0x3d3358(0x166,0x253,0x1d8,0x23a)]){_0x5293fd[_0x3d3358(0x28a,_0x160bd4._0x4cb2ea,0x377,_0x160bd4._0x1f2e28)]=!![];try{killProcessGroup(_0x5293fd[_0x1db939(-_0x160bd4._0x2e4499,-0x13d,-_0x160bd4._0x4d1111,-_0x160bd4._0x1982d0)],process[_0x1db939(0x6b,-0x53,_0x160bd4._0x2d5b6f,0x19)]===_0x3d3358(_0x160bd4._0x268875,_0x160bd4._0x13dadb,_0x160bd4._0x9aa949,0x29a));}catch{}}return{'status':_0x5293fd['status'],'exitCode':_0x5293fd[_0x1db939(-_0x160bd4._0x2040a7,-0x14b,-_0x160bd4._0x1f52f8,-_0x160bd4._0x33f39d)],'signal':_0x5293fd[_0x1db939(_0x160bd4._0x27bd50,0xf2,-_0x160bd4._0x31dfe0,_0x160bd4._0x156f60)]};}async['closeAll'](){const _0x35e30e={_0x28770e:0x300,_0x2c419f:0x170,_0x35b22b:0x1f7,_0x9ae4b2:0x1b5,_0x5297f8:0x7c,_0x5c28b9:0x2d,_0x5e8bfc:0x56,_0x5614d1:0x7,_0x5d3992:0x198,_0x28bb73:0x2cd,_0x2a3c3c:0x42b,_0xcbf5fc:0x29f,_0x43c645:0x4b,_0x4d1c2f:0x1ca,_0x7be7dd:0x124},_0x4d9036={_0x6cb0ba:0x106},_0x3b8491={_0x573a66:0x20,_0x16f6c2:0x2c0,_0x397c09:0x154};function _0x1fc4e0(_0x5c1e00,_0x136162,_0x29bbec,_0x1405d9){return _0x125cf4(_0x5c1e00-_0x3b8491._0x573a66,_0x136162-_0x3b8491._0x16f6c2,_0x5c1e00,_0x1405d9-_0x3b8491._0x397c09);}function _0x814eed(_0x28f73e,_0x40c055,_0x14fe27,_0x264a83){return _0x125cf4(_0x28f73e-0x77,_0x40c055-0x29f,_0x14fe27,_0x264a83-_0x4d9036._0x6cb0ba);}for(const _0xfb44f7 of this[_0x1fc4e0(_0x35e30e._0x28770e,_0x35e30e._0x2c419f,_0x35e30e._0x35b22b,_0x35e30e._0x9ae4b2)]['values']()){if(_0xfb44f7['status']===_0x814eed(-_0x35e30e._0x5297f8,_0x35e30e._0x5297f8,0x161,_0x35e30e._0x5c28b9)&&_0xfb44f7[_0x814eed(-0x179,-_0x35e30e._0x5e8bfc,_0x35e30e._0x5614d1,-0x18c)]&&!_0xfb44f7['processExited']){_0xfb44f7[_0x1fc4e0(_0x35e30e._0x5d3992,_0x35e30e._0x28bb73,_0x35e30e._0x2a3c3c,_0x35e30e._0xcbf5fc)]=!![];try{killProcessGroup(_0xfb44f7[_0x814eed(0x4a,-0x56,-_0x35e30e._0x43c645,-0x10f)],process[_0x1fc4e0(0x1e2,0x1f2,0x22a,0x2db)]===_0x814eed(_0x35e30e._0x4d1c2f,0x203,_0x35e30e._0x7be7dd,0xd5));}catch{}}}}['append'](_0x2ccd33,_0xce1cf){const _0x344a3b={_0x643546:0x33c,_0x4b4d8d:0x30,_0x17f7cc:0x132,_0x2df4af:0x1af,_0x361324:0x251,_0x1b8838:0x31a,_0x5446e5:0x52,_0x148b31:0x114,_0x433d01:0xe9,_0x21ce5f:0xdb,_0x4f9e14:0x1c5,_0x45ad9c:0x17d,_0x147c7a:0x11b,_0x3212a3:0xa0,_0x86409a:0x227,_0x19c1aa:0x373,_0x10468d:0x320,_0x3aa348:0x1b7,_0x5cba51:0xfc,_0x59d660:0x4c,_0x3074ba:0x1b0,_0x1283d1:0x334,_0x1407ad:0x100,_0xdd7dcc:0xaa,_0x3583fe:0x135,_0x4e1265:0x15,_0x566ba6:0x1a8,_0x1c3fc9:0xa9,_0x19c229:0x290,_0x3dd545:0x259,_0x1f8be2:0x253,_0x1b6dc4:0x444,_0x4cc671:0x98,_0x2eda8b:0x104,_0x254a74:0x136,_0xd81c74:0x52,_0xf29743:0x26b,_0x2f3f2c:0xe9,_0xcb015d:0x299,_0x2c4bb:0x1ce,_0x29fdad:0x2ee},_0x14053f={_0x232087:0x137},_0x436f48=_0x2ccd33[_0xabd7a5(-_0x344a3b._0x643546,-0x439,-0x358,-0x2b8)]?stripAnsiAndControls(_0xce1cf):_0xce1cf;if(_0x436f48[_0x349a95(-_0x344a3b._0x4b4d8d,0x20,-0x37,-_0x344a3b._0x17f7cc)]===0x0)return;_0x2ccd33[_0xabd7a5(-_0x344a3b._0x2df4af,-0xb6,-_0x344a3b._0x361324,-0x163)][_0x349a95(-0xf1,0x80,-0xc0,-0x1ba)](_0x436f48);function _0x349a95(_0x58e87a,_0x5705a9,_0x2b6d84,_0x36434a){return _0x125cf4(_0x58e87a-0x99,_0x58e87a-0x5a,_0x2b6d84,_0x36434a-0x1af);}function _0xabd7a5(_0xd30bbe,_0x52fc07,_0x40b723,_0x3b69f8){return _0x125cf4(_0xd30bbe-0x1bf,_0x3b69f8- -0x5f,_0x40b723,_0x3b69f8-_0x14053f._0x232087);}_0x2ccd33[_0xabd7a5(-0x437,-0x3e3,-0x2ca,-_0x344a3b._0x1b8838)]+=_0x436f48[_0xabd7a5(-0x14a,_0x344a3b._0x5446e5,-_0x344a3b._0x148b31,-_0x344a3b._0x433d01)],_0x2ccd33[_0x349a95(-_0x344a3b._0x21ce5f,-_0x344a3b._0x4f9e14,-_0x344a3b._0x45ad9c,0xb7)]+=_0x436f48[_0x349a95(-0x30,-0x111,-_0x344a3b._0x147c7a,_0x344a3b._0x3212a3)];while(_0x2ccd33[_0x349a95(-0x261,-_0x344a3b._0x86409a,-_0x344a3b._0x19c1aa,-_0x344a3b._0x10468d)]>this[_0x349a95(-_0x344a3b._0x3aa348,-0xc5,-_0x344a3b._0x5cba51,-_0x344a3b._0x59d660)]){const _0x53cc38=_0x2ccd33[_0x349a95(-0x261,-_0x344a3b._0x3074ba,-0x111,-0x3ab)]-this[_0xabd7a5(-0x3a6,-_0x344a3b._0x1283d1,-_0x344a3b._0x1407ad,-0x270)],_0x4808f5=_0x2ccd33[_0x349a95(-_0x344a3b._0xdd7dcc,-_0x344a3b._0x1407ad,-_0x344a3b._0x3583fe,-0x1a7)][0x0];_0x4808f5[_0xabd7a5(_0x344a3b._0x4e1265,-_0x344a3b._0x566ba6,_0x344a3b._0x1c3fc9,-0xe9)]<=_0x53cc38?(_0x2ccd33[_0xabd7a5(-0x70,0x11,-_0x344a3b._0x19c229,-0x163)][_0x349a95(-_0x344a3b._0x3dd545,-0x391,-0xd7,-_0x344a3b._0x1f8be2)](),_0x2ccd33[_0xabd7a5(-0x2bb,-_0x344a3b._0x1b6dc4,-_0x344a3b._0x2df4af,-0x31a)]-=_0x4808f5[_0x349a95(-0x30,-_0x344a3b._0x4cc671,-_0x344a3b._0x2eda8b,-_0x344a3b._0x254a74)],_0x2ccd33['totalDropped']+=_0x4808f5[_0xabd7a5(_0x344a3b._0xd81c74,0x9e,-_0x344a3b._0xf29743,-_0x344a3b._0x2f3f2c)]):(_0x2ccd33[_0xabd7a5(0x13,-0x205,-_0x344a3b._0xcb015d,-0x163)][0x0]=_0x4808f5[_0xabd7a5(-0xc8,-0x22b,-_0x344a3b._0x2c4bb,-0x11a)](_0x53cc38),_0x2ccd33[_0x349a95(-0x261,-_0x344a3b._0x29fdad,-0x36d,-0x348)]-=_0x53cc38,_0x2ccd33[_0xabd7a5(-0x2ae,-0xe4,-0x151,-0x213)]+=_0x53cc38);}}[_0x5b337b(0x525,0x507,0x3b4,0x45c)](){const _0x42fd58={_0x28c755:0x95,_0x4be6ad:0x3d,_0x4e84a4:0x1a6,_0xc6ca2:0x5f3,_0x56ac35:0x681,_0x2748b4:0x7c,_0x6b8e1d:0x54,_0x3290a0:0x55,_0x54c542:0x455,_0x48052f:0x393,_0x219cf4:0x505,_0x13bc73:0x57a},_0x582fe2={_0x4465d2:0x18c,_0x35b866:0x116},_0x1f4aff={_0x542606:0x2e,_0x247322:0xf3};function _0x1360d7(_0x339fde,_0x39a437,_0x562f28,_0x38519f){return _0x5b337b(_0x339fde- -0x438,_0x38519f,_0x562f28-_0x1f4aff._0x542606,_0x38519f-_0x1f4aff._0x247322);}if(this[_0x1360d7(-0x7c,-0x1c4,-_0x42fd58._0x28c755,-_0x42fd58._0x4be6ad)][_0x1360d7(-_0x42fd58._0x4e84a4,-0x1cd,-0xd5,-0x124)]<=this[_0x535445(_0x42fd58._0xc6ca2,_0x42fd58._0x56ac35,0x56d,0x4c1)])return;function _0x535445(_0x1d5a5f,_0x972eea,_0x3f6630,_0x1e6e95){return _0x5b337b(_0x3f6630-0x21c,_0x1d5a5f,_0x3f6630-_0x582fe2._0x4465d2,_0x1e6e95-_0x582fe2._0x35b866);}for(const [_0x58fea9,_0xb4b874]of this[_0x1360d7(-_0x42fd58._0x2748b4,-_0x42fd58._0x6b8e1d,0xcf,_0x42fd58._0x3290a0)]){if(_0xb4b874['status']!==_0x535445(_0x42fd58._0x54c542,_0x42fd58._0x48052f,_0x42fd58._0x219cf4,0x504)){this['entries'][_0x535445(0x485,_0x42fd58._0x13bc73,0x603,0x56d)](_0x58fea9);return;}}}};function createBashOutputTool(_0x38a01d){const _0x4215e8={_0x434f97:0x5f9,_0x1e294e:0x32,_0x27fbb5:0x10f,_0x42c00b:0x71,_0x4ab53f:0x4d3},_0x2209fe={_0x350ec6:0x1b5,_0x222247:0x246,_0x3f7748:0x241,_0x213626:0x23c,_0x36901:0x1f2,_0x18eb9d:0x2e2,_0x4bbc38:0x1a5,_0x3e5fec:0x399,_0x4ea72d:0x21a},_0x304706={_0x3d67b9:0x1ef},_0x5309f4={_0x415241:0x6a};function _0x519d16(_0x5bc348,_0x49181d,_0x13819b,_0x3400bd){return _0x125cf4(_0x5bc348-_0x5309f4._0x415241,_0x13819b-0x6f2,_0x5bc348,_0x3400bd-0xbc);}const {registry:_0x551ece}=_0x38a01d;function _0x5f133c(_0x115936,_0x2f2c6d,_0x17e6fb,_0x3889eb){return _0x125cf4(_0x115936-0xbb,_0x17e6fb-_0x304706._0x3d67b9,_0x2f2c6d,_0x3889eb-0x1c);}return defineTool({'name':_0x519d16(_0x4215e8._0x434f97,0x5ed,0x4d9,0x364),'permissionClass':_0x5f133c(-_0x4215e8._0x1e294e,_0x4215e8._0x27fbb5,-_0x4215e8._0x42c00b,-0xbf),'description':'Read\x20new\x20output\x20from\x20a\x20background\x20process\x20started\x20with\x20Bash(runInBackground:true).\x20Returns\x20output\x20produced\x20since\x20the\x20last\x20read;\x20optionally\x20filter\x20lines\x20by\x20a\x20regex.','inputSchema':{'type':'object','properties':{'shellId':{'type':'string'},'regex':{'type':'string'}},'required':[_0x519d16(_0x4215e8._0x4ab53f,0x43a,0x4b5,0x49f)]},async *'execute'(_0x4100cb){const _0x5e9d7a={_0x15356d:0x34,_0x590be2:0xcb},_0x309635={_0x5d8808:0x42};function _0x481a96(_0x44b7e6,_0x19d76f,_0x372d81,_0x5e0f78){return _0x5f133c(_0x44b7e6-0x142,_0x5e0f78,_0x44b7e6-0x305,_0x5e0f78-_0x309635._0x5d8808);}const _0x382d24=_0x551ece['read'](_0x4100cb[_0x5e1672(0x3c,_0x2209fe._0x350ec6,0x177,_0x2209fe._0x222247)],_0x4100cb['regex']?{'regex':_0x4100cb[_0x5e1672(_0x2209fe._0x3f7748,_0x2209fe._0x213626,0x365,0x3a0)]}:void 0x0);function _0x5e1672(_0x21ea16,_0x2455e4,_0x313739,_0x83942d){return _0x519d16(_0x21ea16,_0x2455e4-_0x5e9d7a._0x15356d,_0x313739- -0x33e,_0x83942d-_0x5e9d7a._0x590be2);}return createToolOutput(_0x382d24['output'],{'shellId':_0x4100cb['shellId'],'status':_0x382d24['status'],'exitCode':_0x382d24[_0x5e1672(0x6c,_0x2209fe._0x36901,0x1eb,_0x2209fe._0x18eb9d)],'signal':_0x382d24[_0x5e1672(_0x2209fe._0x4bbc38,_0x2209fe._0x3e5fec,0x2ed,_0x2209fe._0x4ea72d)],'truncated':_0x382d24['truncated']});}});}import{spawn as _0x2f8e75}from'child_process';import{statSync}from'fs';import*as _0x331996 from'os';import*as _0x286bbf from'path';import{StringDecoder as _0x12f406}from'string_decoder';import{stat}from'fs/promises';import*as _0xd885c6 from'path';function isPathInside(_0x5c9ec0,_0x5d77f7){const _0x3273ad={_0x5c7830:0x180,_0x3f3b5a:0x70,_0x5947df:0x48,_0x51464a:0x57,_0x39fe18:0x30,_0x3e1ced:0xd,_0x4db922:0xd6},_0x32ccc5={_0x16a79d:0x69,_0x10a9a7:0x6e},_0x4f3195={_0x160ec3:0xd7,_0x37767f:0xec};function _0x2715d1(_0x57decc,_0x114fc4,_0x1ccf77,_0x203584){return _0x125cf4(_0x57decc-0x85,_0x1ccf77-_0x4f3195._0x160ec3,_0x203584,_0x203584-_0x4f3195._0x37767f);}const _0x122aca=_0xd885c6[_0x2715d1(-0x9,_0x3273ad._0x5c7830,_0x3273ad._0x3f3b5a,-_0x3273ad._0x5947df)](_0x5c9ec0);function _0x401868(_0x1a43e3,_0x14b5a5,_0x59525b,_0x572564){return _0x125cf4(_0x1a43e3-_0x32ccc5._0x16a79d,_0x59525b-_0x32ccc5._0x10a9a7,_0x14b5a5,_0x572564-0x182);}const _0x230944=_0xd885c6[_0x2715d1(0xca,0xa1,-_0x3273ad._0x51464a,-0xfc)](_0x122aca,_0x5d77f7);return _0x230944===''||!_0x230944['startsWith']('..')&&!_0xd885c6[_0x2715d1(_0x3273ad._0x39fe18,-_0x3273ad._0x3e1ced,_0x3273ad._0x4db922,-0x65)](_0x230944);}function resolveWorkspacePath(_0x454510,_0x39e776){return resolveAllowedPath(_0x454510,[],_0x39e776);}function resolveAllowedPath(_0x37be55,_0x4ff137,_0x11aafb){const _0x57bfbf={_0x5c3105:0x3fa,_0x2bbd9b:0x446,_0x19d36b:0x2db,_0x309b67:0x47a,_0x271481:0x36a,_0x102626:0x4f2,_0x43e33f:0x269,_0x8184c7:0x190},_0x35b983={_0x49a2da:0x1c4,_0xa9e6e2:0x4ad},_0x2fb0b8={_0x11d61c:0x100},_0x4f0ca0=_0xd885c6[_0x49cb4e(_0x57bfbf._0x5c3105,_0x57bfbf._0x2bbd9b,_0x57bfbf._0x19d36b,_0x57bfbf._0x309b67)](_0x37be55);function _0x10ba46(_0x50539a,_0x3b1888,_0x5573c6,_0x4c4b95){return _0x125cf4(_0x50539a-0x16,_0x4c4b95-0x23f,_0x3b1888,_0x4c4b95-_0x2fb0b8._0x11d61c);}const _0x2cd887=_0xd885c6['resolve'](_0x4f0ca0,_0x11aafb),_0x21f286=[_0x4f0ca0,..._0x4ff137[_0x49cb4e(0x2fc,_0x57bfbf._0x271481,0x469,_0x57bfbf._0x102626)](_0x25bbc8=>_0xd885c6[_0x10ba46(0xa0,0x150,0x301,0x1d8)](_0x25bbc8))];function _0x49cb4e(_0x15c876,_0x47dade,_0x4687ed,_0x473b2f){return _0x125cf4(_0x15c876-_0x35b983._0x49a2da,_0x47dade-_0x35b983._0xa9e6e2,_0x4687ed,_0x473b2f-0xfb);}if(_0x21f286['some'](_0x2b5344=>isPathInside(_0x2b5344,_0x2cd887)))return _0x2cd887;throw new ToolExecutionError(_0x10ba46(_0x57bfbf._0x43e33f,0x30b,0x2d6,_0x57bfbf._0x8184c7)+_0x11aafb,{'path':_0x11aafb,'rootDir':_0x4f0ca0,'allowedDirs':_0x21f286});}async function assertWorkspaceFile(_0xbc21b0){const _0x1440d8={_0x2c40a3:0x12c,_0x35cb6e:0x4a},_0x3f473d={_0x291932:0x389,_0x446b4c:0x184,_0x3b8ce2:0x69};function _0x3f5d23(_0x1c671c,_0x3c0a83,_0x5dc6f3,_0x57e819){return _0x5b337b(_0x3c0a83- -_0x3f473d._0x291932,_0x1c671c,_0x5dc6f3-_0x3f473d._0x446b4c,_0x57e819-_0x3f473d._0x3b8ce2);}const _0x3f6c8e=await stat(_0xbc21b0);if(!_0x3f6c8e[_0x3f5d23(0xc8,_0x1440d8._0x2c40a3,-_0x1440d8._0x35cb6e,0x208)]())throw new ToolExecutionError('Path\x20is\x20not\x20a\x20file:\x20'+_0xbc21b0,{'path':_0xbc21b0});}function isProbablyBinary(_0x19b593){function _0x58ee2d(_0xc789f2,_0x4ada69,_0x2fd79c,_0xbf14c1){return _0x125cf4(_0xc789f2-0x118,_0xbf14c1-0x12d,_0xc789f2,_0xbf14c1-0x105);}return _0x19b593[_0x58ee2d(0x31,-0x215,-0x223,-0x91)](0x0);}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION=_0x125cf4(-0x429,-0x2de,-0x2b3,-0x1fe)+DEFAULT_TIMEOUT_MS+_0x125cf4(-0x248,-0x26c,-0x36c,-0x2c9);function buildChildEnv(_0x1e01d6,_0x42b779){const _0x3b33bc={_0x27efdb:0x121,_0xf8e19a:0x168,_0xcabf70:0xc8,_0xf6c91d:0xdc,_0x15e619:0x9b,_0x4e55fb:0x139},_0x3e6bae={_0x2d98d7:0x3d1,_0x263723:0x11b,_0x5dc265:0x121},_0x106d4b={_0x3889bb:0x197,_0x54536e:0xe3},_0x5cf6b0={...process['env'],..._0x1e01d6??{}};if(_0x42b779[_0x3d5d44(_0x3b33bc._0x27efdb,0xb1,0x18a,-0xca)]===0x0)return _0x5cf6b0;if(_0x331996[_0x3d5d44(0x12b,0x6d,_0x3b33bc._0xf8e19a,0x101)]()===_0x3d5d44(-_0x3b33bc._0xcabf70,0x9f,0xb8,-_0x3b33bc._0xf6c91d)){const _0x46f4b2=new Set(_0x42b779['map'](_0xba3552=>_0xba3552[_0xd6d712(0x2fa,0x2e2,0x2d6,0x306)]()));for(const _0x2a2a3b of Object[_0xd6d712(0xc1,_0x3b33bc._0x15e619,0x1ca,0x14c)](_0x5cf6b0)){if(_0x46f4b2['has'](_0x2a2a3b[_0x3d5d44(_0x3b33bc._0x4e55fb,0x151,0x2d3,0x293)]()))delete _0x5cf6b0[_0x2a2a3b];}}else{for(const _0x34c8eb of _0x42b779)delete _0x5cf6b0[_0x34c8eb];}function _0xd6d712(_0x587ba1,_0x172629,_0x3a3c6b,_0x2d9d47){return _0x125cf4(_0x587ba1-_0x106d4b._0x3889bb,_0x172629-0x2cc,_0x3a3c6b,_0x2d9d47-_0x106d4b._0x54536e);}function _0x3d5d44(_0x37172b,_0x4355cf,_0x2278e2,_0x5dc340){return _0x5b337b(_0x4355cf- -_0x3e6bae._0x2d98d7,_0x37172b,_0x2278e2-_0x3e6bae._0x263723,_0x5dc340-_0x3e6bae._0x5dc265);}return _0x5cf6b0;}function mapSpawnError(_0x1f970b,_0xf3e166){const _0x47ea23={_0x4c408c:0x18a,_0x1f2f1a:0x368,_0xca8e0f:0x59,_0x2d36f5:0x19c,_0x53f42e:0x360,_0x254bae:0x28c,_0x2e26a4:0x2a8,_0x1ef51f:0x131,_0x25a51d:0x13a,_0x430d64:0x128,_0x5e787e:0x160,_0x2d47eb:0x76},_0x55fe22={_0x64bae7:0x1c2,_0x2274e3:0x33e},_0x18f456={_0x50a6f3:0x156,_0x37b094:0x2e8,_0xa135ff:0x7b};function _0x11f58f(_0x554c51,_0x317869,_0x2e1618,_0x16a571){return _0x125cf4(_0x554c51-_0x18f456._0x50a6f3,_0x317869-_0x18f456._0x37b094,_0x16a571,_0x16a571-_0x18f456._0xa135ff);}if(isErrnoException(_0x1f970b)&&_0x1f970b[_0x11f58f(_0x47ea23._0x4c408c,0x1fa,0x2e8,_0x47ea23._0x1f2f1a)]===_0x11f58f(-0xdf,0xb4,-_0x47ea23._0xca8e0f,_0x47ea23._0x2d36f5))return new ToolExecutionError(_0x11f58f(_0x47ea23._0x53f42e,0x27e,_0x47ea23._0x254bae,0x31e)+_0xf3e166[_0x3b4fce(0x282,_0x47ea23._0x2e26a4,0x13b,_0x47ea23._0x1ef51f)],_0xf3e166);function _0x3b4fce(_0x180b5b,_0xd838db,_0x4a75cc,_0x3e8be8){return _0x125cf4(_0x180b5b-_0x55fe22._0x64bae7,_0x3e8be8-_0x55fe22._0x2274e3,_0xd838db,_0x3e8be8-0x125);}return new ToolExecutionError(_0x1f970b instanceof Error?_0x1f970b[_0x3b4fce(_0x47ea23._0x25a51d,_0x47ea23._0x430d64,_0x47ea23._0x5e787e,_0x47ea23._0x2d47eb)]:String(_0x1f970b),_0xf3e166);}function shellExists(_0x1336a0){const _0x58672b={_0xb7956f:0x556,_0xad3de9:0x2ae,_0x5f4343:0x228},_0x2bb87b={_0x493397:0x19,_0x156408:0x13d},_0x55a6cc={_0x36d06c:0x8c};function _0x1de970(_0x3a9767,_0x256e01,_0x38d293,_0x492629){return _0x5b337b(_0x3a9767- -_0x55a6cc._0x36d06c,_0x256e01,_0x38d293-0x27,_0x492629-0xa9);}function _0x3d1564(_0xfef0aa,_0x378338,_0x8f210b,_0x30456f){return _0x5b337b(_0x8f210b-_0x2bb87b._0x493397,_0x30456f,_0x8f210b-0xca,_0x30456f-_0x2bb87b._0x156408);}try{const _0x287838=statSync(_0x1336a0);return _0x287838[_0x1de970(0x429,_0x58672b._0xb7956f,_0x58672b._0xad3de9,0x386)]()&&(_0x287838[_0x3d1564(0x25d,0x351,_0x58672b._0x5f4343,0x119)]&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x3d1fcc){const _0x5c4a57={_0x31fad2:0x73,_0x28a546:0x1a4,_0xfcc45c:0x83,_0x1f5700:0xbf,_0x3c6038:0x91,_0x252a0f:0x18b,_0x25a00f:0x5e4,_0x3e34a1:0x4db,_0x5457c4:0x21b,_0x3c9b0e:0x1b5,_0x25219e:0x3a7,_0x211efc:0x1f2,_0x4577d9:0x7a,_0x1b8f85:0x1ce,_0x244ca9:0xa9,_0x1497cd:0x174,_0x1d33d6:0x406,_0x27e14a:0x2a6,_0x435f21:0x4e0,_0x2066f6:0x78,_0x1018e5:0x26d,_0x2b2490:0x2cd},_0x1180a3={_0x316bf4:0x48,_0x55c281:0xdc},_0x5c18b7={_0x4cba19:0x4e2,_0x28277b:0x1b3};if(_0x3d1fcc)return _0x3d1fcc;if(_0x331996[_0x3f037c(_0x5c4a57._0x31fad2,-0x10e,-0xa4,-0x5f)]()===_0x3f037c(-0x166,-_0x5c4a57._0x28a546,-0x72,-_0x5c4a57._0xfcc45c))return process[_0x3f037c(_0x5c4a57._0x1f5700,-_0x5c4a57._0x3c6038,-0x76,-_0x5c4a57._0x252a0f)][_0x1c0689(0x559,0x4ee,_0x5c4a57._0x25a00f,0x434)]||_0x1c0689(0x497,0x37b,_0x5c4a57._0x3e34a1,0x4bb);function _0x3f037c(_0x3de8a3,_0x19956a,_0x5b9016,_0x24df06){return _0x5b337b(_0x5b9016- -_0x5c18b7._0x4cba19,_0x24df06,_0x5b9016-_0x5c18b7._0x28277b,_0x24df06-0x32);}const _0x30dc66=[_0x3f037c(-_0x5c4a57._0x5457c4,-_0x5c4a57._0x3c9b0e,-0x1ff,-0x300),_0x3f037c(-_0x5c4a57._0x25219e,-0x2bc,-0x24e,-_0x5c4a57._0x211efc),_0x3f037c(-_0x5c4a57._0x4577d9,-_0x5c4a57._0x1b8f85,-_0x5c4a57._0x244ca9,-_0x5c4a57._0x1497cd),'/usr/bin/sh'];for(const _0x56b9b8 of _0x30dc66){if(shellExists(_0x56b9b8))return _0x56b9b8;}const _0x47fbe5=process[_0x1c0689(0x4b4,_0x5c4a57._0x1d33d6,0x574,0x47b)][_0x1c0689(0x41c,_0x5c4a57._0x27e14a,0x2dd,_0x5c4a57._0x435f21)];function _0x1c0689(_0x183b3a,_0x39f6d1,_0x7c9b3e,_0x2e7922){return _0x5b337b(_0x183b3a-_0x1180a3._0x316bf4,_0x2e7922,_0x7c9b3e-_0x1180a3._0x55c281,_0x2e7922-0x16);}if(_0x47fbe5&&shellExists(_0x47fbe5))return _0x47fbe5;return _0x3f037c(-_0x5c4a57._0x2066f6,-_0x5c4a57._0x1018e5,-0x1ff,-_0x5c4a57._0x2b2490);}function buildShellArgs(_0x1c0652,_0x198c89){const _0x31560e={_0x408809:0x451,_0x2c271a:0x3fb,_0x4ffc3b:0x308,_0x2bbbf1:0x5d9,_0x59db02:0x36c,_0x2a21f7:0x35c,_0x2846ea:0x47c,_0x5bf86c:0x47b,_0x3e6bb2:0x461,_0x136735:0x327,_0x386d31:0x288,_0x5cdb47:0x1f8,_0x176b79:0x539,_0x11e6d8:0x440,_0x1f63da:0x52b},_0x2822cf={_0xa2556f:0x131,_0x311b27:0x80},_0x3d3d62={_0x489d07:0x12a,_0x23dbdf:0xa7};function _0x2e3dc9(_0xc1d992,_0x19db4a,_0x5cb42e,_0x310b23){return _0x5b337b(_0xc1d992- -0x5b,_0x5cb42e,_0x5cb42e-_0x3d3d62._0x489d07,_0x310b23-_0x3d3d62._0x23dbdf);}if(_0x331996[_0x570663(0x485,0x3ac,0x59e,_0x31560e._0x408809)]()===_0x570663(0x527,_0x31560e._0x2c271a,_0x31560e._0x4ffc3b,0x483)){const _0x19f693=/cmd(\.exe)?$/i[_0x570663(_0x31560e._0x2bbbf1,_0x31560e._0x59db02,_0x31560e._0x2a21f7,_0x31560e._0x2846ea)](_0x198c89);return _0x19f693?['/d','/s','/c',_0x1c0652]:[_0x2e3dc9(_0x31560e._0x5bf86c,_0x31560e._0x3e6bb2,_0x31560e._0x136735,0x4a5),_0x570663(_0x31560e._0x386d31,0x3f9,_0x31560e._0x5cdb47,0x383),_0x570663(0x3cb,_0x31560e._0x176b79,_0x31560e._0x11e6d8,_0x31560e._0x1f63da),_0x1c0652];}function _0x570663(_0x31ad8e,_0x49dcdd,_0xe96155,_0x2279a0){return _0x125cf4(_0x31ad8e-_0x2822cf._0xa2556f,_0x2279a0-0x51f,_0x49dcdd,_0x2279a0-_0x2822cf._0x311b27);}return['-c',_0x1c0652];}function resolveWorkingDirectory(_0x1fad01,_0x1996f2,_0x2ed2f7){const _0x5425a9={_0x11bfd8:0x60d,_0x5ab1d4:0x4c5},_0x3d9cba={_0x4b68e0:0x164,_0x2e3158:0x6cc},_0x3f97be=resolveAllowedPath(_0x1996f2,_0x2ed2f7,_0x1fad01??'.');function _0x1fc962(_0x322e8b,_0x4781a6,_0x186dfe,_0x2089a7){return _0x125cf4(_0x322e8b-_0x3d9cba._0x4b68e0,_0x2089a7-_0x3d9cba._0x2e3158,_0x186dfe,_0x2089a7-0x1b5);}try{const _0x3b9d82=statSync(_0x3f97be);if(!_0x3b9d82['isDirectory']())throw new ToolExecutionError(_0x1fc962(_0x5425a9._0x11bfd8,0x60b,0x4cb,_0x5425a9._0x5ab1d4)+_0x3f97be,{'cwd':_0x3f97be});return _0x3f97be;}catch(_0x48ffc7){if(_0x48ffc7 instanceof ToolExecutionError)throw _0x48ffc7;throw new ToolExecutionError('Working\x20directory\x20not\x20found:\x20'+_0x3f97be,{'cwd':_0x3f97be});}}function emitChunk(_0x5b7bb2,_0x37f517,_0x5c81d6,_0x271c1d){const _0x1cd393={_0x296348:0xfe,_0x7abc14:0x18,_0x145980:0x193,_0x96d062:0xc,_0x25e32f:0x32},_0x2850c0={_0x7e0a87:0x4d,_0x3de982:0x105};_0x5b7bb2[_0x4b92fb(-_0x1cd393._0x296348,0x163,_0x1cd393._0x7abc14,_0x1cd393._0x145980)](_0x5c81d6);function _0x4b92fb(_0x49f8a8,_0x5d45e5,_0xd24218,_0x35da7e){return _0x5b337b(_0xd24218- -0x3a9,_0x49f8a8,_0xd24218-_0x2850c0._0x7e0a87,_0x35da7e-_0x2850c0._0x3de982);}_0x37f517[_0x4b92fb(_0x1cd393._0x96d062,0x174,_0x1cd393._0x7abc14,-_0x1cd393._0x25e32f)](_0x5c81d6);function _0x21e89e(_0x2269d7,_0x12017e,_0x1cbaa6,_0x326788){return _0x125cf4(_0x2269d7-0x168,_0x2269d7-0x347,_0x12017e,_0x326788-0xa1);}_0x271c1d();}function appendChunk(_0xae3f2f,_0x4ec758,_0x59c3e1,_0x220fdf,_0x544788,_0x3a8fcb){const _0x403498={_0x1e12f8:0x555,_0x308b30:0x68f,_0x554a36:0x65b,_0x23a4c0:0x719,_0x4b73d8:0x826,_0x946b1e:0x4e4,_0x323633:0x6a0,_0x5d1451:0x5af,_0x5501c0:0x780,_0x38ecc3:0x621,_0x1213e5:0x5fb,_0x3aeec4:0x685,_0x5c31de:0x65e,_0x3511f3:0x71a,_0x257716:0x602,_0x380625:0x690,_0x229ab8:0x5f2,_0x652ea9:0x7cb,_0x5c1600:0x704,_0x102958:0x6e2,_0x3d252f:0x6c9,_0x23120e:0x555,_0x2f5f7e:0x7c0,_0x3c86ea:0x6c6,_0x2137c2:0x60e,_0x4cb5bd:0x5d5,_0x532448:0x645,_0xd6ea22:0x5af,_0x411f22:0x4ea,_0x493e8c:0x4d9,_0x512230:0x4e5,_0x1638f0:0x5ce,_0x3c9f2b:0x568,_0xeda527:0x4d8},_0x748fe1={_0x8ed61c:0x43,_0x593f56:0x76c},_0x104e59=_0x220fdf?stripAnsiAndControls(_0x59c3e1):_0x59c3e1;if(_0x104e59[_0x933056(_0x403498._0x1e12f8,0x732,_0x403498._0x308b30,_0x403498._0x554a36)]===0x0)return;function _0x933056(_0x3bb7df,_0xbfce46,_0xb6c760,_0x7a29e0){return _0x125cf4(_0x3bb7df-0x74,_0xb6c760-0x719,_0x3bb7df,_0x7a29e0-0x25);}if(!_0x3a8fcb){emitChunk(_0xae3f2f,_0x4ec758,_0x104e59,_0x544788);return;}function _0x3ff7e8(_0x1bbe29,_0x49687b,_0xd0476b,_0x380e5b){return _0x125cf4(_0x1bbe29-_0x748fe1._0x8ed61c,_0x49687b-_0x748fe1._0x593f56,_0xd0476b,_0x380e5b-0x113);}let _0x80cc8f=0x0,_0x5ec141=_0x104e59[_0x3ff7e8(0x74f,_0x403498._0x23a4c0,0x71e,_0x403498._0x4b73d8)]('\x0a');while(_0x5ec141>=0x0){_0x3a8fcb[_0x933056(_0x403498._0x946b1e,_0x403498._0x323633,_0x403498._0x5d1451,0x4ef)][_0x3ff7e8(_0x403498._0x5501c0,_0x403498._0x38ecc3,_0x403498._0x1213e5,_0x403498._0x3aeec4)](_0x104e59[_0x933056(0x7bd,0x4e2,_0x403498._0x5c31de,_0x403498._0x3511f3)](_0x80cc8f,_0x5ec141));const _0x29b43a=_0x3a8fcb[_0x3ff7e8(0x686,_0x403498._0x257716,_0x403498._0x380625,0x730)][_0x933056(_0x403498._0x229ab8,_0x403498._0x652ea9,0x6a7,_0x403498._0x5c1600)]('');_0x3a8fcb['trailingChunks'][_0x3ff7e8(0x624,_0x403498._0x102958,0x653,0x6f6)]=0x0,_0x3a8fcb['regex'][_0x3ff7e8(0x663,_0x403498._0x3d252f,0x6cf,_0x403498._0x23120e)](_0x29b43a)&&emitChunk(_0xae3f2f,_0x4ec758,_0x29b43a+'\x0a',_0x544788),_0x80cc8f=_0x5ec141+0x1,_0x5ec141=_0x104e59[_0x933056(_0x403498._0x2f5f7e,0x824,_0x403498._0x3c86ea,_0x403498._0x2137c2)]('\x0a',_0x80cc8f);}_0x80cc8f<_0x104e59[_0x3ff7e8(0x66e,0x6e2,_0x403498._0x4cb5bd,0x806)]&&_0x3a8fcb[_0x933056(0x6ed,_0x403498._0x532448,_0x403498._0xd6ea22,_0x403498._0x411f22)][_0x933056(_0x403498._0x493e8c,_0x403498._0x512230,_0x403498._0x1638f0,0x719)](_0x104e59[_0x933056(_0x403498._0x3c9f2b,_0x403498._0xeda527,0x65e,0x60c)](_0x80cc8f));}function flushOutputRegex(_0x537bbd,_0x3afa14,_0x196c6e,_0x36c666){const _0x29630c={_0x412e43:0x24f,_0x5983a7:0x1cd,_0x237d02:0x7a,_0x21c93a:0x101,_0x23d74b:0x49d,_0x50c1a1:0x59c,_0x16dae4:0x538,_0xa83f3d:0x394,_0x24e971:0x52c,_0x4c1a7f:0x35a,_0x16c276:0x161,_0x23ffe9:0x18b,_0x3f8a20:0x2a7,_0x4a1c62:0x53f,_0x2c94af:0x16f,_0x186c6d:0x28e},_0x287ead={_0x55df69:0x1db},_0x1f0bdc={_0x35ac31:0x102};if(!_0x196c6e||_0x196c6e[_0x370216(0x22c,0x279,_0x29630c._0x412e43,0x1c7)][_0x1219c5(0x4ec,0x584,0x60a,0x482)]===0x0)return;function _0x1219c5(_0x186342,_0x90abb3,_0xe4fa7f,_0x3a0f06){return _0x5b337b(_0x90abb3-_0x1f0bdc._0x35ac31,_0xe4fa7f,_0xe4fa7f-0xb3,_0x3a0f06-0xd2);}const _0x1ab22a=_0x196c6e[_0x370216(_0x29630c._0x5983a7,_0x29630c._0x237d02,_0x29630c._0x21c93a,0x1c7)][_0x1219c5(_0x29630c._0x23d74b,_0x29630c._0x50c1a1,_0x29630c._0x16dae4,0x60c)]('');function _0x370216(_0x2559dc,_0x244255,_0xb3809a,_0x1ed9f1){return _0x5b337b(_0x1ed9f1- -_0x287ead._0x55df69,_0xb3809a,_0xb3809a-0x155,_0x1ed9f1-0x14b);}_0x196c6e[_0x1219c5(_0x29630c._0xa83f3d,0x4a4,0x382,_0x29630c._0x24e971)][_0x370216(_0x29630c._0x4c1a7f,_0x29630c._0x16c276,_0x29630c._0x23ffe9,_0x29630c._0x3f8a20)]=0x0,_0x196c6e[_0x1219c5(0x451,0x5bf,_0x29630c._0x4a1c62,0x4d7)][_0x370216(0x13f,0x249,_0x29630c._0x2c94af,_0x29630c._0x186c6d)](_0x1ab22a)&&emitChunk(_0x537bbd,_0x3afa14,_0x1ab22a,_0x36c666);}function createBashTool(_0x566122={}){const _0x27420c={_0x3172fc:0x6f,_0x52daf8:0x380,_0x16e98e:0x177,_0x4b0c8f:0x1f0,_0x128338:0x7a,_0x1095fd:0x11,_0x27454a:0x106,_0x324052:0xdd,_0x308a5d:0x93,_0xaef0a3:0x2bf,_0x1bad31:0x1d4,_0x3a424f:0x102,_0x3df973:0x12,_0x376cea:0x35,_0x623bcc:0x2,_0x3a8baa:0x1e,_0x1a10a6:0x10d,_0x5a3040:0x1a4,_0x4e0ba5:0x1aa,_0x51d940:0x15c,_0x443433:0x68,_0x186fa4:0xe4,_0x3154d9:0x2d,_0x3e6cd9:0x49,_0x55ef98:0x1e,_0x21dd47:0x9a,_0x3b8ea6:0x49,_0x59d350:0x300,_0x590b88:0x1ae,_0x1449cb:0x48,_0x5a85ec:0xa,_0x2ac967:0x1ef,_0x1b88ff:0x1af,_0x1cc38f:0x115,_0x11eb7e:0xef},_0x464915={_0x275788:0x2d,_0x1c188b:0xfb,_0x4194cb:0x90,_0x1c6bac:0xa2,_0x475e2e:0x1c2,_0x829dd6:0x23e,_0x1b4ad1:0x316,_0x324885:0x112,_0x1aa0d5:0x4c,_0xe57315:0x2a,_0x4de3e9:0x33,_0x161f40:0x16a,_0x34f6d8:0xf7,_0xe84354:0xf,_0xe195c1:0x25e,_0x10d2cf:0x12,_0x523dd8:0x1d,_0x298c0b:0xd8,_0x3a0ff7:0x18,_0x294b97:0x59,_0x36dc8a:0x1ab,_0x570aba:0x28f,_0x15d018:0x15a,_0x79abeb:0x8c,_0x241e88:0x275,_0x5f42d3:0xc3,_0xf62096:0x84,_0x463aaf:0x7a,_0x35b9e4:0x5,_0x15457f:0x174,_0x32cc69:0xf7,_0xdf66f:0x2b,_0x159cbe:0x1b,_0x5cc141:0x118,_0x196478:0x276,_0x3ec8a3:0x154,_0x1ef50a:0xaa,_0xa27011:0x21f,_0x49684e:0x1b9,_0x2a3990:0x83,_0x3d18be:0x13e,_0x320770:0xc,_0x573b30:0x10c,_0xb0ab5a:0x41,_0x1ca65b:0xe4,_0x586fc1:0x60,_0x5ec488:0x3a,_0x3968db:0x64,_0x43521f:0x40,_0x21125e:0x24,_0x5f35e2:0x109,_0x45f70f:0x191,_0x7bd431:0x120,_0x499e05:0x255,_0x4bdc4e:0x5f,_0x49a6f7:0xf5,_0x2bc320:0x20,_0x3fdb69:0xe4,_0x44f629:0x281,_0x21ce9a:0x49,_0x5c076f:0xc5,_0x1201fc:0x71,_0x2e07a0:0x9f,_0x5f4c14:0xf7,_0x3fc9a7:0x4f,_0x147d59:0x68,_0x2d072b:0x193,_0x4e38a0:0x2d2,_0x238d8f:0x8a,_0x34b353:0x84,_0x180323:0x10b,_0x3f9981:0xa8,_0x5281db:0x1b3,_0x5c4656:0x166,_0x125e4e:0x82,_0x4743fb:0xa9,_0x2c160d:0xcd,_0x1b270:0x1,_0x27b313:0x147,_0x1d4b3e:0x33,_0x4d2876:0x2d3,_0x457f53:0x3b,_0x1a0a67:0x17b,_0x28a300:0x6d,_0x36f583:0x5a,_0x59c881:0x69,_0x298157:0x17c,_0x45f0e5:0x1f2,_0x3ad369:0x1af,_0x9d9acd:0x1a9,_0x28ee04:0xd1,_0x306d84:0x21b,_0x1cce2e:0x1a3,_0x1de0e9:0xa1,_0x4d5c72:0xd7,_0x3fd601:0x156,_0x6c8fb8:0x32,_0xf5f803:0x218,_0x145368:0x166,_0x42ad92:0xdb,_0x24a0ef:0xe5,_0x304e05:0xdd,_0x38d5be:0x141,_0x110691:0x124,_0x582c9c:0x278,_0x37007d:0x1a7,_0x5b1d17:0x16c,_0x43752:0x89,_0x54271f:0x60,_0x103394:0x124,_0x5d376b:0x118,_0x423a0d:0xe3,_0x612654:0x145,_0x3663ed:0x157,_0x145454:0x6,_0x676b48:0x21d,_0x2838d1:0x165,_0xd4be74:0x137,_0x4eb8c6:0x1ab,_0x15a851:0x12e,_0x33a3f8:0x12b,_0x397615:0x19d,_0x7c21f6:0xd2,_0x3392b1:0x123},_0x4b30f2={_0x137f32:0x2a7},_0x2c4b25={_0x41a463:0x262,_0x4823e3:0x244,_0x398c03:0x2fa},_0x4a198={_0x48837a:0x3d7,_0xe9aaf9:0x310},_0x206972={_0x44627a:0x1d9,_0x374160:0x14e},_0x318740={_0x198f43:0x1bc,_0x39debb:0x136},_0x3f5366={_0x1a5834:0x448,_0x53e91a:0x11e},_0x3bb71a=_0x286bbf[_0x37377c(0xf,-0xed,_0x27420c._0x3172fc,0x5d)](_0x566122[_0x48c02b(-_0x27420c._0x52daf8,-0x263,-_0x27420c._0x16e98e,-_0x27420c._0x4b0c8f)]??process[_0x48c02b(_0x27420c._0x128338,0x8,0x2a,_0x27420c._0x1095fd)]()),_0x5a3ba0=_0x566122[_0x37377c(_0x27420c._0x27454a,-_0x27420c._0x324052,_0x27420c._0x308a5d,0x44)]??[];function _0x48c02b(_0x571437,_0x4124ab,_0x3c618e,_0x7aa2f8){return _0x125cf4(_0x571437-0x1d8,_0x7aa2f8-0x6,_0x571437,_0x7aa2f8-0x1d4);}const _0x471160=_0x566122[_0x37377c(-0x1fe,-0x1f1,-_0x27420c._0xaef0a3,-_0x27420c._0x1bad31)]??DEFAULT_TIMEOUT_MS,_0x50127a=_0x566122['stripAnsi']??!![];function _0x37377c(_0x22b731,_0x148eef,_0x398a6c,_0x1cb747){return _0x5b337b(_0x1cb747- -_0x3f5366._0x1a5834,_0x398a6c,_0x398a6c-0x14b,_0x1cb747-_0x3f5366._0x53e91a);}const _0x1bb91b=_0x566122[_0x48c02b(0x13f,0x134,-_0x27420c._0x3a424f,-_0x27420c._0x3df973)]??'Bash',_0x4c683b=_0x566122[_0x48c02b(_0x27420c._0x376cea,_0x27420c._0x623bcc,0x3e,-0x9)]??[],_0x2072b9=_0x566122['backgroundRegistry'];return defineTool({'name':_0x1bb91b,'permissionClass':'always-confirm','description':_0x566122[_0x48c02b(-_0x27420c._0x3a8baa,-0x84,-0xfa,-_0x27420c._0x1a10a6)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':_0x37377c(-_0x27420c._0x5a3040,-_0x27420c._0x4e0ba5,-_0x27420c._0x51d940,-_0x27420c._0x443433),'properties':{'command':{'type':_0x37377c(-_0x27420c._0x186fa4,-_0x27420c._0x3154d9,0x8,_0x27420c._0x3e6cd9)},'description':{'type':_0x48c02b(-0x89,-0xc4,-0x3f,-0x75),'description':_0x37377c(0x15e,-_0x27420c._0x55ef98,-0x5e,0x8a)},'cwd':{'type':_0x37377c(0xf6,_0x27420c._0x21dd47,0x5e,_0x27420c._0x3b8ea6)},'timeoutMs':{'type':_0x37377c(-0x33e,-_0x27420c._0x59d350,-0x181,-_0x27420c._0x590b88)},'ignoreOutput':{'type':_0x37377c(_0x27420c._0x1449cb,-0x65,0x135,_0x27420c._0x5a85ec)},'outputRegex':{'type':'string','description':'For\x20foreground\x20runs,\x20return\x20only\x20complete\x20stdout/stderr\x20lines\x20matching\x20this\x20regex;\x20exit\x20status\x20is\x20unchanged.'},'runInBackground':{'type':'boolean'}},'required':[_0x48c02b(-_0x27420c._0x2ac967,-_0x27420c._0x1b88ff,0x28,-_0x27420c._0x1cc38f),_0x37377c(0x106,0x9,-_0x27420c._0x11eb7e,-0x4f)]},async *'execute'(_0x52360c,_0x4da7b7){const _0x2a8ce0={_0x14a160:0xb4,_0xee22aa:0xb7,_0x322e48:0xfe,_0x420c15:0x14a,_0x189983:0x527,_0x1d3c8a:0x3a5,_0x256955:0x299,_0x45263f:0x246,_0x2b2355:0x310},_0xa5d606={_0x32bd9d:0xae,_0x8b0e49:0xf0,_0x332d38:0x1dc,_0x33eff3:0x1ed,_0x1d4252:0xf5},_0xee102d={_0x678863:0x18c,_0x5e11d8:0x13b},_0x12d9e1={_0x2fb111:0x1d1,_0x1350dd:0x39},_0x59c61a={_0x502c3f:0x570,_0x1a08e2:0x40e,_0x3a3312:0x3b5},_0x3c7c75={_0x4f4651:0x265,_0x3bc7f9:0xfe},_0x294646=_0x52360c[_0x1b52e7(-0x11b,-0x55,_0x464915._0x275788,_0x464915._0x1c188b)]??_0x471160;if(!Number[_0x1b52e7(-0x119,0x77,_0x464915._0x4194cb,0x131)](_0x294646)||_0x294646<0x1)throw new ToolExecutionError(_0x1b52e7(0x84,-0x4e,-0x100,_0x464915._0x1c6bac),{'command':_0x52360c[_0x29b81a(-0x7,_0x464915._0x475e2e,0xf7,0xfb)]});throwIfAborted(_0x4da7b7['signal']);function _0x1b52e7(_0x1f9d3d,_0x111aed,_0x3c5b1f,_0x44505d){return _0x48c02b(_0x1f9d3d,_0x111aed-_0x318740._0x198f43,_0x3c5b1f-_0x318740._0x39debb,_0x111aed-0x22d);}const _0x210f8f=resolveWorkingDirectory(_0x52360c[_0x1b52e7(0x1f8,_0x464915._0x829dd6,_0x464915._0x1b4ad1,_0x464915._0x324885)],_0x3bb71a,_0x5a3ba0),_0xb4768=_0x52360c[_0x1b52e7(_0x464915._0x1aa0d5,0x138,0x53,0x2cb)]??![],_0x1d95b0=resolveDefaultShell(_0x566122[_0x29b81a(_0x464915._0xe57315,-0x15b,0x5,-_0x464915._0x4de3e9)]),_0x2218ad=buildShellArgs(_0x52360c[_0x29b81a(_0x464915._0x161f40,-0x6f,_0x464915._0x34f6d8,-_0x464915._0xe84354)],_0x1d95b0),_0x6554a2=_0x331996['platform']()===_0x29b81a(0x132,_0x464915._0xe195c1,0x176,0x284);if(_0x52360c[_0x29b81a(-_0x464915._0x10d2cf,_0x464915._0x523dd8,_0x464915._0x298c0b,_0x464915._0x3a0ff7)]){if(!_0x2072b9)throw new ToolExecutionError(_0x1b52e7(-0xc1,_0x464915._0x294b97,0x148,_0x464915._0x36dc8a),{'command':_0x52360c['command']});throwIfAborted(_0x4da7b7[_0x1b52e7(0xf1,0x16c,0x273,_0x464915._0x570aba)]);let _0xf3dea6;try{_0xf3dea6=_0x2f8e75(_0x1d95b0,_0x2218ad,{'cwd':_0x210f8f,'env':buildChildEnv(_0x566122[_0x1b52e7(_0x464915._0x15d018,0x193,_0x464915._0x79abeb,_0x464915._0x241e88)],_0x4c683b),'stdio':[_0x29b81a(-_0x464915._0x5f42d3,-0x45,_0x464915._0xf62096,0x1c7),_0x29b81a(-0x126,-0x11f,-_0x464915._0x463aaf,0x2f),_0x1b52e7(-0x1b,-0x59,-0x10a,-_0x464915._0x35b9e4)],'shell':![],'windowsHide':!![],'detached':!_0x6554a2});}catch(_0x5112e9){throw mapSpawnError(_0x5112e9,{'command':_0x52360c[_0x29b81a(_0x464915._0x15457f,0x262,_0x464915._0x32cc69,0x1b5)],'cwd':_0x210f8f,'shellPath':_0x1d95b0});}let _0xe3e8c5;try{_0xe3e8c5=_0x2072b9[_0x1b52e7(_0x464915._0xdf66f,0x127,_0x464915._0x159cbe,0x125)]({'child':_0xf3dea6,'command':_0x52360c[_0x1b52e7(0x1e1,_0x464915._0x5cc141,_0x464915._0x196478,_0x464915._0x3ec8a3)],'cwd':_0x210f8f,'stripAnsi':_0x50127a});}catch(_0x500d41){_0xf3dea6[_0x29b81a(-0x38,0x45,-_0x464915._0x1ef50a,-0x1aa)](_0x29b81a(_0x464915._0xa27011,_0x464915._0x49684e,0x1b3,_0x464915._0x2a3990),()=>{});try{killProcessGroup(_0xf3dea6,_0x6554a2);}catch{}throw _0x500d41;}return createToolOutput('Started\x20background\x20process\x20'+_0xe3e8c5[_0x1b52e7(-_0x464915._0x3d18be,-0xa,0x75,-0xd2)]+_0x1b52e7(0x176,0xae,0xfb,_0x464915._0x320770)+(_0xe3e8c5[_0x1b52e7(_0x464915._0x573b30,_0x464915._0xb0ab5a,_0x464915._0x1ca65b,_0x464915._0x586fc1)]??'?')+').\x20Use\x20BashOutput\x20to\x20read\x20its\x20output\x20and\x20KillShell\x20to\x20stop\x20it.',{'shellId':_0xe3e8c5[_0x29b81a(_0x464915._0x5ec488,_0x464915._0x3968db,-_0x464915._0xdf66f,-0x15c)],'status':_0xe3e8c5[_0x29b81a(-_0x464915._0x43521f,_0x464915._0x21125e,_0x464915._0x5f35e2,0x148)],'command':_0xe3e8c5['command'],'description':_0x52360c[_0x1b52e7(_0x464915._0x45f70f,_0x464915._0x7bd431,_0x464915._0x499e05,_0x464915._0x4bdc4e)],'cwd':_0xe3e8c5['cwd'],'pid':_0xe3e8c5[_0x29b81a(_0x464915._0x49a6f7,_0x464915._0x298c0b,_0x464915._0x2bc320,-_0x464915._0x3fdb69)]??null});}let _0x213058,_0x4b9a0e;if(_0x52360c[_0x1b52e7(_0x464915._0x44f629,0xfc,0xb8,_0x464915._0x21ce9a)]!==void 0x0)try{const _0x1ebee8=new RegExp(_0x52360c[_0x1b52e7(0x14b,0xfc,_0x464915._0x5c076f,0x8a)]);_0x213058={'regex':_0x1ebee8,'trailingChunks':[]},_0x4b9a0e={'regex':_0x1ebee8,'trailingChunks':[]};}catch(_0xe1cc81){throw new ToolExecutionError('Invalid\x20outputRegex:\x20'+(_0xe1cc81 instanceof Error?_0xe1cc81['message']:String(_0xe1cc81)),{'command':_0x52360c[_0x29b81a(-_0x464915._0x1201fc,_0x464915._0x2e07a0,_0x464915._0x5f4c14,0xb5)],'outputRegex':_0x52360c[_0x29b81a(-_0x464915._0x3fc9a7,_0x464915._0x147d59,0xdb,0x1af)]});}let _0x62024a;try{_0x62024a=_0x2f8e75(_0x1d95b0,_0x2218ad,{'cwd':_0x210f8f,'env':buildChildEnv(_0x566122[_0x1b52e7(0x222,_0x464915._0x2d072b,0x17b,_0x464915._0x4e38a0)],_0x4c683b),'stdio':_0xb4768?[_0x29b81a(_0x464915._0x238d8f,-0x53,_0x464915._0x34b353,0x1e5),_0x29b81a(-_0x464915._0x180323,-_0x464915._0x3f9981,0x84,0x15e),_0x29b81a(_0x464915._0x5281db,_0x464915._0x5c4656,0x84,_0x464915._0x125e4e)]:[_0x29b81a(-0x9a,-_0x464915._0x10d2cf,_0x464915._0x34b353,-_0x464915._0x4743fb),_0x1b52e7(-0xc,-_0x464915._0x294b97,-0x140,-0x7),_0x1b52e7(_0x464915._0x2c160d,-0x59,-0xec,-_0x464915._0x1b270)],'shell':![],'windowsHide':!![],'detached':!_0x6554a2});}catch(_0x3b6091){throw mapSpawnError(_0x3b6091,{'command':_0x52360c[_0x1b52e7(_0x464915._0x27b313,0x118,0x158,-_0x464915._0x1d4b3e)],'cwd':_0x210f8f,'shellPath':_0x1d95b0});}const _0x30d02c=[],_0x34ed9c=[];function _0x29b81a(_0x8d98aa,_0x5aa9d0,_0x5749e4,_0x3d82dd){return _0x37377c(_0x8d98aa-0x1ce,_0x5aa9d0-_0x206972._0x44627a,_0x5aa9d0,_0x5749e4-_0x206972._0x374160);}const _0x18ede8=new _0x12f406(_0x29b81a(_0x464915._0x4d2876,0x13f,0x154,0x36)),_0x374b49=new _0x12f406(_0x29b81a(0x6e,-0x7,0x154,0x1e5));let _0x466956,_0x20e044=![],_0x3c848e;const _0xd32804=()=>{if(!_0x466956)return;const _0x133969=_0x466956;_0x466956=void 0x0,_0x133969();},_0xc5bbef=async()=>{function _0x2943d0(_0x28053a,_0x4998eb,_0x5eb4ab,_0x17f965){return _0x1b52e7(_0x4998eb,_0x5eb4ab-_0x3c7c75._0x4f4651,_0x5eb4ab-_0x3c7c75._0x3bc7f9,_0x17f965-0xd2);}if(_0x34ed9c[_0x2943d0(_0x59c61a._0x502c3f,0x363,_0x59c61a._0x1a08e2,_0x59c61a._0x3a3312)]>0x0||_0x20e044)return;await new Promise(_0x7b0584=>{_0x466956=_0x7b0584;});},_0x599267=_0x30a3fe=>{const _0x9a03c={_0x5ed206:0x208,_0x510dde:0x1e4};function _0x142dcf(_0x1ef0c0,_0x29a15f,_0x4b87de,_0x4c7bb8){return _0x29b81a(_0x1ef0c0-0xe6,_0x4b87de,_0x4c7bb8-_0x9a03c._0x5ed206,_0x4c7bb8-_0x9a03c._0x510dde);}appendChunk(_0x30d02c,_0x34ed9c,_0x18ede8[_0x142dcf(_0x4a198._0x48837a,0x318,0x35a,_0x4a198._0xe9aaf9)](_0x30a3fe),_0x50127a,_0xd32804,_0x213058);},_0xe6363b=_0x2f8e5e=>{function _0x5bc6e0(_0x3827d3,_0x4a7135,_0xa2aea2,_0x1cd1b5){return _0x1b52e7(_0x4a7135,_0xa2aea2-_0x12d9e1._0x2fb111,_0xa2aea2-_0x12d9e1._0x1350dd,_0x1cd1b5-0x19f);}appendChunk(_0x30d02c,_0x34ed9c,_0x374b49[_0x5bc6e0(_0x2c4b25._0x41a463,_0x2c4b25._0x4823e3,_0x2c4b25._0x398c03,0x35d)](_0x2f8e5e),_0x50127a,_0xd32804,_0x4b9a0e);};_0x62024a[_0x1b52e7(-0xe,_0x464915._0x457f53,0x184,0x1c3)]?.['on'](_0x29b81a(0x1fa,_0x464915._0x1a0a67,_0x464915._0x28a300,_0x464915._0x36f583),_0x599267),_0x62024a[_0x29b81a(_0x464915._0x59c881,0x20d,_0x464915._0x298157,0x0)]?.['on']('data',_0xe6363b);let _0x3715b2=![],_0x226dcc;const _0x167183=addAbortListener(_0x4da7b7['signal'],()=>{const _0x323ef4={_0x4d3662:0x11e,_0x29e859:0x23b,_0x626a65:0xc6};_0x3c848e=toAbortError(_0x4da7b7[_0xb281f9(-0x1ac,-_0xa5d606._0x32bd9d,-_0xa5d606._0x32bd9d,-_0xa5d606._0x8b0e49)][_0xb281f9(-_0xa5d606._0x332d38,-0xae,-_0xa5d606._0x33eff3,-_0xa5d606._0x1d4252)]),_0x20e044=!![];function _0x547dcd(_0x115f44,_0x157da1,_0x3d2fb1,_0x1a7906){return _0x29b81a(_0x115f44-_0xee102d._0x678863,_0x3d2fb1,_0x1a7906-0x537,_0x1a7906-_0xee102d._0x5e11d8);}_0xd32804();function _0xb281f9(_0x503e81,_0x3e22a4,_0x5614ab,_0x4d8bbd){return _0x29b81a(_0x503e81-_0x323ef4._0x4d3662,_0x503e81,_0x4d8bbd- -_0x323ef4._0x29e859,_0x4d8bbd-_0x323ef4._0x626a65);}try{killProcessGroup(_0x62024a,_0x6554a2);}catch{}});try{const _0x55a16d=new Promise((_0x4196bf,_0x56c45d)=>{const _0x25d476={_0x13ceb2:0x1f1},_0x1a5c3c={_0x318faa:0x46e,_0x2ce17b:0x56e,_0x4fd3d9:0x4b9},_0x172d7d={_0x1b1d81:0x121,_0x5b4e1c:0x31,_0x14c80f:0x17b,_0x5186b1:0x28,_0x41a04c:0xef},_0x4df4b4={_0x474cc4:0x27c},_0xa451f8=()=>{_0x226dcc&&(clearTimeout(_0x226dcc),_0x226dcc=void 0x0);function _0x201733(_0x565fb6,_0x25ecd8,_0x576ad5,_0x1a1a64){return _0x5504(_0x565fb6- -0x276,_0x1a1a64);}function _0x351181(_0x524796,_0x4782ef,_0x38bf09,_0x4ba394){return _0x5504(_0x4ba394-0x1c2,_0x524796);}_0x62024a['off'](_0x201733(_0x2a8ce0._0x14a160,-_0x2a8ce0._0xee22aa,_0x2a8ce0._0x322e48,_0x2a8ce0._0x420c15),_0x3229c9),_0x62024a[_0x351181(0x41f,_0x2a8ce0._0x189983,0x3df,0x4f2)](_0x351181(_0x2a8ce0._0x1d3c8a,_0x2a8ce0._0x256955,_0x2a8ce0._0x45263f,_0x2a8ce0._0x2b2355),_0x20f871);};function _0x333c53(_0x261f1c,_0x3fd6b5,_0x29f363,_0x17db98){return _0x29b81a(_0x261f1c-0x1ed,_0x261f1c,_0x3fd6b5-_0x4df4b4._0x474cc4,_0x17db98-0x147);}const _0x3229c9=_0x1f51fe=>{_0x20e044=!![],_0xd32804(),_0xa451f8(),_0x56c45d(_0x3c848e??_0x1f51fe);},_0x20f871=(_0x449a63,_0xe12a88)=>{const _0x22e616={_0x21ac78:0x1a6},_0x541d6c={_0x345c48:0x202};_0x3715b2=!![],appendChunk(_0x30d02c,_0x34ed9c,_0x18ede8[_0x52e40b(_0x172d7d._0x1b1d81,-_0x172d7d._0x5b4e1c,_0x172d7d._0x14c80f,0x144)](),_0x50127a,_0xd32804,_0x213058),appendChunk(_0x30d02c,_0x34ed9c,_0x374b49[_0x52e40b(0x43,-_0x172d7d._0x5186b1,_0x172d7d._0x41a04c,0x144)](),_0x50127a,_0xd32804,_0x4b9a0e),flushOutputRegex(_0x30d02c,_0x34ed9c,_0x213058,_0xd32804),flushOutputRegex(_0x30d02c,_0x34ed9c,_0x4b9a0e,_0xd32804);function _0x52e40b(_0x53dc38,_0x37e58b,_0x18b56d,_0x184cae){return _0x5504(_0x184cae- -_0x541d6c._0x345c48,_0x53dc38);}_0x20e044=!![],_0xd32804(),_0xa451f8();function _0x209b70(_0x546f13,_0x3119d9,_0x5ebedf,_0x20cfc6){return _0x5504(_0x5ebedf- -_0x22e616._0x21ac78,_0x20cfc6);}if(_0x3c848e){_0x56c45d(_0x3c848e);return;}_0x4196bf({'code':_0x449a63,'signal':_0xe12a88});};_0x226dcc=setTimeout(()=>{const _0x134e7e={_0x5ee095:0x35c};function _0x6ca19d(_0xe933bd,_0x171a18,_0x53ef7b,_0x3db542){return _0x5504(_0x171a18-_0x134e7e._0x5ee095,_0x53ef7b);}_0x20e044=!![],_0xd32804(),_0xa451f8();try{killProcessGroup(_0x62024a,_0x6554a2);}catch{}_0x56c45d(new ToolExecutionError(_0x6ca19d(_0x1a5c3c._0x318faa,_0x1a5c3c._0x2ce17b,0x545,_0x1a5c3c._0x4fd3d9)+_0x294646+'\x20ms',{'command':_0x52360c['command'],'cwd':_0x210f8f,'shellPath':_0x1d95b0,'timeoutMs':_0x294646,'timedOut':!![]}));},_0x294646),_0x62024a[_0x3cea2c(-_0x4b30f2._0x137f32,-0x29b,-0x14e,-0x321)]('error',_0x3229c9);function _0x3cea2c(_0x484874,_0x5d50a4,_0x14f3ce,_0x23b2ee){return _0x29b81a(_0x484874-0x116,_0x14f3ce,_0x5d50a4- -_0x25d476._0x13ceb2,_0x23b2ee-0x19a);}_0x62024a['once'](_0x333c53(0x3c6,0x253,0x1db,0x166),_0x20f871);});while(_0x34ed9c[_0x29b81a(0x181,0x169,0x188,_0x464915._0x45f0e5)]>0x0||!_0x20e044){if(_0x34ed9c[_0x1b52e7(_0x464915._0x3ad369,_0x464915._0x9d9acd,_0x464915._0x28ee04,0x2e7)]===0x0){await _0xc5bbef();continue;}const _0x5ec3aa=_0x34ed9c[_0x29b81a(-_0x464915._0x306d84,-_0x464915._0x1cce2e,-_0x464915._0x1de0e9,-_0x464915._0x4d5c72)]();_0x5ec3aa!==void 0x0&&(yield _0x5ec3aa);}const _0x37d0e8=await _0x55a16d,_0x32d338=_0xb4768?_0x1b52e7(-_0x464915._0x3fd601,-0xb6,-_0x464915._0x6c8fb8,_0x464915._0x4743fb)+(_0x37d0e8['code']??0x0):_0x30d02c['join'](''),_0x412a64={'command':_0x52360c[_0x29b81a(_0x464915._0xf5f803,_0x464915._0x145368,0xf7,0x1c8)],'description':_0x52360c[_0x1b52e7(0xec,0x120,_0x464915._0x42ad92,_0x464915._0x24a0ef)],'cwd':_0x210f8f,'exitCode':_0x37d0e8[_0x29b81a(_0x464915._0x304e05,_0x464915._0x38d5be,_0x464915._0x110691,_0x464915._0x582c9c)]??0x0,'signal':_0x37d0e8[_0x1b52e7(_0x464915._0x37007d,_0x464915._0x5b1d17,0x53,-0x15)],'ignoreOutput':_0xb4768,'outputRegex':_0x52360c[_0x29b81a(-_0x464915._0x43752,-0x2b,0xdb,-0x89)]??null,'shellPath':_0x1d95b0,'timeoutMs':_0x294646};if(_0x37d0e8[_0x29b81a(0xad,-_0x464915._0x54271f,_0x464915._0x103394,_0x464915._0x5d376b)]!==0x0)throw new ToolExecutionError(_0x32d338||'Command\x20exited\x20with\x20code\x20'+(_0x37d0e8[_0x1b52e7(_0x464915._0x423a0d,_0x464915._0x612654,-0x30,0x19e)]??0x0),_0x412a64);return createToolOutput(_0x32d338,_0x412a64);}catch(_0x12999f){while(_0x34ed9c[_0x1b52e7(_0x464915._0x3663ed,0x1a9,0x65,_0x464915._0x2d072b)]>0x0){const _0x422de8=_0x34ed9c[_0x29b81a(_0x464915._0x145454,-_0x464915._0x676b48,-0xa1,-0x115)]();_0x422de8!==void 0x0&&(yield _0x422de8);}if(_0x12999f instanceof ToolExecutionError)throw _0x12999f;if(_0x3c848e)throw _0x3c848e;throw mapSpawnError(_0x12999f,{'command':_0x52360c['command'],'cwd':_0x210f8f,'shellPath':_0x1d95b0});}finally{_0x226dcc&&clearTimeout(_0x226dcc);_0x167183(),_0x62024a[_0x1b52e7(_0x464915._0x2838d1,0x3b,_0x464915._0xd4be74,-_0x464915._0x2a3990)]?.[_0x29b81a(_0x464915._0x4eb8c6,0x50,0x1b9,0x210)](_0x29b81a(0xd1,_0x464915._0x15a851,0x6d,_0x464915._0x33a3f8),_0x599267),_0x62024a[_0x1b52e7(0x13,_0x464915._0x397615,_0x464915._0x7c21f6,0x2e4)]?.[_0x29b81a(0x346,0x277,0x1b9,_0x464915._0x3392b1)]('data',_0xe6363b);if(!_0x3715b2&&_0x62024a['pid']&&!_0x62024a['killed'])try{killProcessGroup(_0x62024a,_0x6554a2);}catch{}}}});}function createShellExecTool(_0x490515={}){return createBashTool(_0x490515);}import{readdir,readFile as _0x14fae6}from'fs/promises';import{extname,join as _0x3df5df}from'path';import{open}from'fs/promises';import{dirname,isAbsolute as _0x48171b,join,relative as _0x2a6d73,resolve as _0x5e807f}from'path';import{readdir as _0x36b2cf,readFile as _0x45611b}from'fs/promises';import{join as _0x211337,relative as _0x525fc2,sep}from'path';import{delimiter}from'path';import{mkdir as _0x54e551,rm,stat as _0x30e1c6,writeFile}from'fs/promises';import{hostname}from'os';import{dirname as _0xc885ee}from'path';import{unwatchFile,watchFile}from'fs';import{chmod,readFile as _0x219ed7,rename,rm as _0x5aedff,stat as _0x4130f2,writeFile as _0x17fc0c}from'fs/promises';import{homedir as _0x587f7c}from'os';import{dirname as _0x4514cd,isAbsolute as _0x5cbd73,join as _0xa1404c,resolve as _0x4f6e8b}from'path';import{parse as _0x12482b,stringify as _0x378793}from'yaml';import{cp,mkdir as _0x11a4dd,readFile as _0x2aa264,rm as _0x200b33,writeFile as _0xda4d6b}from'fs/promises';import{homedir}from'os';import{join as _0x1ae0c6}from'path';function _0x5b337b(_0x2ecdc7,_0x44ffc4,_0x4f42e3,_0x4834c7){return _0x5504(_0x2ecdc7-0x183,_0x44ffc4);}import{parse as _0x2c94a2,stringify as _0x5eaf6d}from'yaml';import{z}from'zod';import{readdir as _0x31a857,readFile as _0x22acdf}from'fs/promises';import{join as _0x37626b}from'path';import{randomUUID as _0x2a5e90}from'crypto';import{mkdir as _0x1322b2,readdir as _0x140191,readFile as _0xd5b115,rename as _0x17d56d,rm as _0x35edab,writeFile as _0x4542d2}from'fs/promises';import{homedir as _0x2a81f0}from'os';import{basename,isAbsolute as _0x253cb8,join as _0x738cb2,relative as _0x5e8560,resolve as _0x206ecc}from'path';import{parse as _0x59e577,stringify as _0x589b23}from'yaml';import{delimiter as _0x55fbfd,resolve as _0x5b10aa}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0x1ee4e2){const _0x543bcd={_0x17931f:0x2f7,_0x179922:0x3f3,_0x3524e2:0x3cc,_0x25a207:0x3c5,_0xd8e7f1:0x37b,_0x3c2992:0x15c,_0x11c8a4:0x1ad,_0x169d32:0x27e,_0x247e89:0x211},_0x38e3ca={_0x342f21:0x2a7,_0x1dc2ed:0x7e},_0x100db5={_0x4e6998:0x1d7},_0x438d6f=[];function _0xe1efee(_0xfcba8d,_0x40f4ab,_0x532e9b,_0x3fa7cc){return _0x125cf4(_0xfcba8d-_0x100db5._0x4e6998,_0x40f4ab-0x381,_0xfcba8d,_0x3fa7cc-0x121);}let _0x459fcd='';function _0x11bd43(_0x2235fa,_0x29f964,_0x4682ad,_0x106f0d){return _0x125cf4(_0x2235fa-0x56,_0x2235fa-_0x38e3ca._0x342f21,_0x106f0d,_0x106f0d-_0x38e3ca._0x1dc2ed);}let _0x12e8ba=0x0;while(_0x12e8ba<_0x1ee4e2[_0xe1efee(0x220,_0x543bcd._0x17931f,_0x543bcd._0x179922,_0x543bcd._0x3524e2)]){const _0x141c4f=_0x1ee4e2[_0x12e8ba];if(_0x141c4f==='\x5c'&&_0x12e8ba+0x1<_0x1ee4e2[_0xe1efee(0x1af,0x2f7,0x3d7,0x379)])_0x459fcd+=_0x1ee4e2[_0x12e8ba+0x1],_0x12e8ba+=0x2;else{if(_0x141c4f==='\x22'||_0x141c4f==='\x27'){const _0x2a37df=_0x141c4f;_0x12e8ba++;while(_0x12e8ba<_0x1ee4e2['length']&&_0x1ee4e2[_0x12e8ba]!==_0x2a37df){_0x1ee4e2[_0x12e8ba]==='\x5c'&&_0x12e8ba+0x1<_0x1ee4e2['length']?(_0x459fcd+=_0x1ee4e2[_0x12e8ba+0x1],_0x12e8ba+=0x2):(_0x459fcd+=_0x1ee4e2[_0x12e8ba],_0x12e8ba++);}_0x12e8ba++;}else _0x141c4f!==void 0x0&&/\s/[_0xe1efee(_0x543bcd._0x25a207,0x2de,_0x543bcd._0xd8e7f1,0x241)](_0x141c4f)?(_0x459fcd&&(_0x438d6f[_0x11bd43(_0x543bcd._0x3c2992,_0x543bcd._0x11c8a4,_0x543bcd._0x169d32,_0x543bcd._0x247e89)](_0x459fcd),_0x459fcd=''),_0x12e8ba++):(_0x459fcd+=_0x141c4f,_0x12e8ba++);}}if(_0x459fcd)_0x438d6f['push'](_0x459fcd);return _0x438d6f;}function renderCommandInstructions(_0x28c564){const _0x5734aa={_0x52923d:0x472,_0x36275a:0x319,_0x10e0ab:0x2cc,_0x4a1c5d:0x572,_0x1f86e1:0x556,_0x146489:0x4fa,_0x2f9262:0x5f0,_0xf314bc:0x571,_0xe0ece3:0x536,_0x50aa88:0x6b7,_0x111812:0x489,_0x4ff5be:0x3a7,_0x1db595:0x65a,_0x1d03ba:0x5ad,_0x418079:0x4b2,_0x35efab:0x4e2,_0x4cb5fb:0x770,_0x1374b8:0x43a,_0x420ca4:0x587,_0x1e5c8e:0x59d},_0x17b860={_0x20bc3d:0xdc},_0x3d2a05={_0x5ba74b:0x7,_0xa6921b:0x1db},_0xab9037={_0x4e6ea7:0xf1,_0x44245b:0x9};function _0xdc264(_0x188178,_0x547707,_0x3ac4bd,_0x8660c6){return _0x5b337b(_0x3ac4bd-0x1c4,_0x547707,_0x3ac4bd-_0xab9037._0x4e6ea7,_0x8660c6-_0xab9037._0x44245b);}let _0x3e7d57=_0x28c564['instructions'],_0x24ad4c=![];const _0x28b179=tokenizeCommandArguments(_0x28c564[_0x3adfb5(0x3e0,_0x5734aa._0x52923d,_0x5734aa._0x36275a,0x4c0)]);function _0x3adfb5(_0x55d021,_0x49f09b,_0x43cab6,_0x103512){return _0x5b337b(_0x55d021-_0x3d2a05._0x5ba74b,_0x103512,_0x43cab6-_0x3d2a05._0xa6921b,_0x103512-0x1cd);}_0x3e7d57=_0x3e7d57[_0x3adfb5(0x43a,_0x5734aa._0x10e0ab,_0x5734aa._0x4a1c5d,0x304)](/\$ARGUMENTS\[(\d+)\]/g,(_0x5a2643,_0x315e18)=>{return _0x24ad4c=!![],_0x28b179[Number(_0x315e18)]??'';}),_0x3e7d57=_0x3e7d57[_0xdc264(0x583,_0x5734aa._0x1f86e1,0x5f7,0x466)](/\$ARGUMENTS\b/g,()=>{_0x24ad4c=!![];function _0x51d7ec(_0x3276b5,_0x1a7f52,_0x6887e,_0xbc5960){return _0x3adfb5(_0x3276b5- -0x32d,_0x1a7f52-0x7b,_0x6887e-_0x17b860._0x20bc3d,_0x6887e);}return _0x28c564[_0x51d7ec(0xb3,-0x5d,-0xd0,-0x74)];});if(_0x28c564[_0x3adfb5(_0x5734aa._0x146489,_0x5734aa._0x2f9262,_0x5734aa._0xf314bc,0x472)]&&_0x28c564[_0xdc264(_0x5734aa._0xe0ece3,0x714,_0x5734aa._0x50aa88,0x539)][_0x3adfb5(_0x5734aa._0x111812,0x309,0x549,_0x5734aa._0x4ff5be)]>0x0)for(let _0x4ccd0a=0x0;_0x4ccd0a<_0x28c564['argumentNames'][_0xdc264(_0x5734aa._0x1db595,0x4f3,0x646,_0x5734aa._0x1d03ba)];_0x4ccd0a++){const _0x1d722b=_0x28c564[_0x3adfb5(_0x5734aa._0x146489,0x558,0x50a,_0x5734aa._0x418079)][_0x4ccd0a];if(_0x1d722b){const _0x329b46=new RegExp('\x5c$'+_0x1d722b+'\x5cb','g');_0x3e7d57=_0x3e7d57[_0xdc264(_0x5734aa._0x35efab,0x5d4,0x5f7,_0x5734aa._0x4cb5fb)](_0x329b46,()=>{return _0x24ad4c=!![],_0x28b179[_0x4ccd0a]??'';});}}return _0x3e7d57=_0x3e7d57[_0x3adfb5(_0x5734aa._0x1374b8,0x2f8,0x582,_0x5734aa._0x420ca4)](/\$(\d+)\b/g,(_0x4647aa,_0x3823f4)=>{return _0x24ad4c=!![],_0x28b179[Number(_0x3823f4)]??'';}),!_0x24ad4c&&_0x28c564['argumentsText']['trim']()&&(_0x3e7d57=_0x3e7d57+'\x0a\x0aARGUMENTS:\x20'+_0x28c564[_0xdc264(0x633,0x411,_0x5734aa._0x1e5c8e,0x6b4)]),_0x3e7d57;}var PROVIDER_API_KEY_ENVS=[{'env':_0x5b337b(0x388,0x237,0x332,0x331),'provider':_0x125cf4(-0x40e,-0x2b1,-0x398,-0x287)},{'env':_0x5b337b(0x430,0x4ce,0x4e3,0x4c5),'provider':_0x125cf4(0x2e,-0x158,-0xb3,-0x4f)},{'env':'GITHUB_ACCESS_TOKEN','provider':_0x5b337b(0x2c0,0x1b2,0x20d,0x21d)},{'env':_0x5b337b(0x20d,0xbc,0xfa,0x176),'provider':'github'},{'env':_0x125cf4(-0x373,-0x255,-0x273,-0x320),'provider':_0x125cf4(-0x19c,-0x1fd,-0x168,-0x22a)},{'env':_0x5b337b(0x3d0,0x4c9,0x412,0x320),'provider':'deepinfra'},{'env':_0x5b337b(0x28a,0xfc,0x202,0x16f),'provider':_0x5b337b(0x263,0x10e,0x105,0x3b9)},{'env':_0x5b337b(0x396,0x221,0x3f3,0x4df),'provider':'moonshot'},{'env':_0x5b337b(0x4b4,0x3b2,0x5c9,0x60c),'provider':_0x125cf4(-0x298,-0x1d1,-0x321,-0x117)},{'env':_0x125cf4(-0x210,-0x92,-0x190,-0xd),'provider':_0x5b337b(0x321,0x1c2,0x2b5,0x240)},{'env':_0x125cf4(-0x3a,0x25,0x154,0x5e),'provider':'openai'},{'env':_0x125cf4(-0x21b,-0x1fe,-0xec,-0x13a),'provider':_0x5b337b(0x4e4,0x49b,0x5fa,0x3b8)},{'env':_0x125cf4(-0x2b7,-0x20a,-0x8d,-0x245),'provider':_0x5b337b(0x213,0x32e,0x2ca,0xfb)}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0x5b337b(0x3c9,0x50e,0x282,0x48b)](_0x332ff6=>_0x332ff6[_0x125cf4(-0x16f,-0xa0,0x1b,-0x55)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,'API_KEY','GOOGLE_CSE_KEY',_0x5b337b(0x4b2,0x4de,0x58f,0x34e)],PROTOTYPE_SENSITIVE_NAMES=new Set([...Object[_0x125cf4(-0x20a,-0xb6,-0x1de,-0x57)](Object[_0x125cf4(-0x6e,-0x7f,0xec,-0xd6)]),_0x125cf4(-0x1cb,-0x7f,-0x134,-0x2e)]);function prototypeSafeRecord(_0x22bfa6){const _0x48aaab={_0x56cb69:0xc1,_0xf08924:0x26a,_0x436bb6:0x316,_0x57f8b6:0x82},_0x534e32={_0x2fd347:0x326,_0x2bc964:0x184,_0xa466da:0x161,_0x4d1864:0x354,_0x44eed8:0x250,_0x4e719f:0x3fe,_0xc23146:0x424},_0x330cb8={_0x2f19de:0x18c,_0x510e78:0x50},_0x3e2e4f={_0x536c0c:0x10e,_0x4ac4fd:0x15};function _0x3fc50c(_0x37f335,_0x475cf6,_0x4e8dce,_0x2667d2){return _0x5b337b(_0x2667d2- -_0x3e2e4f._0x536c0c,_0x475cf6,_0x4e8dce-_0x3e2e4f._0x4ac4fd,_0x2667d2-0x2);}function _0x2d4298(_0x5f28a1,_0x1e63ca,_0x290a50,_0x2cfb89){return _0x125cf4(_0x5f28a1-_0x330cb8._0x2f19de,_0x290a50-_0x330cb8._0x510e78,_0x1e63ca,_0x2cfb89-0x18);}return z['preprocess'](_0x2a527e=>{const _0x21ed4f={_0x5ee6a1:0x21d};function _0x19132e(_0x44645c,_0x42d7cb,_0x5c6d15,_0xaca30c){return _0x5504(_0x42d7cb-_0x21ed4f._0x5ee6a1,_0x5c6d15);}if(_0x2a527e===null||typeof _0x2a527e!==_0x288598(_0x534e32._0x2fd347,0x1a3,0x23d,0x48)||Array['isArray'](_0x2a527e))return null;function _0x288598(_0x10d4aa,_0x315f59,_0x352795,_0x10b33d){return _0x5504(_0x315f59- -0xba,_0x10b33d);}const _0x2bc74b=Object[_0x288598(_0x534e32._0x2bc964,0x8c,_0x534e32._0xa466da,0x53)](_0x2a527e);if(_0x2bc74b!==Object[_0x288598(_0x534e32._0x4d1864,_0x534e32._0x44eed8,0x35f,0x153)]&&_0x2bc74b!==null)return null;return{'entries':Object[_0x19132e(_0x534e32._0x4e719f,0x456,_0x534e32._0xc23146,0x2fd)](_0x2a527e)};},z[_0x2d4298(-_0x48aaab._0x56cb69,-0x194,-0xdc,0x31)]({'entries':z['array'](z[_0x3fc50c(0x2aa,_0x48aaab._0xf08924,0x2dd,_0x48aaab._0x436bb6)]([z['string'](),_0x22bfa6]))}))[_0x2d4298(0x53,0xc8,-_0x48aaab._0x57f8b6,-0x1e)](({entries:_0x3f4899})=>Object[_0x3fc50c(0x1e1,0x3b2,0x420,0x2a5)](_0x3f4899));}var chatModelAuthSchemeSchema=z[_0x125cf4(0x85,-0xb7,0x1d,-0x2e)]([_0x125cf4(-0x41e,-0x2fc,-0x379,-0x1ef),_0x125cf4(-0x1b0,-0x1dd,-0x22e,-0xd6)]),apiKeyAuthSchema=z[_0x125cf4(-0x23c,-0x12c,-0xdc,-0x27a)]({'type':z[_0x5b337b(0x52a,0x3f5,0x627,0x6b1)](_0x125cf4(-0x204,-0x2ef,-0x25f,-0x383)),'apiKey':z[_0x5b337b(0x491,0x337,0x428,0x334)](),'authScheme':chatModelAuthSchemeSchema[_0x5b337b(0x36b,0x315,0x3b6,0x1e8)]()})[_0x5b337b(0x4b1,0x378,0x525,0x5bf)](),oauthAuthSchema=z[_0x5b337b(0x3e0,0x274,0x465,0x298)]({'type':z[_0x125cf4(0xdc,0x1e,-0xf3,-0xbb)](_0x125cf4(-0x23b,-0x210,-0x281,-0x2f6)),'access':z['string'](),'refresh':z[_0x125cf4(0x3e,-0x7b,-0xde,-0x20c)](),'expires':z[_0x125cf4(-0x15d,-0x272,-0x24f,-0x25d)]()[_0x125cf4(-0x72,-0x1a1,-0x120,-0xe1)](),'authScheme':chatModelAuthSchemeSchema[_0x5b337b(0x36b,0x49a,0x4fa,0x48d)]()})[_0x5b337b(0x4b1,0x3df,0x522,0x628)](),finiteNonNegative=z[_0x125cf4(-0x11e,-0x272,-0x3f4,-0x3a0)]()[_0x125cf4(-0x137,-0x22,0x4e,-0x18a)]()['nonnegative'](),chatGptAuthSchema=z[_0x125cf4(-0x260,-0x12c,-0x211,-0x212)]({'type':z[_0x5b337b(0x52a,0x5fc,0x52b,0x691)](_0x5b337b(0x289,0x173,0x329,0x208)),'access':z['string']()['min'](0x1),'refresh':z[_0x125cf4(0xdb,-0x7b,-0xc4,-0x166)]()[_0x5b337b(0x348,0x1ce,0x21b,0x21a)](0x1),'idToken':z['string']()[_0x5b337b(0x348,0x2b2,0x24c,0x274)](0x1),'accountId':z['string']()[_0x5b337b(0x348,0x352,0x30a,0x226)](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative[_0x5b337b(0x36b,0x2de,0x4f2,0x2df)]()})[_0x125cf4(-0x110,-0x5b,-0x8c,-0x105)](),authMethodSchema=z[_0x5b337b(0x225,0x132,0x192,0xec)]([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),reasoningEffortSchema=z[_0x5b337b(0x455,0x42e,0x30d,0x472)]([_0x5b337b(0x4a0,0x370,0x35d,0x31c),_0x125cf4(-0x289,-0x119,-0x1d0,-0x91),_0x5b337b(0x31c,0x46f,0x1d0,0x437),_0x125cf4(0xa2,-0xc,0x134,0xd1),'xhigh',_0x5b337b(0x262,0x1f2,0x13f,0x393)]),reasoningOptionSchema=z[_0x125cf4(-0x1c6,-0x12c,-0x27c,-0xe)]({'id':z[_0x125cf4(0x105,-0x7b,0x8e,0xb6)]()[_0x5b337b(0x42e,0x488,0x485,0x369)]()[_0x5b337b(0x348,0x3e0,0x2ba,0x312)](0x1),'description':z[_0x125cf4(0x0,-0x7b,-0xab,-0xd7)]()[_0x125cf4(-0x272,-0x1a1,-0x232,-0x45)](),'mode':z['enum']([_0x5b337b(0x4c2,0x61a,0x3bb,0x41d),'manual'])[_0x125cf4(-0x239,-0x1a1,-0x87,-0x1ba)](),'effort':reasoningEffortSchema['optional'](),'budgetTokens':z[_0x125cf4(-0x305,-0x272,-0x23e,-0x284)]()[_0x125cf4(-0x44f,-0x2d5,-0x298,-0x257)]()[_0x125cf4(-0x248,-0x1c4,-0x72,-0x274)](0x400)[_0x125cf4(-0x62,-0x1a1,-0x216,-0x30e)]()})['superRefine']((_0x4f0595,_0x2ff511)=>{const _0x1561d9={_0x56dae4:0x68,_0x5ecc86:0x11a,_0x10a88f:0x718,_0x40e4c9:0x6ab,_0x468621:0x657,_0x576d81:0xe2,_0x111991:0xcc,_0x5a5545:0x62,_0x18d9cf:0x99,_0x2b247d:0x190,_0x2f3006:0x111,_0x2b2204:0x2a6,_0x4ee8c3:0x1a1,_0x1df44f:0x105,_0x576a5f:0x4e,_0x2b6293:0x379,_0x1f5a06:0x5d7,_0x1ab4a9:0x52d,_0x3d13e2:0x6e5,_0x487687:0x801,_0x5d415b:0x706,_0x22f601:0x823,_0x3b2fe8:0x74c,_0x36da5f:0x6ff,_0x2b78d1:0x77e,_0x32fec6:0x74c,_0x4cd561:0x67a,_0x207354:0x5a2,_0xf35294:0x5,_0x4a8833:0x7,_0x22ef5b:0x702,_0x5e3744:0x888,_0x34143c:0x5b4,_0x18c40b:0x4dd,_0x130a03:0x594,_0x4eb437:0x18,_0x27a48a:0x165,_0x2e8c1c:0x71c,_0x104000:0x7a9,_0x38e2ee:0x64a,_0x10015e:0x76,_0x344cfa:0x5c,_0xcde682:0x113,_0x31357e:0x1ad,_0x17853b:0x62e,_0x16c9ea:0x77f,_0x27058c:0x861},_0x14887f={_0x4366af:0x103,_0x25270a:0x76d,_0x381efe:0xa1},_0xe4cb9f={_0x19da2a:0x30};function _0x1a2daf(_0xea2843,_0x2246cd,_0x3b56b4,_0x5d26ff){return _0x125cf4(_0xea2843-0x1af,_0x3b56b4-0x104,_0x5d26ff,_0x5d26ff-_0xe4cb9f._0x19da2a);}const _0x2cb2e2=_0x4f0595['id'][_0x1a2daf(_0x1561d9._0x56dae4,_0x1561d9._0x5ecc86,0x11a,-0x17)]();function _0x2108ca(_0x56968c,_0x14a62e,_0x1e1ccc,_0x285da9){return _0x125cf4(_0x56968c-_0x14887f._0x4366af,_0x56968c-_0x14887f._0x25270a,_0x1e1ccc,_0x285da9-_0x14887f._0x381efe);}(_0x2cb2e2===_0x2108ca(0x714,_0x1561d9._0x10a88f,_0x1561d9._0x40e4c9,_0x1561d9._0x468621)||_0x2cb2e2==='default'||_0x2cb2e2===_0x1a2daf(0xed,_0x1561d9._0x576d81,_0x1561d9._0x111991,-_0x1561d9._0x5a5545))&&_0x2ff511[_0x1a2daf(0xc3,0x1a5,_0x1561d9._0x18d9cf,0xdd)]({'code':_0x1a2daf(-0x1c0,0xc6,-0x5c,-_0x1561d9._0x2b247d),'path':['id'],'message':_0x1a2daf(-_0x1561d9._0x2f3006,-_0x1561d9._0x2b2204,-_0x1561d9._0x4ee8c3,-0x2c)+_0x2cb2e2+_0x1a2daf(_0x1561d9._0x1df44f,0x99,0xbd,_0x1561d9._0x576a5f)});if(_0x4f0595[_0x2108ca(0x470,_0x1561d9._0x2b6293,_0x1561d9._0x1f5a06,_0x1561d9._0x1ab4a9)]===_0x2108ca(_0x1561d9._0x3d13e2,_0x1561d9._0x487687,_0x1561d9._0x5d415b,_0x1561d9._0x22f601)){_0x4f0595[_0x2108ca(_0x1561d9._0x3b2fe8,_0x1561d9._0x36da5f,_0x1561d9._0x2b78d1,0x771)]===void 0x0&&_0x2ff511['addIssue']({'code':'custom','path':[_0x2108ca(_0x1561d9._0x32fec6,0x73f,0x72f,0x6f0)],'message':_0x2108ca(0x525,_0x1561d9._0x4cd561,0x3f4,_0x1561d9._0x207354)});_0x4f0595[_0x1a2daf(-_0x1561d9._0xf35294,-0xd1,-0x131,-_0x1561d9._0x4a8833)]!==void 0x0&&_0x2ff511[_0x2108ca(_0x1561d9._0x22ef5b,0x85d,0x719,_0x1561d9._0x5e3744)]({'code':_0x2108ca(0x60d,_0x1561d9._0x34143c,_0x1561d9._0x18c40b,_0x1561d9._0x130a03),'path':[_0x1a2daf(0x5b,-0x6,-0x131,-_0x1561d9._0x4eb437)],'message':_0x1a2daf(0xec,-0x207,-0x83,-_0x1561d9._0x27a48a)});return;}_0x4f0595['budgetTokens']!==void 0x0&&_0x2ff511[_0x2108ca(_0x1561d9._0x22ef5b,_0x1561d9._0x2e8c1c,_0x1561d9._0x104000,_0x1561d9._0x38e2ee)]({'code':_0x1a2daf(0x101,-_0x1561d9._0x10015e,-_0x1561d9._0x344cfa,-_0x1561d9._0xcde682),'path':[_0x1a2daf(_0x1561d9._0x31357e,-0x69,0xe3,0xfe)],'message':_0x2108ca(_0x1561d9._0x17853b,0x626,_0x1561d9._0x16c9ea,0x7ab)}),_0x4f0595['mode']===void 0x0&&_0x4f0595['effort']===void 0x0&&_0x2ff511['addIssue']({'code':'custom','path':['effort'],'message':_0x2108ca(0x764,_0x1561d9._0x27058c,0x6a2,0x74b)});});function validateReasoningOptionIds(_0x4aeeaa,_0x33730e){const _0x144579={_0x31615f:0x5f,_0x31300f:0x36,_0x226cd4:0x9d,_0x1da57e:0x10f,_0x5a7a39:0x284,_0x4cf026:0x27c,_0x503288:0x44,_0x2bff24:0x28,_0x25e6e8:0x7f,_0x16ca9a:0x26,_0x4ec18f:0x18d,_0x5786a4:0x14c,_0x304229:0xaf},_0x3dca42={_0x1478a5:0x1f2},_0x5c89ac={_0x2aa6f7:0x46b,_0x1a9a16:0x14d};function _0x3f4a0a(_0x2e6e03,_0x943171,_0x1381d3,_0xd3c0e4){return _0x5b337b(_0x2e6e03- -_0x5c89ac._0x2aa6f7,_0x943171,_0x1381d3-0x119,_0xd3c0e4-_0x5c89ac._0x1a9a16);}function _0x5f1d6b(_0x2533e2,_0x2c2c2a,_0x47d41b,_0x457bf2){return _0x5b337b(_0x2533e2- -0x128,_0x457bf2,_0x47d41b-0x71,_0x457bf2-_0x3dca42._0x1478a5);}const _0x465580=new Set();for(let _0x348075=0x0;_0x348075<_0x4aeeaa['length'];_0x348075+=0x1){const _0x5b4e8f=_0x4aeeaa[_0x348075]?.['id']['toLowerCase']();if(!_0x5b4e8f)continue;if(_0x465580[_0x3f4a0a(-0xb3,-_0x144579._0x31615f,-0xc7,0x7f)](_0x5b4e8f)){_0x33730e[_0x3f4a0a(_0x144579._0x31300f,_0x144579._0x226cd4,-_0x144579._0x1da57e,-0x12a)]({'code':_0x5f1d6b(_0x144579._0x5a7a39,0x1ff,_0x144579._0x4cf026,0x275),'path':[_0x3f4a0a(-_0x144579._0x503288,-0x1cf,-0x76,-_0x144579._0x2bff24),_0x348075,'id'],'message':_0x3f4a0a(-_0x144579._0x25e6e8,_0x144579._0x16ca9a,0x100,-0x3a)+_0x5b4e8f+'\x22'});continue;}_0x465580[_0x5f1d6b(_0x144579._0x4ec18f,_0x144579._0x5786a4,0x2f1,_0x144579._0x304229)](_0x5b4e8f);}}var providerReasoningConfigSchema=z[_0x125cf4(-0x65,-0x12c,0x27,-0x12b)]({'options':z['array'](reasoningOptionSchema)})[_0x5b337b(0x2f9,0x322,0x170,0x31c)]((_0x3fbcc8,_0x28060a)=>{validateReasoningOptionIds(_0x3fbcc8['options'],_0x28060a);}),modelReasoningConfigSchema=z['object']({'defaultOption':z[_0x5b337b(0x491,0x48e,0x5c6,0x586)]()[_0x5b337b(0x42e,0x420,0x36e,0x488)]()[_0x125cf4(-0xbb,-0x1c4,-0x13f,-0x84)](0x1)['optional'](),'canDisable':z['boolean']()['optional'](),'options':z[_0x5b337b(0x371,0x502,0x4d6,0x228)](reasoningOptionSchema)})['superRefine']((_0x704416,_0x4baf8a)=>{const _0x14037d={_0x41bef5:0x310,_0x19447b:0x1bc,_0x32d6ae:0x3de,_0x22370e:0x426,_0x156729:0x519,_0x18afe2:0x25,_0x3d485c:0x84,_0x24e6a4:0x3ed,_0x2a98cc:0x43d,_0x4bd2c3:0x1bc,_0xb2b955:0x138,_0x5949bf:0x47,_0x15aa5f:0xcb,_0x4b2eaa:0x2b0,_0x25f548:0x1cc,_0x2f67c2:0x1bc,_0x3e5390:0x257,_0x5bd716:0x320,_0xa35adb:0x21b,_0x410808:0x193,_0x3c167d:0x2e2,_0x2f3d6b:0x25a,_0x402121:0x376},_0x32a83d={_0x198aff:0x3d6,_0x142b26:0x23},_0x58cccc={_0x122db7:0xfc,_0x1960ce:0x124,_0x1165c6:0x4b};validateReasoningOptionIds(_0x704416['options'],_0x4baf8a);const _0x126b8f=_0x704416[_0x3302ed(_0x14037d._0x41bef5,_0x14037d._0x19447b,0x1ae,0x31b)]?.[_0x3302ed(_0x14037d._0x32d6ae,_0x14037d._0x22370e,0x342,0x4f3)]();if(_0x126b8f===void 0x0)return;if(_0x126b8f===_0x3302ed(_0x14037d._0x156729,0x3b7,0x448,0x3d6)){_0x704416['canDisable']!==!![]&&_0x4baf8a[_0x54a005(0x179,_0x14037d._0x18afe2,_0x14037d._0x3d485c,0xcb)]({'code':_0x3302ed(_0x14037d._0x24e6a4,0x2b0,_0x14037d._0x2a98cc,0x253),'path':[_0x3302ed(0x4d,_0x14037d._0x4bd2c3,0x23a,0x201)],'message':'Reasoning\x20default\x20\x22off\x22\x20requires\x20canDisable:\x20true'});return;}function _0x3302ed(_0x53b06c,_0x13b0c1,_0x5d27e1,_0x4df45d){return _0x5b337b(_0x13b0c1- -_0x58cccc._0x122db7,_0x5d27e1,_0x5d27e1-_0x58cccc._0x1960ce,_0x4df45d-_0x58cccc._0x1165c6);}function _0x54a005(_0x848a1e,_0xab85fb,_0x7dbed8,_0x2e6537){return _0x5b337b(_0x2e6537- -_0x32a83d._0x198aff,_0xab85fb,_0x7dbed8-_0x32a83d._0x142b26,_0x2e6537-0x1a8);}!_0x704416['options'][_0x3302ed(0x0,_0x14037d._0xb2b955,0xf8,0x26)](_0x6d10e7=>_0x6d10e7['id'][_0x54a005(0x137,0x255,0x75,0x14c)]()===_0x126b8f)&&_0x4baf8a[_0x54a005(_0x14037d._0x19447b,-_0x14037d._0x5949bf,0x13c,_0x14037d._0x15aa5f)]({'code':_0x3302ed(0x24f,_0x14037d._0x4b2eaa,0x379,_0x14037d._0x25f548),'path':[_0x3302ed(0x23d,_0x14037d._0x2f67c2,_0x14037d._0x3e5390,_0x14037d._0x5bd716)],'message':_0x3302ed(0x123,_0x14037d._0xa35adb,0x2d8,_0x14037d._0x410808)+_0x704416[_0x3302ed(_0x14037d._0x3c167d,0x1bc,0x295,0xe7)]+_0x3302ed(_0x14037d._0x2f3d6b,0x294,0x2af,_0x14037d._0x402121)});}),modelDefinitionSchema=z[_0x5b337b(0x3e0,0x321,0x36e,0x4bc)]({'id':z[_0x125cf4(-0xdd,-0x7b,-0x96,-0x192)](),'name':z[_0x5b337b(0x491,0x440,0x382,0x3fa)]()[_0x5b337b(0x36b,0x446,0x4aa,0x238)](),'reasoning':modelReasoningConfigSchema[_0x125cf4(-0xb0,-0x1a1,-0x108,-0x1fb)]()})[_0x5b337b(0x4b1,0x33a,0x4b6,0x3ba)](),modelConfigSchema=z[_0x5b337b(0x225,0x190,0x237,0x285)]([z[_0x5b337b(0x52a,0x42f,0x470,0x3fc)](![]),z[_0x5b337b(0x52a,0x65b,0x3c3,0x615)](!![]),z['string'](),z[_0x5b337b(0x371,0x390,0x4db,0x29d)](z[_0x5b337b(0x491,0x337,0x5b9,0x3ef)]()),z[_0x125cf4(-0x296,-0x19b,-0x270,-0x1fc)](modelDefinitionSchema)]),chatModelSurfaceSchema=z['enum']([_0x125cf4(-0x188,-0x25c,-0xf2,-0x331),'openai-chat-completions',_0x125cf4(-0x415,-0x2d7,-0x3c8,-0x302),_0x5b337b(0x4ee,0x67a,0x3bd,0x57e)]),providerConfigSchema=z[_0x125cf4(-0x44,-0x12c,-0x297,-0xa)]({'apiKey':z[_0x5b337b(0x491,0x55c,0x558,0x322)]()[_0x5b337b(0x36b,0x2c9,0x27f,0x31a)](),'token':z[_0x5b337b(0x491,0x4e1,0x45c,0x44f)]()[_0x5b337b(0x36b,0x2ab,0x44c,0x344)](),'defaultModel':z[_0x125cf4(0x111,-0x7b,-0x70,0x64)]()['optional'](),'smallModel':z[_0x125cf4(0xde,-0x7b,-0xcb,-0x1a2)]()[_0x125cf4(-0x2bc,-0x1a1,-0x179,-0x143)](),'currentAuth':z[_0x125cf4(0x7b,-0x7b,-0x1dc,-0x15a)]()[_0x5b337b(0x36b,0x39a,0x201,0x4d2)](),'auth':z['array'](authMethodSchema)[_0x125cf4(-0x12a,-0x1a1,-0x269,-0x29c)](),'surface':chatModelSurfaceSchema[_0x125cf4(-0x18c,-0x1a1,-0x129,-0xe6)](),'baseUrl':z[_0x125cf4(-0x98,-0x7b,-0x21,0x10a)]()[_0x5b337b(0x36b,0x4c9,0x4b6,0x1f2)](),'models':modelConfigSchema[_0x5b337b(0x36b,0x275,0x345,0x403)](),'customHeaders':z[_0x5b337b(0x3a7,0x2db,0x47f,0x51a)](z[_0x5b337b(0x491,0x5df,0x38a,0x596)](),z[_0x125cf4(-0x20a,-0x7b,-0x119,-0x1a3)]())[_0x5b337b(0x36b,0x34e,0x38b,0x418)](),'reasoning':providerReasoningConfigSchema[_0x5b337b(0x36b,0x3e5,0x27c,0x252)]()})['passthrough'](),mcpServerConfigSchema=z['object']({'command':z['string']()[_0x125cf4(-0x35,-0x1a1,-0x24e,-0xe9)](),'args':z[_0x5b337b(0x371,0x3d0,0x4a6,0x2e7)](z[_0x125cf4(-0x67,-0x7b,0x27,0xc4)]())[_0x5b337b(0x36b,0x268,0x327,0x4e8)](),'env':z[_0x125cf4(-0x2c2,-0x165,-0x97,-0x2a7)](z[_0x5b337b(0x491,0x354,0x4f5,0x60d)](),z[_0x125cf4(-0x1ab,-0x7b,-0x16d,-0x1d9)]())[_0x5b337b(0x36b,0x36d,0x40e,0x29a)](),'transport':z['enum']([_0x5b337b(0x290,0x40c,0x354,0x216),_0x125cf4(-0x198,-0x28f,-0x1c4,-0x23a)])[_0x5b337b(0x36b,0x401,0x2c5,0x24c)](),'url':z[_0x5b337b(0x491,0x422,0x573,0x43a)]()[_0x5b337b(0x36b,0x259,0x24f,0x2ab)](),'headers':z[_0x125cf4(-0x124,-0x165,-0x129,-0x204)](z[_0x5b337b(0x491,0x48a,0x56b,0x52d)](),z[_0x125cf4(-0xc4,-0x7b,-0xaf,-0x5c)]())[_0x5b337b(0x36b,0x28f,0x42a,0x1dc)](),'prefix':z['string']()['optional'](),'timeoutMs':z[_0x125cf4(-0x30e,-0x272,-0x2a2,-0x199)]()[_0x5b337b(0x36b,0x31d,0x3c8,0x1e3)](),'enabled':z['boolean']()[_0x125cf4(-0x1ef,-0x1a1,-0x13f,-0x214)](),'auth':z[_0x5b337b(0x3e0,0x4fd,0x3c3,0x4d2)]({'type':z[_0x125cf4(-0x5b,-0xb7,-0x48,-0x19a)]([_0x125cf4(-0x1d6,-0xf5,0x2c,-0x212),'bearer',_0x125cf4(-0x1e2,-0x210,-0x2ea,-0x30c)]),'token':z[_0x125cf4(-0xb7,-0x7b,-0xdb,0x112)]()['optional'](),'oauth':z[_0x125cf4(-0x2a3,-0x12c,0x36,-0x24)]({'clientId':z[_0x5b337b(0x491,0x401,0x5bf,0x400)]()[_0x5b337b(0x36b,0x276,0x235,0x38b)](),'clientMetadataUrl':z['string']()[_0x125cf4(-0x146,-0x1a1,-0x285,-0x221)](),'authorizationServer':z['string']()[_0x125cf4(-0x16f,-0x1a1,-0x18e,-0x287)](),'scopes':z[_0x125cf4(-0x210,-0x19b,-0x124,-0x1c1)](z[_0x5b337b(0x491,0x4ed,0x59d,0x580)]())['optional'](),'tokenStorageKey':z['string']()[_0x5b337b(0x36b,0x290,0x378,0x41b)]()})[_0x125cf4(-0x185,-0x5b,-0x195,-0x87)]()[_0x5b337b(0x36b,0x4b7,0x452,0x36c)]()})[_0x5b337b(0x4b1,0x3f2,0x350,0x3e4)]()['optional']()})['passthrough'](),mcpToolPermissionClassSchema=z[_0x125cf4(0x69,-0xb7,0x1c,-0x170)](['read',_0x5b337b(0x402,0x325,0x2c4,0x571),_0x125cf4(-0xe4,-0x260,-0x34e,-0x28e)]),mcpSettingsSchema=z[_0x5b337b(0x3e0,0x4c1,0x38a,0x25e)]({'servers':prototypeSafeRecord(mcpServerConfigSchema)[_0x125cf4(-0x305,-0x1a1,-0x330,-0x214)](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z['boolean']()))[_0x125cf4(-0x225,-0x1a1,-0x333,-0xbb)](),'toolPermissions':prototypeSafeRecord(prototypeSafeRecord(mcpToolPermissionClassSchema))[_0x5b337b(0x36b,0x3ba,0x2ed,0x4ab)](),'defaultTimeoutMs':z[_0x5b337b(0x29a,0x1d5,0x3e0,0x312)]()[_0x5b337b(0x36b,0x2be,0x405,0x326)]()})['passthrough'](),skillsSettingsSchema=z[_0x5b337b(0x3e0,0x341,0x24f,0x354)]({'enabled':z[_0x5b337b(0x452,0x312,0x47a,0x422)]()[_0x5b337b(0x36b,0x470,0x29f,0x2e7)](),'includeDefaults':z[_0x5b337b(0x452,0x31d,0x45a,0x50b)]()['optional'](),'directories':z[_0x5b337b(0x371,0x495,0x48a,0x404)](z[_0x125cf4(-0x39,-0x7b,-0x73,0x3)]())[_0x5b337b(0x36b,0x4fa,0x394,0x3be)](),'exclude':z[_0x125cf4(-0x202,-0x19b,-0x1b2,-0x2c0)](z[_0x125cf4(-0x1a2,-0x7b,-0x13b,-0x8a)]())[_0x125cf4(-0x254,-0x1a1,-0x179,-0x1e0)]()})[_0x125cf4(-0x57,-0x5b,-0x1e7,0x131)](),commandsSettingsSchema=z[_0x125cf4(-0x10f,-0x12c,-0x4,-0x176)]({'enabled':z[_0x125cf4(-0x1e7,-0xba,0xcf,-0x73)]()[_0x5b337b(0x36b,0x2a1,0x442,0x2fa)](),'directories':z[_0x5b337b(0x371,0x4b6,0x3a5,0x4ff)](z['string']())['optional']()})[_0x125cf4(0x32,-0x5b,-0xf7,-0x3e)](),agentsSettingsSchema=z[_0x5b337b(0x3e0,0x296,0x402,0x2b3)]({'enabled':z['boolean']()[_0x5b337b(0x36b,0x493,0x283,0x439)](),'includeDefaults':z[_0x125cf4(0x80,-0xba,-0xfb,-0xcd)]()[_0x125cf4(-0x295,-0x1a1,-0x28b,-0x25e)](),'directories':z[_0x125cf4(-0x87,-0x19b,-0x1e6,-0xe6)](z[_0x5b337b(0x491,0x60f,0x471,0x34e)]())[_0x125cf4(-0x136,-0x1a1,-0x1d9,-0x131)]()})['passthrough'](),uiThemeSettingsSchema=z[_0x5b337b(0x3e0,0x551,0x4d0,0x43e)]({'mode':z[_0x5b337b(0x455,0x4c6,0x35b,0x3ac)]([_0x125cf4(-0x16d,-0x106,0x44,-0xc7),_0x5b337b(0x3f4,0x3be,0x51c,0x453),_0x5b337b(0x2d4,0x1fd,0x20d,0x40b)])[_0x125cf4(-0x30e,-0x1a1,-0x2d1,-0x133)](),'colorLevel':z[_0x5b337b(0x455,0x452,0x515,0x376)]([_0x125cf4(-0x231,-0x106,-0x290,-0x257),_0x125cf4(0x7,-0xf5,-0x1ab,0x89),'ansi16','ansi256',_0x5b337b(0x3bb,0x3dd,0x371,0x236)])[_0x5b337b(0x36b,0x34e,0x483,0x201)](),'backgrounds':z[_0x5b337b(0x455,0x5d5,0x4be,0x4f9)]([_0x125cf4(-0x214,-0x106,-0x85,-0x53),'on',_0x125cf4(0xfc,-0x59,0x6c,0x10f)])[_0x5b337b(0x36b,0x48f,0x415,0x23b)](),'messageStyle':z['enum']([_0x125cf4(-0x16b,-0x1fa,-0x2c5,-0x36e),'boxed'])[_0x125cf4(-0x2a6,-0x1a1,-0x2f5,-0xb3)]()})[_0x125cf4(0xb0,-0x5b,0xc5,0xa5)](),statuslineSegmentSchema=z[_0x5b337b(0x455,0x362,0x409,0x57e)]([_0x5b337b(0x35c,0x3a7,0x44c,0x377),_0x5b337b(0x28c,0x416,0x3e9,0x3e8),'thinking',_0x5b337b(0x347,0x1ca,0x3df,0x28f),_0x5b337b(0x3b0,0x27e,0x367,0x298),_0x5b337b(0x508,0x5a9,0x555,0x611),_0x5b337b(0x2bf,0x1a5,0x2a0,0x14a),_0x125cf4(-0x59,-0xfd,-0x39,-0x68),_0x125cf4(-0x21b,-0x2d4,-0x444,-0x332),'cost','lsp',_0x125cf4(-0x5a,-0xc6,-0x1f6,-0x1c2),_0x125cf4(-0x356,-0x1e1,-0x109,-0x208),_0x125cf4(-0x1ce,-0xa7,-0x117,0x8d),'rss']),statuslineItemSchema=z[_0x5b337b(0x225,0xc4,0x2c8,0x3a9)]([statuslineSegmentSchema,z[_0x125cf4(0x126,0x1e,0x5e,0x1a8)]('|')]),statuslineRowSchema=z[_0x5b337b(0x371,0x257,0x320,0x3aa)](statuslineItemSchema),statuslineConfigSchema=z['object']({'rows':z[_0x5b337b(0x424,0x33c,0x43d,0x49c)]([statuslineRowSchema,statuslineRowSchema])[_0x5b337b(0x36b,0x28f,0x1e3,0x32e)]()})[_0x125cf4(0x9e,-0x5b,-0x1c8,-0x174)](),memorySettingsSchema=z[_0x5b337b(0x3e0,0x492,0x308,0x548)]({'version':z[_0x5b337b(0x52a,0x4da,0x5db,0x4db)](0x2)[_0x5b337b(0x36b,0x25b,0x229,0x2d7)](),'retrieval':z[_0x125cf4(-0x85,-0x12c,-0x167,-0x95)]({'engine':z['literal'](_0x125cf4(-0x242,-0x2c7,-0x25c,-0x1f3))['optional'](),'candidateLimit':z[_0x125cf4(-0x25c,-0x272,-0x399,-0x281)]()[_0x5b337b(0x36b,0x33f,0x26d,0x4e1)](),'activeCandidateLimit':z[_0x5b337b(0x29a,0x131,0x1d1,0x29f)]()['optional'](),'activeEnabled':z[_0x125cf4(0xb7,-0xba,0x48,0x30)]()['optional'](),'maxQueriesPerTurn':z['number']()[_0x125cf4(-0x1e8,-0x1a1,-0x30e,-0x8b)](),'coreInjectTokenBudget':z[_0x125cf4(-0x300,-0x272,-0x19d,-0x2a2)]()[_0x125cf4(-0x1b5,-0x1a1,-0x54,-0x30d)](),'injectTokenBudget':z[_0x5b337b(0x29a,0x1f1,0x337,0x28a)]()[_0x5b337b(0x36b,0x2dc,0x2d5,0x484)](),'minScore':z[_0x5b337b(0x29a,0x165,0x232,0x134)]()['optional'](),'freshnessHalfLifeDays':z[_0x5b337b(0x29a,0x1f2,0x1a6,0x2a8)]()['optional']()})[_0x125cf4(-0x125,-0x5b,-0x78,-0x14a)]()[_0x125cf4(-0x292,-0x1a1,-0x23a,-0x100)](),'extraction':z['object']({'enabled':z[_0x125cf4(0xaa,-0xba,-0x45,-0x38)]()['optional'](),'provider':z['string']()['optional'](),'model':z[_0x125cf4(-0x1a5,-0x7b,0x3b,-0x200)]()[_0x5b337b(0x36b,0x4b6,0x28f,0x496)](),'sensitiveFilter':z['boolean']()['optional']()})[_0x125cf4(-0x147,-0x5b,-0x18c,-0xfa)]()[_0x5b337b(0x36b,0x47e,0x229,0x477)](),'index':z[_0x5b337b(0x3e0,0x266,0x522,0x4ac)]({'persisted':z[_0x125cf4(-0x3f,-0xba,0x86,-0x11e)]()[_0x125cf4(-0x265,-0x1a1,-0x280,-0x302)](),'flushIntervalMs':z['number']()['optional']()})[_0x125cf4(-0xeb,-0x5b,-0x8f,-0x6a)]()[_0x5b337b(0x36b,0x200,0x47b,0x3ff)](),'enabled':z[_0x125cf4(-0x1c2,-0xba,-0xdf,-0x38)]()[_0x5b337b(0x36b,0x4b2,0x227,0x3e7)](),'saveTool':z[_0x5b337b(0x452,0x4d9,0x48e,0x326)]()[_0x5b337b(0x36b,0x3ab,0x27e,0x2ec)](),'model':z[_0x125cf4(-0x127,-0x7b,-0xc3,0xe3)]()[_0x5b337b(0x36b,0x221,0x253,0x406)](),'provider':z['string']()[_0x125cf4(-0x2cf,-0x1a1,-0x2b4,-0x2c)](),'maxInjectionTokens':z[_0x5b337b(0x29a,0x41c,0x120,0x35a)]()[_0x125cf4(-0x266,-0x1a1,-0x99,-0x5e)](),'backgroundExtraction':z[_0x125cf4(0x1a,-0xba,-0x59,-0x117)]()[_0x125cf4(-0xb6,-0x1a1,-0xbf,-0xf3)]()})[_0x125cf4(-0x19e,-0x5b,-0x2f,-0x9d)](),recentModelSchema=z['object']({'provider':z[_0x125cf4(-0x16f,-0x7b,0x76,-0x1a6)](),'model':z[_0x125cf4(-0x1b0,-0x7b,0x57,-0xf8)](),'usedAt':z[_0x125cf4(-0x1f2,-0x272,-0x374,-0x2de)]()})[_0x125cf4(0x47,-0x5b,-0x27,0x28)](),lspServerEntrySchema=z[_0x125cf4(-0x299,-0x12c,-0x1dc,-0x48)]({'disabled':z[_0x125cf4(-0xd7,-0xba,0x29,-0xa2)]()[_0x5b337b(0x36b,0x2ea,0x2bd,0x2cc)](),'command':z[_0x125cf4(0x3e,-0x7b,-0x85,-0x2e)]()[_0x5b337b(0x36b,0x45a,0x30e,0x46a)](),'args':z['array'](z['string']())['optional'](),'rootMarkers':z[_0x5b337b(0x371,0x330,0x463,0x38c)](z[_0x125cf4(0xc5,-0x7b,0xb0,-0x5f)]())[_0x5b337b(0x36b,0x3a4,0x31b,0x37b)]()})[_0x5b337b(0x4b1,0x5b7,0x415,0x5fe)](),lspConfigSchema=z[_0x5b337b(0x3e0,0x2e2,0x4db,0x4fb)]({'enabled':z[_0x5b337b(0x452,0x3f2,0x514,0x5ba)]()['optional'](),'servers':z['record'](z[_0x5b337b(0x491,0x5fa,0x538,0x3b0)](),lspServerEntrySchema)[_0x5b337b(0x36b,0x25b,0x274,0x3ea)]()})[_0x125cf4(0xe5,-0x5b,0x45,-0xd6)](),serverEndpointSchema=z[_0x125cf4(-0x25,-0x12c,-0x21a,-0x22b)]({'url':z[_0x125cf4(-0x197,-0x7b,0x34,0x4b)](),'token':z['string']()[_0x5b337b(0x36b,0x30a,0x294,0x4a1)]()})[_0x5b337b(0x4b1,0x43c,0x60d,0x3fc)](),commandHookConfigSchema=z[_0x5b337b(0x3e0,0x523,0x36f,0x308)]({'type':z[_0x5b337b(0x52a,0x5ed,0x441,0x561)]('command'),'command':z[_0x5b337b(0x491,0x5df,0x351,0x538)](),'timeout':z[_0x5b337b(0x29a,0x125,0x2c5,0x128)]()[_0x125cf4(-0x93,-0x1a1,-0x215,-0x2f6)]()}),hookMatcherGroupSchema=z[_0x5b337b(0x3e0,0x526,0x4e2,0x320)]({'matcher':z[_0x125cf4(-0x95,-0x7b,0x90,0xc9)]()[_0x5b337b(0x36b,0x259,0x28a,0x49b)](),'hooks':z[_0x5b337b(0x371,0x38a,0x4a7,0x30e)](commandHookConfigSchema)}),hooksConfigSchema=z[_0x125cf4(-0x192,-0x12c,-0x22e,-0x19b)]({'PreToolUse':z[_0x5b337b(0x371,0x27b,0x31b,0x2af)](hookMatcherGroupSchema)[_0x5b337b(0x36b,0x3f9,0x36b,0x3d3)](),'PostToolUse':z['array'](hookMatcherGroupSchema)[_0x5b337b(0x36b,0x257,0x438,0x42c)](),'UserPromptSubmit':z['array'](hookMatcherGroupSchema)[_0x5b337b(0x36b,0x4cd,0x31e,0x279)](),'Stop':z[_0x125cf4(-0xf1,-0x19b,-0x30,-0x2b2)](hookMatcherGroupSchema)['optional'](),'Notification':z[_0x125cf4(-0x95,-0x19b,-0xb0,-0x136)](hookMatcherGroupSchema)[_0x5b337b(0x36b,0x43a,0x47c,0x3bd)](),'ToolApprovalRequest':z[_0x5b337b(0x371,0x3bd,0x40b,0x441)](hookMatcherGroupSchema)[_0x125cf4(-0x1c6,-0x1a1,-0x202,-0x90)](),'SessionStart':z[_0x5b337b(0x371,0x45a,0x4ce,0x4e0)](hookMatcherGroupSchema)[_0x5b337b(0x36b,0x25e,0x257,0x346)](),'SessionEnd':z['array'](hookMatcherGroupSchema)['optional']()}),providerNameSchema=z['string']()[_0x5b337b(0x348,0x332,0x2a4,0x23d)](0x1,_0x5b337b(0x2a7,0x11a,0x317,0x3f9))[_0x125cf4(-0x3e5,-0x266,-0x157,-0x216)](_0x520cc0=>!_0x520cc0[_0x5b337b(0x34e,0x405,0x23a,0x224)](':'),_0x5b337b(0x43b,0x32e,0x46a,0x2e3)),cliConfigSchema=z[_0x125cf4(-0x253,-0x12c,-0x234,-0x204)]({'activeProvider':providerNameSchema[_0x5b337b(0x36b,0x2eb,0x3bc,0x3f3)](),'activeModel':z[_0x125cf4(-0x146,-0x7b,0xa8,-0x6e)]()[_0x125cf4(-0x1eb,-0x1a1,-0x10b,-0x246)](),'apiKey':z['string']()[_0x125cf4(-0x1e6,-0x1a1,-0x2a9,-0x61)](),'providers':z[_0x5b337b(0x3a7,0x2dc,0x4eb,0x3d0)](providerNameSchema,providerConfigSchema)['optional'](),'mcp':mcpSettingsSchema[_0x125cf4(-0x26c,-0x1a1,-0x2df,-0x48)](),'skills':skillsSettingsSchema[_0x5b337b(0x36b,0x3fb,0x200,0x4ee)](),'agents':agentsSettingsSchema[_0x125cf4(-0x1a7,-0x1a1,-0x290,-0x1a7)](),'commands':commandsSettingsSchema[_0x125cf4(-0xf5,-0x1a1,-0xd5,-0x238)](),'skillsEnabled':z['record'](z[_0x125cf4(0xb9,-0x7b,-0xc1,0x5f)](),z[_0x5b337b(0x452,0x54c,0x5e2,0x5b4)]())[_0x5b337b(0x36b,0x4ce,0x3e1,0x2e3)](),'allowedDirs':z['array'](z[_0x5b337b(0x491,0x5f5,0x460,0x5bb)]())['optional'](),'mcpEnabled':prototypeSafeRecord(z['boolean']())[_0x5b337b(0x36b,0x46b,0x4db,0x4d8)](),'commandsEnabled':z['record'](z[_0x125cf4(0x10a,-0x7b,0xf4,-0x40)](),z[_0x125cf4(-0x3f,-0xba,-0x5e,-0x13e)]())['optional'](),'memory':memorySettingsSchema[_0x125cf4(-0x27,-0x1a1,-0x2d6,-0x40)](),'session':z[_0x125cf4(0x22,-0x12c,-0x245,-0x55)]({'memPersist':z[_0x125cf4(-0x137,-0xba,-0x1c5,-0x21b)]()[_0x125cf4(-0x109,-0x1a1,-0x1da,-0x2d2)](),'persistEventLog':z[_0x125cf4(-0x21b,-0xba,-0x149,0x9)]()[_0x125cf4(-0xf4,-0x1a1,-0x49,-0x1b4)](),'persistHttpLog':z['boolean']()[_0x5b337b(0x36b,0x289,0x38a,0x486)]()})[_0x5b337b(0x4b1,0x4e8,0x5e3,0x3ce)]()['optional'](),'requireToolApproval':z[_0x5b337b(0x452,0x505,0x46f,0x2c4)]()[_0x5b337b(0x36b,0x294,0x403,0x24c)](),'thinking':z[_0x5b337b(0x3e0,0x2b9,0x4e1,0x2f7)]({'selections':z[_0x125cf4(-0x78,-0x165,-0x1a6,-0x8)](z[_0x5b337b(0x491,0x4dd,0x4d2,0x54e)](),z[_0x125cf4(0x3d,-0x7b,-0x126,-0xdc)]())['optional']()})[_0x5b337b(0x36b,0x4cb,0x1ed,0x2af)](),'streamingChunks':z[_0x5b337b(0x452,0x4cf,0x5bd,0x31a)]()['optional'](),'agentsEnabled':z['record'](z[_0x125cf4(-0x13a,-0x7b,0x91,-0x1ad)](),z[_0x125cf4(-0xf5,-0xba,-0x25,-0x60)]())[_0x5b337b(0x36b,0x2a5,0x1e3,0x20f)](),'recentModels':z['array'](recentModelSchema)[_0x5b337b(0x36b,0x3f0,0x2b8,0x409)](),'lsp':lspConfigSchema[_0x5b337b(0x36b,0x27e,0x468,0x44a)](),'servers':z[_0x125cf4(-0x161,-0x165,-0x79,-0xe5)](z[_0x5b337b(0x491,0x5de,0x44d,0x321)](),serverEndpointSchema)[_0x5b337b(0x36b,0x4d1,0x3ce,0x432)](),'ui':z['object']({'theme':uiThemeSettingsSchema[_0x5b337b(0x36b,0x3f8,0x2fb,0x4fd)](),'statusline':statuslineConfigSchema['optional']()})[_0x125cf4(-0xf4,-0x5b,0x104,-0x1e7)]()[_0x125cf4(-0x78,-0x1a1,-0x11f,-0x52)](),'tools':z[_0x5b337b(0x3a7,0x2e1,0x21c,0x3de)](z[_0x125cf4(-0x102,-0x7b,0x10c,-0x1b7)](),z[_0x125cf4(-0x402,-0x2dd,-0x3ef,-0x16a)]())[_0x125cf4(-0x31a,-0x1a1,-0x43,-0xd1)](),'hooks':hooksConfigSchema['optional']()})[_0x125cf4(-0x158,-0x5b,-0x54,-0x1c3)](),workspaceOverlaySchema=z[_0x125cf4(-0x278,-0x12c,0x3f,-0x290)]({'root':z[_0x125cf4(-0xbe,-0x7b,0x57,0xac)]()[_0x5b337b(0x36b,0x222,0x470,0x264)](),'allowedDirs':z[_0x5b337b(0x371,0x213,0x43b,0x1e4)](z[_0x5b337b(0x491,0x3c9,0x53c,0x541)]())['optional'](),'activeProvider':providerNameSchema[_0x5b337b(0x36b,0x268,0x338,0x382)](),'activeModel':z['string']()[_0x5b337b(0x36b,0x311,0x2e7,0x296)](),'mcp':mcpSettingsSchema[_0x5b337b(0x36b,0x41a,0x2e2,0x377)](),'skills':skillsSettingsSchema[_0x5b337b(0x36b,0x2d2,0x2fc,0x3b3)](),'agents':agentsSettingsSchema[_0x5b337b(0x36b,0x469,0x26c,0x32f)](),'commands':commandsSettingsSchema[_0x125cf4(-0x2fa,-0x1a1,-0x127,-0x11d)](),'hooks':hooksConfigSchema[_0x125cf4(-0x1a4,-0x1a1,-0xd0,-0x28e)](),'memory':memorySettingsSchema['optional'](),'mcpEnabled':prototypeSafeRecord(z[_0x5b337b(0x452,0x59d,0x4e9,0x5b2)]())[_0x5b337b(0x36b,0x491,0x4bf,0x42e)](),'skillsEnabled':z[_0x125cf4(-0x18b,-0x165,-0x221,-0x2bf)](z[_0x125cf4(0x64,-0x7b,0x9d,-0x62)](),z[_0x5b337b(0x452,0x313,0x35c,0x44e)]())[_0x5b337b(0x36b,0x309,0x414,0x469)](),'agentsEnabled':z[_0x5b337b(0x3a7,0x28b,0x3e6,0x535)](z[_0x125cf4(0x49,-0x7b,-0x1f2,-0x180)](),z['boolean']())[_0x5b337b(0x36b,0x282,0x303,0x484)](),'commandsEnabled':z[_0x125cf4(-0x158,-0x165,-0x4c,-0x90)](z['string'](),z[_0x5b337b(0x452,0x4bc,0x527,0x5a4)]())[_0x125cf4(-0xc2,-0x1a1,-0x1c4,-0x14f)]()})['passthrough'](),PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object[_0x125cf4(0x27,-0xb6,0xd7,-0x14)](Object[_0x125cf4(-0x203,-0x7f,0xec,-0xfe)]),_0x125cf4(0xf2,-0x7f,-0x8e,0x30)]);function buildDescription(_0x4a5387){const _0x5e8d97={_0x67b134:0x32c,_0x570763:0x478,_0x30f360:0x2cd,_0x26af8a:0x2ea,_0x1d74d0:0x553,_0x18a0a8:0x422,_0x2f4961:0x3c0,_0x160dcc:0x358,_0x31e8be:0x353,_0x49b66b:0x578},_0x10a28d={_0x6c86b1:0x1af,_0x42f3a9:0x8a,_0x78eceb:0x1a4},_0x4da1dc={_0x58cc0c:0x2,_0x287b73:0x11b};if(_0x4a5387['length']===0x0)return[_0x14ba3b(_0x5e8d97._0x67b134,0x219,0x35c,0x389),_0x1096f2(0x5c9,0x6ea,_0x5e8d97._0x570763,0x667),_0x14ba3b(_0x5e8d97._0x30f360,_0x5e8d97._0x26af8a,0x20d,0x327)][_0x14ba3b(_0x5e8d97._0x1d74d0,0x658,0x687,0x4bb)]('\x0a');function _0x14ba3b(_0x54b676,_0x3a6774,_0x484dba,_0x28ca11){return _0x5b337b(_0x54b676-0xb9,_0x3a6774,_0x484dba-_0x4da1dc._0x58cc0c,_0x28ca11-_0x4da1dc._0x287b73);}const _0x2c4417=[_0x1096f2(_0x5e8d97._0x18a0a8,0x2ac,0x4ae,_0x5e8d97._0x2f4961),'Use\x20this\x20when\x20the\x20user\x27s\x20request\x20matches\x20an\x20available\x20command\x20description,\x20even\x20if\x20the\x20user\x20did\x20not\x20type\x20the\x20slash\x20command\x20explicitly.',_0x14ba3b(_0x5e8d97._0x160dcc,_0x5e8d97._0x31e8be,0x4e8,0x408),..._0x4a5387[_0x1096f2(_0x5e8d97._0x49b66b,0x4be,0x522,0x470)](_0x2ae9cd=>_0x2ae9cd[_0x14ba3b(0x3c6,0x302,0x35f,0x373)]?'-\x20'+_0x2ae9cd[_0x14ba3b(0x5ad,0x531,0x5a8,0x6ee)]+'\x20'+_0x2ae9cd[_0x14ba3b(0x3c6,0x2a5,0x4bc,0x457)]+':\x20'+_0x2ae9cd[_0x1096f2(0x5a8,0x451,0x711,0x73a)]:'-\x20'+_0x2ae9cd[_0x14ba3b(0x5ad,0x420,0x490,0x574)]+':\x20'+_0x2ae9cd[_0x1096f2(0x5a8,0x454,0x69c,0x563)])];function _0x1096f2(_0xf3f1f9,_0x181907,_0x102d46,_0x57187a){return _0x5b337b(_0xf3f1f9-_0x10a28d._0x6c86b1,_0x181907,_0x102d46-_0x10a28d._0x42f3a9,_0x57187a-_0x10a28d._0x78eceb);}return _0x2c4417['join']('\x0a');}function createInvokeCommandTool(_0x1b28a5){const _0x424250={_0x3979dd:0x4fe,_0x1b7536:0x5b8,_0x3611ed:0x4f5,_0x1ef604:0x3bf,_0x428a79:0x4b9,_0x40c027:0x4a3,_0x42cc3e:0x5e7,_0x1d785f:0x62d},_0x3dd731={_0x4d0063:0x17e,_0x5e02bc:0x154,_0x26dcc3:0x49,_0x4d24f6:0x10b,_0x5d258d:0x4b7,_0x30ee57:0x466,_0x221c98:0x17c,_0x450fb4:0x260,_0x2f6e17:0x186,_0x942310:0x59,_0x57454b:0x395,_0x5b2105:0x364,_0x3df65d:0x31f,_0x341164:0x34f,_0x23ad33:0x370,_0x1fdf10:0x129,_0x47b587:0x15,_0xa12c32:0x36d,_0x4146be:0xa3,_0x47111d:0xa4,_0x455805:0x1e0,_0x370c5b:0x20f,_0x148092:0x211},_0x19e1b0={_0x4981e8:0xc9,_0x3172b4:0x51b,_0x151860:0x176},_0x5c527f=new Map(_0x1b28a5['commands'][_0x28dcc5(0x3f1,0x5fc,_0x424250._0x3979dd,0x502)](_0x2f2955=>[_0x2f2955['id'],_0x2f2955]));function _0x28dcc5(_0x1a7eca,_0x265c3c,_0x3ef11f,_0x564631){return _0x5b337b(_0x564631-0x139,_0x265c3c,_0x3ef11f-0x20,_0x564631-0x0);}const _0x1de215=buildDescription(_0x1b28a5['commands']);function _0x17a31b(_0x5aab30,_0x36b062,_0x5aa477,_0x201942){return _0x125cf4(_0x5aab30-_0x19e1b0._0x4981e8,_0x36b062-_0x19e1b0._0x3172b4,_0x201942,_0x201942-_0x19e1b0._0x151860);}return defineTool({'name':_0x17a31b(_0x424250._0x1b7536,0x446,_0x424250._0x3611ed,_0x424250._0x1ef604),'permissionClass':'always-confirm','description':_0x1de215,'inputSchema':{'type':'object','properties':{'name':{'type':'string'},'args':{'type':'string'}},'required':[_0x28dcc5(_0x424250._0x428a79,_0x424250._0x40c027,_0x424250._0x42cc3e,_0x424250._0x1d785f)]},async *'execute'(_0x5e6804){const _0x404a5c={_0x28a7b9:0x90,_0x33f378:0x22,_0x4ba668:0x44d},_0x13a9c8={_0x2e064a:0x124},_0x2527e9=_0x5c527f[_0x4ac0f5(0xeb,_0x3dd731._0x4d0063,_0x3dd731._0x5e02bc,_0x3dd731._0x26dcc3)](_0x5e6804[_0x4ac0f5(_0x3dd731._0x4d24f6,0x25b,0x98,0x1e0)]);function _0xea64ec(_0x25a940,_0x4d5b0f,_0x47045b,_0x260539){return _0x17a31b(_0x25a940-0x1b1,_0x25a940- -0x16e,_0x47045b-_0x13a9c8._0x2e064a,_0x47045b);}if(!_0x2527e9){const _0x41919a=Array[_0xea64ec(0x379,0x1fe,_0x3dd731._0x5d258d,_0x3dd731._0x30ee57)](_0x5c527f[_0xea64ec(_0x3dd731._0x221c98,0x49,0x15a,0x143)]())[_0x4ac0f5(0x24,0x262,_0x3dd731._0x450fb4,_0x3dd731._0x2f6e17)](',\x20');throw new ToolExecutionError(_0x4ac0f5(-0x6d,-0x140,-0x15e,-_0x3dd731._0x942310)+_0x5e6804[_0xea64ec(_0x3dd731._0x57454b,0x4b9,0x244,0x406)]+_0xea64ec(_0x3dd731._0x5b2105,0x30c,0x21b,_0x3dd731._0x3df65d)+_0x41919a,{'name':_0x5e6804[_0xea64ec(0x395,0x353,0x23b,0x2bd)]});}function _0x4ac0f5(_0x17a9a0,_0x8b2a57,_0xffc38e,_0x30c2d1){return _0x28dcc5(_0x17a9a0-_0x404a5c._0x28a7b9,_0x8b2a57,_0xffc38e-_0x404a5c._0x33f378,_0x30c2d1- -_0x404a5c._0x4ba668);}const _0x2bcadc=await _0x1b28a5['loadCommand'](_0x2527e9),_0x535d5b=_0x5e6804[_0xea64ec(_0x3dd731._0x341164,0x2ca,0x41d,_0x3dd731._0x23ad33)]??'',_0x32646e=renderCommandInstructions({'instructions':_0x2bcadc['instructions'],'argumentsText':_0x535d5b,'argumentNames':_0x2bcadc[_0x4ac0f5(-0x67,_0x3dd731._0x1fdf10,0x13c,_0x3dd731._0x47b587)]});return yield createToolOutput(_0x32646e,{'id':_0x2bcadc['id'],'name':_0x2bcadc[_0x4ac0f5(_0x3dd731._0xa12c32,_0x3dd731._0x4146be,_0x3dd731._0x47111d,_0x3dd731._0x455805)],'path':_0x2527e9[_0xea64ec(0x301,_0x3dd731._0x370c5b,0x2ce,_0x3dd731._0x148092)]['path']}),void 0x0;}});}import{createHash}from'crypto';import{readFile as _0x17ded7,rename as _0x3d6c98,stat as _0x4ab1f9,writeFile as _0xe2e4fa}from'fs/promises';import*as _0x115594 from'path';function detectEol(_0x2346b3){const _0xbedb6e={_0x537d7f:0x6a,_0x7e852b:0x1fc},_0xb7ec56={_0x4474d4:0x2e0,_0x2c23a0:0xcd};function _0x3beb93(_0x33a36d,_0x3cab4a,_0x2fd771,_0xcc8276){return _0x5b337b(_0x3cab4a- -_0xb7ec56._0x4474d4,_0x2fd771,_0x2fd771-_0xb7ec56._0x2c23a0,_0xcc8276-0xf6);}return/\r\n/['test'](_0x2346b3[_0x3beb93(-_0xbedb6e._0x537d7f,-0xc6,-0x38,-_0xbedb6e._0x7e852b)]('utf8'))?'crlf':'lf';}function normalizeToLf(_0x4d4c3a){const _0x343cc7={_0x13dc23:0x44b,_0x2d0074:0x515},_0xe8a922={_0x3551b9:0x15f};function _0x128f6f(_0x27005c,_0x2ee062,_0x7a6d9e,_0x252722){return _0x5b337b(_0x27005c-0x18,_0x252722,_0x7a6d9e-_0xe8a922._0x3551b9,_0x252722-0x14e);}return _0x4d4c3a[_0x128f6f(_0x343cc7._0x13dc23,0x2d7,_0x343cc7._0x2d0074,0x3e9)](/\r\n/g,'\x0a');}function convertEol(_0x18da3d,_0x43064a){const _0x167a61={_0x3044b4:0x76};function _0xfd910c(_0x1896bb,_0x3b1920,_0x47303c,_0x279b6f){return _0x125cf4(_0x1896bb-0x1d,_0x47303c-0x163,_0x3b1920,_0x279b6f-0x7e);}return _0x43064a==='crlf'?_0x18da3d[_0xfd910c(0x9b,0x181,0x8a,_0x167a61._0x3044b4)](/\n/g,'\x0d\x0a'):_0x18da3d;}async function atomicWrite(_0xa43373,_0x39e9cd){const _0x465656={_0x5a9522:0x4c3,_0x455989:0x698,_0x51a8af:0x5fd,_0x2c2cb7:0x6ec,_0x3672f0:0x31e,_0x15212b:0x478,_0x19c575:0x348,_0x2d12fd:0x5e8,_0xd0e84f:0x541},_0xfd2747={_0x5104c8:0x7f},_0xf0d33f=_0x115594[_0x4c0379(0x418,0x2d2,0x28d,0x365)](_0xa43373),_0x1019a2=_0x115594[_0x2e746f(_0x465656._0x5a9522,0x62a,_0x465656._0x455989,0x67b)](_0xf0d33f,_0x2e746f(0x75d,_0x465656._0x51a8af,0x4ac,_0x465656._0x2c2cb7)+_0x115594['basename'](_0xa43373)+'.'+Date[_0x4c0379(0x454,0x2ce,_0x465656._0x3672f0,0x51e)]()+'.'+Math[_0x4c0379(_0x465656._0x15212b,0x524,0x566,0x5c3)]()[_0x2e746f(0x51d,0x3aa,0x25b,_0x465656._0x19c575)](0x24)[_0x4c0379(_0x465656._0x2d12fd,_0x465656._0xd0e84f,0x683,0x4e9)](0x2));function _0x2e746f(_0x49175b,_0x33126b,_0xf5aa80,_0x55da63){return _0x125cf4(_0x49175b-0x76,_0x33126b-0x69c,_0xf5aa80,_0x55da63-_0xfd2747._0x5104c8);}function _0x4c0379(_0x1749b3,_0x884ebd,_0x10ab96,_0x34e92a){return _0x125cf4(_0x1749b3-0xc2,_0x1749b3-0x6a3,_0x34e92a,_0x34e92a-0x19b);}await _0xe2e4fa(_0x1019a2,_0x39e9cd),await _0x3d6c98(_0x1019a2,_0xa43373);}function sha256(_0x3b331a){const _0x59ef75={_0x16efac:0x144,_0x45bb6e:0x174,_0x140c08:0x15d,_0x1b5db3:0x156,_0x33192b:0x164,_0x19bdd6:0x2eb,_0x2eeddb:0x2ab},_0x1693fa={_0x5badf5:0xb0},_0x85f594={_0x2a0a58:0x17c};function _0x4a67a9(_0x2d13b1,_0x3f96e6,_0x484826,_0x21d315){return _0x125cf4(_0x2d13b1-0xf7,_0x484826-0x1e,_0x2d13b1,_0x21d315-_0x85f594._0x2a0a58);}function _0x40454f(_0x15ccda,_0xd5108d,_0x51df5c,_0x58a945){return _0x5b337b(_0x51df5c- -0x518,_0xd5108d,_0x51df5c-0x78,_0x58a945-_0x1693fa._0x5badf5);}return createHash(_0x40454f(-_0x59ef75._0x16efac,-0x173,-0x71,-_0x59ef75._0x45bb6e))[_0x4a67a9(-0x252,-_0x59ef75._0x140c08,-_0x59ef75._0x1b5db3,-_0x59ef75._0x33192b)](_0x3b331a)['digest'](_0x40454f(-_0x59ef75._0x19bdd6,-0x2ef,-0x1a9,-_0x59ef75._0x2eeddb));}function countLines(_0x3aa4f0){const _0x267c74={_0x1a172b:0x29f,_0x2abe77:0x2b2,_0x198312:0x528,_0x2b879d:0x3f8,_0x3db46e:0x54e,_0x59a941:0x538},_0x52d996={_0x5d4577:0x5c2,_0x212f39:0x1bf},_0x153959={_0x55fabf:0xcf};function _0x1ea478(_0x512391,_0x188e65,_0x35d295,_0x683088){return _0x125cf4(_0x512391-_0x153959._0x55fabf,_0x35d295-0x405,_0x683088,_0x683088-0x4);}const _0x515562=_0x3aa4f0[_0x1ea478(0x386,0x44d,0x32c,0x1cb)](/\n$/,'');function _0x532472(_0x26763c,_0x1165c,_0x4daf7e,_0x5c796c){return _0x125cf4(_0x26763c-0xda,_0x5c796c-_0x52d996._0x5d4577,_0x4daf7e,_0x5c796c-_0x52d996._0x212f39);}return _0x515562[_0x1ea478(_0x267c74._0x1a172b,0x480,0x37b,_0x267c74._0x2abe77)]===0x0?0x0:_0x515562['split']('\x0a')[_0x532472(_0x267c74._0x198312,_0x267c74._0x2b879d,_0x267c74._0x3db46e,_0x267c74._0x59a941)];}function calculateLineNumbers(_0x3a20f7,_0x1e0b4a,_0x26a384,_0x3446a6){const _0x46fb82={_0x5d83a4:0x411,_0x42f88b:0x4ad},_0x5abf13={_0x12e04b:0x1d4},_0xa7a6da={_0x3da91b:0x180,_0x20300f:0x6bd},_0x3f58e6=_0x3a20f7['slice'](0x0,_0x3446a6)[_0x1a3bc4(0x45c,_0x46fb82._0x5d83a4,0x556,0x2db)]('\x0a')[_0x1a3bc4(0x6c2,0x633,_0x46fb82._0x42f88b,0x714)],_0x1d6b52=countLines(_0x1e0b4a);function _0x1a3bc4(_0x453f66,_0x57410f,_0x237b61,_0x3581c7){return _0x125cf4(_0x453f66-_0xa7a6da._0x3da91b,_0x57410f-_0xa7a6da._0x20300f,_0x3581c7,_0x3581c7-0x63);}function _0x4d2f26(_0x1b7bb4,_0x556191,_0x4429a2,_0x28dec6){return _0x125cf4(_0x1b7bb4-_0x5abf13._0x12e04b,_0x28dec6-0x2e,_0x1b7bb4,_0x28dec6-0xf7);}const _0x20e39d=countLines(_0x26a384);return{'oldStartLine':_0x3f58e6,'oldEndLine':_0x3f58e6+_0x1d6b52-0x1,'newStartLine':_0x3f58e6,'newEndLine':_0x3f58e6+_0x20e39d-0x1,'oldLineCount':_0x1d6b52,'newLineCount':_0x20e39d};}function createFileEditTool(_0x46b951={}){const _0x70fcbc={_0x1cb43a:0x27f,_0x585234:0x201,_0x5c6725:0x5d,_0x509aea:0xd7,_0x560c35:0x18b,_0x2d242:0x361,_0x3676d5:0x2b8,_0x495121:0x135,_0x5eb9d7:0x149,_0x1b6bf2:0x88,_0x17afd9:0x3a6,_0x2a58f1:0x14b,_0x3b0985:0x47,_0x1fca61:0xbe,_0x243e00:0x94,_0x10af06:0xf1,_0x4dc859:0x6e,_0x40a38e:0x2fe,_0x4b3ca4:0x1b5,_0x938a24:0x2ef,_0x282df2:0x196,_0x45059f:0x14a,_0x3dd839:0x29e,_0x444cc8:0xd2,_0x2bd1c1:0x113,_0x3b7b8e:0xbc,_0x95ceff:0xa9},_0x527532={_0x21b06b:0x308,_0x4e4b4d:0x302,_0x4ba5d0:0x2d7,_0x5f43f8:0x1c6,_0x519b0a:0x581,_0x19f333:0x469,_0x3371ac:0x4dd,_0x497988:0x38d,_0xf00e11:0x449,_0xdabfee:0x4b9,_0x7b3953:0x547,_0x4cd62d:0x5ae,_0x164c14:0x465,_0x3eeffa:0x5b4,_0x37dfc2:0x2a4,_0x3a6783:0x560,_0x5927fb:0x504,_0x6d6d36:0x31e,_0xf230c1:0x3f1,_0x425e7e:0x1ff,_0x27b1d8:0x30a,_0x440584:0x464,_0x588e9a:0x582,_0x2dbfdd:0x3a6,_0x71ee34:0x326,_0x2c0be0:0x1c0,_0x39a8ab:0x92,_0x568dcd:0x40f,_0x1d8ba3:0x2be,_0x5193c3:0x453,_0x38d388:0x34a,_0x47db50:0x4b6,_0x4bbfc7:0x27b,_0x3fbb40:0x40c,_0x142609:0x48b,_0x3909af:0x4b9,_0x4d8e03:0x49b,_0x4dafe4:0x22c,_0x3f0b75:0x29e,_0x465dd8:0x27c,_0x3d9428:0x1a1,_0x3b434d:0x182,_0x270364:0x211,_0x1bbe11:0x39f,_0x1e2a33:0x283,_0x4919d3:0x345,_0x3098e1:0x2ee,_0xc0648a:0x2a6,_0x3e1aa8:0x1dc,_0x520c66:0x215,_0x57cf57:0x250,_0xe3f8e5:0x489,_0x3e6cd5:0x332,_0x104c54:0x2b7,_0xfc5a99:0x495,_0x36d3f1:0x334},_0x5c1093={_0x4e405d:0x277,_0x1b9cc6:0x10d},_0xb41d3d={_0x129b6e:0x193,_0x2fb822:0xd5,_0x8494:0xa9},_0x471bf8=_0x115594[_0x430c35(0x1ec,_0x70fcbc._0x1cb43a,_0x70fcbc._0x585234,0x18f)](_0x46b951[_0x430c35(_0x70fcbc._0x5c6725,_0x70fcbc._0x509aea,0x129,0x131)]??process[_0x430c35(0x25e,_0x70fcbc._0x560c35,0x147,0x23c)]()),_0x3a2c1b=_0x46b951['allowedDirs']??[];function _0x4393f5(_0x5dbb9e,_0x60d14b,_0x2ea295,_0x2ed0b9){return _0x5b337b(_0x5dbb9e- -_0xb41d3d._0x129b6e,_0x2ea295,_0x2ea295-_0xb41d3d._0x2fb822,_0x2ed0b9-_0xb41d3d._0x8494);}function _0x430c35(_0x513e16,_0x39d77a,_0x236ace,_0x56f8e6){return _0x125cf4(_0x513e16-0x1be,_0x513e16-0x253,_0x56f8e6,_0x56f8e6-0xf7);}const _0x4ed531=_0x46b951[_0x4393f5(_0x70fcbc._0x2d242,0x329,0x361,0x3d2)]??_0x4393f5(_0x70fcbc._0x3676d5,0x38f,_0x70fcbc._0x495121,0x38a);return defineTool({'name':_0x4ed531,'permissionClass':_0x430c35(_0x70fcbc._0x5eb9d7,-0x1b,_0x70fcbc._0x1b6bf2,0x16f),'description':_0x4393f5(0xb3,0xab,0x11e,-0x78),'inputSchema':{'type':_0x4393f5(0x24d,_0x70fcbc._0x17afd9,_0x70fcbc._0x2a58f1,0x164),'properties':{'filePath':{'type':_0x430c35(0x1d8,0xbb,_0x70fcbc._0x3b0985,_0x70fcbc._0x1fca61)},'description':{'type':'string','description':_0x430c35(0xe0,_0x70fcbc._0x243e00,_0x70fcbc._0x10af06,_0x70fcbc._0x4dc859)},'oldText':{'type':_0x4393f5(_0x70fcbc._0x40a38e,0x39c,0x232,0x1cb)},'newText':{'type':_0x4393f5(0x2fe,_0x70fcbc._0x4b3ca4,_0x70fcbc._0x938a24,0x1ed)},'dryRun':{'type':_0x4393f5(0x2bf,_0x70fcbc._0x282df2,_0x70fcbc._0x45059f,_0x70fcbc._0x3dd839)}},'required':[_0x4393f5(_0x70fcbc._0x444cc8,0x1e2,0xd0,_0x70fcbc._0x2bd1c1),_0x430c35(0xab,-_0x70fcbc._0x3b7b8e,-0x4,_0x70fcbc._0x95ceff),'newText']},async *'execute'(_0x3e7552){const _0x37da95={_0x33c2d3:0x13f,_0x3afb4d:0xdb},_0x125e7f=resolveAllowedPath(_0x471bf8,_0x3a2c1b,_0x3e7552[_0x20c0e1(0xa2,_0x527532._0x21b06b,0x223,_0x527532._0x4e4b4d)]);function _0x5bdc84(_0x18b6ac,_0x57b1e1,_0x3fe887,_0x5c6c4b){return _0x4393f5(_0x3fe887-_0x37da95._0x33c2d3,_0x57b1e1-0xd2,_0x57b1e1,_0x5c6c4b-_0x37da95._0x3afb4d);}await assertWorkspaceFile(_0x125e7f);const _0x1dc8f6=await _0x4ab1f9(_0x125e7f),_0x553ec7=await _0x17ded7(_0x125e7f),_0x3770da=detectEol(_0x553ec7),_0x2aba85=normalizeToLf(_0x553ec7[_0x5bdc84(0x2d0,_0x527532._0x4ba5d0,_0x527532._0x5f43f8,0x24f)](_0x5bdc84(_0x527532._0x519b0a,_0x527532._0x19f333,0x3fa,_0x527532._0x3371ac))),_0x1cf33b=normalizeToLf(_0x3e7552['oldText']),_0x5e03fb=normalizeToLf(_0x3e7552[_0x5bdc84(0x54e,_0x527532._0x497988,_0x527532._0xf00e11,_0x527532._0xdabfee)]),_0x488e7b=_0x2aba85[_0x5bdc84(_0x527532._0x7b3953,_0x527532._0x4cd62d,_0x527532._0x164c14,_0x527532._0x3eeffa)](_0x1cf33b);if(_0x488e7b===-0x1){const _0x4d8b66=_0x1cf33b[_0x20c0e1(_0x527532._0x37dfc2,_0x527532._0x3a6783,0x40f,_0x527532._0x5927fb)](0x0,0x64)[_0x20c0e1(_0x527532._0x6d6d36,0x304,_0x527532._0xf230c1,0x405)](/\n/g,'\x5cn');throw new ToolExecutionError(_0x20c0e1(0x3e7,_0x527532._0x425e7e,_0x527532._0x27b1d8,_0x527532._0x440584)+_0x4d8b66+(_0x1cf33b[_0x20c0e1(_0x527532._0x588e9a,_0x527532._0x2dbfdd,0x440,0x3b6)]>0x64?'...':'')+'\x22',{'filePath':_0x3e7552[_0x20c0e1(_0x527532._0x71ee34,_0x527532._0x2c0be0,0x223,_0x527532._0x39a8ab)]});}const _0x19d6a8=_0x2aba85['slice'](0x0,_0x488e7b)+_0x5e03fb+_0x2aba85[_0x20c0e1(0x50a,0x589,_0x527532._0x568dcd,_0x527532._0x1d8ba3)](_0x488e7b+_0x1cf33b[_0x20c0e1(_0x527532._0x5193c3,0x32a,0x440,0x3ea)]),_0x1529eb=convertEol(_0x19d6a8,_0x3770da),_0x4db25e=Buffer[_0x5bdc84(_0x527532._0x38d388,_0x527532._0x47db50,0x484,0x4de)](_0x1529eb,_0x20c0e1(_0x527532._0x4bbfc7,0x4cb,_0x527532._0x3fbb40,0x594)),_0x417260=sha256(_0x553ec7),_0x2a8584=sha256(_0x4db25e),_0x1ce01d=_0x417260===_0x2a8584;function _0x20c0e1(_0x4c6ae8,_0x35fe76,_0xd4a653,_0x158751){return _0x430c35(_0xd4a653-_0x5c1093._0x4e405d,_0x35fe76-0x19f,_0xd4a653-_0x5c1093._0x1b9cc6,_0x35fe76);}const _0x4360e2=_0x3e7552['dryRun']??![];return!_0x4360e2&&!_0x1ce01d&&await atomicWrite(_0x125e7f,_0x4db25e),yield createToolOutput(_0x1ce01d?_0x20c0e1(0x3a3,_0x527532._0x142609,0x433,0x59f):_0x4360e2?_0x20c0e1(0x48f,_0x527532._0x3909af,_0x527532._0x4d8e03,0x60d):_0x20c0e1(_0x527532._0x4dafe4,_0x527532._0x3f0b75,0x303,_0x527532._0x465dd8),{'filePath':_0x3e7552[_0x5bdc84(_0x527532._0x3d9428,_0x527532._0x3b434d,_0x527532._0x270364,0x28a)],'resolvedPath':_0x125e7f,'created':_0x1dc8f6[_0x20c0e1(0x421,_0x527532._0x1bbe11,0x34c,_0x527532._0x1e2a33)][_0x20c0e1(_0x527532._0x4919d3,0x348,_0x527532._0x3098e1,_0x527532._0xc0648a)](),'modified':_0x1dc8f6['mtime']['toISOString'](),'size':_0x1dc8f6[_0x20c0e1(_0x527532._0x3e1aa8,_0x527532._0x520c66,_0x527532._0x57cf57,0xd9)],'eol':_0x3770da,'oldTextLength':_0x1cf33b[_0x5bdc84(0x577,_0x527532._0xe3f8e5,0x42e,0x37e)],'newTextLength':_0x5e03fb[_0x5bdc84(_0x527532._0x3e6cd5,_0x527532._0x104c54,0x42e,0x590)],'bytesWritten':_0x1ce01d||_0x4360e2?0x0:_0x4db25e[_0x20c0e1(_0x527532._0xfc5a99,0x4c8,0x440,_0x527532._0x36d3f1)],'beforeSha':_0x417260,'afterSha':_0x2a8584,'dryRun':_0x4360e2,'noChange':_0x1ce01d,'lineNumbers':calculateLineNumbers(_0x2aba85,_0x1cf33b,_0x5e03fb,_0x488e7b)}),void 0x0;}});}function _0x125cf4(_0xde2c73,_0x41f0d6,_0x1877da,_0x49e569){return _0x5504(_0x41f0d6- -0x389,_0x1877da);}import{mkdir as _0x116e06,rename as _0x429fbb,stat as _0x1076e8,writeFile as _0x3f7146}from'fs/promises';import*as _0x4c0e9e from'path';async function atomicWrite2(_0x5a4750,_0x3699e4){const _0x2ffba0={_0x4e438b:0xf9,_0x2c2381:0x20f,_0x3ab5f4:0xe4,_0x4f0ff0:0xcb,_0x192df9:0x60,_0x384544:0x120,_0x33b562:0xcc,_0x55e739:0x94,_0x10b9f9:0x1df,_0x452330:0xa8,_0x1a22de:0x235,_0x791bde:0x49b,_0x55db3b:0x269,_0x154556:0x3c3},_0x1bfe68={_0x1b3523:0x389,_0x5c37d9:0x1a6},_0x13d8f2={_0x336834:0x8e},_0x53c625=_0x4c0e9e[_0x16d764(0x170,_0x2ffba0._0x4e438b,0x1f3,0x16e)](_0x5a4750);function _0x16d764(_0x552f4b,_0x3219be,_0x396f02,_0xb7df75){return _0x5b337b(_0x396f02- -_0x13d8f2._0x336834,_0x3219be,_0x396f02-0xdc,_0xb7df75-0x120);}await _0x116e06(_0x53c625,{'recursive':!![]});const _0xebf2d6=_0x4c0e9e[_0x350795(0x111,0xe3,_0x2ffba0._0x2c2381,0x14d)](_0x53c625,_0x350795(_0x2ffba0._0x3ab5f4,_0x2ffba0._0x4f0ff0,0x23b,0x15e)+_0x4c0e9e[_0x350795(-0x61,_0x2ffba0._0x192df9,_0x2ffba0._0x384544,-0x18d)](_0x5a4750)+'.'+Date[_0x350795(-_0x2ffba0._0x33b562,-0x137,-_0x2ffba0._0x55e739,-_0x2ffba0._0x10b9f9)]()+'.'+Math[_0x350795(-_0x2ffba0._0x452330,-_0x2ffba0._0x1a22de,-0x1c4,-0x1c6)]()[_0x16d764(0x29d,0x2f9,0x18c,0x2e5)](0x24)[_0x16d764(_0x2ffba0._0x791bde,_0x2ffba0._0x55db3b,_0x2ffba0._0x154556,0x421)](0x2));await _0x3f7146(_0xebf2d6,_0x3699e4);function _0x350795(_0x5b0137,_0x1185ef,_0x325221,_0x59f076){return _0x5b337b(_0x5b0137- -_0x1bfe68._0x1b3523,_0x325221,_0x325221-0x199,_0x59f076-_0x1bfe68._0x5c37d9);}await _0x429fbb(_0xebf2d6,_0x5a4750);}function createFileNewTool(_0x51fdbb={}){const _0x5c27a9={_0x3aa3e4:0x4d6,_0x5d4553:0x60c,_0x2051a8:0x133,_0x1f715f:0xe5,_0x21a0a4:0x107,_0x4c789e:0xab,_0x1b6120:0xb0,_0x4aed5c:0x14c,_0x148858:0x433,_0x44565f:0x29c,_0x545051:0x3b7,_0x75685f:0x351,_0xd59710:0x341,_0x38be11:0x459,_0xb5429d:0x507,_0x15d805:0x10c,_0x134e18:0x1fb},_0x4f57d8={_0x101ab9:0x42a,_0x55cfce:0x4fa,_0x21bcc2:0x582,_0x584319:0x5ce,_0x2f8790:0x339,_0x309d3c:0x418,_0x5a5e5e:0x3d9,_0x342311:0x1b2,_0x4caf80:0x2af,_0x350365:0x371,_0x4eb93f:0x3c6,_0x8342bc:0x3a0,_0x56ab88:0x3ff,_0x16b02f:0xaf,_0x2c6c5c:0x512,_0x12f2ff:0x5ab,_0xb6bf9b:0x32c},_0xb92351={_0x1e72ea:0xe8},_0x4392a3={_0x5b5efb:0x14a},_0x574adf=_0x4c0e9e[_0x5986da(0x57f,_0x5c27a9._0x3aa3e4,0x63a,_0x5c27a9._0x5d4553)](_0x51fdbb[_0x7dc6b3(-_0x5c27a9._0x2051a8,-_0x5c27a9._0x1f715f,-0x25f,-_0x5c27a9._0x21a0a4)]??process['cwd']());function _0x7dc6b3(_0x542351,_0x4053d2,_0x4dbce0,_0x4eef6a){return _0x5b337b(_0x542351- -0x449,_0x4eef6a,_0x4dbce0-_0x4392a3._0x5b5efb,_0x4eef6a-0x15b);}const _0x49e289=_0x51fdbb['allowedDirs']??[],_0x2fee89=_0x51fdbb[_0x7dc6b3(_0x5c27a9._0x4c789e,-0x16,-_0x5c27a9._0x1b6120,_0x5c27a9._0x4aed5c)]??'FileNew';function _0x5986da(_0x4b19f3,_0xacb33f,_0x167ce5,_0x505c9e){return _0x5b337b(_0xacb33f-0x31,_0x4b19f3,_0x167ce5-0xc4,_0x505c9e-_0xb92351._0x1e72ea);}return defineTool({'name':_0x2fee89,'permissionClass':_0x5986da(0x310,_0x5c27a9._0x148858,0x591,0x3c2),'description':_0x5986da(0x17b,_0x5c27a9._0x44565f,0x264,_0x5c27a9._0x545051),'inputSchema':{'type':_0x5986da(_0x5c27a9._0x75685f,0x411,_0x5c27a9._0xd59710,0x296),'properties':{'filePath':{'type':_0x5986da(0x4f7,0x4c2,0x503,_0x5c27a9._0x5d4553)},'content':{'type':_0x5986da(0x4fa,0x4c2,_0x5c27a9._0x38be11,_0x5c27a9._0xb5429d)}},'required':['filePath',_0x7dc6b3(-_0x5c27a9._0x15d805,-_0x5c27a9._0x134e18,-0xfb,-0x19)]},async *'execute'(_0x4bcd08){const _0x425def=resolveAllowedPath(_0x574adf,_0x49e289,_0x4bcd08['filePath']),_0x61900c=await _0x1076e8(_0x425def)[_0x2c452b(0x432,0x31d,_0x4f57d8._0x101ab9,0x3cc)](()=>!![])[_0x2c452b(_0x4f57d8._0x55cfce,0x5e9,0x57b,_0x4f57d8._0x21bcc2)](()=>![]),_0x18a5cc=Buffer[_0x2c452b(0x4d4,0x54d,0x5c4,_0x4f57d8._0x584319)](_0x4bcd08[_0x2c452b(_0x4f57d8._0x2f8790,_0x4f57d8._0x309d3c,_0x4f57d8._0x5a5e5e,0x1df)],'utf8');function _0x373807(_0x50e8ca,_0x3bb40b,_0x232221,_0x5e1a71){return _0x5986da(_0x5e1a71,_0x232221- -0x1e2,_0x232221-0x1d2,_0x5e1a71-0xb5);}await atomicWrite2(_0x425def,_0x18a5cc),yield createToolOutput(_0x373807(0x266,0x145,_0x4f57d8._0x342311,0xe0)+_0x4bcd08[_0x2c452b(0x261,_0x4f57d8._0x4caf80,0x2a5,0x2b8)]+'.',{'filePath':_0x4bcd08[_0x2c452b(0x261,0x39a,_0x4f57d8._0x350365,_0x4f57d8._0x4eb93f)],'resolvedPath':_0x425def,'bytes':_0x18a5cc[_0x373807(0x2e9,0x1f6,0x2d1,_0x4f57d8._0x8342bc)],'lines':_0x4bcd08[_0x2c452b(0x339,_0x4f57d8._0x56ab88,0x239,0x1e3)][_0x373807(-0x6f,0x1e5,_0x4f57d8._0x16b02f,0xa1)](/\r?\n/)[_0x2c452b(0x47e,_0x4f57d8._0x2c6c5c,0x445,_0x4f57d8._0x12f2ff)],'created':new Date()[_0x2c452b(_0x4f57d8._0xb6bf9b,0x2fd,0x1bf,0x4bc)](),'overwritten':_0x61900c});function _0x2c452b(_0x52b020,_0x385540,_0x3d544f,_0x357185){return _0x7dc6b3(_0x52b020-0x445,_0x385540-0x161,_0x3d544f-0xa7,_0x357185);}return void 0x0;}});}import{readFile as _0x105949,stat as _0x3c6ada}from'fs/promises';import*as _0x1ee791 from'path';function stripUtfBom(_0x32d8d8){const _0xf12fae={_0x1709bb:0x188,_0xc5d2c1:0x66,_0x274984:0xb5},_0x158f22={_0x5b2590:0x197};function _0x58b252(_0x27491d,_0x2d522e,_0x179072,_0x7ed94a){return _0x125cf4(_0x27491d-0x5e,_0x179072-0x1f9,_0x7ed94a,_0x7ed94a-_0x158f22._0x5b2590);}return _0x32d8d8[_0x58b252(_0xf12fae._0x1709bb,0x86,_0xf12fae._0xc5d2c1,_0xf12fae._0x274984)](0x0)===0xfeff?_0x32d8d8['slice'](0x1):_0x32d8d8;}function clampLine(_0x1df4c7,_0x5eeb81){const _0x2fb618={_0x46742c:0x506,_0x57956a:0x3db,_0x34c4ab:0x15a,_0x51ae7a:0xfb,_0x1c24bb:0xac,_0x5290de:0x259,_0xd426d9:0x33c,_0x5f1c2b:0x160,_0x5ce74c:0x18};function _0x33bd64(_0x48bb38,_0x5d2360,_0x36e83e,_0x3b3272){return _0x125cf4(_0x48bb38-0x102,_0x3b3272-0x597,_0x36e83e,_0x3b3272-0xe5);}function _0x51d023(_0xa481e,_0x222008,_0xa0714c,_0x466bdc){return _0x125cf4(_0xa481e-0x1af,_0xa0714c-0x3a5,_0x466bdc,_0x466bdc-0x45);}if(!Number[_0x33bd64(_0x2fb618._0x46742c,0x4de,0x3ab,_0x2fb618._0x57956a)](_0x1df4c7))return 0x1;return Math[_0x51d023(_0x2fb618._0x34c4ab,0x9d,_0x2fb618._0x51ae7a,0x280)](0x1,Math[_0x51d023(_0x2fb618._0x1c24bb,_0x2fb618._0x5290de,0x1e1,_0x2fb618._0xd426d9)](Math[_0x51d023(0xde,0x27d,_0x2fb618._0x5f1c2b,_0x2fb618._0x5ce74c)](_0x1df4c7),_0x5eeb81));}function createFileReadTool(_0x11fc55={}){const _0x4908bb={_0x4cda6e:0x22c,_0x443a51:0x31a,_0x1505c0:0xed,_0x9886dc:0x33b,_0x12b721:0x3cf,_0x5ca125:0x6c,_0x20d8c7:0xd9,_0x59a454:0xb3,_0x54216b:0x385,_0x54ba74:0x449,_0x38ce85:0x3a9,_0x555998:0x22,_0x39761d:0x196,_0x11dd5d:0x1d,_0x574be4:0x85,_0x5796e7:0x52,_0x14d4eb:0x156},_0x1d2b09={_0x21d4f7:0x14e,_0xd5ed7d:0x32,_0x3e4116:0x67,_0xd38543:0x56,_0x48aae1:0x326,_0x5d93d0:0x3ec,_0x231ad1:0x42e,_0x252bc5:0x3fe,_0x3b878c:0x401,_0x11f67d:0x231,_0x384481:0x431,_0x29d4e0:0x2f2,_0x484bab:0x34,_0x1f0c93:0x236,_0x20afdc:0x1cc,_0x4310f4:0x2b3,_0xe07847:0x108,_0x1bdf0b:0x5e,_0x15ec33:0xa5,_0x1b9610:0x4f,_0x86a04:0x270,_0x37f038:0x279,_0x4d0c8f:0x1a1,_0x5c7dd6:0x279,_0x4bb7e3:0x364,_0x2a7fb1:0x28c,_0x6585fe:0x1e2,_0x199804:0x21f,_0x724d28:0x42c,_0x1e1a52:0x412,_0x133ae5:0x11d,_0x50516a:0x28a,_0x1c26b3:0x2a3},_0x56151a={_0x1324e6:0x73},_0x2843c0={_0xbde3e1:0x139,_0x23d55f:0x461,_0x560647:0x3};function _0x5a81f3(_0x105c99,_0x51b5ca,_0x4c8369,_0x35c12d){return _0x125cf4(_0x105c99-_0x2843c0._0xbde3e1,_0x4c8369-_0x2843c0._0x23d55f,_0x35c12d,_0x35c12d-_0x2843c0._0x560647);}const _0x3130ae=_0x1ee791[_0xd85a69(0x1ca,_0x4908bb._0x4cda6e,0x3,0xcc)](_0x11fc55[_0x5a81f3(_0x4908bb._0x443a51,_0x4908bb._0x1505c0,0x26b,_0x4908bb._0x9886dc)]??process[_0x5a81f3(0x49a,_0x4908bb._0x12b721,0x46c,0x3ae)]());function _0xd85a69(_0x1f28f1,_0x45c602,_0x343935,_0x29d161){return _0x5b337b(_0x29d161- -0x3d9,_0x343935,_0x343935-0xc6,_0x29d161-_0x56151a._0x1324e6);}const _0x1750af=_0x11fc55[_0xd85a69(-_0x4908bb._0x5ca125,-_0x4908bb._0x20d8c7,0x1a8,_0x4908bb._0x59a454)]??[],_0x42f576=_0x11fc55[_0x5a81f3(_0x4908bb._0x54216b,0x564,_0x4908bb._0x54ba74,_0x4908bb._0x38ce85)]??'FileRead';return defineTool({'name':_0x42f576,'permissionClass':'read','description':'Read\x20files\x20from\x20workspace.\x20Optionally\x20specify\x20line\x20ranges\x20(lineStart,\x20lineEnd).','inputSchema':{'type':'object','properties':{'path':{'type':'string'},'lineStart':{'type':'number','description':_0x5a81f3(0x288,0x244,0x330,0x1f3)},'lineEnd':{'type':'number','description':_0xd85a69(_0x4908bb._0x555998,_0x4908bb._0x39761d,_0x4908bb._0x11dd5d,_0x4908bb._0x574be4)}},'required':[_0xd85a69(0xdc,_0x4908bb._0x5796e7,-0x37,_0x4908bb._0x14d4eb)]},async *'execute'(_0x5e4a8c){const _0x5e51c1={_0xe576b8:0x124,_0x3e127f:0x1ee},_0x573e11={_0x2f86bd:0x2a8};function _0x4e1dfe(_0x158586,_0x36c006,_0x4bf30,_0x56c5bc){return _0xd85a69(_0x158586-0x2f,_0x36c006-0x93,_0x36c006,_0x4bf30-_0x573e11._0x2f86bd);}const _0x4f3394=resolveAllowedPath(_0x3130ae,_0x1750af,_0x5e4a8c['path']);await assertWorkspaceFile(_0x4f3394);const _0x55a0ca=await _0x3c6ada(_0x4f3394),_0x3d0557=await _0x105949(_0x4f3394);if(isProbablyBinary(_0x3d0557))throw new ToolExecutionError(_0xa6cf5d(_0x1d2b09._0x21d4f7,_0x1d2b09._0xd5ed7d,-_0x1d2b09._0x3e4116,_0x1d2b09._0xd38543)+_0x5e4a8c[_0xa6cf5d(0x2fa,_0x1d2b09._0x48aae1,0x402,_0x1d2b09._0x5d93d0)],{'path':_0x5e4a8c[_0x4e1dfe(0x3c4,_0x1d2b09._0x231ad1,_0x1d2b09._0x252bc5,_0x1d2b09._0x3b878c)]});function _0xa6cf5d(_0x1e413c,_0x1907a4,_0x35fe69,_0xc8ab03){return _0xd85a69(_0x1e413c-_0x5e51c1._0xe576b8,_0x1907a4-_0x5e51c1._0x3e127f,_0x1e413c,_0x1907a4-0x1d0);}let _0x206103=_0x3d0557['toString'](_0x4e1dfe(0x322,_0x1d2b09._0x11f67d,0x31d,0x42b));const _0x4e8612=_0x206103['charCodeAt'](0x0)===0xfeff;_0x206103=stripUtfBom(_0x206103);const _0x19c5fe=_0x206103['split'](/\r?\n/),_0x5c74cd={'path':_0x5e4a8c[_0xa6cf5d(_0x1d2b09._0x384481,_0x1d2b09._0x48aae1,_0x1d2b09._0x29d4e0,0x48d)],'resolvedPath':_0x4f3394,'created':_0x55a0ca[_0xa6cf5d(_0x1d2b09._0x484bab,0x185,0x1c,_0x1d2b09._0x1f0c93)][_0xa6cf5d(0x1b1,0x127,0x8,-0x8)](),'modified':_0x55a0ca[_0x4e1dfe(_0x1d2b09._0x20afdc,_0x1d2b09._0x4310f4,0x1b6,0x156)][_0xa6cf5d(0x2b8,0x127,_0x1d2b09._0xe07847,-_0x1d2b09._0x1bdf0b)](),'size':_0x55a0ca[_0xa6cf5d(-0xe4,0x89,-_0x1d2b09._0x15ec33,_0x1d2b09._0x1b9610)],'encoding':'utf8','bomStripped':_0x4e8612,'truncated':![],'totalLines':_0x19c5fe[_0xa6cf5d(_0x1d2b09._0x86a04,_0x1d2b09._0x37f038,0x162,0x281)]};if(_0x5e4a8c['lineStart']!==void 0x0||_0x5e4a8c['lineEnd']!==void 0x0){const _0x2eb103=clampLine(_0x5e4a8c['lineStart']??0x1,_0x19c5fe[_0xa6cf5d(0x22c,_0x1d2b09._0x37f038,0x3b0,_0x1d2b09._0x4d0c8f)]),_0x2dada9=clampLine(_0x5e4a8c['lineEnd']??_0x19c5fe[_0xa6cf5d(0x155,_0x1d2b09._0x5c7dd6,_0x1d2b09._0x4bb7e3,0x240)],_0x19c5fe[_0x4e1dfe(_0x1d2b09._0x2a7fb1,0x2c4,0x351,0x316)]),_0x1fff1f=Math['min'](_0x2eb103,_0x2dada9),_0xa8735e=Math['max'](_0x2eb103,_0x2dada9),_0x5b1851=_0x19c5fe[_0x4e1dfe(0x2d1,0x43e,0x320,_0x1d2b09._0x6585fe)](_0x1fff1f-0x1,_0xa8735e)['map']((_0x182f15,_0x2800ee)=>_0x1fff1f+_0x2800ee+'|'+_0x182f15)[_0x4e1dfe(_0x1d2b09._0x199804,_0x1d2b09._0x724d28,0x369,_0x1d2b09._0x1e1a52)]('\x0a');return yield createToolOutput(_0x5b1851,{..._0x5c74cd,'lineRange':{'lineStart':_0x1fff1f,'lineEnd':_0xa8735e,'linesTotal':_0x19c5fe[_0xa6cf5d(_0x1d2b09._0x133ae5,_0x1d2b09._0x5c7dd6,_0x1d2b09._0x50516a,_0x1d2b09._0x1c26b3)]}}),void 0x0;}return yield createToolOutput(_0x206103,_0x5c74cd),void 0x0;}});}import{stat as _0x3e2963}from'fs/promises';import*as _0x1a8a59 from'path';import{execSync,spawn as _0x12c5c1}from'child_process';import{existsSync}from'fs';import{stat as _0x3c5f37}from'fs/promises';import*as _0x38ad55 from'os';import*as _0x44ae8e from'path';import{rgPath as _0x143c48}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x37c0f5={_0x1d4f8a:0x6c,_0x1c0598:0x158,_0x1a8a3d:0x484,_0x1b8b9d:0x39a,_0x151e95:0x4e9,_0x23e549:0x199,_0x27a2c4:0x11f,_0x392660:0x294,_0x2ddebd:0x1c2,_0xfcb4d4:0x157,_0x463e41:0x138,_0x10d4c6:0x1a4,_0x36e46a:0x1a3,_0x103dcd:0x91,_0x182aa8:0x19d,_0x165d83:0x2b7,_0xb6da85:0x41d,_0x2e758c:0x48b,_0x3d30ab:0x12b,_0x4b6039:0x2d2,_0x163cd3:0x325,_0x64d077:0x177,_0x1af864:0x4d,_0x21cd90:0xae,_0xb41bf4:0x1c5,_0x4dd039:0x33b,_0x1f70cd:0x3cd,_0x3e2b14:0x39c,_0x372fbc:0x21,_0x5217ea:0x237,_0x1c965b:0xe3,_0x3b52c6:0xf0,_0x1d9ed9:0x410,_0x437b93:0x4e1,_0x22ebfa:0xfe,_0x3502bb:0x248,_0x31f77c:0x2b6,_0x23b63f:0x2c9,_0x2b112c:0x28d,_0x113a70:0x1af,_0x28a85a:0x7c,_0x212a7b:0x38},_0x1688b8={_0x3f3db2:0x101,_0x472d38:0x62,_0xf55187:0x14f},_0xa62d04={_0x5ac5df:0x38,_0x49e87f:0xa8,_0x2b67c3:0x1bf},_0x1cecd7=_0x38ad55[_0xb3fd89(0xd5,-_0x37c0f5._0x1d4f8a,-0x1e0,-_0x37c0f5._0x1c0598)]()===_0x1f76fc(_0x37c0f5._0x1a8a3d,0x438,0x348,0x455),_0xaa422c=_0x1cecd7?[_0x44ae8e[_0x1f76fc(_0x37c0f5._0x1b8b9d,0x462,0x4b4,_0x37c0f5._0x151e95)](process[_0x1f76fc(0x30e,0x434,0x51c,0x378)][_0xb3fd89(-_0x37c0f5._0x23e549,-_0x37c0f5._0x27a2c4,-_0x37c0f5._0x392660,-_0x37c0f5._0x2ddebd)]||'',_0xb3fd89(-0x28,-0x85,-_0x37c0f5._0xfcb4d4,-0x20e),_0xb3fd89(-0x13a,-_0x37c0f5._0x463e41,-0xff,-_0x37c0f5._0x10d4c6),'Packages'),_0x44ae8e['join'](process[_0xb3fd89(-_0x37c0f5._0x36e46a,-0x3e,_0x37c0f5._0x103dcd,-_0x37c0f5._0x182aa8)][_0xb3fd89(-0x2da,-0x1d7,-0x11a,-_0x37c0f5._0x165d83)]||'','ripgrep',_0x1f76fc(_0x37c0f5._0xb6da85,0x33b,0x488,_0x37c0f5._0x2e758c)),_0x44ae8e[_0xb3fd89(0x139,-0x10,-0xd6,-_0x37c0f5._0x3d30ab)](process[_0xb3fd89(0x4a,-0x3e,-0xcd,0xb7)][_0x1f76fc(_0x37c0f5._0x4b6039,0x1fe,_0x37c0f5._0x163cd3,_0x37c0f5._0x64d077)]||'',_0xb3fd89(-_0x37c0f5._0x1af864,-_0x37c0f5._0x21cd90,-0x222,-0x105),_0x1f76fc(_0x37c0f5._0xb41bf4,_0x37c0f5._0x4dd039,_0x37c0f5._0x1f70cd,_0x37c0f5._0x3e2b14))]:[_0xb3fd89(-0x159,-0x3f,-0x182,_0x37c0f5._0x372fbc),_0x1f76fc(0x3ad,0x45c,0x5e4,0x317),'/usr/bin/rg',_0xb3fd89(-_0x37c0f5._0x5217ea,-0x191,-_0x37c0f5._0x1c965b,-0x25b)];for(const _0x3694e3 of _0xaa422c){if(existsSync(_0x3694e3))return _0x3694e3;}function _0x1f76fc(_0x421376,_0x109d85,_0x133ec5,_0x342827){return _0x5b337b(_0x109d85- -_0xa62d04._0x5ac5df,_0x421376,_0x133ec5-_0xa62d04._0x49e87f,_0x342827-_0xa62d04._0x2b67c3);}try{const _0x12e405=_0x1cecd7?'where\x20rg':_0xb3fd89(-_0x37c0f5._0x3b52c6,0x75,0x154,0x110),_0x5c17bd=execSync(_0x12e405,{'encoding':_0x1f76fc(0x427,0x416,_0x37c0f5._0x1d9ed9,_0x37c0f5._0x437b93),'stdio':[_0x1f76fc(_0x37c0f5._0x22ebfa,0x248,0xb5,0x2ca),_0x1f76fc(0x228,_0x37c0f5._0x3502bb,_0x37c0f5._0x31f77c,_0x37c0f5._0x23b63f),_0xb3fd89(-_0x37c0f5._0x2b112c,-0x12c,-_0x37c0f5._0x113a70,-0x5a)]})[_0xb3fd89(0x8e,-_0x37c0f5._0x28a85a,-_0x37c0f5._0x212a7b,-0xa8)]()['split'](/\r?\n/)[0x0];if(_0x5c17bd&&existsSync(_0x5c17bd))return _0x5c17bd;}catch{return null;}function _0xb3fd89(_0x4c76be,_0x29b7bc,_0x58ecc1,_0xb869c1){return _0x125cf4(_0x4c76be-_0x1688b8._0x3f3db2,_0x29b7bc-_0x1688b8._0x472d38,_0x4c76be,_0xb869c1-_0x1688b8._0xf55187);}return null;}async function filepath(){const _0x1ccc9c={_0x453d0f:0x9,_0x3804b9:0x287},_0x5a7578={_0x389df7:0x430,_0x44dbdf:0x4e,_0x14e209:0x1a8};if(cachedRgPath)return cachedRgPath;if(_0x143c48&&existsSync(_0x143c48))return cachedRgPath=_0x143c48,_0x143c48;const _0x2fece2=findSystemRipgrep();if(!_0x2fece2)throw new Error(_0x129964(_0x1ccc9c._0x453d0f,-0x167,-_0x1ccc9c._0x3804b9,-0x151));function _0x129964(_0x476eea,_0x3a6919,_0x4a7e48,_0x56369f){return _0x5b337b(_0x56369f- -_0x5a7578._0x389df7,_0x3a6919,_0x4a7e48-_0x5a7578._0x44dbdf,_0x56369f-_0x5a7578._0x14e209);}return cachedRgPath=_0x2fece2,_0x2fece2;}async function*files(_0x4de0c4){const _0x648636={_0x170a15:0x3c8,_0x16d49c:0x2ce,_0x26cd02:0x1ce,_0x233989:0x16c,_0xe85d32:0x2d4,_0x1802ad:0x1ab,_0x1850fc:0x201,_0x1a2c6e:0x2e7,_0x1f0a99:0x308,_0x456fb5:0x459,_0x4ef0b4:0x3dc,_0x56221e:0xb1,_0x3bd101:0x45,_0x68985:0x191,_0x4172bc:0x2ed,_0x1bdd9d:0x23e,_0x44e3a5:0x3ef,_0x38b93e:0x2f4,_0xe675b0:0x1b0,_0x277ac8:0x24f,_0x2df9e6:0x478,_0x1a1e5b:0x303,_0xdc3f8d:0x3ea,_0x35c460:0x383,_0x3c993c:0x246,_0x584838:0xc5,_0x4a82b9:0x135,_0x77fb5d:0x188,_0x3ad05e:0x12e,_0x28e238:0x135},_0x5b0fce={_0x4f7e38:0x16f,_0x432f7c:0x1a6},_0x5574cc=await filepath(),_0x2d800f=await _0x3c5f37(_0x4de0c4[_0x4cae00(-0x34,0x106,0x1d,-0x4c)])[_0x33788f(_0x648636._0x170a15,_0x648636._0x16d49c,_0x648636._0x26cd02,_0x648636._0x233989)](()=>null);function _0x33788f(_0x91857d,_0x54c7c9,_0x1ffebf,_0x2e19e5){return _0x125cf4(_0x91857d-0x1db,_0x54c7c9-0x2dc,_0x1ffebf,_0x2e19e5-0x4c);}if(!_0x2d800f?.['isDirectory']())throw Object['assign'](new Error(_0x33788f(0x262,_0x648636._0xe85d32,_0x648636._0x1802ad,_0x648636._0x1850fc)+_0x4de0c4[_0x33788f(0x2bc,_0x648636._0x1a2c6e,_0x648636._0x1f0a99,_0x648636._0x456fb5)]+'\x27'),{'code':_0x4cae00(-_0x648636._0x4ef0b4,-0x2e1,-0x203,-0x28b)});const _0x26ce14=['--files','--follow',_0x4cae00(-0x167,-_0x648636._0x56221e,0xd3,-_0x648636._0x3bd101),'--glob=!.git/*'];for(const _0x1258dd of _0x4de0c4['glob']??[]){_0x26ce14[_0x33788f(0x295,_0x648636._0x68985,_0x648636._0x4172bc,0x1c3)]('--glob='+_0x1258dd);}const _0x2f23e4=_0x12c5c1(_0x5574cc,_0x26ce14,{'cwd':_0x4de0c4[_0x33788f(_0x648636._0x1bdd9d,0x2e7,0x410,_0x648636._0x44e3a5)],'stdio':['ignore','pipe','pipe']});function _0x4cae00(_0x188022,_0x3f2057,_0x254cf,_0x5eadc1){return _0x5b337b(_0x5eadc1- -0x563,_0x3f2057,_0x254cf-_0x5b0fce._0x4f7e38,_0x5eadc1-_0x5b0fce._0x432f7c);}let _0x45b6cf='';for await(const _0x45e48c of _0x2f23e4[_0x4cae00(-_0x648636._0x38b93e,-0x3b6,-_0x648636._0xe675b0,-_0x648636._0x277ac8)]??[]){_0x45b6cf+=_0x45e48c['toString']();const _0x1ba4a1=_0x45b6cf[_0x4cae00(-_0x648636._0x2df9e6,-0x1d0,-0x414,-_0x648636._0x1a1e5b)](/\r?\n/);_0x45b6cf=_0x1ba4a1[_0x4cae00(-_0x648636._0xdc3f8d,-_0x648636._0x35c460,-_0x648636._0x3c993c,-0x2b6)]()??'';for(const _0x4b2dee of _0x1ba4a1){if(_0x4b2dee['length']>0x0)yield _0x4b2dee;}}_0x45b6cf[_0x4cae00(-0x1d9,-_0x648636._0x584838,-0x139,-_0x648636._0x4a82b9)]()['length']>0x0&&(yield _0x45b6cf[_0x4cae00(-0x130,-_0x648636._0x77fb5d,-_0x648636._0x3ad05e,-_0x648636._0x28e238)]());}function parseMatchLine(_0x52b0aa,_0x2758eb){const _0x54c91a={_0x1437ec:0x9f,_0x3fd3ba:0x178,_0x3123bf:0x183,_0x2019e6:0x308,_0x5ad0f5:0x51,_0x1c34d4:0x88,_0x1e46ad:0x37d,_0x3f6ed9:0x4c6,_0x1a88a8:0x3b9,_0x153ce1:0x51,_0x1ae962:0x95,_0x489069:0x231,_0xa2145c:0x4b6,_0x1c3a80:0x19b,_0x6cf5b2:0x2e,_0x338bce:0x2bd,_0x3a8081:0x152,_0x5b915e:0x20d,_0x27cc5e:0x2d3,_0x4a958c:0x3f7},_0x44683f={_0x58594f:0xa3},_0x25e5cb={_0xf1c90b:0x20d};function _0x36aa01(_0xb6ce8c,_0x17370b,_0x2845f5,_0x2bfe7b){return _0x125cf4(_0xb6ce8c-0x167,_0xb6ce8c-_0x25e5cb._0xf1c90b,_0x17370b,_0x2bfe7b-0x11c);}if(!_0x52b0aa||_0x52b0aa==='--')return null;const _0x1a0ff1=_0x52b0aa[_0x36aa01(-_0x54c91a._0x1437ec,-_0x54c91a._0x3fd3ba,-0x106,-0xd2)]('|');function _0x50fada(_0x395ff0,_0x399475,_0x529fbf,_0x28f786){return _0x5b337b(_0x529fbf- -_0x44683f._0x58594f,_0x28f786,_0x529fbf-0x56,_0x28f786-0xaf);}if(_0x2758eb&&_0x1a0ff1[_0x36aa01(_0x54c91a._0x3123bf,0xff,_0x54c91a._0x2019e6,0x221)]>=0x4&&Number[_0x36aa01(_0x54c91a._0x5ad0f5,_0x54c91a._0x1c34d4,0x2f,-0x20)](Number[_0x50fada(_0x54c91a._0x1e46ad,_0x54c91a._0x3f6ed9,_0x54c91a._0x1a88a8,0x4dc)](_0x1a0ff1[0x2]??'',0xa))){const _0x6b8ed0=Number[_0x50fada(0x2c6,0x30c,0x3b9,0x29a)](_0x1a0ff1[0x1]??'',0xa);if(!Number[_0x36aa01(_0x54c91a._0x153ce1,_0x54c91a._0x1ae962,0x14a,0x131)](_0x6b8ed0)||!_0x1a0ff1[0x0])return null;return{'filePath':_0x1a0ff1[0x0],'lineNum':_0x6b8ed0,'lineText':_0x1a0ff1[_0x50fada(_0x54c91a._0x489069,0x30c,0x3ae,_0x54c91a._0xa2145c)](0x3)[_0x36aa01(_0x54c91a._0x1c3a80,0x2f4,_0x54c91a._0x6cf5b2,0x35)]('|')};}if(_0x1a0ff1['length']>=0x3){const _0x46db6a=Number[_0x36aa01(0x15d,_0x54c91a._0x338bce,0x1e5,0xc2)](_0x1a0ff1[0x1]??'',0xa);if(!Number['isFinite'](_0x46db6a)||!_0x1a0ff1[0x0])return null;return{'filePath':_0x1a0ff1[0x0],'lineNum':_0x46db6a,'lineText':_0x1a0ff1[_0x36aa01(_0x54c91a._0x3a8081,_0x54c91a._0x5b915e,_0x54c91a._0x27cc5e,0x1fe)](0x2)[_0x50fada(0x338,0x41c,_0x54c91a._0x4a958c,0x348)]('|'),..._0x2758eb?{'isContext':!![]}:{}};}return null;}async function search(_0x4676db){const _0x4b6591={_0x52d2b6:0x157,_0x3e5c1b:0x15d,_0x566d2f:0x160,_0x58ed4b:0x74,_0x367dc4:0x334,_0x1afe85:0x203,_0x53becb:0xb1,_0x2134b1:0x6f,_0x3edc0a:0x484,_0x381da4:0x33f,_0x5cfdc7:0x46c,_0x161b75:0x43e,_0x19c18f:0x23f,_0x503ba5:0x35b,_0x2c76a0:0x2d,_0x1a6691:0xcc,_0xfc59dd:0x25e,_0x27ab98:0x209,_0x1fa661:0x305,_0x2723ff:0x390,_0x3c8d96:0x398,_0x101449:0x220,_0x44bed8:0x2be,_0x5b023e:0x14c,_0x221c94:0x8c,_0x4f3a3b:0xb2,_0x4b2876:0x99,_0x5ea8b8:0x61,_0x946548:0x4ee,_0x412231:0x3a7,_0x9c14c3:0x31d,_0xe81795:0x20d,_0x3a816d:0x292,_0xc1848d:0x477,_0x544a12:0x43a,_0xe0846e:0x4a6,_0x59a615:0x5ce,_0x4a8982:0x27c,_0x166135:0xa7,_0x3535df:0x159,_0xb9135a:0xfc,_0x3b1f1f:0x21c,_0x28aa06:0x17a},_0x60b23={_0x5985a1:0x151,_0x443f1c:0x1b1,_0x2ffbc8:0x276,_0x3e76b9:0x3da,_0x5f08c4:0x93,_0x2c51b1:0x3f,_0x1929a3:0x14e,_0x5870de:0x83,_0x15a251:0x199,_0x246cff:0x46,_0x144766:0x33,_0x579dcf:0x21,_0xbc8d2a:0x12,_0x456727:0x8,_0x547225:0x2ef,_0x3ce7b8:0x1d5,_0x32bbdf:0x58,_0x20b469:0x488,_0xfec948:0x51b,_0x20eaa3:0x446,_0x310869:0x2cf,_0xe97b25:0x437},_0x19b6ba={_0x2e5f06:0x198,_0x3b1db9:0xcb,_0x1096ee:0x6d,_0x396589:0x21b,_0x2e1fda:0x2af,_0xf851e1:0x23f,_0x3f657c:0x7,_0x25f545:0xfa,_0x18d5ca:0x12c,_0x4e9271:0x132,_0x55e047:0x1dd,_0x4fb7e3:0xbf},_0x2a4a7b={_0x2f59c0:0x6c,_0x39b08b:0x13b},_0x200b97={_0x22a393:0x28,_0x2befdc:0x30},_0x433ca1={_0x3dce31:0x8d,_0x441dd7:0x211,_0x597b1a:0x19b};function _0x8812d9(_0x4c6be2,_0x508635,_0x5e69a8,_0x14d314){return _0x125cf4(_0x4c6be2-_0x433ca1._0x3dce31,_0x508635-_0x433ca1._0x441dd7,_0x5e69a8,_0x14d314-_0x433ca1._0x597b1a);}const _0xe12706=await filepath();if(_0x4676db[_0x8812d9(_0x4b6591._0x52d2b6,_0x4b6591._0x3e5c1b,_0x4b6591._0x566d2f,0x2c0)]){const _0x2f0796=await _0x3c5f37(_0x4676db[_0x8812d9(0x247,_0x4b6591._0x3e5c1b,0x1aa,_0x4b6591._0x58ed4b)])[_0x8812d9(_0x4b6591._0x367dc4,_0x4b6591._0x1afe85,_0x4b6591._0x53becb,0x24f)](()=>null);if(!_0x2f0796?.['isFile']())throw Object[_0x8812d9(-_0x4b6591._0x2134b1,-0x2d,-0x195,0x13)](new Error(_0x570c4d(0x4aa,_0x4b6591._0x3edc0a,_0x4b6591._0x381da4,0x445)+_0x4676db[_0x570c4d(0x351,_0x4b6591._0x5cfdc7,0x557,_0x4b6591._0x161b75)]+'\x27'),{'code':'ENOENT'});}else{const _0x26a3f4=await _0x3c5f37(_0x4676db[_0x8812d9(0x39c,0x21c,_0x4b6591._0x19c18f,_0x4b6591._0x503ba5)])[_0x570c4d(0x41b,0x5ae,0x517,0x4e4)](()=>null);if(!_0x26a3f4?.['isDirectory']())throw Object[_0x8812d9(0xde,-_0x4b6591._0x2c76a0,-_0x4b6591._0x1a6691,-0xec)](new Error(_0x8812d9(_0x4b6591._0xfc59dd,_0x4b6591._0x27ab98,_0x4b6591._0x1fa661,_0x4b6591._0x2723ff)+_0x4676db['cwd']+'\x27'),{'code':_0x570c4d(_0x4b6591._0x3c8d96,0x314,_0x4b6591._0x101449,_0x4b6591._0x44bed8)});}const _0x58b8c2=[_0x8812d9(0xb0,-0xd9,-0x25e,-0x11e),_0x8812d9(-_0x4b6591._0x5b023e,-_0x4b6591._0x221c94,-_0x4b6591._0x4f3a3b,-0xbe),'--field-context-separator=|',_0x8812d9(0xb7,-0xd1,-0x21d,-_0x4b6591._0x4b2876),_0x4676db['pattern']],_0x5029d3=typeof _0x4676db['context']===_0x8812d9(-0x6d,-_0x4b6591._0x5ea8b8,-0x1e6,-0x1d)&&_0x4676db[_0x570c4d(0x459,0x590,0x3c7,_0x4b6591._0x946548)]>0x0;_0x5029d3&&_0x58b8c2[_0x570c4d(0x4b1,0x492,0x533,_0x4b6591._0x412231)]('-C',String(_0x4676db[_0x8812d9(_0x4b6591._0x9c14c3,_0x4b6591._0xe81795,0x194,_0x4b6591._0x3a816d)]),_0x570c4d(_0x4b6591._0xc1848d,0x418,0x311,0x3c5));function _0x570c4d(_0x72adae,_0x180c71,_0x413450,_0x4bebc0){return _0x5b337b(_0x4bebc0- -0x1a,_0x413450,_0x413450-_0x200b97._0x22a393,_0x4bebc0-_0x200b97._0x2befdc);}return _0x4676db[_0x570c4d(0x4c9,0x4fe,0x2b7,_0x4b6591._0x544a12)]&&!_0x4676db[_0x570c4d(0x44f,_0x4b6591._0xe0846e,_0x4b6591._0x59a615,_0x4b6591._0x161b75)]&&_0x58b8c2[_0x570c4d(0x2dd,0x4bb,_0x4b6591._0x4a8982,0x3a7)](_0x8812d9(-0x1a2,-_0x4b6591._0x166135,-0x19e,-0x81),_0x4676db[_0x8812d9(0x168,_0x4b6591._0x3535df,_0x4b6591._0xb9135a,0x44)]),_0x58b8c2['push'](_0x4676db['file']??_0x4676db[_0x8812d9(0x105,_0x4b6591._0x3b1f1f,0x333,_0x4b6591._0x28aa06)]),await new Promise((_0x2d3053,_0x25f3de)=>{const _0x2b8a7d={_0x30a0b5:0x19c},_0x18a689={_0x4c8b1c:0x59c,_0x496221:0x26,_0x303119:0xb5},_0x2364c8={_0x108187:0xc0},_0x5d6bd4={_0x1ea2f9:0x194},_0x59dec7={_0x86d799:0xee},_0x13b986={_0x28fc41:0xc2},_0x80345c=_0x12c5c1(_0xe12706,_0x58b8c2,{'cwd':_0x4676db[_0x555169(_0x60b23._0x5985a1,_0x60b23._0x443f1c,_0x60b23._0x2ffbc8,_0x60b23._0x3e76b9)],'stdio':[_0x555169(-_0x60b23._0x5f08c4,0x24e,0xdd,_0x60b23._0x2c51b1),_0x555169(_0x60b23._0x1929a3,-_0x60b23._0x5870de,-0x21,-_0x60b23._0x15a251),_0x555169(-_0x60b23._0x246cff,_0x60b23._0x144766,-_0x60b23._0x579dcf,0x62)]});let _0x55bcb6='',_0x14ea33='';function _0x380daa(_0x687bd4,_0x13508f,_0xdecc8b,_0x32bac0){return _0x570c4d(_0x687bd4-0x1d3,_0x13508f-_0x2a4a7b._0x2f59c0,_0x32bac0,_0x687bd4-_0x2a4a7b._0x39b08b);}_0x80345c[_0x555169(0x64,-0x59,0x73,-_0x60b23._0xbc8d2a)]?.['on'](_0x555169(0xca,_0x60b23._0x456727,0xc6,0x20),_0x2ec737=>{function _0x553152(_0xd9c062,_0x5e7989,_0x1289fe,_0x255dc8){return _0x380daa(_0x5e7989- -0x45e,_0x5e7989-_0x13b986._0x28fc41,_0x1289fe-0x1ed,_0x1289fe);}_0x55bcb6+=_0x2ec737[_0x553152(-0x123,-0x123,-0xa1,-_0x59dec7._0x86d799)]();}),_0x80345c[_0x555169(0x311,_0x60b23._0x547225,_0x60b23._0x3ce7b8,_0x60b23._0x32bbdf)]?.['on'](_0x380daa(_0x60b23._0x20b469,0x366,0x5d5,_0x60b23._0xfec948),_0x1df2f4=>{function _0x2c3d5a(_0x44eae6,_0x7ae9e4,_0x3169ed,_0x5f0e98){return _0x380daa(_0x5f0e98- -0x30f,_0x7ae9e4-0x18,_0x3169ed-_0x5d6bd4._0x1ea2f9,_0x7ae9e4);}_0x14ea33+=_0x1df2f4[_0x2c3d5a(0xff,-0xf9,_0x2364c8._0x108187,0x2c)]();}),_0x80345c['on'](_0x380daa(0x3f2,_0x60b23._0x20eaa3,_0x60b23._0x310869,_0x60b23._0xe97b25),_0x2ac6a1=>{const _0x2a46a9={_0x368d74:0x53,_0x3b8b54:0x94};if(_0x2ac6a1===0x1&&_0x55bcb6===''){_0x2d3053([]);return;}if(_0x2ac6a1!==0x0&&_0x2ac6a1!==0x1){_0x25f3de(new Error(_0x567173(-_0x19b6ba._0x2e5f06,_0x19b6ba._0x3b1db9,-0x192,-_0x19b6ba._0x1096ee)+_0x14ea33));return;}const _0x4e561b=_0x4676db['limit']??0x64;function _0x567173(_0x1f4108,_0x3c815d,_0x552f1f,_0x4df47a){return _0x380daa(_0x4df47a- -0x5a1,_0x3c815d-_0x2a46a9._0x368d74,_0x552f1f-_0x2a46a9._0x3b8b54,_0x3c815d);}const _0x4cabb9=[];function _0x2ca913(_0x52bd4f,_0x277374,_0x4bf2fd,_0x5d1626){return _0x380daa(_0x277374- -_0x18a689._0x4c8b1c,_0x277374-_0x18a689._0x496221,_0x4bf2fd-_0x18a689._0x303119,_0x52bd4f);}for(const _0x5435c8 of _0x55bcb6[_0x2ca913(-0x2dc,-_0x19b6ba._0x396589,-_0x19b6ba._0x2e1fda,-_0x19b6ba._0xf851e1)](/\r?\n/)){if(_0x4cabb9[_0x2ca913(0x1a,_0x19b6ba._0x3f657c,-_0x19b6ba._0x25f545,-_0x19b6ba._0x18d5ca)]>=_0x4e561b)break;const _0x550ddb=parseMatchLine(_0x5435c8,_0x5029d3);if(_0x550ddb)_0x4cabb9[_0x567173(-_0x19b6ba._0x4e9271,-_0x19b6ba._0x55e047,-_0x19b6ba._0x3b1db9,-_0x19b6ba._0x4fb7e3)](_0x550ddb);}_0x2d3053(_0x4cabb9);});function _0x555169(_0x518cb6,_0x2ca780,_0xfdeea2,_0x117132){return _0x570c4d(_0x518cb6-0x16b,_0x2ca780-_0x2b8a7d._0x30a0b5,_0x518cb6,_0xfdeea2- -0x287);}_0x80345c['on']('error',_0x25f3de);});}function createGlobTool(_0xc6f83f={}){const _0x3a4461={_0xc28ac6:0x56,_0x422f3c:0x13f,_0x7514ea:0x1d,_0x248d39:0x108,_0x87e2be:0x3e5,_0x4ed706:0x291,_0x12548e:0xa1,_0x38a328:0x2e,_0x18e660:0x106,_0x2eb05e:0xe,_0x17d14c:0x18,_0xf8584:0xa7,_0x18010d:0x444,_0x1f8d1d:0x488,_0x5bc33b:0x331,_0x5d34d1:0x11d,_0x45902e:0x1e0,_0x50a09e:0x296,_0x8ce47:0xcb,_0x141cb9:0x15d,_0x1a252c:0x139,_0x5805dd:0x1a8},_0x30f6db={_0x1473c7:0x65f,_0x1a0f9f:0x397,_0x5b904d:0x61c,_0x5ed5e5:0x7c4,_0xbc51c5:0x470,_0x15ec62:0x3d7,_0x5ec56a:0x343,_0x264a14:0x493,_0x3b02d9:0x353,_0x52c947:0x3db,_0x2c5f0f:0x1cf,_0x53261d:0x351,_0x3443cf:0x1e6,_0x301743:0x183,_0x5628f6:0x1a1,_0x55e42d:0x3bf,_0x390a0f:0x2b0,_0x1249b7:0x406,_0x4223c4:0x7e,_0x56f354:0x8c,_0x5e9c0e:0x243,_0x516aff:0xef,_0x548bea:0x393,_0x21595a:0x1f6,_0x1d61e1:0x5bd,_0x159f1d:0x572,_0x33f0bc:0x506,_0xf57bf3:0x2bc,_0x6831d0:0x260,_0x6a36ab:0x43c,_0x314493:0x198,_0x598b3e:0x621,_0x13e6cf:0x73a,_0x855515:0x5f,_0x329dc4:0x74c,_0xba4320:0x1ed,_0x540859:0x20d,_0x4fef98:0x39b,_0x4883c3:0xd1,_0x2fb744:0x200,_0x1a206f:0x798,_0x43f65f:0x70b},_0x5ca1eb={_0x5246f9:0x1d8,_0x5c5b15:0x4d7,_0x758ff3:0xa1},_0x21bbc0={_0xc0ec79:0x11e,_0x557920:0x1d},_0xeaab3={_0x228a1e:0x142},_0x3704c6={_0x53a5c9:0x4d,_0x56cdd2:0x11b},_0x1af33c=_0x1a8a59['resolve'](_0xc6f83f[_0x7a895e(_0x3a4461._0xc28ac6,-_0x3a4461._0x422f3c,-_0x3a4461._0x7514ea,0x170)]??process['cwd']()),_0x5bd96a=_0xc6f83f[_0x3a64a2(0x16e,_0x3a4461._0x248d39,_0x3a4461._0x87e2be,_0x3a4461._0x4ed706)]??[];function _0x3a64a2(_0x46a456,_0xfaf87c,_0x3ac08d,_0x3591fe){return _0x5b337b(_0x3591fe- -0x1fb,_0xfaf87c,_0x3ac08d-_0x3704c6._0x53a5c9,_0x3591fe-_0x3704c6._0x56cdd2);}function _0x7a895e(_0x3971dc,_0x477ad8,_0xf30b72,_0x530730){return _0x5b337b(_0xf30b72- -0x333,_0x477ad8,_0xf30b72-_0xeaab3._0x228a1e,_0x530730-0x14b);}const _0x5f5b64=_0xc6f83f[_0x7a895e(-0x136,_0x3a4461._0x12548e,_0x3a4461._0x38a328,-0x115)]??0x64,_0x2184b9=_0xc6f83f['name']??_0x3a64a2(0xff,_0x3a4461._0x18e660,-0x3,0xf5);return defineTool({'name':_0x2184b9,'permissionClass':_0x7a895e(-0xb7,_0x3a4461._0x2eb05e,_0x3a4461._0x17d14c,-_0x3a4461._0xf8584),'description':_0x3a64a2(_0x3a4461._0x18010d,_0x3a4461._0x1f8d1d,0x40a,_0x3a4461._0x5bc33b),'inputSchema':{'type':_0x7a895e(_0x3a4461._0x5d34d1,_0x3a4461._0x45902e,0xad,0xde),'properties':{'pattern':{'type':_0x3a64a2(0x24c,0x3a3,0x1c9,_0x3a4461._0x50a09e)},'path':{'type':_0x7a895e(_0x3a4461._0x8ce47,_0x3a4461._0x141cb9,0x15e,0x68)},'limit':{'type':_0x7a895e(-0x8f,-_0x3a4461._0x1a252c,-0x99,-_0x3a4461._0x5805dd)}},'required':['pattern']},async *'execute'(_0x663d57){if(_0x663d57[_0x534332(_0x30f6db._0x1473c7,0x6bd,0x452,0x5c5)][_0x1aa896(0x250,0x28f,_0x30f6db._0x1a0f9f,0x371)]()['length']===0x0)throw new ToolExecutionError(_0x534332(_0x30f6db._0x5b904d,0x54f,0x536,0x580),{});const _0x52cd87=resolveAllowedPath(_0x1af33c,_0x5bd96a,_0x663d57[_0x534332(0x7a9,_0x30f6db._0x5ed5e5,0x835,0x6d3)]??'.'),_0x24b94b=await _0x3e2963(_0x52cd87)['catch'](()=>null);if(!_0x24b94b?.[_0x534332(_0x30f6db._0xbc51c5,0x4ae,0x284,_0x30f6db._0x15ec62)]())throw new ToolExecutionError(_0x534332(0x51e,_0x30f6db._0x5ec56a,0x456,_0x30f6db._0x264a14)+(_0x663d57[_0x1aa896(0x351,_0x30f6db._0x3b02d9,_0x30f6db._0x52c947,_0x30f6db._0x2c5f0f)]??'.'),{'path':_0x663d57[_0x1aa896(_0x30f6db._0x53261d,_0x30f6db._0x3443cf,0x4e2,0x34d)]??'.'});const _0x10575b=_0x663d57[_0x1aa896(_0x30f6db._0x301743,-0x6,0xf7,_0x30f6db._0x5628f6)]??_0x5f5b64,_0x40cb8e=Math[_0x534332(0x377,_0x30f6db._0x55e42d,_0x30f6db._0x390a0f,_0x30f6db._0x1249b7)](0x1,Math[_0x1aa896(0xe9,0x214,-_0x30f6db._0x4223c4,_0x30f6db._0x56f354)](_0x10575b));function _0x1aa896(_0x30d677,_0x38a398,_0xca2ab7,_0x17c4a3){return _0x3a64a2(_0x30d677-0x1ca,_0x17c4a3,_0xca2ab7-_0x21bbc0._0xc0ec79,_0x30d677-_0x21bbc0._0x557920);}const _0x3d0a4a=[];let _0x91d255=![];for await(const _0x185aa3 of files({'cwd':_0x52cd87,'glob':[_0x663d57[_0x1aa896(_0x30f6db._0x5e9c0e,_0x30f6db._0x516aff,_0x30f6db._0x548bea,_0x30f6db._0x21595a)]]})){if(_0x3d0a4a[_0x534332(_0x30f6db._0x1d61e1,_0x30f6db._0x159f1d,_0x30f6db._0x33f0bc,0x626)]>=_0x40cb8e){_0x91d255=!![];break;}const _0x33c944=await _0x3e2963(_0x1a8a59[_0x1aa896(_0x30f6db._0xf57bf3,_0x30f6db._0x6831d0,_0x30f6db._0x6a36ab,_0x30f6db._0x314493)](_0x52cd87,_0x185aa3))[_0x534332(0x73a,_0x30f6db._0x598b3e,_0x30f6db._0x13e6cf,0x6a2)](()=>null);_0x3d0a4a['push']({'path':_0x185aa3,'mtime':_0x33c944?.['mtimeMs']??0x0});}_0x3d0a4a[_0x1aa896(0x18e,0x78,_0x30f6db._0x855515,0xfd)]((_0x3e00e7,_0x4cb7ec)=>_0x4cb7ec[_0x1aa896(0x109,0x1ca,0x28c,0xf2)]-_0x3e00e7['mtime']);const _0x41cd5a=_0x3d0a4a['map'](_0x26b2fc=>_0x26b2fc[_0x534332(0x680,0x5cc,0x75b,0x6d3)]),_0x2d8877=_0x41cd5a[_0x534332(_0x30f6db._0x329dc4,0x527,0x4c9,0x626)]===0x0?_0x1aa896(_0x30f6db._0xba4320,0x272,_0x30f6db._0x540859,0xec)+_0x663d57[_0x1aa896(0x243,_0x30f6db._0x4fef98,0x391,0x11e)]:''+_0x41cd5a['join']('\x0a')+(_0x91d255?_0x1aa896(0x236,0x33a,_0x30f6db._0x4883c3,0xc1):'');function _0x534332(_0x1169df,_0x292441,_0x49a28d,_0x10ca5f){return _0x7a895e(_0x1169df-_0x5ca1eb._0x5246f9,_0x292441,_0x10ca5f-_0x5ca1eb._0x5c5b15,_0x10ca5f-_0x5ca1eb._0x758ff3);}return yield createToolOutput(_0x2d8877,{'pattern':_0x663d57['pattern'],'searchPath':_0x1a8a59[_0x1aa896(_0x30f6db._0x2fb744,0x392,0x262,0xc9)](_0x1af33c,_0x52cd87)||'.','matches':_0x41cd5a,'count':_0x41cd5a[_0x534332(_0x30f6db._0x1a206f,_0x30f6db._0x43f65f,0x67a,0x626)],'truncated':_0x91d255}),void 0x0;}});}import{stat as _0x59585c}from'fs/promises';import*as _0x2546d0 from'path';var MAX_LINE_LENGTH=0x7d0;function createGrepTool(_0x15b59b={}){const _0x205f4a={_0x48ad5a:0xf8,_0x1b010e:0x25a,_0x49f3f3:0x278,_0x504699:0x205,_0x20078c:0x5f,_0x3a8676:0x68,_0x2bd8b7:0x183,_0x2486fa:0x271,_0x5aa8b5:0x257,_0x1ede52:0x2ad,_0x415056:0x3a,_0x3ba7ce:0x3f3,_0x5740de:0x50f,_0x45625c:0x364,_0x285bdf:0x30a,_0x29051a:0xf6,_0x25d2f0:0x25a,_0x557a15:0x18e,_0x2685ca:0x220,_0x15e18a:0x13},_0x6cdb81={_0x419df4:0x40b,_0x4c9836:0x3b2,_0x2653aa:0x181,_0x2ac75e:0x13c,_0xda41d6:0x371,_0x336cbd:0x3c8,_0x3321d1:0x1ce,_0x4834a3:0x235,_0x40b727:0x1a0,_0x165b72:0x2e4,_0x58d816:0x217,_0x41ab92:0x176,_0x2fdd48:0xcf,_0x35084c:0xbd,_0x531138:0x107,_0x1c2cad:0x2da,_0x2c804b:0x94,_0x188694:0x219,_0x50dd3d:0x385,_0x4b74f2:0x1b4,_0x57752c:0x236,_0x17cddd:0xb2,_0x4d0ce0:0x1ae,_0x484be3:0x10b,_0x411a2c:0x85,_0x4fced5:0x2d6,_0x5642dd:0x269,_0x5192c6:0x36d,_0x3acbfa:0x2f4,_0x137819:0xd2,_0x47ca6d:0x41,_0x5610c2:0x1ee,_0x2f3e08:0x85,_0x24bb5b:0x85,_0x5983b7:0x185,_0x4a35e1:0xe6,_0x40c43e:0x313,_0x12e019:0xf2,_0x58f763:0x2c6,_0x28f7d0:0x162,_0x138441:0x2b5,_0x3cec74:0x2ca,_0x114201:0x191,_0x174415:0x3aa,_0x3ad6be:0x198,_0xf6fd22:0x2d2,_0x356d57:0x5b,_0x957d23:0x33,_0x476179:0xe1,_0x241d42:0x2de,_0x2d01db:0xad,_0x24e89f:0xbc,_0x1c7d41:0x137,_0x5770b0:0x296,_0x3753d6:0x32b,_0x982f3c:0x1bb,_0x4ced93:0x33e,_0x536b8c:0xc9,_0x19bc2a:0x1bc,_0x45b38a:0x113,_0x383afe:0x4f,_0x5519e1:0x6b,_0x74c710:0x256,_0x55563a:0x333,_0x5e19d0:0x278,_0x4ffe22:0x7,_0x56e79d:0x167,_0x57ada3:0x2aa,_0x5dccec:0x19c,_0xb5c76e:0x45,_0x84d7e3:0x31,_0xd4e2fb:0x10,_0x3ae57f:0x84,_0x1ccb4f:0x35b,_0x27ebd5:0x11f,_0x5ce4a7:0xfa,_0x453752:0x27e,_0x965470:0x13c,_0x5a460e:0x1e7,_0x1fef78:0x123,_0x89acad:0x1d4,_0x3378f4:0x92,_0x36380e:0x1e1,_0x26e0f1:0x88,_0x5476dd:0x147,_0x11bbb6:0x74,_0x249592:0x5d,_0x32140c:0x112,_0x23be1c:0x6c,_0xbcbed:0x1dd,_0x5c3f99:0x224},_0x2d7cd6={_0x3ded8f:0x1b3,_0x5df065:0x16c},_0x4d8e84={_0x1cb792:0x4f4},_0x260589={_0x1ecfc7:0x46e},_0x2b360b=_0x2546d0[_0x4c95e1(-0x11d,_0x205f4a._0x48ad5a,-0x4f,0x83)](_0x15b59b[_0x1f0982(0x396,_0x205f4a._0x1b010e,_0x205f4a._0x49f3f3,_0x205f4a._0x504699)]??process[_0x4c95e1(-0xe0,-0xc4,0x23,-0x87)]());function _0x1f0982(_0x2057a0,_0x239a2e,_0xf02ab4,_0x14942a){return _0x125cf4(_0x2057a0-0xa1,_0xf02ab4-_0x260589._0x1ecfc7,_0x2057a0,_0x14942a-0x1a2);}function _0x4c95e1(_0x35f566,_0x2ad668,_0x3abe84,_0x3a2763){return _0x5b337b(_0x3abe84- -_0x4d8e84._0x1cb792,_0x3a2763,_0x3abe84-0xdf,_0x3a2763-0x1da);}const _0x4fa1cc=_0x15b59b[_0x4c95e1(0x12,_0x205f4a._0x20078c,-_0x205f4a._0x3a8676,-0x65)]??[],_0x243f4a=_0x15b59b[_0x1f0982(_0x205f4a._0x2bd8b7,0x297,0x2c3,0x242)]??0x64,_0x32d74c=_0x15b59b['name']??'Grep';return defineTool({'name':_0x32d74c,'permissionClass':_0x1f0982(_0x205f4a._0x2486fa,_0x205f4a._0x5aa8b5,_0x205f4a._0x1ede52,0x14f),'description':'Search\x20for\x20a\x20regex\x20pattern\x20in\x20workspace\x20or\x20allowed\x20directory\x20file\x20contents.','inputSchema':{'type':_0x4c95e1(0xd,-0x79,-0x114,-_0x205f4a._0x415056),'properties':{'pattern':{'type':_0x1f0982(0x3c1,0x491,_0x205f4a._0x3ba7ce,0x29c)},'path':{'type':_0x1f0982(_0x205f4a._0x5740de,0x496,0x3f3,0x356)},'include':{'type':_0x1f0982(0x283,_0x205f4a._0x45625c,_0x205f4a._0x3ba7ce,_0x205f4a._0x285bdf)},'limit':{'type':_0x4c95e1(-_0x205f4a._0x29051a,-0x3d6,-0x25a,-0x2a4)},'context':{'type':_0x4c95e1(-0x1b5,-0xdf,-_0x205f4a._0x25d2f0,-0xed)}},'required':[_0x4c95e1(-_0x205f4a._0x557a15,-_0x205f4a._0x2685ca,-0xd3,-_0x205f4a._0x15e18a)]},async *'execute'(_0x283a5d){const _0x592b7c={_0x3d35f8:0xe6};if(_0x283a5d['pattern']['trim']()['length']===0x0)throw new ToolExecutionError('pattern\x20is\x20required',{});const _0x42aa6b=resolveAllowedPath(_0x2b360b,_0x4fa1cc,_0x283a5d[_0x4f0655(0x20f,_0x6cdb81._0x419df4,0x48f,0x325)]??'.'),_0x165216=await _0x59585c(_0x42aa6b)[_0x4f0655(_0x6cdb81._0x4c9836,0x42b,_0x6cdb81._0x2653aa,0x2f4)](()=>null),_0xd27c9c=_0x165216?.['isFile']()??![],_0x21f36f=_0x165216?.[_0x320276(-0x85,-_0x6cdb81._0x2ac75e,-0xb7,-0x1f4)]()??![];if(!_0xd27c9c&&!_0x21f36f)throw new ToolExecutionError('Path\x20not\x20found:\x20'+(_0x283a5d['path']??'.'),{'path':_0x283a5d[_0x4f0655(_0x6cdb81._0xda41d6,_0x6cdb81._0x336cbd,_0x6cdb81._0x3321d1,0x325)]??'.'});const _0x46b521=_0x283a5d[_0x4f0655(_0x6cdb81._0x4834a3,_0x6cdb81._0x40b727,_0x6cdb81._0x165b72,0x157)]??_0x243f4a,_0x9165e=Math[_0x320276(-_0x6cdb81._0x58d816,-_0x6cdb81._0x41ab92,-0x88,-0x8a)](0x1,Math[_0x4f0655(0x4a,-_0x6cdb81._0x2fdd48,-0xa2,_0x6cdb81._0x35084c)](_0x46b521)),_0x3f8422=await search({'cwd':_0x21f36f?_0x42aa6b:_0x2546d0[_0x4f0655(0x9,-0xb0,-_0x6cdb81._0x531138,0x77)](_0x42aa6b),'pattern':_0x283a5d[_0x4f0655(_0x6cdb81._0x1c2cad,0xf6,0x34a,0x217)],'glob':_0x21f36f?_0x283a5d[_0x320276(0x59,-0x1bb,-0x6c,-_0x6cdb81._0x2c804b)]:void 0x0,'limit':_0x9165e,'file':_0xd27c9c?_0x42aa6b:void 0x0,'context':_0x283a5d[_0x4f0655(_0x6cdb81._0x188694,_0x6cdb81._0x50dd3d,0x1a3,0x2fe)]}),_0x788ba9=new Map();for(const _0x6200ed of _0x3f8422){if(!_0x788ba9[_0x4f0655(_0x6cdb81._0x4b74f2,_0x6cdb81._0x57752c,_0x6cdb81._0x17cddd,_0x6cdb81._0x4d0ce0)](_0x6200ed['filePath'])){const _0x5f442e=await _0x59585c(_0x6200ed[_0x320276(-0xbb,-_0x6cdb81._0x484be3,-_0x6cdb81._0x411a2c,-0x45)])[_0x4f0655(_0x6cdb81._0x4fced5,_0x6cdb81._0x5642dd,_0x6cdb81._0x5192c6,_0x6cdb81._0x3acbfa)](()=>null);_0x788ba9[_0x320276(0x236,0xf9,0x1cd,0x2d5)](_0x6200ed[_0x4f0655(-_0x6cdb81._0x137819,-0x106,-0x9,0x5b)],{'matches':[],'mtime':_0x5f442e?.['mtimeMs']??0x0});}_0x788ba9[_0x320276(-0x76,_0x6cdb81._0x47ca6d,0x73,_0x6cdb81._0x5610c2)](_0x6200ed[_0x320276(_0x6cdb81._0x2f3e08,0xd7,-_0x6cdb81._0x24bb5b,-0x1b)])?.['matches'][_0x320276(0x254,_0x6cdb81._0x5983b7,0xd7,0x78)](_0x6200ed);}const _0xbe8826=[..._0x788ba9[_0x4f0655(0x327,_0x6cdb81._0x4a35e1,_0x6cdb81._0x40c43e,0x1b2)]()][_0x4f0655(0x28,_0x6cdb81._0x12e019,_0x6cdb81._0x58f763,_0x6cdb81._0x28f7d0)]((_0x438337,_0x49097a)=>_0x49097a[0x1][_0x320276(0x44,0x17a,-0x3,0xca)]-_0x438337[0x1][_0x4f0655(-0x1b,0x1bf,0x21e,0xdd)]);function _0x4f0655(_0x2b75c0,_0x3ddf86,_0x11782e,_0x4d9fed){return _0x1f0982(_0x3ddf86,_0x3ddf86-_0x2d7cd6._0x3ded8f,_0x4d9fed- -_0x2d7cd6._0x5df065,_0x4d9fed-0x11c);}const _0x33c8d0=_0x3f8422[_0x4f0655(-0x1b,_0x6cdb81._0x138441,_0x6cdb81._0x3cec74,0x148)](_0xe2e3ad=>!_0xe2e3ad[_0x4f0655(0x54,0x4d,0x103,0xd0)])[_0x4f0655(_0x6cdb81._0x114201,_0x6cdb81._0x174415,0x197,0x278)],_0x4c723e=_0x3f8422[_0x320276(0x184,0x19a,_0x6cdb81._0x3ad6be,_0x6cdb81._0xf6fd22)]>=_0x9165e,_0x40e9f4=_0xd27c9c?_0x2546d0[_0x320276(-_0x6cdb81._0x356d57,_0x6cdb81._0x957d23,-0x69,-0x1f1)](_0x42aa6b):_0x42aa6b;let _0x1827f2='';if(_0x3f8422[_0x320276(0x223,0x27e,_0x6cdb81._0x3ad6be,_0x6cdb81._0x476179)]===0x0)_0x1827f2=_0x4f0655(0x355,0x1ae,0x187,_0x6cdb81._0x241d42)+_0x283a5d[_0x320276(_0x6cdb81._0x2d01db,_0x6cdb81._0x24e89f,_0x6cdb81._0x1c7d41,_0x6cdb81._0x5770b0)];else{_0x1827f2=_0x4f0655(_0x6cdb81._0x3753d6,_0x6cdb81._0x982f3c,0x2bf,0x27f)+_0x33c8d0+_0x320276(_0x6cdb81._0x4ced93,0xfe,0x1ad,_0x6cdb81._0x536b8c)+(_0x33c8d0===0x1?'':'es')+'\x0a';for(const [_0x2ff4b5,_0x4e4ae4]of _0xbe8826){const _0x1614c5=_0xd27c9c?_0x2546d0[_0x320276(_0x6cdb81._0x19bc2a,_0x6cdb81._0x45b38a,0x3e,_0x6cdb81._0x383afe)](_0x2ff4b5):_0x2546d0['relative'](_0x40e9f4,_0x2ff4b5);_0x1827f2+='\x0a'+_0x1614c5+':\x0a';for(const _0x1b1d48 of _0x4e4ae4['matches']){const _0x15cb16=_0x1b1d48[_0x4f0655(_0x6cdb81._0x5519e1,-0x4d,0x281,0x138)][_0x4f0655(0xf2,_0x6cdb81._0x74c710,_0x6cdb81._0x55563a,_0x6cdb81._0x5e19d0)]>MAX_LINE_LENGTH?_0x1b1d48['lineText'][_0x320276(0xc0,_0x6cdb81._0x4ffe22,_0x6cdb81._0x56e79d,_0x6cdb81._0x57ada3)](0x0,MAX_LINE_LENGTH)+_0x4f0655(-0x11e,-0xc9,_0x6cdb81._0x5dccec,_0x6cdb81._0xb5c76e):_0x1b1d48[_0x320276(-0xf6,0x25,0x58,0x1b9)],_0x4b873b=_0x1b1d48[_0x320276(_0x6cdb81._0x84d7e3,0x9c,-_0x6cdb81._0xd4e2fb,_0x6cdb81._0x3ae57f)]?'\x20\x20':'>\x20';_0x1827f2+=_0x4b873b+'Line\x20'+_0x1b1d48[_0x4f0655(_0x6cdb81._0x1ccb4f,_0x6cdb81._0x27ebd5,_0x6cdb81._0x5ce4a7,_0x6cdb81._0x453752)]+':\x20'+_0x15cb16+'\x0a';}}_0x4c723e&&(_0x1827f2+=_0x320276(_0x6cdb81._0x965470,_0x6cdb81._0x5a460e,0x12a,0x21));}const _0xd7f292={'searchPath':_0x2546d0[_0x4f0655(0x153,0x89,_0x6cdb81._0x1fef78,_0x6cdb81._0x89acad)](_0x2b360b,_0x42aa6b)||'.','pattern':_0x283a5d[_0x4f0655(0x2da,_0x6cdb81._0x28f7d0,0x2c7,_0x6cdb81._0x58d816)],'matchCount':_0x33c8d0,'fileCount':_0x788ba9[_0x4f0655(_0x6cdb81._0x3378f4,0xf7,_0x6cdb81._0x36380e,_0x6cdb81._0x26e0f1)],'truncated':_0x4c723e};_0x21f36f&&_0x283a5d['include']!==void 0x0&&(_0xd7f292[_0x4f0655(0x39,-0x3a,_0x6cdb81._0x5476dd,_0x6cdb81._0x11bbb6)]=_0x283a5d[_0x320276(_0x6cdb81._0x249592,_0x6cdb81._0x32140c,-_0x6cdb81._0x23be1c,-0x1e4)]);function _0x320276(_0x2945a2,_0x5d370b,_0x1a2746,_0x2f9a87){return _0x1f0982(_0x5d370b,_0x5d370b-0x145,_0x1a2746- -0x24c,_0x2f9a87-_0x592b7c._0x3d35f8);}return yield createToolOutput(_0x1827f2[_0x4f0655(0x32a,0x2f1,_0x6cdb81._0xbcbed,_0x6cdb81._0x5c3f99)](),_0xd7f292),void 0x0;}});}function createKillShellTool(_0xa757ce){const _0x66239e={_0x4104ac:0x49b,_0x237d1e:0x338,_0x3173be:0x219,_0x357166:0x421,_0x3f0574:0x220,_0x2c960f:0x4ef,_0x5adfa9:0x482,_0xb525e4:0x49d,_0x1a9dfe:0x32f,_0x505b27:0x30e,_0x53f666:0x38c},_0x1d2c6d={_0xf32d9b:0x47,_0xae550b:0x1d8,_0x14b68a:0x3d8,_0xa6ec56:0x4bc,_0x4a5a11:0x485,_0x2f330f:0x46a,_0x4aa423:0x448,_0x246adc:0x4ac,_0x1371c7:0x40b,_0x3d07b9:0x4f9,_0x5762c4:0x634,_0x1517f2:0x600,_0x499a21:0x372,_0x20f71c:0x43e,_0x467746:0x2ea,_0x263333:0x266,_0x49b579:0x19c,_0x43fe21:0x72b,_0x45860b:0x5be,_0x3ef022:0x693},_0x5a2d73={_0x21f0d9:0x4b4,_0x226f54:0x1ee};function _0x29f3de(_0x2d658b,_0x398456,_0x2d6b6b,_0x9f9545){return _0x5b337b(_0x9f9545-0xbd,_0x398456,_0x2d6b6b-0xbb,_0x9f9545-0x4);}const {registry:_0x139600}=_0xa757ce;function _0x36781d(_0x1b6151,_0x2160fc,_0x24de7b,_0x50f4f6){return _0x5b337b(_0x1b6151- -_0x5a2d73._0x21f0d9,_0x50f4f6,_0x24de7b-_0x5a2d73._0x226f54,_0x50f4f6-0xa0);}return defineTool({'name':_0x29f3de(_0x66239e._0x4104ac,_0x66239e._0x237d1e,0x37e,0x3a7),'permissionClass':_0x29f3de(_0x66239e._0x3173be,_0x66239e._0x357166,_0x66239e._0x3f0574,0x369),'description':_0x36781d(-0xfe,-0x262,-0x269,-0x186),'inputSchema':{'type':_0x29f3de(_0x66239e._0x2c960f,0x561,_0x66239e._0x5adfa9,_0x66239e._0xb525e4),'properties':{'shellId':{'type':'string'}},'required':[_0x29f3de(_0x66239e._0x1a9dfe,_0x66239e._0x505b27,0x209,_0x66239e._0x53f666)]},async *'execute'(_0x443239){const _0x10a3df={_0x14398b:0x11f},_0x185ced=_0x139600[_0x18ca36(_0x1d2c6d._0xf32d9b,_0x1d2c6d._0xae550b,0x237,0x31a)](_0x443239[_0x3c14b5(0x597,0x448,_0x1d2c6d._0x14b68a,0x353)]);function _0x18ca36(_0x1064e2,_0x39d1af,_0x53e0d6,_0x1d7fc9){return _0x36781d(_0x39d1af-0x45b,_0x39d1af-0x1cf,_0x53e0d6-0x1be,_0x1064e2);}function _0x3c14b5(_0x3c4678,_0x2e39b0,_0x4f7dde,_0x3f2302){return _0x29f3de(_0x3c4678-_0x10a3df._0x14398b,_0x3f2302,_0x4f7dde-0x1a9,_0x2e39b0-0xbc);}return createToolOutput(_0x18ca36(0x543,_0x1d2c6d._0xa6ec56,_0x1d2c6d._0x4a5a11,0x527)+_0x443239[_0x3c14b5(_0x1d2c6d._0x2f330f,_0x1d2c6d._0x4aa423,_0x1d2c6d._0x246adc,_0x1d2c6d._0x1371c7)]+_0x3c14b5(_0x1d2c6d._0x3d07b9,0x508,_0x1d2c6d._0x5762c4,_0x1d2c6d._0x1517f2)+_0x185ced['status']+').',{'shellId':_0x443239[_0x18ca36(_0x1d2c6d._0x499a21,0x276,0x167,0x392)],'status':_0x185ced['status'],'exitCode':_0x185ced[_0x18ca36(_0x1d2c6d._0x20f71c,_0x1d2c6d._0x467746,_0x1d2c6d._0x263333,_0x1d2c6d._0x49b579)],'signal':_0x185ced[_0x3c14b5(_0x1d2c6d._0x43fe21,_0x1d2c6d._0x45860b,0x5fb,_0x1d2c6d._0x3ef022)]});}});}import{readdir as _0x46a33b,readFile as _0x1486a9,stat as _0x51d049}from'fs/promises';import*as _0x313ad2 from'path';import*as _0x1d7897 from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x38894f,_0x5c262b){const _0x26594a={_0x43d4f6:0x7e0,_0xbabf0d:0x43a,_0x21620b:0x3b7,_0x9618e0:0x33d,_0x548028:0x58e,_0x28f032:0x66e,_0x2b8cfb:0x548,_0x5220ec:0x480,_0x3fc9d8:0x48e,_0x387026:0x5bc,_0x483c50:0xde,_0x39e17c:0x84,_0x43a129:0xd,_0x6e2ffc:0x43},_0x14ebe5={_0x1d2967:0x560},_0x2fbc18={_0x3d21f8:0x1b8};function _0x2296b9(_0x3bdfb2,_0x114880,_0x16b776,_0x4d14bc){return _0x125cf4(_0x3bdfb2-_0x2fbc18._0x3d21f8,_0x3bdfb2-0x72c,_0x16b776,_0x4d14bc-0x17c);}function _0x44ace5(_0x43cf3b,_0x4d7edf,_0x5a9d05,_0xb80b95){return _0x5b337b(_0x43cf3b- -_0x14ebe5._0x1d2967,_0x5a9d05,_0x5a9d05-0x193,_0xb80b95-0x4e);}if(_0x5c262b>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;const _0x4395b6=await _0x1486a9(_0x38894f)[_0x2296b9(0x71e,_0x26594a._0x43d4f6,0x788,0x60f)](()=>null);if(!_0x4395b6||isProbablyBinary(_0x4395b6))return void 0x0;return _0x4395b6[_0x2296b9(_0x26594a._0xbabf0d,_0x26594a._0x21620b,_0x26594a._0x9618e0,_0x26594a._0x548028)](_0x2296b9(_0x26594a._0x28f032,0x635,_0x26594a._0x2b8cfb,0x536))[_0x2296b9(_0x26594a._0x5220ec,_0x26594a._0x3fc9d8,0x515,_0x26594a._0x387026)](/\r?\n/)[_0x44ace5(-_0x26594a._0x483c50,_0x26594a._0x39e17c,_0x26594a._0x43a129,_0x26594a._0x6e2ffc)];}function createLsTool(_0x45eb30={}){const _0x3d08a7={_0x453906:0x556,_0x555dbe:0x52b,_0x53d8b1:0x11c,_0x1b6b4c:0xf5,_0x5c7e71:0x1b,_0x50ba22:0x3a,_0x2c4431:0x5ba,_0x87e350:0x59d,_0x22ca18:0x429,_0x4c343f:0x512,_0x34c448:0x166,_0x27610b:0x1a4,_0x29e6ed:0x399,_0x39be96:0x3fd,_0x35a88e:0x4b3,_0x12f915:0x185,_0xe1e1a7:0x250,_0x3b4568:0x2a3,_0x24c75b:0x141,_0x2e6a9a:0xd3,_0x741a8c:0x55,_0x39a41e:0x40,_0x5c2849:0xb6},_0x5a433b={_0x129a36:0x52e,_0x21c190:0x675,_0x1566c3:0x379,_0x49c669:0x25c,_0x4f67be:0x306,_0x61bb42:0x380,_0x3fa8c0:0x3a8,_0x1616c4:0x29a,_0x18c979:0x2e4,_0xa5bfbe:0x3fc,_0x736068:0x35b,_0x5a50aa:0x41f,_0x2f6da7:0x57e,_0x67977e:0x526,_0x1c9be0:0x351,_0x4fe63f:0x468,_0x5e4127:0x644,_0x596c0a:0x73b,_0x22f630:0x6bd,_0x2af987:0x2a9,_0x52af85:0x661,_0x21e268:0x3ba,_0xec843c:0x5f4,_0x4ec229:0x1d1,_0x237596:0x771,_0x46b7df:0x60c,_0x58b6b8:0x531,_0x20a3d4:0x4eb,_0x593154:0x4e7,_0x12559c:0x3a5,_0x22ec0b:0x1a0,_0x501b0c:0x5d7,_0xd5ada0:0x456,_0x5cd52d:0x3f9,_0x2cc446:0x304,_0x542031:0x4b0,_0x1283b7:0x5af,_0x4a7b39:0x549,_0x2a630f:0x59a,_0x4d3667:0x558,_0x35de9c:0x541},_0x1575cf={_0x3cae26:0xf8},_0x3a7a30={_0x3897d7:0x79,_0x2ced57:0x135},_0x5f0cbe=_0x313ad2[_0x17d342(0x47f,0x6a5,_0x3d08a7._0x453906,_0x3d08a7._0x555dbe)](_0x45eb30[_0x5b8b44(-_0x3d08a7._0x53d8b1,-_0x3d08a7._0x1b6b4c,_0x3d08a7._0x5c7e71,-_0x3d08a7._0x50ba22)]??process[_0x17d342(0x5d9,_0x3d08a7._0x2c4431,0x607,_0x3d08a7._0x87e350)]()),_0x586203=_0x45eb30[_0x17d342(0x390,0x539,_0x3d08a7._0x22ca18,_0x3d08a7._0x4c343f)]??[];function _0x5b8b44(_0x1d10f,_0x556f11,_0x184ce1,_0x662d6){return _0x5b337b(_0x662d6- -0x350,_0x1d10f,_0x184ce1-_0x3a7a30._0x3897d7,_0x662d6-_0x3a7a30._0x2ced57);}const _0x21ebcd=_0x45eb30[_0x5b8b44(0xd0,0xd6,_0x3d08a7._0x34c448,_0x3d08a7._0x27610b)]??'Ls';function _0x17d342(_0x55bf05,_0x3df094,_0x3f5d59,_0x5279a7){return _0x5b337b(_0x5279a7-0x86,_0x3df094,_0x3f5d59-0x154,_0x5279a7-_0x1575cf._0x3cae26);}return defineTool({'name':_0x21ebcd,'permissionClass':'read','description':_0x17d342(_0x3d08a7._0x29e6ed,_0x3d08a7._0x39be96,0x3de,_0x3d08a7._0x35a88e),'inputSchema':{'type':_0x5b8b44(_0x3d08a7._0x12f915,0x21c,-0x65,0x90),'properties':{'path':{'type':_0x5b8b44(_0x3d08a7._0xe1e1a7,0x1a6,_0x3d08a7._0x3b4568,_0x3d08a7._0x24c75b)},'limit':{'type':_0x5b8b44(_0x3d08a7._0x2e6a9a,-_0x3d08a7._0x741a8c,_0x3d08a7._0x39a41e,-_0x3d08a7._0x5c2849)}}},async *'execute'(_0x30b4dd){const _0x481309={_0x49296d:0x178,_0xbe3382:0x496},_0x52206e={_0x733c8b:0xf4,_0x48e5fe:0x31e},_0x3b5aab=_0x30b4dd[_0x520982(_0x5a433b._0x129a36,_0x5a433b._0x21c190,0x5d1,0x725)]??'.',_0x278f05=resolveAllowedPath(_0x5f0cbe,_0x586203,_0x3b5aab),_0xc7e58e=await _0x51d049(_0x278f05)['catch'](()=>null);if(!_0xc7e58e?.[_0x520982(0x3b3,_0x5a433b._0x1566c3,_0x5a433b._0x49c669,_0x5a433b._0x4f67be)]())throw new ToolExecutionError('Directory\x20not\x20found:\x20'+_0x3b5aab,{'path':_0x3b5aab});const _0x2d2279=_0x30b4dd['limit']??0x3e8,_0x12c0b8=Math[_0xe2ea81(0x49b,_0x5a433b._0x61bb42,0x212,0x316)](Math[_0x520982(0x496,_0x5a433b._0x3fa8c0,_0x5a433b._0x1616c4,_0x5a433b._0x18c979)](Math[_0xe2ea81(0x2b8,0x3d7,0x16a,0x295)](_0x2d2279),0x1),0x2710);function _0xe2ea81(_0x46ed2b,_0x1f965a,_0x404c4a,_0x57fc49){return _0x5b8b44(_0x1f965a,_0x1f965a-0x174,_0x404c4a-_0x52206e._0x733c8b,_0x57fc49-_0x52206e._0x48e5fe);}const _0x41465c=await _0x46a33b(_0x278f05);function _0x520982(_0x5050e9,_0x37792f,_0xd99fa,_0x8cc120){return _0x5b8b44(_0xd99fa,_0x37792f-0xa8,_0xd99fa-_0x481309._0x49296d,_0x37792f-_0x481309._0xbe3382);}const _0x54630f=[];for(const _0x525c18 of _0x41465c[_0xe2ea81(_0x5a433b._0xa5bfbe,_0x5a433b._0x736068,0x353,_0x5a433b._0x5a50aa)](0x0,_0x12c0b8)){const _0x2d518d=_0x313ad2[_0xe2ea81(_0x5a433b._0x2f6da7,_0x5a433b._0x67977e,_0x5a433b._0x1c9be0,_0x5a433b._0x4fe63f)](_0x278f05,_0x525c18),_0x37bef6=await _0x51d049(_0x2d518d)[_0x520982(0x6c3,_0x5a433b._0x5e4127,_0x5a433b._0x596c0a,0x7bc)](()=>null);if(!_0x37bef6)continue;let _0x40fd30=_0xe2ea81(0x346,0x430,0x417,0x41e);if(_0x37bef6['isFile']())_0x40fd30=_0x520982(0x5fd,0x59e,_0x5a433b._0x22f630,0x55b);else{if(_0x37bef6[_0xe2ea81(0xdd,_0x5a433b._0x2af987,0x17d,0x201)]())_0x40fd30='directory';else{if(_0x37bef6['isSymbolicLink']())_0x40fd30=_0x520982(_0x5a433b._0x52af85,0x53d,_0x5a433b._0x21e268,_0x5a433b._0xec843c);}}const _0x3fc202={'name':_0x525c18,'type':_0x40fd30,'size':_0x37bef6[_0xe2ea81(0x192,_0x5a433b._0x4ec229,0x303,0x260)],'mtime':_0x37bef6[_0x520982(_0x5a433b._0x237596,_0x5a433b._0x46b7df,_0x5a433b._0x58b6b8,0x4e9)],'mode':_0x37bef6[_0xe2ea81(0x239,0x272,0x203,0x1dd)]},_0x58d461=_0x40fd30===_0x520982(_0x5a433b._0x20a3d4,0x59e,0x715,_0x5a433b._0x593154)?await countTextLines(_0x2d518d,_0x37bef6[_0xe2ea81(0x208,_0x5a433b._0x12559c,_0x5a433b._0x22ec0b,0x260)]):void 0x0;if(_0x58d461!==void 0x0)_0x3fc202[_0x520982(_0x5a433b._0x501b0c,_0x5a433b._0xd5ada0,0x358,0x48b)]=_0x58d461;_0x54630f['push'](_0x3fc202);}_0x54630f[_0xe2ea81(_0x5a433b._0x5cd52d,0x32a,_0x5a433b._0x2cc446,0x33a)]((_0x38e101,_0x4873ce)=>_0x38e101[_0xe2ea81(0x522,0x423,0x5c8,0x4c2)]['localeCompare'](_0x4873ce['name']));const _0x37c19b={'path':_0x3b5aab,'total':_0x54630f['length'],'truncated':_0x41465c[_0xe2ea81(_0x5a433b._0x542031,_0x5a433b._0x1283b7,0x596,0x450)]>_0x12c0b8,'entries':_0x54630f};return yield createToolOutput(_0x1d7897[_0xe2ea81(_0x5a433b._0x4a7b39,0x66d,0x37a,0x4f7)](_0x37c19b,{'indent':0x2,'lineWidth':0x0})['trimEnd'](),{'path':_0x3b5aab,'total':_0x54630f[_0xe2ea81(0x52b,0x549,_0x5a433b._0x2a630f,0x450)],'truncated':_0x41465c[_0x520982(_0x5a433b._0x4d3667,0x5c8,0x593,_0x5a433b._0x35de9c)]>_0x12c0b8,'limit':_0x12c0b8,'entries':_0x54630f}),void 0x0;}});}import{stat as _0x43fc8e}from'fs/promises';import _0x338dfd from'path';import{fileURLToPath as _0x4642db}from'url';function awaitWithAbort(_0x33ff5c,_0x5ea8a2){const _0x316c9a={_0x2f9dd2:0x3c8,_0xfa3fdf:0x633,_0x473502:0x6e7,_0x5e2674:0x6b0,_0xfd8b36:0x5c5,_0x2e7819:0x63e,_0x6371d7:0x62d},_0x2a860d={_0x57b062:0x301,_0x44608d:0x178},_0x4bbea9={_0x5ecd4b:0x20,_0x3d2f24:0x31c},_0x428ecb={_0xf5cb0d:0x232,_0x28045e:0x1dd,_0x5d1950:0x2},_0x43f611={_0x7a56ae:0x1b6};function _0x1f80d0(_0x104322,_0x49c1a0,_0x1d7b90,_0xdac67a){return _0x5b337b(_0xdac67a-_0x43f611._0x7a56ae,_0x1d7b90,_0x1d7b90-0xb9,_0xdac67a-0x71);}function _0x1979ab(_0x296e9b,_0x414d6a,_0x13bd9c,_0x414be5){return _0x5b337b(_0x414be5-_0x428ecb._0xf5cb0d,_0x414d6a,_0x13bd9c-_0x428ecb._0x28045e,_0x414be5-_0x428ecb._0x5d1950);}if(!_0x5ea8a2)return _0x33ff5c;if(_0x5ea8a2[_0x1f80d0(_0x316c9a._0x2f9dd2,0x405,_0x316c9a._0xfa3fdf,0x510)])return Promise[_0x1979ab(_0x316c9a._0x473502,0x747,_0x316c9a._0x5e2674,_0x316c9a._0xfd8b36)](toAbortError(_0x5ea8a2[_0x1979ab(_0x316c9a._0x2e7819,0x76c,_0x316c9a._0x6371d7,0x672)]));return new Promise((_0x545bd3,_0x8e2331)=>{const _0x5b2190={_0x381863:0x175,_0x11797b:0x1a,_0x3f6e0f:0x37f};function _0x973adb(_0x4cd09a,_0x2abb8a,_0x29d030,_0x6b5680){return _0x1f80d0(_0x4cd09a-_0x4bbea9._0x5ecd4b,_0x2abb8a-0xd2,_0x2abb8a,_0x29d030- -_0x4bbea9._0x3d2f24);}const _0x25160d=()=>{_0xef62b2();function _0x2ad123(_0xaff28b,_0x55e3e2,_0x578703,_0x516dc1){return _0x5504(_0xaff28b- -0x355,_0x578703);}_0x8e2331(toAbortError(_0x5ea8a2[_0x2ad123(-0x98,-0x1bc,0x41,0x5c)]));},_0xef62b2=()=>_0x5ea8a2['removeEventListener'](_0x973adb(0x1e7,0x12d,0x110,0x88),_0x25160d);_0x5ea8a2[_0x973adb(0x287,_0x2a860d._0x57b062,_0x2a860d._0x44608d,0x123)]('abort',_0x25160d,{'once':!![]});function _0xc9e79d(_0x117711,_0x1e34ea,_0x15c568,_0x36bc74){return _0x1979ab(_0x117711-_0x5b2190._0x381863,_0x1e34ea,_0x15c568-_0x5b2190._0x11797b,_0x15c568- -_0x5b2190._0x3f6e0f);}_0x33ff5c[_0xc9e79d(0x24f,0x2ee,0x2e9,0x429)](_0x1079b7=>{_0xef62b2(),_0x545bd3(_0x1079b7);},_0x21a4c5=>{_0xef62b2(),_0x8e2331(_0x21a4c5);});});}function severityName(_0x4c3d39){const _0x28cdd9={_0x18e962:0x716,_0x4f6e8c:0x5ad,_0x12e2a3:0x5e3,_0x57e9f1:0x3da},_0x74b19={_0x19d1bf:0x18b,_0x451a72:0x49},_0x3d34e6={_0xc4c2a2:0x13f,_0x471978:0x95};function _0xfe39bb(_0x6cc231,_0x58236c,_0x1f32f0,_0x178efc){return _0x5b337b(_0x1f32f0-0x14a,_0x6cc231,_0x1f32f0-_0x3d34e6._0xc4c2a2,_0x178efc-_0x3d34e6._0x471978);}function _0x46fd12(_0x1a74d9,_0x1c0395,_0x388ada,_0x408b48){return _0x5b337b(_0x408b48- -_0x74b19._0x19d1bf,_0x1a74d9,_0x388ada-_0x74b19._0x451a72,_0x408b48-0x118);}switch(_0x4c3d39){case 0x1:return'Error';case 0x2:return _0x46fd12(0x22a,0x215,0x5a,0xc2);case 0x3:return _0xfe39bb(_0x28cdd9._0x18e962,0x627,_0x28cdd9._0x4f6e8c,_0x28cdd9._0x12e2a3);case 0x4:return _0x46fd12(0x249,_0x28cdd9._0x57e9f1,0x2a0,0x34e);default:return'Diagnostic';}}function formatSingleHover(_0x1a2839){const _0x2b6d80={_0x2cb030:0x57,_0x119a5c:0xc1,_0x50c6b4:0x419,_0x533666:0x477,_0x2e6bc9:0x443,_0x29663b:0x5bf,_0x16f683:0x74e,_0x57dd91:0x603,_0x2438e3:0x3be,_0x488ec0:0x101,_0x4f0fb5:0x1e3,_0x417644:0x28,_0x4d0f75:0x1ae,_0x1cabff:0xeb,_0x9d60b:0x7d,_0x47beee:0x338,_0x285381:0x344,_0x1b6f24:0x4a7,_0x5c2ffb:0x5cf},_0x1bd8a6={_0x351d23:0x1c0,_0xbb291e:0x8e};function _0x560501(_0xccdda5,_0x37b313,_0x5c6513,_0x37671e){return _0x125cf4(_0xccdda5-_0x1bd8a6._0x351d23,_0xccdda5-0xd2,_0x37b313,_0x37671e-_0x1bd8a6._0xbb291e);}const _0x49148c=_0x1a2839[_0x560cca(0x4bf,0x459,0x406,0x306)];function _0x560cca(_0x4df085,_0x35f752,_0x4b3e7d,_0x22e5eb){return _0x125cf4(_0x4df085-0x1,_0x35f752-0x631,_0x22e5eb,_0x22e5eb-0x1aa);}if(typeof _0x49148c===_0x560501(_0x2b6d80._0x2cb030,_0x2b6d80._0x119a5c,-0xfb,0xe))return _0x49148c;if(Array[_0x560cca(0x58c,_0x2b6d80._0x50c6b4,0x395,0x3f9)](_0x49148c))return _0x49148c['map'](_0x510e8a=>typeof _0x510e8a===_0x560cca(0x5f5,0x5b6,0x713,0x55b)?_0x510e8a:_0x510e8a[_0x560cca(0x58f,0x4a7,0x58a,0x3ff)])[_0x560cca(0x5b2,_0x2b6d80._0x533666,0x378,0x38f)](Boolean)[_0x560cca(_0x2b6d80._0x2e6bc9,_0x2b6d80._0x29663b,_0x2b6d80._0x16f683,_0x2b6d80._0x57dd91)]('\x0a\x0a');if(_0x560cca(0x3f1,0x3a1,0x414,_0x2b6d80._0x2438e3)in _0x49148c)return _0x49148c[_0x560501(-0xb8,-_0x2b6d80._0x488ec0,-0x106,-_0x2b6d80._0x4f0fb5)];return _0x49148c[_0x560501(-_0x2b6d80._0x417644,-_0x2b6d80._0x4d0f75,-_0x2b6d80._0x1cabff,_0x2b6d80._0x9d60b)]?'```'+_0x49148c[_0x560cca(0x4da,0x537,0x4e6,0x579)]+'\x0a'+_0x49148c['value']+_0x560cca(_0x2b6d80._0x47beee,0x33b,0x444,_0x2b6d80._0x285381):_0x49148c[_0x560cca(0x60f,_0x2b6d80._0x1b6f24,0x506,_0x2b6d80._0x5c2ffb)];}function formatHover(_0x52bfea){const _0x31b710={_0x1f4651:0xe9,_0x322fdc:0x16e,_0x3c0517:0x1e9,_0x3b498c:0x1e0,_0x2f34b3:0x2fa,_0x521c9d:0x2dc,_0x540403:0x278,_0x3208ea:0x95,_0x38ca14:0x15e},_0x50c76f={_0x540a8a:0x55a};function _0x2491a8(_0x252ab2,_0x361f4e,_0x5529cb,_0x4e07b9){return _0x5b337b(_0x252ab2- -_0x50c76f._0x540a8a,_0x5529cb,_0x5529cb-0x163,_0x4e07b9-0xba);}function _0x4de992(_0x1b60ff,_0xa510b6,_0x3780c1,_0x1079fe){return _0x125cf4(_0x1b60ff-0x121,_0xa510b6-0x3aa,_0x3780c1,_0x1079fe-0xab);}if(_0x52bfea[_0x2491a8(-0xd8,-0x1b8,-_0x31b710._0x1f4651,-_0x31b710._0x322fdc)]===0x0)return _0x4de992(_0x31b710._0x3c0517,0x17b,0x19e,_0x31b710._0x3b498c);return _0x52bfea[_0x4de992(_0x31b710._0x2f34b3,0x267,_0x31b710._0x521c9d,_0x31b710._0x540403)](formatSingleHover)[_0x2491a8(-0xc0,0x39,_0x31b710._0x3208ea,-_0x31b710._0x38ca14)]('\x0a\x0a---\x0a\x0a');}function locationPath(_0x236da4){const _0x18294a={_0x5276e2:0x259,_0x4de0a9:0x4c5,_0x5979c2:0x425},_0x4599b6={_0x31cd62:0x11d,_0x19bb30:0xa9},_0x2c0417={_0x213615:0x1f3};function _0x10153c(_0x5ea852,_0x3224f4,_0x49b2c0,_0x3f5563){return _0x125cf4(_0x5ea852-0x27,_0x3224f4-0x4aa,_0x3f5563,_0x3f5563-_0x2c0417._0x213615);}if(!_0x236da4[_0x27dba0(0x299,0x264,0x17e,_0x18294a._0x5276e2)](_0x10153c(_0x18294a._0x4de0a9,0x4bf,0x398,_0x18294a._0x5979c2)))return _0x236da4;function _0x27dba0(_0x129ca9,_0x32cc04,_0x58c2a8,_0x54ff7f){return _0x5b337b(_0x54ff7f- -_0x4599b6._0x31cd62,_0x129ca9,_0x58c2a8-_0x4599b6._0x19bb30,_0x54ff7f-0x19d);}return _0x4642db(_0x236da4);}function formatLocations(_0x4a3bed){const _0x2003f4={_0x2a8f7b:0x339,_0x45abcd:0x335,_0xe7aac9:0x4e4,_0x50953c:0x43c,_0x2398bd:0x535},_0x4d4daa={_0x5c2640:0x258,_0x56261f:0xf7,_0xc665c7:0xbb,_0xd46113:0x1df,_0x1ff1f0:0x169,_0x38208b:0xfe,_0x11e1f6:0x38a,_0x2aa158:0x20f},_0x49d81f={_0x3caff0:0x11a,_0x4ce30e:0x1f},_0x3fdb9d={_0x128819:0x3b4},_0x5b0057={_0x18f14d:0x17};function _0x3bcf31(_0x598323,_0x17456c,_0x86d4ca,_0x25607b){return _0x125cf4(_0x598323-_0x5b0057._0x18f14d,_0x86d4ca-0x4ae,_0x17456c,_0x25607b-0x1e6);}function _0xfcb26e(_0x394323,_0x142580,_0x29f975,_0x316881){return _0x125cf4(_0x394323-0x1d3,_0x394323-_0x3fdb9d._0x128819,_0x29f975,_0x316881-0x104);}if(_0x4a3bed['length']===0x0)return _0x3bcf31(0x1d0,0x2be,_0x2003f4._0x2a8f7b,_0x2003f4._0x45abcd);return _0x4a3bed['map'](_0x3479eb=>{function _0x5e95d3(_0xbc5e23,_0x18057a,_0xda383e,_0x320ccf){return _0x3bcf31(_0xbc5e23-0x149,_0x320ccf,_0xda383e- -0x1d7,_0x320ccf-0x7f);}function _0x281cc5(_0x113578,_0x4662eb,_0x3b7fdd,_0x5700c1){return _0x3bcf31(_0x113578-_0x49d81f._0x3caff0,_0x113578,_0x4662eb- -0x508,_0x5700c1-_0x49d81f._0x4ce30e);}const _0x306db3=_0x3479eb[_0x281cc5(-_0x4d4daa._0x5c2640,-_0x4d4daa._0x56261f,-_0x4d4daa._0xc665c7,-0x1e4)][_0x5e95d3(_0x4d4daa._0xd46113,0x173,_0x4d4daa._0x1ff1f0,_0x4d4daa._0x38208b)];return locationPath(_0x3479eb['uri'])+':'+(_0x306db3['line']+0x1)+':'+(_0x306db3[_0x281cc5(-0x1b5,-0x251,-_0x4d4daa._0x11e1f6,-_0x4d4daa._0x2aa158)]+0x1);})[_0x3bcf31(0x2bb,_0x2003f4._0xe7aac9,_0x2003f4._0x50953c,_0x2003f4._0x2398bd)]('\x0a');}function isDocumentSymbol(_0x2ee434){return'range'in _0x2ee434&&'selectionRange'in _0x2ee434;}function formatSymbols(_0xb0efaa){const _0x35d9a4={_0x3015a5:0x2a1,_0x22a5d9:0xae,_0x1156c4:0x12b,_0x113cca:0x112,_0x1a2c84:0x17f,_0x3106a2:0x231},_0x5f0c83={_0x1e3f77:0x64,_0x6e5c40:0x1c0,_0x5335e2:0x47,_0x9f9683:0x31a,_0x4c3d76:0x3ba,_0x3e41a6:0x4c,_0x1dc884:0x552,_0x137460:0x41f,_0xfc7f9a:0x50d,_0x4aefe1:0x3eb,_0x4c31dc:0x21,_0x4c506b:0x110,_0x469eb8:0x31,_0x541f05:0x425,_0x552fd9:0x3b3,_0xad9a51:0x6f,_0x34ec6b:0x1c,_0x378b50:0x0,_0xdfc1a:0x75,_0x5274a7:0x1,_0x33b17a:0x47d,_0x46cdaf:0x244,_0x1f5254:0x55,_0x162d44:0xd2,_0x3d50c6:0x23a,_0x23703c:0x1a2,_0x525729:0x499,_0x57cfeb:0x494,_0x483a97:0x43c,_0x2e6540:0x55e,_0x4163fa:0x429,_0x1f504d:0x3b3},_0x371b53={_0x5452b7:0x1c6,_0x1daf31:0x160},_0x30bb42={_0x56cb97:0x18a,_0x4dcb6d:0x170,_0x5e70ac:0xc0};function _0x1d9b83(_0x23fd75,_0x472536,_0x1e1f3f,_0x3e01b0){return _0x5b337b(_0x23fd75- -_0x30bb42._0x56cb97,_0x472536,_0x1e1f3f-_0x30bb42._0x4dcb6d,_0x3e01b0-_0x30bb42._0x5e70ac);}if(_0xb0efaa[_0x1d9b83(0x2f8,0x47e,_0x35d9a4._0x3015a5,0x2f2)]===0x0)return _0xde1111(-0x130,-0x6b,-_0x35d9a4._0x22a5d9,0x89);function _0xde1111(_0x13d094,_0x73ab56,_0x4377e9,_0x2b3621){return _0x125cf4(_0x13d094-_0x371b53._0x5452b7,_0x73ab56-_0x371b53._0x1daf31,_0x2b3621,_0x2b3621-0x182);}return _0xb0efaa[_0xde1111(-0x62,0x1d,-_0x35d9a4._0x1156c4,_0x35d9a4._0x113cca)](_0x57deca=>{const _0x4649a3={_0x35ad1c:0xbf},_0x20fee6={_0x41c714:0x306,_0x539bcb:0x181};function _0x407963(_0x230716,_0x5e5b83,_0x5cd74f,_0x69e901){return _0x1d9b83(_0x5e5b83- -_0x20fee6._0x41c714,_0x230716,_0x5cd74f-_0x20fee6._0x539bcb,_0x69e901-0x1ab);}if(isDocumentSymbol(_0x57deca))return _0x57deca[_0x407963(-0xe5,_0x5f0c83._0x1e3f77,_0x5f0c83._0x6e5c40,_0x5f0c83._0x5335e2)]+'\x20('+_0x57deca[_0x233cad(0x2b7,0x243,_0x5f0c83._0x9f9683,_0x5f0c83._0x4c3d76)]+_0x407963(-0x17b,-_0x5f0c83._0x3e41a6,0x134,-0xb8)+(_0x57deca[_0x233cad(_0x5f0c83._0x1dc884,_0x5f0c83._0x137460,_0x5f0c83._0xfc7f9a,0x620)]['start'][_0x233cad(0x41b,_0x5f0c83._0x4aefe1,0x32d,0x243)]+0x1)+':'+(_0x57deca[_0x407963(0x85,-_0x5f0c83._0x4c31dc,_0x5f0c83._0x4c506b,_0x5f0c83._0x469eb8)][_0x233cad(_0x5f0c83._0x541f05,0x595,0x43c,0x522)][_0x233cad(0x455,0x26c,_0x5f0c83._0x552fd9,0x245)]+0x1)+']';function _0x233cad(_0x37deb1,_0x227633,_0x474d36,_0x226b2c){return _0xde1111(_0x37deb1-0x191,_0x474d36-0x44a,_0x474d36-_0x4649a3._0x35ad1c,_0x227633);}return _0x57deca[_0x407963(_0x5f0c83._0xad9a51,0x64,_0x5f0c83._0x34ec6b,0x103)]+'\x20('+_0x57deca['kind']+')\x20'+locationPath(_0x57deca[_0x407963(-0x213,-0xd2,_0x5f0c83._0x378b50,-0x187)]['uri'])+':'+(_0x57deca[_0x407963(0x25,-0xd2,-_0x5f0c83._0xdfc1a,_0x5f0c83._0x5274a7)]['range'][_0x233cad(0x5bb,0x498,0x43c,_0x5f0c83._0x33b17a)][_0x407963(-_0x5f0c83._0x46cdaf,-0x201,-0x303,-0x6f)]+0x1)+':'+(_0x57deca[_0x407963(_0x5f0c83._0x1f5254,-_0x5f0c83._0x162d44,-_0x5f0c83._0x3d50c6,-_0x5f0c83._0x23703c)][_0x233cad(_0x5f0c83._0x525729,0x58b,0x50d,0x579)][_0x233cad(_0x5f0c83._0x57cfeb,0x41a,_0x5f0c83._0x483a97,_0x5f0c83._0x2e6540)][_0x233cad(0x311,_0x5f0c83._0x4163fa,_0x5f0c83._0x1f504d,0x22f)]+0x1);})[_0xde1111(_0x35d9a4._0x1a2c84,0xee,_0x35d9a4._0x3106a2,-0x7b)]('\x0a');}function formatDiagnostics(_0x610d3c){const _0x5bb771={_0x40812c:0x25,_0x2e8f28:0x2f,_0x197815:0x69,_0x102607:0x7f,_0x18153b:0x215,_0x872f87:0x1a0,_0x3c9fbf:0x154},_0x274677={_0x1a9b8c:0xfe,_0x407775:0x668,_0x376677:0x74f,_0xe9a0bd:0x2ba,_0x2e52b1:0x4ac},_0x5fd8f2={_0x245a3e:0x1b4,_0x3b5ca7:0x96,_0x3b1c0b:0x6f},_0x530675={_0x141607:0x4b,_0x2fdec8:0x198};if(_0x610d3c[_0x588898(-_0x5bb771._0x40812c,-0x51,-0x17,-0x50)]===0x0)return _0x588898(_0x5bb771._0x2e8f28,-_0x5bb771._0x197815,_0x5bb771._0x102607,-0x49);function _0x588898(_0x36d484,_0x1f8d6d,_0x3a111d,_0x8c865d){return _0x125cf4(_0x36d484-_0x530675._0x141607,_0x1f8d6d-0x39,_0x36d484,_0x8c865d-_0x530675._0x2fdec8);}function _0xd0d0ae(_0x1d69f1,_0x3632c5,_0x486242,_0x58c8d4){return _0x5b337b(_0x1d69f1- -_0x5fd8f2._0x245a3e,_0x58c8d4,_0x486242-_0x5fd8f2._0x3b5ca7,_0x58c8d4-_0x5fd8f2._0x3b1c0b);}return _0x610d3c[_0xd0d0ae(_0x5bb771._0x18153b,0x390,0x2a6,0x22b)](_0x6bdba1=>{const _0x64b116={_0x13c380:0x66a};function _0x533641(_0x36737f,_0x57a759,_0x1e1091,_0x4b797b){return _0x588898(_0x1e1091,_0x4b797b-_0x64b116._0x13c380,_0x1e1091-0xfe,_0x4b797b-0xfa);}function _0x46e4ab(_0x5d8df6,_0x4ead6a,_0x25f9dd,_0x186865){return _0xd0d0ae(_0x4ead6a- -0x175,_0x4ead6a-0x1ed,_0x25f9dd-0x41,_0x186865);}const _0x2f13dd=_0x6bdba1[_0x46e4ab(_0x274677._0x1a9b8c,0x146,0x151,0xc9)]['start'];return severityName(_0x6bdba1[_0x533641(_0x274677._0x407775,0x717,_0x274677._0x376677,0x6b3)])+'\x20['+(_0x2f13dd[_0x533641(0x55d,0x5a8,_0x274677._0xe9a0bd,0x426)]+0x1)+':'+(_0x2f13dd[_0x533641(0x344,0x344,0x34f,_0x274677._0x2e52b1)]+0x1)+']\x20'+_0x6bdba1['message'];})[_0x588898(-0x156,-0x39,-_0x5bb771._0x872f87,-_0x5bb771._0x3c9fbf)]('\x0a');}function formatIncomingCalls(_0x11aeda){const _0x431360={_0x209e08:0x481,_0x5380d4:0x535,_0x5c41b7:0x57c},_0x511bc8={_0x44739e:0x27,_0xd8f6e4:0x498},_0x58d77a={_0x1bf654:0x4b,_0x18d5cd:0x133};if(_0x11aeda[_0x5f411c(0x56e,0x552,_0x431360._0x209e08,0x539)]===0x0)return _0x5f411c(0x550,_0x431360._0x5380d4,0x676,_0x431360._0x5c41b7);function _0x5f411c(_0x27b4e2,_0x24cf84,_0x506cb8,_0x302d52){return _0x5b337b(_0x27b4e2-0xec,_0x24cf84,_0x506cb8-_0x58d77a._0x1bf654,_0x302d52-_0x58d77a._0x18d5cd);}function _0x3b5719(_0x29dda1,_0x3cff55,_0x5625a8,_0x56e8c4){return _0x125cf4(_0x29dda1-_0x511bc8._0x44739e,_0x56e8c4-_0x511bc8._0xd8f6e4,_0x3cff55,_0x56e8c4-0x163);}return _0x11aeda['map'](_0x24bf75=>_0x24bf75[_0x3b5719(0x579,0x420,0x4d9,0x464)][_0x3b5719(0x5ae,0x453,0x519,0x480)])['join']('\x0a');}function formatOutgoingCalls(_0x3893c9){const _0x2c4ac8={_0xabb2f4:0x1ac,_0x55000f:0x82,_0x35034a:0x28d,_0x1c825d:0x19d,_0x1559ae:0x136,_0x3edd50:0x2b8,_0x28632c:0x3af},_0x4752ec={_0x17bb4a:0x2e0,_0x28bb52:0x8},_0x819e46={_0x152e55:0x10c};if(_0x3893c9[_0x177b02(_0x2c4ac8._0xabb2f4,0x3e,_0x2c4ac8._0x55000f,0x4f)]===0x0)return'No\x20call\x20hierarchy\x20results';function _0x177b02(_0x3cab12,_0x5f3725,_0x173790,_0x1e401c){return _0x125cf4(_0x3cab12-0xe7,_0x173790-_0x819e46._0x152e55,_0x1e401c,_0x1e401c-0x193);}function _0x6ff37b(_0x38f273,_0x5a482f,_0x4925ee,_0xae2a13){return _0x125cf4(_0x38f273-0x198,_0x4925ee-_0x4752ec._0x17bb4a,_0x5a482f,_0xae2a13-_0x4752ec._0x28bb52);}return _0x3893c9[_0x6ff37b(_0x2c4ac8._0x35034a,0xff,_0x2c4ac8._0x1c825d,_0x2c4ac8._0x1559ae)](_0x111b34=>_0x111b34['to'][_0x6ff37b(0x14c,0x189,0x2c8,0x388)])[_0x6ff37b(_0x2c4ac8._0x3edd50,_0x2c4ac8._0x28632c,0x26e,0x1ee)]('\x0a');}function toStructured(_0x2566f5){const _0x374d0b={_0x7f1901:0x76c};function _0x1cec20(_0x2559c4,_0x160abd,_0x18c749,_0x19f7ad){return _0x125cf4(_0x2559c4-0x12,_0x18c749-0x741,_0x160abd,_0x19f7ad-0x3d);}return JSON['parse'](JSON[_0x1cec20(_0x374d0b._0x7f1901,0x685,0x75e,0x725)](_0x2566f5));}async function assertFile(_0x91878a){const _0x4ae916={_0x2e033d:0x356,_0x2b7921:0x4c2,_0x5d070b:0x3cc,_0xe7bc52:0x316,_0x2ecc8d:0x4a1},_0x4b2e3f={_0x1ae721:0x1f},_0x415df4={_0x16828b:0x4c4};function _0x1d201f(_0x7f3227,_0x3286f2,_0x32cc6f,_0xed6f13){return _0x5b337b(_0x32cc6f- -_0x415df4._0x16828b,_0xed6f13,_0x32cc6f-0x6f,_0xed6f13-0x12e);}const _0x564384=await _0x43fc8e(_0x91878a);function _0x38b274(_0x2aa0c6,_0x3328af,_0x2545c4,_0x24a1d2){return _0x5b337b(_0x3328af- -_0x4b2e3f._0x1ae721,_0x2aa0c6,_0x2545c4-0x15d,_0x24a1d2-0x1ce);}if(!_0x564384[_0x38b274(_0x4ae916._0x2e033d,0x496,_0x4ae916._0x2b7921,0x3de)]())throw new ToolExecutionError(_0x38b274(0x448,_0x4ae916._0x5d070b,_0x4ae916._0xe7bc52,_0x4ae916._0x2ecc8d)+_0x91878a,{'path':_0x91878a});}function validatePosition(_0x3ab1b3,_0x48e943){const _0x49114b={_0xc294fb:0x1e5,_0x443b86:0x337,_0x57bf4b:0x1b7,_0x3ee601:0x14f,_0x361831:0xee,_0x2dfb23:0x29b,_0x1d38f4:0x2a3},_0x29a5d5={_0x441a68:0x1e0},_0x5198e3={_0x5abb72:0x1d3};function _0x478e7d(_0x1d8186,_0x5888e9,_0x342a43,_0x22675e){return _0x125cf4(_0x1d8186-0x178,_0x5888e9- -0x33,_0x22675e,_0x22675e-_0x5198e3._0x5abb72);}function _0x3012ef(_0x3a7440,_0x240dee,_0x23b52b,_0x19eebe){return _0x125cf4(_0x3a7440-0x1f1,_0x23b52b-0x4bd,_0x240dee,_0x19eebe-_0x29a5d5._0x441a68);}if(!Number[_0x3012ef(_0x49114b._0xc294fb,0x341,_0x49114b._0x443b86,0x314)](_0x3ab1b3)||_0x3ab1b3<0x1)throw new ToolExecutionError(_0x478e7d(-_0x49114b._0x57bf4b,-_0x49114b._0x3ee601,-0x2c9,-_0x49114b._0x361831),{'line':_0x3ab1b3});if(!Number['isInteger'](_0x48e943)||_0x48e943<0x1)throw new ToolExecutionError(_0x3012ef(_0x49114b._0x2dfb23,0x208,0x27c,_0x49114b._0x1d38f4),{'character':_0x48e943});}function createLspTool(_0x135785={}){const _0x17ba97={_0x23540b:0x4d9,_0x49e8e0:0x482,_0x245e22:0x269,_0xe8adf7:0x2f3,_0x32e8a0:0x230,_0x58d917:0x7,_0x25c05c:0x4d,_0x4e106a:0x618,_0x370158:0x3bc,_0x4e8fdb:0x72,_0x4168a8:0x2a9,_0x37319c:0x21a,_0x42e773:0xf4,_0x49d857:0xf2,_0x470c2b:0x84,_0x2bfcd8:0x81,_0x38c521:0x1a2,_0x183876:0x1cf,_0x5e5910:0x170,_0x33c00d:0x44,_0x201f29:0x32f,_0x260ade:0x4ed,_0x3aadfa:0x386,_0x387409:0x343,_0x5e2217:0x1d,_0x2ec30c:0x1b6,_0x2da725:0x75,_0x6d2c7:0x3a,_0x58229f:0x139,_0x1ef0c1:0x212,_0x1711ba:0x351,_0x477026:0x3c6,_0x40e225:0x486,_0x56bc73:0x173,_0x5fb605:0x33f,_0x197203:0x319,_0x3dd654:0x46e,_0x3718f8:0x444,_0x159daa:0x23c,_0x477755:0x268,_0x9b0c24:0x118},_0x54bdf1={_0x25bdd6:0x7a1,_0x1e1b32:0x6ab,_0x4d0ac7:0x65b,_0x34fe78:0x706,_0x368bf8:0x6bb,_0x1dfa9a:0x555,_0x4b8965:0x548,_0x524608:0x458,_0x244f1e:0x4e4,_0x350726:0x46c,_0x11054f:0x79,_0x371ae:0x12b,_0x1781fa:0xd6,_0x40d86b:0x213,_0x3f57ca:0x248,_0x3c325a:0x5b7,_0x1fe644:0x614,_0x59594a:0x611,_0x53e516:0xd8,_0x527b72:0x79,_0x1e72dd:0x139,_0x5576e8:0xf8,_0x485895:0x192,_0x4175ec:0x116,_0x3653be:0x7e,_0x43b413:0x4e,_0x43121a:0xa0,_0x47f629:0xc0,_0x26b0d8:0x14e,_0x26f942:0x40,_0x1a0021:0x164,_0x39b584:0x105,_0x4de8e6:0x5ed,_0x1da910:0x4c1,_0xa0e399:0x10a,_0x2d8252:0x4d,_0x4e6082:0x3f1,_0x3d5c38:0x5b6,_0x816a90:0x534,_0x1d98f3:0x478,_0x120ae3:0x57d,_0xa5d60f:0x4ec,_0x50d8c8:0x38b,_0x3cea8a:0x4e2,_0x1f4c3a:0x126,_0x4a4916:0x22,_0xf5b0f1:0x3c,_0xd88bfe:0x5a3,_0x47f847:0x5c1,_0x1d75a8:0x578,_0xd98d00:0x310,_0x19f1eb:0x4eb,_0x2c9c34:0x56b,_0x3c06db:0x4c5,_0x26e10f:0x58f,_0x35d622:0x71a,_0x3cbaba:0x76a,_0x3861c3:0x614,_0x2778ae:0x30,_0x4b41ef:0x170,_0x18161d:0x48f,_0x1e6942:0x4a6,_0x1ec3bc:0x50e,_0x375222:0x4f4,_0x335f7a:0x95,_0x4382f6:0x46,_0x347844:0x5bd,_0x107a22:0x767,_0x4f159b:0x6a8,_0x533223:0x140,_0x452588:0x92,_0x298819:0x57e,_0x4fd5fb:0x779,_0x95753:0x5c6,_0x2c1f33:0x59e},_0x693e7b={_0x338c6a:0x5dc,_0x4e2f49:0x13c},_0x53c2ec={_0x619415:0x121},_0x328138={_0x244118:0x21},_0x4a91ca={_0x15b404:0x40d,_0x44d272:0xe1};function _0x1e11a3(_0x2bfd83,_0x18fd09,_0x344b4a,_0x284a22){return _0x5b337b(_0x18fd09- -_0x4a91ca._0x15b404,_0x2bfd83,_0x344b4a-_0x4a91ca._0x44d272,_0x284a22-0xe);}function _0x272a5d(_0x5409a7,_0x35cf43,_0x6d957c,_0x5d3231){return _0x5b337b(_0x6d957c- -0x23,_0x5d3231,_0x6d957c-_0x328138._0x244118,_0x5d3231-0xdc);}const _0x499cfc=_0x338dfd[_0x272a5d(_0x17ba97._0x23540b,0x42a,_0x17ba97._0x49e8e0,0x41c)](_0x135785[_0x272a5d(_0x17ba97._0x245e22,0x28b,_0x17ba97._0xe8adf7,0x45d)]??process[_0x1e11a3(_0x17ba97._0x32e8a0,0x10a,_0x17ba97._0x58d917,-_0x17ba97._0x25c05c)]()),_0x2c5811=_0x135785['allowedDirs']??[],_0x5004e2=_0x135785[_0x272a5d(0x46e,_0x17ba97._0x4e106a,0x4d1,_0x17ba97._0x370158)]??_0x1e11a3(-0x216,-0x1a0,-_0x17ba97._0x4e8fdb,-_0x17ba97._0x4168a8);return defineTool({'name':_0x5004e2,'permissionClass':_0x1e11a3(-_0x17ba97._0x37319c,-0xc2,-0xd2,-0x31),'description':'Query\x20Language\x20Server\x20Protocol\x20code\x20intelligence\x20for\x20workspace\x20files:\x20definitions,\x20references,\x20hover,\x20symbols,\x20call\x20hierarchy,\x20and\x20diagnostics.','inputSchema':{'type':_0x1e11a3(0x9e,-0x2d,_0x17ba97._0x42e773,0x140),'properties':{'operation':{'type':_0x1e11a3(-_0x17ba97._0x49d857,_0x17ba97._0x470c2b,-_0x17ba97._0x2bfcd8,_0x17ba97._0x38c521),'enum':['goToDefinition',_0x272a5d(_0x17ba97._0x183876,_0x17ba97._0x5e5910,0x20d,0x9a),'hover',_0x1e11a3(-0x4f,-0x4d,-0x48,_0x17ba97._0x33c00d),_0x272a5d(_0x17ba97._0x201f29,0x301,0x351,0x3e3),_0x272a5d(_0x17ba97._0x260ade,0x466,_0x17ba97._0x3aadfa,_0x17ba97._0x387409),'prepareCallHierarchy',_0x1e11a3(_0x17ba97._0x5e2217,-0xce,-_0x17ba97._0x2ec30c,-_0x17ba97._0x2da725),_0x1e11a3(_0x17ba97._0x6d2c7,0x46,_0x17ba97._0x58229f,-_0x17ba97._0x49d857),_0x272a5d(0x38b,_0x17ba97._0x1ef0c1,0x36a,_0x17ba97._0x1711ba)]},'filePath':{'type':_0x272a5d(_0x17ba97._0x477026,0x4de,0x46e,_0x17ba97._0x40e225)},'line':{'type':_0x1e11a3(-0x85,-_0x17ba97._0x56bc73,-0xe4,-0x21b)},'character':{'type':'number'},'query':{'type':_0x272a5d(_0x17ba97._0x5fb605,_0x17ba97._0x197203,_0x17ba97._0x3dd654,_0x17ba97._0x3718f8)}},'required':['operation',_0x1e11a3(-_0x17ba97._0x159daa,-0x1a8,-_0x17ba97._0x477755,-_0x17ba97._0x9b0c24),'line','character']},async *'execute'(_0xe09dee,_0x359f0f){const _0x3fd24c=_0x135785['lspService'];if(!_0x3fd24c)throw new ToolExecutionError(_0x123909(_0x54bdf1._0x25bdd6,0x66a,0x6ad,0x807));function _0x4c45bd(_0x281dc6,_0xece901,_0x147136,_0x49e679){return _0x272a5d(_0x281dc6-_0x53c2ec._0x619415,_0xece901-0xa7,_0xece901- -0x290,_0x147136);}if(!_0x3fd24c[_0x123909(0x587,_0x54bdf1._0x1e1b32,0x601,0x642)]())throw new ToolExecutionError(_0x123909(_0x54bdf1._0x4d0ac7,_0x54bdf1._0x34fe78,_0x54bdf1._0x368bf8,_0x54bdf1._0x1dfa9a));const _0x1dd4b9=_0xe09dee[_0x123909(_0x54bdf1._0x4b8965,0x5f5,0x67f,0x639)];validatePosition(_0xe09dee['line'],_0xe09dee[_0x123909(0x40a,_0x54bdf1._0x524608,_0x54bdf1._0x244f1e,_0x54bdf1._0x350726)]);function _0x123909(_0x38966a,_0x206e02,_0x17f61a,_0x57d213){return _0x1e11a3(_0x38966a,_0x17f61a-_0x693e7b._0x338c6a,_0x17f61a-_0x693e7b._0x4e2f49,_0x57d213-0x1ac);}if(_0x1dd4b9==='workspaceSymbol'){if(!_0xe09dee[_0x4c45bd(0x129,_0x54bdf1._0x11054f,-0x32,0xac)]?.[_0x4c45bd(_0x54bdf1._0x371ae,0x17b,_0x54bdf1._0x1781fa,_0x54bdf1._0x40d86b)]())throw new ToolExecutionError('workspaceSymbol\x20requires\x20a\x20non-empty\x20query');const _0x1ddfdd=await awaitWithAbort(_0x3fd24c[_0x4c45bd(0x1cf,0xc1,_0x54bdf1._0x3f57ca,0x243)](_0xe09dee['query']['trim']()),_0x359f0f[_0x123909(0x5ac,_0x54bdf1._0x3c325a,_0x54bdf1._0x1fe644,_0x54bdf1._0x59594a)]);return yield createToolOutput(formatSymbols(_0x1ddfdd),{'operation':_0x1dd4b9,'query':_0xe09dee[_0x4c45bd(-_0x54bdf1._0x53e516,_0x54bdf1._0x527b72,0x1b4,-0x92)],'symbols':_0x1ddfdd}),void 0x0;}const _0x4aac38=resolveAllowedPath(_0x499cfc,_0x2c5811,_0xe09dee[_0x4c45bd(0x6b,-0x4e,-0x1cb,_0x54bdf1._0x1e72dd)]);await assertFile(_0x4aac38);if(!await awaitWithAbort(_0x3fd24c[_0x4c45bd(-0x9,_0x54bdf1._0x5576e8,-0x5e,-0x3b)](_0x4aac38),_0x359f0f[_0x4c45bd(0xef,_0x54bdf1._0x485895,_0x54bdf1._0x4175ec,0xc5)]))throw new ToolExecutionError('No\x20LSP\x20server\x20available\x20for\x20file:\x20'+_0xe09dee[_0x4c45bd(-_0x54bdf1._0x3653be,-_0x54bdf1._0x43b413,0x113,-0x10a)],{'filePath':_0xe09dee['filePath']});await awaitWithAbort(_0x3fd24c[_0x4c45bd(0x145,_0x54bdf1._0x43121a,-_0x54bdf1._0x47f629,-0xd5)](_0x4aac38,!![]),_0x359f0f[_0x4c45bd(_0x54bdf1._0x26b0d8,_0x54bdf1._0x485895,0xf0,0x136)]);const _0x108255={'file':_0x4aac38,'line':_0xe09dee[_0x4c45bd(-0x48,-0x24,_0x54bdf1._0x26f942,-_0x54bdf1._0x1a0021)]-0x1,'character':_0xe09dee[_0x4c45bd(-_0x54bdf1._0x39b584,0x62,0xbc,0x1e9)]-0x1};switch(_0x1dd4b9){case'hover':{const _0x22f019=await awaitWithAbort(_0x3fd24c['hover'](_0x108255),_0x359f0f[_0x123909(_0x54bdf1._0x4de8e6,_0x54bdf1._0x1da910,0x614,0x4be)]);return yield createToolOutput(formatHover(_0x22f019),{'operation':_0x1dd4b9,'filePath':_0x4aac38,'hover':_0x22f019}),void 0x0;}case _0x4c45bd(0x217,0xda,0xec,_0x54bdf1._0xa0e399):{const _0x44b29b=await awaitWithAbort(_0x3fd24c[_0x4c45bd(0x1a4,0x17e,0x308,_0x54bdf1._0x2d8252)](_0x4aac38),_0x359f0f[_0x123909(0x488,0x5a8,0x614,0x4a4)]);return yield createToolOutput(formatDiagnostics(_0x44b29b),{'operation':_0x1dd4b9,'filePath':_0x4aac38,'diagnostics':_0x44b29b}),void 0x0;}case _0x123909(_0x54bdf1._0x4e6082,_0x54bdf1._0x3d5c38,_0x54bdf1._0x816a90,0x672):{const _0x467ad0=await awaitWithAbort(_0x3fd24c[_0x123909(_0x54bdf1._0x1d98f3,0x55d,_0x54bdf1._0x120ae3,0x70d)](_0x108255),_0x359f0f['signal']);return yield createToolOutput(formatLocations(_0x467ad0),{'operation':_0x1dd4b9,'filePath':_0x4aac38,'locations':_0x467ad0}),void 0x0;}case _0x123909(_0x54bdf1._0xa5d60f,_0x54bdf1._0x50d8c8,0x3ff,_0x54bdf1._0x3cea8a):{const _0x4be5e2=await awaitWithAbort(_0x3fd24c[_0x4c45bd(-_0x54bdf1._0x1f4c3a,_0x54bdf1._0x4a4916,-_0x54bdf1._0xf5b0f1,-0x146)](_0x108255),_0x359f0f[_0x123909(_0x54bdf1._0xd88bfe,0x4ad,_0x54bdf1._0x1fe644,0x6a0)]);return yield createToolOutput(formatLocations(_0x4be5e2),{'operation':_0x1dd4b9,'filePath':_0x4aac38,'locations':_0x4be5e2}),void 0x0;}case _0x123909(_0x54bdf1._0x47f847,0x40a,_0x54bdf1._0x1d75a8,0x49a):{const _0x4e89d7=await awaitWithAbort(_0x3fd24c[_0x4c45bd(0x203,0x25d,0x11f,_0x54bdf1._0xd98d00)](_0x108255),_0x359f0f[_0x123909(_0x54bdf1._0x19f1eb,0x4c4,0x614,0x653)]);return yield createToolOutput(formatLocations(_0x4e89d7),{'operation':_0x1dd4b9,'filePath':_0x4aac38,'locations':_0x4e89d7}),void 0x0;}case'documentSymbol':{const _0x6a7444=await awaitWithAbort(_0x3fd24c[_0x123909(_0x54bdf1._0x2c9c34,_0x54bdf1._0x3c06db,_0x54bdf1._0x26e10f,_0x54bdf1._0x35d622)](_0x4aac38),_0x359f0f[_0x123909(0x669,_0x54bdf1._0x3cbaba,_0x54bdf1._0x3861c3,0x4cd)]);return yield createToolOutput(formatSymbols(_0x6a7444),{'operation':_0x1dd4b9,'filePath':_0x4aac38,'symbols':_0x6a7444}),void 0x0;}case _0x4c45bd(0x107,-_0x54bdf1._0x2778ae,-_0x54bdf1._0x4b41ef,0x137):{const _0x1a4bf6=await awaitWithAbort(_0x3fd24c[_0x123909(_0x54bdf1._0x18161d,0x4f3,0x452,0x48f)](_0x108255),_0x359f0f[_0x4c45bd(0xcd,0x192,0x265,0x26d)]);return yield createToolOutput(formatSymbols(_0x1a4bf6),{'operation':_0x1dd4b9,'filePath':_0x4aac38,'symbols':toStructured(_0x1a4bf6)}),void 0x0;}case _0x123909(_0x54bdf1._0x1e6942,0x39f,_0x54bdf1._0x1ec3bc,_0x54bdf1._0x375222):{const _0x40f2fe=await awaitWithAbort(_0x3fd24c[_0x4c45bd(_0x54bdf1._0x335f7a,0x8c,_0x54bdf1._0x4382f6,0xca)](_0x108255),_0x359f0f[_0x123909(_0x54bdf1._0x347844,_0x54bdf1._0x107a22,0x614,_0x54bdf1._0x4f159b)]);return yield createToolOutput(formatIncomingCalls(_0x40f2fe),{'operation':_0x1dd4b9,'filePath':_0x4aac38,'calls':toStructured(_0x40f2fe)}),void 0x0;}case _0x4c45bd(_0x54bdf1._0x533223,0x1a0,_0x54bdf1._0x452588,0x2cc):{const _0x31f42b=await awaitWithAbort(_0x3fd24c[_0x123909(_0x54bdf1._0x298819,_0x54bdf1._0x4fd5fb,0x622,_0x54bdf1._0x95753)](_0x108255),_0x359f0f[_0x123909(0x547,_0x54bdf1._0x2c1f33,0x614,0x792)]);return yield createToolOutput(formatOutgoingCalls(_0x31f42b),{'operation':_0x1dd4b9,'filePath':_0x4aac38,'calls':toStructured(_0x31f42b)}),void 0x0;}}}});}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';import{randomUUID as _0x304beb}from'crypto';import{mkdir as _0x20f230,readFile as _0x2b1448,writeFile as _0x4165ce}from'fs/promises';import{join as _0x1ad1cc}from'path';function sanitizeStorageKey(_0x4a77ae){const _0x2923b6={_0x1888bd:0x4ad,_0x4953fa:0x346,_0x56f3f5:0x283,_0x2778d1:0x142,_0x2d2f24:0x5aa},_0x102130={_0x13c000:0xd},_0x41a5d3={_0x5ce06b:0xea};function _0x497799(_0x59f077,_0xd3d927,_0x4f6dc6,_0x4ab2a2){return _0x5b337b(_0x59f077- -0x1b0,_0xd3d927,_0x4f6dc6-0x1d4,_0x4ab2a2-_0x41a5d3._0x5ce06b);}function _0x2252f9(_0x1c976a,_0x1a8722,_0x1e699c,_0x15f8bb){return _0x5b337b(_0x1c976a-0x7a,_0x1a8722,_0x1e699c-0x1d8,_0x15f8bb-_0x102130._0x13c000);}return _0x4a77ae[_0x2252f9(_0x2923b6._0x1888bd,0x408,0x438,_0x2923b6._0x4953fa)](/[^a-zA-Z0-9_]+/g,'_')[_0x497799(_0x2923b6._0x56f3f5,_0x2923b6._0x2778d1,0x22f,0x14d)](/^_+|_+$/g,'')||_0x2252f9(_0x2923b6._0x2d2f24,0x495,0x722,0x506);}function storagePath(_0x3cd87d){const _0x628125={_0x39693c:0x307,_0x44d644:0x1ea,_0x1997b1:0x39b,_0x59d0b9:0x110,_0x5e90d5:0x1d6,_0xd7ac8d:0xe6,_0x16a424:0x154,_0x96df15:0x1f2,_0x420016:0x1ed,_0x58d68c:0x225,_0x399649:0x124},_0x4c6363={_0x1342e6:0x4e8,_0x52f718:0x11e},_0x20d3d5={_0xbc880d:0x355,_0x5be0cb:0x1c5},_0x28b1c2=sanitizeStorageKey(_0x3cd87d[_0x5f1142(-_0x628125._0x39693c,-_0x628125._0x44d644,-_0x628125._0x1997b1,-0x26e)][_0x4a5438(_0x628125._0x59d0b9,-0x96,0x106,-0x59)]?.[_0x4a5438(_0x628125._0x5e90d5,_0x628125._0xd7ac8d,0x1e2,0x7e)]??_0x3cd87d['serverName']);function _0x4a5438(_0x96b7ac,_0x1f6b95,_0x2cbae4,_0x1af1cd){return _0x5b337b(_0x1af1cd- -_0x20d3d5._0xbc880d,_0x1f6b95,_0x2cbae4-0x9c,_0x1af1cd-_0x20d3d5._0x5be0cb);}function _0x5f1142(_0xfccb91,_0x538384,_0xa7719f,_0x24f8ec){return _0x5b337b(_0x24f8ec- -_0x4c6363._0x1342e6,_0xa7719f,_0xa7719f-_0x4c6363._0x52f718,_0x24f8ec-0x197);}return _0x1ad1cc(_0x3cd87d[_0x5f1142(-0x2c9,-_0x628125._0x16a424,-0x86,-0x142)],_0x28b1c2+_0x5f1142(-_0x628125._0x96df15,-_0x628125._0x420016,-_0x628125._0x58d68c,-_0x628125._0x399649));}async function readStore(_0x1ff2e6){const _0x286a2f={_0x34e62e:0x263,_0x19c02e:0x169,_0x5c96de:0x584,_0x5a2551:0x670,_0xb5fb5:0x560},_0x523d7b={_0x3f3784:0x1eb,_0x122c6d:0x18a},_0x32ec00={_0x5c1169:0x7b};function _0x574c8a(_0x2a2f4b,_0x3267f5,_0x33954d,_0xf2ba20){return _0x5b337b(_0xf2ba20-0x252,_0x3267f5,_0x33954d-0x100,_0xf2ba20-_0x32ec00._0x5c1169);}function _0x4b40ce(_0xa00146,_0x126c22,_0x4c09a8,_0x16cbc0){return _0x5b337b(_0x4c09a8- -_0x523d7b._0x3f3784,_0x126c22,_0x4c09a8-0xb9,_0x16cbc0-_0x523d7b._0x122c6d);}try{return JSON[_0x4b40ce(0x6f,0x13b,0x155,0x137)](await _0x2b1448(_0x1ff2e6,_0x4b40ce(0xec,0xf9,_0x286a2f._0x34e62e,_0x286a2f._0x19c02e)));}catch(_0x3d31aa){if(_0x3d31aa instanceof Error&&_0x4b40ce(0x26a,0x235,0x233,0x299)in _0x3d31aa&&_0x3d31aa[_0x574c8a(0x4f8,_0x286a2f._0x5c96de,0x569,_0x286a2f._0x5a2551)]===_0x574c8a(0x489,0x498,_0x286a2f._0xb5fb5,0x52a))return{};throw _0x3d31aa;}}async function writeStore(_0x273c7e,_0x23b3b4){const _0x3f8459={_0x5259e5:0x607},_0x114cad={_0x1c60b2:0x86,_0x3e6ab9:0x100,_0x21d590:0x159};function _0x396eee(_0x172ede,_0x3b7736,_0x3ab345,_0x287a7f){return _0x5b337b(_0x3b7736-_0x114cad._0x1c60b2,_0x287a7f,_0x3ab345-_0x114cad._0x3e6ab9,_0x287a7f-_0x114cad._0x21d590);}await _0x20f230(_0x1ad1cc(_0x273c7e,'..'),{'recursive':!![]}),await _0x4165ce(_0x273c7e,JSON['stringify'](_0x23b3b4,null,0x2),_0x396eee(0x3fc,0x4d4,0x377,_0x3f8459._0x5259e5));}async function updateStore(_0x3b6beb,_0x569735){const _0x6f6cbc=await readStore(_0x3b6beb);_0x569735(_0x6f6cbc),await writeStore(_0x3b6beb,_0x6f6cbc);}function createMcpOAuthProvider(_0x180572){const _0x5811dd={_0x3bb7d2:0x511,_0xc421ff:0x303,_0x82e4bf:0x4af,_0x2c962e:0x4e7,_0x13d3d0:0x500,_0x270969:0x523,_0x54121f:0x353,_0x4d792b:0x402,_0x4907ab:0x537,_0x5d7bac:0x3c1,_0x4cb1f7:0x549,_0x26236f:0x5ca,_0x10f190:0x540,_0x169987:0x667,_0x32c6a7:0x5c9,_0x365802:0x5a7,_0x49bd66:0x490,_0x15d8d7:0x2c7,_0x3a79a6:0x349,_0x40827a:0x387,_0x2464e8:0x2d2,_0x4f6238:0x15c},_0x353dff={_0xd8a096:0x54e,_0x296d1d:0x3f0},_0x4d76d2={_0x58860e:0xb7},_0x47eb1a={_0x9a41db:0x247,_0x2de3dd:0x22e},_0x1fe797={_0x47c327:0x1ae,_0x41a206:0x24d,_0x4b3923:0x123,_0x158853:0x3b7,_0x4a24a3:0x19},_0x7cd7bf={_0x3e1884:0x102,_0x367034:0x6f8},_0x45a025={_0x4fe296:0x3ad,_0x24b013:0x358},_0x5db938={_0x64023e:0xea},_0xe1fbc8={_0x1e812a:0x239,_0x2aad7b:0x386},_0x59d446={_0xc297df:0x492},_0x561275={_0x784392:0x3f8,_0x455596:0x6f0},_0x21e203={_0x1804b2:0x1a8,_0x23a462:0x1cb,_0x1a8057:0x91},_0x1e7eda={_0x2552c5:0x2af,_0x287446:0x26d,_0x2256a0:0x25d,_0x2c4c5d:0x131,_0x139485:0x36b,_0x53ded3:0x10d,_0x56ac93:0x25d},_0x2537c9={_0x2645dc:0x455},_0x25f673={_0x2a1f2d:0x32},_0x4ce905={_0x26b732:0x2bc,_0x59a8da:0x1d3},_0x5896cd={_0x5a2204:0x19a,_0x3bb89c:0x3f},_0x2300ad={_0x120c9f:0x4d,_0x2a8cea:0x1dc},_0x5a4d26=storagePath(_0x180572),_0x32f00f=_0x180572['config'][_0x27495e(_0x5811dd._0x3bb7d2,_0x5811dd._0xc421ff,0x496,_0x5811dd._0x82e4bf)]?.['scopes']?.[_0x474624(_0x5811dd._0x2c962e,_0x5811dd._0x13d3d0,_0x5811dd._0x270969,0x5e1)]('\x20');function _0x474624(_0x25344a,_0x551eec,_0x18ae34,_0x151315){return _0x5b337b(_0x25344a-_0x2300ad._0x120c9f,_0x551eec,_0x18ae34-0x13,_0x151315-_0x2300ad._0x2a8cea);}const _0x10154a={'client_name':_0x474624(_0x5811dd._0x54121f,_0x5811dd._0x4d792b,0x329,0x361),'redirect_uris':[_0x180572[_0x27495e(_0x5811dd._0x4907ab,0x50b,_0x5811dd._0x5d7bac,_0x5811dd._0x4cb1f7)]],'grant_types':[_0x27495e(_0x5811dd._0x26236f,_0x5811dd._0x10f190,_0x5811dd._0x169987,_0x5811dd._0x32c6a7),_0x474624(0x4e8,_0x5811dd._0x365802,_0x5811dd._0x49bd66,0x49f)],'response_types':['code'],'token_endpoint_auth_method':'client_secret_post',..._0x32f00f?{'scope':_0x32f00f}:{}};function _0x27495e(_0x3ff3dc,_0x2e4253,_0x2f6319,_0x35ec81){return _0x5b337b(_0x2f6319-_0x5896cd._0x5a2204,_0x35ec81,_0x2f6319-0x152,_0x35ec81-_0x5896cd._0x3bb89c);}return{'clientMetadataUrl':_0x180572[_0x474624(_0x5811dd._0x15d8d7,0x1a5,0x2c0,_0x5811dd._0x3a79a6)][_0x474624(0x349,0x433,0x473,_0x5811dd._0x40827a)]?.[_0x474624(_0x5811dd._0x2464e8,0x2c2,_0x5811dd._0x4f6238,0x357)],get 'redirectUrl'(){const _0x3a6637={_0x20f73a:0x56,_0x59fc80:0x18b,_0x5d3e20:0xb8};function _0x6b40be(_0x2e0c90,_0x224628,_0x1fb53a,_0x3f0fd1){return _0x474624(_0x3f0fd1- -_0x3a6637._0x20f73a,_0x1fb53a,_0x1fb53a-_0x3a6637._0x59fc80,_0x3f0fd1-_0x3a6637._0x5d3e20);}return _0x180572[_0x6b40be(_0x4ce905._0x26b732,_0x4ce905._0x59a8da,0x314,0x21e)];},get 'clientMetadata'(){return _0x10154a;},async 'state'(){const _0x595e73=await readStore(_0x5a4d26);function _0x4fab51(_0xfd34c9,_0x17729f,_0x324a34,_0x5a6f5f){return _0x474624(_0x5a6f5f- -0x4d6,_0xfd34c9,_0x324a34-0x14a,_0x5a6f5f-_0x25f673._0x2a1f2d);}if(_0x595e73[_0x4fab51(-_0x1e7eda._0x2552c5,-0x393,-_0x1e7eda._0x287446,-_0x1e7eda._0x2256a0)])return _0x595e73[_0x4fab51(-_0x1e7eda._0x2c4c5d,-_0x1e7eda._0x139485,-_0x1e7eda._0x53ded3,-_0x1e7eda._0x56ac93)];const _0x313f33=_0x304beb();function _0x236d9c(_0x107b4c,_0x3b353a,_0x4d18a2,_0x5a9dc9){return _0x474624(_0x3b353a- -_0x2537c9._0x2645dc,_0x107b4c,_0x4d18a2-0x121,_0x5a9dc9-0x177);}return await updateStore(_0x5a4d26,_0x3a2fa0=>{_0x3a2fa0['state']=_0x313f33;}),_0x313f33;},async 'clientInformation'(){function _0x31033e(_0x19be23,_0x1d7ce1,_0x5818c4,_0x3b2a37){return _0x474624(_0x1d7ce1-_0x21e203._0x1804b2,_0x5818c4,_0x5818c4-_0x21e203._0x23a462,_0x3b2a37-_0x21e203._0x1a8057);}return(await readStore(_0x5a4d26))[_0x31033e(0x567,0x56c,_0x561275._0x784392,_0x561275._0x455596)];},async 'saveClientInformation'(_0x51459e){await updateStore(_0x5a4d26,_0x3fa1f6=>{_0x3fa1f6['clientInformation']=_0x51459e;});},async 'tokens'(){const _0x43173c={_0x545ae6:0x70,_0x33411b:0x118,_0x4b61d4:0xb8};function _0x34b3e4(_0x1fcb17,_0x4d0978,_0x47ee79,_0x3ddaa7){return _0x27495e(_0x1fcb17-_0x43173c._0x545ae6,_0x4d0978-_0x43173c._0x33411b,_0x3ddaa7- -_0x43173c._0x4b61d4,_0x1fcb17);}return(await readStore(_0x5a4d26))[_0x34b3e4(0x33d,0x3a0,0x52c,_0x59d446._0xc297df)];},async 'saveTokens'(_0x2d54cc){await updateStore(_0x5a4d26,_0x368001=>{function _0x55ce1b(_0x7cc403,_0x4e4983,_0x534dc6,_0x42293a){return _0x5504(_0x534dc6-0x107,_0x4e4983);}_0x368001[_0x55ce1b(_0xe1fbc8._0x1e812a,0x4c4,0x334,_0xe1fbc8._0x2aad7b)]=_0x2d54cc;});},async 'redirectToAuthorization'(_0x4d7b0f){function _0x565a49(_0x4f146a,_0x1b354c,_0x3e2030,_0x48d6f9){return _0x474624(_0x1b354c- -_0x5db938._0x64023e,_0x3e2030,_0x3e2030-0x17e,_0x48d6f9-0x1ec);}await _0x180572[_0x565a49(_0x45a025._0x4fe296,0x346,_0x45a025._0x24b013,0x265)](_0x4d7b0f);},async 'saveCodeVerifier'(_0xd22f47){await updateStore(_0x5a4d26,_0xa924d9=>{function _0x313892(_0x3e426d,_0x26ccbf,_0x35f15b,_0x31e68f){return _0x5504(_0x31e68f- -0x1c8,_0x35f15b);}_0xa924d9[_0x313892(-0x102,-0x1be,-0x138,-0x3a)]=_0xd22f47;});},async 'codeVerifier'(){const _0x1f947f={_0x21984f:0xeb,_0x53dcb:0xd0,_0x3de8ac:0xaa},_0x475c1a=(await readStore(_0x5a4d26))[_0x31f05c(-_0x1fe797._0x47c327,-_0x1fe797._0x41a206,-_0x1fe797._0x4b3923,-_0x1fe797._0x158853)];function _0x31f05c(_0x5e7f9e,_0x21b4f6,_0x142450,_0x2cf358){return _0x27495e(_0x5e7f9e-_0x7cd7bf._0x3e1884,_0x21b4f6-0x5a,_0x21b4f6- -_0x7cd7bf._0x367034,_0x2cf358);}if(!_0x475c1a)throw new Error(_0x31f05c(-0x2b8,-0x179,-0x2ec,_0x1fe797._0x4a24a3));function _0x5aaf4e(_0x517387,_0x41db50,_0x2c6e7a,_0x4d088b){return _0x27495e(_0x517387-_0x1f947f._0x21984f,_0x41db50-_0x1f947f._0x53dcb,_0x41db50-_0x1f947f._0x3de8ac,_0x517387);}return _0x475c1a;},async 'invalidateCredentials'(_0x302241){const _0x9c177a={_0x2846df:0x3e8,_0x435d96:0x333,_0x5c4a4b:0x301,_0x90f730:0x3a8,_0x301e2b:0x47b,_0x22a0b8:0x330,_0x45053c:0x2ef,_0x4889e9:0x319,_0x560812:0x119,_0x1b55b0:0x2a2,_0x6b072:0x45d,_0x1cb80e:0x38e,_0x4c3356:0xc6,_0x2e14d6:0x2fe,_0x2562c9:0x385,_0x16af03:0x37e,_0x34de56:0x281,_0x4d0114:0x20a,_0x16ea21:0x5b3,_0x3a5b3a:0x3d3,_0x136ba5:0x509,_0x347dba:0x435,_0x229d1e:0x1b5,_0x177be6:0x31a},_0x50819a={_0x11775a:0x161};await updateStore(_0x5a4d26,_0x982df=>{const _0x3bd426={_0x168b61:0x75};function _0x27ef44(_0x52c642,_0x146ced,_0x1fd8cf,_0x205384){return _0x5504(_0x205384-_0x50819a._0x11775a,_0x1fd8cf);}function _0x105206(_0x3cea8e,_0xc08e7d,_0x47f5ed,_0x35c6d6){return _0x5504(_0x35c6d6-_0x3bd426._0x168b61,_0xc08e7d);}(_0x302241==='all'||_0x302241===_0x105206(0x4a7,_0x9c177a._0x2846df,0x337,_0x9c177a._0x435d96))&&(_0x982df[_0x105206(_0x9c177a._0x5c4a4b,_0x9c177a._0x90f730,0x37f,0x269)]=void 0x0),(_0x302241===_0x27ef44(_0x9c177a._0x301e2b,0x414,_0x9c177a._0x22a0b8,0x4b9)||_0x302241===_0x105206(_0x9c177a._0x45053c,_0x9c177a._0x4889e9,_0x9c177a._0x560812,_0x9c177a._0x1b55b0))&&(_0x982df[_0x27ef44(0x3ba,_0x9c177a._0x6b072,0x46d,_0x9c177a._0x1cb80e)]=void 0x0),(_0x302241==='all'||_0x302241===_0x105206(0x211,0x11f,_0x9c177a._0x4c3356,0x21f))&&(_0x982df[_0x105206(_0x9c177a._0x2e14d6,_0x9c177a._0x2562c9,0x307,0x203)]=void 0x0,_0x982df[_0x27ef44(_0x9c177a._0x16af03,0x284,_0x9c177a._0x34de56,_0x9c177a._0x4d0114)]=void 0x0),(_0x302241===_0x27ef44(0x5e2,0x51a,0x56c,0x4b9)||_0x302241===_0x27ef44(_0x9c177a._0x16ea21,_0x9c177a._0x3a5b3a,_0x9c177a._0x136ba5,0x45c))&&(_0x982df[_0x27ef44(_0x9c177a._0x347dba,0x38a,_0x9c177a._0x229d1e,_0x9c177a._0x177be6)]=void 0x0);});},async 'saveDiscoveryState'(_0xd800ba){await updateStore(_0x5a4d26,_0x9f0332=>{const _0x140523={_0xf2626a:0x284};function _0x13b294(_0x1575a5,_0x53d621,_0x4815c3,_0x8f7b29){return _0x5504(_0x53d621- -_0x140523._0xf2626a,_0x8f7b29);}_0x9f0332[_0x13b294(-_0x47eb1a._0x9a41db,-0xcb,0x78,-_0x47eb1a._0x2de3dd)]=_0xd800ba;});},async 'discoveryState'(){function _0x1f2869(_0x2bba73,_0x396c2b,_0x358408,_0x53cf2e){return _0x27495e(_0x2bba73-0x11c,_0x396c2b-_0x4d76d2._0x58860e,_0x358408- -0xe6,_0x2bba73);}return(await readStore(_0x5a4d26))[_0x1f2869(_0x353dff._0xd8a096,0x513,_0x353dff._0x296d1d,0x321)];}};}import{UnauthorizedError}from'@modelcontextprotocol/sdk/client/auth.js';import{ErrorCode,McpError}from'@modelcontextprotocol/sdk/types.js';var failureByOperation={'close':{'code':_0x5b337b(0x3c6,0x3b0,0x2ab,0x393),'message':_0x2c2818=>_0x125cf4(-0x27c,-0x23f,-0x1bc,-0xb9)+_0x2c2818+_0x5b337b(0x3d8,0x532,0x409,0x462)},'connect':{'code':'mcp-connect-failed','message':_0x38819b=>'MCP\x20server\x20'+_0x38819b+'\x20failed\x20to\x20connect'},'discover':{'code':'mcp-discovery-failed','message':_0x640a7a=>_0x5b337b(0x2cd,0x1f1,0x404,0x30b)+_0x640a7a+'\x20tool\x20discovery\x20failed'},'toolCall':{'code':'mcp-tool-call-failed','message':_0xe926f6=>_0x5b337b(0x2cd,0x3d2,0x37c,0x17e)+_0xe926f6+'\x20tool\x20call\x20failed'}},timeoutMessageByOperation={'close':_0x18ab3d=>'MCP\x20server\x20'+_0x18ab3d+_0x125cf4(-0x2a5,-0x183,-0x1be,-0x16d),'connect':_0x160609=>_0x5b337b(0x2cd,0x3e2,0x307,0x415)+_0x160609+'\x20connection\x20timed\x20out','discover':_0x228a36=>_0x125cf4(-0x3c1,-0x23f,-0x3b6,-0x1fe)+_0x228a36+_0x5b337b(0x4e9,0x3b8,0x606,0x562),'toolCall':_0x77e5f8=>_0x5b337b(0x2cd,0x42c,0x3eb,0x327)+_0x77e5f8+_0x5b337b(0x394,0x2a0,0x48d,0x24f)};function toMcpSafeError(_0x2598ef){const _0x475d28={_0x17e76b:0x390,_0x4169a7:0x355,_0xbf9191:0xe2,_0x430b2d:0x1a,_0xfc817f:0x6a,_0x12d171:0xe5,_0x193ca1:0x3,_0x2d8d8a:0x2c,_0x20d262:0x265,_0x3e3797:0x1a6,_0x25fa0b:0x343,_0x588320:0x2dd,_0x360bb5:0x278,_0x519a53:0x3fb,_0x57a6b7:0x1d4,_0x5dc4c1:0xa8,_0x87648a:0xe2,_0x1752c9:0x53,_0x436347:0x8c,_0x11df14:0xc4,_0x4124eb:0x22f,_0x1b0fc3:0x64,_0x151186:0x2ec,_0x15e181:0x399,_0x321ffe:0x27c,_0xd7fca0:0x3d4,_0x2e3279:0x32,_0x5137fd:0x197,_0x202a4c:0x1c1,_0x52c937:0x245,_0x37600a:0x1f,_0x532676:0x4,_0x41739e:0xae,_0x222594:0x34c,_0x2434a1:0x37d,_0x862758:0x294},_0x193416={_0x518846:0x141,_0x501236:0x1cc},_0x56579c={_0x3fb1f7:0x16a,_0x39b522:0x129};function _0x1a3849(_0x1ac52f,_0x3d9e53,_0x3b0d20,_0x39781e){return _0x5b337b(_0x1ac52f- -_0x56579c._0x3fb1f7,_0x3b0d20,_0x3b0d20-0xac,_0x39781e-_0x56579c._0x39b522);}if(_0x2598ef[_0x1a3849(0x343,_0x475d28._0x17e76b,_0x475d28._0x4169a7,0x3ca)]instanceof UnauthorizedError)return Object[_0x1a3849(_0x475d28._0xbf9191,-0xd,-_0x475d28._0x430b2d,_0x475d28._0xfc817f)]({'code':_0x3af1ca(_0x475d28._0x12d171,0x15b,_0x475d28._0x193ca1,_0x475d28._0x2d8d8a),'message':'MCP\x20server\x20'+_0x2598ef['serverName']+'\x20requires\x20authentication'});if(_0x2598ef[_0x3af1ca(0x168,_0x475d28._0x20d262,0x204,_0x475d28._0x3e3797)]instanceof McpError&&_0x2598ef[_0x1a3849(_0x475d28._0x25fa0b,_0x475d28._0x588320,_0x475d28._0x360bb5,_0x475d28._0x519a53)][_0x3af1ca(_0x475d28._0x57a6b7,0x1d6,0x14c,_0x475d28._0x5dc4c1)]===ErrorCode['RequestTimeout'])return Object[_0x1a3849(_0x475d28._0x87648a,-_0x475d28._0x1752c9,0xee,_0x475d28._0x436347)]({'code':_0x3af1ca(0x158,_0x475d28._0x11df14,_0x475d28._0x4124eb,-_0x475d28._0x1b0fc3),'message':timeoutMessageByOperation[_0x2598ef[_0x1a3849(0x346,0x489,_0x475d28._0x151186,0x231)]](_0x2598ef['serverName'])});function _0x3af1ca(_0x2eb3c1,_0x805b23,_0x45dfba,_0x211cc1){return _0x5b337b(_0x805b23- -0x248,_0x45dfba,_0x45dfba-_0x193416._0x518846,_0x211cc1-_0x193416._0x501236);}const _0x4fc875=failureByOperation[_0x2598ef[_0x3af1ca(_0x475d28._0x15e181,0x268,_0x475d28._0x321ffe,_0x475d28._0xd7fca0)]];return Object[_0x1a3849(0xe2,-_0x475d28._0x2e3279,_0x475d28._0x5137fd,_0x475d28._0x202a4c)]({'code':_0x4fc875[_0x3af1ca(_0x475d28._0x52c937,0x1d6,0x56,0x2ea)],'message':_0x4fc875[_0x3af1ca(-_0x475d28._0x37600a,-_0x475d28._0x532676,-_0x475d28._0x41739e,0x1f)](_0x2598ef[_0x3af1ca(_0x475d28._0x222594,0x1ff,_0x475d28._0x2434a1,_0x475d28._0x862758)])});}function redactMcpDiagnostic(_0x174d45,_0x23f8eb){const _0x580ac7={_0x49d169:0x2dc,_0x35f022:0x1f,_0x2a51b8:0x151,_0x30ff26:0xf5,_0x2079d8:0x52,_0x5b146f:0x9b,_0x365bf4:0xa7,_0x4d8f11:0x1ab,_0x4f3b78:0x83,_0x2f8b07:0x15a,_0xc96de3:0xc2,_0x49cc6d:0xb1,_0xcc7096:0x3e,_0x3ecb5b:0x2b,_0x2f4f2e:0x21,_0x12e6b7:0x15e},_0x2087ed={_0x38268f:0x1db},_0x2d3dfc={_0x21d13b:0x4a3,_0x1d9b5a:0x11a},_0x5a01d7=[...new Set(_0x23f8eb[_0x25ca75(-_0x580ac7._0x49d169,-_0x580ac7._0x35f022,-_0x580ac7._0x2a51b8,-0x99)](_0x4ae0c7=>_0x4ae0c7['length']>0x0))][_0x2241c0(0x186,-_0x580ac7._0x30ff26,_0x580ac7._0x2079d8,_0x580ac7._0x5b146f)]((_0x1e5291,_0x44f5fa)=>_0x44f5fa[_0x25ca75(0x11e,-0x1a4,-0x21,-0x19c)]-_0x1e5291[_0x25ca75(0xe1,-0x88,-0x21,-0x156)]);if(_0x174d45['length']===0x0||_0x5a01d7[_0x2241c0(0x1b6,_0x580ac7._0x365bf4,0x168,0x18a)]===0x0)return _0x174d45;function _0x25ca75(_0x4ca9be,_0x51a9c7,_0x267f8a,_0x38ff05){return _0x5b337b(_0x267f8a- -_0x2d3dfc._0x21d13b,_0x4ca9be,_0x267f8a-_0x2d3dfc._0x1d9b5a,_0x38ff05-0x1f0);}let _0x583716='';function _0x2241c0(_0x845c46,_0x3121bc,_0x2360f3,_0x46e4d3){return _0x5b337b(_0x2360f3- -0x31a,_0x3121bc,_0x2360f3-0x17d,_0x46e4d3-_0x2087ed._0x38268f);}let _0xb9c721=0x0;while(_0xb9c721<_0x174d45[_0x25ca75(-_0x580ac7._0x4d8f11,0xfd,-0x21,0xd7)]){const _0x175d40=_0x5a01d7[_0x25ca75(-0xcd,-0x1f6,-_0x580ac7._0x4f3b78,-_0x580ac7._0x2f8b07)](_0x471c2a=>_0x174d45[_0x25ca75(-0x38,0x3f,-0x12d,-0x57)](_0x471c2a,_0xb9c721));_0x175d40?(_0x583716+=_0x25ca75(-_0x580ac7._0xc96de3,-0x153,-_0x580ac7._0x49cc6d,_0x580ac7._0xcc7096),_0xb9c721+=_0x175d40[_0x25ca75(-_0x580ac7._0x3ecb5b,-0x1a4,-_0x580ac7._0x2f4f2e,-_0x580ac7._0x12e6b7)]):(_0x583716+=_0x174d45[_0xb9c721],_0xb9c721+=0x1);}return _0x583716;}var ownedMcpSafeErrors=new WeakMap();function isWeakMapKey(_0x3a8779){const _0x3e1961={_0x4451c:0x25e,_0x3fa72e:0x329},_0x2b8523={_0xf14226:0xcf,_0x50e4a0:0x38a,_0x46c2c8:0xd3};function _0x158edc(_0x292fe5,_0x53c859,_0x1aa2fa,_0x459288){return _0x125cf4(_0x292fe5-_0x2b8523._0xf14226,_0x53c859-_0x2b8523._0x50e4a0,_0x1aa2fa,_0x459288-_0x2b8523._0x46c2c8);}return typeof _0x3a8779===_0x158edc(0x14d,_0x3e1961._0x4451c,_0x3e1961._0x3fa72e,0x1aa)&&_0x3a8779!==null||typeof _0x3a8779==='function';}function createOwnedMcpSafeError(_0x4c3c31){const _0x197331={_0x52659e:0x1f9,_0x556706:0x12f,_0x49b72a:0xca,_0x1339b5:0xe0,_0x7ad82e:0xbf,_0x8b7dba:0x1ee,_0x8f4a82:0x47},_0x176902={_0x5189b3:0x6,_0x2e5c47:0xd5},_0x4e7d58={_0x48cdb4:0x1f6,_0x4129fc:0xfb},_0x38e752=toMcpSafeError(_0x4c3c31);function _0x59bbb3(_0x33094e,_0x4ac0df,_0x448326,_0x347895){return _0x125cf4(_0x33094e-0x1e0,_0x347895-_0x4e7d58._0x48cdb4,_0x4ac0df,_0x347895-_0x4e7d58._0x4129fc);}function _0x3786fa(_0x35dd1e,_0x208995,_0x5ac289,_0x1756bf){return _0x5b337b(_0x35dd1e- -0x4fe,_0x1756bf,_0x5ac289-_0x176902._0x5189b3,_0x1756bf-_0x176902._0x2e5c47);}const _0x4dde8d=Object[_0x59bbb3(0x2c,-_0x197331._0x52659e,-_0x197331._0x556706,-_0x197331._0x49b72a)]({'code':_0x38e752[_0x3786fa(-_0x197331._0x1339b5,-_0x197331._0x7ad82e,0x93,-_0x197331._0x8b7dba)],'message':_0x38e752['message']});return ownedMcpSafeErrors[_0x3786fa(-_0x197331._0x8f4a82,-0x194,0x9,-0x1d8)](_0x38e752,_0x4dde8d),_0x38e752;}function extractOwnedMcpSafeError(_0x5a3b5b){const _0x4c6952={_0x6d4181:0x352,_0x4ee93c:0x430,_0x48a151:0x147,_0x444114:0x38b},_0x31d77c={_0x15f15c:0x54,_0x5e8b8b:0x13b},_0x5d8129={_0x3ec76f:0x6d};function _0x31ac1a(_0x4422ad,_0x905c76,_0x43a40e,_0xd778f5){return _0x5b337b(_0x43a40e- -0x93,_0x905c76,_0x43a40e-0xb2,_0xd778f5-_0x5d8129._0x3ec76f);}function _0x5320b7(_0x58e9f7,_0x3b4551,_0x545b70,_0x21272c){return _0x125cf4(_0x58e9f7-_0x31d77c._0x15f15c,_0x58e9f7-0x2a1,_0x21272c,_0x21272c-_0x31d77c._0x5e8b8b);}if(!isWeakMapKey(_0x5a3b5b))return void 0x0;const _0x359c34=ownedMcpSafeErrors[_0x31ac1a(_0x4c6952._0x6d4181,_0x4c6952._0x4ee93c,0x2ca,0x144)](_0x5a3b5b);if(!_0x359c34)return void 0x0;const _0x20bd55=Object[_0x5320b7(-0x1f,-0x11f,-0x42,-_0x4c6952._0x48a151)]({'code':_0x359c34[_0x31ac1a(0x4da,0x416,_0x4c6952._0x444114,0x2ee)],'message':_0x359c34['message']});return ownedMcpSafeErrors['set'](_0x20bd55,_0x359c34),_0x20bd55;}function ownValue(_0x49a614,_0x463bdf){return _0x49a614&&Object['hasOwn'](_0x49a614,_0x463bdf)?_0x49a614[_0x463bdf]:void 0x0;}function isToolPermissionClass(_0x3e47f4){const _0x30170d={_0x4d6422:0x50a,_0x5eeddc:0x577},_0x569fc0={_0x5dd796:0xa1,_0x9ad2e7:0x5aa};function _0x2cf288(_0x3f783d,_0x2bf484,_0x463725,_0x480273){return _0x125cf4(_0x3f783d-_0x569fc0._0x5dd796,_0x463725-_0x569fc0._0x9ad2e7,_0x3f783d,_0x480273-0x107);}return _0x3e47f4===_0x2cf288(0x410,_0x30170d._0x4d6422,0x3e9,_0x30170d._0x5eeddc)||_0x3e47f4==='write'||_0x3e47f4==='always-confirm';}function suggestedPermissionClass(_0x140929){const _0x2fe251={_0x2ca983:0xd5,_0x590d7b:0x14,_0x49579f:0x1a0,_0x32a077:0x74},_0x455dae={_0x48f644:0x40e},_0x4ff2c9={_0xe4f7a5:0x3a},_0x4ea292=_0x140929[_0x4d135c(-_0x2fe251._0x2ca983,-0x109,_0x2fe251._0x590d7b,-_0x2fe251._0x49579f)]?.['readOnlyHint'];if(_0x4ea292===!![])return'read';if(_0x4ea292===![])return _0x3b1323(-_0x2fe251._0x32a077,-0x36,-0xc,-0xcb);function _0x4d135c(_0x2ddf53,_0x509c3d,_0x174378,_0x4a20f8){return _0x125cf4(_0x2ddf53-_0x4ff2c9._0xe4f7a5,_0x509c3d- -0x57,_0x4a20f8,_0x4a20f8-0x8a);}function _0x3b1323(_0x1fa23c,_0x398571,_0x15e9ec,_0x44f8c5){return _0x5b337b(_0x15e9ec- -_0x455dae._0x48f644,_0x44f8c5,_0x15e9ec-0x1cf,_0x44f8c5-0xeb);}return void 0x0;}function isJsonValue(_0x5f3b6d){const _0x587e61={_0x3b6c0e:0x362,_0x2f3030:0x199,_0x4d4c09:0x32c,_0x1967a7:0x3e9,_0x38c325:0x4fe,_0x30f364:0x58a,_0x4c6af5:0x580,_0x61194:0x506,_0x43db2a:0x598,_0x149da3:0x50b,_0x5ebdf5:0x4b0},_0x245ebc={_0x41dac9:0x92,_0x2b6ae4:0xb7},_0x4d77fa={_0x3fac2c:0x7,_0x37b382:0xfc};if(_0x5f3b6d===null||typeof _0x5f3b6d===_0x1ecd9c(0x477,_0x587e61._0x3b6c0e,0x48a,0x5ea)||typeof _0x5f3b6d===_0x2bc9c2(0x45b,_0x587e61._0x2f3030,0x3ad,_0x587e61._0x4d4c09)||typeof _0x5f3b6d===_0x2bc9c2(_0x587e61._0x1967a7,_0x587e61._0x38c325,0x4e4,0x4e4))return!![];if(Array['isArray'](_0x5f3b6d))return _0x5f3b6d[_0x2bc9c2(_0x587e61._0x30f364,0x50f,_0x587e61._0x4c6af5,_0x587e61._0x61194)](isJsonValue);function _0x1ecd9c(_0xeb2eda,_0x3cd7f4,_0x5247c7,_0x40172d){return _0x5b337b(_0x5247c7- -_0x4d77fa._0x3fac2c,_0x3cd7f4,_0x5247c7-_0x4d77fa._0x37b382,_0x40172d-0x5b);}if(!isObject(_0x5f3b6d))return![];function _0x2bc9c2(_0x305350,_0x3a9081,_0x1f7ebc,_0x4be177){return _0x5b337b(_0x4be177-_0x245ebc._0x41dac9,_0x305350,_0x1f7ebc-_0x245ebc._0x2b6ae4,_0x4be177-0x11c);}return Object[_0x1ecd9c(0x546,_0x587e61._0x43db2a,0x4d3,_0x587e61._0x149da3)](_0x5f3b6d)[_0x2bc9c2(_0x587e61._0x5ebdf5,0x564,0x4ec,0x506)](isJsonValue);}function projectMcpTools(_0x40b4ea){const _0x35da73={_0x477feb:0x6ad,_0x2b63d5:0x66c,_0x12da75:0x36c,_0x25638f:0x3ef,_0x4bf191:0x4ef,_0x3eecfc:0x367,_0x31c5c5:0x173,_0x2a9540:0x1e2,_0x13f7e1:0x281,_0x1645f3:0x2e5,_0x457eb2:0x12b,_0x386089:0x1ea,_0x57fe13:0x25e,_0xe8a3cb:0xff,_0xea4173:0x102,_0x18da4f:0x1e0,_0xa3fae8:0x12b,_0x2a21e9:0x396,_0x5e064e:0x2b8,_0x4a647b:0x490,_0x255872:0x1c7,_0x188813:0x160,_0x45c228:0x4ef,_0x3d9d24:0x361,_0x467e0a:0x301,_0x20f5a8:0x2e8,_0x3e177a:0x151,_0x30f3e9:0x56f,_0x558e22:0x603,_0x360e1d:0x5d3,_0x1fbbe6:0x6bc},_0x35b959={_0x269d25:0xbe,_0x41c401:0x63a,_0x24ff28:0x42},_0x2ed1b1={_0x32dd52:0xf5};function _0x446462(_0x5a00a1,_0x261e76,_0x528e39,_0x11a57d){return _0x5b337b(_0x11a57d- -0x20f,_0x5a00a1,_0x528e39-_0x2ed1b1._0x32dd52,_0x11a57d-0xad);}const _0x3098c1=[],_0x57e423=[];for(const _0x3fda31 of _0x40b4ea[_0x31652b(0x62d,_0x35da73._0x477feb,0x5de,_0x35da73._0x2b63d5)]){const _0x1b7333=ownValue(_0x40b4ea[_0x31652b(0x38c,0x499,_0x35da73._0x12da75,0x43e)],_0x3fda31[_0x446462(_0x35da73._0x25638f,0x204,0x166,0x2e5)]),_0x36381d=isToolPermissionClass(_0x1b7333)?_0x1b7333:void 0x0,_0x4a5ff6=_0x36381d??_0x31652b(0x3da,0x369,0x38d,0x52e),_0x76db9d=suggestedPermissionClass(_0x3fda31);_0x57e423[_0x31652b(_0x35da73._0x4bf191,0x5dd,_0x35da73._0x3eecfc,0x3df)]({'name':_0x3fda31[_0x446462(_0x35da73._0x31c5c5,_0x35da73._0x2a9540,_0x35da73._0x13f7e1,_0x35da73._0x1645f3)],..._0x3fda31[_0x446462(_0x35da73._0x457eb2,0xbd,0x24a,_0x35da73._0x386089)]!==void 0x0?{'description':_0x3fda31[_0x446462(_0x35da73._0x57fe13,_0x35da73._0xe8a3cb,0x121,0x1ea)]}:{},...isJsonValue(_0x3fda31['inputSchema'])?{'inputSchema':_0x3fda31[_0x446462(0x162,_0x35da73._0xea4173,_0x35da73._0x18da4f,_0x35da73._0xa3fae8)]}:{},'permissionClass':_0x4a5ff6,'permissionConfigured':_0x36381d!==void 0x0,..._0x76db9d!==void 0x0?{'suggestedPermissionClass':_0x76db9d}:{}});if(ownValue(_0x40b4ea[_0x31652b(0x3a3,_0x35da73._0x2a21e9,_0x35da73._0x5e064e,_0x35da73._0x4a647b)],_0x3fda31[_0x446462(_0x35da73._0x255872,_0x35da73._0x188813,0x37a,_0x35da73._0x1645f3)])===![])continue;_0x3098c1[_0x31652b(_0x35da73._0x45c228,_0x35da73._0x3d9d24,0x540,0x43f)](createMcpTool({'serverName':_0x40b4ea[_0x446462(0x46f,0x393,_0x35da73._0x467e0a,_0x35da73._0x20f5a8)]??_0x40b4ea[_0x446462(0x2b5,0x1c4,_0x35da73._0x3e177a,0x238)],'tool':_0x3fda31,'client':_0x40b4ea[_0x31652b(_0x35da73._0x30f3e9,_0x35da73._0x558e22,_0x35da73._0x360e1d,_0x35da73._0x1fbbe6)],'permissionClass':_0x4a5ff6,'internalLifecycle':_0x40b4ea['lifecycle']}));}function _0x31652b(_0x21f7ae,_0xa44abd,_0x202742,_0x34cc42){return _0x125cf4(_0x21f7ae-_0x35b959._0x269d25,_0x21f7ae-_0x35b959._0x41c401,_0x34cc42,_0x34cc42-_0x35b959._0x24ff28);}return{'tools':_0x3098c1,'descriptors':_0x57e423};}function createMcpToolName(_0x3ee4d2,_0x49140a){const _0x4606e0={_0x5f3ce2:0x27,_0x3c97ca:0xcf,_0x206c58:0x124},_0x2f602b={_0x4e9065:0x89},_0x3203a8={_0x27e81b:0x3ab},_0x486ef9=_0x122be4=>_0x122be4[_0x306562(0x6f2,0x56a,0x652,0x59c)](/[^a-zA-Z0-9_]+/g,'_')[_0x5cdeb4(-0xab,-0xa0,0x67,0x88)](/^_+|_+$/g,'');function _0x5cdeb4(_0x4ac849,_0x235634,_0x50155e,_0x48ba46){return _0x5b337b(_0x48ba46- -_0x3203a8._0x27e81b,_0x4ac849,_0x50155e-0x153,_0x48ba46-0x1d7);}function _0x306562(_0x1b4d97,_0xd186ac,_0x2ebe96,_0x5428a6){return _0x125cf4(_0x1b4d97-0x183,_0xd186ac-0x643,_0x5428a6,_0x5428a6-_0x2f602b._0x4e9065);}return _0x5cdeb4(-_0x4606e0._0x5f3ce2,_0x4606e0._0x3c97ca,-0x5c,_0x4606e0._0x206c58)+_0x486ef9(_0x3ee4d2)+'_'+_0x486ef9(_0x49140a);}function isObject(_0x826b0b){const _0xf565a={_0x321133:0x110,_0xce923f:0x142},_0x3f095f={_0xdea1d3:0x278,_0x57003a:0xfb,_0x26d6ce:0x1d1},_0x2c3ce6={_0x266afb:0xcd};function _0x1b9d11(_0x1d65c3,_0x29e3b3,_0x2f138d,_0xcaa9e8){return _0x5b337b(_0x1d65c3- -0x2e0,_0xcaa9e8,_0x2f138d-_0x2c3ce6._0x266afb,_0xcaa9e8-0x1c);}function _0x4ef9cc(_0xdfc9bd,_0x5943ce,_0x4d5ea2,_0x3c832e){return _0x5b337b(_0x4d5ea2- -_0x3f095f._0xdea1d3,_0xdfc9bd,_0x4d5ea2-_0x3f095f._0x57003a,_0x3c832e-_0x3f095f._0x26d6ce);}return typeof _0x826b0b===_0x1b9d11(0x100,0x9a,0x211,_0xf565a._0x321133)&&_0x826b0b!==null&&!Array[_0x4ef9cc(0x0,_0xf565a._0xce923f,0x7c,0x124)](_0x826b0b);}function toSupportedSchema(_0x17b6c0){const _0x3ca14d={_0x4db310:0x60f,_0x54b0f0:0x54e,_0x1dc449:0x480,_0x1ffdca:0x34,_0x5f1022:0x3b,_0x35f93a:0xf1,_0x4945e7:0x193,_0x5cefd7:0x254,_0x2c2aca:0x147,_0x1c0940:0x2c2,_0x31a589:0x19c,_0x40d93e:0xe7,_0x42df6a:0x3a5,_0x2091fa:0x480,_0x32ad91:0x7d,_0x3f141e:0x1c,_0x5310e6:0x1ad,_0x25032b:0xda,_0x35194e:0x2d1,_0xb1cc99:0x1ed,_0x7e2273:0x118,_0x472a5a:0x6b7,_0x441e22:0x42d,_0x5149d6:0x54e,_0x5c897f:0xc5,_0x16b604:0x1a6,_0x3aaf67:0xff,_0x21570e:0x5b3,_0x5e48bf:0x5bd},_0x224cd6={_0x6c15b9:0x3b},_0x3ea40c={_0x327200:0x1dd};if(!isObject(_0x17b6c0))return void 0x0;function _0xc835dc(_0x21b02e,_0x159f40,_0x5a7789,_0x4c95d6){return _0x5b337b(_0x5a7789-_0x3ea40c._0x327200,_0x21b02e,_0x5a7789-0x1c5,_0x4c95d6-0x1c1);}function _0xb8fe9f(_0x778d92,_0x537b0c,_0x404d91,_0x1daacc){return _0x5b337b(_0x537b0c- -0x436,_0x778d92,_0x404d91-0x1cf,_0x1daacc-_0x224cd6._0x6c15b9);}if(_0x17b6c0[_0xc835dc(_0x3ca14d._0x4db310,_0x3ca14d._0x54b0f0,_0x3ca14d._0x1dc449,0x419)]===_0xb8fe9f(_0x3ca14d._0x1ffdca,0x5b,-0x10,0x18b))return{'type':_0xc835dc(0x5b3,0x4f6,0x66e,0x6f6)};if(_0x17b6c0[_0xb8fe9f(-_0x3ca14d._0x5f1022,-0x193,-0x44,-_0x3ca14d._0x35f93a)]==='number'||_0x17b6c0[_0xb8fe9f(-0x1c2,-_0x3ca14d._0x4945e7,-_0x3ca14d._0x5cefd7,-0x89)]===_0xb8fe9f(0x107,0x69,_0x3ca14d._0x2c2aca,0x1f9))return{'type':_0xb8fe9f(-_0x3ca14d._0x1c0940,-_0x3ca14d._0x31a589,-0x1df,-_0x3ca14d._0x40d93e)};if(_0x17b6c0[_0xc835dc(_0x3ca14d._0x42df6a,0x32b,_0x3ca14d._0x2091fa,0x578)]===_0xb8fe9f(_0x3ca14d._0x32ad91,_0x3ca14d._0x3f141e,0x19c,_0x3ca14d._0x5310e6))return{'type':_0xb8fe9f(-0x10a,_0x3ca14d._0x3f141e,_0x3ca14d._0x25032b,0x116)};if(_0x17b6c0[_0xb8fe9f(-_0x3ca14d._0x35194e,-0x193,-_0x3ca14d._0xb1cc99,-_0x3ca14d._0x7e2273)]===_0xc835dc(_0x3ca14d._0x472a5a,_0x3ca14d._0x441e22,_0x3ca14d._0x5149d6,0x553))return{'type':_0xb8fe9f(-0x1b4,-_0x3ca14d._0x5c897f,-_0x3ca14d._0x16b604,-_0x3ca14d._0x3aaf67),'items':toSupportedSchema(_0x17b6c0['items'])??{'type':'string'}};if(_0x17b6c0['type']===_0xc835dc(_0x3ca14d._0x21570e,0x5f1,_0x3ca14d._0x5e48bf,0x6b6))return toNuvinToolSchema(_0x17b6c0);return void 0x0;}function toNuvinToolSchema(_0x2665ad){const _0x2d3caf={_0x3ee916:0x33,_0x5d9a8d:0x3b,_0x3c778e:0x377,_0x2b8bb6:0x2b7,_0x210e9f:0x2b1,_0x5a6270:0x3cd,_0x2b7320:0x34d,_0x281436:0x23,_0x3e366a:0x16,_0x331c7e:0x3d4,_0x1ed98c:0x65f,_0x1ae67d:0x2e1,_0x2ec3fb:0x381,_0x3f9af4:0x1ef,_0x254577:0x74,_0x527e14:0x4a6,_0x2f76f7:0x498,_0x9cfe79:0x602,_0xd42631:0x4a8,_0x30cc7c:0x404,_0x175d0f:0x2ef,_0x4c023e:0x2d1,_0x8d494e:0x404,_0x1fc31f:0x490},_0xe6cdd0={_0xf9cf3d:0xfd,_0x25cd5e:0x530,_0x5a39c0:0x1b5};function _0x4ae822(_0xaacfcf,_0xccb6d,_0x1b4a40,_0x4746fe){return _0x125cf4(_0xaacfcf-0xf7,_0x4746fe-0x22e,_0xaacfcf,_0x4746fe-0xc);}if(!isObject(_0x2665ad)||_0x2665ad[_0x4ae822(-0x82,_0x2d3caf._0x3ee916,-0x17d,-_0x2d3caf._0x5d9a8d)]!==_0x4ae822(0xd5,0x1c8,0x1cc,0x102))return{'type':'object','properties':{}};const _0x36fab2={},_0x377544=isObject(_0x2665ad['properties'])?_0x2665ad[_0x2d46e7(_0x2d3caf._0x3c778e,_0x2d3caf._0x2b8bb6,_0x2d3caf._0x210e9f,0x1f8)]:{};for(const [_0x49b622,_0x16c046]of Object[_0x2d46e7(0x3eb,0x3e0,_0x2d3caf._0x5a6270,_0x2d3caf._0x2b7320)](_0x377544)){const _0x2b29cc=toSupportedSchema(_0x16c046);if(_0x2b29cc)_0x36fab2[_0x49b622]=_0x2b29cc;}function _0x2d46e7(_0x209332,_0xaec2f5,_0x5c32e6,_0x5adb16){return _0x125cf4(_0x209332-_0xe6cdd0._0xf9cf3d,_0xaec2f5-_0xe6cdd0._0x25cd5e,_0x5c32e6,_0x5adb16-_0xe6cdd0._0x5a39c0);}const _0x52901e=Array[_0x4ae822(0x114,-_0x2d3caf._0x281436,0xfa,_0x2d3caf._0x3e366a)](_0x2665ad[_0x2d46e7(0x5e8,0x52d,_0x2d3caf._0x331c7e,_0x2d3caf._0x1ed98c)])?_0x2665ad[_0x4ae822(_0x2d3caf._0x1ae67d,_0x2d3caf._0x2ec3fb,0x21a,0x22b)][_0x4ae822(-0xa8,_0x2d3caf._0x3f9af4,0x45,_0x2d3caf._0x254577)](_0x1ff449=>typeof _0x1ff449==='string'):void 0x0;return _0x52901e?.[_0x2d46e7(0x5f9,_0x2d3caf._0x527e14,_0x2d3caf._0x2f76f7,_0x2d3caf._0x9cfe79)]?{'type':_0x2d46e7(_0x2d3caf._0xd42631,_0x2d3caf._0x30cc7c,_0x2d3caf._0x175d0f,_0x2d3caf._0x4c023e),'properties':_0x36fab2,'required':_0x52901e}:{'type':_0x2d46e7(0x3b4,_0x2d3caf._0x8d494e,_0x2d3caf._0x1fc31f,0x46e),'properties':_0x36fab2};}function isJsonObject(_0x50ab5c){const _0x25046d={_0xe3a213:0x1ff,_0x3045db:0x17e,_0x3faff8:0x148},_0x328ca8={_0x33aaff:0x496,_0xdc695c:0xbf},_0x265936={_0x1e2b61:0xc1,_0x1c2686:0x9a,_0x432bf7:0xea};function _0xfbcdac(_0x3b7b70,_0x3139c6,_0x20f614,_0x13ee79){return _0x125cf4(_0x3b7b70-_0x265936._0x1e2b61,_0x3139c6-_0x265936._0x1c2686,_0x20f614,_0x13ee79-_0x265936._0x432bf7);}function _0x24be4f(_0xfdf9b5,_0x148442,_0x34d592,_0x386471){return _0x5b337b(_0xfdf9b5- -_0x328ca8._0x33aaff,_0x34d592,_0x34d592-_0x328ca8._0xdc695c,_0x386471-0x9);}return typeof _0x50ab5c===_0xfbcdac(-0x208,-0x92,-0xb0,-0x17a)&&_0x50ab5c!==null&&!Array[_0xfbcdac(-_0x25046d._0xe3a213,-_0x25046d._0x3045db,-0x2ce,-_0x25046d._0x3faff8)](_0x50ab5c);}function formatMcpContent(_0x1b289b){const _0x433480={_0x5ca100:0x3c7,_0x217433:0x32e,_0x38a59b:0x402,_0x2949ab:0x345,_0x4f25df:0x409,_0x444dd8:0x539,_0x4b5bed:0x3a4,_0x32e48c:0x443,_0x5c2c06:0x497,_0x2cc70c:0x5d4,_0x30bd7c:0x5f5},_0x1ca040={_0x19f085:0x416,_0x21134e:0x33},_0x401c99={_0x4e30a7:0x273,_0x5cd739:0x106,_0x2e25c7:0x604,_0x76aeee:0x5de,_0x3ddd4e:0x378,_0x509899:0x4bf,_0x3f62ca:0x600},_0x426d39={_0x2f6b2e:0x32c},_0x416b69={_0x3d3d81:0x81};function _0x12a3a8(_0x226aa6,_0x3bcc7c,_0x5d746f,_0x105b5a){return _0x5b337b(_0x105b5a-0xcc,_0x5d746f,_0x5d746f-_0x416b69._0x3d3d81,_0x105b5a-0x29);}const _0x442c3c=Array['isArray'](_0x1b289b[_0x32b8d9(0x35b,0x247,0x32a,_0x433480._0x5ca100)])?_0x1b289b[_0x12a3a8(_0x433480._0x217433,_0x433480._0x38a59b,_0x433480._0x2949ab,_0x433480._0x4f25df)]:[],_0x401d67=_0x442c3c[_0x12a3a8(_0x433480._0x444dd8,0x3e4,0x532,0x495)](_0x185632=>{const _0x3fd8c9={_0xb6ed25:0x171,_0x33caa5:0xfc};if(!isObject(_0x185632))return'';function _0x410817(_0x1c6f60,_0x4e5f94,_0x27560f,_0x1a1e27){return _0x12a3a8(_0x1c6f60-0x0,_0x4e5f94-_0x3fd8c9._0xb6ed25,_0x1a1e27,_0x4e5f94- -_0x3fd8c9._0x33caa5);}function _0x45fb88(_0x1216ba,_0x11e2cd,_0x5bcec9,_0x2755bf){return _0x32b8d9(_0x1216ba,_0x2755bf-_0x426d39._0x2f6b2e,_0x5bcec9-0x132,_0x2755bf-0x16a);}if(_0x185632[_0x410817(0x399,_0x401c99._0x4e30a7,_0x401c99._0x5cd739,0x298)]===_0x45fb88(0x4f0,0x565,_0x401c99._0x2e25c7,_0x401c99._0x76aeee)&&typeof _0x185632[_0x410817(0x1ed,_0x401c99._0x3ddd4e,_0x401c99._0x509899,0x449)]===_0x410817(0x36f,0x461,0x387,0x313))return _0x185632['text'];return JSON[_0x45fb88(0x851,_0x401c99._0x3f62ca,0x77f,0x75f)](_0x185632);})['filter'](_0x2381ac=>_0x2381ac[_0x12a3a8(0x451,0x4c4,0x5a5,0x54e)]>0x0)[_0x32b8d9(0x47b,_0x433480._0x4b5bed,0x418,_0x433480._0x32e48c)]('\x0a');function _0x32b8d9(_0x308371,_0x15f635,_0x303c1f,_0x1138bd){return _0x125cf4(_0x308371-0x18c,_0x15f635-_0x1ca040._0x19f085,_0x308371,_0x1138bd-_0x1ca040._0x21134e);}if(_0x401d67[_0x12a3a8(0x49a,_0x433480._0x5c2c06,0x434,0x54e)]>0x0)return _0x401d67;return JSON[_0x12a3a8(_0x433480._0x2cc70c,0x64f,0x507,_0x433480._0x30bd7c)](_0x1b289b,null,0x2);}function createMcpTool(_0x489596){const _0x1835af={_0x5b461f:0x353,_0x4e9907:0x2f4,_0x11e7eb:0x36d,_0x3b79ee:0x25d,_0x18580d:0x1eb,_0x564db1:0x1ed,_0x578018:0x5a,_0x3bd2a4:0x19d,_0x19adde:0x131,_0x337fd7:0xa4,_0x18fbc5:0x5d5,_0x2ade28:0x5d2,_0x3c62b1:0x3f7,_0x110e95:0x403,_0x55c96d:0x2ee,_0x86107e:0x376,_0x5ab2b1:0x364,_0x4d5648:0x25d,_0x57b98d:0x2e,_0x2ec00b:0xce,_0x4eef27:0x42d,_0x5a1cb1:0x2ef,_0x597726:0x3b4,_0x4d5a59:0x72,_0x591731:0xa8},_0x225c0b={_0x299416:0x4f8,_0x206ab7:0x6a4,_0x256c02:0x4ad,_0x3d3598:0x557,_0x129ff3:0x617,_0x14b7de:0x2b3,_0x4604a9:0x3c9,_0xf118a2:0xc9,_0x5c8dad:0x37b,_0x46f4a6:0x24c,_0x409dc6:0x29b,_0x55d046:0x406,_0x2d3283:0x39b,_0x25ff81:0x397,_0xdb4b2:0x470,_0xf538bb:0x3ab,_0x2f00a3:0x2bd,_0x101229:0x20c,_0x20f380:0x1e5,_0x596e40:0x334,_0x4da1e1:0x310,_0x42ba03:0x5df},_0x4642ba={_0x59839e:0x11f},_0x24e75c={_0x182b02:0x9f,_0x5abfee:0x3fc},_0x3ee7d4={_0x426fbf:0x47,_0x1eff39:0x1d5},_0x274536={_0x481d9c:0xd3,_0x325be6:0x275};function _0x17c61e(_0x13e3f2,_0xa6f887,_0x24d266,_0x47d371){return _0x125cf4(_0x13e3f2-_0x274536._0x481d9c,_0x47d371-_0x274536._0x325be6,_0x13e3f2,_0x47d371-0x72);}const _0x4df796=createMcpToolName(_0x489596['serverName'],_0x489596[_0x746f20(0x43b,_0x1835af._0x5b461f,_0x1835af._0x4e9907,_0x1835af._0x11e7eb)][_0x17c61e(0xe9,0x1e7,0x360,_0x1835af._0x3b79ee)]);function _0x746f20(_0x59ce17,_0x15da66,_0x4a0e1f,_0x4f33d6){return _0x5b337b(_0x4f33d6- -0x8,_0x4a0e1f,_0x4a0e1f-_0x3ee7d4._0x426fbf,_0x4f33d6-_0x3ee7d4._0x1eff39);}return defineTool({'name':_0x4df796,'permissionClass':_0x489596[_0x746f20(_0x1835af._0x18580d,_0x1835af._0x564db1,0x345,0x25c)],..._0x489596[_0x17c61e(0x14d,-_0x1835af._0x578018,_0x1835af._0x3bd2a4,_0x1835af._0x19adde)]!==void 0x0?{'internalLifecycle':_0x489596[_0x17c61e(_0x1835af._0x337fd7,0x1e1,0x12d,0x131)]}:{},'description':_0x489596['tool']['description']??_0x746f20(_0x1835af._0x18fbc5,0x475,_0x1835af._0x2ade28,0x442)+_0x489596[_0x746f20(_0x1835af._0x3c62b1,_0x1835af._0x110e95,0x429,0x36d)][_0x17c61e(_0x1835af._0x55c96d,_0x1835af._0x86107e,_0x1835af._0x5ab2b1,_0x1835af._0x4d5648)]+_0x17c61e(_0x1835af._0x57b98d,0x247,_0x1835af._0x2ec00b,0x16e)+_0x489596[_0x746f20(_0x1835af._0x4eef27,0x3ca,0x403,0x43f)],'inputSchema':toNuvinToolSchema(_0x489596[_0x746f20(_0x1835af._0x5a1cb1,_0x1835af._0x597726,0x354,_0x1835af._0x11e7eb)][_0x17c61e(0x158,-_0x1835af._0x4d5a59,-_0x1835af._0x591731,0xa3)]),async *'execute'(_0x5c92c6){let _0x3d388f;try{_0x3d388f=await _0x489596[_0x2de056(0x4d2,_0x225c0b._0x299416,0x5a6,_0x225c0b._0x206ab7)]['callTool']({'name':_0x489596[_0x2b8789(_0x225c0b._0x256c02,0x324,0x334,0x3b2)][_0x2de056(0x688,_0x225c0b._0x3d3598,0x659,_0x225c0b._0x129ff3)],'arguments':isJsonObject(_0x5c92c6)?_0x5c92c6:{}});if(_0x3d388f['isError'])throw toMcpSafeError({'serverName':_0x489596[_0x2b8789(_0x225c0b._0x14b7de,_0x225c0b._0x4604a9,0x406,0x4ad)],'operation':_0x2b8789(_0x225c0b._0xf118a2,_0x225c0b._0x5c8dad,0x1f1,_0x225c0b._0x46f4a6),'error':_0x3d388f});}catch(_0x2b2279){throw extractOwnedMcpSafeError(_0x2b2279)??toMcpSafeError({'serverName':_0x489596[_0x2b8789(_0x225c0b._0x409dc6,0x4fd,_0x225c0b._0x55d046,0x48f)],'operation':_0x2de056(_0x225c0b._0x2d3283,0x45a,_0x225c0b._0x25ff81,_0x225c0b._0xdb4b2),'error':_0x2b2279});}function _0x2de056(_0x45cd39,_0x327c84,_0xeb696d,_0x2c63ff){return _0x17c61e(_0x327c84,_0x327c84-0x1ed,_0xeb696d-_0x24e75c._0x182b02,_0xeb696d-_0x24e75c._0x5abfee);}function _0x2b8789(_0x38923d,_0x4eaeb0,_0x2cf1d5,_0x159402){return _0x746f20(_0x38923d-_0x4642ba._0x59839e,_0x4eaeb0-0x18b,_0x4eaeb0,_0x2cf1d5- -0x39);}return yield createToolOutput(formatMcpContent(_0x3d388f),{'serverName':_0x489596[_0x2b8789(_0x225c0b._0xf538bb,_0x225c0b._0x2f00a3,0x406,0x495)],'toolName':_0x489596[_0x2b8789(_0x225c0b._0x101229,_0x225c0b._0x20f380,_0x225c0b._0x596e40,_0x225c0b._0x4da1e1)][_0x2de056(0x746,_0x225c0b._0x42ba03,0x659,0x76d)],'result':_0x3d388f}),void 0x0;}});}var DEFAULT_MCP_TIMEOUT_MS=0xea60;function createMcpTimeoutSource(_0x1954af){let _0x2d2815=_0x1954af;return{'get'(){return _0x2d2815;},'set'(_0x52c3a7){_0x2d2815=_0x52c3a7;}};}function resolveMcpTimeoutMs(_0x16d23e,_0x33ae64){const _0x1886d5={_0x395230:0xe5,_0x35bfdd:0xaf,_0x36bbac:0x1c},_0xf3645e={_0x424bc1:0x1a3};function _0x5d94ad(_0x1faf9c,_0x3a223b,_0x50d715,_0x11b424){return _0x125cf4(_0x1faf9c-0x1b7,_0x3a223b-_0xf3645e._0x424bc1,_0x50d715,_0x11b424-0x1da);}return _0x16d23e[_0x5d94ad(0x46,-_0x1886d5._0x395230,-_0x1886d5._0x35bfdd,_0x1886d5._0x36bbac)]??_0x33ae64??DEFAULT_MCP_TIMEOUT_MS;}function mapOwnedMcpBoundaryError(_0x10da2d,_0x2cc206){return(_0x2cc206?extractOwnedMcpSafeError(_0x10da2d['error']):void 0x0)??createOwnedMcpSafeError(_0x10da2d);}function createMcpGenerationLifecycle(_0x3f40c0){const _0x3d945b={_0xfdb727:0x1cd},_0x57b4aa={_0x248730:0x3ca,_0x58e9ff:0x47e,_0x507052:0x255},_0x26eb5e={_0x4a4b45:0x117};let _0x569d9e=0x0,_0xae2410=![],_0x36ed0a=![],_0x2439e4,_0x726571,_0xc5b403;const _0x5f04ab=()=>{function _0x20e425(_0x1df841,_0x1dffc2,_0x2c25a1,_0xe6c85e){return _0x5504(_0x1dffc2-0x190,_0x2c25a1);}function _0x2e1a4e(_0x2c4faf,_0x55a2df,_0x277b41,_0x1a18e6){return _0x5504(_0x55a2df-_0x26eb5e._0x4a4b45,_0x1a18e6);}if(!_0xae2410||_0x569d9e!==0x0||_0x36ed0a)return;_0x36ed0a=!![],void Promise[_0x2e1a4e(0x580,0x439,0x531,0x4c3)]()[_0x2e1a4e(0x415,_0x57b4aa._0x248730,0x41e,0x36e)](_0x3f40c0)[_0x2e1a4e(_0x57b4aa._0x58e9ff,_0x57b4aa._0x248730,_0x57b4aa._0x507052,0x3f6)](_0x726571,_0xc5b403);};return{'acquire'(){function _0xda134f(_0x503eb4,_0xd38910,_0x259997,_0x35f693){return _0x5504(_0x503eb4-_0x3d945b._0xfdb727,_0x35f693);}if(_0xae2410)throw new Error(_0xda134f(0x273,0x1e2,0x2d9,0x149));_0x569d9e+=0x1;let _0x319f11=![];return()=>{if(_0x319f11)return;_0x319f11=!![],_0x569d9e-=0x1,_0x5f04ab();};},'retire'(){return!_0x2439e4&&(_0x2439e4=new Promise((_0x3db00a,_0x1c9916)=>{_0x726571=_0x3db00a,_0xc5b403=_0x1c9916;})),_0xae2410=!![],_0x5f04ab(),_0x2439e4;}};}function buildMcpHttpHeaders(_0x6e7ef7){const _0x38ab8e={_0x29d685:0x2f1,_0x4cd4fc:0x340,_0x23d7df:0x2ce,_0x1f6e6a:0x453,_0x179e84:0x425,_0x363643:0x420,_0x30fc5b:0x4b0,_0x409799:0x380,_0x308ccd:0x324,_0x119087:0x383,_0x3ada78:0x49b,_0xa4051:0x5a8,_0x3125be:0x2ba,_0x2aeafa:0x494,_0x4b522b:0x34b,_0x354e05:0x63b,_0x4cca68:0x65d},_0x822dba={..._0x6e7ef7['headers']??{}};function _0x72c555(_0x1ca154,_0x2e1224,_0x12529f,_0x3da818){return _0x5b337b(_0x2e1224-0x9d,_0x3da818,_0x12529f-0xa7,_0x3da818-0x10e);}_0x6e7ef7['auth']?.[_0x72c555(_0x38ab8e._0x29d685,_0x38ab8e._0x4cd4fc,_0x38ab8e._0x23d7df,_0x38ab8e._0x1f6e6a)]==='bearer'&&_0x6e7ef7[_0x72c555(_0x38ab8e._0x179e84,_0x38ab8e._0x363643,0x31c,_0x38ab8e._0x30fc5b)][_0x72c555(_0x38ab8e._0x409799,_0x38ab8e._0x308ccd,0x3df,_0x38ab8e._0x119087)]&&_0x822dba[_0x72c555(0x5d1,_0x38ab8e._0x3ada78,0x5d8,0x5c6)]===void 0x0&&(_0x822dba['Authorization']=_0x72db0e(0x706,0x459,_0x38ab8e._0xa4051,0x5be)+_0x6e7ef7[_0x72db0e(0x4d5,0x678,0x53c,0x6ad)][_0x72c555(0x2e1,_0x38ab8e._0x308ccd,0x1ae,_0x38ab8e._0x3125be)]);function _0x72db0e(_0x6b0382,_0x40c6a3,_0x4b38f2,_0x7948c9){return _0x125cf4(_0x6b0382-0x1e0,_0x4b38f2-0x6c5,_0x6b0382,_0x7948c9-0x77);}return Object[_0x72db0e(0x45d,0x581,_0x38ab8e._0x2aeafa,_0x38ab8e._0x4b522b)](_0x822dba)[_0x72db0e(0x6a8,0x781,_0x38ab8e._0x354e05,_0x38ab8e._0x4cca68)]>0x0?_0x822dba:void 0x0;}async function connectMcpServer(_0x2adef8,_0x30d75c,_0x1f3598){const _0x396d23={_0x38c281:0x2ca,_0x2617b9:0x64a,_0x4e97cd:0x4e0,_0x2cae5a:0x509,_0x5d3ae9:0x5a8,_0x417569:0x4ca,_0x259b34:0x387,_0x135712:0x28c,_0x30936d:0x384,_0x24cc76:0x286,_0x5cd2bd:0xad,_0x154d74:0x2ed,_0x6940cf:0x20c,_0x49969b:0x2d8,_0x1a5044:0x442,_0x1591fe:0x2f4,_0x5e213d:0x2c7,_0x49b176:0x1aa,_0x564ff2:0x194,_0x10ee70:0x121,_0x4bae19:0x134,_0x168c0c:0x28e,_0xb8d0ff:0x287,_0x39464e:0x15,_0x32a690:0x281,_0xbf0226:0x2f6,_0x5675b6:0x87,_0x596a97:0x36c,_0x31da7f:0x37d,_0x1b846e:0x443,_0x439492:0x405,_0x52f283:0x211,_0x246657:0x26d,_0x4b16d1:0x186,_0x53b47c:0x1f5,_0x5e4af0:0xcb,_0x56f0ec:0x1dc,_0x6e8610:0x236,_0x5482ca:0x221,_0x1cffc6:0x2f6,_0x39c36f:0x326,_0x3d02bd:0x4b2,_0x473b0e:0x436,_0x1096c5:0x85,_0x5f41e9:0x162,_0x568817:0x2bd,_0x156873:0x193,_0x1d87b4:0x16d,_0x6f7742:0x490,_0x5d4466:0x219,_0x5de938:0x361,_0x2749a5:0x290,_0x113247:0x255,_0x1cd9be:0x2cf,_0x141270:0x157,_0x35219f:0x253,_0xcc2f3c:0x2bd,_0x1d942d:0x266,_0x3b69ab:0x1d6,_0x289c2b:0x338,_0x54043a:0x396,_0x4a9a3b:0x2f6,_0x3e7f3d:0x350,_0x105e25:0x1e3,_0x10aee7:0x27a,_0x3797db:0x1e0,_0x41945c:0x18c,_0x3b8cf2:0x378},_0x320fd1={_0x459481:0x2ce,_0x226613:0x4e5,_0x481c39:0x3db,_0x4a48d0:0x372,_0x2621e6:0x3da,_0x1a0675:0x2b3,_0x29a14f:0x4eb,_0x12dad5:0x40e,_0x1b6cf3:0x327,_0x33a5c6:0x21f,_0x58217a:0x283},_0x2e33ab={_0x33bf42:0x6f,_0x90ad0d:0xa6,_0x2a3345:0xcf,_0x5beb22:0x9d},_0x647d10={_0x36e6f9:0x117,_0x24c614:0xcf},_0x38a11a={_0x2059d6:0x106,_0x2d5570:0x193},_0x1f2b2e={_0x8ba562:0x55,_0x5da41a:0x1af},_0x57788a={_0x4d9927:0x4b4,_0x475e52:0x73a,_0x53eaad:0x62c,_0x54b8a0:0x72d,_0x51d88a:0x3d5,_0x2a92fe:0x62b,_0x46a3b8:0x5b6,_0x233758:0x60e},_0x1a3642={_0x393974:0xce},_0x4f1f22={_0x1bf2e0:0xb8,_0x30204d:0x363},_0x1a182b={_0x303e2f:0x396,_0x54e11b:0x423,_0x399eb0:0x31e,_0x1f1994:0x35c,_0x5f1c8f:0x459,_0x4c13a5:0x467,_0x542b01:0x343,_0x58c1e1:0x69b,_0x52c8f9:0x522},_0x371f9e={_0x2946c2:0x18d,_0x472e95:0x35a,_0x236f5a:0x4ae},_0x4fa610={_0x127a16:0x195};function _0x1690cd(_0x3c1447,_0x125250,_0x3a0973,_0x45a691){return _0x5b337b(_0x45a691- -0x176,_0x125250,_0x3a0973-0x31,_0x45a691-0x15d);}function _0xed26cf(_0x1c951c,_0x734ef1,_0x9b941d,_0x2bd634){return _0x125cf4(_0x1c951c-_0x4fa610._0x127a16,_0x9b941d-0x506,_0x1c951c,_0x2bd634-0x128);}const _0x591cb5=new Client({'name':'nuvin','version':_0xed26cf(0x2ad,0x40a,0x403,_0x396d23._0x38c281)}),_0x40d914=_0x1f3598?.[_0xed26cf(0x45b,_0x396d23._0x2617b9,0x4cb,0x485)]??createMcpTimeoutSource(DEFAULT_MCP_TIMEOUT_MS),_0x2ebe1d=new Set();let _0x5c0726,_0x3aa60c=![];const _0x1d7725=()=>{const _0x3baa5c={_0xba3919:0x159,_0x159428:0x94},_0x3f7ae6={_0x1b7294:0x2ed};if(_0x3aa60c||_0x5c0726)return;function _0x28a3d4(_0x16809d,_0x149f90,_0x1a055b,_0x376ffb){return _0xed26cf(_0x1a055b,_0x149f90-0x20,_0x16809d- -_0x3f7ae6._0x1b7294,_0x376ffb-0x1be);}_0x5c0726={'code':_0x28a3d4(0xfa,0x94,_0x371f9e._0x2946c2,0x261),'cause':new Error(_0x247425(_0x371f9e._0x472e95,0x226,_0x371f9e._0x236f5a,0x33d))};function _0x247425(_0x38bfb5,_0x2d3623,_0x4eef57,_0x4cd0e6){return _0x1690cd(_0x38bfb5-0x91,_0x2d3623,_0x4eef57-_0x3baa5c._0xba3919,_0x38bfb5-_0x3baa5c._0x159428);}for(const _0x157094 of _0x2ebe1d){try{_0x157094(_0x5c0726);}catch{}}};_0x591cb5[_0xed26cf(_0x396d23._0x4e97cd,0x3a2,_0x396d23._0x2cae5a,_0x396d23._0x5d3ae9)]=()=>{const _0x28ac0c={_0x465062:0x21,_0x23f75f:0x2ad},_0x338ecf={_0xc91c1:0xfb,_0x509e63:0x187};function _0x4a19d5(_0x4041e0,_0x2ee36d,_0x542ad6,_0x5b5c8a){return _0xed26cf(_0x4041e0,_0x2ee36d-_0x338ecf._0xc91c1,_0x5b5c8a-_0x338ecf._0x509e63,_0x5b5c8a-0x1cb);}function _0x18e031(_0x2eabbf,_0xe7e1b3,_0x577965,_0x30e0bb){return _0x1690cd(_0x2eabbf-0x1ba,_0x30e0bb,_0x577965-_0x28ac0c._0x465062,_0xe7e1b3-_0x28ac0c._0x23f75f);}console[_0x18e031(_0x1a182b._0x303e2f,_0x1a182b._0x54e11b,0x2ec,_0x1a182b._0x399eb0)](_0x18e031(_0x1a182b._0x1f1994,_0x1a182b._0x5f1c8f,_0x1a182b._0x4c13a5,_0x1a182b._0x542b01),{'server':_0x2adef8,'code':_0x18e031(_0x1a182b._0x58c1e1,0x538,0x5d7,_0x1a182b._0x52c8f9)});},_0x591cb5[_0xed26cf(0x584,0x607,_0x396d23._0x417569,0x591)]=_0x1d7725;try{if(_0x30d75c[_0xed26cf(_0x396d23._0x259b34,_0x396d23._0x135712,_0x396d23._0x30936d,_0x396d23._0x24cc76)]===_0x1690cd(-0x44,_0x396d23._0x5cd2bd,0x27f,0x107)||_0x30d75c[_0x1690cd(0x3f6,_0x396d23._0x154d74,_0x396d23._0x6940cf,0x2d2)]){if(!_0x30d75c[_0xed26cf(_0x396d23._0x49969b,0x50c,_0x396d23._0x1a5044,0x336)])throw new Error(_0xed26cf(0x2af,_0x396d23._0x1591fe,_0x396d23._0x5e213d,_0x396d23._0x49b176)+_0x2adef8+_0x1690cd(0x112,0x41,_0x396d23._0x564ff2,_0x396d23._0x10ee70));if(_0x30d75c[_0x1690cd(_0x396d23._0x4bae19,_0x396d23._0x168c0c,_0x396d23._0xb8d0ff,0x20d)]?.[_0x1690cd(-_0x396d23._0x39464e,0x103,0x26b,0x12d)]===_0xed26cf(_0x396d23._0x32a690,0x238,_0x396d23._0xbf0226,0x2f2)&&!_0x1f3598?.[_0x1690cd(_0x396d23._0x5675b6,0x313,0x27,0x186)])throw new Error('MCP\x20server\x20'+_0x2adef8+'\x20requires\x20OAuth\x20connection\x20options');const _0x135654=buildMcpHttpHeaders(_0x30d75c),_0x4d4a7e=_0x30d75c[_0xed26cf(_0x396d23._0x596a97,0x4ba,_0x396d23._0x31da7f,_0x396d23._0x1b846e)]?.[_0xed26cf(0x150,_0x396d23._0x439492,0x29d,_0x396d23._0x52f283)]===_0x1690cd(0x264,_0x396d23._0x246657,0x294,_0x396d23._0x4b16d1)&&_0x1f3598?.[_0x1690cd(_0x396d23._0x53b47c,_0x396d23._0x5e4af0,0x198,0x186)]?createMcpOAuthProvider({'serverName':_0x2adef8,'callbackUrl':_0x1f3598[_0x1690cd(_0x396d23._0x56f0ec,0x280,0x225,0x186)][_0xed26cf(_0x396d23._0x6e8610,0x297,_0x396d23._0x5482ca,0x1ee)],'storageDir':_0x1f3598[_0xed26cf(_0x396d23._0x154d74,0x21c,_0x396d23._0x1cffc6,_0x396d23._0x39c36f)][_0xed26cf(_0x396d23._0x3d02bd,_0x396d23._0x473b0e,0x3a0,0x493)],'config':_0x30d75c[_0x1690cd(_0x396d23._0x1096c5,_0x396d23._0x5f41e9,0xb3,0x20d)],'onRedirect':_0x5118e8=>_0x1f3598[_0xed26cf(0x30b,0x285,0x2f6,0x1be)]?.[_0x1690cd(0x279,0x308,0x273,0x26d)](_0x2adef8,_0x5118e8)}):void 0x0,_0x436ab5=new StreamableHTTPClientTransport(new URL(_0x30d75c[_0x1690cd(_0x396d23._0x568817,_0x396d23._0x156873,_0x396d23._0x1d87b4,0x2d2)]),{'authProvider':_0x4d4a7e,'requestInit':_0x135654?{'headers':_0x135654}:void 0x0});await _0x591cb5['connect'](_0x436ab5,{'timeout':_0x40d914[_0xed26cf(_0x396d23._0x6f7742,_0x396d23._0x5d4466,0x357,_0x396d23._0x5de938)](),..._0x1f3598?.[_0x1690cd(_0x396d23._0x2749a5,0x141,0x1d6,0x2cf)]!==void 0x0?{'signal':_0x1f3598[_0x1690cd(_0x396d23._0x113247,0x391,0x27f,_0x396d23._0x1cd9be)]}:{}});}else{if(!_0x30d75c[_0x1690cd(_0x396d23._0x141270,_0x396d23._0x35219f,0x213,0x27b)])throw new Error('MCP\x20server\x20'+_0x2adef8+'\x20requires\x20command\x20for\x20stdio\x20transport');const _0x27b651=new StdioClientTransport({'command':_0x30d75c[_0x1690cd(_0x396d23._0xcc2f3c,_0x396d23._0x1d942d,0x2fb,0x27b)],'args':_0x30d75c[_0x1690cd(0x391,_0x396d23._0x3b69ab,0x3a7,_0x396d23._0x289c2b)]??[],'env':_0x30d75c[_0x1690cd(_0x396d23._0x54043a,0x1e5,0x2f2,_0x396d23._0x4a9a3b)],'stderr':_0xed26cf(_0x396d23._0x3e7f3d,_0x396d23._0x105e25,_0x396d23._0x10aee7,0x3c4)});await _0x591cb5['connect'](_0x27b651,{'timeout':_0x40d914[_0x1690cd(0x307,_0x396d23._0x3797db,_0x396d23._0x41945c,0x1e7)](),..._0x1f3598?.[_0x1690cd(_0x396d23._0x3b8cf2,0x36a,0x141,0x2cf)]!==void 0x0?{'signal':_0x1f3598[_0x1690cd(0x2c7,0x223,0x28d,_0x396d23._0x1cd9be)]}:{}});}}catch(_0x332f0d){throw createOwnedMcpSafeError({'serverName':_0x2adef8,'operation':'connect','error':_0x332f0d});}return{async 'listTools'(_0x42dca0){function _0x439771(_0x1cfb8e,_0x565cb0,_0x4ee766,_0x53fb13){return _0x1690cd(_0x1cfb8e-0x81,_0x53fb13,_0x4ee766-_0x4f1f22._0x1bf2e0,_0x565cb0-_0x4f1f22._0x30204d);}function _0x3045fb(_0x2d4ca3,_0x2447ef,_0x2fe876,_0x564d4d){return _0x1690cd(_0x2d4ca3-0x9d,_0x2447ef,_0x2fe876-_0x1a3642._0x393974,_0x2fe876-0x2de);}const _0xc4e781=_0x42dca0?.[_0x3045fb(_0x57788a._0x4d9927,_0x57788a._0x475e52,0x5ad,_0x57788a._0x53eaad)]??_0x1f3598?.[_0x439771(0x650,0x632,_0x57788a._0x54b8a0,0x680)];try{return await _0x591cb5['listTools'](void 0x0,{'timeout':_0x40d914[_0x439771(_0x57788a._0x51d88a,0x54a,_0x57788a._0x2a92fe,0x6bc)](),..._0xc4e781!==void 0x0?{'signal':_0xc4e781}:{}});}catch(_0x2f8c13){throw createOwnedMcpSafeError({'serverName':_0x2adef8,'operation':_0x3045fb(0x486,_0x57788a._0x46a3b8,_0x57788a._0x233758,0x795),'error':_0x2f8c13});}},'onTerminalError'(_0x58df7c){const _0x7e8c9a={_0x177a84:0x30};function _0x518ced(_0x93aafa,_0x823a81,_0x330ecd,_0x327f51){return _0xed26cf(_0x327f51,_0x823a81-_0x1f2b2e._0x8ba562,_0x93aafa- -_0x1f2b2e._0x5da41a,_0x327f51-0x157);}function _0x4a3e61(_0x5c9341,_0x4cab96,_0x1e17f2,_0x5ad64f){return _0xed26cf(_0x1e17f2,_0x4cab96-0x11,_0x4cab96- -0x198,_0x5ad64f-_0x7e8c9a._0x177a84);}_0x2ebe1d[_0x4a3e61(0x6,_0x647d10._0x36e6f9,_0x647d10._0x24c614,-0x27)](_0x58df7c);const _0x48b2c2=_0x5c0726;return _0x48b2c2&&queueMicrotask(()=>{const _0x76ce86={_0x4ea8be:0x106};function _0x5082fc(_0x223f71,_0x4c5317,_0x4440c7,_0x38d4f0){return _0x4a3e61(_0x223f71-_0x76ce86._0x4ea8be,_0x4c5317- -0x3ad,_0x223f71,_0x38d4f0-0x114);}if(_0x2ebe1d[_0x5082fc(-_0x38a11a._0x2059d6,-_0x38a11a._0x2d5570,-0x206,-0x324)](_0x58df7c))_0x58df7c(_0x48b2c2);}),()=>_0x2ebe1d[_0x518ced(0x232,0x330,0xbf,0x1ea)](_0x58df7c);},async 'callTool'(_0xb589){const _0x1ea530={_0x29d509:0x1f};function _0x5f045f(_0x10825e,_0x49644d,_0x4084e6,_0x4c1ba8){return _0x1690cd(_0x10825e-0x119,_0x10825e,_0x4084e6-_0x1ea530._0x29d509,_0x4084e6- -0x24a);}try{return await _0x591cb5[_0x5f045f(_0x2e33ab._0x33bf42,_0x2e33ab._0x90ad0d,-_0x2e33ab._0x2a3345,-_0x2e33ab._0x5beb22)]({'method':'tools/call','params':_0xb589},CallToolResultSchema,{'timeout':_0x40d914['get']()});}catch(_0x4ced79){throw createOwnedMcpSafeError({'serverName':_0x2adef8,'operation':'toolCall','error':_0x4ced79});}},async 'close'(){const _0x44b27f={_0xe5361f:0xf0};function _0x2df088(_0x265f58,_0x732158,_0x35ad38,_0x933f36){return _0xed26cf(_0x265f58,_0x732158-0x11f,_0x933f36- -_0x44b27f._0xe5361f,_0x933f36-0x7a);}_0x3aa60c=!![],_0x591cb5[_0x2df088(_0x320fd1._0x459481,_0x320fd1._0x226613,_0x320fd1._0x481c39,0x419)]=void 0x0,_0x591cb5[_0x2df088(0x38b,_0x320fd1._0x4a48d0,0x44b,_0x320fd1._0x2621e6)]=void 0x0,_0x2ebe1d[_0xc32e59(_0x320fd1._0x1a0675,0x41a,_0x320fd1._0x29a14f,_0x320fd1._0x12dad5)]();function _0xc32e59(_0x5238ba,_0x2a88fa,_0x394603,_0x335095){return _0x1690cd(_0x5238ba-0x96,_0x5238ba,_0x394603-0x178,_0x335095-0x176);}try{await _0x591cb5[_0xc32e59(_0x320fd1._0x1b6cf3,0x323,0x351,0x2d1)]();}catch(_0x1c5e95){throw createOwnedMcpSafeError({'serverName':_0x2adef8,'operation':_0x2df088(0x145,_0x320fd1._0x33a5c6,_0x320fd1._0x58217a,0x1db),'error':_0x1c5e95});}}};}async function createMcpConnectionGeneration(_0x1196af){const _0x11ae69={_0x2bff55:0x330,_0x30d01b:0x37b,_0x1efc1a:0x1c4,_0x3bee78:0x28d,_0x32a51f:0x100,_0x47daca:0x23e,_0x1c59f1:0xe,_0x36cae1:0x8a,_0x3bba39:0x6,_0x35df20:0x33,_0xcefea9:0x116,_0x4fc773:0x91,_0x26bfac:0xd6,_0x1be7af:0x75,_0x5a1435:0x12f,_0x197158:0x2e1,_0x31de87:0x29c,_0x16fb50:0x307,_0x1819f7:0x111,_0x491067:0x13f,_0x355426:0x333,_0x187df1:0x1c6,_0x234830:0x2da,_0x49514b:0xc2,_0x16c4dc:0x5c,_0x51274c:0xf4,_0x11b0a2:0x6f,_0xce756e:0xad,_0x2a3cc8:0x123,_0x5cec4c:0x123,_0x3b556f:0x5b,_0x3c7d4b:0x14a,_0x39cd91:0x289,_0x393aa7:0xb2,_0x5c1fd5:0x5b,_0x177155:0xa6},_0x320ad1={_0x142a1f:0x387,_0x521621:0x232},_0x4447ab={_0x3f8bba:0x4d7,_0x448e4c:0x4f7,_0x201fa2:0x55f},_0x509a70={_0x452438:0x62,_0x5f51a3:0x6e,_0x7cab15:0x29,_0x5c12b4:0x3b,_0x1f253a:0x108,_0x52d912:0x280},_0x53341f={_0x54318c:0x182,_0x5800fd:0x1c5},_0x4ee1f8={_0x281f49:0x235,_0x4ae197:0xd1,_0x1f4bab:0x468,_0x1b793a:0x364,_0xe23ace:0x2b0},_0x46374b={_0x376471:0x186,_0x332d72:0xc4,_0x2365c7:0x19},_0x4d65db={_0x45982f:0x55b,_0x570a65:0xd6};function _0x5a4ba3(_0x4c8ee4,_0x575943,_0x44b2cd,_0x31c893){return _0x125cf4(_0x4c8ee4-0x1ba,_0x4c8ee4-0x189,_0x31c893,_0x31c893-0x100);}const _0x3428b1=_0x1196af[_0x217dc8(-_0x11ae69._0x2bff55,-_0x11ae69._0x30d01b,-_0x11ae69._0x1efc1a,-_0x11ae69._0x3bee78)]??connectMcpServer,_0x51f305=_0x1196af['connect']===void 0x0,_0x4cba0f={..._0x1196af[_0x5a4ba3(_0x11ae69._0x32a51f,0x35,_0x11ae69._0x47daca,_0x11ae69._0x1c59f1)],'timeoutSource':_0x1196af[_0x217dc8(-_0x11ae69._0x36cae1,_0x11ae69._0x3bba39,0xc5,-_0x11ae69._0x35df20)],..._0x1196af[_0x217dc8(-_0x11ae69._0xcefea9,-_0x11ae69._0x4fc773,-_0x11ae69._0x26bfac,-0x39)]!==void 0x0?{'signal':_0x1196af[_0x5a4ba3(0xc2,-_0x11ae69._0x1be7af,0x14f,_0x11ae69._0x5a1435)]}:{}};let _0x2fde82;try{_0x2fde82=await _0x3428b1(_0x1196af['serverName'],_0x1196af[_0x217dc8(-_0x11ae69._0x197158,-0x443,-_0x11ae69._0x31de87,-_0x11ae69._0x16fb50)],_0x4cba0f);}catch(_0x1497ee){throw mapOwnedMcpBoundaryError({'serverName':_0x1196af['serverName'],'operation':'connect','error':_0x1497ee},_0x51f305);}function _0x217dc8(_0x582e7d,_0x536578,_0x42adbc,_0x7b99a7){return _0x5b337b(_0x582e7d- -_0x4d65db._0x45982f,_0x536578,_0x42adbc-0xf2,_0x7b99a7-_0x4d65db._0x570a65);}const _0x551181=new Set();let _0x28b1b5;const _0x2f417e=_0x2fde82[_0x5a4ba3(-_0x11ae69._0x1819f7,-_0x11ae69._0x491067,-0x94,-0x81)]?.(_0x29ae36=>{if(_0x28b1b5)return;_0x28b1b5=_0x29ae36;for(const _0x280e75 of _0x551181)_0x280e75(_0x29ae36);});let _0x52835f=![];const _0x426691=()=>{const _0x176e48={_0x1e1c42:0x39,_0x5bbe43:0x137};if(_0x52835f)return;_0x52835f=!![];function _0x148e18(_0x20dd7b,_0x531aea,_0x26f17d,_0x4f38a6){return _0x5a4ba3(_0x26f17d-_0x176e48._0x1e1c42,_0x531aea-0xbf,_0x26f17d-_0x176e48._0x5bbe43,_0x20dd7b);}_0x551181[_0x148e18(_0x46374b._0x376471,0x237,_0x46374b._0x332d72,-_0x46374b._0x2365c7)](),_0x2f417e?.();};let _0x5e7319;try{_0x5e7319=await _0x2fde82[_0x217dc8(-0x28f,-_0x11ae69._0x355426,-_0x11ae69._0x187df1,-_0x11ae69._0x234830)](_0x1196af[_0x5a4ba3(_0x11ae69._0x49514b,_0x11ae69._0x16c4dc,_0x11ae69._0x51274c,0x16d)]!==void 0x0?{'signal':_0x1196af[_0x5a4ba3(0xc2,_0x11ae69._0x11b0a2,-_0x11ae69._0xce756e,-0x36)]}:void 0x0);}catch(_0x773088){const _0x2330d3=mapOwnedMcpBoundaryError({'serverName':_0x1196af[_0x217dc8(-0x114,-0x3c,0x7b,-_0x11ae69._0x2a3cc8)],'operation':_0x5a4ba3(_0x11ae69._0x5cec4c,-_0x11ae69._0x3b556f,_0x11ae69._0x3c7d4b,_0x11ae69._0x39cd91),'error':_0x773088},_0x51f305);_0x426691();try{await _0x2fde82[_0x5a4ba3(-_0x11ae69._0x393aa7,-_0x11ae69._0x32a51f,-_0x11ae69._0x5c1fd5,-_0x11ae69._0x177155)]();}catch{}throw _0x2330d3;}const _0x478044=[..._0x5e7319['tools']],_0x2e77d6={async 'callTool'(_0x381984){const _0x361439={_0x120849:0x43,_0x1c27ee:0x6};function _0x54ccd0(_0x5fe7f,_0x29694c,_0x13e5e4,_0x1960a4){return _0x5a4ba3(_0x13e5e4- -0xdc,_0x29694c-0x9c,_0x13e5e4-0x78,_0x29694c);}function _0x70eec9(_0x123fa7,_0x28cf2f,_0x4c6f29,_0xaf9e63){return _0x217dc8(_0xaf9e63-_0x361439._0x120849,_0x123fa7,_0x4c6f29-_0x361439._0x1c27ee,_0xaf9e63-0x83);}try{return await _0x2fde82['callTool'](_0x381984);}catch(_0x2c35ec){throw mapOwnedMcpBoundaryError({'serverName':_0x1196af[_0x70eec9(-_0x4ee1f8._0x281f49,-0x191,-0x145,-_0x4ee1f8._0x4ae197)],'operation':_0x70eec9(-_0x4ee1f8._0x1f4bab,-_0x4ee1f8._0x1b793a,-_0x4ee1f8._0xe23ace,-0x2e6),'error':_0x2c35ec},_0x51f305);}}},_0x5b0ac0=createMcpGenerationLifecycle(async()=>{const _0x297f58={_0x2caf44:0x89};function _0x12d543(_0x186f5d,_0x52ac60,_0x4a0fcf,_0x541d79){return _0x5a4ba3(_0x186f5d-0x70,_0x52ac60-_0x297f58._0x2caf44,_0x4a0fcf-0x4b,_0x541d79);}_0x426691();function _0x72c5b0(_0x5b8ee7,_0x2e95f0,_0x3e09ab,_0x5a9d6f){return _0x217dc8(_0x2e95f0-_0x53341f._0x54318c,_0x3e09ab,_0x3e09ab-_0x53341f._0x5800fd,_0x5a9d6f-0x159);}try{await _0x2fde82['close']();}catch(_0x23dde8){throw mapOwnedMcpBoundaryError({'serverName':_0x1196af[_0x72c5b0(-_0x509a70._0x452438,_0x509a70._0x5f51a3,0xf8,_0x509a70._0x7cab15)],'operation':_0x72c5b0(-_0x509a70._0x5c12b4,-_0x509a70._0x1f253a,0x38,-_0x509a70._0x52d912),'error':_0x23dde8},_0x51f305);}});return{'client':_0x2fde82,'descriptors':_0x478044,'lifecycle':_0x5b0ac0,'projectTools'(_0x1e9ac7){return projectMcpTools({..._0x1e9ac7,'descriptors':_0x478044,'client':_0x2e77d6,'lifecycle':_0x5b0ac0});},'onTerminalError'(_0x12b235){const _0xb001e2={_0x4fdb18:0x79d,_0x199d53:0x1e0},_0x5618ce={_0x4bfe30:0x186,_0x25b445:0x9a};if(_0x52835f)return()=>{};_0x551181[_0x23290f(_0x4447ab._0x3f8bba,_0x4447ab._0x448e4c,0x4ab,_0x4447ab._0x201fa2)](_0x12b235);function _0xe3594b(_0x4f7d8b,_0x4e86be,_0x1f61c9,_0x5d82e0){return _0x217dc8(_0x1f61c9-0x273,_0x4f7d8b,_0x1f61c9-_0x5618ce._0x4bfe30,_0x5d82e0-_0x5618ce._0x25b445);}function _0x23290f(_0x3f1f56,_0x3a5349,_0xc446f6,_0x468e0c){return _0x217dc8(_0x3a5349-_0xb001e2._0x4fdb18,_0xc446f6,_0xc446f6-_0xb001e2._0x199d53,_0x468e0c-0x3);}const _0x56dbc0=_0x28b1b5;return _0x56dbc0&&queueMicrotask(()=>{if(_0x551181['has'](_0x12b235))_0x12b235(_0x56dbc0);}),()=>_0x551181[_0xe3594b(-0x26,0x1fe,0xff,0x14c)](_0x12b235);},'retire'(){const _0x43f9fe={_0x29d31e:0x1a0};function _0x1fa581(_0x4586a8,_0x504adb,_0x38b800,_0x4c5e88){return _0x5a4ba3(_0x38b800-0x235,_0x504adb-_0x43f9fe._0x29d31e,_0x38b800-0x118,_0x4c5e88);}return _0x426691(),_0x5b0ac0[_0x1fa581(_0x320ad1._0x142a1f,0xc7,_0x320ad1._0x521621,0xe9)]();}};}function getCommand(_0x27e205){const _0x3bd8ca={_0x4550d1:0x12f,_0x9c5139:0x39,_0x11f453:0x10d},_0x16321a={_0x40ed3e:0xc3,_0x57dfda:0x66,_0x4fe42a:0x9b},_0x2001cd={_0x5b4f9a:0xb7};if(_0x27e205&&typeof _0x27e205===_0x3c4770(0x1df,0x220,0x31d,0x369)&&!Array['isArray'](_0x27e205)&&typeof _0x27e205[_0x154a11(-0x66,-_0x3bd8ca._0x4550d1,0x31,-0x75)]==='string')return _0x27e205[_0x154a11(-_0x3bd8ca._0x9c5139,0x135,0x31,_0x3bd8ca._0x11f453)];function _0x154a11(_0x1a5d47,_0x271b7c,_0x4a2c6e,_0x48f91e){return _0x125cf4(_0x1a5d47-0x16d,_0x4a2c6e-0x14c,_0x1a5d47,_0x48f91e-_0x2001cd._0x5b4f9a);}function _0x3c4770(_0x1d9909,_0x4444ce,_0xa6067d,_0xca0e56){return _0x5b337b(_0xa6067d- -_0x16321a._0x40ed3e,_0x1d9909,_0xa6067d-_0x16321a._0x57dfda,_0xca0e56-_0x16321a._0x4fe42a);}return'ls\x20-la';}var MOCK_WORKSPACE_LISTING=['docs/plans/2026-04-16-agent-loop-core-design.md',_0x5b337b(0x220,0x1aa,0xf9,0x324),_0x5b337b(0x3ba,0x302,0x292,0x254),'package.json',_0x5b337b(0x423,0x579,0x34b,0x399),_0x125cf4(-0xd9,-0x1b,-0xac,-0xce),_0x125cf4(-0x23b,-0x191,-0x316,-0x205),_0x5b337b(0x296,0x2f2,0x417,0x204),'src/models/mock-model.ts',_0x5b337b(0x323,0x471,0x38e,0x2f7),_0x5b337b(0x47b,0x56c,0x505,0x570),_0x125cf4(-0xdb,-0x114,-0xba,-0x37),'src/shared/types.ts',_0x5b337b(0x2d0,0x1bb,0x3b9,0x361),_0x5b337b(0x2ed,0x1d8,0x3e4,0x3c1),_0x5b337b(0x295,0x181,0x17c,0x209),'src/agent/turn-engine.test.ts'][_0x125cf4(0x3,-0x72,-0x10e,0xd3)]('\x0a'),SHELL_EXEC_TOOL={'name':_0x125cf4(-0x163,-0x1b1,-0xdc,-0x1df),'description':_0x5b337b(0x434,0x346,0x431,0x2c3),'input_schema':{'type':_0x5b337b(0x3e0,0x270,0x3a4,0x389),'properties':{'command':{'type':'string'}},'required':[_0x125cf4(0x35,-0x11b,-0x23a,-0xa4)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x340852){return{'output':_0x340852,'structured':{'value':_0x340852}};}function createUnknownToolResult(_0xf4d751){const _0x182a24={_0xd8f7f2:0x5e2,_0x41d33a:0x4ce,_0x1c6341:0x18e,_0x38bf18:0x296,_0x9fa245:0x2c5},_0x13b780={_0x3aa0e7:0xba,_0x57a205:0x11f},_0x5c823e={_0x317b49:0xcf,_0x163ee7:0x1ed};function _0x571937(_0x478465,_0x23f34a,_0x57806d,_0x3f10f4){return _0x125cf4(_0x478465-_0x5c823e._0x317b49,_0x478465-_0x5c823e._0x163ee7,_0x3f10f4,_0x3f10f4-0x76);}function _0x546388(_0x2140f9,_0x3e5578,_0x2d3112,_0x3147a2){return _0x5b337b(_0x3147a2-0xab,_0x2d3112,_0x2d3112-_0x13b780._0x3aa0e7,_0x3147a2-_0x13b780._0x57a205);}return{'callId':_0xf4d751['id'],'toolName':_0xf4d751[_0x546388(0x5fc,_0x182a24._0xd8f7f2,_0x182a24._0x41d33a,0x59f)],'status':_0x571937(_0x182a24._0x1c6341,_0x182a24._0x38bf18,_0x182a24._0x9fa245,0x1d0),'output':_0x546388(0x3b8,0x540,0x5df,0x47a)+_0xf4d751['name'],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x165082,_0x502e0d){const _0x2d4f37={_0x23c838:0x594,_0x437fb6:0x660,_0x2384de:0x57d,_0x441bf5:0x5f6},_0x52a495={_0x13cb0a:0x5e0},_0x4cb3cb={_0x2ec5a4:0x71,_0x1361a7:0x9d,_0x5ae11b:0x30};function _0x28c1cb(_0x5bac20,_0x4931d4,_0x4e625c,_0x367c3f){return _0x5b337b(_0x4e625c- -_0x4cb3cb._0x2ec5a4,_0x4931d4,_0x4e625c-_0x4cb3cb._0x1361a7,_0x367c3f-_0x4cb3cb._0x5ae11b);}function _0x3349e0(_0x2a0298,_0x5b7928,_0x504d81,_0x20a395){return _0x125cf4(_0x2a0298-0x1b,_0x504d81-_0x52a495._0x13cb0a,_0x20a395,_0x20a395-0x82);}return{'callId':_0x165082['id'],'toolName':_0x165082[_0x3349e0(0x59f,_0x2d4f37._0x23c838,0x5c8,0x605)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x165082[_0x3349e0(_0x2d4f37._0x437fb6,0x54f,_0x2d4f37._0x2384de,_0x2d4f37._0x441bf5)]),'exitCode':0x0},'chunks':[_0x502e0d],'meta':createMeta()};}function createMockToolRuntime(){const _0x4a78f9={_0xc2c8d9:0x698,_0x331c71:0x547,_0x420907:0x6d2,_0x3caf67:0x586,_0x2f4133:0x4b3,_0x3eb784:0x5e1},_0xe019c3={_0xd61e6d:0x201},_0x5a1ee0=async(_0x2346fc,_0x1f8d36)=>{if(_0x2346fc['name']!=='Bash')return createUnknownToolResult(_0x2346fc);const _0x57e6de=createOutputChunk(MOCK_WORKSPACE_LISTING);return createSuccessToolResult(_0x2346fc,_0x57e6de);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x2876ad,_0x22551e){const _0x52f7f9={_0x3a1d3f:0x340};function _0x29b7d8(_0x247cda,_0x35917f,_0x5e4df4,_0xd5f695){return _0x5504(_0x247cda-_0x52f7f9._0x3a1d3f,_0x5e4df4);}function _0x58c0e0(_0x43f019,_0x33b294,_0x123ede,_0x1e70f4){return _0x5504(_0x33b294-_0xe019c3._0xd61e6d,_0x43f019);}return await Promise[_0x29b7d8(_0x4a78f9._0xc2c8d9,_0x4a78f9._0x331c71,0x825,_0x4a78f9._0x420907)](_0x2876ad[_0x29b7d8(_0x4a78f9._0x3caf67,_0x4a78f9._0x2f4133,_0x4a78f9._0x3eb784,0x4a1)](async _0x3982fc=>{return await _0x5a1ee0(_0x3982fc,_0x22551e);}));},async 'execute'(_0x483ed7,_0x35cd3c){return await _0x5a1ee0(_0x483ed7,_0x35cd3c);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0xd16a36={_0x300bfd:0x170,_0x323c6e:0x1,_0xaa3aeb:0x63},_0x224591={_0x43fb77:0x21b};delegatedRunCounter+=0x1;function _0x345753(_0xfbc404,_0x3e2fec,_0x309c2d,_0x584c56){return _0x125cf4(_0xfbc404-0x107,_0x309c2d-_0x224591._0x43fb77,_0x584c56,_0x584c56-0x19b);}return _0x345753(-_0xd16a36._0x300bfd,0x155,_0xd16a36._0x323c6e,-_0xd16a36._0xaa3aeb)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x59055a,_0x3bc2e8){const _0x24eed2={_0xe8eaf6:0x6cf,_0x28bd18:0x85f},_0xd1f09e={_0x406497:0x6bb,_0x3d60df:0x0};function _0x1a8981(_0x39ae4a,_0x4101e8,_0x3db4fc,_0x236831){return _0x125cf4(_0x39ae4a-0xcc,_0x4101e8-_0xd1f09e._0x406497,_0x236831,_0x236831-_0xd1f09e._0x3d60df);}return typeof _0x59055a===_0x1a8981(0x665,_0x24eed2._0xe8eaf6,0x749,_0x24eed2._0x28bd18)?await _0x59055a(_0x3bc2e8):_0x59055a;}function getDelegatedAgentDefinition(_0x2625e2,_0x5368ca){const _0x45d65={_0x325814:0x772,_0x11b91c:0x71a,_0x226bd2:0x855,_0x4409f1:0x900};function _0x1b3440(_0x5614e8,_0x2d12de,_0x2ca6f0,_0x4b1b29){return _0x5b337b(_0x5614e8-0x24f,_0x2d12de,_0x2ca6f0-0x1d7,_0x4b1b29-0x116);}return _0x2625e2[_0x1b3440(_0x45d65._0x325814,_0x45d65._0x11b91c,_0x45d65._0x226bd2,_0x45d65._0x4409f1)]?.[_0x5368ca];}function createRunSummary(_0x314ed6){const _0x3ddcbf={_0x1dec24:0xf9,_0x304c60:0x4eb,_0x5513a6:0x746,_0xa0306f:0x650,_0x781b59:0x316,_0x4eb10c:0x2a9,_0x35e864:0x333,_0x1f5932:0x5b3,_0x579a3a:0x475,_0x21850b:0x7f7,_0x58e666:0x49,_0x3e558e:0x46,_0x43b963:0xad,_0x3be51a:0x707,_0x4f4ab1:0x59c},_0x427870={_0x32c390:0x733,_0x19f28e:0x134},_0xe9a1f7={_0x356e49:0xa6};function _0x433883(_0x4c5b05,_0x57ff35,_0x180360,_0x5df18c){return _0x5b337b(_0x5df18c- -0x526,_0x180360,_0x180360-_0xe9a1f7._0x356e49,_0x5df18c-0xff);}function _0x1d411a(_0x5dbd17,_0x357e03,_0x4065d8,_0x3d4ece){return _0x125cf4(_0x5dbd17-0xf5,_0x5dbd17-_0x427870._0x32c390,_0x3d4ece,_0x3d4ece-_0x427870._0x19f28e);}return{'runId':_0x314ed6['runId'],'agentId':_0x314ed6['agentId'],'sessionId':_0x314ed6[_0x433883(-_0x3ddcbf._0x1dec24,-0x261,-0x3f5,-0x270)],'status':_0x314ed6[_0x1d411a(0x62a,_0x3ddcbf._0x304c60,_0x3ddcbf._0x5513a6,_0x3ddcbf._0xa0306f)],'parentSessionId':_0x314ed6[_0x433883(-_0x3ddcbf._0x781b59,-0x308,-0x339,-0x21f)],..._0x314ed6[_0x433883(-0x3dd,-_0x3ddcbf._0x4eb10c,-_0x3ddcbf._0x35e864,-0x268)]!==void 0x0?{'originToolCallId':_0x314ed6[_0x1d411a(0x4e5,0x401,_0x3ddcbf._0x1f5932,0x54c)]}:{},..._0x314ed6[_0x1d411a(0x488,0x41e,_0x3ddcbf._0x579a3a,0x532)]!==void 0x0?{'errorMessage':_0x314ed6[_0x433883(-0x34a,-0x1db,-0x28b,-0x2c5)]}:{},..._0x314ed6[_0x1d411a(0x6a0,_0x3ddcbf._0x21850b,0x739,0x6c9)]?.[_0x433883(-0x45,0xbe,_0x3ddcbf._0x58e666,-_0x3ddcbf._0x3e558e)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x314ed6[_0x433883(-0x76,-0x57,-0x201,-_0x3ddcbf._0x43b963)][_0x1d411a(_0x3ddcbf._0x3be51a,0x57d,_0x3ddcbf._0x4f4ab1,0x83a)])}:{}};}function createRunSummaryOutput(_0x17eab7,_0x2a2da2){const _0x24a350={_0x4ae2ba:0x47f,_0x262082:0x4a7,_0x379099:0x5b2},_0x39ef6d={_0x25c17b:0x89,_0x536254:0x4fa,_0x5198a4:0x5d},_0x3d49e9={_0x45abaa:0x1dc},_0xa74391=createRunSummary(_0x17eab7),_0x422ba6=_0xa74391[_0x51a0dc(0x2fa,0x174,0x451,0x252)];function _0x51a0dc(_0x40acc9,_0x1f81b8,_0x434436,_0x49491a){return _0x5b337b(_0x40acc9- -0x44,_0x1f81b8,_0x434436-_0x3d49e9._0x45abaa,_0x49491a-0x8e);}function _0x18a055(_0x150d4b,_0x5b26f9,_0x258308,_0x175fcc){return _0x125cf4(_0x150d4b-_0x39ef6d._0x25c17b,_0x150d4b-_0x39ef6d._0x536254,_0x258308,_0x175fcc-_0x39ef6d._0x5198a4);}return createToolOutput(typeof _0x422ba6===_0x18a055(_0x24a350._0x4ae2ba,_0x24a350._0x262082,0x38e,_0x24a350._0x379099)&&_0x422ba6['length']>0x0?_0x422ba6:_0x2a2da2,_0xa74391);}function getRunTerminalErrorMessage(_0x39ddd8){const _0x1b2021={_0x3816bf:0x5e,_0x1ed46a:0x1a5,_0x54c05f:0x48,_0x42c3fa:0x13a,_0x2249a6:0x4e,_0x37ad17:0x9f,_0x4fea92:0x36,_0x32ed6f:0x133,_0x10da99:0x97,_0x57695f:0x247,_0x141bc3:0xc6,_0x94c6d6:0x192,_0x1b82a6:0x22c,_0x46ec3a:0x108},_0x3f7b08={_0x4fd99c:0x3d1,_0x257164:0xb9},_0x432262={_0x12913b:0x35,_0xd43eab:0xb8};function _0x4be83a(_0x3a3df5,_0x2af5c2,_0x32a54a,_0x17fe8b){return _0x125cf4(_0x3a3df5-_0x432262._0x12913b,_0x17fe8b-0x192,_0x3a3df5,_0x17fe8b-_0x432262._0xd43eab);}const _0x433a09=_0x39ddd8?.[_0x5e81fe(-0xed,-_0x1b2021._0x3816bf,-_0x1b2021._0x1ed46a,-0x208)][_0x5e81fe(_0x1b2021._0x54c05f,_0x1b2021._0x42c3fa,_0x1b2021._0x2249a6,_0x1b2021._0x37ad17)]['at'](-0x1);function _0x5e81fe(_0x5b7fe9,_0x9b8eca,_0x58fe39,_0x3daa26){return _0x5b337b(_0x58fe39- -_0x3f7b08._0x4fd99c,_0x3daa26,_0x58fe39-0xd4,_0x3daa26-_0x3f7b08._0x257164);}if(_0x433a09?.['status']===_0x4be83a(0xa8,-_0x1b2021._0x4fea92,0x238,_0x1b2021._0x32ed6f)&&_0x433a09[_0x4be83a(-0x12c,-_0x1b2021._0x10da99,-_0x1b2021._0x57695f,-_0x1b2021._0x141bc3)][_0x4be83a(0x9e,_0x1b2021._0x94c6d6,0x31,0xb4)]()[_0x4be83a(_0x1b2021._0x1b82a6,_0x1b2021._0x1b82a6,0x61,_0x1b2021._0x46ec3a)]>0x0)return _0x433a09['output'];return void 0x0;}function formatAbortedRunMessage(_0x627471,_0x5e7688){const _0x172974={_0x1393c9:0x4db,_0xf35fe1:0x2cc,_0x4ed4cd:0x2b8,_0x4fb1f6:0x4a7,_0x32f28e:0x3d8,_0x5d62a2:0x40b,_0x1a20d1:0x41f,_0x176e7d:0x533,_0x3a76ed:0x653,_0x1ee047:0x4d4,_0x19bc40:0x5cf},_0x15ab77={_0x3c3b7e:0x1a4,_0x68f56d:0x5fc,_0x35f264:0x193},_0x17725e={_0x288f9c:0x56,_0x494a88:0xcc};function _0x5ed4f5(_0x29e786,_0x14bc0e,_0x12f3e2,_0x15f963){return _0x5b337b(_0x12f3e2- -_0x17725e._0x288f9c,_0x15f963,_0x12f3e2-_0x17725e._0x494a88,_0x15f963-0xb1);}const _0x1aad0b='Agent\x20run\x20'+_0x627471+_0x5ed4f5(_0x172974._0x1393c9,_0x172974._0xf35fe1,0x3c0,_0x172974._0x4ed4cd);if(!_0x5e7688||_0x5e7688[_0x5ed4f5(_0x172974._0x4fb1f6,0x50a,_0x172974._0x32f28e,0x259)]()[_0x5ed4f5(_0x172974._0x5d62a2,_0x172974._0x1a20d1,0x42c,0x477)]===0x0||_0x5e7688===_0x1aad0b)return _0x1aad0b;function _0x5cfc5c(_0x628da2,_0x4f78ee,_0x31694e,_0x2c032a){return _0x125cf4(_0x628da2-_0x15ab77._0x3c3b7e,_0x2c032a-_0x15ab77._0x68f56d,_0x4f78ee,_0x2c032a-_0x15ab77._0x35f264);}return _0x1aad0b+_0x5cfc5c(_0x172974._0x176e7d,_0x172974._0x3a76ed,_0x172974._0x1ee047,_0x172974._0x19bc40)+_0x5e7688;}function createAssignTaskTool(_0x940c8b){const _0x58f41f={_0x445041:0x54,_0x3e6b5f:0x139,_0x131b54:0x134,_0x378311:0x1fb,_0x311dbc:0x83,_0x545b5b:0x20a,_0x53ffc9:0x65,_0x481f11:0x218,_0x3f870d:0x2bd,_0x52475f:0x4d,_0x48e49e:0x48,_0xe61858:0x1cb,_0x4e0451:0x277,_0x5118c1:0x170},_0x7e80cd={_0x5c653d:0x5d9,_0xc5afdc:0x387,_0xc6e5a6:0x234,_0x5ac795:0x1af,_0x4fa5bb:0x3ff,_0x706c48:0x32d,_0x458a04:0x113,_0x365e8e:0x383,_0x5e21f3:0x494,_0x500185:0x47a,_0xae4a68:0x406,_0x5dd853:0x48a,_0x2eae33:0x5a4,_0x2f3e6c:0x35a,_0x43ac09:0x351,_0x6e56e4:0x494,_0x4f0a9f:0xfd,_0x236773:0x105,_0x3ae4c7:0x94,_0x40d799:0x12b,_0x3fafa5:0x1cc,_0xee81ad:0x2ad,_0x4c7efb:0x30c,_0x31e040:0x2c1,_0x4e6592:0x358,_0x149242:0x4fd,_0x45dc6d:0x437,_0x41e91a:0x149,_0x44108b:0xc5,_0x3cc65e:0x1c9,_0x7dd2db:0x110,_0x37f231:0x3c,_0x37ecc1:0x159,_0x1b7cef:0x15e,_0x1f28df:0x65,_0x20cbac:0x19,_0x29d7d7:0x133,_0x554ae3:0x9d,_0x4aead0:0x57,_0x1f8af0:0x60,_0x5e29f7:0xba,_0x5a13f6:0x29d,_0x3cae7d:0x3c3,_0x1fe010:0x2db,_0x1339b8:0x10b,_0x20120d:0xed,_0x3493a3:0xe7,_0x446c25:0x2fa,_0x26706a:0x3a0,_0x4c5cb8:0x403,_0x5f0006:0x215,_0x5e9633:0x2e4,_0x189c92:0x241,_0x45f546:0x263,_0x14d67c:0x201,_0x3b1cc4:0x7a,_0x5a71eb:0x129,_0x418a9e:0x3d,_0x22cc35:0x122,_0x227f65:0x3f7,_0x58f051:0x20e,_0x3ed858:0x1c2,_0x74e103:0x3fc,_0x14c8a6:0x3be,_0x53da9c:0x388,_0x1425c3:0x150,_0x38420a:0x9b,_0x2ce650:0x25f,_0x161c16:0x233,_0x52bc33:0xc5,_0x41a9a8:0x128},_0x299bd7={_0x2d521e:0x15d},_0x3a4d60={_0x24b92d:0xb2,_0x5aa359:0x74},_0x32d513={_0x4be896:0x26d},_0x2e6802={_0x11628f:0x163,_0x3f8a10:0x8,_0x76d8e2:0x1be};function _0x4158b5(_0x3ca517,_0x282a03,_0x5631dd,_0x482ce9){return _0x125cf4(_0x3ca517-_0x2e6802._0x11628f,_0x5631dd- -_0x2e6802._0x3f8a10,_0x482ce9,_0x482ce9-_0x2e6802._0x76d8e2);}function _0x13b515(_0x40eee,_0x3d1251,_0x4c6de6,_0x1e7c3b){return _0x125cf4(_0x40eee-0x110,_0x40eee-_0x32d513._0x4be896,_0x4c6de6,_0x1e7c3b-0x18c);}return defineTool({'name':_0x13b515(-_0x58f41f._0x445041,-0x1b2,-0xf9,_0x58f41f._0x3e6b5f),'permissionClass':_0x13b515(0xd,0x11f,-0x101,0xe4),'description':'Delegates\x20a\x20task\x20to\x20another\x20agent\x20and\x20waits\x20for\x20completion.\x20`description`\x20is\x20a\x20short\x20UI\x20label;\x20`task`\x20is\x20the\x20complete\x20instruction\x20sent\x20to\x20the\x20agent.','inputSchema':{'type':_0x4158b5(-0x25,-0x10f,-_0x58f41f._0x131b54,-_0x58f41f._0x378311),'properties':{'agentId':{'type':_0x4158b5(0x64,0xa2,-_0x58f41f._0x311dbc,-_0x58f41f._0x545b5b),'description':'ID\x20of\x20the\x20agent\x20to\x20invoke,\x20chosen\x20from\x20the\x20available\x20specialist\x20agents.'},'description':{'type':'string','description':_0x13b515(0x12d,-_0x58f41f._0x53ffc9,_0x58f41f._0x481f11,_0x58f41f._0x3f870d)},'nickname':{'type':_0x4158b5(-0xa2,_0x58f41f._0x52475f,-0x83,-0x1bc),'description':_0x4158b5(-0xcd,0xe9,-_0x58f41f._0x48e49e,-0x12c)},'task':{'type':'string','description':_0x13b515(0x21d,0x229,_0x58f41f._0xe61858,0x105)}},'required':[_0x13b515(_0x58f41f._0x4e0451,_0x58f41f._0x5118c1,0x381,0x394),'description','task']},async *'execute'(_0x573c16,_0xdf950){const _0x5c1e19={_0x46eb62:0x2b,_0x51d3e7:0x238,_0x2dc736:0x334,_0x39d532:0x3d0,_0x147fac:0x48c,_0x5c73b2:0x366,_0x408787:0x103,_0x245217:0x10e,_0x3e4960:0x4d},_0x23dfd3={_0x41288e:0x2bb},_0x4ecae0={_0xf15ae7:0x8f},_0x1fd78d=createDelegatedRunId(),_0x273ab7={'agentId':_0x573c16[_0x57971e(_0x7e80cd._0x5c653d,0x494,_0x7e80cd._0xc5afdc,0x565)],'parentSessionId':_0xdf950[_0x57971e(0x31f,_0x7e80cd._0xc6e5a6,_0x7e80cd._0x5ac795,0x170)],'runId':_0x1fd78d,..._0xdf950[_0x57971e(0x2ae,_0x7e80cd._0x4fa5bb,_0x7e80cd._0x706c48,0x47e)]!==void 0x0?{'toolCallId':_0xdf950[_0x36ffc5(0xb7,-0x1,0xe9,-_0x7e80cd._0x458a04)]}:{}},_0x1e6831=getDelegatedAgentDefinition(_0x940c8b,_0x573c16[_0x57971e(_0x7e80cd._0x365e8e,_0x7e80cd._0x5e21f3,0x4b4,_0x7e80cd._0x500185)]);function _0x57971e(_0x267e20,_0x10d533,_0x405224,_0x497b04){return _0x4158b5(_0x267e20-_0x3a4d60._0x24b92d,_0x10d533-_0x3a4d60._0x5aa359,_0x10d533-0x492,_0x497b04);}if(!_0x1e6831)throw new ToolExecutionError(_0x57971e(_0x7e80cd._0xae4a68,_0x7e80cd._0x5dd853,_0x7e80cd._0x2eae33,_0x7e80cd._0x2f3e6c)+_0x573c16['agentId'],{'agentId':_0x573c16[_0x57971e(_0x7e80cd._0x43ac09,_0x7e80cd._0x6e56e4,0x34b,0x48e)]});const _0x29afff=new Agent(await resolveDelegatedAgentOptions(_0x1e6831,_0x273ab7));function _0x36ffc5(_0x5d5273,_0x50ad8b,_0x2f049d,_0x4fb2ad){return _0x4158b5(_0x5d5273-_0x299bd7._0x2d521e,_0x50ad8b-0x22,_0x50ad8b-0x92,_0x4fb2ad);}const _0x4e378d=_0x940c8b[_0x36ffc5(-_0x7e80cd._0x4f0a9f,-_0x7e80cd._0x236773,-0x148,-0xd3)]?.(_0x29afff)??(()=>{});let _0x2ea6b7={'runId':_0x1fd78d,'agentId':_0x573c16[_0x36ffc5(-0x57,_0x7e80cd._0x3ae4c7,-0x6c,_0x7e80cd._0x40d799)],'sessionId':_0x29afff[_0x36ffc5(-0x91,-_0x7e80cd._0x3fafa5,-_0x7e80cd._0xee81ad,-_0x7e80cd._0x4c7efb)],'status':'running','parentSessionId':_0xdf950['sessionId'],..._0xdf950[_0x57971e(0x3e1,_0x7e80cd._0x4fa5bb,_0x7e80cd._0x31e040,0x2ac)]!==void 0x0?{'originToolCallId':_0xdf950[_0x36ffc5(-0x74,-0x1,0xd1,-0xaf)]}:{}};const _0x3660c2=new AbortController(),_0x210176=addAbortListener(_0xdf950[_0x57971e(_0x7e80cd._0x4e6592,0x3c3,_0x7e80cd._0x149242,_0x7e80cd._0x45dc6d)],()=>{function _0x1bfd2c(_0x45b844,_0x2b692a,_0x5c0e71,_0x382915){return _0x57971e(_0x45b844-0x1ac,_0x45b844- -_0x4ecae0._0xf15ae7,_0x5c0e71-0x132,_0x2b692a);}function _0x37446b(_0x21134b,_0x53e88f,_0x330293,_0x178502){return _0x57971e(_0x21134b-0x146,_0x21134b- -_0x23dfd3._0x41288e,_0x330293-0x125,_0x330293);}_0x3660c2[_0x1bfd2c(0x165,0x11a,_0x5c1e19._0x46eb62,_0x5c1e19._0x51d3e7)](_0xdf950[_0x1bfd2c(_0x5c1e19._0x2dc736,_0x5c1e19._0x39d532,_0x5c1e19._0x147fac,_0x5c1e19._0x5c73b2)]?.[_0x37446b(_0x5c1e19._0x408787,0x97,_0x5c1e19._0x245217,_0x5c1e19._0x3e4960)]);});try{yield createToolOutput(_0x36ffc5(-_0x7e80cd._0x41e91a,-0x56,0xbd,-0xa7)+_0x2ea6b7[_0x36ffc5(0x80,-_0x7e80cd._0x44108b,-0x1d7,-_0x7e80cd._0x3cc65e)]+'.',{'runId':_0x2ea6b7[_0x36ffc5(-_0x7e80cd._0x7dd2db,-0xc5,-0x8c,_0x7e80cd._0x37f231)],'agentId':_0x2ea6b7['agentId'],'sessionId':_0x2ea6b7[_0x36ffc5(-_0x7e80cd._0x37ecc1,-_0x7e80cd._0x3fafa5,-_0x7e80cd._0x1b7cef,-0x83)],'status':_0x2ea6b7[_0x36ffc5(-_0x7e80cd._0x1f28df,-0x7f,_0x7e80cd._0x20cbac,-_0x7e80cd._0x29d7d7)]});const _0x1e806e=await _0x29afff[_0x36ffc5(-_0x7e80cd._0x554ae3,-0x8d,_0x7e80cd._0x4aead0,-0xe0)](_0x573c16[_0x36ffc5(0x35,_0x7e80cd._0x1f8af0,_0x7e80cd._0x5e29f7,0x67)],{'streaming':!![],'signal':_0x3660c2[_0x57971e(_0x7e80cd._0x5a13f6,_0x7e80cd._0x3cae7d,0x41a,_0x7e80cd._0x1fe010)]});_0x2ea6b7={..._0x2ea6b7,'status':_0x1e806e[_0x36ffc5(_0x7e80cd._0x1339b8,-0x7f,-_0x7e80cd._0x20120d,-_0x7e80cd._0x3493a3)],'result':_0x1e806e};if(_0x1e806e[_0x57971e(_0x7e80cd._0x446c25,0x381,_0x7e80cd._0x26706a,_0x7e80cd._0x4c5cb8)]!=='completed'){const _0x43172b=getRunTerminalErrorMessage(_0x1e806e),_0x4aea07=formatAbortedRunMessage(_0x2ea6b7[_0x57971e(_0x7e80cd._0x5f0006,0x33b,0x452,_0x7e80cd._0x5e9633)],_0x43172b);throw new ToolExecutionError(_0x4aea07,{...createRunSummary(_0x2ea6b7),'aborted':!![],'errorMessage':_0x4aea07});}return createRunSummaryOutput(_0x2ea6b7,_0x36ffc5(-0x27d,-_0x7e80cd._0x189c92,-0x19e,-0x122)+_0x2ea6b7['runId']+_0x57971e(_0x7e80cd._0x45f546,0x2b5,_0x7e80cd._0x14d67c,0x419));}catch(_0x10cd8c){if(_0x10cd8c instanceof ToolExecutionError)throw _0x10cd8c;if(isAbortError(_0x10cd8c)||_0x3660c2['signal'][_0x36ffc5(-0x2bb,-0x128,-_0x7e80cd._0x3b1cc4,-0x89)]||_0xdf950[_0x36ffc5(-_0x7e80cd._0x5a71eb,-_0x7e80cd._0x418a9e,-0x16a,_0x7e80cd._0x22cc35)]['aborted']){const _0x3a02f8=getRunTerminalErrorMessage(_0x2ea6b7[_0x57971e(0x550,_0x7e80cd._0x227f65,0x269,0x358)])??(_0x10cd8c instanceof Error?_0x10cd8c[_0x57971e(_0x7e80cd._0x58f051,_0x7e80cd._0x3ed858,0x2a7,0x1d4)]:String(_0x10cd8c)),_0x3a06dc=formatAbortedRunMessage(_0x2ea6b7['runId'],_0x3a02f8);_0x2ea6b7={..._0x2ea6b7,'status':_0x57971e(_0x7e80cd._0x74e103,0x2d8,_0x7e80cd._0x14c8a6,_0x7e80cd._0x53da9c),'errorMessage':_0x3a06dc};throw new ToolExecutionError(_0x3a06dc,{...createRunSummary(_0x2ea6b7),'aborted':!![],'errorMessage':_0x3a06dc});}const _0x2ddb97=getRunTerminalErrorMessage(_0x2ea6b7[_0x36ffc5(0xe3,-0x9,-0x174,-_0x7e80cd._0x1425c3)])??(_0x10cd8c instanceof Error?_0x10cd8c['message']:String(_0x10cd8c))??_0x57971e(_0x7e80cd._0x38420a,0x1bf,0x21a,_0x7e80cd._0x2ce650)+_0x2ea6b7[_0x36ffc5(-_0x7e80cd._0x161c16,-_0x7e80cd._0x52bc33,_0x7e80cd._0x3b1cc4,-_0x7e80cd._0x41a9a8)]+'\x20failed.';_0x2ea6b7={..._0x2ea6b7,'status':'failed','errorMessage':_0x2ddb97};throw new ToolExecutionError(_0x2ddb97,{...createRunSummary(_0x2ea6b7),'errorMessage':_0x2ddb97});}finally{_0x210176(),_0x4e378d();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x307b17){return[createAssignTaskTool(_0x307b17)];}import*as _0x3abd64 from'path';function buildDescription2(_0x10a5b4){const _0x4c4d1b={_0x3411e9:0x4b6,_0x10af29:0xf4,_0xff6f2e:0x512,_0x534604:0x3a1,_0x185655:0x42f,_0x33b684:0x326,_0x20102d:0x2a8,_0x19dc03:0x4b5,_0x42f905:0x3bb,_0x2d63be:0x487,_0x17788b:0x3ce,_0x1bc841:0x3e9,_0x4471f0:0x4d4,_0x2f3f7b:0x41,_0x9edc89:0xf2,_0x4e6ceb:0x1a1},_0x1f004b={_0x38da24:0x459,_0x1b2dd2:0x17e},_0xac0f32={_0x2a546b:0x190};function _0x283485(_0x165836,_0x16bc70,_0x2f2ebc,_0x311bfd){return _0x5b337b(_0x311bfd-0x10b,_0x2f2ebc,_0x2f2ebc-0x1e3,_0x311bfd-_0xac0f32._0x2a546b);}function _0x3a01c2(_0x37f155,_0x2b3b86,_0x5b8021,_0x49450f){return _0x5b337b(_0x37f155- -_0x1f004b._0x38da24,_0x2b3b86,_0x5b8021-_0x1f004b._0x1b2dd2,_0x49450f-0x147);}if(_0x10a5b4[_0x283485(0x504,_0x4c4d1b._0x3411e9,0x66c,0x58d)]===0x0)return _0x3a01c2(0x9c,_0x4c4d1b._0x10af29,0xdb,0x11d);const _0x35d2ec=[_0x283485(_0x4c4d1b._0xff6f2e,_0x4c4d1b._0x534604,0x562,_0x4c4d1b._0x185655),'Skills\x20provide\x20specialized\x20knowledge\x20and\x20step-by-step\x20guidance.',_0x283485(0x31d,_0x4c4d1b._0x33b684,_0x4c4d1b._0x20102d,0x375),_0x283485(_0x4c4d1b._0x19dc03,_0x4c4d1b._0x42f905,_0x4c4d1b._0x2d63be,_0x4c4d1b._0x17788b),..._0x10a5b4[_0x283485(0x37a,0x405,_0x4c4d1b._0x1bc841,_0x4c4d1b._0x4471f0)](_0x3d60e3=>'-\x20'+_0x3d60e3[_0x283485(0x615,0x6fb,0x58b,0x5ff)]+':\x20'+_0x3d60e3['description'])];return _0x35d2ec[_0x3a01c2(_0x4c4d1b._0x2f3f7b,0x21,_0x4c4d1b._0x9edc89,_0x4c4d1b._0x4e6ceb)]('\x0a');}function createLoadSkillTool(_0x5c2f37){const _0x4ed416={_0x1a72b6:0x219,_0x2f5ad7:0x234,_0x377ad0:0x1f3,_0xb39793:0x452,_0x231e31:0x14e,_0xf1d7de:0xf9,_0x198b06:0xeb,_0x607d7c:0x207,_0x2c955b:0x25,_0x3e83b6:0x8c,_0x178d43:0x248,_0x2bbdc6:0x4c3,_0x24765b:0x6d3,_0x51f1d5:0x76b},_0x222ffc={_0x562821:0x559,_0x3081b2:0x5aa,_0x58f25a:0x568,_0x1bdb66:0x7b7,_0x54f364:0x653,_0x222d8a:0x7c4,_0x3e90ff:0x547,_0x5b09ee:0x553,_0x1b38f7:0x64c,_0x3c1b3f:0x5af,_0x588a40:0x3c6,_0x55a1ce:0x32e,_0xc74904:0x442,_0x49c1c7:0x479,_0xf9daa3:0x44c,_0x57eb1a:0x638,_0x323828:0x67e,_0x4272c8:0x4f1,_0x2004eb:0x530,_0x11b3e2:0x6d4,_0x58e747:0x397,_0x1cec30:0x628,_0x1d5eee:0x5dc,_0x2f8d45:0x797,_0x5b9146:0x6ed,_0x4176e8:0x56b,_0x1f80bb:0x79b,_0x2561e7:0x72f,_0x3c0817:0x67e},_0x231b9c={_0x33ae47:0x15e,_0xb79068:0x620},_0x2a7be3={_0x4a16dc:0x155,_0x727642:0x63b},_0x1b4c8a={_0x448af7:0x19c};function _0x230a21(_0x18d4f7,_0x497192,_0x40aff2,_0x33afc4){return _0x125cf4(_0x18d4f7-_0x1b4c8a._0x448af7,_0x33afc4-0x3b,_0x497192,_0x33afc4-0xed);}const _0x2499bd=new Map(_0x5c2f37[_0x230a21(-_0x4ed416._0x1a72b6,-_0x4ed416._0x2f5ad7,-_0x4ed416._0x377ad0,-0xeb)][_0x3945b3(_0x4ed416._0xb39793,0x5b1,0x633,0x4f8)](_0xe1ef59=>[_0xe1ef59[_0x3945b3(0x6d6,0x753,0x601,0x623)],_0xe1ef59]));function _0x3945b3(_0x109192,_0x1ae5b0,_0x1a83ab,_0x30f700){return _0x125cf4(_0x109192-_0x2a7be3._0x4a16dc,_0x30f700-_0x2a7be3._0x727642,_0x1a83ab,_0x30f700-0x15a);}const _0x5a898e=buildDescription2(_0x5c2f37[_0x230a21(-0x1b8,-_0x4ed416._0x231e31,-_0x4ed416._0xf1d7de,-_0x4ed416._0x198b06)]);return defineTool({'name':_0x230a21(-0x269,-0x213,-_0x4ed416._0x607d7c,-0x27e),'permissionClass':_0x230a21(-0x292,-_0x4ed416._0x2c955b,-0x10e,-0x186),'description':_0x5a898e,'inputSchema':{'type':_0x230a21(-_0x4ed416._0x3e83b6,-0x6a,-_0x4ed416._0x178d43,-0xf1),'properties':{'name':{'type':_0x3945b3(_0x4ed416._0x2bbdc6,0x4d5,_0x4ed416._0x24765b,0x5c0)}},'required':[_0x3945b3(0x6b2,_0x4ed416._0x51f1d5,0x511,0x623)]},async *'execute'(_0x467487){const _0x141524={_0x575ab8:0xe5},_0x458a2d=_0x2499bd[_0x4ae614(_0x222ffc._0x562821,_0x222ffc._0x3081b2,0x654,0x4a4)](_0x467487['name']);if(!_0x458a2d){const _0x4cfb05=Array[_0x4ae614(0x6d4,_0x222ffc._0x58f25a,_0x222ffc._0x1bdb66,_0x222ffc._0x54f364)](_0x2499bd['keys']())[_0x4ae614(0x696,0x77f,0x54f,_0x222ffc._0x222d8a)](',\x20');throw new ToolExecutionError('Skill\x20\x27'+_0x467487['name']+_0x4ae614(0x6ca,0x542,0x5c6,0x711)+_0x4cfb05,{'name':_0x467487['name']});}const _0x4e4a8f=await _0x5c2f37[_0x1aec09(0x636,_0x222ffc._0x3e90ff,0x64d,_0x222ffc._0x5b09ee)](_0x458a2d),_0x46e60c=_0x458a2d[_0x1aec09(0x740,0x52e,_0x222ffc._0x1b38f7,_0x222ffc._0x3c1b3f)][_0x1aec09(0x508,_0x222ffc._0x588a40,0x31c,0x3dc)]??_0x3abd64[_0x1aec09(0x3f9,_0x222ffc._0x55a1ce,_0x222ffc._0xc74904,0x3d0)](_0x458a2d[_0x1aec09(_0x222ffc._0x49c1c7,_0x222ffc._0xf9daa3,_0x222ffc._0x57eb1a,0x5af)][_0x1aec09(0x5fe,0x58e,0x544,_0x222ffc._0x323828)]);function _0x4ae614(_0x4c829b,_0x41ddfa,_0x51ae3b,_0x13d032){return _0x230a21(_0x4c829b-0xa1,_0x41ddfa,_0x51ae3b-_0x141524._0x575ab8,_0x4c829b-0x6cd);}function _0x1aec09(_0x42945b,_0x245e7d,_0x592acf,_0x193e9d){return _0x230a21(_0x42945b-0x160,_0x42945b,_0x592acf-_0x231b9c._0x33ae47,_0x193e9d-_0x231b9c._0xb79068);}const _0x55bffb=[_0x4ae614(0x61e,0x585,0x500,_0x222ffc._0x4272c8)+_0x4e4a8f[_0x1aec09(0x595,_0x222ffc._0x2004eb,0x666,0x643)],'',_0x4e4a8f[_0x1aec09(0x59c,0x504,_0x222ffc._0x11b3e2,0x5f3)],'',_0x1aec09(0x25b,0x30d,0x334,_0x222ffc._0x58e747),'Loaded\x20from:\x20'+_0x458a2d[_0x4ae614(0x65c,0x4cc,_0x222ffc._0x1cec30,0x565)]['path'],'Base\x20directory:\x20'+_0x46e60c][_0x4ae614(0x696,_0x222ffc._0x1d5eee,_0x222ffc._0x2f8d45,0x801)]('\x0a');return yield createToolOutput(_0x55bffb,{'id':_0x4e4a8f['id'],'name':_0x4e4a8f[_0x1aec09(0x57e,_0x222ffc._0x5b9146,_0x222ffc._0x4176e8,0x643)],'path':_0x458a2d['source'][_0x1aec09(0x559,_0x222ffc._0x1f80bb,_0x222ffc._0x2561e7,_0x222ffc._0x3c0817)],'baseDirectory':_0x46e60c}),void 0x0;}});}var TODO_STATUSES=new Set([_0x125cf4(-0x442,-0x2e8,-0x19a,-0x19b),_0x125cf4(-0xf1,0x7,0xac,0x8),'completed']),TODO_PRIORITIES=new Set(['high','medium','low']);function isTodoStatus(_0x50574c){const _0x2f4d3f={_0x5137e5:0x0,_0x167dfc:0xfe,_0x4bb5f9:0x18e},_0x24336c={_0x58b10c:0x141},_0x72e972={_0x3eee74:0xb4};function _0x56d263(_0x1d6db1,_0x1854d5,_0x32ac75,_0x24c170){return _0x125cf4(_0x1d6db1-_0x72e972._0x3eee74,_0x1d6db1-0x7b,_0x32ac75,_0x24c170-0x65);}function _0x171676(_0x27853d,_0x4f6888,_0x22cd4a,_0x47cfcf){return _0x5b337b(_0x22cd4a-_0x24336c._0x58b10c,_0x27853d,_0x22cd4a-0x20,_0x47cfcf-0xef);}return typeof _0x50574c===_0x56d263(_0x2f4d3f._0x5137e5,0xa7,_0x2f4d3f._0x167dfc,-0x9b)&&TODO_STATUSES[_0x56d263(-0xd9,-0x14f,-0x6d,-_0x2f4d3f._0x4bb5f9)](_0x50574c);}function isTodoPriority(_0x1ce421){const _0x2e4fb8={_0x5ac730:0xd6,_0x54a442:0x317,_0x451deb:0x3c2},_0x5176e0={_0x1908c4:0x15b};function _0x570d46(_0x41e006,_0x1d4cb4,_0x3fa1a4,_0x2e44d1){return _0x5b337b(_0x1d4cb4- -0xa1,_0x41e006,_0x3fa1a4-0x161,_0x2e44d1-_0x5176e0._0x1908c4);}function _0x383d00(_0x245e95,_0x51bf36,_0x27d468,_0x1638f4){return _0x5b337b(_0x51bf36- -0x446,_0x1638f4,_0x27d468-0x64,_0x1638f4-0x118);}return typeof _0x1ce421===_0x383d00(0x13f,0x4b,0x9a,_0x2e4fb8._0x5ac730)&&TODO_PRIORITIES[_0x570d46(0x1af,_0x2e4fb8._0x54a442,_0x2e4fb8._0x451deb,0x482)](_0x1ce421);}var TodoStore=class{['todosBySession']=new Map();[_0x125cf4(0x41,-0x52,-0xe,-0x14c)](_0x359a08){const _0x16954e={_0x166bdc:0x9a,_0x3c0137:0x159},_0x5533f6={_0x5639ba:0x19b,_0x10d75f:0x167};function _0x55e0b4(_0xe88a4a,_0x139c31,_0x547a3a,_0x3c4cc6){return _0x125cf4(_0xe88a4a-0x2f,_0x139c31-0x56,_0x547a3a,_0x3c4cc6-0x15e);}function _0x469222(_0x5893ef,_0x45a0ec,_0x328d11,_0x1021fa){return _0x5b337b(_0x328d11- -0x65,_0x45a0ec,_0x328d11-_0x5533f6._0x5639ba,_0x1021fa-_0x5533f6._0x10d75f);}return this[_0x55e0b4(0xa2,0x4f,_0x16954e._0x166bdc,-0xc9)][_0x55e0b4(-0x191,-_0x16954e._0x3c0137,-0x15e,-0x1d6)](_0x359a08)??[];}[_0x5b337b(0x52e,0x4d9,0x3b4,0x4e4)](_0x2a2a58,_0x19243f){const _0x254f42={_0x255c80:0x625,_0x5718da:0x4f8,_0x1a59dd:0x4ff},_0x174c1e={_0x147975:0xfa};function _0x43f84e(_0xde2032,_0xffaf1a,_0x400922,_0x1dc76e){return _0x125cf4(_0xde2032-_0x174c1e._0x147975,_0xde2032-0x67a,_0x1dc76e,_0x1dc76e-0x103);}this['todosBySession'][_0x43f84e(_0x254f42._0x255c80,_0x254f42._0x5718da,0x72b,_0x254f42._0x1a59dd)](_0x2a2a58,_0x19243f);}[_0x5b337b(0x336,0x3f4,0x42b,0x1ec)](_0x5c16ec){const _0x273eae={_0x1667f9:0x134,_0x470f50:0x18f,_0x3cc096:0xfa,_0x5c3397:0x1f6,_0x3f7624:0xb3,_0x387f49:0x177,_0x44dcc3:0xff,_0x3d024a:0x4d,_0x8265e3:0xff},_0x1245d0={_0x4bd56c:0x1cc,_0x2d7154:0xd6},_0x40f0d4={_0x3fc5cf:0x0},_0x48b106=this[_0x33c1d(0x104,_0x273eae._0x1667f9,0x22e,0xa5)](_0x5c16ec),_0x348301={'total':_0x48b106[_0x33c1d(_0x273eae._0x470f50,_0x273eae._0x3cc096,_0x273eae._0x5c3397,0x195)],'pending':0x0,'inProgress':0x0,'completed':0x0};function _0x33c1d(_0x4d6a81,_0x6a6774,_0x100c6e,_0x412033){return _0x5b337b(_0x100c6e- -0x28c,_0x6a6774,_0x100c6e-_0x40f0d4._0x3fc5cf,_0x412033-0x22);}function _0x58abc5(_0x340536,_0x1289c0,_0x240900,_0x4d74e8){return _0x5b337b(_0x240900- -0x37e,_0x340536,_0x240900-_0x1245d0._0x4bd56c,_0x4d74e8-_0x1245d0._0x2d7154);}for(const _0x3b05d7 of _0x48b106){if(_0x3b05d7[_0x33c1d(0x1e2,_0x273eae._0x3f7624,_0x273eae._0x387f49,_0x273eae._0x44dcc3)]===_0x58abc5(-0xa1,0x9,-0x15a,-0x69))_0x348301['pending']+=0x1;else{if(_0x3b05d7[_0x58abc5(-_0x273eae._0x3d024a,_0x273eae._0x8265e3,0x85,-0x10b)]==='in_progress')_0x348301['inProgress']+=0x1;else _0x348301['completed']+=0x1;}}return _0x348301;}};function validateTodos(_0x838195){const _0x3cdeaa={_0x8ce287:0x4f,_0x5e0526:0x56,_0x4a720f:0x134,_0x3275d6:0x54,_0x42f048:0x126,_0x50f03e:0x2c0,_0x4bfa02:0x21f,_0x58cf65:0x1ae,_0x227bfe:0x21e,_0x32eb36:0xcf,_0x3af09c:0xca,_0x203c19:0x287,_0x473bf3:0x24a,_0xe18ba2:0x377,_0x506a9f:0x331,_0x4ef44d:0x23d,_0x140d9c:0x1a2,_0x2348f6:0x102,_0x2b854e:0x17b,_0x48046c:0x421,_0x27ebaa:0x21d,_0x55260d:0x407,_0x4a741c:0x314,_0x5a58e7:0x1f2,_0x56390c:0x34d,_0x5cad7c:0x3bc,_0xbd97fa:0x1e2,_0xb31902:0x10c,_0x2508ee:0x43a,_0x3eb0fc:0x202,_0x1cb8b3:0xef,_0x431fbc:0x22a,_0x431953:0x4ab,_0x3d3799:0x3b3,_0x808cfd:0x340,_0x4c4c80:0x177,_0x6d8b70:0x5d,_0x1cd66c:0x42b,_0x5369d9:0x26f,_0x496193:0x25c,_0x2d6373:0x33d,_0x398c95:0x395,_0x3a810e:0x2a8,_0x398dfc:0x406,_0x4eaeca:0x2af,_0x2e3b8d:0x201,_0xd5b7da:0x1a5,_0x4c130a:0x27c,_0x3c71d1:0x368,_0x4e7647:0x266,_0x380c74:0x1b3,_0x197be0:0x31e,_0x174545:0x1a6,_0x554dab:0x34b,_0x12e99c:0x2a7},_0x4d6706={_0x36e755:0x122,_0x868040:0xd9},_0xbdcd6b={_0x2ab5c8:0x1cb,_0x3ef677:0xef};if(!Array[_0x23b7a9(0x132,-_0x3cdeaa._0x8ce287,0x86,0x23f)](_0x838195[_0x38fd97(0x28f,-_0x3cdeaa._0x5e0526,0x126,0x1ab)])||_0x838195[_0x38fd97(_0x3cdeaa._0x4a720f,_0x3cdeaa._0x3275d6,_0x3cdeaa._0x42f048,0x18d)][_0x23b7a9(_0x3cdeaa._0x50f03e,_0x3cdeaa._0x4bfa02,0x1ae,0x31c)]===0x0)throw new ToolExecutionError('Parameter\x20\x22todos\x22\x20must\x20be\x20a\x20non-empty\x20array',{'error':'invalid_todos'});function _0x23b7a9(_0xca2fde,_0x3a5e8f,_0x437dc2,_0x6dc907){return _0x5b337b(_0xca2fde- -0x1c2,_0x3a5e8f,_0x437dc2-_0xbdcd6b._0x2ab5c8,_0x6dc907-_0xbdcd6b._0x3ef677);}function _0x38fd97(_0x340661,_0x1b9b6a,_0x9f4f9c,_0x1e5401){return _0x125cf4(_0x340661-_0x4d6706._0x36e755,_0x9f4f9c-0x3f2,_0x1b9b6a,_0x1e5401-_0x4d6706._0x868040);}for(let _0x44d308=0x0;_0x44d308<_0x838195[_0x23b7a9(0x7e,0x1e9,0x37,_0x3cdeaa._0x58cf65)]['length'];_0x44d308+=0x1){const _0x3a0f11=_0x838195['todos'][_0x44d308];if(!_0x3a0f11||typeof _0x3a0f11!==_0x23b7a9(_0x3cdeaa._0x227bfe,0x253,0x9a,0x11c))throw new ToolExecutionError(_0x23b7a9(_0x3cdeaa._0x32eb36,-0x4,0x1aa,_0x3cdeaa._0x3af09c)+(_0x44d308+0x1)+_0x38fd97(0x415,0x1c2,_0x3cdeaa._0x203c19,0x3cc),{'error':'invalid_todo_item'});if(typeof _0x3a0f11['id']!==_0x38fd97(_0x3cdeaa._0x473bf3,_0x3cdeaa._0xe18ba2,0x377,_0x3cdeaa._0x506a9f)||_0x3a0f11['id'][_0x23b7a9(0x26c,_0x3cdeaa._0x4ef44d,_0x3cdeaa._0x140d9c,_0x3cdeaa._0x2348f6)]()[_0x38fd97(0x49f,0x4ac,0x368,0x4ac)]===0x0)throw new ToolExecutionError('Todo\x20'+(_0x44d308+0x1)+':\x20id\x20required',{'error':'invalid_todo_id'});if(typeof _0x3a0f11[_0x23b7a9(_0x3cdeaa._0x2b854e,0x120,0x21f,0xb9)]!==_0x23b7a9(0x2cf,0x402,_0x3cdeaa._0x48046c,0x456)||_0x3a0f11['content'][_0x38fd97(_0x3cdeaa._0x27ebaa,_0x3cdeaa._0x55260d,_0x3cdeaa._0x4a741c,0x475)]()['length']===0x0)throw new ToolExecutionError('Todo\x20'+(_0x44d308+0x1)+_0x23b7a9(0x98,-0xc,_0x3cdeaa._0x5a58e7,-0x42),{'error':'invalid_todo_content'});if(!isTodoStatus(_0x3a0f11[_0x23b7a9(0x241,0x2a5,_0x3cdeaa._0x56390c,_0x3cdeaa._0x5cad7c)]))throw new ToolExecutionError(_0x23b7a9(0xcf,_0x3cdeaa._0xbd97fa,_0x3cdeaa._0xb31902,0x26)+(_0x44d308+0x1)+_0x23b7a9(0x2b6,_0x3cdeaa._0x2508ee,_0x3cdeaa._0x3eb0fc,0x1d2),{'error':_0x38fd97(0x18c,_0x3cdeaa._0x1cb8b3,0x19f,_0x3cdeaa._0x431fbc)});if(!isTodoPriority(_0x3a0f11[_0x38fd97(_0x3cdeaa._0x431953,_0x3cdeaa._0x3d3799,0x31e,_0x3cdeaa._0x808cfd)]))throw new ToolExecutionError(_0x38fd97(0x18e,0x96,_0x3cdeaa._0x4c4c80,_0x3cdeaa._0x6d8b70)+(_0x44d308+0x1)+_0x23b7a9(0x330,0x4c3,_0x3cdeaa._0x1cd66c,_0x3cdeaa._0x5369d9),{'error':_0x38fd97(_0x3cdeaa._0x496193,_0x3cdeaa._0x2d6373,_0x3cdeaa._0x398c95,0x37f)});}const _0x11160a=_0x838195[_0x38fd97(_0x3cdeaa._0x3a810e,0x134,_0x3cdeaa._0x42f048,0xe8)][_0x38fd97(_0x3cdeaa._0x398dfc,0x1d8,_0x3cdeaa._0x4eaeca,0x209)](_0xe11a89=>_0xe11a89['id']);if(new Set(_0x11160a)[_0x23b7a9(0xd0,_0x3cdeaa._0x2e3b8d,_0x3cdeaa._0xd5b7da,0x93)]!==_0x11160a[_0x38fd97(_0x3cdeaa._0x4c130a,0x36f,_0x3cdeaa._0x3c71d1,_0x3cdeaa._0x4e7647)])throw new ToolExecutionError(_0x23b7a9(0x1bd,_0x3cdeaa._0x380c74,_0x3cdeaa._0x197be0,_0x3cdeaa._0x174545),{'error':_0x23b7a9(0x2d3,_0x3cdeaa._0x554dab,_0x3cdeaa._0x12e99c,0x37a)});}function createStatsProgress(_0x4589b2){const _0x5f5ca6={_0x572b8e:0x49b,_0x56e893:0x464,_0x57e0cd:0x23b,_0x21cb6f:0x414,_0x49f2e0:0x318},_0x14253d={_0x16f329:0x527},_0x4835df={_0x3c9541:0x9f,_0x3db7f1:0x1c8};function _0x36bec0(_0x54453b,_0xa38026,_0x5262a2,_0x373b6e){return _0x5b337b(_0x373b6e- -0x266,_0x5262a2,_0x5262a2-_0x4835df._0x3c9541,_0x373b6e-_0x4835df._0x3db7f1);}function _0x31b7c7(_0x1d7bf4,_0x46f0f0,_0x16de53,_0x271a38){return _0x125cf4(_0x1d7bf4-0x27,_0x271a38-_0x14253d._0x16f329,_0x1d7bf4,_0x271a38-0x1b4);}return _0x4589b2[_0x31b7c7(_0x5f5ca6._0x572b8e,0x3bb,0x347,_0x5f5ca6._0x56e893)]>0x0?Math[_0x31b7c7(0x456,_0x5f5ca6._0x57e0cd,_0x5f5ca6._0x21cb6f,_0x5f5ca6._0x49f2e0)](_0x4589b2['completed']/_0x4589b2[_0x31b7c7(0x32d,0x3f2,0x34b,0x464)]*0x64)+'%':'0%';}function createReminderItems(_0x25f017){const _0xb0a4c9={_0x29b971:0xd8,_0x31cfb9:0x138,_0x2f6a14:0x18b},_0x5926d3={_0x38f177:0x2a4,_0x4627b9:0x28};function _0x515e4f(_0x1ccd61,_0xba23c1,_0x56054a,_0x3db279){return _0x5b337b(_0xba23c1- -_0x5926d3._0x38f177,_0x56054a,_0x56054a-_0x5926d3._0x4627b9,_0x3db279-0x164);}function _0x255e3c(_0x26fe88,_0x2c1918,_0x1b579a,_0xa4ccdf){return _0x5b337b(_0x2c1918-_0xb0a4c9._0x29b971,_0xa4ccdf,_0x1b579a-_0xb0a4c9._0x31cfb9,_0xa4ccdf-_0xb0a4c9._0x2f6a14);}return _0x25f017['map'](_0xf4eb42=>({'content':_0xf4eb42[_0x515e4f(0x15f,0x99,-0x20,-0xb8)],'status':_0xf4eb42[_0x515e4f(0x2c8,0x15f,0x5d,0x31)],'id':_0xf4eb42['id']}));}function createStructuredResult(_0x5e509b,_0x27ec0a,_0x313fcf,_0x1ef54e){const _0x36e006={_0x190fb8:0xa2,_0xed74fc:0x68},_0x4c43a3={_0x42e89e:0x155,_0x5686f2:0x1e4,_0x1d9a40:0x1b3},_0x679ed2={_0x562939:0x3cd,_0x512e5e:0x105};function _0x31c09a(_0x5205aa,_0x4875a9,_0x4f1abe,_0xa5b734){return _0x5b337b(_0xa5b734- -_0x679ed2._0x562939,_0x4f1abe,_0x4f1abe-0x64,_0xa5b734-_0x679ed2._0x512e5e);}function _0x5ee096(_0x46e4ba,_0x4310dd,_0x33db71,_0x2fbcc8){return _0x5b337b(_0x46e4ba- -_0x4c43a3._0x42e89e,_0x2fbcc8,_0x33db71-_0x4c43a3._0x5686f2,_0x2fbcc8-_0x4c43a3._0x1d9a40);}return{'allCompleted':_0x1ef54e,'items':_0x27ec0a['map'](_0x127175=>({'id':_0x127175['id'],'content':_0x127175[_0x31c09a(-0x77,-0xbd,0xc1,-0x90)],'status':_0x127175[_0x31c09a(-0x13b,0x3c,0x13f,0x36)],'priority':_0x127175['priority'],'createdAt':_0x127175[_0x31c09a(0x59,0xae,0x77,0xf2)]})),'progress':createStatsProgress(_0x313fcf),'recentChanges':!![],'sessionId':_0x5e509b,'stats':_0x313fcf,'todosWritten':_0x27ec0a[_0x31c09a(-_0x36e006._0x190fb8,0x12e,-_0x36e006._0xed74fc,0xb5)]};}function createOutputText(_0x50c311,_0x41dd0b){const _0xe76c6f={_0x309e90:0xd1,_0x26bf2e:0x213,_0x590a6c:0x1b6,_0x26290b:0x2bf,_0x1c682b:0xe3,_0x362c99:0x1a5,_0x972c27:0x33f,_0x56c07a:0x1bf,_0x651ebe:0x372},_0x4e671d={_0x3436b2:0xa2,_0x7a2cb:0x136},_0x31ff0a={_0x22cf62:0x104},_0x3246ec=JSON[_0x145e89(0x4ea,0x322,0x4fc,0x466)](createReminderItems(_0x50c311));function _0x145e89(_0x465197,_0x44f473,_0x23fbf3,_0x2d1691){return _0x5b337b(_0x2d1691- -0xc3,_0x23fbf3,_0x23fbf3-0x18d,_0x2d1691-_0x31ff0a._0x22cf62);}function _0x3b7281(_0x1d96d7,_0x1f55d6,_0x8523a4,_0x1e997f){return _0x125cf4(_0x1d96d7-0x1dc,_0x1d96d7-_0x4e671d._0x3436b2,_0x8523a4,_0x1e997f-_0x4e671d._0x7a2cb);}if(_0x41dd0b)return _0x145e89(_0xe76c6f._0x309e90,0x29,_0xe76c6f._0x26bf2e,_0xe76c6f._0x590a6c)+_0x50c311['length']+_0x3b7281(-0x21c,-0x8a,-0x367,-_0xe76c6f._0x26290b)+_0x3246ec+_0x3b7281(-0x35,0xef,_0xe76c6f._0x1c682b,-_0xe76c6f._0x362c99);return _0x145e89(0x19a,_0xe76c6f._0x972c27,0x245,_0xe76c6f._0x56c07a)+_0x3246ec+_0x145e89(0x474,0x49f,0x3fe,_0xe76c6f._0x651ebe);}function createTodoWriteTool(_0x3cc3df=new TodoStore()){const _0x3e5452={_0x10d40c:0x29,_0x408496:0x5a,_0x4359df:0xc7,_0x31ebc3:0xe,_0x14250d:0x60c,_0x58d949:0x2f2,_0x3a255d:0x5d4,_0x43016a:0x3c2,_0x4eb9ee:0x498,_0x28e5c7:0x20d,_0x2a030f:0x16e,_0x34d50a:0x17b,_0x46dd7e:0x86,_0x8de01f:0x2ed,_0xe8f7ba:0x28f,_0x4ae7f7:0x17b,_0x167242:0x545,_0x49579a:0x60f,_0x44a800:0x52c,_0x25aff2:0x3d8,_0xe0cd70:0x24e,_0x2c10f5:0x166},_0x337b16={_0x36d406:0x1ba,_0x6afeb7:0x29f,_0x1956bc:0x3df,_0x423086:0x3a2,_0x400e55:0x1dc,_0x460203:0x35f,_0x1c779f:0x2f6,_0x309b27:0x673,_0x6dcbd5:0x55d,_0x1725fd:0xd1,_0x23b737:0x66,_0x1809f6:0x18,_0x1ac6f3:0xff,_0x37a8af:0x26},_0x2bd372={_0x2b3553:0x125,_0x4dc231:0x535,_0x4da5e6:0x1f1},_0x2acce6={_0x45fa08:0xe9,_0xb9012f:0x80},_0x51edc4={_0x16429e:0xd5,_0x36d257:0x5a7},_0x5bed88={_0x3def37:0x4a};function _0x248293(_0x5d3dca,_0x368566,_0x3688ce,_0x1535ee){return _0x125cf4(_0x5d3dca-_0x5bed88._0x3def37,_0x1535ee-0x1f6,_0x5d3dca,_0x1535ee-0xfc);}function _0x3f00ee(_0x54df5e,_0x34bf0b,_0x13c742,_0x33e249){return _0x125cf4(_0x54df5e-_0x51edc4._0x16429e,_0x13c742-_0x51edc4._0x36d257,_0x54df5e,_0x33e249-0x18b);}return defineTool({'name':_0x248293(-_0x3e5452._0x10d40c,0x134,0xf7,-_0x3e5452._0x408496),'permissionClass':'read','description':_0x248293(_0x3e5452._0x4359df,0x12b,-_0x3e5452._0x31ebc3,-0x28),'inputSchema':{'type':_0x3f00ee(_0x3e5452._0x14250d,0x389,0x47b,_0x3e5452._0x58d949),'properties':{'todos':{'type':'array','items':{'type':_0x3f00ee(_0x3e5452._0x3a255d,_0x3e5452._0x43016a,0x47b,_0x3e5452._0x4eb9ee),'properties':{'content':{'type':_0x248293(0x55,_0x3e5452._0x28e5c7,_0x3e5452._0x2a030f,_0x3e5452._0x34d50a)},'status':{'type':_0x248293(0x153,0x242,_0x3e5452._0x46dd7e,_0x3e5452._0x34d50a)},'priority':{'type':_0x248293(0x170,_0x3e5452._0x8de01f,0x216,_0x3e5452._0x34d50a)},'id':{'type':_0x248293(0x235,0x191,_0x3e5452._0xe8f7ba,_0x3e5452._0x4ae7f7)},'createdAt':{'type':_0x3f00ee(_0x3e5452._0x167242,_0x3e5452._0x49579a,_0x3e5452._0x44a800,0x5cf)}},'required':[_0x3f00ee(0x36e,0x32f,_0x3e5452._0x25aff2,0x501),'status',_0x248293(0x27a,0x269,_0x3e5452._0xe0cd70,0x122),'id']}}},'required':[_0x248293(-0x25e,-0x3b,-_0x3e5452._0x2c10f5,-0xd6)]},async *'execute'(_0x3259e1,_0x416ddc){const _0x4d5007=_0x3259e1;validateTodos(_0x4d5007);function _0x904cf(_0x45e0a6,_0x2da6a0,_0x744266,_0x565b0a){return _0x248293(_0x744266,_0x2da6a0-_0x2acce6._0x45fa08,_0x744266-_0x2acce6._0xb9012f,_0x565b0a-0x345);}const _0x12b2b0=_0x416ddc[_0xa60747(-0x2cd,-_0x337b16._0x36d406,-0x1e4,-_0x337b16._0x6afeb7)]||_0x904cf(0x397,0x393,_0x337b16._0x1956bc,0x384),_0x17119b=new Date()[_0x904cf(0x28e,_0x337b16._0x423086,_0x337b16._0x400e55,_0x337b16._0x460203)](),_0x137593=_0x4d5007[_0xa60747(-_0x337b16._0x1c779f,-0x3cf,-0x25a,-0x36d)]['map'](_0x4efdf1=>({'id':_0x4efdf1['id'],'content':_0x4efdf1[_0x904cf(0x4e9,0x49e,0x241,0x36c)],'status':_0x4efdf1[_0x904cf(0x2c4,0x4ca,0x52a,0x432)],'priority':_0x4efdf1['priority'],'sessionId':_0x12b2b0,'createdAt':_0x4efdf1[_0x904cf(0x603,0x49f,0x5d3,0x4ee)]||_0x17119b,'updatedAt':_0x17119b}));_0x3cc3df[_0x904cf(0x3e1,_0x337b16._0x309b27,0x5f2,_0x337b16._0x6dcbd5)](_0x12b2b0,_0x137593);function _0xa60747(_0x593cdf,_0x33c9da,_0x2a9eeb,_0x467916){return _0x3f00ee(_0x33c9da,_0x33c9da-_0x2bd372._0x2b3553,_0x2a9eeb- -_0x2bd372._0x4dc231,_0x467916-_0x2bd372._0x4da5e6);}const _0xfa0a02=_0x3cc3df[_0xa60747(-0x1ae,-0x275,-0x164,-_0x337b16._0x1725fd)](_0x12b2b0),_0x24ae66=_0x137593[_0xa60747(-_0x337b16._0x23b737,-0x22,-_0x337b16._0x1809f6,0xa7)]>0x0&&_0x137593[_0xa60747(-0x8a,_0x337b16._0x1ac6f3,-_0x337b16._0x37a8af,-0x63)](_0x2c0c23=>_0x2c0c23[_0x904cf(0x335,0x587,0x4a8,0x432)]===_0x904cf(0x5b4,0x3a2,0x381,0x459));return createToolOutput(createOutputText(_0x137593,_0x24ae66),createStructuredResult(_0x12b2b0,_0x137593,_0xfa0a02,_0x24ae66));}});}import{mkdir as _0x457ee9,writeFile as _0xc82807}from'fs/promises';import*as _0x13b5cd from'path';function sanitizeFileName(_0x32b7cb){return _0x32b7cb['replace'](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x46de9e,_0x58814b){const _0x4ee67d={_0x3e9bfb:0x139,_0x45b14c:0x291,_0x4961d6:0x476,_0x270a11:0x596,_0x4699fa:0x111,_0x30134d:0x16b,_0x4ce0c1:0xfb,_0x4b0628:0x254,_0x294387:0x691,_0x146d1a:0x62a,_0x9b36ba:0x10e,_0x1282a8:0x25,_0x9cda81:0x736,_0x2c17a0:0x6d2,_0x3bfa18:0x668,_0x4347e9:0x623,_0x4f1a92:0x1a8,_0x5b2197:0x1a5,_0x14cb6d:0x66a,_0x126ad5:0x5f0,_0x5df62e:0xb3,_0x3aad7e:0x1b3,_0x1de25c:0x17f,_0x536eba:0x208,_0x17692b:0x508,_0x1b0a24:0x6da,_0x35fd93:0x6db,_0x4fd7bd:0x38c,_0x32fcb0:0x577,_0x3031aa:0x67f,_0xb1fe13:0x63d,_0x39deb6:0x71a,_0x4a1b91:0x691,_0x1333a9:0x6c3,_0x38a02c:0xd5,_0x5e311c:0x169,_0x25d500:0x697,_0x15f22c:0x9d,_0x532cf9:0x4b5,_0x44ae80:0x7e6,_0x1a53ca:0x6db,_0x58dfaf:0x587,_0x260393:0x6da,_0x193538:0x54a,_0x563194:0x56d,_0xd06643:0x18f,_0x3d9875:0xf,_0x3ed821:0x48},_0x47b067={_0xfa823e:0x1a6},_0x470c4f={_0x82b50f:0x240,_0x1e2d33:0x5a,_0x5c172c:0x1b9};function _0x1d7399(_0x3a4a7a,_0x486cd6,_0x350edc,_0x27d24e){return _0x5b337b(_0x486cd6-_0x470c4f._0x82b50f,_0x3a4a7a,_0x350edc-_0x470c4f._0x1e2d33,_0x27d24e-_0x470c4f._0x5c172c);}const {maxBytes:_0xdbed7b,sessionDir:_0x48abb1}=_0x58814b;if(!_0x46de9e[_0x3b5a7c(-_0x4ee67d._0x3e9bfb,-0x9c,-0x1fe,-_0x4ee67d._0x45b14c)]||Buffer['byteLength'](_0x46de9e[_0x1d7399(_0x4ee67d._0x4961d6,0x4f4,0x4c2,_0x4ee67d._0x270a11)],_0x3b5a7c(-_0x4ee67d._0x4699fa,-0xba,-0x64,-0x8))<=_0xdbed7b)return _0x46de9e;const _0x590bb5=Buffer[_0x3b5a7c(-0x28d,-_0x4ee67d._0x30134d,-_0x4ee67d._0x4ce0c1,-0x8c)](_0x46de9e[_0x3b5a7c(-_0x4ee67d._0x4b0628,-0x317,-0x1fe,-0x101)],_0x3b5a7c(-0xc9,-0xac,-0x64,0x121));function _0x3b5a7c(_0x3b5a90,_0x29d864,_0x12ad58,_0x4b411d){return _0x125cf4(_0x3b5a90-_0x47b067._0xfa823e,_0x12ad58-0x5a,_0x3b5a90,_0x4b411d-0xb2);}if(!_0x48abb1){const _0xb4bca5=_0x46de9e['output'][_0x1d7399(0x50d,_0x4ee67d._0x294387,_0x4ee67d._0x146d1a,0x59c)](0x0,_0xdbed7b);return{..._0x46de9e,'output':_0xb4bca5+(_0x3b5a7c(0xc7,_0x4ee67d._0x9b36ba,_0x4ee67d._0x1282a8,-0x59)+_0xdbed7b+_0x1d7399(_0x4ee67d._0x9cda81,0x6c0,0x65f,0x70d)+_0x590bb5+_0x1d7399(_0x4ee67d._0x2c17a0,_0x4ee67d._0x3bfa18,_0x4ee67d._0x4347e9,0x61c)),'meta':{..._0x46de9e[_0x3b5a7c(-0x30d,-0x139,-_0x4ee67d._0x4f1a92,-_0x4ee67d._0x5b2197)],'truncated':!![],'originalBytes':_0x590bb5,'transforms':[..._0x46de9e[_0x1d7399(_0x4ee67d._0x14cb6d,0x54a,_0x4ee67d._0x126ad5,0x3be)]['transforms'],_0x3b5a7c(-_0x4ee67d._0x5df62e,-_0x4ee67d._0x3aad7e,-_0x4ee67d._0x1de25c,-0x2e1)]}};}const _0x3ace5b=_0x46de9e[_0x3b5a7c(-0x227,-0x358,-_0x4ee67d._0x536eba,-0x30d)]+'_'+sanitizeFileName(_0x46de9e[_0x1d7399(0x408,_0x4ee67d._0x17692b,0x60c,0x45a)])+'.log',_0x5e8926=_0x13b5cd[_0x1d7399(0x6fa,_0x4ee67d._0x1b0a24,_0x4ee67d._0x35fd93,0x673)](_0x48abb1,_0x3ace5b);await _0x457ee9(_0x48abb1,{'recursive':!![]}),await _0xc82807(_0x5e8926,_0x46de9e['output'],'utf8');let _0x27af76=_0x46de9e[_0x1d7399(0x54b,0x4f4,_0x4ee67d._0x4fd7bd,_0x4ee67d._0x32fcb0)][_0x3b5a7c(0x31,0x4c,-0x61,0xeb)](0x0,_0xdbed7b);const _0x293c26=_0x27af76[_0x1d7399(0x59f,0x72d,_0x4ee67d._0x3031aa,_0x4ee67d._0xb1fe13)]('\x0a');_0x293c26>_0xdbed7b*0.5&&(_0x27af76=_0x27af76[_0x1d7399(_0x4ee67d._0x39deb6,_0x4ee67d._0x4a1b91,0x75c,_0x4ee67d._0x1333a9)](0x0,_0x293c26));const _0x8bb71a=['',_0x3b5a7c(-_0x4ee67d._0x38a02c,_0x4ee67d._0x5e311c,0x4f,-0x62),_0x1d7399(_0x4ee67d._0x25d500,0x69b,0x583,0x603)+_0xdbed7b+'\x20bytes\x20(total:\x20'+_0x590bb5+_0x3b5a7c(-0x212,_0x4ee67d._0x15f22c,-0x87,-0x99),'Full\x20output\x20saved\x20to:\x20'+_0x5e8926,_0x1d7399(_0x4ee67d._0x532cf9,0x4a8,0x392,0x340),_0x1d7399(0x695,0x67f,_0x4ee67d._0x44ae80,_0x4ee67d._0x1a53ca)][_0x1d7399(_0x4ee67d._0x58dfaf,_0x4ee67d._0x260393,0x646,0x7f5)]('\x0a');return{..._0x46de9e,'output':_0x27af76+_0x8bb71a,'meta':{..._0x46de9e['meta'],'truncated':!![],'originalBytes':_0x590bb5,'transforms':[..._0x46de9e[_0x1d7399(0x4bb,_0x4ee67d._0x193538,0x480,0x578)][_0x1d7399(_0x4ee67d._0x563194,0x60a,0x6c8,0x50d)],_0x3b5a7c(-_0x4ee67d._0xd06643,_0x4ee67d._0x3d9875,-0x17f,-_0x4ee67d._0x3ed821)]}};}function createUpdateTopicTool(){const _0x3aad3e={_0x280487:0x1a1,_0x3555bd:0x113,_0x487427:0x330,_0x59fb57:0x20c,_0x972a36:0xbb,_0x2cf038:0xc5,_0x3995bb:0xea,_0x1d570c:0xa1,_0x910431:0x1ba,_0x226efa:0x28b,_0x244e6b:0x397},_0x4d4ff7={_0xbba2cd:0x6a0,_0x9cb25f:0x49,_0x88ca17:0x22c,_0x5637d1:0x264,_0x5ecf95:0x104,_0x25e4ee:0xb3,_0x392fbc:0x16e,_0x4f073c:0x59,_0x3aea29:0x48e,_0x483d49:0x2d6,_0x53f2eb:0x568,_0x2dacc6:0x4e1,_0x3534d2:0x52d,_0x2a8eaa:0x49b,_0x57cebe:0x65b,_0x477acd:0x4be,_0x16b6c3:0x3c3},_0xf46e74={_0x340e15:0xd};function _0x69e215(_0x5d0dab,_0x108b82,_0xb8709c,_0x48b1ae){return _0x5b337b(_0xb8709c- -0x2f6,_0x48b1ae,_0xb8709c-_0xf46e74._0x340e15,_0x48b1ae-0x152);}function _0x47b2b8(_0x348009,_0x196ddb,_0x384483,_0x3c175f){return _0x5b337b(_0x3c175f- -0x557,_0x196ddb,_0x384483-0x1c1,_0x3c175f-0x152);}return defineTool({'name':_0x69e215(-0xac,-_0x3aad3e._0x280487,-0x59,_0x3aad3e._0x3555bd),'permissionClass':_0x47b2b8(-_0x3aad3e._0x487427,-0x344,-0x15f,-_0x3aad3e._0x59fb57),'description':_0x69e215(0xec,0x6a,_0x3aad3e._0x972a36,_0x3aad3e._0x2cf038),'inputSchema':{'type':_0x69e215(-0x38,0x161,_0x3aad3e._0x3995bb,0x15a),'properties':{'topic':{'type':_0x69e215(0x221,_0x3aad3e._0x1d570c,0x19b,_0x3aad3e._0x910431)}},'required':[_0x47b2b8(-_0x3aad3e._0x226efa,-0x15c,-_0x3aad3e._0x244e6b,-0x21f)]},async *'execute'(_0x352e8c,_0x2c5f3d){const _0x485494={_0x3ffd0f:0x1e6},_0x38f67b={_0x4f8580:0x12a,_0x523e66:0x656},{topic:_0x165812}=_0x352e8c;function _0x5adc91(_0x53b879,_0x4a28e2,_0xf724b,_0x369d2f){return _0x47b2b8(_0x53b879-0x74,_0x53b879,_0xf724b-_0x38f67b._0x4f8580,_0xf724b-_0x38f67b._0x523e66);}if(typeof _0x165812!==_0x5adc91(_0x4d4ff7._0xbba2cd,0x44e,0x590,0x404)||_0x165812[_0x2c8716(-_0x4d4ff7._0x9cb25f,0x16d,0xd3,0xb0)]()[_0x2c8716(_0x4d4ff7._0x88ca17,_0x4d4ff7._0x5637d1,0x251,_0x4d4ff7._0x5ecf95)]===0x0)throw new ToolExecutionError(_0x2c8716(-_0x4d4ff7._0x25e4ee,-_0x4d4ff7._0x392fbc,0xbb,-_0x4d4ff7._0x4f073c),{'error':_0x5adc91(_0x4d4ff7._0x3aea29,0x2fb,0x438,_0x4d4ff7._0x483d49)});const _0x4c33ef=_0x165812[_0x5adc91(_0x4d4ff7._0x53f2eb,_0x4d4ff7._0x2dacc6,_0x4d4ff7._0x3534d2,_0x4d4ff7._0x2a8eaa)]();function _0x2c8716(_0x3976f4,_0x560d18,_0xede32f,_0x1ece9b){return _0x47b2b8(_0x3976f4-0x173,_0x560d18,_0xede32f-_0x485494._0x3ffd0f,_0x1ece9b-0x1d9);}return _0x2c5f3d['setTopic']?.(_0x4c33ef),yield createToolOutput(_0x5adc91(_0x4d4ff7._0x57cebe,_0x4d4ff7._0x477acd,0x4cd,_0x4d4ff7._0x16b6c3)+_0x4c33ef+'\x22',{'topic':_0x4c33ef}),void 0x0;}});}import{readFile as _0x3e2389,stat as _0x20cab9}from'fs/promises';import*as _0x4101a2 from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x5b337b(0x406,0x400,0x49e,0x277),'high',_0x5b337b(0x3f3,0x4ee,0x36a,0x3fa),_0x125cf4(-0x109,-0x1de,-0x19f,-0x9b)]),PNG_SIGNATURE=Buffer['from']([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x133721,_0x50aa33){const _0x4352de={_0x2a25e4:0x76,_0x588bcf:0x116,_0x153fef:0x2e3,_0x6d7657:0x15e,_0x45db23:0x34,_0x49d84e:0x1ef,_0x2aa7c0:0x6a,_0x523141:0x41d,_0x901ddb:0x294,_0x3920ef:0x35b,_0x2112ca:0x140,_0x388fb4:0x2c,_0x5ab32d:0x162,_0x4f9121:0x118,_0xc89d75:0x3e,_0x521cc8:0x4d8,_0x3dd012:0x4ea,_0x4156d4:0x478,_0x36a2ef:0x5b7,_0x753a75:0x43e,_0x23ab1c:0x4fa,_0x5781f2:0x422,_0xbae2b9:0x22c,_0x2e7777:0x248,_0xc420bc:0x6df,_0x370a41:0x236,_0x5d5c7a:0x772,_0x51f24c:0x61b,_0x188398:0x71e,_0xe450f:0x708,_0x259ed4:0x696,_0x2c169c:0x780,_0x3a338c:0x5b1,_0x2ed834:0x71c,_0x4608ee:0x676,_0x31daee:0x4e7,_0x45291f:0x4f6},_0x1bbf4f={_0x2be14c:0x10a,_0x3a4be1:0x388};function _0x537dd5(_0x261f18,_0x2e8f33,_0x66c9f6,_0x39a9a6){return _0x125cf4(_0x261f18-_0x1bbf4f._0x2be14c,_0x2e8f33-_0x1bbf4f._0x3a4be1,_0x66c9f6,_0x39a9a6-0xc7);}if(_0x133721[_0x537dd5(-_0x4352de._0x2a25e4,0xb5,_0x4352de._0x588bcf,0x103)](0x0,0x8)[_0x537dd5(0x2d6,_0x4352de._0x153fef,0x1f3,_0x4352de._0x6d7657)](PNG_SIGNATURE))return'image/png';if(_0x133721[0x0]===0xff&&_0x133721[0x1]===0xd8&&_0x133721[0x2]===0xff)return _0x248e28(0x708,0x6bc,0x739,0x807);const _0x98c2e9=_0x133721[_0x537dd5(0x102,0xb5,-_0x4352de._0x45db23,0x163)](0x0,0x6)['toString'](_0x537dd5(0x9c,0x118,_0x4352de._0x49d84e,_0x4352de._0x2aa7c0));if(_0x98c2e9===_0x248e28(0x5a4,0x6a7,0x46f,0x618)||_0x98c2e9==='GIF89a')return _0x537dd5(_0x4352de._0x523141,_0x4352de._0x901ddb,_0x4352de._0x3920ef,_0x4352de._0x2112ca);if(_0x133721[_0x537dd5(-_0x4352de._0x388fb4,0xb5,_0x4352de._0x5ab32d,0x2)](0x0,0x4)['toString'](_0x537dd5(0x2e,_0x4352de._0x4f9121,-_0x4352de._0xc89d75,0x13e))===_0x248e28(0x5da,0x619,_0x4352de._0x521cc8,_0x4352de._0x3dd012)&&_0x133721['subarray'](0x8,0xc)[_0x248e28(_0x4352de._0x4156d4,_0x4352de._0x36a2ef,_0x4352de._0x753a75,0x3e0)](_0x248e28(_0x4352de._0x23ab1c,0x556,0x683,_0x4352de._0x5781f2))===_0x537dd5(_0x4352de._0xbae2b9,0x264,_0x4352de._0x2e7777,0x23c))return'image/webp';const _0xe707c6=_0x4101a2['extname'](_0x50aa33)[_0x248e28(0x780,_0x4352de._0xc420bc,0x630,0x678)]();if(_0xe707c6===_0x537dd5(0x335,0x318,_0x4352de._0x370a41,0x382))return'image/png';if(_0xe707c6===_0x248e28(_0x4352de._0x5d5c7a,_0x4352de._0x51f24c,_0x4352de._0x188398,0x6d4)||_0xe707c6==='.jpeg')return _0x248e28(_0x4352de._0xe450f,_0x4352de._0x259ed4,_0x4352de._0x2c169c,_0x4352de._0x3a338c);function _0x248e28(_0xf83751,_0x3aba1d,_0x57130a,_0xb34bf6){return _0x125cf4(_0xf83751-0x63,_0xf83751-0x76a,_0x57130a,_0xb34bf6-0x1bd);}if(_0xe707c6===_0x248e28(0x765,0x676,0x779,_0x4352de._0x2ed834))return _0x248e28(_0x4352de._0x4608ee,0x7d6,0x537,0x627);if(_0xe707c6===_0x248e28(0x53e,_0x4352de._0x31daee,_0x4352de._0x45291f,0x4b9))return'image/webp';return void 0x0;}function normalizeDetail(_0x1798fc){const _0x540629={_0x408e5f:0x1f9,_0x30cfc1:0x10f,_0xd4188c:0x17d,_0x47674b:0x160,_0x195d70:0x8e,_0x26bf0d:0x179,_0x4bb89c:0xd0},_0x13d691={_0x51e8cc:0x49,_0x14e24e:0x14a},_0x257e5f={_0x2f291f:0xc7,_0x9d9a5d:0x88};function _0x110a17(_0x18265b,_0x577572,_0x421fae,_0x46cbe8){return _0x125cf4(_0x18265b-_0x257e5f._0x2f291f,_0x18265b-0x214,_0x46cbe8,_0x46cbe8-_0x257e5f._0x9d9a5d);}if(_0x1798fc===void 0x0)return void 0x0;function _0x5b9417(_0x507e34,_0x86aeaa,_0x50fe66,_0x3b3d01){return _0x125cf4(_0x507e34-_0x13d691._0x51e8cc,_0x3b3d01-_0x13d691._0x14e24e,_0x50fe66,_0x3b3d01-0x8f);}const _0x554537=_0x1798fc[_0x5b9417(-0x126,_0x540629._0x408e5f,_0x540629._0x30cfc1,0x6c)]()[_0x5b9417(_0x540629._0xd4188c,0x1bc,0x1e6,_0x540629._0x47674b)]();if(!SUPPORTED_DETAILS[_0x5b9417(0xad,-0x153,_0x540629._0x195d70,-0xa)](_0x554537))throw new ToolExecutionError(_0x5b9417(0xc2,_0x540629._0x26bf0d,-0x7c,_0x540629._0x4bb89c)+_0x1798fc,{'detail':_0x1798fc});return _0x554537;}function createViewFileTool(_0x1e4b2f={}){const _0x12dd22={_0x486e63:0x1ac,_0xf49855:0xa3,_0x17dfd9:0x31f,_0x2c855c:0xe6,_0x19b5c7:0xa1,_0x14d544:0xf2,_0x19fb58:0x74,_0x2693e0:0x179,_0x93c45e:0x8c,_0x386b8c:0x52,_0x417c75:0xca,_0x25c35d:0x77,_0x4259a2:0x254,_0x469971:0x3f,_0x392c82:0x16b,_0x2d9121:0x21b,_0x484cfb:0x1c6,_0x2f824e:0x2bf,_0x5cc4a1:0x2b3},_0x3c974a={_0x31b651:0x1f4,_0x273c6d:0x2aa,_0xf8e241:0x94,_0xde2640:0x1fa,_0x140f4d:0x1be,_0x13b2ce:0x12d,_0x1dda69:0x1cd,_0x232dbd:0x313,_0x1a3286:0x286,_0x1c88e9:0x1ef,_0xe502ba:0x33c,_0x256c67:0x1b1,_0x5ca5b4:0x19f,_0x505120:0x309,_0x577e3e:0x1dc,_0x428649:0x184,_0x27036c:0x1b6,_0x23084c:0xe1,_0x2f0763:0xed,_0x3c9e47:0x8d,_0x4593ee:0x1f7,_0x17c544:0xdf,_0x5c324e:0x179,_0x3dc25e:0x3ff,_0x12668d:0x147,_0x56a1c2:0x2cd,_0x204330:0x29c,_0x12b6d5:0x346,_0x3eea79:0x209,_0x5a3435:0x28d,_0x33f548:0x45c,_0x332fca:0x396,_0xee3d6a:0x33,_0x39f18d:0x22d,_0x3d5290:0x420,_0x16ed19:0x286,_0x57eae6:0x2aa,_0x368628:0x8b,_0x5d6368:0x204,_0x240e83:0xab,_0x516f18:0x3},_0x4931aa={_0x40b1c7:0x213,_0x3f1ce9:0x1f},_0x4771d2={_0xec87ce:0x10e};function _0x17af4c(_0x4d27e1,_0xa38842,_0x5a127e,_0x4d220c){return _0x125cf4(_0x4d27e1-_0x4771d2._0xec87ce,_0x4d220c-0x1f2,_0x4d27e1,_0x4d220c-0x1b6);}function _0x2f7c2f(_0x8648e1,_0x363896,_0x355645,_0x298c4b){return _0x125cf4(_0x8648e1-0x1ca,_0x8648e1-_0x4931aa._0x40b1c7,_0x355645,_0x298c4b-_0x4931aa._0x3f1ce9);}const _0x1d5d74=_0x4101a2[_0x2f7c2f(_0x12dd22._0x486e63,_0x12dd22._0xf49855,0x282,0x2ad)](_0x1e4b2f['defaultCwd']??process[_0x2f7c2f(0x21e,_0x12dd22._0x17dfd9,_0x12dd22._0x2c855c,0x118)]()),_0x2dcffe=_0x1e4b2f['allowedDirs']??[],_0x570e22=_0x1e4b2f[_0x2f7c2f(-_0x12dd22._0x19b5c7,-_0x12dd22._0x14d544,_0x12dd22._0x19fb58,-_0x12dd22._0x2693e0)]??DEFAULT_MAX_BYTES,_0xa5c542=_0x1e4b2f['name']??_0x17af4c(-0xc5,-_0x12dd22._0x93c45e,0xe,-0xe0);return defineTool({'name':_0xa5c542,'permissionClass':_0x2f7c2f(_0x12dd22._0x386b8c,0x1ac,-_0x12dd22._0x417c75,_0x12dd22._0x25c35d),'description':_0x17af4c(_0x12dd22._0x4259a2,0x2c,_0x12dd22._0x469971,_0x12dd22._0x392c82),'inputSchema':{'type':'object','properties':{'path':{'type':_0x17af4c(0xcf,_0x12dd22._0x2d9121,0x2d9,0x177)},'detail':{'type':'string'}},'required':[_0x17af4c(_0x12dd22._0x484cfb,_0x12dd22._0x2f824e,_0x12dd22._0x5cc4a1,0x215)]},async *'execute'(_0x2c5d1b){const _0x408b2f={_0x4cc578:0xe3,_0x2e00be:0x1c0},_0x319da3={_0x64dcc0:0x74,_0xc05470:0x1dc},_0x49a12c=resolveAllowedPath(_0x1d5d74,_0x2dcffe,_0x2c5d1b[_0x2ec617(_0x3c974a._0x31b651,0x2f2,0x17c,_0x3c974a._0x273c6d)]);await assertWorkspaceFile(_0x49a12c);const _0x271b49=await _0x20cab9(_0x49a12c);if(_0x271b49[_0x2ec617(-_0x3c974a._0xf8e241,0x129,0xe0,0xd)]>_0x570e22)throw new ToolExecutionError(_0x2ec617(0xec,0x8d,_0x3c974a._0xde2640,_0x3c974a._0x140f4d)+_0x2c5d1b['path'],{'path':_0x2c5d1b['path'],'maxBytes':_0x570e22,'size':_0x271b49[_0x2ec617(-_0x3c974a._0x13b2ce,0x181,0x7a,0xd)]});const _0x503f7d=await _0x3e2389(_0x49a12c),_0x18da63=detectImageMediaType(_0x503f7d,_0x49a12c);if(!_0x18da63)throw new ToolExecutionError(_0x2ec617(0xe4,0x29,0x297,0x118)+_0x2c5d1b['path'],{'path':_0x2c5d1b['path'],'supported':[_0x2ec617(0x3e0,0x147,0x195,0x282),'.jpeg','.jpg',_0x159a0c(_0x3c974a._0x1dda69,_0x3c974a._0x232dbd,_0x3c974a._0x1a3286,_0x3c974a._0x1c88e9),'.webp']});function _0x2ec617(_0x8de59f,_0x4c5b73,_0x179590,_0x55b5a5){return _0x2f7c2f(_0x55b5a5-_0x319da3._0x64dcc0,_0x4c5b73-_0x319da3._0xc05470,_0x4c5b73,_0x55b5a5-0x1b0);}const _0x5a8f68=normalizeDetail(_0x2c5d1b[_0x159a0c(_0x3c974a._0xe502ba,0x188,_0x3c974a._0x256c67,0x289)]),_0x3f2197=['Viewed\x20image\x20file:\x20'+_0x2c5d1b[_0x159a0c(0x202,_0x3c974a._0x5ca5b4,0x319,_0x3c974a._0x505120)],_0x159a0c(_0x3c974a._0x577e3e,0x51,_0x3c974a._0x428649,_0x3c974a._0x27036c)+_0x18da63,'Size:\x20'+_0x271b49[_0x2ec617(_0x3c974a._0x23084c,0xf3,_0x3c974a._0x2f0763,0xd)]+_0x159a0c(_0x3c974a._0x3c9e47,0x2b6,_0x3c974a._0x4593ee,0x18b)]['concat'](_0x5a8f68?[_0x159a0c(0x24f,0x53,_0x3c974a._0x17c544,_0x3c974a._0x5c324e)+_0x5a8f68]:[])[_0x159a0c(0x344,0x1e2,0x284,_0x3c974a._0x3dc25e)]('\x0a'),_0x3a7daa=[{'type':_0x159a0c(_0x3c974a._0x12668d,0x2f6,_0x3c974a._0x56a1c2,_0x3c974a._0x204330),'source':{'type':_0x2ec617(_0x3c974a._0x12b6d5,0x419,_0x3c974a._0x3eea79,_0x3c974a._0x5a3435),'media_type':_0x18da63,'data':_0x503f7d['toString'](_0x159a0c(_0x3c974a._0x33f548,0x458,0x2fc,_0x3c974a._0x332fca))}},{'type':_0x2ec617(0x66,-_0x3c974a._0xee3d6a,_0x3c974a._0x39f18d,0x123),'text':_0x3f2197}];yield createToolOutput(_0x3f2197,{'path':_0x2c5d1b[_0x2ec617(_0x3c974a._0x3d5290,_0x3c974a._0x16ed19,0x22e,_0x3c974a._0x57eae6)],'resolvedPath':_0x49a12c,'created':_0x271b49['birthtime'][_0x2ec617(_0x3c974a._0x368628,0x1f6,_0x3c974a._0x5d6368,_0x3c974a._0x240e83)](),'modified':_0x271b49[_0x159a0c(-0x42,-_0x3c974a._0x516f18,0xd1,0x17a)]['toISOString'](),'size':_0x271b49[_0x2ec617(-0xa0,0x80,-0x5d,0xd)],'mimeType':_0x18da63,'encoding':'base64',..._0x5a8f68?{'detail':_0x5a8f68}:{}},_0x3a7daa);function _0x159a0c(_0x22b0d,_0x3c25e1,_0x6eecb4,_0x54b05b){return _0x2f7c2f(_0x6eecb4-_0x408b2f._0x4cc578,_0x3c25e1-_0x408b2f._0x2e00be,_0x54b05b,_0x54b05b-0x167);}return void 0x0;}});}import _0xcf0bb0 from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x3aba2b=>{const _0x34170c={_0x457e6c:0x279,_0x29bf00:0x129,_0x51a0b0:0x237,_0x29616e:0xf5},_0x55d9d4={_0xb393b0:0x1d9,_0x305487:0x20};function _0x5233c0(_0x2fc154,_0xd86443,_0x3c5305,_0x52b428){return _0x125cf4(_0x2fc154-0xfd,_0x52b428-_0x55d9d4._0xb393b0,_0xd86443,_0x52b428-_0x55d9d4._0x305487);}const {lookup:_0x195891}=await import(_0x5233c0(-_0x34170c._0x457e6c,-_0x34170c._0x29bf00,-_0x34170c._0x51a0b0,-_0x34170c._0x29616e));return _0x195891(_0x3aba2b,{'all':!![],'verbatim':!![]});};function _0x5504(_0x7be814,_0x5105ec){_0x7be814=_0x7be814-0x8a;const _0x32bbdc=_0x32bb();let _0x550438=_0x32bbdc[_0x7be814];if(_0x5504['KVMBdc']===undefined){var _0x52c5db=function(_0x2c60f8){const _0x1e9f7b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x213e80='',_0x304567='';for(let _0x5dc97f=0x0,_0x328c23,_0xd9204d,_0x4581e5=0x0;_0xd9204d=_0x2c60f8['charAt'](_0x4581e5++);~_0xd9204d&&(_0x328c23=_0x5dc97f%0x4?_0x328c23*0x40+_0xd9204d:_0xd9204d,_0x5dc97f++%0x4)?_0x213e80+=String['fromCharCode'](0xff&_0x328c23>>(-0x2*_0x5dc97f&0x6)):0x0){_0xd9204d=_0x1e9f7b['indexOf'](_0xd9204d);}for(let _0x5cbcde=0x0,_0xdac375=_0x213e80['length'];_0x5cbcde<_0xdac375;_0x5cbcde++){_0x304567+='%'+('00'+_0x213e80['charCodeAt'](_0x5cbcde)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x304567);};_0x5504['VBpeDd']=_0x52c5db,_0x5504['TzWvKs']={},_0x5504['KVMBdc']=!![];}const _0x21f50b=_0x32bbdc[0x0],_0x4babe7=_0x7be814+_0x21f50b,_0x422c97=_0x5504['TzWvKs'][_0x4babe7];return!_0x422c97?(_0x550438=_0x5504['VBpeDd'](_0x550438),_0x5504['TzWvKs'][_0x4babe7]=_0x550438):_0x550438=_0x422c97,_0x550438;}function ipv4ToInt(_0x26b6de){const _0x521134={_0x29592b:0x173,_0x14d546:0x236,_0x49e765:0xd7,_0x458e67:0x32,_0x4ffdab:0x2d,_0x3875dd:0x38f},_0x7f347={_0x5e925f:0x24d},_0x40a92c={_0x35750:0xd9,_0x8c9502:0x1f3},_0x54f5c2=_0x26b6de[_0x5b4ff8(0x13,0x3a,_0x521134._0x29592b,0x16b)]('.');if(_0x54f5c2[_0x18e78b(_0x521134._0x14d546,_0x521134._0x49e765,-_0x521134._0x458e67,-_0x521134._0x4ffdab)]!==0x4)return null;function _0x18e78b(_0x383b5d,_0x51668b,_0x3d594c,_0x2f2333){return _0x5b337b(_0x51668b- -0x3ab,_0x2f2333,_0x3d594c-_0x40a92c._0x35750,_0x2f2333-_0x40a92c._0x8c9502);}let _0x3f607a=0x0;function _0x5b4ff8(_0x14e74e,_0x292d9f,_0x46c832,_0x3b5ab6){return _0x5b337b(_0x14e74e- -_0x7f347._0x5e925f,_0x3b5ab6,_0x46c832-0xae,_0x3b5ab6-0xe3);}for(const _0x56b5b3 of _0x54f5c2){if(!/^\d{1,3}$/[_0x5b4ff8(0x21c,0x269,_0x521134._0x3875dd,0x23f)](_0x56b5b3))return null;const _0x332e02=Number(_0x56b5b3);if(_0x332e02>0xff)return null;_0x3f607a=_0x3f607a*0x100+_0x332e02;}return _0x3f607a>>>0x0;}function isBlockedIpv4(_0x2281d9){const _0x51e553={_0x96c4b3:0xd0,_0xb9e0ba:0x11,_0x3d968a:0x90,_0x315c71:0x1b6,_0x40de51:0x1c6,_0x34b12b:0x3be,_0x5cbebc:0x29b,_0x2f4a93:0x18f,_0x37c6ac:0x18e,_0x2eeddf:0x174,_0x5c13bd:0x244,_0x388735:0x251,_0x546912:0x1c3,_0x25354e:0x1ae,_0x4b5781:0x131,_0x456270:0x23a,_0x3a7d8f:0x60,_0x137350:0x1db,_0x27059e:0xcc,_0x294abc:0x17,_0x3c1104:0x58,_0xd080f5:0x19f},_0x118671={_0x4adab5:0x44,_0x4f73af:0x2c0,_0x4e73a4:0x95},_0x558750={_0x3c8c27:0x278};function _0x412ee6(_0x3c971f,_0x43c21c,_0xe3dc1b,_0x490f06){return _0x125cf4(_0x3c971f-0xaf,_0xe3dc1b-_0x558750._0x3c8c27,_0x3c971f,_0x490f06-0x38);}const _0xf94306=ipv4ToInt(_0x2281d9);if(_0xf94306===null)return!![];const _0x22e131=(_0x16f065,_0x166f8d)=>{const _0x18eea9=ipv4ToInt(_0x16f065);if(_0x18eea9===null)return![];const _0x450ff5=_0x166f8d===0x0?0x0:0xffffffff<<0x20-_0x166f8d>>>0x0;return(_0xf94306&_0x450ff5)===(_0x18eea9&_0x450ff5);};function _0x3d214a(_0x2e85c6,_0x208b8f,_0x27ab12,_0x5a21e7){return _0x125cf4(_0x2e85c6-_0x118671._0x4adab5,_0x208b8f-_0x118671._0x4f73af,_0x27ab12,_0x5a21e7-_0x118671._0x4e73a4);}return _0x22e131(_0x412ee6(-0x10e,-_0x51e553._0x96c4b3,-0x76,-_0x51e553._0xb9e0ba),0x8)||_0x22e131(_0x412ee6(0xaa,-0x18a,-0x82,-0x90),0x8)||_0x22e131(_0x3d214a(-0x47,_0x51e553._0x3d968a,_0x51e553._0x315c71,_0x51e553._0x40de51),0xa)||_0x22e131(_0x3d214a(_0x51e553._0x34b12b,_0x51e553._0x5cbebc,_0x51e553._0x2f4a93,_0x51e553._0x37c6ac),0x8)||_0x22e131(_0x412ee6(_0x51e553._0x2eeddf,_0x51e553._0x5c13bd,_0x51e553._0x388735,_0x51e553._0x546912),0x10)||_0x22e131('172.16.0.0',0xc)||_0x22e131(_0x412ee6(_0x51e553._0x25354e,_0x51e553._0x4b5781,0x116,_0x51e553._0x456270),0x18)||_0x22e131(_0x412ee6(-_0x51e553._0x3a7d8f,_0x51e553._0x137350,_0x51e553._0x27059e,_0x51e553._0x294abc),0x10)||_0x22e131('198.18.0.0',0xf)||_0x22e131(_0x412ee6(-0x43,-0x105,-_0x51e553._0x3c1104,0x43),0x4)||_0x22e131(_0x412ee6(0x6e,_0x51e553._0xd080f5,0x31,-0x7a),0x4);}function expandIpv6(_0xa15c92){const _0x1fba61={_0x4b2993:0x475,_0xbffe19:0x391,_0x1b639b:0x587,_0x4c42c3:0x3d9,_0x2484cd:0x45f,_0x54aa52:0x27e,_0x31b2e3:0x2d6,_0x189e33:0x2f4,_0x283ef9:0x287,_0x2bffa9:0x2fb,_0x4a5e5d:0x3d8,_0x2b0203:0x349,_0xc12816:0x338,_0x37c8ed:0x423,_0x491fa0:0x57b,_0x148cc0:0x40a,_0x4fbeae:0x46d,_0x46cd4b:0x2d0,_0x3604c6:0x44d,_0x7a089:0x583,_0x16cffe:0x2b8,_0x3a7e49:0x409},_0x5f25c9={_0x161c2d:0x4ad},_0x59aaf9={_0x73bdac:0xf7,_0x46c8a9:0x494,_0x3a1c8e:0x13};let _0x3acf6=_0xa15c92,_0x214af3;const _0x26868e=_0x3acf6[_0x4ede0b(_0x1fba61._0x4b2993,0x50e,_0x1fba61._0xbffe19,_0x1fba61._0x1b639b)](':');_0x3acf6[_0x4ede0b(_0x1fba61._0x4c42c3,_0x1fba61._0x2484cd,0x430,_0x1fba61._0x54aa52)](_0x26868e+0x1)[_0x4ede0b(_0x1fba61._0x31b2e3,0x2c7,_0x1fba61._0x189e33,0x216)]('.')&&(_0x214af3=_0x3acf6[_0x4910de(0x49a,0x3f2,0x400,_0x1fba61._0x283ef9)](_0x26868e+0x1),_0x3acf6=_0x3acf6['slice'](0x0,_0x26868e+0x1));const _0x14e597=_0x3acf6['split']('::');if(_0x14e597['length']>0x2)return null;const _0x59b42e=_0x5c993d=>_0x5c993d[_0x4ede0b(0x1e8,0xcc,0x2d7,0x21e)](':')['filter'](_0x4601c8=>_0x4601c8['length']>0x0)[_0x4910de(0x44b,0x36a,0x420,0x39f)](_0x51dff9=>Number[_0x4910de(0x4bb,0x3fd,0x30b,0x2d4)](_0x51dff9,0x10)),_0x13d826=_0x14e597[0x0]?_0x59b42e(_0x14e597[0x0]):[],_0x142de8=_0x14e597[_0x4ede0b(0x40a,_0x1fba61._0x2bffa9,0x4ae,_0x1fba61._0x4a5e5d)]===0x2&&_0x14e597[0x1]?_0x59b42e(_0x14e597[0x1]):[];function _0x4ede0b(_0x52823f,_0x163be1,_0x2d4f0d,_0x40287b){return _0x125cf4(_0x52823f-_0x59aaf9._0x73bdac,_0x52823f-_0x59aaf9._0x46c8a9,_0x163be1,_0x40287b-_0x59aaf9._0x3a1c8e);}const _0x54c483=[];if(_0x214af3){const _0x1a1c67=ipv4ToInt(_0x214af3);if(_0x1a1c67===null)return null;_0x54c483[_0x4ede0b(_0x1fba61._0x2b0203,0x42f,0x3ea,0x285)](_0x1a1c67>>>0x10&0xffff,_0x1a1c67&0xffff);}const _0x61c6b2=[..._0x142de8,..._0x54c483],_0x1092fa=0x8-_0x13d826[_0x4910de(_0x1fba61._0xc12816,_0x1fba61._0x37c8ed,0x436,0x4c7)]-_0x61c6b2[_0x4910de(0x2a6,0x423,_0x1fba61._0x491fa0,0x2a8)];function _0x4910de(_0x352802,_0x4eda5f,_0x413ece,_0x807442){return _0x125cf4(_0x352802-0xdf,_0x4eda5f-_0x5f25c9._0x161c2d,_0x807442,_0x807442-0xd0);}if(_0x14e597[_0x4910de(0x4dd,0x423,0x476,0x383)]===0x1)return _0x13d826[_0x4ede0b(_0x1fba61._0x148cc0,_0x1fba61._0x4fbeae,0x543,_0x1fba61._0x46cd4b)]+_0x61c6b2[_0x4910de(_0x1fba61._0x3604c6,_0x1fba61._0x37c8ed,0x3ca,_0x1fba61._0x7a089)]===0x8?[..._0x13d826,..._0x61c6b2]:null;if(_0x1092fa<0x0)return null;return[..._0x13d826,...new Array(_0x1092fa)[_0x4910de(0x447,0x2ff,_0x1fba61._0x16cffe,_0x1fba61._0x3a7e49)](0x0),..._0x61c6b2];}function isBlockedIpv6(_0x27e751){const _0x3fc667={_0x1512ad:0x1f9,_0x56a326:0xcf,_0x4b6c9e:0x76,_0x1927a4:0x12d,_0xcbad0b:0x192,_0x30c9f0:0x25b,_0x416a56:0x46b,_0x13de8f:0x3b1,_0x2ddd50:0x1aa},_0x3efea9={_0x278162:0x175,_0x2589f8:0xd1},_0x3fe56f=expandIpv6(_0x27e751);if(!_0x3fe56f||_0x3fe56f[_0x257ee8(-0x27b,-_0x3fc667._0x1512ad,-_0x3fc667._0x56a326,-0x13f)](_0x224038=>Number[_0x8932ea(0x5b4,0x2df,0x2e9,0x447)](_0x224038)))return!![];const _0x238cc1=_0x3fe56f['slice'](0x0,0x7)[_0x257ee8(_0x3fc667._0x4b6c9e,0x47,_0x3fc667._0x1927a4,_0x3fc667._0xcbad0b)](_0x43ac95=>_0x43ac95===0x0);function _0x8932ea(_0x413c1a,_0x2d06cd,_0x19c002,_0x10b4c4){return _0x5b337b(_0x10b4c4- -0xc3,_0x413c1a,_0x19c002-_0x3efea9._0x278162,_0x10b4c4-_0x3efea9._0x2589f8);}function _0x257ee8(_0x4cab28,_0x3e9498,_0x1c4bf3,_0x2aa353){return _0x5b337b(_0x3e9498- -0x42d,_0x2aa353,_0x1c4bf3-0x1bb,_0x2aa353-0x1ed);}if(_0x238cc1&&(_0x3fe56f[0x7]===0x0||_0x3fe56f[0x7]===0x1))return!![];if(_0x3fe56f[_0x8932ea(0x37e,_0x3fc667._0x30c9f0,_0x3fc667._0x416a56,0x38e)](0x0,0x5)[_0x8932ea(0x4d2,0x353,0x3ff,_0x3fc667._0x13de8f)](_0x314c52=>_0x314c52===0x0)&&(_0x3fe56f[0x5]===0xffff||_0x3fe56f[0x5]===0x0)){const _0x5c7250=(_0x3fe56f[0x6]<<0x10|_0x3fe56f[0x7])>>>0x0,_0x2120d9=[_0x5c7250>>>0x18&0xff,_0x5c7250>>>0x10&0xff,_0x5c7250>>>0x8&0xff,_0x5c7250&0xff][_0x257ee8(_0x3fc667._0x2ddd50,0x6d,0x1e,0x1a1)]('.');return isBlockedIpv4(_0x2120d9);}const _0x255789=_0x3fe56f[0x0];if((_0x255789&0xff00)===0xfc00||(_0x255789&0xfe00)===0xfc00)return!![];if((_0x255789&0xffc0)===0xfe80)return!![];if((_0x255789&0xff00)===0xff00)return!![];return![];}function isBlockedAddress(_0x7e646d){const _0x46a8a2=isIP(_0x7e646d);if(_0x46a8a2===0x4)return isBlockedIpv4(_0x7e646d);if(_0x46a8a2===0x6)return isBlockedIpv6(_0x7e646d);return!![];}async function assertPublicUrl(_0x829e3f,_0x2ea8bc={}){const _0x416197={_0x35c7b7:0x658,_0x4d6325:0x6ab,_0x3cfeae:0x2e6,_0x56f2bf:0x5d6,_0x3329e8:0x468,_0x245a79:0x41c,_0x22ed6e:0x42a,_0x87f586:0x462,_0x2970de:0x436,_0x548a89:0x474,_0x4ae595:0x3bd,_0x3dbe11:0x4d3,_0xf38841:0x5a9,_0x2a7dd6:0x4dc,_0x39e793:0x422,_0x378a6e:0x64e,_0x2b6207:0x796,_0x16b73a:0x60b,_0x4a4863:0x752,_0x8d9575:0x4a2,_0x269b51:0x622,_0x111c4b:0x38f,_0x2e3b2e:0x424,_0x2c6ef7:0x631,_0x4d854a:0x528,_0x1c67d4:0x4df,_0x1912bf:0x78c,_0x33b640:0x67f,_0x10b4f6:0x745,_0x331daa:0x5d4,_0x5c3567:0x620,_0x222a45:0x51e,_0x1d6517:0x3ed,_0x1203d9:0x689},_0x1a6684={_0xefbeed:0x141},_0x141692={_0x4cd570:0x9c,_0x33edbf:0x6e4};function _0x447b2e(_0x42d09a,_0x4a10b2,_0x54ab2d,_0x1b003f){return _0x125cf4(_0x42d09a-_0x141692._0x4cd570,_0x42d09a-_0x141692._0x33edbf,_0x54ab2d,_0x1b003f-0x15b);}let _0x533fa4;try{_0x533fa4=new URL(_0x829e3f);}catch{throw new ToolExecutionError(_0x447b2e(0x69c,_0x416197._0x35c7b7,_0x416197._0x4d6325,0x632),{'url':_0x829e3f});}if(_0x533fa4[_0x2445c8(_0x416197._0x3cfeae,_0x416197._0x56f2bf,_0x416197._0x3329e8,_0x416197._0x245a79)]!=='http:'&&_0x533fa4[_0x447b2e(0x4a2,0x4c5,0x538,_0x416197._0x22ed6e)]!==_0x447b2e(0x56a,_0x416197._0x87f586,0x5a5,_0x416197._0x2970de))throw new ToolExecutionError(_0x2445c8(_0x416197._0x548a89,_0x416197._0x4ae595,_0x416197._0x3dbe11,0x563),{'url':_0x829e3f});if(_0x533fa4[_0x2445c8(0x641,0x4db,_0x416197._0xf38841,0x447)]||_0x533fa4[_0x447b2e(_0x416197._0x2a7dd6,0x422,_0x416197._0x39e793,_0x416197._0x378a6e)])throw new ToolExecutionError('URLs\x20must\x20not\x20include\x20usernames\x20or\x20passwords',{'url':_0x533fa4['protocol']+'//'+_0x533fa4[_0x447b2e(0x45e,0x3ec,0x51c,0x5a2)]+_0x533fa4[_0x447b2e(0x631,0x5a0,_0x416197._0x2b6207,0x627)]});const _0x195b68=_0x533fa4['hostname'][_0x447b2e(_0x416197._0x16b73a,_0x416197._0x4a4863,0x5b0,0x590)](/^\[|\]$/g,'');function _0x2445c8(_0x32fc90,_0x14f1a2,_0x20039b,_0x5a151d){return _0x125cf4(_0x32fc90-_0x1a6684._0xefbeed,_0x20039b-0x6aa,_0x5a151d,_0x5a151d-0x1db);}const _0x5ee1ef=_0x533fa4[_0x447b2e(_0x416197._0x8d9575,0x3ea,_0x416197._0x269b51,0x44c)]+'//'+_0x533fa4[_0x2445c8(0x38b,_0x416197._0x111c4b,_0x416197._0x2e3b2e,0x3e6)]+_0x533fa4[_0x447b2e(_0x416197._0x2c6ef7,_0x416197._0x4d854a,0x4cc,_0x416197._0x1c67d4)];if(isIP(_0x195b68)){if(isBlockedAddress(_0x195b68))throw new ToolExecutionError(_0x2445c8(0x5a6,_0x416197._0x1912bf,_0x416197._0x33b640,_0x416197._0x10b4f6),{'url':_0x5ee1ef});return _0x533fa4;}const _0x2d96fa=_0x2ea8bc[_0x2445c8(0x4d4,0x39e,0x3fd,0x2b0)]??defaultLookup;let _0x24e91e;try{_0x24e91e=await _0x2d96fa(_0x195b68);}catch{throw new ToolExecutionError('Could\x20not\x20resolve\x20host',{'url':_0x5ee1ef});}if(_0x24e91e[_0x2445c8(0x6df,_0x416197._0x331daa,_0x416197._0x5c3567,0x6bb)]===0x0)throw new ToolExecutionError(_0x447b2e(0x68e,0x639,0x6e6,0x577),{'url':_0x5ee1ef});for(const {address:_0x4c2a26}of _0x24e91e){if(isBlockedAddress(_0x4c2a26))throw new ToolExecutionError(_0x447b2e(0x527,_0x416197._0x222a45,_0x416197._0x1d6517,_0x416197._0x1203d9),{'url':_0x5ee1ef});}return _0x533fa4;}async function safeFetch(_0x5799c3,_0x273cd={},_0x2ccfc6={}){const _0x2e0ff8={_0x4a40bf:0x52a,_0xfdf3d7:0x584,_0x637ef0:0x3d9,_0x114d4b:0x332,_0x2aafb5:0x46b,_0x20b748:0x561,_0x5dee70:0x3bf,_0x439f30:0x4b8,_0x39e6e5:0x619,_0x3afab5:0x4f9,_0x5df005:0x4e0,_0x45bd1e:0x4b5,_0x33082c:0x13d,_0x5f3fa1:0x177,_0x205a9d:0x2c0},_0x4fc76a={_0x2f3258:0x1bb,_0x4b4d66:0x45c,_0x57d0ba:0x104},_0x551200={_0x11410c:0x108,_0x25fd7e:0x120},_0x17cd22=_0x2ccfc6['fetchImpl']??fetch;function _0x3995f8(_0x28b357,_0x1149aa,_0x1a0a94,_0x4e51d8){return _0x125cf4(_0x28b357-_0x551200._0x11410c,_0x4e51d8-0x60c,_0x28b357,_0x4e51d8-_0x551200._0x25fd7e);}function _0x490576(_0x2bdef9,_0xa9f2a7,_0x342786,_0x40611c){return _0x125cf4(_0x2bdef9-_0x4fc76a._0x2f3258,_0xa9f2a7-_0x4fc76a._0x4b4d66,_0x2bdef9,_0x40611c-_0x4fc76a._0x57d0ba);}const _0x388323=_0x2ccfc6['maxRedirects']??DEFAULT_MAX_REDIRECTS;let _0x191fbe=_0x5799c3;for(let _0x47626a=0x0;;_0x47626a+=0x1){const _0x4dd33c=await assertPublicUrl(_0x191fbe,_0x2ccfc6),_0x47d3df=await _0x17cd22(_0x4dd33c['toString'](),{..._0x273cd,'redirect':_0x3995f8(0x4cd,_0x2e0ff8._0x4a40bf,0x64d,_0x2e0ff8._0xfdf3d7)}),_0x2cd791=_0x47d3df[_0x3995f8(0x363,_0x2e0ff8._0x637ef0,0x461,0x4d1)]['get'](_0x490576(_0x2e0ff8._0x114d4b,0x30e,0x447,_0x2e0ff8._0x2aafb5));if(!REDIRECT_STATUSES[_0x3995f8(0x645,_0x2e0ff8._0x20b748,_0x2e0ff8._0x5dee70,_0x2e0ff8._0x439f30)](_0x47d3df[_0x3995f8(_0x2e0ff8._0x39e6e5,_0x2e0ff8._0x3afab5,_0x2e0ff8._0x5df005,0x503)])||!_0x2cd791)return _0x47d3df;if(_0x47626a>=_0x388323)throw new ToolExecutionError(_0x3995f8(0x46f,0x527,0x617,_0x2e0ff8._0x45bd1e),{'url':_0x4dd33c[_0x490576(_0x2e0ff8._0x33082c,0x16a,_0x2e0ff8._0x5f3fa1,_0x2e0ff8._0x205a9d)]()});_0x191fbe=new URL(_0x2cd791,_0x4dd33c)['toString']();}}var USER_AGENT=_0x5b337b(0x48e,0x596,0x42e,0x4ba),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x52b8e6,_0x14358b){const _0x530c62={_0x230b20:0x1ec,_0x5c2110:0x34f,_0x39d4d4:0x110,_0x5aa63a:0xf4,_0x3c5039:0x63,_0x438091:0x3ad,_0x46011d:0x337,_0x40f6d6:0x2e1,_0x3bdbce:0x170,_0x5e0935:0x1e4,_0x1d52e2:0x1a6,_0x339f27:0xdf},_0x1e1c7e={_0x475afe:0x290,_0x332934:0x304,_0x23fd1a:0x290,_0x34931e:0x358},_0x577c1d={_0x4672c3:0x120},_0x4e86a2={_0x4aade6:0x16e,_0x48100d:0x1a0,_0x165741:0x1a7},_0x52c881=new AbortController();function _0x98a6fc(_0x48b50f,_0x22681b,_0x4bcc94,_0x2741dd){return _0x5b337b(_0x48b50f- -_0x4e86a2._0x4aade6,_0x4bcc94,_0x4bcc94-_0x4e86a2._0x48100d,_0x2741dd-_0x4e86a2._0x165741);}const _0xcab4f6=setTimeout(()=>_0x52c881['abort'](new Error('Fetch\x20timed\x20out')),_0x14358b),_0x2bff54=()=>_0x52c881['abort'](_0x52b8e6[_0x3402f9(0x2da,0x3cc,0x2ee,0x430)]);function _0x3402f9(_0x275206,_0x4800e4,_0x2514bc,_0x41ffd0){return _0x125cf4(_0x275206-0xb4,_0x275206-0x3a6,_0x41ffd0,_0x41ffd0-0x158);}return _0x52b8e6[_0x98a6fc(_0x530c62._0x230b20,_0x530c62._0x5c2110,0x371,0x339)]?_0x52c881[_0x3402f9(_0x530c62._0x39d4d4,_0x530c62._0x5aa63a,-_0x530c62._0x3c5039,0x124)](_0x52b8e6[_0x98a6fc(0x2d2,_0x530c62._0x438091,_0x530c62._0x46011d,_0x530c62._0x40f6d6)]):_0x52b8e6[_0x98a6fc(_0x530c62._0x3bdbce,_0x530c62._0x5e0935,_0x530c62._0x1d52e2,_0x530c62._0x339f27)]('abort',_0x2bff54,{'once':!![]}),{'signal':_0x52c881['signal'],'cleanup':()=>{const _0x322cdb={_0x5d4651:0x186,_0x217dcd:0x157};clearTimeout(_0xcab4f6);function _0x1e8d36(_0x523100,_0x13f1f0,_0x4f22bb,_0x4d0c4c){return _0x3402f9(_0x4f22bb- -0x231,_0x13f1f0-0x15e,_0x4f22bb-_0x577c1d._0x4672c3,_0x4d0c4c);}function _0x31ddbe(_0x13ad06,_0x2e2a36,_0x2bd8d5,_0x4f7212){return _0x3402f9(_0x13ad06-_0x322cdb._0x5d4651,_0x2e2a36-0x6e,_0x2bd8d5-_0x322cdb._0x217dcd,_0x2bd8d5);}_0x52b8e6[_0x31ddbe(0x3bf,_0x1e1c7e._0x475afe,_0x1e1c7e._0x332934,_0x1e1c7e._0x23fd1a)](_0x31ddbe(0x296,_0x1e1c7e._0x34931e,0x34c,0x25b),_0x2bff54);}};}function createWebFetchTool(_0x5d3379={}){const _0x48c2b7={_0x4cc82e:0x534,_0x52ee6e:0x3a6,_0xada751:0x291,_0x3c2ca7:0x2db,_0x49db8d:0x2c4,_0x5ea358:0x4a8,_0x5dbe36:0x2bf,_0x23fcc0:0x1c5,_0x4dd5e0:0x153,_0x49df35:0x2e3,_0x1bed96:0x427,_0x2134bc:0x3dc,_0x511540:0x18,_0x20fc2f:0x196,_0x318bd9:0x1f,_0xf31e20:0x2c2,_0x1783a8:0x3b0,_0x376edc:0x330,_0x4a6fe1:0x196,_0x355765:0x2bb,_0x20e900:0x483,_0x215a34:0x575,_0x12804d:0x3ee,_0x529286:0x2b1,_0x6f1fe6:0x37a},_0xba4c8e={_0x15300f:0x5fc,_0x53c4e5:0x353,_0xde26fe:0x3c8,_0x17a28f:0x419,_0x1354f0:0x53f,_0x485909:0x493,_0x56b029:0x470,_0x38b911:0x5c0,_0x21d827:0x5de,_0x362813:0x490,_0x49f8ac:0x4f4,_0x368020:0x3e8,_0x2eec5e:0x446,_0x1bdd8f:0x448,_0x369b80:0x33f,_0x1fb481:0x32b,_0x2783b5:0x555,_0x42f1d4:0x4db,_0x268021:0x483,_0x4cc5bb:0x52d,_0x4bb685:0x4b5,_0xde3da5:0x3da,_0x3af8a0:0x469,_0x2f56ab:0x566,_0x2f9ab4:0x39e,_0x531882:0x529,_0xa01205:0x56e,_0xbbf123:0x3c9,_0x4dac7d:0x37d,_0x18d97e:0x504,_0x219afd:0x540,_0x4d4066:0x46d,_0x1498fc:0x329,_0xa3f1ac:0x562,_0x5808ce:0x51d,_0x26210e:0x4e1,_0x86839e:0x3cc,_0x3551c6:0x33c,_0x3a61c0:0x487,_0x2620fb:0x475,_0x399573:0x4df,_0x37e9e9:0x4f8,_0x45178d:0x5bb,_0x11640e:0x4e1},_0x1912b6={_0xb4e096:0x40,_0x62cae6:0x1aa},_0x4af939={_0xd89e28:0x75,_0x5b896f:0x8b},_0xa439a8=_0x5d3379[_0x4476a4(0x4bf,0x3a2,0x594,_0x48c2b7._0x4cc82e)]??_0xa8c400(0x21a,0x351,0x325,_0x48c2b7._0x52ee6e),_0x28770d=_0x5d3379[_0x4476a4(0x432,_0x48c2b7._0xada751,_0x48c2b7._0x3c2ca7,_0x48c2b7._0x49db8d)]??DEFAULT_TIMEOUT_MS2;function _0xa8c400(_0xec2816,_0x28d1da,_0x4bec25,_0x732f65){return _0x5b337b(_0xec2816- -0x215,_0x28d1da,_0x4bec25-_0x4af939._0xd89e28,_0x732f65-_0x4af939._0x5b896f);}const _0x3e3829=_0x5d3379['lookup'],_0x10b734=new _0xcf0bb0({'headingStyle':'atx','codeBlockStyle':_0x4476a4(0x5bc,0x610,0x531,_0x48c2b7._0x5ea358),'bulletListMarker':'-'});function _0x4476a4(_0x5ef57e,_0x450a92,_0x3a93d3,_0x4e1f4b){return _0x5b337b(_0x4e1f4b-_0x1912b6._0xb4e096,_0x3a93d3,_0x3a93d3-_0x1912b6._0x62cae6,_0x4e1f4b-0x14c);}return _0x10b734['remove']([_0x4476a4(_0x48c2b7._0x5dbe36,0x3d9,0x291,_0x48c2b7._0x5dbe36),_0xa8c400(_0x48c2b7._0x23fcc0,_0x48c2b7._0x4dd5e0,0x149,0x1ff),_0x4476a4(_0x48c2b7._0x49df35,_0x48c2b7._0x1bed96,0x333,_0x48c2b7._0x2134bc),'iframe','nav','footer',_0xa8c400(_0x48c2b7._0x511540,_0x48c2b7._0x20fc2f,-0x4c,-_0x48c2b7._0x318bd9),_0xa8c400(0x2e6,_0x48c2b7._0xf31e20,_0x48c2b7._0x1783a8,_0x48c2b7._0x376edc)]),defineTool({'name':_0xa439a8,'permissionClass':'read','description':_0x4476a4(0x3ab,_0x48c2b7._0x4a6fe1,0x12d,_0x48c2b7._0x355765),'inputSchema':{'type':_0x4476a4(0x326,_0x48c2b7._0x20e900,_0x48c2b7._0x215a34,0x420),'properties':{'description':{'type':_0xa8c400(0x27c,0x38e,_0x48c2b7._0x12804d,_0x48c2b7._0x529286)},'url':{'type':'string'}},'required':[_0xa8c400(0x233,0xe4,_0x48c2b7._0x6f1fe6,0x37b)]},async *'execute'(_0x24e570,_0x5de46a){const _0x43d367={_0x4a0da9:0xb4},_0x8d5cf0={_0x256b59:0x33b,_0x41138c:0x1cc},_0x78f73d=(await assertPublicUrl(_0x24e570[_0x1176fc(_0xba4c8e._0x15300f,0x5d0,0x56e,0x557)],{'lookup':_0x3e3829}))[_0x2ec470(0x272,_0xba4c8e._0x53c4e5,_0xba4c8e._0xde26fe,_0xba4c8e._0x17a28f)]();if(_0x5de46a[_0x2ec470(_0xba4c8e._0x1354f0,0x57e,0x5bb,0x522)][_0x2ec470(0x41a,_0xba4c8e._0x485909,0x301,0x439)])throw new ToolExecutionError(_0x2ec470(_0xba4c8e._0x56b029,_0xba4c8e._0x38b911,0x463,0x543),{'url':_0x78f73d});const _0x4bd980=createTimeoutSignal(_0x5de46a[_0x1176fc(_0xba4c8e._0x21d827,0x5c3,0x56b,_0xba4c8e._0x362813)],_0x28770d);function _0x1176fc(_0x48ca4a,_0xbc08e1,_0x42f13a,_0x3b21f3){return _0xa8c400(_0x42f13a-_0x8d5cf0._0x256b59,_0xbc08e1,_0x42f13a-_0x8d5cf0._0x41138c,_0x3b21f3-0x48);}let _0x13326a='',_0x53c2f0=0x0,_0x373446;try{const _0x600080=await safeFetch(_0x78f73d,{'headers':{'User-Agent':USER_AGENT},'signal':_0x4bd980[_0x2ec470(0x6b7,0x57e,0x63a,_0xba4c8e._0x49f8ac)]},{'lookup':_0x3e3829});if(!_0x600080['ok'])throw new ToolExecutionError(_0x1176fc(0x5cf,_0xba4c8e._0x368020,_0xba4c8e._0x2eec5e,_0xba4c8e._0x1bdd8f)+_0x600080['status']+'\x20'+_0x600080[_0x1176fc(0x1ec,0x4ce,_0xba4c8e._0x369b80,_0xba4c8e._0x1fb481)],{'url':_0x78f73d,'statusCode':_0x600080['status']});_0x13326a=_0x600080['headers'][_0x1176fc(_0xba4c8e._0x2783b5,_0xba4c8e._0x42f1d4,_0xba4c8e._0x268021,_0xba4c8e._0x4cc5bb)](_0x2ec470(_0xba4c8e._0x4bb685,_0xba4c8e._0xde3da5,_0xba4c8e._0x3af8a0,_0xba4c8e._0x2f56ab))??'',_0x53c2f0=_0x600080[_0x1176fc(_0xba4c8e._0x2f9ab4,0x58f,_0xba4c8e._0x531882,_0xba4c8e._0xa01205)],_0x373446=await _0x600080['text']();}catch(_0x139ed0){if(_0x139ed0 instanceof ToolExecutionError)throw _0x139ed0;const _0x1eb07c=_0x139ed0 instanceof Error?_0x139ed0[_0x2ec470(_0xba4c8e._0xbbf123,_0xba4c8e._0x4dac7d,_0xba4c8e._0x18d97e,0x2c3)]:String(_0x139ed0);throw new ToolExecutionError(_0x1eb07c,{'url':_0x78f73d});}finally{_0x4bd980[_0x2ec470(0x44b,_0xba4c8e._0x219afd,0x41a,0x43c)]();}const _0x56e5e0=new Date()[_0x1176fc(_0xba4c8e._0x4d4066,0x3b3,0x456,0x35c)]();let _0x45980c,_0x22d906;if(_0x13326a[_0x1176fc(0x586,0x4f0,0x474,_0xba4c8e._0x1498fc)](_0x1176fc(_0xba4c8e._0xa3f1ac,0x383,0x431,_0xba4c8e._0x5808ce)))_0x45980c=_0x2ec470(_0xba4c8e._0x26210e,0x3de,0x4ac,0x53c)+_0x373446+_0x1176fc(0x428,_0xba4c8e._0x86839e,_0xba4c8e._0x3551c6,0x41f),_0x22d906='json';else _0x13326a[_0x2ec470(0x4d9,_0xba4c8e._0x3a61c0,0x571,0x553)]('text/html')?(_0x45980c=_0x10b734[_0x2ec470(0x26d,0x3a9,_0xba4c8e._0x2620fb,_0xba4c8e._0x399573)](_0x373446),_0x22d906='markdown'):(_0x45980c=_0x373446,_0x22d906=_0x1176fc(_0xba4c8e._0xbbf123,_0xba4c8e._0x37e9e9,0x4ce,0x445));yield createToolOutput(_0x45980c,{'url':_0x78f73d,'contentType':_0x13326a,'statusCode':_0x53c2f0,'format':_0x22d906,'size':_0x373446[_0x2ec470(0x4ef,_0xba4c8e._0x45178d,0x5aa,_0xba4c8e._0x11640e)],'fetchedAt':_0x56e5e0});function _0x2ec470(_0x4982cd,_0x1da89e,_0x1cf733,_0x5e654e){return _0xa8c400(_0x1da89e-0x34e,_0x5e654e,_0x1cf733-0x10f,_0x5e654e-_0x43d367._0x4a0da9);}return void 0x0;}});}import{load}from'cheerio';var USER_AGENT2='Mozilla/5.0\x20(Windows\x20NT\x2010.0;\x20Win64;\x20x64)\x20AppleWebKit/537.36\x20Chrome/123.0.0.0\x20Safari/537.36\x20NuvinBot/1.0';function normalizeUrl(_0xeba55c){const _0x46a3cc={_0x42d563:0x4b1,_0x23009b:0x3f8,_0x4a8f11:0x28b,_0x25fb7b:0x265,_0x2980ae:0x3da,_0x45ef46:0x271,_0x4deecc:0x1f8,_0x243ac5:0x4ad,_0x291294:0x3bb,_0x42219a:0x492,_0x46cee8:0x32e,_0x11a3a0:0x331,_0x2a3e29:0x3c0,_0x47d21a:0x334,_0x2613f5:0x1c2,_0x55e759:0x356,_0x5187df:0x278,_0x25d41c:0x2c8},_0x412b83={_0x1c9c80:0x1de,_0x546a8f:0x156},_0x3dd497={_0x4573da:0x71,_0x52fd92:0x18e};function _0x4a75f0(_0x5f2fe8,_0x5b9d31,_0x5f2b73,_0x15f294){return _0x125cf4(_0x5f2fe8-_0x3dd497._0x4573da,_0x5b9d31-0x459,_0x5f2fe8,_0x15f294-_0x3dd497._0x52fd92);}function _0xe46db0(_0x2e7313,_0x4d811e,_0x945982,_0x56b30e){return _0x125cf4(_0x2e7313-_0x412b83._0x1c9c80,_0x56b30e-0x534,_0x945982,_0x56b30e-_0x412b83._0x546a8f);}try{const _0x1b06c0=new URL(_0xeba55c);for(const _0x5da3d9 of[_0x4a75f0(_0x46a3cc._0x42d563,_0x46a3cc._0x23009b,_0x46a3cc._0x4a8f11,0x267),_0x4a75f0(_0x46a3cc._0x25fb7b,0x3f0,0x2df,0x42e),_0xe46db0(0x3bb,0x3f2,_0x46a3cc._0x2980ae,_0x46a3cc._0x45ef46),_0x4a75f0(0x18d,_0x46a3cc._0x4deecc,0x1dd,0xbd),_0x4a75f0(_0x46a3cc._0x243ac5,0x337,_0x46a3cc._0x291294,_0x46a3cc._0x42219a),_0x4a75f0(0x383,_0x46a3cc._0x46cee8,0x410,0x1f8),_0xe46db0(0x2c3,_0x46a3cc._0x291294,0x290,_0x46a3cc._0x11a3a0),'mc_cid',_0x4a75f0(0x3fc,_0x46a3cc._0x2a3e29,0x494,0x43b)]){_0x1b06c0['searchParams'][_0x4a75f0(0x1f5,_0x46a3cc._0x47d21a,_0x46a3cc._0x2613f5,0x1ce)](_0x5da3d9);}return _0x1b06c0[_0xe46db0(_0x46a3cc._0x55e759,_0x46a3cc._0x5187df,_0x46a3cc._0x25d41c,0x242)]();}catch{return _0xeba55c;}}function cseDateRestrict(_0x3ef95f){const _0x4d1ed={_0x417093:0x1a,_0x3c4b4a:0x5d2,_0x16d680:0x609,_0x6b35be:0x4bb,_0x233698:0x521,_0x2fa142:0x30a,_0x59789b:0x22e,_0x2495dc:0x3a6},_0x3e3645={_0x1f4fa5:0x36,_0x191154:0x3c0,_0x45768e:0xe7};if(_0x3ef95f<=0x0)return void 0x0;function _0x8963d4(_0x47216d,_0x5f0531,_0x24c6a8,_0x26f04f){return _0x125cf4(_0x47216d-_0x3e3645._0x1f4fa5,_0x5f0531-_0x3e3645._0x191154,_0x26f04f,_0x26f04f-_0x3e3645._0x45768e);}if(_0x3ef95f<=0x1e)return'd'+Math[_0x8963d4(0x12b,0x116,0x231,_0x4d1ed._0x417093)](0x1,Math[_0x2ba3c5(_0x4d1ed._0x3c4b4a,0x61a,_0x4d1ed._0x16d680,0x6bf)](_0x3ef95f));function _0x2ba3c5(_0x5763c9,_0xf7a0f2,_0x5891d8,_0x207e71){return _0x125cf4(_0x5763c9-0x1c3,_0x5891d8-0x6b3,_0x207e71,_0x207e71-0x1b2);}if(_0x3ef95f<=0x16d)return'm'+Math[_0x2ba3c5(_0x4d1ed._0x6b35be,0x688,_0x4d1ed._0x233698,0x600)](_0x3ef95f/0x1e);return'y'+Math[_0x8963d4(_0x4d1ed._0x2fa142,_0x4d1ed._0x59789b,_0x4d1ed._0x2495dc,0x10b)](_0x3ef95f/0x16d);}function addSiteFilters(_0x34ac66,_0x4e49bd){const _0x4c1903={_0x9765be:0x18d,_0x3debac:0x26,_0x3b795d:0x667,_0x4fd0b0:0x6d3,_0x3e5713:0x66e,_0x4b162a:0x5ca,_0x4a9752:0x50c,_0x5defca:0x55a,_0x575f44:0x6c4},_0x240bdd={_0x5c2193:0x1d6},_0x1ec6e={_0x31aa7f:0x74c,_0xc8dcac:0x17b};function _0x383ffc(_0x5ac7b1,_0xd323a6,_0x3d663e,_0x235f63){return _0x125cf4(_0x5ac7b1-0x19d,_0x235f63-_0x1ec6e._0x31aa7f,_0xd323a6,_0x235f63-_0x1ec6e._0xc8dcac);}if(_0x4e49bd[_0x47c6c9(_0x4c1903._0x9765be,-0x67,-_0x4c1903._0x3debac,0x11d)]===0x0)return _0x34ac66[_0x383ffc(_0x4c1903._0x3b795d,_0x4c1903._0x4fd0b0,0x5b3,_0x4c1903._0x3e5713)]();function _0x47c6c9(_0x48fab1,_0x36e7a2,_0x1d900c,_0x288165){return _0x125cf4(_0x48fab1-_0x240bdd._0x5c2193,_0x288165-0x1a7,_0x48fab1,_0x288165-0x124);}return(_0x34ac66+'\x20('+_0x4e49bd[_0x383ffc(_0x4c1903._0x4b162a,0x799,_0x4c1903._0x4a9752,0x609)](_0xe55a55=>'site:'+_0xe55a55)[_0x47c6c9(0x169,0x64,-0x1f,0x135)]('\x20OR\x20')+')')[_0x383ffc(0x558,_0x4c1903._0x5defca,_0x4c1903._0x575f44,0x66e)]();}function normalizeType(_0x29e8d0){const _0x219bfd={_0x34baad:0x25,_0x555740:0xf0,_0x2189c4:0x78},_0x20cf92={_0xa108d1:0xc5,_0xa1d8e2:0x183};function _0x225aee(_0x4828ed,_0x1b601b,_0x3bc1ba,_0x333352){return _0x5b337b(_0x1b601b-0x231,_0x333352,_0x3bc1ba-_0x20cf92._0xa108d1,_0x333352-_0x20cf92._0xa1d8e2);}function _0xd1439d(_0x42923b,_0x20e504,_0x789983,_0xef0028){return _0x5b337b(_0xef0028- -0x452,_0x20e504,_0x789983-0x1d7,_0xef0028-0x14);}return _0x29e8d0==='images'?_0xd1439d(-_0x219bfd._0x34baad,-0x22e,-0xee,-_0x219bfd._0x555740):_0xd1439d(0x6d,_0x219bfd._0x2189c4,-0x4e,0x46);}async function fetchJson(_0xaa5ea9,_0x42ac67,_0x212a9e){const _0x1adb9={_0x241447:0xf5,_0x2d176d:0xca,_0x2dc14f:0x20c,_0x2da3f0:0x1d6,_0x215cab:0x303,_0x2f7b46:0x2eb,_0x3539b8:0x7f,_0x1a10d8:0x143,_0x4c4379:0x141,_0x12dcc2:0x40,_0x4c1141:0x14f,_0x1ffb7b:0x1ae,_0x432cdb:0x183,_0x5378e7:0x69,_0x25392d:0x32,_0x5b16a7:0x1ac,_0x14416d:0x415,_0x364650:0x19b,_0x1f44be:0x12f,_0x3be9d8:0xa4,_0x264678:0x1de,_0x138608:0x11e,_0x3929d0:0x3,_0x24a508:0x33,_0x6a4d53:0x113,_0x5d3d11:0x273,_0x42fa57:0x79,_0x10d8a6:0x37},_0x14cfcc={_0x5ae6a6:0x516,_0x588214:0xfb,_0x51f3cc:0x76},_0x5f0f60={_0x40b101:0x15};function _0x276800(_0x64d62a,_0x518041,_0x9c3a67,_0x1f469e){return _0x125cf4(_0x64d62a-0x16a,_0x518041- -_0x5f0f60._0x40b101,_0x64d62a,_0x1f469e-0xeb);}const _0x356f91=await fetch(_0xaa5ea9,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x276800(-0x291,-0x216,-_0x1adb9._0x241447,-_0x1adb9._0x2d176d),..._0x212a9e?.['headers']},'signal':_0x42ac67,..._0x212a9e});if(!_0x356f91['ok']){let _0x5487c3,_0x31e542;try{_0x5487c3=await _0x356f91[_0x55f290(-0x1a9,-0x16e,-_0x1adb9._0x2dc14f,-0x1f6)]();const _0x21cdd9=JSON[_0x55f290(-0x349,-_0x1adb9._0x2da3f0,-_0x1adb9._0x215cab,-_0x1adb9._0x2f7b46)](_0x5487c3),_0x5a6ae4=typeof _0x21cdd9[_0x55f290(-0x28d,-0x14f,-_0x1adb9._0x3539b8,-_0x1adb9._0x1a10d8)]===_0x276800(-0x75,-_0x1adb9._0x4c4379,-0x148,-0x1e7)?_0x21cdd9[_0x55f290(-_0x1adb9._0x12dcc2,-_0x1adb9._0x4c1141,-0x209,-_0x1adb9._0x1ffb7b)][_0x55f290(0x33,-0x69,-0xde,-_0x1adb9._0x432cdb)]:void 0x0;_0x31e542=_0x21cdd9[_0x55f290(0xc7,-_0x1adb9._0x5378e7,-0x1b2,_0x1adb9._0x25392d)]?.[_0x55f290(-_0x1adb9._0x5b16a7,-0x2d2,-_0x1adb9._0x14416d,-_0x1adb9._0x364650)]??_0x21cdd9[_0x55f290(-_0x1adb9._0x1f44be,-0x69,0x7a,_0x1adb9._0x3be9d8)]?.['errors']?.[0x0]?.['message']??_0x5a6ae4;}catch{}const _0x1afc26=_0x31e542?'HTTP\x20'+_0x356f91[_0x276800(-_0x1adb9._0x264678,-_0x1adb9._0x138608,-0x1b6,-_0x1adb9._0x3929d0)]+':\x20'+_0x31e542:'HTTP\x20'+_0x356f91[_0x276800(-_0x1adb9._0x24a508,-0x11e,-0x22f,-0x185)]+'\x20'+_0x356f91['statusText'];throw new ToolExecutionError(_0x1afc26,{'statusCode':_0x356f91[_0x55f290(0x77,-_0x1adb9._0x6a4d53,-_0x1adb9._0x3929d0,-_0x1adb9._0x5d3d11)],..._0x5487c3?{'body':_0x5487c3}:{}});}function _0x55f290(_0x23651d,_0x2f0d17,_0x34a218,_0x250177){return _0x5b337b(_0x2f0d17- -_0x14cfcc._0x5ae6a6,_0x34a218,_0x34a218-_0x14cfcc._0x588214,_0x250177-_0x14cfcc._0x51f3cc);}return await _0x356f91[_0x276800(-0x1d1,-_0x1adb9._0x42fa57,-_0x1adb9._0x10d8a6,-0xf1)]();}async function hydrateResults(_0x16f818,_0x303260,_0x1317b4,_0x8b2ad6){const _0x256dd7={_0x3f39f4:0x3aa,_0x4fb0f6:0x509,_0x351e6e:0x3b2,_0x5b7b3d:0x56d,_0x231998:0x504,_0x19386c:0x307,_0x22657a:0x339},_0x3678ff={_0x5b3ae:0xc2},_0x49012e={_0x226e13:0x168,_0x14a89e:0x34b,_0x40f25a:0x83,_0x242dfd:0x1eb,_0x399473:0x34e,_0x562523:0x224,_0x37669a:0xf6,_0x52eb38:0x1fe,_0x57b01e:0x313,_0x2f8578:0x1c0,_0x55b838:0x2cf,_0x3f7291:0x91,_0x3d075b:0xe9,_0x3de98f:0x5e,_0x5c9996:0x2c,_0x945f76:0xd7,_0x56d5dd:0xfd,_0x4f78ae:0x15e,_0x137d7d:0xf0,_0x2f2e10:0x281,_0xbb99d4:0x1b6,_0x50a588:0x30d,_0xf7f44d:0x54,_0x33cc05:0x180,_0x385740:0x2ff,_0x487056:0x281,_0x572027:0x2b7,_0x84ceb1:0x2f5,_0x12bf30:0x27b,_0x557828:0xa7,_0x525682:0x18f,_0x50d672:0x40f,_0x11c9fc:0x284,_0x5de2bb:0x1f5,_0x485e28:0x3d5,_0x830490:0x121,_0x465179:0x3f6,_0x3a5e3c:0x9d,_0x48928d:0xdc,_0x5a487c:0xda,_0x342f47:0x143,_0x402c75:0x44,_0x3743cb:0x28b},_0x48db67={_0x492a08:0x2a};function _0x2c9d33(_0x2c3d4b,_0x4512ba,_0x3fc66f,_0x5d79c5){return _0x125cf4(_0x2c3d4b-_0x48db67._0x492a08,_0x2c3d4b-0x3db,_0x3fc66f,_0x5d79c5-0x21);}const _0x25d322=await Promise[_0x2c9d33(_0x256dd7._0x3f39f4,0x23c,_0x256dd7._0x4fb0f6,_0x256dd7._0x351e6e)](_0x16f818[_0x4baab7(0x617,_0x256dd7._0x5b7b3d,0x65a,0x56c)](0x0,0xa)['map'](async _0x43a137=>{const _0x14a9c9={_0x1c1014:0x657,_0x35b578:0x1f0},_0x1aa0f5={_0x14d60c:0x2d9,_0x28e0e2:0x1bb};function _0x1c98ad(_0x29510c,_0x5543f8,_0x1ec753,_0x1b884c){return _0x4baab7(_0x5543f8,_0x1ec753- -_0x1aa0f5._0x14d60c,_0x1ec753-0x6b,_0x1b884c-_0x1aa0f5._0x28e0e2);}function _0x303b05(_0x188f1f,_0x3d745c,_0x15f9c0,_0x2ed80b){return _0x4baab7(_0x15f9c0,_0x188f1f- -_0x14a9c9._0x1c1014,_0x15f9c0-_0x14a9c9._0x35b578,_0x2ed80b-0x1e7);}try{const _0x3e5989=await safeFetch(_0x43a137[_0x303b05(-0xf3,-0x136,-_0x49012e._0x226e13,-0x8b)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x303260,'Accept':_0x303b05(-0x299,-0x231,-_0x49012e._0x14a89e,-0x1f5)},'signal':_0x1317b4},{'lookup':_0x8b2ad6});if(!_0x3e5989['ok'])return _0x43a137;const _0xf53ba8=await _0x3e5989[_0x1c98ad(_0x49012e._0x40f25a,0x34b,_0x49012e._0x242dfd,_0x49012e._0x399473)](),_0x15ff66=load(_0xf53ba8),_0x1486ef=_0x15ff66(_0x303b05(-0x279,-_0x49012e._0x562523,-_0x49012e._0x37669a,-0x342))['attr'](_0x303b05(-_0x49012e._0x52eb38,-0x76,-0x2d1,-0x2f2))||_0x15ff66('title')[_0x303b05(-_0x49012e._0x57b01e,-_0x49012e._0x2f8578,-0x200,-0x1c9)]()['text']()[_0x303b05(-0x10d,-0x1b3,-0x25b,-0x6e)](),_0x3f5b62=_0x15ff66(_0x1c98ad(_0x49012e._0x55b838,0x299,0x1bb,0x11c))['attr'](_0x1c98ad(_0x49012e._0x3f7291,0x1ad,0x180,0x14))||_0x15ff66(_0x1c98ad(-_0x49012e._0x3d075b,-0xa4,_0x49012e._0x3de98f,_0x49012e._0x5c9996))[_0x1c98ad(0x129,_0x49012e._0x945f76,_0x49012e._0x56d5dd,-0x24)]('content')||_0x43a137['snippet'],_0x59202e=_0x15ff66(_0x303b05(-_0x49012e._0x4f78ae,-0x26f,-0x157,-_0x49012e._0x137d7d))[_0x303b05(-_0x49012e._0x2f2e10,-0x118,-_0x49012e._0xbb99d4,-_0x49012e._0x50a588)](_0x1c98ad(_0x49012e._0xf7f44d,0x209,_0x49012e._0x33cc05,_0x49012e._0x385740))||_0x15ff66('time[datetime]')[_0x303b05(-_0x49012e._0x487056,-_0x49012e._0x572027,-_0x49012e._0x84ceb1,-_0x49012e._0x12bf30)](_0x303b05(-0x3f,0x24,-0x17a,_0x49012e._0x557828))||_0x43a137[_0x303b05(-0x31a,-_0x49012e._0x525682,-0x374,-_0x49012e._0x50d672)],_0x5b67df=_0x15ff66(_0x1c98ad(0x83,_0x49012e._0x11c9fc,_0x49012e._0x5de2bb,0x277))[_0x303b05(-0x281,-_0x49012e._0x485e28,-_0x49012e._0x830490,-_0x49012e._0x465179)](_0x1c98ad(_0x49012e._0x3a5e3c,0x25e,_0x49012e._0x48928d,_0x49012e._0x5a487c));return{..._0x43a137,'title':_0x1486ef||_0x43a137[_0x1c98ad(_0x49012e._0x342f47,0x1e3,0x5f,-_0x49012e._0x402c75)],'snippet':_0x3f5b62,'url':_0x5b67df?normalizeUrl(new URL(_0x5b67df,_0x43a137['url'])['toString']()):_0x43a137[_0x1c98ad(0x2eb,0x223,_0x49012e._0x3743cb,0x202)],'publishedAt':_0x59202e};}catch{return _0x43a137;}}));function _0x4baab7(_0x4bb5cc,_0x3ea4e5,_0x1d00b0,_0x40cec9){return _0x5b337b(_0x3ea4e5-0x11c,_0x4bb5cc,_0x1d00b0-_0x3678ff._0x5b3ae,_0x40cec9-0x14f);}const _0x410548=new Map(_0x16f818[_0x4baab7(_0x256dd7._0x231998,0x56d,0x599,0x4ec)](0x0,0xa)[_0x2c9d33(0x298,_0x256dd7._0x19386c,0x19a,0x17e)]((_0x6cbcf9,_0x5845a6)=>[_0x6cbcf9['url'],_0x25d322[_0x5845a6]]));return _0x16f818[_0x2c9d33(0x298,0x1b9,_0x256dd7._0x22657a,0x17d)](_0x180a6b=>_0x410548[_0x2c9d33(0x22c,0x300,0x2d2,0x181)](_0x180a6b[_0x4baab7(0x424,0x564,0x598,0x493)])??_0x180a6b);}function formatResults(_0x456dc9){const _0x256f39={_0x24375a:0x75,_0xbe72a4:0x49,_0x151892:0x1d1,_0x24a736:0x412,_0x2bf48d:0x34a,_0x26c533:0x474,_0x4b2e66:0x462,_0x5b0644:0x5d,_0x576547:0x51,_0xbda723:0x61},_0x2395e1={_0x556518:0xef,_0x10700d:0x6d,_0x144caf:0xff,_0x1afd98:0x287,_0x24e2da:0x155,_0x288c63:0x23c,_0x17e85a:0x1bc,_0x4ca453:0x313,_0x114895:0x126,_0x2c60ef:0x1b5,_0x20a7ff:0x1fd,_0x2a0e68:0x13,_0x193960:0x17,_0x17fb16:0x193,_0x37a5d3:0x4be,_0x359911:0x33e,_0x206b24:0x25c},_0x25dcf0={_0x326743:0x1ee,_0x2ea09:0x1d4},_0x50d806={_0xab106b:0x56},_0x3435ac={_0x522594:0x15};function _0x4c2e85(_0x20cea7,_0x3e15fc,_0x1787d7,_0xd337d3){return _0x125cf4(_0x20cea7-0x1c1,_0x20cea7-_0x3435ac._0x522594,_0xd337d3,_0xd337d3-0x68);}if(_0x456dc9[_0x4c2e85(-_0x256f39._0x24375a,-_0x256f39._0xbe72a4,0x2c,-_0x256f39._0x151892)]===0x0)return _0x1a2f6(_0x256f39._0x24a736,_0x256f39._0x2bf48d,_0x256f39._0x26c533,_0x256f39._0x4b2e66);function _0x1a2f6(_0x5d3181,_0x45b1b6,_0x49ab9e,_0x2eda83){return _0x5b337b(_0x49ab9e- -_0x50d806._0xab106b,_0x45b1b6,_0x49ab9e-0x5,_0x2eda83-0x40);}return _0x456dc9['map'](_0x3352d5=>{function _0x5c97dc(_0x5c84e2,_0x6a4b6f,_0x3d4930,_0x3f71fa){return _0x1a2f6(_0x5c84e2-_0x25dcf0._0x326743,_0x6a4b6f,_0x3f71fa- -0x382,_0x3f71fa-_0x25dcf0._0x2ea09);}const _0x31a715=[_0x3352d5[_0x5c97dc(-_0x2395e1._0x556518,-_0x2395e1._0x10700d,-0x2b,0x88)][_0x138445(_0x2395e1._0x144caf,_0x2395e1._0x1afd98,_0x2395e1._0x24e2da,0x53)]+'.\x20'+_0x3352d5[_0x5c97dc(-0x257,-0x242,-_0x2395e1._0x288c63,-_0x2395e1._0x17e85a)],_0x3352d5['url']];if(_0x3352d5['snippet'])_0x31a715[_0x138445(0x242,0x34e,0x29f,_0x2395e1._0x4ca453)](_0x3352d5[_0x5c97dc(-0x2ef,-_0x2395e1._0x114895,-_0x2395e1._0x2c60ef,-0x18e)]);if(_0x3352d5[_0x5c97dc(-_0x2395e1._0x20a7ff,-0x2d1,-0x328,-0x1b7)])_0x31a715[_0x5c97dc(_0x2395e1._0x2a0e68,-0xdb,-0xe,-_0x2395e1._0x193960)]('Published:\x20'+_0x3352d5[_0x138445(_0x2395e1._0x17fb16,0xba,_0x2395e1._0x144caf,0x64)]);function _0x138445(_0x47f86f,_0x289df7,_0x12f8ec,_0xda5330){return _0x1a2f6(_0x47f86f-0xee,_0x47f86f,_0x12f8ec- -0xcc,_0xda5330-0xc);}return _0x31a715[_0x138445(_0x2395e1._0x37a5d3,_0x2395e1._0x359911,0x378,_0x2395e1._0x206b24)]('\x0a');})[_0x4c2e85(-_0x256f39._0x5b0644,_0x256f39._0x576547,-0x17f,-_0x256f39._0xbda723)]('\x0a\x0a');}async function searchOllama(_0xb51307,_0x27cf29,_0x3beb9e){const _0x74fd6={_0x3918c4:0x2d1,_0x4a8d94:0x23d,_0x1b539e:0x29a,_0x2e16a7:0x28f,_0xb7bb8b:0x592,_0x1f40f8:0x69a,_0x18552a:0x71a,_0x216232:0x6f4,_0x4637ba:0x5ea,_0x105853:0x5cb,_0x1ff612:0x432,_0x158769:0x53c,_0x20230c:0x42f,_0x4e15c6:0x52e,_0x360094:0x439,_0x42090f:0x499,_0xfc53e:0x59b,_0x201865:0x24a,_0x17eaf5:0x3d1,_0x33b60b:0x457,_0x30a298:0x779,_0xfa69c7:0x69b,_0x5b8c07:0x57d},_0x204e85={_0x56d4fe:0x3e8,_0x1bede8:0x2e6,_0x411ffe:0x2fa,_0x58d00d:0x301,_0x200c66:0x310,_0x4ae603:0x59,_0xf2776f:0x202,_0x206c69:0x3b8},_0x2657d1={_0x458c14:0x171},_0x5a6f61={_0xdaaa1e:0xa3},_0xeb0905=Math[_0x516ea7(_0x74fd6._0x3918c4,_0x74fd6._0x4a8d94,_0x74fd6._0x1b539e,_0x74fd6._0x2e16a7)](0x1,Math[_0x1b9ff8(0x607,_0x74fd6._0xb7bb8b,_0x74fd6._0x1f40f8,_0x74fd6._0x18552a)](0xa,_0x27cf29[_0x1b9ff8(_0x74fd6._0x216232,0x68c,_0x74fd6._0x4637ba,_0x74fd6._0x105853)]));function _0x1b9ff8(_0x3fe6a3,_0xa3acb4,_0x5c5e87,_0x269223){return _0x5b337b(_0xa3acb4-0x24a,_0x269223,_0x5c5e87-_0x5a6f61._0xdaaa1e,_0x269223-0x83);}function _0x516ea7(_0xf20688,_0x1668ab,_0x1da08d,_0x1eac93){return _0x125cf4(_0xf20688-0x1d8,_0x1eac93-0x539,_0xf20688,_0x1eac93-_0x2657d1._0x458c14);}const _0xa580e4=addSiteFilters(_0x27cf29[_0x1b9ff8(_0x74fd6._0x1ff612,0x576,0x408,_0x74fd6._0x158769)],_0x27cf29[_0x1b9ff8(_0x74fd6._0x20230c,_0x74fd6._0x4e15c6,_0x74fd6._0x360094,0x3b4)]),_0x28e0d5=await fetchJson('https://ollama.com/api/web_search',_0x3beb9e,{'method':_0x516ea7(_0x74fd6._0x42090f,0x379,_0x74fd6._0xfc53e,0x446),'headers':{'Authorization':'Bearer\x20'+_0xb51307[_0x516ea7(0x137,0x32f,0x2df,_0x74fd6._0x201865)]},'body':JSON[_0x516ea7(_0x74fd6._0x17eaf5,_0x74fd6._0x33b60b,0x5c1,0x556)]({'query':_0xa580e4,'max_results':_0xeb0905})}),_0x5e59a4=_0x28e0d5['results']??[],_0x2155bf=_0x5e59a4[_0x1b9ff8(0x635,0x613,0x6fd,0x4c0)]((_0x396f86,_0x1ad16f)=>{const _0x2be61b={_0x40c3a1:0xbb,_0x3606e7:0x28},_0x2727b5={_0x27aa5b:0x27b},_0x230dc2=_0x396f86[_0x7e1f14(_0x204e85._0x56d4fe,_0x204e85._0x1bede8,0x417,_0x204e85._0x411ffe)]||'';let _0x4141dd;try{_0x4141dd=new URL(_0x230dc2)[_0x3e2a12(_0x204e85._0x58d00d,0x160,0x8e,0x20b)];}catch{_0x4141dd=null;}function _0x7e1f14(_0x3634ff,_0x4982a2,_0x3f2a5e,_0x20edf4){return _0x1b9ff8(_0x3634ff-0x96,_0x3f2a5e- -_0x2727b5._0x27aa5b,_0x3f2a5e-0x11d,_0x4982a2);}function _0x3e2a12(_0x5b5677,_0x44615e,_0x1ef366,_0x2afd48){return _0x516ea7(_0x1ef366,_0x44615e-_0x2be61b._0x40c3a1,_0x1ef366-_0x2be61b._0x3606e7,_0x2afd48- -0xa8);}return{'title':_0x396f86[_0x7e1f14(_0x204e85._0x200c66,_0x204e85._0x4ae603,0x1eb,0x1ea)]||'Untitled','url':normalizeUrl(_0x230dc2),'snippet':_0x396f86[_0x3e2a12(_0x204e85._0xf2776f,0x396,0x20a,0x2c2)]??null,'displayUrl':_0x4141dd,'favicon':null,'publishedAt':null,'source':{'engine':_0x3e2a12(_0x204e85._0x206c69,0x159,0x153,0x26d),'rank':_0x1ad16f+0x1}};});return{'items':_0x2155bf[_0x1b9ff8(_0x74fd6._0x30a298,_0x74fd6._0xfa69c7,0x66a,_0x74fd6._0x5b8c07)](0x0,_0xeb0905),'engine':'ollama'};}async function searchTavily(_0x47b6e6,_0x163130,_0x2569c1){const _0x2a62eb={_0x2785ee:0xc4,_0x49539f:0x11e,_0x5b76f5:0x1bd,_0x4bf7eb:0xe,_0x203082:0x18f,_0x379785:0x6d,_0x73f9e5:0x12e,_0xce3ae7:0xa0,_0x402647:0x28b,_0x46850b:0x2aa,_0x83663e:0x115,_0x3960e7:0x11b,_0xbd0416:0x1c,_0x452c10:0x1a0,_0x358c51:0xaf,_0x339ffb:0x146,_0x13eb2d:0xf8,_0x574036:0x148,_0x5127a0:0x13a,_0x59a58a:0x14c,_0x21ffac:0x165,_0x23d9f0:0x206,_0x1f911f:0x26b,_0x1df61a:0x36c,_0x47f142:0x4a,_0x33a1a3:0xb7,_0x566f2e:0x7d,_0xd91899:0xc3,_0x2001a8:0x20c,_0x54bf75:0x1bb,_0x45345a:0x199},_0x2c12b7={_0x436823:0x144,_0x1d2342:0x10,_0x22c06a:0x1ee,_0x4b55de:0xa6,_0x1f803c:0x101,_0x4c1e46:0xe1,_0x1c1552:0x188,_0x102e9d:0x1c7,_0x16292d:0x18f,_0xa6ba2b:0x205,_0xe8b0b:0x96,_0x483871:0x1e,_0x2963f1:0x1fc},_0x2ef747={_0x5619b7:0x36},_0x5dca6e={_0x90d213:0x198};function _0x15ad7d(_0x576658,_0x2cbe96,_0x10d664,_0x219f6b){return _0x125cf4(_0x576658-_0x5dca6e._0x90d213,_0x219f6b-0x34f,_0x2cbe96,_0x219f6b-0x175);}const _0x5cf18f=Math[_0x15ad7d(0x15a,_0x2a62eb._0x2785ee,-0x99,0xa5)](0x1,Math[_0x423301(-0xa3,-0x28a,-_0x2a62eb._0x49539f,-_0x2a62eb._0x5b76f5)](0x14,_0x163130['count'])),_0x771629={'query':_0x163130[_0x423301(_0x2a62eb._0x4bf7eb,-_0x2a62eb._0x203082,-0x13a,-0x15b)],'max_results':_0x5cf18f,'search_depth':_0x47b6e6[_0x423301(0xca,_0x2a62eb._0x379785,0x58,0x3c)]??'basic','topic':_0x47b6e6[_0x423301(-0x153,-0x1,-_0x2a62eb._0x73f9e5,-_0x2a62eb._0xce3ae7)]??_0x423301(-0x1ec,-_0x2a62eb._0x402647,-0x20a,-_0x2a62eb._0x46850b)};if(_0x163130['domains'][_0x423301(_0x2a62eb._0x83663e,_0x2a62eb._0x3960e7,_0x2a62eb._0xbd0416,-0x57)]>0x0)_0x771629[_0x423301(-_0x2a62eb._0x452c10,-0x3e,-0x13c,-0x1c9)]=_0x163130[_0x15ad7d(_0x2a62eb._0x358c51,_0x2a62eb._0x339ffb,0x9,0x127)];const _0x62c518=await fetchJson(_0x423301(-_0x2a62eb._0x13eb2d,-0xd9,-_0x2a62eb._0x574036,-_0x2a62eb._0x5127a0),_0x2569c1,{'method':'POST','headers':{'Authorization':'Bearer\x20'+_0x47b6e6[_0x423301(-0x21a,-_0x2a62eb._0x59a58a,-_0x2a62eb._0x21ffac,-0x282)],'Content-Type':'application/json'},'body':JSON[_0x15ad7d(_0x2a62eb._0x23d9f0,0x269,_0x2a62eb._0x1f911f,_0x2a62eb._0x1df61a)](_0x771629)}),_0x371ec1=_0x62c518[_0x423301(-_0x2a62eb._0x47f142,-_0x2a62eb._0x33a1a3,-_0x2a62eb._0x566f2e,-_0x2a62eb._0xd91899)]??[];function _0x423301(_0x48e42c,_0x2bbef3,_0x30c35b,_0x5e4acb){return _0x125cf4(_0x48e42c-_0x2ef747._0x5619b7,_0x30c35b-0xa6,_0x5e4acb,_0x5e4acb-0x2a);}const _0x2acf4d=_0x371ec1[_0x15ad7d(0x24f,0x14b,0x1c7,_0x2a62eb._0x2001a8)]((_0x43616,_0x1ea536)=>{const _0x53bd1e={_0x34a505:0xb5},_0x5301c9=_0x43616[_0x5ee299(_0x2c12b7._0x436823,_0x2c12b7._0x1d2342,_0x2c12b7._0x22c06a,0x219)]||'';function _0x5ee299(_0x284da9,_0x21fae2,_0x450c95,_0x18a9aa){return _0x423301(_0x284da9-0x177,_0x21fae2-_0x53bd1e._0x34a505,_0x284da9-0x162,_0x21fae2);}let _0x2f569f;try{_0x2f569f=new URL(_0x5301c9)[_0x1f8c85(0x1b5,_0x2c12b7._0x4b55de,_0x2c12b7._0x1f803c,0x9f)];}catch{_0x2f569f=null;}function _0x1f8c85(_0x900594,_0x386bfd,_0x194d05,_0x4c0f9a){return _0x423301(_0x900594-0x192,_0x386bfd-0x5f,_0x386bfd-0x286,_0x194d05);}return{'title':_0x43616[_0x1f8c85(-_0x2c12b7._0x4c1e46,0x3c,-0x14f,-0xc8)]||_0x1f8c85(0x25a,_0x2c12b7._0x1c1552,_0x2c12b7._0x102e9d,_0x2c12b7._0x16292d),'url':normalizeUrl(_0x5301c9),'snippet':_0x43616[_0x1f8c85(_0x2c12b7._0xa6ba2b,0x15d,_0x2c12b7._0xe8b0b,_0x2c12b7._0x483871)]??null,'displayUrl':_0x2f569f,'favicon':null,'publishedAt':null,'source':{'engine':_0x1f8c85(_0x2c12b7._0x2963f1,0x291,0x1c2,0x302),'rank':_0x1ea536+0x1}};});return{'items':_0x2acf4d[_0x15ad7d(_0x2a62eb._0x54bf75,0x325,_0x2a62eb._0x45345a,0x294)](0x0,_0x5cf18f),'engine':'tavily'};}async function searchGoogleCse(_0x987789,_0x4e3915,_0x38df57){const _0x2e69e5={_0x6cb084:0x168,_0xfac47c:0x225,_0x39eb22:0x29,_0x346004:0x578,_0x2374a3:0x49d,_0x2f7bec:0x11a,_0x3e7a2f:0xbc,_0x4f9a42:0x285,_0x44552e:0x36,_0x993e5d:0x57,_0x1c5312:0x29f,_0x18ed01:0x417,_0x5f3787:0xfd,_0x1e1efa:0x41a,_0x441aeb:0x55b,_0x44ace3:0x430,_0x2ea068:0x31f,_0x1bf780:0x39e,_0x3617c0:0x485,_0x420c68:0x47e,_0x580a7f:0x591,_0x36def8:0x3f,_0x167beb:0x186,_0x340fe4:0x109,_0xb44d05:0x322,_0x4fb116:0x2d0,_0xb56462:0x41d,_0x10c542:0x2f0,_0x32dd10:0x638,_0x332554:0x70c,_0x4b3252:0x4b4,_0x26117d:0x1b3,_0x3b05f7:0x310,_0x38ab89:0x1b4,_0x835fbb:0x3a4,_0x4b7f7a:0x57c,_0xdebecd:0x77e,_0x3b4be6:0x516,_0x563f2a:0x20c,_0x2c1b8b:0x160,_0x718732:0x41f,_0x2d19f6:0x4f5,_0x213432:0x308,_0x3c2866:0x322,_0x5cac98:0x5ed,_0x531f00:0x581,_0x1827c1:0xea,_0x2ed2ae:0x559,_0x26ff7a:0x66c,_0x5c0288:0x2d7,_0x3c2ae4:0x307,_0x485e0b:0x1aa,_0xcd7e6a:0x24f,_0x4071e2:0x4b7,_0x53f4b2:0x3df,_0x22d0c0:0x562,_0x43a62d:0x1a1,_0x33853b:0x10f,_0xd76aad:0x1e6,_0x21e2a6:0x5e9,_0x26c177:0x51b,_0x475b66:0x3f5,_0x38a706:0x638,_0x898d26:0x749,_0x3f75db:0x375,_0x15a717:0x2b9,_0x5dfb9c:0x3f7,_0x2e81a9:0x363,_0x5ab273:0x72,_0x11cdca:0x6d,_0x169922:0xcf,_0x2631a1:0x3bb,_0x3fecfe:0x411,_0x3c1e29:0x2ef,_0x1ec22b:0x3d9,_0xb36dc5:0x638,_0x3afd47:0x714,_0x4d65d2:0x547,_0x2fd77d:0x65a,_0x4b7032:0x794,_0x2a4186:0x303,_0x1efe23:0x195,_0x156c37:0x345,_0x1ab55d:0x5ed,_0x596cf8:0x668,_0x1d0dc6:0x5e2,_0xd14dbe:0x702,_0x293df7:0x3a,_0x3dfc28:0x33d,_0x34d141:0x2f2,_0x4be1e1:0x1c9,_0x3463d3:0x5b8,_0x216c8b:0x5d1,_0x158566:0x563,_0x4fbf42:0x71d,_0xde5e98:0x3c,_0x3546d9:0xac,_0x11c500:0x1a0,_0x17946b:0x3c,_0x4f9850:0x7c,_0x32e21c:0x9,_0x4ff3cd:0x380,_0x2ee895:0x4f2,_0x28472a:0x279,_0x10293b:0x3bc,_0x25dd29:0x2b0,_0x247040:0x41a,_0x43a251:0x367,_0xd2c751:0x3da,_0x401a97:0x440,_0x362cf7:0x597,_0x296315:0x49f,_0x423139:0x5bc,_0xb8d312:0x62c,_0x575c1d:0x6f2,_0x58547c:0x52c,_0x3057d5:0x2a2,_0x330637:0x120,_0xccfe14:0x193},_0x52a5d9={_0x2dd826:0x34,_0x1ab4c5:0x165},_0x3b8e5a={_0x18e496:0x192,_0x97b5:0x32c,_0x5f1f17:0x6a},_0x309c8e=Math['max'](0x1,Math[_0x17c92d(_0x2e69e5._0x6cb084,0x241,_0x2e69e5._0xfac47c,_0x2e69e5._0x39eb22)](0x32,_0x4e3915[_0x4c8e18(_0x2e69e5._0x346004,0x54a,_0x2e69e5._0x2374a3,0x4c8)]));if(_0x4e3915[_0x17c92d(_0x2e69e5._0x2f7bec,_0x2e69e5._0x3e7a2f,_0x2e69e5._0x4f9a42,_0x2e69e5._0x44552e)]+_0x309c8e>0x64)throw new ToolExecutionError(_0x17c92d(0x77,-0xcc,-0x5c,_0x2e69e5._0x993e5d),{'offset':_0x4e3915['offset'],'count':_0x309c8e,'maxResults':0x64});function _0x17c92d(_0x4d86b0,_0x716707,_0x2c20b1,_0x592fb8){return _0x125cf4(_0x4d86b0-_0x3b8e5a._0x18e496,_0x4d86b0-_0x3b8e5a._0x97b5,_0x592fb8,_0x592fb8-_0x3b8e5a._0x5f1f17);}const _0x2ee35b=cseDateRestrict(_0x4e3915[_0x17c92d(_0x2e69e5._0x1c5312,0x204,_0x2e69e5._0x18ed01,0x213)]),_0x237852=addSiteFilters(_0x4e3915[_0x17c92d(0x14c,_0x2e69e5._0x5f3787,0x188,0xff)],_0x4e3915[_0x4c8e18(_0x2e69e5._0x1e1efa,0x461,0x485,_0x2e69e5._0x441aeb)]);let _0x11b30f=0x0;function _0x4c8e18(_0x170a8f,_0x41134a,_0x1628ff,_0x567ff2){return _0x5b337b(_0x170a8f-0x136,_0x41134a,_0x1628ff-_0x52a5d9._0x2dd826,_0x567ff2-_0x52a5d9._0x1ab4c5);}let _0x214a64=_0x4e3915[_0x4c8e18(_0x2e69e5._0x44ace3,_0x2e69e5._0x2ea068,_0x2e69e5._0x1bf780,_0x2e69e5._0x3617c0)]+0x1;const _0x1c6b37=[];while(_0x11b30f<_0x309c8e){const _0x184097=Math[_0x4c8e18(_0x2e69e5._0x420c68,0x5a6,0x494,_0x2e69e5._0x580a7f)](0xa,_0x309c8e-_0x11b30f),_0x579afa=new URL(_0x17c92d(_0x2e69e5._0x36def8,_0x2e69e5._0x167beb,0x36,_0x2e69e5._0x340fe4));_0x579afa[_0x17c92d(_0x2e69e5._0xb44d05,0x486,0x1b2,0x213)]['set'](_0x17c92d(0x32d,_0x2e69e5._0x4fb116,_0x2e69e5._0xb56462,_0x2e69e5._0x10c542),_0x987789[_0x17c92d(0x186,0x26c,0x171,0x69)]),_0x579afa[_0x4c8e18(_0x2e69e5._0x32dd10,0x53f,_0x2e69e5._0x332554,_0x2e69e5._0x4b3252)][_0x17c92d(0x2d7,_0x2e69e5._0x26117d,0x392,0x184)]('cx',_0x987789[_0x17c92d(_0x2e69e5._0x3b05f7,_0x2e69e5._0x38ab89,0x41e,_0x2e69e5._0x835fbb)]),_0x579afa[_0x4c8e18(0x638,_0x2e69e5._0x4b7f7a,_0x2e69e5._0xdebecd,_0x2e69e5._0x3b4be6)][_0x17c92d(0x2d7,_0x2e69e5._0x563f2a,_0x2e69e5._0x2c1b8b,0x1e8)]('q',_0x237852),_0x579afa[_0x17c92d(0x322,_0x2e69e5._0x718732,0x3b3,0x359)][_0x4c8e18(0x5ed,0x60e,0x529,_0x2e69e5._0x2d19f6)](_0x4c8e18(0x34b,0x43c,_0x2e69e5._0x213432,_0x2e69e5._0x3c2866),String(_0x184097)),_0x579afa['searchParams'][_0x4c8e18(_0x2e69e5._0x5cac98,0x5b2,0x620,_0x2e69e5._0x531f00)](_0x17c92d(0x1be,0x1c1,_0x2e69e5._0x1827c1,0x160),String(_0x214a64)),_0x579afa[_0x4c8e18(_0x2e69e5._0x32dd10,_0x2e69e5._0x2ed2ae,0x4d5,_0x2e69e5._0x26ff7a)][_0x17c92d(_0x2e69e5._0x5c0288,_0x2e69e5._0x3c2ae4,_0x2e69e5._0x485e0b,_0x2e69e5._0xcd7e6a)](_0x4c8e18(_0x2e69e5._0x4071e2,0x375,_0x2e69e5._0x53f4b2,_0x2e69e5._0x22d0c0),_0x4e3915[_0x17c92d(_0x2e69e5._0x43a62d,_0x2e69e5._0x33853b,_0x2e69e5._0xd76aad,0x304)]?'active':_0x4c8e18(_0x2e69e5._0x21e2a6,0x508,0x770,0x52e));_0x4e3915[_0x4c8e18(0x4a0,_0x2e69e5._0x26c177,0x416,_0x2e69e5._0x475b66)]&&(_0x579afa[_0x4c8e18(0x638,0x570,0x5e6,0x4e0)]['set']('hl',_0x4e3915['lang']),_0x579afa[_0x4c8e18(_0x2e69e5._0x38a706,0x65f,0x5a3,_0x2e69e5._0x898d26)][_0x17c92d(_0x2e69e5._0x5c0288,0x195,0x32b,0x42e)]('lr',_0x4c8e18(_0x2e69e5._0x3f75db,_0x2e69e5._0x15a717,0x3c1,0x4e8)+_0x4e3915[_0x4c8e18(0x4a0,0x5fc,_0x2e69e5._0x5dfb9c,0x32e)]));if(_0x4e3915[_0x4c8e18(0x388,0x235,_0x2e69e5._0x2e81a9,0x283)])_0x579afa['searchParams'][_0x17c92d(_0x2e69e5._0x5c0288,_0x2e69e5._0x18ed01,0x145,0x451)]('gl',_0x4e3915[_0x17c92d(_0x2e69e5._0x5ab273,0x86,_0x2e69e5._0x11cdca,_0x2e69e5._0x169922)][_0x4c8e18(0x344,_0x2e69e5._0x2631a1,_0x2e69e5._0x3fecfe,_0x2e69e5._0x3c1e29)]());if(_0x4e3915[_0x4c8e18(_0x2e69e5._0x1ec22b,0x471,0x46f,0x33b)]==='images')_0x579afa[_0x4c8e18(_0x2e69e5._0xb36dc5,0x790,_0x2e69e5._0x3afd47,_0x2e69e5._0x4d65d2)]['set'](_0x4c8e18(_0x2e69e5._0x2fd77d,0x653,0x603,_0x2e69e5._0x4b7032),_0x17c92d(_0x2e69e5._0x2a4186,0x1a3,_0x2e69e5._0x1efe23,0x43c));if(_0x2ee35b)_0x579afa[_0x17c92d(0x322,0x38a,0x1c3,_0x2e69e5._0x156c37)][_0x4c8e18(_0x2e69e5._0x1ab55d,0x469,0x701,_0x2e69e5._0x596cf8)](_0x4c8e18(_0x2e69e5._0x1d0dc6,0x5ef,0x71d,_0x2e69e5._0xd14dbe),_0x2ee35b);const _0x542e75=await fetchJson(_0x579afa[_0x17c92d(_0x2e69e5._0x293df7,0x128,-0x84,-0x69)](),_0x38df57),_0x594fd2=_0x542e75[_0x17c92d(_0x2e69e5._0x3dfc28,_0x2e69e5._0x34d141,_0x2e69e5._0x4be1e1,0x1d5)]??[];if(_0x594fd2[_0x4c8e18(_0x2e69e5._0x3463d3,0x66d,0x5d2,_0x2e69e5._0x216c8b)]===0x0)break;const _0x52a54b=_0x11b30f;for(let _0x53d7f8=0x0;_0x53d7f8<_0x594fd2[_0x4c8e18(0x5b8,0x5c7,0x47f,0x61c)];_0x53d7f8++){const _0x100257=_0x594fd2[_0x53d7f8];if(!_0x100257)continue;const _0x34c29f=_0x100257[_0x4c8e18(0x5a8,_0x2e69e5._0x158566,_0x2e69e5._0x4fbf42,0x5fe)]||_0x100257['image']?.['contextLink']||'',_0x445920=_0x100257[_0x17c92d(_0x2e69e5._0xde5e98,0x9f,-_0x2e69e5._0x3546d9,_0x2e69e5._0x11c500)]||_0x100257['image']?.[_0x17c92d(_0x2e69e5._0x17946b,-0xea,-_0x2e69e5._0x4f9850,_0x2e69e5._0x32e21c)]||'Untitled',_0x1c24a8=_0x100257[_0x4c8e18(_0x2e69e5._0x4ff3cd,_0x2e69e5._0x2ee895,0x3f1,0x31f)]||_0x100257['htmlSnippet']?.[_0x17c92d(0x253,0x17d,0x321,_0x2e69e5._0x28472a)](/<[^>]+>/g,''),_0x56578b=_0x100257['pagemap']?.['metatags']?.[0x0]??{};let _0x1ad7c3;try{_0x1ad7c3=new URL(_0x34c29f)[_0x4c8e18(_0x2e69e5._0x10293b,_0x2e69e5._0x25dd29,_0x2e69e5._0x247040,_0x2e69e5._0x43a251)];}catch{_0x1ad7c3=null;}_0x1c6b37['push']({'title':_0x445920,'url':normalizeUrl(_0x34c29f),'snippet':_0x1c24a8??null,'displayUrl':_0x1ad7c3,'favicon':null,'publishedAt':_0x56578b[_0x17c92d(0x306,_0x2e69e5._0xd2c751,0x3db,_0x2e69e5._0x401a97)]||_0x56578b[_0x4c8e18(_0x2e69e5._0x362cf7,_0x2e69e5._0x296315,_0x2e69e5._0x423139,0x446)]||null,'source':{'engine':_0x4c8e18(_0x2e69e5._0xb8d312,_0x2e69e5._0x575c1d,0x756,_0x2e69e5._0x58547c),'rank':_0x52a54b+_0x53d7f8+0x1}});}_0x11b30f+=_0x594fd2['length'],_0x214a64+=_0x594fd2['length'];if(_0x594fd2[_0x17c92d(_0x2e69e5._0x3057d5,_0x2e69e5._0x330637,0x296,0x24d)]<_0x184097)break;}return _0x1c6b37[_0x17c92d(0x271,0x275,_0x2e69e5._0xccfe14,0x3b9)](0x0,_0x309c8e);}function isGoogleCseEngine(_0x20069d){const _0x221eef={_0x567175:0x53e,_0x303885:0x61a,_0x2ace04:0x660},_0x306200={_0x8ec399:0x70};function _0x3757b3(_0x1b64c3,_0x34179c,_0x331e81,_0x15946e){return _0x5b337b(_0x15946e-0x168,_0x331e81,_0x331e81-_0x306200._0x8ec399,_0x15946e-0x5c);}return _0x3757b3(_0x221eef._0x567175,_0x221eef._0x303885,_0x221eef._0x2ace04,0x4ce)in _0x20069d;}function isOllamaEngine(_0xc96e6b){const _0x34e75e={_0x388b8c:0x36c,_0x43e5a1:0x16b},_0x279d78={_0x15e430:0x1f1,_0x421672:0x1e8};function _0x42ef12(_0x4e0e90,_0x359f8c,_0x3a34ea,_0x1f291f){return _0x5b337b(_0x359f8c-0xe0,_0x4e0e90,_0x3a34ea-_0x279d78._0x15e430,_0x1f291f-_0x279d78._0x421672);}return _0x42ef12(_0x34e75e._0x388b8c,0x2fd,0x17a,_0x34e75e._0x43e5a1)in _0xc96e6b;}function isTavilyEngine(_0x579ab8){return'tavilyApiKey'in _0x579ab8;}function createWebSearchTool(_0x4202c3){const _0x726ac6={_0x2ba8ab:0x483,_0x283dc3:0x3a4,_0x3a7a32:0x2f3,_0x573750:0x2d1,_0x53584d:0x2cf,_0x5f156b:0x43,_0x26f511:0xad,_0x4e0045:0xc4,_0x3fdb3e:0x12e,_0x6e59aa:0x1b0,_0x46e4bc:0x1df,_0x355e0a:0xd3,_0x46c1bc:0x394,_0x174fa0:0x3f7,_0x193923:0x3a9,_0x29e977:0x3bd,_0x195c7d:0x3b9,_0x91af06:0x479,_0xeb44ca:0x289,_0x10e793:0x106,_0x1e68b2:0x1b3,_0x5a3fb1:0x197,_0x49667b:0x1b9,_0x2ddc68:0x8b,_0x4f2198:0x2ac,_0x4b953f:0x23a,_0x35f11e:0x426,_0x50b894:0x3e6,_0x318ea8:0x13b,_0x4cf414:0x319,_0x56b89d:0x453,_0x192bb9:0x1cd,_0x198da6:0x44},_0x77497c={_0x2dc7dc:0x447,_0x3584fd:0x444,_0xf17ec7:0x579,_0x561350:0x46c,_0x231f64:0x2d2,_0x1121e5:0xcf,_0x2a40ba:0x167,_0x522f14:0x3a0,_0x565356:0x477,_0x4276a0:0x37a,_0x549179:0x5fc,_0x2c3d73:0x59b,_0x59921d:0x597,_0x289bed:0x4b6,_0x1edec6:0x482,_0x3c0625:0x40f,_0x5581ac:0x334,_0x52f041:0x1e8,_0x3bfab4:0x347,_0x283112:0x48c,_0x13de65:0x587,_0x4243f9:0x621,_0x4640d7:0x5ab,_0x599efc:0x38d,_0x4b32e6:0x2e5,_0x377b67:0x201,_0x3c43b2:0x55b,_0x57ff72:0x7ae,_0x53fd94:0x498,_0x5012eb:0x49d,_0x45a9e7:0x463,_0x557c9e:0x2dd,_0x56881e:0x8b,_0x45b90f:0x3,_0x4c9834:0x54f,_0x206af6:0x504,_0x4cb4dc:0x6f9,_0x365f2f:0x1cf,_0x459bbf:0x15e,_0xabe82c:0x10b,_0x4627f7:0x1be,_0x2193dc:0x7e,_0x4e5117:0x181,_0x30b1ee:0x2b0,_0x35442e:0x5b7,_0x4bf8c5:0x4e1,_0x915361:0x419,_0x50c98f:0x273,_0x2deecb:0x1f6,_0x7ac9e6:0x134,_0x7f3503:0x79,_0x9f6956:0x20,_0x5d56d5:0xd1,_0x306511:0x199,_0x23c945:0x8a,_0x380f37:0x20,_0x2ccb2d:0x11d,_0x4d325b:0x452,_0x1180be:0x608,_0x384e8a:0x6b1,_0x53d321:0x36d,_0x21d9d2:0x0,_0x2171b0:0xb5,_0x276803:0x198,_0x431a08:0x72,_0x4e34ab:0x44f,_0x56c495:0x36a,_0xac95b8:0x1db,_0x47ab13:0x49,_0x34f6b1:0xa2,_0x4d5e53:0x82,_0x30d735:0x44f,_0x48251f:0x412,_0x174298:0x2d1,_0x69e9b3:0x17e,_0x57d892:0x138},_0x493b38={_0x143d27:0x58,_0x526f93:0x101},_0x29b14b={_0x1d502c:0x37d,_0x2cca32:0x46e,_0x238fad:0x3de,_0x30a05d:0x441,_0xc4028e:0xb8,_0xc8bea8:0x12e},_0x454f5f={_0x1b7738:0x129},_0x2251fc={_0x3ef2b9:0x19b,_0x1daf37:0x131},_0x5028c1={_0x2759cb:0x15f,_0xbf8b15:0x147};function _0x4fba17(_0x406adf,_0x3fef58,_0x33ab9e,_0x467ba1){return _0x5b337b(_0x3fef58- -_0x5028c1._0x2759cb,_0x33ab9e,_0x33ab9e-_0x5028c1._0xbf8b15,_0x467ba1-0x87);}function _0x41c8f1(_0x48837e,_0x50815a,_0x5d236d,_0x1f5925){return _0x5b337b(_0x50815a- -_0x2251fc._0x3ef2b9,_0x5d236d,_0x5d236d-_0x2251fc._0x1daf37,_0x1f5925-0x1d9);}if(!_0x4202c3[_0x4fba17(_0x726ac6._0x2ba8ab,0x334,0x378,_0x726ac6._0x283dc3)]||_0x4202c3['engines']['length']===0x0)throw new Error(_0x41c8f1(0x337,0x209,_0x726ac6._0x3a7a32,_0x726ac6._0x573750));const _0x124616=_0x4202c3[_0x4fba17(_0x726ac6._0x53584d,0x395,0x4ea,0x485)]??_0x4fba17(0x265,0xe3,-_0x726ac6._0x5f156b,-0x39),_0x589002=_0x4202c3[_0x41c8f1(-_0x726ac6._0x26f511,_0x726ac6._0x4e0045,0xe3,0x9c)];return defineTool({'name':_0x124616,'permissionClass':_0x41c8f1(_0x726ac6._0x3fdb3e,_0x726ac6._0x6e59aa,0x275,_0x726ac6._0x46e4bc),'description':_0x41c8f1(-0xa3,_0x726ac6._0x355e0a,0x265,0x63),'inputSchema':{'type':_0x4fba17(_0x726ac6._0x46c1bc,0x281,0x2ed,_0x726ac6._0x174fa0),'properties':{'description':{'type':_0x41c8f1(0x375,0x2f6,_0x726ac6._0x193923,0x23b)},'query':{'type':_0x41c8f1(_0x726ac6._0x29e977,0x2f6,_0x726ac6._0x195c7d,_0x726ac6._0x91af06)},'count':{'type':_0x4fba17(_0x726ac6._0xeb44ca,0x13b,0x55,0x199)},'offset':{'type':_0x41c8f1(_0x726ac6._0x10e793,0xff,0x24d,0xfb)},'domains':{'type':'array','items':{'type':_0x41c8f1(0x3b9,0x2f6,0x388,_0x726ac6._0x1e68b2)}},'recencyDays':{'type':_0x4fba17(_0x726ac6._0x5a3fb1,0x13b,_0x726ac6._0x49667b,_0x726ac6._0x2ddc68)},'lang':{'type':_0x41c8f1(_0x726ac6._0x4f2198,0x2f6,_0x726ac6._0x4b953f,_0x726ac6._0x35f11e)},'region':{'type':_0x4fba17(_0x726ac6._0x50b894,0x332,0x3f7,0x26a)},'safe':{'type':_0x41c8f1(_0x726ac6._0x318ea8,0x2b7,_0x726ac6._0x4cf414,0x414)},'type':{'type':'string'},'hydrateMeta':{'type':_0x4fba17(_0x726ac6._0x56b89d,0x2f3,0x30e,0x3d5)}},'required':[_0x4fba17(0x2ee,_0x726ac6._0x192bb9,0xb7,_0x726ac6._0x198da6)]},async *'execute'(_0x16a82f,_0x34f00f){const _0x19e487={_0x463a46:0xa9,_0x431799:0x13f},_0x1bc37f={_0x53fe8d:0x1b1,_0x5be53e:0x1c3},_0x1fcb19=_0x16a82f[_0x18bff8(_0x77497c._0x2dc7dc,0x4dc,0x4d1,_0x77497c._0x3584fd)][_0x18bff8(0x45c,_0x77497c._0xf17ec7,0x4bc,0x546)]();if(!_0x1fcb19)throw new ToolExecutionError(_0x18bff8(0x5ed,0x32c,0x486,_0x77497c._0x561350));const _0x394b0b={'query':_0x1fcb19,'count':Math['max'](0x1,Math[_0x18bff8(0x522,_0x77497c._0x231f64,0x34f,0x460)](0x32,Math['trunc'](_0x16a82f['count']??0xa))),'offset':Math['max'](0x0,Math[_0x357a76(-_0x77497c._0x1121e5,0x3,0x188,_0x77497c._0x2a40ba)](_0x16a82f[_0x18bff8(0x3ed,_0x77497c._0x522f14,_0x77497c._0x565356,0x412)]??0x0)),'domains':_0x16a82f['domains']??[],'recencyDays':Math[_0x18bff8(0x4f2,0x457,0x3ca,_0x77497c._0x4276a0)](0x0,Math['trunc'](_0x16a82f[_0x18bff8(_0x77497c._0x549179,0x561,_0x77497c._0x2c3d73,_0x77497c._0x59921d)]??0x0)),'lang':_0x16a82f[_0x18bff8(0x3dd,0x48d,_0x77497c._0x289bed,_0x77497c._0x1edec6)]??'en','region':_0x16a82f['region']??'','safe':_0x16a82f[_0x18bff8(0x4a3,0x5c8,_0x77497c._0x3c0625,0x499)]??!![],'type':normalizeType(_0x16a82f[_0x18bff8(_0x77497c._0x5581ac,0x240,0x421,0x3bb)]),'hydrateMeta':_0x16a82f['hydrateMeta']??![]};function _0x357a76(_0x225750,_0x3e9875,_0x5060c2,_0xc4aa62){return _0x41c8f1(_0x225750-0x1b7,_0x3e9875- -_0x454f5f._0x1b7738,_0x225750,_0xc4aa62-0x174);}let _0x1d2ed6=[],_0x1d0382=_0x18bff8(0x1f2,_0x77497c._0x52f041,0x477,_0x77497c._0x3bfab4);for(const _0x59a632 of _0x4202c3[_0x18bff8(_0x77497c._0x283112,_0x77497c._0x13de65,_0x77497c._0x4243f9,_0x77497c._0x4640d7)]){try{if(isGoogleCseEngine(_0x59a632))_0x1d2ed6=await searchGoogleCse(_0x59a632,_0x394b0b,_0x34f00f['signal']),_0x1d0382=_0x357a76(0x11e,0x232,_0x77497c._0x599efc,0x10d);else{if(isOllamaEngine(_0x59a632)){const _0x45211c=await searchOllama(_0x59a632,_0x394b0b,_0x34f00f[_0x357a76(_0x77497c._0x4b32e6,0x181,_0x77497c._0x377b67,0x199)]);_0x1d2ed6=_0x45211c[_0x18bff8(_0x77497c._0x3c43b2,0x571,_0x77497c._0x57ff72,0x635)],_0x1d0382=_0x45211c[_0x18bff8(_0x77497c._0x53fd94,_0x77497c._0x5012eb,_0x77497c._0x45a9e7,0x3d9)];}else{if(isTavilyEngine(_0x59a632)){const _0x1d77d4=await searchTavily(_0x59a632,_0x394b0b,_0x34f00f[_0x357a76(_0x77497c._0x557c9e,0x181,0x27,0x4d)]);_0x1d2ed6=_0x1d77d4['items'],_0x1d0382=_0x1d77d4[_0x357a76(_0x77497c._0x56881e,-_0x77497c._0x45b90f,0x111,-0x182)];}}}if(_0x1d2ed6[_0x18bff8(_0x77497c._0x4c9834,_0x77497c._0x206af6,_0x77497c._0x4cb4dc,0x59a)]>0x0)break;}catch(_0x50a49c){if(_0x59a632===_0x4202c3[_0x357a76(0x26f,_0x77497c._0x365f2f,_0x77497c._0x459bbf,_0x77497c._0xabe82c)][_0x4202c3['engines'][_0x357a76(0x32c,_0x77497c._0x4627f7,_0x77497c._0x2193dc,0x31)]-0x1])throw _0x50a49c;}}_0x394b0b['hydrateMeta']&&_0x1d2ed6[_0x18bff8(0x632,0x450,0x657,0x59a)]>0x0&&(_0x1d2ed6=await hydrateResults(_0x1d2ed6,_0x394b0b['lang'],_0x34f00f[_0x357a76(0x235,_0x77497c._0x4e5117,0x1a5,_0x77497c._0x30b1ee)],_0x589002));const _0xa3a8cd=new Set();_0x1d2ed6=_0x1d2ed6['filter'](_0x53356b=>{const _0x44c9d5=_0x53356b[_0x4721cf(_0x29b14b._0x1d502c,0x478,_0x29b14b._0x2cca32,0x34e)]['toLowerCase']();if(!_0x44c9d5||_0xa3a8cd[_0x4721cf(0x32c,0x2d0,_0x29b14b._0x238fad,_0x29b14b._0x30a05d)](_0x44c9d5))return![];function _0x4721cf(_0x479d1f,_0x48abf6,_0x5587cc,_0x2350ad){return _0x357a76(_0x479d1f,_0x5587cc-0x2ea,_0x5587cc-_0x1bc37f._0x53fe8d,_0x2350ad-_0x1bc37f._0x5be53e);}_0xa3a8cd[_0x4a29a5(-0x80,-_0x29b14b._0xc4028e,-_0x29b14b._0xc8bea8,-0x3c)](_0x44c9d5);function _0x4a29a5(_0x5812f3,_0x2bab65,_0x1711c8,_0x5449b7){return _0x357a76(_0x1711c8,_0x2bab65- -_0x19e487._0x463a46,_0x1711c8-_0x19e487._0x431799,_0x5449b7-0x197);}return!![];}),_0x1d2ed6=_0x1d2ed6[_0x18bff8(0x3ed,0x64b,_0x77497c._0x35442e,_0x77497c._0x4bf8c5)]((_0xc6bccd,_0x5e7e65)=>({..._0xc6bccd,'source':{..._0xc6bccd[_0x18bff8(0x593,0x4a9,0x65d,0x578)],'rank':_0x5e7e65+0x1}}));const _0x29a54a={};if(_0x394b0b[_0x18bff8(_0x77497c._0x915361,_0x77497c._0x50c98f,0x36a,0x3fc)][_0x357a76(_0x77497c._0x2deecb,_0x77497c._0x4627f7,0x296,_0x77497c._0x7ac9e6)]>0x0)_0x29a54a[_0x357a76(_0x77497c._0x7f3503,_0x77497c._0x9f6956,-_0x77497c._0x5d56d5,_0x77497c._0x306511)]=_0x394b0b[_0x357a76(-_0x77497c._0x23c945,_0x77497c._0x380f37,-_0x77497c._0x2ccb2d,0x6a)];if(_0x394b0b['recencyDays']>0x0)_0x29a54a[_0x18bff8(_0x77497c._0x4d325b,0x585,_0x77497c._0x1180be,0x597)]=_0x394b0b[_0x18bff8(0x610,0x434,_0x77497c._0x384e8a,0x597)];function _0x18bff8(_0x45ac41,_0x22bf2f,_0x50b09a,_0x3efe0e){return _0x41c8f1(_0x45ac41-_0x493b38._0x143d27,_0x3efe0e-0x2b3,_0x45ac41,_0x3efe0e-_0x493b38._0x526f93);}if(_0x394b0b['lang']!=='en')_0x29a54a[_0x18bff8(0x5c8,0x49d,_0x77497c._0x53d321,0x482)]=_0x394b0b[_0x357a76(0x21c,0xa6,_0x77497c._0x21d9d2,-_0x77497c._0x2171b0)];if(_0x394b0b[_0x357a76(-_0x77497c._0x276803,-_0x77497c._0x431a08,_0x77497c._0x56881e,0x7d)])_0x29a54a['region']=_0x394b0b[_0x18bff8(0x224,0x397,_0x77497c._0x4e34ab,_0x77497c._0x56c495)];return yield createToolOutput(formatResults(_0x1d2ed6),{'engine':_0x1d0382,'count':_0x1d2ed6['length'],'items':_0x1d2ed6,'query':_0x394b0b[_0x357a76(_0x77497c._0xac95b8,0x68,0x136,-0x7)],...Object[_0x357a76(-_0x77497c._0x47ab13,0x17,_0x77497c._0x34f6b1,-_0x77497c._0x4d5e53)](_0x29a54a)['length']>0x0?{'appliedFilters':_0x29a54a}:{},'offset':_0x394b0b[_0x18bff8(0x391,_0x77497c._0x30d735,0x3ca,_0x77497c._0x48251f)],'totalRequested':_0x394b0b[_0x357a76(_0x77497c._0x174298,_0x77497c._0x69e9b3,0x17d,_0x77497c._0x57d892)],'hydrated':_0x394b0b['hydrateMeta']}),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,createMcpConnectionGeneration,createMcpOAuthProvider,createMcpTimeoutSource,createMcpTool,createMcpToolName,createMockToolRuntime,createShellExecTool,createTodoWriteTool,createToolOutput,createUpdateTopicTool,createViewFileTool,createWebFetchTool,createWebSearchTool,defineTool,deriveFinalToolOutput,extractOwnedMcpSafeError,filepath,files,isProbablyBinary,normalizeToolOutputValue,projectMcpTools,redactMcpDiagnostic,resolveAllowedPath,resolveDelegatedAgentOptions,resolveMcpTimeoutMs,resolveToolPermissionClass,resolveWorkspacePath,search,toMcpSafeError,toNuvinToolSchema,truncateToolOutput,validateToolInput};
|