@nuvin/agent-core 0.2.0-rc.6 → 0.2.0-rc.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- (function(_0x45a2f6,_0x3f6bef){const _0xea14c4={_0x3c6c6e:0x16b,_0x7d6b68:0x24,_0x3ab55e:0x6e6,_0x265223:0x5d3,_0x36210f:0x29,_0x3f700d:0x126,_0x202cb5:0x193,_0x3046b9:0x137,_0x4a12ba:0x224,_0x4efd6c:0x466,_0x57c3e6:0x42f,_0x3f6ac8:0x6b8,_0x2850c6:0x1da,_0x13aaed:0x238,_0x149c63:0x72c,_0x183650:0x4be,_0x3a9e25:0x64f,_0x435d5e:0x606,_0x4ffbd6:0x37c,_0x55ad8c:0x2cf,_0x29ed75:0x2e7},_0x2525d0={_0x4c7546:0x2d8},_0x35a0d7={_0x45cc81:0x1b2};function _0x2ea199(_0x203868,_0x4b942c,_0x3ea9be,_0x492098){return _0x5041(_0x492098-_0x35a0d7._0x45cc81,_0x203868);}const _0x4f7f03=_0x45a2f6();function _0x3e00f0(_0x331309,_0x1a9aa7,_0x16e32e,_0x204283){return _0x5041(_0x331309- -_0x2525d0._0x4c7546,_0x1a9aa7);}while(!![]){try{const _0x2d2ec5=parseInt(_0x3e00f0(-_0xea14c4._0x3c6c6e,_0xea14c4._0x7d6b68,-0x30b,-0x2ab))/0x1+parseInt(_0x2ea199(_0xea14c4._0x3ab55e,0x7cb,_0xea14c4._0x265223,0x652))/0x2+-parseInt(_0x3e00f0(-_0xea14c4._0x36210f,-0x85,0x21,-0xf9))/0x3*(-parseInt(_0x2ea199(0x500,0x51b,0x4fb,0x5a0))/0x4)+parseInt(_0x3e00f0(-0x1e,-_0xea14c4._0x3f700d,-_0xea14c4._0x202cb5,-0x1b))/0x5*(parseInt(_0x3e00f0(_0xea14c4._0x3046b9,0x3,0x2f1,_0xea14c4._0x4a12ba))/0x6)+-parseInt(_0x2ea199(_0xea14c4._0x4efd6c,_0xea14c4._0x57c3e6,_0xea14c4._0x3f6ac8,0x50c))/0x7*(parseInt(_0x3e00f0(-0xf4,-_0xea14c4._0x2850c6,-_0xea14c4._0x13aaed,-0x1e1))/0x8)+-parseInt(_0x2ea199(_0xea14c4._0x149c63,_0xea14c4._0x183650,0x66e,0x5b5))/0x9+parseInt(_0x2ea199(0x512,0x5c7,_0xea14c4._0x3a9e25,_0xea14c4._0x435d5e))/0xa*(-parseInt(_0x2ea199(_0xea14c4._0x4ffbd6,0x3d0,_0xea14c4._0x55ad8c,_0xea14c4._0x29ed75))/0xb);if(_0x2d2ec5===_0x3f6bef)break;else _0x4f7f03['push'](_0x4f7f03['shift']());}catch(_0x5c708){_0x4f7f03['push'](_0x4f7f03['shift']());}}}(_0x32bc,0x7838b));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,resolveToolPermissionClass,validateToolInput}from'../chunk-A4CS4HLK.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 _0x3776ef from'path';var EXTENSION_TO_LANGUAGE={'.ts':_0x151cc1(0x333,0x2bd,0x169,0x364),'.tsx':_0x1ac42a(-0x362,-0x2a2,-0x1e6,-0x1f7),'.js':_0x151cc1(0x1f0,0x2b4,0x259,0x380),'.jsx':_0x1ac42a(0xe3,-0xb1,0x11f,0x1c4),'.mjs':'javascript','.cjs':_0x151cc1(0x410,0x2b4,0x199,0x15a),'.mts':_0x151cc1(0x12c,0x2bd,0x2aa,0x241),'.cts':_0x1ac42a(-0x15c,-0x1c7,-0xc0,-0x103),'.json':_0x1ac42a(0xb6,0x2e,-0x2a,0x143),'.jsonc':_0x151cc1(0x21c,0x23a,0x12f,0x1a6)};function getLanguageId(_0x471328){const _0x397e87={_0x504afe:0x258,_0x5f5d2b:0x2f0,_0x3aff20:0x4b9},_0x5a235c={_0x47568f:0x191,_0x1a9723:0x1c},_0x3441fb={_0x5d1df8:0x41,_0x28eb87:0x4f8};function _0x26a70d(_0x36e3f0,_0x3c5c6f,_0x4908ef,_0x4e0609){return _0x1ac42a(_0x36e3f0-_0x3441fb._0x5d1df8,_0x3c5c6f-0xe7,_0x4908ef-_0x3441fb._0x28eb87,_0x4e0609);}function _0x2b9efb(_0x1e80bd,_0x30f835,_0x35bd56,_0x10c259){return _0x151cc1(_0x1e80bd-_0x5a235c._0x47568f,_0x10c259- -0x1d0,_0x1e80bd,_0x10c259-_0x5a235c._0x1a9723);}return EXTENSION_TO_LANGUAGE[_0x3776ef[_0x2b9efb(0x15c,_0x397e87._0x504afe,0x3e4,_0x397e87._0x5f5d2b)](_0x471328)[_0x26a70d(_0x397e87._0x3aff20,0x4b0,0x379,0x2d1)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8,DEFAULT_LSP_REQUEST_TIMEOUT_MS=0x7530;function uriForPath(_0x3f04a5){const _0x1e8d8d={_0x2fb978:0x1c6},_0x4bc867={_0x349962:0x163};function _0x139cc1(_0x3b6c95,_0x22cbcb,_0x4228bb,_0x138bf3){return _0x1ac42a(_0x3b6c95-0x192,_0x22cbcb-_0x4bc867._0x349962,_0x138bf3-0x267,_0x3b6c95);}return pathToFileURL(_0x3f04a5)[_0x139cc1(0x14,-0x21,_0x1e8d8d._0x2fb978,0x139)]();}function textDocumentPosition(_0xd0500a){const _0x22a106={_0x1ac840:0x51c,_0x441a51:0x50c},_0x494d61={_0x6a05c1:0x4b,_0x624235:0x56d};function _0x32823d(_0x461b4b,_0x46f9f4,_0x2fac7a,_0x2ae277){return _0x1ac42a(_0x461b4b-_0x494d61._0x6a05c1,_0x46f9f4-0x10,_0x2ae277-_0x494d61._0x624235,_0x46f9f4);}return{'textDocument':{'uri':uriForPath(_0xd0500a['file'])},'position':{'line':_0xd0500a['line'],'character':_0xd0500a[_0x32823d(_0x22a106._0x1ac840,0x3b6,0x5cd,_0x22a106._0x441a51)]}};}function normalizeLocations(_0x1b94e1){const _0x43b06f={_0x17b245:0x276,_0x190cea:0x313},_0x24add5={_0x1d92e8:0x1e0};function _0x52f64d(_0x4b5abc,_0x71b557,_0x3f4ba7,_0x41d2cf){return _0x151cc1(_0x4b5abc-0x16d,_0x71b557-0x22,_0x3f4ba7,_0x41d2cf-_0x24add5._0x1d92e8);}if(!_0x1b94e1)return[];return Array[_0x52f64d(0x17f,_0x43b06f._0x17b245,_0x43b06f._0x190cea,0x17d)](_0x1b94e1)?_0x1b94e1:[_0x1b94e1];}async function withLspTimeout(_0x4d947a,_0x284f97,_0x19c700){const _0x284bb3={_0x28a53d:0x143,_0x1e477c:0x102,_0x37a6fe:0x3c,_0x38b272:0xd4,_0x374f58:0x29,_0xc4f5ee:0x11},_0x86b459={_0x298f24:0x4bd},_0x23768c={_0x43b0c8:0x121,_0x366943:0x1e7,_0x590ebd:0x60};function _0x23a0dc(_0x255291,_0x51d931,_0x530254,_0x2c23dd){return _0x1ac42a(_0x255291-_0x23768c._0x43b0c8,_0x51d931-_0x23768c._0x366943,_0x255291- -_0x23768c._0x590ebd,_0x530254);}if(!Number['isFinite'](_0x284f97)||_0x284f97<0x1)throw new Error(_0x4bd38f(0x215,0x6d,-_0x284bb3._0x28a53d,0x12e)+_0x19c700+_0x23a0dc(-_0x284bb3._0x1e477c,-0x235,_0x284bb3._0x37a6fe,-0x224));let _0xa5307;function _0x4bd38f(_0x5a14f3,_0x5daf40,_0x18d941,_0x1d4146){return _0x151cc1(_0x5a14f3-0x135,_0x5daf40- -0x17d,_0x5a14f3,_0x1d4146-0x64);}try{return await Promise[_0x4bd38f(-_0x284bb3._0x38b272,_0x284bb3._0x374f58,0x1c,-_0x284bb3._0xc4f5ee)]([_0x4d947a,new Promise((_0x223c0a,_0x45f6e0)=>{_0xa5307=setTimeout(()=>{function _0x572eb7(_0x4fa240,_0x3b31be,_0xa80718,_0x4966e2){return _0x5041(_0x4966e2- -0x52,_0x4fa240);}_0x45f6e0(new Error('LSP\x20'+_0x19c700+'\x20timed\x20out\x20after\x20'+_0x284f97+_0x572eb7(_0x86b459._0x298f24,0x2ed,0x36f,0x3cb)));},_0x284f97);})]);}finally{if(_0xa5307!==void 0x0)clearTimeout(_0xa5307);}}async function createLspClient(_0x2f6ff5){const _0x2a947c={_0x46bdbb:0x691,_0xd91248:0x84f,_0xa5da6:0x3e1,_0x112eaf:0x3ac,_0x2943c7:0x45f,_0x368706:0x599,_0x4ff50c:0x5bd,_0xa2f932:0x45f,_0x1ba004:0x4f7,_0x10887b:0x558,_0xc977d7:0x72d,_0x737d9c:0x8c1,_0x2f85be:0x3b4,_0xbc63e7:0x32b,_0x5a6dc2:0x552,_0x1d79a4:0x6d4,_0xbc0429:0x569,_0x2d25da:0x4e7,_0x571909:0x3f0,_0x5cf601:0x36c,_0x444a39:0x2e1,_0x37f309:0x5af,_0x1d76ef:0x679,_0x47e477:0x2e9,_0x243848:0x3ad,_0x220be5:0x5d3,_0x46679a:0x6f4,_0x301167:0x56e,_0x2df774:0x54e,_0x2a7211:0x575,_0x9b47a5:0x41d,_0x52b44f:0x301,_0x47e749:0x3fa,_0x2b6bf5:0x42a,_0x2c2f64:0x3a7,_0x2cce8b:0x3f8,_0x5524f3:0x691,_0x53d93e:0x605,_0x486e8c:0x6b8,_0x2e1c0d:0x502,_0x35214f:0x82f,_0x15d88d:0x549,_0x5864f9:0x3b8,_0x564509:0x386,_0x3049e2:0x3ef,_0x4a6a73:0x36d,_0x36ef7d:0x2d2,_0x4e4ae8:0x44d,_0x5dab44:0x349},_0x244c83={_0x2f825d:0x555,_0x125a35:0x4b3,_0x44d0e9:0x440,_0x3d63c5:0x3ec,_0x5038e4:0x3fb,_0x5c0971:0x64b,_0x526194:0x5c2,_0x27abe7:0x60a,_0x15e75a:0x613,_0x1b5442:0x501,_0xa5e844:0x4c9,_0x151d49:0x5c0,_0x33ade4:0x68a,_0x496cef:0x56f},_0x471b4d={_0x44fc5b:0x1d4},_0xba95ee={_0x35b528:0x15d,_0x647d01:0x11d},_0x482e52={_0x29f67a:0x496,_0x51bd7e:0x5bc},_0x15e504={_0x4cf49f:0x363,_0x442c66:0x3dc,_0x28ff71:0x30e,_0x2c2ec5:0x32e,_0x5dcf2b:0x173,_0xca7276:0x2f9},_0x5734d8={_0x2562e5:0x36},_0x5cebaa={_0x4cf8b5:0x254},_0x463945={_0x467cad:0x384,_0xcf5887:0x263},_0x1b2d11={_0x408217:0x2ac,_0x3726e3:0x2e2,_0x1baf60:0x463},_0x1c60ed={_0x1d68ab:0x6c,_0x678563:0x142},_0x107dab={_0x2c9ca6:0x19,_0x3bafb9:0x2b5,_0x279ddd:0x101},_0x4af7ca={_0x5308e8:0x3c5},_0x441fcd={_0x24f3e3:0x5bc,_0x12e78f:0x61d,_0x39f03e:0x4ab},_0x3940c5={_0x9d19d9:0xca},_0x17746c={_0x4bdb57:0x3a},_0x1a0792={_0x198571:0x237,_0x1690b7:0x84},_0x33f1d4={_0x50b356:0x2db},_0x46bb97={_0x2a6c42:0x76e},_0x34b284={_0x3e33dc:0x5e4,_0x36e4ef:0x45e,_0x193f77:0x4e3},_0x4767f5={_0x5bdd90:0x141,_0x4c4828:0x4a},_0x50d391={_0x4bb992:0x386,_0x28e759:0x461,_0x2148bc:0x51a,_0xbd20fb:0x496,_0xa88bd1:0x77c,_0xb39b18:0x61f,_0x159718:0x4ab,_0x2443c9:0x6c,_0xd9c6d:0x2a},_0x4fe2a0={_0x4bc2fe:0x114,_0x4bb540:0x33b},_0x4bf55f={_0x5976be:0xbb,_0x21d54f:0x0},_0x3fefce={_0x510f89:0x83},_0x11e2b4={_0x1b450d:0x1c,_0x527627:0x129,_0x3f3396:0x3f1,_0x2684f4:0x82,_0x43cff4:0x231,_0x220597:0x12d,_0x3a8553:0x9b,_0x40c535:0x117,_0x390f5c:0x299,_0x6133d8:0x1f3},_0x4cf32c={_0x3e7e77:0x9a6,_0x5851c0:0x7d1},_0x3f17fa={_0x5071a0:0x309},_0xa19538=_0x2f6ff5[_0x370746(_0x2a947c._0x46bdbb,0x683,0x6ca,_0x2a947c._0xd91248)][_0x276703(_0x2a947c._0xa5da6,0x3de,_0x2a947c._0x112eaf,_0x2a947c._0x2943c7)]['stdout'],_0x319c67=_0x2f6ff5['handle'][_0x276703(0x53e,_0x2a947c._0x368706,_0x2a947c._0x4ff50c,_0x2a947c._0xa2f932)][_0x276703(_0x2a947c._0x1ba004,0x47e,0x56a,_0x2a947c._0x10887b)];if(!_0xa19538||!_0x319c67)throw new Error('LSP\x20server\x20process\x20must\x20expose\x20stdout\x20and\x20stdin\x20streams');const _0x49afa8=_0x2f6ff5[_0x370746(_0x2a947c._0xc977d7,0x858,0x876,_0x2a947c._0x737d9c)]??DEFAULT_LSP_REQUEST_TIMEOUT_MS,_0x344ef7=createMessageConnection(new StreamMessageReader(_0xa19538),new StreamMessageWriter(_0x319c67)),_0x293160=new Map(),_0x18642b=new Map();let _0xd73206=![];function _0x370746(_0x528994,_0x4d592c,_0x127ca4,_0xeb36be){return _0x151cc1(_0x528994-0xac,_0x528994-_0x3f17fa._0x5071a0,_0x4d592c,_0xeb36be-0x7a);}const _0x2a10e3=async(_0x414fcd,_0x233cee)=>{const _0x113699={_0x4331c4:0x82,_0xb1863f:0x29a};function _0x4dde0b(_0xac775b,_0x19bbbe,_0x4d54ca,_0x3c2659){return _0x276703(_0x3c2659,_0x19bbbe-0x61,_0x4d54ca-_0x113699._0x4331c4,_0xac775b-_0x113699._0xb1863f);}return withLspTimeout(_0x344ef7[_0x4dde0b(0x806,_0x4cf32c._0x3e7e77,_0x4cf32c._0x5851c0,0x753)](_0x414fcd,_0x233cee),_0x49afa8,_0x414fcd);};_0x344ef7[_0x276703(0x522,_0x2a947c._0x2f85be,0x40a,0x3bb)](_0x276703(_0x2a947c._0xbc63e7,0x346,_0x2a947c._0x5a6dc2,0x4e8),_0x19609d=>{const _0xadc5ea={_0xbb9d64:0x626,_0x144aaf:0xcf},_0x452945={_0x2c4745:0x80};function _0x4b2335(_0x4ed75b,_0xcad532,_0x489ff8,_0x2aa6db){return _0x370746(_0x2aa6db- -0x3e6,_0x489ff8,_0x489ff8-_0x452945._0x2c4745,_0x2aa6db-0x128);}_0x293160[_0x335985(-_0x11e2b4._0x1b450d,-0xac,-0xa4,_0x11e2b4._0x527627)](_0x19609d['uri'],_0x19609d[_0x4b2335(_0x11e2b4._0x3f3396,_0x11e2b4._0x2684f4,0x2e0,0x242)]);const _0x50ab92=_0x18642b[_0x4b2335(0x27b,_0x11e2b4._0x43cff4,_0x11e2b4._0x220597,0x28c)](_0x19609d['uri']);if(!_0x50ab92)return;function _0x335985(_0x50fc07,_0x4ca404,_0xccbbe1,_0x4643cd){return _0x370746(_0xccbbe1- -_0xadc5ea._0xbb9d64,_0x4ca404,_0xccbbe1-0xc,_0x4643cd-_0xadc5ea._0x144aaf);}_0x18642b[_0x4b2335(-_0x11e2b4._0x3a8553,0xa0,-0x4a,_0x11e2b4._0x40c535)](_0x19609d[_0x4b2335(0x10c,_0x11e2b4._0x2684f4,_0x11e2b4._0x390f5c,_0x11e2b4._0x6133d8)]);for(const _0x1a45ba of _0x50ab92)_0x1a45ba();});function _0x276703(_0x259741,_0x530332,_0x341610,_0x48ac69){return _0x151cc1(_0x259741-0x1ef,_0x48ac69-0xa3,_0x259741,_0x48ac69-_0x3fefce._0x510f89);}_0x344ef7[_0x370746(0x60a,_0x2a947c._0x1d79a4,_0x2a947c._0xbc0429,_0x2a947c._0x2d25da)]();let _0x5c239f;try{_0x5c239f=await _0x2a10e3(_0x276703(0x36f,_0x2a947c._0x571909,_0x2a947c._0x5cf601,_0x2a947c._0x444a39),{'processId':process['pid'],'rootUri':uriForPath(_0x2f6ff5[_0x370746(_0x2a947c._0x37f309,_0x2a947c._0x1d76ef,0x459,0x51b)]),'workspaceFolders':[{'uri':uriForPath(_0x2f6ff5[_0x276703(_0x2a947c._0x47e477,0x284,_0x2a947c._0x243848,0x349)]),'name':_0x2f6ff5[_0x370746(_0x2a947c._0x220be5,_0x2a947c._0x46679a,0x519,_0x2a947c._0x301167)]['id']}],'initializationOptions':_0x2f6ff5['handle'][_0x276703(0x55c,_0x2a947c._0x2df774,_0x2a947c._0x2a7211,0x3ee)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0x276703(_0x2a947c._0x9b47a5,_0x2a947c._0x52b44f,0x230,0x3ab),_0x276703(_0x2a947c._0x47e749,_0x2a947c._0x2b6bf5,0x39c,_0x2a947c._0x2c2f64)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});}catch(_0x561899){_0x344ef7[_0x276703(0x586,0x533,0x2ec,_0x2a947c._0x2cce8b)](),_0x2f6ff5[_0x370746(_0x2a947c._0x5524f3,_0x2a947c._0x53d93e,0x629,_0x2a947c._0x486e8c)][_0x370746(0x6c5,_0x2a947c._0x2e1c0d,0x7ea,_0x2a947c._0x35214f)]['kill']();throw _0x561899;}_0x344ef7[_0x370746(_0x2a947c._0x15d88d,_0x2a947c._0x5864f9,_0x2a947c._0x564509,_0x2a947c._0x3049e2)]('initialized',{});const _0x5a4584={'serverId':_0x2f6ff5[_0x276703(0x4cc,0x480,0x4c4,_0x2a947c._0x4a6a73)]['id'],'root':_0x2f6ff5[_0x276703(_0x2a947c._0x36ef7d,0x17d,_0x2a947c._0x4e4ae8,_0x2a947c._0x5dab44)],'connection':_0x344ef7,'diagnostics':_0x293160,'capabilities':_0x5c239f[_0x276703(0x371,0x232,0x4a6,0x394)]??{},'notify':{async 'open'({path:_0x10af08}){function _0x186bb8(_0x9366bc,_0xc5458f,_0x374683,_0x510514){return _0x276703(_0xc5458f,_0xc5458f-_0x4bf55f._0x5976be,_0x374683-_0x4bf55f._0x21d54f,_0x374683-0x237);}function _0x4145cd(_0x2d0057,_0x3f3010,_0x4201a8,_0x115c09){return _0x276703(_0x115c09,_0x3f3010-_0x4fe2a0._0x4bc2fe,_0x4201a8-0x171,_0x2d0057- -_0x4fe2a0._0x4bb540);}const _0x1d714b=await readFile(_0x10af08,_0x4145cd(0x254,_0x50d391._0x4bb992,0x197,0x397));_0x344ef7[_0x186bb8(_0x50d391._0x28e759,0x3e0,_0x50d391._0x2148bc,_0x50d391._0xbd20fb)](_0x186bb8(0x5dd,_0x50d391._0xa88bd1,_0x50d391._0xb39b18,_0x50d391._0x159718),{'textDocument':{'uri':uriForPath(_0x10af08),'languageId':getLanguageId(_0x10af08)??_0x4145cd(_0x50d391._0x2443c9,_0x50d391._0xd9c6d,-0x74,0xa7),'version':0x1,'text':_0x1d714b}});},async 'change'({path:_0x526b96,version:_0x4c9b1b}){const _0x4a1ccc={_0x2c57fe:0x102,_0x536f4b:0x299},_0x4773e7={_0xd3e290:0x114,_0x4e31d6:0x2e4};function _0x47f531(_0x3ee2db,_0x5a17d2,_0x89a437,_0x5cb161){return _0x276703(_0x5a17d2,_0x5a17d2-_0x4773e7._0xd3e290,_0x89a437-0x1df,_0x5cb161- -_0x4773e7._0x4e31d6);}const _0x14ceb5=await readFile(_0x526b96,'utf8');function _0x3f9a5d(_0x53ebdc,_0x4b0599,_0x41a9f6,_0xb771bb){return _0x276703(_0x41a9f6,_0x4b0599-_0x4a1ccc._0x2c57fe,_0x41a9f6-0x71,_0xb771bb- -_0x4a1ccc._0x536f4b);}_0x344ef7[_0x3f9a5d(_0x4767f5._0x5bdd90,0x19e,-0x9f,_0x4767f5._0x4c4828)](_0x3f9a5d(0x35,-0x248,-0x173,-0x7a),{'textDocument':{'uri':uriForPath(_0x526b96),'version':_0x4c9b1b},'contentChanges':[{'text':_0x14ceb5}]});},async 'close'({path:_0x277109}){const _0x155934={_0x13235d:0x64a};function _0x5dac7a(_0x4885de,_0x1b7e42,_0x5a8690,_0x2c0dae){return _0x276703(_0x1b7e42,_0x1b7e42-0x61,_0x5a8690-0x28,_0x4885de-0x2d0);}function _0x18530a(_0x538136,_0x50b569,_0x226ee7,_0x905265){return _0x370746(_0x538136- -_0x155934._0x13235d,_0x50b569,_0x226ee7-0xc0,_0x905265-0x1e);}_0x344ef7[_0x18530a(-0x101,-0x151,0xb1,-0x20f)](_0x5dac7a(_0x34b284._0x3e33dc,_0x34b284._0x36e4ef,0x78b,_0x34b284._0x193f77),{'textDocument':{'uri':uriForPath(_0x277109)}});}},'request':{async 'definition'(_0x352190){return normalizeLocations(await _0x2a10e3('textDocument/definition',textDocumentPosition(_0x352190)));},async 'references'(_0xc75181){const _0x454955={_0x134681:0x1c0};function _0x5b22eb(_0x2525b3,_0x221261,_0xedf3d5,_0x509290){return _0x370746(_0xedf3d5- -0x20,_0x221261,_0xedf3d5-0x82,_0x509290-_0x454955._0x134681);}return normalizeLocations(await _0x2a10e3(_0x5b22eb(0x634,_0x46bb97._0x2a6c42,0x62b,0x4fd),{...textDocumentPosition(_0xc75181),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x1e1c29){const _0x28e3e6={_0x59bf3c:0xad,_0x1f3467:0x182};function _0x4aa657(_0x5583e7,_0x3def2b,_0x105a7d,_0xf91d3d){return _0x370746(_0x3def2b- -0x233,_0xf91d3d,_0x105a7d-_0x28e3e6._0x59bf3c,_0xf91d3d-_0x28e3e6._0x1f3467);}return await _0x2a10e3(_0x4aa657(0x31e,_0x33f1d4._0x50b356,0x441,0x436),textDocumentPosition(_0x1e1c29))??null;},async 'documentSymbol'(_0x3fb4d6){const _0x2ffe07={_0x4691c6:0xe1};function _0x49ccdb(_0x287f32,_0x256c43,_0x343ff5,_0x2d866a){return _0x370746(_0x256c43- -0x5a2,_0x287f32,_0x343ff5-_0x2ffe07._0x4691c6,_0x2d866a-0x187);}return await _0x2a10e3(_0x49ccdb(_0x1a0792._0x198571,_0x1a0792._0x1690b7,-0xbd,-0x14),{'textDocument':{'uri':uriForPath(_0x3fb4d6)}})??[];},async 'workspaceSymbol'(_0xb0f09e){function _0x587785(_0x4d6468,_0x855bef,_0x448636,_0x15a498){return _0x370746(_0x448636- -0x5f1,_0x4d6468,_0x448636-0x59,_0x15a498-_0x17746c._0x4bdb57);}return await _0x2a10e3(_0x587785(-0x85,-0x149,-_0x3940c5._0x9d19d9,-0x78),{'query':_0xb0f09e})??[];},async 'implementation'(_0x54f1ce){const _0xa8c320={_0x5d9602:0x0,_0x2d66c0:0x66};function _0x1c4174(_0xffbc4d,_0xae10f2,_0x432eb4,_0x290fdb){return _0x276703(_0xae10f2,_0xae10f2-0x7e,_0x432eb4-_0xa8c320._0x5d9602,_0x290fdb-_0xa8c320._0x2d66c0);}return normalizeLocations(await _0x2a10e3(_0x1c4174(_0x441fcd._0x24f3e3,_0x441fcd._0x12e78f,_0x441fcd._0x39f03e,0x5e6),textDocumentPosition(_0x54f1ce)));},async 'prepareCallHierarchy'(_0x584869){function _0x4b4b9c(_0x5e6acc,_0x45562b,_0xd7b069,_0x9d5925){return _0x276703(_0x45562b,_0x45562b-0x1e9,_0xd7b069-0x2f,_0x9d5925- -_0x4af7ca._0x5308e8);}return await _0x2a10e3(_0x4b4b9c(-_0x107dab._0x2c9ca6,0x60,-_0x107dab._0x3bafb9,-_0x107dab._0x279ddd),textDocumentPosition(_0x584869))??[];},async 'incomingCalls'(_0xdd3208){function _0x46c856(_0x5602c4,_0x5da47d,_0x569030,_0x4265dc){return _0x276703(_0x5da47d,_0x5da47d-_0x1c60ed._0x1d68ab,_0x569030-_0x1c60ed._0x678563,_0x4265dc-0x70);}return await _0x2a10e3(_0x46c856(_0x1b2d11._0x408217,0x37b,_0x1b2d11._0x3726e3,_0x1b2d11._0x1baf60),{'item':_0xdd3208})??[];},async 'outgoingCalls'(_0x1be1db){function _0x5d6053(_0x3c478a,_0x4a1c66,_0x49d373,_0x1f2d4a){return _0x370746(_0x1f2d4a- -0x6f9,_0x49d373,_0x49d373-0x164,_0x1f2d4a-0x111);}return await _0x2a10e3(_0x5d6053(-_0x463945._0x467cad,-0x259,-0x295,-_0x463945._0xcf5887),{'item':_0x1be1db})??[];}},'waitForDiagnostics'({path:_0x342057,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x436813=uriForPath(_0x342057);function _0x478e0a(_0x2df833,_0x1be80a,_0x6781c3,_0x2f7025){return _0x276703(_0x2f7025,_0x1be80a-0x1c9,_0x6781c3-0x1a7,_0x2df833-_0x5cebaa._0x4cf8b5);}if(_0x293160[_0xda2b76(0x552,_0x482e52._0x29f67a,0x498,_0x482e52._0x51bd7e)](_0x436813))return Promise[_0x478e0a(0x612,0x446,0x51c,0x61d)]();function _0xda2b76(_0x13ef83,_0x46965b,_0x2de8db,_0x546159){return _0x276703(_0x46965b,_0x46965b-0x193,_0x2de8db-_0x5734d8._0x2562e5,_0x546159-0x107);}return new Promise(_0x1111ec=>{const _0x2aeafe={_0x365c6c:0x6f7,_0x3b1fc3:0x80f,_0x5b44ba:0x872,_0x3ec00d:0x6b8,_0x5461cf:0x78a},_0x19ced2={_0xe09f86:0x1ee};function _0x30aa2f(_0x167049,_0x1f9c23,_0x1f02af,_0x1dc2f2){return _0x478e0a(_0x1f9c23- -0x3fd,_0x1f9c23-_0x19ced2._0xe09f86,_0x1f02af-0xc4,_0x167049);}function _0x514eb4(_0x2e1f39,_0x22f89c,_0x3fc0e6,_0x4c92ab){return _0xda2b76(_0x2e1f39-0x1d,_0x4c92ab,_0x3fc0e6-0x5e,_0x3fc0e6- -0xe2);}const _0x44db6c=setTimeout(()=>{const _0x298044={_0x4ba8a4:0x139},_0x14daa3=_0x18642b[_0x3c5fb9(0x73e,_0x2aeafe._0x365c6c,0x66e,_0x2aeafe._0x3b1fc3)](_0x436813);function _0x2fd777(_0x151ff8,_0xafdc9,_0x155b35,_0x355105){return _0x5041(_0x155b35- -_0x298044._0x4ba8a4,_0xafdc9);}function _0x3c5fb9(_0xd2a0c2,_0x2a0a23,_0x5cd6df,_0x1814a1){return _0x5041(_0x2a0a23-0x3e1,_0x5cd6df);}_0x14daa3?.['delete'](_0x3313b8);if(_0x14daa3?.[_0x3c5fb9(0x921,_0x2aeafe._0x5b44ba,_0x2aeafe._0x3ec00d,_0x2aeafe._0x5461cf)]===0x0)_0x18642b['delete'](_0x436813);_0x1111ec();},timeoutMs),_0x3313b8=()=>{clearTimeout(_0x44db6c),_0x1111ec();},_0x4333c8=_0x18642b[_0x30aa2f(0x387,0x263,_0x15e504._0x4cf49f,_0x15e504._0x442c66)](_0x436813)??new Set();_0x4333c8[_0x30aa2f(0x234,_0x15e504._0x28ff71,0x219,_0x15e504._0x2c2ec5)](_0x3313b8),_0x18642b[_0x30aa2f(0x2ec,_0x15e504._0x5dcf2b,_0x15e504._0xca7276,0xe3)](_0x436813,_0x4333c8);});},async 'shutdown'(){function _0x2cf02e(_0x1865a7,_0x3e0a58,_0x14a4f2,_0x45094c){return _0x370746(_0x14a4f2- -_0xba95ee._0x35b528,_0x1865a7,_0x14a4f2-_0xba95ee._0x647d01,_0x45094c-0x60);}if(_0xd73206)return;_0xd73206=!![];function _0x4ff176(_0x47ab33,_0x35be19,_0x2a162d,_0x47190d){return _0x276703(_0x47ab33,_0x35be19-0x7e,_0x2a162d-_0x471b4d._0x44fc5b,_0x47190d-0x1ed);}try{await _0x2a10e3(_0x2cf02e(_0x244c83._0x2f825d,_0x244c83._0x125a35,0x47e,0x2e4),null),_0x344ef7[_0x2cf02e(_0x244c83._0x44d0e9,0x457,_0x244c83._0x3d63c5,0x41d)](_0x2cf02e(_0x244c83._0x5038e4,_0x244c83._0x5c0971,_0x244c83._0x526194,0x4bc));}catch{}finally{_0x344ef7[_0x2cf02e(_0x244c83._0x27abe7,_0x244c83._0x15e75a,_0x244c83._0x1b5442,_0x244c83._0xa5e844)](),_0x2f6ff5[_0x2cf02e(0x692,0x613,0x534,_0x244c83._0x151d49)][_0x2cf02e(_0x244c83._0x33ade4,0x4d4,0x568,0x625)][_0x4ff176(0x43c,0x3f8,0x5d5,_0x244c83._0x496cef)]();}}};return _0x5a4584;}import{spawn as _0xa5d2bf}from'child_process';import{access as _0x2bfaf1}from'fs/promises';import _0x246d48 from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x458083 from'os';import _0x2eb2bd from'path';function _0x151cc1(_0x1037ff,_0x4fd848,_0x19e8ac,_0x53a535){const _0x11a90f={_0x52f58f:0x53};return _0x5041(_0x4fd848-_0x11a90f._0x52f58f,_0x19e8ac);}import _0x1982f4 from'which';var installPromises=new Map();function sanitizePackageName(_0x14c256){const _0x286d99={_0x4957c2:0x615,_0x8bb793:0x325},_0x5b36f7={_0x3061f9:0x1ac};function _0x535340(_0x3ed9ad,_0x1e43ef,_0x2b1990,_0x2ebc2c){return _0x1ac42a(_0x3ed9ad-_0x5b36f7._0x3061f9,_0x1e43ef-0x3f,_0x2ebc2c-0x6a0,_0x2b1990);}return _0x14c256['replace'](/^@/,'')[_0x535340(_0x286d99._0x4957c2,0x64f,_0x286d99._0x8bb793,0x4f4)](/[/]/g,'__');}function binaryNameForPlatform(_0x4b6efe){const _0x3dd01c={_0x1d2f67:0x533,_0x1cc957:0x57c,_0x38f755:0x4e5,_0x42c708:0x84},_0x1eda33={_0xff059c:0x27e,_0x2e08ef:0xfd},_0x240c06={_0x11359d:0x92,_0x4fc9d9:0x3b};function _0xc727ad(_0x5454c5,_0xa88bc8,_0x1bd1b9,_0x9e02e){return _0x1ac42a(_0x5454c5-_0x240c06._0x11359d,_0xa88bc8-0x1c5,_0xa88bc8-_0x240c06._0x4fc9d9,_0x5454c5);}function _0xb0e5f1(_0x522f56,_0x2b9b8c,_0x59f9da,_0x54f26e){return _0x151cc1(_0x522f56-0xe2,_0x59f9da-_0x1eda33._0xff059c,_0x522f56,_0x54f26e-_0x1eda33._0x2e08ef);}return process[_0xb0e5f1(_0x3dd01c._0x1d2f67,0x60c,_0x3dd01c._0x1cc957,_0x3dd01c._0x38f755)]===_0xc727ad(_0x3dd01c._0x42c708,-0x110,-0x224,-0xee)?_0x4b6efe+'.cmd':_0x4b6efe;}async function exists(_0x1f26eb){try{return await access(_0x1f26eb),!![];}catch{return![];}}function runNpmInstall(_0x3d82cd,_0x46f094,_0x599fc1){const _0x27801e={_0x202e21:0x17,_0x54aafa:0x15e,_0xc7efb4:0x7b,_0x237c31:0x21a,_0x3a077e:0xba,_0x4f395e:0x16f,_0x40bbf1:0xf1,_0x493c6e:0x6e};return new Promise(_0x316c09=>{const _0x1d4800={_0x358d32:0x28f};function _0x493dd9(_0xdbb6be,_0x24b9b2,_0x536045,_0x22136a){return _0x5041(_0x22136a-0x27a,_0xdbb6be);}const _0x4e7e0d=spawn(_0x103fd4(-0x9e,-0x13,_0x27801e._0x202e21,-_0x27801e._0x54aafa),[_0x103fd4(-_0x27801e._0xc7efb4,-_0x27801e._0x237c31,-0x19e,-_0x27801e._0x3a077e),_0x103fd4(_0x27801e._0x54aafa,_0x27801e._0x4f395e,0x303,0xf4),_0x3d82cd,_0x46f094],{'env':_0x599fc1,'stdio':_0x103fd4(-_0x27801e._0x40bbf1,-0x1e5,_0x27801e._0x493c6e,-0xe1)});_0x4e7e0d['on']('error',()=>_0x316c09(![]));function _0x103fd4(_0x2f5ddf,_0x536775,_0x541832,_0x2fada6){return _0x5041(_0x2f5ddf- -_0x1d4800._0x358d32,_0x541832);}_0x4e7e0d['on']('close',_0x17b57a=>_0x316c09(_0x17b57a===0x0));});}function shouldDisableLspDownload(_0x4ae375=process[_0x1ac42a(0x142,0x26,-0x41,0xf8)]){const _0x48b24c={_0x1cda54:0x33b,_0x181c71:0x47d,_0x2d8b4c:0x36e,_0x3b23f1:0x434,_0x48b262:0x380,_0x55f14a:0x47c},_0x472f06={_0x46faf3:0xd6,_0x50e17f:0x39},_0x1a68b7={_0x365cf1:0x140,_0x1f95e3:0xe7,_0x52ee95:0x172},_0x42bf86=_0x4ae375['NUVIN_DISABLE_LSP_DOWNLOAD']?.[_0xb43c05(_0x48b24c._0x1cda54,_0x48b24c._0x181c71,_0x48b24c._0x2d8b4c,_0x48b24c._0x3b23f1)]();function _0x3613ac(_0x262b6d,_0x8aa5c8,_0x131fd6,_0x480f65){return _0x151cc1(_0x262b6d-_0x1a68b7._0x365cf1,_0x131fd6- -_0x1a68b7._0x1f95e3,_0x262b6d,_0x480f65-_0x1a68b7._0x52ee95);}function _0xb43c05(_0x54eeb1,_0x49b002,_0x5015ac,_0x170039){return _0x151cc1(_0x54eeb1-_0x472f06._0x46faf3,_0x49b002-0x27f,_0x170039,_0x170039-_0x472f06._0x50e17f);}return _0x42bf86==='true'||_0x42bf86==='1'||_0x42bf86===_0x3613ac(0x48c,0x538,_0x48b24c._0x48b262,_0x48b24c._0x55f14a)||_0x42bf86==='on';}function getLspPackageDir(_0x5779cd){const _0x58fbf9={_0xd4ad0d:0x26f,_0x3ec215:0x205,_0x3b8f04:0x199,_0x2b5a49:0x1cd,_0x2f196d:0x677,_0x2e3157:0x608,_0xbfd9a2:0x662},_0x3c2fe5={_0x3aaead:0xab,_0x34a06a:0x1b2};function _0x18e851(_0x529827,_0xd25835,_0x177666,_0x36afe8){return _0x151cc1(_0x529827-_0x3c2fe5._0x3aaead,_0x36afe8-0x34b,_0x529827,_0x36afe8-_0x3c2fe5._0x34a06a);}function _0x188cfc(_0xd27835,_0x4034b0,_0x574dcd,_0x1b05cf){return _0x1ac42a(_0xd27835-0x192,_0x4034b0-0x148,_0xd27835- -0xf,_0x574dcd);}return _0x2eb2bd[_0x188cfc(0x12d,0x1b0,0x151,_0x58fbf9._0xd4ad0d)](_0x458083[_0x188cfc(-_0x58fbf9._0x3ec215,-_0x58fbf9._0x3b8f04,-_0x58fbf9._0x2b5a49,-0x3d)](),_0x18e851(_0x58fbf9._0x2f196d,0x641,_0x58fbf9._0x2e3157,_0x58fbf9._0xbfd9a2),'lsp','packages',sanitizePackageName(_0x5779cd));}function getLspBinDir(_0x7d1dfb){const _0x4275bc={_0x51ebe4:0x328,_0x2181a5:0x411,_0x409bc0:0x44c,_0x4414a5:0x2d6,_0x384e44:0x239,_0x50b1cf:0x1c3,_0x1d9ab9:0x637,_0x43a0cb:0x40a},_0xfd8837={_0x5bf6b3:0x6f,_0x2889a7:0xa8,_0x1a71fa:0x122},_0x9828e3={_0x227d29:0x14,_0x28fbdb:0x4db};function _0x47f9ad(_0x113aff,_0x82a1ef,_0xa66c69,_0x73f416){return _0x1ac42a(_0x113aff-0x1d9,_0x82a1ef-_0x9828e3._0x227d29,_0x113aff-_0x9828e3._0x28fbdb,_0xa66c69);}function _0x316fcb(_0x1cf65b,_0x3ae7d1,_0x261400,_0x4225a9){return _0x151cc1(_0x1cf65b-_0xfd8837._0x5bf6b3,_0x261400- -_0xfd8837._0x2889a7,_0x3ae7d1,_0x4225a9-_0xfd8837._0x1a71fa);}return _0x2eb2bd[_0x316fcb(_0x4275bc._0x51ebe4,0x400,_0x4275bc._0x2181a5,_0x4275bc._0x409bc0)](getLspPackageDir(_0x7d1dfb),_0x316fcb(_0x4275bc._0x4414a5,_0x4275bc._0x384e44,_0x4275bc._0x50b1cf,0x277),_0x47f9ad(0x522,0x3c1,_0x4275bc._0x1d9ab9,_0x4275bc._0x43a0cb));}async function findPackageBinary(_0x1241f9,_0x2772e2){const _0x2f4930={_0x3bab6e:0x13a,_0x1fa116:0x52,_0x297626:0x5f,_0x43ff49:0x840,_0x489956:0x72a,_0x27a2e1:0x2a5,_0xd2a660:0x87b,_0x5ab1e4:0x74b,_0x2f62cf:0x5fc,_0x1037d9:0x883,_0x46b07c:0x755},_0x420626={_0x3197d1:0x152},_0x25f979={_0x502508:0x1e5,_0x5b8bc0:0x36d,_0x5464ae:0x28};function _0x5e4a05(_0x2164af,_0x34c684,_0x1ab13f,_0x32b19f){return _0x151cc1(_0x2164af-_0x25f979._0x502508,_0x1ab13f- -_0x25f979._0x5b8bc0,_0x2164af,_0x32b19f-_0x25f979._0x5464ae);}let _0x533559=_0x2eb2bd[_0x5e4a05(_0x2f4930._0x3bab6e,-0x125,-_0x2f4930._0x1fa116,_0x2f4930._0x297626)](_0x2772e2);const _0xd9bb7b=binaryNameForPlatform(_0x1241f9);function _0x50962a(_0x884831,_0x199ae3,_0x44300e,_0xac255e){return _0x151cc1(_0x884831-_0x420626._0x3197d1,_0x44300e-0x387,_0x199ae3,_0xac255e-0x82);}while(!![]){const _0x3f2c15=_0x2eb2bd[_0x50962a(0x8a9,0x829,_0x2f4930._0x43ff49,_0x2f4930._0x489956)](_0x533559,_0x5e4a05(-0x14,-_0x2f4930._0x27a2e1,-0x102,-0x247),_0x50962a(0x85d,_0x2f4930._0xd2a660,_0x2f4930._0x5ab1e4,_0x2f4930._0x2f62cf),_0xd9bb7b);if(await exists(_0x3f2c15))return _0x3f2c15;const _0x4538f9=_0x2eb2bd[_0x50962a(_0x2f4930._0x1037d9,_0x2f4930._0x46b07c,0x858,0x959)](_0x533559);if(_0x4538f9===_0x533559)return void 0x0;_0x533559=_0x4538f9;}}async function findPathBinary(_0x54eaf2,_0x54db7e){const _0x406609={_0x1d0d78:0x14e,_0x2563f9:0x356,_0x5b1488:0xce,_0x2ef4fb:0x373,_0x520045:0x174,_0x841eb0:0x406,_0x195334:0x28d,_0x19ee69:0x361,_0x143d58:0x4cb,_0x26f844:0x32f},_0x1cb161={_0x429c5f:0x72,_0x207e0c:0x158,_0x1626f0:0x66},_0x5430be={_0x58f205:0x1aa,_0xe058af:0x2da},_0x5e93fc=getLspBinDir(_0x54db7e),_0x3a1d39=[_0x5e93fc,process[_0x4dd106(0x299,_0x406609._0x1d0d78,_0x406609._0x2563f9,_0x406609._0x5b1488)][_0x4dd106(0x3c6,0x29a,_0x406609._0x2ef4fb,0x484)]][_0x4dd106(_0x406609._0x520045,0x1d3,0x1a8,0x246)](Boolean)[_0x55655b(_0x406609._0x841eb0,0x234,_0x406609._0x195334,_0x406609._0x19ee69)](_0x2eb2bd[_0x4dd106(0x329,0x39b,_0x406609._0x143d58,_0x406609._0x26f844)]);function _0x4dd106(_0x47134b,_0x1b8bc4,_0x58e8e8,_0x5d3cfc){return _0x1ac42a(_0x47134b-_0x5430be._0x58f205,_0x1b8bc4-0x10b,_0x47134b-_0x5430be._0xe058af,_0x5d3cfc);}function _0x55655b(_0x10829f,_0x362a73,_0x5b6af7,_0x532864){return _0x151cc1(_0x10829f-_0x1cb161._0x429c5f,_0x532864- -_0x1cb161._0x207e0c,_0x5b6af7,_0x532864-_0x1cb161._0x1626f0);}try{return await _0x1982f4(_0x54eaf2,{'path':_0x3a1d39});}catch{return void 0x0;}}async function resolvePackageBinary(_0x40bd16){const _0x4da544={_0x1dbe2d:0x14e,_0x29bab7:0x94,_0xdd5c60:0x293,_0x1982b1:0x2e,_0x162696:0x135,_0x472a34:0x3e,_0x1e852e:0x103,_0x4ccc70:0x1b0,_0x3f890c:0x18b,_0x328710:0x1d,_0x10f24f:0xe7,_0x506dd3:0x6c,_0x3d2c6f:0x8b,_0x1fc1f6:0x110},_0x300a8a={_0x5608c6:0x10d,_0x48cf26:0x169,_0x20969f:0x3d0,_0x46446e:0x4f7,_0x5859b2:0x3c2,_0x258086:0x5a3},_0x36c911=_0x40bd16[_0x305f80(-0xc4,-0x204,-_0x4da544._0x1dbe2d,-_0x4da544._0x29bab7)]??_0x40bd16[_0x305f80(-_0x4da544._0xdd5c60,-_0x4da544._0x1982b1,-0x185,-_0x4da544._0x162696)];function _0x152c4e(_0x42925c,_0x402dee,_0x59fbd3,_0x45fccc){return _0x1ac42a(_0x42925c-0xcd,_0x402dee-0x12,_0x45fccc-0x79,_0x42925c);}const _0x402e5d=await findPackageBinary(_0x36c911,_0x40bd16['startDir']);if(_0x402e5d)return _0x402e5d;const _0x3fad31=await findPathBinary(_0x36c911,_0x40bd16['packageName']);if(_0x3fad31)return _0x3fad31;const _0x125709=_0x40bd16['env']??process['env'];if(shouldDisableLspDownload(_0x125709))return void 0x0;const _0x262859=getLspPackageDir(_0x40bd16['packageName']),_0x24d8db=_0x40bd16[_0x152c4e(-0x123,-_0x4da544._0x472a34,-0x1,-_0x4da544._0x1e852e)]+':'+_0x36c911;let _0x27e797=installPromises[_0x305f80(_0x4da544._0x4ccc70,_0x4da544._0x3f890c,-_0x4da544._0x328710,0x1b3)](_0x24d8db);function _0x305f80(_0x567a16,_0x45707a,_0x584269,_0x35449f){return _0x1ac42a(_0x567a16-0x2b,_0x45707a-0x2a,_0x584269- -0x9,_0x35449f);}!_0x27e797&&(_0x27e797=((async()=>{const _0x5ded69={_0x39e69a:0xa8},_0x2bf0fe={_0x4fa87e:0xa3};function _0x20834d(_0x242769,_0x307b9e,_0x30b091,_0x989678){return _0x152c4e(_0x989678,_0x307b9e-0x92,_0x30b091-_0x2bf0fe._0x4fa87e,_0x307b9e-0x5fa);}function _0x4c7a8c(_0x1543f7,_0x377571,_0x496087,_0x1abf16){return _0x152c4e(_0x1abf16,_0x377571-0x13f,_0x496087-0x0,_0x377571- -_0x5ded69._0x39e69a);}await mkdir(_0x262859,{'recursive':!![]});const _0x53ac3b=await runNpmInstall(_0x262859,_0x40bd16['packageName'],_0x125709);if(!_0x53ac3b)return void 0x0;const _0x134719=_0x2eb2bd[_0x4c7a8c(0x8e,_0x300a8a._0x5608c6,0x45,_0x300a8a._0x48cf26)](getLspBinDir(_0x40bd16[_0x20834d(_0x300a8a._0x20969f,_0x300a8a._0x46446e,_0x300a8a._0x5859b2,_0x300a8a._0x258086)]),binaryNameForPlatform(_0x36c911));return await exists(_0x134719)?_0x134719:void 0x0;})()),installPromises[_0x152c4e(_0x4da544._0x10f24f,0x78,-_0x4da544._0x506dd3,-_0x4da544._0x3d2c6f)](_0x24d8db,_0x27e797));try{return await _0x27e797;}catch{return void 0x0;}finally{installPromises[_0x152c4e(-0x92,0x86,-0x3d,-_0x4da544._0x1fc1f6)](_0x24d8db);}}var TYPESCRIPT_EXTENSIONS=[_0x151cc1(0x32a,0x3eb,0x472,0x559),_0x1ac42a(0xbb,-0x42,0x2c,0x8f),_0x151cc1(0x53a,0x418,0x50b,0x2be),_0x1ac42a(-0x120,-0x16e,-0xa5,0xae),_0x1ac42a(0x29f,0x2be,0x155,0x1a),_0x151cc1(-0x19,0x1a0,0x52,0x271),_0x1ac42a(-0xe6,-0x62,0x73,0x142),_0x1ac42a(0x1f6,0x9e,0x128,0x123)],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x151cc1(0x4d7,0x3d0,0x237,0x282),_0x151cc1(0x3,0x1d3,0x154,0x4d)],TYPESCRIPT_ROOT_MARKERS=[_0x1ac42a(-0x2f6,-0x88,-0x1b7,-0x1da),_0x151cc1(0x2b6,0x17f,0x189,0xc4),'bun.lock',_0x1ac42a(0x8,0xfa,-0x46,-0xaa),_0x1ac42a(0x79,0x1b,-0x140,0x8c),_0x1ac42a(0x1a4,0x213,0x14b,0x277),_0x1ac42a(0x197,-0x34,0x188,0x119),_0x151cc1(0x27f,0x39d,0x4da,0x47d)],BIOME_ROOT_MARKERS=[_0x151cc1(0x4c5,0x313,0x326,0x354),_0x1ac42a(0x48,-0x31,0x7b,0x171),_0x151cc1(0x228,0x1c6,0x1dd,0x286),_0x151cc1(0x82,0x17f,0x27d,0x2b5),_0x1ac42a(0x6c,0x239,0xfc,0x3b),_0x151cc1(0x196,0x337,0x22c,0x4ce),_0x151cc1(0x2f9,0x23d,0x175,0x3ad),_0x151cc1(0x33c,0x39d,0x526,0x231)];async function exists2(_0x34b61){try{return await _0x2bfaf1(_0x34b61),!![];}catch{return![];}}async function findUp(_0x23e8c3,_0x4cd6f9){const _0x59363b={_0x3cdd83:0x77c,_0x3b0728:0x5dc,_0x33bba2:0x156,_0x3660b7:0xaf},_0x1dc2c5={_0x2a48be:0xc2,_0xdbace2:0x8d},_0x20c449={_0x2a9452:0x499};let _0x4060f9=_0x246d48[_0x7d3471(-0x16e,0x81,-0xef,0x4e)](_0x23e8c3);const _0x24a461=_0x246d48[_0x23b93b(0x5c9,_0x59363b._0x3cdd83,0x740,_0x59363b._0x3b0728)](_0x4060f9);if(_0x24a461)_0x4060f9=_0x246d48['dirname'](_0x4060f9);function _0x23b93b(_0x1e316d,_0x131470,_0x43d250,_0x10f363){return _0x1ac42a(_0x1e316d-0x142,_0x131470-0xc8,_0x10f363-_0x20c449._0x2a9452,_0x131470);}function _0x7d3471(_0x1d1541,_0x1cf7ef,_0x5e4f67,_0x29f3da){return _0x1ac42a(_0x1d1541-_0x1dc2c5._0x2a48be,_0x1cf7ef-0x54,_0x5e4f67- -_0x1dc2c5._0xdbace2,_0x1cf7ef);}while(!![]){for(const _0x5e9e83 of _0x4cd6f9){if(await exists2(_0x246d48[_0x7d3471(_0x59363b._0x33bba2,0xbe,_0x59363b._0x3660b7,-0xf5)](_0x4060f9,_0x5e9e83)))return _0x4060f9;}const _0x570a85=_0x246d48['dirname'](_0x4060f9);if(_0x570a85===_0x4060f9)return void 0x0;_0x4060f9=_0x570a85;}}async function hasDenoRoot(_0x40270d){const _0x295576={_0x4adbc1:0x35d,_0x15c51a:0x1af,_0x26e0d1:0x187,_0x5cdca4:0x358,_0x515986:0x196,_0x447494:0x26a,_0x3f08c7:0x157};function _0x1b72db(_0x1dce54,_0x5405d3,_0x2b7dd8,_0x4222b6){return _0x1ac42a(_0x1dce54-0x22,_0x5405d3-0x15c,_0x2b7dd8-0x71,_0x5405d3);}function _0x2fdcc7(_0x2e5fc0,_0xb7da47,_0x537dcb,_0x4a8292){return _0x1ac42a(_0x2e5fc0-0x163,_0xb7da47-0x189,_0x2e5fc0-0x516,_0xb7da47);}return await exists2(_0x246d48['join'](_0x40270d,_0x1b72db(_0x295576._0x4adbc1,0x327,_0x295576._0x15c51a,0x9e)))||await exists2(_0x246d48[_0x1b72db(_0x295576._0x26e0d1,_0x295576._0x5cdca4,0x1ad,_0x295576._0x515986)](_0x40270d,_0x1b72db(-0x20a,-_0x295576._0x447494,-_0x295576._0x3f08c7,-0x31e)));}async function resolveTsserverPath(_0x13f314){const _0x370496={_0x25ffd0:0x17f,_0x163334:0x2b4,_0x15ab35:0x2d8,_0x25adea:0x582,_0x3c0845:0x58e,_0x8105e4:0x7b8,_0x31aa22:0x7e8,_0x58b3ee:0x7d9,_0x573c11:0x63a,_0x365b78:0x4e5,_0x373f00:0x1f1,_0x3df799:0x1f1,_0x153bd0:0x38e,_0x8a9f27:0x372,_0x3c6a51:0x2b7,_0x102314:0x4f3,_0x1229eb:0x479,_0x18b02d:0x1b7,_0x50b68a:0x1b1},_0x12c981={_0x3cd053:0x152,_0x123369:0x20,_0x544f67:0x4e6};function _0x35a924(_0x22c2ea,_0x150695,_0x35f5f2,_0x51579c){return _0x151cc1(_0x22c2ea-0xb2,_0x51579c-0xd1,_0x150695,_0x51579c-0x158);}let _0x543a17=_0x246d48['resolve'](_0x13f314);while(!![]){const _0x173a11=_0x246d48['join'](_0x543a17,'node_modules','typescript',_0x35a924(_0x370496._0x25ffd0,_0x370496._0x163334,0x130,_0x370496._0x15ab35),_0x43ebdf(_0x370496._0x25adea,0x36a,_0x370496._0x3c0845,0x3fb));if(await exists2(_0x173a11))return _0x173a11;const _0x23870a=_0x246d48[_0x43ebdf(_0x370496._0x8105e4,_0x370496._0x31aa22,_0x370496._0x58b3ee,_0x370496._0x573c11)](_0x543a17);if(_0x23870a===_0x543a17)break;_0x543a17=_0x23870a;}function _0x43ebdf(_0x50cf6b,_0x1f6a63,_0x4289d5,_0x337bb8){return _0x1ac42a(_0x50cf6b-_0x12c981._0x3cd053,_0x1f6a63-_0x12c981._0x123369,_0x337bb8-_0x12c981._0x544f67,_0x1f6a63);}const _0x350d3e=getLspPackageDir(_0x35a924(_0x370496._0x365b78,_0x370496._0x373f00,0x409,0x38e)),_0x129793=await resolvePackageBinary({'packageName':_0x35a924(0x2e2,0x243,_0x370496._0x3df799,_0x370496._0x153bd0),'binaryName':'tsc','startDir':_0x13f314});if(!_0x129793)return void 0x0;const _0x2cdeab=_0x246d48['join'](_0x350d3e,'node_modules',_0x35a924(_0x370496._0x8a9f27,_0x370496._0x3c6a51,_0x370496._0x102314,0x38e),_0x43ebdf(_0x370496._0x1229eb,_0x370496._0x18b02d,_0x370496._0x50b68a,0x370),'tsserver.js');return await exists2(_0x2cdeab)?_0x2cdeab:void 0x0;}var TypeScriptServer={'id':_0x151cc1(0x44b,0x2bd,0x231,0x196),'name':_0x151cc1(0x1da,0x2d7,0x3df,0x36d),'extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x526976){const _0x748589=await findUp(_0x526976,TYPESCRIPT_ROOT_MARKERS);if(!_0x748589)return void 0x0;return await hasDenoRoot(_0x748589)?void 0x0:_0x748589;},async 'spawn'(_0x3a0614){const _0x57e4f1={_0x49fe55:0x54b,_0x5e05ea:0x4d8,_0x35b99a:0x3e8,_0x1a1a92:0x62b,_0x45f0e3:0x1ef,_0x2e7c4c:0x97,_0x3dc2b8:0x33c},_0x5ee723={_0x3ef8bc:0xa3,_0x480cda:0x5e6},_0x5c1f3a=await resolveTsserverPath(_0x3a0614);if(!_0x5c1f3a)return void 0x0;function _0x10ad5(_0x3ff598,_0x33f1ba,_0x214d7d,_0x505b20){return _0x1ac42a(_0x3ff598-_0x5ee723._0x3ef8bc,_0x33f1ba-0x10d,_0x214d7d-_0x5ee723._0x480cda,_0x3ff598);}const _0x189e7e=await resolvePackageBinary({'packageName':_0x10ad5(0x4cc,0x66a,0x4d8,0x5c4),'binaryName':_0x10ad5(0x517,_0x57e4f1._0x49fe55,_0x57e4f1._0x5e05ea,_0x57e4f1._0x35b99a),'startDir':_0x3a0614});if(!_0x189e7e)return void 0x0;function _0x114adc(_0x3b2132,_0x4671be,_0x1d867b,_0x36b8da){return _0x1ac42a(_0x3b2132-0x1e5,_0x4671be-0x15c,_0x3b2132- -0x85,_0x1d867b);}return{'process':_0xa5d2bf(_0x189e7e,[_0x10ad5(0x583,0x61b,0x720,_0x57e4f1._0x1a1a92)],{'cwd':_0x3a0614,'stdio':_0x114adc(-_0x57e4f1._0x45f0e3,-_0x57e4f1._0x2e7c4c,-_0x57e4f1._0x3dc2b8,-0x147)}),'initialization':{'tsserver':{'path':_0x5c1f3a}}};}},BiomeServer={'id':_0x151cc1(0x3ec,0x374,0x4e5,0x529),'name':_0x1ac42a(-0x65,0x100,0x1a,-0x168),'extensions':BIOME_EXTENSIONS,async 'root'(_0x4c27e0){return findUp(_0x4c27e0,BIOME_ROOT_MARKERS);},async 'spawn'(_0x362af6){const _0x36d2cc={_0x570f81:0x29e,_0x51e2b7:0x28f,_0x39d125:0x142,_0x42f06d:0x1b3,_0x574708:0xe1,_0x16e33f:0x257,_0x31bdef:0x3f2,_0x214238:0x346,_0x4151eb:0xf5,_0x435dad:0xa2},_0x48cfea={_0x2a698c:0x16c,_0x3c14fc:0x20c},_0x2b4900={_0x33ffda:0x58},_0xeca8ff=await findPackageBinary(_0x200275(_0x36d2cc._0x570f81,0x14e,_0x36d2cc._0x51e2b7,0x2fa),_0x362af6)??await resolvePackageBinary({'packageName':_0x200275(0xff,-0x40,-_0x36d2cc._0x39d125,-_0x36d2cc._0x42f06d),'binaryName':'biome','startDir':_0x362af6});function _0x200275(_0x222512,_0x291d26,_0x6b623,_0x307f40){return _0x1ac42a(_0x222512-0x128,_0x291d26-_0x2b4900._0x33ffda,_0x291d26-0x157,_0x6b623);}function _0x44ae19(_0x4a79d6,_0x2d7ecc,_0x5216df,_0x2e8131){return _0x1ac42a(_0x4a79d6-_0x48cfea._0x2a698c,_0x2d7ecc-0x41,_0x5216df-_0x48cfea._0x3c14fc,_0x2e8131);}if(!_0xeca8ff)return void 0x0;return{'process':_0xa5d2bf(_0xeca8ff,[_0x200275(0x6f,_0x36d2cc._0x574708,_0x36d2cc._0x16e33f,-0x91),_0x44ae19(0x4d7,_0x36d2cc._0x31bdef,_0x36d2cc._0x214238,0x222)],{'cwd':_0x362af6,'stdio':_0x44ae19(-_0x36d2cc._0x4151eb,0x226,_0x36d2cc._0x435dad,-0xee)})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x1b1832){const _0x6f24ea={_0xe18013:0x8c},_0x56d456={_0x4d65c4:0x77,_0x5dca50:0x475},_0x14903e={_0x47d55a:0xdf,_0xdd2e35:0x1a6};function _0x393ff3(_0x42f628,_0x17064f,_0x42fae5,_0x188c1e){return _0x151cc1(_0x42f628-_0x14903e._0x47d55a,_0x17064f- -0x313,_0x42fae5,_0x188c1e-_0x14903e._0xdd2e35);}function _0x2042e7(_0x46ba14,_0xafcfea,_0x2c226f,_0x526a69){return _0x1ac42a(_0x46ba14-0x73,_0xafcfea-_0x56d456._0x4d65c4,_0xafcfea-_0x56d456._0x5dca50,_0x2c226f);}const _0x27919a=_0x246d48[_0x2042e7(0x4db,0x5b8,0x4ac,0x6cf)](_0x1b1832)[_0x393ff3(-_0x6f24ea._0xe18013,-0x115,-0x85,0x83)]();return BUILTIN_LSP_SERVERS['filter'](_0x3798a4=>_0x3798a4[_0x2042e7(0x3a5,0x412,0x516,0x4e5)]['includes'](_0x27919a));}function stateKey(_0x52bdb6,_0x53113a){return _0x53113a+':'+_0x52bdb6['id'];}function diagnosticsKeyToPath(_0x344ab1){const _0x282b6c={_0x548689:0x64e,_0x21d962:0x5a9,_0x8b8ad2:0x54f,_0x29c924:0x4b7},_0x134acb={_0x443648:0xa0},_0x323267={_0x20416e:0x241};function _0x5c30fc(_0x4f8ee0,_0x2cd676,_0xee8194,_0x20692e){return _0x151cc1(_0x4f8ee0-0xff,_0x4f8ee0-_0x323267._0x20416e,_0xee8194,_0x20692e-0x81);}function _0x513c0c(_0x34e78c,_0x5258d6,_0x48d8e3,_0x187db1){return _0x1ac42a(_0x34e78c-0x141,_0x5258d6-0x158,_0x187db1-_0x134acb._0x443648,_0x34e78c);}if(!_0x344ab1[_0x5c30fc(_0x282b6c._0x548689,0x5f9,_0x282b6c._0x21d962,0x505)](_0x5c30fc(0x5a3,_0x282b6c._0x8b8ad2,_0x282b6c._0x29c924,0x5a9)))return _0x344ab1;return fileURLToPath(_0x344ab1);}function nextFileVersion(_0x4bfb7b,_0xe6efc5){const _0x471566={_0x579682:0x1cb,_0x25dc7f:0x1a8,_0x28a3a1:0x3f,_0x25b9dc:0x31c,_0x383117:0x2bc,_0x1ca7a9:0x13a},_0x1e478e={_0x33f20b:0x121,_0x3f8126:0x29e,_0x32da04:0x2b},_0x4c79e7={_0x2ffb3a:0x86,_0x5262f4:0x1c1};function _0xa50c83(_0x1e17a5,_0x18ba92,_0x44e948,_0x45c3fd){return _0x151cc1(_0x1e17a5-0x54,_0x44e948- -_0x4c79e7._0x2ffb3a,_0x45c3fd,_0x45c3fd-_0x4c79e7._0x5262f4);}const _0x4a9f7d=(_0x4bfb7b[_0xa50c83(_0x471566._0x579682,0xef,_0x471566._0x25dc7f,_0x471566._0x28a3a1)]['get'](_0xe6efc5)??0x1)+0x1;function _0x575acd(_0x3a6282,_0x27b531,_0x271825,_0x4143a1){return _0x151cc1(_0x3a6282-_0x1e478e._0x33f20b,_0x4143a1- -_0x1e478e._0x3f8126,_0x3a6282,_0x4143a1-_0x1e478e._0x32da04);}return _0x4bfb7b[_0xa50c83(_0x471566._0x25b9dc,0xb4,0x1a8,_0x471566._0x383117)][_0x575acd(-_0x471566._0x1ca7a9,-0x69,0xc2,-0x25)](_0xe6efc5,_0x4a9f7d),_0x4a9f7d;}async function collectClientResults(_0x4bdf68){const _0x15c3e3={_0x5dc53b:0x4f,_0x56c8bf:0xa8},_0x576e3f={_0xa26787:0x8b,_0x53a5d5:0x12a},_0x3fd8e6={_0x17c3a2:0x120,_0x1651c0:0x38a},_0x135aa6=await Promise[_0x20324d(0x2c8,0x12d,_0x15c3e3._0x5dc53b,_0x15c3e3._0x56c8bf)](_0x4bdf68);function _0x3ecf97(_0x176048,_0x4da407,_0x5f39e8,_0x34581c){return _0x151cc1(_0x176048-_0x3fd8e6._0x17c3a2,_0x34581c- -_0x3fd8e6._0x1651c0,_0x176048,_0x34581c-0x1db);}function _0x20324d(_0x306b50,_0xabc9ca,_0x105322,_0x4ea53c){return _0x151cc1(_0x306b50-_0x576e3f._0xa26787,_0xabc9ca- -_0x576e3f._0x53a5d5,_0x105322,_0x4ea53c-0x56);}return _0x135aa6['flatMap'](_0x43232e=>_0x43232e[_0x3ecf97(0x20d,0x115,-0x47,0x7e)]===_0x3ecf97(0x9,-0xff,-0x14e,-0x191)?_0x43232e['value']:[]);}function createLspService(_0x109a55={}){const _0x5d41d1={_0x186769:0x271,_0x5b6211:0xd8},_0x413a39={_0x4b4344:0x1a0,_0x20a7fe:0x99,_0x17ea37:0xb2,_0x3fa5a7:0x9,_0x417dfb:0x1d2,_0x4f4127:0x4,_0x52ba1a:0x2cb,_0xa8b2a4:0x2c8,_0x315716:0x490,_0x55c8c3:0x2c8,_0x5df3ec:0x314,_0xccf110:0x1bc,_0x1d4a7e:0x38,_0x178909:0x2,_0x167c51:0x3bd,_0x21fb9d:0x356,_0x508842:0x3c8,_0x4a1b86:0x26e,_0x5505e5:0xcb,_0x145c40:0xda,_0x38a5a8:0x3f4,_0x18c7df:0x24b,_0x1d291f:0x30,_0x24de1c:0x37d,_0x362f11:0x435},_0xc91f60={_0x1298e0:0x2cf,_0x9f46e:0x15f},_0x107ab6={_0x2c4dc8:0x243},_0x36070a={_0x5a2d56:0x4f5,_0x592446:0x5ed,_0x537bd2:0x647},_0xc07729={_0xdea1d3:0xaa,_0x27e875:0xa2,_0x3c0984:0x7a},_0x5c93e0={_0x4a8260:0x3e5},_0x299e72={_0x20a588:0x2e9,_0x1d8f5f:0x149,_0x43d248:0x214,_0x537650:0x99,_0x23c286:0x1fa,_0x596cfd:0x1a1,_0x2532d2:0x59,_0x8384b3:0x150,_0x2f0349:0x10d},_0x9c892f={_0x27d32a:0xbb},_0x316f49={_0x389dba:0x5a8,_0x3056ba:0x386,_0x649b0f:0x593},_0x4fe45={_0x41eba3:0x250},_0x39e73c={_0x2a77e3:0x261},_0x3df7cc={_0x3695a2:0x14e,_0x4e3200:0x436,_0x4c52a7:0x2cc,_0x1faaba:0x6,_0x4c0c90:0x1ab},_0x137873={_0x371c23:0x5a3,_0x186140:0xa7,_0x2b8e56:0x105,_0x3a17f0:0x15},_0x521822={_0x1b43dd:0x45,_0x21b50d:0x13b,_0x2ccc78:0x76},_0x36f59d={_0x192a75:0x567,_0x1fcadf:0x3d6,_0x15e68a:0x464},_0xf9c440={_0x51d529:0x610},_0x39fca9={_0x4bfa94:0x1cf,_0xea75df:0x291,_0x26e3c7:0x56a,_0x163d6f:0x4e1,_0x26c7e2:0x5ce,_0x50fffe:0x375,_0x1355f6:0x3df,_0x135bd6:0x212,_0x41b842:0x268,_0x57ab51:0x27d,_0x4cd7d8:0x2db,_0x37f4c1:0xcb,_0x53908b:0x2b9,_0x30a789:0x291,_0x142380:0x394,_0x215021:0x233,_0xf9f0f5:0x407,_0x3569dc:0x4ff,_0x2894b7:0x102,_0x3a0c9e:0x672,_0xddaa15:0x3fb,_0x38e93f:0x500,_0x809c6f:0x4b9},_0x4ee7d4={_0x3d5b67:0x1ec,_0x30c41e:0x529,_0x59dfd5:0x39d,_0x183cb7:0x579,_0x2ed003:0x595,_0x101ad2:0x4dd,_0x6802b9:0x202,_0x4eca23:0x386},_0x390f21={_0x445c88:0x359,_0x4b5e8e:0x2ba,_0x27dd4b:0x673,_0x100398:0x604,_0x1635fa:0x320,_0x2cc54c:0x3e1,_0x5125a9:0x66e,_0x47b01e:0x618,_0x526f03:0x57a,_0x4437d1:0x76,_0x443801:0x196,_0x296cb8:0x8c},_0x12169b={_0x41af28:0x6ed,_0x1b4ece:0x16b,_0x490e83:0x4c2,_0x405fe0:0x614,_0x4753c8:0x1bf,_0x10f208:0x756,_0x20f963:0x5c8,_0x4a4ce6:0x76b,_0x182a54:0x87f,_0xda57d8:0x63,_0x2ab321:0x1e6,_0x50deaa:0x1e6},_0x174049={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x528cd7=()=>_0x109a55['enabled']!==![];async function _0x25eaee(_0x469b3f,_0x441329){const _0x19afc2={_0x3b7c82:0x90},_0x12f4e1={_0x2c7c7e:0x9a,_0x5c01a7:0x425},_0x1d42b6=stateKey(_0x469b3f,_0x441329),_0x17afdc=_0x174049[_0x1d856a(_0x390f21._0x445c88,_0x390f21._0x4b5e8e,0x1c8,0x33d)]['find'](_0x3d83ee=>_0x3d83ee['serverId']===_0x469b3f['id']&&_0x3d83ee[_0x1d856a(0x180,0x117,0x1c3,0x8b)]===_0x441329);if(_0x17afdc)return _0x17afdc;if(_0x174049[_0x45093c(_0x390f21._0x27dd4b,0x73f,_0x390f21._0x100398,0x511)]['has'](_0x1d42b6))return void 0x0;const _0x1e98dc=_0x174049[_0x1d856a(_0x390f21._0x1635fa,_0x390f21._0x2cc54c,0x2dc,0x2f2)]['get'](_0x1d42b6);if(_0x1e98dc)return _0x1e98dc;const _0xb55264=((async()=>{function _0x212995(_0x516709,_0x51b6b9,_0x266c02,_0x28ec62){return _0x1d856a(_0x516709-_0x12f4e1._0x2c7c7e,_0x51b6b9-0x1d2,_0x516709-_0x12f4e1._0x5c01a7,_0x28ec62);}function _0x60cad1(_0xe00fa5,_0x501edd,_0x2371c2,_0x1e1cba){return _0x1d856a(_0xe00fa5-0x171,_0x501edd-0x1a0,_0xe00fa5- -0x174,_0x2371c2);}try{const _0x436a22=await _0x469b3f['spawn'](_0x441329);if(!_0x436a22)return _0x174049[_0x212995(_0x12169b._0x41af28,0x83a,0x649,0x7dd)]['add'](_0x1d42b6),void 0x0;const _0x3ad7b9=await createLspClient({'server':_0x469b3f,'root':_0x441329,'handle':_0x436a22}),_0x347f8c=_0x174049[_0x60cad1(0x54,-0x172,-_0x12169b._0x1b4ece,0x9d)][_0x212995(_0x12169b._0x490e83,0x44c,0x314,0x3b5)](_0x5091f=>_0x5091f[_0x212995(0x841,0x8ca,0x8fb,0x6fd)]===_0x469b3f['id']&&_0x5091f[_0x212995(0x5e8,0x45f,0x78a,0x46d)]===_0x441329);if(_0x347f8c)return await _0x3ad7b9[_0x212995(_0x12169b._0x405fe0,0x6f8,0x45c,0x4da)](),_0x347f8c;return _0x174049['clients']['push'](_0x3ad7b9),_0x3ad7b9;}catch{return _0x174049[_0x60cad1(0x154,_0x12169b._0x4753c8,0x173,0x143)][_0x212995(_0x12169b._0x10f208,0x713,_0x12169b._0x20f963,_0x12169b._0x4a4ce6)](_0x1d42b6),void 0x0;}finally{_0x174049[_0x212995(0x701,0x64e,_0x12169b._0x182a54,0x703)][_0x60cad1(-_0x12169b._0xda57d8,-0xcb,-_0x12169b._0x2ab321,-_0x12169b._0x50deaa)](_0x1d42b6);}})());function _0x1d856a(_0x5e2454,_0x51bbc4,_0x546047,_0x40bd75){return _0x5041(_0x546047- -_0x19afc2._0x3b7c82,_0x40bd75);}_0x174049[_0x45093c(0x4bd,_0x390f21._0x5125a9,_0x390f21._0x47b01e,_0x390f21._0x526f03)][_0x1d856a(-0x28,_0x390f21._0x4437d1,_0x390f21._0x443801,_0x390f21._0x296cb8)](_0x1d42b6,_0xb55264);function _0x45093c(_0x4762c8,_0x508682,_0x226ce8,_0x42de6e){return _0x5041(_0x226ce8-0x2ac,_0x4762c8);}return _0xb55264;}async function _0x2c16f2(_0x46a7e8,_0x52b8fc){const _0x121f7e={_0x58a0bf:0x45};function _0xceabfc(_0x5233d2,_0xc4dc34,_0x3a26bf,_0x335182){return _0x5041(_0x335182-_0x121f7e._0x58a0bf,_0x3a26bf);}if(!_0x528cd7())return[];const _0x3b5ea0=[];function _0x8143d2(_0x48b690,_0xf5f93f,_0x4be007,_0x422640){return _0x5041(_0x422640-0x1d6,_0x48b690);}for(const _0x312ca2 of getServersForFile(_0x46a7e8)){const _0x58326a=await _0x312ca2['root'](_0x46a7e8);if(!_0x58326a)continue;const _0x54e20b=stateKey(_0x312ca2,_0x58326a);if(_0x174049[_0xceabfc(_0x4ee7d4._0x3d5b67,0x2d8,_0x4ee7d4._0x30c41e,_0x4ee7d4._0x59dfd5)][_0x8143d2(_0x4ee7d4._0x183cb7,0x6db,0x592,_0x4ee7d4._0x2ed003)](_0x54e20b))continue;const _0x42a286=_0x174049['clients']['find'](_0x51e0c4=>_0x51e0c4[_0x8143d2(0x50e,0x5d1,0x841,0x682)]===_0x312ca2['id']&&_0x51e0c4[_0x8143d2(0x50b,0x431,0x355,0x429)]===_0x58326a);if(_0x42a286){_0x3b5ea0[_0xceabfc(0x3f4,_0x4ee7d4._0x101ad2,_0x4ee7d4._0x6802b9,_0x4ee7d4._0x4eca23)](_0x42a286);continue;}if(!_0x52b8fc)continue;const _0x2e9029=await _0x25eaee(_0x312ca2,_0x58326a);if(_0x2e9029)_0x3b5ea0[_0xceabfc(0x2ad,0x417,0x2cb,0x386)](_0x2e9029);}return _0x3b5ea0;}async function _0x417782(_0x3c623a,_0x33db8d=![]){const _0x14cb4f={_0xb97a27:0x263},_0x9949b8=await _0x2c16f2(_0x3c623a,!![]);function _0x1cdf8a(_0x58c902,_0x394cac,_0x1da8bd,_0x1d91ae){return _0x5041(_0x1d91ae-0x23c,_0x1da8bd);}await Promise['all'](_0x9949b8[_0x1cdf8a(0x5b5,0x56f,0x715,_0xf9c440._0x51d529)](async _0x561021=>{const _0x348c8d={_0x4b2f5b:0x11a};function _0x504845(_0x32fbe6,_0xa91ed,_0x346937,_0x2edb4c){return _0x1cdf8a(_0x32fbe6-0xce,_0xa91ed-0x1aa,_0x2edb4c,_0x346937- -_0x348c8d._0x4b2f5b);}function _0x4aee2e(_0x424d29,_0x57b530,_0x451720,_0x3584de){return _0x1cdf8a(_0x424d29-0xca,_0x57b530-0x98,_0x57b530,_0x3584de- -_0x14cb4f._0xb97a27);}!_0x174049[_0x504845(_0x39fca9._0x4bfa94,0x3c5,_0x39fca9._0xea75df,0x173)][_0x504845(_0x39fca9._0x26e3c7,0x5a1,_0x39fca9._0x163d6f,0x4ca)](_0x561021[_0x504845(0x4d9,0x65c,_0x39fca9._0x26c7e2,0x476)]+':'+_0x561021[_0x504845(0x1ad,0x4b7,_0x39fca9._0x50fffe,0x466)]+':'+_0x3c623a)&&(await _0x561021[_0x504845(_0x39fca9._0x1355f6,_0x39fca9._0x135bd6,_0x39fca9._0x41b842,0x339)][_0x504845(0x281,_0x39fca9._0x57ab51,0x3b0,_0x39fca9._0x4cd7d8)]({'path':_0x3c623a}),_0x174049[_0x504845(_0x39fca9._0x37f4c1,_0x39fca9._0x53908b,_0x39fca9._0x30a789,_0x39fca9._0x142380)][_0x4aee2e(_0x39fca9._0x215021,_0x39fca9._0xf9f0f5,_0x39fca9._0x3569dc,0x39a)](_0x561021['serverId']+':'+_0x561021[_0x504845(0x2a7,0x246,_0x39fca9._0x50fffe,0x2b2)]+':'+_0x3c623a));await _0x561021[_0x4aee2e(_0x39fca9._0x2894b7,0x8b,0x2bc,0x11f)][_0x4aee2e(0x2ed,0x4c1,0x299,0x440)]({'path':_0x3c623a,'version':nextFileVersion(_0x174049,_0x3c623a)});if(_0x33db8d)await _0x561021[_0x504845(_0x39fca9._0x3a0c9e,_0x39fca9._0xddaa15,_0x39fca9._0x38e93f,_0x39fca9._0x809c6f)]({'path':_0x3c623a});}));}async function _0x509a86(_0x5d6dc5){const _0x466d67={_0x52e270:0x104};await _0x417782(_0x5d6dc5['file'],![]);function _0x356be6(_0x483832,_0x4bf55d,_0xd21a61,_0xae9e78){return _0x5041(_0x4bf55d-_0x466d67._0x52e270,_0xd21a61);}return _0x2c16f2(_0x5d6dc5[_0x356be6(0x512,_0x36f59d._0x192a75,_0x36f59d._0x1fcadf,_0x36f59d._0x15e68a)],![]);}async function _0x55ef6d(_0x38cd91){const _0x505987={_0x592fb0:0x35e};function _0x22d30a(_0x5d4f90,_0x52eebb,_0x24c7eb,_0x4eeef7){return _0x5041(_0x52eebb-0x176,_0x5d4f90);}function _0x4f6cab(_0x1bb8b5,_0x12f465,_0x2f685d,_0x35524c){return _0x5041(_0x35524c- -_0x505987._0x592fb0,_0x2f685d);}const _0x205ef6=await _0x509a86(_0x38cd91);return collectClientResults(_0x205ef6[_0x4f6cab(-_0x521822._0x1b43dd,-_0x521822._0x21b50d,0x179,_0x521822._0x2ccc78)](_0x2d5b0e=>_0x2d5b0e[_0x4f6cab(0x91,-0x7f,-0x1bb,-0x36)][_0x4f6cab(-0x19,-0x103,0x9e,-0xa)](_0x38cd91)));}return{'isEnabled':_0x528cd7,async 'hasClients'(_0x394e6c){return(await _0x2c16f2(_0x394e6c,![]))['length']>0x0||getServersForFile(_0x394e6c)['length']>0x0;},'touchFile':_0x417782,async 'diagnostics'(){const _0x49b9f2={};function _0x34823c(_0x5f05cb,_0x1a7147,_0x36b392,_0x426880){return _0x5041(_0x5f05cb- -0x373,_0x36b392);}function _0x3b8120(_0x32576a,_0x2fb5d7,_0x7dc84a,_0x4692f2){return _0x5041(_0x4692f2-0x2cf,_0x7dc84a);}for(const _0x3786f6 of _0x174049[_0x3b8120(0x464,_0x137873._0x371c23,0x59d,0x527)]){for(const [_0x51d7e5,_0x2c1f0b]of _0x3786f6[_0x34823c(-_0x137873._0x186140,-_0x137873._0x2b8e56,-_0x137873._0x3a17f0,-0x214)]){_0x49b9f2[diagnosticsKeyToPath(_0x51d7e5)]=_0x2c1f0b;}}return _0x49b9f2;},async 'diagnosticsForFile'(_0x7cbc52){await _0x417782(_0x7cbc52,!![]);function _0x539568(_0x5d2085,_0x523eec,_0x9a1b38,_0x50e3c5){return _0x5041(_0x5d2085- -0x337,_0x50e3c5);}const _0x355ff1=[];function _0x4f5931(_0x105916,_0xce7f8e,_0x5babc9,_0x276cb3){return _0x5041(_0x276cb3-0x0,_0x105916);}for(const _0x95cb79 of await _0x2c16f2(_0x7cbc52,![])){for(const [_0x8802a9,_0x363c69]of _0x95cb79[_0x4f5931(_0x3df7cc._0x3695a2,0x1d4,_0x3df7cc._0x4e3200,_0x3df7cc._0x4c52a7)]){if(diagnosticsKeyToPath(_0x8802a9)===_0x7cbc52)_0x355ff1[_0x539568(0xa,-_0x3df7cc._0x1faaba,_0x3df7cc._0x4c0c90,0x36)](..._0x363c69);}}return _0x355ff1;},async 'definition'(_0x49d8e3){function _0x55ace9(_0x3d2a3a,_0x25fc3f,_0x515bdf,_0x4ace56){return _0x5041(_0x3d2a3a- -0x54,_0x515bdf);}function _0x40d27b(_0x1d27e4,_0x5abf35,_0x163bcf,_0x338253){return _0x5041(_0x338253- -_0x39e73c._0x2a77e3,_0x1d27e4);}return collectClientResults((await _0x509a86(_0x49d8e3))[_0x40d27b(_0x4fe45._0x41eba3,-0x5c,0x28b,0x173)](_0x8d941c=>_0x8d941c['request'][_0x40d27b(0x2c7,0x16,0x75,0x198)](_0x49d8e3)));},async 'references'(_0x6f9690){function _0x122009(_0x44fd76,_0x1d0b0f,_0x34ee28,_0x426005){return _0x5041(_0x1d0b0f-0xd8,_0x44fd76);}return collectClientResults((await _0x509a86(_0x6f9690))[_0x122009(_0x316f49._0x389dba,0x4ac,_0x316f49._0x3056ba,_0x316f49._0x649b0f)](_0x334e08=>_0x334e08['request']['references'](_0x6f9690)));},async 'hover'(_0x2b51c7){function _0x4f5772(_0x5d0428,_0x128199,_0x5c7701,_0x144b29){return _0x5041(_0x144b29- -0x233,_0x5c7701);}function _0x203684(_0x2b0f1f,_0x28918f,_0x13dae1,_0x56e353){return _0x5041(_0x13dae1- -_0x9c892f._0x27d32a,_0x2b0f1f);}const _0x515865=await Promise[_0x203684(_0x299e72._0x20a588,-0x4f,_0x299e72._0x1d8f5f,_0x299e72._0x43d248)]((await _0x509a86(_0x2b51c7))[_0x4f5772(0x19c,_0x299e72._0x537650,_0x299e72._0x23c286,_0x299e72._0x596cfd)](_0x35d575=>_0x35d575[_0x203684(0xd4,0x3fd,0x26d,0x1e3)][_0x4f5772(-0xb,0x1e9,0xfd,0x13c)](_0x2b51c7)));return _0x515865[_0x4f5772(-_0x299e72._0x2532d2,_0x299e72._0x8384b3,-_0x299e72._0x2f0349,-0x7c)](_0x381d5d=>_0x381d5d[_0x4f5772(0x29d,0x2f0,0x230,0x182)]===_0x203684(-0x4a,-0x18,0xeb,0x138)&&_0x381d5d[_0x203684(0x1ca,-0x131,0x70,0x5d)]?[_0x381d5d[_0x203684(-0x84,0x36,0x70,0x14d)]]:[]);},async 'documentSymbol'(_0x362c88){const _0x9e5d9d={_0x115187:0x2cd};function _0x3b52a3(_0x41af71,_0xb48089,_0x4d8e2d,_0x6cd4c2){return _0x5041(_0x4d8e2d- -_0x9e5d9d._0x115187,_0xb48089);}return await _0x417782(_0x362c88,![]),collectClientResults((await _0x2c16f2(_0x362c88,![]))['map'](_0x2a1eb5=>_0x2a1eb5[_0x3b52a3(0x225,0x2e,0x5b,-0x158)]['documentSymbol'](_0x362c88)));},async 'workspaceSymbol'(_0x41e2e7){function _0x163e9a(_0x3263bd,_0x16fd1d,_0x2bca69,_0x10d419){return _0x5041(_0x10d419- -_0x5c93e0._0x4a8260,_0x3263bd);}function _0x3835f6(_0x50645f,_0x3422ee,_0x1f8ab5,_0x25970a){return _0x5041(_0x50645f-0x26e,_0x1f8ab5);}return collectClientResults(_0x174049[_0x163e9a(-0x302,-0xe2,-_0xc07729._0xdea1d3,-0x18d)][_0x163e9a(_0xc07729._0x27e875,-0x3a,-_0xc07729._0x3c0984,-0x11)](_0x3d88b4=>_0x3d88b4['request']['workspaceSymbol'](_0x41e2e7)));},async 'implementation'(_0x5d40f9){const _0x20dbe9={_0x5e3b91:0x121};function _0x81ae00(_0x1cff63,_0x73cdeb,_0x40aba3,_0x5de5a0){return _0x5041(_0x40aba3-0x30a,_0x73cdeb);}function _0x1d6cda(_0x130ba3,_0x3061a4,_0x101eaf,_0x2e29a8){return _0x5041(_0x130ba3-_0x20dbe9._0x5e3b91,_0x3061a4);}return collectClientResults((await _0x509a86(_0x5d40f9))[_0x1d6cda(_0x36070a._0x5a2d56,_0x36070a._0x592446,_0x36070a._0x537bd2,0x504)](_0x528646=>_0x528646['request'][_0x81ae00(0x3f8,0x2e3,0x445,0x42b)](_0x5d40f9)));},async 'prepareCallHierarchy'(_0x52fa97){return _0x55ef6d(_0x52fa97);},async 'incomingCalls'(_0x3fe15c){function _0x6af23d(_0x4b8131,_0x2be265,_0x807f52,_0x2f58d6){return _0x5041(_0x4b8131-0x118,_0x807f52);}function _0x49ad7c(_0x3dc361,_0x3cc1d8,_0x560841,_0x3033bc){return _0x5041(_0x560841- -_0x107ab6._0x2c4dc8,_0x3dc361);}const _0x1fdbb9=await _0x55ef6d(_0x3fe15c),_0x24919d=await _0x509a86(_0x3fe15c);return collectClientResults(_0x24919d[_0x6af23d(_0xc91f60._0x1298e0,_0xc91f60._0x9f46e,0x49c,0x364)](_0x4ac7a0=>_0x1fdbb9[_0x6af23d(0x4ec,0x614,0x6a9,0x36c)](_0x5f0de3=>_0x4ac7a0['request']['incomingCalls'](_0x5f0de3))));},async 'outgoingCalls'(_0x3eb9c9){function _0x12270f(_0x8a3ff4,_0x54ac04,_0x53f0b8,_0x39b9f0){return _0x5041(_0x8a3ff4- -0x319,_0x39b9f0);}function _0x2be94(_0x6da435,_0x94234e,_0x1623bb,_0x45f058){return _0x5041(_0x94234e- -0x2,_0x1623bb);}const _0x5c2fde=await _0x55ef6d(_0x3eb9c9),_0x4f7491=await _0x509a86(_0x3eb9c9);return collectClientResults(_0x4f7491['flatMap'](_0xb36f19=>_0x5c2fde[_0x12270f(0xbb,0xd6,0x20d,0x70)](_0x451444=>_0xb36f19['request'][_0x2be94(0xcf,0x198,0x1c5,0x124)](_0x451444))));},async 'shutdown'(){const _0x40c4ce={_0x484b45:0x70};if(_0x174049[_0x4d5285(-_0x413a39._0x4b4344,_0x413a39._0x20a7fe,-0x152,-_0x413a39._0x17ea37)])return;_0x174049[_0x4d5285(-_0x413a39._0x3fa5a7,-0x3d,-0x99,-_0x413a39._0x17ea37)]=!![],await Promise[_0x4d5285(0x121,_0x413a39._0x417dfb,-0x152,_0x413a39._0x4f4127)](_0x174049[_0x318ae7(0x3a4,_0x413a39._0x52ba1a,0x2b7,_0x413a39._0xa8b2a4)]['map'](_0x4305f5=>_0x4305f5[_0x4d5285(0xe0,-0xb4,-0x67,0x7f)]()));function _0x4d5285(_0x4190ed,_0x2dda33,_0x287ef1,_0xf4d687){return _0x5041(_0xf4d687- -0x200,_0x2dda33);}_0x174049[_0x318ae7(_0x413a39._0x315716,0x392,0x2a6,_0x413a39._0x55c8c3)]=[],_0x174049[_0x4d5285(-0x54,0x173,_0x413a39._0x5df3ec,0x16c)][_0x4d5285(-0x177,_0x413a39._0xccf110,_0x413a39._0x1d4a7e,-_0x413a39._0x178909)](),_0x174049[_0x318ae7(_0x413a39._0x167c51,_0x413a39._0x21fb9d,0x289,_0x413a39._0x508842)][_0x318ae7(0x33e,0x2fe,0x225,_0x413a39._0x4a1b86)](),_0x174049[_0x318ae7(_0x413a39._0x5505e5,_0x413a39._0x145c40,_0x413a39._0x38a5a8,_0x413a39._0x18c7df)][_0x318ae7(0x38a,0x2a0,0xf6,0x26e)]();function _0x318ae7(_0x47f4cc,_0xaa3f0b,_0x2c2f16,_0x2db1ff){return _0x5041(_0x2db1ff-_0x40c4ce._0x484b45,_0x2c2f16);}_0x174049[_0x4d5285(-0xc7,-0x235,_0x413a39._0x1d291f,-0x91)][_0x318ae7(_0x413a39._0x24de1c,_0x413a39._0x362f11,0x2d9,0x26e)]();},'status'(){function _0x2af14a(_0x559bb9,_0x279656,_0x3cce62,_0x465f4c){return _0x5041(_0x3cce62- -0x330,_0x559bb9);}return{'connectedClients':_0x174049[_0x2af14a(-_0x5d41d1._0x186769,-0x1c9,-_0x5d41d1._0x5b6211,-0x123)]['length']};}};}function createQuestionId(){const _0xcc99c5={_0x40f216:0x11e,_0x59069a:0x27,_0x2b8015:0x2a,_0x169b80:0x430,_0x241ad3:0x718,_0x100142:0x31b,_0x3489db:0xaf,_0x4fd6c6:0x7b,_0x213f11:0xf5,_0x298e3f:0xc7},_0x8bc2d9={_0x2993d1:0x4d},_0x42fa4b={_0x3cab32:0xb6,_0xe39476:0x10e};function _0x1a4ad7(_0x16a5ab,_0x1b15dd,_0x31319d,_0x450dce){return _0x151cc1(_0x16a5ab-_0x42fa4b._0x3cab32,_0x450dce-0x1dc,_0x16a5ab,_0x450dce-_0x42fa4b._0xe39476);}function _0xf2df04(_0x58ea9d,_0x2face7,_0x391ad8,_0x49525d){return _0x1ac42a(_0x58ea9d-_0x8bc2d9._0x2993d1,_0x2face7-0x97,_0x58ea9d-0x7f,_0x49525d);}return _0xf2df04(0xec,_0xcc99c5._0x40f216,_0xcc99c5._0x59069a,-_0xcc99c5._0x2b8015)+Date[_0x1a4ad7(_0xcc99c5._0x169b80,0x716,_0xcc99c5._0x241ad3,0x5b2)]()+'-'+Math[_0xf2df04(0x1da,0x26,_0xcc99c5._0x100142,0x2df)]()[_0xf2df04(-_0xcc99c5._0x3489db,_0xcc99c5._0x4fd6c6,_0xcc99c5._0x213f11,-_0xcc99c5._0x298e3f)](0x24)['slice'](0x2,0x9);}function validateInput(_0x380aea){const _0x2e8bf0={_0x28bed0:0x555,_0x81206:0x4b3,_0x20bcb6:0x2f,_0x170fe8:0x17d,_0x3faeaf:0x2ed,_0x216c2f:0xa2,_0x21db3f:0x21d,_0x3fbbb3:0xc8,_0x237afc:0x13a,_0x4182fa:0x1cf,_0x2a6b7c:0x105,_0x396e82:0x8d,_0x57e1a5:0x1d4,_0x5bec63:0x53b,_0x19c0af:0x1f4,_0x239f8e:0x304,_0x493953:0x1e7,_0x33edb2:0x31a,_0x47c627:0x3de,_0x5200be:0x3a3,_0x56425a:0xd3,_0x42df54:0x2a,_0x551413:0xb3,_0x3767c2:0x172,_0x42769b:0xd9,_0x21b4a5:0x14d,_0x4b3167:0x3f,_0x37e895:0x73,_0x439016:0x2b7,_0x5bd4d9:0x4d,_0x4965e4:0x28,_0x1428f5:0x77,_0x305db0:0xb1,_0xb1bcb6:0x5d4,_0x31a42d:0x765,_0x4fa294:0x741,_0x240182:0xc6,_0x2878e9:0x9a,_0x59718d:0x5d4,_0x3a3be2:0x5db,_0xd91ca4:0x15b,_0x2267d6:0x99,_0x9dca94:0x798,_0x4b4fee:0x563,_0x5d12ff:0x6d5,_0x5aa717:0x145,_0xa9c0b9:0x4a4,_0x4a38c8:0x635,_0x41bd79:0x484,_0x4061db:0x2a6,_0x182f0e:0x44e,_0x2659ce:0x428,_0x4a2221:0x379,_0x567563:0x369,_0x2d1e08:0x37f,_0x123e51:0x284,_0x321860:0x2c1,_0x1f0aef:0x13},_0x10012a={_0x3efcd9:0x50,_0x43ec46:0xdf};function _0x5f1283(_0x3e9c89,_0x42720f,_0x4f6aad,_0x59ce58){return _0x151cc1(_0x3e9c89-_0x10012a._0x3efcd9,_0x59ce58- -0x269,_0x42720f,_0x59ce58-_0x10012a._0x43ec46);}function _0x40a6f1(_0x6beb80,_0xdb357e,_0x41112e,_0x3a5c1e){return _0x151cc1(_0x6beb80-0x1c7,_0x6beb80-0x14e,_0x3a5c1e,_0x3a5c1e-0x1ad);}if(!Array[_0x40a6f1(0x3a2,_0x2e8bf0._0x28bed0,0x48f,_0x2e8bf0._0x81206)](_0x380aea[_0x5f1283(_0x2e8bf0._0x20bcb6,0x2b4,0x245,_0x2e8bf0._0x170fe8)])||_0x380aea[_0x5f1283(0x216,_0x2e8bf0._0x3faeaf,0x24,_0x2e8bf0._0x170fe8)][_0x5f1283(_0x2e8bf0._0x216c2f,0x3bd,0x233,_0x2e8bf0._0x21db3f)]<0x1||_0x380aea[_0x40a6f1(0x534,0x60d,_0x2e8bf0._0x81206,0x64a)]['length']>0xa)throw new ToolExecutionError(_0x5f1283(0x30c,_0x2e8bf0._0x3fbbb3,_0x2e8bf0._0x237afc,_0x2e8bf0._0x4182fa),{'error':_0x5f1283(_0x2e8bf0._0x2a6b7c,0x188,0x22c,_0x2e8bf0._0x396e82)});for(let _0x4d2ca0=0x0;_0x4d2ca0<_0x380aea[_0x5f1283(-0x4e,0x2cd,_0x2e8bf0._0x57e1a5,_0x2e8bf0._0x170fe8)][_0x40a6f1(0x5d4,_0x2e8bf0._0x5bec63,0x59f,0x41b)];_0x4d2ca0+=0x1){const _0x3b892e=_0x380aea['questions'][_0x4d2ca0];if(!_0x3b892e[_0x5f1283(_0x2e8bf0._0x19c0af,0x26b,0xa6,0x152)]||typeof _0x3b892e[_0x40a6f1(0x509,0x42b,0x6b6,0x48c)]!==_0x40a6f1(_0x2e8bf0._0x239f8e,_0x2e8bf0._0x493953,_0x2e8bf0._0x33edb2,0x3b9))throw new ToolExecutionError('Question\x20'+(_0x4d2ca0+0x1)+':\x20\x22question\x22\x20field\x20is\x20required\x20and\x20must\x20be\x20a\x20string');if(!_0x3b892e[_0x40a6f1(_0x2e8bf0._0x47c627,0x3a8,0x4c3,0x57f)]||typeof _0x3b892e[_0x40a6f1(0x3de,_0x2e8bf0._0x5200be,0x468,0x54f)]!==_0x5f1283(_0x2e8bf0._0x56425a,-0x1cd,-_0x2e8bf0._0x42df54,-_0x2e8bf0._0x551413))throw new ToolExecutionError(_0x5f1283(_0x2e8bf0._0x3767c2,_0x2e8bf0._0x42769b,-_0x2e8bf0._0x21b4a5,_0x2e8bf0._0x4b3167)+(_0x4d2ca0+0x1)+_0x5f1283(_0x2e8bf0._0x37e895,_0x2e8bf0._0x439016,0x182,0x1d4));if(_0x3b892e[_0x5f1283(-0xe2,-_0x2e8bf0._0x5bd4d9,-_0x2e8bf0._0x170fe8,0x27)]['length']>0x1e)throw new ToolExecutionError(_0x5f1283(-_0x2e8bf0._0x4965e4,0x105,0xe1,_0x2e8bf0._0x4b3167)+(_0x4d2ca0+0x1)+_0x40a6f1(0x5f8,0x7a6,0x5bd,0x6cb)+_0x3b892e[_0x5f1283(_0x2e8bf0._0x1428f5,-_0x2e8bf0._0x305db0,0xcf,0x27)][_0x40a6f1(_0x2e8bf0._0xb1bcb6,0x50d,_0x2e8bf0._0x31a42d,_0x2e8bf0._0x4fa294)]);if(!Array['isArray'](_0x3b892e['options'])||_0x3b892e[_0x5f1283(-0x23,-_0x2e8bf0._0x240182,0x11a,_0x2e8bf0._0x2878e9)][_0x40a6f1(_0x2e8bf0._0x59718d,_0x2e8bf0._0x3a3be2,0x78a,0x476)]<0x2||_0x3b892e[_0x5f1283(_0x2e8bf0._0xd91ca4,-_0x2e8bf0._0x396e82,-_0x2e8bf0._0x2267d6,0x9a)][_0x40a6f1(0x5d4,_0x2e8bf0._0x9dca94,_0x2e8bf0._0x4b4fee,_0x2e8bf0._0x5d12ff)]>0x4)throw new ToolExecutionError(_0x5f1283(0x145,-0x82,-_0x2e8bf0._0x5aa717,_0x2e8bf0._0x4b3167)+(_0x4d2ca0+0x1)+_0x40a6f1(_0x2e8bf0._0xa9c0b9,_0x2e8bf0._0x4a38c8,0x304,_0x2e8bf0._0x41bd79));for(let _0x295c13=0x0;_0x295c13<_0x3b892e[_0x40a6f1(0x451,_0x2e8bf0._0x4061db,0x2da,_0x2e8bf0._0x182f0e)][_0x40a6f1(0x5d4,0x6c2,0x4c7,_0x2e8bf0._0x2659ce)];_0x295c13+=0x1){const _0x3aa2dc=_0x3b892e[_0x5f1283(-0x1c,0x187,0xc0,_0x2e8bf0._0x2878e9)][_0x295c13];if(!_0x3aa2dc[_0x40a6f1(_0x2e8bf0._0x4a2221,0x27a,_0x2e8bf0._0x4061db,0x461)]||!_0x3aa2dc['description'])throw new ToolExecutionError('Question\x20'+(_0x4d2ca0+0x1)+_0x5f1283(0x1c0,_0x2e8bf0._0x567563,_0x2e8bf0._0x2d1e08,_0x2e8bf0._0x123e51)+(_0x295c13+0x1)+_0x5f1283(0x1d,_0x2e8bf0._0x321860,-_0x2e8bf0._0x1f0aef,0x10d));}if(typeof _0x3b892e['multiSelect']!=='boolean')throw new ToolExecutionError(_0x40a6f1(0x3f6,0x425,0x310,0x273)+(_0x4d2ca0+0x1)+':\x20\x22multiSelect\x22\x20must\x20be\x20a\x20boolean');}}function buildQuestions(_0xe7a61f){const _0x43ef21={_0x850cb0:0xc7},_0x47bb63={_0x4df710:0x202};function _0x430095(_0x2332b3,_0x371cb9,_0x4d9ab5,_0x2cc32b){return _0x1ac42a(_0x2332b3-0xc6,_0x371cb9-0x95,_0x2cc32b-0x65d,_0x371cb9);}function _0xdb8e6b(_0x255d0c,_0x3a883f,_0xaf3e3e,_0x575141){return _0x1ac42a(_0x255d0c-0x176,_0x3a883f-0x132,_0x255d0c-_0x47bb63._0x4df710,_0xaf3e3e);}return _0xe7a61f[_0xdb8e6b(0x26b,0x3d1,0x12c,_0x43ef21._0x850cb0)]['map']((_0xa6a54f,_0xbc413d)=>({'id':'q'+_0xbc413d,'question':_0xa6a54f[_0xdb8e6b(0x240,0x358,0x118,0x337)],'topic':_0xa6a54f['topic'],'options':_0xa6a54f['options'],'multiSelect':_0xa6a54f[_0x430095(0x726,0x6dc,0x755,0x659)]}));}function createResult(_0x143749,_0x2b8378,_0x4e68e3){const _0x5edefd={_0x1a58e1:0xa8},_0x1cdd6c={_0x1e90ab:0x1a1,_0x535985:0xa9};function _0x6a664c(_0x1a1681,_0x139fa7,_0x587cdb,_0x54a720){return _0x1ac42a(_0x1a1681-_0x1cdd6c._0x1e90ab,_0x139fa7-0x1,_0x1a1681-_0x1cdd6c._0x535985,_0x587cdb);}const _0x183c3f={'questionId':_0x143749,'questionCount':_0x2b8378,'answers':_0x4e68e3};return createToolOutput(_0x6a664c(0x1be,_0x5edefd._0x1a58e1,0x319,0xb2)+JSON['stringify'](_0x4e68e3,null,0x2),_0x183c3f);}function createAskUserTool(){const _0x50f7b5={_0x21cc97:0x61e,_0x4b05e7:0x6a,_0x3edb5e:0x163,_0x32796c:0x196,_0x1d06a0:0x188,_0x3f846b:0x5fe,_0x75eb0f:0x18f,_0x1c46c9:0x66a,_0x46ce36:0x573,_0x22e99c:0x3bc,_0x53586b:0x1d,_0x19d7e7:0xf4,_0x49b144:0xa0,_0x468d8f:0x6,_0xed55de:0x4e6,_0x3dcbd5:0x48f,_0x488fb6:0x631,_0x4a2585:0xbb,_0x2ec029:0x1f5,_0x39eb50:0x670,_0x587c9b:0x61f,_0x3b5a80:0x64a,_0x220947:0x5ee,_0x501134:0x515,_0x4a126e:0x195,_0x5eab7a:0x6a,_0x27553f:0xae},_0x359703={_0x484b56:0x66f,_0xc25525:0xe3,_0x544310:0xee,_0xa4387e:0x7c8,_0xcc2cac:0x644,_0x3615ed:0x411,_0x140748:0x229,_0x43fde7:0x63b,_0x251c03:0x54b,_0x243a29:0x5b6,_0x51439f:0x3c7,_0x379108:0x2f6,_0x477ed7:0x25a,_0x30b285:0x4e2,_0x2a636f:0x3f5,_0x1274fb:0x49c,_0x4ff269:0x3d1,_0x318de0:0x423,_0xd81823:0xcb,_0xc37568:0x1d3,_0x1fab9e:0x7e9,_0x4897be:0x4cc,_0x19f633:0x67d,_0x1458a4:0x1cb,_0x56b63a:0x22e},_0x51485e={_0x16b8d7:0xe,_0x492112:0x19},_0x21a4cd={_0x271b12:0x11b};function _0x272607(_0x448312,_0x2201f9,_0xbd325b,_0x15da36){return _0x151cc1(_0x448312-0x61,_0x2201f9-0x264,_0xbd325b,_0x15da36-0x40);}function _0x5838e6(_0x34d1c4,_0x1fa2a0,_0x2ac8f5,_0x32cb63){return _0x151cc1(_0x34d1c4-0x83,_0x34d1c4- -0x1d3,_0x1fa2a0,_0x32cb63-_0x21a4cd._0x271b12);}return defineTool({'name':'AskUserTool','permissionClass':'read','description':_0x272607(_0x50f7b5._0x21cc97,0x6f3,0x5b0,0x718),'inputSchema':{'type':_0x5838e6(-_0x50f7b5._0x4b05e7,_0x50f7b5._0x3edb5e,-_0x50f7b5._0x32796c,-_0x50f7b5._0x1d06a0),'properties':{'questions':{'type':_0x272607(0x745,0x66a,_0x50f7b5._0x3f846b,0x646),'items':{'type':'object','properties':{'question':{'type':'string'},'topic':{'type':_0x5838e6(-0x1d,_0x50f7b5._0x75eb0f,0x195,-0xa6)},'options':{'type':_0x272607(0x7d1,_0x50f7b5._0x1c46c9,0x66b,0x546),'items':{'type':_0x272607(0x4c5,0x3cd,_0x50f7b5._0x46ce36,_0x50f7b5._0x22e99c),'properties':{'label':{'type':_0x5838e6(-_0x50f7b5._0x53586b,-_0x50f7b5._0x19d7e7,-_0x50f7b5._0x49b144,0x176)},'description':{'type':_0x5838e6(-_0x50f7b5._0x53586b,-_0x50f7b5._0x3edb5e,_0x50f7b5._0x468d8f,-0x1e1)}},'required':[_0x272607(_0x50f7b5._0xed55de,_0x50f7b5._0x3dcbd5,0x2f7,_0x50f7b5._0x488fb6),_0x5838e6(_0x50f7b5._0x4a2585,0x48,-0x99,0xac)]}},'multiSelect':{'type':_0x5838e6(0x133,0x2f1,_0x50f7b5._0x2ec029,0x2f5)}},'required':[_0x272607(_0x50f7b5._0x39eb50,_0x50f7b5._0x587c9b,_0x50f7b5._0x3b5a80,0x67c),_0x272607(_0x50f7b5._0x220947,0x4f4,0x510,_0x50f7b5._0x501134),_0x5838e6(0x130,0x232,_0x50f7b5._0x4a126e,0x213),'multiSelect']}},'answers':{'type':_0x5838e6(-_0x50f7b5._0x5eab7a,0xea,_0x50f7b5._0x27553f,0x63),'properties':{}}},'required':['questions']},async *'execute'(_0x3582ac,_0x55f373){function _0x315815(_0x4503fe,_0x4cdec4,_0x1bfd83,_0x3b7fe0){return _0x5838e6(_0x4cdec4-0x34,_0x1bfd83,_0x1bfd83-0xef,_0x3b7fe0-0x1);}function _0x150c83(_0x4dd5a9,_0x5748f8,_0x11f972,_0x3a1bc3){return _0x272607(_0x4dd5a9-_0x51485e._0x16b8d7,_0x4dd5a9- -0xf,_0x5748f8,_0x3a1bc3-_0x51485e._0x492112);}const _0x2176f9=_0x3582ac;validateInput(_0x2176f9);const _0xd0f32e=_0x55f373[_0x150c83(0x5e0,0x795,_0x359703._0x484b56,0x71d)]??createQuestionId();if(_0x2176f9[_0x315815(_0x359703._0xc25525,_0x359703._0x544310,-0x43,0x280)]&&Object[_0x150c83(0x609,0x582,_0x359703._0xa4387e,_0x359703._0xcc2cac)](_0x2176f9['answers'])[_0x315815(0x1d4,0x2e7,_0x359703._0x3615ed,_0x359703._0x140748)]>0x0)return createResult(_0xd0f32e,_0x2176f9[_0x150c83(_0x359703._0x43fde7,0x510,_0x359703._0x251c03,_0x359703._0x243a29)][_0x315815(_0x359703._0x51439f,0x2e7,_0x359703._0x379108,_0x359703._0x477ed7)],_0x2176f9[_0x150c83(_0x359703._0x30b285,_0x359703._0x2a636f,_0x359703._0x1274fb,0x5bd)]);if(!_0x55f373[_0x315815(_0x359703._0x4ff269,0x2b1,0x3dd,_0x359703._0x318de0)])throw new ToolExecutionError(_0x315815(0x1c1,_0x359703._0xd81823,0xca,_0x359703._0xc37568));const _0x4c0854=buildQuestions(_0x2176f9),_0x289558=await _0x55f373['askUser']({'questionId':_0xd0f32e,'questions':_0x4c0854});yield createResult(_0xd0f32e,_0x2176f9[_0x150c83(0x63b,_0x359703._0x1fab9e,_0x359703._0x4897be,_0x359703._0x19f633)][_0x315815(_0x359703._0x1458a4,0x2e7,_0x359703._0x56b63a,0x37d)],_0x289558);}});}import{randomUUID}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0x1b4331}from'child_process';function errorMessage(_0x493365){const _0x31b9ac={_0x30327d:0x12f};function _0x4f2404(_0x4d594e,_0x1edbe3,_0x274d7f,_0xb581bd){return _0x1ac42a(_0x4d594e-0x7b,_0x1edbe3-_0x31b9ac._0x30327d,_0x1edbe3-0x1c2,_0x4d594e);}return _0x493365 instanceof Error?_0x493365[_0x4f2404(0x394,0x2d3,0x421,0x13d)]:String(_0x493365);}function isNotFound(_0x1eb75e){const _0x44506f={_0x12ca58:0x19d,_0x369e97:0x180,_0x4b6782:0x61e,_0x338f96:0x70a,_0x1ddfa4:0x677,_0x2d09ae:0x336,_0x18cc34:0x346,_0x30461b:0x5ff,_0x2eb848:0x4c0},_0x45ba4f={_0x1a61cd:0x73},_0x1fcb3f={_0x399223:0xb8,_0x5587b8:0x237};function _0x414a97(_0x2db3ca,_0x31d7c3,_0x1d44ad,_0x3793cd){return _0x1ac42a(_0x2db3ca-0x1b2,_0x31d7c3-_0x1fcb3f._0x399223,_0x31d7c3-_0x1fcb3f._0x5587b8,_0x3793cd);}function _0x11c3bb(_0x57c4bd,_0x455eb2,_0x320e22,_0x51dd9){return _0x151cc1(_0x57c4bd-0x5,_0x320e22-0x1fb,_0x455eb2,_0x51dd9-_0x45ba4f._0x1a61cd);}return typeof _0x1eb75e===_0x414a97(_0x44506f._0x12ca58,0x23,0xcb,-_0x44506f._0x369e97)&&_0x1eb75e!==null&&_0x11c3bb(_0x44506f._0x4b6782,_0x44506f._0x338f96,_0x44506f._0x1ddfa4,0x653)in _0x1eb75e&&_0x1eb75e[_0x414a97(0x1e5,_0x44506f._0x2d09ae,0x25c,_0x44506f._0x18cc34)]===_0x11c3bb(0x5a8,_0x44506f._0x30461b,_0x44506f._0x2eb848,0x57c);}function isSafeProcessId(_0x128b29){const _0x20012b={_0x292df3:0x3f8,_0x42e26f:0x3e0},_0x880aab={_0x3f9043:0xbe,_0x4aca7a:0x275};function _0x298676(_0x3b1a25,_0x2410f3,_0xc305a3,_0x1378f0){return _0x1ac42a(_0x3b1a25-_0x880aab._0x3f9043,_0x2410f3-0x1cb,_0xc305a3-_0x880aab._0x4aca7a,_0x3b1a25);}return _0x128b29!==void 0x0&&Number[_0x298676(_0x20012b._0x292df3,0x549,_0x20012b._0x42e26f,0x327)](_0x128b29)&&_0x128b29>0x1;}function createProcessTreeSignalAdapter(_0x526f26={}){const _0x8303b4={_0x284b98:0x536,_0x13a10d:0x644,_0x3d476a:0x501,_0xa4c473:0x61c,_0x574430:0x540,_0x43d792:0x4ee,_0x3efc2f:0x54e},_0x32271a={_0x1f145c:0x51f,_0x2bd4c0:0x67d,_0x5538bd:0x215,_0x45de1c:0x37f,_0x473e55:0x4a1,_0x46b6e6:0x3b9,_0x2824ad:0x21b,_0x4f256c:0x1fb,_0x325351:0x85,_0x265c7d:0x122,_0x2ccae1:0x652,_0x147962:0x5c6,_0x2ee7cb:0x550,_0x4f25d1:0x592,_0x35ddf0:0x515,_0x45775c:0x4f0,_0x1d61ee:0x4aa,_0x362050:0x3ad,_0x440b35:0x699,_0x439da7:0x467,_0x432d4f:0x26b,_0x291590:0x295},_0x55be18={_0x35caf1:0x20f,_0x1d0ffb:0x302,_0x5828a4:0x260,_0x49e014:0x106,_0x675d9e:0x22b,_0x27d882:0x23a,_0xfe2047:0x4e0,_0x1a188e:0x696,_0x579abf:0x67a,_0x1e8e01:0x396,_0x18d51f:0x397,_0x1a29af:0x575,_0xcc26a9:0x610},_0x552cf3={_0x4c768d:0x5b5},_0x459fb8={_0x23a6fa:0xb2},_0x37ac51=_0x526f26[_0x459a91(0x5b5,_0x8303b4._0x284b98,0x3c0,_0x8303b4._0x13a10d)]??process[_0x1dc9f2(0x4fd,_0x8303b4._0x3d476a,_0x8303b4._0xa4c473,_0x8303b4._0x574430)];function _0x1dc9f2(_0x2265d6,_0x161a64,_0xd61344,_0x1a9e06){return _0x1ac42a(_0x2265d6-_0x459fb8._0x23a6fa,_0x161a64-0x1b,_0x161a64-0x580,_0xd61344);}const _0x28bbd9=_0x526f26['kill']??process['kill'][_0x459a91(0x1fc,0x3c4,0x311,_0x8303b4._0x43d792)](process);function _0x459a91(_0x1cc1bb,_0xf1202,_0xeddde2,_0x193235){return _0x1ac42a(_0x1cc1bb-0x186,_0xf1202-0x9c,_0xf1202-_0x552cf3._0x4c768d,_0xeddde2);}const _0xc2eea6=_0x526f26[_0x459a91(0x4d5,0x661,_0x8303b4._0x3efc2f,0x6b5)]??_0x1b4331;return{async 'signal'(_0x30a70f,_0x592661){const _0x32a239={_0x734d01:0x3e1,_0x399502:0x59e,_0x2cb812:0x323,_0x408d36:0x3e7,_0x4c5610:0x806},_0x4a50d4={_0x5469a3:0x2b3},_0x109c13={_0x5c334e:0xea},_0x4db8ad={_0x4bc07d:0x96,_0x4ecd66:0x35f};if(_0x37ac51!==_0x4bfde0(_0x32271a._0x1f145c,_0x32271a._0x2bd4c0,0x414,0x36f)){if(!isSafeProcessId(_0x30a70f['processGroupId']))return{'outcome':_0x275425(0x24a,_0x32271a._0x5538bd,_0x32271a._0x45de1c,_0x32271a._0x473e55),'error':_0x275425(0x4bf,0x221,_0x32271a._0x46b6e6,0x214)};try{return _0x28bbd9(-_0x30a70f[_0x275425(_0x32271a._0x2824ad,0x17d,_0x32271a._0x4f256c,_0x32271a._0x325351)],_0x592661===_0x275425(0x16f,0x159,0x1b3,_0x32271a._0x265c7d)?_0x4bfde0(_0x32271a._0x2ccae1,_0x32271a._0x147962,_0x32271a._0x2ee7cb,0x633):_0x4bfde0(_0x32271a._0x4f25d1,_0x32271a._0x35ddf0,_0x32271a._0x45775c,0x62b)),{'outcome':_0x4bfde0(_0x32271a._0x1d61ee,0x4c7,_0x32271a._0x362050,0x592)};}catch(_0xe95236){return isNotFound(_0xe95236)?{'outcome':_0x4bfde0(0x5e9,_0x32271a._0x440b35,0x69e,0x5fa),'error':errorMessage(_0xe95236)}:{'outcome':_0x275425(0x1e4,_0x32271a._0x439da7,0x37f,0x23f),'error':errorMessage(_0xe95236)};}}function _0x275425(_0x1c3268,_0x5cd29d,_0x2c0bb0,_0x1814df){return _0x459a91(_0x1c3268-_0x4db8ad._0x4bc07d,_0x2c0bb0- -_0x4db8ad._0x4ecd66,_0x5cd29d,_0x1814df-0x195);}if(!isSafeProcessId(_0x30a70f[_0x275425(0x1d4,0x32f,_0x32271a._0x432d4f,_0x32271a._0x291590)]))return{'outcome':'failed','error':'Unsafe\x20or\x20missing\x20Windows\x20root\x20pid'};function _0x4bfde0(_0x18d25f,_0x292272,_0xa86260,_0xd7cabb){return _0x1dc9f2(_0x18d25f-0xf9,_0x18d25f-_0x109c13._0x5c334e,_0xd7cabb,_0xd7cabb-0x1f4);}return new Promise(_0x46b69c=>{const _0x5569bd={_0x5898ed:0x188,_0x57fa4d:0x1b,_0x5916b1:0x153,_0x4831da:0x2c5},_0x4a8a21={_0x89583a:0x5c,_0x14ccf6:0x96};let _0x164d33=![];const _0x2f0bb7=_0x471cea=>{if(_0x164d33)return;_0x164d33=!![],_0x46b69c(_0x471cea);};let _0xe55a76;function _0x43fda7(_0xb741d9,_0x8bbeac,_0x3c1a18,_0x3dd9cf){return _0x275425(_0xb741d9-0x1b8,_0x3dd9cf,_0xb741d9- -_0x4a8a21._0x89583a,_0x3dd9cf-_0x4a8a21._0x14ccf6);}function _0x134831(_0x7268bd,_0x32ad9d,_0x5a1815,_0x476dd8){return _0x4bfde0(_0x7268bd- -_0x4a50d4._0x5469a3,_0x32ad9d-0x1b5,_0x5a1815-0x10d,_0x476dd8);}try{const _0x252ca5=['/PID',String(_0x30a70f[_0x43fda7(_0x55be18._0x35caf1,_0x55be18._0x1d0ffb,0x11c,_0x55be18._0x5828a4)]),'/T'];if(_0x592661===_0x43fda7(0x272,_0x55be18._0x49e014,0xc3,0x22b))_0x252ca5['push']('/F');_0xe55a76=_0xc2eea6(_0x134831(0x4c5,0x4ae,0x57d,0x4c8),_0x252ca5,{'stdio':_0x134831(_0x55be18._0x675d9e,0x31a,_0x55be18._0x27d882,0x182),'windowsHide':!![]});}catch(_0xd66648){_0x2f0bb7({'outcome':_0x134831(_0x55be18._0xfe2047,_0x55be18._0x1a188e,_0x55be18._0x579abf,0x36c),'error':errorMessage(_0xd66648)});return;}_0xe55a76[_0x43fda7(0x2af,_0x55be18._0x1e8e01,_0x55be18._0x18d51f,0x10e)]('error',_0x4a87ff=>{const _0x2d9eb2={_0x353809:0x268};function _0x3f5a10(_0x1eaece,_0x4a7307,_0x256e4e,_0x35ba5a){return _0x134831(_0x256e4e-0x326,_0x4a7307-0x4f,_0x256e4e-0xbb,_0x4a7307);}function _0x5969c0(_0x18ca89,_0x106722,_0x55925e,_0x58a22d){return _0x43fda7(_0x18ca89-_0x2d9eb2._0x353809,_0x106722-0x60,_0x55925e-0x79,_0x106722);}_0x2f0bb7(isNotFound(_0x4a87ff)?{'outcome':_0x5969c0(_0x32a239._0x734d01,_0x32a239._0x399502,_0x32a239._0x2cb812,_0x32a239._0x408d36),'error':errorMessage(_0x4a87ff)}:{'outcome':_0x3f5a10(0x8e9,0x8c7,_0x32a239._0x4c5610,0x8e1),'error':errorMessage(_0x4a87ff)});}),_0xe55a76[_0x134831(0x46c,0x35a,_0x55be18._0x1a29af,0x38b)](_0x134831(0x4f6,_0x55be18._0xcc26a9,0x397,0x452),_0x22f41a=>{const _0x4a2c1d={_0x2a28b0:0x38d,_0x3e8dff:0x1d2},_0x58d09f={_0x1f3d12:0x9f};function _0x110ab8(_0x5639e7,_0x1861e5,_0x5212ca,_0x170984){return _0x43fda7(_0x1861e5- -0x208,_0x1861e5-0x1f2,_0x5212ca-_0x58d09f._0x1f3d12,_0x5212ca);}function _0x2853ea(_0x4347f0,_0x505a4c,_0x220610,_0x1707b5){return _0x134831(_0x4347f0- -_0x4a2c1d._0x2a28b0,_0x505a4c-_0x4a2c1d._0x3e8dff,_0x220610-0x6e,_0x220610);}_0x2f0bb7(_0x22f41a===0x0?{'outcome':_0x110ab8(-_0x5569bd._0x5898ed,-0x1ce,-0x31d,-_0x5569bd._0x57fa4d)}:{'outcome':_0x2853ea(_0x5569bd._0x5916b1,-0x2d,_0x5569bd._0x4831da,0xa5),'error':_0x2853ea(-0xd7,-0x171,-0x2d,0x39)+String(_0x22f41a)});});});}};}var ESC='\x1b',BEL='\x07',MAX_PROGRESS_LINE_CHARS=0x100000;function isDiscardedTextControl(_0x4234c7){const _0x90b330={_0x3fe1a6:0x9,_0x3258a5:0x9a},_0x1b7e80={_0x456d66:0x10f,_0x4fa6e2:0x406};function _0x22ff49(_0x2ee9d4,_0x12d78d,_0x46528d,_0x588968){return _0x151cc1(_0x2ee9d4-_0x1b7e80._0x456d66,_0x2ee9d4- -_0x1b7e80._0x4fa6e2,_0x12d78d,_0x588968-0x1c5);}const _0x526e7c=_0x4234c7[_0x22ff49(-_0x90b330._0x3fe1a6,-_0x90b330._0x3258a5,0x134,-0x41)](0x0)??0x0;return _0x526e7c<0x20&&_0x4234c7!=='\x09'||_0x526e7c>=0x7f&&_0x526e7c<=0x9f||_0x526e7c===0xa0||_0x526e7c>=0x200b&&_0x526e7c<=0x200f||_0x526e7c>=0x2060&&_0x526e7c<=0x2069||_0x526e7c===0x23ce||_0x526e7c===0x2424;}function createTerminalOutputNormalizer(){const _0x27a5c7={_0x2d5143:0x488,_0x2a1ff9:0x40d,_0x3647d1:0x49e},_0x5ab256={_0x183c58:0x7fc,_0x5999c3:0x838,_0x481925:0x840,_0x266bd4:0x40e,_0x1fb971:0x396,_0x1a7181:0x51e,_0x2f64ad:0x10a,_0x456680:0x815,_0x3906d6:0x481,_0x5151f0:0x507,_0x4b4de9:0x5f1,_0x284043:0x426},_0x5457d1={_0x3fe298:0x2bc,_0x5dd59a:0x36f,_0x3e128a:0x192,_0x491382:0x3a6,_0xa873bb:0x15b,_0x2afc7b:0x293,_0x370a34:0x3ae,_0x2b1a7f:0x43b,_0x5e43e5:0x53b,_0x141aee:0x283},_0x4fd337={_0x1c30c1:0x85};let _0x29498d='text',_0x1fc66f=![],_0x27c522=![],_0x294bde=[],_0x487a12=0x0,_0x22220b=![];const _0x49d46c=()=>{_0x294bde=[],_0x487a12=0x0;},_0x2b7d18=_0x3505df=>{_0x294bde[_0x587620(_0x5457d1._0x3fe298,_0x5457d1._0x5dd59a,0x376,_0x5457d1._0x3e128a)](_0x3505df);function _0x587620(_0x474710,_0x2fd52f,_0x4d1a89,_0xb732fc){return _0x5041(_0x474710- -_0x4fd337._0x1c30c1,_0xb732fc);}_0x487a12+=_0x3505df[_0x1e23a4(0x4d1,_0x5457d1._0x491382,0x444,0x2f2)];function _0x1e23a4(_0x43de10,_0x4f00da,_0x58cbb4,_0x3ba623){return _0x5041(_0x58cbb4-0x11,_0x43de10);}while(_0x487a12>MAX_PROGRESS_LINE_CHARS){const _0x2fbc79=_0x294bde[_0x1e23a4(0x407,_0x5457d1._0xa873bb,_0x5457d1._0x2afc7b,0x138)]();if(_0x2fbc79===void 0x0)break;_0x487a12-=_0x2fbc79[_0x587620(_0x5457d1._0x370a34,_0x5457d1._0x2b1a7f,_0x5457d1._0x5e43e5,_0x5457d1._0x141aee)];}},_0x31f3a3=_0x6878ae=>{const _0x5b040c=_0x294bde['join']('')+(_0x6878ae?'\x0a':'');return _0x49d46c(),_0x5b040c;},_0x47596e=_0x4c630d=>{const _0x4ff1e8={_0x6c567a:0x3ae};if(_0x22220b)throw new Error(_0x17116c(0x6ef,_0x5ab256._0x183c58,_0x5ab256._0x5999c3,_0x5ab256._0x481925));let _0x333afc='';function _0x17116c(_0x52ad02,_0x3cea04,_0x605ec9,_0x43c7b4){return _0x5041(_0x43c7b4-_0x4ff1e8._0x6c567a,_0x605ec9);}for(const _0x3829c9 of _0x4c630d){if(_0x29498d==='csi'){const _0x246d88=_0x3829c9[_0x4687fb(0x303,_0x5ab256._0x266bd4,_0x5ab256._0x1fb971,0x59c)](0x0)??0x0;if(_0x246d88>=0x40&&_0x246d88<=0x7e)_0x29498d=_0x17116c(_0x5ab256._0x1a7181,0x448,0x394,0x4d3);continue;}if(_0x29498d==='osc'||_0x29498d==='dcs'){if(_0x1fc66f){_0x3829c9==='\x5c'?(_0x29498d='text',_0x1fc66f=![]):_0x1fc66f=_0x3829c9===ESC;continue;}if(_0x3829c9===ESC)_0x1fc66f=!![];else _0x29498d===_0x4687fb(_0x5ab256._0x2f64ad,0x2a7,0xd9,0x2d2)&&_0x3829c9===BEL&&(_0x29498d='text');continue;}if(_0x29498d==='escape'){if(_0x3829c9==='[')_0x29498d=_0x17116c(_0x5ab256._0x456680,0x70a,_0x5ab256._0x3906d6,0x64b);else{if(_0x3829c9===']')_0x29498d=_0x17116c(0x6b9,0x779,_0x5ab256._0x5151f0,_0x5ab256._0x4b4de9),_0x1fc66f=![];else _0x3829c9==='P'||_0x3829c9==='_'||_0x3829c9==='^'?(_0x29498d=_0x4687fb(0x234,0x3dc,0x254,0x271),_0x1fc66f=![]):_0x29498d=_0x4687fb(0x128,0x189,-0x15,0x2e3);}continue;}if(_0x27c522){_0x27c522=![];if(_0x3829c9==='\x0a'){_0x333afc+=_0x31f3a3(!![]);continue;}_0x49d46c();}if(_0x3829c9===ESC)_0x29498d=_0x4687fb(_0x5ab256._0x284043,0x3e8,0x476,0x4f6);else{if(_0x3829c9==='\x0d')_0x27c522=!![];else{if(_0x3829c9==='\x0a')_0x333afc+=_0x31f3a3(!![]);else{if(_0x3829c9==='\x08'){const _0x40fdb0=_0x294bde['pop']();if(_0x40fdb0!==void 0x0)_0x487a12-=_0x40fdb0['length'];}else!isDiscardedTextControl(_0x3829c9)&&_0x2b7d18(_0x3829c9);}}}}function _0x4687fb(_0x291adf,_0xae6f63,_0x52eb60,_0x49df1a){return _0x5041(_0xae6f63-0x64,_0x49df1a);}return _0x333afc;};return{'write':_0x47596e,'end'(){const _0x5622ba={_0x3aab19:0x363};function _0x220305(_0xa0bdff,_0x4b4a43,_0x394172,_0x582915){return _0x5041(_0xa0bdff-_0x5622ba._0x3aab19,_0x582915);}if(_0x22220b)return'';return _0x22220b=!![],_0x27c522=![],_0x29498d=_0x220305(_0x27a5c7._0x2d5143,0x2e9,_0x27a5c7._0x2a1ff9,_0x27a5c7._0x3647d1),_0x1fc66f=![],_0x31f3a3(![]);}};}var BackgroundProcessCleanupError=class extends Error{constructor(_0x4d8cf3){const _0x5deccd={_0x165648:0x2d4,_0x364146:0x18a,_0x3ccdc4:0x58e,_0x4f4432:0x535,_0x1c5f0c:0x270,_0x14a57f:0x103},_0x4492a2={_0x514390:0x467},_0x11a2d7={_0x402a79:0x1e5,_0x5d2e90:0x144};function _0x446077(_0x18a370,_0x4b7164,_0x2a6ad3,_0x5d54ab){return _0x151cc1(_0x18a370-_0x11a2d7._0x402a79,_0x18a370-_0x11a2d7._0x5d2e90,_0x2a6ad3,_0x5d54ab-0x117);}super('Unable\x20to\x20terminate\x20background\x20processes;\x20session\x20ownership\x20was\x20preserved.'),this[_0x446077(_0x5deccd._0x165648,0x2eb,0x311,_0x5deccd._0x364146)]=_0x4d8cf3;function _0xc7f7d3(_0x36cac7,_0x14fcd2,_0x2b0a9a,_0xae8d12){return _0x1ac42a(_0x36cac7-0x2,_0x14fcd2-0x66,_0x14fcd2-_0x4492a2._0x514390,_0xae8d12);}this[_0x446077(0x553,_0x5deccd._0x3ccdc4,0x576,_0x5deccd._0x4f4432)]=_0xc7f7d3(0x2eb,0x2a8,_0x5deccd._0x1c5f0c,_0x5deccd._0x14a57f);}},TERMINATION_WINDOW_MS=0x7d0;function isTerminalStatus(_0x5de16e){const _0x1827dd={_0x489356:0x9d,_0x531935:0x0,_0x32a2b6:0x213,_0x544de9:0x687},_0x5b43f5={_0x1a1706:0x42,_0x585acb:0xdd},_0xabaa41={_0x1082b8:0x8,_0x417a05:0x5f6};function _0x17076d(_0x302817,_0x100b56,_0x1a4f45,_0x251489){return _0x1ac42a(_0x302817-0xe6,_0x100b56-_0xabaa41._0x1082b8,_0x1a4f45-_0xabaa41._0x417a05,_0x251489);}function _0x59315c(_0x29d64d,_0x15ae11,_0x122bfc,_0x2f613d){return _0x1ac42a(_0x29d64d-_0x5b43f5._0x1a1706,_0x15ae11-0x9b,_0x29d64d-_0x5b43f5._0x585acb,_0x2f613d);}return _0x5de16e===_0x59315c(-_0x1827dd._0x489356,_0x1827dd._0x531935,-_0x1827dd._0x32a2b6,-0x204)||_0x5de16e==='killed'||_0x5de16e===_0x17076d(0x6bf,0x4b5,0x677,_0x1827dd._0x544de9);}var BackgroundProcessRegistry=class{[_0x151cc1(0x321,0x35e,0x4df,0x18e)]=new Map();['reservations']=new Map();['maxConcurrent'];[_0x1ac42a(-0x224,-0x5d,-0x1b5,-0x163)];['capChars'];[_0x1ac42a(-0x1e1,0x6,-0x7f,-0x20c)];[_0x1ac42a(0xa7,-0x15e,-0x12,-0x1)];['counter']=0x0;constructor(_0x92d9ad={}){const _0x526a93={_0x493cdb:0x3d6,_0x3f6d89:0x15e,_0x117ea2:0x2df,_0x3ca0dc:0x20a,_0x44e142:0x558,_0x3b6dee:0x4a3,_0x533723:0x2a0,_0x29f620:0x275,_0x836a70:0x3b7,_0x3678a6:0x37a,_0x2079f6:0x75d,_0x13daba:0x5d9,_0x421920:0x147,_0x23ceb5:0x312,_0x39d6ce:0x51e,_0x13fc35:0x511,_0x553e3d:0x752,_0x2bece1:0x36f,_0x21db7c:0x215,_0x347dcc:0x322,_0x162d7a:0x669,_0x29e0f4:0x5c2,_0x1aea05:0x5c3},_0xb8a776={_0x4a3f3b:0x133};this[_0x1ed6cf(0x292,_0x526a93._0x493cdb,_0x526a93._0x3f6d89,0x20a)]=_0x92d9ad[_0x1ed6cf(0x4f,_0x526a93._0x117ea2,0x54,_0x526a93._0x3ca0dc)]??0xa;function _0x5bbfa9(_0x4aafe4,_0x25e155,_0x516d39,_0x5b76f5){return _0x1ac42a(_0x4aafe4-0x1df,_0x25e155-_0xb8a776._0x4a3f3b,_0x5b76f5-0x658,_0x25e155);}this['maxEntries']=_0x92d9ad[_0x5bbfa9(0x4cc,0x2f4,_0x526a93._0x44e142,_0x526a93._0x3b6dee)]??0x40,this[_0x1ed6cf(_0x526a93._0x533723,0x1f9,_0x526a93._0x29f620,_0x526a93._0x836a70)]=_0x92d9ad[_0x1ed6cf(0x1ed,_0x526a93._0x3678a6,0x36d,0x3b7)]??0x100000,this[_0x5bbfa9(_0x526a93._0x2079f6,0x6cc,0x78c,_0x526a93._0x13daba)]=_0x92d9ad[_0x1ed6cf(0x478,_0x526a93._0x421920,_0x526a93._0x23ceb5,0x2b5)]??process[_0x5bbfa9(_0x526a93._0x39d6ce,_0x526a93._0x13fc35,_0x526a93._0x553e3d,_0x526a93._0x13daba)];function _0x1ed6cf(_0x53c65e,_0x47e609,_0x5f93a0,_0x407940){return _0x1ac42a(_0x53c65e-0x5a,_0x47e609-0x12b,_0x407940-0x334,_0x47e609);}this[_0x1ed6cf(_0x526a93._0x2bece1,_0x526a93._0x21db7c,0x1c3,_0x526a93._0x347dcc)]=_0x92d9ad['signalAdapter']??createProcessTreeSignalAdapter({'platform':this[_0x5bbfa9(_0x526a93._0x162d7a,_0x526a93._0x29e0f4,_0x526a93._0x1aea05,0x5d9)]});}[_0x1ac42a(-0x12,0x95,0xfd,-0xd0)](){const _0xc5621f={_0xbe8ffa:0x425,_0x3d359b:0x5dc,_0x3b1eb9:0x347,_0x42623d:0x1c7,_0x15ca3c:0x2d5,_0x55180e:0x398,_0x53e30b:0x3a4,_0x2300cc:0x6cc,_0x32b649:0x4ea,_0x5c66b4:0x2c1,_0x165b0a:0x1fa,_0x2f9712:0x3ab,_0x471f0d:0x4fc,_0x5b56ae:0x3cf,_0xd74b4b:0x2c1,_0x23408e:0x2d2,_0x59ee7d:0x12a,_0xaf3fdc:0x2ce,_0x779ef0:0x398,_0x58c80a:0x3d7,_0x52363c:0x1f8,_0x1eae77:0x340,_0x2d734f:0x2fa,_0x23c769:0x374},_0x56f702={_0x5367bc:0xca,_0x29b805:0x194},_0x2072ef={_0x227d26:0x6b};function _0x5d4bc5(_0x58f9df,_0x4e51be,_0x417446,_0x555da6){return _0x1ac42a(_0x58f9df-0x12e,_0x4e51be-_0x2072ef._0x227d26,_0x58f9df-0x3eb,_0x555da6);}const _0x46a957=[...this[_0x312cec(_0xc5621f._0xbe8ffa,0x541,_0xc5621f._0x3d359b,0x3cc)][_0x5d4bc5(_0xc5621f._0x3b1eb9,0x42b,0x296,_0xc5621f._0x42623d)]()][_0x5d4bc5(0x285,0x375,_0xc5621f._0x15ca3c,_0xc5621f._0x55180e)](_0x3cf1da=>!_0x3cf1da[_0x5d4bc5(0x255,0x113,0x21f,0x1fc)]);if(_0x46a957['length']+this[_0x5d4bc5(0x539,0x5e3,0x46b,_0xc5621f._0x53e30b)][_0x5d4bc5(0x552,0x453,_0xc5621f._0x2300cc,_0xc5621f._0x32b649)]>=this[_0x5d4bc5(_0xc5621f._0x5c66b4,_0xc5621f._0x165b0a,0x2e6,_0xc5621f._0x2f9712)])throw new ToolExecutionError(_0x312cec(0x4a1,_0xc5621f._0x471f0d,0x48e,_0xc5621f._0x5b56ae)+this[_0x5d4bc5(_0xc5621f._0xd74b4b,0x452,0x10e,0x279)]+_0x312cec(_0xc5621f._0x23408e,_0xc5621f._0x59ee7d,0x13c,0x392),{'running':this[_0x5d4bc5(0x2c1,0x163,0x411,_0xc5621f._0xaf3fdc)]});const _0x176f04=Object[_0x5d4bc5(_0xc5621f._0x779ef0,0x408,_0xc5621f._0x58c80a,_0xc5621f._0x52363c)]({'id':randomUUID()});function _0x312cec(_0x31b668,_0x128f1d,_0x38d2fd,_0x113953){return _0x151cc1(_0x31b668-_0x56f702._0x5367bc,_0x31b668-0xc7,_0x128f1d,_0x113953-_0x56f702._0x29b805);}return this['reservations'][_0x312cec(_0xc5621f._0x1eae77,_0xc5621f._0x2d734f,0x4e1,_0xc5621f._0x23c769)](_0x176f04['id'],_0x176f04),_0x176f04;}[_0x1ac42a(-0x2af,-0x28d,-0x200,-0x25d)](_0x406247){const _0x20028a={_0x45e7cf:0x7bd,_0x4b69f2:0x442,_0x10e4f7:0x4f6},_0x3ece96={_0x1d42f7:0xf2,_0x2942c8:0x5c},_0x52a9fa={_0x42a98a:0xae,_0x13acf8:0x302,_0x5ece8a:0x3d};function _0x274a78(_0x471a7f,_0x2e1e1d,_0x238d88,_0x4629bc){return _0x151cc1(_0x471a7f-_0x52a9fa._0x42a98a,_0x4629bc-_0x52a9fa._0x13acf8,_0x471a7f,_0x4629bc-_0x52a9fa._0x5ece8a);}function _0x5d5338(_0x4154b8,_0x1f20ac,_0x535c4f,_0x2084c1){return _0x1ac42a(_0x4154b8-0x107,_0x1f20ac-_0x3ece96._0x1d42f7,_0x2084c1- -_0x3ece96._0x2942c8,_0x535c4f);}this['reservations']['get'](_0x406247['id'])===_0x406247&&this[_0x274a78(_0x20028a._0x45e7cf,0x615,0x65d,0x7cd)][_0x274a78(0x485,0x3be,_0x20028a._0x4b69f2,_0x20028a._0x10e4f7)](_0x406247['id']);}[_0x151cc1(0x3db,0x29d,0x290,0xcf)](_0x54a850,_0x18a39f){const _0x2fdd44={_0x5d085c:0x34b,_0x4e1bea:0x11,_0x5322cb:0x2da,_0x7a707f:0x262,_0x2864cc:0x11f,_0x2a65a5:0x303,_0xdc2c2a:0x32c,_0x3b2a1d:0x1b6,_0x59f905:0xd7,_0x1cf09e:0x1b,_0xf350cf:0x25,_0x5ae718:0x3f,_0x4e89d5:0xdf,_0xcc9b0b:0x209,_0x3b1d73:0x5c,_0x4c81ae:0x10,_0x53dc45:0x197,_0xf0740e:0x13d,_0x39f00f:0x361,_0xe7a6bc:0x31a,_0x1d71b9:0x1dd,_0x444873:0x15d,_0x292bf5:0x256,_0x36ac2d:0x206,_0x11ac99:0x3f4,_0x3884e7:0x15a,_0x5b071f:0x6d,_0x4b162e:0x190,_0x2fe9f1:0xbe,_0x13dd5c:0x2c1,_0x1180dd:0x1bd,_0xa528bc:0x118,_0x27adb3:0x140,_0x5d683d:0x256,_0x144347:0x324,_0x20e2f8:0x2ee,_0x198ff8:0x324,_0x2f75d5:0x489,_0x222abe:0x292,_0xb71a8f:0x2f3,_0x3ed368:0x21b,_0x4e5d21:0x55,_0x4fa06e:0xb1,_0x27b4b8:0x98,_0x45f378:0x1b2,_0x49f3cd:0x51,_0x4ccf50:0x90,_0x4f9f12:0x1c,_0x3ff179:0x388,_0x18995d:0x2a7,_0x3abdfb:0x324,_0x41cad7:0x92,_0x3584c3:0x28,_0x558050:0x12d,_0x5d484b:0x26a,_0x2cb90b:0x409,_0x57509e:0x424,_0x5dde53:0xd6,_0x1c508c:0xde,_0x1e29bf:0x1fd,_0x42c185:0x1cf,_0x43c780:0x8c,_0xfb333a:0x30c,_0x5ceb9f:0x29c,_0x1b2582:0x297,_0x8f9978:0x1a5,_0x21ff8e:0x61,_0x267076:0x146,_0x2fcad6:0x183,_0x4e37f8:0x2c,_0x4d4309:0x249,_0x45db49:0x8f},_0x919dce={_0x1b6d2a:0x0,_0x323eec:0x4b3,_0xecb59:0x2cc,_0x4c1840:0x1a2,_0x234c59:0x30b,_0x380d9a:0x71b,_0x24faf1:0xe4,_0x2b828c:0x23,_0x38fbde:0x145},_0x54dc9a={_0x3b42eb:0x12c},_0x5425aa={_0x1ea2dc:0x14c,_0x29f33e:0x80b,_0x21f51a:0x785,_0x27c3fd:0x7c5,_0x2a5369:0x35},_0x8f3527={_0x53fcb4:0x79},_0x3b8c7a={_0x55ec0a:0x90,_0x559680:0x1e,_0x4e36bd:0x510},_0x3919d4={_0x236240:0x298,_0x144e30:0x282,_0x4a15ef:0x1c2,_0x44b6cc:0x3e3,_0x46e21c:0x4ba,_0xdaa36:0x366},_0x2364b0={_0xa484dd:0x1db},_0x4eb5d={_0x507c0d:0xc2,_0x58d18d:0x133,_0x84c680:0x53,_0x22937c:0x118,_0x5d3195:0x1e8},_0x3cf368={_0xf84dc7:0x148,_0x320e38:0x3fe},_0x26a2dc={_0x56f33b:0x345,_0x181cf6:0x33a},_0x22ce22={_0x44c3dd:0x195,_0x531a6e:0x1c8},_0x557951={_0x8b8241:0x1b6,_0x4e9123:0x1bf,_0x2c962c:0x164};if(this[_0x3ab96c(0x192,_0x2fdd44._0x5d085c,0xf5,0x2b2)][_0x3ab96c(-_0x2fdd44._0x4e1bea,0x1a9,_0x2fdd44._0x5322cb,0x150)](_0x54a850['id'])!==_0x54a850)throw new ToolExecutionError(_0x3ab96c(0x2a5,_0x2fdd44._0x7a707f,0x14d,_0x2fdd44._0x2864cc),{'reservationId':_0x54a850['id']});this[_0x1e0d2b(0x239,_0x2fdd44._0x2a65a5,_0x2fdd44._0xdc2c2a,_0x2fdd44._0x3b2a1d)][_0x3ab96c(-_0x2fdd44._0x59f905,0x34,_0x2fdd44._0x1cf09e,-_0x2fdd44._0xf350cf)](_0x54a850['id']);let _0x4d167c;const _0x2d6222=new Promise(_0x5ea62a=>{_0x4d167c=_0x5ea62a;}),_0x31f1cd=_0x3ab96c(_0x2fdd44._0x5ae718,0x34,_0x2fdd44._0x4e89d5,0x195)+ ++this[_0x1e0d2b(-_0x2fdd44._0xcc9b0b,-_0x2fdd44._0x3b1d73,0x142,0x84)]+'-'+randomUUID()[_0x1e0d2b(_0x2fdd44._0x4c81ae,_0x2fdd44._0x53dc45,_0x2fdd44._0xf0740e,_0x2fdd44._0x39f00f)](0x0,0x8);function _0x3ab96c(_0x5aca79,_0x1bf458,_0x573837,_0x502eb8){return _0x1ac42a(_0x5aca79-_0x557951._0x8b8241,_0x1bf458-_0x557951._0x4e9123,_0x502eb8-_0x557951._0x2c962c,_0x573837);}function _0x1e0d2b(_0x1bd0a6,_0x1fa3b4,_0x52a7dc,_0x5255a1){return _0x151cc1(_0x1bd0a6-_0x22ce22._0x44c3dd,_0x1fa3b4- -_0x22ce22._0x531a6e,_0x52a7dc,_0x5255a1-0x2d);}const _0xbe7c54={'shellId':_0x31f1cd,'command':_0x18a39f[_0x1e0d2b(_0x2fdd44._0xe7a6bc,0x16d,0x44,0x1e9)],'cwd':_0x18a39f['cwd'],'pid':_0x18a39f[_0x3ab96c(0x32f,_0x2fdd44._0x1d71b9,_0x2fdd44._0x444873,_0x2fdd44._0x292bf5)][_0x1e0d2b(_0x2fdd44._0x36ac2d,0x22a,0x242,_0x2fdd44._0x11ac99)],'processGroupId':_0x18a39f[_0x1e0d2b(0x1c3,_0x2fdd44._0x3884e7,-_0x2fdd44._0x5b071f,-0x66)],'status':_0x3ab96c(_0x2fdd44._0x4b162e,-_0x2fdd44._0x2fe9f1,-0x18f,0x3f),'exitCode':null,'signal':null,'startedAt':Date[_0x3ab96c(0x2fb,0x16,_0x2fdd44._0x13dd5c,_0x2fdd44._0x1180dd)](),'error':null,'gracefulRequested':![],'forceRequested':![],'child':_0x18a39f[_0x3ab96c(_0x2fdd44._0xa528bc,_0x2fdd44._0x27adb3,0xe4,_0x2fdd44._0x5d683d)],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder(_0x1e0d2b(0x1c9,_0x2fdd44._0x144347,_0x2fdd44._0x20e2f8,0x45b)),'stderrDecoder':new StringDecoder(_0x1e0d2b(0x4ec,_0x2fdd44._0x198ff8,_0x2fdd44._0x2f75d5,_0x2fdd44._0x222abe)),'stdoutNormalizer':createTerminalOutputNormalizer(),'stderrNormalizer':createTerminalOutputNormalizer(),'stripAnsi':_0x18a39f[_0x1e0d2b(_0x2fdd44._0xb71a8f,0x14e,_0x2fdd44._0x3ed368,_0x2fdd44._0x4e5d21)],'killRequested':![],'processExited':![],'streamsFlushed':![],'terminalSettled':![],'terminalPromise':_0x2d6222,'resolveTerminal':_0x4d167c,'terminationSettled':![]};this['entries'][_0x1e0d2b(-0x2d,_0x2fdd44._0x4fa06e,-0x3f,-0x6c)](_0x31f1cd,_0xbe7c54);try{_0x18a39f['child'][_0x1e0d2b(_0x2fdd44._0x27b4b8,_0x2fdd44._0x45f378,_0x2fdd44._0x49f3cd,_0x2fdd44._0x4ccf50)]?.['on'](_0x1e0d2b(-0xe8,_0x2fdd44._0x4f9f12,-0x2c,-0x152),_0x136eb3=>{const _0x5f030b={_0x141e78:0x77};function _0x377d25(_0x266af3,_0x102607,_0x1c1d55,_0x31b6db){return _0x1e0d2b(_0x266af3-0x1e0,_0x102607-0x1aa,_0x31b6db,_0x31b6db-_0x5f030b._0x141e78);}this['appendDecoded'](_0xbe7c54,_0xbe7c54['stdoutDecoder'],_0xbe7c54[_0x377d25(_0x26a2dc._0x56f33b,0x37c,_0x26a2dc._0x181cf6,0x1bb)],_0x136eb3);}),_0x18a39f[_0x1e0d2b(_0x2fdd44._0x3ff179,_0x2fdd44._0x18995d,_0x2fdd44._0x3abdfb,0x22e)][_0x1e0d2b(_0x2fdd44._0x41cad7,0x1b4,0x12c,0x22d)]?.['on'](_0x3ab96c(_0x2fdd44._0x3584c3,_0x2fdd44._0x558050,-0x167,-0x35),_0x16e70e=>{const _0x5dcaf0={_0x2258f8:0x177,_0x574d14:0x5f,_0x1dc1bc:0x127};function _0x1cab1e(_0x2d5506,_0xbc6198,_0x4c6ff8,_0x5ad8f1){return _0x3ab96c(_0x2d5506-_0x5dcaf0._0x2258f8,_0xbc6198-_0x5dcaf0._0x574d14,_0x5ad8f1,_0x4c6ff8- -_0x5dcaf0._0x1dc1bc);}function _0x1347fa(_0xe8a89b,_0x385489,_0x5e445c,_0x24ca1d){return _0x3ab96c(_0xe8a89b-_0x3cf368._0xf84dc7,_0x385489-0xf,_0x5e445c,_0x385489-_0x3cf368._0x320e38);}this[_0x1cab1e(0x17,-0x119,-_0x4eb5d._0x507c0d,-0xb4)](_0xbe7c54,_0xbe7c54[_0x1cab1e(-_0x4eb5d._0x58d18d,0x8c,_0x4eb5d._0x84c680,_0x4eb5d._0x22937c)],_0xbe7c54[_0x1cab1e(-_0x4eb5d._0x5d3195,-0xbf,-0x113,-0x51)],_0x16e70e);}),_0x18a39f[_0x3ab96c(0xa3,0x23c,0xa9,0x256)][_0x1e0d2b(0x1e7,_0x2fdd44._0x5d484b,_0x2fdd44._0x2cb90b,_0x2fdd44._0x57509e)](_0x3ab96c(0x25d,_0x2fdd44._0x5dde53,_0x2fdd44._0x1c508c,_0x2fdd44._0x1e29bf),(_0x2c56a4,_0x19fc3b)=>{const _0x43d15d={_0x2175f3:0x189,_0x3a7950:0x103};_0xbe7c54[_0x459d75(0x2da,0xfe,_0x3919d4._0x236240,0x307)]=!![];function _0x539cf5(_0x4b0705,_0x203c35,_0x35b7af,_0x1dd405){return _0x3ab96c(_0x4b0705-_0x43d15d._0x2175f3,_0x203c35-_0x43d15d._0x3a7950,_0x4b0705,_0x1dd405-0x3fb);}_0xbe7c54[_0x459d75(0x1c2,0x318,_0x3919d4._0x144e30,0x2c2)]=_0x2c56a4;function _0x459d75(_0x32b6cf,_0x59f14a,_0x3c8cac,_0x1e7178){return _0x1e0d2b(_0x32b6cf-_0x2364b0._0xa484dd,_0x3c8cac-0x2d,_0x1e7178,_0x1e7178-0xb5);}_0xbe7c54[_0x539cf5(_0x3919d4._0x4a15ef,_0x3919d4._0x44b6cc,_0x3919d4._0x46e21c,_0x3919d4._0xdaa36)]=_0x19fc3b;}),_0x18a39f['child'][_0x1e0d2b(_0x2fdd44._0x42c185,0x26a,0x166,0xa4)](_0x1e0d2b(_0x2fdd44._0x43c780,0x236,0x2c3,_0x2fdd44._0xfb333a),_0x8a2340=>{function _0x200507(_0x27aae8,_0x525486,_0x18db87,_0x18eed2){return _0x3ab96c(_0x27aae8-_0x3b8c7a._0x55ec0a,_0x525486-_0x3b8c7a._0x559680,_0x18eed2,_0x525486-_0x3b8c7a._0x4e36bd);}_0xbe7c54[_0x56be24(0x21a,_0x5425aa._0x1ea2dc,0x27b,0x174)]=_0x8a2340[_0x200507(_0x5425aa._0x29f33e,_0x5425aa._0x21f51a,0x6e2,_0x5425aa._0x27c3fd)];function _0x56be24(_0x46eafd,_0x464a53,_0x31b3f6,_0x1d2005){return _0x1e0d2b(_0x46eafd-0x148,_0x1d2005- -0xc2,_0x464a53,_0x1d2005-_0x8f3527._0x53fcb4);}_0xbe7c54[_0x56be24(_0x5425aa._0x2a5369,0x134,0x129,0x17e)]=_0x200507(0x5af,0x6f5,0x81d,0x65d);}),_0x18a39f[_0x1e0d2b(0x434,0x2a7,_0x2fdd44._0x5ceb9f,_0x2fdd44._0x1b2582)]['once']('close',(_0x18d085,_0x2cb73e)=>{_0xbe7c54[_0x59054a(0x19f,_0x919dce._0x1b6d2a,0x2a6,0x2da)]=_0x18d085,_0xbe7c54['signal']=_0x2cb73e;function _0x59054a(_0x412b3e,_0x34d3a5,_0x50c212,_0x58efd2){return _0x3ab96c(_0x412b3e-_0x54dc9a._0x3b42eb,_0x34d3a5-0xde,_0x50c212,_0x412b3e- -0x65);}_0xbe7c54[_0x20c0fc(_0x919dce._0x323eec,0x5de,0x7ef,0x62f)]=null;_0xbe7c54[_0x59054a(0x18a,_0x919dce._0xecb59,_0x919dce._0x4c1840,_0x919dce._0x234c59)]!==_0x20c0fc(_0x919dce._0x380d9a,0x6b3,0x53d,0x5be)&&(_0xbe7c54['status']=_0xbe7c54[_0x59054a(-0x29,_0x919dce._0x24faf1,_0x919dce._0x2b828c,-_0x919dce._0x38fbde)]?'killed':'exited');function _0x20c0fc(_0x1f6b05,_0x4c56c1,_0x346e9f,_0x3473d0){return _0x3ab96c(_0x1f6b05-0x17b,_0x4c56c1-0xe9,_0x346e9f,_0x3473d0-0x3d9);}this['settleTerminal'](_0xbe7c54);});}catch(_0x36429a){this[_0x1e0d2b(_0x2fdd44._0x8f9978,0x196,_0x2fdd44._0x21ff8e,_0x2fdd44._0x267076)][_0x1e0d2b(_0x2fdd44._0x2fcad6,_0x2fdd44._0x4e37f8,0x1d3,-0x38)](_0x31f1cd);throw _0x36429a;}return this[_0x3ab96c(0x117,-_0x2fdd44._0x4d4309,-0x21c,-_0x2fdd44._0x45db49)](),_0xbe7c54;}['spawn'](_0x4824c2){const _0x255bf4={_0xfccb91:0x500,_0x1d2e65:0x32f,_0x5bfbe7:0x429,_0x6560ae:0x2c9,_0xb21f5d:0x505,_0x130400:0x524,_0x158ef3:0x4bf,_0x5e192b:0x59a,_0x34e9f7:0x5bb,_0x219749:0x368,_0x48354c:0x51d,_0x49103f:0x650,_0x273fe9:0x55f,_0x5238df:0x46f},_0x5bae82={_0x56ae9b:0x66f},_0x2e5455={_0x3979da:0x1c9,_0x246dc8:0x1ed};function _0x442f8a(_0x56feff,_0x4796dd,_0x47e36e,_0x4c7c87){return _0x151cc1(_0x56feff-_0x2e5455._0x3979da,_0x4796dd-0x12b,_0x56feff,_0x4c7c87-_0x2e5455._0x246dc8);}function _0x258d26(_0x22f628,_0x5236fc,_0x425e8f,_0x16f9fc){return _0x1ac42a(_0x22f628-0xac,_0x5236fc-0xb7,_0x16f9fc-_0x5bae82._0x56ae9b,_0x425e8f);}const _0x44e5b2=this[_0x258d26(0x8e9,0x80a,0x7ed,0x76c)]();try{return this[_0x442f8a(0x557,0x3c8,_0x255bf4._0xfccb91,_0x255bf4._0x1d2e65)](_0x44e5b2,{..._0x4824c2,...this[_0x442f8a(0x365,_0x255bf4._0x5bfbe7,_0x255bf4._0x6560ae,0x3dd)]===_0x258d26(_0x255bf4._0xb21f5d,0x649,0x656,_0x255bf4._0x130400)?{}:{'processGroupId':_0x4824c2[_0x442f8a(_0x255bf4._0x158ef3,_0x255bf4._0x5e192b,0x55b,_0x255bf4._0x34e9f7)][_0x442f8a(_0x255bf4._0x219749,_0x255bf4._0x48354c,_0x255bf4._0x49103f,0x383)]}});}catch(_0xd48bd9){this[_0x258d26(0x477,_0x255bf4._0x273fe9,0x30f,_0x255bf4._0x5238df)](_0x44e5b2);throw _0xd48bd9;}}[_0x151cc1(0x500,0x46a,0x419,0x383)](_0xa9b3a,_0x170509){const _0x40bacc={_0x5cd182:0x13b,_0x26172b:0x5e,_0x191196:0x1f3,_0x2b97c6:0x3aa,_0x3db1e9:0x1ec,_0x4691de:0x27f,_0x451a74:0x1e8,_0x3d3be5:0x351,_0x4a4ee8:0xf8,_0x36d511:0x1,_0x3cdf86:0x93,_0x178294:0x17e,_0xd7dde4:0x2d1,_0xad676d:0x23a,_0x47e878:0x29b,_0x45936b:0x18e,_0x17afed:0x42,_0x11b6fe:0x109,_0x1fd53c:0x1e9,_0x5ec155:0x237,_0x27fedf:0x64,_0x328296:0x6a,_0x3d17ab:0x69,_0x271449:0x39,_0x214282:0xe5,_0x3f8274:0x1af,_0x146300:0x3f,_0x2071e7:0x161,_0x262b28:0x67,_0x2c11ba:0x3b8,_0x57aee2:0x19d,_0x2f9b51:0x383,_0x562549:0xdb,_0x22ebfd:0x16,_0x22e854:0x3c,_0x4392ff:0x1f9,_0x5da6b1:0x13c,_0x58aef4:0x220,_0x30cde0:0x1aa,_0x4604c2:0x20,_0xfe912e:0xde,_0xc491c7:0x11f,_0x2d75b8:0xa2,_0x4efea5:0x30d,_0x45f5e9:0x28c,_0x159896:0x1e5,_0x5082d4:0x1d9,_0x299c89:0x2ce,_0x26b2de:0x128,_0x40fc66:0x4c},_0x426e2a={_0x52ef0e:0x4b},_0x17bc8a={_0x32f943:0x1c},_0x5cef58=this[_0x21ddab(0x2d0,_0x40bacc._0x5cd182,-_0x40bacc._0x26172b,_0x40bacc._0x191196)][_0x21ddab(-0x7c,0x146,0x27e,-0x5f)](_0xa9b3a);if(!_0x5cef58)throw new ToolExecutionError(_0x11aaf8(_0x40bacc._0x2b97c6,0x2f0,_0x40bacc._0x3db1e9,0x1c1)+_0xa9b3a,{'shellId':_0xa9b3a});const _0x24954a=_0x5cef58[_0x21ddab(_0x40bacc._0x4691de,_0x40bacc._0x451a74,_0x40bacc._0x3d3be5,_0x40bacc._0x4a4ee8)][_0x11aaf8(0x20c,-_0x40bacc._0x36d511,0x1c4,0x327)]('');function _0x21ddab(_0xdebeda,_0x2c4848,_0x544786,_0x14bdaa){return _0x151cc1(_0xdebeda-_0x17bc8a._0x32f943,_0x2c4848- -0x223,_0x544786,_0x14bdaa-0x72);}const _0x449581=Math['max'](_0x5cef58[_0x11aaf8(0x292,_0x40bacc._0x3cdf86,_0x40bacc._0x178294,_0x40bacc._0xd7dde4)],_0x5cef58[_0x11aaf8(0x6e,-0x1ca,-0x42,-0x18d)]),_0x51a9d4=Math[_0x11aaf8(_0x40bacc._0xad676d,0x22c,0x119,_0x40bacc._0x47e878)](0x0,_0x5cef58[_0x11aaf8(-0x17e,_0x40bacc._0x45936b,-_0x40bacc._0x17afed,-_0x40bacc._0x11b6fe)]-_0x5cef58[_0x21ddab(0x328,0x250,_0x40bacc._0x1fd53c,0xbd)]),_0x290224=_0x24954a[_0x11aaf8(_0x40bacc._0x5ec155,-_0x40bacc._0x27fedf,_0x40bacc._0x328296,-_0x40bacc._0x3d17ab)](_0x449581-_0x5cef58[_0x11aaf8(-_0x40bacc._0x271449,-_0x40bacc._0x214282,-_0x40bacc._0x17afed,-_0x40bacc._0x3f8274)]);let _0x58cf99;function _0x11aaf8(_0x37a6db,_0x4d5269,_0x41aae7,_0x5c837b){return _0x1ac42a(_0x37a6db-_0x426e2a._0x52ef0e,_0x4d5269-0x13,_0x41aae7-0x88,_0x4d5269);}const _0x4eb0b7=_0x170509?.[_0x21ddab(0x29b,0xd0,-0x33,-_0x40bacc._0x146300)];if(!_0x4eb0b7)_0x58cf99=_0x290224,_0x5cef58[_0x11aaf8(0x36,_0x40bacc._0x2071e7,0x17e,0x10)]=_0x5cef58[_0x21ddab(-0x48,-_0x40bacc._0x262b28,-0xe7,-0x137)];else{let _0x4189d4;try{_0x4189d4=new RegExp(_0x4eb0b7);}catch(_0x476731){throw new ToolExecutionError(_0x11aaf8(_0x40bacc._0x2c11ba,_0x40bacc._0x57aee2,0x206,_0x40bacc._0x2f9b51)+(_0x476731 instanceof Error?_0x476731[_0x21ddab(_0x40bacc._0x562549,0x26b,0x3a3,0x2b4)]:String(_0x476731)),{'shellId':_0xa9b3a,'regex':_0x4eb0b7});}let _0x13ea4c=_0x290224;if(!_0x5cef58[_0x21ddab(_0x40bacc._0x22ebfd,-_0x40bacc._0x22e854,0x57,-0x7f)]){const _0x28062d=_0x290224['lastIndexOf']('\x0a');_0x13ea4c=_0x28062d>=0x0?_0x290224[_0x21ddab(_0x40bacc._0x4392ff,_0x40bacc._0x5da6b1,0x1b2,_0x40bacc._0x58aef4)](0x0,_0x28062d+0x1):'';}_0x58cf99=_0x13ea4c[_0x21ddab(0x2f0,0x21b,_0x40bacc._0x30cde0,0x2eb)]('\x0a')[_0x11aaf8(-_0x40bacc._0x4604c2,-0x269,-_0x40bacc._0xfe912e,-_0x40bacc._0xc491c7)](_0x535be9=>_0x4189d4[_0x21ddab(0x30d,0x2bf,0x173,0x314)](_0x535be9))['join']('\x0a'),_0x5cef58['readCursor']=_0x449581+_0x13ea4c[_0x11aaf8(0x4d,_0x40bacc._0x2d75b8,0x191,_0x40bacc._0x4efea5)];}return{'output':(_0x51a9d4>0x0?'[output\x20truncated:\x20'+_0x51a9d4+'\x20chars\x20dropped]\x0a':'')+_0x58cf99,'status':_0x5cef58[_0x21ddab(_0x40bacc._0x45f5e9,_0x40bacc._0x159896,0x30f,0xcb)],'exitCode':_0x5cef58[_0x11aaf8(_0x40bacc._0x5082d4,_0x40bacc._0x299c89,_0x40bacc._0x26b2de,0x48)],'signal':_0x5cef58[_0x11aaf8(-0x2fc,-0x259,-0x171,-_0x40bacc._0x40fc66)],'error':_0x5cef58['error'],'truncated':_0x51a9d4>0x0};}[_0x151cc1(0x36d,0x1b1,0x11a,0x309)](){const _0xecb1db={_0x480c88:0x6dc},_0x11dacc={_0x18301a:0x124};function _0x2e172d(_0x28c883,_0xd7f543,_0x50064d,_0x5b2db8){return _0x151cc1(_0x28c883-0x122,_0x28c883-0x254,_0x5b2db8,_0x5b2db8-_0x11dacc._0x18301a);}return[...this['entries'][_0x2e172d(0x52d,_0xecb1db._0x480c88,0x6d0,0x3f3)]()];}[_0x151cc1(0x174,0x2df,0x406,0x416)](_0x4fc440){const _0x4d2239={_0x2d5340:0x726,_0x45d72e:0x3c1,_0x9171e7:0x4dc,_0x4429b5:0x890,_0x42c5d3:0x79c,_0x2d3aa1:0x219,_0x9221a0:0x3ac,_0xb2491b:0x2f1,_0x1e3fd2:0x525,_0x4d3fc1:0x5c6,_0x521a74:0x527,_0x78a07a:0x746,_0x141ac0:0x356,_0x2801dc:0x4be,_0x581857:0x6a1,_0x307d34:0x971,_0x355414:0x61f,_0x5ea461:0x60e,_0x3a862f:0x83a,_0x352da3:0x6a7,_0x16d065:0x593,_0xd0ecdb:0x47b,_0x422956:0x6e9,_0x55fe3a:0x4e1,_0x1b2909:0x3b9,_0x3b9fac:0x24e,_0x5d0044:0x5cf,_0x9b999c:0x460,_0x24eb31:0x758,_0x30172d:0x69c,_0x58d2e9:0x758,_0x4cc14b:0x667,_0x1b6059:0x138,_0x3e5722:0x2cc,_0x23929b:0x190,_0x5e62bd:0x403,_0x56d62c:0x3e9},_0x451c7c={_0x575296:0x53,_0x59c75a:0x43},_0x41c245={_0x551ba6:0x39,_0x9bb30b:0x2c3},_0x318b08={_0x3e05c4:0x50,_0x3ca4f4:0x9a},_0x23140c={_0x29a3f3:0x122},_0x329b4c=this[_0x4ee741(0x69c,0x77d,_0x4d2239._0x2d5340,0x7c4)][_0x54afbd(_0x4d2239._0x45d72e,0x3a4,0x356,_0x4d2239._0x9171e7)](_0x4fc440);if(!_0x329b4c)throw new ToolExecutionError(_0x4ee741(0x81f,_0x4d2239._0x4429b5,0x785,_0x4d2239._0x42c5d3)+_0x4fc440,{'shellId':_0x4fc440});if(_0x329b4c['terminationPromise']&&!_0x329b4c[_0x54afbd(0x568,0x3b9,_0x4d2239._0x2d3aa1,_0x4d2239._0x9221a0)])return _0x329b4c[_0x54afbd(0x1bf,0x2cc,_0x4d2239._0xb2491b,0x310)];function _0x54afbd(_0x3840ff,_0x4b45e5,_0x356147,_0x422867){return _0x1ac42a(_0x3840ff-0x1b0,_0x4b45e5-_0x23140c._0x29a3f3,_0x4b45e5-0x3b8,_0x3840ff);}if(_0x329b4c[_0x4ee741(_0x4d2239._0x1e3fd2,_0x4d2239._0x4d3fc1,0x6a4,_0x4d2239._0x521a74)]&&isTerminalStatus(_0x329b4c[_0x4ee741(_0x4d2239._0x78a07a,0x774,0x863,0x847)]))return Promise[_0x54afbd(0x4da,_0x4d2239._0x141ac0,_0x4d2239._0x2801dc,0x362)](this[_0x4ee741(0x805,_0x4d2239._0x581857,_0x4d2239._0x307d34,0x9d2)](_0x329b4c,'already-terminal'));if(_0x329b4c['status']!==_0x54afbd(0x403,0x439,0x2fa,0x570))_0x329b4c[_0x4ee741(0x746,_0x4d2239._0x355414,_0x4d2239._0x5ea461,0x902)]=_0x4ee741(_0x4d2239._0x3a862f,0x8de,_0x4d2239._0x352da3,0x851);_0x329b4c[_0x4ee741(_0x4d2239._0x16d065,_0x4d2239._0xd0ecdb,_0x4d2239._0x422956,0x51f)]=!![];function _0x4ee741(_0x4dd1d7,_0x3c3a9b,_0xf01c2f,_0x449e54){return _0x151cc1(_0x4dd1d7-_0x318b08._0x3e05c4,_0x4dd1d7-0x33e,_0xf01c2f,_0x449e54-_0x318b08._0x3ca4f4);}return _0x329b4c[_0x54afbd(_0x4d2239._0x55fe3a,_0x4d2239._0x1b2909,_0x4d2239._0x3b9fac,0x375)]=![],_0x329b4c[_0x4ee741(_0x4d2239._0x5d0044,0x631,_0x4d2239._0x9b999c,0x666)]=this[_0x4ee741(_0x4d2239._0x24eb31,_0x4d2239._0x30172d,_0x4d2239._0x58d2e9,_0x4d2239._0x4cc14b)](_0x329b4c),void _0x329b4c[_0x54afbd(_0x4d2239._0x1b6059,_0x4d2239._0x3e5722,_0x4d2239._0x23929b,_0x4d2239._0x5e62bd)][_0x4ee741(0x7d3,0x61d,0x7e1,0x981)](()=>{const _0x5b0544={_0x3b756b:0x5bd,_0x31f0eb:0xa4};function _0x26f1dc(_0x4b069e,_0x415e46,_0x1985ee,_0xe837b4){return _0x4ee741(_0x415e46- -_0x5b0544._0x3b756b,_0x415e46-_0x5b0544._0x31f0eb,_0xe837b4,_0xe837b4-0x5f);}_0x329b4c[_0x26f1dc(-_0x41c245._0x551ba6,0xff,_0x41c245._0x9bb30b,0x155)]=!![];},()=>{const _0x31fbc7={_0x42af9d:0x3cd,_0x3ad1bc:0xd9};function _0x5ec6e3(_0x59647b,_0x3884ec,_0x5edce4,_0xb3e411){return _0x54afbd(_0x3884ec,_0xb3e411- -_0x31fbc7._0x42af9d,_0x5edce4-0x159,_0xb3e411-_0x31fbc7._0x3ad1bc);}_0x329b4c[_0x5ec6e3(_0x451c7c._0x575296,-_0x451c7c._0x59c75a,-0xe9,-0x14)]=!![];}),_0x329b4c[_0x54afbd(0x21c,0x2cc,_0x4d2239._0xb2491b,_0x4d2239._0x56d62c)];}['closeAll'](){const _0x265784={_0x1bb502:0x1c0,_0x169c11:0x281,_0x5b727f:0x6c,_0x137a2e:0xe,_0x37cff0:0x2b,_0x15d61f:0x666,_0x549bc5:0x723,_0x1b1b18:0x521,_0x28a469:0xbb,_0xe8209a:0x16a},_0x262054={_0x5a5875:0x136},_0x239a05={_0x590f39:0x5f,_0xcab49e:0x70a};function _0x9e466e(_0x474026,_0x4bc1a5,_0x4c056d,_0x23395c){return _0x1ac42a(_0x474026-_0x239a05._0x590f39,_0x4bc1a5-0x1c4,_0x474026-_0x239a05._0xcab49e,_0x4c056d);}function _0x46b61f(_0x3b51fa,_0x38a419,_0x37fc84,_0x580c76){return _0x151cc1(_0x3b51fa-0x8,_0x37fc84- -0x36c,_0x38a419,_0x580c76-_0x262054._0x5a5875);}return Promise[_0x46b61f(-0x2c1,-_0x265784._0x1bb502,-0x11a,-_0x265784._0x169c11)]([...this[_0x46b61f(0x137,-_0x265784._0x5b727f,-_0x265784._0x137a2e,-_0x265784._0x37cff0)][_0x9e466e(_0x265784._0x15d61f,0x80c,_0x265784._0x549bc5,_0x265784._0x1b1b18)]()][_0x46b61f(-0x50,0x207,_0x265784._0x28a469,_0x265784._0xe8209a)](_0x1cf27e=>this[_0x46b61f(-0x15f,0xfd,-0x8d,-0xe9)](_0x1cf27e[_0x46b61f(0x1cf,0x19c,0xc3,-0x18)])));}async[_0x151cc1(0x617,0x503,0x5a2,0x6a4)](){const _0xee373f={_0x2869a3:0x123,_0x50ca12:0x29,_0x48b950:0x18f,_0x2b5467:0x2fe,_0x395232:0x3b8,_0x3bdffe:0x368,_0x2efdc2:0x1b8,_0x50857d:0x193,_0x5a2286:0x280,_0x34a9db:0x61e,_0x5e2a7a:0x5b3,_0x36138a:0x270,_0x4e78c4:0x20e,_0x3005a0:0x173},_0x5ec4f9={_0x4344d4:0x130,_0x3a42af:0x328},_0x338ac6={_0x1aba13:0x8d};function _0xe22992(_0x55344d,_0x33331d,_0x46faf5,_0x43fc9c){return _0x1ac42a(_0x55344d-0xf4,_0x33331d-_0x338ac6._0x1aba13,_0x43fc9c-0x29f,_0x46faf5);}const _0x150e8f=await this[_0xe22992(_0xee373f._0x2869a3,0x1f,-_0xee373f._0x50ca12,_0xee373f._0x48b950)]();function _0x3d5390(_0x5889e8,_0x25ea37,_0x1d5f2e,_0x8e8755){return _0x151cc1(_0x5889e8-_0x5ec4f9._0x4344d4,_0x8e8755-_0x5ec4f9._0x3a42af,_0x25ea37,_0x8e8755-0x1f0);}if(_0x150e8f[_0xe22992(0x446,_0xee373f._0x2b5467,_0xee373f._0x395232,_0xee373f._0x3bdffe)](_0x2923ec=>_0x2923ec[_0xe22992(0x2b3,0x172,0x481,0x2cc)]==='failed'))throw new BackgroundProcessCleanupError(_0x150e8f);return this[_0xe22992(_0xee373f._0x2efdc2,_0xee373f._0x50857d,0x2d6,_0xee373f._0x5a2286)][_0x3d5390(_0xee373f._0x34a9db,_0xee373f._0x5e2a7a,0x48e,0x579)](),this['reservations'][_0xe22992(_0xee373f._0x36138a,0x233,_0xee373f._0x4e78c4,_0xee373f._0x3005a0)](),_0x150e8f;}async[_0x151cc1(0x4a6,0x41a,0x422,0x263)](_0x226adf){const _0x5b052d={_0x2e6b19:0x553,_0x5f6771:0x569,_0x4ebeac:0x3f6,_0x183f94:0x414,_0x5e45cf:0x25a,_0x509445:0x74a,_0xe4bccb:0x681,_0x5a601c:0x839,_0x5f1073:0x67a,_0x3795ff:0x581,_0x28028d:0x853,_0x1bff39:0x834,_0x6f28ac:0x6a4,_0x486ad1:0x52b,_0x280788:0x756,_0x42bbae:0x740,_0x333fb7:0x6a4,_0x52989b:0x57c,_0x2dc650:0x6e3,_0x2f5483:0x53b,_0x5b7153:0x918,_0x4f5449:0x5f1,_0x1dec71:0x557,_0xfa158f:0x45d,_0x9e2fb3:0x79c,_0x5ad60c:0x5f3,_0x3fce2d:0x581,_0x5c18d0:0x6d7,_0x285e97:0x83b,_0x3be086:0x652,_0x5733c1:0x59a,_0x1282a5:0x5fe},_0x3f94cd={_0x2bdeb2:0x6d5},_0x4cfa3d={_0x3ad5d1:0x159,_0x41db3b:0x1fe};_0x226adf['gracefulRequested']=!![];const _0x2278bb=await this[_0xff355a(_0x5b052d._0x2e6b19,0x5a9,_0x5b052d._0x5f6771,_0x5b052d._0x4ebeac)][_0xff355a(_0x5b052d._0x183f94,0x4c1,0x382,_0x5b052d._0x5e45cf)]({'rootPid':_0x226adf[_0x4b7100(_0x5b052d._0x509445,0x83c,_0x5b052d._0xe4bccb,_0x5b052d._0x5a601c)],'processGroupId':_0x226adf[_0x4b7100(_0x5b052d._0x5f1073,0x514,_0x5b052d._0x3795ff,0x5a9)]},'graceful');if(_0x2278bb[_0x4b7100(0x702,0x82d,0x5a6,0x853)]===_0xff355a(_0x5b052d._0x28028d,_0x5b052d._0x1bff39,_0x5b052d._0x6f28ac,_0x5b052d._0x486ad1))return this['failed'](_0x226adf,_0x2278bb[_0x4b7100(_0x5b052d._0x280788,0x6ce,0x782,_0x5b052d._0x42bbae)]);if(await this['waitForTerminal'](_0x226adf,TERMINATION_WINDOW_MS))return this[_0x4b7100(0x597,0x449,0x443,_0x5b052d._0x333fb7)](_0x226adf);_0x226adf[_0x4b7100(_0x5b052d._0x52989b,_0x5b052d._0x2dc650,0x625,_0x5b052d._0x2f5483)]=!![];function _0xff355a(_0x203877,_0x585bd6,_0x4ae0c2,_0xe0e4d){return _0x151cc1(_0x203877-_0x4cfa3d._0x3ad5d1,_0x4ae0c2-_0x4cfa3d._0x41db3b,_0x585bd6,_0xe0e4d-0x113);}const _0x19a517=await this[_0x4b7100(0x6c3,0x6ca,0x687,0x745)]['signal']({'rootPid':_0x226adf[_0x4b7100(_0x5b052d._0x509445,0x5d0,0x786,_0x5b052d._0x5b7153)],'processGroupId':_0x226adf[_0x4b7100(_0x5b052d._0x5f1073,0x4c4,_0x5b052d._0x4f5449,_0x5b052d._0x1dec71)]},_0xff355a(_0x5b052d._0xfa158f,_0x5b052d._0x9e2fb3,_0x5b052d._0x5ad60c,0x4a6));if(_0x19a517['outcome']===_0xff355a(_0x5b052d._0x3fce2d,0x849,0x6a4,0x7f2))return this[_0x4b7100(0x7fe,_0x5b052d._0x5c18d0,_0x5b052d._0x285e97,0x749)](_0x226adf,_0x19a517['error']);function _0x4b7100(_0x38d511,_0x4df8ab,_0x505423,_0x3677e6){return _0x1ac42a(_0x38d511-0xca,_0x4df8ab-0x6b,_0x38d511-_0x3f94cd._0x2bdeb2,_0x3677e6);}if(await this['waitForTerminal'](_0x226adf,TERMINATION_WINDOW_MS))return this['confirmed'](_0x226adf);return this[_0xff355a(0x5db,_0x5b052d._0x3be086,0x6a4,_0x5b052d._0x5733c1)](_0x226adf,_0xff355a(_0x5b052d._0x1282a5,0x8a7,0x6f3,0x7e5));}[_0x151cc1(0x407,0x23f,0xfe,0x14d)](_0x592b3f){const _0x68fd30={_0x21637a:0x115,_0x46d306:0x7a2,_0x2f55f7:0x11c,_0x9b213b:0x65,_0x17af0d:0x7c0,_0xbca651:0x971,_0x131b29:0x69d,_0x3c3e66:0x151,_0x1c501b:0x114},_0x2c276c={_0x5669d6:0x679},_0x3e1844={_0x5f2ddb:0x151,_0xe60db6:0x1c};function _0x16b7c2(_0x54e9da,_0x5abfa7,_0x4e8561,_0x35d3f9){return _0x1ac42a(_0x54e9da-_0x3e1844._0x5f2ddb,_0x5abfa7-0xbd,_0x4e8561- -_0x3e1844._0xe60db6,_0x54e9da);}function _0x4c9613(_0x2b1a9e,_0x163442,_0x4569c2,_0x333360){return _0x1ac42a(_0x2b1a9e-0x7a,_0x163442-0xf,_0x2b1a9e-_0x2c276c._0x5669d6,_0x4569c2);}return _0x592b3f['status']===_0x16b7c2(0xb2,-_0x68fd30._0x21637a,0x65,-0xe)?this[_0x4c9613(_0x68fd30._0x46d306,0x780,0x8bf,0x901)](_0x592b3f,_0x592b3f[_0x16b7c2(0x101,-_0x68fd30._0x2f55f7,_0x68fd30._0x9b213b,0xbd)]??_0x4c9613(_0x68fd30._0x17af0d,_0x68fd30._0xbca651,_0x68fd30._0x131b29,0x959)):this['result'](_0x592b3f,_0x16b7c2(_0x68fd30._0x3c3e66,0x296,_0x68fd30._0x1c501b,0x31));}[_0x1ac42a(0x2ab,-0x13,0x129,0xcd)](_0x4317c1,_0xf93f0){const _0x4ae6a4={_0x1818d4:0x38a,_0x1868f8:0x285,_0xd94af:0x135},_0x3cdcb8={_0x53da03:0x35,_0x3d8656:0x15c},_0x400802={_0x28a207:0x4f};function _0x414c55(_0x3061b0,_0x24cdbc,_0x1da123,_0x2fbe04){return _0x1ac42a(_0x3061b0-0xb4,_0x24cdbc-_0x400802._0x28a207,_0x24cdbc-0x318,_0x2fbe04);}_0x4317c1['error']=_0xf93f0;function _0x60cebf(_0x237e47,_0x2530ce,_0x2e9916,_0x4bdf0d){return _0x1ac42a(_0x237e47-_0x3cdcb8._0x53da03,_0x2530ce-0x7d,_0x2e9916-_0x3cdcb8._0x3d8656,_0x4bdf0d);}return this[_0x414c55(0x3c7,0x462,_0x4ae6a4._0x1818d4,0x2bb)](_0x4317c1,_0x60cebf(0x1a5,0x1a4,_0x4ae6a4._0x1868f8,_0x4ae6a4._0xd94af));}[_0x151cc1(0x3ec,0x4c7,0x36a,0x38e)](_0x94861b,_0xf40b55){const _0x1d1f08={_0x255d60:0x331,_0x193425:0x2dc,_0x2a1da3:0x276,_0x3d7fb4:0x3c8,_0x535dfb:0x2ca,_0x471365:0x6dd,_0x4d3f54:0x6d2,_0x382e70:0x228,_0x9510e5:0x251,_0x161c63:0x42,_0x4b170f:0x29d},_0x111bd5={_0x2c317f:0x2a,_0x4edbae:0x153},_0x57571d={_0x5f209c:0x2f0};function _0xdf2cbf(_0x3a176,_0x20d5a9,_0x2788fe,_0x3c623c){return _0x151cc1(_0x3a176-0x16e,_0x2788fe-_0x57571d._0x5f209c,_0x3a176,_0x3c623c-0x1c3);}function _0x3f103c(_0x129173,_0x5ef051,_0x31ee2d,_0x210943){return _0x151cc1(_0x129173-_0x111bd5._0x2c317f,_0x31ee2d- -_0x111bd5._0x4edbae,_0x210943,_0x210943-0x11f);}return{'shellId':_0x94861b[_0x3f103c(0x40a,_0x1d1f08._0x255d60,_0x1d1f08._0x193425,0x388)],'outcome':_0xf40b55,'status':_0x94861b[_0x3f103c(_0x1d1f08._0x2a1da3,_0x1d1f08._0x3d7fb4,0x2b5,0x2f9)],'exitCode':_0x94861b[_0x3f103c(0x125,0x2ea,_0x1d1f08._0x535dfb,0x497)],'signal':_0x94861b['signal'],'error':_0x94861b[_0xdf2cbf(0x6fb,_0x1d1f08._0x471365,0x6ee,_0x1d1f08._0x4d3f54)],'gracefulRequested':_0x94861b[_0x3f103c(_0x1d1f08._0x382e70,0x1e4,_0x1d1f08._0x9510e5,0x37a)],'forceRequested':_0x94861b[_0x3f103c(0x214,-_0x1d1f08._0x161c63,0xd1,_0x1d1f08._0x4b170f)]};}[_0x1ac42a(-0xc1,-0x17f,-0x12f,-0x2a1)](_0x3cdaf4,_0x3f0321){const _0xda59e0={_0x336469:0x5},_0x34a324={_0x31e65e:0x616,_0x1b184b:0x62b,_0x15fc4e:0x817},_0x3719b2={_0x5b0200:0x138,_0x52e03f:0x119};if(_0x3cdaf4[_0x21f836(-0x99,0x17a,0xce,_0xda59e0._0x336469)])return Promise['resolve'](!![]);function _0x21f836(_0x268e15,_0x43820d,_0x40351d,_0x426b7f){return _0x151cc1(_0x268e15-_0x3719b2._0x5b0200,_0x40351d- -_0x3719b2._0x52e03f,_0x268e15,_0x426b7f-0x4e);}return new Promise(_0x5eb744=>{const _0x42394b={_0x59119d:0x18d};function _0x38f7f9(_0x1cf882,_0x509b66,_0xd055d,_0x8e1b59){return _0x21f836(_0x8e1b59,_0x509b66-0xf7,_0x1cf882-0x48b,_0x8e1b59-0x1ba);}let _0x3cd64b=![];function _0x58279f(_0x393ddb,_0x1a5d3c,_0x3b7b9f,_0x39d7de){return _0x21f836(_0x3b7b9f,_0x1a5d3c-0x113,_0x1a5d3c-0x249,_0x39d7de-_0x42394b._0x59119d);}const _0x58bf77=setTimeout(()=>{if(_0x3cd64b)return;_0x3cd64b=!![],_0x5eb744(![]);},_0x3f0321);void _0x3cdaf4[_0x38f7f9(_0x34a324._0x31e65e,0x5b0,_0x34a324._0x1b184b,0x58b)][_0x38f7f9(0x807,_0x34a324._0x15fc4e,0x6bb,0x7b9)](()=>{if(_0x3cd64b)return;_0x3cd64b=!![],clearTimeout(_0x58bf77),_0x5eb744(!![]);});});}['appendDecoded'](_0x3b1ced,_0x4fd53d,_0x249950,_0x2cc3e8){const _0x6dbf0b={_0x156ee7:0x495,_0x2a004e:0x3a8,_0x1a56cd:0x7b7,_0x28ebda:0x7ec},_0x2c09c6={_0x19d5ce:0x197,_0x522e5b:0xd8},_0x5c06ee={_0x2560a5:0x174},_0x4bfc8a=_0x4fd53d[_0x3622c2(_0x6dbf0b._0x156ee7,0x309,0x243,_0x6dbf0b._0x2a004e)](_0x2cc3e8);function _0x5b82f1(_0x1f3226,_0x1b1949,_0x579834,_0x1160be){return _0x1ac42a(_0x1f3226-0x109,_0x1b1949-_0x5c06ee._0x2560a5,_0x1f3226-0x6b4,_0x579834);}function _0x3622c2(_0xbc68a3,_0x2337eb,_0x22e21e,_0x192b72){return _0x151cc1(_0xbc68a3-_0x2c09c6._0x19d5ce,_0x192b72- -_0x2c09c6._0x522e5b,_0x22e21e,_0x192b72-0x8f);}this['append'](_0x3b1ced,_0x3b1ced['stripAnsi']?_0x249950[_0x5b82f1(_0x6dbf0b._0x1a56cd,0x833,0x66a,_0x6dbf0b._0x28ebda)](_0x4bfc8a):_0x4bfc8a);}[_0x1ac42a(-0x255,-0x1c6,-0x194,-0x35b)](_0x59f6da){const _0x4e51ad={_0x1b97e2:0x39,_0xc8ed4:0x40,_0x31c214:0x119,_0x6ed8cb:0x20a,_0x5ef9aa:0x1a9,_0x1cfba6:0x1b8,_0x194cc2:0xb3,_0x4d6643:0x2ca,_0x51dc4f:0x16a,_0x3efb01:0x29,_0x42aacc:0x4b,_0x340bea:0x1ff,_0x4a8a8c:0xf1,_0x33c7dd:0xa6,_0x516fcf:0x82},_0x314bff={_0x461f41:0x1f0},_0x10b664={_0x387c13:0x19e};function _0x3a8057(_0x151d9c,_0x1322c2,_0x28fa60,_0xb3bd8){return _0x151cc1(_0x151d9c-0x2e,_0x1322c2- -0x27b,_0x151d9c,_0xb3bd8-_0x10b664._0x387c13);}this[_0xb4b97d(_0x4e51ad._0x1b97e2,_0x4e51ad._0xc8ed4,_0x4e51ad._0x31c214,_0x4e51ad._0x6ed8cb)](_0x59f6da);function _0xb4b97d(_0x5f35ab,_0x418add,_0x5f16ab,_0x267c46){return _0x151cc1(_0x5f35ab-0x75,_0x418add- -0x39f,_0x5f35ab,_0x267c46-_0x314bff._0x461f41);}!_0x59f6da[_0xb4b97d(-_0x4e51ad._0x5ef9aa,-_0x4e51ad._0x1cfba6,-_0x4e51ad._0x194cc2,-_0x4e51ad._0x4d6643)]&&(_0x59f6da[_0x3a8057(-_0x4e51ad._0x51dc4f,-0x94,0x111,-0x229)]=!![],_0x59f6da[_0xb4b97d(-_0x4e51ad._0x3efb01,-0x1aa,-0x1ca,-_0x4e51ad._0x42aacc)]()),this[_0x3a8057(-_0x4e51ad._0x340bea,-_0x4e51ad._0x4a8a8c,_0x4e51ad._0x33c7dd,-_0x4e51ad._0x516fcf)]();}['flushStreams'](_0x85c290){const _0x548166={_0x162394:0x7e0,_0x52df88:0x829,_0x18f3bc:0x820,_0x24e77c:0x831,_0x3c6dd9:0x729,_0x49b957:0x75e,_0x4f61e5:0x7d9,_0x4201cb:0x8e5,_0x1a9fc2:0x59a,_0x3cf747:0x549,_0x2ff210:0x762,_0x458484:0x520,_0x32d356:0x536,_0x5f12c4:0x589,_0x2904b7:0x563,_0x49b5cc:0x56d,_0x3481f0:0x62b,_0x5673f8:0x808,_0x4b58e4:0x636,_0x9c9c59:0x5b7,_0xd180ac:0x3a9,_0x572ad2:0x4bd,_0x79641:0x468,_0x3b93d6:0x459,_0x1da350:0x531,_0x54a062:0x4b2,_0x6ac1d3:0x70d,_0x58345a:0x3af,_0x4627a2:0x484,_0x4c9b50:0x7b4,_0x572d39:0x8ad,_0x5e9a09:0x80d,_0x42175f:0x8db,_0x5742b5:0x4c0,_0x2ea899:0x41b,_0x130d9e:0x59a,_0x2ced44:0x6f5,_0x5bf0fa:0x403,_0x4ed7f5:0x642},_0x40b854={_0x11792b:0x1e6},_0x40c38a={_0xc6a620:0x257};if(_0x85c290[_0x4f81c0(_0x548166._0x162394,_0x548166._0x52df88,0x93a,_0x548166._0x18f3bc)])return;_0x85c290[_0x4f81c0(0x7e0,0x989,_0x548166._0x24e77c,_0x548166._0x3c6dd9)]=!![];function _0x7041b8(_0x5c23e5,_0x46cb3f,_0x4bfb5d,_0xe08492){return _0x151cc1(_0x5c23e5-0xea,_0x46cb3f-_0x40c38a._0xc6a620,_0x5c23e5,_0xe08492-0x12d);}const _0x1686d5=_0x85c290[_0x4f81c0(_0x548166._0x49b957,_0x548166._0x4f61e5,0x8a1,_0x548166._0x4201cb)][_0x4f81c0(_0x548166._0x1a9fc2,_0x548166._0x3cf747,0x4e8,_0x548166._0x2ff210)]();function _0x4f81c0(_0x3f6dab,_0x4b2739,_0x4601db,_0x275a52){return _0x151cc1(_0x3f6dab-_0x40b854._0x11792b,_0x3f6dab-0x334,_0x275a52,_0x275a52-0xa0);}const _0x1f923b=_0x85c290[_0x4f81c0(0x6c7,0x7e4,0x835,0x560)][_0x4f81c0(_0x548166._0x1a9fc2,0x60b,_0x548166._0x458484,0x44d)]();this[_0x4f81c0(_0x548166._0x32d356,0x5ae,0x675,_0x548166._0x5f12c4)](_0x85c290,_0x85c290[_0x7041b8(_0x548166._0x2904b7,_0x548166._0x49b5cc,_0x548166._0x3481f0,0x4a9)]?_0x85c290[_0x4f81c0(0x6ce,0x55f,0x85e,0x65d)][_0x7041b8(_0x548166._0x5673f8,0x6d7,_0x548166._0x4b58e4,_0x548166._0x9c9c59)](_0x1686d5)+_0x85c290['stdoutNormalizer'][_0x7041b8(_0x548166._0xd180ac,_0x548166._0x572ad2,0x488,_0x548166._0x79641)]():_0x1686d5),this[_0x7041b8(0x3d2,_0x548166._0x3b93d6,_0x548166._0x1da350,0x307)](_0x85c290,_0x85c290[_0x4f81c0(0x64a,_0x548166._0x54a062,0x4a8,_0x548166._0x6ac1d3)]?_0x85c290[_0x7041b8(_0x548166._0x58345a,_0x548166._0x4627a2,0x2f7,0x4ac)][_0x4f81c0(_0x548166._0x4c9b50,_0x548166._0x572d39,_0x548166._0x5e9a09,_0x548166._0x42175f)](_0x1f923b)+_0x85c290[_0x7041b8(_0x548166._0x5742b5,_0x548166._0x4627a2,_0x548166._0x2ea899,0x457)][_0x4f81c0(_0x548166._0x130d9e,_0x548166._0x2ced44,_0x548166._0x5bf0fa,_0x548166._0x4ed7f5)]():_0x1f923b);}['append'](_0x1d6854,_0x842975){const _0x4a824a={_0x42ae54:0x6e4,_0x5922ae:0x846,_0x338898:0x37,_0x30995a:0x3e,_0x2201a1:0x1d8,_0xab72f8:0x46,_0x1eca48:0x440,_0xcfbef1:0x2d6,_0x443543:0x384,_0x56f06c:0x4c,_0x9aeed8:0x34,_0x275e38:0x1a7,_0x547a70:0x134,_0xa7ed67:0x779,_0x70240:0x689,_0x1d9f03:0x5ce,_0x1dfe87:0x205,_0x349c6c:0x11,_0xfba815:0x1d9,_0x4d2f37:0x65f,_0xd4954:0x70f,_0x223109:0x665,_0x26794d:0x53c,_0x591db4:0x3a8,_0x37f8c:0x126,_0x5c98dc:0xa5,_0x3df578:0x1d2},_0x4edee8={_0x2761dc:0x3b};function _0x4cd479(_0x57d430,_0x1863ca,_0x3711e1,_0x1cc345){return _0x1ac42a(_0x57d430-0x1a4,_0x1863ca-0x186,_0x3711e1-0x606,_0x1863ca);}if(_0x842975[_0x4cd479(0x57e,_0x4a824a._0x42ae54,0x70f,_0x4a824a._0x5922ae)]===0x0)return;function _0x3cfb2e(_0x588aaa,_0x238b33,_0x2e5135,_0x4238ac){return _0x1ac42a(_0x588aaa-0x122,_0x238b33-_0x4edee8._0x2761dc,_0x2e5135- -0x50,_0x588aaa);}_0x1d6854[_0x3cfb2e(-_0x4a824a._0x338898,0x1e8,_0x4a824a._0x30995a,_0x4a824a._0x2201a1)][_0x3cfb2e(-_0x4a824a._0xab72f8,0xb0,-0x39,0x91)](_0x842975),_0x1d6854['bufferChars']+=_0x842975['length'],_0x1d6854[_0x4cd479(_0x4a824a._0x1eca48,_0x4a824a._0xcfbef1,0x445,_0x4a824a._0x443543)]+=_0x842975[_0x3cfb2e(-_0x4a824a._0x56f06c,0x281,0xb9,0xee)];while(_0x1d6854[_0x3cfb2e(_0x4a824a._0x9aeed8,_0x4a824a._0x275e38,_0x4a824a._0x547a70,0xc5)]>this[_0x4cd479(0x769,_0x4a824a._0xa7ed67,_0x4a824a._0x70240,_0x4a824a._0x1d9f03)]){const _0x1ff395=_0x1d6854['bufferChars']-this['capChars'],_0x5e881b=_0x1d6854['buffer'][0x0];if(_0x5e881b===void 0x0)break;_0x5e881b[_0x3cfb2e(-0x9c,-0x9f,0xb9,_0x4a824a._0x1dfe87)]<=_0x1ff395?(_0x1d6854[_0x3cfb2e(-_0x4a824a._0x349c6c,0x196,_0x4a824a._0x30995a,_0x4a824a._0xfba815)][_0x4cd479(0x69f,_0x4a824a._0x4d2f37,0x55e,_0x4a824a._0xd4954)](),_0x1d6854['bufferChars']-=_0x5e881b['length'],_0x1d6854[_0x4cd479(_0x4a824a._0x223109,0x679,_0x4a824a._0x26794d,_0x4a824a._0x591db4)]+=_0x5e881b['length']):(_0x1d6854[_0x3cfb2e(0x55,-0x109,_0x4a824a._0x30995a,0x125)][0x0]=_0x5e881b[_0x3cfb2e(-0x1bf,_0x4a824a._0x37f8c,-0x6e,_0x4a824a._0x5c98dc)](_0x1ff395),_0x1d6854['bufferChars']-=_0x1ff395,_0x1d6854[_0x3cfb2e(-_0x4a824a._0x3df578,-0xfb,-0x11a,-0x12c)]+=_0x1ff395);}}['evictIfNeeded'](){const _0xf91e9d={_0x2a1c6b:0x385,_0x5c63e5:0x5d3,_0x5c78ee:0x541,_0x15aa65:0x438,_0x34bae2:0x7d7,_0x3376d8:0x43f,_0x1f6db6:0x373,_0x421ee2:0x676,_0x327900:0x57b,_0x1f2ed5:0x48f,_0x3b58c7:0x3d7,_0x5c0572:0x2d6,_0x4e3067:0x638,_0x2f076c:0x715},_0x37fbb5={_0x5b997a:0x17e},_0x2b98e1={_0x371b6e:0x4e,_0x409aa8:0x1e3,_0x355d17:0xe4};function _0x438bc2(_0x4ee1f9,_0x1e9594,_0x5d53a9,_0x3b5899){return _0x151cc1(_0x4ee1f9-_0x2b98e1._0x371b6e,_0x5d53a9-_0x2b98e1._0x409aa8,_0x4ee1f9,_0x3b5899-_0x2b98e1._0x355d17);}function _0x76048b(_0x26f418,_0x52fb84,_0x4edf30,_0x2cc171){return _0x1ac42a(_0x26f418-0x1de,_0x52fb84-_0x37fbb5._0x5b997a,_0x26f418-0x4fe,_0x4edf30);}while(this[_0x438bc2(_0xf91e9d._0x2a1c6b,_0xf91e9d._0x5c63e5,_0xf91e9d._0x5c78ee,_0xf91e9d._0x15aa65)][_0x76048b(0x665,0x54e,0x817,_0xf91e9d._0x34bae2)]>this['maxEntries']){const _0x3bde48=[...this[_0x76048b(0x4df,_0xf91e9d._0x3376d8,_0xf91e9d._0x1f6db6,0x4ba)]['values']()]['filter'](_0x3e68bb=>_0x3e68bb[_0x438bc2(0x271,0x551,0x3ca,0x3b9)]&&isTerminalStatus(_0x3e68bb['status']))[_0x76048b(0x614,_0xf91e9d._0x421ee2,0x777,0x4b8)]((_0x48d7bb,_0x320400)=>_0x48d7bb[_0x438bc2(0x793,0x54d,0x5cc,0x5c5)]-_0x320400[_0x438bc2(0x502,0x559,0x5cc,0x41a)])[0x0];if(!_0x3bde48)return;this[_0x438bc2(0x449,_0xf91e9d._0x327900,0x541,0x530)][_0x438bc2(_0xf91e9d._0x1f2ed5,0x296,_0xf91e9d._0x3b58c7,_0xf91e9d._0x5c0572)](_0x3bde48[_0x76048b(0x5b0,_0xf91e9d._0x4e3067,0x3f0,_0xf91e9d._0x2f076c)]);}}};function createBashOutputTool(_0x545ae4){const _0x193df9={_0x50a5f2:0x318,_0x530a07:0x1a5,_0x8fd35:0x22d,_0x5e0d63:0x2d6,_0x2b7765:0x349,_0x413083:0x323,_0x413fdf:0x336},_0xdd76e6={_0x56b21f:0x60a,_0x70950c:0x661,_0x442bec:0x4c9,_0x21c6a5:0x352,_0x5c21db:0x44d,_0x179cdb:0x314,_0x2bac1f:0x522,_0x23fce1:0x5dc,_0x48fcf4:0x444,_0x22fcaa:0xc6,_0x37d62e:0x8a,_0x1eef66:0x5d8,_0x20a796:0x38f,_0x2cad7c:0x13,_0x18aad1:0x388,_0x445a68:0x8e,_0x6ef5f6:0x113,_0x2e8df7:0x2e,_0x1cb9df:0x144},_0x3595ea={_0xf632a6:0x1c9,_0x301ff3:0x2ee,_0x5db044:0x1a5},_0x3a3dbe={_0x1df30c:0x1cf,_0x549e32:0x9a};function _0x3e615a(_0x5acf15,_0xa6c480,_0x3b0954,_0x24726a){return _0x1ac42a(_0x5acf15-_0x3a3dbe._0x1df30c,_0xa6c480-_0x3a3dbe._0x549e32,_0xa6c480-0xee,_0x3b0954);}function _0x2f3bf0(_0x2c555b,_0x11ae5a,_0x15d33b,_0x4e7d71){return _0x1ac42a(_0x2c555b-0x39,_0x11ae5a-0xa3,_0x2c555b-0x4ea,_0x4e7d71);}const {registry:_0x3b74e5}=_0x545ae4;return defineTool({'name':'BashOutput','permissionClass':'always-confirm','description':_0x2f3bf0(_0x193df9._0x50a5f2,_0x193df9._0x530a07,0x1a2,_0x193df9._0x8fd35),'inputSchema':{'type':_0x2f3bf0(_0x193df9._0x5e0d63,0x1b9,_0x193df9._0x2b7765,0x179),'properties':{'shellId':{'type':'string'},'regex':{'type':_0x2f3bf0(_0x193df9._0x413083,0x388,0x22c,_0x193df9._0x413fdf)}},'required':['shellId']},async *'execute'(_0x1a0075){const _0x5584df={_0x4328df:0x116};function _0x36837a(_0x475e8b,_0x4a44e3,_0x2ae264,_0xb97b1b){return _0x3e615a(_0x475e8b-0x83,_0x2ae264- -_0x5584df._0x4328df,_0x4a44e3,_0xb97b1b-0xfd);}function _0x3b823a(_0x259360,_0x49bf9b,_0x5c9085,_0x3c1513){return _0x3e615a(_0x259360-_0x3595ea._0xf632a6,_0x5c9085-_0x3595ea._0x301ff3,_0x49bf9b,_0x3c1513-_0x3595ea._0x5db044);}const _0x23b66a=_0x3b74e5[_0x3b823a(_0xdd76e6._0x56b21f,_0xdd76e6._0x70950c,_0xdd76e6._0x442bec,0x3b6)](_0x1a0075['shellId'],_0x1a0075[_0x3b823a(0x33c,0x310,_0xdd76e6._0x21c6a5,0x1c7)]?{'regex':_0x1a0075[_0x3b823a(_0xdd76e6._0x5c21db,0x2df,0x352,_0xdd76e6._0x179cdb)]}:void 0x0);return createToolOutput(_0x23b66a[_0x3b823a(_0xdd76e6._0x2bac1f,_0xdd76e6._0x23fce1,_0xdd76e6._0x48fcf4,0x3c9)],{'shellId':_0x1a0075[_0x36837a(_0xdd76e6._0x22fcaa,0x1f2,_0xdd76e6._0x37d62e,0x108)],'status':_0x23b66a[_0x3b823a(_0xdd76e6._0x1eef66,0x323,0x467,_0xdd76e6._0x20a796)],'exitCode':_0x23b66a[_0x36837a(-_0xdd76e6._0x2cad7c,0x4d,0x78,0x19b)],'signal':_0x23b66a[_0x36837a(-_0xdd76e6._0x18aad1,-_0xdd76e6._0x445a68,-0x221,-0x259)],'error':_0x23b66a[_0x36837a(0xe1,-0xf1,0x59,-0xb7)],'truncated':_0x23b66a[_0x36837a(-0x162,_0xdd76e6._0x6ef5f6,_0xdd76e6._0x2e8df7,-_0xdd76e6._0x1cb9df)]});}});}import{spawn as _0x338aa5}from'child_process';import{realpathSync,statSync}from'fs';import*as _0x17e031 from'os';import*as _0x5dfcea from'path';import{StringDecoder as _0x2678c9}from'string_decoder';import{spawn as _0x1a0c4b}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException(_0x593253){return _0x593253 instanceof Error;}function resolveCarriageReturns(_0x20d26d){const _0x3e2d46={_0x360eac:0x94b,_0x283a29:0x712,_0x10d11b:0x69f},_0x3ce58b={_0x34a2c:0x82,_0x303b5b:0x1b0,_0x5f3712:0x138,_0x4ff14b:0x3af,_0x5ac9d9:0x300,_0x15af93:0x252},_0x15542c={_0x7c6e4:0x198,_0x33c19e:0x70},_0x42103e={_0x1f0d15:0x17f,_0x155389:0x9d},_0x15a146={_0x39cb8e:0x370,_0x44a414:0x171};function _0x2d55c8(_0x4b978c,_0x3bc9a3,_0x68ffae,_0x246d4d){return _0x151cc1(_0x4b978c-0x1db,_0x246d4d-_0x15a146._0x39cb8e,_0x4b978c,_0x246d4d-_0x15a146._0x44a414);}function _0x3067f0(_0x16af09,_0x77c484,_0xf8840f,_0xe0fd99){return _0x151cc1(_0x16af09-_0x42103e._0x1f0d15,_0xf8840f- -_0x42103e._0x155389,_0x16af09,_0xe0fd99-0x7d);}return _0x20d26d[_0x2d55c8(0x699,_0x3e2d46._0x360eac,_0x3e2d46._0x283a29,0x7ae)]('\x0a')[_0x2d55c8(0x951,0x6f3,_0x3e2d46._0x10d11b,0x797)](_0x96c803=>{const _0x460b89={_0x3f5bac:0xfb};if(!_0x96c803[_0x100925(0x25c,_0x3ce58b._0x34a2c,_0x3ce58b._0x303b5b,_0x3ce58b._0x5f3712)]('\x0d'))return _0x96c803;function _0x100925(_0x4a238a,_0x289a7b,_0x45d455,_0xc5e061){return _0x3067f0(_0x289a7b,_0x289a7b-_0x15542c._0x7c6e4,_0xc5e061- -_0x15542c._0x33c19e,_0xc5e061-0x66);}function _0x154079(_0x3b0485,_0x36c135,_0x2d42e4,_0x47049b){return _0x3067f0(_0x2d42e4,_0x36c135-_0x460b89._0x3f5bac,_0x47049b- -0x108,_0x47049b-0x46);}const _0x4346de=_0x96c803['split']('\x0d');return _0x4346de[_0x4346de[_0x154079(_0x3ce58b._0x4ff14b,_0x3ce58b._0x5ac9d9,_0x3ce58b._0x15af93,0x2e1)]-0x1]??'';})['join']('\x0a');}function resolveBackspaces(_0x32c0eb){const _0x238d9f={_0x49948f:0x4d9,_0x58e7f7:0x4a4,_0x579908:0x5b7,_0x6d2bd8:0x511,_0x421536:0x37c,_0x135238:0x679,_0x1a7ccb:0x655},_0x4a655b={_0x479e51:0xe4},_0x26701c={_0xc178bf:0xd3,_0x277976:0x519};function _0x59a802(_0x35c174,_0x6e9db6,_0x5c36a0,_0x2c465d){return _0x1ac42a(_0x35c174-0x13c,_0x6e9db6-_0x26701c._0xc178bf,_0x2c465d-_0x26701c._0x277976,_0x5c36a0);}const _0x35838f=[];for(const _0x207092 of Array[_0x59a802(_0x238d9f._0x49948f,0x3f8,0x50a,0x534)](_0x32c0eb)){_0x207092==='\x08'?_0x35838f[_0x4bb594(0x709,_0x238d9f._0x58e7f7,_0x238d9f._0x579908,_0x238d9f._0x6d2bd8)]():_0x35838f[_0x59a802(0x5bb,_0x238d9f._0x421536,0x3d0,0x530)](_0x207092);}function _0x4bb594(_0x3ec7cb,_0x4db120,_0x58f8a7,_0x159b48){return _0x151cc1(_0x3ec7cb-_0x4a655b._0x479e51,_0x58f8a7-0x31d,_0x3ec7cb,_0x159b48-0x1a7);}return _0x35838f[_0x59a802(0x6d4,0x582,_0x238d9f._0x135238,_0x238d9f._0x1a7ccb)]('');}function stripAnsiAndControls(_0x48ecb1){const _0x9509dd={_0x91ca1b:0xcd,_0x1ad577:0xcc,_0x5daba2:0x1da,_0x4ee32e:0x25b,_0x424fee:0x4d,_0x5e3457:0x28d,_0x45a051:0xff,_0x336f2a:0x3,_0x4b94e5:0x16f,_0x4e000f:0x2d6,_0x437227:0x3d5,_0x1511db:0x277,_0x562080:0x196,_0x175197:0x51,_0x3cd8f5:0xfd,_0x2dad33:0x1d2,_0x5334db:0x58,_0x3c99c0:0x191},_0x550640={_0x1f8d36:0xa6,_0x5ed80f:0xc4},_0x36997b={_0x1daece:0x10f,_0xf3ea0e:0x5};_0x48ecb1=resolveCarriageReturns(_0x48ecb1),_0x48ecb1=resolveBackspaces(_0x48ecb1),_0x48ecb1=stripVTControlCharacters(_0x48ecb1);function _0x4ee20b(_0x419f7c,_0x5e5b37,_0x35d434,_0xee48c2){return _0x151cc1(_0x419f7c-_0x36997b._0x1daece,_0x35d434- -0xd4,_0x419f7c,_0xee48c2-_0x36997b._0xf3ea0e);}const _0x3b961f='\x1b',_0x57fb69='\x07';_0x48ecb1=_0x48ecb1['replace'](new RegExp(_0x4ee20b(_0x9509dd._0x91ca1b,_0x9509dd._0x1ad577,_0x9509dd._0x5daba2,_0x9509dd._0x4ee32e)+_0x57fb69+'\x5cn]*?'+_0x57fb69,'g'),''),_0x48ecb1=_0x48ecb1[_0x4ee20b(_0x9509dd._0x424fee,_0x9509dd._0x5e3457,0xfd,_0x9509dd._0x45a051)](new RegExp(_0x4ee20b(-0x79,_0x9509dd._0x336f2a,0x102,0x8f)+_0x3b961f+'\x5c\x5c','g'),''),_0x48ecb1=_0x48ecb1[_0x4d2b0c(0x380,_0x9509dd._0x4b94e5,0x277,_0x9509dd._0x4e000f)](new RegExp(_0x57fb69,'g'),''),_0x48ecb1=_0x48ecb1['replace'](new RegExp(_0x3b961f+_0x4ee20b(0x1f5,0x36d,0x21a,_0x9509dd._0x437227)+_0x3b961f+'\x5c\x5c','g'),''),_0x48ecb1=_0x48ecb1[_0x4d2b0c(0x189,0x341,_0x9509dd._0x1511db,0x205)](new RegExp(_0x3b961f+'[=>7-8()]','g'),'');function _0x4d2b0c(_0x35a85b,_0x24293f,_0x21f03e,_0x4365be){return _0x151cc1(_0x35a85b-0x88,_0x21f03e-_0x550640._0x1f8d36,_0x4365be,_0x4365be-_0x550640._0x5ed80f);}return _0x48ecb1=_0x48ecb1[_0x4ee20b(_0x9509dd._0x562080,-_0x9509dd._0x175197,_0x9509dd._0x3cd8f5,-0x4e)](/[\u0080-\u009F]/g,''),_0x48ecb1=_0x48ecb1[_0x4d2b0c(0x445,0x194,_0x9509dd._0x1511db,0x108)](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x48ecb1=_0x48ecb1[_0x4ee20b(_0x9509dd._0x2dad33,_0x9509dd._0x5334db,0xfd,_0x9509dd._0x3c99c0)](/[\u23CE\u2424]/g,''),_0x48ecb1;}function killProcessGroup(_0x31090c,_0x323c42,_0x270328=_0x151cc1(0x247,0x2a5,0x3fb,0x3ff)){const _0x5baee9={_0x496983:0x6c4,_0x1d65cd:0x520,_0x2b10d5:0x4a5,_0x596b98:0x639,_0x59a7cd:0x4ab,_0x309e87:0x419,_0x1bf3b2:0x618,_0x3cb2f9:0x7a5,_0x10369d:0x654,_0x1f8c9:0x41c},_0x43f77b={_0x2dfe00:0x29,_0x5291a0:0x262},_0x56eb66={_0x5c1fd2:0x11f,_0x23190a:0x1e0};if(!_0x31090c[_0x4d64a2(0x77a,_0x5baee9._0x496983,0x50b,0x654)])return;function _0x229bf6(_0x4bb694,_0xe27327,_0x5474cd,_0x435aa0){return _0x1ac42a(_0x4bb694-_0x56eb66._0x5c1fd2,_0xe27327-_0x56eb66._0x23190a,_0xe27327-0x500,_0x5474cd);}if(_0x323c42)try{_0x1a0c4b('taskkill',[_0x4d64a2(_0x5baee9._0x1d65cd,0x4b5,_0x5baee9._0x2b10d5,0x47d),_0x31090c[_0x4d64a2(0x6d0,_0x5baee9._0x596b98,0x776,0x654)][_0x229bf6(_0x5baee9._0x59a7cd,0x3d2,0x3d1,0x2eb)](),'/T','/F'],{'stdio':_0x4d64a2(_0x5baee9._0x309e87,0x2f0,0x39e,0x453)});return;}catch{_0x31090c['kill'](_0x270328);return;}function _0x4d64a2(_0x853e7e,_0x1b5184,_0x2fdb7d,_0x1ee4b5){return _0x151cc1(_0x853e7e-_0x43f77b._0x2dfe00,_0x1ee4b5-_0x43f77b._0x5291a0,_0x1b5184,_0x1ee4b5-0x162);}try{process[_0x4d64a2(_0x5baee9._0x1bf3b2,0x52f,0x60b,0x541)](-_0x31090c[_0x4d64a2(_0x5baee9._0x3cb2f9,0x75a,0x744,_0x5baee9._0x10369d)],_0x270328);}catch{_0x31090c[_0x4d64a2(0x5a0,_0x5baee9._0x1f8c9,0x643,0x541)](_0x270328);}}import{stat}from'fs/promises';import*as _0x3c902f from'path';function isPathInside(_0x502429,_0x33fa1a){const _0x321164={_0x119529:0x227,_0x4161e9:0x24d},_0x24404a={_0x3f97ff:0xd1,_0x21e14d:0x328};function _0x25f6a4(_0x34242e,_0x13d955,_0x507bb4,_0x577407){return _0x151cc1(_0x34242e-_0x24404a._0x3f97ff,_0x34242e-_0x24404a._0x21e14d,_0x13d955,_0x577407-0x78);}function _0x33e8ff(_0x53eace,_0x425cb1,_0x317713,_0x3a33ad){return _0x151cc1(_0x53eace-0x1aa,_0x53eace- -0x3e,_0x425cb1,_0x3a33ad-0x167);}const _0xa682db=_0x3c902f['resolve'](_0x502429),_0x42b2b1=_0x3c902f[_0x33e8ff(_0x321164._0x119529,0xf8,0x102,0x22c)](_0xa682db,_0x33fa1a);return _0x42b2b1===''||!_0x42b2b1[_0x33e8ff(0x3cf,_0x321164._0x4161e9,0x549,0x2b3)]('..')&&!_0x3c902f[_0x33e8ff(_0x321164._0x4161e9,0x189,0x103,0x2c0)](_0x42b2b1);}function resolveWorkspacePath(_0x59645b,_0x307f66){return resolveAllowedPath(_0x59645b,[],_0x307f66);}function resolveAllowedPath(_0xe7b3ff,_0x577ae6,_0x3b706e){const _0x21f43d={_0x31e862:0x480,_0x241c76:0x52e,_0x1d670d:0x368,_0x2a2925:0x424,_0x7fd14:0x29e,_0x31cf16:0x169,_0x46b4ac:0x1b8,_0x4f793d:0x3f,_0x5ee49b:0xba,_0x1cc733:0x2e0},_0x8376cb={_0x212f56:0x9a},_0x24aee0={_0x416b7d:0xc1,_0x281b7f:0x2dd,_0x4da0a7:0x191};function _0xb211e2(_0x2d4705,_0x1b3f49,_0x15972b,_0xd3603d){return _0x151cc1(_0x2d4705-_0x24aee0._0x416b7d,_0x1b3f49- -_0x24aee0._0x281b7f,_0x15972b,_0xd3603d-_0x24aee0._0x4da0a7);}function _0x57be40(_0x1303b1,_0x51cbd5,_0x51f4fa,_0x38802f){return _0x151cc1(_0x1303b1-0xea,_0x38802f-_0x8376cb._0x212f56,_0x51f4fa,_0x38802f-0x197);}const _0x432884=_0x3c902f[_0x57be40(_0x21f43d._0x31e862,0x26c,_0x21f43d._0x241c76,0x3b5)](_0xe7b3ff),_0x583f55=_0x3c902f[_0x57be40(_0x21f43d._0x1d670d,_0x21f43d._0x2a2925,_0x21f43d._0x7fd14,0x3b5)](_0x432884,_0x3b706e),_0x3207e6=[_0x432884,..._0x577ae6['map'](_0x418707=>_0x3c902f[_0xb211e2(0xff,0x3e,0x10d,-0x31)](_0x418707))];if(_0x3207e6[_0xb211e2(0x137,_0x21f43d._0x31cf16,_0x21f43d._0x46b4ac,_0x21f43d._0x4f793d)](_0x1d9630=>isPathInside(_0x1d9630,_0x583f55)))return _0x583f55;throw new ToolExecutionError(_0x57be40(0x30c,_0x21f43d._0x5ee49b,_0x21f43d._0x1cc733,0x214)+_0x3b706e,{'path':_0x3b706e,'rootDir':_0x432884,'allowedDirs':_0x3207e6});}async function assertWorkspaceFile(_0x471636){const _0x4640c8={_0x4ca71e:0x21f,_0x2a1fb7:0x25e},_0x511afc={_0x13f84c:0x17d,_0x1806d3:0x10e};function _0x4d6567(_0x3899a4,_0x2381ab,_0x5cbbc9,_0x13b4e7){return _0x151cc1(_0x3899a4-_0x511afc._0x13f84c,_0x13b4e7- -0x403,_0x5cbbc9,_0x13b4e7-_0x511afc._0x1806d3);}const _0x57d5cf=await stat(_0x471636);if(!_0x57d5cf[_0x4d6567(_0x4640c8._0x4ca71e,0x258,_0x4640c8._0x2a1fb7,0xc7)]())throw new ToolExecutionError('Path\x20is\x20not\x20a\x20file:\x20'+_0x471636,{'path':_0x471636});}function isProbablyBinary(_0x11d920){const _0x4f85e6={_0x43bc28:0x437,_0x25af95:0x40d},_0x3634c2={_0x14aaed:0xdf,_0x41d6ca:0x1c6};function _0x5ee565(_0x4745e5,_0x4c4580,_0x340fd7,_0x4f5523){return _0x151cc1(_0x4745e5-_0x3634c2._0x14aaed,_0x4f5523-0xd3,_0x340fd7,_0x4f5523-_0x3634c2._0x41d6ca);}return _0x11d920[_0x5ee565(0x20b,_0x4f85e6._0x43bc28,_0x4f85e6._0x25af95,0x318)](0x0);}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION=_0x1ac42a(-0x5,-0xac,-0x187,-0x1f0)+DEFAULT_TIMEOUT_MS+'ms.';function buildChildEnv(_0x223abe,_0x9a4259,_0x391e50){const _0x43f1ba={_0x459d2c:0x63,_0x421c18:0x24,_0xd6ede7:0x2fd,_0x804065:0x294,_0x4df158:0x4b1,_0x525cb0:0x557,_0x1008a6:0x236,_0x369933:0x2f2,_0x225f87:0x1c3,_0x3f480d:0x24e,_0x41d1e9:0x516,_0x104e29:0x388,_0x5a77eb:0x248,_0x382a69:0x648,_0x2aed50:0x53e,_0x2910f5:0x190},_0x925deb={_0xb97311:0x1bb,_0x40a1bd:0x507},_0x36ac3e={_0x3aac09:0x164,_0x457ae1:0x1f1};function _0x60ef37(_0x1eb733,_0x51eff1,_0x23da20,_0xf09dad){return _0x151cc1(_0x1eb733-_0x36ac3e._0x3aac09,_0xf09dad- -_0x36ac3e._0x457ae1,_0x51eff1,_0xf09dad-0x10a);}const _0x568805={...process[_0x60ef37(_0x43f1ba._0x459d2c,-_0x43f1ba._0x421c18,0x72,0x14b)],..._0x223abe??{}};function _0x5b883e(_0x5282d5,_0x5b7913,_0x2dae4f,_0x56f535){return _0x1ac42a(_0x5282d5-_0x925deb._0xb97311,_0x5b7913-0x1ae,_0x2dae4f-_0x925deb._0x40a1bd,_0x5b7913);}if(_0x17e031['platform']()===_0x5b883e(_0x43f1ba._0xd6ede7,0x301,0x3bc,_0x43f1ba._0x804065)){const _0x3769e8=new Set(_0x9a4259[_0x5b883e(_0x43f1ba._0x4df158,0x472,0x5b1,_0x43f1ba._0x525cb0)](_0x30dfc5=>_0x30dfc5['toLowerCase']()));for(const _0x15ade3 of Object[_0x60ef37(_0x43f1ba._0x1008a6,0xc0,_0x43f1ba._0x369933,_0x43f1ba._0x225f87)](_0x568805)){if(_0x3769e8['has'](_0x15ade3[_0x5b883e(_0x43f1ba._0x3f480d,_0x43f1ba._0x41d1e9,_0x43f1ba._0x104e29,_0x43f1ba._0x5a77eb)]()))delete _0x568805[_0x15ade3];}}else{for(const _0x5a9cdb of _0x9a4259)delete _0x568805[_0x5a9cdb];if(_0x391e50['length']>0x0)for(const _0x4c88eb of Object[_0x5b883e(0x478,_0x43f1ba._0x382a69,_0x43f1ba._0x2aed50,0x5a3)](_0x568805)){_0x391e50[_0x60ef37(_0x43f1ba._0x2910f5,0x1f7,0xdc,0x255)](_0x54ae1f=>_0x4c88eb[_0x5b883e(0x701,0x6e9,0x597,0x4e3)](_0x54ae1f))&&delete _0x568805[_0x4c88eb];}}return _0x568805;}function mapSpawnError(_0x360709,_0x13c458){const _0x1ce55c={_0x898d24:0x261,_0x182e8c:0x35c,_0x191976:0xfe,_0x191e0d:0x2ac,_0x57c33e:0x16e,_0x54690:0x4f5,_0x19c72d:0x558},_0x129484={_0x5cfb42:0x170},_0x5dba53={_0x3da370:0x1d0};if(isErrnoException(_0x360709)&&_0x360709[_0x14b8d9(0xf1,0x3ed,_0x1ce55c._0x898d24,0x1e2)]===_0x14b8d9(0x2b8,_0x1ce55c._0x182e8c,0x288,_0x1ce55c._0x191976))return new ToolExecutionError(_0x14b8d9(0x2f2,_0x1ce55c._0x191e0d,_0x1ce55c._0x57c33e,-0x3e)+_0x13c458['shellPath'],_0x13c458);function _0x14b8d9(_0x1a81ec,_0x4d114b,_0x2add58,_0x552041){return _0x1ac42a(_0x1a81ec-_0x5dba53._0x3da370,_0x4d114b-0x16f,_0x2add58-0x162,_0x1a81ec);}function _0x33699c(_0x5f5934,_0x210241,_0x179114,_0x448ff5){return _0x151cc1(_0x5f5934-_0x129484._0x5cfb42,_0x5f5934-0x1ba,_0x210241,_0x448ff5-0xff);}return new ToolExecutionError(_0x360709 instanceof Error?_0x360709[_0x33699c(0x648,_0x1ce55c._0x54690,_0x1ce55c._0x19c72d,0x772)]:String(_0x360709),_0x13c458);}function shellExists(_0x18f064){const _0x1eb681={_0x58946f:0x724},_0x851791={_0x36c563:0xc5,_0x172249:0x703};function _0x2290f5(_0x39ea11,_0x3d2ef9,_0xae5e01,_0x5ac9ed){return _0x1ac42a(_0x39ea11-0x57,_0x3d2ef9-_0x851791._0x36c563,_0xae5e01-_0x851791._0x172249,_0x39ea11);}try{const _0x111e7e=statSync(_0x18f064);return _0x111e7e['isFile']()&&(_0x111e7e[_0x2290f5(0x8e0,0x5c2,0x768,_0x1eb681._0x58946f)]&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x4f3eb8){const _0x523ba6={_0x4cd9ac:0x7ad,_0x1c2f7e:0x6b3,_0x4a9e89:0x523,_0x188460:0x56f,_0x14b2ec:0x59b,_0x2adcd0:0x881,_0xfc6f0a:0x735,_0x2d0add:0x3ae,_0x38bb3f:0x3e6,_0x143047:0x39e,_0x160bad:0x743,_0x392427:0x5b5,_0x4cc809:0x6dd,_0x445e33:0x68f,_0x179cd3:0x1f7,_0x3bfb3c:0x3a9,_0x2bec03:0x4fb,_0x53f30f:0x245},_0x4ac0fe={_0x304a31:0x35,_0xa1b6e9:0x66e},_0x2b8155={_0xc9f358:0x36c};if(_0x4f3eb8)return _0x4f3eb8;function _0xc774b(_0x238776,_0x10d81c,_0x3d1151,_0x5099cf){return _0x1ac42a(_0x238776-0x5f,_0x10d81c-0x195,_0x10d81c-_0x2b8155._0xc9f358,_0x238776);}if(_0x17e031[_0x157a36(_0x523ba6._0x4cd9ac,0x5ef,_0x523ba6._0x1c2f7e,0x6c8)]()===_0x157a36(0x60c,_0x523ba6._0x4a9e89,_0x523ba6._0x188460,_0x523ba6._0x14b2ec))return process[_0x157a36(0x46e,0x62d,0x752,0x75a)][_0x157a36(_0x523ba6._0x2adcd0,_0x523ba6._0xfc6f0a,0x6a9,0x60d)]||'cmd.exe';const _0x2b164e=[_0xc774b(0x2ee,0x3a9,0x1f8,_0x523ba6._0x2d0add),_0xc774b(0x32d,_0x523ba6._0x38bb3f,_0x523ba6._0x143047,0x4bc),_0x157a36(0x855,_0x523ba6._0x160bad,_0x523ba6._0x392427,0x7e2),_0x157a36(0x614,_0x523ba6._0x4cc809,0x64e,0x520)];for(const _0x4a0123 of _0x2b164e){if(shellExists(_0x4a0123))return _0x4a0123;}const _0x4f4908=process[_0x157a36(0x4eb,0x62d,0x7d4,_0x523ba6._0x445e33)][_0xc774b(0x185,0x1c1,_0x523ba6._0x179cd3,0x2fe)];if(_0x4f4908&&shellExists(_0x4f4908))return _0x4f4908;function _0x157a36(_0x5cfcbc,_0x189728,_0x2d197c,_0x31eb1f){return _0x1ac42a(_0x5cfcbc-_0x4ac0fe._0x304a31,_0x189728-0x59,_0x189728-_0x4ac0fe._0xa1b6e9,_0x2d197c);}return _0xc774b(0x2a1,_0x523ba6._0x3bfb3c,_0x523ba6._0x2bec03,_0x523ba6._0x53f30f);}function buildShellArgs(_0x32171a,_0x130d12){const _0x397204={_0x1340ff:0x1ca,_0x15c4da:0x2f1,_0x4cee9a:0x81,_0x1729d4:0x1cb,_0x3c5340:0x189},_0x94e3c3={_0x4e6ce2:0x23e},_0x379197={_0x325899:0x7c,_0x5b46a5:0x5e};function _0x2fe3f2(_0x2fa5a1,_0x5003ba,_0x5bda7f,_0x9e9fcb){return _0x1ac42a(_0x2fa5a1-_0x379197._0x325899,_0x5003ba-_0x379197._0x5b46a5,_0x5bda7f-0x1f7,_0x2fa5a1);}if(_0x17e031[_0x2fe3f2(0x1dc,_0x397204._0x1340ff,0x178,0x241)]()==='win32'){const _0x3b9d59=/cmd(\.exe)?$/i[_0x2fe3f2(_0x397204._0x15c4da,0x26e,0x35c,0x30f)](_0x130d12);return _0x3b9d59?['/d','/s','/c',_0x32171a]:[_0x2fe3f2(0x7c,-0x12e,0x9f,_0x397204._0x4cee9a),_0x2fe3f2(_0x397204._0x1729d4,0x221,0x184,0x32f),_0x2fe3f2(0x16a,0x341,_0x397204._0x3c5340,0x309),_0x32171a];}function _0x10fbbf(_0x2475f1,_0x30af1d,_0x3d95b2,_0x75ee51){return _0x151cc1(_0x2475f1-0x1a,_0x75ee51-_0x94e3c3._0x4e6ce2,_0x30af1d,_0x75ee51-0x7b);}return['-c',_0x32171a];}function resolveWorkingDirectory(_0x44f751,_0x5df0d2,_0x19e914){const _0xf5e8a7={_0x462abc:0x61f,_0x392c21:0x618,_0x167895:0x62a,_0x1e8b86:0x722,_0xd8974c:0x753,_0x2637e5:0x838,_0x1939f4:0x248,_0x5ea72a:0x385,_0x2f7aaa:0x38,_0x473cf2:0xb6,_0x5f4505:0x53},_0x5a652d={_0x1ade51:0x3ae,_0x24fa34:0x443,_0xa9b7bb:0x3a8},_0x38b14a={_0xafec10:0x59,_0x53f378:0x2e4},_0x49c962={_0xaa965b:0x18f,_0xf3cef0:0x1df,_0x45208d:0x194};function _0x3ab3c5(_0x44b507,_0x4f77a6,_0x589063,_0x91f65e){return _0x151cc1(_0x44b507-_0x49c962._0xaa965b,_0x44b507- -_0x49c962._0xf3cef0,_0x4f77a6,_0x91f65e-_0x49c962._0x45208d);}const _0x3f6450=resolveAllowedPath(_0x5df0d2,_0x19e914,_0x44f751??'.');function _0x2066a1(_0x31835e,_0x553d3c,_0x5813c1,_0x4f59e7){return _0x151cc1(_0x31835e-_0x38b14a._0xafec10,_0x4f59e7-_0x38b14a._0x53f378,_0x31835e,_0x4f59e7-0xcf);}try{const _0x26fd25=statSync(_0x3f6450);if(!_0x26fd25[_0x2066a1(_0xf5e8a7._0x462abc,_0xf5e8a7._0x392c21,0x778,_0xf5e8a7._0x167895)]())throw new ToolExecutionError(_0x2066a1(_0xf5e8a7._0x1e8b86,_0xf5e8a7._0xd8974c,_0xf5e8a7._0x2637e5,0x7e1)+_0x3f6450,{'cwd':_0x3f6450});const _0x3c7181=realpathSync(_0x3f6450),_0x14d01e=realpathSync(_0x5df0d2),_0x3fa04a=_0x19e914[_0x3ab3c5(_0xf5e8a7._0x1939f4,_0xf5e8a7._0x5ea72a,0x21e,0x36f)](_0x99b971=>{const _0x2f0a02={_0x415b17:0x128},_0x5ab760={_0x21b4e2:0x66};function _0x5e89b1(_0x22170a,_0x13e76d,_0x2433a3,_0x3c2f4c){return _0x2066a1(_0x2433a3,_0x13e76d-0x18f,_0x2433a3-_0x5ab760._0x21b4e2,_0x22170a- -0x25c);}function _0x17dbdb(_0x5c05f6,_0x450340,_0x3f6970,_0x5661be){return _0x2066a1(_0x3f6970,_0x450340-0x82,_0x3f6970-0x49,_0x5c05f6- -_0x2f0a02._0x415b17);}try{return realpathSync(_0x5dfcea[_0x17dbdb(0x4d7,0x361,_0x5a652d._0x1ade51,_0x5a652d._0x24fa34)](_0x99b971));}catch{return _0x5dfcea[_0x5e89b1(0x3a3,0x27b,_0x5a652d._0xa9b7bb,0x1fb)](_0x99b971);}});return resolveAllowedPath(_0x14d01e,_0x3fa04a,_0x3c7181);}catch(_0x50f1bb){if(_0x50f1bb instanceof ToolExecutionError)throw _0x50f1bb;throw new ToolExecutionError(_0x3ab3c5(-_0xf5e8a7._0x2f7aaa,_0xf5e8a7._0x473cf2,-0x176,-_0xf5e8a7._0x5f4505)+_0x3f6450,{'cwd':_0x3f6450});}}function resolveBashExecutionTarget(_0x143cc1,_0x4f6b3b={}){const _0x1d1c52={_0x4defa4:0x157,_0x2a95e1:0x2cc,_0x5c1869:0x14d,_0x12ac59:0xad,_0x3e6f75:0x3e,_0x44f4a7:0x139,_0x4fb1b2:0x100,_0x470b39:0x172},_0x443937={_0x269cbe:0x81,_0x41dc21:0x1af},_0x3399ff={_0x21aa78:0x10b,_0x26f559:0x191,_0x3a78a4:0x149};function _0x517cd7(_0x9d4181,_0x511627,_0x3869e0,_0x72ff68){return _0x151cc1(_0x9d4181-_0x3399ff._0x21aa78,_0x9d4181- -_0x3399ff._0x26f559,_0x3869e0,_0x72ff68-_0x3399ff._0x3a78a4);}function _0x1eaf56(_0x49616b,_0x25ce8f,_0x2508f4,_0x284446){return _0x1ac42a(_0x49616b-_0x443937._0x269cbe,_0x25ce8f-_0x443937._0x41dc21,_0x284446-0x11a,_0x2508f4);}const _0x3cf486=_0x5dfcea['resolve'](_0x4f6b3b[_0x1eaf56(_0x1d1c52._0x4defa4,0xf7,_0x1d1c52._0x2a95e1,_0x1d1c52._0x5c1869)]??process[_0x1eaf56(-_0x1d1c52._0x12ac59,-_0x1d1c52._0x3e6f75,-0x44,0x34)]()),_0x454244=resolveDefaultShell(_0x4f6b3b[_0x1eaf56(0xac,-_0x1d1c52._0x44f4a7,-_0x1d1c52._0x4fb1b2,0x92)]);return{'command':_0x143cc1[_0x1eaf56(_0x1d1c52._0x470b39,0x1,0xc0,0xd2)],'cwd':resolveWorkingDirectory(_0x143cc1['cwd'],_0x3cf486,_0x4f6b3b['allowedDirs']??[]),'shellPath':_0x454244,'dialect':resolveShellDialect(_0x454244),'background':_0x143cc1['runInBackground']??![]};}function resolveShellDialect(_0x622c58){const _0x4af69b={_0x44a6a2:0x54c,_0x539681:0x705,_0xef6e4c:0x5a4,_0x4574e6:0x5bd,_0x46d141:0x395,_0x2cc694:0x35b,_0x2b7193:0x506,_0xdb7f18:0x4ae,_0x172483:0x556,_0x1f571e:0x570,_0x1e648e:0x538,_0x103e6c:0x588,_0x48acb3:0x444,_0x181a4b:0x5f9,_0x1f9bfa:0x600,_0x2b4784:0x66d},_0x3811ad={_0x2cc6cd:0x372};if(_0x17e031[_0x103d5a(0x497,0x319,0x48b,_0x4af69b._0x44a6a2)]()===_0x376693(_0x4af69b._0x539681,0x726,_0x4af69b._0xef6e4c,_0x4af69b._0x4574e6))return _0x103d5a(0x449,_0x4af69b._0x46d141,0x311,_0x4af69b._0x2cc694);const _0x4a36fc=_0x5dfcea[_0x103d5a(0x607,0x4b6,_0x4af69b._0x2b7193,0x758)](_0x622c58)[_0x376693(_0x4af69b._0xdb7f18,_0x4af69b._0x172483,_0x4af69b._0x1f571e,0x4f1)]();function _0x103d5a(_0x18cc8f,_0xa60467,_0x227ea7,_0x1f59c1){return _0x151cc1(_0x18cc8f-0x19b,_0x18cc8f-0x199,_0x227ea7,_0x1f59c1-0x128);}if(_0x4a36fc===_0x376693(_0x4af69b._0x1e648e,0x59e,0x5a5,0x518))return _0x376693(_0x4af69b._0x103e6c,0x5bd,0x5a5,0x64e);if(_0x4a36fc==='sh'||_0x4a36fc===_0x376693(0x5b7,_0x4af69b._0x48acb3,_0x4af69b._0x181a4b,0x43a))return _0x376693(0x5e6,_0x4af69b._0x1f9bfa,0x648,_0x4af69b._0x2b4784);function _0x376693(_0x3508e7,_0x9d1c03,_0xc63279,_0x3d9f49){return _0x151cc1(_0x3508e7-0x1e4,_0xc63279-_0x3811ad._0x2cc6cd,_0x3508e7,_0x3d9f49-0x11e);}return'unknown';}function emitChunk(_0x16e27d,_0x444227,_0x3a78ed,_0x4ce7ad){const _0x2c6559={_0x59e876:0x9d,_0x31dd07:0xc8,_0x3ef696:0x1a2},_0x295db1={_0x45d41c:0xde,_0x327ffb:0x4e},_0x1f6bf8={_0x5305f1:0x86};_0x16e27d[_0x5d4b17(0x71,0x254,_0x2c6559._0x59e876,0x159)](_0x3a78ed),_0x444227[_0x5d4b17(-_0x2c6559._0x31dd07,_0x2c6559._0x3ef696,0x9d,-0x8a)](_0x3a78ed);function _0x5d4b17(_0x339015,_0x1d6ca8,_0x2a3322,_0x595e92){return _0x1ac42a(_0x339015-0xfb,_0x1d6ca8-0x19c,_0x2a3322-_0x1f6bf8._0x5305f1,_0x595e92);}function _0x48eec9(_0x570ce5,_0x58aea2,_0x5161b0,_0x52b67b){return _0x151cc1(_0x570ce5-_0x295db1._0x45d41c,_0x5161b0- -0x40c,_0x58aea2,_0x52b67b-_0x295db1._0x327ffb);}_0x4ce7ad();}function appendChunk(_0x401ce0,_0x4e8d07,_0x4cfa92,_0x52884b,_0x355a3d,_0x5d2804){const _0x279035={_0x2efd72:0x390,_0x3e0a93:0x29c,_0x417ea6:0x210,_0x30a430:0x334,_0x52b147:0x2d5,_0x4e8f49:0x131,_0x584be2:0xfa,_0x236c80:0x415,_0x455682:0x4f2,_0x48d26f:0x546,_0x319b1a:0x5c7,_0x193fc3:0x5d7,_0x533de0:0xc7,_0xa9caf8:0xc4,_0x3538ca:0x8e,_0x36e025:0x50f,_0x4b5b76:0x2f5,_0x38f61f:0x4d0,_0x136b5b:0x415,_0x5e97cf:0x2e0,_0x2d61c2:0x253},_0x10a2d0={_0x32bc55:0x265,_0x3acafa:0x133},_0x4d8810={_0x56dea7:0x31d},_0x2f6499=_0x52884b?stripAnsiAndControls(_0x4cfa92):_0x4cfa92;if(_0x2f6499[_0x51a47b(0x426,0x501,_0x279035._0x2efd72,_0x279035._0x3e0a93)]===0x0)return;function _0x51a47b(_0x25bd08,_0x14525f,_0x51dd02,_0x31dac5){return _0x1ac42a(_0x25bd08-0xdd,_0x14525f-0x1a8,_0x25bd08-_0x4d8810._0x56dea7,_0x51dd02);}if(!_0x5d2804){emitChunk(_0x401ce0,_0x4e8d07,_0x2f6499,_0x355a3d);return;}function _0x1ab7df(_0x20f4dd,_0x13c3f3,_0x49837e,_0x50cea9){return _0x151cc1(_0x20f4dd-0xe2,_0x50cea9- -_0x10a2d0._0x32bc55,_0x20f4dd,_0x50cea9-_0x10a2d0._0x3acafa);}let _0x4a0476=0x0,_0x1fcf10=_0x2f6499['indexOf']('\x0a');while(_0x1fcf10>=0x0){_0x5d2804[_0x1ab7df(0x1a7,0x3d1,0x16b,_0x279035._0x417ea6)][_0x51a47b(_0x279035._0x30a430,_0x279035._0x52b147,0x2ff,0x38c)](_0x2f6499[_0x1ab7df(-0xd4,0x37,_0x279035._0x4e8f49,_0x279035._0x584be2)](_0x4a0476,_0x1fcf10));const _0x17ae5b=_0x5d2804[_0x51a47b(_0x279035._0x236c80,_0x279035._0x455682,_0x279035._0x48d26f,0x564)][_0x51a47b(0x459,0x46f,_0x279035._0x319b1a,0x45c)]('');_0x5d2804[_0x51a47b(0x415,_0x279035._0x193fc3,0x469,0x4b6)]['length']=0x0,_0x5d2804[_0x1ab7df(_0x279035._0x533de0,-_0x279035._0xa9caf8,0xc8,_0x279035._0x3538ca)][_0x51a47b(0x482,_0x279035._0x36e025,0x4df,0x643)](_0x17ae5b)&&emitChunk(_0x401ce0,_0x4e8d07,_0x17ae5b+'\x0a',_0x355a3d),_0x4a0476=_0x1fcf10+0x1,_0x1fcf10=_0x2f6499[_0x51a47b(0x1eb,_0x279035._0x4b5b76,0x26d,0x37c)]('\x0a',_0x4a0476);}_0x4a0476<_0x2f6499[_0x51a47b(0x426,0x56a,0x373,_0x279035._0x38f61f)]&&_0x5d2804[_0x51a47b(_0x279035._0x136b5b,_0x279035._0x5e97cf,0x2d7,0x5ae)][_0x51a47b(_0x279035._0x30a430,_0x279035._0x2d61c2,0x2c7,0x27c)](_0x2f6499['slice'](_0x4a0476));}function flushOutputRegex(_0x54ec21,_0x4ee01a,_0x1074c2,_0x116d3e){const _0x238bd7={_0x33a76d:0x54e,_0x459fa2:0x40b,_0x3f36cd:0x333,_0x37fd93:0x1e5,_0x14619e:0x703,_0x432393:0x6dc,_0x4b96b0:0x5b8,_0x162b67:0x703,_0x58c390:0x7d2,_0x5c3db7:0x80c},_0x1243ef={_0x1e6439:0x1cb,_0x291c6f:0x28e},_0x20cd7d={_0x58ea00:0x12f,_0x5c7f0f:0x153};if(!_0x1074c2||_0x1074c2[_0x137a2(0x703,_0x238bd7._0x33a76d,0x67e,0x678)][_0xab971c(_0x238bd7._0x459fa2,0x264,_0x238bd7._0x3f36cd,_0x238bd7._0x37fd93)]===0x0)return;function _0xab971c(_0xee9968,_0x396e78,_0x304047,_0x128ff4){return _0x151cc1(_0xee9968-_0x20cd7d._0x58ea00,_0x304047- -_0x20cd7d._0x5c7f0f,_0xee9968,_0x128ff4-0x10f);}const _0x38ab18=_0x1074c2[_0x137a2(_0x238bd7._0x14619e,0x546,_0x238bd7._0x432393,_0x238bd7._0x4b96b0)]['join']('');_0x1074c2[_0x137a2(_0x238bd7._0x162b67,0x6c6,_0x238bd7._0x58c390,_0x238bd7._0x5c3db7)]['length']=0x0;function _0x137a2(_0x1921bf,_0x880390,_0x1f7b18,_0x3758ee){return _0x151cc1(_0x1921bf-_0x1243ef._0x1e6439,_0x1921bf-_0x1243ef._0x291c6f,_0x3758ee,_0x3758ee-0x1b9);}_0x1074c2['regex']['test'](_0x38ab18)&&emitChunk(_0x54ec21,_0x4ee01a,_0x38ab18,_0x116d3e);}function createBashTool(_0x5a9bb2={}){const _0x4cf081={_0x236b9a:0xa9,_0x23f530:0x167,_0x39b0d4:0xf1,_0x292649:0x102,_0x39fe96:0x1fa,_0x1dafb8:0xe5,_0x314a59:0x21b,_0x5d77d3:0x368,_0xee45f5:0x3ef,_0x750f1c:0x2fd,_0x29f085:0x14c,_0x22910e:0x2bb,_0x159569:0x15d,_0x5a447f:0x1a2,_0x4db7ea:0x21,_0x209f92:0x1c5,_0x4cb13f:0x199,_0x1c4add:0x4a,_0x267c2e:0x17b,_0x9d656f:0x25,_0x12d303:0x21,_0x55f76c:0xb4,_0x28cc56:0x113,_0x28a407:0x56,_0x126db2:0xc6,_0x2325e7:0x137,_0x25feef:0x1be,_0xd91e44:0xf9},_0x44f999={_0x2a4791:0x34f,_0x4e4b40:0x253,_0x2b9c5b:0x43e,_0x325f30:0x382,_0x493c78:0x606,_0x118481:0x6be,_0x4276bd:0x762,_0x1a0ea1:0x3f2,_0x4302c8:0x38e,_0x5b5430:0x33b,_0x49a58d:0x4ca,_0x5d3944:0x6ef,_0x53d3b7:0x5e8,_0x11771f:0x6c9,_0xc632d:0x4b5,_0x2d1d8e:0x4fc,_0x480bf5:0x3d5,_0xed281b:0x6d0,_0x26c8e8:0x890,_0x383ee3:0x72e,_0x4caa2c:0x690,_0x8ef48c:0x58d,_0x4f6dc6:0x447,_0x3a911e:0x4ec,_0x19bc78:0x5c4,_0x30a271:0x518,_0x5512ce:0x5bd,_0x33e945:0x663,_0x5259dd:0x7c2,_0x5c5217:0x51a,_0x18d784:0x413,_0x38721c:0x3c8,_0x1ee3eb:0x3ca,_0x69b021:0x4c1,_0x2d79c4:0x3c2,_0x5a8867:0x334,_0x8c475a:0x351,_0x4ff31c:0x39b,_0x34daea:0x5ae,_0x2f0961:0x458,_0x5c4cd7:0x454,_0x277d43:0x557,_0x407067:0x438,_0x2d7803:0x2f2,_0x11ee8c:0x6c9,_0x2c2fa1:0x76b,_0x19b1e8:0x599,_0x4475b8:0x475,_0xe1b8d4:0x676,_0x2eed7f:0x334,_0x42856f:0x424,_0x65b3de:0x64a,_0x156e43:0x79f,_0x13aef6:0x95c,_0x2a3012:0x825,_0x2c3b15:0x653,_0x5890f7:0x3df,_0x51b87c:0x5a9,_0x412f93:0x4e8,_0x1fb9b8:0x4bb,_0xb885e8:0x74c,_0x559166:0xa4a,_0x4b3a4c:0x7c3,_0x361fcb:0x626,_0x1584f8:0x62f,_0x593d90:0x54a,_0x1bca55:0x51d,_0x3bb898:0x5cf,_0x2f51c2:0x72e,_0x59b202:0x5c6,_0x485c34:0x8b8,_0x9635d2:0x631,_0x14e7b1:0x71b,_0x3e92b5:0x9ce,_0x1eb5d3:0x632,_0x189776:0x384,_0x12ee21:0x35b,_0x30e970:0x747,_0x29022a:0x454,_0xcff294:0x69b,_0x29a25b:0x872,_0x25c633:0x709,_0x36d9cb:0x728,_0x1d7cae:0x7d0,_0x1f5c2a:0x539,_0x473f28:0x7b1,_0x285fd7:0x5da,_0xcfb23b:0x3b8,_0x4282f3:0x4e2,_0x45f6b4:0x585,_0x33e389:0x43e,_0x432e39:0x444,_0x4bf14c:0x585,_0x4752bc:0x404,_0x16141e:0x71e,_0x1e7638:0x468,_0x1a048e:0x5a7,_0x2eadba:0x3e5,_0x311c2d:0x7a0,_0x497f1b:0x762,_0x5549a2:0x754,_0x4fc4ae:0x5ba,_0x43485c:0x5e1,_0x543bd6:0x490,_0x14a5a0:0x4d2,_0x4a44f1:0x4cb,_0x159698:0x63d,_0x25df4c:0x669,_0x148fe3:0x764,_0x33ca6:0x7e1,_0x20ef76:0x540,_0x4c22fc:0x593,_0x26ea3c:0x670,_0x4fa723:0x64e,_0x4e3397:0x58e,_0x3cd72f:0x77c,_0x4c754e:0x7d5,_0x85a1df:0x622,_0x27091e:0x633,_0x3ba26e:0x625,_0x7fa4cd:0x6d9,_0x3f63be:0x804,_0x2f4030:0x94f,_0x3f5314:0x633,_0xb88098:0x561,_0x257245:0x7ee,_0x3b773a:0x811,_0x19bb63:0x691,_0x145a20:0x5d7,_0x4e3407:0x6ab,_0x4d073f:0x4c9,_0x1bb9f8:0x52f,_0x31d4e8:0x531,_0x171c77:0x4bf,_0x41c231:0x648,_0x39675d:0x2ee,_0x1666a3:0x426,_0x36707b:0x559,_0x9fa8cb:0x4cc,_0x4dbc50:0x3cd,_0x4965be:0x599,_0x3652ab:0x3ed,_0x17ee84:0x664,_0x973c9:0x810,_0x19ad4e:0x655},_0x50819b={_0x512294:0x149,_0x31de51:0x380,_0x596854:0x143,_0x33badc:0x44c},_0x9cebd2={_0x9e4f:0x1d7},_0x30d560=_0x5dfcea[_0xfc1546(_0x4cf081._0x236b9a,-0xe0,-_0x4cf081._0x23f530,0x40)](_0x5a9bb2['defaultCwd']??process[_0x11e3fe(_0x4cf081._0x39b0d4,0x12d,0x133,_0x4cf081._0x292649)]()),_0x3eea0e=_0x5a9bb2['allowedDirs']??[],_0x87e11d=_0x5a9bb2[_0x11e3fe(0x250,_0x4cf081._0x39fe96,0x485,0x2f3)]??DEFAULT_TIMEOUT_MS,_0x52525f=_0x5a9bb2[_0xfc1546(0xd0,-_0x4cf081._0x1dafb8,-0x265,-_0x4cf081._0x314a59)]??!![],_0xc44508=_0x5a9bb2[_0x11e3fe(0xce,_0x4cf081._0x5d77d3,_0x4cf081._0xee45f5,0x27a)]??'Bash',_0x3f23a7=_0x5a9bb2[_0xfc1546(-0x1ba,-0x1dc,-_0x4cf081._0x750f1c,-0xc9)]??[],_0x2639fe=_0x5a9bb2['scrubEnvPrefixes']??[],_0xe0b09e=_0x5a9bb2['backgroundRegistry'];function _0xfc1546(_0x511f40,_0x53a2bf,_0x326b4d,_0x59bbf7){return _0x151cc1(_0x511f40-0x94,_0x53a2bf- -0x3fb,_0x326b4d,_0x59bbf7-_0x9cebd2._0x9e4f);}function _0x11e3fe(_0x4d8f2d,_0x1571c2,_0x247fb3,_0xeb153b){return _0x151cc1(_0x4d8f2d-0xb2,_0xeb153b- -0x195,_0x1571c2,_0xeb153b-0x117);}return defineTool({'name':_0xc44508,'permissionClass':_0x11e3fe(_0x4cf081._0x29f085,0x121,_0x4cf081._0x22910e,0x1cf),'description':_0x5a9bb2[_0x11e3fe(-0xbc,0x195,_0x4cf081._0x159569,0xf9)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':'object','properties':{'command':{'type':_0x11e3fe(-0xe1,_0x4cf081._0x5a447f,0x19d,_0x4cf081._0x4db7ea)},'description':{'type':_0xfc1546(-0x3b8,-0x245,-_0x4cf081._0x209f92,-0x3ca),'description':_0xfc1546(-_0x4cf081._0x4cb13f,-_0x4cf081._0x1c4add,0xa8,0x13e)},'cwd':{'type':_0x11e3fe(-_0x4cf081._0x267c2e,-_0x4cf081._0x9d656f,-0x54,_0x4cf081._0x12d303)},'timeoutMs':{'type':_0x11e3fe(0x2c1,0x280,0x176,0x32a)},'ignoreOutput':{'type':'boolean'},'outputRegex':{'type':_0x11e3fe(0x1e0,-_0x4cf081._0x55f76c,_0x4cf081._0x28cc56,0x21),'description':'For\x20foreground\x20runs,\x20return\x20only\x20complete\x20stdout/stderr\x20lines\x20matching\x20this\x20regex;\x20exit\x20status\x20is\x20unchanged.'},'runInBackground':{'type':'boolean'}},'required':[_0xfc1546(-_0x4cf081._0x28a407,-_0x4cf081._0x126db2,-_0x4cf081._0x2325e7,0x1c),_0x11e3fe(0xf8,_0x4cf081._0x25feef,-0x26,_0x4cf081._0xd91e44)]},async *'execute'(_0x1bb016,_0x47680a){const _0x41f239={_0x58ffdd:0xa4,_0x281aca:0x88,_0x5e964b:0x121,_0x4c2ff1:0x6ed,_0x51d2e4:0x73d,_0x488681:0x721,_0x1d30ff:0x8a,_0x212834:0x204,_0x53ec4c:0xd},_0xfb4b4b={_0x20115f:0x73e,_0x473f33:0x111},_0x1d27cf={_0x430dd5:0x138,_0x2a0b3f:0x188},_0x47156e={_0x37330e:0x8b},_0x101fd6={_0x25abb7:0x143,_0x39681e:0x11a},_0x59f78b={_0x54ac24:0x5b6,_0x1d7154:0xf0,_0x3dd66e:0xf6},_0x4b9917={_0x4763eb:0xe5},_0x3a1459={_0x3fce5a:0x592,_0x5d36bc:0xdf},_0x2bf08e={_0x25f57f:0x66a,_0x1be286:0x73e,_0xe5c3fa:0x86f},_0x14bf35={_0x5e012d:0x22,_0x1b61e4:0x19e},_0x352a57=_0x1bb016[_0x2f361e(_0x44f999._0x2a4791,_0x44f999._0x4e4b40,_0x44f999._0x2b9c5b,_0x44f999._0x325f30)]??_0x87e11d;if(!Number[_0x2f361e(0x541,_0x44f999._0x493c78,_0x44f999._0x118481,0x4b4)](_0x352a57)||_0x352a57<0x1)throw new ToolExecutionError(_0x2f361e(0x669,0x76a,0x4b9,_0x44f999._0x4276bd),{'command':_0x1bb016[_0x2f361e(0x4ec,_0x44f999._0x1a0ea1,_0x44f999._0x4302c8,0x4bb)]});throwIfAborted(_0x47680a[_0x2f361e(_0x44f999._0x5b5430,0x40e,0x1c1,0x1f6)]);const _0x483b47=_0x1bb016[_0xdf27a4(0x636,_0x44f999._0x49a58d,0x5e2,_0x44f999._0x5d3944)]??![],_0x354bf3=resolveBashExecutionTarget(_0x1bb016,{'defaultCwd':_0x30d560,'allowedDirs':_0x3eea0e,'shellPath':_0x5a9bb2[_0x2f361e(0x4ac,0x362,_0x44f999._0x53d3b7,0x404)]}),{cwd:_0x4987fd,shellPath:_0x5d1d7d}=_0x354bf3,_0x2ffbbb=buildShellArgs(_0x1bb016[_0xdf27a4(_0x44f999._0x11771f,0x52a,0x511,0x758)],_0x5d1d7d),_0x378fda=_0x17e031[_0x2f361e(_0x44f999._0xc632d,_0x44f999._0x2d1d8e,0x3a7,_0x44f999._0x480bf5)]()==='win32',_0x4ef472=buildChildEnv(_0x5a9bb2[_0xdf27a4(_0x44f999._0xed281b,_0x44f999._0x26c8e8,_0x44f999._0x383ee3,0x76d)],_0x3f23a7,_0x2639fe);if(_0x1bb016[_0x2f361e(0x5f0,_0x44f999._0x4caa2c,0x4d7,0x73e)]){if(!_0xe0b09e)throw new ToolExecutionError(_0x2f361e(0x59e,0x719,_0x44f999._0x8ef48c,_0x44f999._0x4f6dc6),{'command':_0x1bb016[_0x2f361e(_0x44f999._0x3a911e,0x3e5,_0x44f999._0x19bc78,0x5b7)]});throwIfAborted(_0x47680a[_0xdf27a4(_0x44f999._0x30a271,_0x44f999._0x5512ce,0x5c4,_0x44f999._0x33e945)]),await _0x5a9bb2[_0xdf27a4(0x7bf,_0x44f999._0x5259dd,0x61d,0x874)]?.(_0x354bf3,_0x47680a[_0x2f361e(_0x44f999._0x5c5217,0x3e4,0x5d8,0x5af)],_0x47680a),throwIfAborted(_0x47680a[_0x2f361e(0x33b,_0x44f999._0x18d784,0x45e,0x1f7)]);const _0x127883=_0xe0b09e['reserve']();let _0x559a82;try{_0x559a82=_0x338aa5(_0x5d1d7d,_0x2ffbbb,{'cwd':_0x4987fd,'env':_0x4ef472,'stdio':[_0x2f361e(0x3a8,0x523,0x37c,_0x44f999._0x38721c),'pipe',_0x2f361e(_0x44f999._0x1ee3eb,_0x44f999._0x69b021,0x448,_0x44f999._0x2d79c4)],'shell':![],'windowsHide':!![],'detached':!_0x378fda});}catch(_0x218436){_0xe0b09e[_0x2f361e(_0x44f999._0x5a8867,_0x44f999._0x8c475a,0x348,_0x44f999._0x4ff31c)](_0x127883);throw mapSpawnError(_0x218436,{'command':_0x1bb016[_0x2f361e(0x4ec,_0x44f999._0x34daea,_0x44f999._0x2f0961,0x510)],'cwd':_0x4987fd,'shellPath':_0x5d1d7d});}let _0x34daf9;try{_0x34daf9=_0xe0b09e[_0x2f361e(_0x44f999._0x5c4cd7,_0x44f999._0x277d43,_0x44f999._0x407067,_0x44f999._0x2d7803)](_0x127883,{'child':_0x559a82,'command':_0x1bb016[_0xdf27a4(_0x44f999._0x11ee8c,0x85f,_0x44f999._0x2c2fa1,_0x44f999._0x19b1e8)],'cwd':_0x4987fd,'stripAnsi':_0x52525f,...!_0x378fda&&_0x559a82[_0x2f361e(0x5a9,_0x44f999._0x4475b8,0x441,_0x44f999._0xe1b8d4)]!==void 0x0?{'processGroupId':_0x559a82['pid']}:{}});}catch(_0x2a6dbb){_0xe0b09e[_0x2f361e(_0x44f999._0x2eed7f,0x2ce,_0x44f999._0x42856f,0x3f3)](_0x127883),_0x559a82[_0xdf27a4(0x7c6,_0x44f999._0x65b3de,_0x44f999._0x156e43,_0x44f999._0x13aef6)](_0xdf27a4(0x792,_0x44f999._0x2a3012,0x5e1,0x81d),()=>{});try{killProcessGroup(_0x559a82,_0x378fda);}catch{}throw _0x2a6dbb;}return createToolOutput('Started\x20background\x20process\x20'+_0x34daf9[_0x2f361e(0x5e6,_0x44f999._0x2c3b15,0x6d4,0x4dd)]+_0x2f361e(_0x44f999._0x5890f7,0x3a8,0x3e2,0x48d)+(_0x34daf9[_0x2f361e(_0x44f999._0x51b87c,0x570,_0x44f999._0x412f93,_0x44f999._0x1fb9b8)]??'?')+_0xdf27a4(0x896,_0x44f999._0xb885e8,0xa63,_0x44f999._0x559166),{'shellId':_0x34daf9[_0xdf27a4(_0x44f999._0x4b3a4c,_0x44f999._0x361fcb,0x6ba,0x98b)],'status':_0x34daf9[_0x2f361e(0x5bf,_0x44f999._0x1584f8,0x537,_0x44f999._0x593d90)],'command':_0x34daf9[_0x2f361e(0x4ec,_0x44f999._0x1bca55,0x4ac,0x56a)],'description':_0x1bb016[_0xdf27a4(0x622,0x6c7,_0x44f999._0x3bb898,_0x44f999._0x2f51c2)],'cwd':_0x34daf9['cwd'],'pid':_0x34daf9[_0xdf27a4(0x786,_0x44f999._0x59b202,0x84b,_0x44f999._0x485c34)]??null});}function _0x2f361e(_0x14c7dc,_0x3bf4fd,_0x3eea46,_0x1d8a8b){return _0xfc1546(_0x14c7dc-0x14e,_0x14c7dc-0x5b2,_0x1d8a8b,_0x1d8a8b-0x97);}let _0x2f4de9,_0x1571d4;if(_0x1bb016[_0x2f361e(0x695,0x5be,_0x44f999._0x9635d2,_0x44f999._0x14e7b1)]!==void 0x0)try{const _0x71f8e4=new RegExp(_0x1bb016[_0xdf27a4(0x872,0x741,0x819,_0x44f999._0x3e92b5)]);_0x2f4de9={'regex':_0x71f8e4,'trailingChunks':[]},_0x1571d4={'regex':_0x71f8e4,'trailingChunks':[]};}catch(_0x10ac60){throw new ToolExecutionError(_0x2f361e(0x4e2,_0x44f999._0x1eb5d3,_0x44f999._0x189776,_0x44f999._0x12ee21)+(_0x10ac60 instanceof Error?_0x10ac60[_0x2f361e(0x645,0x481,_0x44f999._0x30e970,0x479)]:String(_0x10ac60)),{'command':_0x1bb016[_0x2f361e(0x4ec,_0x44f999._0x29022a,_0x44f999._0xcff294,0x496)],'outputRegex':_0x1bb016[_0xdf27a4(_0x44f999._0x29a25b,_0x44f999._0x25c633,_0x44f999._0x36d9cb,_0x44f999._0x1d7cae)]});}await _0x5a9bb2['verifyExecution']?.(_0x354bf3,_0x47680a[_0xdf27a4(0x6f7,_0x44f999._0x1f5c2a,_0x44f999._0x473f28,_0x44f999._0x285fd7)],_0x47680a),throwIfAborted(_0x47680a[_0xdf27a4(_0x44f999._0x30a271,0x570,_0x44f999._0xcfb23b,0x358)]);let _0x27fd17;function _0xdf27a4(_0x2449e9,_0x21ab8b,_0x1d9f49,_0x51bca){return _0xfc1546(_0x2449e9-_0x14bf35._0x5e012d,_0x2449e9-0x78f,_0x51bca,_0x51bca-_0x14bf35._0x1b61e4);}try{_0x27fd17=_0x338aa5(_0x5d1d7d,_0x2ffbbb,{'cwd':_0x4987fd,'env':_0x4ef472,'stdio':_0x483b47?[_0x2f361e(0x3a8,_0x44f999._0x4282f3,0x536,0x460),_0xdf27a4(_0x44f999._0x45f6b4,0x66d,_0x44f999._0x33e389,_0x44f999._0x432e39),_0xdf27a4(_0x44f999._0x4bf14c,_0x44f999._0x4752bc,_0x44f999._0x16141e,_0x44f999._0x1e7638)]:['ignore',_0xdf27a4(_0x44f999._0x1a048e,0x3e7,0x542,0x56d),_0x2f361e(_0x44f999._0x1ee3eb,0x291,_0x44f999._0x2d7803,_0x44f999._0x2eadba)],'shell':![],'windowsHide':!![],'detached':!_0x378fda});}catch(_0x5f52bb){throw mapSpawnError(_0x5f52bb,{'command':_0x1bb016[_0xdf27a4(0x6c9,_0x44f999._0x311c2d,0x7ad,_0x44f999._0x497f1b)],'cwd':_0x4987fd,'shellPath':_0x5d1d7d});}const _0x566678=[],_0x65fe69=[],_0x4bb757=new _0x2678c9(_0x2f361e(0x6a3,_0x44f999._0x5549a2,0x82a,_0x44f999._0x4fc4ae)),_0x4a468b=new _0x2678c9('utf8');let _0x357fc0,_0x3d6ac4=![],_0x31906e;const _0xce3e77=()=>{if(!_0x357fc0)return;const _0x4b391b=_0x357fc0;_0x357fc0=void 0x0,_0x4b391b();},_0x44c65a=async()=>{const _0x259026={_0x3c602e:0x101,_0x5da91f:0x96};function _0x1a0063(_0x55532a,_0x3dc479,_0x3e2a9e,_0x4d1dda){return _0x2f361e(_0x3e2a9e-_0x259026._0x3c602e,_0x3dc479-0x12a,_0x3e2a9e-_0x259026._0x5da91f,_0x55532a);}if(_0x65fe69[_0x1a0063(0x60f,_0x2bf08e._0x25f57f,_0x2bf08e._0x1be286,_0x2bf08e._0xe5c3fa)]>0x0||_0x3d6ac4)return;await new Promise(_0x546649=>{_0x357fc0=_0x546649;});},_0x5d86ad=_0x37d1ca=>{function _0xa0c6be(_0x4ac44e,_0x45d321,_0x3f48b6,_0x35b48e){return _0x2f361e(_0x35b48e- -_0x3a1459._0x3fce5a,_0x45d321-0x14f,_0x3f48b6-_0x3a1459._0x5d36bc,_0x45d321);}appendChunk(_0x566678,_0x65fe69,_0x4bb757[_0xa0c6be(0x250,0x13d,-_0x4b9917._0x4763eb,0xa5)](_0x37d1ca),_0x52525f,_0xce3e77,_0x2f4de9);},_0x44093e=_0x32f559=>{function _0x389a23(_0x3269cc,_0xe029b8,_0x2e21ab,_0x1e5c77){return _0x2f361e(_0x3269cc- -_0x59f78b._0x54ac24,_0xe029b8-_0x59f78b._0x1d7154,_0x2e21ab-_0x59f78b._0x3dd66e,_0x2e21ab);}appendChunk(_0x566678,_0x65fe69,_0x4a468b[_0x389a23(0x81,_0x101fd6._0x25abb7,-_0x101fd6._0x39681e,-0x8)](_0x32f559),_0x52525f,_0xce3e77,_0x1571d4);};_0x27fd17['stdout']?.['on']('data',_0x5d86ad),_0x27fd17[_0x2f361e(0x533,_0x44f999._0x43485c,_0x44f999._0x543bd6,0x394)]?.['on'](_0x2f361e(_0x44f999._0x4ff31c,0x52c,0x479,0x25e),_0x44093e);let _0x2e0fb3=![],_0x26c1ad;const _0x4fdcaf=addAbortListener(_0x47680a[_0xdf27a4(_0x44f999._0x30a271,_0x44f999._0x14a5a0,_0x44f999._0x4a44f1,0x5c8)],()=>{const _0x19a9b8={_0x1e8e0b:0x4d8,_0x352151:0x1d8};_0x31906e=toAbortError(_0x47680a[_0x439d1c(_0x50819b._0x512294,_0x50819b._0x31de51,_0x50819b._0x596854,0x229)][_0x439d1c(_0x50819b._0x33badc,0x397,0x24c,0x35b)]);function _0x477aa8(_0x554fe3,_0x446253,_0x1b48f7,_0x469d1b){return _0xdf27a4(_0x469d1b- -_0x19a9b8._0x1e8e0b,_0x446253-0x5,_0x1b48f7-_0x19a9b8._0x352151,_0x554fe3);}_0x3d6ac4=!![],_0xce3e77();function _0x439d1c(_0x5d456f,_0x577f6f,_0x5a9d36,_0x381bfc){return _0xdf27a4(_0x381bfc- -0x2ef,_0x577f6f-0x15f,_0x5a9d36-_0x47156e._0x37330e,_0x5a9d36);}try{killProcessGroup(_0x27fd17,_0x378fda);}catch{}});try{const _0x287c89=new Promise((_0x14fc74,_0x829f9d)=>{const _0x29b85c={_0x3c9d62:0x329,_0x59bdc0:0x31e,_0x2e1a2d:0x31a,_0x3fb9ff:0x427,_0x326b4f:0x162,_0x263305:0x36a},_0x4f5927={_0x45753f:0x39a},_0x595676={_0x5b4af2:0x103},_0x5e73eb={_0x174a80:0x1aa,_0x2a4708:0x30f,_0x18f646:0x196,_0x5ee701:0x111},_0x4e425b={_0x526d40:0x2d,_0x5e3d8a:0x1e7,_0x4b51f8:0x9c,_0x58ca8d:0x47,_0x181135:0x100,_0x3e139e:0x108},_0x399b90={_0x5755d7:0x13d},_0x578213={_0x292da3:0x20e};function _0x419fb8(_0x14281a,_0x681275,_0x44fc29,_0x65fa33){return _0x2f361e(_0x44fc29-_0x1d27cf._0x430dd5,_0x681275-0x112,_0x44fc29-_0x1d27cf._0x2a0b3f,_0x65fa33);}const _0x480683=()=>{_0x26c1ad&&(clearTimeout(_0x26c1ad),_0x26c1ad=void 0x0);function _0x3aae91(_0x4d220e,_0xc93c97,_0x2287cf,_0x152515){return _0x5041(_0x152515- -_0x578213._0x292da3,_0xc93c97);}_0x27fd17[_0x3aae91(_0x4e425b._0x526d40,-_0x4e425b._0x5e3d8a,0x4e,-_0x4e425b._0x4b51f8)](_0x3aae91(_0x4e425b._0x58ca8d,_0x4e425b._0x181135,_0x4e425b._0x3e139e,0x19d),_0x6e3756);function _0x142b7e(_0x3ec8b5,_0x56a985,_0x2a2335,_0x404e61){return _0x5041(_0x3ec8b5- -_0x399b90._0x5755d7,_0x56a985);}_0x27fd17['off']('close',_0x2f35c4);},_0x6e3756=_0x33ba15=>{_0x3d6ac4=!![],_0xce3e77(),_0x480683(),_0x829f9d(_0x31906e??_0x33ba15);},_0x2f35c4=(_0x1a4df4,_0x26e91f)=>{function _0x28b523(_0x392d5f,_0x4f77cd,_0xd4caa1,_0x1764f0){return _0x5041(_0xd4caa1- -0x392,_0x4f77cd);}_0x2e0fb3=!![],appendChunk(_0x566678,_0x65fe69,_0x4bb757[_0x13ebeb(_0x5e73eb._0x174a80,_0x5e73eb._0x2a4708,_0x5e73eb._0x18f646,0x371)](),_0x52525f,_0xce3e77,_0x2f4de9),appendChunk(_0x566678,_0x65fe69,_0x4a468b[_0x28b523(-_0x5e73eb._0x5ee701,-0x164,-0x17f,-0x215)](),_0x52525f,_0xce3e77,_0x1571d4),flushOutputRegex(_0x566678,_0x65fe69,_0x2f4de9,_0xce3e77),flushOutputRegex(_0x566678,_0x65fe69,_0x1571d4,_0xce3e77),_0x3d6ac4=!![],_0xce3e77(),_0x480683();function _0x13ebeb(_0x132e4a,_0x437532,_0x5c91f8,_0x3b3f29){return _0x5041(_0x132e4a- -0x69,_0x5c91f8);}if(_0x31906e){_0x829f9d(_0x31906e);return;}_0x14fc74({'code':_0x1a4df4,'signal':_0x26e91f});};_0x26c1ad=setTimeout(()=>{_0x3d6ac4=!![],_0xce3e77();function _0x3a9b88(_0x38f7cb,_0xacbb1d,_0x421804,_0x5ea997){return _0x5041(_0x421804- -_0x595676._0x5b4af2,_0x38f7cb);}_0x480683();try{killProcessGroup(_0x27fd17,_0x378fda);}catch{}function _0xb1faf0(_0x227c56,_0x2c353c,_0xf13d87,_0x180d97){return _0x5041(_0x227c56-_0x4f5927._0x45753f,_0x2c353c);}_0x829f9d(new ToolExecutionError(_0x3a9b88(0x296,0x188,_0x29b85c._0x3c9d62,0x1d7)+_0x352a57+_0x3a9b88(0x155,_0x29b85c._0x59bdc0,_0x29b85c._0x2e1a2d,_0x29b85c._0x3fb9ff),{'command':_0x1bb016[_0x3a9b88(_0x29b85c._0x326b4f,_0x29b85c._0x263305,0x1df,0x104)],'cwd':_0x4987fd,'shellPath':_0x5d1d7d,'timeoutMs':_0x352a57,'timedOut':!![]}));},_0x352a57),_0x27fd17[_0x2bccc9(0x65,_0x41f239._0x58ffdd,_0x41f239._0x281aca,_0x41f239._0x5e964b)](_0x419fb8(0x77c,0x532,_0x41f239._0x4c2ff1,0x696),_0x6e3756);function _0x2bccc9(_0x2af39c,_0x110668,_0x318ba6,_0x9e573b){return _0xdf27a4(_0x318ba6- -_0xfb4b4b._0x20115f,_0x110668-0xdd,_0x318ba6-_0xfb4b4b._0x473f33,_0x110668);}_0x27fd17[_0x419fb8(_0x41f239._0x51d2e4,0x64e,_0x41f239._0x488681,0x5f3)](_0x2bccc9(-_0x41f239._0x1d30ff,_0x41f239._0x212834,0x112,-_0x41f239._0x53ec4c),_0x2f35c4);});while(_0x65fe69[_0x2f361e(_0x44f999._0x159698,0x797,0x701,0x5e4)]>0x0||!_0x3d6ac4){if(_0x65fe69['length']===0x0){await _0x44c65a();continue;}const _0xe3380e=_0x65fe69[_0xdf27a4(_0x44f999._0x25df4c,_0x44f999._0x148fe3,_0x44f999._0x33ca6,0x7d6)]();_0xe3380e!==void 0x0&&(yield _0xe3380e);}const _0x1471eb=await _0x287c89,_0x230fe2=_0x483b47?_0xdf27a4(0x699,_0x44f999._0x20ef76,_0x44f999._0x4c22fc,0x772)+(_0x1471eb['code']??0x0):_0x566678[_0x2f361e(_0x44f999._0x26ea3c,_0x44f999._0x4fa723,_0x44f999._0x4e3397,_0x44f999._0x159698)](''),_0x1616a0={'command':_0x1bb016[_0xdf27a4(0x6c9,_0x44f999._0x3cd72f,0x87e,_0x44f999._0x4c754e)],'description':_0x1bb016[_0xdf27a4(_0x44f999._0x85a1df,0x4f5,0x76f,0x786)],'cwd':_0x4987fd,'exitCode':_0x1471eb[_0x2f361e(_0x44f999._0x27091e,_0x44f999._0x3ba26e,0x624,0x7d6)]??0x0,'signal':_0x1471eb['signal'],'ignoreOutput':_0x483b47,'outputRegex':_0x1bb016[_0xdf27a4(0x872,_0x44f999._0x7fa4cd,_0x44f999._0x3f63be,_0x44f999._0x2f4030)]??null,'shellPath':_0x5d1d7d,'timeoutMs':_0x352a57};if(_0x1471eb[_0x2f361e(_0x44f999._0x3f5314,0x7a0,_0x44f999._0xb88098,0x50d)]!==0x0)throw new ToolExecutionError(_0x230fe2||'Command\x20exited\x20with\x20code\x20'+(_0x1471eb[_0x2f361e(0x633,_0x44f999._0x257245,0x6b6,0x4c5)]??0x0),_0x1616a0);return createToolOutput(_0x230fe2,_0x1616a0);}catch(_0x2fc4f9){while(_0x65fe69[_0xdf27a4(0x81a,_0x44f999._0x3b773a,_0x44f999._0x19bb63,0x782)]>0x0){const _0x3d1fd3=_0x65fe69[_0x2f361e(0x48c,0x3e3,0x380,_0x44f999._0x145a20)]();_0x3d1fd3!==void 0x0&&(yield _0x3d1fd3);}if(_0x2fc4f9 instanceof ToolExecutionError)throw _0x2fc4f9;if(_0x31906e)throw _0x31906e;throw mapSpawnError(_0x2fc4f9,{'command':_0x1bb016[_0x2f361e(0x4ec,_0x44f999._0x4e3407,_0x44f999._0x4d073f,_0x44f999._0x1bb9f8)],'cwd':_0x4987fd,'shellPath':_0x5d1d7d});}finally{_0x26c1ad&&clearTimeout(_0x26c1ad);_0x4fdcaf(),_0x27fd17[_0x2f361e(_0x44f999._0x31d4e8,_0x44f999._0x171c77,_0x44f999._0x41c231,_0x44f999._0x51b87c)]?.[_0x2f361e(0x37c,0x4c1,_0x44f999._0x39675d,_0x44f999._0x1666a3)](_0xdf27a4(0x578,0x6db,0x620,0x514),_0x5d86ad),_0x27fd17['stderr']?.[_0xdf27a4(_0x44f999._0x36707b,0x53b,_0x44f999._0x9fa8cb,0x4eb)](_0xdf27a4(0x578,0x608,_0x44f999._0x4dbc50,_0x44f999._0x4965be),_0x44093e);if(!_0x2e0fb3&&_0x27fd17[_0x2f361e(_0x44f999._0x51b87c,0x654,_0x44f999._0x3652ab,0x59b)]&&!_0x27fd17[_0x2f361e(_0x44f999._0x17ee84,_0x44f999._0x973c9,0x4b0,_0x44f999._0x19ad4e)])try{killProcessGroup(_0x27fd17,_0x378fda);}catch{}}}});}function createShellExecTool(_0x51676a={}){return createBashTool(_0x51676a);}import{readdir,readFile as _0x19b8a9}from'fs/promises';import{extname,join as _0x32d60b}from'path';import{open}from'fs/promises';import{dirname,isAbsolute as _0x333f03,join,relative as _0x2b5bb8,resolve as _0x342c56}from'path';import{readdir as _0x84d130,readFile as _0x55579b}from'fs/promises';import{join as _0x2811b3,relative as _0x35fecd,sep}from'path';import{delimiter}from'path';import{mkdir as _0x10fe7e,rm,stat as _0x4d5d12,writeFile}from'fs/promises';import{hostname}from'os';import{dirname as _0x16f75f}from'path';import{unwatchFile,watchFile}from'fs';import{chmod,readFile as _0x21aa97,rename as _0x1e4c2d,rm as _0x2006d7,stat as _0x2fa415,writeFile as _0x1b5ae4}from'fs/promises';import{homedir as _0x3b6c47}from'os';import{dirname as _0x27d45c,isAbsolute as _0x158d7d,join as _0xd5346b,resolve as _0xee1678}from'path';import{parse as _0x29fa68,stringify as _0x3f2794}from'yaml';import{randomUUID as _0x10fb22}from'crypto';import{cp,lstat,mkdir as _0x16c6b5,readdir as _0x25c9b7,readFile as _0x3d1283,rename,rm as _0x254a88,writeFile as _0x2f549c}from'fs/promises';import{homedir}from'os';import{join as _0xa64e0}from'path';import{parse as _0x2a4e07,stringify as _0x39e62a}from'yaml';import{z}from'zod';import{readdir as _0x3d2400,readFile as _0x22cede}from'fs/promises';import{join as _0x58db13}from'path';import{randomUUID as _0x368b5a}from'crypto';import{mkdir as _0x20d217,readdir as _0x43fd0a,readFile as _0x1484e6,rename as _0x185f42,rm as _0x34e9ce,writeFile as _0x41c887}from'fs/promises';import{homedir as _0x3e7b42}from'os';import{basename as _0x326a98,isAbsolute as _0x2a4556,join as _0x361db4,relative as _0x1872ec,resolve as _0x4531c4}from'path';import{parse as _0x1650a4,stringify as _0x1595e8}from'yaml';import{delimiter as _0x3dd8dd,resolve as _0x25cc7d}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0xd694d9){const _0x201365={_0x91d822:0x488,_0x2bd3cc:0x2d0,_0x36f772:0x3e8,_0x1b7a75:0x2a0,_0x2cbdb7:0x1c5,_0xcdfbba:0x2cb,_0x1fc202:0x347,_0x559de1:0x240,_0x50be10:0x32c,_0x7b6cd0:0x1fd,_0x1db8f8:0x26d},_0x5a88b1={_0x1e18d4:0x70,_0x114750:0x138},_0x3d40f8={_0x388d1d:0x18f,_0x3d3769:0x1b6,_0x5d8386:0x182};function _0x5832e8(_0x42a927,_0x3cd11f,_0x19d587,_0xd75259){return _0x151cc1(_0x42a927-_0x3d40f8._0x388d1d,_0x19d587- -_0x3d40f8._0x3d3769,_0x3cd11f,_0xd75259-_0x3d40f8._0x5d8386);}const _0xfee63=[];let _0x384cfd='',_0x26bebe=0x0;while(_0x26bebe<_0xd694d9['length']){const _0x3a8770=_0xd694d9[_0x26bebe];if(_0x3a8770==='\x5c'&&_0x26bebe+0x1<_0xd694d9[_0x5832e8(_0x201365._0x91d822,0x2cf,_0x201365._0x2bd3cc,_0x201365._0x36f772)])_0x384cfd+=_0xd694d9[_0x26bebe+0x1],_0x26bebe+=0x2;else{if(_0x3a8770==='\x22'||_0x3a8770==='\x27'){const _0x410689=_0x3a8770;_0x26bebe++;while(_0x26bebe<_0xd694d9[_0x5832e8(_0x201365._0x1b7a75,0x11c,_0x201365._0x2bd3cc,_0x201365._0x2cbdb7)]&&_0xd694d9[_0x26bebe]!==_0x410689){_0xd694d9[_0x26bebe]==='\x5c'&&_0x26bebe+0x1<_0xd694d9[_0x1f7f71(0x416,_0x201365._0xcdfbba,0x454,0x51e)]?(_0x384cfd+=_0xd694d9[_0x26bebe+0x1],_0x26bebe+=0x2):(_0x384cfd+=_0xd694d9[_0x26bebe],_0x26bebe++);}_0x26bebe++;}else _0x3a8770!==void 0x0&&/\s/[_0x5832e8(_0x201365._0x1fc202,_0x201365._0x559de1,_0x201365._0x50be10,_0x201365._0x7b6cd0)](_0x3a8770)?(_0x384cfd&&(_0xfee63[_0x5832e8(_0x201365._0x1db8f8,0x7c,0x1de,0x2cf)](_0x384cfd),_0x384cfd=''),_0x26bebe++):(_0x384cfd+=_0x3a8770,_0x26bebe++);}}if(_0x384cfd)_0xfee63['push'](_0x384cfd);function _0x1f7f71(_0x388188,_0x501691,_0x35dcfc,_0xe9679b){return _0x151cc1(_0x388188-0x1b,_0x388188- -_0x5a88b1._0x1e18d4,_0xe9679b,_0xe9679b-_0x5a88b1._0x114750);}return _0xfee63;}function renderCommandInstructions(_0x47b86d){const _0x144aa9={_0x360f6f:0x79,_0x33a6da:0x1b4,_0x2250ac:0x793,_0x1d481b:0x68e,_0x3f9c8e:0x677,_0x4d214a:0x36c,_0xb875c5:0x49e,_0x3c37bd:0x411,_0x38d2fe:0x56a,_0x33988b:0x37e,_0x2bf27b:0x10e,_0x35c8f3:0x2a1,_0x504042:0x76c,_0x1183d5:0x675,_0x1e5ce8:0x17,_0x45950b:0x196,_0x1ac2ef:0x126,_0x1d8122:0x3be,_0x45d0cf:0x1f3,_0x53a3d3:0x2a0,_0x200e96:0x5b8,_0x5d30ed:0x61c,_0x562848:0x36e,_0x223626:0x3a3,_0x37ab0c:0x361,_0x379713:0x75,_0x55a1fa:0x292},_0x1f52fc={_0x29bbfa:0x70,_0x4cc168:0x1d},_0x370a89={_0x440d92:0x52,_0x158814:0x56c};let _0x2ec27c=_0x47b86d[_0x12fd39(-_0x144aa9._0x360f6f,-_0x144aa9._0x33a6da,-0x158,-0x92)],_0x2cb1f4=![];const _0x593294=tokenizeCommandArguments(_0x47b86d[_0x396d10(_0x144aa9._0x2250ac,0x78c,_0x144aa9._0x1d481b,_0x144aa9._0x3f9c8e)]);function _0x396d10(_0x4d615a,_0x337643,_0x262d8c,_0x759b6e){return _0x1ac42a(_0x4d615a-_0x370a89._0x440d92,_0x337643-0x25,_0x262d8c-_0x370a89._0x158814,_0x759b6e);}_0x2ec27c=_0x2ec27c[_0x396d10(0x451,_0x144aa9._0x4d214a,0x3c0,_0x144aa9._0xb875c5)](/\$ARGUMENTS\[(\d+)\]/g,(_0x33ecc2,_0x4bc1dc)=>{return _0x2cb1f4=!![],_0x593294[Number(_0x4bc1dc)]??'';}),_0x2ec27c=_0x2ec27c[_0x396d10(_0x144aa9._0x3c37bd,_0x144aa9._0x38d2fe,0x3c0,_0x144aa9._0x33988b)](/\$ARGUMENTS\b/g,()=>{return _0x2cb1f4=!![],_0x47b86d['argumentsText'];});if(_0x47b86d['argumentNames']&&_0x47b86d[_0x12fd39(-_0x144aa9._0x2bf27b,-0x16e,-0x191,-_0x144aa9._0x35c8f3)][_0x396d10(0x753,_0x144aa9._0x504042,_0x144aa9._0x1183d5,0x67c)]>0x0)for(let _0x9fbb37=0x0;_0x9fbb37<_0x47b86d[_0x12fd39(-0x125,-0x172,-0x191,-_0x144aa9._0x1e5ce8)][_0x12fd39(0x2df,_0x144aa9._0x45950b,_0x144aa9._0x1ac2ef,0x184)];_0x9fbb37++){const _0x574c0a=_0x47b86d[_0x396d10(0x319,0x3fc,_0x144aa9._0x1d8122,_0x144aa9._0x45d0cf)][_0x9fbb37];if(_0x574c0a){const _0x51f460=new RegExp('\x5c$'+_0x574c0a+'\x5cb','g');_0x2ec27c=_0x2ec27c[_0x396d10(0x4ab,_0x144aa9._0x53a3d3,0x3c0,0x460)](_0x51f460,()=>{return _0x2cb1f4=!![],_0x593294[_0x9fbb37]??'';});}}_0x2ec27c=_0x2ec27c['replace'](/\$(\d+)\b/g,(_0x110198,_0x89316f)=>{return _0x2cb1f4=!![],_0x593294[Number(_0x89316f)]??'';});function _0x12fd39(_0x1327b9,_0x2ee101,_0x2703cc,_0x47f712){return _0x1ac42a(_0x1327b9-_0x1f52fc._0x29bbfa,_0x2ee101-0x12c,_0x2703cc-_0x1f52fc._0x4cc168,_0x47f712);}return!_0x2cb1f4&&_0x47b86d['argumentsText'][_0x396d10(_0x144aa9._0x200e96,0x5a1,_0x144aa9._0x5d30ed,0x700)]()&&(_0x2ec27c=_0x2ec27c+_0x396d10(_0x144aa9._0x562848,_0x144aa9._0x223626,_0x144aa9._0x37ab0c,0x20c)+_0x47b86d[_0x12fd39(-_0x144aa9._0x379713,0xbd,0x13f,_0x144aa9._0x55a1fa)]),_0x2ec27c;}var PROVIDER_API_KEY_ENVS=[{'env':_0x151cc1(0x516,0x47b,0x3fd,0x56e),'provider':_0x1ac42a(-0x2e,-0xf8,0x6b,-0x51)},{'env':_0x1ac42a(-0xb1,0x11f,0xd7,0xed),'provider':_0x151cc1(0x265,0x23b,0x96,0x234)},{'env':'GITHUB_ACCESS_TOKEN','provider':_0x151cc1(0x525,0x508,0x3b9,0x364)},{'env':'GITHUB_TOKEN','provider':_0x151cc1(0x3e4,0x508,0x47c,0x51e)},{'env':_0x151cc1(0x3ad,0x421,0x2a8,0x4c1),'provider':_0x1ac42a(0x4f,-0x129,0x4,-0x18a)},{'env':_0x1ac42a(0xf9,-0xaa,-0x57,0x12f),'provider':'deepinfra'},{'env':_0x1ac42a(-0x2ca,-0xa4,-0x1a9,-0x160),'provider':_0x1ac42a(-0x154,0x54,-0x33,0x99)},{'env':_0x151cc1(0x3fe,0x426,0x536,0x560),'provider':_0x151cc1(0x2c,0x1df,0x67,0x147)},{'env':_0x151cc1(0x32e,0x280,0x2ff,0x2ee),'provider':_0x151cc1(0x458,0x35d,0x250,0x2a2)},{'env':_0x1ac42a(-0x8d,-0xf1,-0x13a,0x27),'provider':_0x1ac42a(0x219,0x177,0x14f,0xc8)},{'env':_0x1ac42a(0x27b,-0x3d,0x15e,0x22b),'provider':_0x1ac42a(-0x279,-0x10d,-0x179,-0x2fa)},{'env':_0x1ac42a(0x1ab,0xe1,0x4a,-0xdb),'provider':_0x151cc1(0x5ea,0x4f4,0x5c5,0x545)},{'env':'OPENCODE_API_KEY','provider':'opencode-go'}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS['map'](_0x78fdd=>_0x78fdd[_0x1ac42a(-0x208,-0x1c2,-0x41,0x1)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,'API_KEY',_0x151cc1(0x242,0x2e0,0x496,0x2f3),_0x151cc1(0x10a,0x227,0x335,0x224)],SHELL_SCRUBBED_ENV_KEYS=[...SCRUBBED_ENV_KEYS,'BASH_ENV',_0x151cc1(0x19a,0x186,0x20a,0x121),'SHELLOPTS',_0x1ac42a(-0x158,0x2a,-0xe1,-0x2d),_0x151cc1(0x613,0x506,0x5fd,0x50e),_0x151cc1(0x4a0,0x3b8,0x2dd,0x209)],PROTOTYPE_SENSITIVE_NAMES=new Set([...Object['getOwnPropertyNames'](Object[_0x1ac42a(0x16d,0x219,0xef,0x12b)]),_0x151cc1(0x5f5,0x46c,0x2f7,0x56b)]);function prototypeSafeRecord(_0x2776b2){const _0x5f2bed={_0xcb1ff:0x68a,_0x180ca6:0x774,_0x59e631:0x7db,_0x5c827b:0x42,_0x3b6213:0xce,_0x249d50:0x93,_0x19f81b:0x3b},_0x1b7499={_0x109693:0x527,_0x26a406:0x52f,_0x2690e3:0x702,_0x529784:0x650,_0x231140:0x809,_0xcd742a:0x6a9,_0x1672d1:0x698},_0x348bd7={_0x1d286e:0x73},_0x32a116={_0x4d76cd:0x9b},_0x3a94c9={_0x427261:0x6b,_0x37a91b:0x284,_0x1a1ab6:0x38},_0x267873={_0x1cdd20:0x1c0,_0x287c86:0x6eb};function _0x269684(_0xdb258f,_0x46f5f7,_0x147fdb,_0x583ccb){return _0x1ac42a(_0xdb258f-0x162,_0x46f5f7-_0x267873._0x1cdd20,_0x583ccb-_0x267873._0x287c86,_0x147fdb);}function _0x2e3ba1(_0x365f30,_0xb29142,_0x1bbec9,_0x2ebac1){return _0x151cc1(_0x365f30-_0x3a94c9._0x427261,_0x2ebac1- -_0x3a94c9._0x37a91b,_0xb29142,_0x2ebac1-_0x3a94c9._0x1a1ab6);}return z[_0x269684(0x454,0x42f,0x647,0x57d)](_0x227e37=>{if(_0x227e37===null||typeof _0x227e37!=='object'||Array[_0x5d3996(_0x1b7499._0x109693,0x4ff,_0x1b7499._0x26a406,0x6b9)](_0x227e37))return null;const _0x116bd8=Object['getPrototypeOf'](_0x227e37);if(_0x116bd8!==Object[_0x3b30a3(_0x1b7499._0x2690e3,0x850,0x7b7,_0x1b7499._0x529784)]&&_0x116bd8!==null)return null;function _0x5d3996(_0x564969,_0x2539a6,_0xb10174,_0x581056){return _0x269684(_0x564969-0x12a,_0x2539a6-0x180,_0xb10174,_0x564969- -_0x32a116._0x4d76cd);}function _0x3b30a3(_0xb4c494,_0x48117e,_0x39be0f,_0x10ba6c){return _0x269684(_0xb4c494-_0x348bd7._0x1d286e,_0x48117e-0xf0,_0x10ba6c,_0x39be0f- -0x23);}return{'entries':Object[_0x3b30a3(0x6ec,_0x1b7499._0x231140,_0x1b7499._0xcd742a,_0x1b7499._0x1672d1)](_0x227e37)};},z[_0x269684(0x605,0x310,_0x5f2bed._0xcb1ff,0x4d7)]({'entries':z[_0x269684(0x5b6,0x8ad,0x72d,_0x5f2bed._0x180ca6)](z[_0x269684(0x6db,_0x5f2bed._0x59e631,0x6d7,0x834)]([z[_0x2e3ba1(-0x8f,-_0x5f2bed._0x5c827b,0xa9,-_0x5f2bed._0x3b6213)](),_0x2776b2]))}))[_0x2e3ba1(-_0x5f2bed._0x249d50,0xf1,-0x87,_0x5f2bed._0x19f81b)](({entries:_0x10c852})=>Object[_0x269684(0x5b9,0x6fd,0x73c,0x5f3)](_0x10c852));}var chatModelAuthSchemeSchema=z[_0x151cc1(0x14f,0x21a,0x28b,0x337)]([_0x1ac42a(-0x244,-0x20d,-0xde,-0x280),_0x1ac42a(-0x36f,-0xc1,-0x1b4,-0x336)]),apiKeyAuthSchema=z[_0x1ac42a(-0x22e,-0x2af,-0x214,-0x2d3)]({'type':z[_0x151cc1(0x58c,0x423,0x4a5,0x4f9)](_0x1ac42a(0xc0,0x170,0x151,0xd9)),'apiKey':z[_0x151cc1(0x371,0x1b6,0x2f0,0x171)](),'authScheme':chatModelAuthSchemeSchema[_0x151cc1(0x534,0x4a0,0x569,0x37d)]()})[_0x151cc1(0x249,0x256,0x204,0x125)](),oauthAuthSchema=z[_0x151cc1(0x19c,0x169,-0x1c,0x2be)]({'type':z[_0x1ac42a(0x4a,0xc8,0xa6,-0xcd)](_0x151cc1(0x24c,0x405,0x281,0x5a2)),'access':z[_0x1ac42a(-0x2b9,-0x1e1,-0x1c7,-0x2a7)](),'refresh':z[_0x1ac42a(-0x239,-0x33f,-0x1c7,-0x37d)](),'expires':z['number']()[_0x1ac42a(0x2cf,0x2e2,0x123,0x25e)](),'authScheme':chatModelAuthSchemeSchema[_0x1ac42a(0x138,0x2c5,0x123,0x19c)]()})[_0x1ac42a(0x95,0x24,-0x127,-0x22b)](),finiteNonNegative=z['number']()[_0x151cc1(0x49b,0x359,0x1be,0x4a4)]()[_0x1ac42a(0x34,0x13d,0x5c,-0x151)](),chatGptAuthSchema=z[_0x1ac42a(-0xca,-0x22d,-0x214,-0x49)]({'type':z[_0x151cc1(0x5d7,0x423,0x41e,0x26d)](_0x1ac42a(-0x19e,-0x2c2,-0x1de,-0xec)),'access':z[_0x151cc1(0x14c,0x1b6,0x377,0x374)]()[_0x151cc1(0x434,0x3db,0x450,0x47f)](0x1),'refresh':z[_0x1ac42a(-0x35e,-0x206,-0x1c7,-0x1ee)]()[_0x1ac42a(0x113,-0x21,0x5e,-0x61)](0x1),'idToken':z['string']()['min'](0x1),'accountId':z[_0x151cc1(0x25c,0x1b6,0x308,0x201)]()[_0x1ac42a(0xfc,0x204,0x5e,0x1e)](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative[_0x1ac42a(0x77,0x2b9,0x123,0x267)]()})[_0x1ac42a(-0x209,-0xea,-0x127,-0x1f5)](),authMethodSchema=z['union']([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),reasoningEffortSchema=z['enum']([_0x1ac42a(0x2ea,0x135,0x173,-0x33),_0x151cc1(0x46,0x18b,0x335,0x1d1),_0x151cc1(0x31b,0x200,0x3b9,0x2a9),'high','xhigh','max']),reasoningOptionSchema=z[_0x1ac42a(-0x2a6,-0x2dc,-0x214,-0x261)]({'id':z['string']()[_0x151cc1(0x28f,0x42d,0x5df,0x49b)]()[_0x151cc1(0x292,0x3db,0x460,0x210)](0x1),'description':z[_0x1ac42a(-0x56,-0x35e,-0x1c7,-0x341)]()['optional'](),'mode':z[_0x1ac42a(-0x1bd,-0x293,-0x163,-0x1c9)]([_0x1ac42a(-0x83,-0x2bb,-0x19f,-0x361),_0x151cc1(0x2fe,0x26c,0x1f7,0xf8)])[_0x1ac42a(0x284,0x276,0x123,0x2cb)](),'effort':reasoningEffortSchema[_0x1ac42a(0xf2,0x1e4,0x123,0x20d)](),'budgetTokens':z[_0x1ac42a(0x74,0x1cb,0x142,0x12e)]()[_0x1ac42a(-0x1e,0x95,-0x11,-0x179)]()[_0x151cc1(0x2bc,0x3db,0x37e,0x346)](0x400)[_0x151cc1(0x478,0x4a0,0x344,0x45d)]()})['superRefine']((_0x1dc6bd,_0x5af3f7)=>{const _0x26eed6={_0x226ff0:0x1e2,_0x30f2c4:0x2d0,_0x526292:0x7e,_0x133b45:0x18a,_0x4f01f4:0x1f4,_0x37098f:0x395,_0x11934c:0x27e,_0x6f9341:0xc6,_0x463061:0x114,_0xf4a2d3:0x11,_0x493a58:0x387,_0x423a3c:0x268,_0x3fbdf4:0x39a,_0x2bfa86:0x2f9,_0x2da3f6:0xe2,_0x36a7cf:0x4d7,_0x4a76d9:0x3e8,_0x538ebf:0x4fd,_0x39a336:0x3c6,_0x126351:0x43d,_0x356f8e:0x250,_0x179b3f:0x30e,_0x4f9b6e:0xc0,_0x40c476:0x131,_0x329756:0x296,_0x3b7a95:0x1d6,_0x1bf9b2:0x54,_0x5ea32f:0x86,_0x431808:0x1a8,_0x4ffd41:0x2d0,_0x32e3dd:0x463,_0x431386:0x2f4,_0x57b188:0x1c4,_0x188769:0x29e,_0x186223:0x3b1,_0x641c89:0x1e9,_0x1ec855:0x285,_0x37df0a:0x2eb,_0x3db044:0x236,_0x86133b:0x207,_0x563fd1:0x7a,_0xb90f86:0x2cd,_0x512fc4:0x316,_0x3e39a8:0x2d1,_0x44597e:0x2be,_0x59d6be:0x115,_0x33ac30:0x114,_0x13653e:0x1c6,_0x3da445:0x2cf,_0x20b64b:0x1b2,_0x33610a:0x3e9},_0x53bcb5={_0x27babd:0x8f,_0x1f24e7:0xcc},_0x55c9b3=_0x1dc6bd['id'][_0x5b2d00(_0x26eed6._0x226ff0,_0x26eed6._0x30f2c4,_0x26eed6._0x526292,_0x26eed6._0x133b45)]();(_0x55c9b3==='off'||_0x55c9b3===_0x5b2d00(_0x26eed6._0x4f01f4,0x1fe,_0x26eed6._0x37098f,0x24e)||_0x55c9b3===_0x5370a8(_0x26eed6._0x11934c,0x154,0x258,_0x26eed6._0x6f9341))&&_0x5af3f7[_0x5370a8(-0xa4,_0x26eed6._0x463061,-0x59,_0x26eed6._0xf4a2d3)]({'code':_0x5b2d00(0x3d2,_0x26eed6._0x493a58,_0x26eed6._0x423a3c,_0x26eed6._0x3fbdf4),'path':['id'],'message':_0x5b2d00(0x243,_0x26eed6._0x2bfa86,_0x26eed6._0x2da3f6,0x2b9)+_0x55c9b3+_0x5370a8(_0x26eed6._0x36a7cf,_0x26eed6._0x4a76d9,0x391,_0x26eed6._0x538ebf)});function _0x5b2d00(_0x365eef,_0x7e070d,_0x442383,_0x477512){return _0x151cc1(_0x365eef-0xb7,_0x365eef- -0x1c,_0x442383,_0x477512-0x19f);}if(_0x1dc6bd[_0x5b2d00(_0x26eed6._0x39a336,0x360,_0x26eed6._0x126351,0x2ab)]===_0x5b2d00(_0x26eed6._0x356f8e,0x13f,_0x26eed6._0x179b3f,_0x26eed6._0x4f9b6e)){_0x1dc6bd[_0x5370a8(0x139,_0x26eed6._0x40c476,_0x26eed6._0x329756,0x1be)]===void 0x0&&_0x5af3f7[_0x5370a8(_0x26eed6._0x3b7a95,0x114,_0x26eed6._0x1bf9b2,-_0x26eed6._0x5ea32f)]({'code':'custom','path':[_0x5370a8(_0x26eed6._0x431808,0x131,_0x26eed6._0x4ffd41,0x2f3)],'message':_0x5370a8(_0x26eed6._0x32e3dd,0x3b7,0x208,_0x26eed6._0x431386)});_0x1dc6bd['effort']!==void 0x0&&_0x5af3f7[_0x5b2d00(_0x26eed6._0x57b188,0x37b,0x52,0x33f)]({'code':_0x5b2d00(0x3d2,_0x26eed6._0x188769,0x29b,0x334),'path':['effort'],'message':_0x5b2d00(0x230,_0x26eed6._0x186223,0x1ca,_0x26eed6._0x641c89)});return;}function _0x5370a8(_0x3989b7,_0x493c08,_0x1c68d2,_0x1a5826){return _0x151cc1(_0x3989b7-_0x53bcb5._0x27babd,_0x493c08- -_0x53bcb5._0x1f24e7,_0x1a5826,_0x1a5826-0xf2);}_0x1dc6bd[_0x5370a8(_0x26eed6._0x1ec855,0x131,_0x26eed6._0x37df0a,0x5d)]!==void 0x0&&_0x5af3f7[_0x5370a8(0x190,0x114,0x178,_0x26eed6._0x3db044)]({'code':'custom','path':[_0x5370a8(_0x26eed6._0x86133b,_0x26eed6._0x40c476,0x4,_0x26eed6._0x563fd1)],'message':_0x5370a8(0x42e,_0x26eed6._0xb90f86,0x34d,0x2a2)}),_0x1dc6bd[_0x5370a8(0x42a,_0x26eed6._0x512fc4,_0x26eed6._0x3e39a8,_0x26eed6._0x44597e)]===void 0x0&&_0x1dc6bd['effort']===void 0x0&&_0x5af3f7[_0x5370a8(_0x26eed6._0x59d6be,_0x26eed6._0x33ac30,0x2b9,_0x26eed6._0x13653e)]({'code':_0x5370a8(0x229,0x322,0x352,_0x26eed6._0x3da445),'path':[_0x5b2d00(_0x26eed6._0x20b64b,0x1f1,0x16,0x29e)],'message':_0x5b2d00(0x2f0,0x1f8,_0x26eed6._0x33610a,0x127)});});function validateReasoningOptionIds(_0x1f32f9,_0xcd3fde){const _0x1891da={_0x2a398b:0x538,_0x8d088a:0x4a9,_0x51788e:0x426,_0x1e152c:0x518,_0x5f2201:0x353,_0x218390:0x717},_0x1ff93e={_0x22bdb5:0xb2,_0xe2173a:0x38},_0x3bdcfb={_0x58251f:0x15f};function _0x4c7f71(_0x3de008,_0x2d7ead,_0x49e47a,_0x3a09d7){return _0x151cc1(_0x3de008-0x8c,_0x3de008-_0x3bdcfb._0x58251f,_0x2d7ead,_0x3a09d7-0x78);}const _0x4e9602=new Set();function _0xe8b8(_0x207b4a,_0x245873,_0x542153,_0x2905df){return _0x151cc1(_0x207b4a-0x18f,_0x207b4a-_0x1ff93e._0x22bdb5,_0x245873,_0x2905df-_0x1ff93e._0xe2173a);}for(let _0x524b47=0x0;_0x524b47<_0x1f32f9[_0xe8b8(_0x1891da._0x2a398b,0x3c7,_0x1891da._0x8d088a,_0x1891da._0x51788e)];_0x524b47+=0x1){const _0x96a387=_0x1f32f9[_0x524b47]?.['id']['toLowerCase']();if(!_0x96a387)continue;if(_0x4e9602[_0x4c7f71(0x571,0x6fa,_0x1891da._0x1e152c,0x457)](_0x96a387)){_0xcd3fde[_0xe8b8(0x292,_0x1891da._0x5f2201,0x164,0xe8)]({'code':_0xe8b8(0x4a0,_0x1891da._0x1e152c,0x66e,0x629),'path':['options',_0x524b47,'id'],'message':_0x4c7f71(0x339,0x41b,0x4b5,0x1fc)+_0x96a387+'\x22'});continue;}_0x4e9602[_0x4c7f71(0x573,0x680,_0x1891da._0x218390,0x701)](_0x96a387);}}var providerReasoningConfigSchema=z['object']({'options':z[_0x1ac42a(-0x72,-0x103,0x89,-0x8f)](reasoningOptionSchema)})['superRefine']((_0x105ee2,_0x1087fc)=>{const _0x3473c4={_0x428fdb:0x16,_0x19b60b:0x15},_0x5cfae1={_0x26a6f9:0x10f};function _0x3b1655(_0x27f8e0,_0x4c3c41,_0x58b412,_0x4753bd){return _0x151cc1(_0x27f8e0-_0x5cfae1._0x26a6f9,_0x4753bd- -0x319,_0x4c3c41,_0x4753bd-0x15c);}validateReasoningOptionIds(_0x105ee2[_0x3b1655(-0x8,_0x3473c4._0x428fdb,-_0x3473c4._0x19b60b,-_0x3473c4._0x428fdb)],_0x1087fc);}),modelReasoningConfigSchema=z[_0x151cc1(0x1b0,0x169,0x15b,0x128)]({'defaultOption':z[_0x1ac42a(-0x245,-0x24f,-0x1c7,-0x71)]()['trim']()[_0x151cc1(0x58f,0x3db,0x277,0x3d4)](0x1)['optional'](),'canDisable':z[_0x151cc1(0x2c0,0x306,0x17e,0x4c3)]()[_0x151cc1(0x63b,0x4a0,0x500,0x543)](),'options':z['array'](reasoningOptionSchema)})['superRefine']((_0x224692,_0x1ef703)=>{const _0x27810e={_0x481678:0x1aa,_0x1c47e5:0x101,_0x338794:0x13a,_0x106aca:0x15b,_0x501790:0x9d,_0x737914:0x5e,_0x2401ac:0x1cf,_0x46cbba:0x2ed,_0x23d8e5:0x224,_0x21d691:0x250,_0x468212:0x2dc,_0x16f156:0x1f8,_0x18a227:0x20,_0x27874e:0x66,_0x25a530:0x101,_0x4c2873:0x100,_0x45568c:0xb5,_0xe53d3c:0x10,_0x275046:0xd8,_0x3b789c:0x13a,_0x1de4c5:0x152,_0x576b70:0x35,_0x58d58f:0x8c,_0x563432:0xe4},_0x5bbec4={_0x25a97c:0x1bf,_0x503493:0x2e},_0x3997ec={_0x241727:0x18};function _0x4e8c45(_0x1af988,_0x473aed,_0x5eca2c,_0x1f3808){return _0x151cc1(_0x1af988-_0x3997ec._0x241727,_0x1f3808- -0x404,_0x473aed,_0x1f3808-0x81);}function _0x44faed(_0x115acd,_0x4f91cd,_0x4f494c,_0x502963){return _0x151cc1(_0x115acd-_0x5bbec4._0x25a97c,_0x4f91cd- -0x346,_0x502963,_0x502963-_0x5bbec4._0x503493);}validateReasoningOptionIds(_0x224692[_0x4e8c45(0x4,0x55,-_0x27810e._0x481678,-_0x27810e._0x1c47e5)],_0x1ef703);const _0x40e38d=_0x224692[_0x44faed(0xf,-_0x27810e._0x338794,-0x77,-_0x27810e._0x106aca)]?.[_0x4e8c45(-_0x27810e._0x501790,-0xd4,-_0x27810e._0x737914,-0x206)]();if(_0x40e38d===void 0x0)return;if(_0x40e38d==='off'){_0x224692[_0x44faed(_0x27810e._0x2401ac,0x191,-0x8,0x14f)]!==!![]&&_0x1ef703[_0x4e8c45(-0x376,-0x201,-_0x27810e._0x46cbba,-_0x27810e._0x23d8e5)]({'code':'custom','path':[_0x4e8c45(-0x2c6,-_0x27810e._0x21d691,-_0x27810e._0x468212,-_0x27810e._0x16f156)],'message':_0x4e8c45(-0xde,0x3e,-0xc2,-_0x27810e._0x18a227)});return;}!_0x224692[_0x4e8c45(-0x1ec,-_0x27810e._0x27874e,-0x97,-_0x27810e._0x25a530)][_0x44faed(0x7,_0x27810e._0x4c2873,-_0x27810e._0x45568c,-0xa0)](_0x4d48e8=>_0x4d48e8['id'][_0x44faed(-0x12a,-0x148,-0x2bb,-0x25a)]()===_0x40e38d)&&_0x1ef703['addIssue']({'code':_0x4e8c45(-0x1a6,-_0x27810e._0xe53d3c,0x170,-0x16),'path':['defaultOption'],'message':_0x44faed(-0x95,_0x27810e._0x275046,0x182,0x78)+_0x224692[_0x44faed(-0x1f7,-_0x27810e._0x3b789c,-_0x27810e._0x1de4c5,-_0x27810e._0x576b70)]+_0x4e8c45(_0x27810e._0x58d58f,0x207,-_0x27810e._0x563432,0x95)});}),modelDefinitionSchema=z[_0x1ac42a(-0xdc,-0x3b2,-0x214,-0xeb)]({'id':z['string'](),'name':z[_0x151cc1(0x378,0x1b6,0x26a,0x134)]()['optional'](),'reasoning':modelReasoningConfigSchema[_0x1ac42a(0x27a,0x134,0x123,0xf9)]()})[_0x1ac42a(-0x84,-0xe0,-0x127,-0x22a)](),modelConfigSchema=z['union']([z[_0x151cc1(0x2bd,0x423,0x2fe,0x46d)](![]),z['literal'](!![]),z[_0x1ac42a(-0x1a0,-0x148,-0x1c7,-0x54)](),z['array'](z[_0x1ac42a(-0x101,-0x1ef,-0x1c7,-0x150)]()),z[_0x151cc1(0x43e,0x406,0x44f,0x3b6)](modelDefinitionSchema)]),chatModelSurfaceSchema=z[_0x151cc1(0x1ba,0x21a,0x2ad,0x301)]([_0x151cc1(0x4c1,0x45a,0x5f1,0x557),'openai-chat-completions',_0x151cc1(0x1c0,0x1d8,0x14,0x312),'openai-responses-ws']),providerConfigSchema=z['object']({'apiKey':z[_0x1ac42a(0x5,-0x46,-0x1c7,-0x1a8)]()[_0x1ac42a(0x10d,-0x40,0x123,0xfb)](),'token':z[_0x151cc1(0x15b,0x1b6,0x23f,0x2e3)]()[_0x151cc1(0x372,0x4a0,0x608,0x416)](),'defaultModel':z[_0x1ac42a(-0xa1,-0x13a,-0x1c7,-0x17f)]()[_0x151cc1(0x2d0,0x4a0,0x4a7,0x5f1)](),'smallModel':z[_0x1ac42a(-0x2bc,-0x29,-0x1c7,-0x304)]()[_0x151cc1(0x4c4,0x4a0,0x66c,0x380)](),'currentAuth':z[_0x151cc1(0x1f9,0x1b6,0x260,0x20c)]()[_0x151cc1(0x3c8,0x4a0,0x306,0x5ea)](),'auth':z[_0x151cc1(0x2b2,0x406,0x43b,0x2e4)](authMethodSchema)[_0x1ac42a(0xbc,0x2a0,0x123,0x1c1)](),'surface':chatModelSurfaceSchema['optional'](),'baseUrl':z[_0x1ac42a(-0x91,-0x6b,-0x1c7,-0x29b)]()[_0x1ac42a(0x193,0x2d3,0x123,0x2d4)](),'models':modelConfigSchema[_0x1ac42a(-0x61,0x264,0x123,0xa4)](),'customHeaders':z['record'](z[_0x151cc1(0x2de,0x1b6,0x328,0x25)](),z[_0x151cc1(0x231,0x1b6,0x28d,0x77)]())[_0x1ac42a(-0x1d,0x208,0x123,-0x35)](),'reasoning':providerReasoningConfigSchema[_0x1ac42a(0x20d,0x8a,0x123,0x26c)]()})[_0x151cc1(0x295,0x256,0x2c0,0x18a)](),mcpServerConfigSchema=z[_0x151cc1(0x310,0x169,0x303,0x145)]({'command':z[_0x1ac42a(-0x107,-0x2e5,-0x1c7,-0x35a)]()['optional'](),'args':z['array'](z['string']())[_0x1ac42a(0x104,0x2eb,0x123,0xc6)](),'env':z[_0x151cc1(0xc4,0x1fb,0x268,0x276)](z[_0x1ac42a(-0x189,-0x1ce,-0x1c7,-0x376)](),z['string']())[_0x1ac42a(0x103,0x5f,0x123,0xa4)](),'transport':z[_0x151cc1(0x248,0x21a,0xbf,0x4e)]([_0x151cc1(0x4e3,0x4ab,0x5c4,0x2fe),'http'])[_0x151cc1(0x4f4,0x4a0,0x5bf,0x5aa)](),'url':z['string']()[_0x151cc1(0x515,0x4a0,0x4a1,0x533)](),'headers':z[_0x1ac42a(-0x279,-0x227,-0x182,-0x202)](z[_0x151cc1(0x331,0x1b6,0x381,0x36b)](),z[_0x151cc1(0x1af,0x1b6,0x1fe,0x14)]())['optional'](),'prefix':z[_0x1ac42a(-0x14a,-0x11f,-0x1c7,-0x154)]()[_0x1ac42a(0xbf,0x19,0x123,0x210)](),'timeoutMs':z[_0x1ac42a(0x273,0xf0,0x142,0x199)]()[_0x151cc1(0x447,0x4a0,0x4b8,0x3d8)](),'enabled':z[_0x151cc1(0x480,0x306,0x1cf,0x291)]()['optional'](),'auth':z[_0x1ac42a(-0x34f,-0x27b,-0x214,-0x30f)]({'type':z[_0x151cc1(0x11a,0x21a,0xcc,0xad)](['none','bearer','oauth']),'token':z['string']()[_0x151cc1(0x54c,0x4a0,0x53e,0x43d)](),'oauth':z[_0x1ac42a(-0x3d5,-0x327,-0x214,-0x38a)]({'clientId':z[_0x1ac42a(-0x36a,-0xc,-0x1c7,-0x358)]()[_0x1ac42a(0x14e,0x193,0x123,0x98)](),'clientMetadataUrl':z[_0x1ac42a(-0x187,-0x32c,-0x1c7,-0x23b)]()[_0x1ac42a(0x14a,0x1ca,0x123,0x88)](),'authorizationServer':z['string']()['optional'](),'scopes':z[_0x151cc1(0x3e4,0x406,0x505,0x26c)](z[_0x151cc1(0x2f5,0x1b6,0x278,0x26d)]())['optional'](),'tokenStorageKey':z[_0x151cc1(0x364,0x1b6,0x2d7,0x1bb)]()['optional']()})['passthrough']()[_0x151cc1(0x34b,0x4a0,0x5b0,0x619)]()})['passthrough']()[_0x151cc1(0x5c4,0x4a0,0x4ba,0x54d)]()})['passthrough'](),mcpToolPermissionClassSchema=z['enum']([_0x1ac42a(0x5f,0x215,0xed,-0xd9),_0x1ac42a(0xae,0x10b,0x103,0x2a5),_0x151cc1(0x2f7,0x364,0x2d3,0x20d)]),mcpSettingsSchema=z['object']({'servers':prototypeSafeRecord(mcpServerConfigSchema)['optional'](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z['boolean']()))[_0x151cc1(0x664,0x4a0,0x5fb,0x591)](),'toolPermissions':prototypeSafeRecord(prototypeSafeRecord(mcpToolPermissionClassSchema))[_0x151cc1(0x2ed,0x4a0,0x389,0x397)](),'defaultTimeoutMs':z[_0x1ac42a(0x2df,0x16b,0x142,0x14a)]()[_0x1ac42a(0x99,0x2cd,0x123,0x7b)]()})[_0x1ac42a(0x64,-0x1dd,-0x127,-0x2db)](),skillsSettingsSchema=z[_0x151cc1(-0x3c,0x169,0x293,-0x3)]({'enabled':z[_0x1ac42a(-0x176,-0x14e,-0x77,-0x37)]()['optional'](),'includeDefaults':z[_0x151cc1(0x36c,0x306,0x342,0x412)]()[_0x151cc1(0x410,0x4a0,0x608,0x45d)](),'directories':z[_0x1ac42a(0x30,0x1d4,0x89,0x1cb)](z[_0x151cc1(0x29d,0x1b6,0x202,-0xc)]())[_0x1ac42a(0x2c9,0x21a,0x123,0x85)](),'exclude':z['array'](z['string']())['optional']()})[_0x1ac42a(0x25,-0x1fc,-0x127,-0x195)](),commandsSettingsSchema=z['object']({'enabled':z[_0x151cc1(0x329,0x306,0x3a6,0x424)]()['optional'](),'directories':z[_0x1ac42a(0x130,0x234,0x89,0x4d)](z[_0x151cc1(0xf0,0x1b6,0xd0,0x315)]())[_0x151cc1(0x353,0x4a0,0x5db,0x531)]()})[_0x151cc1(0x1ec,0x256,0x19d,0x10a)](),agentsSettingsSchema=z[_0x1ac42a(-0x325,-0x87,-0x214,-0x1c2)]({'enabled':z[_0x1ac42a(-0x8a,0xd4,-0x77,-0x169)]()[_0x1ac42a(-0x68,0x2a6,0x123,0x2da)](),'includeDefaults':z[_0x151cc1(0x42b,0x306,0x435,0x201)]()[_0x151cc1(0x5de,0x4a0,0x2d8,0x434)](),'directories':z[_0x151cc1(0x341,0x406,0x52e,0x5c1)](z[_0x1ac42a(-0x11f,-0x195,-0x1c7,-0x1a9)]())[_0x1ac42a(0x144,0x19d,0x123,0x16e)](),'maxConcurrency':z[_0x1ac42a(0x20c,0x1db,0x142,0xd1)]()['finite']()[_0x151cc1(0x429,0x36c,0x3e1,0x1e4)]()[_0x1ac42a(0x21,-0x5f,0x11e,0x24)]()[_0x151cc1(0x4ee,0x4a0,0x58d,0x65a)]()})['passthrough'](),uiThemeSettingsSchema=z[_0x1ac42a(-0x172,-0x3af,-0x214,-0x1ad)]({'mode':z[_0x1ac42a(-0x1c3,-0x39,-0x163,-0x12)]([_0x1ac42a(-0xad,0xd6,0xd2,0x10d),_0x1ac42a(0x145,-0x8d,0xf4,0x90),'light'])[_0x1ac42a(0x298,-0x72,0x123,0x2ad)](),'colorLevel':z[_0x1ac42a(-0x85,-0x170,-0x163,-0x1ef)]([_0x1ac42a(0x93,0xe0,0xd2,0x181),_0x1ac42a(0x20e,-0xb9,0x100,-0x5),_0x1ac42a(0x77,0x106,0x166,0x208),_0x1ac42a(-0xd3,0xf,-0xc,-0x163),_0x151cc1(0x1f9,0x1bb,0x1f8,0x306)])[_0x151cc1(0x499,0x4a0,0x475,0x55b)](),'backgrounds':z[_0x1ac42a(-0x1ae,0x5c,-0x163,0x49)]([_0x1ac42a(0xa,-0xfd,0xd2,-0xcb),'on',_0x151cc1(0x186,0x1c5,0x1ff,0x1b6)])['optional'](),'messageStyle':z[_0x151cc1(0x367,0x21a,0x3db,0x350)]([_0x1ac42a(0x10,-0x46,-0x42,0xdf),_0x1ac42a(0x161,0x4e,0x16c,0x51)])[_0x1ac42a(0x15f,0x87,0x123,0x179)]()})[_0x151cc1(0x29e,0x256,0x265,0x117)](),statuslineSegmentSchema=z['enum']([_0x1ac42a(-0x43,0x27,-0x8e,-0x136),_0x1ac42a(-0x21a,-0x6f,-0xf7,0x2a),_0x1ac42a(0x85,-0xb9,0xd0,0x6c),_0x151cc1(0x24c,0x209,0x2cb,0x39e),'tokens','context',_0x1ac42a(0x145,-0x14e,0x26,0x164),_0x151cc1(0x2d7,0x270,0x20e,0x389),_0x1ac42a(-0x2f8,-0xe3,-0x206,-0x2b3),_0x1ac42a(-0x202,-0xa6,-0x149,-0x36),_0x151cc1(0x110,0x1aa,0xb7,0x2c),'gitBranch',_0x1ac42a(0x1b6,-0x52,0x63,-0xd6),'memory',_0x1ac42a(0x64,-0x4c,0x25,0x13f)]),statuslineItemSchema=z[_0x151cc1(0x355,0x275,0x1c7,0x142)]([statuslineSegmentSchema,z[_0x1ac42a(-0xfe,0x1dd,0xa6,-0xd6)]('|')]),statuslineRowSchema=z[_0x151cc1(0x3cf,0x406,0x2aa,0x351)](statuslineItemSchema),statuslineConfigSchema=z[_0x151cc1(0x29b,0x169,0xeb,0x23a)]({'rows':z[_0x1ac42a(0x2b5,0x7,0x149,-0x81)]([statuslineRowSchema,statuslineRowSchema])['optional']()})[_0x151cc1(0x1de,0x256,0x3e7,0x36f)](),memoryExtractionSettingsSchema=z[_0x151cc1(0x1cc,0x169,0x32f,0x2e4)]({'enabled':z[_0x1ac42a(-0xb5,0xde,-0x77,-0x159)]()[_0x151cc1(0x433,0x4a0,0x59a,0x38a)](),'provider':z[_0x1ac42a(-0x1d7,-0x288,-0x1c7,-0x145)]()[_0x151cc1(0x2c6,0x3db,0x503,0x48d)](0x1)[_0x1ac42a(0x1ee,0xff,0x123,0x4c)](),'model':z[_0x1ac42a(-0xec,-0x289,-0x1c7,-0x155)]()['min'](0x1)[_0x1ac42a(-0x18,0x2ec,0x123,0x235)](),'minUserMessages':z[_0x151cc1(0x50e,0x4bf,0x651,0x433)]()['int']()[_0x151cc1(0x527,0x3db,0x379,0x462)](0x1)['optional']()})['strict'](),memorySettingsSchema=z['object']({'enabled':z[_0x151cc1(0x417,0x306,0x222,0x25d)]()[_0x1ac42a(0x11a,0xd4,0x123,0x21)](),'extraction':memoryExtractionSettingsSchema[_0x151cc1(0x360,0x4a0,0x409,0x5c0)]()})[_0x1ac42a(0x2a1,0x248,0x148,0xb0)](),recentModelSchema=z['object']({'provider':z['string'](),'model':z[_0x1ac42a(-0xef,-0x238,-0x1c7,-0x11a)](),'usedAt':z[_0x1ac42a(0x2db,0x1f2,0x142,0x1df)]()})['passthrough'](),lspServerEntrySchema=z['object']({'disabled':z[_0x151cc1(0x1ee,0x306,0x3ec,0x44c)]()['optional'](),'command':z[_0x151cc1(0x310,0x1b6,0x157,0xbc)]()['optional'](),'args':z[_0x151cc1(0x5b8,0x406,0x4ea,0x3f0)](z[_0x1ac42a(-0x160,-0xb1,-0x1c7,-0x22e)]())[_0x151cc1(0x2ff,0x4a0,0x337,0x2d1)](),'rootMarkers':z[_0x151cc1(0x312,0x406,0x5b9,0x51a)](z['string']())['optional']()})[_0x151cc1(0x35b,0x256,0x2df,0x36f)](),lspConfigSchema=z['object']({'enabled':z[_0x151cc1(0x1be,0x306,0x3a6,0x13b)]()[_0x1ac42a(-0x8,0x2b8,0x123,0x16f)](),'servers':z[_0x151cc1(0x197,0x1fb,0x2a4,0x2b4)](z[_0x151cc1(0x2d0,0x1b6,0x19,0x1d4)](),lspServerEntrySchema)[_0x151cc1(0x3ee,0x4a0,0x5ae,0x5a5)]()})[_0x1ac42a(0xe,-0x1b4,-0x127,-0x2da)](),serverEndpointSchema=z[_0x151cc1(0x188,0x169,0x145,0x1ea)]({'url':z[_0x151cc1(0x1b3,0x1b6,0x195,0x1d7)](),'token':z[_0x151cc1(0x30a,0x1b6,0x1ca,0x6c)]()[_0x1ac42a(-0x1d,0x156,0x123,0x0)]()})[_0x151cc1(0x360,0x256,0x318,0xea)](),commandHookConfigSchema=z[_0x151cc1(0x29f,0x169,0x15a,0x1f7)]({'type':z[_0x1ac42a(0x152,0x155,0xa6,-0x88)](_0x1ac42a(0x4,0x56,-0x48,-0x100)),'command':z[_0x1ac42a(-0x2ae,-0x1f3,-0x1c7,-0x70)](),'timeout':z[_0x151cc1(0x58a,0x4bf,0x5e5,0x324)]()['optional']()}),hookMatcherGroupSchema=z['object']({'matcher':z[_0x1ac42a(-0x2af,-0x103,-0x1c7,-0x21b)]()[_0x151cc1(0x648,0x4a0,0x3de,0x3fb)](),'hooks':z['array'](commandHookConfigSchema)}),hooksConfigSchema=z[_0x151cc1(0x312,0x169,0x182,0x2b)]({'PreToolUse':z[_0x151cc1(0x33d,0x406,0x498,0x31b)](hookMatcherGroupSchema)[_0x1ac42a(-0x14,0xd0,0x123,0x165)](),'PostToolUse':z[_0x1ac42a(-0x13b,-0x12c,0x89,0x242)](hookMatcherGroupSchema)['optional'](),'UserPromptSubmit':z[_0x1ac42a(0xce,0x256,0x89,0xf7)](hookMatcherGroupSchema)[_0x151cc1(0x325,0x4a0,0x524,0x46f)](),'Stop':z[_0x1ac42a(0x3d,0x1ea,0x89,0x130)](hookMatcherGroupSchema)[_0x1ac42a(0x15f,0x9f,0x123,-0x12)](),'Notification':z[_0x151cc1(0x2e7,0x406,0x283,0x38c)](hookMatcherGroupSchema)[_0x1ac42a(-0x5d,0xca,0x123,0x65)](),'ToolApprovalRequest':z[_0x1ac42a(0x1e,-0xcf,0x89,0xe4)](hookMatcherGroupSchema)[_0x1ac42a(0x295,-0x68,0x123,0x123)](),'SessionStart':z[_0x151cc1(0x4d3,0x406,0x33b,0x5bc)](hookMatcherGroupSchema)[_0x1ac42a(0x1c1,-0x57,0x123,-0x5)](),'SessionEnd':z['array'](hookMatcherGroupSchema)[_0x1ac42a(0x6b,-0x2,0x123,-0x28)]()}),providerNameSchema=z['string']()[_0x1ac42a(0xee,0xbc,0x5e,0x18)](0x1,_0x151cc1(0x419,0x4ae,0x526,0x55d))[_0x151cc1(0x341,0x333,0x47f,0x2cf)](_0x1a204e=>!_0x1a204e[_0x151cc1(0x161,0x245,0x21e,0x11a)](':'),_0x151cc1(0x37c,0x22f,0x3ef,0x3ff)),bashPolicyRuleSchema=z['object']({'id':z[_0x151cc1(0x7b,0x1b6,-0xf,0x1d7)]()[_0x151cc1(0x301,0x42d,0x5b2,0x547)]()['min'](0x1)[_0x151cc1(0x328,0x40e,0x567,0x596)](0x80),'action':z[_0x1ac42a(-0x2a9,-0x141,-0x163,-0x29)](['allow','deny']),'cwd':z[_0x1ac42a(-0x2fe,-0x261,-0x163,-0x220)]([_0x151cc1(0x2a8,0x404,0x52a,0x3b2),_0x151cc1(0x419,0x2e6,0x2c9,0x2a5)])[_0x151cc1(0x2eb,0x4a0,0x5b5,0x60d)](),'commands':z[_0x151cc1(0x5c9,0x406,0x236,0x297)](z[_0x1ac42a(-0x150,-0x1e5,-0x1c7,-0x2e)]()[_0x1ac42a(0xe1,0x48,0x5e,0x2c)](0x1))[_0x151cc1(0x40d,0x3db,0x44c,0x400)](0x1)})['strict'](),bashPolicyConfigSchema=z[_0x1ac42a(-0x2a0,-0x190,-0x214,-0x2fb)]({'default':z[_0x1ac42a(0x189,0x200,0xa6,0x8c)](_0x151cc1(0x170,0x247,0x174,0x316))['optional'](),'rules':z['array'](bashPolicyRuleSchema)['max'](0x3e8)})[_0x1ac42a(0x2a,0x2e5,0x148,0x1a8)](),cliConfigSchema=z[_0x151cc1(0xf7,0x169,0x268,0x1e2)]({'activeProvider':providerNameSchema[_0x1ac42a(0x46,0x1c6,0x123,0x100)](),'activeModel':z[_0x151cc1(-0x10,0x1b6,0x10b,0x1aa)]()[_0x1ac42a(0x9a,0x169,0x123,0x149)](),'apiKey':z['string']()['optional'](),'providers':z['record'](providerNameSchema,providerConfigSchema)[_0x1ac42a(0x14f,0xa5,0x123,0x1)](),'mcp':mcpSettingsSchema['optional'](),'skills':skillsSettingsSchema[_0x1ac42a(0x20,0x216,0x123,-0x6c)](),'agents':agentsSettingsSchema[_0x151cc1(0x5ae,0x4a0,0x5a0,0x5d3)](),'commands':commandsSettingsSchema[_0x151cc1(0x4b5,0x4a0,0x4be,0x426)](),'skillsEnabled':z[_0x1ac42a(-0x20c,-0x1be,-0x182,-0x2a9)](z[_0x1ac42a(-0x13b,-0x34b,-0x1c7,-0x241)](),z[_0x151cc1(0x287,0x306,0x39e,0x278)]())[_0x151cc1(0x2d7,0x4a0,0x34f,0x42c)](),'allowedDirs':z[_0x151cc1(0x576,0x406,0x397,0x57b)](z[_0x1ac42a(-0x309,-0x21a,-0x1c7,-0x150)]())[_0x151cc1(0x3d2,0x4a0,0x46b,0x3a9)](),'mcpEnabled':prototypeSafeRecord(z[_0x1ac42a(0xac,0x42,-0x77,-0x2d)]())[_0x151cc1(0x641,0x4a0,0x525,0x66e)](),'commandsEnabled':z[_0x151cc1(0x2bd,0x1fb,0x19a,0x28a)](z[_0x151cc1(0x74,0x1b6,0xf1,0x114)](),z[_0x1ac42a(0x14b,0xab,-0x77,0x39)]())[_0x151cc1(0x3c0,0x4a0,0x426,0x3ab)](),'memory':memorySettingsSchema[_0x151cc1(0x3df,0x4a0,0x4bc,0x3c8)](),'session':z['object']({'memPersist':z[_0x1ac42a(-0x1fd,-0xb3,-0x77,-0xcf)]()[_0x151cc1(0x646,0x4a0,0x3f7,0x4e6)](),'persistEventLog':z[_0x151cc1(0x3eb,0x306,0x438,0x3d9)]()['optional'](),'persistHttpLog':z['boolean']()[_0x151cc1(0x44d,0x4a0,0x4fc,0x48c)]()})[_0x151cc1(0xe0,0x256,0x17d,0xd6)]()[_0x1ac42a(0x275,0x135,0x123,0x9f)](),'requireToolApproval':z['boolean']()[_0x151cc1(0x4b3,0x4a0,0x327,0x3ff)](),'thinking':z[_0x1ac42a(-0x2dc,-0xd8,-0x214,-0x79)]({'selections':z[_0x151cc1(0x1d6,0x1fb,0x246,0x2a1)](z[_0x1ac42a(-0x10c,-0x2b9,-0x1c7,-0x9d)](),z[_0x151cc1(0x338,0x1b6,0x31f,0x128)]())[_0x1ac42a(0x2a5,-0x3a,0x123,0xdb)]()})[_0x1ac42a(0x1b,0x1ad,0x123,0x129)](),'streamingChunks':z['boolean']()['optional'](),'agentsEnabled':z[_0x1ac42a(-0x295,-0x1a1,-0x182,-0x1a9)](z['string'](),z[_0x151cc1(0x455,0x306,0x348,0x1f7)]())[_0x1ac42a(0x2c,-0x49,0x123,-0x51)](),'recentModels':z[_0x151cc1(0x335,0x406,0x4fc,0x360)](recentModelSchema)[_0x151cc1(0x5d5,0x4a0,0x44b,0x4ed)](),'lsp':lspConfigSchema['optional'](),'servers':z[_0x151cc1(0x1a4,0x1fb,0xb9,0x1d8)](z['string'](),serverEndpointSchema)[_0x151cc1(0x58c,0x4a0,0x399,0x40f)](),'ui':z['object']({'theme':uiThemeSettingsSchema[_0x1ac42a(-0x3c,0x136,0x123,0x105)](),'statusline':statuslineConfigSchema['optional']()})[_0x151cc1(0x1c8,0x256,0x329,0x264)]()['optional'](),'tools':z[_0x151cc1(0xfd,0x1fb,0x129,0x30)](z['string'](),z[_0x151cc1(0x29,0x19d,-0x26,0x327)]())['optional'](),'hooks':hooksConfigSchema['optional'](),'bashPolicy':z[_0x151cc1(0x22f,0x19d,0x106,0x21b)]()[_0x151cc1(0x378,0x4a0,0x53f,0x5b6)]()})['passthrough'](),workspaceOverlaySchema=z[_0x1ac42a(-0x82,-0x2fc,-0x214,-0x2de)]({'root':z[_0x1ac42a(-0x377,-0x1ad,-0x1c7,-0x99)]()[_0x151cc1(0x654,0x4a0,0x5a5,0x305)](),'allowedDirs':z[_0x151cc1(0x59b,0x406,0x47b,0x2a9)](z[_0x1ac42a(-0x1bb,-0x1b2,-0x1c7,-0x1bc)]())[_0x1ac42a(0x27e,0x218,0x123,0x1a7)](),'activeProvider':providerNameSchema[_0x151cc1(0x362,0x4a0,0x5fa,0x2e0)](),'activeModel':z[_0x1ac42a(-0x13e,-0x37,-0x1c7,-0xd1)]()[_0x151cc1(0x64e,0x4a0,0x50a,0x48b)](),'mcp':mcpSettingsSchema['optional'](),'skills':skillsSettingsSchema[_0x151cc1(0x33a,0x4a0,0x551,0x36f)](),'agents':agentsSettingsSchema[_0x151cc1(0x662,0x4a0,0x3c8,0x2e5)](),'commands':commandsSettingsSchema[_0x151cc1(0x501,0x4a0,0x569,0x3e4)](),'hooks':hooksConfigSchema[_0x151cc1(0x5f1,0x4a0,0x309,0x4e1)](),'memory':memorySettingsSchema[_0x151cc1(0x3e8,0x4a0,0x3dc,0x577)](),'mcpEnabled':prototypeSafeRecord(z[_0x1ac42a(-0x20d,0x63,-0x77,-0x86)]())[_0x1ac42a(-0x8b,0x1de,0x123,-0x73)](),'skillsEnabled':z[_0x151cc1(0x30d,0x1fb,0x2c1,0x33d)](z[_0x1ac42a(-0x18c,-0x1b9,-0x1c7,-0x167)](),z[_0x1ac42a(-0x14c,0x147,-0x77,0x135)]())['optional'](),'agentsEnabled':z[_0x151cc1(0x87,0x1fb,0x254,0x330)](z[_0x151cc1(0x168,0x1b6,0x29,-0x8)](),z[_0x1ac42a(-0x136,-0xe7,-0x77,0x124)]())[_0x151cc1(0x622,0x4a0,0x4b1,0x334)](),'commandsEnabled':z[_0x151cc1(0x5d,0x1fb,0xb3,0x366)](z[_0x1ac42a(-0x1b8,-0x306,-0x1c7,-0xc6)](),z[_0x151cc1(0x30b,0x306,0x431,0x3c5)]())[_0x151cc1(0x3e7,0x4a0,0x431,0x486)](),'bashPolicy':z[_0x151cc1(0x339,0x19d,0x36b,0x1e)]()['optional']()})[_0x1ac42a(-0x73,-0x2e9,-0x127,-0x15c)](),PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object['getOwnPropertyNames'](Object[_0x151cc1(0x560,0x46c,0x2a6,0x487)]),_0x1ac42a(-0x30,0x268,0xef,0x68)]);function buildDescription(_0x4f8296){const _0x4b1810={_0x17dfd1:0x4b3,_0x29afe4:0x352,_0x2ce3c2:0x531,_0xaaecca:0x5b5,_0x1bc895:0x4ad,_0x264273:0x3bc,_0x57551d:0x36,_0x25958f:0x357,_0x27eae7:0x19d,_0x48a06f:0x48},_0x37d5af={_0x2f9722:0x95,_0x3ecc43:0x8c},_0x3186a1={_0x1e1c56:0x12d,_0x57320e:0xc};if(_0x4f8296['length']===0x0)return[_0xef8448(0x341,0x294,_0x4b1810._0x17dfd1,0x3bc),'Use\x20this\x20when\x20the\x20user\x27s\x20request\x20matches\x20an\x20available\x20command\x20description,\x20even\x20if\x20the\x20user\x20did\x20not\x20type\x20the\x20slash\x20command\x20explicitly.',_0x4387da(_0x4b1810._0x29afe4,0x3ba,0x200,_0x4b1810._0x2ce3c2)][_0x4387da(_0x4b1810._0xaaecca,_0x4b1810._0x1bc895,0x5e9,0x5bf)]('\x0a');function _0x4387da(_0x16a521,_0x97b011,_0x9e1ab3,_0x2ac99a){return _0x151cc1(_0x16a521-_0x3186a1._0x1e1c56,_0x97b011- -_0x3186a1._0x57320e,_0x9e1ab3,_0x2ac99a-0xe3);}const _0x452926=[_0xef8448(0x461,0x4bb,0x55f,_0x4b1810._0x264273),_0x4387da(-_0x4b1810._0x57551d,0x198,_0x4b1810._0x25958f,0x16f),_0x4387da(0x208,_0x4b1810._0x27eae7,0x326,_0x4b1810._0x48a06f),..._0x4f8296['map'](_0x342c84=>_0x342c84[_0xef8448(0x227,0x38c,0x42d,0x307)]?'-\x20'+_0x342c84[_0xef8448(0x431,0x47e,0x356,0x37a)]+'\x20'+_0x342c84[_0x4387da(0x295,0x390,0x4d8,0x42f)]+':\x20'+_0x342c84['description']:'-\x20'+_0x342c84['name']+':\x20'+_0x342c84['description'])];function _0xef8448(_0x5e04f5,_0x327021,_0x9c0598,_0x185660){return _0x151cc1(_0x5e04f5-0x13e,_0x185660- -_0x37d5af._0x2f9722,_0x327021,_0x185660-_0x37d5af._0x3ecc43);}return _0x452926['join']('\x0a');}function createInvokeCommandTool(_0x367cf9){const _0x1788d8={_0x236ebd:0x637,_0x415456:0x30a,_0x4cac08:0x5ad,_0x50ab59:0x834,_0x41debc:0x4d1,_0x1074bd:0x355,_0x42fe8e:0x4c2,_0x1a54bb:0x635,_0x477cc5:0x5d3,_0x2853c5:0x450,_0x26ed70:0x3c2,_0x578971:0x4e3,_0x57a9c4:0x282,_0x5b05d5:0x2c5,_0x3301f7:0x40f,_0x250bdc:0x409,_0x49d995:0x3c6,_0x5148ad:0x549,_0x453aba:0x51e},_0xfceab6={_0x355f8c:0x6a1,_0x3c9f4c:0x40d,_0x23793e:0x3ea,_0x568067:0x3aa,_0x2db243:0x3af,_0x464604:0x2fe,_0x5436fa:0x50f,_0x7bfb84:0x630,_0x22fad3:0x64c,_0x31cd57:0x51d,_0x5dee39:0x67f,_0x1f2e90:0x314,_0x33191c:0x31a,_0x507e07:0x220},_0x2f6e63={_0x1b0cc6:0x47},_0x289520={_0x31af6c:0xd7},_0xb3a101=new Map(_0x367cf9[_0x5a3d92(0x4d1,0x64c,_0x1788d8._0x236ebd,_0x1788d8._0x415456)][_0x5a3d92(0x680,_0x1788d8._0x4cac08,0x635,_0x1788d8._0x50ab59)](_0x2eb1c0=>[_0x2eb1c0['id'],_0x2eb1c0]));function _0x349fd9(_0xc5895,_0x16d714,_0x545668,_0x52967b){return _0x151cc1(_0xc5895-0xd9,_0x52967b-0x10f,_0x16d714,_0x52967b-0xcd);}function _0x5a3d92(_0x323daf,_0x45ce66,_0x3f47cb,_0x4ccf6d){return _0x1ac42a(_0x323daf-0xe7,_0x45ce66-_0x289520._0x31af6c,_0x323daf-0x5d6,_0x4ccf6d);}const _0xf0a461=buildDescription(_0x367cf9[_0x5a3d92(_0x1788d8._0x41debc,_0x1788d8._0x1074bd,0x587,0x620)]);return defineTool({'name':_0x5a3d92(_0x1788d8._0x42fe8e,0x4c8,0x419,0x63d),'permissionClass':_0x5a3d92(0x5bd,_0x1788d8._0x1a54bb,_0x1788d8._0x477cc5,_0x1788d8._0x2853c5),'description':_0xf0a461,'inputSchema':{'type':_0x5a3d92(_0x1788d8._0x26ed70,0x517,_0x1788d8._0x578971,_0x1788d8._0x57a9c4),'properties':{'name':{'type':_0x349fd9(0x45a,0x130,0x385,_0x1788d8._0x5b05d5)},'args':{'type':_0x5a3d92(_0x1788d8._0x3301f7,0x536,_0x1788d8._0x250bdc,0x4a4)}},'required':[_0x349fd9(0x3fc,_0x1788d8._0x49d995,_0x1788d8._0x5148ad,_0x1788d8._0x453aba)]},async *'execute'(_0x57f310){const _0x55116a={_0x25282f:0xa4,_0x3edd79:0xa5};function _0x40cfa9(_0x149836,_0x41aa20,_0x38c869,_0x3d8717){return _0x349fd9(_0x149836-_0x55116a._0x25282f,_0x3d8717,_0x38c869-_0x55116a._0x3edd79,_0x149836- -0x1ba);}const _0xb08876=_0xb3a101[_0x2c0e68(0x57b,0x65d,_0xfceab6._0x355f8c,_0xfceab6._0x3c9f4c)](_0x57f310[_0x40cfa9(0x364,_0xfceab6._0x23793e,_0xfceab6._0x568067,_0xfceab6._0x2db243)]);function _0x2c0e68(_0x5f49e5,_0x218224,_0x252924,_0x3e1b12){return _0x5a3d92(_0x5f49e5- -_0x2f6e63._0x1b0cc6,_0x218224-0xe2,_0x252924-0x8b,_0x252924);}if(!_0xb08876){const _0xf2b371=Array['from'](_0xb3a101['keys']())['join'](',\x20');throw new ToolExecutionError('Command\x20\x27'+_0x57f310['name']+_0x2c0e68(0x3a5,_0xfceab6._0x464604,0x4a8,0x28b)+_0xf2b371,{'name':_0x57f310['name']});}const _0xcce342=await _0x367cf9['loadCommand'](_0xb08876),_0x38507f=_0x57f310[_0x2c0e68(_0xfceab6._0x5436fa,0x36e,0x597,_0xfceab6._0x7bfb84)]??'',_0x3f2834=renderCommandInstructions({'instructions':_0xcce342['instructions'],'argumentsText':_0x38507f,'argumentNames':_0xcce342[_0x2c0e68(_0xfceab6._0x22fad3,_0xfceab6._0x31cd57,_0xfceab6._0x5dee39,0x5d9)]});return yield createToolOutput(_0x3f2834,{'id':_0xcce342['id'],'name':_0xcce342[_0x40cfa9(0x364,_0xfceab6._0x1f2e90,_0xfceab6._0x33191c,0x425)],'path':_0xb08876['source'][_0x40cfa9(0x162,_0xfceab6._0x507e07,0x2ab,0x5d)]}),void 0x0;}});}import{readFile as _0x844ce1,rename as _0xe58e8a,stat as _0x5ae177,writeFile as _0x46e694}from'fs/promises';import*as _0x2ab8b9 from'path';import{createHash}from'crypto';function sha256Bytes(_0x34d123){const _0xedae43={_0x113129:0x60,_0xf2c82e:0x527,_0x23a3a6:0x581,_0x560b47:0x6d5},_0x48c0d9={_0x3611d3:0x388},_0x421e28={_0xb9a1be:0x83,_0x39acac:0x57c};function _0x41fb94(_0x4c15dd,_0x2d6666,_0x426591,_0x131b34){return _0x1ac42a(_0x4c15dd-_0x421e28._0xb9a1be,_0x2d6666-0x134,_0x426591-_0x421e28._0x39acac,_0x2d6666);}function _0x1d2a62(_0x39bc8f,_0x4f5515,_0x4337ad,_0x15909e){return _0x151cc1(_0x39bc8f-0x1dc,_0x4f5515- -_0x48c0d9._0x3611d3,_0x15909e,_0x15909e-0x16a);}return createHash(_0x1d2a62(0x163,-_0xedae43._0x113129,-0x22b,0x0))[_0x41fb94(0x443,0x1e3,0x370,0x1c2)](_0x34d123)['digest'](_0x41fb94(_0xedae43._0xf2c82e,0x46d,_0xedae43._0x23a3a6,_0xedae43._0x560b47));}function countLines(_0xc55851){const _0x3b4baa={_0x151d4c:0x2f6,_0x5e27cb:0x401,_0x14a9fb:0x48b,_0x40dae6:0x684,_0x886f26:0x5ab},_0x275817={_0x4e4e42:0x9b},_0x430314={_0x424c3e:0x4a2};function _0x2baf6e(_0x257eb9,_0x72c278,_0x5da5da,_0x3af8ee){return _0x1ac42a(_0x257eb9-0x199,_0x72c278-0x5b,_0x3af8ee-_0x430314._0x424c3e,_0x5da5da);}const _0x2d8fc3=_0xc55851[_0x2baf6e(0x1a7,0x44d,0x3c6,_0x3b4baa._0x151d4c)](/\n$/,'');function _0x440f58(_0x1d7d57,_0x385a52,_0x4ec947,_0x1514dc){return _0x151cc1(_0x1d7d57-0xd6,_0x385a52- -_0x275817._0x4e4e42,_0x4ec947,_0x1514dc-0x6b);}return _0x2d8fc3['length']===0x0?0x0:_0x2d8fc3['split']('\x0a')[_0x2baf6e(_0x3b4baa._0x5e27cb,_0x3b4baa._0x14a9fb,_0x3b4baa._0x40dae6,_0x3b4baa._0x886f26)];}function replaceFirstExact(_0x5df5e5,_0x583d47,_0x258039){const _0xb350f4={_0x58ae01:0x531,_0x5533b4:0x2d4,_0x2faba9:0x18e,_0x658454:0x85,_0x58340c:0x642,_0x33f367:0x591,_0x1aeb3f:0x64b,_0x2f9e0e:0x4d2,_0x16d6a8:0x5b4,_0x10bcd2:0x726,_0x444e1c:0x52d},_0xaab479={_0x76d7c4:0x187,_0x246f48:0x173,_0x15ba61:0x1b6},_0x21c0ec=_0x5df5e5['indexOf'](_0x583d47);if(_0x21c0ec===-0x1)return void 0x0;function _0x506a07(_0x2bbae1,_0x1da381,_0x58f6ba,_0x52869d){return _0x151cc1(_0x2bbae1-_0xaab479._0x76d7c4,_0x2bbae1-_0xaab479._0x246f48,_0x58f6ba,_0x52869d-_0xaab479._0x15ba61);}const _0x3e2a7a=_0x5df5e5[_0x506a07(0x4d2,_0xb350f4._0x58ae01,0x370,0x617)](0x0,_0x21c0ec)[_0x52a265(_0xb350f4._0x5533b4,-0x57,0x15d,-0x5c)]('\x0a')[_0x52a265(_0xb350f4._0x2faba9,_0xb350f4._0x658454,0x1a5,0x1a4)],_0x4302b2=countLines(_0x583d47),_0x31f3f0=countLines(_0x258039);function _0x52a265(_0x455ea8,_0x531aec,_0x3c4ed5,_0x19397e){return _0x151cc1(_0x455ea8-0x1b2,_0x3c4ed5- -0x2e1,_0x19397e,_0x19397e-0x55);}return{'before':_0x5df5e5,'after':_0x5df5e5[_0x506a07(0x4d2,_0xb350f4._0x58340c,_0xb350f4._0x33f367,_0xb350f4._0x1aeb3f)](0x0,_0x21c0ec)+_0x258039+_0x5df5e5[_0x506a07(_0xb350f4._0x2f9e0e,0x3bc,0x5cd,_0xb350f4._0x16d6a8)](_0x21c0ec+_0x583d47[_0x506a07(0x5f9,_0xb350f4._0x10bcd2,_0xb350f4._0x444e1c,0x72e)]),'lineNumbers':{'oldStartLine':_0x3e2a7a,'oldEndLine':_0x3e2a7a+_0x4302b2-0x1,'newStartLine':_0x3e2a7a,'newEndLine':_0x3e2a7a+_0x31f3f0-0x1,'oldLineCount':_0x4302b2,'newLineCount':_0x31f3f0}};}function detectEol(_0x429971){const _0x22431c={_0x43feb2:0x31e,_0x46f91f:0x35d,_0x21f9b6:0x3cf,_0x3bfe51:0x21b,_0x40fd67:0x7f8,_0x19c408:0x58e},_0x472dbd={_0x200c8d:0x1a6,_0x304edb:0x1b9},_0x443fbb={_0x281ffb:0x180,_0x2a4d82:0x17a};function _0x39330b(_0xb06e23,_0x22357b,_0x44e414,_0x1fbbb1){return _0x151cc1(_0xb06e23-0xa7,_0xb06e23-_0x443fbb._0x281ffb,_0x22357b,_0x1fbbb1-_0x443fbb._0x2a4d82);}function _0x56d311(_0x78f0d5,_0xdd5674,_0x48b892,_0xeb5de7){return _0x1ac42a(_0x78f0d5-0x160,_0xdd5674-_0x472dbd._0x200c8d,_0x78f0d5-_0x472dbd._0x304edb,_0x48b892);}return/\r\n/[_0x56d311(_0x22431c._0x43feb2,0x494,_0x22431c._0x46f91f,0x1b3)](_0x429971[_0x39330b(_0x22431c._0x21f9b6,_0x22431c._0x3bfe51,0x4ac,0x489)](_0x39330b(0x66c,_0x22431c._0x40fd67,0x59d,0x80d)))?_0x39330b(0x64d,0x5f9,_0x22431c._0x19c408,0x71c):'lf';}function normalizeToLf(_0x2fa448){return _0x2fa448['replace'](/\r\n/g,'\x0a');}function convertEol(_0x34ad7c,_0x7aa861){const _0x30edd1={_0x286a3b:0x49a,_0x5b2375:0x4ad,_0x3b7d93:0x32c,_0x341f40:0xc4,_0x91cdd5:0x26f},_0x1d4376={_0x49240e:0x14a,_0x533aba:0x1},_0x5aefbf={_0x4e31b6:0x688};function _0xf6e959(_0x5457a9,_0x34bd12,_0x64d7c1,_0x551ed8){return _0x1ac42a(_0x5457a9-0x68,_0x34bd12-0x188,_0x5457a9-_0x5aefbf._0x4e31b6,_0x64d7c1);}function _0x15c93c(_0x3ace9b,_0x35c97d,_0x2854a9,_0x1f6e5c){return _0x1ac42a(_0x3ace9b-_0x1d4376._0x49240e,_0x35c97d-_0x1d4376._0x533aba,_0x3ace9b-0x34a,_0x35c97d);}return _0x7aa861===_0x15c93c(_0x30edd1._0x286a3b,_0x30edd1._0x5b2375,0x489,0x2cc)?_0x34ad7c[_0x15c93c(0x19e,_0x30edd1._0x3b7d93,_0x30edd1._0x341f40,_0x30edd1._0x91cdd5)](/\n/g,'\x0d\x0a'):_0x34ad7c;}async function atomicWrite(_0x48aed7,_0x30ca21){const _0x5ba4dc={_0x448508:0x865,_0x49fce9:0x78c,_0x260d06:0x3a3,_0x215c6e:0x586,_0x1b2a95:0x6a8,_0x499d15:0x3f1,_0x5e0ffd:0x779,_0x2a295c:0x8f0,_0x2a4f22:0x258,_0x3cf6d0:0x2eb,_0x58c489:0x277,_0x48ddb2:0x658,_0x4ed486:0x4d1},_0x5c630b={_0x3a8fbe:0x1c4,_0x9494fe:0xe9,_0x151388:0x711},_0x4f66c5={_0x424524:0x81,_0x78fbb7:0x261,_0x43101d:0x9};function _0x3e8263(_0x34f8cb,_0x3de930,_0x38a3da,_0x83e51e){return _0x151cc1(_0x34f8cb-_0x4f66c5._0x424524,_0x83e51e- -_0x4f66c5._0x78fbb7,_0x34f8cb,_0x83e51e-_0x4f66c5._0x43101d);}const _0x351310=_0x2ab8b9[_0x490475(0x78f,_0x5ba4dc._0x448508,_0x5ba4dc._0x49fce9,0x837)](_0x48aed7),_0x344772=_0x2ab8b9[_0x3e8263(0x405,0xaa,_0x5ba4dc._0x260d06,0x258)](_0x351310,_0x490475(0x3c2,_0x5ba4dc._0x215c6e,_0x5ba4dc._0x1b2a95,_0x5ba4dc._0x499d15)+_0x2ab8b9[_0x3e8263(0x2c3,0x314,0x260,0x20d)](_0x48aed7)+'.'+Date[_0x490475(_0x5ba4dc._0x5e0ffd,0x76a,0x698,_0x5ba4dc._0x2a295c)]()+'.'+Math[_0x3e8263(_0x5ba4dc._0x2a4f22,_0x5ba4dc._0x3cf6d0,0x207,_0x5ba4dc._0x58c489)]()[_0x490475(_0x5ba4dc._0x48ddb2,0x5e3,0x5bf,_0x5ba4dc._0x4ed486)](0x24)['slice'](0x2));function _0x490475(_0x189dc0,_0x3d4474,_0x2bdfbe,_0x937bfc){return _0x1ac42a(_0x189dc0-_0x5c630b._0x3a8fbe,_0x3d4474-_0x5c630b._0x9494fe,_0x3d4474-_0x5c630b._0x151388,_0x937bfc);}await _0x46e694(_0x344772,_0x30ca21),await _0xe58e8a(_0x344772,_0x48aed7);}function createFileEditTool(_0x44fc77={}){const _0xb8cfff={_0x239473:0x4d5,_0x386425:0x45e,_0x4cc389:0x58b,_0x44933f:0x400,_0x1f3907:0x6cc,_0x1a1e29:0x50a,_0x1ff3f6:0x146,_0x3a89b3:0xf0,_0x21196a:0x518,_0x56a58c:0x406,_0x390c57:0x6f7,_0x11c05c:0x388,_0x44a190:0x139,_0x37347e:0x2ac,_0x4a1b1a:0x351,_0x355e3b:0x264,_0x391c8b:0x2bf,_0x1d5182:0x2ff,_0xbcece9:0x3f9,_0x102ca5:0x263,_0x629ea1:0x537,_0xa48a0d:0x2f9,_0x28586e:0x370,_0x86e008:0x18a,_0x139582:0x264,_0x44a0c4:0x371,_0x14bd79:0x269,_0x5280eb:0x3b4,_0x2d4ec6:0x341,_0x2851ff:0x4b6,_0x4a6f5c:0x40e,_0x5ccddd:0x4e7,_0x5cb5c4:0x6ae},_0x3f0540={_0x53f7b7:0x105,_0x2a2a2b:0x12d,_0x359ad3:0x2f5,_0x5c43a4:0x155,_0x15ec63:0x45e,_0x2340e6:0x50e,_0x43baaf:0x461,_0x3c3a79:0x5f3,_0x4a7ce4:0x356,_0x1288dd:0x3f9,_0x475ce5:0x47,_0x38cfcb:0x107,_0x3dc871:0x135,_0x32c8a7:0x2b6,_0x3f4e3e:0x40e,_0x42d375:0x58f,_0x4ccbab:0x168,_0x2190ad:0x202,_0x290451:0x278,_0x3cf90f:0xb8,_0x76ac5d:0x3b,_0x55e128:0x52e,_0x3adb8e:0x39b,_0x39c191:0x3be,_0x23874b:0x296,_0x169acb:0x2b5,_0x1b0ecd:0x366,_0x1ce82f:0x287,_0x23aa6b:0x233,_0x20eae3:0x44d,_0x2c03a6:0x2d6,_0x4cf984:0x381,_0x1744ce:0x149,_0x3341c2:0x216,_0x4f4c80:0x20e,_0xdc866f:0x52e,_0x2a411f:0x52c,_0x44f7c6:0x3f0,_0x36b847:0x39f,_0x1d392e:0x219},_0x3e15f6={_0x21a9f6:0x109,_0x3b79d0:0x22},_0x4b496d={_0x52e85c:0x1ac,_0x2c7acc:0x8,_0x2a4b02:0x158},_0x4950c9={_0x2d08d9:0x2b,_0x55fd79:0x4c0},_0x5d59e2={_0x338d50:0xac,_0x59cd25:0x42b};function _0x412d88(_0x1d11f2,_0x185b12,_0x35f875,_0x2416bc){return _0x1ac42a(_0x1d11f2-0x183,_0x185b12-_0x5d59e2._0x338d50,_0x35f875-_0x5d59e2._0x59cd25,_0x185b12);}const _0x358663=_0x2ab8b9[_0x412d88(_0xb8cfff._0x239473,0x33f,0x3c9,0x3c4)](_0x44fc77[_0x412d88(0x430,0x59f,_0xb8cfff._0x386425,_0xb8cfff._0x4cc389)]??process[_0x412d88(0x33e,0x3a9,0x345,0x26e)]()),_0x306ede=_0x44fc77[_0x412d88(0x4b0,0x711,0x58d,_0xb8cfff._0x44933f)]??[];function _0x35e296(_0x407cb9,_0x4eeb0f,_0x238048,_0x109fd6){return _0x1ac42a(_0x407cb9-0x1b9,_0x4eeb0f-_0x4950c9._0x2d08d9,_0x238048-_0x4950c9._0x55fd79,_0x4eeb0f);}const _0xed6dfa=_0x44fc77[_0x35e296(_0xb8cfff._0x1f3907,0x5d3,0x552,_0xb8cfff._0x1a1e29)]??_0x412d88(_0xb8cfff._0x1ff3f6,_0xb8cfff._0x3a89b3,0x253,0x343);return defineTool({'name':_0xed6dfa,'permissionClass':_0x35e296(_0xb8cfff._0x21196a,_0xb8cfff._0x56a58c,0x5c3,_0xb8cfff._0x390c57),'description':'Edit\x20a\x20UTF-8\x20text\x20file\x20in\x20the\x20workspace\x20or\x20allowed\x20directories\x20by\x20replacing\x20the\x20first\x20exact\x20text\x20segment.','inputSchema':{'type':_0x35e296(_0xb8cfff._0x11c05c,_0xb8cfff._0x44a190,_0xb8cfff._0x37347e,_0xb8cfff._0x4a1b1a),'properties':{'filePath':{'type':_0x412d88(0x267,0x9c,_0xb8cfff._0x355e3b,_0xb8cfff._0x391c8b)},'description':{'type':_0x412d88(_0xb8cfff._0x1d5182,_0xb8cfff._0xbcece9,_0xb8cfff._0x355e3b,_0xb8cfff._0x102ca5),'description':_0x35e296(0x508,0x462,_0xb8cfff._0x629ea1,0x641)},'oldText':{'type':_0x35e296(0x236,0x26b,_0xb8cfff._0xa48a0d,_0xb8cfff._0x28586e)},'newText':{'type':_0x412d88(0xf3,_0xb8cfff._0x86e008,_0xb8cfff._0x139582,0x3ca)},'dryRun':{'type':_0x412d88(_0xb8cfff._0x44a0c4,_0xb8cfff._0x14bd79,_0xb8cfff._0x5280eb,_0xb8cfff._0x2d4ec6)}},'required':[_0x35e296(_0xb8cfff._0x2851ff,0x435,_0xb8cfff._0x4a6f5c,0x4b5),_0x35e296(_0xb8cfff._0x2851ff,_0xb8cfff._0x5ccddd,0x5ab,0x6f9),_0x35e296(0x700,_0xb8cfff._0x5cb5c4,0x55c,0x6cc)]},async *'execute'(_0x3f6ac4){const _0x7014b2=resolveAllowedPath(_0x358663,_0x306ede,_0x3f6ac4[_0x1b16f5(0x171,0x2f2,_0x3f0540._0x53f7b7,_0x3f0540._0x2a2a2b)]);await assertWorkspaceFile(_0x7014b2);const _0x15fb69=await _0x5ae177(_0x7014b2),_0xa9d3a9=await _0x844ce1(_0x7014b2),_0x3294a3=detectEol(_0xa9d3a9),_0x366bdb=normalizeToLf(_0xa9d3a9[_0x531b14(0x47a,_0x3f0540._0x359ad3,_0x3f0540._0x5c43a4,_0x3f0540._0x15ec63)]('utf8')),_0x2416f8=normalizeToLf(_0x3f6ac4[_0x531b14(0x3ea,_0x3f0540._0x2340e6,0x626,0x5d2)]),_0x30e7a8=normalizeToLf(_0x3f6ac4[_0x531b14(0x4ed,0x4bf,_0x3f0540._0x43baaf,_0x3f0540._0x3c3a79)]),_0x2bd741=replaceFirstExact(_0x366bdb,_0x2416f8,_0x30e7a8);function _0x531b14(_0x432644,_0x436ddf,_0xf5f3d9,_0x1678bc){return _0x412d88(_0x432644-_0x4b496d._0x52e85c,_0xf5f3d9,_0x436ddf- -_0x4b496d._0x2c7acc,_0x1678bc-_0x4b496d._0x2a4b02);}if(_0x2bd741===void 0x0){const _0x55120f=_0x2416f8[_0x531b14(_0x3f0540._0x4a7ce4,0x405,0x2d7,0x4e9)](0x0,0x64)[_0x531b14(0x1b4,0x277,0x1a7,_0x3f0540._0x1288dd)](/\n/g,'\x5cn');throw new ToolExecutionError(_0x1b16f5(-_0x3f0540._0x475ce5,0x108,-_0x3f0540._0x38cfcb,0x39)+_0x55120f+(_0x2416f8['length']>0x64?_0x1b16f5(_0x3f0540._0x3dc871,_0x3f0540._0x32c8a7,0x327,0x25b):'')+'\x22',{'filePath':_0x3f6ac4['filePath']});}const _0x28d056=convertEol(_0x2bd741[_0x531b14(0x287,_0x3f0540._0x3f4e3e,0x5bd,_0x3f0540._0x42d375)],_0x3294a3);function _0x1b16f5(_0x2f3b16,_0x231c0c,_0x55011b,_0x2c87d5){return _0x412d88(_0x2f3b16-_0x3e15f6._0x21a9f6,_0x2f3b16,_0x2c87d5- -0x24c,_0x2c87d5-_0x3e15f6._0x3b79d0);}const _0x4a8a2e=Buffer['from'](_0x28d056,_0x1b16f5(0x3a5,0x235,0x445,0x34e)),_0x39a9bf=sha256Bytes(_0xa9d3a9),_0x1b7816=sha256Bytes(_0x4a8a2e),_0x3d241b=_0x39a9bf===_0x1b7816,_0x1e14c6=_0x3f6ac4['dryRun']??![];return!_0x1e14c6&&!_0x3d241b&&await atomicWrite(_0x7014b2,_0x4a8a2e),yield createToolOutput(_0x3d241b?_0x1b16f5(_0x3f0540._0x4ccbab,_0x3f0540._0x2190ad,0x18b,0x14e):_0x1e14c6?_0x1b16f5(_0x3f0540._0x290451,0x22a,0x192,0xac):_0x1b16f5(0x116,-_0x3f0540._0x3cf90f,0x11a,_0x3f0540._0x76ac5d),{'filePath':_0x3f6ac4[_0x531b14(_0x3f0540._0x55e128,0x371,_0x3f0540._0x3adb8e,0x38c)],'resolvedPath':_0x7014b2,'created':_0x15fb69[_0x531b14(_0x3f0540._0x39c191,_0x3f0540._0x23874b,_0x3f0540._0x169acb,0x1bc)]['toISOString'](),'modified':_0x15fb69[_0x531b14(0x388,_0x3f0540._0x1b0ecd,_0x3f0540._0x1ce82f,_0x3f0540._0x23aa6b)]['toISOString'](),'size':_0x15fb69[_0x1b16f5(_0x3f0540._0x20eae3,_0x3f0540._0x2c03a6,_0x3f0540._0x4cf984,0x346)],'eol':_0x3294a3,'oldTextLength':_0x2416f8[_0x1b16f5(_0x3f0540._0x1744ce,_0x3f0540._0x3341c2,_0x3f0540._0x4f4c80,0x2e8)],'newTextLength':_0x30e7a8[_0x531b14(_0x3f0540._0xdc866f,_0x3f0540._0x2a411f,0x5c8,0x55f)],'bytesWritten':_0x3d241b||_0x1e14c6?0x0:_0x4a8a2e[_0x531b14(_0x3f0540._0x44f7c6,_0x3f0540._0x2a411f,0x587,_0x3f0540._0x36b847)],'beforeSha':_0x39a9bf,'afterSha':_0x1b7816,'dryRun':_0x1e14c6,'noChange':_0x3d241b,'lineNumbers':_0x2bd741[_0x1b16f5(0x120,0x156,_0x3f0540._0x1d392e,0x1a5)]}),void 0x0;}});}import{mkdir as _0x5ed7df,rename as _0x47c755,stat as _0x18fe2,writeFile as _0xaa20e}from'fs/promises';import*as _0x38aea1 from'path';async function atomicWrite2(_0x596586,_0xd0de63){const _0x2949d7={_0x2b26dc:0xba,_0xf70be0:0x27c,_0x3aaa21:0x268,_0x2f1954:0x169,_0x5dbb69:0x10d,_0x862c7b:0x174,_0x1b1cdd:0xb8,_0x2ce4cd:0x1c,_0x4c15d6:0x1e,_0x125906:0x14d,_0x360baf:0x258,_0x18beeb:0xf2},_0x584c5e={_0x3dde13:0x63,_0x3f9ac6:0x110},_0x472969={_0x1630d1:0x11f,_0x3abae2:0x1af},_0x34a594=_0x38aea1['dirname'](_0x596586);await _0x5ed7df(_0x34a594,{'recursive':!![]});const _0x17996f=_0x38aea1[_0x4d3068(0x36f,0x24c,0x184,_0x2949d7._0x2b26dc)](_0x34a594,'.tmp.'+_0x38aea1[_0x4d3068(0x64,0x201,_0x2949d7._0xf70be0,_0x2949d7._0x3aaa21)](_0x596586)+'.'+Date[_0x4d3068(0x2e5,_0x2949d7._0x2f1954,_0x2949d7._0x5dbb69,0x2e0)]()+'.'+Math[_0x53aad9(_0x2949d7._0x862c7b,0x271,_0x2949d7._0x1b1cdd,0x325)]()[_0x4d3068(_0x2949d7._0x2ce4cd,-_0x2949d7._0x4c15d6,-0x182,_0x2949d7._0x125906)](0x24)[_0x4d3068(_0x2949d7._0x360baf,_0x2949d7._0x18beeb,-0x45,-0xf)](0x2));function _0x53aad9(_0x5a7e9a,_0x2c1070,_0x81b30f,_0x404768){return _0x1ac42a(_0x5a7e9a-_0x472969._0x1630d1,_0x2c1070-_0x472969._0x3abae2,_0x2c1070-0x116,_0x81b30f);}await _0xaa20e(_0x17996f,_0xd0de63);function _0x4d3068(_0x5ccc7a,_0x1a5a1e,_0x689f59,_0x2100e3){return _0x1ac42a(_0x5ccc7a-_0x584c5e._0x3dde13,_0x1a5a1e-_0x584c5e._0x3f9ac6,_0x1a5a1e-_0x584c5e._0x3f9ac6,_0x689f59);}await _0x47c755(_0x17996f,_0x596586);}function createFileNewTool(_0x570ab4={}){const _0x4b2f9e={_0x4793be:0x394,_0x44779a:0x322,_0x4dc476:0x39c,_0x482df5:0x43c,_0x56023c:0x30f,_0x5b436b:0x3b7,_0x5d0feb:0x466,_0x17bcc4:0x3a4,_0x351290:0x66a,_0x321450:0x2bd,_0x449138:0x416,_0x26aa50:0x307,_0x44af6f:0x31b,_0x3cf3e1:0x53b,_0x5ce9be:0x53e,_0x48d3a4:0x805,_0x5676cd:0x64f,_0x32d885:0x401,_0x2cb18e:0x49a,_0x58ce42:0x336,_0x27a692:0x4a7,_0x15f806:0x74e,_0x2dea0b:0x650},_0x4fb01f={_0x37f3d1:0x2ae,_0x5134c6:0x19e,_0x39841f:0x2aa,_0x5f53a3:0x409,_0x2321a5:0x32d,_0x1ab0fc:0x527,_0x5d56a3:0x50d,_0x74a74e:0x3f5,_0x4452ee:0x459,_0x59d0cf:0x378,_0x563954:0x239,_0x25bbe5:0x34c,_0x8b3f6b:0x23f,_0x739192:0x596,_0x3072df:0x49e,_0x516288:0x3f5,_0x44dcdd:0x4b5,_0x43c76e:0x4e6,_0x22c573:0x2ac,_0x47fd98:0x3c2},_0xc42405={_0x314e56:0x384},_0x59141c={_0x21e508:0x58,_0x3204ad:0x54c};function _0x1d4d5d(_0x44d376,_0x5ed8a5,_0x44fa9d,_0x2ce8c0){return _0x1ac42a(_0x44d376-_0x59141c._0x21e508,_0x5ed8a5-0xc0,_0x44fa9d-_0x59141c._0x3204ad,_0x2ce8c0);}const _0x227fd1=_0x38aea1[_0x569c16(_0x4b2f9e._0x4793be,0x1eb,_0x4b2f9e._0x44779a,_0x4b2f9e._0x4dc476)](_0x570ab4[_0x569c16(_0x4b2f9e._0x482df5,_0x4b2f9e._0x56023c,_0x4b2f9e._0x5b436b,0x26c)]??process[_0x1d4d5d(0x5c9,0x4ac,_0x4b2f9e._0x5d0feb,0x517)]()),_0x533757=_0x570ab4[_0x569c16(_0x4b2f9e._0x17bcc4,0x409,0x4e6,_0x4b2f9e._0x351290)]??[];function _0x569c16(_0x1ac91b,_0x1f138c,_0x22efe6,_0x17e6ce){return _0x1ac42a(_0x1ac91b-0xe,_0x1f138c-0x5c,_0x22efe6-_0xc42405._0x314e56,_0x1f138c);}const _0x1cadbd=_0x570ab4[_0x569c16(0x36c,_0x4b2f9e._0x321450,_0x4b2f9e._0x449138,0x546)]??_0x569c16(_0x4b2f9e._0x26aa50,_0x4b2f9e._0x44af6f,0x47d,_0x4b2f9e._0x3cf3e1);return defineTool({'name':_0x1cadbd,'permissionClass':_0x1d4d5d(_0x4b2f9e._0x5ce9be,_0x4b2f9e._0x48d3a4,_0x4b2f9e._0x5676cd,0x6c4),'description':'Create\x20or\x20overwrite\x20a\x20UTF-8\x20text\x20file\x20in\x20the\x20workspace\x20or\x20allowed\x20directories.','inputSchema':{'type':'object','properties':{'filePath':{'type':'string'},'content':{'type':'string'}},'required':[_0x1d4d5d(0x57a,_0x4b2f9e._0x32d885,_0x4b2f9e._0x2cb18e,_0x4b2f9e._0x58ce42),_0x1d4d5d(_0x4b2f9e._0x27a692,_0x4b2f9e._0x15f806,_0x4b2f9e._0x2dea0b,0x610)]},async *'execute'(_0x4cce0d){const _0x232c82={_0xde66e:0x25b},_0x49a455={_0xcf6bdb:0x15f,_0x580186:0xdd,_0x1e4cf2:0x1f0};function _0x32ba70(_0x3c40fa,_0xd1aa53,_0x5978a1,_0x285217){return _0x1d4d5d(_0x3c40fa-_0x49a455._0xcf6bdb,_0xd1aa53-_0x49a455._0x580186,_0x5978a1- -_0x49a455._0x1e4cf2,_0xd1aa53);}const _0x118fcd=resolveAllowedPath(_0x227fd1,_0x533757,_0x4cce0d[_0x32ba70(_0x4fb01f._0x37f3d1,_0x4fb01f._0x5134c6,_0x4fb01f._0x39841f,0x136)]);function _0x5baf9a(_0x314eec,_0x4cbbe3,_0x54e5c6,_0x5b9236){return _0x1d4d5d(_0x314eec-0x8f,_0x4cbbe3-0x150,_0x5b9236- -_0x232c82._0xde66e,_0x314eec);}const _0x541624=await _0x18fe2(_0x118fcd)[_0x5baf9a(0x40c,0x55b,0x462,_0x4fb01f._0x5f53a3)](()=>!![])[_0x32ba70(0x3e3,_0x4fb01f._0x2321a5,0x43a,0x449)](()=>![]),_0x5a9f66=Buffer['from'](_0x4cce0d[_0x5baf9a(_0x4fb01f._0x1ab0fc,_0x4fb01f._0x5d56a3,0x587,_0x4fb01f._0x74a74e)],_0x32ba70(_0x4fb01f._0x4452ee,0x3ce,0x4cb,0x4be));return await atomicWrite2(_0x118fcd,_0x5a9f66),yield createToolOutput(_0x32ba70(0x288,0x2d2,0x303,_0x4fb01f._0x59d0cf)+_0x4cce0d[_0x5baf9a(0x202,_0x4fb01f._0x563954,_0x4fb01f._0x25bbe5,_0x4fb01f._0x8b3f6b)]+'.',{'filePath':_0x4cce0d['filePath'],'resolvedPath':_0x118fcd,'bytes':_0x5a9f66[_0x5baf9a(_0x4fb01f._0x739192,0x43c,0x513,0x3fa)],'lines':_0x4cce0d[_0x5baf9a(0x3f3,0x54d,_0x4fb01f._0x3072df,_0x4fb01f._0x516288)][_0x32ba70(_0x4fb01f._0x44dcdd,_0x4fb01f._0x43c76e,0x41d,0x5b4)](/\r?\n/)[_0x32ba70(0x3bb,0x47d,0x465,0x3d0)],'created':new Date()[_0x5baf9a(_0x4fb01f._0x22c573,0x2f6,0x36f,_0x4fb01f._0x47fd98)](),'overwritten':_0x541624}),void 0x0;}});}import{readFile as _0x5134b4,stat as _0x2139af}from'fs/promises';import*as _0x1e2d8e from'path';function stripUtfBom(_0x4f30cb){const _0x1d2ff5={_0x238204:0x527,_0xb70fc5:0x4b4,_0x15dbac:0x4f3},_0x14202f={_0x3ce845:0x150};function _0x45fe01(_0x209247,_0x2b4cc1,_0x366e01,_0x5c5d86){return _0x151cc1(_0x209247-0x57,_0x5c5d86-0x1d9,_0x2b4cc1,_0x5c5d86-0x1be);}function _0x1df7bb(_0x285cd0,_0x60ceba,_0x20ecca,_0x4dcaca){return _0x1ac42a(_0x285cd0-0x0,_0x60ceba-_0x14202f._0x3ce845,_0x4dcaca-0x6f1,_0x285cd0);}return _0x4f30cb[_0x45fe01(_0x1d2ff5._0x238204,0x697,0x53f,0x671)](0x0)===0xfeff?_0x4f30cb[_0x45fe01(_0x1d2ff5._0xb70fc5,_0x1d2ff5._0x15dbac,0x55b,0x538)](0x1):_0x4f30cb;}function clampLine(_0x3c6bd5,_0x2c5ea5){const _0x220b6b={_0x34ab34:0x1b4,_0xd136a9:0x69a,_0x3a9d56:0x763,_0x315311:0x730,_0x41cf21:0x7cc,_0x50c7f0:0x94a},_0x130e00={_0x21ec64:0x19d,_0x5e10e9:0x26b},_0x56f847={_0x5da746:0x1c9,_0x13cca4:0x355,_0x39b281:0x180};if(!Number[_0x2518d3(_0x220b6b._0x34ab34,0x26c,0x439,0x278)](_0x3c6bd5))return 0x1;function _0x1b0143(_0x775f57,_0x4ccc10,_0x17a52e,_0x5f34fb){return _0x151cc1(_0x775f57-_0x56f847._0x5da746,_0x4ccc10-_0x56f847._0x13cca4,_0x17a52e,_0x5f34fb-_0x56f847._0x39b281);}function _0x2518d3(_0x5d14be,_0x29becd,_0xbd560b,_0x17ab1c){return _0x1ac42a(_0x5d14be-0x14,_0x29becd-_0x130e00._0x21ec64,_0x17ab1c-_0x130e00._0x5e10e9,_0x29becd);}return Math[_0x1b0143(_0x220b6b._0xd136a9,_0x220b6b._0x3a9d56,0x900,0x8b7)](0x1,Math[_0x1b0143(0x77c,_0x220b6b._0x315311,0x6b3,0x8e4)](Math[_0x1b0143(0x6bf,_0x220b6b._0x41cf21,0x65c,_0x220b6b._0x50c7f0)](_0x3c6bd5),_0x2c5ea5));}function createFileReadTool(_0x360e53={}){const _0x471e2b={_0x1c7ed9:0x91,_0x15afb1:0x35,_0x3e3d86:0xb4,_0x5f20c6:0x42,_0x3adda0:0x3bf,_0x40fc96:0x347,_0x301d1f:0x291,_0x4b1de4:0x1c3,_0x55a8a8:0x90,_0x565c05:0x3,_0x4239cd:0x6,_0x16630d:0x11c,_0x5e40fb:0x123,_0x52d7bb:0x13f,_0x1f6cd7:0x1b4,_0x16556c:0x81},_0x1600f4={_0x409b1a:0x3e2,_0x19e652:0x54e,_0x3a46b5:0x65,_0x255bb3:0x6a,_0x486b75:0x91,_0x1a1652:0x690,_0x587da8:0x3ba,_0x10ca59:0x4e8,_0x45ccf2:0x81b,_0x33df1d:0x685,_0x462413:0x731,_0x3a0327:0x1fe,_0x5eeb88:0xe8,_0x36f99e:0xeb,_0x8cdbe8:0xee,_0x3e422e:0x59c,_0x47b7e6:0x3ff,_0x52a72c:0x73d,_0x16fc26:0x7b7,_0x7f25b8:0x84e,_0x1285d4:0x931,_0x1530e2:0x6b4,_0x5cdf59:0x875,_0x195c8c:0x20f,_0x450eb6:0x17,_0x546a56:0x15a,_0x5b278:0x93,_0x1350d5:0x61a,_0x1a7384:0x71f,_0x5e746f:0x5d4,_0xab6557:0x5a6,_0x2bd0a:0x1b9,_0x1eb16c:0x358,_0x5dfb94:0x10e,_0x57b840:0x2c8,_0x4c39ba:0x19e,_0xa8c93a:0x14d,_0x58d24e:0x3,_0x57e5c0:0x4be,_0x2bad9d:0x5b6,_0x133277:0x6ec,_0x5d1f0e:0x1ec,_0x531fd8:0x1e7,_0x45a1c8:0x1ec,_0x5b054f:0x71c,_0x1a0ab6:0x6f1,_0x5677eb:0x71f},_0x41fe35={_0x3a7fab:0x14a,_0x429cdb:0x129},_0x360fbb={_0x114839:0x1dd},_0x3ff909={_0x8c43bf:0x102,_0xb2e566:0x17e};function _0x2ebdc0(_0x59b38c,_0x4785e2,_0x2d4f3d,_0x452b39){return _0x151cc1(_0x59b38c-_0x3ff909._0x8c43bf,_0x2d4f3d- -_0x3ff909._0xb2e566,_0x452b39,_0x452b39-0x3b);}const _0x4f6584=_0x1e2d8e[_0x2ebdc0(0x154,_0x471e2b._0x1c7ed9,0x19d,_0x471e2b._0x15afb1)](_0x360e53['defaultCwd']??process[_0x4131bb(_0x471e2b._0x3e3d86,-0x106,-_0x471e2b._0x5f20c6,-0x1fd)]()),_0x51ca09=_0x360e53[_0x2ebdc0(0x308,0x4da,0x361,0x488)]??[];function _0x4131bb(_0x55273a,_0x5993ac,_0x5c884d,_0x35eff2){return _0x151cc1(_0x55273a-0x95,_0x5c884d- -0x2d9,_0x5993ac,_0x35eff2-_0x360fbb._0x114839);}const _0x5c684a=_0x360e53[_0x2ebdc0(_0x471e2b._0x3adda0,_0x471e2b._0x40fc96,_0x471e2b._0x301d1f,_0x471e2b._0x4b1de4)]??'FileRead';return defineTool({'name':_0x5c684a,'permissionClass':_0x2ebdc0(0x496,0x206,0x2ec,0x49b),'description':_0x2ebdc0(-_0x471e2b._0x55a8a8,-0x1bb,_0x471e2b._0x565c05,0x172),'inputSchema':{'type':'object','properties':{'path':{'type':_0x4131bb(-_0x471e2b._0x4239cd,-_0x471e2b._0x16630d,-_0x471e2b._0x5e40fb,-_0x471e2b._0x52d7bb)},'lineStart':{'type':'number','description':'Start\x20reading\x20from\x20this\x20line\x20number\x20(1-based)'},'lineEnd':{'type':'number','description':'Stop\x20reading\x20at\x20this\x20line\x20number\x20(1-based)'}},'required':[_0x2ebdc0(_0x471e2b._0x1f6cd7,-_0x471e2b._0x16556c,0x8f,0x77)]},async *'execute'(_0x523775){const _0x34db2e={_0x229b89:0x156,_0x176f91:0x572},_0x57db66=resolveAllowedPath(_0x4f6584,_0x51ca09,_0x523775[_0x23dd31(_0x1600f4._0x409b1a,0x389,_0x1600f4._0x19e652,0x4a6)]);await assertWorkspaceFile(_0x57db66);const _0x5cb5e2=await _0x2139af(_0x57db66);function _0x23dd31(_0x380c09,_0xe20515,_0x31376,_0x17ecb8){return _0x4131bb(_0x380c09-_0x34db2e._0x229b89,_0xe20515,_0x17ecb8-_0x34db2e._0x176f91,_0x17ecb8-0x16b);}const _0x7818e6=await _0x5134b4(_0x57db66);if(isProbablyBinary(_0x7818e6))throw new ToolExecutionError(_0x371916(-_0x1600f4._0x3a46b5,-_0x1600f4._0x255bb3,-0x100,0xce)+_0x523775['path'],{'path':_0x523775[_0x371916(-0x256,-0xc0,_0x1600f4._0x486b75,-0x26)]});let _0x5ad2e4=_0x7818e6[_0x23dd31(_0x1600f4._0x1a1652,0x5fd,_0x1600f4._0x587da8,_0x1600f4._0x10ca59)]('utf8');const _0x362e95=_0x5ad2e4[_0x23dd31(_0x1600f4._0x45ccf2,0x58d,_0x1600f4._0x33df1d,_0x1600f4._0x462413)](0x0)===0xfeff;_0x5ad2e4=stripUtfBom(_0x5ad2e4);const _0x4a23a7=_0x5ad2e4['split'](/\r?\n/),_0x5ce8d8={'path':_0x523775[_0x23dd31(0x2e4,0x4ce,0x4f8,0x4a6)],'resolvedPath':_0x57db66,'created':_0x5cb5e2[_0x371916(-_0x1600f4._0x3a0327,-0xdd,-_0x1600f4._0x5eeb88,_0x1600f4._0x36f99e)][_0x371916(0x264,0x181,0x142,_0x1600f4._0x8cdbe8)](),'modified':_0x5cb5e2[_0x23dd31(0x400,_0x1600f4._0x3e422e,_0x1600f4._0x47b7e6,0x559)][_0x23dd31(0x70c,_0x1600f4._0x52a72c,_0x1600f4._0x16fc26,0x6e7)](),'size':_0x5cb5e2['size'],'encoding':_0x23dd31(0x926,_0x1600f4._0x7f25b8,_0x1600f4._0x1285d4,0x785),'bomStripped':_0x362e95,'truncated':![],'totalLines':_0x4a23a7[_0x23dd31(_0x1600f4._0x1530e2,_0x1600f4._0x5cdf59,0x66b,0x71f)]};function _0x371916(_0x57f1be,_0x3a9cbf,_0x1ab26f,_0x195826){return _0x2ebdc0(_0x57f1be-_0x41fe35._0x3a7fab,_0x3a9cbf-_0x41fe35._0x429cdb,_0x3a9cbf- -0x14f,_0x195826);}if(_0x523775[_0x371916(_0x1600f4._0x195c8c,0x10f,-_0x1600f4._0x450eb6,0x7f)]!==void 0x0||_0x523775[_0x371916(-0x148,-_0x1600f4._0x546a56,-0x11c,-_0x1600f4._0x5b278)]!==void 0x0){const _0x2e02fa=clampLine(_0x523775['lineStart']??0x1,_0x4a23a7[_0x23dd31(_0x1600f4._0x1350d5,0x8a3,0x8a5,_0x1600f4._0x1a7384)]),_0x65ecc5=clampLine(_0x523775['lineEnd']??_0x4a23a7[_0x23dd31(_0x1600f4._0x5e746f,_0x1600f4._0xab6557,0x75a,_0x1600f4._0x1a7384)],_0x4a23a7[_0x371916(0x53,_0x1600f4._0x2bd0a,_0x1600f4._0x1eb16c,0x2df)]),_0x4271f5=Math[_0x371916(0x2cd,_0x1600f4._0x5dfb94,0xc0,_0x1600f4._0x57b840)](_0x2e02fa,_0x65ecc5),_0x209d15=Math[_0x371916(_0x1600f4._0x4c39ba,0x141,_0x1600f4._0xa8c93a,-_0x1600f4._0x58d24e)](_0x2e02fa,_0x65ecc5),_0x2b3568=_0x4a23a7[_0x23dd31(0x4f5,_0x1600f4._0x57e5c0,_0x1600f4._0x2bad9d,0x5f8)](_0x4271f5-0x1,_0x209d15)[_0x23dd31(0x5a6,0x57a,_0x1600f4._0x133277,0x6c0)]((_0x229c98,_0x52277b)=>_0x4271f5+_0x52277b+'|'+_0x229c98)[_0x371916(0x64,_0x1600f4._0x5d1f0e,_0x1600f4._0x531fd8,_0x1600f4._0x45a1c8)]('\x0a');return yield createToolOutput(_0x2b3568,{..._0x5ce8d8,'lineRange':{'lineStart':_0x4271f5,'lineEnd':_0x209d15,'linesTotal':_0x4a23a7[_0x23dd31(_0x1600f4._0x5b054f,0x6d8,_0x1600f4._0x1a0ab6,_0x1600f4._0x5677eb)]}}),void 0x0;}return yield createToolOutput(_0x5ad2e4,_0x5ce8d8),void 0x0;}});}import{stat as _0x5e4a83}from'fs/promises';import*as _0x48fc84 from'path';function _0x32bc(){const _0x53b637=['CMvZB2X2zq','y2HHCMfJDgvY','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','C2vSzwn0Aw9UuMfUz2u','zgLHz25VC3rPy3m','DhjPBuvUza','r2XVyG','ChjVy2vZC0DYB3vWswq','v0vcua','rMLSzsb3CML0DgvUigf0ia','ignOyxjHy3rLCNm','revfueLorLjbx0fqsv9lrvK','uxvLCNKGtgfUz3vHz2uGu2vYDMvYifbYB3rVy29SignVzguGAw50zwXSAwDLBMnLigzVCIb3B3jRC3bHy2uGzMLSzxm6igrLzMLUAxrPB25ZlcbYzwzLCMvUy2vZlcbOB3zLCIWGC3LTyM9SCYWGy2fSBcbOAwvYyxjJAhKSigfUzcbKAwfNBM9ZDgLJCY4','C2HHmJu2','uhjVz3jHBuzPBgvZkhG4nIK','zNjLzxPL','sw52ywXPzcbVDxrWDxrszwDLEdOG','tg9HzgvKigzYB206ia','uhvIBgLZAgvKoIa','AxnfBMfIBgvK','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','DgLTzw91DfnVDxjJzq','CM91BMq','BhmGlwXH','CMvMAw5L','Aw52ywXPzf90B2rVCW','y29TBwfUza','tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','Cg5WBs1SB2nRlNLHBwW','qMfJA2DYB3vUzcbWCM9JzxnZihjLC2vYDMf0Aw9UigLZig1PC3nPBMCGB3iGywXYzwfKEsbJB25ZDw1Lza','C3rHDgu','Dg9WAwmGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','CgXHAw4','zw52','zMLUywXnzxnZywDLvgv4Da','C25PChbLDa','yNL0zxm','BwnWlwf1DgGTCMvXDwLYzwq','r0LgodDH','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','BgLUzu51BwjLCNm','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','Dgv4DerVy3vTzw50l2rPze9Wzw4','AxneAxjLy3rVCNK','zgvSzwDHDgvKlxj1BI0','vg9Vig1HBNKGCMvKAxjLy3rZ','ihrVB2WGy2fSBcbMywLSzwq','EMfP','Aw5PDgLHBgL6yxrPB24','Aw1Hz2uVANbLzW','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','uhjVz3jHBuzPBgvZ','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','C3LTBgLUAW','CMv0AxjL','ANnVBG','Cgf0DgvYBIbTDxn0igjLigf0ig1VC3qG','zgLZCg9Zzq','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','r3jLCa','oIbPBNzHBgLKihn0yxr1CW','zMLUAxrL','l29WDc9OB21LyNjLDY9IAw4VCMC','BwnWlxrVB2WTy2fSBc1MywLSzwq','C3jJl2v4yw1WBgvZl2rLBw8UDhm','BwLUAw1HEa','zw50CMLLCW','C2XPy2u','ygbG','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','zMLSztOVlW','zxHLy3v0Aw9Uqxv0Ag9YAxPHDgLVBG','ywX3yxLZlwnVBMzPCM0','u0Lhvevstq','BwnFzwLK','yxr0CG','ywz0zxi','z2v0','igzHAwXLzcb0BYbJB25Uzwn0','C2LNBMfSqwrHChrLCG','Aw50','z2XVyG','B3bLCMf0Aw9U','CgfYC2u','ywjZ','yw5ZAti1nG','ig1HDgnO','B3jPz2LUvg9VBenHBgXjza','yMLVBwu','Aw5FChjVz3jLC3m','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','Aw1Hz2uVz2LM','qxv0Ag9YAxPHDgLVBG','BxvSDgLtzwXLy3q','C3rKB3v0','CMvXDwvZDa','C3rKzxjY','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','DgvYBwLUyxrPB25tzxr0BgvK','zhvWBgLJyxrLx3rVzg9FAwrZ','Dgv4Dc9ODg1S','z3jVAW','Agv4','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','y29Uy2f0','ugfJA2fNzxm','Dgf2AwX5qxbPs2v5','ywjVCNq','AgfUzgXL','u2HLBgWGBM90igzVDw5KoIa','AxngAw5PDgu','Dg9VBenHBgXjza','Dg9VBfjLC3vSDhm','B2C6DxbKyxrLzf90Aw1L','igzYB20G','rMv0y2GGywjVCNrLzcbIEsb1C2vY','vxbKyxrLvg9WAwm','mty5lJi1nc4WlJa','CM9VDfbPza','C3rKzxjYrgvJB2rLCG','ChvZAa','Cgf0Ag5HBwu','BgLZDfrVB2XZ','qMLVBwuGtgfUz3vHz2uGu2vYDMvY','zNjVBq','yNvKz2v0vg9Rzw5ZihjLCxvPCMvZig1HBNvHBcbTB2rL','C3rKB3v0tM9YBwfSAxPLCG','rMv0y2GGDgLTzwqGB3v0','yxjNDw1LBNriAw50','CgfJA2fNzs5QC29U','u2L6ztOG','zgLZy292zxj5u3rHDgu','ChjLzML4','B2XSyw1H','CNnZ','y2fJAgvK','z3jHy2vMDwXszxf1zxn0zwq','Axnoyu4','u2v0igeGy29Uy2LZzsaZltyGD29YzcbUB3vUlxbOCMfZzsbZzxnZAw9UihrVCgLJihDOzw4GDgHLig1HAw4GC3vIAMvJDcbIzwnVBwvZignSzwfYig9Yig1HDgvYAwfSBhKGy2HHBMDLCY4Gu2TPCcbTAw5VCIb0yw5Nzw50CY4GuhjLzMvYicjezwj1zYbuuYbNzw5LCMLJCYbLCNjVCIi7igf2B2LKigz1BgWGC2vUDgvUy2vZig9YihzHz3vLigXHyMvSCYbZDwnOigfZicjJB2rPBMCIlG','ChjLCgfYzunHBgXiAwvYyxjJAhK','DgL0Bgu','lNrZEa','B3v0y29Tzq','yNjVA2vU','l3vZCI9IAw4VCMC','ndu1ndLTvhjkyuu','yMCT','mc4WlJa','zgvMyxvSDen3za','vxnLCI1MywnPBMCGChvYCg9ZztOGD2HHDcb0AguGy29TBwfUzcbKB2vZigfUzcb0AguGz29HBcbPDcbHzhzHBMnLCYWGzs5NlIaNuNvUigf1DgGGDgvZDhmGDg8GDMvYAwz5ihrOzsbYzwzYzxnOigzPEcCU','Dg9Rzw5tDg9YywDLs2v5','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','A2v5CW','Aw1Hz2u','tM8GC3vJAcbMAwXLoIaN','v2LUr2v0','r0XpqKLhtK9srq','C2vZC2LVBKLK','l2jPBI9IyxnO','CxvLC3rPB24','ChjVy2vZCW','tM8GBg9JyxrPB25ZigzVDw5K','zg9TywLUCW','C3bHD25PBMC','y291BNq','mJi0lJaUmc4W','Ag92zxi','BNvT','lMjPBG','Aw5JBhvKzq','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','revfufnfruTFqvbjx0Tfwq','rM91BMqG','phn5C3rLBs1Yzw1PBMrLCJ4','CMvJzw5JEurHExm','zgnZ','zgvSAw1PDgvY','yxnPzgu','mJqWlJaUmc4W','qMfZAa','lMPZB24','vg9WAwmGC2v0ihrVici','CNvUswq','Dhj1BMnHDgvK','BgLUzq','zMLUywXnzxnZywDL','BM93','zxnJyxbL','vMLLD0zPBgu','BM9UBMvNyxrPDMu','vg9Vig1HBNKGyMfJA2DYB3vUzcbWCM9JzxnZzxmGCNvUBMLUzYaO','BwLU','BgLUzvn0yxj0','Aw5qCM9NCMvZCW','BgLUzvrLEhq','zMX1C2HtDhjLyw1Z','A2v5yMLUzgLUz3m','DhjHBNnWB3j0','Bw9Kzq','D29YA3nWywnLu3LTyM9S','uMvHC29UAw5NigrLzMf1BhqGiM9MzIiGCMvXDwLYzxmGy2fUrgLZywjSztOGDhj1zq','B3v0Chv0','CxvLC3rPB25Z','qMfJA2DYB3vUzcbLEgvJDxrPB24GAxmGBM90igf2ywLSywjSzsbPBIb0AgLZignVBNrLEhqU','B3bLBNjVDxrLCG','C3rHCNrLzef0','CxvLC3rPB24T','lNrZ','l3vZCI9IAw4VC2G','DxrTx21LzgL1Bq','y3vZDg9T','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','lM10CW','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','CgLK','D2vI','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','zM9Yy2u','DxrTx2nHBxbHAwDU','l2jPBI9ZAa','yMLVBwuUANnVBMm','lI4U','Bwv0yvTWCM9Wzxj0Et0NB2C6zgvZy3jPChrPB24Nxq','Aw50zwDLCG','tg9HzcbHihnRAwXSihrVigDLDcbKzxrHAwXLzcbPBNn0CNvJDgLVBNmGzM9YigeGC3bLy2LMAwmGDgfZAY4','y29KzvbVAw50qxq','zxjYB3i','qMfZzsbKAxjLy3rVCNK6ia','y2fWq2HHCNm','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','vw50AxrSzwq','BMf2','D29YA3nWywnL','B2f1DgG','yxjYyxK','y29UDgv4Da','C3rHDhvZ','BgLUzv9UDw1Izxi','tunqihrYyw5ZCg9YDcbJBg9ZzwqGDw5LEhbLy3rLzgX5','yNvMzMvY','Dg9Rzw5Z','C3rHCNrZv2L0Aa','Bwf4','BMfTzq','Aw52ywXPzf90B2rVx2L0zw0','qwDLBNqGCNvUia','AgfZ','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','ywrK','zg9JDw1LBNrtEw1IB2W','zxHPDa','zgf0zxrPBwu','lMPZ','BMv3vgv4Da','DgvYBwLUyxrL','mtCYlJe2lJaUma','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','zxHPDenVzgu','uMvHC29UAw5NigrLzMf1BhqGiG','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','Cgf0DgvYBG','wefjx0fqsv9lrvK','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','BgL0zxjHBa','CMvXDwvZDfrPBwvVDxrnCW','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','tu9ptLnit1rFqvbjx0Tfwq','BwfW','mtaUmc4WlJa','C3bHD24','C3rKB3v0rgvJB2rLCG','DMvYAwz5rxHLy3v0Aw9U','zw5NAw5L','DhjPBq','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','C2HLBgXjza','zMLSzxm','D2fPDezVCKrPywDUB3n0AwnZ','B25Jzq','ChjVy2vZC0v4AxrLza','mtaWlJy0lJaUma','B25szwrPCMvJDa','Bg9VA3vW','oIbPBNzHBgLKihbYAw9YAxr5','txvZDcbWCM92AwrLideTmtaGCxvLC3rPB25Z','CNvUsw5cywnRz3jVDw5K','yxjNDw1LBNrZ','sw5MB3jTyxrPB24','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','oIaIDg9WAwmIigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','C3bSAxq','Dg9Rzw4','ls1WCMvMAxG','nZuYEgncvM1p','qxnZAwDUvgfZAW','zxzLCNK','q29Tu3bLyW','Dgv4DerVy3vTzw50l3b1yMXPC2HeAwfNBM9ZDgLJCW','C29Tzq','Dg9KB3m','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','Bwv0yq','rMLUzcb3B3jRC3bHy2uGB3iGywXSB3DLzcbKAxjLy3rVCNKGzMLSzxmGBwf0y2HPBMCGysbNBg9IihbHDhrLCM4U','thnW','zgvMAw5PDgLVBG','DgHPBMTPBMC','Dg9ju09tDhjPBMC','yxv0BW','yxnRvxnLCG','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','l3vZCI9IAw4VyMfZAa','vg9KBYa','qu5usfjpueLdx0fqsv9lrvK','y29UzMLN','nte1mJu5CKD0DwXl','DxnLCM5HBwu','CMvXDwLYzwq','rMfPBgvKihrVihrLCM1PBMf0zsa','yw50AhjVCgLJlw1LC3nHz2vZ','y2f0y2G','Aw5WDxq','CxvLCNK','Aw52ywXPzf90B2rVx3n0yxr1CW','AxrLBxm','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','nKTwrKvAua','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','CMvTB3zLrxzLBNrmAxn0zw5LCG','Ag9ZDg5HBwu','DhLWzq','EwvZ','B2XKvgv4Da','uefusa','CMvHza','BgLUzxm','ChjVDg90ExbL','Aw52ywXPzf90B2rVx2LK','yMfZzw5HBwu','y2HPBgq','ig1Z','zgfYAW','BgfUz18','CMvHzen1CNnVCG','CgvYBwLZC2LVBKnSyxnZ','DhjHAwXPBMDdAhvUA3m','rMLSzu5LDW','Dhj1BMm','C2vUza','yNvUlMXVy2S','CMvZzxj2zq','t1bftLjpvvrfuL9bueLFs0vz','y29Kzq','BM9Uzq','vMLLD2vKigLTywDLigzPBgu6ia','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','D3jPDgu','y29UDgvUDa','AgvHzgvYCW','twfUDwfSihjLyxnVBMLUzYbYzxf1AxjLCYbIDwrNzxruB2TLBNm','y2fSBeLK','AgvHzgvY','BgvUz3rO','C2v0vg9WAwm','zgvMyxvSDfrPBwvVDxrnCW','ls0T','BwnWxW','DgfZA2TPBgW','igzHAwXLzc4','Aw1Hz2uVD2vICa','BwvZC2fNzq','qxnRig9UzsbVCIbTB3jLig11BhrPCgXLlwnOB2LJzsbXDwvZDgLVBNmGD2HLBIbWCMvMzxjLBMnLCYWGyw1IAwD1Axr5lcbVCIbHigrLy2LZAw9UigjSB2nRCYbWCM9NCMvZCY4GrxzLCNKGCxvLC3rPB24GC3vWCg9YDhmGiK90AgvYiI4Gu2v0ig11BhrPu2vSzwn0ihrVigfSBg93ig11BhrPCgXLigfUC3DLCNmUifb1Dcb0AguGCMvJB21Tzw5KzwqGB3b0Aw9UigzPCNn0igfUzcbZDwzMAxGGAxrZigXHyMvSihDPDgGGiIHszwnVBw1LBMrLzcKIlG','ywDLBNrjza','CMvHze9UBhLiAw50','vxnLCIbYzxnWB25ZzxmGCMvJzwL2zwq6ia','C29YDa','yxv0Aa','DgHLBG','z2v0u3rHDhm','BgfUz3vHz2u','y2HHCKnVzgvbDa','iIbPCYbUB3qGysbKzwnSyxjLzcbVChrPB24','lNbUzW','Cg9ZAxrPDMu','AMf2yxnJCMLWDhjLywn0','yxnZAwDU','Ahr0Ca','yxjNDw1LBNrZvgv4Da','B3b0Aw9UywW','CMfUz2u','zxjYB3jnzxnZywDL','ru5pru5u','ls1NBg9IpseUz2L0lYO','lMn0CW','zMfPBgvK','mteWntKWENbTzNLW','DgLTzvTKyxrLDgLTzv0','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','oIaIDg9WAwmIig11C3qGyMuGBwf4idmWignOyxjHy3rLCNmSigDVDca','C3rKAw8','C3rYzwfTC0zSDxnOzwq','A2LSBgvK','uhjVDMLKzxiGBMfTzsbJyw5UB3qGyMuGzw1WDhK','D29YA3nWywnLu3LTyM9SihjLCxvPCMvZigeGBM9UlwvTChr5ihf1zxj5','yMfZAwm','CMvNAxn0zxjby3rPDMvsDw4','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','AgfZq2XPzw50CW','iIbPCYbYzxnLCNzLza','C3rKAw4','zMLSzq','ls1ZDgrPBW','C2vTyxbOB3jL','AM9PBG','y2HHBMDL','zgvUBY5QC29U','y2XVC2u','y2HHCMfJDgvYig11C3qGyMuGysbWB3nPDgL2zsbPBNrLz2vY','zgLZy292zxj5','BNvTyMvY','zxH0BMfTzq','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','zMLYC3q','D2HPy2GGCMC','qMfJA2DYB3vUzcbWCM9JzxnZigzHAwXLzcbKDxjPBMCGDgvYBwLUyxrPB24','C3rYAwn0','DhvWBgu','CMvZDwX0','DhnJB25MAwCUANnVBG','C2vUzfjLCxvLC3q','AxngAwXL','CMvZzxj2yxrPB25Z','A2LTAq','y3jSzG','yxbPs2v5','z29Vz2XLq3nLs2v5','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxi6ihf1zxj5','zgLYBMfTzq','lM1QCW','ignVBM5Ly3rPB24GDgLTzwqGB3v0','v2fYBMLUzW','CMvMCMvZAf90B2TLBG','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','y2fUrgLZywjSzq','CMfUzg9T','B2zMC2v0','ls1OAwrKzw4','t1bftKfjx0fqsv9lrvK','yxbWBgLJyxrPB24VANnVBG','Dgv4DerVy3vTzw50l2LTCgXLBwvUDgf0Aw9U','B3v0Chv0uMvNzxG','ywXSB3DLzerPCNm','vw5ZywzLig9Yig1PC3nPBMCGue9tsvGGChjVy2vZCYbNCM91CcbPza','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','DgvZDa','yw5ZAte2','C2L6zq','vgvYBwLUywWGB3v0Chv0ig5VCM1HBgL6zxiGAgfZigvUzgvK','zw5NAw5LCW','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','AxntywzLsw50zwDLCG','yM94zwq','zMLSzunVDw50','C2fMzq','DxrMoa','lcbpChrPB24G','zgv0ywLS','AgfZt3DU','BwLUAw1HBa','zgf0zvjLC3rYAwn0','y2fSBfrVB2W','mti2mZy3ogD1vef3Aa','zgvLChnLzwS','qMfJA2DYB3vUzcbWCM9JzxnZihrLCM1PBMf0Aw9UihrPBwvKig91DcbHzNrLCIa0mdaWBxm','y2vPBa','Bg9JyxrPB24','AhjLzG','BgLMzwn5y2XL','ignVBxbSzxrLzc4','sw52ywXPzcbYzwDLEdOG','DgvYBwLUyxrPBMC','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','C2vYDMvYswq','Aw50zxjUywXmAwzLy3LJBgu','yNvMzMvYq2HHCNm','ks4GvxnLiejHC2HpDxrWDxqGDg8GCMvHzcbPDhmGB3v0Chv0igfUzcblAwXSu2HLBgWGDg8GC3rVCcbPDc4','CMvZzxq','z29uB0rLzMLUAxrPB24','ANnJB25MAwCUANnVBG','q0rqqvri','DhvYBMrVD24','z2L0AhvI','B2jQzwn0','tM8GAg92zxiGAw5MB3jTyxrPB24','r0LgodLH','y291BNrLCG','CMvMzxjLBMnLCW','AwzYyw1L','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','qMvHCMvYia','DxbKyxrL','cGPbuKDvtuvovfm6ia','BgLUzuvUza','tunqihnLCNzLCIa','Bwf0y2HLCW','C3vIyxjYyxK','Dg9VBhm','Dgv4Da','zgLZy292zxi','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3j5igzPBguGy29UDgvUDhmU','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','CMvSzwfZzq','DMfSDwu','yNvUlMXVy2TI','zMLUza','uMvHzcbMAwXLCYbMCM9TihDVCMTZCgfJzs4Gt3b0Aw9UywXSEsbZCgvJAwz5igXPBMuGCMfUz2vZicHSAw5Lu3rHCNqSigXPBMvfBMqPlG','C3rHDhvZvgv4Da','C2vHCMnOugfYyw1Z','C2LNBMfS','ugf0AcbPCYbUB3qGysbMAwXLoIa','ru5w','Ag9TzwrPCG','mJeWmxfyywn1Ea','BwnWlwrPC2nVDMvYEs1MywLSzwq','zxzPy3rjzK5LzwrLza','Bg93','yMLUza','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','Aw1WBgvTzw50yxrPB24','C2TPBgXZ','CMvZDwX0CW','y3jLyxrLzef0','y29TCgXLDgvK','jYbUB3qGzM91BMqUief2ywLSywjSzsbJB21Tyw5KCZOG','ls1YzwDLEha','uMLWz3jLCc5ZzwfYy2GGzxHWBgLJAxqGzMLSzxmGBxvZDcbIzsbHyNnVBhv0ztOGjW','C3jJl3rVB2XZl21Vy2STDg9VBc1YDw50Aw1LlNrZ','DhLWzxnJCMLWDhjLywn0','DgLTzw91De1Z','BM90Awz5','twLJCM9ZB2z0','Bg9JywXLq29TCgfYzq','q29TCgXLDguSihnLBgyTy29UDgfPBMvKigLUC3rYDwn0Aw9UCYbZzw50ihzLCMjHDgLTihrVihrOzsbKzwXLz2f0zwqGywDLBNqUieLUy2X1zguGCMvSzxzHBNqGy29UDgv4DcWGC2nVCguSignVBNn0CMfPBNrZlcbHBMqGzxHWzwn0zwqGB3v0Chv0lG','Dw5RBM93BG','C2vHCMnOrgvWDgG','y2HHDgDWDa','lMnQCW','C2H1DgrVD25tDgfYDgvK','DxrTx2nVBNrLBNq','B25LCNjVCG','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','rMLSzuvKAxq','CMfJzq','v29YA2LUzYbKAxjLy3rVCNKGBM90igzVDw5KoIa','DxrTx3nVDxjJzq','qxzHAwXHyMXLignVBw1HBMrZoG','BhnW','uMvHzcbUzxCGB3v0Chv0igzYB20GysbIywnRz3jVDw5KihbYB2nLC3mGC3rHCNrLzcb3AxrOiejHC2GOCNvUsw5cywnRz3jVDw5KoNrYDwuPlIbszxr1CM5Zig91Dhb1DcbWCM9KDwnLzcbZAw5Jzsb0AguGBgfZDcbYzwfKoYbVChrPB25HBgX5igzPBhrLCIbSAw5LCYbIEsbHihjLz2v4lG','C291CMnL','tM8GC3LTyM9SCYbMB3vUza','ihDHCYbHBhjLywr5ia','zMLSBa','CMvNAw9U','BgLZDa','l2jPBI9YzW','Bwf0y2HdB3vUDa','lMPWzW','zgvUBY5QC29UyW','C3rYAw5N','yxr4','C2vYDMvYtMfTzq','Bwf4uMvKAxjLy3rZ','ugfYyw1LDgvYicj0B2rVCYiGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','Dhj1zwnVBg9Y','Dg90ywXqCM9KDwnLza','zgvSAxzLCMvK','qMfJA2DYB3vUzfbYB2nLC3ndBgvHBNvWrxjYB3i','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','odiWnta3v29cD3vp','CMvUzgvYu3LZDgvTuhjVBxb0','B3bLBKzPBgvZ','vxnLiezPBgvszwfKihDPDgGGBgLUzvn0yxj0l2XPBMvfBMqGDg8GAw5ZCgvJDcbZCgvJAwzPyYbZzwn0Aw9UCYbVzIb0AguGzNvSBcbVDxrWDxqU','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','B2zM','CgfJA2fNzs1SB2nRlMPZB24','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','Bwf4rw50CMLLCW','Ec1HCgKTA2v5','zMLUzfjLzMvYzw5Jzxm','Dg9VBc1VDxrWDxqTB2zMBg9Hza','ChjPB3jPDhK','y2XPzw50sw5MB3jTyxrPB24','zwzMB3j0','yxjNDw1LBNroyw1LCW','BwnWlxrYyw5ZCg9YDc1LCNjVCG','CMvWBgfJzq','u0HfteW','lMPZB25J','wKfjx0fqsv9lrvK','pc9ZExn0zw0TCMvTAw5Kzxi+','o1TExg5DkJ8','B2XKvgv4DcbUB3qGzM91BMqGAw4GzMLSzs4GtwfRzsbZDxjLigL0ig1HDgnOzxmGzxHHy3rSEsbPBMnSDwrPBMCGD2HPDgvZCgfJzs4Gu2vHCMnOAw5NigzVCJOGiG','B3bLBMfPlxjLC3bVBNnLCW','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','rhvWBgLJyxrLihjLyxnVBMLUzYbVChrPB24GiG','C3rVCMfNzurPCG','Dgf2AwX5','Ag9ZDa','ywrHChrPDMu','Bw9VBNnOB3q','ywrKsxnZDwu','z29uB0LTCgXLBwvUDgf0Aw9U','AxnjBNrLz2vY','ignSB3nLihrPBwvKig91Da','zgf0yq','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','qgjPB21LANmVyMLVBwu','DgvYBwLUywXtzxr0BgvK','AhrTBfnUAxbWzxq','C2v0DgXLvgvYBwLUywW','sw52ywXPzcbmu1aGDgLTzw91DcbMB3iG','uMvXDwvZDfrPBwvVDxq','ywjVCNrLza','B3v0z29PBMDdywXSCW','Dg9VBe5HBwu','ie9sia','yMLYDgH0Aw1L','AwDUB3jL','lNrTCc4','Aw5WDxrty2HLBwe','zgvSzxrL','CMvZB2X2zvrLCM1PBMfS','uNvUigeGBM9UlwLUDgvYywn0AxzLihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24Gyw5KignHChr1CMuGC3rKB3v0l3n0zgvYCI4GvxnLiezPBgvszwfKigzVCIbMAwXLignVBNrLBNrZlIbvC2uGB3v0Chv0uMvNzxGGzM9YigzVy3vZzwqGzM9YzwDYB3vUzcbVDxrWDxqSigLNBM9Yzu91Dhb1Dcb3AgvUig9UBhKGDgHLigv4AxqGC3rHDhvZig1HDhrLCNmSigfUzcbYDw5jBKjHy2TNCM91BMqGzM9YihnLCNzLCNmGB3iGD2f0y2HLCNm7igzVBgXVDYbIywnRz3jVDw5Kihj1BNmGD2L0AcbcyxnOt3v0Chv0ig9YieTPBgXtAgvSBc4GuhjVDMLKzsbHignVBMnPC2uGDxnLCI1MywnPBMCGChvYCg9ZzsbPBIbKzxnJCMLWDgLVBI4GrgvMyxvSDcb0Aw1LB3v0oIa','CMCUzxHL','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','zNvSzMLSBgvK','Bwf4qNL0zxm','CMvJB3jK','Dg9VBfbLCM1PC3nPB25Z','yNvKz2v0vg9Rzw5Z','Dg9mB3DLCKnHC2u','igj5DgvZicH0B3rHBdOG','BwvKAxvT','CgfJA2fNzu5HBwu','yxbWzw5K','zxHPDgvK','B3bLBMfP','Dgv4DerVy3vTzw50l2HVDMvY','qwXSia','BgLI','Aw5ZDhj1y3rPB25Z','C3vKBW','zMXHDe1HCa','ks4Gs2LSBcbVBMuGD2L0AcblAwXSu2HLBgWGyMvMB3jLihn0yxj0Aw5NigfUB3rOzxiU','zgvMyxvSDe9WDgLVBG','Cgf0Aa','z29Vz2XLlwnZzq','ChjLChjVy2vZCW','zgvMyxvSDa','v2vIrMv0y2G','Dg9VBenHBgW','CgLWzq','ywrKrxzLBNrmAxn0zw5LCG','yxv0Ag9YAxPHDgLVBL9JB2rL','CgfYzw50u2vZC2LVBKLK','zMLSDgvY','ihjLCxvPCMvZigf1DgHLBNrPy2f0Aw9U','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','zw51Bq','l3bPza','BgfUzW','zNvUy3rPB24','D29YA3nWywnLl3n5BwjVBa','C2nYDwjfBNzlzxLZ','DwX0CMe','Dgv4DerVy3vTzw50l3bYzxbHCMvdywXSsgLLCMfYy2H5','CMvQzwn0','Dg9VBa','zM9Yy2vszxf1zxn0zwq','lu5Vtg9NBW','CMLWz3jLCa','r09pr0Xfx0ntrv9dwa','icHWAwqG','Aw52ywXPzf90B3bPyW','C3rHCNq','BgfIzwW','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','C3rKzxjYtM9YBwfSAxPLCG','zMLSzvzLCNnPB25Z','uhjVDMLKzxiGBMfTzsbJyw5UB3qGy29UDgfPBIaNoIC','BgLUAW','y29UDgvUDc10ExbL','D2LUmZi','yMfZAa','y29ZDa','s2LSBfnOzwXS','tunqihrVB2WG','mZy4qNz0EMXv','yMLUyxj5tMfTzq','cMbGya','ANnVBMm','yw50AhjVCgLJ','Aw1Hz2vZ','EwfYBI5SB2nR','Aw5PDgLHBgL6zq','y29UzMLYBwvK','C2vUze5VDgLMAwnHDgLVBG','CMvNAxn0zxjby3rPDMvbz2vUDa','CMvTB3zL','s0Lnsv9bueLFs0vz','BNbT','Aw5JBhvKzxm','AxndB250zxH0','yxnR','Dg9vChbLCKnHC2u','Dg9KB3ncEvnLC3nPB24','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','Aw5KzxHpzG','twfUDwfSihjLyxnVBMLUzYbJyw5UB3qGC2v0igvMzM9YDa','BNv2Aw4','D2fPDezVCLrLCM1PBMfS','Dg9tDhjPBMC','lNDLyNa','y2XLyxi','ywXS','Bwf4q29Uy3vYCMvUDa','AxnbCNjHEq','A2LSBfjLCxvLC3rLza','CgfZC3rOCM91z2G','ywXSu2v0DgXLza','CNvUBMLUzW','Aw1Hz2uVCg5N','ksbB','rxjYB3i','Aw5JBhvKzv9KB21HAw5Z','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','zgLYzwn0B3j5','uMvHC29UAw5Nig9WDgLVBIaI','yNL0zuXLBMD0Aa','v2vIu2vHCMnO','tM8GCMvZDwX0CYbMB3vUzc4','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','Aw5JB21PBMDdywXSCW','CMvSyxrPDMu','zw5K','Aw5ZDgfSBa','lMPWzwC','sw52B2TLq29TBwfUza','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','BM9Kzv9TB2r1BgvZ','BwfUDwfS','y2XVC2vbBgW','ugf0AcbUB3qGzM91BMq6ia','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','CMvXDwvZDhm','Dgv4DerVy3vTzw50l2rPzenSB3nL','A2v5','l3vZCI9SB2nHBc9IAw4VCMC','C3rYAw5NAwz5','Dw5PB24','ihrVB2WGzgLZy292zxj5ihrPBwvKig91Da','zgLHz25VC3rPy3ngB3jgAwXL','y29TBwfUzhm','C2v0','iYmGu2TPBgW6ia','uKLgrG','DgfZA2TPBgWGzxHPDgvKihDPDgGGy29Kzsa','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzceGqxnRigfIB3v0ig5LEhqGC3rLChmUienVBxbSzxrLzcbSAxn0oGO','yxbWzw5KrgvJB2rLza','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','tuLosu1bwf9bueLFs0vz','ywXYzwfKEs10zxjTAw5HBa','z2nSAwq','oIbPzcbYzxf1AxjLza','y29UDgvUDhm','zNjVBuvUDhjPzxm','C2vZC2LVBG','zgfZAa','uMLWz3jLCc5ZzwfYy2GGywnJzxb0CYbLAxrOzxiGzMLSzsbVCIbMAwXLCYWGBM90igjVDgG','BxrPBwvnCW','C2v2zxjPDhK','AxnbyNnVBhv0zq','jYbUB3qGzM91BMqUief2ywLSywjSzsbZA2LSBhm6ia','yw5ZD2vYCW','zgvZy3jPChrPB24','y29KzvzLCMLMAwvY','Dg9WAwm','DgvYBwLUyxrPB25qCM9TAxnL','DhnZzxj2zxiUANm','BgLTAxq','Dg90ywW','BgfZDeLUzgv4t2y','B3nJ','y3DK','y29UDgv4DeXPBMS','tunqifnesYbJBgLLBNqGCMvWB3j0zwqGysbYzwnVDMvYywjSzsbLCNjVCG','Cg9W','y2fSBgjHy2TvCMW','qKftse9qvfm','yxr0ywnO','rgvSzwDHDgvZigeGDgfZAYb0BYbHBM90AgvYigfNzw50igfUzcb3ywL0CYbMB3iGy29TCgXLDgLVBI4GygrLC2nYAxb0Aw9UycbPCYbHihnOB3j0ifvjigXHyMvSoYbGDgfZA2aGAxmGDgHLignVBxbSzxrLigLUC3rYDwn0Aw9UihnLBNqGDg8GDgHLigfNzw50lG','yMvHCMvY','ChjVCgvYDgLLCW','lMXVzW','AwDUB3jLt3v0Chv0','y2XPzw50','DgvYBwLUywXqCM9TAxnL','u0Lhs0Lmta','CM9VDa','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','uxvLC3rPB24G','w1jfrefdvevexq','ihrVB2WGzgLZy292zxj5igzHAwXLza','y2XPzw50CW','DgfZAW','zMXVB3i','o1TE','zxf1ywXZ','D2LUzg93CW','DxrTx3rLCM0','DxjS','Dg90ywXeCM9WCgvK','AMf2yxnJCMLWDa','BwnWlwnVBM5Ly3qTzMfPBgvK','CMvHC29U','te9dquXbufbeqvrb','ywn0AxzL','BwnWlxnKAY1JBgLLBNqTzxjYB3i','zgvZy3jPChrVCNm','tg9HzfnRAwXS','lMDPzG','DhLWzxnJCMLWDa','AxnfCNjVCG','DhjHBNnMB3jT','BxrPBwu','AhLKCMf0zu1LDge','s2LSBgvKia','u3rHCNrLzcbHz2vUDcbYDw4G','mti3lJaUmc4W','rvnsq0G','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','C2L0ztO','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','CgvUzgLUzW','C2vYDMvY','zMLSzvbHDgG','ue9tva','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','A2LUza','B25JBg9Zzq','DxjP','y29UBMvJDgLVBG','C2H1DgrVD24','ls1MB2XSB3C','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDgvZDc50CW','C2HPzNq','Cg9ZAxG','vhLWzvnJCMLWDcbmyw5NDwfNzsbtzxj2zxi','lMPZEa','DMfSDwvZ','z3jHy2vMDwW','oIbLEhbLy3rLzcbHihbVC2L0AxzLig51BwjLCG','ihDHCYbHyM9YDgvKlG','Cgf0DgvYBIbPCYbYzxf1AxjLza','t3b0Aw9UywWGC2HVCNqGzgLZCgXHEsbUyw1LigzVCIb0AgLZigrLBgvNyxrLzcbYDw4UifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','A2LSBa','r09pr0Xfx0ntrv9lrvK','B3bLBG','ChvIBgLZAgvKqxq','ihrVB2WGy2fSBcb0Aw1LzcbVDxq','v2vIu2vHCMnOihjLCxvPCMvZigf0igXLyxn0ig9UzsbZzwfYy2GGzw5NAw5LignVBMzPz3vYzwq','q291BgqGBM90ihjLC29SDMuGAg9ZDa','yw55lwfSBg93zwq','yMfZzty0','ygbGANnVBGO','y29UBMvJDa','C2nVCgvZ','C3LZDgvTuhjVBxb0','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','Ahr0CdO','w1bFxL1BxhnCu10QpW','Bw9KzwW','y3nP','y2fWywjPBgL0AwvZ','B25uzxjTAw5HBevYCM9Y','CMvNzxG','tM8GzgLHz25VC3rPy3m','C2HLBgXqyxrO','Aw52ywXPzf9XDwvZDgLVBNm','sw5ZCgvJDcbHifborYWGsLbfrYWGv2vIucWGB3iGr0LgigLTywDLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlIbvC2uGrMLSzvjLywqGzM9YihrLEhqU','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','C2vHCMnOvhLWzq','ywnXDwLYzq','mc4WlJaUma','BM90lwzVDw5K','yxjNCW','CgXHDgzVCM0','ywXSB3DLzfrVB2XZ','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','BgLZDgvU','mtqWmtzrsuDUCe8','B3b0Aw9UCW','CgXHAw50zxH0','zxHPDcbJB2rLia','yM9VBgvHBG','BhnWlxbYB3H5','BwfYA2rVD24','tNv2Aw4','lu5VuhjVzMLSzq','sw52ywXPzcbvuKWGCgfYyw1LDgvY','uMvHC29UAw5Nig9WDgLVBIbYzxf1AxjLCYbTB2rLig9YigvMzM9YDa','mZe1mJKZnvPADgvVta','ChjVDg9JB2W','lunVBw1HBMq','q2fUBM90igfJCxvPCMuGysbYzxrPCMvKie1ducbJB25Uzwn0Aw9UigDLBMvYyxrPB24','CMfUAW','sfruuca','yMLVBwuUANnVBG','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','BgLUzu51Bq','C3rYAxbbBNnP','lM51DMLU','B25oB3rPzMLJyxrPB24','DMvYAwzPzxi','zxH0zw5ZAw9UCW'];_0x32bc=function(){return _0x53b637;};return _0x32bc();}import{execSync,spawn as _0x447297}from'child_process';import{existsSync}from'fs';import{stat as _0x86a6c8}from'fs/promises';import*as _0x2c4090 from'os';import*as _0x2c2767 from'path';import{rgPath as _0x4823fb}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x225f2a={_0x4d1bfb:0x221,_0xf07107:0x187,_0x2b4ee5:0x18f,_0x406ffb:0x457,_0x3e992f:0x1c1,_0x45d525:0x198,_0x58f36c:0x9a,_0x253e63:0x1fc,_0x34fc67:0x2bc,_0x2ef777:0x240,_0x112d04:0x111,_0x245a94:0x48e,_0x4987ad:0x35d,_0x592010:0x26e,_0x9e0f20:0x491,_0x3a8edc:0x2ea,_0x56bd75:0x397,_0x52d8ea:0x438,_0x5c2d48:0x398,_0x760e94:0x6a,_0x24eb91:0x1fe,_0x1cadb5:0x316,_0x1599b0:0x2fc,_0x7fbb69:0x18e,_0x6d364c:0x377,_0x5a17c5:0x301,_0x31f83b:0xc4,_0x557257:0xaf,_0x45d628:0x275,_0x5c846c:0x332,_0x42d123:0x3b7,_0x54ee62:0x386,_0x2f5caa:0x40b,_0xff224a:0x384,_0x3f52ae:0x29c,_0x3b0822:0x10,_0x8b8ea5:0x61b,_0x2c3ff4:0x431,_0x554ee5:0x49b,_0x36f306:0x46a,_0x4d1e26:0x478,_0x5a9ae2:0x38f,_0x5f213d:0x162,_0x8bb3f9:0x1eb,_0x255adf:0x118,_0x4b39ff:0x1b0,_0x3595de:0x405,_0x1e4f1f:0x45f,_0x35d5f8:0x2c7},_0x3f14b3={_0xc38809:0x80},_0xc71c2c={_0x272593:0x186,_0x408934:0x28,_0x19e7a1:0x1a},_0x45dc13=_0x2c4090[_0x324885(_0x225f2a._0x4d1bfb,_0x225f2a._0xf07107,0x2b9,0x23a)]()==='win32',_0x215332=_0x45dc13?[_0x2c2767[_0x324885(0x444,0x342,0x1a8,0x4b3)](process[_0x48c3df(_0x225f2a._0x2b4ee5,_0x225f2a._0x406ffb,0x314,_0x225f2a._0x3e992f)][_0x324885(0x2c7,0x140,_0x225f2a._0x45d525,_0x225f2a._0x58f36c)]||'',_0x48c3df(_0x225f2a._0x253e63,0x23e,0x172,_0x225f2a._0x34fc67),_0x324885(0x3a5,_0x225f2a._0x2ef777,_0x225f2a._0x112d04,0xc7),_0x48c3df(0x2f8,_0x225f2a._0x245a94,_0x225f2a._0x4987ad,_0x225f2a._0x592010)),_0x2c2767[_0x48c3df(0x60e,0x61a,_0x225f2a._0x9e0f20,0x527)](process[_0x48c3df(_0x225f2a._0x3a8edc,_0x225f2a._0x56bd75,0x314,0x2d8)][_0x48c3df(_0x225f2a._0x52d8ea,_0x225f2a._0x5c2d48,0x327,0x222)]||'',_0x48c3df(0x381,_0x225f2a._0x760e94,_0x225f2a._0x24eb91,_0x225f2a._0x1cadb5),_0x48c3df(0xe8,0x38c,0x1cf,0x36b)),_0x2c2767['join'](process[_0x48c3df(_0x225f2a._0x1599b0,_0x225f2a._0x7fbb69,0x314,0x4bf)][_0x48c3df(0x17e,_0x225f2a._0x6d364c,_0x225f2a._0x5a17c5,0x287)]||'',_0x324885(-_0x225f2a._0x31f83b,_0x225f2a._0x557257,_0x225f2a._0x45d628,0x1ef),_0x48c3df(0x39b,0x149,0x1cf,_0x225f2a._0x34fc67))]:[_0x48c3df(0x34a,0x354,_0x225f2a._0x5c846c,0x16c),_0x48c3df(_0x225f2a._0x42d123,0x313,0x24b,0x195),_0x48c3df(_0x225f2a._0x54ee62,_0x225f2a._0x2f5caa,_0x225f2a._0xff224a,_0x225f2a._0x3f52ae),_0x48c3df(0xaa,0x101,0x18a,_0x225f2a._0x3b0822)];for(const _0x8b3523 of _0x215332){if(existsSync(_0x8b3523))return _0x8b3523;}function _0x48c3df(_0x3efdf5,_0x179525,_0x5810bd,_0x3e4978){return _0x151cc1(_0x3efdf5-_0xc71c2c._0x272593,_0x5810bd- -_0xc71c2c._0x408934,_0x3efdf5,_0x3e4978-_0xc71c2c._0x19e7a1);}try{const _0x6ffb2e=_0x45dc13?'where\x20rg':_0x48c3df(_0x225f2a._0x8b8ea5,_0x225f2a._0x2c3ff4,_0x225f2a._0x554ee5,_0x225f2a._0x36f306),_0xbc33d6=execSync(_0x6ffb2e,{'encoding':_0x48c3df(0x3d3,_0x225f2a._0x4d1e26,0x4c4,_0x225f2a._0x5a9ae2),'stdio':[_0x48c3df(0x26e,_0x225f2a._0x5f213d,_0x225f2a._0x8bb3f9,0x14f),_0x324885(0x194,0x9c,_0x225f2a._0x255adf,_0x225f2a._0x4b39ff),'ignore']})[_0x48c3df(0x362,0x28e,_0x225f2a._0x3595de,_0x225f2a._0x1e4f1f)]()[_0x324885(0x2eb,_0x225f2a._0x35d5f8,0x460,0x482)](/\r?\n/)[0x0];if(_0xbc33d6&&existsSync(_0xbc33d6))return _0xbc33d6;}catch{return null;}function _0x324885(_0x2394e2,_0x22f5d4,_0x5919e1,_0x4acd01){return _0x151cc1(_0x2394e2-_0x3f14b3._0xc38809,_0x22f5d4- -0x177,_0x2394e2,_0x4acd01-0x5c);}return null;}async function filepath(){const _0x2a55c1={_0x5a87e3:0x69,_0x1a0b0a:0xca};if(cachedRgPath)return cachedRgPath;function _0x1c1e71(_0x19054d,_0x148e43,_0x2e6f2e,_0x5703b2){return _0x151cc1(_0x19054d-0xa1,_0x5703b2-_0x2a55c1._0x5a87e3,_0x2e6f2e,_0x5703b2-_0x2a55c1._0x1a0b0a);}if(_0x4823fb&&existsSync(_0x4823fb))return cachedRgPath=_0x4823fb,_0x4823fb;const _0x1f5b31=findSystemRipgrep();if(!_0x1f5b31)throw new Error(_0x1c1e71(0x46e,0x459,0x3b1,0x331));return cachedRgPath=_0x1f5b31,_0x1f5b31;}async function*files(_0x48c4f0){const _0x3cfbcc={_0x1bed0d:0x5cd,_0x5dcc04:0x5f2,_0x4a651a:0x526,_0x22ec03:0x767,_0xbf9a57:0x20a,_0x3b7afc:0x255,_0x206253:0x10f,_0x5b0b99:0x7d9,_0xe085eb:0x6b9,_0x20742d:0x2b2,_0x395e90:0x11f,_0x478516:0x206,_0x407f16:0x2ae,_0x50136b:0x34b,_0x218e1f:0x6a6,_0x2688e5:0x8a5,_0x4635e8:0x7fe,_0x3dad4a:0x637,_0x3dfc8c:0x7b6,_0x5a73e5:0x55c,_0x377ab5:0x62e,_0x237a3d:0x4ab,_0x78f7b6:0x650,_0x2ef43b:0x2ef,_0x3872ee:0x2b9,_0x4c27e3:0x2a4,_0x585090:0xfd,_0x5b0b56:0x1da,_0x126627:0xac,_0x25de49:0x149,_0x255077:0x6,_0x4e6482:0x23,_0x1e05f0:0x56e,_0x5bb6f9:0x6f4,_0x3907d5:0x28,_0x524296:0x1ee,_0x7eb092:0x595,_0x5a9035:0x5c9,_0x780db8:0x846,_0x7d75ac:0x32d,_0x2c29a8:0x2e7,_0x3b9303:0x248,_0x246fb5:0x29b,_0x5d77dd:0x3fe,_0x5a3a4d:0xef,_0x15b023:0x680,_0x90f0de:0x749,_0x43013c:0x788,_0x13d319:0x921,_0x59e010:0x8b3},_0x8266ee={_0x9dcdb8:0x1a3,_0x1e31fa:0xcb,_0x3fbf43:0x192},_0x1149b5={_0xfa5abd:0x6d8};function _0x34b69a(_0x35e918,_0x30bcfa,_0x4e29e7,_0x4edc4e){return _0x1ac42a(_0x35e918-0x8b,_0x30bcfa-0xc1,_0x30bcfa-_0x1149b5._0xfa5abd,_0x4e29e7);}const _0x2877c7=await filepath(),_0x34689a=await _0x86a6c8(_0x48c4f0[_0x34b69a(_0x3cfbcc._0x1bed0d,_0x3cfbcc._0x5dcc04,_0x3cfbcc._0x4a651a,_0x3cfbcc._0x22ec03)])[_0x57c4c8(0x270,_0x3cfbcc._0xbf9a57,_0x3cfbcc._0x3b7afc,_0x3cfbcc._0x206253)](()=>null);if(!_0x34689a?.[_0x34b69a(0x52a,0x6a1,_0x3cfbcc._0x5b0b99,_0x3cfbcc._0xe085eb)]())throw Object[_0x57c4c8(_0x3cfbcc._0x20742d,0xe3,_0x3cfbcc._0x395e90,0x43f)](new Error(_0x57c4c8(_0x3cfbcc._0x478516,_0x3cfbcc._0x407f16,_0x3cfbcc._0x50136b,0x1f3)+_0x48c4f0[_0x34b69a(0x4b9,0x5f2,_0x3cfbcc._0x218e1f,0x48e)]+'\x27'),{'code':_0x34b69a(_0x3cfbcc._0x2688e5,_0x3cfbcc._0x4635e8,_0x3cfbcc._0x3dad4a,_0x3cfbcc._0x3dfc8c)});const _0x53a222=['--files',_0x34b69a(_0x3cfbcc._0x5a73e5,_0x3cfbcc._0x377ab5,_0x3cfbcc._0x237a3d,_0x3cfbcc._0x78f7b6),_0x57c4c8(_0x3cfbcc._0x2ef43b,0x38d,0x429,0x2da),_0x57c4c8(_0x3cfbcc._0x3872ee,_0x3cfbcc._0x4c27e3,0x382,_0x3cfbcc._0x585090)];for(const _0x4ddbf4 of _0x48c4f0['glob']??[]){_0x53a222[_0x57c4c8(0x1a9,_0x3cfbcc._0x5b0b56,0x1bb,0x11b)]('--glob='+_0x4ddbf4);}const _0x3ddae6=_0x447297(_0x2877c7,_0x53a222,{'cwd':_0x48c4f0[_0x57c4c8(_0x3cfbcc._0x126627,0x259,_0x3cfbcc._0x25de49,-0x5a)],'stdio':[_0x57c4c8(_0x3cfbcc._0x255077,0x1c9,-_0x3cfbcc._0x4e6482,0xd6),_0x34b69a(0x56b,_0x3cfbcc._0x1e05f0,_0x3cfbcc._0x5bb6f9,0x49c),_0x57c4c8(_0x3cfbcc._0x3907d5,0x14c,0x114,_0x3cfbcc._0x524296)]});let _0x5f1a47='';for await(const _0x18d665 of _0x3ddae6[_0x34b69a(_0x3cfbcc._0x7eb092,0x6d5,_0x3cfbcc._0x5a9035,_0x3cfbcc._0x780db8)]??[]){_0x5f1a47+=_0x18d665['toString']();const _0x53e373=_0x5f1a47[_0x57c4c8(0x253,_0x3cfbcc._0x7d75ac,_0x3cfbcc._0x2c29a8,_0x3cfbcc._0x3b9303)](/\r?\n/);_0x5f1a47=_0x53e373['pop']()??'';for(const _0xe7d085 of _0x53e373){if(_0xe7d085[_0x57c4c8(_0x3cfbcc._0x246fb5,0x3a5,0x1df,0xf4)]>0x0)yield _0xe7d085;}}function _0x57c4c8(_0x500a86,_0x569eb6,_0x2230f5,_0x49415c){return _0x1ac42a(_0x500a86-_0x8266ee._0x9dcdb8,_0x569eb6-_0x8266ee._0x1e31fa,_0x500a86-_0x8266ee._0x3fbf43,_0x2230f5);}_0x5f1a47[_0x57c4c8(0x242,0x27d,_0x3cfbcc._0x5d77dd,_0x3cfbcc._0x5a3a4d)]()[_0x34b69a(0x794,0x7e1,_0x3cfbcc._0x15b023,_0x3cfbcc._0x90f0de)]>0x0&&(yield _0x5f1a47[_0x34b69a(0x8ce,_0x3cfbcc._0x43013c,_0x3cfbcc._0x13d319,_0x3cfbcc._0x59e010)]());}function objectValue(_0x3ca183){const _0x3933cd={_0x6bf82b:0x1c7,_0x199466:0x8d},_0x574262={_0x52cddb:0x4d};function _0x40da3a(_0x49c06b,_0x55b32b,_0x19f07e,_0x317409){return _0x1ac42a(_0x49c06b-0xe9,_0x55b32b-0xef,_0x55b32b-_0x574262._0x52cddb,_0x317409);}return typeof _0x3ca183===_0x40da3a(-0x42,-_0x3933cd._0x6bf82b,-_0x3933cd._0x199466,-0x2b4)&&_0x3ca183!==null?_0x3ca183:void 0x0;}function decodeRipgrepText(_0x5c14b2){const _0x12907d={_0x423077:0x491,_0x54284b:0x4b3,_0xdf9eb4:0x3e1,_0x350a18:0x426,_0x526ea8:0x6ba,_0x3d6430:0x624,_0x53c47e:0x678,_0x3a9279:0x5be,_0x3e8d93:0x6b9,_0x6c9570:0x39b,_0x2a084a:0x566,_0xc1ee12:0x7d6,_0x21dcbe:0x76b,_0x2087a6:0x8a0},_0x2787a5={_0x31d4d9:0xd2,_0x26230b:0x79,_0x50d3c8:0x696},_0x12d679={_0x20d187:0x196,_0x354a48:0x27f,_0x5c1658:0x91},_0x27f2b4=objectValue(_0x5c14b2);function _0x39a723(_0x5639a7,_0x1c5b06,_0x123e5e,_0x28930d){return _0x151cc1(_0x5639a7-_0x12d679._0x20d187,_0x123e5e-_0x12d679._0x354a48,_0x5639a7,_0x28930d-_0x12d679._0x5c1658);}if(typeof _0x27f2b4?.[_0x566676(0x491,0x48a,0x3e8,0x3ce)]==='string')return _0x27f2b4[_0x566676(_0x12907d._0x423077,0x63a,_0x12907d._0x54284b,_0x12907d._0xdf9eb4)];function _0x566676(_0x3df43d,_0x5ce736,_0x244c41,_0x3f0719){return _0x1ac42a(_0x3df43d-_0x2787a5._0x31d4d9,_0x5ce736-_0x2787a5._0x26230b,_0x3df43d-_0x2787a5._0x50d3c8,_0x5ce736);}if(typeof _0x27f2b4?.[_0x39a723(0x733,0x6e8,0x5be,_0x12907d._0x350a18)]==='string')return Buffer[_0x566676(0x6b1,0x7e3,_0x12907d._0x526ea8,_0x12907d._0x3d6430)](_0x27f2b4[_0x39a723(0x46a,_0x12907d._0x53c47e,_0x12907d._0x3a9279,0x45e)],_0x39a723(_0x12907d._0x3e8d93,_0x12907d._0x6c9570,_0x12907d._0x2a084a,0x4c1))['toString'](_0x39a723(0x702,_0x12907d._0xc1ee12,_0x12907d._0x21dcbe,_0x12907d._0x2087a6));return void 0x0;}function parseMatchLine(_0x2710bd,_0xc4bc96){const _0x3af59e={_0x45dcc3:0x3d,_0x3545d3:0xa2,_0x1f2f9a:0x1b8,_0x69d05e:0x466,_0x245b10:0x699,_0x3971b3:0x66e,_0xd2061f:0x33a,_0x57834c:0x358,_0x5216ce:0x3f1,_0x22e813:0x43c,_0x61add3:0x4e7,_0x365f15:0x7be,_0x2f4301:0x575,_0x1b5ef6:0x4b6,_0x4c2992:0x67d,_0x2b6c32:0x544,_0x6ccff9:0x56b,_0x13d8ed:0x48b,_0x51ce20:0x545,_0x551e8c:0x3d9,_0x2222e3:0x677,_0x40f009:0x777,_0x492dbc:0x7b3,_0x233e0b:0x4b3},_0xe1f08={_0x20a96c:0xb5},_0x253644={_0x250486:0xaa,_0x39af36:0x585};if(_0x2710bd[_0x38ab54(0xb4,-_0x3af59e._0x45dcc3,-_0x3af59e._0x3545d3,_0x3af59e._0x1f2f9a)]===0x0)return null;const _0x55a5f2=objectValue(JSON[_0x1cfc37(_0x3af59e._0x69d05e,0x577,0x668,0x549)](_0x2710bd));function _0x1cfc37(_0x18f8a3,_0x3eae25,_0x5929f6,_0x1ef2b1){return _0x1ac42a(_0x18f8a3-0x1cd,_0x3eae25-_0x253644._0x250486,_0x3eae25-_0x253644._0x39af36,_0x1ef2b1);}if(_0x55a5f2?.['type']!=='match'&&_0x55a5f2?.[_0x1cfc37(_0x3af59e._0x245b10,_0x3af59e._0x3971b3,0x512,0x4e8)]!=='context')return null;const _0x1462f3=objectValue(_0x55a5f2[_0x1cfc37(_0x3af59e._0xd2061f,0x3ec,_0x3af59e._0x57834c,_0x3af59e._0x5216ce)]),_0x2ec0ce=decodeRipgrepText(_0x1462f3?.[_0x1cfc37(_0x3af59e._0x22e813,0x415,_0x3af59e._0x61add3,0x4a2)]),_0x16f4df=decodeRipgrepText(_0x1462f3?.[_0x1cfc37(_0x3af59e._0x365f15,0x673,_0x3af59e._0x2f4301,_0x3af59e._0x1b5ef6)]),_0x1d5b98=_0x1462f3?.[_0x1cfc37(0x638,0x611,_0x3af59e._0x4c2992,_0x3af59e._0x2b6c32)];function _0x38ab54(_0x70432c,_0x45fedb,_0x43a70d,_0x3f36f3){return _0x151cc1(_0x70432c-0x1ce,_0x70432c- -0x3d2,_0x45fedb,_0x3f36f3-_0xe1f08._0x20a96c);}if(_0x2ec0ce===void 0x0||_0x16f4df===void 0x0||typeof _0x1d5b98!=='number')throw new Error('ripgrep\x20returned\x20a\x20malformed\x20JSON\x20match\x20record');return{'filePath':_0x2c2767['isAbsolute'](_0x2ec0ce)?_0x2ec0ce:_0x2c2767[_0x1cfc37(0x477,0x523,_0x3af59e._0x6ccff9,_0x3af59e._0x13d8ed)](_0xc4bc96,_0x2ec0ce),'lineNum':_0x1d5b98,'lineText':_0x16f4df[_0x1cfc37(_0x3af59e._0x51ce20,_0x3af59e._0x551e8c,0x2ce,0x364)](/\r?\n$/,''),..._0x55a5f2[_0x1cfc37(_0x3af59e._0x2222e3,0x66e,_0x3af59e._0x40f009,0x4a2)]===_0x1cfc37(0x781,0x60f,_0x3af59e._0x492dbc,_0x3af59e._0x233e0b)?{'isContext':!![]}:{}};}async function search(_0x37d12c){const _0x5b5cba={_0x5e2bd0:0x27b,_0x24f2c2:0x4,_0x19e4cf:0xce,_0x2fb56a:0xa0,_0x19eb7c:0x21c,_0x4e1e5c:0x10c,_0x30c672:0x16,_0x109520:0x20,_0x3be332:0x73,_0x3db2c7:0x3b,_0x56efaf:0x4e,_0x41a348:0x96,_0x3ff12b:0xf9,_0x17fb7c:0x40c,_0x3fbc2d:0x416,_0x2f98fa:0x125,_0x5d684b:0x14f,_0x2251db:0x54,_0x43a639:0x395,_0x1c3c69:0x44d,_0x40b240:0x155,_0x5da974:0xf2,_0x19d6db:0x25e,_0x138da1:0x2b4,_0xf47b41:0x39b,_0x1bc4da:0x23a,_0x122eca:0x46f,_0x1875e4:0x97,_0x432106:0x2b,_0x590595:0x1d,_0x276843:0x11f,_0x2bb70e:0x20,_0x58c56e:0x64,_0xf5014f:0xd8,_0x2a4c71:0x2d7,_0x5e4a8e:0x141,_0x63a61a:0x25,_0x6e8565:0x19c,_0xf87fef:0xcb,_0x122208:0x27f,_0x37f5fa:0x220,_0xbeefb9:0x4a6,_0x31140b:0x281,_0x47848f:0x2d,_0x2e422f:0xe4,_0x28574a:0x1be,_0x57f599:0x12d,_0x2c7cd8:0x45,_0x3c1f93:0x140,_0x120488:0x124,_0xcf215:0x18,_0x1a4ffe:0x159,_0x6fe943:0x9,_0x207d7a:0x145,_0x401bef:0xbe,_0x1aa6d8:0x20d,_0x2aab60:0x17,_0x2dbbd9:0x80,_0x439cba:0x135,_0x1ff7ce:0x10,_0x41fd14:0x218,_0x4526df:0xa5,_0x13babc:0x72,_0x118564:0x48,_0x27f606:0xc6,_0x1cd4ac:0x1c9,_0x32f2ee:0x2fd,_0x1e159f:0x233,_0x5edc33:0xde,_0xdfd89:0xe3,_0x168a3a:0x55,_0x586aa4:0x5c,_0x2c73f5:0x232,_0x431194:0x1f1,_0x1805d6:0x48,_0x23edb6:0x9b,_0x3198e4:0x218,_0x5ffef1:0x1d,_0x36dd92:0x116,_0x401d85:0xc7,_0x34f8f1:0x9f,_0x294b53:0xf0,_0x1219c1:0x31,_0x48a8c0:0x154,_0x46f840:0x11b,_0x3bf9ac:0x4d},_0x589d98={_0x4bddda:0x5c2,_0xbdb0bb:0x4e1,_0x404813:0x3c5,_0x288f14:0x2df,_0x4dde9c:0x478,_0x5b2d11:0x2e9,_0x1e1b3f:0x689,_0x38fca0:0x5e3,_0x356938:0x7a2,_0x36a651:0x475,_0x3e8283:0x17b,_0x59cd26:0x65d,_0x1263f9:0x40a,_0x9e1579:0x4b6},_0x5c708f={_0x3c1185:0x7ed,_0x3f9c7c:0x67f,_0x31b48a:0x65b,_0x5cb952:0x402,_0x1c8d68:0x753,_0xe90ea9:0x5b1,_0x1ad683:0xb2,_0x4b28d0:0x195,_0x2e306c:0xb1,_0x2cb83e:0x20c,_0x43d2b:0x65c,_0x1ab28c:0x541,_0x3d61f5:0x6a3,_0x4d5114:0x186,_0x1dadd1:0xf4,_0x1bf625:0x238,_0x58853f:0x19c,_0x58e33d:0x2d4},_0x408357={_0x2c4b0a:0xce,_0x457e09:0x3e3},_0x241459={_0xfe1af3:0x18b},_0x54e5fe={_0x2d33ae:0xd0,_0x38fb95:0x362},_0xe29b11={_0x5e5623:0xf6,_0x199cdc:0x201};if(_0x37d12c['file']!==void 0x0&&_0x37d12c[_0x5ab410(_0x5b5cba._0x5e2bd0,_0x5b5cba._0x24f2c2,0x39,_0x5b5cba._0x19e4cf)]!==void 0x0)throw new Error(_0xf5c68b(-_0x5b5cba._0x2fb56a,_0x5b5cba._0x19eb7c,_0x5b5cba._0x4e1e5c,0x50));if(_0x37d12c[_0x5ab410(0x17b,-_0x5b5cba._0x30c672,0x157,0x154)]){const _0x380042=await _0x86a6c8(_0x37d12c[_0x5ab410(-_0x5b5cba._0x109520,_0x5b5cba._0x3be332,-_0x5b5cba._0x3db2c7,0x154)])[_0x5ab410(_0x5b5cba._0x56efaf,-0x35,-_0x5b5cba._0x41a348,_0x5b5cba._0x3ff12b)](()=>null);if(!_0x380042?.['isFile']())throw Object[_0xf5c68b(_0x5b5cba._0x17fb7c,0x2e0,0x321,_0x5b5cba._0x3fbc2d)](new Error(_0x5ab410(_0x5b5cba._0x2f98fa,_0x5b5cba._0x5d684b,0x40,_0x5b5cba._0x2251db)+_0x37d12c[_0xf5c68b(0x473,_0x5b5cba._0x43a639,0x33a,_0x5b5cba._0x1c3c69)]+'\x27'),{'code':_0x5ab410(_0x5b5cba._0x40b240,0x0,_0x5b5cba._0x5da974,0x141)});}else{if(_0x37d12c[_0xf5c68b(_0x5b5cba._0x19d6db,0x17d,_0x5b5cba._0x138da1,_0x5b5cba._0xf47b41)]!==void 0x0)for(const _0x180bb4 of _0x37d12c[_0xf5c68b(_0x5b5cba._0x1bc4da,_0x5b5cba._0x122eca,0x2b4,0x13a)]){if(!_0x2c2767[_0xf5c68b(0x174,-_0x5b5cba._0x1875e4,0x10f,0x111)](_0x180bb4))throw new Error(_0xf5c68b(0xaa,-_0x5b5cba._0x432106,0x19,-_0x5b5cba._0x590595)+_0x180bb4+'\x27');const _0x4aa01a=await _0x86a6c8(_0x180bb4)['catch'](()=>null);if(!_0x4aa01a?.[_0xf5c68b(0x3fa,0x3cf,0x34e,0x282)]())throw Object[_0x5ab410(-0x46,0x1aa,_0x5b5cba._0x276843,0x13b)](new Error(_0x5ab410(-0xab,0x14,-_0x5b5cba._0x2bb70e,0x54)+_0x180bb4+'\x27'),{'code':_0x5ab410(_0x5b5cba._0x58c56e,_0x5b5cba._0xf5014f,_0x5b5cba._0x2a4c71,_0x5b5cba._0x5e4a8e)});}else{const _0x4a51d9=await _0x86a6c8(_0x37d12c[_0x5ab410(-0x271,_0x5b5cba._0x63a61a,-_0x5b5cba._0x6e8565,-_0x5b5cba._0xf87fef)])[_0x5ab410(_0x5b5cba._0x122208,0x2c2,0xe0,_0x5b5cba._0x3ff12b)](()=>null);if(!_0x4a51d9?.['isDirectory']())throw Object[_0xf5c68b(_0x5b5cba._0x37f5fa,_0x5b5cba._0xbeefb9,0x321,_0x5b5cba._0x31140b)](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0x37d12c[_0xf5c68b(0x2ea,-_0x5b5cba._0x47848f,0x11b,_0x5b5cba._0x2e422f)]+'\x27'),{'code':_0x5ab410(_0x5b5cba._0x28574a,0x307,_0x5b5cba._0x57f599,0x141)});}}if(_0x37d12c[_0x5ab410(-0x24,0x198,-0x18,_0x5b5cba._0x19e4cf)]?.[_0x5ab410(-_0x5b5cba._0x2c7cd8,_0x5b5cba._0x3c1f93,-0xa,_0x5b5cba._0x120488)]===0x0)return[];const _0x3b6ed4=await filepath(),_0x1fdb42=['--json',_0xf5c68b(-0xd,0xaf,_0x5b5cba._0xcf215,-_0x5b5cba._0x1a4ffe),_0x37d12c[_0x5ab410(0x49,-_0x5b5cba._0x6fe943,_0x5b5cba._0x207d7a,_0x5b5cba._0x401bef)]],_0x2b92fd=typeof _0x37d12c[_0x5ab410(_0x5b5cba._0x1aa6d8,-_0x5b5cba._0x2aab60,_0x5b5cba._0x2dbbd9,0xa5)]==='number'&&_0x37d12c[_0x5ab410(_0x5b5cba._0x439cba,_0x5b5cba._0x1ff7ce,_0x5b5cba._0x41fd14,_0x5b5cba._0x4526df)]>0x0;_0x2b92fd&&_0x1fdb42[_0x5ab410(_0x5b5cba._0x13babc,0x8,_0x5b5cba._0x118564,0x32)]('-C',String(_0x37d12c['context']));_0x37d12c[_0xf5c68b(_0x5b5cba._0x27f606,_0x5b5cba._0x1cd4ac,0x1f1,0x39f)]&&!_0x37d12c[_0xf5c68b(_0x5b5cba._0x32f2ee,_0x5b5cba._0x1e159f,0x33a,0x353)]&&_0x37d12c[_0x5ab410(0x1d5,_0x5b5cba._0x5edc33,-_0x5b5cba._0xdfd89,0xce)]===void 0x0&&_0x1fdb42[_0xf5c68b(_0x5b5cba._0x168a3a,_0x5b5cba._0x586aa4,0x218,0x1af)]('--glob',_0x37d12c[_0xf5c68b(0x1d0,_0x5b5cba._0x2c73f5,_0x5b5cba._0x431194,_0x5b5cba._0x1805d6)]);_0x37d12c[_0x5ab410(0x157,_0x5b5cba._0x23edb6,-0xbe,_0x5b5cba._0x19e4cf)]!==void 0x0?_0x1fdb42[_0xf5c68b(0x2f6,0x1a6,_0x5b5cba._0x3198e4,0x2eb)](..._0x37d12c[_0x5ab410(_0x5b5cba._0x5ffef1,_0x5b5cba._0x36dd92,_0x5b5cba._0x401d85,0xce)]):_0x1fdb42[_0x5ab410(_0x5b5cba._0x34f8f1,-_0x5b5cba._0x294b53,_0x5b5cba._0x1219c1,0x32)](_0x37d12c[_0x5ab410(0x2c0,0x193,-0x9,_0x5b5cba._0x48a8c0)]??_0x37d12c[_0xf5c68b(0x279,-_0x5b5cba._0x432106,_0x5b5cba._0x46f840,_0x5b5cba._0x3bf9ac)]);function _0xf5c68b(_0x486c83,_0x5537d7,_0x228add,_0x38992b){return _0x1ac42a(_0x486c83-0x93,_0x5537d7-_0xe29b11._0x5e5623,_0x228add-_0xe29b11._0x199cdc,_0x38992b);}function _0x5ab410(_0xfba74,_0x3beb1d,_0x401407,_0xc7447a){return _0x151cc1(_0xfba74-_0x54e5fe._0x2d33ae,_0xc7447a- -_0x54e5fe._0x38fb95,_0x3beb1d,_0xc7447a-0xb1);}return await new Promise((_0xb2c1fa,_0x24bbf8)=>{const _0x49c5fa={_0x52469a:0x2c3,_0x45e183:0x464},_0x1d6c25={_0x2c271e:0x176};function _0x2bcbf1(_0x415603,_0x3313cd,_0x5a5183,_0x2304df){return _0xf5c68b(_0x415603-0x141,_0x3313cd-0x81,_0x2304df-_0x1d6c25._0x2c271e,_0x5a5183);}const _0x418967=_0x447297(_0x3b6ed4,_0x1fdb42,{'cwd':_0x37d12c[_0xc71cc5(_0x589d98._0x4bddda,0x4fe,_0x589d98._0xbdb0bb,_0x589d98._0x404813)],'stdio':['ignore',_0xc71cc5(0x503,0x47a,_0x589d98._0x288f14,_0x589d98._0x4dde9c),_0xc71cc5(0x385,0x47a,0x30e,_0x589d98._0x5b2d11)]});let _0x1172f4='',_0x552f37='';_0x418967['stdout']?.['on']('data',_0x18b16f=>{const _0x2be7bc={_0x3ed5cd:0x1b1,_0x1abf54:0x15a};function _0x4e2fce(_0x2cc8ba,_0x2213a0,_0x417ef9,_0x5360b4){return _0x2bcbf1(_0x2cc8ba-_0x2be7bc._0x3ed5cd,_0x2213a0-_0x2be7bc._0x1abf54,_0x2213a0,_0x5360b4- -0xbe);}_0x1172f4+=_0x18b16f[_0x4e2fce(0x6,0x204,0x337,_0x241459._0xfe1af3)]();});function _0xc71cc5(_0x10c86b,_0x1f40ce,_0x882d1c,_0x15a3a4){return _0xf5c68b(_0x10c86b-0xda,_0x1f40ce-_0x408357._0x2c4b0a,_0x1f40ce-_0x408357._0x457e09,_0x10c86b);}_0x418967[_0xc71cc5(_0x589d98._0x1e1b3f,_0x589d98._0x38fca0,_0x589d98._0x356938,_0x589d98._0x36a651)]?.['on'](_0x2bcbf1(_0x589d98._0x3e8283,0xa6,0x21a,0x1de),_0x426491=>{const _0x24ead9={_0x566382:0x1f3,_0x24c465:0xac,_0x4901ab:0x6e};function _0x11fc6d(_0x28aecb,_0x488427,_0x286206,_0x5cee32){return _0xc71cc5(_0x286206,_0x28aecb- -_0x24ead9._0x566382,_0x286206-_0x24ead9._0x24c465,_0x5cee32-_0x24ead9._0x4901ab);}_0x552f37+=_0x426491[_0x11fc6d(_0x49c5fa._0x52469a,0x299,0x3b0,_0x49c5fa._0x45e183)]();}),_0x418967['on'](_0x2bcbf1(0x343,_0x589d98._0x59cd26,_0x589d98._0x1263f9,_0x589d98._0x9e1579),_0x5e2df7=>{const _0x42333a={_0x4b3f64:0x4bd,_0x1c4d73:0x1a7,_0x2ed18a:0x3a6,_0x24bd2b:0x1ee,_0x28f349:0x7bc},_0x4b553f={_0x2609d3:0x23},_0x529fc7={_0x36b732:0xac,_0x5523af:0x223};if(_0x5e2df7===0x1&&_0x1172f4===''){_0xb2c1fa([]);return;}if(_0x5e2df7!==0x0&&_0x5e2df7!==0x1){_0x24bbf8(new Error('ripgrep\x20failed:\x20'+_0x552f37));return;}const _0x523fa4=[];try{for(const _0x625947 of _0x1172f4[_0x4f9f0d(0x4c6,_0x5c708f._0x3c1185,_0x5c708f._0x3f9c7c,_0x5c708f._0x31b48a)](/\r?\n/)){const _0x2fe26e=parseMatchLine(_0x625947,_0x37d12c['cwd']);if(_0x2fe26e)_0x523fa4[_0x4f9f0d(_0x5c708f._0x5cb952,0x521,_0x5c708f._0x1c8d68,_0x5c708f._0xe90ea9)](_0x2fe26e);}}catch(_0x5320c1){_0x24bbf8(_0x5320c1);return;}const _0x28273f=_0x37d12c[_0x47b60c(-0x39,-_0x5c708f._0x1ad683,0x28,-_0x5c708f._0x4b28d0)]??0x64;function _0x4f9f0d(_0x18c291,_0xdc54e1,_0x5987f2,_0xddd378){return _0x2bcbf1(_0x18c291-_0x529fc7._0x36b732,_0xdc54e1-0x20,_0x5987f2,_0xddd378-_0x529fc7._0x5523af);}const _0x849c6f=Number['isFinite'](_0x28273f)?Math['max'](0x0,Math[_0x47b60c(0x32d,_0x5c708f._0x2e306c,_0x5c708f._0x2cb83e,0x229)](_0x28273f)):0x64,_0x25961f=_0x523fa4[_0x47b60c(0xba,-0x18c,-0x54,0x25)](_0x3bdb37=>!_0x3bdb37[_0x47b60c(-0x11,-0x52,-0x25,0x195)]);if(_0x25961f[_0x4f9f0d(_0x5c708f._0x43d2b,0x622,_0x5c708f._0x1ab28c,_0x5c708f._0x3d61f5)]<=_0x849c6f){_0xb2c1fa(_0x523fa4);return;}function _0x47b60c(_0xe353e3,_0x2a2176,_0x17ed93,_0x4509ca){return _0xc71cc5(_0xe353e3,_0x17ed93- -0x4d2,_0x17ed93-_0x4b553f._0x2609d3,_0x4509ca-0x164);}const _0x515405=_0x25961f[_0x47b60c(0x179,_0x5c708f._0x4d5114,_0x5c708f._0x1dadd1,0x21)](0x0,_0x849c6f),_0x7e638e=new Set(_0x515405),_0x58894f=_0x2b92fd?Math['max'](0x0,Math['trunc'](_0x37d12c[_0x47b60c(0xf0,_0x5c708f._0x1bf625,_0x5c708f._0x58853f,_0x5c708f._0x58e33d)]??0x0)):0x0;_0xb2c1fa(_0x523fa4['filter'](_0x201267=>{const _0x42039a={_0x1b82fb:0x199,_0x2ed640:0x136,_0x24b7c9:0x5a},_0x32f44b={_0x78ed8e:0x47};if(!_0x201267[_0x2cee25(0x3a1,0x545,0x61e,_0x42333a._0x4b3f64)])return _0x7e638e[_0x4644ed(_0x42333a._0x1c4d73,_0x42333a._0x2ed18a,0xc6,_0x42333a._0x24bd2b)](_0x201267);function _0x4644ed(_0x2460d3,_0x6a6af9,_0x351174,_0xd715e0){return _0x47b60c(_0x351174,_0x6a6af9-0x9e,_0xd715e0-_0x32f44b._0x78ed8e,_0xd715e0-0x34);}function _0x2cee25(_0xf71462,_0x5cd963,_0x37802a,_0x5c7658){return _0x4f9f0d(_0xf71462-_0x42039a._0x1b82fb,_0x5cd963-_0x42039a._0x2ed640,_0xf71462,_0x5c7658-_0x42039a._0x24b7c9);}return _0x515405[_0x2cee25(_0x42333a._0x28f349,0x673,0x6a6,0x6bd)](_0xc9dd55=>_0xc9dd55[_0x4644ed(0x141,-0x96,0x174,0xa7)]===_0x201267[_0x4644ed(0x77,-0x129,0x42,0xa7)]&&Math[_0x4644ed(0x63,0x217,0x206,0x14c)](_0xc9dd55['lineNum']-_0x201267['lineNum'])<=_0x58894f);}));}),_0x418967['on']('error',_0x24bbf8);});}function createGlobTool(_0x2ff01b={}){const _0x12a404={_0x39f98c:0x161,_0x58b3b3:0x20e,_0x25a851:0x241,_0x2c5025:0x2ce,_0x20059a:0x434,_0x9c1aea:0x3e7,_0x5998c2:0x435,_0x5bd11f:0x3d2,_0x3b57af:0x76,_0x915b30:0x1df,_0x278558:0xc1,_0x47d7ae:0x393,_0x1835a0:0x4b5,_0x59273f:0x442,_0x4f444a:0x637,_0x2932a8:0x59a,_0x5768a0:0x2c8,_0x2b4e42:0x1c5,_0x570bc4:0x2b9,_0x5bfa45:0x306,_0x3c8d5a:0x2de,_0x147f68:0x1a0,_0x31eb2c:0x305},_0x2d4472={_0x21225e:0x157,_0x578468:0x1cf,_0x5feb0c:0x105,_0x2b75b2:0x236,_0x4c9494:0x104,_0x3d19e4:0x7f,_0x2f5c74:0x4b,_0x1298ac:0xff,_0x40447b:0x280,_0x17689d:0x15a,_0x17498b:0x227,_0x3cfe95:0x25b,_0x58b111:0x233,_0x38a248:0x95,_0x2c2d02:0xc2,_0x4916a8:0x46f,_0x46d42b:0x437,_0x566000:0x2a9,_0x404c08:0x3fd,_0xe0ea1b:0x113,_0x22f0d2:0x137,_0x26e644:0x27c,_0x13f289:0x24b,_0x11417f:0x191,_0x532d15:0x28,_0x4f84cf:0x16c,_0x5067b9:0xad,_0xa4febe:0x1,_0x53ee60:0x1ae,_0x5eff58:0x228},_0x4104c5={_0x1410a5:0x30,_0x16ccc2:0x17f},_0x2716e1={_0x5560fd:0xff,_0x3df56e:0x270},_0x4d66b3={_0x181a63:0x0,_0x1956ee:0x150,_0x338c58:0xc6},_0x144e8e=_0x48fc84[_0x57a566(_0x12a404._0x39f98c,0x5b,_0x12a404._0x58b3b3,0x2f8)](_0x2ff01b[_0x57a566(0x1b2,_0x12a404._0x25a851,0x2a3,0x128)]??process[_0x565a20(_0x12a404._0x2c5025,0x4e4,_0x12a404._0x20059a,_0x12a404._0x9c1aea)]()),_0x4d749f=_0x2ff01b[_0x57a566(_0x12a404._0x5998c2,0x42f,_0x12a404._0x5bd11f,0x4e9)]??[];function _0x565a20(_0x559291,_0x5b6c0e,_0x4ca757,_0x4f47f0){return _0x151cc1(_0x559291-_0x4d66b3._0x181a63,_0x4f47f0-_0x4d66b3._0x1956ee,_0x559291,_0x4f47f0-_0x4d66b3._0x338c58);}const _0x1b9075=_0x2ff01b[_0x57a566(_0x12a404._0x3b57af,_0x12a404._0x915b30,0x186,0x203)]??0x64;function _0x57a566(_0x32ebaf,_0x16cb00,_0x1eaba3,_0x9fe8d0){return _0x1ac42a(_0x32ebaf-0x9f,_0x16cb00-_0x2716e1._0x5560fd,_0x1eaba3-_0x2716e1._0x3df56e,_0x32ebaf);}const _0x4f3140=_0x2ff01b['name']??_0x57a566(0x224,_0x12a404._0x278558,0x214,_0x12a404._0x47d7ae);return defineTool({'name':_0x4f3140,'permissionClass':_0x565a20(_0x12a404._0x1835a0,0x6a4,0x748,0x5ba),'description':_0x565a20(_0x12a404._0x59273f,_0x12a404._0x4f444a,0x622,_0x12a404._0x2932a8),'inputSchema':{'type':_0x565a20(_0x12a404._0x5768a0,0x308,_0x12a404._0x2b4e42,_0x12a404._0x570bc4),'properties':{'pattern':{'type':_0x565a20(0x295,0x491,0x265,_0x12a404._0x5bfa45)},'path':{'type':_0x565a20(_0x12a404._0x3c8d5a,0x28e,_0x12a404._0x147f68,0x306)},'limit':{'type':'number'}},'required':[_0x57a566(0x1e4,0x2c7,0x313,_0x12a404._0x31eb2c)]},async *'execute'(_0x2956eb){const _0x47d1c8={_0xe47101:0xff};if(_0x2956eb[_0x1b0601(_0x2d4472._0x21225e,_0x2d4472._0x578468,-_0x2d4472._0x5feb0c,0xc4)][_0x4db753(0x3e4,0x409,0x103,0x2b6)]()[_0x4db753(0x1b7,0x1b3,_0x2d4472._0x2b75b2,0x30f)]===0x0)throw new ToolExecutionError(_0x1b0601(-_0x2d4472._0x4c9494,0x111,-0x22a,-_0x2d4472._0x3d19e4),{});const _0x2bfb55=resolveAllowedPath(_0x144e8e,_0x4d749f,_0x2956eb['path']??'.'),_0x2cf64d=await _0x5e4a83(_0x2bfb55)[_0x1b0601(0x105,_0x2d4472._0x2f5c74,0x183,_0x2d4472._0x1298ac)](()=>null);if(!_0x2cf64d?.[_0x4db753(_0x2d4472._0x40447b,0x2ab,0x16c,0x1cf)]())throw new ToolExecutionError(_0x1b0601(_0x2d4472._0x17689d,0x129,0x2af,0x107)+(_0x2956eb[_0x4db753(0x265,_0x2d4472._0x17498b,0x107,0x96)]??'.'),{'path':_0x2956eb[_0x4db753(0x17f,_0x2d4472._0x3cfe95,_0x2d4472._0x58b111,0x96)]??'.'});const _0x461dcb=_0x2956eb[_0x1b0601(-_0x2d4472._0x38a248,-0x15a,-_0x2d4472._0x2c2d02,-0xc9)]??_0x1b9075;function _0x4db753(_0x9b5bd6,_0x455911,_0x120ac0,_0x343633){return _0x57a566(_0x120ac0,_0x455911-_0x4104c5._0x1410a5,_0x343633- -0x6a,_0x343633-_0x4104c5._0x16ccc2);}const _0x59c437=Math['max'](0x1,Math['trunc'](_0x461dcb)),_0x395a8f=[];let _0x1e2795=![];for await(const _0x2cb48b of files({'cwd':_0x2bfb55,'glob':[_0x2956eb[_0x4db753(_0x2d4472._0x4916a8,_0x2d4472._0x46d42b,0x23c,_0x2d4472._0x566000)]]})){if(_0x395a8f['length']>=_0x59c437){_0x1e2795=!![];break;}const _0x301c88=await _0x5e4a83(_0x48fc84[_0x4db753(0x222,_0x2d4472._0x404c08,0x1ac,0x342)](_0x2bfb55,_0x2cb48b))['catch'](()=>null);_0x395a8f['push']({'path':_0x2cb48b,'mtime':_0x301c88?.[_0x4db753(-0x6d,_0x2d4472._0xe0ea1b,0x8f,0x112)]??0x0});}_0x395a8f[_0x1b0601(0x2f8,-0x12,0x2dd,_0x2d4472._0x22f0d2)]((_0x3c632b,_0x4aebd0)=>_0x4aebd0[_0x1b0601(-0xb6,-0xc6,0x35,-0x9c)]-_0x3c632b[_0x4db753(-0x7a,0x2d9,0x2d9,0x149)]);const _0x3fff96=_0x395a8f[_0x4db753(0x3fb,_0x2d4472._0x26e644,_0x2d4472._0x13f289,0x2b0)](_0x324bea=>_0x324bea[_0x4db753(0x173,0x13,-0x12a,0x96)]),_0x137524=_0x3fff96['length']===0x0?_0x1b0601(0xe,-0x1e7,-_0x2d4472._0x11417f,-0x198)+_0x2956eb[_0x1b0601(-_0x2d4472._0x532d15,_0x2d4472._0x4f84cf,-_0x2d4472._0x5067b9,0xc4)]:''+_0x3fff96[_0x1b0601(-_0x2d4472._0xa4febe,0x116,_0x2d4472._0x53ee60,0x15d)]('\x0a')+(_0x1e2795?_0x4db753(_0x2d4472._0x5eff58,0x2f0,0x246,0x156):'');function _0x1b0601(_0x14b7ad,_0x2bce33,_0x5009c9,_0x583a83){return _0x57a566(_0x14b7ad,_0x2bce33-0xe5,_0x583a83- -0x24f,_0x583a83-_0x47d1c8._0xe47101);}return yield createToolOutput(_0x137524,{'pattern':_0x2956eb['pattern'],'searchPath':_0x48fc84['relative'](_0x144e8e,_0x2bfb55)||'.','matches':_0x3fff96,'count':_0x3fff96['length'],'truncated':_0x1e2795}),void 0x0;}});}var GREP_DEFAULT_LIMIT=0x64,GREP_MAX_PATTERN_LENGTH=0x400,GREP_MAX_SNIPPET_LENGTH=0x7d0;function validateGrepPattern(_0x16310e){const _0x7b64ae={_0x4cea13:0x722,_0x524366:0x741,_0x23c046:0x5e6,_0x480f40:0x6e1,_0x1e61ed:0x5f7,_0x3e8022:0x5c5,_0x13ef70:0x400,_0x582869:0x596,_0x4de4fb:0x66e,_0x1aceae:0x631},_0x131f68={_0x5f479e:0x82};if(_0x16310e[_0x511295(0x69e,0x6c4,_0x7b64ae._0x4cea13,0x814)]()['length']===0x0)throw new Error(_0x14d5ea(_0x7b64ae._0x524366,0x5a6,_0x7b64ae._0x23c046,_0x7b64ae._0x480f40));function _0x14d5ea(_0x5d613e,_0x124e54,_0x41e9fd,_0x26637e){return _0x1ac42a(_0x5d613e-0x187,_0x124e54-_0x131f68._0x5f479e,_0x124e54-0x646,_0x26637e);}function _0x511295(_0x133211,_0x5b2e9a,_0x5073ae,_0x9a7b35){return _0x151cc1(_0x133211-0x13f,_0x133211-0x271,_0x9a7b35,_0x9a7b35-0x9c);}if(_0x16310e[_0x14d5ea(0x812,0x74f,_0x7b64ae._0x1e61ed,0x791)]>GREP_MAX_PATTERN_LENGTH)throw new Error(_0x511295(_0x7b64ae._0x3e8022,0x5dc,0x753,_0x7b64ae._0x13ef70)+GREP_MAX_PATTERN_LENGTH+_0x511295(_0x7b64ae._0x582869,_0x7b64ae._0x4de4fb,_0x7b64ae._0x1aceae,0x522));}function boundedGrepSnippet(_0x36fdd7){return _0x36fdd7['length']>GREP_MAX_SNIPPET_LENGTH?_0x36fdd7['slice'](0x0,GREP_MAX_SNIPPET_LENGTH)+'...':_0x36fdd7;}async function searchRegex(_0x2ff83e){const _0x13f010={_0x2c2d69:0x477,_0x31912f:0x25c,_0x5f1dd5:0x1ec,_0x3828de:0x60f,_0x2f7d2c:0x6da,_0x394d5f:0x515,_0x53629c:0x3cd,_0x366f16:0x3d0,_0x3c1e72:0x51f,_0x211ee5:0x3d6,_0x131932:0x437,_0xb57eb9:0x364,_0x2e3bd9:0x514,_0x4e6797:0x666,_0x2b35a0:0x5ab,_0x4909c:0x43b,_0x1da095:0x389,_0x1bc806:0x350,_0x180197:0x475,_0x502b7a:0x708,_0x3f144b:0x2a6,_0x513dd1:0x2e7,_0x17839d:0x388,_0x53ee1b:0x66b,_0x5a91c5:0x55f,_0x193438:0x170,_0x68128b:0x7b,_0xa70864:0x0,_0x4fb3c4:0x333,_0x3e1eb4:0x41e,_0x1e54f6:0x261,_0x50b0fd:0x499,_0x3a54c9:0x611,_0x23a065:0x510,_0x2ea555:0x510,_0x223a30:0x592,_0x48c26c:0x48e,_0x401810:0x28a,_0x33c5aa:0x55a,_0x179744:0x611,_0x46a081:0x6a8,_0x25b97c:0x380,_0x5c6eda:0x374,_0x44bdfc:0x206,_0x59bc2c:0x791,_0x55c54c:0x66f},_0xcb315d={_0x54c0c5:0x204,_0x30586b:0x3c3,_0x36dd30:0x44a,_0x200d05:0x58f,_0x4da375:0x72f,_0x36452a:0x6a6},_0x28723c={_0x3c202f:0x18b},_0x440c41={_0x332312:0x1e6,_0x2213c4:0x2a,_0x3a4fa3:0x2d6};validateGrepPattern(_0x2ff83e[_0x18edb5(0x379,_0x13f010._0x2c2d69,_0x13f010._0x31912f,0x363)]);const _0x4b3dd0=_0x2ff83e[_0x18edb5(_0x13f010._0x5f1dd5,0x67,0x287,0x240)]??GREP_DEFAULT_LIMIT,_0x4d51bf=Number[_0x1c89b4(_0x13f010._0x3828de,_0x13f010._0x2f7d2c,_0x13f010._0x394d5f,_0x13f010._0x53629c)](_0x4b3dd0)?Math['max'](0x1,Math[_0x18edb5(_0x13f010._0x366f16,_0x13f010._0x3c1e72,_0x13f010._0x211ee5,0x36f)](_0x4b3dd0)):GREP_DEFAULT_LIMIT;if(_0x2ff83e[_0x1c89b4(0x51c,_0x13f010._0x131932,0x5bb,0x723)]?.[_0x18edb5(0x3df,0x377,_0x13f010._0xb57eb9,0x447)]===0x0)return{'matches':[],'matchCount':0x0,'fileCount':0x0,'truncated':![]};function _0x18edb5(_0x3678e7,_0x58ef1e,_0xba1207,_0x52d8ba){return _0x1ac42a(_0x3678e7-_0x440c41._0x332312,_0x58ef1e-_0x440c41._0x2213c4,_0x3678e7-_0x440c41._0x3a4fa3,_0x52d8ba);}const _0x32859b=await search({'cwd':_0x2ff83e[_0x1c89b4(_0x13f010._0x2e3bd9,0x5ed,0x422,0x344)],'pattern':_0x2ff83e[_0x1c89b4(0x43f,_0x13f010._0x4e6797,_0x13f010._0x2b35a0,_0x13f010._0x4909c)],..._0x2ff83e[_0x18edb5(_0x13f010._0x1da095,_0x13f010._0x1bc806,_0x13f010._0x180197,0x3e7)]===void 0x0?{}:{'files':_0x2ff83e[_0x1c89b4(0x666,0x565,0x5bb,_0x13f010._0x502b7a)]},..._0x2ff83e['glob']===void 0x0?{}:{'glob':_0x2ff83e[_0x18edb5(0x2c6,_0x13f010._0x3f144b,_0x13f010._0x513dd1,_0x13f010._0x17839d)]},..._0x2ff83e[_0x1c89b4(0x72a,0x647,0x592,_0x13f010._0x53ee1b)]===void 0x0?{}:{'context':_0x2ff83e[_0x1c89b4(0x408,0x653,0x592,_0x13f010._0x5a91c5)]},'limit':_0x4d51bf+0x1}),_0xe225e6=_0x32859b[_0x18edb5(_0x13f010._0x193438,_0x13f010._0x68128b,_0x13f010._0xa70864,_0x13f010._0x4fb3c4)](_0x292cba=>!_0x292cba['isContext']),_0x5a7ded=_0xe225e6[_0x18edb5(0x3df,0x2fd,0x335,0x29b)]>_0x4d51bf,_0x5b2aad=_0xe225e6[_0x18edb5(0x2b8,_0x13f010._0x3e1eb4,_0x13f010._0x1e54f6,0x10a)](0x0,_0x4d51bf),_0x30eb7b=new Set(_0x5b2aad);function _0x1c89b4(_0x24b7cf,_0x640ad0,_0x2cfedb,_0x429a0b){return _0x151cc1(_0x24b7cf-0xc5,_0x2cfedb-_0x28723c._0x3c202f,_0x429a0b,_0x429a0b-0x17);}const _0xefa524=Math[_0x1c89b4(_0x13f010._0x50b0fd,0x48c,0x599,_0x13f010._0x3a54c9)](0x0,Math[_0x18edb5(0x3d0,0x518,0x408,0x399)](_0x2ff83e[_0x1c89b4(_0x13f010._0x23a065,_0x13f010._0x2ea555,_0x13f010._0x223a30,_0x13f010._0x48c26c)]??0x0)),_0x109774=_0x5a7ded?_0x32859b[_0x1c89b4(0x46d,_0x13f010._0x401810,0x3a2,0x2e6)](_0x1a54f8=>{const _0x5509f8={_0x43dee9:0x224,_0x4b87dd:0x193};function _0x36a102(_0x180a9f,_0x1aa319,_0x58f04c,_0x3e55ef){return _0x1c89b4(_0x180a9f-0x2c,_0x1aa319-0x11f,_0x180a9f- -0x1dd,_0x1aa319);}if(!_0x1a54f8[_0x2ebca7(_0xcb315d._0x54c0c5,_0xcb315d._0x30586b,0x311,_0xcb315d._0x36dd30)])return _0x30eb7b[_0x2ebca7(0x52e,_0xcb315d._0x200d05,_0xcb315d._0x4da375,0x481)](_0x1a54f8);function _0x2ebca7(_0x8316ae,_0x418ce3,_0x5b51d0,_0x2c722c){return _0x18edb5(_0x418ce3-_0x5509f8._0x43dee9,_0x418ce3-0x63,_0x5b51d0-_0x5509f8._0x4b87dd,_0x2c722c);}return _0x5b2aad[_0x2ebca7(0x421,0x5c3,_0xcb315d._0x36452a,0x77b)](_0x2bdc21=>_0x2bdc21['filePath']===_0x1a54f8['filePath']&&Math['abs'](_0x2bdc21[_0x36a102(0x2c3,0x23a,0x191,0x24e)]-_0x1a54f8[_0x36a102(0x2c3,0x38f,0x327,0x2c5)])<=_0xefa524);}):_0x32859b;return{'matches':_0x109774,'matchCount':_0x5b2aad[_0x1c89b4(_0x13f010._0x33c5aa,0x561,_0x13f010._0x179744,_0x13f010._0x46a081)],'fileCount':new Set(_0x109774[_0x18edb5(_0x13f010._0x25b97c,0x359,_0x13f010._0x5c6eda,_0x13f010._0x44bdfc)](_0x2b1265=>_0x2b1265['filePath']))[_0x1c89b4(0x654,_0x13f010._0x59bc2c,_0x13f010._0x55c54c,0x832)],'truncated':_0x5a7ded};}import{stat as _0x5b8beb}from'fs/promises';import*as _0x112a9f from'path';function createGrepTool(_0x105986={}){const _0x296f5b={_0x4a162b:0x2d,_0x3c9009:0xd3,_0x2ff859:0x50,_0x597655:0x388,_0x12e62d:0x277,_0x404ee7:0x1c9,_0x402fd8:0x45e,_0x280d8c:0x377,_0x32679c:0x4db,_0x3c38fe:0xae,_0x4ed746:0x19b,_0x4b9a2b:0x231,_0x41c9a9:0x142,_0x3c999f:0x63,_0x41460d:0x44,_0x4ec270:0x59,_0x25d3da:0x2e6,_0x473a03:0x1d6,_0x5df19d:0x505,_0x18b973:0x4a0,_0x5284ef:0x440,_0x259d67:0x3fb},_0x17ec28={_0x5ee508:0xf0,_0x51a08f:0x2b5,_0x1f1e2f:0x2a4,_0x352570:0x262,_0x1b5477:0xb7,_0x25f55f:0x133,_0x347742:0xcd,_0x460f28:0x610,_0x1980cb:0x45b,_0x3255d4:0x35a,_0x2655a2:0x119,_0x3969b7:0x1fb,_0x105ed8:0x144,_0x1774f4:0x1b5,_0x349a16:0x181,_0x24ce6c:0xe5,_0x1963bf:0x233,_0xd88264:0x23b,_0x3206cd:0x226,_0x103ceb:0x112,_0x59fde7:0x18a,_0x20183a:0x21c,_0x1e4707:0x85,_0x5dd5ea:0x21b,_0x585ee7:0x15f,_0x5ca8f8:0x171,_0x3f45a1:0x316,_0x1b989c:0x585,_0x2e4c4d:0x309,_0x4ddc21:0x2d3,_0x59def3:0x46c,_0xb23ce:0x37f,_0x2a55dc:0x281,_0x2f685c:0x174,_0x4efe58:0xd,_0x42d226:0xd3,_0x259c67:0x1ee,_0x24beff:0x23a,_0x501729:0x251,_0x190af6:0x23d,_0x5064a2:0xfe,_0x5ae6c3:0x2cc,_0x2c4e95:0x29e,_0x5da032:0x1b8,_0x333a07:0x72,_0x217484:0x316,_0xe7d9a1:0x17c,_0x465404:0x3d7,_0x2b41da:0x4b5,_0x20265a:0x272,_0x4cb3e3:0x27f,_0x20abfe:0xe3,_0x4e4009:0xe1,_0x10df72:0xdc,_0x4d069f:0x11,_0x2a954d:0x282,_0xa78da8:0x4c5,_0x311ec8:0x2,_0x1ded3e:0x121,_0x4fda26:0x19b,_0x1cec7e:0x148,_0x152de8:0x5b6,_0x734d:0x18c,_0x44a25d:0x24e,_0x3aa8d2:0x33a,_0x109600:0x37,_0x4149b6:0x174,_0x370207:0x39a,_0x91cfee:0x660,_0x22ae89:0x5b4,_0x50a4ba:0x47f,_0xc7c0cf:0x21a,_0x55b817:0x186,_0x258bd4:0x4,_0x4bf2a1:0x479},_0x5eda8f={_0x3455a6:0xed,_0x1dcffc:0x1ed,_0x58c26e:0x51},_0x173666={_0x4e69ab:0x18a,_0x269cef:0x3e,_0x1e1fb6:0x96},_0x29ca82=_0x112a9f[_0x56cc3f(-0x51,-0x180,0x34,_0x296f5b._0x4a162b)](_0x105986['defaultCwd']??process[_0x56cc3f(_0x296f5b._0x3c9009,0x57,-_0x296f5b._0x2ff859,-0xb3)]());function _0x56cc3f(_0x1ee1fa,_0x2e9188,_0x25dfd4,_0x15cd27){return _0x1ac42a(_0x1ee1fa-_0x173666._0x4e69ab,_0x2e9188-_0x173666._0x269cef,_0x25dfd4-_0x173666._0x1e1fb6,_0x15cd27);}function _0x4887be(_0x5d7fbc,_0x3649bd,_0x5454a4,_0x36e91c){return _0x1ac42a(_0x5d7fbc-0x1d9,_0x3649bd-0x1df,_0x5454a4-0x39d,_0x5d7fbc);}const _0x2b2289=_0x105986['allowedDirs']??[],_0x26d991=_0x105986[_0x4887be(_0x296f5b._0x597655,_0x296f5b._0x12e62d,0x2b3,0x28c)]??GREP_DEFAULT_LIMIT,_0x10b68b=_0x105986[_0x56cc3f(0x229,0x132,0x128,0x12a)]??_0x4887be(_0x296f5b._0x404ee7,_0x296f5b._0x402fd8,_0x296f5b._0x280d8c,_0x296f5b._0x32679c);return defineTool({'name':_0x10b68b,'permissionClass':_0x4887be(0x5ff,0x5ab,0x48a,0x312),'description':_0x4887be(0x4a,_0x296f5b._0x3c38fe,_0x296f5b._0x4ed746,_0x296f5b._0x4b9a2b),'inputSchema':{'type':'object','properties':{'pattern':{'type':_0x56cc3f(-_0x296f5b._0x41c9a9,0x8,-0x131,-0x39)},'path':{'type':_0x4887be(_0x296f5b._0x3c999f,_0x296f5b._0x41460d,0x1d6,_0x296f5b._0x4ec270)},'include':{'type':_0x4887be(_0x296f5b._0x25d3da,0x26d,_0x296f5b._0x473a03,0x336)},'limit':{'type':_0x4887be(_0x296f5b._0x5df19d,0x675,0x4df,0x517)},'context':{'type':'number'}},'required':[_0x4887be(_0x296f5b._0x18b973,0x4a2,_0x296f5b._0x5284ef,_0x296f5b._0x259d67)]},async *'execute'(_0x1ff5f1){const _0x502862={_0x177b5c:0x121};try{validateGrepPattern(_0x1ff5f1[_0x1c8ab3(_0x17ec28._0x5ee508,0x18a,_0x17ec28._0x51a08f,0x260)]);}catch(_0x1f41dc){throw new ToolExecutionError(_0x1f41dc[_0x1c8ab3(_0x17ec28._0x1f1e2f,0x1f8,_0x17ec28._0x352570,_0x17ec28._0x1b5477)],{});}function _0x1c8ab3(_0x10b150,_0x8414f4,_0x264543,_0x41eaf5){return _0x56cc3f(_0x10b150-_0x5eda8f._0x3455a6,_0x8414f4-_0x5eda8f._0x1dcffc,_0x8414f4-_0x5eda8f._0x58c26e,_0x41eaf5);}const _0x151b43=resolveAllowedPath(_0x29ca82,_0x2b2289,_0x1ff5f1[_0x1c8ab3(0x82,-0x89,-_0x17ec28._0x25f55f,-_0x17ec28._0x347742)]??'.'),_0x30b166=await _0x5b8beb(_0x151b43)[_0x1a606d(_0x17ec28._0x460f28,0x57d,0x463,_0x17ec28._0x1980cb)](()=>null),_0x39b66d=_0x30b166?.[_0x1a606d(_0x17ec28._0x3255d4,0x507,0x4d2,0x4b5)]()??![],_0x4684d5=_0x30b166?.[_0x1c8ab3(_0x17ec28._0x2655a2,0xb0,_0x17ec28._0x3969b7,0x37)]()??![];if(!_0x39b66d&&!_0x4684d5)throw new ToolExecutionError(_0x1c8ab3(-_0x17ec28._0x105ed8,-0x28,-_0x17ec28._0x1774f4,-_0x17ec28._0x349a16)+(_0x1ff5f1['path']??'.'),{'path':_0x1ff5f1[_0x1c8ab3(-_0x17ec28._0x24ce6c,-0x89,-_0x17ec28._0x1963bf,-0x223)]??'.'});const _0x2b922e=await searchRegex({'cwd':_0x4684d5?_0x151b43:_0x112a9f[_0x1c8ab3(0x18f,_0x17ec28._0xd88264,_0x17ec28._0x3206cd,_0x17ec28._0x103ceb)](_0x151b43),'pattern':_0x1ff5f1[_0x1c8ab3(0x325,_0x17ec28._0x59fde7,_0x17ec28._0x20183a,0x27d)],'glob':_0x4684d5?_0x1ff5f1[_0x1c8ab3(-_0x17ec28._0x1e4707,0x12f,0x94,_0x17ec28._0x5dd5ea)]:void 0x0,'limit':_0x1ff5f1[_0x1a606d(_0x17ec28._0x585ee7,_0x17ec28._0x5ca8f8,0x29b,0x29a)]??_0x26d991,'files':_0x39b66d?[_0x151b43]:void 0x0,'context':_0x1ff5f1['context']}),{matches:_0x26910a}=_0x2b922e,_0x41fc3d=new Map();function _0x1a606d(_0x4641fb,_0x22a8ba,_0x31512b,_0x252dc8){return _0x4887be(_0x22a8ba,_0x22a8ba-0x1ac,_0x31512b- -0x18,_0x252dc8-_0x502862._0x177b5c);}for(const _0x57f9bc of _0x26910a){if(!_0x41fc3d[_0x1a606d(_0x17ec28._0x3f45a1,0x4f9,0x41a,_0x17ec28._0x1b989c)](_0x57f9bc[_0x1a606d(0x30e,_0x17ec28._0x2e4c4d,_0x17ec28._0x4ddc21,0x236)])){const _0x3d2c31=await _0x5b8beb(_0x57f9bc[_0x1a606d(0x120,_0x17ec28._0x59def3,0x2d3,0x3af)])['catch'](()=>null);_0x41fc3d[_0x1a606d(_0x17ec28._0xb23ce,0x2c7,_0x17ec28._0x2a55dc,_0x17ec28._0x2f685c)](_0x57f9bc['filePath'],{'matches':[],'mtime':_0x3d2c31?.[_0x1c8ab3(-0x90,-_0x17ec28._0x4efe58,-0x42,-_0x17ec28._0x4efe58)]??0x0});}_0x41fc3d[_0x1c8ab3(0xd1,_0x17ec28._0x42d226,_0x17ec28._0x259c67,0xd3)](_0x57f9bc[_0x1a606d(_0x17ec28._0x24beff,0x2c3,_0x17ec28._0x4ddc21,0x326)])?.[_0x1a606d(_0x17ec28._0x501729,_0x17ec28._0x190af6,0x17d,0x1e8)][_0x1c8ab3(0x6,_0x17ec28._0x5064a2,_0x17ec28._0x5ae6c3,_0x17ec28._0x2c4e95)](_0x57f9bc);}const _0x31c0a9=[..._0x41fc3d[_0x1c8ab3(_0x17ec28._0x5da032,0xc8,0x24d,0x72)]()][_0x1a606d(0x454,0x40e,0x49b,0x47b)]((_0x25b0f1,_0x4cc18e)=>_0x4cc18e[0x1][_0x1c8ab3(0x6a,0x2a,0x3b,0x16c)]-_0x25b0f1[0x1][_0x1a606d(0x26e,0x36d,0x2c8,0x250)]),_0x4c8f0e=_0x39b66d?_0x112a9f[_0x1c8ab3(0x179,0x23b,_0x17ec28._0x333a07,0x2a6)](_0x151b43):_0x151b43;let _0x2edffb='';if(_0x26910a[_0x1a606d(0x402,0x322,0x48e,_0x17ec28._0x217484)]===0x0)_0x2edffb=_0x1a606d(_0x17ec28._0xe7d9a1,0xe4,0x265,0x398)+_0x1ff5f1[_0x1a606d(_0x17ec28._0x465404,0x283,0x428,0x36e)];else{_0x2edffb=_0x1a606d(_0x17ec28._0x2b41da,0x24d,0x3d0,_0x17ec28._0x20265a)+_0x2b922e[_0x1c8ab3(-_0x17ec28._0x4cb3e3,-_0x17ec28._0x20abfe,-0xb2,0x1)]+_0x1c8ab3(_0x17ec28._0x4e4009,_0x17ec28._0x10df72,_0x17ec28._0x4d069f,0x239)+(_0x2b922e[_0x1a606d(0x32c,_0x17ec28._0x2a954d,0x1bb,0xbc)]===0x1?'':'es')+'\x0a';for(const [_0x1cc531,_0x50e498]of _0x31c0a9){const _0x23ed9c=_0x39b66d?_0x112a9f[_0x1a606d(0x3c6,_0x17ec28._0xa78da8,0x476,0x34b)](_0x1cc531):_0x112a9f['relative'](_0x4c8f0e,_0x1cc531);_0x2edffb+='\x0a'+_0x23ed9c+':\x0a';for(const _0x6ce73f of _0x50e498[_0x1c8ab3(-_0x17ec28._0x311ec8,-_0x17ec28._0x1ded3e,-_0x17ec28._0x4fda26,-_0x17ec28._0x1cec7e)]){const _0xb1c6fd=boundedGrepSnippet(_0x6ce73f[_0x1a606d(0x3da,0x361,0x3e6,_0x17ec28._0x152de8)]),_0x2bf3fa=_0x6ce73f[_0x1a606d(_0x17ec28._0x734d,0x237,_0x17ec28._0x44a25d,_0x17ec28._0x3aa8d2)]?'\x20\x20':'>\x20';_0x2edffb+=_0x2bf3fa+'Line\x20'+_0x6ce73f['lineNum']+':\x20'+_0xb1c6fd+'\x0a';}}_0x2b922e['truncated']&&(_0x2edffb+=_0x1c8ab3(-0x35,_0x17ec28._0x109600,_0x17ec28._0x4149b6,0x1b8));}const _0x3d4841={'searchPath':_0x112a9f[_0x1a606d(_0x17ec28._0x370207,0x3f4,0x26d,0x2ff)](_0x29ca82,_0x151b43)||'.','pattern':_0x1ff5f1['pattern'],'matchCount':_0x2b922e['matchCount'],'fileCount':_0x2b922e[_0x1a606d(_0x17ec28._0x91cfee,_0x17ec28._0x22ae89,0x4f2,_0x17ec28._0x50a4ba)],'truncated':_0x2b922e[_0x1c8ab3(_0x17ec28._0xc7c0cf,0x13d,_0x17ec28._0x55b817,_0x17ec28._0x258bd4)]};return _0x4684d5&&_0x1ff5f1['include']!==void 0x0&&(_0x3d4841['include']=_0x1ff5f1[_0x1a606d(_0x17ec28._0x4bf2a1,0x4d5,0x3cd,0x355)]),yield createToolOutput(_0x2edffb['trim'](),_0x3d4841),void 0x0;}});}function createKillShellTool(_0x28996f){const _0x14cb2d={_0x505ed4:0x7f,_0x8c4ef:0x1,_0x375245:0x28b,_0x566dc0:0x1b3,_0x2155a3:0x54a},_0x41fb71={_0x30564e:0x16b,_0x4d6278:0x32b,_0x319621:0x6e,_0x52ad62:0x48,_0x5115b5:0x4e8,_0x1ff4f2:0x4b1,_0x51c769:0x3f5,_0x1d4e26:0x1b8,_0x30b472:0x23c,_0x3615c9:0x25c,_0x293410:0x27c,_0x5b3932:0x167,_0x1128a1:0x20b,_0x3f8732:0x16a,_0x4c1def:0x329,_0x2948d0:0x562,_0x5374f6:0xbb,_0x23e863:0x121,_0x14005a:0x2e2,_0x231e1d:0x372,_0x40ed63:0x1a5,_0x41f8d3:0xe,_0x53c688:0x7a,_0x547732:0x41,_0x33948d:0x513,_0x3c7466:0x4d7},_0x1baa14={_0x14883a:0x136,_0x5d19c2:0x399},_0x57ab04={_0x28a31c:0x188,_0x10e4b8:0xef},_0x327c8d={_0x3b6d67:0x35};function _0xd917e8(_0x24725e,_0x41c17f,_0x1fc895,_0x46185d){return _0x151cc1(_0x24725e-0xae,_0x46185d-0x5d,_0x41c17f,_0x46185d-_0x327c8d._0x3b6d67);}function _0x1823ca(_0x4d7189,_0x2569ac,_0x2b12d1,_0xb07681){return _0x151cc1(_0x4d7189-_0x57ab04._0x28a31c,_0x2569ac- -0x11d,_0x4d7189,_0xb07681-_0x57ab04._0x10e4b8);}const {registry:_0x430067}=_0x28996f;return defineTool({'name':_0x1823ca(-0x62,0x118,_0x14cb2d._0x505ed4,_0x14cb2d._0x8c4ef),'permissionClass':'always-confirm','description':'Terminate\x20a\x20background\x20process\x20started\x20with\x20Bash(runInBackground:true),\x20identified\x20by\x20its\x20shellId.','inputSchema':{'type':_0xd917e8(_0x14cb2d._0x375245,_0x14cb2d._0x566dc0,0x225,0x1c6),'properties':{'shellId':{'type':'string'}},'required':[_0xd917e8(_0x14cb2d._0x2155a3,0x441,0x62c,0x48c)]},async *'execute'(_0x283232){const _0x588e41={_0x56b14b:0x152,_0x106639:0x11a},_0x4910cb=await _0x430067['kill'](_0x283232[_0x2668c2(0xf3,0x154,0x6a,_0x41fb71._0x30564e)]);function _0x2668c2(_0x55cc22,_0x56d689,_0x535b72,_0x1767a0){return _0xd917e8(_0x55cc22-0x94,_0x535b72,_0x535b72-_0x1baa14._0x14883a,_0x55cc22- -_0x1baa14._0x5d19c2);}function _0x43c809(_0x3dfd3d,_0x11768a,_0x341a28,_0x449bdd){return _0xd917e8(_0x3dfd3d-0x3a,_0x3dfd3d,_0x341a28-_0x588e41._0x56b14b,_0x341a28- -_0x588e41._0x106639);}const _0x2b3bd7={'shellId':_0x4910cb[_0x43c809(0x340,0x3a8,0x372,_0x41fb71._0x4d6278)],'outcome':_0x4910cb[_0x2668c2(_0x41fb71._0x319621,0x45,0xae,-_0x41fb71._0x52ad62)],'status':_0x4910cb[_0x43c809(0x33b,_0x41fb71._0x5115b5,0x34b,_0x41fb71._0x1ff4f2)],'exitCode':_0x4910cb[_0x43c809(_0x41fb71._0x51c769,0x1c1,0x360,0x462)],'signal':_0x4910cb[_0x2668c2(-_0x41fb71._0x1d4e26,-0x2a0,-0x2c9,0x16)],'error':_0x4910cb[_0x43c809(0x172,_0x41fb71._0x30b472,0x341,_0x41fb71._0x3615c9)],'gracefulRequested':_0x4910cb[_0x43c809(_0x41fb71._0x293410,0x222,0x2e7,0x301)],'forceRequested':_0x4910cb[_0x43c809(0x269,0x206,_0x41fb71._0x5b3932,_0x41fb71._0x1128a1)]};if(_0x4910cb['outcome']===_0x2668c2(_0x41fb71._0x3f8732,0x8b,0x1a2,0x215))throw new ToolExecutionError(_0x43c809(0x258,_0x41fb71._0x4c1def,0x39c,_0x41fb71._0x2948d0)+_0x283232['shellId']+':\x20'+(_0x4910cb['error']??'unknown\x20termination\x20error'),_0x2b3bd7);const _0x2459aa=_0x4910cb['outcome']===_0x2668c2(-_0x41fb71._0x5374f6,-0x238,-_0x41fb71._0x23e863,-0x175)?'Process\x20'+_0x283232[_0x43c809(0x3bd,_0x41fb71._0x14005a,_0x41fb71._0x231e1d,0x448)]+_0x43c809(0x54,_0x41fb71._0x40ed63,0xf1,_0x41fb71._0x41f8d3)+_0x4910cb[_0x2668c2(0xcc,0x27,-0x67,-0xbf)]+'.':_0x2668c2(-_0x41fb71._0x53c688,-_0x41fb71._0x547732,-0x7b,0x5f)+_0x283232[_0x43c809(_0x41fb71._0x33948d,0x524,0x372,_0x41fb71._0x3c7466)]+'.';return createToolOutput(_0x2459aa,_0x2b3bd7);}});}import{readdir as _0x48e273,readFile as _0x4536a8,stat as _0x3a3658}from'fs/promises';import*as _0x4ff902 from'path';import*as _0xe4772f from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x6d911c,_0x238f9b){const _0x55ca43={_0x5ddc86:0x1eb,_0x2ef56e:0x32d,_0xbbefc5:0x2e9,_0x1e4e63:0x2cd,_0x4047a4:0x34e,_0x2bdc08:0x4b6,_0x1bc1c9:0x1ef,_0x1c02aa:0x492,_0xa31309:0x396,_0xbadd34:0x53d,_0x1e34ac:0x6bf,_0x4b5c95:0x5b5,_0x282bab:0x2b8,_0x4bf6a7:0x358,_0x4c4006:0x21f},_0x316533={_0x2d4caa:0xff,_0x9f57df:0x16e},_0x2e056d={_0x4ae33b:0x12e};if(_0x238f9b>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;const _0x43727d=await _0x4536a8(_0x6d911c)[_0x325fbc(_0x55ca43._0x5ddc86,_0x55ca43._0x2ef56e,_0x55ca43._0xbbefc5,_0x55ca43._0x1e4e63)](()=>null);function _0x325fbc(_0x4913ea,_0xbf59c,_0x1f205f,_0x36fa42){return _0x151cc1(_0x4913ea-0x39,_0xbf59c- -_0x2e056d._0x4ae33b,_0x4913ea,_0x36fa42-0xff);}if(!_0x43727d||isProbablyBinary(_0x43727d))return void 0x0;function _0x2f2f1a(_0x586176,_0x415391,_0x5ef1c6,_0x13f188){return _0x151cc1(_0x586176-0x1d1,_0x586176-_0x316533._0x2d4caa,_0x13f188,_0x13f188-_0x316533._0x9f57df);}return _0x43727d[_0x2f2f1a(_0x55ca43._0x4047a4,_0x55ca43._0x2bdc08,_0x55ca43._0x1bc1c9,_0x55ca43._0x1c02aa)](_0x325fbc(_0x55ca43._0xa31309,0x3be,0x46e,0x3b9))[_0x2f2f1a(_0x55ca43._0xbadd34,0x38a,_0x55ca43._0x1e34ac,_0x55ca43._0x4b5c95)](/\r?\n/)[_0x325fbc(_0x55ca43._0x282bab,_0x55ca43._0x4bf6a7,0x3f5,_0x55ca43._0x4c4006)];}function createLsTool(_0x5af00b={}){const _0x481b6a={_0x233137:0x43d,_0x345c33:0x478,_0x10aa3f:0x48d,_0x45eaa9:0x55b,_0x287cac:0xc2,_0x5c3811:0x1e,_0x51c7fc:0x80,_0x36fa90:0x601,_0x1d194a:0x566,_0x5cf839:0x61c,_0x40da42:0x81,_0x17d45d:0x233,_0x4d684c:0x252,_0x3cd64c:0xd8,_0x9ba50b:0x3e2,_0x26401f:0x36e,_0x9f4f92:0x1dc,_0x3298ed:0x5e1,_0x2e203a:0x627},_0x50e3e5={_0x3ce785:0x475,_0x238e98:0x29b,_0x5b0913:0x57a,_0x1f7524:0x377,_0x51d2bf:0x2e5,_0x310562:0x275,_0x29e9ad:0x696,_0x3ff44c:0x63d,_0x1f4db1:0x525,_0x502c38:0x232,_0x1472bd:0x286,_0xe5373b:0x192,_0x123391:0x2f1,_0x329bdf:0x3b7,_0x4625fb:0x293,_0x276bc3:0x179,_0x5c590d:0x302,_0xd52c81:0x827,_0x5c194a:0x760,_0x53f96c:0x4fc,_0x62e052:0x189,_0x123e31:0xca,_0x56da80:0x305,_0x4f9a71:0x18e,_0x1b7a3b:0x2ee,_0x42002f:0x543,_0x146383:0x6aa,_0x2afa82:0x52a,_0x7770b1:0x43a,_0x117e78:0x7bf,_0x6c9580:0x71e,_0x13a35a:0x1bf,_0x6f8204:0x3c7,_0x50c369:0x2be,_0x5bbcda:0x342,_0x2b285c:0x2be,_0x4e4252:0x15c,_0xf68781:0x7e,_0x1023d9:0x4e6,_0x3daf83:0x42c,_0xbd54fa:0x343,_0x4bdf3d:0x64c,_0x1ca530:0x768,_0x576112:0x13d,_0x4eeafe:0x2be},_0x38941f={_0x291b3a:0xbb,_0x18e0d2:0x1b3},_0x34c9f5={_0x55b4b1:0x2ea},_0x17aa52={_0x19a55e:0x9a},_0x3791c4={_0x2fed6f:0x15};function _0x494372(_0x34074a,_0x5593c2,_0x135986,_0x1872ab){return _0x1ac42a(_0x34074a-0x145,_0x5593c2-0x73,_0x1872ab- -_0x3791c4._0x2fed6f,_0x5593c2);}const _0x481a99=_0x4ff902[_0xdf5929(_0x481b6a._0x233137,_0x481b6a._0x345c33,_0x481b6a._0x10aa3f,_0x481b6a._0x45eaa9)](_0x5af00b[_0x494372(-0x70,_0x481b6a._0x287cac,-0x10b,_0x481b6a._0x5c3811)]??process[_0x494372(_0x481b6a._0x51c7fc,0x26,0x53,-0xfb)]()),_0x482f64=_0x5af00b[_0xdf5929(_0x481b6a._0x36fa90,_0x481b6a._0x1d194a,_0x481b6a._0x5cf839,0x644)]??[];function _0xdf5929(_0x567f02,_0x158652,_0x5cd5dd,_0x11c457){return _0x1ac42a(_0x567f02-_0x17aa52._0x19a55e,_0x158652-0xb7,_0x567f02-0x49f,_0x5cd5dd);}const _0x3d0e6e=_0x5af00b['name']??'Ls';return defineTool({'name':_0x3d0e6e,'permissionClass':_0x494372(_0x481b6a._0x40da42,_0x481b6a._0x17d45d,_0x481b6a._0x4d684c,_0x481b6a._0x3cd64c),'description':_0xdf5929(0x53e,0x596,_0x481b6a._0x9ba50b,0x4e8),'inputSchema':{'type':_0x494372(-0x378,-0x327,-0x347,-0x229),'properties':{'path':{'type':_0x494372(-0x215,-0x1bb,-_0x481b6a._0x26401f,-_0x481b6a._0x9f4f92)},'limit':{'type':_0xdf5929(_0x481b6a._0x3298ed,0x46e,0x76f,_0x481b6a._0x2e203a)}}},async *'execute'(_0x4492ad){const _0x1ad7f2=_0x4492ad['path']??'.',_0x5a94d0=resolveAllowedPath(_0x481a99,_0x482f64,_0x1ad7f2),_0x44c711=await _0x3a3658(_0x5a94d0)['catch'](()=>null);if(!_0x44c711?.[_0x309518(_0x50e3e5._0x3ce785,0x50c,0x552,0x68e)]())throw new ToolExecutionError(_0x2e92fd(0x183,0x3d6,0x134,_0x50e3e5._0x238e98)+_0x1ad7f2,{'path':_0x1ad7f2});const _0x3bfe91=_0x4492ad[_0x309518(0x3cf,0x459,_0x50e3e5._0x5b0913,_0x50e3e5._0x1f7524)]??0x3e8,_0x46db6f=Math['min'](Math[_0x2e92fd(0x281,_0x50e3e5._0x51d2bf,_0x50e3e5._0x310562,0x246)](Math[_0x309518(_0x50e3e5._0x29e9ad,_0x50e3e5._0x3ff44c,0x482,0x6fd)](_0x3bfe91),0x1),0x2710);function _0x2e92fd(_0xa58268,_0x596334,_0xdc04f8,_0x551cbd){return _0xdf5929(_0x551cbd- -_0x34c9f5._0x55b4b1,_0x596334-0x55,_0xa58268,_0x551cbd-0x1d1);}const _0x4b8879=await _0x48e273(_0x5a94d0),_0x1875a4=[];for(const _0x517f0c of _0x4b8879[_0x309518(0x463,_0x50e3e5._0x1f4db1,0x472,0x522)](0x0,_0x46db6f)){const _0x2ed688=_0x4ff902[_0x2e92fd(_0x50e3e5._0x502c38,_0x50e3e5._0x1472bd,_0x50e3e5._0xe5373b,_0x50e3e5._0x123391)](_0x5a94d0,_0x517f0c),_0x20c96e=await _0x3a3658(_0x2ed688)[_0x2e92fd(0x2ea,0x2de,_0x50e3e5._0x329bdf,_0x50e3e5._0x4625fb)](()=>null);if(!_0x20c96e)continue;let _0x217eca='other';if(_0x20c96e[_0x2e92fd(_0x50e3e5._0x276bc3,0x234,0x399,_0x50e3e5._0x5c590d)]())_0x217eca=_0x309518(_0x50e3e5._0xd52c81,0x67c,_0x50e3e5._0x5c194a,_0x50e3e5._0x53f96c);else{if(_0x20c96e['isDirectory']())_0x217eca='directory';else{if(_0x20c96e['isSymbolicLink']())_0x217eca=_0x2e92fd(0x105,0xb7,0x274,_0x50e3e5._0x62e052);}}const _0x7ba604={'name':_0x517f0c,'type':_0x217eca,'size':_0x20c96e['size'],'mtime':_0x20c96e[_0x2e92fd(-_0x50e3e5._0x123e31,0xa9,0x12d,0xc1)],'mode':_0x20c96e[_0x2e92fd(0x3e8,0x395,0x158,0x21a)]},_0x3ee4d9=_0x217eca===_0x2e92fd(0x1e4,_0x50e3e5._0x56da80,_0x50e3e5._0x4f9a71,_0x50e3e5._0x1b7a3b)?await countTextLines(_0x2ed688,_0x20c96e[_0x309518(_0x50e3e5._0x42002f,_0x50e3e5._0x146383,_0x50e3e5._0x2afa82,0x7ae)]):void 0x0;if(_0x3ee4d9!==void 0x0)_0x7ba604[_0x2e92fd(0x242,0x221,_0x50e3e5._0x7770b1,0x2a3)]=_0x3ee4d9;_0x1875a4['push'](_0x7ba604);}function _0x309518(_0x33db00,_0x4af320,_0x33d0c1,_0x17a35e){return _0x494372(_0x33db00-_0x38941f._0x291b3a,_0x33d0c1,_0x33d0c1-_0x38941f._0x18e0d2,_0x4af320-0x558);}_0x1875a4[_0x309518(_0x50e3e5._0x117e78,0x659,0x780,_0x50e3e5._0x6c9580)]((_0x4565c7,_0x3575fd)=>_0x4565c7[_0x309518(0x771,0x5d5,0x517,0x775)][_0x309518(0x3b0,0x361,0x223,0x403)](_0x3575fd[_0x2e92fd(0x26f,0x10b,0x299,0x247)]));const _0x1e00b2={'path':_0x1ad7f2,'total':_0x1875a4[_0x2e92fd(_0x50e3e5._0x13a35a,_0x50e3e5._0x6f8204,0x12e,_0x50e3e5._0x50c369)],'truncated':_0x4b8879[_0x2e92fd(0x259,_0x50e3e5._0x5bbcda,0x3a5,_0x50e3e5._0x2b285c)]>_0x46db6f,'entries':_0x1875a4};return yield createToolOutput(_0xe4772f[_0x2e92fd(0x204,_0x50e3e5._0x4e4252,_0x50e3e5._0xf68781,0xac)](_0x1e00b2,{'indent':0x2,'lineWidth':0x0})[_0x309518(0x3ad,_0x50e3e5._0x1023d9,_0x50e3e5._0x3daf83,_0x50e3e5._0xbd54fa)](),{'path':_0x1ad7f2,'total':_0x1875a4[_0x309518(0x4b7,_0x50e3e5._0x4bdf3d,0x4dc,_0x50e3e5._0x1ca530)],'truncated':_0x4b8879[_0x2e92fd(0x12b,_0x50e3e5._0x576112,0x265,_0x50e3e5._0x4eeafe)]>_0x46db6f,'limit':_0x46db6f,'entries':_0x1875a4}),void 0x0;}});}import{stat as _0x2780e6}from'fs/promises';import _0x4da47b from'path';import{fileURLToPath as _0x2e2aef}from'url';function awaitWithAbort(_0x372e08,_0x4bb0fb){const _0x467c57={_0x586620:0x40e,_0x4c0c79:0x444,_0x3d83cc:0x3a4,_0x2d97e9:0x4f9,_0x359a70:0x422},_0x113f85={_0x21420a:0x32d,_0x5b91a6:0x33,_0x4ae148:0x1f1,_0x4cbc00:0x17e,_0xe75efc:0x3d3,_0xcac6c:0x388,_0x82bad6:0xf0},_0x5a382a={_0x589ca6:0x23,_0x4a343c:0x147},_0x282ec7={_0x4f6873:0xb9,_0xb3e8e0:0x222};if(!_0x4bb0fb)return _0x372e08;function _0x26d30c(_0xc5d99,_0x303b9b,_0x45ecf6,_0x1052ec){return _0x151cc1(_0xc5d99-_0x282ec7._0x4f6873,_0xc5d99-_0x282ec7._0xb3e8e0,_0x303b9b,_0x1052ec-0x50);}if(_0x4bb0fb[_0x26d30c(_0x467c57._0x586620,0x37a,0x3f5,0x3e7)])return Promise[_0x26d30c(_0x467c57._0x4c0c79,0x44c,_0x467c57._0x3d83cc,_0x467c57._0x2d97e9)](toAbortError(_0x4bb0fb[_0x26d30c(0x4d8,0x3c0,0x651,_0x467c57._0x359a70)]));function _0x4b88ec(_0x44003a,_0x3bcf69,_0xd95ec5,_0x610ce4){return _0x151cc1(_0x44003a-_0x5a382a._0x589ca6,_0xd95ec5- -0x314,_0x44003a,_0x610ce4-_0x5a382a._0x4a343c);}return new Promise((_0x4c3ddc,_0x5e3aa3)=>{const _0x4b0358={_0x5ab389:0xa9,_0x54b625:0x10b},_0x51fef7={_0x370989:0x341,_0x528f94:0x39d},_0xf1a73f=()=>{function _0x172332(_0x4e6cc8,_0x3b7bb7,_0xef1972,_0x3397f1){return _0x5041(_0x4e6cc8- -0x74,_0x3397f1);}_0x53b470(),_0x5e3aa3(toAbortError(_0x4bb0fb[_0x172332(0x1ef,_0x51fef7._0x370989,0x236,_0x51fef7._0x528f94)]));};function _0x568003(_0x4fb6dd,_0xe2a864,_0x5c0d02,_0x4aafa4){return _0x26d30c(_0x4aafa4- -0xc6,_0xe2a864,_0x5c0d02-0x8e,_0x4aafa4-0x168);}const _0x53b470=()=>_0x4bb0fb[_0x16a481(0x1b8,0x309,0x161,0x25b)](_0x16a481(0x2d7,0x30d,0x137,0x17e),_0xf1a73f);_0x4bb0fb[_0x568003(0x2bd,0x540,_0x113f85._0x21420a,0x370)](_0x16a481(_0x113f85._0x5b91a6,0x231,_0x113f85._0x4ae148,_0x113f85._0x4cbc00),_0xf1a73f,{'once':!![]});function _0x16a481(_0x1aa827,_0x4a578e,_0x535a71,_0x5d658e){return _0x4b88ec(_0x535a71,_0x4a578e-_0x4b0358._0x5ab389,_0x5d658e-_0x4b0358._0x54b625,_0x5d658e-0x12d);}_0x372e08[_0x16a481(_0x113f85._0xe75efc,_0x113f85._0xcac6c,_0x113f85._0x82bad6,0x28c)](_0x72faf9=>{_0x53b470(),_0x4c3ddc(_0x72faf9);},_0x50b1f1=>{_0x53b470(),_0x5e3aa3(_0x50b1f1);});});}function severityName(_0x554643){const _0x1165b4={_0x2e9e05:0x3c0,_0x238413:0x532,_0x1c844d:0x76e},_0x23b215={_0xba31e4:0xd0},_0x5d969e={_0x264fca:0x11d,_0x4fa830:0x2d7};function _0x437140(_0x1b50b5,_0x1e8823,_0x4d5537,_0x33f5dc){return _0x151cc1(_0x1b50b5-_0x5d969e._0x264fca,_0x4d5537-_0x5d969e._0x4fa830,_0x1e8823,_0x33f5dc-0x16d);}function _0x2a0858(_0x2449b3,_0x36787b,_0x276365,_0x3ed29f){return _0x151cc1(_0x2449b3-0x34,_0x276365-0x253,_0x36787b,_0x3ed29f-_0x23b215._0xba31e4);}switch(_0x554643){case 0x1:return _0x437140(_0x1165b4._0x2e9e05,0x509,_0x1165b4._0x238413,0x6c9);case 0x2:return _0x2a0858(_0x1165b4._0x1c844d,0x79b,0x727,0x6bc);case 0x3:return _0x437140(0x557,0x54c,0x712,0x6ad);case 0x4:return'Hint';default:return'Diagnostic';}}function formatSingleHover(_0x50388f){const _0x187982={_0x197b53:0x27a,_0x10424c:0x1df,_0x3af8fe:0x3db,_0x5ee520:0x245,_0x468372:0x382,_0x133219:0x39b,_0x5cdf79:0x1d4,_0x4f18bf:0x23,_0x58a9cb:0x66d,_0x6817a5:0x627,_0x4625de:0x3fd,_0x5d70c7:0x231,_0x1de2b2:0x205,_0x866946:0x157,_0x34f951:0x565,_0x4790e8:0x54a,_0x223a7c:0x3e1,_0x1a4cf6:0x5bf,_0x31e2b5:0x4fc,_0x1b6a73:0x437,_0x2ce6bb:0x27d,_0x433cd2:0x2f7,_0x5f1b36:0x1cb,_0x4839bc:0x2ec,_0x5b40f4:0x47c,_0x1fbdd6:0x2c1,_0x3710ab:0x274},_0x13b061={_0x4b3417:0xf8,_0x46269e:0xb3},_0x28c9ba={_0x30f890:0x7e},_0x19414a=_0x50388f[_0x45d18f(_0x187982._0x197b53,0x337,_0x187982._0x10424c,_0x187982._0x3af8fe)];function _0x5b6f39(_0x51d23b,_0x5e09ab,_0x31db55,_0x2dd97e){return _0x1ac42a(_0x51d23b-0x112,_0x5e09ab-0x14d,_0x51d23b- -_0x28c9ba._0x30f890,_0x2dd97e);}if(typeof _0x19414a===_0x5b6f39(-_0x187982._0x5ee520,-0x303,-_0x187982._0x468372,-_0x187982._0x133219))return _0x19414a;if(Array[_0x5b6f39(-0x1a7,-0x1f0,-_0x187982._0x5cdf79,-_0x187982._0x4f18bf)](_0x19414a))return _0x19414a['map'](_0x2ce4b0=>typeof _0x2ce4b0==='string'?_0x2ce4b0:_0x2ce4b0['value'])['filter'](Boolean)[_0x45d18f(_0x187982._0x58a9cb,0x56c,0x51f,_0x187982._0x6817a5)]('\x0a\x0a');if('kind'in _0x19414a)return _0x19414a[_0x45d18f(_0x187982._0x4625de,_0x187982._0x5d70c7,_0x187982._0x1de2b2,_0x187982._0x866946)];function _0x45d18f(_0x36828e,_0x567bc4,_0x2e454d,_0x468589){return _0x151cc1(_0x36828e-_0x13b061._0x4b3417,_0x567bc4-_0x13b061._0x46269e,_0x468589,_0x468589-0xc8);}return _0x19414a[_0x45d18f(_0x187982._0x34f951,_0x187982._0x4790e8,_0x187982._0x223a7c,_0x187982._0x1a4cf6)]?_0x45d18f(0x37d,0x413,_0x187982._0x31e2b5,_0x187982._0x1b6a73)+_0x19414a['language']+'\x0a'+_0x19414a[_0x5b6f39(-_0x187982._0x2ce6bb,-0x22d,-0x221,-_0x187982._0x433cd2)]+_0x45d18f(_0x187982._0x5f1b36,_0x187982._0x4839bc,_0x187982._0x5b40f4,0x21c):_0x19414a[_0x5b6f39(-_0x187982._0x2ce6bb,-_0x187982._0x1fbdd6,-_0x187982._0x3710ab,-0x2d1)];}function formatHover(_0x1bdcfc){const _0x239b5c={_0x1f80c3:0x650,_0x492ab5:0x562,_0x17d74e:0x212,_0x9fb5f9:0x2c4,_0xc976f7:0x14,_0x577923:0x119,_0x4c1b4f:0x3f,_0x529b6f:0x29e,_0xd07ef8:0xaf},_0x411526={_0x5603f9:0x11b,_0x1087ad:0x6b},_0x582c51={_0x31a544:0xf8};if(_0x1bdcfc[_0xbb1186(0x531,0x5c6,_0x239b5c._0x1f80c3,_0x239b5c._0x492ab5)]===0x0)return _0x44c61e(-_0x239b5c._0x17d74e,-_0x239b5c._0x9fb5f9,-0x342,-0x27e);function _0xbb1186(_0x27f350,_0x2bc050,_0x5c6147,_0x586d6c){return _0x151cc1(_0x27f350-_0x582c51._0x31a544,_0x5c6147-0x1ca,_0x586d6c,_0x586d6c-0x1d);}function _0x44c61e(_0x30f4e8,_0x216042,_0x2c0acc,_0x4a86bc){return _0x1ac42a(_0x30f4e8-0x1dc,_0x216042-_0x411526._0x5603f9,_0x4a86bc- -_0x411526._0x1087ad,_0x2c0acc);}return _0x1bdcfc[_0x44c61e(-_0x239b5c._0xc976f7,_0x239b5c._0x577923,-0x155,_0x239b5c._0x4c1b4f)](formatSingleHover)[_0x44c61e(0x205,_0x239b5c._0x529b6f,-_0x239b5c._0xd07ef8,0xd1)]('\x0a\x0a---\x0a\x0a');}function locationPath(_0x21a8db){const _0x591132={_0xd871af:0x4a8,_0x1438fd:0x3dc,_0x5875b5:0x7d,_0x46ed12:0x187},_0x1f0e8b={_0x21e0e2:0x1c0,_0x33d85f:0x1d3},_0x1fa7da={_0x466b2c:0x183,_0x3304b5:0x9b,_0x1889a7:0x7f};function _0x2b5350(_0x5e1491,_0x125aed,_0x251eea,_0x20be19){return _0x151cc1(_0x5e1491-_0x1fa7da._0x466b2c,_0x5e1491-_0x1fa7da._0x3304b5,_0x20be19,_0x20be19-_0x1fa7da._0x1889a7);}if(!_0x21a8db[_0x2b5350(_0x591132._0xd871af,0x30a,_0x591132._0x1438fd,0x3d2)](_0x454d0b(0x10f,-_0x591132._0x5875b5,0x15a,_0x591132._0x46ed12)))return _0x21a8db;function _0x454d0b(_0x52ddfe,_0x51fe81,_0x28de96,_0x18e5d9){return _0x151cc1(_0x52ddfe-_0x1f0e8b._0x21e0e2,_0x52ddfe- -0x253,_0x51fe81,_0x18e5d9-_0x1f0e8b._0x33d85f);}return _0x2e2aef(_0x21a8db);}function formatLocations(_0x455a20){const _0x3cc977={_0x1da4a9:0x446,_0x19fa1f:0x474,_0x3408a9:0x29a,_0x4c046d:0x15b,_0x1db544:0x1b7,_0x58c508:0x1bd,_0x282736:0x10d,_0x91f5cd:0x221,_0x3b35d6:0x40f,_0x4baf52:0x2b3},_0x1ae95f={_0x474c3e:0x425,_0x112ea1:0x36e,_0x532f85:0x279,_0xdef29e:0x35f,_0x1f65cb:0x3ab,_0x1b3613:0x387},_0x2b4967={_0x26dc02:0x8e},_0x475299={_0x48a486:0x1f},_0x3e7d5b={_0x57301f:0x16c,_0x19ef6a:0x1},_0x503d44={_0x5709ad:0x1ad};if(_0x455a20[_0x3fad92(0x31a,_0x3cc977._0x1da4a9,_0x3cc977._0x19fa1f,_0x3cc977._0x3408a9)]===0x0)return _0x245be8(0x328,0x2bb,_0x3cc977._0x4c046d,_0x3cc977._0x1db544);function _0x245be8(_0x3cbbaf,_0x59780e,_0x16db14,_0x36facd){return _0x151cc1(_0x3cbbaf-0x42,_0x36facd- -0x206,_0x59780e,_0x36facd-_0x503d44._0x5709ad);}function _0x3fad92(_0x50761a,_0x13ff32,_0x1ca4ef,_0x1fa52f){return _0x151cc1(_0x50761a-0xdb,_0x50761a- -_0x3e7d5b._0x57301f,_0x13ff32,_0x1fa52f-_0x3e7d5b._0x19ef6a);}return _0x455a20[_0x245be8(_0x3cc977._0x58c508,_0x3cc977._0x282736,0x91,_0x3cc977._0x91f5cd)](_0x54c4d0=>{function _0x437d17(_0x16a886,_0x331464,_0x46deec,_0x4a6a0a){return _0x3fad92(_0x331464-0xf0,_0x46deec,_0x46deec-0xf5,_0x4a6a0a-_0x475299._0x48a486);}const _0x1414bf=_0x54c4d0[_0x437d17(0x349,_0x1ae95f._0x474c3e,_0x1ae95f._0x112ea1,0x3d1)]['start'];function _0x2dba41(_0x13f320,_0x323b94,_0x5c8482,_0x4c8ef4){return _0x245be8(_0x13f320-_0x2b4967._0x26dc02,_0x5c8482,_0x5c8482-0xf5,_0x323b94-0x295);}return locationPath(_0x54c4d0[_0x2dba41(_0x1ae95f._0x532f85,_0x1ae95f._0xdef29e,0x1e9,0x2d0)])+':'+(_0x1414bf[_0x437d17(_0x1ae95f._0x1f65cb,0x358,_0x1ae95f._0x1b3613,0x1f2)]+0x1)+':'+(_0x1414bf[_0x437d17(0x2a1,0x2a0,0x1e3,0x160)]+0x1);})[_0x245be8(0x15d,0x1f0,_0x3cc977._0x3b35d6,_0x3cc977._0x4baf52)]('\x0a');}function isDocumentSymbol(_0x1242e7){const _0x2e4ab5={_0x3c2678:0xc5};function _0x3acc16(_0x4961c0,_0x3f8bf3,_0x227db5,_0x536792){return _0x1ac42a(_0x4961c0-0x15,_0x3f8bf3-0x121,_0x227db5-0x38d,_0x536792);}function _0x4cbb61(_0xf170bf,_0x431133,_0x2441f2,_0x4792c8){return _0x1ac42a(_0xf170bf-0x6c,_0x431133-0x12f,_0x431133- -0x64,_0xf170bf);}return _0x4cbb61(0x17d,0xc0,0x191,0x5f)in _0x1242e7&&_0x4cbb61(-0x1ce,-0xc3,_0x2e4ab5._0x3c2678,-0x11b)in _0x1242e7;}function formatSymbols(_0x35bae1){const _0x571859={_0x62bcf4:0x28f,_0x45b43f:0x338,_0x8d0939:0xba,_0x4644f2:0x12e},_0x27b408={_0x224b78:0x567,_0x43ec64:0x563,_0x24d6e0:0x577,_0x4a6f33:0x3f1,_0x45d1c7:0x396,_0x2cf9fc:0x6fc,_0x21a885:0x618,_0x31983f:0x763,_0x3de862:0x2d7,_0x3c2cbe:0x1b6,_0x1f4b31:0x134,_0x1500c:0x366,_0x207b56:0x78a,_0x54dcda:0xc1,_0x1cc5ea:0x661,_0x4a12b6:0x4d3,_0x18d24f:0xc4,_0x137263:0x764,_0x5a62ee:0x6b8,_0x4837da:0x66b,_0x41ccf4:0x969,_0xdfa931:0x6c8,_0x12507a:0x44e,_0x1e4494:0x8e3,_0x3f2f6d:0x7a0,_0xcb886c:0x74a,_0x14db76:0x61a,_0x251d60:0x67d,_0x24abc6:0x79d,_0xbac8df:0x130,_0x157a93:0x2d2,_0xe8c75:0x13d,_0x140347:0x129,_0x275bed:0x1b5},_0x2b2ba1={_0x3a5e61:0x141};function _0x1fdc74(_0x131dfb,_0x1f7f53,_0x3b63b1,_0x47e1dd){return _0x1ac42a(_0x131dfb-0xcf,_0x1f7f53-_0x2b2ba1._0x3a5e61,_0x1f7f53-0x3fc,_0x131dfb);}function _0x23ecbf(_0x10a01d,_0x4ddea6,_0x492b1a,_0x5a0f79){return _0x151cc1(_0x10a01d-0x1da,_0x492b1a- -0x38b,_0x4ddea6,_0x5a0f79-0xd4);}if(_0x35bae1['length']===0x0)return _0x1fdc74(_0x571859._0x62bcf4,0x22c,0x3d2,_0x571859._0x45b43f);return _0x35bae1['map'](_0x3c8fcf=>{const _0x35408f={_0x3b6afe:0x22a,_0x22467c:0x31,_0x387ec8:0x86};function _0x27b722(_0xce1a51,_0x21d98f,_0x24be47,_0x340495){return _0x1fdc74(_0x24be47,_0x21d98f- -0x45f,_0x24be47-0x65,_0x340495-0x164);}if(isDocumentSymbol(_0x3c8fcf))return _0x3c8fcf['name']+'\x20('+_0x3c8fcf[_0x413e3d(_0x27b408._0x224b78,_0x27b408._0x43ec64,_0x27b408._0x24d6e0,_0x27b408._0x4a6f33)]+_0x413e3d(0x4e8,0x35a,0x503,_0x27b408._0x45d1c7)+(_0x3c8fcf[_0x413e3d(_0x27b408._0x2cf9fc,_0x27b408._0x21a885,0x74a,_0x27b408._0x31983f)][_0x27b722(-_0x27b408._0x3de862,-_0x27b408._0x3c2cbe,-_0x27b408._0x1f4b31,-_0x27b408._0x1500c)][_0x413e3d(0x7f6,0x5f2,0x67d,_0x27b408._0x207b56)]+0x1)+':'+(_0x3c8fcf[_0x27b722(0x8,_0x27b408._0x54dcda,0x238,0x1ac)][_0x413e3d(0x6a2,_0x27b408._0x1cc5ea,_0x27b408._0x4a12b6,0x460)][_0x27b722(-0x13a,-_0x27b408._0x18d24f,-0x1df,-0x51)]+0x1)+']';function _0x413e3d(_0x2b7541,_0x3615c3,_0x1b4623,_0x2ceeae){return _0x1fdc74(_0x2ceeae,_0x1b4623-_0x35408f._0x3b6afe,_0x1b4623-_0x35408f._0x22467c,_0x2ceeae-_0x35408f._0x387ec8);}return _0x3c8fcf[_0x413e3d(_0x27b408._0x137263,0x68c,_0x27b408._0x5a62ee,0x5be)]+'\x20('+_0x3c8fcf['kind']+')\x20'+locationPath(_0x3c8fcf[_0x413e3d(0x818,_0x27b408._0x4837da,0x7a0,_0x27b408._0x41ccf4)][_0x413e3d(0x5f1,_0x27b408._0xdfa931,0x579,_0x27b408._0x12507a)])+':'+(_0x3c8fcf[_0x413e3d(_0x27b408._0x1e4494,0x622,_0x27b408._0x3f2f6d,0x779)][_0x413e3d(0x81f,0x5c5,_0x27b408._0xcb886c,0x794)][_0x413e3d(0x60a,_0x27b408._0x14db76,0x4d3,0x60e)][_0x413e3d(0x536,0x72a,_0x27b408._0x251d60,_0x27b408._0x24abc6)]+0x1)+':'+(_0x3c8fcf[_0x27b722(_0x27b408._0xbac8df,0x117,_0x27b408._0x157a93,0x1a5)][_0x27b722(_0x27b408._0xe8c75,_0x27b408._0x54dcda,0x266,0x262)][_0x27b722(-0x381,-_0x27b408._0x3c2cbe,-_0x27b408._0x140347,-_0x27b408._0x275bed)]['character']+0x1);})[_0x23ecbf(_0x571859._0x8d0939,-0x27,_0x571859._0x4644f2,0x68)]('\x0a');}function formatDiagnostics(_0x33588b){const _0x3b8d96={_0x20efbe:0xb6,_0x3907f8:0xbe,_0x1d615d:0x27,_0x343d9c:0xe9,_0x560262:0xdc,_0x2101ec:0x1ed,_0x2782d1:0x595,_0x4ab998:0x6a0,_0x3fe8e0:0x528,_0x34b81e:0x50f},_0x14308d={_0x18297a:0x38a,_0x1d9731:0x609,_0x2b7218:0x62b,_0x1f0ff7:0x4f9,_0x3579ea:0x673,_0x1de0e7:0x4a6,_0x5cd07a:0x36a,_0x1b4913:0x43a,_0x3c2266:0x4ba},_0x31c24d={_0x1df845:0x53},_0x557610={_0x5dab58:0x4d};if(_0x33588b[_0x1eeb5d(0x262,_0x3b8d96._0x20efbe,_0x3b8d96._0x3907f8,-_0x3b8d96._0x1d615d)]===0x0)return _0x1eeb5d(-_0x3b8d96._0x343d9c,-_0x3b8d96._0x560262,-_0x3b8d96._0x2101ec,-0xea);function _0x22a127(_0x569fb0,_0x97a1be,_0x393bdb,_0x340304){return _0x1ac42a(_0x569fb0-0xb4,_0x97a1be-_0x557610._0x5dab58,_0x340304-0x465,_0x569fb0);}function _0x1eeb5d(_0x547faf,_0x374ddb,_0x37478d,_0x2bf75b){return _0x1ac42a(_0x547faf-0x130,_0x374ddb-0x166,_0x374ddb- -_0x31c24d._0x1df845,_0x547faf);}return _0x33588b[_0x22a127(_0x3b8d96._0x2782d1,_0x3b8d96._0x4ab998,_0x3b8d96._0x3fe8e0,_0x3b8d96._0x34b81e)](_0xa0648d=>{const _0x46fbcd={_0x5ad4eb:0x128},_0x255772={_0x4a5922:0x5ec},_0xba9e4b=_0xa0648d['range'][_0x2db41f(_0x14308d._0x18297a,_0x14308d._0x1d9731,_0x14308d._0x2b7218,_0x14308d._0x1f0ff7)];function _0x393a68(_0x27808e,_0x337c6f,_0x2ed1bf,_0x5d53fb){return _0x1eeb5d(_0x27808e,_0x337c6f-_0x255772._0x4a5922,_0x2ed1bf-0x2a,_0x5d53fb-0x25);}function _0x2db41f(_0x1e5e2c,_0x36da5c,_0x1f2d18,_0x32a1f9){return _0x1eeb5d(_0x1f2d18,_0x32a1f9-0x69f,_0x1f2d18-_0x46fbcd._0x5ad4eb,_0x32a1f9-0x1d8);}return severityName(_0xa0648d[_0x393a68(_0x14308d._0x3579ea,_0x14308d._0x1de0e7,_0x14308d._0x5cd07a,_0x14308d._0x1b4913)])+'\x20['+(_0xba9e4b[_0x393a68(0x68b,0x5f0,0x552,_0x14308d._0x3c2266)]+0x1)+':'+(_0xba9e4b['character']+0x1)+']\x20'+_0xa0648d['message'];})['join']('\x0a');}function formatIncomingCalls(_0xdf48b){const _0x73a901={_0x8f7d89:0x1c4,_0x39db6a:0x38d,_0x419126:0x36f,_0x4fa7ec:0x16a,_0x343152:0x1cd,_0x384a3a:0x1fd,_0x295a47:0x50f,_0x519a8b:0x56c},_0x5357d8={_0xa4eed6:0xbb,_0xd2b31a:0x347},_0x2a7b5f={_0x21545d:0x1,_0x5d7fc9:0x266};if(_0xdf48b[_0x35001f(_0x73a901._0x8f7d89,_0x73a901._0x39db6a,_0x73a901._0x419126,0x2e7)]===0x0)return _0x35001f(_0x73a901._0x4fa7ec,_0x73a901._0x343152,_0x73a901._0x384a3a,0x365);function _0x35001f(_0x28f64a,_0x2b944a,_0x3ac4b9,_0x3d1240){return _0x1ac42a(_0x28f64a-0xd9,_0x2b944a-_0x2a7b5f._0x21545d,_0x3ac4b9-_0x2a7b5f._0x5d7fc9,_0x3d1240);}function _0x234f57(_0x717f98,_0x1d19ab,_0x49b9ee,_0x4e284e){return _0x1ac42a(_0x717f98-0x3a,_0x1d19ab-_0x5357d8._0xa4eed6,_0x4e284e-_0x5357d8._0xd2b31a,_0x1d19ab);}return _0xdf48b['map'](_0x14c706=>_0x14c706['from'][_0x35001f(0x2c0,0x1b5,0x2f8,0x1c8)])[_0x35001f(0x395,_0x73a901._0x295a47,0x3a2,_0x73a901._0x519a8b)]('\x0a');}function formatOutgoingCalls(_0x37198c){const _0x5bac62={_0x1c7e42:0x1f5,_0x22b413:0x1e6,_0x17e9f0:0x68b,_0x496e5d:0x5d4,_0x1778cf:0x856,_0x314d69:0x3a1,_0x50c784:0x2ed},_0x388ff3={_0x47241b:0x65f},_0xba9476={_0x1a97ad:0x116,_0x4ac77c:0x1cc,_0x2a0f11:0x1b1};if(_0x37198c[_0xa556db(_0x5bac62._0x1c7e42,_0x5bac62._0x22b413,0x2ba,0x463)]===0x0)return _0xeb00f4(_0x5bac62._0x17e9f0,0x5f6,0x7a3,0x6cc);function _0xa556db(_0x3ef934,_0x35a31d,_0xfe8ed1,_0xbd79d5){return _0x1ac42a(_0x3ef934-_0xba9476._0x1a97ad,_0x35a31d-_0xba9476._0x4ac77c,_0xfe8ed1-_0xba9476._0x2a0f11,_0x35a31d);}function _0xeb00f4(_0x4b5da7,_0x1b0a7e,_0x416e42,_0x169781){return _0x1ac42a(_0x4b5da7-0xec,_0x1b0a7e-0x1d0,_0x1b0a7e-_0x388ff3._0x47241b,_0x4b5da7);}return _0x37198c[_0xeb00f4(_0x5bac62._0x496e5d,0x709,0x5a3,_0x5bac62._0x1778cf)](_0x1f90cc=>_0x1f90cc['to'][_0xeb00f4(0x77a,0x6f1,0x7f6,0x75d)])[_0xa556db(_0x5bac62._0x314d69,0x258,_0x5bac62._0x50c784,0x12b)]('\x0a');}function toStructured(_0x1dd56e){const _0x2a2fc0={_0x2419a9:0x7d0},_0x5461c6={_0x1c009e:0x100};function _0x5c0d5e(_0x1e402f,_0x4cd7d7,_0x3374e7,_0x4bc0d0){return _0x151cc1(_0x1e402f-_0x5461c6._0x1c009e,_0x4cd7d7-0x377,_0x4bc0d0,_0x4bc0d0-0x1d3);}return JSON[_0x5c0d5e(0x582,0x6e6,0x5bb,_0x2a2fc0._0x2419a9)](JSON['stringify'](_0x1dd56e));}async function assertFile(_0x276795){const _0xa9fc49={_0x2cce8d:0x446,_0x365c2e:0x34f},_0x30c3b6={_0x51b433:0x167};function _0x1c2fe1(_0x43629b,_0x3124aa,_0x153bd8,_0x49d4d2){return _0x151cc1(_0x43629b-_0x30c3b6._0x51b433,_0x3124aa-0x2c1,_0x153bd8,_0x49d4d2-0x1ef);}const _0x2e7235=await _0x2780e6(_0x276795);if(!_0x2e7235['isFile']())throw new ToolExecutionError(_0x1c2fe1(0x399,_0xa9fc49._0x2cce8d,_0xa9fc49._0x365c2e,0x523)+_0x276795,{'path':_0x276795});}function validatePosition(_0xd8a175,_0x565a77){const _0x35f7ae={_0x113945:0x23,_0x3535de:0xfb,_0x52c1b6:0xaa,_0x1f4bed:0x3af,_0x1ccf64:0x33d,_0x14d730:0x4ee},_0x35ee37={_0x7a814f:0x6e,_0x50ef77:0x2b3,_0x3debbf:0xa9},_0xd80419={_0x281f95:0x138,_0x15255f:0x1ab};function _0x29bd43(_0x33d54d,_0x4eeba0,_0xcf5228,_0x23ebb4){return _0x151cc1(_0x33d54d-0x145,_0x23ebb4- -_0xd80419._0x281f95,_0x4eeba0,_0x23ebb4-_0xd80419._0x15255f);}function _0x4d7866(_0x3f9804,_0x49e004,_0x3c78c7,_0x335dc3){return _0x151cc1(_0x3f9804-_0x35ee37._0x7a814f,_0x3c78c7- -_0x35ee37._0x50ef77,_0x49e004,_0x335dc3-_0x35ee37._0x3debbf);}if(!Number['isInteger'](_0xd8a175)||_0xd8a175<0x1)throw new ToolExecutionError(_0x29bd43(0xf2,0x14b,0xdd,0x37),{'line':_0xd8a175});if(!Number[_0x29bd43(0x69,-_0x35f7ae._0x113945,-_0x35f7ae._0x3535de,_0x35f7ae._0x52c1b6)](_0x565a77)||_0x565a77<0x1)throw new ToolExecutionError(_0x29bd43(_0x35f7ae._0x1f4bed,_0x35f7ae._0x1ccf64,_0x35f7ae._0x14d730,0x385),{'character':_0x565a77});}function createLspTool(_0x10b9eb={}){const _0x567940={_0x5df75b:0xf7,_0x1f34b8:0x10f,_0x33b016:0x24,_0x337242:0xe,_0x114018:0x126,_0x455dc5:0x21c,_0x193e91:0xd0,_0x376fd0:0x200,_0x31d458:0xf7,_0x11431c:0x10c,_0x42d461:0xf3,_0xe3ed45:0x1c7,_0x2b33e9:0x12b,_0x11e944:0xb7,_0x592565:0x1b4,_0xde73a0:0x30b,_0x5bd7a0:0x347,_0x2d8b01:0x189,_0x59423f:0x330,_0x31dca0:0x734,_0x41549c:0x605,_0xd3c623:0x5d0,_0x5942c7:0x4c5,_0x3eea95:0x516,_0x5b607f:0x690,_0x1fa8cd:0xad,_0x448cb7:0x1ac,_0x5c00cb:0xa4,_0x27f444:0x170,_0x4d0219:0x39d,_0x47065d:0x55b,_0x4ef2cf:0x97,_0x2e1a49:0xdb,_0x297d80:0x247,_0x271953:0x152,_0x46480a:0x1,_0xfbefdf:0x31d,_0xf79b1a:0x189,_0x4189d8:0x230,_0x52b406:0x2e1,_0x5e3d68:0x2b7,_0x330594:0x177,_0x2e78c9:0x290,_0x195fe3:0x1e9,_0x1ab632:0x23,_0x2cff9c:0x8c},_0x59a2de={_0x2e3e08:0x5a1,_0x54bd24:0x57f,_0x5ead0:0x42f,_0x4d8694:0x58b,_0x45e225:0x53b,_0x42e914:0x745,_0x1adcf5:0x3b6,_0x3f5fbf:0x468,_0x951476:0x555,_0x3c1090:0x632,_0x4e2843:0x4dc,_0x1801dc:0x448,_0x395914:0x62b,_0x1556ba:0x680,_0x1f39b5:0x465,_0x304ed5:0x3ba,_0x33f39d:0x462,_0x2f5257:0x580,_0x2777e2:0x549,_0x4c912d:0x5b7,_0x40fd95:0x48e,_0x502c87:0x4db,_0x2fdfde:0x390,_0x3b6aae:0x235,_0x108c87:0x34a,_0x3807a7:0x46c,_0x4c4ce0:0x38b,_0x119ff5:0x5f1,_0x5b56e6:0x4d7,_0x5b74ab:0x2e5,_0x2654b3:0x219,_0x16fbae:0x291,_0x4f674c:0x2cd,_0x36dd56:0x49e,_0x5bb7ca:0x2ff,_0x45e716:0x310,_0x5f22b1:0x2db,_0x31125e:0x483,_0x48b39d:0x4c0,_0x19f4ea:0x278,_0x2b2be3:0x43f,_0x48bedf:0x69d,_0x1259fe:0x59a,_0x4c0ab5:0x658,_0x1aa40c:0x203,_0x3afd62:0x308,_0x218068:0x38d,_0x373532:0x22e,_0x5800c4:0x352,_0x297524:0x542,_0x51921b:0xd6,_0x1e1e14:0xca,_0xe8aef9:0x2a2,_0x37f942:0x203,_0x585b75:0x563,_0xd18bfb:0x3ed,_0x42107a:0x34e,_0x23c419:0x5e4,_0x5dbb19:0x548,_0x263071:0x494,_0x43c238:0x621,_0x4c571f:0x4ca,_0x42d953:0x4f0,_0x4eab60:0x390,_0x13a021:0x4fa,_0x4c40fc:0x426,_0x2feae9:0x484,_0x137af3:0x1c1,_0x531faa:0x390,_0x15de43:0x41c,_0x1e013f:0x13c,_0x36b80e:0x2e3,_0x3ddace:0x396,_0x3da38a:0x531,_0x2a3470:0x28c,_0x2e44c3:0x3f9,_0x27a663:0x3c6,_0x24d7fb:0x427,_0x59215d:0x2e8},_0x1c6d28={_0x3be661:0x10b,_0x21c28e:0xd1},_0x67e23e={_0x9848b0:0x2f,_0x3954dd:0x104,_0x10b7d1:0x47e},_0x1127d4={_0x41b8b0:0x75,_0x415832:0x3e},_0x28fa1e=_0x4da47b[_0x39c201(-_0x567940._0x5df75b,-_0x567940._0x1f34b8,-_0x567940._0x33b016,0xe0)](_0x10b9eb[_0x39c201(0x221,_0x567940._0x337242,0x71,-_0x567940._0x114018)]??process['cwd']());function _0x39c201(_0x529bc8,_0x1ce4a9,_0x3867fa,_0x5201e6){return _0x1ac42a(_0x529bc8-_0x1127d4._0x41b8b0,_0x1ce4a9-0xd2,_0x3867fa-_0x1127d4._0x415832,_0x5201e6);}const _0xe3d6c3=_0x10b9eb[_0x39c201(0xa,0x82,0x1a0,0xaf)]??[],_0x5babb4=_0x10b9eb[_0x39c201(_0x567940._0x455dc5,0x13,_0x567940._0x193e91,-0x16)]??_0x39c201(_0x567940._0x376fd0,_0x567940._0x31d458,_0x567940._0x11431c,_0x567940._0x42d461);function _0x22550a(_0x1b1f8f,_0x301945,_0x1efe05,_0x4df721){return _0x1ac42a(_0x1b1f8f-_0x67e23e._0x9848b0,_0x301945-_0x67e23e._0x3954dd,_0x301945-_0x67e23e._0x10b7d1,_0x4df721);}return defineTool({'name':_0x5babb4,'permissionClass':_0x39c201(_0x567940._0xe3ed45,0x101,_0x567940._0x2b33e9,0x2d4),'description':_0x39c201(-0x1b8,_0x567940._0x11e944,-0x18,_0x567940._0x592565),'inputSchema':{'type':_0x39c201(-0x2ac,-_0x567940._0xde73a0,-0x1d6,-_0x567940._0x5bd7a0),'properties':{'operation':{'type':_0x39c201(-0x272,-0x29d,-_0x567940._0x2d8b01,-_0x567940._0x59423f),'enum':[_0x22550a(_0x567940._0x31dca0,_0x567940._0x41549c,_0x567940._0xd3c623,_0x567940._0x5942c7),'findReferences','hover',_0x22550a(0x4a6,_0x567940._0x3eea95,_0x567940._0x5b607f,0x433),_0x39c201(_0x567940._0x1fa8cd,_0x567940._0x448cb7,_0x567940._0x5c00cb,_0x567940._0x27f444),_0x22550a(0x143,0x2e2,0x16d,0x172),_0x22550a(_0x567940._0x4d0219,0x4a8,0x4b6,_0x567940._0x47065d),_0x39c201(_0x567940._0x4ef2cf,0xa5,-_0x567940._0x2e1a49,-0x15d),_0x39c201(-0xed,-_0x567940._0x297d80,-_0x567940._0x271953,-_0x567940._0x46480a),'diagnostics']},'filePath':{'type':_0x39c201(-_0x567940._0xfbefdf,-0x1b1,-_0x567940._0xf79b1a,-0x54)},'line':{'type':_0x39c201(_0x567940._0x4189d8,-0x2b,0x180,0x4c)},'character':{'type':_0x39c201(0x2bc,_0x567940._0x52b406,0x180,0x212)},'query':{'type':_0x22550a(0x258,_0x567940._0x5e3d68,0x3de,_0x567940._0x330594)}},'required':['operation',_0x22550a(_0x567940._0x2e78c9,0x3cc,0x555,0x429),_0x22550a(0x4f5,0x4d5,0x418,0x39b),_0x39c201(-_0x567940._0x195fe3,0x7e,-_0x567940._0x1ab632,_0x567940._0x2cff9c)]},async *'execute'(_0x10aab1,_0x5ba385){const _0x2b7a52={_0x40df92:0x9,_0x4521a7:0x139,_0x3aaeaf:0x3be},_0x66bc69=_0x10b9eb['lspService'];if(!_0x66bc69)throw new ToolExecutionError(_0x3a2c4d(0x72f,0x47d,_0x59a2de._0x2e3e08,0x566));if(!_0x66bc69[_0x4c7be0(_0x59a2de._0x54bd24,_0x59a2de._0x5ead0,0x629,0x53a)]())throw new ToolExecutionError(_0x4c7be0(0x5bc,_0x59a2de._0x4d8694,0x526,_0x59a2de._0x45e225));const _0x762505=_0x10aab1['operation'];validatePosition(_0x10aab1[_0x4c7be0(0x5fe,_0x59a2de._0x42e914,0x581,0x5e0)],_0x10aab1[_0x3a2c4d(0x2a0,_0x59a2de._0x1adcf5,0x42c,0x39b)]);if(_0x762505===_0x3a2c4d(0x52b,_0x59a2de._0x3f5fbf,0x530,0x462)){if(!_0x10aab1[_0x3a2c4d(0x5fd,_0x59a2de._0x951476,_0x59a2de._0x3c1090,_0x59a2de._0x4e2843)]?.[_0x3a2c4d(0x460,_0x59a2de._0x1801dc,0x5a7,0x4ac)]())throw new ToolExecutionError(_0x4c7be0(_0x59a2de._0x395914,0x579,_0x59a2de._0x1556ba,0x6bb));const _0x336f3a=await awaitWithAbort(_0x66bc69[_0x3a2c4d(_0x59a2de._0x1f39b5,_0x59a2de._0x304ed5,0x2f4,_0x59a2de._0x33f39d)](_0x10aab1[_0x4c7be0(0x740,_0x59a2de._0x2f5257,0x5f0,0x669)][_0x4c7be0(0x6ab,_0x59a2de._0x2777e2,_0x59a2de._0x4c912d,0x639)]()),_0x5ba385[_0x4c7be0(0x2b2,_0x59a2de._0x40fd95,_0x59a2de._0x502c87,_0x59a2de._0x2fdfde)]);return yield createToolOutput(formatSymbols(_0x336f3a),{'operation':_0x762505,'query':_0x10aab1['query'],'symbols':_0x336f3a}),void 0x0;}function _0x4c7be0(_0x2fda90,_0x1498f0,_0x494f1a,_0xb34de3){return _0x22550a(_0x2fda90-0x1d0,_0xb34de3-_0x1c6d28._0x3be661,_0x494f1a-_0x1c6d28._0x21c28e,_0x1498f0);}const _0x12c9e3=resolveAllowedPath(_0x28fa1e,_0xe3d6c3,_0x10aab1[_0x3a2c4d(0x471,0x2c4,_0x59a2de._0x3b6aae,_0x59a2de._0x108c87)]);await assertFile(_0x12c9e3);function _0x3a2c4d(_0x2f9f44,_0x28f366,_0x422556,_0x57a08c){return _0x39c201(_0x2f9f44-_0x2b7a52._0x40df92,_0x28f366-_0x2b7a52._0x4521a7,_0x57a08c-_0x2b7a52._0x3aaeaf,_0x2f9f44);}if(!await awaitWithAbort(_0x66bc69[_0x3a2c4d(0x433,_0x59a2de._0x3807a7,_0x59a2de._0x4c4ce0,0x532)](_0x12c9e3),_0x5ba385['signal']))throw new ToolExecutionError(_0x4c7be0(0x6c8,0x3e8,_0x59a2de._0x119ff5,0x542)+_0x10aab1[_0x4c7be0(0x403,0x30e,0x4c2,_0x59a2de._0x5b56e6)],{'filePath':_0x10aab1[_0x3a2c4d(_0x59a2de._0x5b74ab,_0x59a2de._0x2654b3,_0x59a2de._0x16fbae,0x34a)]});await awaitWithAbort(_0x66bc69['touchFile'](_0x12c9e3,!![]),_0x5ba385['signal']);const _0x6ca9a9={'file':_0x12c9e3,'line':_0x10aab1['line']-0x1,'character':_0x10aab1[_0x3a2c4d(0x487,_0x59a2de._0x3b6aae,0x42e,0x39b)]-0x1};switch(_0x762505){case'hover':{const _0x23c043=await awaitWithAbort(_0x66bc69['hover'](_0x6ca9a9),_0x5ba385['signal']);return yield createToolOutput(formatHover(_0x23c043),{'operation':_0x762505,'filePath':_0x12c9e3,'hover':_0x23c043}),void 0x0;}case _0x3a2c4d(_0x59a2de._0x4f674c,0x1e2,_0x59a2de._0x36dd56,0x39e):{const _0xb9c5b0=await awaitWithAbort(_0x66bc69[_0x4c7be0(_0x59a2de._0x5bb7ca,_0x59a2de._0x45e716,_0x59a2de._0x5f22b1,_0x59a2de._0x31125e)](_0x12c9e3),_0x5ba385[_0x4c7be0(_0x59a2de._0x48b39d,_0x59a2de._0x19f4ea,0x2ed,0x390)]);return yield createToolOutput(formatDiagnostics(_0xb9c5b0),{'operation':_0x762505,'filePath':_0x12c9e3,'diagnostics':_0xb9c5b0}),void 0x0;}case _0x3a2c4d(0x6c4,_0x59a2de._0x2b2be3,0x6f3,0x583):{const _0x2d98a1=await awaitWithAbort(_0x66bc69[_0x4c7be0(_0x59a2de._0x48bedf,0x74b,_0x59a2de._0x1259fe,_0x59a2de._0x4c0ab5)](_0x6ca9a9),_0x5ba385[_0x4c7be0(_0x59a2de._0x1aa40c,_0x59a2de._0x3afd62,_0x59a2de._0x218068,0x390)]);return yield createToolOutput(formatLocations(_0x2d98a1),{'operation':_0x762505,'filePath':_0x12c9e3,'locations':_0x2d98a1}),void 0x0;}case _0x4c7be0(0x2a4,0x52a,_0x59a2de._0x373532,0x3d6):{const _0x7533ba=await awaitWithAbort(_0x66bc69[_0x4c7be0(_0x59a2de._0x5800c4,0x31c,_0x59a2de._0x297524,0x379)](_0x6ca9a9),_0x5ba385[_0x3a2c4d(_0x59a2de._0x51921b,_0x59a2de._0x1e1e14,_0x59a2de._0xe8aef9,_0x59a2de._0x37f942)]);return yield createToolOutput(formatLocations(_0x7533ba),{'operation':_0x762505,'filePath':_0x12c9e3,'locations':_0x7533ba}),void 0x0;}case _0x4c7be0(0x450,_0x59a2de._0x585b75,0x47c,_0x59a2de._0xd18bfb):{const _0x1bfab8=await awaitWithAbort(_0x66bc69['implementation'](_0x6ca9a9),_0x5ba385[_0x4c7be0(0x339,_0x59a2de._0x42107a,0x4d7,0x390)]);return yield createToolOutput(formatLocations(_0x1bfab8),{'operation':_0x762505,'filePath':_0x12c9e3,'locations':_0x1bfab8}),void 0x0;}case _0x3a2c4d(_0x59a2de._0x23c419,0x433,_0x59a2de._0x5dbb19,_0x59a2de._0x263071):{const _0x44d48a=await awaitWithAbort(_0x66bc69[_0x4c7be0(0x679,0x45c,0x70a,_0x59a2de._0x43c238)](_0x12c9e3),_0x5ba385[_0x4c7be0(_0x59a2de._0x4c571f,_0x59a2de._0x42d953,0x32f,_0x59a2de._0x4eab60)]);return yield createToolOutput(formatSymbols(_0x44d48a),{'operation':_0x762505,'filePath':_0x12c9e3,'symbols':_0x44d48a}),void 0x0;}case _0x3a2c4d(_0x59a2de._0x13a021,0x4d7,0x444,_0x59a2de._0x4c40fc):{const _0x4feba8=await awaitWithAbort(_0x66bc69['prepareCallHierarchy'](_0x6ca9a9),_0x5ba385[_0x4c7be0(_0x59a2de._0x2feae9,0x212,_0x59a2de._0x137af3,_0x59a2de._0x531faa)]);return yield createToolOutput(formatSymbols(_0x4feba8),{'operation':_0x762505,'filePath':_0x12c9e3,'symbols':toStructured(_0x4feba8)}),void 0x0;}case _0x3a2c4d(_0x59a2de._0x15de43,0x3d4,0x1f0,0x2e3):{const _0x16eadd=await awaitWithAbort(_0x66bc69[_0x3a2c4d(_0x59a2de._0xe8aef9,0x149,_0x59a2de._0x1e013f,_0x59a2de._0x36b80e)](_0x6ca9a9),_0x5ba385[_0x4c7be0(_0x59a2de._0x3ddace,0x1fc,_0x59a2de._0x3da38a,_0x59a2de._0x4eab60)]);return yield createToolOutput(formatIncomingCalls(_0x16eadd),{'operation':_0x762505,'filePath':_0x12c9e3,'calls':toStructured(_0x16eadd)}),void 0x0;}case _0x4c7be0(_0x59a2de._0x2a3470,0x514,0x44d,_0x59a2de._0x2e44c3):{const _0x2c5fd4=await awaitWithAbort(_0x66bc69[_0x4c7be0(0x25a,_0x59a2de._0x27a663,_0x59a2de._0x24d7fb,_0x59a2de._0x2e44c3)](_0x6ca9a9),_0x5ba385[_0x3a2c4d(_0x59a2de._0x59215d,0x338,0x6f,0x203)]);return yield createToolOutput(formatOutgoingCalls(_0x2c5fd4),{'operation':_0x762505,'filePath':_0x12c9e3,'calls':toStructured(_0x2c5fd4)}),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 _0xc61b02}from'crypto';import{mkdir as _0x1c3e93,readFile as _0x2cdeca,writeFile as _0x3e0ce7}from'fs/promises';import{join as _0x2b467d}from'path';function sanitizeStorageKey(_0x524632){const _0x44e9c5={_0x4cd9ad:0x3ad,_0x21065f:0x2c9,_0xba2508:0x43b,_0x2121e5:0x3c3};function _0x426aea(_0xbe8b0a,_0x3128ff,_0x386a95,_0x2b0bdf){return _0x151cc1(_0xbe8b0a-0x100,_0x386a95-0x1c3,_0x2b0bdf,_0x2b0bdf-0x104);}function _0x19a799(_0x40339c,_0x585caa,_0x2833f0,_0x5747ae){return _0x1ac42a(_0x40339c-0x116,_0x585caa-0x11b,_0x585caa-0x50b,_0x40339c);}return _0x524632[_0x426aea(0x3d8,_0x44e9c5._0x4cd9ad,0x394,_0x44e9c5._0x21065f)](/[^a-zA-Z0-9_]+/g,'_')['replace'](/^_+|_+$/g,'')||_0x426aea(0x379,_0x44e9c5._0xba2508,0x48d,_0x44e9c5._0x2121e5);}function storagePath(_0xdd1f89){const _0x1aaf0f={_0x3c994a:0xaf,_0x279a6:0x5e,_0x9298c1:0x3e,_0x2f2493:0x6c,_0x24cb57:0x1d2,_0x1a0fcf:0x14,_0x25eff9:0x1ce,_0x59c93b:0x21c,_0x16ea15:0x310,_0x5ae66b:0x1d1,_0x5979b:0xd2,_0x32617a:0x27,_0x34ab42:0x163,_0x3566a5:0x148},_0x358d6c={_0x589711:0x46,_0x4d1136:0xcc},_0x317a60={_0x394b31:0x58,_0x1ca43a:0x154,_0x3d707c:0x47};function _0x1bc44a(_0x39b7d0,_0x5acf97,_0x15e234,_0x32d45d){return _0x1ac42a(_0x39b7d0-_0x317a60._0x394b31,_0x5acf97-_0x317a60._0x1ca43a,_0x32d45d- -_0x317a60._0x3d707c,_0x5acf97);}function _0x3350a5(_0x58d6cd,_0x783b29,_0x3e582d,_0x3be47d){return _0x1ac42a(_0x58d6cd-_0x358d6c._0x589711,_0x783b29-_0x358d6c._0x4d1136,_0x783b29- -0x7a,_0x3be47d);}const _0x203292=sanitizeStorageKey(_0xdd1f89[_0x3350a5(_0x1aaf0f._0x3c994a,_0x1aaf0f._0x279a6,-_0x1aaf0f._0x9298c1,0x176)]['oauth']?.[_0x1bc44a(_0x1aaf0f._0x2f2493,-_0x1aaf0f._0x24cb57,_0x1aaf0f._0x1a0fcf,-0x12)]??_0xdd1f89[_0x3350a5(-_0x1aaf0f._0x25eff9,-0x23f,-0x3ca,-0x172)]);return _0x2b467d(_0xdd1f89[_0x3350a5(-0x2e9,-_0x1aaf0f._0x59c93b,-_0x1aaf0f._0x16ea15,-_0x1aaf0f._0x5ae66b)],_0x203292+_0x3350a5(_0x1aaf0f._0x5979b,-_0x1aaf0f._0x32617a,-_0x1aaf0f._0x34ab42,_0x1aaf0f._0x3566a5));}async function readStore(_0x10bf49){const _0x4ec727={_0x36c1a3:0x402,_0x5b106c:0x355,_0x198f4b:0x5a1,_0x47d040:0x456,_0x31350a:0x531,_0x3017af:0x556,_0x31b97d:0x3c6,_0x5999a3:0x549},_0x19da72={_0xc01b0:0x15c,_0x19dbbf:0x194},_0x97fdda={_0x26ddcc:0x71,_0xfae974:0x91};function _0x398d9c(_0x439082,_0x5e8331,_0x51b405,_0x4c09b7){return _0x151cc1(_0x439082-0x60,_0x439082- -_0x97fdda._0x26ddcc,_0x51b405,_0x4c09b7-_0x97fdda._0xfae974);}function _0x293388(_0xe10b0d,_0x34af29,_0x1fcbf5,_0x1476cc){return _0x151cc1(_0xe10b0d-_0x19da72._0xc01b0,_0xe10b0d- -0xea,_0x1fcbf5,_0x1476cc-_0x19da72._0x19dbbf);}try{return JSON['parse'](await _0x2cdeca(_0x10bf49,_0x293388(_0x4ec727._0x36c1a3,0x48e,_0x4ec727._0x5b106c,_0x4ec727._0x198f4b)));}catch(_0x48527c){if(_0x48527c instanceof Error&&_0x398d9c(0x40b,_0x4ec727._0x47d040,_0x4ec727._0x31350a,0x5d4)in _0x48527c&&_0x48527c[_0x293388(0x392,0x521,0x37e,0x517)]===_0x398d9c(0x432,_0x4ec727._0x3017af,_0x4ec727._0x31b97d,_0x4ec727._0x5999a3))return{};throw _0x48527c;}}async function writeStore(_0x528ca5,_0x2ba7d6){const _0x34e404={_0x3cee63:0x830,_0x3a8d10:0x931},_0x3b0768={_0x5fd6f1:0x6c,_0x34d160:0x6c1};await _0x1c3e93(_0x2b467d(_0x528ca5,'..'),{'recursive':!![]});function _0x4cdd5a(_0x3eb9db,_0x49c82a,_0x3f8ff4,_0x126fc2){return _0x1ac42a(_0x3eb9db-0x15a,_0x49c82a-_0x3b0768._0x5fd6f1,_0x3f8ff4-_0x3b0768._0x34d160,_0x3eb9db);}await _0x3e0ce7(_0x528ca5,JSON['stringify'](_0x2ba7d6,null,0x2),_0x4cdd5a(0x97a,0x908,_0x34e404._0x3cee63,_0x34e404._0x3a8d10));}async function updateStore(_0x5887c4,_0x157da2){const _0x22706d=await readStore(_0x5887c4);_0x157da2(_0x22706d),await writeStore(_0x5887c4,_0x22706d);}function createMcpOAuthProvider(_0x4308fb){const _0x24a735={_0x5ee2ab:0x1f1,_0x53772b:0x14f,_0x229fef:0x247,_0x5c9f8e:0x64f,_0x187366:0x566,_0x40e9f3:0x2c,_0x1a7fd0:0x703,_0x7b575a:0x739,_0x1bce02:0x75c,_0x4d942:0x84b,_0x304390:0x143,_0x23e2f5:0x293,_0x2abda9:0xfb,_0x37d180:0x45f,_0x4338e5:0x299,_0x1bd490:0x228},_0x319fb4={_0x5eec84:0x1b3,_0x305c58:0x258,_0x885371:0x315},_0xb5c413={_0x5ba3be:0x2bd,_0x358e05:0x2c1,_0x120c32:0x180},_0x1930ca={_0x3ceeae:0xd0,_0x18f639:0x8,_0x2f0c02:0x7f,_0x5d93a6:0x201,_0x3ca6dd:0xd7,_0x290ce3:0xd0,_0x238b9e:0x1c,_0x63b4cd:0x6d,_0x4eb04f:0x1e0,_0x4e3e13:0x128},_0x2a374d={_0x3ec32b:0x39f,_0x2a36b2:0xc6,_0x18094b:0x25c,_0x38522a:0x1f5,_0x210f93:0x3cb,_0x45db3d:0x350,_0x2d2a9f:0x3d9},_0xa8f994={_0x14a0b7:0x138,_0x4225a5:0x9c},_0x30dcfa={_0x29d7eb:0xe6,_0x3a456e:0x29,_0x4e028d:0x71},_0x1a58e4={_0x51c4fc:0x599},_0x1d647e={_0x3d657a:0x61d},_0x4f4da6={_0x34493f:0x62e,_0x2bb7dd:0x434},_0x4b9201={_0x2b3989:0x4e2,_0x2ff48d:0x33b},_0x549775={_0xca6822:0x647,_0x601d92:0x4a6,_0x352c54:0x747,_0x135a10:0x33c,_0x1ff4fd:0x6a9},_0x468526={_0x1abc24:0x217,_0x26cb02:0x19f},_0x1d62d7={_0x14fa47:0x1b0,_0x5e4fea:0x24a,_0x1d9375:0x190},_0x3509b6={_0x3955f6:0x2c,_0x46259e:0x115};function _0x1229a6(_0x29a2d4,_0x422c2c,_0x1014e0,_0x2d6333){return _0x151cc1(_0x29a2d4-_0x3509b6._0x3955f6,_0x2d6333- -0x20e,_0x29a2d4,_0x2d6333-_0x3509b6._0x46259e);}const _0x59f6c7=storagePath(_0x4308fb);function _0x5264bb(_0x4a7472,_0x518f23,_0x5ddea0,_0x3ac73c){return _0x151cc1(_0x4a7472-_0x1d62d7._0x14fa47,_0x4a7472-_0x1d62d7._0x5e4fea,_0x5ddea0,_0x3ac73c-_0x1d62d7._0x1d9375);}const _0xf975d0=_0x4308fb[_0x1229a6(_0x24a735._0x5ee2ab,0x1fd,_0x24a735._0x53772b,_0x24a735._0x229fef)][_0x5264bb(_0x24a735._0x5c9f8e,0x72a,0x624,_0x24a735._0x187366)]?.[_0x1229a6(0xab,_0x24a735._0x40e9f3,0x39,0xdc)]?.[_0x5264bb(_0x24a735._0x1a7fd0,_0x24a735._0x7b575a,_0x24a735._0x1bce02,_0x24a735._0x4d942)]('\x20'),_0x4144ae={'client_name':_0x1229a6(_0x24a735._0x304390,_0x24a735._0x23e2f5,0x208,_0x24a735._0x2abda9),'redirect_uris':[_0x4308fb['callbackUrl']],'grant_types':[_0x5264bb(_0x24a735._0x37d180,0x372,0x32a,0x324),_0x5264bb(0x71f,0x8a0,0x74c,0x67d)],'response_types':['code'],'token_endpoint_auth_method':'client_secret_post',..._0xf975d0?{'scope':_0xf975d0}:{}};return{'clientMetadataUrl':_0x4308fb[_0x1229a6(_0x24a735._0x4338e5,0x1a8,_0x24a735._0x1bd490,0x247)]['oauth']?.['clientMetadataUrl'],get 'redirectUrl'(){const _0x2cf43a={_0x11e7e2:0x346};function _0x4e64bd(_0x558568,_0x1d9eeb,_0x3db689,_0x93709f){return _0x5264bb(_0x1d9eeb- -_0x2cf43a._0x11e7e2,_0x1d9eeb-0x197,_0x558568,_0x93709f-0x8e);}return _0x4308fb[_0x4e64bd(_0x468526._0x1abc24,_0x468526._0x26cb02,0x263,0x10f)];},get 'clientMetadata'(){return _0x4144ae;},async 'state'(){const _0x430b72={_0x5e7a94:0x558,_0x94c45c:0x512,_0x543bc0:0x4b8},_0x1e23c1={_0x5801c5:0x1b7},_0x1a03ef={_0xda587d:0x155},_0x4bfcbb={_0xad5db3:0x10f,_0x108348:0x3b6},_0x5a5dfc=await readStore(_0x59f6c7);if(_0x5a5dfc[_0x2f0c92(_0x549775._0xca6822,0x71f,_0x549775._0x601d92,_0x549775._0x352c54)])return _0x5a5dfc[_0x27d775(0x4e1,_0x549775._0x135a10,_0x549775._0x1ff4fd,0x52f)];function _0x27d775(_0x21891f,_0x5b7d61,_0x34502a,_0x2650cc){return _0x1229a6(_0x2650cc,_0x5b7d61-0x4d,_0x34502a-_0x4bfcbb._0xad5db3,_0x21891f-_0x4bfcbb._0x108348);}const _0x44ee78=_0xc61b02();function _0x2f0c92(_0x4e7325,_0x1d50c5,_0x424863,_0x43f2d9){return _0x5264bb(_0x4e7325-0xc4,_0x1d50c5-0xfb,_0x424863,_0x43f2d9-_0x1a03ef._0xda587d);}return await updateStore(_0x59f6c7,_0x4fc742=>{function _0x4693eb(_0x1e552f,_0x587ab9,_0x463d7f,_0x596a8d){return _0x2f0c92(_0x1e552f- -0xef,_0x587ab9-0xab,_0x463d7f,_0x596a8d-_0x1e23c1._0x5801c5);}_0x4fc742[_0x4693eb(_0x430b72._0x5e7a94,_0x430b72._0x94c45c,_0x430b72._0x543bc0,0x669)]=_0x44ee78;}),_0x44ee78;},async 'clientInformation'(){function _0x4e0e8f(_0x3f9554,_0x4944f3,_0x17336c,_0x598d7e){return _0x5264bb(_0x3f9554- -0x3f,_0x4944f3-0x2a,_0x17336c,_0x598d7e-0x1e0);}return(await readStore(_0x59f6c7))[_0x4e0e8f(0x3d8,_0x4b9201._0x2b3989,_0x4b9201._0x2ff48d,0x48d)];},async 'saveClientInformation'(_0x2514f4){await updateStore(_0x59f6c7,_0x465557=>{const _0x6f6c15={_0x3747f6:0x2f7};function _0x36357c(_0x3e8f64,_0x54a8b7,_0xfb6bcc,_0x772c8){return _0x5041(_0x54a8b7-_0x6f6c15._0x3747f6,_0x3e8f64);}_0x465557[_0x36357c(_0x4f4da6._0x34493f,0x471,0x531,_0x4f4da6._0x2bb7dd)]=_0x2514f4;});},async 'tokens'(){const _0xa8fb27={_0x112ce4:0x41f};function _0x2cc820(_0x3f09a3,_0x2bd61d,_0x221bf2,_0x33ed0){return _0x1229a6(_0x2bd61d,_0x2bd61d-0x109,_0x221bf2-0x180,_0x221bf2-_0xa8fb27._0x112ce4);}return(await readStore(_0x59f6c7))[_0x2cc820(0x4f3,0x511,_0x1d647e._0x3d657a,0x682)];},async 'saveTokens'(_0x45d6b6){await updateStore(_0x59f6c7,_0x44094c=>{_0x44094c['tokens']=_0x45d6b6;});},async 'redirectToAuthorization'(_0x5b4daf){function _0x49eca7(_0x5c9147,_0x1a4974,_0x4418eb,_0x56547f){return _0x5264bb(_0x5c9147- -_0x1a58e4._0x51c4fc,_0x1a4974-0x16d,_0x1a4974,_0x56547f-0x199);}await _0x4308fb[_0x49eca7(_0x30dcfa._0x29d7eb,_0x30dcfa._0x3a456e,_0x30dcfa._0x4e028d,0x143)](_0x5b4daf);},async 'saveCodeVerifier'(_0x35f12c){await updateStore(_0x59f6c7,_0x2f1aae=>{_0x2f1aae['codeVerifier']=_0x35f12c;});},async 'codeVerifier'(){const _0x50e177={_0x4cde07:0x1db},_0x5ec801=(await readStore(_0x59f6c7))[_0x5bf48c(_0x2a374d._0x3ec32b,_0x2a374d._0x2a36b2,_0x2a374d._0x18094b,_0x2a374d._0x38522a)];function _0x5bf48c(_0xb7b7a4,_0x589a3b,_0x45ffc8,_0x25d68c){return _0x1229a6(_0x589a3b,_0x589a3b-0x167,_0x45ffc8-0x1c8,_0x45ffc8-_0x50e177._0x4cde07);}function _0x23d112(_0x250822,_0xee2028,_0x4c54cd,_0x4199aa){return _0x1229a6(_0x250822,_0xee2028-_0xa8f994._0x14a0b7,_0x4c54cd-_0xa8f994._0x4225a5,_0xee2028-0x2cb);}if(!_0x5ec801)throw new Error(_0x5bf48c(_0x2a374d._0x210f93,0x3c4,_0x2a374d._0x45db3d,_0x2a374d._0x2d2a9f));return _0x5ec801;},async 'invalidateCredentials'(_0x219a3a){const _0x2b9af9={_0x4188c1:0xd7};await updateStore(_0x59f6c7,_0x3362d7=>{const _0x3a5e3f={_0x2fece7:0x2cf};function _0x3c782e(_0x4f47bc,_0x5a28de,_0x17594a,_0x1a35ba){return _0x5041(_0x1a35ba- -_0x2b9af9._0x4188c1,_0x5a28de);}(_0x219a3a===_0x2024eb(-0x192,-_0x1930ca._0x3ceeae,-0x155,_0x1930ca._0x18f639)||_0x219a3a===_0x2024eb(0x2f,-_0x1930ca._0x2f0c02,-0xe2,-_0x1930ca._0x5d93a6))&&(_0x3362d7['clientInformation']=void 0x0);(_0x219a3a===_0x2024eb(-_0x1930ca._0x3ca6dd,-_0x1930ca._0x290ce3,-0x12c,_0x1930ca._0x238b9e)||_0x219a3a==='tokens')&&(_0x3362d7['tokens']=void 0x0);function _0x2024eb(_0x349f4d,_0x36fb39,_0x36890a,_0x566fab){return _0x5041(_0x36fb39- -_0x3a5e3f._0x2fece7,_0x349f4d);}(_0x219a3a==='all'||_0x219a3a===_0x3c782e(0x163,0x342,0x3b7,0x1ef))&&(_0x3362d7['codeVerifier']=void 0x0,_0x3362d7['state']=void 0x0),(_0x219a3a===_0x3c782e(_0x1930ca._0x63b4cd,_0x1930ca._0x4eb04f,-0x81,_0x1930ca._0x4e3e13)||_0x219a3a===_0x2024eb(0x1a9,0x19c,0x2cb,0x1f0))&&(_0x3362d7['discoveryState']=void 0x0);});},async 'saveDiscoveryState'(_0x591e89){await updateStore(_0x59f6c7,_0x160ee7=>{const _0x3743be={_0xe49f19:0x64};function _0x3b8c82(_0x1e81bd,_0x135fb5,_0x22d01b,_0x4e0f21){return _0x5041(_0x22d01b- -_0x3743be._0xe49f19,_0x1e81bd);}_0x160ee7[_0x3b8c82(_0xb5c413._0x5ba3be,_0xb5c413._0x358e05,0x2e8,_0xb5c413._0x120c32)]=_0x591e89;});},async 'discoveryState'(){function _0x15d3f5(_0x3b1b7f,_0x53803b,_0x369d8d,_0x28625b){return _0x1229a6(_0x28625b,_0x53803b-0x18a,_0x369d8d-0x162,_0x53803b- -0x26);}return(await readStore(_0x59f6c7))[_0x15d3f5(_0x319fb4._0x5eec84,0x16b,_0x319fb4._0x305c58,_0x319fb4._0x885371)];}};}import{UnauthorizedError}from'@modelcontextprotocol/sdk/client/auth.js';import{ErrorCode,McpError}from'@modelcontextprotocol/sdk/types.js';var failureByOperation={'close':{'code':'mcp-close-failed','message':_0x819762=>_0x151cc1(0x21c,0x174,0x27a,0x1fb)+_0x819762+'\x20failed\x20to\x20close'},'connect':{'code':_0x151cc1(0x25c,0x2b5,0x28a,0x1b3),'message':_0x153411=>_0x1ac42a(-0xac,-0x370,-0x209,-0x162)+_0x153411+_0x151cc1(0x411,0x36a,0x26c,0x40f)},'discover':{'code':_0x151cc1(0x327,0x189,0x105,0x306),'message':_0x51ff90=>_0x151cc1(0x13d,0x174,-0x56,0x28e)+_0x51ff90+_0x1ac42a(-0x219,0x58,-0xd3,-0x1bc)},'toolCall':{'code':_0x151cc1(0x4e4,0x35b,0x3ab,0x293),'message':_0x33bcde=>'MCP\x20server\x20'+_0x33bcde+_0x151cc1(0x1bb,0x349,0x37f,0x1f2)}},timeoutMessageByOperation={'close':_0x90c8e4=>_0x1ac42a(-0x123,-0x1b0,-0x209,-0x1e5)+_0x90c8e4+_0x151cc1(0x205,0x1e3,0x177,0xb4),'connect':_0x17c093=>_0x1ac42a(-0xe2,-0x292,-0x209,-0x295)+_0x17c093+_0x151cc1(0x317,0x4d3,0x357,0x49c),'discover':_0x566e62=>'MCP\x20server\x20'+_0x566e62+_0x1ac42a(-0x15b,0xc7,-0x107,-0x6f),'toolCall':_0x4cc427=>_0x1ac42a(-0x32d,-0x222,-0x209,-0x1ab)+_0x4cc427+_0x151cc1(0x219,0x2e3,0x491,0x3ad)};function toMcpSafeError(_0x2cbd85){const _0x29ee74={_0x3fb253:0x340,_0x19fa19:0x30d,_0x4becbf:0x270,_0xefb176:0x3f3,_0xc3eab4:0xbf,_0x3bc3aa:0x3ae,_0x5858f6:0x41b,_0x43e737:0x19a,_0x1f30ac:0x8c,_0x594b56:0xe8,_0xb52c24:0xa5,_0x114285:0x195,_0xe72388:0x346,_0x5e9afc:0x341,_0x2b5a42:0x36e,_0x4c45d0:0x39a,_0x39b808:0x578,_0x1f9a2c:0x63,_0x3eaca:0x65,_0x1bbb0f:0xa4,_0x42bb5c:0x18c,_0x5e9ab8:0x408,_0x1383dc:0x25d,_0x214c7b:0x28b,_0x53a4f5:0x258,_0x39a53f:0x272},_0x316e41={_0x56536e:0x2c5},_0x41f1fd={_0x414b29:0xe3,_0x44ee59:0x150};function _0xd7dad0(_0x39d0b6,_0x46a93c,_0x3efdb9,_0x227616){return _0x151cc1(_0x39d0b6-0x19d,_0x227616- -_0x41f1fd._0x414b29,_0x39d0b6,_0x227616-_0x41f1fd._0x44ee59);}if(_0x2cbd85[_0x2a5d8a(_0x29ee74._0x3fb253,0x346,_0x29ee74._0x19fa19,_0x29ee74._0x4becbf)]instanceof UnauthorizedError)return Object[_0xd7dad0(0x2b5,_0x29ee74._0xefb176,_0x29ee74._0xc3eab4,0x247)]({'code':_0x2a5d8a(0x15d,0x288,_0x29ee74._0x3bc3aa,_0x29ee74._0x5858f6),'message':_0x2a5d8a(0x188,0xbc,_0x29ee74._0x43e737,0x105)+_0x2cbd85[_0xd7dad0(_0x29ee74._0x1f30ac,0x12b,_0x29ee74._0x594b56,0xd5)]+_0xd7dad0(_0x29ee74._0xb52c24,_0x29ee74._0x114285,0x2ca,0x135)});if(_0x2cbd85[_0x2a5d8a(0x214,_0x29ee74._0xe72388,_0x29ee74._0x5e9afc,_0x29ee74._0x2b5a42)]instanceof McpError&&_0x2cbd85[_0x2a5d8a(0x4b4,0x346,0x4d4,0x270)][_0x2a5d8a(_0x29ee74._0x4c45d0,0x3c4,_0x29ee74._0x39b808,0x538)]===ErrorCode[_0xd7dad0(0x13a,_0x29ee74._0x1f9a2c,_0x29ee74._0x3eaca,0x108)])return Object[_0x2a5d8a(_0x29ee74._0x1bbb0f,0x272,_0x29ee74._0x42bb5c,0x2d6)]({'code':'mcp-request-timeout','message':timeoutMessageByOperation[_0x2cbd85[_0xd7dad0(_0x29ee74._0x5e9ab8,0x2bc,_0x29ee74._0x1383dc,_0x29ee74._0x214c7b)]](_0x2cbd85[_0x2a5d8a(0x96,0x100,0x5,_0x29ee74._0x53a4f5)])});const _0x45715b=failureByOperation[_0x2cbd85['operation']];function _0x2a5d8a(_0x11aa0e,_0x4400f9,_0x48b16b,_0x4628bf){return _0x1ac42a(_0x11aa0e-0xce,_0x4400f9-0x52,_0x4400f9-_0x316e41._0x56536e,_0x48b16b);}return Object[_0x2a5d8a(0x12d,_0x29ee74._0x39a53f,0x32c,0x263)]({'code':_0x45715b['code'],'message':_0x45715b['message'](_0x2cbd85['serverName'])});}function _0x5041(_0x4c09ed,_0x9cc671){_0x4c09ed=_0x4c09ed-0x116;const _0x32bcc6=_0x32bc();let _0x504107=_0x32bcc6[_0x4c09ed];if(_0x5041['ObtMWo']===undefined){var _0x1a55d6=function(_0xe51839){const _0x50251a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3776ef='',_0xa5d2bf='';for(let _0x2bfaf1=0x0,_0x246d48,_0x458083,_0x2eb2bd=0x0;_0x458083=_0xe51839['charAt'](_0x2eb2bd++);~_0x458083&&(_0x246d48=_0x2bfaf1%0x4?_0x246d48*0x40+_0x458083:_0x458083,_0x2bfaf1++%0x4)?_0x3776ef+=String['fromCharCode'](0xff&_0x246d48>>(-0x2*_0x2bfaf1&0x6)):0x0){_0x458083=_0x50251a['indexOf'](_0x458083);}for(let _0x1982f4=0x0,_0x1b4331=_0x3776ef['length'];_0x1982f4<_0x1b4331;_0x1982f4++){_0xa5d2bf+='%'+('00'+_0x3776ef['charCodeAt'](_0x1982f4)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xa5d2bf);};_0x5041['RhJooq']=_0x1a55d6,_0x5041['sMRYnr']={},_0x5041['ObtMWo']=!![];}const _0x3c1ebf=_0x32bcc6[0x0],_0x1efaf4=_0x4c09ed+_0x3c1ebf,_0x4f7766=_0x5041['sMRYnr'][_0x1efaf4];return!_0x4f7766?(_0x504107=_0x5041['RhJooq'](_0x504107),_0x5041['sMRYnr'][_0x1efaf4]=_0x504107):_0x504107=_0x4f7766,_0x504107;}function redactMcpDiagnostic(_0x242491,_0x1ac9ac){const _0x293928={_0x1578f6:0xac,_0x1ca69a:0x7e6,_0x479adc:0x8ad,_0x5d8734:0x19a,_0x2df323:0x8f7,_0x1d626f:0x91b,_0x4171d2:0x8a1,_0x31147e:0x16c,_0x1d433e:0x322,_0x432559:0x207,_0x2f8730:0x19a,_0x113369:0x33c},_0x47ddb9={_0x4cd3f8:0x1ec,_0x440af4:0xd1};function _0x229667(_0x3e5c37,_0x19b85e,_0x13b1e9,_0x95ef90){return _0x1ac42a(_0x3e5c37-0x13c,_0x19b85e-0x148,_0x3e5c37-0x91,_0x19b85e);}const _0x43f332=[...new Set(_0x1ac9ac[_0x229667(-0xd5,_0x293928._0x1578f6,-0x202,-0x1cf)](_0x5d7825=>_0x5d7825[_0x502f1b(0x7d9,0x7d8,0x8b9,0x78f)]>0x0))][_0x502f1b(_0x293928._0x1ca69a,0x889,0x6a7,_0x293928._0x479adc)]((_0x223015,_0x2b0a38)=>_0x2b0a38[_0x229667(0x19a,0x19b,0x1f7,0x1a1)]-_0x223015[_0x502f1b(0x7d9,0x894,0x828,0x747)]);if(_0x242491[_0x229667(_0x293928._0x5d8734,-0x26,0x163,0x1c2)]===0x0||_0x43f332[_0x502f1b(0x7d9,_0x293928._0x2df323,0x94e,0x7e4)]===0x0)return _0x242491;let _0x2caaad='',_0x303891=0x0;function _0x502f1b(_0x14fe83,_0x5f0e28,_0x1f32df,_0x2dda6f){return _0x151cc1(_0x14fe83-_0x47ddb9._0x4cd3f8,_0x14fe83-0x353,_0x2dda6f,_0x2dda6f-_0x47ddb9._0x440af4);}while(_0x303891<_0x242491[_0x502f1b(0x7d9,_0x293928._0x1d626f,_0x293928._0x4171d2,0x65a)]){const _0x19baa2=_0x43f332[_0x229667(-_0x293928._0x31147e,-0x1f8,-_0x293928._0x1d433e,-0x15d)](_0x194625=>_0x242491[_0x502f1b(0x760,0x668,0x709,0x60c)](_0x194625,_0x303891));_0x19baa2?(_0x2caaad+=_0x229667(-0x43,0x149,-_0x293928._0x432559,-0x19),_0x303891+=_0x19baa2[_0x229667(_0x293928._0x2f8730,0x1f3,0x5,_0x293928._0x113369)]):(_0x2caaad+=_0x242491[_0x303891],_0x303891+=0x1);}return _0x2caaad;}var ownedMcpSafeErrors=new WeakMap();function isWeakMapKey(_0x1acf84){const _0x4bee01={_0x23db34:0x27a,_0x5c638c:0x434,_0x3124e6:0x2a9,_0x4c0511:0x457},_0x12d1bf={_0x8bb807:0x1e3},_0xc51df8={_0x64f151:0x108,_0x4da6a4:0x137};function _0x4e3840(_0x3e504b,_0x51247d,_0x1aa62e,_0x5cf6b3){return _0x1ac42a(_0x3e504b-_0xc51df8._0x64f151,_0x51247d-_0xc51df8._0x4da6a4,_0x51247d-0x3e0,_0x3e504b);}function _0x46893c(_0x4d65d6,_0x1d6a76,_0x720827,_0x1ec212){return _0x1ac42a(_0x4d65d6-_0x12d1bf._0x8bb807,_0x1d6a76-0xf7,_0x4d65d6-0x578,_0x1d6a76);}return typeof _0x1acf84===_0x46893c(0x364,0x33c,_0x4bee01._0x23db34,_0x4bee01._0x5c638c)&&_0x1acf84!==null||typeof _0x1acf84===_0x46893c(0x418,_0x4bee01._0x3124e6,0x3a5,_0x4bee01._0x4c0511);}function createOwnedMcpSafeError(_0x355da0){const _0x41d973={_0x16532f:0x9a,_0x367810:0x1f6,_0x11654d:0x1f},_0x2cd31d={_0xd9dc31:0x18d},_0x33b068={_0x2a6ff3:0xb0},_0x14fce0=toMcpSafeError(_0x355da0);function _0x4cdfb2(_0x93dec5,_0x3e6bed,_0x18ae8b,_0x204a30){return _0x1ac42a(_0x93dec5-_0x33b068._0x2a6ff3,_0x3e6bed-0xfe,_0x18ae8b-0xe5,_0x204a30);}const _0x4e39f2=Object[_0x4cdfb2(-0x9a,_0x41d973._0x16532f,0x92,0x17a)]({'code':_0x14fce0['code'],'message':_0x14fce0[_0x4cdfb2(0x198,0xf1,_0x41d973._0x367810,0x18b)]});function _0x589b16(_0xc38198,_0x15bdee,_0x122cc1,_0xfa3eff){return _0x1ac42a(_0xc38198-0x113,_0x15bdee-_0x2cd31d._0xd9dc31,_0x15bdee-0x68a,_0xfa3eff);}return ownedMcpSafeErrors[_0x4cdfb2(-0x1d4,0x191,-_0x41d973._0x11654d,-0x11f)](_0x14fce0,_0x4e39f2),_0x14fce0;}function extractOwnedMcpSafeError(_0x166af1){const _0x2a4486={_0x39a57b:0x84b,_0x180774:0x584,_0x46b29f:0x43f,_0x6c4ccb:0x3d9,_0x1d73da:0x2af,_0x47501e:0x137,_0x4ad81c:0xac},_0x35d366={_0x102baf:0x1ac},_0x47e72a={_0x421d25:0x5a,_0x2b3175:0x6eb};if(!isWeakMapKey(_0x166af1))return void 0x0;const _0x50070c=ownedMcpSafeErrors['get'](_0x166af1);function _0x3c2d86(_0x1c855f,_0x1485dd,_0x295d3d,_0x386838){return _0x1ac42a(_0x1c855f-_0x47e72a._0x421d25,_0x1485dd-0xfa,_0x295d3d-_0x47e72a._0x2b3175,_0x386838);}if(!_0x50070c)return void 0x0;const _0x2e52c2=Object[_0x3c2d86(0x52c,_0x2a4486._0x39a57b,0x698,_0x2a4486._0x180774)]({'code':_0x50070c[_0x5502e0(_0x2a4486._0x46b29f,_0x2a4486._0x6c4ccb,0x3af,_0x2a4486._0x1d73da)],'message':_0x50070c['message']});ownedMcpSafeErrors[_0x5502e0(-0xc1,_0x2a4486._0x47501e,0x1ba,_0x2a4486._0x4ad81c)](_0x2e52c2,_0x50070c);function _0x5502e0(_0x3d774d,_0x57e021,_0x3de47f,_0x238f39){return _0x151cc1(_0x3d774d-0xe9,_0x238f39- -0x1cd,_0x3d774d,_0x238f39-_0x35d366._0x102baf);}return _0x2e52c2;}function ownValue(_0x35f110,_0x3a1d48){const _0x2813d5={_0x3f6b36:0x47,_0x2dab30:0x215,_0x4abc26:0x156},_0x9a0250={_0x49e4d2:0x1f2,_0x3cbd17:0x399,_0x3db376:0x158};function _0x534983(_0x1a0325,_0x2d78a3,_0x27521a,_0x519e95){return _0x151cc1(_0x1a0325-_0x9a0250._0x49e4d2,_0x519e95- -_0x9a0250._0x3cbd17,_0x1a0325,_0x519e95-_0x9a0250._0x3db376);}return _0x35f110&&Object[_0x534983(-_0x2813d5._0x3f6b36,_0x2813d5._0x2dab30,0x31a,_0x2813d5._0x4abc26)](_0x35f110,_0x3a1d48)?_0x35f110[_0x3a1d48]:void 0x0;}function isToolPermissionClass(_0x36c9fb){const _0x3a5d32={_0x750288:0x40a,_0x20207d:0x45d,_0x33a389:0x373},_0x7cd643={_0x267690:0x23},_0xe56143={_0x46c3dc:0x432};function _0x4b5d2c(_0x1d32dd,_0x58b46a,_0x5b192c,_0x83d57a){return _0x1ac42a(_0x1d32dd-0x1cf,_0x58b46a-0x102,_0x58b46a-_0xe56143._0x46c3dc,_0x83d57a);}function _0x58010a(_0xc66412,_0x17ed41,_0x650aa3,_0x30f3ab){return _0x151cc1(_0xc66412-0x172,_0x30f3ab- -_0x7cd643._0x267690,_0xc66412,_0x30f3ab-0xed);}return _0x36c9fb==='read'||_0x36c9fb===_0x58010a(0x3d2,0x5a5,_0x3a5d32._0x750288,_0x3a5d32._0x20207d)||_0x36c9fb===_0x58010a(0x41c,_0x3a5d32._0x33a389,0x477,0x341);}function suggestedPermissionClass(_0x36538b){const _0x345b0c={_0x3b1acb:0x2c9,_0x41c7fd:0xaf,_0x749439:0x240,_0x182ec0:0x294,_0x3dcef1:0x32a},_0x322275={_0x52270e:0x12b,_0xf2a545:0x34b},_0x34cb1a={_0x43ac86:0x68,_0x5c2fa3:0x22a,_0x691ceb:0x101};function _0x4d8420(_0x17fc06,_0x12eee8,_0x2d2a9d,_0x41b85b){return _0x151cc1(_0x17fc06-_0x34cb1a._0x43ac86,_0x41b85b- -_0x34cb1a._0x5c2fa3,_0x17fc06,_0x41b85b-_0x34cb1a._0x691ceb);}const _0x42db2b=_0x36538b['annotations']?.[_0x38909f(0x45f,0x542,0x2b2,0x37d)];function _0x38909f(_0x2b54a3,_0x2c0e16,_0x5bd21e,_0x3401ac){return _0x1ac42a(_0x2b54a3-_0x322275._0x52270e,_0x2c0e16-0x1d6,_0x2b54a3-_0x322275._0xf2a545,_0x5bd21e);}if(_0x42db2b===!![])return _0x4d8420(_0x345b0c._0x3b1acb,0x3f2,_0x345b0c._0x41c7fd,_0x345b0c._0x749439);if(_0x42db2b===![])return _0x4d8420(0x15d,_0x345b0c._0x182ec0,_0x345b0c._0x3dcef1,0x256);return void 0x0;}function isJsonValue(_0x2a1c04){const _0x9f74d2={_0x2f044f:0x280,_0x35fdc9:0x180,_0x47bcb1:0x39,_0x228b48:0x169,_0x2ad918:0x7a,_0x29bae6:0x144,_0xaf2d4f:0xb0,_0x11ff1b:0x249,_0x59c35b:0x175,_0x2005fd:0x67,_0x340889:0x1ea,_0x2295f2:0x175},_0x5c2783={_0x4d87a6:0x164,_0x35af59:0x71,_0x127e8f:0xaf};function _0x547cc8(_0xdb40dd,_0x10e453,_0x349ed5,_0x38647f){return _0x1ac42a(_0xdb40dd-0x1c0,_0x10e453-0x6f,_0x349ed5-0x3e,_0x10e453);}function _0x4d9449(_0xa71932,_0xf26728,_0x4d1fd2,_0x345fa4){return _0x1ac42a(_0xa71932-_0x5c2783._0x4d87a6,_0xf26728-_0x5c2783._0x35af59,_0x345fa4-_0x5c2783._0x127e8f,_0xa71932);}if(_0x2a1c04===null||typeof _0x2a1c04===_0x547cc8(-0x19,-_0x9f74d2._0x2f044f,-0x189,-0x101)||typeof _0x2a1c04===_0x547cc8(0xb2,0x1e5,_0x9f74d2._0x35fdc9,0x1c3)||typeof _0x2a1c04===_0x547cc8(0x154,-0x3a,-_0x9f74d2._0x47bcb1,-_0x9f74d2._0x228b48))return!![];if(Array[_0x4d9449(-0x6f,-0x1e,-0x39,-_0x9f74d2._0x2ad918)](_0x2a1c04))return _0x2a1c04[_0x4d9449(_0x9f74d2._0x29bae6,_0x9f74d2._0xaf2d4f,_0x9f74d2._0x11ff1b,_0x9f74d2._0x59c35b)](isJsonValue);if(!isObject(_0x2a1c04))return![];return Object['values'](_0x2a1c04)[_0x4d9449(_0x9f74d2._0x2005fd,_0x9f74d2._0x340889,-0x40,_0x9f74d2._0x2295f2)](isJsonValue);}function projectMcpTools(_0x58e1b5){const _0x420161={_0x44c7d8:0x1bb,_0x1eb104:0x129,_0x48fd75:0x3,_0x415546:0xa5,_0x13d8b0:0x7c,_0x2201d1:0x2a5,_0x5aed8b:0x295,_0x31ed7c:0x162,_0x29efda:0x41e,_0x32210d:0x18f,_0x3d0ea6:0x243,_0x18e4e7:0x218,_0x61f656:0x22e,_0x1a44b3:0x315,_0x542e03:0x1c4,_0x24c040:0x200,_0x208b86:0x71,_0x1618a0:0x17d,_0x8e81c6:0x199,_0x2c43ba:0x365,_0x42733b:0x487,_0x2db1d2:0x332,_0x31ebbf:0x189,_0x221d49:0x2a2,_0x1e8647:0x496,_0x2f8d78:0x533},_0x435c61={_0x24d896:0xd6},_0x584930={_0x5d81b8:0x6f,_0x5d3d05:0x34e},_0x7255ba=[],_0x52c85d=[];function _0x4ea321(_0x3b6274,_0x5256e5,_0x839457,_0x12aa9d){return _0x1ac42a(_0x3b6274-_0x584930._0x5d81b8,_0x5256e5-0x1de,_0x12aa9d-_0x584930._0x5d3d05,_0x3b6274);}for(const _0x108369 of _0x58e1b5[_0x383a56(_0x420161._0x44c7d8,_0x420161._0x1eb104,_0x420161._0x48fd75,0x372)]){const _0x695db3=ownValue(_0x58e1b5[_0x383a56(0xfd,0x2ca,-_0x420161._0x415546,-_0x420161._0x13d8b0)],_0x108369[_0x4ea321(0x371,0x375,_0x420161._0x2201d1,0x3e0)]),_0xc91fd7=isToolPermissionClass(_0x695db3)?_0x695db3:void 0x0,_0x1d5efe=_0xc91fd7??'always-confirm',_0x24e087=suggestedPermissionClass(_0x108369);_0x52c85d[_0x383a56(_0x420161._0x5aed8b,_0x420161._0x31ed7c,_0x420161._0x29efda,0x23e)]({'name':_0x108369['name'],..._0x108369[_0x383a56(_0x420161._0x32210d,_0x420161._0x3d0ea6,_0x420161._0x18e4e7,0x118)]!==void 0x0?{'description':_0x108369['description']}:{},...isJsonValue(_0x108369[_0x383a56(0xf4,0x160,0x92,0x1c1)])?{'inputSchema':_0x108369[_0x4ea321(_0x420161._0x61f656,0x1f6,_0x420161._0x1a44b3,_0x420161._0x542e03)]}:{},'permissionClass':_0x1d5efe,'permissionConfigured':_0xc91fd7!==void 0x0,..._0x24e087!==void 0x0?{'suggestedPermissionClass':_0x24e087}:{}});if(ownValue(_0x58e1b5[_0x383a56(_0x420161._0x24c040,_0x420161._0x208b86,0x110,0x2c9)],_0x108369[_0x383a56(0x310,0x239,0x39e,_0x420161._0x1618a0)])===![])continue;_0x7255ba[_0x4ea321(0x43e,_0x420161._0x8e81c6,0x22c,_0x420161._0x2c43ba)](createMcpTool({'serverName':_0x58e1b5[_0x4ea321(_0x420161._0x42733b,0x2bf,_0x420161._0x2db1d2,0x371)]??_0x58e1b5[_0x4ea321(0xed,0x1a7,0x316,_0x420161._0x31ebbf)],'tool':_0x108369,'client':_0x58e1b5[_0x4ea321(0x26f,_0x420161._0x221d49,0x36a,0x274)],'permissionClass':_0x1d5efe,'internalLifecycle':_0x58e1b5[_0x4ea321(0x62b,_0x420161._0x1e8647,_0x420161._0x2f8d78,0x4ca)]}));}function _0x383a56(_0x47c335,_0x59fec4,_0x33363a,_0x3faacd){return _0x1ac42a(_0x47c335-0x1a5,_0x59fec4-_0x435c61._0x24d896,_0x47c335-0x27e,_0x59fec4);}return{'tools':_0x7255ba,'descriptors':_0x52c85d};}function createMcpToolName(_0x4ba402,_0x824e4a){const _0x453e64={_0x23c1db:0x353,_0x4ed247:0x478,_0x4aa513:0x50a},_0x14b163={_0x1f265e:0x12,_0x4acce7:0x5a};function _0x3b2aa9(_0x2e9ebb,_0x22d02b,_0x12978e,_0x356fb9){return _0x151cc1(_0x2e9ebb-0xc8,_0x12978e- -_0x14b163._0x1f265e,_0x22d02b,_0x356fb9-_0x14b163._0x4acce7);}const _0x2472d5=_0x191a19=>_0x191a19['replace'](/[^a-zA-Z0-9_]+/g,'_')[_0x3b2aa9(0x12c,0x110,0x1bf,0xfe)](/^_+|_+$/g,'');function _0x5da5b3(_0x5b5989,_0x48c5ff,_0xbc72a0,_0x24c1bb){return _0x151cc1(_0x5b5989-0x11,_0x24c1bb- -0x2c6,_0xbc72a0,_0x24c1bb-0x51);}return _0x3b2aa9(_0x453e64._0x23c1db,0x5a7,_0x453e64._0x4ed247,_0x453e64._0x4aa513)+_0x2472d5(_0x4ba402)+'_'+_0x2472d5(_0x824e4a);}function isObject(_0x254db8){const _0x52e4d8={_0x5486be:0x1ff,_0x3887ff:0x1a3,_0x3aa01b:0x25a,_0x3824b8:0x36b,_0x1a9a3a:0x2e6},_0xe42c1d={_0x2f52eb:0x170,_0x3d44d4:0x117},_0x244208={_0x384685:0x58};function _0x4b0106(_0x145b14,_0x521226,_0x1ec158,_0x569bc7){return _0x1ac42a(_0x145b14-_0x244208._0x384685,_0x521226-0x4a,_0x521226-0x413,_0x1ec158);}function _0x3ff435(_0x39f67f,_0x37bfd9,_0x1d97f1,_0x1ad6b9){return _0x151cc1(_0x39f67f-_0xe42c1d._0x2f52eb,_0x37bfd9-_0xe42c1d._0x3d44d4,_0x1ad6b9,_0x1ad6b9-0x70);}return typeof _0x254db8===_0x4b0106(0x2e8,_0x52e4d8._0x5486be,_0x52e4d8._0x3887ff,_0x52e4d8._0x3aa01b)&&_0x254db8!==null&&!Array[_0x3ff435(0x37a,_0x52e4d8._0x3824b8,_0x52e4d8._0x1a9a3a,0x512)](_0x254db8);}function toSupportedSchema(_0x3b8a70){const _0x1c8a9a={_0x31f361:0x2e0,_0x35bcba:0x22b,_0x4367c2:0x39f,_0xecbe38:0x60,_0x19fa0f:0x3b,_0x7ff8b5:0x9a,_0x12e079:0x85,_0x490e7d:0x176,_0x298340:0x891,_0x5dd82e:0x6eb,_0x158af3:0x632,_0x2bffdc:0x696,_0x3ce5b4:0x916,_0x102a57:0xdb,_0x21a410:0x70,_0x5bfc31:0xa9,_0x56cee6:0x3a,_0x3e495d:0x752,_0x413a98:0x726,_0x4a0b01:0x705,_0x4206d8:0x2e,_0x20575f:0x16d,_0x52c370:0x7e,_0x39dba6:0x35c,_0x24b6e8:0x756,_0x4798f9:0x2e2},_0x3cbf0b={_0x26aadf:0x118},_0x4378e8={_0x46bf83:0x1e1,_0x21c524:0x64};if(!isObject(_0x3b8a70))return void 0x0;if(_0x3b8a70['type']===_0x48d66b(-0x123,-_0x1c8a9a._0x31f361,-0x22b,-0x267))return{'type':_0x48d66b(-0x2af,-0x169,-_0x1c8a9a._0x35bcba,-_0x1c8a9a._0x4367c2)};function _0x48d66b(_0x3d0d03,_0x39f20b,_0x27fa22,_0x54ea94){return _0x1ac42a(_0x3d0d03-_0x4378e8._0x46bf83,_0x39f20b-0x15f,_0x27fa22- -_0x4378e8._0x21c524,_0x39f20b);}if(_0x3b8a70[_0x48d66b(0x21f,0xa6,0x85,_0x1c8a9a._0xecbe38)]===_0x48d66b(0x257,-0x31,0xde,-_0x1c8a9a._0x19fa0f)||_0x3b8a70[_0x48d66b(0x1c,-_0x1c8a9a._0x7ff8b5,_0x1c8a9a._0x12e079,_0x1c8a9a._0x490e7d)]===_0x21340c(_0x1c8a9a._0x298340,0x873,0x629,_0x1c8a9a._0x5dd82e))return{'type':_0x21340c(_0x1c8a9a._0x158af3,_0x1c8a9a._0x2bffdc,_0x1c8a9a._0x3ce5b4,0x7af)};if(_0x3b8a70['type']===_0x48d66b(-0x29b,-0x1af,-_0x1c8a9a._0x102a57,-_0x1c8a9a._0x21a410))return{'type':_0x48d66b(-0x175,-0x1ba,-0xdb,0x47)};if(_0x3b8a70['type']===_0x48d66b(-_0x1c8a9a._0x5bfc31,0xb3,0x25,_0x1c8a9a._0x56cee6))return{'type':_0x21340c(_0x1c8a9a._0x3e495d,_0x1c8a9a._0x413a98,_0x1c8a9a._0x4a0b01,0x6f6),'items':toSupportedSchema(_0x3b8a70[_0x48d66b(-_0x1c8a9a._0x4206d8,_0x1c8a9a._0x20575f,_0x1c8a9a._0x52c370,0x200)])??{'type':_0x48d66b(-0x223,-_0x1c8a9a._0x39dba6,-_0x1c8a9a._0x35bcba,-0xe1)}};function _0x21340c(_0x594fbe,_0x357a2d,_0x17a72c,_0x8e2e0a){return _0x151cc1(_0x594fbe-_0x3cbf0b._0x26aadf,_0x8e2e0a-0x2f0,_0x17a72c,_0x8e2e0a-0x196);}if(_0x3b8a70[_0x21340c(0x73a,0x677,0x770,_0x1c8a9a._0x24b6e8)]===_0x21340c(0x426,0x489,_0x1c8a9a._0x4798f9,0x459))return toNuvinToolSchema(_0x3b8a70);return void 0x0;}function toNuvinToolSchema(_0x566f6d){const _0x5a8e1c={_0x5af8b6:0x4b,_0x550260:0x22d,_0x3e56b9:0x8,_0x2580b7:0x63,_0x471a75:0x2c,_0xdfccdb:0x1d3,_0x317108:0x92,_0x5e4e8b:0xc0,_0x43d7ab:0x185,_0x237472:0x15f,_0x562241:0xbc,_0x2121d9:0x157,_0x1868dc:0x10e,_0x40edf2:0x516,_0x444e76:0x17d},_0x584b04={_0x50579f:0x159,_0x487591:0x104},_0x231a55={_0x3244ee:0xe5};if(!isObject(_0x566f6d)||_0x566f6d[_0x38a0a8(0x47a,0x2ed,0x345,0x34c)]!=='object')return{'type':_0x3bba8c(-0x2a0,-_0x5a8e1c._0x5af8b6,-0x163,-_0x5a8e1c._0x550260),'properties':{}};const _0xa82560={};function _0x38a0a8(_0x4e0264,_0x396932,_0x520a4a,_0x181eed){return _0x151cc1(_0x4e0264-0x173,_0x4e0264-0x14,_0x396932,_0x181eed-_0x231a55._0x3244ee);}function _0x3bba8c(_0x22a4be,_0x274f19,_0x43c38e,_0x1f311b){return _0x1ac42a(_0x22a4be-_0x584b04._0x50579f,_0x274f19-_0x584b04._0x487591,_0x43c38e-0xb1,_0x1f311b);}const _0x55eb14=isObject(_0x566f6d[_0x3bba8c(_0x5a8e1c._0x3e56b9,_0x5a8e1c._0x2580b7,-_0x5a8e1c._0x471a75,0x3c)])?_0x566f6d[_0x3bba8c(0x188,-0xb4,-0x2c,-_0x5a8e1c._0xdfccdb)]:{};for(const [_0x2d8cfe,_0x31e2e0]of Object[_0x3bba8c(0x37,0x8a,_0x5a8e1c._0x317108,0xef)](_0x55eb14)){const _0x13d747=toSupportedSchema(_0x31e2e0);if(_0x13d747)_0xa82560[_0x2d8cfe]=_0x13d747;}const _0x1850e7=Array[_0x3bba8c(0x55,_0x5a8e1c._0x5e4e8b,-0x78,0x2e)](_0x566f6d['required'])?_0x566f6d[_0x3bba8c(_0x5a8e1c._0x43d7ab,_0x5a8e1c._0x237472,0x18c,_0x5a8e1c._0x562241)][_0x38a0a8(0x22b,_0x5a8e1c._0x2121d9,0xa3,_0x5a8e1c._0x1868dc)](_0x362222=>typeof _0x362222==='string'):void 0x0;return _0x1850e7?.[_0x38a0a8(0x49a,0x53b,_0x5a8e1c._0x40edf2,0x3fa)]?{'type':_0x38a0a8(_0x5a8e1c._0x444e76,0xb1,0x23e,-0x13),'properties':_0xa82560,'required':_0x1850e7}:{'type':_0x38a0a8(0x17d,0x241,0x230,0x2b0),'properties':_0xa82560};}function isJsonObject(_0x53c4b8){const _0x3c7180={_0x486eb0:0x9,_0x57bb04:0x82},_0x57b2bb={_0x5c204f:0x3a};function _0x45aa7d(_0x3e87b9,_0x3855e1,_0x18980a,_0x283746){return _0x1ac42a(_0x3e87b9-0x187,_0x3855e1-_0x57b2bb._0x5c204f,_0x18980a-0x162,_0x283746);}return typeof _0x53c4b8===_0x45aa7d(-0xda,_0x3c7180._0x486eb0,-0xb2,_0x3c7180._0x57bb04)&&_0x53c4b8!==null&&!Array['isArray'](_0x53c4b8);}function formatMcpContent(_0x3de988){const _0x1ad0bb={_0x210492:0x49e,_0x469caf:0x5fb,_0x2a3343:0x610,_0x36dedf:0x46c,_0x11e789:0x6a4,_0x325ed3:0x63e,_0x9de3d0:0x4bb,_0x4fac49:0x600,_0x4132be:0x345,_0x1d5eb0:0x3ee,_0x5ccb68:0x3f4},_0x5cbba1={_0x44f5b5:0x1e0,_0x387532:0x17a},_0x340515={_0x4547b3:0x2a6,_0x319cc5:0x2c8,_0x426efc:0x436,_0x401e18:0x291,_0x147418:0x37b,_0x272680:0xba,_0x296b05:0x114,_0x1c5af8:0x38},_0x1a24c9={_0x1ff552:0x32,_0x24f9a8:0x1eb},_0xf0dcb0=Array[_0x4f5548(0x3e0,0x43f,0x372,_0x1ad0bb._0x210492)](_0x3de988[_0x4f5548(0x566,0x66c,0x666,0x6b0)])?_0x3de988[_0x166408(0x7b3,0x6b0,_0x1ad0bb._0x469caf,0x450)]:[];function _0x4f5548(_0x3aec4d,_0x1f049,_0x1f6d35,_0x12847b){return _0x151cc1(_0x3aec4d-_0x1a24c9._0x1ff552,_0x1f049-_0x1a24c9._0x24f9a8,_0x1f6d35,_0x12847b-0x9a);}const _0xca8db5=_0xf0dcb0[_0x166408(_0x1ad0bb._0x2a3343,0x5b0,0x5a1,0x622)](_0x2c0346=>{const _0x3aff8e={_0xd528fa:0x124,_0x11ca94:0x573};if(!isObject(_0x2c0346))return'';if(_0x2c0346[_0x49136e(0x182,0xde,_0x340515._0x4547b3,0x18d)]===_0x49136e(-_0x340515._0x319cc5,-0x210,-0x123,-0x70)&&typeof _0x2c0346[_0x265ccd(_0x340515._0x426efc,0x5d9,0x30b,_0x340515._0x401e18)]==='string')return _0x2c0346[_0x265ccd(0x436,0x3cf,0x335,_0x340515._0x147418)];function _0x49136e(_0xde0ee4,_0x4a88a0,_0x5dd471,_0x287980){return _0x4f5548(_0xde0ee4-_0x3aff8e._0xd528fa,_0x4a88a0- -_0x3aff8e._0x11ca94,_0xde0ee4,_0x287980-0x3c);}function _0x265ccd(_0x5ed42e,_0x483fa9,_0x54b798,_0x1410a0){return _0x4f5548(_0x5ed42e-0x36,_0x5ed42e-0xd3,_0x483fa9,_0x1410a0-0xa5);}return JSON[_0x49136e(_0x340515._0x272680,-_0x340515._0x296b05,-_0x340515._0x1c5af8,0xaf)](_0x2c0346);})[_0x4f5548(_0x1ad0bb._0x36dedf,0x402,0x4a1,0x4ce)](_0xef265f=>_0xef265f[_0x4f5548(0x579,0x671,0x5fb,0x64d)]>0x0)[_0x4f5548(0x548,_0x1ad0bb._0x11e789,0x731,_0x1ad0bb._0x325ed3)]('\x0a');if(_0xca8db5[_0x166408(0x448,_0x1ad0bb._0x9de3d0,_0x1ad0bb._0x4fac49,0x7a8)]>0x0)return _0xca8db5;function _0x166408(_0x461ba0,_0x1af134,_0x4f8d9c,_0x310595){return _0x151cc1(_0x461ba0-_0x5cbba1._0x44f5b5,_0x4f8d9c-_0x5cbba1._0x387532,_0x461ba0,_0x310595-0xd7);}return JSON[_0x166408(_0x1ad0bb._0x4132be,0x352,_0x1ad0bb._0x1d5eb0,_0x1ad0bb._0x5ccb68)](_0x3de988,null,0x2);}function createMcpTool(_0x854d9a){const _0x442a6e={_0x166d30:0x83d,_0x65117d:0x747,_0x598ff9:0x5f5,_0x1a505c:0x7a2,_0x12e763:0x20a,_0x1d33cb:0xcc,_0x1064be:0xa4,_0x309443:0x797,_0x153c2a:0x1a9,_0x19bde2:0x1a2,_0x247335:0x24,_0x3f7bd4:0x48f,_0x5d27ec:0x46a,_0x1afab1:0x509,_0x44d7d9:0x374,_0x48c550:0x43,_0xb27971:0x139,_0x188569:0x173,_0x4db2c1:0xeb,_0x32bc0c:0x643,_0x270808:0x48b,_0x1ef6f6:0x376,_0xdef2c8:0x4c6,_0x1d0af2:0x42c},_0x1e84f6={_0x16caea:0xb8,_0x410af9:0xc,_0x487910:0x2b2,_0x435349:0x1d5,_0x44abd8:0x318,_0x31f8f5:0x1ed,_0x547506:0x196,_0x11e224:0x1,_0x35986d:0x116,_0x56e70f:0x27,_0x4340ca:0x3e2,_0x261651:0x117,_0x54f8a4:0x85,_0x4360ad:0x281,_0xa283f9:0x9f,_0x2f3d28:0x212,_0x4d5ea6:0xdf,_0x265bab:0x2c,_0x4ee2fd:0x3d,_0xa83f6c:0x178},_0x289dc3={_0x1b9506:0x56a,_0x27087a:0x1a9},_0x10da00={_0x302c5e:0x2d3},_0x4d2d72={_0x3976bb:0x10f,_0x42164c:0x3cc,_0x4019c4:0x124};function _0x1f9218(_0x300ad7,_0x4e08fb,_0x390287,_0x4cf552){return _0x151cc1(_0x300ad7-_0x4d2d72._0x3976bb,_0x300ad7- -_0x4d2d72._0x42164c,_0x390287,_0x4cf552-_0x4d2d72._0x4019c4);}const _0x4935f1=createMcpToolName(_0x854d9a['serverName'],_0x854d9a['tool']['name']);function _0x172b4c(_0x1f6b75,_0x325331,_0x2e2823,_0x171cb3){return _0x151cc1(_0x1f6b75-0x16a,_0x325331-_0x10da00._0x302c5e,_0x171cb3,_0x171cb3-0x151);}return defineTool({'name':_0x4935f1,'permissionClass':_0x854d9a[_0x172b4c(_0x442a6e._0x166d30,_0x442a6e._0x65117d,_0x442a6e._0x598ff9,_0x442a6e._0x1a505c)],..._0x854d9a[_0x1f9218(0x134,_0x442a6e._0x12e763,_0x442a6e._0x1d33cb,_0x442a6e._0x1064be)]!==void 0x0?{'internalLifecycle':_0x854d9a[_0x172b4c(0x7d4,0x7d3,_0x442a6e._0x309443,0x954)]}:{},'description':_0x854d9a[_0x1f9218(-_0x442a6e._0x153c2a,0x27,-_0x442a6e._0x19bde2,-_0x442a6e._0x247335)][_0x172b4c(_0x442a6e._0x3f7bd4,0x561,_0x442a6e._0x5d27ec,0x5d9)]??_0x172b4c(0x602,_0x442a6e._0x1afab1,0x3a9,_0x442a6e._0x44d7d9)+_0x854d9a[_0x1f9218(-0x1a9,-0x22b,-0x2ce,-0x12f)][_0x1f9218(_0x442a6e._0x48c550,-_0x442a6e._0xb27971,0x1b6,_0x442a6e._0x188569)]+_0x1f9218(-0x3e,-_0x442a6e._0x4db2c1,0x147,-0x82)+_0x854d9a[_0x172b4c(_0x442a6e._0x32bc0c,_0x442a6e._0x270808,0x363,0x597)],'inputSchema':toNuvinToolSchema(_0x854d9a[_0x1f9218(-0x1a9,-0x2eb,-0x17,-0x36c)][_0x172b4c(_0x442a6e._0x1ef6f6,_0x442a6e._0xdef2c8,_0x442a6e._0x1d0af2,0x341)]),async *'execute'(_0x3ec60e){const _0x3cf236={_0x5f4718:0x14e,_0x460505:0x6e3,_0x25ea7c:0x141};let _0x185de2;try{_0x185de2=await _0x854d9a[_0x138b16(0x176,0x17b,-_0x1e84f6._0x16caea,_0x1e84f6._0x410af9)][_0x138b16(_0x1e84f6._0x487910,0x3c0,_0x1e84f6._0x435349,0x25b)]({'name':_0x854d9a[_0x537b48(-0xdf,-_0x1e84f6._0x44abd8,-0x28b,-_0x1e84f6._0x31f8f5)][_0x537b48(_0x1e84f6._0x547506,0x103,0x8d,-_0x1e84f6._0x11e224)],'arguments':isJsonObject(_0x3ec60e)?_0x3ec60e:{}});if(_0x185de2[_0x138b16(0xa4,-_0x1e84f6._0x35986d,0x102,_0x1e84f6._0x56e70f)])throw toMcpSafeError({'serverName':_0x854d9a[_0x537b48(-0xdc,-_0x1e84f6._0x4340ca,-0x399,-0x258)],'operation':_0x138b16(-_0x1e84f6._0x261651,-0xa1,-0x9,-_0x1e84f6._0x54f8a4),'error':_0x185de2});}catch(_0xd6c803){throw extractOwnedMcpSafeError(_0xd6c803)??toMcpSafeError({'serverName':_0x854d9a[_0x537b48(-0x39d,-_0x1e84f6._0x4360ad,-0x270,-0x258)],'operation':'toolCall','error':_0xd6c803});}yield createToolOutput(formatMcpContent(_0x185de2),{'serverName':_0x854d9a[_0x138b16(_0x1e84f6._0xa283f9,-_0x1e84f6._0x2f3d28,-0x231,-_0x1e84f6._0x4d5ea6)],'toolName':_0x854d9a['tool'][_0x138b16(-_0x1e84f6._0x265bab,0x8,-_0x1e84f6._0x4ee2fd,_0x1e84f6._0xa83f6c)],'result':_0x185de2});function _0x138b16(_0x2a4bec,_0x4755af,_0x40fe53,_0x3068f9){return _0x172b4c(_0x2a4bec-0x6e,_0x3068f9- -_0x289dc3._0x1b9506,_0x40fe53-_0x289dc3._0x27087a,_0x2a4bec);}function _0x537b48(_0x3d39b8,_0x318d9e,_0x35c73f,_0x6e66e4){return _0x172b4c(_0x3d39b8-_0x3cf236._0x5f4718,_0x6e66e4- -_0x3cf236._0x460505,_0x35c73f-_0x3cf236._0x25ea7c,_0x318d9e);}return void 0x0;}});}var DEFAULT_MCP_TIMEOUT_MS=0xea60;function createMcpTimeoutSource(_0x2996f9){let _0x353f19=_0x2996f9;return{'get'(){return _0x353f19;},'set'(_0x26b99f){_0x353f19=_0x26b99f;}};}function resolveMcpTimeoutMs(_0x45a817,_0x26e8c1){const _0x447ed9={_0x458aef:0x2a4,_0x7647cf:0x1ef,_0x723be1:0x212},_0x2edc02={_0x3c3b07:0x57};function _0x31cc9f(_0x36274b,_0x164408,_0x5f1128,_0x1f97bd){return _0x151cc1(_0x36274b-0x93,_0x5f1128-_0x2edc02._0x3c3b07,_0x1f97bd,_0x1f97bd-0x111);}return _0x45a817[_0x31cc9f(_0x447ed9._0x458aef,0x1a7,_0x447ed9._0x7647cf,_0x447ed9._0x723be1)]??_0x26e8c1??DEFAULT_MCP_TIMEOUT_MS;}function mapOwnedMcpBoundaryError(_0x21a4a6,_0x2cd505){return(_0x2cd505?extractOwnedMcpSafeError(_0x21a4a6['error']):void 0x0)??createOwnedMcpSafeError(_0x21a4a6);}function createMcpGenerationLifecycle(_0x437589){const _0x418f14={_0x336a52:0x104,_0x527a40:0xb1,_0x483b6e:0x1d},_0xbbfc55={_0x163d15:0x20c},_0x31a418={_0x29d584:0x65,_0x100c94:0x7f,_0x358be8:0x1b3,_0x31b983:0x29a,_0x47a067:0x1e5},_0x2431d3={_0x1c5732:0x249};let _0x5e9def=0x0,_0x47f7e9=![],_0x495b35=![],_0x4c9f4a,_0x5592a8,_0x457fc6;const _0x1ec8c4=()=>{function _0x117e9c(_0x119dbe,_0x459d51,_0x3240de,_0xae620a){return _0x5041(_0xae620a- -_0x2431d3._0x1c5732,_0x119dbe);}if(!_0x47f7e9||_0x5e9def!==0x0||_0x495b35)return;_0x495b35=!![];function _0x37e334(_0x37ae78,_0xdb2bef,_0x5eddf3,_0x142e15){return _0x5041(_0x5eddf3- -0x28f,_0xdb2bef);}void Promise[_0x117e9c(0x105,-0x125,_0x31a418._0x29d584,_0x31a418._0x100c94)]()[_0x37e334(0x2d7,0xcd,_0x31a418._0x358be8,0x251)](_0x437589)[_0x37e334(0x16b,_0x31a418._0x31b983,0x1b3,_0x31a418._0x47a067)](_0x5592a8,_0x457fc6);};return{'acquire'(){if(_0x47f7e9)throw new Error(_0x2b5ddd(_0x418f14._0x336a52,_0x418f14._0x527a40,-0xd0,_0x418f14._0x483b6e));_0x5e9def+=0x1;let _0x52b76f=![];function _0x2b5ddd(_0x19b40e,_0x4adc7e,_0x16e151,_0x48e171){return _0x5041(_0x4adc7e- -_0xbbfc55._0x163d15,_0x19b40e);}return()=>{if(_0x52b76f)return;_0x52b76f=!![],_0x5e9def-=0x1,_0x1ec8c4();};},'retire'(){return!_0x4c9f4a&&(_0x4c9f4a=new Promise((_0x414630,_0xa875b7)=>{_0x5592a8=_0x414630,_0x457fc6=_0xa875b7;})),_0x47f7e9=!![],_0x1ec8c4(),_0x4c9f4a;}};}function buildMcpHttpHeaders(_0x1eee2b){const _0x41a020={_0xb18ff2:0x246,_0x4cbc78:0x281,_0x433ca5:0x237,_0x26887c:0x235,_0x501b35:0x514,_0x8c8be9:0x6e9,_0x3c4e95:0x8c0,_0x193934:0x817,_0x11ac3c:0x6c2,_0x554c41:0x8a2,_0x2369b7:0x789,_0x457fb7:0x1bb,_0x59b3cf:0x24a,_0x14b404:0xd8,_0x58e732:0xa8},_0x57922d={_0x5c5572:0x6c7},_0xad3c2={_0x75a573:0x141},_0x524186={..._0x1eee2b[_0x5286e1(_0x41a020._0xb18ff2,0x120,0x26a,_0x41a020._0x4cbc78)]??{}};function _0x5286e1(_0x52ef60,_0x44f71b,_0x8c00c9,_0x1f1876){return _0x1ac42a(_0x52ef60-0xc2,_0x44f71b-0x140,_0x52ef60-_0xad3c2._0x75a573,_0x44f71b);}_0x1eee2b[_0x5286e1(0x258,_0x41a020._0x433ca5,0x3b8,_0x41a020._0x26887c)]?.['type']===_0x5c4c55(_0x41a020._0x501b35,0x423,0x76c,0x5e9)&&_0x1eee2b[_0x5c4c55(0x886,0x74a,_0x41a020._0x8c8be9,0x7de)][_0x5c4c55(_0x41a020._0x3c4e95,_0x41a020._0x193934,0x683,0x789)]&&_0x524186[_0x5c4c55(0x70b,0x605,0x5b8,_0x41a020._0x11ac3c)]===void 0x0&&(_0x524186['Authorization']='Bearer\x20'+_0x1eee2b['auth'][_0x5c4c55(0x8e5,_0x41a020._0x554c41,0x756,_0x41a020._0x2369b7)]);function _0x5c4c55(_0x3deed5,_0x218b15,_0x17416c,_0x40bebb){return _0x1ac42a(_0x3deed5-0x187,_0x218b15-0x19a,_0x40bebb-_0x57922d._0x5c5572,_0x3deed5);}return Object[_0x5286e1(0x178,0xdf,_0x41a020._0x457fb7,0x20)](_0x524186)[_0x5286e1(_0x41a020._0x59b3cf,0x1f3,_0x41a020._0x14b404,_0x41a020._0x58e732)]>0x0?_0x524186:void 0x0;}function _0x1ac42a(_0x524bf5,_0x3ab1d5,_0x5f2f73,_0x1df016){return _0x5041(_0x5f2f73- -0x32a,_0x1df016);}async function connectMcpServer(_0x22931a,_0x3abbfe,_0x28191f){const _0x29cca1={_0x157468:0x57a,_0x47ccc7:0x526,_0x518a20:0x4ba,_0x21af7c:0x691,_0x3a7ffc:0xc6,_0x4bfba4:0x21,_0x275201:0x253,_0x106268:0x398,_0x24d195:0x121,_0x106ec8:0x11,_0x292325:0x7d5,_0x55216d:0x819,_0x1eb6a1:0x144,_0x23272f:0x21a,_0x24e905:0x22d,_0x222e09:0x49e,_0x871eec:0x28e,_0xacd9c7:0x28f,_0x1ba30f:0x70,_0x13195f:0x9,_0x4f5e76:0x708,_0x2bd9c4:0x14b,_0x13827b:0x13a,_0x3bbd8e:0x36,_0x5cf938:0x282,_0x501d29:0x148,_0x478653:0xb6,_0x1c1c34:0x6d3,_0x5b73f9:0x61d,_0x3aeeee:0x6fc,_0x177045:0x672,_0x579905:0x83c,_0x301e70:0x7b2,_0x4a32bb:0x508,_0x436f64:0x672,_0x410f92:0x386,_0xbfc8f8:0x4f1,_0x3600c7:0x508,_0x5e2a6c:0x451,_0x4dd5e7:0x4ac,_0x547c52:0x10c,_0x3701a5:0x101,_0x1038d8:0x50,_0x3d0efb:0x9b,_0xed66c4:0x42f,_0x320d26:0x4ba,_0x4c7e05:0x5b9,_0x28ebc9:0x572,_0x179ad2:0x455,_0x350a8c:0xc1,_0x54cd74:0x118,_0x1fe78b:0x92,_0x284899:0x4c,_0x3360fb:0x3e1,_0x2275de:0xe0,_0x8f7cf6:0x189,_0x3035c1:0x23,_0x23b7b3:0x232,_0x1a16bc:0x478,_0xcc3041:0x3f6,_0x29f37d:0x60b,_0x5d7dbd:0x5d6,_0x2b52f8:0x272,_0x81dc9b:0x2da,_0x244c74:0x394,_0x3fcc16:0x556},_0x4a513a={_0x4b9dcd:0x3f4,_0x791ff8:0x21e,_0x269c60:0x550,_0xb4b891:0x443,_0x418c99:0x29e,_0xb6ecfe:0x313,_0x8c9cc4:0x254,_0x4b0d7e:0x11b,_0x5a7237:0x145},_0x2786ae={_0x2ea628:0x15e,_0x313341:0x152},_0x20e47f={_0xa2c0c9:0x714,_0x56aedd:0x64c,_0x4305bb:0x4c,_0x428661:0x255},_0x4b6596={_0x243537:0x137},_0xf8857d={_0x202cbd:0x33c,_0x53d331:0x25d,_0x196497:0x1e9},_0x41fd49={_0x41fab9:0x3c8,_0x2a847b:0x18d},_0x42c245={_0x4beaf9:0xd7,_0x4e60eb:0x237,_0xe22863:0x14b,_0x5e7ec5:0x2d6,_0x3b42f7:0x113,_0x3ebc5d:0x26b,_0x4bc73b:0x317,_0xa7cdf0:0x36c,_0x4417b7:0x3c1,_0x5c5fa6:0x25c,_0x3e8b6d:0x156},_0x57638b={_0xaca627:0x101},_0xab6d7={_0x550c5c:0x1ed,_0x3fc8e3:0x2fb,_0x2e4d11:0x290,_0x239a60:0x3e6,_0x26990c:0x20c,_0x229308:0x2b0},_0x19d63d={_0xe1e6bd:0x56d},_0x9b203d={_0x5bc57b:0x5ea},_0x44f391={_0x13e8a4:0xec,_0x32060f:0xdf,_0x3d116d:0x1b5,_0x4d4386:0x527,_0x3de41f:0x56f},_0x3f8ab6=new Client({'name':_0x309a05(_0x29cca1._0x157468,_0x29cca1._0x47ccc7,_0x29cca1._0x518a20,0x4a0),'version':_0x309a05(0x6ea,0x7ab,0x61c,_0x29cca1._0x21af7c)}),_0x480d62=_0x28191f?.[_0x490483(-_0x29cca1._0x3a7ffc,-0x292,-_0x29cca1._0x4bfba4,-0x9)]??createMcpTimeoutSource(DEFAULT_MCP_TIMEOUT_MS),_0x49b6bc=new Set();let _0x18c7d1,_0x2eb9a5=![];const _0x25ec4e=()=>{const _0xa2c2d0={_0x347688:0x10b};function _0x4c6170(_0x3e84dc,_0x19adfb,_0x5d99cb,_0x2014a5){return _0x490483(_0x3e84dc-0x1ce,_0x19adfb-_0xa2c2d0._0x347688,_0x5d99cb,_0x2014a5-0xaf);}function _0x4c05b7(_0x48d9a6,_0x8d9955,_0x3af135,_0x551680){return _0x490483(_0x551680-0x55b,_0x8d9955-0x1d2,_0x8d9955,_0x551680-0x195);}if(_0x2eb9a5||_0x18c7d1)return;_0x18c7d1={'code':_0x4c6170(-0x58,-_0x44f391._0x13e8a4,_0x44f391._0x32060f,-_0x44f391._0x3d116d),'cause':new Error(_0x4c05b7(0x43d,_0x44f391._0x4d4386,0x4b6,_0x44f391._0x3de41f))};for(const _0x1d3b30 of _0x49b6bc){try{_0x1d3b30(_0x18c7d1);}catch{}}};function _0x309a05(_0xc93f76,_0x59b72d,_0x25cbb4,_0x3c8e5a){return _0x1ac42a(_0xc93f76-0xa,_0x59b72d-0x19e,_0x25cbb4-_0x9b203d._0x5bc57b,_0xc93f76);}_0x3f8ab6[_0x490483(-_0x29cca1._0x275201,-0x381,-_0x29cca1._0x106268,-0x275)]=()=>{const _0x407159={_0x3b0afb:0x276,_0x3eaac7:0x93};function _0x2b49d2(_0xb61ddb,_0x372088,_0x266645,_0x2fd714){return _0x309a05(_0x266645,_0x372088-0x1b6,_0x2fd714- -_0x407159._0x3b0afb,_0x2fd714-_0x407159._0x3eaac7);}function _0x4ef217(_0x112847,_0x4c6c0d,_0x2fe286,_0xf5ad9b){return _0x309a05(_0xf5ad9b,_0x4c6c0d-0x1a8,_0x112847- -_0x19d63d._0xe1e6bd,_0xf5ad9b-0x1af);}console['warn'](_0x2b49d2(_0xab6d7._0x550c5c,_0xab6d7._0x3fc8e3,0x2ba,_0xab6d7._0x2e4d11),{'server':_0x22931a,'code':_0x2b49d2(_0xab6d7._0x239a60,_0xab6d7._0x26990c,0x386,_0xab6d7._0x229308)});},_0x3f8ab6[_0x490483(-0x127,-0xd3,-_0x29cca1._0x24d195,-0x2a0)]=_0x25ec4e;function _0x490483(_0x111584,_0x19299f,_0x35a0c2,_0x11c223){return _0x151cc1(_0x111584-0x5,_0x111584- -0x3f6,_0x35a0c2,_0x11c223-_0x57638b._0xaca627);}try{if(_0x3abbfe[_0x490483(-0x15,-_0x29cca1._0x106ec8,-0x1cb,0xcd)]===_0x309a05(0x8d0,_0x29cca1._0x292325,0x70b,_0x29cca1._0x55216d)||_0x3abbfe['url']){if(!_0x3abbfe[_0x490483(-_0x29cca1._0x1eb6a1,-_0x29cca1._0x23272f,-_0x29cca1._0x24e905,0x12)])throw new Error(_0x309a05(_0x29cca1._0x222e09,_0x29cca1._0x871eec,0x3e1,_0x29cca1._0xacd9c7)+_0x22931a+'\x20requires\x20url\x20for\x20http\x20transport');if(_0x3abbfe[_0x490483(0x9e,-0xea,0x17a,0x207)]?.[_0x490483(_0x29cca1._0x1ba30f,0x56,_0x29cca1._0x13195f,0x1d6)]===_0x309a05(0x73d,0x58d,0x672,_0x29cca1._0x4f5e76)&&!_0x28191f?.[_0x490483(0xf,_0x29cca1._0x2bd9c4,-_0x29cca1._0x13827b,_0x29cca1._0x3bbd8e)])throw new Error(_0x490483(-_0x29cca1._0x5cf938,-_0x29cca1._0x501d29,-0x388,-_0x29cca1._0x478653)+_0x22931a+'\x20requires\x20OAuth\x20connection\x20options');const _0x212c17=buildMcpHttpHeaders(_0x3abbfe),_0x371de9=_0x3abbfe['auth']?.[_0x309a05(0x519,0x73c,_0x29cca1._0x1c1c34,0x560)]===_0x309a05(_0x29cca1._0x5b73f9,_0x29cca1._0x3aeeee,_0x29cca1._0x177045,_0x29cca1._0x579905)&&_0x28191f?.[_0x309a05(0x61c,0x4b9,_0x29cca1._0x177045,0x79c)]?createMcpOAuthProvider({'serverName':_0x22931a,'callbackUrl':_0x28191f[_0x309a05(_0x29cca1._0x301e70,_0x29cca1._0x4a32bb,_0x29cca1._0x436f64,0x6a5)][_0x309a05(_0x29cca1._0x410f92,_0x29cca1._0xbfc8f8,_0x29cca1._0x3600c7,_0x29cca1._0x5e2a6c)],'storageDir':_0x28191f[_0x309a05(0x4d7,_0x29cca1._0x4dd5e7,_0x29cca1._0x436f64,0x4a2)][_0x490483(-0x21b,-0x8a,-0xc7,-_0x29cca1._0x547c52)],'config':_0x3abbfe[_0x490483(0x9e,0xdf,0x24,_0x29cca1._0x3701a5)],'onRedirect':_0xdf4be=>_0x28191f[_0x490483(0xf,-0x1ae,-0x178,0x61)]?.['onRedirect'](_0x22931a,_0xdf4be)}):void 0x0,_0x5cf67f=new StreamableHTTPClientTransport(new URL(_0x3abbfe['url']),{'authProvider':_0x371de9,'requestInit':_0x212c17?{'headers':_0x212c17}:void 0x0});await _0x3f8ab6[_0x490483(-0x10d,_0x29cca1._0x1038d8,_0x29cca1._0x3d0efb,-0xb3)](_0x5cf67f,{'timeout':_0x480d62[_0x309a05(0x5cb,0x6ad,0x5d6,_0x29cca1._0xed66c4)](),..._0x28191f?.[_0x309a05(_0x29cca1._0x320d26,_0x29cca1._0x4c7e05,0x3f1,0x4e3)]!==void 0x0?{'signal':_0x28191f[_0x309a05(_0x29cca1._0x28ebc9,0x282,0x3f1,_0x29cca1._0x179ad2)]}:{}});}else{if(!_0x3abbfe[_0x490483(-_0x29cca1._0x350a8c,-_0x29cca1._0x54cd74,_0x29cca1._0x1fe78b,-_0x29cca1._0x284899)])throw new Error(_0x309a05(0x539,0x21b,_0x29cca1._0x3360fb,0x4bd)+_0x22931a+_0x490483(_0x29cca1._0x2275de,_0x29cca1._0x8f7cf6,0xc9,-0x7));const _0x886fee=new StdioClientTransport({'command':_0x3abbfe[_0x490483(-0xc1,_0x29cca1._0x3035c1,-_0x29cca1._0x23b7b3,-0x184)],'args':_0x3abbfe[_0x309a05(_0x29cca1._0x1a16bc,0x649,0x56a,0x66d)]??[],'env':_0x3abbfe[_0x309a05(_0x29cca1._0xcc3041,0x614,0x5a9,0x674)],'stderr':_0x309a05(_0x29cca1._0x29f37d,0x395,0x480,0x590)});await _0x3f8ab6['connect'](_0x886fee,{'timeout':_0x480d62[_0x309a05(0x65d,0x632,_0x29cca1._0x5d7dbd,0x57f)](),..._0x28191f?.[_0x490483(-_0x29cca1._0x2b52f8,-0x430,-0x230,-0x1f0)]!==void 0x0?{'signal':_0x28191f[_0x490483(-0x272,-_0x29cca1._0x81dc9b,-0x36c,-0x239)]}:{}});}}catch(_0x25f3c3){throw createOwnedMcpSafeError({'serverName':_0x22931a,'operation':_0x309a05(0x510,_0x29cca1._0x244c74,_0x29cca1._0x3fcc16,0x505),'error':_0x25f3c3});}return{async 'listTools'(_0x40bfaf){const _0x4050fe={_0x50c18c:0x1d0},_0x57ea4f={_0x4ef988:0x37,_0x3b11d3:0x34};function _0x56876a(_0x464517,_0x4d7ff8,_0x5a19fe,_0x55f1ca){return _0x309a05(_0x5a19fe,_0x4d7ff8-_0x57ea4f._0x4ef988,_0x55f1ca- -0x53c,_0x55f1ca-_0x57ea4f._0x3b11d3);}function _0x453d28(_0x1d94aa,_0x4df8cf,_0x253f11,_0x567f5f){return _0x309a05(_0x567f5f,_0x4df8cf-0x1ca,_0x1d94aa- -0x11b,_0x567f5f-_0x4050fe._0x50c18c);}const _0x527824=_0x40bfaf?.[_0x56876a(-_0x42c245._0x4beaf9,-_0x42c245._0x4e60eb,-0xc3,-_0x42c245._0xe22863)]??_0x28191f?.[_0x453d28(_0x42c245._0x5e7ec5,_0x42c245._0x3b42f7,0x1cf,_0x42c245._0x3ebc5d)];try{return await _0x3f8ab6['listTools'](void 0x0,{'timeout':_0x480d62[_0x453d28(0x4bb,_0x42c245._0x4bc73b,_0x42c245._0xa7cdf0,_0x42c245._0x4417b7)](),..._0x527824!==void 0x0?{'signal':_0x527824}:{}});}catch(_0x4181a9){throw createOwnedMcpSafeError({'serverName':_0x22931a,'operation':_0x56876a(-0x207,-0x1d3,-_0x42c245._0x5c5fa6,-_0x42c245._0x3e8b6d),'error':_0x4181a9});}},'onTerminalError'(_0x2de4bc){const _0x579f8f={_0x42c489:0x100};_0x49b6bc[_0x553855(0x41c,_0xf8857d._0x202cbd,_0xf8857d._0x53d331,_0xf8857d._0x196497)](_0x2de4bc);const _0x7b0939=_0x18c7d1;_0x7b0939&&queueMicrotask(()=>{if(_0x49b6bc['has'](_0x2de4bc))_0x2de4bc(_0x7b0939);});function _0x553855(_0x5166f0,_0x166e31,_0x516e1f,_0x291e8e){return _0x490483(_0x516e1f-0x23f,_0x166e31-0x2,_0x5166f0,_0x291e8e-_0x579f8f._0x42c489);}function _0x313737(_0x3b250e,_0x663422,_0x708013,_0x77aad4){return _0x490483(_0x77aad4-_0x41fd49._0x41fab9,_0x663422-_0x41fd49._0x2a847b,_0x708013,_0x77aad4-0x10c);}return()=>_0x49b6bc[_0x313737(0x100,0x36f,0x173,0x1c6)](_0x2de4bc);},async 'callTool'(_0x881df7){const _0x111956={_0x4dd1a6:0x744,_0x1ffc02:0x41,_0x2065c9:0x15d};function _0x2fc3c8(_0x287453,_0x486356,_0x4d70a6,_0x4833b4){return _0x490483(_0x4d70a6-_0x111956._0x4dd1a6,_0x486356-_0x111956._0x1ffc02,_0x486356,_0x4833b4-_0x111956._0x2065c9);}function _0xb3bb8d(_0x1bfc7b,_0x1cd3ad,_0x5af407,_0x2aaacf){return _0x309a05(_0x1bfc7b,_0x1cd3ad-0x17,_0x1cd3ad- -0x58b,_0x2aaacf-_0x4b6596._0x243537);}try{return await _0x3f8ab6[_0x2fc3c8(0x792,_0x20e47f._0xa2c0c9,0x6c9,_0x20e47f._0x56aedd)]({'method':'tools/call','params':_0x881df7},CallToolResultSchema,{'timeout':_0x480d62['get']()});}catch(_0x3987f4){throw createOwnedMcpSafeError({'serverName':_0x22931a,'operation':_0xb3bb8d(-0x226,-0x10c,_0x20e47f._0x4305bb,-_0x20e47f._0x428661),'error':_0x3987f4});}},async 'close'(){const _0x2f6f43={_0x3314c0:0x111,_0x46f441:0x1ab};_0x2eb9a5=!![];function _0x2dc443(_0x3e79b4,_0x51146c,_0x4e8958,_0x543b43){return _0x309a05(_0x51146c,_0x51146c-_0x2f6f43._0x3314c0,_0x543b43- -_0x2f6f43._0x46f441,_0x543b43-0x58);}function _0x4351de(_0x1b5629,_0x4e8419,_0x77ecaa,_0x25c5b1){return _0x490483(_0x25c5b1-0x7f,_0x4e8419-_0x2786ae._0x2ea628,_0x1b5629,_0x25c5b1-_0x2786ae._0x313341);}_0x3f8ab6[_0x2dc443(_0x4a513a._0x4b9dcd,0x14d,0x3e6,0x265)]=void 0x0,_0x3f8ab6[_0x2dc443(_0x4a513a._0x791ff8,0x322,_0x4a513a._0x269c60,0x391)]=void 0x0,_0x49b6bc[_0x2dc443(0x405,_0x4a513a._0xb4b891,_0x4a513a._0x418c99,_0x4a513a._0xb6ecfe)]();try{await _0x3f8ab6[_0x4351de(_0x4a513a._0x8c9cc4,_0x4a513a._0x4b0d7e,0xbc,_0x4a513a._0x5a7237)]();}catch(_0x48f483){throw createOwnedMcpSafeError({'serverName':_0x22931a,'operation':'close','error':_0x48f483});}}};}async function createMcpConnectionGeneration(_0x4a3445){const _0x234081={_0x231593:0xcb,_0x7a2772:0x318,_0x194e66:0x1bc,_0x1f19e5:0x115,_0x406f84:0xe2,_0x4cfb47:0x22c,_0x3ffe64:0x332,_0x9a4769:0x1a4,_0x291dcb:0x2a,_0x5acaca:0x118,_0x4f6986:0x1c6,_0x1878e5:0xf8,_0x20a3f0:0xe4,_0x31bbeb:0x1cd,_0x5781ee:0xf0,_0x1f9bca:0x4d,_0x3edb41:0x14e,_0x579749:0x56,_0x515515:0x188,_0x4063b0:0x288,_0x51713c:0xfa,_0x4c180e:0x14c,_0x485ab0:0x8a,_0x45f5db:0xc1,_0x4ff6cb:0x2ec,_0x2ab3a9:0x123,_0x1f2a48:0x2dc,_0x2c27ba:0x38f},_0x28e86f={_0x252e08:0x21f,_0x1083fc:0x54},_0x10f815={_0x26b146:0x1b7,_0x4a8d40:0x1b},_0x48635e={_0x3c020b:0x601,_0x1ef53f:0x744},_0x23e0cf={_0x1fab00:0x81c,_0x1171c6:0x6bb},_0x27ce83={_0x2a17cd:0x181},_0x3d5cae={_0x235c94:0x5dc,_0x268614:0x693,_0x1376f3:0x725,_0x2b2092:0x5b1,_0x4de0bb:0x421,_0x2f1af3:0x7c5,_0x512068:0x682},_0x566873={_0x1bda84:0x140,_0x99c540:0x22a,_0x34aacc:0x138,_0x3ba379:0x2b2,_0xdd1c67:0x58,_0x1af712:0x165},_0x270bfc={_0x1b098c:0x28d},_0x121d70={_0x551f40:0x4,_0x161136:0x5d,_0x3fa4f5:0x55,_0x8b0968:0xe7},_0x586c99={_0x587089:0x1bc,_0x224f21:0x9c},_0xbe7903={_0x4be5d6:0x167},_0x50ab27=_0x4a3445[_0x41fa89(_0x234081._0x231593,0x117,_0x234081._0x7a2772,_0x234081._0x194e66)]??connectMcpServer,_0x381f2e=_0x4a3445[_0x94ead9(-_0x234081._0x1f19e5,_0x234081._0x406f84,-0x36,0x4d)]===void 0x0,_0x32712f={..._0x4a3445[_0x41fa89(_0x234081._0x4cfb47,0x2b7,_0x234081._0x3ffe64,_0x234081._0x9a4769)],'timeoutSource':_0x4a3445['timeoutSource'],..._0x4a3445[_0x94ead9(-0xa4,0x3a,-_0x234081._0x291dcb,-_0x234081._0x5acaca)]!==void 0x0?{'signal':_0x4a3445['signal']}:{}};let _0x2c554f;function _0x94ead9(_0x5fcac3,_0x40738e,_0x31b5b1,_0x2da8a9){return _0x151cc1(_0x5fcac3-0x18d,_0x2da8a9- -0x29c,_0x40738e,_0x2da8a9-_0xbe7903._0x4be5d6);}try{_0x2c554f=await _0x50ab27(_0x4a3445[_0x94ead9(-_0x234081._0x4f6986,-_0x234081._0x1878e5,-0x96,-_0x234081._0x20a3f0)],_0x4a3445['config'],_0x32712f);}catch(_0x519998){throw mapOwnedMcpBoundaryError({'serverName':_0x4a3445['serverName'],'operation':_0x94ead9(0x179,_0x234081._0x31bbeb,-_0x234081._0x5781ee,_0x234081._0x1f9bca),'error':_0x519998},_0x381f2e);}const _0x149d84=new Set();let _0xdc4de0;const _0x3383e4=_0x2c554f[_0x94ead9(-0x85,-0xd0,-_0x234081._0x3edb41,_0x234081._0x579749)]?.(_0xb191ee=>{if(_0xdc4de0)return;_0xdc4de0=_0xb191ee;for(const _0x1d804c of _0x149d84)_0x1d804c(_0xb191ee);});let _0x559d7e=![];function _0x41fa89(_0x22bc6f,_0x3289c5,_0x4e815f,_0x26a75f){return _0x151cc1(_0x22bc6f-0x185,_0x26a75f- -0x12d,_0x22bc6f,_0x26a75f-0x173);}const _0x268b45=()=>{if(_0x559d7e)return;function _0x6355cc(_0xa055f7,_0x4e742c,_0x249966,_0x5e5820){return _0x94ead9(_0xa055f7-_0x586c99._0x587089,_0x249966,_0x249966-0x177,_0x5e5820- -_0x586c99._0x224f21);}_0x559d7e=!![],_0x149d84[_0x6355cc(_0x121d70._0x551f40,-_0x121d70._0x161136,-_0x121d70._0x3fa4f5,-_0x121d70._0x8b0968)](),_0x3383e4?.();};let _0x2377e8;try{_0x2377e8=await _0x2c554f[_0x94ead9(_0x234081._0x515515,_0x234081._0x4063b0,-0xa9,_0x234081._0x51713c)](_0x4a3445[_0x94ead9(-_0x234081._0x4c180e,-0x57,_0x234081._0x485ab0,-0x118)]!==void 0x0?{'signal':_0x4a3445['signal']}:void 0x0);}catch(_0x2c1d39){const _0x12e184=mapOwnedMcpBoundaryError({'serverName':_0x4a3445['serverName'],'operation':_0x94ead9(-_0x234081._0x45f5db,-0x2c1,-_0x234081._0x4ff6cb,-_0x234081._0x2ab3a9),'error':_0x2c1d39},_0x381f2e);_0x268b45();try{await _0x2c554f[_0x41fa89(0x1f2,_0x234081._0x1f2a48,0x55a,_0x234081._0x2c27ba)]();}catch{}throw _0x12e184;}const _0x5e35e7=[..._0x2377e8['tools']],_0x523d43={async 'callTool'(_0x2e2c8f){const _0x13c6ac={_0x28b3e2:0x2a};function _0x50cdb2(_0x2b0f25,_0x3d6a0,_0xdfd7f4,_0x471588){return _0x94ead9(_0x2b0f25-_0x13c6ac._0x28b3e2,_0x3d6a0,_0xdfd7f4-0x19f,_0x2b0f25-0x29f);}function _0x4c171c(_0x44fab2,_0x32babd,_0x5b1658,_0x3ad6f0){return _0x41fa89(_0x5b1658,_0x32babd-0x7a,_0x5b1658-0x1c5,_0x3ad6f0- -_0x270bfc._0x1b098c);}try{return await _0x2c554f[_0x4c171c(0x228,_0x566873._0x1bda84,_0x566873._0x99c540,_0x566873._0x34aacc)](_0x2e2c8f);}catch(_0x81192a){throw mapOwnedMcpBoundaryError({'serverName':_0x4a3445[_0x4c171c(-_0x566873._0x3ba379,-0x27f,-0x2f3,-0x202)],'operation':_0x4c171c(-_0x566873._0xdd1c67,-0x202,-_0x566873._0x1af712,-0x1a8),'error':_0x81192a},_0x381f2e);}}},_0x277426=createMcpGenerationLifecycle(async()=>{const _0x1893c3={_0x2db8f1:0x80,_0x3eef81:0x505},_0x22941e={_0x3ea496:0xc7};_0x268b45();function _0x562f53(_0x4d401d,_0x439d4f,_0x2008bd,_0x138405){return _0x94ead9(_0x4d401d-0x25,_0x138405,_0x2008bd-_0x22941e._0x3ea496,_0x4d401d-0x27a);}function _0x13953a(_0x375c67,_0x4ab967,_0x22f778,_0x4e70c9){return _0x94ead9(_0x375c67-_0x1893c3._0x2db8f1,_0x22f778,_0x22f778-0x50,_0x4e70c9-_0x1893c3._0x3eef81);}try{await _0x2c554f[_0x13953a(_0x3d5cae._0x235c94,_0x3d5cae._0x268614,0x621,_0x3d5cae._0x1376f3)]();}catch(_0xa88208){throw mapOwnedMcpBoundaryError({'serverName':_0x4a3445[_0x13953a(_0x3d5cae._0x2b2092,0x485,0x41a,_0x3d5cae._0x4de0bb)],'operation':_0x13953a(_0x3d5cae._0x2f1af3,0x616,_0x3d5cae._0x512068,_0x3d5cae._0x1376f3),'error':_0xa88208},_0x381f2e);}});return{'client':_0x2c554f,'descriptors':_0x5e35e7,'lifecycle':_0x277426,'projectTools'(_0x30da01){return projectMcpTools({..._0x30da01,'descriptors':_0x5e35e7,'client':_0x523d43,'lifecycle':_0x277426});},'onTerminalError'(_0x4171f2){const _0x2a8b6e={_0x470f6c:0x13},_0xe41c6e={_0x32c661:0x1a9,_0x1aba62:0x90};function _0x21bd96(_0x16db07,_0x404678,_0x32b701,_0x2283f0){return _0x41fa89(_0x2283f0,_0x404678-_0xe41c6e._0x32c661,_0x32b701-_0xe41c6e._0x1aba62,_0x404678-0x31a);}if(_0x559d7e)return()=>{};_0x149d84[_0x21bd96(0x536,_0x48635e._0x3c020b,0x478,_0x48635e._0x1ef53f)](_0x4171f2);function _0x2b380b(_0x51669b,_0x4e0466,_0x34f8d7,_0x2fe130){return _0x94ead9(_0x51669b-0xbe,_0x51669b,_0x34f8d7-_0x27ce83._0x2a17cd,_0x34f8d7- -0x12c);}const _0x37a1ca=_0xdc4de0;return _0x37a1ca&&queueMicrotask(()=>{function _0x3a857c(_0x4ac091,_0x78c8fa,_0x51926c,_0x4bc404){return _0x21bd96(_0x4ac091-0x1ac,_0x78c8fa-0xbc,_0x51926c-_0x2a8b6e._0x470f6c,_0x4ac091);}if(_0x149d84[_0x3a857c(_0x23e0cf._0x1fab00,_0x23e0cf._0x1171c6,0x78a,0x592)](_0x4171f2))_0x4171f2(_0x37a1ca);}),()=>_0x149d84[_0x21bd96(0x289,0x3e1,0x5a9,0x437)](_0x4171f2);},'retire'(){function _0x1a4dcb(_0xc10b5e,_0x3830a7,_0x41b889,_0x22e1b4){return _0x41fa89(_0x41b889,_0x3830a7-_0x10f815._0x26b146,_0x41b889-0x1d2,_0xc10b5e- -_0x10f815._0x4a8d40);}return _0x268b45(),_0x277426[_0x1a4dcb(0x20a,_0x28e86f._0x252e08,0x27e,_0x28e86f._0x1083fc)]();}};}function getCommand(_0x10d171){const _0x196851={_0xa7c811:0x33,_0x488432:0x203,_0x5dc1af:0x105,_0x469f96:0x9c,_0x36e9d8:0xb9,_0x2a6202:0x89,_0x303926:0x77},_0x280d50={_0x1fc55a:0x10a},_0x4f6bd6={_0x1d304b:0xf4};function _0xa0482a(_0x2f18af,_0xd6e7b6,_0x408b4e,_0x1f6185){return _0x1ac42a(_0x2f18af-_0x4f6bd6._0x1d304b,_0xd6e7b6-0x182,_0x1f6185-0xc2,_0x408b4e);}function _0x1ac77a(_0x2c710c,_0x453d44,_0x110f3c,_0x826912){return _0x1ac42a(_0x2c710c-0xea,_0x453d44-_0x280d50._0x1fc55a,_0x826912- -0x54,_0x2c710c);}if(_0x10d171&&typeof _0x10d171==='object'&&!Array['isArray'](_0x10d171)&&typeof _0x10d171['command']===_0xa0482a(0x6d,_0x196851._0xa7c811,-_0x196851._0x488432,-_0x196851._0x5dc1af))return _0x10d171[_0x1ac77a(-0x260,-0x1c7,-0x247,-_0x196851._0x469f96)];return _0xa0482a(-_0x196851._0x36e9d8,0xbc,_0x196851._0x2a6202,_0x196851._0x303926);}var MOCK_WORKSPACE_LISTING=['docs/plans/2026-04-16-agent-loop-core-design.md',_0x151cc1(0x33e,0x43c,0x54b,0x609),_0x1ac42a(0x100,0x41,-0x2f,0x11e),_0x151cc1(0x2d5,0x39d,0x528,0x25a),'src/agent/agent.ts',_0x1ac42a(0x23,-0x131,-0xfe,-0x1a),_0x1ac42a(-0x5d,-0xcc,-0x21,0x70),_0x151cc1(0x3d2,0x41f,0x554,0x419),'src/models/mock-model.ts',_0x151cc1(0x359,0x196,0x22e,0x72),_0x1ac42a(-0x2c,0x114,0x144,0x12),_0x1ac42a(0x176,0xc4,0xa5,0xf3),'src/shared/types.ts',_0x151cc1(0x5e9,0x460,0x3f1,0x4f0),_0x151cc1(0x137,0x1bf,0x31e,0x110),_0x151cc1(0x332,0x2d4,0x1a8,0x332),_0x1ac42a(0x22,-0xc2,-0x164,-0xc3)][_0x151cc1(0x648,0x4b9,0x46a,0x3e8)]('\x0a'),SHELL_EXEC_TOOL={'name':_0x1ac42a(-0x13a,-0x36,0x52,-0x9a),'description':_0x1ac42a(-0xec,-0x2e,0x96,-0x1e),'input_schema':{'type':_0x151cc1(0x1f1,0x169,0x22e,-0x4c),'properties':{'command':{'type':'string'}},'required':['command']}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x22c7b6){return{'output':_0x22c7b6,'structured':{'value':_0x22c7b6}};}function createUnknownToolResult(_0x24bec1){const _0x5791b4={_0x20f172:0x694,_0x34bdd4:0x5a3,_0xfbc42f:0x683,_0x59d614:0x597},_0x4d248d={_0x3a54fb:0x181,_0x42e227:0x21},_0x2681e8={_0x580418:0x127,_0x38ee5c:0x3df};function _0xa8a19c(_0x3db13e,_0x2e9956,_0x27c93b,_0x43baa1){return _0x1ac42a(_0x3db13e-_0x2681e8._0x580418,_0x2e9956-0x188,_0x27c93b-_0x2681e8._0x38ee5c,_0x2e9956);}function _0x33793c(_0x52ee61,_0x3f935e,_0x398939,_0x4f970d){return _0x1ac42a(_0x52ee61-_0x4d248d._0x3a54fb,_0x3f935e-_0x4d248d._0x42e227,_0x52ee61-0x602,_0x4f970d);}return{'callId':_0x24bec1['id'],'toolName':_0x24bec1[_0x33793c(_0x5791b4._0x20f172,_0x5791b4._0x34bdd4,0x656,0x5b0)],'status':'error','output':'Unknown\x20tool:\x20'+_0x24bec1[_0x33793c(_0x5791b4._0x20f172,_0x5791b4._0xfbc42f,_0x5791b4._0x59d614,0x53e)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x15b91d,_0x20f476){const _0x4b0700={_0x1439dd:0x54e,_0x72e6d4:0x60a,_0x934ccd:0x12e,_0xd11648:0x2b6,_0x1e317d:0x4f},_0x5702a5={_0x41ea1f:0x29,_0xf415de:0x4f},_0x2b9180={_0x264155:0x11a};function _0x23a60d(_0xc6b62a,_0x38fc20,_0x19946a,_0x597a74){return _0x1ac42a(_0xc6b62a-0x10c,_0x38fc20-_0x2b9180._0x264155,_0x597a74-0x578,_0x38fc20);}function _0x41ab7f(_0x35b6d8,_0x3772ee,_0x217c1e,_0x26a799){return _0x1ac42a(_0x35b6d8-0x1b0,_0x3772ee-_0x5702a5._0x41ea1f,_0x35b6d8-_0x5702a5._0xf415de,_0x26a799);}return{'callId':_0x15b91d['id'],'toolName':_0x15b91d[_0x23a60d(_0x4b0700._0x1439dd,0x518,0x74e,_0x4b0700._0x72e6d4)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x15b91d[_0x41ab7f(_0x4b0700._0x934ccd,0x1bc,_0x4b0700._0xd11648,_0x4b0700._0x1e317d)]),'exitCode':0x0},'chunks':[_0x20f476],'meta':createMeta()};}function createMockToolRuntime(){const _0x410c91={_0xfb273b:0x3a1},_0x30a59d={_0x48ddc8:0x3d7},_0x1c1816={_0x2eb475:0x43f,_0x3b61a7:0x4ca,_0x4c5cfd:0x326,_0xa74be0:0x253,_0x2bd796:0x3ff,_0xdf258c:0x284},_0x3efc90={_0x50930b:0x138},_0x5a954f=async(_0xe13d50,_0x260069)=>{if(_0xe13d50[_0x168a83(0x2a7,0x4fa,_0x1c1816._0x2eb475,_0x1c1816._0x3b61a7)]!==_0x168a83(_0x1c1816._0x4c5cfd,_0x1c1816._0xa74be0,_0x1c1816._0x2bd796,_0x1c1816._0xdf258c))return createUnknownToolResult(_0xe13d50);function _0x168a83(_0x5845df,_0x3d22fc,_0x174a30,_0x573b23){return _0x5041(_0x174a30-0x83,_0x573b23);}function _0x3f4f69(_0x44c222,_0x468e6e,_0xab5db8,_0x9575f3){return _0x5041(_0x468e6e- -_0x3efc90._0x50930b,_0xab5db8);}const _0x305ceb=createOutputChunk(MOCK_WORKSPACE_LISTING);return createSuccessToolResult(_0xe13d50,_0x305ceb);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x16f451,_0x340be2){function _0x517988(_0x1e2e4e,_0x50d5b1,_0x2dcd3b,_0x5fdbb2){return _0x5041(_0x5fdbb2-_0x30a59d._0x48ddc8,_0x50d5b1);}function _0x4c2625(_0x53264e,_0x5149b2,_0x5a3b16,_0x2297e0){return _0x5041(_0x5149b2-0x160,_0x53264e);}return await Promise[_0x4c2625(0x1b8,0x35f,0x503,0x48e)](_0x16f451[_0x4c2625(_0x410c91._0xfb273b,0x534,0x3df,0x3a8)](async _0x2cb3bf=>{return await _0x5a954f(_0x2cb3bf,_0x340be2);}));},async 'execute'(_0x548346,_0xa5045f){return await _0x5a954f(_0x548346,_0xa5045f);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0x3d6b50={_0x5eaeca:0xb,_0x58d43b:0x186,_0x303816:0x22},_0x493a0d={_0x597d93:0x14d,_0x3171d4:0x41};function _0x2caf11(_0xa9dec2,_0x3dcb96,_0x4baa6f,_0x266136){return _0x1ac42a(_0xa9dec2-0x82,_0x3dcb96-_0x493a0d._0x597d93,_0xa9dec2-_0x493a0d._0x3171d4,_0x3dcb96);}return delegatedRunCounter+=0x1,_0x2caf11(_0x3d6b50._0x5eaeca,-0x169,-_0x3d6b50._0x58d43b,-_0x3d6b50._0x303816)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x3a70d8,_0x32cf08){const _0x291b5b={_0x2caf5b:0x338,_0x4907b4:0x4ad},_0x4c69aa={_0x126d16:0xe4};function _0x5325da(_0x2f7262,_0x1fbe62,_0x3719c7,_0x3bdf8c){return _0x151cc1(_0x2f7262-0x18,_0x3bdf8c-0x28a,_0x2f7262,_0x3bdf8c-_0x4c69aa._0x126d16);}return typeof _0x3a70d8===_0x5325da(_0x291b5b._0x2caf5b,0x3cc,_0x291b5b._0x4907b4,0x4a7)?await _0x3a70d8(_0x32cf08):_0x3a70d8;}function awaitWithAbort2(_0x26b1b1,_0x49f56b){const _0x2e9f33={_0x2067d4:0x149};return throwIfAborted(_0x49f56b),new Promise((_0x30f226,_0x48595b)=>{let _0x2ea2b8=![];const _0x1b3947=addAbortListener(_0x49f56b,()=>{if(_0x2ea2b8)return;_0x2ea2b8=!![];function _0x3dbbcd(_0x37f37,_0x1224a5,_0x1aa2fe,_0x185ae2){return _0x5041(_0x1224a5- -0x49,_0x185ae2);}_0x48595b(toAbortError(_0x49f56b[_0x3dbbcd(0x3e3,0x21a,_0x2e9f33._0x2067d4,0x273)]));});_0x26b1b1['then'](_0x42dcd9=>{if(_0x2ea2b8)return;_0x2ea2b8=!![],_0x1b3947(),_0x30f226(_0x42dcd9);},_0x445610=>{if(_0x2ea2b8)return;_0x2ea2b8=!![],_0x1b3947(),_0x48595b(_0x445610);});});}function getDelegatedAgentDefinition(_0x104358,_0x5384d8){return _0x104358['agents']?.[_0x5384d8];}function createRunSummary(_0x3e1969){const _0x5447a1={_0x414604:0x323,_0x6f169f:0x37f,_0x15e885:0x357,_0xa469be:0x355,_0x3d8730:0x32a,_0x33950d:0x1bf,_0x3fe994:0x4f1,_0x55dae2:0x41d,_0x5d7e3a:0x1df,_0x3fb757:0xa0,_0x579c61:0x88,_0x18887c:0x33c,_0xb4034b:0x3ed,_0x45a6cc:0x236,_0x53f534:0x33c,_0x4711ea:0x50c,_0x45dd13:0x46b,_0x29134b:0x246,_0x283413:0x2d5,_0x4178b2:0x3bc,_0x3844d8:0x519},_0x264e1a={_0x45302d:0x1d6,_0x21d1e6:0x111,_0x16a379:0xba},_0x42aa5f={_0x2df3ac:0xeb};function _0xbbc620(_0xe5a361,_0x3bc4ec,_0x18db6e,_0x56a9c2){return _0x1ac42a(_0xe5a361-_0x42aa5f._0x2df3ac,_0x3bc4ec-0x11d,_0x3bc4ec-0x346,_0x56a9c2);}function _0x1652e8(_0x2c2190,_0x1214de,_0x83daf7,_0x253808){return _0x151cc1(_0x2c2190-_0x264e1a._0x45302d,_0x1214de- -_0x264e1a._0x21d1e6,_0x83daf7,_0x253808-_0x264e1a._0x16a379);}return{'runId':_0x3e1969['runId'],'agentId':_0x3e1969[_0x1652e8(_0x5447a1._0x414604,_0x5447a1._0x6f169f,_0x5447a1._0x15e885,0x39d)],..._0x3e1969[_0x1652e8(_0x5447a1._0xa469be,0x2a8,0x348,_0x5447a1._0x3d8730)]!==void 0x0?{'sessionId':_0x3e1969[_0xbbc620(_0x5447a1._0x33950d,0x382,_0x5447a1._0x3fe994,0x452)]}:{},'status':_0x3e1969[_0xbbc620(0x418,0x3d1,0x32d,_0x5447a1._0x55dae2)],'parentSessionId':_0x3e1969[_0xbbc620(0x259,_0x5447a1._0x5d7e3a,_0x5447a1._0x3fb757,_0x5447a1._0x579c61)],..._0x3e1969[_0xbbc620(0x3ce,_0x5447a1._0x18887c,_0x5447a1._0xb4034b,_0x5447a1._0x45a6cc)]!==void 0x0?{'originToolCallId':_0x3e1969[_0xbbc620(0x1b8,_0x5447a1._0x53f534,_0x5447a1._0x4711ea,0x4b2)]}:{},..._0x3e1969['errorMessage']!==void 0x0?{'errorMessage':_0x3e1969[_0xbbc620(0x432,_0x5447a1._0x45dd13,0x316,0x61c)]}:{},..._0x3e1969['result']?.[_0x1652e8(0x18d,0x2c4,0x1b2,_0x5447a1._0x29134b)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x3e1969[_0xbbc620(_0x5447a1._0x283413,0x490,_0x5447a1._0x4178b2,_0x5447a1._0x3844d8)]['finalMessage'])}:{}};}function createRunSummaryOutput(_0x3532ea,_0x2c5849){const _0x13e341={_0x26f8aa:0x6c6,_0x4ad879:0x533,_0x387d0a:0x449,_0x5a480d:0x2b5},_0x433dc5={_0xc14540:0x1b5},_0x2d177a={_0x5312dd:0x167},_0x28e111=createRunSummary(_0x3532ea),_0x340b3b=_0x28e111[_0x1947ed(0x568,0x51c,_0x13e341._0x26f8aa,_0x13e341._0x4ad879)];function _0x571f95(_0x4eda90,_0x1f28fe,_0x32bc98,_0x49580d){return _0x1ac42a(_0x4eda90-_0x2d177a._0x5312dd,_0x1f28fe-0x50,_0x4eda90-0x340,_0x49580d);}function _0x1947ed(_0x5ab348,_0x4fbbe,_0x4305eb,_0x4128cf){return _0x151cc1(_0x5ab348-_0x433dc5._0xc14540,_0x4305eb-0x389,_0x4fbbe,_0x4128cf-0x19);}return createToolOutput(typeof _0x340b3b==='string'&&_0x340b3b[_0x571f95(_0x13e341._0x387d0a,0x5f9,0x3cb,_0x13e341._0x5a480d)]>0x0?_0x340b3b:_0x2c5849,_0x28e111);}function getRunTerminalErrorMessage(_0xa165e2){const _0x36788f={_0x3ba2e5:0xc1,_0x4d0418:0x558,_0x78258d:0x5ee,_0x1be577:0x216,_0x11dbb8:0xa8},_0x4050a5={_0xaab94d:0x11d},_0x5b7da0=_0xa165e2?.['state'][_0x4a864d(0x536,0x2d5,0x441,0x471)]['at'](-0x1);function _0x4a864d(_0x6bc8f3,_0x361ee8,_0x5371fd,_0x2fa997){return _0x151cc1(_0x6bc8f3-_0x4050a5._0xaab94d,_0x2fa997-0xe5,_0x5371fd,_0x2fa997-0x164);}if(_0x5b7da0?.[_0x4a864d(0x58f,0x4da,0x3e5,0x4ed)]===_0x2402ff(0x13c,0x287,_0x36788f._0x3ba2e5,0x17e)&&_0x5b7da0[_0x4a864d(_0x36788f._0x4d0418,0x496,_0x36788f._0x78258d,0x4ca)][_0x2402ff(0x28a,-0x38,0xf0,0x43)]()[_0x4a864d(0x66a,0x49f,0x69f,0x56b)]>0x0)return _0x5b7da0[_0x2402ff(_0x36788f._0x1be577,0x22c,_0x36788f._0x11dbb8,0xf0)];function _0x2402ff(_0x343e2b,_0x25a77a,_0x4319f6,_0x114f25){return _0x151cc1(_0x343e2b-0xfb,_0x4319f6- -0x33d,_0x114f25,_0x114f25-0x151);}return void 0x0;}function formatAbortedRunMessage(_0x2f49d0,_0x56dbe2){const _0x2827c9={_0x5f0843:0x62d,_0x418395:0x7c3,_0x1ceeb4:0x427,_0x1da3cf:0x6c1,_0xc0d8af:0x744},_0x54a820={_0x41dae5:0x18b,_0xc32938:0x112,_0x5b30df:0x698},_0x373754={_0x54b6d2:0x65},_0x1edabe=_0x470cab(0x792,_0x2827c9._0x5f0843,0x6a1,0x6cf)+_0x2f49d0+_0x7e1875(_0x2827c9._0x418395,0x67c,0x5f7,_0x2827c9._0x1ceeb4);function _0x470cab(_0xc1d6c0,_0x182d53,_0x30c48c,_0x490e76){return _0x151cc1(_0xc1d6c0-0x182,_0x490e76-0x2be,_0xc1d6c0,_0x490e76-_0x373754._0x54b6d2);}function _0x7e1875(_0x590ef5,_0xd3d1fc,_0x301f18,_0x50e0c9){return _0x1ac42a(_0x590ef5-_0x54a820._0x41dae5,_0xd3d1fc-_0x54a820._0xc32938,_0x301f18-_0x54a820._0x5b30df,_0x590ef5);}if(!_0x56dbe2||_0x56dbe2['trim']()[_0x470cab(0x5bc,_0x2827c9._0x1da3cf,0x73f,_0x2827c9._0xc0d8af)]===0x0||_0x56dbe2===_0x1edabe)return _0x1edabe;return _0x1edabe+'\x20Cause:\x20'+_0x56dbe2;}function createAssignTaskTool(_0x4efc54){const _0x4a86f1={_0x30a5f4:0x73e,_0x3d0220:0x4ac,_0x32fc4b:0x569,_0xbd3d99:0x464,_0x4bc067:0x2b1,_0x1791d2:0x39f,_0x1396f9:0x4b2,_0x45142d:0x624,_0x3370fc:0x44b,_0x441ab5:0x498,_0x250aa5:0x4c7,_0x1d6be6:0x2f2,_0x42d6d9:0x656,_0x151c67:0x5d8,_0x7910f5:0x5e4,_0x29a5f2:0x67b,_0x40d22a:0x58a,_0x1e6fd4:0x50d},_0x51f2d5={_0x24e0c9:0x49,_0x387476:0x21e,_0x24b0f9:0xb3,_0xd8748:0x205,_0x4c7e1f:0xb0,_0x1f2c23:0x1e9,_0x54f5a9:0x4e6,_0x3ccce1:0x360,_0x15a18f:0x659,_0x13ec15:0x6e6,_0x2cbdff:0x5aa,_0x146c78:0xde,_0x4e6317:0x7f,_0x4d6cbd:0xcb,_0x3739ec:0xdf,_0x413a46:0x187,_0x47f494:0xb,_0x448fcf:0x7b3,_0x4e2c8c:0x779,_0x340fff:0x6b8,_0x36fd2f:0x596,_0x5b0053:0x6b2,_0x5a4668:0x2b,_0x30da20:0x23d,_0x40bc0b:0x623,_0x47b579:0x731,_0x1d38d0:0xc2,_0x46e979:0xe1,_0x196011:0x228,_0x55f103:0x5be,_0xc6da46:0x682,_0x542289:0x5ec,_0x48a435:0x5ac,_0x2a3df9:0x6d7,_0x2a0723:0x1de,_0x13c165:0x89,_0x5bd5c4:0x185,_0xade3b7:0x25b,_0x18518a:0x305,_0x47ed83:0x185,_0x250aa4:0x549,_0x38ec90:0x2cd,_0x3421c5:0x440,_0x54643a:0x3a3,_0x27e627:0x5ab,_0x4e3280:0x3e0,_0x4f8399:0x406,_0x55fa34:0x470,_0x3024a5:0x50a,_0xe2760e:0xe0,_0xec4944:0x1dc,_0xf13254:0x1e,_0x2bc893:0x138,_0x4d4021:0x327,_0x408e58:0x223,_0x292f6a:0x1cf,_0x52214f:0x5,_0x20d6d4:0xc8,_0x4e6e30:0x2b4,_0x27fedc:0x23f,_0x428fb7:0x1a8,_0x41e94f:0x65,_0x4d3eba:0x161,_0xd9e727:0x46,_0x5339ed:0x29,_0x31f6e4:0x84,_0x4bb6a1:0xc5,_0x5a9f1b:0x198,_0x26440d:0x53d,_0x588c23:0x46c,_0x50060d:0x7c0,_0x26c204:0x627,_0x193ca3:0x229,_0x1a4108:0xb2,_0x4fe68f:0x5d,_0x193838:0x30,_0x22a2e0:0xff,_0x24bf11:0x7ab,_0x24a66c:0x723,_0xb7e23f:0x627,_0x14cbf2:0x28c,_0x4f4efd:0x630,_0x180a98:0x5a2,_0xce1916:0x719,_0x562e54:0x185,_0x3a1310:0x20c,_0x109fd8:0x10e,_0x3f6a0d:0x185,_0x4babe4:0x7dd,_0x2329ba:0x51a,_0x4beec1:0x67,_0x431503:0x644,_0xae46b7:0x183,_0x83726:0x1f,_0x4d492e:0x150,_0x820df3:0x192},_0x1daa59={_0xe400fb:0x3f,_0x1a584a:0xaf,_0x379595:0x152,_0x203d1d:0xb8,_0x2b05d2:0x5b,_0x9de243:0x1b},_0x1d346c={_0x55652b:0x605},_0x89583={_0x19e12d:0xd7,_0x4fba63:0x151},_0x519417={_0x299694:0xb1,_0x41f5dc:0x4c5},_0x3bf0c8={_0x1cceef:0x72,_0x1a9552:0x56,_0x423469:0x679};function _0x4c7503(_0x2b999b,_0x59abea,_0x2ef6d4,_0x1b8775){return _0x1ac42a(_0x2b999b-_0x3bf0c8._0x1cceef,_0x59abea-_0x3bf0c8._0x1a9552,_0x2b999b-_0x3bf0c8._0x423469,_0x2ef6d4);}function _0x479e06(_0x4f2943,_0x424b5c,_0x5808bf,_0x566b9e){return _0x1ac42a(_0x4f2943-0xfc,_0x424b5c-_0x519417._0x299694,_0x424b5c-_0x519417._0x41f5dc,_0x4f2943);}return defineTool({'name':_0x4c7503(_0x4a86f1._0x30a5f4,0x7e9,0x777,0x739),'permissionClass':'always-confirm','description':_0x4c7503(0x59a,0x530,_0x4a86f1._0x3d0220,_0x4a86f1._0x32fc4b),'inputSchema':{'type':_0x479e06(_0x4a86f1._0xbd3d99,_0x4a86f1._0x4bc067,0x1f5,_0x4a86f1._0x1791d2),'properties':{'agentId':{'type':'string','description':'ID\x20of\x20the\x20agent\x20to\x20invoke,\x20chosen\x20from\x20the\x20available\x20specialist\x20agents.'},'description':{'type':'string','description':'Short\x20user-facing\x20summary\x20of\x20the\x20delegated\x20work.\x20Used\x20only\x20for\x20display\x20and\x20not\x20sent\x20to\x20the\x20agent.'},'nickname':{'type':_0x4c7503(_0x4a86f1._0x1396f9,_0x4a86f1._0x45142d,0x574,0x4d6),'description':_0x479e06(0x3ab,0x426,0x2e4,0x5c0)},'task':{'type':_0x479e06(_0x4a86f1._0x3370fc,0x2fe,0x3e3,0x479),'description':_0x4c7503(_0x4a86f1._0x441ab5,_0x4a86f1._0x250aa5,0x60a,_0x4a86f1._0x1d6be6)}},'required':[_0x479e06(_0x4a86f1._0x42d6d9,_0x4a86f1._0x151c67,_0x4a86f1._0x7910f5,_0x4a86f1._0x29a5f2),_0x4c7503(_0x4a86f1._0x40d22a,0x4c9,_0x4a86f1._0x1e6fd4,0x5df),'task']},async *'execute'(_0x41ed11,_0x163f01){const _0x2b4807=createDelegatedRunId();function _0x227446(_0x3cb325,_0xba9ec7,_0x1c9305,_0x2a2512){return _0x479e06(_0x3cb325,_0x2a2512-_0x89583._0x19e12d,_0x1c9305-0x123,_0x2a2512-_0x89583._0x4fba63);}const _0x32490f=new AbortController(),_0x380ce7={'agentId':_0x41ed11[_0x49ba26(-_0x51f2d5._0x24e0c9,_0x51f2d5._0x387476,0x187,_0x51f2d5._0x24b0f9)],'parentSessionId':_0x163f01[_0x49ba26(_0x51f2d5._0xd8748,-0x75,_0x51f2d5._0x4c7e1f,_0x51f2d5._0x1f2c23)],'runId':_0x2b4807,'signal':_0x32490f[_0x227446(_0x51f2d5._0x54f5a9,_0x51f2d5._0x3ccce1,0x217,0x3a3)],..._0x163f01[_0x227446(_0x51f2d5._0x15a18f,0x4bd,_0x51f2d5._0x13ec15,_0x51f2d5._0x2cbdff)]!==void 0x0?{'toolCallId':_0x163f01[_0x49ba26(_0x51f2d5._0x146c78,0x96,0x82,-_0x51f2d5._0x4e6317)]}:{}},_0x3df933=getDelegatedAgentDefinition(_0x4efc54,_0x41ed11[_0x49ba26(_0x51f2d5._0x4d6cbd,_0x51f2d5._0x3739ec,_0x51f2d5._0x413a46,-_0x51f2d5._0x47f494)]);if(!_0x3df933)throw new ToolExecutionError(_0x227446(_0x51f2d5._0x448fcf,_0x51f2d5._0x4e2c8c,_0x51f2d5._0x340fff,0x6c8)+_0x41ed11[_0x227446(_0x51f2d5._0x36fd2f,0x4f0,_0x51f2d5._0x5b0053,0x6af)],{'agentId':_0x41ed11[_0x49ba26(_0x51f2d5._0x5a4668,_0x51f2d5._0x30da20,0x187,0x21)]});function _0x49ba26(_0x2089f9,_0x16df3b,_0x4c1aee,_0x182043){return _0x4c7503(_0x4c1aee- -_0x1d346c._0x55652b,_0x16df3b-0x51,_0x182043,_0x182043-0x1b1);}let _0x458bd8={'runId':_0x2b4807,'agentId':_0x41ed11[_0x227446(_0x51f2d5._0x40bc0b,_0x51f2d5._0x47b579,0x847,0x6af)],'status':_0x49ba26(-0x255,-_0x51f2d5._0x1d38d0,-0xb1,_0x51f2d5._0x46e979),'parentSessionId':_0x163f01[_0x49ba26(-0x25,_0x51f2d5._0x413a46,_0x51f2d5._0x4c7e1f,_0x51f2d5._0x196011)],..._0x163f01[_0x227446(0x3fa,0x507,_0x51f2d5._0x55f103,0x5aa)]!==void 0x0?{'originToolCallId':_0x163f01[_0x227446(0x66e,_0x51f2d5._0xc6da46,0x6d7,0x5aa)]}:{}};const _0x48cc3f=addAbortListener(_0x163f01[_0x49ba26(-0x270,-0x15,-0x185,-0x20c)],()=>{const _0x5ec794={_0x216331:0x1a3,_0x3264e5:0x161},_0x133742={_0x55c4b2:0x104};function _0x2bd152(_0x512c2a,_0x4c9b65,_0x2b3a41,_0x29aa15){return _0x49ba26(_0x512c2a-_0x133742._0x55c4b2,_0x4c9b65-0x1a7,_0x2b3a41- -0x12f,_0x29aa15);}function _0x2422cf(_0x147562,_0x4fb4d7,_0x60926e,_0xdb8772){return _0x227446(_0x60926e,_0x4fb4d7-_0x5ec794._0x216331,_0x60926e-_0x5ec794._0x3264e5,_0x147562- -0x41d);}_0x32490f[_0x2bd152(-_0x1daa59._0xe400fb,-0x189,-0xb1,-_0x1daa59._0x1a584a)](_0x163f01[_0x2422cf(-0x7a,-0x133,_0x1daa59._0x379595,0x14)][_0x2422cf(_0x1daa59._0x203d1d,-_0x1daa59._0x2b05d2,_0x1daa59._0x9de243,-0xee)]);});let _0x3800a5,_0x29f930,_0x3e0a31,_0xa20e2b;try{_0x4efc54[_0x227446(_0x51f2d5._0x542289,_0x51f2d5._0x48a435,0x65b,_0x51f2d5._0x2a3df9)]!==void 0x0&&(_0x3800a5=await _0x4efc54['semaphore'][_0x227446(0x5c4,0x5cf,0x4b7,0x519)](_0x32490f[_0x49ba26(-_0x51f2d5._0x2a0723,-_0x51f2d5._0x13c165,-_0x51f2d5._0x5bd5c4,-_0x51f2d5._0xade3b7)]));throwIfAborted(_0x32490f['signal']);const _0x5c4c3e=await awaitWithAbort2(resolveDelegatedAgentOptions(_0x3df933,_0x380ce7),_0x32490f[_0x49ba26(-_0x51f2d5._0x18518a,-_0x51f2d5._0x146c78,-_0x51f2d5._0x47ed83,-0xcc)]);throwIfAborted(_0x32490f[_0x227446(_0x51f2d5._0x250aa4,_0x51f2d5._0x38ec90,_0x51f2d5._0x3421c5,_0x51f2d5._0x54643a)]);const _0x5599f3=_0x4efc54[_0x227446(0x3f8,0x331,_0x51f2d5._0x27e627,_0x51f2d5._0x4e3280)]!==void 0x0&&_0x5c4c3e[_0x227446(_0x51f2d5._0x4f8399,0x6d5,_0x51f2d5._0x55fa34,_0x51f2d5._0x3024a5)]!==void 0x0?{..._0x5c4c3e,'systemPrompt':_0x4efc54[_0x49ba26(-0x189,-_0x51f2d5._0xe2760e,-0x148,-0x1ec)](_0x5c4c3e[_0x49ba26(0x18f,-_0x51f2d5._0xec4944,-_0x51f2d5._0xf13254,-_0x51f2d5._0x2bc893)])}:_0x5c4c3e;throwIfAborted(_0x32490f[_0x227446(0x52b,_0x51f2d5._0x4d4021,0x305,0x3a3)]);const _0x591dd2=new Agent(_0x5599f3);_0x458bd8={..._0x458bd8,'sessionId':_0x591dd2[_0x49ba26(_0x51f2d5._0x408e58,_0x51f2d5._0x292f6a,0xb0,-_0x51f2d5._0x52214f)]},_0x29f930=_0x4efc54[_0x49ba26(-0x46,-0x15f,-_0x51f2d5._0x20d6d4,-0xd)]?.(_0x591dd2,_0x380ce7);const _0x8692a7=new Promise(_0x10091b=>{_0xa20e2b=_0x10091b;});_0x3e0a31=_0x4efc54[_0x49ba26(_0x51f2d5._0x4e6e30,_0x51f2d5._0x27fedc,_0x51f2d5._0x428fb7,0x153)]?.({'runId':_0x2b4807,'abortController':_0x32490f,'completion':_0x8692a7}),yield createToolOutput(_0x49ba26(-_0x51f2d5._0x41e94f,-0x124,-0x46,-_0x51f2d5._0x4d3eba)+_0x458bd8[_0x49ba26(_0x51f2d5._0xd9e727,0x7f,0xc9,_0x51f2d5._0x5339ed)]+'.',{'runId':_0x458bd8[_0x49ba26(0xba,-_0x51f2d5._0x31f6e4,0xc9,-_0x51f2d5._0x4bb6a1)],'agentId':_0x458bd8[_0x49ba26(-0x2d,0x149,0x187,_0x51f2d5._0x5a9f1b)],'sessionId':_0x591dd2[_0x227446(_0x51f2d5._0x26440d,0x5d9,0x69a,0x5d8)],'status':_0x458bd8[_0x227446(0x662,_0x51f2d5._0x588c23,_0x51f2d5._0x50060d,_0x51f2d5._0x26c204)]}),throwIfAborted(_0x32490f[_0x227446(0x4c3,0x213,_0x51f2d5._0x193ca3,0x3a3)]);const _0x31055f=await _0x591dd2[_0x227446(0x73a,0x6bd,0x559,0x697)](_0x41ed11[_0x49ba26(_0x51f2d5._0x1a4108,0x2d,-_0x51f2d5._0x4fe68f,0x162)],{'streaming':!![],'signal':_0x32490f['signal']});_0x458bd8={..._0x458bd8,'status':_0x31055f[_0x49ba26(_0x51f2d5._0x193838,_0x51f2d5._0x4e6e30,_0x51f2d5._0x22a2e0,0x1e0)],'result':_0x31055f};if(_0x31055f[_0x227446(0x544,_0x51f2d5._0x24bf11,_0x51f2d5._0x24a66c,_0x51f2d5._0xb7e23f)]!=='completed'){const _0x2b4a17=getRunTerminalErrorMessage(_0x31055f),_0x432072=formatAbortedRunMessage(_0x458bd8[_0x49ba26(-0x2c,_0x51f2d5._0x14cbf2,0xc9,-0x68)],_0x2b4a17);throw new ToolExecutionError(_0x432072,{...createRunSummary(_0x458bd8),'aborted':!![],'errorMessage':_0x432072});}return createRunSummaryOutput(_0x458bd8,_0x227446(0x679,0x5fa,0x6b7,_0x51f2d5._0x4f4efd)+_0x458bd8['runId']+_0x227446(0x7b8,0x785,_0x51f2d5._0x180a98,_0x51f2d5._0xce1916));}catch(_0x3f0e29){if(_0x3f0e29 instanceof ToolExecutionError)throw _0x3f0e29;if(isAbortError(_0x3f0e29)||_0x32490f[_0x49ba26(-0x4c,-0x2ac,-_0x51f2d5._0x562e54,-_0x51f2d5._0x3a1310)]['aborted']||_0x163f01[_0x49ba26(-_0x51f2d5._0x109fd8,-0x31c,-_0x51f2d5._0x3f6a0d,-0x2a7)]['aborted']){const _0x50c2a9=getRunTerminalErrorMessage(_0x458bd8[_0x227446(_0x51f2d5._0x4babe4,0x6fa,_0x51f2d5._0x2329ba,_0x51f2d5._0x13ec15)])??(_0x3f0e29 instanceof Error?_0x3f0e29[_0x49ba26(0x33c,_0x51f2d5._0x4beec1,0x185,0xf)]:String(_0x3f0e29)),_0x3add30=formatAbortedRunMessage(_0x458bd8['runId'],_0x50c2a9);_0x458bd8={..._0x458bd8,'status':'aborted','errorMessage':_0x3add30};throw new ToolExecutionError(_0x3add30,{...createRunSummary(_0x458bd8),'aborted':!![],'errorMessage':_0x3add30});}const _0x252a18=getRunTerminalErrorMessage(_0x458bd8[_0x227446(0x6cc,0x5e6,0x710,0x6e6)])??(_0x3f0e29 instanceof Error?_0x3f0e29['message']:String(_0x3f0e29))??_0x227446(0x749,_0x51f2d5._0x431503,0x5ae,0x630)+_0x458bd8['runId']+_0x49ba26(0xb2,-0x37,_0x51f2d5._0xae46b7,-_0x51f2d5._0x83726);_0x458bd8={..._0x458bd8,'status':_0x49ba26(0x324,_0x51f2d5._0x4d492e,0x19d,_0x51f2d5._0x820df3),'errorMessage':_0x252a18};throw new ToolExecutionError(_0x252a18,{...createRunSummary(_0x458bd8),'errorMessage':_0x252a18});}finally{_0xa20e2b?.(),_0x3e0a31?.(),_0x29f930?.(),_0x3800a5?.(),_0x48cc3f();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x4afc03){return[createAssignTaskTool(_0x4afc03)];}import*as _0x3b5f3c from'path';function buildDescription2(_0x32c04f){const _0x4660af={_0x5e66dd:0x16e,_0x244af3:0x32,_0x1a73b8:0x2b7,_0x2ef6f2:0x327,_0x5b16ce:0x2d3,_0x28912c:0x2a4,_0x34943b:0x1f,_0x1df339:0x15d,_0x4c02e5:0xf5,_0x4068e8:0xa4,_0x5d24a9:0x2e2,_0x1171be:0x48d,_0x59e5b7:0x41e},_0x3b0ce0={_0xc8fa48:0x0,_0x2625ca:0x2da},_0x33da9c={_0x262ea8:0x3f,_0x529c93:0xb,_0x30e22a:0x1c9};function _0x3b23b7(_0x48ad5b,_0x1e27f1,_0x71b3b8,_0x4f06d4){return _0x1ac42a(_0x48ad5b-_0x33da9c._0x262ea8,_0x1e27f1-_0x33da9c._0x529c93,_0x4f06d4-_0x33da9c._0x30e22a,_0x71b3b8);}if(_0x32c04f[_0x3b23b7(0x30d,0x3d4,_0x4660af._0x5e66dd,0x2d2)]===0x0)return _0x3b23b7(-_0x4660af._0x244af3,_0x4660af._0x1a73b8,0x154,0x144);const _0x164b05=[_0x3b23b7(_0x4660af._0x2ef6f2,0x1ef,_0x4660af._0x5b16ce,0x248),_0x33a50b(-_0x4660af._0x28912c,-0xe2,-_0x4660af._0x34943b,-_0x4660af._0x1df339),_0x33a50b(-0x2c3,-_0x4660af._0x4c02e5,-0x1a2,_0x4660af._0x4068e8),'Available\x20skills\x20(skill_name:\x20description):',..._0x32c04f[_0x3b23b7(0x318,0x157,_0x4660af._0x5d24a9,0x273)](_0x4944a4=>'-\x20'+_0x4944a4['name']+':\x20'+_0x4944a4['description'])];function _0x33a50b(_0x55277e,_0x50b0e0,_0x258a52,_0xedaa07){return _0x151cc1(_0x55277e-_0x3b0ce0._0xc8fa48,_0x50b0e0- -_0x3b0ce0._0x2625ca,_0xedaa07,_0xedaa07-0x48);}return _0x164b05[_0x3b23b7(_0x4660af._0x1171be,0x155,_0x4660af._0x59e5b7,0x305)]('\x0a');}function createLoadSkillTool(_0x9d34b3){const _0x214f9b={_0x2eedaa:0x358,_0x417431:0x3e3,_0xa91fc3:0x50a,_0x168781:0x72d,_0x27e5db:0x463,_0x12986d:0x291,_0x4d3507:0x23d,_0x82be1c:0x34b,_0x2a908a:0x537},_0x454fa4={_0xa12abf:0x5b7,_0x3f5d47:0x5af,_0x521982:0x482,_0x12bd0b:0x541,_0x3ec8b7:0x66e,_0x3843b9:0x659,_0x370f1c:0x558,_0x88cc9:0x4c2,_0x5bd97c:0x768,_0x3513ec:0x59c,_0x181f59:0x5af,_0x37e19c:0x67b,_0x2ec787:0x48b,_0x237003:0x5db,_0x4b085c:0x1a9,_0x93f024:0x419,_0x35697a:0x633,_0x5792c7:0x7e1,_0x1b131b:0x5d9,_0x3fe7c4:0x5b2,_0x1a9d5a:0x4bc,_0x518188:0x4f4,_0x18dcc1:0x479,_0x4a849d:0x41a,_0x379d8a:0x3d7,_0x1772a9:0x43e,_0x3923cd:0x6b8,_0x277912:0x681,_0x14c094:0x7fe,_0x376401:0x61d,_0x219140:0x4d1,_0x5785e6:0x843,_0x5dddcb:0x6f4,_0x508417:0x739,_0x14d145:0x509,_0x5dc6c8:0x5af,_0x366590:0x534,_0x198e28:0x3e1,_0x5226cb:0x545,_0x4b0801:0x469,_0x28fd7c:0x3ad},_0x227e3b={_0x183ecf:0x1e8},_0x1e7f0f={_0x57dfc0:0x128,_0x22b6f2:0x150},_0x2d1aba={_0x1ef3da:0x1ae},_0x5387c2=new Map(_0x9d34b3[_0x5cf721(0x3a6,0x33d,0x200,_0x214f9b._0x2eedaa)]['map'](_0x5c4497=>[_0x5c4497[_0x14b0a1(0x537,0x6a0,0x42e,0x46d)],_0x5c4497]));function _0x5cf721(_0x13f047,_0x595461,_0x5fc65b,_0x307dd3){return _0x151cc1(_0x13f047-0x1a1,_0x595461-_0x2d1aba._0x1ef3da,_0x13f047,_0x307dd3-0x133);}const _0x5487a9=buildDescription2(_0x9d34b3['skills']);function _0x14b0a1(_0x2e59b9,_0x142362,_0x2ba119,_0x4297ff){return _0x151cc1(_0x2e59b9-0x1a7,_0x2e59b9-_0x1e7f0f._0x57dfc0,_0x142362,_0x4297ff-_0x1e7f0f._0x22b6f2);}return defineTool({'name':_0x14b0a1(_0x214f9b._0x417431,0x357,_0x214f9b._0xa91fc3,0x534),'permissionClass':_0x5cf721(_0x214f9b._0x168781,0x618,0x570,_0x214f9b._0x27e5db),'description':_0x5487a9,'inputSchema':{'type':_0x14b0a1(_0x214f9b._0x12986d,_0x214f9b._0x4d3507,_0x214f9b._0x82be1c,0x2a1),'properties':{'name':{'type':'string'}},'required':[_0x14b0a1(_0x214f9b._0x2a908a,0x39c,0x645,0x6cc)]},async *'execute'(_0xaf876a){const _0x51a5d2={_0x50a6d3:0xe},_0x418e15=_0x5387c2[_0x34ccf5(0x533,_0x454fa4._0xa12abf,0x5ad,0x679)](_0xaf876a[_0x2c8a8c(_0x454fa4._0x3f5d47,0x594,_0x454fa4._0x521982,0x4fc)]);if(!_0x418e15){const _0xde8e41=Array['from'](_0x5387c2[_0x34ccf5(0x6f4,_0x454fa4._0x12bd0b,_0x454fa4._0x3ec8b7,0x6c4)]())[_0x2c8a8c(_0x454fa4._0x3843b9,_0x454fa4._0x370f1c,0x7f4,_0x454fa4._0x88cc9)](',\x20');throw new ToolExecutionError('Skill\x20\x27'+_0xaf876a['name']+_0x34ccf5(0x5c1,0x6a6,_0x454fa4._0x5bd97c,_0x454fa4._0x3513ec)+_0xde8e41,{'name':_0xaf876a[_0x2c8a8c(_0x454fa4._0x181f59,_0x454fa4._0x37e19c,_0x454fa4._0x2ec787,_0x454fa4._0x237003)]});}function _0x34ccf5(_0x187622,_0x2a1187,_0x44e634,_0x3b0f61){return _0x14b0a1(_0x3b0f61-_0x227e3b._0x183ecf,_0x44e634,_0x44e634-0x115,_0x3b0f61-0x18);}const _0x5a20a1=await _0x9d34b3['loadSkill'](_0x418e15);function _0x2c8a8c(_0x3e2eed,_0x127852,_0x4bd1e8,_0x4f3a2d){return _0x5cf721(_0x4bd1e8,_0x3e2eed- -0xe,_0x4bd1e8-_0x51a5d2._0x50a6d3,_0x4f3a2d-0x1f1);}const _0xea439f=_0x418e15[_0x2c8a8c(0x34c,0x4c4,0x2be,_0x454fa4._0x4b085c)][_0x2c8a8c(0x3fe,0x3d9,_0x454fa4._0x93f024,0x50c)]??_0x3b5f3c[_0x34ccf5(_0x454fa4._0x35697a,0x7da,0x726,_0x454fa4._0x5792c7)](_0x418e15[_0x34ccf5(0x4a3,_0x454fa4._0x1b131b,_0x454fa4._0x3fe7c4,_0x454fa4._0x1a9d5a)][_0x2c8a8c(0x3ad,0x430,_0x454fa4._0x518188,_0x454fa4._0x18dcc1)]),_0x4b33c3=[_0x2c8a8c(_0x454fa4._0x4a849d,0x46b,_0x454fa4._0x379d8a,_0x454fa4._0x1772a9)+_0x5a20a1[_0x34ccf5(_0x454fa4._0x3923cd,0x6f9,_0x454fa4._0x277912,0x71f)],'',_0x5a20a1['instructions'],'',_0x34ccf5(_0x454fa4._0x14c094,0x7af,0x726,0x799),_0x34ccf5(_0x454fa4._0x376401,0x51e,_0x454fa4._0x219140,0x63c)+_0x418e15['source']['path'],_0x34ccf5(_0x454fa4._0x5785e6,_0x454fa4._0x5dddcb,_0x454fa4._0x508417,0x70f)+_0xea439f][_0x2c8a8c(0x659,_0x454fa4._0x14d145,_0x454fa4._0x3fe7c4,0x643)]('\x0a');return yield createToolOutput(_0x4b33c3,{'id':_0x5a20a1['id'],'name':_0x5a20a1[_0x2c8a8c(_0x454fa4._0x5dc6c8,0x604,_0x454fa4._0x366590,_0x454fa4._0x198e28)],'path':_0x418e15[_0x34ccf5(_0x454fa4._0x5226cb,0x618,_0x454fa4._0x4b0801,_0x454fa4._0x1a9d5a)][_0x2c8a8c(_0x454fa4._0x28fd7c,0x52a,0x246,0x3b5)],'baseDirectory':_0xea439f}),void 0x0;}});}var TODO_STATUSES=new Set([_0x1ac42a(-0x53,0x47,-0xb4,-0x275),_0x151cc1(0x438,0x375,0x43b,0x30a),_0x1ac42a(-0x2a8,-0x22,-0x1eb,-0x232)]),TODO_PRIORITIES=new Set(['high',_0x151cc1(0xdf,0x200,0x253,0x350),_0x151cc1(0x255,0x18b,0x11f,0x281)]);function isTodoStatus(_0x119f39){const _0xd29c48={_0x5b8ba0:0x168,_0x12a735:0x5d,_0x12de12:0x472,_0x3058c9:0x570},_0x2637e1={_0x500750:0x60},_0xae0d0f={_0x330da3:0x1aa,_0x1c5787:0x144};function _0xc7c70f(_0x2466ad,_0x22967b,_0x50dcd4,_0x1389a2){return _0x1ac42a(_0x2466ad-0x81,_0x22967b-_0xae0d0f._0x330da3,_0x1389a2-_0xae0d0f._0x1c5787,_0x2466ad);}function _0xfc763a(_0x46ec6a,_0x5da775,_0x25e8f4,_0x4cca0f){return _0x151cc1(_0x46ec6a-0x59,_0x46ec6a-_0x2637e1._0x500750,_0x25e8f4,_0x4cca0f-0x96);}return typeof _0x119f39===_0xc7c70f(-_0xd29c48._0x5b8ba0,-0x1b0,-_0xd29c48._0x12a735,-0x83)&&TODO_STATUSES[_0xfc763a(_0xd29c48._0x12de12,0x63d,0x5de,_0xd29c48._0x3058c9)](_0x119f39);}function isTodoPriority(_0x25a32f){const _0x51fbc2={_0x1de9f9:0x567,_0xbcbb6:0x712},_0x40eb9f={_0x5ce6a2:0x1a6};function _0x15fb0d(_0x23b1c2,_0x37c622,_0x215dec,_0x1e8b41){return _0x151cc1(_0x23b1c2-_0x40eb9f._0x5ce6a2,_0x37c622-0x155,_0x23b1c2,_0x1e8b41-0x176);}return typeof _0x25a32f==='string'&&TODO_PRIORITIES[_0x15fb0d(0x47e,_0x51fbc2._0x1de9f9,_0x51fbc2._0xbcbb6,0x59e)](_0x25a32f);}var TodoStore=class{['todosBySession']=new Map();['getTodos'](_0xa10443){const _0x4d20c4={_0x36730e:0x375},_0x566e92={_0x102292:0x101};function _0x29e702(_0x4bd0b3,_0x217df7,_0xb8b3c2,_0x16d276){return _0x151cc1(_0x4bd0b3-0x13e,_0x16d276- -_0x566e92._0x102292,_0x217df7,_0x16d276-0x9c);}return this['todosBySession'][_0x29e702(0x1e3,0x323,_0x4d20c4._0x36730e,0x268)](_0xa10443)??[];}['setTodos'](_0x31e6f9,_0x379db0){const _0xb88d5d={_0x16f616:0x15d,_0x3ee422:0x106},_0x3e0b9e={_0xc682ce:0xc9,_0x4e2050:0x12e};function _0x139db2(_0xedef17,_0x358682,_0x5969e3,_0x3825f7){return _0x151cc1(_0xedef17-_0x3e0b9e._0xc682ce,_0x3825f7- -0x273,_0x5969e3,_0x3825f7-_0x3e0b9e._0x4e2050);}this[_0x139db2(_0xb88d5d._0x16f616,-0x199,_0xb88d5d._0x3ee422,-0x2a)]['set'](_0x31e6f9,_0x379db0);}[_0x151cc1(0x44f,0x496,0x4b8,0x2f2)](_0x262110){const _0x25ab2b={_0x435c9d:0x4b0,_0x43eefb:0x337,_0x4cce7d:0x506,_0x4fc3fe:0x374,_0x2085db:0x4b4,_0x309b1d:0x3b0,_0x1b4a07:0x37a,_0x5a2f57:0x233,_0x1e9354:0x316,_0x5370be:0x576,_0x2e4e03:0x5a3,_0x1d5778:0x4c4,_0x131d34:0x20b,_0xd8c42a:0x3bf},_0x4e7245={_0x223e83:0x179,_0x3467bd:0x9b};function _0x20af42(_0x5730b3,_0x252a63,_0x545628,_0x1c98c0){return _0x151cc1(_0x5730b3-0x126,_0x5730b3-0x2a,_0x252a63,_0x1c98c0-0x9c);}function _0x4dc65b(_0x23c635,_0x5f3efa,_0x1d9e93,_0x2eb38a){return _0x1ac42a(_0x23c635-_0x4e7245._0x223e83,_0x5f3efa-_0x4e7245._0x3467bd,_0x2eb38a-0x464,_0x1d9e93);}const _0x5b946c=this['getTodos'](_0x262110),_0x4217d9={'total':_0x5b946c[_0x20af42(_0x25ab2b._0x435c9d,0x3c8,_0x25ab2b._0x43eefb,_0x25ab2b._0x4cce7d)],'pending':0x0,'inProgress':0x0,'completed':0x0};for(const _0xaf9a16 of _0x5b946c){if(_0xaf9a16['status']===_0x4dc65b(_0x25ab2b._0x4fc3fe,0x419,_0x25ab2b._0x2085db,_0x25ab2b._0x309b1d))_0x4217d9[_0x4dc65b(_0x25ab2b._0x1b4a07,_0x25ab2b._0x5a2f57,_0x25ab2b._0x1e9354,_0x25ab2b._0x309b1d)]+=0x1;else{if(_0xaf9a16['status']==='in_progress')_0x4217d9[_0x4dc65b(_0x25ab2b._0x5370be,_0x25ab2b._0x2e4e03,0x581,_0x25ab2b._0x1d5778)]+=0x1;else _0x4217d9[_0x4dc65b(_0x25ab2b._0x131d34,0x141,_0x25ab2b._0xd8c42a,0x279)]+=0x1;}}return _0x4217d9;}};function validateTodos(_0x283884){const _0x2f69d3={_0x4b42ba:0x2d6,_0x5955f3:0x60b,_0xf04835:0x784,_0x5db272:0x667,_0x111f51:0x7c3,_0x19f8a3:0x10b,_0x557735:0x175,_0x7af338:0x2be,_0x4908f4:0x252,_0x3d1ec1:0x2ba,_0x51d110:0x2ef,_0xa51624:0x81f,_0xe3efac:0x74d,_0x3bcabb:0x2b1,_0x527593:0x268,_0x32743d:0x40e,_0x36d703:0x15d,_0x3609a4:0x281,_0x17dded:0x861,_0x25f2ef:0x5c5,_0x35d4df:0x67a,_0x42d3b6:0x676,_0x28f85a:0x3f6,_0x17f0b4:0x54c,_0x2909a3:0x4f3,_0xaf78b:0x223,_0x6edebc:0x365,_0x53fcf1:0x3e8,_0x2c68f6:0x2c6,_0x4bd09c:0x441,_0x1d3e7e:0x81b,_0x42ff81:0x104,_0x348cf1:0x257,_0x5ac105:0x23e,_0x5fa727:0x75a,_0x157e7a:0x6ed,_0x2ae01a:0x875,_0x534a18:0x5b8,_0x3198e:0x535,_0x56dfcd:0x587,_0x2c48c5:0x3e6,_0x1f01dc:0x56e,_0x5dd28b:0x33d,_0x10b14f:0x297,_0x395327:0x40e,_0x4a1583:0x28b,_0x20c0bf:0x48a,_0x563c51:0x4a5,_0x57afaa:0x558,_0x474059:0x852,_0x2cc391:0x774,_0x11e91b:0x3e0,_0x52d8c7:0x43a,_0x495ea2:0x94f,_0x1e6008:0x843,_0x10d2f:0x821,_0x448b4a:0x27b,_0x59cc69:0x2b7,_0xf6e14d:0x1ee,_0x5451f7:0x3bc},_0x2c42fe={_0x468b71:0x198,_0x4eb157:0x1d,_0x9dd665:0x338};function _0x24ae13(_0x109c0f,_0x1191de,_0x2ff7f4,_0x28d67c){return _0x151cc1(_0x109c0f-0xdd,_0x28d67c-0x33d,_0x109c0f,_0x28d67c-0x16d);}if(!Array[_0x17c21c(_0x2f69d3._0x4b42ba,0x3cf,0x13a,0x20f)](_0x283884[_0x17c21c(0x36a,0x4a7,0x488,0x402)])||_0x283884[_0x24ae13(_0x2f69d3._0x5955f3,0x5f5,0x706,_0x2f69d3._0xf04835)][_0x24ae13(0x66e,_0x2f69d3._0x5db272,0x69d,_0x2f69d3._0x111f51)]===0x0)throw new ToolExecutionError(_0x17c21c(0x158,_0x2f69d3._0x19f8a3,0x8f,_0x2f69d3._0x557735),{'error':_0x17c21c(_0x2f69d3._0x7af338,_0x2f69d3._0x4908f4,_0x2f69d3._0x3d1ec1,_0x2f69d3._0x51d110)});for(let _0x1a8703=0x0;_0x1a8703<_0x283884[_0x24ae13(0x79d,_0x2f69d3._0xa51624,0x890,0x784)][_0x24ae13(0x5ff,0x7c1,0x68e,0x7c3)];_0x1a8703+=0x1){const _0x4cf752=_0x283884[_0x24ae13(_0x2f69d3._0xf04835,0x74c,_0x2f69d3._0xe3efac,0x784)][_0x1a8703];if(!_0x4cf752||typeof _0x4cf752!=='object')throw new ToolExecutionError(_0x17c21c(_0x2f69d3._0x3bcabb,0x476,_0x2f69d3._0x527593,_0x2f69d3._0x32743d)+(_0x1a8703+0x1)+_0x17c21c(0x3b3,_0x2f69d3._0x36d703,0x183,_0x2f69d3._0x3609a4),{'error':_0x24ae13(_0x2f69d3._0x17dded,_0x2f69d3._0x25f2ef,_0x2f69d3._0x35d4df,_0x2f69d3._0xe3efac)});if(typeof _0x4cf752['id']!==_0x24ae13(_0x2f69d3._0x42d3b6,_0x2f69d3._0x28f85a,_0x2f69d3._0x17f0b4,_0x2f69d3._0x2909a3)||_0x4cf752['id'][_0x17c21c(_0x2f69d3._0xaf78b,0x542,_0x2f69d3._0x6edebc,_0x2f69d3._0x53fcf1)]()[_0x17c21c(_0x2f69d3._0x2c68f6,0x2e5,0x3c3,_0x2f69d3._0x4bd09c)]===0x0)throw new ToolExecutionError(_0x24ae13(_0x2f69d3._0x1d3e7e,0x5d2,0x891,0x790)+(_0x1a8703+0x1)+_0x17c21c(_0x2f69d3._0x42ff81,0x39b,_0x2f69d3._0x348cf1,_0x2f69d3._0x5ac105),{'error':_0x24ae13(_0x2f69d3._0x5fa727,_0x2f69d3._0x157e7a,_0x2f69d3._0x2ae01a,0x7aa)});if(typeof _0x4cf752[_0x17c21c(0x314,0x492,0x2fc,0x43c)]!==_0x24ae13(_0x2f69d3._0x534a18,_0x2f69d3._0x3198e,0x55e,_0x2f69d3._0x2909a3)||_0x4cf752['content'][_0x17c21c(_0x2f69d3._0x56dfcd,0x4fa,_0x2f69d3._0x2c48c5,0x3e8)]()[_0x17c21c(0x305,_0x2f69d3._0x1f01dc,0x5ae,0x441)]===0x0)throw new ToolExecutionError('Todo\x20'+(_0x1a8703+0x1)+':\x20content\x20required',{'error':'invalid_todo_content'});if(!isTodoStatus(_0x4cf752['status']))throw new ToolExecutionError(_0x17c21c(0x42a,_0x2f69d3._0x5dd28b,_0x2f69d3._0x10b14f,_0x2f69d3._0x395327)+(_0x1a8703+0x1)+_0x17c21c(0x175,_0x2f69d3._0x4a1583,_0x2f69d3._0x20c0bf,0x313),{'error':_0x24ae13(0x792,0x853,0x882,0x79b)});if(!isTodoPriority(_0x4cf752[_0x24ae13(_0x2f69d3._0x563c51,_0x2f69d3._0x57afaa,0x466,0x509)]))throw new ToolExecutionError(_0x24ae13(0x760,0x5c2,0x60e,0x790)+(_0x1a8703+0x1)+_0x24ae13(0x7f0,_0x2f69d3._0x474059,0x80c,_0x2f69d3._0x2cc391),{'error':'invalid_todo_priority'});}const _0x3ac00b=_0x283884['todos'][_0x17c21c(_0x2f69d3._0x11e91b,0x37f,_0x2f69d3._0x52d8c7,0x3e2)](_0x1d54a1=>_0x1d54a1['id']);function _0x17c21c(_0x11522a,_0xf6b50f,_0x26e276,_0x237106){return _0x1ac42a(_0x11522a-_0x2c42fe._0x468b71,_0xf6b50f-_0x2c42fe._0x4eb157,_0x237106-_0x2c42fe._0x9dd665,_0xf6b50f);}if(new Set(_0x3ac00b)[_0x24ae13(_0x2f69d3._0x495ea2,0x8e8,_0x2f69d3._0x1e6008,_0x2f69d3._0x10d2f)]!==_0x3ac00b['length'])throw new ToolExecutionError(_0x17c21c(_0x2f69d3._0x448b4a,_0x2f69d3._0x59cc69,_0x2f69d3._0xf6e14d,_0x2f69d3._0x5451f7),{'error':_0x17c21c(0x373,0x49b,0x1a0,0x33a)});}function createStatsProgress(_0x91d49e){const _0x47e5b0={_0x46d229:0x4a4,_0x270ce7:0x44d,_0x59b47f:0x554,_0x3ab7cd:0x432,_0x52564d:0x390},_0x304615={_0x14219b:0x107,_0x558cbf:0x51b},_0x3e6271={_0x2adabc:0x66,_0x378384:0x173};function _0x3dbb60(_0x492ee4,_0x32967f,_0x34e2f4,_0x12dffe){return _0x151cc1(_0x492ee4-_0x3e6271._0x2adabc,_0x492ee4-_0x3e6271._0x378384,_0x34e2f4,_0x12dffe-0xd7);}function _0x378cae(_0x40365c,_0x4e337a,_0x1d80ec,_0x2e48c0){return _0x1ac42a(_0x40365c-_0x304615._0x14219b,_0x4e337a-0x19f,_0x1d80ec-_0x304615._0x558cbf,_0x40365c);}return _0x91d49e[_0x378cae(0x5b1,0x310,0x432,0x487)]>0x0?Math[_0x3dbb60(_0x47e5b0._0x46d229,0x61a,0x614,0x59b)](_0x91d49e[_0x378cae(0x356,0x16b,0x330,_0x47e5b0._0x270ce7)]/_0x91d49e[_0x378cae(_0x47e5b0._0x59b47f,0x575,_0x47e5b0._0x3ab7cd,_0x47e5b0._0x52564d)]*0x64)+'%':'0%';}function createReminderItems(_0x1ef081){const _0x2a2f91={_0x4ed257:0x590,_0x3a289b:0x33f},_0x4a006c={_0x2e85:0x24,_0x4f3252:0x166,_0x286e5f:0xc4},_0x275945={_0x105f6c:0x335};function _0x51a071(_0x2fe995,_0x305bda,_0x10f2b3,_0x163e09){return _0x1ac42a(_0x2fe995-0x41,_0x305bda-0x109,_0x305bda-_0x275945._0x105f6c,_0x163e09);}function _0x5b5331(_0x4cdfc4,_0x262311,_0x363081,_0x390c89){return _0x151cc1(_0x4cdfc4-_0x4a006c._0x2e85,_0x4cdfc4-_0x4a006c._0x4f3252,_0x262311,_0x390c89-_0x4a006c._0x286e5f);}return _0x1ef081[_0x51a071(_0x2a2f91._0x4ed257,0x3df,0x48d,_0x2a2f91._0x3a289b)](_0x11aae=>({'content':_0x11aae[_0x5b5331(0x5e7,0x4f1,0x60a,0x56f)],'status':_0x11aae[_0x51a071(0x370,0x3c0,0x390,0x30f)],'id':_0x11aae['id']}));}function createStructuredResult(_0x7eff52,_0x446e60,_0x27b15e,_0x53f700){const _0x4e0bbd={_0x4f7b73:0x2cb,_0x41cfb7:0xe7,_0x5ecc9f:0x23e,_0x5c75dd:0x2a6,_0x20caad:0x44e},_0x345f70={_0x5468f0:0x19b,_0x12b22a:0x19c},_0x390082={_0x2a0cc2:0x19d};function _0x3acc4c(_0x2d3e0d,_0x3cb821,_0x216aa2,_0x4abead){return _0x1ac42a(_0x2d3e0d-0x1,_0x3cb821-0xd,_0x216aa2-_0x390082._0x2a0cc2,_0x3cb821);}function _0x3d9a8e(_0x583184,_0x20b45f,_0x4d5d91,_0x5a6bfe){return _0x1ac42a(_0x583184-_0x345f70._0x5468f0,_0x20b45f-_0x345f70._0x12b22a,_0x583184-0x5e4,_0x5a6bfe);}return{'allCompleted':_0x53f700,'items':_0x446e60[_0x3acc4c(_0x4e0bbd._0x4f7b73,_0x4e0bbd._0x41cfb7,0x247,0x1fc)](_0x3005ef=>({'id':_0x3005ef['id'],'content':_0x3005ef[_0x3acc4c(0x3dd,0x3a1,0x2a1,0x293)],'status':_0x3005ef[_0x3acc4c(0x230,0x1f6,0x228,0x21e)],'priority':_0x3005ef['priority'],'createdAt':_0x3005ef[_0x3d9a8e(0x3f8,0x22a,0x302,0x307)]})),'progress':createStatsProgress(_0x27b15e),'recentChanges':!![],'sessionId':_0x7eff52,'stats':_0x27b15e,'todosWritten':_0x446e60[_0x3acc4c(0x3bc,_0x4e0bbd._0x5ecc9f,_0x4e0bbd._0x5c75dd,_0x4e0bbd._0x20caad)]};}function createOutputText(_0x154f21,_0x229795){const _0x1a2d5d={_0x4e8d8b:0x1af,_0x2452e9:0xf6,_0x49c0e7:0x2f6,_0x59be89:0x545,_0x3f0ba6:0x53,_0x1d16e3:0x1b8,_0x50b099:0x18,_0x323dd9:0x145},_0x166fde={_0x4d6cde:0x303,_0x107957:0x58},_0x4d4ed1={_0x3a4d08:0x2b8};function _0x4a7084(_0xf162b,_0x5c7507,_0xeaa7b0,_0x260526){return _0x1ac42a(_0xf162b-0x115,_0x5c7507-0x1b,_0xeaa7b0-_0x4d4ed1._0x3a4d08,_0xf162b);}const _0x528955=JSON[_0x4a7084(0x2b7,0x12f,_0x1a2d5d._0x4e8d8b,_0x1a2d5d._0x2452e9)](createReminderItems(_0x154f21));function _0x18a6cb(_0x45a61c,_0x24bdb6,_0x208611,_0x1421c3){return _0x151cc1(_0x45a61c-0xf7,_0x1421c3- -_0x166fde._0x4d6cde,_0x45a61c,_0x1421c3-_0x166fde._0x107957);}if(_0x229795)return _0x18a6cb(0x15,-0xe1,-0x1f6,-0xfd)+_0x154f21[_0x4a7084(_0x1a2d5d._0x49c0e7,_0x1a2d5d._0x59be89,0x3c1,0x554)]+_0x4a7084(0x22,_0x1a2d5d._0x3f0ba6,_0x1a2d5d._0x1d16e3,_0x1a2d5d._0x50b099)+_0x528955+'.\x0a</system-reminder>';return'Todos\x20have\x20been\x20modified\x20successfully.\x20Continue\x20with\x20current\x20tasks\x20if\x20applicable.\x0a\x0a<system-reminder>\x0aYour\x20todo\x20list\x20has\x20changed.\x20DO\x20NOT\x20mention\x20this\x20explicitly\x20to\x20the\x20user.\x20Latest\x20contents:\x0a'+_0x528955+_0x18a6cb(-_0x1a2d5d._0x50b099,0x100,0x1df,_0x1a2d5d._0x323dd9);}function createTodoWriteTool(_0x120641=new TodoStore()){const _0x291ec7={_0xdf14e6:0x3db,_0x448f83:0x29d,_0x5546c2:0x363,_0x339b24:0x16,_0x52b4ac:0x313,_0x19d37e:0xca,_0x2fbf90:0x21b,_0x18ee0a:0x34c,_0x4f3cf0:0x200,_0x38dc32:0x8a,_0x16dddd:0x24a,_0x6f49e2:0xf7,_0x2ace27:0x8a,_0x1b6c93:0xc9,_0x5c732d:0xed,_0x44a33b:0x11,_0x173f2b:0x309,_0x182013:0x2b6,_0x5f4bae:0x1c8,_0x4af8cf:0x94,_0x5c20b8:0x25e,_0x3e5957:0x3c9,_0x1f529c:0xaa,_0xc9c616:0x216},_0x4db3bd={_0x1da1dd:0x192,_0x1c6f9d:0x33b,_0x3601bf:0xde,_0x2cd803:0x25a,_0x2f1d8d:0x292,_0x56b3cb:0x372,_0x306fd7:0x2cb,_0x5e85bb:0x24f},_0x504062={_0x5618fe:0x186,_0x388091:0x23e},_0x1c8408={_0x41468a:0x12,_0x4d3d5c:0x4a,_0x588176:0x10b};function _0x6b7b00(_0x22c212,_0x4734b0,_0x44071c,_0x2eb64e){return _0x151cc1(_0x22c212-0x4a,_0x22c212- -0x240,_0x4734b0,_0x2eb64e-0x89);}function _0x9fb516(_0x2feb27,_0x225531,_0x213542,_0x3b4741){return _0x151cc1(_0x2feb27-_0x1c8408._0x41468a,_0x3b4741-_0x1c8408._0x4d3d5c,_0x2feb27,_0x3b4741-_0x1c8408._0x588176);}return defineTool({'name':'TodoWrite','permissionClass':_0x9fb516(_0x291ec7._0xdf14e6,0x475,0x514,0x4b4),'description':'Maintain\x20a\x20concise\x20task\x20list\x20when\x20visible\x20progress\x20tracking\x20adds\x20coordination\x20value.\x0a\x0aUse\x20TodoWrite\x20when\x20the\x20user\x20explicitly\x20requests\x20a\x20todo/checklist,\x20or\x20when\x20work\x20has\x20several\x20meaningful\x20phases,\x20dependencies,\x20or\x20checkpoints.\x20Skip\x20it\x20for\x20conversational\x20questions,\x20a\x20single\x20straightforward\x20task,\x20or\x20a\x20short\x20flat\x20sequence\x20of\x20trivial\x20actions.\x20List\x20meaningful\x20outcomes\x20rather\x20than\x20individual\x20tool\x20calls.\x0a\x0aUse\x20statuses\x20pending,\x20in_progress,\x20and\x20completed,\x20with\x20at\x20most\x20one\x20item\x20in_progress.\x20Create\x20the\x20list\x20once\x20before\x20starting\x20tracked\x20work.\x20Then\x20update\x20it\x20only\x20at\x20meaningful\x20milestones:\x0a-\x20Batch\x20status\x20changes\x20in\x20one\x20call:\x20mark\x20all\x20newly\x20finished\x20items\x20completed\x20and\x20set\x20the\x20next\x20milestone\x20in_progress\x20together.\x0a-\x20Do\x20not\x20call\x20TodoWrite\x20after\x20every\x20tool\x20call,\x20minor\x20substep,\x20or\x20progress\x20message.\x20Avoid\x20back-to-back\x20TodoWrite\x20calls\x20without\x20substantive\x20work\x20between\x20them.\x0a-\x20Keep\x20the\x20current\x20item\x20in_progress\x20when\x20blocked,\x20implementation\x20is\x20partial,\x20or\x20verification\x20fails.\x20Add\x20or\x20revise\x20items\x20only\x20when\x20the\x20plan\x20materially\x20changes.\x0a-\x20Preserve\x20item\x20IDs\x20and\x20include\x20the\x20full\x20current\x20list\x20in\x20every\x20update.\x0a-\x20After\x20implementation\x20and\x20verification\x20finish,\x20send\x20one\x20final\x20update\x20that\x20marks\x20all\x20completed\x20work\x20accurately.','inputSchema':{'type':_0x9fb516(0x47,0xaf,_0x291ec7._0x448f83,0x1b3),'properties':{'todos':{'type':_0x6b7b00(0x1c6,_0x291ec7._0x5546c2,_0x291ec7._0x339b24,_0x291ec7._0x52b4ac),'items':{'type':'object','properties':{'content':{'type':_0x6b7b00(-0x8a,_0x291ec7._0x19d37e,-0x2a,-_0x291ec7._0x2fbf90)},'status':{'type':_0x9fb516(0x2fd,_0x291ec7._0x18ee0a,0x2b6,_0x291ec7._0x4f3cf0)},'priority':{'type':_0x6b7b00(-_0x291ec7._0x38dc32,0x127,-_0x291ec7._0x16dddd,_0x291ec7._0x6f49e2)},'id':{'type':_0x6b7b00(-_0x291ec7._0x2ace27,_0x291ec7._0x1b6c93,_0x291ec7._0x5c732d,-_0x291ec7._0x44a33b)},'createdAt':{'type':_0x9fb516(0x233,0x12d,0x1e5,0x200)}},'required':[_0x6b7b00(0x241,_0x291ec7._0x173f2b,0xc6,_0x291ec7._0x182013),_0x6b7b00(_0x291ec7._0x5f4bae,_0x291ec7._0x4af8cf,0x19e,0x200),_0x9fb516(_0x291ec7._0x5c20b8,_0x291ec7._0x3e5957,_0x291ec7._0x1f529c,_0x291ec7._0xc9c616),'id']}}},'required':['todos']},async *'execute'(_0x5c6a40,_0x146844){const _0x14e949={_0x31a502:0x9a},_0x25e83e=_0x5c6a40;validateTodos(_0x25e83e);const _0x5a5296=_0x146844[_0x1b6bc0(0x2bc,0x2e4,0x9f,0x1c5)]||_0x1b6bc0(0x3c,_0x4db3bd._0x1da1dd,0x1de,0x1c),_0x3c1df7=new Date()[_0x1b6bc0(_0x4db3bd._0x1c6f9d,0x98,_0x4db3bd._0x3601bf,_0x4db3bd._0x2cd803)]();function _0x1b6bc0(_0x4f8fa7,_0x1924c0,_0xfa360b,_0x258555){return _0x9fb516(_0xfa360b,_0x1924c0-_0x504062._0x5618fe,_0xfa360b-0x8c,_0x258555- -_0x504062._0x388091);}const _0x3340ec=_0x25e83e['todos'][_0x59cf53(0x5e2,0x50b,0x6d6,0x574)](_0x399869=>({'id':_0x399869['id'],'content':_0x399869[_0x59cf53(0x550,0x4d8,0x68c,0x5ce)],'status':_0x399869[_0x59cf53(0x4c5,0x4ce,0x5c0,0x555)],'priority':_0x399869[_0x1b6bc0(-0x169,-0xed,0x5d,-0x28)],'sessionId':_0x5a5296,'createdAt':_0x399869[_0x1b6bc0(0xa6,-0x211,-0xb4,-0x63)]||_0x3c1df7,'updatedAt':_0x3c1df7}));_0x120641['setTodos'](_0x5a5296,_0x3340ec);const _0x3f416a=_0x120641['getStats'](_0x5a5296),_0x150c23=_0x3340ec[_0x1b6bc0(0x1f0,0x3bc,0x394,_0x4db3bd._0x2f1d8d)]>0x0&&_0x3340ec[_0x1b6bc0(_0x4db3bd._0x56b3cb,_0x4db3bd._0x306fd7,0x1c6,_0x4db3bd._0x5e85bb)](_0x448353=>_0x448353['status']===_0x59cf53(0x410,0x15a,0x209,0x2df));function _0x59cf53(_0x317cd1,_0x1d387b,_0x39c069,_0x518092){return _0x9fb516(_0x317cd1,_0x1d387b-0x83,_0x39c069-_0x14e949._0x31a502,_0x518092-0x103);}return createToolOutput(createOutputText(_0x3340ec,_0x150c23),createStructuredResult(_0x5a5296,_0x3340ec,_0x3f416a,_0x150c23));}});}import{mkdir as _0x527953,writeFile as _0x2d6814}from'fs/promises';import*as _0x3ea3bf from'path';function sanitizeFileName(_0x20490d){const _0x1792de={_0x2a87f0:0x188,_0x3378f7:0x40e};function _0x349f2c(_0x115d9e,_0x5b81fe,_0x2bd443,_0x27b7a7){return _0x1ac42a(_0x115d9e-_0x1792de._0x2a87f0,_0x5b81fe-0x10,_0x5b81fe-_0x1792de._0x3378f7,_0x2bd443);}return _0x20490d[_0x349f2c(0xe8,0x262,0x13f,0x426)](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x4a7416,_0x19ad33){const _0x14bb7b={_0x360f2f:0x7ac,_0x20c03c:0x8fe,_0x420261:0x73f,_0xab11a6:0x6d7,_0x2ac219:0x5ba,_0x5f585e:0x5a6,_0x14c46f:0x5bb,_0x54b2d0:0x7da,_0x1f4f04:0x846,_0x2b5e4e:0x70c,_0x3b48e1:0x66a,_0x34a495:0x5e4,_0x45c04d:0x6fc,_0x4da19c:0x73f,_0x27ac31:0x752,_0x547fc:0x62c,_0x3e2908:0x646,_0x5df5a7:0x86d,_0x5bf316:0x6fd,_0x46931a:0x8f7,_0xaff29a:0x8c3,_0x3e723d:0x720,_0x5d9e80:0x72b,_0x23d8d4:0x6e6,_0x15c01f:0x7b6,_0x202b38:0x913,_0x821c0d:0x41c,_0x1728df:0x5fc,_0x587459:0x538,_0x48ed07:0x68c,_0x1128c4:0x55b,_0x4437d4:0x3b6,_0x1f6bdf:0x934,_0x2e20c5:0x7f1,_0x457d64:0x7c1,_0x19a007:0x6b2,_0x477e12:0x606,_0x1c2683:0x5fb,_0x119e47:0x61e,_0x4a4ecb:0x846,_0x1f4c55:0x8e3,_0x2fde41:0x5ac,_0x5d427c:0x6b9,_0x483af3:0x6d4,_0x5b832a:0x4e9,_0x237319:0x89b,_0x10e020:0x7c2,_0x56c2bc:0x723,_0x18a1a7:0x863,_0x2402be:0x7ba,_0x3b9521:0x59a,_0x54d392:0x6a7,_0x5644db:0x73d,_0x1dd096:0x390,_0x20f582:0x394,_0x588e78:0x3f0,_0x5183ce:0x5e5,_0x5d6f2a:0x66a,_0x1d5f5e:0x51a,_0x1bd667:0x52f,_0x12f484:0x6ee,_0x41a52d:0x89a,_0x1bbd1c:0x7d2,_0x4f5467:0x941,_0x4b6014:0x4d7,_0x14c40f:0x5a0},_0x3daa55={_0x304d8c:0x2},_0x4e3def={_0x35d619:0x35a},{maxBytes:_0x5eb230,sessionDir:_0x299473}=_0x19ad33;if(!_0x4a7416[_0x69e014(_0x14bb7b._0x360f2f,_0x14bb7b._0x20c03c,_0x14bb7b._0x420261,_0x14bb7b._0xab11a6)]||Buffer[_0x69e014(0x506,0x4cb,_0x14bb7b._0x2ac219,0x514)](_0x4a7416[_0x69e014(_0x14bb7b._0x5f585e,_0x14bb7b._0x14c46f,_0x14bb7b._0x420261,0x66a)],_0x69e014(_0x14bb7b._0x54b2d0,0x8a5,_0x14bb7b._0x1f4f04,_0x14bb7b._0x2b5e4e))<=_0x5eb230)return _0x4a7416;const _0x9edd21=Buffer[_0x69e014(0x4bd,_0x14bb7b._0x3b48e1,0x5ba,0x45e)](_0x4a7416[_0x69e014(_0x14bb7b._0x34a495,_0x14bb7b._0x45c04d,_0x14bb7b._0x4da19c,0x90a)],'utf8');if(!_0x299473){const _0x5228c9=_0x4a7416[_0x4b93b8(0x6b1,0x8f4,_0x14bb7b._0x27ac31,0x76f)][_0x4b93b8(_0x14bb7b._0x547fc,_0x14bb7b._0x3e2908,0x6cc,_0x14bb7b._0x5df5a7)](0x0,_0x5eb230);return{..._0x4a7416,'output':_0x5228c9+(_0x4b93b8(_0x14bb7b._0x5bf316,0x743,0x75c,_0x14bb7b._0x46931a)+_0x5eb230+'\x20bytes\x20(original:\x20'+_0x9edd21+_0x4b93b8(0x5fd,_0x14bb7b._0xaff29a,_0x14bb7b._0x3e723d,0x6d5)),'meta':{..._0x4a7416[_0x4b93b8(_0x14bb7b._0x5d9e80,_0x14bb7b._0x23d8d4,_0x14bb7b._0x15c01f,0x978)],'truncated':!![],'originalBytes':_0x9edd21,'transforms':[..._0x4a7416[_0x4b93b8(0x6fb,0x7b3,0x7b6,_0x14bb7b._0x202b38)]['transforms'],_0x4b93b8(_0x14bb7b._0x821c0d,_0x14bb7b._0x1728df,_0x14bb7b._0x587459,_0x14bb7b._0x48ed07)]}};}const _0x128820=_0x4a7416[_0x4b93b8(0x3d7,0x639,_0x14bb7b._0x1128c4,_0x14bb7b._0x4437d4)]+'_'+sanitizeFileName(_0x4a7416[_0x4b93b8(_0x14bb7b._0x1f6bdf,0x992,_0x14bb7b._0x2e20c5,_0x14bb7b._0x457d64)])+_0x69e014(_0x14bb7b._0x19a007,_0x14bb7b._0x477e12,_0x14bb7b._0x1c2683,_0x14bb7b._0x119e47);function _0x69e014(_0x383238,_0x50f741,_0x5b50a3,_0xb8f367){return _0x151cc1(_0x383238-0x1e2,_0x5b50a3-_0x4e3def._0x35d619,_0x383238,_0xb8f367-0x113);}const _0x216db7=_0x3ea3bf['join'](_0x299473,_0x128820);await _0x527953(_0x299473,{'recursive':!![]}),await _0x2d6814(_0x216db7,_0x4a7416['output'],_0x69e014(0x74d,0x7e9,_0x14bb7b._0x4a4ecb,_0x14bb7b._0x1f4c55));let _0x5191bd=_0x4a7416[_0x69e014(_0x14bb7b._0x2fde41,_0x14bb7b._0x54b2d0,0x73f,0x759)][_0x69e014(0x674,0x7d5,_0x14bb7b._0x5d427c,0x7b7)](0x0,_0x5eb230);const _0x2e96d7=_0x5191bd[_0x69e014(0x529,_0x14bb7b._0x483af3,0x5ef,0x5f2)]('\x0a');_0x2e96d7>_0x5eb230*0.5&&(_0x5191bd=_0x5191bd[_0x69e014(_0x14bb7b._0x5b832a,0x83c,_0x14bb7b._0x5d427c,0x80d)](0x0,_0x2e96d7));const _0x2179f2=['',_0x69e014(_0x14bb7b._0x237319,_0x14bb7b._0x10e020,_0x14bb7b._0x56c2bc,_0x14bb7b._0x18a1a7),_0x69e014(_0x14bb7b._0x2402be,_0x14bb7b._0x3b9521,_0x14bb7b._0x54d392,_0x14bb7b._0x5644db)+_0x5eb230+_0x69e014(_0x14bb7b._0x1dd096,_0x14bb7b._0x20f582,0x559,_0x14bb7b._0x588e78)+_0x9edd21+'\x20bytes).','Full\x20output\x20saved\x20to:\x20'+_0x216db7,_0x4b93b8(_0x14bb7b._0x5183ce,0x42c,0x530,0x5a2),_0x69e014(_0x14bb7b._0x5d6f2a,_0x14bb7b._0x1d5f5e,_0x14bb7b._0x1bd667,0x563)][_0x69e014(_0x14bb7b._0x12f484,0x7db,0x813,0x8ee)]('\x0a');function _0x4b93b8(_0x4edbb8,_0x4e8527,_0x997229,_0x1e8744){return _0x151cc1(_0x4edbb8-_0x3daa55._0x304d8c,_0x997229-0x36d,_0x4edbb8,_0x1e8744-0x1a);}return{..._0x4a7416,'output':_0x5191bd+_0x2179f2,'meta':{..._0x4a7416[_0x69e014(0x897,0x745,0x7a3,_0x14bb7b._0x41a52d)],'truncated':!![],'originalBytes':_0x9edd21,'transforms':[..._0x4a7416[_0x4b93b8(_0x14bb7b._0x1bbd1c,_0x14bb7b._0x4f5467,0x7b6,0x66e)]['transforms'],_0x69e014(_0x14bb7b._0x4b6014,_0x14bb7b._0x14c40f,0x525,0x3f2)]}};}function createUpdateTopicTool(){const _0x43257c={_0x8981b:0x6,_0x519005:0x1ae,_0x1fecb1:0x1ed,_0x47be66:0x59,_0x1a1c3:0x3,_0x111ac7:0x175,_0xdd26ff:0x13a,_0x47d4ac:0x6d,_0x341d6e:0x1ac},_0xf3f23b={_0x1be933:0x36d,_0x2714e5:0x2e1,_0x479f53:0x372,_0x180088:0x4bd,_0x420ad9:0x41a,_0x5563a2:0x515,_0x406f75:0x2e8,_0x805d59:0x149,_0x4e4534:0x1bd,_0x354b17:0x3bd,_0x1415b2:0x588,_0x3fc129:0x4f5,_0x57cc38:0x33e,_0x541f7a:0x554,_0x2405c9:0x3ad},_0x50d585={_0x58ec0f:0x194,_0x20d956:0x3a5},_0x7a51e4={_0x39dbd3:0xb4,_0x5d12c8:0x411,_0x1a469e:0xe6},_0xadab3={_0x4352aa:0x13e,_0x4b1178:0x9d,_0x316fbf:0x32};function _0x345dae(_0x3f9dca,_0x300720,_0x3deb17,_0x4f7635){return _0x1ac42a(_0x3f9dca-_0xadab3._0x4352aa,_0x300720-_0xadab3._0x4b1178,_0x4f7635-_0xadab3._0x316fbf,_0x3deb17);}function _0xcb6532(_0x44c46b,_0x3be172,_0x17f009,_0x5788be){return _0x151cc1(_0x44c46b-_0x7a51e4._0x39dbd3,_0x5788be- -_0x7a51e4._0x5d12c8,_0x17f009,_0x5788be-_0x7a51e4._0x1a469e);}return defineTool({'name':_0x345dae(0x7c,-_0x43257c._0x8981b,_0x43257c._0x519005,0x45),'permissionClass':_0xcb6532(_0x43257c._0x1fecb1,-0xd2,-0x5,_0x43257c._0x47be66),'description':_0x345dae(_0x43257c._0x1a1c3,-_0x43257c._0x111ac7,-_0x43257c._0xdd26ff,0x5b),'inputSchema':{'type':'object','properties':{'topic':{'type':'string'}},'required':[_0x345dae(-_0x43257c._0x47d4ac,-_0x43257c._0x341d6e,0x4d,-0xbb)]},async *'execute'(_0xef78f2,_0x50deec){const _0x74a2c1={_0x5a7c51:0xa9,_0x11fc9e:0x1b8,_0x26cd44:0x3b9},{topic:_0x5b9db2}=_0xef78f2;function _0x3496a8(_0x38e72a,_0x22a185,_0x497ab2,_0x544410){return _0x345dae(_0x38e72a-_0x74a2c1._0x5a7c51,_0x22a185-_0x74a2c1._0x11fc9e,_0x497ab2,_0x544410-_0x74a2c1._0x26cd44);}if(typeof _0x5b9db2!==_0x3496a8(0x93,_0xf3f23b._0x1be933,_0xf3f23b._0x2714e5,0x224)||_0x5b9db2[_0x3496a8(0x4bc,0x3e9,0x609,0x49b)]()[_0x2a91d4(_0xf3f23b._0x479f53,_0xf3f23b._0x180088,0x475,_0xf3f23b._0x420ad9)]===0x0)throw new ToolExecutionError(_0x3496a8(_0xf3f23b._0x5563a2,_0xf3f23b._0x406f75,0x42f,0x3a8),{'error':_0x2a91d4(0x3d,0x25d,_0xf3f23b._0x805d59,_0xf3f23b._0x4e4534)});const _0x553e42=_0x5b9db2['trim']();function _0x2a91d4(_0x2cbf1d,_0x29cd62,_0x10a679,_0x2596c4){return _0xcb6532(_0x2cbf1d-0x16b,_0x29cd62-_0x50d585._0x58ec0f,_0x2cbf1d,_0x2596c4-_0x50d585._0x20d956);}return _0x50deec[_0x3496a8(_0xf3f23b._0x354b17,0x533,_0xf3f23b._0x1415b2,_0xf3f23b._0x3fc129)]?.(_0x553e42),yield createToolOutput(_0x3496a8(_0xf3f23b._0x57cc38,_0xf3f23b._0x541f7a,_0xf3f23b._0x2405c9,0x43f)+_0x553e42+'\x22',{'topic':_0x553e42}),void 0x0;}});}import{readFile as _0x270ae3,stat as _0x5eb4bb}from'fs/promises';import*as _0x38c22a from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x151cc1(0x342,0x44f,0x5a5,0x48c),'high',_0x1ac42a(-0x319,-0x125,-0x1f2,-0x25b),'original']),PNG_SIGNATURE=Buffer['from']([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x40fdbf,_0x49a222){const _0x3a9c57={_0x3e7c31:0x32e,_0xa825f7:0x509,_0x58c555:0x450,_0x42b561:0x311,_0x1e89bb:0x36f,_0x4d4d17:0x37b,_0x1b9bf7:0x42a,_0x55e06e:0x354,_0x4f50d4:0x4c0,_0x349311:0x390,_0x357575:0x5f0,_0xedd78e:0x5b2,_0x1c44e7:0x4e9,_0x1e19b1:0x43a,_0x522027:0x499,_0x1b21b6:0x4e3,_0x12a8eb:0x3ae,_0x7da2a5:0x47d,_0x2ea14b:0x347,_0x4cbf60:0x2fe,_0x5d4778:0x49b,_0x4aebd6:0x2b2,_0x10b838:0x467,_0x5c6182:0x5fd,_0x388b55:0x526,_0x4f323f:0x4f4,_0x2c8f0b:0x81e,_0x53ba7c:0x6fe,_0x400678:0x712,_0x4dc25c:0x662,_0x731622:0x849,_0x2f4e30:0x789,_0x416d34:0x5c2,_0x1bab38:0x66b,_0x47fd00:0x4f1,_0x102534:0x405,_0x8e4d05:0x307,_0x1e13f3:0x3be,_0x159a8c:0x4de,_0x5cee75:0x48f,_0x75818b:0x5d7,_0x5afdf9:0x64f,_0x2eb425:0x48d,_0x185642:0x47e,_0x30c3ee:0x4f4,_0x1db24a:0x35d,_0x57ebe9:0x31e,_0x3d9a34:0x262,_0x1e81b3:0x421},_0x1cd67d={_0x45b640:0x7d},_0x42ca29={_0x12fceb:0x20};if(_0x40fdbf[_0x2b1512(_0x3a9c57._0x3e7c31,0x4ec,_0x3a9c57._0xa825f7,0x347)](0x0,0x8)[_0x3dec5f(0x43d,_0x3a9c57._0x58c555,0x520,0x63f)](PNG_SIGNATURE))return _0x2b1512(_0x3a9c57._0x42b561,_0x3a9c57._0x1e89bb,_0x3a9c57._0x4d4d17,_0x3a9c57._0x1b9bf7);if(_0x40fdbf[0x0]===0xff&&_0x40fdbf[0x1]===0xd8&&_0x40fdbf[0x2]===0xff)return'image/jpeg';const _0x2994ae=_0x40fdbf['subarray'](0x0,0x6)[_0x3dec5f(0x618,_0x3a9c57._0x55e06e,_0x3a9c57._0x4f50d4,_0x3a9c57._0x349311)]('ascii');if(_0x2994ae===_0x3dec5f(_0x3a9c57._0x357575,0x4ea,_0x3a9c57._0xedd78e,_0x3a9c57._0x1c44e7)||_0x2994ae===_0x2b1512(0x2e0,0x1e6,_0x3a9c57._0x1e19b1,0x33c))return _0x2b1512(_0x3a9c57._0x522027,_0x3a9c57._0x1b21b6,_0x3a9c57._0x12a8eb,0x548);if(_0x40fdbf[_0x2b1512(0x26b,_0x3a9c57._0x7da2a5,0x1e1,_0x3a9c57._0x2ea14b)](0x0,0x4)[_0x2b1512(0x50e,0x25d,0x3ba,0x420)]('ascii')===_0x2b1512(0x391,_0x3a9c57._0x4cbf60,0x46e,0x44c)&&_0x40fdbf['subarray'](0x8,0xc)[_0x2b1512(_0x3a9c57._0x5d4778,_0x3a9c57._0x4aebd6,_0x3a9c57._0x10b838,0x420)]('ascii')===_0x2b1512(0x45f,_0x3a9c57._0x5c6182,_0x3a9c57._0x388b55,_0x3a9c57._0x4f323f))return _0x3dec5f(_0x3a9c57._0x2c8f0b,0x64d,_0x3a9c57._0x53ba7c,0x603);function _0x3dec5f(_0x12c74e,_0x565a8b,_0x31752c,_0x210d90){return _0x1ac42a(_0x12c74e-0x14c,_0x565a8b-_0x42ca29._0x12fceb,_0x31752c-0x5ee,_0x12c74e);}const _0x5d3617=_0x38c22a[_0x2b1512(_0x3a9c57._0x400678,_0x3a9c57._0x4dc25c,_0x3a9c57._0x731622,0x691)](_0x49a222)['toLowerCase']();if(_0x5d3617===_0x2b1512(0x5d7,_0x3a9c57._0x2f4e30,_0x3a9c57._0x416d34,_0x3a9c57._0x1bab38))return _0x2b1512(_0x3a9c57._0x47fd00,_0x3a9c57._0x102534,0x544,0x42a);if(_0x5d3617==='.jpg'||_0x5d3617===_0x2b1512(_0x3a9c57._0x8e4d05,_0x3a9c57._0x1e13f3,0x4d7,0x439))return _0x2b1512(0x625,_0x3a9c57._0x159a8c,_0x3a9c57._0x5cee75,0x51d);function _0x2b1512(_0x5a0b8d,_0x2e95ae,_0x26c7c0,_0x2f748a){return _0x1ac42a(_0x5a0b8d-_0x1cd67d._0x45b640,_0x2e95ae-0x17d,_0x2f748a-0x54e,_0x26c7c0);}if(_0x5d3617===_0x2b1512(0x5b8,_0x3a9c57._0x75818b,_0x3a9c57._0x5afdf9,_0x3a9c57._0x2eb425))return _0x3dec5f(_0x3a9c57._0x185642,0x49d,0x5e8,_0x3a9c57._0x30c3ee);if(_0x5d3617===_0x2b1512(_0x3a9c57._0x1db24a,_0x3a9c57._0x57ebe9,_0x3a9c57._0x3d9a34,_0x3a9c57._0x1e81b3))return'image/webp';return void 0x0;}function normalizeDetail(_0x5958d0){const _0x5b49f1={_0x9cb04c:0x677,_0x195733:0x758,_0x4397b7:0x759},_0x3a3010={_0x20440f:0x10,_0x12946b:0x5c7},_0x12b3ef={_0x11931e:0x195,_0x1808c6:0x468};if(_0x5958d0===void 0x0)return void 0x0;const _0x5eb867=_0x5958d0[_0x15b8ef(0x4c0,0x6d6,_0x5b49f1._0x9cb04c,_0x5b49f1._0x195733)]()['toLowerCase']();if(!SUPPORTED_DETAILS['has'](_0x5eb867))throw new ToolExecutionError(_0x15b8ef(0x6b9,_0x5b49f1._0x4397b7,0x58e,0x707)+_0x5958d0,{'detail':_0x5958d0});function _0x592b92(_0x5877e9,_0x461f37,_0x6c93ff,_0x33bb6a){return _0x1ac42a(_0x5877e9-_0x12b3ef._0x11931e,_0x461f37-0x1a6,_0x33bb6a-_0x12b3ef._0x1808c6,_0x5877e9);}function _0x15b8ef(_0x5c1cbb,_0x35bbdf,_0x15aa1c,_0x25b3d9){return _0x1ac42a(_0x5c1cbb-_0x3a3010._0x20440f,_0x35bbdf-0x18a,_0x15aa1c-_0x3a3010._0x12946b,_0x35bbdf);}return _0x5eb867;}function createViewFileTool(_0x50018f={}){const _0x3cb90d={_0x451622:0x4c,_0x502226:0x8f,_0x5c1d85:0x201,_0x582ead:0x34,_0x28d107:0x3ce,_0x4aa18d:0x295,_0x58935c:0x561,_0xc265e2:0x1b0,_0x482b8d:0x4b,_0x41df30:0x2e,_0x293dd4:0x359,_0x33a753:0x347,_0x5aeab5:0x367,_0x9df678:0xc9,_0x436fd7:0x28,_0x50aa9f:0x4f,_0x1c6059:0xb3,_0x32a09c:0xa1,_0x3c91b8:0xd9,_0xcc0d6:0x241,_0x3ed985:0x216,_0x1d9507:0x106,_0x2971c3:0x311,_0xee5189:0x33,_0x5c0425:0xfc,_0x4e33d7:0x76},_0x973bd5={_0x275f9a:0x141,_0x3d414f:0x2,_0x1b66d9:0x2fd,_0x22e782:0x27f,_0x8a973f:0x22d,_0x86304f:0x2c1,_0x5c8ca0:0x2fa,_0x549a6c:0x3b,_0x4ac6b6:0x183,_0x5f058a:0x418,_0x4abf8e:0x2cb,_0x15fc47:0x42c,_0x7c3fc9:0x14,_0x9c67ba:0x13b,_0x2be897:0x36,_0x4f3f47:0x2c9,_0x2ce46d:0x233,_0xebeb53:0x255,_0x25601b:0x1a6,_0x3d4b58:0x35c,_0x4cdcb0:0x19c,_0x19c3f9:0x251,_0x1b5bd5:0x273,_0x2f45d8:0x448,_0x52de92:0x184,_0x4b31e6:0x318,_0x101f00:0x87,_0x15faa5:0x2e2,_0x30bbd7:0x4df,_0x20f909:0x4ff,_0x3c9a2c:0x3b2,_0x33d8ac:0x543,_0x200f9d:0x95,_0x1afa11:0x158,_0x3044a6:0x7c,_0x3928d8:0x2d2,_0x772bef:0x44a,_0x470492:0x376,_0x2b0656:0x5a9,_0x378847:0x28d,_0x2b9c4d:0x2f5,_0x8b0ad4:0x210,_0x542784:0x210,_0x21bfb2:0x2cf,_0x22f8ad:0x169,_0x3ed50b:0x202,_0x440d6e:0x1af,_0x2e7f50:0x244,_0x146833:0xfd,_0x356d1c:0x360,_0x3f4bcf:0xac,_0x1897d5:0x9d,_0x51a9a9:0x138,_0x9c54e7:0xdb,_0x27549:0xbe,_0x2bcc5c:0xed,_0x1faa80:0x81,_0x2e2034:0x6,_0x364026:0x382,_0x3fb513:0x3be,_0x1bab2d:0x1c4,_0xf4a230:0x1f4,_0x29ed35:0x394,_0xf6b9dd:0x430,_0x5ce95f:0x264,_0xd292a3:0x25f,_0x1e542d:0x234,_0x3f1cb1:0xd5},_0x7bc241={_0x54d946:0x111},_0x5b6fd9={_0x20fcce:0x1f4,_0x5d95be:0x25},_0x8ba8c6=_0x38c22a[_0x5066b8(-0x116,0x121,-_0x3cb90d._0x451622,-_0x3cb90d._0x502226)](_0x50018f['defaultCwd']??process[_0x5066b8(-0x27f,-_0x3cb90d._0x5c1d85,_0x3cb90d._0x582ead,-0x113)]());function _0x5066b8(_0x3f3536,_0x18546e,_0x28b037,_0x52b306){return _0x151cc1(_0x3f3536-_0x5b6fd9._0x20fcce,_0x52b306- -0x3aa,_0x3f3536,_0x52b306-_0x5b6fd9._0x5d95be);}const _0x12cfe3=_0x50018f[_0x1381b3(_0x3cb90d._0x28d107,0x25f,_0x3cb90d._0x4aa18d,_0x3cb90d._0x58935c)]??[],_0x348f74=_0x50018f[_0x5066b8(-0x1ce,-0x1c6,-0x23a,-_0x3cb90d._0xc265e2)]??DEFAULT_MAX_BYTES,_0x5c70dd=_0x50018f['name']??_0x5066b8(-0x9b,-_0x3cb90d._0x482b8d,-0x14,_0x3cb90d._0x41df30);function _0x1381b3(_0xed3537,_0x24fc02,_0x1a88de,_0x2d3e9c){return _0x151cc1(_0xed3537-0x7c,_0xed3537- -_0x7bc241._0x54d946,_0x1a88de,_0x2d3e9c-0x37);}return defineTool({'name':_0x5c70dd,'permissionClass':_0x1381b3(_0x3cb90d._0x293dd4,_0x3cb90d._0x33a753,_0x3cb90d._0x5aeab5,0x2fb),'description':_0x5066b8(_0x3cb90d._0x9df678,-_0x3cb90d._0x436fd7,_0x3cb90d._0x50aa9f,-_0x3cb90d._0x1c6059),'inputSchema':{'type':_0x5066b8(-_0x3cb90d._0x32a09c,-_0x3cb90d._0x3c91b8,-0x31c,-_0x3cb90d._0xcc0d6),'properties':{'path':{'type':_0x5066b8(-_0x3cb90d._0x3ed985,-_0x3cb90d._0x1d9507,-0x204,-0x1f4)},'detail':{'type':_0x5066b8(-_0x3cb90d._0x2971c3,-0x316,-_0x3cb90d._0xee5189,-0x1f4)}},'required':[_0x1381b3(_0x3cb90d._0x5c0425,0xa1,-_0x3cb90d._0x4e33d7,0x28f)]},async *'execute'(_0x2e2521){const _0x330de9={_0xe64c0c:0xd9,_0x549094:0x72},_0x10b1b0=resolveAllowedPath(_0x8ba8c6,_0x12cfe3,_0x2e2521[_0x495504(_0x973bd5._0x275f9a,-_0x973bd5._0x3d414f,_0x973bd5._0x1b66d9,_0x973bd5._0x22e782)]);function _0x495504(_0x5488f1,_0x179148,_0xde300e,_0x4d3a1e){return _0x5066b8(_0xde300e,_0x179148-0xf9,_0xde300e-0x1ae,_0x5488f1-0x2de);}await assertWorkspaceFile(_0x10b1b0);const _0x2c4e9c=await _0x5eb4bb(_0x10b1b0);function _0x330b22(_0x4805d1,_0x5cf338,_0x2cbe5e,_0x400327){return _0x1381b3(_0x400327- -_0x330de9._0xe64c0c,_0x5cf338-0x103,_0x2cbe5e,_0x400327-_0x330de9._0x549094);}if(_0x2c4e9c[_0x330b22(_0x973bd5._0x8a973f,0x191,_0x973bd5._0x86304f,_0x973bd5._0x5c8ca0)]>_0x348f74)throw new ToolExecutionError('Image\x20file\x20is\x20too\x20large:\x20'+_0x2e2521[_0x330b22(0x54,_0x973bd5._0x549a6c,0x1c4,0x23)],{'path':_0x2e2521[_0x330b22(0x109,-0x56,-_0x973bd5._0x4ac6b6,0x23)],'maxBytes':_0x348f74,'size':_0x2c4e9c[_0x495504(_0x973bd5._0x5f058a,_0x973bd5._0x4abf8e,_0x973bd5._0x15fc47,0x4d8)]});const _0x49dad5=await _0x270ae3(_0x10b1b0),_0x44bc61=detectImageMediaType(_0x49dad5,_0x10b1b0);if(!_0x44bc61)throw new ToolExecutionError('Unsupported\x20image\x20file:\x20'+_0x2e2521[_0x495504(_0x973bd5._0x275f9a,_0x973bd5._0x7c3fc9,_0x973bd5._0x9c67ba,_0x973bd5._0x2be897)],{'path':_0x2e2521[_0x495504(0x141,0x1cd,_0x973bd5._0x4f3f47,_0x973bd5._0x2ce46d)],'supported':[_0x495504(0x1f0,_0x973bd5._0xebeb53,_0x973bd5._0x25601b,_0x973bd5._0x3d4b58),_0x495504(_0x973bd5._0x4cdcb0,0x5b,_0x973bd5._0x19c3f9,_0x973bd5._0x1b5bd5),_0x330b22(-0x156,0x12c,0x9b,-0x36),_0x330b22(0x277,_0x973bd5._0x2f45d8,0xfa,0x2b0),_0x495504(_0x973bd5._0x52de92,_0x973bd5._0x4b31e6,_0x973bd5._0x101f00,_0x973bd5._0x15faa5)]});const _0xb4340c=normalizeDetail(_0x2e2521[_0x495504(0x422,_0x973bd5._0x30bbd7,0x4d5,_0x973bd5._0x20f909)]),_0x5eba07=[_0x495504(_0x973bd5._0x3c9a2c,0x4a4,_0x973bd5._0x33d8ac,0x336)+_0x2e2521[_0x330b22(_0x973bd5._0x200f9d,-_0x973bd5._0x1afa11,-_0x973bd5._0x3044a6,0x23)],'MIME:\x20'+_0x44bc61,_0x495504(_0x973bd5._0x3928d8,_0x973bd5._0x772bef,_0x973bd5._0x470492,0x45f)+_0x2c4e9c[_0x495504(0x418,0x4f0,_0x973bd5._0x2b0656,_0x973bd5._0x378847)]+'\x20bytes'][_0x330b22(0x1af,0x2f3,_0x973bd5._0x2b9c4d,0x19a)](_0xb4340c?['Detail:\x20'+_0xb4340c]:[])[_0x330b22(_0x973bd5._0x8b0ad4,_0x973bd5._0x542784,0x3a9,_0x973bd5._0x21bfb2)]('\x0a'),_0x135662=[{'type':_0x330b22(_0x973bd5._0x22f8ad,_0x973bd5._0x3ed50b,_0x973bd5._0x440d6e,0x1cb),'source':{'type':_0x330b22(0x250,0x18a,_0x973bd5._0x2e7f50,_0x973bd5._0x146833),'media_type':_0x44bc61,'data':_0x49dad5['toString'](_0x495504(0x21b,0x2c9,_0x973bd5._0x356d1c,0x33a))}},{'type':_0x495504(_0x973bd5._0x3f4bcf,_0x973bd5._0x1897d5,_0x973bd5._0x51a9a9,-_0x973bd5._0x9c54e7),'text':_0x5eba07}];return yield createToolOutput(_0x5eba07,{'path':_0x2e2521[_0x330b22(-0xdc,-_0x973bd5._0x27549,_0x973bd5._0x2bcc5c,0x23)],'resolvedPath':_0x10b1b0,'created':_0x2c4e9c[_0x330b22(-0x16,-0xf2,_0x973bd5._0x1faa80,_0x973bd5._0x2e2034)][_0x495504(_0x973bd5._0x364026,_0x973bd5._0x3fb513,0x4ef,_0x973bd5._0x1bab2d)](),'modified':_0x2c4e9c[_0x495504(_0x973bd5._0xf4a230,0x234,0x156,0x235)][_0x330b22(_0x973bd5._0x29ed35,_0x973bd5._0xf6b9dd,0x2e3,_0x973bd5._0x5ce95f)](),'size':_0x2c4e9c[_0x330b22(_0x973bd5._0xd292a3,0x266,0x3ec,0x2fa)],'mimeType':_0x44bc61,'encoding':_0x495504(0x21b,_0x973bd5._0x1e542d,_0x973bd5._0x3f1cb1,0x27e),..._0xb4340c?{'detail':_0xb4340c}:{}},_0x135662),void 0x0;}});}import _0x13ba17 from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x27b119=>{const {lookup:_0x173e21}=await import('dns/promises');return _0x173e21(_0x27b119,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x3e7982){const _0x26613a={_0xa42a4e:0x850,_0x113434:0x458},_0x3d3edc={_0x1aa6e7:0xd1},_0x18c57f={_0x4e3270:0x1f1,_0x20c38a:0x41,_0x3dad31:0x2f3},_0xa2b1cb=_0x3e7982['split']('.');if(_0xa2b1cb[_0x134233(_0x26613a._0xa42a4e,0x7d9,0x620,0x714)]!==0x4)return null;let _0x1d3392=0x0;function _0x5d6774(_0x21aeef,_0x2cacd6,_0x42ee27,_0x14931e){return _0x1ac42a(_0x21aeef-_0x18c57f._0x4e3270,_0x2cacd6-_0x18c57f._0x20c38a,_0x42ee27-_0x18c57f._0x3dad31,_0x2cacd6);}for(const _0xf14b6 of _0xa2b1cb){if(!/^\d{1,3}$/[_0x5d6774(0x4f9,0x543,_0x26613a._0x113434,0x4a0)](_0xf14b6))return null;const _0x5e33de=Number(_0xf14b6);if(_0x5e33de>0xff)return null;_0x1d3392=_0x1d3392*0x100+_0x5e33de;}function _0x134233(_0x36aff3,_0x42cb17,_0x406009,_0x335ffd){return _0x151cc1(_0x36aff3-_0x3d3edc._0x1aa6e7,_0x42cb17-0x353,_0x406009,_0x335ffd-0x109);}return _0x1d3392>>>0x0;}function isBlockedIpv4(_0x493cf8){const _0x314911={_0x13712a:0x8bb,_0x4a4709:0x6e6,_0x1eca74:0x753,_0x12cbf0:0x701,_0x1088da:0x806,_0x47464a:0x63f,_0x8e825f:0x486,_0x233b47:0x71b,_0x53036f:0x6df,_0x3319f8:0x196,_0x44fee4:0x38e,_0x5d733f:0x343,_0x33b90b:0x3a8,_0x27239f:0x446,_0x379899:0x178},_0x321632={_0x5513ee:0x113,_0x2d62d4:0x19f},_0x49dff7=ipv4ToInt(_0x493cf8);if(_0x49dff7===null)return!![];function _0x5da766(_0x239980,_0x2757b1,_0x325c89,_0x5491a6){return _0x1ac42a(_0x239980-0x1d2,_0x2757b1-0x80,_0x325c89-0x6cb,_0x2757b1);}function _0x218b9a(_0x175001,_0x49e7d5,_0x3628c4,_0xeab628){return _0x151cc1(_0x175001-0x19a,_0x3628c4- -_0x321632._0x5513ee,_0x49e7d5,_0xeab628-_0x321632._0x2d62d4);}const _0x5c62e6=(_0x2b90e1,_0x1ce906)=>{const _0x4131bd=ipv4ToInt(_0x2b90e1);if(_0x4131bd===null)return![];const _0x120a05=_0x1ce906===0x0?0x0:0xffffffff<<0x20-_0x1ce906>>>0x0;return(_0x49dff7&_0x120a05)===(_0x4131bd&_0x120a05);};return _0x5c62e6(_0x218b9a(0x2c4,0x210,0x1e8,0x38b),0x8)||_0x5c62e6(_0x5da766(_0x314911._0x13712a,_0x314911._0x4a4709,0x776,_0x314911._0x1eca74),0x8)||_0x5c62e6(_0x5da766(_0x314911._0x12cbf0,_0x314911._0x1088da,0x782,0x5fa),0xa)||_0x5c62e6(_0x5da766(0x450,_0x314911._0x47464a,0x612,_0x314911._0x8e825f),0x8)||_0x5c62e6(_0x5da766(0x7bf,_0x314911._0x233b47,_0x314911._0x53036f,0x5cc),0x10)||_0x5c62e6(_0x218b9a(_0x314911._0x3319f8,_0x314911._0x44fee4,0x308,_0x314911._0x5d733f),0xc)||_0x5c62e6('192.0.0.0',0x18)||_0x5c62e6('192.168.0.0',0x10)||_0x5c62e6('198.18.0.0',0xf)||_0x5c62e6(_0x218b9a(0x1be,0x2f1,0x2ae,_0x314911._0x33b90b),0x4)||_0x5c62e6(_0x218b9a(0x25c,_0x314911._0x27239f,0x2bb,_0x314911._0x379899),0x4);}function expandIpv6(_0x337321){const _0x352fda={_0x2b3b21:0x38d,_0x3bd9d0:0x462,_0x4b2d1c:0x2f6,_0x5b4c3e:0x17,_0x5c70f5:0x1dc,_0x3a10bc:0x3d5,_0x1c9e24:0x388,_0x33809c:0x4d4,_0x1d30a6:0x569,_0x4d8d99:0x4fc,_0xe8a689:0x2ed,_0x1ee2f2:0x461,_0x1340d:0x582,_0x11c876:0x41d,_0x4661dc:0x420,_0x436dd5:0x3e2,_0xe76449:0x41d,_0x4ca4a0:0x2f8,_0x53f94e:0x608,_0x6f04ad:0x39a,_0x3c368b:0x64e,_0x32a619:0x225,_0x2290cf:0x24f,_0x1e83c3:0x2b8},_0x45a19c={_0x250019:0x76};let _0x1460d8=_0x337321,_0x38ea06;const _0x1556a7=_0x1460d8['lastIndexOf'](':');_0x1460d8[_0x4ed640(_0x352fda._0x2b3b21,_0x352fda._0x3bd9d0,_0x352fda._0x4b2d1c,0x4b3)](_0x1556a7+0x1)[_0x4ed640(0x372,_0x352fda._0x5b4c3e,_0x352fda._0x5c70f5,0x2e3)]('.')&&(_0x38ea06=_0x1460d8[_0x2bc684(0x3ee,_0x352fda._0x3a10bc,_0x352fda._0x1c9e24,0x545)](_0x1556a7+0x1),_0x1460d8=_0x1460d8['slice'](0x0,_0x1556a7+0x1));const _0x4d2eef=_0x1460d8[_0x2bc684(0x630,0x4b4,_0x352fda._0x33809c,0x5c9)]('::');if(_0x4d2eef[_0x2bc684(_0x352fda._0x1d30a6,_0x352fda._0x4d8d99,0x5cf,0x383)]>0x2)return null;const _0x5ecd85=_0x250c0a=>_0x250c0a[_0x2bc684(0x39b,0x4b4,0x3da,0x3b5)](':')[_0x2bc684(0x424,0x28d,0x3ed,0x12c)](_0x2ca5ad=>_0x2ca5ad[_0x2bc684(0x344,0x4fc,0x642,0x6a6)]>0x0)['map'](_0x4f63d1=>Number['parseInt'](_0x4f63d1,0x10)),_0x13b93f=_0x4d2eef[0x0]?_0x5ecd85(_0x4d2eef[0x0]):[],_0x3e5290=_0x4d2eef['length']===0x2&&_0x4d2eef[0x1]?_0x5ecd85(_0x4d2eef[0x1]):[],_0x37e9ef=[];function _0x4ed640(_0xf67f77,_0x19b87b,_0x2320a4,_0x472e75){return _0x1ac42a(_0xf67f77-0xed,_0x19b87b-0x1bd,_0x2320a4-0x314,_0x19b87b);}function _0x2bc684(_0x3c6ea9,_0x42069c,_0x2249ca,_0x3c38f5){return _0x151cc1(_0x3c6ea9-0xe2,_0x42069c-_0x45a19c._0x250019,_0x3c6ea9,_0x3c38f5-0x88);}if(_0x38ea06){const _0x2ec27b=ipv4ToInt(_0x38ea06);if(_0x2ec27b===null)return null;_0x37e9ef['push'](_0x2ec27b>>>0x10&0xffff,_0x2ec27b&0xffff);}const _0x173620=[..._0x3e5290,..._0x37e9ef],_0xef6199=0x8-_0x13b93f[_0x4ed640(_0x352fda._0xe8a689,0x5ea,0x41d,0x360)]-_0x173620[_0x4ed640(_0x352fda._0x1ee2f2,_0x352fda._0x1340d,_0x352fda._0x11c876,0x591)];if(_0x4d2eef[_0x4ed640(_0x352fda._0x4661dc,_0x352fda._0x436dd5,_0x352fda._0xe76449,_0x352fda._0x4ca4a0)]===0x1)return _0x13b93f['length']+_0x173620[_0x2bc684(_0x352fda._0x53f94e,0x4fc,_0x352fda._0x6f04ad,_0x352fda._0x3c368b)]===0x8?[..._0x13b93f,..._0x173620]:null;if(_0xef6199<0x0)return null;return[..._0x13b93f,...new Array(_0xef6199)[_0x2bc684(0x3e0,_0x352fda._0x32a619,_0x352fda._0x2290cf,_0x352fda._0x1e83c3)](0x0),..._0x173620];}function isBlockedIpv6(_0x9e57a5){const _0x31817a={_0x20bcce:0x377,_0x3377c9:0x3fa,_0x2b865c:0x394,_0xb31383:0x290,_0x38c678:0x122,_0x3ddc32:0x68d,_0x1f3bda:0x7bb,_0x5489cf:0x885,_0x4ed4bd:0x6bd,_0x9798c7:0x7de},_0x95806d={_0x38dff4:0x2f},_0x58b96b={_0x277464:0x125},_0xe4143f=expandIpv6(_0x9e57a5);if(!_0xe4143f||_0xe4143f[_0x5cba0b(0x51e,_0x31817a._0x20bcce,0x480,_0x31817a._0x3377c9)](_0x6ea84a=>Number[_0x5cba0b(0x25b,0x2d6,0x3d9,0x144)](_0x6ea84a)))return!![];const _0x391143=_0xe4143f['slice'](0x0,0x7)[_0x10532b(0x5ba,0x647,0x552,0x586)](_0x26e5c9=>_0x26e5c9===0x0);if(_0x391143&&(_0xe4143f[0x7]===0x0||_0xe4143f[0x7]===0x1))return!![];function _0x10532b(_0x23cda0,_0x13fdba,_0x26c8de,_0x2b3c9d){return _0x1ac42a(_0x23cda0-0x10c,_0x13fdba-_0x58b96b._0x277464,_0x13fdba-0x581,_0x23cda0);}if(_0xe4143f[_0x5cba0b(_0x31817a._0x2b865c,_0x31817a._0xb31383,0x3f9,_0x31817a._0x38c678)](0x0,0x5)[_0x10532b(0x7cf,0x647,_0x31817a._0x3ddc32,_0x31817a._0x1f3bda)](_0x1a0ae6=>_0x1a0ae6===0x0)&&(_0xe4143f[0x5]===0xffff||_0xe4143f[0x5]===0x0)){const _0x522eb7=(_0xe4143f[0x6]<<0x10|_0xe4143f[0x7])>>>0x0,_0x947303=[_0x522eb7>>>0x18&0xff,_0x522eb7>>>0x10&0xff,_0x522eb7>>>0x8&0xff,_0x522eb7&0xff][_0x10532b(_0x31817a._0x5489cf,_0x31817a._0x4ed4bd,0x6bc,_0x31817a._0x9798c7)]('.');return isBlockedIpv4(_0x947303);}const _0x5e3388=_0xe4143f[0x0];function _0x5cba0b(_0x491c57,_0x62565b,_0x18c6e2,_0x3fb261){return _0x1ac42a(_0x491c57-0x74,_0x62565b-_0x95806d._0x38dff4,_0x62565b-0x2ae,_0x18c6e2);}if((_0x5e3388&0xff00)===0xfc00||(_0x5e3388&0xfe00)===0xfc00)return!![];if((_0x5e3388&0xffc0)===0xfe80)return!![];if((_0x5e3388&0xff00)===0xff00)return!![];return![];}function isBlockedAddress(_0x42504d){const _0x327b0f=isIP(_0x42504d);if(_0x327b0f===0x4)return isBlockedIpv4(_0x42504d);if(_0x327b0f===0x6)return isBlockedIpv6(_0x42504d);return!![];}async function assertPublicUrl(_0x20403b,_0x6b1f20={}){const _0x164cb4={_0x6dd66b:0x14c,_0x4f3489:0x129,_0x13898c:0xd9,_0x316aff:0x165,_0x19613b:0x25d,_0x3642f8:0x321,_0x134244:0x2f,_0x492c56:0x48,_0x10947d:0x430,_0xbe6328:0x2a6,_0xa50702:0x36e,_0x512f0b:0x579,_0x49de2b:0x48b,_0x3eacbf:0x4e8,_0x2cc885:0x336,_0xf12037:0x168,_0x2fdd65:0x159,_0xb426c:0x18c,_0x44190f:0x20d,_0x3b45a2:0x174,_0x3e45be:0x81,_0x341ff5:0x171,_0x31130d:0x157,_0x42872d:0x4b7,_0x493587:0x50b,_0x5dca84:0x358,_0x3739e9:0x76,_0x27396d:0x231,_0xecb6b4:0x62d,_0x51247c:0x5a8,_0x3add04:0x43a,_0x552716:0x1f0,_0x4c6530:0x7,_0x213c7f:0x2fc,_0x4e0d06:0x365},_0x1542a8={_0x4dd239:0x194},_0x2358f4={_0x203609:0x19e};let _0x16372a;try{_0x16372a=new URL(_0x20403b);}catch{throw new ToolExecutionError(_0x4c17bf(_0x164cb4._0x6dd66b,_0x164cb4._0x4f3489,_0x164cb4._0x13898c,_0x164cb4._0x316aff),{'url':_0x20403b});}if(_0x16372a[_0x4c17bf(_0x164cb4._0x19613b,0x312,_0x164cb4._0x3642f8,0x168)]!==_0x4c17bf(-0x72,-_0x164cb4._0x134244,_0x164cb4._0x492c56,0x147)&&_0x16372a[_0x590908(0x5db,_0x164cb4._0x10947d,_0x164cb4._0xbe6328,_0x164cb4._0xa50702)]!=='https:')throw new ToolExecutionError('Only\x20http://\x20and\x20https://\x20URLs\x20are\x20supported',{'url':_0x20403b});if(_0x16372a[_0x590908(0x742,_0x164cb4._0x512f0b,_0x164cb4._0x49de2b,_0x164cb4._0x3eacbf)]||_0x16372a['password'])throw new ToolExecutionError(_0x4c17bf(0x86,0x97,_0x164cb4._0x2cc885,0x1bb),{'url':_0x16372a[_0x4c17bf(0x18d,0x320,0xa9,_0x164cb4._0xf12037)]+'//'+_0x16372a['host']+_0x16372a['pathname']});const _0x5d4b45=_0x16372a[_0x4c17bf(_0x164cb4._0x2fdd65,_0x164cb4._0xb426c,_0x164cb4._0x44190f,0x2bf)][_0x4c17bf(-_0x164cb4._0x3b45a2,-0x158,-0x26,0x2b)](/^\[|\]$/g,''),_0x4048bb=_0x16372a[_0x4c17bf(-0x23,_0x164cb4._0x3e45be,_0x164cb4._0x341ff5,_0x164cb4._0xf12037)]+'//'+_0x16372a[_0x4c17bf(-0x17a,-_0x164cb4._0x31130d,0x5d,0x37)]+_0x16372a[_0x590908(0x2f4,_0x164cb4._0x42872d,0x341,0x54a)];if(isIP(_0x5d4b45)){if(isBlockedAddress(_0x5d4b45))throw new ToolExecutionError(_0x4c17bf(_0x164cb4._0x493587,0x49b,0x3f5,_0x164cb4._0x5dca84),{'url':_0x4048bb});return _0x16372a;}const _0x3f8f02=_0x6b1f20['lookup']??defaultLookup;let _0x349b27;try{_0x349b27=await _0x3f8f02(_0x5d4b45);}catch{throw new ToolExecutionError(_0x4c17bf(-_0x164cb4._0x3739e9,0x2f1,_0x164cb4._0x27396d,0x13f),{'url':_0x4048bb});}if(_0x349b27[_0x590908(_0x164cb4._0xecb6b4,_0x164cb4._0x51247c,0x6dc,_0x164cb4._0x3add04)]===0x0)throw new ToolExecutionError(_0x4c17bf(0x167,_0x164cb4._0x552716,-_0x164cb4._0x4c6530,0x13f),{'url':_0x4048bb});for(const {address:_0x5d59ba}of _0x349b27){if(isBlockedAddress(_0x5d59ba))throw new ToolExecutionError(_0x590908(0x445,0x422,_0x164cb4._0x213c7f,_0x164cb4._0x4e0d06),{'url':_0x4048bb});}function _0x4c17bf(_0x125e2e,_0x2752f5,_0x57c7c7,_0x16db64){return _0x151cc1(_0x125e2e-0xd5,_0x16db64- -0x1a6,_0x125e2e,_0x16db64-_0x2358f4._0x203609);}function _0x590908(_0x3f104d,_0x2ac2a2,_0x1cea81,_0x204e2d){return _0x151cc1(_0x3f104d-0x2a,_0x2ac2a2-0x122,_0x204e2d,_0x204e2d-_0x1542a8._0x4dd239);}return _0x16372a;}async function safeFetch(_0x565309,_0x33ef42={},_0x1ec06c={}){const _0x1b0fdc={_0x40f32d:0x102,_0x26af2c:0x1b0,_0x33dac9:0x8f,_0x15a209:0x3,_0x1c4498:0x186,_0x22c0a2:0x32b,_0x5aac1c:0x2d3,_0x296108:0x296,_0x56ebb1:0x1c7,_0x23b036:0x137,_0x25e0db:0x11f,_0x42dcb5:0xae,_0x4b520f:0x2a,_0x342462:0x1f5,_0xdeffce:0xc9,_0x17916a:0xb,_0x4e9b8f:0x1cb,_0x1d4af1:0x59,_0x59f2cb:0x31,_0x2a1982:0x6c},_0x25a0dd={_0x4fca87:0x140,_0x226244:0x197},_0x3d4978={_0x4db169:0x1b};function _0x1bcf1(_0x3ad2ad,_0x2a9f7a,_0x3f2cd5,_0x865357){return _0x151cc1(_0x3ad2ad-0x9d,_0x3f2cd5- -0x24c,_0x3ad2ad,_0x865357-_0x3d4978._0x4db169);}const _0x298a8a=_0x1ec06c['fetchImpl']??fetch;function _0x47b8ca(_0x1224c8,_0x18b992,_0xc0f692,_0x519e4b){return _0x151cc1(_0x1224c8-_0x25a0dd._0x4fca87,_0x519e4b- -0x2bb,_0x18b992,_0x519e4b-_0x25a0dd._0x226244);}const _0x171841=_0x1ec06c[_0x47b8ca(-0x49,-0x9f,-0x15a,-_0x1b0fdc._0x40f32d)]??DEFAULT_MAX_REDIRECTS;let _0x33f126=_0x565309;for(let _0x1014da=0x0;;_0x1014da+=0x1){const _0x2a6ab9=await assertPublicUrl(_0x33f126,_0x1ec06c),_0x3542c2=await _0x298a8a(_0x2a6ab9[_0x1bcf1(_0x1b0fdc._0x26af2c,_0x1b0fdc._0x33dac9,_0x1b0fdc._0x15a209,-_0x1b0fdc._0x1c4498)](),{..._0x33ef42,'redirect':'manual'}),_0x196d41=_0x3542c2[_0x47b8ca(_0x1b0fdc._0x22c0a2,_0x1b0fdc._0x5aac1c,_0x1b0fdc._0x296108,_0x1b0fdc._0x56ebb1)][_0x47b8ca(_0x1b0fdc._0x23b036,0x1f6,-_0x1b0fdc._0x25e0db,_0x1b0fdc._0x42dcb5)]('location');if(!REDIRECT_STATUSES[_0x47b8ca(_0x1b0fdc._0x4b520f,_0x1b0fdc._0x342462,_0x1b0fdc._0xdeffce,0x157)](_0x3542c2['status'])||!_0x196d41)return _0x3542c2;if(_0x1014da>=_0x171841)throw new ToolExecutionError(_0x47b8ca(0x1dc,0x170,_0x1b0fdc._0x17916a,0x8d),{'url':_0x2a6ab9[_0x47b8ca(-_0x1b0fdc._0x4e9b8f,-_0x1b0fdc._0x1d4af1,-_0x1b0fdc._0x59f2cb,-_0x1b0fdc._0x2a1982)]()});_0x33f126=new URL(_0x196d41,_0x2a6ab9)['toString']();}}var USER_AGENT=_0x151cc1(0x4e2,0x42e,0x5ea,0x50c),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x32ac22,_0x45a1a6){const _0x1e9274={_0xbb9c1e:0x42c,_0x118b95:0x34b,_0xee2400:0x399,_0x39fab5:0x4b6,_0xe82b39:0x253,_0x30dd62:0x3d9,_0x15e4dd:0x36f,_0x4d21d7:0x3c6,_0x1ad9aa:0x52,_0x246f24:0xf7},_0x599c16={_0x1317a7:0x399,_0x9cdd43:0x24c},_0x2b76b0={_0x1a1298:0x159,_0xa8cdd3:0x43a},_0x28eb63={_0x5bb054:0x10d,_0x4708c9:0x16a,_0x3b1df2:0x39},_0xd4df23={_0x3e149d:0x3f},_0x4c820f=new AbortController(),_0x213a17=setTimeout(()=>_0x4c820f[_0x18090a(0x1da,0x376,0x37d,0x21d)](new Error(_0x18090a(0x32a,0x370,0x228,0x231))),_0x45a1a6),_0x676ed1=()=>_0x4c820f[_0x5631cc(0x438,0x3d9,0x3c6,0x43c)](_0x32ac22['reason']);function _0x5631cc(_0x4a5b92,_0x386c10,_0x5d367f,_0x126556){return _0x151cc1(_0x4a5b92-0x37,_0x5d367f-_0xd4df23._0x3e149d,_0x386c10,_0x126556-0x133);}function _0x18090a(_0x246d50,_0x54b7bc,_0x56b84e,_0x260de0){return _0x151cc1(_0x246d50-_0x28eb63._0x5bb054,_0x260de0- -_0x28eb63._0x4708c9,_0x246d50,_0x260de0-_0x28eb63._0x3b1df2);}return _0x32ac22['aborted']?_0x4c820f[_0x5631cc(_0x1e9274._0xbb9c1e,_0x1e9274._0x118b95,0x3c6,0x484)](_0x32ac22[_0x5631cc(_0x1e9274._0xee2400,_0x1e9274._0x39fab5,0x2f5,0x346)]):_0x32ac22[_0x5631cc(0x2bc,0x2e8,_0x1e9274._0xe82b39,0x33a)](_0x5631cc(_0x1e9274._0x30dd62,_0x1e9274._0x15e4dd,_0x1e9274._0x4d21d7,0x49d),_0x676ed1,{'once':!![]}),{'signal':_0x4c820f[_0x18090a(0xa5,-_0x1e9274._0x1ad9aa,_0x1e9274._0x246f24,0x1a)],'cleanup':()=>{const _0x5b9773={_0x6231cc:0x1aa,_0x439758:0x147};function _0x17bb42(_0x500cfb,_0xb81fc2,_0x405620,_0x5b8f79){return _0x18090a(_0xb81fc2,_0xb81fc2-0x109,_0x405620-_0x2b76b0._0x1a1298,_0x405620-_0x2b76b0._0xa8cdd3);}clearTimeout(_0x213a17);function _0x9af3a5(_0x56f32f,_0x13d83e,_0x372c33,_0x44d2e9){return _0x5631cc(_0x56f32f-_0x5b9773._0x6231cc,_0x372c33,_0x13d83e- -0x2d,_0x44d2e9-_0x5b9773._0x439758);}_0x32ac22[_0x17bb42(0x8c9,0x59a,0x734,0x7cc)](_0x9af3a5(0x209,_0x599c16._0x1317a7,_0x599c16._0x9cdd43,0x2c5),_0x676ed1);}};}function createWebFetchTool(_0x16cec4={}){const _0x4c8bfb={_0x2b95bf:0x4a4,_0x276816:0x5fd,_0x556960:0x2a6,_0x36cffd:0x1a3,_0x28c421:0x3da,_0x296688:0x22d,_0x401ec8:0x5b6,_0xf1bd2f:0x524,_0x26c907:0x1b2,_0x121736:0x47,_0x216a46:0x79,_0xe31127:0x6f,_0x13c510:0x25d,_0x2673fa:0xae,_0x368ad7:0x51a,_0x2506a4:0x56c,_0x34684e:0x3a3,_0x519b4a:0x369,_0x59075b:0x4a8,_0x2a6e9d:0x4ff,_0x1b41ab:0x92,_0x10187b:0x12a,_0x2bb0d6:0x45,_0x1b3385:0x121,_0x116c61:0x1df,_0x1d5a98:0x347,_0x286ae3:0x19c,_0x24c97e:0x254},_0x1526be={_0x3983ba:0x2ee,_0x183a5b:0x28b,_0x2d2ddf:0x152,_0x3486c2:0x4a4,_0x255f0d:0xec,_0x2fc4d9:0xe0,_0x34dca3:0x11,_0x1c16ff:0xb7,_0xea55c7:0x89,_0x13036b:0x2e9,_0x3c00de:0x1e5,_0x1999af:0x217,_0x29a483:0x2da,_0x315857:0x487,_0x55e30a:0x23d,_0x3e760a:0x39f,_0x43fe1a:0x34e,_0x17afa4:0x61d,_0x4e2b79:0x4f2,_0x2b4d38:0x1c7,_0xb9afaa:0x482,_0x4a7832:0x495,_0x646612:0x533,_0x1b85c8:0x303,_0x43455c:0x1fc,_0x36fca2:0x91,_0x52bdb7:0x18,_0x59c8fd:0xa7,_0x343e74:0x162,_0x3e33c0:0x132,_0xea34bf:0x5eb,_0x479639:0x43f,_0x59904f:0xad,_0xf80770:0x93,_0x399681:0x145,_0x37063b:0x54f,_0x4ad462:0x375,_0x5f136e:0x3bf,_0x4627ee:0x8f,_0x5fedf4:0x5c,_0x1e6a37:0xd1,_0x473cef:0x100,_0x2e97b1:0x99,_0x14717a:0x9e,_0x8a739d:0xbb,_0x459e11:0x160,_0x84ad07:0x23d},_0x34d77d={_0x4f9462:0xdd,_0x3f2674:0x108,_0x538aca:0x9a},_0x2d4f52={_0x287a26:0x288,_0x23c0bc:0x1d,_0x152bcf:0xe2},_0x4a7897={_0x1232f7:0x5e,_0x4b8227:0x412},_0x38d413={_0x56eba6:0xa4},_0x57d0c2=_0x16cec4[_0xf6b1a1(_0x4c8bfb._0x2b95bf,0x64d,0x458,_0x4c8bfb._0x276816)]??_0xf6b1a1(_0x4c8bfb._0x556960,_0x4c8bfb._0x36cffd,0x2b1,_0x4c8bfb._0x28c421),_0x4bf7f0=_0x16cec4[_0xf6b1a1(_0x4c8bfb._0x296688,0x1b4,0xc1,0x2f8)]??DEFAULT_TIMEOUT_MS2;function _0x1589a5(_0x3480f7,_0x4c4446,_0x344c00,_0x469af6){return _0x151cc1(_0x3480f7-0x105,_0x3480f7- -0x1fb,_0x4c4446,_0x469af6-_0x38d413._0x56eba6);}const _0x393167=_0x16cec4[_0xf6b1a1(0x4cb,_0x4c8bfb._0x401ec8,0x5c0,_0x4c8bfb._0xf1bd2f)];function _0xf6b1a1(_0x3b0bab,_0x3151ab,_0x20185c,_0xa8756f){return _0x1ac42a(_0x3b0bab-_0x4a7897._0x1232f7,_0x3151ab-0x17c,_0x3b0bab-_0x4a7897._0x4b8227,_0x3151ab);}const _0x170808=new _0x13ba17({'headingStyle':_0xf6b1a1(0x24c,0x252,0x2c9,_0x4c8bfb._0x26c907),'codeBlockStyle':'fenced','bulletListMarker':'-'});return _0x170808[_0x1589a5(_0x4c8bfb._0x121736,0x181,0x76,0x1d5)](['script','style','noscript',_0x1589a5(-0x8d,-0x245,_0x4c8bfb._0x216a46,_0x4c8bfb._0xe31127),_0x1589a5(0x208,0x3b7,_0x4c8bfb._0x13c510,_0x4c8bfb._0x2673fa),'footer',_0xf6b1a1(_0x4c8bfb._0x368ad7,_0x4c8bfb._0x2506a4,0x52c,_0x4c8bfb._0x34684e),_0xf6b1a1(0x462,_0x4c8bfb._0x519b4a,0x625,_0x4c8bfb._0x59075b)]),defineTool({'name':_0x57d0c2,'permissionClass':_0xf6b1a1(_0x4c8bfb._0x2a6e9d,0x4a0,0x597,0x50c),'description':'Fetch\x20web\x20page\x20content\x20and\x20convert\x20to\x20Markdown\x20format','inputSchema':{'type':_0x1589a5(-_0x4c8bfb._0x1b41ab,0x1a,-0x12f,-_0x4c8bfb._0x10187b),'properties':{'description':{'type':_0x1589a5(-_0x4c8bfb._0x2bb0d6,-_0x4c8bfb._0x1b3385,-_0x4c8bfb._0x116c61,-0x9e)},'url':{'type':'string'}},'required':[_0xf6b1a1(_0x4c8bfb._0x1d5a98,_0x4c8bfb._0x286ae3,0x302,_0x4c8bfb._0x24c97e)]},async *'execute'(_0x16416d,_0x1c25b1){const _0x43fd38=(await assertPublicUrl(_0x16416d[_0x3b104a(_0x1526be._0x3983ba,_0x1526be._0x183a5b,0x33f,0x18c)],{'lookup':_0x393167}))[_0x3b104a(0x20a,_0x1526be._0x2d2ddf,0x2dc,_0x1526be._0x3486c2)]();if(_0x1c25b1['signal'][_0x5b3bc4(-0x104,-_0x1526be._0x255f0d,-0xd8,_0x1526be._0x2fc4d9)])throw new ToolExecutionError(_0x5b3bc4(-_0x1526be._0x34dca3,_0x1526be._0x1c16ff,0x24b,-_0x1526be._0xea55c7),{'url':_0x43fd38});const _0x5c9257=createTimeoutSignal(_0x1c25b1[_0x3b104a(_0x1526be._0x13036b,_0x1526be._0x3c00de,0x211,_0x1526be._0x1999af)],_0x4bf7f0);let _0x423353='';function _0x3b104a(_0x41cc3c,_0x1a32b3,_0x39df0f,_0x3792d0){return _0x1589a5(_0x39df0f-_0x2d4f52._0x287a26,_0x41cc3c,_0x39df0f-_0x2d4f52._0x23c0bc,_0x3792d0-_0x2d4f52._0x152bcf);}let _0x203e94=0x0,_0x2739d8;function _0x5b3bc4(_0x153d71,_0x26cbcc,_0x132550,_0xdb0b28){return _0x1589a5(_0x26cbcc- -_0x34d77d._0x4f9462,_0xdb0b28,_0x132550-_0x34d77d._0x3f2674,_0xdb0b28-_0x34d77d._0x538aca);}try{const _0x5d5f60=await safeFetch(_0x43fd38,{'headers':{'User-Agent':USER_AGENT},'signal':_0x5c9257[_0x3b104a(0x1c2,_0x1526be._0x29a483,0x211,0x3d4)]},{'lookup':_0x393167});if(!_0x5d5f60['ok'])throw new ToolExecutionError(_0x3b104a(_0x1526be._0x315857,_0x1526be._0x55e30a,_0x1526be._0x3e760a,0x4c0)+_0x5d5f60[_0x3b104a(_0x1526be._0x43fe1a,_0x1526be._0x17afa4,0x495,_0x1526be._0x4e2b79)]+'\x20'+_0x5d5f60[_0x3b104a(0x387,0xd9,0x20f,_0x1526be._0x2b4d38)],{'url':_0x43fd38,'statusCode':_0x5d5f60[_0x3b104a(_0x1526be._0xb9afaa,0x506,_0x1526be._0x4a7832,_0x1526be._0x646612)]});_0x423353=_0x5d5f60[_0x5b3bc4(_0x1526be._0x1b85c8,0x1aa,_0x1526be._0x43455c,0xdc)][_0x5b3bc4(-_0x1526be._0x34dca3,_0x1526be._0x36fca2,0x1b6,_0x1526be._0x52bdb7)](_0x5b3bc4(0x102,-_0x1526be._0x59c8fd,-_0x1526be._0x343e74,-_0x1526be._0x3e33c0))??'',_0x203e94=_0x5d5f60['status'],_0x2739d8=await _0x5d5f60[_0x5b3bc4(-0x177,-0x160,0x23,-0x28a)]();}catch(_0x2b3b07){if(_0x2b3b07 instanceof ToolExecutionError)throw _0x2b3b07;const _0x2db8e3=_0x2b3b07 instanceof Error?_0x2b3b07[_0x3b104a(0x607,_0x1526be._0xea34bf,0x51b,0x637)]:String(_0x2b3b07);throw new ToolExecutionError(_0x2db8e3,{'url':_0x43fd38});}finally{_0x5c9257['cleanup']();}const _0x365925=new Date()[_0x3b104a(0x63e,_0x1526be._0x479639,0x4db,0x3d9)]();let _0x1e307f,_0x26f5ba;if(_0x423353[_0x5b3bc4(-_0x1526be._0x59904f,-_0x1526be._0xf80770,-0x200,-_0x1526be._0x399681)](_0x3b104a(0x554,0x59b,0x569,_0x1526be._0x37063b)))_0x1e307f=_0x3b104a(0x378,0x326,_0x1526be._0x4ad462,_0x1526be._0x5f136e)+_0x2739d8+_0x5b3bc4(-0x242,-0x9f,-_0x1526be._0x4627ee,-_0x1526be._0x5fedf4),_0x26f5ba=_0x5b3bc4(0x12a,0x7b,_0x1526be._0x1e6a37,_0x1526be._0x473cef);else _0x423353['includes']('text/html')?(_0x1e307f=_0x170808[_0x3b104a(0x6da,0x5f3,0x594,0x74b)](_0x2739d8),_0x26f5ba=_0x5b3bc4(-_0x1526be._0x2e97b1,0x30,_0x1526be._0x14717a,_0x1526be._0x8a739d)):(_0x1e307f=_0x2739d8,_0x26f5ba=_0x5b3bc4(-0x214,-_0x1526be._0x459e11,-_0x1526be._0x84ad07,-0x300));return yield createToolOutput(_0x1e307f,{'url':_0x43fd38,'contentType':_0x423353,'statusCode':_0x203e94,'format':_0x26f5ba,'size':_0x2739d8['length'],'fetchedAt':_0x365925}),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(_0x1d3cd6){const _0x35e2b5={_0x3d0964:0x157,_0x587d40:0x136,_0x9d64b3:0x1b2,_0x26f71b:0x1f2,_0x1079e0:0xb7,_0x5beb42:0x94,_0x140d74:0x43,_0x52e6bf:0x8d,_0x9d2641:0x99,_0x48d41f:0x94,_0x56077f:0x81,_0x545b80:0x9c,_0x175242:0x50,_0x49693b:0x171,_0x1e55d5:0x231},_0x471ca0={_0x5491a4:0x34,_0x21449b:0x4},_0x5621ac={_0x4f6a1d:0x1c7};function _0x334cd0(_0x1d7513,_0x22dfa9,_0x1a27ce,_0x595b02){return _0x1ac42a(_0x1d7513-0x8e,_0x22dfa9-_0x5621ac._0x4f6a1d,_0x595b02-0x67,_0x22dfa9);}function _0x36465d(_0x49df45,_0x10c0e3,_0x3fd7cd,_0x5b64de){return _0x151cc1(_0x49df45-_0x471ca0._0x5491a4,_0x3fd7cd- -0x204,_0x5b64de,_0x5b64de-_0x471ca0._0x21449b);}try{const _0x4d921f=new URL(_0x1d3cd6);for(const _0x310a04 of[_0x36465d(-_0x35e2b5._0x3d0964,0xe1,-0x5c,-0xb7),_0x334cd0(_0x35e2b5._0x587d40,0x1bc,0x29f,0xd7),_0x36465d(0x3b8,_0x35e2b5._0x9d64b3,_0x35e2b5._0x26f71b,_0x35e2b5._0x1079e0),_0x334cd0(-0x165,-_0x35e2b5._0x5beb42,_0x35e2b5._0x140d74,-0x65),_0x36465d(-0x109,-0x1ad,-0x62,-0x19f),_0x334cd0(-0x17c,-_0x35e2b5._0x52e6bf,-_0x35e2b5._0x9d2641,-_0x35e2b5._0x48d41f),'fbclid','mc_cid',_0x334cd0(_0x35e2b5._0x56077f,0x21e,_0x35e2b5._0x545b80,_0x35e2b5._0x175242)]){_0x4d921f[_0x36465d(0x9a,-_0x35e2b5._0x49693b,-0x81,-_0x35e2b5._0x1e55d5)]['delete'](_0x310a04);}return _0x4d921f['toString']();}catch{return _0x1d3cd6;}}function cseDateRestrict(_0x376746){const _0x1a2163={_0xc409ef:0x304,_0x26c7ca:0x3ec,_0x2d5679:0x3e8,_0x527838:0x40d,_0x16b423:0x34b,_0x5299ce:0x5dd,_0x49e579:0x672},_0xd1189c={_0x858a0f:0x5e9},_0x5aa459={_0x19ecc2:0x1b7};if(_0x376746<=0x0)return void 0x0;function _0x539424(_0x3e5ac4,_0x252834,_0x24ddee,_0x1d98f0){return _0x1ac42a(_0x3e5ac4-0x6a,_0x252834-_0x5aa459._0x19ecc2,_0x1d98f0-0x35b,_0x24ddee);}function _0xa4f275(_0x47a10e,_0x175ba4,_0x10d554,_0x30545c){return _0x1ac42a(_0x47a10e-0x54,_0x175ba4-0xdb,_0x47a10e-_0xd1189c._0x858a0f,_0x30545c);}if(_0x376746<=0x1e)return'd'+Math[_0x539424(0x502,_0x1a2163._0xc409ef,0x32c,_0x1a2163._0x26c7ca)](0x1,Math[_0x539424(0x29b,_0x1a2163._0x2d5679,0x380,0x28b)](_0x376746));if(_0x376746<=0x16d)return'm'+Math[_0x539424(_0x1a2163._0x527838,0x696,_0x1a2163._0x16b423,0x4d4)](_0x376746/0x1e);return'y'+Math[_0xa4f275(0x762,0x79a,_0x1a2163._0x5299ce,_0x1a2163._0x49e579)](_0x376746/0x16d);}function addSiteFilters(_0x33b27c,_0x4031f2){const _0x428e3d={_0x229369:0x325,_0x3e31c9:0x4c5,_0x3093bd:0x649,_0x346f8d:0x520,_0x5c6ce5:0x4bc,_0x4d94d0:0x2b1,_0x3b437f:0x134,_0x57da83:0x4ef},_0x3084fa={_0x1c827b:0x9b,_0x43a619:0x2},_0x2cb4c2={_0x159996:0x68,_0xa18a47:0x43f};if(_0x4031f2['length']===0x0)return _0x33b27c[_0x2da184(0x4ef,0x364,0x62f,_0x428e3d._0x229369)]();function _0x2da184(_0x4321c2,_0x260275,_0xc08dad,_0x151829){return _0x1ac42a(_0x4321c2-0x1c0,_0x260275-_0x2cb4c2._0x159996,_0x4321c2-_0x2cb4c2._0xa18a47,_0xc08dad);}function _0x22328f(_0x2cc0f2,_0x4a0179,_0x2a0a94,_0x413602){return _0x1ac42a(_0x2cc0f2-_0x3084fa._0x1c827b,_0x4a0179-_0x3084fa._0x43a619,_0x2a0a94-0x3e4,_0x413602);}return(_0x33b27c+'\x20('+_0x4031f2[_0x2da184(0x4e9,0x52e,0x53e,_0x428e3d._0x3e31c9)](_0x1f5702=>_0x22328f(0x366,0x1c7,0x32e,0x3bb)+_0x1f5702)[_0x22328f(_0x428e3d._0x3093bd,0x62c,_0x428e3d._0x346f8d,_0x428e3d._0x5c6ce5)](_0x2da184(_0x428e3d._0x4d94d0,_0x428e3d._0x3b437f,0x207,0x3b1))+')')[_0x2da184(_0x428e3d._0x57da83,0x39a,0x494,0x5c9)]();}function normalizeType(_0x26f00b){const _0xcb9fea={_0x4040ed:0x2c7,_0x47b99c:0x1e5,_0x23f600:0xa6,_0x51fd97:0x12e,_0x186680:0x1dc,_0x2a8f6c:0x343,_0x24fe81:0x287,_0x976406:0x33e},_0x36e734={_0xda16cf:0x73,_0x36b71e:0x60},_0x4d0ceb={_0x4fc577:0x1e4,_0x47acfa:0x101,_0x6e7924:0x5ae};function _0x564ff9(_0x10b101,_0x1db528,_0x434a08,_0x57d627){return _0x1ac42a(_0x10b101-_0x4d0ceb._0x4fc577,_0x1db528-_0x4d0ceb._0x47acfa,_0x10b101-_0x4d0ceb._0x6e7924,_0x57d627);}function _0x552943(_0x37c7f6,_0x3a766f,_0x3c2e7a,_0x148c34){return _0x151cc1(_0x37c7f6-_0x36e734._0xda16cf,_0x3a766f- -_0x36e734._0x36b71e,_0x3c2e7a,_0x148c34-0xe7);}return _0x26f00b===_0x552943(_0xcb9fea._0x4040ed,0x1dc,_0xcb9fea._0x47b99c,_0xcb9fea._0x23f600)?_0x552943(_0xcb9fea._0x51fd97,_0xcb9fea._0x186680,0x24e,_0xcb9fea._0x2a8f6c):_0x552943(_0xcb9fea._0x24fe81,0x393,_0xcb9fea._0x976406,0x304);}async function fetchJson(_0x5a942d,_0x28e8ce,_0x5eaf0d){const _0x4ac947={_0x168faa:0x280,_0x1394c3:0x1de,_0x27f28d:0xb9,_0x8199ac:0xa1,_0x262842:0xe4,_0x42ba6f:0x36,_0x2bbcab:0x28e,_0x312d67:0x113,_0x4824ff:0x108,_0x5da56d:0x2ad,_0x40fc30:0x292,_0x52cc9f:0x152,_0x190947:0x3b7,_0x21c251:0x11d,_0x1f8f7c:0x11e,_0x411734:0x1a2,_0xee8b56:0x207,_0x3852e0:0x115,_0x580d80:0x25d,_0x16bc47:0x247,_0x10e5fe:0x1ac,_0x3b99a1:0x5c,_0x103e1b:0x1d6},_0x459624={_0x5ed6aa:0xad,_0xdee24c:0x121},_0x4e62d3={_0x5b3ff7:0x17d,_0x290d66:0x4c};function _0x3651b1(_0x3a2270,_0x2518d8,_0x3204b3,_0x3a60b4){return _0x1ac42a(_0x3a2270-_0x4e62d3._0x5b3ff7,_0x2518d8-0xba,_0x2518d8- -_0x4e62d3._0x290d66,_0x3204b3);}const _0x555fc7=await fetch(_0x5a942d,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x6c9c0d(_0x4ac947._0x168faa,0x31e,0x132,_0x4ac947._0x1394c3),..._0x5eaf0d?.[_0x3651b1(0x263,_0x4ac947._0x27f28d,-_0x4ac947._0x8199ac,0x98)]},'signal':_0x28e8ce,..._0x5eaf0d});function _0x6c9c0d(_0x3c8593,_0x52163f,_0x149ff5,_0x41c95e){return _0x1ac42a(_0x3c8593-_0x459624._0x5ed6aa,_0x52163f-0xfc,_0x3c8593-_0x459624._0xdee24c,_0x52163f);}if(!_0x555fc7['ok']){let _0x3c5e3e,_0x5b51bf;try{_0x3c5e3e=await _0x555fc7[_0x6c9c0d(-_0x4ac947._0x262842,_0x4ac947._0x42ba6f,-0x34,-_0x4ac947._0x2bbcab)]();const _0x5608aa=JSON[_0x6c9c0d(_0x4ac947._0x312d67,0x245,_0x4ac947._0x4824ff,_0x4ac947._0x5da56d)](_0x3c5e3e),_0x281893=typeof _0x5608aa[_0x6c9c0d(_0x4ac947._0x40fc30,_0x4ac947._0x52cc9f,_0x4ac947._0x190947,0x125)]==='object'?_0x5608aa[_0x6c9c0d(_0x4ac947._0x40fc30,_0x4ac947._0x21c251,_0x4ac947._0x1f8f7c,0x36c)][_0x3651b1(0x148,0x35,-0x4b,-0x185)]:void 0x0;_0x5b51bf=_0x5608aa[_0x3651b1(0xbf,0x35,-0x175,-0x16)]?.['message']??_0x5608aa[_0x6c9c0d(_0x4ac947._0x411734,0x1c7,0xb6,_0x4ac947._0xee8b56)]?.['errors']?.[0x0]?.[_0x6c9c0d(0x232,0x1f5,0x10f,0x115)]??_0x281893;}catch{}const _0x36b714=_0x5b51bf?_0x3651b1(-0x36,-0xb7,-0xe4,-0xfc)+_0x555fc7['status']+':\x20'+_0x5b51bf:_0x3651b1(-0x275,-0xb7,_0x4ac947._0x3852e0,-0x60)+_0x555fc7['status']+'\x20'+_0x555fc7[_0x3651b1(-_0x4ac947._0x580d80,-_0x4ac947._0x16bc47,-0xd1,-0x207)];throw new ToolExecutionError(_0x36b714,{'statusCode':_0x555fc7[_0x6c9c0d(_0x4ac947._0x10e5fe,0x4d,0x128,0x159)],..._0x3c5e3e?{'body':_0x3c5e3e}:{}});}return await _0x555fc7[_0x6c9c0d(0xf7,_0x4ac947._0x3b99a1,_0x4ac947._0x103e1b,-0x77)]();}async function hydrateResults(_0x61747c,_0x2d0aee,_0x2ab361,_0x2426dc){const _0x224d83={_0x10f2c8:0x27,_0x5c79e1:0x11,_0x56eadb:0x187,_0x4b617a:0x27,_0xba841:0x146,_0x4930e4:0x160,_0xf6f68c:0x245,_0x51db64:0xbb,_0x21e730:0x137},_0x3d6ad2={_0x511dd4:0x17c},_0x1bb420={_0x555a92:0x168,_0x29f429:0x8},_0x5d4fcb={_0x358ac6:0x134,_0x2ce329:0x25c,_0x723c59:0x16e,_0xf479cd:0x189,_0x4abf7a:0x17d,_0x429e17:0x2f9,_0x1189b4:0x2,_0x228544:0x107,_0x19ce7a:0x16a,_0x5dd2d8:0x2a7,_0x951960:0x2aa,_0x34063c:0x356,_0x208ea2:0x2bc,_0x43335d:0x2de,_0x426545:0x30d,_0x523288:0x278,_0x40b4e7:0x224,_0x3f4c9e:0x6d,_0x383eb0:0x1ff,_0x524556:0x146,_0x101596:0x303,_0x158da6:0x4c2,_0xab28f9:0x2a0,_0x213114:0x101,_0x5135c0:0x1e9,_0x4f65a0:0x384,_0x498f3a:0x15d,_0xd2660a:0x27e,_0x4a3c25:0x2fc,_0x3684df:0x13b,_0x52c7c1:0x179,_0x36f132:0x164,_0x521a9d:0x95,_0x29c3e4:0x303,_0x273d45:0x299,_0x427a59:0x262,_0x55e1a5:0x32a,_0x5f4039:0x20c,_0x40ca04:0x454,_0x5d4199:0x1e9,_0x4635e1:0x3a9,_0x56feda:0x55,_0x5a2394:0x8e,_0x299eb1:0x119,_0x520883:0x2ba,_0x147963:0x67,_0x1b1816:0x3d5,_0x2ab67e:0x2f5,_0x412966:0xa2,_0x649ef9:0x27,_0x48d826:0x10e},_0x3a2c67={_0x48825b:0x183,_0x672580:0x10f},_0x3e7a55=await Promise[_0x10b9bb(_0x224d83._0x10f2c8,0xc0,0x149,-_0x224d83._0x5c79e1)](_0x61747c[_0x1935e3(-_0x224d83._0x56eadb,-_0x224d83._0x4b617a,_0x224d83._0xba841,_0x224d83._0x4930e4)](0x0,0xa)[_0x10b9bb(0x1d2,0x295,0x329,_0x224d83._0xf6f68c)](async _0x4a5b2d=>{const _0x435a60={_0x592ca0:0x208,_0x4745d2:0xac};function _0x1f3881(_0x12ae7f,_0x45c654,_0x4f4dd9,_0x90b40){return _0x1935e3(_0x90b40,_0x4f4dd9-_0x3a2c67._0x48825b,_0x4f4dd9-_0x3a2c67._0x672580,_0x90b40-0x1bb);}function _0x2316cf(_0x14a955,_0x17ab8b,_0x1f9d75,_0x4a72b5){return _0x1935e3(_0x17ab8b,_0x14a955-_0x435a60._0x592ca0,_0x1f9d75-_0x435a60._0x4745d2,_0x4a72b5-0x126);}try{const _0x5cc131=await safeFetch(_0x4a5b2d[_0x2316cf(_0x5d4fcb._0x358ac6,0x10a,0x1a5,_0x5d4fcb._0x2ce329)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x2d0aee,'Accept':_0x1f3881(_0x5d4fcb._0x723c59,_0x5d4fcb._0xf479cd,_0x5d4fcb._0x4abf7a,_0x5d4fcb._0x429e17)},'signal':_0x2ab361},{'lookup':_0x2426dc});if(!_0x5cc131['ok'])return _0x4a5b2d;const _0x459f7c=await _0x5cc131[_0x2316cf(-0x6,-_0x5d4fcb._0x1189b4,-_0x5d4fcb._0x228544,_0x5d4fcb._0x19ce7a)](),_0xa31846=load(_0x459f7c),_0x27a87e=_0xa31846(_0x2316cf(_0x5d4fcb._0x5dd2d8,0x284,_0x5d4fcb._0x951960,_0x5d4fcb._0x34063c))['attr'](_0x2316cf(0x303,_0x5d4fcb._0x208ea2,_0x5d4fcb._0x43335d,0x216))||_0xa31846(_0x2316cf(0x22a,0x3a6,_0x5d4fcb._0x426545,0x314))[_0x2316cf(0x344,_0x5d4fcb._0x523288,_0x5d4fcb._0x40b4e7,0x500)]()[_0x1f3881(-_0x5d4fcb._0x3f4c9e,-0x31,-0x8b,-0x1c2)]()['trim'](),_0x445568=_0xa31846(_0x2316cf(_0x5d4fcb._0x383eb0,0x27f,0x34d,0x3ae))[_0x1f3881(_0x5d4fcb._0x524556,0x22c,0x164,0x1c6)](_0x2316cf(_0x5d4fcb._0x101596,0x2ec,_0x5d4fcb._0x158da6,_0x5d4fcb._0xab28f9))||_0xa31846(_0x2316cf(0x27c,0x2ea,0x3a8,_0x5d4fcb._0x213114))[_0x2316cf(_0x5d4fcb._0x5135c0,_0x5d4fcb._0x4f65a0,0x1ea,0x3b0)](_0x1f3881(0x2e6,_0x5d4fcb._0x498f3a,_0x5d4fcb._0xd2660a,_0x5d4fcb._0x4a3c25))||_0x4a5b2d[_0x1f3881(0x187,-0x62,_0x5d4fcb._0x3684df,_0x5d4fcb._0x52c7c1)],_0x2797ae=_0xa31846('meta[property=\x27article:published_time\x27]')[_0x1f3881(0x2de,0x2ca,_0x5d4fcb._0x36f132,_0x5d4fcb._0x521a9d)](_0x2316cf(_0x5d4fcb._0x29c3e4,_0x5d4fcb._0x273d45,0x26f,_0x5d4fcb._0x427a59))||_0xa31846(_0x2316cf(_0x5d4fcb._0x55e1a5,0x4da,_0x5d4fcb._0x5f4039,_0x5d4fcb._0x40ca04))[_0x2316cf(_0x5d4fcb._0x5d4199,0x141,0x4b,0xb6)](_0x1f3881(_0x5d4fcb._0x4635e1,_0x5d4fcb._0x56feda,0x214,_0x5d4fcb._0x5a2394))||_0x4a5b2d[_0x2316cf(0x164,_0x5d4fcb._0x299eb1,_0x5d4fcb._0x520883,_0x5d4fcb._0x147963)],_0x2fa5b9=_0xa31846('link[rel=\x27canonical\x27]')['attr'](_0x1f3881(0x3c7,_0x5d4fcb._0x1b1816,_0x5d4fcb._0x2ab67e,0x244));return{..._0x4a5b2d,'title':_0x27a87e||_0x4a5b2d['title'],'snippet':_0x445568,'url':_0x2fa5b9?normalizeUrl(new URL(_0x2fa5b9,_0x4a5b2d[_0x1f3881(0xd0,_0x5d4fcb._0x412966,0xaf,0x1)])['toString']()):_0x4a5b2d[_0x2316cf(_0x5d4fcb._0x358ac6,0x25,-_0x5d4fcb._0x649ef9,_0x5d4fcb._0x48d826)],'publishedAt':_0x2797ae};}catch{return _0x4a5b2d;}}));function _0x10b9bb(_0x3283db,_0x2c920d,_0x41bc93,_0x180c9f){return _0x1ac42a(_0x3283db-_0x1bb420._0x555a92,_0x2c920d-_0x1bb420._0x29f429,_0x2c920d-0x1eb,_0x180c9f);}function _0x1935e3(_0x79ae8d,_0x5c9e21,_0xce6f0f,_0x3499bb){return _0x1ac42a(_0x79ae8d-0x16d,_0x5c9e21-_0x3d6ad2._0x511dd4,_0x5c9e21- -0x9,_0x79ae8d);}const _0x48c940=new Map(_0x61747c[_0x1935e3(_0x224d83._0x51db64,-_0x224d83._0x4b617a,0x6c,_0x224d83._0x21e730)](0x0,0xa)['map']((_0x4aa04d,_0x17d523)=>[_0x4aa04d[_0x10b9bb(0x1a1,0x120,0x152,0x2a0)],_0x3e7a55[_0x17d523]]));return _0x61747c['map'](_0x43d06e=>_0x48c940['get'](_0x43d06e[_0x10b9bb(-0x23,0x120,0x2aa,0x97)])??_0x43d06e);}function formatResults(_0x46d965){const _0x59c42c={_0x189bff:0x47e,_0x478b8a:0x6bb,_0x89df33:0x3fc,_0x58206c:0x6ab,_0x42d76f:0x4cf},_0x11c7e7={_0x5fa3d5:0x542,_0x4ae505:0x643,_0x2f9811:0x609,_0x2209fd:0x481,_0x9cab72:0x634,_0x10be65:0x5e4,_0xd2143c:0x59f,_0x8d6730:0x56d,_0x5010ed:0x653,_0x442d31:0x606,_0x40270a:0x5f5,_0x4f889b:0x6e1,_0x1ccc3c:0x4a4,_0x1a0f12:0x49a,_0x5a1cfb:0x729,_0x472d68:0x65f,_0xcd9a05:0x71a,_0x3b8b30:0x78a,_0x54b3b:0x6c2},_0x36bc17={_0x5cc752:0x1bb,_0x210f0e:0x10},_0xeb786b={_0x107ea0:0x193};function _0x5942b8(_0x499c9d,_0x1c8187,_0x552936,_0x591516){return _0x1ac42a(_0x499c9d-0xf6,_0x1c8187-0x14f,_0x552936-0x6bf,_0x591516);}function _0x1fc44(_0x37b4ea,_0x5eb957,_0x2c6fae,_0x21547f){return _0x151cc1(_0x37b4ea-0x189,_0x5eb957-_0xeb786b._0x107ea0,_0x2c6fae,_0x21547f-0xce);}if(_0x46d965[_0x1fc44(0x4c0,0x619,0x717,0x464)]===0x0)return _0x5942b8(_0x59c42c._0x189bff,_0x59c42c._0x478b8a,0x5a4,0x5ad);return _0x46d965[_0x1fc44(_0x59c42c._0x89df33,0x5ba,0x4bb,0x784)](_0x1ffd44=>{const _0x55939d={_0x2e27bf:0x1b,_0x1fe972:0xe1};function _0x1fd9d8(_0x3953c2,_0x14f630,_0x5525b9,_0x345648){return _0x5942b8(_0x3953c2-0x111,_0x14f630-_0x36bc17._0x5cc752,_0x345648- -_0x36bc17._0x210f0e,_0x14f630);}const _0x408489=[_0x1ffd44['source'][_0x1fd9d8(0x6e0,_0x11c7e7._0x5fa3d5,0x694,_0x11c7e7._0x4ae505)]+'.\x20'+_0x1ffd44[_0x47c0a5(_0x11c7e7._0x2f9811,_0x11c7e7._0x2209fd,_0x11c7e7._0x9cab72,0x56c)],_0x1ffd44[_0x1fd9d8(0x52b,0x47d,0x443,_0x11c7e7._0x10be65)]];if(_0x1ffd44[_0x1fd9d8(0x72a,0x580,0x67f,0x670)])_0x408489[_0x47c0a5(0x5f5,0x4d4,0x4ee,0x776)](_0x1ffd44[_0x47c0a5(_0x11c7e7._0xd2143c,_0x11c7e7._0x8d6730,0x4b9,_0x11c7e7._0x5010ed)]);function _0x47c0a5(_0x37b7fe,_0x5c5789,_0x4fe67c,_0x3f74){return _0x5942b8(_0x37b7fe-0x1d6,_0x5c5789-_0x55939d._0x2e27bf,_0x37b7fe- -_0x55939d._0x1fe972,_0x5c5789);}if(_0x1ffd44[_0x1fd9d8(0x5db,_0x11c7e7._0x442d31,0x785,0x614)])_0x408489[_0x47c0a5(_0x11c7e7._0x40270a,0x7b0,_0x11c7e7._0x4f889b,0x5ac)](_0x1fd9d8(_0x11c7e7._0x1ccc3c,_0x11c7e7._0x1a0f12,_0x11c7e7._0x5a1cfb,_0x11c7e7._0x472d68)+_0x1ffd44[_0x47c0a5(0x543,0x50d,0x6a9,0x455)]);return _0x408489[_0x47c0a5(_0x11c7e7._0xcd9a05,_0x11c7e7._0x3b8b30,0x645,_0x11c7e7._0x54b3b)]('\x0a');})[_0x1fc44(0x7a9,0x64c,_0x59c42c._0x58206c,_0x59c42c._0x42d76f)]('\x0a\x0a');}async function searchOllama(_0x5f3d77,_0x13e4c3,_0x436eab){const _0x3b0fdb={_0x359653:0x71,_0xe61f33:0xb9,_0x519852:0xcc,_0x30533b:0x80,_0xdf9fc1:0x12,_0x406cba:0x2b,_0x49586a:0x18a,_0x1d00d8:0xa4,_0x3f07f9:0x2f7,_0x3f2091:0x7c1,_0x4a10a4:0x6f3},_0x8ec4e4={_0x1ebe3f:0x1cd,_0x6d069a:0x6cf},_0x38f50a={_0x221690:0x533,_0x25c37f:0x258,_0x5a1f19:0x255,_0x3050c5:0x283,_0x327b06:0x530,_0x2e203d:0x5c1},_0x2fe967={_0x2e5f0f:0x34,_0x65004:0x58},_0xaf9866={_0x339c3b:0x1a0},_0x84bb6a={_0x4511dc:0x10c},_0x1b1f44=Math['max'](0x1,Math['min'](0xa,_0x13e4c3['count']));function _0x23c401(_0x3dd20f,_0x2b625b,_0x3b4d93,_0x46fda9){return _0x151cc1(_0x3dd20f-0x16,_0x3dd20f- -0x1bb,_0x46fda9,_0x46fda9-_0x84bb6a._0x4511dc);}const _0xdfe2e0=addSiteFilters(_0x13e4c3['query'],_0x13e4c3[_0x559e3e(0x760,0x854,0x710,0x847)]),_0x250cba=await fetchJson(_0x23c401(_0x3b0fdb._0x359653,-_0x3b0fdb._0xe61f33,0xf1,_0x3b0fdb._0x519852),_0x436eab,{'method':'POST','headers':{'Authorization':_0x559e3e(0x30e,0x384,0x4c2,0x4ab)+_0x5f3d77['apiKey']},'body':JSON[_0x23c401(0xb9,-0x2a,-_0x3b0fdb._0x30533b,-_0x3b0fdb._0xdf9fc1)]({'query':_0xdfe2e0,'max_results':_0x1b1f44})}),_0x3f59c0=_0x250cba[_0x23c401(-_0x3b0fdb._0x406cba,-0x3f,-_0x3b0fdb._0x49586a,-_0x3b0fdb._0x1d00d8)]??[],_0x14b824=_0x3f59c0[_0x23c401(0x26c,0x227,_0x3b0fdb._0x3f07f9,0x17a)]((_0x1f0ad6,_0xa359b6)=>{function _0x152f99(_0x2c655e,_0x2159a5,_0x3f0f23,_0xecadd4){return _0x559e3e(_0x2c655e-0x1d3,_0x2159a5-_0xaf9866._0x339c3b,_0xecadd4- -0x51f,_0x2159a5);}function _0x548881(_0x4ac4a1,_0x3fce76,_0x122a2c,_0x34ba77){return _0x23c401(_0x122a2c-0x34a,_0x3fce76-_0x2fe967._0x2e5f0f,_0x122a2c-_0x2fe967._0x65004,_0x3fce76);}const _0x3f4356=_0x1f0ad6[_0x548881(_0x38f50a._0x221690,0x5e1,0x441,0x3e4)]||'';let _0x3d7c90;try{_0x3d7c90=new URL(_0x3f4356)[_0x548881(0x25f,0x3ec,0x36c,_0x38f50a._0x25c37f)];}catch{_0x3d7c90=null;}return{'title':_0x1f0ad6['title']||'Untitled','url':normalizeUrl(_0x3f4356),'snippet':_0x1f0ad6[_0x152f99(_0x38f50a._0x5a1f19,0x3b2,_0x38f50a._0x3050c5,0x2b4)]??null,'displayUrl':_0x3d7c90,'favicon':null,'publishedAt':null,'source':{'engine':_0x548881(0x5fd,0x4dc,_0x38f50a._0x327b06,_0x38f50a._0x2e203d),'rank':_0xa359b6+0x1}};});function _0x559e3e(_0x18b86a,_0x1e0c7a,_0x3d9069,_0x58cc4a){return _0x1ac42a(_0x18b86a-_0x8ec4e4._0x1ebe3f,_0x1e0c7a-0x174,_0x3d9069-_0x8ec4e4._0x6d069a,_0x58cc4a);}return{'items':_0x14b824['slice'](0x0,_0x1b1f44),'engine':_0x559e3e(0x63b,_0x3b0fdb._0x3f2091,_0x3b0fdb._0x4a10a4,0x686)};}async function searchTavily(_0x464385,_0xd02f7e,_0x541a32){const _0xd10c97={_0x272744:0x648,_0x4a29eb:0x58f,_0x4fd22a:0x6d4,_0x48ced2:0x426,_0x51714a:0xe9,_0x54a2c0:0x1bc,_0x1ef46c:0x33d,_0x506f05:0x62e,_0x10db00:0x151,_0x45ec6b:0x20b,_0x4171bf:0x273,_0x181751:0xe3,_0x3fc588:0x293,_0x35120c:0x2c6,_0x48604a:0x253,_0x5d19a5:0x11,_0x180888:0x5e7,_0x3820a4:0x5e5,_0x3ed8a9:0x611},_0x52f86c={_0x496234:0x133,_0x203d0b:0x28b,_0x22ab33:0x1be,_0x18274c:0x486,_0x2d6fa6:0x254,_0x1e05dd:0x353},_0x38d03b={_0x4e429b:0x1c0,_0x2e7d32:0xf6},_0x51edd4={_0x5ac85c:0x1e9},_0x4c2a0e=Math[_0x7d7ebc(0x696,0x793,0x7b0,0x5d5)](0x1,Math[_0x7d7ebc(0x663,0x689,0x5cc,0x6aa)](0x14,_0xd02f7e[_0x7d7ebc(_0xd10c97._0x272744,0x679,_0xd10c97._0x4a29eb,_0xd10c97._0x4fd22a)])),_0x2bca17={'query':_0xd02f7e['query'],'max_results':_0x4c2a0e,'search_depth':_0x464385[_0x7d7ebc(_0xd10c97._0x48ced2,0x5ad,0x504,0x451)]??_0xc62f33(_0xd10c97._0x51714a,0xfe,-0x49,0xcd),'topic':_0x464385['topic']??'general'};function _0x7d7ebc(_0x183ce4,_0x1fcddb,_0x501545,_0x4990d1){return _0x1ac42a(_0x183ce4-_0x51edd4._0x5ac85c,_0x1fcddb-0x4b,_0x183ce4-0x605,_0x4990d1);}if(_0xd02f7e[_0xc62f33(-0x131,-0x1ce,-0x1af,-0x25)][_0xc62f33(-0x3,_0xd10c97._0x54a2c0,0xaa,0xa3)]>0x0)_0x2bca17[_0x7d7ebc(0x4e4,_0xd10c97._0x1ef46c,0x699,_0xd10c97._0x506f05)]=_0xd02f7e['domains'];const _0x35eaba=await fetchJson('https://api.tavily.com/search',_0x541a32,{'method':_0xc62f33(-_0xd10c97._0x10db00,0x5c,0x37,-0x117),'headers':{'Authorization':_0xc62f33(-0x406,-0x3f4,-_0xd10c97._0x45ec6b,-_0xd10c97._0x4171bf)+_0x464385[_0xc62f33(-0x1b4,_0xd10c97._0x181751,0x157,-0x5d)],'Content-Type':'application/json'},'body':JSON['stringify'](_0x2bca17)}),_0x56c822=_0x35eaba[_0xc62f33(-0x388,-_0xd10c97._0x3fc588,-_0xd10c97._0x35120c,-_0xd10c97._0x48604a)]??[];function _0xc62f33(_0x47d6ea,_0x9e7785,_0x2649a0,_0x2c5784){return _0x1ac42a(_0x47d6ea-_0x38d03b._0x4e429b,_0x9e7785-_0x38d03b._0x2e7d32,_0x2c5784- -0x66,_0x2649a0);}const _0x2e0d1a=_0x56c822[_0xc62f33(-_0xd10c97._0x5d19a5,0x92,0x11b,0x44)]((_0xe3f878,_0x3454a8)=>{const _0x459e5b={_0x2d73f9:0x407},_0x464d41=_0xe3f878[_0x5aff8e(0x219,_0x52f86c._0x496234,0x23f,0x1ca)]||'';let _0x182cb7;function _0x32983f(_0x4c3b06,_0xe9b82b,_0x536a05,_0x4b8633){return _0xc62f33(_0x4c3b06-0x1a9,_0xe9b82b-0x3b,_0x536a05,_0x4c3b06-0x45b);}try{_0x182cb7=new URL(_0x464d41)['host'];}catch{_0x182cb7=null;}function _0x5aff8e(_0x174933,_0x30c5c3,_0x13f1a5,_0x245cd1){return _0x7d7ebc(_0x30c5c3- -_0x459e5b._0x2d73f9,_0x30c5c3-0xb,_0x13f1a5-0x4f,_0x13f1a5);}return{'title':_0xe3f878[_0x5aff8e(_0x52f86c._0x203d0b,0x229,_0x52f86c._0x22ab33,0x316)]||'Untitled','url':normalizeUrl(_0x464d41),'snippet':_0xe3f878[_0x32983f(0x4f9,0x3f2,_0x52f86c._0x18274c,0x5d6)]??null,'displayUrl':_0x182cb7,'favicon':null,'publishedAt':null,'source':{'engine':_0x32983f(_0x52f86c._0x2d6fa6,0x407,0x2d4,_0x52f86c._0x1e05dd),'rank':_0x3454a8+0x1}};});return{'items':_0x2e0d1a[_0x7d7ebc(_0xd10c97._0x180888,_0xd10c97._0x3820a4,0x5a1,_0xd10c97._0x3ed8a9)](0x0,_0x4c2a0e),'engine':_0x7d7ebc(0x464,0x518,0x2de,0x50f)};}async function searchGoogleCse(_0x485f2c,_0x36ca9e,_0x4297a8){const _0x5234c6={_0x165f05:0x233,_0xf1a1e0:0x211,_0x407974:0x4c0,_0x5da28e:0x310,_0x3a32a8:0x407,_0x5aa022:0x40a,_0x4890b3:0x75,_0x1bd722:0xa4,_0x1bc72c:0xb8,_0x4f8aa4:0x139,_0x3c4f27:0x2e,_0x519db9:0x18e,_0x4f9955:0x168,_0x1ad4bb:0x119,_0x2926f0:0x23,_0x49e1a3:0x499,_0xc88a6f:0x188,_0x3d1abc:0x156,_0x3e29de:0x77,_0xc1966b:0x1bd,_0x3f8caf:0xe3,_0xd40c7d:0xbb,_0x2bc78a:0x11e,_0x5b093f:0x3d1,_0x47c6cb:0x1e4,_0x460024:0x2b2,_0x48dfe1:0x3b3,_0xf051a2:0x1c3,_0x5d4573:0x54,_0x341b2a:0x563,_0x27ef88:0x2e4,_0x3839b3:0xcc,_0x3c37a2:0xb8,_0x1ae06f:0x172,_0x380722:0x1d6,_0x5cc75b:0x9,_0x41d849:0x35,_0x2d444f:0x1bc,_0x255a63:0x2b7,_0x47db3f:0xda,_0x22666a:0x2d0,_0x497dd7:0x157,_0x24b6aa:0x203,_0x16401b:0x448,_0x4aad95:0x1ae,_0x369563:0x2e9,_0x581ac5:0x9b,_0x15d04d:0x11d,_0x4335ff:0x425,_0x2c3e47:0x144,_0x14f0b1:0x1bc,_0x110f4b:0x124,_0x5e3bd0:0x14d,_0x3223c3:0x52,_0x34655e:0x1bc,_0x42c1af:0x1f4,_0x655ee7:0xb6,_0x46478d:0xb6,_0x1cca21:0x1ed,_0x4149c7:0x38a,_0x1ee873:0xfa,_0x3104fd:0x2a3,_0x401762:0xe2,_0x42f14d:0xe1,_0x5a485e:0x154,_0x26cc21:0x1a5,_0x1f85be:0x231,_0x4ade7c:0x26d,_0x91b20d:0x3d,_0x44828d:0x162,_0x1ce7c2:0x34d,_0x565335:0xe5,_0x436476:0x223,_0x1bb811:0x2b3,_0x37ac85:0x299,_0x4a91d9:0x1ae,_0x5974b4:0x298,_0x47d2cb:0x123,_0x37d9ef:0x27b,_0x1071a2:0x12b,_0x338a0e:0x171,_0x529880:0x3a,_0x12550e:0x264,_0x41958f:0x1ae,_0x466909:0x127,_0x25abfc:0x22e,_0x53b5f2:0x498,_0x3f2545:0x1eb,_0x15c977:0x450,_0x466fdb:0x1e7,_0x453100:0xb1,_0x33750c:0xbc,_0x189215:0x1b,_0x18e6ff:0x2a,_0x4fffe6:0x151,_0x59645a:0xf,_0x563638:0x51,_0x501909:0xc5,_0x3a58b0:0x471,_0xe46bb0:0x205,_0x4d3499:0x392,_0x44d445:0x28e,_0x16a066:0x200,_0x2ba8b5:0x2ea,_0x529a30:0x4ac,_0x10b4ed:0x48a,_0x50f87b:0x1cd,_0x32c8fa:0x8d,_0x11a1a7:0x241,_0x2cf937:0x129,_0x35790c:0x3,_0x3919ca:0x337,_0x257b5a:0x4f3,_0x4b87e9:0x461,_0x171474:0x24d,_0x57761d:0x196,_0x9938cb:0x410,_0x291915:0x1bf,_0xdb8f10:0x106,_0x27c986:0x17,_0x3c9f43:0xa1,_0x4e29b0:0xf2,_0x4a8f29:0x50,_0x1fb8e6:0x118,_0x293ac2:0x2c2,_0x1362d4:0x42e,_0x595a57:0x272,_0x5d347f:0x60,_0x4c0f27:0x554,_0xefa12c:0x2cc,_0x367d1c:0x292,_0x5a6ae0:0x51,_0x1afbf9:0x21b,_0x263bfd:0x125,_0x240469:0x2ef,_0x27acf6:0x294,_0x2047ef:0xdd},_0x2538aa={_0x3f0115:0xcc,_0x3d4a63:0xcb,_0x44d7c5:0x2},_0x4ad6e9=Math[_0x464d6e(0x207,0x343,_0x5234c6._0x165f05,_0x5234c6._0xf1a1e0)](0x1,Math[_0x464d6e(_0x5234c6._0x407974,_0x5234c6._0x5da28e,_0x5234c6._0x3a32a8,_0x5234c6._0x5aa022)](0x32,_0x36ca9e[_0x3de9e4(-_0x5234c6._0x4890b3,-0x10,0x45,0xa5)]));if(_0x36ca9e[_0x3de9e4(_0x5234c6._0x1bd722,_0x5234c6._0x1bc72c,_0x5234c6._0x4f8aa4,_0x5234c6._0x3c4f27)]+_0x4ad6e9>0x64)throw new ToolExecutionError(_0x3de9e4(-_0x5234c6._0x519db9,-_0x5234c6._0x4f9955,-0x1be,-0x30e),{'offset':_0x36ca9e[_0x3de9e4(0xa4,-_0x5234c6._0x1ad4bb,0x11a,_0x5234c6._0x2926f0)],'count':_0x4ad6e9,'maxResults':0x64});const _0x484b87=cseDateRestrict(_0x36ca9e[_0x464d6e(_0x5234c6._0x49e1a3,0x2ff,_0x5234c6._0xc88a6f,_0x5234c6._0x3d1abc)]);function _0x464d6e(_0x4512f3,_0x5c4da1,_0x588f10,_0x41baa8){return _0x151cc1(_0x4512f3-_0x2538aa._0x3f0115,_0x5c4da1- -_0x2538aa._0x3d4a63,_0x588f10,_0x41baa8-_0x2538aa._0x44d7c5);}const _0x7955ed=addSiteFilters(_0x36ca9e[_0x3de9e4(0x28,-0x3c,0x11b,0x1ce)],_0x36ca9e[_0x3de9e4(-_0x5234c6._0x3e29de,-_0x5234c6._0xc1966b,_0x5234c6._0x3f8caf,_0x5234c6._0xd40c7d)]);function _0x3de9e4(_0x5278f4,_0xdc481c,_0x2a5049,_0x3de4dc){return _0x1ac42a(_0x5278f4-0xd0,_0xdc481c-0x18b,_0x5278f4- -0xb8,_0x3de4dc);}let _0x10d31e=0x0,_0x357a4d=_0x36ca9e['offset']+0x1;const _0x50c979=[];while(_0x10d31e<_0x4ad6e9){const _0x317e4e=Math[_0x3de9e4(-0x5a,-0x11c,_0x5234c6._0x2bc78a,-0x128)](0xa,_0x4ad6e9-_0x10d31e),_0x403c47=new URL(_0x464d6e(_0x5234c6._0x5b093f,0x396,0x3e2,_0x5234c6._0x47c6cb));_0x403c47[_0x3de9e4(-_0x5234c6._0x460024,-0x468,-0x42e,-_0x5234c6._0x48dfe1)][_0x464d6e(0x2a6,0x1ae,0x33d,0xe1)](_0x3de9e4(-_0x5234c6._0xf051a2,-0x102,-_0x5234c6._0x5d4573,-0x2a),_0x485f2c[_0x464d6e(_0x5234c6._0x341b2a,0x404,0x3e3,_0x5234c6._0x27ef88)]),_0x403c47[_0x464d6e(-_0x5234c6._0x3839b3,_0x5234c6._0x3c37a2,-0x29,_0x5234c6._0x1ae06f)][_0x3de9e4(-0x1bc,-0x232,-0x2cf,-_0x5234c6._0x380722)]('cx',_0x485f2c['googleCseCx']),_0x403c47[_0x464d6e(0x1ca,0xb8,_0x5234c6._0x5cc75b,-_0x5234c6._0x41d849)][_0x3de9e4(-_0x5234c6._0x2d444f,-_0x5234c6._0x255a63,-_0x5234c6._0x47db3f,-_0x5234c6._0x22666a)]('q',_0x7955ed),_0x403c47[_0x3de9e4(-_0x5234c6._0x460024,-_0x5234c6._0x497dd7,-_0x5234c6._0x24b6aa,-_0x5234c6._0x16401b)][_0x464d6e(0x1cf,_0x5234c6._0x4aad95,_0x5234c6._0x369563,_0x5234c6._0x581ac5)](_0x3de9e4(-0x72,0x56,-_0x5234c6._0x15d04d,-0x59),String(_0x317e4e)),_0x403c47[_0x3de9e4(-_0x5234c6._0x460024,-_0x5234c6._0x4335ff,-0x146,-_0x5234c6._0x2c3e47)][_0x3de9e4(-_0x5234c6._0x14f0b1,-_0x5234c6._0x110f4b,-_0x5234c6._0x5e3bd0,-0xec)](_0x464d6e(0x103,0x15f,-_0x5234c6._0x3223c3,0x1cc),String(_0x357a4d)),_0x403c47['searchParams'][_0x3de9e4(-_0x5234c6._0x34655e,-0x1aa,-_0x5234c6._0x42c1af,-0x18e)](_0x3de9e4(_0x5234c6._0x655ee7,0xd8,0x183,0xe8),_0x36ca9e[_0x3de9e4(_0x5234c6._0x46478d,0xc4,-0x8,0x7e)]?_0x464d6e(0x37,_0x5234c6._0x1cca21,_0x5234c6._0x4149c7,0x29b):_0x464d6e(0x14f,_0x5234c6._0x1ee873,-0xc5,_0x5234c6._0x3104fd));_0x36ca9e[_0x3de9e4(-0x219,-_0x5234c6._0x401762,-_0x5234c6._0x42f14d,-_0x5234c6._0x5a485e)]&&(_0x403c47[_0x3de9e4(-0x2b2,-0x20d,-0x1a6,-0xe5)][_0x3de9e4(-0x1bc,-_0x5234c6._0x26cc21,-0x31a,-_0x5234c6._0x1f85be)]('hl',_0x36ca9e[_0x464d6e(-0x5d,0x151,0x2a8,_0x5234c6._0x4ade7c)]),_0x403c47['searchParams'][_0x464d6e(0x13a,0x1ae,0x18f,0x15)]('lr',_0x3de9e4(_0x5234c6._0x91b20d,0x4d,0x81,_0x5234c6._0x44828d)+_0x36ca9e[_0x3de9e4(-0x219,-0x209,-_0x5234c6._0x1ce7c2,-0x9f)]));if(_0x36ca9e[_0x464d6e(0x206,_0x5234c6._0x565335,_0x5234c6._0x436476,_0x5234c6._0x1bb811)])_0x403c47['searchParams'][_0x464d6e(_0x5234c6._0x37ac85,0x1ae,_0x5234c6._0x4a91d9,0x9b)]('gl',_0x36ca9e[_0x464d6e(_0x5234c6._0x5974b4,_0x5234c6._0x565335,_0x5234c6._0x47d2cb,0xd0)][_0x3de9e4(-0x1ed,-0x30f,-0x38f,-_0x5234c6._0x37d9ef)]());if(_0x36ca9e[_0x3de9e4(0x31,-0x142,_0x5234c6._0x1071a2,0x58)]===_0x464d6e(0x53,_0x5234c6._0x338a0e,0x2b6,_0x5234c6._0x529880))_0x403c47[_0x3de9e4(-0x2b2,-0x27c,-0x414,-0x312)][_0x464d6e(_0x5234c6._0x12550e,_0x5234c6._0x41958f,0x119,_0x5234c6._0x4f8aa4)](_0x464d6e(_0x5234c6._0x466909,_0x5234c6._0x25abfc,0x134,0x3c7),_0x464d6e(0x252,0x2ea,_0x5234c6._0x53b5f2,_0x5234c6._0x3f2545));if(_0x484b87)_0x403c47[_0x3de9e4(-_0x5234c6._0x460024,-_0x5234c6._0x15c977,-_0x5234c6._0x466fdb,-0x244)][_0x3de9e4(-0x1bc,-0x233,-_0x5234c6._0x453100,-0xaf)](_0x3de9e4(_0x5234c6._0x33750c,-0xe,-_0x5234c6._0x189215,0x158),_0x484b87);const _0x5a3ed0=await fetchJson(_0x403c47['toString'](),_0x4297a8),_0x3c7827=_0x5a3ed0[_0x3de9e4(_0x5234c6._0x18e6ff,-_0x5234c6._0x4fffe6,-0x3b,-_0x5234c6._0x59645a)]??[];if(_0x3c7827[_0x3de9e4(_0x5234c6._0x563638,-_0x5234c6._0x501909,-0x138,-0x120)]===0x0)break;const _0x352f76=_0x10d31e;for(let _0x333b2d=0x0;_0x333b2d<_0x3c7827[_0x464d6e(0x51a,0x3bb,0x304,_0x5234c6._0x3a58b0)];_0x333b2d++){const _0x3a3ba6=_0x3c7827[_0x333b2d];if(!_0x3a3ba6)continue;const _0x35d6ac=_0x3a3ba6[_0x3de9e4(-_0x5234c6._0xe46bb0,-_0x5234c6._0x4d3499,-_0x5234c6._0x44d445,-0x1db)]||_0x3a3ba6[_0x464d6e(_0x5234c6._0x16a066,_0x5234c6._0x2ba8b5,_0x5234c6._0x529a30,_0x5234c6._0x10b4ed)]?.[_0x464d6e(0x2be,_0x5234c6._0x50f87b,0x2d4,0x245)]||'',_0x4899be=_0x3a3ba6[_0x3de9e4(-_0x5234c6._0x32c8fa,_0x5234c6._0x1ad4bb,-_0x5234c6._0x11a1a7,_0x5234c6._0x2cf937)]||_0x3a3ba6[_0x3de9e4(-0x80,_0x5234c6._0x35790c,0x42,0x26)]?.['title']||_0x464d6e(0x418,_0x5234c6._0x3919ca,_0x5234c6._0x257b5a,_0x5234c6._0x4b87e9),_0x37aff9=_0x3a3ba6['snippet']||_0x3a3ba6[_0x3de9e4(-_0x5234c6._0x171474,-_0x5234c6._0x47db3f,-_0x5234c6._0x57761d,-_0x5234c6._0x9938cb)]?.[_0x464d6e(_0x5234c6._0x291915,_0x5234c6._0xdb8f10,0x2c2,_0x5234c6._0x27c986)](/<[^>]+>/g,''),_0x139cfa=_0x3a3ba6['pagemap']?.['metatags']?.[0x0]??{};let _0x59fe7d;try{_0x59fe7d=new URL(_0x35d6ac)['host'];}catch{_0x59fe7d=null;}_0x50c979[_0x3de9e4(-_0x5234c6._0x3c9f43,0x4f,-_0x5234c6._0x4e29b0,-_0x5234c6._0x4a8f29)]({'title':_0x4899be,'url':normalizeUrl(_0x35d6ac),'snippet':_0x37aff9??null,'displayUrl':_0x59fe7d,'favicon':null,'publishedAt':_0x139cfa[_0x464d6e(0xb8,0xfc,0x1c9,_0x5234c6._0x1fb8e6)]||_0x139cfa[_0x464d6e(0x12f,_0x5234c6._0x293ac2,_0x5234c6._0x1362d4,_0x5234c6._0x595a57)]||null,'source':{'engine':_0x464d6e(0x284,0x143,0xd9,-_0x5234c6._0x5d347f),'rank':_0x352f76+_0x333b2d+0x1}});}_0x10d31e+=_0x3c7827[_0x464d6e(_0x5234c6._0x4c0f27,0x3bb,_0x5234c6._0xefa12c,_0x5234c6._0x367d1c)],_0x357a4d+=_0x3c7827['length'];if(_0x3c7827[_0x3de9e4(_0x5234c6._0x5a6ae0,_0x5234c6._0x1afbf9,0x150,_0x5234c6._0x263bfd)]<_0x317e4e)break;}return _0x50c979[_0x464d6e(_0x5234c6._0x240469,_0x5234c6._0x27acf6,_0x5234c6._0x2047ef,0x183)](0x0,_0x4ad6e9);}function isGoogleCseEngine(_0x2ac33e){const _0x44a099={_0x18ad53:0x443,_0x273146:0x6f8,_0x4db349:0x622},_0x7828c1={_0x26e162:0x97,_0x4ef3cb:0x9e};function _0xfc3c54(_0xc8ad4b,_0x2d1cd9,_0xf0d365,_0xab1c18){return _0x1ac42a(_0xc8ad4b-_0x7828c1._0x26e162,_0x2d1cd9-_0x7828c1._0x4ef3cb,_0xab1c18-0x44e,_0xf0d365);}return _0xfc3c54(_0x44a099._0x18ad53,_0x44a099._0x273146,_0x44a099._0x4db349,0x5a0)in _0x2ac33e;}function isOllamaEngine(_0x526897){const _0x55dbf7={_0x12f9a1:0x6d3,_0x23aef8:0x66d},_0x28b58f={_0x3ece6b:0x1be,_0xff8c13:0x205,_0x3309c6:0x61};function _0x480b76(_0x250d2f,_0x286b3a,_0x52c503,_0x4d2619){return _0x151cc1(_0x250d2f-_0x28b58f._0x3ece6b,_0x52c503-_0x28b58f._0xff8c13,_0x250d2f,_0x4d2619-_0x28b58f._0x3309c6);}return _0x480b76(0x846,0x550,_0x55dbf7._0x12f9a1,_0x55dbf7._0x23aef8)in _0x526897;}function isTavilyEngine(_0x46cebf){const _0x4f2b6f={_0x25e7d8:0x12a},_0x372c48={_0x5c7b7f:0x35};function _0x5c7829(_0x42603b,_0x27a7c6,_0xfc9f33,_0x1cde97){return _0x1ac42a(_0x42603b-0x1e2,_0x27a7c6-0x4b,_0x1cde97- -_0x372c48._0x5c7b7f,_0x27a7c6);}return _0x5c7829(-_0x4f2b6f._0x25e7d8,-0xae,0x186,-0x2c)in _0x46cebf;}function createWebSearchTool(_0xb1e85){const _0x50b884={_0x1c7e87:0x357,_0x2c7a1c:0x152,_0x25e4f6:0x43e,_0x107a91:0x2c1,_0x4d22d6:0x6eb,_0x4a63bd:0x608,_0x52260a:0x42a,_0x5a3c08:0x53d,_0x4ad544:0x276,_0xa18035:0x265,_0x5b7b78:0x90a,_0x16e95e:0x635,_0x384bfd:0x712,_0x5538e7:0x746,_0x272142:0x305,_0x3c8086:0x497,_0x14d43a:0x50d,_0x17248a:0x162,_0x435047:0x232,_0x2fa108:0x2b8,_0x26cc5c:0x2ee,_0x22de27:0x171,_0x1c578e:0x1cf,_0x42e03f:0xf,_0x5d6e73:0x492,_0x2ef13b:0x1b3,_0x54f161:0xed,_0x5412cb:0x5e2,_0x39f966:0x1bd,_0x3fd6fb:0x119,_0x152f86:0x19d,_0x2db772:0x1f9,_0x32dc3c:0x135,_0x1ddd2b:0x128,_0x54a09a:0x6f7,_0x3cb8ae:0x739},_0x1f7d05={_0x4cf50f:0x51f,_0x50e0d9:0x9b,_0x354322:0x43,_0x398c94:0x4e,_0x26e09b:0x66e,_0x544c80:0x748,_0x409122:0x6d2,_0x138b09:0x569,_0x5a6121:0x3cb,_0x13b02e:0x4cd,_0x41b424:0x408,_0x4227e5:0x63a,_0xd5f77f:0x514,_0x345c37:0x4a2,_0x413a17:0x4fc,_0x2db083:0x580,_0x50b001:0x61d,_0x42aa93:0x67c,_0x4c4fa9:0x677,_0x3b1ea3:0x72f,_0x23c0f9:0x73c,_0x361340:0x75f,_0x21e4c0:0xb0,_0x2b96fa:0x100,_0x1277b5:0x71,_0x257a92:0x20,_0x282dd3:0x195,_0x21c4a5:0xa5,_0x56ca97:0xf4,_0x2c5c31:0x105,_0x3536a8:0x606,_0xca2896:0x3aa,_0x3c9765:0x33b,_0x5267c9:0x277,_0x1e724f:0x3fb,_0x57a68a:0x1d9,_0xffc1c3:0x404,_0x22a224:0x75,_0x38b77c:0x1f,_0x5e92dd:0x5ca,_0x46d50e:0x322,_0x2c5a10:0x34a,_0x1937d5:0x100,_0x1f9229:0x1f9,_0x455a40:0x45,_0x339a01:0x6f9,_0x4c77ce:0x7a2,_0x438b34:0x99,_0x259e66:0xfc,_0x31a7a6:0x6a,_0x149c13:0x129,_0xd9c06c:0x1e7,_0x2d2e8f:0xaf,_0x25a8bd:0xea,_0xc1465f:0x9c,_0x24e585:0x1ca,_0x40d0e6:0x2dd,_0x2f5850:0x22a,_0x466289:0x78d,_0x3ebd9e:0x1a,_0x5a0010:0x135,_0x182f93:0x5d2,_0x59467d:0x169,_0x201392:0x128,_0x50f27d:0x517,_0xbea3f0:0x5b9,_0x403048:0x648,_0x28c6ef:0x468,_0x17ee96:0x45a,_0x376574:0x36b,_0x4e8d36:0x38f,_0x485fe7:0x6d,_0x391b9e:0x23b,_0x3cf6ab:0x18c,_0x5efc5c:0x121,_0x2b8d11:0x263,_0x49123f:0x1e3,_0x46ed0a:0x73,_0x578084:0x15a,_0x20bcf6:0x36,_0x179813:0x25a,_0x5301a2:0x55e,_0x1ae3f9:0x398,_0x3164e9:0x52b,_0x205dbf:0x129},_0x47b9e6={_0x134f46:0xc5,_0x34f121:0x3ef},_0x2054ae={_0x365f71:0x1c0},_0x1fc220={_0x5ae204:0x1d1};if(!_0xb1e85[_0x272dc1(0x1dd,_0x50b884._0x1c7e87,0x315,0x3ce)]||_0xb1e85[_0x272dc1(0x1e7,_0x50b884._0x2c7a1c,0x315,_0x50b884._0x25e4f6)]['length']===0x0)throw new Error(_0x272dc1(0x1f7,0x26,0x113,_0x50b884._0x107a91));const _0x3587bb=_0xb1e85[_0x1ac0f7(0x6a1,0x666,0x613,_0x50b884._0x4d22d6)]??_0x1ac0f7(_0x50b884._0x4a63bd,_0x50b884._0x52260a,0x5d8,_0x50b884._0x5a3c08);function _0x272dc1(_0x179611,_0x23df96,_0x3ec38e,_0x442587){return _0x151cc1(_0x179611-0x1d3,_0x3ec38e- -_0x1fc220._0x5ae204,_0x179611,_0x442587-0x59);}function _0x1ac0f7(_0x523c22,_0x259ce3,_0x5dc863,_0x1362fc){return _0x151cc1(_0x523c22-_0x2054ae._0x365f71,_0x1362fc-0x2dc,_0x259ce3,_0x1362fc-0x2b);}const _0x94b7e6=_0xb1e85[_0x272dc1(0x2a6,_0x50b884._0x4ad544,_0x50b884._0xa18035,0x23f)];return defineTool({'name':_0x3587bb,'permissionClass':_0x1ac0f7(_0x50b884._0x5b7b78,_0x50b884._0x16e95e,_0x50b884._0x384bfd,_0x50b884._0x5538e7),'description':'Search\x20the\x20web\x20and\x20return\x20ranked\x20results.','inputSchema':{'type':_0x1ac0f7(_0x50b884._0x272142,_0x50b884._0x3c8086,_0x50b884._0x14d43a,0x445),'properties':{'description':{'type':'string'},'query':{'type':_0x272dc1(-_0x50b884._0x17248a,0x15,-0x1b,0xe7)},'count':{'type':_0x272dc1(_0x50b884._0x435047,_0x50b884._0x2fa108,_0x50b884._0x26cc5c,_0x50b884._0x22de27)},'offset':{'type':_0x272dc1(0x419,0x1eb,0x2ee,_0x50b884._0x1c578e)},'domains':{'type':'array','items':{'type':_0x272dc1(-0xa1,-0x123,-0x1b,-_0x50b884._0x42e03f)}},'recencyDays':{'type':'number'},'lang':{'type':_0x1ac0f7(0x523,0x320,0x432,_0x50b884._0x5d6e73)},'region':{'type':_0x272dc1(_0x50b884._0x2ef13b,-0x20,-0x1b,_0x50b884._0x54f161)},'safe':{'type':_0x1ac0f7(0x605,0x5f4,0x555,_0x50b884._0x5412cb)},'type':{'type':_0x272dc1(0xd7,-_0x50b884._0x39f966,-0x1b,-_0x50b884._0x3fd6fb)},'hydrateMeta':{'type':_0x272dc1(_0x50b884._0x152f86,_0x50b884._0x2db772,_0x50b884._0x32dc3c,_0x50b884._0x1ddd2b)}},'required':[_0x1ac0f7(0x72c,0x7a9,_0x50b884._0x54a09a,_0x50b884._0x3cb8ae)]},async *'execute'(_0x4d1df9,_0x2ad168){const _0xed317f={_0x4d8400:0x14a,_0xd213a8:0xe,_0x537832:0x13e},_0x1479c2=_0x4d1df9[_0x5a738b(0x5fb,_0x1f7d05._0x4cf50f,0x652,0x4a9)][_0x5cdba6(_0x1f7d05._0x50e0d9,_0x1f7d05._0x354322,-_0x1f7d05._0x398c94,-0x43)]();function _0x5cdba6(_0x3dbfa8,_0x2641e6,_0x23a109,_0x31d411){return _0x272dc1(_0x3dbfa8,_0x2641e6-0x13,_0x2641e6- -0x219,_0x31d411-0xbe);}if(!_0x1479c2)throw new ToolExecutionError(_0x5a738b(_0x1f7d05._0x26e09b,0x69b,0x760,_0x1f7d05._0x544c80));const _0x3c44f2={'query':_0x1479c2,'count':Math[_0x5a738b(0x5ac,0x459,_0x1f7d05._0x409122,_0x1f7d05._0x138b09)](0x1,Math[_0x5a738b(0x579,_0x1f7d05._0x5a6121,0x6bb,_0x1f7d05._0x13b02e)](0x32,Math['trunc'](_0x4d1df9[_0x5a738b(0x55e,_0x1f7d05._0x41b424,_0x1f7d05._0x4227e5,_0x1f7d05._0xd5f77f)]??0xa))),'offset':Math[_0x5a738b(0x5ac,_0x1f7d05._0x345c37,_0x1f7d05._0x413a17,0x569)](0x0,Math[_0x5a738b(0x615,_0x1f7d05._0x2db083,_0x1f7d05._0x50b001,_0x1f7d05._0x42aa93)](_0x4d1df9[_0x5a738b(_0x1f7d05._0x4c4fa9,_0x1f7d05._0x3b1ea3,_0x1f7d05._0x23c0f9,_0x1f7d05._0x361340)]??0x0)),'domains':_0x4d1df9['domains']??[],'recencyDays':Math[_0x5cdba6(0x175,0x24,-_0x1f7d05._0x21e4c0,_0x1f7d05._0x2b96fa)](0x0,Math['trunc'](_0x4d1df9[_0x5cdba6(-_0x1f7d05._0x1277b5,-_0x1f7d05._0x257a92,-_0x1f7d05._0x282dd3,_0x1f7d05._0x21c4a5)]??0x0)),'lang':_0x4d1df9['lang']??'en','region':_0x4d1df9[_0x5a738b(0x34e,0x293,0x414,0x2c4)]??'','safe':_0x4d1df9['safe']??!![],'type':normalizeType(_0x4d1df9[_0x5cdba6(-0xcc,0x7c,_0x1f7d05._0x56ca97,_0x1f7d05._0x2c5c31)]),'hydrateMeta':_0x4d1df9[_0x5a738b(0x45f,0x327,_0x1f7d05._0x3536a8,_0x1f7d05._0xca2896)]??![]};let _0x23d4d4=[],_0x34f3d6=_0x5a738b(_0x1f7d05._0x3c9765,_0x1f7d05._0x5267c9,_0x1f7d05._0x1e724f,_0x1f7d05._0x57a68a);for(const _0xc95dde of _0xb1e85['engines']){try{if(isGoogleCseEngine(_0xc95dde))_0x23d4d4=await searchGoogleCse(_0xc95dde,_0x3c44f2,_0x2ad168[_0x5cdba6(-0x30d,-0x266,-0x364,-0x1d6)]),_0x34f3d6=_0x5cdba6(-0x344,-0x1dc,-0xaf,-0x19c);else{if(isOllamaEngine(_0xc95dde)){const _0x14e3bb=await searchOllama(_0xc95dde,_0x3c44f2,_0x2ad168[_0x5a738b(0x322,_0x1f7d05._0xffc1c3,0x44f,0x1d2)]);_0x23d4d4=_0x14e3bb[_0x5cdba6(-0x94,_0x1f7d05._0x22a224,_0x1f7d05._0x38b77c,0x53)],_0x34f3d6=_0x14e3bb[_0x5a738b(_0x1f7d05._0x5e92dd,0x719,0x57a,0x5a4)];}else{if(isTavilyEngine(_0xc95dde)){const _0x29bc76=await searchTavily(_0xc95dde,_0x3c44f2,_0x2ad168[_0x5a738b(_0x1f7d05._0x46d50e,0x4c5,_0x1f7d05._0x2c5a10,0x2a3)]);_0x23d4d4=_0x29bc76[_0x5cdba6(_0x1f7d05._0x1937d5,_0x1f7d05._0x22a224,_0x1f7d05._0x1f9229,0xe6)],_0x34f3d6=_0x29bc76[_0x5cdba6(0xff,0x42,0x70,-_0x1f7d05._0x455a40)];}}}if(_0x23d4d4[_0x5a738b(0x624,_0x1f7d05._0x339a01,0x71c,_0x1f7d05._0x4c77ce)]>0x0)break;}catch(_0x534212){if(_0xc95dde===_0xb1e85[_0x5cdba6(_0x1f7d05._0x438b34,_0x1f7d05._0x259e66,0x125,-0x92)][_0xb1e85['engines'][_0x5cdba6(-0x127,0x9c,_0x1f7d05._0x31a7a6,0x224)]-0x1])throw _0x534212;}}function _0x5a738b(_0x29fc25,_0x1043fb,_0x540b16,_0x366f90){return _0x1ac0f7(_0x29fc25-_0xed317f._0x4d8400,_0x1043fb,_0x540b16-_0xed317f._0xd213a8,_0x29fc25- -_0xed317f._0x537832);}_0x3c44f2[_0x5cdba6(0x5d,-_0x1f7d05._0x149c13,-_0x1f7d05._0xd9c06c,-_0x1f7d05._0x2d2e8f)]&&_0x23d4d4[_0x5cdba6(_0x1f7d05._0x25a8bd,_0x1f7d05._0xc1465f,_0x1f7d05._0x24e585,-0x4d)]>0x0&&(_0x23d4d4=await hydrateResults(_0x23d4d4,_0x3c44f2['lang'],_0x2ad168[_0x5cdba6(-_0x1f7d05._0x40d0e6,-0x266,-_0x1f7d05._0x2f5850,-0x1e1)],_0x94b7e6));const _0x486753=new Set();_0x23d4d4=_0x23d4d4['filter'](_0xb7d057=>{const _0x29a616={_0x1acdc9:0x268,_0x656923:0x3b};function _0xeec440(_0x435462,_0x2bdd7d,_0x58e047,_0x4882c5){return _0x5cdba6(_0x58e047,_0x435462-_0x29a616._0x1acdc9,_0x58e047-0x16e,_0x4882c5-_0x29a616._0x656923);}const _0x2ee4ae=_0xb7d057['url']['toLowerCase']();if(!_0x2ee4ae||_0x486753[_0xeec440(0x290,0x17c,_0x47b9e6._0x134f46,_0x47b9e6._0x34f121)](_0x2ee4ae))return![];return _0x486753['add'](_0x2ee4ae),!![];}),_0x23d4d4=_0x23d4d4['map']((_0x18c34c,_0x57756a)=>({..._0x18c34c,'source':{..._0x18c34c[_0x5a738b(0x34a,0x3f6,0x1fb,0x1c7)],'rank':_0x57756a+0x1}}));const _0x52e9a1={};if(_0x3c44f2['domains'][_0x5a738b(0x624,0x6d6,_0x1f7d05._0x466289,0x7ec)]>0x0)_0x52e9a1[_0x5cdba6(-_0x1f7d05._0x3ebd9e,-0x2c,-_0x1f7d05._0x5a0010,-0x19e)]=_0x3c44f2[_0x5a738b(0x55c,0x5f5,_0x1f7d05._0x182f93,0x497)];if(_0x3c44f2[_0x5cdba6(_0x1f7d05._0x59467d,-0x20,0x9c,_0x1f7d05._0x201392)]>0x0)_0x52e9a1[_0x5a738b(0x568,0x65f,_0x1f7d05._0x50f27d,_0x1f7d05._0xbea3f0)]=_0x3c44f2[_0x5a738b(0x568,0x5f2,_0x1f7d05._0x403048,_0x1f7d05._0x28c6ef)];if(_0x3c44f2['lang']!=='en')_0x52e9a1[_0x5a738b(0x3ba,0x569,_0x1f7d05._0x17ee96,0x57b)]=_0x3c44f2[_0x5a738b(0x3ba,0x424,_0x1f7d05._0x376574,_0x1f7d05._0x4e8d36)];if(_0x3c44f2[_0x5cdba6(-_0x1f7d05._0x485fe7,-0x23a,-_0x1f7d05._0x391b9e,-_0x1f7d05._0x3cf6ab)])_0x52e9a1[_0x5cdba6(-_0x1f7d05._0x485fe7,-0x23a,-_0x1f7d05._0x5efc5c,-_0x1f7d05._0x2b8d11)]=_0x3c44f2['region'];return yield createToolOutput(formatResults(_0x23d4d4),{'engine':_0x34f3d6,'count':_0x23d4d4['length'],'items':_0x23d4d4,'query':_0x3c44f2[_0x5cdba6(_0x1f7d05._0x49123f,_0x1f7d05._0x46ed0a,0x110,_0x1f7d05._0x578084)],...Object[_0x5cdba6(0x18f,-_0x1f7d05._0x20bcf6,0xba,-0x1e6)](_0x52e9a1)[_0x5cdba6(0x1a2,_0x1f7d05._0xc1465f,0x189,_0x1f7d05._0x179813)]>0x0?{'appliedFilters':_0x52e9a1}:{},'offset':_0x3c44f2['offset'],'totalRequested':_0x3c44f2[_0x5a738b(_0x1f7d05._0x5301a2,_0x1f7d05._0x1ae3f9,_0x1f7d05._0x3164e9,0x553)],'hydrated':_0x3c44f2[_0x5cdba6(0x2c,-_0x1f7d05._0x205dbf,-0x1c,-0x251)]}),void 0x0;}});}export{BackgroundProcessCleanupError,BackgroundProcessRegistry,GREP_DEFAULT_LIMIT,GREP_MAX_PATTERN_LENGTH,GREP_MAX_SNIPPET_LENGTH,ToolExecutionError,ToolRegistry,assertWorkspaceFile,boundedGrepSnippet,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,isTerminalStatus,normalizeToolOutputValue,projectMcpTools,redactMcpDiagnostic,replaceFirstExact,resolveAllowedPath,resolveBashExecutionTarget,resolveDelegatedAgentOptions,resolveMcpTimeoutMs,resolveToolPermissionClass,resolveWorkspacePath,search,searchRegex,sha256Bytes,toMcpSafeError,toNuvinToolSchema,truncateToolOutput,validateGrepPattern,validateToolInput};
1
+ (function(_0x529c6d,_0x523bab){const _0x357d68={_0x3aa15b:0x246,_0x53c0e8:0x2b6,_0x42ed38:0x1ad,_0x2d1e47:0x2c,_0xd462b7:0x1a7,_0x37551b:0x3d4,_0x19af30:0x107,_0x3d7619:0x218,_0x2b53f7:0x241,_0x17a5d1:0xd4,_0x49953a:0x15f,_0x51de5b:0x1c2,_0x29242f:0x109,_0x1f95e6:0x68,_0x5a04d1:0x2a4,_0x4e8c01:0x12c,_0x415ea6:0xae,_0x76e79f:0x96},_0x29f6a1={_0x338878:0x2e5};function _0x3f224b(_0x51a778,_0x3d8f39,_0x30e088,_0x3a389b){return _0x2a2f(_0x3d8f39- -_0x29f6a1._0x338878,_0x3a389b);}const _0x45864f=_0x529c6d();function _0x49864f(_0x27183b,_0x4108a7,_0x1ccd3f,_0x3af9d3){return _0x2a2f(_0x4108a7-0x362,_0x27183b);}while(!![]){try{const _0x3e3570=parseInt(_0x3f224b(-_0x357d68._0x3aa15b,-0x21f,-_0x357d68._0x53c0e8,-_0x357d68._0x42ed38))/0x1*(parseInt(_0x3f224b(-0x1ea,-0x173,-_0x357d68._0x2d1e47,-_0x357d68._0xd462b7))/0x2)+parseInt(_0x49864f(0x44e,0x55e,0x6fe,_0x357d68._0x37551b))/0x3*(parseInt(_0x3f224b(-0x130,-_0x357d68._0x19af30,-_0x357d68._0x3d7619,0x10))/0x4)+parseInt(_0x3f224b(-_0x357d68._0x2b53f7,-_0x357d68._0x17a5d1,0x49,-_0x357d68._0x49953a))/0x5+-parseInt(_0x3f224b(_0x357d68._0x51de5b,0x7b,_0x357d68._0x29242f,-_0x357d68._0x1f95e6))/0x6+parseInt(_0x49864f(0x5d4,0x424,0x380,_0x357d68._0x5a04d1))/0x7+parseInt(_0x3f224b(-0x93,0x65,-_0x357d68._0x4e8c01,-_0x357d68._0x415ea6))/0x8+-parseInt(_0x3f224b(-0xb8,-0x1de,-_0x357d68._0x76e79f,-0x277))/0x9;if(_0x3e3570===_0x523bab)break;else _0x45864f['push'](_0x45864f['shift']());}catch(_0x647882){_0x45864f['push'](_0x45864f['shift']());}}}(_0x2884,0xec497));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,resolveToolPermissionClass,validateToolInput}from'../chunk-A4CS4HLK.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 _0xa37a56 from'path';var EXTENSION_TO_LANGUAGE={'.ts':'typescript','.tsx':'typescriptreact','.js':_0x515b8f(0x261,0x3b4,0x414,0x3d6),'.jsx':_0x1c3a85(0x10b,0x76,0x12d,0x180),'.mjs':'javascript','.cjs':_0x1c3a85(0x75,-0x243,0x5c,-0xb3),'.mts':'typescript','.cts':_0x1c3a85(0x186,0x180,0x16d,0x64),'.json':'json','.jsonc':'jsonc'};function getLanguageId(_0x48312d){const _0x274d94={_0x1e0309:0x575,_0x3a27b6:0x487,_0x1b05c5:0x6a0,_0x175531:0x825,_0x35260e:0x4fe},_0x5e99fa={_0xfa3be5:0xc8,_0x4d1046:0x0};function _0xd07d42(_0x228357,_0xe09fb,_0x54afc5,_0x6cde93){return _0x515b8f(_0x228357-_0x5e99fa._0xfa3be5,_0xe09fb-0x58,_0x6cde93,_0xe09fb-_0x5e99fa._0x4d1046);}function _0x2bcf1f(_0x28eb49,_0x36fe4e,_0x52d362,_0x43fddf){return _0x1c3a85(_0x28eb49-0x1f,_0x43fddf,_0x52d362-0x130,_0x52d362-0x15a);}return EXTENSION_TO_LANGUAGE[_0xa37a56[_0xd07d42(0x6a7,0x60c,_0x274d94._0x1e0309,_0x274d94._0x3a27b6)](_0x48312d)[_0xd07d42(0x603,_0x274d94._0x1b05c5,_0x274d94._0x175531,_0x274d94._0x35260e)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8,DEFAULT_LSP_REQUEST_TIMEOUT_MS=0x7530;function uriForPath(_0x38dc37){const _0x177ac9={_0x54f822:0x4f6},_0x17a331={_0x3f42b0:0x2b};function _0x5432a3(_0x45cbe6,_0x3bdbca,_0x55becd,_0x8c49a5){return _0x1c3a85(_0x45cbe6-0x125,_0x3bdbca,_0x55becd-_0x17a331._0x3f42b0,_0x8c49a5-0x18f);}return pathToFileURL(_0x38dc37)[_0x5432a3(0x4b5,0x2fc,_0x177ac9._0x54f822,0x392)]();}function textDocumentPosition(_0x593238){const _0x561d3f={_0x890f28:0x577,_0x4ba02:0x54f,_0x4f5fe9:0x4f7,_0x5bea9b:0x6e8,_0x476b6d:0x563,_0x42ccbc:0x46c,_0x28943b:0x2fe},_0x3614c4={_0xbc0d44:0x311},_0x44552c={_0x18fd5c:0x2a};function _0x2962d9(_0x4c3eed,_0x13286e,_0x16f30e,_0x141971){return _0x515b8f(_0x4c3eed-0x44,_0x13286e-0xab,_0x141971,_0x13286e- -_0x44552c._0x18fd5c);}function _0xb20d80(_0x9f9461,_0x452e97,_0x4ee581,_0x28afe8){return _0x515b8f(_0x9f9461-0x16f,_0x452e97-0xe3,_0x28afe8,_0x4ee581- -_0x3614c4._0xbc0d44);}return{'textDocument':{'uri':uriForPath(_0x593238[_0x2962d9(_0x561d3f._0x890f28,_0x561d3f._0x4ba02,_0x561d3f._0x4f5fe9,_0x561d3f._0x5bea9b)])},'position':{'line':_0x593238[_0x2962d9(_0x561d3f._0x476b6d,_0x561d3f._0x42ccbc,0x3e3,0x453)],'character':_0x593238[_0x2962d9(0x3d6,0x36c,0x4b5,_0x561d3f._0x28943b)]}};}function normalizeLocations(_0x3b0e37){const _0x4bd577={_0x4d0d9b:0xbf,_0x34e8ba:0xc6,_0xb7ffd6:0x21a},_0x3adc4a={_0x5cc412:0x15d,_0x2c75db:0x15f};function _0xb646ac(_0x35d838,_0x304a49,_0x5ba4af,_0x580803){return _0x1c3a85(_0x35d838-0x13a,_0x580803,_0x5ba4af-_0x3adc4a._0x5cc412,_0x5ba4af- -_0x3adc4a._0x2c75db);}if(!_0x3b0e37)return[];return Array[_0xb646ac(-_0x4bd577._0x4d0d9b,0x85,-_0x4bd577._0x34e8ba,-_0x4bd577._0xb7ffd6)](_0x3b0e37)?_0x3b0e37:[_0x3b0e37];}async function withLspTimeout(_0x4141bd,_0x56859f,_0x35b799){const _0x8730be={_0x57d849:0x67,_0x2b08b7:0x122,_0x2dd22f:0x108,_0x2b5a19:0x1b0,_0x569776:0x286},_0x2f055c={_0x2925d2:0x146,_0x1e5206:0x2c3,_0x536c9a:0x59b,_0x121e10:0x5c9},_0x5161da={_0x37df1b:0x111,_0x5176b3:0x10f,_0x5df96c:0x196},_0x1bfca2={_0x5e50fa:0x167};function _0x5e20e9(_0x5bb602,_0x13678c,_0x20290c,_0x4e9f68){return _0x1c3a85(_0x5bb602-0xb0,_0x4e9f68,_0x20290c-0x179,_0x5bb602- -_0x1bfca2._0x5e50fa);}function _0x82187f(_0xd4871a,_0x27ed0a,_0x39d39a,_0x1d3fb2){return _0x1c3a85(_0xd4871a-_0x5161da._0x37df1b,_0x1d3fb2,_0x39d39a-_0x5161da._0x5176b3,_0x39d39a-_0x5161da._0x5df96c);}if(!Number['isFinite'](_0x56859f)||_0x56859f<0x1)throw new Error('Invalid\x20LSP\x20timeout\x20for\x20'+_0x35b799+_0x5e20e9(0x60,-_0x8730be._0x57d849,-_0x8730be._0x2b08b7,0x208));let _0x321eee;try{return await Promise[_0x5e20e9(-_0x8730be._0x2dd22f,-_0x8730be._0x2b5a19,-0x8c,-_0x8730be._0x569776)]([_0x4141bd,new Promise((_0x10d047,_0x2a2315)=>{const _0x5434cb={_0x46ca70:0x25a};_0x321eee=setTimeout(()=>{function _0x305efe(_0x191515,_0x41d3bb,_0xe6e53e,_0x519bbe){return _0x2a2f(_0x41d3bb-0x97,_0x519bbe);}function _0x53ead1(_0x4e85d1,_0x1007bf,_0x49e897,_0x19ad3d){return _0x2a2f(_0x1007bf-_0x5434cb._0x46ca70,_0x19ad3d);}_0x2a2315(new Error(_0x305efe(_0x2f055c._0x2925d2,0x185,0x1bc,_0x2f055c._0x1e5206)+_0x35b799+'\x20timed\x20out\x20after\x20'+_0x56859f+_0x53ead1(0x50c,_0x2f055c._0x536c9a,0x5c0,_0x2f055c._0x121e10)));},_0x56859f);})]);}finally{if(_0x321eee!==void 0x0)clearTimeout(_0x321eee);}}async function createLspClient(_0xf0607b){const _0x253aac={_0x1c90a6:0x284,_0x2dc72c:0x14a,_0x15c4e2:0x27a,_0x55bd9:0x2e6,_0x1915e1:0x27c,_0x83e50b:0x198,_0x4c3069:0x2ee,_0x3095ef:0x1c6,_0x55f9d8:0x14d,_0x1f40fe:0x1b6,_0x32bba0:0x62,_0x2c7f10:0x430,_0xa284aa:0x1fa,_0xb5a38c:0x2be,_0x1c8451:0x23b,_0x3bc52f:0x90,_0x713d8a:0x3c,_0xf8bde9:0x17c,_0x6cff97:0x7f,_0x4ab770:0x312,_0x3b5d1d:0x352,_0x3fa861:0x1c4,_0x345af5:0x4fe,_0x2c60b7:0x4fd,_0x53fb6e:0x406,_0x52a080:0x542,_0x1d327d:0x21a,_0xe98b54:0x235,_0x10da58:0x27f,_0x336097:0x18f,_0x51caa0:0x338,_0x11b998:0x251,_0xa0fcde:0x18,_0x10fae5:0x117,_0x2c1c77:0x285,_0x4cbcc7:0x58,_0x58f97d:0x20c,_0x5094e2:0x132,_0x6fa282:0x267,_0x1ffaa2:0x18e,_0xbcb1f2:0x2e6,_0x1985c5:0x327,_0x3fa848:0x1ef,_0x24621a:0x53a,_0x2ed4f5:0x36e,_0x2213f5:0x441,_0x54df5e:0x2a9,_0x79c84d:0x1f9,_0x42f1e8:0x38,_0x4410cf:0xd3},_0x223d16={_0x55721f:0xc0},_0x506722={_0x3114f4:0x494,_0x30d3a6:0x593,_0x354fb8:0x536,_0x1c29e8:0x6fa,_0xd79baa:0x15d,_0x286772:0x39b,_0x3c3d3e:0x4d5,_0x4d0ca0:0x2a1},_0x55c168={_0x5bbad7:0xd8},_0x68e9ce={_0x1829e3:0x1c5,_0x2e6eca:0x1dc},_0x21c67e={_0x364596:0x76,_0x402010:0x4f,_0x39d999:0x1ad,_0x371de9:0x15f,_0x3dbf94:0x4e},_0x4baa22={_0x456267:0x266,_0xc6fdf4:0x1d9,_0x102f65:0x1d2,_0x5a3197:0x21c,_0x46bf96:0x361,_0x1f89e4:0x258},_0x413abe={_0x23eaae:0x164,_0x667abf:0x199},_0x4400e0={_0x5eec5c:0x296,_0x182b79:0x1cc},_0x4195dd={_0x2ef9e5:0x19d,_0x4fca5d:0x1c0,_0x169053:0x45a},_0xd10207={_0x588604:0x5d5},_0x580ecb={_0x1a04f9:0xb5,_0x1bbbdc:0x310},_0x108f8d={_0x264e7d:0x563},_0x1ad089={_0x30b580:0x1e9,_0x50b987:0x223},_0x31dfdf={_0x4d77c7:0x249},_0x22cfe3={_0x5041a7:0x85},_0x558604={_0x4ec889:0x3b3,_0x1b244f:0x652},_0x20d6c2={_0x1a43c1:0x20e,_0x26bd63:0xe0,_0x160712:0x1e5,_0x511e7f:0x11c},_0x3d2df7={_0x2df474:0x561,_0x15e740:0x5f0,_0xbdfca9:0x3d4,_0x23d0d5:0x5d5,_0x4b3c3d:0x59a,_0x61122d:0x5f8,_0x5dc779:0x44d,_0x1ec151:0x2f9,_0x274ff8:0x3cd,_0x14e508:0x2ad,_0x3228da:0x4d6},_0x13e459={_0xbe8f42:0x14a,_0x379e8e:0x1d5},_0x1a4013={_0x1dfc90:0x206,_0x5e033e:0x205,_0xb5d59:0x35e,_0xe4fc5d:0x452,_0x10d4c0:0x57f,_0x412ed9:0x2f5,_0x3070a0:0x32e,_0x27784c:0x20b,_0x3ee737:0x449,_0x529e79:0x392,_0x27504e:0x344,_0xed759a:0x3d7,_0x17209b:0x3d0,_0xef8976:0x49d,_0xb93b3a:0x62f},_0x365422={_0x546eda:0xa1,_0x550212:0x0},_0x2467f0={_0x220e55:0x1c,_0xe3b2dd:0xbe},_0x54145b=_0xf0607b[_0x26dba6(_0x253aac._0x1c90a6,_0x253aac._0x2dc72c,_0x253aac._0x15c4e2,_0x253aac._0x55bd9)][_0x26dba6(0x1f2,0x1c7,0x1b6,_0x253aac._0x1915e1)][_0x26dba6(0x2f4,0x2ea,0x482,0x414)],_0xc01207=_0xf0607b[_0x15add8(0x2d7,_0x253aac._0x83e50b,0x220,_0x253aac._0x4c3069)][_0x15add8(_0x253aac._0x3095ef,_0x253aac._0x55f9d8,_0x253aac._0x1f40fe,_0x253aac._0x32bba0)][_0x15add8(_0x253aac._0x2c7f10,_0x253aac._0xa284aa,_0x253aac._0xb5a38c,_0x253aac._0x1c8451)];if(!_0x54145b||!_0xc01207)throw new Error(_0x15add8(_0x253aac._0x3bc52f,0x3b,0x153,_0x253aac._0x713d8a));const _0x426ad1=_0xf0607b[_0x26dba6(_0x253aac._0xf8bde9,_0x253aac._0x6cff97,_0x253aac._0x4ab770,0x234)]??DEFAULT_LSP_REQUEST_TIMEOUT_MS;function _0x26dba6(_0x8adbe5,_0x44a48a,_0x48ecc6,_0x3038ac){return _0x515b8f(_0x8adbe5-0x15d,_0x44a48a-0xbf,_0x44a48a,_0x3038ac- -0x27a);}const _0x5ebae3=createMessageConnection(new StreamMessageReader(_0x54145b),new StreamMessageWriter(_0xc01207)),_0x218901=new Map(),_0x31a8c2=new Map();let _0x27444c=![];const _0x517b43=async(_0x832631,_0x1f5e81)=>{const _0x1546bf={_0x17bae7:0x2b};function _0x38dc07(_0x182875,_0x27fbfd,_0x5312cf,_0x336d61){return _0x15add8(_0x182875-0x34,_0x182875,_0x5312cf- -0x154,_0x336d61-_0x1546bf._0x17bae7);}return withLspTimeout(_0x5ebae3[_0x38dc07(_0x2467f0._0x220e55,-_0x2467f0._0xe3b2dd,-0x6f,-0x77)](_0x832631,_0x1f5e81),_0x426ad1,_0x832631);};_0x5ebae3[_0x26dba6(_0x253aac._0x3b5d1d,0x2f,0x2b7,_0x253aac._0x3fa861)]('textDocument/publishDiagnostics',_0x2b6f47=>{const _0x1aa01f={_0x3fd1b8:0x108};_0x218901[_0x3ac685(_0x1a4013._0x1dfc90,_0x1a4013._0x5e033e,_0x1a4013._0xb5d59,0x44d)](_0x2b6f47[_0x3210a2(0x332,_0x1a4013._0xe4fc5d,0x392,0x253)],_0x2b6f47[_0x3210a2(0x3ff,0x536,0x3e6,_0x1a4013._0x10d4c0)]);function _0x3ac685(_0x16003f,_0x4e7129,_0x1e5b46,_0x35922d){return _0x15add8(_0x16003f-_0x1aa01f._0x3fd1b8,_0x16003f,_0x1e5b46-0x176,_0x35922d-0x8e);}function _0x3210a2(_0x2081aa,_0x2de03d,_0x555448,_0x8edfa6){return _0x26dba6(_0x2081aa-_0x365422._0x546eda,_0x2081aa,_0x555448-_0x365422._0x550212,_0x555448- -0xa6);}const _0x4753f6=_0x31a8c2[_0x3ac685(0x39c,_0x1a4013._0x412ed9,_0x1a4013._0x3070a0,0x1bc)](_0x2b6f47[_0x3210a2(_0x1a4013._0x27784c,_0x1a4013._0x3ee737,_0x1a4013._0x529e79,0x292)]);if(!_0x4753f6)return;_0x31a8c2[_0x3ac685(_0x1a4013._0x27504e,_0x1a4013._0xed759a,_0x1a4013._0x17209b,0x401)](_0x2b6f47[_0x3ac685(_0x1a4013._0xef8976,0x5b1,0x4e8,_0x1a4013._0xb93b3a)]);for(const _0x166e1e of _0x4753f6)_0x166e1e();}),_0x5ebae3[_0x26dba6(_0x253aac._0x345af5,0x31f,_0x253aac._0x2c60b7,_0x253aac._0x53fb6e)]();let _0x1569fb;try{_0x1569fb=await _0x517b43('initialize',{'processId':process[_0x26dba6(0x5a2,0x540,_0x253aac._0x52a080,0x484)],'rootUri':uriForPath(_0xf0607b['root']),'workspaceFolders':[{'uri':uriForPath(_0xf0607b[_0x26dba6(_0x253aac._0x1d327d,0x35,_0x253aac._0xe98b54,0x1f6)]),'name':_0xf0607b[_0x15add8(0xe4,0x12e,_0x253aac._0x10da58,0x1f8)]['id']}],'initializationOptions':_0xf0607b[_0x26dba6(_0x253aac._0x336097,_0x253aac._0x51caa0,_0x253aac._0x11b998,0x2e6)][_0x15add8(-0x8,_0x253aac._0xa0fcde,_0x253aac._0x10fae5,-0x13)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0x26dba6(_0x253aac._0x2c1c77,0x309,0x31f,0x204),_0x15add8(-_0x253aac._0x4cbcc7,_0x253aac._0x58f97d,_0x253aac._0x5094e2,0x6e)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});}catch(_0x502106){_0x5ebae3[_0x26dba6(0x2c4,0x3b1,0x5f3,0x43d)](),_0xf0607b[_0x26dba6(0x1a5,_0x253aac._0x6fa282,_0x253aac._0x1ffaa2,_0x253aac._0xbcb1f2)][_0x26dba6(0x1b4,0x1be,_0x253aac._0x1985c5,0x27c)][_0x26dba6(0x257,0x39a,0x258,_0x253aac._0x3fa848)]();throw _0x502106;}_0x5ebae3[_0x26dba6(_0x253aac._0x24621a,0x3a2,_0x253aac._0x2ed4f5,_0x253aac._0x2213f5)](_0x26dba6(0x9b,0xce,_0x253aac._0x54df5e,_0x253aac._0x79c84d),{});const _0x15f86d={'serverId':_0xf0607b['server']['id'],'root':_0xf0607b[_0x15add8(0x3d,-0x37,0x130,-0x28)],'connection':_0x5ebae3,'diagnostics':_0x218901,'capabilities':_0x1569fb[_0x15add8(_0x253aac._0x42f1e8,-0x75,_0x253aac._0x4410cf,0x8)]??{},'notify':{async 'open'({path:_0x2564e1}){const _0x21043c={_0x19551b:0xf0,_0x430c16:0x27d},_0x3cdd1b=await readFile(_0x2564e1,_0x191154(_0x3d2df7._0x2df474,_0x3d2df7._0x15e740,_0x3d2df7._0xbdfca9,0x448));function _0x191154(_0x74d90b,_0x56b043,_0x36b1be,_0x4492e8){return _0x15add8(_0x74d90b-_0x21043c._0x19551b,_0x56b043,_0x4492e8-_0x21043c._0x430c16,_0x4492e8-0xe9);}function _0x802201(_0x1263e0,_0x431cbf,_0x2191b1,_0x261602){return _0x26dba6(_0x1263e0-_0x13e459._0xbe8f42,_0x261602,_0x2191b1-0x15,_0x1263e0-_0x13e459._0x379e8e);}_0x5ebae3[_0x191154(0x44e,_0x3d2df7._0x23d0d5,_0x3d2df7._0x4b3c3d,_0x3d2df7._0x61122d)](_0x191154(_0x3d2df7._0x5dc779,0x358,0x1d1,_0x3d2df7._0x1ec151),{'textDocument':{'uri':uriForPath(_0x2564e1),'languageId':getLanguageId(_0x2564e1)??_0x802201(_0x3d2df7._0x274ff8,_0x3d2df7._0x14e508,_0x3d2df7._0x3228da,0x456),'version':0x1,'text':_0x3cdd1b}});},async 'change'({path:_0x282e32,version:_0x5c3afd}){const _0x4e964b={_0x1f58ab:0xd6},_0x42415d={_0x5ce290:0xdf,_0x42c75d:0x3b8};function _0xe4fd60(_0x5e6140,_0x19401f,_0x946b50,_0x2d0194){return _0x15add8(_0x5e6140-_0x42415d._0x5ce290,_0x5e6140,_0x19401f- -_0x42415d._0x42c75d,_0x2d0194-0xc8);}function _0x2ec3a9(_0x18ee78,_0x45bde0,_0xefe3ef,_0x139ce9){return _0x26dba6(_0x18ee78-0x12f,_0xefe3ef,_0xefe3ef-_0x4e964b._0x1f58ab,_0x18ee78- -0x365);}const _0x58b4db=await readFile(_0x282e32,_0xe4fd60(-_0x20d6c2._0x1a43c1,-0x1ed,-_0x20d6c2._0x26bd63,-0x289));_0x5ebae3['sendNotification'](_0x2ec3a9(-0x47,0x72,-_0x20d6c2._0x160712,-_0x20d6c2._0x511e7f),{'textDocument':{'uri':uriForPath(_0x282e32),'version':_0x5c3afd},'contentChanges':[{'text':_0x58b4db}]});},async 'close'({path:_0x3f82b9}){const _0x2a45ea={_0x2cc987:0x1cf};function _0x24ad97(_0x3a4858,_0x489a53,_0x5cb3f9,_0x4f44a2){return _0x26dba6(_0x3a4858-_0x2a45ea._0x2cc987,_0x4f44a2,_0x5cb3f9-0x13a,_0x3a4858-0x70);}_0x5ebae3[_0x24ad97(0x4b1,_0x558604._0x4ec889,_0x558604._0x1b244f,0x645)]('textDocument/didClose',{'textDocument':{'uri':uriForPath(_0x3f82b9)}});}},'request':{async 'definition'(_0x5af2b6){function _0x38a47c(_0x1bd116,_0x53860b,_0x207abe,_0x220005){return _0x15add8(_0x1bd116-0x1de,_0x220005,_0x53860b- -0x6e,_0x220005-0x149);}return normalizeLocations(await _0x517b43(_0x38a47c(_0x22cfe3._0x5041a7,0x64,0x1e1,0x139),textDocumentPosition(_0x5af2b6)));},async 'references'(_0x5f4472){return normalizeLocations(await _0x517b43('textDocument/references',{...textDocumentPosition(_0x5f4472),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x164dbb){return await _0x517b43('textDocument/hover',textDocumentPosition(_0x164dbb))??null;},async 'documentSymbol'(_0x416a9a){function _0x3d6844(_0x1e15d8,_0x1e437d,_0x1f1f32,_0x24f9e2){return _0x26dba6(_0x1e15d8-0x51,_0x1e437d,_0x1f1f32-0x93,_0x1e15d8-0xe);}return await _0x517b43(_0x3d6844(0x39f,0x3c2,_0x31dfdf._0x4d77c7,0x24f),{'textDocument':{'uri':uriForPath(_0x416a9a)}})??[];},async 'workspaceSymbol'(_0x2d5380){function _0x35411b(_0x411eb8,_0xd3db3c,_0x526abd,_0x146698){return _0x15add8(_0x411eb8-_0x1ad089._0x30b580,_0x526abd,_0x146698-_0x1ad089._0x50b987,_0x146698-0x3f);}return await _0x517b43(_0x35411b(0x27d,_0x108f8d._0x264e7d,0x310,0x3c2),{'query':_0x2d5380})??[];},async 'implementation'(_0x2b2d89){function _0x391ef9(_0xc25330,_0x26ef55,_0x395c92,_0x1e79fb){return _0x15add8(_0xc25330-_0x580ecb._0x1a04f9,_0x1e79fb,_0x26ef55-_0x580ecb._0x1bbbdc,_0x1e79fb-0x138);}return normalizeLocations(await _0x517b43(_0x391ef9(_0xd10207._0x588604,0x5aa,0x464,0x729),textDocumentPosition(_0x2b2d89)));},async 'prepareCallHierarchy'(_0x2e2b87){function _0x205c0a(_0x10cff8,_0x1070ec,_0x203ba2,_0x17d816){return _0x26dba6(_0x10cff8-_0x4195dd._0x2ef9e5,_0x1070ec,_0x203ba2-_0x4195dd._0x4fca5d,_0x10cff8- -_0x4195dd._0x169053);}return await _0x517b43(_0x205c0a(-0x18e,-0x3a,-0x1cb,0x8),textDocumentPosition(_0x2e2b87))??[];},async 'incomingCalls'(_0x4597c1){const _0x2051e7={_0x26e7ae:0x138};function _0x277358(_0x319cd9,_0x4944b9,_0x8a8484,_0x21efb0){return _0x26dba6(_0x319cd9-_0x2051e7._0x26e7ae,_0x21efb0,_0x8a8484-0x99,_0x4944b9- -0x1cc);}return await _0x517b43(_0x277358(0x267,_0x4400e0._0x5eec5c,_0x4400e0._0x182b79,0x427),{'item':_0x4597c1})??[];},async 'outgoingCalls'(_0x28cb8d){function _0x5d7102(_0x4506e5,_0x27bd59,_0x4aff23,_0x5ed55f){return _0x15add8(_0x4506e5-_0x413abe._0x23eaae,_0x5ed55f,_0x4aff23- -0x98,_0x5ed55f-_0x413abe._0x667abf);}return await _0x517b43(_0x5d7102(0x338,0x1ae,0x279,0x42b),{'item':_0x28cb8d})??[];}},'waitForDiagnostics'({path:_0x501b24,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x3a0ee3={_0xcbcde1:0x1e9,_0x142f70:0x28,_0x31665b:0x194},_0x4e816a={_0x33343b:0xc9,_0x5992d3:0x150},_0x3ecf8d={_0x26cf47:0xd4,_0xe305e1:0x1b,_0x49a1e4:0xd},_0x56fc5e=uriForPath(_0x501b24);if(_0x218901[_0x4a4be1(_0x21c67e._0x364596,_0x21c67e._0x402010,_0x21c67e._0x39d999,0x1e3)](_0x56fc5e))return Promise[_0x8d55c3(-_0x21c67e._0x371de9,0x8d,_0x21c67e._0x3dbf94,-0x5b)]();function _0x8d55c3(_0x2cecbb,_0x9b4fd6,_0x1b0f37,_0x2091e7){return _0x15add8(_0x2cecbb-0x1bd,_0x2cecbb,_0x2091e7- -0xb4,_0x2091e7-0x60);}function _0x4a4be1(_0x1ed584,_0x170c6c,_0x30c5bd,_0x213879){return _0x15add8(_0x1ed584-_0x3ecf8d._0x26cf47,_0x1ed584,_0x213879- -_0x3ecf8d._0xe305e1,_0x213879-_0x3ecf8d._0x49a1e4);}return new Promise(_0x221edc=>{const _0x48f992={_0x4f3200:0xee,_0x1246bb:0x28,_0x2176b6:0x14f,_0x323ebc:0x25c,_0x4e0c84:0x18e,_0x108fea:0x1ac,_0x5de7ee:0x7a},_0x11a1f6={_0x83ad38:0x28},_0x5de10d=setTimeout(()=>{const _0x1fa37a={_0x1e7d5a:0x1f9};function _0x3029ba(_0x40a5c3,_0x21f36c,_0x7f3ac3,_0x1edf32){return _0x2a2f(_0x1edf32- -_0x1fa37a._0x1e7d5a,_0x21f36c);}const _0x5731e6=_0x31a8c2[_0x3029ba(_0x48f992._0x4f3200,-0x84,-0x8a,-_0x48f992._0x1246bb)](_0x56fc5e);_0x5731e6?.['delete'](_0x47d8e3);function _0x3e64c9(_0xeb03aa,_0x165d41,_0x5b47b2,_0x27604){return _0x2a2f(_0x27604-_0x11a1f6._0x83ad38,_0x165d41);}if(_0x5731e6?.[_0x3029ba(0x1e8,_0x48f992._0x2176b6,_0x48f992._0x323ebc,0x1cb)]===0x0)_0x31a8c2[_0x3029ba(0x149,_0x48f992._0x4e0c84,_0x48f992._0x108fea,_0x48f992._0x5de7ee)](_0x56fc5e);_0x221edc();},timeoutMs),_0x47d8e3=()=>{clearTimeout(_0x5de10d),_0x221edc();},_0x386813=_0x31a8c2['get'](_0x56fc5e)??new Set();_0x386813[_0x3d0eb(_0x4baa22._0x456267,_0x4baa22._0xc6fdf4,_0x4baa22._0x102f65,_0x4baa22._0x5a3197)](_0x47d8e3);function _0x3d0eb(_0x2e3fc0,_0x462a0c,_0x13bd4,_0x3c5985){return _0x4a4be1(_0x3c5985,_0x462a0c-0xda,_0x13bd4-_0x4e816a._0x33343b,_0x13bd4-_0x4e816a._0x5992d3);}function _0x5a8431(_0x281f3f,_0x2f587d,_0x478816,_0x76cdb5){return _0x4a4be1(_0x76cdb5,_0x2f587d-_0x3a0ee3._0xcbcde1,_0x478816-_0x3a0ee3._0x142f70,_0x478816-_0x3a0ee3._0x31665b);}_0x31a8c2[_0x5a8431(0x2d7,0x2af,_0x4baa22._0x46bf96,_0x4baa22._0x1f89e4)](_0x56fc5e,_0x386813);});},async 'shutdown'(){function _0x40b089(_0x181fd5,_0x54260b,_0x2ee45f,_0x35ba34){return _0x26dba6(_0x181fd5-0xdb,_0x181fd5,_0x2ee45f-_0x68e9ce._0x1829e3,_0x54260b-_0x68e9ce._0x2e6eca);}if(_0x27444c)return;_0x27444c=!![];function _0x4a844d(_0x248ff3,_0x317e38,_0x21946a,_0x1a1e1c){return _0x15add8(_0x248ff3-_0x55c168._0x5bbad7,_0x1a1e1c,_0x21946a-0x68,_0x1a1e1c-0x16);}try{await _0x517b43(_0x40b089(0x4bd,_0x506722._0x3114f4,0x58b,_0x506722._0x30d3a6),null),_0x5ebae3['sendNotification'](_0x40b089(_0x506722._0x354fb8,0x561,0x4a0,_0x506722._0x1c29e8));}catch{}finally{_0x5ebae3['dispose'](),_0xf0607b[_0x4a844d(_0x506722._0xd79baa,0x23a,0x288,_0x506722._0x286772)][_0x40b089(_0x506722._0x3c3d3e,0x458,0x5bd,_0x506722._0x4d0ca0)]['kill']();}}};function _0x15add8(_0x285d9c,_0x377e80,_0x4c5902,_0x3fbf06){return _0x515b8f(_0x285d9c-0x58,_0x377e80-_0x223d16._0x55721f,_0x377e80,_0x4c5902- -0x340);}return _0x15f86d;}import{spawn as _0x59f609}from'child_process';import{access as _0x1e3ee7}from'fs/promises';import _0x4a3e68 from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x625444 from'os';import _0x3af399 from'path';import _0x5b7eed from'which';var installPromises=new Map();function sanitizePackageName(_0x4c808b){const _0x3683af={_0x1b93e9:0x3f3,_0x4c4590:0x411,_0x59f683:0x28e,_0x3ea590:0x3e1},_0x2a6198={_0x14a26b:0x12d,_0x331dcc:0x11a},_0x4e545d={_0x277ee1:0xc4,_0x1bb90e:0x11f,_0x42fa94:0x5c7};function _0x486ab6(_0x2e2d1c,_0x6d7031,_0x1172e1,_0x10d105){return _0x515b8f(_0x2e2d1c-_0x4e545d._0x277ee1,_0x6d7031-_0x4e545d._0x1bb90e,_0x10d105,_0x6d7031- -_0x4e545d._0x42fa94);}function _0x2f8461(_0xee8a37,_0x24d23f,_0x5348b0,_0x3149d9){return _0x515b8f(_0xee8a37-0x7d,_0x24d23f-_0x2a6198._0x14a26b,_0x24d23f,_0xee8a37- -_0x2a6198._0x331dcc);}return _0x4c808b[_0x2f8461(0x411,0x41d,_0x3683af._0x1b93e9,0x564)](/^@/,'')[_0x2f8461(_0x3683af._0x4c4590,_0x3683af._0x59f683,_0x3683af._0x3ea590,0x3dc)](/[/]/g,'__');}function binaryNameForPlatform(_0x37c27f){const _0x49772e={_0x265597:0x6b,_0x586b85:0x157,_0x143e86:0x38,_0x401afd:0x10b,_0xda71b:0xfb,_0x469634:0x187},_0x4be191={_0x5bda41:0xf};function _0x5b898a(_0x3f9692,_0x33990a,_0x2a8b53,_0x781ae){return _0x515b8f(_0x3f9692-_0x4be191._0x5bda41,_0x33990a-0x1f4,_0x3f9692,_0x781ae- -0x5d0);}function _0x53143e(_0x148f48,_0x4955be,_0x4d1ac0,_0x3498c1){return _0x1c3a85(_0x148f48-0x9d,_0x4d1ac0,_0x4d1ac0-0x58,_0x3498c1-0x241);}return process[_0x5b898a(-_0x49772e._0x265597,0xc5,_0x49772e._0x586b85,_0x49772e._0x143e86)]===_0x5b898a(-0xf0,-_0x49772e._0x401afd,-0x204,-_0x49772e._0xda71b)?_0x37c27f+_0x53143e(0x24c,0x2e8,_0x49772e._0x469634,0x2b9):_0x37c27f;}async function exists(_0x1d62ed){try{return await access(_0x1d62ed),!![];}catch{return![];}}function runNpmInstall(_0x111a69,_0x1e3acc,_0x277ec8){const _0x3779c0={_0x544fb5:0x40c,_0x343e8e:0x2f1,_0x2288b7:0x3da,_0x3b3c1e:0x137,_0x33562d:0x6c5,_0x30a02b:0x351,_0x382edd:0x526};return new Promise(_0xa78114=>{const _0x4e1261={_0x40ecf7:0x394},_0xc375be=spawn(_0x5444ad(0x40f,_0x3779c0._0x544fb5,_0x3779c0._0x343e8e,0x567),[_0x5444ad(_0x3779c0._0x2288b7,0x2a8,0x3fb,_0x3779c0._0x3b3c1e),_0x220003(_0x3779c0._0x33562d,0x6a6,0x759,0x7bf),_0x111a69,_0x1e3acc],{'env':_0x277ec8,'stdio':'ignore'});function _0x5444ad(_0xa640e1,_0xef1f2b,_0x22807f,_0xfe85e2){return _0x2a2f(_0xef1f2b-0x83,_0x22807f);}function _0x220003(_0x5e951c,_0x28cd8d,_0x4b2e6d,_0x45cfa4){return _0x2a2f(_0x28cd8d-_0x4e1261._0x40ecf7,_0x4b2e6d);}_0xc375be['on'](_0x5444ad(0x24a,0x276,0x134,_0x3779c0._0x30a02b),()=>_0xa78114(![])),_0xc375be['on'](_0x5444ad(0x5c9,0x43a,_0x3779c0._0x382edd,0x300),_0x401a0e=>_0xa78114(_0x401a0e===0x0));});}function shouldDisableLspDownload(_0x490d98=process[_0x515b8f(0x3c7,0x650,0x613,0x49c)]){const _0x538174={_0x432f7d:0x57,_0x413765:0x23,_0x1e545e:0xa3,_0x1c66dc:0x154,_0x367840:0x67},_0x4af52d={_0x3e0ba8:0x197},_0x2de28d={_0x1a1e5e:0x23a};function _0x27f033(_0x418bf4,_0xf3a8d5,_0x1b0f7b,_0x3b30c2){return _0x1c3a85(_0x418bf4-0x13f,_0x418bf4,_0x1b0f7b-0x2a,_0xf3a8d5- -_0x2de28d._0x1a1e5e);}const _0x22d0d7=_0x490d98['NUVIN_DISABLE_LSP_DOWNLOAD']?.[_0x27f033(_0x538174._0x432f7d,-_0x538174._0x413765,_0x538174._0x1e545e,-0x1ac)]();function _0x12d5e7(_0x8485da,_0x34b46d,_0x3d5954,_0x56b80a){return _0x515b8f(_0x8485da-_0x4af52d._0x3e0ba8,_0x34b46d-0x12a,_0x34b46d,_0x3d5954- -0x5af);}return _0x22d0d7===_0x12d5e7(-_0x538174._0x1c66dc,0xf5,0x48,-_0x538174._0x367840)||_0x22d0d7==='1'||_0x22d0d7==='yes'||_0x22d0d7==='on';}function getLspPackageDir(_0x24d378){const _0x5d9abc={_0x3c70bf:0x65b,_0x4ed44a:0x8c6,_0x2ec62e:0x772,_0xbeab0a:0x658,_0xb8ea1e:0x447},_0x5560eb={_0x13694d:0x130,_0x4f95fa:0x16b},_0x389a2c={_0x2c1c20:0x114};function _0x16f109(_0x23092b,_0x5d0c85,_0x1ff33c,_0x9e8bbc){return _0x1c3a85(_0x23092b-_0x389a2c._0x2c1c20,_0x23092b,_0x1ff33c-0x13,_0x1ff33c-0x4fb);}function _0x50fb7f(_0x1eca4d,_0x4a5bd2,_0x391f1c,_0x205c7){return _0x515b8f(_0x1eca4d-_0x5560eb._0x13694d,_0x4a5bd2-0x56,_0x4a5bd2,_0x1eca4d- -_0x5560eb._0x4f95fa);}return _0x3af399[_0x16f109(0x495,0x624,0x62f,0x7df)](_0x625444[_0x16f109(0x78f,0x577,_0x5d9abc._0x3c70bf,0x689)](),_0x16f109(_0x5d9abc._0x4ed44a,0x62a,_0x5d9abc._0x2ec62e,_0x5d9abc._0xbeab0a),'lsp',_0x50fb7f(_0x5d9abc._0xb8ea1e,0x5ba,0x333,0x3ce),sanitizePackageName(_0x24d378));}function getLspBinDir(_0x43ce01){const _0x4de499={_0x5ec857:0x77,_0x2e5f6b:0x2f4,_0x496986:0x152,_0x467f7c:0x267},_0x50b1e8={_0x532e92:0x107},_0x30c151={_0x4c1541:0x30};function _0x9a3f88(_0x238216,_0x1440d6,_0x3130af,_0x39c447){return _0x1c3a85(_0x238216-0x1bf,_0x1440d6,_0x3130af-_0x30c151._0x4c1541,_0x39c447-0x1e);}function _0x4d636d(_0x277418,_0x2b01de,_0x1228cb,_0x985cb0){return _0x1c3a85(_0x277418-_0x50b1e8._0x532e92,_0x2b01de,_0x1228cb-0x183,_0x277418-0x465);}return _0x3af399[_0x9a3f88(_0x4de499._0x5ec857,-0x1e,_0x4de499._0x2e5f6b,_0x4de499._0x496986)](getLspPackageDir(_0x43ce01),_0x9a3f88(0x364,0xf7,0x1fb,_0x4de499._0x467f7c),'.bin');}async function findPackageBinary(_0x41aad2,_0x401678){const _0x4c5256={_0x544837:0xc8,_0x78833e:0x57,_0x1a9935:0x5a7,_0x3938f9:0x3c7,_0x26f2e2:0x47e,_0x1ef35d:0x6d1,_0x170269:0x69a,_0x189bc2:0x250,_0x190df6:0x2f9},_0x129261={_0x2e1cde:0x74,_0x45857a:0x1b8},_0x1c5e17={_0x4cb111:0x1ad};let _0x4cf387=_0x3af399[_0x2ec044(-0x22,0x1d8,_0x4c5256._0x544837,_0x4c5256._0x78833e)](_0x401678);function _0x3497d9(_0x1d4d9e,_0x24640d,_0x47a433,_0x4d9b73){return _0x515b8f(_0x1d4d9e-_0x1c5e17._0x4cb111,_0x24640d-0x19b,_0x47a433,_0x4d9b73- -0xed);}function _0x2ec044(_0xf8ab58,_0x4f722b,_0x34a657,_0x64d2e9){return _0x1c3a85(_0xf8ab58-0x77,_0x4f722b,_0x34a657-_0x129261._0x2e1cde,_0x34a657-_0x129261._0x45857a);}const _0x46fd06=binaryNameForPlatform(_0x41aad2);while(!![]){const _0x3491a8=_0x3af399[_0x3497d9(0x471,0x419,_0x4c5256._0x1a9935,0x4d0)](_0x4cf387,_0x2ec044(_0x4c5256._0x3938f9,_0x4c5256._0x26f2e2,0x401,0x42c),_0x3497d9(_0x4c5256._0x1ef35d,_0x4c5256._0x170269,0x462,0x580),_0x46fd06);if(await exists(_0x3491a8))return _0x3491a8;const _0x13d546=_0x3af399[_0x3497d9(0x434,0x3d2,_0x4c5256._0x189bc2,_0x4c5256._0x190df6)](_0x4cf387);if(_0x13d546===_0x4cf387)return void 0x0;_0x4cf387=_0x13d546;}}async function findPathBinary(_0x2bdf99,_0xc52c61){const _0x1c4b49={_0x2beb10:0x383,_0x5d3dd8:0x37d,_0x21136e:0x45e,_0x4c3718:0xf1,_0x182054:0x176,_0x9c84ab:0x35e,_0x4c9bb0:0x3b,_0x2ea58d:0x25,_0x1a38a7:0x226,_0xcaeff5:0x45},_0x586685={_0x4f400a:0x2f},_0x4f0ab5={_0x5b0941:0x152,_0x50ac35:0x162};function _0x3831a4(_0xe6b01a,_0x19dde8,_0x231899,_0x5f2cb3){return _0x1c3a85(_0xe6b01a-_0x4f0ab5._0x5b0941,_0x19dde8,_0x231899-_0x4f0ab5._0x50ac35,_0x231899- -0xc8);}function _0x158eaa(_0x4c7d6c,_0x26c825,_0x9c82c3,_0x5a7350){return _0x1c3a85(_0x4c7d6c-0x47,_0x5a7350,_0x9c82c3-_0x586685._0x4f400a,_0x9c82c3-0x3dc);}const _0x378b47=getLspBinDir(_0xc52c61),_0x4c95fa=[_0x378b47,process[_0x158eaa(_0x1c4b49._0x2beb10,_0x1c4b49._0x5d3dd8,0x3ef,_0x1c4b49._0x21136e)][_0x3831a4(0x93,0x217,_0x1c4b49._0x4c3718,_0x1c4b49._0x182054)]][_0x158eaa(0x418,0x51a,0x478,_0x1c4b49._0x9c84ab)](Boolean)[_0x3831a4(_0x1c4b49._0x4c9bb0,-0x150,0x6c,_0x1c4b49._0x2ea58d)](_0x3af399[_0x3831a4(-0x29a,-_0x1c4b49._0x1a38a7,-0x1af,-_0x1c4b49._0xcaeff5)]);try{return await _0x5b7eed(_0x2bdf99,{'path':_0x4c95fa});}catch{return void 0x0;}}async function resolvePackageBinary(_0x54277e){const _0x248a44={_0x4fcf3c:0xb4,_0x1006ad:0xf1,_0xb161dd:0x1e4,_0x34cd36:0x1b8,_0x18c5bd:0x27f,_0x1cf9cc:0x15c,_0x2d1a05:0x90,_0x472590:0x228,_0x534140:0x4a,_0x21dac1:0x5a,_0x5ca835:0x1bc,_0x4490bf:0x2f,_0x1586a4:0x183},_0x53014b={_0x42a4fb:0x3c8,_0x1199c1:0x551,_0x18b304:0x63b,_0x227ee2:0x43d,_0x11cd66:0x1a2,_0xb68cfd:0x2cd,_0x3365d3:0x12f},_0x2b7b20={_0x1d1b43:0x74},_0x29ae9b={_0x480559:0x88},_0x515002=_0x54277e[_0x33db0d(-0x9f,-0x52,_0x248a44._0x4fcf3c,_0x248a44._0x1006ad)]??_0x54277e['packageName'];function _0x208ec1(_0x44f2ea,_0x460cbb,_0x5845df,_0x5b48b3){return _0x515b8f(_0x44f2ea-0x29,_0x460cbb-0x4d,_0x5845df,_0x5b48b3- -0x539);}const _0x48611a=await findPackageBinary(_0x515002,_0x54277e[_0x208ec1(_0x248a44._0xb161dd,0x28c,-0x48,0xe4)]);if(_0x48611a)return _0x48611a;const _0x119552=await findPathBinary(_0x515002,_0x54277e[_0x33db0d(-0x178,-_0x248a44._0x34cd36,-_0x248a44._0x18c5bd,-_0x248a44._0x1cf9cc)]);if(_0x119552)return _0x119552;const _0x25e6d8=_0x54277e[_0x208ec1(-_0x248a44._0x2d1a05,0x4a,-0x51,-0x9d)]??process[_0x208ec1(-_0x248a44._0x472590,0xf0,-0x234,-0x9d)];if(shouldDisableLspDownload(_0x25e6d8))return void 0x0;function _0x33db0d(_0x5c36d6,_0x55ac6c,_0x43bf69,_0x56838a){return _0x515b8f(_0x5c36d6-_0x29ae9b._0x480559,_0x55ac6c-0x145,_0x43bf69,_0x5c36d6- -0x70b);}const _0x3011cc=getLspPackageDir(_0x54277e[_0x208ec1(0x1a3,-_0x248a44._0x534140,0x13f,_0x248a44._0x21dac1)]),_0x565bb1=_0x54277e[_0x208ec1(0x192,_0x248a44._0x5ca835,0x177,0x5a)]+':'+_0x515002;let _0x26fd5a=installPromises['get'](_0x565bb1);!_0x26fd5a&&(_0x26fd5a=((async()=>{const _0x1b2a77={_0x1526cf:0x152};function _0x211349(_0x20d51b,_0x263b4,_0x3ecb3a,_0x19bab8){return _0x208ec1(_0x20d51b-0x162,_0x263b4-_0x1b2a77._0x1526cf,_0x3ecb3a,_0x19bab8-0x288);}await mkdir(_0x3011cc,{'recursive':!![]});const _0x57f263=await runNpmInstall(_0x3011cc,_0x54277e[_0x1493f3(_0x53014b._0x42a4fb,_0x53014b._0x1199c1,_0x53014b._0x18b304,_0x53014b._0x227ee2)],_0x25e6d8);if(!_0x57f263)return void 0x0;const _0x470fae=_0x3af399[_0x211349(0x31a,_0x53014b._0x11cd66,0x2ec,0x30c)](getLspBinDir(_0x54277e[_0x211349(_0x53014b._0xb68cfd,_0x53014b._0x3365d3,0x274,0x2e2)]),binaryNameForPlatform(_0x515002));function _0x1493f3(_0x4ed457,_0x1f89ef,_0x5640e4,_0x4d6f40){return _0x208ec1(_0x4ed457-0x1b9,_0x1f89ef-_0x2b7b20._0x1d1b43,_0x4ed457,_0x1f89ef-0x4f7);}return await exists(_0x470fae)?_0x470fae:void 0x0;})()),installPromises[_0x208ec1(0xbd,_0x248a44._0x4490bf,_0x248a44._0x1586a4,-0x11)](_0x565bb1,_0x26fd5a));try{return await _0x26fd5a;}catch{return void 0x0;}finally{installPromises['delete'](_0x565bb1);}}var TYPESCRIPT_EXTENSIONS=[_0x1c3a85(0x273,0x2fd,0x195,0x1e0),_0x515b8f(0x2f7,0x37b,0x442,0x442),_0x515b8f(0x58a,0x6d2,0x59f,0x6bc),'.jsx',_0x515b8f(0x5d4,0x37b,0x442,0x4a1),_0x1c3a85(-0x1a6,-0x8d,-0x40,-0x43),'.mts','.cts'],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x515b8f(0x592,0x50a,0x4fd,0x645),_0x515b8f(0x79a,0x7b2,0x738,0x67e)],TYPESCRIPT_ROOT_MARKERS=[_0x1c3a85(0x2f,0x21a,0x96,0x1a2),'bun.lockb','bun.lock',_0x515b8f(0x45f,0x3b4,0x410,0x45d),'yarn.lock',_0x1c3a85(0xba,0x19c,0x6b,0x16),_0x515b8f(0x6ac,0x6f2,0x62d,0x585),_0x515b8f(0x304,0x55e,0x52f,0x40b)],BIOME_ROOT_MARKERS=['biome.json',_0x515b8f(0x7a7,0x74c,0x6ab,0x692),'package-lock.json',_0x1c3a85(0x178,0xd4,0x200,0x40),'bun.lock',_0x515b8f(0x3fa,0x3cc,0x447,0x45d),_0x1c3a85(0x158,0x7e,0x25f,0xa0),_0x1c3a85(-0x203,0xfc,-0x7e,-0x7e)];async function exists2(_0x3f243a){try{return await _0x1e3ee7(_0x3f243a),!![];}catch{return![];}}async function findUp(_0x263343,_0x40d113){const _0x5755cf={_0x3804cc:0x4fb,_0x1c468d:0x264,_0xee5e95:0x57a,_0x60041:0x5f6,_0x586fd1:0x592,_0xd1e584:0x3a6,_0x54298d:0x2c1},_0x25bb45={_0x25b072:0x21,_0x2fdc0f:0x39},_0x19209e={_0x59eb3f:0x11b,_0x2504ec:0x13b};let _0x56161e=_0x4a3e68[_0x565e77(_0x5755cf._0x3804cc,0x3d2,0x40d,0x460)](_0x263343);const _0xc67c86=_0x4a3e68['extname'](_0x56161e);function _0x17435d(_0x22b303,_0x7b81db,_0x22579a,_0x52bf72){return _0x515b8f(_0x22b303-0xd3,_0x7b81db-_0x19209e._0x59eb3f,_0x22579a,_0x52bf72- -_0x19209e._0x2504ec);}function _0x565e77(_0x1d46eb,_0x1c7c6a,_0x419d17,_0x4c80d2){return _0x515b8f(_0x1d46eb-0x54,_0x1c7c6a-_0x25bb45._0x25b072,_0x419d17,_0x1c7c6a-_0x25bb45._0x2fdc0f);}if(_0xc67c86)_0x56161e=_0x4a3e68[_0x565e77(_0x5755cf._0x1c468d,0x41f,_0x5755cf._0xee5e95,0x2b1)](_0x56161e);while(!![]){for(const _0x13e9af of _0x40d113){if(await exists2(_0x4a3e68[_0x565e77(0x43f,_0x5755cf._0x60041,_0x5755cf._0x586fd1,0x6e4)](_0x56161e,_0x13e9af)))return _0x56161e;}const _0xf4178a=_0x4a3e68[_0x17435d(_0x5755cf._0xd1e584,0x1c2,_0x5755cf._0x54298d,0x2ab)](_0x56161e);if(_0xf4178a===_0x56161e)return void 0x0;_0x56161e=_0xf4178a;}}async function hasDenoRoot(_0xaaa529){const _0xb93df5={_0x42d074:0xcf,_0x36ad1a:0x1c7,_0xcaa3a3:0x121},_0x4ee066={_0x237b59:0x1f};function _0x51e545(_0x37d5ec,_0x36b2ac,_0x410f7c,_0x3cb1b5){return _0x1c3a85(_0x37d5ec-0xce,_0x3cb1b5,_0x410f7c-0xd4,_0x37d5ec- -_0x4ee066._0x237b59);}function _0x5e3630(_0x3f3343,_0xc0484b,_0x2d241e,_0x407adc){return _0x515b8f(_0x3f3343-0x17c,_0xc0484b-0x61,_0x3f3343,_0x2d241e- -0x129);}return await exists2(_0x4a3e68[_0x51e545(0x115,_0xb93df5._0x42d074,-0x8f,0x1b4)](_0xaaa529,_0x51e545(0x1d7,0x2f9,0x6e,_0xb93df5._0x36ad1a)))||await exists2(_0x4a3e68[_0x51e545(0x115,0x67,0x1b9,_0xb93df5._0xcaa3a3)](_0xaaa529,'deno.jsonc'));}async function resolveTsserverPath(_0x681c28){const _0x3791cd={_0x48c0ad:0x15f,_0x12957b:0x2f7,_0xb80fe3:0x147,_0x2cdfd2:0xc5,_0xa00ef8:0x1da,_0x5c352c:0xee,_0x279475:0xb,_0x48b948:0xce,_0x2e6279:0x153,_0x49b119:0x5c,_0x59f82d:0x112,_0x3218ba:0xf1,_0x221b70:0x2b0,_0x4eaf28:0xb,_0x197e88:0x1a9,_0x11a0a8:0x190,_0x187eca:0x19f,_0x6af6c5:0x222,_0x3ffd18:0x89},_0x309d4d={_0x5dddd5:0x1f3},_0x4ac087={_0x1ad82d:0x100};let _0x1d822a=_0x4a3e68[_0x20d9f6(-_0x3791cd._0x48c0ad,-_0x3791cd._0x12957b,-0x6a,-_0x3791cd._0xb80fe3)](_0x681c28);while(!![]){const _0x3d029f=_0x4a3e68[_0x20d9f6(_0x3791cd._0x2cdfd2,0xf1,-0xc8,0xc0)](_0x1d822a,_0x20d9f6(_0x3791cd._0xa00ef8,0xe1,_0x3791cd._0x5c352c,0x11b),_0x20d9f6(-_0x3791cd._0x279475,-0x59,0x10b,-_0x3791cd._0x48b948),_0x20d9f6(-0x9a,0x4b,-_0x3791cd._0x2e6279,_0x3791cd._0x49b119),'tsserver.js');if(await exists2(_0x3d029f))return _0x3d029f;const _0x2f605e=_0x4a3e68[_0x20d9f6(-_0x3791cd._0x59f82d,-_0x3791cd._0x3218ba,-_0x3791cd._0x221b70,-0x207)](_0x1d822a);if(_0x2f605e===_0x1d822a)break;_0x1d822a=_0x2f605e;}const _0x646c79=getLspPackageDir(_0x20d9f6(-_0x3791cd._0x4eaf28,-0xe0,-_0x3791cd._0x197e88,-_0x3791cd._0x11a0a8));function _0x20d9f6(_0x34c73d,_0x49b8ea,_0x4a69ec,_0x44c491){return _0x515b8f(_0x34c73d-_0x4ac087._0x1ad82d,_0x49b8ea-0xf4,_0x4a69ec,_0x34c73d- -0x4f8);}const _0x34fe7b=await resolvePackageBinary({'packageName':_0x20d9f6(-0xb,0x18c,0xb,-_0x3791cd._0x187eca),'binaryName':'tsc','startDir':_0x681c28});function _0x7dc62(_0x101e4b,_0x4ca3b4,_0x28859c,_0x473f5b){return _0x1c3a85(_0x101e4b-0x11b,_0x473f5b,_0x28859c-_0x309d4d._0x5dddd5,_0x28859c-0x358);}if(!_0x34fe7b)return void 0x0;const _0x5aa612=_0x4a3e68['join'](_0x646c79,'node_modules','typescript','lib',_0x20d9f6(0xc8,0x237,_0x3791cd._0x6af6c5,_0x3791cd._0x3ffd18));return await exists2(_0x5aa612)?_0x5aa612:void 0x0;}var TypeScriptServer={'id':_0x1c3a85(0x19b,-0x51,0xc0,0x64),'name':'TypeScript\x20Language\x20Server','extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x402d65){const _0x5cd19f=await findUp(_0x402d65,TYPESCRIPT_ROOT_MARKERS);if(!_0x5cd19f)return void 0x0;return await hasDenoRoot(_0x5cd19f)?void 0x0:_0x5cd19f;},async 'spawn'(_0x209d16){const _0x250b1a={_0x415b84:0x191,_0x326052:0x20f,_0x2d382e:0x217,_0x5e18b4:0x3cd,_0x5a85ba:0x3fa,_0x3ce074:0x34a,_0x14b9fb:0x292},_0xc3216b={_0x26ec1f:0x134},_0xceaf43={_0x4cb9de:0x260},_0x47de2e=await resolveTsserverPath(_0x209d16);if(!_0x47de2e)return void 0x0;function _0x31e822(_0x15759b,_0x266041,_0x3398e9,_0x376cb2){return _0x1c3a85(_0x15759b-0x1cb,_0x266041,_0x3398e9-0x102,_0x3398e9- -_0xceaf43._0x4cb9de);}function _0x1cd289(_0x5ecb12,_0x524361,_0x5cfef5,_0x346f52){return _0x1c3a85(_0x5ecb12-_0xc3216b._0x26ec1f,_0x5ecb12,_0x5cfef5-0x83,_0x346f52-0x10b);}const _0x5d0498=await resolvePackageBinary({'packageName':_0x1cd289(_0x250b1a._0x415b84,0x32e,_0x250b1a._0x326052,_0x250b1a._0x2d382e),'binaryName':_0x1cd289(0x229,0x1cd,0xd0,0x217),'startDir':_0x209d16});if(!_0x5d0498)return void 0x0;return{'process':_0x59f609(_0x5d0498,[_0x31e822(-0x35e,-0x22a,-0x295,-_0x250b1a._0x5e18b4)],{'cwd':_0x209d16,'stdio':_0x31e822(-_0x250b1a._0x5a85ba,-0x189,-_0x250b1a._0x3ce074,-_0x250b1a._0x14b9fb)}),'initialization':{'tsserver':{'path':_0x47de2e}}};}},BiomeServer={'id':'biome','name':_0x515b8f(0x5fc,0x653,0x4db,0x5ee),'extensions':BIOME_EXTENSIONS,async 'root'(_0x3e7f59){return findUp(_0x3e7f59,BIOME_ROOT_MARKERS);},async 'spawn'(_0x2b55ec){const _0x35f522={_0x890ca0:0xeb,_0x118cac:0x24,_0x4edb26:0x32,_0x4f6a8b:0x203,_0x3ac1c1:0x234,_0x7a0fa4:0x158,_0x4ef987:0xae,_0x557ae4:0x198,_0x249ec8:0x316,_0x12eccb:0x3a0,_0x5a1027:0xc3,_0x4d5fe3:0x44},_0xe29bc0={_0x40ca6d:0x81},_0x3db4e2={_0x581de5:0x61,_0x59f532:0xf3,_0x560d8a:0x12e};function _0x3ea4f0(_0x1860ec,_0x138d9c,_0x91a4f1,_0x5897fe){return _0x1c3a85(_0x1860ec-_0x3db4e2._0x581de5,_0x5897fe,_0x91a4f1-_0x3db4e2._0x59f532,_0x91a4f1-_0x3db4e2._0x560d8a);}const _0x16c2af=await findPackageBinary(_0x3be600(-0x40,_0x35f522._0x890ca0,_0x35f522._0x118cac,-_0x35f522._0x4edb26),_0x2b55ec)??await resolvePackageBinary({'packageName':_0x3be600(_0x35f522._0x4f6a8b,_0x35f522._0x3ac1c1,_0x35f522._0x7a0fa4,_0x35f522._0x4ef987),'binaryName':_0x3ea4f0(0x29e,0x2cd,_0x35f522._0x557ae4,0x83),'startDir':_0x2b55ec});if(!_0x16c2af)return void 0x0;function _0x3be600(_0x5a49af,_0x2f567b,_0x11abf9,_0x120be0){return _0x1c3a85(_0x5a49af-0x160,_0x11abf9,_0x11abf9-0x1d7,_0x2f567b-_0xe29bc0._0x40ca6d);}return{'process':_0x59f609(_0x16c2af,[_0x3ea4f0(_0x35f522._0x249ec8,0x451,0x385,_0x35f522._0x12eccb),_0x3be600(_0x35f522._0x5a1027,0x4c,-0x21,-0x3b)],{'cwd':_0x2b55ec,'stdio':_0x3ea4f0(-0x81,-0xa3,_0x35f522._0x4d5fe3,0x187)})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x3cde44){const _0x4f5e52={_0x5a2578:0x71f,_0xf07e1b:0x57b,_0x5cc502:0x6e3,_0x501fa3:0x54b,_0x2b89e4:0x592,_0x1cd373:0x168,_0x24eb92:0x9b,_0x364b71:0x98},_0x25b27c={_0x39fbbc:0xf8},_0x4474a0={_0x5b8ec6:0x186,_0x1707c4:0x185,_0x488559:0x43};function _0x4e2968(_0x363660,_0x127818,_0x241c95,_0x3e225c){return _0x515b8f(_0x363660-_0x4474a0._0x5b8ec6,_0x127818-_0x4474a0._0x1707c4,_0x127818,_0x363660-_0x4474a0._0x488559);}function _0x2ce0c5(_0x4550f6,_0xac83d0,_0x3718c2,_0x65ca00){return _0x1c3a85(_0x4550f6-0xb2,_0xac83d0,_0x3718c2-_0x25b27c._0x39fbbc,_0x4550f6-0xcc);}const _0x42dbcd=_0x4a3e68[_0x4e2968(0x64f,_0x4f5e52._0x5a2578,0x4c5,_0x4f5e52._0xf07e1b)](_0x3cde44)[_0x4e2968(_0x4f5e52._0x5cc502,_0x4f5e52._0x501fa3,0x55f,_0x4f5e52._0x2b89e4)]();return BUILTIN_LSP_SERVERS[_0x2ce0c5(_0x4f5e52._0x1cd373,0x1a4,_0x4f5e52._0x24eb92,_0x4f5e52._0x364b71)](_0x537135=>_0x537135[_0x4e2968(0x679,0x7ed,0x590,0x6d8)][_0x4e2968(0x4a7,0x5ee,0x4e5,0x5dd)](_0x42dbcd));}function stateKey(_0x2c41c7,_0x3b6822){return _0x3b6822+':'+_0x2c41c7['id'];}function diagnosticsKeyToPath(_0x9ca208){const _0x4fd1c8={_0x222d3e:0x448,_0x2453c6:0x374},_0x5d96d4={_0x226007:0xc0};function _0x1dcfbe(_0x153d12,_0x23bb3f,_0x2597ca,_0x3011ff){return _0x1c3a85(_0x153d12-_0x5d96d4._0x226007,_0x23bb3f,_0x2597ca-0x16c,_0x2597ca-0x296);}if(!_0x9ca208['startsWith'](_0x1dcfbe(_0x4fd1c8._0x222d3e,0x2d0,_0x4fd1c8._0x2453c6,0x332)))return _0x9ca208;return fileURLToPath(_0x9ca208);}function nextFileVersion(_0xf2fc65,_0x3387d0){const _0x3a192d={_0x507ed8:0x42e,_0x17e24e:0x21e,_0x28aa74:0x269},_0x552076={_0xbf408a:0x11},_0x57d54c={_0x29c514:0xa2,_0x4cdbab:0x56b};function _0x5843dd(_0xcc9b2e,_0x4a7cbf,_0x303e7b,_0x2a52db){return _0x515b8f(_0xcc9b2e-_0x57d54c._0x29c514,_0x4a7cbf-0x58,_0x4a7cbf,_0xcc9b2e- -_0x57d54c._0x4cdbab);}const _0x320481=(_0xf2fc65[_0x1b2035(0x393,0x50b,_0x3a192d._0x507ed8,0x267)][_0x5843dd(-0x73,-0x15d,0x71,-_0x3a192d._0x17e24e)](_0x3387d0)??0x1)+0x1;function _0x1b2035(_0x5ad9d6,_0x38b3c7,_0x264cc7,_0x1d0b35){return _0x1c3a85(_0x5ad9d6-_0x552076._0xbf408a,_0x264cc7,_0x264cc7-0x128,_0x5ad9d6-0x46d);}return _0xf2fc65[_0x5843dd(-0x1bc,-0x1c2,-0x1a6,-_0x3a192d._0x28aa74)]['set'](_0x3387d0,_0x320481),_0x320481;}async function collectClientResults(_0x4b4dff){const _0xcead52={_0x30bc25:0x3f9,_0x4beeb3:0x4b7,_0x56d50a:0x5f9,_0x1aafae:0x10a},_0x1624aa={_0x2f791d:0xb4,_0x57598b:0x31d},_0x4954b1={_0x107202:0xd5};function _0x2a692(_0x452e68,_0x1578bf,_0x3aacc2,_0x21f80b){return _0x515b8f(_0x452e68-0x185,_0x1578bf-_0x4954b1._0x107202,_0x452e68,_0x3aacc2- -0x6ae);}const _0x33d93b=await Promise[_0x3723e4(0x318,_0xcead52._0x30bc25,_0xcead52._0x4beeb3,_0xcead52._0x56d50a)](_0x4b4dff);function _0x3723e4(_0x7baf9d,_0x2e4482,_0x52cf44,_0x1eaa80){return _0x1c3a85(_0x7baf9d-0x1a3,_0x2e4482,_0x52cf44-_0x1624aa._0x2f791d,_0x52cf44-_0x1624aa._0x57598b);}return _0x33d93b[_0x2a692(-0x57,-0x4a,-_0xcead52._0x1aafae,-0xc8)](_0x4973d0=>_0x4973d0[_0x2a692(-0x2ea,-0x236,-0x231,-0x108)]===_0x2a692(-0x2ad,-0x199,-0x235,-0x25e)?_0x4973d0[_0x3723e4(0x374,0x2c6,0x3d6,0x3bb)]:[]);}function createLspService(_0x36a5c3={}){const _0x8678c5={_0x2d50cd:0x356,_0xfe4b05:0x37c},_0x42503d={_0xb5f4b4:0x569,_0x535f6d:0x465,_0x33aea4:0x57c,_0x13426c:0x503,_0x248257:0x6e2,_0x465148:0x647,_0x10dcbc:0x51c,_0x159a53:0x3fe,_0x1bd69a:0xb4,_0x2d72ee:0x9a,_0x4dc8a7:0xc2,_0x59fae5:0xcd,_0x3cb768:0x36,_0x32e4c9:0x132,_0x184726:0xde,_0xf8f39f:0x2b,_0x4e6b45:0x43,_0x1d2ddc:0x49e,_0x2f1c48:0x88,_0x3e4e00:0x70,_0x1214a9:0xd6,_0x34fc3c:0x407,_0x363d02:0x339,_0x86aabd:0x3de,_0x154d4e:0x226,_0x4dd769:0x222,_0x1719c4:0x9b,_0x3e4776:0x27,_0x57af95:0x80,_0x2a2e23:0x70},_0x1d8a5b={_0x385ff7:0x26e,_0xc1a5db:0xb2},_0x1c79ac={_0x4f995e:0x15a},_0x6d1f63={_0xaa3f73:0x340,_0x17ebde:0xc4},_0x501c18={_0x27b82c:0xaa,_0x9f3bbd:0x22b,_0x3e0ab9:0x120},_0x25b097={_0x1af826:0x3a8,_0x4f85d4:0xde},_0x57f090={_0x1659f3:0xed,_0x46e2c1:0xa,_0x3f430e:0x18f,_0x62e94:0x3b4,_0x3c7dcd:0x31e},_0x5931cb={_0x5ac680:0x1b4,_0x40508f:0x136,_0x3f6d39:0x19d},_0x50ffb4={_0x49889e:0x27a,_0x36a934:0x3f5,_0x306052:0xd8},_0x22c029={_0x3a1d53:0xea,_0x4a6bf7:0x116,_0x36a94d:0x24},_0x36b29d={_0x18bf7f:0x1ea,_0x5f086c:0x14,_0x537feb:0x1b3},_0x3a3529={_0x57b050:0x35},_0x3a1243={_0x14180d:0x405,_0x392224:0x44e,_0x5eefc8:0x43a},_0x57a7fd={_0x4f96af:0x121,_0x95ca1c:0x1f9},_0x311f1a={_0x17defb:0xc},_0x4a94d0={_0x435258:0x129,_0x3b9084:0x173},_0x46c88b={_0x4f5f69:0x349,_0x849a3e:0x17b},_0x3fe106={_0x141eee:0x1bc,_0x158a41:0x6d},_0x181f60={_0x4730ec:0x1fb,_0x2fa64b:0x449,_0x5299c6:0x33d},_0x2d4640={_0x24bce4:0x202},_0x4d7837={_0x474d2b:0x3f1,_0x38e966:0x39b},_0x5936dd={_0x4a081f:0x186},_0x458191={_0x18da7e:0x51,_0x1acb9e:0x11b,_0x302f10:0x1f0},_0x16862c={_0x40b2d7:0x13e},_0x5b7d4c={_0x18cdab:0x28b,_0xd43914:0x273},_0x304906={_0x22e8fe:0xf5,_0x5f38e3:0x12f},_0x89f9c5={_0x522133:0x262,_0x2e969e:0x3bb,_0x5cc395:0x3f5,_0x24efe3:0xcf,_0x4f471f:0x205,_0x52a1fe:0xb9,_0x4d316e:0x25d,_0x1e0f8f:0x638,_0x2332ec:0x67e,_0x1bdf85:0x566,_0x3ec169:0x3be},_0x113792={_0x4fecda:0x43d,_0x488f1c:0x5eb,_0x51883a:0x4ce,_0x2b5bd7:0x4a1,_0x538883:0x5f8,_0x4a51a0:0x49c,_0x28352d:0x3b2,_0x187bb4:0x406,_0x45885c:0x427,_0x283d71:0x42a,_0x167414:0x3e2,_0x11cce2:0x526},_0x1a7563={_0x53c82a:0x14},_0x53d498={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x192805=()=>_0x36a5c3[_0x4c414b(0x226,0x1fe,0x27e,0x14f)]!==![];function _0x4c414b(_0xee245a,_0x191c36,_0x46b309,_0x2bbcd5){return _0x515b8f(_0xee245a-_0x1a7563._0x53c82a,_0x191c36-0x29,_0xee245a,_0x191c36- -0x24a);}async function _0x35da64(_0x1d0756,_0x688f29){const _0x176d86={_0x389b68:0x103,_0x515d71:0x76},_0x35374f={_0x24ef59:0x4be,_0x395e09:0x4e2,_0x55e5e1:0x3e1,_0x3d7aef:0x3c9,_0x74a553:0x61,_0x157f23:0xf9,_0x990090:0x12a,_0x172d1d:0x74,_0x578ee2:0x40e,_0x2d93f4:0x400,_0xf23b8c:0x382,_0x1765d5:0xbd,_0x47e526:0xdc},_0x2406bd={_0x273bec:0x15,_0x388bc8:0x46},_0x506f72=stateKey(_0x1d0756,_0x688f29),_0x5469e3=_0x53d498['clients'][_0x4f8b3e(0x2a5,0x5d9,_0x113792._0x4fecda,_0x113792._0x488f1c)](_0x5d15fc=>_0x5d15fc[_0x4f8b3e(0x559,0x3ba,0x45c,0x60b)]===_0x1d0756['id']&&_0x5d15fc[_0x5894cc(0xb,-0x17,0x123,-0x7f)]===_0x688f29);if(_0x5469e3)return _0x5469e3;if(_0x53d498[_0x4f8b3e(0x408,_0x113792._0x51883a,_0x113792._0x2b5bd7,_0x113792._0x538883)]['has'](_0x506f72))return void 0x0;function _0x4f8b3e(_0x5195d4,_0x16ac74,_0x2f2b9d,_0x4d3a2b){return _0x4c414b(_0x16ac74,_0x2f2b9d-0x104,_0x2f2b9d-0x2c,_0x4d3a2b-0x100);}const _0x117ed1=_0x53d498[_0x5894cc(0x26d,0x1f4,0xaf,0x1ea)][_0x4f8b3e(_0x113792._0x4a51a0,0x538,_0x113792._0x28352d,0x29f)](_0x506f72);if(_0x117ed1)return _0x117ed1;const _0x3ddd66=((async()=>{const _0x1dab17={_0x705c15:0x77,_0x52a4ab:0x11d};function _0x2c4cb5(_0x4d8d0a,_0x44c9b5,_0x47e534,_0x42a55a){return _0x5894cc(_0x4d8d0a-_0x1dab17._0x705c15,_0x44c9b5-_0x1dab17._0x52a4ab,_0x44c9b5-0x351,_0x47e534);}function _0x58f417(_0x29297f,_0x433082,_0x2225ee,_0x58cd33){return _0x5894cc(_0x29297f-_0x2406bd._0x273bec,_0x433082-_0x2406bd._0x388bc8,_0x58cd33- -0x171,_0x29297f);}try{const _0x3bc224=await _0x1d0756[_0x58f417(0x92,-0x109,0x101,-0x18)](_0x688f29);if(!_0x3bc224)return _0x53d498[_0x2c4cb5(0x4fe,0x5eb,_0x35374f._0x24ef59,0x713)][_0x2c4cb5(_0x35374f._0x395e09,_0x35374f._0x55e5e1,0x306,_0x35374f._0x3d7aef)](_0x506f72),void 0x0;const _0x2fd382=await createLspClient({'server':_0x1d0756,'root':_0x688f29,'handle':_0x3bc224}),_0x209e98=_0x53d498['clients'][_0x58f417(-_0x35374f._0x74a553,0x227,-0xa2,0xc5)](_0xc787f5=>_0xc787f5['serverId']===_0x1d0756['id']&&_0xc787f5['root']===_0x688f29);if(_0x209e98)return await _0x2fd382[_0x58f417(-_0x35374f._0x157f23,-_0x35374f._0x990090,0x1aa,_0x35374f._0x172d1d)](),_0x209e98;return _0x53d498['clients']['push'](_0x2fd382),_0x2fd382;}catch{return _0x53d498[_0x2c4cb5(0x510,0x5eb,0x6d0,0x4ec)][_0x58f417(-0x279,-0xfd,-0x291,-0xe1)](_0x506f72),void 0x0;}finally{_0x53d498[_0x2c4cb5(_0x35374f._0x578ee2,_0x35374f._0x2d93f4,_0x35374f._0xf23b8c,0x32c)][_0x58f417(-0x99,-0xa5,-_0x35374f._0x1765d5,_0x35374f._0x47e526)](_0x506f72);}})());_0x53d498[_0x4f8b3e(0x2aa,0x12f,0x2b6,_0x113792._0x187bb4)][_0x4f8b3e(_0x113792._0x45885c,_0x113792._0x283d71,_0x113792._0x167414,_0x113792._0x11cce2)](_0x506f72,_0x3ddd66);function _0x5894cc(_0x635510,_0x2d70b0,_0x4c54a8,_0x4e7b4c){return _0x4c414b(_0x4e7b4c,_0x4c54a8- -_0x176d86._0x389b68,_0x4c54a8-_0x176d86._0x515d71,_0x4e7b4c-0x5e);}return _0x3ddd66;}async function _0x31c37e(_0x563f20,_0x1a71ff){const _0x1757e7={_0x4b589d:0x3c},_0x4168b6={_0x5aa63d:0xef,_0x1b3e06:0x1c2,_0x18ae81:0x10a};if(!_0x192805())return[];const _0x4dffaf=[];function _0x14f741(_0x43d16b,_0x5ede99,_0x5dedcf,_0x1f0699){return _0x4c414b(_0x1f0699,_0x5ede99- -_0x4168b6._0x5aa63d,_0x5dedcf-_0x4168b6._0x1b3e06,_0x1f0699-_0x4168b6._0x18ae81);}function _0x35ed8e(_0x10d1a6,_0x1c5338,_0x1c1819,_0x47f045){return _0x4c414b(_0x47f045,_0x10d1a6-_0x1757e7._0x4b589d,_0x1c1819-0x1ad,_0x47f045-0x12d);}for(const _0x54a5e1 of getServersForFile(_0x563f20)){const _0x249b16=await _0x54a5e1[_0x35ed8e(_0x89f9c5._0x522133,_0x89f9c5._0x2e969e,0xeb,_0x89f9c5._0x5cc395)](_0x563f20);if(!_0x249b16)continue;const _0x3f8761=stateKey(_0x54a5e1,_0x249b16);if(_0x53d498[_0x35ed8e(0x3d9,0x464,0x51b,0x41d)][_0x14f741(_0x89f9c5._0x24efe3,_0x89f9c5._0x4f471f,0x236,0x216)](_0x3f8761))continue;const _0x8bdb5d=_0x53d498[_0x14f741(0x19b,0x5f,-_0x89f9c5._0x52a1fe,0x193)][_0x14f741(0x386,0x24a,0x2d3,_0x89f9c5._0x4d316e)](_0x323641=>_0x323641[_0x14f741(0x13a,0x269,0x116,0x3d4)]===_0x54a5e1['id']&&_0x323641[_0x35ed8e(0x262,0x240,0x10e,0xa4)]===_0x249b16);if(_0x8bdb5d){_0x4dffaf[_0x35ed8e(0x4e9,_0x89f9c5._0x1e0f8f,_0x89f9c5._0x2332ec,0x3f1)](_0x8bdb5d);continue;}if(!_0x1a71ff)continue;const _0x29cb9f=await _0x35da64(_0x54a5e1,_0x249b16);if(_0x29cb9f)_0x4dffaf[_0x14f741(_0x89f9c5._0x1bdf85,_0x89f9c5._0x3ec169,0x294,0x30d)](_0x29cb9f);}return _0x4dffaf;}async function _0x4cdd3c(_0x216bff,_0x8a832b=![]){const _0x4be602={_0x2483ba:0x3f0,_0x1aa228:0x3de,_0x389ee5:0x4c6,_0x2dff62:0x353,_0x1a4b5f:0x56c,_0x54d3ae:0x58d,_0x2ce412:0x5e3,_0x30f596:0x4d1,_0x45b81f:0x526,_0x445a4c:0x39c,_0x57a8e8:0x22,_0x21b636:0x2cc,_0x545cf3:0x2a2,_0x27cb55:0x4e0,_0x25e991:0x56d,_0x2dfa71:0x54a,_0x2afef3:0x210,_0x55918e:0x348},_0x2bb4bf={_0x4c97fc:0xc3,_0x38775c:0x183},_0x3e5341=await _0x31c37e(_0x216bff,!![]);function _0x4c338a(_0x1af571,_0x5a9b94,_0x414d8a,_0x57390d){return _0x4c414b(_0x1af571,_0x5a9b94-_0x304906._0x22e8fe,_0x414d8a-_0x304906._0x5f38e3,_0x57390d-0x19);}await Promise[_0x4c338a(0x326,_0x5b7d4c._0x18cdab,0x307,_0x5b7d4c._0xd43914)](_0x3e5341['map'](async _0x2a0924=>{const _0x4ecd72={_0x3541aa:0xb6,_0x53dc34:0xe6};function _0x4b4309(_0x1a6106,_0x1d6a65,_0x5d33cc,_0x5e6af3){return _0x4c338a(_0x5e6af3,_0x1a6106-_0x2bb4bf._0x4c97fc,_0x5d33cc-0x174,_0x5e6af3-_0x2bb4bf._0x38775c);}!_0x53d498[_0x407d81(0x43c,0x20f,0x39c,_0x4be602._0x2483ba)][_0x407d81(0x31d,0x2dd,0x333,0x1a8)](_0x2a0924['serverId']+':'+_0x2a0924[_0x4b4309(_0x4be602._0x1aa228,_0x4be602._0x389ee5,_0x4be602._0x2dff62,_0x4be602._0x1a4b5f)]+':'+_0x216bff)&&(await _0x2a0924[_0x4b4309(0x445,_0x4be602._0x54d3ae,_0x4be602._0x2ce412,0x2a7)][_0x407d81(_0x4be602._0x30f596,0x263,0x3ba,0x52b)]({'path':_0x216bff}),_0x53d498[_0x407d81(_0x4be602._0x45b81f,0x42f,_0x4be602._0x445a4c,0x542)][_0x407d81(0x1e7,0x236,0x1d2,_0x4be602._0x57a8e8)](_0x2a0924['serverId']+':'+_0x2a0924['root']+':'+_0x216bff));await _0x2a0924[_0x407d81(0x34b,0x122,_0x4be602._0x21b636,_0x4be602._0x545cf3)][_0x407d81(_0x4be602._0x27cb55,_0x4be602._0x25e991,0x4f0,_0x4be602._0x2dfa71)]({'path':_0x216bff,'version':nextFileVersion(_0x53d498,_0x216bff)});function _0x407d81(_0x59519c,_0x39f02d,_0x24f53d,_0x4ee7e5){return _0x4c338a(_0x59519c,_0x24f53d- -_0x4ecd72._0x3541aa,_0x24f53d-0x113,_0x4ee7e5-_0x4ecd72._0x53dc34);}if(_0x8a832b)await _0x2a0924[_0x407d81(0x2a6,0x294,_0x4be602._0x2afef3,_0x4be602._0x55918e)]({'path':_0x216bff});}));}async function _0x50f682(_0x480436){function _0x30dffb(_0x141801,_0x36db00,_0x31e1cc,_0x51c2f6){return _0x4c414b(_0x31e1cc,_0x141801- -0x2de,_0x31e1cc-0x168,_0x51c2f6-_0x16862c._0x40b2d7);}return await _0x4cdd3c(_0x480436['file'],![]),_0x31c37e(_0x480436[_0x30dffb(_0x458191._0x18da7e,_0x458191._0x1acb9e,-0xde,_0x458191._0x302f10)],![]);}async function _0x5cfc39(_0x572377){const _0x105412=await _0x50f682(_0x572377);function _0x7050c8(_0x6bcd5b,_0x43c681,_0x375194,_0x16a423){return _0x4c414b(_0x43c681,_0x16a423- -0x272,_0x375194-0x1d5,_0x16a423-0x5d);}function _0x3418f1(_0x1674cf,_0x67a34a,_0x59db07,_0x103bdb){return _0x4c414b(_0x59db07,_0x1674cf-0xac,_0x59db07-_0x5936dd._0x4a081f,_0x103bdb-0xa4);}return collectClientResults(_0x105412[_0x3418f1(0x23c,_0x4d7837._0x474d2b,_0x4d7837._0x38e966,0x1c0)](_0x4eb5cc=>_0x4eb5cc[_0x3418f1(0x31b,0x3cf,0x21a,0x20c)]['prepareCallHierarchy'](_0x572377)));}return{'isEnabled':_0x192805,async 'hasClients'(_0xbaa4aa){const _0x320cf7={_0x156a86:0x69,_0x116adc:0xd6};function _0x7df2d3(_0x159602,_0x4317e2,_0xfcd1ad,_0x58ff67){return _0x4c414b(_0x58ff67,_0x4317e2- -0x138,_0xfcd1ad-_0x320cf7._0x156a86,_0x58ff67-_0x320cf7._0x116adc);}return(await _0x31c37e(_0xbaa4aa,![]))['length']>0x0||getServersForFile(_0xbaa4aa)[_0x7df2d3(0x12b,_0x2d4640._0x24bce4,0x72,0x33e)]>0x0;},'touchFile':_0x4cdd3c,async 'diagnostics'(){const _0x410236={};function _0x30b176(_0x4e01d2,_0x12b6a8,_0x1b68ba,_0x114b60){return _0x4c414b(_0x1b68ba,_0x114b60- -0x48b,_0x1b68ba-0x53,_0x114b60-0x184);}for(const _0x47e869 of _0x53d498[_0x30b176(-_0x181f60._0x4730ec,-_0x181f60._0x2fa64b,-0x3e7,-_0x181f60._0x5299c6)]){for(const [_0x12f990,_0x1b319a]of _0x47e869['diagnostics']){_0x410236[diagnosticsKeyToPath(_0x12f990)]=_0x1b319a;}}return _0x410236;},async 'diagnosticsForFile'(_0x62753d){await _0x4cdd3c(_0x62753d,!![]);function _0x33de80(_0x5d80a6,_0x219d23,_0x21a99e,_0x401491){return _0x4c414b(_0x219d23,_0x21a99e-_0x3fe106._0x141eee,_0x21a99e-_0x3fe106._0x158a41,_0x401491-0x1b2);}const _0x23090e=[];function _0x642f34(_0x1317b3,_0x448d0d,_0x57a01b,_0x492466){return _0x4c414b(_0x448d0d,_0x57a01b- -_0x46c88b._0x4f5f69,_0x57a01b-_0x46c88b._0x849a3e,_0x492466-0x158);}for(const _0x439c89 of await _0x31c37e(_0x62753d,![])){for(const [_0x5558dd,_0x77495e]of _0x439c89[_0x642f34(_0x4a94d0._0x435258,0x252,_0x4a94d0._0x3b9084,0x167)]){if(diagnosticsKeyToPath(_0x5558dd)===_0x62753d)_0x23090e[_0x642f34(0x282,0xa9,0x164,0x8b)](..._0x77495e);}}return _0x23090e;},async 'definition'(_0x117ed9){const _0x1bd92f={_0x493e30:0x2e9,_0x1d8c84:0x89};function _0x5da327(_0x1d19d2,_0x102d78,_0x4dcd06,_0x27b603){return _0x4c414b(_0x1d19d2,_0x102d78- -_0x1bd92f._0x493e30,_0x4dcd06-0x36,_0x27b603-_0x1bd92f._0x1d8c84);}function _0x568ff1(_0xf25818,_0xc0573f,_0x5cb940,_0x2e6302){return _0x4c414b(_0xf25818,_0xc0573f-0x12c,_0x5cb940-_0x311f1a._0x17defb,_0x2e6302-0x19c);}return collectClientResults((await _0x50f682(_0x117ed9))[_0x5da327(-_0x57a7fd._0x4f96af,-0x159,-_0x57a7fd._0x95ca1c,-0x272)](_0x35479f=>_0x35479f[_0x5da327(0xcf,-0x7a,-0x191,-0xc2)]['definition'](_0x117ed9)));},async 'references'(_0x23425d){const _0x1de4e9={_0x5a3b78:0x18b},_0x759acf={_0x264f9a:0x14};function _0x3d5d65(_0x147a0b,_0x49e508,_0x5ab31c,_0x28a498){return _0x4c414b(_0x5ab31c,_0x147a0b- -0x440,_0x5ab31c-0x1ae,_0x28a498-_0x759acf._0x264f9a);}function _0x5a9f16(_0x17e177,_0x287714,_0x124a31,_0xef6b83){return _0x4c414b(_0x17e177,_0xef6b83-0x30a,_0x124a31-0x1db,_0xef6b83-_0x1de4e9._0x5a3b78);}return collectClientResults((await _0x50f682(_0x23425d))[_0x5a9f16(_0x3a1243._0x14180d,_0x3a1243._0x392224,_0x3a1243._0x5eefc8,0x49a)](_0x3e5e86=>_0x3e5e86['request'][_0x3d5d65(-0xd0,-0x17,-0xd4,0x43)](_0x23425d)));},async 'hover'(_0x428ee6){const _0x3a92b0={_0x42a5fa:0x479,_0x24bdf5:0x2e};function _0x49dfcf(_0x565c92,_0x41454d,_0x3a9681,_0x3d7bd2){return _0x4c414b(_0x565c92,_0x3d7bd2- -0x304,_0x3a9681-_0x3a3529._0x57b050,_0x3d7bd2-0xb8);}function _0x5cf71e(_0xd479f9,_0x45f321,_0x4d7027,_0x363b3f){return _0x4c414b(_0xd479f9,_0x45f321- -_0x3a92b0._0x42a5fa,_0x4d7027-_0x3a92b0._0x24bdf5,_0x363b3f-0x12c);}const _0x528cb7=await Promise[_0x5cf71e(-_0x36b29d._0x18bf7f,-0xa0,_0x36b29d._0x5f086c,-_0x36b29d._0x537feb)]((await _0x50f682(_0x428ee6))['map'](_0x239cd5=>_0x239cd5[_0x5cf71e(-0x320,-0x20a,-0x350,-0x2aa)][_0x5cf71e(0xab,0x2f,-0x1f,-0xd9)](_0x428ee6)));return _0x528cb7['flatMap'](_0x46bfdd=>_0x46bfdd[_0x49dfcf(-0x14b,-0x13a,-0x285,-0xd1)]==='fulfilled'&&_0x46bfdd[_0x5cf71e(-0x14a,-0x181,-0x54,-0x223)]?[_0x46bfdd[_0x5cf71e(-0x97,-0x181,-0xc3,-0x5)]]:[]);},async 'documentSymbol'(_0x164aa1){const _0x23d4dc={_0x83a8f1:0x38d,_0x18834f:0x16f};function _0x7690d(_0xd2c153,_0xc8e3df,_0x227a2d,_0x110a52){return _0x4c414b(_0xd2c153,_0x110a52- -_0x23d4dc._0x83a8f1,_0x227a2d-0x157,_0x110a52-_0x23d4dc._0x18834f);}await _0x4cdd3c(_0x164aa1,![]);function _0x50e89d(_0xfc44d,_0x2f95e4,_0x4ce40d,_0x95f296){return _0x4c414b(_0x4ce40d,_0xfc44d-_0x22c029._0x3a1d53,_0x4ce40d-_0x22c029._0x4a6bf7,_0x95f296-_0x22c029._0x36a94d);}return collectClientResults((await _0x31c37e(_0x164aa1,![]))[_0x50e89d(_0x50ffb4._0x49889e,_0x50ffb4._0x36a934,_0x50ffb4._0x306052,0x2ec)](_0x3377ec=>_0x3377ec[_0x50e89d(0x359,0x2a1,0x31a,0x1fa)]['documentSymbol'](_0x164aa1)));},async 'workspaceSymbol'(_0x350653){const _0x4d2270={_0x227e41:0x177,_0x1c8487:0xb1};function _0x1ebaf7(_0x170605,_0x39d0c2,_0x4e6d3b,_0x11c3e1){return _0x4c414b(_0x4e6d3b,_0x11c3e1-_0x5931cb._0x5ac680,_0x4e6d3b-_0x5931cb._0x40508f,_0x11c3e1-_0x5931cb._0x3f6d39);}function _0x5ac719(_0x5b4f66,_0x97b3e,_0x5e37f9,_0x180705){return _0x4c414b(_0x5e37f9,_0x97b3e- -0x144,_0x5e37f9-_0x4d2270._0x227e41,_0x180705-_0x4d2270._0x1c8487);}return collectClientResults(_0x53d498[_0x5ac719(_0x57f090._0x1659f3,_0x57f090._0x46e2c1,_0x57f090._0x3f430e,-0x2e)][_0x1ebaf7(0x4f5,_0x57f090._0x62e94,_0x57f090._0x3c7dcd,0x344)](_0x18fcab=>_0x18fcab[_0x5ac719(-0x40,0x12b,0x2e5,0x126)][_0x5ac719(0x277,0x204,0x1b3,0x361)](_0x350653)));},async 'implementation'(_0x1531b9){const _0x517f08={_0x330ef0:0x5f};function _0x31f889(_0x2cc93d,_0x1beaa0,_0x37b8d5,_0x5b341f){return _0x4c414b(_0x5b341f,_0x1beaa0-0x1bd,_0x37b8d5-_0x517f08._0x330ef0,_0x5b341f-0xa6);}return collectClientResults((await _0x50f682(_0x1531b9))['map'](_0x547675=>_0x547675[_0x31f889(0x3b4,0x42c,0x3f0,0x2dd)]['implementation'](_0x1531b9)));},async 'prepareCallHierarchy'(_0x377c59){return _0x5cfc39(_0x377c59);},async 'incomingCalls'(_0xa56093){const _0xea1802=await _0x5cfc39(_0xa56093),_0x61a465=await _0x50f682(_0xa56093);function _0x330b4b(_0x843118,_0x46389a,_0x1b4299,_0x593214){return _0x4c414b(_0x46389a,_0x593214- -_0x25b097._0x1af826,_0x1b4299-0xf,_0x593214-_0x25b097._0x4f85d4);}function _0x27ff0b(_0x26ed05,_0xaadd9c,_0x45ce5c,_0x52a207){return _0x4c414b(_0x45ce5c,_0x52a207- -0x23a,_0x45ce5c-0x50,_0x52a207-0xa0);}return collectClientResults(_0x61a465[_0x27ff0b(_0x501c18._0x27b82c,_0x501c18._0x9f3bbd,0x146,_0x501c18._0x3e0ab9)](_0x593290=>_0xea1802[_0x27ff0b(-0xd0,-0x18f,-0x105,-0xaa)](_0x5efd01=>_0x593290[_0x27ff0b(0xae,0x146,-0x169,0x35)][_0x27ff0b(0x9b,0xac,0x16b,0x1a2)](_0x5efd01))));},async 'outgoingCalls'(_0xa7feb7){const _0x4901c7={_0x1dcb37:0xfb,_0x40d9d1:0x1d0},_0x31c881={_0x4e30cb:0x393,_0x53841d:0xc0},_0x10a58e=await _0x5cfc39(_0xa7feb7);function _0x59c1ca(_0x1ff07d,_0x4e342d,_0x3808b6,_0x40f839){return _0x4c414b(_0x40f839,_0x4e342d- -_0x31c881._0x4e30cb,_0x3808b6-_0x31c881._0x53841d,_0x40f839-0x1e7);}function _0x2d5a8a(_0x3c79ee,_0x34cc1e,_0x14c11f,_0x248f18){return _0x4c414b(_0x14c11f,_0x3c79ee- -0x195,_0x14c11f-_0x4901c7._0x1dcb37,_0x248f18-_0x4901c7._0x40d9d1);}const _0x28e4a1=await _0x50f682(_0xa7feb7);return collectClientResults(_0x28e4a1[_0x2d5a8a(0x1c5,_0x6d1f63._0xaa3f73,_0x6d1f63._0x17ebde,0x4)](_0x39801a=>_0x10a58e[_0x2d5a8a(-0x5,-0x3b,0xf3,-0x122)](_0x9ea050=>_0x39801a[_0x59c1ca(-0x24b,-0x124,-0x11a,-0x19c)][_0x59c1ca(0x5f,0x66,0x211,0x17e)](_0x9ea050))));},async 'shutdown'(){function _0x3b4274(_0x4d2403,_0x51c3d9,_0x2001ad,_0x258f0a){return _0x4c414b(_0x4d2403,_0x2001ad- -0x1e8,_0x2001ad-_0x1c79ac._0x4f995e,_0x258f0a-0x8c);}if(_0x53d498[_0x1d0196(0x42a,_0x42503d._0xb5f4b4,_0x42503d._0x535f6d,_0x42503d._0x33aea4)])return;_0x53d498[_0x1d0196(0x452,0x54e,0x465,0x2de)]=!![],await Promise[_0x1d0196(_0x42503d._0x13426c,_0x42503d._0x248257,_0x42503d._0x465148,0x653)](_0x53d498['clients'][_0x1d0196(0x3ab,_0x42503d._0x10dcbc,_0x42503d._0x159a53,0x4ec)](_0x21a19b=>_0x21a19b[_0x3b4274(0xa1,-0xaa,0x100,0x28)]()));function _0x1d0196(_0xbad3fa,_0x5d52b1,_0x40abf6,_0x405cd9){return _0x4c414b(_0xbad3fa,_0x40abf6-_0x1d8a5b._0x385ff7,_0x40abf6-0x2e,_0x405cd9-_0x1d8a5b._0xc1a5db);}_0x53d498[_0x3b4274(_0x42503d._0x1bd69a,-0x1fe,-_0x42503d._0x2d72ee,_0x42503d._0x4dc8a7)]=[],_0x53d498[_0x3b4274(-0x128,_0x42503d._0x59fae5,-_0x42503d._0x3cb768,-_0x42503d._0x32e4c9)][_0x3b4274(_0x42503d._0x184726,_0x42503d._0xf8f39f,-0x70,-_0x42503d._0x4e6b45)](),_0x53d498[_0x1d0196(0x701,0x70f,0x60b,_0x42503d._0x1d2ddc)][_0x3b4274(-0x14e,-_0x42503d._0x2f1c48,-_0x42503d._0x3e4e00,-_0x42503d._0x1214a9)](),_0x53d498[_0x1d0196(_0x42503d._0x34fc3c,_0x42503d._0x363d02,0x3d3,0x595)][_0x1d0196(_0x42503d._0x86aabd,0x3a2,0x3e6,_0x42503d._0x154d4e)](),_0x53d498[_0x3b4274(0x100,_0x42503d._0x4dd769,0x175,_0x42503d._0x1719c4)][_0x3b4274(-_0x42503d._0x3e4776,_0x42503d._0x57af95,-_0x42503d._0x2a2e23,-0x88)]();},'status'(){const _0x3f361c={_0x21ba92:0x73,_0x3e71d2:0x1dd};function _0x362f49(_0x2fa108,_0x1ca607,_0xc56f58,_0x131d11){return _0x4c414b(_0x131d11,_0x1ca607-_0x3f361c._0x21ba92,_0xc56f58-_0x3f361c._0x3e71d2,_0x131d11-0x42);}return{'connectedClients':_0x53d498['clients'][_0x362f49(0x4ba,0x3ad,_0x8678c5._0x2d50cd,_0x8678c5._0xfe4b05)]};}};}function createQuestionId(){const _0x3df059={_0x52a350:0x51a,_0x59441f:0x494,_0xec9826:0x5d4,_0x5577e7:0x62c,_0xe6ece4:0x546,_0x6a07ca:0x44a,_0x18461a:0x532},_0xe7c2d3={_0xf69e37:0x76,_0x1d2072:0x48c},_0x1ce7ad={_0x38d671:0x8e};function _0x4515fd(_0x4c4574,_0x5003c1,_0xfb4c8b,_0x571361){return _0x1c3a85(_0x4c4574-_0x1ce7ad._0x38d671,_0xfb4c8b,_0xfb4c8b-0xe8,_0x4c4574-0x22c);}function _0x4db5ea(_0x43c447,_0x28ccc6,_0x224974,_0x426551){return _0x1c3a85(_0x43c447-0x61,_0x224974,_0x224974-_0xe7c2d3._0xf69e37,_0x28ccc6-_0xe7c2d3._0x1d2072);}return _0x4db5ea(0x469,_0x3df059._0x52a350,_0x3df059._0x59441f,0x445)+Date['now']()+'-'+Math[_0x4db5ea(0x6c6,_0x3df059._0xec9826,_0x3df059._0x5577e7,_0x3df059._0xe6ece4)]()['toString'](0x24)[_0x4db5ea(_0x3df059._0x6a07ca,_0x3df059._0x18461a,0x694,0x414)](0x2,0x9);}function validateInput(_0x1eeafa){const _0x5f54cf={_0x3c54a4:0x11a,_0x41feaa:0x121,_0x25dd1e:0x1b6,_0x1281a9:0x21b,_0x18e579:0xa4,_0x3f7a5d:0x29b,_0xffd596:0x1d7,_0x39d214:0x2a6,_0x6c50d7:0xb2,_0x43dc06:0x81,_0x6c804:0x32,_0x3e6bcd:0x5e,_0x4c2449:0xe6,_0x115dba:0x506,_0x3e56bc:0x29c,_0x1592a1:0x400,_0x4e2839:0x24b,_0x195c4a:0x134,_0x5b33f3:0x229,_0x929b33:0x183,_0x5d9904:0x309,_0xf83a30:0x1ce,_0x39b71b:0x27b,_0x390681:0x4c0,_0x6d3be6:0x436,_0x4a374a:0x325,_0x29e846:0x35f,_0x1fa8e8:0x25c,_0x1e071b:0x89,_0x238e96:0xcd,_0x2cf7fa:0x3bd,_0x4b001b:0x34f,_0x1354c5:0x135,_0x15e672:0x20a,_0x4be7be:0xbf,_0x32fbbc:0x331,_0xfa85ca:0x12a,_0x412bb9:0x9,_0x378dd0:0x239,_0x594c74:0x380,_0x340cc9:0x54a,_0xe5554b:0x3a8,_0x253c67:0x222,_0x1fcd37:0x24f,_0x50b0f5:0x20c,_0x4b8049:0x2a8,_0x41906f:0x135,_0x3f3179:0x1fa,_0x2a0e17:0x160,_0x113b04:0x327,_0x42e4a2:0x2e1,_0xa18b68:0x21a,_0x1206cb:0x2c0,_0x43f232:0x3a8,_0x435d25:0x168,_0x2eed9c:0x93,_0x46a4a5:0x3d,_0xbe4c02:0x19a,_0x574463:0x2f7,_0x58ef81:0x3f4,_0xe9f3:0x8,_0x3a0a10:0x10c,_0x14c0d0:0xd,_0x45ba69:0x43b,_0x5926ec:0x27b,_0x19c72b:0x193},_0x5c83a6={_0x2d0e98:0x61,_0x17c910:0x63,_0x480e03:0x11f},_0x20c2e3={_0x128fc1:0xe5,_0x4895cf:0x1ba};function _0x135ef4(_0x686283,_0x3fb1fb,_0x5d15f7,_0x566438){return _0x1c3a85(_0x686283-0x3c,_0x3fb1fb,_0x5d15f7-_0x20c2e3._0x128fc1,_0x5d15f7- -_0x20c2e3._0x4895cf);}if(!Array[_0x135ef4(0x53,-_0x5f54cf._0x3c54a4,-_0x5f54cf._0x41feaa,-_0x5f54cf._0x25dd1e)](_0x1eeafa[_0x135ef4(-0xc6,_0x5f54cf._0x1281a9,_0x5f54cf._0x18e579,0x37)])||_0x1eeafa['questions']['length']<0x1||_0x1eeafa['questions'][_0x444385(_0x5f54cf._0x3f7a5d,0x9e,_0x5f54cf._0xffd596,0x21a)]>0xa)throw new ToolExecutionError(_0x444385(0x32e,0x1b0,_0x5f54cf._0x39d214,0x289),{'error':_0x444385(_0x5f54cf._0x6c50d7,_0x5f54cf._0x43dc06,-0x6f,0x4f)});function _0x444385(_0x4b13d5,_0x22b134,_0x55a688,_0x2360c2){return _0x1c3a85(_0x4b13d5-_0x5c83a6._0x2d0e98,_0x4b13d5,_0x55a688-_0x5c83a6._0x17c910,_0x2360c2-_0x5c83a6._0x480e03);}for(let _0x396cae=0x0;_0x396cae<_0x1eeafa[_0x135ef4(-0x92,_0x5f54cf._0x6c804,0xa4,-_0x5f54cf._0x3e6bcd)][_0x444385(0x66,0x276,_0x5f54cf._0x4c2449,0x21a)];_0x396cae+=0x1){const _0x5b8d65=_0x1eeafa[_0x444385(_0x5f54cf._0x115dba,_0x5f54cf._0x3e56bc,_0x5f54cf._0x1592a1,0x37d)][_0x396cae];if(!_0x5b8d65[_0x444385(0x215,0x351,_0x5f54cf._0x4e2839,0x2af)]||typeof _0x5b8d65['question']!==_0x444385(_0x5f54cf._0x195c4a,_0x5f54cf._0x5b33f3,_0x5f54cf._0x929b33,0x13e))throw new ToolExecutionError(_0x135ef4(-_0x5f54cf._0x5d9904,-_0x5f54cf._0xf83a30,-_0x5f54cf._0x39b71b,-0x429)+(_0x396cae+0x1)+_0x444385(0x22e,_0x5f54cf._0x390681,0x550,0x3a4));if(!_0x5b8d65[_0x444385(0x4d9,0x370,_0x5f54cf._0x6d3be6,_0x5f54cf._0x4a374a)]||typeof _0x5b8d65[_0x444385(0x4bb,_0x5f54cf._0x29e846,0x1f1,_0x5f54cf._0x4a374a)]!==_0x135ef4(-_0x5f54cf._0x1fa8e8,-0x28b,-0x19b,-_0x5f54cf._0x1e071b))throw new ToolExecutionError(_0x135ef4(-_0x5f54cf._0x238e96,-_0x5f54cf._0x2cf7fa,-_0x5f54cf._0x39b71b,-_0x5f54cf._0x4b001b)+(_0x396cae+0x1)+_0x444385(_0x5f54cf._0x1354c5,0x176,0x120,0x280));if(_0x5b8d65[_0x444385(0x1e6,0x227,0x3f4,0x325)][_0x135ef4(-0x77,-_0x5f54cf._0x15e672,-_0x5f54cf._0x4be7be,-0xf3)]>0x1e)throw new ToolExecutionError(_0x135ef4(-0x3fc,-_0x5f54cf._0x32fbbc,-0x27b,-0x39e)+(_0x396cae+0x1)+_0x135ef4(_0x5f54cf._0xfa85ca,-_0x5f54cf._0x412bb9,0x20,-0x53)+_0x5b8d65[_0x135ef4(0x51,-0x1,0x4c,0x12b)][_0x135ef4(-_0x5f54cf._0x378dd0,-0x1db,-0xbf,-0x17b)]);if(!Array['isArray'](_0x5b8d65['options'])||_0x5b8d65[_0x444385(_0x5f54cf._0x594c74,0x376,_0x5f54cf._0x340cc9,_0x5f54cf._0xe5554b)][_0x135ef4(-_0x5f54cf._0x253c67,-_0x5f54cf._0x1fcd37,-0xbf,-_0x5f54cf._0x50b0f5)]<0x2||_0x5b8d65['options'][_0x444385(_0x5f54cf._0x4b8049,0x18c,_0x5f54cf._0x41906f,0x21a)]>0x4)throw new ToolExecutionError('Question\x20'+(_0x396cae+0x1)+_0x444385(_0x5f54cf._0x3f3179,0x10d,0x280,_0x5f54cf._0x2a0e17));for(let _0x1c1a37=0x0;_0x1c1a37<_0x5b8d65['options'][_0x444385(_0x5f54cf._0x113b04,_0x5f54cf._0x42e4a2,0xf6,_0x5f54cf._0xa18b68)];_0x1c1a37+=0x1){const _0x282891=_0x5b8d65[_0x444385(0x4dc,_0x5f54cf._0x1206cb,0x20e,_0x5f54cf._0x43f232)][_0x1c1a37];if(!_0x282891[_0x135ef4(0x91,-_0x5f54cf._0x435d25,-0xe4,-0x103)]||!_0x282891[_0x444385(_0x5f54cf._0x2eed9c,_0x5f54cf._0x46a4a5,0x17c,_0x5f54cf._0xbe4c02)])throw new ToolExecutionError(_0x135ef4(-_0x5f54cf._0x574463,-_0x5f54cf._0x58ef81,-_0x5f54cf._0x39b71b,-0x161)+(_0x396cae+0x1)+_0x135ef4(-_0x5f54cf._0xe9f3,-_0x5f54cf._0x3a0a10,0x34,-0x1)+(_0x1c1a37+0x1)+_0x444385(_0x5f54cf._0x14c0d0,0x17b,-0xd,0x1b3));}if(typeof _0x5b8d65['multiSelect']!=='boolean')throw new ToolExecutionError(_0x135ef4(-_0x5f54cf._0x45ba69,-0x3e7,-_0x5f54cf._0x5926ec,-_0x5f54cf._0x19c72b)+(_0x396cae+0x1)+_0x135ef4(-0x1c2,-0x39f,-0x1e0,-0x325));}}function buildQuestions(_0x429b73){const _0x4866a4={_0xb44ba2:0xbb,_0x5ba330:0x232,_0x48c83d:0x261},_0x553d4e={_0x29641f:0x46,_0xe4de69:0x56d},_0x3eb47f={_0x34c38f:0xf,_0x21851c:0xbe,_0x4c67b8:0x46e};function _0x47dfa7(_0x23ab41,_0x21f219,_0x300996,_0x4ae51c){return _0x1c3a85(_0x23ab41-_0x3eb47f._0x34c38f,_0x23ab41,_0x300996-_0x3eb47f._0x21851c,_0x4ae51c-_0x3eb47f._0x4c67b8);}function _0x5aece3(_0x363be9,_0xaf4840,_0xf9dd90,_0x20f878){return _0x515b8f(_0x363be9-_0x553d4e._0x29641f,_0xaf4840-0x26,_0xaf4840,_0x363be9- -_0x553d4e._0xe4de69);}return _0x429b73['questions'][_0x5aece3(-0x193,-_0x4866a4._0xb44ba2,-_0x4866a4._0x5ba330,-_0x4866a4._0x48c83d)]((_0x3b02c1,_0x1522e9)=>({'id':'q'+_0x1522e9,'question':_0x3b02c1[_0x47dfa7(0x79b,0x445,0x608,0x5fe)],'topic':_0x3b02c1[_0x47dfa7(0x70f,0x75f,0x5bd,0x674)],'options':_0x3b02c1['options'],'multiSelect':_0x3b02c1[_0x47dfa7(0x27f,0x3d9,0x203,0x3a6)]}));}function createResult(_0xf2ff41,_0x3f4d2d,_0x4835b8){const _0x3f725d={_0x4618b2:0x429,_0x1049fd:0x340},_0x1a867f={_0x107cd9:0x2f5},_0x428e24={'questionId':_0xf2ff41,'questionCount':_0x3f4d2d,'answers':_0x4835b8};function _0xc8c254(_0x51508d,_0xb308af,_0x12ed5f,_0x80427d){return _0x1c3a85(_0x51508d-0xc6,_0x12ed5f,_0x12ed5f-0x17b,_0xb308af-_0x1a867f._0x107cd9);}return createToolOutput(_0xc8c254(_0x3f725d._0x4618b2,0x449,0x4f6,_0x3f725d._0x1049fd)+JSON['stringify'](_0x4835b8,null,0x2),_0x428e24);}function createAskUserTool(){const _0x466935={_0x144fd7:0x191,_0xe67aa0:0x7b,_0x34d585:0xa3,_0x54e568:0x11a,_0x4b392c:0x42,_0x18d85f:0x4a,_0x3c8a91:0x18a,_0x5c0594:0xf2,_0x543dbc:0x242,_0x43e32e:0x1a7,_0x5d4296:0x4a,_0x787f36:0xf3,_0x1592c0:0x17e,_0x29ef3a:0x1e,_0x30c744:0x4b,_0x430d88:0x251,_0x5c2475:0x100,_0x240e8b:0x91,_0x43007a:0x10c,_0x599860:0x28a,_0x475a5b:0x224,_0x10cb52:0x170,_0x13b910:0xf,_0x1c4edb:0x1c3,_0x55d129:0x22e,_0x140d4e:0x52c,_0x45b903:0x27f,_0x2075bd:0xe0,_0x3f72a3:0x221,_0x1d17e0:0x297},_0x452401={_0x3bce0e:0x1c1,_0x4141ae:0x171,_0x25606c:0x46c,_0x50f247:0x384,_0x448edc:0x348,_0x2b8f74:0x1c,_0x5e3297:0xf6,_0x580fab:0xc8,_0x4f5d94:0xee,_0x53bfc6:0x5f,_0x22020e:0x14,_0x567ba5:0x3f6,_0x3c7101:0x472,_0x18f57d:0x297},_0x14ddd7={_0xae0f39:0xbb},_0xd5cd57={_0x352952:0x4,_0x765f54:0x62,_0x49a00c:0x4c6};function _0x2662e9(_0x46f93f,_0x9be8f5,_0xdceba5,_0x56163b){return _0x515b8f(_0x46f93f-_0xd5cd57._0x352952,_0x9be8f5-_0xd5cd57._0x765f54,_0xdceba5,_0x9be8f5- -_0xd5cd57._0x49a00c);}function _0x4afca8(_0x2cffc2,_0x3dc4c3,_0x59e0ef,_0x1d025f){return _0x515b8f(_0x2cffc2-0xfc,_0x3dc4c3-_0x14ddd7._0xae0f39,_0x3dc4c3,_0x1d025f- -0x39c);}return defineTool({'name':_0x4afca8(0x41a,0x3ea,0x1eb,0x31d),'permissionClass':_0x4afca8(0x349,_0x466935._0x144fd7,0x181,0x1ea),'description':_0x4afca8(0x1af,_0x466935._0xe67aa0,-_0x466935._0x34d585,_0x466935._0x54e568),'inputSchema':{'type':_0x2662e9(-_0x466935._0x4b392c,-_0x466935._0x18d85f,-0x2,-_0x466935._0x3c8a91),'properties':{'questions':{'type':_0x4afca8(_0x466935._0x5c0594,_0x466935._0x543dbc,0x7a,_0x466935._0x43e32e),'items':{'type':_0x2662e9(-0x1dc,-_0x466935._0x5d4296,_0x466935._0x787f36,0x59),'properties':{'question':{'type':_0x2662e9(-0x16,-0x1e,-0x1c5,-_0x466935._0x1592c0)},'topic':{'type':_0x2662e9(-0x167,-_0x466935._0x29ef3a,-0x11c,-_0x466935._0x30c744)},'options':{'type':_0x4afca8(0x29d,_0x466935._0x430d88,-0x6,0x1a7),'items':{'type':_0x2662e9(-_0x466935._0x5c2475,-0x4a,-0x1c2,-_0x466935._0x240e8b),'properties':{'label':{'type':_0x4afca8(0x2c8,0x2c5,0x1eb,_0x466935._0x43007a)},'description':{'type':_0x4afca8(_0x466935._0x599860,-0x48,0xe6,_0x466935._0x43007a)}},'required':[_0x4afca8(_0x466935._0x475a5b,_0x466935._0x10cb52,_0x466935._0x13b910,_0x466935._0x1c4edb),_0x4afca8(0xe0,0x1d6,0xae,0x168)]}},'multiSelect':{'type':_0x4afca8(_0x466935._0x55d129,0x237,0x1ad,0x32e)}},'required':[_0x4afca8(0x138,0x321,0x1bb,0x27d),'topic',_0x4afca8(0x1ce,_0x466935._0x140d4e,0x2ea,0x376),_0x2662e9(-_0x466935._0x45b903,-0x105,0x46,-0x22d)]}},'answers':{'type':_0x4afca8(0x217,-0x5d,0x22d,_0x466935._0x2075bd),'properties':{}}},'required':[_0x2662e9(0x32d,_0x466935._0x3f72a3,0x163,_0x466935._0x1d17e0)]},async *'execute'(_0x15febd,_0x5df414){const _0x1ef764={_0x2656d5:0x1c6,_0x269970:0x172};function _0x4f2bcb(_0x4e4b98,_0x43d95f,_0x3c2e7c,_0x1eeab3){return _0x2662e9(_0x4e4b98-0xa3,_0x1eeab3-0x127,_0x4e4b98,_0x1eeab3-0xd4);}const _0x58cde3=_0x15febd;validateInput(_0x58cde3);const _0x3bb173=_0x5df414[_0x505cc0(0x1a4,-0x155,0x22,0x1ca)]??createQuestionId();if(_0x58cde3['answers']&&Object[_0x4f2bcb(_0x452401._0x3bce0e,0x28c,-0xb5,0xff)](_0x58cde3['answers'])[_0x505cc0(-_0x452401._0x4141ae,0x46,-0xb4,-0xde)]>0x0)return createResult(_0x3bb173,_0x58cde3[_0x4f2bcb(_0x452401._0x25606c,_0x452401._0x50f247,0x294,_0x452401._0x448edc)]['length'],_0x58cde3['answers']);if(!_0x5df414[_0x505cc0(_0x452401._0x2b8f74,-0x12f,-0x14,0x86)])throw new ToolExecutionError(_0x505cc0(_0x452401._0x5e3297,-0x189,-_0x452401._0x580fab,-_0x452401._0x4f5d94));const _0x5b888a=buildQuestions(_0x58cde3);function _0x505cc0(_0x288440,_0x2a81e6,_0x5682f3,_0x12838d){return _0x2662e9(_0x288440-_0x1ef764._0x2656d5,_0x5682f3- -_0x1ef764._0x269970,_0x2a81e6,_0x12838d-0x6b);}const _0x217f87=await _0x5df414[_0x505cc0(-0x1,-_0x452401._0x53bfc6,-_0x452401._0x22020e,0x10e)]({'questionId':_0x3bb173,'questions':_0x5b888a});yield createResult(_0x3bb173,_0x58cde3[_0x4f2bcb(_0x452401._0x567ba5,_0x452401._0x3c7101,0x471,_0x452401._0x448edc)][_0x4f2bcb(_0x452401._0x18f57d,0x331,0xaa,0x1e5)],_0x217f87);}});}import{randomUUID}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0x1e539d}from'child_process';function errorMessage(_0x47c068){return _0x47c068 instanceof Error?_0x47c068['message']:String(_0x47c068);}function isNotFound(_0x3cb33c){const _0x52be2b={_0x347bc4:0x65,_0x3e3243:0x12c,_0x68eb8:0x1d8,_0x1f9e64:0xc1,_0x3545ce:0x1a1,_0x31817c:0x2fa,_0x52f872:0x17c,_0x2439da:0x141,_0x110886:0x30c},_0x278761={_0x5f2ad9:0x141,_0x24db25:0x401},_0xfa523={_0x10fe9d:0x164,_0x2f7b8e:0x6f1};function _0x5865a6(_0x19f84c,_0xa0d4a5,_0x2f157f,_0x3c9168){return _0x515b8f(_0x19f84c-_0xfa523._0x10fe9d,_0xa0d4a5-0x69,_0x19f84c,_0xa0d4a5- -_0xfa523._0x2f7b8e);}function _0x197558(_0x18b759,_0x5e221b,_0x2ac352,_0x74e85e){return _0x515b8f(_0x18b759-0x97,_0x5e221b-_0x278761._0x5f2ad9,_0x18b759,_0x5e221b- -_0x278761._0x24db25);}return typeof _0x3cb33c===_0x197558(_0x52be2b._0x347bc4,0x7b,0x33,-0x109)&&_0x3cb33c!==null&&_0x5865a6(-_0x52be2b._0x3e3243,-0xc1,-0xce,0xf5)in _0x3cb33c&&_0x3cb33c[_0x5865a6(-_0x52be2b._0x68eb8,-_0x52be2b._0x1f9e64,-0x14c,-_0x52be2b._0x3545ce)]===_0x5865a6(-_0x52be2b._0x31817c,-_0x52be2b._0x52f872,-_0x52be2b._0x2439da,-_0x52be2b._0x110886);}function isSafeProcessId(_0xbef9b0){const _0x94fcb8={_0x12c791:0xa};function _0x5310f4(_0x1d394d,_0x29d94c,_0x2d6c2c,_0x2a02e3){return _0x515b8f(_0x1d394d-0x149,_0x29d94c-0x40,_0x2d6c2c,_0x29d94c- -0x4bf);}return _0xbef9b0!==void 0x0&&Number[_0x5310f4(0x127,0x163,-_0x94fcb8._0x12c791,0x1ea)](_0xbef9b0)&&_0xbef9b0>0x1;}function createProcessTreeSignalAdapter(_0x4c032e={}){const _0x160b9f={_0x15be6c:0x49c,_0x4e2f94:0x64d,_0x3a2520:0x63d,_0x5debf9:0x5cb,_0xc77bd7:0x44e,_0x43729e:0x32e,_0x1c8d3c:0x42c,_0x5465aa:0x447,_0x53048c:0x5aa,_0x28216a:0x29e,_0xbdc201:0x95,_0x691c85:0x1d7,_0x25b6f1:0xf2},_0x5a7f83={_0x3337ee:0x572,_0x3e19c4:0x229,_0x671947:0x1dd,_0x271f0a:0x15a,_0x5c756f:0xb1,_0x1dd32d:0x36f,_0x13ef8f:0x38f,_0x4a721a:0x5f3,_0xed28e7:0x28f,_0x3a4640:0x2e0,_0x456906:0x2ec,_0x35adb6:0x307,_0x5b4ef1:0x21d,_0x506719:0x3e9,_0x23baf1:0x554,_0x4d9974:0x154,_0xba589f:0x23,_0x514793:0x36b,_0x5240ea:0x4ef,_0x2a8704:0x465},_0x7b514d={_0x30e2b5:0x17d,_0x1d6a39:0x164},_0x26c073={_0x4c9704:0x16d},_0x307b1d={_0x2108aa:0x1,_0x1fe980:0xb5},_0x508b0f=_0x4c032e[_0x19b890(_0x160b9f._0x15be6c,0x515,_0x160b9f._0x4e2f94,0x5cb)]??process[_0x19b890(_0x160b9f._0x3a2520,0x5f5,0x5e6,_0x160b9f._0x5debf9)];function _0xdafae2(_0x33de3a,_0xa8575b,_0x35cc3f,_0x5a222e){return _0x515b8f(_0x33de3a-_0x307b1d._0x2108aa,_0xa8575b-_0x307b1d._0x1fe980,_0x5a222e,_0x35cc3f- -0x67d);}const _0x5379b7=_0x4c032e[_0x19b890(0x367,_0x160b9f._0xc77bd7,_0x160b9f._0x43729e,_0x160b9f._0x1c8d3c)]??process[_0x19b890(0x3b2,0x2ec,0x285,0x42c)][_0x19b890(0x774,_0x160b9f._0x5465aa,_0x160b9f._0x53048c,0x5f4)](process);function _0x19b890(_0x3c4089,_0x3e3f14,_0x5a8ba6,_0x659baa){return _0x515b8f(_0x3c4089-_0x26c073._0x4c9704,_0x3e3f14-0x17c,_0x3e3f14,_0x659baa- -0x3d);}const _0x4a487b=_0x4c032e[_0xdafae2(-_0x160b9f._0x28216a,-_0x160b9f._0xbdc201,-_0x160b9f._0x691c85,-_0x160b9f._0x25b6f1)]??_0x1e539d;return{async 'signal'(_0x26fda9,_0x351b89){const _0x524ba8={_0x31339b:0x4fb,_0x294e67:0x6a0,_0x6d4fa8:0x378,_0x19fa77:0x347,_0x1ce02c:0x16,_0x46de03:0x30d,_0x7a7f9f:0x29e,_0x41e430:0x27f,_0x3e0824:0x3c1,_0x1b66b7:0x3d2,_0x225b31:0x4f0,_0x1bfa65:0x290,_0x32d6f5:0x385,_0xe594f3:0x475,_0xc9a26f:0x3d,_0x518f04:0x6a3,_0x489d1a:0x4a7},_0x551654={_0x1ccc39:0x1a6};if(_0x508b0f!==_0xe13ff1(_0x5a7f83._0x3337ee,_0x5a7f83._0x3e19c4,0x3d7,0x54e)){if(!isSafeProcessId(_0x26fda9['processGroupId']))return{'outcome':'failed','error':'Unsafe\x20or\x20missing\x20POSIX\x20process\x20group\x20id'};try{return _0x5379b7(-_0x26fda9[_0x39ed75(-_0x5a7f83._0x671947,-0x16e,-_0x5a7f83._0x271f0a,-_0x5a7f83._0x5c756f)],_0x351b89===_0xe13ff1(0x3f8,0x475,_0x5a7f83._0x1dd32d,0x372)?_0xe13ff1(0x341,_0x5a7f83._0x13ef8f,0x458,_0x5a7f83._0x4a721a):'SIGKILL'),{'outcome':_0x39ed75(_0x5a7f83._0xed28e7,0x2a0,0x2a,0x1e9)};}catch(_0x568862){return isNotFound(_0x568862)?{'outcome':_0x39ed75(_0x5a7f83._0x3a4640,_0x5a7f83._0x456906,_0x5a7f83._0x35adb6,_0x5a7f83._0x5b4ef1),'error':errorMessage(_0x568862)}:{'outcome':_0xe13ff1(_0x5a7f83._0x506719,0x364,0x3c5,_0x5a7f83._0x23baf1),'error':errorMessage(_0x568862)};}}function _0xe13ff1(_0x9c3915,_0x491620,_0x155d38,_0x7072cb){return _0xdafae2(_0x9c3915-0x47,_0x491620-0xde,_0x155d38-0x57f,_0x7072cb);}function _0x39ed75(_0x141db4,_0x3b50ed,_0x3cda43,_0x11f891){return _0xdafae2(_0x141db4-_0x7b514d._0x30e2b5,_0x3b50ed-_0x7b514d._0x1d6a39,_0x11f891-0x187,_0x3cda43);}if(!isSafeProcessId(_0x26fda9[_0x39ed75(0x57,-_0x5a7f83._0x4d9974,-0x9f,_0x5a7f83._0xba589f)]))return{'outcome':_0xe13ff1(_0x5a7f83._0x514793,_0x5a7f83._0x5240ea,0x3c5,_0x5a7f83._0x2a8704),'error':_0x39ed75(0x12a,0x8c,-0x1a8,-0x5)};return new Promise(_0x80945b=>{const _0x310042={_0x21d9c0:0x405,_0x2f0d1f:0x4cc,_0x15e1f8:0x19,_0x4c7fb2:0x85,_0x574f97:0x26f,_0x4e8c7d:0x1eb},_0x17d858={_0x25d9f4:0x37,_0x48756c:0x5e6};let _0x263f19=![];function _0x63aa5d(_0x43902a,_0x2e0011,_0x39ebbe,_0x358076){return _0xe13ff1(_0x43902a-_0x17d858._0x25d9f4,_0x2e0011-0x65,_0x358076- -_0x17d858._0x48756c,_0x43902a);}const _0x4040e4=_0x20aa34=>{if(_0x263f19)return;_0x263f19=!![],_0x80945b(_0x20aa34);};let _0x569368;try{const _0x5aa569=[_0x1328a8(0x35c,0x5ea,_0x524ba8._0x31339b,_0x524ba8._0x294e67),String(_0x26fda9[_0x63aa5d(-_0x524ba8._0x6d4fa8,-_0x524ba8._0x19fa77,-_0x524ba8._0x1ce02c,-0x1cb)]),'/T'];if(_0x351b89===_0x1328a8(0x493,0x174,0x327,_0x524ba8._0x46de03))_0x5aa569['push']('/F');_0x569368=_0x4a487b(_0x63aa5d(-_0x524ba8._0x7a7f9f,-0x3da,-0x201,-_0x524ba8._0x41e430),_0x5aa569,{'stdio':_0x1328a8(0x439,0x1a4,0x2e0,_0x524ba8._0x3e0824),'windowsHide':!![]});}catch(_0x440b9b){_0x4040e4({'outcome':_0x1328a8(0x30d,0x322,_0x524ba8._0x1b66b7,_0x524ba8._0x225b31),'error':errorMessage(_0x440b9b)});return;}function _0x1328a8(_0x102dac,_0x3d2be5,_0x439082,_0x3f7058){return _0x39ed75(_0x102dac-_0x551654._0x1ccc39,_0x3d2be5-0x17e,_0x102dac,_0x439082-0x405);}_0x569368[_0x1328a8(_0x524ba8._0x1bfa65,0x54e,0x40d,_0x524ba8._0x32d6f5)](_0x1328a8(0x559,_0x524ba8._0xe594f3,0x429,0x2a3),_0x586da0=>{_0x4040e4(isNotFound(_0x586da0)?{'outcome':'not-found','error':errorMessage(_0x586da0)}:{'outcome':'failed','error':errorMessage(_0x586da0)});}),_0x569368[_0x63aa5d(-0x269,-_0x524ba8._0xc9a26f,-0x39b,-0x1e6)](_0x1328a8(_0x524ba8._0x518f04,_0x524ba8._0x489d1a,0x5ed,0x689),_0x48a90c=>{const _0x44c3f7={_0xc1dcdd:0xa8,_0x4985cc:0xd1,_0x2b9cc0:0x5c7},_0xabd3f0={_0x5c9dd2:0xfa,_0x86c32c:0x248};function _0x467286(_0x2c0bf9,_0x2f4cce,_0x5efa65,_0x3a717e){return _0x63aa5d(_0x5efa65,_0x2f4cce-_0xabd3f0._0x5c9dd2,_0x5efa65-0x104,_0x2c0bf9-_0xabd3f0._0x86c32c);}function _0x390384(_0xddf816,_0x5d43a2,_0x3a5610,_0x57b263){return _0x63aa5d(_0x3a5610,_0x5d43a2-_0x44c3f7._0xc1dcdd,_0x3a5610-_0x44c3f7._0x4985cc,_0xddf816-_0x44c3f7._0x2b9cc0);}_0x4040e4(_0x48a90c===0x0?{'outcome':_0x390384(0x5c2,_0x310042._0x21d9c0,0x4c5,_0x310042._0x2f0d1f)}:{'outcome':_0x467286(0x27,0x1e4,_0x310042._0x15e1f8,_0x310042._0x4c7fb2),'error':_0x390384(0x315,_0x310042._0x574f97,_0x310042._0x4e8c7d,0x17a)+String(_0x48a90c)});});});}};}var ESC='\x1b',BEL='\x07',MAX_PROGRESS_LINE_CHARS=0x100000;function isDiscardedTextControl(_0x62670c){const _0x229465={_0x41402a:0x79,_0x1071d6:0x159,_0x1bd6c9:0x5e,_0x3b3b96:0xb7},_0x3ceb62={_0x23a8f5:0x1be,_0x21d2da:0x560},_0x19499d=_0x62670c[_0x144eb6(-_0x229465._0x41402a,_0x229465._0x1071d6,_0x229465._0x1bd6c9,_0x229465._0x3b3b96)](0x0)??0x0;function _0x144eb6(_0x16b19a,_0x55e733,_0xada146,_0x53e46f){return _0x515b8f(_0x16b19a-_0x3ceb62._0x23a8f5,_0x55e733-0x118,_0x53e46f,_0xada146- -_0x3ceb62._0x21d2da);}return _0x19499d<0x20&&_0x62670c!=='\x09'||_0x19499d>=0x7f&&_0x19499d<=0x9f||_0x19499d===0xa0||_0x19499d>=0x200b&&_0x19499d<=0x200f||_0x19499d>=0x2060&&_0x19499d<=0x2069||_0x19499d===0x23ce||_0x19499d===0x2424;}function createTerminalOutputNormalizer(){const _0x2caa28={_0x1e09a0:0x32a},_0x1d5c0c={_0x1025c8:0x1fb},_0x4de95f={_0x5de2c1:0x169,_0x45d3aa:0x4e9,_0x5d3f68:0x3cc,_0x4c907f:0x4b5,_0x7102ef:0x393,_0x573f8c:0x200,_0x10aecf:0x362,_0x10f536:0x3e,_0x5d49df:0x148,_0xb3b71b:0x2f0,_0x5e8b83:0x272,_0x53a0d5:0x141,_0x161b22:0x13,_0x52522d:0x3b8,_0x1921d4:0x4ef,_0xb91bf4:0x316,_0x266ac9:0x3ec,_0x46b9b6:0x352,_0x161e34:0x3c5,_0x30b7ac:0x4b5,_0x47a4c0:0x322,_0x26d3c9:0x39f,_0x525b9a:0x3f3,_0x405b86:0x537,_0x394334:0x3e0,_0x3bdfe5:0x276,_0x204faa:0x330},_0x34bb97={_0xde24ba:0x18b,_0x12f598:0x8},_0x2de893={_0x46f756:0x467,_0x388905:0x4cb,_0x4b6b77:0x4f0,_0x167f0c:0x2ee,_0x32748f:0x441,_0xb38990:0x37c};let _0x347ce8='text',_0x23dee6=![],_0x13e7d1=![],_0x10891d=[],_0x419b3f=0x0,_0x4b3d4d=![];const _0x4f3660=()=>{_0x10891d=[],_0x419b3f=0x0;},_0x314c06=_0x40d175=>{const _0x19c131={_0x3b2cd:0x97};function _0x2b46af(_0x3f9473,_0x3f85a7,_0x2d9090,_0x58673f){return _0x2a2f(_0x3f85a7-0x11f,_0x3f9473);}_0x10891d[_0x3319b9(0x5f8,_0x2de893._0x46f756,_0x2de893._0x388905,0x471)](_0x40d175);function _0x3319b9(_0x19eb70,_0x296180,_0x251b96,_0x355f66){return _0x2a2f(_0x296180-_0x19c131._0x3b2cd,_0x251b96);}_0x419b3f+=_0x40d175[_0x2b46af(0x352,0x37c,_0x2de893._0x4b6b77,0x49c)];while(_0x419b3f>MAX_PROGRESS_LINE_CHARS){const _0x45d1e8=_0x10891d[_0x3319b9(_0x2de893._0x167f0c,0x45d,0x3d1,_0x2de893._0x32748f)]();if(_0x45d1e8===void 0x0)break;_0x419b3f-=_0x45d1e8[_0x2b46af(0x2ae,_0x2de893._0xb38990,0x417,0x3f8)];}},_0x5d7f48=_0x165b45=>{const _0x1763fc={_0x2d38d8:0x10b};function _0x81e360(_0x17b0a7,_0x5c54c7,_0x3fc946,_0x1bcf58){return _0x2a2f(_0x17b0a7- -_0x1763fc._0x2d38d8,_0x3fc946);}const _0x9c8ec8=_0x10891d[_0x81e360(_0x34bb97._0xde24ba,-_0x34bb97._0x12f598,0x234,0xa)]('')+(_0x165b45?'\x0a':'');return _0x4f3660(),_0x9c8ec8;},_0x4088f1=_0x4d7d9d=>{const _0x368de4={_0x52f417:0x2c4};if(_0x4b3d4d)throw new Error(_0x12a47e(0x193,0x2ad,_0x4de95f._0x5de2c1,0x2f6));let _0x912674='';function _0x12a47e(_0x12e7ae,_0x1faa8f,_0x38bd4a,_0xc63fb5){return _0x2a2f(_0x1faa8f-0x19,_0xc63fb5);}function _0x4322c1(_0x150d09,_0x532c27,_0x34e8dc,_0x29eeea){return _0x2a2f(_0x34e8dc-_0x368de4._0x52f417,_0x150d09);}for(const _0x103ffc of _0x4d7d9d){if(_0x347ce8===_0x4322c1(_0x4de95f._0x45d3aa,_0x4de95f._0x5d3f68,_0x4de95f._0x4c907f,_0x4de95f._0x7102ef)){const _0x2637dc=_0x103ffc[_0x12a47e(_0x4de95f._0x573f8c,0x2b0,_0x4de95f._0x10aecf,0x1b8)](0x0)??0x0;if(_0x2637dc>=0x40&&_0x2637dc<=0x7e)_0x347ce8=_0x12a47e(-_0x4de95f._0x10f536,_0x4de95f._0x5d49df,_0x4de95f._0xb3b71b,_0x4de95f._0x5e8b83);continue;}if(_0x347ce8===_0x12a47e(-0x6f,_0x4de95f._0x53a0d5,_0x4de95f._0x161b22,0x91)||_0x347ce8===_0x4322c1(_0x4de95f._0x52522d,_0x4de95f._0x1921d4,0x39f,0x2d8)){if(_0x23dee6){_0x103ffc==='\x5c'?(_0x347ce8='text',_0x23dee6=![]):_0x23dee6=_0x103ffc===ESC;continue;}if(_0x103ffc===ESC)_0x23dee6=!![];else _0x347ce8===_0x4322c1(0x555,_0x4de95f._0xb91bf4,_0x4de95f._0x266ac9,_0x4de95f._0x46b9b6)&&_0x103ffc===BEL&&(_0x347ce8=_0x4322c1(0x58b,0x2ff,0x3f3,0x318));continue;}if(_0x347ce8==='escape'){if(_0x103ffc==='[')_0x347ce8=_0x4322c1(0x552,_0x4de95f._0x161e34,_0x4de95f._0x30b7ac,_0x4de95f._0x47a4c0);else{if(_0x103ffc===']')_0x347ce8='osc',_0x23dee6=![];else _0x103ffc==='P'||_0x103ffc==='_'||_0x103ffc==='^'?(_0x347ce8=_0x4322c1(0x25a,0x3c7,_0x4de95f._0x26d3c9,0x1fc),_0x23dee6=![]):_0x347ce8=_0x4322c1(0x45a,0x58f,_0x4de95f._0x525b9a,0x570);}continue;}if(_0x13e7d1){_0x13e7d1=![];if(_0x103ffc==='\x0a'){_0x912674+=_0x5d7f48(!![]);continue;}_0x4f3660();}if(_0x103ffc===ESC)_0x347ce8=_0x4322c1(0x58c,0x6f8,0x5dc,_0x4de95f._0x405b86);else{if(_0x103ffc==='\x0d')_0x13e7d1=!![];else{if(_0x103ffc==='\x0a')_0x912674+=_0x5d7f48(!![]);else{if(_0x103ffc==='\x08'){const _0xd659ef=_0x10891d[_0x12a47e(0x38e,0x223,0x2ae,0x295)]();if(_0xd659ef!==void 0x0)_0x419b3f-=_0xd659ef[_0x12a47e(_0x4de95f._0x394334,_0x4de95f._0x3bdfe5,_0x4de95f._0x204faa,0x140)];}else!isDiscardedTextControl(_0x103ffc)&&_0x314c06(_0x103ffc);}}}}return _0x912674;};return{'write':_0x4088f1,'end'(){function _0x4f7ac8(_0x56299c,_0x20e825,_0x31ef6b,_0x48db15){return _0x2a2f(_0x48db15-_0x1d5c0c._0x1025c8,_0x20e825);}if(_0x4b3d4d)return'';return _0x4b3d4d=!![],_0x13e7d1=![],_0x347ce8=_0x4f7ac8(0x2b2,0x35c,0x2b4,_0x2caa28._0x1e09a0),_0x23dee6=![],_0x5d7f48(![]);}};}var BackgroundProcessCleanupError=class extends Error{constructor(_0x3da384){const _0x1fc5cd={_0x3d7701:0x10e,_0x3eb65a:0xaf,_0x485f64:0x160,_0x46a9ba:0x88,_0x28ae01:0xd3},_0x1004ef={_0x5483e1:0x196,_0x24cae2:0x60d};super(_0x272265(-_0x1fc5cd._0x3d7701,-0x19a,-0x9f,-_0x1fc5cd._0x3eb65a));function _0x272265(_0x282efc,_0x3c14a1,_0x418053,_0x3e6d3e){return _0x515b8f(_0x282efc-_0x1004ef._0x5483e1,_0x3c14a1-0x27,_0x3e6d3e,_0x418053- -_0x1004ef._0x24cae2);}this['results']=_0x3da384;function _0x283369(_0x27ca9e,_0x56a4f8,_0x5c0626,_0x1f2dd2){return _0x515b8f(_0x27ca9e-0xf3,_0x56a4f8-0x99,_0x56a4f8,_0x5c0626- -0x670);}this[_0x272265(-0x18d,-0x164,-0x74,0x80)]=_0x272265(_0x1fc5cd._0x485f64,-_0x1fc5cd._0x46a9ba,0xa8,-_0x1fc5cd._0x28ae01);}},TERMINATION_WINDOW_MS=0x7d0;function isTerminalStatus(_0x4ca6f2){const _0x5df284={_0x217ace:0x56f,_0x45a70a:0x410,_0x4ce2f6:0x307,_0x3a82d0:0x2f1},_0xa94041={_0x25771e:0x69,_0x3bc657:0x177},_0x1fcfee={_0xe219d8:0x139,_0xf7fe73:0x20};function _0x13d3fc(_0x2deb35,_0x19ef03,_0xda50,_0x27eef4){return _0x1c3a85(_0x2deb35-_0x1fcfee._0xe219d8,_0x2deb35,_0xda50-_0x1fcfee._0xf7fe73,_0xda50-0x319);}function _0x1ebfc0(_0x3fa135,_0x16e041,_0x561465,_0x2b4f93){return _0x1c3a85(_0x3fa135-_0xa94041._0x25771e,_0x16e041,_0x561465-_0xa94041._0x3bc657,_0x561465-0x18f);}return _0x4ca6f2===_0x13d3fc(0x266,_0x5df284._0x217ace,_0x5df284._0x45a70a,_0x5df284._0x4ce2f6)||_0x4ca6f2===_0x1ebfc0(0x408,0x2dc,_0x5df284._0x3a82d0,0x2f1)||_0x4ca6f2==='error';}var BackgroundProcessRegistry=class{['entries']=new Map();[_0x515b8f(0x5e8,0x30e,0x492,0x480)]=new Map();[_0x515b8f(0x4fd,0x4df,0x4c8,0x4c5)];[_0x515b8f(0x51d,0x3ea,0x354,0x3b1)];['capChars'];[_0x1c3a85(0x58,0x2ad,-0x2c,0x17f)];['signalAdapter'];[_0x515b8f(0x465,0x6cc,0x4e4,0x578)]=0x0;constructor(_0x584410={}){const _0x473837={_0x193fbe:0x450,_0x8bc808:0x3a0,_0x3fbc73:0x483,_0x5e69f6:0x32e,_0x46feed:0x309,_0x5183b0:0x21b,_0x574c49:0x81,_0x12eafc:0xfd,_0x393969:0xd1,_0x2c2a99:0x22e,_0x360751:0x257,_0x468374:0x3bd,_0x17b6b4:0x3f2,_0x3a366e:0x5c6,_0x274379:0x749,_0x56f179:0x765,_0x517e4d:0x2d8,_0x32ead3:0x144,_0x240bea:0xec,_0x41b93c:0x237,_0x48a3f0:0x260,_0xcbfe9b:0x3da,_0x19b582:0x25f,_0x12ca1c:0x316,_0x46f20d:0x5c6},_0x748ae9={_0x395d70:0x1e8,_0x161429:0x82,_0x4e37dc:0x42},_0x4506ed={_0x255db4:0x1a9};this[_0x59921d(0x483,0x33b,_0x473837._0x193fbe,_0x473837._0x8bc808)]=_0x584410[_0x59921d(_0x473837._0x3fbc73,_0x473837._0x5e69f6,0x45d,_0x473837._0x46feed)]??0xa;function _0x3596a3(_0x478c80,_0x4aee40,_0x379462,_0x2d4930){return _0x1c3a85(_0x478c80-0x142,_0x379462,_0x379462-_0x4506ed._0x255db4,_0x4aee40-0x159);}function _0x59921d(_0x1c0939,_0x3efecb,_0x4d6b94,_0x4b99b3){return _0x515b8f(_0x1c0939-_0x748ae9._0x395d70,_0x3efecb-_0x748ae9._0x161429,_0x3efecb,_0x1c0939- -_0x748ae9._0x4e37dc);}this[_0x3596a3(0x2f,0x81,_0x473837._0x5183b0,-0x4e)]=_0x584410[_0x3596a3(0x89,_0x473837._0x574c49,_0x473837._0x12eafc,-0x20)]??0x40,this[_0x3596a3(0x3bc,0x257,_0x473837._0x393969,_0x473837._0x2c2a99)]=_0x584410[_0x3596a3(0xc3,_0x473837._0x360751,_0x473837._0x468374,_0x473837._0x17b6b4)]??0x100000,this[_0x59921d(_0x473837._0x3a366e,_0x473837._0x274379,0x4c2,0x4d7)]=_0x584410[_0x59921d(0x5c6,0x446,_0x473837._0x56f179,0x448)]??process[_0x3596a3(0x285,_0x473837._0x517e4d,_0x473837._0x32ead3,0x326)],this[_0x3596a3(0x1c1,_0x473837._0x240bea,_0x473837._0x41b93c,_0x473837._0x48a3f0)]=_0x584410[_0x59921d(_0x473837._0xcbfe9b,_0x473837._0x19b582,0x486,_0x473837._0x12ca1c)]??createProcessTreeSignalAdapter({'platform':this[_0x59921d(_0x473837._0x46f20d,0x707,0x61a,0x717)]});}[_0x1c3a85(-0x38,-0x44,-0x3a,0x92)](){const _0x3b5f68={_0x528d9a:0xb5,_0x2bc042:0xb8,_0x7d123f:0x176,_0x2ef654:0x2aa,_0x36454f:0x41,_0x1041f9:0xb9,_0x12a993:0x30c,_0x5dd747:0x1bd,_0x39304c:0x1fe,_0x73905d:0x8b,_0x40c23e:0x4d0,_0x4e8698:0x5f6,_0x563e56:0x158,_0x232b3b:0x23f,_0x4e0270:0x32d,_0x1ec173:0x178,_0x1afd67:0x1da,_0x59f50f:0x88,_0x4a825a:0x45,_0xde095c:0x140,_0x778464:0x8a,_0x5135a6:0x387,_0x549d4a:0xb6,_0x461700:0x19f,_0x2ee600:0x293,_0x39c165:0x5c5,_0x2946d7:0x433},_0x2723d0={_0x20b3de:0x79,_0x3575e8:0xf5},_0x40808b={_0x4544a8:0x56,_0x1fed40:0x63d};function _0x522740(_0x1237b0,_0x4b3022,_0x3e3886,_0x21369b){return _0x515b8f(_0x1237b0-0x115,_0x4b3022-_0x40808b._0x4544a8,_0x1237b0,_0x4b3022- -_0x40808b._0x1fed40);}const _0x1cb3d4=[...this['entries'][_0x522740(_0x3b5f68._0x528d9a,_0x3b5f68._0x2bc042,0x16c,_0x3b5f68._0x7d123f)]()][_0x33c66b(_0x3b5f68._0x2ef654,0x379,0x36f,0x430)](_0x3bf381=>!_0x3bf381[_0x33c66b(0x597,0x3bd,0x53c,0x41d)]);function _0x33c66b(_0x20a64c,_0x129e08,_0x3b33ed,_0x2c8bfa){return _0x515b8f(_0x20a64c-_0x2723d0._0x20b3de,_0x129e08-0x63,_0x20a64c,_0x2c8bfa- -_0x2723d0._0x3575e8);}if(_0x1cb3d4[_0x522740(_0x3b5f68._0x36454f,-_0x3b5f68._0x1041f9,-0x6a,0x3f)]+this[_0x522740(-_0x3b5f68._0x12a993,-_0x3b5f68._0x5dd747,-_0x3b5f68._0x39304c,-_0x3b5f68._0x73905d)][_0x33c66b(_0x3b5f68._0x40c23e,0x6e6,0x774,_0x3b5f68._0x4e8698)]>=this['maxConcurrent'])throw new ToolExecutionError(_0x522740(0x4c,0x98,_0x3b5f68._0x563e56,_0x3b5f68._0x232b3b)+this[_0x522740(-_0x3b5f68._0x4e0270,-_0x3b5f68._0x1ec173,-_0x3b5f68._0x1afd67,-0x2ef)]+_0x522740(_0x3b5f68._0x59f50f,_0x3b5f68._0x4a825a,-_0x3b5f68._0xde095c,_0x3b5f68._0x778464),{'running':this[_0x33c66b(0x34f,0x279,_0x3b5f68._0x5135a6,0x3d0)]});const _0x3d0145=Object[_0x522740(-0x315,-0x157,-0x23a,-_0x3b5f68._0x549d4a)]({'id':randomUUID()});return this[_0x522740(-_0x3b5f68._0x461700,-_0x3b5f68._0x5dd747,-_0x3b5f68._0x2ee600,-0x52)][_0x33c66b(0x57c,_0x3b5f68._0x39c165,0x409,_0x3b5f68._0x2946d7)](_0x3d0145['id'],_0x3d0145),_0x3d0145;}[_0x515b8f(0x752,0x5ca,0x59c,0x5d4)](_0x558915){const _0x552a1d={_0x2a575c:0xb5,_0x52ef82:0x95,_0x50a8f4:0x210,_0x49de80:0x1e8,_0xd1803f:0x145,_0x270e8b:0x112,_0x421aac:0x135,_0x1e4adb:0x4c},_0x17945d={_0x5a3656:0x1eb,_0x3eff0b:0x515},_0x2f8206={_0x5209f4:0xab,_0x12fc43:0x1ca,_0x53d514:0x51};function _0x3d4b10(_0x63db9d,_0x28ddf3,_0x3ade7a,_0x3998ba){return _0x1c3a85(_0x63db9d-_0x2f8206._0x5209f4,_0x28ddf3,_0x3ade7a-_0x2f8206._0x12fc43,_0x3ade7a-_0x2f8206._0x53d514);}function _0x48756f(_0xfaeb4e,_0xb08e07,_0x386868,_0x583db9){return _0x515b8f(_0xfaeb4e-0x5b,_0xb08e07-_0x17945d._0x5a3656,_0xb08e07,_0x386868- -_0x17945d._0x3eff0b);}this[_0x48756f(-_0x552a1d._0x2a575c,0x11b,-_0x552a1d._0x52ef82,-_0x552a1d._0x50a8f4)][_0x3d4b10(_0x552a1d._0x49de80,_0x552a1d._0xd1803f,0xc0,-0x101)](_0x558915['id'])===_0x558915&&this[_0x48756f(0x68,-_0x552a1d._0x270e8b,-0x95,-_0x552a1d._0x421aac)][_0x3d4b10(0x23,_0x552a1d._0x1e4adb,0x162,0x29d)](_0x558915['id']);}[_0x515b8f(0x70a,0x70a,0x588,0x6e4)](_0x40da00,_0x4d93f4){const _0x2c2c0e={_0x2c8007:0x220,_0x40aed3:0x196,_0x3a8891:0xae,_0x2da1c5:0x11a,_0x20077a:0x1b9,_0x2c5e23:0xb1,_0x2db096:0x3ab,_0x2938b5:0x1d9,_0x19b52a:0x238,_0x1af717:0x1e1,_0x57f153:0x360,_0x29afab:0x31c,_0x89a50a:0x28e,_0x17fe42:0x344,_0x5b2455:0x444,_0x40662e:0x47b,_0x8135c4:0x306,_0x546970:0x221,_0x4515e4:0x221,_0x3288c1:0x3b4,_0x5a144e:0x522,_0x57d58a:0x2c9,_0x282a70:0x309,_0x47641f:0x2df,_0x2b4bce:0x1b1,_0x28ba62:0x4e0,_0x2fe935:0x395,_0x1ffdae:0x2bb,_0x1058aa:0x270,_0x734364:0xcc,_0x4a666d:0x282,_0x51a9f3:0x17c,_0x249bc6:0x164,_0x27f10b:0x198,_0x43f2eb:0x13b,_0xc039a:0x25d,_0x3509f0:0xd6,_0x47e922:0xce,_0x5d9a24:0x173,_0x56ef25:0x242,_0x4e0614:0x214,_0x2c21dc:0x168,_0x2a5ff3:0x3fc,_0x1604e2:0x2b0,_0x864631:0x273},_0x19c84f={_0x446765:0x4c8,_0x39c168:0x285,_0x46dd8f:0x124,_0x344458:0x3bb,_0x35a9e1:0x457,_0x1a8c70:0x3d8,_0x5c263d:0x64f,_0x1d4caa:0x50b,_0x2cd2e5:0x131,_0x56e955:0x134,_0x3885ae:0xd2,_0x92fd4b:0x126,_0x1857c7:0x530},_0x48b2af={_0x3bd340:0x12,_0x2ef7f5:0xe3},_0x485ecf={_0x146134:0x567,_0x5a9543:0x598,_0x30a8a9:0x16,_0x30f644:0xb1,_0x83e041:0x1,_0xa3b080:0x169,_0x53c40d:0x25,_0x4ec3ca:0xd7,_0x34a949:0x1d5,_0x41f939:0x130},_0x2827f3={_0x4b44dc:0x576,_0x4bc0b1:0x50d,_0x53baae:0x67e,_0x5c6095:0x499,_0x6a8414:0x251,_0x2cade1:0x6af,_0x9781df:0x461,_0x32adcb:0x56a},_0x54328e={_0x42c264:0x6f,_0xcadb7:0xee,_0x3bba6a:0xad},_0xf89bd7={_0x1ce023:0xea,_0x4e058f:0x14d,_0x3bb1ee:0xf9,_0x4599e4:0xc2},_0x4c37d0={_0x1833ca:0x29b,_0x59c761:0x150,_0x5afcfb:0x18},_0x179cc2={_0x22e571:0x225},_0x40652f={_0x41602c:0x10b},_0x1ef009={_0x24f5da:0x11b,_0x5afc94:0x19f};function _0x58930b(_0x420fd9,_0x206087,_0x154049,_0xe7b2c4){return _0x1c3a85(_0x420fd9-0x24,_0x420fd9,_0x154049-_0x1ef009._0x24f5da,_0x206087-_0x1ef009._0x5afc94);}if(this[_0x58930b(_0x2c2c0e._0x2c8007,_0x2c2c0e._0x40aed3,0xb8,_0x2c2c0e._0x3a8891)]['get'](_0x40da00['id'])!==_0x40da00)throw new ToolExecutionError('Background\x20process\x20reservation\x20is\x20missing\x20or\x20already\x20consumed',{'reservationId':_0x40da00['id']});this[_0x1b6743(_0x2c2c0e._0x2da1c5,_0x2c2c0e._0x20077a,0x121,0x147)]['delete'](_0x40da00['id']);let _0x1aac44;const _0x32b86a=new Promise(_0x201f26=>{_0x1aac44=_0x201f26;}),_0x19a1a7=_0x1b6743(0xba,-_0x2c2c0e._0x2c5e23,0xcc,0x191)+ ++this[_0x1b6743(0x11d,_0x2c2c0e._0x2db096,0x219,0x317)]+'-'+randomUUID()[_0x1b6743(_0x2c2c0e._0x2938b5,0xcf,0x1d0,0x291)](0x0,0x8);function _0x1b6743(_0x2894de,_0xe861ae,_0x54a694,_0xf477a2){return _0x515b8f(_0x2894de-0x18f,_0xe861ae-_0x40652f._0x41602c,_0xe861ae,_0x54a694- -0x35f);}const _0xe0c77a={'shellId':_0x19a1a7,'command':_0x4d93f4[_0x1b6743(0xb6,_0x2c2c0e._0x19b52a,0x145,0x26e)],'cwd':_0x4d93f4['cwd'],'pid':_0x4d93f4[_0x58930b(_0x2c2c0e._0x1af717,_0x2c2c0e._0x57f153,0x4ed,0x519)][_0x58930b(_0x2c2c0e._0x29afab,0x414,_0x2c2c0e._0x89a50a,0x350)],'processGroupId':_0x4d93f4['processGroupId'],'status':_0x1b6743(0x451,_0x2c2c0e._0x17fe42,0x366,_0x2c2c0e._0x5b2455),'exitCode':null,'signal':null,'startedAt':Date['now'](),'error':null,'gracefulRequested':![],'forceRequested':![],'child':_0x4d93f4[_0x58930b(0x1d1,0x360,_0x2c2c0e._0x40662e,_0x2c2c0e._0x8135c4)],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder(_0x58930b(0xa1,_0x2c2c0e._0x546970,0xa6,0x2e2)),'stderrDecoder':new StringDecoder(_0x58930b(0x2e1,_0x2c2c0e._0x4515e4,_0x2c2c0e._0x3288c1,0xcf)),'stdoutNormalizer':createTerminalOutputNormalizer(),'stderrNormalizer':createTerminalOutputNormalizer(),'stripAnsi':_0x4d93f4[_0x1b6743(0x355,_0x2c2c0e._0x5a144e,0x37e,0x456)],'killRequested':![],'processExited':![],'streamsFlushed':![],'terminalSettled':![],'terminalPromise':_0x32b86a,'resolveTerminal':_0x1aac44,'terminationSettled':![]};this['entries'][_0x1b6743(_0x2c2c0e._0x57d58a,_0x2c2c0e._0x282a70,0x1c9,_0x2c2c0e._0x47641f)](_0x19a1a7,_0xe0c77a);try{_0x4d93f4[_0x58930b(_0x2c2c0e._0x2b4bce,0x360,_0x2c2c0e._0x28ba62,_0x2c2c0e._0x2fe935)][_0x58930b(_0x2c2c0e._0x1ffdae,0x3a4,0x241,0x4d2)]?.['on'](_0x1b6743(_0x2c2c0e._0x1058aa,_0x2c2c0e._0x734364,_0x2c2c0e._0x4a666d,_0x2c2c0e._0x51a9f3),_0x324ced=>{const _0x4dd1d7={_0x2bb115:0x223,_0x4fb716:0xf2,_0x5dbf35:0x6b};function _0x591e9e(_0x3be368,_0x24eb1d,_0x40c31c,_0x5a9b8b){return _0x58930b(_0x24eb1d,_0x40c31c- -_0x4dd1d7._0x2bb115,_0x40c31c-_0x4dd1d7._0x4fb716,_0x5a9b8b-_0x4dd1d7._0x5dbf35);}this['appendDecoded'](_0xe0c77a,_0xe0c77a[_0x591e9e(-_0x179cc2._0x22e571,-0x24d,-0x10a,-0x2c3)],_0xe0c77a['stdoutNormalizer'],_0x324ced);}),_0x4d93f4[_0x58930b(0x263,0x360,0x37e,0x3b0)][_0x1b6743(0x7e,_0x2c2c0e._0x249bc6,_0x2c2c0e._0x27f10b,_0x2c2c0e._0x43f2eb)]?.['on']('data',_0x1e3000=>{const _0x20f3e6={_0x3d4aff:0x11a,_0x412f84:0x1d2,_0x435994:0x1bc};function _0x2c3905(_0x43d893,_0x4293e5,_0x8875e,_0xd18a3d){return _0x58930b(_0x43d893,_0xd18a3d- -_0x4c37d0._0x1833ca,_0x8875e-_0x4c37d0._0x59c761,_0xd18a3d-_0x4c37d0._0x5afcfb);}function _0x32856f(_0x36a0e3,_0x59825a,_0x3ec042,_0xc6c0af){return _0x58930b(_0x36a0e3,_0x3ec042- -_0x20f3e6._0x3d4aff,_0x3ec042-_0x20f3e6._0x412f84,_0xc6c0af-_0x20f3e6._0x435994);}this[_0x32856f(0x28b,0x27e,_0xf89bd7._0x1ce023,0x1b6)](_0xe0c77a,_0xe0c77a[_0x2c3905(-_0xf89bd7._0x4e058f,_0xf89bd7._0x3bb1ee,-_0xf89bd7._0x4599e4,-0x40)],_0xe0c77a['stderrNormalizer'],_0x1e3000);}),_0x4d93f4[_0x58930b(0x4f6,0x360,_0x2c2c0e._0xc039a,_0x2c2c0e._0x1af717)][_0x58930b(0x3c6,0x214,_0x2c2c0e._0x3509f0,0x272)]('exit',(_0x56b456,_0x2eafcf)=>{const _0x3c5cdd={_0xb571f8:0x18d};_0xe0c77a[_0x60ef74(_0x2827f3._0x4b44dc,0x3a1,_0x2827f3._0x4bc0b1,_0x2827f3._0x53baae)]=!![],_0xe0c77a[_0xe4f868(0x38c,0x3d7,_0x2827f3._0x5c6095,_0x2827f3._0x6a8414)]=_0x56b456;function _0x60ef74(_0xdbc27d,_0x406e0b,_0x190d32,_0x4249eb){return _0x58930b(_0x4249eb,_0x190d32-_0x3c5cdd._0xb571f8,_0x190d32-0x10e,_0x4249eb-0x22);}function _0xe4f868(_0x2ee675,_0x163645,_0x3d2d1e,_0x40c044){return _0x58930b(_0x40c044,_0x2ee675-_0x54328e._0x42c264,_0x3d2d1e-_0x54328e._0xcadb7,_0x40c044-_0x54328e._0x3bba6a);}_0xe0c77a[_0x60ef74(_0x2827f3._0x2cade1,_0x2827f3._0x9781df,_0x2827f3._0x32adcb,0x3c9)]=_0x2eafcf;}),_0x4d93f4['child'][_0x1b6743(0x10c,_0x2c2c0e._0x47e922,0x19f,_0x2c2c0e._0x5d9a24)]('error',_0x4b1f23=>{const _0x31c7ba={_0x59ae62:0x1b8},_0x5a1da9={_0x16f8d2:0x31,_0x408272:0x2a7};function _0x3f37ca(_0xbb7c7a,_0x13b013,_0x1ec1fe,_0x1451a6){return _0x1b6743(_0xbb7c7a-_0x5a1da9._0x16f8d2,_0xbb7c7a,_0x1ec1fe-_0x5a1da9._0x408272,_0x1451a6-0x118);}_0xe0c77a[_0x3f37ca(_0x485ecf._0x146134,0x57d,0x462,_0x485ecf._0x5a9543)]=_0x4b1f23[_0x43dffa(_0x485ecf._0x30a8a9,-_0x485ecf._0x30f644,-_0x485ecf._0x83e041,-_0x485ecf._0xa3b080)];function _0x43dffa(_0x227a39,_0x17433c,_0x2106a0,_0x3eea2e){return _0x58930b(_0x3eea2e,_0x227a39- -_0x31c7ba._0x59ae62,_0x2106a0-0x22,_0x3eea2e-0x16);}_0xe0c77a[_0x43dffa(-_0x485ecf._0x53c40d,_0x485ecf._0x4ec3ca,-_0x485ecf._0x34a949,_0x485ecf._0x41f939)]='error';}),_0x4d93f4['child'][_0x58930b(_0x2c2c0e._0x56ef25,_0x2c2c0e._0x4e0614,0x2ad,_0x2c2c0e._0x2c21dc)]('close',(_0x252904,_0x1c1e5b)=>{const _0x14132a={_0x518e31:0x1ab,_0x4941d3:0x139};_0xe0c77a[_0x43c4b5(0x344,0x4f2,0x31d,_0x19c84f._0x446765)]=_0x252904;function _0x43c4b5(_0x3b7c97,_0x374341,_0x2844d2,_0x34c54f){return _0x58930b(_0x2844d2,_0x34c54f-_0x14132a._0x518e31,_0x2844d2-_0x14132a._0x4941d3,_0x34c54f-0x11a);}_0xe0c77a[_0xd2c290(_0x19c84f._0x39c168,_0x19c84f._0x46dd8f,0x399,_0x19c84f._0x344458)]=_0x1c1e5b,_0xe0c77a[_0x43c4b5(_0x19c84f._0x35a9e1,_0x19c84f._0x1a8c70,_0x19c84f._0x5c263d,_0x19c84f._0x1d4caa)]=null;function _0xd2c290(_0x54ee64,_0x2b22b6,_0x1d8ed2,_0xe2e76d){return _0x1b6743(_0x54ee64-_0x48b2af._0x3bd340,_0xe2e76d,_0x54ee64- -_0x48b2af._0x2ef7f5,_0xe2e76d-0xfe);}_0xe0c77a[_0x43c4b5(0x29a,0x2ab,0x2ec,0x33e)]!=='error'&&(_0xe0c77a[_0xd2c290(0x3b,-_0x19c84f._0x2cd2e5,0x1b3,_0x19c84f._0x56e955)]=_0xe0c77a[_0xd2c290(-0x7d,-_0x19c84f._0x3885ae,_0x19c84f._0x92fd4b,-0x233)]?_0x43c4b5(0x66d,0x312,_0x19c84f._0x1857c7,0x4ac):_0x43c4b5(0x3f9,0x335,0x461,0x441)),this['settleTerminal'](_0xe0c77a);});}catch(_0x167937){this[_0x58930b(_0x2c2c0e._0x2a5ff3,0x25f,0x10b,0x27d)][_0x58930b(0x136,_0x2c2c0e._0x1604e2,_0x2c2c0e._0x864631,0x36d)](_0x19a1a7);throw _0x167937;}return this['evictIfNeeded'](),_0xe0c77a;}[_0x515b8f(0x55e,0x4fd,0x496,0x4a6)](_0x1af9b1){const _0x35d0ac={_0xc46821:0x14b,_0x56357e:0x584,_0x24eaa2:0x57c,_0x4a1834:0x35c,_0x564bc9:0x20d,_0x509b1e:0x52f,_0x88ff30:0x615,_0x3808ce:0x5f9,_0x24b06f:0x474,_0x337928:0x4c1},_0x106004={_0x548ea6:0x164,_0x3ed555:0x1a1},_0x1e7e63={_0x54fc22:0x329};function _0x37b433(_0x44c637,_0x3e25b0,_0xba1d78,_0x21fb85){return _0x1c3a85(_0x44c637-0x51,_0x21fb85,_0xba1d78-0xa,_0xba1d78-_0x1e7e63._0x54fc22);}const _0x34011f=this[_0x3c50ba(0x236,0x12b,0x1f6,_0x35d0ac._0xc46821)]();function _0x3c50ba(_0x5cfafa,_0x543f44,_0x23d9da,_0x1fd69e){return _0x515b8f(_0x5cfafa-_0x106004._0x548ea6,_0x543f44-_0x106004._0x3ed555,_0x5cfafa,_0x1fd69e- -0x3d0);}try{return this[_0x37b433(0x70f,0x56f,_0x35d0ac._0x56357e,_0x35d0ac._0x24eaa2)](_0x34011f,{..._0x1af9b1,...this[_0x3c50ba(_0x35d0ac._0x4a1834,0x284,_0x35d0ac._0x564bc9,0x238)]==='win32'?{}:{'processGroupId':_0x1af9b1['child'][_0x37b433(_0x35d0ac._0x509b1e,_0x35d0ac._0x88ff30,0x59e,_0x35d0ac._0x3808ce)]}});}catch(_0x5dbb7a){this[_0x37b433(0x3ae,0x439,_0x35d0ac._0x24b06f,_0x35d0ac._0x337928)](_0x34011f);throw _0x5dbb7a;}}['read'](_0x112429,_0x535cb0){const _0x4d898c={_0x39762a:0xb6,_0x5949db:0xf5,_0x2bd44b:0x1e3,_0xdf2a38:0x242,_0x2fddf2:0x104,_0x5e2c77:0x48,_0x552ef6:0x123,_0x4980af:0x405,_0x168c4c:0x335,_0x3811b2:0x267,_0x238d5c:0x64f,_0x294406:0x17c,_0x2fea19:0x139,_0x5d26e4:0x115,_0xcc8d7f:0x56,_0x27f9ed:0xd9,_0x42669c:0x27a,_0x30c829:0x51c,_0xc3740d:0xcf,_0x223f85:0x6b,_0x17f816:0xb1,_0x439ac:0x8a,_0x207b79:0x188,_0x3b6e96:0x358,_0x16ce01:0x397,_0x6e08d6:0x2c6,_0x506a9d:0x140,_0x185976:0x2c2,_0x5719d0:0x214,_0x4ab10c:0x27f,_0x34b113:0x25d,_0xecfbae:0x173,_0xde98ce:0x22d,_0x2af1a0:0x4b6,_0x37d44c:0x39,_0x2d42ff:0xd6,_0xb0ef78:0xe8,_0x2b6a4d:0x469,_0x533cd4:0x298,_0x59f55f:0x446,_0x6117e1:0x51c,_0x5706a7:0x3c7,_0x2915ea:0x110,_0x49ee72:0x4c,_0xc0ab5e:0x183,_0x4198ed:0x1b8,_0x44516b:0x377,_0x13f870:0x8,_0x58e353:0xc6,_0xbfdd67:0x1f4,_0x4125f5:0xc8,_0x45e844:0xb1,_0x46c9e3:0x266,_0x52c547:0x362},_0x4cdc3a={_0x3ab710:0x167,_0xf91c3a:0x2d1},_0xaf5247={_0x5b0a15:0x1f3,_0x33dc80:0x176};function _0x12b375(_0x351c97,_0x44f9de,_0x1497b6,_0x8331c){return _0x1c3a85(_0x351c97-_0xaf5247._0x5b0a15,_0x1497b6,_0x1497b6-0x6a,_0x44f9de- -_0xaf5247._0x33dc80);}const _0x26ebf5=this[_0x12b375(-0x1bb,-_0x4d898c._0x39762a,-_0x4d898c._0x5949db,-0x70)][_0x3e26ef(0x340,_0x4d898c._0x2bd44b,_0x4d898c._0xdf2a38,0x4a7)](_0x112429);if(!_0x26ebf5)throw new ToolExecutionError(_0x12b375(-_0x4d898c._0x2fddf2,-_0x4d898c._0x5e2c77,-_0x4d898c._0x552ef6,0x9e)+_0x112429,{'shellId':_0x112429});function _0x3e26ef(_0x11f2c2,_0x2f667f,_0x355858,_0x442d9a){return _0x1c3a85(_0x11f2c2-0x18c,_0x355858,_0x355858-_0x4cdc3a._0x3ab710,_0x11f2c2-_0x4cdc3a._0xf91c3a);}const _0x19a081=_0x26ebf5['buffer'][_0x3e26ef(_0x4d898c._0x4980af,_0x4d898c._0x168c4c,0x2f0,_0x4d898c._0x3811b2)](''),_0x1bd0b0=Math['max'](_0x26ebf5[_0x3e26ef(0x51c,0x44a,_0x4d898c._0x238d5c,0x3df)],_0x26ebf5[_0x12b375(-0x2bf,-_0x4d898c._0x294406,-_0x4d898c._0x2fea19,-0x170)]),_0x16220a=Math[_0x12b375(0x5f,0xf,0x1b4,-_0x4d898c._0x5d26e4)](0x0,_0x26ebf5[_0x12b375(-_0x4d898c._0xcc8d7f,-0x17c,-_0x4d898c._0x27f9ed,-_0x4d898c._0x42669c)]-_0x26ebf5[_0x3e26ef(_0x4d898c._0x30c829,0x689,0x6a6,0x362)]),_0x36cff1=_0x19a081[_0x12b375(_0x4d898c._0xc3740d,-0xd0,_0x4d898c._0x223f85,_0x4d898c._0x17f816)](_0x1bd0b0-_0x26ebf5[_0x12b375(0x2c,-0x17c,-_0x4d898c._0x439ac,-_0x4d898c._0x207b79)]);let _0x561065;const _0x4bd194=_0x535cb0?.[_0x3e26ef(_0x4d898c._0x3b6e96,_0x4d898c._0x16ce01,0x4e1,_0x4d898c._0x6e08d6)];if(!_0x4bd194)_0x561065=_0x36cff1,_0x26ebf5[_0x12b375(0x54,0xd5,_0x4d898c._0x506a9d,-0x2f)]=_0x26ebf5[_0x3e26ef(0x2a7,_0x4d898c._0x185976,0x3ea,0x431)];else{let _0x2a3548;try{_0x2a3548=new RegExp(_0x4bd194);}catch(_0x3b179a){throw new ToolExecutionError(_0x3e26ef(_0x4d898c._0x5719d0,0x18e,0x355,0xc4)+(_0x3b179a instanceof Error?_0x3b179a[_0x3e26ef(0x300,_0x4d898c._0x4ab10c,0x45b,_0x4d898c._0x34b113)]:String(_0x3b179a)),{'shellId':_0x112429,'regex':_0x4bd194});}let _0x21e3cc=_0x36cff1;if(!_0x26ebf5[_0x12b375(0x15,-0xed,-_0x4d898c._0xecfbae,-0x2a)]){const _0x57e6bb=_0x36cff1['lastIndexOf']('\x0a');_0x21e3cc=_0x57e6bb>=0x0?_0x36cff1[_0x3e26ef(0x377,_0x4d898c._0xde98ce,0x2b7,_0x4d898c._0x2af1a0)](0x0,_0x57e6bb+0x1):'';}_0x561065=_0x21e3cc[_0x12b375(0x177,_0x4d898c._0x37d44c,-_0x4d898c._0x2d42ff,-_0x4d898c._0xb0ef78)]('\x0a')[_0x3e26ef(0x36d,_0x4d898c._0x2b6a4d,0x30c,_0x4d898c._0x533cd4)](_0x3a8c1e=>_0x2a3548[_0x12b375(0xa5,-0xcc,-0xce,0x64)](_0x3a8c1e))[_0x3e26ef(0x405,0x30f,_0x4d898c._0x59f55f,0x5a7)]('\x0a'),_0x26ebf5[_0x3e26ef(_0x4d898c._0x6117e1,0x3ae,_0x4d898c._0x5706a7,0x60e)]=_0x1bd0b0+_0x21e3cc['length'];}return{'output':(_0x16220a>0x0?_0x12b375(-_0x4d898c._0x2915ea,-_0x4d898c._0x49ee72,0x153,-_0x4d898c._0xc0ab5e)+_0x16220a+_0x12b375(-0x4e,-_0x4d898c._0x4198ed,-0x2ad,-_0x4d898c._0x44516b):'')+_0x561065,'status':_0x26ebf5['status'],'exitCode':_0x26ebf5[_0x12b375(-0x50,_0x4d898c._0x13f870,_0x4d898c._0x58e353,-0x151)],'signal':_0x26ebf5[_0x12b375(_0x4d898c._0xbfdd67,_0x4d898c._0x4125f5,_0x4d898c._0x45e844,_0x4d898c._0x46c9e3)],'error':_0x26ebf5[_0x3e26ef(_0x4d898c._0x52c547,0x2d4,0x247,0x360)],'truncated':_0x16220a>0x0};}[_0x515b8f(0x712,0x69c,0x64b,0x6f1)](){const _0xc9fa5b={_0x5ac205:0x8,_0x387920:0xc6,_0x3971b4:0xe2},_0x255721={_0x2159a2:0x134,_0x3c830e:0x76};function _0x51dbea(_0x4d69a2,_0x5c4e05,_0x54ca6c,_0x29ffc3){return _0x1c3a85(_0x4d69a2-_0x255721._0x2159a2,_0x54ca6c,_0x54ca6c-0x1e8,_0x4d69a2- -_0x255721._0x3c830e);}return[...this[_0x51dbea(0x4a,-_0xc9fa5b._0x5ac205,_0xc9fa5b._0x387920,_0xc9fa5b._0x3971b4)]['values']()];}['kill'](_0x6c1d6c){const _0x270b6f={_0x2c5d81:0x2af,_0x1f77ba:0x4f9,_0x24a3f2:0x3ea,_0x3ce73b:0x45c,_0x3edcf5:0x3d4,_0x11bd54:0x2f9,_0x21631a:0x3d6,_0x3536d7:0x493,_0x53bd94:0x16b,_0xe7d4aa:0x272,_0x545072:0x6ae,_0x57d060:0x26,_0x138de8:0x172,_0x5530ed:0x1a4,_0x3054ed:0x359,_0x4de24b:0x395,_0x34558e:0x442,_0xf35d42:0xbb,_0x17cc36:0xf,_0x580792:0x4f7,_0x2347aa:0x359,_0xe14524:0x396,_0x23eac8:0x344,_0x937122:0x2c9,_0x57e92b:0x2bb,_0x5de66c:0x516,_0x10390b:0x57f,_0x58b4fc:0x331,_0x2bd1a9:0x281,_0x1b64c4:0x16b,_0x5162d9:0x2d2,_0x593685:0x4da,_0x15d7d3:0x5db},_0x712155={_0x201327:0x49},_0x4bec82={_0x5173c5:0x15a,_0x258418:0x124},_0xbf5f56={_0x340467:0x123},_0x124488=this[_0x120045(_0x270b6f._0x2c5d81,0x269,_0x270b6f._0x1f77ba,0x425)][_0x120045(_0x270b6f._0x24a3f2,0x374,_0x270b6f._0x3ce73b,_0x270b6f._0x3edcf5)](_0x6c1d6c);if(!_0x124488)throw new ToolExecutionError(_0x120045(_0x270b6f._0x11bd54,_0x270b6f._0x21631a,0x41c,_0x270b6f._0x3536d7)+_0x6c1d6c,{'shellId':_0x6c1d6c});if(_0x124488[_0x22f37b(_0x270b6f._0x53bd94,0x115,_0x270b6f._0xe7d4aa,0x2c2)]&&!_0x124488['terminationSettled'])return _0x124488[_0x120045(0x5c7,0x52f,_0x270b6f._0x545072,0x57f)];if(_0x124488[_0x22f37b(-_0x270b6f._0x57d060,_0x270b6f._0x138de8,0x156,-_0x270b6f._0x5530ed)]&&isTerminalStatus(_0x124488[_0x120045(0x304,0x448,0x308,_0x270b6f._0x3054ed)]))return Promise['resolve'](this['result'](_0x124488,_0x120045(0x490,0x386,_0x270b6f._0x4de24b,_0x270b6f._0x34558e)));if(_0x124488[_0x22f37b(-_0x270b6f._0xf35d42,_0x270b6f._0x17cc36,-0x3b,0x1b)]!=='error')_0x124488[_0x120045(_0x270b6f._0x580792,0x199,0x4f5,_0x270b6f._0x2347aa)]=_0x120045(_0x270b6f._0xe14524,_0x270b6f._0x23eac8,_0x270b6f._0x937122,_0x270b6f._0x57e92b);_0x124488['killRequested']=!![];function _0x22f37b(_0x5dc427,_0x592698,_0x17e5ed,_0x4bf583){return _0x515b8f(_0x5dc427-_0xbf5f56._0x340467,_0x592698-0x19,_0x592698,_0x5dc427- -0x538);}_0x124488[_0x120045(0x48d,_0x270b6f._0x580792,0x3ef,0x3a4)]=![];function _0x120045(_0x4e4b22,_0x1d2edd,_0x470cbc,_0x48ea3b){return _0x515b8f(_0x4e4b22-_0x4bec82._0x5173c5,_0x1d2edd-0x17e,_0x4e4b22,_0x48ea3b- -_0x4bec82._0x258418);}return _0x124488[_0x120045(0x6d5,0x70e,_0x270b6f._0x5de66c,_0x270b6f._0x10390b)]=this[_0x120045(0x394,0xda,_0x270b6f._0x58b4fc,_0x270b6f._0x2bd1a9)](_0x124488),void _0x124488[_0x22f37b(_0x270b6f._0x1b64c4,_0x270b6f._0x5162d9,0x171,0x2c4)][_0x120045(_0x270b6f._0x593685,0x5ae,_0x270b6f._0x15d7d3,0x449)](()=>{_0x124488['terminationSettled']=!![];},()=>{function _0x4e0527(_0x2b597a,_0x18655c,_0x1891ea,_0x488b52){return _0x120045(_0x1891ea,_0x18655c-0x38,_0x1891ea-0x84,_0x18655c- -0x394);}_0x124488[_0x4e0527(0xb5,0x10,0x10c,_0x712155._0x201327)]=!![];}),_0x124488[_0x22f37b(0x16b,0x2e5,0x2a8,0x8f)];}[_0x515b8f(0x75f,0x81f,0x5c0,0x6f6)](){const _0x18e362={_0x4b8f72:0xd,_0x38f0c7:0x170,_0x5a6aea:0x14a,_0xafe770:0x1e1,_0x3e3dbc:0x20f},_0x28229b={_0x43cf42:0x1c};function _0x1f6500(_0x3ef9c0,_0x53085b,_0x118521,_0xc36820){return _0x515b8f(_0x3ef9c0-0x1a9,_0x53085b-0x1b8,_0xc36820,_0x118521- -0x50d);}function _0x633223(_0x546ddd,_0x434dae,_0x35acfd,_0x25825f){return _0x1c3a85(_0x546ddd-0x14b,_0x35acfd,_0x35acfd-_0x28229b._0x43cf42,_0x434dae- -0x122);}return Promise['all']([...this[_0x633223(0xf0,-0x62,-0x13f,-_0x18e362._0x4b8f72)][_0x633223(_0x18e362._0x38f0c7,_0x18e362._0x5a6aea,_0x18e362._0xafe770,0x17c)]()][_0x1f6500(-0xc0,-_0x18e362._0x3e3dbc,-0x133,0x69)](_0x4b7f99=>this[_0x1f6500(-0xe2,-0xf1,-0xa4,0x7c)](_0x4b7f99['shellId'])));}async[_0x515b8f(0x6a5,0x532,0x481,0x53a)](){const _0x41f4fc={_0x2bd64e:0x40f,_0x101e31:0x2f0},_0x2ceacb={_0x2bf912:0x132,_0x161c77:0x4d6},_0xa16765={_0x4875ad:0x160},_0x5f0922=await this['closeAll']();if(_0x5f0922['some'](_0x2202ea=>_0x2202ea['outcome']===_0x19222e(0x510,0x528,0x3eb,0x5a7)))throw new BackgroundProcessCleanupError(_0x5f0922);function _0x2fc25e(_0x28fb2b,_0x246a15,_0x5f599a,_0x1292da){return _0x515b8f(_0x28fb2b-_0xa16765._0x4875ad,_0x246a15-0x1bd,_0x1292da,_0x28fb2b- -0x100);}this['entries'][_0x2fc25e(0x2c2,0x1f6,0x445,0x420)]();function _0x19222e(_0x3cd5de,_0x4ae788,_0x8abcc6,_0x2ec48d){return _0x1c3a85(_0x3cd5de-0x13e,_0x8abcc6,_0x8abcc6-_0x2ceacb._0x2bf912,_0x3cd5de-_0x2ceacb._0x161c77);}return this['reservations'][_0x19222e(_0x41f4fc._0x2bd64e,_0x41f4fc._0x101e31,0x490,0x282)](),_0x5f0922;}async[_0x515b8f(0x424,0x27a,0x2a2,0x3a5)](_0x2d921b){const _0x1a7dc0={_0x245643:0x3d2,_0x4d66f7:0x501,_0x5a6098:0x688,_0x3f82ad:0x77c,_0x20931a:0xfe,_0x17a524:0x8,_0x391c2b:0x10b,_0x14b360:0x4aa,_0x23a658:0x4c3,_0x593c8d:0x3cb,_0x3a9138:0x24b,_0x144ced:0x2bb,_0x21cadb:0x3be,_0x5c8078:0x271,_0x2a7b8f:0x18b,_0x35c66a:0x47c,_0x7da165:0x302,_0xcf9fc8:0x347,_0x240762:0x5a1,_0x49e245:0x3e7,_0x37d03b:0x236,_0x66fdee:0x3e1,_0x472015:0x1f9,_0x17541a:0x414,_0x195337:0x2d,_0x141c37:0x465,_0x519418:0x553,_0x2853e2:0x594,_0x3e8dee:0x21b,_0x1eb421:0x2f3,_0x1d2d22:0x3fa,_0x4f17c1:0x3da},_0x2bd27f={_0x5dcb3c:0x1d5},_0x43ae52={_0x3ec821:0x196,_0x207df2:0x5e};_0x2d921b[_0x5c7f44(0x434,0x3b1,_0x1a7dc0._0x245643,_0x1a7dc0._0x4d66f7)]=!![];const _0x27b12e=await this['signalAdapter'][_0x5c7f44(0x4f2,0x669,_0x1a7dc0._0x5a6098,_0x1a7dc0._0x3f82ad)]({'rootPid':_0x2d921b['pid'],'processGroupId':_0x2d921b[_0x20989a(_0x1a7dc0._0x20931a,_0x1a7dc0._0x17a524,0x49,_0x1a7dc0._0x391c2b)]},_0x5c7f44(0x444,0x40f,0x49e,_0x1a7dc0._0x14b360));if(_0x27b12e[_0x5c7f44(_0x1a7dc0._0x23a658,_0x1a7dc0._0x593c8d,_0x1a7dc0._0x3a9138,0x3cb)]==='failed')return this['failed'](_0x2d921b,_0x27b12e[_0x20989a(0x28,0xa3,0x11e,-0x9d)]);if(await this['waitForTerminal'](_0x2d921b,TERMINATION_WINDOW_MS))return this['confirmed'](_0x2d921b);_0x2d921b['forceRequested']=!![];function _0x5c7f44(_0x16bc10,_0x7d7acf,_0x599f0f,_0x1c21a8){return _0x515b8f(_0x16bc10-_0x43ae52._0x3ec821,_0x7d7acf-0x18d,_0x599f0f,_0x7d7acf- -_0x43ae52._0x207df2);}const _0xf8d132=await this[_0x5c7f44(_0x1a7dc0._0x144ced,_0x1a7dc0._0x21cadb,_0x1a7dc0._0x5c8078,0x35f)]['signal']({'rootPid':_0x2d921b[_0x20989a(_0x1a7dc0._0x2a7b8f,_0x1a7dc0._0x35c66a,_0x1a7dc0._0x7da165,_0x1a7dc0._0xcf9fc8)],'processGroupId':_0x2d921b[_0x5c7f44(_0x1a7dc0._0x240762,_0x1a7dc0._0x49e245,_0x1a7dc0._0x37d03b,_0x1a7dc0._0x66fdee)]},_0x5c7f44(0x4b7,0x3ba,_0x1a7dc0._0x472015,_0x1a7dc0._0x17541a));function _0x20989a(_0x4e183e,_0x335169,_0x3f4c5b,_0x4b0648){return _0x1c3a85(_0x4e183e-_0x2bd27f._0x5dcb3c,_0x4e183e,_0x3f4c5b-0x170,_0x3f4c5b-0x8d);}if(_0xf8d132[_0x20989a(-0x15,-0x68,_0x1a7dc0._0x195337,-0xe3)]==='failed')return this[_0x5c7f44(0x4b7,_0x1a7dc0._0x141c37,_0x1a7dc0._0x519418,_0x1a7dc0._0x2853e2)](_0x2d921b,_0xf8d132[_0x20989a(0x140,_0x1a7dc0._0x3e8dee,0x11e,0x108)]);if(await this['waitForTerminal'](_0x2d921b,TERMINATION_WINDOW_MS))return this[_0x5c7f44(_0x1a7dc0._0x1eb421,0x3bc,_0x1a7dc0._0x1d2d22,0x2bc)](_0x2d921b);return this[_0x5c7f44(_0x1a7dc0._0x4f17c1,_0x1a7dc0._0x141c37,0x4df,0x2f0)](_0x2d921b,'Background\x20process\x20termination\x20timed\x20out\x20after\x204000ms');}[_0x515b8f(0x35e,0x532,0x2c7,0x41a)](_0x1e91c1){const _0x44c7f9={_0x103dff:0xa3,_0x5648e4:0xfa,_0x498c7a:0xd,_0x277f71:0xb,_0x85ff10:0x23c,_0x4a8b7b:0x12b,_0x1f89e6:0x2f0,_0x23aa55:0x4d1},_0x3423dd={_0x13dc30:0x19,_0x5de8c6:0x69};function _0x205675(_0x29e136,_0x56d937,_0x51811f,_0xfd9167){return _0x1c3a85(_0x29e136-0x1a2,_0x51811f,_0x51811f-_0x3423dd._0x13dc30,_0x56d937-_0x3423dd._0x5de8c6);}function _0x3d82b9(_0x3a987b,_0x1a9e9b,_0x4a557b,_0x4bcd7d){return _0x1c3a85(_0x3a987b-0x145,_0x4a557b,_0x4a557b-0x29,_0x3a987b-0x36f);}return _0x1e91c1['status']==='error'?this[_0x205675(0xfb,_0x44c7f9._0x103dff,0x9c,0xff)](_0x1e91c1,_0x1e91c1[_0x205675(0xb3,_0x44c7f9._0x5648e4,_0x44c7f9._0x498c7a,-_0x44c7f9._0x277f71)]??_0x205675(_0x44c7f9._0x85ff10,0x21e,_0x44c7f9._0x4a8b7b,_0x44c7f9._0x1f89e6)):this['result'](_0x1e91c1,_0x3d82b9(_0x44c7f9._0x23aa55,0x38f,0x4e6,0x43a));}[_0x1c3a85(0xf7,-0xf5,-0x167,0x3a)](_0x5c9d69,_0x5d3a97){const _0x4eed24={_0x1b32f8:0x128,_0x17672b:0x51,_0x2df60e:0x1d1,_0x3a975b:0x1f2,_0x5e1ce9:0x294,_0x19e174:0x2a3},_0x4b597d={_0x36e27e:0x98,_0x3dfcc6:0x220},_0x25ae42={_0x536d5b:0xa4};_0x5c9d69[_0x47a652(-0x95,_0x4eed24._0x1b32f8,0x231,-_0x4eed24._0x17672b)]=_0x5d3a97;function _0x47a652(_0x1d9cde,_0x167a84,_0x46becd,_0x12a84e){return _0x1c3a85(_0x1d9cde-_0x25ae42._0x536d5b,_0x1d9cde,_0x46becd-0x39,_0x167a84-0x97);}function _0x10fc1d(_0xd209e5,_0x1ea3f3,_0xd74931,_0x36a3cc){return _0x515b8f(_0xd209e5-_0x4b597d._0x36e27e,_0x1ea3f3-0x16,_0xd74931,_0x36a3cc- -_0x4b597d._0x3dfcc6);}return this[_0x47a652(0x356,_0x4eed24._0x2df60e,0x23e,_0x4eed24._0x3a975b)](_0x5c9d69,_0x10fc1d(_0x4eed24._0x5e1ce9,0x16a,0x22e,_0x4eed24._0x19e174));}['result'](_0x28c189,_0x289eae){const _0x25baca={_0x194acc:0x514,_0x392a00:0x466,_0x460889:0x654,_0x210bfd:0x18d,_0x314a63:0x167,_0xceafc8:0x245,_0xf51c6e:0x3ae,_0x34c367:0xae,_0x21cf99:0x7,_0x3f97b4:0x100,_0x33b2e6:0x111},_0xb6e0d0={_0x4b0a47:0x3a9},_0x374584={_0x58d868:0x40,_0x73ceea:0x13};function _0xc63c08(_0x21578e,_0x275b7e,_0xc94204,_0x56644a){return _0x1c3a85(_0x21578e-_0x374584._0x58d868,_0x56644a,_0xc94204-_0x374584._0x73ceea,_0x21578e-0x73);}function _0x121e78(_0x140783,_0x157f9e,_0x221ffd,_0x2c9ff6){return _0x1c3a85(_0x140783-0xc1,_0x221ffd,_0x221ffd-0x16,_0x157f9e-_0xb6e0d0._0x4b0a47);}return{'shellId':_0x28c189[_0x121e78(_0x25baca._0x194acc,0x5ce,_0x25baca._0x392a00,_0x25baca._0x460889)],'outcome':_0x289eae,'status':_0x28c189[_0xc63c08(0x67,_0x25baca._0x210bfd,_0x25baca._0x314a63,-0x3f)],'exitCode':_0x28c189['exitCode'],'signal':_0x28c189[_0xc63c08(0x2b1,0x2a1,_0x25baca._0xceafc8,_0x25baca._0xf51c6e)],'error':_0x28c189[_0xc63c08(0x104,-_0x25baca._0x34c367,0x184,0x1e1)],'gracefulRequested':_0x28c189[_0xc63c08(-_0x25baca._0x21cf99,-_0x25baca._0x3f97b4,-0x74,_0x25baca._0x33b2e6)],'forceRequested':_0x28c189['forceRequested']};}[_0x1c3a85(0xe7,-0x16e,-0xc6,-0x40)](_0x176866,_0xb384ac){const _0x1cfa76={_0x2b98d7:0x3d0,_0x354a6f:0x3fb,_0x751176:0x58b,_0x5644bd:0x4fb,_0x2b7663:0x441};if(_0x176866['terminalSettled'])return Promise['resolve'](!![]);return new Promise(_0x148a03=>{let _0x36f3db=![];function _0x421c1a(_0x48f3f7,_0x17f584,_0x287d46,_0x39b25e){return _0x2a2f(_0x39b25e-0x1fb,_0x17f584);}function _0x1ae222(_0x9cd581,_0x1bd7fe,_0x53ec1a,_0x1fc220){return _0x2a2f(_0x1bd7fe- -0xaa,_0x1fc220);}const _0x2d6e31=setTimeout(()=>{if(_0x36f3db)return;_0x36f3db=!![],_0x148a03(![]);},_0xb384ac);void _0x176866[_0x421c1a(_0x1cfa76._0x2b98d7,_0x1cfa76._0x354a6f,_0x1cfa76._0x751176,0x3d4)][_0x421c1a(_0x1cfa76._0x5644bd,0x3e2,0x2f1,_0x1cfa76._0x2b7663)](()=>{if(_0x36f3db)return;_0x36f3db=!![],clearTimeout(_0x2d6e31),_0x148a03(!![]);});});}[_0x515b8f(0x444,0x423,0x363,0x4ee)](_0x4d7371,_0x4ee106,_0x35c490,_0x4e16df){const _0x58eee8={_0x23b706:0x8f,_0x470a90:0xac,_0x4cdb56:0xc,_0x5c0df2:0x3,_0xbd76f9:0x240,_0x34319b:0x8e,_0x35820e:0xe2,_0xd380be:0xff},_0x685585={_0x1d3677:0x18c,_0x6160ef:0x49d};function _0x17d112(_0x49a121,_0x564101,_0x3690ee,_0x242ee9){return _0x515b8f(_0x49a121-0x197,_0x564101-0x1b0,_0x3690ee,_0x242ee9- -0x39b);}const _0x282959=_0x4ee106[_0x17d112(-0x126,0xea,0x222,0x6a)](_0x4e16df);function _0x3349ae(_0x57b9df,_0x17bc0f,_0x44324d,_0x1836e9){return _0x515b8f(_0x57b9df-_0x685585._0x1d3677,_0x17bc0f-0x6,_0x44324d,_0x17bc0f- -_0x685585._0x6160ef);}this[_0x3349ae(-_0x58eee8._0x23b706,-_0x58eee8._0x470a90,_0x58eee8._0x4cdb56,-_0x58eee8._0x5c0df2)](_0x4d7371,_0x4d7371[_0x3349ae(0x19f,_0x58eee8._0xbd76f9,0x126,0x1f6)]?_0x35c490[_0x3349ae(_0x58eee8._0x34319b,-0x98,-_0x58eee8._0x35820e,_0x58eee8._0xd380be)](_0x282959):_0x282959);}[_0x1c3a85(0x80,0x143,-0x95,-0x1)](_0x3b5aea){const _0x199b8e={_0x58ef58:0x3eb,_0x4ddc55:0x31a,_0x26659b:0x241,_0xb30d8f:0x332,_0x3baee7:0x390},_0x2a94c0={_0x3c5f43:0x53},_0x2a3435={_0x31f7c6:0x9b};function _0x3aa484(_0x58dc57,_0x38c515,_0x2d154a,_0xcfadf7){return _0x515b8f(_0x58dc57-0xfc,_0x38c515-_0x2a3435._0x31f7c6,_0x2d154a,_0xcfadf7- -0x1e0);}this[_0x3aa484(_0x199b8e._0x58ef58,0x5a1,_0x199b8e._0x4ddc55,0x3e8)](_0x3b5aea);!_0x3b5aea[_0x3aa484(_0x199b8e._0x26659b,0x38c,0x37c,_0x199b8e._0xb30d8f)]&&(_0x3b5aea['terminalSettled']=!![],_0x3b5aea[_0x3aa484(0x2d4,0x53f,_0x199b8e._0x3baee7,0x47e)]());function _0xd4f5da(_0x3f6527,_0x586974,_0x5960a1,_0x4ddf3c){return _0x1c3a85(_0x3f6527-0x17b,_0x586974,_0x5960a1-0xc2,_0x3f6527-_0x2a94c0._0x3c5f43);}this['evictIfNeeded']();}['flushStreams'](_0x37be4d){const _0x297dba={_0x36690b:0xd1,_0x30e53a:0x18a,_0x2050f5:0x221,_0x5c5911:0x249,_0x42e53b:0x2f9,_0x166be7:0x12b,_0x5b8dcf:0x2f9,_0x863682:0x383,_0x8db320:0x204,_0xc3acae:0x23b,_0x1d240f:0x31a,_0x4e9c39:0x505,_0x4b9596:0x201,_0x56ac1c:0x208,_0x1195d8:0x6c,_0x566c72:0x55,_0x5e8893:0x9c,_0x244143:0x195,_0x26ad65:0x1fb,_0x3a212b:0x496,_0x3ae080:0x4bc,_0x4bdcbc:0x38b,_0x46a15a:0x2a0,_0x5aaa8e:0x32b,_0x4ef9bd:0x228,_0x4a29f9:0x1c7,_0x138e47:0x459,_0x43f8d3:0x2f9},_0x5ede12={_0x477a04:0x15f},_0x1bdfa3={_0x45f846:0x4a};if(_0x37be4d[_0xd4f3a9(0xc0,-0xe0,0x162,_0x297dba._0x36690b)])return;_0x37be4d[_0xd4f3a9(0x222,0xd5,_0x297dba._0x30e53a,_0x297dba._0x36690b)]=!![];function _0x251521(_0x498cab,_0x551329,_0xc48b11,_0x1e6d2b){return _0x1c3a85(_0x498cab-_0x1bdfa3._0x45f846,_0x1e6d2b,_0xc48b11-0xcc,_0x551329-0x29c);}function _0xd4f3a9(_0xd023e7,_0x16be91,_0x4d3f8,_0x569035){return _0x1c3a85(_0xd023e7-_0x5ede12._0x477a04,_0x4d3f8,_0x4d3f8-0x150,_0x569035-0xd9);}const _0x2e40=_0x37be4d['stdoutDecoder'][_0xd4f3a9(_0x297dba._0x2050f5,_0x297dba._0x5c5911,0x3c8,_0x297dba._0x42e53b)](),_0x28830c=_0x37be4d[_0xd4f3a9(0xaa,_0x297dba._0x166be7,0x10e,0x195)][_0xd4f3a9(0x326,0x4a9,0x34b,_0x297dba._0x5b8dcf)]();this[_0x251521(_0x297dba._0x863682,_0x297dba._0x8db320,_0x297dba._0xc3acae,_0x297dba._0x1d240f)](_0x37be4d,_0x37be4d[_0x251521(_0x297dba._0x4e9c39,0x4f0,0x501,0x4fe)]?_0x37be4d['stdoutNormalizer'][_0xd4f3a9(_0x297dba._0x4b9596,_0x297dba._0x56ac1c,-_0x297dba._0x1195d8,_0x297dba._0x566c72)](_0x2e40)+_0x37be4d[_0xd4f3a9(_0x297dba._0x5e8893,0x342,_0x297dba._0x244143,_0x297dba._0x26ad65)][_0x251521(_0x297dba._0x3a212b,_0x297dba._0x3ae080,_0x297dba._0x4bdcbc,0x641)]():_0x2e40),this['append'](_0x37be4d,_0x37be4d['stripAnsi']?_0x37be4d[_0x251521(0x1aa,_0x297dba._0x46a15a,0xef,0x2c2)][_0x251521(0x8b,0x218,0xf7,0xfc)](_0x28830c)+_0x37be4d[_0x251521(0x368,_0x297dba._0x46a15a,_0x297dba._0x5aaa8e,_0x297dba._0x4ef9bd)][_0xd4f3a9(_0x297dba._0x4a29f9,_0x297dba._0x138e47,0x34b,_0x297dba._0x43f8d3)]():_0x28830c);}['append'](_0x118844,_0x16a017){const _0x1c7293={_0x4a3b59:0x3c7,_0x33038b:0x46c,_0x482c49:0x712,_0x1b0268:0x41b,_0x30a761:0x594,_0x32c929:0x56f,_0x336dd8:0x66e,_0x2074ce:0x394,_0x1a3528:0x5e5,_0x1c83c1:0x5d0,_0x10ff24:0x70a,_0x56eeff:0x39f,_0x3ca761:0x655,_0x1094ab:0x757,_0xa88888:0x540,_0x40b2f3:0x5cc,_0xe36e1e:0x69b,_0x1c6731:0x6a9,_0x3b0f7c:0x565,_0x47610e:0x5ed,_0x2a82a7:0x59b,_0x477002:0x389,_0x5eddcb:0x32d,_0x25c102:0x670,_0xd17cb4:0x54d,_0x2e318c:0x5ae,_0x4a7f40:0x62b,_0x444d51:0x692,_0x1903e1:0x43f,_0x3647c0:0x340,_0x127ae5:0x475},_0x43aa18={_0x144c0b:0x6d},_0x271fbc={_0x39bfc5:0x8c,_0x208218:0x167,_0x4e4f4d:0x69};if(_0x16a017[_0x368bcf(0x540,0x3ad,_0x1c7293._0x4a3b59,_0x1c7293._0x33038b)]===0x0)return;function _0x58e776(_0x156951,_0x303142,_0x2e5e5d,_0x526d4a){return _0x515b8f(_0x156951-_0x271fbc._0x39bfc5,_0x303142-_0x271fbc._0x208218,_0x156951,_0x2e5e5d-_0x271fbc._0x4e4f4d);}function _0x368bcf(_0x387b89,_0x8ed616,_0x75a303,_0x2e4896){return _0x1c3a85(_0x387b89-_0x43aa18._0x144c0b,_0x75a303,_0x75a303-0x1d8,_0x387b89-0x445);}_0x118844[_0x368bcf(0x595,0x672,0x4fe,0x625)][_0x58e776(0x6ce,0x870,0x760,_0x1c7293._0x482c49)](_0x16a017),_0x118844['bufferChars']+=_0x16a017['length'],_0x118844[_0x368bcf(_0x1c7293._0x1b0268,_0x1c7293._0x30a761,_0x1c7293._0x32c929,0x4b2)]+=_0x16a017[_0x368bcf(0x540,_0x1c7293._0x336dd8,0x486,_0x1c7293._0x2074ce)];while(_0x118844[_0x368bcf(_0x1c7293._0x1a3528,_0x1c7293._0x1c83c1,0x5f4,_0x1c7293._0x10ff24)]>this[_0x368bcf(0x543,_0x1c7293._0x56eeff,0x478,0x4f9)]){const _0x11f0db=_0x118844['bufferChars']-this[_0x368bcf(0x543,0x40a,0x626,_0x1c7293._0x3ca761)],_0x4a605a=_0x118844[_0x58e776(0x64b,_0x1c7293._0x1094ab,0x642,0x709)][0x0];if(_0x4a605a===void 0x0)break;_0x4a605a[_0x368bcf(_0x1c7293._0xa88888,0x3e7,_0x1c7293._0x40b2f3,0x3cd)]<=_0x11f0db?(_0x118844[_0x58e776(0x702,_0x1c7293._0xe36e1e,0x642,0x728)][_0x368bcf(_0x1c7293._0x1c6731,0x7bc,0x60d,0x786)](),_0x118844['bufferChars']-=_0x4a605a[_0x58e776(_0x1c7293._0x3b0f7c,0x4df,_0x1c7293._0x47610e,0x478)],_0x118844[_0x58e776(_0x1c7293._0x2a82a7,_0x1c7293._0x477002,0x4ec,_0x1c7293._0x5eddcb)]+=_0x4a605a[_0x368bcf(0x540,0x6ee,0x47e,0x56d)]):(_0x118844[_0x368bcf(0x595,0x678,_0x1c7293._0x25c102,_0x1c7293._0xd17cb4)][0x0]=_0x4a605a[_0x368bcf(0x4eb,_0x1c7293._0x2e318c,_0x1c7293._0x4a7f40,0x5f9)](_0x11f0db),_0x118844[_0x58e776(0x4d4,0x68b,_0x1c7293._0x444d51,0x71d)]-=_0x11f0db,_0x118844[_0x368bcf(_0x1c7293._0x1903e1,_0x1c7293._0x3647c0,0x51d,_0x1c7293._0x127ae5)]+=_0x11f0db);}}['evictIfNeeded'](){const _0x5ec4c4={_0x5532c2:0xca,_0x80a0c5:0x1a5,_0xa71a36:0x38b,_0x90080:0x478,_0x3ea745:0x457,_0x574f9d:0x3ff,_0x45c2a5:0x2e7,_0x594108:0x238,_0x8c8811:0x2aa,_0x3ebd6a:0x16,_0xc5192b:0x86,_0x1c9527:0xc3,_0x2b0060:0x18c,_0x4e21cf:0x2b4},_0x10f4df={_0x4ec13e:0x16,_0x1b105d:0x121,_0x3c5301:0x3e4};function _0x400eb4(_0x1a7187,_0x259e9e,_0x544f39,_0x54dc86){return _0x1c3a85(_0x1a7187-_0x10f4df._0x4ec13e,_0x544f39,_0x544f39-_0x10f4df._0x1b105d,_0x259e9e-_0x10f4df._0x3c5301);}function _0x47e62f(_0x3c5848,_0x4e34fa,_0x23f6d6,_0x39eeb3){return _0x1c3a85(_0x3c5848-0x4d,_0x4e34fa,_0x23f6d6-0x14c,_0x23f6d6-0x7b);}while(this[_0x47e62f(0x247,_0x5ec4c4._0x5532c2,0x13b,_0x5ec4c4._0x80a0c5)]['size']>this['maxEntries']){const _0x1cf056=[...this[_0x400eb4(_0x5ec4c4._0xa71a36,0x4a4,_0x5ec4c4._0x90080,_0x5ec4c4._0x3ea745)][_0x47e62f(_0x5ec4c4._0x574f9d,0x1fc,_0x5ec4c4._0x45c2a5,0x444)]()]['filter'](_0x14a900=>_0x14a900[_0x47e62f(-0x36,0x286,0x104,0x56)]&&isTerminalStatus(_0x14a900[_0x47e62f(0xbe,-0xbc,0x6f,0x208)]))[_0x47e62f(0x235,_0x5ec4c4._0x594108,_0x5ec4c4._0x8c8811,0x1b2)]((_0x4f9add,_0x1eb4c2)=>_0x4f9add[_0x400eb4(0x757,0x5bb,0x634,0x499)]-_0x1eb4c2['startedAt'])[0x0];if(!_0x1cf056)return;this[_0x47e62f(-_0x5ec4c4._0x3ebd6a,-_0x5ec4c4._0xc5192b,0x13b,0x3f)][_0x47e62f(0x13e,_0x5ec4c4._0x1c9527,_0x5ec4c4._0x2b0060,_0x5ec4c4._0x4e21cf)](_0x1cf056['shellId']);}}};function createBashOutputTool(_0x428dfb){const _0x51803a={_0x4b4304:0xbf,_0x27bcb0:0x10d,_0x33ee4b:0x5e,_0x31ecee:0x1de,_0x5ad8cf:0xc0,_0x4a44c2:0x288,_0x3e3b0a:0x1f1,_0x49b236:0x376,_0x4cbd2f:0x2f0,_0x49891b:0x20e,_0x4b7bd1:0x221},_0x3fe91c={_0x4db8af:0x236,_0x191f0c:0xf2,_0x262478:0x276,_0x1d9917:0x123,_0x2ddbef:0x153,_0x403347:0x8a,_0x131a19:0x2ab,_0x2ccdd5:0xce,_0x5c4ddd:0x155,_0x4d0707:0xea,_0x4579d0:0x11d,_0x5deae4:0x20e,_0x21ebf0:0x9d,_0x147462:0xba,_0x19e60d:0x68,_0x4639c9:0x80,_0x321b5f:0xbf,_0x4f3659:0xc0,_0x1ffba0:0x21,_0x3b637c:0xc1},_0x5b0b8e={_0x20adc0:0x133};function _0x91b544(_0x46d10d,_0x723312,_0x222ac5,_0xcd4fb4){return _0x1c3a85(_0x46d10d-_0x5b0b8e._0x20adc0,_0x222ac5,_0x222ac5-0x140,_0x723312- -0x9e);}function _0x1234b2(_0x10f1b3,_0x345212,_0x44734d,_0x21c33c){return _0x1c3a85(_0x10f1b3-0x62,_0x10f1b3,_0x44734d-0xa6,_0x345212- -0x210);}const {registry:_0x1ddb88}=_0x428dfb;return defineTool({'name':'BashOutput','permissionClass':'always-confirm','description':_0x1234b2(_0x51803a._0x4b4304,-0xb9,-_0x51803a._0x27bcb0,-_0x51803a._0x33ee4b),'inputSchema':{'type':_0x91b544(-_0x51803a._0x31ecee,-0xab,_0x51803a._0x5ad8cf,-0x24f),'properties':{'shellId':{'type':_0x1234b2(-_0x51803a._0x4a44c2,-_0x51803a._0x3e3b0a,-_0x51803a._0x49b236,-_0x51803a._0x4cbd2f)},'regex':{'type':_0x91b544(-_0x51803a._0x49891b,-0x7f,0x60,-_0x51803a._0x4b7bd1)}},'required':['shellId']},async *'execute'(_0x45adba){const _0x589391={_0x1cb767:0x73,_0x450f0c:0x101},_0x40c1a5={_0x549547:0x199,_0x439eb6:0x151,_0x5135eb:0x1f1},_0x1c4b0a=_0x1ddb88[_0xad4cfe(-_0x3fe91c._0x4db8af,0x37,-_0x3fe91c._0x191f0c,-_0x3fe91c._0x262478)](_0x45adba[_0xad4cfe(0x74,0x1ed,0x36,_0x3fe91c._0x1d9917)],_0x45adba[_0x5b0245(0x10b,0x51,-0x8a,-_0x3fe91c._0x2ddbef)]?{'regex':_0x45adba[_0xad4cfe(-_0x3fe91c._0x403347,-_0x3fe91c._0x131a19,-0x168,-0x52)]}:void 0x0);function _0xad4cfe(_0xbe3352,_0x139972,_0x35f723,_0x526933){return _0x91b544(_0xbe3352-_0x40c1a5._0x549547,_0x35f723- -_0x40c1a5._0x439eb6,_0x139972,_0x526933-_0x40c1a5._0x5135eb);}function _0x5b0245(_0xd63abf,_0x21b754,_0x190b58,_0x51420f){return _0x91b544(_0xd63abf-0x1d4,_0x190b58- -_0x589391._0x1cb767,_0x51420f,_0x51420f-_0x589391._0x450f0c);}return createToolOutput(_0x1c4b0a[_0xad4cfe(-_0x3fe91c._0x2ccdd5,-_0x3fe91c._0x5c4ddd,-_0x3fe91c._0x4d0707,0x66)],{'shellId':_0x45adba['shellId'],'status':_0x1c4b0a[_0x5b0245(-0x53,-0x20a,-_0x3fe91c._0x4579d0,-_0x3fe91c._0x5deae4)],'exitCode':_0x1c4b0a[_0x5b0245(-_0x3fe91c._0x21ebf0,-0x10b,0x6d,-0xb8)],'signal':_0x1c4b0a[_0x5b0245(0x2ea,_0x3fe91c._0x147462,0x12d,-_0x3fe91c._0x19e60d)],'error':_0x1c4b0a[_0x5b0245(0x10b,0x82,-_0x3fe91c._0x4639c9,_0x3fe91c._0x321b5f)],'truncated':_0x1c4b0a[_0xad4cfe(-0x94,-_0x3fe91c._0x4f3659,-_0x3fe91c._0x1ffba0,_0x3fe91c._0x3b637c)]});}});}import{spawn as _0x1ad1f1}from'child_process';import{realpathSync,statSync}from'fs';import*as _0x500290 from'os';import*as _0x50bfbd from'path';import{StringDecoder as _0x162ebb}from'string_decoder';import{spawn as _0x1a1ac0}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException(_0x556b42){return _0x556b42 instanceof Error;}function resolveCarriageReturns(_0x244010){const _0x323df0={_0x1de03f:0x27e},_0xac41a5={_0x9620aa:0x2fe,_0x5a5450:0x605,_0xc8bb95:0x74b,_0x23395b:0x693,_0x5db95c:0x61e},_0x248f77={_0x15d292:0x1a};function _0x2abdf2(_0x6efbfc,_0x55657b,_0x1621c6,_0x5f30c5){return _0x515b8f(_0x6efbfc-0x113,_0x55657b-0x99,_0x6efbfc,_0x5f30c5- -_0x248f77._0x15d292);}return _0x244010['split']('\x0a')[_0x2abdf2(_0x323df0._0x1de03f,0x4ac,0x562,0x3c0)](_0x3de9fb=>{const _0x1802a6={_0x55cc2a:0x667};function _0x1ac4b2(_0x135cda,_0x8baef1,_0x3b9257,_0x2378be){return _0x2abdf2(_0x135cda,_0x8baef1-0xd5,_0x3b9257-0x19e,_0x2378be- -_0x1802a6._0x55cc2a);}if(!_0x3de9fb[_0xd3a556(0x431,0x3ba,_0xac41a5._0x9620aa,0x4ca)]('\x0d'))return _0x3de9fb;function _0xd3a556(_0x2e0682,_0x302c14,_0x2bb8c8,_0xc223d1){return _0x2abdf2(_0x302c14,_0x302c14-0x162,_0x2bb8c8-0x3a,_0x2e0682- -0x19);}const _0x5f171c=_0x3de9fb[_0xd3a556(_0xac41a5._0x5a5450,_0xac41a5._0xc8bb95,0x74e,0x6d0)]('\x0d');return _0x5f171c[_0x5f171c[_0xd3a556(0x551,0x545,_0xac41a5._0x23395b,_0xac41a5._0x5db95c)]-0x1]??'';})['join']('\x0a');}function resolveBackspaces(_0x52a693){const _0x167368={_0x14595f:0x26a,_0x5615b7:0xf9,_0x1020d6:0x43f,_0x4f565f:0x31e,_0xa2f8c3:0x495},_0x2eca8f={_0x53b8cb:0x9},_0x2e143e={_0x2b5d0c:0x1aa,_0x15c87b:0x17e};function _0x5f21b4(_0x2eb755,_0x543f46,_0x137cfc,_0xe9dce){return _0x515b8f(_0x2eb755-0x29,_0x543f46-_0x2e143e._0x2b5d0c,_0x137cfc,_0x2eb755- -_0x2e143e._0x15c87b);}const _0x32796a=[];for(const _0x1794ab of Array[_0x17062b(-0xe7,-_0x167368._0x14595f,-_0x167368._0x5615b7,-0x104)](_0x52a693)){_0x1794ab==='\x08'?_0x32796a['pop']():_0x32796a['push'](_0x1794ab);}function _0x17062b(_0x412f59,_0x327917,_0x3a8898,_0x50addc){return _0x515b8f(_0x412f59-0x1cb,_0x327917-_0x2eca8f._0x53b8cb,_0x3a8898,_0x412f59- -0x4a7);}return _0x32796a[_0x5f21b4(_0x167368._0x1020d6,_0x167368._0x4f565f,_0x167368._0xa2f8c3,0x2a9)]('');}function stripAnsiAndControls(_0x439220){const _0x10eceb={_0x4c9061:0x1d0,_0x377cf6:0x34f,_0x490b7d:0x222,_0x3afe3a:0x245,_0x5487fb:0x124,_0x52befa:0x8a,_0x2f4dc3:0x245,_0x44b042:0x406,_0x13c1ec:0x2c2,_0xd50caa:0x26d},_0x223c08={_0x9d3336:0xa0,_0x69316b:0x2be},_0x370166={_0x40bac8:0x24};_0x439220=resolveCarriageReturns(_0x439220),_0x439220=resolveBackspaces(_0x439220),_0x439220=stripVTControlCharacters(_0x439220);const _0xccecf6='\x1b',_0x11cf7b='\x07';_0x439220=_0x439220[_0x14c4b1(_0x10eceb._0x4c9061,_0x10eceb._0x377cf6,_0x10eceb._0x490b7d,_0x10eceb._0x3afe3a)](new RegExp(_0x14c4b1(_0x10eceb._0x5487fb,0xdf,0x1fa,0x285)+_0x11cf7b+_0x14c4b1(0x4f9,0x34c,0x34d,0x3dd)+_0x11cf7b,'g'),''),_0x439220=_0x439220['replace'](new RegExp(';[^\x5cn]*?'+_0xccecf6+'\x5c\x5c','g'),''),_0x439220=_0x439220[_0x14c4b1(0x1af,_0x10eceb._0x52befa,0x381,0x245)](new RegExp(_0x11cf7b,'g'),''),_0x439220=_0x439220[_0x14c4b1(0x1b8,0x1f1,0x11f,_0x10eceb._0x2f4dc3)](new RegExp(_0xccecf6+_0x14c4b1(_0x10eceb._0x44b042,0x20a,0x2d5,_0x10eceb._0x13c1ec)+_0xccecf6+'\x5c\x5c','g'),''),_0x439220=_0x439220[_0xc3e888(0x31c,0x157,0x36f,_0x10eceb._0xd50caa)](new RegExp(_0xccecf6+'[=>7-8()]','g'),''),_0x439220=_0x439220['replace'](/[\u0080-\u009F]/g,'');function _0x14c4b1(_0x317555,_0x32abd8,_0x4b6e78,_0x5f3786){return _0x515b8f(_0x317555-_0x370166._0x40bac8,_0x32abd8-0x150,_0x32abd8,_0x5f3786- -0x2e6);}_0x439220=_0x439220['replace'](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x439220=_0x439220['replace'](/[\u23CE\u2424]/g,'');function _0xc3e888(_0x34f4f7,_0x971f69,_0x391ecd,_0xf4496e){return _0x515b8f(_0x34f4f7-_0x223c08._0x9d3336,_0x971f69-0x1dd,_0x971f69,_0xf4496e- -_0x223c08._0x69316b);}return _0x439220;}function killProcessGroup(_0x36e318,_0x44a2c2,_0x11ff9b='SIGKILL'){const _0x39ffed={_0x506b06:0x1be,_0x1e8a0c:0x3af,_0x4902fd:0x3ec,_0x478891:0x2f6,_0x3341a0:0x1,_0xef1e5b:0x195,_0x538276:0xac,_0x2e7a45:0x312,_0x21ba61:0x3b3,_0x5f0808:0xd7,_0x1c37ad:0x1be,_0x226791:0xb7},_0x1c2686={_0x24fcf6:0x196},_0x4dcd6a={_0x26291f:0x1dc};function _0x4b9885(_0x38f78b,_0x919536,_0x354c39,_0x38ab06){return _0x515b8f(_0x38f78b-_0x4dcd6a._0x26291f,_0x919536-0x195,_0x38f78b,_0x354c39- -0xb6);}function _0x526bc9(_0x5eea42,_0xf12cf7,_0x5d64bf,_0x191cf8){return _0x1c3a85(_0x5eea42-_0x1c2686._0x24fcf6,_0x191cf8,_0x5d64bf-0x5b,_0x5eea42- -0xb7);}if(!_0x36e318[_0x526bc9(_0x39ffed._0x506b06,0xb2,0x333,0x289)])return;if(_0x44a2c2)try{_0x1a1ac0(_0x4b9885(0x551,0x48f,_0x39ffed._0x1e8a0c,_0x39ffed._0x4902fd),['/pid',_0x36e318[_0x526bc9(_0x39ffed._0x506b06,_0x39ffed._0x478891,0x15b,_0x39ffed._0x3341a0)][_0x526bc9(0x14c,_0x39ffed._0xef1e5b,_0x39ffed._0x538276,0x197)](),'/T','/F'],{'stdio':_0x526bc9(-0x16f,-0x27d,-0x277,-0x19d)});return;}catch{_0x36e318[_0x4b9885(0x51f,_0x39ffed._0x2e7a45,_0x39ffed._0x21ba61,0x2d9)](_0x11ff9b);return;}try{process[_0x526bc9(-_0x39ffed._0x5f0808,0xcc,0x77,-0x15)](-_0x36e318[_0x526bc9(_0x39ffed._0x1c37ad,_0x39ffed._0x226791,0x26c,0xa0)],_0x11ff9b);}catch{_0x36e318['kill'](_0x11ff9b);}}import{stat}from'fs/promises';import*as _0x1dc734 from'path';function isPathInside(_0x2eaaee,_0x3dcfae){const _0x454aa7={_0x283238:0xd0,_0x42e530:0x24f,_0x54546a:0xda,_0x1df5fb:0xd7,_0x1e4f38:0x419,_0xe27b9c:0x5af,_0x256d3f:0x19b},_0xc7f144={_0x4d8439:0x35d},_0x24c1ad={_0x130c1a:0x18c,_0x9c2b39:0x19};function _0x469991(_0x2703f1,_0x2358ab,_0x3ad054,_0x190ba4){return _0x1c3a85(_0x2703f1-_0x24c1ad._0x130c1a,_0x3ad054,_0x3ad054-0x67,_0x190ba4-_0x24c1ad._0x9c2b39);}function _0x46890d(_0x383d46,_0x121d67,_0x1e87d4,_0x83222b){return _0x1c3a85(_0x383d46-0xf0,_0x1e87d4,_0x1e87d4-0x1c7,_0x83222b-_0xc7f144._0x4d8439);}const _0x46ec57=_0x1dc734[_0x469991(_0x454aa7._0x283238,-_0x454aa7._0x42e530,_0x454aa7._0x54546a,-_0x454aa7._0x1df5fb)](_0x2eaaee),_0x1130b0=_0x1dc734[_0x46890d(_0x454aa7._0x1e4f38,0x3f3,0x4d1,_0x454aa7._0xe27b9c)](_0x46ec57,_0x3dcfae);return _0x1130b0===''||!_0x1130b0[_0x469991(0x33d,0x289,_0x454aa7._0x256d3f,0x1ed)]('..')&&!_0x1dc734[_0x469991(-0x16f,-0x97,-0x1f0,-0x6f)](_0x1130b0);}function resolveWorkspacePath(_0x4aea47,_0x1e37af){return resolveAllowedPath(_0x4aea47,[],_0x1e37af);}function resolveAllowedPath(_0x43e945,_0xd2450b,_0x313ab9){const _0x33ea81={_0x5dd026:0xfe,_0x1c1bdb:0x1d3,_0x4bf4f1:0x3e6};function _0x3eddf2(_0x3672f2,_0x39c155,_0x589e31,_0x166632){return _0x515b8f(_0x3672f2-_0x33ea81._0x5dd026,_0x39c155-_0x33ea81._0x1c1bdb,_0x39c155,_0x589e31- -_0x33ea81._0x4bf4f1);}const _0x4728f2=_0x1dc734['resolve'](_0x43e945),_0x82e159=_0x1dc734['resolve'](_0x4728f2,_0x313ab9),_0xcb2b31=[_0x4728f2,..._0xd2450b[_0x3eddf2(0xf9,-0xfc,-0xc,-0x95)](_0x30c03f=>_0x1dc734['resolve'](_0x30c03f))];if(_0xcb2b31['some'](_0x1d098b=>isPathInside(_0x1d098b,_0x82e159)))return _0x82e159;throw new ToolExecutionError('Path\x20is\x20outside\x20allowed\x20directories:\x20'+_0x313ab9,{'path':_0x313ab9,'rootDir':_0x4728f2,'allowedDirs':_0xcb2b31});}async function assertWorkspaceFile(_0x1ab19f){const _0x4953b8={_0x2c0b68:0x297},_0x148aa9={_0x5a8e0b:0x1ce,_0x5c55b9:0x2c5};function _0x2926c8(_0x407e65,_0x822009,_0x461a4e,_0x3b1bd1){return _0x515b8f(_0x407e65-_0x148aa9._0x5a8e0b,_0x822009-0x13a,_0x407e65,_0x461a4e- -_0x148aa9._0x5c55b9);}const _0x22461d=await stat(_0x1ab19f);if(!_0x22461d['isFile']())throw new ToolExecutionError(_0x2926c8(0x2b9,0x13b,_0x4953b8._0x2c0b68,0x407)+_0x1ab19f,{'path':_0x1ab19f});}function isProbablyBinary(_0x111df0){const _0x370f9b={_0x27dc71:0x364},_0x13b765={_0xe04c59:0x144};function _0x3b6a21(_0x2e4efe,_0x1d2a31,_0x2e9e43,_0x745a4a){return _0x1c3a85(_0x2e4efe-0x1a9,_0x2e9e43,_0x2e9e43-_0x13b765._0xe04c59,_0x1d2a31- -0x249);}return _0x111df0[_0x3b6a21(-0x3d4,-0x26e,-_0x370f9b._0x27dc71,-0x3e6)](0x0);}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION='Run\x20a\x20non-interactive\x20shell\x20command\x20with\x20timeout\x20protection\x20and\x20capture\x20stdout/stderr.\x20Use\x20FileRead\x20for\x20file\x20contents.\x20Use\x20outputRegex\x20for\x20focused\x20foreground\x20output,\x20ignoreOutput\x20when\x20only\x20the\x20exit\x20status\x20matters,\x20and\x20runInBackground\x20for\x20servers\x20or\x20watchers;\x20follow\x20background\x20runs\x20with\x20BashOutput\x20or\x20KillShell.\x20Provide\x20a\x20concise\x20user-facing\x20purpose\x20in\x20description.\x20Default\x20timeout:\x20'+DEFAULT_TIMEOUT_MS+'ms.';function buildChildEnv(_0x27cbb9,_0x1c98a3,_0x3acf99){const _0xac2959={_0x2a0e53:0x549,_0x3e077c:0x441,_0xa66700:0x43e,_0x39156b:0x37a,_0x1460df:0x4b9,_0x243d67:0x579,_0x4a6fc9:0x516,_0x445bbc:0x449,_0x4fb3a7:0x88e,_0x264c8f:0x6a9,_0x2f5cd0:0x48f,_0x3f2d69:0x33c,_0x13933b:0x58d,_0x16b308:0x57e,_0x5e1124:0x566},_0xc09cd6={_0x4bd742:0x135,_0x5b2f18:0x4f0};function _0x1682d8(_0x3efd4f,_0x3d1f3e,_0x110b5c,_0x24435f){return _0x1c3a85(_0x3efd4f-0x5f,_0x3efd4f,_0x110b5c-0x97,_0x110b5c-0x394);}const _0x367b71={...process['env'],..._0x27cbb9??{}};function _0xb9bc84(_0x19f1e5,_0x2bdf31,_0x5d99b6,_0x403c43){return _0x1c3a85(_0x19f1e5-0x40,_0x5d99b6,_0x5d99b6-_0xc09cd6._0x4bd742,_0x19f1e5-_0xc09cd6._0x5b2f18);}if(_0x500290['platform']()===_0x1682d8(0x35e,0x5a0,0x3e0,_0xac2959._0x2a0e53)){const _0x4187e2=new Set(_0x1c98a3[_0xb9bc84(_0xac2959._0x3e077c,0x3e4,_0xac2959._0xa66700,_0xac2959._0x39156b)](_0x4cb777=>_0x4cb777['toLowerCase']()));for(const _0x4042b6 of Object[_0xb9bc84(0x505,0x475,_0xac2959._0x1460df,0x67c)](_0x367b71)){if(_0x4187e2[_0x1682d8(_0xac2959._0x243d67,_0xac2959._0x4a6fc9,_0xac2959._0x445bbc,0x391)](_0x4042b6[_0xb9bc84(0x707,0x743,_0xac2959._0x4fb3a7,_0xac2959._0x264c8f)]()))delete _0x367b71[_0x4042b6];}}else{for(const _0x5afc3f of _0x1c98a3)delete _0x367b71[_0x5afc3f];if(_0x3acf99[_0x1682d8(0x5f8,0x42b,_0xac2959._0x2f5cd0,_0xac2959._0x3f2d69)]>0x0)for(const _0x1745ef of Object['keys'](_0x367b71)){_0x3acf99[_0xb9bc84(_0xac2959._0x13933b,_0xac2959._0x16b308,0x52c,_0xac2959._0x5e1124)](_0x56c013=>_0x1745ef['startsWith'](_0x56c013))&&delete _0x367b71[_0x1745ef];}}return _0x367b71;}function mapSpawnError(_0x13c1fb,_0x5ac881){const _0x140c17={_0x40b881:0x14b,_0x456a07:0x18e,_0x2d085a:0x315},_0x5d267a={_0x4adb8b:0x1c2,_0x4cf4e6:0x2e6},_0x71bce9={_0x31fc88:0xcf,_0x35d543:0x1df,_0xa813b4:0x53};if(isErrnoException(_0x13c1fb)&&_0x13c1fb['code']===_0x56994e(_0x140c17._0x40b881,0x276,0x132,0x148))return new ToolExecutionError('Shell\x20not\x20found:\x20'+_0x5ac881['shellPath'],_0x5ac881);function _0x18b31f(_0x4498f6,_0x10fe3c,_0x5db917,_0x5b8282){return _0x515b8f(_0x4498f6-_0x71bce9._0x31fc88,_0x10fe3c-_0x71bce9._0x35d543,_0x4498f6,_0x5b8282-_0x71bce9._0xa813b4);}function _0x56994e(_0x40f743,_0x522b86,_0x37d346,_0x261a57){return _0x1c3a85(_0x40f743-_0x5d267a._0x4adb8b,_0x37d346,_0x37d346-0x1e6,_0x522b86-_0x5d267a._0x4cf4e6);}return new ToolExecutionError(_0x13c1fb instanceof Error?_0x13c1fb[_0x56994e(_0x140c17._0x456a07,_0x140c17._0x2d085a,0x1ef,0x28e)]:String(_0x13c1fb),_0x5ac881);}function shellExists(_0x4ccd42){const _0x28250e={_0xaa969:0xef,_0x3d56b7:0x2c7,_0x3c636e:0x204,_0x234608:0x13f},_0x3f6a1d={_0x1b7ada:0x211};function _0x7b4212(_0x282051,_0x16f2d9,_0xd9d8fd,_0x59d90a){return _0x1c3a85(_0x282051-0x1,_0xd9d8fd,_0xd9d8fd-0x1b4,_0x59d90a- -0x192);}function _0x23558e(_0x441a21,_0x2fd52a,_0x83182b,_0x267bd6){return _0x515b8f(_0x441a21-0xbf,_0x2fd52a-0x169,_0x83182b,_0x267bd6- -_0x3f6a1d._0x1b7ada);}try{const _0x497abe=statSync(_0x4ccd42);return _0x497abe[_0x7b4212(0x84,-_0x28250e._0xaa969,-0x267,-0x106)]()&&(_0x497abe[_0x7b4212(-_0x28250e._0x3d56b7,-_0x28250e._0x3c636e,-0x19f,-_0x28250e._0x234608)]&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x24d7b1){const _0x26d7c8={_0x466a81:0x587,_0x451ff9:0x36e,_0x52e9b5:0x580,_0x22003d:0x7d,_0x51e654:0x119,_0x115ede:0x6a,_0x508f51:0x3e,_0x3a8c5e:0x1a6,_0x4c0fc6:0x211,_0x4a2f21:0x31c,_0x386a72:0x6f4,_0xee3fa6:0x45d,_0x2b717a:0x403,_0x211c90:0x12b,_0x596f0a:0xa0,_0x36692f:0x220,_0x34e8df:0x327},_0x3f5257={_0x51dd3f:0x82,_0x3c2c41:0xb5,_0x331325:0x3f},_0x3b2264={_0x127344:0xdb};if(_0x24d7b1)return _0x24d7b1;if(_0x500290['platform']()===_0x999982(_0x26d7c8._0x466a81,0x496,_0x26d7c8._0x451ff9,_0x26d7c8._0x52e9b5))return process[_0x44f8dd(_0x26d7c8._0x22003d,0x4b,_0x26d7c8._0x51e654,_0x26d7c8._0x115ede)][_0x44f8dd(0x165,0x1e2,0x1a1,_0x26d7c8._0x508f51)]||_0x44f8dd(_0x26d7c8._0x3a8c5e,0x322,0x211,_0x26d7c8._0x4c0fc6);function _0x44f8dd(_0x5c2fe8,_0x447928,_0x55c3cc,_0x114f1a){return _0x515b8f(_0x5c2fe8-_0x3b2264._0x127344,_0x447928-0x1bd,_0x114f1a,_0x55c3cc- -0x383);}const _0x42babb=['/bin/bash',_0x999982(0x2ae,0x3e9,_0x26d7c8._0x4a2f21,0x4c4),'/usr/bin/bash',_0x999982(0x549,0x6d1,_0x26d7c8._0x386a72,0x5ac)];for(const _0x38d8de of _0x42babb){if(shellExists(_0x38d8de))return _0x38d8de;}const _0x4ecafa=process[_0x999982(0x365,_0x26d7c8._0xee3fa6,0x3a8,_0x26d7c8._0x2b717a)][_0x44f8dd(0x249,_0x26d7c8._0x211c90,_0x26d7c8._0x596f0a,-0x23)];if(_0x4ecafa&&shellExists(_0x4ecafa))return _0x4ecafa;function _0x999982(_0x15d8d8,_0x39a05d,_0x37a6c4,_0x23f92d){return _0x515b8f(_0x15d8d8-_0x3f5257._0x51dd3f,_0x39a05d-_0x3f5257._0x3c2c41,_0x37a6c4,_0x39a05d- -_0x3f5257._0x331325);}return _0x44f8dd(_0x26d7c8._0x36692f,0x465,_0x26d7c8._0x34e8df,0x372);}function buildShellArgs(_0x54960a,_0x277cd8){const _0x2fc00f={_0x322cdb:0xef,_0x377646:0x13e,_0x210bcf:0x37,_0x23cd8a:0x1b,_0x4753a5:0x270,_0x5042f9:0x3a,_0x1d2b44:0x123,_0x18b9fe:0x33,_0x28163b:0x18,_0x4e5356:0x208,_0x1136be:0x238,_0x5c8c24:0x291,_0x3fa303:0x188},_0x44dbc2={_0x62a6e5:0x1a8},_0x163ced={_0x4f8960:0x152,_0x26b9be:0x184,_0x52bff8:0x5ed};function _0x7ee284(_0x486f00,_0x3408c9,_0x238b80,_0x3b71cb){return _0x515b8f(_0x486f00-_0x163ced._0x4f8960,_0x3408c9-_0x163ced._0x26b9be,_0x3408c9,_0x3b71cb- -_0x163ced._0x52bff8);}if(_0x500290[_0x7ee284(_0x2fc00f._0x322cdb,_0x2fc00f._0x377646,_0x2fc00f._0x210bcf,_0x2fc00f._0x23cd8a)]()===_0x32418a(0x19f,0x368,0x2c8,0x1fb)){const _0x339392=/cmd(\.exe)?$/i[_0x7ee284(-0x19c,-_0x2fc00f._0x4753a5,0x9f,-0xba)](_0x277cd8);return _0x339392?['/d','/s','/c',_0x54960a]:[_0x7ee284(_0x2fc00f._0x5042f9,_0x2fc00f._0x1d2b44,-_0x2fc00f._0x18b9fe,-_0x2fc00f._0x28163b),_0x32418a(_0x2fc00f._0x4e5356,0x2c2,0x4b4,0x330),_0x7ee284(_0x2fc00f._0x1136be,_0x2fc00f._0x5c8c24,_0x2fc00f._0x3fa303,0x11b),_0x54960a];}function _0x32418a(_0x4237c9,_0x130e82,_0x3a28fe,_0x5e38bf){return _0x515b8f(_0x4237c9-_0x44dbc2._0x62a6e5,_0x130e82-0x5b,_0x130e82,_0x5e38bf- -0x2da);}return['-c',_0x54960a];}function resolveWorkingDirectory(_0xc11ca7,_0xa2c4a,_0x5e6a51){const _0x54b925={_0x2e915d:0x313,_0x45c14a:0x336,_0x1ef509:0xf3,_0x5d73ea:0x151,_0x24077b:0x21a},_0x546e4b={_0x252f7a:0x2f0,_0x3debfa:0xe7,_0x1d349c:0x23e,_0xae643d:0x3ad},_0x2a06de={_0x130298:0x177,_0x36ddb3:0x194,_0x56a700:0x1a9},_0x46cf96={_0x274052:0x70,_0x40237b:0x69},_0x57eaae={_0x29eb14:0x1c2},_0x44f9c7={_0xba2949:0x95},_0x18af4b=resolveAllowedPath(_0xa2c4a,_0x5e6a51,_0xc11ca7??'.');function _0x723f59(_0x2b59f7,_0x3c05f8,_0x37f876,_0x2d8053){return _0x1c3a85(_0x2b59f7-0x37,_0x2b59f7,_0x37f876-_0x44f9c7._0xba2949,_0x2d8053-0x4ff);}function _0x1a8f33(_0x45b742,_0xba5c1d,_0x326f0c,_0x197e81){return _0x515b8f(_0x45b742-_0x57eaae._0x29eb14,_0xba5c1d-0xe5,_0x326f0c,_0x197e81- -0x389);}try{const _0x7ebb36=statSync(_0x18af4b);if(!_0x7ebb36[_0x723f59(0x563,_0x54b925._0x2e915d,_0x54b925._0x45c14a,0x4b0)]())throw new ToolExecutionError('Working\x20directory\x20is\x20not\x20a\x20directory:\x20'+_0x18af4b,{'cwd':_0x18af4b});const _0xb8eaca=realpathSync(_0x18af4b),_0xdac43b=realpathSync(_0xa2c4a),_0x5ef7ef=_0x5e6a51[_0x1a8f33(0xa9,-_0x54b925._0x1ef509,-_0x54b925._0x5d73ea,0x51)](_0x3a74c3=>{function _0x129641(_0x2beec9,_0x4ce8ef,_0x9af60,_0x4cb7f9){return _0x1a8f33(_0x2beec9-_0x46cf96._0x274052,_0x4ce8ef-_0x46cf96._0x40237b,_0x4ce8ef,_0x4cb7f9-0x39d);}function _0x6a3ba1(_0x6eabac,_0x3b1099,_0x757019,_0x1a74cd){return _0x1a8f33(_0x6eabac-_0x2a06de._0x130298,_0x3b1099-_0x2a06de._0x36ddb3,_0x757019,_0x3b1099- -_0x2a06de._0x56a700);}try{return realpathSync(_0x50bfbd[_0x6a3ba1(-_0x546e4b._0x252f7a,-0x199,-0x337,-_0x546e4b._0x3debfa)](_0x3a74c3));}catch{return _0x50bfbd[_0x129641(0x500,0x354,_0x546e4b._0x1d349c,_0x546e4b._0xae643d)](_0x3a74c3);}});return resolveAllowedPath(_0xdac43b,_0x5ef7ef,_0xb8eaca);}catch(_0x7a4d72){if(_0x7a4d72 instanceof ToolExecutionError)throw _0x7a4d72;throw new ToolExecutionError(_0x1a8f33(0x290,_0x54b925._0x24077b,0x2da,0x28f)+_0x18af4b,{'cwd':_0x18af4b});}}function resolveBashExecutionTarget(_0x5e44cd,_0x3f9572={}){const _0x47ecd3={_0x2c6510:0x2b3,_0x2dd93a:0x287,_0x3d80d3:0x268,_0x34b182:0x422,_0x5645d2:0xed,_0x5cc1f0:0x44e,_0x3332a8:0x40e,_0x3f5b43:0x5e,_0x24f91b:0xa3},_0x15ccb1={_0x2150df:0x1e7},_0x336d5c={_0x5012df:0xec},_0x4194b2=_0x50bfbd['resolve'](_0x3f9572[_0x1771dd(-0x1d3,-_0x47ecd3._0x2c6510,-0x2ff,-_0x47ecd3._0x2dd93a)]??process['cwd']());function _0x1771dd(_0x1be5c2,_0x5c1375,_0x4dd9cd,_0x276ed4){return _0x515b8f(_0x1be5c2-_0x336d5c._0x5012df,_0x5c1375-0x193,_0x4dd9cd,_0x1be5c2- -0x570);}const _0x421861=resolveDefaultShell(_0x3f9572['shellPath']);function _0x5a52a2(_0xda02fe,_0x32bb54,_0x3fab81,_0x3ab3ef){return _0x515b8f(_0xda02fe-_0x15ccb1._0x2150df,_0x32bb54-0x76,_0x3fab81,_0xda02fe- -0x23c);}return{'command':_0x5e44cd[_0x5a52a2(_0x47ecd3._0x3d80d3,_0x47ecd3._0x34b182,0x2ce,0x257)],'cwd':resolveWorkingDirectory(_0x5e44cd[_0x1771dd(-0x1a9,-0x2a8,-_0x47ecd3._0x5645d2,-0x2f4)],_0x4194b2,_0x3f9572[_0x5a52a2(_0x47ecd3._0x5cc1f0,0x342,_0x47ecd3._0x3332a8,0x447)]??[]),'shellPath':_0x421861,'dialect':resolveShellDialect(_0x421861),'background':_0x5e44cd[_0x1771dd(_0x47ecd3._0x3f5b43,_0x47ecd3._0x24f91b,0x58,-0xcd)]??![]};}function resolveShellDialect(_0x40b80c){const _0x1461b8={_0x100ec3:0x52a,_0x525251:0x642,_0x4affc1:0x63d,_0x548980:0x79e,_0x54c6b5:0x547,_0x4d5680:0x54e,_0x32b1c1:0x3ee,_0x20c4ad:0x4f4,_0x33ac04:0x489,_0x5f29a2:0x7ff,_0x39f843:0x551,_0x5df94c:0x505,_0x108af5:0x4db,_0x165020:0x55c},_0x382d5e={_0x162bd2:0x1c8};if(_0x500290['platform']()==='win32')return _0x281c1c(0x510,0x4f5,0x479,_0x1461b8._0x100ec3);function _0x281c1c(_0x1d83d5,_0x3d08e0,_0xfb9d14,_0x5c52bf){return _0x1c3a85(_0x1d83d5-0x28,_0x3d08e0,_0xfb9d14-0x18d,_0x1d83d5-0x426);}const _0x1fcca8=_0x50bfbd[_0x281c1c(0x507,0x585,_0x1461b8._0x525251,0x683)](_0x40b80c)[_0x281c1c(_0x1461b8._0x4affc1,0x62b,0x71c,_0x1461b8._0x548980)]();function _0x147ef3(_0x3df27e,_0x40fe41,_0x4c3356,_0x4c6566){return _0x515b8f(_0x3df27e-0x1cb,_0x40fe41-_0x382d5e._0x162bd2,_0x4c3356,_0x4c6566- -0x46f);}if(_0x1fcca8===_0x281c1c(0x54e,0x3e7,_0x1461b8._0x54c6b5,0x54f))return _0x281c1c(_0x1461b8._0x4d5680,0x4aa,0x589,_0x1461b8._0x32b1c1);if(_0x1fcca8==='sh'||_0x1fcca8===_0x281c1c(_0x1461b8._0x20c4ad,0x4a1,_0x1461b8._0x33ac04,0x476))return _0x281c1c(0x697,0x5d4,_0x1461b8._0x5f29a2,0x78e);return _0x281c1c(_0x1461b8._0x39f843,_0x1461b8._0x5df94c,_0x1461b8._0x108af5,_0x1461b8._0x165020);}function emitChunk(_0xfe24f,_0x22daa9,_0x1acae1,_0x453ff4){const _0x20102b={_0x2c948e:0x323,_0x2af84a:0x699},_0x1f1053={_0x5f4604:0x1d8,_0x38ada8:0x5e},_0x35c11f={_0x365da8:0x95,_0x2eb96b:0x2df};_0xfe24f[_0x40e2d8(_0x20102b._0x2c948e,0x1e8,0x210,0x378)](_0x1acae1);function _0x394ab2(_0x65f85e,_0x18949c,_0x44bd12,_0x1c7812){return _0x1c3a85(_0x65f85e-_0x35c11f._0x365da8,_0x65f85e,_0x44bd12-0x36,_0x1c7812-_0x35c11f._0x2eb96b);}_0x22daa9[_0x394ab2(0x457,_0x20102b._0x2af84a,0x475,0x54d)](_0x1acae1);function _0x40e2d8(_0x53a546,_0x2ac241,_0xd81a50,_0x4810d3){return _0x1c3a85(_0x53a546-_0x1f1053._0x5f4604,_0x2ac241,_0xd81a50-0x99,_0xd81a50- -_0x1f1053._0x38ada8);}_0x453ff4();}function appendChunk(_0x5506a6,_0x4bcc53,_0x56db08,_0xe6ff11,_0x27c8a0,_0x33e720){const _0x1cb38b={_0x1f7120:0x2cf,_0x1e0f13:0x2d1,_0x1dcb9e:0x21e,_0x2604ec:0x1b4,_0x295be3:0x1c8,_0x5e8f04:0x39e,_0x34c7d8:0x296,_0x4056ad:0x1f2,_0x4e1c74:0x1cf,_0x3c2863:0xf3,_0x5ff0b1:0x20,_0x3b10d9:0x184,_0x55ba04:0x17a,_0x28f5e5:0x316,_0x5ec5e0:0x2ee,_0xfa13bf:0x11,_0xaf5953:0xb6,_0x2f0b1b:0xbb,_0x1b398c:0x1d9,_0x44e60a:0x397,_0x51b3b3:0x260,_0x4264a5:0x313},_0x279d3f={_0x1e4b88:0x153,_0xe7c8c8:0x298},_0x175506={_0x86155:0x93,_0x55bcaf:0x84,_0x24e67f:0x27f};function _0x4fa0f7(_0x579e05,_0x1473af,_0x524edf,_0x23c4b6){return _0x1c3a85(_0x579e05-_0x175506._0x86155,_0x1473af,_0x524edf-_0x175506._0x55bcaf,_0x579e05- -_0x175506._0x24e67f);}const _0x4a4e0a=_0xe6ff11?stripAnsiAndControls(_0x56db08):_0x56db08;if(_0x4a4e0a[_0x4fa0f7(-0x184,-0xde,-0x116,-0x2a)]===0x0)return;if(!_0x33e720){emitChunk(_0x5506a6,_0x4bcc53,_0x4a4e0a,_0x27c8a0);return;}let _0x25a9d1=0x0,_0x567033=_0x4a4e0a[_0x14e84a(0x2a1,0x453,0xf0,_0x1cb38b._0x1f7120)]('\x0a');function _0x14e84a(_0x2d8833,_0x418f58,_0x504ece,_0x5768db){return _0x515b8f(_0x2d8833-0xf4,_0x418f58-_0x279d3f._0x1e4b88,_0x5768db,_0x2d8833- -_0x279d3f._0xe7c8c8);}while(_0x567033>=0x0){_0x33e720['trailingChunks']['push'](_0x4a4e0a['slice'](_0x25a9d1,_0x567033));const _0x27d0ba=_0x33e720['trailingChunks']['join']('');_0x33e720[_0x4fa0f7(-_0x1cb38b._0x1e0f13,-_0x1cb38b._0x1dcb9e,-_0x1cb38b._0x2604ec,-0x3a7)][_0x14e84a(0x2ec,0x303,_0x1cb38b._0x295be3,0x2e9)]=0x0,_0x33e720[_0x4fa0f7(-0x1f8,-_0x1cb38b._0x5e8f04,-_0x1cb38b._0x34c7d8,-0x214)][_0x14e84a(0x29b,0x2b0,_0x1cb38b._0x4056ad,0xed)](_0x27d0ba)&&emitChunk(_0x5506a6,_0x4bcc53,_0x27d0ba+'\x0a',_0x27c8a0),_0x25a9d1=_0x567033+0x1,_0x567033=_0x4a4e0a[_0x4fa0f7(-_0x1cb38b._0x4e1c74,-_0x1cb38b._0x3c2863,-_0x1cb38b._0x5ff0b1,-0x313)]('\x0a',_0x25a9d1);}_0x25a9d1<_0x4a4e0a[_0x4fa0f7(-_0x1cb38b._0x3b10d9,0x2f,-0xe0,-_0x1cb38b._0x55ba04)]&&_0x33e720[_0x4fa0f7(-_0x1cb38b._0x1e0f13,-_0x1cb38b._0x28f5e5,-_0x1cb38b._0x5ec5e0,-0x341)][_0x4fa0f7(-_0x1cb38b._0xfa13bf,-_0x1cb38b._0xaf5953,0x11e,-_0x1cb38b._0x2f0b1b)](_0x4a4e0a[_0x4fa0f7(-_0x1cb38b._0x1b398c,-_0x1cb38b._0x44e60a,-_0x1cb38b._0x51b3b3,-_0x1cb38b._0x4264a5)](_0x25a9d1));}function flushOutputRegex(_0x7b5fb0,_0x33d03b,_0x6a92c9,_0x1751c8){const _0x5acfdf={_0x200610:0x11b,_0x4a27e9:0x2af,_0x14b037:0x1e2,_0xf14e02:0x75,_0x4db405:0xb4,_0x5714ec:0x178,_0x44c519:0x306,_0x1218b0:0x44,_0x4d614f:0x68,_0x50845d:0xc0,_0x327ca5:0x3c,_0x361330:0xed,_0x3ab430:0x5,_0x447224:0x102,_0x3ef60d:0x0,_0x55987e:0x190,_0x5a0507:0xf6,_0x295c6c:0x1df},_0x1d12e3={_0x384c4f:0x159,_0x45ab3d:0x4fd},_0x137bae={_0x4efe24:0x3a,_0x18b33a:0x126};if(!_0x6a92c9||_0x6a92c9[_0x4fcd8b(-0x178,-0x11a,-_0x5acfdf._0x200610,-_0x5acfdf._0x4a27e9)][_0x4fcd8b(-0x2b,-_0x5acfdf._0x14b037,_0x5acfdf._0xf14e02,_0x5acfdf._0x4db405)]===0x0)return;const _0x25cf9b=_0x6a92c9[_0x4fcd8b(-_0x5acfdf._0x5714ec,-_0x5acfdf._0x44c519,-_0x5acfdf._0x1218b0,-_0x5acfdf._0x4d614f)][_0x5f48d9(_0x5acfdf._0x50845d,-0xd3,_0x5acfdf._0x327ca5,-_0x5acfdf._0x361330)]('');_0x6a92c9[_0x4fcd8b(-0x178,-0x23e,_0x5acfdf._0x3ab430,-0x284)][_0x4fcd8b(-0x2b,_0x5acfdf._0x447224,_0x5acfdf._0x3ef60d,-_0x5acfdf._0x55987e)]=0x0;function _0x4fcd8b(_0x59bfbd,_0x47b5d0,_0x1d389d,_0x5d935f){return _0x1c3a85(_0x59bfbd-0x11b,_0x5d935f,_0x1d389d-_0x137bae._0x4efe24,_0x59bfbd- -_0x137bae._0x18b33a);}function _0x5f48d9(_0x217609,_0x2a4be6,_0xeea2ee,_0x20221d){return _0x515b8f(_0x217609-_0x1d12e3._0x384c4f,_0x2a4be6-0x1e4,_0x2a4be6,_0x217609- -_0x1d12e3._0x45ab3d);}_0x6a92c9[_0x4fcd8b(-0x9f,-0x4b,0x16,0x107)][_0x5f48d9(0x36,0x168,-_0x5acfdf._0x5a0507,_0x5acfdf._0x295c6c)](_0x25cf9b)&&emitChunk(_0x7b5fb0,_0x33d03b,_0x25cf9b,_0x1751c8);}function createBashTool(_0x290d59={}){const _0x22b178={_0x3d4edd:0x24,_0x1235c2:0x171,_0x3edcda:0x121,_0x52a549:0x87,_0x4bbbd8:0xe3,_0x383d05:0x334,_0x5b66eb:0x388,_0x181767:0x31d,_0x52f0b7:0x78,_0x2a9146:0x2,_0x2730bb:0xec,_0x3708de:0x222,_0x252029:0xee,_0x3bd78d:0xa8,_0xea3bc7:0x18e,_0x247d2d:0x1b9,_0xe7a66:0x287,_0x157593:0x17e,_0x25a94c:0x1b1,_0x5a5e76:0xbc,_0x4041a7:0xd6,_0x406426:0x3df,_0x332eae:0x17d,_0x598249:0xaf,_0x378ea5:0x2f4,_0x5b5a4f:0x50a,_0x2dcdb7:0x55a,_0x2a5658:0x4e,_0xc538a0:0x5a,_0x256284:0x72,_0x45a33c:0x112,_0x7bd0cb:0x5ab,_0x54e261:0x320,_0x37725f:0x2c7,_0x8c54a2:0x136,_0xafe660:0xe,_0x3504b4:0x115},_0x1d1823={_0x337a95:0x7f,_0x14f9cf:0x7d,_0x3d1b1d:0x152,_0x532ef2:0x313,_0x2dd844:0x154,_0xe0ec2d:0x90,_0x5a5a9f:0x167,_0x397eb3:0x139,_0xe80834:0x140,_0x1a6c1f:0x12a,_0x10c02f:0x80,_0x2fc585:0x348,_0x4fe2ce:0x8a,_0x304bac:0x2c,_0x1a3cd7:0x12e,_0xfeac63:0x189,_0xd9f9c9:0x39,_0x14e26a:0x85,_0x2a4476:0x88,_0x20a7b6:0x74,_0x18c9f5:0x257,_0x12c201:0x8,_0x4a01b5:0x18f,_0x37617b:0x2b3,_0xdccf4c:0x3bc,_0x1d0c70:0x164,_0x25486e:0x19b,_0x117526:0x5,_0x3281e2:0x1c,_0x271096:0x75,_0x234628:0x98,_0x5af4b8:0x2,_0x469017:0x2d0,_0x31a408:0x10f,_0x1ad64d:0x169,_0x1554ac:0x1f9,_0x955e6f:0x167,_0x1b2e85:0x1c1,_0x2eb09c:0x37,_0x2bb89c:0x2b,_0x434150:0x97,_0x48be28:0x27,_0x58460f:0x2ac,_0x4d1115:0x90,_0x358593:0x10d,_0x187594:0x44,_0x2daa99:0xab,_0x4b270c:0x134,_0x38ae8b:0xd3,_0x5a1046:0x175,_0xf199bb:0x7d,_0x5e724c:0x19b,_0x4b0b7a:0x19d,_0x30b8bf:0x110,_0x204b62:0xb0,_0xddffea:0x179,_0x4e5653:0xe6,_0x569df7:0x215,_0x23b7f7:0xc7,_0x5b5146:0x6e,_0x32a0a6:0xd6,_0x2f8e0e:0x9e,_0x4f9d99:0x1e1,_0x4eac10:0xb5,_0x186adc:0x48,_0x144a4f:0x43,_0x556540:0x200,_0x538329:0x293,_0x4db737:0x126,_0x5b865a:0x75,_0x149e07:0xea,_0x174de6:0x1a,_0x3a3e9c:0x4b,_0x40f961:0x115,_0x51e32f:0x7a,_0x9f6f2f:0x1cd,_0x3346e5:0x2ec,_0x7be9e3:0xdb,_0x5027a0:0xf6,_0xc76152:0x2ca,_0x4b065d:0x16f,_0x2ba902:0x142,_0x2da20b:0x170,_0x47e7a7:0xa7,_0x2f7465:0x154,_0x1b2694:0x483,_0x1ab752:0xc7,_0x30862e:0x1ad,_0x22b7c5:0x12a,_0x5a9c4f:0xab,_0x54f9a3:0x38,_0x2ea8d7:0x1a5,_0x167cc5:0xce,_0x5ae88e:0x145,_0x1dac36:0x81,_0x1870c8:0x19b,_0x3adcd4:0xa,_0x2a5503:0x28a,_0x5e6c74:0x142,_0x52cc68:0x17e,_0x543a67:0x150,_0x418967:0x170,_0x43c26c:0x9c,_0x7b029c:0x2cc,_0x1c9860:0x94,_0x1b6e62:0x168,_0x2acefd:0x90,_0x1d67c0:0x66,_0x2b30c2:0xa8,_0x3deda9:0x1cd,_0x31394b:0x16d,_0x574dd6:0xbe,_0x48ec6f:0x193,_0xe905c4:0xff},_0x9b2b52={_0x2059ee:0x4db,_0x513816:0x2de,_0x1f637c:0x255,_0x2a1eba:0x2d5,_0x33fa22:0x36a,_0x123989:0x2bd,_0x48bfdc:0x34e,_0x5da0ac:0x5f2,_0x4abd89:0x4a3,_0xee142e:0x52e,_0x553961:0x548},_0x3e44a2={_0x398554:0x37b,_0x23cdde:0x645,_0x3882a0:0x4f5,_0x35541d:0x4fa,_0x17755b:0x435,_0x43d45d:0x298},_0x3ddb9a={_0x20094e:0x16b,_0x16416a:0x5,_0x4c6a68:0x3f},_0x54ea62={_0x54b523:0x24,_0xe720d7:0x1a9},_0xe84d89={_0x58d838:0xbd,_0x1ae183:0x27c},_0x212a43=_0x50bfbd['resolve'](_0x290d59[_0x59a07b(_0x22b178._0x3d4edd,_0x22b178._0x1235c2,0x104,_0x22b178._0x3edcda)]??process['cwd']()),_0x647998=_0x290d59['allowedDirs']??[],_0xc505dc=_0x290d59[_0x18cb1a(0x1de,0x26,_0x22b178._0x52a549,_0x22b178._0x4bbbd8)]??DEFAULT_TIMEOUT_MS,_0xecdbd8=_0x290d59[_0x59a07b(0x383,0x31e,0x5b5,0x461)]??!![],_0x36714a=_0x290d59[_0x59a07b(_0x22b178._0x383d05,_0x22b178._0x5b66eb,0x332,_0x22b178._0x181767)]??_0x18cb1a(_0x22b178._0x52f0b7,0x16e,0x2a3,_0x22b178._0x2a9146);function _0x59a07b(_0x436250,_0x2c0449,_0x23effe,_0x1ee034){return _0x515b8f(_0x436250-0x5a,_0x2c0449-_0xe84d89._0x58d838,_0x23effe,_0x1ee034- -_0xe84d89._0x1ae183);}const _0x388f07=_0x290d59['scrubEnvKeys']??[];function _0x18cb1a(_0x347633,_0x2ce295,_0xb46c28,_0x4ae19d){return _0x1c3a85(_0x347633-_0x54ea62._0x54b523,_0x4ae19d,_0xb46c28-_0x54ea62._0xe720d7,_0x2ce295- -0x6d);}const _0x4682cb=_0x290d59[_0x18cb1a(0x2,_0x22b178._0x2730bb,0x19,_0x22b178._0x3708de)]??[],_0x312760=_0x290d59[_0x18cb1a(_0x22b178._0x252029,_0x22b178._0x3bd78d,0x1fb,0x1f)];return defineTool({'name':_0x36714a,'permissionClass':_0x18cb1a(-0xaf,-0x132,-_0x22b178._0xea3bc7,-_0x22b178._0x247d2d),'description':_0x290d59[_0x59a07b(_0x22b178._0xe7a66,_0x22b178._0x157593,_0x22b178._0x25a94c,0x288)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':'object','properties':{'command':{'type':_0x18cb1a(-_0x22b178._0x5a5e76,-0x4e,-0x7d,_0x22b178._0x4041a7)},'description':{'type':_0x59a07b(0x1cc,_0x22b178._0x406426,0x396,0x22c),'description':'User-facing\x20purpose:\x20what\x20the\x20command\x20does\x20and\x20the\x20goal\x20it\x20advances,\x20e.g.\x20\x27Run\x20auth\x20tests\x20to\x20verify\x20the\x20refresh\x20fix\x27.'},'cwd':{'type':'string'},'timeoutMs':{'type':_0x18cb1a(0xfe,_0x22b178._0x332eae,_0x22b178._0x598249,_0x22b178._0x378ea5)},'ignoreOutput':{'type':_0x59a07b(0x607,_0x22b178._0x5b5a4f,_0x22b178._0x2dcdb7,0x44e)},'outputRegex':{'type':_0x18cb1a(0xa9,-_0x22b178._0x2a5658,_0x22b178._0xc538a0,-_0x22b178._0x5a5e76),'description':_0x18cb1a(_0x22b178._0x256284,-_0x22b178._0x45a33c,-0x241,-0x26d)},'runInBackground':{'type':_0x59a07b(0x588,0x478,_0x22b178._0x7bd0cb,0x44e)}},'required':[_0x59a07b(0x329,_0x22b178._0x54e261,_0x22b178._0x37725f,0x228),_0x18cb1a(_0x22b178._0x8c54a2,_0x22b178._0xafe660,-_0x22b178._0x3504b4,0x11a)]},async *'execute'(_0x5e5d48,_0x3f157d){const _0x5c4b29={_0x6c65e9:0x15c,_0x35c2f:0x1e9,_0x3975ce:0x30,_0x4335f2:0x91,_0x1ba771:0x35,_0x3bdd50:0x3a9,_0x55e535:0x3a,_0x43013c:0x41e,_0x428579:0x324},_0x18928c={_0x196fb2:0x1a6,_0x29e8b7:0xb6},_0x423087={_0x468b15:0x35f},_0x40a196={_0x115a0e:0x3a1,_0x2dc408:0x31d,_0x2755b4:0x2bf,_0x3f8264:0x204},_0x4a8ad1={_0x3c87ad:0x1bb,_0x353517:0x71,_0x161ae7:0x43f},_0x35fc2c={_0x5c6991:0x7,_0x3755ed:0x8f,_0x33bc42:0x1cd},_0x2c5027={_0x5a7910:0x175},_0x2ee580=_0x5e5d48['timeoutMs']??_0xc505dc;if(!Number[_0x4d4d49(-_0x1d1823._0x337a95,_0x1d1823._0x14f9cf,0xa7,-_0x1d1823._0x3d1b1d)](_0x2ee580)||_0x2ee580<0x1)throw new ToolExecutionError(_0x222bcd(-_0x1d1823._0x532ef2,-0x110,-0x1c2,-_0x1d1823._0x2dd844),{'command':_0x5e5d48[_0x4d4d49(_0x1d1823._0xe0ec2d,-0x7f,0xf9,-0x75)]});function _0x4d4d49(_0x5ac4e6,_0xc4dcf6,_0x259bcb,_0x3d83ad){return _0x18cb1a(_0x5ac4e6-0xcb,_0x5ac4e6-0xe2,_0x259bcb-0x48,_0xc4dcf6);}throwIfAborted(_0x3f157d['signal']);const _0x3dbf97=_0x5e5d48[_0x4d4d49(_0x1d1823._0x5a5a9f,_0x1d1823._0x397eb3,_0x1d1823._0xe80834,_0x1d1823._0x1a6c1f)]??![],_0x8d7047=resolveBashExecutionTarget(_0x5e5d48,{'defaultCwd':_0x212a43,'allowedDirs':_0x647998,'shellPath':_0x290d59[_0x4d4d49(0x1c8,_0x1d1823._0x10c02f,_0x1d1823._0x2fc585,_0x1d1823._0x4fe2ce)]}),{cwd:_0x172d7b,shellPath:_0x4fabf8}=_0x8d7047,_0x3fdfc6=buildShellArgs(_0x5e5d48[_0x4d4d49(0x90,_0x1d1823._0x304bac,0xc9,0x1bb)],_0x4fabf8),_0x5f0294=_0x500290[_0x4d4d49(0x1f4,0x97,_0x1d1823._0x1a3cd7,_0x1d1823._0xfeac63)]()===_0x222bcd(_0x1d1823._0xd9f9c9,_0x1d1823._0x14e26a,0x9f,-0xb0),_0xe8a0c9=buildChildEnv(_0x290d59[_0x4d4d49(_0x1d1823._0x2a4476,-_0x1d1823._0x20a7b6,-0x9e,-0x136)],_0x388f07,_0x4682cb);if(_0x5e5d48[_0x4d4d49(0x1ba,_0x1d1823._0x18c9f5,0xa2,0x342)]){if(!_0x312760)throw new ToolExecutionError(_0x222bcd(0x10e,-_0x1d1823._0x12c201,0x17,0xd7),{'command':_0x5e5d48[_0x222bcd(-0x176,-_0x1d1823._0x4a01b5,-0x26e,-0xe1)]});throwIfAborted(_0x3f157d[_0x4d4d49(_0x1d1823._0x37617b,0x24e,_0x1d1823._0xdccf4c,_0x1d1823._0x1d0c70)]),await _0x290d59['verifyExecution']?.(_0x8d7047,_0x3f157d[_0x222bcd(0x6f,-_0x1d1823._0x25486e,_0x1d1823._0x117526,-_0x1d1823._0x3281e2)],_0x3f157d),throwIfAborted(_0x3f157d['signal']);const _0x413e4a=_0x312760['reserve']();let _0x14a329;try{_0x14a329=_0x1ad1f1(_0x4fabf8,_0x3fdfc6,{'cwd':_0x172d7b,'env':_0xe8a0c9,'stdio':[_0x4d4d49(-0x43,0x149,-0xcc,0x161),'pipe',_0x4d4d49(-_0x1d1823._0x271096,-0x1e9,-_0x1d1823._0x234628,-0x180)],'shell':![],'windowsHide':!![],'detached':!_0x5f0294});}catch(_0x17c0a9){_0x312760['release'](_0x413e4a);throw mapSpawnError(_0x17c0a9,{'command':_0x5e5d48[_0x4d4d49(0x90,0x98,-_0x1d1823._0x5af4b8,-0xb5)],'cwd':_0x172d7b,'shellPath':_0x4fabf8});}let _0x484962;try{_0x484962=_0x312760[_0x4d4d49(_0x1d1823._0x469017,0x28c,_0x1d1823._0x31a408,0x48e)](_0x413e4a,{'child':_0x14a329,'command':_0x5e5d48['command'],'cwd':_0x172d7b,'stripAnsi':_0xecdbd8,...!_0x5f0294&&_0x14a329['pid']!==void 0x0?{'processGroupId':_0x14a329['pid']}:{}});}catch(_0x4462b0){_0x312760['release'](_0x413e4a),_0x14a329['once'](_0x4d4d49(0x106,_0x1d1823._0x1ad64d,-0x9e,_0x1d1823._0x1554ac),()=>{});try{killProcessGroup(_0x14a329,_0x5f0294);}catch{}throw _0x4462b0;}return createToolOutput(_0x222bcd(-_0x1d1823._0x955e6f,0xa2,_0x1d1823._0x1b2e85,_0x1d1823._0x2eb09c)+_0x484962['shellId']+_0x4d4d49(_0x1d1823._0x2bb89c,0x1e8,_0x1d1823._0x434150,0x12c)+(_0x484962[_0x222bcd(_0x1d1823._0x48be28,0x336,_0x1d1823._0x58460f,0x179)]??'?')+_0x4d4d49(0x119,0xa3,0xb0,0x55),{'shellId':_0x484962['shellId'],'status':_0x484962['status'],'command':_0x484962[_0x4d4d49(_0x1d1823._0x4d1115,-0x132,_0x1d1823._0x358593,-0xbb)],'description':_0x5e5d48['description'],'cwd':_0x484962[_0x4d4d49(-0x4d,-_0x1d1823._0x187594,_0x1d1823._0x2daa99,_0x1d1823._0x4b270c)],'pid':_0x484962[_0x222bcd(_0x1d1823._0x38ae8b,_0x1d1823._0x5a1046,_0x1d1823._0xf199bb,0x179)]??null});}let _0xe91550,_0x356109;if(_0x5e5d48[_0x222bcd(-_0x1d1823._0x5e724c,_0x1d1823._0x4b0b7a,-_0x1d1823._0x30b8bf,-0x13)]!==void 0x0)try{const _0x5738c7=new RegExp(_0x5e5d48[_0x222bcd(-0x4c,-0x31,_0x1d1823._0x204b62,-0x13)]);_0xe91550={'regex':_0x5738c7,'trailingChunks':[]},_0x356109={'regex':_0x5738c7,'trailingChunks':[]};}catch(_0x90ad0a){throw new ToolExecutionError(_0x4d4d49(_0x1d1823._0xddffea,0x1c5,0x122,_0x1d1823._0x4e5653)+(_0x90ad0a instanceof Error?_0x90ad0a[_0x222bcd(0xf0,-_0x1d1823._0x569df7,-0x13f,-0xcd)]:String(_0x90ad0a)),{'command':_0x5e5d48[_0x4d4d49(0x90,-_0x1d1823._0x23b7f7,0x11e,-_0x1d1823._0x5b5146)],'outputRegex':_0x5e5d48[_0x222bcd(-_0x1d1823._0x32a0a6,0x84,-0x1b9,-0x13)]});}await _0x290d59[_0x4d4d49(0x7d,_0x1d1823._0x2f8e0e,0x87,_0x1d1823._0x4f9d99)]?.(_0x8d7047,_0x3f157d[_0x222bcd(-_0x1d1823._0x4eac10,-0x15,0xaf,-0x1c)],_0x3f157d),throwIfAborted(_0x3f157d[_0x222bcd(0x1dd,-0x7c,-_0x1d1823._0x186adc,0x142)]);let _0x4fb0f5;try{_0x4fb0f5=_0x1ad1f1(_0x4fabf8,_0x3fdfc6,{'cwd':_0x172d7b,'env':_0xe8a0c9,'stdio':_0x3dbf97?['ignore','ignore',_0x4d4d49(-_0x1d1823._0x144a4f,-0x19e,0x42,-_0x1d1823._0x556540)]:[_0x222bcd(-_0x1d1823._0x538329,-0x1b,-0xaf,-0x1b4),_0x4d4d49(-0x75,0x85,-_0x1d1823._0x4db737,-0x11c),_0x4d4d49(-_0x1d1823._0x5b865a,-0x220,_0x1d1823._0x149e07,_0x1d1823._0x174de6)],'shell':![],'windowsHide':!![],'detached':!_0x5f0294});}catch(_0x4d766b){throw mapSpawnError(_0x4d766b,{'command':_0x5e5d48[_0x4d4d49(_0x1d1823._0xe0ec2d,_0x1d1823._0x3a3e9c,0x11a,0x191)],'cwd':_0x172d7b,'shellPath':_0x4fabf8});}const _0x1617e8=[],_0x1d5444=[],_0x5e7d07=new _0x162ebb('utf8'),_0x6911ad=new _0x162ebb(_0x222bcd(_0x1d1823._0x40f961,-0x8e,-0x1d5,-_0x1d1823._0x51e32f));let _0x4b51f8,_0x4cef8a=![],_0x3f0b01;const _0x8c96e9=()=>{if(!_0x4b51f8)return;const _0x48858a=_0x4b51f8;_0x4b51f8=void 0x0,_0x48858a();},_0x2798d2=async()=>{if(_0x1d5444[_0x509e5b(_0x3ddb9a._0x20094e,-_0x3ddb9a._0x16416a,-_0x3ddb9a._0x4c6a68,0x10)]>0x0||_0x4cef8a)return;function _0x509e5b(_0xb7bddd,_0x22c1e3,_0x56e6af,_0x2a889c){return _0x222bcd(_0xb7bddd,_0x22c1e3-_0x2c5027._0x5a7910,_0x56e6af-0x1d,_0x22c1e3- -0x4);}await new Promise(_0x206ba1=>{_0x4b51f8=_0x206ba1;});};function _0x222bcd(_0x44bd3c,_0x275ff6,_0x390ec4,_0x96c22a){return _0x18cb1a(_0x44bd3c-_0x35fc2c._0x5c6991,_0x96c22a- -_0x35fc2c._0x3755ed,_0x390ec4-_0x35fc2c._0x33bc42,_0x44bd3c);}const _0x11756a=_0x4ca2e7=>{appendChunk(_0x1617e8,_0x1d5444,_0x5e7d07['write'](_0x4ca2e7),_0xecdbd8,_0x8c96e9,_0xe91550);},_0x475f7f=_0x503318=>{function _0x3d5b92(_0x58f8d0,_0x5db07f,_0x293f7f,_0x3132a0){return _0x222bcd(_0x3132a0,_0x5db07f-_0x4a8ad1._0x3c87ad,_0x293f7f-_0x4a8ad1._0x353517,_0x293f7f-_0x4a8ad1._0x161ae7);}appendChunk(_0x1617e8,_0x1d5444,_0x6911ad[_0x3d5b92(_0x40a196._0x115a0e,_0x40a196._0x2dc408,_0x40a196._0x2755b4,_0x40a196._0x3f8264)](_0x503318),_0xecdbd8,_0x8c96e9,_0x356109);};_0x4fb0f5['stdout']?.['on'](_0x4d4d49(_0x1d1823._0x9f6f2f,_0x1d1823._0x3346e5,_0x1d1823._0x7be9e3,0x13e),_0x11756a),_0x4fb0f5['stderr']?.['on'](_0x4d4d49(_0x1d1823._0x9f6f2f,0x26b,_0x1d1823._0x5027a0,0x68),_0x475f7f);let _0x509967=![],_0x1d00e7;const _0x2f58f4=addAbortListener(_0x3f157d[_0x222bcd(-_0x1d1823._0x187594,_0x1d1823._0xc76152,_0x1d1823._0x4b065d,_0x1d1823._0x2ba902)],()=>{function _0x3dfa90(_0x263610,_0x95a7aa,_0x3a850c,_0x5dbfd2){return _0x4d4d49(_0x263610-_0x423087._0x468b15,_0x95a7aa,_0x3a850c-0x5d,_0x5dbfd2-0x34);}_0x3f0b01=toAbortError(_0x3f157d[_0x30ba10(_0x3e44a2._0x398554,_0x3e44a2._0x23cdde,_0x3e44a2._0x3882a0,_0x3e44a2._0x35541d)][_0x3dfa90(0x37a,_0x3e44a2._0x17755b,0x2ae,_0x3e44a2._0x43d45d)]),_0x4cef8a=!![],_0x8c96e9();function _0x30ba10(_0x1b2ee0,_0x13b9c4,_0x3c9abe,_0x4335dd){return _0x4d4d49(_0x4335dd-0x247,_0x3c9abe,_0x3c9abe-_0x18928c._0x196fb2,_0x4335dd-_0x18928c._0x29e8b7);}try{killProcessGroup(_0x4fb0f5,_0x5f0294);}catch{}});try{const _0x9048c0=new Promise((_0x2135de,_0x4bcbee)=>{const _0x47b27a={_0x3f1d3d:0x11e,_0x593763:0x7},_0x2c658c={_0xc4b32f:0xd8},_0x206b9b=()=>{const _0x2278c3={_0x226bec:0x6};_0x1d00e7&&(clearTimeout(_0x1d00e7),_0x1d00e7=void 0x0);function _0x272289(_0x5e170b,_0x35e7e1,_0x46be6a,_0x5080fb){return _0x2a2f(_0x35e7e1-_0x2278c3._0x226bec,_0x5e170b);}_0x4fb0f5[_0x272289(_0x5c4b29._0x6c65e9,_0x5c4b29._0x35c2f,0x38f,0x391)](_0x167736(-_0x5c4b29._0x3975ce,0x316,0x160,_0x5c4b29._0x4335f2),_0x27897e);function _0x167736(_0x4a9a88,_0x385e06,_0x35fa55,_0x1f512f){return _0x2a2f(_0x35fa55- -0x93,_0x385e06);}_0x4fb0f5[_0x272289(_0x5c4b29._0x1ba771,0x1e9,_0x5c4b29._0x3bdd50,_0x5c4b29._0x55e535)](_0x167736(_0x5c4b29._0x43013c,0x34a,_0x5c4b29._0x428579,0x218),_0x1af775);},_0x27897e=_0x214a91=>{_0x4cef8a=!![],_0x8c96e9(),_0x206b9b(),_0x4bcbee(_0x3f0b01??_0x214a91);};function _0x2fddf0(_0x16aa61,_0x116900,_0x3a95fb,_0x3e602f){return _0x222bcd(_0x116900,_0x116900-0x27,_0x3a95fb-0xab,_0x16aa61- -0x149);}const _0x1af775=(_0x1761f7,_0x509fa7)=>{_0x509967=!![],appendChunk(_0x1617e8,_0x1d5444,_0x5e7d07['end'](),_0xecdbd8,_0x8c96e9,_0xe91550),appendChunk(_0x1617e8,_0x1d5444,_0x6911ad['end'](),_0xecdbd8,_0x8c96e9,_0x356109),flushOutputRegex(_0x1617e8,_0x1d5444,_0xe91550,_0x8c96e9),flushOutputRegex(_0x1617e8,_0x1d5444,_0x356109,_0x8c96e9),_0x4cef8a=!![],_0x8c96e9(),_0x206b9b();if(_0x3f0b01){_0x4bcbee(_0x3f0b01);return;}_0x2135de({'code':_0x1761f7,'signal':_0x509fa7});};function _0x52d33c(_0xf538a7,_0x1f4f5c,_0x36c4aa,_0x9fb7be){return _0x4d4d49(_0x36c4aa-0x264,_0xf538a7,_0x36c4aa-0x104,_0x9fb7be-_0x2c658c._0xc4b32f);}_0x1d00e7=setTimeout(()=>{_0x4cef8a=!![],_0x8c96e9();function _0x4d1518(_0x45ea39,_0x4f679a,_0x3c2566,_0x2b6ed7){return _0x2a2f(_0x2b6ed7-0xe,_0x45ea39);}_0x206b9b();try{killProcessGroup(_0x4fb0f5,_0x5f0294);}catch{}_0x4bcbee(new ToolExecutionError('Command\x20timed\x20out\x20after\x20'+_0x2ee580+'\x20ms',{'command':_0x5e5d48[_0x4d1518(0x31e,_0x47b27a._0x3f1d3d,_0x47b27a._0x593763,0x18b)],'cwd':_0x172d7b,'shellPath':_0x4fabf8,'timeoutMs':_0x2ee580,'timedOut':!![]}));},_0x2ee580),_0x4fb0f5[_0x52d33c(_0x9b2b52._0x2059ee,0x243,0x34e,_0x9b2b52._0x513816)](_0x52d33c(_0x9b2b52._0x1f637c,_0x9b2b52._0x2a1eba,_0x9b2b52._0x33fa22,0x4b9),_0x27897e),_0x4fb0f5[_0x52d33c(_0x9b2b52._0x123989,0x260,_0x9b2b52._0x48bfdc,0x34c)](_0x52d33c(_0x9b2b52._0x5da0ac,_0x9b2b52._0x4abd89,_0x9b2b52._0xee142e,_0x9b2b52._0x553961),_0x1af775);});while(_0x1d5444[_0x4d4d49(_0x1d1823._0x2da20b,_0x1d1823._0x47e7a7,0x7f,0x2b)]>0x0||!_0x4cef8a){if(_0x1d5444[_0x222bcd(0x15c,0x9b,_0x1d1823._0x2f7465,-0x1)]===0x0){await _0x2798d2();continue;}const _0x17ee5e=_0x1d5444[_0x4d4d49(0x2d9,0x381,_0x1d1823._0x1b2694,0x2d4)]();_0x17ee5e!==void 0x0&&(yield _0x17ee5e);}const _0x542c98=await _0x9048c0,_0x1f85f9=_0x3dbf97?_0x4d4d49(_0x1d1823._0x1ab752,0xc7,_0x1d1823._0x30862e,_0x1d1823._0x22b7c5)+(_0x542c98[_0x222bcd(0x18d,-0xb4,0x1ed,_0x1d1823._0x5a9c4f)]??0x0):_0x1617e8[_0x222bcd(0xc9,0x1cb,0x145,_0x1d1823._0x54f9a3)](''),_0x1ce9e6={'command':_0x5e5d48[_0x222bcd(-_0x1d1823._0x2ea8d7,-0x164,_0x1d1823._0x167cc5,-0xe1)],'description':_0x5e5d48[_0x222bcd(-_0x1d1823._0x5ae88e,-0x14c,0xa,-_0x1d1823._0x1dac36)],'cwd':_0x172d7b,'exitCode':_0x542c98[_0x4d4d49(0x21c,_0x1d1823._0x1870c8,0x2a6,0x260)]??0x0,'signal':_0x542c98[_0x222bcd(_0x1d1823._0x3adcd4,_0x1d1823._0x2a5503,0x233,_0x1d1823._0x5e6c74)],'ignoreOutput':_0x3dbf97,'outputRegex':_0x5e5d48[_0x4d4d49(0x15e,0x261,_0x1d1823._0x52cc68,0x172)]??null,'shellPath':_0x4fabf8,'timeoutMs':_0x2ee580};if(_0x542c98[_0x4d4d49(0x21c,0xe1,0x9b,0x19f)]!==0x0)throw new ToolExecutionError(_0x1f85f9||_0x4d4d49(0x1ad,-_0x1d1823._0x117526,_0x1d1823._0x543a67,0x87)+(_0x542c98['code']??0x0),_0x1ce9e6);return createToolOutput(_0x1f85f9,_0x1ce9e6);}catch(_0x5a4575){while(_0x1d5444[_0x4d4d49(_0x1d1823._0x418967,0x2fa,_0x1d1823._0x43c26c,0x222)]>0x0){const _0x4e8ccc=_0x1d5444[_0x222bcd(_0x1d1823._0x7b029c,0x1db,_0x1d1823._0x1c9860,_0x1d1823._0x1b6e62)]();_0x4e8ccc!==void 0x0&&(yield _0x4e8ccc);}if(_0x5a4575 instanceof ToolExecutionError)throw _0x5a4575;if(_0x3f0b01)throw _0x3f0b01;throw mapSpawnError(_0x5a4575,{'command':_0x5e5d48[_0x4d4d49(_0x1d1823._0x2acefd,_0x1d1823._0x1d67c0,0x1ba,_0x1d1823._0x2b30c2)],'cwd':_0x172d7b,'shellPath':_0x4fabf8});}finally{_0x1d00e7&&clearTimeout(_0x1d00e7);_0x2f58f4(),_0x4fb0f5[_0x222bcd(-0x70,0x233,0x16e,0x109)]?.['off'](_0x4d4d49(_0x1d1823._0x3deda9,0x299,0xe8,0x12),_0x11756a),_0x4fb0f5['stderr']?.[_0x4d4d49(0xf6,-0x5b,_0x1d1823._0x31394b,_0x1d1823._0x574dd6)]('data',_0x475f7f);if(!_0x509967&&_0x4fb0f5[_0x222bcd(_0x1d1823._0x48ec6f,0x24b,0x1d9,0x179)]&&!_0x4fb0f5[_0x222bcd(0x11a,0xe0,_0x1d1823._0xe905c4,_0x1d1823._0x1d67c0)])try{killProcessGroup(_0x4fb0f5,_0x5f0294);}catch{}}}});}function createShellExecTool(_0x549f83={}){return createBashTool(_0x549f83);}import{readdir,readFile as _0x7653e2}from'fs/promises';import{extname,join as _0x6c31e1}from'path';import{open}from'fs/promises';import{dirname,isAbsolute as _0x89521d,join,relative as _0x2aece3,resolve as _0x1adbde}from'path';import{readdir as _0x1c1e96,readFile as _0x54a0a9}from'fs/promises';import{join as _0x25c847,relative as _0x4a07d2,sep}from'path';import{delimiter}from'path';import{mkdir as _0x4f2802,rm,stat as _0x31f675,writeFile}from'fs/promises';import{hostname}from'os';import{dirname as _0x3a286f}from'path';import{unwatchFile,watchFile}from'fs';import{chmod,readFile as _0x1c8ddf,rename as _0xb1fafb,rm as _0x2a7c4f,stat as _0x18de0c,writeFile as _0x2d522d}from'fs/promises';import{homedir as _0x290a2d}from'os';import{dirname as _0x251c3d,isAbsolute as _0x195bff,join as _0x3f2f94,resolve as _0x27b12b}from'path';import{parse as _0xfa65f2,stringify as _0x31d5eb}from'yaml';import{randomUUID as _0x4a73b5}from'crypto';import{cp,lstat,mkdir as _0x444959,readdir as _0x33bc81,readFile as _0x355eaf,rename,rm as _0x18aa2f,writeFile as _0x3ffb2c}from'fs/promises';import{homedir}from'os';import{join as _0x2a2353}from'path';import{parse as _0x455399,stringify as _0x304346}from'yaml';import{z}from'zod';import{readdir as _0x2ea420,readFile as _0x380c38}from'fs/promises';import{join as _0x1eba20}from'path';import{randomUUID as _0x6a92b0}from'crypto';import{mkdir as _0x2fb5cb,readdir as _0x7d547b,readFile as _0x372a6c,rename as _0x29710b,rm as _0x1cd944,writeFile as _0x481d1e}from'fs/promises';import{homedir as _0xc10a39}from'os';import{basename as _0x96717a,isAbsolute as _0x4e61a0,join as _0x32e909,relative as _0x59449b,resolve as _0x501140}from'path';import{parse as _0x5a2ac7,stringify as _0x53e463}from'yaml';import{delimiter as _0x6a079c,resolve as _0x300a71}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0x58d893){const _0x2503fb={_0x128beb:0xe9,_0x1399e9:0x177,_0x345aa3:0x548,_0x447ee2:0x54a,_0x1a7f0c:0x548,_0x5f041c:0x359,_0x999a95:0x543,_0x54a723:0xd1,_0x39f93c:0x104,_0x6f7f17:0x841,_0x11200b:0x7da,_0x46632f:0x512,_0x27f09f:0x6bb},_0x1e0e51={_0x199a7d:0x162},_0x562a9d={_0x1badab:0xb0},_0x30a72d=[];let _0x5dd78b='',_0x3f09bb=0x0;function _0x42748d(_0x5df5f4,_0x37be1e,_0x351323,_0x395338){return _0x1c3a85(_0x5df5f4-_0x562a9d._0x1badab,_0x5df5f4,_0x351323-0x196,_0x37be1e- -0x12);}while(_0x3f09bb<_0x58d893[_0x42748d(0x23b,_0x2503fb._0x128beb,0x65,_0x2503fb._0x1399e9)]){const _0x3ad483=_0x58d893[_0x3f09bb];if(_0x3ad483==='\x5c'&&_0x3f09bb+0x1<_0x58d893[_0x532682(0x4e1,0x474,0x5f4,_0x2503fb._0x345aa3)])_0x5dd78b+=_0x58d893[_0x3f09bb+0x1],_0x3f09bb+=0x2;else{if(_0x3ad483==='\x22'||_0x3ad483==='\x27'){const _0x188005=_0x3ad483;_0x3f09bb++;while(_0x3f09bb<_0x58d893[_0x532682(_0x2503fb._0x447ee2,0x691,0x3c7,_0x2503fb._0x1a7f0c)]&&_0x58d893[_0x3f09bb]!==_0x188005){_0x58d893[_0x3f09bb]==='\x5c'&&_0x3f09bb+0x1<_0x58d893['length']?(_0x5dd78b+=_0x58d893[_0x3f09bb+0x1],_0x3f09bb+=0x2):(_0x5dd78b+=_0x58d893[_0x3f09bb],_0x3f09bb++);}_0x3f09bb++;}else _0x3ad483!==void 0x0&&/\s/[_0x532682(_0x2503fb._0x5f041c,_0x2503fb._0x999a95,0x3a8,0x4f7)](_0x3ad483)?(_0x5dd78b&&(_0x30a72d[_0x42748d(_0x2503fb._0x54a723,0x25c,0x351,_0x2503fb._0x39f93c)](_0x5dd78b),_0x5dd78b=''),_0x3f09bb++):(_0x5dd78b+=_0x3ad483,_0x3f09bb++);}}function _0x532682(_0x26b1a2,_0x26ff97,_0x8d6d46,_0x203cdf){return _0x1c3a85(_0x26b1a2-0x76,_0x26b1a2,_0x8d6d46-_0x1e0e51._0x199a7d,_0x203cdf-0x44d);}if(_0x5dd78b)_0x30a72d[_0x532682(_0x2503fb._0x6f7f17,_0x2503fb._0x11200b,_0x2503fb._0x46632f,_0x2503fb._0x27f09f)](_0x5dd78b);return _0x30a72d;}function renderCommandInstructions(_0x134893){const _0x2e97c3={_0x55361c:0xb6,_0x4be3b1:0x4c,_0x5beb1f:0x23,_0x45f98d:0x104,_0x2bcbcf:0x14e,_0x68da5e:0x119,_0x5aa7a7:0x136,_0x4c3759:0x14b,_0x3731d8:0x17b,_0x32e87c:0x8c,_0x48d798:0x2f2,_0x3346c0:0x401,_0x34a2d7:0x42e,_0x3a8079:0x4a9,_0x344450:0xff,_0x43d4d4:0x27b,_0x1b9f69:0x27d,_0xcb071:0x67,_0x2ef99d:0x32b,_0x611988:0x222,_0x335be0:0x3fe,_0x4a6248:0x1d0},_0x994014={_0x5cbc3b:0x309},_0x5200a0={_0x40c1a2:0x20e,_0x37b692:0x1da},_0x2ce929={_0x56b463:0x1a0,_0x44b9b9:0x1d3,_0x565025:0x3a};let _0x28c868=_0x134893[_0x57f6ea(0x2c,_0x2e97c3._0x55361c,_0x2e97c3._0x4be3b1,_0x2e97c3._0x5beb1f)],_0x268f5d=![];const _0x33450b=tokenizeCommandArguments(_0x134893['argumentsText']);_0x28c868=_0x28c868[_0x5d1156(_0x2e97c3._0x45f98d,0x18f,0x222,0x69)](/\$ARGUMENTS\[(\d+)\]/g,(_0x467054,_0x13cc00)=>{return _0x268f5d=!![],_0x33450b[Number(_0x13cc00)]??'';});function _0x57f6ea(_0x577e56,_0x40b65e,_0x41c0d9,_0x49f64f){return _0x1c3a85(_0x577e56-_0x2ce929._0x56b463,_0x41c0d9,_0x41c0d9-_0x2ce929._0x44b9b9,_0x577e56- -_0x2ce929._0x565025);}_0x28c868=_0x28c868[_0x57f6ea(0x68,-_0x2e97c3._0x2bcbcf,-0xb1,_0x2e97c3._0x68da5e)](/\$ARGUMENTS\b/g,()=>{const _0x5b6fcf={_0xaf0684:0x1d7};_0x268f5d=!![];function _0x371499(_0x4e7605,_0x40ec12,_0x5e0c6c,_0x313236){return _0x57f6ea(_0x5e0c6c-0x2e,_0x40ec12-_0x5b6fcf._0xaf0684,_0x4e7605,_0x313236-0x82);}return _0x134893[_0x371499(0x17e,_0x5200a0._0x40c1a2,_0x5200a0._0x37b692,0x144)];});if(_0x134893[_0x57f6ea(_0x2e97c3._0x5aa7a7,_0x2e97c3._0x4c3759,_0x2e97c3._0x3731d8,-_0x2e97c3._0x32e87c)]&&_0x134893[_0x57f6ea(0x136,0x19,0x15,_0x2e97c3._0x48d798)][_0x57f6ea(0xc1,-0xb2,0x3e,-0xde)]>0x0)for(let _0x533a0d=0x0;_0x533a0d<_0x134893[_0x5d1156(_0x2e97c3._0x3346c0,_0x2e97c3._0x34a2d7,0x2f0,_0x2e97c3._0x3a8079)][_0x5d1156(0x29c,_0x2e97c3._0x344450,_0x2e97c3._0x43d4d4,0x152)];_0x533a0d++){const _0x16ced6=_0x134893['argumentNames'][_0x533a0d];if(_0x16ced6){const _0x2fb2e9=new RegExp('\x5c$'+_0x16ced6+'\x5cb','g');_0x28c868=_0x28c868[_0x5d1156(0x246,_0x2e97c3._0x1b9f69,0x222,_0x2e97c3._0xcb071)](_0x2fb2e9,()=>{return _0x268f5d=!![],_0x33450b[_0x533a0d]??'';});}}function _0x5d1156(_0x325cc2,_0x1b1daf,_0x5bb1d0,_0x210ef7){return _0x515b8f(_0x325cc2-0xc1,_0x1b1daf-0x3b,_0x325cc2,_0x5bb1d0- -_0x994014._0x5cbc3b);}return _0x28c868=_0x28c868[_0x5d1156(0x381,_0x2e97c3._0x2ef99d,_0x2e97c3._0x611988,0xb1)](/\$(\d+)\b/g,(_0x188016,_0x587104)=>{return _0x268f5d=!![],_0x33450b[Number(_0x587104)]??'';}),!_0x268f5d&&_0x134893[_0x5d1156(0x23b,0x4dc,0x366,_0x2e97c3._0x335be0)]['trim']()&&(_0x28c868=_0x28c868+_0x5d1156(0x379,_0x2e97c3._0x4a6248,0x1c7,0x1a)+_0x134893['argumentsText']),_0x28c868;}var PROVIDER_API_KEY_ENVS=[{'env':'OPENROUTER_API_KEY','provider':_0x515b8f(0x83f,0x5a2,0x815,0x6fd)},{'env':_0x1c3a85(0x199,0x333,-0x31,0x174),'provider':'anthropic'},{'env':_0x1c3a85(0x43e,0x1ea,0x19f,0x283),'provider':_0x1c3a85(-0x5,0xcd,-0xd1,-0xe6)},{'env':'GITHUB_TOKEN','provider':_0x515b8f(0x362,0x409,0x33f,0x3a3)},{'env':_0x515b8f(0x601,0x616,0x2ed,0x45b),'provider':_0x1c3a85(0x19a,0x268,0x204,0x1a1)},{'env':_0x515b8f(0x587,0x33b,0x4ff,0x4b1),'provider':'deepinfra'},{'env':_0x1c3a85(0x67,-0x66,0x4a,0xcb),'provider':_0x1c3a85(0x1de,0x3aa,0xb8,0x26b)},{'env':_0x1c3a85(0x120,0x93,0x15d,0x48),'provider':_0x1c3a85(0x76,-0x167,0x6,-0x7f)},{'env':_0x1c3a85(-0x9,0x123,0x41,-0x29),'provider':_0x515b8f(0x750,0x6bc,0x5bb,0x70d)},{'env':'KIMI_API_KEY','provider':'kimi'},{'env':_0x1c3a85(-0xae,0xeb,-0x7b,-0x72),'provider':_0x1c3a85(-0xb,0x1bb,-0x2,0x54)},{'env':_0x515b8f(0x56c,0x5a9,0x403,0x5a5),'provider':'deepseek'},{'env':_0x515b8f(0x5d5,0x519,0x5b0,0x6d9),'provider':_0x515b8f(0x77a,0x752,0x732,0x658)}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0x1c3a85(0x8b,-0x61,0xfd,-0xaf)](_0x473b5a=>_0x473b5a[_0x1c3a85(-0x123,0x194,0xb2,0x13)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,'API_KEY',_0x515b8f(0x3e6,0x37e,0x292,0x3c3),'GOOGLE_CSE_CX'],SHELL_SCRUBBED_ENV_KEYS=[...SCRUBBED_ENV_KEYS,'BASH_ENV',_0x1c3a85(0x171,0xc3,0x2ed,0x18e),_0x515b8f(0x539,0x6ca,0x63e,0x696),'BASHOPTS',_0x515b8f(0x669,0x448,0x506,0x5b9),'GLOBIGNORE'],PROTOTYPE_SENSITIVE_NAMES=new Set([...Object[_0x1c3a85(-0x7a,0x101,-0xd1,0xca)](Object[_0x515b8f(0x6e0,0x55e,0x5d0,0x61e)]),_0x515b8f(0x61e,0x524,0x4a1,0x61e)]);function prototypeSafeRecord(_0x39d43b){const _0x36b2ce={_0x332eb4:0x1e2,_0x117b4a:0x349,_0x12750e:0x4b4,_0x1df2b8:0x458,_0x16e286:0x3f6,_0x4d3029:0x52f,_0x242dd8:0x41d,_0x52efcb:0x4df,_0x452abc:0x4df},_0x4bfe28={_0xea38a1:0x202,_0x5d4a3d:0x1b4},_0x51e4f8={_0x2262d4:0x376},_0x19459f={_0x59d0fb:0x142,_0x47fb6a:0x58,_0x2fd271:0x38};function _0x1f304d(_0x10e1c6,_0x3d7dfe,_0x4bd364,_0x56e129){return _0x515b8f(_0x10e1c6-_0x19459f._0x59d0fb,_0x3d7dfe-_0x19459f._0x47fb6a,_0x56e129,_0x3d7dfe-_0x19459f._0x2fd271);}function _0x3fa74f(_0x2016a1,_0x3b3b07,_0x53072f,_0x3e6e6a){return _0x1c3a85(_0x2016a1-0x3c,_0x3b3b07,_0x53072f-0xbb,_0x53072f-_0x51e4f8._0x2262d4);}return z[_0x3fa74f(_0x36b2ce._0x332eb4,0x249,0x340,_0x36b2ce._0x117b4a)](_0x4da46a=>{const _0x27d9b7={_0x1f0841:0xaf,_0x5c9492:0x8c};function _0x379f5e(_0x259766,_0x3d232c,_0x288bde,_0x2b0a64){return _0x3fa74f(_0x259766-0xc6,_0x288bde,_0x259766- -0x4db,_0x2b0a64-0x70);}if(_0x4da46a===null||typeof _0x4da46a!=='object'||Array['isArray'](_0x4da46a))return null;function _0x4e636c(_0x146491,_0x5e15f6,_0xd4caaf,_0x4af865){return _0x3fa74f(_0x146491-_0x27d9b7._0x1f0841,_0xd4caaf,_0x5e15f6- -0x5ea,_0x4af865-_0x27d9b7._0x5c9492);}const _0x421012=Object[_0x379f5e(-_0x4bfe28._0xea38a1,-0x16b,-0x156,-0x103)](_0x4da46a);if(_0x421012!==Object['prototype']&&_0x421012!==null)return null;return{'entries':Object[_0x4e636c(-0x2e2,-_0x4bfe28._0x5d4a3d,-0x2cc,-0x239)](_0x4da46a)};},z[_0x1f304d(0x4de,_0x36b2ce._0x12750e,_0x36b2ce._0x1df2b8,_0x36b2ce._0x16e286)]({'entries':z['array'](z['tuple']([z[_0x1f304d(0x4e6,0x4e0,_0x36b2ce._0x4d3029,_0x36b2ce._0x242dd8)](),_0x39d43b]))}))[_0x1f304d(_0x36b2ce._0x52efcb,0x66a,0x60a,_0x36b2ce._0x452abc)](({entries:_0x15fd33})=>Object['fromEntries'](_0x15fd33));}var chatModelAuthSchemeSchema=z[_0x515b8f(0x296,0x2bb,0x521,0x3f0)]([_0x515b8f(0x57b,0x569,0x290,0x3e8),_0x515b8f(0x61a,0x412,0x4e2,0x53b)]),apiKeyAuthSchema=z[_0x1c3a85(-0x1e,0x1a3,-0x17c,-0xd)]({'type':z[_0x515b8f(0x4e7,0x4bc,0x434,0x508)](_0x1c3a85(-0x1d1,-0x30,0xec,-0x46)),'apiKey':z['string'](),'authScheme':chatModelAuthSchemeSchema[_0x515b8f(0x600,0x721,0x5b0,0x6d1)]()})['passthrough'](),oauthAuthSchema=z['object']({'type':z[_0x515b8f(0x495,0x5d9,0x439,0x508)]('oauth'),'access':z[_0x515b8f(0x303,0x3ee,0x54e,0x4a8)](),'refresh':z[_0x515b8f(0x603,0x4b7,0x57f,0x4a8)](),'expires':z['number']()[_0x1c3a85(0x24b,0x1b8,0x104,0x248)](),'authScheme':chatModelAuthSchemeSchema[_0x515b8f(0x58e,0x75c,0x779,0x6d1)]()})['passthrough'](),finiteNonNegative=z['number']()[_0x1c3a85(0x27d,0x41,-0x1c,0x166)]()['nonnegative'](),chatGptAuthSchema=z[_0x1c3a85(-0xc6,-0x14a,-0x148,-0xd)]({'type':z['literal']('chatgpt'),'access':z['string']()[_0x1c3a85(0x1f9,0x2ba,0x2c1,0x1b1)](0x1),'refresh':z[_0x515b8f(0x56e,0x428,0x2f2,0x4a8)]()['min'](0x1),'idToken':z[_0x515b8f(0x3d6,0x48e,0x2e8,0x4a8)]()['min'](0x1),'accountId':z[_0x1c3a85(0x11c,-0x53,-0xe8,0x1f)]()[_0x1c3a85(0x144,0x9a,0x330,0x1b1)](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative[_0x515b8f(0x768,0x7ba,0x67d,0x6d1)]()})[_0x1c3a85(-0x8b,0x94,-0x12e,0x38)](),authMethodSchema=z[_0x1c3a85(0xf1,0x54,0x17,0x5c)]([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),reasoningEffortSchema=z['enum']([_0x515b8f(0x5f6,0x5dc,0x870,0x6f3),'low',_0x515b8f(0x78f,0x78f,0x7ff,0x702),_0x515b8f(0x588,0x5e2,0x45a,0x614),_0x515b8f(0x759,0x4ff,0x618,0x5f1),_0x515b8f(0x7b2,0x71c,0x717,0x60e)]),reasoningOptionSchema=z['object']({'id':z['string']()[_0x1c3a85(0x126,0x222,0x185,0xd4)]()[_0x1c3a85(0x27a,0x366,0x116,0x1b1)](0x1),'description':z[_0x1c3a85(-0x6d,-0xe,-0x92,0x1f)]()[_0x515b8f(0x782,0x7ed,0x660,0x6d1)](),'mode':z[_0x515b8f(0x29a,0x48a,0x5ab,0x3f0)](['adaptive',_0x515b8f(0x40c,0x3c6,0x381,0x534)])[_0x1c3a85(0x3a8,0x287,0x224,0x248)](),'effort':reasoningEffortSchema['optional'](),'budgetTokens':z['number']()['int']()[_0x1c3a85(0x91,0x174,0x110,0x1b1)](0x400)[_0x515b8f(0x6dd,0x7b1,0x700,0x6d1)]()})[_0x1c3a85(-0x1a7,-0x177,0x58,-0x39)]((_0xe57c31,_0x4c86b0)=>{const _0x27ab28={_0x2cb477:0x807,_0x285d58:0xcb,_0x185518:0x1c,_0x37d872:0x78,_0x43108a:0x4d2,_0x4e6505:0x60c,_0xad994f:0x58f,_0x137c9c:0x47b,_0x33608b:0x10f,_0x1d612f:0x250,_0x25821c:0x31,_0x155569:0xce,_0x156755:0xc0,_0x522425:0x50f,_0x4767e1:0x542,_0x1d610f:0x679,_0x48e61f:0x4a0,_0xab6c2f:0x387,_0x326e25:0x3e3,_0x543fb0:0x29,_0xd5851c:0x124,_0x18851f:0x142,_0x45b12e:0x93,_0x4ff0b0:0x10a,_0x5d9204:0x492,_0x3e9b1a:0x539,_0x303006:0x651,_0x4af009:0x681,_0xc51c05:0x6fe,_0x1d21d9:0x600,_0x6b0a67:0x3c,_0x3c87fc:0x373,_0x4ab51f:0x5af,_0x325b0c:0x4e2,_0x12153e:0x24c,_0xad983b:0xdf,_0x41208e:0xbf,_0x2c8c24:0x388,_0x1e5cf7:0x4e2,_0x5c0f0d:0x469,_0x5cd0ce:0xfd,_0x5d06d9:0x12c,_0x497611:0x9e,_0x5744bf:0x432,_0x462779:0x67e,_0x1dedb3:0x6ce,_0x919e32:0x6e7,_0x3b4a9c:0x778,_0x1fe6b3:0x6b3,_0x5ea1db:0x824},_0x3f1931={_0x1f828f:0x52,_0x91de19:0x15b,_0x4f05e3:0x113},_0x32add7={_0x8afb50:0x1ef,_0x50d824:0x6},_0x50b222=_0xe57c31['id'][_0x180b1e(0x7db,0x6a6,0x69e,_0x27ab28._0x2cb477)]();(_0x50b222===_0xd6038c(_0x27ab28._0x285d58,_0x27ab28._0x185518,-0x92,_0x27ab28._0x37d872)||_0x50b222===_0x180b1e(_0x27ab28._0x43108a,0x4a1,0x403,0x5c5)||_0x50b222===_0x180b1e(0x5ab,_0x27ab28._0x4e6505,_0x27ab28._0xad994f,0x607))&&_0x4c86b0[_0x180b1e(0x57b,0x50f,0x564,_0x27ab28._0x137c9c)]({'code':'custom','path':['id'],'message':_0xd6038c(0xe8,-0xd8,-0x7d,-0x1ef)+_0x50b222+_0xd6038c(-_0x27ab28._0x33608b,-_0x27ab28._0x1d612f,-0xc3,_0x27ab28._0x25821c)});if(_0xe57c31[_0xd6038c(-0xa7,_0x27ab28._0x155569,-_0x27ab28._0x156755,0x101)]==='manual'){_0xe57c31['budgetTokens']===void 0x0&&_0x4c86b0[_0x180b1e(0x5d8,_0x27ab28._0x522425,_0x27ab28._0x4767e1,_0x27ab28._0x1d610f)]({'code':_0x180b1e(0x2f2,_0x27ab28._0x48e61f,_0x27ab28._0xab6c2f,_0x27ab28._0x326e25),'path':['budgetTokens'],'message':_0xd6038c(_0x27ab28._0x543fb0,-0x289,-_0x27ab28._0xd5851c,-_0x27ab28._0x18851f)});_0xe57c31[_0xd6038c(0x1d8,-0x8e,0x12c,0xdc)]!==void 0x0&&_0x4c86b0[_0xd6038c(0xf2,0x94,-_0x27ab28._0x45b12e,_0x27ab28._0x4ff0b0)]({'code':_0x180b1e(_0x27ab28._0x5d9204,_0x27ab28._0x48e61f,_0x27ab28._0x3e9b1a,_0x27ab28._0x303006),'path':[_0x180b1e(0x862,0x6ce,0x7d7,0x676)],'message':'Manual\x20reasoning\x20cannot\x20set\x20effort'});return;}_0xe57c31[_0x180b1e(0x5d3,_0x27ab28._0x4af009,_0x27ab28._0xc51c05,_0x27ab28._0x1d21d9)]!==void 0x0&&_0x4c86b0[_0xd6038c(_0x27ab28._0x6b0a67,-0x177,-_0x27ab28._0x45b12e,0xe3)]({'code':_0x180b1e(_0x27ab28._0x3c87fc,_0x27ab28._0x48e61f,_0x27ab28._0x4ab51f,_0x27ab28._0x325b0c),'path':[_0xd6038c(_0x27ab28._0x12153e,-0x42,_0x27ab28._0xad983b,-_0x27ab28._0x41208e)],'message':_0xd6038c(-0x90,-0xde,0xb9,0x43)});function _0x180b1e(_0x1e5b79,_0x5bbd98,_0x394d12,_0x3cdaf8){return _0x515b8f(_0x1e5b79-_0x32add7._0x8afb50,_0x5bbd98-0xa8,_0x1e5b79,_0x5bbd98-_0x32add7._0x50d824);}function _0xd6038c(_0x2f19ac,_0x36b07a,_0x1177ba,_0x4751dd){return _0x1c3a85(_0x2f19ac-_0x3f1931._0x1f828f,_0x4751dd,_0x1177ba-_0x3f1931._0x91de19,_0x1177ba- -_0x3f1931._0x4f05e3);}_0xe57c31[_0x180b1e(_0x27ab28._0x2c8c24,_0x27ab28._0x1e5cf7,0x484,_0x27ab28._0x5c0f0d)]===void 0x0&&_0xe57c31[_0xd6038c(0x18f,_0x27ab28._0x5cd0ce,_0x27ab28._0x5d06d9,_0x27ab28._0x497611)]===void 0x0&&_0x4c86b0[_0x180b1e(0x6ab,0x50f,_0x27ab28._0x5744bf,_0x27ab28._0x462779)]({'code':'custom','path':[_0x180b1e(0x6fa,_0x27ab28._0x1dedb3,_0x27ab28._0x919e32,0x73b)],'message':_0x180b1e(_0x27ab28._0x3b4a9c,_0x27ab28._0x1fe6b3,0x62d,_0x27ab28._0x5ea1db)});});function validateReasoningOptionIds(_0x1ab4e,_0x53f459){const _0x54d9bb={_0x4be847:0x4a9,_0x545f32:0x442,_0xa536ce:0x606,_0x584786:0x5f7,_0xd4f931:0x323,_0x3cf058:0x319,_0x1eac6d:0x255,_0xfd736e:0x3df,_0x5721f8:0x552,_0x490755:0x102,_0x1cc580:0xc2,_0x1c16fc:0xa0},_0x575ba1={_0x21928b:0xbb};function _0x2dc4a7(_0x2c80de,_0x26edc0,_0x29ca5f,_0x1b24e9){return _0x515b8f(_0x2c80de-0x59,_0x26edc0-0x8b,_0x2c80de,_0x26edc0- -0x639);}const _0x9f6b80=new Set();function _0x39a928(_0x2f914f,_0x3efd0e,_0x11d3b7,_0x718c23){return _0x515b8f(_0x2f914f-0x1da,_0x3efd0e-0x9e,_0x2f914f,_0x718c23- -_0x575ba1._0x21928b);}for(let _0x39a4df=0x0;_0x39a4df<_0x1ab4e[_0x39a928(_0x54d9bb._0x4be847,_0x54d9bb._0x545f32,_0x54d9bb._0xa536ce,0x4c9)];_0x39a4df+=0x1){const _0x45c1f8=_0x1ab4e[_0x39a4df]?.['id'][_0x39a928(0x6db,_0x54d9bb._0x584786,0x586,0x5e5)]();if(!_0x45c1f8)continue;if(_0x9f6b80['has'](_0x45c1f8)){_0x53f459[_0x39a928(0x453,_0x54d9bb._0xd4f931,_0x54d9bb._0x3cf058,0x44e)]({'code':_0x39a928(0x241,_0x54d9bb._0x1eac6d,0x249,_0x54d9bb._0xfd736e),'path':[_0x39a928(0x733,0x69b,_0x54d9bb._0x5721f8,0x657),_0x39a4df,'id'],'message':_0x2dc4a7(_0x54d9bb._0x490755,0x1d,-_0x54d9bb._0x1cc580,_0x54d9bb._0x1c16fc)+_0x45c1f8+'\x22'});continue;}_0x9f6b80['add'](_0x45c1f8);}}var providerReasoningConfigSchema=z[_0x1c3a85(0x1a9,0x192,0xf0,-0xd)]({'options':z[_0x515b8f(0x4ab,0x606,0x5db,0x543)](reasoningOptionSchema)})[_0x515b8f(0x3f1,0x474,0x2f3,0x450)]((_0x54ba6e,_0x1888c5)=>{validateReasoningOptionIds(_0x54ba6e['options'],_0x1888c5);}),modelReasoningConfigSchema=z['object']({'defaultOption':z[_0x1c3a85(0x111,-0xb,0x5,0x1f)]()[_0x1c3a85(0x118,-0x31,0xd1,0xd4)]()[_0x1c3a85(0x33f,0x124,0x1cd,0x1b1)](0x1)[_0x515b8f(0x6fc,0x524,0x517,0x6d1)](),'canDisable':z[_0x1c3a85(0x38a,0x135,0x3f3,0x241)]()[_0x515b8f(0x52b,0x64c,0x65a,0x6d1)](),'options':z[_0x1c3a85(-0x43,0x9c,0x17a,0xba)](reasoningOptionSchema)})[_0x1c3a85(-0x95,0x62,0xab,-0x39)]((_0x34cf09,_0x14ee71)=>{const _0x2f2e49={_0x56eab0:0x30c,_0x2f010d:0x2f9,_0x3a6e92:0x82,_0x499853:0x2b,_0x2d4010:0xd2,_0x15df3a:0x1c2,_0x3a16b0:0x2a,_0x1d434e:0x19c,_0x52e30b:0x34c,_0x2a1a8e:0x374,_0x2aead6:0xf9,_0x12a4b4:0x174,_0x139dc1:0x1de,_0x57e0c1:0x2a2,_0x40e045:0x2da,_0x24a36e:0x14f,_0x92638c:0x60,_0x306e4b:0x41,_0x53e379:0x107,_0x57f8d9:0x266,_0x3b94b5:0x20e,_0x175422:0x28e,_0x16907b:0x191},_0x57517c={_0x5780b1:0x37a},_0x5ff1f4={_0x2de71c:0xa6,_0x820a08:0x438};validateReasoningOptionIds(_0x34cf09['options'],_0x14ee71);const _0x3f2084=_0x34cf09[_0x3c76b2(_0x2f2e49._0x56eab0,0x314,0x34c,_0x2f2e49._0x2f010d)]?.['toLowerCase']();function _0x251eb3(_0x4627b6,_0x5889d9,_0x5d8b9b,_0x20f9f9){return _0x515b8f(_0x4627b6-0x14e,_0x5889d9-_0x5ff1f4._0x2de71c,_0x5889d9,_0x5d8b9b- -_0x5ff1f4._0x820a08);}if(_0x3f2084===void 0x0)return;function _0x3c76b2(_0x29ca6b,_0x3c5189,_0x460836,_0x7b45d7){return _0x515b8f(_0x29ca6b-0x3c,_0x3c5189-0xe0,_0x7b45d7,_0x460836- -_0x57517c._0x5780b1);}if(_0x3f2084===_0x251eb3(_0x2f2e49._0x3a6e92,-_0x2f2e49._0x499853,_0x2f2e49._0x2d4010,_0x2f2e49._0x15df3a)){_0x34cf09['canDisable']!==!![]&&_0x14ee71[_0x3c76b2(0x286,-_0x2f2e49._0x3a16b0,0x18f,0x292)]({'code':'custom','path':[_0x3c76b2(_0x2f2e49._0x1d434e,0x34a,_0x2f2e49._0x52e30b,_0x2f2e49._0x2a1a8e)],'message':_0x251eb3(_0x2f2e49._0x2aead6,0x73,_0x2f2e49._0x12a4b4,_0x2f2e49._0x139dc1)});return;}!_0x34cf09[_0x251eb3(0x43c,_0x2f2e49._0x57e0c1,_0x2f2e49._0x40e045,_0x2f2e49._0x24a36e)][_0x3c76b2(_0x2f2e49._0x92638c,_0x2f2e49._0x306e4b,0x1ac,_0x2f2e49._0x53e379)](_0x197c27=>_0x197c27['id']['toLowerCase']()===_0x3f2084)&&_0x14ee71['addIssue']({'code':'custom','path':[_0x251eb3(_0x2f2e49._0x57f8d9,_0x2f2e49._0x3b94b5,_0x2f2e49._0x175422,0xde)],'message':'Reasoning\x20default\x20\x22'+_0x34cf09[_0x251eb3(0x408,0x265,0x28e,_0x2f2e49._0x16907b)]+'\x22\x20is\x20not\x20a\x20declared\x20option'});}),modelDefinitionSchema=z[_0x1c3a85(0xdc,-0x43,0x24,-0xd)]({'id':z[_0x1c3a85(-0x90,0x91,0x9c,0x1f)](),'name':z[_0x1c3a85(0x1d7,0x111,-0xec,0x1f)]()['optional'](),'reasoning':modelReasoningConfigSchema['optional']()})[_0x515b8f(0x512,0x51a,0x5b3,0x4c1)](),modelConfigSchema=z['union']([z['literal'](![]),z[_0x1c3a85(0xf2,-0xdd,-0xeb,0x7f)](!![]),z[_0x515b8f(0x5dc,0x586,0x2f7,0x4a8)](),z[_0x1c3a85(-0xc7,0x1a9,0x25e,0xba)](z['string']()),z[_0x1c3a85(-0x2a,0x97,0x3d,0xba)](modelDefinitionSchema)]),chatModelSurfaceSchema=z['enum']([_0x515b8f(0x54d,0x528,0x593,0x4cf),'openai-chat-completions',_0x1c3a85(0x93,0x109,0xa7,-0x83),_0x515b8f(0x51d,0x272,0x4a3,0x400)]),providerConfigSchema=z[_0x515b8f(0x3c0,0x57d,0x5a5,0x47c)]({'apiKey':z['string']()[_0x515b8f(0x56c,0x529,0x874,0x6d1)](),'token':z[_0x1c3a85(-0x58,0x68,0x96,0x1f)]()[_0x515b8f(0x693,0x694,0x820,0x6d1)](),'defaultModel':z['string']()[_0x515b8f(0x842,0x72b,0x723,0x6d1)](),'smallModel':z[_0x1c3a85(-0xfe,0x101,0x69,0x1f)]()[_0x1c3a85(0x23d,0x253,0xa3,0x248)](),'currentAuth':z[_0x515b8f(0x4f6,0x658,0x31e,0x4a8)]()[_0x1c3a85(0xfa,0x341,0x356,0x248)](),'auth':z[_0x1c3a85(0x191,0x63,0x53,0xba)](authMethodSchema)[_0x1c3a85(0x292,0x1d6,0x12a,0x248)](),'surface':chatModelSurfaceSchema[_0x515b8f(0x77f,0x6bc,0x799,0x6d1)](),'baseUrl':z[_0x1c3a85(0x137,0x116,0xb6,0x1f)]()['optional'](),'models':modelConfigSchema[_0x1c3a85(0x275,0x248,0x2a0,0x248)](),'customHeaders':z[_0x1c3a85(0xb4,0x11b,-0xc,-0x96)](z[_0x1c3a85(0x58,-0x1a3,0x187,0x1f)](),z[_0x515b8f(0x4e9,0x370,0x4cc,0x4a8)]())['optional'](),'reasoning':providerReasoningConfigSchema[_0x515b8f(0x5b7,0x7b8,0x7cf,0x6d1)]()})['passthrough'](),mcpServerConfigSchema=z[_0x515b8f(0x48a,0x54f,0x5e0,0x47c)]({'command':z['string']()[_0x1c3a85(0x1f3,0x8f,0x27a,0x248)](),'args':z['array'](z[_0x515b8f(0x30f,0x540,0x4d7,0x4a8)]())[_0x1c3a85(0x1cf,0x186,0x37e,0x248)](),'env':z[_0x1c3a85(-0xb5,-0x1f1,-0x5b,-0x96)](z[_0x515b8f(0x50c,0x647,0x663,0x4a8)](),z[_0x515b8f(0x4eb,0x657,0x47e,0x4a8)]())[_0x515b8f(0x84c,0x756,0x58a,0x6d1)](),'transport':z[_0x515b8f(0x4e0,0x44d,0x4bc,0x3f0)]([_0x515b8f(0x5ad,0x462,0x475,0x5cc),_0x1c3a85(0x196,-0x4a,-0x55,0xed)])[_0x515b8f(0x592,0x78c,0x656,0x6d1)](),'url':z['string']()[_0x1c3a85(0x2ba,0x3a8,0xb0,0x248)](),'headers':z['record'](z[_0x1c3a85(0x83,0x1b7,0x48,0x1f)](),z[_0x515b8f(0x605,0x459,0x44e,0x4a8)]())['optional'](),'prefix':z[_0x1c3a85(0xd,0x181,-0x6e,0x1f)]()[_0x515b8f(0x64e,0x604,0x872,0x6d1)](),'timeoutMs':z['number']()[_0x515b8f(0x667,0x780,0x6e2,0x6d1)](),'enabled':z[_0x1c3a85(0x29b,0x16d,0x3f7,0x241)]()[_0x515b8f(0x83c,0x728,0x559,0x6d1)](),'auth':z[_0x515b8f(0x5e5,0x473,0x371,0x47c)]({'type':z[_0x1c3a85(-0x7,-0x17b,0x4d,-0x99)]([_0x515b8f(0x5b3,0x62b,0x74a,0x704),_0x515b8f(0x55a,0x2b0,0x272,0x3e8),_0x515b8f(0x726,0x70f,0x76f,0x5e3)]),'token':z[_0x515b8f(0x4bc,0x63e,0x392,0x4a8)]()[_0x515b8f(0x786,0x648,0x7f0,0x6d1)](),'oauth':z[_0x1c3a85(0x15c,0x1a6,-0x54,-0xd)]({'clientId':z[_0x1c3a85(0x11a,-0x170,-0x2f,0x1f)]()[_0x515b8f(0x641,0x5a0,0x701,0x6d1)](),'clientMetadataUrl':z[_0x1c3a85(-0xc4,0xf9,0xcf,0x1f)]()[_0x515b8f(0x564,0x699,0x7e9,0x6d1)](),'authorizationServer':z[_0x1c3a85(0xd1,0x6e,-0x14e,0x1f)]()[_0x515b8f(0x7e3,0x87c,0x5ea,0x6d1)](),'scopes':z[_0x1c3a85(0x210,-0xcb,0x103,0xba)](z[_0x1c3a85(0x26,0x1ae,-0x7a,0x1f)]())['optional'](),'tokenStorageKey':z['string']()[_0x1c3a85(0x2ae,0x288,0x17e,0x248)]()})['passthrough']()[_0x515b8f(0x58f,0x781,0x881,0x6d1)]()})[_0x1c3a85(-0x1a,0xdf,0x165,0x38)]()['optional']()})[_0x515b8f(0x326,0x66e,0x55f,0x4c1)](),mcpToolPermissionClassSchema=z[_0x1c3a85(0x1c,-0x12e,-0x1fc,-0x99)]([_0x1c3a85(0x274,0x170,-0x71,0xfd),_0x515b8f(0x39d,0x5a4,0x2d9,0x405),_0x1c3a85(-0x1ca,0x57,-0x1,-0xc5)]),mcpSettingsSchema=z[_0x515b8f(0x2c9,0x564,0x431,0x47c)]({'servers':prototypeSafeRecord(mcpServerConfigSchema)[_0x515b8f(0x684,0x81a,0x6d9,0x6d1)](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z[_0x1c3a85(0x313,0x3d1,0x29e,0x241)]()))[_0x1c3a85(0x394,0x88,0x268,0x248)](),'toolPermissions':prototypeSafeRecord(prototypeSafeRecord(mcpToolPermissionClassSchema))[_0x515b8f(0x5cd,0x72d,0x7f9,0x6d1)](),'defaultTimeoutMs':z[_0x515b8f(0x55d,0x549,0x759,0x673)]()['optional']()})['passthrough'](),skillsSettingsSchema=z['object']({'enabled':z['boolean']()[_0x515b8f(0x77e,0x620,0x5d0,0x6d1)](),'includeDefaults':z[_0x1c3a85(0x1e4,0x24a,0x3d0,0x241)]()['optional'](),'directories':z[_0x1c3a85(0x26d,0xa9,0x27c,0xba)](z[_0x515b8f(0x5b5,0x3d9,0x619,0x4a8)]())[_0x1c3a85(0x1ff,0xfc,0x3a5,0x248)](),'exclude':z['array'](z[_0x1c3a85(0x146,0x133,-0xd9,0x1f)]())[_0x1c3a85(0x2a6,0x377,0x38e,0x248)]()})['passthrough'](),commandsSettingsSchema=z[_0x1c3a85(-0x8d,0x136,0x115,-0xd)]({'enabled':z[_0x1c3a85(0x2c2,0x334,0x25a,0x241)]()['optional'](),'directories':z['array'](z[_0x515b8f(0x488,0x511,0x530,0x4a8)]())[_0x1c3a85(0xef,0x16f,0x1b9,0x248)]()})[_0x515b8f(0x5f1,0x452,0x64b,0x4c1)](),agentsSettingsSchema=z[_0x1c3a85(-0x106,-0x10f,-0x36,-0xd)]({'enabled':z[_0x515b8f(0x6b5,0x619,0x6cc,0x6ca)]()[_0x515b8f(0x702,0x6a3,0x811,0x6d1)](),'includeDefaults':z[_0x515b8f(0x560,0x52b,0x835,0x6ca)]()[_0x1c3a85(0x381,0x330,0x31b,0x248)](),'directories':z['array'](z[_0x1c3a85(0x142,0xc9,0x1be,0x1f)]())['optional'](),'maxConcurrency':z['number']()[_0x1c3a85(0x258,0x172,0x30,0x166)]()[_0x1c3a85(-0x1e9,-0xd,0xa2,-0x65)]()[_0x1c3a85(-0x11,0xdc,-0x114,0x3e)]()[_0x515b8f(0x670,0x61c,0x6c1,0x6d1)]()})[_0x1c3a85(0x104,0x5,-0x178,0x38)](),uiThemeSettingsSchema=z[_0x1c3a85(0x53,-0x179,0x1d,-0xd)]({'mode':z['enum']([_0x1c3a85(-0x39,-0x81,-0x140,-0xbf),_0x1c3a85(0x8b,0x13a,-0x57,0x9),_0x1c3a85(0x195,-0xd9,0x109,0x4a)])['optional'](),'colorLevel':z[_0x515b8f(0x507,0x2cc,0x4c3,0x3f0)]([_0x1c3a85(-0xdd,0x9f,-0x13e,-0xbf),'none',_0x1c3a85(-0x8,-0x87,0x21c,0x63),_0x1c3a85(0x186,0x25b,0x138,0x1f8),'truecolor'])[_0x1c3a85(0x3e7,0x1d5,0x3bf,0x248)](),'backgrounds':z[_0x1c3a85(-0x4c,-0x21,0x99,-0x99)]([_0x515b8f(0x552,0x51e,0x3b4,0x3ca),'on',_0x515b8f(0x3e1,0x423,0x509,0x50a)])[_0x1c3a85(0x383,0x1dc,0x1ff,0x248)](),'messageStyle':z[_0x515b8f(0x32a,0x543,0x3ed,0x3f0)]([_0x1c3a85(-0x26c,-0x2,-0x1e2,-0xdd),_0x1c3a85(-0x59,0x2cb,0xda,0x156)])[_0x1c3a85(0x156,0x13a,0x15b,0x248)]()})[_0x1c3a85(0x4d,-0x40,0x1cf,0x38)](),statuslineSegmentSchema=z['enum']([_0x515b8f(0x38b,0x52b,0x535,0x3d7),_0x1c3a85(0xa3,-0x116,0x3a,0x3b),_0x515b8f(0x3c4,0x599,0x2e7,0x42c),_0x1c3a85(0x2cc,0x2c2,0x23c,0x12f),'tokens',_0x515b8f(0x539,0x2c8,0x454,0x3a1),_0x515b8f(0x5d0,0x63d,0x485,0x53d),'requests',_0x1c3a85(0x264,0x141,0x28a,0x1de),_0x515b8f(0x482,0x25a,0x2b1,0x3f6),_0x1c3a85(0xeb,0x1a6,-0x164,0x19),_0x1c3a85(0x71,-0x185,-0x18f,0x7),_0x515b8f(0x44f,0x31c,0x65f,0x4de),'memory',_0x1c3a85(-0x1f6,-0x1f7,-0x171,-0xee)]),statuslineItemSchema=z['union']([statuslineSegmentSchema,z[_0x1c3a85(0xea,-0xb9,-0xef,0x7f)]('|')]),statuslineRowSchema=z[_0x1c3a85(0x100,-0xd1,-0x4c,0xba)](statuslineItemSchema),statuslineConfigSchema=z[_0x515b8f(0x5cb,0x4ab,0x624,0x47c)]({'rows':z[_0x515b8f(0x667,0x54a,0x577,0x705)]([statuslineRowSchema,statuslineRowSchema])[_0x1c3a85(0xda,0x1bb,0x324,0x248)]()})[_0x1c3a85(0x1a4,-0xe0,-0x17b,0x38)](),memoryExtractionSettingsSchema=z[_0x515b8f(0x2d3,0x593,0x4b3,0x47c)]({'enabled':z[_0x515b8f(0x61f,0x7ea,0x6e0,0x6ca)]()[_0x1c3a85(0x3dc,0x20f,0x155,0x248)](),'provider':z['string']()[_0x1c3a85(0x1cb,0x4e,0x321,0x1b1)](0x1)[_0x1c3a85(0x378,0x2b7,0x3a7,0x248)](),'model':z['string']()[_0x1c3a85(0x33a,0x1eb,0x30b,0x1b1)](0x1)[_0x515b8f(0x56f,0x60a,0x757,0x6d1)](),'minUserMessages':z[_0x515b8f(0x5bb,0x6d8,0x553,0x673)]()[_0x1c3a85(0x107,-0xe3,0x4b,-0x65)]()[_0x1c3a85(0x26b,0x42,0x365,0x1b1)](0x1)[_0x515b8f(0x5d7,0x718,0x7e4,0x6d1)]()})[_0x1c3a85(0x189,0x215,0xcf,0x60)](),memorySettingsSchema=z[_0x515b8f(0x5e4,0x455,0x4a6,0x47c)]({'enabled':z['boolean']()[_0x515b8f(0x6bf,0x609,0x7c7,0x6d1)](),'extraction':memoryExtractionSettingsSchema[_0x1c3a85(0x377,0x1f5,0x35d,0x248)]()})[_0x1c3a85(-0x156,-0x11,0x183,0x60)](),recentModelSchema=z[_0x515b8f(0x4af,0x4ee,0x50d,0x47c)]({'provider':z[_0x515b8f(0x3e1,0x482,0x4f0,0x4a8)](),'model':z[_0x1c3a85(-0x189,0x15f,0x16c,0x1f)](),'usedAt':z[_0x515b8f(0x6f8,0x4b6,0x515,0x673)]()})[_0x515b8f(0x4e7,0x670,0x40b,0x4c1)](),lspServerEntrySchema=z[_0x1c3a85(-0x12a,-0x171,-0x19a,-0xd)]({'disabled':z[_0x1c3a85(0x3bb,0x1b6,0x3fe,0x241)]()[_0x1c3a85(0x395,0x2ce,0x328,0x248)](),'command':z[_0x1c3a85(0x1a5,-0x115,0x1a3,0x1f)]()[_0x1c3a85(0x154,0x39c,0x14c,0x248)](),'args':z[_0x515b8f(0x633,0x474,0x38e,0x543)](z['string']())['optional'](),'rootMarkers':z['array'](z['string']())[_0x515b8f(0x78c,0x651,0x5c9,0x6d1)]()})['passthrough'](),lspConfigSchema=z[_0x1c3a85(0x23,0x113,-0x16a,-0xd)]({'enabled':z[_0x1c3a85(0x1d7,0x329,0x297,0x241)]()['optional'](),'servers':z['record'](z[_0x1c3a85(0xec,-0xfa,-0x116,0x1f)](),lspServerEntrySchema)['optional']()})[_0x515b8f(0x340,0x527,0x507,0x4c1)](),serverEndpointSchema=z[_0x515b8f(0x4e6,0x3eb,0x4e7,0x47c)]({'url':z['string'](),'token':z[_0x515b8f(0x548,0x37b,0x46b,0x4a8)]()[_0x1c3a85(0x3f8,0x17c,0x2a4,0x248)]()})[_0x1c3a85(-0x15d,0x81,-0x138,0x38)](),commandHookConfigSchema=z[_0x1c3a85(0xfa,0xd4,-0x124,-0xd)]({'type':z[_0x1c3a85(0x21d,-0xf5,0x21f,0x7f)](_0x1c3a85(-0x19f,-0x18d,0xe5,0x1b)),'command':z['string'](),'timeout':z[_0x1c3a85(0x3a6,0x19f,0x28c,0x1ea)]()['optional']()}),hookMatcherGroupSchema=z[_0x515b8f(0x2f6,0x31a,0x4cf,0x47c)]({'matcher':z[_0x515b8f(0x5d7,0x5a4,0x559,0x4a8)]()['optional'](),'hooks':z['array'](commandHookConfigSchema)}),hooksConfigSchema=z[_0x1c3a85(-0xb0,-0x1c4,-0xd4,-0xd)]({'PreToolUse':z[_0x1c3a85(0x13d,-0xde,0x179,0xba)](hookMatcherGroupSchema)[_0x1c3a85(0x399,0x3ab,0x17e,0x248)](),'PostToolUse':z[_0x515b8f(0x59c,0x6d1,0x430,0x543)](hookMatcherGroupSchema)['optional'](),'UserPromptSubmit':z[_0x1c3a85(-0x36,-0xbb,0x25c,0xba)](hookMatcherGroupSchema)['optional'](),'Stop':z[_0x1c3a85(0x204,-0xc8,-0x42,0xba)](hookMatcherGroupSchema)['optional'](),'Notification':z[_0x515b8f(0x394,0x6e7,0x649,0x543)](hookMatcherGroupSchema)['optional'](),'ToolApprovalRequest':z[_0x515b8f(0x5a2,0x42c,0x3ba,0x543)](hookMatcherGroupSchema)[_0x515b8f(0x602,0x790,0x724,0x6d1)](),'SessionStart':z[_0x515b8f(0x4b5,0x5c6,0x4cb,0x543)](hookMatcherGroupSchema)[_0x515b8f(0x82f,0x6a2,0x61c,0x6d1)](),'SessionEnd':z[_0x515b8f(0x6a8,0x3ab,0x400,0x543)](hookMatcherGroupSchema)[_0x1c3a85(0x114,0x212,0x22e,0x248)]()}),providerNameSchema=z[_0x1c3a85(0x15d,-0xa2,-0x197,0x1f)]()[_0x1c3a85(0xdd,0x1d0,0x11a,0x1b1)](0x1,_0x1c3a85(0x25a,0xa5,0x3ed,0x261))[_0x1c3a85(0xd,0x1c7,0x92,0xd2)](_0x42695e=>!_0x42695e[_0x1c3a85(-0x148,0xe6,0x3d,-0x25)](':'),_0x515b8f(0x246,0x374,0x44f,0x3a4)),bashPolicyRuleSchema=z[_0x1c3a85(0x191,-0xc2,0x13d,-0xd)]({'id':z[_0x1c3a85(-0x1c,0xfb,0x111,0x1f)]()['trim']()[_0x1c3a85(0xef,0x30e,0x157,0x1b1)](0x1)['max'](0x80),'action':z[_0x1c3a85(-0x1f0,-0x219,-0x28,-0x99)](['allow',_0x515b8f(0x6b5,0x5d3,0x6b0,0x67d)]),'cwd':z[_0x1c3a85(0x40,-0x160,0x14,-0x99)]([_0x1c3a85(0x339,0x160,0x105,0x1fc),_0x1c3a85(0x143,-0x69,0x53,0x13d)])['optional'](),'commands':z[_0x1c3a85(0x1c7,-0x69,0xdf,0xba)](z[_0x515b8f(0x396,0x479,0x60f,0x4a8)]()[_0x1c3a85(0x34d,0x100,0x12b,0x1b1)](0x1))['min'](0x1)})['strict'](),bashPolicyConfigSchema=z['object']({'default':z['literal'](_0x1c3a85(0x10,0xa0,-0x27a,-0xe3))[_0x1c3a85(0x27e,0x1e3,0x184,0x248)](),'rules':z[_0x515b8f(0x4db,0x496,0x5bf,0x543)](bashPolicyRuleSchema)[_0x1c3a85(-0x3c,0xcb,0x1c4,0x185)](0x3e8)})[_0x515b8f(0x478,0x32a,0x342,0x4e9)](),cliConfigSchema=z[_0x515b8f(0x43a,0x2fc,0x2df,0x47c)]({'activeProvider':providerNameSchema[_0x1c3a85(0x25f,0x278,0x331,0x248)](),'activeModel':z['string']()[_0x515b8f(0x807,0x66c,0x664,0x6d1)](),'apiKey':z[_0x515b8f(0x39c,0x2ed,0x470,0x4a8)]()[_0x1c3a85(0x126,0x18c,0x393,0x248)](),'providers':z['record'](providerNameSchema,providerConfigSchema)[_0x1c3a85(0xb8,0x305,0x3b8,0x248)](),'mcp':mcpSettingsSchema[_0x1c3a85(0xc2,0x185,0xaf,0x248)](),'skills':skillsSettingsSchema[_0x515b8f(0x5d9,0x516,0x5ae,0x6d1)](),'agents':agentsSettingsSchema['optional'](),'commands':commandsSettingsSchema['optional'](),'skillsEnabled':z[_0x515b8f(0x32f,0x3b8,0x578,0x3f3)](z[_0x515b8f(0x632,0x46c,0x5a4,0x4a8)](),z[_0x1c3a85(0x2de,0x312,0x195,0x241)]())[_0x515b8f(0x551,0x5b0,0x6dd,0x6d1)](),'allowedDirs':z['array'](z[_0x1c3a85(0x1ce,0x35,0x39,0x1f)]())[_0x515b8f(0x565,0x7c6,0x6b7,0x6d1)](),'mcpEnabled':prototypeSafeRecord(z[_0x515b8f(0x67d,0x544,0x741,0x6ca)]())['optional'](),'commandsEnabled':z[_0x515b8f(0x2ff,0x3de,0x236,0x3f3)](z['string'](),z[_0x1c3a85(0x1cd,0xd3,0x33f,0x241)]())[_0x515b8f(0x767,0x6ae,0x890,0x6d1)](),'memory':memorySettingsSchema['optional'](),'session':z['object']({'memPersist':z[_0x515b8f(0x6b7,0x747,0x5ff,0x6ca)]()[_0x1c3a85(0xb0,0x3ae,0x11d,0x248)](),'persistEventLog':z['boolean']()[_0x1c3a85(0x3a4,0xd1,0x128,0x248)](),'persistHttpLog':z[_0x1c3a85(0x1c0,0x3f0,0x1d1,0x241)]()[_0x1c3a85(0x3d8,0x34c,0x23c,0x248)]()})['passthrough']()[_0x515b8f(0x66a,0x83d,0x5aa,0x6d1)](),'requireToolApproval':z['boolean']()[_0x1c3a85(0x3f5,0x365,0x123,0x248)](),'thinking':z[_0x1c3a85(0x8e,0xee,-0x186,-0xd)]({'selections':z[_0x515b8f(0x2a8,0x2d9,0x38b,0x3f3)](z[_0x515b8f(0x56a,0x618,0x640,0x4a8)](),z['string']())[_0x515b8f(0x7a0,0x808,0x7c3,0x6d1)]()})[_0x1c3a85(0x87,0x94,0x188,0x248)](),'streamingChunks':z[_0x1c3a85(0x384,0x241,0xfe,0x241)]()['optional'](),'agentsEnabled':z[_0x515b8f(0x43d,0x4f2,0x234,0x3f3)](z['string'](),z['boolean']())['optional'](),'recentModels':z['array'](recentModelSchema)[_0x1c3a85(0x3ed,0x1da,0x353,0x248)](),'lsp':lspConfigSchema[_0x515b8f(0x5c3,0x709,0x5cd,0x6d1)](),'servers':z['record'](z['string'](),serverEndpointSchema)[_0x515b8f(0x820,0x790,0x739,0x6d1)](),'ui':z[_0x1c3a85(-0xeb,-0x1a5,0xe9,-0xd)]({'theme':uiThemeSettingsSchema['optional'](),'statusline':statuslineConfigSchema[_0x1c3a85(0x3b7,0x20b,0x102,0x248)]()})[_0x515b8f(0x461,0x3e7,0x516,0x4c1)]()[_0x515b8f(0x600,0x7ca,0x7b5,0x6d1)](),'tools':z['record'](z[_0x1c3a85(-0xe5,-0x14d,0xd9,0x1f)](),z[_0x1c3a85(0xa5,0x2be,0x1bf,0x12b)]())[_0x1c3a85(0x359,0x38d,0x390,0x248)](),'hooks':hooksConfigSchema[_0x1c3a85(0x29d,0x116,0x26a,0x248)](),'bashPolicy':z[_0x1c3a85(-0x4b,0x1a,0x226,0x12b)]()['optional']()})[_0x515b8f(0x392,0x451,0x46b,0x4c1)](),workspaceOverlaySchema=z['object']({'root':z[_0x1c3a85(-0x6e,0x5,-0x5a,0x1f)]()['optional'](),'allowedDirs':z[_0x515b8f(0x3d7,0x5d3,0x3a1,0x543)](z['string']())[_0x1c3a85(0x20e,0x271,0xfe,0x248)](),'activeProvider':providerNameSchema[_0x515b8f(0x60b,0x537,0x801,0x6d1)](),'activeModel':z[_0x515b8f(0x3a1,0x5ce,0x53a,0x4a8)]()[_0x515b8f(0x760,0x5e9,0x64c,0x6d1)](),'mcp':mcpSettingsSchema[_0x515b8f(0x72f,0x5f1,0x594,0x6d1)](),'skills':skillsSettingsSchema[_0x515b8f(0x6c4,0x834,0x57b,0x6d1)](),'agents':agentsSettingsSchema[_0x1c3a85(0x293,0x289,0x2ff,0x248)](),'commands':commandsSettingsSchema[_0x1c3a85(0x2f9,0xe5,0x1b9,0x248)](),'hooks':hooksConfigSchema['optional'](),'memory':memorySettingsSchema[_0x1c3a85(0x128,0x180,0xc4,0x248)](),'mcpEnabled':prototypeSafeRecord(z[_0x515b8f(0x5c2,0x874,0x752,0x6ca)]())[_0x515b8f(0x54d,0x5cb,0x7eb,0x6d1)](),'skillsEnabled':z[_0x1c3a85(-0x4f,0x76,-0xff,-0x96)](z[_0x1c3a85(0xb,-0x1a1,-0x173,0x1f)](),z[_0x515b8f(0x54f,0x52b,0x616,0x6ca)]())[_0x515b8f(0x796,0x805,0x56c,0x6d1)](),'agentsEnabled':z['record'](z['string'](),z['boolean']())['optional'](),'commandsEnabled':z[_0x515b8f(0x505,0x26e,0x33a,0x3f3)](z[_0x1c3a85(-0x108,-0xaa,0x176,0x1f)](),z[_0x1c3a85(0x116,0x91,0x9d,0x241)]())[_0x515b8f(0x6f2,0x758,0x640,0x6d1)](),'bashPolicy':z['unknown']()[_0x1c3a85(0x1fd,0x39b,0x11f,0x248)]()})['passthrough'](),PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object['getOwnPropertyNames'](Object[_0x515b8f(0x5c7,0x6e7,0x6f8,0x61e)]),'prototype']);function buildDescription(_0x1fae32){const _0x35cb92={_0x5619a8:0x3a7,_0x201753:0x65b,_0x317a51:0x5c4,_0x14bfbf:0x599,_0x3b8e13:0x346,_0x2dc8e1:0x391},_0x3a257c={_0x4afabe:0xe7},_0x10a6f5={_0x3f268b:0x18c,_0xb73a4b:0x170};function _0x16bf85(_0x522731,_0x27ed2f,_0x1bca48,_0x596c13){return _0x1c3a85(_0x522731-_0x10a6f5._0x3f268b,_0x522731,_0x1bca48-_0x10a6f5._0xb73a4b,_0x27ed2f-0x490);}function _0x3f1739(_0x1b8c48,_0x11e1c1,_0x3c7514,_0x5166e5){return _0x515b8f(_0x1b8c48-0x47,_0x11e1c1-_0x3a257c._0x4afabe,_0x3c7514,_0x5166e5- -0x382);}if(_0x1fae32[_0x3f1739(0x299,_0x35cb92._0x5619a8,0x3b9,0x202)]===0x0)return['Invoke\x20a\x20custom\x20command\x20by\x20rendering\x20its\x20reusable\x20workflow\x20instructions.','Use\x20this\x20when\x20the\x20user\x27s\x20request\x20matches\x20an\x20available\x20command\x20description,\x20even\x20if\x20the\x20user\x20did\x20not\x20type\x20the\x20slash\x20command\x20explicitly.',_0x16bf85(0x532,_0x35cb92._0x201753,0x6c6,0x5d1)][_0x16bf85(0x5b1,_0x35cb92._0x317a51,0x552,0x558)]('\x0a');const _0x1c5b46=['Invoke\x20a\x20custom\x20command\x20by\x20rendering\x20its\x20reusable\x20workflow\x20instructions.','Use\x20this\x20when\x20the\x20user\x27s\x20request\x20matches\x20an\x20available\x20command\x20description,\x20even\x20if\x20the\x20user\x20did\x20not\x20type\x20the\x20slash\x20command\x20explicitly.',_0x16bf85(0x549,0x62e,0x47d,_0x35cb92._0x14bfbf),..._0x1fae32[_0x16bf85(_0x35cb92._0x3b8e13,0x3e1,_0x35cb92._0x2dc8e1,0x352)](_0xa3e5de=>_0xa3e5de[_0x3f1739(0x4,-0x93,0x6d,0x38)]?'-\x20'+_0xa3e5de[_0x3f1739(0x3bf,0x223,0x56,0x217)]+'\x20'+_0xa3e5de[_0x3f1739(-0x18,0x184,-0x13,0x38)]+':\x20'+_0xa3e5de[_0x3f1739(0x2ec,0x2ed,0x89,0x182)]:'-\x20'+_0xa3e5de['name']+':\x20'+_0xa3e5de['description'])];return _0x1c5b46['join']('\x0a');}function createInvokeCommandTool(_0x5b2415){const _0x56d7c4={_0x22df08:0x45e,_0x4e2c01:0x2e7,_0x569344:0x3e1,_0x219dad:0x110,_0x1598f2:0x5a,_0x3464a5:0x2fc,_0x204327:0x351,_0x26dd8c:0x509,_0x5e8d84:0x2f2,_0x11e829:0x4e},_0x134e67={_0x2df5f3:0xca,_0x567216:0x182,_0x1a73c7:0x24c,_0x48120c:0x29,_0x138fe4:0x32,_0xeeea00:0x202,_0x9aaec6:0x6a,_0x118244:0x109,_0x173f66:0x126,_0xb20ef0:0x299,_0x52fce3:0x36d,_0x22c2e4:0x410,_0x2e970e:0x75,_0x5b4bb3:0x17d,_0x4c3474:0xb4,_0xdb4ed8:0x391,_0x46cf98:0x4fd,_0x4b13ad:0x276,_0x4c801:0x9b,_0x2f9073:0x52,_0x2884e2:0xe2,_0x50bead:0x3f1,_0x1f827d:0x27d,_0x395e6f:0x3b4},_0x4d2526={_0x1faf90:0x1c6},_0x4432f1={_0x27822c:0x1ab,_0x3f8379:0x8d},_0x3cd3b6=new Map(_0x5b2415[_0x46d07d(0x277,_0x56d7c4._0x22df08,0x148,_0x56d7c4._0x4e2c01)][_0x32d09d(0x247,0x3d7,_0x56d7c4._0x569344,0x37f)](_0x1d728b=>[_0x1d728b['id'],_0x1d728b])),_0x3a37e1=buildDescription(_0x5b2415['commands']);function _0x32d09d(_0x10e53f,_0x3ac754,_0x12417c,_0x589645){return _0x1c3a85(_0x10e53f-0x144,_0x10e53f,_0x12417c-0x150,_0x3ac754-0x486);}function _0x46d07d(_0x40256f,_0x26ba7c,_0x339659,_0x1cca1a){return _0x1c3a85(_0x40256f-_0x4432f1._0x27822c,_0x26ba7c,_0x339659-0x189,_0x1cca1a-_0x4432f1._0x3f8379);}return defineTool({'name':_0x46d07d(-_0x56d7c4._0x219dad,-_0x56d7c4._0x1598f2,0x236,0x83),'permissionClass':_0x32d09d(_0x56d7c4._0x3464a5,0x3c1,0x257,_0x56d7c4._0x204327),'description':_0x3a37e1,'inputSchema':{'type':'object','properties':{'name':{'type':_0x32d09d(_0x56d7c4._0x26dd8c,0x4a5,_0x56d7c4._0x5e8d84,0x449)},'args':{'type':'string'}},'required':[_0x46d07d(_0x56d7c4._0x11e829,0x206,0x25,0x19d)]},async *'execute'(_0x7b2338){function _0x952f39(_0x1499f8,_0x122868,_0x47872e,_0x1e1597){return _0x46d07d(_0x1499f8-0xcc,_0x122868,_0x47872e-0x1f1,_0x1499f8-0x29e);}const _0x7a7d5=_0x3cd3b6[_0x5dc3af(-_0x134e67._0x2df5f3,-_0x134e67._0x567216,-_0x134e67._0x1a73c7,0xda)](_0x7b2338[_0x5dc3af(-_0x134e67._0x48120c,0xe8,-0x4b,-_0x134e67._0x138fe4)]);if(!_0x7a7d5){const _0x2cbccb=Array[_0x5dc3af(-_0x134e67._0xeeea00,-0x36f,-0x2eb,-0x2da)](_0x3cd3b6[_0x5dc3af(-0x124,-_0x134e67._0x9aaec6,-0x212,-0x1a3)]())['join'](',\x20');throw new ToolExecutionError('Command\x20\x27'+_0x7b2338['name']+'\x27\x20not\x20found.\x20Available\x20commands:\x20'+_0x2cbccb,{'name':_0x7b2338[_0x5dc3af(-0x29,_0x134e67._0x118244,-_0x134e67._0x173f66,-0x1d4)]});}function _0x5dc3af(_0x4009c8,_0x230371,_0xe72b5,_0x591e65){return _0x46d07d(_0x4009c8-0x96,_0xe72b5,_0xe72b5-0x12a,_0x4009c8- -_0x4d2526._0x1faf90);}const _0x91b209=await _0x5b2415[_0x952f39(_0x134e67._0xb20ef0,_0x134e67._0x52fce3,0x333,_0x134e67._0x22c2e4)](_0x7a7d5),_0x43141b=_0x7b2338[_0x5dc3af(-_0x134e67._0x2e970e,-_0x134e67._0x5b4bb3,_0x134e67._0x4c3474,-0x1cf)]??'',_0x3b61f9=renderCommandInstructions({'instructions':_0x91b209[_0x952f39(_0x134e67._0xdb4ed8,0x32c,_0x134e67._0x46cf98,_0x134e67._0x4b13ad)],'argumentsText':_0x43141b,'argumentNames':_0x91b209[_0x5dc3af(0x71,0x68,_0x134e67._0x4c801,_0x134e67._0x2f9073)]});return yield createToolOutput(_0x3b61f9,{'id':_0x91b209['id'],'name':_0x91b209['name'],'path':_0x7a7d5[_0x5dc3af(-0xa4,-0xd8,-0x118,-_0x134e67._0x2884e2)][_0x952f39(_0x134e67._0x50bead,_0x134e67._0x1f827d,_0x134e67._0x395e6f,0x323)]}),void 0x0;}});}import{readFile as _0x7849b4,rename as _0x26d936,stat as _0x305b61,writeFile as _0x2773c8}from'fs/promises';import*as _0x40bef7 from'path';import{createHash}from'crypto';function sha256Bytes(_0x28b104){const _0x4e7edb={_0x421564:0x62e,_0x47f4f9:0x8ce,_0x4fc0ba:0x6ac,_0x5e0bcd:0x57f,_0x508db1:0x540,_0xc5c950:0x660,_0xf4af13:0x75c,_0x3a8232:0x648},_0x4a11b0={_0x49e709:0xf2};function _0x176a53(_0xa75691,_0x59bb86,_0x4f9bbd,_0x181e0f){return _0x515b8f(_0xa75691-0xa,_0x59bb86-0x176,_0x4f9bbd,_0xa75691-0xb0);}function _0x2d441d(_0xe2b10e,_0x4c68b7,_0x5ca81e,_0x1eb57c){return _0x515b8f(_0xe2b10e-_0x4a11b0._0x49e709,_0x4c68b7-0x143,_0x5ca81e,_0x1eb57c- -0xe4);}return createHash(_0x176a53(_0x4e7edb._0x421564,0x4d6,0x791,0x599))[_0x176a53(0x780,0x87d,_0x4e7edb._0x47f4f9,0x6d1)](_0x28b104)[_0x176a53(_0x4e7edb._0x4fc0ba,_0x4e7edb._0x5e0bcd,0x67f,_0x4e7edb._0x508db1)](_0x176a53(0x609,_0x4e7edb._0xc5c950,_0x4e7edb._0xf4af13,_0x4e7edb._0x3a8232));}function countLines(_0x43dd5a){const _0x3e738e={_0x3fe150:0x4a,_0x3925f8:0x1f,_0x4b3205:0x97,_0x87a4e6:0x1ed,_0x280225:0x1,_0x2a4fb7:0x12b,_0x42c26f:0x1ea,_0x5ac7e5:0x97,_0x3fb602:0x215},_0x519863={_0x30254f:0x1f0},_0xc90fc9={_0x2d609f:0x64};function _0x5944b3(_0x335ab6,_0x4299a9,_0x1669a2,_0x4bfadc){return _0x1c3a85(_0x335ab6-0x120,_0x1669a2,_0x1669a2-0xef,_0x335ab6- -_0xc90fc9._0x2d609f);}const _0x14a7fc=_0x43dd5a[_0x62be9d(-0xfd,-_0x3e738e._0x3fe150,-_0x3e738e._0x3925f8,0xaa)](/\n$/,'');function _0x62be9d(_0x10f55e,_0x1f82a3,_0x35851b,_0x869232){return _0x1c3a85(_0x10f55e-_0x519863._0x30254f,_0x869232,_0x35851b-0xb7,_0x35851b- -0xc1);}return _0x14a7fc[_0x5944b3(_0x3e738e._0x4b3205,_0x3e738e._0x87a4e6,-_0x3e738e._0x280225,-0xdc)]===0x0?0x0:_0x14a7fc[_0x5944b3(0x14b,_0x3e738e._0x2a4fb7,_0x3e738e._0x42c26f,0x28b)]('\x0a')[_0x5944b3(_0x3e738e._0x5ac7e5,-0xd2,0x1bb,_0x3e738e._0x3fb602)];}function replaceFirstExact(_0x5f5dfb,_0x95eb48,_0xed7c26){const _0x43a07f={_0x1c2b3a:0x57a,_0x4f407c:0x5bc,_0x35e426:0x4df,_0x2be57e:0x47a,_0x4c0d58:0x3f5},_0x4f088d={_0x535a45:0x34f},_0x125df2={_0x37fa61:0xe6,_0x5a8ccc:0x121},_0x40c031=_0x5f5dfb['indexOf'](_0x95eb48);if(_0x40c031===-0x1)return void 0x0;function _0xb03f7(_0x3e6dc6,_0x32a8ed,_0xeeb947,_0xa19f1){return _0x515b8f(_0x3e6dc6-_0x125df2._0x37fa61,_0x32a8ed-_0x125df2._0x5a8ccc,_0x32a8ed,_0xa19f1-0xc1);}const _0x220da2=_0x5f5dfb['slice'](0x0,_0x40c031)[_0xb03f7(_0x43a07f._0x1c2b3a,0x732,_0x43a07f._0x4f407c,0x6f9)]('\x0a')[_0xb03f7(_0x43a07f._0x35e426,0x7ce,0x5da,0x645)],_0x1ed999=countLines(_0x95eb48);function _0x2a57fe(_0x2b560d,_0x57c3c0,_0x587d16,_0x224c59){return _0x1c3a85(_0x2b560d-0x4,_0x2b560d,_0x587d16-0xaa,_0x224c59-_0x4f088d._0x535a45);}const _0x420d23=countLines(_0xed7c26);return{'before':_0x5f5dfb,'after':_0x5f5dfb[_0x2a57fe(_0x43a07f._0x2be57e,0x362,0x593,_0x43a07f._0x4c0d58)](0x0,_0x40c031)+_0xed7c26+_0x5f5dfb['slice'](_0x40c031+_0x95eb48['length']),'lineNumbers':{'oldStartLine':_0x220da2,'oldEndLine':_0x220da2+_0x1ed999-0x1,'newStartLine':_0x220da2,'newEndLine':_0x220da2+_0x420d23-0x1,'oldLineCount':_0x1ed999,'newLineCount':_0x420d23}};}function detectEol(_0xab955b){const _0x538989={_0x23f4a2:0x3a3,_0x2a875a:0x3b3,_0x2c8a75:0x44a,_0x3d6b52:0x43c},_0x3fb235={_0x49f3e1:0x140},_0x434285={_0x2d69a3:0x198};function _0x49b6ad(_0x5306d8,_0x4af77c,_0x23411d,_0x4459f2){return _0x1c3a85(_0x5306d8-_0x434285._0x2d69a3,_0x4af77c,_0x23411d-0x151,_0x4459f2-0x281);}function _0x11c874(_0x5c6059,_0x1a8450,_0xc6d80c,_0x4c2233){return _0x515b8f(_0x5c6059-_0x3fb235._0x49f3e1,_0x1a8450-0x7,_0x5c6059,_0xc6d80c- -0x434);}return/\r\n/[_0x49b6ad(0x44d,0x4cc,_0x538989._0x23f4a2,0x32b)](_0xab955b['toString']('utf8'))?_0x49b6ad(0x572,_0x538989._0x2a875a,_0x538989._0x2c8a75,_0x538989._0x3d6b52):'lf';}function normalizeToLf(_0xb4ccc9){const _0x838f44={_0xdf9fab:0x258,_0x1d2d23:0x21c,_0x27a0a6:0x285},_0x9b8963={_0xde19fd:0xe1,_0xec9886:0x30f};function _0x3641d7(_0x1052a7,_0x32ae0d,_0x1b2a02,_0x522c1f){return _0x515b8f(_0x1052a7-_0x9b8963._0xde19fd,_0x32ae0d-0x2,_0x522c1f,_0x32ae0d- -_0x9b8963._0xec9886);}return _0xb4ccc9[_0x3641d7(_0x838f44._0xdf9fab,_0x838f44._0x1d2d23,0xac,_0x838f44._0x27a0a6)](/\r\n/g,'\x0a');}function convertEol(_0x1a0444,_0x162c08){const _0x34fdda={_0x448505:0x522},_0x1cb3d1={_0x231009:0x42},_0x127f01={_0x1d3407:0x18e};function _0x50da39(_0x75740b,_0x2d33c9,_0x1ea3e0,_0x30239a){return _0x1c3a85(_0x75740b-0x1d7,_0x2d33c9,_0x1ea3e0-_0x127f01._0x1d3407,_0x75740b-0x233);}function _0x1a87e3(_0xda4dc3,_0x17ea51,_0x590094,_0x5a2e13){return _0x515b8f(_0xda4dc3-0x11f,_0x17ea51-0x1d4,_0x590094,_0x17ea51-_0x1cb3d1._0x231009);}return _0x162c08===_0x1a87e3(_0x34fdda._0x448505,0x686,0x656,0x686)?_0x1a0444[_0x1a87e3(0x692,0x56d,0x5b0,0x569)](/\n/g,'\x0d\x0a'):_0x1a0444;}async function atomicWrite(_0x5be3fb,_0x52af8d){const _0x49c2c2={_0x233863:0x422,_0x16f946:0x61e,_0x37fbd3:0x55b,_0x2b1e8c:0x593,_0x51cd6a:0x754,_0x58a62e:0x5cc,_0x5825e3:0x59d},_0x308340={_0x2cb2e7:0x4ce},_0x451a85=_0x40bef7['dirname'](_0x5be3fb);function _0x366f84(_0x3e195d,_0x31dc0b,_0x45d549,_0x130733){return _0x515b8f(_0x3e195d-0xee,_0x31dc0b-0x99,_0x31dc0b,_0x130733- -0x76);}const _0x543f03=_0x40bef7['join'](_0x451a85,'.tmp.'+_0x40bef7[_0x18c97d(0x5af,0x593,0x6b0,0x653)](_0x5be3fb)+'.'+Date[_0x366f84(0x3c0,0x2c4,0x459,0x413)]()+'.'+Math[_0x366f84(_0x49c2c2._0x233863,_0x49c2c2._0x16f946,0x474,_0x49c2c2._0x37fbd3)]()[_0x18c97d(0x6d1,_0x49c2c2._0x2b1e8c,_0x49c2c2._0x51cd6a,_0x49c2c2._0x58a62e)](0x24)[_0x366f84(0x675,0x465,_0x49c2c2._0x5825e3,0x4b9)](0x2));await _0x2773c8(_0x543f03,_0x52af8d);function _0x18c97d(_0x43ccd9,_0x2a5254,_0x22dfff,_0x21794f){return _0x1c3a85(_0x43ccd9-0x96,_0x21794f,_0x22dfff-0x1aa,_0x43ccd9-_0x308340._0x2cb2e7);}await _0x26d936(_0x543f03,_0x5be3fb);}function createFileEditTool(_0x3b9d2c={}){const _0x3aa742={_0x8035e3:0x470,_0x4917c3:0x330,_0x2b2afa:0x3e7,_0x1e1540:0x33d,_0x5c8b4b:0x402,_0x3d390a:0x411,_0x400a54:0x498,_0x589403:0x6d4,_0x560913:0x44e,_0x1ab265:0x72b,_0x39a228:0x73a,_0x3e36c1:0x628,_0x38b983:0x4f4,_0x13859e:0x1fa,_0x5c8de4:0x31f,_0x5d2290:0x48c,_0xa320d1:0x146,_0x2a76e3:0x1ac,_0x272e8e:0x1e2,_0x2994b5:0x194,_0x2dfef:0x60b,_0xc2189e:0x4f2,_0x74267a:0x676,_0x4e4593:0x14,_0x1238e9:0x268,_0x2b3887:0x567,_0x58f3c3:0x2f,_0x393420:0x93,_0x208b2e:0x1d},_0x4f434c={_0x3ce0b7:0x354,_0x49c2de:0x1ea,_0x1cd6e6:0x201,_0x22da28:0x171,_0x4c09c0:0x48f,_0x414d48:0x2f3,_0xaa4e71:0x26d,_0x542da8:0x3dc,_0x269a3c:0x1e3,_0x4df1b8:0x30b,_0x33572d:0x1c1,_0x5f54e2:0x27d,_0x53af44:0x524,_0x1225af:0x245,_0x34e124:0x2ab,_0x17b23c:0x144,_0x4c98e7:0x1c,_0x49ec0c:0x305,_0x131f97:0x249,_0x2e6b63:0x6b,_0xa62628:0x1d,_0x3c613a:0x22,_0x2858e4:0x152,_0x3ed628:0x25f,_0x4e36d2:0x28e,_0x5686d6:0xcc,_0x34167d:0x3c,_0xab49fd:0x17b,_0x43f733:0x3eb,_0x37ed27:0x10,_0x409f99:0xe7,_0x243d6c:0x5,_0xb94568:0x2f4,_0x40e8d6:0x26a,_0x52ef8b:0xae,_0x55664e:0x15d,_0x5d2b33:0x336,_0x2f2c49:0x2c2,_0x1dbeef:0x27e,_0x3eae7:0x2b5,_0x2856a3:0x1a7,_0x273099:0x50,_0x3f776f:0x172,_0x8fff01:0x1ed,_0x35b509:0x91},_0x11042f={_0x50cf73:0xce},_0x27431b={_0x37085f:0x1c0,_0x10ed18:0x12d},_0x45f9b8={_0x2e1dc8:0x52,_0x4134aa:0x63c},_0x36a089=_0x40bef7['resolve'](_0x3b9d2c[_0xdce226(_0x3aa742._0x8035e3,_0x3aa742._0x4917c3,_0x3aa742._0x2b2afa,_0x3aa742._0x1e1540)]??process[_0xdce226(_0x3aa742._0x5c8b4b,0x5d1,_0x3aa742._0x3d390a,_0x3aa742._0x400a54)]());function _0x892fee(_0x4a2857,_0x4ebc11,_0x1020f5,_0x17cec5){return _0x515b8f(_0x4a2857-0xf,_0x4ebc11-_0x45f9b8._0x2e1dc8,_0x4a2857,_0x17cec5- -_0x45f9b8._0x4134aa);}const _0x35781a=_0x3b9d2c[_0xdce226(0x53b,0x7e5,_0x3aa742._0x589403,0x6f7)]??[];function _0xdce226(_0x18fdcb,_0x38f145,_0x28efb9,_0xff2c23){return _0x515b8f(_0x18fdcb-_0x27431b._0x37085f,_0x38f145-_0x27431b._0x10ed18,_0xff2c23,_0x28efb9-0x4a);}const _0x3e30c6=_0x3b9d2c[_0xdce226(_0x3aa742._0x560913,_0x3aa742._0x1ab265,0x5e3,_0x3aa742._0x39a228)]??_0xdce226(_0x3aa742._0x3e36c1,0x4ca,_0x3aa742._0x38b983,0x4f7);return defineTool({'name':_0x3e30c6,'permissionClass':'write','description':'Edit\x20a\x20UTF-8\x20text\x20file\x20in\x20the\x20workspace\x20or\x20allowed\x20directories\x20by\x20replacing\x20the\x20first\x20exact\x20text\x20segment.','inputSchema':{'type':_0x892fee(-_0x3aa742._0x13859e,-0x2e5,-_0x3aa742._0x5c8de4,-0x1c0),'properties':{'filePath':{'type':_0xdce226(0x48f,_0x3aa742._0x5d2290,0x4f2,0x333)},'description':{'type':_0x892fee(-_0x3aa742._0xa320d1,-_0x3aa742._0x2a76e3,-_0x3aa742._0x272e8e,-_0x3aa742._0x2994b5),'description':'A\x20concise\x20explanation\x20of\x20what\x20this\x20edit\x20changes\x20and\x20why\x20—\x20the\x20goal\x20it\x20advances.\x20Shown\x20to\x20the\x20user\x20before\x20the\x20change\x20is\x20applied.\x20Be\x20specific,\x20e.g.\x20\x27Fix\x20the\x20token-refresh\x20race\x20in\x20the\x20auth\x20client\x27\x20rather\x20than\x20\x27edit\x20file\x27.'},'oldText':{'type':_0xdce226(0x389,_0x3aa742._0x2dfef,_0x3aa742._0xc2189e,_0x3aa742._0x74267a)},'newText':{'type':_0x892fee(-_0x3aa742._0x4e4593,-0xfa,-_0x3aa742._0x1238e9,-0x194)},'dryRun':{'type':_0xdce226(0x6b5,_0x3aa742._0x2b3887,0x714,0x896)}},'required':['filePath',_0x892fee(0x193,_0x3aa742._0x58f3c3,_0x3aa742._0x393420,-_0x3aa742._0x208b2e),'newText']},async *'execute'(_0x381de4){const _0x3c5294={_0x4dcb00:0x427},_0x1b84ca=resolveAllowedPath(_0x36a089,_0x35781a,_0x381de4[_0xcef09f(_0x4f434c._0x3ce0b7,_0x4f434c._0x49c2de,0x1de,0x359)]);await assertWorkspaceFile(_0x1b84ca);const _0x1a1787=await _0x305b61(_0x1b84ca),_0x193a33=await _0x7849b4(_0x1b84ca),_0x5379e9=detectEol(_0x193a33),_0x34fc85=normalizeToLf(_0x193a33['toString'](_0x145d35(0x249,0x1e2,0x131,_0x4f434c._0x1cd6e6))),_0x2feed4=normalizeToLf(_0x381de4[_0xcef09f(0x208,0x242,_0x4f434c._0x22da28,0x25a)]);function _0x145d35(_0x89a853,_0x541a30,_0x29eafc,_0x460af){return _0x892fee(_0x460af,_0x541a30-0xec,_0x29eafc-_0x11042f._0x50cf73,_0x89a853-0x37a);}const _0x15a82d=normalizeToLf(_0x381de4[_0x145d35(0x316,_0x4f434c._0x4c09c0,0x1ef,_0x4f434c._0x414d48)]),_0x2b1082=replaceFirstExact(_0x34fc85,_0x2feed4,_0x15a82d);if(_0x2b1082===void 0x0){const _0x5ec9ec=_0x2feed4[_0x145d35(_0x4f434c._0xaa4e71,_0x4f434c._0x542da8,_0x4f434c._0x269a3c,_0x4f434c._0x4df1b8)](0x0,0x64)[_0x145d35(0x269,0x3b2,_0x4f434c._0x33572d,_0x4f434c._0x5f54e2)](/\n/g,'\x5cn');throw new ToolExecutionError(_0x145d35(0x3b0,0x435,_0x4f434c._0x53af44,0x417)+_0x5ec9ec+(_0x2feed4[_0x145d35(0x2c2,_0x4f434c._0x1225af,0x24d,_0x4f434c._0x34e124)]>0x64?_0xcef09f(0x1b3,_0x4f434c._0x17b23c,_0x4f434c._0x4c98e7,0x158):'')+'\x22',{'filePath':_0x381de4[_0x145d35(_0x4f434c._0x49ec0c,0x1bf,_0x4f434c._0x131f97,0x1d8)]});}function _0xcef09f(_0x31c865,_0xc33737,_0x4699e8,_0x111784){return _0xdce226(_0x31c865-0x90,_0xc33737-0xed,_0xc33737- -_0x3c5294._0x4dcb00,_0x111784);}const _0x3e1284=convertEol(_0x2b1082[_0xcef09f(0x51,-0x33,-0x1a6,-0x1af)],_0x5379e9),_0x400ac3=Buffer[_0xcef09f(-_0x4f434c._0x2e6b63,-_0x4f434c._0xa62628,_0x4f434c._0x3c613a,-0x17e)](_0x3e1284,'utf8'),_0x25caca=sha256Bytes(_0x193a33),_0x152903=sha256Bytes(_0x400ac3),_0x5af336=_0x25caca===_0x152903,_0x16b2d5=_0x381de4['dryRun']??![];return!_0x16b2d5&&!_0x5af336&&await atomicWrite(_0x1b84ca,_0x400ac3),yield createToolOutput(_0x5af336?_0x145d35(0x129,_0x4f434c._0x2858e4,_0x4f434c._0x3ed628,0x13b):_0x16b2d5?_0x145d35(0x1b9,_0x4f434c._0x4e36d2,0x150,0x1a5):_0x145d35(0x1db,_0x4f434c._0x5686d6,_0x4f434c._0x34167d,0x359),{'filePath':_0x381de4[_0x145d35(0x305,_0x4f434c._0xab49fd,0x179,_0x4f434c._0x43f733)],'resolvedPath':_0x1b84ca,'created':_0x1a1787['birthtime'][_0xcef09f(0xbe,-_0x4f434c._0x37ed27,-_0x4f434c._0x409f99,_0x4f434c._0x243d6c)](),'modified':_0x1a1787[_0xcef09f(_0x4f434c._0xb94568,_0x4f434c._0x40e8d6,0x149,_0x4f434c._0x52ef8b)][_0xcef09f(0x108,-0x10,0x13d,0x17)](),'size':_0x1a1787[_0xcef09f(_0x4f434c._0x55664e,0x30e,_0x4f434c._0x5d2b33,0x164)],'eol':_0x5379e9,'oldTextLength':_0x2feed4[_0x145d35(_0x4f434c._0x2f2c49,0x379,0x1b7,_0x4f434c._0x1dbeef)],'newTextLength':_0x15a82d[_0xcef09f(_0x4f434c._0x3eae7,_0x4f434c._0x2856a3,_0x4f434c._0x273099,0x4c)],'bytesWritten':_0x5af336||_0x16b2d5?0x0:_0x400ac3[_0xcef09f(_0x4f434c._0x3f776f,_0x4f434c._0x2856a3,_0x4f434c._0x8fff01,_0x4f434c._0x35b509)],'beforeSha':_0x25caca,'afterSha':_0x152903,'dryRun':_0x16b2d5,'noChange':_0x5af336,'lineNumbers':_0x2b1082['lineNumbers']}),void 0x0;}});}function _0x2a2f(_0x47c38c,_0x1b0d49){_0x47c38c=_0x47c38c-0x6c;const _0x288431=_0x2884();let _0x2a2fd1=_0x288431[_0x47c38c];if(_0x2a2f['dGevlo']===undefined){var _0x15c535=function(_0x4b0d33){const _0x48d239='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xa37a56='',_0x59f609='';for(let _0x1e3ee7=0x0,_0x4a3e68,_0x625444,_0x3af399=0x0;_0x625444=_0x4b0d33['charAt'](_0x3af399++);~_0x625444&&(_0x4a3e68=_0x1e3ee7%0x4?_0x4a3e68*0x40+_0x625444:_0x625444,_0x1e3ee7++%0x4)?_0xa37a56+=String['fromCharCode'](0xff&_0x4a3e68>>(-0x2*_0x1e3ee7&0x6)):0x0){_0x625444=_0x48d239['indexOf'](_0x625444);}for(let _0x5b7eed=0x0,_0x1e539d=_0xa37a56['length'];_0x5b7eed<_0x1e539d;_0x5b7eed++){_0x59f609+='%'+('00'+_0xa37a56['charCodeAt'](_0x5b7eed)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x59f609);};_0x2a2f['gcCGhM']=_0x15c535,_0x2a2f['BENsfn']={},_0x2a2f['dGevlo']=!![];}const _0x1576bf=_0x288431[0x0],_0x2e1484=_0x47c38c+_0x1576bf,_0x18f7bb=_0x2a2f['BENsfn'][_0x2e1484];return!_0x18f7bb?(_0x2a2fd1=_0x2a2f['gcCGhM'](_0x2a2fd1),_0x2a2f['BENsfn'][_0x2e1484]=_0x2a2fd1):_0x2a2fd1=_0x18f7bb,_0x2a2fd1;}import{mkdir as _0x3db4b8,rename as _0xf0470a,stat as _0x2f07cb,writeFile as _0x58ddbb}from'fs/promises';import*as _0x5c3b8d from'path';async function atomicWrite2(_0xd0afcd,_0x52822f){const _0x66bf88={_0xf619d0:0x318,_0x3390d0:0x1b4,_0x4e311e:0x268,_0x55e73a:0x1c3,_0x6158f5:0x27b,_0x4a22cb:0x2d,_0x2bf0a7:0x133},_0x37c914={_0x4409cb:0xae},_0x22d5c4={_0x1ca7c8:0x1de,_0x34fa8d:0x302};function _0x1c8037(_0x237ef2,_0x37c45f,_0x544ac5,_0x3a88e1){return _0x515b8f(_0x237ef2-_0x22d5c4._0x1ca7c8,_0x37c45f-0x157,_0x237ef2,_0x544ac5- -_0x22d5c4._0x34fa8d);}const _0x2be361=_0x5c3b8d[_0x50a65e(-_0x66bf88._0xf619d0,-0x2a3,-0x2b0,-0x305)](_0xd0afcd);await _0x3db4b8(_0x2be361,{'recursive':!![]});function _0x50a65e(_0x295663,_0x499360,_0x4d2ed5,_0x23273d){return _0x1c3a85(_0x295663-0x181,_0x23273d,_0x4d2ed5-_0x37c914._0x4409cb,_0x295663- -0x275);}const _0x95006e=_0x5c3b8d['join'](_0x2be361,_0x1c8037(0x1a4,_0x66bf88._0x3390d0,0x1ca,0x246)+_0x5c3b8d[_0x1c8037(0x2cd,0x2dc,_0x66bf88._0x4e311e,_0x66bf88._0x55e73a)](_0xd0afcd)+'.'+Date[_0x1c8037(_0x66bf88._0x6158f5,-_0x66bf88._0x4a22cb,0x187,0x2b2)]()+'.'+Math[_0x50a65e(-0x12d,-0x17c,0x84,-0xc6)]()[_0x50a65e(-0x72,-0x164,-_0x66bf88._0x2bf0a7,-0x20d)](0x24)['slice'](0x2));await _0x58ddbb(_0x95006e,_0x52822f),await _0xf0470a(_0x95006e,_0xd0afcd);}function createFileNewTool(_0x5c1ab5={}){const _0x5b5c0b={_0x447c84:0x28f,_0x2a22f2:0x280,_0x59a8d5:0x37c,_0x371d52:0x3f2,_0x408298:0xf7,_0x1bfb1c:0x18f,_0x1054d9:0x63,_0x2ace76:0x133,_0x1b52f2:0x9e,_0x175e25:0x162,_0x19d165:0x5e,_0x394f9f:0x1a8},_0x1c8cd3={_0x244944:0x5fe,_0x3586c5:0x500,_0x345998:0x57b,_0x1ad83f:0x407,_0x5c1416:0x3d6,_0x5951bc:0x464,_0x1981d6:0x370,_0x570c4d:0x359,_0x36f6c4:0x2a0,_0xccc47b:0x137,_0x11225e:0x587,_0x51e325:0x55a,_0x380af2:0x483,_0x313605:0x37d,_0x4a4622:0x517,_0x59aae7:0x6d9,_0x224172:0x49,_0x38a159:0xe,_0x4c06f2:0x307,_0x4a0ef2:0x24b,_0xfdc3d8:0x264,_0x5d7fcc:0x47f,_0x1b7352:0x4e0,_0x71e4ed:0x360,_0x2966a8:0x4dc},_0x2a2fe9={_0x3e6d7d:0xb5,_0x1a90b0:0xee},_0x1ce33b={_0x4948f8:0x29},_0x5a3a35={_0x2b9059:0x10d,_0x5b202c:0x63},_0x52477a=_0x5c3b8d['resolve'](_0x5c1ab5['defaultCwd']??process[_0x1d81e9(-0xa9,-0x296,-0x10c,-_0x5b5c0b._0x447c84)]()),_0x8b4603=_0x5c1ab5[_0x4deb67(0x273,_0x5b5c0b._0x2a22f2,_0x5b5c0b._0x59a8d5,_0x5b5c0b._0x371d52)]??[];function _0x4deb67(_0x56f3cb,_0x3b42e1,_0x79605f,_0x249e19){return _0x515b8f(_0x56f3cb-_0x5a3a35._0x2b9059,_0x3b42e1-_0x5a3a35._0x5b202c,_0x56f3cb,_0x3b42e1- -0x40a);}function _0x1d81e9(_0x1eee99,_0x314e1e,_0x35a13d,_0x18a248){return _0x1c3a85(_0x1eee99-0x32,_0x314e1e,_0x35a13d-_0x1ce33b._0x4948f8,_0x35a13d- -0x4a);}const _0x243087=_0x5c1ab5[_0x4deb67(_0x5b5c0b._0x408298,_0x5b5c0b._0x1bfb1c,0x186,0x2c1)]??_0x4deb67(-0x11c,-_0x5b5c0b._0x1054d9,-_0x5b5c0b._0x2ace76,0x152);return defineTool({'name':_0x243087,'permissionClass':'write','description':'Create\x20or\x20overwrite\x20a\x20UTF-8\x20text\x20file\x20in\x20the\x20workspace\x20or\x20allowed\x20directories.','inputSchema':{'type':'object','properties':{'filePath':{'type':_0x4deb67(0xa3,_0x5b5c0b._0x1b52f2,_0x5b5c0b._0x175e25,-0xd9)},'content':{'type':_0x1d81e9(_0x5b5c0b._0x19d165,-0x1dc,-0x2b,0x22)}},'required':[_0x1d81e9(_0x5b5c0b._0x394f9f,0x18e,0xf4,-0x2d),'content']},async *'execute'(_0x10879b){const _0xb9402c={_0x13ace9:0x39d,_0x211329:0x34,_0x4e77d6:0x7c},_0x5f1eec=resolveAllowedPath(_0x52477a,_0x8b4603,_0x10879b[_0x3cd02a(0x4b4,0x55a,_0x1c8cd3._0x244944,0x483)]),_0x368c02=await _0x2f07cb(_0x5f1eec)[_0x3cd02a(0x578,_0x1c8cd3._0x3586c5,0x5fc,_0x1c8cd3._0x345998)](()=>!![])[_0x3cd02a(_0x1c8cd3._0x1ad83f,0x366,0x297,_0x1c8cd3._0x5c1416)](()=>![]),_0x1ea823=Buffer[_0x3cd02a(_0x1c8cd3._0x5951bc,0x353,0x2e1,_0x1c8cd3._0x1981d6)](_0x10879b[_0x3cd02a(0x2d5,_0x1c8cd3._0x570c4d,0x205,_0x1c8cd3._0x36f6c4)],_0x214565(0x2cb,0x1cc,0x287,_0x1c8cd3._0xccc47b));await atomicWrite2(_0x5f1eec,_0x1ea823);function _0x214565(_0x489c4e,_0x2c46b8,_0x94f7e8,_0x444e24){return _0x4deb67(_0x489c4e,_0x444e24-0x36,_0x94f7e8-_0x2a2fe9._0x3e6d7d,_0x444e24-_0x2a2fe9._0x1a90b0);}yield createToolOutput('File\x20written\x20at\x20'+_0x10879b[_0x3cd02a(_0x1c8cd3._0x11225e,_0x1c8cd3._0x51e325,_0x1c8cd3._0x380af2,0x70a)]+'.',{'filePath':_0x10879b['filePath'],'resolvedPath':_0x5f1eec,'bytes':_0x1ea823[_0x3cd02a(_0x1c8cd3._0x313605,_0x1c8cd3._0x4a4622,0x4d9,_0x1c8cd3._0x59aae7)],'lines':_0x10879b[_0x214565(-0x19c,-_0x1c8cd3._0x224172,-0x47,-_0x1c8cd3._0x38a159)][_0x214565(0x113,_0x1c8cd3._0x4c06f2,_0x1c8cd3._0x4a0ef2,_0x1c8cd3._0xfdc3d8)](/\r?\n/)[_0x3cd02a(_0x1c8cd3._0x5d7fcc,0x517,_0x1c8cd3._0x1b7352,0x6cf)],'created':new Date()[_0x3cd02a(0x25f,_0x1c8cd3._0x71e4ed,0x41c,_0x1c8cd3._0x2966a8)](),'overwritten':_0x368c02});function _0x3cd02a(_0x758c6f,_0x181399,_0x2d70b3,_0x15bdcc){return _0x4deb67(_0x758c6f,_0x181399-_0xb9402c._0x13ace9,_0x2d70b3-_0xb9402c._0x211329,_0x15bdcc-_0xb9402c._0x4e77d6);}return void 0x0;}});}import{readFile as _0x44ceee,stat as _0x55bf08}from'fs/promises';import*as _0x554a50 from'path';function stripUtfBom(_0x577e9a){const _0x193695={_0x450efa:0x489,_0x16ce00:0x558,_0x1448bc:0x4a5},_0x2ba45e={_0x3feb41:0x161,_0x328e5e:0x2a,_0x248f28:0xdc},_0x35b41c={_0x4e751f:0x52,_0x21f1d4:0xca};function _0x4207d0(_0x529593,_0x139e33,_0xc69aea,_0xdd74f7){return _0x515b8f(_0x529593-0x12f,_0x139e33-_0x35b41c._0x4e751f,_0xdd74f7,_0x529593- -_0x35b41c._0x21f1d4);}function _0x378c9d(_0x2223f6,_0x40cc39,_0x20d1e7,_0x314ddd){return _0x515b8f(_0x2223f6-_0x2ba45e._0x3feb41,_0x40cc39-_0x2ba45e._0x328e5e,_0x314ddd,_0x20d1e7- -_0x2ba45e._0x248f28);}return _0x577e9a[_0x378c9d(_0x193695._0x450efa,_0x193695._0x16ce00,_0x193695._0x1448bc,0x4b7)](0x0)===0xfeff?_0x577e9a[_0x378c9d(0x3df,_0x193695._0x16ce00,0x453,0x3a9)](0x1):_0x577e9a;}function clampLine(_0x30c39e,_0x1ca8fc){const _0x8e54a7={_0x1337cf:0x132,_0x40437a:0x10d,_0x3c62d2:0x7,_0x41b088:0x195,_0x1f0c7b:0x252,_0x5e77b9:0x1ee,_0x2f7206:0x160,_0x104897:0x4f},_0x13faa0={_0xe06d91:0x143},_0x5a9f33={_0x29def3:0x106,_0x301560:0x1b0,_0x250a0e:0x588};if(!Number['isFinite'](_0x30c39e))return 0x1;function _0x1ae758(_0x8ab5e2,_0x23db98,_0x28021c,_0x34e2d1){return _0x515b8f(_0x8ab5e2-_0x5a9f33._0x29def3,_0x23db98-_0x5a9f33._0x301560,_0x28021c,_0x34e2d1- -_0x5a9f33._0x250a0e);}function _0x1e2ca7(_0x493ca6,_0x1bc489,_0x5a8da0,_0x5ef0c4){return _0x1c3a85(_0x493ca6-0x17d,_0x5ef0c4,_0x5a8da0-_0x13faa0._0xe06d91,_0x493ca6-0x33f);}return Math[_0x1ae758(-_0x8e54a7._0x1337cf,-0x126,_0x8e54a7._0x40437a,0x86)](0x1,Math[_0x1ae758(-_0x8e54a7._0x3c62d2,_0x8e54a7._0x41b088,_0x8e54a7._0x1f0c7b,0xb2)](Math[_0x1ae758(0x115,_0x8e54a7._0x5e77b9,_0x8e54a7._0x2f7206,_0x8e54a7._0x104897)](_0x30c39e),_0x1ca8fc));}function createFileReadTool(_0x597c4e={}){const _0x2e3f19={_0x1192f2:0x11f,_0x48d8dc:0x96,_0x3cea9c:0x43,_0x26ea85:0x14b,_0x4e954a:0xa7,_0x2696f1:0x2a,_0x6bfe1c:0xf1,_0x36fc8a:0x1b6,_0x364d46:0x193,_0x21228d:0xc6,_0x304576:0x293,_0x220f95:0x9d,_0x2b832c:0xbf,_0x2e8265:0x14c,_0x405349:0x241,_0x254649:0x118},_0x41c489={_0x2053ba:0x181,_0x483776:0x10d,_0x39f96f:0x17a,_0x1bb5e:0x10d,_0x27e8e8:0x1bd,_0x45463e:0xfc,_0x4efcb8:0x18a,_0x7cb6ce:0x1be,_0x491e66:0xc,_0x546d7e:0xa,_0x3db597:0x170,_0x5d80f2:0x19c,_0x88a116:0xca,_0x11f309:0x1c9,_0x150418:0x10a,_0x588708:0x206,_0x2e138b:0x154,_0x22bc94:0x272,_0x33f48e:0x23d,_0x492da5:0x117,_0x1b453e:0x5d,_0x155ada:0xd6,_0x2e786b:0x59,_0x1b8369:0x1ba,_0x29eb9e:0x177,_0xecc13a:0x1d0,_0x1b2413:0x194,_0x53d7d2:0x11,_0x2dc80b:0x64,_0x5f1b2c:0xdf,_0x89a54:0x179,_0x52cbbe:0x1a4,_0x16b1e4:0xae,_0x216c6a:0x2c,_0x4b51f2:0x178,_0x5e2909:0x1ac,_0x492a34:0x47,_0x4ed1eb:0x120,_0x5d16ab:0xd6,_0xd1135:0x40,_0x5c2d89:0x139,_0xa66bbf:0xba,_0x3516dc:0xfd,_0x3cfcec:0x160,_0x59d9fa:0xb9,_0x30404b:0xf2,_0x356b92:0x92},_0x23b3f3={_0x251c28:0x167,_0x119ced:0x1e3,_0x56af51:0x3f0},_0x4c0d20={_0x540f6b:0x1b6};function _0x59c5b6(_0x5cb5c6,_0x5e372d,_0x542839,_0x542380){return _0x515b8f(_0x5cb5c6-0x180,_0x5e372d-_0x4c0d20._0x540f6b,_0x5cb5c6,_0x542380- -0x39d);}const _0x18b3ea=_0x554a50['resolve'](_0x597c4e[_0x268789(_0x2e3f19._0x1192f2,_0x2e3f19._0x48d8dc,_0x2e3f19._0x3cea9c,-0x53)]??process[_0x59c5b6(-_0x2e3f19._0x26ea85,-_0x2e3f19._0x4e954a,0x19,_0x2e3f19._0x2696f1)]());function _0x268789(_0x4b8251,_0x465664,_0x493294,_0x567a53){return _0x515b8f(_0x4b8251-_0x23b3f3._0x251c28,_0x465664-_0x23b3f3._0x119ced,_0x493294,_0x567a53- -_0x23b3f3._0x56af51);}const _0x940617=_0x597c4e[_0x268789(0x270,_0x2e3f19._0x6bfe1c,0x259,0x29a)]??[],_0x4518af=_0x597c4e[_0x59c5b6(0x1f3,0x2a2,0x20d,0x1fc)]??'FileRead';return defineTool({'name':_0x4518af,'permissionClass':'read','description':_0x268789(0x23a,0x28b,_0x2e3f19._0x36fc8a,0x29d),'inputSchema':{'type':_0x59c5b6(0x158,_0x2e3f19._0x364d46,_0x2e3f19._0x21228d,0xdf),'properties':{'path':{'type':_0x59c5b6(_0x2e3f19._0x304576,-_0x2e3f19._0x220f95,0x14d,0x10b)},'lineStart':{'type':'number','description':_0x59c5b6(0x6,_0x2e3f19._0x2b832c,0x1e0,0x10f)},'lineEnd':{'type':_0x59c5b6(_0x2e3f19._0x2e8265,_0x2e3f19._0x405349,_0x2e3f19._0x254649,0x2d6),'description':'Stop\x20reading\x20at\x20this\x20line\x20number\x20(1-based)'}},'required':['path']},async *'execute'(_0x1a70e4){const _0x4dad13={_0xd21236:0x1af},_0x34c874={_0x2a2ef7:0xcc},_0x24a378=resolveAllowedPath(_0x18b3ea,_0x940617,_0x1a70e4['path']);await assertWorkspaceFile(_0x24a378);const _0x6bde67=await _0x55bf08(_0x24a378),_0x24116a=await _0x44ceee(_0x24a378);if(isProbablyBinary(_0x24116a))throw new ToolExecutionError(_0x985336(-0x16d,-0x15c,_0x41c489._0x2053ba,-0x2c)+_0x1a70e4['path'],{'path':_0x1a70e4[_0x985336(-_0x41c489._0x483776,_0x41c489._0x39f96f,-0xf2,0x12)]});function _0x165751(_0x40e3e4,_0x4f3004,_0x1b95c7,_0x4039ff){return _0x59c5b6(_0x4039ff,_0x4f3004-_0x34c874._0x2a2ef7,_0x1b95c7-0xd8,_0x40e3e4- -0x111);}let _0x57c3b9=_0x24116a['toString']('utf8');const _0x5a76ed=_0x57c3b9[_0x165751(0xd3,_0x41c489._0x1bb5e,_0x41c489._0x27e8e8,_0x41c489._0x45463e)](0x0)===0xfeff;_0x57c3b9=stripUtfBom(_0x57c3b9);const _0x1d46f9=_0x57c3b9[_0x165751(_0x41c489._0x4efcb8,0x76,_0x41c489._0x7cb6ce,0x41)](/\r?\n/),_0x5b3c87={'path':_0x1a70e4['path'],'resolvedPath':_0x24a378,'created':_0x6bde67[_0x985336(-0x12b,-0x2e2,_0x41c489._0x491e66,-0x130)][_0x985336(-0x13d,-0x109,-_0x41c489._0x546d7e,-_0x41c489._0x3db597)](),'modified':_0x6bde67[_0x985336(_0x41c489._0x5d80f2,_0x41c489._0x88a116,_0x41c489._0x11f309,_0x41c489._0x150418)][_0x985336(-_0x41c489._0x588708,-_0x41c489._0x2e138b,-_0x41c489._0x22bc94,-0x170)](),'size':_0x6bde67[_0x165751(_0x41c489._0x33f48e,0x2f7,0x3c3,_0x41c489._0x492da5)],'encoding':_0x165751(_0x41c489._0x1b453e,0xb0,0xeb,0x1b7),'bomStripped':_0x5a76ed,'truncated':![],'totalLines':_0x1d46f9[_0x165751(_0x41c489._0x155ada,_0x41c489._0x2e786b,_0x41c489._0x1b8369,_0x41c489._0x29eb9e)]};function _0x985336(_0x3118d0,_0x318cf3,_0x5f4b41,_0x1f7fb5){return _0x268789(_0x3118d0-0x1af,_0x318cf3-_0x4dad13._0xd21236,_0x318cf3,_0x1f7fb5- -0x14d);}if(_0x1a70e4[_0x985336(-0x118,-_0x41c489._0xecc13a,-_0x41c489._0x1b2413,-0xb3)]!==void 0x0||_0x1a70e4[_0x165751(_0x41c489._0x53d7d2,-_0x41c489._0x2dc80b,_0x41c489._0x5f1b2c,-_0x41c489._0x89a54)]!==void 0x0){const _0x251f43=clampLine(_0x1a70e4[_0x985336(-_0x41c489._0x52cbbe,_0x41c489._0x16b1e4,_0x41c489._0x216c6a,-0xb3)]??0x1,_0x1d46f9[_0x985336(-0x66,-_0x41c489._0x4b51f2,_0x41c489._0x5e2909,_0x41c489._0x492a34)]),_0x5babcb=clampLine(_0x1a70e4[_0x985336(-0xb2,_0x41c489._0x4ed1eb,0x43,-0x7e)]??_0x1d46f9[_0x165751(_0x41c489._0x5d16ab,-0x46,0x250,-_0x41c489._0xd1135)],_0x1d46f9['length']),_0x52e376=Math[_0x985336(_0x41c489._0x5c2d89,0x192,-_0x41c489._0xa66bbf,_0x41c489._0x3516dc)](_0x251f43,_0x5babcb),_0x5900c5=Math[_0x165751(_0x41c489._0x3cfcec,0x256,_0x41c489._0x59d9fa,-0x55)](_0x251f43,_0x5babcb),_0x45b6d1=_0x1d46f9[_0x165751(0x81,0x20a,-_0x41c489._0x30404b,_0x41c489._0x5c2d89)](_0x52e376-0x1,_0x5900c5)['map']((_0x5fbbaa,_0x59a39f)=>_0x52e376+_0x59a39f+'|'+_0x5fbbaa)['join']('\x0a');return yield createToolOutput(_0x45b6d1,{..._0x5b3c87,'lineRange':{'lineStart':_0x52e376,'lineEnd':_0x5900c5,'linesTotal':_0x1d46f9[_0x985336(-_0x41c489._0x356b92,-0xec,0xd,0x47)]}}),void 0x0;}return yield createToolOutput(_0x57c3b9,_0x5b3c87),void 0x0;}});}import{stat as _0x3f45f1}from'fs/promises';import*as _0x51961f from'path';import{execSync,spawn as _0x48c7c1}from'child_process';import{existsSync}from'fs';import{stat as _0x735868}from'fs/promises';import*as _0x384c87 from'os';import*as _0xbbeb3e from'path';import{rgPath as _0x4a942b}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x2a2ec7={_0x789b90:0x720,_0x56dfa2:0x49a,_0x2ee8d0:0x569,_0xa27cd8:0x589,_0x4821d1:0x436,_0x1599d0:0x3a4,_0x395f2a:0x4c9,_0xdb021e:0x51e,_0x2bbceb:0x5a7,_0x11e8bd:0x48a,_0x30994c:0x2b8,_0x5d20d0:0x2d7,_0x3bee7e:0x21f,_0x46f210:0x1d9,_0x27e1b6:0x60e,_0x45306b:0x4a2,_0x53a495:0x5ab,_0x58e494:0x6b4,_0x2d0440:0x4a4,_0x524f06:0x589,_0x15399b:0x689,_0x29dfef:0x651,_0x57ddbd:0x6d3,_0x57e802:0x6c9,_0x104f6b:0x651,_0x3e3541:0x5c0,_0x3dad24:0x2a3,_0x502f1d:0x5b0,_0x457c0e:0x450,_0x378dc9:0x45d,_0xccc52d:0x54d,_0x1399c2:0x622,_0x430d60:0x4af,_0x448380:0x5bd,_0x210994:0x546,_0x58ba6f:0x308,_0xb1b573:0x38d,_0x47a02f:0x3c7,_0x4e13aa:0x163,_0x50fa63:0x20a,_0x5d1ef6:0x2bb,_0x3f8ca6:0x28f,_0x1625a9:0x569,_0x4ccaea:0x58f,_0x381802:0x54b},_0x133f4e={_0x553ddb:0x61,_0x3c22dc:0x9f},_0x4e027b={_0x2f2976:0x166,_0x5231c6:0x477},_0x3da4f1=_0x384c87[_0x2d420d(0x665,_0x2a2ec7._0x789b90,_0x2a2ec7._0x56dfa2,_0x2a2ec7._0x2ee8d0)]()===_0x2d420d(0x3d6,_0x2a2ec7._0xa27cd8,0x4f2,_0x2a2ec7._0x4821d1),_0x7e1bca=_0x3da4f1?[_0xbbeb3e[_0x2d420d(_0x2a2ec7._0x1599d0,0x626,_0x2a2ec7._0x395f2a,_0x2a2ec7._0xdb021e)](process[_0x5cbb09(0x503,_0x2a2ec7._0x2bbceb,0x42f,_0x2a2ec7._0x11e8bd)]['LOCALAPPDATA']||'',_0x2d420d(_0x2a2ec7._0x30994c,0x432,0x39c,0x404),'WinGet',_0x2d420d(_0x2a2ec7._0x5d20d0,_0x2a2ec7._0x3bee7e,_0x2a2ec7._0x46f210,0x394)),_0xbbeb3e[_0x5cbb09(0x654,_0x2a2ec7._0x27e1b6,_0x2a2ec7._0x45306b,_0x2a2ec7._0x53a495)](process[_0x5cbb09(0x3ab,0x390,0x35f,0x48a)][_0x2d420d(0x61f,0x723,_0x2a2ec7._0x58e494,0x5c0)]||'',_0x5cbb09(_0x2a2ec7._0x2d0440,0x3ca,0x454,_0x2a2ec7._0x524f06),_0x2d420d(0x4d4,_0x2a2ec7._0x15399b,0x511,_0x2a2ec7._0x29dfef)),_0xbbeb3e['join'](process['env']['ProgramFiles(x86)']||'','ripgrep',_0x2d420d(_0x2a2ec7._0x57ddbd,0x568,_0x2a2ec7._0x57e802,_0x2a2ec7._0x104f6b))]:[_0x5cbb09(_0x2a2ec7._0x3e3541,0x499,0x7ad,0x608),_0x5cbb09(_0x2a2ec7._0x3dad24,_0x2a2ec7._0x502f1d,_0x2a2ec7._0x457c0e,_0x2a2ec7._0x378dc9),_0x5cbb09(_0x2a2ec7._0xccc52d,0x446,_0x2a2ec7._0x1399c2,0x465),'/bin/rg'];for(const _0x42f593 of _0x7e1bca){if(existsSync(_0x42f593))return _0x42f593;}function _0x5cbb09(_0x5e4992,_0x1b7710,_0x4f38b7,_0x40b980){return _0x1c3a85(_0x5e4992-0x55,_0x5e4992,_0x4f38b7-_0x4e027b._0x2f2976,_0x40b980-_0x4e027b._0x5231c6);}try{const _0x705712=_0x3da4f1?'where\x20rg':_0x2d420d(_0x2a2ec7._0x430d60,0x724,0x4e4,0x562),_0x256893=execSync(_0x705712,{'encoding':_0x2d420d(_0x2a2ec7._0x448380,_0x2a2ec7._0x210994,_0x2a2ec7._0x58ba6f,0x46c),'stdio':[_0x5cbb09(0x23c,0x463,0x314,_0x2a2ec7._0xb1b573),_0x2d420d(_0x2a2ec7._0x47a02f,_0x2a2ec7._0x4e13aa,_0x2a2ec7._0x50fa63,0x300),_0x2d420d(_0x2a2ec7._0x5d1ef6,0x3b1,_0x2a2ec7._0x3f8ca6,0x332)]})[_0x5cbb09(_0x2a2ec7._0x1625a9,_0x2a2ec7._0x4ccaea,0x672,_0x2a2ec7._0x381802)]()['split'](/\r?\n/)[0x0];if(_0x256893&&existsSync(_0x256893))return _0x256893;}catch{return null;}function _0x2d420d(_0x18d0ae,_0x52a904,_0x2a1b4c,_0x403221){return _0x515b8f(_0x18d0ae-0x1c5,_0x52a904-_0x133f4e._0x553ddb,_0x18d0ae,_0x403221- -_0x133f4e._0x3c22dc);}return null;}async function filepath(){const _0x15465c={_0x33efbf:0x108,_0x5c664a:0x148,_0x503a05:0x84},_0x2bff1d={_0x545369:0xb6,_0x6b4068:0x4fe};if(cachedRgPath)return cachedRgPath;function _0x5dfcc5(_0x12fee5,_0x1a6afc,_0x3bdb63,_0x47ec3c){return _0x515b8f(_0x12fee5-0xdd,_0x1a6afc-_0x2bff1d._0x545369,_0x1a6afc,_0x3bdb63- -_0x2bff1d._0x6b4068);}if(_0x4a942b&&existsSync(_0x4a942b))return cachedRgPath=_0x4a942b,_0x4a942b;const _0xa5a721=findSystemRipgrep();if(!_0xa5a721)throw new Error(_0x5dfcc5(0x70,-_0x15465c._0x33efbf,-_0x15465c._0x5c664a,-_0x15465c._0x503a05));return cachedRgPath=_0xa5a721,_0xa5a721;}async function*files(_0x4ef06a){const _0x5ac0c3={_0x39c9cb:0x184,_0x50b86e:0x18,_0x177047:0x4e,_0x2b5e58:0x6a,_0x1ab8ac:0x1a3,_0x3938b6:0xc0,_0x42147d:0x176,_0x4904c9:0x5b,_0x6d969b:0x215,_0x32b826:0x1c7,_0x34564a:0x24,_0x3d8e4d:0x1fb,_0x32cc8e:0x5d,_0x36ef17:0xdb,_0x3e5e2d:0xd1,_0x5a7f33:0x12b,_0x448c1c:0x366,_0x2ded8e:0x3de,_0x6ed055:0x117,_0x253847:0xda,_0x527bd3:0x2bd,_0x155928:0xdb,_0xc78ac0:0x54,_0x591090:0xf1,_0x229c94:0x25d,_0x470049:0x577,_0x51d5f9:0x51b,_0x516d13:0x38a,_0x1da82c:0x334,_0x23842e:0x100,_0x4deb2c:0x2a9,_0xae55cf:0x201,_0x4c2494:0x30a},_0x2739c3={_0x36d18f:0x1ae,_0x50a56f:0x1db},_0x25648b={_0x35667e:0x1e9},_0x3317fb=await filepath(),_0x59b9e2=await _0x735868(_0x4ef06a['cwd'])[_0x2a1809(0xa9,0x132,-0x5e,-0x1bd)](()=>null);if(!_0x59b9e2?.[_0x2a1809(0x19d,-_0x5ac0c3._0x39c9cb,0x9,_0x5ac0c3._0x50b86e)]())throw Object['assign'](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0x4ef06a[_0x2a1809(_0x5ac0c3._0x177047,-0x1b6,-_0x5ac0c3._0x2b5e58,-_0x5ac0c3._0x1ab8ac)]+'\x27'),{'code':_0x2a1809(-0xd8,_0x5ac0c3._0x3938b6,-_0x5ac0c3._0x50b86e,_0x5ac0c3._0x42147d)});const _0xf7fc6d=['--files',_0x95835e(_0x5ac0c3._0x4904c9,_0x5ac0c3._0x6d969b,_0x5ac0c3._0x32b826,_0x5ac0c3._0x34564a),_0x2a1809(-_0x5ac0c3._0x3d8e4d,0x4f,-_0x5ac0c3._0x32cc8e,-_0x5ac0c3._0x36ef17),_0x2a1809(-_0x5ac0c3._0x3e5e2d,0x59,-0x91,_0x5ac0c3._0x5a7f33)];for(const _0x205ac9 of _0x4ef06a[_0x95835e(_0x5ac0c3._0x448c1c,0x301,0x282,_0x5ac0c3._0x2ded8e)]??[]){_0xf7fc6d['push'](_0x2a1809(-0xca,0x15b,0x3d,_0x5ac0c3._0x6ed055)+_0x205ac9);}function _0x2a1809(_0x5ec3af,_0x287d9a,_0x5a8050,_0x31fe3f){return _0x1c3a85(_0x5ec3af-0x1ce,_0x287d9a,_0x5a8050-_0x25648b._0x35667e,_0x5a8050-0x58);}const _0x5f14b8=_0x48c7c1(_0x3317fb,_0xf7fc6d,{'cwd':_0x4ef06a['cwd'],'stdio':[_0x95835e(_0x5ac0c3._0x253847,_0x5ac0c3._0x527bd3,0x123,_0x5ac0c3._0x155928),_0x95835e(0x27,0xa2,0xf1,-_0x5ac0c3._0xc78ac0),_0x95835e(-0xc9,-0x52,_0x5ac0c3._0x591090,0xd3)]});function _0x95835e(_0x8a96f9,_0x4f1c2c,_0x193ca2,_0x1d9713){return _0x1c3a85(_0x8a96f9-_0x2739c3._0x36d18f,_0x1d9713,_0x193ca2-0x168,_0x193ca2-_0x2739c3._0x50a56f);}let _0x55e1ff='';for await(const _0xef8a00 of _0x5f14b8[_0x2a1809(0x2ca,0xe1,_0x5ac0c3._0x229c94,0x14c)]??[]){_0x55e1ff+=_0xef8a00[_0x95835e(0x289,0x4a6,_0x5ac0c3._0x2ded8e,_0x5ac0c3._0x470049)]();const _0x513d0c=_0x55e1ff[_0x95835e(_0x5ac0c3._0x51d5f9,0x496,_0x5ac0c3._0x516d13,_0x5ac0c3._0x1da82c)](/\r?\n/);_0x55e1ff=_0x513d0c[_0x2a1809(0x207,0x156,_0x5ac0c3._0x23842e,-0x59)]()??'';for(const _0x3231ac of _0x513d0c){if(_0x3231ac['length']>0x0)yield _0x3231ac;}}_0x55e1ff['trim']()['length']>0x0&&(yield _0x55e1ff[_0x95835e(_0x5ac0c3._0x4deb2c,_0x5ac0c3._0xae55cf,0x2af,_0x5ac0c3._0x4c2494)]());}function objectValue(_0x25a7a7){return typeof _0x25a7a7==='object'&&_0x25a7a7!==null?_0x25a7a7:void 0x0;}function decodeRipgrepText(_0x41cc97){const _0x8bbdc={_0x9079e4:0x33a,_0x17d947:0x19f,_0x41b80b:0x3fa,_0x120b82:0x3cd,_0x350589:0x301,_0x36a992:0x4f5,_0xe79b84:0x537,_0x5159bc:0x490,_0x1071cf:0x4e2,_0x931473:0x364,_0x1304fb:0x3cc,_0x263fe2:0x1f4,_0x2d152d:0x4e9},_0x4ae4d7={_0x5ad439:0x2e2},_0x71d36a={_0x3dd721:0x119};function _0x1b9966(_0x2b61dc,_0x3d6696,_0x1d3da9,_0x17b343){return _0x515b8f(_0x2b61dc-_0x71d36a._0x3dd721,_0x3d6696-0x199,_0x17b343,_0x2b61dc- -0x11c);}const _0x1ddcda=objectValue(_0x41cc97);function _0x6d5e1a(_0x5b2607,_0x1aa334,_0x1e492b,_0x2d4443){return _0x1c3a85(_0x5b2607-0x45,_0x2d4443,_0x1e492b-0x41,_0x5b2607-_0x4ae4d7._0x5ad439);}if(typeof _0x1ddcda?.[_0x1b9966(_0x8bbdc._0x9079e4,_0x8bbdc._0x17d947,0x244,_0x8bbdc._0x41b80b)]==='string')return _0x1ddcda['text'];if(typeof _0x1ddcda?.[_0x6d5e1a(0x4f5,0x5f9,0x34c,_0x8bbdc._0x120b82)]===_0x6d5e1a(_0x8bbdc._0x350589,0x168,0x471,0x3b6))return Buffer['from'](_0x1ddcda[_0x6d5e1a(_0x8bbdc._0x36a992,_0x8bbdc._0xe79b84,_0x8bbdc._0x5159bc,_0x8bbdc._0x1071cf)],'base64')['toString'](_0x6d5e1a(_0x8bbdc._0x931473,_0x8bbdc._0x1304fb,_0x8bbdc._0x263fe2,_0x8bbdc._0x2d152d));return void 0x0;}function parseMatchLine(_0x375594,_0x4008){const _0x2615df={_0x758689:0x5e,_0x354c02:0x168,_0x200238:0x432,_0x1a5caa:0x15d,_0x13cba4:0x256,_0x9d0ec2:0x488,_0x39fef5:0x3b0,_0x20ea37:0x39d,_0x135173:0x118,_0x4febc7:0x394,_0x22c292:0x1c3,_0x2842ce:0x2b7,_0x1375ff:0x42f,_0xf39db4:0x4ce,_0x120371:0x61d,_0xd475f0:0x41f,_0x477137:0x76,_0x2e0a6e:0x213,_0x4117be:0x291,_0x54d469:0x155,_0x490339:0xbc,_0xbd93dd:0x11c,_0x222a5d:0x21,_0x3ccb85:0x137,_0x10c80e:0x2d0},_0x2d651f={_0x3e7f9b:0x87,_0x10d839:0x244},_0x3ff3b9={_0x56ceb8:0x2f,_0x57cbb5:0x1b7};if(_0x375594['length']===0x0)return null;const _0x56a968=objectValue(JSON[_0x5cf82a(_0x2615df._0x758689,_0x2615df._0x354c02,-0x3e,0xe4)](_0x375594));if(_0x56a968?.[_0x436516(0x20f,0x240,0x273,0x1b9)]!=='match'&&_0x56a968?.[_0x436516(0x276,_0x2615df._0x200238,0x273,0x3b4)]!==_0x436516(0xeb,0x144,_0x2615df._0x1a5caa,_0x2615df._0x13cba4))return null;function _0x5cf82a(_0x5a7fab,_0x3224f5,_0x2e2b9c,_0x2c319f){return _0x515b8f(_0x5a7fab-_0x3ff3b9._0x56ceb8,_0x3224f5-_0x3ff3b9._0x57cbb5,_0x2c319f,_0x5a7fab- -0x4d8);}const _0x1d5bf8=objectValue(_0x56a968[_0x436516(_0x2615df._0x9d0ec2,_0x2615df._0x39fef5,_0x2615df._0x20ea37,0x440)]),_0x1bf6c9=decodeRipgrepText(_0x1d5bf8?.[_0x5cf82a(0x77,-0xfc,_0x2615df._0x135173,0x141)]),_0x2114b7=decodeRipgrepText(_0x1d5bf8?.[_0x5cf82a(0x1db,0x2ca,_0x2615df._0x4febc7,0x34)]);function _0x436516(_0xc398aa,_0x2a1d01,_0x2539b8,_0x4f92dd){return _0x515b8f(_0xc398aa-_0x2d651f._0x3e7f9b,_0x2a1d01-0x146,_0x2a1d01,_0x2539b8- -_0x2d651f._0x10d839);}const _0x171468=_0x1d5bf8?.[_0x5cf82a(_0x2615df._0x22c292,0x146,0x242,0x1ac)];if(_0x1bf6c9===void 0x0||_0x2114b7===void 0x0||typeof _0x171468!==_0x436516(0x520,_0x2615df._0x2842ce,_0x2615df._0x1375ff,_0x2615df._0xf39db4))throw new Error(_0x436516(0x363,_0x2615df._0x120371,0x4bd,_0x2615df._0xd475f0));return{'filePath':_0xbbeb3e[_0x5cf82a(-0xd7,-_0x2615df._0x477137,-_0x2615df._0x2e0a6e,-_0x2615df._0x4117be)](_0x1bf6c9)?_0x1bf6c9:_0xbbeb3e[_0x436516(0x23e,-0xd,_0x2615df._0x54d469,0x2d2)](_0x4008,_0x1bf6c9),'lineNum':_0x171468,'lineText':_0x2114b7[_0x5cf82a(0x53,-0x159,_0x2615df._0x490339,-_0x2615df._0xbd93dd)](/\r?\n$/,''),..._0x56a968[_0x5cf82a(-_0x2615df._0x222a5d,-0x7f,0x80,0xc4)]===_0x5cf82a(-_0x2615df._0x3ccb85,-_0x2615df._0x10c80e,-0x160,-0x16f)?{'isContext':!![]}:{}};}async function search(_0x2ae158){const _0x51f76c={_0xadc71f:0x683,_0x30f08f:0x5ad,_0x397e6f:0x6c0,_0x1227e5:0x3b9,_0x1f7067:0x529,_0x4e3c8d:0x26a,_0x13463d:0x480,_0x58e62f:0x589,_0x14e9f1:0x358,_0x8fc861:0x5f4,_0x50e6d3:0x568,_0x49c474:0x682,_0x4e22d6:0x661,_0x5f4617:0x5a2,_0x11c3f6:0x44d,_0x2662bc:0x3ee,_0x58cdf6:0x469,_0x42d0d3:0x412,_0x48d443:0x35d,_0x9bbc11:0x650,_0x337ec6:0x53e,_0x255c59:0x385,_0x55b110:0x448,_0x5d2e2a:0x5c8,_0x45f34f:0x6a9,_0x122c00:0x3ae,_0x3931b9:0x2b0,_0x510ed5:0x24c,_0x79885d:0x383,_0x40f40b:0x2f2,_0x2c8a79:0x46e,_0x3ca1d9:0x320,_0x5708b6:0x3c4,_0x50ee12:0x31c,_0x11e4f1:0x393,_0x11c743:0x362,_0x470998:0x46b,_0x1e9d24:0x4f7,_0x4c3f50:0x534,_0x49cd52:0x36c,_0x549f32:0x402,_0x1aa105:0x388,_0x5dfc00:0x3d5,_0x3a31cd:0x22e,_0x126a33:0x72e,_0x2cd381:0x6a7,_0x5c87b6:0x6e0,_0x1e64ab:0x464,_0x4082c1:0x6b2,_0x85ae3b:0x592,_0x13daf0:0x3e1,_0x2642d3:0x65e,_0x52dc25:0x673,_0x17ceb5:0x6e1,_0x4bae1e:0x5ca,_0x52d7ea:0x5ab,_0x39a47e:0x282,_0x513079:0x3cf,_0x32303c:0x685,_0x1c056f:0x6a0,_0x3321d2:0x6c2,_0x2ef148:0x701,_0x288bb0:0x72b,_0x204fb4:0x581,_0x43c79e:0x60f,_0x42c528:0x468,_0x6cb2b1:0x453,_0x448027:0x3be,_0x1826d0:0x3fb},_0x16f084={_0x11544c:0xe3,_0x1dbf9b:0x6e,_0x3056cc:0x214,_0x4c8a5c:0x228,_0x48d4a3:0x1e8,_0x5b39d1:0x93,_0x3fbdbd:0x46,_0x1fa0f9:0x37,_0x4673c0:0x67,_0x494a6f:0x1b0,_0x2d2fde:0x445,_0x1fdfb0:0x414,_0x4e04b7:0x31a,_0x442dec:0x1b1,_0x5b56cd:0x2f5},_0x80c1c0={_0x18df59:0x4d4},_0x4c0ebc={_0x4b149c:0x5d5,_0x1024f3:0x5bb},_0x1d43fb={_0x24b458:0x144},_0x4f3e26={_0x18ed57:0x66},_0x1e4c98={_0x25bdca:0xfb,_0x2de5bb:0x1ca,_0x3bd2ec:0x50};if(_0x2ae158[_0x3889ed(0x57b,0x4d5,0x5ee,0x529)]!==void 0x0&&_0x2ae158['files']!==void 0x0)throw new Error(_0x3889ed(0x5c7,_0x51f76c._0xadc71f,0x4b6,0x661));if(_0x2ae158[_0x2b65bc(0x41a,0x5b0,_0x51f76c._0x30f08f,_0x51f76c._0x397e6f)]){const _0x1d1b6b=await _0x735868(_0x2ae158[_0x3889ed(0x37b,0x490,_0x51f76c._0x1227e5,_0x51f76c._0x1f7067)])[_0x3889ed(0x4b2,_0x51f76c._0x4e3c8d,_0x51f76c._0x13463d,0x383)](()=>null);if(!_0x1d1b6b?.['isFile']())throw Object[_0x2b65bc(_0x51f76c._0x58e62f,_0x51f76c._0x14e9f1,0x448,_0x51f76c._0x8fc861)](new Error(_0x3889ed(0x851,0x611,_0x51f76c._0x50e6d3,0x6a9)+_0x2ae158[_0x3889ed(_0x51f76c._0x49c474,0x4ab,_0x51f76c._0x4e22d6,0x529)]+'\x27'),{'code':_0x2b65bc(_0x51f76c._0x5f4617,0x583,_0x51f76c._0x11c3f6,_0x51f76c._0x2662bc)});}else{if(_0x2ae158[_0x3889ed(0x303,0x281,0x1b9,0x35d)]!==void 0x0)for(const _0x523789 of _0x2ae158[_0x3889ed(_0x51f76c._0x58cdf6,0x3d0,_0x51f76c._0x42d0d3,_0x51f76c._0x48d443)]){if(!_0xbbeb3e['isAbsolute'](_0x523789))throw new Error(_0x2b65bc(_0x51f76c._0x9bbc11,0x63a,0x4db,_0x51f76c._0x337ec6)+_0x523789+'\x27');const _0x3d0310=await _0x735868(_0x523789)['catch'](()=>null);if(!_0x3d0310?.[_0x3889ed(_0x51f76c._0x255c59,0x547,0x66c,0x4c5)]())throw Object[_0x2b65bc(0x53a,0x499,_0x51f76c._0x55b110,0x52e)](new Error(_0x3889ed(0x6ab,_0x51f76c._0x5d2e2a,0x7cf,_0x51f76c._0x45f34f)+_0x523789+'\x27'),{'code':'ENOENT'});}else{const _0x108004=await _0x735868(_0x2ae158[_0x3889ed(0x2c4,_0x51f76c._0x122c00,0x281,0x377)])[_0x3889ed(_0x51f76c._0x3931b9,_0x51f76c._0x510ed5,0x4b3,_0x51f76c._0x79885d)](()=>null);if(!_0x108004?.[_0x2b65bc(0x47b,_0x51f76c._0x40f40b,_0x51f76c._0x2c8a79,_0x51f76c._0x3ca1d9)]())throw Object[_0x3889ed(0x481,0x499,0x464,_0x51f76c._0x5708b6)](new Error(_0x3889ed(0x428,_0x51f76c._0x50ee12,_0x51f76c._0x11e4f1,_0x51f76c._0x11c743)+_0x2ae158['cwd']+'\x27'),{'code':'ENOENT'});}}if(_0x2ae158[_0x3889ed(0x321,0x3e5,_0x51f76c._0x470998,_0x51f76c._0x48d443)]?.[_0x3889ed(0x639,0x46b,_0x51f76c._0x1e9d24,_0x51f76c._0x4c3f50)]===0x0)return[];const _0x410271=await filepath(),_0x25dad7=['--json','--regexp',_0x2ae158['pattern']];function _0x3889ed(_0x10001a,_0x5c52cc,_0x2b4d14,_0x48a909){return _0x515b8f(_0x10001a-_0x1e4c98._0x25bdca,_0x5c52cc-_0x1e4c98._0x2de5bb,_0x2b4d14,_0x48a909- -_0x1e4c98._0x3bd2ec);}function _0x2b65bc(_0x3b5087,_0x58b504,_0xdf6b92,_0x5c5814){return _0x1c3a85(_0x3b5087-_0x4f3e26._0x18ed57,_0x58b504,_0xdf6b92-0x188,_0xdf6b92-0x4bd);}const _0x3f91df=typeof _0x2ae158[_0x3889ed(0x328,_0x51f76c._0x49cd52,_0x51f76c._0x549f32,0x351)]==='number'&&_0x2ae158[_0x2b65bc(_0x51f76c._0x1aa105,0x56e,_0x51f76c._0x5dfc00,_0x51f76c._0x3a31cd)]>0x0;return _0x3f91df&&_0x25dad7[_0x3889ed(0x50f,_0x51f76c._0x126a33,0x75f,_0x51f76c._0x2cd381)]('-C',String(_0x2ae158['context'])),_0x2ae158['glob']&&!_0x2ae158[_0x3889ed(_0x51f76c._0x5c87b6,_0x51f76c._0x1e64ab,_0x51f76c._0x4082c1,_0x51f76c._0x1f7067)]&&_0x2ae158[_0x2b65bc(_0x51f76c._0x85ae3b,0x4fa,_0x51f76c._0x13daf0,0x49a)]===void 0x0&&_0x25dad7[_0x3889ed(_0x51f76c._0x2642d3,0x7c9,_0x51f76c._0x85ae3b,0x6a7)](_0x3889ed(_0x51f76c._0x52dc25,_0x51f76c._0x17ceb5,_0x51f76c._0x4bae1e,0x6b3),_0x2ae158[_0x2b65bc(_0x51f76c._0x4e22d6,_0x51f76c._0x52d7ea,0x564,0x57e)]),_0x2ae158[_0x3889ed(_0x51f76c._0x39a47e,_0x51f76c._0x513079,0x50b,0x35d)]!==void 0x0?_0x25dad7[_0x2b65bc(0x88d,_0x51f76c._0x32303c,0x72b,_0x51f76c._0x1c056f)](..._0x2ae158['files']):_0x25dad7[_0x2b65bc(_0x51f76c._0x3321d2,_0x51f76c._0x2ef148,_0x51f76c._0x288bb0,0x655)](_0x2ae158[_0x3889ed(_0x51f76c._0x204fb4,_0x51f76c._0x43c79e,_0x51f76c._0x42c528,0x529)]??_0x2ae158[_0x2b65bc(_0x51f76c._0x6cb2b1,_0x51f76c._0x448027,_0x51f76c._0x1826d0,_0x51f76c._0x4e3c8d)]),await new Promise((_0xfe8561,_0x3f6e48)=>{const _0x4b4dfc={_0x331af:0x471,_0x5059d5:0x62d,_0x592421:0x59e,_0x2c751d:0x233,_0x2c9159:0x307,_0x8f92c2:0x167,_0xb97ebc:0xc,_0x51a80b:0x96,_0x319d08:0x289,_0xa06f13:0x15,_0x4c110f:0x84,_0x1151bc:0x139,_0x468706:0x5ba,_0x1e14e0:0x5a2,_0x9f396a:0x438,_0x2ed208:0x25c,_0x205f7b:0x2b1,_0x38c024:0xca,_0xa0d29e:0x668,_0x41e800:0x653,_0x5bc90c:0x265,_0x426e6c:0x31e,_0x1ef57e:0x34e},_0x4f4ad8={_0x129038:0xbb},_0x169b41={_0x114d79:0x582},_0x5bae1c={_0xe887a0:0xd9},_0x404b49={_0x207d17:0x12d};function _0x196257(_0x9b5c5d,_0x94fb38,_0x5e1db5,_0x1bbc4c){return _0x3889ed(_0x9b5c5d-_0x404b49._0x207d17,_0x94fb38-0x92,_0x9b5c5d,_0x1bbc4c- -0x163);}function _0x182bd5(_0x5ec1d1,_0x4c0302,_0x25e27c,_0x198e8a){return _0x2b65bc(_0x5ec1d1-0x58,_0x5ec1d1,_0x4c0302- -0x67c,_0x198e8a-_0x1d43fb._0x24b458);}const _0x283575=_0x48c7c1(_0x410271,_0x25dad7,{'cwd':_0x2ae158[_0x196257(_0x16f084._0x11544c,0x3d2,_0x16f084._0x1dbf9b,_0x16f084._0x3056cc)],'stdio':[_0x182bd5(-0x3a6,-0x277,-0x375,-_0x16f084._0x4c8a5c),'pipe',_0x196257(_0x16f084._0x48d4a3,0x220,0x331,0x1ec)]});let _0x14378b='',_0x426e36='';_0x283575[_0x182bd5(_0x16f084._0x5b39d1,_0x16f084._0x3fbdbd,0x13b,-_0x16f084._0x1fa0f9)]?.['on'](_0x182bd5(-0x59,-_0x16f084._0x4673c0,-0x8,-_0x16f084._0x494a6f),_0x405f0d=>{function _0x38fcd5(_0x522156,_0x3e021e,_0x5391d2,_0x2b9f96){return _0x196257(_0x3e021e,_0x3e021e-0xf7,_0x5391d2-_0x5bae1c._0xe887a0,_0x5391d2-0xe2);}_0x14378b+=_0x405f0d[_0x38fcd5(0x53d,_0x4c0ebc._0x4b149c,_0x4c0ebc._0x1024f3,0x679)]();}),_0x283575[_0x196257(_0x16f084._0x2d2fde,_0x16f084._0x1fdfb0,0x1ec,0x344)]?.['on']('data',_0x13275d=>{function _0x2c60bb(_0x15d045,_0x4f7d44,_0x1cabb7,_0x3319f9){return _0x182bd5(_0x15d045,_0x4f7d44-_0x169b41._0x114d79,_0x1cabb7-0x108,_0x3319f9-0x87);}_0x426e36+=_0x13275d[_0x2c60bb(_0x80c1c0._0x18df59,0x5c6,0x43f,0x6af)]();}),_0x283575['on']('close',_0x472e8c=>{const _0x389e7e={_0x47ca49:0x6da,_0x4d2dcd:0x5d6,_0x2a9c70:0x474,_0x6287d8:0x5df,_0x2737fe:0x562,_0x5c4ba2:0x4c7},_0x5dad6d={_0x19bc2a:0x15f,_0x1d9cd5:0x9d};if(_0x472e8c===0x1&&_0x14378b===''){_0xfe8561([]);return;}if(_0x472e8c!==0x0&&_0x472e8c!==0x1){_0x3f6e48(new Error('ripgrep\x20failed:\x20'+_0x426e36));return;}const _0x102971=[];function _0x21a4d8(_0x3200a6,_0x2d1b9c,_0x3f107a,_0x41b83b){return _0x182bd5(_0x3200a6,_0x3f107a-_0x5dad6d._0x19bc2a,_0x3f107a-0x12d,_0x41b83b-_0x5dad6d._0x1d9cd5);}try{for(const _0x50b305 of _0x14378b[_0x73af26(_0x4b4dfc._0x331af,_0x4b4dfc._0x5059d5,0x467,_0x4b4dfc._0x592421)](/\r?\n/)){const _0x23890e=parseMatchLine(_0x50b305,_0x2ae158['cwd']);if(_0x23890e)_0x102971[_0x21a4d8(0x251,_0x4b4dfc._0x2c751d,0x20e,_0x4b4dfc._0x2c9159)](_0x23890e);}}catch(_0x517a53){_0x3f6e48(_0x517a53);return;}const _0x3865c0=_0x2ae158[_0x21a4d8(_0x4b4dfc._0x8f92c2,-0x7f,_0x4b4dfc._0xb97ebc,_0x4b4dfc._0x51a80b)]??0x64,_0x425641=Number[_0x73af26(0x334,0x1ef,0x4a0,0x2fb)](_0x3865c0)?Math[_0x21a4d8(_0x4b4dfc._0x319d08,0xab,0x125,0x290)](0x0,Math['trunc'](_0x3865c0)):0x64,_0x1c54e7=_0x102971[_0x21a4d8(_0x4b4dfc._0xa06f13,_0x4b4dfc._0x4c110f,0x3c,-_0x4b4dfc._0x1151bc)](_0x534895=>!_0x534895[_0x21a4d8(0x212,0xcd,0x1b8,0x16e)]);if(_0x1c54e7[_0x73af26(_0x4b4dfc._0x468706,_0x4b4dfc._0x1e14e0,_0x4b4dfc._0x9f396a,0x4ea)]<=_0x425641){_0xfe8561(_0x102971);return;}const _0x4ef4cc=_0x1c54e7['slice'](0x0,_0x425641),_0x1105a1=new Set(_0x4ef4cc);function _0x73af26(_0x3cf01a,_0x9d3d3f,_0x4ce379,_0x556e52){return _0x196257(_0x3cf01a,_0x9d3d3f-_0x4f4ad8._0x129038,_0x4ce379-0xbf,_0x556e52-0x119);}const _0x21523d=_0x3f91df?Math[_0x21a4d8(_0x4b4dfc._0x2ed208,_0x4b4dfc._0x205f7b,0x125,_0x4b4dfc._0x38c024)](0x0,Math[_0x73af26(_0x4b4dfc._0xa0d29e,_0x4b4dfc._0x41e800,0x3d1,0x53d)](_0x2ae158[_0x21a4d8(-0xcb,-0x152,-0x148,-_0x4b4dfc._0x5bc90c)]??0x0)):0x0;_0xfe8561(_0x102971[_0x73af26(_0x4b4dfc._0x426e6c,_0x4b4dfc._0x1ef57e,0x4b3,0x48b)](_0x1d025e=>{function _0x95b363(_0x50502c,_0x42d4e4,_0x1d636e,_0x480665){return _0x73af26(_0x42d4e4,_0x42d4e4-0xc4,_0x1d636e-0x182,_0x1d636e-0x13b);}function _0x8d1e3b(_0x4a06ce,_0x2e754c,_0xcd3d,_0xa897f4){return _0x21a4d8(_0xcd3d,_0x2e754c-0x13e,_0x4a06ce-0x522,_0xa897f4-0x1f2);}if(!_0x1d025e[_0x8d1e3b(_0x389e7e._0x47ca49,0x862,0x679,_0x389e7e._0x4d2dcd)])return _0x1105a1[_0x95b363(_0x389e7e._0x2a9c70,0x6ca,_0x389e7e._0x6287d8,0x4e0)](_0x1d025e);return _0x4ef4cc[_0x8d1e3b(0x55f,_0x389e7e._0x2737fe,_0x389e7e._0x5c4ba2,0x3fc)](_0x511233=>_0x511233['filePath']===_0x1d025e['filePath']&&Math[_0x8d1e3b(0x3d0,0x592,0x499,0x255)](_0x511233[_0x95b363(0x3a5,0x2a6,0x45e,0x5e5)]-_0x1d025e['lineNum'])<=_0x21523d);}));}),_0x283575['on'](_0x196257(_0x16f084._0x4e04b7,_0x16f084._0x442dec,_0x16f084._0x5b56cd,0x367),_0x3f6e48);});}function createGlobTool(_0x2c810d={}){const _0x29f2d2={_0x310d43:0x5e3,_0xdbf5c3:0x33a,_0x1f82aa:0x479,_0x2dc7b3:0x1da,_0x219977:0x39b,_0x55afce:0xe7,_0x3c0178:0x60,_0x3c5f03:0x323,_0x50758e:0x354,_0x5cdc4a:0x5b0,_0x3d3902:0x3d6,_0x1b435e:0x427,_0x2acfb6:0x23c,_0x141c20:0x39b,_0x45533f:0x3de,_0xc1a70a:0x673,_0x144f71:0x384,_0x42e929:0x455,_0x5c8cd7:0x3f5},_0x36fd0c={_0x181adf:0x5b4,_0x1ce117:0x6ee,_0x5226b3:0x87,_0x4972e7:0x144,_0x4203e3:0x225,_0x4954d7:0x6c7,_0x9f576b:0x6e1,_0x4a2e68:0x3d1,_0x3c5e2d:0x19a,_0x8c9b13:0x1dc,_0xb69a51:0x110,_0x5070ba:0x95,_0x3c2587:0x10b,_0x50235f:0xea,_0x148fdd:0x1d5,_0x552e27:0x2a,_0xcbdce4:0xdc,_0x32dd7d:0xe0,_0x58795a:0xf1,_0x169e4e:0xd,_0x5a51e1:0xdf,_0x495fb2:0xe9,_0x168e6b:0xb6,_0x230637:0x70,_0x4a40a8:0x6ab,_0x20a7d5:0x756,_0x28f145:0x6a9,_0x2f1ec7:0x211,_0x26aa15:0x385,_0x49903d:0x113,_0x1cd838:0x247,_0x362ad0:0x15f,_0x2ce33b:0x83a,_0x5e1238:0x912,_0x2f72e5:0x61a,_0x1e87b9:0xd4,_0x487368:0x216,_0x4348f6:0xef,_0x593754:0x20a,_0x160a2d:0x1f6,_0x4c81ab:0x2f6,_0x5b4a1e:0x54d,_0x16349d:0x7cb,_0x50b195:0x6e6,_0x4d7e9d:0x7ef,_0x48e261:0x84,_0x10e15f:0x114,_0x5b17fb:0x435,_0x173a1a:0x168,_0x4c728b:0x180,_0xb7cd6b:0x5f7,_0x58e0be:0x794,_0xb53a78:0x713,_0x3aae09:0x60,_0x170ef2:0xdb,_0x188c5d:0x174},_0x575ec9={_0x113643:0x1da,_0x1446cb:0x88},_0x5b2ed3={_0x152379:0x4a,_0x6016a6:0x150,_0x103b4e:0x517},_0x2220b8=_0x51961f[_0x30ad92(_0x29f2d2._0x310d43,_0x29f2d2._0xdbf5c3,0x427,_0x29f2d2._0x1f82aa)](_0x2c810d[_0x44a181(_0x29f2d2._0x2dc7b3,_0x29f2d2._0x219977,_0x29f2d2._0x55afce,_0x29f2d2._0x3c0178)]??process[_0x44a181(0x204,_0x29f2d2._0x3c5f03,0x22b,_0x29f2d2._0x50758e)]()),_0x263a2c=_0x2c810d[_0x44a181(0x4c7,0x5b1,0x4ce,_0x29f2d2._0x5cdc4a)]??[],_0x510662=_0x2c810d['limit']??0x64;function _0x30ad92(_0x262ad9,_0x373a1a,_0x546bac,_0x1a4003){return _0x1c3a85(_0x262ad9-_0x5b2ed3._0x152379,_0x262ad9,_0x546bac-_0x5b2ed3._0x6016a6,_0x546bac-_0x5b2ed3._0x103b4e);}const _0x528045=_0x2c810d[_0x44a181(_0x29f2d2._0x3d3902,_0x29f2d2._0x1b435e,0x4cc,0x25e)]??'Glob';function _0x44a181(_0x21b821,_0x2f0947,_0x6fc521,_0x471bea){return _0x1c3a85(_0x21b821-_0x575ec9._0x113643,_0x2f0947,_0x6fc521-_0x575ec9._0x1446cb,_0x21b821-0x2c6);}return defineTool({'name':_0x528045,'permissionClass':_0x44a181(0x3c3,0x23b,_0x29f2d2._0x2acfb6,0x3e6),'description':_0x44a181(0x2a5,0x33b,0x1f1,_0x29f2d2._0x141c20),'inputSchema':{'type':_0x30ad92(0x579,_0x29f2d2._0x45533f,0x50a,_0x29f2d2._0xc1a70a),'properties':{'pattern':{'type':_0x44a181(0x2e5,0x2f0,0x240,_0x29f2d2._0x144f71)},'path':{'type':_0x44a181(0x2e5,0x3bc,0x210,_0x29f2d2._0x42e929)},'limit':{'type':'number'}},'required':[_0x30ad92(0x656,0x589,0x589,_0x29f2d2._0x5c8cd7)]},async *'execute'(_0x42c919){const _0x20c50d={_0x268a71:0x1e5},_0x56bbe8={_0x47b706:0x672,_0x289415:0xbe};if(_0x42c919[_0x26bf0c(0x4ed,_0x36fd0c._0x181adf,_0x36fd0c._0x1ce117,0x4b0)][_0x1314f7(-_0x36fd0c._0x5226b3,-_0x36fd0c._0x4972e7,-0x23e,-_0x36fd0c._0x4203e3)]()[_0x1314f7(-0x60,-0xd1,0x60,0xa4)]===0x0)throw new ToolExecutionError(_0x26bf0c(_0x36fd0c._0x4954d7,0x74a,_0x36fd0c._0x9f576b,0x78c),{});const _0x4ecd53=resolveAllowedPath(_0x2220b8,_0x263a2c,_0x42c919['path']??'.'),_0x1efdf4=await _0x3f45f1(_0x4ecd53)[_0x26bf0c(_0x36fd0c._0x4a2e68,0x48c,0x3ee,0x56c)](()=>null);if(!_0x1efdf4?.['isDirectory']())throw new ToolExecutionError('Directory\x20not\x20found:\x20'+(_0x42c919[_0x1314f7(-0x95,-_0x36fd0c._0x3c5e2d,-_0x36fd0c._0x8c9b13,_0x36fd0c._0xb69a51)]??'.'),{'path':_0x42c919[_0x1314f7(-_0x36fd0c._0x5070ba,-0x41,-_0x36fd0c._0x3c2587,-_0x36fd0c._0x50235f)]??'.'});const _0x2c60cc=_0x42c919[_0x1314f7(-0xef,0x3b,-0x1fa,-_0x36fd0c._0x148fdd)]??_0x510662,_0x43b609=Math[_0x1314f7(_0x36fd0c._0x552e27,-_0x36fd0c._0xcbdce4,-_0x36fd0c._0x32dd7d,_0x36fd0c._0x58795a)](0x1,Math[_0x1314f7(-_0x36fd0c._0x169e4e,-0xc1,0x1ad,_0x36fd0c._0x5a51e1)](_0x2c60cc)),_0x16aa8c=[];let _0x38d632=![];for await(const _0x263858 of files({'cwd':_0x4ecd53,'glob':[_0x42c919[_0x1314f7(-_0x36fd0c._0x495fb2,-0x278,0x5c,0x79)]]})){if(_0x16aa8c[_0x1314f7(-0x60,_0x36fd0c._0x168e6b,-0x7f,-_0x36fd0c._0x230637)]>=_0x43b609){_0x38d632=!![];break;}const _0xa72bb6=await _0x3f45f1(_0x51961f[_0x26bf0c(_0x36fd0c._0x4a40a8,0x676,_0x36fd0c._0x20a7d5,_0x36fd0c._0x28f145)](_0x4ecd53,_0x263858))[_0x1314f7(-_0x36fd0c._0x2f1ec7,-0x2e8,-0x1fb,-_0x36fd0c._0x26aa15)](()=>null);_0x16aa8c[_0x1314f7(_0x36fd0c._0x49903d,0x1c0,_0x36fd0c._0x1cd838,_0x36fd0c._0x362ad0)]({'path':_0x263858,'mtime':_0xa72bb6?.[_0x26bf0c(_0x36fd0c._0x2ce33b,0x7b5,_0x36fd0c._0x5e1238,_0x36fd0c._0x2f72e5)]??0x0});}_0x16aa8c[_0x1314f7(_0x36fd0c._0x1e87b9,-0x9b,_0x36fd0c._0x487368,_0x36fd0c._0x4348f6)]((_0x202b05,_0x1e8668)=>_0x1e8668[_0x1314f7(0x63,0x211,-0x89,-0xbe)]-_0x202b05['mtime']);const _0xbe715c=_0x16aa8c[_0x1314f7(-_0x36fd0c._0x593754,-_0x36fd0c._0x160a2d,-0x31d,-_0x36fd0c._0x4c81ab)](_0x2c91ce=>_0x2c91ce[_0x26bf0c(0x460,0x608,0x4da,0x521)]);function _0x1314f7(_0x3d954c,_0x5054c5,_0x2a2fe0,_0x220743){return _0x30ad92(_0x2a2fe0,_0x5054c5-0x1a1,_0x3d954c- -_0x56bbe8._0x47b706,_0x220743-_0x56bbe8._0x289415);}function _0x26bf0c(_0x3430de,_0x5407e9,_0xf9acae,_0xb98f5b){return _0x44a181(_0x5407e9-0x27c,_0x3430de,_0xf9acae-0xc0,_0xb98f5b-_0x20c50d._0x268a71);}const _0x5dae8f=_0xbe715c[_0x26bf0c(_0x36fd0c._0x5b4a1e,0x63d,_0x36fd0c._0x16349d,_0x36fd0c._0x50b195)]===0x0?_0x26bf0c(_0x36fd0c._0x4d7e9d,0x741,0x754,0x611)+_0x42c919[_0x1314f7(-0xe9,-0xce,0x8f,0x2c)]:''+_0xbe715c[_0x1314f7(-0x27,-_0x36fd0c._0x48e261,-0x19e,_0x36fd0c._0x10e15f)]('\x0a')+(_0x38d632?_0x26bf0c(0x418,0x4e6,_0x36fd0c._0x5b17fb,0x687):'');return yield createToolOutput(_0x5dae8f,{'pattern':_0x42c919[_0x1314f7(-_0x36fd0c._0x495fb2,-0x200,-_0x36fd0c._0x173a1a,-_0x36fd0c._0x4c728b)],'searchPath':_0x51961f[_0x26bf0c(_0x36fd0c._0xb7cd6b,_0x36fd0c._0x58e0be,_0x36fd0c._0xb53a78,0x6d3)](_0x2220b8,_0x4ecd53)||'.','matches':_0xbe715c,'count':_0xbe715c[_0x1314f7(-_0x36fd0c._0x3aae09,_0x36fd0c._0x170ef2,-0x1dc,-_0x36fd0c._0x188c5d)],'truncated':_0x38d632}),void 0x0;}});}var GREP_DEFAULT_LIMIT=0x64,GREP_MAX_PATTERN_LENGTH=0x400,GREP_MAX_SNIPPET_LENGTH=0x7d0;function validateGrepPattern(_0x106e1d){const _0x4883f9={_0x3a1de9:0x47b,_0x36373e:0x438,_0x191da1:0x149,_0x9cbde3:0x5c4,_0x3338a1:0x619,_0x1b91ca:0xb1,_0x10f693:0x16a},_0x47d8bc={_0x1cd6cd:0x79},_0x1b15d8={_0x5a127c:0x1c6,_0x32e5d6:0x380};function _0x3c20fe(_0x4b6472,_0x28bb43,_0x7ab2a3,_0x149fac){return _0x1c3a85(_0x4b6472-_0x1b15d8._0x5a127c,_0x28bb43,_0x7ab2a3-0x21,_0x4b6472-_0x1b15d8._0x32e5d6);}function _0x686cb0(_0x2cfbcf,_0x4a306f,_0x245b93,_0xfd6d13){return _0x1c3a85(_0x2cfbcf-_0x47d8bc._0x1cd6cd,_0x245b93,_0x245b93-0x1b2,_0x2cfbcf-0x4e);}if(_0x106e1d['trim']()[_0x3c20fe(_0x4883f9._0x3a1de9,0x33f,0x535,0x433)]===0x0)throw new Error(_0x3c20fe(0x588,0x4a3,0x567,_0x4883f9._0x36373e));if(_0x106e1d[_0x686cb0(_0x4883f9._0x191da1,0x38,0x31,0x24)]>GREP_MAX_PATTERN_LENGTH)throw new Error(_0x3c20fe(_0x4883f9._0x9cbde3,_0x4883f9._0x3338a1,0x61a,0x501)+GREP_MAX_PATTERN_LENGTH+_0x686cb0(0x49,_0x4883f9._0x1b91ca,-_0x4883f9._0x10f693,0x1c1));}function boundedGrepSnippet(_0x2e434f){const _0xf90416={_0x425a77:0x443,_0x29e54f:0x4b6,_0x291f99:0x426},_0x39f0ea={_0x41805b:0x39d},_0x8b70d8={_0x2ffe49:0x194};function _0x49fba7(_0x309a10,_0x448558,_0x42a57b,_0x211250){return _0x1c3a85(_0x309a10-0x18a,_0x448558,_0x42a57b-_0x8b70d8._0x2ffe49,_0x211250-0x472);}function _0x59ccea(_0x1ae12d,_0x899c6b,_0x313b65,_0x591d5a){return _0x1c3a85(_0x1ae12d-0xf1,_0x591d5a,_0x313b65-0x198,_0x899c6b-_0x39f0ea._0x41805b);}return _0x2e434f[_0x49fba7(0x504,_0xf90416._0x425a77,0x582,0x56d)]>GREP_MAX_SNIPPET_LENGTH?_0x2e434f[_0x59ccea(0x539,_0xf90416._0x425a77,0x4e3,0x289)](0x0,GREP_MAX_SNIPPET_LENGTH)+_0x59ccea(_0xf90416._0x29e54f,0x435,0x376,_0xf90416._0x291f99):_0x2e434f;}async function searchRegex(_0x56a6b1){const _0x41e4c6={_0x5bf2ed:0x116,_0x369164:0xc8,_0x1883dd:0x88,_0x1d384a:0x208,_0x49b097:0xa6,_0x370854:0x3a5,_0x36f98b:0x164,_0x4bf452:0x20d,_0x29b251:0x87,_0x3d7d62:0x11,_0x3ecb0c:0xf9,_0x1437fa:0xbe,_0x52c689:0x151,_0x74f9b6:0x1da,_0x3cc056:0x12f,_0x5cd795:0x97,_0x1f1e7f:0xe1,_0x2b4e53:0xb7,_0x5b1aef:0x2be,_0x10f60a:0x42c,_0x5a5165:0x28c,_0xa72767:0x201,_0x475043:0x130,_0x392bff:0x24c,_0x4c7dfa:0x2a0,_0x56cac4:0x7,_0x41d290:0x22f,_0x2f4c87:0x24f,_0x71aac0:0x300,_0x30e064:0x88,_0x8cd4ad:0x23d,_0x5e3b52:0xb9,_0x2a9c0f:0x7f,_0x553d50:0x68,_0x352a37:0x19e,_0x6cd691:0x4,_0x1b9c74:0x8c,_0x21f327:0xfe},_0x5c2485={_0x5536f1:0x10c,_0x5600c5:0x3a,_0x1d7d16:0xa9},_0x4f23e8={_0x3808d5:0xca,_0xda1c8:0x150},_0x100cc1={_0x50cc74:0x12d};validateGrepPattern(_0x56a6b1['pattern']);function _0x3a200d(_0x6933c6,_0x46c144,_0x6444b3,_0x28d77f){return _0x1c3a85(_0x6933c6-_0x100cc1._0x50cc74,_0x28d77f,_0x6444b3-0xc4,_0x6933c6- -0x1d6);}const _0x5260da=_0x56a6b1[_0xcb4eda(_0x41e4c6._0x5bf2ed,0x96,_0x41e4c6._0x369164,0x1e2)]??GREP_DEFAULT_LIMIT,_0x44c830=Number['isFinite'](_0x5260da)?Math['max'](0x1,Math[_0x3a200d(-_0x41e4c6._0x1883dd,-_0x41e4c6._0x1d384a,0x10c,_0x41e4c6._0x49b097)](_0x5260da)):GREP_DEFAULT_LIMIT;if(_0x56a6b1['files']?.['length']===0x0)return{'matches':[],'matchCount':0x0,'fileCount':0x0,'truncated':![]};const _0x24f78a=await search({'cwd':_0x56a6b1[_0x3a200d(-0x298,-_0x41e4c6._0x370854,-0x12f,-0x366)],'pattern':_0x56a6b1[_0x3a200d(-_0x41e4c6._0x36f98b,-_0x41e4c6._0x4bf452,-_0x41e4c6._0x29b251,-_0x41e4c6._0x3d7d62)],..._0x56a6b1[_0xcb4eda(-0x32,-0x7e,-_0x41e4c6._0x3ecb0c,_0x41e4c6._0x1437fa)]===void 0x0?{}:{'files':_0x56a6b1['files']},..._0x56a6b1[_0xcb4eda(_0x41e4c6._0x52c689,0x29a,_0x41e4c6._0x74f9b6,0x188)]===void 0x0?{}:{'glob':_0x56a6b1[_0x3a200d(-_0x41e4c6._0x3cc056,-0x138,-0xb6,-_0x41e4c6._0x5cd795)]},..._0x56a6b1[_0xcb4eda(-0x3e,_0x41e4c6._0x1f1e7f,0x4c,-_0x41e4c6._0x2b4e53)]===void 0x0?{}:{'context':_0x56a6b1[_0x3a200d(-_0x41e4c6._0x5b1aef,-0x205,-_0x41e4c6._0x10f60a,-0x430)]},'limit':_0x44c830+0x1}),_0x1c8e5d=_0x24f78a['filter'](_0x42becb=>!_0x42becb['isContext']),_0x20c880=_0x1c8e5d[_0x3a200d(-0xdb,-_0x41e4c6._0x5a5165,-0x61,-_0x41e4c6._0xa72767)]>_0x44c830,_0x308ad1=_0x1c8e5d[_0x3a200d(-_0x41e4c6._0x475043,-_0x41e4c6._0x392bff,-_0x41e4c6._0x4c7dfa,_0x41e4c6._0x56cac4)](0x0,_0x44c830);function _0xcb4eda(_0x37f699,_0x4381b9,_0x5b0143,_0x40f5e7){return _0x515b8f(_0x37f699-_0x4f23e8._0x3808d5,_0x4381b9-_0x4f23e8._0xda1c8,_0x40f5e7,_0x37f699- -0x3df);}const _0x375e5d=new Set(_0x308ad1),_0x3cb464=Math[_0xcb4eda(_0x41e4c6._0x41d290,_0x41e4c6._0x2f4c87,0x3de,_0x41e4c6._0x71aac0)](0x0,Math[_0x3a200d(-_0x41e4c6._0x30e064,-0x1a,-0x2e,-_0x41e4c6._0x8cd4ad)](_0x56a6b1[_0xcb4eda(-0x3e,0x163,_0x41e4c6._0x5e3b52,-0x1ee)]??0x0)),_0x585bdf=_0x20c880?_0x24f78a[_0x3a200d(-0x13a,-0x111,-0x2d1,_0x41e4c6._0x2a9c0f)](_0x16bdc3=>{function _0x1143d3(_0x480ac9,_0x4023fa,_0x5fc56b,_0x4d6c20){return _0xcb4eda(_0x4d6c20- -0x24b,_0x4023fa-0x182,_0x5fc56b-0x8b,_0x5fc56b);}function _0x5c05ef(_0x45ef44,_0x1eaef2,_0x45a64d,_0x5e2ebf){return _0xcb4eda(_0x45a64d-_0x5c2485._0x5536f1,_0x1eaef2-_0x5c2485._0x5600c5,_0x45a64d-_0x5c2485._0x1d7d16,_0x45ef44);}if(!_0x16bdc3['isContext'])return _0x375e5d['has'](_0x16bdc3);return _0x308ad1['some'](_0x2aa7da=>_0x2aa7da[_0x1143d3(-0x1ed,0x150,-0x49,-0x63)]===_0x16bdc3['filePath']&&Math['abs'](_0x2aa7da[_0x5c05ef(0xde,-0x73,0xea,0x1f7)]-_0x16bdc3[_0x1143d3(-0x2dd,-0x408,-0x396,-0x26d)])<=_0x3cb464);}):_0x24f78a;return{'matches':_0x585bdf,'matchCount':_0x308ad1['length'],'fileCount':new Set(_0x585bdf[_0xcb4eda(-0x5,-_0x41e4c6._0x553d50,-_0x41e4c6._0x352a37,_0x41e4c6._0x6cd691)](_0x493c93=>_0x493c93[_0x3a200d(-0x98,0x22,-0x11e,-0x17a)]))[_0x3a200d(_0x41e4c6._0x1b9c74,-_0x41e4c6._0x21f327,0x24a,-0xc1)],'truncated':_0x20c880};}import{stat as _0x35d47e}from'fs/promises';import*as _0x3d5d08 from'path';function createGrepTool(_0x4a1a90={}){const _0x31445b={_0x2d1f95:0x33,_0xa84f40:0x30,_0xae84c3:0x35,_0x5b2229:0x1e6,_0x21831d:0x2ba,_0x293cc2:0x2d7,_0x5c1594:0x149,_0x1fb351:0xdb,_0x295ff7:0x230,_0x13eb9e:0x306,_0x14b23f:0x368,_0x476b4a:0x327,_0xd4f3f6:0x2c8,_0x5a93a9:0x5c,_0x33eaa0:0x144,_0xbbf7dc:0x8c,_0x3235f9:0x29,_0x369175:0x152,_0x135bb8:0x13f,_0xa77a45:0x17b,_0x19b7bf:0x272,_0x126221:0x47a,_0x4bd725:0x30a,_0x80c03c:0x2fe,_0x2c541f:0x2ce},_0x18fc47={_0x34793d:0x577,_0x592976:0x3d8,_0x1cd4c8:0x3f3,_0x587cbe:0x394,_0x37def7:0x4f2,_0x785411:0x2fe,_0xb10eca:0x60e,_0x260a03:0x46a,_0x574c2e:0x40b,_0x13a8c8:0x5e5,_0xfc93ad:0x2b9,_0x48f71a:0x539,_0x3b10df:0x311,_0x343292:0x310,_0x2ba60d:0x458,_0xea8357:0x48d,_0x1bc4f0:0x358,_0x1eccfc:0x420,_0x2a0443:0x1b0,_0x1acf23:0x15c,_0x40cfd0:0x3e7,_0x77d087:0x582,_0x1336df:0x594,_0x372d05:0x501,_0x37a00c:0x39c,_0x3136fa:0x313,_0x163272:0x1b5,_0x5e232c:0x217,_0x198571:0x390,_0x291dd1:0x542,_0x1f820d:0x502,_0x3d5151:0x4cd,_0x1d5b7d:0x75c,_0x471c4e:0x3e9,_0x2e716e:0x546,_0x21160d:0x433,_0x8a0d62:0x344,_0xbf7c3b:0x6af,_0x541f8c:0x4cc,_0x3d6096:0x610,_0x1f7c0f:0x632,_0x51ef57:0x483,_0x43040a:0x543,_0x59c6d2:0x420,_0x1e57c0:0x296,_0x523e6d:0x2f6,_0x5d94e9:0x5e3,_0x3c6a49:0x4dc,_0x1bc7a9:0x53e,_0x3a23ec:0x6b7,_0x2a4eac:0x52d,_0xf505f5:0x659,_0x56a31b:0x313,_0x3ebf1d:0x4a5,_0x4ac7da:0x532,_0x5033d8:0x62c,_0x150767:0x606,_0x1d4691:0x619,_0x344c19:0x480,_0x82e0a7:0x40d,_0x36b3e7:0x572,_0x4f1452:0x522,_0x4166b8:0x37a,_0x10d8fa:0x34d,_0x271425:0x380,_0x33ce09:0x439,_0xa29008:0x582,_0x352f4c:0x55a,_0x327291:0x3d4,_0x5f2135:0x70d,_0x2c56f9:0x452,_0x440552:0x50d,_0x1ee83d:0x48f,_0x2159ce:0x587,_0x3e920f:0x498},_0x34e066={_0x4911c4:0x173},_0x2624eb={_0x313f4f:0x1c1,_0x8b373e:0x369};function _0x22caf1(_0x2e2fbb,_0x40d5ca,_0x587e49,_0x8509ae){return _0x515b8f(_0x2e2fbb-0x1e1,_0x40d5ca-0x16f,_0x2e2fbb,_0x587e49- -0x657);}function _0x3a2654(_0x309241,_0x395160,_0x4bcc3c,_0x754bd7){return _0x515b8f(_0x309241-0xb0,_0x395160-_0x2624eb._0x313f4f,_0x4bcc3c,_0x395160- -_0x2624eb._0x8b373e);}const _0x531d67=_0x3d5d08[_0x3a2654(-_0x31445b._0x2d1f95,_0x31445b._0xa84f40,-_0x31445b._0xae84c3,0x50)](_0x4a1a90[_0x22caf1(-_0x31445b._0x5b2229,-0x300,-_0x31445b._0x21831d,-0x248)]??process[_0x22caf1(-0x251,-_0x31445b._0x293cc2,-0x290,-0x401)]()),_0xc71634=_0x4a1a90['allowedDirs']??[],_0xc50434=_0x4a1a90[_0x3a2654(0xdf,0x18c,0x2c,_0x31445b._0x5c1594)]??GREP_DEFAULT_LIMIT,_0x32281e=_0x4a1a90[_0x3a2654(_0x31445b._0x1fb351,_0x31445b._0x295ff7,_0x31445b._0x13eb9e,_0x31445b._0x14b23f)]??_0x3a2654(0x3f0,_0x31445b._0x476b4a,_0x31445b._0xd4f3f6,0x25b);return defineTool({'name':_0x32281e,'permissionClass':_0x3a2654(_0x31445b._0x5a93a9,0x21d,0x195,0x28b),'description':'Search\x20for\x20a\x20regex\x20pattern\x20in\x20workspace\x20or\x20allowed\x20directory\x20file\x20contents.','inputSchema':{'type':_0x3a2654(0x132,0x113,0x1cf,_0x31445b._0x33eaa0),'properties':{'pattern':{'type':_0x22caf1(-0x12b,-0x271,-0x1af,-_0x31445b._0xbbf7dc)},'path':{'type':_0x3a2654(_0x31445b._0x3235f9,0x13f,0x51,0x288)},'include':{'type':_0x3a2654(_0x31445b._0x369175,_0x31445b._0x135bb8,_0x31445b._0xa77a45,_0x31445b._0x19b7bf)},'limit':{'type':'number'},'context':{'type':_0x3a2654(_0x31445b._0x126221,_0x31445b._0x4bd725,0x35e,0x238)}},'required':[_0x3a2654(_0x31445b._0x80c03c,0x192,_0x31445b._0x2c541f,0x0)]},async *'execute'(_0x2f17d7){try{validateGrepPattern(_0x2f17d7[_0x526776(_0x18fc47._0x34793d,0x53a,0x426,0x4b3)]);}catch(_0x4c7f51){throw new ToolExecutionError(_0x4c7f51[_0x28be06(0x3be,_0x18fc47._0x592976,_0x18fc47._0x1cd4c8,0x578)],{});}const _0x9a5437=resolveAllowedPath(_0x531d67,_0xc71634,_0x2f17d7[_0x28be06(_0x18fc47._0x587cbe,_0x18fc47._0x37def7,0x48a,0x591)]??'.'),_0x3dff54=await _0x35d47e(_0x9a5437)[_0x526776(0x334,0x2bd,_0x18fc47._0x785411,0x35f)](()=>null),_0xd865d7=_0x3dff54?.[_0x28be06(_0x18fc47._0xb10eca,0x43c,0x450,_0x18fc47._0x260a03)]()??![],_0x56cf80=_0x3dff54?.[_0x28be06(0x2d6,0x3b4,0x375,0x30c)]()??![];if(!_0xd865d7&&!_0x56cf80)throw new ToolExecutionError(_0x526776(0x3f7,_0x18fc47._0x574c2e,0x46b,_0x18fc47._0x13a8c8)+(_0x2f17d7[_0x526776(_0x18fc47._0xfc93ad,0x635,0x47a,0x60b)]??'.'),{'path':_0x2f17d7[_0x526776(_0x18fc47._0x48f71a,0x52c,0x47a,0x531)]??'.'});const _0x1ebec3=await searchRegex({'cwd':_0x56cf80?_0x9a5437:_0x3d5d08[_0x526776(0x3cb,0x1ea,_0x18fc47._0x3b10df,_0x18fc47._0x343292)](_0x9a5437),'pattern':_0x2f17d7[_0x28be06(_0x18fc47._0x1cd4c8,0x3cd,0x436,0x36c)],'glob':_0x56cf80?_0x2f17d7[_0x28be06(0x5a8,_0x18fc47._0x2ba60d,0x49f,_0x18fc47._0xea8357)]:void 0x0,'limit':_0x2f17d7[_0x526776(_0x18fc47._0x1bc4f0,0x50a,_0x18fc47._0x1eccfc,0x457)]??_0xc50434,'files':_0xd865d7?[_0x9a5437]:void 0x0,'context':_0x2f17d7[_0x526776(_0x18fc47._0x2a0443,_0x18fc47._0x1acf23,0x2cc,_0x18fc47._0x40cfd0)]});function _0x526776(_0x28b02a,_0x58e2d8,_0x180545,_0x52211d){return _0x3a2654(_0x28b02a-0xaa,_0x180545-0x294,_0x28b02a,_0x52211d-0x1e1);}const {matches:_0x45927f}=_0x1ebec3,_0x22c770=new Map();for(const _0x494411 of _0x45927f){if(!_0x22c770['has'](_0x494411[_0x28be06(0x572,_0x18fc47._0x77d087,0x502,_0x18fc47._0x1336df)])){const _0x20c2b4=await _0x35d47e(_0x494411[_0x28be06(0x433,_0x18fc47._0x372d05,0x502,_0x18fc47._0x37a00c)])[_0x28be06(_0x18fc47._0x3136fa,_0x18fc47._0x163272,0x30e,_0x18fc47._0x5e232c)](()=>null);_0x22c770['set'](_0x494411[_0x28be06(_0x18fc47._0x198571,_0x18fc47._0x291dd1,_0x18fc47._0x1f820d,0x65d)],{'matches':[],'mtime':_0x20c2b4?.[_0x526776(_0x18fc47._0x3d5151,0x4fb,0x627,_0x18fc47._0x1d5b7d)]??0x0});}_0x22c770[_0x28be06(_0x18fc47._0x471c4e,_0x18fc47._0x2e716e,_0x18fc47._0x21160d,0x4d7)](_0x494411[_0x28be06(_0x18fc47._0x8a0d62,0x37c,0x502,_0x18fc47._0xbf7c3b)])?.['matches'][_0x28be06(_0x18fc47._0x541f8c,_0x18fc47._0x3d6096,_0x18fc47._0x1f7c0f,_0x18fc47._0x51ef57)](_0x494411);}const _0x179847=[..._0x22c770['entries']()][_0x526776(0x511,0x770,0x5e3,_0x18fc47._0x43040a)]((_0x57f3f5,_0x27f5d3)=>_0x27f5d3[0x1]['mtime']-_0x57f3f5[0x1][_0x28be06(0x5a9,0x3c1,0x582,0x68b)]),_0x522ca9=_0xd865d7?_0x3d5d08[_0x28be06(0x1a2,0x4c7,0x321,_0x18fc47._0x59c6d2)](_0x9a5437):_0x9a5437;let _0x5e36b9='';function _0x28be06(_0x3c2266,_0x45759d,_0x16bbb6,_0x3414cf){return _0x3a2654(_0x3c2266-_0x34e066._0x4911c4,_0x16bbb6-0x2a4,_0x3414cf,_0x3414cf-0x66);}if(_0x45927f['length']===0x0)_0x5e36b9=_0x28be06(0x3d0,_0x18fc47._0x1e57c0,_0x18fc47._0x523e6d,0x1c3)+_0x2f17d7[_0x28be06(0x5b0,_0x18fc47._0x5d94e9,0x436,_0x18fc47._0x3c6a49)];else{_0x5e36b9='Found\x20'+_0x1ebec3['matchCount']+_0x28be06(_0x18fc47._0x1bc7a9,_0x18fc47._0x3a23ec,_0x18fc47._0x2a4eac,0x39b)+(_0x1ebec3['matchCount']===0x1?'':'es')+'\x0a';for(const [_0x5b775e,_0x581613]of _0x179847){const _0xa7e351=_0xd865d7?_0x3d5d08[_0x28be06(_0x18fc47._0xf505f5,_0x18fc47._0x56a31b,_0x18fc47._0x3ebf1d,0x659)](_0x5b775e):_0x3d5d08[_0x526776(_0x18fc47._0x4ac7da,_0x18fc47._0x5033d8,_0x18fc47._0x150767,_0x18fc47._0x1d4691)](_0x522ca9,_0x5b775e);_0x5e36b9+='\x0a'+_0xa7e351+':\x0a';for(const _0x397950 of _0x581613[_0x526776(_0x18fc47._0x344c19,0x401,0x40f,0x2c6)]){const _0x4a2f14=boundedGrepSnippet(_0x397950[_0x28be06(_0x18fc47._0x82e0a7,0x3bf,_0x18fc47._0x36b3e7,_0x18fc47._0x4f1452)]),_0x189997=_0x397950['isContext']?'\x20\x20':'>\x20';_0x5e36b9+=_0x189997+_0x526776(_0x18fc47._0x4166b8,0x3f5,_0x18fc47._0x10d8fa,_0x18fc47._0x271425)+_0x397950['lineNum']+':\x20'+_0x4a2f14+'\x0a';}}_0x1ebec3[_0x526776(0x455,_0x18fc47._0x33ce09,_0x18fc47._0xa29008,_0x18fc47._0x352f4c)]&&(_0x5e36b9+='\x0a(Results\x20are\x20truncated.\x20Consider\x20using\x20a\x20more\x20specific\x20path\x20or\x20pattern.)');}const _0x3f5c1d={'searchPath':_0x3d5d08[_0x28be06(0x46b,0x5d5,0x616,0x5bc)](_0x531d67,_0x9a5437)||'.','pattern':_0x2f17d7['pattern'],'matchCount':_0x1ebec3[_0x526776(0x223,0x2a4,_0x18fc47._0x327291,_0x18fc47._0x82e0a7)],'fileCount':_0x1ebec3['fileCount'],'truncated':_0x1ebec3[_0x526776(_0x18fc47._0x5f2135,_0x18fc47._0x2c56f9,_0x18fc47._0x77d087,0x602)]};return _0x56cf80&&_0x2f17d7[_0x526776(0x4a5,_0x18fc47._0x440552,_0x18fc47._0x1ee83d,0x363)]!==void 0x0&&(_0x3f5c1d['include']=_0x2f17d7[_0x526776(0x3cb,_0x18fc47._0x2c56f9,0x48f,_0x18fc47._0x2159ce)]),yield createToolOutput(_0x5e36b9[_0x28be06(0x34c,0x53e,_0x18fc47._0x3e920f,0x397)](),_0x3f5c1d),void 0x0;}});}function createKillShellTool(_0x45b20a){const _0x245ca5={_0x3a030b:0x21b,_0xd624eb:0x7c,_0x201fb2:0xca,_0x190c25:0x3d8,_0x129065:0x3c0,_0x28b983:0x212,_0x340444:0x33,_0x469ea6:0xe5,_0x2e779c:0x56,_0x46032f:0x44,_0x599d0c:0x97},_0x2c62f0={_0x236566:0x2bb,_0x50af22:0x136,_0xb9b4c5:0x108,_0xbd3163:0x11d,_0x4710d5:0x11,_0x3b7b4d:0x87,_0x41188d:0x105,_0x361f52:0x126,_0x1ff29e:0x2ce,_0x4d0df6:0x29a,_0x3f1283:0x199,_0x1a425e:0x13d,_0x2a07be:0x168,_0x383936:0x10e,_0x51d0f5:0xce,_0x37d300:0x22c,_0x13ad21:0x160,_0x5b8621:0x193,_0x9daff6:0x2ad,_0x28da71:0x128,_0x135422:0x15f,_0x4152fe:0x15,_0x15e046:0x7,_0x4e32fa:0x31e,_0x11dccf:0x241,_0x23ef1c:0x56a,_0x4b78bc:0x4ae,_0xfa3f78:0xa9,_0x151d3e:0x199,_0x58bfe6:0x49,_0x469196:0x114,_0x4f69f1:0x64,_0x276853:0x151,_0x37a446:0x56a,_0x202b17:0x4e8},_0x3d1d1a={_0x5d46fb:0x48},_0x2e0718={_0x13b367:0x18e},_0x169bd6={_0x370e43:0x8f,_0xa9100e:0xc0},_0x51f001={_0x5e1853:0x156},{registry:_0x5887d1}=_0x45b20a;function _0x3387d4(_0x2232bd,_0x30f550,_0x18630c,_0x316e15){return _0x1c3a85(_0x2232bd-_0x51f001._0x5e1853,_0x2232bd,_0x18630c-0x57,_0x18630c- -0x18e);}function _0x110661(_0x542906,_0x5b33d9,_0x37a25d,_0x2aa65a){return _0x1c3a85(_0x542906-_0x169bd6._0x370e43,_0x5b33d9,_0x37a25d-0x81,_0x2aa65a- -_0x169bd6._0xa9100e);}return defineTool({'name':_0x110661(0x25e,_0x245ca5._0x3a030b,-_0x245ca5._0xd624eb,_0x245ca5._0x201fb2),'permissionClass':'always-confirm','description':_0x3387d4(-_0x245ca5._0x190c25,-_0x245ca5._0x129065,-0x283,-0x15b),'inputSchema':{'type':'object','properties':{'shellId':{'type':_0x110661(-_0x245ca5._0x28b983,-_0x245ca5._0x340444,_0x245ca5._0x469ea6,-0xa1)}},'required':[_0x3387d4(-_0x245ca5._0x2e779c,-_0x245ca5._0x46032f,_0x245ca5._0x599d0c,0x16d)]},async *'execute'(_0x60d46e){function _0x5641f0(_0x420c7c,_0x2a42b2,_0x1e8c2d,_0x4bade6){return _0x110661(_0x420c7c-_0x2e0718._0x13b367,_0x2a42b2,_0x1e8c2d-0x1b4,_0x1e8c2d-0x405);}const _0x1484af=await _0x5887d1[_0x2b9364(-_0x2c62f0._0x236566,-_0x2c62f0._0x50af22,-0x128,-_0x2c62f0._0xb9b4c5)](_0x60d46e['shellId']),_0x2b9d0e={'shellId':_0x1484af[_0x2b9364(0x61,0xbc,_0x2c62f0._0xbd3163,0x2b5)],'outcome':_0x1484af['outcome'],'status':_0x1484af['status'],'exitCode':_0x1484af[_0x2b9364(0x120,-0x7c,0x76,_0x2c62f0._0x4710d5)],'signal':_0x1484af['signal'],'error':_0x1484af[_0x2b9364(-_0x2c62f0._0x3b7b4d,-_0x2c62f0._0x41188d,-0x77,-_0x2c62f0._0x361f52)],'gracefulRequested':_0x1484af['gracefulRequested'],'forceRequested':_0x1484af[_0x2b9364(-_0x2c62f0._0x1ff29e,-_0x2c62f0._0x4d0df6,-_0x2c62f0._0x3f1283,-0x2d5)]};if(_0x1484af[_0x2b9364(-0x1a6,-_0x2c62f0._0x1a425e,-_0x2c62f0._0x2a07be,-0x260)]===_0x2b9364(-_0x2c62f0._0x383936,-0x110,-_0x2c62f0._0x51d0f5,-_0x2c62f0._0x37d300))throw new ToolExecutionError(_0x2b9364(-_0x2c62f0._0x13ad21,-_0x2c62f0._0x5b8621,-0x120,-_0x2c62f0._0x9daff6)+_0x60d46e['shellId']+':\x20'+(_0x1484af[_0x2b9364(0x7,_0x2c62f0._0x28da71,-0x77,-_0x2c62f0._0x135422)]??_0x2b9364(-_0x2c62f0._0x4152fe,-0x14f,-0x19d,_0x2c62f0._0x15e046)),_0x2b9d0e);const _0x101585=_0x1484af[_0x2b9364(-_0x2c62f0._0x4e32fa,-0x25d,-_0x2c62f0._0x2a07be,-0x25d)]==='already-terminal'?_0x2b9364(-_0x2c62f0._0x11dccf,0x2f,-0x126,-0x3e)+_0x60d46e[_0x5641f0(0x4d4,0x6ad,_0x2c62f0._0x23ef1c,_0x2c62f0._0x4b78bc)]+_0x2b9364(0x26,-_0x2c62f0._0xfa3f78,0xe3,_0x2c62f0._0x151d3e)+_0x1484af[_0x2b9364(-_0x2c62f0._0x58bfe6,-0x241,-_0x2c62f0._0x469196,-_0x2c62f0._0x4f69f1)]+'.':_0x2b9364(-0x38,-0x1e1,-_0x2c62f0._0x276853,-0x1d2)+_0x60d46e[_0x5641f0(0x6f4,0x531,_0x2c62f0._0x37a446,_0x2c62f0._0x202b17)]+'.';function _0x2b9364(_0x2f7b80,_0x27ba13,_0x288b03,_0x46e7a4){return _0x110661(_0x2f7b80-0x70,_0x2f7b80,_0x288b03-0x1e6,_0x288b03- -_0x3d1d1a._0x5d46fb);}return createToolOutput(_0x101585,_0x2b9d0e);}});}import{readdir as _0xbbedb,readFile as _0x564c6f,stat as _0x3845fc}from'fs/promises';import*as _0x20620a from'path';import*as _0x2cea0e from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0xf1e704,_0x394cd1){const _0x16d474={_0x3d4b0d:0x478,_0x5374c8:0x271,_0x35de15:0x408,_0x5ba163:0x5fc,_0x27035f:0x6c1,_0x1b58de:0x5ab,_0x474dc1:0x476,_0x7a8340:0x4ad,_0x5fa014:0x5a3,_0x5ce892:0x458},_0x5e04f4={_0x8f30f7:0x3f4},_0x2e7d9e={_0xe18f4a:0x190,_0xb9300f:0x35};if(_0x394cd1>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;function _0x4c6050(_0x3b32,_0x3312ec,_0x365dd0,_0x1f654f){return _0x515b8f(_0x3b32-0x7e,_0x3312ec-_0x2e7d9e._0xe18f4a,_0x365dd0,_0x1f654f-_0x2e7d9e._0xb9300f);}function _0x545fcf(_0x34c869,_0x2f940a,_0x1955cd,_0x51c63b){return _0x1c3a85(_0x34c869-0xe1,_0x51c63b,_0x1955cd-0x96,_0x1955cd-_0x5e04f4._0x8f30f7);}const _0x55724e=await _0x564c6f(_0xf1e704)[_0x4c6050(_0x16d474._0x3d4b0d,0x2da,_0x16d474._0x5374c8,_0x16d474._0x35de15)](()=>null);if(!_0x55724e||isProbablyBinary(_0x55724e))return void 0x0;return _0x55724e[_0x4c6050(0x5db,0x5b4,_0x16d474._0x5ba163,_0x16d474._0x27035f)](_0x545fcf(0x4e9,_0x16d474._0x1b58de,_0x16d474._0x474dc1,_0x16d474._0x7a8340))[_0x545fcf(0x6a3,0x745,_0x16d474._0x5fa014,0x51a)](/\r?\n/)[_0x545fcf(0x4a8,_0x16d474._0x5ce892,0x4ef,0x622)];}function createLsTool(_0x3e1bc9={}){const _0x28489b={_0x519158:0x205,_0x1e912a:0xf2,_0x47a87a:0x29b,_0x319e06:0x162,_0x4c445d:0xb3,_0x5308bb:0x338,_0xf8adb:0x1ff,_0x1a58d3:0x2be,_0x33d551:0xa,_0x2afa93:0x6a,_0x5cc571:0x10e,_0x59dff5:0x1ed,_0x22834b:0x1df,_0x4dab71:0x16,_0x43fba0:0x19b,_0x188f0a:0x116,_0x58f788:0x62,_0x181115:0xe3,_0x2102b4:0x174,_0x480e71:0x51c,_0x205646:0x2bc},_0x4d175c={_0x70257d:0x374,_0x5abc2b:0xa1,_0x58e77f:0x1ab,_0xc60a3a:0x2ac,_0x4a9c14:0x318,_0x24a6df:0x125,_0x39da12:0x21f,_0x4edcbe:0x30a,_0x5a059e:0x6c,_0x1a9057:0x24d,_0x40459b:0x20c,_0x1ed99e:0x1bb,_0x2d8e70:0x1ff,_0xb53656:0xe1,_0x206b27:0x2b4,_0x436569:0x12a,_0x3a8c09:0xf0,_0x5f3a8f:0x1bc,_0x2150bd:0x173,_0x506ecb:0x10d,_0x38b261:0x1a2,_0x4ede99:0xc9,_0x39eeee:0xf3,_0x34743e:0xa5,_0x37b7ae:0x60,_0x1f888e:0x2c,_0x2c33fe:0x89,_0x3c53be:0x1f9,_0x5cf3f8:0x39d,_0x54133f:0x381,_0x8748f7:0x49a,_0x58d0d1:0x472,_0x2b587d:0x190,_0x2ccf6e:0x4e,_0x528faa:0x8c,_0x23f302:0x18,_0x3e40ed:0x159,_0x410694:0x20a,_0x28d8c7:0x261,_0x61ee07:0x1bc,_0x5eb7ff:0x2c4,_0x881f3d:0x2a4,_0x1a4715:0x2a3,_0x125f34:0xdd},_0xf5ccd6={_0x5e4868:0x1a4,_0x2e5008:0x2d1},_0x10c563=_0x20620a[_0xe9773a(0x5d,-_0x28489b._0x519158,-_0x28489b._0x1e912a,-_0x28489b._0x47a87a)](_0x3e1bc9['defaultCwd']??process[_0xef0ec(_0x28489b._0x319e06,_0x28489b._0x4c445d,0x154,0xf6)]());function _0xef0ec(_0x326086,_0xdf8073,_0x26c9a9,_0x395654){return _0x515b8f(_0x326086-_0xf5ccd6._0x5e4868,_0xdf8073-0x5d,_0x326086,_0x395654- -_0xf5ccd6._0x2e5008);}function _0xe9773a(_0x395194,_0x50eb79,_0x3c6233,_0x1b485b){return _0x515b8f(_0x395194-0xc9,_0x50eb79-0x1e6,_0x1b485b,_0x3c6233- -0x48b);}const _0x2a847d=_0x3e1bc9[_0xe9773a(_0x28489b._0x5308bb,0x33b,_0x28489b._0xf8adb,_0x28489b._0x1a58d3)]??[],_0x79065f=_0x3e1bc9[_0xe9773a(-_0x28489b._0x33d551,_0x28489b._0x2afa93,_0x28489b._0x5cc571,_0x28489b._0x59dff5)]??'Ls';return defineTool({'name':_0x79065f,'permissionClass':_0xef0ec(_0x28489b._0x22834b,0x475,0x256,0x2b5),'description':_0xef0ec(0x16e,-0x4,-_0x28489b._0x4dab71,_0x28489b._0x43fba0),'inputSchema':{'type':_0xef0ec(_0x28489b._0x188f0a,0x14f,_0x28489b._0x58f788,0x1ab),'properties':{'path':{'type':_0xe9773a(_0x28489b._0x181115,-_0x28489b._0x2102b4,0x1d,-0x75)},'limit':{'type':_0xef0ec(_0x28489b._0x480e71,0x475,_0x28489b._0x205646,0x3a2)}}},async *'execute'(_0x141d6b){const _0x10a310={_0x83ce58:0x7f,_0x20a7bf:0x61},_0x1528b6={_0x5a0b71:0x121,_0x43b2bd:0x3ff},_0x58a34a=_0x141d6b[_0x4b78d4(0x21d,0x134,0x185,_0x4d175c._0x70257d)]??'.',_0x1ab0be=resolveAllowedPath(_0x10c563,_0x2a847d,_0x58a34a),_0x1df90a=await _0x3845fc(_0x1ab0be)[_0x4b78d4(_0x4d175c._0x5abc2b,0xba,_0x4d175c._0x58e77f,0x25b)](()=>null);if(!_0x1df90a?.['isDirectory']())throw new ToolExecutionError(_0x4b78d4(_0x4d175c._0xc60a3a,_0x4d175c._0x4a9c14,_0x4d175c._0x24a6df,0x3e8)+_0x58a34a,{'path':_0x58a34a});const _0x2c6eb9=_0x141d6b[_0x4b78d4(0x1c3,_0x4d175c._0x39da12,_0x4d175c._0x39da12,0xf2)]??0x3e8,_0x4f24be=Math[_0x205d5a(-0x54,-0x96,-0x23d,0x103)](Math['max'](Math[_0x4b78d4(0x2a5,0x2c1,0x3fc,_0x4d175c._0x4edcbe)](_0x2c6eb9),0x1),0x2710);function _0x205d5a(_0x38bc3f,_0x51f45a,_0x438e88,_0x509eaf){return _0xef0ec(_0x438e88,_0x51f45a-_0x1528b6._0x5a0b71,_0x438e88-0x147,_0x51f45a- -_0x1528b6._0x43b2bd);}function _0x4b78d4(_0x2e19a4,_0x2291bf,_0xb726fb,_0x47337d){return _0xef0ec(_0x2291bf,_0x2291bf-_0x10a310._0x83ce58,_0xb726fb-0x136,_0x2e19a4- -_0x10a310._0x20a7bf);}const _0x26d29d=await _0xbbedb(_0x1ab0be),_0x35c8d1=[];for(const _0x5b8330 of _0x26d29d[_0x4b78d4(0x1fd,0x39f,_0x4d175c._0x5a059e,_0x4d175c._0x1a9057)](0x0,_0x4f24be)){const _0x195b17=_0x20620a[_0x205d5a(0x2a,-0x113,-0x21b,-0x276)](_0x1ab0be,_0x5b8330),_0x15024e=await _0x3845fc(_0x195b17)[_0x4b78d4(0xa1,-0x39,_0x4d175c._0x40459b,-0x15)](()=>null);if(!_0x15024e)continue;let _0xcc58b='other';if(_0x15024e[_0x205d5a(-0x137,-_0x4d175c._0x1ed99e,-0x64,-0x245)]())_0xcc58b=_0x205d5a(-_0x4d175c._0x2d8e70,-0x157,-0x1dd,-_0x4d175c._0xb53656);else{if(_0x15024e[_0x4b78d4(0x108,_0x4d175c._0x206b27,_0x4d175c._0x436569,_0x4d175c._0x3a8c09)]())_0xcc58b=_0x4b78d4(0xfe,_0x4d175c._0x5f3a8f,_0x4d175c._0x2150bd,_0x4d175c._0x506ecb);else{if(_0x15024e[_0x205d5a(-0x2bb,-_0x4d175c._0x38b261,-0xa6,-0x1ba)]())_0xcc58b=_0x205d5a(-_0x4d175c._0x4ede99,0x39,-_0x4d175c._0x39eeee,_0x4d175c._0x34743e);}}const _0x485a84={'name':_0x5b8330,'type':_0xcc58b,'size':_0x15024e['size'],'mtime':_0x15024e[_0x205d5a(-_0x4d175c._0x37b7ae,_0x4d175c._0x1f888e,-0x170,0x158)],'mode':_0x15024e[_0x205d5a(-_0x4d175c._0x2c33fe,-0x1f4,-0x1c7,-_0x4d175c._0x3c53be)]},_0x194b61=_0xcc58b===_0x4b78d4(0x247,0x26b,0x15b,0x3dd)?await countTextLines(_0x195b17,_0x15024e[_0x4b78d4(0x3b9,_0x4d175c._0x5cf3f8,0x35c,0x22e)]):void 0x0;if(_0x194b61!==void 0x0)_0x485a84[_0x4b78d4(_0x4d175c._0x54133f,_0x4d175c._0x8748f7,0x428,_0x4d175c._0x58d0d1)]=_0x194b61;_0x35c8d1[_0x205d5a(0x147,0x27,_0x4d175c._0x2b587d,_0x4d175c._0x2ccf6e)](_0x485a84);}_0x35c8d1[_0x205d5a(_0x4d175c._0x528faa,-_0x4d175c._0x23f302,_0x4d175c._0x3e40ed,0x196)]((_0xb871db,_0x3d0691)=>_0xb871db[_0x4b78d4(0x267,0x137,0xc5,0x18b)][_0x4b78d4(0x2e3,0x20e,0x3cd,0x253)](_0x3d0691[_0x205d5a(-0x15f,-0x137,0x79,-0x16c)]));const _0x297424={'path':_0x58a34a,'total':_0x35c8d1[_0x205d5a(-_0x4d175c._0x410694,-0x14c,-0x246,-0x32)],'truncated':_0x26d29d[_0x205d5a(-_0x4d175c._0x28d8c7,-0x14c,-0x24c,-_0x4d175c._0x61ee07)]>_0x4f24be,'entries':_0x35c8d1};return yield createToolOutput(_0x2cea0e[_0x205d5a(-0x1b7,-0x27b,-_0x4d175c._0x5eb7ff,-0x13c)](_0x297424,{'indent':0x2,'lineWidth':0x0})[_0x4b78d4(_0x4d175c._0x881f3d,0xed,0x10f,_0x4d175c._0x1a4715)](),{'path':_0x58a34a,'total':_0x35c8d1[_0x4b78d4(0x252,0x404,_0x4d175c._0x125f34,0x2a4)],'truncated':_0x26d29d['length']>_0x4f24be,'limit':_0x4f24be,'entries':_0x35c8d1}),void 0x0;}});}import{stat as _0x3a7e31}from'fs/promises';import _0x46eae3 from'path';import{fileURLToPath as _0x5c2082}from'url';function awaitWithAbort(_0x534c5d,_0x4b6bea){const _0x3a4a52={_0x49cfe7:0x304,_0x18147f:0x14,_0x43c35c:0x13f,_0x5768bb:0x1ac},_0x35ed79={_0x3dee00:0xd3},_0x2e67a4={_0x3ffe8b:0x166,_0x454618:0x1d3},_0x1a6d9f={_0x97cbff:0xc1},_0x464640={_0x1cb44a:0x13c,_0x24ae7f:0x1bc},_0x3b3bcd={_0x2d679b:0xec,_0x456270:0x148};if(!_0x4b6bea)return _0x534c5d;if(_0x4b6bea[_0x4d0b80(0x7c,-0x19,0x89,0xa5)])return Promise[_0x486be8(0x2f5,_0x3a4a52._0x49cfe7,0x181,_0x3a4a52._0x18147f)](toAbortError(_0x4b6bea[_0x486be8(_0x3a4a52._0x43c35c,_0x3a4a52._0x5768bb,0x162,0x15e)]));function _0x4d0b80(_0x5f418e,_0x7cc7c3,_0x3dc61b,_0x207ed3){return _0x515b8f(_0x5f418e-_0x3b3bcd._0x2d679b,_0x7cc7c3-_0x3b3bcd._0x456270,_0x7cc7c3,_0x5f418e- -0x3f8);}function _0x486be8(_0x29e286,_0x307f15,_0x2533b0,_0xbd7871){return _0x1c3a85(_0x29e286-0x118,_0x29e286,_0x2533b0-_0x464640._0x1cb44a,_0x2533b0-_0x464640._0x24ae7f);}return new Promise((_0x5f181b,_0x215b19)=>{const _0x181827={_0x205e91:0xeb},_0x2eb526=()=>{const _0x2ee2b5={_0x50cd91:0x47};_0x435836();function _0x1277db(_0x41bb35,_0x9d56c3,_0x1997d7,_0x54b665){return _0x2a2f(_0x9d56c3- -_0x2ee2b5._0x50cd91,_0x41bb35);}_0x215b19(toAbortError(_0x4b6bea[_0x1277db(0x1c,_0x1a6d9f._0x97cbff,0x118,0x165)]));},_0x435836=()=>_0x4b6bea[_0x24530b(-0xe4,0x13,0xc3,0x1b9)]('abort',_0x2eb526);function _0x161b37(_0x2bfebf,_0x53deac,_0x52de05,_0x1b1799){return _0x4d0b80(_0x1b1799-_0x2e67a4._0x3ffe8b,_0x2bfebf,_0x52de05-_0x2e67a4._0x454618,_0x1b1799-0x9e);}function _0x24530b(_0xb66f6d,_0x3597c5,_0x53d672,_0x4566c0){return _0x4d0b80(_0x3597c5- -0xa5,_0x4566c0,_0x53d672-0xa2,_0x4566c0-_0x181827._0x205e91);}_0x4b6bea['addEventListener']('abort',_0x2eb526,{'once':!![]}),_0x534c5d[_0x24530b(-0x4d,0xd0,-_0x35ed79._0x3dee00,-0x98)](_0x13c46e=>{_0x435836(),_0x5f181b(_0x13c46e);},_0x58f9bb=>{_0x435836(),_0x215b19(_0x58f9bb);});});}function severityName(_0x34c5d8){const _0x33638f={_0x3bc123:0x1ee,_0x54d2ae:0x173,_0x532af4:0x1fb,_0xcea508:0x6aa,_0x4a2037:0x6a1,_0x286e50:0x551,_0x3f2d5b:0x783,_0x25f0be:0x59,_0x1b9e2e:0x49b},_0x269ca0={_0x3cd67e:0x16f,_0x407777:0x4d0};function _0x463751(_0x45b43e,_0x53252a,_0x3fed50,_0x5b7967){return _0x515b8f(_0x45b43e-_0x269ca0._0x3cd67e,_0x53252a-0x1c2,_0x53252a,_0x45b43e- -_0x269ca0._0x407777);}function _0x321c15(_0x4c99ba,_0x338a02,_0x4fc18a,_0x519562){return _0x515b8f(_0x4c99ba-0x127,_0x338a02-0xe0,_0x338a02,_0x4c99ba-0x9f);}switch(_0x34c5d8){case 0x1:return _0x463751(_0x33638f._0x3bc123,0xdb,_0x33638f._0x54d2ae,_0x33638f._0x532af4);case 0x2:return _0x321c15(0x61b,_0x33638f._0xcea508,0x5f4,0x738);case 0x3:return _0x321c15(_0x33638f._0x4a2037,_0x33638f._0x286e50,_0x33638f._0x3f2d5b,0x723);case 0x4:return _0x463751(0xd1,-0x34,0x23,_0x33638f._0x25f0be);default:return _0x321c15(0x471,_0x33638f._0x1b9e2e,0x2e6,0x44a);}}function formatSingleHover(_0xa2b5c8){const _0x1b8a0c={_0x36c502:0x442,_0x452288:0x1bf,_0x466669:0x2b6,_0x3a1f32:0x398,_0x5e26c1:0x457,_0x5dc632:0x526,_0x4489d3:0x489,_0x589ef1:0x4de,_0x5051da:0x6b0,_0x3d22c3:0x6a9,_0x16aca9:0x554,_0x2f6d5d:0x591,_0x50a1bb:0x75a,_0x5763ee:0x7e7,_0x2e5416:0x51b,_0x4c178c:0x68d},_0x3696b3={_0x4cc1a6:0x102},_0x425ebe={_0x526870:0xa4},_0x4a3137=_0xa2b5c8[_0x235266(_0x1b8a0c._0x36c502,0x332,0x43c,_0x1b8a0c._0x452288)];if(typeof _0x4a3137===_0x235266(_0x1b8a0c._0x466669,0x3a6,0x238,_0x1b8a0c._0x3a1f32))return _0x4a3137;function _0x4e150f(_0xf7ef02,_0x3f6b33,_0x4f2f26,_0x6b1245){return _0x515b8f(_0xf7ef02-0x8f,_0x3f6b33-_0x425ebe._0x526870,_0xf7ef02,_0x4f2f26-0x4);}if(Array[_0x4e150f(0x3e1,_0x1b8a0c._0x5e26c1,_0x1b8a0c._0x5dc632,0x479)](_0x4a3137))return _0x4a3137[_0x4e150f(_0x1b8a0c._0x4489d3,_0x1b8a0c._0x589ef1,0x3de,0x308)](_0x23324b=>typeof _0x23324b===_0x235266(0x44d,0x3a6,0x4b2,0x300)?_0x23324b:_0x23324b[_0x235266(0x49b,0x440,0x400,0x472)])['filter'](Boolean)[_0x4e150f(0x6ed,0x517,0x5c1,0x44a)]('\x0a\x0a');if(_0x4e150f(0x528,0x6c5,0x517,0x5b9)in _0x4a3137)return _0x4a3137['value'];function _0x235266(_0x5cb644,_0x410b75,_0x378c5e,_0x3144c4){return _0x515b8f(_0x5cb644-0x8a,_0x410b75-0x160,_0x5cb644,_0x410b75- -_0x3696b3._0x4cc1a6);}return _0x4a3137[_0x4e150f(0x513,0x7f5,_0x1b8a0c._0x5051da,0x850)]?_0x4e150f(_0x1b8a0c._0x3d22c3,0x671,_0x1b8a0c._0x16aca9,_0x1b8a0c._0x2f6d5d)+_0x4a3137[_0x4e150f(_0x1b8a0c._0x50a1bb,_0x1b8a0c._0x5763ee,_0x1b8a0c._0x5051da,0x812)]+'\x0a'+_0x4a3137['value']+_0x4e150f(0x712,_0x1b8a0c._0x2e5416,_0x1b8a0c._0x4c178c,0x669):_0x4a3137['value'];}function formatHover(_0x5c3d35){const _0x279bfd={_0x94438c:0x34b,_0x30d192:0x3bb,_0x461c5b:0x51e,_0x275076:0x44c,_0x1ef0ec:0x566,_0x805cb6:0x510,_0x3e7c05:0x4af,_0x22074d:0x4e9},_0x4becb9={_0x14fdaf:0x61},_0x59323d={_0x27977f:0x1ba,_0x449795:0x46a};function _0x58adc2(_0x26151d,_0x285b64,_0x5a56d4,_0x11cd61){return _0x1c3a85(_0x26151d-0x15c,_0x5a56d4,_0x5a56d4-_0x59323d._0x27977f,_0x26151d-_0x59323d._0x449795);}function _0x543010(_0x53f9ed,_0x13fd24,_0x3ffeff,_0x579f7d){return _0x1c3a85(_0x53f9ed-_0x4becb9._0x14fdaf,_0x13fd24,_0x3ffeff-0x72,_0x3ffeff-0x3dc);}if(_0x5c3d35[_0x58adc2(0x565,0x538,0x5e1,0x3da)]===0x0)return _0x543010(_0x279bfd._0x94438c,0x4f5,0x4df,0x433);return _0x5c3d35[_0x58adc2(_0x279bfd._0x30d192,0x269,_0x279bfd._0x461c5b,_0x279bfd._0x275076)](formatSingleHover)[_0x543010(0x4c2,_0x279bfd._0x1ef0ec,_0x279bfd._0x805cb6,0x400)](_0x543010(0x63a,_0x279bfd._0x3e7c05,0x668,_0x279bfd._0x22074d));}function locationPath(_0xb8ae57){const _0xadf8c5={_0x117121:0x595,_0x25e54c:0x6a2},_0x83938e={_0x5a9cb1:0x49,_0x35b707:0x12c};function _0x238143(_0x4be066,_0x14f05a,_0x506abd,_0x492574){return _0x515b8f(_0x4be066-_0x83938e._0x5a9cb1,_0x14f05a-_0x83938e._0x35b707,_0x492574,_0x506abd-0x45);}if(!_0xb8ae57[_0x238143(0x624,_0xadf8c5._0x117121,_0xadf8c5._0x25e54c,0x714)]('file://'))return _0xb8ae57;return _0x5c2082(_0xb8ae57);}function formatLocations(_0x450371){const _0x5d91d7={_0x352e65:0x60b,_0x36dcd8:0x701},_0x49ea4a={_0x130657:0x592,_0x3539a2:0x704,_0x46c785:0x752,_0x5b88df:0x51c,_0x24f1ae:0x49d,_0x5e7e67:0x54a},_0x1cf975={_0x4bd8ef:0x169,_0x255cd5:0x134};function _0x296d8e(_0x46c47f,_0x4b87d2,_0x473613,_0x20de04){return _0x1c3a85(_0x46c47f-0x11a,_0x4b87d2,_0x473613-0xfd,_0x473613-0x46f);}if(_0x450371[_0x296d8e(_0x5d91d7._0x352e65,0x47d,0x56a,_0x5d91d7._0x36dcd8)]===0x0)return'No\x20locations\x20found';return _0x450371['map'](_0x6d9b1f=>{const _0x77cf3f={_0x170655:0x10c};function _0x357d9f(_0x593bba,_0x3ce93b,_0x15b7eb,_0x2dcc13){return _0x296d8e(_0x593bba-_0x1cf975._0x4bd8ef,_0x2dcc13,_0x593bba-0xa0,_0x2dcc13-_0x1cf975._0x255cd5);}function _0x1942c5(_0x340b2c,_0x3e912e,_0x4eefbd,_0x2383a7){return _0x296d8e(_0x340b2c-0x16e,_0x3e912e,_0x4eefbd- -_0x77cf3f._0x170655,_0x2383a7-0x49);}const _0x4cf54f=_0x6d9b1f['range'][_0x357d9f(_0x49ea4a._0x130657,_0x49ea4a._0x3539a2,_0x49ea4a._0x46c785,0x6cf)];return locationPath(_0x6d9b1f['uri'])+':'+(_0x4cf54f[_0x357d9f(_0x49ea4a._0x5b88df,_0x49ea4a._0x24f1ae,0x4eb,_0x49ea4a._0x5e7e67)]+0x1)+':'+(_0x4cf54f['character']+0x1);})['join']('\x0a');}function isDocumentSymbol(_0x2f071e){const _0x194d68={_0x146bb1:0x1a2,_0x1e1051:0x267},_0x537832={_0x72ca00:0x120,_0x495f44:0x151},_0x34d352={_0x57be2b:0xf6,_0x4fb2bc:0x431};function _0x473cd3(_0x1b890f,_0x4cc2a9,_0x2f254f,_0x52bc5a){return _0x515b8f(_0x1b890f-_0x34d352._0x57be2b,_0x4cc2a9-0x60,_0x4cc2a9,_0x2f254f- -_0x34d352._0x4fb2bc);}function _0x6e483d(_0x1f05d8,_0x5dd8dd,_0x477e1e,_0x2b58cd){return _0x1c3a85(_0x1f05d8-_0x537832._0x72ca00,_0x5dd8dd,_0x477e1e-0xf8,_0x2b58cd-_0x537832._0x495f44);}return _0x6e483d(_0x194d68._0x146bb1,0x35c,0x4b4,0x353)in _0x2f071e&&_0x473cd3(0x1af,_0x194d68._0x1e1051,0x217,0x10e)in _0x2f071e;}function formatSymbols(_0x25a289){const _0x166b7d={_0x23f781:0x59a,_0x3a066b:0x37a,_0x1ff815:0x3ef},_0x44363d={_0x382f83:0x208,_0x409e5b:0xbf,_0x3283c8:0x5c,_0x5032fb:0x119,_0x56c03d:0x2df,_0x1b834d:0x85,_0x1c097a:0x1db,_0x574bbe:0xef,_0x1786b4:0xc8,_0x45e0bc:0x32,_0x1961e4:0x62,_0x1eff7c:0x154,_0x38e0b3:0x20d,_0x55a6ec:0x2b9,_0x571d9e:0x102,_0x2b70b9:0x13f,_0x3b46b3:0x1e8,_0x48eb3b:0x1a,_0x4de481:0x25,_0x266285:0x3b,_0x302fc2:0x58,_0x57dbba:0x1a7,_0x236898:0x27a,_0x29cd7d:0x23d,_0xf3f104:0x1f7,_0x1c5dbf:0x16b,_0xc991fd:0x257,_0x25203a:0x1fb,_0xdfc72b:0x7c,_0x517639:0x216,_0x24d52a:0x37d,_0x53e86c:0x1d7},_0x2420ad={_0x1957b0:0x7c},_0x587e5d={_0x52e011:0x46a};if(_0x25a289[_0x5dffbb(0x5bc,0x44c,0x565,_0x166b7d._0x23f781)]===0x0)return'No\x20symbols\x20found';function _0x5dffbb(_0x4c5185,_0x144b54,_0x3b18e4,_0x52dade){return _0x1c3a85(_0x4c5185-0x154,_0x52dade,_0x3b18e4-0x152,_0x3b18e4-_0x587e5d._0x52e011);}function _0x25d991(_0xc3cdbc,_0x1a1e7c,_0x152222,_0x59aa97){return _0x1c3a85(_0xc3cdbc-_0x2420ad._0x1957b0,_0x1a1e7c,_0x152222-0x150,_0xc3cdbc-0x318);}return _0x25a289['map'](_0x5d54a6=>{function _0x35367e(_0x1e1066,_0x3aeb6c,_0x225c47,_0x50080a){return _0x5dffbb(_0x1e1066-0x1ea,_0x3aeb6c-0x21,_0x50080a- -0x6ce,_0x3aeb6c);}if(isDocumentSymbol(_0x5d54a6))return _0x5d54a6['name']+'\x20('+_0x5d54a6[_0x35367e(-_0x44363d._0x382f83,-0x2ba,-0x1a5,-0x1da)]+_0x10c6fb(0x14e,0x242,_0x44363d._0x409e5b,_0x44363d._0x3283c8)+(_0x5d54a6[_0x10c6fb(_0x44363d._0x5032fb,_0x44363d._0x56c03d,0x23d,_0x44363d._0x1b834d)]['start'][_0x35367e(-0x168,-_0x44363d._0x1c097a,-_0x44363d._0x574bbe,-0x257)]+0x1)+':'+(_0x5d54a6[_0x35367e(-_0x44363d._0x1786b4,-_0x44363d._0x45e0bc,-0x1fe,-_0x44363d._0x1961e4)]['start']['character']+0x1)+']';function _0x10c6fb(_0x20c33b,_0x41042d,_0x25a857,_0x92614a){return _0x5dffbb(_0x20c33b-0x101,_0x41042d-0x164,_0x25a857- -0x42f,_0x92614a);}return _0x5d54a6[_0x35367e(-0x195,-0x10f,-0x207,-_0x44363d._0x1eff7c)]+'\x20('+_0x5d54a6[_0x35367e(-_0x44363d._0x38e0b3,-_0x44363d._0x55a6ec,-_0x44363d._0x571d9e,-0x1da)]+')\x20'+locationPath(_0x5d54a6[_0x35367e(-_0x44363d._0x2b70b9,0x8c,-_0x44363d._0x3b46b3,-0xa1)][_0x35367e(_0x44363d._0x48eb3b,-_0x44363d._0x4de481,-0xd4,-_0x44363d._0x266285)])+':'+(_0x5d54a6[_0x35367e(_0x44363d._0x302fc2,-_0x44363d._0x57dbba,-0x1c1,-0xa1)][_0x10c6fb(0x17b,_0x44363d._0x236898,_0x44363d._0x29cd7d,0x86)][_0x35367e(-0x17e,-_0x44363d._0xf3f104,-_0x44363d._0x1c5dbf,-0x1e1)][_0x35367e(-0x376,-0x214,-0x21d,-_0x44363d._0xc991fd)]+0x1)+':'+(_0x5d54a6[_0x10c6fb(_0x44363d._0x25203a,_0x44363d._0xdfc72b,0x1fe,0x2c9)][_0x35367e(-0x1b1,-0x1b7,-_0x44363d._0x517639,-_0x44363d._0x1961e4)][_0x35367e(-0x33f,-_0x44363d._0x24d52a,-_0x44363d._0x53e86c,-0x1e1)]['character']+0x1);})[_0x25d991(0x44c,_0x166b7d._0x3a066b,0x5a3,_0x166b7d._0x1ff815)]('\x0a');}function formatDiagnostics(_0x591d50){const _0x518e9b={_0x45611f:0x491,_0x5772fe:0x598,_0x2b8ed1:0x447,_0x5d72ea:0x62f,_0x7f1154:0x5df},_0x3d2ba7={_0x242bbb:0x3be,_0x4d803d:0x190,_0x4ecd3f:0xb5,_0x50bcef:0xa4,_0x3ba7e5:0xd3,_0x1cd719:0x49,_0x3598cb:0x2b7,_0x3d2cb5:0x2f9,_0x5ccf39:0x3e2},_0x170cc7={_0x54a57a:0x1a2},_0x331fc={_0xf0040a:0x51,_0x24f944:0xbe,_0x3b399e:0x3b4};if(_0x591d50['length']===0x0)return'No\x20diagnostics';function _0x297d43(_0x53c729,_0x41f0d9,_0x316eaf,_0x3187b6){return _0x1c3a85(_0x53c729-_0x331fc._0xf0040a,_0x41f0d9,_0x316eaf-_0x331fc._0x24f944,_0x316eaf-_0x331fc._0x3b399e);}function _0x1b52cf(_0x4a3d02,_0x47a5c6,_0x44bae5,_0x32c07a){return _0x515b8f(_0x4a3d02-0xdb,_0x47a5c6-_0x170cc7._0x54a57a,_0x32c07a,_0x47a5c6-0xb7);}return _0x591d50[_0x1b52cf(0x640,_0x518e9b._0x45611f,_0x518e9b._0x5772fe,_0x518e9b._0x2b8ed1)](_0x4bc0e8=>{const _0x5c6d71={_0x5219df:0x19c,_0x1fad2d:0x2b8},_0x4be1e4={_0xd948c0:0xd2};function _0xed1887(_0x251cc8,_0x543269,_0xa82311,_0x24cc1f){return _0x1b52cf(_0x251cc8-0x22,_0x543269- -0x477,_0xa82311-_0x4be1e4._0xd948c0,_0xa82311);}function _0x3e997d(_0x26f206,_0x586196,_0x1eda6f,_0x2adb49){return _0x1b52cf(_0x26f206-_0x5c6d71._0x5219df,_0x26f206- -_0x5c6d71._0x1fad2d,_0x1eda6f-0x1f1,_0x1eda6f);}const _0x27d0ea=_0x4bc0e8[_0xed1887(0x2d3,0x2cb,0x3b8,_0x3d2ba7._0x242bbb)][_0xed1887(_0x3d2ba7._0x4d803d,0x14c,-0x3d,_0x3d2ba7._0x4ecd3f)];return severityName(_0x4bc0e8[_0x3e997d(0x1fd,_0x3d2ba7._0x50bcef,0x2e6,0x2a7)])+'\x20['+(_0x27d0ea[_0xed1887(0x41,0xd6,0x28e,0x83)]+0x1)+':'+(_0x27d0ea[_0xed1887(-_0x3d2ba7._0x3ba7e5,-0x2a,-0xe1,_0x3d2ba7._0x1cd719)]+0x1)+']\x20'+_0x4bc0e8[_0x3e997d(_0x3d2ba7._0x3598cb,_0x3d2ba7._0x3d2cb5,_0x3d2ba7._0x5ccf39,0x46d)];})[_0x1b52cf(_0x518e9b._0x5d72ea,0x674,_0x518e9b._0x7f1154,0x800)]('\x0a');}function formatIncomingCalls(_0x2f8367){const _0x2c7151={_0x12ae02:0x453,_0x2966b4:0x577,_0x108801:0x4c8,_0x542722:0x54a},_0x22243b={_0x490e4f:0x10f,_0xb55edb:0x121},_0x32f912={_0x3a2697:0x2a};function _0x56d151(_0x395589,_0x139666,_0x4e6f77,_0x3fb4a7){return _0x1c3a85(_0x395589-0x1e5,_0x4e6f77,_0x4e6f77-0x103,_0x395589-_0x32f912._0x3a2697);}function _0x49ecb6(_0x4aeb59,_0x899381,_0xfe6c38,_0xe0a4b9){return _0x515b8f(_0x4aeb59-_0x22243b._0x490e4f,_0x899381-_0x22243b._0xb55edb,_0xfe6c38,_0xe0a4b9-0x8c);}if(_0x2f8367['length']===0x0)return'No\x20call\x20hierarchy\x20results';return _0x2f8367[_0x49ecb6(0x5e5,_0x2c7151._0x12ae02,_0x2c7151._0x2966b4,0x466)](_0x4efee2=>_0x4efee2['from'][_0x56d151(0x13a,0x4f,0xcd,0x1ec)])[_0x49ecb6(_0x2c7151._0x108801,0x754,_0x2c7151._0x542722,0x649)]('\x0a');}function formatOutgoingCalls(_0x4ac0d1){const _0x3b29e9={_0x41a0c5:0x20,_0x52185c:0xea,_0x50f8b7:0x109,_0x3b440e:0x104,_0x26c4a8:0x568,_0x2c1733:0x83b,_0x18d049:0x62f,_0x368f01:0x543},_0x3f12e4={_0x54e546:0xb5,_0x274b04:0x72},_0xd93611={_0x33c940:0x46,_0x47c1b1:0x1ef,_0x654151:0x49a};function _0x169de7(_0x1d0ca2,_0x245d3a,_0x2cdb51,_0xc005ed){return _0x515b8f(_0x1d0ca2-_0xd93611._0x33c940,_0x245d3a-_0xd93611._0x47c1b1,_0x1d0ca2,_0x245d3a- -_0xd93611._0x654151);}if(_0x4ac0d1[_0x169de7(_0x3b29e9._0x41a0c5,_0x3b29e9._0x52185c,_0x3b29e9._0x50f8b7,_0x3b29e9._0x3b440e)]===0x0)return _0xc45f15(0x711,_0x3b29e9._0x26c4a8,0x73f,_0x3b29e9._0x2c1733);function _0xc45f15(_0x379973,_0x2ba605,_0x3ba26a,_0x29a13a){return _0x515b8f(_0x379973-_0x3f12e4._0x54e546,_0x2ba605-0x196,_0x29a13a,_0x379973-_0x3f12e4._0x274b04);}return _0x4ac0d1['map'](_0x314429=>_0x314429['to'][_0x169de7(0xe,0xff,0x1a2,0x16f)])[_0xc45f15(_0x3b29e9._0x18d049,0x60f,0x6c7,_0x3b29e9._0x368f01)]('\x0a');}function toStructured(_0x55cc12){const _0x81d264={_0x3817d1:0x313,_0x17b180:0x20e,_0x1a6c40:0x2b9,_0x529432:0x25b,_0x5c2121:0x459},_0xeb072={_0x36a0ac:0x5};function _0x26b1a3(_0x1ef9fe,_0x4e8ece,_0x254dda,_0x3cc327){return _0x1c3a85(_0x1ef9fe-_0xeb072._0x36a0ac,_0x4e8ece,_0x254dda-0x1e3,_0x254dda-0x1ff);}function _0x27af69(_0x380a35,_0x695e16,_0x24ecdc,_0x4e66a5){return _0x515b8f(_0x380a35-0xa2,_0x695e16-0xd1,_0x24ecdc,_0x380a35- -0x19c);}return JSON[_0x26b1a3(_0x81d264._0x3817d1,0x1be,0x2ac,_0x81d264._0x17b180)](JSON[_0x27af69(_0x81d264._0x1a6c40,_0x81d264._0x529432,0x1de,_0x81d264._0x5c2121)](_0x55cc12));}async function assertFile(_0x2361e2){const _0x31bec0={_0x3ec6d2:0xd9,_0x1d91d3:0x49},_0x1139a0={_0xe6da08:0x186,_0x7177c4:0xe4,_0x4c4b57:0x55e},_0x23f569=await _0x3a7e31(_0x2361e2);function _0x351467(_0x18fc14,_0x25baf7,_0x4b87a4,_0x53a353){return _0x515b8f(_0x18fc14-_0x1139a0._0xe6da08,_0x25baf7-_0x1139a0._0x7177c4,_0x18fc14,_0x4b87a4- -_0x1139a0._0x4c4b57);}if(!_0x23f569[_0x351467(0x11c,_0x31bec0._0x3ec6d2,-_0x31bec0._0x1d91d3,-0x98)]())throw new ToolExecutionError('Path\x20is\x20not\x20a\x20file:\x20'+_0x2361e2,{'path':_0x2361e2});}function validatePosition(_0x1eb7f9,_0x1d9cd2){const _0x4d4eaa={_0x3a46e7:0x229,_0x83f10d:0x154,_0x45454d:0x3aa,_0xc7fb1d:0xb0,_0x4d73f9:0x4c,_0x584b7a:0x12d,_0x200328:0x323},_0x25803a={_0x100b8d:0x74},_0xc9c725={_0x4ab4dd:0x109,_0x5d4c6f:0x85};function _0x3871d7(_0x2f2157,_0xa3a9a8,_0x8aee81,_0x5b5ccd){return _0x1c3a85(_0x2f2157-0x3a,_0xa3a9a8,_0x8aee81-_0xc9c725._0x4ab4dd,_0x2f2157-_0xc9c725._0x5d4c6f);}if(!Number[_0x3871d7(_0x4d4eaa._0x3a46e7,0x188,_0x4d4eaa._0x83f10d,_0x4d4eaa._0x45454d)](_0x1eb7f9)||_0x1eb7f9<0x1)throw new ToolExecutionError(_0x3871d7(-0x2c,0x11f,_0x4d4eaa._0xc7fb1d,_0x4d4eaa._0x4d73f9),{'line':_0x1eb7f9});function _0xb88836(_0x4e2f65,_0x556db1,_0x4b2b56,_0x3d54b2){return _0x1c3a85(_0x4e2f65-_0x25803a._0x100b8d,_0x4b2b56,_0x4b2b56-0x129,_0x4e2f65- -0x1b);}if(!Number[_0x3871d7(0x229,_0x4d4eaa._0x584b7a,0x9f,_0x4d4eaa._0x200328)](_0x1d9cd2)||_0x1d9cd2<0x1)throw new ToolExecutionError('character\x20must\x20be\x20a\x20positive\x20integer',{'character':_0x1d9cd2});}function createLspTool(_0x4409af={}){const _0x312b9e={_0x30d9fc:0x2fe,_0x3afc43:0x48e,_0xb4e10b:0x139,_0x42e122:0x20d,_0x2b471d:0x5eb,_0x2df307:0x493,_0x396221:0x46b,_0x57158e:0x55d,_0x2ae7a4:0x72c,_0x52bf29:0x26,_0xbce134:0x413,_0x2d1a71:0x2ca,_0x1f8db3:0x282,_0x1838c9:0x4b2,_0x157ab1:0x409,_0x40c8de:0x558,_0x1f5697:0x45b,_0x8bab85:0x372,_0x1bd1d0:0x3a5,_0x1f768d:0x384,_0x1faef6:0x653,_0x6d02a8:0x77b,_0x39c769:0x52f,_0x192fdb:0xf1,_0x4c79e1:0x135,_0x8a31cc:0x24b,_0x464239:0x1a6,_0x2b8191:0x92,_0x4b0111:0x8a,_0x2339c4:0x4cd,_0x16021a:0x55c,_0x83c881:0x503,_0xed988a:0x42e,_0x479144:0x21a,_0xb23ab8:0x126,_0x3445a8:0x2d1,_0x6acbb5:0x672,_0x2c079d:0x6ac,_0x2246c0:0x528,_0x53c1df:0x573},_0x303364={_0x377bb9:0x221,_0x26989e:0x294,_0x1e533b:0x2b9,_0x5eb428:0x451,_0x5a6cad:0x407,_0x49dcf3:0x24c,_0x361be9:0xc5,_0x4fb7e7:0x1e,_0x377727:0xfb,_0x3927cb:0x2a7,_0x5f1037:0x2d2,_0x26ce8a:0x137,_0xf585d4:0xf7,_0x295362:0x4c6,_0x5cc8ff:0x50b,_0x51cd76:0x594,_0x22d309:0x73,_0x1f5293:0x1aa,_0x5a5d93:0x5c,_0x34eb52:0xb4,_0x485af0:0x2,_0x3238ad:0xfd,_0x905c92:0x4c6,_0x33d215:0x49f,_0x18088d:0x6e,_0x5c9893:0xa3,_0x9b916c:0x2bc,_0x5dad55:0x6fe,_0x5a021f:0x656,_0x1a4bad:0x7e,_0xce6588:0x28f,_0x4facd3:0x1ff,_0x58c050:0xd5,_0x76ec31:0x5fe,_0x2bedc2:0x5d6,_0x1a1ebb:0x576,_0x18292e:0x4b3,_0x5c70a7:0x3d3,_0x45b2c2:0x6fe,_0x2b170b:0x79a,_0x39f3c9:0x1df,_0x986638:0x2bd,_0x40fe4c:0x233,_0x2b1bde:0x208,_0x43a71f:0x486,_0x1910f0:0x599,_0x575f11:0x778,_0x1efa36:0x70,_0x3ac006:0x71d,_0x258ead:0x139,_0x571c2b:0x6fe,_0x17c1b0:0x87b,_0x4cd160:0x143,_0xda684d:0x389,_0xe72a9d:0x6fe,_0x45f259:0x47b,_0xc80694:0x4ee,_0x47089a:0x10f,_0x1ab860:0x16a,_0x468049:0xe0,_0x1b4147:0x40,_0x264c8b:0xba,_0xa4c563:0x9a,_0x143974:0x102,_0x253cac:0x7d0,_0x1adfc7:0x66c,_0x51ca4e:0xde,_0x3a1258:0x94,_0x3f6257:0x61a,_0x3abe1d:0x6fe,_0x16146e:0x554,_0x587506:0x2d3,_0x33ccd9:0x280,_0x17c768:0x15d,_0x879b72:0x255,_0x3182a5:0x151,_0x34614c:0x10c,_0x5c2beb:0x131,_0x1d0dd7:0x67a,_0x3106db:0x60c,_0x42e2e7:0x6f0,_0x5ec2ff:0x510,_0x2453d4:0x54f,_0xd5fbf0:0x1b2,_0x42f40d:0xdf},_0x568139={_0x2b408c:0x133,_0x3aace7:0x9f};function _0x4b31a1(_0x4fc253,_0x249d5b,_0x33af0f,_0x2b6379){return _0x1c3a85(_0x4fc253-0x146,_0x249d5b,_0x33af0f-0xb8,_0x33af0f- -0x77);}const _0x4939f0=_0x46eae3[_0x407646(0x2fa,0x3b1,0x475,0x2b4)](_0x4409af[_0x407646(_0x312b9e._0x30d9fc,_0x312b9e._0x3afc43,0x4bf,0x288)]??process[_0x4b31a1(-0xfb,-0x16e,-_0x312b9e._0xb4e10b,-_0x312b9e._0x42e122)]()),_0x546898=_0x4409af[_0x407646(_0x312b9e._0x2b471d,_0x312b9e._0x2df307,0x47a,0x763)]??[],_0x1ea2f3=_0x4409af['name']??_0x407646(0x573,_0x312b9e._0x396221,_0x312b9e._0x57158e,_0x312b9e._0x2ae7a4);function _0x407646(_0x3f230f,_0x4719e0,_0x3b3807,_0x3b6dc){return _0x515b8f(_0x3f230f-0x178,_0x4719e0-_0x568139._0x2b408c,_0x3b3807,_0x3f230f- -_0x568139._0x3aace7);}return defineTool({'name':_0x1ea2f3,'permissionClass':_0x4b31a1(-0x74,_0x312b9e._0x52bf29,0x86,-0x88),'description':_0x407646(_0x312b9e._0xbce134,_0x312b9e._0x2d1a71,0x463,_0x312b9e._0x1f8db3),'inputSchema':{'type':_0x407646(0x3dd,0x3f9,_0x312b9e._0x1838c9,0x58a),'properties':{'operation':{'type':_0x407646(_0x312b9e._0x157ab1,0x2f6,0x541,_0x312b9e._0x40c8de),'enum':[_0x407646(_0x312b9e._0x1f5697,0x41d,_0x312b9e._0x8bab85,0x337),_0x407646(_0x312b9e._0x1bd1d0,0x39d,0x235,_0x312b9e._0x1f768d),_0x407646(_0x312b9e._0x1faef6,_0x312b9e._0x6d02a8,0x4ae,_0x312b9e._0x39c769),_0x4b31a1(0x252,_0x312b9e._0x192fdb,_0x312b9e._0x4c79e1,_0x312b9e._0x8a31cc),_0x4b31a1(_0x312b9e._0x464239,-0x5c,_0x312b9e._0x2b8191,-_0x312b9e._0x4b0111),'goToImplementation',_0x407646(_0x312b9e._0x2339c4,_0x312b9e._0x16021a,_0x312b9e._0x83c881,_0x312b9e._0xed988a),_0x4b31a1(0x102,_0x312b9e._0x479144,_0x312b9e._0xb23ab8,0x217),'outgoingCalls','diagnostics']},'filePath':{'type':'string'},'line':{'type':'number'},'character':{'type':_0x4b31a1(_0x312b9e._0x3445a8,0x187,0x173,0x26)},'query':{'type':'string'}},'required':[_0x407646(0x60c,0x674,_0x312b9e._0x6acbb5,_0x312b9e._0x2c079d),_0x407646(_0x312b9e._0x2246c0,0x3ee,0x5b7,0x6a0),_0x407646(0x3f7,0x456,_0x312b9e._0x53c1df,0x503),'character']},async *'execute'(_0x1c78e4,_0x2cb3f3){const _0x4cabf7={_0x39d219:0xd6},_0x4227ab={_0x3cb14b:0x13b},_0x49b990=_0x4409af[_0xaa86cd(-0x28a,-_0x303364._0x377bb9,-_0x303364._0x26989e,-_0x303364._0x1e533b)];if(!_0x49b990)throw new ToolExecutionError(_0xaa86cd(-0x1ee,-0xbd,-0xcf,0x36));if(!_0x49b990['isEnabled']())throw new ToolExecutionError(_0x5ec214(_0x303364._0x5eb428,_0x303364._0x5a6cad,_0x303364._0x49dcf3,0x322));const _0x8f18d6=_0x1c78e4[_0xaa86cd(-0x1a7,_0x303364._0x361be9,-_0x303364._0x4fb7e7,_0x303364._0x377727)];validatePosition(_0x1c78e4['line'],_0x1c78e4['character']);function _0xaa86cd(_0x4984f3,_0x140a44,_0x38b151,_0x53276d){return _0x4b31a1(_0x4984f3-0xbd,_0x140a44,_0x38b151- -0x1c9,_0x53276d-_0x4227ab._0x3cb14b);}if(_0x8f18d6===_0xaa86cd(-_0x303364._0x3927cb,-_0x303364._0x5f1037,-_0x303364._0x26ce8a,-_0x303364._0xf585d4)){if(!_0x1c78e4[_0x5ec214(0x525,_0x303364._0x295362,0x50b,0x405)]?.[_0x5ec214(_0x303364._0x5cc8ff,_0x303364._0x51cd76,0x56a,0x669)]())throw new ToolExecutionError(_0xaa86cd(-0x1b9,-_0x303364._0x22d309,-0x20d,-_0x303364._0x1f5293));const _0x42a803=await awaitWithAbort(_0x49b990[_0xaa86cd(-0x19e,0x2a,-0x137,-0x119)](_0x1c78e4['query']['trim']()),_0x2cb3f3[_0xaa86cd(-_0x303364._0x5a5d93,_0x303364._0x34eb52,-_0x303364._0x485af0,_0x303364._0x3238ad)]);return yield createToolOutput(formatSymbols(_0x42a803),{'operation':_0x8f18d6,'query':_0x1c78e4[_0x5ec214(0x660,_0x303364._0x905c92,_0x303364._0x33d215,0x608)],'symbols':_0x42a803}),void 0x0;}const _0x94ce91=resolveAllowedPath(_0x4939f0,_0x546898,_0x1c78e4[_0xaa86cd(-_0x303364._0x18088d,_0x303364._0x5c9893,-0x102,-_0x303364._0x9b916c)]);function _0x5ec214(_0x7f18e2,_0x329521,_0x4a0a25,_0x146f62){return _0x407646(_0x329521-_0x4cabf7._0x39d219,_0x329521-0x13b,_0x4a0a25,_0x146f62-0xb2);}await assertFile(_0x94ce91);if(!await awaitWithAbort(_0x49b990['hasClients'](_0x94ce91),_0x2cb3f3[_0x5ec214(0x8b6,_0x303364._0x5dad55,0x6ec,_0x303364._0x5a021f)]))throw new ToolExecutionError(_0xaa86cd(-_0x303364._0x1a4bad,-_0x303364._0xce6588,-0x1f5,-_0x303364._0x4facd3)+_0x1c78e4[_0xaa86cd(0x78,-_0x303364._0x58c050,-0x102,-0x11)],{'filePath':_0x1c78e4[_0x5ec214(0x695,_0x303364._0x76ec31,0x6d3,0x6bc)]});await awaitWithAbort(_0x49b990[_0x5ec214(_0x303364._0x2bedc2,_0x303364._0x1a1ebb,_0x303364._0x18292e,_0x303364._0x5c70a7)](_0x94ce91,!![]),_0x2cb3f3[_0x5ec214(0x7c1,_0x303364._0x45b2c2,0x79e,_0x303364._0x2b170b)]);const _0x140e5b={'file':_0x94ce91,'line':_0x1c78e4[_0xaa86cd(-_0x303364._0x39f3c9,-_0x303364._0x986638,-_0x303364._0x40fe4c,-0x193)]-0x1,'character':_0x1c78e4[_0xaa86cd(-_0x303364._0x2b1bde,-_0x303364._0x43a71f,-0x333,-0x216)]-0x1};switch(_0x8f18d6){case _0x5ec214(_0x303364._0x1910f0,0x729,0x857,0x661):{const _0x272d4e=await awaitWithAbort(_0x49b990[_0x5ec214(0x82b,0x729,0x7d0,_0x303364._0x575f11)](_0x140e5b),_0x2cb3f3[_0xaa86cd(0xae,-_0x303364._0x1efa36,-_0x303364._0x485af0,-0xbc)]);return yield createToolOutput(formatHover(_0x272d4e),{'operation':_0x8f18d6,'filePath':_0x94ce91,'hover':_0x272d4e}),void 0x0;}case _0x5ec214(0x6b0,0x73d,_0x303364._0x3ac006,0x78c):{const _0x3fa5a3=await awaitWithAbort(_0x49b990[_0xaa86cd(-0x232,-0x27a,-_0x303364._0x258ead,-0x11f)](_0x94ce91),_0x2cb3f3[_0x5ec214(0x5f4,_0x303364._0x571c2b,_0x303364._0x17c1b0,0x790)]);return yield createToolOutput(formatDiagnostics(_0x3fa5a3),{'operation':_0x8f18d6,'filePath':_0x94ce91,'diagnostics':_0x3fa5a3}),void 0x0;}case _0xaa86cd(-_0x303364._0x4cd160,-_0x303364._0xda684d,-0x1cf,-0x17e):{const _0x4dc599=await awaitWithAbort(_0x49b990['definition'](_0x140e5b),_0x2cb3f3[_0x5ec214(0x65e,_0x303364._0xe72a9d,0x73e,0x880)]);return yield createToolOutput(formatLocations(_0x4dc599),{'operation':_0x8f18d6,'filePath':_0x94ce91,'locations':_0x4dc599}),void 0x0;}case _0x5ec214(0x414,_0x303364._0x45f259,_0x303364._0xc80694,0x51f):{const _0x87e23d=await awaitWithAbort(_0x49b990[_0xaa86cd(-0x2a9,-0x224,-_0x303364._0x47089a,-_0x303364._0x1ab860)](_0x140e5b),_0x2cb3f3[_0xaa86cd(-_0x303364._0x468049,_0x303364._0x1b4147,-0x2,0x77)]);return yield createToolOutput(formatLocations(_0x87e23d),{'operation':_0x8f18d6,'filePath':_0x94ce91,'locations':_0x87e23d}),void 0x0;}case _0xaa86cd(_0x303364._0x264c8b,-0x1a2,-_0x303364._0xa4c563,-_0x303364._0x143974):{const _0x26fbda=await awaitWithAbort(_0x49b990['implementation'](_0x140e5b),_0x2cb3f3['signal']);return yield createToolOutput(formatLocations(_0x26fbda),{'operation':_0x8f18d6,'filePath':_0x94ce91,'locations':_0x26fbda}),void 0x0;}case _0x5ec214(_0x303364._0x253cac,_0x303364._0x1adfc7,0x7d6,0x502):{const _0xbab334=await awaitWithAbort(_0x49b990[_0xaa86cd(_0x303364._0x51ca4e,0xa8,-_0x303364._0x3a1258,0xa9)](_0x94ce91),_0x2cb3f3[_0x5ec214(_0x303364._0x3f6257,_0x303364._0x3abe1d,0x5ee,0x6ae)]);return yield createToolOutput(formatSymbols(_0xbab334),{'operation':_0x8f18d6,'filePath':_0x94ce91,'symbols':_0xbab334}),void 0x0;}case _0x5ec214(0x6e1,0x5a3,_0x303364._0x16146e,0x764):{const _0x12804f=await awaitWithAbort(_0x49b990[_0xaa86cd(-_0x303364._0x587506,-_0x303364._0x33ccd9,-_0x303364._0x17c768,-_0x303364._0x879b72)](_0x140e5b),_0x2cb3f3[_0xaa86cd(_0x303364._0x3182a5,-0x79,-0x2,-0x8b)]);return yield createToolOutput(formatSymbols(_0x12804f),{'operation':_0x8f18d6,'filePath':_0x94ce91,'symbols':toStructured(_0x12804f)}),void 0x0;}case _0xaa86cd(0x85,_0x303364._0x34614c,-0xa3,-_0x303364._0x5c2beb):{const _0x5b25e4=await awaitWithAbort(_0x49b990[_0xaa86cd(-0x14c,-0x15,-_0x303364._0x5c9893,-0x1a7)](_0x140e5b),_0x2cb3f3[_0xaa86cd(-0x161,-0x188,-0x2,-0x69)]);return yield createToolOutput(formatIncomingCalls(_0x5b25e4),{'operation':_0x8f18d6,'filePath':_0x94ce91,'calls':toStructured(_0x5b25e4)}),void 0x0;}case _0x5ec214(0x768,_0x303364._0x1d0dd7,0x534,_0x303364._0x3106db):{const _0x34faf1=await awaitWithAbort(_0x49b990[_0x5ec214(_0x303364._0x42e2e7,_0x303364._0x1d0dd7,_0x303364._0x5ec2ff,_0x303364._0x2453d4)](_0x140e5b),_0x2cb3f3[_0xaa86cd(-_0x303364._0xd5fbf0,-0x137,-0x2,-_0x303364._0x42f40d)]);return yield createToolOutput(formatOutgoingCalls(_0x34faf1),{'operation':_0x8f18d6,'filePath':_0x94ce91,'calls':toStructured(_0x34faf1)}),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 _0x465e32}from'crypto';import{mkdir as _0x4b29f7,readFile as _0x28ae37,writeFile as _0x467011}from'fs/promises';import{join as _0x56175a}from'path';function sanitizeStorageKey(_0x5c802c){const _0x17faec={_0x2f876c:0x1f,_0x486d95:0x17e,_0x5624fc:0x1fc,_0x2c3924:0x9c,_0x5c1c2a:0x75,_0x44c0e0:0x217},_0x4213c6={_0x45c3eb:0x1cf,_0x540181:0x5c7},_0xbe4fb6={_0x7356c5:0x1d7,_0x2827c1:0x54a};function _0x5092b3(_0x2181b4,_0x2a40d6,_0x1fbd9e,_0x1d54e2){return _0x515b8f(_0x2181b4-_0xbe4fb6._0x7356c5,_0x2a40d6-0x10c,_0x2a40d6,_0x2181b4- -_0xbe4fb6._0x2827c1);}function _0x4420e6(_0x1d90a1,_0x20ddee,_0x75ab2c,_0x89f2e1){return _0x515b8f(_0x1d90a1-0x46,_0x20ddee-_0x4213c6._0x45c3eb,_0x75ab2c,_0x89f2e1- -_0x4213c6._0x540181);}return _0x5c802c[_0x5092b3(-_0x17faec._0x2f876c,-_0x17faec._0x486d95,0x23,0x111)](/[^a-zA-Z0-9_]+/g,'_')[_0x4420e6(-_0x17faec._0x5624fc,-0x97,-0x17a,-_0x17faec._0x2c3924)](/^_+|_+$/g,'')||_0x5092b3(_0x17faec._0x5c1c2a,_0x17faec._0x44c0e0,-0x12e,0x9a);}function storagePath(_0x23f037){const _0x4c682d={_0x4e04c6:0x26c,_0x34f9fc:0x38f,_0x57c7d7:0x213,_0x161577:0x2f0,_0x430858:0x333,_0x219f7d:0x462,_0x43061c:0x3b9,_0x1e4a35:0x53b,_0x42b7e2:0x354,_0x220665:0x3a8,_0x750601:0x807},_0x4b443f={_0x59d96f:0x25f},_0x54e78d={_0x1aaa31:0x170};function _0x1caf26(_0x5c17f9,_0x2ab1da,_0x28644f,_0x376138){return _0x1c3a85(_0x5c17f9-0xd6,_0x376138,_0x28644f-_0x54e78d._0x1aaa31,_0x2ab1da-0x463);}function _0x290b0e(_0x6cff47,_0x1910a0,_0x5cea00,_0x59ae51){return _0x1c3a85(_0x6cff47-0x85,_0x5cea00,_0x5cea00-0x195,_0x59ae51-_0x4b443f._0x59d96f);}const _0x4e978c=sanitizeStorageKey(_0x23f037[_0x290b0e(_0x4c682d._0x4e04c6,_0x4c682d._0x34f9fc,0xee,_0x4c682d._0x57c7d7)][_0x290b0e(_0x4c682d._0x161577,_0x4c682d._0x430858,_0x4c682d._0x219f7d,_0x4c682d._0x43061c)]?.['tokenStorageKey']??_0x23f037[_0x290b0e(_0x4c682d._0x1e4a35,_0x4c682d._0x42b7e2,_0x4c682d._0x220665,0x4b0)]);return _0x56175a(_0x23f037[_0x1caf26(_0x4c682d._0x750601,0x6c6,0x75f,0x864)],_0x4e978c+'.json');}async function readStore(_0x5272e3){const _0x927a69={_0x5a6464:0x5d7,_0x261abd:0x128,_0x10a4ad:0x2f5,_0x540e99:0x794,_0x1102a3:0x768,_0x991716:0x798,_0x47c653:0x649},_0x2251cb={_0x55b496:0x8f,_0x2db140:0xc6,_0x1145e2:0x50},_0x49bc81={_0xb11e49:0x96};function _0x5e2e70(_0x328806,_0x43ab01,_0x4b09c0,_0x5cd96a){return _0x1c3a85(_0x328806-_0x49bc81._0xb11e49,_0x43ab01,_0x4b09c0-0x18c,_0x328806-0x237);}function _0x502569(_0x48509f,_0x2659bb,_0x114bdc,_0x21c0c7){return _0x515b8f(_0x48509f-_0x2251cb._0x55b496,_0x2659bb-_0x2251cb._0x2db140,_0x2659bb,_0x21c0c7- -_0x2251cb._0x1145e2);}try{return JSON[_0x502569(_0x927a69._0x5a6464,0x4ca,0x434,0x4e6)](await _0x28ae37(_0x5272e3,_0x5e2e70(0x2b9,_0x927a69._0x261abd,0x404,_0x927a69._0x10a4ad)));}catch(_0x5d46bd){if(_0x5d46bd instanceof Error&&_0x502569(_0x927a69._0x540e99,_0x927a69._0x1102a3,0x654,0x5e0)in _0x5d46bd&&_0x5d46bd[_0x502569(_0x927a69._0x991716,0x775,_0x927a69._0x47c653,0x5e0)]==='ENOENT')return{};throw _0x5d46bd;}}async function writeStore(_0x21610f,_0x8047ab){const _0x2339e9={_0x404f53:0x1c5,_0xacfc93:0x9b},_0x2737d1={_0x3ee907:0x14c,_0x86a089:0x123};function _0x4df859(_0x4235a3,_0x329ca9,_0x115b4b,_0x138fc4){return _0x515b8f(_0x4235a3-_0x2737d1._0x3ee907,_0x329ca9-_0x2737d1._0x86a089,_0x138fc4,_0x115b4b- -0x483);}await _0x4b29f7(_0x56175a(_0x21610f,'..'),{'recursive':!![]}),await _0x467011(_0x21610f,JSON['stringify'](_0x8047ab,null,0x2),_0x4df859(-0xba,_0x2339e9._0x404f53,0x88,-_0x2339e9._0xacfc93));}async function updateStore(_0xba55b4,_0x456977){const _0x95cf52=await readStore(_0xba55b4);_0x456977(_0x95cf52),await writeStore(_0xba55b4,_0x95cf52);}function createMcpOAuthProvider(_0xecb13e){const _0x15d940={_0xb8b1f8:0x36b,_0x3aee5f:0x1dc,_0x5712c7:0x17a,_0x30f462:0x314,_0x5ae58c:0x26b,_0x1c04d3:0x2b8,_0x2db3d1:0x395,_0x5bf79f:0x2c7,_0x196a63:0x2db,_0x29c6fc:0x379},_0x3e6708={_0x3762aa:0x4a,_0x3714dd:0x2a,_0x1dfeeb:0x205},_0x5e6a7b={_0x140b2b:0x20d,_0x1ac7d1:0x1d4,_0x19d36e:0x29e,_0x425eee:0x1aa,_0x52cc0b:0x2e1,_0x50301b:0x238,_0x2f70c7:0x299,_0x1c2459:0x1d8,_0x313bf2:0xa1,_0x18cbb7:0x138,_0x4217f9:0xab,_0x414559:0x4c,_0x56bcbc:0x1ca,_0x24e389:0x62,_0xb0d459:0x64,_0x12c52c:0x36d,_0x1e81af:0x218,_0x5243e2:0x1a2,_0x3c8fba:0x1dd,_0x2be50e:0x2d1,_0x39fd2b:0x198},_0x2db181={_0x397d24:0xa5,_0x2f78d9:0x247,_0x5bc14a:0x11b,_0x17043f:0x201,_0x2f83a2:0x2ed},_0x20454e={_0x1da49f:0x1e3,_0x1e1cf4:0x21,_0x58610d:0x30f},_0x353c01={_0x1fbba9:0x163},_0x1a44c0={_0x556e07:0x314},_0x507e33={_0x1b5dd1:0x317,_0x104af3:0x1b1},_0x2318f={_0x17c4fb:0x1d7,_0x4c0580:0x2ee},_0x3f2be8={_0x381000:0x2b0,_0x3acf7b:0x2d9},_0x1e8eaa={_0x52549f:0x19e},_0x45bec1={_0x1d494c:0x3b,_0x4c65ce:0x16d};function _0x109405(_0x2277f2,_0x4eac1d,_0x5958f3,_0x5eaf6f){return _0x1c3a85(_0x2277f2-0x28,_0x4eac1d,_0x5958f3-_0x45bec1._0x1d494c,_0x5eaf6f-_0x45bec1._0x4c65ce);}const _0x27d5b7=storagePath(_0xecb13e),_0x59fd07=_0xecb13e['config'][_0x109405(_0x15d940._0xb8b1f8,0x1a1,0x1a0,0x2c7)]?.[_0x109405(0x563,0x2b4,0x45a,0x3b2)]?.['join']('\x20');function _0x337984(_0x373e5f,_0x742598,_0x5d93ca,_0x202469){return _0x1c3a85(_0x373e5f-_0x1e8eaa._0x52549f,_0x373e5f,_0x5d93ca-0x1db,_0x202469- -0x188);}const _0x5ab56c={'client_name':'Nuvin','redirect_uris':[_0xecb13e[_0x109405(0x371,_0x15d940._0x3aee5f,0x1e8,0x2b1)]],'grant_types':['authorization_code',_0x109405(0x1de,-0x50,0x102,0x172)],'response_types':[_0x109405(_0x15d940._0x5712c7,0x372,0x1bb,_0x15d940._0x30f462)],'token_endpoint_auth_method':_0x109405(_0x15d940._0x5ae58c,_0x15d940._0x1c04d3,-0x9f,0x101),..._0x59fd07?{'scope':_0x59fd07}:{}};return{'clientMetadataUrl':_0xecb13e[_0x337984(-0x2ce,-0x303,-0x197,-0x1d4)][_0x109405(0x2ef,_0x15d940._0x2db3d1,0x31b,_0x15d940._0x5bf79f)]?.[_0x109405(0x1e2,0x395,_0x15d940._0x196a63,_0x15d940._0x29c6fc)],get 'redirectUrl'(){return _0xecb13e['callbackUrl'];},get 'clientMetadata'(){return _0x5ab56c;},async 'state'(){const _0x1cb584={_0x4c0dde:0x12};function _0x474e19(_0x1969d4,_0x5754ea,_0x1abc0c,_0x31d057){return _0x337984(_0x31d057,_0x5754ea-_0x1cb584._0x4c0dde,_0x1abc0c-0xa1,_0x1969d4-0x17d);}const _0x229c6c=await readStore(_0x27d5b7);if(_0x229c6c[_0x474e19(0x237,_0x2318f._0x17c4fb,_0x2318f._0x4c0580,0x263)])return _0x229c6c['state'];const _0x34f187=_0x465e32();return await updateStore(_0x27d5b7,_0x475ff8=>{function _0x2db646(_0x399a66,_0x4c14d9,_0x55345c,_0x3d5a0a){return _0x474e19(_0x3d5a0a-0x195,_0x4c14d9-0x191,_0x55345c-0x12d,_0x399a66);}_0x475ff8[_0x2db646(_0x3f2be8._0x381000,_0x3f2be8._0x3acf7b,0x4bc,0x3cc)]=_0x34f187;}),_0x34f187;},async 'clientInformation'(){function _0x44cae1(_0x3dbf75,_0x43889a,_0x4a0ca1,_0x42e085){return _0x109405(_0x3dbf75-0x184,_0x3dbf75,_0x4a0ca1-0xd2,_0x4a0ca1-0x60);}return(await readStore(_0x27d5b7))[_0x44cae1(_0x507e33._0x1b5dd1,_0x507e33._0x104af3,0x1be,0x8d)];},async 'saveClientInformation'(_0x48d2fb){const _0x5f2461={_0x249957:0x3e6,_0x50b36c:0x244},_0x2bfba6={_0x59641e:0xf1};await updateStore(_0x27d5b7,_0x5644e0=>{function _0x41d4c3(_0x3b2f7b,_0x52b25c,_0x79ff65,_0x5e7b15){return _0x2a2f(_0x5e7b15-_0x2bfba6._0x59641e,_0x3b2f7b);}_0x5644e0[_0x41d4c3(0x385,_0x5f2461._0x249957,0x1c5,_0x5f2461._0x50b36c)]=_0x48d2fb;});},async 'tokens'(){function _0x468f13(_0x25d077,_0x278b9b,_0x1330c9,_0x347ec1){return _0x109405(_0x25d077-0x196,_0x25d077,_0x1330c9-0x67,_0x278b9b- -_0x1a44c0._0x556e07);}return(await readStore(_0x27d5b7))[_0x468f13(-0x317,-_0x353c01._0x1fbba9,-0xfa,-0x1b2)];},async 'saveTokens'(_0x20d2c8){const _0x4ddd0b={_0x39144a:0x38e,_0x3e888b:0x371};await updateStore(_0x27d5b7,_0x5df237=>{function _0x1e34e3(_0x5c6d32,_0x3fd241,_0x48d223,_0x18b310){return _0x2a2f(_0x48d223-0x357,_0x5c6d32);}_0x5df237[_0x1e34e3(_0x4ddd0b._0x39144a,_0x4ddd0b._0x3e888b,0x4fd,0x635)]=_0x20d2c8;});},async 'redirectToAuthorization'(_0x5939e5){await _0xecb13e['onRedirect'](_0x5939e5);},async 'saveCodeVerifier'(_0x464f0b){await updateStore(_0x27d5b7,_0x15ea04=>{_0x15ea04['codeVerifier']=_0x464f0b;});},async 'codeVerifier'(){const _0x5ca1fd={_0x2ff3e8:0x10e};function _0x1c13bc(_0x2580c7,_0x5cbaeb,_0x40990b,_0x293113){return _0x337984(_0x40990b,_0x5cbaeb-0x84,_0x40990b-_0x5ca1fd._0x2ff3e8,_0x2580c7-0x613);}const _0x4aca8f=(await readStore(_0x27d5b7))[_0x3c1914(_0x2db181._0x397d24,0xf7,0x296,_0x2db181._0x2f78d9)];function _0x3c1914(_0x1aad30,_0x413e57,_0x2cb4d5,_0x3cae86){return _0x337984(_0x3cae86,_0x413e57-_0x20454e._0x1da49f,_0x2cb4d5-_0x20454e._0x1e1cf4,_0x413e57-_0x20454e._0x58610d);}if(!_0x4aca8f)throw new Error(_0x3c1914(_0x2db181._0x5bc14a,0x256,_0x2db181._0x17043f,_0x2db181._0x2f83a2));return _0x4aca8f;},async 'invalidateCredentials'(_0xc27959){await updateStore(_0x27d5b7,_0x46d2e5=>{const _0x1cd72f={_0x2cab15:0x105};(_0xc27959===_0xd4ca51(0x1da,_0x5e6a7b._0x140b2b,_0x5e6a7b._0x1ac7d1,0x1ff)||_0xc27959===_0xd4ca51(_0x5e6a7b._0x19d36e,0x390,0x1fc,0x313))&&(_0x46d2e5[_0xd4ca51(_0x5e6a7b._0x425eee,_0x5e6a7b._0x52cc0b,_0x5e6a7b._0x50301b,_0x5e6a7b._0x2f70c7)]=void 0x0);(_0xc27959===_0xd4ca51(0x41,0x2a4,_0x5e6a7b._0x1c2459,0x1ff)||_0xc27959==='tokens')&&(_0x46d2e5[_0x393670(0x197,0x1d1,0x1bc,_0x5e6a7b._0x313bf2)]=void 0x0);function _0x393670(_0x1d797c,_0x47dbd0,_0x755e44,_0x559491){return _0x2a2f(_0x559491- -_0x1cd72f._0x2cab15,_0x1d797c);}function _0xd4ca51(_0xe0124e,_0x43178b,_0x2842b3,_0x436897){return _0x2a2f(_0x436897-0x146,_0x43178b);}(_0xc27959===_0x393670(0x4,-_0x5e6a7b._0x18cbb7,-_0x5e6a7b._0x4217f9,-_0x5e6a7b._0x414559)||_0xc27959===_0x393670(0x5e,0x130,0x32c,_0x5e6a7b._0x56bcbc))&&(_0x46d2e5[_0xd4ca51(_0x5e6a7b._0x24e389,_0x5e6a7b._0xb0d459,_0x5e6a7b._0x12c52c,_0x5e6a7b._0x1e81af)]=void 0x0,_0x46d2e5[_0xd4ca51(0x503,0x4c3,0x41e,0x4ea)]=void 0x0),(_0xc27959==='all'||_0xc27959==='discovery')&&(_0x46d2e5[_0x393670(_0x5e6a7b._0x5243e2,_0x5e6a7b._0x3c8fba,_0x5e6a7b._0x2be50e,_0x5e6a7b._0x39fd2b)]=void 0x0);});},async 'saveDiscoveryState'(_0x31d7de){const _0x3e0762={_0x33ac5d:0x6a8,_0x34c0e8:0x481,_0x16064e:0x51d},_0x32d0b6={_0x5221da:0x280};await updateStore(_0x27d5b7,_0x4c479b=>{function _0x1fdfdf(_0x5a39a7,_0x3e6cc2,_0x89b979,_0x45d959){return _0x2a2f(_0x45d959-_0x32d0b6._0x5221da,_0x5a39a7);}_0x4c479b[_0x1fdfdf(_0x3e0762._0x33ac5d,0x4a8,_0x3e0762._0x34c0e8,_0x3e0762._0x16064e)]=_0x31d7de;});},async 'discoveryState'(){function _0x58b158(_0x2034f3,_0x2519da,_0x510981,_0x1905e5){return _0x109405(_0x2034f3-0x9d,_0x2519da,_0x510981-0xc3,_0x510981- -0x2f0);}return(await readStore(_0x27d5b7))[_0x58b158(-_0x3e6708._0x3762aa,_0x3e6708._0x3714dd,-0x48,-_0x3e6708._0x1dfeeb)];}};}import{UnauthorizedError}from'@modelcontextprotocol/sdk/client/auth.js';import{ErrorCode,McpError}from'@modelcontextprotocol/sdk/types.js';var failureByOperation={'close':{'code':_0x1c3a85(0xa1,0x384,0x221,0x1d9),'message':_0x531593=>'MCP\x20server\x20'+_0x531593+_0x1c3a85(0x216,0x96,0x257,0x231)},'connect':{'code':_0x1c3a85(0x1c3,0x83,0x229,0x125),'message':_0x48cb2d=>_0x1c3a85(0x66,-0x172,-0x5d,-0xa7)+_0x48cb2d+'\x20failed\x20to\x20connect'},'discover':{'code':'mcp-discovery-failed','message':_0x2db35e=>_0x1c3a85(0x3a,-0x2b,0xa0,-0xa7)+_0x2db35e+_0x515b8f(0x613,0x681,0x54a,0x5a9)},'toolCall':{'code':_0x1c3a85(0x9e,-0x209,-0x14,-0xed),'message':_0x2dac0d=>'MCP\x20server\x20'+_0x2dac0d+'\x20tool\x20call\x20failed'}},timeoutMessageByOperation={'close':_0x4958bc=>_0x515b8f(0x391,0x39e,0x467,0x3e2)+_0x4958bc+_0x1c3a85(-0xa0,0x10,-0x14e,-0x53),'connect':_0x496d3b=>_0x515b8f(0x4d7,0x347,0x2fd,0x3e2)+_0x496d3b+_0x1c3a85(0x261,0x176,0x398,0x1f1),'discover':_0x3cb595=>_0x1c3a85(-0x15b,-0x221,-0x18,-0xa7)+_0x3cb595+_0x1c3a85(0x37d,0x3e5,0x364,0x24f),'toolCall':_0x3f7791=>_0x1c3a85(0x3e,-0x155,-0x55,-0xa7)+_0x3f7791+_0x1c3a85(-0x29,0x8b,-0xa7,-0x7d)};function toMcpSafeError(_0x157a13){const _0x3e8b18={_0x3c950e:0x96,_0x45295a:0xdb,_0x397f10:0x1ca,_0x2f0a12:0x3f,_0x18bc95:0x139,_0x715274:0x348,_0x2d21f8:0x504,_0x43daaf:0x4c0,_0x5dba78:0x126,_0x111a6c:0x19e,_0x1fab7e:0x1,_0x432e57:0x1bf,_0x272382:0xd9,_0x3cf880:0x4a5,_0x49b84f:0x136,_0x2fb349:0x6eb,_0x4cd05b:0x651,_0x2a9e95:0x290,_0x446034:0x1bf,_0x203e2d:0xd,_0x23dc1b:0x48,_0x7d3750:0x115,_0x34f6c7:0x4e1},_0x5e97c6={_0x41a67e:0xab,_0x40bc2f:0xea,_0x3edf1b:0x51b},_0x167892={_0x59b227:0x16a,_0x3cbbf0:0x42f};if(_0x157a13[_0x232696(-0x5c,-0x80,-0x1,-_0x3e8b18._0x3c950e)]instanceof UnauthorizedError)return Object[_0x232696(-_0x3e8b18._0x45295a,-_0x3e8b18._0x397f10,-0x35,_0x3e8b18._0x2f0a12)]({'code':'mcp-auth-required','message':_0x232696(-0x73,-0x3c,-_0x3e8b18._0x18bc95,-0x16e)+_0x157a13[_0x232696(0xcd,0x1ff,0x1bf,0xeb)]+'\x20requires\x20authentication'});if(_0x157a13[_0x29c922(0x667,_0x3e8b18._0x715274,_0x3e8b18._0x2d21f8,_0x3e8b18._0x43daaf)]instanceof McpError&&_0x157a13[_0x232696(_0x3e8b18._0x5dba78,-_0x3e8b18._0x111a6c,-_0x3e8b18._0x1fab7e,_0x3e8b18._0x432e57)][_0x232696(0x43,_0x3e8b18._0x272382,0x115,0x143)]===ErrorCode[_0x29c922(0x578,0x534,_0x3e8b18._0x3cf880,0x58a)])return Object[_0x232696(-_0x3e8b18._0x432e57,-0xa5,-0x35,_0x3e8b18._0x49b84f)]({'code':_0x29c922(_0x3e8b18._0x2fb349,0x501,0x5c9,0x5a6),'message':timeoutMessageByOperation[_0x157a13[_0x29c922(0x52e,0x503,0x676,_0x3e8b18._0x4cd05b)]](_0x157a13[_0x232696(0x229,_0x3e8b18._0x2a9e95,_0x3e8b18._0x446034,0x28d)])});const _0x3ec203=failureByOperation[_0x157a13['operation']];function _0x29c922(_0x2616f6,_0x269777,_0x50c8dc,_0x4971a1){return _0x1c3a85(_0x2616f6-_0x167892._0x59b227,_0x269777,_0x50c8dc-0xb8,_0x4971a1-_0x167892._0x3cbbf0);}function _0x232696(_0x18a8d7,_0x177235,_0x3f30bc,_0x400787){return _0x515b8f(_0x18a8d7-_0x5e97c6._0x41a67e,_0x177235-_0x5e97c6._0x40bc2f,_0x18a8d7,_0x3f30bc- -_0x5e97c6._0x3edf1b);}return Object[_0x232696(_0x3e8b18._0x203e2d,-0xb6,-0x35,-0x66)]({'code':_0x3ec203[_0x232696(0x1d0,-_0x3e8b18._0x23dc1b,_0x3e8b18._0x7d3750,0x112)],'message':_0x3ec203['message'](_0x157a13[_0x29c922(_0x3e8b18._0x34f6c7,0x648,0x74b,0x680)])});}function redactMcpDiagnostic(_0x353d84,_0x39508f){const _0x2aff39={_0x1ebe87:0x20,_0x14983d:0x573,_0xa11852:0x769,_0x296d5f:0x5d0,_0x37dc72:0x5bf,_0x175a1c:0xd2,_0x2eda28:0x5d,_0x212839:0xb3,_0x2c254a:0x40b,_0x1310b6:0x54e,_0xe505b:0x5d0},_0x1e68f6={_0x745bdc:0x175},_0x3061ac={_0x26bc4f:0x7f},_0x4c1d11=[...new Set(_0x39508f['filter'](_0x196167=>_0x196167[_0xb5136f(-0x84,0x1f8,0x5e,-0x119)]>0x0))][_0xb5136f(0x10e,0x190,0x192,-_0x2aff39._0x1ebe87)]((_0x53818d,_0x4249e8)=>_0x4249e8['length']-_0x53818d[_0x2eaf35(0x6f8,0x47c,0x568,0x5d0)]);if(_0x353d84[_0x2eaf35(0x6b2,0x76a,_0x2aff39._0x14983d,0x5d0)]===0x0||_0x4c1d11[_0x2eaf35(0x6f8,0x68c,_0x2aff39._0xa11852,_0x2aff39._0x296d5f)]===0x0)return _0x353d84;let _0x19b623='',_0x14b9d7=0x0;function _0x2eaf35(_0x2a02bc,_0x8b04a3,_0x40de81,_0x516ab4){return _0x1c3a85(_0x2a02bc-0x171,_0x40de81,_0x40de81-_0x3061ac._0x26bc4f,_0x516ab4-0x4d5);}while(_0x14b9d7<_0x353d84[_0x2eaf35(0x4c2,_0x2aff39._0x37dc72,0x491,_0x2aff39._0x296d5f)]){const _0x9860e6=_0x4c1d11[_0xb5136f(-_0x2aff39._0x175a1c,-0x43,_0x2aff39._0x2eda28,_0x2aff39._0x212839)](_0x4f0455=>_0x353d84[_0xb5136f(0x7d,-0x52,0x137,0x1bd)](_0x4f0455,_0x14b9d7));_0x9860e6?(_0x19b623+=_0x2eaf35(0x56d,0x482,0x3ad,_0x2aff39._0x2c254a),_0x14b9d7+=_0x9860e6[_0x2eaf35(0x66e,0x4f7,_0x2aff39._0x1310b6,_0x2aff39._0xe505b)]):(_0x19b623+=_0x353d84[_0x14b9d7],_0x14b9d7+=0x1);}function _0xb5136f(_0x1b1c46,_0x4279b1,_0x245646,_0x402c11){return _0x1c3a85(_0x1b1c46-0x1cb,_0x1b1c46,_0x245646-_0x1e68f6._0x745bdc,_0x245646- -0x9d);}return _0x19b623;}var ownedMcpSafeErrors=new WeakMap();function isWeakMapKey(_0x5ecb10){const _0x58fcfa={_0x2ecca6:0x2a0,_0x22ead0:0x291,_0x3e138a:0x356,_0x1d1dd5:0x331},_0x567bdb={_0x32ab25:0x178,_0x254950:0x3b7};function _0x378645(_0x2a2faa,_0x3e3a00,_0x1f28f6,_0x44077d){return _0x515b8f(_0x2a2faa-0xb7,_0x3e3a00-0x122,_0x2a2faa,_0x3e3a00- -0x606);}function _0x37d52d(_0x1a7b28,_0x2df65f,_0x32023d,_0x41cab0){return _0x515b8f(_0x1a7b28-0xbd,_0x2df65f-_0x567bdb._0x32ab25,_0x2df65f,_0x41cab0- -_0x567bdb._0x254950);}return typeof _0x5ecb10===_0x378645(-_0x58fcfa._0x2ecca6,-0x18a,-0x24a,-0x17d)&&_0x5ecb10!==null||typeof _0x5ecb10===_0x37d52d(_0x58fcfa._0x22ead0,_0x58fcfa._0x3e138a,_0x58fcfa._0x1d1dd5,0x31c);}function createOwnedMcpSafeError(_0x305bd0){const _0x523e61={_0xe24af8:0x100,_0xe761a2:0x4b,_0x549660:0x37b,_0x464ffc:0x375,_0x338946:0x159,_0x39f6e6:0x153,_0x1fe58e:0x9},_0x1bb696={_0x33a2d6:0x7c,_0x18c702:0x1b4,_0x316338:0xa8},_0x49fbf3={_0x23bda3:0x72,_0x49067c:0x204},_0x453082=toMcpSafeError(_0x305bd0);function _0x521fc7(_0x3dd280,_0x51452f,_0x1c7867,_0x8f9241){return _0x1c3a85(_0x3dd280-_0x49fbf3._0x23bda3,_0x1c7867,_0x1c7867-0x76,_0x51452f- -_0x49fbf3._0x49067c);}const _0x526ebf=Object[_0x620462(0x115,_0x523e61._0xe24af8,-0x1ff,-_0x523e61._0xe761a2)]({'code':_0x453082['code'],'message':_0x453082[_0x521fc7(-_0x523e61._0x549660,-0x1d5,-0x144,-_0x523e61._0x464ffc)]});ownedMcpSafeErrors[_0x620462(-_0x523e61._0x338946,-_0x523e61._0x39f6e6,-0x11b,-_0x523e61._0x1fe58e)](_0x453082,_0x526ebf);function _0x620462(_0x46732e,_0x466db3,_0x4f878e,_0xd32f27){return _0x1c3a85(_0x46732e-_0x1bb696._0x33a2d6,_0x466db3,_0x4f878e-_0x1bb696._0x18c702,_0xd32f27- -_0x1bb696._0x316338);}return _0x453082;}function extractOwnedMcpSafeError(_0x26727d){const _0xd3cc3={_0x1aa6f1:0x3ac,_0x3aeb56:0x22c,_0x3eb59f:0x121,_0x2bc1fc:0x3fe,_0xfe02a3:0x3bb},_0x2efba1={_0x8d28ae:0x15,_0x3c7a74:0xb0,_0xce6af6:0x1fd},_0x2c720b={_0x250772:0x127,_0x56009a:0xad,_0x16bcbc:0x2c3};if(!isWeakMapKey(_0x26727d))return void 0x0;const _0x2eaa02=ownedMcpSafeErrors[_0x58253d(0x321,0x3a2,0x316,0x332)](_0x26727d);function _0x58253d(_0x3599a5,_0x337c54,_0x522d8e,_0x5f134c){return _0x1c3a85(_0x3599a5-_0x2c720b._0x250772,_0x3599a5,_0x522d8e-_0x2c720b._0x56009a,_0x5f134c-_0x2c720b._0x16bcbc);}if(!_0x2eaa02)return void 0x0;const _0x3601a8=Object['freeze']({'code':_0x2eaa02['code'],'message':_0x2eaa02[_0x120f8d(0x1e3,0x204,_0xd3cc3._0x1aa6f1,_0xd3cc3._0x3aeb56)]});function _0x120f8d(_0x3290c5,_0x4f9e1f,_0x31cb3a,_0x3e3a1d){return _0x1c3a85(_0x3290c5-_0x2efba1._0x8d28ae,_0x3290c5,_0x31cb3a-_0x2efba1._0x3c7a74,_0x3e3a1d-_0x2efba1._0xce6af6);}return ownedMcpSafeErrors[_0x120f8d(_0xd3cc3._0x3eb59f,_0xd3cc3._0x2bc1fc,_0xd3cc3._0xfe02a3,0x29c)](_0x3601a8,_0x2eaa02),_0x3601a8;}function ownValue(_0x4e89ac,_0x1d7da1){return _0x4e89ac&&Object['hasOwn'](_0x4e89ac,_0x1d7da1)?_0x4e89ac[_0x1d7da1]:void 0x0;}function isToolPermissionClass(_0x480800){const _0x48c6b7={_0x2fadbe:0x187,_0x1d7bcf:0x88,_0x4b40b0:0x89,_0x4d6779:0x3c},_0xd25572={_0x23182a:0x1c6},_0x48c200={_0x1cc352:0x117,_0x1c992e:0x44c};function _0x21c774(_0x24531a,_0x30b72b,_0x238762,_0xe6a08d){return _0x515b8f(_0x24531a-_0x48c200._0x1cc352,_0x30b72b-0x12e,_0x238762,_0x24531a- -_0x48c200._0x1c992e);}function _0x3f1679(_0x4cb4c5,_0x4127f4,_0x3aa774,_0x272f04){return _0x515b8f(_0x4cb4c5-_0xd25572._0x23182a,_0x4127f4-0x99,_0x3aa774,_0x4cb4c5- -0x55a);}return _0x480800==='read'||_0x480800===_0x3f1679(-0x155,-0x234,-0x79,-_0x48c6b7._0x2fadbe)||_0x480800===_0x21c774(-_0x48c6b7._0x1d7bcf,-0x94,_0x48c6b7._0x4b40b0,-_0x48c6b7._0x4d6779);}function suggestedPermissionClass(_0x243431){const _0x62e6cd={_0x484e6d:0x23c,_0x566b19:0x136,_0x3b63c9:0x2a8,_0x229115:0x5b,_0x31ceb7:0x167,_0x3ecae7:0x37,_0x28ab90:0x67},_0x59b3f8={_0x22e11b:0xe5,_0x296de9:0xb8},_0x4b67b4={_0xbcb71:0xf6,_0x48f7f2:0x16d},_0x1f2045=_0x243431[_0x33a216(_0x62e6cd._0x484e6d,_0x62e6cd._0x566b19,0x16f,_0x62e6cd._0x3b63c9)]?.[_0x33a216(_0x62e6cd._0x229115,0x2e8,0x1a6,0xd2)];if(_0x1f2045===!![])return _0x268cdc(-_0x62e6cd._0x31ceb7,_0x62e6cd._0x3ecae7,-0x108,-_0x62e6cd._0x28ab90);function _0x33a216(_0x211716,_0x679c73,_0x5a0e95,_0x536080){return _0x1c3a85(_0x211716-0x154,_0x211716,_0x5a0e95-_0x4b67b4._0xbcb71,_0x5a0e95-_0x4b67b4._0x48f7f2);}if(_0x1f2045===![])return'write';function _0x268cdc(_0x51dfc0,_0x1dc2d0,_0x27bd3d,_0x955a21){return _0x1c3a85(_0x51dfc0-_0x59b3f8._0x22e11b,_0x27bd3d,_0x27bd3d-_0x59b3f8._0x296de9,_0x1dc2d0- -0xc6);}return void 0x0;}function _0x2884(){const _0x20bccc=['uefusa','B3v0z29PBMDdywXSCW','y3jSzG','lMPZB24','zgv0ywLS','BxrPBwu','C2vSzwn0Aw9UuMfUz2u','yMfZAwm','y2HPBgq','yxr0CG','Bg9JyxrPB24','Aw5FChjVz3jLC3m','Dg9KB3ncEvnLC3nPB24','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','oIbLEhbLy3rLzcbHihbVC2L0AxzLig51BwjLCG','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','u3rHCNrLzcbHz2vUDcbYDw4G','rgvSzwDHDgvZigeGDgfZAYb0BYbHBM90AgvYigfNzw50igfUzcb3ywL0CYbMB3iGy29TCgXLDgLVBI4GygrLC2nYAxb0Aw9UycbPCYbHihnOB3j0ifvjigXHyMvSoYbGDgfZA2aGAxmGDgHLignVBxbSzxrLigLUC3rYDwn0Aw9UihnLBNqGDg8GDgHLigfNzw50lG','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','yNvKz2v0vg9Rzw5ZihjLCxvPCMvZig1HBNvHBcbTB2rL','rhvWBgLJyxrLihjLyxnVBMLUzYbVChrPB24GiG','Dhj1BMnHDgvK','B3bLBMnVzguTz28','C2vTyxbOB3jL','Dg9VBenHBgXjza','vMLLD2vKigLTywDLigzPBgu6ia','qMfJA2DYB3vUzcbLEgvJDxrPB24GAxmGBM90igf2ywLSywjSzsbPBIb0AgLZignVBNrLEhqU','C3rHCNrZv2L0Aa','CMvZB2X2zvrLCM1PBMfS','uhjVz3jHBuzPBgvZ','C3rHCNrLzef0','Dg9vChbLCKnHC2u','BwnWlwnSB3nLlwzHAwXLza','oIaIDg9WAwmIig11C3qGyMuGBwf4idmWignOyxjHy3rLCNmSigDVDca','qMfZAa','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','vg9Vig1HBNKGCMvKAxjLy3rZ','Dg9VBhm','ig1Z','lNrZ','ChjVy2vZC0v4AxrLza','ls0T','yMLUyxj5tMfTzq','lMjPBG','yxnJAwK','yxjNDw1LBNrZvgv4Da','Dg9WAwmGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','mtqXmJq5nZzrvMfOuM4','B2XKvgv4DcbUB3qGzM91BMqGAw4GzMLSzs4GtwfRzsbZDxjLigL0ig1HDgnOzxmGzxHHy3rSEsbPBMnSDwrPBMCGD2HPDgvZCgfJzs4Gu2vHCMnOAw5NigzVCJOGiG','BNvTyMvY','ihDHCYbHBhjLywr5ia','ywXSB3DLzfrVB2XZ','BgLMzwn5y2XL','lcbpChrPB24G','Aw52ywXPzf90B3bPyW','rgv0ywLSoIa','ignVBM5Ly3rPB24GDgLTzwqGB3v0','yNvKz2v0vg9Rzw5Z','C3vIyxjYyxK','zgvUEq','lMPZB25J','zgvUBY5QC29U','BgLZDgvU','yw5ZAti1nG','ks4Gs2LSBcbVBMuGD2L0AcblAwXSu2HLBgWGyMvMB3jLihn0yxj0Aw5NigfUB3rOzxiU','DgfZAW','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','D29YA3nWywnL','vg9KBYa','nda5ode4rhziyvfQ','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','cMbGya','ywXSB3DLzerPCNm','CMfUz2u','Dg9tDhjPBMC','uMvHzcbMAwXLCYbMCM9TihDVCMTZCgfJzs4Gt3b0Aw9UywXSEsbZCgvJAwz5igXPBMuGCMfUz2vZicHSAw5Lu3rHCNqSigXPBMvfBMqPlG','C3rKB3v0','Dg9WAwm','r3jLCa','Cgf0DgvYBIbPCYbYzxf1AxjLza','yMLVBwuUANnVBMm','ie9sia','AhLKCMf0zu1LDge','y2XPzw50twv0ywrHDgfvCMW','u0HfteXpufrt','yxbWBgLJyxrPB24VANnVBG','y2fSBfrVB2W','BgfZDeLUzgv4t2y','DxrTx3rLCM0','BgLUzv9UDw1Izxi','yNL0zxm','Dg9VBa','q291BgqGBM90ihjLC29SDMuGAg9ZDa','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','Dg9mB3DLCKnHC2u','AxndB250zxH0','qxnZAwDUvgfZAW','DgvYBwLUyxrPB25qCM9TAxnL','Dg9Rzw4','y291BNq','ugfYyw1LDgvYicj0B2rVCYiGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','Aw1Hz2vZ','zw5K','l2jPBI9IyxnO','B3bLCMf0Aw9U','BgfUz3vHz2u','uMvHC29UAw5Nig9WDgLVBIbYzxf1AxjLCYbTB2rLig9YigvMzM9YDa','C2HLBgXjza','ihDHCYbHyM9YDgvKlG','BNbT','uMLWz3jLCc5ZzwfYy2GGywnJzxb0CYbLAxrOzxiGzMLSzsbVCIbMAwXLCYWGBM90igjVDgG','DxjP','BgLUzxm','AhrTBfnUAxbWzxq','qMfJA2DYB3vUzfbYB2nLC3ndBgvHBNvWrxjYB3i','zMLUywXnzxnZywDL','zgLZCg9Zzq','C29YDa','qxnRvxnLCLrVB2W','igzHAwXLzcb0BYbJBg9Zzq','C2vUze5VDgLMAwnHDgLVBG','lMPZ','igzYB20G','rxjYB3i','BM9Zy3jPChq','B2XSyw1H','mtaWlJy0lJaUma','C3jJl3nOyxjLzc90ExbLCY50CW','xg5DkJ8','B2C6DxbKyxrLzf90Aw1L','CNvUBMLUzW','zgvMyxvSDe9WDgLVBG','C2LNBMfS','zwzMB3j0','y29UBMvJDa','yM9VBgvHBG','C3rHDgu','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','Cgf0DgvYBIbTDxn0igjLigf0ig1VC3qG','C2nVCgvZ','zgLZy292zxi','DxbKyxrL','B3b0Aw9UywW','BM9Kzv9TB2r1BgvZ','zNvUy3rPB24','CMvHzen1CNnVCG','vg9Vig1HBNKGyMfJA2DYB3vUzcbWCM9JzxnZzxmGCNvUBMLUzYaO','vw50AxrSzwq','DhjHBNnMB3jTCW','ihrVB2WGzgLZy292zxj5ihrPBwvKig91Da','t1bftKnprevFqvbjx0Tfwq','C2vYDMvYtMfTzq','CMvSyxrPDMu','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','C3rYAxbbBNnP','y2XVC2u','zgvSAxzLCMvK','BhnWlxbYB3H5','yxr4','zgvSzwDHDgvKlxj1BI0','y29TBwfUzhm','yxr0ywnO','C3r5Bgu','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','CxvLC3rPB25Z','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','DxrTx2nVBNrLBNq','uhjVDMLKzxiGBMfTzsbJyw5UB3qGyMuGzw1WDhK','C2L6zq','C3rVCMfNzurPCG','C2HPzNq','rMv0y2GGD2vIihbHz2uGy29UDgvUDcbHBMqGy29UDMvYDcb0BYbnyxjRzg93BIbMB3jTyxq','ignVBxbSzxrLzc4','CMCUzxHL','BgLZDa','Ag92zxi','BwLUAw1HBa','EMfP','DMfSDwvZ','y2XVC2vbBgW','ChvZAa','oIbPBNzHBgLKihn0yxr1CW','tM8GC3vJAcbMAwXLoIaN','Cg9ZAxG','y2HHBMDL','BxrPBwvnCW','B3bLBNjVDxrLCG','CgLK','Aw52ywXPzf90B2rVx3bYAw9YAxr5','lM51DMLUlwnVzgu','CMLWz3jLCcbYzxr1CM5LzcbHig1HBgzVCM1Lzcbku09oig1HDgnOihjLy29Yza','BwvKAxvT','ls1NBg9I','BM9Uzq','DhvWBgu','zgLHz25VC3rPy3m','Dg9VBfjLC3vSDhm','lunVBw1HBMq','C3LTBgLUAW','ChvIBgLZAgvKqxq','BgLUAW','r0Lusfvcx0fdq0vtu19ut0TftG','BwLUAw1HEa','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','Bwv0yxrHz3m','l3vZCI9IAw4VC2G','y29TCgXLDgvK','B3b0Aw9UCW','BM90lwzVDw5K','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','cGOTls0kcG','zgvZy3jPChrVCNm','BgfUzW','vgvYBwLUyxrLigeGyMfJA2DYB3vUzcbWCM9JzxnZihn0yxj0zwqGD2L0AcbcyxnOkhj1BKLUqMfJA2DYB3vUzdP0CNvLksWGAwrLBNrPzMLLzcbIEsbPDhmGC2HLBgXjzc4','AxngAw5PDgu','y2HHCMfJDgvY','ywjZ','y2XPzw50CW','CMvZB2X2zq','iYmGu2TPBgW6ia','CNnZ','BwnWlxrVB2WTy2fSBc1MywLSzwq','zgvMyxvSDen3za','twfPBNrHAw4GysbJB25JAxnLihrHC2SGBgLZDcb3AgvUihzPC2LIBguGChjVz3jLC3mGDhjHy2TPBMCGywrKCYbJB29YzgLUyxrPB24GDMfSDwuUcGPvC2uGvg9KB1DYAxrLihDOzw4GDgHLihvZzxiGzxHWBgLJAxrSEsbYzxf1zxn0CYbHihrVzg8Vy2HLy2TSAxn0lcbVCIb3AgvUihDVCMSGAgfZihnLDMvYywWGBwvHBMLUz2z1BcbWAgfZzxmSigrLCgvUzgvUy2LLCYWGB3iGy2HLy2TWB2LUDhmUifnRAxaGAxqGzM9YignVBNzLCNnHDgLVBMfSihf1zxn0Aw9UCYWGysbZAw5NBguGC3rYywLNAhrMB3j3yxjKihrHC2SSig9YigeGC2HVCNqGzMXHDcbZzxf1zw5JzsbVzIb0CML2AwfSigfJDgLVBNmUieXPC3qGBwvHBMLUz2z1BcbVDxrJB21LCYbYyxrOzxiGDgHHBIbPBMrPDMLKDwfSihrVB2WGy2fSBhmUcGPvC2uGC3rHDhvZzxmGCgvUzgLUzYWGAw5FChjVz3jLC3mSigfUzcbJB21WBgv0zwqSihDPDgGGyxqGBw9ZDcbVBMuGAxrLBsbPBL9WCM9NCMvZCY4Gq3jLyxrLihrOzsbSAxn0ig9Uy2uGyMvMB3jLihn0yxj0Aw5NihrYywnRzwqGD29YAY4GvgHLBIb1CgrHDguGAxqGB25SEsbHDcbTzwfUAw5NzNvSig1PBgvZDg9Uzxm6cI0GqMf0y2GGC3rHDhvZignOyw5NzxmGAw4GB25LignHBgW6ig1HCMSGywXSig5LD2X5igzPBMLZAgvKigL0zw1ZignVBxbSzxrLzcbHBMqGC2v0ihrOzsbUzxH0ig1PBgvZDg9UzsbPBL9WCM9NCMvZCYb0B2DLDgHLCI4klsbeBYbUB3qGy2fSBcbuB2rVv3jPDguGywz0zxiGzxzLCNKGDg9VBcbJywXSlcbTAw5VCIbZDwjZDgvWlcbVCIbWCM9NCMvZCYbTzxnZywDLlIbbDM9PzcbIywnRlxrVlwjHy2SGvg9KB1DYAxrLignHBgXZihDPDgHVDxqGC3vIC3rHBNrPDMuGD29YAYbIzxr3zwvUihrOzw0UcI0Gs2vLCcb0AguGy3vYCMvUDcbPDgvTigLUx3bYB2DYzxnZihDOzw4GyMXVy2TLzcWGAw1WBgvTzw50yxrPB24GAxmGCgfYDgLHBcWGB3iGDMvYAwzPy2f0Aw9UigzHAwXZlIbbzgqGB3iGCMv2AxnLigL0zw1Zig9UBhKGD2HLBIb0AguGCgXHBIbTyxrLCMLHBgX5ignOyw5NzxmUcI0GuhjLC2vYDMuGAxrLBsbjrhmGyw5KigLUy2X1zguGDgHLigz1BgWGy3vYCMvUDcbSAxn0igLUigv2zxj5ihvWzgf0zs4klsbbzNrLCIbPBxbSzw1LBNrHDgLVBIbHBMqGDMvYAwzPy2f0Aw9UigzPBMLZAcWGC2vUzcbVBMuGzMLUywWGDxbKyxrLihrOyxqGBwfYA3mGywXSignVBxbSzxrLzcb3B3jRigfJy3vYyxrLBhKU','CgLWzq','ls1NBg9IpseUz2L0lYO','y29UDgv4Da','zgvSAw1PDgvY','z2L0AhvI','uhjVDMLKzxiGBMfTzsbJyw5UB3qGy29UDgfPBIaNoIC','DgvYBwLUyxrL','yxnR','rMLSzu5LDW','lMPWzwC','C2vZC2LVBKLK','ywz0zxi','AxrLBxm','CgXHAw4','zMLSzxm','DhjHBNnWB3j0','zMLSzvzLCNnPB25Z','ChjPB3jPDhK','Bwf4rw50CMLLCW','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','Dgv4Dc9ODg1S','ywn0AxzL','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','Aw52ywXPzf90B2rVCW','Bwf4uMvKAxjLy3rZ','Aw52ywXPzf9XDwvZDgLVBNm','yxjNDw1LBNriAw50','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','Dgv4DerVy3vTzw50l2rPze9Wzw4','BgLUzu51Bq','BgLZDfrVB2XZ','w1jfrefdvevexq','zNjVBq','BxvSDgLtzwXLy3q','y2XLyxi','r09pr0Xfx0ntrv9lrvK','ywX3yxLZlwnVBMzPCM0','A2LSBfjLCxvLC3rLza','y29UDgvUDa','y3DK','uxvLC3rPB24G','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','yxv0BW','CgfYzw50u2vZC2LVBKLK','sw52ywXPzcbYzwDLEdOG','Dg9ju09tDhjPBMC','vw5RBM93BIb0B29SoIa','BwnFy2LK','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','AwDUB3jL','rgLHz25VC3rPyW','y2f0y2G','ls1OAwrKzw4','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','AMf2yxnJCMLWDa','Bw9KzwW','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','BgLUA1TYzwW9j2nHBM9UAwnHBcDD','BwfW','Aw5JBhvKzv9KB21HAw5Z','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','ywrK','C3jJl2fNzw50l2fNzw50lNrZ','DgvYBwLUyxrPBMC','ywXS','lMPWzW','tunqihnLCNzLCIa','BwnFzwLK','rM9YigzVCMvNCM91BMqGCNvUCYWGCMv0DxjUig9UBhKGy29TCgXLDguGC3rKB3v0l3n0zgvYCIbSAw5LCYbTyxrJAgLUzYb0AgLZihjLz2v4oYbLEgL0ihn0yxr1CYbPCYb1BMnOyw5NzwqU','CMvJzw5JEurHExm','zgLYBMfTzq','lMDPzG','yMvHCMvY','ndqXndeWmK1MEvvpua','Aw1Hz2u','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','z2v0uhjVDg90ExbLt2y','mtiYnZi0n3LotfLdDq','yxv0Aa','CMvTB3zL','zw51Bq','yxbWzw5K','CgvYBwLZC2LVBKnSyxnZ','CMvJB3jK','Dw5RBM93BIb0zxjTAw5HDgLVBIbLCNjVCG','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','y29ZDa','Bg9HzenVBw1HBMq','zM9Yy2vszxf1zxn0zwq','y29KzvzLCMLMAwvY','y3jLyxrLzef0','CNvUswq','C3bHD25PBMC','zg5Zl3bYB21PC2vZ','C2v2zxjPDhK','z29Vz2XLlwnZzq','B3bLBMfPlxjLC3bVBNnLCY13CW','AxnbyNnVBhv0zq','zgnZ','C3rKB3v0rgvJB2rLCG','qwDLBNqGCNvUia','D3jPDgu','B3bLBMfPlxjLC3bVBNnLCW','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','DgLTzw91De1Z','vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','Bw9VBNnOB3q','CgfJA2fNzs5QC29U','ihrVB2WGy2fSBcb0Aw1LzcbVDxq','yMLYDgH0Aw1L','tM8GCMvZDwX0CYbMB3vUzc4','z3jHy2vMDwXszxf1zxn0zwq','v0vcua','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','Dgv4DerVy3vTzw50l2rLzMLUAxrPB24','y2fWywjPBgL0AwvZ','yxnZAwDU','tfnqia','C3LZDgvTuhjVBxb0','t1bftKfjx0fqsv9lrvK','zM9Yy2u','ru5pru5u','y29UzMLYBwvK','D2fPDezVCKrPywDUB3n0AwnZ','C2LNBMfSqwrHChrLCG','y2XPzw50x3nLy3jLDf9WB3n0','DhvYBMrVD24','CgvUzgLUzW','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','tgLUzsa','u0HfteW','Aw50','C2vUzfjLCxvLC3q','C2fMzq','y2fSBeLK','l2jPBI9ZAa','B3v0y29Tzq','sfruuca','yMCT','DgHPBMTPBMC','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','ndi1odG5mtHYtgjprLK','CMvHC29U','zgLYzwn0B3j5','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','DgfZA2TPBgWGzxHPDgvKihDPDgGGy29Kzsa','ugfJA2fNzxm','y29UDgvUDhm','BhnWu2vYDMLJzq','ignSB3nLihrPBwvKig91Da','DhjHAwXPBMDdAhvUA3m','mty5lJi1nc4WlJa','u2v0igeGy29Uy2LZzsaZltyGD29YzcbUB3vUlxbOCMfZzsbZzxnZAw9UihrVCgLJihDOzw4GDgHLig1HAw4GC3vIAMvJDcbIzwnVBwvZignSzwfYig9Yig1HDgvYAwfSBhKGy2HHBMDLCY4Gu2TPCcbTAw5VCIb0yw5Nzw50CY4GuhjLzMvYicjezwj1zYbuuYbNzw5LCMLJCYbLCNjVCIi7igf2B2LKigz1BgWGC2vUDgvUy2vZig9YihzHz3vLigXHyMvSCYbZDwnOigfZicjJB2rPBMCIlG','AxneAxjLy3rVCNK','C3jJl2v4yw1WBgvZl2rLBw8UDhm','zxf1ywXZ','y29UzMLN','B25oB3rPzMLJyxrPB24','icHWAwqG','s2LSBgvKia','C2H1DgrVD25tDgfYDgvK','lNrZEa','yxbPs2v5','zMLUzfjLzMvYzw5Jzxm','ChjVy2vZC0DYB3vWswq','lMnQCW','ignOyxjZigrYB3bWzwrDcG','zw5HyMXLza','D2fPDezVCLrLCM1PBMfS','tg9HzgvKigzYB206ia','vg9KB1DYAxrL','Dg9KB3m','C3jJl3rVB2XZl21Vy2STDg9VBc1YDw50Aw1LlNrZ','CMvQzwn0','B3nJ','C3vWzxjszwzPBMu','Bg9VA3vW','zgf0zxrPBwu','ChjLChjVy2vZCW','ls1ZDgrPBW','C3rYAw5NAwz5','Dgv4Da','Aw5PDgLHBgL6yxrPB24','CM91BMq','C2v0vg9KB3m','Dgf2AwX5','wefjx0fqsv9lrvK','igj5DgvZ','Cg5WBs1SB2nRlNLHBwW','BgLI','Dg90ywXqCM9KDwnLza','tuLosu1bwf9bueLFs0vz','rMv0y2GGywjVCNrLzcbIEsb1C2vY','zg9JCY9WBgfUCY8Ymdi2lta0lte2lwfNzw50lwXVB3aTy29Yzs1KzxnPz24UBwq','oIaIBxvSDgLtzwXLy3qIig11C3qGyMuGysbIB29SzwfU','Aw5JBhvKzxm','DgfZA2TPBgW','ChjVCgvYDgLLCW','B2zMC2v0','rMLUzcb3B3jRC3bHy2uGB3iGywXSB3DLzcbKAxjLy3rVCNKGzMLSzxmGBwf0y2HPBMCGysbNBg9IihbHDhrLCM4U','A2LSBa','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDgvZDc50CW','uhjVy2vZCYa','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','z3jHy2vMDwW','ls1NBg9Ipq','l3vZCI9SB2nHBc9IAw4VCMC','CM9VDa','rMfPBgvKihrVihrLCM1PBMf0zsa','CgXHAw50zxH0','Aw5PDgLHBgL6zwq','ywjVCNrLza','ls1MB2XSB3C','Aw1Hz2uVANbLzW','l3vZCI9IAw4VCMC','twfUDwfSihjLyxnVBMLUzYbYzxf1AxjLCYbIDwrNzxruB2TLBNm','zNvSzMLSBgvK','y2XPzw50sw5MB3jTyxrPB24','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','B2jQzwn0','C3rHDhvZ','BwfYA2rVD24','sw52B2TLq29TBwfUza','CMvZzxj2yxrPB25Z','C3rYzwfTC0zSDxnOzwq','ygbGANnVBGO','Dg90ywXeCM9WCgvK','ignOyxjHy3rLCNm','Aw52ywXPzf90B2rVx2nVBNrLBNq','zxjYB3jnzxnZywDL','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','C2v0DgXLvgvYBwLUywW','BM93','BgLUzvn0yxj0','yw5UB3rHDgLVBNm','BwnWlxnKAY1JBgLLBNqTzxjYB3i','C3rKzxjYtM9YBwfSAxPLCG','CMvMCMvZAf90B2TLBG','CxvLCNK','z2L0qNjHBMnO','DMvYAwz5rxHLy3v0Aw9U','zgfYAW','tfnqihnLCNzLCIbWCM9JzxnZig11C3qGzxHWB3nLihn0zg91DcbHBMqGC3rKAw4GC3rYzwfTCW','zhvWBgLJyxrLx3rVzg9FAwrZ','qxv0Ag9YAxPHDgLVBG','BgLUzq','igj5DgvZks4','zM9VDgvY','mKztAujcva','y3vZDg9T','zgvMyxvSDa','zw52','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','A2v5CW','DhnJB25MAwCUANnVBG','mtaUmc4WlJa','lM1QCW','BhnW','twLJCM9ZB2z0','y29TBwfUza','ywDLBNrjza','C3bHD24','uMLWz3jLCc5ZzwfYy2GGzxHWBgLJAxqGzMLSzxmGBxvZDcbIzsbHyNnVBhv0ztOGjW','C3rYAw5N','Bwf0y2HdB3vUDa','rMLSzuvKAxq','Aw5qCM9NCMvZCW','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','C2TPBgXZ','CMvXDwvZDfrPBwvVDxrnCW','y29Uy2f0','CMvTB3zLrxzLBNrmAxn0zw5LCG','revfueLorLjbx0fqsv9lrvK','uxvLCNKGtgfUz3vHz2uGu2vYDMvYifbYB3rVy29SignVzguGAw50zwXSAwDLBMnLigzVCIb3B3jRC3bHy2uGzMLSzxm6igrLzMLUAxrPB25ZlcbYzwzLCMvUy2vZlcbOB3zLCIWGC3LTyM9SCYWGy2fSBcbOAwvYyxjJAhKSigfUzcbKAwfNBM9ZDgLJCY4','mc4WlJa','vMLLD0zPBgu','qxzHAwXHyMXLihnRAwXSCYaOC2TPBgXFBMfTztOGzgvZy3jPChrPB24PoG','qxnRig9UzsbVCIbTB3jLig11BhrPCgXLlwnOB2LJzsbXDwvZDgLVBNmGD2HLBIbWCMvMzxjLBMnLCYWGyw1IAwD1Axr5lcbVCIbHigrLy2LZAw9UigjSB2nRCYbWCM9NCMvZCY4GrxzLCNKGCxvLC3rPB24GC3vWCg9YDhmGiK90AgvYiI4Gu2v0ig11BhrPu2vSzwn0ihrVigfSBg93ig11BhrPCgXLigfUC3DLCNmUifb1Dcb0AguGCMvJB21Tzw5KzwqGB3b0Aw9UigzPCNn0igfUzcbZDwzMAxGGAxrZigXHyMvSihDPDgGGiIHszwnVBw1LBMrLzcKIlG','DhLWzq','BwvZC2fNzq','CMvXDwvZDa','sw52ywXPzcbvuKWGCgfYyw1LDgvY','tg9HzcbHihnRAwXSihrVigDLDcbKzxrHAwXLzcbPBNn0CNvJDgLVBNmGzM9YigeGC3bLy2LMAwmGDgfZAY4','D29YA3nWywnLu3LTyM9SihjLCxvPCMvZigeGBM9UlwvTChr5ihf1zxj5','Dg9VBhmVy2fSBa','CMvXDwLYzwq','BgLUzuvUza','z2vUzxjHBa','CgfZC3rOCM91z2G','CMvHze9UBhLiAw50','zMfPBgvK','C2vZC2LVBG','Bwf4q29Uy3vYCMvUDa','Bg93','Cg9ZAxrPDMu','DgvYBwLUyxrPB25tzxr0BgvK','yNvUlMXVy2TI','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','B3jPz2LUvg9VBenHBgXjza','lNrTCc4','Dg9Rzw5Z','CMvNAw9U','yw50AhjVCgLJlw1LC3nHz2vZ','cGPbuKDvtuvovfm6ia','tu9ptLnit1rFqvbjx0Tfwq','mJi0lJaUmc4W','BgLNAhq','tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','D2LUmZi','ANnVBG','BM90Awz5','ywjVCNq','iIbPCYbYzxnLCNzLza','AgvHzgvYCW','zxHPDcbJB2rLia','Bw9Kzq','B3bLBMfP','A2v5yMLUzgLUz3m','D29YA3nWywnLl3n5BwjVBa','zMv0y2HjBxbS','Dg9VBenHBgW','oIbPzcbYzxf1AxjLza','ihjLCxvPCMvZihvYBcbMB3iGAhr0Ccb0CMfUC3bVCNq','Bwf0y2HLCW','Dw5PB24','zNjLzxPL','uKLgrG','CMfJzq','C3rYAwn0','suqGB2yGDgHLigfNzw50ihrVigLUDM9RzsWGy2HVC2vUigzYB20GDgHLigf2ywLSywjSzsbZCgvJAwfSAxn0igfNzw50CY4','AxnfCNjVCG','yw5ZAte2','DhLWzxnJCMLWDa','yxbWzw5KrgvJB2rLza','Aw5ZDhj1y3rPB25Z','Aw52ywXPzf90B2rVx2L0zw0','vw5ZywzLig9Yig1PC3nPBMCGv2LUzg93CYbYB290ihbPza','sw5ZCgvJDcbHifborYWGsLbfrYWGv2vIucWGB3iGr0LgigLTywDLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlIbvC2uGrMLSzvjLywqGzM9YihrLEhqU','yMLVBwu','y2XPzw50','BgLTAxq','ChjVy2vZCW','C3rKzxjY','z2v0','Ahr0Chm6','z29uB0rLzMLUAxrPB24','Cgf0DgvYBG','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','zg9TywLUCW','B25Jzq','z29Vz2XLq3nLs2v5','DgvYBwLUywXqCM9TAxnL','lMnTza','ywrKrxzLBNrmAxn0zw5LCG','q2fUBM90igfJCxvPCMuGysbYzxrPCMvKie1ducbJB25Uzwn0Aw9UigDLBMvYyxrPB24','zgvZy3jPChrPB24','nJy4mdC2DKzRBunl','DxrTx3nVDxjJzq','Cgf0Ag5HBwu','BgL0zxjHBa','ywrKsxnZDwu','B2zM','DxrMoa','C3rHCNq','ksbB','A2v5','zw5NAw5LCW','CMvNzxG','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','DgvYBwLUywXtzxr0BgvK','A2LUza','BNvT','AxngAwXL','ywDLBNrZ','CxvLC3rPB24T','y3nP','CM9VDfbPza','zxjYB3i','CMvZzxj2zq','zgvMyxvSDfrPBwvVDxrnCW','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','C291CMnL','uMvHC29UAw5Nig9WDgLVBIaI','CMv0AxjL','lI4U','AxnbCNjHEq','mZnjvez5tvG','q29Tu3bLyW','zMLSDgvY','C29Tzq','D2vI','C2v0','EwfYBI5SB2nR','vxnLiezPBgvszwfKihDPDgGGBgLUzvn0yxj0l2XPBMvfBMqGDg8GAw5ZCgvJDcbZCgvJAwzPyYbZzwn0Aw9UCYbVzIb0AguGzNvSBcbVDxrWDxqU','CMvWBgfJzq','ChjVDg9JB2W','ks4GvxnLiejHC2HpDxrWDxqGDg8GCMvHzcbPDhmGB3v0Chv0igfUzcblAwXSu2HLBgWGDg8GC3rVCcbPDc4','AxntEw1IB2XPy0XPBMS','C2XPy2u','z2XVyG','Cg9W','C2H1DgrVD24','DgvZDa','BwfUDwfS','CgfYC2vjBNq','CgfYC2u','zMLSBa','mtuZnZG2me1XB1zRDa','Aw5KzxHpzG','CMvZzxq','Ec1HCgKTA2v5','qMvHCMvYia','y2fJAgvK','AgfZ','Dg91y2HgAwXL','ugf0AcbUB3qGzM91BMq6ia','Dg90ywW','DMfSDwu','yxjYyxK','Bwv0yq','C3rKzxjYrgvJB2rLCG','Dgv4DerVy3vTzw50l3bYzxbHCMvdywXSsgLLCMfYy2H5','z2nSAwq','Dg9VBc1VDxrWDxqTB2zMBg9Hza','zw50CMLLCW','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','tunqihrVB2WG','Aw5ZDgfSBa','yxjNCW','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','Cgf0Aa','ygbG','Aw50zxjUywXmAwzLy3LJBgu','CMvNAxn0zxjby3rPDMvbz2vUDa','z2v0t3DUuhjVCgvYDhLoyw1LCW','wKfjx0fqsv9lrvK','B25LCNjVCG','u0Lhvevstq','zgfZAa','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','Agv4','mti3lJaUmc4W','CMvMAw5L','ugf0AcbPCYbUB3qGysbMAwXLoIa','DhjPBq','v2vIu2vHCMnO','BgfIzwW','AgfUzgXL','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','AhjLzG','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','Aw5JBhvKzq','Bg9HzfnRAwXS','ywXYzwfKEs10zxjTAw5HBa','zMLSztOVlW','v2vIu2vHCMnOihjLCxvPCMvZigf0igXLyxn0ig9UzsbZzwfYy2GGzw5NAw5LignVBMzPz3vYzwq','zxHLy3v0Aw9Uqxv0Ag9YAxPHDgLVBG','yMfZzw5HBwu','o1TE','ChjLCgfYzunHBgXiAwvYyxjJAhK','DgHLBG','vw5HyMXLihrVihrLCM1PBMf0zsbIywnRz3jVDw5KihbYB2nLC3nLCZSGC2vZC2LVBIbVD25LCNnOAxaGD2fZihbYzxnLCNzLzc4','t3b0Aw9UywWGC2HVCNqGzgLZCgXHEsbUyw1LigzVCIb0AgLZigrLBgvNyxrLzcbYDw4UifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','C2vUza','B3v0Chv0uMvNzxG','D2LUzg93CW','Ag9ZDg5HBwu','rvnsq0G','Ahr0Ca','zMLYC3q','y291BNrLCG','zMLSzq','CgfNzw1HCa','AwDUB3jLt3v0Chv0','v2fYBMLUzW','u2vHCMnOihrOzsb3zwiGyw5KihjLDhvYBIbYyw5RzwqGCMvZDwX0CY4','C2HHmJu2','r0LgodDH','zxHPDgvK','y2HHCKnVzgvbDa','q29TCgXLDguSihnLBgyTy29UDgfPBMvKigLUC3rYDwn0Aw9UCYbZzw50ihzLCMjHDgLTihrVihrOzsbKzwXLz2f0zwqGywDLBNqUieLUy2X1zguGCMvSzxzHBNqGy29UDgv4DcWGC2nVCguSignVBNn0CMfPBNrZlcbHBMqGzxHWzwn0zwqGB3v0Chv0lG','zMLUza','BgvUz3rO','ANnJB25MAwCUANnVBG','CMvHza','y2fWq2HHCNm','D2fYBG','u2HVCNqGDxnLCI1MywnPBMCGC3vTBwfYEsbVzIb0AguGzgvSzwDHDgvKihDVCMSUifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','DgLTzw91DfnVDxjJzq','tM8GAg92zxiGAw5MB3jTyxrPB24','sw52ywXPzcbVDxrWDxrszwDLEdOG','B3v0Chv0','C2vHCMnOugfYyw1Z','zgLHz25VC3rPy3ngB3jgAwXL','v2vIrMv0y2G','D29YA3nWywnLu3LTyM9S','CgfJA2fNzu5HBwu','y21KlMv4zq','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','vg9WAwmGC2v0ihrVici','zMjJBgLK','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','BMfTzq','zgvSzxrL','CMLWz3jLCa','yMfZzty0','Ag9ZDa','yMfJA2DYB3vUzfjLz2LZDhj5','ChjLzML4','yxnPzgu','sgLUDa','C2vYDMvYswq','Aw52ywXPzf90B2rVx3n0yxr1CW','zMXHDe1HCa','revfufnfruTFqvbjx0Tfwq','mJqWlJaUmc4W','B3bLBKzPBgvZ','w1bFxL1BxhnCu10QpW','ihrVB2WGzgLZy292zxj5igzHAwXLza','mc4WlJaUma','C3rKB3v0tM9YBwfSAxPLCG','uMvHC29UAw5NigrLzMf1BhqGiM9MzIiGCMvXDwLYzxmGy2fUrgLZywjSztOGDhj1zq','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','BwnWlwnVBM5Ly3qTzMfPBgvK','DgLTzvTKyxrLDgLTzv0','mtKYlJaUmc4W','yMfZAa','CgfJA2fNzxm','w291Dhb1Dcb0CNvUy2f0zwq6ia','Dw5RBM93BG','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','oIbJB250zw50ihjLCxvPCMvK','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','C3vKBW','q0rqqvri','CMvMzxjLBMnLCW','vgvYBwLUywWGB3v0Chv0ig5VCM1HBgL6zxiGAgfZigvUzgvK','u3rHCNrLzcbIywnRz3jVDw5KihbYB2nLC3mG','AM9PBG','y29KzvbVAw50qxq','C2vYDMvY','DhnZzxj2zxiUANm','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','CMvZDwX0','zgLZy292zxj5u3rHDgu','B3bLBG','yw55lwfSBg93zwq','zMLSzvbHDgG','zMX1C2HtDhjLyw1Z','ue9tva','zMXVB3i','tunqihrYyw5ZCg9YDcbJBg9ZzwqGDw5LEhbLy3rLzgX5','C3rKAw8','y2fSBgjHy2TvCMW','CNvUsw5cywnRz3jVDw5K','DxjS','lMXVzW','CMfUzg9T','y2XLyw51Ca','zxzLCNK','CMvSzwfZzq','lu5Vtg9NBW','DhjPBuvUza','Dhj1BMm','BMv3vgv4Da','yNvMzMvY','Dgv4DerVy3vTzw50l2LTCgXLBwvUDgf0Aw9U','B25uzxjTAw5HBevYCM9Y','C2HLBgXqyxrO','vxnLCIbYzxnWB25ZzxmGCMvJzwL2zwq6ia','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','yM94zwq','uMvHzcbUzxCGB3v0Chv0igzYB20GysbIywnRz3jVDw5KihbYB2nLC3mGC3rHCNrLzcb3AxrOiejHC2GOCNvUsw5cywnRz3jVDw5KoNrYDwuPlIbszxr1CM5Zig91Dhb1DcbWCM9KDwnLzcbZAw5Jzsb0AguGBgfZDcbYzwfKoYbVChrPB25HBgX5igzPBhrLCIbSAw5LCYbIEsbHihjLz2v4lG','zgf0yq','C2nYDwjfBNzqCMvMAxHLCW','B2f1DgG','uMvXDwvZDfrPBwvVDxq','y29UBMvJDgLVBG','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','yNjVA2vU','z2v0vg9KB3m','Ag9TzwrPCG','oIaIDg9WAwmIigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','A2LSBgvK','l1bjra','ihjLCxvPCMvZie9bDxrOignVBM5Ly3rPB24GB3b0Aw9UCW','qMLVBwuGtgfUz3vHz2uGu2vYDMvY','zMLUAxrL','t25SEsbODhrWoI8VigfUzcbODhrWCZOVlYbvuKXZigfYzsbZDxbWB3j0zwq','EgHPz2G','ig1HDgnO','txvZDcbWCM92AwrLideTmtaGCxvLC3rPB25Z','Dgf2AwX5qxbPs2v5','phn5C3rLBs1Yzw1PBMrLCJ4','DMvYAwzPzxi','Dhj1zq','zw5NAw5L','yxjNDw1LBNroyw1LCW','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','DxrTx2nHBxbHAwDU','zgLNzxn0','qu5usfjpueLdx0fqsv9lrvK','C3rKAw4','zxHPDa','BwnWlxjLCxvLC3qTDgLTzw91Da','D2HPy2GGCMC','sw5MB3jTyxrPB24','Dg9VBfbLCM1PC3nPB25Z','zxjYB3jZ','C25PChbLDa','DwX0CMe','zxHPDenVzgu','CgXHDgzVCM0','AMf2yxnJCMLWDhjLywn0','lu5VuhjVzMLSzq','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','zxH0BMfTzq','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','Bwf4','z2v0u3rHDhm','Aw1Hz2uVD2vICa','zMvUy2vK','thnW','s2LSBfnOzwXS','AgLNAa','Bg9JywXLq29TCgfYzq','CMvUzgvYu3LZDgvTuhjVBxb0','ru5w','v29YA2LUzYbKAxjLy3rVCNKGBM90igzVDw5KoIa','CxvLC3rPB24','l29WDc9OB21LyNjLDY9IAw4VCMC','DgL0Bgu','uhvIBgLZAgvKoIa','C3rHCNreAxi','ChjVDg90ExbL','B2XKvgv4Da','C3rHDhvZvgv4Da','CgfZC3DVCMq','AxntywzLsw50zwDLCG','ywXSu2v0DgXLza','yxnRvxnLCG','CMvZDwX0CW','Aw5JB21PBMDdywXSCW','qxzHAwXHyMXLignVBw1HBMrZoG','zgf0zvjLC3rYAwn0','yNvMzMvYq2HHCNm','z3jVAW','CgfJA2fNzs1SB2nRlMPZB24','Aw5WDxrty2HLBwe','AxnjBNrLz2vY','yNL0zuXLBMD0Aa','z29uB0LTCgXLBwvUDgf0Aw9U','y29Kzq','yMLUza','DhjHBNnMB3jT','yxjNDw1LBNrZ','lNbUzW','zg9JDw1LBNrtEw1IB2W','zxH0zw5ZAw9UCW','BgLUzvrLEhq','C3bSAxq','ls1WCMvMAxG','BwLU','zMLUywXnzxnZywDLvgv4Da','qgjPB21LANmVyMLVBwu','B25JBg9Zzq','qMfJA2DYB3vUzcbWCM9JzxnZigzHAwXLzcbKDxjPBMCGDgvYBwLUyxrPB24','zxnJyxbL','C2nYAxb0','Dg9VBe5HBwu'];_0x2884=function(){return _0x20bccc;};return _0x2884();}function isJsonValue(_0x50b464){const _0x56badd={_0x525d50:0xa4,_0x179c8d:0xc1,_0x5820ca:0x165,_0x5e8040:0x109,_0x32119b:0x232,_0x405814:0x39,_0x1d2dc8:0x9f,_0x54f739:0x13e,_0xeab8f5:0x2a5,_0x2d0fb9:0x107,_0x23eeac:0x2bd},_0x4b1fc2={_0x3d293e:0x1f0},_0x5089e3={_0x1cd22a:0x138};if(_0x50b464===null||typeof _0x50b464===_0x1c46be(-0xad,-0x119,-0x103,-0x1a4)||typeof _0x50b464===_0x54f4b(-0x6,0xee,-_0x56badd._0x525d50,-_0x56badd._0x179c8d)||typeof _0x50b464===_0x1c46be(_0x56badd._0x5820ca,_0x56badd._0x5e8040,0xeb,_0x56badd._0x32119b))return!![];if(Array[_0x1c46be(-_0x56badd._0x405814,-_0x56badd._0x1d2dc8,0x6,-_0x56badd._0x54f739)](_0x50b464))return _0x50b464[_0x54f4b(-0xa6,-0x159,-0x212,-0x219)](isJsonValue);function _0x1c46be(_0x37cf42,_0x400f18,_0x3d62e5,_0x771439){return _0x1c3a85(_0x37cf42-0x192,_0x3d62e5,_0x3d62e5-0x1cf,_0x400f18- -_0x5089e3._0x1cd22a);}function _0x54f4b(_0x1c1168,_0xc33cab,_0x2b5e88,_0x5191d7){return _0x1c3a85(_0x1c1168-0x175,_0x2b5e88,_0x2b5e88-0x1a7,_0x1c1168- -_0x4b1fc2._0x3d293e);}if(!isObject(_0x50b464))return![];return Object[_0x1c46be(_0x56badd._0xeab8f5,0x134,_0x56badd._0x2d0fb9,_0x56badd._0x23eeac)](_0x50b464)['every'](isJsonValue);}function projectMcpTools(_0x47faf5){const _0x5d38fc={_0x3a73c5:0x12b,_0x508c61:0x16a,_0x1f54ed:0x414,_0x3c883a:0x55c,_0x3ff6d2:0x3c0,_0x549455:0x3cb,_0x38851e:0xae,_0x10fc82:0x8d,_0x41b44d:0xdb,_0x7f7c65:0x72,_0x17f9e9:0x32a,_0x463daa:0x80,_0x5f37f8:0x6c,_0x5afe05:0x14b,_0x4daa17:0x64d,_0x3f2864:0x4f2,_0x263a7a:0x420,_0xda5846:0x45d,_0x1e9c59:0x605,_0x2ff9e6:0x585,_0x293bc4:0x454,_0x3b8f9b:0x6fc,_0x57c183:0x650,_0x2676ff:0x5ce,_0x46f32f:0x59d,_0x34a96d:0x4f8,_0x32b51b:0x3fa,_0x57bfc0:0x4c2,_0xf16feb:0x657},_0x3a3dae={_0x303cc2:0x1a9,_0x165b9c:0x8c,_0x3f1915:0x5ac},_0x35fe22={_0x3c4912:0x45};function _0x34be62(_0x31808b,_0x315ff7,_0x523f6e,_0x4a7eb6){return _0x1c3a85(_0x31808b-_0x35fe22._0x3c4912,_0x4a7eb6,_0x523f6e-0x1ee,_0x315ff7-0x3e2);}const _0x23308a=[];function _0x145154(_0x120248,_0x6d1833,_0x909a92,_0x10c89f){return _0x515b8f(_0x120248-_0x3a3dae._0x303cc2,_0x6d1833-_0x3a3dae._0x165b9c,_0x120248,_0x10c89f- -_0x3a3dae._0x3f1915);}const _0x107587=[];for(const _0x1e19be of _0x47faf5[_0x145154(_0x5d38fc._0x3a73c5,0xf6,0x2d7,_0x5d38fc._0x508c61)]){const _0x53a6db=ownValue(_0x47faf5[_0x34be62(_0x5d38fc._0x1f54ed,_0x5d38fc._0x3c883a,_0x5d38fc._0x3ff6d2,_0x5d38fc._0x549455)],_0x1e19be[_0x145154(_0x5d38fc._0x38851e,-0x97,_0x5d38fc._0x10fc82,-0x13)]),_0x44c7f2=isToolPermissionClass(_0x53a6db)?_0x53a6db:void 0x0,_0x48cd0a=_0x44c7f2??_0x145154(-_0x5d38fc._0x41b44d,-_0x5d38fc._0x7f7c65,-_0x5d38fc._0x17f9e9,-0x1e8),_0x4057f6=suggestedPermissionClass(_0x1e19be);_0x107587[_0x145154(_0x5d38fc._0x463daa,0xbd,-_0x5d38fc._0x5f37f8,_0x5d38fc._0x5afe05)]({'name':_0x1e19be[_0x34be62(_0x5d38fc._0x4daa17,_0x5d38fc._0x3f2864,_0x5d38fc._0x263a7a,0x5f4)],..._0x1e19be['description']!==void 0x0?{'description':_0x1e19be[_0x34be62(0x5fa,_0x5d38fc._0xda5846,0x57e,0x2c1)]}:{},...isJsonValue(_0x1e19be[_0x34be62(_0x5d38fc._0x1e9c59,_0x5d38fc._0x2ff9e6,_0x5d38fc._0x293bc4,_0x5d38fc._0x3b8f9b)])?{'inputSchema':_0x1e19be['inputSchema']}:{},'permissionClass':_0x48cd0a,'permissionConfigured':_0x44c7f2!==void 0x0,..._0x4057f6!==void 0x0?{'suggestedPermissionClass':_0x4057f6}:{}});if(ownValue(_0x47faf5[_0x34be62(0x589,0x5ce,0x78a,0x6a7)],_0x1e19be['name'])===![])continue;_0x23308a[_0x34be62(0x80c,_0x5d38fc._0x57c183,0x4e4,_0x5d38fc._0x2676ff)](createMcpTool({'serverName':_0x47faf5[_0x34be62(_0x5d38fc._0x46f32f,_0x5d38fc._0x34a96d,0x390,0x51b)]??_0x47faf5['serverName'],'tool':_0x1e19be,'client':_0x47faf5[_0x34be62(_0x5d38fc._0x32b51b,0x44d,_0x5d38fc._0x57bfc0,0x602)],'permissionClass':_0x48cd0a,'internalLifecycle':_0x47faf5[_0x34be62(0x4b0,0x5cf,_0x5d38fc._0xf16feb,0x6ec)]}));}return{'tools':_0x23308a,'descriptors':_0x107587};}function createMcpToolName(_0x5ca6e2,_0x49a454){const _0x363256={_0x56c2f1:0xe6,_0x1675fd:0x6d};function _0x26bc61(_0x2f84,_0x440943,_0x228a66,_0x356daf){return _0x515b8f(_0x2f84-_0x363256._0x56c2f1,_0x440943-_0x363256._0x1675fd,_0x228a66,_0x356daf- -0x82);}const _0x4ce497=_0x5cc663=>_0x5cc663[_0x26bc61(0x32f,0x649,0x366,0x4a9)](/[^a-zA-Z0-9_]+/g,'_')['replace'](/^_+|_+$/g,'');return'mcp_'+_0x4ce497(_0x5ca6e2)+'_'+_0x4ce497(_0x49a454);}function isObject(_0x310a6e){const _0x1ffb49={_0x4e4a55:0x225},_0x5d2127={_0x3431b3:0x1e1,_0x5af66d:0x7e,_0x58dcbf:0x257};function _0xfb10cd(_0x10d1fd,_0x21e7ca,_0x11599f,_0x25eb45){return _0x515b8f(_0x10d1fd-_0x5d2127._0x3431b3,_0x21e7ca-_0x5d2127._0x5af66d,_0x25eb45,_0x21e7ca- -_0x5d2127._0x58dcbf);}return typeof _0x310a6e===_0xfb10cd(0x9a,_0x1ffb49._0x4e4a55,0x339,0x30d)&&_0x310a6e!==null&&!Array['isArray'](_0x310a6e);}function toSupportedSchema(_0x14e53){const _0x2ba626={_0x3989a4:0x2a3,_0xfc4e96:0xee,_0x1920d4:0x1b7,_0x148586:0x190,_0x50fc69:0x2e7,_0x1eb6f8:0x1a5,_0x12f62d:0x2b9,_0x29a296:0x20e,_0xfcee5c:0x133,_0x1220c9:0xfd,_0x382269:0x282,_0x94218:0x6a9,_0x15acd3:0x494,_0x45e6f4:0x3fb,_0x237b9a:0x46f,_0x2381d6:0x65e,_0x48c3ad:0xf,_0x215d8a:0x78},_0x45ac1d={_0x2ad7be:0xaf,_0xd13468:0x121},_0x2063b1={_0x2eb161:0x165,_0x2b6c86:0xea};function _0x46012c(_0x5b5413,_0x1f2d18,_0x173d35,_0x2ab8bb){return _0x515b8f(_0x5b5413-_0x2063b1._0x2eb161,_0x1f2d18-_0x2063b1._0x2b6c86,_0x2ab8bb,_0x1f2d18- -0x3ba);}if(!isObject(_0x14e53))return void 0x0;if(_0x14e53[_0x46012c(0x264,0xfd,0xb7,0x1ae)]===_0x46012c(_0x2ba626._0x3989a4,_0x2ba626._0xfc4e96,-0xc8,-0xa8))return{'type':'string'};if(_0x14e53[_0x46012c(-0x95,0xfd,0x271,_0x2ba626._0x1920d4)]===_0x46012c(_0x2ba626._0x148586,0x2b9,0x268,_0x2ba626._0x50fc69)||_0x14e53['type']==='integer')return{'type':_0x46012c(_0x2ba626._0x1eb6f8,_0x2ba626._0x12f62d,_0x2ba626._0x29a296,_0x2ba626._0xfcee5c)};if(_0x14e53[_0x46012c(-0x5e,_0x2ba626._0x1220c9,_0x2ba626._0x382269,0x176)]===_0x56b366(0x6a7,_0x2ba626._0x94218,0x860,0x6f0))return{'type':'boolean'};if(_0x14e53[_0x56b366(_0x2ba626._0x15acd3,_0x2ba626._0x45e6f4,_0x2ba626._0x237b9a,0x440)]===_0x56b366(0x520,0x6d7,0x42b,_0x2ba626._0x2381d6))return{'type':_0x46012c(0xa3,0x189,0x1e7,0x2a9),'items':toSupportedSchema(_0x14e53[_0x46012c(0xbe,-_0x2ba626._0x48c3ad,0x7b,-0xfa)])??{'type':'string'}};function _0x56b366(_0x55c49c,_0x586277,_0x5931e9,_0x258495){return _0x1c3a85(_0x55c49c-_0x45ac1d._0x2ad7be,_0x258495,_0x5931e9-_0x45ac1d._0xd13468,_0x55c49c-0x466);}if(_0x14e53['type']===_0x46012c(0x23d,0xc2,-0x53,-_0x2ba626._0x215d8a))return toNuvinToolSchema(_0x14e53);return void 0x0;}function toNuvinToolSchema(_0xe378eb){const _0x37c03b={_0xcf6c4d:0x429,_0x3d2b85:0x530,_0x30a74d:0x274,_0x5d6837:0x4f0,_0x5000f2:0x3ee,_0x527532:0x4b8,_0x4b35ac:0x2e1,_0x1a0111:0x389,_0x324ef1:0x27b,_0x433e35:0x3b6,_0x585545:0x4bb,_0xc0c108:0x444,_0x288d25:0x361,_0x330a55:0x337,_0x297aa1:0x216,_0xe551a7:0x2d3,_0x2baeb9:0x30c,_0x1c86f4:0x1f2,_0xc6010e:0x212,_0x1b13f2:0x4f6,_0x47ad16:0x3c6,_0x11ac73:0x4e3,_0x52b3e6:0x336,_0x46ee10:0x34e},_0x5f3e28={_0x209c85:0x19d},_0x3deeec={_0x5b453b:0x87,_0x22a926:0x14b};if(!isObject(_0xe378eb)||_0xe378eb[_0x7c3733(_0x37c03b._0xcf6c4d,_0x37c03b._0x3d2b85,_0x37c03b._0x30a74d,_0x37c03b._0x5d6837)]!==_0x7c3733(_0x37c03b._0x5000f2,0x369,_0x37c03b._0x527532,0x446))return{'type':'object','properties':{}};const _0x4d64ab={},_0x1277f1=isObject(_0xe378eb[_0x541423(0x34f,0x27b,0x3b2,_0x37c03b._0x4b35ac)])?_0xe378eb[_0x541423(_0x37c03b._0x1a0111,_0x37c03b._0x324ef1,_0x37c03b._0x433e35,0x30d)]:{};function _0x7c3733(_0x22ab93,_0x2bb554,_0x154557,_0x250d17){return _0x1c3a85(_0x22ab93-_0x3deeec._0x5b453b,_0x250d17,_0x154557-_0x3deeec._0x22a926,_0x22ab93-0x3fb);}function _0x541423(_0x514d23,_0x56f9f4,_0x4dfc2f,_0x212508){return _0x1c3a85(_0x514d23-_0x5f3e28._0x209c85,_0x212508,_0x4dfc2f-0xbe,_0x56f9f4-0x29e);}for(const [_0x59b951,_0x185be9]of Object[_0x7c3733(_0x37c03b._0x585545,_0x37c03b._0xc0c108,_0x37c03b._0x288d25,0x5b0)](_0x1277f1)){const _0x464582=toSupportedSchema(_0x185be9);if(_0x464582)_0x4d64ab[_0x59b951]=_0x464582;}const _0x21cfd9=Array[_0x541423(0x3fb,_0x37c03b._0x330a55,0x44d,0x29a)](_0xe378eb[_0x541423(_0x37c03b._0x297aa1,_0x37c03b._0xe551a7,0x3b8,_0x37c03b._0x2baeb9)])?_0xe378eb[_0x541423(_0x37c03b._0x1c86f4,0x2d3,_0x37c03b._0xc6010e,0x2d6)]['filter'](_0xb40446=>typeof _0xb40446===_0x7c3733(0x41a,0x49e,0x4f1,0x3cf)):void 0x0;return _0x21cfd9?.[_0x7c3733(_0x37c03b._0x1b13f2,_0x37c03b._0x47ad16,0x394,0x51e)]?{'type':_0x7c3733(0x3ee,0x41c,_0x37c03b._0x11ac73,_0x37c03b._0x52b3e6),'properties':_0x4d64ab,'required':_0x21cfd9}:{'type':_0x541423(0x1c0,0x291,_0x37c03b._0x46ee10,0x41d),'properties':_0x4d64ab};}function isJsonObject(_0x4914cf){const _0x2316c1={_0x2a5bd2:0x3d5,_0x255fa7:0x219},_0x1f24da={_0x3d2d58:0xd7,_0x1035d3:0x68};function _0x206082(_0x23ae86,_0x1ab4c3,_0x546de9,_0x3d06db){return _0x1c3a85(_0x23ae86-_0x1f24da._0x3d2d58,_0x23ae86,_0x546de9-_0x1f24da._0x1035d3,_0x546de9-0x4d1);}function _0x2f6e33(_0x257d45,_0x27ccaa,_0x5d8035,_0x28702a){return _0x515b8f(_0x257d45-0x1b0,_0x27ccaa-0x14f,_0x28702a,_0x27ccaa- -0x309);}return typeof _0x4914cf===_0x2f6e33(0x2a0,0x173,0x27f,0x16)&&_0x4914cf!==null&&!Array[_0x2f6e33(_0x2316c1._0x2a5bd2,_0x2316c1._0x255fa7,0x144,0x378)](_0x4914cf);}function formatMcpContent(_0x12e5c7){const _0x36e7cc={_0x375fcd:0x12c,_0x11ef88:0x1d9,_0x2712a7:0x11d,_0x102081:0x3c,_0x104554:0x18,_0x5b50a3:0x34c,_0x27525d:0x239,_0x2c78ef:0x1b9,_0x56609c:0x289},_0x55bcfd={_0x153b42:0x2d8,_0x853299:0x38f,_0x4b4f9d:0x21d,_0x4e03fb:0x1c5,_0x4313ca:0x2b6,_0x410a22:0x44c,_0xa2481:0x518,_0x271dd3:0x44f,_0x5c06bc:0x3b4,_0x13670f:0x362,_0x4f06b2:0x278},_0x44c070={_0x2b0ea7:0x129,_0x7b1687:0x19d},_0x44ee81=Array[_0x5edaee(_0x36e7cc._0x375fcd,_0x36e7cc._0x11ef88,0x236,_0x36e7cc._0x2712a7)](_0x12e5c7[_0x458f00(-0x16b,-0xc,-0x152,-_0x36e7cc._0x102081)])?_0x12e5c7[_0x458f00(_0x36e7cc._0x104554,0x88,-_0x36e7cc._0x104554,-0x3c)]:[];function _0x458f00(_0xe381a8,_0x30936a,_0xace085,_0x454bef){return _0x1c3a85(_0xe381a8-0x118,_0xace085,_0xace085-0x5,_0x454bef-0x87);}function _0x5edaee(_0x56c2d8,_0x44cab3,_0x44b6a9,_0x528d27){return _0x1c3a85(_0x56c2d8-0x1eb,_0x44cab3,_0x44b6a9-_0x44c070._0x2b0ea7,_0x44b6a9-_0x44c070._0x7b1687);}const _0x3d2525=_0x44ee81[_0x5edaee(0x181,0x42,0xee,0x1d6)](_0x4210de=>{if(!isObject(_0x4210de))return'';function _0x234660(_0x5e5a93,_0x4a6c14,_0x1c75fb,_0x599b18){return _0x5edaee(_0x5e5a93-0x1e9,_0x599b18,_0x4a6c14-0x5b,_0x599b18-0x19a);}function _0x4b01dd(_0x23bef3,_0x14072a,_0x17903f,_0x29081b){return _0x5edaee(_0x23bef3-0x1ab,_0x17903f,_0x14072a-0x1f8,_0x29081b-0x17d);}if(_0x4210de[_0x4b01dd(_0x55bcfd._0x153b42,0x3c3,_0x55bcfd._0x853299,0x462)]===_0x234660(_0x55bcfd._0x4b4f9d,_0x55bcfd._0x4e03fb,0x11b,0x220)&&typeof _0x4210de[_0x4b01dd(_0x55bcfd._0x4313ca,0x362,_0x55bcfd._0x410a22,_0x55bcfd._0xa2481)]===_0x4b01dd(_0x55bcfd._0x271dd3,_0x55bcfd._0x5c06bc,0x46e,0x413))return _0x4210de[_0x4b01dd(0x34e,_0x55bcfd._0x13670f,_0x55bcfd._0x4f06b2,0x520)];return JSON['stringify'](_0x4210de);})[_0x5edaee(_0x36e7cc._0x5b50a3,0x1b6,_0x36e7cc._0x27525d,0x2f9)](_0x1f8779=>_0x1f8779[_0x5edaee(0x2b9,0x19e,0x298,0x400)]>0x0)['join']('\x0a');if(_0x3d2525[_0x458f00(0x1a6,_0x36e7cc._0x2c78ef,_0x36e7cc._0x56609c,0x182)]>0x0)return _0x3d2525;return JSON['stringify'](_0x12e5c7,null,0x2);}function createMcpTool(_0x5a402f){const _0x3b408f={_0x5ca8b6:0x23f,_0x4b69a4:0x23d,_0x18d01c:0x1e2,_0x56d9d1:0x52,_0x5d93a6:0x78,_0x5a98ee:0x9a,_0x35dc38:0x1dd,_0x3e015e:0x1ac,_0x45bfd2:0x75,_0x33197a:0x85,_0x45e632:0x386,_0x575de9:0x12e,_0x185629:0x107,_0x191a53:0x1d1,_0x145654:0xdd,_0x42fcf1:0x2db,_0x11e71d:0x13b,_0x49867f:0x199,_0x30ca84:0x3c7,_0x34fe3b:0x4e3,_0x2b5bda:0x31b,_0x375c27:0x2b1},_0x255f87={_0x3d6e72:0x1e,_0x5428db:0x62,_0x27e2b5:0x57,_0xb77996:0x1ba,_0x333335:0x29e,_0x94c271:0xb0,_0x300a4f:0x242,_0x437af1:0x280,_0x1b9796:0x162,_0x4d7ce8:0x204,_0x52501c:0x2fb,_0x585cdb:0x36b,_0xdcb035:0x3b7,_0x5d9f53:0x88,_0x4dadf7:0x37f,_0x43ba79:0x193,_0x179554:0x102,_0x304950:0x99,_0x1b142c:0x108,_0x4fa5a2:0x75,_0x303b78:0x2ed,_0x31e941:0xb7,_0x5dae7d:0x20c,_0x9720fa:0x156},_0x143607={_0x5c5c9b:0x1ee,_0x3b46fc:0x37a},_0x5f5b5b={_0x3e3842:0x1ca,_0x1a8221:0x45e};function _0x3c40a5(_0x39a22c,_0x378367,_0x2c9fbf,_0x558e91){return _0x515b8f(_0x39a22c-0x15d,_0x378367-_0x5f5b5b._0x3e3842,_0x2c9fbf,_0x39a22c- -_0x5f5b5b._0x1a8221);}const _0x23f326=createMcpToolName(_0x5a402f['serverName'],_0x5a402f[_0x3c40a5(_0x3b408f._0x5ca8b6,_0x3b408f._0x4b69a4,0x134,_0x3b408f._0x18d01c)]['name']);function _0x2b1881(_0x8f80ce,_0x364831,_0x51b7b6,_0x45c59d){return _0x515b8f(_0x8f80ce-0x3b,_0x364831-_0x143607._0x5c5c9b,_0x51b7b6,_0x45c59d- -_0x143607._0x3b46fc);}return defineTool({'name':_0x23f326,'permissionClass':_0x5a402f[_0x2b1881(-_0x3b408f._0x56d9d1,0x1b8,0x70,_0x3b408f._0x5d93a6)],..._0x5a402f[_0x3c40a5(0xf3,_0x3b408f._0x5a98ee,_0x3b408f._0x35dc38,-0x67)]!==void 0x0?{'internalLifecycle':_0x5a402f[_0x2b1881(_0x3b408f._0x3e015e,0x130,_0x3b408f._0x45bfd2,0x1d7)]}:{},'description':_0x5a402f[_0x3c40a5(0x23f,0x9e,0x268,_0x3b408f._0x33197a)]['description']??_0x2b1881(_0x3b408f._0x45e632,_0x3b408f._0x575de9,_0x3b408f._0x185629,_0x3b408f._0x191a53)+_0x5a402f[_0x3c40a5(0x23f,_0x3b408f._0x145654,0x82,_0x3b408f._0x42fcf1)][_0x3c40a5(_0x3b408f._0x11e71d,0xaf,_0x3b408f._0x49867f,0x1fa)]+_0x2b1881(0x36d,_0x3b408f._0x30ca84,_0x3b408f._0x34fe3b,0x343)+_0x5a402f[_0x3c40a5(0x27c,_0x3b408f._0x2b5bda,0x314,0xc8)],'inputSchema':toNuvinToolSchema(_0x5a402f['tool'][_0x2b1881(_0x3b408f._0x375c27,0x121,0x43e,0x2b2)]),async *'execute'(_0x601894){const _0x37a4ec={_0x1493dd:0x291,_0x224e6c:0x37},_0x5ae878={_0x5dbf93:0x185,_0x38f2f3:0x199};let _0x2b3f4e;function _0x208feb(_0x3688dd,_0x49f2ae,_0x406011,_0x37f62b){return _0x2b1881(_0x3688dd-_0x5ae878._0x5dbf93,_0x49f2ae-_0x5ae878._0x38f2f3,_0x37f62b,_0x3688dd- -0x65);}try{_0x2b3f4e=await _0x5a402f['client'][_0x4a664c(0x11a,_0x255f87._0x3d6e72,_0x255f87._0x5428db,-_0x255f87._0x27e2b5)]({'name':_0x5a402f['tool'][_0x208feb(_0x255f87._0xb77996,_0x255f87._0x333335,_0x255f87._0x94c271,_0x255f87._0x300a4f)],'arguments':isJsonObject(_0x601894)?_0x601894:{}});if(_0x2b3f4e[_0x4a664c(-_0x255f87._0x437af1,-_0x255f87._0x1b9796,-0xd0,-_0x255f87._0x4d7ce8)])throw toMcpSafeError({'serverName':_0x5a402f[_0x208feb(_0x255f87._0x52501c,_0x255f87._0x585cdb,_0x255f87._0xdcb035,0x1ab)],'operation':_0x208feb(0x102,-0xb4,_0x255f87._0x5d9f53,-0x1e),'error':_0x2b3f4e});}catch(_0x14acc7){throw extractOwnedMcpSafeError(_0x14acc7)??toMcpSafeError({'serverName':_0x5a402f[_0x208feb(0x2fb,0x254,_0x255f87._0x4dadf7,_0x255f87._0x43ba79)],'operation':_0x208feb(_0x255f87._0x179554,0x1f3,0xc,0x140),'error':_0x14acc7});}function _0x4a664c(_0x5e8053,_0x51be85,_0x590e89,_0x22eac4){return _0x3c40a5(_0x22eac4- -_0x37a4ec._0x1493dd,_0x51be85-_0x37a4ec._0x224e6c,_0x51be85,_0x22eac4-0x20);}return yield createToolOutput(formatMcpContent(_0x2b3f4e),{'serverName':_0x5a402f['serverName'],'toolName':_0x5a402f[_0x4a664c(-_0x255f87._0x304950,_0x255f87._0x1b142c,_0x255f87._0x4fa5a2,-0x52)][_0x4a664c(-_0x255f87._0x303b78,-_0x255f87._0x31e941,-_0x255f87._0x5dae7d,-_0x255f87._0x9720fa)],'result':_0x2b3f4e}),void 0x0;}});}var DEFAULT_MCP_TIMEOUT_MS=0xea60;function createMcpTimeoutSource(_0x433a4a){let _0x3d0187=_0x433a4a;return{'get'(){return _0x3d0187;},'set'(_0x3e7878){_0x3d0187=_0x3e7878;}};}function _0x515b8f(_0x1de3df,_0x20847d,_0x1283fa,_0x378d0a){return _0x2a2f(_0x378d0a-0x327,_0x1283fa);}function resolveMcpTimeoutMs(_0x5346f2,_0x31d02f){const _0x5ab901={_0x15a962:0x11,_0x2c0c53:0x11a,_0x5434f4:0xfa},_0x2832c1={_0x1cbbba:0x8e};function _0x133c23(_0x1e295f,_0x2bd684,_0x38954f,_0x479c62){return _0x1c3a85(_0x1e295f-_0x2832c1._0x1cbbba,_0x1e295f,_0x38954f-0x191,_0x479c62-0x17b);}return _0x5346f2[_0x133c23(_0x5ab901._0x15a962,0xbf,_0x5ab901._0x2c0c53,_0x5ab901._0x5434f4)]??_0x31d02f??DEFAULT_MCP_TIMEOUT_MS;}function mapOwnedMcpBoundaryError(_0x493214,_0x1815b1){const _0x1288cd={_0xa14184:0x1e},_0x47d87f={_0x598bd7:0x1f2,_0x487a22:0x4fc};function _0x4c7b7b(_0x59ccd8,_0x32308d,_0xf5888d,_0x1b089c){return _0x515b8f(_0x59ccd8-_0x47d87f._0x598bd7,_0x32308d-0x1a5,_0x32308d,_0x1b089c- -_0x47d87f._0x487a22);}return(_0x1815b1?extractOwnedMcpSafeError(_0x493214[_0x4c7b7b(-0x23,-0x10d,-0xa7,_0x1288cd._0xa14184)]):void 0x0)??createOwnedMcpSafeError(_0x493214);}function createMcpGenerationLifecycle(_0x3ba55a){const _0x2d8881={_0x245ebf:0x126},_0x2353b3={_0x577795:0x128},_0x569e51={_0x31dd83:0x31f,_0x25b912:0x15e,_0x1a8f4f:0x2ca,_0x5e1aa4:0xbf,_0x451fa2:0x276,_0x984f6d:0x41e};let _0x48084d=0x0,_0x160f6a=![],_0x387c53=![],_0x56164f,_0x119a2e,_0x44fe38;const _0x4c4a4e=()=>{const _0x2503b9={_0x5ec0a0:0x1d8};if(!_0x160f6a||_0x48084d!==0x0||_0x387c53)return;_0x387c53=!![];function _0x3d2be0(_0x382bd8,_0x4cdf8b,_0x24d2f9,_0x35d6a7){return _0x2a2f(_0x4cdf8b- -0xe8,_0x35d6a7);}function _0x1a33bc(_0x542d93,_0x435beb,_0x5d2d15,_0x5eddd5){return _0x2a2f(_0x5eddd5-_0x2503b9._0x5ec0a0,_0x5d2d15);}void Promise['resolve']()[_0x3d2be0(_0x569e51._0x31dd83,_0x569e51._0x25b912,_0x569e51._0x1a8f4f,_0x569e51._0x5e1aa4)](_0x3ba55a)[_0x1a33bc(0x434,0x47c,_0x569e51._0x451fa2,_0x569e51._0x984f6d)](_0x119a2e,_0x44fe38);};return{'acquire'(){function _0x358570(_0x4ff786,_0x306dc0,_0x1b71dd,_0x29f57e){return _0x2a2f(_0x4ff786- -_0x2353b3._0x577795,_0x306dc0);}if(_0x160f6a)throw new Error(_0x358570(0xb4,0x75,0xee,_0x2d8881._0x245ebf));_0x48084d+=0x1;let _0x168fe6=![];return()=>{if(_0x168fe6)return;_0x168fe6=!![],_0x48084d-=0x1,_0x4c4a4e();};},'retire'(){return!_0x56164f&&(_0x56164f=new Promise((_0xe34a78,_0x2fcae9)=>{_0x119a2e=_0xe34a78,_0x44fe38=_0x2fcae9;})),_0x160f6a=!![],_0x4c4a4e(),_0x56164f;}};}function buildMcpHttpHeaders(_0x10df73){const _0x19c4c3={_0x3289ec:0x1b9,_0x1b9ba9:0x78,_0x3d9c02:0x25c,_0x25c605:0x16a,_0x398430:0xcd,_0x2c2bd7:0x1de,_0x2c1a64:0xa8,_0x38934c:0x15f,_0x412086:0x60,_0x30b948:0x7f,_0x56996f:0x199,_0x3d442d:0x60,_0x1e28bf:0x25f,_0x27dec0:0x86,_0x4fa38e:0xa0,_0x552862:0x356,_0xc82b1e:0x17d,_0x34d554:0x103},_0x1096d3={_0x4b7de5:0x13f},_0x192a81={_0x135095:0x1ce},_0x5e4571={..._0x10df73[_0x18c373(_0x19c4c3._0x3289ec,_0x19c4c3._0x1b9ba9,_0x19c4c3._0x3d9c02,_0x19c4c3._0x25c605)]??{}};_0x10df73[_0x18c373(_0x19c4c3._0x398430,0xfb,_0x19c4c3._0x2c2bd7,-_0x19c4c3._0x2c1a64)]?.['type']==='bearer'&&_0x10df73[_0x18c373(0xcd,_0x19c4c3._0x38934c,_0x19c4c3._0x412086,-_0x19c4c3._0x30b948)][_0x1bff66(_0x19c4c3._0x56996f,_0x19c4c3._0x3d442d,0x1da,_0x19c4c3._0x1e28bf)]&&_0x5e4571['Authorization']===void 0x0&&(_0x5e4571[_0x1bff66(-0x174,0x78,-0x35,-0x165)]='Bearer\x20'+_0x10df73[_0x18c373(0xcd,-_0x19c4c3._0x27dec0,-0xf3,-_0x19c4c3._0x4fa38e)][_0x18c373(0x383,0x2b5,_0x19c4c3._0x552862,0x453)]);function _0x1bff66(_0x3641c2,_0x1ac876,_0x9551bc,_0x4522a1){return _0x1c3a85(_0x3641c2-_0x192a81._0x135095,_0x3641c2,_0x9551bc-0xf6,_0x9551bc- -0x41);}function _0x18c373(_0xcbb5ff,_0x57caf7,_0x1a0c67,_0x443707){return _0x1c3a85(_0xcbb5ff-0x119,_0x57caf7,_0x1a0c67-_0x1096d3._0x4b7de5,_0xcbb5ff-0x168);}return Object[_0x18c373(_0x19c4c3._0xc82b1e,0x90,0x75,_0x19c4c3._0x34d554)](_0x5e4571)['length']>0x0?_0x5e4571:void 0x0;}async function connectMcpServer(_0x103755,_0xeeee58,_0x58a5f6){const _0x746408={_0x38ebbe:0x493,_0xb4914b:0x417,_0x50e855:0x33b,_0x8bf8ae:0x3df,_0x2d22d6:0x535,_0x328589:0x625,_0x12085c:0x44d,_0x3a9c72:0x61d,_0x3618d3:0x55d,_0x204c0c:0x609,_0x189f0f:0x15e,_0x5b39e7:0x26,_0x582c7b:0x171,_0x367bb3:0x705,_0x1a6093:0x650,_0x2b0191:0x738,_0x58fff5:0x741,_0x4765fd:0x30d,_0x289b9a:0x23f,_0x2ef656:0x2fc,_0x28ea45:0x293,_0x5dea03:0x3ce,_0x19709d:0x46a,_0xc6f036:0x16e,_0x3dd3fe:0x11e,_0x317739:0x726,_0x2cee91:0x59f,_0x6b8e59:0x7c,_0x3f27d1:0x192,_0x4d4c08:0x5cd,_0x3c8710:0x32f,_0x5b59c4:0x308,_0x2a9553:0x267,_0x4d1e8c:0x624,_0x24af49:0x6ad,_0x137ac8:0x597,_0x5168a5:0x1cc,_0x302f30:0x4a5,_0x51a090:0x502,_0x1bd586:0x4aa,_0x28987b:0x229,_0xc8ed2a:0x2a0,_0x5f2753:0x5af,_0x59260d:0x71b,_0x5a9972:0x6af,_0x96a54a:0x2be,_0x5c1bdc:0x4ca,_0x3f54a9:0x3bc,_0x5a4570:0x5a8,_0xc1a698:0x6a7,_0x320617:0x5bb,_0x56aa3a:0x13f,_0x19402c:0x217,_0x32633f:0x6c3,_0x5265d5:0x511,_0x4aee24:0x279,_0x183371:0x1b4,_0x18a1ed:0x254,_0x17d9c0:0x2fd,_0x324a89:0x1ca,_0x1ec90e:0x252,_0x57b168:0x32a,_0x4fcf75:0x596,_0x27399f:0x4d8,_0x2e0fc2:0x5f6,_0xdeb262:0x368,_0x67a952:0x630,_0xaac0c4:0x477,_0x3d0b88:0x6dc},_0x322182={_0x3e25ef:0x68e,_0x352c15:0x540,_0x1b1962:0x36a,_0x1f74f6:0x4e8,_0x45f896:0x3ad,_0x5b432b:0x568,_0x1b5006:0x40b,_0x35f07b:0x731,_0x5b8271:0x85f},_0x3a0812={_0x299bc4:0x23b},_0x1768a2={_0x231a1e:0x36,_0x4cf9ee:0x13a,_0x45ee39:0x132,_0x3298bd:0x12,_0x23d460:0x1d2},_0x468ff5={_0x20f335:0x85,_0x595af2:0x4a},_0x596a92={_0x5283a5:0x156},_0x3034c8={_0x5a6678:0x17f},_0xc915c={_0x4108e4:0x13},_0x110c9f={_0x13f46c:0x2a},_0x3f00d5={_0x5aa64a:0x3f6,_0xaacb80:0x13,_0x30f0e0:0xff,_0x2514fc:0x127,_0x4a31a1:0x1a9,_0x50ce9f:0x12b,_0x487079:0x56,_0x5ddee6:0x310,_0x4100b7:0x2ae},_0x3db4cc={_0x2e4aad:0x11e,_0x2f823e:0x14,_0x9a2cb0:0x125,_0x3820ad:0xe},_0xbe2fa5={_0x1614de:0x5bd},_0xfc0920={_0x473223:0x17e},_0x3537fe={_0x551ddf:0x52,_0x1b1605:0xe3},_0x41fa32={_0x53656d:0xc6},_0x1b9968={_0x2c8f1a:0xb};function _0x174f11(_0x5c0987,_0x201035,_0x60955d,_0x15df92){return _0x1c3a85(_0x5c0987-_0x1b9968._0x2c8f1a,_0x201035,_0x60955d-0x1e0,_0x5c0987-0x469);}const _0x20aede=new Client({'name':'nuvin','version':_0x174f11(_0x746408._0x38ebbe,0x4d5,0x637,0x3bb)}),_0x44f034=_0x58a5f6?.[_0x2e3ffb(0x490,_0x746408._0xb4914b,_0x746408._0x50e855,_0x746408._0x8bf8ae)]??createMcpTimeoutSource(DEFAULT_MCP_TIMEOUT_MS),_0x217447=new Set();let _0x3d76c7,_0x17e586=![];const _0x1e5e7b=()=>{if(_0x17e586||_0x3d76c7)return;function _0x122742(_0x1c2330,_0x40a3e0,_0x2d9ec7,_0x67018c){return _0x2e3ffb(_0x1c2330-_0x41fa32._0x53656d,_0x40a3e0-0x143,_0x67018c- -0x298,_0x40a3e0);}_0x3d76c7={'code':'mcp-transport-error','cause':new Error(_0x122742(-_0x3537fe._0x551ddf,-0x59,0x9f,_0x3537fe._0x1b1605))};for(const _0x3402e7 of _0x217447){try{_0x3402e7(_0x3d76c7);}catch{}}};function _0x2e3ffb(_0x36d564,_0x340dcd,_0x10b98c,_0x48e3c6){return _0x1c3a85(_0x36d564-0x1e9,_0x48e3c6,_0x10b98c-_0xfc0920._0x473223,_0x10b98c-0x239);}_0x20aede[_0x174f11(_0x746408._0x2d22d6,_0x746408._0x328589,0x6d3,_0x746408._0x12085c)]=()=>{const _0x27a1c3={_0x45a5b7:0xbe};function _0x19e7c4(_0x50b7ab,_0x21ca7e,_0x14dda1,_0x4c3f04){return _0x2e3ffb(_0x50b7ab-_0x27a1c3._0x45a5b7,_0x21ca7e-0x1ac,_0x50b7ab- -0x375,_0x14dda1);}function _0x2da3b0(_0x559c34,_0x201f5d,_0x446571,_0x337a29){return _0x174f11(_0x201f5d- -_0xbe2fa5._0x1614de,_0x559c34,_0x446571-0x1e7,_0x337a29-0xd4);}console[_0x2da3b0(-_0x3db4cc._0x2e4aad,-0x55,-0xda,-_0x3db4cc._0x2f823e)]('MCP\x20SDK\x20client\x20reported\x20a\x20recoverable\x20error',{'server':_0x103755,'code':_0x2da3b0(-_0x3db4cc._0x9a2cb0,-0x151,-0x2d2,_0x3db4cc._0x3820ad)});},_0x20aede[_0x174f11(_0x746408._0x3a9c72,_0x746408._0x3618d3,0x45e,_0x746408._0x204c0c)]=_0x1e5e7b;try{if(_0xeeee58[_0x2e3ffb(0x6e,0x27b,_0x746408._0x189f0f,-_0x746408._0x5b39e7)]===_0x2e3ffb(_0x746408._0x582c7b,0x2e5,0x326,0x497)||_0xeeee58[_0x174f11(0x5af,_0x746408._0x367bb3,_0x746408._0x1a6093,_0x746408._0x2b0191)]){if(!_0xeeee58[_0x174f11(0x5af,_0x746408._0x58fff5,0x519,0x670)])throw new Error(_0x174f11(0x3c2,0x581,_0x746408._0x4765fd,0x55e)+_0x103755+_0x2e3ffb(_0x746408._0x289b9a,_0x746408._0x2ef656,_0x746408._0x28ea45,0x223));if(_0xeeee58[_0x174f11(_0x746408._0x5dea03,_0x746408._0x19709d,0x459,0x472)]?.[_0x2e3ffb(0x2f9,_0x746408._0xc6f036,0x267,_0x746408._0x3dd3fe)]===_0x174f11(0x5c3,_0x746408._0x317739,0x5a1,_0x746408._0x2cee91)&&!_0x58a5f6?.['oauth'])throw new Error(_0x2e3ffb(_0x746408._0x6b8e59,0x2d4,_0x746408._0x3f27d1,0x90)+_0x103755+_0x174f11(_0x746408._0x4d4c08,0x6c3,0x515,0x651));const _0x31dc14=buildMcpHttpHeaders(_0xeeee58),_0x449303=_0xeeee58[_0x174f11(0x3ce,_0x746408._0x3c8710,0x29a,0x3c9)]?.[_0x2e3ffb(_0x746408._0x5b59c4,0x36b,_0x746408._0x2a9553,0x268)]===_0x2e3ffb(0x3bd,0x257,0x393,0x36f)&&_0x58a5f6?.[_0x174f11(0x5c3,0x57b,_0x746408._0x4d1e8c,0x4da)]?createMcpOAuthProvider({'serverName':_0x103755,'callbackUrl':_0x58a5f6[_0x174f11(0x5c3,0x52e,_0x746408._0x24af49,_0x746408._0x137ac8)][_0x2e3ffb(_0x746408._0x5168a5,0x2f9,0x37d,_0x746408._0x302f30)],'storageDir':_0x58a5f6['oauth'][_0x2e3ffb(_0x746408._0x51a090,0x323,0x49c,0x4d3)],'config':_0xeeee58[_0x174f11(_0x746408._0x5dea03,_0x746408._0x1bd586,_0x746408._0x28987b,_0x746408._0xc8ed2a)],'onRedirect':_0x4b6571=>_0x58a5f6['oauth']?.['onRedirect'](_0x103755,_0x4b6571)}):void 0x0,_0x1898c3=new StreamableHTTPClientTransport(new URL(_0xeeee58[_0x174f11(_0x746408._0x5f2753,_0x746408._0x59260d,0x448,_0x746408._0x5a9972)]),{'authProvider':_0x449303,'requestInit':_0x31dc14?{'headers':_0x31dc14}:void 0x0});await _0x20aede[_0x2e3ffb(_0x746408._0x96a54a,_0x746408._0x5c1bdc,0x479,0x506)](_0x1898c3,{'timeout':_0x44f034[_0x174f11(0x4d8,_0x746408._0x3f54a9,0x51c,_0x746408._0x5a4570)](),..._0x58a5f6?.[_0x174f11(_0x746408._0xc1a698,0x5ff,0x6f3,_0x746408._0x320617)]!==void 0x0?{'signal':_0x58a5f6['signal']}:{}});}else{if(!_0xeeee58[_0x2e3ffb(0xb4,0xe0,0x254,_0x746408._0x56aa3a)])throw new Error(_0x2e3ffb(0x2d4,0x227,0x192,_0x746408._0x19402c)+_0x103755+_0x174f11(0x595,0x60a,_0x746408._0x32633f,_0x746408._0x5265d5));const _0x59e247=new StdioClientTransport({'command':_0xeeee58[_0x2e3ffb(_0x746408._0x4aee24,_0x746408._0x183371,_0x746408._0x18a1ed,0x340)],'args':_0xeeee58[_0x2e3ffb(0x48d,0x264,_0x746408._0x17d9c0,0x258)]??[],'env':_0xeeee58['env'],'stderr':_0x174f11(0x37f,_0x746408._0x324a89,_0x746408._0x1ec90e,0x4b7)});await _0x20aede[_0x2e3ffb(_0x746408._0x57b168,_0x746408._0x4fcf75,0x479,0x344)](_0x59e247,{'timeout':_0x44f034[_0x174f11(_0x746408._0x27399f,0x503,_0x746408._0x2e0fc2,_0x746408._0xdeb262)](),..._0x58a5f6?.[_0x2e3ffb(_0x746408._0x67a952,0x2cf,_0x746408._0xaac0c4,0x37c)]!==void 0x0?{'signal':_0x58a5f6[_0x174f11(0x6a7,0x510,_0x746408._0x3d0b88,0x851)]}:{}});}}catch(_0x3698aa){throw createOwnedMcpSafeError({'serverName':_0x103755,'operation':'connect','error':_0x3698aa});}return{async 'listTools'(_0x5bc770){const _0x2bb803={_0x4cf176:0x13d};function _0xc6c7fa(_0x34170c,_0x63356,_0xcb788e,_0x48cdd8){return _0x174f11(_0x34170c- -0x4ff,_0x63356,_0xcb788e-_0x2bb803._0x4cf176,_0x48cdd8-0xcf);}const _0x726c1d=_0x5bc770?.[_0x293bac(0x2f6,_0x3f00d5._0x5aa64a,0x2b0,0x1db)]??_0x58a5f6?.['signal'];function _0x293bac(_0x1747f1,_0x231fe9,_0x4b9db0,_0x1d3740){return _0x2e3ffb(_0x1747f1-0x26,_0x231fe9-0x6,_0x1747f1- -0x181,_0x231fe9);}try{return await _0x20aede[_0x293bac(-_0x3f00d5._0xaacb80,-0x144,_0x3f00d5._0x30f0e0,0x17c)](void 0x0,{'timeout':_0x44f034[_0x293bac(_0x3f00d5._0x2514fc,-0x49,_0x3f00d5._0x4a31a1,_0x3f00d5._0x50ce9f)](),..._0x726c1d!==void 0x0?{'signal':_0x726c1d}:{}});}catch(_0x407b3f){throw createOwnedMcpSafeError({'serverName':_0x103755,'operation':_0xc6c7fa(0x1b0,_0x3f00d5._0x487079,_0x3f00d5._0x5ddee6,_0x3f00d5._0x4100b7),'error':_0x407b3f});}},'onTerminalError'(_0x51efeb){function _0x59c591(_0x1e0869,_0x2b4061,_0x5f564e,_0x2a273b){return _0x2e3ffb(_0x1e0869-_0x110c9f._0x13f46c,_0x2b4061-0x11e,_0x2b4061- -0x30c,_0x2a273b);}_0x217447[_0x59c591(-0x41,-_0x3034c8._0x5a6678,-0x340,-0x25d)](_0x51efeb);const _0x438354=_0x3d76c7;_0x438354&&queueMicrotask(()=>{const _0x10f91d={_0x3ded19:0x1ab,_0x5b3836:0x164};function _0x3e0096(_0x2503a4,_0x3bf136,_0x4927b9,_0x477049){return _0x59c591(_0x2503a4-0x147,_0x3bf136- -_0x10f91d._0x3ded19,_0x4927b9-_0x10f91d._0x5b3836,_0x2503a4);}if(_0x217447[_0x3e0096(-0x258,-0x1c9,-0x386,-_0xc915c._0x4108e4)](_0x51efeb))_0x51efeb(_0x438354);});function _0x2fd922(_0x844a74,_0x567006,_0x352787,_0x5bb5c4){return _0x174f11(_0x5bb5c4- -0x421,_0x567006,_0x352787-0xb1,_0x5bb5c4-0x127);}return()=>_0x217447[_0x59c591(-0x4d,0x3e,0x181,0x1a2)](_0x51efeb);},async 'callTool'(_0x5dff10){function _0x52bdd8(_0x32355e,_0x3dc821,_0x2875a4,_0x469b87){return _0x2e3ffb(_0x32355e-0x76,_0x3dc821-_0x596a92._0x5283a5,_0x469b87-0x10d,_0x32355e);}function _0x28bbdf(_0x3c320d,_0x2b6372,_0x4d8884,_0x5ba5e9){return _0x174f11(_0x3c320d- -0x4d3,_0x2b6372,_0x4d8884-_0x468ff5._0x20f335,_0x5ba5e9-_0x468ff5._0x595af2);}try{return await _0x20aede['request']({'method':_0x28bbdf(-_0x1768a2._0x231a1e,-_0x1768a2._0x4cf9ee,_0x1768a2._0x45ee39,_0x1768a2._0x3298bd),'params':_0x5dff10},CallToolResultSchema,{'timeout':_0x44f034[_0x52bdd8(0x30e,0x469,0x30d,0x3b5)]()});}catch(_0x5d4f44){throw createOwnedMcpSafeError({'serverName':_0x103755,'operation':_0x28bbdf(-0x12,0x5c,-_0x1768a2._0x23d460,-0x176),'error':_0x5d4f44});}},async 'close'(){const _0x479f9a={_0x8a5aa3:0x1e};_0x17e586=!![];function _0x5efe11(_0x2cb10c,_0x2a5ebe,_0x146529,_0x4f823c){return _0x174f11(_0x4f823c- -0x2b3,_0x2a5ebe,_0x146529-0x135,_0x4f823c-_0x479f9a._0x8a5aa3);}_0x20aede[_0x67bf22(0x426,_0x322182._0x3e25ef,0x62f,_0x322182._0x352c15)]=void 0x0,_0x20aede[_0x5efe11(0x466,0x50f,0x466,_0x322182._0x1b1962)]=void 0x0,_0x217447[_0x67bf22(_0x322182._0x1f74f6,0x2c1,0x3e5,_0x322182._0x45f896)]();function _0x67bf22(_0x21fe3c,_0x1f5e1f,_0x103b5a,_0x42d562){return _0x2e3ffb(_0x21fe3c-0xb6,_0x1f5e1f-0x8,_0x42d562-_0x3a0812._0x299bc4,_0x103b5a);}try{await _0x20aede[_0x5efe11(_0x322182._0x5b432b,0x41c,0x369,_0x322182._0x1b5006)]();}catch(_0x4770e5){throw createOwnedMcpSafeError({'serverName':_0x103755,'operation':_0x67bf22(_0x322182._0x35f07b,0x777,_0x322182._0x5b8271,0x6c9),'error':_0x4770e5});}}};}async function createMcpConnectionGeneration(_0x1df656){const _0x30fb07={_0x57ca20:0x6b,_0x4a19b4:0x1a3,_0x4f8c6f:0x185,_0x4411ad:0x3,_0x45b8c2:0x81,_0x49804f:0x24f,_0x48cb84:0x20,_0x55fb7a:0x124,_0x3920f4:0x11b,_0x1fcf96:0x5d,_0x33afc1:0xd4,_0xe503f4:0x68,_0x227378:0x26,_0x1d9a3b:0x199,_0x54696c:0xe5,_0x1b95da:0x125,_0xb30207:0x2bc,_0x13f893:0x351,_0x13699f:0x46,_0x42697c:0x12e,_0x3c41dd:0x16f,_0x3113cf:0x12f,_0x3402a0:0x60,_0x499074:0xf,_0x346236:0x1cb,_0x15a3fd:0x7a,_0x9050c3:0x10b,_0x3b18ae:0x66,_0x4ab92b:0x162},_0x4c74eb={_0xc09b2d:0x5b6,_0x3155c5:0x641},_0x29f812={_0x173665:0x1,_0x5f0c14:0x87,_0x306735:0x6c4},_0x54c80d={_0xd8a309:0x2e3,_0x37902d:0x289},_0x4d888f={_0x5bc7e6:0x19b,_0x3f5294:0x17f,_0x2bec13:0x5ac},_0x5babcc={_0x37c5e3:0x830,_0x7d946b:0x6c4,_0x3519a7:0x6f0,_0x21f0ac:0x6c0,_0x1632a5:0x544,_0x1262e0:0x7d0,_0x294762:0x7c8},_0x4ce5a6={_0xeda4dc:0xe8},_0x3051fb={_0x48003d:0x5a3,_0xbee80b:0x529,_0x1de00a:0x6b4,_0x7a7735:0x831,_0x113b10:0x7ef,_0x3d5bf5:0x154,_0x1e02f9:0xa},_0x47722c={_0x207bea:0x123,_0x2d8843:0xfa,_0x419940:0x1f1},_0x46d887={_0x5ed1e7:0x277},_0x45c20a={_0x3280b8:0x30},_0x1558ca={_0x2a1bee:0x120,_0x24442c:0x16},_0x26aeac=_0x1df656[_0x5e5b0c(-_0x30fb07._0x57ca20,-_0x30fb07._0x4a19b4,-_0x30fb07._0x4f8c6f,-0x37)]??connectMcpServer,_0x56602f=_0x1df656[_0x46898f(0x4f,0x9d,-_0x30fb07._0x4411ad,_0x30fb07._0x45b8c2)]===void 0x0,_0x226473={..._0x1df656[_0x5e5b0c(-_0x30fb07._0x49804f,-_0x30fb07._0x48cb84,-_0x30fb07._0x55fb7a,-_0x30fb07._0x3920f4)],'timeoutSource':_0x1df656['timeoutSource'],..._0x1df656[_0x46898f(0x4d,-_0x30fb07._0x1fcf96,_0x30fb07._0x33afc1,0x1e3)]!==void 0x0?{'signal':_0x1df656['signal']}:{}};let _0x5ef7ed;try{_0x5ef7ed=await _0x26aeac(_0x1df656['serverName'],_0x1df656['config'],_0x226473);}catch(_0x457d6a){throw mapOwnedMcpBoundaryError({'serverName':_0x1df656[_0x5e5b0c(_0x30fb07._0xe503f4,-0x159,0x8f,-_0x30fb07._0x227378)],'operation':_0x46898f(0x4f,_0x30fb07._0x1d9a3b,0x12,-_0x30fb07._0x54696c),'error':_0x457d6a},_0x56602f);}const _0x5194c6=new Set();let _0x385d72;const _0xadd48=_0x5ef7ed[_0x5e5b0c(-0x4,0x88,-0x2bd,-_0x30fb07._0x1b95da)]?.(_0x51b8b9=>{if(_0x385d72)return;_0x385d72=_0x51b8b9;for(const _0x26e1e4 of _0x5194c6)_0x26e1e4(_0x51b8b9);});let _0x496195=![];const _0x304fff=()=>{if(_0x496195)return;_0x496195=!![];function _0x281e40(_0x7f7d5d,_0x2c6f81,_0x3aa6e5,_0x44801b){return _0x46898f(_0x44801b-_0x1558ca._0x2a1bee,_0x2c6f81,_0x3aa6e5-_0x1558ca._0x24442c,_0x44801b-0xc1);}_0x5194c6[_0x281e40(-0x26f,-_0x45c20a._0x3280b8,-0xfd,-0x198)](),_0xadd48?.();};function _0x5e5b0c(_0x4e86e8,_0x21a480,_0xf112ed,_0x3edb31){return _0x1c3a85(_0x4e86e8-0xe2,_0x4e86e8,_0xf112ed-0x102,_0x3edb31- -_0x46d887._0x5ed1e7);}let _0x23fc40;function _0x46898f(_0x25385,_0x10497c,_0x50c227,_0x33cce6){return _0x1c3a85(_0x25385-_0x47722c._0x207bea,_0x10497c,_0x50c227-_0x47722c._0x2d8843,_0x25385- -_0x47722c._0x419940);}try{_0x23fc40=await _0x5ef7ed[_0x46898f(-_0x30fb07._0xb30207,-0x2c2,-_0x30fb07._0x13f893,-0x260)](_0x1df656[_0x46898f(0x4d,-_0x30fb07._0x13699f,-_0x30fb07._0x42697c,-0x130)]!==void 0x0?{'signal':_0x1df656[_0x5e5b0c(_0x30fb07._0x3c41dd,-0xb2,-_0x30fb07._0x3113cf,-0x39)]}:void 0x0);}catch(_0xafa4fd){const _0x82a76f=mapOwnedMcpBoundaryError({'serverName':_0x1df656[_0x46898f(_0x30fb07._0x3402a0,0x17,0x14f,_0x30fb07._0x499074)],'operation':_0x46898f(0x55,_0x30fb07._0x346236,_0x30fb07._0x15a3fd,_0x30fb07._0x9050c3),'error':_0xafa4fd},_0x56602f);_0x304fff();try{await _0x5ef7ed['close']();}catch{}throw _0x82a76f;}const _0x52c58f=[..._0x23fc40[_0x46898f(-0x13,_0x30fb07._0x3b18ae,-0xce,-_0x30fb07._0x4ab92b)]],_0x38da03={async 'callTool'(_0x59c40a){const _0x557de1={_0x226cce:0xb1,_0x307d8d:0x71c},_0x44577c={_0x429e55:0x26,_0x29605a:0x113,_0x26474b:0x229};function _0xc278b9(_0x2a0c2f,_0x276200,_0x17a9af,_0x4f7b6f){return _0x5e5b0c(_0x2a0c2f,_0x276200-_0x44577c._0x429e55,_0x17a9af-_0x44577c._0x29605a,_0x17a9af-_0x44577c._0x26474b);}function _0x2e8626(_0x285377,_0x17156b,_0x2608b2,_0x4bfbec){return _0x5e5b0c(_0x2608b2,_0x17156b-_0x557de1._0x226cce,_0x2608b2-0x8b,_0x4bfbec-_0x557de1._0x307d8d);}try{return await _0x5ef7ed[_0x2e8626(_0x3051fb._0x48003d,0x5f9,_0x3051fb._0xbee80b,_0x3051fb._0x1de00a)](_0x59c40a);}catch(_0x18f423){throw mapOwnedMcpBoundaryError({'serverName':_0x1df656[_0x2e8626(_0x3051fb._0x7a7735,0x79c,_0x3051fb._0x113b10,0x6f6)],'operation':_0xc278b9(-0x1a9,_0x3051fb._0x3d5bf5,_0x3051fb._0x1e02f9,0xd1),'error':_0x18f423},_0x56602f);}}},_0x20cc99=createMcpGenerationLifecycle(async()=>{_0x304fff();function _0x4b07a8(_0x3f3d73,_0x11d00a,_0x9e7856,_0x865612){return _0x46898f(_0x9e7856-0x660,_0x865612,_0x9e7856-0xda,_0x865612-0xdb);}function _0xbfcd02(_0x2f578f,_0x7bc676,_0x140427,_0x359e85){return _0x5e5b0c(_0x140427,_0x7bc676-_0x4ce5a6._0xeda4dc,_0x140427-0x1d4,_0x7bc676-0x293);}try{await _0x5ef7ed[_0x4b07a8(0x70f,_0x5babcc._0x37c5e3,_0x5babcc._0x7d946b,0x73d)]();}catch(_0x318d81){throw mapOwnedMcpBoundaryError({'serverName':_0x1df656[_0x4b07a8(_0x5babcc._0x3519a7,0x871,_0x5babcc._0x21f0ac,0x776)],'operation':_0x4b07a8(_0x5babcc._0x1632a5,_0x5babcc._0x1262e0,0x6c4,_0x5babcc._0x294762),'error':_0x318d81},_0x56602f);}});return{'client':_0x5ef7ed,'descriptors':_0x52c58f,'lifecycle':_0x20cc99,'projectTools'(_0x5742a2){return projectMcpTools({..._0x5742a2,'descriptors':_0x52c58f,'client':_0x38da03,'lifecycle':_0x20cc99});},'onTerminalError'(_0x243bc0){const _0x4f3e04={_0x5241e0:0x1d2,_0x4ff327:0x2e0,_0x4a4407:0x2ee,_0x4df6fc:0x48f};if(_0x496195)return()=>{};_0x5194c6[_0x1c7627(_0x54c80d._0xd8a309,_0x54c80d._0x37902d,0x213,0x1f5)](_0x243bc0);const _0x506b44=_0x385d72;function _0x1c7627(_0x3b6631,_0x372a00,_0x5890ca,_0x3ecc40){return _0x5e5b0c(_0x3b6631,_0x372a00-_0x4d888f._0x5bc7e6,_0x5890ca-_0x4d888f._0x3f5294,_0x372a00-_0x4d888f._0x2bec13);}return _0x506b44&&queueMicrotask(()=>{function _0x5473dd(_0x2a28dd,_0x1383a5,_0x56fbab,_0x3b7f68){return _0x1c7627(_0x56fbab,_0x1383a5- -0x10a,_0x56fbab-0x130,_0x3b7f68-0xc5);}if(_0x5194c6[_0x5473dd(_0x4f3e04._0x5241e0,_0x4f3e04._0x4ff327,_0x4f3e04._0x4a4407,_0x4f3e04._0x4df6fc)](_0x243bc0))_0x243bc0(_0x506b44);}),()=>_0x5194c6['delete'](_0x243bc0);},'retire'(){_0x304fff();function _0x5a1cd4(_0x46947a,_0x2fe658,_0x14500e,_0x31472d){return _0x5e5b0c(_0x46947a,_0x2fe658-_0x29f812._0x173665,_0x14500e-_0x29f812._0x5f0c14,_0x31472d-_0x29f812._0x306735);}return _0x20cc99[_0x5a1cd4(0x4ab,_0x4c74eb._0xc09b2d,_0x4c74eb._0x3155c5,0x4e4)]();}};}function getCommand(_0x108a27){const _0x1da338={_0x473767:0x1b2,_0x3d5e22:0x2b7,_0x59566b:0x17c,_0x1b71ab:0x217,_0x6e5a1b:0x14b,_0x242010:0x216,_0x191c79:0x1bc,_0x2e8324:0x18a,_0x164054:0x9b,_0x2b388f:0x101,_0x226244:0x25e},_0x58894d={_0x34feea:0x187,_0xc2e93f:0x62e};function _0x351a9a(_0x3798f7,_0x5725d5,_0x3c10be,_0x33cbfd){return _0x515b8f(_0x3798f7-0x38,_0x5725d5-_0x58894d._0x34feea,_0x3798f7,_0x5725d5- -_0x58894d._0xc2e93f);}if(_0x108a27&&typeof _0x108a27===_0x351a9a(-0x5d,-_0x1da338._0x473767,-_0x1da338._0x3d5e22,-_0x1da338._0x59566b)&&!Array[_0x1dd78c(-_0x1da338._0x1b71ab,-_0x1da338._0x6e5a1b,-0x102,-_0x1da338._0x242010)](_0x108a27)&&typeof _0x108a27[_0x351a9a(-_0x1da338._0x191c79,-_0x1da338._0x2e8324,-0xec,-0xc6)]===_0x1dd78c(-_0x1da338._0x164054,-0x1c5,-0x30f,-0x176))return _0x108a27[_0x1dd78c(-0x32c,-0x1c9,-_0x1da338._0x2b388f,-_0x1da338._0x226244)];function _0x1dd78c(_0xe7345f,_0x439af4,_0x1c4170,_0x113ea6){return _0x1c3a85(_0xe7345f-0x198,_0x1c4170,_0x1c4170-0x94,_0x439af4- -0x1e4);}return'ls\x20-la';}var MOCK_WORKSPACE_LISTING=[_0x1c3a85(0x119,-0xf6,0x58,-0x27),_0x1c3a85(0x187,0x1cb,0xed,0x124),'docs/plans/2026-04-16-public-tools-api-implementation.md',_0x515b8f(0x331,0x43a,0x5ab,0x40b),_0x1c3a85(0x77,0x78,-0xdc,-0xab),_0x1c3a85(0x381,0x1b8,0x317,0x28b),_0x515b8f(0x333,0x2bc,0x369,0x43b),_0x515b8f(0x589,0x601,0x673,0x6a7),_0x1c3a85(-0x150,-0x8,-0x52,-0x82),_0x1c3a85(-0x53,-0x173,-0x9f,-0x3c),'src/formats/provider-adapters.ts',_0x515b8f(0x41d,0x25a,0x23b,0x3b5),_0x515b8f(0x50d,0x66b,0x51e,0x6c2),_0x1c3a85(0x98,0x11,-0x19c,-0x69),_0x1c3a85(-0xd9,-0x74,-0x65,0xc5),_0x1c3a85(-0x100,-0x1,-0x11d,-0x1f),'src/agent/turn-engine.test.ts'][_0x515b8f(0x58e,0x6c7,0x76e,0x5bd)]('\x0a'),SHELL_EXEC_TOOL={'name':_0x1c3a85(0x37d,0x287,0xd5,0x1db),'description':'Executes\x20a\x20shell\x20command','input_schema':{'type':_0x1c3a85(0xf4,-0xd9,-0xcf,-0xd),'properties':{'command':{'type':_0x1c3a85(-0xf6,0x8d,0x56,0x1f)}},'required':[_0x1c3a85(-0x142,0x1ad,0x19,0x1b)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0xcaaa2){return{'output':_0xcaaa2,'structured':{'value':_0xcaaa2}};}function createUnknownToolResult(_0xc522b2){const _0x2836eb={_0x11a0d9:0x2ff,_0x2daab0:0x397,_0x3ea3ce:0x3b7,_0x1d2f12:0x337,_0x7fbd3:0x3f7,_0x9567ef:0x392,_0xe34a3c:0x366,_0x5433a1:0x220,_0x23ff64:0x4e3,_0x1eccfd:0x32d},_0xb13bac={_0x34d19f:0x10b,_0x4aa495:0x177,_0x5bc4eb:0x1ef},_0xdff6ad={_0x388067:0x1f,_0x423af2:0xb6};function _0xfac6a9(_0x476055,_0xbac4a8,_0x5dfe45,_0x3b8abd){return _0x515b8f(_0x476055-0x13,_0xbac4a8-_0xdff6ad._0x388067,_0x3b8abd,_0x476055- -_0xdff6ad._0x423af2);}function _0x451dd4(_0x5279dd,_0x19c049,_0x5db691,_0x58ea85){return _0x1c3a85(_0x5279dd-_0xb13bac._0x34d19f,_0x5db691,_0x5db691-_0xb13bac._0x4aa495,_0x5279dd-_0xb13bac._0x5bc4eb);}return{'callId':_0xc522b2['id'],'toolName':_0xc522b2[_0x451dd4(_0x2836eb._0x11a0d9,_0x2836eb._0x2daab0,_0x2836eb._0x3ea3ce,_0x2836eb._0x1d2f12)],'status':_0x451dd4(0x280,_0x2836eb._0x7fbd3,_0x2836eb._0x9567ef,_0x2836eb._0xe34a3c),'output':_0x451dd4(0x134,0x189,0x199,_0x2836eb._0x5433a1)+_0xc522b2[_0xfac6a9(_0x2836eb._0x23ff64,0x4be,_0x2836eb._0x1eccfd,0x529)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x56ca85,_0x400066){return{'callId':_0x56ca85['id'],'toolName':_0x56ca85['name'],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x56ca85['input']),'exitCode':0x0},'chunks':[_0x400066],'meta':createMeta()};}function createMockToolRuntime(){const _0x21e734={_0x32df6a:0x329,_0x480e9b:0x3e3},_0x17bbf2={_0x3a7db9:0x5c2,_0x595b22:0x36e},_0x5af1e3={_0x226c54:0x190},_0x47bab0=async(_0x5e9dab,_0x3d1491)=>{if(_0x5e9dab['name']!==_0x38ef39(0x639,_0x17bbf2._0x3a7db9,0x4cd,_0x17bbf2._0x595b22))return createUnknownToolResult(_0x5e9dab);const _0x593f70=createOutputChunk(MOCK_WORKSPACE_LISTING);function _0x38ef39(_0x4ec0c3,_0x4e02d7,_0x5dbf81,_0x411f65){return _0x2a2f(_0x5dbf81-_0x5af1e3._0x226c54,_0x4e02d7);}return createSuccessToolResult(_0x5e9dab,_0x593f70);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x4e4d89,_0x2833b9){const _0x3ab154={_0x4e42fc:0x330};function _0x360b02(_0x221a4,_0x1d208d,_0x3c8350,_0x4b763e){return _0x2a2f(_0x1d208d-_0x3ab154._0x4e42fc,_0x3c8350);}return await Promise['all'](_0x4e4d89[_0x360b02(_0x21e734._0x32df6a,_0x21e734._0x480e9b,0x4a9,0x4bd)](async _0x52dd31=>{return await _0x47bab0(_0x52dd31,_0x2833b9);}));},async 'execute'(_0x4c40ee,_0xe1633c){return await _0x47bab0(_0x4c40ee,_0xe1633c);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0x267acb={_0x5cc9b1:0x91e},_0x5defbb={_0x286c80:0xa5};function _0x5bbd6a(_0x23132f,_0x478ba8,_0x157263,_0xb2f68f){return _0x1c3a85(_0x23132f-0xda,_0xb2f68f,_0x157263-_0x5defbb._0x286c80,_0x23132f-0x509);}return delegatedRunCounter+=0x1,_0x5bbd6a(0x762,_0x267acb._0x5cc9b1,0x6fa,0x5c2)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x53f23c,_0x28c7d3){const _0x70877c={_0x3fce1f:0x362},_0x341787={_0x5eeec0:0x286};function _0x288d07(_0xc554de,_0x299ad7,_0x4a5940,_0x3b8cde){return _0x1c3a85(_0xc554de-0x181,_0x3b8cde,_0x4a5940-0x115,_0x4a5940-_0x341787._0x5eeec0);}return typeof _0x53f23c===_0x288d07(0x3a1,0x35b,0x4d0,_0x70877c._0x3fce1f)?await _0x53f23c(_0x28c7d3):_0x53f23c;}function awaitWithAbort2(_0x1d86d0,_0x2f15a0){const _0x26882d={_0x38539b:0x337,_0x14a89f:0x35f,_0x3df52:0x1db};return throwIfAborted(_0x2f15a0),new Promise((_0x3da4e4,_0x252afe)=>{const _0x3d8378={_0x570134:0x26};let _0x5d44c5=![];function _0x2b1cbf(_0xd67400,_0x1fe073,_0x3268fa,_0x58a9b9){return _0x2a2f(_0x3268fa- -0x6b,_0x1fe073);}const _0x4b928e=addAbortListener(_0x2f15a0,()=>{const _0x4d01ab={_0x263f4e:0xe2};if(_0x5d44c5)return;function _0x54218f(_0x5b216f,_0x2a71a0,_0x21cb89,_0x4ac99c){return _0x2a2f(_0x5b216f- -_0x4d01ab._0x263f4e,_0x4ac99c);}_0x5d44c5=!![],_0x252afe(toAbortError(_0x2f15a0[_0x54218f(_0x3d8378._0x570134,-0x86,0x1c9,-0xbe)]));});_0x1d86d0[_0x2b1cbf(_0x26882d._0x38539b,_0x26882d._0x14a89f,_0x26882d._0x3df52,0x1a2)](_0x2d472f=>{if(_0x5d44c5)return;_0x5d44c5=!![],_0x4b928e(),_0x3da4e4(_0x2d472f);},_0xe66489=>{if(_0x5d44c5)return;_0x5d44c5=!![],_0x4b928e(),_0x252afe(_0xe66489);});});}function getDelegatedAgentDefinition(_0x3bd5e3,_0x46ba06){const _0x15dc85={_0x54cef2:0x3ce,_0xc6ef87:0x156,_0x196d31:0x22b},_0x464e0f={_0x23b6f7:0x235};function _0x1d6177(_0xddd944,_0x4c5a66,_0x161b0e,_0x42543f){return _0x1c3a85(_0xddd944-0x51,_0x161b0e,_0x161b0e-0x15f,_0xddd944-_0x464e0f._0x23b6f7);}return _0x3bd5e3[_0x1d6177(0x2c2,_0x15dc85._0x54cef2,_0x15dc85._0xc6ef87,_0x15dc85._0x196d31)]?.[_0x46ba06];}function createRunSummary(_0x3d56fe){const _0x85f1b1={_0x39c147:0x1a,_0x51eaa1:0x18b,_0x33c998:0x8e,_0x135821:0x14b,_0x2ce144:0x1be,_0x2fc4e0:0xa,_0x568304:0x6c,_0x4052d2:0x199,_0x1cdfa9:0xd,_0xd0e463:0x42,_0xd68f95:0x154,_0x4f1a0e:0x13c,_0x55bc2c:0x9f,_0x21361b:0x18c,_0x183312:0x49,_0x31c10a:0x101,_0x4cbe11:0x27f,_0x5790bd:0x301,_0x2ba63c:0x18c},_0x4ff650={_0x4aff4c:0x157};function _0x147fa9(_0x538fba,_0x40e5ef,_0x20c885,_0x2254e9){return _0x1c3a85(_0x538fba-0x11a,_0x2254e9,_0x20c885-0x1c9,_0x40e5ef-_0x4ff650._0x4aff4c);}function _0x25c8a8(_0x3507c4,_0x23caee,_0xb532d3,_0x58d317){return _0x515b8f(_0x3507c4-0x162,_0x23caee-0xb4,_0x58d317,_0xb532d3- -0x437);}return{'runId':_0x3d56fe['runId'],'agentId':_0x3d56fe['agentId'],..._0x3d56fe[_0x25c8a8(_0x85f1b1._0x39c147,-_0x85f1b1._0x51eaa1,-_0x85f1b1._0x33c998,-0x1ea)]!==void 0x0?{'sessionId':_0x3d56fe['sessionId']}:{},'status':_0x3d56fe[_0x147fa9(0x9a,_0x85f1b1._0x135821,0x30a,_0x85f1b1._0x2ce144)],'parentSessionId':_0x3d56fe[_0x25c8a8(_0x85f1b1._0x2fc4e0,-0x205,-_0x85f1b1._0x568304,0x75)],..._0x3d56fe[_0x147fa9(0x12d,_0x85f1b1._0x4052d2,0x18d,0x274)]!==void 0x0?{'originToolCallId':_0x3d56fe[_0x25c8a8(-_0x85f1b1._0x1cdfa9,_0x85f1b1._0xd0e463,0x94,0x21c)]}:{},..._0x3d56fe[_0x147fa9(0x12e,_0x85f1b1._0xd68f95,_0x85f1b1._0x4f1a0e,0x1e0)]!==void 0x0?{'errorMessage':_0x3d56fe[_0x147fa9(0xce,0x154,0x52,0x112)]}:{},..._0x3d56fe[_0x25c8a8(_0x85f1b1._0x55bc2c,0x328,_0x85f1b1._0x21361b,_0x85f1b1._0x183312)]?.[_0x25c8a8(_0x85f1b1._0x31c10a,0x3c5,_0x85f1b1._0x4cbe11,0x1b4)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x3d56fe[_0x25c8a8(_0x85f1b1._0x5790bd,0x1f6,_0x85f1b1._0x2ba63c,0x14b)]['finalMessage'])}:{}};}function createRunSummaryOutput(_0x4310d7,_0x499777){const _0x71cec2={_0x556d3a:0x45d,_0x2997c4:0x54a,_0x7afad5:0x432,_0x1268df:0x2f5,_0x3832aa:0x300,_0x5e985c:0x50e,_0x34bf27:0x636},_0x4a7690={_0x275b65:0x138},_0x188b5a={_0x587a69:0xd0,_0x5b76dc:0x11b},_0x2e9d95=createRunSummary(_0x4310d7),_0x234997=_0x2e9d95[_0x1b9375(0x5c5,_0x71cec2._0x556d3a,0x5e8,_0x71cec2._0x2997c4)];function _0xecc605(_0x407f4f,_0x2df289,_0x4d6b84,_0x5c5723){return _0x1c3a85(_0x407f4f-_0x188b5a._0x587a69,_0x407f4f,_0x4d6b84-_0x188b5a._0x5b76dc,_0x2df289-0x38);}function _0x1b9375(_0x5d19cd,_0x159594,_0x45855c,_0xde06bd){return _0x1c3a85(_0x5d19cd-_0x4a7690._0x275b65,_0x159594,_0x45855c-0x1a9,_0x5d19cd-0x413);}return createToolOutput(typeof _0x234997===_0x1b9375(_0x71cec2._0x7afad5,_0x71cec2._0x1268df,_0x71cec2._0x3832aa,0x3ca)&&_0x234997[_0x1b9375(_0x71cec2._0x5e985c,_0x71cec2._0x34bf27,0x50f,0x631)]>0x0?_0x234997:_0x499777,_0x2e9d95);}function getRunTerminalErrorMessage(_0x41b5f8){const _0x40a0e7={_0x5cde2e:0x5c8,_0x362eb7:0x4e4,_0x5d1586:0x6f0,_0x155da2:0x636,_0x343ef1:0x743,_0x4f0a7d:0x508,_0x3977c9:0x44c,_0x17f410:0x505,_0x52c6c3:0x485,_0x2101ef:0x43a,_0x3c95e3:0x5f8,_0x4f5636:0x4f9,_0x3cad85:0x4f5,_0x21d845:0x52c,_0x409fad:0x5c9},_0x4fc322={_0x55da25:0x4c},_0x48c96b={_0x1d21fc:0x20};function _0x408f0f(_0x2e8d29,_0x1e6fcd,_0x4836f9,_0x3a291d){return _0x1c3a85(_0x2e8d29-_0x48c96b._0x1d21fc,_0x3a291d,_0x4836f9-0x13f,_0x4836f9-0x458);}const _0x58df2b=_0x41b5f8?.[_0x16c1da(_0x40a0e7._0x5cde2e,_0x40a0e7._0x362eb7,_0x40a0e7._0x5d1586,_0x40a0e7._0x155da2)][_0x16c1da(0x63f,0x57d,_0x40a0e7._0x343ef1,0x672)]['at'](-0x1);function _0x16c1da(_0x3862e0,_0x921e2,_0x38b25b,_0x52656f){return _0x1c3a85(_0x3862e0-0x153,_0x38b25b,_0x38b25b-_0x4fc322._0x55da25,_0x52656f-0x3f4);}if(_0x58df2b?.[_0x408f0f(_0x40a0e7._0x4f0a7d,0x42c,_0x40a0e7._0x3977c9,0x296)]===_0x16c1da(0x3b0,0x487,_0x40a0e7._0x17f410,_0x40a0e7._0x52c6c3)&&_0x58df2b[_0x16c1da(0x340,_0x40a0e7._0x2101ef,_0x40a0e7._0x3c95e3,_0x40a0e7._0x4f5636)][_0x408f0f(0x6e4,_0x40a0e7._0x3cad85,_0x40a0e7._0x21d845,0x65d)]()[_0x16c1da(0x6a2,0x5a9,_0x40a0e7._0x409fad,0x4ef)]>0x0)return _0x58df2b['output'];return void 0x0;}function formatAbortedRunMessage(_0x17f896,_0x2ce998){const _0x178033={_0x418d96:0x31,_0x5848d1:0x9f,_0x3fb030:0xd6,_0x475cc7:0x3e1,_0xced1c7:0x25b,_0x350928:0x2ce,_0x19e3fd:0x381,_0x500c3d:0x555,_0x3f957c:0x69c,_0xdb5e45:0x4d1},_0x4965b4={_0x4a19b7:0x99},_0x412001={_0x50f3c3:0x18d},_0x131b31=_0x92f740(_0x178033._0x418d96,-0x4,-_0x178033._0x5848d1,_0x178033._0x3fb030)+_0x17f896+_0x92f740(_0x178033._0x475cc7,_0x178033._0xced1c7,_0x178033._0x350928,_0x178033._0x19e3fd);function _0x1f8c2b(_0xfcc242,_0x5bb34c,_0x496d07,_0x30a738){return _0x515b8f(_0xfcc242-_0x412001._0x50f3c3,_0x5bb34c-0x53,_0x496d07,_0x5bb34c- -0x8);}function _0x92f740(_0x1b68f9,_0xbdb6e3,_0x2dd715,_0x1e67d4){return _0x1c3a85(_0x1b68f9-0x1a,_0xbdb6e3,_0x2dd715-_0x4965b4._0x4a19b7,_0x1e67d4-0x15b);}if(!_0x2ce998||_0x2ce998[_0x1f8c2b(0x681,_0x178033._0x500c3d,0x5b5,0x47e)]()[_0x1f8c2b(_0x178033._0x3f957c,0x57c,0x3d0,_0x178033._0xdb5e45)]===0x0||_0x2ce998===_0x131b31)return _0x131b31;return _0x131b31+'\x20Cause:\x20'+_0x2ce998;}function createAssignTaskTool(_0x5c67fb){const _0x369cd6={_0x17d7d0:0x7b2,_0x296b4c:0x181,_0x4111fc:0x179,_0x3dc55b:0x2bd,_0x4184e3:0x57,_0x257b51:0xc,_0x333b2d:0x154,_0x48647c:0x14b,_0x59f30f:0x21e,_0x360427:0x2c9,_0xaba15a:0x185,_0x287ff7:0x217,_0x52eaf7:0x1f3,_0x1330be:0x406,_0x257b4e:0x5a9,_0x59663d:0x406,_0x534462:0x38a,_0x52a52a:0x3a7,_0x2028e7:0x4e2,_0x333c1b:0x278,_0x228f96:0x16a,_0x3c561f:0x1ec,_0x4fe564:0x78,_0x2722f8:0x5ea,_0x1fcaa2:0x53e},_0x2553d4={_0x45e592:0x18,_0x9eb7e5:0x241,_0x17f1b6:0x383,_0x19c6b8:0x29f,_0x415a12:0xe6,_0x4d19f0:0x31c,_0x577c58:0x2ea,_0x3fc673:0x23f,_0x11693c:0x7f,_0x102f27:0x86,_0x204c17:0xf,_0x45d379:0x65,_0x15b2bf:0xd1,_0x18d81a:0x1b,_0x3fda81:0x2a0,_0x549e7c:0xab,_0x42dbf5:0x23f,_0x430d87:0x3c0,_0x3664bd:0x10a,_0x3676eb:0xdd,_0x6f913b:0xc,_0x17ef6f:0x379,_0x480330:0x3f4,_0xa97217:0x277,_0x43cc92:0x621,_0x51d42c:0x461,_0x4936f6:0x1d3,_0x307877:0xb3,_0x514569:0x167,_0x4c9e5f:0x335,_0x1ca987:0x103,_0x26bff4:0x398,_0x444bd2:0x554,_0xaab6df:0x3b0,_0x3eca2c:0x55d,_0x3fd0f8:0x24,_0x5bec79:0x49d,_0x126298:0x461,_0xb6eb50:0x163,_0x276270:0x486,_0x7997eb:0x3db,_0x303f44:0x2ec,_0x2edc97:0x1ed,_0x1b823a:0x30f,_0x40a087:0x8e,_0xee9ed0:0x40,_0x57dc22:0x8b,_0x56658f:0x70,_0x36c274:0x53,_0x36e754:0x1f,_0x2529fe:0x1c7,_0x206615:0x143,_0x4025d5:0xdd,_0x31bacf:0x9d,_0xacd8c0:0x44,_0x3eb02a:0x2e5,_0x145ad8:0x347,_0x571ebf:0x152,_0x641b29:0xeb,_0x522c5b:0x290,_0x5d0435:0x41d,_0x3feebe:0x276,_0x64b0be:0x3fe,_0xd57128:0x187,_0x30f74a:0x2ea,_0x4c73ba:0x418,_0x1d8dd4:0x8b,_0x23fe75:0x38,_0x280c41:0x20,_0x2179b6:0x341,_0x3c4535:0x195,_0xac4867:0x7,_0x40a1bc:0x625,_0x5686b2:0x489,_0x2840cd:0x5ba,_0xaab540:0x241,_0x50da85:0x395,_0x3905a1:0x12,_0x5a417e:0x149,_0x70c32:0x2cc,_0x1c0ebd:0x23,_0x481d5a:0x1ca,_0x165666:0x171,_0x244c45:0xf9,_0x340107:0x3a4,_0x4de434:0xf3,_0x50c5cb:0xee,_0x1c597b:0x13,_0x1b5fca:0x105,_0xd56489:0x25d,_0x2b2a4c:0x316},_0x5d6c12={_0x22e742:0x41},_0x3a14d8={_0x1d4a62:0x2a0},_0x148ee1={_0x4bff40:0x3a},_0x53c4a1={_0x2b5098:0x1ba,_0x3b4956:0x396};function _0x19ebb2(_0x26da55,_0x2ce732,_0x1af031,_0x48a115){return _0x515b8f(_0x26da55-0x9a,_0x2ce732-_0x53c4a1._0x2b5098,_0x1af031,_0x48a115- -_0x53c4a1._0x3b4956);}function _0x2c19e2(_0x2a89d8,_0x3e9b54,_0x1856d4,_0x184e53){return _0x515b8f(_0x2a89d8-0x78,_0x3e9b54-0x16f,_0x1856d4,_0x184e53-_0x148ee1._0x4bff40);}return defineTool({'name':_0x2c19e2(_0x369cd6._0x17d7d0,0x78b,0x7ca,0x6dc),'permissionClass':'always-confirm','description':_0x19ebb2(_0x369cd6._0x296b4c,0x3f3,_0x369cd6._0x4111fc,_0x369cd6._0x3dc55b),'inputSchema':{'type':'object','properties':{'agentId':{'type':_0x19ebb2(0xb0,0x113,0x8e,0x112),'description':_0x19ebb2(_0x369cd6._0x4184e3,0x140,_0x369cd6._0x257b51,_0x369cd6._0x333b2d)},'description':{'type':_0x19ebb2(_0x369cd6._0x48647c,_0x369cd6._0x59f30f,_0x369cd6._0x360427,0x112),'description':_0x19ebb2(_0x369cd6._0xaba15a,0x154,_0x369cd6._0x287ff7,_0x369cd6._0x52eaf7)},'nickname':{'type':_0x19ebb2(0x85,-0x9e,0xb,0x112),'description':_0x2c19e2(_0x369cd6._0x1330be,0x410,0x46f,_0x369cd6._0x257b4e)},'task':{'type':_0x2c19e2(_0x369cd6._0x59663d,_0x369cd6._0x534462,_0x369cd6._0x52a52a,_0x369cd6._0x2028e7),'description':_0x19ebb2(_0x369cd6._0x333c1b,0x1f8,_0x369cd6._0x228f96,_0x369cd6._0x3c561f)}},'required':[_0x19ebb2(-_0x369cd6._0x4fe564,0x88,0x160,0x10f),_0x2c19e2(0x5e9,0x55e,_0x369cd6._0x2722f8,_0x369cd6._0x1fcaa2),'task']},async *'execute'(_0x4e1b28,_0x561872){const _0x6f490e={_0x134ef8:0x327,_0x4977a8:0x23a,_0x20c446:0x3a1,_0x51635b:0x7d},_0x3e1c8a={_0x473dd8:0x178},_0x4db99a={_0xd600e3:0x246},_0x4f8c13=createDelegatedRunId(),_0x5046bf=new AbortController(),_0x5ec725={'agentId':_0x4e1b28['agentId'],'parentSessionId':_0x561872[_0x2bcd99(0x148,0x166,0x143,-_0x2553d4._0x45e592)],'runId':_0x4f8c13,'signal':_0x5046bf[_0x19a24e(0x34f,_0x2553d4._0x9eb7e5,_0x2553d4._0x17f1b6,0x2ff)],..._0x561872['toolCallId']!==void 0x0?{'toolCallId':_0x561872[_0x19a24e(_0x2553d4._0x19c6b8,0x1d4,0x342,_0x2553d4._0x415a12)]}:{}},_0x3389f0=getDelegatedAgentDefinition(_0x5c67fb,_0x4e1b28[_0x2bcd99(_0x2553d4._0x4d19f0,_0x2553d4._0x577c58,_0x2553d4._0x3fc673,_0x2553d4._0x11693c)]);function _0x2bcd99(_0x522bbb,_0x372ce8,_0x20a9fc,_0x35e638){return _0x2c19e2(_0x522bbb-0x28,_0x372ce8-0x1e2,_0x35e638,_0x20a9fc- -_0x3a14d8._0x1d4a62);}function _0x19a24e(_0x81829c,_0x161b66,_0x661371,_0x463269){return _0x2c19e2(_0x81829c-0x187,_0x161b66-_0x5d6c12._0x22e742,_0x463269,_0x161b66- -0x4c0);}if(!_0x3389f0)throw new ToolExecutionError(_0x19a24e(-_0x2553d4._0x102f27,-0x75,-_0x2553d4._0x204c17,_0x2553d4._0x45d379)+_0x4e1b28[_0x19a24e(-_0x2553d4._0x15b2bf,0x1f,_0x2553d4._0x18d81a,0x74)],{'agentId':_0x4e1b28[_0x2bcd99(_0x2553d4._0x3fda81,0x26a,0x23f,_0x2553d4._0x549e7c)]});let _0x2af1b8={'runId':_0x4f8c13,'agentId':_0x4e1b28['agentId'],'status':_0x19a24e(0x263,_0x2553d4._0x42dbf5,0xf6,_0x2553d4._0x430d87),'parentSessionId':_0x561872[_0x19a24e(-_0x2553d4._0x3664bd,-_0x2553d4._0x3676eb,-_0x2553d4._0x6f913b,-0x168)],..._0x561872[_0x19a24e(0x173,0x1d4,0x88,0x18c)]!==void 0x0?{'originToolCallId':_0x561872[_0x2bcd99(_0x2553d4._0x17ef6f,0x32e,_0x2553d4._0x480330,_0x2553d4._0xa97217)]}:{}};const _0x522dff=addAbortListener(_0x561872[_0x2bcd99(_0x2553d4._0x43cc92,0x4d2,_0x2553d4._0x51d42c,0x337)],()=>{function _0x90d0a2(_0x2ead15,_0x8a50bf,_0x5f01e5,_0x53eb40){return _0x2bcd99(_0x2ead15-0x9b,_0x8a50bf-0xd5,_0x5f01e5- -_0x4db99a._0xd600e3,_0x8a50bf);}function _0x1d6a26(_0x4387cb,_0x12c7fa,_0x4c0bea,_0x429351){return _0x19a24e(_0x4387cb-0x1ba,_0x4387cb-0x264,_0x4c0bea-_0x3e1c8a._0x473dd8,_0x4c0bea);}_0x5046bf[_0x1d6a26(0x2b6,_0x6f490e._0x134ef8,_0x6f490e._0x4977a8,_0x6f490e._0x20c446)](_0x561872['signal'][_0x90d0a2(-0x12,-0xe8,-_0x6f490e._0x51635b,-0x1b9)]);});let _0x5e2ec6,_0x260a88,_0x4fc140,_0x40bc95;try{_0x5c67fb[_0x19a24e(0x31d,_0x2553d4._0x4936f6,_0x2553d4._0x307877,_0x2553d4._0x514569)]!==void 0x0&&(_0x5e2ec6=await _0x5c67fb[_0x2bcd99(0x42d,_0x2553d4._0x4c9e5f,0x3f3,0x4ce)]['acquire'](_0x5046bf[_0x19a24e(0xb9,0x241,0x20a,_0x2553d4._0x1ca987)]));throwIfAborted(_0x5046bf[_0x19a24e(0x342,0x241,0x3ab,0x1c3)]);const _0x47fe64=await awaitWithAbort2(resolveDelegatedAgentOptions(_0x3389f0,_0x5ec725),_0x5046bf['signal']);throwIfAborted(_0x5046bf[_0x2bcd99(_0x2553d4._0x26bff4,0x532,0x461,0x4fb)]);const _0x45be50=_0x5c67fb[_0x2bcd99(_0x2553d4._0x444bd2,0x1f8,_0x2553d4._0xaab6df,0x549)]!==void 0x0&&_0x47fe64['systemPrompt']!==void 0x0?{..._0x47fe64,'systemPrompt':_0x5c67fb[_0x2bcd99(0x539,_0x2553d4._0x3eca2c,0x3b0,0x370)](_0x47fe64[_0x19a24e(_0x2553d4._0x3fd0f8,-0x70,0xfc,-0x19c)])}:_0x47fe64;throwIfAborted(_0x5046bf[_0x2bcd99(0x4e0,_0x2553d4._0x5bec79,_0x2553d4._0x126298,0x4ec)]);const _0x42ca24=new Agent(_0x45be50);_0x2af1b8={..._0x2af1b8,'sessionId':_0x42ca24[_0x19a24e(-_0x2553d4._0xb6eb50,-0xdd,0x8b,-0x12b)]},_0x260a88=_0x5c67fb[_0x2bcd99(_0x2553d4._0x276270,_0x2553d4._0x7997eb,_0x2553d4._0x303f44,_0x2553d4._0x2edc97)]?.(_0x42ca24,_0x5ec725);const _0x462aa4=new Promise(_0x15f142=>{_0x40bc95=_0x15f142;});_0x4fc140=_0x5c67fb['registerActiveRun']?.({'runId':_0x4f8c13,'abortController':_0x5046bf,'completion':_0x462aa4}),yield createToolOutput(_0x2bcd99(_0x2553d4._0x1b823a,0x495,0x3ec,0x296)+_0x2af1b8[_0x19a24e(-0x1c5,-0x8b,_0x2553d4._0x40a087,_0x2553d4._0xee9ed0)]+'.',{'runId':_0x2af1b8[_0x19a24e(-0xf8,-_0x2553d4._0x57dc22,-_0x2553d4._0x56658f,_0x2553d4._0x57dc22)],'agentId':_0x2af1b8[_0x19a24e(-_0x2553d4._0x36c274,_0x2553d4._0x36e754,-0x10a,-_0x2553d4._0x18d81a)],'sessionId':_0x42ca24[_0x2bcd99(0x129,_0x2553d4._0x2529fe,_0x2553d4._0x206615,_0x2553d4._0x4025d5)],'status':_0x2af1b8[_0x19a24e(_0x2553d4._0x31bacf,-0x9,_0x2553d4._0xacd8c0,-0x1ba)]}),throwIfAborted(_0x5046bf[_0x2bcd99(_0x2553d4._0x3eb02a,_0x2553d4._0x145ad8,0x461,0x4ed)]);const _0xbb4730=await _0x42ca24[_0x19a24e(_0x2553d4._0x571ebf,_0x2553d4._0x641b29,0x15c,_0x2553d4._0x522c5b)](_0x4e1b28[_0x2bcd99(0x2db,0x481,_0x2553d4._0x5d0435,_0x2553d4._0x3feebe)],{'streaming':!![],'signal':_0x5046bf[_0x2bcd99(0x55d,0x50e,_0x2553d4._0x51d42c,_0x2553d4._0x64b0be)]});_0x2af1b8={..._0x2af1b8,'status':_0xbb4730['status'],'result':_0xbb4730};if(_0xbb4730[_0x19a24e(-0xa0,-0x9,-_0x2553d4._0xd57128,0xc7)]!==_0x2bcd99(0x449,_0x2553d4._0x30f74a,0x4ab,_0x2553d4._0x4c73ba)){const _0x100274=getRunTerminalErrorMessage(_0xbb4730),_0x7a0b09=formatAbortedRunMessage(_0x2af1b8[_0x19a24e(-0x158,-_0x2553d4._0x1d8dd4,0x28,-_0x2553d4._0x23fe75)],_0x100274);throw new ToolExecutionError(_0x7a0b09,{...createRunSummary(_0x2af1b8),'aborted':!![],'errorMessage':_0x7a0b09});}return createRunSummaryOutput(_0x2af1b8,_0x2bcd99(_0x2553d4._0x280c41,_0x2553d4._0x2179b6,0x19e,0x173)+_0x2af1b8[_0x2bcd99(0x2ff,_0x2553d4._0x11693c,_0x2553d4._0x3c4535,_0x2553d4._0xac4867)]+_0x2bcd99(_0x2553d4._0x40a1bc,0x502,_0x2553d4._0x5686b2,0x3ea));}catch(_0x428f13){if(_0x428f13 instanceof ToolExecutionError)throw _0x428f13;if(isAbortError(_0x428f13)||_0x5046bf[_0x2bcd99(0x3c2,_0x2553d4._0x2840cd,0x461,0x33f)][_0x2bcd99(0x3ba,0x263,0x20e,0x117)]||_0x561872[_0x19a24e(0x254,_0x2553d4._0xaab540,_0x2553d4._0x50da85,0x203)][_0x19a24e(_0x2553d4._0x11693c,-_0x2553d4._0x3905a1,-0x69,-0xcc)]){const _0x10dbcb=getRunTerminalErrorMessage(_0x2af1b8['result'])??(_0x428f13 instanceof Error?_0x428f13[_0x19a24e(0x14,0x32,-_0x2553d4._0x5a417e,0xb4)]:String(_0x428f13)),_0x13ad56=formatAbortedRunMessage(_0x2af1b8[_0x2bcd99(0x119,_0x2553d4._0x70c32,_0x2553d4._0x3c4535,-_0x2553d4._0x1c0ebd)],_0x10dbcb);_0x2af1b8={..._0x2af1b8,'status':_0x19a24e(0x6a,-_0x2553d4._0x3905a1,0xa5,-_0x2553d4._0x481d5a),'errorMessage':_0x13ad56};throw new ToolExecutionError(_0x13ad56,{...createRunSummary(_0x2af1b8),'aborted':!![],'errorMessage':_0x13ad56});}const _0x4c7790=getRunTerminalErrorMessage(_0x2af1b8[_0x19a24e(0x278,0x13d,0x44,_0x2553d4._0x165666)])??(_0x428f13 instanceof Error?_0x428f13[_0x2bcd99(_0x2553d4._0x244c45,_0x2553d4._0x340107,0x252,_0x2553d4._0x4de434)]:String(_0x428f13))??_0x19a24e(_0x2553d4._0x50c5cb,-0x82,-0x33,0x6c)+_0x2af1b8[_0x19a24e(-_0x2553d4._0x1c597b,-_0x2553d4._0x57dc22,0xb2,_0x2553d4._0x1b5fca)]+'\x20failed.';_0x2af1b8={..._0x2af1b8,'status':_0x2bcd99(0x258,_0x2553d4._0xaab540,_0x2553d4._0xd56489,_0x2553d4._0x2b2a4c),'errorMessage':_0x4c7790};throw new ToolExecutionError(_0x4c7790,{...createRunSummary(_0x2af1b8),'errorMessage':_0x4c7790});}finally{_0x40bc95?.(),_0x4fc140?.(),_0x260a88?.(),_0x5e2ec6?.(),_0x522dff();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x266638){return[createAssignTaskTool(_0x266638)];}import*as _0x4a5df4 from'path';function buildDescription2(_0x2d85f4){const _0x867d39={_0x501645:0x1d7,_0x1ef248:0x112,_0x57d98b:0x10c,_0x1afdaf:0x440,_0x77221b:0x2a1,_0x2377ae:0x14,_0x281bb5:0x84,_0x23fdb8:0x7b,_0x5f3439:0x30d,_0x213870:0x9b,_0x504716:0x18d,_0x3460fb:0xe5,_0x289f4c:0x34d,_0x2452b9:0x78,_0x58ec9f:0x261,_0x760483:0xd9},_0x99f6b9={_0x1ffb75:0x19e};function _0x51832e(_0x55d830,_0x3e36ad,_0x2827ac,_0x23a869){return _0x515b8f(_0x55d830-0x187,_0x3e36ad-_0x99f6b9._0x1ffb75,_0x55d830,_0x23a869- -0x696);}if(_0x2d85f4[_0x51832e(-_0x867d39._0x501645,-0x10f,-0x167,-_0x867d39._0x1ef248)]===0x0)return _0x51832e(-0x163,-_0x867d39._0x57d98b,-_0x867d39._0x1afdaf,-_0x867d39._0x77221b);const _0x5adc0d=[_0x483f2b(0x5d,_0x867d39._0x2377ae,-_0x867d39._0x281bb5,-_0x867d39._0x23fdb8),_0x483f2b(_0x867d39._0x5f3439,_0x867d39._0x213870,_0x867d39._0x504716,0x1a6),_0x483f2b(-_0x867d39._0x3460fb,0x1b4,0x83,-0x2a),_0x483f2b(-0x1a0,-0x176,-0x8a,0x40),..._0x2d85f4[_0x51832e(-0x10f,-0x2bb,-_0x867d39._0x289f4c,-0x2bc)](_0x5e7d13=>'-\x20'+_0x5e7d13['name']+':\x20'+_0x5e7d13[_0x51832e(-0x19b,-0x202,-0x1f7,-0x192)])];function _0x483f2b(_0x37e942,_0x1f627a,_0x2fad9a,_0x319870){return _0x1c3a85(_0x37e942-0x121,_0x1f627a,_0x2fad9a-0x28,_0x2fad9a- -0xb6);}return _0x5adc0d[_0x51832e(-0x43,_0x867d39._0x2452b9,-_0x867d39._0x58ec9f,-_0x867d39._0x760483)]('\x0a');}function createLoadSkillTool(_0x38db2d){const _0x48afb3={_0x4c4f42:0x361,_0x502a1a:0x286,_0x4cf564:0x367,_0x121be7:0x8d,_0x37e8ff:0x40,_0x579a8a:0x3c,_0x39ed69:0x1bc},_0x2fca4a={_0x2da2a7:0x24c,_0x346b36:0x1d7,_0x1b4733:0x20d,_0x3b0397:0x14,_0x2c3c29:0x3a8,_0x5bcb5f:0x216,_0x2b3c63:0x35e,_0x4e1932:0xbd,_0x1ee5b5:0x1c5,_0x4d99d2:0x80,_0x3dd1fe:0x112,_0x38ad0c:0x77,_0x3c24b7:0x6d8,_0x49657b:0x537,_0x38f784:0x503,_0x579114:0x410,_0x1a616b:0x4a2,_0x261ec1:0x38a,_0x269cbe:0x3ce,_0x21bc34:0x2e9,_0x40969c:0x2d3,_0x291508:0x41c,_0x3114fa:0x4bc,_0x40ff9a:0x335,_0x11cd14:0x6a8,_0x52af8a:0xbe,_0x40d535:0x1e0,_0x4cc25b:0x1fb,_0xdf9fbf:0x609,_0x9fbdaf:0x3f9,_0x37aa6a:0x2c4,_0x3ca592:0x3e8,_0x5bf8fa:0x2,_0x50d0c3:0x353,_0x9c2f7d:0x4ed,_0x89ad13:0x4ab,_0x674a2:0x408,_0x2cf082:0x6a3,_0x4fc635:0x628,_0x145136:0x629,_0x145d7d:0x5b7,_0x12a899:0x146,_0x5397a7:0x1b1,_0x55643a:0x79,_0x5660e6:0x4c,_0x233fab:0x1e8},_0x5df626={_0x5cd381:0x8},_0x3e1d69={_0x25b5c5:0x44,_0x436525:0x11b,_0xe3a081:0x70};function _0x2e9412(_0xf88656,_0x525dc3,_0x342009,_0x3a3ef3){return _0x1c3a85(_0xf88656-_0x3e1d69._0x25b5c5,_0x342009,_0x342009-_0x3e1d69._0x436525,_0x3a3ef3- -_0x3e1d69._0xe3a081);}const _0x2763de=new Map(_0x38db2d['skills'][_0x2e9412(-0x21,-0xd9,-0x16d,-0x11f)](_0x19bf9c=>[_0x19bf9c[_0x2e9412(0x118,0x1b1,-0xc5,0xa0)],_0x19bf9c])),_0x2addde=buildDescription2(_0x38db2d[_0x55a692(_0x48afb3._0x4c4f42,_0x48afb3._0x502a1a,0x213,_0x48afb3._0x4cf564)]);function _0x55a692(_0x30c479,_0x3e4130,_0xe994e5,_0x1c23a8){return _0x1c3a85(_0x30c479-_0x5df626._0x5cd381,_0x30c479,_0xe994e5-0x3a,_0x1c23a8-0x343);}return defineTool({'name':'LoadSkill','permissionClass':_0x2e9412(0x102,0xc5,0x225,_0x48afb3._0x121be7),'description':_0x2addde,'inputSchema':{'type':_0x2e9412(_0x48afb3._0x37e8ff,_0x48afb3._0x579a8a,-0x175,-0x7d),'properties':{'name':{'type':_0x2e9412(-0x118,-_0x48afb3._0x39ed69,-0x16b,-0x51)}},'required':['name']},async *'execute'(_0x39edd1){const _0x394fbc={_0x2d8d07:0x189,_0x2d31fe:0x163,_0x72b98c:0xe4},_0x4fc319={_0x1fedab:0x1cc,_0x21dbc7:0x1d6},_0x5d0b40=_0x2763de[_0x48fc39(-_0x2fca4a._0x2da2a7,-0x1f4,-_0x2fca4a._0x346b36,-_0x2fca4a._0x1b4733)](_0x39edd1[_0x48fc39(-0x125,_0x2fca4a._0x3b0397,-0x136,-0xd4)]);function _0x48fc39(_0x37f582,_0x12e923,_0x3c4fb2,_0x39b97d){return _0x2e9412(_0x37f582-0x3c,_0x12e923-_0x4fc319._0x1fedab,_0x37f582,_0x3c4fb2- -_0x4fc319._0x21dbc7);}if(!_0x5d0b40){const _0x527f7e=Array[_0x44081c(0x3ea,_0x2fca4a._0x2c3c29,_0x2fca4a._0x5bcb5f,_0x2fca4a._0x2b3c63)](_0x2763de[_0x48fc39(-0x351,-_0x2fca4a._0x4e1932,-0x231,-0x189)]())[_0x48fc39(-_0x2fca4a._0x1ee5b5,-_0x2fca4a._0x4d99d2,-_0x2fca4a._0x3dd1fe,-_0x2fca4a._0x38ad0c)](',\x20');throw new ToolExecutionError('Skill\x20\x27'+_0x39edd1[_0x44081c(_0x2fca4a._0x3c24b7,0x64d,0x456,_0x2fca4a._0x49657b)]+'\x27\x20not\x20found.\x20Available\x20skills:\x20'+_0x527f7e,{'name':_0x39edd1['name']});}const _0x43f855=await _0x38db2d[_0x44081c(0x457,0x48b,0x43e,_0x2fca4a._0x38f784)](_0x5d0b40);function _0x44081c(_0x2bef07,_0x72b61,_0x4fcf70,_0x34c409){return _0x55a692(_0x72b61,_0x72b61-_0x394fbc._0x2d8d07,_0x4fcf70-_0x394fbc._0x2d31fe,_0x34c409-_0x394fbc._0x72b98c);}const _0x3514a4=_0x5d0b40[_0x44081c(_0x2fca4a._0x579114,0x320,0x669,0x4bc)][_0x44081c(_0x2fca4a._0x1a616b,_0x2fca4a._0x261ec1,0x26d,_0x2fca4a._0x269cbe)]??_0x4a5df4[_0x48fc39(-0x146,-0x2fe,-_0x2fca4a._0x21bc34,-_0x2fca4a._0x40969c)](_0x5d0b40[_0x44081c(0x38d,_0x2fca4a._0x291508,_0x2fca4a._0x3114fa,0x4bc)][_0x48fc39(-0x31e,-0x22b,-0x180,-0x2b0)]),_0x47923e=[_0x48fc39(-0x43a,-0x2c6,-_0x2fca4a._0x40ff9a,-0x4dd)+_0x43f855[_0x44081c(0x631,_0x2fca4a._0x11cd14,0x449,0x537)],'',_0x43f855[_0x48fc39(-0x9d,-_0x2fca4a._0x52af8a,-_0x2fca4a._0x40d535,-_0x2fca4a._0x4cc25b)],'',_0x44081c(0x58a,0x651,0x58a,_0x2fca4a._0xdf9fbf),_0x44081c(_0x2fca4a._0x9fbdaf,0x46a,_0x2fca4a._0x37aa6a,_0x2fca4a._0x3ca592)+_0x5d0b40[_0x48fc39(-_0x2fca4a._0x5bf8fa,-_0x2fca4a._0x50d0c3,-0x1b1,-0x2c7)][_0x44081c(0x441,0x5b3,0x5b5,_0x2fca4a._0x9c2f7d)],'Base\x20directory:\x20'+_0x3514a4][_0x44081c(_0x2fca4a._0x89ad13,_0x2fca4a._0x674a2,_0x2fca4a._0x2cf082,0x55b)]('\x0a');return yield createToolOutput(_0x47923e,{'id':_0x43f855['id'],'name':_0x43f855[_0x44081c(_0x2fca4a._0x4fc635,_0x2fca4a._0x145136,_0x2fca4a._0x145d7d,0x537)],'path':_0x5d0b40[_0x48fc39(-_0x2fca4a._0x12a899,-0x79,-_0x2fca4a._0x5397a7,-_0x2fca4a._0x55643a)][_0x48fc39(-_0x2fca4a._0x5660e6,-0x4d,-0x180,-_0x2fca4a._0x233fab)],'baseDirectory':_0x3514a4}),void 0x0;}});}var TODO_STATUSES=new Set([_0x1c3a85(0x2,0x14f,-0x1c1,-0x6a),_0x1c3a85(0x20e,0x2c6,0x33d,0x1c4),'completed']),TODO_PRIORITIES=new Set([_0x1c3a85(0x334,0x212,0x14f,0x18b),_0x515b8f(0x59a,0x7ee,0x771,0x702),'low']);function isTodoStatus(_0x14c911){const _0x512890={_0x1717ab:0x355,_0x39ef06:0x237,_0x3b5198:0x3ee,_0x25cb14:0x30b},_0x17eb51={_0x2d1e44:0x108},_0x2d3790={_0x1e63e3:0x197,_0x13c7fd:0x96};function _0x2f4707(_0x52d313,_0x105ac4,_0x361fd0,_0x2ae027){return _0x515b8f(_0x52d313-_0x2d3790._0x1e63e3,_0x105ac4-_0x2d3790._0x13c7fd,_0x52d313,_0x2ae027- -0xcf);}function _0x1d7c41(_0x2d1ae5,_0x256406,_0x2e6f7c,_0x17e219){return _0x1c3a85(_0x2d1ae5-0x1d,_0x17e219,_0x2e6f7c-_0x17eb51._0x2d1e44,_0x2e6f7c-0x218);}return typeof _0x14c911===_0x1d7c41(_0x512890._0x1717ab,0xc3,_0x512890._0x39ef06,_0x512890._0x3b5198)&&TODO_STATUSES[_0x2f4707(0x41d,0x313,_0x512890._0x25cb14,0x46f)](_0x14c911);}function isTodoPriority(_0x4abfbb){const _0x3389c0={_0x382179:0x447,_0x30da7e:0xba,_0x93e221:0x138,_0x43a33d:0x1df},_0x1f8bf3={_0x476a1e:0x4ff},_0x20010d={_0x2dd1c3:0x97,_0x3d0d3a:0x127};function _0xbc3f24(_0x2d2c37,_0x10265a,_0x42aed2,_0x31646e){return _0x515b8f(_0x2d2c37-_0x20010d._0x2dd1c3,_0x10265a-_0x20010d._0x3d0d3a,_0x31646e,_0x42aed2- -0x4ef);}function _0x227ee4(_0xf19ee3,_0x37b6fb,_0xe8b873,_0x1e7a79){return _0x1c3a85(_0xf19ee3-0xba,_0x37b6fb,_0xe8b873-0x1f0,_0x1e7a79-_0x1f8bf3._0x476a1e);}return typeof _0x4abfbb===_0x227ee4(_0x3389c0._0x382179,0x66e,0x415,0x51e)&&TODO_PRIORITIES[_0xbc3f24(-_0x3389c0._0x30da7e,-_0x3389c0._0x93e221,0x4f,_0x3389c0._0x43a33d)](_0x4abfbb);}var TodoStore=class{['todosBySession']=new Map();[_0x1c3a85(0x2b7,0x31f,0xb8,0x15f)](_0x25d421){const _0x2b20ab={_0x53ed08:0x555,_0x30c4a9:0x357,_0x352f99:0x173},_0x18d484={_0x388156:0xa,_0x2f3387:0x262},_0x32ec30={_0x431604:0x109,_0x50f6ae:0x200};function _0x20263c(_0x1d2450,_0x470904,_0x386c77,_0x1c63b){return _0x1c3a85(_0x1d2450-_0x32ec30._0x431604,_0x470904,_0x386c77-0x1d2,_0x1d2450-_0x32ec30._0x50f6ae);}function _0x2d7788(_0x4fd8ce,_0x5e3ec2,_0x291685,_0x35cb3d){return _0x1c3a85(_0x4fd8ce-0x1c8,_0x4fd8ce,_0x291685-_0x18d484._0x388156,_0x35cb3d-_0x18d484._0x2f3387);}return this[_0x20263c(0x3c5,0x248,0x4e0,_0x2b20ab._0x53ed08)][_0x2d7788(_0x2b20ab._0x30c4a9,0x3c6,_0x2b20ab._0x352f99,0x2d1)](_0x25d421)??[];}[_0x515b8f(0x32f,0x548,0x32a,0x459)](_0x34a6f9,_0x329a67){const _0x5803cb={_0x1bfd0c:0x115,_0x271ad5:0x95,_0x4ac94a:0x18b,_0x4bb1a4:0x6},_0x2e204b={_0x3efc05:0xd,_0x341573:0x5b9},_0x465219={_0x4fe55f:0x1a4,_0x29e6bf:0xc5};function _0xc6124c(_0x2672ce,_0x1d9f44,_0x3088e3,_0x20b0e6){return _0x515b8f(_0x2672ce-0x13,_0x1d9f44-_0x465219._0x4fe55f,_0x2672ce,_0x3088e3- -_0x465219._0x29e6bf);}function _0x116db0(_0x3c2afb,_0x4c4f48,_0x27e751,_0x25b1b1){return _0x515b8f(_0x3c2afb-_0x2e204b._0x3efc05,_0x4c4f48-0x18,_0x27e751,_0x4c4f48- -_0x2e204b._0x341573);}this[_0x116db0(_0x5803cb._0x1bfd0c,_0x5803cb._0x271ad5,0x4,_0x5803cb._0x4ac94a)][_0x116db0(-0x53,-0x91,-0x4c,_0x5803cb._0x4bb1a4)](_0x34a6f9,_0x329a67);}[_0x1c3a85(-0x38,0x7b,0x48,0x186)](_0x3602e3){const _0x87bd54={_0x47d1ac:0xcc,_0x9b7125:0x5b,_0x65edca:0x82,_0x313085:0x3de,_0xecea13:0x2e6,_0x81872a:0x2d7,_0x414325:0x389,_0x17f07f:0x3c4,_0x75fbd8:0x1dc,_0x1f33aa:0x267,_0x1d70ba:0x2c4,_0x281ac7:0x91,_0x35f7bf:0x27,_0x2a6cd4:0x59,_0x1f63da:0x146,_0x25527c:0x29e,_0x12b017:0x19a},_0x40c424={_0x124397:0xca,_0xf0c762:0x1a6},_0x414f11={_0x38a0f9:0x1d6,_0x1f4e9f:0x18b},_0x89c69e=this[_0x5dd60e(_0x87bd54._0x47d1ac,_0x87bd54._0x9b7125,_0x87bd54._0x65edca,-0x2c)](_0x3602e3),_0xa0b2b7={'total':_0x89c69e[_0x36c987(_0x87bd54._0x313085,0x51b,0x51e,_0x87bd54._0xecea13)],'pending':0x0,'inProgress':0x0,'completed':0x0};function _0x5dd60e(_0x9c5719,_0x5929d7,_0x6ec4da,_0xb4011c){return _0x1c3a85(_0x9c5719-_0x414f11._0x38a0f9,_0x5929d7,_0x6ec4da-0x1c0,_0xb4011c- -_0x414f11._0x1f4e9f);}for(const _0x3a9adf of _0x89c69e){if(_0x3a9adf[_0x36c987(_0x87bd54._0x81872a,0x270,_0x87bd54._0x414325,_0x87bd54._0x17f07f)]==='pending')_0xa0b2b7[_0x5dd60e(-_0x87bd54._0x75fbd8,-0x2c8,-_0x87bd54._0x1f33aa,-0x1f5)]+=0x1;else{if(_0x3a9adf[_0x36c987(_0x87bd54._0x81872a,0x360,_0x87bd54._0x1d70ba,0x319)]===_0x5dd60e(-_0x87bd54._0x281ac7,_0x87bd54._0x35f7bf,-_0x87bd54._0x2a6cd4,0x39))_0xa0b2b7[_0x5dd60e(-_0x87bd54._0x1f63da,-0x1cc,-_0x87bd54._0x25527c,-0x169)]+=0x1;else _0xa0b2b7[_0x5dd60e(0x2ad,_0x87bd54._0x12b017,-0x9c,0xfd)]+=0x1;}}function _0x36c987(_0x1c501a,_0x1274fc,_0x1b7539,_0x5c0644){return _0x515b8f(_0x1c501a-_0x40c424._0x124397,_0x1274fc-0x1c2,_0x1b7539,_0x1c501a- -_0x40c424._0xf0c762);}return _0xa0b2b7;}};function validateTodos(_0x4f39dc){const _0x1b37bb={_0x878081:0x221,_0x53766b:0x2b3,_0xcaa90b:0x4c6,_0x3fdcb9:0x374,_0x309327:0x495,_0x428f38:0x3f2,_0xa1eb55:0x245,_0x5d678e:0x4ac,_0x3c29dd:0x437,_0x8b0bdf:0x19f,_0x3ba610:0x1d9,_0x1b4e34:0x374,_0x3f9ac3:0x2a7,_0x4f7ca1:0x315,_0x30f6da:0x3f1,_0x15d2fc:0x44d,_0x35d03d:0x621,_0x32247a:0x418,_0x5bc5a8:0x210,_0x1be4f7:0x4f4,_0x3266cc:0x512,_0x58fc06:0x34d,_0x89e6a0:0x2f9,_0x2e0f9f:0x417,_0x18f524:0x53e,_0x2180f8:0x2b9,_0x264994:0x4e9,_0x42786c:0x40a,_0x491fee:0x2ee,_0x53ba2c:0x239,_0x19cacb:0x1a0,_0xdbf927:0x362,_0x5be57d:0x58f,_0x2987dc:0x485,_0x3a0fb8:0x501,_0x577960:0x344,_0x236b98:0x4de,_0x512a24:0x2a6,_0x462b62:0x317,_0x48297f:0x442,_0x29d900:0x3ad,_0x38578b:0x4eb,_0x347f39:0x2e8,_0x4fcd62:0x472,_0x28557e:0x3a5,_0x490cb9:0x5b6,_0x2820ea:0x69f,_0xb67594:0x439,_0xf43df2:0x5ae,_0x528928:0x460,_0x59eb14:0x620,_0x2b1e58:0x334,_0x1bf43f:0x2bd,_0x58a5e9:0x230,_0x11ba0d:0x5ae,_0x3270cd:0x498,_0x5e2ab5:0x16b,_0x3a0d94:0x33e,_0x2f51e1:0x427,_0x413fd6:0x605,_0x509fd0:0x3eb,_0x4e93de:0x472,_0x4dae7f:0x225,_0x207cec:0x3b7},_0x216750={_0x4aa401:0x68},_0x59441b={_0x5cfe76:0x136,_0x11b5de:0x1f1,_0x50e9e4:0xd8};function _0x385a84(_0x13f9d0,_0x4bd3d0,_0x52799a,_0x7b4007){return _0x515b8f(_0x13f9d0-_0x59441b._0x5cfe76,_0x4bd3d0-_0x59441b._0x11b5de,_0x13f9d0,_0x7b4007- -_0x59441b._0x50e9e4);}function _0x34d656(_0x3adbe8,_0x3300fb,_0xe68ece,_0x427f6f){return _0x515b8f(_0x3adbe8-0x4b,_0x3300fb-_0x216750._0x4aa401,_0x3adbe8,_0x3300fb- -0x26f);}if(!Array[_0x34d656(_0x1b37bb._0x878081,_0x1b37bb._0x53766b,0x10a,0x289)](_0x4f39dc[_0x385a84(0x248,_0x1b37bb._0xcaa90b,0x2f7,_0x1b37bb._0x3fdcb9)])||_0x4f39dc[_0x385a84(_0x1b37bb._0x309327,_0x1b37bb._0x428f38,_0x1b37bb._0xa1eb55,0x374)][_0x385a84(0x4a2,0x41d,0x567,_0x1b37bb._0x5d678e)]===0x0)throw new ToolExecutionError(_0x34d656(0x441,_0x1b37bb._0x3c29dd,0x276,0x4e7),{'error':_0x34d656(0x20,0x148,_0x1b37bb._0x8b0bdf,_0x1b37bb._0x3ba610)});for(let _0x3539d4=0x0;_0x3539d4<_0x4f39dc[_0x385a84(0x34e,0x428,0x271,_0x1b37bb._0x1b4e34)][_0x34d656(_0x1b37bb._0x3f9ac3,_0x1b37bb._0x4f7ca1,_0x1b37bb._0x30f6da,_0x1b37bb._0x15d2fc)];_0x3539d4+=0x1){const _0x5cf21b=_0x4f39dc[_0x34d656(0x22,0x1dd,0x1ac,0x126)][_0x3539d4];if(!_0x5cf21b||typeof _0x5cf21b!=='object')throw new ToolExecutionError('Todo\x20'+(_0x3539d4+0x1)+_0x385a84(_0x1b37bb._0x35d03d,0x4bb,0x5a1,0x60e),{'error':_0x385a84(0x3ea,0x258,0x2c2,_0x1b37bb._0x32247a)});if(typeof _0x5cf21b['id']!==_0x34d656(0x3b6,0x239,0x39f,_0x1b37bb._0x5bc5a8)||_0x5cf21b['id'][_0x385a84(0x517,_0x1b37bb._0x1be4f7,_0x1b37bb._0x3266cc,0x485)]()[_0x385a84(_0x1b37bb._0x58fc06,0x4d4,0x453,0x4ac)]===0x0)throw new ToolExecutionError(_0x34d656(_0x1b37bb._0x89e6a0,_0x1b37bb._0x2e0f9f,0x451,_0x1b37bb._0x18f524)+(_0x3539d4+0x1)+_0x385a84(0x297,_0x1b37bb._0x2180f8,_0x1b37bb._0x264994,_0x1b37bb._0x42786c),{'error':'invalid_todo_id'});if(typeof _0x5cf21b[_0x385a84(0x397,0x1dd,0x207,_0x1b37bb._0x491fee)]!==_0x34d656(0x265,_0x1b37bb._0x53ba2c,0x21d,_0x1b37bb._0x19cacb)||_0x5cf21b[_0x385a84(0x473,_0x1b37bb._0xdbf927,0x21c,0x2ee)][_0x385a84(_0x1b37bb._0x5be57d,0x435,0x2d6,_0x1b37bb._0x2987dc)]()['length']===0x0)throw new ToolExecutionError(_0x385a84(0x61a,0x431,_0x1b37bb._0x3a0fb8,0x5ae)+(_0x3539d4+0x1)+_0x385a84(_0x1b37bb._0x577960,0x4e0,0x463,_0x1b37bb._0x236b98),{'error':_0x385a84(_0x1b37bb._0x512a24,_0x1b37bb._0x462b62,_0x1b37bb._0x48297f,_0x1b37bb._0x29d900)});if(!isTodoStatus(_0x5cf21b[_0x385a84(_0x1b37bb._0x38578b,_0x1b37bb._0x347f39,_0x1b37bb._0x4fcd62,_0x1b37bb._0x28557e)]))throw new ToolExecutionError(_0x385a84(_0x1b37bb._0x490cb9,_0x1b37bb._0x2820ea,_0x1b37bb._0xb67594,_0x1b37bb._0xf43df2)+(_0x3539d4+0x1)+_0x385a84(0x60d,_0x1b37bb._0x528928,0x7c6,_0x1b37bb._0x59eb14),{'error':_0x34d656(0x3c1,_0x1b37bb._0x2b1e58,0x4ed,_0x1b37bb._0x1bf43f)});if(!isTodoPriority(_0x5cf21b[_0x385a84(0x29a,0x340,_0x1b37bb._0x58a5e9,0x2d8)]))throw new ToolExecutionError(_0x385a84(0x567,0x40c,0x5e0,_0x1b37bb._0x11ba0d)+(_0x3539d4+0x1)+':\x20invalid\x20priority',{'error':_0x385a84(_0x1b37bb._0x3270cd,0x6a0,0x6b8,0x627)});}const _0x5b586e=_0x4f39dc['todos'][_0x34d656(0xf3,_0x1b37bb._0x5e2ab5,0x108,0xb9)](_0x55adad=>_0x55adad['id']);if(new Set(_0x5b586e)[_0x34d656(_0x1b37bb._0x3a0d94,0x47c,0x38e,_0x1b37bb._0x2f51e1)]!==_0x5b586e['length'])throw new ToolExecutionError(_0x385a84(_0x1b37bb._0x413fd6,0x57b,_0x1b37bb._0x509fd0,_0x1b37bb._0x4e93de),{'error':_0x34d656(0x174,_0x1b37bb._0x4dae7f,0x24f,_0x1b37bb._0x207cec)});}function createStatsProgress(_0x4c56ac){const _0x3cd663={_0x211d83:0x1c,_0x14e187:0x68,_0x463bc1:0x47,_0x3593bb:0xdd,_0x417985:0x7c,_0x2648c4:0x40,_0x233f63:0x11d,_0x193ee7:0xc,_0xb87632:0x72},_0x5d45e2={_0x5b64b9:0xae,_0xaa7dd2:0xf7,_0x337ed9:0xaf},_0x57287d={_0x55fd91:0x82,_0x13321d:0xee,_0x16dc7a:0x25};function _0x364956(_0x1b9d26,_0x18559f,_0x4818b5,_0x248383){return _0x1c3a85(_0x1b9d26-_0x57287d._0x55fd91,_0x1b9d26,_0x4818b5-_0x57287d._0x13321d,_0x248383-_0x57287d._0x16dc7a);}function _0x4b3958(_0x3882e6,_0x39636b,_0x1abba1,_0x4e588c){return _0x515b8f(_0x3882e6-_0x5d45e2._0x5b64b9,_0x39636b-_0x5d45e2._0xaa7dd2,_0x1abba1,_0x3882e6-_0x5d45e2._0x337ed9);}return _0x4c56ac[_0x364956(_0x3cd663._0x211d83,-_0x3cd663._0x14e187,_0x3cd663._0x463bc1,_0x3cd663._0x3593bb)]>0x0?Math[_0x364956(_0x3cd663._0x417985,-_0x3cd663._0x2648c4,-_0x3cd663._0x233f63,-_0x3cd663._0x193ee7)](_0x4c56ac[_0x4b3958(0x7c0,0x7ad,0x738,0x718)]/_0x4c56ac[_0x364956(0x13b,0x22a,-_0x3cd663._0xb87632,0xdd)]*0x64)+'%':'0%';}function createReminderItems(_0x4021e5){const _0x1c073e={_0x159345:0x196},_0x3cda6a={_0x2dd70f:0x4b,_0x39bcb6:0x512};function _0x4454e8(_0x2275ee,_0x6a121c,_0x574788,_0x3ce801){return _0x515b8f(_0x2275ee-0x1d2,_0x6a121c-_0x3cda6a._0x2dd70f,_0x2275ee,_0x6a121c- -_0x3cda6a._0x39bcb6);}function _0x5c4e12(_0x509581,_0x230ffe,_0x573fb5,_0x1ff330){return _0x1c3a85(_0x509581-0x9b,_0x230ffe,_0x573fb5-_0x1c073e._0x159345,_0x573fb5-0xd9);}return _0x4021e5['map'](_0x47defd=>({'content':_0x47defd[_0x4454e8(-0x273,-0x14c,-0x1bd,-0x154)],'status':_0x47defd[_0x4454e8(-0x168,-0x95,-0xc6,0x6e)],'id':_0x47defd['id']}));}function createStructuredResult(_0xc31aa7,_0x216d86,_0x2037b6,_0xaca5d0){const _0x2f5110={_0x4c0975:0x33a,_0x518b41:0x357,_0x5db65c:0x4e4,_0x133b65:0x42f,_0x3e22af:0x491},_0x20266a={_0x529f1b:0xa0},_0x56a0e9={_0xba647b:0xbd};function _0x2f7617(_0x200689,_0xb673a4,_0x12b6a5,_0x8a9fd1){return _0x1c3a85(_0x200689-0x77,_0x200689,_0x12b6a5-_0x56a0e9._0xba647b,_0xb673a4-0x19);}function _0x31b7b8(_0x46c027,_0x1dbadd,_0x2e20f0,_0x47e12c){return _0x515b8f(_0x46c027-0xec,_0x1dbadd-0x104,_0x47e12c,_0x1dbadd- -_0x20266a._0x529f1b);}return{'allCompleted':_0xaca5d0,'items':_0x216d86[_0x31b7b8(0x2b2,_0x2f5110._0x4c0975,0x398,_0x2f5110._0x518b41)](_0x42f731=>({'id':_0x42f731['id'],'content':_0x42f731['content'],'status':_0x42f731[_0x31b7b8(0x246,0x3dd,0x27d,0x33b)],'priority':_0x42f731[_0x2f7617(-0xe3,-0xc0,-0xec,-0x189)],'createdAt':_0x42f731[_0x2f7617(0x65,-0x76,-0x149,-0x1bb)]})),'progress':createStatsProgress(_0x2037b6),'recentChanges':!![],'sessionId':_0xc31aa7,'stats':_0x2037b6,'todosWritten':_0x216d86[_0x31b7b8(0x3b7,_0x2f5110._0x5db65c,_0x2f5110._0x133b65,_0x2f5110._0x3e22af)]};}function createOutputText(_0x170e15,_0x26ae76){const _0x5de836={_0x1415a9:0x16d,_0x51b53f:0x4b4,_0x55ee80:0x43e,_0x4c0320:0xb9,_0x194a6f:0x7e,_0x1236db:0xe1,_0x4ee09f:0x68,_0x42652e:0x166,_0xf9ada1:0xe1};function _0x464d6a(_0x27717c,_0x4b1443,_0x33de60,_0x26237d){return _0x515b8f(_0x27717c-0x3f,_0x4b1443-0x1af,_0x33de60,_0x4b1443- -0x146);}function _0x26deff(_0x5328e5,_0x350f25,_0x23f6e6,_0x666716){return _0x515b8f(_0x5328e5-0x196,_0x350f25-0x66,_0x350f25,_0x666716- -0x2e8);}const _0x273f09=JSON[_0x26deff(0x1d5,0xed,0xb9,_0x5de836._0x1415a9)](createReminderItems(_0x170e15));if(_0x26ae76)return'All\x20'+_0x170e15[_0x464d6a(_0x5de836._0x51b53f,_0x5de836._0x55ee80,0x58d,0x27f)]+'\x20todo\x20items\x20have\x20been\x20completed\x20successfully!\x0a\x0a<system-reminder>\x0aAll\x20todo\x20items\x20are\x20now\x20completed!\x20Ask\x20about\x20next\x20steps.\x20Completed\x20list:\x0a'+_0x273f09+_0x26deff(0x279,_0x5de836._0x4c0320,-_0x5de836._0x194a6f,_0x5de836._0x1236db);return'Todos\x20have\x20been\x20modified\x20successfully.\x20Continue\x20with\x20current\x20tasks\x20if\x20applicable.\x0a\x0a<system-reminder>\x0aYour\x20todo\x20list\x20has\x20changed.\x20DO\x20NOT\x20mention\x20this\x20explicitly\x20to\x20the\x20user.\x20Latest\x20contents:\x0a'+_0x273f09+_0x26deff(0x245,-_0x5de836._0x4ee09f,_0x5de836._0x42652e,_0x5de836._0xf9ada1);}function createTodoWriteTool(_0x5c78d2=new TodoStore()){const _0x38fa78={_0x1ed100:0x229,_0x3c688b:0x29b,_0x311a32:0x335,_0x38efa4:0x3e3,_0x53f50d:0x3e2,_0x4a3216:0x391,_0x531019:0x25a,_0x2f768b:0x21d,_0x572521:0x321,_0x17a5ee:0x1b4,_0x52899f:0x188,_0x564573:0x3bc,_0x5b03b4:0x286,_0x5e91f0:0xea,_0x39d307:0x1b6,_0x4ec6ee:0x3c9,_0x378bab:0x184,_0x5b2126:0x427,_0x31aa1f:0x1c8,_0x18c08b:0x104,_0x253632:0x11d,_0x23055b:0xb9,_0x33e947:0x215,_0x4a40c7:0x393},_0x10915b={_0x4944fb:0x24d,_0x1f4a3e:0x234,_0x3f6396:0x31b,_0x195e88:0x1d8,_0x25dbe2:0x62a,_0x3d7166:0x4bc,_0x35eb97:0x50e,_0x4c28ab:0x44e,_0x2a29f1:0x455,_0x3e52f6:0x33f,_0x13b71e:0x4c9,_0x332545:0x52c,_0x47d2b3:0x7e2,_0x5a5af9:0x5f9,_0x5e9260:0x67f,_0x4ce0ee:0x500,_0x3464f0:0x19f,_0x84178:0x164,_0x336d01:0x3b,_0x16533c:0x243,_0x57e19b:0x2b9,_0x4161ba:0x115},_0x44b695={_0x41f7dc:0xd5},_0x9d6a89={_0x109114:0xe6,_0x3d978a:0x11};function _0x5814b0(_0x51ba21,_0x46fcad,_0x5cf5ec,_0xa5da5d){return _0x1c3a85(_0x51ba21-_0x9d6a89._0x109114,_0x46fcad,_0x5cf5ec-_0x9d6a89._0x3d978a,_0xa5da5d- -0x13c);}function _0xc47859(_0x4c2534,_0x5c4d96,_0x57d7bd,_0x37f95f){return _0x1c3a85(_0x4c2534-_0x44b695._0x41f7dc,_0x5c4d96,_0x57d7bd-0x83,_0x4c2534-0x267);}return defineTool({'name':_0xc47859(_0x38fa78._0x1ed100,0x39e,_0x38fa78._0x3c688b,0x26f),'permissionClass':_0xc47859(0x364,0x438,_0x38fa78._0x311a32,_0x38fa78._0x38efa4),'description':_0x5814b0(-0x12b,-_0x38fa78._0x53f50d,-_0x38fa78._0x4a3216,-0x227),'inputSchema':{'type':_0xc47859(_0x38fa78._0x531019,_0x38fa78._0x2f768b,0x200,0x237),'properties':{'todos':{'type':_0xc47859(_0x38fa78._0x572521,0x381,_0x38fa78._0x17a5ee,0x368),'items':{'type':_0xc47859(_0x38fa78._0x531019,_0x38fa78._0x52899f,0x1ec,_0x38fa78._0x564573),'properties':{'content':{'type':_0xc47859(_0x38fa78._0x5b03b4,0x3ec,_0x38fa78._0x5e91f0,_0x38fa78._0x39d307)},'status':{'type':'string'},'priority':{'type':_0xc47859(_0x38fa78._0x5b03b4,0x2ca,0x301,_0x38fa78._0x4ec6ee)},'id':{'type':_0xc47859(0x286,0x1b8,_0x38fa78._0x378bab,_0x38fa78._0x5b2126)},'createdAt':{'type':_0x5814b0(-0x122,-_0x38fa78._0x31aa1f,-_0x38fa78._0x18c08b,-_0x38fa78._0x253632)}},'required':['content',_0xc47859(0x25b,0x3d5,0x393,_0x38fa78._0x23055b),_0x5814b0(-0x1ee,-0x105,-0xbf,-_0x38fa78._0x33e947),'id']}}},'required':[_0xc47859(0x22a,_0x38fa78._0x4a40c7,0x1e0,0x3a5)]},async *'execute'(_0xce8e29,_0x4841c6){const _0x5363f9={_0x216b11:0x1cc,_0x47ffec:0xb3},_0x15b986={_0x1b4d99:0x292,_0x213459:0x113};function _0x328585(_0x1c99a3,_0x2dcd58,_0x2660a2,_0x3a1d4e){return _0xc47859(_0x2660a2-_0x15b986._0x1b4d99,_0x2dcd58,_0x2660a2-_0x15b986._0x213459,_0x3a1d4e-0x74);}const _0x55cec7=_0xce8e29;validateTodos(_0x55cec7);const _0x290b0b=_0x4841c6[_0x129ef5(-0x4a7,-0x353,-0x33f,-0x25d)]||_0x129ef5(-0x2db,-0x1db,-_0x10915b._0x4944fb,-0x136),_0x51afa1=new Date()[_0x129ef5(-0x2aa,-_0x10915b._0x1f4a3e,-_0x10915b._0x3f6396,-_0x10915b._0x195e88)](),_0x24c0c0=_0x55cec7[_0x328585(_0x10915b._0x25dbe2,0x54b,_0x10915b._0x3d7166,_0x10915b._0x35eb97)][_0x129ef5(-_0x10915b._0x4c28ab,-_0x10915b._0x2a29f1,-0x30e,-0x2f6)](_0x4a315f=>({'id':_0x4a315f['id'],'content':_0x4a315f[_0x129ef5(-0x1c4,-0x1dd,-0x322,-0x250)],'status':_0x4a315f[_0x129ef5(-0xe9,-0x214,-0x26b,-0x220)],'priority':_0x4a315f['priority'],'sessionId':_0x290b0b,'createdAt':_0x4a315f[_0x328585(0x3b3,0x3c0,0x46a,0x4f7)]||_0x51afa1,'updatedAt':_0x51afa1}));_0x5c78d2[_0x328585(_0x10915b._0x3e52f6,0x339,_0x10915b._0x13b71e,_0x10915b._0x332545)](_0x290b0b,_0x24c0c0);function _0x129ef5(_0x3d450c,_0x5ef1a7,_0x2a0be7,_0x42acf5){return _0xc47859(_0x2a0be7- -0x4c6,_0x5ef1a7,_0x2a0be7-_0x5363f9._0x216b11,_0x42acf5-_0x5363f9._0x47ffec);}const _0x36e151=_0x5c78d2[_0x328585(_0x10915b._0x47d2b3,_0x10915b._0x5a5af9,_0x10915b._0x5e9260,_0x10915b._0x4ce0ee)](_0x290b0b),_0x17afd5=_0x24c0c0[_0x129ef5(-_0x10915b._0x3464f0,-0x50,-_0x10915b._0x84178,_0x10915b._0x336d01)]>0x0&&_0x24c0c0[_0x129ef5(-_0x10915b._0x16533c,-_0x10915b._0x57e19b,-_0x10915b._0x4161ba,-0x14)](_0x24923d=>_0x24923d['status']===_0x328585(0x7e7,0x80f,0x781,0x8f9));return createToolOutput(createOutputText(_0x24c0c0,_0x17afd5),createStructuredResult(_0x290b0b,_0x24c0c0,_0x36e151,_0x17afd5));}});}import{mkdir as _0x3ee5aa,writeFile as _0x1ce260}from'fs/promises';import*as _0x2f260e from'path';function sanitizeFileName(_0x766965){const _0x45756a={_0x5402be:0x3fe},_0x252c56={_0x473e59:0x49,_0x5101fe:0xb7};function _0x457417(_0x4c2cb2,_0x48ef0e,_0x2013ea,_0x57dbe0){return _0x515b8f(_0x4c2cb2-_0x252c56._0x473e59,_0x48ef0e-0xa4,_0x48ef0e,_0x4c2cb2- -_0x252c56._0x5101fe);}return _0x766965[_0x457417(0x474,0x464,0x4c6,_0x45756a._0x5402be)](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x17c069,_0x4c7d38){const _0x49030f={_0x3938c3:0x4fd,_0x3c545c:0x3f8,_0xa5d228:0x3c3,_0x35cc42:0x2a8,_0x1ba33d:0x257,_0x4f756b:0x58c,_0x3975d9:0x48c,_0x85c5f0:0x56d,_0x1e6b1e:0x403,_0x2ef56b:0x152,_0x51668c:0x1aa,_0x357ea7:0x17e,_0x43b587:0x449,_0x44abb4:0x69d,_0x1844f3:0x523,_0x4533ff:0x6b6,_0xba950b:0x4b2,_0x203a09:0x379,_0x407cdf:0x26e,_0x523016:0x2f1,_0x1e1bbf:0x1a8,_0x16b82b:0x5cf,_0x167792:0x62d,_0x1729c8:0x28b,_0x18694e:0x29f,_0x317c09:0x28c,_0x2f555f:0x394,_0x23f9cc:0x326,_0x4b6569:0x2cd,_0x2c6bd8:0x39d,_0xf2f917:0x2b0,_0x2c77b2:0x44e,_0x5c840f:0x62e,_0x986bff:0x59d,_0x44759f:0x4a5,_0x383dc2:0x3e,_0x5986fc:0x5c3,_0xc68ad7:0x509,_0x43e97d:0x5ec,_0x4ed177:0x430,_0x2c0c9e:0x3bb,_0x7e4e9a:0x3fe,_0x590315:0x4dd,_0xad1643:0x506,_0x4de0ef:0x517,_0x32c091:0x458,_0x32f1ab:0x597,_0x9086ca:0x3d1,_0x1868dd:0x516,_0x11dc0b:0x527},_0x3e5944={_0xaefe65:0x116},_0x45600c={_0x20d9fc:0x9f},{maxBytes:_0x279997,sessionDir:_0x29a759}=_0x4c7d38;if(!_0x17c069[_0x24677b(_0x49030f._0x3938c3,_0x49030f._0x3c545c,0x56d,0x599)]||Buffer['byteLength'](_0x17c069[_0x3ee9d1(_0x49030f._0xa5d228,0x30f,_0x49030f._0x35cc42,0x1da)],_0x3ee9d1(0x156,0x28c,0x348,0x442))<=_0x279997)return _0x17c069;const _0x1edccc=Buffer[_0x3ee9d1(_0x49030f._0x1ba33d,0x3af,0x569,0x2f9)](_0x17c069[_0x24677b(_0x49030f._0x4f756b,_0x49030f._0x3975d9,_0x49030f._0x85c5f0,0x660)],_0x3ee9d1(_0x49030f._0x1e6b1e,0x28c,_0x49030f._0x2ef56b,_0x49030f._0x51668c));if(!_0x29a759){const _0x559d5d=_0x17c069[_0x3ee9d1(0x36d,0x30f,0x45e,0x41c)][_0x3ee9d1(0x1cd,0x2b0,_0x49030f._0x357ea7,_0x49030f._0x43b587)](0x0,_0x279997);return{..._0x17c069,'output':_0x559d5d+(_0x24677b(0x259,0x302,0x3bb,0x2fa)+_0x279997+'\x20bytes\x20(original:\x20'+_0x1edccc+'\x20bytes).\x20No\x20session\x20directory\x20available\x20for\x20file\x20offload.\x0a</system-reminder>'),'meta':{..._0x17c069['meta'],'truncated':!![],'originalBytes':_0x1edccc,'transforms':[..._0x17c069[_0x24677b(_0x49030f._0x44abb4,0x563,_0x49030f._0x1844f3,0x5c4)][_0x24677b(0x728,0x6af,_0x49030f._0x4533ff,0x832)],_0x24677b(_0x49030f._0xba950b,_0x49030f._0x203a09,0x527,0x3d5)]}};}const _0x51c0a3=_0x17c069[_0x3ee9d1(0x303,0x3c2,0x346,_0x49030f._0x407cdf)]+'_'+sanitizeFileName(_0x17c069[_0x3ee9d1(_0x49030f._0x523016,_0x49030f._0x1e1bbf,0x15d,0x4d)])+_0x24677b(0x57b,_0x49030f._0x16b82b,0x5af,_0x49030f._0x167792),_0x1cb8fc=_0x2f260e['join'](_0x29a759,_0x51c0a3);await _0x3ee5aa(_0x29a759,{'recursive':!![]}),await _0x1ce260(_0x1cb8fc,_0x17c069[_0x3ee9d1(0x373,0x30f,0x278,_0x49030f._0x1729c8)],_0x3ee9d1(_0x49030f._0x18694e,_0x49030f._0x317c09,0x209,_0x49030f._0x2f555f));let _0x5d3740=_0x17c069['output']['slice'](0x0,_0x279997);const _0xa63613=_0x5d3740[_0x3ee9d1(_0x49030f._0x23f9cc,0x41a,_0x49030f._0x4b6569,_0x49030f._0x2c6bd8)]('\x0a');_0xa63613>_0x279997*0.5&&(_0x5d3740=_0x5d3740[_0x3ee9d1(0x248,_0x49030f._0xf2f917,0x356,_0x49030f._0x2c77b2)](0x0,_0xa63613));function _0x24677b(_0x15e30b,_0x314008,_0x397256,_0x476889){return _0x515b8f(_0x15e30b-_0x45600c._0x20d9fc,_0x314008-0x187,_0x15e30b,_0x397256- -0x21);}const _0x41937c=['',_0x24677b(0x75a,0x4d5,0x5d4,0x476),_0x24677b(_0x49030f._0x5c840f,_0x49030f._0x986bff,0x644,_0x49030f._0x44759f)+_0x279997+'\x20bytes\x20(total:\x20'+_0x1edccc+_0x3ee9d1(0x2f2,0x218,0x2f6,0x3bb),_0x3ee9d1(_0x49030f._0x383dc2,0x1a2,0x133,0x134)+_0x1cb8fc,_0x24677b(0x5b1,_0x49030f._0x5986fc,_0x49030f._0xc68ad7,_0x49030f._0x43e97d),'</system-reminder>'][_0x3ee9d1(_0x49030f._0x4ed177,0x33e,0x28e,_0x49030f._0x2c0c9e)]('\x0a');function _0x3ee9d1(_0x10ca66,_0x585714,_0x58f58d,_0x34e492){return _0x1c3a85(_0x10ca66-_0x3e5944._0xaefe65,_0x58f58d,_0x58f58d-0x135,_0x585714-0x20a);}return{..._0x17c069,'output':_0x5d3740+_0x41937c,'meta':{..._0x17c069['meta'],'truncated':!![],'originalBytes':_0x1edccc,'transforms':[..._0x17c069[_0x24677b(_0x49030f._0x7e4e9a,_0x49030f._0x590315,0x523,_0x49030f._0xad1643)][_0x3ee9d1(_0x49030f._0x4de0ef,_0x49030f._0x32c091,0x47a,_0x49030f._0x32f1ab)],_0x24677b(_0x49030f._0x9086ca,_0x49030f._0x1868dd,_0x49030f._0x11dc0b,0x571)]}};}function createUpdateTopicTool(){const _0x37b560={_0x2ff3c3:0x19b,_0x157710:0x244,_0x17c8af:0xf,_0x4240d3:0x255,_0x5705b0:0x2d2,_0x31bebc:0x3b7,_0x18b3a1:0x181},_0x451d21={_0x4ade30:0x12c,_0x31e106:0xa,_0x2e230f:0x17c,_0x1efb3f:0x78,_0x42b2f4:0x346,_0x38b9ca:0x3b2,_0x5ba7a:0x11f,_0x4dc96a:0x16c,_0x4462c2:0x1},_0x3cac36={_0x3f0041:0x183,_0x2a3975:0xd7,_0x11aa4c:0x187},_0x4b4715={_0xe761d4:0xc9,_0x3fa6d3:0x6fd},_0xa1079b={_0x12d70c:0x15,_0xa07ce2:0x558};function _0x5ef720(_0x3c747f,_0x3a0056,_0x7d4c3a,_0x53a62f){return _0x515b8f(_0x3c747f-_0xa1079b._0x12d70c,_0x3a0056-0xb7,_0x53a62f,_0x3a0056- -_0xa1079b._0xa07ce2);}function _0x5192e1(_0x12cea5,_0x1265e9,_0x33e264,_0x8e59ad){return _0x515b8f(_0x12cea5-0x24,_0x1265e9-_0x4b4715._0xe761d4,_0x8e59ad,_0x12cea5- -_0x4b4715._0x3fa6d3);}return defineTool({'name':'UpdateTopic','permissionClass':_0x5192e1(-0x177,-0x12f,-_0x37b560._0x2ff3c3,-0x27a),'description':_0x5ef720(-_0x37b560._0x157710,-0x11f,-0x20d,-_0x37b560._0x17c8af),'inputSchema':{'type':_0x5192e1(-0x281,-0x387,-0x37f,-0x35a),'properties':{'topic':{'type':_0x5192e1(-_0x37b560._0x4240d3,-_0x37b560._0x5705b0,-0x18c,-_0x37b560._0x31bebc)}},'required':[_0x5ef720(_0x37b560._0x18b3a1,0x137,0x207,-0x74)]},async *'execute'(_0x49607f,_0xe3157e){function _0x51e573(_0x2b011e,_0x768dca,_0x1cd4b6,_0x417329){return _0x5192e1(_0x768dca-0x3cb,_0x768dca-0x10a,_0x1cd4b6-0xfb,_0x2b011e);}const {topic:_0x9ecc90}=_0x49607f;if(typeof _0x9ecc90!=='string'||_0x9ecc90['trim']()[_0x2ad8af(-0x9f,-0xf9,_0x451d21._0x4ade30,_0x451d21._0x31e106)]===0x0)throw new ToolExecutionError(_0x2ad8af(_0x451d21._0x2e230f,_0x451d21._0x1efb3f,0x1f,0xf6),{'error':_0x51e573(0x455,_0x451d21._0x42b2f4,0x20d,_0x451d21._0x38b9ca)});const _0x4f4a8f=_0x9ecc90[_0x2ad8af(0x135,_0x451d21._0x5ba7a,-_0x451d21._0x4dc96a,-0x1d)]();_0xe3157e['setTopic']?.(_0x4f4a8f),yield createToolOutput(_0x2ad8af(_0x451d21._0x4462c2,0x62,0x19f,0x1c)+_0x4f4a8f+'\x22',{'topic':_0x4f4a8f});function _0x2ad8af(_0x48c35c,_0x321f45,_0x395491,_0x1d78c1){return _0x5192e1(_0x1d78c1-_0x3cac36._0x3f0041,_0x321f45-_0x3cac36._0x2a3975,_0x395491-_0x3cac36._0x11aa4c,_0x395491);}return void 0x0;}});}import{readFile as _0x33b143,stat as _0x139f2e}from'fs/promises';import*as _0x23d9eb from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set(['auto',_0x515b8f(0x7a8,0x57d,0x4e5,0x614),_0x1c3a85(0x7a,-0x15d,0xd6,0x3d),'original']),PNG_SIGNATURE=Buffer[_0x515b8f(0x488,0x372,0x43a,0x3c0)]([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x337d60,_0x5d198e){const _0x4b17bf={_0x33aeb4:0x11c,_0x15fc99:0x4f,_0x406a8b:0x1b7,_0x4d0c0c:0x17d,_0x30a555:0x2cf,_0x511c30:0x172,_0x2cf199:0xc2,_0x723fb:0x89,_0x5c7fc0:0x10b,_0x580e8f:0x62,_0x568c69:0x686,_0x3fcc7d:0x7b9,_0x212b43:0x3bd,_0x499ca3:0xda,_0x3d1309:0x11a,_0xd61b65:0x580,_0x1d584d:0x494,_0x875755:0x603,_0x43a856:0x47c,_0x3bfbfd:0x307,_0x2d5a04:0x565,_0x56989a:0x5c5,_0x4cfe25:0x72e,_0x48abff:0x3a5,_0x1b059b:0x352,_0x276a42:0x5a5,_0x51499a:0x4e3,_0x5ac8d9:0x3eb,_0x1cfaa4:0x19,_0x3d41a3:0x153,_0x39aa9e:0x17c,_0x329d93:0x58,_0x4c75b7:0x41,_0x545223:0x168,_0xd49410:0x185,_0x19c99b:0x376,_0x275091:0x2a8,_0x4b151a:0x2fe,_0x5206f3:0x389,_0x4f5819:0x1b5,_0x2e6a7c:0x1b1,_0xb0606f:0x30b},_0xe2f1ad={_0x55d1e6:0x1e7,_0x3f762e:0x2d,_0x437b87:0x6b},_0x336733={_0x1a8b90:0x5f3};if(_0x337d60[_0x23da5f(0x89,-0xde,-_0x4b17bf._0x33aeb4,-_0x4b17bf._0x15fc99)](0x0,0x8)[_0x23da5f(-_0x4b17bf._0x406a8b,-0x180,0x1,-0x34d)](PNG_SIGNATURE))return'image/png';if(_0x337d60[0x0]===0xff&&_0x337d60[0x1]===0xd8&&_0x337d60[0x2]===0xff)return _0x23da5f(-_0x4b17bf._0x4d0c0c,-_0x4b17bf._0x30a555,-_0x4b17bf._0x511c30,-_0x4b17bf._0x2cf199);const _0x13604c=_0x337d60[_0x23da5f(_0x4b17bf._0x723fb,0x7e,-_0x4b17bf._0x5c7fc0,-_0x4b17bf._0x580e8f)](0x0,0x6)[_0x6a9305(0x621,0x53f,_0x4b17bf._0x568c69,_0x4b17bf._0x3fcc7d)]('ascii');if(_0x13604c===_0x6a9305(0x514,_0x4b17bf._0x212b43,0x638,0x3e6)||_0x13604c==='GIF89a')return'image/gif';function _0x23da5f(_0x354f28,_0x23a328,_0xc8afb9,_0x28d140){return _0x515b8f(_0x354f28-0x158,_0x23a328-0xdd,_0xc8afb9,_0x354f28- -_0x336733._0x1a8b90);}function _0x6a9305(_0x20d692,_0x293df4,_0x3fb491,_0xfbbaf2){return _0x515b8f(_0x20d692-_0xe2f1ad._0x55d1e6,_0x293df4-_0xe2f1ad._0x3f762e,_0x293df4,_0x20d692- -_0xe2f1ad._0x437b87);}if(_0x337d60[_0x23da5f(_0x4b17bf._0x723fb,-0x14,-_0x4b17bf._0x499ca3,-_0x4b17bf._0x3d1309)](0x0,0x4)[_0x6a9305(0x621,_0x4b17bf._0xd61b65,0x752,_0x4b17bf._0x1d584d)](_0x6a9305(_0x4b17bf._0x875755,0x626,0x558,0x67c))===_0x6a9305(_0x4b17bf._0x43a856,_0x4b17bf._0x3bfbfd,_0x4b17bf._0x2d5a04,0x61c)&&_0x337d60['subarray'](0x8,0xc)[_0x6a9305(0x621,_0x4b17bf._0x56989a,0x583,_0x4b17bf._0x4cfe25)]('ascii')===_0x6a9305(_0x4b17bf._0x48abff,0x3d6,0x401,_0x4b17bf._0x1b059b))return _0x6a9305(_0x4b17bf._0x276a42,0x6e6,_0x4b17bf._0x51499a,_0x4b17bf._0x5ac8d9);const _0x18950d=_0x23d9eb[_0x23da5f(_0x4b17bf._0x1cfaa4,_0x4b17bf._0x3d41a3,_0x4b17bf._0x39aa9e,_0x4b17bf._0x329d93)](_0x5d198e)['toLowerCase']();if(_0x18950d===_0x23da5f(_0x4b17bf._0x4c75b7,-0x21,-_0x4b17bf._0x545223,_0x4b17bf._0xd49410))return'image/png';if(_0x18950d===_0x6a9305(_0x4b17bf._0x19c99b,_0x4b17bf._0x275091,_0x4b17bf._0x4b151a,_0x4b17bf._0x5206f3)||_0x18950d==='.jpeg')return'image/jpeg';if(_0x18950d===_0x23da5f(-0x20c,-_0x4b17bf._0x4f5819,-_0x4b17bf._0x2e6a7c,-_0x4b17bf._0xb0606f))return'image/gif';if(_0x18950d==='.webp')return _0x6a9305(0x5a5,0x44b,0x6dc,0x6ab);return void 0x0;}function normalizeDetail(_0x1fdcbd){const _0x5612ff={_0x4f2f05:0x499,_0x3e8dd7:0x3a3,_0x3fc6ff:0x3e0,_0x3022b2:0x6cf,_0x15a551:0x657,_0x2dae8b:0x5e9,_0x1861ea:0x4f5,_0x5ce00c:0x6c2},_0x2de2c3={_0x3d22eb:0xf6,_0x282223:0x11f,_0x5c5079:0x40},_0x4cdef6={_0xd73df8:0x49};if(_0x1fdcbd===void 0x0)return void 0x0;const _0x32d63d=_0x1fdcbd[_0x5c1516(_0x5612ff._0x4f2f05,_0x5612ff._0x3e8dd7,_0x5612ff._0x3fc6ff,0x51d)]()[_0x183171(_0x5612ff._0x3022b2,0x56b,_0x5612ff._0x15a551,0x77a)]();function _0x183171(_0x1b35f0,_0x56f7e0,_0x5bb6f5,_0x909de0){return _0x515b8f(_0x1b35f0-0x1b1,_0x56f7e0-0x1a9,_0x56f7e0,_0x5bb6f5- -_0x4cdef6._0xd73df8);}function _0x5c1516(_0x48b9bb,_0x43c24b,_0x1629ee,_0x43a8f6){return _0x515b8f(_0x48b9bb-_0x2de2c3._0x3d22eb,_0x43c24b-_0x2de2c3._0x282223,_0x1629ee,_0x43a8f6- -_0x2de2c3._0x5c5079);}if(!SUPPORTED_DETAILS[_0x183171(_0x5612ff._0x2dae8b,0x4e9,_0x5612ff._0x1861ea,0x36b)](_0x32d63d))throw new ToolExecutionError(_0x183171(0x428,0x63b,0x51a,_0x5612ff._0x5ce00c)+_0x1fdcbd,{'detail':_0x1fdcbd});return _0x32d63d;}function createViewFileTool(_0xe7ee85={}){const _0x573e08={_0x4e294a:0x7d,_0x1cb0fe:0x3f,_0x1315b0:0x1d,_0x5d45d1:0x18b,_0x2213d1:0x445,_0x172987:0x3ca,_0x4d87b1:0x260,_0x38a330:0x283,_0x19290f:0x220,_0x2072e4:0xd5,_0xe5b3ec:0x3be,_0x3c0435:0x256,_0xdec4f7:0x2fc,_0x3e24c4:0x296,_0x5ace37:0x3eb,_0x468fc4:0x334,_0x3cd532:0x263,_0x1950ce:0xa1,_0x252313:0x374},_0xf835a6={_0x1abcf3:0x21f,_0x2cd2b1:0x17d,_0x3c1322:0x491,_0x6d2e81:0x206,_0x3cc088:0x151,_0x242a93:0x17d,_0x4b5f94:0x182,_0x443331:0x60,_0x4a27a3:0x2ba,_0x3b3f31:0x185,_0x67ecc7:0x126,_0xaca5c8:0x1e7,_0x567aba:0x258,_0x493484:0x2c3,_0x360775:0x315,_0x3ce7a5:0x1b,_0x199cbd:0x1f3,_0x379c9a:0x3f,_0x225c2c:0x19c,_0x3a7255:0x247,_0x361a79:0x16c,_0x2df3f7:0x3c8,_0x9fa098:0x13a,_0x31f2db:0x86,_0x16a67b:0x99,_0x2f3e6e:0x84,_0x375a36:0x23d,_0x35efcb:0x1b4,_0x16f719:0x1a9,_0x1b7901:0x1f,_0x4c0dd3:0x260,_0xf375e1:0x304,_0x38819a:0x36a,_0x453a80:0x21d,_0x173383:0x96,_0x32606a:0xec,_0x4e6333:0x53,_0x3032d2:0x1d9,_0x3e7dea:0x26a,_0x4ee859:0x23b,_0x5a0e1e:0x536,_0x5135fe:0x2f1,_0x90e3c5:0x39b,_0x63c329:0x148,_0xe3079e:0x165,_0x40bafd:0xdc,_0x39f83d:0x138,_0x2c26f9:0x234,_0x1aa005:0x145,_0x10068b:0x9,_0x489c6e:0x150,_0x16039f:0xdc,_0x516679:0x3fa},_0x23a255={_0x542ce6:0x58};function _0x49fa5f(_0x460b7d,_0x520f5a,_0x236247,_0x2f75c5){return _0x515b8f(_0x460b7d-_0x23a255._0x542ce6,_0x520f5a-0x43,_0x460b7d,_0x520f5a- -0x245);}function _0x746021(_0x33193c,_0x162217,_0x3d602c,_0x5c04e0){return _0x515b8f(_0x33193c-0x11f,_0x162217-0x28,_0x33193c,_0x162217- -0x339);}const _0x3c7401=_0x23d9eb['resolve'](_0xe7ee85[_0x746021(_0x573e08._0x4e294a,0x64,-_0x573e08._0x1cb0fe,_0x573e08._0x1315b0)]??process[_0x746021(_0x573e08._0x5d45d1,0x8e,0x9b,0x1c9)]()),_0x3168a0=_0xe7ee85[_0x49fa5f(0x55f,_0x573e08._0x2213d1,0x39b,0x4c0)]??[],_0x3b254a=_0xe7ee85['maxBytes']??DEFAULT_MAX_BYTES,_0xc432f6=_0xe7ee85[_0x746021(_0x573e08._0x172987,_0x573e08._0x4d87b1,0x367,_0x573e08._0x38a330)]??_0x49fa5f(0x204,0x26f,_0x573e08._0x19290f,_0x573e08._0x2072e4);return defineTool({'name':_0xc432f6,'permissionClass':_0x49fa5f(0x3da,0x341,_0x573e08._0xe5b3ec,0x446),'description':_0x746021(0x8b,0x1b9,0x50,0x2c4),'inputSchema':{'type':_0x746021(_0x573e08._0x3c0435,0x143,_0x573e08._0xdec4f7,0x16f),'properties':{'path':{'type':_0x49fa5f(_0x573e08._0x3e24c4,0x263,0x31a,_0x573e08._0x5ace37)},'detail':{'type':_0x49fa5f(_0x573e08._0x468fc4,_0x573e08._0x3cd532,_0x573e08._0x1950ce,_0x573e08._0x252313)}},'required':['path']},async *'execute'(_0x2e7bb3){const _0x3fe48e={_0x4907dc:0x393},_0x4e0a36={_0x47f0c9:0xac,_0x51ab49:0x94},_0x175acf=resolveAllowedPath(_0x3c7401,_0x3168a0,_0x2e7bb3[_0x426529(-_0xf835a6._0x1abcf3,-0x2b3,-_0xf835a6._0x2cd2b1,-0xa4)]);await assertWorkspaceFile(_0x175acf);const _0x413699=await _0x139f2e(_0x175acf);function _0x54c5f5(_0x3cc38f,_0x173ab3,_0x573e6d,_0x1e2e90){return _0x49fa5f(_0x173ab3,_0x573e6d- -_0x4e0a36._0x47f0c9,_0x573e6d-_0x4e0a36._0x51ab49,_0x1e2e90-0x11);}if(_0x413699[_0x54c5f5(_0xf835a6._0x3c1322,0x448,0x3fa,0x292)]>_0x3b254a)throw new ToolExecutionError(_0x426529(-_0xf835a6._0x6d2e81,-_0xf835a6._0x3cc088,-0xe6,0xd3)+_0x2e7bb3[_0x426529(-0x174,-0x6e,-_0xf835a6._0x242a93,-0x329)],{'path':_0x2e7bb3[_0x426529(-_0xf835a6._0x4b5f94,-_0xf835a6._0x443331,-0x17d,-_0xf835a6._0x4a27a3)],'maxBytes':_0x3b254a,'size':_0x413699[_0x426529(-_0xf835a6._0x3b3f31,0x128,0x1f,_0xf835a6._0x67ecc7)]});const _0x4e816d=await _0x33b143(_0x175acf),_0xfafc06=detectImageMediaType(_0x4e816d,_0x175acf);if(!_0xfafc06)throw new ToolExecutionError(_0x426529(-_0xf835a6._0xaca5c8,-_0xf835a6._0x567aba,-_0xf835a6._0x493484,-_0xf835a6._0x360775)+_0x2e7bb3[_0x426529(-_0xf835a6._0x3ce7a5,-_0xf835a6._0x199cbd,-0x17d,-_0xf835a6._0x379c9a)],{'path':_0x2e7bb3['path'],'supported':[_0x426529(-_0xf835a6._0x225c2c,-0x300,-0x2e5,-0x13f),_0x426529(-_0xf835a6._0x3a7255,-_0xf835a6._0x361a79,-0x324,-_0xf835a6._0x2df3f7),'.jpg',_0x426529(-0x55,-0x9a,-0x98,0x20),'.webp']});const _0xea8f86=normalizeDetail(_0x2e7bb3[_0x426529(-0x1c2,-_0xf835a6._0x9fa098,-_0xf835a6._0x31f2db,-_0xf835a6._0x16a67b)]);function _0x426529(_0x163ded,_0x193878,_0x114ef8,_0x4ab38a){return _0x746021(_0x4ab38a,_0x114ef8- -_0x3fe48e._0x4907dc,_0x114ef8-0xe6,_0x4ab38a-0x8f);}const _0x59ffda=[_0x426529(_0xf835a6._0x2f3e6e,0x3,-0x71,-0x96)+_0x2e7bb3[_0x426529(-0x1dc,-_0xf835a6._0x375a36,-0x17d,-0x35)],'MIME:\x20'+_0xfafc06,'Size:\x20'+_0x413699[_0x426529(_0xf835a6._0x35efcb,_0xf835a6._0x16f719,_0xf835a6._0x1b7901,0x13)]+_0x426529(-0x1dc,-0xf5,-0x270,-_0xf835a6._0x4c0dd3)][_0x426529(-_0xf835a6._0xf375e1,-_0xf835a6._0x38819a,-_0xf835a6._0x453a80,-_0xf835a6._0x173383)](_0xea8f86?[_0x426529(-_0xf835a6._0x32606a,-0x1a0,-_0xf835a6._0x4e6333,-_0xf835a6._0x3032d2)+_0xea8f86]:[])['join']('\x0a'),_0x34afc0=[{'type':'image','source':{'type':_0x54c5f5(_0xf835a6._0x3e7dea,0x16b,0x2ab,_0xf835a6._0x4ee859),'media_type':_0xfafc06,'data':_0x4e816d[_0x54c5f5(_0xf835a6._0x5a0e1e,_0xf835a6._0x5135fe,_0xf835a6._0x90e3c5,0x1ee)](_0x54c5f5(0x258,0x1b4,0x2ab,0x34a))}},{'type':_0x54c5f5(_0xf835a6._0x63c329,0x193,_0xf835a6._0xe3079e,_0xf835a6._0x40bafd),'text':_0x59ffda}];return yield createToolOutput(_0x59ffda,{'path':_0x2e7bb3[_0x426529(-0x1b5,-_0xf835a6._0x39f83d,-_0xf835a6._0x242a93,-_0xf835a6._0x2c26f9)],'resolvedPath':_0x175acf,'created':_0x413699['birthtime'][_0x54c5f5(0x24e,_0xf835a6._0x1aa005,0xdc,-_0xf835a6._0x10068b)](),'modified':_0x413699['mtime'][_0x54c5f5(_0xf835a6._0x489c6e,0x22a,_0xf835a6._0x16039f,0x25e)](),'size':_0x413699[_0x54c5f5(0x4cb,0x312,_0xf835a6._0x516679,0x364)],'mimeType':_0xfafc06,'encoding':'base64',..._0xea8f86?{'detail':_0xea8f86}:{}},_0x34afc0),void 0x0;}});}import _0x437881 from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x5aa880=>{const _0x5a8525={_0x2534ae:0x173,_0x4893ef:0x3d7,_0x28ac09:0x25f},_0x263892={_0x37dcda:0x19e},{lookup:_0x493a20}=await import(_0x1be8ab(_0x5a8525._0x2534ae,0x2ca,_0x5a8525._0x4893ef,_0x5a8525._0x28ac09));function _0x1be8ab(_0xb51d86,_0x436ad3,_0x535e07,_0x7b7958){return _0x515b8f(_0xb51d86-0xb8,_0x436ad3-0x27,_0x535e07,_0x7b7958- -_0x263892._0x37dcda);}return _0x493a20(_0x5aa880,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x493eda){const _0x454c50={_0x35cb97:0x357,_0x8a434d:0x315,_0x442adf:0x247},_0x143297={_0x449ef1:0x3ba},_0x2e70fd={_0x550579:0x62,_0x4349a5:0x9e},_0x20f5f3=_0x493eda[_0x3006b0(0x1bd,0x27e,_0x454c50._0x35cb97,_0x454c50._0x8a434d)]('.');if(_0x20f5f3['length']!==0x4)return null;let _0x42fa1d=0x0;function _0x53e226(_0x5c4f84,_0x1f7362,_0xbceb87,_0x733680){return _0x1c3a85(_0x5c4f84-0x2a,_0xbceb87,_0xbceb87-_0x2e70fd._0x550579,_0x5c4f84- -_0x2e70fd._0x4349a5);}function _0x3006b0(_0x58254d,_0x57b842,_0x513178,_0x406cad){return _0x515b8f(_0x58254d-0x1f4,_0x57b842-0x104,_0x406cad,_0x57b842- -_0x143297._0x449ef1);}for(const _0x3f5de6 of _0x20f5f3){if(!/^\d{1,3}$/[_0x3006b0(0x25e,0x179,_0x454c50._0x442adf,0x97)](_0x3f5de6))return null;const _0x6f4458=Number(_0x3f5de6);if(_0x6f4458>0xff)return null;_0x42fa1d=_0x42fa1d*0x100+_0x6f4458;}return _0x42fa1d>>>0x0;}function isBlockedIpv4(_0x34b8d2){const _0x150044={_0x3e7a82:0xaf,_0x5c39e7:0x146,_0x44ec0f:0x187,_0xe7492b:0xe6,_0x37e5ff:0x1c4,_0x251485:0x1ad,_0x473845:0x307,_0x38e397:0x2eb,_0x5128c7:0x6a,_0x22e25d:0x147,_0xfc882f:0x94,_0x595cc2:0x13b,_0x4b6ba9:0x7e,_0x35fb14:0x159,_0x49bf20:0x5b,_0x574214:0x1be,_0x3cdad3:0x319,_0xf693ca:0x72,_0x4144e0:0x128,_0x4dfb20:0x1e,_0xbe7c23:0x15c,_0x488006:0x17a},_0x19f6b9={_0x82b744:0x13b},_0x2c31ff=ipv4ToInt(_0x34b8d2);if(_0x2c31ff===null)return!![];function _0xa5cd19(_0x3b11b7,_0x128be9,_0x4963a0,_0x5c2bb2){return _0x515b8f(_0x3b11b7-0x15e,_0x128be9-0x16e,_0x4963a0,_0x128be9- -0x3ba);}function _0x48c543(_0x3968f2,_0x8ddf04,_0x52112e,_0x14aeda){return _0x1c3a85(_0x3968f2-0x122,_0x3968f2,_0x52112e-0x1f4,_0x8ddf04- -_0x19f6b9._0x82b744);}const _0x453ead=(_0x319365,_0x15e0fc)=>{const _0x17267b=ipv4ToInt(_0x319365);if(_0x17267b===null)return![];const _0x38aff6=_0x15e0fc===0x0?0x0:0xffffffff<<0x20-_0x15e0fc>>>0x0;return(_0x2c31ff&_0x38aff6)===(_0x17267b&_0x38aff6);};return _0x453ead(_0x48c543(-_0x150044._0x3e7a82,-0x1a,_0x150044._0x5c39e7,_0x150044._0x44ec0f),0x8)||_0x453ead(_0xa5cd19(0x209,_0x150044._0xe7492b,_0x150044._0x37e5ff,0x269),0x8)||_0x453ead(_0xa5cd19(_0x150044._0x251485,_0x150044._0x473845,_0x150044._0x38e397,0x2dc),0xa)||_0x453ead(_0x48c543(-0x1d6,-_0x150044._0x5128c7,_0x150044._0x22e25d,_0x150044._0xfc882f),0x8)||_0x453ead(_0xa5cd19(_0x150044._0x595cc2,_0x150044._0x4b6ba9,_0x150044._0x35fb14,-_0x150044._0x49bf20),0x10)||_0x453ead('172.16.0.0',0xc)||_0x453ead(_0xa5cd19(0x10f,0x1f6,_0x150044._0x574214,_0x150044._0x3cdad3),0x18)||_0x453ead('192.168.0.0',0x10)||_0x453ead('198.18.0.0',0xf)||_0x453ead(_0x48c543(_0x150044._0xf693ca,-0xf2,-0x61,-0xf0),0x4)||_0x453ead(_0x48c543(_0x150044._0x4144e0,-_0x150044._0x4dfb20,_0x150044._0xbe7c23,_0x150044._0x488006),0x4);}function expandIpv6(_0x242e5f){const _0x10b834={_0x5c9e68:0x5d6,_0x121098:0x8a7,_0x4d4fac:0x4d1,_0x110243:0x4d0,_0x5d3f64:0x3e3,_0x3151b0:0x66f,_0x2e5e83:0x5da,_0x4ec7ef:0x4bd,_0x41503c:0x4bb,_0x3375f0:0x690,_0x5b2487:0x4db,_0x25bd9f:0x634,_0x295e2e:0x60b,_0x14f2b9:0x39d,_0x508bce:0x419,_0x9dfb2d:0x6a8,_0xf28f60:0x6c4,_0x121e8c:0x536,_0x5e36f6:0x3e2,_0xba8423:0x489},_0x5cb2a9={_0x4f2bf8:0x162,_0x58bfaf:0x5e},_0x13b797={_0x29fedf:0xb6,_0xf6041b:0x539};let _0x25ca22=_0x242e5f,_0x2ae6d5;const _0x1a7209=_0x25ca22[_0x3812f1(_0x10b834._0x5c9e68,_0x10b834._0x121098,0x5a2,0x749)](':');_0x25ca22[_0x505ef2(_0x10b834._0x4d4fac,_0x10b834._0x110243,0x648,_0x10b834._0x5d3f64)](_0x1a7209+0x1)[_0x3812f1(0x471,_0x10b834._0x3151b0,0x535,0x514)]('.')&&(_0x2ae6d5=_0x25ca22['slice'](_0x1a7209+0x1),_0x25ca22=_0x25ca22[_0x3812f1(0x45a,0x584,0x6eb,0x5df)](0x0,_0x1a7209+0x1));const _0x35ef8f=_0x25ca22[_0x505ef2(_0x10b834._0x2e5e83,0x73a,_0x10b834._0x4ec7ef,_0x10b834._0x41503c)]('::');if(_0x35ef8f['length']>0x2)return null;function _0x3812f1(_0x31bdd3,_0x1715ad,_0x1a67d0,_0x1c6cff){return _0x1c3a85(_0x31bdd3-0x7d,_0x1715ad,_0x1a67d0-_0x13b797._0x29fedf,_0x1c6cff-_0x13b797._0xf6041b);}const _0xb23d24=_0x4224b8=>_0x4224b8['split'](':')[_0x505ef2(0x4c7,0x618,0x475,0x5a3)](_0x271b9d=>_0x271b9d['length']>0x0)[_0x3812f1(0x648,0x48d,0x4b3,0x48a)](_0x27d264=>Number[_0x3812f1(0x79a,0x49e,0x6ea,0x5e5)](_0x27d264,0x10)),_0x5102b9=_0x35ef8f[0x0]?_0xb23d24(_0x35ef8f[0x0]):[],_0x267dd8=_0x35ef8f[_0x3812f1(_0x10b834._0x3375f0,_0x10b834._0x5b2487,_0x10b834._0x4d4fac,_0x10b834._0x25bd9f)]===0x2&&_0x35ef8f[0x1]?_0xb23d24(_0x35ef8f[0x1]):[],_0x5963c3=[];if(_0x2ae6d5){const _0x21ebd5=ipv4ToInt(_0x2ae6d5);if(_0x21ebd5===null)return null;_0x5963c3[_0x505ef2(0x699,_0x10b834._0x295e2e,0x754,0x575)](_0x21ebd5>>>0x10&0xffff,_0x21ebd5&0xffff);}const _0x573319=[..._0x267dd8,..._0x5963c3],_0x5d80bf=0x8-_0x5102b9['length']-_0x573319[_0x505ef2(0x526,_0x10b834._0x14f2b9,_0x10b834._0x508bce,0x440)];function _0x505ef2(_0x553dce,_0x57b438,_0x56bb52,_0x51b2b6){return _0x515b8f(_0x553dce-0xcd,_0x57b438-_0x5cb2a9._0x4f2bf8,_0x57b438,_0x553dce- -_0x5cb2a9._0x58bfaf);}if(_0x35ef8f['length']===0x1)return _0x5102b9['length']+_0x573319[_0x505ef2(0x526,_0x10b834._0x9dfb2d,_0x10b834._0xf28f60,_0x10b834._0x121e8c)]===0x8?[..._0x5102b9,..._0x573319]:null;if(_0x5d80bf<0x0)return null;return[..._0x5102b9,...new Array(_0x5d80bf)[_0x505ef2(0x4d9,_0x10b834._0x5e36f6,0x587,_0x10b834._0xba8423)](0x0),..._0x573319];}function isBlockedIpv6(_0x3384ab){const _0x53bf92={_0x45f5e4:0xd,_0x5e3d9a:0xf5,_0x23d971:0x8b,_0x98a052:0x1a1,_0x47b957:0x26f,_0x65cf3f:0x28e,_0x1c7662:0x151},_0x2523ae={_0x4ce0cc:0x14f},_0x458ed2=expandIpv6(_0x3384ab);if(!_0x458ed2||_0x458ed2[_0x158e0c(_0x53bf92._0x45f5e4,-0x28f,-_0x53bf92._0x5e3d9a,-0x177)](_0x485cb3=>Number['isNaN'](_0x485cb3)))return!![];const _0x393044=_0x458ed2[_0x1c6d80(-0x16d,-0xa9,-0xda,_0x53bf92._0x23d971)](0x0,0x7)[_0x1c6d80(0xda,-0x5,-0xd6,-_0x53bf92._0x98a052)](_0x3400ac=>_0x3400ac===0x0);if(_0x393044&&(_0x458ed2[0x7]===0x0||_0x458ed2[0x7]===0x1))return!![];if(_0x458ed2[_0x158e0c(-_0x53bf92._0x47b957,-0x289,-0xec,-_0x53bf92._0x65cf3f)](0x0,0x5)[_0x158e0c(-0x34,-0x1e1,-0x48,-_0x53bf92._0x1c7662)](_0x17d0bf=>_0x17d0bf===0x0)&&(_0x458ed2[0x5]===0xffff||_0x458ed2[0x5]===0x0)){const _0x1028d0=(_0x458ed2[0x6]<<0x10|_0x458ed2[0x7])>>>0x0,_0x36d4ab=[_0x1028d0>>>0x18&0xff,_0x1028d0>>>0x10&0xff,_0x1028d0>>>0x8&0xff,_0x1028d0&0xff]['join']('.');return isBlockedIpv4(_0x36d4ab);}const _0x14b5a6=_0x458ed2[0x0];if((_0x14b5a6&0xff00)===0xfc00||(_0x14b5a6&0xfe00)===0xfc00)return!![];if((_0x14b5a6&0xffc0)===0xfe80)return!![];function _0x158e0c(_0x2c3eda,_0x352436,_0x5deab0,_0x453d17){return _0x1c3a85(_0x2c3eda-0xf2,_0x2c3eda,_0x5deab0-0x81,_0x5deab0- -0x192);}if((_0x14b5a6&0xff00)===0xff00)return!![];function _0x1c6d80(_0x38e4f8,_0x296c4b,_0x18e019,_0x362120){return _0x1c3a85(_0x38e4f8-0xfd,_0x18e019,_0x18e019-0x1f3,_0x296c4b- -_0x2523ae._0x4ce0cc);}return![];}function isBlockedAddress(_0x26642c){const _0x30c0de=isIP(_0x26642c);if(_0x30c0de===0x4)return isBlockedIpv4(_0x26642c);if(_0x30c0de===0x6)return isBlockedIpv6(_0x26642c);return!![];}async function assertPublicUrl(_0x39a682,_0x12f234={}){const _0x1d76d2={_0x48956e:0x55d,_0x210116:0x574,_0x48b46e:0x6c8,_0x56dda4:0x19,_0x267b3f:0x13,_0x48f6b6:0xc1,_0x18699d:0x211,_0x4efe31:0xc,_0x1d0061:0xd2,_0x41ee68:0xac,_0x64acc4:0x693,_0x161ff0:0x50f,_0x24207f:0x12f,_0x28568c:0xf7,_0x28a5d7:0x617,_0x4f6876:0x52a,_0x1c39a4:0x687,_0xedbc63:0x16b,_0x575489:0x2ab,_0x2ab071:0xd9,_0x57b816:0x218,_0x1036ea:0xb3,_0x1a28f1:0x35,_0x5de059:0x77e,_0x142bcf:0x6e2,_0x5d025e:0x717,_0x2722b6:0x60c,_0x5d2c8d:0x333,_0x50df46:0x1b4},_0x49b714={_0x53303d:0x11d},_0x322604={_0x30b5cf:0xa};let _0x306af3;try{_0x306af3=new URL(_0x39a682);}catch{throw new ToolExecutionError(_0x496d05(_0x1d76d2._0x48956e,0x558,_0x1d76d2._0x210116,_0x1d76d2._0x48b46e),{'url':_0x39a682});}if(_0x306af3[_0x5c25bf(-0x112,-_0x1d76d2._0x56dda4,-_0x1d76d2._0x267b3f,-0xd2)]!=='http:'&&_0x306af3[_0x5c25bf(_0x1d76d2._0x48f6b6,-_0x1d76d2._0x18699d,-_0x1d76d2._0x4efe31,-_0x1d76d2._0x1d0061)]!==_0x5c25bf(-0x1e7,_0x1d76d2._0x41ee68,-0x18a,-0x105))throw new ToolExecutionError(_0x496d05(_0x1d76d2._0x64acc4,0x5de,0x513,0x60f),{'url':_0x39a682});if(_0x306af3['username']||_0x306af3[_0x5c25bf(-0x165,0x11,-0xde,0x23)])throw new ToolExecutionError('URLs\x20must\x20not\x20include\x20usernames\x20or\x20passwords',{'url':_0x306af3['protocol']+'//'+_0x306af3[_0x496d05(0x640,0x51c,_0x1d76d2._0x161ff0,0x549)]+_0x306af3[_0x5c25bf(-0x46,-0x2b,-_0x1d76d2._0x24207f,-_0x1d76d2._0x28568c)]});function _0x5c25bf(_0x1221ba,_0x521473,_0x1aff03,_0x1ec050){return _0x515b8f(_0x1221ba-_0x322604._0x30b5cf,_0x521473-0xc7,_0x1aff03,_0x1ec050- -0x5fe);}const _0x47e223=_0x306af3[_0x496d05(_0x1d76d2._0x28a5d7,0x6b4,_0x1d76d2._0x4f6876,_0x1d76d2._0x1c39a4)]['replace'](/^\[|\]$/g,''),_0x5820cb=_0x306af3[_0x5c25bf(-0x1a5,-_0x1d76d2._0xedbc63,0xef,-0xd2)]+'//'+_0x306af3['host']+_0x306af3[_0x5c25bf(-0x18c,-_0x1d76d2._0x575489,-_0x1d76d2._0x2ab071,-0xf7)];if(isIP(_0x47e223)){if(isBlockedAddress(_0x47e223))throw new ToolExecutionError(_0x5c25bf(_0x1d76d2._0x57b816,-_0x1d76d2._0x1036ea,-_0x1d76d2._0x1a28f1,0xea),{'url':_0x5820cb});return _0x306af3;}const _0x3b7498=_0x12f234['lookup']??defaultLookup;let _0xa4ced0;try{_0xa4ced0=await _0x3b7498(_0x47e223);}catch{throw new ToolExecutionError(_0x496d05(0x741,_0x1d76d2._0x5de059,0x7a9,_0x1d76d2._0x142bcf),{'url':_0x5820cb});}function _0x496d05(_0x171116,_0x4f279f,_0x3302bc,_0x51378b){return _0x515b8f(_0x171116-0x16b,_0x4f279f-_0x49b714._0x53303d,_0x51378b,_0x171116-0xa3);}if(_0xa4ced0[_0x496d05(0x627,_0x1d76d2._0x5d025e,0x6b9,_0x1d76d2._0x2722b6)]===0x0)throw new ToolExecutionError('Could\x20not\x20resolve\x20host',{'url':_0x5820cb});for(const {address:_0x59ecc8}of _0xa4ced0){if(isBlockedAddress(_0x59ecc8))throw new ToolExecutionError(_0x5c25bf(-0x1e2,-_0x1d76d2._0x5d2c8d,-_0x1d76d2._0x50df46,-0x229),{'url':_0x5820cb});}return _0x306af3;}async function safeFetch(_0x3b8f93,_0x2d62d9={},_0x1787fc={}){const _0x10cdd9={_0x450828:0x32b,_0x2fe858:0x57,_0x56fdd3:0x1f3,_0x3e3bff:0x1af,_0x30880c:0xed,_0x57fd9b:0x1f,_0x4a9edb:0x209,_0x33e523:0x45,_0x1bda38:0x163,_0x3e20f0:0x23,_0x41ad14:0xa5},_0xdfc9d1={_0x1f4ae4:0x1e2},_0x3b1d11={_0x38873a:0x9d,_0x89771:0x6e3};function _0x592d26(_0x2b695e,_0x195a32,_0x3e1f64,_0x25ff9e){return _0x515b8f(_0x2b695e-_0x3b1d11._0x38873a,_0x195a32-0x14b,_0x3e1f64,_0x195a32- -_0x3b1d11._0x89771);}const _0x48768d=_0x1787fc[_0x4ed8d6(0xc0,-0xb,-0x81,0x18)]??fetch,_0x423e07=_0x1787fc[_0x592d26(-0x4e6,-_0x10cdd9._0x450828,-0x390,-0x39c)]??DEFAULT_MAX_REDIRECTS;function _0x4ed8d6(_0x97ff85,_0x5eaef3,_0xc1549d,_0x25f3de){return _0x515b8f(_0x97ff85-_0xdfc9d1._0x1f4ae4,_0x5eaef3-0xf6,_0x5eaef3,_0xc1549d- -0x561);}let _0x5185f7=_0x3b8f93;for(let _0x5f3746=0x0;;_0x5f3746+=0x1){const _0x17591e=await assertPublicUrl(_0x5185f7,_0x1787fc),_0x134950=await _0x48768d(_0x17591e[_0x592d26(0x13e,-_0x10cdd9._0x2fe858,-_0x10cdd9._0x56fdd3,-0x6a)](),{..._0x2d62d9,'redirect':_0x592d26(-0x95,-_0x10cdd9._0x3e3bff,-_0x10cdd9._0x30880c,-_0x10cdd9._0x57fd9b)}),_0x421409=_0x134950[_0x592d26(-0x385,-_0x10cdd9._0x4a9edb,-0x1a5,-0x29b)]['get'](_0x4ed8d6(-_0x10cdd9._0x33e523,0x292,0xeb,-0xd5));if(!REDIRECT_STATUSES[_0x4ed8d6(0x116,_0x10cdd9._0x1bda38,-_0x10cdd9._0x3e20f0,_0x10cdd9._0x41ad14)](_0x134950['status'])||!_0x421409)return _0x134950;if(_0x5f3746>=_0x423e07)throw new ToolExecutionError(_0x592d26(0xf,-0x7d,-0x10,0xd3),{'url':_0x17591e[_0x592d26(-0x52,-0x57,-0x48,0x11a)]()});_0x5185f7=new URL(_0x421409,_0x17591e)['toString']();}}var USER_AGENT=_0x515b8f(0x397,0x2c7,0x366,0x487),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x20e3d5,_0x19c2f5){const _0x12bf20={_0x50c09b:0x427,_0xb76750:0x435,_0x4ff4ac:0x50f,_0x220470:0x38c,_0x43efa4:0x3a5,_0x3cc001:0x1e4,_0x4617b2:0x22a,_0x128e10:0x37a,_0x21fa38:0x3e5,_0x180655:0x584},_0x375507={_0x4702da:0x221,_0x1eac0b:0x64,_0x3ccbde:0x1c0},_0x2ee13c={_0x1deeeb:0x11},_0x3bc2ba={_0x4e18c9:0x14a};function _0x54fd92(_0x2c4d0e,_0x3c36ad,_0xcafa84,_0x31e0ba){return _0x1c3a85(_0x2c4d0e-0x1ce,_0x31e0ba,_0xcafa84-_0x3bc2ba._0x4e18c9,_0xcafa84-0x3e6);}const _0x457f07=new AbortController();function _0x4a514f(_0x503b35,_0x15e7e8,_0x59acb1,_0x4907bc){return _0x1c3a85(_0x503b35-_0x2ee13c._0x1deeeb,_0x15e7e8,_0x59acb1-0x71,_0x59acb1-0x1b1);}const _0x433d24=setTimeout(()=>_0x457f07[_0x4a514f(0x83,0x142,0x200,0x2d3)](new Error('Fetch\x20timed\x20out')),_0x19c2f5),_0x2441d3=()=>_0x457f07[_0x4a514f(0x26d,0x20c,0x200,0x3b3)](_0x20e3d5[_0x54fd92(0x228,0x23a,0x38c,0x2fb)]);return _0x20e3d5[_0x54fd92(0x4d5,0x2b1,0x3d1,0x571)]?_0x457f07[_0x54fd92(_0x12bf20._0x50c09b,0x566,_0x12bf20._0xb76750,0x5c6)](_0x20e3d5[_0x54fd92(_0x12bf20._0x4ff4ac,0x36b,_0x12bf20._0x220470,_0x12bf20._0x43efa4)]):_0x20e3d5[_0x4a514f(_0x12bf20._0x3cc001,0x338,_0x12bf20._0x4617b2,_0x12bf20._0x128e10)](_0x54fd92(_0x12bf20._0x21fa38,0x31b,0x435,_0x12bf20._0x180655),_0x2441d3,{'once':!![]}),{'signal':_0x457f07[_0x4a514f(0x4ec,0x324,0x3ef,0x4ee)],'cleanup':()=>{const _0x292415={_0x59e041:0xa8};clearTimeout(_0x433d24);function _0x3fa52c(_0x506fdd,_0x5793be,_0x3a72d0,_0xad501e){return _0x4a514f(_0x506fdd-0x1cd,_0x3a72d0,_0x506fdd- -0x3c8,_0xad501e-0x154);}function _0x306cdc(_0x5f1563,_0x354a08,_0x1b7a74,_0x26b2e1){return _0x54fd92(_0x5f1563-0xe1,_0x354a08-_0x292415._0x59e041,_0x5f1563- -0x59e,_0x26b2e1);}_0x20e3d5[_0x3fa52c(-0x1f0,-_0x375507._0x4702da,-0xe0,-_0x375507._0x1eac0b)](_0x3fa52c(-0x1c8,-_0x375507._0x3ccbde,-0x2cc,-0xa9),_0x2441d3);}};}function _0x1c3a85(_0x5628c2,_0x4d2093,_0x149a22,_0x1bc9fc){return _0x2a2f(_0x1bc9fc- -0x162,_0x4d2093);}function createWebFetchTool(_0x486394={}){const _0x48b03d={_0x3f8ab5:0x46b,_0x162ef2:0x397,_0x35c0e3:0x428,_0x17f639:0x224,_0x5cbed7:0x14b,_0x3500b0:0x424,_0x3431ea:0x285,_0xc1328c:0x5c3,_0x1dc308:0x502,_0xd62f72:0x354,_0x365b7b:0x19d,_0x2a98b2:0x3ea,_0x55f1e5:0x3d0,_0x191da2:0x117,_0x3a67c5:0x79,_0x3cfdd8:0x2c,_0xa1e966:0x6,_0xa4e0c:0x143,_0x30a03d:0x1db,_0x832ff0:0x2e3,_0x3fcc1a:0x2f0,_0x808793:0x45,_0x424d81:0x133,_0x39722e:0x216,_0x27604d:0x1eb,_0x57a219:0x24f,_0xd49eb7:0x24b,_0x1cb486:0x312,_0x5a305b:0x4b9},_0x5692d6={_0x45398f:0x675,_0x75d2cf:0x7a9,_0x167089:0x5e7,_0xc919d3:0x450,_0x556d17:0x1fb,_0x49845c:0x15f,_0x241dce:0x2db,_0x4a7c62:0x6b0,_0x4118c9:0x630,_0x44ac3f:0x541,_0x4712a3:0x658,_0x158374:0x37d,_0x5aaea5:0x545,_0xcd1eb7:0x6c6,_0x3c9bc6:0x6c3,_0x423461:0x282,_0x24fc1b:0x158,_0x4aed95:0x2f7,_0x282fe2:0x69d,_0x145ea2:0x320,_0x55262a:0x41a,_0x2154f3:0x13b,_0x4f2f5b:0x2ab,_0x3e177d:0x372,_0x56ae14:0x501,_0x264df9:0x3be,_0x53b30d:0x3ad,_0x5b9e7:0x473,_0x228b5b:0x395,_0x24d260:0x1f1,_0x26f3ab:0x325,_0x6abd6b:0x3a5,_0x18b91b:0x503,_0x589c43:0x37c,_0x5dfceb:0x350,_0x5209bb:0x459,_0xa061c3:0x309,_0x37b7ce:0x3d2,_0x5e809e:0x3b7,_0x39bd56:0x1f6},_0x223621={_0x35ad51:0x533,_0xeb53bf:0x174},_0x1e32c8={_0x30cc92:0x6b9},_0x8a869f={_0x272d15:0x8f,_0x3230bf:0x2bd};function _0x2ebda8(_0x458050,_0xe30a15,_0x400ffd,_0x51bf09){return _0x515b8f(_0x458050-_0x8a869f._0x272d15,_0xe30a15-0xf0,_0x51bf09,_0x458050- -_0x8a869f._0x3230bf);}function _0x22004b(_0x9296a7,_0x13b844,_0x502e4b,_0x4a4b24){return _0x515b8f(_0x9296a7-0x19,_0x13b844-0x2d,_0x9296a7,_0x13b844- -_0x1e32c8._0x30cc92);}const _0x303ca2=_0x486394[_0x2ebda8(0x2dc,0x47f,_0x48b03d._0x3f8ab5,_0x48b03d._0x162ef2)]??_0x2ebda8(0x2d4,0x2f1,_0x48b03d._0x35c0e3,_0x48b03d._0x17f639),_0x149f25=_0x486394[_0x2ebda8(_0x48b03d._0x5cbed7,0x124,0x25b,0x15b)]??DEFAULT_TIMEOUT_MS2,_0x5c0ffc=_0x486394['lookup'],_0x5233b7=new _0x437881({'headingStyle':_0x2ebda8(_0x48b03d._0x3500b0,_0x48b03d._0x3431ea,_0x48b03d._0xc1328c,_0x48b03d._0x1dc308),'codeBlockStyle':_0x2ebda8(_0x48b03d._0xd62f72,0x4b4,_0x48b03d._0x365b7b,0x388),'bulletListMarker':'-'});return _0x5233b7[_0x22004b(-0x484,-0x2ca,-_0x48b03d._0x2a98b2,-_0x48b03d._0x55f1e5)]([_0x22004b(-_0x48b03d._0x191da2,-_0x48b03d._0x3a67c5,0x69,-0x1d5),_0x22004b(0x19d,_0x48b03d._0x3cfdd8,-0x148,0x12c),_0x22004b(0xbc,_0x48b03d._0xa1e966,-_0x48b03d._0xa4e0c,0xde),'iframe','nav',_0x2ebda8(_0x48b03d._0x30a03d,0x267,0x100,0x20a),'header',_0x2ebda8(_0x48b03d._0x832ff0,0x385,_0x48b03d._0x3fcc1a,0x425)]),defineTool({'name':_0x303ca2,'permissionClass':_0x22004b(-_0x48b03d._0x808793,-_0x48b03d._0x424d81,0x80,0x47),'description':_0x22004b(0x23,0x35,0xca,0x16a),'inputSchema':{'type':_0x22004b(-0x12c,-0x23d,-0xf3,-_0x48b03d._0x39722e),'properties':{'description':{'type':_0x2ebda8(_0x48b03d._0x27604d,_0x48b03d._0x57a219,0xa7,0x32f)},'url':{'type':_0x22004b(-0x37e,-0x211,-0x39a,-_0x48b03d._0xd49eb7)}},'required':[_0x2ebda8(_0x48b03d._0x1cb486,_0x48b03d._0x5a305b,0x3fb,0x196)]},async *'execute'(_0x1b1077,_0x48e9b8){const _0x34913a={_0xef0f66:0x2,_0x500373:0x6a},_0x562e9e=(await assertPublicUrl(_0x1b1077[_0x571857(_0x5692d6._0x45398f,0x7fd,_0x5692d6._0x75d2cf,0x5dc)],{'lookup':_0x5c0ffc}))[_0x571857(0x732,0x778,0x7ec,_0x5692d6._0x167089)]();if(_0x48e9b8['signal'][_0x59573a(0x302,_0x5692d6._0xc919d3,0x430,0x2ee)])throw new ToolExecutionError(_0x59573a(_0x5692d6._0x556d17,_0x5692d6._0x49845c,0x48f,_0x5692d6._0x241dce),{'url':_0x562e9e});const _0x4ee8f2=createTimeoutSignal(_0x48e9b8[_0x59573a(0x3e1,_0x5692d6._0x4a7c62,_0x5692d6._0x4118c9,_0x5692d6._0x44ac3f)],_0x149f25);let _0x1c3e1f='',_0x4409a7=0x0,_0x9ee5b8;try{const _0x3b119c=await safeFetch(_0x562e9e,{'headers':{'User-Agent':USER_AGENT},'signal':_0x4ee8f2['signal']},{'lookup':_0x5c0ffc});if(!_0x3b119c['ok'])throw new ToolExecutionError(_0x571857(0x4d0,_0x5692d6._0x4712a3,0x577,_0x5692d6._0x158374)+_0x3b119c[_0x571857(0x523,0x3d4,_0x5692d6._0x5aaea5,0x369)]+'\x20'+_0x3b119c[_0x571857(_0x5692d6._0xcd1eb7,0x64e,0x525,_0x5692d6._0x3c9bc6)],{'url':_0x562e9e,'statusCode':_0x3b119c[_0x59573a(_0x5692d6._0x423461,0x21b,_0x5692d6._0x24fc1b,_0x5692d6._0x4aed95)]});_0x1c3e1f=_0x3b119c['headers'][_0x571857(0x59e,0x627,0x4e5,_0x5692d6._0x282fe2)]('content-type')??'',_0x4409a7=_0x3b119c[_0x59573a(_0x5692d6._0x145ea2,_0x5692d6._0x55262a,0x462,0x2f7)],_0x9ee5b8=await _0x3b119c[_0x59573a(0x2a8,_0x5692d6._0x2154f3,_0x5692d6._0x4f2f5b,0x2d0)]();}catch(_0x29d786){if(_0x29d786 instanceof ToolExecutionError)throw _0x29d786;const _0x472d38=_0x29d786 instanceof Error?_0x29d786[_0x59573a(_0x5692d6._0x3e177d,0x43e,0x324,0x332)]:String(_0x29d786);throw new ToolExecutionError(_0x472d38,{'url':_0x562e9e});}finally{_0x4ee8f2[_0x59573a(_0x5692d6._0x56ae14,_0x5692d6._0x264df9,_0x5692d6._0x53b30d,0x44c)]();}function _0x571857(_0x2e2c3b,_0x1b204a,_0x3054fd,_0x2541ff){return _0x2ebda8(_0x2e2c3b-0x363,_0x1b204a-_0x34913a._0xef0f66,_0x3054fd-_0x34913a._0x500373,_0x3054fd);}const _0x5c52df=new Date()[_0x571857(_0x5692d6._0x5b9e7,0x518,0x46f,_0x5692d6._0x228b5b)]();let _0x48eeb8,_0x3e9ce4;function _0x59573a(_0x5e1dec,_0x456e33,_0x400c90,_0x256b2d){return _0x22004b(_0x456e33,_0x256b2d-_0x223621._0x35ad51,_0x400c90-_0x223621._0xeb53bf,_0x256b2d-0xe9);}if(_0x1c3e1f[_0x59573a(_0x5692d6._0x24d260,0x12d,_0x5692d6._0x26f3ab,0x2de)]('application/json'))_0x48eeb8=_0x59573a(0x322,0x229,0x235,0x2fc)+_0x9ee5b8+_0x59573a(0x430,0x479,_0x5692d6._0x6abd6b,_0x5692d6._0x18b91b),_0x3e9ce4=_0x59573a(0x2f2,0x1cd,_0x5692d6._0x589c43,_0x5692d6._0x5dfceb);else _0x1c3e1f[_0x571857(0x50a,0x60d,0x6b4,0x463)](_0x571857(_0x5692d6._0x5209bb,_0x5692d6._0xa061c3,_0x5692d6._0x37b7ce,0x48b))?(_0x48eeb8=_0x5233b7[_0x59573a(0x2e3,_0x5692d6._0x5e809e,_0x5692d6._0x39bd56,0x298)](_0x9ee5b8),_0x3e9ce4='markdown'):(_0x48eeb8=_0x9ee5b8,_0x3e9ce4='text');return yield createToolOutput(_0x48eeb8,{'url':_0x562e9e,'contentType':_0x1c3e1f,'statusCode':_0x4409a7,'format':_0x3e9ce4,'size':_0x9ee5b8['length'],'fetchedAt':_0x5c52df}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0x515b8f(0x723,0x503,0x668,0x58a);function normalizeUrl(_0x123a52){const _0x593ded={_0x3bd2f5:0x412,_0xe69515:0x17c,_0x3a9d57:0x97,_0x3c595b:0x2fb,_0x327f25:0x615,_0x26c394:0x6ff,_0x50c52b:0x5a6,_0x3d52d0:0x5fc,_0x533a30:0x5f5,_0x10315d:0x609,_0x554769:0x2cd,_0x41bfc2:0x453,_0x252391:0x58e,_0x3c881c:0x4,_0x4c647e:0x1c7,_0x46b686:0x54d,_0x1d677b:0x626,_0x1154b4:0x4a6,_0x52edce:0x443,_0x50472e:0x598},_0x32040c={_0xd41474:0x1e3,_0x12284e:0x154,_0xd35e8a:0xf4},_0x3999da={_0x480858:0x47f};function _0x15056f(_0x38edcb,_0x2e81d1,_0x9a25b2,_0x12f365){return _0x515b8f(_0x38edcb-0x1da,_0x2e81d1-0x124,_0x12f365,_0x2e81d1- -_0x3999da._0x480858);}function _0x107dbf(_0x5f0491,_0x57e9e9,_0xe6b0b9,_0x29e116){return _0x515b8f(_0x5f0491-_0x32040c._0xd41474,_0x57e9e9-_0x32040c._0x12284e,_0x5f0491,_0x29e116- -_0x32040c._0xd35e8a);}try{const _0x4bb1c8=new URL(_0x123a52);for(const _0x236199 of[_0x107dbf(0x506,0x529,0x55c,_0x593ded._0x3bd2f5),'utm_medium',_0x15056f(0x288,_0x593ded._0xe69515,_0x593ded._0x3a9d57,_0x593ded._0x3c595b),_0x107dbf(0x5eb,_0x593ded._0x327f25,_0x593ded._0x26c394,_0x593ded._0x50c52b),_0x107dbf(_0x593ded._0x3d52d0,0x66d,0x6e4,_0x593ded._0x533a30),_0x107dbf(_0x593ded._0x10315d,0x2f2,_0x593ded._0x554769,_0x593ded._0x41bfc2),_0x107dbf(0x480,0x4d2,_0x593ded._0x252391,0x4a3),_0x15056f(_0x593ded._0x3c881c,-0xb0,-0x14f,-0x79),_0x15056f(0xff,-0x9c,-0x8,-_0x593ded._0x4c647e)]){_0x4bb1c8['searchParams'][_0x107dbf(0x482,_0x593ded._0x46b686,_0x593ded._0x1d677b,_0x593ded._0x1154b4)](_0x236199);}return _0x4bb1c8[_0x107dbf(0x5c8,_0x593ded._0x52edce,0x469,_0x593ded._0x50472e)]();}catch{return _0x123a52;}}function cseDateRestrict(_0x9b06c1){const _0x1d9fad={_0xdced7f:0x85,_0x4591d4:0x167,_0x49fc64:0x2d8,_0x42d081:0x87,_0x4e880c:0x2c8},_0x530639={_0x249319:0x1bf,_0xb80b85:0xd6};function _0x47f680(_0x104077,_0x754739,_0x3c0450,_0x51def2){return _0x1c3a85(_0x104077-0x11e,_0x754739,_0x3c0450-0x8d,_0x3c0450- -0x1e);}if(_0x9b06c1<=0x0)return void 0x0;if(_0x9b06c1<=0x1e)return'd'+Math[_0x47f680(_0x1d9fad._0xdced7f,0x3a,_0x1d9fad._0x4591d4,0x133)](0x1,Math[_0x47f680(_0x1d9fad._0x49fc64,-_0x1d9fad._0x42d081,0x123,_0x1d9fad._0x4e880c)](_0x9b06c1));function _0x4485b7(_0x2b126b,_0x15fc36,_0x4f8284,_0x20a5be){return _0x515b8f(_0x2b126b-_0x530639._0x249319,_0x15fc36-_0x530639._0xb80b85,_0x2b126b,_0x20a5be- -0x190);}if(_0x9b06c1<=0x16d)return'm'+Math['ceil'](_0x9b06c1/0x1e);return'y'+Math['ceil'](_0x9b06c1/0x16d);}function addSiteFilters(_0x7c105f,_0x37bf7d){const _0x40a7da={_0x497b34:0x59e,_0x12ca89:0x625,_0x424e60:0x551,_0x1df152:0x2d4,_0x325f0f:0x47c,_0x55ccb8:0x58a,_0x315e67:0x4c6},_0x1a9092={_0x2daea5:0x18b,_0x530964:0x18,_0x4635ca:0x1cd},_0x181598={_0x1dabd7:0x120,_0x3aa0a5:0xf,_0x5b2657:0x33};if(_0x37bf7d[_0x4560b6(0x6a1,_0x40a7da._0x497b34,_0x40a7da._0x12ca89,_0x40a7da._0x424e60)]===0x0)return _0x7c105f[_0x354b8d(0x3b4,0x2e6,_0x40a7da._0x1df152,0x390)]();function _0x4560b6(_0x362a77,_0x5bf84,_0x17d465,_0x2e77cf){return _0x515b8f(_0x362a77-_0x181598._0x1dabd7,_0x5bf84-_0x181598._0x3aa0a5,_0x17d465,_0x2e77cf- -_0x181598._0x5b2657);}function _0x354b8d(_0x5c494e,_0x2254d0,_0x3843ab,_0x1bf550){return _0x515b8f(_0x5c494e-_0x1a9092._0x2daea5,_0x2254d0-_0x1a9092._0x530964,_0x2254d0,_0x1bf550- -_0x1a9092._0x4635ca);}return(_0x7c105f+'\x20('+_0x37bf7d['map'](_0x159dc=>'site:'+_0x159dc)[_0x4560b6(0x46b,_0x40a7da._0x325f0f,0x6b2,_0x40a7da._0x55ccb8)](_0x354b8d(0x41f,0x3ed,0x5ee,_0x40a7da._0x315e67))+')')['trim']();}function normalizeType(_0x430153){const _0x149bc2={_0x1097d9:0x111,_0x40bf59:0x203},_0x181651={_0x38fff4:0x283};function _0x388e69(_0x43f567,_0x2a8897,_0x4cf9d4,_0xf06677){return _0x515b8f(_0x43f567-0xeb,_0x2a8897-0x43,_0x2a8897,_0x4cf9d4- -_0x181651._0x38fff4);}return _0x430153==='images'?'images':_0x388e69(0x2ab,_0x149bc2._0x1097d9,0x2a4,_0x149bc2._0x40bf59);}async function fetchJson(_0x3d92a9,_0x21d91c,_0x230e96){const _0x22442d={_0x35351b:0x621,_0x39fb46:0x196,_0x809f98:0x28b,_0x1102bf:0x3b0,_0x501b48:0x580,_0x22adf1:0x457,_0x370423:0x34,_0x17948f:0x3b9,_0x2cb7fa:0x172,_0x633b17:0x1bb,_0x12c382:0x4b1,_0x113027:0x499,_0x16cf40:0x32b,_0x1102d8:0xa7,_0x148143:0x43f,_0x20def8:0x250,_0x304411:0x1a6,_0x24aeee:0x1d8,_0x414086:0x313,_0x4e6dfd:0x200,_0x22e99a:0x10a,_0x3392fe:0x16a,_0x3fd12e:0x334,_0x27b366:0x89,_0x317f12:0x1d},_0x22e371={_0x55bdd0:0x1bc,_0x57d678:0x29a},_0x3dde3f={_0x5db0e6:0xb7,_0x267898:0x5d0};function _0x57a79f(_0x625834,_0x5269cf,_0x35dc39,_0x9ed554){return _0x515b8f(_0x625834-0x34,_0x5269cf-_0x3dde3f._0x5db0e6,_0x625834,_0x35dc39- -_0x3dde3f._0x267898);}function _0x1a997a(_0x4bf45a,_0x2fa3e4,_0x580f13,_0x337ca9){return _0x1c3a85(_0x4bf45a-0x129,_0x580f13,_0x580f13-_0x22e371._0x55bdd0,_0x337ca9-_0x22e371._0x57d678);}const _0x4dce90=await fetch(_0x3d92a9,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x1a997a(0x357,_0x22442d._0x35351b,0x5f3,0x4a8),..._0x230e96?.[_0x1a997a(0x2bc,_0x22442d._0x39fb46,0x45b,0x2eb)]},'signal':_0x21d91c,..._0x230e96});if(!_0x4dce90['ok']){let _0x2cc613,_0x8d9d8e;try{_0x2cc613=await _0x4dce90['text']();const _0x2b9bdb=JSON[_0x1a997a(_0x22442d._0x809f98,0x45e,0x46c,0x347)](_0x2cc613),_0x5c45c6=typeof _0x2b9bdb[_0x1a997a(_0x22442d._0x1102bf,0x4bc,_0x22442d._0x501b48,_0x22442d._0x22adf1)]===_0x57a79f(-_0x22442d._0x370423,-0x2ba,-0x154,-0xeb)?_0x2b9bdb['detail'][_0x1a997a(0x239,0x414,_0x22442d._0x17948f,0x32b)]:void 0x0;_0x8d9d8e=_0x2b9bdb['error']?.[_0x57a79f(-_0x22442d._0x2cb7fa,-0x88,-0x118,-_0x22442d._0x633b17)]??_0x2b9bdb[_0x1a997a(_0x22442d._0x12c382,_0x22442d._0x113027,0x45c,_0x22442d._0x16cf40)]?.[_0x57a79f(-0x3,-0x111,_0x22442d._0x370423,_0x22442d._0x1102d8)]?.[0x0]?.[_0x1a997a(0x20f,_0x22442d._0x148143,0x2bb,0x2c9)]??_0x5c45c6;}catch{}const _0x3d6a9c=_0x8d9d8e?_0x57a79f(-_0x22442d._0x20def8,-0xb9,-_0x22442d._0x304411,-_0x22442d._0x24aeee)+_0x4dce90[_0x57a79f(-_0x22442d._0x414086,-_0x22442d._0x4e6dfd,-0x153,-_0x22442d._0x22e99a)]+':\x20'+_0x8d9d8e:'HTTP\x20'+_0x4dce90[_0x1a997a(_0x22442d._0x3392fe,0x3a7,_0x22442d._0x3fd12e,0x28e)]+'\x20'+_0x4dce90[_0x57a79f(-_0x22442d._0x27b366,-_0x22442d._0x317f12,0x50,0xf4)];throw new ToolExecutionError(_0x3d6a9c,{'statusCode':_0x4dce90['status'],..._0x2cc613?{'body':_0x2cc613}:{}});}return await _0x4dce90['json']();}async function hydrateResults(_0x3210ad,_0x314ed1,_0x21d9e1,_0x49d19d){const _0x487c49={_0x299b03:0x122,_0x5b4040:0x48,_0x4d2de3:0xd,_0x3319f1:0x2d,_0x1cb526:0x1aa,_0x1705a3:0xb5,_0x400dd0:0x36,_0x4f2bb0:0x25a,_0x5de3c8:0x128,_0x5d1a37:0x1a2},_0x1ae7a9={_0x1f9c5f:0x10c,_0x5335dc:0x13c},_0x5392e1={_0x2d1c76:0x2f9,_0x1972c2:0x541,_0x1f8431:0x66b,_0x146240:0x45d,_0x2e89f3:0x51e,_0x5ada00:0x1b8,_0x581287:0x3cc,_0x2d965a:0x480,_0x14e30d:0x5a8,_0x1f0bfa:0x4ee,_0x32f355:0x4ea,_0x396825:0x44a,_0x543e69:0x466,_0x5e1a3c:0x3b5,_0x5f7c5a:0x48d,_0x3e81c3:0x23c,_0x4a60fd:0x4c3,_0x2fa3d9:0x4e2,_0x550336:0x348,_0xb7a795:0x3a8,_0x28425c:0x3d1,_0x30928f:0x325,_0x4eb327:0x4a3,_0x2113ee:0x32f,_0x33191a:0x172,_0x204ada:0x29d,_0x1cd375:0x2fb,_0x4e3c00:0x2ba,_0x19a062:0x345,_0x240530:0x4a2,_0x3a3723:0x4b5,_0x3072d0:0x643,_0x40bbee:0x623,_0x4bf55a:0x4da,_0xa698a5:0x436},_0x31348e={_0x5ee49d:0x58},_0xaf0771={_0x4f5e22:0xd3,_0x1461b3:0x4};function _0x2c263c(_0xd09958,_0x25d0ed,_0x1a0582,_0x1dce91){return _0x1c3a85(_0xd09958-_0xaf0771._0x4f5e22,_0x25d0ed,_0x1a0582-0x1bb,_0x1a0582-_0xaf0771._0x1461b3);}const _0x33a783=await Promise[_0x3dda9c(-_0x487c49._0x299b03,0x19,-0x3,-_0x487c49._0x5b4040)](_0x3210ad[_0x2c263c(-_0x487c49._0x4d2de3,0xa,0xaa,0x1be)](0x0,0xa)['map'](async _0x1af4ef=>{const _0x377605={_0x10c9c6:0x21e,_0x5b4308:0xfd};function _0x3bab90(_0x593f7a,_0x5443dc,_0x171647,_0x5af77f){return _0x2c263c(_0x593f7a-0x116,_0x171647,_0x5443dc-_0x377605._0x10c9c6,_0x5af77f-_0x377605._0x5b4308);}function _0x5be1d0(_0x18b975,_0x21ae42,_0x194e7a,_0x16bf73){return _0x3dda9c(_0x16bf73-0x3d5,_0x21ae42-_0x31348e._0x5ee49d,_0x21ae42,_0x16bf73-0xf4);}try{const _0x3a4ffb=await safeFetch(_0x1af4ef[_0x5be1d0(_0x5392e1._0x2d1c76,_0x5392e1._0x1972c2,0x447,0x4a2)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x314ed1,'Accept':'text/html'},'signal':_0x21d9e1},{'lookup':_0x49d19d});if(!_0x3a4ffb['ok'])return _0x1af4ef;const _0xa717f6=await _0x3a4ffb[_0x5be1d0(0x414,0x31c,0x481,0x329)](),_0x58a62b=load(_0xa717f6),_0x4a5203=_0x58a62b('meta[property=\x27og:title\x27]')[_0x5be1d0(_0x5392e1._0x1f8431,0x5c6,_0x5392e1._0x146240,_0x5392e1._0x2e89f3)](_0x5be1d0(_0x5392e1._0x5ada00,0x411,_0x5392e1._0x581287,0x299))||_0x58a62b(_0x5be1d0(0x4d7,_0x5392e1._0x2d965a,_0x5392e1._0x14e30d,_0x5392e1._0x1f0bfa))[_0x5be1d0(_0x5392e1._0x32f355,0x369,0x51d,_0x5392e1._0x396825)]()['text']()[_0x5be1d0(0x4cd,_0x5392e1._0x543e69,0x549,0x430)](),_0x29376c=_0x58a62b('meta[name=\x27description\x27]')['attr'](_0x3bab90(0x1a0,0x15f,0x84,0x1e9))||_0x58a62b('meta[property=\x27og:description\x27]')[_0x3bab90(0x450,0x3e4,0x425,_0x5392e1._0x5e1a3c)]('content')||_0x1af4ef[_0x5be1d0(0x4fc,0x331,0x601,0x4d8)],_0x17b0d4=_0x58a62b(_0x3bab90(_0x5392e1._0x5f7c5a,0x3e8,_0x5392e1._0x3e81c3,0x3df))[_0x3bab90(_0x5392e1._0x4a60fd,0x3e4,_0x5392e1._0x2fa3d9,0x530)]('content')||_0x58a62b(_0x3bab90(0x445,_0x5392e1._0x550336,0x490,_0x5392e1._0xb7a795))['attr'](_0x5be1d0(_0x5392e1._0x28425c,0x3f8,_0x5392e1._0x396825,_0x5392e1._0x30928f))||_0x1af4ef[_0x3bab90(0x46a,_0x5392e1._0x4eb327,0x614,0x571)],_0xa96417=_0x58a62b(_0x3bab90(_0x5392e1._0x2113ee,_0x5392e1._0x33191a,_0x5392e1._0x204ada,0x1e7))['attr'](_0x3bab90(0x394,_0x5392e1._0x1cd375,_0x5392e1._0x4e3c00,0x230));return{..._0x1af4ef,'title':_0x4a5203||_0x1af4ef['title'],'snippet':_0x29376c,'url':_0xa96417?normalizeUrl(new URL(_0xa96417,_0x1af4ef[_0x5be1d0(0x4bc,0x60c,_0x5392e1._0x19a062,_0x5392e1._0x240530)])[_0x5be1d0(_0x5392e1._0x3a3723,_0x5392e1._0x3072d0,0x3c7,0x55f)]()):_0x1af4ef[_0x5be1d0(_0x5392e1._0x40bbee,_0x5392e1._0x4bf55a,_0x5392e1._0xa698a5,_0x5392e1._0x240530)],'publishedAt':_0x17b0d4};}catch{return _0x1af4ef;}})),_0x2eaa18=new Map(_0x3210ad[_0x3dda9c(_0x487c49._0x3319f1,_0x487c49._0x1cb526,0xd9,-_0x487c49._0x1705a3)](0x0,0xa)[_0x3dda9c(-0x128,-_0x487c49._0x400dd0,-0x235,-_0x487c49._0x4f2bb0)]((_0x261ca1,_0x2b3042)=>[_0x261ca1[_0x3dda9c(0xcd,0x27b,-0x97,-0x72)],_0x33a783[_0x2b3042]]));function _0x3dda9c(_0x1111a5,_0x57c064,_0xd86d46,_0x1803cc){return _0x515b8f(_0x1111a5-_0x1ae7a9._0x1f9c5f,_0x57c064-_0x1ae7a9._0x5335dc,_0xd86d46,_0x1111a5- -0x502);}return _0x3210ad[_0x3dda9c(-_0x487c49._0x5de3c8,-0xda,-_0x487c49._0x5d1a37,-0x13e)](_0x360730=>_0x2eaa18['get'](_0x360730[_0x3dda9c(0xcd,0x3f,0x27d,0x1a5)])??_0x360730);}function formatResults(_0xc57643){const _0x4c9f99={_0x4683da:0x30,_0xd98308:0x170,_0x470e05:0x16e,_0x28d795:0x1d,_0x233b27:0xa5,_0x37f42b:0x254},_0x4177c8={_0x5c402e:0x155,_0x52e85a:0x2a0,_0xeeb4ad:0x3c8,_0x58f285:0x4d6,_0x54b568:0x410,_0x5980a2:0x476,_0x5cf536:0x55c,_0x5a88b2:0x503,_0x5a9bff:0x6bd,_0x5d1e91:0x53b,_0x3ec0e3:0x479,_0x344d53:0x603,_0xbfc58d:0x36d,_0x1a30cd:0x39e,_0x388ee3:0x252,_0x3fa1ee:0x309,_0x50d061:0x313,_0x1977fc:0x48c,_0x45b706:0x315,_0x38b85b:0x33f,_0x3b5af7:0x267},_0x2de227={_0x421190:0x73,_0x4dca66:0x131,_0x42fd2f:0x521},_0x4fce8f={_0x54a1ff:0xac,_0x3cfffb:0x154};function _0x3b2532(_0x294f2b,_0x545e6f,_0x21b36d,_0x5116b3){return _0x1c3a85(_0x294f2b-_0x4fce8f._0x54a1ff,_0x294f2b,_0x21b36d-0x8e,_0x5116b3-_0x4fce8f._0x3cfffb);}if(_0xc57643['length']===0x0)return _0x3b2532(_0x4c9f99._0x4683da,0x58,_0x4c9f99._0xd98308,0xd9);function _0x5b87b3(_0x357196,_0x481ad2,_0x372f11,_0x5eb02b){return _0x515b8f(_0x357196-_0x2de227._0x421190,_0x481ad2-_0x2de227._0x4dca66,_0x481ad2,_0x357196- -_0x2de227._0x42fd2f);}return _0xc57643[_0x3b2532(0x1a,_0x4c9f99._0x470e05,_0x4c9f99._0x28d795,_0x4c9f99._0x233b27)](_0x782edc=>{const _0x58217a={_0x43e3d0:0x3e,_0xf832e3:0x1ad};function _0x16f878(_0x3bf802,_0x3a3979,_0x2d388c,_0x1aed49){return _0x3b2532(_0x1aed49,_0x3a3979-0x92,_0x2d388c-0x159,_0x3bf802-0x12e);}const _0x2a96cf=[_0x782edc[_0x1508a9(_0x4177c8._0x5c402e,_0x4177c8._0x52e85a,0x338,0x2ca)]['rank']+'.\x20'+_0x782edc[_0x16f878(0x414,0x4ba,0x468,0x2a9)],_0x782edc[_0x16f878(_0x4177c8._0xeeb4ad,_0x4177c8._0x58f285,0x293,_0x4177c8._0x54b568)]];if(_0x782edc['snippet'])_0x2a96cf[_0x1508a9(_0x4177c8._0x5980a2,0x479,_0x4177c8._0x5cf536,0x42f)](_0x782edc['snippet']);function _0x1508a9(_0x58ce05,_0x33e254,_0x34da87,_0x53f65d){return _0x5b87b3(_0x33e254-0x2a3,_0x53f65d,_0x34da87-_0x58217a._0x43e3d0,_0x53f65d-_0x58217a._0xf832e3);}if(_0x782edc[_0x16f878(_0x4177c8._0x5a88b2,_0x4177c8._0x5a9bff,0x3a2,_0x4177c8._0x5d1e91)])_0x2a96cf[_0x1508a9(0x31b,_0x4177c8._0x3ec0e3,_0x4177c8._0x344d53,_0x4177c8._0xbfc58d)](_0x1508a9(0x2fc,_0x4177c8._0x1a30cd,_0x4177c8._0x388ee3,_0x4177c8._0x3fa1ee)+_0x782edc[_0x1508a9(_0x4177c8._0x50d061,_0x4177c8._0x1977fc,0x5fa,_0x4177c8._0x45b706)]);return _0x2a96cf[_0x1508a9(0x42d,_0x4177c8._0x38b85b,_0x4177c8._0x3b5af7,0x464)]('\x0a');})[_0x3b2532(0x1da,_0x4c9f99._0x37f42b,0xf0,0x288)]('\x0a\x0a');}async function searchOllama(_0x22cb6c,_0x4922a2,_0x55310a){const _0x366639={_0x3ed9d8:0x3f0,_0x4a6b98:0x3f6,_0x828b79:0x4dd,_0x2806b4:0x156,_0x362745:0xfd,_0x5d52cb:0x15d,_0x55ce1a:0x350,_0x4b29f2:0x16a,_0x1864e3:0x37f,_0x23865a:0x489,_0x5077f4:0x4de,_0x3a2b37:0x2f2,_0x2d5323:0x32e,_0x7f2606:0x1e0,_0x2fe0d0:0x147,_0xd65641:0x2a3,_0x146fad:0x3db,_0x5620e1:0x364,_0x4d2d1d:0x40f,_0x250fd7:0x190,_0x55ef0c:0x180,_0x205ed8:0xb7,_0x484fcc:0x92,_0x5239b6:0x37a,_0xab5013:0x1c9},_0x3e63c2={_0x3cfbcd:0xb1},_0x47bea6={_0xdc2366:0x341,_0xb4e7e5:0x659,_0x495925:0x678,_0x20d00a:0x627,_0x5cc685:0x316,_0x145803:0x232,_0x3cd216:0x511,_0x2f78c0:0x4f0,_0x2f6eec:0x544},_0x3c17a2={_0x409011:0x57},_0x4d795c=Math['max'](0x1,Math[_0x5920f0(_0x366639._0x3ed9d8,_0x366639._0x4a6b98,0x2bd,_0x366639._0x828b79)](0xa,_0x4922a2['count'])),_0x164134=addSiteFilters(_0x4922a2['query'],_0x4922a2[_0x5920f0(0x2b3,_0x366639._0x2806b4,_0x366639._0x362745,_0x366639._0x5d52cb)]),_0x422deb=await fetchJson(_0x2a91d3(-_0x366639._0x55ce1a,-0x2c5,-_0x366639._0x4b29f2,-0x197),_0x55310a,{'method':_0x5920f0(_0x366639._0x1864e3,_0x366639._0x23865a,0x27e,_0x366639._0x5077f4),'headers':{'Authorization':_0x5920f0(_0x366639._0x3a2b37,0x490,0x2be,_0x366639._0x2d5323)+_0x22cb6c[_0x2a91d3(-0x3ea,-0x28b,-_0x366639._0x7f2606,-0x2b5)]},'body':JSON[_0x2a91d3(-_0x366639._0x2fe0d0,-0x3a3,-0x2f0,-_0x366639._0xd65641)]({'query':_0x164134,'max_results':_0x4d795c})});function _0x5920f0(_0x56d41f,_0x4775df,_0x1c26bc,_0x143367){return _0x515b8f(_0x56d41f-0xf0,_0x4775df-_0x3c17a2._0x409011,_0x4775df,_0x56d41f- -0x24a);}const _0x3afa43=_0x422deb[_0x5920f0(_0x366639._0x146fad,_0x366639._0x5620e1,0x29a,_0x366639._0x4d2d1d)]??[],_0x30a620=_0x3afa43[_0x5920f0(_0x366639._0x250fd7,_0x366639._0x55ef0c,_0x366639._0x205ed8,_0x366639._0x484fcc)]((_0x197ae4,_0x21c915)=>{const _0x5089d9={_0x2214d1:0x549},_0x2171a7=_0x197ae4[_0x58636b(0x420,0x54d,_0x47bea6._0xdc2366,0x4d3)]||'';let _0x5852cd;try{_0x5852cd=new URL(_0x2171a7)['host'];}catch{_0x5852cd=null;}function _0x3eb19b(_0x391ca5,_0x54aad5,_0x16d3c6,_0x353725){return _0x2a91d3(_0x353725,_0x54aad5-0xe5,_0x16d3c6-0x1c7,_0x54aad5-0x7a7);}function _0x58636b(_0x1995dc,_0x4b4734,_0x2cb0b0,_0x912025){return _0x2a91d3(_0x912025,_0x4b4734-0x83,_0x2cb0b0-0x30,_0x1995dc-_0x5089d9._0x2214d1);}return{'title':_0x197ae4['title']||_0x3eb19b(_0x47bea6._0xb4e7e5,0x785,_0x47bea6._0x495925,_0x47bea6._0x20d00a),'url':normalizeUrl(_0x2171a7),'snippet':_0x197ae4[_0x58636b(0x217,_0x47bea6._0x5cc685,0x134,_0x47bea6._0x145803)]??null,'displayUrl':_0x5852cd,'favicon':null,'publishedAt':null,'source':{'engine':_0x58636b(_0x47bea6._0x3cd216,_0x47bea6._0x2f78c0,_0x47bea6._0x2f6eec,0x654),'rank':_0x21c915+0x1}};});function _0x2a91d3(_0x39c905,_0x119c48,_0x31d736,_0x5852e3){return _0x515b8f(_0x39c905-0x1d4,_0x119c48-_0x3e63c2._0x3cfbcd,_0x39c905,_0x5852e3- -0x6f8);}return{'items':_0x30a620[_0x2a91d3(-_0x366639._0x5239b6,-0x2f4,-0x299,-_0x366639._0xab5013)](0x0,_0x4d795c),'engine':'ollama'};}async function searchTavily(_0x5df0ea,_0xaf8692,_0x14dc8e){const _0x9fa78b={_0x57f00a:0x315,_0xe8f82:0x2ca,_0x56eed7:0x13,_0x405cb9:0x157,_0xf7b73:0x39d,_0x4e68d9:0x20b,_0x1da20e:0x60,_0x2fb96b:0xfc,_0x1ee693:0xb7,_0x5d6262:0x9d,_0x3e45e4:0x2b7,_0x38e510:0x124,_0x295333:0x85,_0x2a5e0e:0x127,_0x36e081:0x2ce,_0x1ce338:0x1da,_0x150209:0x108,_0x3e90b9:0xd,_0x27c66a:0x2d8,_0x43e162:0x1c0,_0x3633fc:0x19,_0x3d1ed0:0x336,_0x37eb1e:0x223,_0xc8cc57:0xb7,_0x1dd2e1:0x11d,_0x52f3af:0x15c,_0x51eea2:0x95,_0x55b34c:0xb2},_0x578e40={_0xe7f301:0x55f,_0x13b20c:0x5b3,_0x11ca47:0x345,_0x18971f:0x3c3,_0xe3490a:0x409,_0x5ecad3:0x384,_0x5d2b9e:0x3b8,_0x4c5234:0x590,_0xa1002f:0xa8,_0x296615:0x3ea,_0x534e6c:0x288},_0x38adee={_0x43ab69:0x96,_0x4f1f32:0x83},_0x2afe9d={_0x58275a:0x9a,_0x15f519:0x29};function _0xf00cdb(_0x45a498,_0x4e40a6,_0x2d1f76,_0x5b2c20){return _0x1c3a85(_0x45a498-_0x2afe9d._0x58275a,_0x5b2c20,_0x2d1f76-0x1c4,_0x4e40a6-_0x2afe9d._0x15f519);}const _0x54a667=Math['max'](0x1,Math[_0xf00cdb(_0x9fa78b._0x57f00a,0x1da,0x1c9,_0x9fa78b._0xe8f82)](0x14,_0xaf8692['count']));function _0x1ff128(_0x21a570,_0x3b55dd,_0x142ed0,_0x57fad5){return _0x1c3a85(_0x21a570-_0x38adee._0x43ab69,_0x21a570,_0x142ed0-0xbf,_0x142ed0- -_0x38adee._0x4f1f32);}const _0x44a74e={'query':_0xaf8692[_0xf00cdb(-_0x9fa78b._0x56eed7,0x2f,0x4,_0x9fa78b._0x405cb9)],'max_results':_0x54a667,'search_depth':_0x5df0ea['searchDepth']??_0xf00cdb(0xa8,0x1e9,_0x9fa78b._0xf7b73,0x3a6),'topic':_0x5df0ea['topic']??_0xf00cdb(_0x9fa78b._0x4e68d9,_0x9fa78b._0x1da20e,_0x9fa78b._0x2fb96b,0xba)};if(_0xaf8692[_0xf00cdb(-_0x9fa78b._0x1ee693,_0x9fa78b._0x5d6262,-0x6e,-0x64)][_0xf00cdb(_0x9fa78b._0x3e45e4,_0x9fa78b._0x38e510,0x1f8,0x261)]>0x0)_0x44a74e[_0xf00cdb(-0xc8,-_0x9fa78b._0x295333,-0xd2,0xe7)]=_0xaf8692[_0xf00cdb(0x12c,_0x9fa78b._0x5d6262,0x218,0x4f)];const _0xe85645=await fetchJson('https://api.tavily.com/search',_0x14dc8e,{'method':_0xf00cdb(_0x9fa78b._0x2a5e0e,0x169,_0x9fa78b._0x36e081,_0x9fa78b._0x1ce338),'headers':{'Authorization':_0x1ff128(-0x186,0x1be,0x30,_0x9fa78b._0x150209)+_0x5df0ea[_0xf00cdb(_0x9fa78b._0x3e90b9,0x194,_0x9fa78b._0x27c66a,0x341)],'Content-Type':_0x1ff128(_0x9fa78b._0x43e162,-_0x9fa78b._0x3633fc,0x18b,_0x9fa78b._0x3d1ed0)},'body':JSON[_0x1ff128(-_0x9fa78b._0x37eb1e,-0x1c,-_0x9fa78b._0xc8cc57,-_0x9fa78b._0x1dd2e1)](_0x44a74e)}),_0x2b7b40=_0xe85645['results']??[],_0x35d404=_0x2b7b40['map']((_0x3d5c42,_0xa47b5)=>{const _0x500386={_0x528207:0x4c},_0x1d8ddd={_0x55f146:0x3e,_0x7d5311:0x1f3};function _0x30373d(_0x311163,_0x2f9446,_0x41bbbd,_0x3466ab){return _0xf00cdb(_0x311163-_0x1d8ddd._0x55f146,_0x311163-0x208,_0x41bbbd-_0x1d8ddd._0x7d5311,_0x2f9446);}function _0x1c1dc1(_0x2b7364,_0x47ba34,_0x16210c,_0x1c15d4){return _0x1ff128(_0x2b7364,_0x47ba34-_0x500386._0x528207,_0x47ba34-0x49c,_0x1c15d4-0x198);}const _0x3b2811=_0x3d5c42[_0x1c1dc1(0x708,_0x578e40._0xe7f301,_0x578e40._0x13b20c,0x638)]||'';let _0x1ba8e7;try{_0x1ba8e7=new URL(_0x3b2811)[_0x30373d(_0x578e40._0x11ca47,0x43a,0x1f0,0x402)];}catch{_0x1ba8e7=null;}return{'title':_0x3d5c42[_0x30373d(_0x578e40._0x18971f,_0x578e40._0xe3490a,_0x578e40._0x5ecad3,_0x578e40._0x5d2b9e)]||_0x1c1dc1(_0x578e40._0x4c5234,0x666,0x4c5,0x58a),'url':normalizeUrl(_0x3b2811),'snippet':_0x3d5c42[_0x30373d(0x16e,0x12b,_0x578e40._0xa1002f,0x18)]??null,'displayUrl':_0x1ba8e7,'favicon':null,'publishedAt':null,'source':{'engine':_0x1c1dc1(0x2e2,_0x578e40._0x296615,0x47c,_0x578e40._0x534e6c),'rank':_0xa47b5+0x1}};});return{'items':_0x35d404[_0xf00cdb(_0x9fa78b._0x52f3af,0xcf,_0x9fa78b._0x51eea2,0x16c)](0x0,_0x54a667),'engine':_0x1ff128(-0x1,-0x22,-_0x9fa78b._0x55b34c,0xa5)};}async function searchGoogleCse(_0x9704c1,_0x52cf18,_0x1a0a15){const _0x4c837e={_0x1df1fa:0x1ed,_0x175b71:0xb1,_0x31d6a2:0x180,_0x5ecc6a:0x258,_0x32d819:0x134,_0x344118:0x287,_0x274ded:0x6a,_0x8b3e59:0x46,_0x220672:0x48,_0x5a330f:0xfc,_0x10a06e:0x1d2,_0x1b7265:0x1a,_0x42a921:0x129,_0x87a7da:0x2a9,_0x3062e9:0x1b7,_0x36d531:0xb0,_0x48e849:0x80,_0x1cf1ff:0x189,_0x33466e:0x2eb,_0x400a76:0x298,_0x37c89d:0x1e0,_0x18e5fa:0x1ef,_0x479d17:0x77,_0x2abad8:0x55,_0xdaeb26:0x2d3,_0x15a01a:0x68,_0x878369:0x1c6,_0x2ae5f6:0xdc,_0x145263:0x24e,_0x28d7c9:0x96,_0x51890c:0x142,_0x1b60d6:0x272,_0x10d1e9:0xdb,_0x1e6989:0x1a9,_0x46441f:0x1c,_0x494ae9:0x2bc,_0x532bd8:0x13b,_0x515e7a:0xdb,_0x2e6c30:0x8a,_0x417db2:0xf7,_0x560f5b:0xc7,_0x1f100c:0x9b,_0x19d949:0x30a,_0x2a7120:0x1c6,_0x14a14f:0x45,_0x1fccc8:0x4e,_0x2bf3c8:0x29f,_0x954512:0xf4,_0x2e5604:0x129,_0x276cae:0x2e4,_0x27bbf2:0x2c8,_0x5698fd:0x3fd,_0x2d0bcf:0x2f1,_0x3166eb:0x32d,_0x312a5b:0x127,_0x22c096:0x1c9,_0x10c9f2:0x99,_0x226228:0xea,_0x4174a2:0xbd,_0x5349e7:0x21a,_0x173382:0xba,_0x225ef3:0xc8,_0x2daf8a:0x15f,_0x50700e:0x54,_0xe52afb:0x106,_0x4522a2:0x134,_0x262ec8:0x333,_0x5ad8bd:0x1d3,_0x5d2aad:0x81,_0x43ada0:0x116,_0x47e375:0x1f,_0x527207:0x8c,_0x24a74a:0x43,_0x708fbd:0x6a,_0xe3acbd:0x181,_0x460fac:0x28c,_0x48c1d9:0x32e,_0x2598c2:0xa3,_0x58ad2c:0x181,_0x434b47:0x153,_0x1f1304:0xf0,_0x41d9a8:0x2d3,_0x56b251:0x304,_0x37001e:0x469,_0x1b0218:0x27f,_0x46565b:0x23d,_0x3c3ce2:0x6b,_0xb64c0e:0x191,_0x411e32:0xfb,_0x1b3293:0x42,_0x54ff58:0x26,_0x50ce99:0x1db,_0x1df84c:0x2ae,_0x575fcc:0x207,_0x1d08b7:0x1f2,_0x3e67c1:0x1b0,_0x4a7f87:0x16a,_0x3421f9:0xaf,_0x71c774:0x2bb,_0x50c886:0xec,_0x4ca028:0x372,_0x53cf56:0x2be,_0x143144:0x291,_0x356eb8:0x20f,_0x3e45e5:0xd3,_0x4ace3b:0xa1,_0x2798c9:0x225,_0x5622cc:0x63,_0x337c2c:0x18,_0x18c7ea:0x136,_0x62f4e4:0x1c4,_0x174a49:0xb9,_0x3eae56:0x61,_0x1cdbb5:0x1e5,_0xccb87b:0x174,_0x1c2ca2:0x216,_0x5092e2:0x185,_0x49892c:0x4c,_0x1c41b6:0x2a0,_0x59f48e:0xf5,_0x3f49b5:0x109,_0x11d1f5:0x10f,_0x454db6:0x2d7,_0x412179:0x277,_0x4698f3:0x113,_0x48c38f:0xaa,_0x3130ee:0x2f1,_0x425a50:0x16a,_0x14c895:0x4f,_0x3a7ff6:0x29e,_0xa92c71:0x30f},_0x3c20d5={_0xa8abc8:0x6ee},_0x3209cc={_0x24fc5e:0x7f,_0x160c37:0xf6};function _0x5699b7(_0x5de2a,_0x48d15c,_0x215e75,_0x2e23a8){return _0x515b8f(_0x5de2a-_0x3209cc._0x24fc5e,_0x48d15c-_0x3209cc._0x160c37,_0x48d15c,_0x215e75- -0x44d);}const _0x54eb3f=Math[_0x5699b7(0x27,0x2af,0x1c1,0x29d)](0x1,Math[_0x5699b7(0x235,0x249,_0x4c837e._0x1df1fa,_0x4c837e._0x175b71)](0x32,_0x52cf18[_0x5699b7(0x175,_0x4c837e._0x31d6a2,_0x4c837e._0x5ecc6a,0xff)]));if(_0x52cf18[_0x4bfbea(-_0x4c837e._0x32d819,-_0x4c837e._0x344118,-0x215,-0x3c4)]+_0x54eb3f>0x64)throw new ToolExecutionError(_0x4bfbea(0x11a,-_0x4c837e._0x274ded,-_0x4c837e._0x8b3e59,_0x4c837e._0x220672),{'offset':_0x52cf18[_0x5699b7(-_0x4c837e._0x5a330f,_0x4c837e._0x10a06e,_0x4c837e._0x1b7265,-_0x4c837e._0x42a921)],'count':_0x54eb3f,'maxResults':0x64});function _0x4bfbea(_0x3221dd,_0x5c188a,_0x1beadd,_0x26a1a9){return _0x515b8f(_0x3221dd-0x141,_0x5c188a-0x64,_0x3221dd,_0x5c188a- -_0x3c20d5._0xa8abc8);}const _0x34053c=cseDateRestrict(_0x52cf18[_0x4bfbea(-_0x4c837e._0x87a7da,-0x309,-0x1c1,-_0x4c837e._0x3062e9)]),_0x2445a5=addSiteFilters(_0x52cf18['query'],_0x52cf18[_0x5699b7(0xee,-0x4a,_0x4c837e._0x36d531,_0x4c837e._0x48e849)]);let _0x26f643=0x0,_0x105b82=_0x52cf18['offset']+0x1;const _0x4ba10a=[];while(_0x26f643<_0x54eb3f){const _0x50fd52=Math['min'](0xa,_0x54eb3f-_0x26f643),_0x2227d0=new URL(_0x5699b7(0x2ba,_0x4c837e._0x1cf1ff,0x1c0,_0x4c837e._0x33466e));_0x2227d0[_0x4bfbea(-_0x4c837e._0x400a76,-0x15f,-0x2f9,-0x133)]['set'](_0x4bfbea(-0x2f4,-_0x4c837e._0x37c89d,-0x2ba,-0x1ad),_0x9704c1[_0x4bfbea(-0x124,-_0x4c837e._0x18e5fa,-_0x4c837e._0x3062e9,-_0x4c837e._0x479d17)]),_0x2227d0[_0x4bfbea(-_0x4c837e._0x2abad8,-0x15f,-0x1de,-_0x4c837e._0xdaeb26)][_0x4bfbea(-_0x4c837e._0x15a01a,-_0x4c837e._0x878369,-_0x4c837e._0x2ae5f6,-_0x4c837e._0x145263)]('cx',_0x9704c1['googleCseCx']),_0x2227d0[_0x5699b7(_0x4c837e._0x28d7c9,-0x59,_0x4c837e._0x51890c,0x1d7)][_0x5699b7(_0x4c837e._0x1b60d6,-0xcb,_0x4c837e._0x10d1e9,_0x4c837e._0x1e6989)]('q',_0x2445a5),_0x2227d0[_0x4bfbea(_0x4c837e._0x46441f,-0x15f,-_0x4c837e._0x494ae9,-_0x4c837e._0x532bd8)][_0x5699b7(-0x3,0xa0,_0x4c837e._0x515e7a,-_0x4c837e._0x2e6c30)](_0x5699b7(0x253,_0x4c837e._0x417db2,_0x4c837e._0x560f5b,0x95),String(_0x50fd52)),_0x2227d0[_0x5699b7(0x206,0x284,_0x4c837e._0x51890c,_0x4c837e._0x1f100c)][_0x4bfbea(-_0x4c837e._0x19d949,-_0x4c837e._0x2a7120,-0x1c3,-0x1b5)](_0x5699b7(-0x85,_0x4c837e._0x14a14f,0xbf,_0x4c837e._0x1fccc8),String(_0x105b82)),_0x2227d0[_0x5699b7(_0x4c837e._0x2bf3c8,0x205,0x142,_0x4c837e._0x954512)][_0x4bfbea(-0x187,-0x1c6,-_0x4c837e._0x2e5604,-0x163)](_0x4bfbea(-_0x4c837e._0x276cae,-_0x4c837e._0x27bbf2,-_0x4c837e._0x5698fd,-0x272),_0x52cf18[_0x4bfbea(-_0x4c837e._0x2d0bcf,-0x2c8,-0x1e3,-_0x4c837e._0x3166eb)]?_0x5699b7(-_0x4c837e._0x312a5b,-_0x4c837e._0x22c096,-_0x4c837e._0x10c9f2,0xb9):_0x5699b7(-_0x4c837e._0x226228,0xe4,_0x4c837e._0x4174a2,0x83));_0x52cf18[_0x5699b7(-0x119,-_0x4c837e._0x5349e7,-_0x4c837e._0x173382,-_0x4c837e._0x225ef3)]&&(_0x2227d0[_0x4bfbea(-0x2ad,-_0x4c837e._0x2daf8a,-_0x4c837e._0x50700e,-0x290)]['set']('hl',_0x52cf18[_0x5699b7(-0x25e,_0x4c837e._0xe52afb,-_0x4c837e._0x173382,-0xf7)]),_0x2227d0[_0x5699b7(0x2dd,_0x4c837e._0x4522a2,0x142,0xa1)]['set']('lr','lang_'+_0x52cf18[_0x4bfbea(-0x3e3,-0x35b,-_0x4c837e._0x262ec8,-0x319)]));if(_0x52cf18[_0x5699b7(-0x99,_0x4c837e._0x5ad8bd,_0x4c837e._0x5d2aad,_0x4c837e._0x43ada0)])_0x2227d0[_0x5699b7(0x264,0xa,0x142,0x30)][_0x5699b7(-_0x4c837e._0x47e375,0x176,_0x4c837e._0x10d1e9,-_0x4c837e._0x527207)]('gl',_0x52cf18[_0x5699b7(_0x4c837e._0x24a74a,-_0x4c837e._0x708fbd,0x81,_0x4c837e._0xe3acbd)][_0x5699b7(0x2f6,_0x4c837e._0x460fac,0x214,_0x4c837e._0x48c1d9)]());if(_0x52cf18[_0x5699b7(-_0x4c837e._0x2598c2,-0x13a,0x6a,0xa)]===_0x4bfbea(-_0x4c837e._0x58ad2c,-0x46,_0x4c837e._0x434b47,-_0x4c837e._0x1f1304))_0x2227d0['searchParams']['set']('searchType',_0x4bfbea(-_0x4c837e._0x41d9a8,-_0x4c837e._0x56b251,-_0x4c837e._0x37001e,-_0x4c837e._0x1b0218));if(_0x34053c)_0x2227d0[_0x5699b7(-0x44,-0x6a,_0x4c837e._0x51890c,_0x4c837e._0x46565b)][_0x5699b7(_0x4c837e._0x3c3ce2,_0x4c837e._0xb64c0e,0xdb,_0x4c837e._0x411e32)](_0x5699b7(_0x4c837e._0x1b3293,_0x4c837e._0x54ff58,_0x4c837e._0x50ce99,_0x4c837e._0x1df84c),_0x34053c);const _0x4b7268=await fetchJson(_0x2227d0[_0x5699b7(_0x4c837e._0x575fcc,_0x4c837e._0x1d08b7,0x23f,0x2f8)](),_0x1a0a15),_0x5b03cb=_0x4b7268['items']??[];if(_0x5b03cb[_0x4bfbea(-_0x4c837e._0x3e67c1,-_0x4c837e._0x4a7f87,-_0x4c837e._0x3421f9,-_0x4c837e._0x71c774)]===0x0)break;const _0x31c7d1=_0x26f643;for(let _0x10baf3=0x0;_0x10baf3<_0x5b03cb[_0x4bfbea(-0x228,-0x16a,-_0x4c837e._0x50c886,-0xfb)];_0x10baf3++){const _0xcec9eb=_0x5b03cb[_0x10baf3];if(!_0xcec9eb)continue;const _0x2f739f=_0xcec9eb[_0x5699b7(_0x4c837e._0x4ca028,0x112,_0x4c837e._0x53cf56,0x164)]||_0xcec9eb[_0x4bfbea(-_0x4c837e._0x143144,-_0x4c837e._0x56b251,-0x237,-0x476)]?.['contextLink']||'',_0x3d3005=_0xcec9eb[_0x4bfbea(-_0x4c837e._0x356eb8,-_0x4c837e._0x3e45e5,-_0x4c837e._0x4ace3b,-_0x4c837e._0x2798c9)]||_0xcec9eb[_0x5699b7(0x156,0x1d,-_0x4c837e._0x5622cc,-0xa9)]?.[_0x4bfbea(-0xa1,-0xd3,0x71,-0x150)]||_0x4bfbea(0x88,-_0x4c837e._0x337c2c,-_0x4c837e._0x18c7ea,0x16b),_0x367e73=_0xcec9eb[_0x5699b7(0x200,0x1e,0x1b8,0x350)]||_0xcec9eb[_0x4bfbea(-0xa6,-0x3a,-_0x4c837e._0x62f4e4,_0x4c837e._0x174a49)]?.[_0x4bfbea(-_0x4c837e._0x3eae56,-0x1c3,-0x211,-0xfb)](/<[^>]+>/g,''),_0x189fdb=_0xcec9eb[_0x4bfbea(-_0x4c837e._0x1cdbb5,-_0x4c837e._0xccb87b,-_0x4c837e._0x1c2ca2,-_0x4c837e._0x5092e2)]?.[_0x4bfbea(0x5c,0x21,-0x142,-0x5f)]?.[0x0]??{};let _0x485f4d;try{_0x485f4d=new URL(_0x2f739f)[_0x5699b7(-_0x4c837e._0x49892c,_0x4c837e._0x1c41b6,0x150,-0x1f)];}catch{_0x485f4d=null;}_0x4ba10a[_0x4bfbea(_0x4c837e._0x59f48e,0x9,-_0x4c837e._0x3f49b5,0xf6)]({'title':_0x3d3005,'url':normalizeUrl(_0x2f739f),'snippet':_0x367e73??null,'displayUrl':_0x485f4d,'favicon':null,'publishedAt':_0x189fdb[_0x4bfbea(-_0x4c837e._0x1d08b7,-0x1f2,-_0x4c837e._0x11d1f5,-_0x4c837e._0x454db6)]||_0x189fdb[_0x5699b7(0x146,0x112,_0x4c837e._0x412179,0x18b)]||null,'source':{'engine':_0x5699b7(-_0x4c837e._0x4698f3,-_0x4c837e._0x48c38f,-0x4e,_0x4c837e._0x36d531),'rank':_0x31c7d1+_0x10baf3+0x1}});}_0x26f643+=_0x5b03cb[_0x4bfbea(-_0x4c837e._0x3130ee,-_0x4c837e._0x425a50,_0x4c837e._0x14c895,-_0x4c837e._0x3a7ff6)],_0x105b82+=_0x5b03cb['length'];if(_0x5b03cb['length']<_0x50fd52)break;}return _0x4ba10a[_0x4bfbea(-0x156,-0x1bf,-_0x4c837e._0xa92c71,-0x1a5)](0x0,_0x54eb3f);}function isGoogleCseEngine(_0x1abb71){return'googleCseKey'in _0x1abb71;}function isOllamaEngine(_0x4285fd){const _0x35534b={_0x526e2f:0x180,_0x1aca4d:0xd7},_0x5a906e={_0x5de053:0x52,_0x37e724:0x640};function _0xc8ac6d(_0xe748e9,_0x9cb291,_0x23f936,_0x11ac57){return _0x515b8f(_0xe748e9-_0x5a906e._0x5de053,_0x9cb291-0x168,_0x11ac57,_0x9cb291- -_0x5a906e._0x37e724);}return _0xc8ac6d(-_0x35534b._0x526e2f,-0x1fd,-0x37e,-_0x35534b._0x1aca4d)in _0x4285fd;}function isTavilyEngine(_0x48733e){const _0x45b4f8={_0x300afb:0x38,_0x46e565:0x128,_0x4f6203:0x233},_0x29c0ee={_0x362ac2:0xdd,_0x1baffa:0x25e};function _0x217689(_0x3642df,_0x2433ca,_0x19b918,_0x14e589){return _0x1c3a85(_0x3642df-_0x29c0ee._0x362ac2,_0x14e589,_0x19b918-0xc8,_0x19b918- -_0x29c0ee._0x1baffa);}return _0x217689(_0x45b4f8._0x300afb,-_0x45b4f8._0x46e565,-0xf3,-_0x45b4f8._0x4f6203)in _0x48733e;}function createWebSearchTool(_0x59d1f9){const _0x270f14={_0x579073:0x484,_0x3c81a4:0x15b,_0x47a7fb:0x11b,_0x139c69:0x50,_0x1eaeb5:0x17,_0x6e7d8c:0xc4,_0x3c47af:0x69,_0x557698:0x14a,_0x4323a6:0x6b,_0x444b8b:0xe9,_0x4d77a2:0x147,_0x420760:0xaa,_0x1a2e15:0x35,_0xf2cbce:0x4b,_0x191d9a:0x3f1,_0x4f1ce7:0x20,_0x336f1d:0x10b,_0x118cb8:0x122,_0x5bd8ff:0x110,_0x498f8f:0xa7,_0x326221:0xe,_0x3699fa:0x2d,_0xc511d9:0x38,_0x4f736b:0x41d,_0x21cef8:0x429,_0x597c60:0x2bd,_0xd86ba9:0x27d,_0xa18b04:0x522,_0x13f24e:0x179,_0x1803db:0x599,_0x4fa3e4:0x404},_0x1df6ed={_0x2b0811:0x140,_0x4b3628:0x13b,_0x255dd0:0x30b,_0x47e9cd:0x1ec,_0x364709:0x5cf,_0x45d30f:0x471,_0x221ea4:0xf2,_0x2580c5:0x53e,_0x54a000:0x51a,_0x4905bc:0x168,_0x50eea2:0x1b9,_0x57ffed:0x45,_0x4189e3:0x23a,_0x1e025f:0x60,_0x1dfbcd:0xdb,_0x2cad21:0x2c9,_0x423193:0x45b,_0x4f7694:0x37c,_0x2ea4e0:0x46f,_0x12e8c6:0x21,_0x4a0b65:0x7b7,_0x124fd4:0x4dd,_0x518c8f:0x50a,_0x1a0dbe:0x5dd,_0x38c6a7:0x5e4,_0x14e234:0x503,_0xc2a56:0x482,_0x337864:0x1ba,_0x291a60:0x1db,_0x4f79f8:0x2a5,_0x2bf24c:0x45b,_0x21cf1d:0x1bb,_0x4b5c65:0x166,_0x5b69ac:0x1e0,_0x182565:0x1d6,_0x1d2c6e:0xe4,_0x23fa48:0x22e,_0x5f2157:0x9e,_0x48497e:0x58d,_0x537133:0x50d,_0x3541af:0x4df,_0x3b8132:0x519,_0x1a7e93:0x460,_0x276b79:0x185,_0x5063e1:0x272,_0x4d2766:0x2f,_0x26004a:0xc2,_0x5e41ea:0x8f,_0x361212:0x368,_0x38f118:0x36c,_0x24ec7a:0x108,_0x310ff2:0x79,_0x11d927:0x641,_0x3b268d:0x4bd,_0xccf271:0x12e,_0x17a0ad:0x14a,_0x5f22d2:0xdb,_0x37750a:0x1d,_0x5b7ddd:0x237,_0x5197a7:0x37a,_0xa50ac8:0x8f,_0x40de3f:0x14,_0x30ae6a:0x39,_0x352822:0x8f,_0x44b6d9:0x560,_0x1cb061:0xb3,_0x10bcae:0xac,_0x13908d:0xf7,_0xcc4873:0xa0,_0x8439ed:0x162,_0x1d5ba1:0x96,_0x2d40e3:0x7c,_0x2a0fab:0x43,_0xa5e1db:0x8a,_0x1270a1:0x45,_0x14e43a:0x536,_0x3f5d4f:0x63a,_0x2100e8:0x588,_0x1e55b0:0x271,_0x522636:0x1b1},_0x3e08ab={_0x3d87a0:0x4,_0x1c8289:0xc8},_0x415c5f={_0x49341c:0xa4,_0x22e77b:0x8b};if(!_0x59d1f9['engines']||_0x59d1f9[_0x592058(0x586,_0x270f14._0x579073,0x433,0x401)][_0x2f880e(0x1a3,0x4e,_0x270f14._0x3c81a4,0x33)]===0x0)throw new Error(_0x2f880e(-_0x270f14._0x47a7fb,-_0x270f14._0x139c69,0x9e,_0x270f14._0x1eaeb5));const _0x222310=_0x59d1f9[_0x2f880e(-0x9e,0xe6,0x11b,0x48)]??_0x2f880e(-_0x270f14._0x6e7d8c,-0xeb,_0x270f14._0x3c47af,0xd),_0x7c459=_0x59d1f9[_0x2f880e(-_0x270f14._0x557698,_0x270f14._0x4323a6,-0x1,-0x100)];function _0x592058(_0xeba857,_0x2ac1cb,_0x3137ce,_0x336588){return _0x515b8f(_0xeba857-_0x415c5f._0x49341c,_0x2ac1cb-0x1ed,_0x336588,_0x2ac1cb- -_0x415c5f._0x22e77b);}function _0x2f880e(_0x25ae24,_0x6f0b3c,_0x4aed78,_0x427c3b){return _0x1c3a85(_0x25ae24-_0x3e08ab._0x3d87a0,_0x6f0b3c,_0x4aed78-0x1a2,_0x427c3b- -_0x3e08ab._0x1c8289);}return defineTool({'name':_0x222310,'permissionClass':_0x2f880e(_0x270f14._0x444b8b,_0x270f14._0x4d77a2,-_0x270f14._0x420760,_0x270f14._0x1a2e15),'description':_0x2f880e(_0x270f14._0xf2cbce,0x1d4,-0x146,0x2c),'inputSchema':{'type':_0x592058(0x2b8,_0x270f14._0x191d9a,0x22f,0x24a),'properties':{'description':{'type':_0x2f880e(-0x64,_0x270f14._0x4f1ce7,-0x13,-0xa9)},'query':{'type':_0x2f880e(-0xdd,-0x153,-0x28,-0xa9)},'count':{'type':_0x2f880e(_0x270f14._0x336f1d,-0x97,-0x87,_0x270f14._0x118cb8)},'offset':{'type':'number'},'domains':{'type':_0x2f880e(0x174,-_0x270f14._0x5bd8ff,-_0x270f14._0x498f8f,-_0x270f14._0x326221),'items':{'type':_0x2f880e(-_0x270f14._0x3699fa,-0x79,0xd4,-0xa9)}},'recencyDays':{'type':_0x2f880e(0x227,-_0x270f14._0xc511d9,-0x76,0x122)},'lang':{'type':_0x592058(0x4ff,_0x270f14._0x4f736b,_0x270f14._0x21cef8,_0x270f14._0x597c60)},'region':{'type':_0x592058(_0x270f14._0xd86ba9,0x41d,_0x270f14._0xa18b04,0x521)},'safe':{'type':'boolean'},'type':{'type':_0x592058(0x2e9,_0x270f14._0x4f736b,0x5bb,0x323)},'hydrateMeta':{'type':_0x2f880e(0x9c,0x165,-0x2f,_0x270f14._0x13f24e)}},'required':[_0x592058(_0x270f14._0x1803db,_0x270f14._0x4fa3e4,0x29a,0x4b8)]},async *'execute'(_0x35bfcb,_0x31714f){const _0x46d63a={_0xc130ed:0x1f2},_0x20637a={_0x54af55:0x96,_0x21efba:0x126,_0x56e78a:0x101,_0x2caa6b:0x14d,_0x506342:0x1fa,_0x4c331c:0xc6,_0x1702f3:0x5,_0x8a693f:0x3b,_0x4dad8f:0x104,_0x4cbe3d:0xf7,_0x33b91a:0x191},_0x38a671={_0x3e1c57:0xfd,_0x3625b5:0x11a},_0x2ddc1a={_0x25019f:0x1a0},_0x44f39d={_0x3c712f:0x20},_0x34d240=_0x35bfcb['query'][_0x51b796(_0x1df6ed._0x2b0811,-0xf,-0x8,_0x1df6ed._0x4b3628)]();if(!_0x34d240)throw new ToolExecutionError('Missing\x20required\x20parameter:\x20query');const _0x5b3097={'query':_0x34d240,'count':Math[_0x51b796(0x21f,0x262,_0x1df6ed._0x255dd0,_0x1df6ed._0x47e9cd)](0x1,Math[_0x4c745c(0x770,0x4ae,_0x1df6ed._0x364709,0x650)](0x32,Math[_0x4c745c(0x48e,0x57c,0x56c,_0x1df6ed._0x45d30f)](_0x35bfcb[_0x51b796(0x43e,_0x1df6ed._0x221ea4,0x335,0x283)]??0xa))),'offset':Math['max'](0x0,Math[_0x4c745c(_0x1df6ed._0x2580c5,0x59d,0x56c,_0x1df6ed._0x54a000)](_0x35bfcb[_0x51b796(-0x161,_0x1df6ed._0x4905bc,_0x1df6ed._0x50eea2,_0x1df6ed._0x57ffed)]??0x0)),'domains':_0x35bfcb[_0x51b796(_0x1df6ed._0x4189e3,0x139,_0x1df6ed._0x1e025f,_0x1df6ed._0x1dfbcd)]??[],'recencyDays':Math[_0x51b796(0x242,_0x1df6ed._0x2cad21,0x16c,0x1ec)](0x0,Math['trunc'](_0x35bfcb['recencyDays']??0x0)),'lang':_0x35bfcb[_0x4c745c(0x1bc,_0x1df6ed._0x423193,0x328,_0x1df6ed._0x4f7694)]??'en','region':_0x35bfcb['region']??'','safe':_0x35bfcb[_0x4c745c(_0x1df6ed._0x2ea4e0,0x41c,0x3bb,0x2c2)]??!![],'type':normalizeType(_0x35bfcb[_0x51b796(-0x50,0x250,_0x1df6ed._0x12e8c6,0x95)]),'hydrateMeta':_0x35bfcb[_0x4c745c(0x776,_0x1df6ed._0x4a0b65,0x629,_0x1df6ed._0x124fd4)]??![]};let _0x1581a9=[];function _0x4c745c(_0x7fc7bc,_0x4a5553,_0x48f7c6,_0x45e906){return _0x592058(_0x7fc7bc-0xda,_0x48f7c6-_0x44f39d._0x3c712f,_0x48f7c6-0x13d,_0x4a5553);}let _0x229c3c=_0x4c745c(_0x1df6ed._0x518c8f,_0x1df6ed._0x1a0dbe,0x549,_0x1df6ed._0x38c6a7);for(const _0x1bf2c0 of _0x59d1f9[_0x4c745c(_0x1df6ed._0x14e234,0x474,0x4a4,_0x1df6ed._0xc2a56)]){try{if(isGoogleCseEngine(_0x1bf2c0))_0x1581a9=await searchGoogleCse(_0x1bf2c0,_0x5b3097,_0x31714f[_0x51b796(_0x1df6ed._0x337864,0x21d,_0x1df6ed._0x291a60,_0x1df6ed._0x4f79f8)]),_0x229c3c='google-cse';else{if(isOllamaEngine(_0x1bf2c0)){const _0x30bbb1=await searchOllama(_0x1bf2c0,_0x5b3097,_0x31714f[_0x51b796(0x131,0x3fc,_0x1df6ed._0x2bf24c,0x2a5)]);_0x1581a9=_0x30bbb1[_0x51b796(-_0x1df6ed._0x21cf1d,-_0x1df6ed._0x4b5c65,-_0x1df6ed._0x5b69ac,-0x77)],_0x229c3c=_0x30bbb1[_0x51b796(0x45,0x5d,0x41,_0x1df6ed._0x182565)];}else{if(isTavilyEngine(_0x1bf2c0)){const _0x5a5c4a=await searchTavily(_0x1bf2c0,_0x5b3097,_0x31714f[_0x51b796(_0x1df6ed._0x1d2c6e,_0x1df6ed._0x23fa48,0x2f2,0x2a5)]);_0x1581a9=_0x5a5c4a[_0x51b796(-0x85,-0xf,-_0x1df6ed._0x5f2157,-0x77)],_0x229c3c=_0x5a5c4a[_0x4c745c(0x4b6,0x3f2,_0x1df6ed._0x48497e,_0x1df6ed._0x537133)];}}}if(_0x1581a9[_0x4c745c(_0x1df6ed._0x3541af,0x6ba,_0x1df6ed._0x3b8132,_0x1df6ed._0x1a7e93)]>0x0)break;}catch(_0x1caa12){if(_0x1bf2c0===_0x59d1f9['engines'][_0x59d1f9['engines'][_0x51b796(_0x1df6ed._0x276b79,0x166,0x1d2,0x162)]-0x1])throw _0x1caa12;}}_0x5b3097[_0x51b796(0x3a4,0x2de,0x3f5,_0x1df6ed._0x5063e1)]&&_0x1581a9['length']>0x0&&(_0x1581a9=await hydrateResults(_0x1581a9,_0x5b3097[_0x51b796(-_0x1df6ed._0x4d2766,-0x1af,-_0x1df6ed._0x26004a,-_0x1df6ed._0x5e41ea)],_0x31714f[_0x51b796(0x256,_0x1df6ed._0x361212,0x3a0,_0x1df6ed._0x4f79f8)],_0x7c459));const _0x34fdfe=new Set();_0x1581a9=_0x1581a9[_0x4c745c(0x3a7,0x39a,0x4ba,_0x1df6ed._0x38f118)](_0x4d525a=>{const _0x3aeac9=_0x4d525a[_0x3e8522(_0x20637a._0x54af55,-_0x20637a._0x21efba,_0x20637a._0x56e78a,0xae)][_0x3e8522(0x167,_0x20637a._0x2caa6b,_0x20637a._0x506342,_0x20637a._0x4c331c)]();function _0x4dce91(_0x243f9e,_0x40b2e3,_0x810cbd,_0x154aa5){return _0x4c745c(_0x243f9e-_0x2ddc1a._0x25019f,_0x810cbd,_0x40b2e3- -0x29f,_0x154aa5-0x75);}if(!_0x3aeac9||_0x34fdfe[_0x3e8522(_0x20637a._0x1702f3,-0x33,_0x20637a._0x8a693f,_0x20637a._0x4dad8f)](_0x3aeac9))return![];function _0x3e8522(_0x3b9f7b,_0x3908f9,_0xee61ac,_0x4f9a00){return _0x4c745c(_0x3b9f7b-_0x38a671._0x3e1c57,_0x3908f9,_0x3b9f7b- -0x4ce,_0x4f9a00-_0x38a671._0x3625b5);}return _0x34fdfe[_0x3e8522(-0x15c,-_0x20637a._0x4cbe3d,-0x2dc,-_0x20637a._0x33b91a)](_0x3aeac9),!![];});function _0x51b796(_0x5dfe8b,_0x17d7ac,_0x52e450,_0x41123a){return _0x2f880e(_0x5dfe8b-0x199,_0x17d7ac,_0x52e450-_0x46d63a._0xc130ed,_0x41123a-0x12f);}_0x1581a9=_0x1581a9[_0x51b796(-_0x1df6ed._0x24ec7a,0x80,_0x1df6ed._0x310ff2,-0x48)]((_0x3610e7,_0x5234df)=>({..._0x3610e7,'source':{..._0x3610e7[_0x51b796(-0xa7,0x258,0xb2,0xfc)],'rank':_0x5234df+0x1}}));const _0xe3a218={};if(_0x5b3097['domains'][_0x4c745c(0x640,_0x1df6ed._0x11d927,0x519,_0x1df6ed._0x3b268d)]>0x0)_0xe3a218[_0x51b796(_0x1df6ed._0xccf271,_0x1df6ed._0x276b79,0xff,0xdb)]=_0x5b3097[_0x51b796(0x259,0x147,_0x1df6ed._0x17a0ad,_0x1df6ed._0x5f22d2)];if(_0x5b3097[_0x51b796(-_0x1df6ed._0x37750a,-0x1b8,-0x157,-0x3d)]>0x0)_0xe3a218['recencyDays']=_0x5b3097[_0x4c745c(0x4af,_0x1df6ed._0x5b7ddd,_0x1df6ed._0x5197a7,0x2c0)];if(_0x5b3097[_0x51b796(0x2d,-0x79,-0x172,-_0x1df6ed._0xa50ac8)]!=='en')_0xe3a218[_0x51b796(_0x1df6ed._0x40de3f,0x9a,_0x1df6ed._0x30ae6a,-_0x1df6ed._0x352822)]=_0x5b3097[_0x51b796(0x27,0xa7,0x55,-0x8f)];if(_0x5b3097[_0x4c745c(0x498,_0x1df6ed._0x44b6d9,0x463,0x4fd)])_0xe3a218[_0x51b796(0xe7,_0x1df6ed._0x1cb061,0x71,_0x1df6ed._0x10bcae)]=_0x5b3097[_0x51b796(0x24c,0x221,_0x1df6ed._0x13908d,0xac)];return yield createToolOutput(formatResults(_0x1581a9),{'engine':_0x229c3c,'count':_0x1581a9[_0x51b796(0x132,0x55,_0x1df6ed._0xcc4873,_0x1df6ed._0x8439ed)],'items':_0x1581a9,'query':_0x5b3097[_0x51b796(_0x1df6ed._0x1d5ba1,0xf0,0xce,0x6d)],...Object[_0x51b796(0xd1,0x18e,0x1bf,_0x1df6ed._0x2d40e3)](_0xe3a218)[_0x51b796(0xe9,_0x1df6ed._0x2a0fab,0x2fe,0x162)]>0x0?{'appliedFilters':_0xe3a218}:{},'offset':_0x5b3097[_0x51b796(-0x84,_0x1df6ed._0xa5e1db,0x168,_0x1df6ed._0x1270a1)],'totalRequested':_0x5b3097[_0x4c745c(0x6e1,_0x1df6ed._0x14e43a,_0x1df6ed._0x3f5d4f,_0x1df6ed._0x2100e8)],'hydrated':_0x5b3097[_0x51b796(0x3c0,_0x1df6ed._0x1e55b0,_0x1df6ed._0x522636,_0x1df6ed._0x5063e1)]}),void 0x0;}});}export{BackgroundProcessCleanupError,BackgroundProcessRegistry,GREP_DEFAULT_LIMIT,GREP_MAX_PATTERN_LENGTH,GREP_MAX_SNIPPET_LENGTH,ToolExecutionError,ToolRegistry,assertWorkspaceFile,boundedGrepSnippet,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,isTerminalStatus,normalizeToolOutputValue,projectMcpTools,redactMcpDiagnostic,replaceFirstExact,resolveAllowedPath,resolveBashExecutionTarget,resolveDelegatedAgentOptions,resolveMcpTimeoutMs,resolveToolPermissionClass,resolveWorkspacePath,search,searchRegex,sha256Bytes,toMcpSafeError,toNuvinToolSchema,truncateToolOutput,validateGrepPattern,validateToolInput};